[
  {
    "question": "What is Audit Annotations?",
    "answer": "Audit AnnotationsThis page serves as a reference for the audit annotations of the kubernetes.io namespace. These annotations apply to Event object from API group audit.k8s.io.Note:The following annotations are not used within the Kubernetes API. When you enable auditing in your cluster, audit event data is written using Event from API group audit.k8s.io. The annotations apply to audit events. Audit events are different from objects in the Event API (API group events.k8s.io).k8s.io/deprecatedExample: k8s.io/deprecated: \"true\"Value must be \"true\" or \"false\". The value \"true\" indicates that the request used a deprecated API version.k8s.io/removed-releaseExample: k8s.io/removed-release: \"1.22\"Value must be in the format \"<MAJOR>.<MINOR>\". It is set to target the removal release on requests made to deprecated API versions with a target removal release.pod-security.kubernetes.io/exemptExample: pod-security.kubernetes.io/exempt: namespaceValue must be one of user, namespace, or runtimeClass which correspond to Pod Security Exemption dimensions. This annotation indicates on which dimension was based the exemption from the PodSecurity enforcement.pod-security.kubernetes.io/enforce-policyExample: pod-security.kubernetes.io/enforce-policy: restricted:latestValue must be privileged:<version>, baseline:<version>, restricted:<version> which correspond to Pod Security Standard levels accompanied by a version which must be latest or a valid Kubernetes version in the format v<MAJOR>.<MINOR>. This annotations informs about the enforcement level that allowed or denied the pod during PodSecurity admission.See Pod Security Standards for more information.pod-security.kubernetes.io/audit-violationsExample: pod-security.kubernetes.io/audit-violations: would violate PodSecurity \"restricted:latest\": allowPrivilegeEscalation != false (container \"example\" must set securityContext.allowPrivilegeEscalation=false), ...Value details an audit policy violation, it contains the Pod Security Standard level that was transgressed as well as the specific policies on the fields that were violated from the PodSecurity enforcement.See Pod Security Standards for more information.apiserver.latency.k8s.io/etcdExample: apiserver.latency.k8s.io/etcd: \"4.730661757s\"This annotation indiactes the measure of latency incurred inside the storage layer, it accounts for the time it takes to send data to the etcd and get the complete response back.The value of this audit annotation does not include the time incurred in admission, or validation.apiserver.latency.k8s.io/decode-response-objectExample: apiserver.latency.k8s.io/decode-response-object: \"450.6649ns\"This annotation records the time taken to decode the response received from the storage layer (etcd)apiserver.latency.k8s.io/apf-queue-waitExample: apiserver.latency.k8s.io/apf-queue-wait: \"100ns\"This annotation records the time that a request spent queued due to API server priorities.See API Priority and Fairness (APF) for more information about ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/audit-annotations/",
    "id": "k8s_00000_qa_0"
  },
  {
    "question": "How does Audit Annotations work?",
    "answer": "Audit AnnotationsThis page serves as a reference for the audit annotations of the kubernetes.io namespace. These annotations apply to Event object from API group audit.k8s.io.Note:The following annotations are not used within the Kubernetes API. When you enable auditing in your cluster, audit event data is written using Event from API group audit.k8s.io. The annotations apply to audit events. Audit events are different from objects in the Event API (API group events.k8s.io).k8s.io/deprecatedExample: k8s.io/deprecated: \"true\"Value must be \"true\" or \"false\". The value \"true\" indicates that the request used a deprecated API version.k8s.io/removed-releaseExample: k8s.io/removed-release: \"1.22\"Value must be in the format \"<MAJOR>.<MINOR>\". It is set to target the removal release on requests made to deprecated API versions with a target removal release.pod-security.kubernetes.io/exemptExample: pod-security.kubernetes.io/exempt: namespaceValue must be one of user, namespace, or runtimeClass which correspond to Pod Security Exemption dimensions. This annotation indicates on which dimension was based the exemption from the PodSecurity enforcement.pod-security.kubernetes.io/enforce-policyExample: pod-security.kubernetes.io/enforce-policy: restricted:latestValue must be privileged:<version>, baseline:<version>, restricted:<version> which correspond to Pod Security Standard levels accompanied by a version which must be latest or a valid Kubernetes version in the format v<MAJOR>.<MINOR>. This annotations informs about the enforcement level that allowed or denied the pod during PodSecurity admission.See Pod Security Standards for more information.pod-security.kubernetes.io/audit-violationsExample: pod-security.kubernetes.io/audit-violations: would violate PodSecurity \"restricted:latest\": allowPrivilegeEscalation != false (container \"example\" must set securityContext.allowPrivilegeEscalation=false), ...Value details an audit policy violation, it contains the Pod Security Standard level that was transgressed as well as the specific policies on the fields that were violated from the PodSecurity enforcement.See Pod Security Standards for more information.apiserver.latency.k8s.io/etcdExample: apiserver.latency.k8s.io/etcd: \"4.730661757s\"This annotation indiactes the measure of latency incurred inside the storage layer, it accounts for the time it takes to send data to the etcd and get the complete response back.The value of this audit annotation does not include the time incurred in admission, or validation.apiserver.latency.k8s.io/decode-response-objectExample: apiserver.latency.k8s.io/decode-response-object: \"450.6649ns\"This annotation records the time taken to decode the response received from the storage layer (etcd)apiserver.latency.k8s.io/apf-queue-waitExample: apiserver.latency.k8s.io/apf-queue-wait: \"100ns\"This annotation records the time that a request spent queued due to API server priorities.See API Priority and Fairness (APF) for more information about ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/audit-annotations/",
    "id": "k8s_00000_qa_1"
  },
  {
    "question": "When would you use Audit Annotations?",
    "answer": "Audit AnnotationsThis page serves as a reference for the audit annotations of the kubernetes.io namespace. These annotations apply to Event object from API group audit.k8s.io.Note:The following annotations are not used within the Kubernetes API. When you enable auditing in your cluster, audit event data is written using Event from API group audit.k8s.io. The annotations apply to audit events. Audit events are different from objects in the Event API (API group events.k8s.io).k8s.io/deprecatedExample: k8s.io/deprecated: \"true\"Value must be \"true\" or \"false\". The value \"true\" indicates that the request used a deprecated API version.k8s.io/removed-releaseExample: k8s.io/removed-release: \"1.22\"Value must be in the format \"<MAJOR>.<MINOR>\". It is set to target the removal release on requests made to deprecated API versions with a target removal release.pod-security.kubernetes.io/exemptExample: pod-security.kubernetes.io/exempt: namespaceValue must be one of user, namespace, or runtimeClass which correspond to Pod Security Exemption dimensions. This annotation indicates on which dimension was based the exemption from the PodSecurity enforcement.pod-security.kubernetes.io/enforce-policyExample: pod-security.kubernetes.io/enforce-policy: restricted:latestValue must be privileged:<version>, baseline:<version>, restricted:<version> which correspond to Pod Security Standard levels accompanied by a version which must be latest or a valid Kubernetes version in the format v<MAJOR>.<MINOR>. This annotations informs about the enforcement level that allowed or denied the pod during PodSecurity admission.See Pod Security Standards for more information.pod-security.kubernetes.io/audit-violationsExample: pod-security.kubernetes.io/audit-violations: would violate PodSecurity \"restricted:latest\": allowPrivilegeEscalation != false (container \"example\" must set securityContext.allowPrivilegeEscalation=false), ...Value details an audit policy violation, it contains the Pod Security Standard level that was transgressed as well as the specific policies on the fields that were violated from the PodSecurity enforcement.See Pod Security Standards for more information.apiserver.latency.k8s.io/etcdExample: apiserver.latency.k8s.io/etcd: \"4.730661757s\"This annotation indiactes the measure of latency incurred inside the storage layer, it accounts for the time it takes to send data to the etcd and get the complete response back.The value of this audit annotation does not include the time incurred in admission, or validation.apiserver.latency.k8s.io/decode-response-objectExample: apiserver.latency.k8s.io/decode-response-object: \"450.6649ns\"This annotation records the time taken to decode the response received from the storage layer (etcd)apiserver.latency.k8s.io/apf-queue-waitExample: apiserver.latency.k8s.io/apf-queue-wait: \"100ns\"This annotation records the time that a request spent queued due to API server priorities.See API Priority and Fairness (APF) for more information about ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/audit-annotations/",
    "id": "k8s_00000_qa_2"
  },
  {
    "question": "What are the benefits of Audit Annotations?",
    "answer": "Audit AnnotationsThis page serves as a reference for the audit annotations of the kubernetes.io namespace. These annotations apply to Event object from API group audit.k8s.io.Note:The following annotations are not used within the Kubernetes API. When you enable auditing in your cluster, audit event data is written using Event from API group audit.k8s.io. The annotations apply to audit events. Audit events are different from objects in the Event API (API group events.k8s.io).k8s.io/deprecatedExample: k8s.io/deprecated: \"true\"Value must be \"true\" or \"false\". The value \"true\" indicates that the request used a deprecated API version.k8s.io/removed-releaseExample: k8s.io/removed-release: \"1.22\"Value must be in the format \"<MAJOR>.<MINOR>\". It is set to target the removal release on requests made to deprecated API versions with a target removal release.pod-security.kubernetes.io/exemptExample: pod-security.kubernetes.io/exempt: namespaceValue must be one of user, namespace, or runtimeClass which correspond to Pod Security Exemption dimensions. This annotation indicates on which dimension was based the exemption from the PodSecurity enforcement.pod-security.kubernetes.io/enforce-policyExample: pod-security.kubernetes.io/enforce-policy: restricted:latestValue must be privileged:<version>, baseline:<version>, restricted:<version> which correspond to Pod Security Standard levels accompanied by a version which must be latest or a valid Kubernetes version in the format v<MAJOR>.<MINOR>. This annotations informs about the enforcement level that allowed or denied the pod during PodSecurity admission.See Pod Security Standards for more information.pod-security.kubernetes.io/audit-violationsExample: pod-security.kubernetes.io/audit-violations: would violate PodSecurity \"restricted:latest\": allowPrivilegeEscalation != false (container \"example\" must set securityContext.allowPrivilegeEscalation=false), ...Value details an audit policy violation, it contains the Pod Security Standard level that was transgressed as well as the specific policies on the fields that were violated from the PodSecurity enforcement.See Pod Security Standards for more information.apiserver.latency.k8s.io/etcdExample: apiserver.latency.k8s.io/etcd: \"4.730661757s\"This annotation indiactes the measure of latency incurred inside the storage layer, it accounts for the time it takes to send data to the etcd and get the complete response back.The value of this audit annotation does not include the time incurred in admission, or validation.apiserver.latency.k8s.io/decode-response-objectExample: apiserver.latency.k8s.io/decode-response-object: \"450.6649ns\"This annotation records the time taken to decode the response received from the storage layer (etcd)apiserver.latency.k8s.io/apf-queue-waitExample: apiserver.latency.k8s.io/apf-queue-wait: \"100ns\"This annotation records the time that a request spent queued due to API server priorities.See API Priority and Fairness (APF) for more information about ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/audit-annotations/",
    "id": "k8s_00000_qa_3"
  },
  {
    "question": "What is Audit Annotations?",
    "answer": "T h i s   p a g e   s e r v e s   a s   a   r e f e r e n c e   f o r   t h e   a u d i t   a n n o t a t i o n s   o f   t h e   k u b e r n e t e s . i o   n a m e s p a c e .   T h e s e   a n n o t a t i o n s   a p p l y   t o   E v e n t   o b j e c t   f r o m   A P I   g r o u p   a u d i t . k 8 s . i o .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/audit-annotations/",
    "id": "k8s_00000_section_1_4"
  },
  {
    "question": "What is k8s.io/deprecated?",
    "answer": "E x a m p l e :   k 8 s . i o / d e p r e c a t e d :   \" t r u e \"   V a l u e   m u s t   b e   \" t r u e \"   o r   \" f a l s e \" .   T h e   v a l u e   \" t r u e \"   i n d i c a t e s   t h a t   t h e   r e q u e s t   u s e d   a   d e p r e c a t e d   A P I   v e r s i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/audit-annotations/",
    "id": "k8s_00000_section_2_5"
  },
  {
    "question": "What is k8s.io/removed-release?",
    "answer": "E x a m p l e :   k 8 s . i o / r e m o v e d - r e l e a s e :   \" 1 . 2 2 \"   V a l u e   m u s t   b e   i n   t h e   f o r m a t   \" < M A J O R > . < M I N O R > \" .   I t   i s   s e t   t o   t a r g e t   t h e   r e m o v a l   r e l e a s e   o n   r e q u e s t s   m a d e   t o   d e p r e c a t e d   A P I   v e r s i o n s   w i t h   a   t a r g e t   r e m o v a l   r e l e a s e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/audit-annotations/",
    "id": "k8s_00000_section_2_6"
  },
  {
    "question": "What is pod-security.kubernetes.io/exempt?",
    "answer": "E x a m p l e :   p o d - s e c u r i t y . k u b e r n e t e s . i o / e x e m p t :   n a m e s p a c e   V a l u e   m u s t   b e   o n e   o f   u s e r ,   n a m e s p a c e ,   o r   r u n t i m e C l a s s   w h i c h   c o r r e s p o n d   t o   P o d   S e c u r i t y   E x e m p t i o n   d i m e n s i o n s .   T h i s   a n n o t a t i o n   i n d i c a t e s   o n   w h i c h   d i m e n s i o n   w a s   b a s e d   t h e   e x e m p t i o n   f r o m   t h e   P o d S e c u r i t y   e n f o r c e m e n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/audit-annotations/",
    "id": "k8s_00000_section_2_7"
  },
  {
    "question": "What is pod-security.kubernetes.io/enforce-policy?",
    "answer": "E x a m p l e :   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e - p o l i c y :   r e s t r i c t e d : l a t e s t   V a l u e   m u s t   b e   p r i v i l e g e d : < v e r s i o n > ,   b a s e l i n e : < v e r s i o n > ,   r e s t r i c t e d : < v e r s i o n >   w h i c h   c o r r e s p o n d   t o   P o d   S e c u r i t y   S t a n d a r d   l e v e l s   a c c o m p a n i e d   b y   a   v e r s i o n   w h i c h   m u s t   b e   l a t e s t   o r   a   v a l i d   K u b e r n e t e s   v e r s i o n   i n   t h e   f o r m a t   v < M A J O R > . < M I N O R > .   T h i s   a n n o t a t i o n s   i n f o r m s   a b o u t   t h e   e n f o r c e m e n t   l e v e l   t h a t   a l l o w e d   o r   d e n i e d   t h e   p o d   d u r i n g   P o d S e c u r i t y   a d m i s s i o n .   S e e   P o d   S e c u r i t y   S t a n d a r d s   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/audit-annotations/",
    "id": "k8s_00000_section_2_8"
  },
  {
    "question": "What is pod-security.kubernetes.io/audit-violations?",
    "answer": "E x a m p l e :   p o d - s e c u r i t y . k u b e r n e t e s . i o / a u d i t - v i o l a t i o n s :   w o u l d   v i o l a t e   P o d S e c u r i t y   \" r e s t r i c t e d : l a t e s t \" :   a l l o w P r i v i l e g e E s c a l a t i o n   ! =   f a l s e   ( c o n t a i n e r   \" e x a m p l e \"   m u s t   s e t   s e c u r i t y C o n t e x t . a l l o w P r i v i l e g e E s c a l a t i o n = f a l s e ) ,   . . .   V a l u e   d e t a i l s   a n   a u d i t   p o l i c y   v i o l a t i o n ,   i t   c o n t a i n s   t h e   P o d   S e c u r i t y   S t a n d a r d   l e v e l   t h a t   w a s   t r a n s g r e s s e d   a s   w e l l   a s   t h e   s p e c i f i c   p o l i c i e s   o n   t h e   f i e l d s   t h a t   w e r e   v i o l a t e d   f r o m   t h e   P o d S e c u r i t y   e n f o r c e m e n t .   S e e   P o d   S e c u r i t y   S t a n d a r d s   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/audit-annotations/",
    "id": "k8s_00000_section_2_9"
  },
  {
    "question": "What is apiserver.latency.k8s.io/etcd?",
    "answer": "E x a m p l e :   a p i s e r v e r . l a t e n c y . k 8 s . i o / e t c d :   \" 4 . 7 3 0 6 6 1 7 5 7 s \"   T h i s   a n n o t a t i o n   i n d i a c t e s   t h e   m e a s u r e   o f   l a t e n c y   i n c u r r e d   i n s i d e   t h e   s t o r a g e   l a y e r ,   i t   a c c o u n t s   f o r   t h e   t i m e   i t   t a k e s   t o   s e n d   d a t a   t o   t h e   e t c d   a n d   g e t   t h e   c o m p l e t e   r e s p o n s e   b a c k .   T h e   v a l u e   o f   t h i s   a u d i t   a n n o t a t i o n   d o e s   n o t   i n c l u d e   t h e   t i m e   i n c u r r e d   i n   a d m i s s i o n ,   o r   v a l i d a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/audit-annotations/",
    "id": "k8s_00000_section_2_10"
  },
  {
    "question": "What is apiserver.latency.k8s.io/decode-response-object?",
    "answer": "E x a m p l e :   a p i s e r v e r . l a t e n c y . k 8 s . i o / d e c o d e - r e s p o n s e - o b j e c t :   \" 4 5 0 . 6 6 4 9 n s \"   T h i s   a n n o t a t i o n   r e c o r d s   t h e   t i m e   t a k e n   t o   d e c o d e   t h e   r e s p o n s e   r e c e i v e d   f r o m   t h e   s t o r a g e   l a y e r   ( e t c d )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/audit-annotations/",
    "id": "k8s_00000_section_2_11"
  },
  {
    "question": "What is apiserver.latency.k8s.io/apf-queue-wait?",
    "answer": "E x a m p l e :   a p i s e r v e r . l a t e n c y . k 8 s . i o / a p f - q u e u e - w a i t :   \" 1 0 0 n s \"   T h i s   a n n o t a t i o n   r e c o r d s   t h e   t i m e   t h a t   a   r e q u e s t   s p e n t   q u e u e d   d u e   t o   A P I   s e r v e r   p r i o r i t i e s .   S e e   A P I   P r i o r i t y   a n d   F a i r n e s s   ( A P F )   f o r   m o r e   i n f o r m a t i o n   a b o u t   t h i s   m e c h a n i s m .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/audit-annotations/",
    "id": "k8s_00000_section_2_12"
  },
  {
    "question": "What is authorization.k8s.io/decision?",
    "answer": "E x a m p l e :   a u t h o r i z a t i o n . k 8 s . i o / d e c i s i o n :   \" f o r b i d \"   V a l u e   m u s t   b e   f o r b i d   o r   a l l o w .   T h i s   a n n o t a t i o n   i n d i c a t e s   w h e t h e r   o r   n o t   a   r e q u e s t   w a s   a u t h o r i z e d   i n   K u b e r n e t e s   a u d i t   l o g s .   S e e   A u d i t i n g   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/audit-annotations/",
    "id": "k8s_00000_section_2_13"
  },
  {
    "question": "What is authorization.k8s.io/reason?",
    "answer": "E x a m p l e :   a u t h o r i z a t i o n . k 8 s . i o / r e a s o n :   \" H u m a n - r e a d a b l e   r e a s o n   f o r   t h e   d e c i s i o n \"   T h i s   a n n o t a t i o n   g i v e s   r e a s o n   f o r   t h e   d e c i s i o n   i n   K u b e r n e t e s   a u d i t   l o g s .   S e e   A u d i t i n g   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/audit-annotations/",
    "id": "k8s_00000_section_2_14"
  },
  {
    "question": "What is missing-san.invalid-cert.kubernetes.io/$hostname?",
    "answer": "E x a m p l e :   m i s s i n g - s a n . i n v a l i d - c e r t . k u b e r n e t e s . i o / e x a m p l e - s v c . e x a m p l e - n a m e s p a c e . s v c :   \" r e l i e s   o n   a   l e g a c y   C o m m o n   N a m e   f i e l d   i n s t e a d   o f   t h e   S A N   e x t e n s i o n   f o r   s u b j e c t   v a l i d a t i o n \"   U s e d   b y   K u b e r n e t e s   v e r s i o n   v 1 . 2 4   a n d   l a t e r   T h i s   a n n o t a t i o n   i n d i c a t e s   a   w e b h o o k   o r   a g g r e g a t e d   A P I   s e r v e r   i s   u s i n g   a n   i n v a l i d   c e r t i f i c a t e   t h a t   i s   m i s s i n g   s u b j e c t A l t N a m e s .   S u p p o r t   f o r   t h e s e   c e r t i f i c a t e s   w a s   d i s a b l e d   b y   d e f a u l t   i n   K u b e r n e t e s   1 . 1 9 ,   a n d   r e m o v e d   i n   K u b e r n e t e s   1 . 2 3 .   R e q u e s t s   t o   e n d p o i n t s   u s i n g   t h e s e   c e r t i f i c a t e s   w i l l   f a i l .   S e r v i c e s   u s i n g   t h e s e   c e r t i f i c a t e s   s h o u l d   r e p l a c e   t h e m   a s   s o o n   a s   p o s s i b l e   t o   a v o i d   d i s r u p t i o n   w h e n   r u n n i n g   i n   K u b e r n e t e s   1 . 2 3 +   e n v i r o n m e n t s .   T h e r e ' s   m o r e   i n f o r m a t i o n   a b o u t   t h i s   i n   t h e   G o   d o c u m e n t a t i o n :   X . 5 0 9   C o m m o n N a m e   d e p r e c a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/audit-annotations/",
    "id": "k8s_00000_section_2_15"
  },
  {
    "question": "What is insecure-sha1.invalid-cert.kubernetes.io/$hostname?",
    "answer": "E x a m p l e :   i n s e c u r e - s h a 1 . i n v a l i d - c e r t . k u b e r n e t e s . i o / e x a m p l e - s v c . e x a m p l e - n a m e s p a c e . s v c :   \" u s e s   a n   i n s e c u r e   S H A - 1   s i g n a t u r e \"   U s e d   b y   K u b e r n e t e s   v e r s i o n   v 1 . 2 4   a n d   l a t e r   T h i s   a n n o t a t i o n   i n d i c a t e s   a   w e b h o o k   o r   a g g r e g a t e d   A P I   s e r v e r   i s   u s i n g   a n   i n s e c u r e   c e r t i f i c a t e   s i g n e d   w i t h   a   S H A - 1   h a s h .   S u p p o r t   f o r   t h e s e   i n s e c u r e   c e r t i f i c a t e s   i s   d i s a b l e d   b y   d e f a u l t   i n   K u b e r n e t e s   1 . 2 4 ,   a n d   w i l l   b e   r e m o v e d   i n   a   f u t u r e   r e l e a s e .   S e r v i c e s   u s i n g   t h e s e   c e r t i f i c a t e s   s h o u l d   r e p l a c e   t h e m   a s   s o o n   a s   p o s s i b l e ,   t o   e n s u r e   c o n n e c t i o n s   a r e   s e c u r e d   p r o p e r l y   a n d   t o   a v o i d   d i s r u p t i o n   i n   f u t u r e   r e l e a s e s .   T h e r e ' s   m o r e   i n f o r m a t i o n   a b o u t   t h i s   i n   t h e   G o   d o c u m e n t a t i o n :   R e j e c t i n g   S H A - 1   c e r t i f i c a t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/audit-annotations/",
    "id": "k8s_00000_section_2_16"
  },
  {
    "question": "What is validation.policy.admission.k8s.io/validation_failure?",
    "answer": "E x a m p l e :   v a l i d a t i o n . p o l i c y . a d m i s s i o n . k 8 s . i o / v a l i d a t i o n _ f a i l u r e :   ' [ { \" m e s s a g e \" :   \" I n v a l i d   v a l u e \" ,   { \" p o l i c y \" :   \" p o l i c y . e x a m p l e . c o m \" ,   { \" b i n d i n g \" :   \" p o l i c y b i n d i n g . e x a m p l e . c o m \" ,   { \" e x p r e s s i o n I n d e x \" :   \" 1 \" ,   { \" v a l i d a t i o n A c t i o n s \" :   [ \" A u d i t \" ] } ] '   U s e d   b y   K u b e r n e t e s   v e r s i o n   v 1 . 2 7   a n d   l a t e r .   T h i s   a n n o t a t i o n   i n d i c a t e s   t h a t   a   a d m i s s i o n   p o l i c y   v a l i d a t i o n   e v a l u a t e d   t o   f a l s e   f o r   a n   A P I   r e q u e s t ,   o r   t h a t   t h e   v a l i d a t i o n   r e s u l t e d   i n   a n   e r r o r   w h i l e   t h e   p o l i c y   w a s   c o n f i g u r e d   w i t h   f a i l u r e P o l i c y :   F a i l .   T h e   v a l u e   o f   t h e   a n n o t a t i o n   i s   a   J S O N   o b j e c t .   T h e   m e s s a g e   i n   t h e   J S O N   p r o v i d e s   t h e   m e s s a g e   a b o u t   t h e   v a l i d a t i o n   f a i l u r e .   T h e   p o l i c y ,   b i n d i n g   a n d   e x p r e s s i o n I n d e x   i n   t h e   J S O N   i d e n t i f i e s   t h e   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y ,   t h e   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   a n d   t h e   i n d e x   i n   t h e   p o l i c y   v a l i d a t i o n s   o f   t h e   C E L   e x p r e s s i o n s   t h a t   f a i l e d ,   r e s p e c t i v e l y .   T h e   v a l i d a t i o n A c t i o n s   s h o w s   w h a t   a c t i o n s   w e r e   t a k e n   f o r   t h i s   v a l i d a t i o n   f a i l u r e .   S e e   V a l i d a t i n g   A d m i s s i o n   P o l i c y   f o r   m o r e   d e t a i l s   a b o u t   v a l i d a t i o n A c t i o n s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/audit-annotations/",
    "id": "k8s_00000_section_2_17"
  },
  {
    "question": "What is Change the Reclaim Policy of a PersistentVolume?",
    "answer": "Change the Reclaim Policy of a PersistentVolumeThis page shows how to change the reclaim policy of a Kubernetes PersistentVolume.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Why change reclaim policy of a PersistentVolumePersistentVolumes can have various reclaim policies, including \"Retain\", \"Recycle\", and \"Delete\". For dynamically provisioned PersistentVolumes, the default reclaim policy is \"Delete\". This means that a dynamically provisioned volume is automatically deleted when a user deletes the corresponding PersistentVolumeClaim. This automatic behavior might be inappropriate if the volume contains precious data. In that case, it is more appropriate to use the \"Retain\" policy. With the \"Retain\" policy, if a user deletes a PersistentVolumeClaim, the corresponding PersistentVolume will not be deleted. Instead, it is moved to the Released phase, where all of its data can be manually recovered.Changing the reclaim policy of a PersistentVolumeList the PersistentVolumes in your cluster:kubectl get pv The output is similar to this:NAME CAPACITY ACCESSMODES RECLAIMPOLICY STATUS CLAIM STORAGECLASS REASON AGE pvc-b6efd8da-b7b5-11e6-9d58-0ed433a7dd94 4Gi RWO Delete Bound default/claim1 manual 10s pvc-b95650f8-b7b5-11e6-9d58-0ed433a7dd94 4Gi RWO Delete Bound default/claim2 manual 6s pvc-bb3ca71d-b7b5-11e6-9d58-0ed433a7dd94 4Gi RWO Delete Bound default/claim3 manual 3s This list also includes the name of the claims that are bound to each volume for easier identification of dynamically provisioned volumes.Choose one of your PersistentVolumes and change its reclaim policy:kubectl patch pv <your-pv-name> -p '{\"spec\":{\"persistentVolumeReclaimPolicy\":\"Retain\"}}' where <your-pv-name> is the name of your chosen PersistentVolume.Note:On Windows, you must double quote any JSONPath template that contains spaces (not single quote as shown above for bash). This in turn means that you must use a single quote or escaped double quote around any literals in the template. For example:kubectl patch pv <your-pv-name> -p \"{\\\"spec\\\":{\\\"persistentVolumeReclaimPolicy\\\":\\\"Retain\\\"}}\" Verify that your chosen PersistentVolume has the right policy:kubectl get pv The output is similar to this:NAME CAPACITY ACCESSMODES RECLAIMPOLICY STATUS CLAIM STORAGECLASS REASON AGE pvc-b6efd8da-b7b5-11e6-9d58-0ed433a7dd94 4Gi RWO Delete Bound default/claim1 manual 40s pvc-b95650f8-b7b5-11e6-9d58-0ed433a7dd94 4Gi RWO Delete Bound default/claim2 manual 36s pvc-bb3ca71d-b7b5-11e6-9d58-0ed433a7dd94 4Gi RWO Retain Bound default/claim3 manual 33s In the preceding output, ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-pv-reclaim-policy/",
    "id": "k8s_00001_qa_18"
  },
  {
    "question": "How does Change the Reclaim Policy of a PersistentVolume work?",
    "answer": "Change the Reclaim Policy of a PersistentVolumeThis page shows how to change the reclaim policy of a Kubernetes PersistentVolume.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Why change reclaim policy of a PersistentVolumePersistentVolumes can have various reclaim policies, including \"Retain\", \"Recycle\", and \"Delete\". For dynamically provisioned PersistentVolumes, the default reclaim policy is \"Delete\". This means that a dynamically provisioned volume is automatically deleted when a user deletes the corresponding PersistentVolumeClaim. This automatic behavior might be inappropriate if the volume contains precious data. In that case, it is more appropriate to use the \"Retain\" policy. With the \"Retain\" policy, if a user deletes a PersistentVolumeClaim, the corresponding PersistentVolume will not be deleted. Instead, it is moved to the Released phase, where all of its data can be manually recovered.Changing the reclaim policy of a PersistentVolumeList the PersistentVolumes in your cluster:kubectl get pv The output is similar to this:NAME CAPACITY ACCESSMODES RECLAIMPOLICY STATUS CLAIM STORAGECLASS REASON AGE pvc-b6efd8da-b7b5-11e6-9d58-0ed433a7dd94 4Gi RWO Delete Bound default/claim1 manual 10s pvc-b95650f8-b7b5-11e6-9d58-0ed433a7dd94 4Gi RWO Delete Bound default/claim2 manual 6s pvc-bb3ca71d-b7b5-11e6-9d58-0ed433a7dd94 4Gi RWO Delete Bound default/claim3 manual 3s This list also includes the name of the claims that are bound to each volume for easier identification of dynamically provisioned volumes.Choose one of your PersistentVolumes and change its reclaim policy:kubectl patch pv <your-pv-name> -p '{\"spec\":{\"persistentVolumeReclaimPolicy\":\"Retain\"}}' where <your-pv-name> is the name of your chosen PersistentVolume.Note:On Windows, you must double quote any JSONPath template that contains spaces (not single quote as shown above for bash). This in turn means that you must use a single quote or escaped double quote around any literals in the template. For example:kubectl patch pv <your-pv-name> -p \"{\\\"spec\\\":{\\\"persistentVolumeReclaimPolicy\\\":\\\"Retain\\\"}}\" Verify that your chosen PersistentVolume has the right policy:kubectl get pv The output is similar to this:NAME CAPACITY ACCESSMODES RECLAIMPOLICY STATUS CLAIM STORAGECLASS REASON AGE pvc-b6efd8da-b7b5-11e6-9d58-0ed433a7dd94 4Gi RWO Delete Bound default/claim1 manual 40s pvc-b95650f8-b7b5-11e6-9d58-0ed433a7dd94 4Gi RWO Delete Bound default/claim2 manual 36s pvc-bb3ca71d-b7b5-11e6-9d58-0ed433a7dd94 4Gi RWO Retain Bound default/claim3 manual 33s In the preceding output, ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-pv-reclaim-policy/",
    "id": "k8s_00001_qa_19"
  },
  {
    "question": "When would you use Change the Reclaim Policy of a PersistentVolume?",
    "answer": "Change the Reclaim Policy of a PersistentVolumeThis page shows how to change the reclaim policy of a Kubernetes PersistentVolume.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Why change reclaim policy of a PersistentVolumePersistentVolumes can have various reclaim policies, including \"Retain\", \"Recycle\", and \"Delete\". For dynamically provisioned PersistentVolumes, the default reclaim policy is \"Delete\". This means that a dynamically provisioned volume is automatically deleted when a user deletes the corresponding PersistentVolumeClaim. This automatic behavior might be inappropriate if the volume contains precious data. In that case, it is more appropriate to use the \"Retain\" policy. With the \"Retain\" policy, if a user deletes a PersistentVolumeClaim, the corresponding PersistentVolume will not be deleted. Instead, it is moved to the Released phase, where all of its data can be manually recovered.Changing the reclaim policy of a PersistentVolumeList the PersistentVolumes in your cluster:kubectl get pv The output is similar to this:NAME CAPACITY ACCESSMODES RECLAIMPOLICY STATUS CLAIM STORAGECLASS REASON AGE pvc-b6efd8da-b7b5-11e6-9d58-0ed433a7dd94 4Gi RWO Delete Bound default/claim1 manual 10s pvc-b95650f8-b7b5-11e6-9d58-0ed433a7dd94 4Gi RWO Delete Bound default/claim2 manual 6s pvc-bb3ca71d-b7b5-11e6-9d58-0ed433a7dd94 4Gi RWO Delete Bound default/claim3 manual 3s This list also includes the name of the claims that are bound to each volume for easier identification of dynamically provisioned volumes.Choose one of your PersistentVolumes and change its reclaim policy:kubectl patch pv <your-pv-name> -p '{\"spec\":{\"persistentVolumeReclaimPolicy\":\"Retain\"}}' where <your-pv-name> is the name of your chosen PersistentVolume.Note:On Windows, you must double quote any JSONPath template that contains spaces (not single quote as shown above for bash). This in turn means that you must use a single quote or escaped double quote around any literals in the template. For example:kubectl patch pv <your-pv-name> -p \"{\\\"spec\\\":{\\\"persistentVolumeReclaimPolicy\\\":\\\"Retain\\\"}}\" Verify that your chosen PersistentVolume has the right policy:kubectl get pv The output is similar to this:NAME CAPACITY ACCESSMODES RECLAIMPOLICY STATUS CLAIM STORAGECLASS REASON AGE pvc-b6efd8da-b7b5-11e6-9d58-0ed433a7dd94 4Gi RWO Delete Bound default/claim1 manual 40s pvc-b95650f8-b7b5-11e6-9d58-0ed433a7dd94 4Gi RWO Delete Bound default/claim2 manual 36s pvc-bb3ca71d-b7b5-11e6-9d58-0ed433a7dd94 4Gi RWO Retain Bound default/claim3 manual 33s In the preceding output, ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-pv-reclaim-policy/",
    "id": "k8s_00001_qa_20"
  },
  {
    "question": "What are the benefits of Change the Reclaim Policy of a PersistentVolume?",
    "answer": "Change the Reclaim Policy of a PersistentVolumeThis page shows how to change the reclaim policy of a Kubernetes PersistentVolume.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Why change reclaim policy of a PersistentVolumePersistentVolumes can have various reclaim policies, including \"Retain\", \"Recycle\", and \"Delete\". For dynamically provisioned PersistentVolumes, the default reclaim policy is \"Delete\". This means that a dynamically provisioned volume is automatically deleted when a user deletes the corresponding PersistentVolumeClaim. This automatic behavior might be inappropriate if the volume contains precious data. In that case, it is more appropriate to use the \"Retain\" policy. With the \"Retain\" policy, if a user deletes a PersistentVolumeClaim, the corresponding PersistentVolume will not be deleted. Instead, it is moved to the Released phase, where all of its data can be manually recovered.Changing the reclaim policy of a PersistentVolumeList the PersistentVolumes in your cluster:kubectl get pv The output is similar to this:NAME CAPACITY ACCESSMODES RECLAIMPOLICY STATUS CLAIM STORAGECLASS REASON AGE pvc-b6efd8da-b7b5-11e6-9d58-0ed433a7dd94 4Gi RWO Delete Bound default/claim1 manual 10s pvc-b95650f8-b7b5-11e6-9d58-0ed433a7dd94 4Gi RWO Delete Bound default/claim2 manual 6s pvc-bb3ca71d-b7b5-11e6-9d58-0ed433a7dd94 4Gi RWO Delete Bound default/claim3 manual 3s This list also includes the name of the claims that are bound to each volume for easier identification of dynamically provisioned volumes.Choose one of your PersistentVolumes and change its reclaim policy:kubectl patch pv <your-pv-name> -p '{\"spec\":{\"persistentVolumeReclaimPolicy\":\"Retain\"}}' where <your-pv-name> is the name of your chosen PersistentVolume.Note:On Windows, you must double quote any JSONPath template that contains spaces (not single quote as shown above for bash). This in turn means that you must use a single quote or escaped double quote around any literals in the template. For example:kubectl patch pv <your-pv-name> -p \"{\\\"spec\\\":{\\\"persistentVolumeReclaimPolicy\\\":\\\"Retain\\\"}}\" Verify that your chosen PersistentVolume has the right policy:kubectl get pv The output is similar to this:NAME CAPACITY ACCESSMODES RECLAIMPOLICY STATUS CLAIM STORAGECLASS REASON AGE pvc-b6efd8da-b7b5-11e6-9d58-0ed433a7dd94 4Gi RWO Delete Bound default/claim1 manual 40s pvc-b95650f8-b7b5-11e6-9d58-0ed433a7dd94 4Gi RWO Delete Bound default/claim2 manual 36s pvc-bb3ca71d-b7b5-11e6-9d58-0ed433a7dd94 4Gi RWO Retain Bound default/claim3 manual 33s In the preceding output, ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-pv-reclaim-policy/",
    "id": "k8s_00001_qa_21"
  },
  {
    "question": "What is Change the Reclaim Policy of a PersistentVolume?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c h a n g e   t h e   r e c l a i m   p o l i c y   o f   a   K u b e r n e t e s   P e r s i s t e n t V o l u m e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-pv-reclaim-policy/",
    "id": "k8s_00001_section_1_22"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-pv-reclaim-policy/",
    "id": "k8s_00001_section_2_23"
  },
  {
    "question": "What is Why change reclaim policy of a PersistentVolume?",
    "answer": "P e r s i s t e n t V o l u m e s   c a n   h a v e   v a r i o u s   r e c l a i m   p o l i c i e s ,   i n c l u d i n g   \" R e t a i n \" ,   \" R e c y c l e \" ,   a n d   \" D e l e t e \" .   F o r   d y n a m i c a l l y   p r o v i s i o n e d   P e r s i s t e n t V o l u m e s ,   t h e   d e f a u l t   r e c l a i m   p o l i c y   i s   \" D e l e t e \" .   T h i s   m e a n s   t h a t   a   d y n a m i c a l l y   p r o v i s i o n e d   v o l u m e   i s   a u t o m a t i c a l l y   d e l e t e d   w h e n   a   u s e r   d e l e t e s   t h e   c o r r e s p o n d i n g   P e r s i s t e n t V o l u m e C l a i m .   T h i s   a u t o m a t i c   b e h a v i o r   m i g h t   b e   i n a p p r o p r i a t e   i f   t h e   v o l u m e   c o n t a i n s   p r e c i o u s   d a t a .   I n   t h a t   c a s e ,   i t   i s   m o r e   a p p r o p r i a t e   t o   u s e   t h e   \" R e t a i n \"   p o l i c y .   W i t h   t h e   \" R e t a i n \"   p o l i c y ,   i f   a   u s e r   d e l e t e s   a   P e r s i s t e n t V o l u m e C l a i m ,   t h e   c o r r e s p o n d i n g   P e r s i s t e n t V o l u m e   w i l l   n o t   b e   d e l e t e d .   I n s t e a d ,   i t   i s   m o v e d   t o   t h e   R e l e a s e d   p h a s e ,   w h e r e   a l l   o f   i t s   d a t a   c a n   b e   m a n u a l l y   r e c o v e r e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-pv-reclaim-policy/",
    "id": "k8s_00001_section_2_24"
  },
  {
    "question": "What is Changing the reclaim policy of a PersistentVolume?",
    "answer": "L i s t   t h e   P e r s i s t e n t V o l u m e s   i n   y o u r   c l u s t e r : k u b e c t l   g e t   p v   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   C A P A C I T Y   A C C E S S M O D E S   R E C L A I M P O L I C Y   S T A T U S   C L A I M   S T O R A G E C L A S S   R E A S O N   A G E   p v c - b 6 e f d 8 d a - b 7 b 5 - 1 1 e 6 - 9 d 5 8 - 0 e d 4 3 3 a 7 d d 9 4   4 G i   R W O   D e l e t e   B o u n d   d e f a u l t / c l a i m 1   m a n u a l   1 0 s   p v c - b 9 5 6 5 0 f 8 - b 7 b 5 - 1 1 e 6 - 9 d 5 8 - 0 e d 4 3 3 a 7 d d 9 4   4 G i   R W O   D e l e t e   B o u n d   d e f a u l t / c l a i m 2   m a n u a l   6 s   p v c - b b 3 c a 7 1 d - b 7 b 5 - 1 1 e 6 - 9 d 5 8 - 0 e d 4 3 3 a 7 d d 9 4   4 G i   R W O   D e l e t e   B o u n d   d e f a u l t / c l a i m 3   m a n u a l   3 s   T h i s   l i s t   a l s o   i n c l u d e s   t h e   n a m e   o f   t h e   c l a i m s   t h a t   a r e   b o u n d   t o   e a c h   v o l u m e   f o r   e a s i e r   i d e n t i f i c a t i o n   o f   d y n a m i c a l l y   p r o v i s i o n e d   v o l u m e s . C h o o s e   o n e   o f   y o u r   P e r s i s t e n t V o l u m e s   a n d   c h a n g e   i t s   r e c l a i m   p o l i c y : k u b e c t l   p a t c h   p v   < y o u r - p v - n a m e >   - p   ' { \" s p e c \" : { \" p e r s i s t e n t V o l u m e R e c l a i m P o l i c y \" : \" R e t a i n \" } } '   w h e r e   < y o u r - p v - n a m e >   i s   t h e   n a m e   o f   y o u r   c h o s e n   P e r s i s t e n t V o l u m e . N o t e : O n   W i n d o w s ,   y o u   m u s t   d o u b l e   q u o t e   a n y   J S O N P a t h   t e m p l a t e   t h a t   c o n t a i n s   s p a c e s   ( n o t   s i n g l e   q u o t e   a s   s h o w n   a b o v e   f o r   b a s h ) .   T h i s   i n   t u r n   m e a n s   t h a t   y o u   m u s t   u s e   a   s i n g l e   q u o t e   o r   e s c a p e d   d o u b l e   q u o t e   a r o u n d   a n y   l ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-pv-reclaim-policy/",
    "id": "k8s_00001_section_2_25"
  },
  {
    "question": "What is Note:?",
    "answer": "O n   W i n d o w s ,   y o u   m u s t   d o u b l e   q u o t e   a n y   J S O N P a t h   t e m p l a t e   t h a t   c o n t a i n s   s p a c e s   ( n o t   s i n g l e   q u o t e   a s   s h o w n   a b o v e   f o r   b a s h ) .   T h i s   i n   t u r n   m e a n s   t h a t   y o u   m u s t   u s e   a   s i n g l e   q u o t e   o r   e s c a p e d   d o u b l e   q u o t e   a r o u n d   a n y   l i t e r a l s   i n   t h e   t e m p l a t e .   F o r   e x a m p l e :   k u b e c t l   p a t c h   p v   < y o u r - p v - n a m e >   - p   \" { \\ \" s p e c \\ \" : { \\ \" p e r s i s t e n t V o l u m e R e c l a i m P o l i c y \\ \" : \\ \" R e t a i n \\ \" } } \"   V e r i f y   t h a t   y o u r   c h o s e n   P e r s i s t e n t V o l u m e   h a s   t h e   r i g h t   p o l i c y :   k u b e c t l   g e t   p v   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   C A P A C I T Y   A C C E S S M O D E S   R E C L A I M P O L I C Y   S T A T U S   C L A I M   S T O R A G E C L A S S   R E A S O N   A G E   p v c - b 6 e f d 8 d a - b 7 b 5 - 1 1 e 6 - 9 d 5 8 - 0 e d 4 3 3 a 7 d d 9 4   4 G i   R W O   D e l e t e   B o u n d   d e f a u l t / c l a i m 1   m a n u a l   4 0 s   p v c - b 9 5 6 5 0 f 8 - b 7 b 5 - 1 1 e 6 - 9 d 5 8 - 0 e d 4 3 3 a 7 d d 9 4   4 G i   R W O   D e l e t e   B o u n d   d e f a u l t / c l a i m 2   m a n u a l   3 6 s   p v c - b b 3 c a 7 1 d - b 7 b 5 - 1 1 e 6 - 9 d 5 8 - 0 e d 4 3 3 a 7 d d 9 4   4 G i   R W O   R e t a i n   B o u n d   d e f a u l t / c l a i m 3   m a n u a l   3 3 s   I n   t h e   p r e c e d i n g   o u t p u t ,   y o u   c a n   s e e   t h a t   t h e   v o l u m e   b o u n d   t o   c l a i m   d e f a u l t / c l a i m 3   h a s   r e c l a i m   p o l i c y   R e t a i n .   I t   w i l l   n o t   b e   a u t o m a t i c a l l y   d e l e t e d   w h e n   a   u s e r   d e l e t e s   c l a i m   d e f a u l t / c l a i m 3 .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-pv-reclaim-policy/",
    "id": "k8s_00001_section_4_26"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   P e r s i s t e n t V o l u m e s . L e a r n   m o r e   a b o u t   P e r s i s t e n t V o l u m e C l a i m s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-pv-reclaim-policy/",
    "id": "k8s_00001_section_2_27"
  },
  {
    "question": "What is References?",
    "answer": "P e r s i s t e n t V o l u m e P a y   a t t e n t i o n   t o   t h e   . s p e c . p e r s i s t e n t V o l u m e R e c l a i m P o l i c y   f i e l d   o f   P e r s i s t e n t V o l u m e . P e r s i s t e n t V o l u m e C l a i m   P a y   a t t e n t i o n   t o   t h e   . s p e c . p e r s i s t e n t V o l u m e R e c l a i m P o l i c y   f i e l d   o f   P e r s i s t e n t V o l u m e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-pv-reclaim-policy/",
    "id": "k8s_00001_section_3_28"
  },
  {
    "question": "What is Use a User Namespace With a Pod?",
    "answer": "Use a User Namespace With a PodFEATURE STATE: Kubernetes v1.33 [beta] (enabled by default: true)This page shows how to configure a user namespace for pods. This allows you to isolate the user running inside the container from the one in the host.A process running as root in a container can run as a different (non-root) user in the host; in other words, the process has full privileges for operations inside the user namespace, but is unprivileged for operations outside the namespace.You can use this feature to reduce the damage a compromised container can do to the host or other pods in the same node. There are several security vulnerabilities rated either HIGH or CRITICAL that were not exploitable when user namespaces is active. It is expected user namespace will mitigate some future vulnerabilities too.Without using a user namespace a container running as root, in the case of a container breakout, has root privileges on the node. And if some capability were granted to the container, the capabilities are valid on the host too. None of this is true when user namespaces are used.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.25.To check the version, enter kubectl version.🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationThe node OS needs to be LinuxYou need to exec commands in the hostYou need to be able to exec into podsYou need to enable the UserNamespacesSupport feature gateNote:The feature gate to enable user namespaces was previously named UserNamespacesStatelessPodsSupport, when only stateless pods were supported. Only Kubernetes v1.25 through to v1.27 recognise UserNamespacesStatelessPodsSupport.The cluster that you're using must include at least one node that meets the requirements for using user namespaces with Pods.If you have a mixture of nodes and only some of the nodes provide user namespace support for Pods, you also need to ensure that the user namespace Pods are scheduled to suitable nodes.Run a Pod that uses a user namespaceA user namespace for a pod is enabled setting the hostUsers field of .spec to false. For example:pods/user-namespaces-stateless.yaml apiVersion: v1 kind: Pod metadata: name: userns spec: hostUsers: false containers: - name: shell command: [\"sleep\", \"infinity\"] image: debian Create the pod on your cluster:kubectl apply -f https://k8s.io/examples/pods/user-namespaces-stateless.yaml Exec into the pod and run readlink /proc/self/ns/user:kubectl exec -ti userns -- bash Run this command:readlink /proc/self/ns/user The ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/user-namespaces/",
    "id": "k8s_00002_qa_29"
  },
  {
    "question": "How does Use a User Namespace With a Pod work?",
    "answer": "Use a User Namespace With a PodFEATURE STATE: Kubernetes v1.33 [beta] (enabled by default: true)This page shows how to configure a user namespace for pods. This allows you to isolate the user running inside the container from the one in the host.A process running as root in a container can run as a different (non-root) user in the host; in other words, the process has full privileges for operations inside the user namespace, but is unprivileged for operations outside the namespace.You can use this feature to reduce the damage a compromised container can do to the host or other pods in the same node. There are several security vulnerabilities rated either HIGH or CRITICAL that were not exploitable when user namespaces is active. It is expected user namespace will mitigate some future vulnerabilities too.Without using a user namespace a container running as root, in the case of a container breakout, has root privileges on the node. And if some capability were granted to the container, the capabilities are valid on the host too. None of this is true when user namespaces are used.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.25.To check the version, enter kubectl version.🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationThe node OS needs to be LinuxYou need to exec commands in the hostYou need to be able to exec into podsYou need to enable the UserNamespacesSupport feature gateNote:The feature gate to enable user namespaces was previously named UserNamespacesStatelessPodsSupport, when only stateless pods were supported. Only Kubernetes v1.25 through to v1.27 recognise UserNamespacesStatelessPodsSupport.The cluster that you're using must include at least one node that meets the requirements for using user namespaces with Pods.If you have a mixture of nodes and only some of the nodes provide user namespace support for Pods, you also need to ensure that the user namespace Pods are scheduled to suitable nodes.Run a Pod that uses a user namespaceA user namespace for a pod is enabled setting the hostUsers field of .spec to false. For example:pods/user-namespaces-stateless.yaml apiVersion: v1 kind: Pod metadata: name: userns spec: hostUsers: false containers: - name: shell command: [\"sleep\", \"infinity\"] image: debian Create the pod on your cluster:kubectl apply -f https://k8s.io/examples/pods/user-namespaces-stateless.yaml Exec into the pod and run readlink /proc/self/ns/user:kubectl exec -ti userns -- bash Run this command:readlink /proc/self/ns/user The ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/user-namespaces/",
    "id": "k8s_00002_qa_30"
  },
  {
    "question": "When would you use Use a User Namespace With a Pod?",
    "answer": "Use a User Namespace With a PodFEATURE STATE: Kubernetes v1.33 [beta] (enabled by default: true)This page shows how to configure a user namespace for pods. This allows you to isolate the user running inside the container from the one in the host.A process running as root in a container can run as a different (non-root) user in the host; in other words, the process has full privileges for operations inside the user namespace, but is unprivileged for operations outside the namespace.You can use this feature to reduce the damage a compromised container can do to the host or other pods in the same node. There are several security vulnerabilities rated either HIGH or CRITICAL that were not exploitable when user namespaces is active. It is expected user namespace will mitigate some future vulnerabilities too.Without using a user namespace a container running as root, in the case of a container breakout, has root privileges on the node. And if some capability were granted to the container, the capabilities are valid on the host too. None of this is true when user namespaces are used.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.25.To check the version, enter kubectl version.🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationThe node OS needs to be LinuxYou need to exec commands in the hostYou need to be able to exec into podsYou need to enable the UserNamespacesSupport feature gateNote:The feature gate to enable user namespaces was previously named UserNamespacesStatelessPodsSupport, when only stateless pods were supported. Only Kubernetes v1.25 through to v1.27 recognise UserNamespacesStatelessPodsSupport.The cluster that you're using must include at least one node that meets the requirements for using user namespaces with Pods.If you have a mixture of nodes and only some of the nodes provide user namespace support for Pods, you also need to ensure that the user namespace Pods are scheduled to suitable nodes.Run a Pod that uses a user namespaceA user namespace for a pod is enabled setting the hostUsers field of .spec to false. For example:pods/user-namespaces-stateless.yaml apiVersion: v1 kind: Pod metadata: name: userns spec: hostUsers: false containers: - name: shell command: [\"sleep\", \"infinity\"] image: debian Create the pod on your cluster:kubectl apply -f https://k8s.io/examples/pods/user-namespaces-stateless.yaml Exec into the pod and run readlink /proc/self/ns/user:kubectl exec -ti userns -- bash Run this command:readlink /proc/self/ns/user The ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/user-namespaces/",
    "id": "k8s_00002_qa_31"
  },
  {
    "question": "What are the benefits of Use a User Namespace With a Pod?",
    "answer": "Use a User Namespace With a PodFEATURE STATE: Kubernetes v1.33 [beta] (enabled by default: true)This page shows how to configure a user namespace for pods. This allows you to isolate the user running inside the container from the one in the host.A process running as root in a container can run as a different (non-root) user in the host; in other words, the process has full privileges for operations inside the user namespace, but is unprivileged for operations outside the namespace.You can use this feature to reduce the damage a compromised container can do to the host or other pods in the same node. There are several security vulnerabilities rated either HIGH or CRITICAL that were not exploitable when user namespaces is active. It is expected user namespace will mitigate some future vulnerabilities too.Without using a user namespace a container running as root, in the case of a container breakout, has root privileges on the node. And if some capability were granted to the container, the capabilities are valid on the host too. None of this is true when user namespaces are used.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.25.To check the version, enter kubectl version.🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationThe node OS needs to be LinuxYou need to exec commands in the hostYou need to be able to exec into podsYou need to enable the UserNamespacesSupport feature gateNote:The feature gate to enable user namespaces was previously named UserNamespacesStatelessPodsSupport, when only stateless pods were supported. Only Kubernetes v1.25 through to v1.27 recognise UserNamespacesStatelessPodsSupport.The cluster that you're using must include at least one node that meets the requirements for using user namespaces with Pods.If you have a mixture of nodes and only some of the nodes provide user namespace support for Pods, you also need to ensure that the user namespace Pods are scheduled to suitable nodes.Run a Pod that uses a user namespaceA user namespace for a pod is enabled setting the hostUsers field of .spec to false. For example:pods/user-namespaces-stateless.yaml apiVersion: v1 kind: Pod metadata: name: userns spec: hostUsers: false containers: - name: shell command: [\"sleep\", \"infinity\"] image: debian Create the pod on your cluster:kubectl apply -f https://k8s.io/examples/pods/user-namespaces-stateless.yaml Exec into the pod and run readlink /proc/self/ns/user:kubectl exec -ti userns -- bash Run this command:readlink /proc/self/ns/user The ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/user-namespaces/",
    "id": "k8s_00002_qa_32"
  },
  {
    "question": "What is Use a User Namespace With a Pod?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   a   u s e r   n a m e s p a c e   f o r   p o d s .   T h i s   a l l o w s   y o u   t o   i s o l a t e   t h e   u s e r   r u n n i n g   i n s i d e   t h e   c o n t a i n e r   f r o m   t h e   o n e   i n   t h e   h o s t .   A   p r o c e s s   r u n n i n g   a s   r o o t   i n   a   c o n t a i n e r   c a n   r u n   a s   a   d i f f e r e n t   ( n o n - r o o t )   u s e r   i n   t h e   h o s t ;   i n   o t h e r   w o r d s ,   t h e   p r o c e s s   h a s   f u l l   p r i v i l e g e s   f o r   o p e r a t i o n s   i n s i d e   t h e   u s e r   n a m e s p a c e ,   b u t   i s   u n p r i v i l e g e d   f o r   o p e r a t i o n s   o u t s i d e   t h e   n a m e s p a c e .   Y o u   c a n   u s e   t h i s   f e a t u r e   t o   r e d u c e   t h e   d a m a g e   a   c o m p r o m i s e d   c o n t a i n e r   c a n   d o   t o   t h e   h o s t   o r   o t h e r   p o d s   i n   t h e   s a m e   n o d e .   T h e r e   a r e   s e v e r a l   s e c u r i t y   v u l n e r a b i l i t i e s   r a t e d   e i t h e r   H I G H   o r   C R I T I C A L   t h a t   w e r e   n o t   e x p l o i t a b l e   w h e n   u s e r   n a m e s p a c e s   i s   a c t i v e .   I t   i s   e x p e c t e d   u s e r   n a m e s p a c e   w i l l   m i t i g a t e   s o m e   f u t u r e   v u l n e r a b i l i t i e s   t o o .   W i t h o u t   u s i n g   a   u s e r   n a m e s p a c e   a   c o n t a i n e r   r u n n i n g   a s   r o o t ,   i n   t h e   c a s e   o f   a   c o n t a i n e r   b r e a k o u t ,   h a s   r o o t   p r i v i l e g e s   o n   t h e   n o d e .   A n d   i f   s o m e   c a p a b i l i t y   w e r e   g r a n t e d   t o   t h e   c o n t a i n e r ,   t h e   c a p a b i l i t i e s   a r e   v a l i d   o n   t h e   h o s t   t o o .   N o n e   o f   t h i s   i s   t r u e   w h e n   u s e r   n a m e s p a c e s   a r e   u s e d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/user-namespaces/",
    "id": "k8s_00002_section_1_33"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 2 5 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/user-namespaces/",
    "id": "k8s_00002_section_2_34"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   c l u s t e r   t h a t   y o u ' r e   u s i n g   m u s t   i n c l u d e   a t   l e a s t   o n e   n o d e   t h a t   m e e t s   t h e   r e q u i r e m e n t s   f o r   u s i n g   u s e r   n a m e s p a c e s   w i t h   P o d s .   I f   y o u   h a v e   a   m i x t u r e   o f   n o d e s   a n d   o n l y   s o m e   o f   t h e   n o d e s   p r o v i d e   u s e r   n a m e s p a c e   s u p p o r t   f o r   P o d s ,   y o u   a l s o   n e e d   t o   e n s u r e   t h a t   t h e   u s e r   n a m e s p a c e   P o d s   a r e   s c h e d u l e d   t o   s u i t a b l e   n o d e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/user-namespaces/",
    "id": "k8s_00002_section_4_35"
  },
  {
    "question": "What is Run a Pod that uses a user namespace?",
    "answer": "A   u s e r   n a m e s p a c e   f o r   a   p o d   i s   e n a b l e d   s e t t i n g   t h e   h o s t U s e r s   f i e l d   o f   . s p e c   t o   f a l s e .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   u s e r n s   s p e c :   h o s t U s e r s :   f a l s e   c o n t a i n e r s :   -   n a m e :   s h e l l   c o m m a n d :   [ \" s l e e p \" ,   \" i n f i n i t y \" ]   i m a g e :   d e b i a n   C r e a t e   t h e   p o d   o n   y o u r   c l u s t e r : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / u s e r - n a m e s p a c e s - s t a t e l e s s . y a m l   E x e c   i n t o   t h e   p o d   a n d   r u n   r e a d l i n k   / p r o c / s e l f / n s / u s e r : k u b e c t l   e x e c   - t i   u s e r n s   - -   b a s h   C r e a t e   t h e   p o d   o n   y o u r   c l u s t e r :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / u s e r - n a m e s p a c e s - s t a t e l e s s . y a m l   E x e c   i n t o   t h e   p o d   a n d   r u n   r e a d l i n k   / p r o c / s e l f / n s / u s e r :   k u b e c t l   e x e c   - t i   u s e r n s   - -   b a s h   R u n   t h i s   c o m m a n d :   r e a d l i n k   / p r o c / s e l f / n s / u s e r   T h e   o u t p u t   i s   s i m i l a r   t o :   u s e r : [ 4 0 2 6 5 3 1 8 3 7 ]   A l s o   r u n :   c a t   / p r o c / s e l f / u i d _ m a p   T h e   o u t p u t   i s   s i m i l a r   t o :   0   8 3 3 6 1 7 9 2 0   6 5 5 3 6   T h e n ,   o p e n   a   s h e l l   i n   t h e   h o s t   a n d   r u n   t h e   s a m e   c o m m a n d s .   T h e   r e a d l i n k   c o m m a n d   s h o w s   t h e   u s e r   n a m e s p a c e   t h e   p r o c e s s   i s   r u n n i n g   i n .   I t   s h o u l d   b e   d i f f e r e n t   w h e n   i t   i s   r u n   o n   t h e   h o s t   a n d   i n s i d e   t h e   c o n t a i n ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/user-namespaces/",
    "id": "k8s_00002_section_2_36"
  },
  {
    "question": "What is kubeadm init?",
    "answer": "kubeadm initThis command initializes a Kubernetes control plane node.SynopsisRun this command in order to set up the Kubernetes control planeThe \"init\" command executes the following phases:preflight Run pre-flight checks certs Certificate generation /ca Generate the self-signed Kubernetes CA to provision identities for other Kubernetes components /apiserver Generate the certificate for serving the Kubernetes API /apiserver-kubelet-client Generate the certificate for the API server to connect to kubelet /front-proxy-ca Generate the self-signed CA to provision identities for front proxy /front-proxy-client Generate the certificate for the front proxy client /etcd-ca Generate the self-signed CA to provision identities for etcd /etcd-server Generate the certificate for serving etcd /etcd-peer Generate the certificate for etcd nodes to communicate with each other /etcd-healthcheck-client Generate the certificate for liveness probes to healthcheck etcd /apiserver-etcd-client Generate the certificate the apiserver uses to access etcd /sa Generate a private key for signing service account tokens along with its public key kubeconfig Generate all kubeconfig files necessary to establish the control plane and the admin kubeconfig file /admin Generate a kubeconfig file for the admin to use and for kubeadm itself /super-admin Generate a kubeconfig file for the super-admin /kubelet Generate a kubeconfig file for the kubelet to use *only* for cluster bootstrapping purposes /controller-manager Generate a kubeconfig file for the controller manager to use /scheduler Generate a kubeconfig file for the scheduler to use etcd Generate static Pod manifest file for local etcd /local Generate the static Pod manifest file for a local, single-node local etcd instance control-plane Generate all static Pod manifest files necessary to establish the control plane /apiserver Generates the kube-apiserver static Pod manifest /controller-manager Generates the kube-controller-manager static Pod manifest /scheduler Generates the kube-scheduler static Pod manifest kubelet-start Write kubelet settings and (re)start the kubelet wait-control-plane Wait for the control plane to start upload-config Upload the kubeadm and kubelet configuration to a ConfigMap /kubeadm Upload the kubeadm ClusterConfiguration to a ConfigMap /kubelet Upload the kubelet component config to a ConfigMap upload-certs Upload certificates to kubeadm-certs mark-control-plane Mark a node as a control-plane bootstrap-token Generates bootstrap tokens used to join a node to a cluster kubelet-finalize Updates settings relevant to the kubelet after TLS bootstrap /enable-client-cert-rotation Enable kubelet client certificate rotation addon Install required addons for passing conformance tests /coredns Install the CoreDNS addon to a Kubernetes cluster /kube-proxy Install the kube-proxy addon to a Kubernetes cluster show-join-command Show the join command for control-plane and worker node kubeadm init [flags] Options--apiserv",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/",
    "id": "k8s_00003_qa_37"
  },
  {
    "question": "How does kubeadm init work?",
    "answer": "kubeadm initThis command initializes a Kubernetes control plane node.SynopsisRun this command in order to set up the Kubernetes control planeThe \"init\" command executes the following phases:preflight Run pre-flight checks certs Certificate generation /ca Generate the self-signed Kubernetes CA to provision identities for other Kubernetes components /apiserver Generate the certificate for serving the Kubernetes API /apiserver-kubelet-client Generate the certificate for the API server to connect to kubelet /front-proxy-ca Generate the self-signed CA to provision identities for front proxy /front-proxy-client Generate the certificate for the front proxy client /etcd-ca Generate the self-signed CA to provision identities for etcd /etcd-server Generate the certificate for serving etcd /etcd-peer Generate the certificate for etcd nodes to communicate with each other /etcd-healthcheck-client Generate the certificate for liveness probes to healthcheck etcd /apiserver-etcd-client Generate the certificate the apiserver uses to access etcd /sa Generate a private key for signing service account tokens along with its public key kubeconfig Generate all kubeconfig files necessary to establish the control plane and the admin kubeconfig file /admin Generate a kubeconfig file for the admin to use and for kubeadm itself /super-admin Generate a kubeconfig file for the super-admin /kubelet Generate a kubeconfig file for the kubelet to use *only* for cluster bootstrapping purposes /controller-manager Generate a kubeconfig file for the controller manager to use /scheduler Generate a kubeconfig file for the scheduler to use etcd Generate static Pod manifest file for local etcd /local Generate the static Pod manifest file for a local, single-node local etcd instance control-plane Generate all static Pod manifest files necessary to establish the control plane /apiserver Generates the kube-apiserver static Pod manifest /controller-manager Generates the kube-controller-manager static Pod manifest /scheduler Generates the kube-scheduler static Pod manifest kubelet-start Write kubelet settings and (re)start the kubelet wait-control-plane Wait for the control plane to start upload-config Upload the kubeadm and kubelet configuration to a ConfigMap /kubeadm Upload the kubeadm ClusterConfiguration to a ConfigMap /kubelet Upload the kubelet component config to a ConfigMap upload-certs Upload certificates to kubeadm-certs mark-control-plane Mark a node as a control-plane bootstrap-token Generates bootstrap tokens used to join a node to a cluster kubelet-finalize Updates settings relevant to the kubelet after TLS bootstrap /enable-client-cert-rotation Enable kubelet client certificate rotation addon Install required addons for passing conformance tests /coredns Install the CoreDNS addon to a Kubernetes cluster /kube-proxy Install the kube-proxy addon to a Kubernetes cluster show-join-command Show the join command for control-plane and worker node kubeadm init [flags] Options--apiserv",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/",
    "id": "k8s_00003_qa_38"
  },
  {
    "question": "When would you use kubeadm init?",
    "answer": "kubeadm initThis command initializes a Kubernetes control plane node.SynopsisRun this command in order to set up the Kubernetes control planeThe \"init\" command executes the following phases:preflight Run pre-flight checks certs Certificate generation /ca Generate the self-signed Kubernetes CA to provision identities for other Kubernetes components /apiserver Generate the certificate for serving the Kubernetes API /apiserver-kubelet-client Generate the certificate for the API server to connect to kubelet /front-proxy-ca Generate the self-signed CA to provision identities for front proxy /front-proxy-client Generate the certificate for the front proxy client /etcd-ca Generate the self-signed CA to provision identities for etcd /etcd-server Generate the certificate for serving etcd /etcd-peer Generate the certificate for etcd nodes to communicate with each other /etcd-healthcheck-client Generate the certificate for liveness probes to healthcheck etcd /apiserver-etcd-client Generate the certificate the apiserver uses to access etcd /sa Generate a private key for signing service account tokens along with its public key kubeconfig Generate all kubeconfig files necessary to establish the control plane and the admin kubeconfig file /admin Generate a kubeconfig file for the admin to use and for kubeadm itself /super-admin Generate a kubeconfig file for the super-admin /kubelet Generate a kubeconfig file for the kubelet to use *only* for cluster bootstrapping purposes /controller-manager Generate a kubeconfig file for the controller manager to use /scheduler Generate a kubeconfig file for the scheduler to use etcd Generate static Pod manifest file for local etcd /local Generate the static Pod manifest file for a local, single-node local etcd instance control-plane Generate all static Pod manifest files necessary to establish the control plane /apiserver Generates the kube-apiserver static Pod manifest /controller-manager Generates the kube-controller-manager static Pod manifest /scheduler Generates the kube-scheduler static Pod manifest kubelet-start Write kubelet settings and (re)start the kubelet wait-control-plane Wait for the control plane to start upload-config Upload the kubeadm and kubelet configuration to a ConfigMap /kubeadm Upload the kubeadm ClusterConfiguration to a ConfigMap /kubelet Upload the kubelet component config to a ConfigMap upload-certs Upload certificates to kubeadm-certs mark-control-plane Mark a node as a control-plane bootstrap-token Generates bootstrap tokens used to join a node to a cluster kubelet-finalize Updates settings relevant to the kubelet after TLS bootstrap /enable-client-cert-rotation Enable kubelet client certificate rotation addon Install required addons for passing conformance tests /coredns Install the CoreDNS addon to a Kubernetes cluster /kube-proxy Install the kube-proxy addon to a Kubernetes cluster show-join-command Show the join command for control-plane and worker node kubeadm init [flags] Options--apiserv",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/",
    "id": "k8s_00003_qa_39"
  },
  {
    "question": "What are the benefits of kubeadm init?",
    "answer": "kubeadm initThis command initializes a Kubernetes control plane node.SynopsisRun this command in order to set up the Kubernetes control planeThe \"init\" command executes the following phases:preflight Run pre-flight checks certs Certificate generation /ca Generate the self-signed Kubernetes CA to provision identities for other Kubernetes components /apiserver Generate the certificate for serving the Kubernetes API /apiserver-kubelet-client Generate the certificate for the API server to connect to kubelet /front-proxy-ca Generate the self-signed CA to provision identities for front proxy /front-proxy-client Generate the certificate for the front proxy client /etcd-ca Generate the self-signed CA to provision identities for etcd /etcd-server Generate the certificate for serving etcd /etcd-peer Generate the certificate for etcd nodes to communicate with each other /etcd-healthcheck-client Generate the certificate for liveness probes to healthcheck etcd /apiserver-etcd-client Generate the certificate the apiserver uses to access etcd /sa Generate a private key for signing service account tokens along with its public key kubeconfig Generate all kubeconfig files necessary to establish the control plane and the admin kubeconfig file /admin Generate a kubeconfig file for the admin to use and for kubeadm itself /super-admin Generate a kubeconfig file for the super-admin /kubelet Generate a kubeconfig file for the kubelet to use *only* for cluster bootstrapping purposes /controller-manager Generate a kubeconfig file for the controller manager to use /scheduler Generate a kubeconfig file for the scheduler to use etcd Generate static Pod manifest file for local etcd /local Generate the static Pod manifest file for a local, single-node local etcd instance control-plane Generate all static Pod manifest files necessary to establish the control plane /apiserver Generates the kube-apiserver static Pod manifest /controller-manager Generates the kube-controller-manager static Pod manifest /scheduler Generates the kube-scheduler static Pod manifest kubelet-start Write kubelet settings and (re)start the kubelet wait-control-plane Wait for the control plane to start upload-config Upload the kubeadm and kubelet configuration to a ConfigMap /kubeadm Upload the kubeadm ClusterConfiguration to a ConfigMap /kubelet Upload the kubelet component config to a ConfigMap upload-certs Upload certificates to kubeadm-certs mark-control-plane Mark a node as a control-plane bootstrap-token Generates bootstrap tokens used to join a node to a cluster kubelet-finalize Updates settings relevant to the kubelet after TLS bootstrap /enable-client-cert-rotation Enable kubelet client certificate rotation addon Install required addons for passing conformance tests /coredns Install the CoreDNS addon to a Kubernetes cluster /kube-proxy Install the kube-proxy addon to a Kubernetes cluster show-join-command Show the join command for control-plane and worker node kubeadm init [flags] Options--apiserv",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/",
    "id": "k8s_00003_qa_40"
  },
  {
    "question": "What is kubeadm init?",
    "answer": "T h i s   c o m m a n d   i n i t i a l i z e s   a   K u b e r n e t e s   c o n t r o l   p l a n e   n o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/",
    "id": "k8s_00003_section_1_41"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   t h i s   c o m m a n d   i n   o r d e r   t o   s e t   u p   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   T h e   \" i n i t \"   c o m m a n d   e x e c u t e s   t h e   f o l l o w i n g   p h a s e s :   p r e f l i g h t   R u n   p r e - f l i g h t   c h e c k s   c e r t s   C e r t i f i c a t e   g e n e r a t i o n   / c a   G e n e r a t e   t h e   s e l f - s i g n e d   K u b e r n e t e s   C A   t o   p r o v i s i o n   i d e n t i t i e s   f o r   o t h e r   K u b e r n e t e s   c o m p o n e n t s   / a p i s e r v e r   G e n e r a t e   t h e   c e r t i f i c a t e   f o r   s e r v i n g   t h e   K u b e r n e t e s   A P I   / a p i s e r v e r - k u b e l e t - c l i e n t   G e n e r a t e   t h e   c e r t i f i c a t e   f o r   t h e   A P I   s e r v e r   t o   c o n n e c t   t o   k u b e l e t   / f r o n t - p r o x y - c a   G e n e r a t e   t h e   s e l f - s i g n e d   C A   t o   p r o v i s i o n   i d e n t i t i e s   f o r   f r o n t   p r o x y   / f r o n t - p r o x y - c l i e n t   G e n e r a t e   t h e   c e r t i f i c a t e   f o r   t h e   f r o n t   p r o x y   c l i e n t   / e t c d - c a   G e n e r a t e   t h e   s e l f - s i g n e d   C A   t o   p r o v i s i o n   i d e n t i t i e s   f o r   e t c d   / e t c d - s e r v e r   G e n e r a t e   t h e   c e r t i f i c a t e   f o r   s e r v i n g   e t c d   / e t c d - p e e r   G e n e r a t e   t h e   c e r t i f i c a t e   f o r   e t c d   n o d e s   t o   c o m m u n i c a t e   w i t h   e a c h   o t h e r   / e t c d - h e a l t h c h e c k - c l i e n t   G e n e r a t e   t h e   c e r t i f i c a t e   f o r   l i v e n e s s   p r o b e s   t o   h e a l t h c h e c k   e t c d   / a p i s e r v e r - e t c d - c l i e n t   G e n e r a t e   t h e   c e r t i f i c a t e   t h e   a p i s e r v e r   u s e s   t o   a c c e s s   e t c d   / s a   G e n e r a t e   a   p r i v a t e   k e y   f o r   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/",
    "id": "k8s_00003_section_3_42"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   O p t i o n a l   e x t r a   S u b j e c t   A l t e r n a t i v e   N a m e s   ( S A N s )   t o   u s e   f o r   t h e   A P I   S e r v e r   s e r v i n g   c e r t i f i c a t e .   C a n   b e   b o t h   I P   a d d r e s s e s   a n d   D N S   n a m e s .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   K e y   u s e d   t o   e n c r y p t   t h e   c o n t r o l - p l a n e   c e r t i f i c a t e s   i n   t h e   k u b e a d m - c e r t s   S e c r e t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/",
    "id": "k8s_00003_section_3_43"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/",
    "id": "k8s_00003_section_3_44"
  },
  {
    "question": "What is Init workflow?",
    "answer": "k u b e a d m   i n i t   b o o t s t r a p s   a   K u b e r n e t e s   c o n t r o l   p l a n e   n o d e   b y   e x e c u t i n g   t h e   f o l l o w i n g   s t e p s :   R u n s   a   s e r i e s   o f   p r e - f l i g h t   c h e c k s   t o   v a l i d a t e   t h e   s y s t e m   s t a t e   b e f o r e   m a k i n g   c h a n g e s .   S o m e   c h e c k s   o n l y   t r i g g e r   w a r n i n g s ,   o t h e r s   a r e   c o n s i d e r e d   e r r o r s   a n d   w i l l   e x i t   k u b e a d m   u n t i l   t h e   p r o b l e m   i s   c o r r e c t e d   o r   t h e   u s e r   s p e c i f i e s   - - i g n o r e - p r e f l i g h t - e r r o r s = < l i s t - o f - e r r o r s > . G e n e r a t e s   a   s e l f - s i g n e d   C A   t o   s e t   u p   i d e n t i t i e s   f o r   e a c h   c o m p o n e n t   i n   t h e   c l u s t e r .   T h e   u s e r   c a n   p r o v i d e   t h e i r   o w n   C A   c e r t   a n d / o r   k e y   b y   d r o p p i n g   i t   i n   t h e   c e r t   d i r e c t o r y   c o n f i g u r e d   v i a   - - c e r t - d i r   ( / e t c / k u b e r n e t e s / p k i   b y   d e f a u l t ) .   T h e   A P I   s e r v e r   c e r t s   w i l l   h a v e   a d d i t i o n a l   S A N   e n t r i e s   f o r   a n y   - - a p i s e r v e r - c e r t - e x t r a - s a n s   a r g u m e n t s ,   l o w e r c a s e d   i f   n e c e s s a r y . W r i t e s   k u b e c o n f i g   f i l e s   i n   / e t c / k u b e r n e t e s /   f o r   t h e   k u b e l e t ,   t h e   c o n t r o l l e r - m a n a g e r ,   a n d   t h e   s c h e d u l e r   t o   c o n n e c t   t o   t h e   A P I   s e r v e r ,   e a c h   w i t h   i t s   o w n   i d e n t i t y .   A l s o   a d d i t i o n a l   k u b e c o n f i g   f i l e s   a r e   w r i t t e n ,   f o r   k u b e a d m   a s   a d m i n i s t r a t i v e   e n t i t y   ( a d m i n . c o n f )   a n d   f o r   a   s u p e r   a d m i n   u s e r   t h ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/",
    "id": "k8s_00003_section_3_45"
  },
  {
    "question": "What is Using init phases with kubeadm?",
    "answer": "k u b e a d m   a l l o w s   y o u   t o   c r e a t e   a   c o n t r o l   p l a n e   n o d e   i n   p h a s e s   u s i n g   t h e   k u b e a d m   i n i t   p h a s e   c o m m a n d .   T o   v i e w   t h e   o r d e r e d   l i s t   o f   p h a s e s   a n d   s u b - p h a s e s   y o u   c a n   c a l l   k u b e a d m   i n i t   - - h e l p .   T h e   l i s t   w i l l   b e   l o c a t e d   a t   t h e   t o p   o f   t h e   h e l p   s c r e e n   a n d   e a c h   p h a s e   w i l l   h a v e   a   d e s c r i p t i o n   n e x t   t o   i t .   N o t e   t h a t   b y   c a l l i n g   k u b e a d m   i n i t   a l l   o f   t h e   p h a s e s   a n d   s u b - p h a s e s   w i l l   b e   e x e c u t e d   i n   t h i s   e x a c t   o r d e r .   S o m e   p h a s e s   h a v e   u n i q u e   f l a g s ,   s o   i f   y o u   w a n t   t o   h a v e   a   l o o k   a t   t h e   l i s t   o f   a v a i l a b l e   o p t i o n s   a d d   - - h e l p ,   f o r   e x a m p l e :   s u d o   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   c o n t r o l l e r - m a n a g e r   - - h e l p   Y o u   c a n   a l s o   u s e   - - h e l p   t o   s e e   t h e   l i s t   o f   s u b - p h a s e s   f o r   a   c e r t a i n   p a r e n t   p h a s e :   s u d o   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   - - h e l p   k u b e a d m   i n i t   a l s o   e x p o s e s   a   f l a g   c a l l e d   - - s k i p - p h a s e s   t h a t   c a n   b e   u s e d   t o   s k i p   c e r t a i n   p h a s e s .   T h e   f l a g   a c c e p t s   a   l i s t   o f   p h a s e   n a m e s   a n d   t h e   n a m e s   c a n   b e   t a k e n   f r o m   t h e   a b o v e   o r d e r e d   l i s t .   A n   e x a m p l e :   s u d o   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   a l l   - - c o n f i g = c o n f i g f i l e . y a m l   s u d o   k u b e a d m   i n i t   p h a s e   e t c d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/",
    "id": "k8s_00003_section_3_46"
  },
  {
    "question": "What is Caution:?",
    "answer": "I t ' s   p o s s i b l e   t o   c o n f i g u r e   k u b e a d m   i n i t   w i t h   a   c o n f i g u r a t i o n   f i l e   i n s t e a d   o f   c o m m a n d   l i n e   f l a g s ,   a n d   s o m e   m o r e   a d v a n c e d   f e a t u r e s   m a y   o n l y   b e   a v a i l a b l e   a s   c o n f i g u r a t i o n   f i l e   o p t i o n s .   T h i s   f i l e   i s   p a s s e d   u s i n g   t h e   - - c o n f i g   f l a g   a n d   i t   m u s t   c o n t a i n   a   C l u s t e r C o n f i g u r a t i o n   s t r u c t u r e   a n d   o p t i o n a l l y   m o r e   s t r u c t u r e s   s e p a r a t e d   b y   - - - \\ n .   M i x i n g   - - c o n f i g   w i t h   o t h e r s   f l a g s   m a y   n o t   b e   a l l o w e d   i n   s o m e   c a s e s .   T h e   d e f a u l t   c o n f i g u r a t i o n   c a n   b e   p r i n t e d   o u t   u s i n g   t h e   k u b e a d m   c o n f i g   p r i n t   c o m m a n d .   I f   y o u r   c o n f i g u r a t i o n   i s   n o t   u s i n g   t h e   l a t e s t   v e r s i o n   i t   i s   r e c o m m e n d e d   t h a t   y o u   m i g r a t e   u s i n g   t h e   k u b e a d m   c o n f i g   m i g r a t e   c o m m a n d .   F o r   m o r e   i n f o r m a t i o n   o n   t h e   f i e l d s   a n d   u s a g e   o f   t h e   c o n f i g u r a t i o n   y o u   c a n   n a v i g a t e   t o   o u r   A P I   r e f e r e n c e   p a g e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/",
    "id": "k8s_00003_section_4_47"
  },
  {
    "question": "What is Using kubeadm init with feature gates?",
    "answer": "k u b e a d m   s u p p o r t s   a   s e t   o f   f e a t u r e   g a t e s   t h a t   a r e   u n i q u e   t o   k u b e a d m   a n d   c a n   o n l y   b e   a p p l i e d   d u r i n g   c l u s t e r   c r e a t i o n   w i t h   k u b e a d m   i n i t .   T h e s e   f e a t u r e s   c a n   c o n t r o l   t h e   b e h a v i o r   o f   t h e   c l u s t e r .   F e a t u r e   g a t e s   a r e   r e m o v e d   a f t e r   a   f e a t u r e   g r a d u a t e s   t o   G A .   T o   p a s s   a   f e a t u r e   g a t e   y o u   c a n   e i t h e r   u s e   t h e   - - f e a t u r e - g a t e s   f l a g   f o r   k u b e a d m   i n i t ,   o r   y o u   c a n   a d d   i t e m s   i n t o   t h e   f e a t u r e G a t e s   f i e l d   w h e n   y o u   p a s s   a   c o n f i g u r a t i o n   f i l e   u s i n g   - - c o n f i g .   P a s s i n g   f e a t u r e   g a t e s   f o r   c o r e   K u b e r n e t e s   c o m p o n e n t s   d i r e c t l y   t o   k u b e a d m   i s   n o t   s u p p o r t e d .   I n s t e a d ,   i t   i s   p o s s i b l e   t o   p a s s   t h e m   b y   C u s t o m i z i n g   c o m p o n e n t s   w i t h   t h e   k u b e a d m   A P I .   L i s t   o f   f e a t u r e   g a t e s :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/",
    "id": "k8s_00003_section_3_48"
  },
  {
    "question": "What is Note:?",
    "answer": "F e a t u r e   g a t e   d e s c r i p t i o n s :   P O R T   i s   t a k e n   f r o m   - - s e c u r e - p o r t   o f   a   c o m p o n e n t . A D D R E S S   i s   - - a d v e r t i s e - a d d r e s s   f o r   k u b e - a p i s e r v e r   a n d   - - b i n d - a d d r e s s   f o r   t h e   k u b e - c o n t r o l l e r - m a n a g e r   a n d   k u b e - s c h e d u l e r . E N D P O I N T   i s   o n l y   / h e a l t h z   f o r   k u b e - c o n t r o l l e r - m a n a g e r   u n t i l   i t   s u p p o r t s   / l i v e z   a s   w e l l .   I f   y o u   s p e c i f y   c u s t o m   A D D R E S S   o r   P O R T   i n   t h e   k u b e a d m   c o n f i g u r a t i o n   t h e y   w i l l   b e   r e s p e c t e d .   W i t h o u t   t h e   f e a t u r e   g a t e   e n a b l e d ,   k u b e a d m   w i l l   o n l y   w a i t   f o r   t h e   k u b e - a p i s e r v e r   o n   a   c o n t r o l   p l a n e   n o d e   t o   b e c o m e   r e a d y .   T h e   w a i t   p r o c e s s   s t a r t s   r i g h t   a f t e r   t h e   k u b e l e t   o n   t h e   h o s t   i s   s t a r t e d   b y   k u b e a d m .   Y o u   a r e   a d v i s e d   t o   e n a b l e   t h i s   f e a t u r e   g a t e   i n   c a s e   y o u   w i s h   t o   o b s e r v e   a   r e a d y   s t a t e   f r o m   a l l   c o n t r o l   p l a n e   c o m p o n e n t s   d u r i n g   t h e   k u b e a d m   i n i t   o r   k u b e a d m   j o i n   c o m m a n d   e x e c u t i o n .   L i s t   o f   d e p r e c a t e d   f e a t u r e   g a t e s :   F e a t u r e   g a t e   d e s c r i p t i o n s :   L i s t   o f   r e m o v e d   f e a t u r e   g a t e s :   F e a t u r e   g a t e   d e s c r i p t i o n s :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/",
    "id": "k8s_00003_section_4_49"
  },
  {
    "question": "What is Adding kube-proxy parameters?",
    "answer": "F o r   i n f o r m a t i o n   a b o u t   k u b e - p r o x y   p a r a m e t e r s   i n   t h e   k u b e a d m   c o n f i g u r a t i o n   s e e :   k u b e - p r o x y   r e f e r e n c e   F o r   i n f o r m a t i o n   a b o u t   e n a b l i n g   I P V S   m o d e   w i t h   k u b e a d m   s e e :   I P V S",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/",
    "id": "k8s_00003_section_3_50"
  },
  {
    "question": "What is Passing custom flags to control plane components?",
    "answer": "F o r   i n f o r m a t i o n   a b o u t   p a s s i n g   f l a g s   t o   c o n t r o l   p l a n e   c o m p o n e n t s   s e e :   c o n t r o l - p l a n e - f l a g s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/",
    "id": "k8s_00003_section_3_51"
  },
  {
    "question": "What is Running kubeadm without an Internet connection?",
    "answer": "F o r   r u n n i n g   k u b e a d m   w i t h o u t   a n   I n t e r n e t   c o n n e c t i o n   y o u   h a v e   t o   p r e - p u l l   t h e   r e q u i r e d   c o n t r o l   p l a n e   i m a g e s .   Y o u   c a n   l i s t   a n d   p u l l   t h e   i m a g e s   u s i n g   t h e   k u b e a d m   c o n f i g   i m a g e s   s u b - c o m m a n d :   k u b e a d m   c o n f i g   i m a g e s   l i s t   k u b e a d m   c o n f i g   i m a g e s   p u l l   Y o u   c a n   p a s s   - - c o n f i g   t o   t h e   a b o v e   c o m m a n d s   w i t h   a   k u b e a d m   c o n f i g u r a t i o n   f i l e   t o   c o n t r o l   t h e   k u b e r n e t e s V e r s i o n   a n d   i m a g e R e p o s i t o r y   f i e l d s .   A l l   d e f a u l t   r e g i s t r y . k 8 s . i o   i m a g e s   t h a t   k u b e a d m   r e q u i r e s   s u p p o r t   m u l t i p l e   a r c h i t e c t u r e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/",
    "id": "k8s_00003_section_3_52"
  },
  {
    "question": "What is Using custom images?",
    "answer": "B y   d e f a u l t ,   k u b e a d m   p u l l s   i m a g e s   f r o m   r e g i s t r y . k 8 s . i o .   I f   t h e   r e q u e s t e d   K u b e r n e t e s   v e r s i o n   i s   a   C I   l a b e l   ( s u c h   a s   c i / l a t e s t )   g c r . i o / k 8 s - s t a g i n g - c i - i m a g e s   i s   u s e d .   Y o u   c a n   o v e r r i d e   t h i s   b e h a v i o r   b y   u s i n g   k u b e a d m   w i t h   a   c o n f i g u r a t i o n   f i l e .   A l l o w e d   c u s t o m i z a t i o n   a r e :   T o   p r o v i d e   k u b e r n e t e s V e r s i o n   w h i c h   a f f e c t s   t h e   v e r s i o n   o f   t h e   i m a g e s . T o   p r o v i d e   a n   a l t e r n a t i v e   i m a g e R e p o s i t o r y   t o   b e   u s e d   i n s t e a d   o f   r e g i s t r y . k 8 s . i o . T o   p r o v i d e   a   s p e c i f i c   i m a g e R e p o s i t o r y   a n d   i m a g e T a g   f o r   e t c d   o r   C o r e D N S .   I m a g e   p a t h s   b e t w e e n   t h e   d e f a u l t   r e g i s t r y . k 8 s . i o   a n d   a   c u s t o m   r e p o s i t o r y   s p e c i f i e d   u s i n g   i m a g e R e p o s i t o r y   m a y   d i f f e r   f o r   b a c k w a r d s   c o m p a t i b i l i t y   r e a s o n s .   F o r   e x a m p l e ,   o n e   i m a g e   m i g h t   h a v e   a   s u b p a t h   a t   r e g i s t r y . k 8 s . i o / s u b p a t h / i m a g e ,   b u t   b e   d e f a u l t e d   t o   m y . c u s t o m r e p o s i t o r y . i o / i m a g e   w h e n   u s i n g   a   c u s t o m   r e p o s i t o r y .   T o   e n s u r e   y o u   p u s h   t h e   i m a g e s   t o   y o u r   c u s t o m   r e p o s i t o r y   i n   p a t h s   t h a t   k u b e a d m   c a n   c o n s u m e ,   y o u   m u s t :   P u l l   i m a g e s   f r o m   t h e   d e f a u l t s   p a t h s   a t   r e g i s t r y . k 8 s . i o   u s i n g   k u b e a d m   c o n f i g   i m a g e s   { l i s t | p u l l } . P u s h   i m ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/",
    "id": "k8s_00003_section_3_53"
  },
  {
    "question": "What is Custom sandbox (pause) images?",
    "answer": "T o   s e t   a   c u s t o m   i m a g e   f o r   t h e s e   y o u   n e e d   t o   c o n f i g u r e   t h i s   i n   y o u r   c o n t a i n e r   r u n t i m e   t o   u s e   t h e   i m a g e .   C o n s u l t   t h e   d o c u m e n t a t i o n   f o r   y o u r   c o n t a i n e r   r u n t i m e   t o   f i n d   o u t   h o w   t o   c h a n g e   t h i s   s e t t i n g ;   f o r   s e l e c t e d   c o n t a i n e r   r u n t i m e s ,   y o u   c a n   a l s o   f i n d   a d v i c e   w i t h i n   t h e   C o n t a i n e r   R u n t i m e s   t o p i c .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/",
    "id": "k8s_00003_section_4_54"
  },
  {
    "question": "What is Uploading control plane certificates to the cluster?",
    "answer": "B y   a d d i n g   t h e   f l a g   - - u p l o a d - c e r t s   t o   k u b e a d m   i n i t   y o u   c a n   t e m p o r a r y   u p l o a d   t h e   c o n t r o l   p l a n e   c e r t i f i c a t e s   t o   a   S e c r e t   i n   t h e   c l u s t e r .   P l e a s e   n o t e   t h a t   t h i s   S e c r e t   w i l l   e x p i r e   a u t o m a t i c a l l y   a f t e r   2   h o u r s .   T h e   c e r t i f i c a t e s   a r e   e n c r y p t e d   u s i n g   a   3 2 b y t e   k e y   t h a t   c a n   b e   s p e c i f i e d   u s i n g   - - c e r t i f i c a t e - k e y .   T h e   s a m e   k e y   c a n   b e   u s e d   t o   d o w n l o a d   t h e   c e r t i f i c a t e s   w h e n   a d d i t i o n a l   c o n t r o l   p l a n e   n o d e s   a r e   j o i n i n g ,   b y   p a s s i n g   - - c o n t r o l - p l a n e   a n d   - - c e r t i f i c a t e - k e y   t o   k u b e a d m   j o i n .   T h e   f o l l o w i n g   p h a s e   c o m m a n d   c a n   b e   u s e d   t o   r e - u p l o a d   t h e   c e r t i f i c a t e s   a f t e r   e x p i r a t i o n :   k u b e a d m   i n i t   p h a s e   u p l o a d - c e r t s   - - u p l o a d - c e r t s   - - c o n f i g = S O M E _ Y A M L _ F I L E",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/",
    "id": "k8s_00003_section_3_55"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   a   p r e d e f i n e d   c e r t i f i c a t e   k e y   i s   n o t   p a s s e d   t o   k u b e a d m   i n i t   a n d   k u b e a d m   i n i t   p h a s e   u p l o a d - c e r t s   a   n e w   k e y   w i l l   b e   g e n e r a t e d   a u t o m a t i c a l l y .   T h e   f o l l o w i n g   c o m m a n d   c a n   b e   u s e d   t o   g e n e r a t e   a   n e w   k e y   o n   d e m a n d :   k u b e a d m   c e r t s   c e r t i f i c a t e - k e y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/",
    "id": "k8s_00003_section_4_56"
  },
  {
    "question": "What is Certificate management with kubeadm?",
    "answer": "F o r   d e t a i l e d   i n f o r m a t i o n   o n   c e r t i f i c a t e   m a n a g e m e n t   w i t h   k u b e a d m   s e e   C e r t i f i c a t e   M a n a g e m e n t   w i t h   k u b e a d m .   T h e   d o c u m e n t   i n c l u d e s   i n f o r m a t i o n   a b o u t   u s i n g   e x t e r n a l   C A ,   c u s t o m   c e r t i f i c a t e s   a n d   c e r t i f i c a t e   r e n e w a l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/",
    "id": "k8s_00003_section_3_57"
  },
  {
    "question": "What is Managing the kubeadm drop-in file for the kubelet?",
    "answer": "T h e   k u b e a d m   p a c k a g e   s h i p s   w i t h   a   c o n f i g u r a t i o n   f i l e   f o r   r u n n i n g   t h e   k u b e l e t   b y   s y s t e m d .   N o t e   t h a t   t h e   k u b e a d m   C L I   n e v e r   t o u c h e s   t h i s   d r o p - i n   f i l e .   T h i s   d r o p - i n   f i l e   i s   p a r t   o f   t h e   k u b e a d m   D E B / R P M   p a c k a g e .   F o r   f u r t h e r   i n f o r m a t i o n ,   s e e   M a n a g i n g   t h e   k u b e a d m   d r o p - i n   f i l e   f o r   s y s t e m d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/",
    "id": "k8s_00003_section_3_58"
  },
  {
    "question": "What is Use kubeadm with CRI runtimes?",
    "answer": "B y   d e f a u l t ,   k u b e a d m   a t t e m p t s   t o   d e t e c t   y o u r   c o n t a i n e r   r u n t i m e .   F o r   m o r e   d e t a i l s   o n   t h i s   d e t e c t i o n ,   s e e   t h e   k u b e a d m   C R I   i n s t a l l a t i o n   g u i d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/",
    "id": "k8s_00003_section_3_59"
  },
  {
    "question": "What is Setting the node name?",
    "answer": "B y   d e f a u l t ,   k u b e a d m   a s s i g n s   a   n o d e   n a m e   b a s e d   o n   a   m a c h i n e ' s   h o s t   a d d r e s s .   Y o u   c a n   o v e r r i d e   t h i s   s e t t i n g   w i t h   t h e   - - n o d e - n a m e   f l a g .   T h e   f l a g   p a s s e s   t h e   a p p r o p r i a t e   - - h o s t n a m e - o v e r r i d e   v a l u e   t o   t h e   k u b e l e t .   B e   a w a r e   t h a t   o v e r r i d i n g   t h e   h o s t n a m e   c a n   i n t e r f e r e   w i t h   c l o u d   p r o v i d e r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/",
    "id": "k8s_00003_section_3_60"
  },
  {
    "question": "What is Automating kubeadm?",
    "answer": "R a t h e r   t h a n   c o p y i n g   t h e   t o k e n   y o u   o b t a i n e d   f r o m   k u b e a d m   i n i t   t o   e a c h   n o d e ,   a s   i n   t h e   b a s i c   k u b e a d m   t u t o r i a l ,   y o u   c a n   p a r a l l e l i z e   t h e   t o k e n   d i s t r i b u t i o n   f o r   e a s i e r   a u t o m a t i o n .   T o   i m p l e m e n t   t h i s   a u t o m a t i o n ,   y o u   m u s t   k n o w   t h e   I P   a d d r e s s   t h a t   t h e   c o n t r o l   p l a n e   n o d e   w i l l   h a v e   a f t e r   i t   i s   s t a r t e d ,   o r   u s e   a   D N S   n a m e   o r   a n   a d d r e s s   o f   a   l o a d   b a l a n c e r .   G e n e r a t e   a   t o k e n .   T h i s   t o k e n   m u s t   h a v e   t h e   f o r m   < 6   c h a r a c t e r   s t r i n g > . < 1 6   c h a r a c t e r   s t r i n g > .   M o r e   f o r m a l l y ,   i t   m u s t   m a t c h   t h e   r e g e x :   [ a - z 0 - 9 ] { 6 } \\ . [ a - z 0 - 9 ] { 1 6 } . k u b e a d m   c a n   g e n e r a t e   a   t o k e n   f o r   y o u : k u b e a d m   t o k e n   g e n e r a t e   S t a r t   b o t h   t h e   c o n t r o l   p l a n e   n o d e   a n d   t h e   w o r k e r   n o d e s   c o n c u r r e n t l y   w i t h   t h i s   t o k e n .   A s   t h e y   c o m e   u p   t h e y   s h o u l d   f i n d   e a c h   o t h e r   a n d   f o r m   t h e   c l u s t e r .   T h e   s a m e   - - t o k e n   a r g u m e n t   c a n   b e   u s e d   o n   b o t h   k u b e a d m   i n i t   a n d   k u b e a d m   j o i n . S i m i l a r   c a n   b e   d o n e   f o r   - - c e r t i f i c a t e - k e y   w h e n   j o i n i n g   a d d i t i o n a l   c o n t r o l   p l a n e   n o d e s .   T h e   k e y   c a n   b e   g e n e r a t e d   u s i n g : k u b e a d m   c e r t s   c e r t i f i c a t e - k e y   G e n e r a t e   a   t o k e n .   T h i s   t o k e n   m u s t   h a v e   t h e   f o r m   < 6   c h a r a c t e r   s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/",
    "id": "k8s_00003_section_3_61"
  },
  {
    "question": "What is What's next?",
    "answer": "k u b e a d m   i n i t   p h a s e   t o   u n d e r s t a n d   m o r e   a b o u t   k u b e a d m   i n i t   p h a s e s k u b e a d m   j o i n   t o   b o o t s t r a p   a   K u b e r n e t e s   w o r k e r   n o d e   a n d   j o i n   i t   t o   t h e   c l u s t e r k u b e a d m   u p g r a d e   t o   u p g r a d e   a   K u b e r n e t e s   c l u s t e r   t o   a   n e w e r   v e r s i o n k u b e a d m   r e s e t   t o   r e v e r t   a n y   c h a n g e s   m a d e   t o   t h i s   h o s t   b y   k u b e a d m   i n i t   o r   k u b e a d m   j o i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/",
    "id": "k8s_00003_section_2_62"
  },
  {
    "question": "What is Customizing components with the kubeadm API?",
    "answer": "Customizing components with the kubeadm APIThis page covers how to customize the components that kubeadm deploys. For control plane components you can use flags in the ClusterConfiguration structure or patches per-node. For the kubelet and kube-proxy you can use KubeletConfiguration and KubeProxyConfiguration, accordingly.All of these options are possible via the kubeadm configuration API. For more details on each field in the configuration you can navigate to our API reference pages.Note:Customizing the CoreDNS deployment of kubeadm is currently not supported. You must manually patch the kube-system/coredns ConfigMap and recreate the CoreDNS Pods after that. Alternatively, you can skip the default CoreDNS deployment and deploy your own variant. For more details on that see Using init phases with kubeadm.Note:To reconfigure a cluster that has already been created see Reconfiguring a kubeadm cluster.Customizing the control plane with flags in ClusterConfigurationThe kubeadm ClusterConfiguration object exposes a way for users to override the default flags passed to control plane components such as the APIServer, ControllerManager, Scheduler and Etcd. The components are defined using the following structures:apiServercontrollerManagerscheduleretcdThese structures contain a common extraArgs field, that consists of name / value pairs. To override a flag for a control plane component:Add the appropriate extraArgs to your configuration.Add flags to the extraArgs field.Run kubeadm init with --config <YOUR CONFIG YAML>.Note:You can generate a ClusterConfiguration object with default values by running kubeadm config print init-defaults and saving the output to a file of your choice.Note:The ClusterConfiguration object is currently global in kubeadm clusters. This means that any flags that you add, will apply to all instances of the same component on different nodes. To apply individual configuration per component on different nodes you can use patches.Note:Duplicate flags (keys), or passing the same flag --foo multiple times, is currently not supported. To workaround that you must use patches.APIServer flagsFor details, see the reference documentation for kube-apiserver.Example usage:apiVersion: kubeadm.k8s.io/v1beta4 kind: ClusterConfiguration kubernetesVersion: v1.16.0 apiServer: extraArgs: - name: \"enable-admission-plugins\" value: \"AlwaysPullImages,DefaultStorageClass\" - name: \"audit-log-path\" value: \"/home/johndoe/audit.log\" ControllerManager flagsFor details, see the reference documentation for kube-controller-manager.Example usage:apiVersion: kubeadm.k8s.io/v1beta4 kind: ClusterConfiguration kubernetesVersion: v1.16.0 controllerManager: extraArgs: - name: \"cluster-signing-key-file\" value: \"/home/johndoe/keys/ca.key\" - name: \"deployment-controller-sync-period\" value: \"50\" Scheduler flagsFor details, see the reference documentation for kube-scheduler.Example usage:apiVersion: kubeadm.k8s.io/v1beta4 kind: ClusterConfiguration kubernetesVersion: v1.16.0 ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/control-plane-flags/",
    "id": "k8s_00004_qa_63"
  },
  {
    "question": "How does Customizing components with the kubeadm API work?",
    "answer": "Customizing components with the kubeadm APIThis page covers how to customize the components that kubeadm deploys. For control plane components you can use flags in the ClusterConfiguration structure or patches per-node. For the kubelet and kube-proxy you can use KubeletConfiguration and KubeProxyConfiguration, accordingly.All of these options are possible via the kubeadm configuration API. For more details on each field in the configuration you can navigate to our API reference pages.Note:Customizing the CoreDNS deployment of kubeadm is currently not supported. You must manually patch the kube-system/coredns ConfigMap and recreate the CoreDNS Pods after that. Alternatively, you can skip the default CoreDNS deployment and deploy your own variant. For more details on that see Using init phases with kubeadm.Note:To reconfigure a cluster that has already been created see Reconfiguring a kubeadm cluster.Customizing the control plane with flags in ClusterConfigurationThe kubeadm ClusterConfiguration object exposes a way for users to override the default flags passed to control plane components such as the APIServer, ControllerManager, Scheduler and Etcd. The components are defined using the following structures:apiServercontrollerManagerscheduleretcdThese structures contain a common extraArgs field, that consists of name / value pairs. To override a flag for a control plane component:Add the appropriate extraArgs to your configuration.Add flags to the extraArgs field.Run kubeadm init with --config <YOUR CONFIG YAML>.Note:You can generate a ClusterConfiguration object with default values by running kubeadm config print init-defaults and saving the output to a file of your choice.Note:The ClusterConfiguration object is currently global in kubeadm clusters. This means that any flags that you add, will apply to all instances of the same component on different nodes. To apply individual configuration per component on different nodes you can use patches.Note:Duplicate flags (keys), or passing the same flag --foo multiple times, is currently not supported. To workaround that you must use patches.APIServer flagsFor details, see the reference documentation for kube-apiserver.Example usage:apiVersion: kubeadm.k8s.io/v1beta4 kind: ClusterConfiguration kubernetesVersion: v1.16.0 apiServer: extraArgs: - name: \"enable-admission-plugins\" value: \"AlwaysPullImages,DefaultStorageClass\" - name: \"audit-log-path\" value: \"/home/johndoe/audit.log\" ControllerManager flagsFor details, see the reference documentation for kube-controller-manager.Example usage:apiVersion: kubeadm.k8s.io/v1beta4 kind: ClusterConfiguration kubernetesVersion: v1.16.0 controllerManager: extraArgs: - name: \"cluster-signing-key-file\" value: \"/home/johndoe/keys/ca.key\" - name: \"deployment-controller-sync-period\" value: \"50\" Scheduler flagsFor details, see the reference documentation for kube-scheduler.Example usage:apiVersion: kubeadm.k8s.io/v1beta4 kind: ClusterConfiguration kubernetesVersion: v1.16.0 ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/control-plane-flags/",
    "id": "k8s_00004_qa_64"
  },
  {
    "question": "When would you use Customizing components with the kubeadm API?",
    "answer": "Customizing components with the kubeadm APIThis page covers how to customize the components that kubeadm deploys. For control plane components you can use flags in the ClusterConfiguration structure or patches per-node. For the kubelet and kube-proxy you can use KubeletConfiguration and KubeProxyConfiguration, accordingly.All of these options are possible via the kubeadm configuration API. For more details on each field in the configuration you can navigate to our API reference pages.Note:Customizing the CoreDNS deployment of kubeadm is currently not supported. You must manually patch the kube-system/coredns ConfigMap and recreate the CoreDNS Pods after that. Alternatively, you can skip the default CoreDNS deployment and deploy your own variant. For more details on that see Using init phases with kubeadm.Note:To reconfigure a cluster that has already been created see Reconfiguring a kubeadm cluster.Customizing the control plane with flags in ClusterConfigurationThe kubeadm ClusterConfiguration object exposes a way for users to override the default flags passed to control plane components such as the APIServer, ControllerManager, Scheduler and Etcd. The components are defined using the following structures:apiServercontrollerManagerscheduleretcdThese structures contain a common extraArgs field, that consists of name / value pairs. To override a flag for a control plane component:Add the appropriate extraArgs to your configuration.Add flags to the extraArgs field.Run kubeadm init with --config <YOUR CONFIG YAML>.Note:You can generate a ClusterConfiguration object with default values by running kubeadm config print init-defaults and saving the output to a file of your choice.Note:The ClusterConfiguration object is currently global in kubeadm clusters. This means that any flags that you add, will apply to all instances of the same component on different nodes. To apply individual configuration per component on different nodes you can use patches.Note:Duplicate flags (keys), or passing the same flag --foo multiple times, is currently not supported. To workaround that you must use patches.APIServer flagsFor details, see the reference documentation for kube-apiserver.Example usage:apiVersion: kubeadm.k8s.io/v1beta4 kind: ClusterConfiguration kubernetesVersion: v1.16.0 apiServer: extraArgs: - name: \"enable-admission-plugins\" value: \"AlwaysPullImages,DefaultStorageClass\" - name: \"audit-log-path\" value: \"/home/johndoe/audit.log\" ControllerManager flagsFor details, see the reference documentation for kube-controller-manager.Example usage:apiVersion: kubeadm.k8s.io/v1beta4 kind: ClusterConfiguration kubernetesVersion: v1.16.0 controllerManager: extraArgs: - name: \"cluster-signing-key-file\" value: \"/home/johndoe/keys/ca.key\" - name: \"deployment-controller-sync-period\" value: \"50\" Scheduler flagsFor details, see the reference documentation for kube-scheduler.Example usage:apiVersion: kubeadm.k8s.io/v1beta4 kind: ClusterConfiguration kubernetesVersion: v1.16.0 ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/control-plane-flags/",
    "id": "k8s_00004_qa_65"
  },
  {
    "question": "What are the benefits of Customizing components with the kubeadm API?",
    "answer": "Customizing components with the kubeadm APIThis page covers how to customize the components that kubeadm deploys. For control plane components you can use flags in the ClusterConfiguration structure or patches per-node. For the kubelet and kube-proxy you can use KubeletConfiguration and KubeProxyConfiguration, accordingly.All of these options are possible via the kubeadm configuration API. For more details on each field in the configuration you can navigate to our API reference pages.Note:Customizing the CoreDNS deployment of kubeadm is currently not supported. You must manually patch the kube-system/coredns ConfigMap and recreate the CoreDNS Pods after that. Alternatively, you can skip the default CoreDNS deployment and deploy your own variant. For more details on that see Using init phases with kubeadm.Note:To reconfigure a cluster that has already been created see Reconfiguring a kubeadm cluster.Customizing the control plane with flags in ClusterConfigurationThe kubeadm ClusterConfiguration object exposes a way for users to override the default flags passed to control plane components such as the APIServer, ControllerManager, Scheduler and Etcd. The components are defined using the following structures:apiServercontrollerManagerscheduleretcdThese structures contain a common extraArgs field, that consists of name / value pairs. To override a flag for a control plane component:Add the appropriate extraArgs to your configuration.Add flags to the extraArgs field.Run kubeadm init with --config <YOUR CONFIG YAML>.Note:You can generate a ClusterConfiguration object with default values by running kubeadm config print init-defaults and saving the output to a file of your choice.Note:The ClusterConfiguration object is currently global in kubeadm clusters. This means that any flags that you add, will apply to all instances of the same component on different nodes. To apply individual configuration per component on different nodes you can use patches.Note:Duplicate flags (keys), or passing the same flag --foo multiple times, is currently not supported. To workaround that you must use patches.APIServer flagsFor details, see the reference documentation for kube-apiserver.Example usage:apiVersion: kubeadm.k8s.io/v1beta4 kind: ClusterConfiguration kubernetesVersion: v1.16.0 apiServer: extraArgs: - name: \"enable-admission-plugins\" value: \"AlwaysPullImages,DefaultStorageClass\" - name: \"audit-log-path\" value: \"/home/johndoe/audit.log\" ControllerManager flagsFor details, see the reference documentation for kube-controller-manager.Example usage:apiVersion: kubeadm.k8s.io/v1beta4 kind: ClusterConfiguration kubernetesVersion: v1.16.0 controllerManager: extraArgs: - name: \"cluster-signing-key-file\" value: \"/home/johndoe/keys/ca.key\" - name: \"deployment-controller-sync-period\" value: \"50\" Scheduler flagsFor details, see the reference documentation for kube-scheduler.Example usage:apiVersion: kubeadm.k8s.io/v1beta4 kind: ClusterConfiguration kubernetesVersion: v1.16.0 ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/control-plane-flags/",
    "id": "k8s_00004_qa_66"
  },
  {
    "question": "What is Customizing components with the kubeadm API?",
    "answer": "T h i s   p a g e   c o v e r s   h o w   t o   c u s t o m i z e   t h e   c o m p o n e n t s   t h a t   k u b e a d m   d e p l o y s .   F o r   c o n t r o l   p l a n e   c o m p o n e n t s   y o u   c a n   u s e   f l a g s   i n   t h e   C l u s t e r C o n f i g u r a t i o n   s t r u c t u r e   o r   p a t c h e s   p e r - n o d e .   F o r   t h e   k u b e l e t   a n d   k u b e - p r o x y   y o u   c a n   u s e   K u b e l e t C o n f i g u r a t i o n   a n d   K u b e P r o x y C o n f i g u r a t i o n ,   a c c o r d i n g l y .   A l l   o f   t h e s e   o p t i o n s   a r e   p o s s i b l e   v i a   t h e   k u b e a d m   c o n f i g u r a t i o n   A P I .   F o r   m o r e   d e t a i l s   o n   e a c h   f i e l d   i n   t h e   c o n f i g u r a t i o n   y o u   c a n   n a v i g a t e   t o   o u r   A P I   r e f e r e n c e   p a g e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/control-plane-flags/",
    "id": "k8s_00004_section_1_67"
  },
  {
    "question": "What is Customizing the control plane with flags in ClusterConfiguration?",
    "answer": "T h e   k u b e a d m   C l u s t e r C o n f i g u r a t i o n   o b j e c t   e x p o s e s   a   w a y   f o r   u s e r s   t o   o v e r r i d e   t h e   d e f a u l t   f l a g s   p a s s e d   t o   c o n t r o l   p l a n e   c o m p o n e n t s   s u c h   a s   t h e   A P I S e r v e r ,   C o n t r o l l e r M a n a g e r ,   S c h e d u l e r   a n d   E t c d .   T h e   c o m p o n e n t s   a r e   d e f i n e d   u s i n g   t h e   f o l l o w i n g   s t r u c t u r e s :   a p i S e r v e r c o n t r o l l e r M a n a g e r s c h e d u l e r e t c d   T h e s e   s t r u c t u r e s   c o n t a i n   a   c o m m o n   e x t r a A r g s   f i e l d ,   t h a t   c o n s i s t s   o f   n a m e   /   v a l u e   p a i r s .   T o   o v e r r i d e   a   f l a g   f o r   a   c o n t r o l   p l a n e   c o m p o n e n t :   A d d   t h e   a p p r o p r i a t e   e x t r a A r g s   t o   y o u r   c o n f i g u r a t i o n . A d d   f l a g s   t o   t h e   e x t r a A r g s   f i e l d . R u n   k u b e a d m   i n i t   w i t h   - - c o n f i g   < Y O U R   C O N F I G   Y A M L > .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/control-plane-flags/",
    "id": "k8s_00004_section_2_68"
  },
  {
    "question": "What is APIServer flags?",
    "answer": "F o r   d e t a i l s ,   s e e   t h e   r e f e r e n c e   d o c u m e n t a t i o n   f o r   k u b e - a p i s e r v e r .   E x a m p l e   u s a g e :   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   C l u s t e r C o n f i g u r a t i o n   k u b e r n e t e s V e r s i o n :   v 1 . 1 6 . 0   a p i S e r v e r :   e x t r a A r g s :   -   n a m e :   \" e n a b l e - a d m i s s i o n - p l u g i n s \"   v a l u e :   \" A l w a y s P u l l I m a g e s , D e f a u l t S t o r a g e C l a s s \"   -   n a m e :   \" a u d i t - l o g - p a t h \"   v a l u e :   \" / h o m e / j o h n d o e / a u d i t . l o g \"",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/control-plane-flags/",
    "id": "k8s_00004_section_3_69"
  },
  {
    "question": "What is ControllerManager flags?",
    "answer": "F o r   d e t a i l s ,   s e e   t h e   r e f e r e n c e   d o c u m e n t a t i o n   f o r   k u b e - c o n t r o l l e r - m a n a g e r .   E x a m p l e   u s a g e :   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   C l u s t e r C o n f i g u r a t i o n   k u b e r n e t e s V e r s i o n :   v 1 . 1 6 . 0   c o n t r o l l e r M a n a g e r :   e x t r a A r g s :   -   n a m e :   \" c l u s t e r - s i g n i n g - k e y - f i l e \"   v a l u e :   \" / h o m e / j o h n d o e / k e y s / c a . k e y \"   -   n a m e :   \" d e p l o y m e n t - c o n t r o l l e r - s y n c - p e r i o d \"   v a l u e :   \" 5 0 \"",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/control-plane-flags/",
    "id": "k8s_00004_section_3_70"
  },
  {
    "question": "What is Scheduler flags?",
    "answer": "F o r   d e t a i l s ,   s e e   t h e   r e f e r e n c e   d o c u m e n t a t i o n   f o r   k u b e - s c h e d u l e r .   E x a m p l e   u s a g e :   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   C l u s t e r C o n f i g u r a t i o n   k u b e r n e t e s V e r s i o n :   v 1 . 1 6 . 0   s c h e d u l e r :   e x t r a A r g s :   -   n a m e :   \" c o n f i g \"   v a l u e :   \" / e t c / k u b e r n e t e s / s c h e d u l e r - c o n f i g . y a m l \"   e x t r a V o l u m e s :   -   n a m e :   s c h e d u l e r c o n f i g   h o s t P a t h :   / h o m e / j o h n d o e / s c h e d c o n f i g . y a m l   m o u n t P a t h :   / e t c / k u b e r n e t e s / s c h e d u l e r - c o n f i g . y a m l   r e a d O n l y :   t r u e   p a t h T y p e :   \" F i l e \"",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/control-plane-flags/",
    "id": "k8s_00004_section_3_71"
  },
  {
    "question": "What is Etcd flags?",
    "answer": "F o r   d e t a i l s ,   s e e   t h e   e t c d   s e r v e r   d o c u m e n t a t i o n .   E x a m p l e   u s a g e :   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   C l u s t e r C o n f i g u r a t i o n   e t c d :   l o c a l :   e x t r a A r g s :   -   n a m e :   \" e l e c t i o n - t i m e o u t \"   v a l u e :   1 0 0 0",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/control-plane-flags/",
    "id": "k8s_00004_section_3_72"
  },
  {
    "question": "What is Customizing with patches?",
    "answer": "K u b e a d m   a l l o w s   y o u   t o   p a s s   a   d i r e c t o r y   w i t h   p a t c h   f i l e s   t o   I n i t C o n f i g u r a t i o n   a n d   J o i n C o n f i g u r a t i o n   o n   i n d i v i d u a l   n o d e s .   T h e s e   p a t c h e s   c a n   b e   u s e d   a s   t h e   l a s t   c u s t o m i z a t i o n   s t e p   b e f o r e   c o m p o n e n t   c o n f i g u r a t i o n   i s   w r i t t e n   t o   d i s k .   Y o u   c a n   p a s s   t h i s   f i l e   t o   k u b e a d m   i n i t   w i t h   - - c o n f i g   < Y O U R   C O N F I G   Y A M L > :   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   I n i t C o n f i g u r a t i o n   p a t c h e s :   d i r e c t o r y :   / h o m e / u s e r / s o m e d i r",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/control-plane-flags/",
    "id": "k8s_00004_section_2_73"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   p a s s   t h i s   f i l e   t o   k u b e a d m   j o i n   w i t h   - - c o n f i g   < Y O U R   C O N F I G   Y A M L > :   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   J o i n C o n f i g u r a t i o n   p a t c h e s :   d i r e c t o r y :   / h o m e / u s e r / s o m e d i r   T h e   d i r e c t o r y   m u s t   c o n t a i n   f i l e s   n a m e d   t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n .   F o r   e x a m p l e ,   k u b e - a p i s e r v e r 0 + m e r g e . y a m l   o r   j u s t   e t c d . j s o n .   t a r g e t   c a n   b e   o n e   o f   k u b e - a p i s e r v e r ,   k u b e - c o n t r o l l e r - m a n a g e r ,   k u b e - s c h e d u l e r ,   e t c d   a n d   k u b e l e t c o n f i g u r a t i o n . s u f f i x   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y . p a t c h t y p e   c a n   b e   o n e   o f   s t r a t e g i c ,   m e r g e   o r   j s o n   a n d   t h e s e   m u s t   m a t c h   t h e   p a t c h i n g   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   p a t c h t y p e   i s   s t r a t e g i c . e x t e n s i o n   m u s t   b e   e i t h e r   j s o n   o r   y a m l .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/control-plane-flags/",
    "id": "k8s_00004_section_4_74"
  },
  {
    "question": "What is Customizing the kubelet?",
    "answer": "T o   c u s t o m i z e   t h e   k u b e l e t   y o u   c a n   a d d   a   K u b e l e t C o n f i g u r a t i o n   n e x t   t o   t h e   C l u s t e r C o n f i g u r a t i o n   o r   I n i t C o n f i g u r a t i o n   s e p a r a t e d   b y   - - -   w i t h i n   t h e   s a m e   c o n f i g u r a t i o n   f i l e .   T h i s   f i l e   c a n   t h e n   b e   p a s s e d   t o   k u b e a d m   i n i t   a n d   k u b e a d m   w i l l   a p p l y   t h e   s a m e   b a s e   K u b e l e t C o n f i g u r a t i o n   t o   a l l   n o d e s   i n   t h e   c l u s t e r .   F o r   a p p l y i n g   i n s t a n c e - s p e c i f i c   c o n f i g u r a t i o n   o v e r   t h e   b a s e   K u b e l e t C o n f i g u r a t i o n   y o u   c a n   u s e   t h e   k u b e l e t c o n f i g u r a t i o n   p a t c h   t a r g e t .   A l t e r n a t i v e l y ,   y o u   c a n   u s e   k u b e l e t   f l a g s   a s   o v e r r i d e s   b y   p a s s i n g   t h e m   i n   t h e   n o d e R e g i s t r a t i o n . k u b e l e t E x t r a A r g s   f i e l d   s u p p o r t e d   b y   b o t h   I n i t C o n f i g u r a t i o n   a n d   J o i n C o n f i g u r a t i o n .   S o m e   k u b e l e t   f l a g s   a r e   d e p r e c a t e d ,   s o   c h e c k   t h e i r   s t a t u s   i n   t h e   k u b e l e t   r e f e r e n c e   d o c u m e n t a t i o n   b e f o r e   u s i n g   t h e m .   F o r   a d d i t i o n a l   d e t a i l s   s e e   C o n f i g u r i n g   e a c h   k u b e l e t   i n   y o u r   c l u s t e r   u s i n g   k u b e a d m",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/control-plane-flags/",
    "id": "k8s_00004_section_2_75"
  },
  {
    "question": "What is Customizing kube-proxy?",
    "answer": "T o   c u s t o m i z e   k u b e - p r o x y   y o u   c a n   p a s s   a   K u b e P r o x y C o n f i g u r a t i o n   n e x t   y o u r   C l u s t e r C o n f i g u r a t i o n   o r   I n i t C o n f i g u r a t i o n   t o   k u b e a d m   i n i t   s e p a r a t e d   b y   - - - .   F o r   m o r e   d e t a i l s   y o u   c a n   n a v i g a t e   t o   o u r   A P I   r e f e r e n c e   p a g e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/control-plane-flags/",
    "id": "k8s_00004_section_2_76"
  },
  {
    "question": "What is Extending Kubernetes?",
    "answer": "Extending KubernetesDifferent ways to change the behavior of your Kubernetes cluster.Kubernetes is highly configurable and extensible. As a result, there is rarely a need to fork or submit patches to the Kubernetes project code.This guide describes the options for customizing a Kubernetes cluster. It is aimed at cluster operators who want to understand how to adapt their Kubernetes cluster to the needs of their work environment. Developers who are prospective Platform Developers or Kubernetes Project Contributors will also find it useful as an introduction to what extension points and patterns exist, and their trade-offs and limitations.Customization approaches can be broadly divided into configuration, which only involves changing command line arguments, local configuration files, or API resources; and extensions, which involve running additional programs, additional network services, or both. This document is primarily about extensions.ConfigurationConfiguration files and command arguments are documented in the Reference section of the online documentation, with a page for each binary:kube-apiserverkube-controller-managerkube-schedulerkubeletkube-proxyCommand arguments and configuration files may not always be changeable in a hosted Kubernetes service or a distribution with managed installation. When they are changeable, they are usually only changeable by the cluster operator. Also, they are subject to change in future Kubernetes versions, and setting them may require restarting processes. For those reasons, they should be used only when there are no other options.Built-in policy APIs, such as ResourceQuota, NetworkPolicy and Role-based Access Control (RBAC), are built-in Kubernetes APIs that provide declaratively configured policy settings. APIs are typically usable even with hosted Kubernetes services and with managed Kubernetes installations. The built-in policy APIs follow the same conventions as other Kubernetes resources such as Pods. When you use a policy APIs that is stable, you benefit from a defined support policy like other Kubernetes APIs. For these reasons, policy APIs are recommended over configuration files and command arguments where suitable.ExtensionsExtensions are software components that extend and deeply integrate with Kubernetes. They adapt it to support new types and new kinds of hardware.Many cluster administrators use a hosted or distribution instance of Kubernetes. These clusters come with extensions pre-installed. As a result, most Kubernetes users will not need to install extensions and even fewer users will need to author new ones.Extension patternsKubernetes is designed to be automated by writing client programs. Any program that reads and/or writes to the Kubernetes API can provide useful automation. Automation can run on the cluster or off it. By following the guidance in this doc you can write highly available and robust automation. Automation generally works with any Kubernetes cluster, including hosted cluste",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_qa_77"
  },
  {
    "question": "How does Extending Kubernetes work?",
    "answer": "Extending KubernetesDifferent ways to change the behavior of your Kubernetes cluster.Kubernetes is highly configurable and extensible. As a result, there is rarely a need to fork or submit patches to the Kubernetes project code.This guide describes the options for customizing a Kubernetes cluster. It is aimed at cluster operators who want to understand how to adapt their Kubernetes cluster to the needs of their work environment. Developers who are prospective Platform Developers or Kubernetes Project Contributors will also find it useful as an introduction to what extension points and patterns exist, and their trade-offs and limitations.Customization approaches can be broadly divided into configuration, which only involves changing command line arguments, local configuration files, or API resources; and extensions, which involve running additional programs, additional network services, or both. This document is primarily about extensions.ConfigurationConfiguration files and command arguments are documented in the Reference section of the online documentation, with a page for each binary:kube-apiserverkube-controller-managerkube-schedulerkubeletkube-proxyCommand arguments and configuration files may not always be changeable in a hosted Kubernetes service or a distribution with managed installation. When they are changeable, they are usually only changeable by the cluster operator. Also, they are subject to change in future Kubernetes versions, and setting them may require restarting processes. For those reasons, they should be used only when there are no other options.Built-in policy APIs, such as ResourceQuota, NetworkPolicy and Role-based Access Control (RBAC), are built-in Kubernetes APIs that provide declaratively configured policy settings. APIs are typically usable even with hosted Kubernetes services and with managed Kubernetes installations. The built-in policy APIs follow the same conventions as other Kubernetes resources such as Pods. When you use a policy APIs that is stable, you benefit from a defined support policy like other Kubernetes APIs. For these reasons, policy APIs are recommended over configuration files and command arguments where suitable.ExtensionsExtensions are software components that extend and deeply integrate with Kubernetes. They adapt it to support new types and new kinds of hardware.Many cluster administrators use a hosted or distribution instance of Kubernetes. These clusters come with extensions pre-installed. As a result, most Kubernetes users will not need to install extensions and even fewer users will need to author new ones.Extension patternsKubernetes is designed to be automated by writing client programs. Any program that reads and/or writes to the Kubernetes API can provide useful automation. Automation can run on the cluster or off it. By following the guidance in this doc you can write highly available and robust automation. Automation generally works with any Kubernetes cluster, including hosted cluste",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_qa_78"
  },
  {
    "question": "When would you use Extending Kubernetes?",
    "answer": "Extending KubernetesDifferent ways to change the behavior of your Kubernetes cluster.Kubernetes is highly configurable and extensible. As a result, there is rarely a need to fork or submit patches to the Kubernetes project code.This guide describes the options for customizing a Kubernetes cluster. It is aimed at cluster operators who want to understand how to adapt their Kubernetes cluster to the needs of their work environment. Developers who are prospective Platform Developers or Kubernetes Project Contributors will also find it useful as an introduction to what extension points and patterns exist, and their trade-offs and limitations.Customization approaches can be broadly divided into configuration, which only involves changing command line arguments, local configuration files, or API resources; and extensions, which involve running additional programs, additional network services, or both. This document is primarily about extensions.ConfigurationConfiguration files and command arguments are documented in the Reference section of the online documentation, with a page for each binary:kube-apiserverkube-controller-managerkube-schedulerkubeletkube-proxyCommand arguments and configuration files may not always be changeable in a hosted Kubernetes service or a distribution with managed installation. When they are changeable, they are usually only changeable by the cluster operator. Also, they are subject to change in future Kubernetes versions, and setting them may require restarting processes. For those reasons, they should be used only when there are no other options.Built-in policy APIs, such as ResourceQuota, NetworkPolicy and Role-based Access Control (RBAC), are built-in Kubernetes APIs that provide declaratively configured policy settings. APIs are typically usable even with hosted Kubernetes services and with managed Kubernetes installations. The built-in policy APIs follow the same conventions as other Kubernetes resources such as Pods. When you use a policy APIs that is stable, you benefit from a defined support policy like other Kubernetes APIs. For these reasons, policy APIs are recommended over configuration files and command arguments where suitable.ExtensionsExtensions are software components that extend and deeply integrate with Kubernetes. They adapt it to support new types and new kinds of hardware.Many cluster administrators use a hosted or distribution instance of Kubernetes. These clusters come with extensions pre-installed. As a result, most Kubernetes users will not need to install extensions and even fewer users will need to author new ones.Extension patternsKubernetes is designed to be automated by writing client programs. Any program that reads and/or writes to the Kubernetes API can provide useful automation. Automation can run on the cluster or off it. By following the guidance in this doc you can write highly available and robust automation. Automation generally works with any Kubernetes cluster, including hosted cluste",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_qa_79"
  },
  {
    "question": "What are the benefits of Extending Kubernetes?",
    "answer": "Extending KubernetesDifferent ways to change the behavior of your Kubernetes cluster.Kubernetes is highly configurable and extensible. As a result, there is rarely a need to fork or submit patches to the Kubernetes project code.This guide describes the options for customizing a Kubernetes cluster. It is aimed at cluster operators who want to understand how to adapt their Kubernetes cluster to the needs of their work environment. Developers who are prospective Platform Developers or Kubernetes Project Contributors will also find it useful as an introduction to what extension points and patterns exist, and their trade-offs and limitations.Customization approaches can be broadly divided into configuration, which only involves changing command line arguments, local configuration files, or API resources; and extensions, which involve running additional programs, additional network services, or both. This document is primarily about extensions.ConfigurationConfiguration files and command arguments are documented in the Reference section of the online documentation, with a page for each binary:kube-apiserverkube-controller-managerkube-schedulerkubeletkube-proxyCommand arguments and configuration files may not always be changeable in a hosted Kubernetes service or a distribution with managed installation. When they are changeable, they are usually only changeable by the cluster operator. Also, they are subject to change in future Kubernetes versions, and setting them may require restarting processes. For those reasons, they should be used only when there are no other options.Built-in policy APIs, such as ResourceQuota, NetworkPolicy and Role-based Access Control (RBAC), are built-in Kubernetes APIs that provide declaratively configured policy settings. APIs are typically usable even with hosted Kubernetes services and with managed Kubernetes installations. The built-in policy APIs follow the same conventions as other Kubernetes resources such as Pods. When you use a policy APIs that is stable, you benefit from a defined support policy like other Kubernetes APIs. For these reasons, policy APIs are recommended over configuration files and command arguments where suitable.ExtensionsExtensions are software components that extend and deeply integrate with Kubernetes. They adapt it to support new types and new kinds of hardware.Many cluster administrators use a hosted or distribution instance of Kubernetes. These clusters come with extensions pre-installed. As a result, most Kubernetes users will not need to install extensions and even fewer users will need to author new ones.Extension patternsKubernetes is designed to be automated by writing client programs. Any program that reads and/or writes to the Kubernetes API can provide useful automation. Automation can run on the cluster or off it. By following the guidance in this doc you can write highly available and robust automation. Automation generally works with any Kubernetes cluster, including hosted cluste",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_qa_80"
  },
  {
    "question": "What is Extending Kubernetes?",
    "answer": "K u b e r n e t e s   i s   h i g h l y   c o n f i g u r a b l e   a n d   e x t e n s i b l e .   A s   a   r e s u l t ,   t h e r e   i s   r a r e l y   a   n e e d   t o   f o r k   o r   s u b m i t   p a t c h e s   t o   t h e   K u b e r n e t e s   p r o j e c t   c o d e .   T h i s   g u i d e   d e s c r i b e s   t h e   o p t i o n s   f o r   c u s t o m i z i n g   a   K u b e r n e t e s   c l u s t e r .   I t   i s   a i m e d   a t   c l u s t e r   o p e r a t o r s   w h o   w a n t   t o   u n d e r s t a n d   h o w   t o   a d a p t   t h e i r   K u b e r n e t e s   c l u s t e r   t o   t h e   n e e d s   o f   t h e i r   w o r k   e n v i r o n m e n t .   D e v e l o p e r s   w h o   a r e   p r o s p e c t i v e   P l a t f o r m   D e v e l o p e r s   o r   K u b e r n e t e s   P r o j e c t   C o n t r i b u t o r s   w i l l   a l s o   f i n d   i t   u s e f u l   a s   a n   i n t r o d u c t i o n   t o   w h a t   e x t e n s i o n   p o i n t s   a n d   p a t t e r n s   e x i s t ,   a n d   t h e i r   t r a d e - o f f s   a n d   l i m i t a t i o n s .   C u s t o m i z a t i o n   a p p r o a c h e s   c a n   b e   b r o a d l y   d i v i d e d   i n t o   c o n f i g u r a t i o n ,   w h i c h   o n l y   i n v o l v e s   c h a n g i n g   c o m m a n d   l i n e   a r g u m e n t s ,   l o c a l   c o n f i g u r a t i o n   f i l e s ,   o r   A P I   r e s o u r c e s ;   a n d   e x t e n s i o n s ,   w h i c h   i n v o l v e   r u n n i n g   a d d i t i o n a l   p r o g r a m s ,   a d d i t i o n a l   n e t w o r k   s e r v i c e s ,   o r   b o t h .   T h i s   d o c u m e n t   i s   p r i m a r i l y   a b o u t   e x t e n s i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_section_1_81"
  },
  {
    "question": "What is Configuration?",
    "answer": "C o n f i g u r a t i o n   f i l e s   a n d   c o m m a n d   a r g u m e n t s   a r e   d o c u m e n t e d   i n   t h e   R e f e r e n c e   s e c t i o n   o f   t h e   o n l i n e   d o c u m e n t a t i o n ,   w i t h   a   p a g e   f o r   e a c h   b i n a r y :   k u b e - a p i s e r v e r k u b e - c o n t r o l l e r - m a n a g e r k u b e - s c h e d u l e r k u b e l e t k u b e - p r o x y   C o m m a n d   a r g u m e n t s   a n d   c o n f i g u r a t i o n   f i l e s   m a y   n o t   a l w a y s   b e   c h a n g e a b l e   i n   a   h o s t e d   K u b e r n e t e s   s e r v i c e   o r   a   d i s t r i b u t i o n   w i t h   m a n a g e d   i n s t a l l a t i o n .   W h e n   t h e y   a r e   c h a n g e a b l e ,   t h e y   a r e   u s u a l l y   o n l y   c h a n g e a b l e   b y   t h e   c l u s t e r   o p e r a t o r .   A l s o ,   t h e y   a r e   s u b j e c t   t o   c h a n g e   i n   f u t u r e   K u b e r n e t e s   v e r s i o n s ,   a n d   s e t t i n g   t h e m   m a y   r e q u i r e   r e s t a r t i n g   p r o c e s s e s .   F o r   t h o s e   r e a s o n s ,   t h e y   s h o u l d   b e   u s e d   o n l y   w h e n   t h e r e   a r e   n o   o t h e r   o p t i o n s .   B u i l t - i n   p o l i c y   A P I s ,   s u c h   a s   R e s o u r c e Q u o t a ,   N e t w o r k P o l i c y   a n d   R o l e - b a s e d   A c c e s s   C o n t r o l   ( R B A C ) ,   a r e   b u i l t - i n   K u b e r n e t e s   A P I s   t h a t   p r o v i d e   d e c l a r a t i v e l y   c o n f i g u r e d   p o l i c y   s e t t i n g s .   A P I s   a r e   t y p i c a l l y   u s a b l e   e v e n   w i t h   h o s t e d   K u b e r n e t e s   s e r v i c e s   a n d   w i t h   m a n a g e d   K u b e r n e t e s   i n s t a l l a t i o n s .   T h e   b u i l t - i n   p o l i c y   A P I s   f o l l o w   t h e   s a m e   c o n v e n t i o n s   a s   o t h e r   K u b e r n e t e s   r e s o u r c e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_section_2_82"
  },
  {
    "question": "What is Extensions?",
    "answer": "E x t e n s i o n s   a r e   s o f t w a r e   c o m p o n e n t s   t h a t   e x t e n d   a n d   d e e p l y   i n t e g r a t e   w i t h   K u b e r n e t e s .   T h e y   a d a p t   i t   t o   s u p p o r t   n e w   t y p e s   a n d   n e w   k i n d s   o f   h a r d w a r e .   M a n y   c l u s t e r   a d m i n i s t r a t o r s   u s e   a   h o s t e d   o r   d i s t r i b u t i o n   i n s t a n c e   o f   K u b e r n e t e s .   T h e s e   c l u s t e r s   c o m e   w i t h   e x t e n s i o n s   p r e - i n s t a l l e d .   A s   a   r e s u l t ,   m o s t   K u b e r n e t e s   u s e r s   w i l l   n o t   n e e d   t o   i n s t a l l   e x t e n s i o n s   a n d   e v e n   f e w e r   u s e r s   w i l l   n e e d   t o   a u t h o r   n e w   o n e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_section_2_83"
  },
  {
    "question": "What is Extension patterns?",
    "answer": "K u b e r n e t e s   i s   d e s i g n e d   t o   b e   a u t o m a t e d   b y   w r i t i n g   c l i e n t   p r o g r a m s .   A n y   p r o g r a m   t h a t   r e a d s   a n d / o r   w r i t e s   t o   t h e   K u b e r n e t e s   A P I   c a n   p r o v i d e   u s e f u l   a u t o m a t i o n .   A u t o m a t i o n   c a n   r u n   o n   t h e   c l u s t e r   o r   o f f   i t .   B y   f o l l o w i n g   t h e   g u i d a n c e   i n   t h i s   d o c   y o u   c a n   w r i t e   h i g h l y   a v a i l a b l e   a n d   r o b u s t   a u t o m a t i o n .   A u t o m a t i o n   g e n e r a l l y   w o r k s   w i t h   a n y   K u b e r n e t e s   c l u s t e r ,   i n c l u d i n g   h o s t e d   c l u s t e r s   a n d   m a n a g e d   i n s t a l l a t i o n s .   T h e r e   i s   a   s p e c i f i c   p a t t e r n   f o r   w r i t i n g   c l i e n t   p r o g r a m s   t h a t   w o r k   w e l l   w i t h   K u b e r n e t e s   c a l l e d   t h e   c o n t r o l l e r   p a t t e r n .   C o n t r o l l e r s   t y p i c a l l y   r e a d   a n   o b j e c t ' s   . s p e c ,   p o s s i b l y   d o   t h i n g s ,   a n d   t h e n   u p d a t e   t h e   o b j e c t ' s   . s t a t u s .   A   c o n t r o l l e r   i s   a   c l i e n t   o f   t h e   K u b e r n e t e s   A P I .   W h e n   K u b e r n e t e s   i s   t h e   c l i e n t   a n d   c a l l s   o u t   t o   a   r e m o t e   s e r v i c e ,   K u b e r n e t e s   c a l l s   t h i s   a   w e b h o o k .   T h e   r e m o t e   s e r v i c e   i s   c a l l e d   a   w e b h o o k   b a c k e n d .   A s   w i t h   c u s t o m   c o n t r o l l e r s ,   w e b h o o k s   d o   a d d   a   p o i n t   o f   f a i l u r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_section_3_84"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   t h e   w e b h o o k   m o d e l ,   K u b e r n e t e s   m a k e s   a   n e t w o r k   r e q u e s t   t o   a   r e m o t e   s e r v i c e .   W i t h   t h e   a l t e r n a t i v e   b i n a r y   P l u g i n   m o d e l ,   K u b e r n e t e s   e x e c u t e s   a   b i n a r y   ( p r o g r a m ) .   B i n a r y   p l u g i n s   a r e   u s e d   b y   t h e   k u b e l e t   ( f o r   e x a m p l e ,   C S I   s t o r a g e   p l u g i n s   a n d   C N I   n e t w o r k   p l u g i n s ) ,   a n d   b y   k u b e c t l   ( s e e   E x t e n d   k u b e c t l   w i t h   p l u g i n s ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_section_4_85"
  },
  {
    "question": "What is Extension points?",
    "answer": "T h i s   d i a g r a m   s h o w s   t h e   e x t e n s i o n   p o i n t s   i n   a   K u b e r n e t e s   c l u s t e r   a n d   t h e   c l i e n t s   t h a t   a c c e s s   i t .   K u b e r n e t e s   e x t e n s i o n   p o i n t s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_section_3_86"
  },
  {
    "question": "What is Key to the figure?",
    "answer": "U s e r s   o f t e n   i n t e r a c t   w i t h   t h e   K u b e r n e t e s   A P I   u s i n g   k u b e c t l .   P l u g i n s   c u s t o m i s e   t h e   b e h a v i o u r   o f   c l i e n t s .   T h e r e   a r e   g e n e r i c   e x t e n s i o n s   t h a t   c a n   a p p l y   t o   d i f f e r e n t   c l i e n t s ,   a s   w e l l   a s   s p e c i f i c   w a y s   t o   e x t e n d   k u b e c t l . T h e   A P I   s e r v e r   h a n d l e s   a l l   r e q u e s t s .   S e v e r a l   t y p e s   o f   e x t e n s i o n   p o i n t s   i n   t h e   A P I   s e r v e r   a l l o w   a u t h e n t i c a t i n g   r e q u e s t s ,   o r   b l o c k i n g   t h e m   b a s e d   o n   t h e i r   c o n t e n t ,   e d i t i n g   c o n t e n t ,   a n d   h a n d l i n g   d e l e t i o n .   T h e s e   a r e   d e s c r i b e d   i n   t h e   A P I   A c c e s s   E x t e n s i o n s   s e c t i o n . T h e   A P I   s e r v e r   s e r v e s   v a r i o u s   k i n d s   o f   r e s o u r c e s .   B u i l t - i n   r e s o u r c e   k i n d s ,   s u c h   a s   p o d s ,   a r e   d e f i n e d   b y   t h e   K u b e r n e t e s   p r o j e c t   a n d   c a n ' t   b e   c h a n g e d .   R e a d   A P I   e x t e n s i o n s   t o   l e a r n   a b o u t   e x t e n d i n g   t h e   K u b e r n e t e s   A P I . T h e   K u b e r n e t e s   s c h e d u l e r   d e c i d e s   w h i c h   n o d e s   t o   p l a c e   p o d s   o n .   T h e r e   a r e   s e v e r a l   w a y s   t o   e x t e n d   s c h e d u l i n g ,   w h i c h   a r e   d e s c r i b e d   i n   t h e   S c h e d u l i n g   e x t e n s i o n s   s e c t i o n . M u c h   o f   t h e   b e h a v i o r   o f   K u b e r n e t e s   i s   i m p l e m e n t e d   b y   p r o g r a m s   c a l l e d   c o n t r o l l e r s ,   t h a t   a r e   c l i e n t s   o f   t h e   A P I   s e r v e r .   C o n t r o l l e r s   a r e   o f t e n   u s e d   i n   c o n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_section_4_87"
  },
  {
    "question": "What is Extension point choice flowchart?",
    "answer": "I f   y o u   a r e   u n s u r e   w h e r e   t o   s t a r t ,   t h i s   f l o w c h a r t   c a n   h e l p .   N o t e   t h a t   s o m e   s o l u t i o n s   m a y   i n v o l v e   s e v e r a l   t y p e s   o f   e x t e n s i o n s .   F l o w c h a r t   g u i d e   t o   s e l e c t   a n   e x t e n s i o n   a p p r o a c h",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_section_4_88"
  },
  {
    "question": "What is Client extensions?",
    "answer": "P l u g i n s   f o r   k u b e c t l   a r e   s e p a r a t e   b i n a r i e s   t h a t   a d d   o r   r e p l a c e   t h e   b e h a v i o r   o f   s p e c i f i c   s u b c o m m a n d s .   T h e   k u b e c t l   t o o l   c a n   a l s o   i n t e g r a t e   w i t h   c r e d e n t i a l   p l u g i n s   T h e s e   e x t e n s i o n s   o n l y   a f f e c t   a   i n d i v i d u a l   u s e r ' s   l o c a l   e n v i r o n m e n t ,   a n d   s o   c a n n o t   e n f o r c e   s i t e - w i d e   p o l i c i e s .   I f   y o u   w a n t   t o   e x t e n d   t h e   k u b e c t l   t o o l ,   r e a d   E x t e n d   k u b e c t l   w i t h   p l u g i n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_section_2_89"
  },
  {
    "question": "What is Custom resource definitions?",
    "answer": "C o n s i d e r   a d d i n g   a   C u s t o m   R e s o u r c e   t o   K u b e r n e t e s   i f   y o u   w a n t   t o   d e f i n e   n e w   c o n t r o l l e r s ,   a p p l i c a t i o n   c o n f i g u r a t i o n   o b j e c t s   o r   o t h e r   d e c l a r a t i v e   A P I s ,   a n d   t o   m a n a g e   t h e m   u s i n g   K u b e r n e t e s   t o o l s ,   s u c h   a s   k u b e c t l .   F o r   m o r e   a b o u t   C u s t o m   R e s o u r c e s ,   s e e   t h e   C u s t o m   R e s o u r c e s   c o n c e p t   g u i d e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_section_3_90"
  },
  {
    "question": "What is API aggregation layer?",
    "answer": "Y o u   c a n   u s e   K u b e r n e t e s '   A P I   A g g r e g a t i o n   L a y e r   t o   i n t e g r a t e   t h e   K u b e r n e t e s   A P I   w i t h   a d d i t i o n a l   s e r v i c e s   s u c h   a s   f o r   m e t r i c s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_section_3_91"
  },
  {
    "question": "What is Combining new APIs with automation?",
    "answer": "A   c o m b i n a t i o n   o f   a   c u s t o m   r e s o u r c e   A P I   a n d   a   c o n t r o l   l o o p   i s   c a l l e d   t h e   c o n t r o l l e r s   p a t t e r n .   I f   y o u r   c o n t r o l l e r   t a k e s   t h e   p l a c e   o f   a   h u m a n   o p e r a t o r   d e p l o y i n g   i n f r a s t r u c t u r e   b a s e d   o n   a   d e s i r e d   s t a t e ,   t h e n   t h e   c o n t r o l l e r   m a y   a l s o   b e   f o l l o w i n g   t h e   o p e r a t o r   p a t t e r n .   T h e   O p e r a t o r   p a t t e r n   i s   u s e d   t o   m a n a g e   s p e c i f i c   a p p l i c a t i o n s ;   u s u a l l y ,   t h e s e   a r e   a p p l i c a t i o n s   t h a t   m a i n t a i n   s t a t e   a n d   r e q u i r e   c a r e   i n   h o w   t h e y   a r e   m a n a g e d .   Y o u   c a n   a l s o   m a k e   y o u r   o w n   c u s t o m   A P I s   a n d   c o n t r o l   l o o p s   t h a t   m a n a g e   o t h e r   r e s o u r c e s ,   s u c h   a s   s t o r a g e ,   o r   t o   d e f i n e   p o l i c i e s   ( s u c h   a s   a n   a c c e s s   c o n t r o l   r e s t r i c t i o n ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_section_3_92"
  },
  {
    "question": "What is Changing built-in resources?",
    "answer": "W h e n   y o u   e x t e n d   t h e   K u b e r n e t e s   A P I   b y   a d d i n g   c u s t o m   r e s o u r c e s ,   t h e   a d d e d   r e s o u r c e s   a l w a y s   f a l l   i n t o   a   n e w   A P I   G r o u p s .   Y o u   c a n n o t   r e p l a c e   o r   c h a n g e   e x i s t i n g   A P I   g r o u p s .   A d d i n g   a n   A P I   d o e s   n o t   d i r e c t l y   l e t   y o u   a f f e c t   t h e   b e h a v i o r   o f   e x i s t i n g   A P I s   ( s u c h   a s   P o d s ) ,   w h e r e a s   A P I   A c c e s s   E x t e n s i o n s   d o .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_section_3_93"
  },
  {
    "question": "What is API access extensions?",
    "answer": "W h e n   a   r e q u e s t   r e a c h e s   t h e   K u b e r n e t e s   A P I   S e r v e r ,   i t   i s   f i r s t   a u t h e n t i c a t e d ,   t h e n   a u t h o r i z e d ,   a n d   i s   t h e n   s u b j e c t   t o   v a r i o u s   t y p e s   o f   a d m i s s i o n   c o n t r o l   ( s o m e   r e q u e s t s   a r e   i n   f a c t   n o t   a u t h e n t i c a t e d ,   a n d   g e t   s p e c i a l   t r e a t m e n t ) .   S e e   C o n t r o l l i n g   A c c e s s   t o   t h e   K u b e r n e t e s   A P I   f o r   m o r e   o n   t h i s   f l o w .   E a c h   o f   t h e   s t e p s   i n   t h e   K u b e r n e t e s   a u t h e n t i c a t i o n   /   a u t h o r i z a t i o n   f l o w   o f f e r s   e x t e n s i o n   p o i n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_section_2_94"
  },
  {
    "question": "What is Authentication?",
    "answer": "A u t h e n t i c a t i o n   m a p s   h e a d e r s   o r   c e r t i f i c a t e s   i n   a l l   r e q u e s t s   t o   a   u s e r n a m e   f o r   t h e   c l i e n t   m a k i n g   t h e   r e q u e s t .   K u b e r n e t e s   h a s   s e v e r a l   b u i l t - i n   a u t h e n t i c a t i o n   m e t h o d s   t h a t   i t   s u p p o r t s .   I t   c a n   a l s o   s i t   b e h i n d   a n   a u t h e n t i c a t i n g   p r o x y ,   a n d   i t   c a n   s e n d   a   t o k e n   f r o m   a n   A u t h o r i z a t i o n :   h e a d e r   t o   a   r e m o t e   s e r v i c e   f o r   v e r i f i c a t i o n   ( a n   a u t h e n t i c a t i o n   w e b h o o k )   i f   t h o s e   d o n ' t   m e e t   y o u r   n e e d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_section_3_95"
  },
  {
    "question": "What is Authorization?",
    "answer": "A u t h o r i z a t i o n   d e t e r m i n e s   w h e t h e r   s p e c i f i c   u s e r s   c a n   r e a d ,   w r i t e ,   a n d   d o   o t h e r   o p e r a t i o n s   o n   A P I   r e s o u r c e s .   I t   w o r k s   a t   t h e   l e v e l   o f   w h o l e   r e s o u r c e s   - -   i t   d o e s n ' t   d i s c r i m i n a t e   b a s e d   o n   a r b i t r a r y   o b j e c t   f i e l d s .   I f   t h e   b u i l t - i n   a u t h o r i z a t i o n   o p t i o n s   d o n ' t   m e e t   y o u r   n e e d s ,   a n   a u t h o r i z a t i o n   w e b h o o k   a l l o w s   c a l l i n g   o u t   t o   c u s t o m   c o d e   t h a t   m a k e s   a n   a u t h o r i z a t i o n   d e c i s i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_section_3_96"
  },
  {
    "question": "What is Dynamic admission control?",
    "answer": "A f t e r   a   r e q u e s t   i s   a u t h o r i z e d ,   i f   i t   i s   a   w r i t e   o p e r a t i o n ,   i t   a l s o   g o e s   t h r o u g h   A d m i s s i o n   C o n t r o l   s t e p s .   I n   a d d i t i o n   t o   t h e   b u i l t - i n   s t e p s ,   t h e r e   a r e   s e v e r a l   e x t e n s i o n s :   T h e   I m a g e   P o l i c y   w e b h o o k   r e s t r i c t s   w h a t   i m a g e s   c a n   b e   r u n   i n   c o n t a i n e r s . T o   m a k e   a r b i t r a r y   a d m i s s i o n   c o n t r o l   d e c i s i o n s ,   a   g e n e r a l   A d m i s s i o n   w e b h o o k   c a n   b e   u s e d .   A d m i s s i o n   w e b h o o k s   c a n   r e j e c t   c r e a t i o n s   o r   u p d a t e s .   S o m e   a d m i s s i o n   w e b h o o k s   m o d i f y   t h e   i n c o m i n g   r e q u e s t   d a t a   b e f o r e   i t   i s   h a n d l e d   f u r t h e r   b y   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_section_3_97"
  },
  {
    "question": "What is Device plugins?",
    "answer": "D e v i c e   p l u g i n s   a l l o w   a   n o d e   t o   d i s c o v e r   n e w   N o d e   r e s o u r c e s   ( i n   a d d i t i o n   t o   t h e   b u i l t i n   o n e s   l i k e   c p u   a n d   m e m o r y )   v i a   a   D e v i c e   P l u g i n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_section_3_98"
  },
  {
    "question": "What is Storage plugins?",
    "answer": "C o n t a i n e r   S t o r a g e   I n t e r f a c e   ( C S I )   p l u g i n s   p r o v i d e   a   w a y   t o   e x t e n d   K u b e r n e t e s   w i t h   s u p p o r t s   f o r   n e w   k i n d s   o f   v o l u m e s .   T h e   v o l u m e s   c a n   b e   b a c k e d   b y   d u r a b l e   e x t e r n a l   s t o r a g e ,   o r   p r o v i d e   e p h e m e r a l   s t o r a g e ,   o r   t h e y   m i g h t   o f f e r   a   r e a d - o n l y   i n t e r f a c e   t o   i n f o r m a t i o n   u s i n g   a   f i l e s y s t e m   p a r a d i g m .   K u b e r n e t e s   a l s o   i n c l u d e s   s u p p o r t   f o r   F l e x V o l u m e   p l u g i n s ,   w h i c h   a r e   d e p r e c a t e d   s i n c e   K u b e r n e t e s   v 1 . 2 3   ( i n   f a v o u r   o f   C S I ) .   F l e x V o l u m e   p l u g i n s   a l l o w   u s e r s   t o   m o u n t   v o l u m e   t y p e s   t h a t   a r e n ' t   n a t i v e l y   s u p p o r t e d   b y   K u b e r n e t e s .   W h e n   y o u   r u n   a   P o d   t h a t   r e l i e s   o n   F l e x V o l u m e   s t o r a g e ,   t h e   k u b e l e t   c a l l s   a   b i n a r y   p l u g i n   t o   m o u n t   t h e   v o l u m e .   T h e   a r c h i v e d   F l e x V o l u m e   d e s i g n   p r o p o s a l   h a s   m o r e   d e t a i l   o n   t h i s   a p p r o a c h .   T h e   K u b e r n e t e s   V o l u m e   P l u g i n   F A Q   f o r   S t o r a g e   V e n d o r s   i n c l u d e s   g e n e r a l   i n f o r m a t i o n   o n   s t o r a g e   p l u g i n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_section_3_99"
  },
  {
    "question": "What is Network plugins?",
    "answer": "Y o u r   K u b e r n e t e s   c l u s t e r   n e e d s   a   n e t w o r k   p l u g i n   i n   o r d e r   t o   h a v e   a   w o r k i n g   P o d   n e t w o r k   a n d   t o   s u p p o r t   o t h e r   a s p e c t s   o f   t h e   K u b e r n e t e s   n e t w o r k   m o d e l .   N e t w o r k   P l u g i n s   a l l o w   K u b e r n e t e s   t o   w o r k   w i t h   d i f f e r e n t   n e t w o r k i n g   t o p o l o g i e s   a n d   t e c h n o l o g i e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_section_3_100"
  },
  {
    "question": "What is Kubelet image credential provider plugins?",
    "answer": "F E A T U R E   S T A T E :   K u b e r n e t e s   v 1 . 2 6   [ s t a b l e ] K u b e l e t   i m a g e   c r e d e n t i a l   p r o v i d e r s   a r e   p l u g i n s   f o r   t h e   k u b e l e t   t o   d y n a m i c a l l y   r e t r i e v e   i m a g e   r e g i s t r y   c r e d e n t i a l s .   T h e   c r e d e n t i a l s   a r e   t h e n   u s e d   w h e n   p u l l i n g   i m a g e s   f r o m   c o n t a i n e r   i m a g e   r e g i s t r i e s   t h a t   m a t c h   t h e   c o n f i g u r a t i o n .   T h e   p l u g i n s   c a n   c o m m u n i c a t e   w i t h   e x t e r n a l   s e r v i c e s   o r   u s e   l o c a l   f i l e s   t o   o b t a i n   c r e d e n t i a l s .   T h i s   w a y ,   t h e   k u b e l e t   d o e s   n o t   n e e d   t o   h a v e   s t a t i c   c r e d e n t i a l s   f o r   e a c h   r e g i s t r y ,   a n d   c a n   s u p p o r t   v a r i o u s   a u t h e n t i c a t i o n   m e t h o d s   a n d   p r o t o c o l s .   F o r   p l u g i n   c o n f i g u r a t i o n   d e t a i l s ,   s e e   C o n f i g u r e   a   k u b e l e t   i m a g e   c r e d e n t i a l   p r o v i d e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_section_3_101"
  },
  {
    "question": "What is Scheduling extensions?",
    "answer": "T h e   s c h e d u l e r   i s   a   s p e c i a l   t y p e   o f   c o n t r o l l e r   t h a t   w a t c h e s   p o d s ,   a n d   a s s i g n s   p o d s   t o   n o d e s .   T h e   d e f a u l t   s c h e d u l e r   c a n   b e   r e p l a c e d   e n t i r e l y ,   w h i l e   c o n t i n u i n g   t o   u s e   o t h e r   K u b e r n e t e s   c o m p o n e n t s ,   o r   m u l t i p l e   s c h e d u l e r s   c a n   r u n   a t   t h e   s a m e   t i m e .   T h i s   i s   a   s i g n i f i c a n t   u n d e r t a k i n g ,   a n d   a l m o s t   a l l   K u b e r n e t e s   u s e r s   f i n d   t h e y   d o   n o t   n e e d   t o   m o d i f y   t h e   s c h e d u l e r .   Y o u   c a n   c o n t r o l   w h i c h   s c h e d u l i n g   p l u g i n s   a r e   a c t i v e ,   o r   a s s o c i a t e   s e t s   o f   p l u g i n s   w i t h   d i f f e r e n t   n a m e d   s c h e d u l e r   p r o f i l e s .   Y o u   c a n   a l s o   w r i t e   y o u r   o w n   p l u g i n   t h a t   i n t e g r a t e s   w i t h   o n e   o r   m o r e   o f   t h e   k u b e - s c h e d u l e r ' s   e x t e n s i o n   p o i n t s .   F i n a l l y ,   t h e   b u i l t   i n   k u b e - s c h e d u l e r   c o m p o n e n t   s u p p o r t s   a   w e b h o o k   t h a t   p e r m i t s   a   r e m o t e   H T T P   b a c k e n d   ( s c h e d u l e r   e x t e n s i o n )   t o   f i l t e r   a n d   /   o r   p r i o r i t i z e   t h e   n o d e s   t h a t   t h e   k u b e - s c h e d u l e r   c h o o s e s   f o r   a   p o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_section_2_102"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   i n f r a s t r u c t u r e   e x t e n s i o n s D e v i c e   P l u g i n s N e t w o r k   P l u g i n s C S I   s t o r a g e   p l u g i n s L e a r n   a b o u t   k u b e c t l   p l u g i n s L e a r n   m o r e   a b o u t   C u s t o m   R e s o u r c e s L e a r n   m o r e   a b o u t   E x t e n s i o n   A P I   S e r v e r s L e a r n   a b o u t   D y n a m i c   a d m i s s i o n   c o n t r o l L e a r n   a b o u t   t h e   O p e r a t o r   p a t t e r n   D e v i c e   P l u g i n s N e t w o r k   P l u g i n s C S I   s t o r a g e   p l u g i n s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/",
    "id": "k8s_00005_section_2_103"
  },
  {
    "question": "What is kubectl api-resources?",
    "answer": "kubectl api-resourcesSynopsisPrint the supported API resources on the server.kubectl api-resources [flags] Examples # Print the supported API resources kubectl api-resources # Print the supported API resources with more information kubectl api-resources -o wide # Print the supported API resources sorted by a column kubectl api-resources --sort-by=name # Print the supported namespaced resources kubectl api-resources --namespaced=true # Print the supported non-namespaced resources kubectl api-resources --namespaced=false # Print the supported API resources with a specific APIGroup kubectl api-resources --api-group=rbac.authorization.k8s.io Options--api-group stringLimit to resources in the specified API group.--cachedUse the cached list of resources if available.--categories stringsLimit to resources that belong to the specified categories.-h, --helphelp for api-resources--namespaced Default: trueIf false, non-namespaced resources will be returned, otherwise returning namespaced resources by default.--no-headersWhen using the default or custom-column output format, don't print headers (default print headers).-o, --output stringOutput format. One of: (json, yaml, name, wide).--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--sort-by stringIf non-empty, sort list of resources using specified field. The field can be either 'name' or 'kind'.--verbs stringsLimit to resources that support the specified verbs.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profi",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_api-resources/",
    "id": "k8s_00006_qa_104"
  },
  {
    "question": "How does kubectl api-resources work?",
    "answer": "kubectl api-resourcesSynopsisPrint the supported API resources on the server.kubectl api-resources [flags] Examples # Print the supported API resources kubectl api-resources # Print the supported API resources with more information kubectl api-resources -o wide # Print the supported API resources sorted by a column kubectl api-resources --sort-by=name # Print the supported namespaced resources kubectl api-resources --namespaced=true # Print the supported non-namespaced resources kubectl api-resources --namespaced=false # Print the supported API resources with a specific APIGroup kubectl api-resources --api-group=rbac.authorization.k8s.io Options--api-group stringLimit to resources in the specified API group.--cachedUse the cached list of resources if available.--categories stringsLimit to resources that belong to the specified categories.-h, --helphelp for api-resources--namespaced Default: trueIf false, non-namespaced resources will be returned, otherwise returning namespaced resources by default.--no-headersWhen using the default or custom-column output format, don't print headers (default print headers).-o, --output stringOutput format. One of: (json, yaml, name, wide).--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--sort-by stringIf non-empty, sort list of resources using specified field. The field can be either 'name' or 'kind'.--verbs stringsLimit to resources that support the specified verbs.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profi",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_api-resources/",
    "id": "k8s_00006_qa_105"
  },
  {
    "question": "When would you use kubectl api-resources?",
    "answer": "kubectl api-resourcesSynopsisPrint the supported API resources on the server.kubectl api-resources [flags] Examples # Print the supported API resources kubectl api-resources # Print the supported API resources with more information kubectl api-resources -o wide # Print the supported API resources sorted by a column kubectl api-resources --sort-by=name # Print the supported namespaced resources kubectl api-resources --namespaced=true # Print the supported non-namespaced resources kubectl api-resources --namespaced=false # Print the supported API resources with a specific APIGroup kubectl api-resources --api-group=rbac.authorization.k8s.io Options--api-group stringLimit to resources in the specified API group.--cachedUse the cached list of resources if available.--categories stringsLimit to resources that belong to the specified categories.-h, --helphelp for api-resources--namespaced Default: trueIf false, non-namespaced resources will be returned, otherwise returning namespaced resources by default.--no-headersWhen using the default or custom-column output format, don't print headers (default print headers).-o, --output stringOutput format. One of: (json, yaml, name, wide).--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--sort-by stringIf non-empty, sort list of resources using specified field. The field can be either 'name' or 'kind'.--verbs stringsLimit to resources that support the specified verbs.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profi",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_api-resources/",
    "id": "k8s_00006_qa_106"
  },
  {
    "question": "What are the benefits of kubectl api-resources?",
    "answer": "kubectl api-resourcesSynopsisPrint the supported API resources on the server.kubectl api-resources [flags] Examples # Print the supported API resources kubectl api-resources # Print the supported API resources with more information kubectl api-resources -o wide # Print the supported API resources sorted by a column kubectl api-resources --sort-by=name # Print the supported namespaced resources kubectl api-resources --namespaced=true # Print the supported non-namespaced resources kubectl api-resources --namespaced=false # Print the supported API resources with a specific APIGroup kubectl api-resources --api-group=rbac.authorization.k8s.io Options--api-group stringLimit to resources in the specified API group.--cachedUse the cached list of resources if available.--categories stringsLimit to resources that belong to the specified categories.-h, --helphelp for api-resources--namespaced Default: trueIf false, non-namespaced resources will be returned, otherwise returning namespaced resources by default.--no-headersWhen using the default or custom-column output format, don't print headers (default print headers).-o, --output stringOutput format. One of: (json, yaml, name, wide).--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--sort-by stringIf non-empty, sort list of resources using specified field. The field can be either 'name' or 'kind'.--verbs stringsLimit to resources that support the specified verbs.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profi",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_api-resources/",
    "id": "k8s_00006_qa_107"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   o n   t h e   s e r v e r .   k u b e c t l   a p i - r e s o u r c e s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_api-resources/",
    "id": "k8s_00006_section_2_108"
  },
  {
    "question": "What is Examples?",
    "answer": "#   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   k u b e c t l   a p i - r e s o u r c e s   #   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   w i t h   m o r e   i n f o r m a t i o n   k u b e c t l   a p i - r e s o u r c e s   - o   w i d e   #   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   s o r t e d   b y   a   c o l u m n   k u b e c t l   a p i - r e s o u r c e s   - - s o r t - b y = n a m e   #   P r i n t   t h e   s u p p o r t e d   n a m e s p a c e d   r e s o u r c e s   k u b e c t l   a p i - r e s o u r c e s   - - n a m e s p a c e d = t r u e   #   P r i n t   t h e   s u p p o r t e d   n o n - n a m e s p a c e d   r e s o u r c e s   k u b e c t l   a p i - r e s o u r c e s   - - n a m e s p a c e d = f a l s e   #   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   w i t h   a   s p e c i f i c   A P I G r o u p   k u b e c t l   a p i - r e s o u r c e s   - - a p i - g r o u p = r b a c . a u t h o r i z a t i o n . k 8 s . i o",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_api-resources/",
    "id": "k8s_00006_section_2_109"
  },
  {
    "question": "What is Options?",
    "answer": "L i m i t   t o   r e s o u r c e s   i n   t h e   s p e c i f i e d   A P I   g r o u p .   U s e   t h e   c a c h e d   l i s t   o f   r e s o u r c e s   i f   a v a i l a b l e .   L i m i t   t o   r e s o u r c e s   t h a t   b e l o n g   t o   t h e   s p e c i f i e d   c a t e g o r i e s .   h e l p   f o r   a p i - r e s o u r c e s   I f   f a l s e ,   n o n - n a m e s p a c e d   r e s o u r c e s   w i l l   b e   r e t u r n e d ,   o t h e r w i s e   r e t u r n i n g   n a m e s p a c e d   r e s o u r c e s   b y   d e f a u l t .   W h e n   u s i n g   t h e   d e f a u l t   o r   c u s t o m - c o l u m n   o u t p u t   f o r m a t ,   d o n ' t   p r i n t   h e a d e r s   ( d e f a u l t   p r i n t   h e a d e r s ) .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   w i d e ) .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   I f   n o n - e m p t y ,   s o r t   l i s t   o f   r e s o u r c e s   u s i n g   s p e c i f i e d   f i e l d .   T h e   f i e l d   c a n   b e   e i t h e r   ' n a m e '   o r   ' k i n d ' .   L i m i t   t o   r e s o u r c e s   t h a t   s u p p o r t   t h e   s p e c i f i e d   v e r b s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_api-resources/",
    "id": "k8s_00006_section_2_110"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_api-resources/",
    "id": "k8s_00006_section_2_111"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_api-resources/",
    "id": "k8s_00006_section_2_112"
  },
  {
    "question": "What is HorizontalPodAutoscaler Walkthrough?",
    "answer": "HorizontalPodAutoscaler WalkthroughA HorizontalPodAutoscaler (HPA for short) automatically updates a workload resource (such as a Deployment or StatefulSet), with the aim of automatically scaling the workload to match demand.Horizontal scaling means that the response to increased load is to deploy more Pods. This is different from vertical scaling, which for Kubernetes would mean assigning more resources (for example: memory or CPU) to the Pods that are already running for the workload.If the load decreases, and the number of Pods is above the configured minimum, the HorizontalPodAutoscaler instructs the workload resource (the Deployment, StatefulSet, or other similar resource) to scale back down.This document walks you through an example of enabling HorizontalPodAutoscaler to automatically manage scale for an example web app. This example workload is Apache httpd running some PHP code.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.23.To check the version, enter kubectl version.If you're running an older release of Kubernetes, refer to the version of the documentation for that release (see available documentation versions).To follow this walkthrough, you also need to use a cluster that has a Metrics Server deployed and configured. The Kubernetes Metrics Server collects resource metrics from the kubelets in your cluster, and exposes those metrics through the Kubernetes API, using an APIService to add new kinds of resource that represent metric readings.To learn how to deploy the Metrics Server, see the metrics-server documentation.If you are running Minikube, run the following command to enable metrics-server:minikube addons enable metrics-server Run and expose php-apache serverTo demonstrate a HorizontalPodAutoscaler, you will first start a Deployment that runs a container using the hpa-example image, and expose it as a Service using the following manifest:application/php-apache.yaml apiVersion: apps/v1 kind: Deployment metadata: name: php-apache spec: selector: matchLabels: run: php-apache template: metadata: labels: run: php-apache spec: containers: - name: php-apache image: registry.k8s.io/hpa-example ports: - containerPort: 80 resources: limits: cpu: 500m requests: cpu: 200m --- apiVersion: v1 kind: Service metadata: name: php-apache labels: run: php-apache spec: ports: - port: 80 selector: run: php-apache To do so, run the following command:kubectl apply -f https://k8s.io/examples/application/php-apache.yaml deployment.apps/php-apache created service/php-apache created Create the HorizontalPodAutosca",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/",
    "id": "k8s_00007_qa_113"
  },
  {
    "question": "How does HorizontalPodAutoscaler Walkthrough work?",
    "answer": "HorizontalPodAutoscaler WalkthroughA HorizontalPodAutoscaler (HPA for short) automatically updates a workload resource (such as a Deployment or StatefulSet), with the aim of automatically scaling the workload to match demand.Horizontal scaling means that the response to increased load is to deploy more Pods. This is different from vertical scaling, which for Kubernetes would mean assigning more resources (for example: memory or CPU) to the Pods that are already running for the workload.If the load decreases, and the number of Pods is above the configured minimum, the HorizontalPodAutoscaler instructs the workload resource (the Deployment, StatefulSet, or other similar resource) to scale back down.This document walks you through an example of enabling HorizontalPodAutoscaler to automatically manage scale for an example web app. This example workload is Apache httpd running some PHP code.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.23.To check the version, enter kubectl version.If you're running an older release of Kubernetes, refer to the version of the documentation for that release (see available documentation versions).To follow this walkthrough, you also need to use a cluster that has a Metrics Server deployed and configured. The Kubernetes Metrics Server collects resource metrics from the kubelets in your cluster, and exposes those metrics through the Kubernetes API, using an APIService to add new kinds of resource that represent metric readings.To learn how to deploy the Metrics Server, see the metrics-server documentation.If you are running Minikube, run the following command to enable metrics-server:minikube addons enable metrics-server Run and expose php-apache serverTo demonstrate a HorizontalPodAutoscaler, you will first start a Deployment that runs a container using the hpa-example image, and expose it as a Service using the following manifest:application/php-apache.yaml apiVersion: apps/v1 kind: Deployment metadata: name: php-apache spec: selector: matchLabels: run: php-apache template: metadata: labels: run: php-apache spec: containers: - name: php-apache image: registry.k8s.io/hpa-example ports: - containerPort: 80 resources: limits: cpu: 500m requests: cpu: 200m --- apiVersion: v1 kind: Service metadata: name: php-apache labels: run: php-apache spec: ports: - port: 80 selector: run: php-apache To do so, run the following command:kubectl apply -f https://k8s.io/examples/application/php-apache.yaml deployment.apps/php-apache created service/php-apache created Create the HorizontalPodAutosca",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/",
    "id": "k8s_00007_qa_114"
  },
  {
    "question": "When would you use HorizontalPodAutoscaler Walkthrough?",
    "answer": "HorizontalPodAutoscaler WalkthroughA HorizontalPodAutoscaler (HPA for short) automatically updates a workload resource (such as a Deployment or StatefulSet), with the aim of automatically scaling the workload to match demand.Horizontal scaling means that the response to increased load is to deploy more Pods. This is different from vertical scaling, which for Kubernetes would mean assigning more resources (for example: memory or CPU) to the Pods that are already running for the workload.If the load decreases, and the number of Pods is above the configured minimum, the HorizontalPodAutoscaler instructs the workload resource (the Deployment, StatefulSet, or other similar resource) to scale back down.This document walks you through an example of enabling HorizontalPodAutoscaler to automatically manage scale for an example web app. This example workload is Apache httpd running some PHP code.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.23.To check the version, enter kubectl version.If you're running an older release of Kubernetes, refer to the version of the documentation for that release (see available documentation versions).To follow this walkthrough, you also need to use a cluster that has a Metrics Server deployed and configured. The Kubernetes Metrics Server collects resource metrics from the kubelets in your cluster, and exposes those metrics through the Kubernetes API, using an APIService to add new kinds of resource that represent metric readings.To learn how to deploy the Metrics Server, see the metrics-server documentation.If you are running Minikube, run the following command to enable metrics-server:minikube addons enable metrics-server Run and expose php-apache serverTo demonstrate a HorizontalPodAutoscaler, you will first start a Deployment that runs a container using the hpa-example image, and expose it as a Service using the following manifest:application/php-apache.yaml apiVersion: apps/v1 kind: Deployment metadata: name: php-apache spec: selector: matchLabels: run: php-apache template: metadata: labels: run: php-apache spec: containers: - name: php-apache image: registry.k8s.io/hpa-example ports: - containerPort: 80 resources: limits: cpu: 500m requests: cpu: 200m --- apiVersion: v1 kind: Service metadata: name: php-apache labels: run: php-apache spec: ports: - port: 80 selector: run: php-apache To do so, run the following command:kubectl apply -f https://k8s.io/examples/application/php-apache.yaml deployment.apps/php-apache created service/php-apache created Create the HorizontalPodAutosca",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/",
    "id": "k8s_00007_qa_115"
  },
  {
    "question": "What are the benefits of HorizontalPodAutoscaler Walkthrough?",
    "answer": "HorizontalPodAutoscaler WalkthroughA HorizontalPodAutoscaler (HPA for short) automatically updates a workload resource (such as a Deployment or StatefulSet), with the aim of automatically scaling the workload to match demand.Horizontal scaling means that the response to increased load is to deploy more Pods. This is different from vertical scaling, which for Kubernetes would mean assigning more resources (for example: memory or CPU) to the Pods that are already running for the workload.If the load decreases, and the number of Pods is above the configured minimum, the HorizontalPodAutoscaler instructs the workload resource (the Deployment, StatefulSet, or other similar resource) to scale back down.This document walks you through an example of enabling HorizontalPodAutoscaler to automatically manage scale for an example web app. This example workload is Apache httpd running some PHP code.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.23.To check the version, enter kubectl version.If you're running an older release of Kubernetes, refer to the version of the documentation for that release (see available documentation versions).To follow this walkthrough, you also need to use a cluster that has a Metrics Server deployed and configured. The Kubernetes Metrics Server collects resource metrics from the kubelets in your cluster, and exposes those metrics through the Kubernetes API, using an APIService to add new kinds of resource that represent metric readings.To learn how to deploy the Metrics Server, see the metrics-server documentation.If you are running Minikube, run the following command to enable metrics-server:minikube addons enable metrics-server Run and expose php-apache serverTo demonstrate a HorizontalPodAutoscaler, you will first start a Deployment that runs a container using the hpa-example image, and expose it as a Service using the following manifest:application/php-apache.yaml apiVersion: apps/v1 kind: Deployment metadata: name: php-apache spec: selector: matchLabels: run: php-apache template: metadata: labels: run: php-apache spec: containers: - name: php-apache image: registry.k8s.io/hpa-example ports: - containerPort: 80 resources: limits: cpu: 500m requests: cpu: 200m --- apiVersion: v1 kind: Service metadata: name: php-apache labels: run: php-apache spec: ports: - port: 80 selector: run: php-apache To do so, run the following command:kubectl apply -f https://k8s.io/examples/application/php-apache.yaml deployment.apps/php-apache created service/php-apache created Create the HorizontalPodAutosca",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/",
    "id": "k8s_00007_qa_116"
  },
  {
    "question": "What is HorizontalPodAutoscaler Walkthrough?",
    "answer": "A   H o r i z o n t a l P o d A u t o s c a l e r   ( H P A   f o r   s h o r t )   a u t o m a t i c a l l y   u p d a t e s   a   w o r k l o a d   r e s o u r c e   ( s u c h   a s   a   D e p l o y m e n t   o r   S t a t e f u l S e t ) ,   w i t h   t h e   a i m   o f   a u t o m a t i c a l l y   s c a l i n g   t h e   w o r k l o a d   t o   m a t c h   d e m a n d .   H o r i z o n t a l   s c a l i n g   m e a n s   t h a t   t h e   r e s p o n s e   t o   i n c r e a s e d   l o a d   i s   t o   d e p l o y   m o r e   P o d s .   T h i s   i s   d i f f e r e n t   f r o m   v e r t i c a l   s c a l i n g ,   w h i c h   f o r   K u b e r n e t e s   w o u l d   m e a n   a s s i g n i n g   m o r e   r e s o u r c e s   ( f o r   e x a m p l e :   m e m o r y   o r   C P U )   t o   t h e   P o d s   t h a t   a r e   a l r e a d y   r u n n i n g   f o r   t h e   w o r k l o a d .   I f   t h e   l o a d   d e c r e a s e s ,   a n d   t h e   n u m b e r   o f   P o d s   i s   a b o v e   t h e   c o n f i g u r e d   m i n i m u m ,   t h e   H o r i z o n t a l P o d A u t o s c a l e r   i n s t r u c t s   t h e   w o r k l o a d   r e s o u r c e   ( t h e   D e p l o y m e n t ,   S t a t e f u l S e t ,   o r   o t h e r   s i m i l a r   r e s o u r c e )   t o   s c a l e   b a c k   d o w n .   T h i s   d o c u m e n t   w a l k s   y o u   t h r o u g h   a n   e x a m p l e   o f   e n a b l i n g   H o r i z o n t a l P o d A u t o s c a l e r   t o   a u t o m a t i c a l l y   m a n a g e   s c a l e   f o r   a n   e x a m p l e   w e b   a p p .   T h i s   e x a m p l e   w o r k l o a d   i s   A p a c h e   h t t p d   r u n n i n g   s o m e   P H P   c o d e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/",
    "id": "k8s_00007_section_1_117"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 2 3 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n . I f   y o u ' r e   r u n n i n g   a n   o l d e r   r e l e a s e   o f   K u b e r n e t e s ,   r e f e r   t o   t h e   v e r s i o n   o f   t h e   d o c u m e n t a t i o n   f o r   t h a t   r e l e a s e   ( s e e   a v a i l a b l e   d o c u m e n t a t i o n   v e r s i o n s ) .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/",
    "id": "k8s_00007_section_2_118"
  },
  {
    "question": "What is Run and expose php-apache server?",
    "answer": "T o   d e m o n s t r a t e   a   H o r i z o n t a l P o d A u t o s c a l e r ,   y o u   w i l l   f i r s t   s t a r t   a   D e p l o y m e n t   t h a t   r u n s   a   c o n t a i n e r   u s i n g   t h e   h p a - e x a m p l e   i m a g e ,   a n d   e x p o s e   i t   a s   a   S e r v i c e   u s i n g   t h e   f o l l o w i n g   m a n i f e s t :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   p h p - a p a c h e   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   r u n :   p h p - a p a c h e   t e m p l a t e :   m e t a d a t a :   l a b e l s :   r u n :   p h p - a p a c h e   s p e c :   c o n t a i n e r s :   -   n a m e :   p h p - a p a c h e   i m a g e :   r e g i s t r y . k 8 s . i o / h p a - e x a m p l e   p o r t s :   -   c o n t a i n e r P o r t :   8 0   r e s o u r c e s :   l i m i t s :   c p u :   5 0 0 m   r e q u e s t s :   c p u :   2 0 0 m   - - -   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   p h p - a p a c h e   l a b e l s :   r u n :   p h p - a p a c h e   s p e c :   p o r t s :   -   p o r t :   8 0   s e l e c t o r :   r u n :   p h p - a p a c h e   T o   d o   s o ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / p h p - a p a c h e . y a m l   d e p l o y m e n t . a p p s / p h p - a p a c h e   c r e a t e d   s e r v i c e / p h p - a p a c h e   c r e a t e d",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/",
    "id": "k8s_00007_section_2_119"
  },
  {
    "question": "What is Create the HorizontalPodAutoscaler?",
    "answer": "N o w   t h a t   t h e   s e r v e r   i s   r u n n i n g ,   c r e a t e   t h e   a u t o s c a l e r   u s i n g   k u b e c t l .   T h e   k u b e c t l   a u t o s c a l e   s u b c o m m a n d ,   p a r t   o f   k u b e c t l ,   h e l p s   y o u   d o   t h i s .   Y o u   w i l l   s h o r t l y   r u n   a   c o m m a n d   t h a t   c r e a t e s   a   H o r i z o n t a l P o d A u t o s c a l e r   t h a t   m a i n t a i n s   b e t w e e n   1   a n d   1 0   r e p l i c a s   o f   t h e   P o d s   c o n t r o l l e d   b y   t h e   p h p - a p a c h e   D e p l o y m e n t   t h a t   y o u   c r e a t e d   i n   t h e   f i r s t   s t e p   o f   t h e s e   i n s t r u c t i o n s .   R o u g h l y   s p e a k i n g ,   t h e   H P A   c o n t r o l l e r   w i l l   i n c r e a s e   a n d   d e c r e a s e   t h e   n u m b e r   o f   r e p l i c a s   ( b y   u p d a t i n g   t h e   D e p l o y m e n t )   t o   m a i n t a i n   a n   a v e r a g e   C P U   u t i l i z a t i o n   a c r o s s   a l l   P o d s   o f   5 0 % .   T h e   D e p l o y m e n t   t h e n   u p d a t e s   t h e   R e p l i c a S e t   -   t h i s   i s   p a r t   o f   h o w   a l l   D e p l o y m e n t s   w o r k   i n   K u b e r n e t e s   -   a n d   t h e n   t h e   R e p l i c a S e t   e i t h e r   a d d s   o r   r e m o v e s   P o d s   b a s e d   o n   t h e   c h a n g e   t o   i t s   . s p e c .   S i n c e   e a c h   p o d   r e q u e s t s   2 0 0   m i l l i - c o r e s   b y   k u b e c t l   r u n ,   t h i s   m e a n s   a n   a v e r a g e   C P U   u s a g e   o f   1 0 0   m i l l i - c o r e s .   S e e   A l g o r i t h m   d e t a i l s   f o r   m o r e   d e t a i l s   o n   t h e   a l g o r i t h m .   C r e a t e   t h e   H o r i z o n t a l P o d A u t o s c a l e r :   k u b e c t l   a u t o s c a l e   d e p l o y m e n t   p h p - a p a c h e   - - c p u = 5 0 %   - - m i n = 1   - - m a x = 1 0   h o r i z ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/",
    "id": "k8s_00007_section_2_120"
  },
  {
    "question": "What is Increase the load?",
    "answer": "N e x t ,   s e e   h o w   t h e   a u t o s c a l e r   r e a c t s   t o   i n c r e a s e d   l o a d .   T o   d o   t h i s ,   y o u ' l l   s t a r t   a   d i f f e r e n t   P o d   t o   a c t   a s   a   c l i e n t .   T h e   c o n t a i n e r   w i t h i n   t h e   c l i e n t   P o d   r u n s   i n   a n   i n f i n i t e   l o o p ,   s e n d i n g   q u e r i e s   t o   t h e   p h p - a p a c h e   s e r v i c e .   #   R u n   t h i s   i n   a   s e p a r a t e   t e r m i n a l   #   s o   t h a t   t h e   l o a d   g e n e r a t i o n   c o n t i n u e s   a n d   y o u   c a n   c a r r y   o n   w i t h   t h e   r e s t   o f   t h e   s t e p s   k u b e c t l   r u n   - i   - - t t y   l o a d - g e n e r a t o r   - - r m   - - i m a g e = b u s y b o x : 1 . 2 8   - - r e s t a r t = N e v e r   - -   / b i n / s h   - c   \" w h i l e   s l e e p   0 . 0 1 ;   d o   w g e t   - q   - O -   h t t p : / / p h p - a p a c h e ;   d o n e \"   N o w   r u n :   #   t y p e   C t r l + C   t o   e n d   t h e   w a t c h   w h e n   y o u ' r e   r e a d y   k u b e c t l   g e t   h p a   p h p - a p a c h e   - - w a t c h   W i t h i n   a   m i n u t e   o r   s o ,   y o u   s h o u l d   s e e   t h e   h i g h e r   C P U   l o a d ;   f o r   e x a m p l e :   N A M E   R E F E R E N C E   T A R G E T   M I N P O D S   M A X P O D S   R E P L I C A S   A G E   p h p - a p a c h e   D e p l o y m e n t / p h p - a p a c h e / s c a l e   3 0 5 %   /   5 0 %   1   1 0   1   3 m   a n d   t h e n ,   m o r e   r e p l i c a s .   F o r   e x a m p l e :   N A M E   R E F E R E N C E   T A R G E T   M I N P O D S   M A X P O D S   R E P L I C A S   A G E   p h p - a p a c h e   D e p l o y m e n t / p h p - a p a c h e / s c a l e   3 0 5 %   /   5 0 %   1   1 0   7   3 m   H e r e ,   C P U   c o n s u m p t i o n   h a s   i n c r e a s e d   t o   3 0 5 %   o f   t h e   r e q u e s t .   A s   a   r e s u l t ,   t h e   D e p l ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/",
    "id": "k8s_00007_section_2_121"
  },
  {
    "question": "What is Stop generating load?",
    "answer": "T o   f i n i s h   t h e   e x a m p l e ,   s t o p   s e n d i n g   t h e   l o a d .   I n   t h e   t e r m i n a l   w h e r e   y o u   c r e a t e d   t h e   P o d   t h a t   r u n s   a   b u s y b o x   i m a g e ,   t e r m i n a t e   t h e   l o a d   g e n e r a t i o n   b y   t y p i n g   < C t r l >   +   C .   T h e n   v e r i f y   t h e   r e s u l t   s t a t e   ( a f t e r   a   m i n u t e   o r   s o ) :   #   t y p e   C t r l + C   t o   e n d   t h e   w a t c h   w h e n   y o u ' r e   r e a d y   k u b e c t l   g e t   h p a   p h p - a p a c h e   - - w a t c h   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   R E F E R E N C E   T A R G E T   M I N P O D S   M A X P O D S   R E P L I C A S   A G E   p h p - a p a c h e   D e p l o y m e n t / p h p - a p a c h e / s c a l e   0 %   /   5 0 %   1   1 0   1   1 1 m   a n d   t h e   D e p l o y m e n t   a l s o   s h o w s   t h a t   i t   h a s   s c a l e d   d o w n :   k u b e c t l   g e t   d e p l o y m e n t   p h p - a p a c h e   N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   p h p - a p a c h e   1 / 1   1   1   2 7 m   O n c e   C P U   u t i l i z a t i o n   d r o p p e d   t o   0 ,   t h e   H P A   a u t o m a t i c a l l y   s c a l e d   t h e   n u m b e r   o f   r e p l i c a s   b a c k   d o w n   t o   1 .   A u t o s c a l i n g   t h e   r e p l i c a s   m a y   t a k e   a   f e w   m i n u t e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/",
    "id": "k8s_00007_section_2_122"
  },
  {
    "question": "What is Autoscaling on multiple metrics and custom metrics?",
    "answer": "Y o u   c a n   i n t r o d u c e   a d d i t i o n a l   m e t r i c s   t o   u s e   w h e n   a u t o s c a l i n g   t h e   p h p - a p a c h e   D e p l o y m e n t   b y   m a k i n g   u s e   o f   t h e   a u t o s c a l i n g / v 2   A P I   v e r s i o n .   F i r s t ,   g e t   t h e   Y A M L   o f   y o u r   H o r i z o n t a l P o d A u t o s c a l e r   i n   t h e   a u t o s c a l i n g / v 2   f o r m :   k u b e c t l   g e t   h p a   p h p - a p a c h e   - o   y a m l   >   / t m p / h p a - v 2 . y a m l   O p e n   t h e   / t m p / h p a - v 2 . y a m l   f i l e   i n   a n   e d i t o r ,   a n d   y o u   s h o u l d   s e e   Y A M L   w h i c h   l o o k s   l i k e   t h i s :   a p i V e r s i o n :   a u t o s c a l i n g / v 2   k i n d :   H o r i z o n t a l P o d A u t o s c a l e r   m e t a d a t a :   n a m e :   p h p - a p a c h e   s p e c :   s c a l e T a r g e t R e f :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   n a m e :   p h p - a p a c h e   m i n R e p l i c a s :   1   m a x R e p l i c a s :   1 0   m e t r i c s :   -   t y p e :   R e s o u r c e   r e s o u r c e :   n a m e :   c p u   t a r g e t :   t y p e :   U t i l i z a t i o n   a v e r a g e U t i l i z a t i o n :   5 0   s t a t u s :   o b s e r v e d G e n e r a t i o n :   1   l a s t S c a l e T i m e :   < s o m e - t i m e >   c u r r e n t R e p l i c a s :   1   d e s i r e d R e p l i c a s :   1   c u r r e n t M e t r i c s :   -   t y p e :   R e s o u r c e   r e s o u r c e :   n a m e :   c p u   c u r r e n t :   a v e r a g e U t i l i z a t i o n :   0   a v e r a g e V a l u e :   0   N o t i c e   t h a t   t h e   t a r g e t C P U U t i l i z a t i o n P e r c e n t a g e   f i e l d   h a s   b e e n   r e p l a c e d   w i t h   a n   a r r a y   c a l l e d   m e t r i c s .   T h e   C P U   u t i l i z a t i o n   m e t r i c   i s   a   r e s o u r c e   m e t r i c ,   s i n c e   i ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/",
    "id": "k8s_00007_section_2_123"
  },
  {
    "question": "What is Autoscaling on more specific metrics?",
    "answer": "M a n y   m e t r i c s   p i p e l i n e s   a l l o w   y o u   t o   d e s c r i b e   m e t r i c s   e i t h e r   b y   n a m e   o r   b y   a   s e t   o f   a d d i t i o n a l   d e s c r i p t o r s   c a l l e d   l a b e l s .   F o r   a l l   n o n - r e s o u r c e   m e t r i c   t y p e s   ( p o d ,   o b j e c t ,   a n d   e x t e r n a l ,   d e s c r i b e d   b e l o w ) ,   y o u   c a n   s p e c i f y   a n   a d d i t i o n a l   l a b e l   s e l e c t o r   w h i c h   i s   p a s s e d   t o   y o u r   m e t r i c   p i p e l i n e .   F o r   i n s t a n c e ,   i f   y o u   c o l l e c t   a   m e t r i c   h t t p _ r e q u e s t s   w i t h   t h e   v e r b   l a b e l ,   y o u   c a n   s p e c i f y   t h e   f o l l o w i n g   m e t r i c   b l o c k   t o   s c a l e   o n l y   o n   G E T   r e q u e s t s :   t y p e :   O b j e c t   o b j e c t :   m e t r i c :   n a m e :   h t t p _ r e q u e s t s   s e l e c t o r :   { m a t c h L a b e l s :   { v e r b :   G E T } }   T h i s   s e l e c t o r   u s e s   t h e   s a m e   s y n t a x   a s   t h e   f u l l   K u b e r n e t e s   l a b e l   s e l e c t o r s .   T h e   m o n i t o r i n g   p i p e l i n e   d e t e r m i n e s   h o w   t o   c o l l a p s e   m u l t i p l e   s e r i e s   i n t o   a   s i n g l e   v a l u e ,   i f   t h e   n a m e   a n d   s e l e c t o r   m a t c h   m u l t i p l e   s e r i e s .   T h e   s e l e c t o r   i s   a d d i t i v e ,   a n d   c a n n o t   s e l e c t   m e t r i c s   t h a t   d e s c r i b e   o b j e c t s   t h a t   a r e   n o t   t h e   t a r g e t   o b j e c t   ( t h e   t a r g e t   p o d s   i n   t h e   c a s e   o f   t h e   P o d s   t y p e ,   a n d   t h e   d e s c r i b e d   o b j e c t   i n   t h e   c a s e   o f   t h e   O b j e c t   t y p e ) .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/",
    "id": "k8s_00007_section_3_124"
  },
  {
    "question": "What is Autoscaling on metrics not related to Kubernetes objects?",
    "answer": "A p p l i c a t i o n s   r u n n i n g   o n   K u b e r n e t e s   m a y   n e e d   t o   a u t o s c a l e   b a s e d   o n   m e t r i c s   t h a t   d o n ' t   h a v e   a n   o b v i o u s   r e l a t i o n s h i p   t o   a n y   o b j e c t   i n   t h e   K u b e r n e t e s   c l u s t e r ,   s u c h   a s   m e t r i c s   d e s c r i b i n g   a   h o s t e d   s e r v i c e   w i t h   n o   d i r e c t   c o r r e l a t i o n   t o   K u b e r n e t e s   n a m e s p a c e s .   I n   K u b e r n e t e s   1 . 1 0   a n d   l a t e r ,   y o u   c a n   a d d r e s s   t h i s   u s e   c a s e   w i t h   e x t e r n a l   m e t r i c s .   U s i n g   e x t e r n a l   m e t r i c s   r e q u i r e s   k n o w l e d g e   o f   y o u r   m o n i t o r i n g   s y s t e m ;   t h e   s e t u p   i s   s i m i l a r   t o   t h a t   r e q u i r e d   w h e n   u s i n g   c u s t o m   m e t r i c s .   E x t e r n a l   m e t r i c s   a l l o w   y o u   t o   a u t o s c a l e   y o u r   c l u s t e r   b a s e d   o n   a n y   m e t r i c   a v a i l a b l e   i n   y o u r   m o n i t o r i n g   s y s t e m .   P r o v i d e   a   m e t r i c   b l o c k   w i t h   a   n a m e   a n d   s e l e c t o r ,   a s   a b o v e ,   a n d   u s e   t h e   E x t e r n a l   m e t r i c   t y p e   i n s t e a d   o f   O b j e c t .   I f   m u l t i p l e   t i m e   s e r i e s   a r e   m a t c h e d   b y   t h e   m e t r i c S e l e c t o r ,   t h e   s u m   o f   t h e i r   v a l u e s   i s   u s e d   b y   t h e   H o r i z o n t a l P o d A u t o s c a l e r .   E x t e r n a l   m e t r i c s   s u p p o r t   b o t h   t h e   V a l u e   a n d   A v e r a g e V a l u e   t a r g e t   t y p e s ,   w h i c h   f u n c t i o n   e x a c t l y   t h e   s a m e   a s   w h e n   y o u   u s e   t h e   O b j e c t   t y p e .   F o r   e x a m p l e   i f   y o u r   a p p l i c a t i o n   p r o c e s s e s   t a s k s   f r o ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/",
    "id": "k8s_00007_section_3_125"
  },
  {
    "question": "What is Appendix: Horizontal Pod Autoscaler Status Conditions?",
    "answer": "W h e n   u s i n g   t h e   a u t o s c a l i n g / v 2   f o r m   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r ,   y o u   w i l l   b e   a b l e   t o   s e e   s t a t u s   c o n d i t i o n s   s e t   b y   K u b e r n e t e s   o n   t h e   H o r i z o n t a l P o d A u t o s c a l e r .   T h e s e   s t a t u s   c o n d i t i o n s   i n d i c a t e   w h e t h e r   o r   n o t   t h e   H o r i z o n t a l P o d A u t o s c a l e r   i s   a b l e   t o   s c a l e ,   a n d   w h e t h e r   o r   n o t   i t   i s   c u r r e n t l y   r e s t r i c t e d   i n   a n y   w a y .   T h e   c o n d i t i o n s   a p p e a r   i n   t h e   s t a t u s . c o n d i t i o n s   f i e l d .   T o   s e e   t h e   c o n d i t i o n s   a f f e c t i n g   a   H o r i z o n t a l P o d A u t o s c a l e r ,   w e   c a n   u s e   k u b e c t l   d e s c r i b e   h p a :   k u b e c t l   d e s c r i b e   h p a   c m - t e s t   N a m e :   c m - t e s t   N a m e s p a c e :   p r o m   L a b e l s :   < n o n e >   A n n o t a t i o n s :   < n o n e >   C r e a t i o n T i m e s t a m p :   F r i ,   1 6   J u n   2 0 1 7   1 8 : 0 9 : 2 2   + 0 0 0 0   R e f e r e n c e :   R e p l i c a t i o n C o n t r o l l e r / c m - t e s t   M e t r i c s :   (   c u r r e n t   /   t a r g e t   )   \" h t t p _ r e q u e s t s \"   o n   p o d s :   6 6 m   /   5 0 0 m   M i n   r e p l i c a s :   1   M a x   r e p l i c a s :   4   R e p l i c a t i o n C o n t r o l l e r   p o d s :   1   c u r r e n t   /   1   d e s i r e d   C o n d i t i o n s :   T y p e   S t a t u s   R e a s o n   M e s s a g e   - - - -   - - - - - -   - - - - - -   - - - - - - -   A b l e T o S c a l e   T r u e   R e a d y F o r N e w S c a l e   t h e   l a s t   s c a l e   t i m e   w a s   s u f f i c i e n t l y   o l d   a s   t o   w a r r a n t   a   n e w   s c a l e   S c a l i n g A c t i v e   T r u e   V a l i d M e t r i c F o u n d   t h e   H P ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/",
    "id": "k8s_00007_section_2_126"
  },
  {
    "question": "What is Quantities?",
    "answer": "A l l   m e t r i c s   i n   t h e   H o r i z o n t a l P o d A u t o s c a l e r   a n d   m e t r i c s   A P I s   a r e   s p e c i f i e d   u s i n g   a   s p e c i a l   w h o l e - n u m b e r   n o t a t i o n   k n o w n   i n   K u b e r n e t e s   a s   a   q u a n t i t y .   F o r   e x a m p l e ,   t h e   q u a n t i t y   1 0 5 0 0 m   w o u l d   b e   w r i t t e n   a s   1 0 . 5   i n   d e c i m a l   n o t a t i o n .   T h e   m e t r i c s   A P I s   w i l l   r e t u r n   w h o l e   n u m b e r s   w i t h o u t   a   s u f f i x   w h e n   p o s s i b l e ,   a n d   w i l l   g e n e r a l l y   r e t u r n   q u a n t i t i e s   i n   m i l l i - u n i t s   o t h e r w i s e .   T h i s   m e a n s   y o u   m i g h t   s e e   y o u r   m e t r i c   v a l u e   f l u c t u a t e   b e t w e e n   1   a n d   1 5 0 0 m ,   o r   1   a n d   1 . 5   w h e n   w r i t t e n   i n   d e c i m a l   n o t a t i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/",
    "id": "k8s_00007_section_2_127"
  },
  {
    "question": "What is Creating the autoscaler declaratively?",
    "answer": "I n s t e a d   o f   u s i n g   k u b e c t l   a u t o s c a l e   c o m m a n d   t o   c r e a t e   a   H o r i z o n t a l P o d A u t o s c a l e r   i m p e r a t i v e l y   w e   c a n   u s e   t h e   f o l l o w i n g   m a n i f e s t   t o   c r e a t e   i t   d e c l a r a t i v e l y :   a p i V e r s i o n :   a u t o s c a l i n g / v 2   k i n d :   H o r i z o n t a l P o d A u t o s c a l e r   m e t a d a t a :   n a m e :   p h p - a p a c h e   s p e c :   s c a l e T a r g e t R e f :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   n a m e :   p h p - a p a c h e   m i n R e p l i c a s :   1   m a x R e p l i c a s :   1 0   m e t r i c s :   -   t y p e :   R e s o u r c e   r e s o u r c e :   n a m e :   c p u   t a r g e t :   t y p e :   U t i l i z a t i o n   a v e r a g e U t i l i z a t i o n :   5 0   T h e n ,   c r e a t e   t h e   a u t o s c a l e r   b y   e x e c u t i n g   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   c r e a t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / h p a / p h p - a p a c h e . y a m l   h o r i z o n t a l p o d a u t o s c a l e r . a u t o s c a l i n g / p h p - a p a c h e   c r e a t e d",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/",
    "id": "k8s_00007_section_3_128"
  },
  {
    "question": "What is kubectl auth can-i?",
    "answer": "kubectl auth can-iSynopsisCheck whether an action is allowed.VERB is a logical Kubernetes API verb like 'get', 'list', 'watch', 'delete', etc. TYPE is a Kubernetes resource. Shortcuts and groups will be resolved. NONRESOURCEURL is a partial URL that starts with \"/\". NAME is the name of a particular Kubernetes resource. This command pairs nicely with impersonation. See --as global flag.kubectl auth can-i VERB [TYPE | TYPE/NAME | NONRESOURCEURL] Examples # Check to see if I can create pods in any namespace kubectl auth can-i create pods --all-namespaces # Check to see if I can list deployments in my current namespace kubectl auth can-i list deployments.apps # Check to see if service account \"foo\" of namespace \"dev\" can list pods in the namespace \"prod\" # You must be allowed to use impersonation for the global option \"--as\" kubectl auth can-i list pods --as=system:serviceaccount:dev:foo -n prod # Check to see if I can do everything in my current namespace (\"*\" means all) kubectl auth can-i '*' '*' # Check to see if I can get the job named \"bar\" in namespace \"foo\" kubectl auth can-i list jobs.batch/bar -n foo # Check to see if I can read pod logs kubectl auth can-i get pods --subresource=log # Check to see if I can access the URL /logs/ kubectl auth can-i get /logs/ # Check to see if I can approve certificates.k8s.io kubectl auth can-i approve certificates.k8s.io # List all allowed actions in namespace \"foo\" kubectl auth can-i --list --namespace=foo Options-A, --all-namespacesIf true, check the specified action in all namespaces.-h, --helphelp for can-i--listIf true, prints all allowed actions.--no-headersIf true, prints allowed actions without headers-q, --quietIf true, suppress output and just return the exit code.--subresource stringSubResource such as pod/log or deployment/scaleParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_can-i/",
    "id": "k8s_00008_qa_129"
  },
  {
    "question": "How does kubectl auth can-i work?",
    "answer": "kubectl auth can-iSynopsisCheck whether an action is allowed.VERB is a logical Kubernetes API verb like 'get', 'list', 'watch', 'delete', etc. TYPE is a Kubernetes resource. Shortcuts and groups will be resolved. NONRESOURCEURL is a partial URL that starts with \"/\". NAME is the name of a particular Kubernetes resource. This command pairs nicely with impersonation. See --as global flag.kubectl auth can-i VERB [TYPE | TYPE/NAME | NONRESOURCEURL] Examples # Check to see if I can create pods in any namespace kubectl auth can-i create pods --all-namespaces # Check to see if I can list deployments in my current namespace kubectl auth can-i list deployments.apps # Check to see if service account \"foo\" of namespace \"dev\" can list pods in the namespace \"prod\" # You must be allowed to use impersonation for the global option \"--as\" kubectl auth can-i list pods --as=system:serviceaccount:dev:foo -n prod # Check to see if I can do everything in my current namespace (\"*\" means all) kubectl auth can-i '*' '*' # Check to see if I can get the job named \"bar\" in namespace \"foo\" kubectl auth can-i list jobs.batch/bar -n foo # Check to see if I can read pod logs kubectl auth can-i get pods --subresource=log # Check to see if I can access the URL /logs/ kubectl auth can-i get /logs/ # Check to see if I can approve certificates.k8s.io kubectl auth can-i approve certificates.k8s.io # List all allowed actions in namespace \"foo\" kubectl auth can-i --list --namespace=foo Options-A, --all-namespacesIf true, check the specified action in all namespaces.-h, --helphelp for can-i--listIf true, prints all allowed actions.--no-headersIf true, prints allowed actions without headers-q, --quietIf true, suppress output and just return the exit code.--subresource stringSubResource such as pod/log or deployment/scaleParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_can-i/",
    "id": "k8s_00008_qa_130"
  },
  {
    "question": "When would you use kubectl auth can-i?",
    "answer": "kubectl auth can-iSynopsisCheck whether an action is allowed.VERB is a logical Kubernetes API verb like 'get', 'list', 'watch', 'delete', etc. TYPE is a Kubernetes resource. Shortcuts and groups will be resolved. NONRESOURCEURL is a partial URL that starts with \"/\". NAME is the name of a particular Kubernetes resource. This command pairs nicely with impersonation. See --as global flag.kubectl auth can-i VERB [TYPE | TYPE/NAME | NONRESOURCEURL] Examples # Check to see if I can create pods in any namespace kubectl auth can-i create pods --all-namespaces # Check to see if I can list deployments in my current namespace kubectl auth can-i list deployments.apps # Check to see if service account \"foo\" of namespace \"dev\" can list pods in the namespace \"prod\" # You must be allowed to use impersonation for the global option \"--as\" kubectl auth can-i list pods --as=system:serviceaccount:dev:foo -n prod # Check to see if I can do everything in my current namespace (\"*\" means all) kubectl auth can-i '*' '*' # Check to see if I can get the job named \"bar\" in namespace \"foo\" kubectl auth can-i list jobs.batch/bar -n foo # Check to see if I can read pod logs kubectl auth can-i get pods --subresource=log # Check to see if I can access the URL /logs/ kubectl auth can-i get /logs/ # Check to see if I can approve certificates.k8s.io kubectl auth can-i approve certificates.k8s.io # List all allowed actions in namespace \"foo\" kubectl auth can-i --list --namespace=foo Options-A, --all-namespacesIf true, check the specified action in all namespaces.-h, --helphelp for can-i--listIf true, prints all allowed actions.--no-headersIf true, prints allowed actions without headers-q, --quietIf true, suppress output and just return the exit code.--subresource stringSubResource such as pod/log or deployment/scaleParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_can-i/",
    "id": "k8s_00008_qa_131"
  },
  {
    "question": "What are the benefits of kubectl auth can-i?",
    "answer": "kubectl auth can-iSynopsisCheck whether an action is allowed.VERB is a logical Kubernetes API verb like 'get', 'list', 'watch', 'delete', etc. TYPE is a Kubernetes resource. Shortcuts and groups will be resolved. NONRESOURCEURL is a partial URL that starts with \"/\". NAME is the name of a particular Kubernetes resource. This command pairs nicely with impersonation. See --as global flag.kubectl auth can-i VERB [TYPE | TYPE/NAME | NONRESOURCEURL] Examples # Check to see if I can create pods in any namespace kubectl auth can-i create pods --all-namespaces # Check to see if I can list deployments in my current namespace kubectl auth can-i list deployments.apps # Check to see if service account \"foo\" of namespace \"dev\" can list pods in the namespace \"prod\" # You must be allowed to use impersonation for the global option \"--as\" kubectl auth can-i list pods --as=system:serviceaccount:dev:foo -n prod # Check to see if I can do everything in my current namespace (\"*\" means all) kubectl auth can-i '*' '*' # Check to see if I can get the job named \"bar\" in namespace \"foo\" kubectl auth can-i list jobs.batch/bar -n foo # Check to see if I can read pod logs kubectl auth can-i get pods --subresource=log # Check to see if I can access the URL /logs/ kubectl auth can-i get /logs/ # Check to see if I can approve certificates.k8s.io kubectl auth can-i approve certificates.k8s.io # List all allowed actions in namespace \"foo\" kubectl auth can-i --list --namespace=foo Options-A, --all-namespacesIf true, check the specified action in all namespaces.-h, --helphelp for can-i--listIf true, prints all allowed actions.--no-headersIf true, prints allowed actions without headers-q, --quietIf true, suppress output and just return the exit code.--subresource stringSubResource such as pod/log or deployment/scaleParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_can-i/",
    "id": "k8s_00008_qa_132"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C h e c k   w h e t h e r   a n   a c t i o n   i s   a l l o w e d .   V E R B   i s   a   l o g i c a l   K u b e r n e t e s   A P I   v e r b   l i k e   ' g e t ' ,   ' l i s t ' ,   ' w a t c h ' ,   ' d e l e t e ' ,   e t c .   T Y P E   i s   a   K u b e r n e t e s   r e s o u r c e .   S h o r t c u t s   a n d   g r o u p s   w i l l   b e   r e s o l v e d .   N O N R E S O U R C E U R L   i s   a   p a r t i a l   U R L   t h a t   s t a r t s   w i t h   \" / \" .   N A M E   i s   t h e   n a m e   o f   a   p a r t i c u l a r   K u b e r n e t e s   r e s o u r c e .   T h i s   c o m m a n d   p a i r s   n i c e l y   w i t h   i m p e r s o n a t i o n .   S e e   - - a s   g l o b a l   f l a g .   k u b e c t l   a u t h   c a n - i   V E R B   [ T Y P E   |   T Y P E / N A M E   |   N O N R E S O U R C E U R L ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_can-i/",
    "id": "k8s_00008_section_2_133"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C h e c k   t o   s e e   i f   I   c a n   c r e a t e   p o d s   i n   a n y   n a m e s p a c e   k u b e c t l   a u t h   c a n - i   c r e a t e   p o d s   - - a l l - n a m e s p a c e s   #   C h e c k   t o   s e e   i f   I   c a n   l i s t   d e p l o y m e n t s   i n   m y   c u r r e n t   n a m e s p a c e   k u b e c t l   a u t h   c a n - i   l i s t   d e p l o y m e n t s . a p p s   #   C h e c k   t o   s e e   i f   s e r v i c e   a c c o u n t   \" f o o \"   o f   n a m e s p a c e   \" d e v \"   c a n   l i s t   p o d s   i n   t h e   n a m e s p a c e   \" p r o d \"   #   Y o u   m u s t   b e   a l l o w e d   t o   u s e   i m p e r s o n a t i o n   f o r   t h e   g l o b a l   o p t i o n   \" - - a s \"   k u b e c t l   a u t h   c a n - i   l i s t   p o d s   - - a s = s y s t e m : s e r v i c e a c c o u n t : d e v : f o o   - n   p r o d   #   C h e c k   t o   s e e   i f   I   c a n   d o   e v e r y t h i n g   i n   m y   c u r r e n t   n a m e s p a c e   ( \" * \"   m e a n s   a l l )   k u b e c t l   a u t h   c a n - i   ' * '   ' * '   #   C h e c k   t o   s e e   i f   I   c a n   g e t   t h e   j o b   n a m e d   \" b a r \"   i n   n a m e s p a c e   \" f o o \"   k u b e c t l   a u t h   c a n - i   l i s t   j o b s . b a t c h / b a r   - n   f o o   #   C h e c k   t o   s e e   i f   I   c a n   r e a d   p o d   l o g s   k u b e c t l   a u t h   c a n - i   g e t   p o d s   - - s u b r e s o u r c e = l o g   #   C h e c k   t o   s e e   i f   I   c a n   a c c e s s   t h e   U R L   / l o g s /   k u b e c t l   a u t h   c a n - i   g e t   / l o g s /   #   C h e c k   t o   s e e   i f   I   c a n   a p p r o v e   c e r t i f i c a t e s . k 8 s . i o   k u b e c t l   a u t h   c a n - i   a p p r o v e   c e r t i f i c a t e s . k 8 s . i o   #   L i s t   a l l   a l l o w e d   a c t i o n s   i n   n a m e s p a c e   \" f o o \"   k u b e c t l   a u t h   c a n - i   - - l i s t   - - n ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_can-i/",
    "id": "k8s_00008_section_2_134"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   c h e c k   t h e   s p e c i f i e d   a c t i o n   i n   a l l   n a m e s p a c e s .   h e l p   f o r   c a n - i   I f   t r u e ,   p r i n t s   a l l   a l l o w e d   a c t i o n s .   I f   t r u e ,   p r i n t s   a l l o w e d   a c t i o n s   w i t h o u t   h e a d e r s   I f   t r u e ,   s u p p r e s s   o u t p u t   a n d   j u s t   r e t u r n   t h e   e x i t   c o d e .   S u b R e s o u r c e   s u c h   a s   p o d / l o g   o r   d e p l o y m e n t / s c a l e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_can-i/",
    "id": "k8s_00008_section_2_135"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_can-i/",
    "id": "k8s_00008_section_2_136"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   a u t h   -   I n s p e c t   a u t h o r i z a t i o n   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_can-i/",
    "id": "k8s_00008_section_2_137"
  },
  {
    "question": "What is Kubernetes API?",
    "answer": "Kubernetes APIKubernetes' API is the application that serves Kubernetes functionality through a RESTful interface and stores the state of the cluster.Kubernetes resources and \"records of intent\" are all stored as API objects, and modified via RESTful calls to the API. The API allows configuration to be managed in a declarative way. Users can interact with the Kubernetes API directly, or via tools like kubectl. The core Kubernetes API is flexible and can also be extended to support custom resources.Workload ResourcesService ResourcesConfig and Storage ResourcesAuthentication ResourcesAuthorization ResourcesPolicy ResourcesExtend ResourcesCluster ResourcesCommon DefinitionsOther ResourcesCommon Parameters",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/",
    "id": "k8s_00009_qa_138"
  },
  {
    "question": "How does Kubernetes API work?",
    "answer": "Kubernetes APIKubernetes' API is the application that serves Kubernetes functionality through a RESTful interface and stores the state of the cluster.Kubernetes resources and \"records of intent\" are all stored as API objects, and modified via RESTful calls to the API. The API allows configuration to be managed in a declarative way. Users can interact with the Kubernetes API directly, or via tools like kubectl. The core Kubernetes API is flexible and can also be extended to support custom resources.Workload ResourcesService ResourcesConfig and Storage ResourcesAuthentication ResourcesAuthorization ResourcesPolicy ResourcesExtend ResourcesCluster ResourcesCommon DefinitionsOther ResourcesCommon Parameters",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/",
    "id": "k8s_00009_qa_139"
  },
  {
    "question": "When would you use Kubernetes API?",
    "answer": "Kubernetes APIKubernetes' API is the application that serves Kubernetes functionality through a RESTful interface and stores the state of the cluster.Kubernetes resources and \"records of intent\" are all stored as API objects, and modified via RESTful calls to the API. The API allows configuration to be managed in a declarative way. Users can interact with the Kubernetes API directly, or via tools like kubectl. The core Kubernetes API is flexible and can also be extended to support custom resources.Workload ResourcesService ResourcesConfig and Storage ResourcesAuthentication ResourcesAuthorization ResourcesPolicy ResourcesExtend ResourcesCluster ResourcesCommon DefinitionsOther ResourcesCommon Parameters",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/",
    "id": "k8s_00009_qa_140"
  },
  {
    "question": "What are the benefits of Kubernetes API?",
    "answer": "Kubernetes APIKubernetes' API is the application that serves Kubernetes functionality through a RESTful interface and stores the state of the cluster.Kubernetes resources and \"records of intent\" are all stored as API objects, and modified via RESTful calls to the API. The API allows configuration to be managed in a declarative way. Users can interact with the Kubernetes API directly, or via tools like kubectl. The core Kubernetes API is flexible and can also be extended to support custom resources.Workload ResourcesService ResourcesConfig and Storage ResourcesAuthentication ResourcesAuthorization ResourcesPolicy ResourcesExtend ResourcesCluster ResourcesCommon DefinitionsOther ResourcesCommon Parameters",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/",
    "id": "k8s_00009_qa_141"
  },
  {
    "question": "What is Kubernetes API?",
    "answer": "K u b e r n e t e s '   A P I   i s   t h e   a p p l i c a t i o n   t h a t   s e r v e s   K u b e r n e t e s   f u n c t i o n a l i t y   t h r o u g h   a   R E S T f u l   i n t e r f a c e   a n d   s t o r e s   t h e   s t a t e   o f   t h e   c l u s t e r .   K u b e r n e t e s '   A P I   i s   t h e   a p p l i c a t i o n   t h a t   s e r v e s   K u b e r n e t e s   f u n c t i o n a l i t y   t h r o u g h   a   R E S T f u l   i n t e r f a c e   a n d   s t o r e s   t h e   s t a t e   o f   t h e   c l u s t e r .   K u b e r n e t e s   r e s o u r c e s   a n d   \" r e c o r d s   o f   i n t e n t \"   a r e   a l l   s t o r e d   a s   A P I   o b j e c t s ,   a n d   m o d i f i e d   v i a   R E S T f u l   c a l l s   t o   t h e   A P I .   T h e   A P I   a l l o w s   c o n f i g u r a t i o n   t o   b e   m a n a g e d   i n   a   d e c l a r a t i v e   w a y .   U s e r s   c a n   i n t e r a c t   w i t h   t h e   K u b e r n e t e s   A P I   d i r e c t l y ,   o r   v i a   t o o l s   l i k e   k u b e c t l .   T h e   c o r e   K u b e r n e t e s   A P I   i s   f l e x i b l e   a n d   c a n   a l s o   b e   e x t e n d e d   t o   s u p p o r t   c u s t o m   r e s o u r c e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/",
    "id": "k8s_00009_section_1_142"
  },
  {
    "question": "What is kube-proxy Configuration (v1alpha1)?",
    "answer": "kube-proxy Configuration (v1alpha1)Resource TypesKubeProxyConfigurationFormatOptionsAppears in:LoggingConfigurationFormatOptions contains options for the different logging formats.FieldDescriptiontext [Required]TextOptions[Alpha] Text contains options for logging format \"text\". Only available when the LoggingAlphaOptions feature gate is enabled.json [Required]JSONOptions[Alpha] JSON contains options for logging format \"json\". Only available when the LoggingAlphaOptions feature gate is enabled.JSONOptionsAppears in:FormatOptionsJSONOptions contains options for logging format \"json\".FieldDescriptionOutputRoutingOptions [Required]OutputRoutingOptions(Members of OutputRoutingOptions are embedded into this type.) No description provided.LogFormatFactoryLogFormatFactory provides support for a certain additional, non-default log format.LoggingConfigurationAppears in:KubeProxyConfigurationKubeletConfigurationLoggingConfiguration contains logging options.FieldDescriptionformat [Required]stringFormat Flag specifies the structure of log messages. default value of format is textflushFrequency [Required]TimeOrMetaDurationMaximum time between log flushes. If a string, parsed as a duration (i.e. \"1s\") If an int, the maximum number of nanoseconds (i.e. 1s = 1000000000). Ignored if the selected logging backend writes log messages without buffering.verbosity [Required]VerbosityLevelVerbosity is the threshold that determines which log messages are logged. Default is zero which logs only the most important messages. Higher values enable additional messages. Error messages are always logged.vmodule [Required]VModuleConfigurationVModule overrides the verbosity threshold for individual files. Only supported for \"text\" log format.options [Required]FormatOptions[Alpha] Options holds additional parameters that are specific to the different logging formats. Only the options for the selected format get used, but all of them get validated. Only available when the LoggingAlphaOptions feature gate is enabled.LoggingOptionsLoggingOptions can be used with ValidateAndApplyWithOptions to override certain global defaults.FieldDescriptionErrorStream [Required]io.WriterErrorStream can be used to override the os.Stderr default.InfoStream [Required]io.WriterInfoStream can be used to override the os.Stdout default.OutputRoutingOptionsAppears in:JSONOptionsTextOptionsOutputRoutingOptions contains options that are supported by both \"text\" and \"json\".FieldDescriptionsplitStream [Required]bool[Alpha] SplitStream redirects error messages to stderr while info messages go to stdout, with buffering. The default is to write both to stdout, without buffering. Only available when the LoggingAlphaOptions feature gate is enabled.infoBufferSize [Required]k8s.io/apimachinery/pkg/api/resource.QuantityValue[Alpha] InfoBufferSize sets the size of the info stream when using split streams. The default is zero, which disables buffering. Only available when the LoggingAlphaOptions feature gate is enabled.Tex",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_qa_143"
  },
  {
    "question": "How does kube-proxy Configuration (v1alpha1) work?",
    "answer": "kube-proxy Configuration (v1alpha1)Resource TypesKubeProxyConfigurationFormatOptionsAppears in:LoggingConfigurationFormatOptions contains options for the different logging formats.FieldDescriptiontext [Required]TextOptions[Alpha] Text contains options for logging format \"text\". Only available when the LoggingAlphaOptions feature gate is enabled.json [Required]JSONOptions[Alpha] JSON contains options for logging format \"json\". Only available when the LoggingAlphaOptions feature gate is enabled.JSONOptionsAppears in:FormatOptionsJSONOptions contains options for logging format \"json\".FieldDescriptionOutputRoutingOptions [Required]OutputRoutingOptions(Members of OutputRoutingOptions are embedded into this type.) No description provided.LogFormatFactoryLogFormatFactory provides support for a certain additional, non-default log format.LoggingConfigurationAppears in:KubeProxyConfigurationKubeletConfigurationLoggingConfiguration contains logging options.FieldDescriptionformat [Required]stringFormat Flag specifies the structure of log messages. default value of format is textflushFrequency [Required]TimeOrMetaDurationMaximum time between log flushes. If a string, parsed as a duration (i.e. \"1s\") If an int, the maximum number of nanoseconds (i.e. 1s = 1000000000). Ignored if the selected logging backend writes log messages without buffering.verbosity [Required]VerbosityLevelVerbosity is the threshold that determines which log messages are logged. Default is zero which logs only the most important messages. Higher values enable additional messages. Error messages are always logged.vmodule [Required]VModuleConfigurationVModule overrides the verbosity threshold for individual files. Only supported for \"text\" log format.options [Required]FormatOptions[Alpha] Options holds additional parameters that are specific to the different logging formats. Only the options for the selected format get used, but all of them get validated. Only available when the LoggingAlphaOptions feature gate is enabled.LoggingOptionsLoggingOptions can be used with ValidateAndApplyWithOptions to override certain global defaults.FieldDescriptionErrorStream [Required]io.WriterErrorStream can be used to override the os.Stderr default.InfoStream [Required]io.WriterInfoStream can be used to override the os.Stdout default.OutputRoutingOptionsAppears in:JSONOptionsTextOptionsOutputRoutingOptions contains options that are supported by both \"text\" and \"json\".FieldDescriptionsplitStream [Required]bool[Alpha] SplitStream redirects error messages to stderr while info messages go to stdout, with buffering. The default is to write both to stdout, without buffering. Only available when the LoggingAlphaOptions feature gate is enabled.infoBufferSize [Required]k8s.io/apimachinery/pkg/api/resource.QuantityValue[Alpha] InfoBufferSize sets the size of the info stream when using split streams. The default is zero, which disables buffering. Only available when the LoggingAlphaOptions feature gate is enabled.Tex",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_qa_144"
  },
  {
    "question": "When would you use kube-proxy Configuration (v1alpha1)?",
    "answer": "kube-proxy Configuration (v1alpha1)Resource TypesKubeProxyConfigurationFormatOptionsAppears in:LoggingConfigurationFormatOptions contains options for the different logging formats.FieldDescriptiontext [Required]TextOptions[Alpha] Text contains options for logging format \"text\". Only available when the LoggingAlphaOptions feature gate is enabled.json [Required]JSONOptions[Alpha] JSON contains options for logging format \"json\". Only available when the LoggingAlphaOptions feature gate is enabled.JSONOptionsAppears in:FormatOptionsJSONOptions contains options for logging format \"json\".FieldDescriptionOutputRoutingOptions [Required]OutputRoutingOptions(Members of OutputRoutingOptions are embedded into this type.) No description provided.LogFormatFactoryLogFormatFactory provides support for a certain additional, non-default log format.LoggingConfigurationAppears in:KubeProxyConfigurationKubeletConfigurationLoggingConfiguration contains logging options.FieldDescriptionformat [Required]stringFormat Flag specifies the structure of log messages. default value of format is textflushFrequency [Required]TimeOrMetaDurationMaximum time between log flushes. If a string, parsed as a duration (i.e. \"1s\") If an int, the maximum number of nanoseconds (i.e. 1s = 1000000000). Ignored if the selected logging backend writes log messages without buffering.verbosity [Required]VerbosityLevelVerbosity is the threshold that determines which log messages are logged. Default is zero which logs only the most important messages. Higher values enable additional messages. Error messages are always logged.vmodule [Required]VModuleConfigurationVModule overrides the verbosity threshold for individual files. Only supported for \"text\" log format.options [Required]FormatOptions[Alpha] Options holds additional parameters that are specific to the different logging formats. Only the options for the selected format get used, but all of them get validated. Only available when the LoggingAlphaOptions feature gate is enabled.LoggingOptionsLoggingOptions can be used with ValidateAndApplyWithOptions to override certain global defaults.FieldDescriptionErrorStream [Required]io.WriterErrorStream can be used to override the os.Stderr default.InfoStream [Required]io.WriterInfoStream can be used to override the os.Stdout default.OutputRoutingOptionsAppears in:JSONOptionsTextOptionsOutputRoutingOptions contains options that are supported by both \"text\" and \"json\".FieldDescriptionsplitStream [Required]bool[Alpha] SplitStream redirects error messages to stderr while info messages go to stdout, with buffering. The default is to write both to stdout, without buffering. Only available when the LoggingAlphaOptions feature gate is enabled.infoBufferSize [Required]k8s.io/apimachinery/pkg/api/resource.QuantityValue[Alpha] InfoBufferSize sets the size of the info stream when using split streams. The default is zero, which disables buffering. Only available when the LoggingAlphaOptions feature gate is enabled.Tex",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_qa_145"
  },
  {
    "question": "What are the benefits of kube-proxy Configuration (v1alpha1)?",
    "answer": "kube-proxy Configuration (v1alpha1)Resource TypesKubeProxyConfigurationFormatOptionsAppears in:LoggingConfigurationFormatOptions contains options for the different logging formats.FieldDescriptiontext [Required]TextOptions[Alpha] Text contains options for logging format \"text\". Only available when the LoggingAlphaOptions feature gate is enabled.json [Required]JSONOptions[Alpha] JSON contains options for logging format \"json\". Only available when the LoggingAlphaOptions feature gate is enabled.JSONOptionsAppears in:FormatOptionsJSONOptions contains options for logging format \"json\".FieldDescriptionOutputRoutingOptions [Required]OutputRoutingOptions(Members of OutputRoutingOptions are embedded into this type.) No description provided.LogFormatFactoryLogFormatFactory provides support for a certain additional, non-default log format.LoggingConfigurationAppears in:KubeProxyConfigurationKubeletConfigurationLoggingConfiguration contains logging options.FieldDescriptionformat [Required]stringFormat Flag specifies the structure of log messages. default value of format is textflushFrequency [Required]TimeOrMetaDurationMaximum time between log flushes. If a string, parsed as a duration (i.e. \"1s\") If an int, the maximum number of nanoseconds (i.e. 1s = 1000000000). Ignored if the selected logging backend writes log messages without buffering.verbosity [Required]VerbosityLevelVerbosity is the threshold that determines which log messages are logged. Default is zero which logs only the most important messages. Higher values enable additional messages. Error messages are always logged.vmodule [Required]VModuleConfigurationVModule overrides the verbosity threshold for individual files. Only supported for \"text\" log format.options [Required]FormatOptions[Alpha] Options holds additional parameters that are specific to the different logging formats. Only the options for the selected format get used, but all of them get validated. Only available when the LoggingAlphaOptions feature gate is enabled.LoggingOptionsLoggingOptions can be used with ValidateAndApplyWithOptions to override certain global defaults.FieldDescriptionErrorStream [Required]io.WriterErrorStream can be used to override the os.Stderr default.InfoStream [Required]io.WriterInfoStream can be used to override the os.Stdout default.OutputRoutingOptionsAppears in:JSONOptionsTextOptionsOutputRoutingOptions contains options that are supported by both \"text\" and \"json\".FieldDescriptionsplitStream [Required]bool[Alpha] SplitStream redirects error messages to stderr while info messages go to stdout, with buffering. The default is to write both to stdout, without buffering. Only available when the LoggingAlphaOptions feature gate is enabled.infoBufferSize [Required]k8s.io/apimachinery/pkg/api/resource.QuantityValue[Alpha] InfoBufferSize sets the size of the info stream when using split streams. The default is zero, which disables buffering. Only available when the LoggingAlphaOptions feature gate is enabled.Tex",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_qa_146"
  },
  {
    "question": "What is Resource Types?",
    "answer": "K u b e P r o x y C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_section_2_147"
  },
  {
    "question": "What is FormatOptions?",
    "answer": "A p p e a r s   i n :   L o g g i n g C o n f i g u r a t i o n   F o r m a t O p t i o n s   c o n t a i n s   o p t i o n s   f o r   t h e   d i f f e r e n t   l o g g i n g   f o r m a t s .   [ A l p h a ]   T e x t   c o n t a i n s   o p t i o n s   f o r   l o g g i n g   f o r m a t   \" t e x t \" .   O n l y   a v a i l a b l e   w h e n   t h e   L o g g i n g A l p h a O p t i o n s   f e a t u r e   g a t e   i s   e n a b l e d .   [ A l p h a ]   J S O N   c o n t a i n s   o p t i o n s   f o r   l o g g i n g   f o r m a t   \" j s o n \" .   O n l y   a v a i l a b l e   w h e n   t h e   L o g g i n g A l p h a O p t i o n s   f e a t u r e   g a t e   i s   e n a b l e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_section_2_148"
  },
  {
    "question": "What is JSONOptions?",
    "answer": "A p p e a r s   i n :   F o r m a t O p t i o n s   J S O N O p t i o n s   c o n t a i n s   o p t i o n s   f o r   l o g g i n g   f o r m a t   \" j s o n \" .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_section_2_149"
  },
  {
    "question": "What is LogFormatFactory?",
    "answer": "L o g F o r m a t F a c t o r y   p r o v i d e s   s u p p o r t   f o r   a   c e r t a i n   a d d i t i o n a l ,   n o n - d e f a u l t   l o g   f o r m a t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_section_2_150"
  },
  {
    "question": "What is LoggingConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e P r o x y C o n f i g u r a t i o n K u b e l e t C o n f i g u r a t i o n   K u b e P r o x y C o n f i g u r a t i o n   K u b e l e t C o n f i g u r a t i o n   L o g g i n g C o n f i g u r a t i o n   c o n t a i n s   l o g g i n g   o p t i o n s .   F o r m a t   F l a g   s p e c i f i e s   t h e   s t r u c t u r e   o f   l o g   m e s s a g e s .   d e f a u l t   v a l u e   o f   f o r m a t   i s   t e x t   M a x i m u m   t i m e   b e t w e e n   l o g   f l u s h e s .   I f   a   s t r i n g ,   p a r s e d   a s   a   d u r a t i o n   ( i . e .   \" 1 s \" )   I f   a n   i n t ,   t h e   m a x i m u m   n u m b e r   o f   n a n o s e c o n d s   ( i . e .   1 s   =   1 0 0 0 0 0 0 0 0 0 ) .   I g n o r e d   i f   t h e   s e l e c t e d   l o g g i n g   b a c k e n d   w r i t e s   l o g   m e s s a g e s   w i t h o u t   b u f f e r i n g .   V e r b o s i t y   i s   t h e   t h r e s h o l d   t h a t   d e t e r m i n e s   w h i c h   l o g   m e s s a g e s   a r e   l o g g e d .   D e f a u l t   i s   z e r o   w h i c h   l o g s   o n l y   t h e   m o s t   i m p o r t a n t   m e s s a g e s .   H i g h e r   v a l u e s   e n a b l e   a d d i t i o n a l   m e s s a g e s .   E r r o r   m e s s a g e s   a r e   a l w a y s   l o g g e d .   V M o d u l e   o v e r r i d e s   t h e   v e r b o s i t y   t h r e s h o l d   f o r   i n d i v i d u a l   f i l e s .   O n l y   s u p p o r t e d   f o r   \" t e x t \"   l o g   f o r m a t .   [ A l p h a ]   O p t i o n s   h o l d s   a d d i t i o n a l   p a r a m e t e r s   t h a t   a r e   s p e c i f i c   t o   t h e   d i f f e r e n t   l o g g i n g   f o r m a t s .   O n l y   t h e   o p t i o n s   f o r   t h e   s e l e c t e d   f o r m a t   g e t   u s e d ,   b u t   a l l   o f   t h e m   g e t   v a l i d a t e d .   O n l y   a v a i l a b l e   w h e n   t h e   L o g g i n g A l p h a O p t i o n s   f e a t u r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_section_2_151"
  },
  {
    "question": "What is LoggingOptions?",
    "answer": "L o g g i n g O p t i o n s   c a n   b e   u s e d   w i t h   V a l i d a t e A n d A p p l y W i t h O p t i o n s   t o   o v e r r i d e   c e r t a i n   g l o b a l   d e f a u l t s .   E r r o r S t r e a m   c a n   b e   u s e d   t o   o v e r r i d e   t h e   o s . S t d e r r   d e f a u l t .   I n f o S t r e a m   c a n   b e   u s e d   t o   o v e r r i d e   t h e   o s . S t d o u t   d e f a u l t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_section_2_152"
  },
  {
    "question": "What is OutputRoutingOptions?",
    "answer": "A p p e a r s   i n :   J S O N O p t i o n s T e x t O p t i o n s   J S O N O p t i o n s   T e x t O p t i o n s   O u t p u t R o u t i n g O p t i o n s   c o n t a i n s   o p t i o n s   t h a t   a r e   s u p p o r t e d   b y   b o t h   \" t e x t \"   a n d   \" j s o n \" .   [ A l p h a ]   S p l i t S t r e a m   r e d i r e c t s   e r r o r   m e s s a g e s   t o   s t d e r r   w h i l e   i n f o   m e s s a g e s   g o   t o   s t d o u t ,   w i t h   b u f f e r i n g .   T h e   d e f a u l t   i s   t o   w r i t e   b o t h   t o   s t d o u t ,   w i t h o u t   b u f f e r i n g .   O n l y   a v a i l a b l e   w h e n   t h e   L o g g i n g A l p h a O p t i o n s   f e a t u r e   g a t e   i s   e n a b l e d .   [ A l p h a ]   I n f o B u f f e r S i z e   s e t s   t h e   s i z e   o f   t h e   i n f o   s t r e a m   w h e n   u s i n g   s p l i t   s t r e a m s .   T h e   d e f a u l t   i s   z e r o ,   w h i c h   d i s a b l e s   b u f f e r i n g .   O n l y   a v a i l a b l e   w h e n   t h e   L o g g i n g A l p h a O p t i o n s   f e a t u r e   g a t e   i s   e n a b l e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_section_2_153"
  },
  {
    "question": "What is TextOptions?",
    "answer": "A p p e a r s   i n :   F o r m a t O p t i o n s   T e x t O p t i o n s   c o n t a i n s   o p t i o n s   f o r   l o g g i n g   f o r m a t   \" t e x t \" .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_section_2_154"
  },
  {
    "question": "What is TimeOrMetaDuration?",
    "answer": "A p p e a r s   i n :   L o g g i n g C o n f i g u r a t i o n   T i m e O r M e t a D u r a t i o n   i s   p r e s e n t   o n l y   f o r   b a c k w a r d s   c o m p a t i b i l i t y   f o r   t h e   f l u s h F r e q u e n c y   f i e l d ,   a n d   n e w   f i e l d s   s h o u l d   u s e   m e t a v 1 . D u r a t i o n .   D u r a t i o n   h o l d s   t h e   d u r a t i o n   S e r i a l i z e A s S t r i n g   c o n t r o l s   w h e t h e r   t h e   v a l u e   i s   s e r i a l i z e d   a s   a   s t r i n g   o r   a n   i n t e g e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_section_2_155"
  },
  {
    "question": "What is VModuleConfiguration?",
    "answer": "( A l i a s   o f   [ ] k 8 s . i o / c o m p o n e n t - b a s e / l o g s / a p i / v 1 . V M o d u l e I t e m )   A p p e a r s   i n :   L o g g i n g C o n f i g u r a t i o n   V M o d u l e C o n f i g u r a t i o n   i s   a   c o l l e c t i o n   o f   i n d i v i d u a l   f i l e   n a m e s   o r   p a t t e r n s   a n d   t h e   c o r r e s p o n d i n g   v e r b o s i t y   t h r e s h o l d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_section_2_156"
  },
  {
    "question": "What is VerbosityLevel?",
    "answer": "( A l i a s   o f   u i n t 3 2 )   A p p e a r s   i n :   L o g g i n g C o n f i g u r a t i o n   V e r b o s i t y L e v e l   r e p r e s e n t s   a   k l o g   o r   l o g r   v e r b o s i t y   t h r e s h o l d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_section_2_157"
  },
  {
    "question": "What is ClientConnectionConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e P r o x y C o n f i g u r a t i o n K u b e S c h e d u l e r C o n f i g u r a t i o n G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   K u b e P r o x y C o n f i g u r a t i o n   K u b e S c h e d u l e r C o n f i g u r a t i o n   G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   C l i e n t C o n n e c t i o n C o n f i g u r a t i o n   c o n t a i n s   d e t a i l s   f o r   c o n s t r u c t i n g   a   c l i e n t .   k u b e c o n f i g   i s   t h e   p a t h   t o   a   K u b e C o n f i g   f i l e .   a c c e p t C o n t e n t T y p e s   d e f i n e s   t h e   A c c e p t   h e a d e r   s e n t   b y   c l i e n t s   w h e n   c o n n e c t i n g   t o   a   s e r v e r ,   o v e r r i d i n g   t h e   d e f a u l t   v a l u e   o f   ' a p p l i c a t i o n / j s o n ' .   T h i s   f i e l d   w i l l   c o n t r o l   a l l   c o n n e c t i o n s   t o   t h e   s e r v e r   u s e d   b y   a   p a r t i c u l a r   c l i e n t .   c o n t e n t T y p e   i s   t h e   c o n t e n t   t y p e   u s e d   w h e n   s e n d i n g   d a t a   t o   t h e   s e r v e r   f r o m   t h i s   c l i e n t .   q p s   c o n t r o l s   t h e   n u m b e r   o f   q u e r i e s   p e r   s e c o n d   a l l o w e d   f o r   t h i s   c o n n e c t i o n .   b u r s t   a l l o w s   e x t r a   q u e r i e s   t o   a c c u m u l a t e   w h e n   a   c l i e n t   i s   e x c e e d i n g   i t s   r a t e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_section_2_158"
  },
  {
    "question": "What is DebuggingConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e S c h e d u l e r C o n f i g u r a t i o n G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   K u b e S c h e d u l e r C o n f i g u r a t i o n   G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   D e b u g g i n g C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   D e b u g g i n g   r e l a t e d   f e a t u r e s .   e n a b l e P r o f i l i n g   e n a b l e s   p r o f i l i n g   v i a   w e b   i n t e r f a c e   h o s t : p o r t / d e b u g / p p r o f /   e n a b l e C o n t e n t i o n P r o f i l i n g   e n a b l e s   b l o c k   p r o f i l i n g ,   i f   e n a b l e P r o f i l i n g   i s   t r u e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_section_2_159"
  },
  {
    "question": "What is LeaderElectionConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e S c h e d u l e r C o n f i g u r a t i o n G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   K u b e S c h e d u l e r C o n f i g u r a t i o n   G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   L e a d e r E l e c t i o n C o n f i g u r a t i o n   d e f i n e s   t h e   c o n f i g u r a t i o n   o f   l e a d e r   e l e c t i o n   c l i e n t s   f o r   c o m p o n e n t s   t h a t   c a n   r u n   w i t h   l e a d e r   e l e c t i o n   e n a b l e d .   l e a d e r E l e c t   e n a b l e s   a   l e a d e r   e l e c t i o n   c l i e n t   t o   g a i n   l e a d e r s h i p   b e f o r e   e x e c u t i n g   t h e   m a i n   l o o p .   E n a b l e   t h i s   w h e n   r u n n i n g   r e p l i c a t e d   c o m p o n e n t s   f o r   h i g h   a v a i l a b i l i t y .   l e a s e D u r a t i o n   i s   t h e   d u r a t i o n   t h a t   n o n - l e a d e r   c a n d i d a t e s   w i l l   w a i t   a f t e r   o b s e r v i n g   a   l e a d e r s h i p   r e n e w a l   u n t i l   a t t e m p t i n g   t o   a c q u i r e   l e a d e r s h i p   o f   a   l e d   b u t   u n r e n e w e d   l e a d e r   s l o t .   T h i s   i s   e f f e c t i v e l y   t h e   m a x i m u m   d u r a t i o n   t h a t   a   l e a d e r   c a n   b e   s t o p p e d   b e f o r e   i t   i s   r e p l a c e d   b y   a n o t h e r   c a n d i d a t e .   T h i s   i s   o n l y   a p p l i c a b l e   i f   l e a d e r   e l e c t i o n   i s   e n a b l e d .   r e n e w D e a d l i n e   i s   t h e   i n t e r v a l   b e t w e e n   a t t e m p t s   b y   t h e   a c t i n g   m a s t e r   t o   r e n e w   a   l e a d e r s h i p   s l o t   b e f o r e   i t   s t o p s   l e a d i n g .   T h i s   m u s t   b e   l e s s   t h a n   o r   e q u a l   t o   t h e   l e a s e   d u r a t i o n .   T h i s   i s   o n l y   a p p l i c a b l e   i f   l e a d ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_section_2_160"
  },
  {
    "question": "What is KubeProxyConfiguration?",
    "answer": "K u b e P r o x y C o n f i g u r a t i o n   c o n t a i n s   e v e r y t h i n g   n e c e s s a r y   t o   c o n f i g u r e   t h e   K u b e r n e t e s   p r o x y   s e r v e r .   f e a t u r e G a t e s   i s   a   m a p   o f   f e a t u r e   n a m e s   t o   b o o l s   t h a t   e n a b l e   o r   d i s a b l e   a l p h a / e x p e r i m e n t a l   f e a t u r e s .   c l i e n t C o n n e c t i o n   s p e c i f i e s   t h e   k u b e c o n f i g   f i l e   a n d   c l i e n t   c o n n e c t i o n   s e t t i n g s   f o r   t h e   p r o x y   s e r v e r   t o   u s e   w h e n   c o m m u n i c a t i n g   w i t h   t h e   a p i s e r v e r .   l o g g i n g   s p e c i f i e s   t h e   o p t i o n s   o f   l o g g i n g .   R e f e r   t o   L o g s   O p t i o n s   f o r   m o r e   i n f o r m a t i o n .   h o s t n a m e O v e r r i d e ,   i f   n o n - e m p t y ,   w i l l   b e   u s e d   a s   t h e   n a m e   o f   t h e   N o d e   t h a t   k u b e - p r o x y   i s   r u n n i n g   o n .   I f   u n s e t ,   t h e   n o d e   n a m e   i s   a s s u m e d   t o   b e   t h e   s a m e   a s   t h e   n o d e ' s   h o s t n a m e .   b i n d A d d r e s s   c a n   b e   u s e d   t o   o v e r r i d e   k u b e - p r o x y ' s   i d e a   o f   w h a t   i t s   n o d e ' s   p r i m a r y   I P   i s .   N o t e   t h a t   t h e   n a m e   i s   a   h i s t o r i c a l   a r t i f a c t ,   a n d   k u b e - p r o x y   d o e s   n o t   a c t u a l l y   b i n d   a n y   s o c k e t s   t o   t h i s   I P .   h e a l t h z B i n d A d d r e s s   i s   t h e   I P   a d d r e s s   a n d   p o r t   f o r   t h e   h e a l t h   c h e c k   s e r v e r   t o   s e r v e   o n ,   d e f a u l t i n g   t o   \" 0 . 0 . 0 . 0 : 1 0 2 5 6 \"   ( i f   b i n d A d d r e s s   i s   u n s e t   o r   I P v 4 ) ,   o r   \" [ : : ] : 1 0 2 5 6 \"   ( i f   b i n d A d d r e s s   i s   I P v 6 ) .   m e t r i c s B i n d ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_section_2_161"
  },
  {
    "question": "What is DetectLocalConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e P r o x y C o n f i g u r a t i o n   D e t e c t L o c a l C o n f i g u r a t i o n   c o n t a i n s   o p t i o n a l   s e t t i n g s   r e l a t e d   t o   D e t e c t L o c a l M o d e   o p t i o n   b r i d g e I n t e r f a c e   i s   a   b r i d g e   i n t e r f a c e   n a m e .   W h e n   D e t e c t L o c a l M o d e   i s   s e t   t o   L o c a l M o d e B r i d g e I n t e r f a c e ,   k u b e - p r o x y   w i l l   c o n s i d e r   t r a f f i c   t o   b e   l o c a l   i f   i t   o r i g i n a t e s   f r o m   t h i s   b r i d g e .   i n t e r f a c e N a m e P r e f i x   i s   a n   i n t e r f a c e   n a m e   p r e f i x .   W h e n   D e t e c t L o c a l M o d e   i s   s e t   t o   L o c a l M o d e I n t e r f a c e N a m e P r e f i x ,   k u b e - p r o x y   w i l l   c o n s i d e r   t r a f f i c   t o   b e   l o c a l   i f   i t   o r i g i n a t e s   f r o m   a n y   i n t e r f a c e   w h o s e   n a m e   b e g i n s   w i t h   t h i s   p r e f i x .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_section_2_162"
  },
  {
    "question": "What is KubeProxyConntrackConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e P r o x y C o n f i g u r a t i o n   K u b e P r o x y C o n n t r a c k C o n f i g u r a t i o n   c o n t a i n s   c o n n t r a c k   s e t t i n g s   f o r   t h e   K u b e r n e t e s   p r o x y   s e r v e r .   m a x P e r C o r e   i s   t h e   m a x i m u m   n u m b e r   o f   N A T   c o n n e c t i o n s   t o   t r a c k   p e r   C P U   c o r e   ( 0   t o   l e a v e   t h e   l i m i t   a s - i s   a n d   i g n o r e   m i n ) .   m i n   i s   t h e   m i n i m u m   v a l u e   o f   c o n n e c t - t r a c k i n g   r e c o r d s   t o   a l l o c a t e ,   r e g a r d l e s s   o f   m a x P e r C o r e   ( s e t   m a x P e r C o r e = 0   t o   l e a v e   t h e   l i m i t   a s - i s ) .   t c p E s t a b l i s h e d T i m e o u t   i s   h o w   l o n g   a n   i d l e   T C P   c o n n e c t i o n   w i l l   b e   k e p t   o p e n   ( e . g .   ' 2 s ' ) .   M u s t   b e   g r e a t e r   t h a n   0   t o   s e t .   t c p C l o s e W a i t T i m e o u t   i s   h o w   l o n g   a n   i d l e   c o n n t r a c k   e n t r y   i n   C L O S E _ W A I T   s t a t e   w i l l   r e m a i n   i n   t h e   c o n n t r a c k   t a b l e .   ( e . g .   ' 6 0 s ' ) .   M u s t   b e   g r e a t e r   t h a n   0   t o   s e t .   t c p B e L i b e r a l ,   i f   t r u e ,   k u b e - p r o x y   w i l l   c o n f i g u r e   c o n n t r a c k   t o   r u n   i n   l i b e r a l   m o d e   f o r   T C P   c o n n e c t i o n s   a n d   p a c k e t s   w i t h   o u t - o f - w i n d o w   s e q u e n c e   n u m b e r s   w o n ' t   b e   m a r k e d   I N V A L I D .   u d p T i m e o u t   i s   h o w   l o n g   a n   i d l e   U D P   c o n n t r a c k   e n t r y   i n   U N R E P L I E D   s t a t e   w i l l   r e m a i n   i n   t h e   c o n n t r a c k   t a b l e   ( e . g .   ' 3 0 s ' ) .   M u s t   b e   g r e a t e r   t h a n   0   t o   s e t .   u d p S t r e a m T i m e o u t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_section_2_163"
  },
  {
    "question": "What is KubeProxyIPTablesConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e P r o x y C o n f i g u r a t i o n   K u b e P r o x y I P T a b l e s C o n f i g u r a t i o n   c o n t a i n s   i p t a b l e s - r e l a t e d   c o n f i g u r a t i o n   d e t a i l s   f o r   t h e   K u b e r n e t e s   p r o x y   s e r v e r .   m a s q u e r a d e B i t   i s   t h e   b i t   o f   t h e   i p t a b l e s   f w m a r k   s p a c e   t o   u s e   f o r   S N A T   i f   u s i n g   t h e   i p t a b l e s   o r   i p v s   p r o x y   m o d e .   V a l u e s   m u s t   b e   w i t h i n   t h e   r a n g e   [ 0 ,   3 1 ] .   m a s q u e r a d e A l l   t e l l s   k u b e - p r o x y   t o   S N A T   a l l   t r a f f i c   s e n t   t o   S e r v i c e   c l u s t e r   I P s ,   w h e n   u s i n g   t h e   i p t a b l e s   o r   i p v s   p r o x y   m o d e .   T h i s   m a y   b e   r e q u i r e d   w i t h   s o m e   C N I   p l u g i n s .   l o c a l h o s t N o d e P o r t s ,   i f   f a l s e ,   t e l l s   k u b e - p r o x y   t o   d i s a b l e   t h e   l e g a c y   b e h a v i o r   o f   a l l o w i n g   N o d e P o r t   s e r v i c e s   t o   b e   a c c e s s e d   v i a   l o c a l h o s t .   ( A p p l i e s   o n l y   t o   i p t a b l e s   m o d e   a n d   I P v 4 ;   l o c a l h o s t   N o d e P o r t s   a r e   n e v e r   a l l o w e d   w i t h   o t h e r   p r o x y   m o d e s   o r   w i t h   I P v 6 . )   s y n c P e r i o d   i s   a n   i n t e r v a l   ( e . g .   ' 5 s ' ,   ' 1 m ' ,   ' 2 h 2 2 m ' )   i n d i c a t i n g   h o w   f r e q u e n t l y   v a r i o u s   r e - s y n c h r o n i z i n g   a n d   c l e a n u p   o p e r a t i o n s   a r e   p e r f o r m e d .   M u s t   b e   g r e a t e r   t h a n   0 .   m i n S y n c P e r i o d   i s   t h e   m i n i m u m   p e r i o d   b e t w e e n   i p t a b l e s   r u l e   r e s y n c s   ( e . g .   ' 5 s ' ,   ' 1 m ' ,   ' 2 h 2 2 m ' ) .   A   v a l u e   o f   0   m e a n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_section_2_164"
  },
  {
    "question": "What is KubeProxyIPVSConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e P r o x y C o n f i g u r a t i o n   K u b e P r o x y I P V S C o n f i g u r a t i o n   c o n t a i n s   i p v s - r e l a t e d   c o n f i g u r a t i o n   d e t a i l s   f o r   t h e   K u b e r n e t e s   p r o x y   s e r v e r .   s y n c P e r i o d   i s   a n   i n t e r v a l   ( e . g .   ' 5 s ' ,   ' 1 m ' ,   ' 2 h 2 2 m ' )   i n d i c a t i n g   h o w   f r e q u e n t l y   v a r i o u s   r e - s y n c h r o n i z i n g   a n d   c l e a n u p   o p e r a t i o n s   a r e   p e r f o r m e d .   M u s t   b e   g r e a t e r   t h a n   0 .   m i n S y n c P e r i o d   i s   t h e   m i n i m u m   p e r i o d   b e t w e e n   I P V S   r u l e   r e s y n c s   ( e . g .   ' 5 s ' ,   ' 1 m ' ,   ' 2 h 2 2 m ' ) .   A   v a l u e   o f   0   m e a n s   e v e r y   S e r v i c e   o r   E n d p o i n t S l i c e   c h a n g e   w i l l   r e s u l t   i n   a n   i m m e d i a t e   I P V S   r e s y n c .   s c h e d u l e r   i s   t h e   I P V S   s c h e d u l e r   t o   u s e   e x c l u d e C I D R s   i s   a   l i s t   o f   C I D R s   w h i c h   t h e   i p v s   p r o x i e r   s h o u l d   n o t   t o u c h   w h e n   c l e a n i n g   u p   i p v s   s e r v i c e s .   s t r i c t A R P   c o n f i g u r e s   a r p _ i g n o r e   a n d   a r p _ a n n o u n c e   t o   a v o i d   a n s w e r i n g   A R P   q u e r i e s   f r o m   k u b e - i p v s 0   i n t e r f a c e   t c p T i m e o u t   i s   t h e   t i m e o u t   v a l u e   u s e d   f o r   i d l e   I P V S   T C P   s e s s i o n s .   T h e   d e f a u l t   v a l u e   i s   0 ,   w h i c h   p r e s e r v e s   t h e   c u r r e n t   t i m e o u t   v a l u e   o n   t h e   s y s t e m .   t c p F i n T i m e o u t   i s   t h e   t i m e o u t   v a l u e   u s e d   f o r   I P V S   T C P   s e s s i o n s   a f t e r   r e c e i v i n g   a   F I N .   T h e   d e f a u l t   v a l u e   i s   0 ,   w h i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_section_2_165"
  },
  {
    "question": "What is KubeProxyNFTablesConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e P r o x y C o n f i g u r a t i o n   K u b e P r o x y N F T a b l e s C o n f i g u r a t i o n   c o n t a i n s   n f t a b l e s - r e l a t e d   c o n f i g u r a t i o n   d e t a i l s   f o r   t h e   K u b e r n e t e s   p r o x y   s e r v e r .   m a s q u e r a d e B i t   i s   t h e   b i t   o f   t h e   i p t a b l e s   f w m a r k   s p a c e   t o   u s e   f o r   S N A T   i f   u s i n g   t h e   n f t a b l e s   p r o x y   m o d e .   V a l u e s   m u s t   b e   w i t h i n   t h e   r a n g e   [ 0 ,   3 1 ] .   m a s q u e r a d e A l l   t e l l s   k u b e - p r o x y   t o   S N A T   a l l   t r a f f i c   s e n t   t o   S e r v i c e   c l u s t e r   I P s ,   w h e n   u s i n g   t h e   n f t a b l e s   m o d e .   T h i s   m a y   b e   r e q u i r e d   w i t h   s o m e   C N I   p l u g i n s .   s y n c P e r i o d   i s   a n   i n t e r v a l   ( e . g .   ' 5 s ' ,   ' 1 m ' ,   ' 2 h 2 2 m ' )   i n d i c a t i n g   h o w   f r e q u e n t l y   v a r i o u s   r e - s y n c h r o n i z i n g   a n d   c l e a n u p   o p e r a t i o n s   a r e   p e r f o r m e d .   M u s t   b e   g r e a t e r   t h a n   0 .   m i n S y n c P e r i o d   i s   t h e   m i n i m u m   p e r i o d   b e t w e e n   i p t a b l e s   r u l e   r e s y n c s   ( e . g .   ' 5 s ' ,   ' 1 m ' ,   ' 2 h 2 2 m ' ) .   A   v a l u e   o f   0   m e a n s   e v e r y   S e r v i c e   o r   E n d p o i n t S l i c e   c h a n g e   w i l l   r e s u l t   i n   a n   i m m e d i a t e   i p t a b l e s   r e s y n c .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_section_2_166"
  },
  {
    "question": "What is KubeProxyWinkernelConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e P r o x y C o n f i g u r a t i o n   K u b e P r o x y W i n k e r n e l C o n f i g u r a t i o n   c o n t a i n s   W i n d o w s / H N S   s e t t i n g s   f o r   t h e   K u b e r n e t e s   p r o x y   s e r v e r .   n e t w o r k N a m e   i s   t h e   n a m e   o f   t h e   n e t w o r k   k u b e - p r o x y   w i l l   u s e   t o   c r e a t e   e n d p o i n t s   a n d   p o l i c i e s   s o u r c e V i p   i s   t h e   I P   a d d r e s s   o f   t h e   s o u r c e   V I P   e n d p o i n t   u s e d   f o r   N A T   w h e n   l o a d b a l a n c i n g   e n a b l e D S R   t e l l s   k u b e - p r o x y   w h e t h e r   H N S   p o l i c i e s   s h o u l d   b e   c r e a t e d   w i t h   D S R   r o o t H n s E n d p o i n t N a m e   i s   t h e   n a m e   o f   h n s e n d p o i n t   t h a t   i s   a t t a c h e d   t o   l 2 b r i d g e   f o r   r o o t   n e t w o r k   n a m e s p a c e   f o r w a r d H e a l t h C h e c k V i p   f o r w a r d s   s e r v i c e   V I P   f o r   h e a l t h   c h e c k   p o r t   o n   W i n d o w s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_section_2_167"
  },
  {
    "question": "What is LocalMode?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   K u b e P r o x y C o n f i g u r a t i o n   L o c a l M o d e   r e p r e s e n t s   m o d e s   t o   d e t e c t   l o c a l   t r a f f i c   f r o m   t h e   n o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_section_2_168"
  },
  {
    "question": "What is ProxyMode?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   K u b e P r o x y C o n f i g u r a t i o n   P r o x y M o d e   r e p r e s e n t s   m o d e s   u s e d   b y   t h e   K u b e r n e t e s   p r o x y   s e r v e r .   T h r e e   m o d e s   o f   p r o x y   a r e   a v a i l a b l e   o n   L i n u x   p l a t f o r m s :   i p t a b l e s ,   i p v s ,   a n d   n f t a b l e s .   O n e   m o d e   o f   p r o x y   i s   a v a i l a b l e   o n   W i n d o w s   p l a t f o r m s :   k e r n e l s p a c e .   I f   t h e   p r o x y   m o d e   i s   u n s p e c i f i e d ,   a   d e f a u l t   p r o x y   m o d e   w i l l   b e   u s e d   ( c u r r e n t l y   t h i s   i s   i p t a b l e s   o n   L i n u x   a n d   k e r n e l s p a c e   o n   W i n d o w s ) .   I f   t h e   s e l e c t e d   p r o x y   m o d e   c a n n o t   b e   u s e d   ( d u e   t o   l a c k   o f   k e r n e l   s u p p o r t ,   m i s s i n g   u s e r s p a c e   c o m p o n e n t s ,   e t c )   t h e n   k u b e - p r o x y   w i l l   e x i t   w i t h   a n   e r r o r .   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/",
    "id": "k8s_00010_section_2_169"
  },
  {
    "question": "What is kubeadm reset?",
    "answer": "kubeadm resetPerforms a best effort revert of changes made by kubeadm init or kubeadm join.SynopsisPerforms a best effort revert of changes made to this host by 'kubeadm init' or 'kubeadm join'The \"reset\" command executes the following phases:preflight Run reset pre-flight checks remove-etcd-member Remove a local etcd member. cleanup-node Run cleanup node. kubeadm reset [flags] Options--cert-dir string Default: \"/etc/kubernetes/pki\"The path to the directory where the certificates are stored. If specified, clean this directory.--cleanup-tmp-dirCleanup the \"/etc/kubernetes/tmp\" directory--config stringPath to a kubeadm configuration file.--cri-socket stringPath to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.--dry-runDon't apply any changes; just output what would be done.-f, --forceReset the node without prompting for confirmation.-h, --helphelp for reset--ignore-preflight-errors stringsA list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.--skip-phases stringsList of phases to be skippedOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.Reset workflowkubeadm reset is responsible for cleaning up a node local file system from files that were created using the kubeadm init or kubeadm join commands. For control-plane nodes reset also removes the local stacked etcd member of this node from the etcd cluster.kubeadm reset phase can be used to execute the separate phases of the above workflow. To skip a list of phases you can use the --skip-phases flag, which works in a similar way to the kubeadm join and kubeadm init phase runners.kubeadm reset also supports the --config flag for passing a ResetConfiguration structure.Cleanup of external etcd memberskubeadm reset will not delete any etcd data if external etcd is used. This means that if you run kubeadm init again using the same etcd endpoints, you will see state from previous clusters.To wipe etcd data it is recommended you use a client like etcdctl, such as:etcdctl del \"\" --prefix See the etcd documentation for more information.Cleanup of CNI configurationCNI plugins use the directory /etc/cni/net.d to store their configuration. The kubeadm reset command does not cleanup that directory. Leaving the configuration of a CNI plugin on a host can be problematic if the same host is later used as a new Kubernetes node and a different CNI plugin happens to be deployed in that cluster. It can result in a configuration conflict between CNI plugins.To cleanup the directory, backup its conten",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset/",
    "id": "k8s_00011_qa_170"
  },
  {
    "question": "How does kubeadm reset work?",
    "answer": "kubeadm resetPerforms a best effort revert of changes made by kubeadm init or kubeadm join.SynopsisPerforms a best effort revert of changes made to this host by 'kubeadm init' or 'kubeadm join'The \"reset\" command executes the following phases:preflight Run reset pre-flight checks remove-etcd-member Remove a local etcd member. cleanup-node Run cleanup node. kubeadm reset [flags] Options--cert-dir string Default: \"/etc/kubernetes/pki\"The path to the directory where the certificates are stored. If specified, clean this directory.--cleanup-tmp-dirCleanup the \"/etc/kubernetes/tmp\" directory--config stringPath to a kubeadm configuration file.--cri-socket stringPath to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.--dry-runDon't apply any changes; just output what would be done.-f, --forceReset the node without prompting for confirmation.-h, --helphelp for reset--ignore-preflight-errors stringsA list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.--skip-phases stringsList of phases to be skippedOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.Reset workflowkubeadm reset is responsible for cleaning up a node local file system from files that were created using the kubeadm init or kubeadm join commands. For control-plane nodes reset also removes the local stacked etcd member of this node from the etcd cluster.kubeadm reset phase can be used to execute the separate phases of the above workflow. To skip a list of phases you can use the --skip-phases flag, which works in a similar way to the kubeadm join and kubeadm init phase runners.kubeadm reset also supports the --config flag for passing a ResetConfiguration structure.Cleanup of external etcd memberskubeadm reset will not delete any etcd data if external etcd is used. This means that if you run kubeadm init again using the same etcd endpoints, you will see state from previous clusters.To wipe etcd data it is recommended you use a client like etcdctl, such as:etcdctl del \"\" --prefix See the etcd documentation for more information.Cleanup of CNI configurationCNI plugins use the directory /etc/cni/net.d to store their configuration. The kubeadm reset command does not cleanup that directory. Leaving the configuration of a CNI plugin on a host can be problematic if the same host is later used as a new Kubernetes node and a different CNI plugin happens to be deployed in that cluster. It can result in a configuration conflict between CNI plugins.To cleanup the directory, backup its conten",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset/",
    "id": "k8s_00011_qa_171"
  },
  {
    "question": "When would you use kubeadm reset?",
    "answer": "kubeadm resetPerforms a best effort revert of changes made by kubeadm init or kubeadm join.SynopsisPerforms a best effort revert of changes made to this host by 'kubeadm init' or 'kubeadm join'The \"reset\" command executes the following phases:preflight Run reset pre-flight checks remove-etcd-member Remove a local etcd member. cleanup-node Run cleanup node. kubeadm reset [flags] Options--cert-dir string Default: \"/etc/kubernetes/pki\"The path to the directory where the certificates are stored. If specified, clean this directory.--cleanup-tmp-dirCleanup the \"/etc/kubernetes/tmp\" directory--config stringPath to a kubeadm configuration file.--cri-socket stringPath to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.--dry-runDon't apply any changes; just output what would be done.-f, --forceReset the node without prompting for confirmation.-h, --helphelp for reset--ignore-preflight-errors stringsA list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.--skip-phases stringsList of phases to be skippedOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.Reset workflowkubeadm reset is responsible for cleaning up a node local file system from files that were created using the kubeadm init or kubeadm join commands. For control-plane nodes reset also removes the local stacked etcd member of this node from the etcd cluster.kubeadm reset phase can be used to execute the separate phases of the above workflow. To skip a list of phases you can use the --skip-phases flag, which works in a similar way to the kubeadm join and kubeadm init phase runners.kubeadm reset also supports the --config flag for passing a ResetConfiguration structure.Cleanup of external etcd memberskubeadm reset will not delete any etcd data if external etcd is used. This means that if you run kubeadm init again using the same etcd endpoints, you will see state from previous clusters.To wipe etcd data it is recommended you use a client like etcdctl, such as:etcdctl del \"\" --prefix See the etcd documentation for more information.Cleanup of CNI configurationCNI plugins use the directory /etc/cni/net.d to store their configuration. The kubeadm reset command does not cleanup that directory. Leaving the configuration of a CNI plugin on a host can be problematic if the same host is later used as a new Kubernetes node and a different CNI plugin happens to be deployed in that cluster. It can result in a configuration conflict between CNI plugins.To cleanup the directory, backup its conten",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset/",
    "id": "k8s_00011_qa_172"
  },
  {
    "question": "What are the benefits of kubeadm reset?",
    "answer": "kubeadm resetPerforms a best effort revert of changes made by kubeadm init or kubeadm join.SynopsisPerforms a best effort revert of changes made to this host by 'kubeadm init' or 'kubeadm join'The \"reset\" command executes the following phases:preflight Run reset pre-flight checks remove-etcd-member Remove a local etcd member. cleanup-node Run cleanup node. kubeadm reset [flags] Options--cert-dir string Default: \"/etc/kubernetes/pki\"The path to the directory where the certificates are stored. If specified, clean this directory.--cleanup-tmp-dirCleanup the \"/etc/kubernetes/tmp\" directory--config stringPath to a kubeadm configuration file.--cri-socket stringPath to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.--dry-runDon't apply any changes; just output what would be done.-f, --forceReset the node without prompting for confirmation.-h, --helphelp for reset--ignore-preflight-errors stringsA list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.--skip-phases stringsList of phases to be skippedOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.Reset workflowkubeadm reset is responsible for cleaning up a node local file system from files that were created using the kubeadm init or kubeadm join commands. For control-plane nodes reset also removes the local stacked etcd member of this node from the etcd cluster.kubeadm reset phase can be used to execute the separate phases of the above workflow. To skip a list of phases you can use the --skip-phases flag, which works in a similar way to the kubeadm join and kubeadm init phase runners.kubeadm reset also supports the --config flag for passing a ResetConfiguration structure.Cleanup of external etcd memberskubeadm reset will not delete any etcd data if external etcd is used. This means that if you run kubeadm init again using the same etcd endpoints, you will see state from previous clusters.To wipe etcd data it is recommended you use a client like etcdctl, such as:etcdctl del \"\" --prefix See the etcd documentation for more information.Cleanup of CNI configurationCNI plugins use the directory /etc/cni/net.d to store their configuration. The kubeadm reset command does not cleanup that directory. Leaving the configuration of a CNI plugin on a host can be problematic if the same host is later used as a new Kubernetes node and a different CNI plugin happens to be deployed in that cluster. It can result in a configuration conflict between CNI plugins.To cleanup the directory, backup its conten",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset/",
    "id": "k8s_00011_qa_173"
  },
  {
    "question": "What is kubeadm reset?",
    "answer": "P e r f o r m s   a   b e s t   e f f o r t   r e v e r t   o f   c h a n g e s   m a d e   b y   k u b e a d m   i n i t   o r   k u b e a d m   j o i n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset/",
    "id": "k8s_00011_section_1_174"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P e r f o r m s   a   b e s t   e f f o r t   r e v e r t   o f   c h a n g e s   m a d e   t o   t h i s   h o s t   b y   ' k u b e a d m   i n i t '   o r   ' k u b e a d m   j o i n '   T h e   \" r e s e t \"   c o m m a n d   e x e c u t e s   t h e   f o l l o w i n g   p h a s e s :   p r e f l i g h t   R u n   r e s e t   p r e - f l i g h t   c h e c k s   r e m o v e - e t c d - m e m b e r   R e m o v e   a   l o c a l   e t c d   m e m b e r .   c l e a n u p - n o d e   R u n   c l e a n u p   n o d e .   k u b e a d m   r e s e t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset/",
    "id": "k8s_00011_section_3_175"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   t o   t h e   d i r e c t o r y   w h e r e   t h e   c e r t i f i c a t e s   a r e   s t o r e d .   I f   s p e c i f i e d ,   c l e a n   t h i s   d i r e c t o r y .   C l e a n u p   t h e   \" / e t c / k u b e r n e t e s / t m p \"   d i r e c t o r y   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   R e s e t   t h e   n o d e   w i t h o u t   p r o m p t i n g   f o r   c o n f i r m a t i o n .   h e l p   f o r   r e s e t   A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   L i s t   o f   p h a s e s   t o   b e   s k i p p e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset/",
    "id": "k8s_00011_section_3_176"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset/",
    "id": "k8s_00011_section_3_177"
  },
  {
    "question": "What is Reset workflow?",
    "answer": "k u b e a d m   r e s e t   i s   r e s p o n s i b l e   f o r   c l e a n i n g   u p   a   n o d e   l o c a l   f i l e   s y s t e m   f r o m   f i l e s   t h a t   w e r e   c r e a t e d   u s i n g   t h e   k u b e a d m   i n i t   o r   k u b e a d m   j o i n   c o m m a n d s .   F o r   c o n t r o l - p l a n e   n o d e s   r e s e t   a l s o   r e m o v e s   t h e   l o c a l   s t a c k e d   e t c d   m e m b e r   o f   t h i s   n o d e   f r o m   t h e   e t c d   c l u s t e r .   k u b e a d m   r e s e t   p h a s e   c a n   b e   u s e d   t o   e x e c u t e   t h e   s e p a r a t e   p h a s e s   o f   t h e   a b o v e   w o r k f l o w .   T o   s k i p   a   l i s t   o f   p h a s e s   y o u   c a n   u s e   t h e   - - s k i p - p h a s e s   f l a g ,   w h i c h   w o r k s   i n   a   s i m i l a r   w a y   t o   t h e   k u b e a d m   j o i n   a n d   k u b e a d m   i n i t   p h a s e   r u n n e r s .   k u b e a d m   r e s e t   a l s o   s u p p o r t s   t h e   - - c o n f i g   f l a g   f o r   p a s s i n g   a   R e s e t C o n f i g u r a t i o n   s t r u c t u r e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset/",
    "id": "k8s_00011_section_3_178"
  },
  {
    "question": "What is Cleanup of external etcd members?",
    "answer": "k u b e a d m   r e s e t   w i l l   n o t   d e l e t e   a n y   e t c d   d a t a   i f   e x t e r n a l   e t c d   i s   u s e d .   T h i s   m e a n s   t h a t   i f   y o u   r u n   k u b e a d m   i n i t   a g a i n   u s i n g   t h e   s a m e   e t c d   e n d p o i n t s ,   y o u   w i l l   s e e   s t a t e   f r o m   p r e v i o u s   c l u s t e r s .   T o   w i p e   e t c d   d a t a   i t   i s   r e c o m m e n d e d   y o u   u s e   a   c l i e n t   l i k e   e t c d c t l ,   s u c h   a s :   e t c d c t l   d e l   \" \"   - - p r e f i x   S e e   t h e   e t c d   d o c u m e n t a t i o n   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset/",
    "id": "k8s_00011_section_3_179"
  },
  {
    "question": "What is Cleanup of CNI configuration?",
    "answer": "C N I   p l u g i n s   u s e   t h e   d i r e c t o r y   / e t c / c n i / n e t . d   t o   s t o r e   t h e i r   c o n f i g u r a t i o n .   T h e   k u b e a d m   r e s e t   c o m m a n d   d o e s   n o t   c l e a n u p   t h a t   d i r e c t o r y .   L e a v i n g   t h e   c o n f i g u r a t i o n   o f   a   C N I   p l u g i n   o n   a   h o s t   c a n   b e   p r o b l e m a t i c   i f   t h e   s a m e   h o s t   i s   l a t e r   u s e d   a s   a   n e w   K u b e r n e t e s   n o d e   a n d   a   d i f f e r e n t   C N I   p l u g i n   h a p p e n s   t o   b e   d e p l o y e d   i n   t h a t   c l u s t e r .   I t   c a n   r e s u l t   i n   a   c o n f i g u r a t i o n   c o n f l i c t   b e t w e e n   C N I   p l u g i n s .   T o   c l e a n u p   t h e   d i r e c t o r y ,   b a c k u p   i t s   c o n t e n t s   i f   n e e d e d   a n d   t h e n   e x e c u t e   t h e   f o l l o w i n g   c o m m a n d :   s u d o   r m   - r f   / e t c / c n i / n e t . d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset/",
    "id": "k8s_00011_section_3_180"
  },
  {
    "question": "What is Cleanup of network traffic rules?",
    "answer": "T h e   k u b e a d m   r e s e t   c o m m a n d   d o e s   n o t   c l e a n   a n y   i p t a b l e s ,   n f t a b l e s   o r   I P V S   r u l e s   a p p l i e d   t o   t h e   h o s t   b y   k u b e - p r o x y .   A   c o n t r o l   l o o p   i n   k u b e - p r o x y   e n s u r e s   t h a t   t h e   r u l e s   o n   e a c h   n o d e   h o s t   a r e   s y n c h r o n i z e d .   F o r   a d d i t i o n a l   d e t a i l s   p l e a s e   s e e   V i r t u a l   I P s   a n d   S e r v i c e   P r o x i e s .   L e a v i n g   t h e   r u l e s   w i t h o u t   c l e a n u p   s h o u l d   n o t   c a u s e   a n y   i s s u e s   i f   t h e   h o s t   i s   l a t e r   r e u s e d   a s   a   K u b e r n e t e s   n o d e   o r   i f   i t   w i l l   s e r v e   a   d i f f e r e n t   p u r p o s e .   I f   y o u   w i s h   t o   p e r f o r m   t h i s   c l e a n u p ,   y o u   c a n   u s e   t h e   s a m e   k u b e - p r o x y   c o n t a i n e r   w h i c h   w a s   u s e d   i n   y o u r   c l u s t e r   a n d   t h e   - - c l e a n u p   f l a g   o f   t h e   k u b e - p r o x y   b i n a r y :   d o c k e r   r u n   - - p r i v i l e g e d   - - r m   r e g i s t r y . k 8 s . i o / k u b e - p r o x y : v 1 . 3 4 . 0   s h   - c   \" k u b e - p r o x y   - - c l e a n u p   & &   e c h o   D O N E \"   T h e   o u t p u t   o f   t h e   a b o v e   c o m m a n d   s h o u l d   p r i n t   D O N E   a t   t h e   e n d .   I n s t e a d   o f   D o c k e r ,   y o u   c a n   u s e   y o u r   p r e f e r r e d   c o n t a i n e r   r u n t i m e   t o   s t a r t   t h e   c o n t a i n e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset/",
    "id": "k8s_00011_section_3_181"
  },
  {
    "question": "What is Cleanup of $HOME/.kube?",
    "answer": "T h e   $ H O M E / . k u b e   d i r e c t o r y   t y p i c a l l y   c o n t a i n s   c o n f i g u r a t i o n   f i l e s   a n d   k u b e c t l   c a c h e .   W h i l e   n o t   c l e a n i n g   t h e   c o n t e n t s   o f   $ H O M E / . k u b e / c a c h e   i s   n o t   a n   i s s u e ,   t h e r e   i s   o n e   i m p o r t a n t   f i l e   i n   t h e   d i r e c t o r y .   T h a t   i s   $ H O M E / . k u b e / c o n f i g   a n d   i t   i s   u s e d   b y   k u b e c t l   t o   a u t h e n t i c a t e   t o   t h e   K u b e r n e t e s   A P I   s e r v e r .   A f t e r   k u b e a d m   i n i t   f i n i s h e s ,   t h e   u s e r   i s   i n s t r u c t e d   t o   c o p y   t h e   / e t c / k u b e r n e t e s / a d m i n . c o n f   f i l e   t o   t h e   $ H O M E / . k u b e / c o n f i g   l o c a t i o n   a n d   g r a n t   t h e   c u r r e n t   u s e r   a c c e s s   t o   i t .   T h e   k u b e a d m   r e s e t   c o m m a n d   d o e s   n o t   c l e a n   a n y   o f   t h e   c o n t e n t s   o f   t h e   $ H O M E / . k u b e   d i r e c t o r y .   L e a v i n g   t h e   $ H O M E / . k u b e / c o n f i g   f i l e   w i t h o u t   d e l e t i n g   i t ,   c a n   b e   p r o b l e m a t i c   d e p e n d i n g   o n   w h o   w i l l   h a v e   a c c e s s   t o   t h i s   h o s t   a f t e r   k u b e a d m   r e s e t   w a s   c a l l e d .   I f   t h e   s a m e   c l u s t e r   c o n t i n u e s   t o   e x i s t ,   i t   i s   h i g h l y   r e c o m m e n d e d   t o   d e l e t e   t h e   f i l e ,   a s   t h e   a d m i n   c r e d e n t i a l s   s t o r e d   i n   i t   w i l l   c o n t i n u e   t o   b e   v a l i d .   T o   c l e a n u p   t h e   d i r e c t o r y ,   e x a m i n e   i t s   c o n t e n t s ,   p e r f o r m   b a c k u p   i f   n e e d e d   a n d   e x e c u t e   t h e   f o l l o w i n g   c o m m a n d :   r m   - r f   $ H O M E / . k u b e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset/",
    "id": "k8s_00011_section_3_182"
  },
  {
    "question": "What is Graceful kube-apiserver shutdown?",
    "answer": "I f   y o u   h a v e   y o u r   k u b e - a p i s e r v e r   c o n f i g u r e d   w i t h   t h e   - - s h u t d o w n - d e l a y - d u r a t i o n   f l a g ,   y o u   c a n   r u n   t h e   f o l l o w i n g   c o m m a n d s   t o   a t t e m p t   a   g r a c e f u l   s h u t d o w n   f o r   t h e   r u n n i n g   A P I   s e r v e r   P o d ,   b e f o r e   y o u   r u n   k u b e a d m   r e s e t :   y q   e v a l   - i   ' . s p e c . c o n t a i n e r s [ 0 ] . c o m m a n d   =   [ ] '   / e t c / k u b e r n e t e s / m a n i f e s t s / k u b e - a p i s e r v e r . y a m l   t i m e o u t   6 0   s h   - c   ' w h i l e   p g r e p   k u b e - a p i s e r v e r   > / d e v / n u l l ;   d o   s l e e p   1 ;   d o n e '   | |   t r u e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset/",
    "id": "k8s_00011_section_3_183"
  },
  {
    "question": "What is What's next?",
    "answer": "k u b e a d m   i n i t   t o   b o o t s t r a p   a   K u b e r n e t e s   c o n t r o l - p l a n e   n o d e k u b e a d m   j o i n   t o   b o o t s t r a p   a   K u b e r n e t e s   w o r k e r   n o d e   a n d   j o i n   i t   t o   t h e   c l u s t e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset/",
    "id": "k8s_00011_section_2_184"
  },
  {
    "question": "What is Kubelet Configuration (v1alpha1)?",
    "answer": "Kubelet Configuration (v1alpha1)Resource TypesCredentialProviderConfigImagePullIntentImagePulledRecordCredentialProviderConfigCredentialProviderConfig is the configuration containing information about each exec credential provider. Kubelet reads this configuration from disk and enables each provider as specified by the CredentialProvider type.FieldDescriptionapiVersionstringkubelet.config.k8s.io/v1alpha1kindstringCredentialProviderConfigproviders [Required][]CredentialProviderproviders is a list of credential provider plugins that will be enabled by the kubelet. Multiple providers may match against a single image, in which case credentials from all providers will be returned to the kubelet. If multiple providers are called for a single image, the results are combined. If providers return overlapping auth keys, the value from the provider earlier in this list is attempted first.ImagePullIntentImagePullIntent is a record of the kubelet attempting to pull an image.FieldDescriptionapiVersionstringkubelet.config.k8s.io/v1alpha1kindstringImagePullIntentimage [Required]stringImage is the image spec from a Container's image field. The filename is a SHA-256 hash of this value. This is to avoid filename-unsafe characters like ':' and '/'.ImagePulledRecordImagePullRecord is a record of an image that was pulled by the kubelet.If there are no records in the kubernetesSecrets field and both nodeWideCredentials and anonymous are false, credentials must be re-checked the",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1alpha1/",
    "id": "k8s_00012_qa_185"
  },
  {
    "question": "How does Kubelet Configuration (v1alpha1) work?",
    "answer": "Kubelet Configuration (v1alpha1)Resource TypesCredentialProviderConfigImagePullIntentImagePulledRecordCredentialProviderConfigCredentialProviderConfig is the configuration containing information about each exec credential provider. Kubelet reads this configuration from disk and enables each provider as specified by the CredentialProvider type.FieldDescriptionapiVersionstringkubelet.config.k8s.io/v1alpha1kindstringCredentialProviderConfigproviders [Required][]CredentialProviderproviders is a list of credential provider plugins that will be enabled by the kubelet. Multiple providers may match against a single image, in which case credentials from all providers will be returned to the kubelet. If multiple providers are called for a single image, the results are combined. If providers return overlapping auth keys, the value from the provider earlier in this list is attempted first.ImagePullIntentImagePullIntent is a record of the kubelet attempting to pull an image.FieldDescriptionapiVersionstringkubelet.config.k8s.io/v1alpha1kindstringImagePullIntentimage [Required]stringImage is the image spec from a Container's image field. The filename is a SHA-256 hash of this value. This is to avoid filename-unsafe characters like ':' and '/'.ImagePulledRecordImagePullRecord is a record of an image that was pulled by the kubelet.If there are no records in the kubernetesSecrets field and both nodeWideCredentials and anonymous are false, credentials must be re-checked the",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1alpha1/",
    "id": "k8s_00012_qa_186"
  },
  {
    "question": "When would you use Kubelet Configuration (v1alpha1)?",
    "answer": "Kubelet Configuration (v1alpha1)Resource TypesCredentialProviderConfigImagePullIntentImagePulledRecordCredentialProviderConfigCredentialProviderConfig is the configuration containing information about each exec credential provider. Kubelet reads this configuration from disk and enables each provider as specified by the CredentialProvider type.FieldDescriptionapiVersionstringkubelet.config.k8s.io/v1alpha1kindstringCredentialProviderConfigproviders [Required][]CredentialProviderproviders is a list of credential provider plugins that will be enabled by the kubelet. Multiple providers may match against a single image, in which case credentials from all providers will be returned to the kubelet. If multiple providers are called for a single image, the results are combined. If providers return overlapping auth keys, the value from the provider earlier in this list is attempted first.ImagePullIntentImagePullIntent is a record of the kubelet attempting to pull an image.FieldDescriptionapiVersionstringkubelet.config.k8s.io/v1alpha1kindstringImagePullIntentimage [Required]stringImage is the image spec from a Container's image field. The filename is a SHA-256 hash of this value. This is to avoid filename-unsafe characters like ':' and '/'.ImagePulledRecordImagePullRecord is a record of an image that was pulled by the kubelet.If there are no records in the kubernetesSecrets field and both nodeWideCredentials and anonymous are false, credentials must be re-checked the",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1alpha1/",
    "id": "k8s_00012_qa_187"
  },
  {
    "question": "What are the benefits of Kubelet Configuration (v1alpha1)?",
    "answer": "Kubelet Configuration (v1alpha1)Resource TypesCredentialProviderConfigImagePullIntentImagePulledRecordCredentialProviderConfigCredentialProviderConfig is the configuration containing information about each exec credential provider. Kubelet reads this configuration from disk and enables each provider as specified by the CredentialProvider type.FieldDescriptionapiVersionstringkubelet.config.k8s.io/v1alpha1kindstringCredentialProviderConfigproviders [Required][]CredentialProviderproviders is a list of credential provider plugins that will be enabled by the kubelet. Multiple providers may match against a single image, in which case credentials from all providers will be returned to the kubelet. If multiple providers are called for a single image, the results are combined. If providers return overlapping auth keys, the value from the provider earlier in this list is attempted first.ImagePullIntentImagePullIntent is a record of the kubelet attempting to pull an image.FieldDescriptionapiVersionstringkubelet.config.k8s.io/v1alpha1kindstringImagePullIntentimage [Required]stringImage is the image spec from a Container's image field. The filename is a SHA-256 hash of this value. This is to avoid filename-unsafe characters like ':' and '/'.ImagePulledRecordImagePullRecord is a record of an image that was pulled by the kubelet.If there are no records in the kubernetesSecrets field and both nodeWideCredentials and anonymous are false, credentials must be re-checked the",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1alpha1/",
    "id": "k8s_00012_qa_188"
  },
  {
    "question": "What is Resource Types?",
    "answer": "C r e d e n t i a l P r o v i d e r C o n f i g I m a g e P u l l I n t e n t I m a g e P u l l e d R e c o r d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1alpha1/",
    "id": "k8s_00012_section_2_189"
  },
  {
    "question": "What is CredentialProviderConfig?",
    "answer": "C r e d e n t i a l P r o v i d e r C o n f i g   i s   t h e   c o n f i g u r a t i o n   c o n t a i n i n g   i n f o r m a t i o n   a b o u t   e a c h   e x e c   c r e d e n t i a l   p r o v i d e r .   K u b e l e t   r e a d s   t h i s   c o n f i g u r a t i o n   f r o m   d i s k   a n d   e n a b l e s   e a c h   p r o v i d e r   a s   s p e c i f i e d   b y   t h e   C r e d e n t i a l P r o v i d e r   t y p e .   p r o v i d e r s   i s   a   l i s t   o f   c r e d e n t i a l   p r o v i d e r   p l u g i n s   t h a t   w i l l   b e   e n a b l e d   b y   t h e   k u b e l e t .   M u l t i p l e   p r o v i d e r s   m a y   m a t c h   a g a i n s t   a   s i n g l e   i m a g e ,   i n   w h i c h   c a s e   c r e d e n t i a l s   f r o m   a l l   p r o v i d e r s   w i l l   b e   r e t u r n e d   t o   t h e   k u b e l e t .   I f   m u l t i p l e   p r o v i d e r s   a r e   c a l l e d   f o r   a   s i n g l e   i m a g e ,   t h e   r e s u l t s   a r e   c o m b i n e d .   I f   p r o v i d e r s   r e t u r n   o v e r l a p p i n g   a u t h   k e y s ,   t h e   v a l u e   f r o m   t h e   p r o v i d e r   e a r l i e r   i n   t h i s   l i s t   i s   a t t e m p t e d   f i r s t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1alpha1/",
    "id": "k8s_00012_section_2_190"
  },
  {
    "question": "What is ImagePullIntent?",
    "answer": "I m a g e P u l l I n t e n t   i s   a   r e c o r d   o f   t h e   k u b e l e t   a t t e m p t i n g   t o   p u l l   a n   i m a g e .   I m a g e   i s   t h e   i m a g e   s p e c   f r o m   a   C o n t a i n e r ' s   i m a g e   f i e l d .   T h e   f i l e n a m e   i s   a   S H A - 2 5 6   h a s h   o f   t h i s   v a l u e .   T h i s   i s   t o   a v o i d   f i l e n a m e - u n s a f e   c h a r a c t e r s   l i k e   ' : '   a n d   ' / ' .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1alpha1/",
    "id": "k8s_00012_section_2_191"
  },
  {
    "question": "What is ImagePulledRecord?",
    "answer": "I m a g e P u l l R e c o r d   i s   a   r e c o r d   o f   a n   i m a g e   t h a t   w a s   p u l l e d   b y   t h e   k u b e l e t .   I f   t h e r e   a r e   n o   r e c o r d s   i n   t h e   k u b e r n e t e s S e c r e t s   f i e l d   a n d   b o t h   n o d e W i d e C r e d e n t i a l s   a n d   a n o n y m o u s   a r e   f a l s e ,   c r e d e n t i a l s   m u s t   b e   r e - c h e c k e d   t h e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1alpha1/",
    "id": "k8s_00012_section_2_192"
  },
  {
    "question": "What is CredentialProvider?",
    "answer": "A p p e a r s   i n :   C r e d e n t i a l P r o v i d e r C o n f i g   C r e d e n t i a l P r o v i d e r   r e p r e s e n t s   a n   e x e c   p l u g i n   t o   b e   i n v o k e d   b y   t h e   k u b e l e t .   T h e   p l u g i n   i s   o n l y   i n v o k e d   w h e n   a n   i m a g e   b e i n g   p u l l e d   m a t c h e s   t h e   i m a g e s   h a n d l e d   b y   t h e   p l u g i n   ( s e e   m a t c h I m a g e s ) .   n a m e   i s   t h e   r e q u i r e d   n a m e   o f   t h e   c r e d e n t i a l   p r o v i d e r .   I t   m u s t   m a t c h   t h e   n a m e   o f   t h e   p r o v i d e r   e x e c u t a b l e   a s   s e e n   b y   t h e   k u b e l e t .   T h e   e x e c u t a b l e   m u s t   b e   i n   t h e   k u b e l e t ' s   b i n   d i r e c t o r y   ( s e t   b y   t h e   - - i m a g e - c r e d e n t i a l - p r o v i d e r - b i n - d i r   f l a g ) .   R e q u i r e d   t o   b e   u n i q u e   a c r o s s   a l l   p r o v i d e r s .   m a t c h I m a g e s   i s   a   r e q u i r e d   l i s t   o f   s t r i n g s   u s e d   t o   m a t c h   a g a i n s t   i m a g e s   i n   o r d e r   t o   d e t e r m i n e   i f   t h i s   p r o v i d e r   s h o u l d   b e   i n v o k e d .   I f   o n e   o f   t h e   s t r i n g s   m a t c h e s   t h e   r e q u e s t e d   i m a g e   f r o m   t h e   k u b e l e t ,   t h e   p l u g i n   w i l l   b e   i n v o k e d   a n d   g i v e n   a   c h a n c e   t o   p r o v i d e   c r e d e n t i a l s .   I m a g e s   a r e   e x p e c t e d   t o   c o n t a i n   t h e   r e g i s t r y   d o m a i n   a n d   U R L   p a t h .   E a c h   e n t r y   i n   m a t c h I m a g e s   i s   a   p a t t e r n   w h i c h   c a n   o p t i o n a l l y   c o n t a i n   a   p o r t   a n d   a   p a t h .   G l o b s   c a n   b e   u s e d   i n   t h e   d o m a i n ,   b u t   n o t   i n   t h e   p o r t   o r   t h e   p a t h .   G l o b s   a r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1alpha1/",
    "id": "k8s_00012_section_2_193"
  },
  {
    "question": "What is ExecEnvVar?",
    "answer": "A p p e a r s   i n :   C r e d e n t i a l P r o v i d e r   E x e c E n v V a r   i s   u s e d   f o r   s e t t i n g   e n v i r o n m e n t   v a r i a b l e s   w h e n   e x e c u t i n g   a n   e x e c - b a s e d   c r e d e n t i a l   p l u g i n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1alpha1/",
    "id": "k8s_00012_section_2_194"
  },
  {
    "question": "What is ImagePullCredentials?",
    "answer": "A p p e a r s   i n :   I m a g e P u l l e d R e c o r d   I m a g e P u l l C r e d e n t i a l s   d e s c r i b e   c r e d e n t i a l s   t h a t   c a n   b e   u s e d   t o   p u l l   a n   i m a g e .   K u b e r n e t e S e c r e t C o o r d i n a t e s   i s   a n   i n d e x   o f   c o o r d i n a t e s   o f   a l l   t h e   k u b e r n e t e s   s e c r e t s   t h a t   w e r e   u s e d   t o   p u l l   t h e   i m a g e .   N o d e P o d s A c c e s s i b l e   i s   a   f l a g   d e n o t i n g   t h e   p u l l   c r e d e n t i a l s   a r e   a c c e s s i b l e   b y   a l l   t h e   p o d s   o n   t h e   n o d e ,   o r   t h a t   n o   c r e d e n t i a l s   a r e   n e e d e d   f o r   t h e   p u l l .   I f   t r u e ,   i t   i s   m u t u a l l y   e x c l u s i v e   w i t h   t h e   k u b e r n e t e s S e c r e t s   f i e l d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1alpha1/",
    "id": "k8s_00012_section_2_195"
  },
  {
    "question": "What is ImagePullSecret?",
    "answer": "A p p e a r s   i n :   I m a g e P u l l C r e d e n t i a l s   I m a g e P u l l S e c r e t   i s   a   r e p r e s e n t a t i o n   o f   a   K u b e r n e t e s   s e c r e t   o b j e c t   c o o r d i n a t e s   a l o n g   w i t h   a   c r e d e n t i a l   h a s h   o f   t h e   p u l l   s e c r e t   c r e d e n t i a l s   t h i s   o b j e c t   c o n t a i n s .   C r e d e n t i a l H a s h   i s   a   S H A - 2 5 6   r e t r i e v e d   b y   h a s h i n g   t h e   i m a g e   p u l l   c r e d e n t i a l s   c o n t e n t   o f   t h e   s e c r e t   s p e c i f i e d   b y   t h e   U I D / N a m e s p a c e / N a m e   c o o r d i n a t e s .   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1alpha1/",
    "id": "k8s_00012_section_2_196"
  },
  {
    "question": "What is Managing Secrets using Configuration File?",
    "answer": "Managing Secrets using Configuration FileCreating Secret objects using resource configuration file.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesCreate the SecretYou can define the Secret object in a manifest first, in JSON or YAML format, and then create that object. The Secret resource contains two maps: data and stringData. The data field is used to store arbitrary data, encoded using base64. The stringData field is provided for convenience, and it allows you to provide the same data as unencoded strings. The keys of data and stringData must consist of alphanumeric characters, -, _ or ..The following example stores two strings in a Secret using the data field.Convert the strings to base64:echo -n 'admin' | base64 echo -n '1f2d1e2e67df' | base64 Note:The serialized JSON and YAML values of Secret data are encoded as base64 strings. Newlines are not valid within these strings and must be omitted. When using the base64 utility on Darwin/macOS, users should avoid using the -b option to split long lines. Conversely, Linux users should add the option -w 0 to base64 commands or the pipeline base64 | tr -d '\\n' if the -w option is not available.The output is similar to:YWRtaW4= MWYyZDFlMmU2N2Rm Create the manifest:apiVersion: v1 kind: Secret metadata: name: mysecret type: Opaque data: username: YWRtaW4= password: MWYyZDFlMmU2N2Rm Note that the name of a Secret object must be a valid DNS subdomain name.Create the Secret using kubectl apply:kubectl apply -f ./secret.yaml The output is similar to:secret/mysecret created To verify that the Secret was created and to decode the Secret data, refer to Managing Secrets using kubectl.Specify unencoded data when creating a SecretFor certain scenarios, you may wish to use the stringData field instead. This field allows you to put a non-base64 encoded string directly into the Secret, and the string will be encoded for you when the Secret is created or updated.A practical example of this might be where you are deploying an application that uses a Secret to store a configuration file, and you want to populate parts of that configuration file during your deployment process.For example, if your application uses the following configuration file:apiUrl: \"https://my.api.com/api/v1\" username: \"<user>\" password: \"<password>\" You could store this in a Secret using the following definition:apiVersion: v1 kind: Secret metadata: name: mysecret type: Opaque stringData: config.yaml: | apiUrl: \"https://my.api.com/api/v1\" username: <user> password: <password> Note:The stringData field for a Secret does not work well with server-side apply.When yo",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-config-file/",
    "id": "k8s_00013_qa_197"
  },
  {
    "question": "How does Managing Secrets using Configuration File work?",
    "answer": "Managing Secrets using Configuration FileCreating Secret objects using resource configuration file.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesCreate the SecretYou can define the Secret object in a manifest first, in JSON or YAML format, and then create that object. The Secret resource contains two maps: data and stringData. The data field is used to store arbitrary data, encoded using base64. The stringData field is provided for convenience, and it allows you to provide the same data as unencoded strings. The keys of data and stringData must consist of alphanumeric characters, -, _ or ..The following example stores two strings in a Secret using the data field.Convert the strings to base64:echo -n 'admin' | base64 echo -n '1f2d1e2e67df' | base64 Note:The serialized JSON and YAML values of Secret data are encoded as base64 strings. Newlines are not valid within these strings and must be omitted. When using the base64 utility on Darwin/macOS, users should avoid using the -b option to split long lines. Conversely, Linux users should add the option -w 0 to base64 commands or the pipeline base64 | tr -d '\\n' if the -w option is not available.The output is similar to:YWRtaW4= MWYyZDFlMmU2N2Rm Create the manifest:apiVersion: v1 kind: Secret metadata: name: mysecret type: Opaque data: username: YWRtaW4= password: MWYyZDFlMmU2N2Rm Note that the name of a Secret object must be a valid DNS subdomain name.Create the Secret using kubectl apply:kubectl apply -f ./secret.yaml The output is similar to:secret/mysecret created To verify that the Secret was created and to decode the Secret data, refer to Managing Secrets using kubectl.Specify unencoded data when creating a SecretFor certain scenarios, you may wish to use the stringData field instead. This field allows you to put a non-base64 encoded string directly into the Secret, and the string will be encoded for you when the Secret is created or updated.A practical example of this might be where you are deploying an application that uses a Secret to store a configuration file, and you want to populate parts of that configuration file during your deployment process.For example, if your application uses the following configuration file:apiUrl: \"https://my.api.com/api/v1\" username: \"<user>\" password: \"<password>\" You could store this in a Secret using the following definition:apiVersion: v1 kind: Secret metadata: name: mysecret type: Opaque stringData: config.yaml: | apiUrl: \"https://my.api.com/api/v1\" username: <user> password: <password> Note:The stringData field for a Secret does not work well with server-side apply.When yo",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-config-file/",
    "id": "k8s_00013_qa_198"
  },
  {
    "question": "When would you use Managing Secrets using Configuration File?",
    "answer": "Managing Secrets using Configuration FileCreating Secret objects using resource configuration file.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesCreate the SecretYou can define the Secret object in a manifest first, in JSON or YAML format, and then create that object. The Secret resource contains two maps: data and stringData. The data field is used to store arbitrary data, encoded using base64. The stringData field is provided for convenience, and it allows you to provide the same data as unencoded strings. The keys of data and stringData must consist of alphanumeric characters, -, _ or ..The following example stores two strings in a Secret using the data field.Convert the strings to base64:echo -n 'admin' | base64 echo -n '1f2d1e2e67df' | base64 Note:The serialized JSON and YAML values of Secret data are encoded as base64 strings. Newlines are not valid within these strings and must be omitted. When using the base64 utility on Darwin/macOS, users should avoid using the -b option to split long lines. Conversely, Linux users should add the option -w 0 to base64 commands or the pipeline base64 | tr -d '\\n' if the -w option is not available.The output is similar to:YWRtaW4= MWYyZDFlMmU2N2Rm Create the manifest:apiVersion: v1 kind: Secret metadata: name: mysecret type: Opaque data: username: YWRtaW4= password: MWYyZDFlMmU2N2Rm Note that the name of a Secret object must be a valid DNS subdomain name.Create the Secret using kubectl apply:kubectl apply -f ./secret.yaml The output is similar to:secret/mysecret created To verify that the Secret was created and to decode the Secret data, refer to Managing Secrets using kubectl.Specify unencoded data when creating a SecretFor certain scenarios, you may wish to use the stringData field instead. This field allows you to put a non-base64 encoded string directly into the Secret, and the string will be encoded for you when the Secret is created or updated.A practical example of this might be where you are deploying an application that uses a Secret to store a configuration file, and you want to populate parts of that configuration file during your deployment process.For example, if your application uses the following configuration file:apiUrl: \"https://my.api.com/api/v1\" username: \"<user>\" password: \"<password>\" You could store this in a Secret using the following definition:apiVersion: v1 kind: Secret metadata: name: mysecret type: Opaque stringData: config.yaml: | apiUrl: \"https://my.api.com/api/v1\" username: <user> password: <password> Note:The stringData field for a Secret does not work well with server-side apply.When yo",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-config-file/",
    "id": "k8s_00013_qa_199"
  },
  {
    "question": "What are the benefits of Managing Secrets using Configuration File?",
    "answer": "Managing Secrets using Configuration FileCreating Secret objects using resource configuration file.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesCreate the SecretYou can define the Secret object in a manifest first, in JSON or YAML format, and then create that object. The Secret resource contains two maps: data and stringData. The data field is used to store arbitrary data, encoded using base64. The stringData field is provided for convenience, and it allows you to provide the same data as unencoded strings. The keys of data and stringData must consist of alphanumeric characters, -, _ or ..The following example stores two strings in a Secret using the data field.Convert the strings to base64:echo -n 'admin' | base64 echo -n '1f2d1e2e67df' | base64 Note:The serialized JSON and YAML values of Secret data are encoded as base64 strings. Newlines are not valid within these strings and must be omitted. When using the base64 utility on Darwin/macOS, users should avoid using the -b option to split long lines. Conversely, Linux users should add the option -w 0 to base64 commands or the pipeline base64 | tr -d '\\n' if the -w option is not available.The output is similar to:YWRtaW4= MWYyZDFlMmU2N2Rm Create the manifest:apiVersion: v1 kind: Secret metadata: name: mysecret type: Opaque data: username: YWRtaW4= password: MWYyZDFlMmU2N2Rm Note that the name of a Secret object must be a valid DNS subdomain name.Create the Secret using kubectl apply:kubectl apply -f ./secret.yaml The output is similar to:secret/mysecret created To verify that the Secret was created and to decode the Secret data, refer to Managing Secrets using kubectl.Specify unencoded data when creating a SecretFor certain scenarios, you may wish to use the stringData field instead. This field allows you to put a non-base64 encoded string directly into the Secret, and the string will be encoded for you when the Secret is created or updated.A practical example of this might be where you are deploying an application that uses a Secret to store a configuration file, and you want to populate parts of that configuration file during your deployment process.For example, if your application uses the following configuration file:apiUrl: \"https://my.api.com/api/v1\" username: \"<user>\" password: \"<password>\" You could store this in a Secret using the following definition:apiVersion: v1 kind: Secret metadata: name: mysecret type: Opaque stringData: config.yaml: | apiUrl: \"https://my.api.com/api/v1\" username: <user> password: <password> Note:The stringData field for a Secret does not work well with server-side apply.When yo",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-config-file/",
    "id": "k8s_00013_qa_200"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-config-file/",
    "id": "k8s_00013_section_2_201"
  },
  {
    "question": "What is Create the Secret?",
    "answer": "Y o u   c a n   d e f i n e   t h e   S e c r e t   o b j e c t   i n   a   m a n i f e s t   f i r s t ,   i n   J S O N   o r   Y A M L   f o r m a t ,   a n d   t h e n   c r e a t e   t h a t   o b j e c t .   T h e   S e c r e t   r e s o u r c e   c o n t a i n s   t w o   m a p s :   d a t a   a n d   s t r i n g D a t a .   T h e   d a t a   f i e l d   i s   u s e d   t o   s t o r e   a r b i t r a r y   d a t a ,   e n c o d e d   u s i n g   b a s e 6 4 .   T h e   s t r i n g D a t a   f i e l d   i s   p r o v i d e d   f o r   c o n v e n i e n c e ,   a n d   i t   a l l o w s   y o u   t o   p r o v i d e   t h e   s a m e   d a t a   a s   u n e n c o d e d   s t r i n g s .   T h e   k e y s   o f   d a t a   a n d   s t r i n g D a t a   m u s t   c o n s i s t   o f   a l p h a n u m e r i c   c h a r a c t e r s ,   - ,   _   o r   . .   T h e   f o l l o w i n g   e x a m p l e   s t o r e s   t w o   s t r i n g s   i n   a   S e c r e t   u s i n g   t h e   d a t a   f i e l d .   C o n v e r t   t h e   s t r i n g s   t o   b a s e 6 4 : e c h o   - n   ' a d m i n '   |   b a s e 6 4   e c h o   - n   ' 1 f 2 d 1 e 2 e 6 7 d f '   |   b a s e 6 4   N o t e : T h e   s e r i a l i z e d   J S O N   a n d   Y A M L   v a l u e s   o f   S e c r e t   d a t a   a r e   e n c o d e d   a s   b a s e 6 4   s t r i n g s .   N e w l i n e s   a r e   n o t   v a l i d   w i t h i n   t h e s e   s t r i n g s   a n d   m u s t   b e   o m i t t e d .   W h e n   u s i n g   t h e   b a s e 6 4   u t i l i t y   o n   D a r w i n / m a c O S ,   u s e r s   s h o u l d   a v o i d   u s i n g   t h e   - b   o p t i o n   t o   s p l i t   l o n g   l i n e s .   C o n v e r s e l y ,   L i n u x   u s e r s   s h o u l d   a d d   t h e   o p t i o n   - w   0   t o   b a s e 6 4   c o m m a n d s   o r   t h e   p i p e l i n e   b a s e 6 4   |   t r   - d   ' \\ n '   i f   t h e   - w   o p t i o n   i s   n o t   a v a i l a b l e . T h e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-config-file/",
    "id": "k8s_00013_section_2_202"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   o u t p u t   i s   s i m i l a r   t o :   Y W R t a W 4 =   M W Y y Z D F l M m U 2 N 2 R m   C r e a t e   t h e   m a n i f e s t :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   m y s e c r e t   t y p e :   O p a q u e   d a t a :   u s e r n a m e :   Y W R t a W 4 =   p a s s w o r d :   M W Y y Z D F l M m U 2 N 2 R m   N o t e   t h a t   t h e   n a m e   o f   a   S e c r e t   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   C r e a t e   t h e   S e c r e t   u s i n g   k u b e c t l   a p p l y :   k u b e c t l   a p p l y   - f   . / s e c r e t . y a m l   T h e   o u t p u t   i s   s i m i l a r   t o :   s e c r e t / m y s e c r e t   c r e a t e d   T o   v e r i f y   t h a t   t h e   S e c r e t   w a s   c r e a t e d   a n d   t o   d e c o d e   t h e   S e c r e t   d a t a ,   r e f e r   t o   M a n a g i n g   S e c r e t s   u s i n g   k u b e c t l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-config-file/",
    "id": "k8s_00013_section_4_203"
  },
  {
    "question": "What is Specify unencoded data when creating a Secret?",
    "answer": "F o r   c e r t a i n   s c e n a r i o s ,   y o u   m a y   w i s h   t o   u s e   t h e   s t r i n g D a t a   f i e l d   i n s t e a d .   T h i s   f i e l d   a l l o w s   y o u   t o   p u t   a   n o n - b a s e 6 4   e n c o d e d   s t r i n g   d i r e c t l y   i n t o   t h e   S e c r e t ,   a n d   t h e   s t r i n g   w i l l   b e   e n c o d e d   f o r   y o u   w h e n   t h e   S e c r e t   i s   c r e a t e d   o r   u p d a t e d .   A   p r a c t i c a l   e x a m p l e   o f   t h i s   m i g h t   b e   w h e r e   y o u   a r e   d e p l o y i n g   a n   a p p l i c a t i o n   t h a t   u s e s   a   S e c r e t   t o   s t o r e   a   c o n f i g u r a t i o n   f i l e ,   a n d   y o u   w a n t   t o   p o p u l a t e   p a r t s   o f   t h a t   c o n f i g u r a t i o n   f i l e   d u r i n g   y o u r   d e p l o y m e n t   p r o c e s s .   F o r   e x a m p l e ,   i f   y o u r   a p p l i c a t i o n   u s e s   t h e   f o l l o w i n g   c o n f i g u r a t i o n   f i l e :   a p i U r l :   \" h t t p s : / / m y . a p i . c o m / a p i / v 1 \"   u s e r n a m e :   \" < u s e r > \"   p a s s w o r d :   \" < p a s s w o r d > \"   Y o u   c o u l d   s t o r e   t h i s   i n   a   S e c r e t   u s i n g   t h e   f o l l o w i n g   d e f i n i t i o n :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   m y s e c r e t   t y p e :   O p a q u e   s t r i n g D a t a :   c o n f i g . y a m l :   |   a p i U r l :   \" h t t p s : / / m y . a p i . c o m / a p i / v 1 \"   u s e r n a m e :   < u s e r >   p a s s w o r d :   < p a s s w o r d >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-config-file/",
    "id": "k8s_00013_section_3_204"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   y o u   r e t r i e v e   t h e   S e c r e t   d a t a ,   t h e   c o m m a n d   r e t u r n s   t h e   e n c o d e d   v a l u e s ,   a n d   n o t   t h e   p l a i n t e x t   v a l u e s   y o u   p r o v i d e d   i n   s t r i n g D a t a .   F o r   e x a m p l e ,   i f   y o u   r u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   g e t   s e c r e t   m y s e c r e t   - o   y a m l   T h e   o u t p u t   i s   s i m i l a r   t o :   a p i V e r s i o n :   v 1   d a t a :   c o n f i g . y a m l :   Y X B p V X J s O i A i a H R 0 c H M 6 L y 9 t e S 5 h c G k u Y 2 9 t L 2 F w a S 9 2 M S I K d X N l c m 5 h b W U 6 I H t 7 d X N l c m 5 h b W V 9 f Q p w Y X N z d 2 9 y Z D o g e 3 t w Y X N z d 2 9 y Z H 1 9   k i n d :   S e c r e t   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   2 0 1 8 - 1 1 - 1 5 T 2 0 : 4 0 : 5 9 Z   n a m e :   m y s e c r e t   n a m e s p a c e :   d e f a u l t   r e s o u r c e V e r s i o n :   \" 7 2 2 5 \"   u i d :   c 2 8 0 a d 2 e - e 9 1 6 - 1 1 e 8 - 9 8 f 2 - 0 2 5 0 0 0 0 0 0 0 0 1   t y p e :   O p a q u e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-config-file/",
    "id": "k8s_00013_section_4_205"
  },
  {
    "question": "What is Specify both data and stringData?",
    "answer": "I f   y o u   s p e c i f y   a   f i e l d   i n   b o t h   d a t a   a n d   s t r i n g D a t a ,   t h e   v a l u e   f r o m   s t r i n g D a t a   i s   u s e d .   F o r   e x a m p l e ,   i f   y o u   d e f i n e   t h e   f o l l o w i n g   S e c r e t :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   m y s e c r e t   t y p e :   O p a q u e   d a t a :   u s e r n a m e :   Y W R t a W 4 =   s t r i n g D a t a :   u s e r n a m e :   a d m i n i s t r a t o r",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-config-file/",
    "id": "k8s_00013_section_3_206"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   S e c r e t   o b j e c t   i s   c r e a t e d   a s   f o l l o w s :   a p i V e r s i o n :   v 1   d a t a :   u s e r n a m e :   Y W R t a W 5 p c 3 R y Y X R v c g = =   k i n d :   S e c r e t   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   2 0 1 8 - 1 1 - 1 5 T 2 0 : 4 6 : 4 6 Z   n a m e :   m y s e c r e t   n a m e s p a c e :   d e f a u l t   r e s o u r c e V e r s i o n :   \" 7 5 7 9 \"   u i d :   9 1 4 6 0 e c b - e 9 1 7 - 1 1 e 8 - 9 8 f 2 - 0 2 5 0 0 0 0 0 0 0 0 1   t y p e :   O p a q u e   Y W R t a W 5 p c 3 R y Y X R v c g = =   d e c o d e s   t o   a d m i n i s t r a t o r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-config-file/",
    "id": "k8s_00013_section_4_207"
  },
  {
    "question": "What is Edit a Secret?",
    "answer": "T o   e d i t   t h e   d a t a   i n   t h e   S e c r e t   y o u   c r e a t e d   u s i n g   a   m a n i f e s t ,   m o d i f y   t h e   d a t a   o r   s t r i n g D a t a   f i e l d   i n   y o u r   m a n i f e s t   a n d   a p p l y   t h e   f i l e   t o   y o u r   c l u s t e r .   Y o u   c a n   e d i t   a n   e x i s t i n g   S e c r e t   o b j e c t   u n l e s s   i t   i s   i m m u t a b l e .   F o r   e x a m p l e ,   i f   y o u   w a n t   t o   c h a n g e   t h e   p a s s w o r d   f r o m   t h e   p r e v i o u s   e x a m p l e   t o   b i r d s a r e n t r e a l ,   d o   t h e   f o l l o w i n g :   E n c o d e   t h e   n e w   p a s s w o r d   s t r i n g : e c h o   - n   ' b i r d s a r e n t r e a l '   |   b a s e 6 4   T h e   o u t p u t   i s   s i m i l a r   t o : Y m l y Z H N h c m V u d H J l Y W w =   U p d a t e   t h e   d a t a   f i e l d   w i t h   y o u r   n e w   p a s s w o r d   s t r i n g : a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   m y s e c r e t   t y p e :   O p a q u e   d a t a :   u s e r n a m e :   Y W R t a W 4 =   p a s s w o r d :   Y m l y Z H N h c m V u d H J l Y W w =   A p p l y   t h e   m a n i f e s t   t o   y o u r   c l u s t e r : k u b e c t l   a p p l y   - f   . / s e c r e t . y a m l   T h e   o u t p u t   i s   s i m i l a r   t o : s e c r e t / m y s e c r e t   c o n f i g u r e d   E n c o d e   t h e   n e w   p a s s w o r d   s t r i n g :   e c h o   - n   ' b i r d s a r e n t r e a l '   |   b a s e 6 4   T h e   o u t p u t   i s   s i m i l a r   t o :   Y m l y Z H N h c m V u d H J l Y W w =   U p d a t e   t h e   d a t a   f i e l d   w i t h   y o u r   n e w   p a s s w o r d   s t r i n g :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   m y s e c r e t   t y p e :   O p a q u e   d a t a :   u s e r n a m e :   Y W R t a W 4 =   p a s s w o r d :   Y m l y Z H ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-config-file/",
    "id": "k8s_00013_section_2_208"
  },
  {
    "question": "What is Clean up?",
    "answer": "T o   d e l e t e   t h e   S e c r e t   y o u   h a v e   c r e a t e d :   k u b e c t l   d e l e t e   s e c r e t   m y s e c r e t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-config-file/",
    "id": "k8s_00013_section_2_209"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   m o r e   a b o u t   t h e   S e c r e t   c o n c e p t L e a r n   h o w   t o   m a n a g e   S e c r e t s   u s i n g   k u b e c t l L e a r n   h o w   t o   m a n a g e   S e c r e t s   u s i n g   k u s t o m i z e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-config-file/",
    "id": "k8s_00013_section_2_210"
  },
  {
    "question": "What is Cloud Controller Manager Administration?",
    "answer": "Cloud Controller Manager AdministrationFEATURE STATE: Kubernetes v1.11 [beta]Since cloud providers develop and release at a different pace compared to the Kubernetes project, abstracting the provider-specific code to the cloud-controller-manager binary allows cloud vendors to evolve independently from the core Kubernetes code.The cloud-controller-manager can be linked to any cloud provider that satisfies cloudprovider.Interface. For backwards compatibility, the cloud-controller-manager provided in the core Kubernetes project uses the same cloud libraries as kube-controller-manager. Cloud providers already supported in Kubernetes core are expected to use the in-tree cloud-controller-manager to transition out of Kubernetes core.AdministrationRequirementsEvery cloud has their own set of requirements for running their own cloud provider integration, it should not be too different from the requirements when running kube-controller-manager. As a general rule of thumb you'll need:cloud authentication/authorization: your cloud may require a token or IAM rules to allow access to their APIskubernetes authentication/authorization: cloud-controller-manager may need RBAC rules set to speak to the kubernetes apiserverhigh availability: like kube-controller-manager, you may want a high available setup for cloud controller manager using leader election (on by default).Running cloud-controller-managerSuccessfully running cloud-controller-manager requires some changes to your cluster configuration.kubelet, kube-apiserver, and kube-controller-manager must be set according to the user's usage of external CCM. If the user has an external CCM (not the internal cloud controller loops in the Kubernetes Controller Manager), then --cloud-provider=external must be specified. Otherwise, it should not be specified.Keep in mind that setting up your cluster to use cloud controller manager will change your cluster behaviour in a few ways:Components that specify --cloud-provider=external will add a taint node.cloudprovider.kubernetes.io/uninitialized with an effect NoSchedule during initialization. This marks the node as needing a second initialization from an external controller before it can be scheduled work. Note that in the event that cloud controller manager is not available, new nodes in the cluster will be left unschedulable. The taint is important since the scheduler may require cloud specific information about nodes such as their region or type (high cpu, gpu, high memory, spot instance, etc).cloud information about nodes in the cluster will no longer be retrieved using local metadata, but instead all API calls to retrieve node information will go through cloud controller manager. This may mean you can restrict access to your cloud API on the kubelets for better security. For larger clusters you may want to consider if cloud controller manager will hit rate limits since it is now responsible for almost all API calls to your cloud from within the cluster.The cloud contr",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/running-cloud-controller/",
    "id": "k8s_00014_qa_211"
  },
  {
    "question": "How does Cloud Controller Manager Administration work?",
    "answer": "Cloud Controller Manager AdministrationFEATURE STATE: Kubernetes v1.11 [beta]Since cloud providers develop and release at a different pace compared to the Kubernetes project, abstracting the provider-specific code to the cloud-controller-manager binary allows cloud vendors to evolve independently from the core Kubernetes code.The cloud-controller-manager can be linked to any cloud provider that satisfies cloudprovider.Interface. For backwards compatibility, the cloud-controller-manager provided in the core Kubernetes project uses the same cloud libraries as kube-controller-manager. Cloud providers already supported in Kubernetes core are expected to use the in-tree cloud-controller-manager to transition out of Kubernetes core.AdministrationRequirementsEvery cloud has their own set of requirements for running their own cloud provider integration, it should not be too different from the requirements when running kube-controller-manager. As a general rule of thumb you'll need:cloud authentication/authorization: your cloud may require a token or IAM rules to allow access to their APIskubernetes authentication/authorization: cloud-controller-manager may need RBAC rules set to speak to the kubernetes apiserverhigh availability: like kube-controller-manager, you may want a high available setup for cloud controller manager using leader election (on by default).Running cloud-controller-managerSuccessfully running cloud-controller-manager requires some changes to your cluster configuration.kubelet, kube-apiserver, and kube-controller-manager must be set according to the user's usage of external CCM. If the user has an external CCM (not the internal cloud controller loops in the Kubernetes Controller Manager), then --cloud-provider=external must be specified. Otherwise, it should not be specified.Keep in mind that setting up your cluster to use cloud controller manager will change your cluster behaviour in a few ways:Components that specify --cloud-provider=external will add a taint node.cloudprovider.kubernetes.io/uninitialized with an effect NoSchedule during initialization. This marks the node as needing a second initialization from an external controller before it can be scheduled work. Note that in the event that cloud controller manager is not available, new nodes in the cluster will be left unschedulable. The taint is important since the scheduler may require cloud specific information about nodes such as their region or type (high cpu, gpu, high memory, spot instance, etc).cloud information about nodes in the cluster will no longer be retrieved using local metadata, but instead all API calls to retrieve node information will go through cloud controller manager. This may mean you can restrict access to your cloud API on the kubelets for better security. For larger clusters you may want to consider if cloud controller manager will hit rate limits since it is now responsible for almost all API calls to your cloud from within the cluster.The cloud contr",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/running-cloud-controller/",
    "id": "k8s_00014_qa_212"
  },
  {
    "question": "When would you use Cloud Controller Manager Administration?",
    "answer": "Cloud Controller Manager AdministrationFEATURE STATE: Kubernetes v1.11 [beta]Since cloud providers develop and release at a different pace compared to the Kubernetes project, abstracting the provider-specific code to the cloud-controller-manager binary allows cloud vendors to evolve independently from the core Kubernetes code.The cloud-controller-manager can be linked to any cloud provider that satisfies cloudprovider.Interface. For backwards compatibility, the cloud-controller-manager provided in the core Kubernetes project uses the same cloud libraries as kube-controller-manager. Cloud providers already supported in Kubernetes core are expected to use the in-tree cloud-controller-manager to transition out of Kubernetes core.AdministrationRequirementsEvery cloud has their own set of requirements for running their own cloud provider integration, it should not be too different from the requirements when running kube-controller-manager. As a general rule of thumb you'll need:cloud authentication/authorization: your cloud may require a token or IAM rules to allow access to their APIskubernetes authentication/authorization: cloud-controller-manager may need RBAC rules set to speak to the kubernetes apiserverhigh availability: like kube-controller-manager, you may want a high available setup for cloud controller manager using leader election (on by default).Running cloud-controller-managerSuccessfully running cloud-controller-manager requires some changes to your cluster configuration.kubelet, kube-apiserver, and kube-controller-manager must be set according to the user's usage of external CCM. If the user has an external CCM (not the internal cloud controller loops in the Kubernetes Controller Manager), then --cloud-provider=external must be specified. Otherwise, it should not be specified.Keep in mind that setting up your cluster to use cloud controller manager will change your cluster behaviour in a few ways:Components that specify --cloud-provider=external will add a taint node.cloudprovider.kubernetes.io/uninitialized with an effect NoSchedule during initialization. This marks the node as needing a second initialization from an external controller before it can be scheduled work. Note that in the event that cloud controller manager is not available, new nodes in the cluster will be left unschedulable. The taint is important since the scheduler may require cloud specific information about nodes such as their region or type (high cpu, gpu, high memory, spot instance, etc).cloud information about nodes in the cluster will no longer be retrieved using local metadata, but instead all API calls to retrieve node information will go through cloud controller manager. This may mean you can restrict access to your cloud API on the kubelets for better security. For larger clusters you may want to consider if cloud controller manager will hit rate limits since it is now responsible for almost all API calls to your cloud from within the cluster.The cloud contr",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/running-cloud-controller/",
    "id": "k8s_00014_qa_213"
  },
  {
    "question": "What are the benefits of Cloud Controller Manager Administration?",
    "answer": "Cloud Controller Manager AdministrationFEATURE STATE: Kubernetes v1.11 [beta]Since cloud providers develop and release at a different pace compared to the Kubernetes project, abstracting the provider-specific code to the cloud-controller-manager binary allows cloud vendors to evolve independently from the core Kubernetes code.The cloud-controller-manager can be linked to any cloud provider that satisfies cloudprovider.Interface. For backwards compatibility, the cloud-controller-manager provided in the core Kubernetes project uses the same cloud libraries as kube-controller-manager. Cloud providers already supported in Kubernetes core are expected to use the in-tree cloud-controller-manager to transition out of Kubernetes core.AdministrationRequirementsEvery cloud has their own set of requirements for running their own cloud provider integration, it should not be too different from the requirements when running kube-controller-manager. As a general rule of thumb you'll need:cloud authentication/authorization: your cloud may require a token or IAM rules to allow access to their APIskubernetes authentication/authorization: cloud-controller-manager may need RBAC rules set to speak to the kubernetes apiserverhigh availability: like kube-controller-manager, you may want a high available setup for cloud controller manager using leader election (on by default).Running cloud-controller-managerSuccessfully running cloud-controller-manager requires some changes to your cluster configuration.kubelet, kube-apiserver, and kube-controller-manager must be set according to the user's usage of external CCM. If the user has an external CCM (not the internal cloud controller loops in the Kubernetes Controller Manager), then --cloud-provider=external must be specified. Otherwise, it should not be specified.Keep in mind that setting up your cluster to use cloud controller manager will change your cluster behaviour in a few ways:Components that specify --cloud-provider=external will add a taint node.cloudprovider.kubernetes.io/uninitialized with an effect NoSchedule during initialization. This marks the node as needing a second initialization from an external controller before it can be scheduled work. Note that in the event that cloud controller manager is not available, new nodes in the cluster will be left unschedulable. The taint is important since the scheduler may require cloud specific information about nodes such as their region or type (high cpu, gpu, high memory, spot instance, etc).cloud information about nodes in the cluster will no longer be retrieved using local metadata, but instead all API calls to retrieve node information will go through cloud controller manager. This may mean you can restrict access to your cloud API on the kubelets for better security. For larger clusters you may want to consider if cloud controller manager will hit rate limits since it is now responsible for almost all API calls to your cloud from within the cluster.The cloud contr",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/running-cloud-controller/",
    "id": "k8s_00014_qa_214"
  },
  {
    "question": "What is Cloud Controller Manager Administration?",
    "answer": "S i n c e   c l o u d   p r o v i d e r s   d e v e l o p   a n d   r e l e a s e   a t   a   d i f f e r e n t   p a c e   c o m p a r e d   t o   t h e   K u b e r n e t e s   p r o j e c t ,   a b s t r a c t i n g   t h e   p r o v i d e r - s p e c i f i c   c o d e   t o   t h e   c l o u d - c o n t r o l l e r - m a n a g e r   b i n a r y   a l l o w s   c l o u d   v e n d o r s   t o   e v o l v e   i n d e p e n d e n t l y   f r o m   t h e   c o r e   K u b e r n e t e s   c o d e .   T h e   c l o u d - c o n t r o l l e r - m a n a g e r   c a n   b e   l i n k e d   t o   a n y   c l o u d   p r o v i d e r   t h a t   s a t i s f i e s   c l o u d p r o v i d e r . I n t e r f a c e .   F o r   b a c k w a r d s   c o m p a t i b i l i t y ,   t h e   c l o u d - c o n t r o l l e r - m a n a g e r   p r o v i d e d   i n   t h e   c o r e   K u b e r n e t e s   p r o j e c t   u s e s   t h e   s a m e   c l o u d   l i b r a r i e s   a s   k u b e - c o n t r o l l e r - m a n a g e r .   C l o u d   p r o v i d e r s   a l r e a d y   s u p p o r t e d   i n   K u b e r n e t e s   c o r e   a r e   e x p e c t e d   t o   u s e   t h e   i n - t r e e   c l o u d - c o n t r o l l e r - m a n a g e r   t o   t r a n s i t i o n   o u t   o f   K u b e r n e t e s   c o r e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/running-cloud-controller/",
    "id": "k8s_00014_section_1_215"
  },
  {
    "question": "What is Requirements?",
    "answer": "E v e r y   c l o u d   h a s   t h e i r   o w n   s e t   o f   r e q u i r e m e n t s   f o r   r u n n i n g   t h e i r   o w n   c l o u d   p r o v i d e r   i n t e g r a t i o n ,   i t   s h o u l d   n o t   b e   t o o   d i f f e r e n t   f r o m   t h e   r e q u i r e m e n t s   w h e n   r u n n i n g   k u b e - c o n t r o l l e r - m a n a g e r .   A s   a   g e n e r a l   r u l e   o f   t h u m b   y o u ' l l   n e e d :   c l o u d   a u t h e n t i c a t i o n / a u t h o r i z a t i o n :   y o u r   c l o u d   m a y   r e q u i r e   a   t o k e n   o r   I A M   r u l e s   t o   a l l o w   a c c e s s   t o   t h e i r   A P I s k u b e r n e t e s   a u t h e n t i c a t i o n / a u t h o r i z a t i o n :   c l o u d - c o n t r o l l e r - m a n a g e r   m a y   n e e d   R B A C   r u l e s   s e t   t o   s p e a k   t o   t h e   k u b e r n e t e s   a p i s e r v e r h i g h   a v a i l a b i l i t y :   l i k e   k u b e - c o n t r o l l e r - m a n a g e r ,   y o u   m a y   w a n t   a   h i g h   a v a i l a b l e   s e t u p   f o r   c l o u d   c o n t r o l l e r   m a n a g e r   u s i n g   l e a d e r   e l e c t i o n   ( o n   b y   d e f a u l t ) .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/running-cloud-controller/",
    "id": "k8s_00014_section_3_216"
  },
  {
    "question": "What is Running cloud-controller-manager?",
    "answer": "S u c c e s s f u l l y   r u n n i n g   c l o u d - c o n t r o l l e r - m a n a g e r   r e q u i r e s   s o m e   c h a n g e s   t o   y o u r   c l u s t e r   c o n f i g u r a t i o n .   k u b e l e t ,   k u b e - a p i s e r v e r ,   a n d   k u b e - c o n t r o l l e r - m a n a g e r   m u s t   b e   s e t   a c c o r d i n g   t o   t h e   u s e r ' s   u s a g e   o f   e x t e r n a l   C C M .   I f   t h e   u s e r   h a s   a n   e x t e r n a l   C C M   ( n o t   t h e   i n t e r n a l   c l o u d   c o n t r o l l e r   l o o p s   i n   t h e   K u b e r n e t e s   C o n t r o l l e r   M a n a g e r ) ,   t h e n   - - c l o u d - p r o v i d e r = e x t e r n a l   m u s t   b e   s p e c i f i e d .   O t h e r w i s e ,   i t   s h o u l d   n o t   b e   s p e c i f i e d .   K e e p   i n   m i n d   t h a t   s e t t i n g   u p   y o u r   c l u s t e r   t o   u s e   c l o u d   c o n t r o l l e r   m a n a g e r   w i l l   c h a n g e   y o u r   c l u s t e r   b e h a v i o u r   i n   a   f e w   w a y s :   C o m p o n e n t s   t h a t   s p e c i f y   - - c l o u d - p r o v i d e r = e x t e r n a l   w i l l   a d d   a   t a i n t   n o d e . c l o u d p r o v i d e r . k u b e r n e t e s . i o / u n i n i t i a l i z e d   w i t h   a n   e f f e c t   N o S c h e d u l e   d u r i n g   i n i t i a l i z a t i o n .   T h i s   m a r k s   t h e   n o d e   a s   n e e d i n g   a   s e c o n d   i n i t i a l i z a t i o n   f r o m   a n   e x t e r n a l   c o n t r o l l e r   b e f o r e   i t   c a n   b e   s c h e d u l e d   w o r k .   N o t e   t h a t   i n   t h e   e v e n t   t h a t   c l o u d   c o n t r o l l e r   m a n a g e r   i s   n o t   a v a i l a b l e ,   n e w   n o d e s   i n   t h e   c l u s t e r   w i l l   b e   l e f t   u n s c h e d u l a b l e .   T h e   t a i n t   i s   i m p o r t a n t   s i n c e   t h e   s c h e d u l e r   m a y   r e q u i r e   c l o u d   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/running-cloud-controller/",
    "id": "k8s_00014_section_3_217"
  },
  {
    "question": "What is Examples?",
    "answer": "I f   y o u   a r e   u s i n g   a   c l o u d   t h a t   i s   c u r r e n t l y   s u p p o r t e d   i n   K u b e r n e t e s   c o r e   a n d   w o u l d   l i k e   t o   a d o p t   c l o u d   c o n t r o l l e r   m a n a g e r ,   s e e   t h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n   k u b e r n e t e s   c o r e .   F o r   c l o u d   c o n t r o l l e r   m a n a g e r s   n o t   i n   K u b e r n e t e s   c o r e ,   y o u   c a n   f i n d   t h e   r e s p e c t i v e   p r o j e c t s   i n   r e p o s i t o r i e s   m a i n t a i n e d   b y   c l o u d   v e n d o r s   o r   b y   S I G s .   F o r   p r o v i d e r s   a l r e a d y   i n   K u b e r n e t e s   c o r e ,   y o u   c a n   r u n   t h e   i n - t r e e   c l o u d   c o n t r o l l e r   m a n a g e r   a s   a   D a e m o n S e t   i n   y o u r   c l u s t e r ,   u s e   t h e   f o l l o w i n g   a s   a   g u i d e l i n e :   #   T h i s   i s   a n   e x a m p l e   o f   h o w   t o   s e t   u p   c l o u d - c o n t r o l l e r - m a n a g e r   a s   a   D a e m o n s e t   i n   y o u r   c l u s t e r .   #   I t   a s s u m e s   t h a t   y o u r   m a s t e r s   c a n   r u n   p o d s   a n d   h a s   t h e   r o l e   n o d e - r o l e . k u b e r n e t e s . i o / m a s t e r   #   N o t e   t h a t   t h i s   D a e m o n s e t   w i l l   n o t   w o r k   s t r a i g h t   o u t   o f   t h e   b o x   f o r   y o u r   c l o u d ,   t h i s   i s   #   m e a n t   t o   b e   a   g u i d e l i n e .   - - -   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   n a m e :   c l o u d - c o n t r o l l e r - m a n a g e r   n a m e s p a c e :   k u b e - s y s t e m   - - -   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e B i n d i n g   m e t a d a t a :   n a m e :   s y s t e m : c l o u d - c o n t r o l l e r - m a n a ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/running-cloud-controller/",
    "id": "k8s_00014_section_2_218"
  },
  {
    "question": "What is Limitations?",
    "answer": "R u n n i n g   c l o u d   c o n t r o l l e r   m a n a g e r   c o m e s   w i t h   a   f e w   p o s s i b l e   l i m i t a t i o n s .   A l t h o u g h   t h e s e   l i m i t a t i o n s   a r e   b e i n g   a d d r e s s e d   i n   u p c o m i n g   r e l e a s e s ,   i t ' s   i m p o r t a n t   t h a t   y o u   a r e   a w a r e   o f   t h e s e   l i m i t a t i o n s   f o r   p r o d u c t i o n   w o r k l o a d s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/running-cloud-controller/",
    "id": "k8s_00014_section_2_219"
  },
  {
    "question": "What is Support for Volumes?",
    "answer": "C l o u d   c o n t r o l l e r   m a n a g e r   d o e s   n o t   i m p l e m e n t   a n y   o f   t h e   v o l u m e   c o n t r o l l e r s   f o u n d   i n   k u b e - c o n t r o l l e r - m a n a g e r   a s   t h e   v o l u m e   i n t e g r a t i o n s   a l s o   r e q u i r e   c o o r d i n a t i o n   w i t h   k u b e l e t s .   A s   w e   e v o l v e   C S I   ( c o n t a i n e r   s t o r a g e   i n t e r f a c e )   a n d   a d d   s t r o n g e r   s u p p o r t   f o r   f l e x   v o l u m e   p l u g i n s ,   n e c e s s a r y   s u p p o r t   w i l l   b e   a d d e d   t o   c l o u d   c o n t r o l l e r   m a n a g e r   s o   t h a t   c l o u d s   c a n   f u l l y   i n t e g r a t e   w i t h   v o l u m e s .   L e a r n   m o r e   a b o u t   o u t - o f - t r e e   C S I   v o l u m e   p l u g i n s   h e r e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/running-cloud-controller/",
    "id": "k8s_00014_section_3_220"
  },
  {
    "question": "What is Scalability?",
    "answer": "T h e   c l o u d - c o n t r o l l e r - m a n a g e r   q u e r i e s   y o u r   c l o u d   p r o v i d e r ' s   A P I s   t o   r e t r i e v e   i n f o r m a t i o n   f o r   a l l   n o d e s .   F o r   v e r y   l a r g e   c l u s t e r s ,   c o n s i d e r   p o s s i b l e   b o t t l e n e c k s   s u c h   a s   r e s o u r c e   r e q u i r e m e n t s   a n d   A P I   r a t e   l i m i t i n g .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/running-cloud-controller/",
    "id": "k8s_00014_section_3_221"
  },
  {
    "question": "What is Chicken and Egg?",
    "answer": "T h e   g o a l   o f   t h e   c l o u d   c o n t r o l l e r   m a n a g e r   p r o j e c t   i s   t o   d e c o u p l e   d e v e l o p m e n t   o f   c l o u d   f e a t u r e s   f r o m   t h e   c o r e   K u b e r n e t e s   p r o j e c t .   U n f o r t u n a t e l y ,   m a n y   a s p e c t s   o f   t h e   K u b e r n e t e s   p r o j e c t   h a s   a s s u m p t i o n s   t h a t   c l o u d   p r o v i d e r   f e a t u r e s   a r e   t i g h t l y   i n t e g r a t e d   i n t o   t h e   p r o j e c t .   A s   a   r e s u l t ,   a d o p t i n g   t h i s   n e w   a r c h i t e c t u r e   c a n   c r e a t e   s e v e r a l   s i t u a t i o n s   w h e r e   a   r e q u e s t   i s   b e i n g   m a d e   f o r   i n f o r m a t i o n   f r o m   a   c l o u d   p r o v i d e r ,   b u t   t h e   c l o u d   c o n t r o l l e r   m a n a g e r   m a y   n o t   b e   a b l e   t o   r e t u r n   t h a t   i n f o r m a t i o n   w i t h o u t   t h e   o r i g i n a l   r e q u e s t   b e i n g   c o m p l e t e .   A   g o o d   e x a m p l e   o f   t h i s   i s   t h e   T L S   b o o t s t r a p p i n g   f e a t u r e   i n   t h e   K u b e l e t .   T L S   b o o t s t r a p p i n g   a s s u m e s   t h a t   t h e   K u b e l e t   h a s   t h e   a b i l i t y   t o   a s k   t h e   c l o u d   p r o v i d e r   ( o r   a   l o c a l   m e t a d a t a   s e r v i c e )   f o r   a l l   i t s   a d d r e s s   t y p e s   ( p r i v a t e ,   p u b l i c ,   e t c )   b u t   c l o u d   c o n t r o l l e r   m a n a g e r   c a n n o t   s e t   a   n o d e ' s   a d d r e s s   t y p e s   w i t h o u t   b e i n g   i n i t i a l i z e d   i n   t h e   f i r s t   p l a c e   w h i c h   r e q u i r e s   t h a t   t h e   k u b e l e t   h a s   T L S   c e r t i f i c a t e s   t o   c o m m u n i c a t e   w i t h   t h e   a p i s e r v e r .   A s   t h i s   i n i t i a t i v e   e v o l v e s ,   c h a n g e s   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/running-cloud-controller/",
    "id": "k8s_00014_section_3_222"
  },
  {
    "question": "What is What's next?",
    "answer": "T o   b u i l d   a n d   d e v e l o p   y o u r   o w n   c l o u d   c o n t r o l l e r   m a n a g e r ,   r e a d   D e v e l o p i n g   C l o u d   C o n t r o l l e r   M a n a g e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/running-cloud-controller/",
    "id": "k8s_00014_section_2_223"
  },
  {
    "question": "What is Declare Network Policy?",
    "answer": "Declare Network PolicyThis document helps you get started using the Kubernetes NetworkPolicy API to declare network policies that govern how pods communicate with each other.Note: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.8.To check the version, enter kubectl version.Make sure you've configured a network provider with network policy support. There are a number of network providers that support NetworkPolicy, including:AntreaCalicoCiliumKube-routerRomanaWeave NetCreate an nginx deployment and expose it via a serviceTo see how Kubernetes network policy works, start off by creating an nginx Deployment.kubectl create deployment nginx --image=nginx deployment.apps/nginx created Expose the Deployment through a Service called nginx.kubectl expose deployment nginx --port=80 service/nginx exposed The above commands create a Deployment with an nginx Pod and expose the Deployment through a Service named nginx. The nginx Pod and Deployment are found in the default namespace.kubectl get svc,pod NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE service/kubernetes 10.100.0.1 <none> 443/TCP 46m service/nginx 10.100.0.16 <none> 80/TCP 33s NAME READY STATUS RESTARTS AGE pod/nginx-701339712-e0qfq 1/1 Running 0 35s Test the service by accessing it from another PodYou should be able to access the new nginx service from other Pods. To access the nginx Service from another Pod in the default namespace, start a busybox container:kubectl run busybox --rm -ti --image=busybox -- /bin/sh In your shell, run the following command:wget --spider --timeout=1 nginx Connecting to nginx (10.100.0.16:80) remote file exists Limit access to the nginx serviceTo limit the access to the nginx service so that only Pods with the label access: true can query it, create a NetworkPolicy object as follows:service/networking/nginx-policy.yaml apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: access-nginx spec: podSelector: matchLabels: app: nginx ingress: - from: - podSelector: matchLabels: access: \"true\" The name of a NetworkPolicy object must be a valid DNS subdomain name.Note:NetworkPolicy includes a podSelector which selects the grouping of Pods to which the policy applies. You can see this policy selects Pods with the label app=nginx. The labe",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/declare-network-policy/",
    "id": "k8s_00015_qa_224"
  },
  {
    "question": "How does Declare Network Policy work?",
    "answer": "Declare Network PolicyThis document helps you get started using the Kubernetes NetworkPolicy API to declare network policies that govern how pods communicate with each other.Note: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.8.To check the version, enter kubectl version.Make sure you've configured a network provider with network policy support. There are a number of network providers that support NetworkPolicy, including:AntreaCalicoCiliumKube-routerRomanaWeave NetCreate an nginx deployment and expose it via a serviceTo see how Kubernetes network policy works, start off by creating an nginx Deployment.kubectl create deployment nginx --image=nginx deployment.apps/nginx created Expose the Deployment through a Service called nginx.kubectl expose deployment nginx --port=80 service/nginx exposed The above commands create a Deployment with an nginx Pod and expose the Deployment through a Service named nginx. The nginx Pod and Deployment are found in the default namespace.kubectl get svc,pod NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE service/kubernetes 10.100.0.1 <none> 443/TCP 46m service/nginx 10.100.0.16 <none> 80/TCP 33s NAME READY STATUS RESTARTS AGE pod/nginx-701339712-e0qfq 1/1 Running 0 35s Test the service by accessing it from another PodYou should be able to access the new nginx service from other Pods. To access the nginx Service from another Pod in the default namespace, start a busybox container:kubectl run busybox --rm -ti --image=busybox -- /bin/sh In your shell, run the following command:wget --spider --timeout=1 nginx Connecting to nginx (10.100.0.16:80) remote file exists Limit access to the nginx serviceTo limit the access to the nginx service so that only Pods with the label access: true can query it, create a NetworkPolicy object as follows:service/networking/nginx-policy.yaml apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: access-nginx spec: podSelector: matchLabels: app: nginx ingress: - from: - podSelector: matchLabels: access: \"true\" The name of a NetworkPolicy object must be a valid DNS subdomain name.Note:NetworkPolicy includes a podSelector which selects the grouping of Pods to which the policy applies. You can see this policy selects Pods with the label app=nginx. The labe",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/declare-network-policy/",
    "id": "k8s_00015_qa_225"
  },
  {
    "question": "When would you use Declare Network Policy?",
    "answer": "Declare Network PolicyThis document helps you get started using the Kubernetes NetworkPolicy API to declare network policies that govern how pods communicate with each other.Note: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.8.To check the version, enter kubectl version.Make sure you've configured a network provider with network policy support. There are a number of network providers that support NetworkPolicy, including:AntreaCalicoCiliumKube-routerRomanaWeave NetCreate an nginx deployment and expose it via a serviceTo see how Kubernetes network policy works, start off by creating an nginx Deployment.kubectl create deployment nginx --image=nginx deployment.apps/nginx created Expose the Deployment through a Service called nginx.kubectl expose deployment nginx --port=80 service/nginx exposed The above commands create a Deployment with an nginx Pod and expose the Deployment through a Service named nginx. The nginx Pod and Deployment are found in the default namespace.kubectl get svc,pod NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE service/kubernetes 10.100.0.1 <none> 443/TCP 46m service/nginx 10.100.0.16 <none> 80/TCP 33s NAME READY STATUS RESTARTS AGE pod/nginx-701339712-e0qfq 1/1 Running 0 35s Test the service by accessing it from another PodYou should be able to access the new nginx service from other Pods. To access the nginx Service from another Pod in the default namespace, start a busybox container:kubectl run busybox --rm -ti --image=busybox -- /bin/sh In your shell, run the following command:wget --spider --timeout=1 nginx Connecting to nginx (10.100.0.16:80) remote file exists Limit access to the nginx serviceTo limit the access to the nginx service so that only Pods with the label access: true can query it, create a NetworkPolicy object as follows:service/networking/nginx-policy.yaml apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: access-nginx spec: podSelector: matchLabels: app: nginx ingress: - from: - podSelector: matchLabels: access: \"true\" The name of a NetworkPolicy object must be a valid DNS subdomain name.Note:NetworkPolicy includes a podSelector which selects the grouping of Pods to which the policy applies. You can see this policy selects Pods with the label app=nginx. The labe",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/declare-network-policy/",
    "id": "k8s_00015_qa_226"
  },
  {
    "question": "What are the benefits of Declare Network Policy?",
    "answer": "Declare Network PolicyThis document helps you get started using the Kubernetes NetworkPolicy API to declare network policies that govern how pods communicate with each other.Note: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.8.To check the version, enter kubectl version.Make sure you've configured a network provider with network policy support. There are a number of network providers that support NetworkPolicy, including:AntreaCalicoCiliumKube-routerRomanaWeave NetCreate an nginx deployment and expose it via a serviceTo see how Kubernetes network policy works, start off by creating an nginx Deployment.kubectl create deployment nginx --image=nginx deployment.apps/nginx created Expose the Deployment through a Service called nginx.kubectl expose deployment nginx --port=80 service/nginx exposed The above commands create a Deployment with an nginx Pod and expose the Deployment through a Service named nginx. The nginx Pod and Deployment are found in the default namespace.kubectl get svc,pod NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE service/kubernetes 10.100.0.1 <none> 443/TCP 46m service/nginx 10.100.0.16 <none> 80/TCP 33s NAME READY STATUS RESTARTS AGE pod/nginx-701339712-e0qfq 1/1 Running 0 35s Test the service by accessing it from another PodYou should be able to access the new nginx service from other Pods. To access the nginx Service from another Pod in the default namespace, start a busybox container:kubectl run busybox --rm -ti --image=busybox -- /bin/sh In your shell, run the following command:wget --spider --timeout=1 nginx Connecting to nginx (10.100.0.16:80) remote file exists Limit access to the nginx serviceTo limit the access to the nginx service so that only Pods with the label access: true can query it, create a NetworkPolicy object as follows:service/networking/nginx-policy.yaml apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: access-nginx spec: podSelector: matchLabels: app: nginx ingress: - from: - podSelector: matchLabels: access: \"true\" The name of a NetworkPolicy object must be a valid DNS subdomain name.Note:NetworkPolicy includes a podSelector which selects the grouping of Pods to which the policy applies. You can see this policy selects Pods with the label app=nginx. The labe",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/declare-network-policy/",
    "id": "k8s_00015_qa_227"
  },
  {
    "question": "What is Declare Network Policy?",
    "answer": "T h i s   d o c u m e n t   h e l p s   y o u   g e t   s t a r t e d   u s i n g   t h e   K u b e r n e t e s   N e t w o r k P o l i c y   A P I   t o   d e c l a r e   n e t w o r k   p o l i c i e s   t h a t   g o v e r n   h o w   p o d s   c o m m u n i c a t e   w i t h   e a c h   o t h e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/declare-network-policy/",
    "id": "k8s_00015_section_1_228"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 8 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   M ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/declare-network-policy/",
    "id": "k8s_00015_section_2_229"
  },
  {
    "question": "What is Create an nginx deployment and expose it via a service?",
    "answer": "T o   s e e   h o w   K u b e r n e t e s   n e t w o r k   p o l i c y   w o r k s ,   s t a r t   o f f   b y   c r e a t i n g   a n   n g i n x   D e p l o y m e n t .   k u b e c t l   c r e a t e   d e p l o y m e n t   n g i n x   - - i m a g e = n g i n x   d e p l o y m e n t . a p p s / n g i n x   c r e a t e d   E x p o s e   t h e   D e p l o y m e n t   t h r o u g h   a   S e r v i c e   c a l l e d   n g i n x .   k u b e c t l   e x p o s e   d e p l o y m e n t   n g i n x   - - p o r t = 8 0   s e r v i c e / n g i n x   e x p o s e d   T h e   a b o v e   c o m m a n d s   c r e a t e   a   D e p l o y m e n t   w i t h   a n   n g i n x   P o d   a n d   e x p o s e   t h e   D e p l o y m e n t   t h r o u g h   a   S e r v i c e   n a m e d   n g i n x .   T h e   n g i n x   P o d   a n d   D e p l o y m e n t   a r e   f o u n d   i n   t h e   d e f a u l t   n a m e s p a c e .   k u b e c t l   g e t   s v c , p o d   N A M E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   s e r v i c e / k u b e r n e t e s   1 0 . 1 0 0 . 0 . 1   < n o n e >   4 4 3 / T C P   4 6 m   s e r v i c e / n g i n x   1 0 . 1 0 0 . 0 . 1 6   < n o n e >   8 0 / T C P   3 3 s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   p o d / n g i n x - 7 0 1 3 3 9 7 1 2 - e 0 q f q   1 / 1   R u n n i n g   0   3 5 s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/declare-network-policy/",
    "id": "k8s_00015_section_2_230"
  },
  {
    "question": "What is Test the service by accessing it from another Pod?",
    "answer": "Y o u   s h o u l d   b e   a b l e   t o   a c c e s s   t h e   n e w   n g i n x   s e r v i c e   f r o m   o t h e r   P o d s .   T o   a c c e s s   t h e   n g i n x   S e r v i c e   f r o m   a n o t h e r   P o d   i n   t h e   d e f a u l t   n a m e s p a c e ,   s t a r t   a   b u s y b o x   c o n t a i n e r :   k u b e c t l   r u n   b u s y b o x   - - r m   - t i   - - i m a g e = b u s y b o x   - -   / b i n / s h   I n   y o u r   s h e l l ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   w g e t   - - s p i d e r   - - t i m e o u t = 1   n g i n x   C o n n e c t i n g   t o   n g i n x   ( 1 0 . 1 0 0 . 0 . 1 6 : 8 0 )   r e m o t e   f i l e   e x i s t s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/declare-network-policy/",
    "id": "k8s_00015_section_2_231"
  },
  {
    "question": "What is Limit access to the nginx service?",
    "answer": "T o   l i m i t   t h e   a c c e s s   t o   t h e   n g i n x   s e r v i c e   s o   t h a t   o n l y   P o d s   w i t h   t h e   l a b e l   a c c e s s :   t r u e   c a n   q u e r y   i t ,   c r e a t e   a   N e t w o r k P o l i c y   o b j e c t   a s   f o l l o w s :   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a :   n a m e :   a c c e s s - n g i n x   s p e c :   p o d S e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   i n g r e s s :   -   f r o m :   -   p o d S e l e c t o r :   m a t c h L a b e l s :   a c c e s s :   \" t r u e \"   T h e   n a m e   o f   a   N e t w o r k P o l i c y   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/declare-network-policy/",
    "id": "k8s_00015_section_2_232"
  },
  {
    "question": "What is Assign the policy to the service?",
    "answer": "U s e   k u b e c t l   t o   c r e a t e   a   N e t w o r k P o l i c y   f r o m   t h e   a b o v e   n g i n x - p o l i c y . y a m l   f i l e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / s e r v i c e / n e t w o r k i n g / n g i n x - p o l i c y . y a m l   n e t w o r k p o l i c y . n e t w o r k i n g . k 8 s . i o / a c c e s s - n g i n x   c r e a t e d",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/declare-network-policy/",
    "id": "k8s_00015_section_2_233"
  },
  {
    "question": "What is Test access to the service when access label is not defined?",
    "answer": "W h e n   y o u   a t t e m p t   t o   a c c e s s   t h e   n g i n x   S e r v i c e   f r o m   a   P o d   w i t h o u t   t h e   c o r r e c t   l a b e l s ,   t h e   r e q u e s t   t i m e s   o u t :   k u b e c t l   r u n   b u s y b o x   - - r m   - t i   - - i m a g e = b u s y b o x   - -   / b i n / s h   I n   y o u r   s h e l l ,   r u n   t h e   c o m m a n d :   w g e t   - - s p i d e r   - - t i m e o u t = 1   n g i n x   C o n n e c t i n g   t o   n g i n x   ( 1 0 . 1 0 0 . 0 . 1 6 : 8 0 )   w g e t :   d o w n l o a d   t i m e d   o u t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/declare-network-policy/",
    "id": "k8s_00015_section_2_234"
  },
  {
    "question": "What is Define access label and test again?",
    "answer": "Y o u   c a n   c r e a t e   a   P o d   w i t h   t h e   c o r r e c t   l a b e l s   t o   s e e   t h a t   t h e   r e q u e s t   i s   a l l o w e d :   k u b e c t l   r u n   b u s y b o x   - - r m   - t i   - - l a b e l s = \" a c c e s s = t r u e \"   - - i m a g e = b u s y b o x   - -   / b i n / s h   I n   y o u r   s h e l l ,   r u n   t h e   c o m m a n d :   w g e t   - - s p i d e r   - - t i m e o u t = 1   n g i n x   C o n n e c t i n g   t o   n g i n x   ( 1 0 . 1 0 0 . 0 . 1 6 : 8 0 )   r e m o t e   f i l e   e x i s t s   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/declare-network-policy/",
    "id": "k8s_00015_section_2_235"
  },
  {
    "question": "What is kubectl Quick Reference?",
    "answer": "kubectl Quick ReferenceThis page contains a list of commonly used kubectl commands and flags.Note:These instructions are for Kubernetes v1.34. To check the version, use the kubectl version command.Kubectl autocompleteBASHsource <(kubectl completion bash) # set up autocomplete in bash into the current shell, bash-completion package should be installed first. echo \"source <(kubectl completion bash)\" >> ~/.bashrc # add autocomplete permanently to your bash shell. You can also use a shorthand alias for kubectl that also works with completion:alias k=kubectl complete -o default -F __start_kubectl k ZSHsource <(kubectl completion zsh) # set up autocomplete in zsh into the current shell echo '[[ $commands[kubectl] ]] && source <(kubectl completion zsh)' >> ~/.zshrc # add autocomplete permanently to your zsh shell FISHNote:Requires kubectl version 1.23 or above.echo 'kubectl completion fish | source' > ~/.config/fish/completions/kubectl.fish && source ~/.config/fish/completions/kubectl.fish A note on --all-namespacesAppending --all-namespaces happens frequently enough that you should be aware of the shorthand for --all-namespaces:kubectl -AKubectl context and configurationSet which Kubernetes cluster kubectl communicates with and modifies configuration information. See Authenticating Across Clusters with kubeconfig documentation for detailed config file information.kubectl config view # Show Merged kubeconfig settings. # use multiple kubeconfig files at the same time and view merged config KUBECONFIG=~/.kube/config:~/.kube/kubconfig2 kubectl config view # Show merged kubeconfig settings and raw certificate data and exposed secrets kubectl config view --raw # get the password for the e2e user kubectl config view -o jsonpath='{.users[?(@.name == \"e2e\")].user.password}' # get the certificate for the e2e user kubectl config view --raw -o jsonpath='{.users[?(.name == \"e2e\")].user.client-certificate-data}' | base64 -d kubectl config view -o jsonpath='{.users[].name}' # display the first user kubectl config view -o jsonpath='{.users[*].name}' # get a list of users kubectl config get-contexts # display list of contexts kubectl config get-contexts -o name # get all context names kubectl config current-context # display the current-context kubectl config use-context my-cluster-name # set the default context to my-cluster-name kubectl config set-cluster my-cluster-name # set a cluster entry in the kubeconfig # configure the URL to a proxy server to use for requests made by this client in the kubeconfig kubectl config set-cluster my-cluster-name --proxy-url=my-proxy-url # add a new user to your kubeconf that supports basic auth kubectl config set-credentials kubeuser/foo.kubernetes.com --username=kubeuser --password=kubepassword # permanently save the namespace for all subsequent kubectl commands in that context. kubectl config set-context --current --namespace=ggckad-s2 # set a context utilizing a specific username and namespace. kubectl config set-context gce --us",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_qa_236"
  },
  {
    "question": "How does kubectl Quick Reference work?",
    "answer": "kubectl Quick ReferenceThis page contains a list of commonly used kubectl commands and flags.Note:These instructions are for Kubernetes v1.34. To check the version, use the kubectl version command.Kubectl autocompleteBASHsource <(kubectl completion bash) # set up autocomplete in bash into the current shell, bash-completion package should be installed first. echo \"source <(kubectl completion bash)\" >> ~/.bashrc # add autocomplete permanently to your bash shell. You can also use a shorthand alias for kubectl that also works with completion:alias k=kubectl complete -o default -F __start_kubectl k ZSHsource <(kubectl completion zsh) # set up autocomplete in zsh into the current shell echo '[[ $commands[kubectl] ]] && source <(kubectl completion zsh)' >> ~/.zshrc # add autocomplete permanently to your zsh shell FISHNote:Requires kubectl version 1.23 or above.echo 'kubectl completion fish | source' > ~/.config/fish/completions/kubectl.fish && source ~/.config/fish/completions/kubectl.fish A note on --all-namespacesAppending --all-namespaces happens frequently enough that you should be aware of the shorthand for --all-namespaces:kubectl -AKubectl context and configurationSet which Kubernetes cluster kubectl communicates with and modifies configuration information. See Authenticating Across Clusters with kubeconfig documentation for detailed config file information.kubectl config view # Show Merged kubeconfig settings. # use multiple kubeconfig files at the same time and view merged config KUBECONFIG=~/.kube/config:~/.kube/kubconfig2 kubectl config view # Show merged kubeconfig settings and raw certificate data and exposed secrets kubectl config view --raw # get the password for the e2e user kubectl config view -o jsonpath='{.users[?(@.name == \"e2e\")].user.password}' # get the certificate for the e2e user kubectl config view --raw -o jsonpath='{.users[?(.name == \"e2e\")].user.client-certificate-data}' | base64 -d kubectl config view -o jsonpath='{.users[].name}' # display the first user kubectl config view -o jsonpath='{.users[*].name}' # get a list of users kubectl config get-contexts # display list of contexts kubectl config get-contexts -o name # get all context names kubectl config current-context # display the current-context kubectl config use-context my-cluster-name # set the default context to my-cluster-name kubectl config set-cluster my-cluster-name # set a cluster entry in the kubeconfig # configure the URL to a proxy server to use for requests made by this client in the kubeconfig kubectl config set-cluster my-cluster-name --proxy-url=my-proxy-url # add a new user to your kubeconf that supports basic auth kubectl config set-credentials kubeuser/foo.kubernetes.com --username=kubeuser --password=kubepassword # permanently save the namespace for all subsequent kubectl commands in that context. kubectl config set-context --current --namespace=ggckad-s2 # set a context utilizing a specific username and namespace. kubectl config set-context gce --us",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_qa_237"
  },
  {
    "question": "When would you use kubectl Quick Reference?",
    "answer": "kubectl Quick ReferenceThis page contains a list of commonly used kubectl commands and flags.Note:These instructions are for Kubernetes v1.34. To check the version, use the kubectl version command.Kubectl autocompleteBASHsource <(kubectl completion bash) # set up autocomplete in bash into the current shell, bash-completion package should be installed first. echo \"source <(kubectl completion bash)\" >> ~/.bashrc # add autocomplete permanently to your bash shell. You can also use a shorthand alias for kubectl that also works with completion:alias k=kubectl complete -o default -F __start_kubectl k ZSHsource <(kubectl completion zsh) # set up autocomplete in zsh into the current shell echo '[[ $commands[kubectl] ]] && source <(kubectl completion zsh)' >> ~/.zshrc # add autocomplete permanently to your zsh shell FISHNote:Requires kubectl version 1.23 or above.echo 'kubectl completion fish | source' > ~/.config/fish/completions/kubectl.fish && source ~/.config/fish/completions/kubectl.fish A note on --all-namespacesAppending --all-namespaces happens frequently enough that you should be aware of the shorthand for --all-namespaces:kubectl -AKubectl context and configurationSet which Kubernetes cluster kubectl communicates with and modifies configuration information. See Authenticating Across Clusters with kubeconfig documentation for detailed config file information.kubectl config view # Show Merged kubeconfig settings. # use multiple kubeconfig files at the same time and view merged config KUBECONFIG=~/.kube/config:~/.kube/kubconfig2 kubectl config view # Show merged kubeconfig settings and raw certificate data and exposed secrets kubectl config view --raw # get the password for the e2e user kubectl config view -o jsonpath='{.users[?(@.name == \"e2e\")].user.password}' # get the certificate for the e2e user kubectl config view --raw -o jsonpath='{.users[?(.name == \"e2e\")].user.client-certificate-data}' | base64 -d kubectl config view -o jsonpath='{.users[].name}' # display the first user kubectl config view -o jsonpath='{.users[*].name}' # get a list of users kubectl config get-contexts # display list of contexts kubectl config get-contexts -o name # get all context names kubectl config current-context # display the current-context kubectl config use-context my-cluster-name # set the default context to my-cluster-name kubectl config set-cluster my-cluster-name # set a cluster entry in the kubeconfig # configure the URL to a proxy server to use for requests made by this client in the kubeconfig kubectl config set-cluster my-cluster-name --proxy-url=my-proxy-url # add a new user to your kubeconf that supports basic auth kubectl config set-credentials kubeuser/foo.kubernetes.com --username=kubeuser --password=kubepassword # permanently save the namespace for all subsequent kubectl commands in that context. kubectl config set-context --current --namespace=ggckad-s2 # set a context utilizing a specific username and namespace. kubectl config set-context gce --us",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_qa_238"
  },
  {
    "question": "What are the benefits of kubectl Quick Reference?",
    "answer": "kubectl Quick ReferenceThis page contains a list of commonly used kubectl commands and flags.Note:These instructions are for Kubernetes v1.34. To check the version, use the kubectl version command.Kubectl autocompleteBASHsource <(kubectl completion bash) # set up autocomplete in bash into the current shell, bash-completion package should be installed first. echo \"source <(kubectl completion bash)\" >> ~/.bashrc # add autocomplete permanently to your bash shell. You can also use a shorthand alias for kubectl that also works with completion:alias k=kubectl complete -o default -F __start_kubectl k ZSHsource <(kubectl completion zsh) # set up autocomplete in zsh into the current shell echo '[[ $commands[kubectl] ]] && source <(kubectl completion zsh)' >> ~/.zshrc # add autocomplete permanently to your zsh shell FISHNote:Requires kubectl version 1.23 or above.echo 'kubectl completion fish | source' > ~/.config/fish/completions/kubectl.fish && source ~/.config/fish/completions/kubectl.fish A note on --all-namespacesAppending --all-namespaces happens frequently enough that you should be aware of the shorthand for --all-namespaces:kubectl -AKubectl context and configurationSet which Kubernetes cluster kubectl communicates with and modifies configuration information. See Authenticating Across Clusters with kubeconfig documentation for detailed config file information.kubectl config view # Show Merged kubeconfig settings. # use multiple kubeconfig files at the same time and view merged config KUBECONFIG=~/.kube/config:~/.kube/kubconfig2 kubectl config view # Show merged kubeconfig settings and raw certificate data and exposed secrets kubectl config view --raw # get the password for the e2e user kubectl config view -o jsonpath='{.users[?(@.name == \"e2e\")].user.password}' # get the certificate for the e2e user kubectl config view --raw -o jsonpath='{.users[?(.name == \"e2e\")].user.client-certificate-data}' | base64 -d kubectl config view -o jsonpath='{.users[].name}' # display the first user kubectl config view -o jsonpath='{.users[*].name}' # get a list of users kubectl config get-contexts # display list of contexts kubectl config get-contexts -o name # get all context names kubectl config current-context # display the current-context kubectl config use-context my-cluster-name # set the default context to my-cluster-name kubectl config set-cluster my-cluster-name # set a cluster entry in the kubeconfig # configure the URL to a proxy server to use for requests made by this client in the kubeconfig kubectl config set-cluster my-cluster-name --proxy-url=my-proxy-url # add a new user to your kubeconf that supports basic auth kubectl config set-credentials kubeuser/foo.kubernetes.com --username=kubeuser --password=kubepassword # permanently save the namespace for all subsequent kubectl commands in that context. kubectl config set-context --current --namespace=ggckad-s2 # set a context utilizing a specific username and namespace. kubectl config set-context gce --us",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_qa_239"
  },
  {
    "question": "What is kubectl Quick Reference?",
    "answer": "T h i s   p a g e   c o n t a i n s   a   l i s t   o f   c o m m o n l y   u s e d   k u b e c t l   c o m m a n d s   a n d   f l a g s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_section_1_240"
  },
  {
    "question": "What is BASH?",
    "answer": "s o u r c e   < ( k u b e c t l   c o m p l e t i o n   b a s h )   #   s e t   u p   a u t o c o m p l e t e   i n   b a s h   i n t o   t h e   c u r r e n t   s h e l l ,   b a s h - c o m p l e t i o n   p a c k a g e   s h o u l d   b e   i n s t a l l e d   f i r s t .   e c h o   \" s o u r c e   < ( k u b e c t l   c o m p l e t i o n   b a s h ) \"   > >   ~ / . b a s h r c   #   a d d   a u t o c o m p l e t e   p e r m a n e n t l y   t o   y o u r   b a s h   s h e l l .   Y o u   c a n   a l s o   u s e   a   s h o r t h a n d   a l i a s   f o r   k u b e c t l   t h a t   a l s o   w o r k s   w i t h   c o m p l e t i o n :   a l i a s   k = k u b e c t l   c o m p l e t e   - o   d e f a u l t   - F   _ _ s t a r t _ k u b e c t l   k",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_section_3_241"
  },
  {
    "question": "What is ZSH?",
    "answer": "s o u r c e   < ( k u b e c t l   c o m p l e t i o n   z s h )   #   s e t   u p   a u t o c o m p l e t e   i n   z s h   i n t o   t h e   c u r r e n t   s h e l l   e c h o   ' [ [   $ c o m m a n d s [ k u b e c t l ]   ] ]   & &   s o u r c e   < ( k u b e c t l   c o m p l e t i o n   z s h ) '   > >   ~ / . z s h r c   #   a d d   a u t o c o m p l e t e   p e r m a n e n t l y   t o   y o u r   z s h   s h e l l",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_section_3_242"
  },
  {
    "question": "What is Note:?",
    "answer": "e c h o   ' k u b e c t l   c o m p l e t i o n   f i s h   |   s o u r c e '   >   ~ / . c o n f i g / f i s h / c o m p l e t i o n s / k u b e c t l . f i s h   & &   s o u r c e   ~ / . c o n f i g / f i s h / c o m p l e t i o n s / k u b e c t l . f i s h",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_section_4_243"
  },
  {
    "question": "What is A note on --all-namespaces?",
    "answer": "A p p e n d i n g   - - a l l - n a m e s p a c e s   h a p p e n s   f r e q u e n t l y   e n o u g h   t h a t   y o u   s h o u l d   b e   a w a r e   o f   t h e   s h o r t h a n d   f o r   - - a l l - n a m e s p a c e s :   k u b e c t l   - A",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_section_3_244"
  },
  {
    "question": "What is Kubectl context and configuration?",
    "answer": "S e t   w h i c h   K u b e r n e t e s   c l u s t e r   k u b e c t l   c o m m u n i c a t e s   w i t h   a n d   m o d i f i e s   c o n f i g u r a t i o n   i n f o r m a t i o n .   S e e   A u t h e n t i c a t i n g   A c r o s s   C l u s t e r s   w i t h   k u b e c o n f i g   d o c u m e n t a t i o n   f o r   d e t a i l e d   c o n f i g   f i l e   i n f o r m a t i o n .   k u b e c t l   c o n f i g   v i e w   #   S h o w   M e r g e d   k u b e c o n f i g   s e t t i n g s .   #   u s e   m u l t i p l e   k u b e c o n f i g   f i l e s   a t   t h e   s a m e   t i m e   a n d   v i e w   m e r g e d   c o n f i g   K U B E C O N F I G = ~ / . k u b e / c o n f i g : ~ / . k u b e / k u b c o n f i g 2   k u b e c t l   c o n f i g   v i e w   #   S h o w   m e r g e d   k u b e c o n f i g   s e t t i n g s   a n d   r a w   c e r t i f i c a t e   d a t a   a n d   e x p o s e d   s e c r e t s   k u b e c t l   c o n f i g   v i e w   - - r a w   #   g e t   t h e   p a s s w o r d   f o r   t h e   e 2 e   u s e r   k u b e c t l   c o n f i g   v i e w   - o   j s o n p a t h = ' { . u s e r s [ ? ( @ . n a m e   = =   \" e 2 e \" ) ] . u s e r . p a s s w o r d } '   #   g e t   t h e   c e r t i f i c a t e   f o r   t h e   e 2 e   u s e r   k u b e c t l   c o n f i g   v i e w   - - r a w   - o   j s o n p a t h = ' { . u s e r s [ ? ( . n a m e   = =   \" e 2 e \" ) ] . u s e r . c l i e n t - c e r t i f i c a t e - d a t a } '   |   b a s e 6 4   - d   k u b e c t l   c o n f i g   v i e w   - o   j s o n p a t h = ' { . u s e r s [ ] . n a m e } '   #   d i s p l a y   t h e   f i r s t   u s e r   k u b e c t l   c o n f i g   v i e w   - o   j s o n p a t h = ' { . u s e r s [ * ] . n a m e } '   #   g e t   a   l i s t   o f   u s e r s   k u b e c t l   c o n f i g   g e t - c o n t e x t s   #   d i s p l a y   l i s t   o f   c o n t e x t s   k u b e c t l   c o n f i g   g e t - c o n t e x t s   - o   n a m e   #   g e t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_section_2_245"
  },
  {
    "question": "What is Kubectl apply?",
    "answer": "a p p l y   m a n a g e s   a p p l i c a t i o n s   t h r o u g h   f i l e s   d e f i n i n g   K u b e r n e t e s   r e s o u r c e s .   I t   c r e a t e s   a n d   u p d a t e s   r e s o u r c e s   i n   a   c l u s t e r   t h r o u g h   r u n n i n g   k u b e c t l   a p p l y .   T h i s   i s   t h e   r e c o m m e n d e d   w a y   o f   m a n a g i n g   K u b e r n e t e s   a p p l i c a t i o n s   o n   p r o d u c t i o n .   S e e   K u b e c t l   B o o k .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_section_2_246"
  },
  {
    "question": "What is Creating objects?",
    "answer": "K u b e r n e t e s   m a n i f e s t s   c a n   b e   d e f i n e d   i n   Y A M L   o r   J S O N .   T h e   f i l e   e x t e n s i o n   . y a m l ,   . y m l ,   a n d   . j s o n   c a n   b e   u s e d .   k u b e c t l   a p p l y   - f   . / m y - m a n i f e s t . y a m l   #   c r e a t e   r e s o u r c e ( s )   k u b e c t l   a p p l y   - f   . / m y 1 . y a m l   - f   . / m y 2 . y a m l   #   c r e a t e   f r o m   m u l t i p l e   f i l e s   k u b e c t l   a p p l y   - f   . / d i r   #   c r e a t e   r e s o u r c e ( s )   i n   a l l   m a n i f e s t   f i l e s   i n   d i r   k u b e c t l   a p p l y   - f   h t t p s : / / e x a m p l e . c o m / m a n i f e s t . y a m l   #   c r e a t e   r e s o u r c e ( s )   f r o m   u r l   ( N o t e :   t h i s   i s   a n   e x a m p l e   d o m a i n   a n d   d o e s   n o t   c o n t a i n   a   v a l i d   m a n i f e s t )   k u b e c t l   c r e a t e   d e p l o y m e n t   n g i n x   - - i m a g e = n g i n x   #   s t a r t   a   s i n g l e   i n s t a n c e   o f   n g i n x   #   c r e a t e   a   J o b   w h i c h   p r i n t s   \" H e l l o   W o r l d \"   k u b e c t l   c r e a t e   j o b   h e l l o   - - i m a g e = b u s y b o x : 1 . 2 8   - -   e c h o   \" H e l l o   W o r l d \"   #   c r e a t e   a   C r o n J o b   t h a t   p r i n t s   \" H e l l o   W o r l d \"   e v e r y   m i n u t e   k u b e c t l   c r e a t e   c r o n j o b   h e l l o   - - i m a g e = b u s y b o x : 1 . 2 8   - - s c h e d u l e = \" * / 1   *   *   *   * \"   - -   e c h o   \" H e l l o   W o r l d \"   k u b e c t l   e x p l a i n   p o d s   #   g e t   t h e   d o c u m e n t a t i o n   f o r   p o d   m a n i f e s t s   #   C r e a t e   m u l t i p l e   Y A M L   o b j e c t s   f r o m   s t d i n   k u b e c t l   a p p l y   - f   -   < < E O F   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   b u s y b o x - s l e e p   s p e c :   c ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_section_2_247"
  },
  {
    "question": "What is Viewing and finding resources?",
    "answer": "#   G e t   c o m m a n d s   w i t h   b a s i c   o u t p u t   k u b e c t l   g e t   s e r v i c e s   #   L i s t   a l l   s e r v i c e s   i n   t h e   n a m e s p a c e   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s   #   L i s t   a l l   p o d s   i n   a l l   n a m e s p a c e s   k u b e c t l   g e t   p o d s   - o   w i d e   #   L i s t   a l l   p o d s   i n   t h e   c u r r e n t   n a m e s p a c e ,   w i t h   m o r e   d e t a i l s   k u b e c t l   g e t   d e p l o y m e n t   m y - d e p   #   L i s t   a   p a r t i c u l a r   d e p l o y m e n t   k u b e c t l   g e t   p o d s   #   L i s t   a l l   p o d s   i n   t h e   n a m e s p a c e   k u b e c t l   g e t   p o d   m y - p o d   - o   y a m l   #   G e t   a   p o d ' s   Y A M L   #   D e s c r i b e   c o m m a n d s   w i t h   v e r b o s e   o u t p u t   k u b e c t l   d e s c r i b e   n o d e s   m y - n o d e   k u b e c t l   d e s c r i b e   p o d s   m y - p o d   #   L i s t   S e r v i c e s   S o r t e d   b y   N a m e   k u b e c t l   g e t   s e r v i c e s   - - s o r t - b y = . m e t a d a t a . n a m e   #   L i s t   p o d s   S o r t e d   b y   R e s t a r t   C o u n t   k u b e c t l   g e t   p o d s   - - s o r t - b y = ' . s t a t u s . c o n t a i n e r S t a t u s e s [ 0 ] . r e s t a r t C o u n t '   #   L i s t   P e r s i s t e n t V o l u m e s   s o r t e d   b y   c a p a c i t y   k u b e c t l   g e t   p v   - - s o r t - b y = . s p e c . c a p a c i t y . s t o r a g e   #   G e t   t h e   v e r s i o n   l a b e l   o f   a l l   p o d s   w i t h   l a b e l   a p p = c a s s a n d r a   k u b e c t l   g e t   p o d s   - - s e l e c t o r = a p p = c a s s a n d r a   - o   \\   j s o n p a t h = ' { . i t e m s [ * ] . m e t a d a t a . l a b e l s . v e r s i o n } '   #   R e t r i e v e   t h e   v a l u e   o f   a   k e y   w i t h   d o t s ,   e . g .   ' c a . c r t '   k u b e c t l   g ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_section_2_248"
  },
  {
    "question": "What is Updating resources?",
    "answer": "k u b e c t l   s e t   i m a g e   d e p l o y m e n t / f r o n t e n d   w w w = i m a g e : v 2   #   R o l l i n g   u p d a t e   \" w w w \"   c o n t a i n e r s   o f   \" f r o n t e n d \"   d e p l o y m e n t ,   u p d a t i n g   t h e   i m a g e   k u b e c t l   r o l l o u t   h i s t o r y   d e p l o y m e n t / f r o n t e n d   #   C h e c k   t h e   h i s t o r y   o f   d e p l o y m e n t s   i n c l u d i n g   t h e   r e v i s i o n   k u b e c t l   r o l l o u t   u n d o   d e p l o y m e n t / f r o n t e n d   #   R o l l b a c k   t o   t h e   p r e v i o u s   d e p l o y m e n t   k u b e c t l   r o l l o u t   u n d o   d e p l o y m e n t / f r o n t e n d   - - t o - r e v i s i o n = 2   #   R o l l b a c k   t o   a   s p e c i f i c   r e v i s i o n   k u b e c t l   r o l l o u t   s t a t u s   - w   d e p l o y m e n t / f r o n t e n d   #   W a t c h   r o l l i n g   u p d a t e   s t a t u s   o f   \" f r o n t e n d \"   d e p l o y m e n t   u n t i l   c o m p l e t i o n   k u b e c t l   r o l l o u t   r e s t a r t   d e p l o y m e n t / f r o n t e n d   #   R o l l i n g   r e s t a r t   o f   t h e   \" f r o n t e n d \"   d e p l o y m e n t   c a t   p o d . j s o n   |   k u b e c t l   r e p l a c e   - f   -   #   R e p l a c e   a   p o d   b a s e d   o n   t h e   J S O N   p a s s e d   i n t o   s t d i n   #   F o r c e   r e p l a c e ,   d e l e t e   a n d   t h e n   r e - c r e a t e   t h e   r e s o u r c e .   W i l l   c a u s e   a   s e r v i c e   o u t a g e .   k u b e c t l   r e p l a c e   - - f o r c e   - f   . / p o d . j s o n   #   C r e a t e   a   s e r v i c e   f o r   a   r e p l i c a t e d   n g i n x ,   w h i c h   s e r v e s   o n   p o r t   8 0   a n d   c o n n e c t s   t o   t h e   c o n t a i n e r s   o n   p o r t   8 0 0 0   k u b e c t l   e x p o s e   r c   n g i n x   - - p o r t = 8 0   - - t a r g e t - p o r t = 8 0 0 0   #   U p d a t e   a   s i ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_section_2_249"
  },
  {
    "question": "What is Patching resources?",
    "answer": "#   P a r t i a l l y   u p d a t e   a   n o d e   k u b e c t l   p a t c h   n o d e   k 8 s - n o d e - 1   - p   ' { \" s p e c \" : { \" u n s c h e d u l a b l e \" : t r u e } } '   #   U p d a t e   a   c o n t a i n e r ' s   i m a g e ;   s p e c . c o n t a i n e r s [ * ] . n a m e   i s   r e q u i r e d   b e c a u s e   i t ' s   a   m e r g e   k e y   k u b e c t l   p a t c h   p o d   v a l i d - p o d   - p   ' { \" s p e c \" : { \" c o n t a i n e r s \" : [ { \" n a m e \" : \" k u b e r n e t e s - s e r v e - h o s t n a m e \" , \" i m a g e \" : \" n e w   i m a g e \" } ] } } '   #   U p d a t e   a   c o n t a i n e r ' s   i m a g e   u s i n g   a   j s o n   p a t c h   w i t h   p o s i t i o n a l   a r r a y s   k u b e c t l   p a t c h   p o d   v a l i d - p o d   - - t y p e = ' j s o n '   - p = ' [ { \" o p \" :   \" r e p l a c e \" ,   \" p a t h \" :   \" / s p e c / c o n t a i n e r s / 0 / i m a g e \" ,   \" v a l u e \" : \" n e w   i m a g e \" } ] '   #   D i s a b l e   a   d e p l o y m e n t   l i v e n e s s P r o b e   u s i n g   a   j s o n   p a t c h   w i t h   p o s i t i o n a l   a r r a y s   k u b e c t l   p a t c h   d e p l o y m e n t   v a l i d - d e p l o y m e n t   - - t y p e   j s o n   - p = ' [ { \" o p \" :   \" r e m o v e \" ,   \" p a t h \" :   \" / s p e c / t e m p l a t e / s p e c / c o n t a i n e r s / 0 / l i v e n e s s P r o b e \" } ] '   #   A d d   a   n e w   e l e m e n t   t o   a   p o s i t i o n a l   a r r a y   k u b e c t l   p a t c h   s a   d e f a u l t   - - t y p e = ' j s o n '   - p = ' [ { \" o p \" :   \" a d d \" ,   \" p a t h \" :   \" / s e c r e t s / 1 \" ,   \" v a l u e \" :   { \" n a m e \" :   \" w h a t e v e r \"   }   } ] '   #   U p d a t e   a   d e p l o y m e n t ' s   r e p l i c a   c o u n t   b y   p a t c h i n g   i t s   s c a l e   s u b r e s o u r c e   k u b e c t l   p a t c h   d e p l o y m e n t   n g i n x - d e p l o y m e n t   - - s u b r e s o u r c e = ' s c a l ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_section_2_250"
  },
  {
    "question": "What is Editing resources?",
    "answer": "E d i t   a n y   A P I   r e s o u r c e   i n   y o u r   p r e f e r r e d   e d i t o r .   k u b e c t l   e d i t   s v c / d o c k e r - r e g i s t r y   #   E d i t   t h e   s e r v i c e   n a m e d   d o c k e r - r e g i s t r y   K U B E _ E D I T O R = \" n a n o \"   k u b e c t l   e d i t   s v c / d o c k e r - r e g i s t r y   #   U s e   a n   a l t e r n a t i v e   e d i t o r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_section_2_251"
  },
  {
    "question": "What is Scaling resources?",
    "answer": "k u b e c t l   s c a l e   - - r e p l i c a s = 3   r s / f o o   #   S c a l e   a   r e p l i c a s e t   n a m e d   ' f o o '   t o   3   k u b e c t l   s c a l e   - - r e p l i c a s = 3   - f   f o o . y a m l   #   S c a l e   a   r e s o u r c e   s p e c i f i e d   i n   \" f o o . y a m l \"   t o   3   k u b e c t l   s c a l e   - - c u r r e n t - r e p l i c a s = 2   - - r e p l i c a s = 3   d e p l o y m e n t / m y s q l   #   I f   t h e   d e p l o y m e n t   n a m e d   m y s q l ' s   c u r r e n t   s i z e   i s   2 ,   s c a l e   m y s q l   t o   3   k u b e c t l   s c a l e   - - r e p l i c a s = 5   r c / f o o   r c / b a r   r c / b a z   #   S c a l e   m u l t i p l e   r e p l i c a t i o n   c o n t r o l l e r s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_section_2_252"
  },
  {
    "question": "What is Deleting resources?",
    "answer": "k u b e c t l   d e l e t e   - f   . / p o d . j s o n   #   D e l e t e   a   p o d   u s i n g   t h e   t y p e   a n d   n a m e   s p e c i f i e d   i n   p o d . j s o n   k u b e c t l   d e l e t e   p o d   u n w a n t e d   - - n o w   #   D e l e t e   a   p o d   w i t h   n o   g r a c e   p e r i o d   k u b e c t l   d e l e t e   p o d , s e r v i c e   b a z   f o o   #   D e l e t e   p o d s   a n d   s e r v i c e s   w i t h   s a m e   n a m e s   \" b a z \"   a n d   \" f o o \"   k u b e c t l   d e l e t e   p o d s , s e r v i c e s   - l   n a m e = m y L a b e l   #   D e l e t e   p o d s   a n d   s e r v i c e s   w i t h   l a b e l   n a m e = m y L a b e l   k u b e c t l   - n   m y - n s   d e l e t e   p o d , s v c   - - a l l   #   D e l e t e   a l l   p o d s   a n d   s e r v i c e s   i n   n a m e s p a c e   m y - n s ,   #   D e l e t e   a l l   p o d s   m a t c h i n g   t h e   a w k   p a t t e r n 1   o r   p a t t e r n 2   k u b e c t l   g e t   p o d s   - n   m y n a m e s p a c e   - - n o - h e a d e r s = t r u e   |   a w k   ' / p a t t e r n 1 | p a t t e r n 2 / { p r i n t   $ 1 } '   |   x a r g s   k u b e c t l   d e l e t e   - n   m y n a m e s p a c e   p o d",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_section_2_253"
  },
  {
    "question": "What is Interacting with running Pods?",
    "answer": "k u b e c t l   l o g s   m y - p o d   #   d u m p   p o d   l o g s   ( s t d o u t )   k u b e c t l   l o g s   - l   n a m e = m y L a b e l   #   d u m p   p o d   l o g s ,   w i t h   l a b e l   n a m e = m y L a b e l   ( s t d o u t )   k u b e c t l   l o g s   m y - p o d   - - p r e v i o u s   #   d u m p   p o d   l o g s   ( s t d o u t )   f o r   a   p r e v i o u s   i n s t a n t i a t i o n   o f   a   c o n t a i n e r   k u b e c t l   l o g s   m y - p o d   - c   m y - c o n t a i n e r   #   d u m p   p o d   c o n t a i n e r   l o g s   ( s t d o u t ,   m u l t i - c o n t a i n e r   c a s e )   k u b e c t l   l o g s   - l   n a m e = m y L a b e l   - c   m y - c o n t a i n e r   #   d u m p   p o d   c o n t a i n e r   l o g s ,   w i t h   l a b e l   n a m e = m y L a b e l   ( s t d o u t )   k u b e c t l   l o g s   m y - p o d   - c   m y - c o n t a i n e r   - - p r e v i o u s   #   d u m p   p o d   c o n t a i n e r   l o g s   ( s t d o u t ,   m u l t i - c o n t a i n e r   c a s e )   f o r   a   p r e v i o u s   i n s t a n t i a t i o n   o f   a   c o n t a i n e r   k u b e c t l   l o g s   - f   m y - p o d   #   s t r e a m   p o d   l o g s   ( s t d o u t )   k u b e c t l   l o g s   - f   m y - p o d   - c   m y - c o n t a i n e r   #   s t r e a m   p o d   c o n t a i n e r   l o g s   ( s t d o u t ,   m u l t i - c o n t a i n e r   c a s e )   k u b e c t l   l o g s   - f   - l   n a m e = m y L a b e l   - - a l l - c o n t a i n e r s   #   s t r e a m   a l l   p o d s   l o g s   w i t h   l a b e l   n a m e = m y L a b e l   ( s t d o u t )   k u b e c t l   r u n   - i   - - t t y   b u s y b o x   - - i m a g e = b u s y b o x : 1 . 2 8   - -   s h   #   R u n   p o d   a s   i n t e r a c t i v e   s h e l l   k u b e c t l   r u n   n g i n x   - - i m a g e = n g i n x   - n   m y n a m e s p a c e   #   S t a r t   a   s i n g l e   i n s t a n c e   o f   n g i n x   p o d   i n   t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_section_2_254"
  },
  {
    "question": "What is Copying files and directories to and from containers?",
    "answer": "k u b e c t l   c p   / t m p / f o o _ d i r   m y - p o d : / t m p / b a r _ d i r   #   C o p y   / t m p / f o o _ d i r   l o c a l   d i r e c t o r y   t o   / t m p / b a r _ d i r   i n   a   r e m o t e   p o d   i n   t h e   c u r r e n t   n a m e s p a c e   k u b e c t l   c p   / t m p / f o o   m y - p o d : / t m p / b a r   - c   m y - c o n t a i n e r   #   C o p y   / t m p / f o o   l o c a l   f i l e   t o   / t m p / b a r   i n   a   r e m o t e   p o d   i n   a   s p e c i f i c   c o n t a i n e r   k u b e c t l   c p   / t m p / f o o   m y - n a m e s p a c e / m y - p o d : / t m p / b a r   #   C o p y   / t m p / f o o   l o c a l   f i l e   t o   / t m p / b a r   i n   a   r e m o t e   p o d   i n   n a m e s p a c e   m y - n a m e s p a c e   k u b e c t l   c p   m y - n a m e s p a c e / m y - p o d : / t m p / f o o   / t m p / b a r   #   C o p y   / t m p / f o o   f r o m   a   r e m o t e   p o d   t o   / t m p / b a r   l o c a l l y",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_section_2_255"
  },
  {
    "question": "What is Note:?",
    "answer": "t a r   c f   -   / t m p / f o o   |   k u b e c t l   e x e c   - i   - n   m y - n a m e s p a c e   m y - p o d   - -   t a r   x f   -   - C   / t m p / b a r   #   C o p y   / t m p / f o o   l o c a l   f i l e   t o   / t m p / b a r   i n   a   r e m o t e   p o d   i n   n a m e s p a c e   m y - n a m e s p a c e   k u b e c t l   e x e c   - n   m y - n a m e s p a c e   m y - p o d   - -   t a r   c f   -   / t m p / f o o   |   t a r   x f   -   - C   / t m p / b a r   #   C o p y   / t m p / f o o   f r o m   a   r e m o t e   p o d   t o   / t m p / b a r   l o c a l l y",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_section_4_256"
  },
  {
    "question": "What is Interacting with Deployments and Services?",
    "answer": "k u b e c t l   l o g s   d e p l o y / m y - d e p l o y m e n t   #   d u m p   P o d   l o g s   f o r   a   D e p l o y m e n t   ( s i n g l e - c o n t a i n e r   c a s e )   k u b e c t l   l o g s   d e p l o y / m y - d e p l o y m e n t   - c   m y - c o n t a i n e r   #   d u m p   P o d   l o g s   f o r   a   D e p l o y m e n t   ( m u l t i - c o n t a i n e r   c a s e )   k u b e c t l   p o r t - f o r w a r d   s v c / m y - s e r v i c e   5 0 0 0   #   l i s t e n   o n   l o c a l   p o r t   5 0 0 0   a n d   f o r w a r d   t o   p o r t   5 0 0 0   o n   S e r v i c e   b a c k e n d   k u b e c t l   p o r t - f o r w a r d   s v c / m y - s e r v i c e   5 0 0 0 : m y - s e r v i c e - p o r t   #   l i s t e n   o n   l o c a l   p o r t   5 0 0 0   a n d   f o r w a r d   t o   S e r v i c e   t a r g e t   p o r t   w i t h   n a m e   < m y - s e r v i c e - p o r t >   k u b e c t l   p o r t - f o r w a r d   d e p l o y / m y - d e p l o y m e n t   5 0 0 0 : 6 0 0 0   #   l i s t e n   o n   l o c a l   p o r t   5 0 0 0   a n d   f o r w a r d   t o   p o r t   6 0 0 0   o n   a   P o d   c r e a t e d   b y   < m y - d e p l o y m e n t >   k u b e c t l   e x e c   d e p l o y / m y - d e p l o y m e n t   - -   l s   #   r u n   c o m m a n d   i n   f i r s t   P o d   a n d   f i r s t   c o n t a i n e r   i n   D e p l o y m e n t   ( s i n g l e -   o r   m u l t i - c o n t a i n e r   c a s e s )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_section_2_257"
  },
  {
    "question": "What is Interacting with Nodes and cluster?",
    "answer": "k u b e c t l   c o r d o n   m y - n o d e   #   M a r k   m y - n o d e   a s   u n s c h e d u l a b l e   k u b e c t l   d r a i n   m y - n o d e   #   D r a i n   m y - n o d e   i n   p r e p a r a t i o n   f o r   m a i n t e n a n c e   k u b e c t l   u n c o r d o n   m y - n o d e   #   M a r k   m y - n o d e   a s   s c h e d u l a b l e   k u b e c t l   t o p   n o d e   #   S h o w   m e t r i c s   f o r   a l l   n o d e s   k u b e c t l   t o p   n o d e   m y - n o d e   #   S h o w   m e t r i c s   f o r   a   g i v e n   n o d e   k u b e c t l   c l u s t e r - i n f o   #   D i s p l a y   a d d r e s s e s   o f   t h e   m a s t e r   a n d   s e r v i c e s   k u b e c t l   c l u s t e r - i n f o   d u m p   #   D u m p   c u r r e n t   c l u s t e r   s t a t e   t o   s t d o u t   k u b e c t l   c l u s t e r - i n f o   d u m p   - - o u t p u t - d i r e c t o r y = / p a t h / t o / c l u s t e r - s t a t e   #   D u m p   c u r r e n t   c l u s t e r   s t a t e   t o   / p a t h / t o / c l u s t e r - s t a t e   #   V i e w   e x i s t i n g   t a i n t s   o n   w h i c h   e x i s t   o n   c u r r e n t   n o d e s .   k u b e c t l   g e t   n o d e s   - o = ' c u s t o m - c o l u m n s = N o d e N a m e : . m e t a d a t a . n a m e , T a i n t K e y : . s p e c . t a i n t s [ * ] . k e y , T a i n t V a l u e : . s p e c . t a i n t s [ * ] . v a l u e , T a i n t E f f e c t : . s p e c . t a i n t s [ * ] . e f f e c t '   #   I f   a   t a i n t   w i t h   t h a t   k e y   a n d   e f f e c t   a l r e a d y   e x i s t s ,   i t s   v a l u e   i s   r e p l a c e d   a s   s p e c i f i e d .   k u b e c t l   t a i n t   n o d e s   f o o   d e d i c a t e d = s p e c i a l - u s e r : N o S c h e d u l e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_section_2_258"
  },
  {
    "question": "What is Resource types?",
    "answer": "L i s t   a l l   s u p p o r t e d   r e s o u r c e   t y p e s   a l o n g   w i t h   t h e i r   s h o r t n a m e s ,   A P I   g r o u p ,   w h e t h e r   t h e y   a r e   n a m e s p a c e d ,   a n d   k i n d :   k u b e c t l   a p i - r e s o u r c e s   O t h e r   o p e r a t i o n s   f o r   e x p l o r i n g   A P I   r e s o u r c e s :   k u b e c t l   a p i - r e s o u r c e s   - - n a m e s p a c e d = t r u e   #   A l l   n a m e s p a c e d   r e s o u r c e s   k u b e c t l   a p i - r e s o u r c e s   - - n a m e s p a c e d = f a l s e   #   A l l   n o n - n a m e s p a c e d   r e s o u r c e s   k u b e c t l   a p i - r e s o u r c e s   - o   n a m e   #   A l l   r e s o u r c e s   w i t h   s i m p l e   o u t p u t   ( o n l y   t h e   r e s o u r c e   n a m e )   k u b e c t l   a p i - r e s o u r c e s   - o   w i d e   #   A l l   r e s o u r c e s   w i t h   e x p a n d e d   ( a k a   \" w i d e \" )   o u t p u t   k u b e c t l   a p i - r e s o u r c e s   - - v e r b s = l i s t , g e t   #   A l l   r e s o u r c e s   t h a t   s u p p o r t   t h e   \" l i s t \"   a n d   \" g e t \"   r e q u e s t   v e r b s   k u b e c t l   a p i - r e s o u r c e s   - - a p i - g r o u p = e x t e n s i o n s   #   A l l   r e s o u r c e s   i n   t h e   \" e x t e n s i o n s \"   A P I   g r o u p",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_section_3_259"
  },
  {
    "question": "What is Formatting output?",
    "answer": "T o   o u t p u t   d e t a i l s   t o   y o u r   t e r m i n a l   w i n d o w   i n   a   s p e c i f i c   f o r m a t ,   a d d   t h e   - o   ( o r   - - o u t p u t )   f l a g   t o   a   s u p p o r t e d   k u b e c t l   c o m m a n d .   E x a m p l e s   u s i n g   - o = c u s t o m - c o l u m n s :   #   A l l   i m a g e s   r u n n i n g   i n   a   c l u s t e r   k u b e c t l   g e t   p o d s   - A   - o = c u s t o m - c o l u m n s = ' D A T A : s p e c . c o n t a i n e r s [ * ] . i m a g e '   #   A l l   i m a g e s   r u n n i n g   i n   n a m e s p a c e :   d e f a u l t ,   g r o u p e d   b y   P o d   k u b e c t l   g e t   p o d s   - - n a m e s p a c e   d e f a u l t   - - o u t p u t = c u s t o m - c o l u m n s = \" N A M E : . m e t a d a t a . n a m e , I M A G E : . s p e c . c o n t a i n e r s [ * ] . i m a g e \"   #   A l l   i m a g e s   e x c l u d i n g   \" r e g i s t r y . k 8 s . i o / c o r e d n s : 1 . 6 . 2 \"   k u b e c t l   g e t   p o d s   - A   - o = c u s t o m - c o l u m n s = ' D A T A : s p e c . c o n t a i n e r s [ ? ( @ . i m a g e ! = \" r e g i s t r y . k 8 s . i o / c o r e d n s : 1 . 6 . 2 \" ) ] . i m a g e '   #   A l l   f i e l d s   u n d e r   m e t a d a t a   r e g a r d l e s s   o f   n a m e   k u b e c t l   g e t   p o d s   - A   - o = c u s t o m - c o l u m n s = ' D A T A : m e t a d a t a . * '   M o r e   e x a m p l e s   i n   t h e   k u b e c t l   r e f e r e n c e   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_section_3_260"
  },
  {
    "question": "What is Kubectl output verbosity and debugging?",
    "answer": "K u b e c t l   v e r b o s i t y   i s   c o n t r o l l e d   w i t h   t h e   - v   o r   - - v   f l a g s   f o l l o w e d   b y   a n   i n t e g e r   r e p r e s e n t i n g   t h e   l o g   l e v e l .   G e n e r a l   K u b e r n e t e s   l o g g i n g   c o n v e n t i o n s   a n d   t h e   a s s o c i a t e d   l o g   l e v e l s   a r e   d e s c r i b e d   h e r e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_section_3_261"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   t h e   k u b e c t l   o v e r v i e w   a n d   l e a r n   a b o u t   J s o n P a t h . S e e   k u b e c t l   o p t i o n s . S e e   k u b e r c   o p t i o n s . A l s o   r e a d   k u b e c t l   U s a g e   C o n v e n t i o n s   t o   u n d e r s t a n d   h o w   t o   u s e   k u b e c t l   i n   r e u s a b l e   s c r i p t s . S e e   m o r e   c o m m u n i t y   k u b e c t l   c h e a t s h e e t s .   R e a d   t h e   k u b e c t l   o v e r v i e w   a n d   l e a r n   a b o u t   J s o n P a t h .   S e e   k u b e c t l   o p t i o n s .   S e e   k u b e r c   o p t i o n s .   A l s o   r e a d   k u b e c t l   U s a g e   C o n v e n t i o n s   t o   u n d e r s t a n d   h o w   t o   u s e   k u b e c t l   i n   r e u s a b l e   s c r i p t s .   S e e   m o r e   c o m m u n i t y   k u b e c t l   c h e a t s h e e t s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/quick-reference/",
    "id": "k8s_00016_section_2_262"
  },
  {
    "question": "What is EndpointSlices?",
    "answer": "EndpointSlicesThe EndpointSlice API is the mechanism that Kubernetes uses to let your Service scale to handle large numbers of backends, and allows the cluster to update its list of healthy backends efficiently.FEATURE STATE: Kubernetes v1.21 [stable]Kubernetes' EndpointSlice API provides a way to track network endpoints within a Kubernetes cluster.EndpointSlice APIIn Kubernetes, an EndpointSlice contains references to a set of network endpoints. The control plane automatically creates EndpointSlices for any Kubernetes Service that has a selector specified. These EndpointSlices include references to all the Pods that match the Service selector. EndpointSlices group network endpoints together by unique combinations of IP family, protocol, port number, and Service name. The name of a EndpointSlice object must be a valid DNS subdomain name.As an example, here's a sample EndpointSlice object, that's owned by the example Kubernetes Service.apiVersion: discovery.k8s.io/v1 kind: EndpointSlice metadata: name: example-abc labels: kubernetes.io/service-name: example addressType: IPv4 ports: - name: http protocol: TCP port: 80 endpoints: - addresses: - \"10.1.2.3\" conditions: ready: true hostname: pod-1 nodeName: node-1 zone: us-west2-a By default, the control plane creates and manages EndpointSlices to have no more than 100 endpoints each. You can configure this with the --max-endpoints-per-slice kube-controller-manager flag, up to a maximum of 1000.EndpointSlices act as the source of truth for kube-proxy when it comes to how to route internal traffic.Address typesEndpointSlices support two address types:IPv4IPv6Each EndpointSlice object represents a specific IP address type. If you have a Service that is available via IPv4 and IPv6, there will be at least two EndpointSlice objects (one for IPv4, and one for IPv6).ConditionsThe EndpointSlice API stores conditions about endpoints that may be useful for consumers. The three conditions are serving, terminating, and ready.ServingFEATURE STATE: Kubernetes v1.26 [stable]The serving condition indicates that the endpoint is currently serving responses, and so it should be used as a target for Service traffic. For endpoints backed by a Pod, this maps to the Pod's Ready condition.TerminatingFEATURE STATE: Kubernetes v1.26 [stable]The terminating condition indicates that the endpoint is terminating. For endpoints backed by a Pod, this condition is set when the Pod is first deleted (that is, when it receives a deletion timestamp, but most likely before the Pod's containers exit).Service proxies will normally ignore endpoints that are terminating, but they may route traffic to endpoints that are both serving and terminating if all available endpoints are terminating. (This helps to ensure that no Service traffic is lost during rolling updates of the underlying Pods.)ReadyThe ready condition is essentially a shortcut for checking \"serving and not terminating\" (though it will also always be true for Services with spec.pub",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/endpoint-slices/",
    "id": "k8s_00017_qa_263"
  },
  {
    "question": "How does EndpointSlices work?",
    "answer": "EndpointSlicesThe EndpointSlice API is the mechanism that Kubernetes uses to let your Service scale to handle large numbers of backends, and allows the cluster to update its list of healthy backends efficiently.FEATURE STATE: Kubernetes v1.21 [stable]Kubernetes' EndpointSlice API provides a way to track network endpoints within a Kubernetes cluster.EndpointSlice APIIn Kubernetes, an EndpointSlice contains references to a set of network endpoints. The control plane automatically creates EndpointSlices for any Kubernetes Service that has a selector specified. These EndpointSlices include references to all the Pods that match the Service selector. EndpointSlices group network endpoints together by unique combinations of IP family, protocol, port number, and Service name. The name of a EndpointSlice object must be a valid DNS subdomain name.As an example, here's a sample EndpointSlice object, that's owned by the example Kubernetes Service.apiVersion: discovery.k8s.io/v1 kind: EndpointSlice metadata: name: example-abc labels: kubernetes.io/service-name: example addressType: IPv4 ports: - name: http protocol: TCP port: 80 endpoints: - addresses: - \"10.1.2.3\" conditions: ready: true hostname: pod-1 nodeName: node-1 zone: us-west2-a By default, the control plane creates and manages EndpointSlices to have no more than 100 endpoints each. You can configure this with the --max-endpoints-per-slice kube-controller-manager flag, up to a maximum of 1000.EndpointSlices act as the source of truth for kube-proxy when it comes to how to route internal traffic.Address typesEndpointSlices support two address types:IPv4IPv6Each EndpointSlice object represents a specific IP address type. If you have a Service that is available via IPv4 and IPv6, there will be at least two EndpointSlice objects (one for IPv4, and one for IPv6).ConditionsThe EndpointSlice API stores conditions about endpoints that may be useful for consumers. The three conditions are serving, terminating, and ready.ServingFEATURE STATE: Kubernetes v1.26 [stable]The serving condition indicates that the endpoint is currently serving responses, and so it should be used as a target for Service traffic. For endpoints backed by a Pod, this maps to the Pod's Ready condition.TerminatingFEATURE STATE: Kubernetes v1.26 [stable]The terminating condition indicates that the endpoint is terminating. For endpoints backed by a Pod, this condition is set when the Pod is first deleted (that is, when it receives a deletion timestamp, but most likely before the Pod's containers exit).Service proxies will normally ignore endpoints that are terminating, but they may route traffic to endpoints that are both serving and terminating if all available endpoints are terminating. (This helps to ensure that no Service traffic is lost during rolling updates of the underlying Pods.)ReadyThe ready condition is essentially a shortcut for checking \"serving and not terminating\" (though it will also always be true for Services with spec.pub",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/endpoint-slices/",
    "id": "k8s_00017_qa_264"
  },
  {
    "question": "When would you use EndpointSlices?",
    "answer": "EndpointSlicesThe EndpointSlice API is the mechanism that Kubernetes uses to let your Service scale to handle large numbers of backends, and allows the cluster to update its list of healthy backends efficiently.FEATURE STATE: Kubernetes v1.21 [stable]Kubernetes' EndpointSlice API provides a way to track network endpoints within a Kubernetes cluster.EndpointSlice APIIn Kubernetes, an EndpointSlice contains references to a set of network endpoints. The control plane automatically creates EndpointSlices for any Kubernetes Service that has a selector specified. These EndpointSlices include references to all the Pods that match the Service selector. EndpointSlices group network endpoints together by unique combinations of IP family, protocol, port number, and Service name. The name of a EndpointSlice object must be a valid DNS subdomain name.As an example, here's a sample EndpointSlice object, that's owned by the example Kubernetes Service.apiVersion: discovery.k8s.io/v1 kind: EndpointSlice metadata: name: example-abc labels: kubernetes.io/service-name: example addressType: IPv4 ports: - name: http protocol: TCP port: 80 endpoints: - addresses: - \"10.1.2.3\" conditions: ready: true hostname: pod-1 nodeName: node-1 zone: us-west2-a By default, the control plane creates and manages EndpointSlices to have no more than 100 endpoints each. You can configure this with the --max-endpoints-per-slice kube-controller-manager flag, up to a maximum of 1000.EndpointSlices act as the source of truth for kube-proxy when it comes to how to route internal traffic.Address typesEndpointSlices support two address types:IPv4IPv6Each EndpointSlice object represents a specific IP address type. If you have a Service that is available via IPv4 and IPv6, there will be at least two EndpointSlice objects (one for IPv4, and one for IPv6).ConditionsThe EndpointSlice API stores conditions about endpoints that may be useful for consumers. The three conditions are serving, terminating, and ready.ServingFEATURE STATE: Kubernetes v1.26 [stable]The serving condition indicates that the endpoint is currently serving responses, and so it should be used as a target for Service traffic. For endpoints backed by a Pod, this maps to the Pod's Ready condition.TerminatingFEATURE STATE: Kubernetes v1.26 [stable]The terminating condition indicates that the endpoint is terminating. For endpoints backed by a Pod, this condition is set when the Pod is first deleted (that is, when it receives a deletion timestamp, but most likely before the Pod's containers exit).Service proxies will normally ignore endpoints that are terminating, but they may route traffic to endpoints that are both serving and terminating if all available endpoints are terminating. (This helps to ensure that no Service traffic is lost during rolling updates of the underlying Pods.)ReadyThe ready condition is essentially a shortcut for checking \"serving and not terminating\" (though it will also always be true for Services with spec.pub",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/endpoint-slices/",
    "id": "k8s_00017_qa_265"
  },
  {
    "question": "What are the benefits of EndpointSlices?",
    "answer": "EndpointSlicesThe EndpointSlice API is the mechanism that Kubernetes uses to let your Service scale to handle large numbers of backends, and allows the cluster to update its list of healthy backends efficiently.FEATURE STATE: Kubernetes v1.21 [stable]Kubernetes' EndpointSlice API provides a way to track network endpoints within a Kubernetes cluster.EndpointSlice APIIn Kubernetes, an EndpointSlice contains references to a set of network endpoints. The control plane automatically creates EndpointSlices for any Kubernetes Service that has a selector specified. These EndpointSlices include references to all the Pods that match the Service selector. EndpointSlices group network endpoints together by unique combinations of IP family, protocol, port number, and Service name. The name of a EndpointSlice object must be a valid DNS subdomain name.As an example, here's a sample EndpointSlice object, that's owned by the example Kubernetes Service.apiVersion: discovery.k8s.io/v1 kind: EndpointSlice metadata: name: example-abc labels: kubernetes.io/service-name: example addressType: IPv4 ports: - name: http protocol: TCP port: 80 endpoints: - addresses: - \"10.1.2.3\" conditions: ready: true hostname: pod-1 nodeName: node-1 zone: us-west2-a By default, the control plane creates and manages EndpointSlices to have no more than 100 endpoints each. You can configure this with the --max-endpoints-per-slice kube-controller-manager flag, up to a maximum of 1000.EndpointSlices act as the source of truth for kube-proxy when it comes to how to route internal traffic.Address typesEndpointSlices support two address types:IPv4IPv6Each EndpointSlice object represents a specific IP address type. If you have a Service that is available via IPv4 and IPv6, there will be at least two EndpointSlice objects (one for IPv4, and one for IPv6).ConditionsThe EndpointSlice API stores conditions about endpoints that may be useful for consumers. The three conditions are serving, terminating, and ready.ServingFEATURE STATE: Kubernetes v1.26 [stable]The serving condition indicates that the endpoint is currently serving responses, and so it should be used as a target for Service traffic. For endpoints backed by a Pod, this maps to the Pod's Ready condition.TerminatingFEATURE STATE: Kubernetes v1.26 [stable]The terminating condition indicates that the endpoint is terminating. For endpoints backed by a Pod, this condition is set when the Pod is first deleted (that is, when it receives a deletion timestamp, but most likely before the Pod's containers exit).Service proxies will normally ignore endpoints that are terminating, but they may route traffic to endpoints that are both serving and terminating if all available endpoints are terminating. (This helps to ensure that no Service traffic is lost during rolling updates of the underlying Pods.)ReadyThe ready condition is essentially a shortcut for checking \"serving and not terminating\" (though it will also always be true for Services with spec.pub",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/endpoint-slices/",
    "id": "k8s_00017_qa_266"
  },
  {
    "question": "What is EndpointSlices?",
    "answer": "K u b e r n e t e s '   E n d p o i n t S l i c e   A P I   p r o v i d e s   a   w a y   t o   t r a c k   n e t w o r k   e n d p o i n t s   w i t h i n   a   K u b e r n e t e s   c l u s t e r .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/endpoint-slices/",
    "id": "k8s_00017_section_1_267"
  },
  {
    "question": "What is EndpointSlice API?",
    "answer": "I n   K u b e r n e t e s ,   a n   E n d p o i n t S l i c e   c o n t a i n s   r e f e r e n c e s   t o   a   s e t   o f   n e t w o r k   e n d p o i n t s .   T h e   c o n t r o l   p l a n e   a u t o m a t i c a l l y   c r e a t e s   E n d p o i n t S l i c e s   f o r   a n y   K u b e r n e t e s   S e r v i c e   t h a t   h a s   a   s e l e c t o r   s p e c i f i e d .   T h e s e   E n d p o i n t S l i c e s   i n c l u d e   r e f e r e n c e s   t o   a l l   t h e   P o d s   t h a t   m a t c h   t h e   S e r v i c e   s e l e c t o r .   E n d p o i n t S l i c e s   g r o u p   n e t w o r k   e n d p o i n t s   t o g e t h e r   b y   u n i q u e   c o m b i n a t i o n s   o f   I P   f a m i l y ,   p r o t o c o l ,   p o r t   n u m b e r ,   a n d   S e r v i c e   n a m e .   T h e   n a m e   o f   a   E n d p o i n t S l i c e   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   A s   a n   e x a m p l e ,   h e r e ' s   a   s a m p l e   E n d p o i n t S l i c e   o b j e c t ,   t h a t ' s   o w n e d   b y   t h e   e x a m p l e   K u b e r n e t e s   S e r v i c e .   a p i V e r s i o n :   d i s c o v e r y . k 8 s . i o / v 1   k i n d :   E n d p o i n t S l i c e   m e t a d a t a :   n a m e :   e x a m p l e - a b c   l a b e l s :   k u b e r n e t e s . i o / s e r v i c e - n a m e :   e x a m p l e   a d d r e s s T y p e :   I P v 4   p o r t s :   -   n a m e :   h t t p   p r o t o c o l :   T C P   p o r t :   8 0   e n d p o i n t s :   -   a d d r e s s e s :   -   \" 1 0 . 1 . 2 . 3 \"   c o n d i t i o n s :   r e a d y :   t r u e   h o s t n a m e :   p o d - 1   n o d e N a m e :   n o d e - 1   z o n e :   u s - w e s t 2 - a   B y   d e f a u l t ,   t h e   c o n t r o l   p l a n e   c r e a t e s   a n d   m a n a g e s   E n d p o i n t S l i c e s   t o   h a v e   n o   m o r e   t h a n   1 0 0   e n d p o i n t s   e a c h .   Y o u   c a n   c o n f i g u ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/endpoint-slices/",
    "id": "k8s_00017_section_2_268"
  },
  {
    "question": "What is Address types?",
    "answer": "E n d p o i n t S l i c e s   s u p p o r t   t w o   a d d r e s s   t y p e s :   I P v 4 I P v 6   E a c h   E n d p o i n t S l i c e   o b j e c t   r e p r e s e n t s   a   s p e c i f i c   I P   a d d r e s s   t y p e .   I f   y o u   h a v e   a   S e r v i c e   t h a t   i s   a v a i l a b l e   v i a   I P v 4   a n d   I P v 6 ,   t h e r e   w i l l   b e   a t   l e a s t   t w o   E n d p o i n t S l i c e   o b j e c t s   ( o n e   f o r   I P v 4 ,   a n d   o n e   f o r   I P v 6 ) .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/endpoint-slices/",
    "id": "k8s_00017_section_3_269"
  },
  {
    "question": "What is Conditions?",
    "answer": "T h e   E n d p o i n t S l i c e   A P I   s t o r e s   c o n d i t i o n s   a b o u t   e n d p o i n t s   t h a t   m a y   b e   u s e f u l   f o r   c o n s u m e r s .   T h e   t h r e e   c o n d i t i o n s   a r e   s e r v i n g ,   t e r m i n a t i n g ,   a n d   r e a d y .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/endpoint-slices/",
    "id": "k8s_00017_section_3_270"
  },
  {
    "question": "What is Serving?",
    "answer": "T h e   s e r v i n g   c o n d i t i o n   i n d i c a t e s   t h a t   t h e   e n d p o i n t   i s   c u r r e n t l y   s e r v i n g   r e s p o n s e s ,   a n d   s o   i t   s h o u l d   b e   u s e d   a s   a   t a r g e t   f o r   S e r v i c e   t r a f f i c .   F o r   e n d p o i n t s   b a c k e d   b y   a   P o d ,   t h i s   m a p s   t o   t h e   P o d ' s   R e a d y   c o n d i t i o n .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/endpoint-slices/",
    "id": "k8s_00017_section_4_271"
  },
  {
    "question": "What is Terminating?",
    "answer": "T h e   t e r m i n a t i n g   c o n d i t i o n   i n d i c a t e s   t h a t   t h e   e n d p o i n t   i s   t e r m i n a t i n g .   F o r   e n d p o i n t s   b a c k e d   b y   a   P o d ,   t h i s   c o n d i t i o n   i s   s e t   w h e n   t h e   P o d   i s   f i r s t   d e l e t e d   ( t h a t   i s ,   w h e n   i t   r e c e i v e s   a   d e l e t i o n   t i m e s t a m p ,   b u t   m o s t   l i k e l y   b e f o r e   t h e   P o d ' s   c o n t a i n e r s   e x i t ) .   S e r v i c e   p r o x i e s   w i l l   n o r m a l l y   i g n o r e   e n d p o i n t s   t h a t   a r e   t e r m i n a t i n g ,   b u t   t h e y   m a y   r o u t e   t r a f f i c   t o   e n d p o i n t s   t h a t   a r e   b o t h   s e r v i n g   a n d   t e r m i n a t i n g   i f   a l l   a v a i l a b l e   e n d p o i n t s   a r e   t e r m i n a t i n g .   ( T h i s   h e l p s   t o   e n s u r e   t h a t   n o   S e r v i c e   t r a f f i c   i s   l o s t   d u r i n g   r o l l i n g   u p d a t e s   o f   t h e   u n d e r l y i n g   P o d s . )",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/endpoint-slices/",
    "id": "k8s_00017_section_4_272"
  },
  {
    "question": "What is Ready?",
    "answer": "T h e   r e a d y   c o n d i t i o n   i s   e s s e n t i a l l y   a   s h o r t c u t   f o r   c h e c k i n g   \" s e r v i n g   a n d   n o t   t e r m i n a t i n g \"   ( t h o u g h   i t   w i l l   a l s o   a l w a y s   b e   t r u e   f o r   S e r v i c e s   w i t h   s p e c . p u b l i s h N o t R e a d y A d d r e s s e s   s e t   t o   t r u e ) .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/endpoint-slices/",
    "id": "k8s_00017_section_4_273"
  },
  {
    "question": "What is Topology information?",
    "answer": "E a c h   e n d p o i n t   w i t h i n   a n   E n d p o i n t S l i c e   c a n   c o n t a i n   r e l e v a n t   t o p o l o g y   i n f o r m a t i o n .   T h e   t o p o l o g y   i n f o r m a t i o n   i n c l u d e s   t h e   l o c a t i o n   o f   t h e   e n d p o i n t   a n d   i n f o r m a t i o n   a b o u t   t h e   c o r r e s p o n d i n g   N o d e   a n d   z o n e .   T h e s e   a r e   a v a i l a b l e   i n   t h e   f o l l o w i n g   p e r   e n d p o i n t   f i e l d s   o n   E n d p o i n t S l i c e s :   n o d e N a m e   -   T h e   n a m e   o f   t h e   N o d e   t h i s   e n d p o i n t   i s   o n . z o n e   -   T h e   z o n e   t h i s   e n d p o i n t   i s   i n .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/endpoint-slices/",
    "id": "k8s_00017_section_3_274"
  },
  {
    "question": "What is Management?",
    "answer": "M o s t   o f t e n ,   t h e   c o n t r o l   p l a n e   ( s p e c i f i c a l l y ,   t h e   e n d p o i n t   s l i c e   c o n t r o l l e r )   c r e a t e s   a n d   m a n a g e s   E n d p o i n t S l i c e   o b j e c t s .   T h e r e   a r e   a   v a r i e t y   o f   o t h e r   u s e   c a s e s   f o r   E n d p o i n t S l i c e s ,   s u c h   a s   s e r v i c e   m e s h   i m p l e m e n t a t i o n s ,   t h a t   c o u l d   r e s u l t   i n   o t h e r   e n t i t i e s   o r   c o n t r o l l e r s   m a n a g i n g   a d d i t i o n a l   s e t s   o f   E n d p o i n t S l i c e s .   T o   e n s u r e   t h a t   m u l t i p l e   e n t i t i e s   c a n   m a n a g e   E n d p o i n t S l i c e s   w i t h o u t   i n t e r f e r i n g   w i t h   e a c h   o t h e r ,   K u b e r n e t e s   d e f i n e s   t h e   l a b e l   e n d p o i n t s l i c e . k u b e r n e t e s . i o / m a n a g e d - b y ,   w h i c h   i n d i c a t e s   t h e   e n t i t y   m a n a g i n g   a n   E n d p o i n t S l i c e .   T h e   e n d p o i n t   s l i c e   c o n t r o l l e r   s e t s   e n d p o i n t s l i c e - c o n t r o l l e r . k 8 s . i o   a s   t h e   v a l u e   f o r   t h i s   l a b e l   o n   a l l   E n d p o i n t S l i c e s   i t   m a n a g e s .   O t h e r   e n t i t i e s   m a n a g i n g   E n d p o i n t S l i c e s   s h o u l d   a l s o   s e t   a   u n i q u e   v a l u e   f o r   t h i s   l a b e l .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/endpoint-slices/",
    "id": "k8s_00017_section_3_275"
  },
  {
    "question": "What is Ownership?",
    "answer": "I n   m o s t   u s e   c a s e s ,   E n d p o i n t S l i c e s   a r e   o w n e d   b y   t h e   S e r v i c e   t h a t   t h e   e n d p o i n t   s l i c e   o b j e c t   t r a c k s   e n d p o i n t s   f o r .   T h i s   o w n e r s h i p   i s   i n d i c a t e d   b y   a n   o w n e r   r e f e r e n c e   o n   e a c h   E n d p o i n t S l i c e   a s   w e l l   a s   a   k u b e r n e t e s . i o / s e r v i c e - n a m e   l a b e l   t h a t   e n a b l e s   s i m p l e   l o o k u p s   o f   a l l   E n d p o i n t S l i c e s   b e l o n g i n g   t o   a   S e r v i c e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/endpoint-slices/",
    "id": "k8s_00017_section_3_276"
  },
  {
    "question": "What is Distribution of EndpointSlices?",
    "answer": "E a c h   E n d p o i n t S l i c e   h a s   a   s e t   o f   p o r t s   t h a t   a p p l i e s   t o   a l l   e n d p o i n t s   w i t h i n   t h e   r e s o u r c e .   W h e n   n a m e d   p o r t s   a r e   u s e d   f o r   a   S e r v i c e ,   P o d s   m a y   e n d   u p   w i t h   d i f f e r e n t   t a r g e t   p o r t   n u m b e r s   f o r   t h e   s a m e   n a m e d   p o r t ,   r e q u i r i n g   d i f f e r e n t   E n d p o i n t S l i c e s .   T h e   c o n t r o l   p l a n e   t r i e s   t o   f i l l   E n d p o i n t S l i c e s   a s   f u l l   a s   p o s s i b l e ,   b u t   d o e s   n o t   a c t i v e l y   r e b a l a n c e   t h e m .   T h e   l o g i c   i s   f a i r l y   s t r a i g h t f o r w a r d :   I t e r a t e   t h r o u g h   e x i s t i n g   E n d p o i n t S l i c e s ,   r e m o v e   e n d p o i n t s   t h a t   a r e   n o   l o n g e r   d e s i r e d   a n d   u p d a t e   m a t c h i n g   e n d p o i n t s   t h a t   h a v e   c h a n g e d . I t e r a t e   t h r o u g h   E n d p o i n t S l i c e s   t h a t   h a v e   b e e n   m o d i f i e d   i n   t h e   f i r s t   s t e p   a n d   f i l l   t h e m   u p   w i t h   a n y   n e w   e n d p o i n t s   n e e d e d . I f   t h e r e ' s   s t i l l   n e w   e n d p o i n t s   l e f t   t o   a d d ,   t r y   t o   f i t   t h e m   i n t o   a   p r e v i o u s l y   u n c h a n g e d   s l i c e   a n d / o r   c r e a t e   n e w   o n e s .   I m p o r t a n t l y ,   t h e   t h i r d   s t e p   p r i o r i t i z e s   l i m i t i n g   E n d p o i n t S l i c e   u p d a t e s   o v e r   a   p e r f e c t l y   f u l l   d i s t r i b u t i o n   o f   E n d p o i n t S l i c e s .   A s   a n   e x a m p l e ,   i f   t h e r e   a r e   1 0   n e w   e n d p o i n t s   t o   a d d   a n d   2   E n d p o i n t S l i c e s   w i t h   r o o m   f o r   5   m o r e   e n d p o i n t s   e a c h ,   t h i s   a p p r ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/endpoint-slices/",
    "id": "k8s_00017_section_3_277"
  },
  {
    "question": "What is Duplicate endpoints?",
    "answer": "D u e   t o   t h e   n a t u r e   o f   E n d p o i n t S l i c e   c h a n g e s ,   e n d p o i n t s   m a y   b e   r e p r e s e n t e d   i n   m o r e   t h a n   o n e   E n d p o i n t S l i c e   a t   t h e   s a m e   t i m e .   T h i s   n a t u r a l l y   o c c u r s   a s   c h a n g e s   t o   d i f f e r e n t   E n d p o i n t S l i c e   o b j e c t s   c a n   a r r i v e   a t   t h e   K u b e r n e t e s   c l i e n t   w a t c h   /   c a c h e   a t   d i f f e r e n t   t i m e s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/endpoint-slices/",
    "id": "k8s_00017_section_3_278"
  },
  {
    "question": "What is Note:?",
    "answer": "C l i e n t s   o f   t h e   E n d p o i n t S l i c e   A P I   m u s t   i t e r a t e   t h r o u g h   a l l   t h e   e x i s t i n g   E n d p o i n t S l i c e s   a s s o c i a t e d   t o   a   S e r v i c e   a n d   b u i l d   a   c o m p l e t e   l i s t   o f   u n i q u e   n e t w o r k   e n d p o i n t s .   I t   i s   i m p o r t a n t   t o   m e n t i o n   t h a t   e n d p o i n t s   m a y   b e   d u p l i c a t e d   i n   d i f f e r e n t   E n d p o i n t S l i c e s .   Y o u   c a n   f i n d   a   r e f e r e n c e   i m p l e m e n t a t i o n   f o r   h o w   t o   p e r f o r m   t h i s   e n d p o i n t   a g g r e g a t i o n   a n d   d e d u p l i c a t i o n   a s   p a r t   o f   t h e   E n d p o i n t S l i c e C a c h e   c o d e   w i t h i n   k u b e - p r o x y .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/endpoint-slices/",
    "id": "k8s_00017_section_4_279"
  },
  {
    "question": "What is EndpointSlice mirroring?",
    "answer": "T h e   E n d p o i n t S l i c e   A P I   i s   a   r e p l a c e m e n t   f o r   t h e   o l d e r   E n d p o i n t s   A P I .   T o   p r e s e r v e   c o m p a t i b i l i t y   w i t h   o l d e r   c o n t r o l l e r s   a n d   u s e r   w o r k l o a d s   t h a t   e x p e c t   k u b e - p r o x y   t o   r o u t e   t r a f f i c   b a s e d   o n   E n d p o i n t s   r e s o u r c e s ,   t h e   c l u s t e r ' s   c o n t r o l   p l a n e   m i r r o r s   m o s t   u s e r - c r e a t e d   E n d p o i n t s   r e s o u r c e s   t o   c o r r e s p o n d i n g   E n d p o i n t S l i c e s .   ( H o w e v e r ,   t h i s   f e a t u r e ,   l i k e   t h e   r e s t   o f   t h e   E n d p o i n t s   A P I ,   i s   d e p r e c a t e d .   U s e r s   w h o   m a n u a l l y   s p e c i f y   e n d p o i n t s   f o r   s e l e c t o r l e s s   S e r v i c e s   s h o u l d   d o   s o   b y   c r e a t i n g   E n d p o i n t S l i c e   r e s o u r c e s   d i r e c t l y ,   r a t h e r   t h a n   b y   c r e a t i n g   E n d p o i n t s   r e s o u r c e s   a n d   a l l o w i n g   t h e m   t o   b e   m i r r o r e d . )   T h e   c o n t r o l   p l a n e   m i r r o r s   E n d p o i n t s   r e s o u r c e s   u n l e s s :   t h e   E n d p o i n t s   r e s o u r c e   h a s   a   e n d p o i n t s l i c e . k u b e r n e t e s . i o / s k i p - m i r r o r   l a b e l   s e t   t o   t r u e . t h e   E n d p o i n t s   r e s o u r c e   h a s   a   c o n t r o l - p l a n e . a l p h a . k u b e r n e t e s . i o / l e a d e r   a n n o t a t i o n . t h e   c o r r e s p o n d i n g   S e r v i c e   r e s o u r c e   d o e s   n o t   e x i s t . t h e   c o r r e s p o n d i n g   S e r v i c e   r e s o u r c e   h a s   a   n o n - n i l   s e l e c t o r .   I n d i v i d u a l   E n d p o i n t s   r e s o u r c e s   m a y   t r a n s l a t e   i n t o   m u l t i p l e   E n d p o i n t S l i c e s .   T h i s   ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/endpoint-slices/",
    "id": "k8s_00017_section_3_280"
  },
  {
    "question": "What is What's next?",
    "answer": "F o l l o w   t h e   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s   t u t o r i a l R e a d   t h e   A P I   r e f e r e n c e   f o r   t h e   E n d p o i n t S l i c e   A P I R e a d   t h e   A P I   r e f e r e n c e   f o r   t h e   E n d p o i n t s   A P I",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/endpoint-slices/",
    "id": "k8s_00017_section_2_281"
  },
  {
    "question": "What is Scheduling Policies?",
    "answer": "Scheduling PoliciesIn Kubernetes versions before v1.23, a scheduling policy can be used to specify the predicates and priorities process. For example, you can set a scheduling policy by running kube-scheduler --policy-config-file <filename> or kube-scheduler --policy-configmap <ConfigMap>.This scheduling policy is not supported since Kubernetes v1.23. Associated flags policy-config-file, policy-configmap, policy-configmap-namespace and use-legacy-policy-config are also not supported. Instead, use the Scheduler Configuration to achieve similar behavior.What's nextLearn about schedulingLearn about kube-scheduler ConfigurationRead the kube-scheduler configuration reference (v1)",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/scheduling/policies/",
    "id": "k8s_00018_qa_282"
  },
  {
    "question": "How does Scheduling Policies work?",
    "answer": "Scheduling PoliciesIn Kubernetes versions before v1.23, a scheduling policy can be used to specify the predicates and priorities process. For example, you can set a scheduling policy by running kube-scheduler --policy-config-file <filename> or kube-scheduler --policy-configmap <ConfigMap>.This scheduling policy is not supported since Kubernetes v1.23. Associated flags policy-config-file, policy-configmap, policy-configmap-namespace and use-legacy-policy-config are also not supported. Instead, use the Scheduler Configuration to achieve similar behavior.What's nextLearn about schedulingLearn about kube-scheduler ConfigurationRead the kube-scheduler configuration reference (v1)",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/scheduling/policies/",
    "id": "k8s_00018_qa_283"
  },
  {
    "question": "When would you use Scheduling Policies?",
    "answer": "Scheduling PoliciesIn Kubernetes versions before v1.23, a scheduling policy can be used to specify the predicates and priorities process. For example, you can set a scheduling policy by running kube-scheduler --policy-config-file <filename> or kube-scheduler --policy-configmap <ConfigMap>.This scheduling policy is not supported since Kubernetes v1.23. Associated flags policy-config-file, policy-configmap, policy-configmap-namespace and use-legacy-policy-config are also not supported. Instead, use the Scheduler Configuration to achieve similar behavior.What's nextLearn about schedulingLearn about kube-scheduler ConfigurationRead the kube-scheduler configuration reference (v1)",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/scheduling/policies/",
    "id": "k8s_00018_qa_284"
  },
  {
    "question": "What are the benefits of Scheduling Policies?",
    "answer": "Scheduling PoliciesIn Kubernetes versions before v1.23, a scheduling policy can be used to specify the predicates and priorities process. For example, you can set a scheduling policy by running kube-scheduler --policy-config-file <filename> or kube-scheduler --policy-configmap <ConfigMap>.This scheduling policy is not supported since Kubernetes v1.23. Associated flags policy-config-file, policy-configmap, policy-configmap-namespace and use-legacy-policy-config are also not supported. Instead, use the Scheduler Configuration to achieve similar behavior.What's nextLearn about schedulingLearn about kube-scheduler ConfigurationRead the kube-scheduler configuration reference (v1)",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/scheduling/policies/",
    "id": "k8s_00018_qa_285"
  },
  {
    "question": "What is Scheduling Policies?",
    "answer": "I n   K u b e r n e t e s   v e r s i o n s   b e f o r e   v 1 . 2 3 ,   a   s c h e d u l i n g   p o l i c y   c a n   b e   u s e d   t o   s p e c i f y   t h e   p r e d i c a t e s   a n d   p r i o r i t i e s   p r o c e s s .   F o r   e x a m p l e ,   y o u   c a n   s e t   a   s c h e d u l i n g   p o l i c y   b y   r u n n i n g   k u b e - s c h e d u l e r   - - p o l i c y - c o n f i g - f i l e   < f i l e n a m e >   o r   k u b e - s c h e d u l e r   - - p o l i c y - c o n f i g m a p   < C o n f i g M a p > .   T h i s   s c h e d u l i n g   p o l i c y   i s   n o t   s u p p o r t e d   s i n c e   K u b e r n e t e s   v 1 . 2 3 .   A s s o c i a t e d   f l a g s   p o l i c y - c o n f i g - f i l e ,   p o l i c y - c o n f i g m a p ,   p o l i c y - c o n f i g m a p - n a m e s p a c e   a n d   u s e - l e g a c y - p o l i c y - c o n f i g   a r e   a l s o   n o t   s u p p o r t e d .   I n s t e a d ,   u s e   t h e   S c h e d u l e r   C o n f i g u r a t i o n   t o   a c h i e v e   s i m i l a r   b e h a v i o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/scheduling/policies/",
    "id": "k8s_00018_section_1_286"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   s c h e d u l i n g L e a r n   a b o u t   k u b e - s c h e d u l e r   C o n f i g u r a t i o n R e a d   t h e   k u b e - s c h e d u l e r   c o n f i g u r a t i o n   r e f e r e n c e   ( v 1 )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/scheduling/policies/",
    "id": "k8s_00018_section_2_287"
  },
  {
    "question": "What is System Logs?",
    "answer": "System LogsSystem component logs record events happening in cluster, which can be very useful for debugging. You can configure log verbosity to see more or less detail. Logs can be as coarse-grained as showing errors within a component, or as fine-grained as showing step-by-step traces of events (like HTTP access logs, pod state changes, controller actions, or scheduler decisions).Warning:In contrast to the command line flags described here, the log output itself does not fall under the Kubernetes API stability guarantees: individual log entries and their formatting may change from one release to the next!Klogklog is the Kubernetes logging library. klog generates log messages for the Kubernetes system components.Kubernetes is in the process of simplifying logging in its components. The following klog command line flags are deprecated starting with Kubernetes v1.23 and removed in Kubernetes v1.26:--add-dir-header--alsologtostderr--log-backtrace-at--log-dir--log-file--log-file-max-size--logtostderr--one-output--skip-headers--skip-log-headers--stderrthresholdOutput will always be written to stderr, regardless of the output format. Output redirection is expected to be handled by the component which invokes a Kubernetes component. This can be a POSIX shell or a tool like systemd.In some cases, for example a distroless container or a Windows system service, those options are not available. Then the kube-log-runner binary can be used as wrapper around a Kubernetes component to redirect output. A prebuilt binary is included in several Kubernetes base images under its traditional name as /go-runner and as kube-log-runner in server and node release archives.This table shows how kube-log-runner invocations correspond to shell redirection:UsagePOSIX shell (such as bash)kube-log-runner <options> <cmd>Merge stderr and stdout, write to stdout2>&1kube-log-runner (default behavior)Redirect both into log file1>>/tmp/log 2>&1kube-log-runner -log-file=/tmp/logCopy into log file and to stdout2>&1 | tee -a /tmp/logkube-log-runner -log-file=/tmp/log -also-stdoutRedirect only stdout into log file>/tmp/logkube-log-runner -log-file=/tmp/log -redirect-stderr=falseKlog outputAn example of the traditional klog native format:I1025 00:15:15.525108 1 httplog.go:79] GET /api/v1/namespaces/kube-system/pods/metrics-server-v0.3.1-57c75779f-9p8wg: (1.512ms) 200 [pod_nanny/v0.0.0 (linux/amd64) kubernetes/$Format 10.56.1.19:51756] The message string may contain line breaks:I1025 00:15:15.525108 1 example.go:79] This is a message which has a line break. Structured LoggingFEATURE STATE: Kubernetes v1.23 [beta]Warning:Migration to structured log messages is an ongoing process. Not all log messages are structured in this version. When parsing log files, you must also handle unstructured log messages.Log formatting and value serialization are subject to change.Structured logging introduces a uniform structure in log messages allowing for programmatic extraction of information. You can stor",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-logs/",
    "id": "k8s_00019_qa_288"
  },
  {
    "question": "How does System Logs work?",
    "answer": "System LogsSystem component logs record events happening in cluster, which can be very useful for debugging. You can configure log verbosity to see more or less detail. Logs can be as coarse-grained as showing errors within a component, or as fine-grained as showing step-by-step traces of events (like HTTP access logs, pod state changes, controller actions, or scheduler decisions).Warning:In contrast to the command line flags described here, the log output itself does not fall under the Kubernetes API stability guarantees: individual log entries and their formatting may change from one release to the next!Klogklog is the Kubernetes logging library. klog generates log messages for the Kubernetes system components.Kubernetes is in the process of simplifying logging in its components. The following klog command line flags are deprecated starting with Kubernetes v1.23 and removed in Kubernetes v1.26:--add-dir-header--alsologtostderr--log-backtrace-at--log-dir--log-file--log-file-max-size--logtostderr--one-output--skip-headers--skip-log-headers--stderrthresholdOutput will always be written to stderr, regardless of the output format. Output redirection is expected to be handled by the component which invokes a Kubernetes component. This can be a POSIX shell or a tool like systemd.In some cases, for example a distroless container or a Windows system service, those options are not available. Then the kube-log-runner binary can be used as wrapper around a Kubernetes component to redirect output. A prebuilt binary is included in several Kubernetes base images under its traditional name as /go-runner and as kube-log-runner in server and node release archives.This table shows how kube-log-runner invocations correspond to shell redirection:UsagePOSIX shell (such as bash)kube-log-runner <options> <cmd>Merge stderr and stdout, write to stdout2>&1kube-log-runner (default behavior)Redirect both into log file1>>/tmp/log 2>&1kube-log-runner -log-file=/tmp/logCopy into log file and to stdout2>&1 | tee -a /tmp/logkube-log-runner -log-file=/tmp/log -also-stdoutRedirect only stdout into log file>/tmp/logkube-log-runner -log-file=/tmp/log -redirect-stderr=falseKlog outputAn example of the traditional klog native format:I1025 00:15:15.525108 1 httplog.go:79] GET /api/v1/namespaces/kube-system/pods/metrics-server-v0.3.1-57c75779f-9p8wg: (1.512ms) 200 [pod_nanny/v0.0.0 (linux/amd64) kubernetes/$Format 10.56.1.19:51756] The message string may contain line breaks:I1025 00:15:15.525108 1 example.go:79] This is a message which has a line break. Structured LoggingFEATURE STATE: Kubernetes v1.23 [beta]Warning:Migration to structured log messages is an ongoing process. Not all log messages are structured in this version. When parsing log files, you must also handle unstructured log messages.Log formatting and value serialization are subject to change.Structured logging introduces a uniform structure in log messages allowing for programmatic extraction of information. You can stor",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-logs/",
    "id": "k8s_00019_qa_289"
  },
  {
    "question": "When would you use System Logs?",
    "answer": "System LogsSystem component logs record events happening in cluster, which can be very useful for debugging. You can configure log verbosity to see more or less detail. Logs can be as coarse-grained as showing errors within a component, or as fine-grained as showing step-by-step traces of events (like HTTP access logs, pod state changes, controller actions, or scheduler decisions).Warning:In contrast to the command line flags described here, the log output itself does not fall under the Kubernetes API stability guarantees: individual log entries and their formatting may change from one release to the next!Klogklog is the Kubernetes logging library. klog generates log messages for the Kubernetes system components.Kubernetes is in the process of simplifying logging in its components. The following klog command line flags are deprecated starting with Kubernetes v1.23 and removed in Kubernetes v1.26:--add-dir-header--alsologtostderr--log-backtrace-at--log-dir--log-file--log-file-max-size--logtostderr--one-output--skip-headers--skip-log-headers--stderrthresholdOutput will always be written to stderr, regardless of the output format. Output redirection is expected to be handled by the component which invokes a Kubernetes component. This can be a POSIX shell or a tool like systemd.In some cases, for example a distroless container or a Windows system service, those options are not available. Then the kube-log-runner binary can be used as wrapper around a Kubernetes component to redirect output. A prebuilt binary is included in several Kubernetes base images under its traditional name as /go-runner and as kube-log-runner in server and node release archives.This table shows how kube-log-runner invocations correspond to shell redirection:UsagePOSIX shell (such as bash)kube-log-runner <options> <cmd>Merge stderr and stdout, write to stdout2>&1kube-log-runner (default behavior)Redirect both into log file1>>/tmp/log 2>&1kube-log-runner -log-file=/tmp/logCopy into log file and to stdout2>&1 | tee -a /tmp/logkube-log-runner -log-file=/tmp/log -also-stdoutRedirect only stdout into log file>/tmp/logkube-log-runner -log-file=/tmp/log -redirect-stderr=falseKlog outputAn example of the traditional klog native format:I1025 00:15:15.525108 1 httplog.go:79] GET /api/v1/namespaces/kube-system/pods/metrics-server-v0.3.1-57c75779f-9p8wg: (1.512ms) 200 [pod_nanny/v0.0.0 (linux/amd64) kubernetes/$Format 10.56.1.19:51756] The message string may contain line breaks:I1025 00:15:15.525108 1 example.go:79] This is a message which has a line break. Structured LoggingFEATURE STATE: Kubernetes v1.23 [beta]Warning:Migration to structured log messages is an ongoing process. Not all log messages are structured in this version. When parsing log files, you must also handle unstructured log messages.Log formatting and value serialization are subject to change.Structured logging introduces a uniform structure in log messages allowing for programmatic extraction of information. You can stor",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-logs/",
    "id": "k8s_00019_qa_290"
  },
  {
    "question": "What are the benefits of System Logs?",
    "answer": "System LogsSystem component logs record events happening in cluster, which can be very useful for debugging. You can configure log verbosity to see more or less detail. Logs can be as coarse-grained as showing errors within a component, or as fine-grained as showing step-by-step traces of events (like HTTP access logs, pod state changes, controller actions, or scheduler decisions).Warning:In contrast to the command line flags described here, the log output itself does not fall under the Kubernetes API stability guarantees: individual log entries and their formatting may change from one release to the next!Klogklog is the Kubernetes logging library. klog generates log messages for the Kubernetes system components.Kubernetes is in the process of simplifying logging in its components. The following klog command line flags are deprecated starting with Kubernetes v1.23 and removed in Kubernetes v1.26:--add-dir-header--alsologtostderr--log-backtrace-at--log-dir--log-file--log-file-max-size--logtostderr--one-output--skip-headers--skip-log-headers--stderrthresholdOutput will always be written to stderr, regardless of the output format. Output redirection is expected to be handled by the component which invokes a Kubernetes component. This can be a POSIX shell or a tool like systemd.In some cases, for example a distroless container or a Windows system service, those options are not available. Then the kube-log-runner binary can be used as wrapper around a Kubernetes component to redirect output. A prebuilt binary is included in several Kubernetes base images under its traditional name as /go-runner and as kube-log-runner in server and node release archives.This table shows how kube-log-runner invocations correspond to shell redirection:UsagePOSIX shell (such as bash)kube-log-runner <options> <cmd>Merge stderr and stdout, write to stdout2>&1kube-log-runner (default behavior)Redirect both into log file1>>/tmp/log 2>&1kube-log-runner -log-file=/tmp/logCopy into log file and to stdout2>&1 | tee -a /tmp/logkube-log-runner -log-file=/tmp/log -also-stdoutRedirect only stdout into log file>/tmp/logkube-log-runner -log-file=/tmp/log -redirect-stderr=falseKlog outputAn example of the traditional klog native format:I1025 00:15:15.525108 1 httplog.go:79] GET /api/v1/namespaces/kube-system/pods/metrics-server-v0.3.1-57c75779f-9p8wg: (1.512ms) 200 [pod_nanny/v0.0.0 (linux/amd64) kubernetes/$Format 10.56.1.19:51756] The message string may contain line breaks:I1025 00:15:15.525108 1 example.go:79] This is a message which has a line break. Structured LoggingFEATURE STATE: Kubernetes v1.23 [beta]Warning:Migration to structured log messages is an ongoing process. Not all log messages are structured in this version. When parsing log files, you must also handle unstructured log messages.Log formatting and value serialization are subject to change.Structured logging introduces a uniform structure in log messages allowing for programmatic extraction of information. You can stor",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-logs/",
    "id": "k8s_00019_qa_291"
  },
  {
    "question": "What is System Logs?",
    "answer": "S y s t e m   c o m p o n e n t   l o g s   r e c o r d   e v e n t s   h a p p e n i n g   i n   c l u s t e r ,   w h i c h   c a n   b e   v e r y   u s e f u l   f o r   d e b u g g i n g .   Y o u   c a n   c o n f i g u r e   l o g   v e r b o s i t y   t o   s e e   m o r e   o r   l e s s   d e t a i l .   L o g s   c a n   b e   a s   c o a r s e - g r a i n e d   a s   s h o w i n g   e r r o r s   w i t h i n   a   c o m p o n e n t ,   o r   a s   f i n e - g r a i n e d   a s   s h o w i n g   s t e p - b y - s t e p   t r a c e s   o f   e v e n t s   ( l i k e   H T T P   a c c e s s   l o g s ,   p o d   s t a t e   c h a n g e s ,   c o n t r o l l e r   a c t i o n s ,   o r   s c h e d u l e r   d e c i s i o n s ) .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-logs/",
    "id": "k8s_00019_section_1_292"
  },
  {
    "question": "What is Klog?",
    "answer": "k l o g   i s   t h e   K u b e r n e t e s   l o g g i n g   l i b r a r y .   k l o g   g e n e r a t e s   l o g   m e s s a g e s   f o r   t h e   K u b e r n e t e s   s y s t e m   c o m p o n e n t s .   K u b e r n e t e s   i s   i n   t h e   p r o c e s s   o f   s i m p l i f y i n g   l o g g i n g   i n   i t s   c o m p o n e n t s .   T h e   f o l l o w i n g   k l o g   c o m m a n d   l i n e   f l a g s   a r e   d e p r e c a t e d   s t a r t i n g   w i t h   K u b e r n e t e s   v 1 . 2 3   a n d   r e m o v e d   i n   K u b e r n e t e s   v 1 . 2 6 :   - - a d d - d i r - h e a d e r - - a l s o l o g t o s t d e r r - - l o g - b a c k t r a c e - a t - - l o g - d i r - - l o g - f i l e - - l o g - f i l e - m a x - s i z e - - l o g t o s t d e r r - - o n e - o u t p u t - - s k i p - h e a d e r s - - s k i p - l o g - h e a d e r s - - s t d e r r t h r e s h o l d   O u t p u t   w i l l   a l w a y s   b e   w r i t t e n   t o   s t d e r r ,   r e g a r d l e s s   o f   t h e   o u t p u t   f o r m a t .   O u t p u t   r e d i r e c t i o n   i s   e x p e c t e d   t o   b e   h a n d l e d   b y   t h e   c o m p o n e n t   w h i c h   i n v o k e s   a   K u b e r n e t e s   c o m p o n e n t .   T h i s   c a n   b e   a   P O S I X   s h e l l   o r   a   t o o l   l i k e   s y s t e m d .   I n   s o m e   c a s e s ,   f o r   e x a m p l e   a   d i s t r o l e s s   c o n t a i n e r   o r   a   W i n d o w s   s y s t e m   s e r v i c e ,   t h o s e   o p t i o n s   a r e   n o t   a v a i l a b l e .   T h e n   t h e   k u b e - l o g - r u n n e r   b i n a r y   c a n   b e   u s e d   a s   w r a p p e r   a r o u n d   a   K u b e r n e t e s   c o m p o n e n t   t o   r e d i r e c t   o u t p u t .   A   p r e b u i l t   b i n a r y   i s   i n c l u d e d   i n   s e v e r a l   K u b e r n e t e s   b a s e   i m a g e s   u n d e r   i t s   t r a d i t i o n a l   n a m e   a s   / g o - r u n ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-logs/",
    "id": "k8s_00019_section_2_293"
  },
  {
    "question": "What is Klog output?",
    "answer": "A n   e x a m p l e   o f   t h e   t r a d i t i o n a l   k l o g   n a t i v e   f o r m a t :   I 1 0 2 5   0 0 : 1 5 : 1 5 . 5 2 5 1 0 8   1   h t t p l o g . g o : 7 9 ]   G E T   / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / p o d s / m e t r i c s - s e r v e r - v 0 . 3 . 1 - 5 7 c 7 5 7 7 9 f - 9 p 8 w g :   ( 1 . 5 1 2 m s )   2 0 0   [ p o d _ n a n n y / v 0 . 0 . 0   ( l i n u x / a m d 6 4 )   k u b e r n e t e s / $ F o r m a t   1 0 . 5 6 . 1 . 1 9 : 5 1 7 5 6 ]   T h e   m e s s a g e   s t r i n g   m a y   c o n t a i n   l i n e   b r e a k s :   I 1 0 2 5   0 0 : 1 5 : 1 5 . 5 2 5 1 0 8   1   e x a m p l e . g o : 7 9 ]   T h i s   i s   a   m e s s a g e   w h i c h   h a s   a   l i n e   b r e a k .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-logs/",
    "id": "k8s_00019_section_3_294"
  },
  {
    "question": "What is Warning:?",
    "answer": "M i g r a t i o n   t o   s t r u c t u r e d   l o g   m e s s a g e s   i s   a n   o n g o i n g   p r o c e s s .   N o t   a l l   l o g   m e s s a g e s   a r e   s t r u c t u r e d   i n   t h i s   v e r s i o n .   W h e n   p a r s i n g   l o g   f i l e s ,   y o u   m u s t   a l s o   h a n d l e   u n s t r u c t u r e d   l o g   m e s s a g e s .   L o g   f o r m a t t i n g   a n d   v a l u e   s e r i a l i z a t i o n   a r e   s u b j e c t   t o   c h a n g e .   S t r u c t u r e d   l o g g i n g   i n t r o d u c e s   a   u n i f o r m   s t r u c t u r e   i n   l o g   m e s s a g e s   a l l o w i n g   f o r   p r o g r a m m a t i c   e x t r a c t i o n   o f   i n f o r m a t i o n .   Y o u   c a n   s t o r e   a n d   p r o c e s s   s t r u c t u r e d   l o g s   w i t h   l e s s   e f f o r t   a n d   c o s t .   T h e   c o d e   w h i c h   g e n e r a t e s   a   l o g   m e s s a g e   d e t e r m i n e s   w h e t h e r   i t   u s e s   t h e   t r a d i t i o n a l   u n s t r u c t u r e d   k l o g   o u t p u t   o r   s t r u c t u r e d   l o g g i n g .   T h e   d e f a u l t   f o r m a t t i n g   o f   s t r u c t u r e d   l o g   m e s s a g e s   i s   a s   t e x t ,   w i t h   a   f o r m a t   t h a t   i s   b a c k w a r d   c o m p a t i b l e   w i t h   t r a d i t i o n a l   k l o g :   < k l o g   h e a d e r >   \" < m e s s a g e > \"   < k e y 1 > = \" < v a l u e 1 > \"   < k e y 2 > = \" < v a l u e 2 > \"   . . .   E x a m p l e :   I 1 0 2 5   0 0 : 1 5 : 1 5 . 5 2 5 1 0 8   1   c o n t r o l l e r _ u t i l s . g o : 1 1 6 ]   \" P o d   s t a t u s   u p d a t e d \"   p o d = \" k u b e - s y s t e m / k u b e d n s \"   s t a t u s = \" r e a d y \"   S t r i n g s   a r e   q u o t e d .   O t h e r   v a l u e s   a r e   f o r m a t t e d   w i t h   % + v ,   w h i c h   m a y   c a u s e   l o g   m e s s a g e s   t o   c o n t i n u e   o n   t h e   n e x t   l i n e   d e p e n d i ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-logs/",
    "id": "k8s_00019_section_4_295"
  },
  {
    "question": "What is Contextual Logging?",
    "answer": "C o n t e x t u a l   l o g g i n g   b u i l d s   o n   t o p   o f   s t r u c t u r e d   l o g g i n g .   I t   i s   p r i m a r i l y   a b o u t   h o w   d e v e l o p e r s   u s e   l o g g i n g   c a l l s :   c o d e   b a s e d   o n   t h a t   c o n c e p t   i s   m o r e   f l e x i b l e   a n d   s u p p o r t s   a d d i t i o n a l   u s e   c a s e s   a s   d e s c r i b e d   i n   t h e   C o n t e x t u a l   L o g g i n g   K E P .   I f   d e v e l o p e r s   u s e   a d d i t i o n a l   f u n c t i o n s   l i k e   W i t h V a l u e s   o r   W i t h N a m e   i n   t h e i r   c o m p o n e n t s ,   t h e n   l o g   e n t r i e s   c o n t a i n   a d d i t i o n a l   i n f o r m a t i o n   t h a t   g e t s   p a s s e d   i n t o   f u n c t i o n s   b y   t h e i r   c a l l e r .   F o r   K u b e r n e t e s   1 . 3 4 ,   t h i s   i s   g a t e d   b e h i n d   t h e   C o n t e x t u a l L o g g i n g   f e a t u r e   g a t e   a n d   i s   e n a b l e d   b y   d e f a u l t .   T h e   i n f r a s t r u c t u r e   f o r   t h i s   w a s   a d d e d   i n   1 . 2 4   w i t h o u t   m o d i f y i n g   c o m p o n e n t s .   T h e   c o m p o n e n t - b a s e / l o g s / e x a m p l e   c o m m a n d   d e m o n s t r a t e s   h o w   t o   u s e   t h e   n e w   l o g g i n g   c a l l s   a n d   h o w   a   c o m p o n e n t   b e h a v e s   t h a t   s u p p o r t s   c o n t e x t u a l   l o g g i n g .   $   c d   $ G O P A T H / s r c / k 8 s . i o / k u b e r n e t e s / s t a g i n g / s r c / k 8 s . i o / c o m p o n e n t - b a s e / l o g s / e x a m p l e / c m d /   $   g o   r u n   .   - - h e l p   . . .   - - f e a t u r e - g a t e s   m a p S t r i n g B o o l   A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   a l p h a / e x p e r i m e n t a l   f e a t u r e s .   O p t i o n s   a r e :   A l l A l p h a = t r u e | f ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-logs/",
    "id": "k8s_00019_section_3_296"
  },
  {
    "question": "What is Warning:?",
    "answer": "J S O N   o u t p u t   d o e s   n o t   s u p p o r t   m a n y   s t a n d a r d   k l o g   f l a g s .   F o r   l i s t   o f   u n s u p p o r t e d   k l o g   f l a g s ,   s e e   t h e   C o m m a n d   l i n e   t o o l   r e f e r e n c e .   N o t   a l l   l o g s   a r e   g u a r a n t e e d   t o   b e   w r i t t e n   i n   J S O N   f o r m a t   ( f o r   e x a m p l e ,   d u r i n g   p r o c e s s   s t a r t ) .   I f   y o u   i n t e n d   t o   p a r s e   l o g s ,   m a k e   s u r e   y o u   c a n   h a n d l e   l o g   l i n e s   t h a t   a r e   n o t   J S O N   a s   w e l l .   F i e l d   n a m e s   a n d   J S O N   s e r i a l i z a t i o n   a r e   s u b j e c t   t o   c h a n g e .   T h e   - - l o g g i n g - f o r m a t = j s o n   f l a g   c h a n g e s   t h e   f o r m a t   o f   l o g s   f r o m   k l o g   n a t i v e   f o r m a t   t o   J S O N   f o r m a t .   E x a m p l e   o f   J S O N   l o g   f o r m a t   ( p r e t t y   p r i n t e d ) :   {   \" t s \" :   1 5 8 0 3 0 6 7 7 7 . 0 4 7 2 8 ,   \" v \" :   4 ,   \" m s g \" :   \" P o d   s t a t u s   u p d a t e d \" ,   \" p o d \" : {   \" n a m e \" :   \" n g i n x - 1 \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \"   } ,   \" s t a t u s \" :   \" r e a d y \"   }   K e y s   w i t h   s p e c i a l   m e a n i n g :   t s   -   t i m e s t a m p   a s   U n i x   t i m e   ( r e q u i r e d ,   f l o a t ) v   -   v e r b o s i t y   ( o n l y   f o r   i n f o   a n d   n o t   f o r   e r r o r   m e s s a g e s ,   i n t ) e r r   -   e r r o r   s t r i n g   ( o p t i o n a l ,   s t r i n g ) m s g   -   m e s s a g e   ( r e q u i r e d ,   s t r i n g )   L i s t   o f   c o m p o n e n t s   c u r r e n t l y   s u p p o r t i n g   J S O N   f o r m a t :   k u b e - c o n t r o l l e r - m a n a g e r k u b e - a p i s e r v e r k u b e - s c h e d u l e r k u b e l e t",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-logs/",
    "id": "k8s_00019_section_4_297"
  },
  {
    "question": "What is Log verbosity level?",
    "answer": "T h e   - v   f l a g   c o n t r o l s   l o g   v e r b o s i t y .   I n c r e a s i n g   t h e   v a l u e   i n c r e a s e s   t h e   n u m b e r   o f   l o g g e d   e v e n t s .   D e c r e a s i n g   t h e   v a l u e   d e c r e a s e s   t h e   n u m b e r   o f   l o g g e d   e v e n t s .   I n c r e a s i n g   v e r b o s i t y   s e t t i n g s   l o g s   i n c r e a s i n g l y   l e s s   s e v e r e   e v e n t s .   A   v e r b o s i t y   s e t t i n g   o f   0   l o g s   o n l y   c r i t i c a l   e v e n t s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-logs/",
    "id": "k8s_00019_section_3_298"
  },
  {
    "question": "What is Log location?",
    "answer": "T h e r e   a r e   t w o   t y p e s   o f   s y s t e m   c o m p o n e n t s :   t h o s e   t h a t   r u n   i n   a   c o n t a i n e r   a n d   t h o s e   t h a t   d o   n o t   r u n   i n   a   c o n t a i n e r .   F o r   e x a m p l e :   T h e   K u b e r n e t e s   s c h e d u l e r   a n d   k u b e - p r o x y   r u n   i n   a   c o n t a i n e r . T h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   d o   n o t   r u n   i n   c o n t a i n e r s .   O n   m a c h i n e s   w i t h   s y s t e m d ,   t h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   w r i t e   t o   j o u r n a l d .   O t h e r w i s e ,   t h e y   w r i t e   t o   . l o g   f i l e s   i n   t h e   / v a r / l o g   d i r e c t o r y .   S y s t e m   c o m p o n e n t s   i n s i d e   c o n t a i n e r s   a l w a y s   w r i t e   t o   . l o g   f i l e s   i n   t h e   / v a r / l o g   d i r e c t o r y ,   b y p a s s i n g   t h e   d e f a u l t   l o g g i n g   m e c h a n i s m .   S i m i l a r   t o   t h e   c o n t a i n e r   l o g s ,   y o u   s h o u l d   r o t a t e   s y s t e m   c o m p o n e n t   l o g s   i n   t h e   / v a r / l o g   d i r e c t o r y .   I n   K u b e r n e t e s   c l u s t e r s   c r e a t e d   b y   t h e   k u b e - u p . s h   s c r i p t ,   l o g   r o t a t i o n   i s   c o n f i g u r e d   b y   t h e   l o g r o t a t e   t o o l .   T h e   l o g r o t a t e   t o o l   r o t a t e s   l o g s   d a i l y ,   o r   o n c e   t h e   l o g   s i z e   i s   g r e a t e r   t h a n   1 0 0 M B .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-logs/",
    "id": "k8s_00019_section_3_299"
  },
  {
    "question": "What is Log query?",
    "answer": "T o   h e l p   w i t h   d e b u g g i n g   i s s u e s   o n   n o d e s ,   K u b e r n e t e s   v 1 . 2 7   i n t r o d u c e d   a   f e a t u r e   t h a t   a l l o w s   v i e w i n g   l o g s   o f   s e r v i c e s   r u n n i n g   o n   t h e   n o d e .   T o   u s e   t h e   f e a t u r e ,   e n s u r e   t h a t   t h e   N o d e L o g Q u e r y   f e a t u r e   g a t e   i s   e n a b l e d   f o r   t h a t   n o d e ,   a n d   t h a t   t h e   k u b e l e t   c o n f i g u r a t i o n   o p t i o n s   e n a b l e S y s t e m L o g H a n d l e r   a n d   e n a b l e S y s t e m L o g Q u e r y   a r e   b o t h   s e t   t o   t r u e .   O n   L i n u x   t h e   a s s u m p t i o n   i s   t h a t   s e r v i c e   l o g s   a r e   a v a i l a b l e   v i a   j o u r n a l d .   O n   W i n d o w s   t h e   a s s u m p t i o n   i s   t h a t   s e r v i c e   l o g s   a r e   a v a i l a b l e   i n   t h e   a p p l i c a t i o n   l o g   p r o v i d e r .   O n   b o t h   o p e r a t i n g   s y s t e m s ,   l o g s   a r e   a l s o   a v a i l a b l e   b y   r e a d i n g   f i l e s   w i t h i n   / v a r / l o g / .   P r o v i d e d   y o u   a r e   a u t h o r i z e d   t o   i n t e r a c t   w i t h   n o d e   o b j e c t s ,   y o u   c a n   t r y   o u t   t h i s   f e a t u r e   o n   a l l   y o u r   n o d e s   o r   j u s t   a   s u b s e t .   H e r e   i s   a n   e x a m p l e   t o   r e t r i e v e   t h e   k u b e l e t   s e r v i c e   l o g s   f r o m   a   n o d e :   #   F e t c h   k u b e l e t   l o g s   f r o m   a   n o d e   n a m e d   n o d e - 1 . e x a m p l e   k u b e c t l   g e t   - - r a w   \" / a p i / v 1 / n o d e s / n o d e - 1 . e x a m p l e / p r o x y / l o g s / ? q u e r y = k u b e l e t \"   Y o u   c a n   a l s o   f e t c h   f i l e s ,   p r o v i d e d   t h a t   t h e   f i l e s   a r e   i n   a   d i r e c t o r y   t h a t   t h e   k u b e l e t   a l ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-logs/",
    "id": "k8s_00019_section_2_300"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   t h e   K u b e r n e t e s   L o g g i n g   A r c h i t e c t u r e R e a d   a b o u t   S t r u c t u r e d   L o g g i n g R e a d   a b o u t   C o n t e x t u a l   L o g g i n g R e a d   a b o u t   d e p r e c a t i o n   o f   k l o g   f l a g s R e a d   a b o u t   t h e   C o n v e n t i o n s   f o r   l o g g i n g   s e v e r i t y R e a d   a b o u t   L o g   Q u e r y",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-logs/",
    "id": "k8s_00019_section_2_301"
  },
  {
    "question": "What is About cgroup v2?",
    "answer": "About cgroup v2On Linux, control groups constrain resources that are allocated to processes.The kubelet and the underlying container runtime need to interface with cgroups to enforce resource management for pods and containers which includes cpu/memory requests and limits for containerized workloads.There are two versions of cgroups in Linux: cgroup v1 and cgroup v2. cgroup v2 is the new generation of the cgroup API.What is cgroup v2?FEATURE STATE: Kubernetes v1.25 [stable]cgroup v2 is the next version of the Linux cgroup API. cgroup v2 provides a unified control system with enhanced resource management capabilities.cgroup v2 offers several improvements over cgroup v1, such as the following:Single unified hierarchy design in APISafer sub-tree delegation to containersNewer features like Pressure Stall InformationEnhanced resource allocation management and isolation across multiple resourcesUnified accounting for different types of memory allocations (network memory, kernel memory, etc)Accounting for non-immediate resource changes such as page cache write backsSome Kubernetes features exclusively use cgroup v2 for enhanced resource management and isolation. For example, the MemoryQoS feature improves memory QoS and relies on cgroup v2 primitives.Using cgroup v2The recommended way to use cgroup v2 is to use a Linux distribution that enables and uses cgroup v2 by default.To check if your distribution uses cgroup v2, refer to Identify cgroup version on Linux nodes.Requirementscgroup v2 has the following requirements:OS distribution enables cgroup v2Linux Kernel version is 5.8 or laterContainer runtime supports cgroup v2. For example:containerd v1.4 and latercri-o v1.20 and laterThe kubelet and the container runtime are configured to use the systemd cgroup driverLinux Distribution cgroup v2 supportFor a list of Linux distributions that use cgroup v2, refer to the cgroup v2 documentationContainer Optimized OS (since M97)Ubuntu (since 21.10, 22.04+ recommended)Debian GNU/Linux (since Debian 11 bullseye)Fedora (since 31)Arch Linux (since April 2021)RHEL and RHEL-like distributions (since 9)To check if your distribution is using cgroup v2, refer to your distribution's documentation or follow the instructions in Identify the cgroup version on Linux nodes.You can also enable cgroup v2 manually on your Linux distribution by modifying the kernel cmdline boot arguments. If your distribution uses GRUB, systemd.unified_cgroup_hierarchy=1 should be added in GRUB_CMDLINE_LINUX under /etc/default/grub, followed by sudo update-grub. However, the recommended approach is to use a distribution that already enables cgroup v2 by default.Migrating to cgroup v2To migrate to cgroup v2, ensure that you meet the requirements, then upgrade to a kernel version that enables cgroup v2 by default.The kubelet automatically detects that the OS is running on cgroup v2 and performs accordingly with no additional configuration required.There should not be any noticeable difference in th",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cgroups/",
    "id": "k8s_00020_qa_302"
  },
  {
    "question": "How does About cgroup v2 work?",
    "answer": "About cgroup v2On Linux, control groups constrain resources that are allocated to processes.The kubelet and the underlying container runtime need to interface with cgroups to enforce resource management for pods and containers which includes cpu/memory requests and limits for containerized workloads.There are two versions of cgroups in Linux: cgroup v1 and cgroup v2. cgroup v2 is the new generation of the cgroup API.What is cgroup v2?FEATURE STATE: Kubernetes v1.25 [stable]cgroup v2 is the next version of the Linux cgroup API. cgroup v2 provides a unified control system with enhanced resource management capabilities.cgroup v2 offers several improvements over cgroup v1, such as the following:Single unified hierarchy design in APISafer sub-tree delegation to containersNewer features like Pressure Stall InformationEnhanced resource allocation management and isolation across multiple resourcesUnified accounting for different types of memory allocations (network memory, kernel memory, etc)Accounting for non-immediate resource changes such as page cache write backsSome Kubernetes features exclusively use cgroup v2 for enhanced resource management and isolation. For example, the MemoryQoS feature improves memory QoS and relies on cgroup v2 primitives.Using cgroup v2The recommended way to use cgroup v2 is to use a Linux distribution that enables and uses cgroup v2 by default.To check if your distribution uses cgroup v2, refer to Identify cgroup version on Linux nodes.Requirementscgroup v2 has the following requirements:OS distribution enables cgroup v2Linux Kernel version is 5.8 or laterContainer runtime supports cgroup v2. For example:containerd v1.4 and latercri-o v1.20 and laterThe kubelet and the container runtime are configured to use the systemd cgroup driverLinux Distribution cgroup v2 supportFor a list of Linux distributions that use cgroup v2, refer to the cgroup v2 documentationContainer Optimized OS (since M97)Ubuntu (since 21.10, 22.04+ recommended)Debian GNU/Linux (since Debian 11 bullseye)Fedora (since 31)Arch Linux (since April 2021)RHEL and RHEL-like distributions (since 9)To check if your distribution is using cgroup v2, refer to your distribution's documentation or follow the instructions in Identify the cgroup version on Linux nodes.You can also enable cgroup v2 manually on your Linux distribution by modifying the kernel cmdline boot arguments. If your distribution uses GRUB, systemd.unified_cgroup_hierarchy=1 should be added in GRUB_CMDLINE_LINUX under /etc/default/grub, followed by sudo update-grub. However, the recommended approach is to use a distribution that already enables cgroup v2 by default.Migrating to cgroup v2To migrate to cgroup v2, ensure that you meet the requirements, then upgrade to a kernel version that enables cgroup v2 by default.The kubelet automatically detects that the OS is running on cgroup v2 and performs accordingly with no additional configuration required.There should not be any noticeable difference in th",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cgroups/",
    "id": "k8s_00020_qa_303"
  },
  {
    "question": "When would you use About cgroup v2?",
    "answer": "About cgroup v2On Linux, control groups constrain resources that are allocated to processes.The kubelet and the underlying container runtime need to interface with cgroups to enforce resource management for pods and containers which includes cpu/memory requests and limits for containerized workloads.There are two versions of cgroups in Linux: cgroup v1 and cgroup v2. cgroup v2 is the new generation of the cgroup API.What is cgroup v2?FEATURE STATE: Kubernetes v1.25 [stable]cgroup v2 is the next version of the Linux cgroup API. cgroup v2 provides a unified control system with enhanced resource management capabilities.cgroup v2 offers several improvements over cgroup v1, such as the following:Single unified hierarchy design in APISafer sub-tree delegation to containersNewer features like Pressure Stall InformationEnhanced resource allocation management and isolation across multiple resourcesUnified accounting for different types of memory allocations (network memory, kernel memory, etc)Accounting for non-immediate resource changes such as page cache write backsSome Kubernetes features exclusively use cgroup v2 for enhanced resource management and isolation. For example, the MemoryQoS feature improves memory QoS and relies on cgroup v2 primitives.Using cgroup v2The recommended way to use cgroup v2 is to use a Linux distribution that enables and uses cgroup v2 by default.To check if your distribution uses cgroup v2, refer to Identify cgroup version on Linux nodes.Requirementscgroup v2 has the following requirements:OS distribution enables cgroup v2Linux Kernel version is 5.8 or laterContainer runtime supports cgroup v2. For example:containerd v1.4 and latercri-o v1.20 and laterThe kubelet and the container runtime are configured to use the systemd cgroup driverLinux Distribution cgroup v2 supportFor a list of Linux distributions that use cgroup v2, refer to the cgroup v2 documentationContainer Optimized OS (since M97)Ubuntu (since 21.10, 22.04+ recommended)Debian GNU/Linux (since Debian 11 bullseye)Fedora (since 31)Arch Linux (since April 2021)RHEL and RHEL-like distributions (since 9)To check if your distribution is using cgroup v2, refer to your distribution's documentation or follow the instructions in Identify the cgroup version on Linux nodes.You can also enable cgroup v2 manually on your Linux distribution by modifying the kernel cmdline boot arguments. If your distribution uses GRUB, systemd.unified_cgroup_hierarchy=1 should be added in GRUB_CMDLINE_LINUX under /etc/default/grub, followed by sudo update-grub. However, the recommended approach is to use a distribution that already enables cgroup v2 by default.Migrating to cgroup v2To migrate to cgroup v2, ensure that you meet the requirements, then upgrade to a kernel version that enables cgroup v2 by default.The kubelet automatically detects that the OS is running on cgroup v2 and performs accordingly with no additional configuration required.There should not be any noticeable difference in th",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cgroups/",
    "id": "k8s_00020_qa_304"
  },
  {
    "question": "What are the benefits of About cgroup v2?",
    "answer": "About cgroup v2On Linux, control groups constrain resources that are allocated to processes.The kubelet and the underlying container runtime need to interface with cgroups to enforce resource management for pods and containers which includes cpu/memory requests and limits for containerized workloads.There are two versions of cgroups in Linux: cgroup v1 and cgroup v2. cgroup v2 is the new generation of the cgroup API.What is cgroup v2?FEATURE STATE: Kubernetes v1.25 [stable]cgroup v2 is the next version of the Linux cgroup API. cgroup v2 provides a unified control system with enhanced resource management capabilities.cgroup v2 offers several improvements over cgroup v1, such as the following:Single unified hierarchy design in APISafer sub-tree delegation to containersNewer features like Pressure Stall InformationEnhanced resource allocation management and isolation across multiple resourcesUnified accounting for different types of memory allocations (network memory, kernel memory, etc)Accounting for non-immediate resource changes such as page cache write backsSome Kubernetes features exclusively use cgroup v2 for enhanced resource management and isolation. For example, the MemoryQoS feature improves memory QoS and relies on cgroup v2 primitives.Using cgroup v2The recommended way to use cgroup v2 is to use a Linux distribution that enables and uses cgroup v2 by default.To check if your distribution uses cgroup v2, refer to Identify cgroup version on Linux nodes.Requirementscgroup v2 has the following requirements:OS distribution enables cgroup v2Linux Kernel version is 5.8 or laterContainer runtime supports cgroup v2. For example:containerd v1.4 and latercri-o v1.20 and laterThe kubelet and the container runtime are configured to use the systemd cgroup driverLinux Distribution cgroup v2 supportFor a list of Linux distributions that use cgroup v2, refer to the cgroup v2 documentationContainer Optimized OS (since M97)Ubuntu (since 21.10, 22.04+ recommended)Debian GNU/Linux (since Debian 11 bullseye)Fedora (since 31)Arch Linux (since April 2021)RHEL and RHEL-like distributions (since 9)To check if your distribution is using cgroup v2, refer to your distribution's documentation or follow the instructions in Identify the cgroup version on Linux nodes.You can also enable cgroup v2 manually on your Linux distribution by modifying the kernel cmdline boot arguments. If your distribution uses GRUB, systemd.unified_cgroup_hierarchy=1 should be added in GRUB_CMDLINE_LINUX under /etc/default/grub, followed by sudo update-grub. However, the recommended approach is to use a distribution that already enables cgroup v2 by default.Migrating to cgroup v2To migrate to cgroup v2, ensure that you meet the requirements, then upgrade to a kernel version that enables cgroup v2 by default.The kubelet automatically detects that the OS is running on cgroup v2 and performs accordingly with no additional configuration required.There should not be any noticeable difference in th",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cgroups/",
    "id": "k8s_00020_qa_305"
  },
  {
    "question": "What is About cgroup v2?",
    "answer": "O n   L i n u x ,   c o n t r o l   g r o u p s   c o n s t r a i n   r e s o u r c e s   t h a t   a r e   a l l o c a t e d   t o   p r o c e s s e s .   T h e   k u b e l e t   a n d   t h e   u n d e r l y i n g   c o n t a i n e r   r u n t i m e   n e e d   t o   i n t e r f a c e   w i t h   c g r o u p s   t o   e n f o r c e   r e s o u r c e   m a n a g e m e n t   f o r   p o d s   a n d   c o n t a i n e r s   w h i c h   i n c l u d e s   c p u / m e m o r y   r e q u e s t s   a n d   l i m i t s   f o r   c o n t a i n e r i z e d   w o r k l o a d s .   T h e r e   a r e   t w o   v e r s i o n s   o f   c g r o u p s   i n   L i n u x :   c g r o u p   v 1   a n d   c g r o u p   v 2 .   c g r o u p   v 2   i s   t h e   n e w   g e n e r a t i o n   o f   t h e   c g r o u p   A P I .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cgroups/",
    "id": "k8s_00020_section_1_306"
  },
  {
    "question": "What is What is cgroup v2??",
    "answer": "c g r o u p   v 2   i s   t h e   n e x t   v e r s i o n   o f   t h e   L i n u x   c g r o u p   A P I .   c g r o u p   v 2   p r o v i d e s   a   u n i f i e d   c o n t r o l   s y s t e m   w i t h   e n h a n c e d   r e s o u r c e   m a n a g e m e n t   c a p a b i l i t i e s .   c g r o u p   v 2   o f f e r s   s e v e r a l   i m p r o v e m e n t s   o v e r   c g r o u p   v 1 ,   s u c h   a s   t h e   f o l l o w i n g :   S i n g l e   u n i f i e d   h i e r a r c h y   d e s i g n   i n   A P I S a f e r   s u b - t r e e   d e l e g a t i o n   t o   c o n t a i n e r s N e w e r   f e a t u r e s   l i k e   P r e s s u r e   S t a l l   I n f o r m a t i o n E n h a n c e d   r e s o u r c e   a l l o c a t i o n   m a n a g e m e n t   a n d   i s o l a t i o n   a c r o s s   m u l t i p l e   r e s o u r c e s U n i f i e d   a c c o u n t i n g   f o r   d i f f e r e n t   t y p e s   o f   m e m o r y   a l l o c a t i o n s   ( n e t w o r k   m e m o r y ,   k e r n e l   m e m o r y ,   e t c ) A c c o u n t i n g   f o r   n o n - i m m e d i a t e   r e s o u r c e   c h a n g e s   s u c h   a s   p a g e   c a c h e   w r i t e   b a c k s   U n i f i e d   a c c o u n t i n g   f o r   d i f f e r e n t   t y p e s   o f   m e m o r y   a l l o c a t i o n s   ( n e t w o r k   m e m o r y ,   k e r n e l   m e m o r y ,   e t c ) A c c o u n t i n g   f o r   n o n - i m m e d i a t e   r e s o u r c e   c h a n g e s   s u c h   a s   p a g e   c a c h e   w r i t e   b a c k s   S o m e   K u b e r n e t e s   f e a t u r e s   e x c l u s i v e l y   u s e   c g r o u p   v 2   f o r   e n h a n c e d   r e s o u r c e   m a n a g e m e n t   a n d   i s o l a t i o n .   F o r   e x a m p l e ,   t h e   M e m o r y Q o S   f e a t u r e   i m p r o v e s   m e m o r y   Q o S   a n d   r e l i e s   o n   c g r o u p   v 2   p r i m i t i v e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cgroups/",
    "id": "k8s_00020_section_2_307"
  },
  {
    "question": "What is Using cgroup v2?",
    "answer": "T h e   r e c o m m e n d e d   w a y   t o   u s e   c g r o u p   v 2   i s   t o   u s e   a   L i n u x   d i s t r i b u t i o n   t h a t   e n a b l e s   a n d   u s e s   c g r o u p   v 2   b y   d e f a u l t .   T o   c h e c k   i f   y o u r   d i s t r i b u t i o n   u s e s   c g r o u p   v 2 ,   r e f e r   t o   I d e n t i f y   c g r o u p   v e r s i o n   o n   L i n u x   n o d e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cgroups/",
    "id": "k8s_00020_section_2_308"
  },
  {
    "question": "What is Requirements?",
    "answer": "c g r o u p   v 2   h a s   t h e   f o l l o w i n g   r e q u i r e m e n t s :   O S   d i s t r i b u t i o n   e n a b l e s   c g r o u p   v 2 L i n u x   K e r n e l   v e r s i o n   i s   5 . 8   o r   l a t e r C o n t a i n e r   r u n t i m e   s u p p o r t s   c g r o u p   v 2 .   F o r   e x a m p l e : c o n t a i n e r d   v 1 . 4   a n d   l a t e r c r i - o   v 1 . 2 0   a n d   l a t e r T h e   k u b e l e t   a n d   t h e   c o n t a i n e r   r u n t i m e   a r e   c o n f i g u r e d   t o   u s e   t h e   s y s t e m d   c g r o u p   d r i v e r   c o n t a i n e r d   v 1 . 4   a n d   l a t e r c r i - o   v 1 . 2 0   a n d   l a t e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cgroups/",
    "id": "k8s_00020_section_3_309"
  },
  {
    "question": "What is Linux Distribution cgroup v2 support?",
    "answer": "F o r   a   l i s t   o f   L i n u x   d i s t r i b u t i o n s   t h a t   u s e   c g r o u p   v 2 ,   r e f e r   t o   t h e   c g r o u p   v 2   d o c u m e n t a t i o n   C o n t a i n e r   O p t i m i z e d   O S   ( s i n c e   M 9 7 ) U b u n t u   ( s i n c e   2 1 . 1 0 ,   2 2 . 0 4 +   r e c o m m e n d e d ) D e b i a n   G N U / L i n u x   ( s i n c e   D e b i a n   1 1   b u l l s e y e ) F e d o r a   ( s i n c e   3 1 ) A r c h   L i n u x   ( s i n c e   A p r i l   2 0 2 1 ) R H E L   a n d   R H E L - l i k e   d i s t r i b u t i o n s   ( s i n c e   9 )   T o   c h e c k   i f   y o u r   d i s t r i b u t i o n   i s   u s i n g   c g r o u p   v 2 ,   r e f e r   t o   y o u r   d i s t r i b u t i o n ' s   d o c u m e n t a t i o n   o r   f o l l o w   t h e   i n s t r u c t i o n s   i n   I d e n t i f y   t h e   c g r o u p   v e r s i o n   o n   L i n u x   n o d e s .   Y o u   c a n   a l s o   e n a b l e   c g r o u p   v 2   m a n u a l l y   o n   y o u r   L i n u x   d i s t r i b u t i o n   b y   m o d i f y i n g   t h e   k e r n e l   c m d l i n e   b o o t   a r g u m e n t s .   I f   y o u r   d i s t r i b u t i o n   u s e s   G R U B ,   s y s t e m d . u n i f i e d _ c g r o u p _ h i e r a r c h y = 1   s h o u l d   b e   a d d e d   i n   G R U B _ C M D L I N E _ L I N U X   u n d e r   / e t c / d e f a u l t / g r u b ,   f o l l o w e d   b y   s u d o   u p d a t e - g r u b .   H o w e v e r ,   t h e   r e c o m m e n d e d   a p p r o a c h   i s   t o   u s e   a   d i s t r i b u t i o n   t h a t   a l r e a d y   e n a b l e s   c g r o u p   v 2   b y   d e f a u l t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cgroups/",
    "id": "k8s_00020_section_3_310"
  },
  {
    "question": "What is Migrating to cgroup v2?",
    "answer": "T o   m i g r a t e   t o   c g r o u p   v 2 ,   e n s u r e   t h a t   y o u   m e e t   t h e   r e q u i r e m e n t s ,   t h e n   u p g r a d e   t o   a   k e r n e l   v e r s i o n   t h a t   e n a b l e s   c g r o u p   v 2   b y   d e f a u l t .   T h e   k u b e l e t   a u t o m a t i c a l l y   d e t e c t s   t h a t   t h e   O S   i s   r u n n i n g   o n   c g r o u p   v 2   a n d   p e r f o r m s   a c c o r d i n g l y   w i t h   n o   a d d i t i o n a l   c o n f i g u r a t i o n   r e q u i r e d .   T h e r e   s h o u l d   n o t   b e   a n y   n o t i c e a b l e   d i f f e r e n c e   i n   t h e   u s e r   e x p e r i e n c e   w h e n   s w i t c h i n g   t o   c g r o u p   v 2 ,   u n l e s s   u s e r s   a r e   a c c e s s i n g   t h e   c g r o u p   f i l e   s y s t e m   d i r e c t l y ,   e i t h e r   o n   t h e   n o d e   o r   f r o m   w i t h i n   t h e   c o n t a i n e r s .   c g r o u p   v 2   u s e s   a   d i f f e r e n t   A P I   t h a n   c g r o u p   v 1 ,   s o   i f   t h e r e   a r e   a n y   a p p l i c a t i o n s   t h a t   d i r e c t l y   a c c e s s   t h e   c g r o u p   f i l e   s y s t e m ,   t h e y   n e e d   t o   b e   u p d a t e d   t o   n e w e r   v e r s i o n s   t h a t   s u p p o r t   c g r o u p   v 2 .   F o r   e x a m p l e :   S o m e   t h i r d - p a r t y   m o n i t o r i n g   a n d   s e c u r i t y   a g e n t s   m a y   d e p e n d   o n   t h e   c g r o u p   f i l e s y s t e m .   U p d a t e   t h e s e   a g e n t s   t o   v e r s i o n s   t h a t   s u p p o r t   c g r o u p   v 2 . I f   y o u   r u n   c A d v i s o r   a s   a   s t a n d - a l o n e   D a e m o n S e t   f o r   m o n i t o r i n g   p o d s   a n d   c o n t a i n e r s ,   u p d a t e   i t   t o   v 0 . 4 3 . 0   o r   l a t e r . I f   y o u   d e p l o y   J a v a   a p p l i c a t i o n s ,   p r e f e r   t o   u s e   v e r s i o n s   w h i c h   f u l ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cgroups/",
    "id": "k8s_00020_section_3_311"
  },
  {
    "question": "What is Identify the cgroup version on Linux Nodes?",
    "answer": "T h e   c g r o u p   v e r s i o n   d e p e n d s   o n   t h e   L i n u x   d i s t r i b u t i o n   b e i n g   u s e d   a n d   t h e   d e f a u l t   c g r o u p   v e r s i o n   c o n f i g u r e d   o n   t h e   O S .   T o   c h e c k   w h i c h   c g r o u p   v e r s i o n   y o u r   d i s t r i b u t i o n   u s e s ,   r u n   t h e   s t a t   - f c   % T   / s y s / f s / c g r o u p /   c o m m a n d   o n   t h e   n o d e :   s t a t   - f c   % T   / s y s / f s / c g r o u p /   F o r   c g r o u p   v 2 ,   t h e   o u t p u t   i s   c g r o u p 2 f s .   F o r   c g r o u p   v 1 ,   t h e   o u t p u t   i s   t m p f s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cgroups/",
    "id": "k8s_00020_section_2_312"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   c g r o u p s L e a r n   m o r e   a b o u t   c o n t a i n e r   r u n t i m e L e a r n   m o r e   a b o u t   c g r o u p   d r i v e r s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cgroups/",
    "id": "k8s_00020_section_2_313"
  },
  {
    "question": "What is Managing Workloads?",
    "answer": "Managing WorkloadsYou've deployed your application and exposed it via a Service. Now what? Kubernetes provides a number of tools to help you manage your application deployment, including scaling and updating.Organizing resource configurationsMany applications require multiple resources to be created, such as a Deployment along with a Service. Management of multiple resources can be simplified by grouping them together in the same file (separated by --- in YAML). For example:application/nginx-app.yaml apiVersion: v1 kind: Service metadata: name: my-nginx-svc labels: app: nginx spec: type: LoadBalancer ports: - port: 80 selector: app: nginx --- apiVersion: apps/v1 kind: Deployment metadata: name: my-nginx labels: app: nginx spec: replicas: 3 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx:1.14.2 ports: - containerPort: 80 Multiple resources can be created the same way as a single resource:kubectl apply -f https://k8s.io/examples/application/nginx-app.yaml service/my-nginx-svc created deployment.apps/my-nginx created The resources will be created in the order they appear in the manifest. Therefore, it's best to specify the Service first, since that will ensure the scheduler can spread the pods associated with the Service as they are created by the controller(s), such as Deployment.kubectl apply also accepts multiple -f arguments:kubectl apply -f https://k8s.io/examples/application/nginx/nginx-svc.yaml \\ -f https://k8s.io/examples/application/nginx/nginx-deployment.yaml It is a recommended practice to put resources related to the same microservice or application tier into the same file, and to group all of the files associated with your application in the same directory. If the tiers of your application bind to each other using DNS, you can deploy all of the components of your stack together.A URL can also be specified as a configuration source, which is handy for deploying directly from manifests in your source control system:kubectl apply -f https://k8s.io/examples/application/nginx/nginx-deployment.yaml deployment.apps/my-nginx created If you need to define more manifests, such as adding a ConfigMap, you can do that too.External toolsThis section lists only the most common tools used for managing workloads on Kubernetes. To see a larger list, view Application definition and image build in the CNCF Landscape.Helm🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationHelm is a tool for managing packages of pre-configured Kubernetes resources. These packages are known as Helm charts.KustomizeKustomize traverses a Kubernetes manifest to add, remove or update configuration options. It is available both as a standalone binary and as a native feature of kubectl.Bulk operations in kubectlResource creation isn't the only operation that kubectl can perform in bulk. It can also extract resource names from configuration files in order to",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/management/",
    "id": "k8s_00021_qa_314"
  },
  {
    "question": "How does Managing Workloads work?",
    "answer": "Managing WorkloadsYou've deployed your application and exposed it via a Service. Now what? Kubernetes provides a number of tools to help you manage your application deployment, including scaling and updating.Organizing resource configurationsMany applications require multiple resources to be created, such as a Deployment along with a Service. Management of multiple resources can be simplified by grouping them together in the same file (separated by --- in YAML). For example:application/nginx-app.yaml apiVersion: v1 kind: Service metadata: name: my-nginx-svc labels: app: nginx spec: type: LoadBalancer ports: - port: 80 selector: app: nginx --- apiVersion: apps/v1 kind: Deployment metadata: name: my-nginx labels: app: nginx spec: replicas: 3 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx:1.14.2 ports: - containerPort: 80 Multiple resources can be created the same way as a single resource:kubectl apply -f https://k8s.io/examples/application/nginx-app.yaml service/my-nginx-svc created deployment.apps/my-nginx created The resources will be created in the order they appear in the manifest. Therefore, it's best to specify the Service first, since that will ensure the scheduler can spread the pods associated with the Service as they are created by the controller(s), such as Deployment.kubectl apply also accepts multiple -f arguments:kubectl apply -f https://k8s.io/examples/application/nginx/nginx-svc.yaml \\ -f https://k8s.io/examples/application/nginx/nginx-deployment.yaml It is a recommended practice to put resources related to the same microservice or application tier into the same file, and to group all of the files associated with your application in the same directory. If the tiers of your application bind to each other using DNS, you can deploy all of the components of your stack together.A URL can also be specified as a configuration source, which is handy for deploying directly from manifests in your source control system:kubectl apply -f https://k8s.io/examples/application/nginx/nginx-deployment.yaml deployment.apps/my-nginx created If you need to define more manifests, such as adding a ConfigMap, you can do that too.External toolsThis section lists only the most common tools used for managing workloads on Kubernetes. To see a larger list, view Application definition and image build in the CNCF Landscape.Helm🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationHelm is a tool for managing packages of pre-configured Kubernetes resources. These packages are known as Helm charts.KustomizeKustomize traverses a Kubernetes manifest to add, remove or update configuration options. It is available both as a standalone binary and as a native feature of kubectl.Bulk operations in kubectlResource creation isn't the only operation that kubectl can perform in bulk. It can also extract resource names from configuration files in order to",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/management/",
    "id": "k8s_00021_qa_315"
  },
  {
    "question": "When would you use Managing Workloads?",
    "answer": "Managing WorkloadsYou've deployed your application and exposed it via a Service. Now what? Kubernetes provides a number of tools to help you manage your application deployment, including scaling and updating.Organizing resource configurationsMany applications require multiple resources to be created, such as a Deployment along with a Service. Management of multiple resources can be simplified by grouping them together in the same file (separated by --- in YAML). For example:application/nginx-app.yaml apiVersion: v1 kind: Service metadata: name: my-nginx-svc labels: app: nginx spec: type: LoadBalancer ports: - port: 80 selector: app: nginx --- apiVersion: apps/v1 kind: Deployment metadata: name: my-nginx labels: app: nginx spec: replicas: 3 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx:1.14.2 ports: - containerPort: 80 Multiple resources can be created the same way as a single resource:kubectl apply -f https://k8s.io/examples/application/nginx-app.yaml service/my-nginx-svc created deployment.apps/my-nginx created The resources will be created in the order they appear in the manifest. Therefore, it's best to specify the Service first, since that will ensure the scheduler can spread the pods associated with the Service as they are created by the controller(s), such as Deployment.kubectl apply also accepts multiple -f arguments:kubectl apply -f https://k8s.io/examples/application/nginx/nginx-svc.yaml \\ -f https://k8s.io/examples/application/nginx/nginx-deployment.yaml It is a recommended practice to put resources related to the same microservice or application tier into the same file, and to group all of the files associated with your application in the same directory. If the tiers of your application bind to each other using DNS, you can deploy all of the components of your stack together.A URL can also be specified as a configuration source, which is handy for deploying directly from manifests in your source control system:kubectl apply -f https://k8s.io/examples/application/nginx/nginx-deployment.yaml deployment.apps/my-nginx created If you need to define more manifests, such as adding a ConfigMap, you can do that too.External toolsThis section lists only the most common tools used for managing workloads on Kubernetes. To see a larger list, view Application definition and image build in the CNCF Landscape.Helm🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationHelm is a tool for managing packages of pre-configured Kubernetes resources. These packages are known as Helm charts.KustomizeKustomize traverses a Kubernetes manifest to add, remove or update configuration options. It is available both as a standalone binary and as a native feature of kubectl.Bulk operations in kubectlResource creation isn't the only operation that kubectl can perform in bulk. It can also extract resource names from configuration files in order to",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/management/",
    "id": "k8s_00021_qa_316"
  },
  {
    "question": "What are the benefits of Managing Workloads?",
    "answer": "Managing WorkloadsYou've deployed your application and exposed it via a Service. Now what? Kubernetes provides a number of tools to help you manage your application deployment, including scaling and updating.Organizing resource configurationsMany applications require multiple resources to be created, such as a Deployment along with a Service. Management of multiple resources can be simplified by grouping them together in the same file (separated by --- in YAML). For example:application/nginx-app.yaml apiVersion: v1 kind: Service metadata: name: my-nginx-svc labels: app: nginx spec: type: LoadBalancer ports: - port: 80 selector: app: nginx --- apiVersion: apps/v1 kind: Deployment metadata: name: my-nginx labels: app: nginx spec: replicas: 3 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx:1.14.2 ports: - containerPort: 80 Multiple resources can be created the same way as a single resource:kubectl apply -f https://k8s.io/examples/application/nginx-app.yaml service/my-nginx-svc created deployment.apps/my-nginx created The resources will be created in the order they appear in the manifest. Therefore, it's best to specify the Service first, since that will ensure the scheduler can spread the pods associated with the Service as they are created by the controller(s), such as Deployment.kubectl apply also accepts multiple -f arguments:kubectl apply -f https://k8s.io/examples/application/nginx/nginx-svc.yaml \\ -f https://k8s.io/examples/application/nginx/nginx-deployment.yaml It is a recommended practice to put resources related to the same microservice or application tier into the same file, and to group all of the files associated with your application in the same directory. If the tiers of your application bind to each other using DNS, you can deploy all of the components of your stack together.A URL can also be specified as a configuration source, which is handy for deploying directly from manifests in your source control system:kubectl apply -f https://k8s.io/examples/application/nginx/nginx-deployment.yaml deployment.apps/my-nginx created If you need to define more manifests, such as adding a ConfigMap, you can do that too.External toolsThis section lists only the most common tools used for managing workloads on Kubernetes. To see a larger list, view Application definition and image build in the CNCF Landscape.Helm🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationHelm is a tool for managing packages of pre-configured Kubernetes resources. These packages are known as Helm charts.KustomizeKustomize traverses a Kubernetes manifest to add, remove or update configuration options. It is available both as a standalone binary and as a native feature of kubectl.Bulk operations in kubectlResource creation isn't the only operation that kubectl can perform in bulk. It can also extract resource names from configuration files in order to",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/management/",
    "id": "k8s_00021_qa_317"
  },
  {
    "question": "What is Managing Workloads?",
    "answer": "Y o u ' v e   d e p l o y e d   y o u r   a p p l i c a t i o n   a n d   e x p o s e d   i t   v i a   a   S e r v i c e .   N o w   w h a t ?   K u b e r n e t e s   p r o v i d e s   a   n u m b e r   o f   t o o l s   t o   h e l p   y o u   m a n a g e   y o u r   a p p l i c a t i o n   d e p l o y m e n t ,   i n c l u d i n g   s c a l i n g   a n d   u p d a t i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/management/",
    "id": "k8s_00021_section_1_318"
  },
  {
    "question": "What is Organizing resource configurations?",
    "answer": "M a n y   a p p l i c a t i o n s   r e q u i r e   m u l t i p l e   r e s o u r c e s   t o   b e   c r e a t e d ,   s u c h   a s   a   D e p l o y m e n t   a l o n g   w i t h   a   S e r v i c e .   M a n a g e m e n t   o f   m u l t i p l e   r e s o u r c e s   c a n   b e   s i m p l i f i e d   b y   g r o u p i n g   t h e m   t o g e t h e r   i n   t h e   s a m e   f i l e   ( s e p a r a t e d   b y   - - -   i n   Y A M L ) .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - n g i n x - s v c   l a b e l s :   a p p :   n g i n x   s p e c :   t y p e :   L o a d B a l a n c e r   p o r t s :   -   p o r t :   8 0   s e l e c t o r :   a p p :   n g i n x   - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   m y - n g i n x   l a b e l s :   a p p :   n g i n x   s p e c :   r e p l i c a s :   3   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0   M u l t i p l e   r e s o u r c e s   c a n   b e   c r e a t e d   t h e   s a m e   w a y   a s   a   s i n g l e   r e s o u r c e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / n g i n x - a p p . y a m l   s e r v i c e / m y - n g i n x - s v c   c r e a t e d   d e p l o y m e n t . a p p s / m y - n g i n x   c r e a t e d   T h e   r e s o u r c e s   w i l l   b e   c r e a t e d   i n   t h e   o r d e r   t h e y   a p p e a r   i n   t h e   m a n i f e s t .   T h e r e f o r e ,   i t ' s   b e s t   t o   s p e c i f y   t h e   S e r v i c e   f i r s t ,   s i n c e   t h a t   w i l l   e n s u r e   t h e   s c h e d u l e r   c a n   s p r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/management/",
    "id": "k8s_00021_section_2_319"
  },
  {
    "question": "What is External tools?",
    "answer": "T h i s   s e c t i o n   l i s t s   o n l y   t h e   m o s t   c o m m o n   t o o l s   u s e d   f o r   m a n a g i n g   w o r k l o a d s   o n   K u b e r n e t e s .   T o   s e e   a   l a r g e r   l i s t ,   v i e w   A p p l i c a t i o n   d e f i n i t i o n   a n d   i m a g e   b u i l d   i n   t h e   C N C F   L a n d s c a p e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/management/",
    "id": "k8s_00021_section_3_320"
  },
  {
    "question": "What is Helm?",
    "answer": "H e l m   i s   a   t o o l   f o r   m a n a g i n g   p a c k a g e s   o f   p r e - c o n f i g u r e d   K u b e r n e t e s   r e s o u r c e s .   T h e s e   p a c k a g e s   a r e   k n o w n   a s   H e l m   c h a r t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/management/",
    "id": "k8s_00021_section_4_321"
  },
  {
    "question": "What is Kustomize?",
    "answer": "K u s t o m i z e   t r a v e r s e s   a   K u b e r n e t e s   m a n i f e s t   t o   a d d ,   r e m o v e   o r   u p d a t e   c o n f i g u r a t i o n   o p t i o n s .   I t   i s   a v a i l a b l e   b o t h   a s   a   s t a n d a l o n e   b i n a r y   a n d   a s   a   n a t i v e   f e a t u r e   o f   k u b e c t l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/management/",
    "id": "k8s_00021_section_4_322"
  },
  {
    "question": "What is Bulk operations in kubectl?",
    "answer": "R e s o u r c e   c r e a t i o n   i s n ' t   t h e   o n l y   o p e r a t i o n   t h a t   k u b e c t l   c a n   p e r f o r m   i n   b u l k .   I t   c a n   a l s o   e x t r a c t   r e s o u r c e   n a m e s   f r o m   c o n f i g u r a t i o n   f i l e s   i n   o r d e r   t o   p e r f o r m   o t h e r   o p e r a t i o n s ,   i n   p a r t i c u l a r   t o   d e l e t e   t h e   s a m e   r e s o u r c e s   y o u   c r e a t e d :   k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / n g i n x - a p p . y a m l   d e p l o y m e n t . a p p s   \" m y - n g i n x \"   d e l e t e d   s e r v i c e   \" m y - n g i n x - s v c \"   d e l e t e d   I n   t h e   c a s e   o f   t w o   r e s o u r c e s ,   y o u   c a n   s p e c i f y   b o t h   r e s o u r c e s   o n   t h e   c o m m a n d   l i n e   u s i n g   t h e   r e s o u r c e / n a m e   s y n t a x :   k u b e c t l   d e l e t e   d e p l o y m e n t s / m y - n g i n x   s e r v i c e s / m y - n g i n x - s v c   F o r   l a r g e r   n u m b e r s   o f   r e s o u r c e s ,   y o u ' l l   f i n d   i t   e a s i e r   t o   s p e c i f y   t h e   s e l e c t o r   ( l a b e l   q u e r y )   s p e c i f i e d   u s i n g   - l   o r   - - s e l e c t o r ,   t o   f i l t e r   r e s o u r c e s   b y   t h e i r   l a b e l s :   k u b e c t l   d e l e t e   d e p l o y m e n t , s e r v i c e s   - l   a p p = n g i n x   d e p l o y m e n t . a p p s   \" m y - n g i n x \"   d e l e t e d   s e r v i c e   \" m y - n g i n x - s v c \"   d e l e t e d",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/management/",
    "id": "k8s_00021_section_2_323"
  },
  {
    "question": "What is Chaining and filtering?",
    "answer": "B e c a u s e   k u b e c t l   o u t p u t s   r e s o u r c e   n a m e s   i n   t h e   s a m e   s y n t a x   i t   a c c e p t s ,   y o u   c a n   c h a i n   o p e r a t i o n s   u s i n g   $ ( )   o r   x a r g s :   k u b e c t l   g e t   $ ( k u b e c t l   c r e a t e   - f   d o c s / c o n c e p t s / c l u s t e r - a d m i n i s t r a t i o n / n g i n x /   - o   n a m e   |   g r e p   s e r v i c e /   )   k u b e c t l   c r e a t e   - f   d o c s / c o n c e p t s / c l u s t e r - a d m i n i s t r a t i o n / n g i n x /   - o   n a m e   |   g r e p   s e r v i c e /   |   x a r g s   - i   k u b e c t l   g e t   ' { } '   T h e   o u t p u t   m i g h t   b e   s i m i l a r   t o :   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   m y - n g i n x - s v c   L o a d B a l a n c e r   1 0 . 0 . 0 . 2 0 8   < p e n d i n g >   8 0 / T C P   0 s   W i t h   t h e   a b o v e   c o m m a n d s ,   f i r s t   y o u   c r e a t e   r e s o u r c e s   u n d e r   e x a m p l e s / a p p l i c a t i o n / n g i n x /   a n d   p r i n t   t h e   r e s o u r c e s   c r e a t e d   w i t h   - o   n a m e   o u t p u t   f o r m a t   ( p r i n t   e a c h   r e s o u r c e   a s   r e s o u r c e / n a m e ) .   T h e n   y o u   g r e p   o n l y   t h e   S e r v i c e ,   a n d   t h e n   p r i n t   i t   w i t h   k u b e c t l   g e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/management/",
    "id": "k8s_00021_section_3_324"
  },
  {
    "question": "What is Recursive operations on local files?",
    "answer": "I f   y o u   h a p p e n   t o   o r g a n i z e   y o u r   r e s o u r c e s   a c r o s s   s e v e r a l   s u b d i r e c t o r i e s   w i t h i n   a   p a r t i c u l a r   d i r e c t o r y ,   y o u   c a n   r e c u r s i v e l y   p e r f o r m   t h e   o p e r a t i o n s   o n   t h e   s u b d i r e c t o r i e s   a l s o ,   b y   s p e c i f y i n g   - - r e c u r s i v e   o r   - R   a l o n g s i d e   t h e   - - f i l e n a m e / - f   a r g u m e n t .   F o r   i n s t a n c e ,   a s s u m e   t h e r e   i s   a   d i r e c t o r y   p r o j e c t / k 8 s / d e v e l o p m e n t   t h a t   h o l d s   a l l   o f   t h e   m a n i f e s t s   n e e d e d   f o r   t h e   d e v e l o p m e n t   e n v i r o n m e n t ,   o r g a n i z e d   b y   r e s o u r c e   t y p e :   p r o j e c t / k 8 s / d e v e l o p m e n t   ├ ─ ─   c o n f i g m a p   │   └ ─ ─   m y - c o n f i g m a p . y a m l   ├ ─ ─   d e p l o y m e n t   │   └ ─ ─   m y - d e p l o y m e n t . y a m l   └ ─ ─   p v c   └ ─ ─   m y - p v c . y a m l   B y   d e f a u l t ,   p e r f o r m i n g   a   b u l k   o p e r a t i o n   o n   p r o j e c t / k 8 s / d e v e l o p m e n t   w i l l   s t o p   a t   t h e   f i r s t   l e v e l   o f   t h e   d i r e c t o r y ,   n o t   p r o c e s s i n g   a n y   s u b d i r e c t o r i e s .   I f   y o u   h a d   t r i e d   t o   c r e a t e   t h e   r e s o u r c e s   i n   t h i s   d i r e c t o r y   u s i n g   t h e   f o l l o w i n g   c o m m a n d ,   w e   w o u l d   h a v e   e n c o u n t e r e d   a n   e r r o r :   k u b e c t l   a p p l y   - f   p r o j e c t / k 8 s / d e v e l o p m e n t   e r r o r :   y o u   m u s t   p r o v i d e   o n e   o r   m o r e   r e s o u r c e s   b y   a r g u m e n t   o r   f i l e n a m e   ( . j s o n | . y a m l | . y m l | s t d i n )   I n s t e a d ,   s p e c i f y   t h e   - - r e c u r s i v e   o r   - R   c o m m a n d   l i n e   a r g u ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/management/",
    "id": "k8s_00021_section_3_325"
  },
  {
    "question": "What is Updating your application without an outage?",
    "answer": "A t   s o m e   p o i n t ,   y o u ' l l   e v e n t u a l l y   n e e d   t o   u p d a t e   y o u r   d e p l o y e d   a p p l i c a t i o n ,   t y p i c a l l y   b y   s p e c i f y i n g   a   n e w   i m a g e   o r   i m a g e   t a g .   k u b e c t l   s u p p o r t s   s e v e r a l   u p d a t e   o p e r a t i o n s ,   e a c h   o f   w h i c h   i s   a p p l i c a b l e   t o   d i f f e r e n t   s c e n a r i o s .   Y o u   c a n   r u n   m u l t i p l e   c o p i e s   o f   y o u r   a p p ,   a n d   u s e   a   r o l l o u t   t o   g r a d u a l l y   s h i f t   t h e   t r a f f i c   t o   n e w   h e a l t h y   P o d s .   E v e n t u a l l y ,   a l l   t h e   r u n n i n g   P o d s   w o u l d   h a v e   t h e   n e w   s o f t w a r e .   T h i s   s e c t i o n   o f   t h e   p a g e   g u i d e s   y o u   t h r o u g h   h o w   t o   c r e a t e   a n d   u p d a t e   a p p l i c a t i o n s   w i t h   D e p l o y m e n t s .   L e t ' s   s a y   y o u   w e r e   r u n n i n g   v e r s i o n   1 . 1 4 . 2   o f   n g i n x :   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - n g i n x   - - i m a g e = n g i n x : 1 . 1 4 . 2   d e p l o y m e n t . a p p s / m y - n g i n x   c r e a t e d   E n s u r e   t h a t   t h e r e   i s   1   r e p l i c a :   k u b e c t l   s c a l e   - - r e p l i c a s   1   d e p l o y m e n t s / m y - n g i n x   - - s u b r e s o u r c e = ' s c a l e '   - - t y p e = ' m e r g e '   - p   ' { \" s p e c \" : { \" r e p l i c a s \" :   1 } } '   d e p l o y m e n t . a p p s / m y - n g i n x   s c a l e d   a n d   a l l o w   K u b e r n e t e s   t o   a d d   m o r e   t e m p o r a r y   r e p l i c a s   d u r i n g   a   r o l l o u t ,   b y   s e t t i n g   a   s u r g e   m a x i m u m   o f   1 0 0 % :   k u b e c t l   p a t c h   - - t y p e = ' m e r g e '   - p   ' { \" s p e c \" : { \" s t r a t e g y \" : { \" r o l l i n g U p d a t e \" : { \" m a x S u r g e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/management/",
    "id": "k8s_00021_section_2_326"
  },
  {
    "question": "What is Managing rollouts?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   r o l l o u t   t o   m a n a g e   a   p r o g r e s s i v e   u p d a t e   o f   a n   e x i s t i n g   a p p l i c a t i o n .   F o r   e x a m p l e :   k u b e c t l   a p p l y   - f   m y - d e p l o y m e n t . y a m l   #   w a i t   f o r   r o l l o u t   t o   f i n i s h   k u b e c t l   r o l l o u t   s t a t u s   d e p l o y m e n t / m y - d e p l o y m e n t   - - t i m e o u t   1 0 m   #   1 0   m i n u t e   t i m e o u t   o r   k u b e c t l   a p p l y   - f   b a c k i n g - s t a t e f u l - c o m p o n e n t . y a m l   #   d o n ' t   w a i t   f o r   r o l l o u t   t o   f i n i s h ,   j u s t   c h e c k   t h e   s t a t u s   k u b e c t l   r o l l o u t   s t a t u s   s t a t e f u l s e t s / b a c k i n g - s t a t e f u l - c o m p o n e n t   - - w a t c h = f a l s e   Y o u   c a n   a l s o   p a u s e ,   r e s u m e   o r   c a n c e l   a   r o l l o u t .   V i s i t   k u b e c t l   r o l l o u t   t o   l e a r n   m o r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/management/",
    "id": "k8s_00021_section_3_327"
  },
  {
    "question": "What is Canary deployments?",
    "answer": "A n o t h e r   s c e n a r i o   w h e r e   m u l t i p l e   l a b e l s   a r e   n e e d e d   i s   t o   d i s t i n g u i s h   d e p l o y m e n t s   o f   d i f f e r e n t   r e l e a s e s   o r   c o n f i g u r a t i o n s   o f   t h e   s a m e   c o m p o n e n t .   I t   i s   c o m m o n   p r a c t i c e   t o   d e p l o y   a   c a n a r y   o f   a   n e w   a p p l i c a t i o n   r e l e a s e   ( s p e c i f i e d   v i a   i m a g e   t a g   i n   t h e   p o d   t e m p l a t e )   s i d e   b y   s i d e   w i t h   t h e   p r e v i o u s   r e l e a s e   s o   t h a t   t h e   n e w   r e l e a s e   c a n   r e c e i v e   l i v e   p r o d u c t i o n   t r a f f i c   b e f o r e   f u l l y   r o l l i n g   i t   o u t .   F o r   i n s t a n c e ,   y o u   c a n   u s e   a   t r a c k   l a b e l   t o   d i f f e r e n t i a t e   d i f f e r e n t   r e l e a s e s .   T h e   p r i m a r y ,   s t a b l e   r e l e a s e   w o u l d   h a v e   a   t r a c k   l a b e l   w i t h   v a l u e   a s   s t a b l e :   n a m e :   f r o n t e n d   r e p l i c a s :   3   . . .   l a b e l s :   a p p :   g u e s t b o o k   t i e r :   f r o n t e n d   t r a c k :   s t a b l e   . . .   i m a g e :   g b - f r o n t e n d : v 3   a n d   t h e n   y o u   c a n   c r e a t e   a   n e w   r e l e a s e   o f   t h e   g u e s t b o o k   f r o n t e n d   t h a t   c a r r i e s   t h e   t r a c k   l a b e l   w i t h   d i f f e r e n t   v a l u e   ( i . e .   c a n a r y ) ,   s o   t h a t   t w o   s e t s   o f   p o d s   w o u l d   n o t   o v e r l a p :   n a m e :   f r o n t e n d - c a n a r y   r e p l i c a s :   1   . . .   l a b e l s :   a p p :   g u e s t b o o k   t i e r :   f r o n t e n d   t r a c k :   c a n a r y   . . .   i m a g e :   g b - f r o n t e n d : v 4   T h e   f r o n t e n d   s e r v i c e   w o u l d   s p a n   b o t h   s e t s   o f   r e p l i c a s   b y   s e l e c t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/management/",
    "id": "k8s_00021_section_2_328"
  },
  {
    "question": "What is Updating annotations?",
    "answer": "S o m e t i m e s   y o u   w o u l d   w a n t   t o   a t t a c h   a n n o t a t i o n s   t o   r e s o u r c e s .   A n n o t a t i o n s   a r e   a r b i t r a r y   n o n - i d e n t i f y i n g   m e t a d a t a   f o r   r e t r i e v a l   b y   A P I   c l i e n t s   s u c h   a s   t o o l s   o r   l i b r a r i e s .   T h i s   c a n   b e   d o n e   w i t h   k u b e c t l   a n n o t a t e .   F o r   e x a m p l e :   k u b e c t l   a n n o t a t e   p o d s   m y - n g i n x - v 4 - 9 g w 1 9   d e s c r i p t i o n = ' m y   f r o n t e n d   r u n n i n g   n g i n x '   k u b e c t l   g e t   p o d s   m y - n g i n x - v 4 - 9 g w 1 9   - o   y a m l   a p i V e r s i o n :   v 1   k i n d :   p o d   m e t a d a t a :   a n n o t a t i o n s :   d e s c r i p t i o n :   m y   f r o n t e n d   r u n n i n g   n g i n x   . . .   F o r   m o r e   i n f o r m a t i o n ,   s e e   a n n o t a t i o n s   a n d   k u b e c t l   a n n o t a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/management/",
    "id": "k8s_00021_section_2_329"
  },
  {
    "question": "What is Scaling your application?",
    "answer": "W h e n   l o a d   o n   y o u r   a p p l i c a t i o n   g r o w s   o r   s h r i n k s ,   u s e   k u b e c t l   t o   s c a l e   y o u r   a p p l i c a t i o n .   F o r   i n s t a n c e ,   t o   d e c r e a s e   t h e   n u m b e r   o f   n g i n x   r e p l i c a s   f r o m   3   t o   1 ,   d o :   k u b e c t l   s c a l e   d e p l o y m e n t / m y - n g i n x   - - r e p l i c a s = 1   d e p l o y m e n t . a p p s / m y - n g i n x   s c a l e d   N o w   y o u   o n l y   h a v e   o n e   p o d   m a n a g e d   b y   t h e   d e p l o y m e n t .   k u b e c t l   g e t   p o d s   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - j 5 f h i   1 / 1   R u n n i n g   0   3 0 m   T o   h a v e   t h e   s y s t e m   a u t o m a t i c a l l y   c h o o s e   t h e   n u m b e r   o f   n g i n x   r e p l i c a s   a s   n e e d e d ,   r a n g i n g   f r o m   1   t o   3 ,   d o :   #   T h i s   r e q u i r e s   a n   e x i s t i n g   s o u r c e   o f   c o n t a i n e r   a n d   P o d   m e t r i c s   k u b e c t l   a u t o s c a l e   d e p l o y m e n t / m y - n g i n x   - - m i n = 1   - - m a x = 3   h o r i z o n t a l p o d a u t o s c a l e r . a u t o s c a l i n g / m y - n g i n x   a u t o s c a l e d   N o w   y o u r   n g i n x   r e p l i c a s   w i l l   b e   s c a l e d   u p   a n d   d o w n   a s   n e e d e d ,   a u t o m a t i c a l l y .   F o r   m o r e   i n f o r m a t i o n ,   p l e a s e   s e e   k u b e c t l   s c a l e ,   k u b e c t l   a u t o s c a l e   a n d   h o r i z o n t a l   p o d   a u t o s c a l e r   d o c u m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/management/",
    "id": "k8s_00021_section_2_330"
  },
  {
    "question": "What is In-place updates of resources?",
    "answer": "S o m e t i m e s   i t ' s   n e c e s s a r y   t o   m a k e   n a r r o w ,   n o n - d i s r u p t i v e   u p d a t e s   t o   r e s o u r c e s   y o u ' v e   c r e a t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/management/",
    "id": "k8s_00021_section_2_331"
  },
  {
    "question": "What is kubectl apply?",
    "answer": "I t   i s   s u g g e s t e d   t o   m a i n t a i n   a   s e t   o f   c o n f i g u r a t i o n   f i l e s   i n   s o u r c e   c o n t r o l   ( s e e   c o n f i g u r a t i o n   a s   c o d e ) ,   s o   t h a t   t h e y   c a n   b e   m a i n t a i n e d   a n d   v e r s i o n e d   a l o n g   w i t h   t h e   c o d e   f o r   t h e   r e s o u r c e s   t h e y   c o n f i g u r e .   T h e n ,   y o u   c a n   u s e   k u b e c t l   a p p l y   t o   p u s h   y o u r   c o n f i g u r a t i o n   c h a n g e s   t o   t h e   c l u s t e r .   T h i s   c o m m a n d   w i l l   c o m p a r e   t h e   v e r s i o n   o f   t h e   c o n f i g u r a t i o n   t h a t   y o u ' r e   p u s h i n g   w i t h   t h e   p r e v i o u s   v e r s i o n   a n d   a p p l y   t h e   c h a n g e s   y o u ' v e   m a d e ,   w i t h o u t   o v e r w r i t i n g   a n y   a u t o m a t e d   c h a n g e s   t o   p r o p e r t i e s   y o u   h a v e n ' t   s p e c i f i e d .   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / n g i n x / n g i n x - d e p l o y m e n t . y a m l   d e p l o y m e n t . a p p s / m y - n g i n x   c o n f i g u r e d   T o   l e a r n   m o r e   a b o u t   t h e   u n d e r l y i n g   m e c h a n i s m ,   r e a d   s e r v e r - s i d e   a p p l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/management/",
    "id": "k8s_00021_section_3_332"
  },
  {
    "question": "What is kubectl edit?",
    "answer": "A l t e r n a t i v e l y ,   y o u   m a y   a l s o   u p d a t e   r e s o u r c e s   w i t h   k u b e c t l   e d i t :   k u b e c t l   e d i t   d e p l o y m e n t / m y - n g i n x   T h i s   i s   e q u i v a l e n t   t o   f i r s t   g e t   t h e   r e s o u r c e ,   e d i t   i t   i n   t e x t   e d i t o r ,   a n d   t h e n   a p p l y   t h e   r e s o u r c e   w i t h   t h e   u p d a t e d   v e r s i o n :   k u b e c t l   g e t   d e p l o y m e n t   m y - n g i n x   - o   y a m l   >   / t m p / n g i n x . y a m l   v i   / t m p / n g i n x . y a m l   #   d o   s o m e   e d i t ,   a n d   t h e n   s a v e   t h e   f i l e   k u b e c t l   a p p l y   - f   / t m p / n g i n x . y a m l   d e p l o y m e n t . a p p s / m y - n g i n x   c o n f i g u r e d   r m   / t m p / n g i n x . y a m l   T h i s   a l l o w s   y o u   t o   d o   m o r e   s i g n i f i c a n t   c h a n g e s   m o r e   e a s i l y .   N o t e   t h a t   y o u   c a n   s p e c i f y   t h e   e d i t o r   w i t h   y o u r   E D I T O R   o r   K U B E _ E D I T O R   e n v i r o n m e n t   v a r i a b l e s .   F o r   m o r e   i n f o r m a t i o n ,   p l e a s e   s e e   k u b e c t l   e d i t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/management/",
    "id": "k8s_00021_section_3_333"
  },
  {
    "question": "What is kubectl patch?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   p a t c h   t o   u p d a t e   A P I   o b j e c t s   i n   p l a c e .   T h i s   s u b c o m m a n d   s u p p o r t s   J S O N   p a t c h ,   J S O N   m e r g e   p a t c h ,   a n d   s t r a t e g i c   m e r g e   p a t c h .   S e e   U p d a t e   A P I   O b j e c t s   i n   P l a c e   U s i n g   k u b e c t l   p a t c h   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/management/",
    "id": "k8s_00021_section_3_334"
  },
  {
    "question": "What is Disruptive updates?",
    "answer": "I n   s o m e   c a s e s ,   y o u   m a y   n e e d   t o   u p d a t e   r e s o u r c e   f i e l d s   t h a t   c a n n o t   b e   u p d a t e d   o n c e   i n i t i a l i z e d ,   o r   y o u   m a y   w a n t   t o   m a k e   a   r e c u r s i v e   c h a n g e   i m m e d i a t e l y ,   s u c h   a s   t o   f i x   b r o k e n   p o d s   c r e a t e d   b y   a   D e p l o y m e n t .   T o   c h a n g e   s u c h   f i e l d s ,   u s e   r e p l a c e   - - f o r c e ,   w h i c h   d e l e t e s   a n d   r e - c r e a t e s   t h e   r e s o u r c e .   I n   t h i s   c a s e ,   y o u   c a n   m o d i f y   y o u r   o r i g i n a l   c o n f i g u r a t i o n   f i l e :   k u b e c t l   r e p l a c e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / n g i n x / n g i n x - d e p l o y m e n t . y a m l   - - f o r c e   d e p l o y m e n t . a p p s / m y - n g i n x   d e l e t e d   d e p l o y m e n t . a p p s / m y - n g i n x   r e p l a c e d",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/management/",
    "id": "k8s_00021_section_2_335"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   h o w   t o   u s e   k u b e c t l   f o r   a p p l i c a t i o n   i n t r o s p e c t i o n   a n d   d e b u g g i n g .   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/management/",
    "id": "k8s_00021_section_2_336"
  },
  {
    "question": "What is kubectl config set?",
    "answer": "kubectl config setSynopsisSet an individual value in a kubeconfig file.PROPERTY_NAME is a dot delimited name where each token represents either an attribute name or a map key. Map keys may not contain dots.PROPERTY_VALUE is the new value you want to set. Binary fields such as 'certificate-authority-data' expect a base64 encoded string unless the --set-raw-bytes flag is used.Specifying an attribute name that already exists will merge new fields on top of existing values.kubectl config set PROPERTY_NAME PROPERTY_VALUE Examples # Set the server field on the my-cluster cluster to https://1.2.3.4 kubectl config set clusters.my-cluster.server https://1.2.3.4 # Set the certificate-authority-data field on the my-cluster cluster kubectl config set clusters.my-cluster.certificate-authority-data $(echo \"cert_data_here\" | base64 -i -) # Set the cluster field in the my-context context to my-cluster kubectl config set contexts.my-context.cluster my-cluster # Set the client-key-data field in the cluster-admin user using --set-raw-bytes option kubectl config set users.cluster-admin.client-key-data cert_data_here --set-raw-bytes=true Options-h, --helphelp for set--set-raw-bytes tristate[=true]When writing a []byte PROPERTY_VALUE, write the given string directly without base64 decoding.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set/",
    "id": "k8s_00022_qa_337"
  },
  {
    "question": "How does kubectl config set work?",
    "answer": "kubectl config setSynopsisSet an individual value in a kubeconfig file.PROPERTY_NAME is a dot delimited name where each token represents either an attribute name or a map key. Map keys may not contain dots.PROPERTY_VALUE is the new value you want to set. Binary fields such as 'certificate-authority-data' expect a base64 encoded string unless the --set-raw-bytes flag is used.Specifying an attribute name that already exists will merge new fields on top of existing values.kubectl config set PROPERTY_NAME PROPERTY_VALUE Examples # Set the server field on the my-cluster cluster to https://1.2.3.4 kubectl config set clusters.my-cluster.server https://1.2.3.4 # Set the certificate-authority-data field on the my-cluster cluster kubectl config set clusters.my-cluster.certificate-authority-data $(echo \"cert_data_here\" | base64 -i -) # Set the cluster field in the my-context context to my-cluster kubectl config set contexts.my-context.cluster my-cluster # Set the client-key-data field in the cluster-admin user using --set-raw-bytes option kubectl config set users.cluster-admin.client-key-data cert_data_here --set-raw-bytes=true Options-h, --helphelp for set--set-raw-bytes tristate[=true]When writing a []byte PROPERTY_VALUE, write the given string directly without base64 decoding.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set/",
    "id": "k8s_00022_qa_338"
  },
  {
    "question": "When would you use kubectl config set?",
    "answer": "kubectl config setSynopsisSet an individual value in a kubeconfig file.PROPERTY_NAME is a dot delimited name where each token represents either an attribute name or a map key. Map keys may not contain dots.PROPERTY_VALUE is the new value you want to set. Binary fields such as 'certificate-authority-data' expect a base64 encoded string unless the --set-raw-bytes flag is used.Specifying an attribute name that already exists will merge new fields on top of existing values.kubectl config set PROPERTY_NAME PROPERTY_VALUE Examples # Set the server field on the my-cluster cluster to https://1.2.3.4 kubectl config set clusters.my-cluster.server https://1.2.3.4 # Set the certificate-authority-data field on the my-cluster cluster kubectl config set clusters.my-cluster.certificate-authority-data $(echo \"cert_data_here\" | base64 -i -) # Set the cluster field in the my-context context to my-cluster kubectl config set contexts.my-context.cluster my-cluster # Set the client-key-data field in the cluster-admin user using --set-raw-bytes option kubectl config set users.cluster-admin.client-key-data cert_data_here --set-raw-bytes=true Options-h, --helphelp for set--set-raw-bytes tristate[=true]When writing a []byte PROPERTY_VALUE, write the given string directly without base64 decoding.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set/",
    "id": "k8s_00022_qa_339"
  },
  {
    "question": "What are the benefits of kubectl config set?",
    "answer": "kubectl config setSynopsisSet an individual value in a kubeconfig file.PROPERTY_NAME is a dot delimited name where each token represents either an attribute name or a map key. Map keys may not contain dots.PROPERTY_VALUE is the new value you want to set. Binary fields such as 'certificate-authority-data' expect a base64 encoded string unless the --set-raw-bytes flag is used.Specifying an attribute name that already exists will merge new fields on top of existing values.kubectl config set PROPERTY_NAME PROPERTY_VALUE Examples # Set the server field on the my-cluster cluster to https://1.2.3.4 kubectl config set clusters.my-cluster.server https://1.2.3.4 # Set the certificate-authority-data field on the my-cluster cluster kubectl config set clusters.my-cluster.certificate-authority-data $(echo \"cert_data_here\" | base64 -i -) # Set the cluster field in the my-context context to my-cluster kubectl config set contexts.my-context.cluster my-cluster # Set the client-key-data field in the cluster-admin user using --set-raw-bytes option kubectl config set users.cluster-admin.client-key-data cert_data_here --set-raw-bytes=true Options-h, --helphelp for set--set-raw-bytes tristate[=true]When writing a []byte PROPERTY_VALUE, write the given string directly without base64 decoding.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set/",
    "id": "k8s_00022_qa_340"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S e t   a n   i n d i v i d u a l   v a l u e   i n   a   k u b e c o n f i g   f i l e .   P R O P E R T Y _ N A M E   i s   a   d o t   d e l i m i t e d   n a m e   w h e r e   e a c h   t o k e n   r e p r e s e n t s   e i t h e r   a n   a t t r i b u t e   n a m e   o r   a   m a p   k e y .   M a p   k e y s   m a y   n o t   c o n t a i n   d o t s .   P R O P E R T Y _ V A L U E   i s   t h e   n e w   v a l u e   y o u   w a n t   t o   s e t .   B i n a r y   f i e l d s   s u c h   a s   ' c e r t i f i c a t e - a u t h o r i t y - d a t a '   e x p e c t   a   b a s e 6 4   e n c o d e d   s t r i n g   u n l e s s   t h e   - - s e t - r a w - b y t e s   f l a g   i s   u s e d .   S p e c i f y i n g   a n   a t t r i b u t e   n a m e   t h a t   a l r e a d y   e x i s t s   w i l l   m e r g e   n e w   f i e l d s   o n   t o p   o f   e x i s t i n g   v a l u e s .   k u b e c t l   c o n f i g   s e t   P R O P E R T Y _ N A M E   P R O P E R T Y _ V A L U E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set/",
    "id": "k8s_00022_section_2_341"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   t h e   s e r v e r   f i e l d   o n   t h e   m y - c l u s t e r   c l u s t e r   t o   h t t p s : / / 1 . 2 . 3 . 4   k u b e c t l   c o n f i g   s e t   c l u s t e r s . m y - c l u s t e r . s e r v e r   h t t p s : / / 1 . 2 . 3 . 4   #   S e t   t h e   c e r t i f i c a t e - a u t h o r i t y - d a t a   f i e l d   o n   t h e   m y - c l u s t e r   c l u s t e r   k u b e c t l   c o n f i g   s e t   c l u s t e r s . m y - c l u s t e r . c e r t i f i c a t e - a u t h o r i t y - d a t a   $ ( e c h o   \" c e r t _ d a t a _ h e r e \"   |   b a s e 6 4   - i   - )   #   S e t   t h e   c l u s t e r   f i e l d   i n   t h e   m y - c o n t e x t   c o n t e x t   t o   m y - c l u s t e r   k u b e c t l   c o n f i g   s e t   c o n t e x t s . m y - c o n t e x t . c l u s t e r   m y - c l u s t e r   #   S e t   t h e   c l i e n t - k e y - d a t a   f i e l d   i n   t h e   c l u s t e r - a d m i n   u s e r   u s i n g   - - s e t - r a w - b y t e s   o p t i o n   k u b e c t l   c o n f i g   s e t   u s e r s . c l u s t e r - a d m i n . c l i e n t - k e y - d a t a   c e r t _ d a t a _ h e r e   - - s e t - r a w - b y t e s = t r u e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set/",
    "id": "k8s_00022_section_2_342"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   s e t   W h e n   w r i t i n g   a   [ ] b y t e   P R O P E R T Y _ V A L U E ,   w r i t e   t h e   g i v e n   s t r i n g   d i r e c t l y   w i t h o u t   b a s e 6 4   d e c o d i n g .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set/",
    "id": "k8s_00022_section_2_343"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set/",
    "id": "k8s_00022_section_2_344"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set/",
    "id": "k8s_00022_section_2_345"
  },
  {
    "question": "What is kubeadm token?",
    "answer": "kubeadm tokenBootstrap tokens are used for establishing bidirectional trust between a node joining the cluster and a control-plane node, as described in authenticating with bootstrap tokens.kubeadm init creates an initial token with a 24-hour TTL. The following commands allow you to manage such a token and also to create and manage new ones.kubeadm token createCreate bootstrap tokens on the serverSynopsisThis command will create a bootstrap token for you. You can specify the usages for this token, the \"time to live\" and an optional human friendly description.The [token] is the actual token to write. This should be a securely generated random token of the form \"[a-z0-9]{6}.[a-z0-9]{16}\". If no [token] is given, kubeadm will generate a random token instead.kubeadm token create [token] Options--certificate-key stringWhen used together with '--print-join-command', print the full 'kubeadm join' flag needed to join the cluster as a control-plane. To create a new certificate key you must use 'kubeadm init phase upload-certs --upload-certs'.--config stringPath to a kubeadm configuration file.--description stringA human friendly description of how this token is used.--groups strings Default: \"system:bootstrappers:kubeadm:default-node-token\"Extra groups that this token will authenticate as when used for authentication. Must match \"\\Asystem:bootstrappers:[a-z0-9:-]{0,255}[a-z0-9]\\z\"-h, --helphelp for create--print-join-commandInstead of printing only the token, print the full 'kubeadm join' flag needed to join the cluster using the token.--ttl duration Default: 24h0m0sThe duration before the token is automatically deleted (e.g. 1s, 2m, 3h). If set to '0', the token will never expire--usages strings Default: \"signing,authentication\"Describes the ways in which this token can be used. You can pass --usages multiple times or provide a comma separated list of options. Valid options: [signing,authentication]Options inherited from parent commands--dry-runWhether to enable dry-run mode or not--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm token deleteDelete bootstrap tokens on the serverSynopsisThis command will delete a list of bootstrap tokens for you.The [token-value] is the full Token of the form \"[a-z0-9]{6}.[a-z0-9]{16}\" or the Token ID of the form \"[a-z0-9]{6}\" to delete.kubeadm token delete [token-value] ... Options-h, --helphelp for deleteOptions inherited from parent commands--dry-runWhether to enable dry-run mode or not--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.--rootfs stringThe path to the 'real' host",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-token/",
    "id": "k8s_00023_qa_346"
  },
  {
    "question": "How does kubeadm token work?",
    "answer": "kubeadm tokenBootstrap tokens are used for establishing bidirectional trust between a node joining the cluster and a control-plane node, as described in authenticating with bootstrap tokens.kubeadm init creates an initial token with a 24-hour TTL. The following commands allow you to manage such a token and also to create and manage new ones.kubeadm token createCreate bootstrap tokens on the serverSynopsisThis command will create a bootstrap token for you. You can specify the usages for this token, the \"time to live\" and an optional human friendly description.The [token] is the actual token to write. This should be a securely generated random token of the form \"[a-z0-9]{6}.[a-z0-9]{16}\". If no [token] is given, kubeadm will generate a random token instead.kubeadm token create [token] Options--certificate-key stringWhen used together with '--print-join-command', print the full 'kubeadm join' flag needed to join the cluster as a control-plane. To create a new certificate key you must use 'kubeadm init phase upload-certs --upload-certs'.--config stringPath to a kubeadm configuration file.--description stringA human friendly description of how this token is used.--groups strings Default: \"system:bootstrappers:kubeadm:default-node-token\"Extra groups that this token will authenticate as when used for authentication. Must match \"\\Asystem:bootstrappers:[a-z0-9:-]{0,255}[a-z0-9]\\z\"-h, --helphelp for create--print-join-commandInstead of printing only the token, print the full 'kubeadm join' flag needed to join the cluster using the token.--ttl duration Default: 24h0m0sThe duration before the token is automatically deleted (e.g. 1s, 2m, 3h). If set to '0', the token will never expire--usages strings Default: \"signing,authentication\"Describes the ways in which this token can be used. You can pass --usages multiple times or provide a comma separated list of options. Valid options: [signing,authentication]Options inherited from parent commands--dry-runWhether to enable dry-run mode or not--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm token deleteDelete bootstrap tokens on the serverSynopsisThis command will delete a list of bootstrap tokens for you.The [token-value] is the full Token of the form \"[a-z0-9]{6}.[a-z0-9]{16}\" or the Token ID of the form \"[a-z0-9]{6}\" to delete.kubeadm token delete [token-value] ... Options-h, --helphelp for deleteOptions inherited from parent commands--dry-runWhether to enable dry-run mode or not--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.--rootfs stringThe path to the 'real' host",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-token/",
    "id": "k8s_00023_qa_347"
  },
  {
    "question": "When would you use kubeadm token?",
    "answer": "kubeadm tokenBootstrap tokens are used for establishing bidirectional trust between a node joining the cluster and a control-plane node, as described in authenticating with bootstrap tokens.kubeadm init creates an initial token with a 24-hour TTL. The following commands allow you to manage such a token and also to create and manage new ones.kubeadm token createCreate bootstrap tokens on the serverSynopsisThis command will create a bootstrap token for you. You can specify the usages for this token, the \"time to live\" and an optional human friendly description.The [token] is the actual token to write. This should be a securely generated random token of the form \"[a-z0-9]{6}.[a-z0-9]{16}\". If no [token] is given, kubeadm will generate a random token instead.kubeadm token create [token] Options--certificate-key stringWhen used together with '--print-join-command', print the full 'kubeadm join' flag needed to join the cluster as a control-plane. To create a new certificate key you must use 'kubeadm init phase upload-certs --upload-certs'.--config stringPath to a kubeadm configuration file.--description stringA human friendly description of how this token is used.--groups strings Default: \"system:bootstrappers:kubeadm:default-node-token\"Extra groups that this token will authenticate as when used for authentication. Must match \"\\Asystem:bootstrappers:[a-z0-9:-]{0,255}[a-z0-9]\\z\"-h, --helphelp for create--print-join-commandInstead of printing only the token, print the full 'kubeadm join' flag needed to join the cluster using the token.--ttl duration Default: 24h0m0sThe duration before the token is automatically deleted (e.g. 1s, 2m, 3h). If set to '0', the token will never expire--usages strings Default: \"signing,authentication\"Describes the ways in which this token can be used. You can pass --usages multiple times or provide a comma separated list of options. Valid options: [signing,authentication]Options inherited from parent commands--dry-runWhether to enable dry-run mode or not--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm token deleteDelete bootstrap tokens on the serverSynopsisThis command will delete a list of bootstrap tokens for you.The [token-value] is the full Token of the form \"[a-z0-9]{6}.[a-z0-9]{16}\" or the Token ID of the form \"[a-z0-9]{6}\" to delete.kubeadm token delete [token-value] ... Options-h, --helphelp for deleteOptions inherited from parent commands--dry-runWhether to enable dry-run mode or not--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.--rootfs stringThe path to the 'real' host",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-token/",
    "id": "k8s_00023_qa_348"
  },
  {
    "question": "What are the benefits of kubeadm token?",
    "answer": "kubeadm tokenBootstrap tokens are used for establishing bidirectional trust between a node joining the cluster and a control-plane node, as described in authenticating with bootstrap tokens.kubeadm init creates an initial token with a 24-hour TTL. The following commands allow you to manage such a token and also to create and manage new ones.kubeadm token createCreate bootstrap tokens on the serverSynopsisThis command will create a bootstrap token for you. You can specify the usages for this token, the \"time to live\" and an optional human friendly description.The [token] is the actual token to write. This should be a securely generated random token of the form \"[a-z0-9]{6}.[a-z0-9]{16}\". If no [token] is given, kubeadm will generate a random token instead.kubeadm token create [token] Options--certificate-key stringWhen used together with '--print-join-command', print the full 'kubeadm join' flag needed to join the cluster as a control-plane. To create a new certificate key you must use 'kubeadm init phase upload-certs --upload-certs'.--config stringPath to a kubeadm configuration file.--description stringA human friendly description of how this token is used.--groups strings Default: \"system:bootstrappers:kubeadm:default-node-token\"Extra groups that this token will authenticate as when used for authentication. Must match \"\\Asystem:bootstrappers:[a-z0-9:-]{0,255}[a-z0-9]\\z\"-h, --helphelp for create--print-join-commandInstead of printing only the token, print the full 'kubeadm join' flag needed to join the cluster using the token.--ttl duration Default: 24h0m0sThe duration before the token is automatically deleted (e.g. 1s, 2m, 3h). If set to '0', the token will never expire--usages strings Default: \"signing,authentication\"Describes the ways in which this token can be used. You can pass --usages multiple times or provide a comma separated list of options. Valid options: [signing,authentication]Options inherited from parent commands--dry-runWhether to enable dry-run mode or not--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm token deleteDelete bootstrap tokens on the serverSynopsisThis command will delete a list of bootstrap tokens for you.The [token-value] is the full Token of the form \"[a-z0-9]{6}.[a-z0-9]{16}\" or the Token ID of the form \"[a-z0-9]{6}\" to delete.kubeadm token delete [token-value] ... Options-h, --helphelp for deleteOptions inherited from parent commands--dry-runWhether to enable dry-run mode or not--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.--rootfs stringThe path to the 'real' host",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-token/",
    "id": "k8s_00023_qa_349"
  },
  {
    "question": "What is kubeadm token?",
    "answer": "B o o t s t r a p   t o k e n s   a r e   u s e d   f o r   e s t a b l i s h i n g   b i d i r e c t i o n a l   t r u s t   b e t w e e n   a   n o d e   j o i n i n g   t h e   c l u s t e r   a n d   a   c o n t r o l - p l a n e   n o d e ,   a s   d e s c r i b e d   i n   a u t h e n t i c a t i n g   w i t h   b o o t s t r a p   t o k e n s .   k u b e a d m   i n i t   c r e a t e s   a n   i n i t i a l   t o k e n   w i t h   a   2 4 - h o u r   T T L .   T h e   f o l l o w i n g   c o m m a n d s   a l l o w   y o u   t o   m a n a g e   s u c h   a   t o k e n   a n d   a l s o   t o   c r e a t e   a n d   m a n a g e   n e w   o n e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-token/",
    "id": "k8s_00023_section_1_350"
  },
  {
    "question": "What is kubeadm token create?",
    "answer": "C r e a t e   b o o t s t r a p   t o k e n s   o n   t h e   s e r v e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-token/",
    "id": "k8s_00023_section_2_351"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   w i l l   c r e a t e   a   b o o t s t r a p   t o k e n   f o r   y o u .   Y o u   c a n   s p e c i f y   t h e   u s a g e s   f o r   t h i s   t o k e n ,   t h e   \" t i m e   t o   l i v e \"   a n d   a n   o p t i o n a l   h u m a n   f r i e n d l y   d e s c r i p t i o n .   T h e   [ t o k e n ]   i s   t h e   a c t u a l   t o k e n   t o   w r i t e .   T h i s   s h o u l d   b e   a   s e c u r e l y   g e n e r a t e d   r a n d o m   t o k e n   o f   t h e   f o r m   \" [ a - z 0 - 9 ] { 6 } . [ a - z 0 - 9 ] { 1 6 } \" .   I f   n o   [ t o k e n ]   i s   g i v e n ,   k u b e a d m   w i l l   g e n e r a t e   a   r a n d o m   t o k e n   i n s t e a d .   k u b e a d m   t o k e n   c r e a t e   [ t o k e n ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-token/",
    "id": "k8s_00023_section_3_352"
  },
  {
    "question": "What is Options?",
    "answer": "W h e n   u s e d   t o g e t h e r   w i t h   ' - - p r i n t - j o i n - c o m m a n d ' ,   p r i n t   t h e   f u l l   ' k u b e a d m   j o i n '   f l a g   n e e d e d   t o   j o i n   t h e   c l u s t e r   a s   a   c o n t r o l - p l a n e .   T o   c r e a t e   a   n e w   c e r t i f i c a t e   k e y   y o u   m u s t   u s e   ' k u b e a d m   i n i t   p h a s e   u p l o a d - c e r t s   - - u p l o a d - c e r t s ' .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   A   h u m a n   f r i e n d l y   d e s c r i p t i o n   o f   h o w   t h i s   t o k e n   i s   u s e d .   E x t r a   g r o u p s   t h a t   t h i s   t o k e n   w i l l   a u t h e n t i c a t e   a s   w h e n   u s e d   f o r   a u t h e n t i c a t i o n .   M u s t   m a t c h   \" \\ A s y s t e m : b o o t s t r a p p e r s : [ a - z 0 - 9 : - ] { 0 , 2 5 5 } [ a - z 0 - 9 ] \\ z \"   h e l p   f o r   c r e a t e   I n s t e a d   o f   p r i n t i n g   o n l y   t h e   t o k e n ,   p r i n t   t h e   f u l l   ' k u b e a d m   j o i n '   f l a g   n e e d e d   t o   j o i n   t h e   c l u s t e r   u s i n g   t h e   t o k e n .   T h e   d u r a t i o n   b e f o r e   t h e   t o k e n   i s   a u t o m a t i c a l l y   d e l e t e d   ( e . g .   1 s ,   2 m ,   3 h ) .   I f   s e t   t o   ' 0 ' ,   t h e   t o k e n   w i l l   n e v e r   e x p i r e   D e s c r i b e s   t h e   w a y s   i n   w h i c h   t h i s   t o k e n   c a n   b e   u s e d .   Y o u   c a n   p a s s   - - u s a g e s   m u l t i p l e   t i m e s   o r   p r o v i d e   a   c o m m a   s e p a r a t e d   l i s t   o f   o p t i o n s .   V a l i d   o p t i o n s :   [ s i g n i n g , a u t h e n t i c a t i o n ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-token/",
    "id": "k8s_00023_section_3_353"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "W h e t h e r   t o   e n a b l e   d r y - r u n   m o d e   o r   n o t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-token/",
    "id": "k8s_00023_section_3_354"
  },
  {
    "question": "What is kubeadm token delete?",
    "answer": "D e l e t e   b o o t s t r a p   t o k e n s   o n   t h e   s e r v e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-token/",
    "id": "k8s_00023_section_2_355"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   w i l l   d e l e t e   a   l i s t   o f   b o o t s t r a p   t o k e n s   f o r   y o u .   T h e   [ t o k e n - v a l u e ]   i s   t h e   f u l l   T o k e n   o f   t h e   f o r m   \" [ a - z 0 - 9 ] { 6 } . [ a - z 0 - 9 ] { 1 6 } \"   o r   t h e   T o k e n   I D   o f   t h e   f o r m   \" [ a - z 0 - 9 ] { 6 } \"   t o   d e l e t e .   k u b e a d m   t o k e n   d e l e t e   [ t o k e n - v a l u e ]   . . .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-token/",
    "id": "k8s_00023_section_3_356"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   d e l e t e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-token/",
    "id": "k8s_00023_section_3_357"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "W h e t h e r   t o   e n a b l e   d r y - r u n   m o d e   o r   n o t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-token/",
    "id": "k8s_00023_section_3_358"
  },
  {
    "question": "What is kubeadm token generate?",
    "answer": "G e n e r a t e   a n d   p r i n t   a   b o o t s t r a p   t o k e n ,   b u t   d o   n o t   c r e a t e   i t   o n   t h e   s e r v e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-token/",
    "id": "k8s_00023_section_2_359"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   w i l l   p r i n t   o u t   a   r a n d o m l y - g e n e r a t e d   b o o t s t r a p   t o k e n   t h a t   c a n   b e   u s e d   w i t h   t h e   \" i n i t \"   a n d   \" j o i n \"   c o m m a n d s .   Y o u   d o n ' t   h a v e   t o   u s e   t h i s   c o m m a n d   i n   o r d e r   t o   g e n e r a t e   a   t o k e n .   Y o u   c a n   d o   s o   y o u r s e l f   a s   l o n g   a s   i t   i s   i n   t h e   f o r m a t   \" [ a - z 0 - 9 ] { 6 } . [ a - z 0 - 9 ] { 1 6 } \" .   T h i s   c o m m a n d   i s   p r o v i d e d   f o r   c o n v e n i e n c e   t o   g e n e r a t e   t o k e n s   i n   t h e   g i v e n   f o r m a t .   Y o u   c a n   a l s o   u s e   \" k u b e a d m   i n i t \"   w i t h o u t   s p e c i f y i n g   a   t o k e n   a n d   i t   w i l l   g e n e r a t e   a n d   p r i n t   o n e   f o r   y o u .   k u b e a d m   t o k e n   g e n e r a t e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-token/",
    "id": "k8s_00023_section_3_360"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   g e n e r a t e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-token/",
    "id": "k8s_00023_section_3_361"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "W h e t h e r   t o   e n a b l e   d r y - r u n   m o d e   o r   n o t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-token/",
    "id": "k8s_00023_section_3_362"
  },
  {
    "question": "What is kubeadm token list?",
    "answer": "L i s t   b o o t s t r a p   t o k e n s   o n   t h e   s e r v e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-token/",
    "id": "k8s_00023_section_2_363"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   w i l l   l i s t   a l l   b o o t s t r a p   t o k e n s   f o r   y o u .   k u b e a d m   t o k e n   l i s t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-token/",
    "id": "k8s_00023_section_3_364"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   h e l p   f o r   l i s t   O u t p u t   f o r m a t .   O n e   o f :   t e x t | j s o n | y a m l | g o - t e m p l a t e | g o - t e m p l a t e - f i l e | t e m p l a t e | t e m p l a t e f i l e | j s o n p a t h | j s o n p a t h - a s - j s o n | j s o n p a t h - f i l e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-token/",
    "id": "k8s_00023_section_3_365"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "W h e t h e r   t o   e n a b l e   d r y - r u n   m o d e   o r   n o t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-token/",
    "id": "k8s_00023_section_3_366"
  },
  {
    "question": "What is What's next?",
    "answer": "k u b e a d m   j o i n   t o   b o o t s t r a p   a   K u b e r n e t e s   w o r k e r   n o d e   a n d   j o i n   i t   t o   t h e   c l u s t e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-token/",
    "id": "k8s_00023_section_2_367"
  },
  {
    "question": "What is kubeadm upgrade?",
    "answer": "kubeadm upgradekubeadm upgrade is a user-friendly command that wraps complex upgrading logic behind one command, with support for both planning an upgrade and actually performing it.kubeadm upgrade guidanceThe steps for performing an upgrade using kubeadm are outlined in this document. For older versions of kubeadm, please refer to older documentation sets of the Kubernetes website.You can use kubeadm upgrade diff to see the changes that would be applied to static pod manifests.In Kubernetes v1.15.0 and later, kubeadm upgrade apply and kubeadm upgrade node will also automatically renew the kubeadm managed certificates on this node, including those stored in kubeconfig files. To opt-out, it is possible to pass the flag --certificate-renewal=false. For more details about certificate renewal see the certificate management documentation.Note:The commands kubeadm upgrade apply and kubeadm upgrade plan have a legacy --config flag which makes it possible to reconfigure the cluster, while performing planning or upgrade of that particular control-plane node. Please be aware that the upgrade workflow was not designed for this scenario and there are reports of unexpected results.kubeadm upgrade planSynopsisCheck which versions are available to upgrade to and validate whether your current cluster is upgradeable. This command can only run on the control plane nodes where the kubeconfig file \"admin.conf\" exists. To skip the internet check, pass in the optional [version] parameter.kubeadm upgrade plan [version] [flags] Options--allow-experimental-upgradesShow unstable versions of Kubernetes as an upgrade alternative and allow upgrading to an alpha/beta/release candidate versions of Kubernetes.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--allow-release-candidate-upgradesShow release candidate versions of Kubernetes as an upgrade alternative and allow upgrading to a release candidate versions of Kubernetes.--config stringPath to a kubeadm configuration file.--etcd-upgrade Default: truePerform the upgrade of etcd.-h, --helphelp for plan--ignore-preflight-errors stringsA list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.-o, --output string Default: \"text\"Output format. One of: text|json|yaml|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file.--print-configSpecifies whether the configuration file that will be used in the upgrade should be printed or not.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.Options inherited from parent commands--rootfs st",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00024_qa_368"
  },
  {
    "question": "How does kubeadm upgrade work?",
    "answer": "kubeadm upgradekubeadm upgrade is a user-friendly command that wraps complex upgrading logic behind one command, with support for both planning an upgrade and actually performing it.kubeadm upgrade guidanceThe steps for performing an upgrade using kubeadm are outlined in this document. For older versions of kubeadm, please refer to older documentation sets of the Kubernetes website.You can use kubeadm upgrade diff to see the changes that would be applied to static pod manifests.In Kubernetes v1.15.0 and later, kubeadm upgrade apply and kubeadm upgrade node will also automatically renew the kubeadm managed certificates on this node, including those stored in kubeconfig files. To opt-out, it is possible to pass the flag --certificate-renewal=false. For more details about certificate renewal see the certificate management documentation.Note:The commands kubeadm upgrade apply and kubeadm upgrade plan have a legacy --config flag which makes it possible to reconfigure the cluster, while performing planning or upgrade of that particular control-plane node. Please be aware that the upgrade workflow was not designed for this scenario and there are reports of unexpected results.kubeadm upgrade planSynopsisCheck which versions are available to upgrade to and validate whether your current cluster is upgradeable. This command can only run on the control plane nodes where the kubeconfig file \"admin.conf\" exists. To skip the internet check, pass in the optional [version] parameter.kubeadm upgrade plan [version] [flags] Options--allow-experimental-upgradesShow unstable versions of Kubernetes as an upgrade alternative and allow upgrading to an alpha/beta/release candidate versions of Kubernetes.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--allow-release-candidate-upgradesShow release candidate versions of Kubernetes as an upgrade alternative and allow upgrading to a release candidate versions of Kubernetes.--config stringPath to a kubeadm configuration file.--etcd-upgrade Default: truePerform the upgrade of etcd.-h, --helphelp for plan--ignore-preflight-errors stringsA list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.-o, --output string Default: \"text\"Output format. One of: text|json|yaml|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file.--print-configSpecifies whether the configuration file that will be used in the upgrade should be printed or not.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.Options inherited from parent commands--rootfs st",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00024_qa_369"
  },
  {
    "question": "When would you use kubeadm upgrade?",
    "answer": "kubeadm upgradekubeadm upgrade is a user-friendly command that wraps complex upgrading logic behind one command, with support for both planning an upgrade and actually performing it.kubeadm upgrade guidanceThe steps for performing an upgrade using kubeadm are outlined in this document. For older versions of kubeadm, please refer to older documentation sets of the Kubernetes website.You can use kubeadm upgrade diff to see the changes that would be applied to static pod manifests.In Kubernetes v1.15.0 and later, kubeadm upgrade apply and kubeadm upgrade node will also automatically renew the kubeadm managed certificates on this node, including those stored in kubeconfig files. To opt-out, it is possible to pass the flag --certificate-renewal=false. For more details about certificate renewal see the certificate management documentation.Note:The commands kubeadm upgrade apply and kubeadm upgrade plan have a legacy --config flag which makes it possible to reconfigure the cluster, while performing planning or upgrade of that particular control-plane node. Please be aware that the upgrade workflow was not designed for this scenario and there are reports of unexpected results.kubeadm upgrade planSynopsisCheck which versions are available to upgrade to and validate whether your current cluster is upgradeable. This command can only run on the control plane nodes where the kubeconfig file \"admin.conf\" exists. To skip the internet check, pass in the optional [version] parameter.kubeadm upgrade plan [version] [flags] Options--allow-experimental-upgradesShow unstable versions of Kubernetes as an upgrade alternative and allow upgrading to an alpha/beta/release candidate versions of Kubernetes.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--allow-release-candidate-upgradesShow release candidate versions of Kubernetes as an upgrade alternative and allow upgrading to a release candidate versions of Kubernetes.--config stringPath to a kubeadm configuration file.--etcd-upgrade Default: truePerform the upgrade of etcd.-h, --helphelp for plan--ignore-preflight-errors stringsA list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.-o, --output string Default: \"text\"Output format. One of: text|json|yaml|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file.--print-configSpecifies whether the configuration file that will be used in the upgrade should be printed or not.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.Options inherited from parent commands--rootfs st",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00024_qa_370"
  },
  {
    "question": "What are the benefits of kubeadm upgrade?",
    "answer": "kubeadm upgradekubeadm upgrade is a user-friendly command that wraps complex upgrading logic behind one command, with support for both planning an upgrade and actually performing it.kubeadm upgrade guidanceThe steps for performing an upgrade using kubeadm are outlined in this document. For older versions of kubeadm, please refer to older documentation sets of the Kubernetes website.You can use kubeadm upgrade diff to see the changes that would be applied to static pod manifests.In Kubernetes v1.15.0 and later, kubeadm upgrade apply and kubeadm upgrade node will also automatically renew the kubeadm managed certificates on this node, including those stored in kubeconfig files. To opt-out, it is possible to pass the flag --certificate-renewal=false. For more details about certificate renewal see the certificate management documentation.Note:The commands kubeadm upgrade apply and kubeadm upgrade plan have a legacy --config flag which makes it possible to reconfigure the cluster, while performing planning or upgrade of that particular control-plane node. Please be aware that the upgrade workflow was not designed for this scenario and there are reports of unexpected results.kubeadm upgrade planSynopsisCheck which versions are available to upgrade to and validate whether your current cluster is upgradeable. This command can only run on the control plane nodes where the kubeconfig file \"admin.conf\" exists. To skip the internet check, pass in the optional [version] parameter.kubeadm upgrade plan [version] [flags] Options--allow-experimental-upgradesShow unstable versions of Kubernetes as an upgrade alternative and allow upgrading to an alpha/beta/release candidate versions of Kubernetes.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--allow-release-candidate-upgradesShow release candidate versions of Kubernetes as an upgrade alternative and allow upgrading to a release candidate versions of Kubernetes.--config stringPath to a kubeadm configuration file.--etcd-upgrade Default: truePerform the upgrade of etcd.-h, --helphelp for plan--ignore-preflight-errors stringsA list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.-o, --output string Default: \"text\"Output format. One of: text|json|yaml|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file.--print-configSpecifies whether the configuration file that will be used in the upgrade should be printed or not.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.Options inherited from parent commands--rootfs st",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00024_qa_371"
  },
  {
    "question": "What is kubeadm upgrade?",
    "answer": "k u b e a d m   u p g r a d e   i s   a   u s e r - f r i e n d l y   c o m m a n d   t h a t   w r a p s   c o m p l e x   u p g r a d i n g   l o g i c   b e h i n d   o n e   c o m m a n d ,   w i t h   s u p p o r t   f o r   b o t h   p l a n n i n g   a n   u p g r a d e   a n d   a c t u a l l y   p e r f o r m i n g   i t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00024_section_1_372"
  },
  {
    "question": "What is kubeadm upgrade guidance?",
    "answer": "T h e   s t e p s   f o r   p e r f o r m i n g   a n   u p g r a d e   u s i n g   k u b e a d m   a r e   o u t l i n e d   i n   t h i s   d o c u m e n t .   F o r   o l d e r   v e r s i o n s   o f   k u b e a d m ,   p l e a s e   r e f e r   t o   o l d e r   d o c u m e n t a t i o n   s e t s   o f   t h e   K u b e r n e t e s   w e b s i t e .   Y o u   c a n   u s e   k u b e a d m   u p g r a d e   d i f f   t o   s e e   t h e   c h a n g e s   t h a t   w o u l d   b e   a p p l i e d   t o   s t a t i c   p o d   m a n i f e s t s .   I n   K u b e r n e t e s   v 1 . 1 5 . 0   a n d   l a t e r ,   k u b e a d m   u p g r a d e   a p p l y   a n d   k u b e a d m   u p g r a d e   n o d e   w i l l   a l s o   a u t o m a t i c a l l y   r e n e w   t h e   k u b e a d m   m a n a g e d   c e r t i f i c a t e s   o n   t h i s   n o d e ,   i n c l u d i n g   t h o s e   s t o r e d   i n   k u b e c o n f i g   f i l e s .   T o   o p t - o u t ,   i t   i s   p o s s i b l e   t o   p a s s   t h e   f l a g   - - c e r t i f i c a t e - r e n e w a l = f a l s e .   F o r   m o r e   d e t a i l s   a b o u t   c e r t i f i c a t e   r e n e w a l   s e e   t h e   c e r t i f i c a t e   m a n a g e m e n t   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00024_section_2_373"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C h e c k   w h i c h   v e r s i o n s   a r e   a v a i l a b l e   t o   u p g r a d e   t o   a n d   v a l i d a t e   w h e t h e r   y o u r   c u r r e n t   c l u s t e r   i s   u p g r a d e a b l e .   T h i s   c o m m a n d   c a n   o n l y   r u n   o n   t h e   c o n t r o l   p l a n e   n o d e s   w h e r e   t h e   k u b e c o n f i g   f i l e   \" a d m i n . c o n f \"   e x i s t s .   T o   s k i p   t h e   i n t e r n e t   c h e c k ,   p a s s   i n   t h e   o p t i o n a l   [ v e r s i o n ]   p a r a m e t e r .   k u b e a d m   u p g r a d e   p l a n   [ v e r s i o n ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00024_section_3_374"
  },
  {
    "question": "What is Options?",
    "answer": "S h o w   u n s t a b l e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w   u p g r a d i n g   t o   a n   a l p h a / b e t a / r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   S h o w   r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w   u p g r a d i n g   t o   a   r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P e r f o r m   t h e   u p g r a d e   o f   e t c d .   h e l p   f o r   p l a n   A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   O u t p u t   f o r m a t .   O n e   o f :   t e x t | j s o n | y a m l | g o - t e m p l a t e | g o - t e m p l a t e - f i l e | t e m p l a t e | t e m p l a t e f i l e | j s o n p a t h | j s o n p a t h - a s - j s o n | j s o n p a t h - f i l e .   S p e c i f i e s   w h e t h e r   t h e   c o n f i g u r a t i o n   f i l e   t h a t   w i l l   b e   u s e d   i n   t h e   u p g r a d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00024_section_3_375"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00024_section_3_376"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   y o u r   K u b e r n e t e s   c l u s t e r   t o   t h e   s p e c i f i e d   v e r s i o n   T h e   \" a p p l y   [ v e r s i o n ] \"   c o m m a n d   e x e c u t e s   t h e   f o l l o w i n g   p h a s e s :   p r e f l i g h t   R u n   p r e f l i g h t   c h e c k s   b e f o r e   u p g r a d e   c o n t r o l - p l a n e   U p g r a d e   t h e   c o n t r o l   p l a n e   u p l o a d - c o n f i g   U p l o a d   t h e   k u b e a d m   a n d   k u b e l e t   c o n f i g u r a t i o n s   t o   C o n f i g M a p s   / k u b e a d m   U p l o a d   t h e   k u b e a d m   C l u s t e r C o n f i g u r a t i o n   t o   a   C o n f i g M a p   / k u b e l e t   U p l o a d   t h e   k u b e l e t   c o n f i g u r a t i o n   t o   a   C o n f i g M a p   k u b e l e t - c o n f i g   U p g r a d e   t h e   k u b e l e t   c o n f i g u r a t i o n   f o r   t h i s   n o d e   b o o t s t r a p - t o k e n   C o n f i g u r e s   b o o t s t r a p   t o k e n   a n d   c l u s t e r - i n f o   R B A C   r u l e s   a d d o n   U p g r a d e   t h e   d e f a u l t   k u b e a d m   a d d o n s   / c o r e d n s   U p g r a d e   t h e   C o r e D N S   a d d o n   / k u b e - p r o x y   U p g r a d e   t h e   k u b e - p r o x y   a d d o n   p o s t - u p g r a d e   R u n   p o s t   u p g r a d e   t a s k s   k u b e a d m   u p g r a d e   a p p l y   [ v e r s i o n ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00024_section_3_377"
  },
  {
    "question": "What is Options?",
    "answer": "S h o w   u n s t a b l e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w   u p g r a d i n g   t o   a n   a l p h a / b e t a / r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s .   S h o w   r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w   u p g r a d i n g   t o   a   r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s .   P e r f o r m   t h e   r e n e w a l   o f   c e r t i f i c a t e s   u s e d   b y   c o m p o n e n t   c h a n g e d   d u r i n g   u p g r a d e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d .   P e r f o r m   t h e   u p g r a d e   o f   e t c d .   F o r c e   u p g r a d i n g   a l t h o u g h   s o m e   r e q u i r e m e n t s   m i g h t   n o t   b e   m e t .   T h i s   a l s o   i m p l i e s   n o n - i n t e r a c t i v e   m o d e .   h e l p   f o r   a p p l y   A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00024_section_3_378"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00024_section_3_379"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S h o w   w h a t   d i f f e r e n c e s   w o u l d   b e   a p p l i e d   t o   e x i s t i n g   s t a t i c   p o d   m a n i f e s t s .   S e e   a l s o :   k u b e a d m   u p g r a d e   a p p l y   - - d r y - r u n   k u b e a d m   u p g r a d e   d i f f   [ v e r s i o n ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00024_section_3_380"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   H o w   m a n y   l i n e s   o f   c o n t e x t   i n   t h e   d i f f   h e l p   f o r   d i f f   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00024_section_3_381"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00024_section_3_382"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   c o m m a n d s   f o r   a   n o d e   i n   t h e   c l u s t e r   T h e   \" n o d e \"   c o m m a n d   e x e c u t e s   t h e   f o l l o w i n g   p h a s e s :   p r e f l i g h t   R u n   u p g r a d e   n o d e   p r e - f l i g h t   c h e c k s   c o n t r o l - p l a n e   U p g r a d e   t h e   c o n t r o l   p l a n e   i n s t a n c e   d e p l o y e d   o n   t h i s   n o d e ,   i f   a n y   k u b e l e t - c o n f i g   U p g r a d e   t h e   k u b e l e t   c o n f i g u r a t i o n   f o r   t h i s   n o d e   a d d o n   U p g r a d e   t h e   d e f a u l t   k u b e a d m   a d d o n s   / c o r e d n s   U p g r a d e   t h e   C o r e D N S   a d d o n   / k u b e - p r o x y   U p g r a d e   t h e   k u b e - p r o x y   a d d o n   p o s t - u p g r a d e   R u n   p o s t   u p g r a d e   t a s k s   k u b e a d m   u p g r a d e   n o d e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00024_section_3_383"
  },
  {
    "question": "What is Options?",
    "answer": "P e r f o r m   t h e   r e n e w a l   o f   c e r t i f i c a t e s   u s e d   b y   c o m p o n e n t   c h a n g e d   d u r i n g   u p g r a d e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   t h e   a c t i o n s   t h a t   w o u l d   b e   p e r f o r m e d .   P e r f o r m   t h e   u p g r a d e   o f   e t c d .   h e l p   f o r   n o d e   A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00024_section_3_384"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00024_section_3_385"
  },
  {
    "question": "What is What's next?",
    "answer": "k u b e a d m   c o n f i g   i f   y o u   i n i t i a l i z e d   y o u r   c l u s t e r   u s i n g   k u b e a d m   v 1 . 7 . x   o r   l o w e r ,   t o   c o n f i g u r e   y o u r   c l u s t e r   f o r   k u b e a d m   u p g r a d e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00024_section_2_386"
  },
  {
    "question": "What is Administration with kubeadm?",
    "answer": "Administration with kubeadmIf you don't yet have a cluster, visit bootstrapping clusters with kubeadm.The tasks in this section are aimed at people administering an existing cluster:Adding Linux worker nodesAdding Windows worker nodesUpgrading kubeadm clustersUpgrading Linux nodesUpgrading Windows nodesConfiguring a cgroup driverCertificate Management with kubeadmReconfiguring a kubeadm clusterChanging The Kubernetes Package Repository",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/",
    "id": "k8s_00025_qa_387"
  },
  {
    "question": "How does Administration with kubeadm work?",
    "answer": "Administration with kubeadmIf you don't yet have a cluster, visit bootstrapping clusters with kubeadm.The tasks in this section are aimed at people administering an existing cluster:Adding Linux worker nodesAdding Windows worker nodesUpgrading kubeadm clustersUpgrading Linux nodesUpgrading Windows nodesConfiguring a cgroup driverCertificate Management with kubeadmReconfiguring a kubeadm clusterChanging The Kubernetes Package Repository",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/",
    "id": "k8s_00025_qa_388"
  },
  {
    "question": "When would you use Administration with kubeadm?",
    "answer": "Administration with kubeadmIf you don't yet have a cluster, visit bootstrapping clusters with kubeadm.The tasks in this section are aimed at people administering an existing cluster:Adding Linux worker nodesAdding Windows worker nodesUpgrading kubeadm clustersUpgrading Linux nodesUpgrading Windows nodesConfiguring a cgroup driverCertificate Management with kubeadmReconfiguring a kubeadm clusterChanging The Kubernetes Package Repository",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/",
    "id": "k8s_00025_qa_389"
  },
  {
    "question": "What are the benefits of Administration with kubeadm?",
    "answer": "Administration with kubeadmIf you don't yet have a cluster, visit bootstrapping clusters with kubeadm.The tasks in this section are aimed at people administering an existing cluster:Adding Linux worker nodesAdding Windows worker nodesUpgrading kubeadm clustersUpgrading Linux nodesUpgrading Windows nodesConfiguring a cgroup driverCertificate Management with kubeadmReconfiguring a kubeadm clusterChanging The Kubernetes Package Repository",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/",
    "id": "k8s_00025_qa_390"
  },
  {
    "question": "What is Administration with kubeadm?",
    "answer": "I f   y o u   d o n ' t   y e t   h a v e   a   c l u s t e r ,   v i s i t   b o o t s t r a p p i n g   c l u s t e r s   w i t h   k u b e a d m .   T h e   t a s k s   i n   t h i s   s e c t i o n   a r e   a i m e d   a t   p e o p l e   a d m i n i s t e r i n g   a n   e x i s t i n g   c l u s t e r :   A d d i n g   L i n u x   w o r k e r   n o d e s A d d i n g   W i n d o w s   w o r k e r   n o d e s U p g r a d i n g   k u b e a d m   c l u s t e r s U p g r a d i n g   L i n u x   n o d e s U p g r a d i n g   W i n d o w s   n o d e s C o n f i g u r i n g   a   c g r o u p   d r i v e r C e r t i f i c a t e   M a n a g e m e n t   w i t h   k u b e a d m R e c o n f i g u r i n g   a   k u b e a d m   c l u s t e r C h a n g i n g   T h e   K u b e r n e t e s   P a c k a g e   R e p o s i t o r y",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/",
    "id": "k8s_00025_section_1_391"
  },
  {
    "question": "What is Guaranteed Scheduling For Critical Add-On Pods?",
    "answer": "Guaranteed Scheduling For Critical Add-On PodsKubernetes core components such as the API server, scheduler, and controller-manager run on a control plane node. However, add-ons must run on a regular cluster node. Some of these add-ons are critical to a fully functional cluster, such as metrics-server, DNS, and UI. A cluster may stop working properly if a critical add-on is evicted (either manually or as a side effect of another operation like upgrade) and becomes pending (for example when the cluster is highly utilized and either there are other pending pods that schedule into the space vacated by the evicted critical add-on pod or the amount of resources available on the node changed for some other reason).Note that marking a pod as critical is not meant to prevent evictions entirely; it only prevents the pod from becoming permanently unavailable. A static pod marked as critical can't be evicted. However, non-static pods marked as critical are always rescheduled.Marking pod as criticalTo mark a Pod as critical, set priorityClassName for that Pod to system-cluster-critical or system-node-critical. system-node-critical is the highest available priority, even higher than system-cluster-critical.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/",
    "id": "k8s_00026_qa_392"
  },
  {
    "question": "How does Guaranteed Scheduling For Critical Add-On Pods work?",
    "answer": "Guaranteed Scheduling For Critical Add-On PodsKubernetes core components such as the API server, scheduler, and controller-manager run on a control plane node. However, add-ons must run on a regular cluster node. Some of these add-ons are critical to a fully functional cluster, such as metrics-server, DNS, and UI. A cluster may stop working properly if a critical add-on is evicted (either manually or as a side effect of another operation like upgrade) and becomes pending (for example when the cluster is highly utilized and either there are other pending pods that schedule into the space vacated by the evicted critical add-on pod or the amount of resources available on the node changed for some other reason).Note that marking a pod as critical is not meant to prevent evictions entirely; it only prevents the pod from becoming permanently unavailable. A static pod marked as critical can't be evicted. However, non-static pods marked as critical are always rescheduled.Marking pod as criticalTo mark a Pod as critical, set priorityClassName for that Pod to system-cluster-critical or system-node-critical. system-node-critical is the highest available priority, even higher than system-cluster-critical.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/",
    "id": "k8s_00026_qa_393"
  },
  {
    "question": "When would you use Guaranteed Scheduling For Critical Add-On Pods?",
    "answer": "Guaranteed Scheduling For Critical Add-On PodsKubernetes core components such as the API server, scheduler, and controller-manager run on a control plane node. However, add-ons must run on a regular cluster node. Some of these add-ons are critical to a fully functional cluster, such as metrics-server, DNS, and UI. A cluster may stop working properly if a critical add-on is evicted (either manually or as a side effect of another operation like upgrade) and becomes pending (for example when the cluster is highly utilized and either there are other pending pods that schedule into the space vacated by the evicted critical add-on pod or the amount of resources available on the node changed for some other reason).Note that marking a pod as critical is not meant to prevent evictions entirely; it only prevents the pod from becoming permanently unavailable. A static pod marked as critical can't be evicted. However, non-static pods marked as critical are always rescheduled.Marking pod as criticalTo mark a Pod as critical, set priorityClassName for that Pod to system-cluster-critical or system-node-critical. system-node-critical is the highest available priority, even higher than system-cluster-critical.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/",
    "id": "k8s_00026_qa_394"
  },
  {
    "question": "What are the benefits of Guaranteed Scheduling For Critical Add-On Pods?",
    "answer": "Guaranteed Scheduling For Critical Add-On PodsKubernetes core components such as the API server, scheduler, and controller-manager run on a control plane node. However, add-ons must run on a regular cluster node. Some of these add-ons are critical to a fully functional cluster, such as metrics-server, DNS, and UI. A cluster may stop working properly if a critical add-on is evicted (either manually or as a side effect of another operation like upgrade) and becomes pending (for example when the cluster is highly utilized and either there are other pending pods that schedule into the space vacated by the evicted critical add-on pod or the amount of resources available on the node changed for some other reason).Note that marking a pod as critical is not meant to prevent evictions entirely; it only prevents the pod from becoming permanently unavailable. A static pod marked as critical can't be evicted. However, non-static pods marked as critical are always rescheduled.Marking pod as criticalTo mark a Pod as critical, set priorityClassName for that Pod to system-cluster-critical or system-node-critical. system-node-critical is the highest available priority, even higher than system-cluster-critical.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/",
    "id": "k8s_00026_qa_395"
  },
  {
    "question": "What is Guaranteed Scheduling For Critical Add-On Pods?",
    "answer": "K u b e r n e t e s   c o r e   c o m p o n e n t s   s u c h   a s   t h e   A P I   s e r v e r ,   s c h e d u l e r ,   a n d   c o n t r o l l e r - m a n a g e r   r u n   o n   a   c o n t r o l   p l a n e   n o d e .   H o w e v e r ,   a d d - o n s   m u s t   r u n   o n   a   r e g u l a r   c l u s t e r   n o d e .   S o m e   o f   t h e s e   a d d - o n s   a r e   c r i t i c a l   t o   a   f u l l y   f u n c t i o n a l   c l u s t e r ,   s u c h   a s   m e t r i c s - s e r v e r ,   D N S ,   a n d   U I .   A   c l u s t e r   m a y   s t o p   w o r k i n g   p r o p e r l y   i f   a   c r i t i c a l   a d d - o n   i s   e v i c t e d   ( e i t h e r   m a n u a l l y   o r   a s   a   s i d e   e f f e c t   o f   a n o t h e r   o p e r a t i o n   l i k e   u p g r a d e )   a n d   b e c o m e s   p e n d i n g   ( f o r   e x a m p l e   w h e n   t h e   c l u s t e r   i s   h i g h l y   u t i l i z e d   a n d   e i t h e r   t h e r e   a r e   o t h e r   p e n d i n g   p o d s   t h a t   s c h e d u l e   i n t o   t h e   s p a c e   v a c a t e d   b y   t h e   e v i c t e d   c r i t i c a l   a d d - o n   p o d   o r   t h e   a m o u n t   o f   r e s o u r c e s   a v a i l a b l e   o n   t h e   n o d e   c h a n g e d   f o r   s o m e   o t h e r   r e a s o n ) .   N o t e   t h a t   m a r k i n g   a   p o d   a s   c r i t i c a l   i s   n o t   m e a n t   t o   p r e v e n t   e v i c t i o n s   e n t i r e l y ;   i t   o n l y   p r e v e n t s   t h e   p o d   f r o m   b e c o m i n g   p e r m a n e n t l y   u n a v a i l a b l e .   A   s t a t i c   p o d   m a r k e d   a s   c r i t i c a l   c a n ' t   b e   e v i c t e d .   H o w e v e r ,   n o n - s t a t i c   p o d s   m a r k e d   a s   c r i t i c a l   a r e   a l w a y s   r e s c h e d u l e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/",
    "id": "k8s_00026_section_1_396"
  },
  {
    "question": "What is Marking pod as critical?",
    "answer": "T o   m a r k   a   P o d   a s   c r i t i c a l ,   s e t   p r i o r i t y C l a s s N a m e   f o r   t h a t   P o d   t o   s y s t e m - c l u s t e r - c r i t i c a l   o r   s y s t e m - n o d e - c r i t i c a l .   s y s t e m - n o d e - c r i t i c a l   i s   t h e   h i g h e s t   a v a i l a b l e   p r i o r i t y ,   e v e n   h i g h e r   t h a n   s y s t e m - c l u s t e r - c r i t i c a l .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/",
    "id": "k8s_00026_section_3_397"
  },
  {
    "question": "What is Force Delete StatefulSet Pods?",
    "answer": "Force Delete StatefulSet PodsThis page shows how to delete Pods which are part of a stateful set, and explains the considerations to keep in mind when doing so.Before you beginThis is a fairly advanced task and has the potential to violate some of the properties inherent to StatefulSet.Before proceeding, make yourself familiar with the considerations enumerated below.StatefulSet considerationsIn normal operation of a StatefulSet, there is never a need to force delete a StatefulSet Pod. The StatefulSet controller is responsible for creating, scaling and deleting members of the StatefulSet. It tries to ensure that the specified number of Pods from ordinal 0 through N-1 are alive and ready. StatefulSet ensures that, at any time, there is at most one Pod with a given identity running in a cluster. This is referred to as at most one semantics provided by a StatefulSet.Manual force deletion should be undertaken with caution, as it has the potential to violate the at most one semantics inherent to StatefulSet. StatefulSets may be used to run distributed and clustered applications which have a need for a stable network identity and stable storage. These applications often have configuration which relies on an ensemble of a fixed number of members with fixed identities. Having multiple members with the same identity can be disastrous and may lead to data loss (e.g. split brain scenario in quorum-based systems).Delete PodsYou can perform a graceful pod deletion with the following command:kubectl delete pods <pod> For the above to lead to graceful termination, the Pod must not specify a pod.Spec.TerminationGracePeriodSeconds of 0. The practice of setting a pod.Spec.TerminationGracePeriodSeconds of 0 seconds is unsafe and strongly discouraged for StatefulSet Pods. Graceful deletion is safe and will ensure that the Pod shuts down gracefully before the kubelet deletes the name from the apiserver.A Pod is not deleted automatically when a node is unreachable. The Pods running on an unreachable Node enter the 'Terminating' or 'Unknown' state after a timeout. Pods may also enter these states when the user attempts graceful deletion of a Pod on an unreachable Node. The only ways in which a Pod in such a state can be removed from the apiserver are as follows:The Node object is deleted (either by you, or by the Node Controller).The kubelet on the unresponsive Node starts responding, kills the Pod and removes the entry from the apiserver.Force deletion of the Pod by the user.The recommended best practice is to use the first or second approach. If a Node is confirmed to be dead (e.g. permanently disconnected from the network, powered down, etc), then delete the Node object. If the Node is suffering from a network partition, then try to resolve this or wait for it to resolve. When the partition heals, the kubelet will complete the deletion of the Pod and free up its name in the apiserver.Normally, the system completes the deletion once the Pod is no longer running on a ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/force-delete-stateful-set-pod/",
    "id": "k8s_00027_qa_398"
  },
  {
    "question": "How does Force Delete StatefulSet Pods work?",
    "answer": "Force Delete StatefulSet PodsThis page shows how to delete Pods which are part of a stateful set, and explains the considerations to keep in mind when doing so.Before you beginThis is a fairly advanced task and has the potential to violate some of the properties inherent to StatefulSet.Before proceeding, make yourself familiar with the considerations enumerated below.StatefulSet considerationsIn normal operation of a StatefulSet, there is never a need to force delete a StatefulSet Pod. The StatefulSet controller is responsible for creating, scaling and deleting members of the StatefulSet. It tries to ensure that the specified number of Pods from ordinal 0 through N-1 are alive and ready. StatefulSet ensures that, at any time, there is at most one Pod with a given identity running in a cluster. This is referred to as at most one semantics provided by a StatefulSet.Manual force deletion should be undertaken with caution, as it has the potential to violate the at most one semantics inherent to StatefulSet. StatefulSets may be used to run distributed and clustered applications which have a need for a stable network identity and stable storage. These applications often have configuration which relies on an ensemble of a fixed number of members with fixed identities. Having multiple members with the same identity can be disastrous and may lead to data loss (e.g. split brain scenario in quorum-based systems).Delete PodsYou can perform a graceful pod deletion with the following command:kubectl delete pods <pod> For the above to lead to graceful termination, the Pod must not specify a pod.Spec.TerminationGracePeriodSeconds of 0. The practice of setting a pod.Spec.TerminationGracePeriodSeconds of 0 seconds is unsafe and strongly discouraged for StatefulSet Pods. Graceful deletion is safe and will ensure that the Pod shuts down gracefully before the kubelet deletes the name from the apiserver.A Pod is not deleted automatically when a node is unreachable. The Pods running on an unreachable Node enter the 'Terminating' or 'Unknown' state after a timeout. Pods may also enter these states when the user attempts graceful deletion of a Pod on an unreachable Node. The only ways in which a Pod in such a state can be removed from the apiserver are as follows:The Node object is deleted (either by you, or by the Node Controller).The kubelet on the unresponsive Node starts responding, kills the Pod and removes the entry from the apiserver.Force deletion of the Pod by the user.The recommended best practice is to use the first or second approach. If a Node is confirmed to be dead (e.g. permanently disconnected from the network, powered down, etc), then delete the Node object. If the Node is suffering from a network partition, then try to resolve this or wait for it to resolve. When the partition heals, the kubelet will complete the deletion of the Pod and free up its name in the apiserver.Normally, the system completes the deletion once the Pod is no longer running on a ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/force-delete-stateful-set-pod/",
    "id": "k8s_00027_qa_399"
  },
  {
    "question": "When would you use Force Delete StatefulSet Pods?",
    "answer": "Force Delete StatefulSet PodsThis page shows how to delete Pods which are part of a stateful set, and explains the considerations to keep in mind when doing so.Before you beginThis is a fairly advanced task and has the potential to violate some of the properties inherent to StatefulSet.Before proceeding, make yourself familiar with the considerations enumerated below.StatefulSet considerationsIn normal operation of a StatefulSet, there is never a need to force delete a StatefulSet Pod. The StatefulSet controller is responsible for creating, scaling and deleting members of the StatefulSet. It tries to ensure that the specified number of Pods from ordinal 0 through N-1 are alive and ready. StatefulSet ensures that, at any time, there is at most one Pod with a given identity running in a cluster. This is referred to as at most one semantics provided by a StatefulSet.Manual force deletion should be undertaken with caution, as it has the potential to violate the at most one semantics inherent to StatefulSet. StatefulSets may be used to run distributed and clustered applications which have a need for a stable network identity and stable storage. These applications often have configuration which relies on an ensemble of a fixed number of members with fixed identities. Having multiple members with the same identity can be disastrous and may lead to data loss (e.g. split brain scenario in quorum-based systems).Delete PodsYou can perform a graceful pod deletion with the following command:kubectl delete pods <pod> For the above to lead to graceful termination, the Pod must not specify a pod.Spec.TerminationGracePeriodSeconds of 0. The practice of setting a pod.Spec.TerminationGracePeriodSeconds of 0 seconds is unsafe and strongly discouraged for StatefulSet Pods. Graceful deletion is safe and will ensure that the Pod shuts down gracefully before the kubelet deletes the name from the apiserver.A Pod is not deleted automatically when a node is unreachable. The Pods running on an unreachable Node enter the 'Terminating' or 'Unknown' state after a timeout. Pods may also enter these states when the user attempts graceful deletion of a Pod on an unreachable Node. The only ways in which a Pod in such a state can be removed from the apiserver are as follows:The Node object is deleted (either by you, or by the Node Controller).The kubelet on the unresponsive Node starts responding, kills the Pod and removes the entry from the apiserver.Force deletion of the Pod by the user.The recommended best practice is to use the first or second approach. If a Node is confirmed to be dead (e.g. permanently disconnected from the network, powered down, etc), then delete the Node object. If the Node is suffering from a network partition, then try to resolve this or wait for it to resolve. When the partition heals, the kubelet will complete the deletion of the Pod and free up its name in the apiserver.Normally, the system completes the deletion once the Pod is no longer running on a ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/force-delete-stateful-set-pod/",
    "id": "k8s_00027_qa_400"
  },
  {
    "question": "What are the benefits of Force Delete StatefulSet Pods?",
    "answer": "Force Delete StatefulSet PodsThis page shows how to delete Pods which are part of a stateful set, and explains the considerations to keep in mind when doing so.Before you beginThis is a fairly advanced task and has the potential to violate some of the properties inherent to StatefulSet.Before proceeding, make yourself familiar with the considerations enumerated below.StatefulSet considerationsIn normal operation of a StatefulSet, there is never a need to force delete a StatefulSet Pod. The StatefulSet controller is responsible for creating, scaling and deleting members of the StatefulSet. It tries to ensure that the specified number of Pods from ordinal 0 through N-1 are alive and ready. StatefulSet ensures that, at any time, there is at most one Pod with a given identity running in a cluster. This is referred to as at most one semantics provided by a StatefulSet.Manual force deletion should be undertaken with caution, as it has the potential to violate the at most one semantics inherent to StatefulSet. StatefulSets may be used to run distributed and clustered applications which have a need for a stable network identity and stable storage. These applications often have configuration which relies on an ensemble of a fixed number of members with fixed identities. Having multiple members with the same identity can be disastrous and may lead to data loss (e.g. split brain scenario in quorum-based systems).Delete PodsYou can perform a graceful pod deletion with the following command:kubectl delete pods <pod> For the above to lead to graceful termination, the Pod must not specify a pod.Spec.TerminationGracePeriodSeconds of 0. The practice of setting a pod.Spec.TerminationGracePeriodSeconds of 0 seconds is unsafe and strongly discouraged for StatefulSet Pods. Graceful deletion is safe and will ensure that the Pod shuts down gracefully before the kubelet deletes the name from the apiserver.A Pod is not deleted automatically when a node is unreachable. The Pods running on an unreachable Node enter the 'Terminating' or 'Unknown' state after a timeout. Pods may also enter these states when the user attempts graceful deletion of a Pod on an unreachable Node. The only ways in which a Pod in such a state can be removed from the apiserver are as follows:The Node object is deleted (either by you, or by the Node Controller).The kubelet on the unresponsive Node starts responding, kills the Pod and removes the entry from the apiserver.Force deletion of the Pod by the user.The recommended best practice is to use the first or second approach. If a Node is confirmed to be dead (e.g. permanently disconnected from the network, powered down, etc), then delete the Node object. If the Node is suffering from a network partition, then try to resolve this or wait for it to resolve. When the partition heals, the kubelet will complete the deletion of the Pod and free up its name in the apiserver.Normally, the system completes the deletion once the Pod is no longer running on a ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/force-delete-stateful-set-pod/",
    "id": "k8s_00027_qa_401"
  },
  {
    "question": "What is Force Delete StatefulSet Pods?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   d e l e t e   P o d s   w h i c h   a r e   p a r t   o f   a   s t a t e f u l   s e t ,   a n d   e x p l a i n s   t h e   c o n s i d e r a t i o n s   t o   k e e p   i n   m i n d   w h e n   d o i n g   s o .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/force-delete-stateful-set-pod/",
    "id": "k8s_00027_section_1_402"
  },
  {
    "question": "What is Before you begin?",
    "answer": "T h i s   i s   a   f a i r l y   a d v a n c e d   t a s k   a n d   h a s   t h e   p o t e n t i a l   t o   v i o l a t e   s o m e   o f   t h e   p r o p e r t i e s   i n h e r e n t   t o   S t a t e f u l S e t . B e f o r e   p r o c e e d i n g ,   m a k e   y o u r s e l f   f a m i l i a r   w i t h   t h e   c o n s i d e r a t i o n s   e n u m e r a t e d   b e l o w .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/force-delete-stateful-set-pod/",
    "id": "k8s_00027_section_2_403"
  },
  {
    "question": "What is StatefulSet considerations?",
    "answer": "I n   n o r m a l   o p e r a t i o n   o f   a   S t a t e f u l S e t ,   t h e r e   i s   n e v e r   a   n e e d   t o   f o r c e   d e l e t e   a   S t a t e f u l S e t   P o d .   T h e   S t a t e f u l S e t   c o n t r o l l e r   i s   r e s p o n s i b l e   f o r   c r e a t i n g ,   s c a l i n g   a n d   d e l e t i n g   m e m b e r s   o f   t h e   S t a t e f u l S e t .   I t   t r i e s   t o   e n s u r e   t h a t   t h e   s p e c i f i e d   n u m b e r   o f   P o d s   f r o m   o r d i n a l   0   t h r o u g h   N - 1   a r e   a l i v e   a n d   r e a d y .   S t a t e f u l S e t   e n s u r e s   t h a t ,   a t   a n y   t i m e ,   t h e r e   i s   a t   m o s t   o n e   P o d   w i t h   a   g i v e n   i d e n t i t y   r u n n i n g   i n   a   c l u s t e r .   T h i s   i s   r e f e r r e d   t o   a s   a t   m o s t   o n e   s e m a n t i c s   p r o v i d e d   b y   a   S t a t e f u l S e t .   M a n u a l   f o r c e   d e l e t i o n   s h o u l d   b e   u n d e r t a k e n   w i t h   c a u t i o n ,   a s   i t   h a s   t h e   p o t e n t i a l   t o   v i o l a t e   t h e   a t   m o s t   o n e   s e m a n t i c s   i n h e r e n t   t o   S t a t e f u l S e t .   S t a t e f u l S e t s   m a y   b e   u s e d   t o   r u n   d i s t r i b u t e d   a n d   c l u s t e r e d   a p p l i c a t i o n s   w h i c h   h a v e   a   n e e d   f o r   a   s t a b l e   n e t w o r k   i d e n t i t y   a n d   s t a b l e   s t o r a g e .   T h e s e   a p p l i c a t i o n s   o f t e n   h a v e   c o n f i g u r a t i o n   w h i c h   r e l i e s   o n   a n   e n s e m b l e   o f   a   f i x e d   n u m b e r   o f   m e m b e r s   w i t h   f i x e d   i d e n t i t i e s .   H a v i n g   m u l t i p l e   m e m b e r s   w i t h   t h e   s a m e   i d e n t i t y   c a n   b e   d i s a s t r o u s   a n d   m a y   l e a d   t o   d a t a   l o s s   ( e . g .   s p l i t   b r a i n   s c e n ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/force-delete-stateful-set-pod/",
    "id": "k8s_00027_section_2_404"
  },
  {
    "question": "What is Delete Pods?",
    "answer": "Y o u   c a n   p e r f o r m   a   g r a c e f u l   p o d   d e l e t i o n   w i t h   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   d e l e t e   p o d s   < p o d >   F o r   t h e   a b o v e   t o   l e a d   t o   g r a c e f u l   t e r m i n a t i o n ,   t h e   P o d   m u s t   n o t   s p e c i f y   a   p o d . S p e c . T e r m i n a t i o n G r a c e P e r i o d S e c o n d s   o f   0 .   T h e   p r a c t i c e   o f   s e t t i n g   a   p o d . S p e c . T e r m i n a t i o n G r a c e P e r i o d S e c o n d s   o f   0   s e c o n d s   i s   u n s a f e   a n d   s t r o n g l y   d i s c o u r a g e d   f o r   S t a t e f u l S e t   P o d s .   G r a c e f u l   d e l e t i o n   i s   s a f e   a n d   w i l l   e n s u r e   t h a t   t h e   P o d   s h u t s   d o w n   g r a c e f u l l y   b e f o r e   t h e   k u b e l e t   d e l e t e s   t h e   n a m e   f r o m   t h e   a p i s e r v e r .   A   P o d   i s   n o t   d e l e t e d   a u t o m a t i c a l l y   w h e n   a   n o d e   i s   u n r e a c h a b l e .   T h e   P o d s   r u n n i n g   o n   a n   u n r e a c h a b l e   N o d e   e n t e r   t h e   ' T e r m i n a t i n g '   o r   ' U n k n o w n '   s t a t e   a f t e r   a   t i m e o u t .   P o d s   m a y   a l s o   e n t e r   t h e s e   s t a t e s   w h e n   t h e   u s e r   a t t e m p t s   g r a c e f u l   d e l e t i o n   o f   a   P o d   o n   a n   u n r e a c h a b l e   N o d e .   T h e   o n l y   w a y s   i n   w h i c h   a   P o d   i n   s u c h   a   s t a t e   c a n   b e   r e m o v e d   f r o m   t h e   a p i s e r v e r   a r e   a s   f o l l o w s :   T h e   N o d e   o b j e c t   i s   d e l e t e d   ( e i t h e r   b y   y o u ,   o r   b y   t h e   N o d e   C o n t r o l l e r ) . T h e   k u b e l e t   o n   t h e   u n r e s p o n s i v e   N o d e   s t a r t s   r e s p o n d i n g ,   k i l l s   t h e   P o d   a n d   r e m o v e s   t h ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/force-delete-stateful-set-pod/",
    "id": "k8s_00027_section_2_405"
  },
  {
    "question": "What is Force Deletion?",
    "answer": "F o r c e   d e l e t i o n s   d o   n o t   w a i t   f o r   c o n f i r m a t i o n   f r o m   t h e   k u b e l e t   t h a t   t h e   P o d   h a s   b e e n   t e r m i n a t e d .   I r r e s p e c t i v e   o f   w h e t h e r   a   f o r c e   d e l e t i o n   i s   s u c c e s s f u l   i n   k i l l i n g   a   P o d ,   i t   w i l l   i m m e d i a t e l y   f r e e   u p   t h e   n a m e   f r o m   t h e   a p i s e r v e r .   T h i s   w o u l d   l e t   t h e   S t a t e f u l S e t   c o n t r o l l e r   c r e a t e   a   r e p l a c e m e n t   P o d   w i t h   t h a t   s a m e   i d e n t i t y ;   t h i s   c a n   l e a d   t o   t h e   d u p l i c a t i o n   o f   a   s t i l l - r u n n i n g   P o d ,   a n d   i f   s a i d   P o d   c a n   s t i l l   c o m m u n i c a t e   w i t h   t h e   o t h e r   m e m b e r s   o f   t h e   S t a t e f u l S e t ,   w i l l   v i o l a t e   t h e   a t   m o s t   o n e   s e m a n t i c s   t h a t   S t a t e f u l S e t   i s   d e s i g n e d   t o   g u a r a n t e e .   W h e n   y o u   f o r c e   d e l e t e   a   S t a t e f u l S e t   p o d ,   y o u   a r e   a s s e r t i n g   t h a t   t h e   P o d   i n   q u e s t i o n   w i l l   n e v e r   a g a i n   m a k e   c o n t a c t   w i t h   o t h e r   P o d s   i n   t h e   S t a t e f u l S e t   a n d   i t s   n a m e   c a n   b e   s a f e l y   f r e e d   u p   f o r   a   r e p l a c e m e n t   t o   b e   c r e a t e d .   I f   y o u   w a n t   t o   d e l e t e   a   P o d   f o r c i b l y   u s i n g   k u b e c t l   v e r s i o n   > =   1 . 5 ,   d o   t h e   f o l l o w i n g :   k u b e c t l   d e l e t e   p o d s   < p o d >   - - g r a c e - p e r i o d = 0   - - f o r c e   I f   y o u ' r e   u s i n g   a n y   v e r s i o n   o f   k u b e c t l   < =   1 . 4 ,   y o u   s h o u l d   o m i t   t h e   - - f o r c e   o p t i o n   a n d   u s e :   k u b e c t l   d e l e t e   p o ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/force-delete-stateful-set-pod/",
    "id": "k8s_00027_section_3_406"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   d e b u g g i n g   a   S t a t e f u l S e t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/force-delete-stateful-set-pod/",
    "id": "k8s_00027_section_2_407"
  },
  {
    "question": "What is Upgrading kubeadm clusters?",
    "answer": "Upgrading kubeadm clustersThis page explains how to upgrade a Kubernetes cluster created with kubeadm from version 1.33.x to version 1.34.x, and from version 1.34.x to 1.34.y (where y > x). Skipping MINOR versions when upgrading is unsupported. For more details, please visit Version Skew Policy.To see information about upgrading clusters created using older versions of kubeadm, please refer to following pages instead:Upgrading a kubeadm cluster from 1.32 to 1.33Upgrading a kubeadm cluster from 1.31 to 1.32Upgrading a kubeadm cluster from 1.30 to 1.31Upgrading a kubeadm cluster from 1.29 to 1.30The Kubernetes project recommends upgrading to the latest patch releases promptly, and to ensure that you are running a supported minor release of Kubernetes. Following this recommendation helps you to stay secure.The upgrade workflow at high level is the following:Upgrade a primary control plane node.Upgrade additional control plane nodes.Upgrade worker nodes.Before you beginMake sure you read the release notes carefully.The cluster should use a static control plane and etcd pods or external etcd.Make sure to back up any important components, such as app-level state stored in a database. kubeadm upgrade does not touch your workloads, only components internal to Kubernetes, but backups are always a best practice.Swap must be disabled.Additional informationThe instructions below outline when to drain each node during the upgrade process. If you are performing a minor version upgrade for any kubelet, you must first drain the node (or nodes) that you are upgrading. In the case of control plane nodes, they could be running CoreDNS Pods or other critical workloads. For more information see Draining nodes.The Kubernetes project recommends that you match your kubelet and kubeadm versions. You can instead use a version of kubelet that is older than kubeadm, provided it is within the range of supported versions. For more details, please visit kubeadm's skew against the kubelet.All containers are restarted after upgrade, because the container spec hash value is changed.To verify that the kubelet service has successfully restarted after the kubelet has been upgraded, you can execute systemctl status kubelet or view the service logs with journalctl -xeu kubelet.kubeadm upgrade supports --config with a UpgradeConfiguration API type which can be used to configure the upgrade process.kubeadm upgrade does not support reconfiguration of an existing cluster. Follow the steps in Reconfiguring a kubeadm cluster instead.Considerations when upgrading etcdBecause the kube-apiserver static pod is running at all times (even if you have drained the node), when you perform a kubeadm upgrade which includes an etcd upgrade, in-flight requests to the server will stall while the new etcd static pod is restarting. As a workaround, it is possible to actively stop the kube-apiserver process a few seconds before starting the kubeadm upgrade apply command. This permits to complete in-flight r",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00028_qa_408"
  },
  {
    "question": "How does Upgrading kubeadm clusters work?",
    "answer": "Upgrading kubeadm clustersThis page explains how to upgrade a Kubernetes cluster created with kubeadm from version 1.33.x to version 1.34.x, and from version 1.34.x to 1.34.y (where y > x). Skipping MINOR versions when upgrading is unsupported. For more details, please visit Version Skew Policy.To see information about upgrading clusters created using older versions of kubeadm, please refer to following pages instead:Upgrading a kubeadm cluster from 1.32 to 1.33Upgrading a kubeadm cluster from 1.31 to 1.32Upgrading a kubeadm cluster from 1.30 to 1.31Upgrading a kubeadm cluster from 1.29 to 1.30The Kubernetes project recommends upgrading to the latest patch releases promptly, and to ensure that you are running a supported minor release of Kubernetes. Following this recommendation helps you to stay secure.The upgrade workflow at high level is the following:Upgrade a primary control plane node.Upgrade additional control plane nodes.Upgrade worker nodes.Before you beginMake sure you read the release notes carefully.The cluster should use a static control plane and etcd pods or external etcd.Make sure to back up any important components, such as app-level state stored in a database. kubeadm upgrade does not touch your workloads, only components internal to Kubernetes, but backups are always a best practice.Swap must be disabled.Additional informationThe instructions below outline when to drain each node during the upgrade process. If you are performing a minor version upgrade for any kubelet, you must first drain the node (or nodes) that you are upgrading. In the case of control plane nodes, they could be running CoreDNS Pods or other critical workloads. For more information see Draining nodes.The Kubernetes project recommends that you match your kubelet and kubeadm versions. You can instead use a version of kubelet that is older than kubeadm, provided it is within the range of supported versions. For more details, please visit kubeadm's skew against the kubelet.All containers are restarted after upgrade, because the container spec hash value is changed.To verify that the kubelet service has successfully restarted after the kubelet has been upgraded, you can execute systemctl status kubelet or view the service logs with journalctl -xeu kubelet.kubeadm upgrade supports --config with a UpgradeConfiguration API type which can be used to configure the upgrade process.kubeadm upgrade does not support reconfiguration of an existing cluster. Follow the steps in Reconfiguring a kubeadm cluster instead.Considerations when upgrading etcdBecause the kube-apiserver static pod is running at all times (even if you have drained the node), when you perform a kubeadm upgrade which includes an etcd upgrade, in-flight requests to the server will stall while the new etcd static pod is restarting. As a workaround, it is possible to actively stop the kube-apiserver process a few seconds before starting the kubeadm upgrade apply command. This permits to complete in-flight r",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00028_qa_409"
  },
  {
    "question": "When would you use Upgrading kubeadm clusters?",
    "answer": "Upgrading kubeadm clustersThis page explains how to upgrade a Kubernetes cluster created with kubeadm from version 1.33.x to version 1.34.x, and from version 1.34.x to 1.34.y (where y > x). Skipping MINOR versions when upgrading is unsupported. For more details, please visit Version Skew Policy.To see information about upgrading clusters created using older versions of kubeadm, please refer to following pages instead:Upgrading a kubeadm cluster from 1.32 to 1.33Upgrading a kubeadm cluster from 1.31 to 1.32Upgrading a kubeadm cluster from 1.30 to 1.31Upgrading a kubeadm cluster from 1.29 to 1.30The Kubernetes project recommends upgrading to the latest patch releases promptly, and to ensure that you are running a supported minor release of Kubernetes. Following this recommendation helps you to stay secure.The upgrade workflow at high level is the following:Upgrade a primary control plane node.Upgrade additional control plane nodes.Upgrade worker nodes.Before you beginMake sure you read the release notes carefully.The cluster should use a static control plane and etcd pods or external etcd.Make sure to back up any important components, such as app-level state stored in a database. kubeadm upgrade does not touch your workloads, only components internal to Kubernetes, but backups are always a best practice.Swap must be disabled.Additional informationThe instructions below outline when to drain each node during the upgrade process. If you are performing a minor version upgrade for any kubelet, you must first drain the node (or nodes) that you are upgrading. In the case of control plane nodes, they could be running CoreDNS Pods or other critical workloads. For more information see Draining nodes.The Kubernetes project recommends that you match your kubelet and kubeadm versions. You can instead use a version of kubelet that is older than kubeadm, provided it is within the range of supported versions. For more details, please visit kubeadm's skew against the kubelet.All containers are restarted after upgrade, because the container spec hash value is changed.To verify that the kubelet service has successfully restarted after the kubelet has been upgraded, you can execute systemctl status kubelet or view the service logs with journalctl -xeu kubelet.kubeadm upgrade supports --config with a UpgradeConfiguration API type which can be used to configure the upgrade process.kubeadm upgrade does not support reconfiguration of an existing cluster. Follow the steps in Reconfiguring a kubeadm cluster instead.Considerations when upgrading etcdBecause the kube-apiserver static pod is running at all times (even if you have drained the node), when you perform a kubeadm upgrade which includes an etcd upgrade, in-flight requests to the server will stall while the new etcd static pod is restarting. As a workaround, it is possible to actively stop the kube-apiserver process a few seconds before starting the kubeadm upgrade apply command. This permits to complete in-flight r",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00028_qa_410"
  },
  {
    "question": "What are the benefits of Upgrading kubeadm clusters?",
    "answer": "Upgrading kubeadm clustersThis page explains how to upgrade a Kubernetes cluster created with kubeadm from version 1.33.x to version 1.34.x, and from version 1.34.x to 1.34.y (where y > x). Skipping MINOR versions when upgrading is unsupported. For more details, please visit Version Skew Policy.To see information about upgrading clusters created using older versions of kubeadm, please refer to following pages instead:Upgrading a kubeadm cluster from 1.32 to 1.33Upgrading a kubeadm cluster from 1.31 to 1.32Upgrading a kubeadm cluster from 1.30 to 1.31Upgrading a kubeadm cluster from 1.29 to 1.30The Kubernetes project recommends upgrading to the latest patch releases promptly, and to ensure that you are running a supported minor release of Kubernetes. Following this recommendation helps you to stay secure.The upgrade workflow at high level is the following:Upgrade a primary control plane node.Upgrade additional control plane nodes.Upgrade worker nodes.Before you beginMake sure you read the release notes carefully.The cluster should use a static control plane and etcd pods or external etcd.Make sure to back up any important components, such as app-level state stored in a database. kubeadm upgrade does not touch your workloads, only components internal to Kubernetes, but backups are always a best practice.Swap must be disabled.Additional informationThe instructions below outline when to drain each node during the upgrade process. If you are performing a minor version upgrade for any kubelet, you must first drain the node (or nodes) that you are upgrading. In the case of control plane nodes, they could be running CoreDNS Pods or other critical workloads. For more information see Draining nodes.The Kubernetes project recommends that you match your kubelet and kubeadm versions. You can instead use a version of kubelet that is older than kubeadm, provided it is within the range of supported versions. For more details, please visit kubeadm's skew against the kubelet.All containers are restarted after upgrade, because the container spec hash value is changed.To verify that the kubelet service has successfully restarted after the kubelet has been upgraded, you can execute systemctl status kubelet or view the service logs with journalctl -xeu kubelet.kubeadm upgrade supports --config with a UpgradeConfiguration API type which can be used to configure the upgrade process.kubeadm upgrade does not support reconfiguration of an existing cluster. Follow the steps in Reconfiguring a kubeadm cluster instead.Considerations when upgrading etcdBecause the kube-apiserver static pod is running at all times (even if you have drained the node), when you perform a kubeadm upgrade which includes an etcd upgrade, in-flight requests to the server will stall while the new etcd static pod is restarting. As a workaround, it is possible to actively stop the kube-apiserver process a few seconds before starting the kubeadm upgrade apply command. This permits to complete in-flight r",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00028_qa_411"
  },
  {
    "question": "What is Upgrading kubeadm clusters?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   t o   u p g r a d e   a   K u b e r n e t e s   c l u s t e r   c r e a t e d   w i t h   k u b e a d m   f r o m   v e r s i o n   1 . 3 3 . x   t o   v e r s i o n   1 . 3 4 . x ,   a n d   f r o m   v e r s i o n   1 . 3 4 . x   t o   1 . 3 4 . y   ( w h e r e   y   >   x ) .   S k i p p i n g   M I N O R   v e r s i o n s   w h e n   u p g r a d i n g   i s   u n s u p p o r t e d .   F o r   m o r e   d e t a i l s ,   p l e a s e   v i s i t   V e r s i o n   S k e w   P o l i c y .   T o   s e e   i n f o r m a t i o n   a b o u t   u p g r a d i n g   c l u s t e r s   c r e a t e d   u s i n g   o l d e r   v e r s i o n s   o f   k u b e a d m ,   p l e a s e   r e f e r   t o   f o l l o w i n g   p a g e s   i n s t e a d :   U p g r a d i n g   a   k u b e a d m   c l u s t e r   f r o m   1 . 3 2   t o   1 . 3 3 U p g r a d i n g   a   k u b e a d m   c l u s t e r   f r o m   1 . 3 1   t o   1 . 3 2 U p g r a d i n g   a   k u b e a d m   c l u s t e r   f r o m   1 . 3 0   t o   1 . 3 1 U p g r a d i n g   a   k u b e a d m   c l u s t e r   f r o m   1 . 2 9   t o   1 . 3 0   T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   u p g r a d i n g   t o   t h e   l a t e s t   p a t c h   r e l e a s e s   p r o m p t l y ,   a n d   t o   e n s u r e   t h a t   y o u   a r e   r u n n i n g   a   s u p p o r t e d   m i n o r   r e l e a s e   o f   K u b e r n e t e s .   F o l l o w i n g   t h i s   r e c o m m e n d a t i o n   h e l p s   y o u   t o   s t a y   s e c u r e .   T h e   u p g r a d e   w o r k f l o w   a t   h i g h   l e v e l   i s   t h e   f o l l o w i n g :   U p g r a d e   a   p r i m a r y   c o n t r o l   p l a n e   n o d e . U p g r a d e   a d d i t i o n a l   c o n t r o l   p l a n e   n o d e s . U p g r a d e   w o r k e r   n o d e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00028_section_1_412"
  },
  {
    "question": "What is Before you begin?",
    "answer": "M a k e   s u r e   y o u   r e a d   t h e   r e l e a s e   n o t e s   c a r e f u l l y . T h e   c l u s t e r   s h o u l d   u s e   a   s t a t i c   c o n t r o l   p l a n e   a n d   e t c d   p o d s   o r   e x t e r n a l   e t c d . M a k e   s u r e   t o   b a c k   u p   a n y   i m p o r t a n t   c o m p o n e n t s ,   s u c h   a s   a p p - l e v e l   s t a t e   s t o r e d   i n   a   d a t a b a s e .   k u b e a d m   u p g r a d e   d o e s   n o t   t o u c h   y o u r   w o r k l o a d s ,   o n l y   c o m p o n e n t s   i n t e r n a l   t o   K u b e r n e t e s ,   b u t   b a c k u p s   a r e   a l w a y s   a   b e s t   p r a c t i c e . S w a p   m u s t   b e   d i s a b l e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00028_section_2_413"
  },
  {
    "question": "What is Additional information?",
    "answer": "T h e   i n s t r u c t i o n s   b e l o w   o u t l i n e   w h e n   t o   d r a i n   e a c h   n o d e   d u r i n g   t h e   u p g r a d e   p r o c e s s .   I f   y o u   a r e   p e r f o r m i n g   a   m i n o r   v e r s i o n   u p g r a d e   f o r   a n y   k u b e l e t ,   y o u   m u s t   f i r s t   d r a i n   t h e   n o d e   ( o r   n o d e s )   t h a t   y o u   a r e   u p g r a d i n g .   I n   t h e   c a s e   o f   c o n t r o l   p l a n e   n o d e s ,   t h e y   c o u l d   b e   r u n n i n g   C o r e D N S   P o d s   o r   o t h e r   c r i t i c a l   w o r k l o a d s .   F o r   m o r e   i n f o r m a t i o n   s e e   D r a i n i n g   n o d e s . T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   t h a t   y o u   m a t c h   y o u r   k u b e l e t   a n d   k u b e a d m   v e r s i o n s .   Y o u   c a n   i n s t e a d   u s e   a   v e r s i o n   o f   k u b e l e t   t h a t   i s   o l d e r   t h a n   k u b e a d m ,   p r o v i d e d   i t   i s   w i t h i n   t h e   r a n g e   o f   s u p p o r t e d   v e r s i o n s .   F o r   m o r e   d e t a i l s ,   p l e a s e   v i s i t   k u b e a d m ' s   s k e w   a g a i n s t   t h e   k u b e l e t . A l l   c o n t a i n e r s   a r e   r e s t a r t e d   a f t e r   u p g r a d e ,   b e c a u s e   t h e   c o n t a i n e r   s p e c   h a s h   v a l u e   i s   c h a n g e d . T o   v e r i f y   t h a t   t h e   k u b e l e t   s e r v i c e   h a s   s u c c e s s f u l l y   r e s t a r t e d   a f t e r   t h e   k u b e l e t   h a s   b e e n   u p g r a d e d ,   y o u   c a n   e x e c u t e   s y s t e m c t l   s t a t u s   k u b e l e t   o r   v i e w   t h e   s e r v i c e   l o g s   w i t h   j o u r n a l c t l   - x e u   k u b e l e t . k u b e a d m   u p g r a d e   s u p p o r t s   - - c o n f i g   w i t h   a   U p g r a d e C o n f i g u r a t i o n   A P I   t y p e   w h i c h   c a n   b e   u s e d ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00028_section_3_414"
  },
  {
    "question": "What is Considerations when upgrading etcd?",
    "answer": "B e c a u s e   t h e   k u b e - a p i s e r v e r   s t a t i c   p o d   i s   r u n n i n g   a t   a l l   t i m e s   ( e v e n   i f   y o u   h a v e   d r a i n e d   t h e   n o d e ) ,   w h e n   y o u   p e r f o r m   a   k u b e a d m   u p g r a d e   w h i c h   i n c l u d e s   a n   e t c d   u p g r a d e ,   i n - f l i g h t   r e q u e s t s   t o   t h e   s e r v e r   w i l l   s t a l l   w h i l e   t h e   n e w   e t c d   s t a t i c   p o d   i s   r e s t a r t i n g .   A s   a   w o r k a r o u n d ,   i t   i s   p o s s i b l e   t o   a c t i v e l y   s t o p   t h e   k u b e - a p i s e r v e r   p r o c e s s   a   f e w   s e c o n d s   b e f o r e   s t a r t i n g   t h e   k u b e a d m   u p g r a d e   a p p l y   c o m m a n d .   T h i s   p e r m i t s   t o   c o m p l e t e   i n - f l i g h t   r e q u e s t s   a n d   c l o s e   e x i s t i n g   c o n n e c t i o n s ,   a n d   m i n i m i z e s   t h e   c o n s e q u e n c e   o f   t h e   e t c d   d o w n t i m e .   T h i s   c a n   b e   d o n e   a s   f o l l o w s   o n   c o n t r o l   p l a n e   n o d e s :   k i l l a l l   - s   S I G T E R M   k u b e - a p i s e r v e r   #   t r i g g e r   a   g r a c e f u l   k u b e - a p i s e r v e r   s h u t d o w n   s l e e p   2 0   #   w a i t   a   l i t t l e   b i t   t o   p e r m i t   c o m p l e t i n g   i n - f l i g h t   r e q u e s t s   k u b e a d m   u p g r a d e   . . .   #   e x e c u t e   a   k u b e a d m   u p g r a d e   c o m m a n d",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00028_section_3_415"
  },
  {
    "question": "What is Changing the package repository?",
    "answer": "I f   y o u ' r e   u s i n g   t h e   c o m m u n i t y - o w n e d   p a c k a g e   r e p o s i t o r i e s   ( p k g s . k 8 s . i o ) ,   y o u   n e e d   t o   e n a b l e   t h e   p a c k a g e   r e p o s i t o r y   f o r   t h e   d e s i r e d   K u b e r n e t e s   m i n o r   r e l e a s e .   T h i s   i s   e x p l a i n e d   i n   C h a n g i n g   t h e   K u b e r n e t e s   p a c k a g e   r e p o s i t o r y   d o c u m e n t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00028_section_2_416"
  },
  {
    "question": "What is Determine which version to upgrade to?",
    "answer": "F i n d   t h e   l a t e s t   p a t c h   r e l e a s e   f o r   K u b e r n e t e s   1 . 3 4   u s i n g   t h e   O S   p a c k a g e   m a n a g e r :   #   F i n d   t h e   l a t e s t   1 . 3 4   v e r s i o n   i n   t h e   l i s t .   #   I t   s h o u l d   l o o k   l i k e   1 . 3 4 . x - * ,   w h e r e   x   i s   t h e   l a t e s t   p a t c h .   s u d o   a p t   u p d a t e   s u d o   a p t - c a c h e   m a d i s o n   k u b e a d m   #   F i n d   t h e   l a t e s t   1 . 3 4   v e r s i o n   i n   t h e   l i s t .   #   I t   s h o u l d   l o o k   l i k e   1 . 3 4 . x - * ,   w h e r e   x   i s   t h e   l a t e s t   p a t c h .   s u d o   a p t   u p d a t e   s u d o   a p t - c a c h e   m a d i s o n   k u b e a d m   F o r   s y s t e m s   w i t h   D N F : #   F i n d   t h e   l a t e s t   1 . 3 4   v e r s i o n   i n   t h e   l i s t .   #   I t   s h o u l d   l o o k   l i k e   1 . 3 4 . x - * ,   w h e r e   x   i s   t h e   l a t e s t   p a t c h .   s u d o   y u m   l i s t   - - s h o w d u p l i c a t e s   k u b e a d m   - - d i s a b l e e x c l u d e s = k u b e r n e t e s   F o r   s y s t e m s   w i t h   D N F 5 : #   F i n d   t h e   l a t e s t   1 . 3 4   v e r s i o n   i n   t h e   l i s t .   #   I t   s h o u l d   l o o k   l i k e   1 . 3 4 . x - * ,   w h e r e   x   i s   t h e   l a t e s t   p a t c h .   s u d o   y u m   l i s t   - - s h o w d u p l i c a t e s   k u b e a d m   - - s e t o p t = d i s a b l e _ e x c l u d e s = k u b e r n e t e s   F o r   s y s t e m s   w i t h   D N F :   #   F i n d   t h e   l a t e s t   1 . 3 4   v e r s i o n   i n   t h e   l i s t .   #   I t   s h o u l d   l o o k   l i k e   1 . 3 4 . x - * ,   w h e r e   x   i s   t h e   l a t e s t   p a t c h .   s u d o   y u m   l i s t   - - s h o w d u p l i c a t e s   k u b e a d m   - - d i s a b l e e x c l u d e s = k u b e r n e t e s   F o r   s y s t e m s   w i t h   D N F 5 :   # ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00028_section_2_417"
  },
  {
    "question": "What is Upgrading control plane nodes?",
    "answer": "T h e   u p g r a d e   p r o c e d u r e   o n   c o n t r o l   p l a n e   n o d e s   s h o u l d   b e   e x e c u t e d   o n e   n o d e   a t   a   t i m e .   P i c k   a   c o n t r o l   p l a n e   n o d e   t h a t   y o u   w i s h   t o   u p g r a d e   f i r s t .   I t   m u s t   h a v e   t h e   / e t c / k u b e r n e t e s / a d m i n . c o n f   f i l e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00028_section_2_418"
  },
  {
    "question": "What is Call \"kubeadm upgrade\"?",
    "answer": "F o r   t h e   f i r s t   c o n t r o l   p l a n e   n o d e   U p g r a d e   k u b e a d m : #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   a p t - m a r k   u n h o l d   k u b e a d m   & &   \\   s u d o   a p t - g e t   u p d a t e   & &   s u d o   a p t - g e t   i n s t a l l   - y   k u b e a d m = ' 1 . 3 4 . x - * '   & &   \\   s u d o   a p t - m a r k   h o l d   k u b e a d m   F o r   s y s t e m s   w i t h   D N F : #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   y u m   i n s t a l l   - y   k u b e a d m - ' 1 . 3 4 . x - * '   - - d i s a b l e e x c l u d e s = k u b e r n e t e s   F o r   s y s t e m s   w i t h   D N F 5 : #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   y u m   i n s t a l l   - y   k u b e a d m - ' 1 . 3 4 . x - * '   - - s e t o p t = d i s a b l e _ e x c l u d e s = k u b e r n e t e s   V e r i f y   t h a t   t h e   d o w n l o a d   w o r k s   a n d   h a s   t h e   e x p e c t e d   v e r s i o n : k u b e a d m   v e r s i o n   V e r i f y   t h e   u p g r a d e   p l a n : s u d o   k u b e a d m   u p g r a d e   p l a n   T h i s   c o m m a n d   c h e c k s   t h a t   y o u r   c l u s t e r   c a n   b e   u p g r a d e d ,   a n d   f e t c h e s   t h e   v e r s i o n s   y o u   c a n   u p g r a d e   t o .   I t   a l s o   s h o w s   a   t a b l e   w i t h   t h e   c o m p o n e n t   c o n f i g   v e r s i o n   s t a t e s . N o t e : k u b e a d m   u p g r a d e   a l s o   a u t o m a t i c a l l y   r e n e w s   t h e   c e r t i f i c a t e s   t h a t   i t   m a n a g e s   o n   t h i s   n o d e .   T o   o p t - o u t   o f   c e r t i f i c a t e   r e n e w a l   t h e   f l a g   - - c e r t i f i c a t e - r e n e w a l = f a l s e   c a n   b e   u s e d .   F o r ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00028_section_3_419"
  },
  {
    "question": "What is Note:?",
    "answer": "C h o o s e   a   v e r s i o n   t o   u p g r a d e   t o ,   a n d   r u n   t h e   a p p r o p r i a t e   c o m m a n d .   F o r   e x a m p l e :   #   r e p l a c e   x   w i t h   t h e   p a t c h   v e r s i o n   y o u   p i c k e d   f o r   t h i s   u p g r a d e   s u d o   k u b e a d m   u p g r a d e   a p p l y   v 1 . 3 4 . x   O n c e   t h e   c o m m a n d   f i n i s h e s   y o u   s h o u l d   s e e :   [ u p g r a d e / s u c c e s s f u l ]   S U C C E S S !   Y o u r   c l u s t e r   w a s   u p g r a d e d   t o   \" v 1 . 3 4 . x \" .   E n j o y !   [ u p g r a d e / k u b e l e t ]   N o w   t h a t   y o u r   c o n t r o l   p l a n e   i s   u p g r a d e d ,   p l e a s e   p r o c e e d   w i t h   u p g r a d i n g   y o u r   k u b e l e t s   i f   y o u   h a v e n ' t   a l r e a d y   d o n e   s o .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00028_section_4_420"
  },
  {
    "question": "What is Note:?",
    "answer": "M a n u a l l y   u p g r a d e   y o u r   C N I   p r o v i d e r   p l u g i n .   Y o u r   C o n t a i n e r   N e t w o r k   I n t e r f a c e   ( C N I )   p r o v i d e r   m a y   h a v e   i t s   o w n   u p g r a d e   i n s t r u c t i o n s   t o   f o l l o w .   C h e c k   t h e   a d d o n s   p a g e   t o   f i n d   y o u r   C N I   p r o v i d e r   a n d   s e e   w h e t h e r   a d d i t i o n a l   u p g r a d e   s t e p s   a r e   r e q u i r e d .   T h i s   s t e p   i s   n o t   r e q u i r e d   o n   a d d i t i o n a l   c o n t r o l   p l a n e   n o d e s   i f   t h e   C N I   p r o v i d e r   r u n s   a s   a   D a e m o n S e t .   F o r   t h e   o t h e r   c o n t r o l   p l a n e   n o d e s   S a m e   a s   t h e   f i r s t   c o n t r o l   p l a n e   n o d e   b u t   u s e :   s u d o   k u b e a d m   u p g r a d e   n o d e   i n s t e a d   o f :   s u d o   k u b e a d m   u p g r a d e   a p p l y   A l s o   c a l l i n g   k u b e a d m   u p g r a d e   p l a n   a n d   u p g r a d i n g   t h e   C N I   p r o v i d e r   p l u g i n   i s   n o   l o n g e r   n e e d e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00028_section_4_421"
  },
  {
    "question": "What is Drain the node?",
    "answer": "P r e p a r e   t h e   n o d e   f o r   m a i n t e n a n c e   b y   m a r k i n g   i t   u n s c h e d u l a b l e   a n d   e v i c t i n g   t h e   w o r k l o a d s :   #   r e p l a c e   < n o d e - t o - d r a i n >   w i t h   t h e   n a m e   o f   y o u r   n o d e   y o u   a r e   d r a i n i n g   k u b e c t l   d r a i n   < n o d e - t o - d r a i n >   - - i g n o r e - d a e m o n s e t s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00028_section_3_422"
  },
  {
    "question": "What is Upgrade kubelet and kubectl?",
    "answer": "U p g r a d e   t h e   k u b e l e t   a n d   k u b e c t l : #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   a p t - m a r k   u n h o l d   k u b e l e t   k u b e c t l   & &   \\   s u d o   a p t - g e t   u p d a t e   & &   s u d o   a p t - g e t   i n s t a l l   - y   k u b e l e t = ' 1 . 3 4 . x - * '   k u b e c t l = ' 1 . 3 4 . x - * '   & &   \\   s u d o   a p t - m a r k   h o l d   k u b e l e t   k u b e c t l   F o r   s y s t e m s   w i t h   D N F : #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   y u m   i n s t a l l   - y   k u b e l e t - ' 1 . 3 4 . x - * '   k u b e c t l - ' 1 . 3 4 . x - * '   - - d i s a b l e e x c l u d e s = k u b e r n e t e s   F o r   s y s t e m s   w i t h   D N F 5 : #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   y u m   i n s t a l l   - y   k u b e l e t - ' 1 . 3 4 . x - * '   k u b e c t l - ' 1 . 3 4 . x - * '   - - s e t o p t = d i s a b l e _ e x c l u d e s = k u b e r n e t e s   R e s t a r t   t h e   k u b e l e t : s u d o   s y s t e m c t l   d a e m o n - r e l o a d   s u d o   s y s t e m c t l   r e s t a r t   k u b e l e t   U p g r a d e   t h e   k u b e l e t   a n d   k u b e c t l :   #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   a p t - m a r k   u n h o l d   k u b e l e t   k u b e c t l   & &   \\   s u d o   a p t - g e t   u p d a t e   & &   s u d o   a p t - g e t   i n s t a l l   - y   k u b e l e t = ' 1 . 3 4 . x - * '   k u b e c t l = ' 1 . 3 4 . x - * '   & &   \\   s u d o   a p t - m a r k   h o l d   k u b e l e t   k u b e c t l   #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   a p t - m a r k   u n h o l d   k u b e l ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00028_section_3_423"
  },
  {
    "question": "What is Uncordon the node?",
    "answer": "B r i n g   t h e   n o d e   b a c k   o n l i n e   b y   m a r k i n g   i t   s c h e d u l a b l e :   #   r e p l a c e   < n o d e - t o - u n c o r d o n >   w i t h   t h e   n a m e   o f   y o u r   n o d e   k u b e c t l   u n c o r d o n   < n o d e - t o - u n c o r d o n >",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00028_section_3_424"
  },
  {
    "question": "What is Upgrade worker nodes?",
    "answer": "T h e   u p g r a d e   p r o c e d u r e   o n   w o r k e r   n o d e s   s h o u l d   b e   e x e c u t e d   o n e   n o d e   a t   a   t i m e   o r   f e w   n o d e s   a t   a   t i m e ,   w i t h o u t   c o m p r o m i s i n g   t h e   m i n i m u m   r e q u i r e d   c a p a c i t y   f o r   r u n n i n g   y o u r   w o r k l o a d s .   T h e   f o l l o w i n g   p a g e s   s h o w   h o w   t o   u p g r a d e   L i n u x   a n d   W i n d o w s   w o r k e r   n o d e s :   U p g r a d e   L i n u x   n o d e s U p g r a d e   W i n d o w s   n o d e s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00028_section_2_425"
  },
  {
    "question": "What is Verify the status of the cluster?",
    "answer": "A f t e r   t h e   k u b e l e t   i s   u p g r a d e d   o n   a l l   n o d e s   v e r i f y   t h a t   a l l   n o d e s   a r e   a v a i l a b l e   a g a i n   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d   f r o m   a n y w h e r e   k u b e c t l   c a n   a c c e s s   t h e   c l u s t e r :   k u b e c t l   g e t   n o d e s   T h e   S T A T U S   c o l u m n   s h o u l d   s h o w   R e a d y   f o r   a l l   y o u r   n o d e s ,   a n d   t h e   v e r s i o n   n u m b e r   s h o u l d   b e   u p d a t e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00028_section_2_426"
  },
  {
    "question": "What is Recovering from a failure state?",
    "answer": "I f   k u b e a d m   u p g r a d e   f a i l s   a n d   d o e s   n o t   r o l l   b a c k ,   f o r   e x a m p l e   b e c a u s e   o f   a n   u n e x p e c t e d   s h u t d o w n   d u r i n g   e x e c u t i o n ,   y o u   c a n   r u n   k u b e a d m   u p g r a d e   a g a i n .   T h i s   c o m m a n d   i s   i d e m p o t e n t   a n d   e v e n t u a l l y   m a k e s   s u r e   t h a t   t h e   a c t u a l   s t a t e   i s   t h e   d e s i r e d   s t a t e   y o u   d e c l a r e .   T o   r e c o v e r   f r o m   a   b a d   s t a t e ,   y o u   c a n   a l s o   r u n   s u d o   k u b e a d m   u p g r a d e   a p p l y   - - f o r c e   w i t h o u t   c h a n g i n g   t h e   v e r s i o n   t h a t   y o u r   c l u s t e r   i s   r u n n i n g .   D u r i n g   u p g r a d e   k u b e a d m   w r i t e s   t h e   f o l l o w i n g   b a c k u p   f o l d e r s   u n d e r   / e t c / k u b e r n e t e s / t m p :   k u b e a d m - b a c k u p - e t c d - < d a t e > - < t i m e > k u b e a d m - b a c k u p - m a n i f e s t s - < d a t e > - < t i m e >   k u b e a d m - b a c k u p - e t c d   c o n t a i n s   a   b a c k u p   o f   t h e   l o c a l   e t c d   m e m b e r   d a t a   f o r   t h i s   c o n t r o l   p l a n e   N o d e .   I n   c a s e   o f   a n   e t c d   u p g r a d e   f a i l u r e   a n d   i f   t h e   a u t o m a t i c   r o l l b a c k   d o e s   n o t   w o r k ,   t h e   c o n t e n t s   o f   t h i s   f o l d e r   c a n   b e   m a n u a l l y   r e s t o r e d   i n   / v a r / l i b / e t c d .   I n   c a s e   e x t e r n a l   e t c d   i s   u s e d   t h i s   b a c k u p   f o l d e r   w i l l   b e   e m p t y .   k u b e a d m - b a c k u p - m a n i f e s t s   c o n t a i n s   a   b a c k u p   o f   t h e   s t a t i c   P o d   m a n i f e s t   f i l e s   f o r   t h i s   c o n t r o l   p l a n e   N o d e .   I n   c a s e   o f   a   u p g r a d e   f a i l u r e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00028_section_2_427"
  },
  {
    "question": "What is How it works?",
    "answer": "k u b e a d m   u p g r a d e   a p p l y   d o e s   t h e   f o l l o w i n g :   C h e c k s   t h a t   y o u r   c l u s t e r   i s   i n   a n   u p g r a d e a b l e   s t a t e : T h e   A P I   s e r v e r   i s   r e a c h a b l e A l l   n o d e s   a r e   i n   t h e   R e a d y   s t a t e T h e   c o n t r o l   p l a n e   i s   h e a l t h y E n f o r c e s   t h e   v e r s i o n   s k e w   p o l i c i e s . M a k e s   s u r e   t h e   c o n t r o l   p l a n e   i m a g e s   a r e   a v a i l a b l e   o r   a v a i l a b l e   t o   p u l l   t o   t h e   m a c h i n e . G e n e r a t e s   r e p l a c e m e n t s   a n d / o r   u s e s   u s e r   s u p p l i e d   o v e r w r i t e s   i f   c o m p o n e n t   c o n f i g s   r e q u i r e   v e r s i o n   u p g r a d e s . U p g r a d e s   t h e   c o n t r o l   p l a n e   c o m p o n e n t s   o r   r o l l b a c k s   i f   a n y   o f   t h e m   f a i l s   t o   c o m e   u p . A p p l i e s   t h e   n e w   C o r e D N S   a n d   k u b e - p r o x y   m a n i f e s t s   a n d   m a k e s   s u r e   t h a t   a l l   n e c e s s a r y   R B A C   r u l e s   a r e   c r e a t e d . C r e a t e s   n e w   c e r t i f i c a t e   a n d   k e y   f i l e s   o f   t h e   A P I   s e r v e r   a n d   b a c k s   u p   o l d   f i l e s   i f   t h e y ' r e   a b o u t   t o   e x p i r e   i n   1 8 0   d a y s .   T h e   A P I   s e r v e r   i s   r e a c h a b l e A l l   n o d e s   a r e   i n   t h e   R e a d y   s t a t e T h e   c o n t r o l   p l a n e   i s   h e a l t h y   k u b e a d m   u p g r a d e   n o d e   d o e s   t h e   f o l l o w i n g   o n   a d d i t i o n a l   c o n t r o l   p l a n e   n o d e s :   F e t c h e s   t h e   k u b e a d m   C l u s t e r C o n f i g u r a t i o n   f r o m   t h e   c l u s t e r . O p t i o n a l l y   b a c k u p s   t h e   k u b e - a p i s e r v e r   c e r t i f i c a t e . U p g r a d e s   t h e   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/",
    "id": "k8s_00028_section_2_428"
  },
  {
    "question": "What is Storage Classes?",
    "answer": "Storage ClassesThis document describes the concept of a StorageClass in Kubernetes. Familiarity with volumes and persistent volumes is suggested.A StorageClass provides a way for administrators to describe the classes of storage they offer. Different classes might map to quality-of-service levels, or to backup policies, or to arbitrary policies determined by the cluster administrators. Kubernetes itself is unopinionated about what classes represent.The Kubernetes concept of a storage class is similar to “profiles” in some other storage system designs.StorageClass objectsEach StorageClass contains the fields provisioner, parameters, and reclaimPolicy, which are used when a PersistentVolume belonging to the class needs to be dynamically provisioned to satisfy a PersistentVolumeClaim (PVC).The name of a StorageClass object is significant, and is how users can request a particular class. Administrators set the name and other parameters of a class when first creating StorageClass objects.As an administrator, you can specify a default StorageClass that applies to any PVCs that don't request a specific class. For more details, see the PersistentVolumeClaim concept.Here's an example of a StorageClass:storage/storageclass-low-latency.yaml apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: low-latency annotations: storageclass.kubernetes.io/is-default-class: \"false\" provisioner: csi-driver.example-vendor.example reclaimPolicy: Retain # default value is Delete allowVolumeExpansion: true mountOptions: - discard # this might enable UNMAP / TRIM at the block storage layer volumeBindingMode: WaitForFirstConsumer parameters: guaranteedReadWriteLatency: \"true\" # provider-specific Default StorageClassYou can mark a StorageClass as the default for your cluster. For instructions on setting the default StorageClass, see Change the default StorageClass.When a PVC does not specify a storageClassName, the default StorageClass is used.If you set the storageclass.kubernetes.io/is-default-class annotation to true on more than one StorageClass in your cluster, and you then create a PersistentVolumeClaim with no storageClassName set, Kubernetes uses the most recently created default StorageClass.Note:You should try to only have one StorageClass in your cluster that is marked as the default. The reason that Kubernetes allows you to have multiple default StorageClasses is to allow for seamless migration.You can create a PersistentVolumeClaim without specifying a storageClassName for the new PVC, and you can do so even when no default StorageClass exists in your cluster. In this case, the new PVC creates as you defined it, and the storageClassName of that PVC remains unset until a default becomes available.You can have a cluster without any default StorageClass. If you don't mark any StorageClass as default (and one hasn't been set for you by, for example, a cloud provider), then Kubernetes cannot apply that defaulting for PersistentVolumeClaims that need it.If or",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_qa_429"
  },
  {
    "question": "How does Storage Classes work?",
    "answer": "Storage ClassesThis document describes the concept of a StorageClass in Kubernetes. Familiarity with volumes and persistent volumes is suggested.A StorageClass provides a way for administrators to describe the classes of storage they offer. Different classes might map to quality-of-service levels, or to backup policies, or to arbitrary policies determined by the cluster administrators. Kubernetes itself is unopinionated about what classes represent.The Kubernetes concept of a storage class is similar to “profiles” in some other storage system designs.StorageClass objectsEach StorageClass contains the fields provisioner, parameters, and reclaimPolicy, which are used when a PersistentVolume belonging to the class needs to be dynamically provisioned to satisfy a PersistentVolumeClaim (PVC).The name of a StorageClass object is significant, and is how users can request a particular class. Administrators set the name and other parameters of a class when first creating StorageClass objects.As an administrator, you can specify a default StorageClass that applies to any PVCs that don't request a specific class. For more details, see the PersistentVolumeClaim concept.Here's an example of a StorageClass:storage/storageclass-low-latency.yaml apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: low-latency annotations: storageclass.kubernetes.io/is-default-class: \"false\" provisioner: csi-driver.example-vendor.example reclaimPolicy: Retain # default value is Delete allowVolumeExpansion: true mountOptions: - discard # this might enable UNMAP / TRIM at the block storage layer volumeBindingMode: WaitForFirstConsumer parameters: guaranteedReadWriteLatency: \"true\" # provider-specific Default StorageClassYou can mark a StorageClass as the default for your cluster. For instructions on setting the default StorageClass, see Change the default StorageClass.When a PVC does not specify a storageClassName, the default StorageClass is used.If you set the storageclass.kubernetes.io/is-default-class annotation to true on more than one StorageClass in your cluster, and you then create a PersistentVolumeClaim with no storageClassName set, Kubernetes uses the most recently created default StorageClass.Note:You should try to only have one StorageClass in your cluster that is marked as the default. The reason that Kubernetes allows you to have multiple default StorageClasses is to allow for seamless migration.You can create a PersistentVolumeClaim without specifying a storageClassName for the new PVC, and you can do so even when no default StorageClass exists in your cluster. In this case, the new PVC creates as you defined it, and the storageClassName of that PVC remains unset until a default becomes available.You can have a cluster without any default StorageClass. If you don't mark any StorageClass as default (and one hasn't been set for you by, for example, a cloud provider), then Kubernetes cannot apply that defaulting for PersistentVolumeClaims that need it.If or",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_qa_430"
  },
  {
    "question": "When would you use Storage Classes?",
    "answer": "Storage ClassesThis document describes the concept of a StorageClass in Kubernetes. Familiarity with volumes and persistent volumes is suggested.A StorageClass provides a way for administrators to describe the classes of storage they offer. Different classes might map to quality-of-service levels, or to backup policies, or to arbitrary policies determined by the cluster administrators. Kubernetes itself is unopinionated about what classes represent.The Kubernetes concept of a storage class is similar to “profiles” in some other storage system designs.StorageClass objectsEach StorageClass contains the fields provisioner, parameters, and reclaimPolicy, which are used when a PersistentVolume belonging to the class needs to be dynamically provisioned to satisfy a PersistentVolumeClaim (PVC).The name of a StorageClass object is significant, and is how users can request a particular class. Administrators set the name and other parameters of a class when first creating StorageClass objects.As an administrator, you can specify a default StorageClass that applies to any PVCs that don't request a specific class. For more details, see the PersistentVolumeClaim concept.Here's an example of a StorageClass:storage/storageclass-low-latency.yaml apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: low-latency annotations: storageclass.kubernetes.io/is-default-class: \"false\" provisioner: csi-driver.example-vendor.example reclaimPolicy: Retain # default value is Delete allowVolumeExpansion: true mountOptions: - discard # this might enable UNMAP / TRIM at the block storage layer volumeBindingMode: WaitForFirstConsumer parameters: guaranteedReadWriteLatency: \"true\" # provider-specific Default StorageClassYou can mark a StorageClass as the default for your cluster. For instructions on setting the default StorageClass, see Change the default StorageClass.When a PVC does not specify a storageClassName, the default StorageClass is used.If you set the storageclass.kubernetes.io/is-default-class annotation to true on more than one StorageClass in your cluster, and you then create a PersistentVolumeClaim with no storageClassName set, Kubernetes uses the most recently created default StorageClass.Note:You should try to only have one StorageClass in your cluster that is marked as the default. The reason that Kubernetes allows you to have multiple default StorageClasses is to allow for seamless migration.You can create a PersistentVolumeClaim without specifying a storageClassName for the new PVC, and you can do so even when no default StorageClass exists in your cluster. In this case, the new PVC creates as you defined it, and the storageClassName of that PVC remains unset until a default becomes available.You can have a cluster without any default StorageClass. If you don't mark any StorageClass as default (and one hasn't been set for you by, for example, a cloud provider), then Kubernetes cannot apply that defaulting for PersistentVolumeClaims that need it.If or",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_qa_431"
  },
  {
    "question": "What are the benefits of Storage Classes?",
    "answer": "Storage ClassesThis document describes the concept of a StorageClass in Kubernetes. Familiarity with volumes and persistent volumes is suggested.A StorageClass provides a way for administrators to describe the classes of storage they offer. Different classes might map to quality-of-service levels, or to backup policies, or to arbitrary policies determined by the cluster administrators. Kubernetes itself is unopinionated about what classes represent.The Kubernetes concept of a storage class is similar to “profiles” in some other storage system designs.StorageClass objectsEach StorageClass contains the fields provisioner, parameters, and reclaimPolicy, which are used when a PersistentVolume belonging to the class needs to be dynamically provisioned to satisfy a PersistentVolumeClaim (PVC).The name of a StorageClass object is significant, and is how users can request a particular class. Administrators set the name and other parameters of a class when first creating StorageClass objects.As an administrator, you can specify a default StorageClass that applies to any PVCs that don't request a specific class. For more details, see the PersistentVolumeClaim concept.Here's an example of a StorageClass:storage/storageclass-low-latency.yaml apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: low-latency annotations: storageclass.kubernetes.io/is-default-class: \"false\" provisioner: csi-driver.example-vendor.example reclaimPolicy: Retain # default value is Delete allowVolumeExpansion: true mountOptions: - discard # this might enable UNMAP / TRIM at the block storage layer volumeBindingMode: WaitForFirstConsumer parameters: guaranteedReadWriteLatency: \"true\" # provider-specific Default StorageClassYou can mark a StorageClass as the default for your cluster. For instructions on setting the default StorageClass, see Change the default StorageClass.When a PVC does not specify a storageClassName, the default StorageClass is used.If you set the storageclass.kubernetes.io/is-default-class annotation to true on more than one StorageClass in your cluster, and you then create a PersistentVolumeClaim with no storageClassName set, Kubernetes uses the most recently created default StorageClass.Note:You should try to only have one StorageClass in your cluster that is marked as the default. The reason that Kubernetes allows you to have multiple default StorageClasses is to allow for seamless migration.You can create a PersistentVolumeClaim without specifying a storageClassName for the new PVC, and you can do so even when no default StorageClass exists in your cluster. In this case, the new PVC creates as you defined it, and the storageClassName of that PVC remains unset until a default becomes available.You can have a cluster without any default StorageClass. If you don't mark any StorageClass as default (and one hasn't been set for you by, for example, a cloud provider), then Kubernetes cannot apply that defaulting for PersistentVolumeClaims that need it.If or",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_qa_432"
  },
  {
    "question": "What is Storage Classes?",
    "answer": "T h i s   d o c u m e n t   d e s c r i b e s   t h e   c o n c e p t   o f   a   S t o r a g e C l a s s   i n   K u b e r n e t e s .   F a m i l i a r i t y   w i t h   v o l u m e s   a n d   p e r s i s t e n t   v o l u m e s   i s   s u g g e s t e d .   A   S t o r a g e C l a s s   p r o v i d e s   a   w a y   f o r   a d m i n i s t r a t o r s   t o   d e s c r i b e   t h e   c l a s s e s   o f   s t o r a g e   t h e y   o f f e r .   D i f f e r e n t   c l a s s e s   m i g h t   m a p   t o   q u a l i t y - o f - s e r v i c e   l e v e l s ,   o r   t o   b a c k u p   p o l i c i e s ,   o r   t o   a r b i t r a r y   p o l i c i e s   d e t e r m i n e d   b y   t h e   c l u s t e r   a d m i n i s t r a t o r s .   K u b e r n e t e s   i t s e l f   i s   u n o p i n i o n a t e d   a b o u t   w h a t   c l a s s e s   r e p r e s e n t .   T h e   K u b e r n e t e s   c o n c e p t   o f   a   s t o r a g e   c l a s s   i s   s i m i l a r   t o   “ p r o f i l e s ”   i n   s o m e   o t h e r   s t o r a g e   s y s t e m   d e s i g n s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_section_1_433"
  },
  {
    "question": "What is StorageClass objects?",
    "answer": "E a c h   S t o r a g e C l a s s   c o n t a i n s   t h e   f i e l d s   p r o v i s i o n e r ,   p a r a m e t e r s ,   a n d   r e c l a i m P o l i c y ,   w h i c h   a r e   u s e d   w h e n   a   P e r s i s t e n t V o l u m e   b e l o n g i n g   t o   t h e   c l a s s   n e e d s   t o   b e   d y n a m i c a l l y   p r o v i s i o n e d   t o   s a t i s f y   a   P e r s i s t e n t V o l u m e C l a i m   ( P V C ) .   T h e   n a m e   o f   a   S t o r a g e C l a s s   o b j e c t   i s   s i g n i f i c a n t ,   a n d   i s   h o w   u s e r s   c a n   r e q u e s t   a   p a r t i c u l a r   c l a s s .   A d m i n i s t r a t o r s   s e t   t h e   n a m e   a n d   o t h e r   p a r a m e t e r s   o f   a   c l a s s   w h e n   f i r s t   c r e a t i n g   S t o r a g e C l a s s   o b j e c t s .   A s   a n   a d m i n i s t r a t o r ,   y o u   c a n   s p e c i f y   a   d e f a u l t   S t o r a g e C l a s s   t h a t   a p p l i e s   t o   a n y   P V C s   t h a t   d o n ' t   r e q u e s t   a   s p e c i f i c   c l a s s .   F o r   m o r e   d e t a i l s ,   s e e   t h e   P e r s i s t e n t V o l u m e C l a i m   c o n c e p t .   H e r e ' s   a n   e x a m p l e   o f   a   S t o r a g e C l a s s :   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   l o w - l a t e n c y   a n n o t a t i o n s :   s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s :   \" f a l s e \"   p r o v i s i o n e r :   c s i - d r i v e r . e x a m p l e - v e n d o r . e x a m p l e   r e c l a i m P o l i c y :   R e t a i n   #   d e f a u l t   v a l u e   i s   D e l e t e   a l l o w V o l u m e E x p a n s i o n :   t r u e   m o u n t O p t i o n s :   -   d i s c a r d   #   t h i s   m i g h t   e n a b l e   U N M A P   /   T R I M   a t   t h e   b l o c k   s t o r a g e   l a y e r   v o l u m e B i n d i n ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_section_2_434"
  },
  {
    "question": "What is Default StorageClass?",
    "answer": "Y o u   c a n   m a r k   a   S t o r a g e C l a s s   a s   t h e   d e f a u l t   f o r   y o u r   c l u s t e r .   F o r   i n s t r u c t i o n s   o n   s e t t i n g   t h e   d e f a u l t   S t o r a g e C l a s s ,   s e e   C h a n g e   t h e   d e f a u l t   S t o r a g e C l a s s .   W h e n   a   P V C   d o e s   n o t   s p e c i f y   a   s t o r a g e C l a s s N a m e ,   t h e   d e f a u l t   S t o r a g e C l a s s   i s   u s e d .   I f   y o u   s e t   t h e   s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s   a n n o t a t i o n   t o   t r u e   o n   m o r e   t h a n   o n e   S t o r a g e C l a s s   i n   y o u r   c l u s t e r ,   a n d   y o u   t h e n   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   w i t h   n o   s t o r a g e C l a s s N a m e   s e t ,   K u b e r n e t e s   u s e s   t h e   m o s t   r e c e n t l y   c r e a t e d   d e f a u l t   S t o r a g e C l a s s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_section_2_435"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   w i t h o u t   s p e c i f y i n g   a   s t o r a g e C l a s s N a m e   f o r   t h e   n e w   P V C ,   a n d   y o u   c a n   d o   s o   e v e n   w h e n   n o   d e f a u l t   S t o r a g e C l a s s   e x i s t s   i n   y o u r   c l u s t e r .   I n   t h i s   c a s e ,   t h e   n e w   P V C   c r e a t e s   a s   y o u   d e f i n e d   i t ,   a n d   t h e   s t o r a g e C l a s s N a m e   o f   t h a t   P V C   r e m a i n s   u n s e t   u n t i l   a   d e f a u l t   b e c o m e s   a v a i l a b l e .   Y o u   c a n   h a v e   a   c l u s t e r   w i t h o u t   a n y   d e f a u l t   S t o r a g e C l a s s .   I f   y o u   d o n ' t   m a r k   a n y   S t o r a g e C l a s s   a s   d e f a u l t   ( a n d   o n e   h a s n ' t   b e e n   s e t   f o r   y o u   b y ,   f o r   e x a m p l e ,   a   c l o u d   p r o v i d e r ) ,   t h e n   K u b e r n e t e s   c a n n o t   a p p l y   t h a t   d e f a u l t i n g   f o r   P e r s i s t e n t V o l u m e C l a i m s   t h a t   n e e d   i t .   I f   o r   w h e n   a   d e f a u l t   S t o r a g e C l a s s   b e c o m e s   a v a i l a b l e ,   t h e   c o n t r o l   p l a n e   i d e n t i f i e s   a n y   e x i s t i n g   P V C s   w i t h o u t   s t o r a g e C l a s s N a m e .   F o r   t h e   P V C s   t h a t   e i t h e r   h a v e   a n   e m p t y   v a l u e   f o r   s t o r a g e C l a s s N a m e   o r   d o   n o t   h a v e   t h i s   k e y ,   t h e   c o n t r o l   p l a n e   t h e n   u p d a t e s   t h o s e   P V C s   t o   s e t   s t o r a g e C l a s s N a m e   t o   m a t c h   t h e   n e w   d e f a u l t   S t o r a g e C l a s s .   I f   y o u   h a v e   a n   e x i s t i n g   P V C   w h e r e   t h e   s t o r a g e C l a s s N a m e   i s   \" \" ,   a n d   y o u   c o n f i g u r e   a   d e f a u l t   S t o r a g e C l a s s ,   t h e n   t h ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_section_4_436"
  },
  {
    "question": "What is Provisioner?",
    "answer": "E a c h   S t o r a g e C l a s s   h a s   a   p r o v i s i o n e r   t h a t   d e t e r m i n e s   w h a t   v o l u m e   p l u g i n   i s   u s e d   f o r   p r o v i s i o n i n g   P V s .   T h i s   f i e l d   m u s t   b e   s p e c i f i e d .   Y o u   a r e   n o t   r e s t r i c t e d   t o   s p e c i f y i n g   t h e   \" i n t e r n a l \"   p r o v i s i o n e r s   l i s t e d   h e r e   ( w h o s e   n a m e s   a r e   p r e f i x e d   w i t h   \" k u b e r n e t e s . i o \"   a n d   s h i p p e d   a l o n g s i d e   K u b e r n e t e s ) .   Y o u   c a n   a l s o   r u n   a n d   s p e c i f y   e x t e r n a l   p r o v i s i o n e r s ,   w h i c h   a r e   i n d e p e n d e n t   p r o g r a m s   t h a t   f o l l o w   a   s p e c i f i c a t i o n   d e f i n e d   b y   K u b e r n e t e s .   A u t h o r s   o f   e x t e r n a l   p r o v i s i o n e r s   h a v e   f u l l   d i s c r e t i o n   o v e r   w h e r e   t h e i r   c o d e   l i v e s ,   h o w   t h e   p r o v i s i o n e r   i s   s h i p p e d ,   h o w   i t   n e e d s   t o   b e   r u n ,   w h a t   v o l u m e   p l u g i n   i t   u s e s   ( i n c l u d i n g   F l e x ) ,   e t c .   T h e   r e p o s i t o r y   k u b e r n e t e s - s i g s / s i g - s t o r a g e - l i b - e x t e r n a l - p r o v i s i o n e r   h o u s e s   a   l i b r a r y   f o r   w r i t i n g   e x t e r n a l   p r o v i s i o n e r s   t h a t   i m p l e m e n t s   t h e   b u l k   o f   t h e   s p e c i f i c a t i o n .   S o m e   e x t e r n a l   p r o v i s i o n e r s   a r e   l i s t e d   u n d e r   t h e   r e p o s i t o r y   k u b e r n e t e s - s i g s / s i g - s t o r a g e - l i b - e x t e r n a l - p r o v i s i o n e r .   F o r   e x a m p l e ,   N F S   d o e s n ' t   p r o v i d e   a n   i n t e r n a l   p r o v i s i o n e r ,   b u t   a n   e x t e r n a l   p r o v i s i o n e r   c a n   b e   u s e d .   T h e r e   a r e ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_section_2_437"
  },
  {
    "question": "What is Reclaim policy?",
    "answer": "P e r s i s t e n t V o l u m e s   t h a t   a r e   d y n a m i c a l l y   c r e a t e d   b y   a   S t o r a g e C l a s s   w i l l   h a v e   t h e   r e c l a i m   p o l i c y   s p e c i f i e d   i n   t h e   r e c l a i m P o l i c y   f i e l d   o f   t h e   c l a s s ,   w h i c h   c a n   b e   e i t h e r   D e l e t e   o r   R e t a i n .   I f   n o   r e c l a i m P o l i c y   i s   s p e c i f i e d   w h e n   a   S t o r a g e C l a s s   o b j e c t   i s   c r e a t e d ,   i t   w i l l   d e f a u l t   t o   D e l e t e .   P e r s i s t e n t V o l u m e s   t h a t   a r e   c r e a t e d   m a n u a l l y   a n d   m a n a g e d   v i a   a   S t o r a g e C l a s s   w i l l   h a v e   w h a t e v e r   r e c l a i m   p o l i c y   t h e y   w e r e   a s s i g n e d   a t   c r e a t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_section_2_438"
  },
  {
    "question": "What is Volume expansion?",
    "answer": "P e r s i s t e n t V o l u m e s   c a n   b e   c o n f i g u r e d   t o   b e   e x p a n d a b l e .   T h i s   a l l o w s   y o u   t o   r e s i z e   t h e   v o l u m e   b y   e d i t i n g   t h e   c o r r e s p o n d i n g   P V C   o b j e c t ,   r e q u e s t i n g   a   n e w   l a r g e r   a m o u n t   o f   s t o r a g e .   T h e   f o l l o w i n g   t y p e s   o f   v o l u m e s   s u p p o r t   v o l u m e   e x p a n s i o n ,   w h e n   t h e   u n d e r l y i n g   S t o r a g e C l a s s   h a s   t h e   f i e l d   a l l o w V o l u m e E x p a n s i o n   s e t   t o   t r u e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_section_2_439"
  },
  {
    "question": "What is Mount options?",
    "answer": "P e r s i s t e n t V o l u m e s   t h a t   a r e   d y n a m i c a l l y   c r e a t e d   b y   a   S t o r a g e C l a s s   w i l l   h a v e   t h e   m o u n t   o p t i o n s   s p e c i f i e d   i n   t h e   m o u n t O p t i o n s   f i e l d   o f   t h e   c l a s s .   I f   t h e   v o l u m e   p l u g i n   d o e s   n o t   s u p p o r t   m o u n t   o p t i o n s   b u t   m o u n t   o p t i o n s   a r e   s p e c i f i e d ,   p r o v i s i o n i n g   w i l l   f a i l .   M o u n t   o p t i o n s   a r e   n o t   v a l i d a t e d   o n   e i t h e r   t h e   c l a s s   o r   P V .   I f   a   m o u n t   o p t i o n   i s   i n v a l i d ,   t h e   P V   m o u n t   f a i l s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_section_2_440"
  },
  {
    "question": "What is Volume binding mode?",
    "answer": "T h e   v o l u m e B i n d i n g M o d e   f i e l d   c o n t r o l s   w h e n   v o l u m e   b i n d i n g   a n d   d y n a m i c   p r o v i s i o n i n g   s h o u l d   o c c u r .   W h e n   u n s e t ,   I m m e d i a t e   m o d e   i s   u s e d   b y   d e f a u l t .   T h e   I m m e d i a t e   m o d e   i n d i c a t e s   t h a t   v o l u m e   b i n d i n g   a n d   d y n a m i c   p r o v i s i o n i n g   o c c u r s   o n c e   t h e   P e r s i s t e n t V o l u m e C l a i m   i s   c r e a t e d .   F o r   s t o r a g e   b a c k e n d s   t h a t   a r e   t o p o l o g y - c o n s t r a i n e d   a n d   n o t   g l o b a l l y   a c c e s s i b l e   f r o m   a l l   N o d e s   i n   t h e   c l u s t e r ,   P e r s i s t e n t V o l u m e s   w i l l   b e   b o u n d   o r   p r o v i s i o n e d   w i t h o u t   k n o w l e d g e   o f   t h e   P o d ' s   s c h e d u l i n g   r e q u i r e m e n t s .   T h i s   m a y   r e s u l t   i n   u n s c h e d u l a b l e   P o d s .   A   c l u s t e r   a d m i n i s t r a t o r   c a n   a d d r e s s   t h i s   i s s u e   b y   s p e c i f y i n g   t h e   W a i t F o r F i r s t C o n s u m e r   m o d e   w h i c h   w i l l   d e l a y   t h e   b i n d i n g   a n d   p r o v i s i o n i n g   o f   a   P e r s i s t e n t V o l u m e   u n t i l   a   P o d   u s i n g   t h e   P e r s i s t e n t V o l u m e C l a i m   i s   c r e a t e d .   P e r s i s t e n t V o l u m e s   w i l l   b e   s e l e c t e d   o r   p r o v i s i o n e d   c o n f o r m i n g   t o   t h e   t o p o l o g y   t h a t   i s   s p e c i f i e d   b y   t h e   P o d ' s   s c h e d u l i n g   c o n s t r a i n t s .   T h e s e   i n c l u d e ,   b u t   a r e   n o t   l i m i t e d   t o ,   r e s o u r c e   r e q u i r e m e n t s ,   n o d e   s e l e c t o r s ,   p o d   a f f i n i t y   a n d   a n t i - a f f i n i t y ,   a n d   t a i n t s   a n d   t o l e r a t i o ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_section_2_441"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   c h o o s e   t o   u s e   W a i t F o r F i r s t C o n s u m e r ,   d o   n o t   u s e   n o d e N a m e   i n   t h e   P o d   s p e c   t o   s p e c i f y   n o d e   a f f i n i t y .   I f   n o d e N a m e   i s   u s e d   i n   t h i s   c a s e ,   t h e   s c h e d u l e r   w i l l   b e   b y p a s s e d   a n d   P V C   w i l l   r e m a i n   i n   p e n d i n g   s t a t e .   I n s t e a d ,   y o u   c a n   u s e   n o d e   s e l e c t o r   f o r   k u b e r n e t e s . i o / h o s t n a m e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t a s k - p v - p o d   s p e c :   n o d e S e l e c t o r :   k u b e r n e t e s . i o / h o s t n a m e :   k u b e - 0 1   v o l u m e s :   -   n a m e :   t a s k - p v - s t o r a g e   p e r s i s t e n t V o l u m e C l a i m :   c l a i m N a m e :   t a s k - p v - c l a i m   c o n t a i n e r s :   -   n a m e :   t a s k - p v - c o n t a i n e r   i m a g e :   n g i n x   p o r t s :   -   c o n t a i n e r P o r t :   8 0   n a m e :   \" h t t p - s e r v e r \"   v o l u m e M o u n t s :   -   m o u n t P a t h :   \" / u s r / s h a r e / n g i n x / h t m l \"   n a m e :   t a s k - p v - s t o r a g e",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_section_4_442"
  },
  {
    "question": "What is Allowed topologies?",
    "answer": "W h e n   a   c l u s t e r   o p e r a t o r   s p e c i f i e s   t h e   W a i t F o r F i r s t C o n s u m e r   v o l u m e   b i n d i n g   m o d e ,   i t   i s   n o   l o n g e r   n e c e s s a r y   t o   r e s t r i c t   p r o v i s i o n i n g   t o   s p e c i f i c   t o p o l o g i e s   i n   m o s t   s i t u a t i o n s .   H o w e v e r ,   i f   s t i l l   r e q u i r e d ,   a l l o w e d T o p o l o g i e s   c a n   b e   s p e c i f i e d .   T h i s   e x a m p l e   d e m o n s t r a t e s   h o w   t o   r e s t r i c t   t h e   t o p o l o g y   o f   p r o v i s i o n e d   v o l u m e s   t o   s p e c i f i c   z o n e s   a n d   s h o u l d   b e   u s e d   a s   a   r e p l a c e m e n t   f o r   t h e   z o n e   a n d   z o n e s   p a r a m e t e r s   f o r   t h e   s u p p o r t e d   p l u g i n s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   s t a n d a r d   p r o v i s i o n e r :   e x a m p l e . c o m / e x a m p l e   p a r a m e t e r s :   t y p e :   p d - s t a n d a r d   v o l u m e B i n d i n g M o d e :   W a i t F o r F i r s t C o n s u m e r   a l l o w e d T o p o l o g i e s :   -   m a t c h L a b e l E x p r e s s i o n s :   -   k e y :   t o p o l o g y . k u b e r n e t e s . i o / z o n e   v a l u e s :   -   u s - c e n t r a l - 1 a   -   u s - c e n t r a l - 1 b",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_section_2_443"
  },
  {
    "question": "What is Parameters?",
    "answer": "S t o r a g e C l a s s e s   h a v e   p a r a m e t e r s   t h a t   d e s c r i b e   v o l u m e s   b e l o n g i n g   t o   t h e   s t o r a g e   c l a s s .   D i f f e r e n t   p a r a m e t e r s   m a y   b e   a c c e p t e d   d e p e n d i n g   o n   t h e   p r o v i s i o n e r .   W h e n   a   p a r a m e t e r   i s   o m i t t e d ,   s o m e   d e f a u l t   i s   u s e d .   T h e r e   c a n   b e   a t   m o s t   5 1 2   p a r a m e t e r s   d e f i n e d   f o r   a   S t o r a g e C l a s s .   T h e   t o t a l   l e n g t h   o f   t h e   p a r a m e t e r s   o b j e c t   i n c l u d i n g   i t s   k e y s   a n d   v a l u e s   c a n n o t   e x c e e d   2 5 6   K i B .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_section_2_444"
  },
  {
    "question": "What is AWS EBS?",
    "answer": "K u b e r n e t e s   1 . 3 4   d o e s   n o t   i n c l u d e   a   a w s E l a s t i c B l o c k S t o r e   v o l u m e   t y p e .   T h e   A W S E l a s t i c B l o c k S t o r e   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 1 9   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 2 7   r e l e a s e .   T h e   K u b e r n e t e s   p r o j e c t   s u g g e s t s   t h a t   y o u   u s e   t h e   A W S   E B S   o u t - o f - t r e e   s t o r a g e   d r i v e r   i n s t e a d .   H e r e   i s   a n   e x a m p l e   S t o r a g e C l a s s   f o r   t h e   A W S   E B S   C S I   d r i v e r :   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   e b s - s c   p r o v i s i o n e r :   e b s . c s i . a w s . c o m   v o l u m e B i n d i n g M o d e :   W a i t F o r F i r s t C o n s u m e r   p a r a m e t e r s :   c s i . s t o r a g e . k 8 s . i o / f s t y p e :   x f s   t y p e :   i o 1   i o p s P e r G B :   \" 5 0 \"   e n c r y p t e d :   \" t r u e \"   t a g S p e c i f i c a t i o n _ 1 :   \" k e y 1 = v a l u e 1 \"   t a g S p e c i f i c a t i o n _ 2 :   \" k e y 2 = v a l u e 2 \"   a l l o w e d T o p o l o g i e s :   -   m a t c h L a b e l E x p r e s s i o n s :   -   k e y :   t o p o l o g y . e b s . c s i . a w s . c o m / z o n e   v a l u e s :   -   u s - e a s t - 2 c   t a g S p e c i f i c a t i o n :   T a g s   w i t h   t h i s   p r e f i x   a r e   a p p l i e d   t o   d y n a m i c a l l y   p r o v i s i o n e d   E B S   v o l u m e s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_section_3_445"
  },
  {
    "question": "What is AWS EFS?",
    "answer": "T o   c o n f i g u r e   A W S   E F S   s t o r a g e ,   y o u   c a n   u s e   t h e   o u t - o f - t r e e   A W S _ E F S _ C S I _ D R I V E R .   k i n d :   S t o r a g e C l a s s   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   m e t a d a t a :   n a m e :   e f s - s c   p r o v i s i o n e r :   e f s . c s i . a w s . c o m   p a r a m e t e r s :   p r o v i s i o n i n g M o d e :   e f s - a p   f i l e S y s t e m I d :   f s - 9 2 1 0 7 4 1 0   d i r e c t o r y P e r m s :   \" 7 0 0 \"   p r o v i s i o n i n g M o d e :   T h e   t y p e   o f   v o l u m e   t o   b e   p r o v i s i o n e d   b y   A m a z o n   E F S .   C u r r e n t l y ,   o n l y   a c c e s s   p o i n t   b a s e d   p r o v i s i o n i n g   i s   s u p p o r t e d   ( e f s - a p ) . f i l e S y s t e m I d :   T h e   f i l e   s y s t e m   u n d e r   w h i c h   t h e   a c c e s s   p o i n t   i s   c r e a t e d . d i r e c t o r y P e r m s :   T h e   d i r e c t o r y   p e r m i s s i o n s   o f   t h e   r o o t   d i r e c t o r y   c r e a t e d   b y   t h e   a c c e s s   p o i n t .   F o r   m o r e   d e t a i l s ,   r e f e r   t o   t h e   A W S _ E F S _ C S I _ D r i v e r   D y n a m i c   P r o v i s i o n i n g   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_section_3_446"
  },
  {
    "question": "What is NFS?",
    "answer": "T o   c o n f i g u r e   N F S   s t o r a g e ,   y o u   c a n   u s e   t h e   i n - t r e e   d r i v e r   o r   t h e   N F S   C S I   d r i v e r   f o r   K u b e r n e t e s   ( r e c o m m e n d e d ) .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   e x a m p l e - n f s   p r o v i s i o n e r :   e x a m p l e . c o m / e x t e r n a l - n f s   p a r a m e t e r s :   s e r v e r :   n f s - s e r v e r . e x a m p l e . c o m   p a t h :   / s h a r e   r e a d O n l y :   \" f a l s e \"   s e r v e r :   S e r v e r   i s   t h e   h o s t n a m e   o r   I P   a d d r e s s   o f   t h e   N F S   s e r v e r . p a t h :   P a t h   t h a t   i s   e x p o r t e d   b y   t h e   N F S   s e r v e r . r e a d O n l y :   A   f l a g   i n d i c a t i n g   w h e t h e r   t h e   s t o r a g e   w i l l   b e   m o u n t e d   a s   r e a d   o n l y   ( d e f a u l t   f a l s e ) .   K u b e r n e t e s   d o e s n ' t   i n c l u d e   a n   i n t e r n a l   N F S   p r o v i s i o n e r .   Y o u   n e e d   t o   u s e   a n   e x t e r n a l   p r o v i s i o n e r   t o   c r e a t e   a   S t o r a g e C l a s s   f o r   N F S .   H e r e   a r e   s o m e   e x a m p l e s :   N F S   G a n e s h a   s e r v e r   a n d   e x t e r n a l   p r o v i s i o n e r N F S   s u b d i r   e x t e r n a l   p r o v i s i o n e r",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_section_3_447"
  },
  {
    "question": "What is vSphere?",
    "answer": "T h e r e   a r e   t w o   t y p e s   o f   p r o v i s i o n e r s   f o r   v S p h e r e   s t o r a g e   c l a s s e s :   C S I   p r o v i s i o n e r :   c s i . v s p h e r e . v m w a r e . c o m v C P   p r o v i s i o n e r :   k u b e r n e t e s . i o / v s p h e r e - v o l u m e   I n - t r e e   p r o v i s i o n e r s   a r e   d e p r e c a t e d .   F o r   m o r e   i n f o r m a t i o n   o n   t h e   C S I   p r o v i s i o n e r ,   s e e   K u b e r n e t e s   v S p h e r e   C S I   D r i v e r   a n d   v S p h e r e V o l u m e   C S I   m i g r a t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_section_3_448"
  },
  {
    "question": "What is CSI Provisioner?",
    "answer": "T h e   v S p h e r e   C S I   S t o r a g e C l a s s   p r o v i s i o n e r   w o r k s   w i t h   T a n z u   K u b e r n e t e s   c l u s t e r s .   F o r   a n   e x a m p l e ,   r e f e r   t o   t h e   v S p h e r e   C S I   r e p o s i t o r y .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_section_4_449"
  },
  {
    "question": "What is vCP Provisioner?",
    "answer": "T h e   f o l l o w i n g   e x a m p l e s   u s e   t h e   V M w a r e   C l o u d   P r o v i d e r   ( v C P )   S t o r a g e C l a s s   p r o v i s i o n e r .   C r e a t e   a   S t o r a g e C l a s s   w i t h   a   u s e r   s p e c i f i e d   d i s k   f o r m a t . a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   f a s t   p r o v i s i o n e r :   k u b e r n e t e s . i o / v s p h e r e - v o l u m e   p a r a m e t e r s :   d i s k f o r m a t :   z e r o e d t h i c k   d i s k f o r m a t :   t h i n ,   z e r o e d t h i c k   a n d   e a g e r z e r o e d t h i c k .   D e f a u l t :   \" t h i n \" . C r e a t e   a   S t o r a g e C l a s s   w i t h   a   d i s k   f o r m a t   o n   a   u s e r   s p e c i f i e d   d a t a s t o r e . a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   f a s t   p r o v i s i o n e r :   k u b e r n e t e s . i o / v s p h e r e - v o l u m e   p a r a m e t e r s :   d i s k f o r m a t :   z e r o e d t h i c k   d a t a s t o r e :   V S A N D a t a s t o r e   d a t a s t o r e :   T h e   u s e r   c a n   a l s o   s p e c i f y   t h e   d a t a s t o r e   i n   t h e   S t o r a g e C l a s s .   T h e   v o l u m e   w i l l   b e   c r e a t e d   o n   t h e   d a t a s t o r e   s p e c i f i e d   i n   t h e   S t o r a g e C l a s s ,   w h i c h   i n   t h i s   c a s e   i s   V S A N D a t a s t o r e .   T h i s   f i e l d   i s   o p t i o n a l .   I f   t h e   d a t a s t o r e   i s   n o t   s p e c i f i e d ,   t h e n   t h e   v o l u m e   w i l l   b e   c r e a t e d   o n   t h e   d a t a s t o r e   s p e c i f i e d   i n   t h e   v S p h e r e   c o n f i g   f i l e   u s e d   t o   i n i t i a l i z e   t h e   v S p h e r e   C l o u d   P r o v i d e r . S t o r a g e   P o l i c y   M a n a g e m e n ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_section_4_450"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   i n t e r n a l   p r o v i s i o n e r   o f   C e p h   R B D   i s   d e p r e c a t e d .   P l e a s e   u s e   C e p h F S   R B D   C S I   d r i v e r .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   f a s t   p r o v i s i o n e r :   k u b e r n e t e s . i o / r b d   #   T h i s   p r o v i s i o n e r   i s   d e p r e c a t e d   p a r a m e t e r s :   m o n i t o r s :   1 9 8 . 1 9 . 2 5 4 . 1 0 5 : 6 7 8 9   a d m i n I d :   k u b e   a d m i n S e c r e t N a m e :   c e p h - s e c r e t   a d m i n S e c r e t N a m e s p a c e :   k u b e - s y s t e m   p o o l :   k u b e   u s e r I d :   k u b e   u s e r S e c r e t N a m e :   c e p h - s e c r e t - u s e r   u s e r S e c r e t N a m e s p a c e :   d e f a u l t   f s T y p e :   e x t 4   i m a g e F o r m a t :   \" 2 \"   i m a g e F e a t u r e s :   \" l a y e r i n g \"   m o n i t o r s :   C e p h   m o n i t o r s ,   c o m m a   d e l i m i t e d .   T h i s   p a r a m e t e r   i s   r e q u i r e d . a d m i n I d :   C e p h   c l i e n t   I D   t h a t   i s   c a p a b l e   o f   c r e a t i n g   i m a g e s   i n   t h e   p o o l .   D e f a u l t   i s   \" a d m i n \" . a d m i n S e c r e t N a m e :   S e c r e t   N a m e   f o r   a d m i n I d .   T h i s   p a r a m e t e r   i s   r e q u i r e d .   T h e   p r o v i d e d   s e c r e t   m u s t   h a v e   t y p e   \" k u b e r n e t e s . i o / r b d \" . a d m i n S e c r e t N a m e s p a c e :   T h e   n a m e s p a c e   f o r   a d m i n S e c r e t N a m e .   D e f a u l t   i s   \" d e f a u l t \" . p o o l :   C e p h   R B D   p o o l .   D e f a u l t   i s   \" r b d \" . u s e r I d :   C e p h   c l i e n t   I D   t h a t   i s   u s e d   t o   m a p   t h e   R B D   i m a g e .   D e f a u l t   i s   t h e   s a m e   a s   a d m i n I d . u s e r S e c r e t N a m e :   T h e   n a m e   o f   ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_section_4_451"
  },
  {
    "question": "What is Azure Disk?",
    "answer": "K u b e r n e t e s   1 . 3 4   d o e s   n o t   i n c l u d e   a   a z u r e D i s k   v o l u m e   t y p e .   T h e   a z u r e D i s k   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 1 9   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 2 7   r e l e a s e .   T h e   K u b e r n e t e s   p r o j e c t   s u g g e s t s   t h a t   y o u   u s e   t h e   A z u r e   D i s k   t h i r d   p a r t y   s t o r a g e   d r i v e r   i n s t e a d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_section_3_452"
  },
  {
    "question": "What is Azure File (deprecated)?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   a z u r e f i l e   p r o v i s i o n e r :   k u b e r n e t e s . i o / a z u r e - f i l e   p a r a m e t e r s :   s k u N a m e :   S t a n d a r d _ L R S   l o c a t i o n :   e a s t u s   s t o r a g e A c c o u n t :   a z u r e _ s t o r a g e _ a c c o u n t _ n a m e   #   e x a m p l e   v a l u e   s k u N a m e :   A z u r e   s t o r a g e   a c c o u n t   S K U   t i e r .   D e f a u l t   i s   e m p t y . l o c a t i o n :   A z u r e   s t o r a g e   a c c o u n t   l o c a t i o n .   D e f a u l t   i s   e m p t y . s t o r a g e A c c o u n t :   A z u r e   s t o r a g e   a c c o u n t   n a m e .   D e f a u l t   i s   e m p t y .   I f   a   s t o r a g e   a c c o u n t   i s   n o t   p r o v i d e d ,   a l l   s t o r a g e   a c c o u n t s   a s s o c i a t e d   w i t h   t h e   r e s o u r c e   g r o u p   a r e   s e a r c h e d   t o   f i n d   o n e   t h a t   m a t c h e s   s k u N a m e   a n d   l o c a t i o n .   I f   a   s t o r a g e   a c c o u n t   i s   p r o v i d e d ,   i t   m u s t   r e s i d e   i n   t h e   s a m e   r e s o u r c e   g r o u p   a s   t h e   c l u s t e r ,   a n d   s k u N a m e   a n d   l o c a t i o n   a r e   i g n o r e d . s e c r e t N a m e s p a c e :   t h e   n a m e s p a c e   o f   t h e   s e c r e t   t h a t   c o n t a i n s   t h e   A z u r e   S t o r a g e   A c c o u n t   N a m e   a n d   K e y .   D e f a u l t   i s   t h e   s a m e   a s   t h e   P o d . s e c r e t N a m e :   t h e   n a m e   o f   t h e   s e c r e t   t h a t   c o n t a i n s   t h e   A z u r e   S t o r a g e   A c c o u n t   N a m e   a n d   K e y .   D e f a u l t   i s   a z u r e - s t o r a g e - a c c o u n t - < a c c o u n t N a m e > - s e c r e t r e a d O n l y :   a   f l a g   i n d i c a t i n g   w h e t h e r   t h e   s t o ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_section_3_453"
  },
  {
    "question": "What is Portworx volume (deprecated)?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   p o r t w o r x - i o - p r i o r i t y - h i g h   p r o v i s i o n e r :   k u b e r n e t e s . i o / p o r t w o r x - v o l u m e   #   T h i s   p r o v i s i o n e r   i s   d e p r e c a t e d   p a r a m e t e r s :   r e p l :   \" 1 \"   s n a p _ i n t e r v a l :   \" 7 0 \"   p r i o r i t y _ i o :   \" h i g h \"   f s :   f i l e s y s t e m   t o   b e   l a i d   o u t :   n o n e / x f s / e x t 4   ( d e f a u l t :   e x t 4 ) . b l o c k _ s i z e :   b l o c k   s i z e   i n   K b y t e s   ( d e f a u l t :   3 2 ) . r e p l :   n u m b e r   o f   s y n c h r o n o u s   r e p l i c a s   t o   b e   p r o v i d e d   i n   t h e   f o r m   o f   r e p l i c a t i o n   f a c t o r   1 . . 3   ( d e f a u l t :   1 )   A   s t r i n g   i s   e x p e c t e d   h e r e   i . e .   \" 1 \"   a n d   n o t   1 . p r i o r i t y _ i o :   d e t e r m i n e s   w h e t h e r   t h e   v o l u m e   w i l l   b e   c r e a t e d   f r o m   h i g h e r   p e r f o r m a n c e   o r   a   l o w e r   p r i o r i t y   s t o r a g e   h i g h / m e d i u m / l o w   ( d e f a u l t :   l o w ) . s n a p _ i n t e r v a l :   c l o c k / t i m e   i n t e r v a l   i n   m i n u t e s   f o r   w h e n   t o   t r i g g e r   s n a p s h o t s .   S n a p s h o t s   a r e   i n c r e m e n t a l   b a s e d   o n   d i f f e r e n c e   w i t h   t h e   p r i o r   s n a p s h o t ,   0   d i s a b l e s   s n a p s   ( d e f a u l t :   0 ) .   A   s t r i n g   i s   e x p e c t e d   h e r e   i . e .   \" 7 0 \"   a n d   n o t   7 0 . a g g r e g a t i o n _ l e v e l :   s p e c i f i e s   t h e   n u m b e r   o f   c h u n k s   t h e   v o l u m e   w o u l d   b e   d i s t r i b u t e d   i n t o ,   0   i n d i c a t e s   a   n o n - a g g r e g a t e d   v o l u m e   ( d e f a u l t :   0 ) .   A   s t r i n g ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_section_3_454"
  },
  {
    "question": "What is Local?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   l o c a l - s t o r a g e   p r o v i s i o n e r :   k u b e r n e t e s . i o / n o - p r o v i s i o n e r   #   i n d i c a t e s   t h a t   t h i s   S t o r a g e C l a s s   d o e s   n o t   s u p p o r t   a u t o m a t i c   p r o v i s i o n i n g   v o l u m e B i n d i n g M o d e :   W a i t F o r F i r s t C o n s u m e r   L o c a l   v o l u m e s   d o   n o t   s u p p o r t   d y n a m i c   p r o v i s i o n i n g   i n   K u b e r n e t e s   1 . 3 4 ;   h o w e v e r   a   S t o r a g e C l a s s   s h o u l d   s t i l l   b e   c r e a t e d   t o   d e l a y   v o l u m e   b i n d i n g   u n t i l   a   P o d   i s   a c t u a l l y   s c h e d u l e d   t o   t h e   a p p r o p r i a t e   n o d e .   T h i s   i s   s p e c i f i e d   b y   t h e   W a i t F o r F i r s t C o n s u m e r   v o l u m e   b i n d i n g   m o d e .   D e l a y i n g   v o l u m e   b i n d i n g   a l l o w s   t h e   s c h e d u l e r   t o   c o n s i d e r   a l l   o f   a   P o d ' s   s c h e d u l i n g   c o n s t r a i n t s   w h e n   c h o o s i n g   a n   a p p r o p r i a t e   P e r s i s t e n t V o l u m e   f o r   a   P e r s i s t e n t V o l u m e C l a i m .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes/",
    "id": "k8s_00029_section_3_455"
  },
  {
    "question": "What is kubectl set env?",
    "answer": "kubectl set envSynopsisUpdate environment variables on a pod template.List environment variable definitions in one or more pods, pod templates. Add, update, or remove container environment variable definitions in one or more pod templates (within replication controllers or deployment configurations). View or modify the environment variable definitions on all containers in the specified pods or pod templates, or just those that match a wildcard.If \"--env -\" is passed, environment variables can be read from STDIN using the standard env syntax.Possible resources include (case insensitive): pod (po), replicationcontroller (rc), deployment (deploy), daemonset (ds), statefulset (sts), cronjob (cj), replicaset (rs) kubectl set env RESOURCE/NAME KEY_1=VAL_1 ... KEY_N=VAL_N Examples # Update deployment 'registry' with a new environment variable kubectl set env deployment/registry STORAGE_DIR=/local # List the environment variables defined on a deployments 'sample-build' kubectl set env deployment/sample-build --list # List the environment variables defined on all pods kubectl set env pods --all --list # Output modified deployment in YAML, and does not alter the object on the server kubectl set env deployment/sample-build STORAGE_DIR=/data -o yaml # Update all containers in all replication controllers in the project to have ENV=prod kubectl set env rc --all ENV=prod # Import environment from a secret kubectl set env --from=secret/mysecret deployment/myapp # Import environment from a config map with a prefix kubectl set env --from=configmap/myconfigmap --prefix=MYSQL_ deployment/myapp # Import specific keys from a config map kubectl set env --keys=my-example-key --from=configmap/myconfigmap deployment/myapp # Remove the environment variable ENV from container 'c1' in all deployment configs kubectl set env deployments --all --containers=\"c1\" ENV- # Remove the environment variable ENV from a deployment definition on disk and # update the deployment config on the server kubectl set env -f deploy.json ENV- # Set some of the local shell environment into a deployment config on the server env | grep RAILS_ | kubectl set env -e - deployment/registry Options--allIf true, select all resources in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-c, --containers string Default: \"*\"The names of containers in the selected pod templates to change - may use wildcards--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-e, --env stringsSpecify a key-value pair for an environment variable to set into each container.--field-manager string Default: \"kubectl-set\"Name of the manager used to track field ownershi",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_env/",
    "id": "k8s_00030_qa_456"
  },
  {
    "question": "How does kubectl set env work?",
    "answer": "kubectl set envSynopsisUpdate environment variables on a pod template.List environment variable definitions in one or more pods, pod templates. Add, update, or remove container environment variable definitions in one or more pod templates (within replication controllers or deployment configurations). View or modify the environment variable definitions on all containers in the specified pods or pod templates, or just those that match a wildcard.If \"--env -\" is passed, environment variables can be read from STDIN using the standard env syntax.Possible resources include (case insensitive): pod (po), replicationcontroller (rc), deployment (deploy), daemonset (ds), statefulset (sts), cronjob (cj), replicaset (rs) kubectl set env RESOURCE/NAME KEY_1=VAL_1 ... KEY_N=VAL_N Examples # Update deployment 'registry' with a new environment variable kubectl set env deployment/registry STORAGE_DIR=/local # List the environment variables defined on a deployments 'sample-build' kubectl set env deployment/sample-build --list # List the environment variables defined on all pods kubectl set env pods --all --list # Output modified deployment in YAML, and does not alter the object on the server kubectl set env deployment/sample-build STORAGE_DIR=/data -o yaml # Update all containers in all replication controllers in the project to have ENV=prod kubectl set env rc --all ENV=prod # Import environment from a secret kubectl set env --from=secret/mysecret deployment/myapp # Import environment from a config map with a prefix kubectl set env --from=configmap/myconfigmap --prefix=MYSQL_ deployment/myapp # Import specific keys from a config map kubectl set env --keys=my-example-key --from=configmap/myconfigmap deployment/myapp # Remove the environment variable ENV from container 'c1' in all deployment configs kubectl set env deployments --all --containers=\"c1\" ENV- # Remove the environment variable ENV from a deployment definition on disk and # update the deployment config on the server kubectl set env -f deploy.json ENV- # Set some of the local shell environment into a deployment config on the server env | grep RAILS_ | kubectl set env -e - deployment/registry Options--allIf true, select all resources in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-c, --containers string Default: \"*\"The names of containers in the selected pod templates to change - may use wildcards--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-e, --env stringsSpecify a key-value pair for an environment variable to set into each container.--field-manager string Default: \"kubectl-set\"Name of the manager used to track field ownershi",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_env/",
    "id": "k8s_00030_qa_457"
  },
  {
    "question": "When would you use kubectl set env?",
    "answer": "kubectl set envSynopsisUpdate environment variables on a pod template.List environment variable definitions in one or more pods, pod templates. Add, update, or remove container environment variable definitions in one or more pod templates (within replication controllers or deployment configurations). View or modify the environment variable definitions on all containers in the specified pods or pod templates, or just those that match a wildcard.If \"--env -\" is passed, environment variables can be read from STDIN using the standard env syntax.Possible resources include (case insensitive): pod (po), replicationcontroller (rc), deployment (deploy), daemonset (ds), statefulset (sts), cronjob (cj), replicaset (rs) kubectl set env RESOURCE/NAME KEY_1=VAL_1 ... KEY_N=VAL_N Examples # Update deployment 'registry' with a new environment variable kubectl set env deployment/registry STORAGE_DIR=/local # List the environment variables defined on a deployments 'sample-build' kubectl set env deployment/sample-build --list # List the environment variables defined on all pods kubectl set env pods --all --list # Output modified deployment in YAML, and does not alter the object on the server kubectl set env deployment/sample-build STORAGE_DIR=/data -o yaml # Update all containers in all replication controllers in the project to have ENV=prod kubectl set env rc --all ENV=prod # Import environment from a secret kubectl set env --from=secret/mysecret deployment/myapp # Import environment from a config map with a prefix kubectl set env --from=configmap/myconfigmap --prefix=MYSQL_ deployment/myapp # Import specific keys from a config map kubectl set env --keys=my-example-key --from=configmap/myconfigmap deployment/myapp # Remove the environment variable ENV from container 'c1' in all deployment configs kubectl set env deployments --all --containers=\"c1\" ENV- # Remove the environment variable ENV from a deployment definition on disk and # update the deployment config on the server kubectl set env -f deploy.json ENV- # Set some of the local shell environment into a deployment config on the server env | grep RAILS_ | kubectl set env -e - deployment/registry Options--allIf true, select all resources in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-c, --containers string Default: \"*\"The names of containers in the selected pod templates to change - may use wildcards--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-e, --env stringsSpecify a key-value pair for an environment variable to set into each container.--field-manager string Default: \"kubectl-set\"Name of the manager used to track field ownershi",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_env/",
    "id": "k8s_00030_qa_458"
  },
  {
    "question": "What are the benefits of kubectl set env?",
    "answer": "kubectl set envSynopsisUpdate environment variables on a pod template.List environment variable definitions in one or more pods, pod templates. Add, update, or remove container environment variable definitions in one or more pod templates (within replication controllers or deployment configurations). View or modify the environment variable definitions on all containers in the specified pods or pod templates, or just those that match a wildcard.If \"--env -\" is passed, environment variables can be read from STDIN using the standard env syntax.Possible resources include (case insensitive): pod (po), replicationcontroller (rc), deployment (deploy), daemonset (ds), statefulset (sts), cronjob (cj), replicaset (rs) kubectl set env RESOURCE/NAME KEY_1=VAL_1 ... KEY_N=VAL_N Examples # Update deployment 'registry' with a new environment variable kubectl set env deployment/registry STORAGE_DIR=/local # List the environment variables defined on a deployments 'sample-build' kubectl set env deployment/sample-build --list # List the environment variables defined on all pods kubectl set env pods --all --list # Output modified deployment in YAML, and does not alter the object on the server kubectl set env deployment/sample-build STORAGE_DIR=/data -o yaml # Update all containers in all replication controllers in the project to have ENV=prod kubectl set env rc --all ENV=prod # Import environment from a secret kubectl set env --from=secret/mysecret deployment/myapp # Import environment from a config map with a prefix kubectl set env --from=configmap/myconfigmap --prefix=MYSQL_ deployment/myapp # Import specific keys from a config map kubectl set env --keys=my-example-key --from=configmap/myconfigmap deployment/myapp # Remove the environment variable ENV from container 'c1' in all deployment configs kubectl set env deployments --all --containers=\"c1\" ENV- # Remove the environment variable ENV from a deployment definition on disk and # update the deployment config on the server kubectl set env -f deploy.json ENV- # Set some of the local shell environment into a deployment config on the server env | grep RAILS_ | kubectl set env -e - deployment/registry Options--allIf true, select all resources in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-c, --containers string Default: \"*\"The names of containers in the selected pod templates to change - may use wildcards--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-e, --env stringsSpecify a key-value pair for an environment variable to set into each container.--field-manager string Default: \"kubectl-set\"Name of the manager used to track field ownershi",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_env/",
    "id": "k8s_00030_qa_459"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e   e n v i r o n m e n t   v a r i a b l e s   o n   a   p o d   t e m p l a t e .   L i s t   e n v i r o n m e n t   v a r i a b l e   d e f i n i t i o n s   i n   o n e   o r   m o r e   p o d s ,   p o d   t e m p l a t e s .   A d d ,   u p d a t e ,   o r   r e m o v e   c o n t a i n e r   e n v i r o n m e n t   v a r i a b l e   d e f i n i t i o n s   i n   o n e   o r   m o r e   p o d   t e m p l a t e s   ( w i t h i n   r e p l i c a t i o n   c o n t r o l l e r s   o r   d e p l o y m e n t   c o n f i g u r a t i o n s ) .   V i e w   o r   m o d i f y   t h e   e n v i r o n m e n t   v a r i a b l e   d e f i n i t i o n s   o n   a l l   c o n t a i n e r s   i n   t h e   s p e c i f i e d   p o d s   o r   p o d   t e m p l a t e s ,   o r   j u s t   t h o s e   t h a t   m a t c h   a   w i l d c a r d .   I f   \" - - e n v   - \"   i s   p a s s e d ,   e n v i r o n m e n t   v a r i a b l e s   c a n   b e   r e a d   f r o m   S T D I N   u s i n g   t h e   s t a n d a r d   e n v   s y n t a x .   P o s s i b l e   r e s o u r c e s   i n c l u d e   ( c a s e   i n s e n s i t i v e ) :   p o d   ( p o ) ,   r e p l i c a t i o n c o n t r o l l e r   ( r c ) ,   d e p l o y m e n t   ( d e p l o y ) ,   d a e m o n s e t   ( d s ) ,   s t a t e f u l s e t   ( s t s ) ,   c r o n j o b   ( c j ) ,   r e p l i c a s e t   ( r s )   k u b e c t l   s e t   e n v   R E S O U R C E / N A M E   K E Y _ 1 = V A L _ 1   . . .   K E Y _ N = V A L _ N",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_env/",
    "id": "k8s_00030_section_2_460"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U p d a t e   d e p l o y m e n t   ' r e g i s t r y '   w i t h   a   n e w   e n v i r o n m e n t   v a r i a b l e   k u b e c t l   s e t   e n v   d e p l o y m e n t / r e g i s t r y   S T O R A G E _ D I R = / l o c a l   #   L i s t   t h e   e n v i r o n m e n t   v a r i a b l e s   d e f i n e d   o n   a   d e p l o y m e n t s   ' s a m p l e - b u i l d '   k u b e c t l   s e t   e n v   d e p l o y m e n t / s a m p l e - b u i l d   - - l i s t   #   L i s t   t h e   e n v i r o n m e n t   v a r i a b l e s   d e f i n e d   o n   a l l   p o d s   k u b e c t l   s e t   e n v   p o d s   - - a l l   - - l i s t   #   O u t p u t   m o d i f i e d   d e p l o y m e n t   i n   Y A M L ,   a n d   d o e s   n o t   a l t e r   t h e   o b j e c t   o n   t h e   s e r v e r   k u b e c t l   s e t   e n v   d e p l o y m e n t / s a m p l e - b u i l d   S T O R A G E _ D I R = / d a t a   - o   y a m l   #   U p d a t e   a l l   c o n t a i n e r s   i n   a l l   r e p l i c a t i o n   c o n t r o l l e r s   i n   t h e   p r o j e c t   t o   h a v e   E N V = p r o d   k u b e c t l   s e t   e n v   r c   - - a l l   E N V = p r o d   #   I m p o r t   e n v i r o n m e n t   f r o m   a   s e c r e t   k u b e c t l   s e t   e n v   - - f r o m = s e c r e t / m y s e c r e t   d e p l o y m e n t / m y a p p   #   I m p o r t   e n v i r o n m e n t   f r o m   a   c o n f i g   m a p   w i t h   a   p r e f i x   k u b e c t l   s e t   e n v   - - f r o m = c o n f i g m a p / m y c o n f i g m a p   - - p r e f i x = M Y S Q L _   d e p l o y m e n t / m y a p p   #   I m p o r t   s p e c i f i c   k e y s   f r o m   a   c o n f i g   m a p   k u b e c t l   s e t   e n v   - - k e y s = m y - e x a m p l e - k e y   - - f r o m = c o n f i g m a p / m y c o n f i g m a p   d e p l o y m e n t / m y a p p   #   R e m o v e   t h e   e n v i r o n m e n t   v a r i a b l e   E N V   f r o m   c o n t a i n e r   ' c 1 '   i ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_env/",
    "id": "k8s_00030_section_2_461"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   s e l e c t   a l l   r e s o u r c e s   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   T h e   n a m e s   o f   c o n t a i n e r s   i n   t h e   s e l e c t e d   p o d   t e m p l a t e s   t o   c h a n g e   -   m a y   u s e   w i l d c a r d s   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   S p e c i f y   a   k e y - v a l u e   p a i r   f o r   a n   e n v i r o n m e n t   v a r i a b l e   t o   s e t   i n t o   e a c h   c o n t a i n e r .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   t h e   r e s o u r c e   t o   u p d a t e   t h e   e n v   T h e   n a m e   o f   a   r e s o u r c e   f r o m   w h i c h   t o   i n j e c t   e n v i r o n m e n t   v a r i a b l e s   h e l p   f o r   e n v   C o m m a - s e p a r a t e d   l i s t   o f   k e y s   t o   i m p o r t   f r o m   s p e c i f i e d   r e s o u r c e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   I f   t r u e ,   d i s p l a y   t h e   e n v i r o n m e n t   a n d   a n y   c h a n g e s   i n   t h e   s t a n d a r d   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_env/",
    "id": "k8s_00030_section_2_462"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_env/",
    "id": "k8s_00030_section_2_463"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   s e t   -   S e t   s p e c i f i c   f e a t u r e s   o n   o b j e c t s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_env/",
    "id": "k8s_00030_section_2_464"
  },
  {
    "question": "What is Fine Parallel Processing Using a Work Queue?",
    "answer": "Fine Parallel Processing Using a Work QueueIn this example, you will run a Kubernetes Job that runs multiple parallel tasks as worker processes, each running as a separate Pod.In this example, as each pod is created, it picks up one unit of work from a task queue, processes it, and repeats until the end of the queue is reached.Here is an overview of the steps in this example:Start a storage service to hold the work queue. In this example, you will use Redis to store work items. In the previous example, you used RabbitMQ. In this example, you will use Redis and a custom work-queue client library; this is because AMQP does not provide a good way for clients to detect when a finite-length work queue is empty. In practice you would set up a store such as Redis once and reuse it for the work queues of many jobs, and other things.Create a queue, and fill it with messages. Each message represents one task to be done. In this example, a message is an integer that we will do a lengthy computation on.Start a Job that works on tasks from the queue. The Job starts several pods. Each pod takes one task from the message queue, processes it, and repeats until the end of the queue is reached.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou will need a container image registry where you can upload images to run in your cluster. The example uses Docker Hub, but you could adapt it to a different container image registry.This task example also assumes that you have Docker installed locally. You use Docker to build container images.Be familiar with the basic, non-parallel, use of Job.Starting RedisFor this example, for simplicity, you will start a single instance of Redis. See the Redis Example for an example of deploying Redis scalably and redundantly.You could also download the following files directly:redis-pod.yamlredis-service.yamlDockerfilejob.yamlrediswq.pyworker.pyTo start a single instance of Redis, you need to create the redis pod and redis service:kubectl apply -f https://k8s.io/examples/application/job/redis/redis-pod.yaml kubectl apply -f https://k8s.io/examples/application/job/redis/redis-service.yaml Filling the queue with tasksNow let's fill the queue with some \"tasks\". In this example, the tasks are strings to be printed.Start a temporary interactive pod for running the Redis CLI.kubectl run -i --tty temp --image redis --command \"/bin/sh\" Waiting for pod default/redis2-c7h78 to be running, status is Pending, pod ready: false Hit enter for command prompt Now hit enter, start the Redis CLI, and create a list with some work items in it.redis-cli -h redis redis:6379> ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/fine-parallel-processing-work-queue/",
    "id": "k8s_00031_qa_465"
  },
  {
    "question": "How does Fine Parallel Processing Using a Work Queue work?",
    "answer": "Fine Parallel Processing Using a Work QueueIn this example, you will run a Kubernetes Job that runs multiple parallel tasks as worker processes, each running as a separate Pod.In this example, as each pod is created, it picks up one unit of work from a task queue, processes it, and repeats until the end of the queue is reached.Here is an overview of the steps in this example:Start a storage service to hold the work queue. In this example, you will use Redis to store work items. In the previous example, you used RabbitMQ. In this example, you will use Redis and a custom work-queue client library; this is because AMQP does not provide a good way for clients to detect when a finite-length work queue is empty. In practice you would set up a store such as Redis once and reuse it for the work queues of many jobs, and other things.Create a queue, and fill it with messages. Each message represents one task to be done. In this example, a message is an integer that we will do a lengthy computation on.Start a Job that works on tasks from the queue. The Job starts several pods. Each pod takes one task from the message queue, processes it, and repeats until the end of the queue is reached.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou will need a container image registry where you can upload images to run in your cluster. The example uses Docker Hub, but you could adapt it to a different container image registry.This task example also assumes that you have Docker installed locally. You use Docker to build container images.Be familiar with the basic, non-parallel, use of Job.Starting RedisFor this example, for simplicity, you will start a single instance of Redis. See the Redis Example for an example of deploying Redis scalably and redundantly.You could also download the following files directly:redis-pod.yamlredis-service.yamlDockerfilejob.yamlrediswq.pyworker.pyTo start a single instance of Redis, you need to create the redis pod and redis service:kubectl apply -f https://k8s.io/examples/application/job/redis/redis-pod.yaml kubectl apply -f https://k8s.io/examples/application/job/redis/redis-service.yaml Filling the queue with tasksNow let's fill the queue with some \"tasks\". In this example, the tasks are strings to be printed.Start a temporary interactive pod for running the Redis CLI.kubectl run -i --tty temp --image redis --command \"/bin/sh\" Waiting for pod default/redis2-c7h78 to be running, status is Pending, pod ready: false Hit enter for command prompt Now hit enter, start the Redis CLI, and create a list with some work items in it.redis-cli -h redis redis:6379> ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/fine-parallel-processing-work-queue/",
    "id": "k8s_00031_qa_466"
  },
  {
    "question": "When would you use Fine Parallel Processing Using a Work Queue?",
    "answer": "Fine Parallel Processing Using a Work QueueIn this example, you will run a Kubernetes Job that runs multiple parallel tasks as worker processes, each running as a separate Pod.In this example, as each pod is created, it picks up one unit of work from a task queue, processes it, and repeats until the end of the queue is reached.Here is an overview of the steps in this example:Start a storage service to hold the work queue. In this example, you will use Redis to store work items. In the previous example, you used RabbitMQ. In this example, you will use Redis and a custom work-queue client library; this is because AMQP does not provide a good way for clients to detect when a finite-length work queue is empty. In practice you would set up a store such as Redis once and reuse it for the work queues of many jobs, and other things.Create a queue, and fill it with messages. Each message represents one task to be done. In this example, a message is an integer that we will do a lengthy computation on.Start a Job that works on tasks from the queue. The Job starts several pods. Each pod takes one task from the message queue, processes it, and repeats until the end of the queue is reached.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou will need a container image registry where you can upload images to run in your cluster. The example uses Docker Hub, but you could adapt it to a different container image registry.This task example also assumes that you have Docker installed locally. You use Docker to build container images.Be familiar with the basic, non-parallel, use of Job.Starting RedisFor this example, for simplicity, you will start a single instance of Redis. See the Redis Example for an example of deploying Redis scalably and redundantly.You could also download the following files directly:redis-pod.yamlredis-service.yamlDockerfilejob.yamlrediswq.pyworker.pyTo start a single instance of Redis, you need to create the redis pod and redis service:kubectl apply -f https://k8s.io/examples/application/job/redis/redis-pod.yaml kubectl apply -f https://k8s.io/examples/application/job/redis/redis-service.yaml Filling the queue with tasksNow let's fill the queue with some \"tasks\". In this example, the tasks are strings to be printed.Start a temporary interactive pod for running the Redis CLI.kubectl run -i --tty temp --image redis --command \"/bin/sh\" Waiting for pod default/redis2-c7h78 to be running, status is Pending, pod ready: false Hit enter for command prompt Now hit enter, start the Redis CLI, and create a list with some work items in it.redis-cli -h redis redis:6379> ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/fine-parallel-processing-work-queue/",
    "id": "k8s_00031_qa_467"
  },
  {
    "question": "What are the benefits of Fine Parallel Processing Using a Work Queue?",
    "answer": "Fine Parallel Processing Using a Work QueueIn this example, you will run a Kubernetes Job that runs multiple parallel tasks as worker processes, each running as a separate Pod.In this example, as each pod is created, it picks up one unit of work from a task queue, processes it, and repeats until the end of the queue is reached.Here is an overview of the steps in this example:Start a storage service to hold the work queue. In this example, you will use Redis to store work items. In the previous example, you used RabbitMQ. In this example, you will use Redis and a custom work-queue client library; this is because AMQP does not provide a good way for clients to detect when a finite-length work queue is empty. In practice you would set up a store such as Redis once and reuse it for the work queues of many jobs, and other things.Create a queue, and fill it with messages. Each message represents one task to be done. In this example, a message is an integer that we will do a lengthy computation on.Start a Job that works on tasks from the queue. The Job starts several pods. Each pod takes one task from the message queue, processes it, and repeats until the end of the queue is reached.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou will need a container image registry where you can upload images to run in your cluster. The example uses Docker Hub, but you could adapt it to a different container image registry.This task example also assumes that you have Docker installed locally. You use Docker to build container images.Be familiar with the basic, non-parallel, use of Job.Starting RedisFor this example, for simplicity, you will start a single instance of Redis. See the Redis Example for an example of deploying Redis scalably and redundantly.You could also download the following files directly:redis-pod.yamlredis-service.yamlDockerfilejob.yamlrediswq.pyworker.pyTo start a single instance of Redis, you need to create the redis pod and redis service:kubectl apply -f https://k8s.io/examples/application/job/redis/redis-pod.yaml kubectl apply -f https://k8s.io/examples/application/job/redis/redis-service.yaml Filling the queue with tasksNow let's fill the queue with some \"tasks\". In this example, the tasks are strings to be printed.Start a temporary interactive pod for running the Redis CLI.kubectl run -i --tty temp --image redis --command \"/bin/sh\" Waiting for pod default/redis2-c7h78 to be running, status is Pending, pod ready: false Hit enter for command prompt Now hit enter, start the Redis CLI, and create a list with some work items in it.redis-cli -h redis redis:6379> ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/fine-parallel-processing-work-queue/",
    "id": "k8s_00031_qa_468"
  },
  {
    "question": "What is Fine Parallel Processing Using a Work Queue?",
    "answer": "I n   t h i s   e x a m p l e ,   y o u   w i l l   r u n   a   K u b e r n e t e s   J o b   t h a t   r u n s   m u l t i p l e   p a r a l l e l   t a s k s   a s   w o r k e r   p r o c e s s e s ,   e a c h   r u n n i n g   a s   a   s e p a r a t e   P o d .   I n   t h i s   e x a m p l e ,   a s   e a c h   p o d   i s   c r e a t e d ,   i t   p i c k s   u p   o n e   u n i t   o f   w o r k   f r o m   a   t a s k   q u e u e ,   p r o c e s s e s   i t ,   a n d   r e p e a t s   u n t i l   t h e   e n d   o f   t h e   q u e u e   i s   r e a c h e d .   H e r e   i s   a n   o v e r v i e w   o f   t h e   s t e p s   i n   t h i s   e x a m p l e :   S t a r t   a   s t o r a g e   s e r v i c e   t o   h o l d   t h e   w o r k   q u e u e .   I n   t h i s   e x a m p l e ,   y o u   w i l l   u s e   R e d i s   t o   s t o r e   w o r k   i t e m s .   I n   t h e   p r e v i o u s   e x a m p l e ,   y o u   u s e d   R a b b i t M Q .   I n   t h i s   e x a m p l e ,   y o u   w i l l   u s e   R e d i s   a n d   a   c u s t o m   w o r k - q u e u e   c l i e n t   l i b r a r y ;   t h i s   i s   b e c a u s e   A M Q P   d o e s   n o t   p r o v i d e   a   g o o d   w a y   f o r   c l i e n t s   t o   d e t e c t   w h e n   a   f i n i t e - l e n g t h   w o r k   q u e u e   i s   e m p t y .   I n   p r a c t i c e   y o u   w o u l d   s e t   u p   a   s t o r e   s u c h   a s   R e d i s   o n c e   a n d   r e u s e   i t   f o r   t h e   w o r k   q u e u e s   o f   m a n y   j o b s ,   a n d   o t h e r   t h i n g s . C r e a t e   a   q u e u e ,   a n d   f i l l   i t   w i t h   m e s s a g e s .   E a c h   m e s s a g e   r e p r e s e n t s   o n e   t a s k   t o   b e   d o n e .   I n   t h i s   e x a m p l e ,   a   m e s s a g e   i s   a n   i n t e g e r   t h a t   w e   w i l l   d o   a   l e n g t h y   c o m p u t a t i o n   o n . S t a r t   a   J o b   t h a t   w o r k s   o n   t a s k s   f r ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/fine-parallel-processing-work-queue/",
    "id": "k8s_00031_section_1_469"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   w i l l   n e e d   a   c o n t a i n e r   i m a g e   r e g i s t r y   w h e r e   y o u   c a n   u p l o a d   i m a g e s   t o   r u n   i n   y o u r   c l u s t e r .   T h e   e x a m p l e   u s e s   D o c k e r   H u b ,   b u t   y o u   c o u l d   a d a p t   i t   t o   a   d i f f e r e n t   c o n t a i n e r   i m a g e   r e g i s t r y .   T h i s   t a s k   e x a m p l e   a l s o   a s s u m e s   t h a t   y o u   h a v e   D o c k e r   i n s t a l l e d   l o c a l l y .   Y o u   u s e   D o c k e r   t o   b u i l d   c o n t a i n e r   i m a g e s .   B e   f a m i l i a r   w i t h   t h e   b a s i c ,   n o n - p a r a l l e l ,   u s e   o f   J o b .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/fine-parallel-processing-work-queue/",
    "id": "k8s_00031_section_2_470"
  },
  {
    "question": "What is Starting Redis?",
    "answer": "F o r   t h i s   e x a m p l e ,   f o r   s i m p l i c i t y ,   y o u   w i l l   s t a r t   a   s i n g l e   i n s t a n c e   o f   R e d i s .   S e e   t h e   R e d i s   E x a m p l e   f o r   a n   e x a m p l e   o f   d e p l o y i n g   R e d i s   s c a l a b l y   a n d   r e d u n d a n t l y .   Y o u   c o u l d   a l s o   d o w n l o a d   t h e   f o l l o w i n g   f i l e s   d i r e c t l y :   r e d i s - p o d . y a m l r e d i s - s e r v i c e . y a m l D o c k e r f i l e j o b . y a m l r e d i s w q . p y w o r k e r . p y   T o   s t a r t   a   s i n g l e   i n s t a n c e   o f   R e d i s ,   y o u   n e e d   t o   c r e a t e   t h e   r e d i s   p o d   a n d   r e d i s   s e r v i c e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / j o b / r e d i s / r e d i s - p o d . y a m l   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / j o b / r e d i s / r e d i s - s e r v i c e . y a m l",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/fine-parallel-processing-work-queue/",
    "id": "k8s_00031_section_2_471"
  },
  {
    "question": "What is Filling the queue with tasks?",
    "answer": "N o w   l e t ' s   f i l l   t h e   q u e u e   w i t h   s o m e   \" t a s k s \" .   I n   t h i s   e x a m p l e ,   t h e   t a s k s   a r e   s t r i n g s   t o   b e   p r i n t e d .   S t a r t   a   t e m p o r a r y   i n t e r a c t i v e   p o d   f o r   r u n n i n g   t h e   R e d i s   C L I .   k u b e c t l   r u n   - i   - - t t y   t e m p   - - i m a g e   r e d i s   - - c o m m a n d   \" / b i n / s h \"   W a i t i n g   f o r   p o d   d e f a u l t / r e d i s 2 - c 7 h 7 8   t o   b e   r u n n i n g ,   s t a t u s   i s   P e n d i n g ,   p o d   r e a d y :   f a l s e   H i t   e n t e r   f o r   c o m m a n d   p r o m p t   N o w   h i t   e n t e r ,   s t a r t   t h e   R e d i s   C L I ,   a n d   c r e a t e   a   l i s t   w i t h   s o m e   w o r k   i t e m s   i n   i t .   r e d i s - c l i   - h   r e d i s   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" a p p l e \"   ( i n t e g e r )   1   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" b a n a n a \"   ( i n t e g e r )   2   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" c h e r r y \"   ( i n t e g e r )   3   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" d a t e \"   ( i n t e g e r )   4   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" f i g \"   ( i n t e g e r )   5   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" g r a p e \"   ( i n t e g e r )   6   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" l e m o n \"   ( i n t e g e r )   7   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" m e l o n \"   ( i n t e g e r )   8   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" o r a n g e \"   ( i n t e g e r )   9   r e d i s : 6 3 7 9 >   l r a n g e   j o b 2   0   - 1   1 )   \" a p p l e \"   2 )   \" b a n a n a \"   3 )   \" c h e r r y \"   4 )   \" d a t e \"   5 )   \" f i g \"   6 )   \" g r a p e \"   7 )   \" l e m o n \"   8 )   \" m e l o n \"   9 )   \" o r a n g e \"   S o ,   t h e   l i s t   w i t h   k e y   j o b 2   w i l l   b e   t h e   w o r k   q u e u ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/fine-parallel-processing-work-queue/",
    "id": "k8s_00031_section_2_472"
  },
  {
    "question": "What is Create a container image?",
    "answer": "N o w   y o u   a r e   r e a d y   t o   c r e a t e   a n   i m a g e   t h a t   w i l l   p r o c e s s   t h e   w o r k   i n   t h a t   q u e u e .   Y o u ' r e   g o i n g   t o   u s e   a   P y t h o n   w o r k e r   p r o g r a m   w i t h   a   R e d i s   c l i e n t   t o   r e a d   t h e   m e s s a g e s   f r o m   t h e   m e s s a g e   q u e u e .   A   s i m p l e   R e d i s   w o r k   q u e u e   c l i e n t   l i b r a r y   i s   p r o v i d e d ,   c a l l e d   r e d i s w q . p y   ( D o w n l o a d ) .   T h e   \" w o r k e r \"   p r o g r a m   i n   e a c h   P o d   o f   t h e   J o b   u s e s   t h e   w o r k   q u e u e   c l i e n t   l i b r a r y   t o   g e t   w o r k .   H e r e   i t   i s :   # ! / u s r / b i n / e n v   p y t h o n   i m p o r t   t i m e   i m p o r t   r e d i s w q   h o s t = \" r e d i s \"   #   U n c o m m e n t   n e x t   t w o   l i n e s   i f   y o u   d o   n o t   h a v e   K u b e - D N S   w o r k i n g .   #   i m p o r t   o s   #   h o s t   =   o s . g e t e n v ( \" R E D I S _ S E R V I C E _ H O S T \" )   q   =   r e d i s w q . R e d i s W Q ( n a m e = \" j o b 2 \" ,   h o s t = h o s t )   p r i n t ( \" W o r k e r   w i t h   s e s s i o n I D :   \"   +   q . s e s s i o n I D ( ) )   p r i n t ( \" I n i t i a l   q u e u e   s t a t e :   e m p t y = \"   +   s t r ( q . e m p t y ( ) ) )   w h i l e   n o t   q . e m p t y ( ) :   i t e m   =   q . l e a s e ( l e a s e _ s e c s = 1 0 ,   b l o c k = T r u e ,   t i m e o u t = 2 )   i f   i t e m   i s   n o t   N o n e :   i t e m s t r   =   i t e m . d e c o d e ( \" u t f - 8 \" )   p r i n t ( \" W o r k i n g   o n   \"   +   i t e m s t r )   t i m e . s l e e p ( 1 0 )   #   P u t   y o u r   a c t u a l   w o r k   h e r e   i n s t e a d   o f   s l e e p .   q . c o m p l e t e ( i t e m )   e l s e :   p r i n t ( \" W a i t i n g   f o r   w o r k \" )   p r i n t ( \" Q u e u e   e m p t y ,   e x i t i n g \" )   Y ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/fine-parallel-processing-work-queue/",
    "id": "k8s_00031_section_2_473"
  },
  {
    "question": "What is Push the image?",
    "answer": "F o r   t h e   D o c k e r   H u b ,   t a g   y o u r   a p p   i m a g e   w i t h   y o u r   u s e r n a m e   a n d   p u s h   t o   t h e   H u b   w i t h   t h e   b e l o w   c o m m a n d s .   R e p l a c e   < u s e r n a m e >   w i t h   y o u r   H u b   u s e r n a m e .   d o c k e r   t a g   j o b - w q - 2   < u s e r n a m e > / j o b - w q - 2   d o c k e r   p u s h   < u s e r n a m e > / j o b - w q - 2   Y o u   n e e d   t o   p u s h   t o   a   p u b l i c   r e p o s i t o r y   o r   c o n f i g u r e   y o u r   c l u s t e r   t o   b e   a b l e   t o   a c c e s s   y o u r   p r i v a t e   r e p o s i t o r y .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/fine-parallel-processing-work-queue/",
    "id": "k8s_00031_section_3_474"
  },
  {
    "question": "What is Defining a Job?",
    "answer": "H e r e   i s   a   m a n i f e s t   f o r   t h e   J o b   y o u   w i l l   c r e a t e :   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   j o b - w q - 2   s p e c :   p a r a l l e l i s m :   2   t e m p l a t e :   m e t a d a t a :   n a m e :   j o b - w q - 2   s p e c :   c o n t a i n e r s :   -   n a m e :   c   i m a g e :   g c r . i o / m y p r o j e c t / j o b - w q - 2   r e s t a r t P o l i c y :   O n F a i l u r e",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/fine-parallel-processing-work-queue/",
    "id": "k8s_00031_section_2_475"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   t h i s   e x a m p l e ,   e a c h   p o d   w o r k s   o n   s e v e r a l   i t e m s   f r o m   t h e   q u e u e   a n d   t h e n   e x i t s   w h e n   t h e r e   a r e   n o   m o r e   i t e m s .   S i n c e   t h e   w o r k e r s   t h e m s e l v e s   d e t e c t   w h e n   t h e   w o r k q u e u e   i s   e m p t y ,   a n d   t h e   J o b   c o n t r o l l e r   d o e s   n o t   k n o w   a b o u t   t h e   w o r k q u e u e ,   i t   r e l i e s   o n   t h e   w o r k e r s   t o   s i g n a l   w h e n   t h e y   a r e   d o n e   w o r k i n g .   T h e   w o r k e r s   s i g n a l   t h a t   t h e   q u e u e   i s   e m p t y   b y   e x i t i n g   w i t h   s u c c e s s .   S o ,   a s   s o o n   a s   a n y   w o r k e r   e x i t s   w i t h   s u c c e s s ,   t h e   c o n t r o l l e r   k n o w s   t h e   w o r k   i s   d o n e ,   a n d   t h a t   t h e   P o d s   w i l l   e x i t   s o o n .   S o ,   y o u   n e e d   t o   l e a v e   t h e   c o m p l e t i o n   c o u n t   o f   t h e   J o b   u n s e t .   T h e   j o b   c o n t r o l l e r   w i l l   w a i t   f o r   t h e   o t h e r   p o d s   t o   c o m p l e t e   t o o .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/fine-parallel-processing-work-queue/",
    "id": "k8s_00031_section_4_476"
  },
  {
    "question": "What is Running the Job?",
    "answer": "S o ,   n o w   r u n   t h e   J o b :   #   t h i s   a s s u m e s   y o u   d o w n l o a d e d   a n d   t h e n   e d i t e d   t h e   m a n i f e s t   a l r e a d y   k u b e c t l   a p p l y   - f   . / j o b . y a m l   N o w   w a i t   a   b i t ,   t h e n   c h e c k   o n   t h e   J o b :   k u b e c t l   d e s c r i b e   j o b s / j o b - w q - 2   N a m e :   j o b - w q - 2   N a m e s p a c e :   d e f a u l t   S e l e c t o r :   c o n t r o l l e r - u i d = b 1 c 7 e 4 e 3 - 9 2 e 1 - 1 1 e 7 - b 8 5 e - f a 1 6 3 e e 3 c 1 1 f   L a b e l s :   c o n t r o l l e r - u i d = b 1 c 7 e 4 e 3 - 9 2 e 1 - 1 1 e 7 - b 8 5 e - f a 1 6 3 e e 3 c 1 1 f   j o b - n a m e = j o b - w q - 2   A n n o t a t i o n s :   < n o n e >   P a r a l l e l i s m :   2   C o m p l e t i o n s :   < u n s e t >   S t a r t   T i m e :   M o n ,   1 1   J a n   2 0 2 2   1 7 : 0 7 : 5 9   + 0 0 0 0   P o d s   S t a t u s e s :   1   R u n n i n g   /   0   S u c c e e d e d   /   0   F a i l e d   P o d   T e m p l a t e :   L a b e l s :   c o n t r o l l e r - u i d = b 1 c 7 e 4 e 3 - 9 2 e 1 - 1 1 e 7 - b 8 5 e - f a 1 6 3 e e 3 c 1 1 f   j o b - n a m e = j o b - w q - 2   C o n t a i n e r s :   c :   I m a g e :   c o n t a i n e r - r e g i s t r y . e x a m p l e / e x a m p l e p r o j e c t / j o b - w q - 2   P o r t :   E n v i r o n m e n t :   < n o n e >   M o u n t s :   < n o n e >   V o l u m e s :   < n o n e >   E v e n t s :   F i r s t S e e n   L a s t S e e n   C o u n t   F r o m   S u b o b j e c t P a t h   T y p e   R e a s o n   M e s s a g e   - - - - - - - - -   - - - - - - - -   - - - - -   - - - -   - - - - - - - - - - - - -   - - - - - - - -   - - - - - -   - - - - - - -   3 3 s   3 3 s   1   { j o b - c o n t r o l l e r   }   N o r m a l   S u c c e s s f u l C r e a t e   C r e a t e d   p o d :   j o b - w q - 2 - l g l f 8   Y o u   c a n   w a i t   f o r   t h e   J o b   t o   s u c c e e d ,   w i t h   a   t i m e ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/fine-parallel-processing-work-queue/",
    "id": "k8s_00031_section_2_477"
  },
  {
    "question": "What is Alternatives?",
    "answer": "I f   r u n n i n g   a   q u e u e   s e r v i c e   o r   m o d i f y i n g   y o u r   c o n t a i n e r s   t o   u s e   a   w o r k   q u e u e   i s   i n c o n v e n i e n t ,   y o u   m a y   w a n t   t o   c o n s i d e r   o n e   o f   t h e   o t h e r   j o b   p a t t e r n s .   I f   y o u   h a v e   a   c o n t i n u o u s   s t r e a m   o f   b a c k g r o u n d   p r o c e s s i n g   w o r k   t o   r u n ,   t h e n   c o n s i d e r   r u n n i n g   y o u r   b a c k g r o u n d   w o r k e r s   w i t h   a   R e p l i c a S e t   i n s t e a d ,   a n d   c o n s i d e r   r u n n i n g   a   b a c k g r o u n d   p r o c e s s i n g   l i b r a r y   s u c h   a s   h t t p s : / / g i t h u b . c o m / r e s q u e / r e s q u e .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/fine-parallel-processing-work-queue/",
    "id": "k8s_00031_section_2_478"
  },
  {
    "question": "What is Official CVE Feed?",
    "answer": "Official CVE FeedFEATURE STATE: Kubernetes v1.27 [beta]This is a community maintained list of official CVEs announced by the Kubernetes Security Response Committee. See Kubernetes Security and Disclosure Information for more details.The Kubernetes project publishes a programmatically accessible feed of published security issues in JSON feed and RSS feed formats. You can access it by executing the following commands:Link to JSON formatcurl -Lv https://k8s.io/docs/reference/issues-security/official-cve-feed/index.json Link to RSS formatcurl -Lv https://k8s.io/docs/reference/issues-security/official-cve-feed/feed.xml Official Kubernetes CVE List (last updated: 27 Sep 2025 10:53:07 UTC)CVE IDIssue SummaryCVE GitHub Issue URLCVE-2025-9708Kubernetes C# Client: improper certificate validation in custom CA mode may lead to man-in-the-middle attacks#134063CVE-2025-7445secrets-store-sync-controller discloses service account tokens in logs#133897CVE-2025-5187Nodes can delete themselves by adding an OwnerReference#133471CVE-2025-7342VM images built with Kubernetes Image Builder Nutanix or OVA providers use default credentials for Windows images if user did not override#133115CVE-2025-4563Nodes can bypass dynamic resource allocation authorization checks#132151CVE-2025-1974ingress-nginx admission controller RCE escalation#131009CVE-2025-1098ingress-nginx controller configuration injection via unsanitized mirror annotations#131008CVE-2025-1097ingress-nginx controller configuration injection via unsanitized auth-tls-match-cn annotation#131007CVE-2025-24514ingress-nginx controller configuration injection via unsanitized auth-url annotation#131006CVE-2025-24513ingress-nginx controller auth secret file path traversal vulnerability#131005CVE-2025-1767GitRepo Volume Inadvertent Local Repository Access#130786CVE-2025-0426Node Denial of Service via kubelet Checkpoint API#130016CVE-2024-9042Command Injection affecting Windows nodes via nodes/*/logs/query API#129654CVE-2024-10220Arbitrary command execution through gitRepo volume#128885CVE-2024-9594VM images built with Image Builder with some providers use default credentials during builds#128007CVE-2024-9486VM images built with Image Builder and Proxmox provider use default credentials#128006CVE-2024-7646Ingress-nginx Annotation Validation Bypass#126744CVE-2024-7598Network restriction bypass via race condition during namespace termination#126587CVE-2024-5321Incorrect permissions on Windows containers logs#126161CVE-2024-3744azure-file-csi-driver discloses service account tokens in logs#124759CVE-2024-3177Bypassing mountable secrets policy imposed by the ServiceAccount admission plugin#124336CVE-2023-5528Insufficient input sanitization in in-tree storage plugin leads to privilege escalation on Windows nodes#121879CVE-2023-5044Code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation#126817CVE-2023-5043Ingress nginx annotation injection causes arbitrary command execution#126816CVE-2022-4886ingress-nginx ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/issues-security/official-cve-feed/",
    "id": "k8s_00032_qa_479"
  },
  {
    "question": "How does Official CVE Feed work?",
    "answer": "Official CVE FeedFEATURE STATE: Kubernetes v1.27 [beta]This is a community maintained list of official CVEs announced by the Kubernetes Security Response Committee. See Kubernetes Security and Disclosure Information for more details.The Kubernetes project publishes a programmatically accessible feed of published security issues in JSON feed and RSS feed formats. You can access it by executing the following commands:Link to JSON formatcurl -Lv https://k8s.io/docs/reference/issues-security/official-cve-feed/index.json Link to RSS formatcurl -Lv https://k8s.io/docs/reference/issues-security/official-cve-feed/feed.xml Official Kubernetes CVE List (last updated: 27 Sep 2025 10:53:07 UTC)CVE IDIssue SummaryCVE GitHub Issue URLCVE-2025-9708Kubernetes C# Client: improper certificate validation in custom CA mode may lead to man-in-the-middle attacks#134063CVE-2025-7445secrets-store-sync-controller discloses service account tokens in logs#133897CVE-2025-5187Nodes can delete themselves by adding an OwnerReference#133471CVE-2025-7342VM images built with Kubernetes Image Builder Nutanix or OVA providers use default credentials for Windows images if user did not override#133115CVE-2025-4563Nodes can bypass dynamic resource allocation authorization checks#132151CVE-2025-1974ingress-nginx admission controller RCE escalation#131009CVE-2025-1098ingress-nginx controller configuration injection via unsanitized mirror annotations#131008CVE-2025-1097ingress-nginx controller configuration injection via unsanitized auth-tls-match-cn annotation#131007CVE-2025-24514ingress-nginx controller configuration injection via unsanitized auth-url annotation#131006CVE-2025-24513ingress-nginx controller auth secret file path traversal vulnerability#131005CVE-2025-1767GitRepo Volume Inadvertent Local Repository Access#130786CVE-2025-0426Node Denial of Service via kubelet Checkpoint API#130016CVE-2024-9042Command Injection affecting Windows nodes via nodes/*/logs/query API#129654CVE-2024-10220Arbitrary command execution through gitRepo volume#128885CVE-2024-9594VM images built with Image Builder with some providers use default credentials during builds#128007CVE-2024-9486VM images built with Image Builder and Proxmox provider use default credentials#128006CVE-2024-7646Ingress-nginx Annotation Validation Bypass#126744CVE-2024-7598Network restriction bypass via race condition during namespace termination#126587CVE-2024-5321Incorrect permissions on Windows containers logs#126161CVE-2024-3744azure-file-csi-driver discloses service account tokens in logs#124759CVE-2024-3177Bypassing mountable secrets policy imposed by the ServiceAccount admission plugin#124336CVE-2023-5528Insufficient input sanitization in in-tree storage plugin leads to privilege escalation on Windows nodes#121879CVE-2023-5044Code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation#126817CVE-2023-5043Ingress nginx annotation injection causes arbitrary command execution#126816CVE-2022-4886ingress-nginx ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/issues-security/official-cve-feed/",
    "id": "k8s_00032_qa_480"
  },
  {
    "question": "When would you use Official CVE Feed?",
    "answer": "Official CVE FeedFEATURE STATE: Kubernetes v1.27 [beta]This is a community maintained list of official CVEs announced by the Kubernetes Security Response Committee. See Kubernetes Security and Disclosure Information for more details.The Kubernetes project publishes a programmatically accessible feed of published security issues in JSON feed and RSS feed formats. You can access it by executing the following commands:Link to JSON formatcurl -Lv https://k8s.io/docs/reference/issues-security/official-cve-feed/index.json Link to RSS formatcurl -Lv https://k8s.io/docs/reference/issues-security/official-cve-feed/feed.xml Official Kubernetes CVE List (last updated: 27 Sep 2025 10:53:07 UTC)CVE IDIssue SummaryCVE GitHub Issue URLCVE-2025-9708Kubernetes C# Client: improper certificate validation in custom CA mode may lead to man-in-the-middle attacks#134063CVE-2025-7445secrets-store-sync-controller discloses service account tokens in logs#133897CVE-2025-5187Nodes can delete themselves by adding an OwnerReference#133471CVE-2025-7342VM images built with Kubernetes Image Builder Nutanix or OVA providers use default credentials for Windows images if user did not override#133115CVE-2025-4563Nodes can bypass dynamic resource allocation authorization checks#132151CVE-2025-1974ingress-nginx admission controller RCE escalation#131009CVE-2025-1098ingress-nginx controller configuration injection via unsanitized mirror annotations#131008CVE-2025-1097ingress-nginx controller configuration injection via unsanitized auth-tls-match-cn annotation#131007CVE-2025-24514ingress-nginx controller configuration injection via unsanitized auth-url annotation#131006CVE-2025-24513ingress-nginx controller auth secret file path traversal vulnerability#131005CVE-2025-1767GitRepo Volume Inadvertent Local Repository Access#130786CVE-2025-0426Node Denial of Service via kubelet Checkpoint API#130016CVE-2024-9042Command Injection affecting Windows nodes via nodes/*/logs/query API#129654CVE-2024-10220Arbitrary command execution through gitRepo volume#128885CVE-2024-9594VM images built with Image Builder with some providers use default credentials during builds#128007CVE-2024-9486VM images built with Image Builder and Proxmox provider use default credentials#128006CVE-2024-7646Ingress-nginx Annotation Validation Bypass#126744CVE-2024-7598Network restriction bypass via race condition during namespace termination#126587CVE-2024-5321Incorrect permissions on Windows containers logs#126161CVE-2024-3744azure-file-csi-driver discloses service account tokens in logs#124759CVE-2024-3177Bypassing mountable secrets policy imposed by the ServiceAccount admission plugin#124336CVE-2023-5528Insufficient input sanitization in in-tree storage plugin leads to privilege escalation on Windows nodes#121879CVE-2023-5044Code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation#126817CVE-2023-5043Ingress nginx annotation injection causes arbitrary command execution#126816CVE-2022-4886ingress-nginx ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/issues-security/official-cve-feed/",
    "id": "k8s_00032_qa_481"
  },
  {
    "question": "What are the benefits of Official CVE Feed?",
    "answer": "Official CVE FeedFEATURE STATE: Kubernetes v1.27 [beta]This is a community maintained list of official CVEs announced by the Kubernetes Security Response Committee. See Kubernetes Security and Disclosure Information for more details.The Kubernetes project publishes a programmatically accessible feed of published security issues in JSON feed and RSS feed formats. You can access it by executing the following commands:Link to JSON formatcurl -Lv https://k8s.io/docs/reference/issues-security/official-cve-feed/index.json Link to RSS formatcurl -Lv https://k8s.io/docs/reference/issues-security/official-cve-feed/feed.xml Official Kubernetes CVE List (last updated: 27 Sep 2025 10:53:07 UTC)CVE IDIssue SummaryCVE GitHub Issue URLCVE-2025-9708Kubernetes C# Client: improper certificate validation in custom CA mode may lead to man-in-the-middle attacks#134063CVE-2025-7445secrets-store-sync-controller discloses service account tokens in logs#133897CVE-2025-5187Nodes can delete themselves by adding an OwnerReference#133471CVE-2025-7342VM images built with Kubernetes Image Builder Nutanix or OVA providers use default credentials for Windows images if user did not override#133115CVE-2025-4563Nodes can bypass dynamic resource allocation authorization checks#132151CVE-2025-1974ingress-nginx admission controller RCE escalation#131009CVE-2025-1098ingress-nginx controller configuration injection via unsanitized mirror annotations#131008CVE-2025-1097ingress-nginx controller configuration injection via unsanitized auth-tls-match-cn annotation#131007CVE-2025-24514ingress-nginx controller configuration injection via unsanitized auth-url annotation#131006CVE-2025-24513ingress-nginx controller auth secret file path traversal vulnerability#131005CVE-2025-1767GitRepo Volume Inadvertent Local Repository Access#130786CVE-2025-0426Node Denial of Service via kubelet Checkpoint API#130016CVE-2024-9042Command Injection affecting Windows nodes via nodes/*/logs/query API#129654CVE-2024-10220Arbitrary command execution through gitRepo volume#128885CVE-2024-9594VM images built with Image Builder with some providers use default credentials during builds#128007CVE-2024-9486VM images built with Image Builder and Proxmox provider use default credentials#128006CVE-2024-7646Ingress-nginx Annotation Validation Bypass#126744CVE-2024-7598Network restriction bypass via race condition during namespace termination#126587CVE-2024-5321Incorrect permissions on Windows containers logs#126161CVE-2024-3744azure-file-csi-driver discloses service account tokens in logs#124759CVE-2024-3177Bypassing mountable secrets policy imposed by the ServiceAccount admission plugin#124336CVE-2023-5528Insufficient input sanitization in in-tree storage plugin leads to privilege escalation on Windows nodes#121879CVE-2023-5044Code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation#126817CVE-2023-5043Ingress nginx annotation injection causes arbitrary command execution#126816CVE-2022-4886ingress-nginx ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/issues-security/official-cve-feed/",
    "id": "k8s_00032_qa_482"
  },
  {
    "question": "What is Official CVE Feed?",
    "answer": "T h i s   i s   a   c o m m u n i t y   m a i n t a i n e d   l i s t   o f   o f f i c i a l   C V E s   a n n o u n c e d   b y   t h e   K u b e r n e t e s   S e c u r i t y   R e s p o n s e   C o m m i t t e e .   S e e   K u b e r n e t e s   S e c u r i t y   a n d   D i s c l o s u r e   I n f o r m a t i o n   f o r   m o r e   d e t a i l s .   T h e   K u b e r n e t e s   p r o j e c t   p u b l i s h e s   a   p r o g r a m m a t i c a l l y   a c c e s s i b l e   f e e d   o f   p u b l i s h e d   s e c u r i t y   i s s u e s   i n   J S O N   f e e d   a n d   R S S   f e e d   f o r m a t s .   Y o u   c a n   a c c e s s   i t   b y   e x e c u t i n g   t h e   f o l l o w i n g   c o m m a n d s :   L i n k   t o   J S O N   f o r m a t c u r l   - L v   h t t p s : / / k 8 s . i o / d o c s / r e f e r e n c e / i s s u e s - s e c u r i t y / o f f i c i a l - c v e - f e e d / i n d e x . j s o n   L i n k   t o   J S O N   f o r m a t   c u r l   - L v   h t t p s : / / k 8 s . i o / d o c s / r e f e r e n c e / i s s u e s - s e c u r i t y / o f f i c i a l - c v e - f e e d / i n d e x . j s o n   L i n k   t o   R S S   f o r m a t c u r l   - L v   h t t p s : / / k 8 s . i o / d o c s / r e f e r e n c e / i s s u e s - s e c u r i t y / o f f i c i a l - c v e - f e e d / f e e d . x m l   L i n k   t o   R S S   f o r m a t   c u r l   - L v   h t t p s : / / k 8 s . i o / d o c s / r e f e r e n c e / i s s u e s - s e c u r i t y / o f f i c i a l - c v e - f e e d / f e e d . x m l   T h i s   f e e d   i s   a u t o - r e f r e s h i n g   w i t h   a   n o t i c e a b l e   b u t   s m a l l   l a g   ( m i n u t e s   t o   h o u r s )   f r o m   t h e   t i m e   a   C V E   i s   a n n o u n c e d   t o   t h e   t i m e   i t   i s   a c c e s s i b l e   i n   t h i s   f e e d .   T h e   s o u r c e   o f   t r u t h   o f   t h i s   f e e d   i s   a   s e t   o f   G i t H u b   I s s u e s ,   f i l t e r e d   b ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/issues-security/official-cve-feed/",
    "id": "k8s_00032_section_1_483"
  },
  {
    "question": "What is kubectl top?",
    "answer": "kubectl topSynopsisDisplay resource (CPU/memory) usage.This command provides a view of recent resource consumption for nodes and pods. It fetches metrics from the Metrics Server, which aggregates this data from the kubelet on each node. The Metrics Server must be installed and running in the cluster for this command to work.The metrics shown are specifically optimized for Kubernetes autoscaling decisions, such as those made by the Horizontal Pod Autoscaler (HPA) and Vertical Pod Autoscaler (VPA). Because of this, the values may not match those from standard OS tools like 'top', as the metrics are designed to provide a stable signal for autoscalers rather than for pinpoint accuracy.When to use this command:For on-the-fly spot-checks of resource usage (e.g. identify which pods are consuming the most resources at a glance, or get a quick sense of the load on your nodes)Understand current resource consumption patternsValidate the behavior of your HPA or VPA configurations by seeing the metrics they use for scaling decisions.It is not intended to be a replacement for full-featured monitoring solutions. Its primary design goal is to provide a low-overhead signal for autoscalers, not to be a perfectly accurate monitoring tool. For high-accuracy reporting, historical analysis, dashboarding, or alerting, you should use a dedicated monitoring solution.kubectl top [flags] Options-h, --helphelp for topParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/",
    "id": "k8s_00033_qa_484"
  },
  {
    "question": "How does kubectl top work?",
    "answer": "kubectl topSynopsisDisplay resource (CPU/memory) usage.This command provides a view of recent resource consumption for nodes and pods. It fetches metrics from the Metrics Server, which aggregates this data from the kubelet on each node. The Metrics Server must be installed and running in the cluster for this command to work.The metrics shown are specifically optimized for Kubernetes autoscaling decisions, such as those made by the Horizontal Pod Autoscaler (HPA) and Vertical Pod Autoscaler (VPA). Because of this, the values may not match those from standard OS tools like 'top', as the metrics are designed to provide a stable signal for autoscalers rather than for pinpoint accuracy.When to use this command:For on-the-fly spot-checks of resource usage (e.g. identify which pods are consuming the most resources at a glance, or get a quick sense of the load on your nodes)Understand current resource consumption patternsValidate the behavior of your HPA or VPA configurations by seeing the metrics they use for scaling decisions.It is not intended to be a replacement for full-featured monitoring solutions. Its primary design goal is to provide a low-overhead signal for autoscalers, not to be a perfectly accurate monitoring tool. For high-accuracy reporting, historical analysis, dashboarding, or alerting, you should use a dedicated monitoring solution.kubectl top [flags] Options-h, --helphelp for topParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/",
    "id": "k8s_00033_qa_485"
  },
  {
    "question": "When would you use kubectl top?",
    "answer": "kubectl topSynopsisDisplay resource (CPU/memory) usage.This command provides a view of recent resource consumption for nodes and pods. It fetches metrics from the Metrics Server, which aggregates this data from the kubelet on each node. The Metrics Server must be installed and running in the cluster for this command to work.The metrics shown are specifically optimized for Kubernetes autoscaling decisions, such as those made by the Horizontal Pod Autoscaler (HPA) and Vertical Pod Autoscaler (VPA). Because of this, the values may not match those from standard OS tools like 'top', as the metrics are designed to provide a stable signal for autoscalers rather than for pinpoint accuracy.When to use this command:For on-the-fly spot-checks of resource usage (e.g. identify which pods are consuming the most resources at a glance, or get a quick sense of the load on your nodes)Understand current resource consumption patternsValidate the behavior of your HPA or VPA configurations by seeing the metrics they use for scaling decisions.It is not intended to be a replacement for full-featured monitoring solutions. Its primary design goal is to provide a low-overhead signal for autoscalers, not to be a perfectly accurate monitoring tool. For high-accuracy reporting, historical analysis, dashboarding, or alerting, you should use a dedicated monitoring solution.kubectl top [flags] Options-h, --helphelp for topParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/",
    "id": "k8s_00033_qa_486"
  },
  {
    "question": "What are the benefits of kubectl top?",
    "answer": "kubectl topSynopsisDisplay resource (CPU/memory) usage.This command provides a view of recent resource consumption for nodes and pods. It fetches metrics from the Metrics Server, which aggregates this data from the kubelet on each node. The Metrics Server must be installed and running in the cluster for this command to work.The metrics shown are specifically optimized for Kubernetes autoscaling decisions, such as those made by the Horizontal Pod Autoscaler (HPA) and Vertical Pod Autoscaler (VPA). Because of this, the values may not match those from standard OS tools like 'top', as the metrics are designed to provide a stable signal for autoscalers rather than for pinpoint accuracy.When to use this command:For on-the-fly spot-checks of resource usage (e.g. identify which pods are consuming the most resources at a glance, or get a quick sense of the load on your nodes)Understand current resource consumption patternsValidate the behavior of your HPA or VPA configurations by seeing the metrics they use for scaling decisions.It is not intended to be a replacement for full-featured monitoring solutions. Its primary design goal is to provide a low-overhead signal for autoscalers, not to be a perfectly accurate monitoring tool. For high-accuracy reporting, historical analysis, dashboarding, or alerting, you should use a dedicated monitoring solution.kubectl top [flags] Options-h, --helphelp for topParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/",
    "id": "k8s_00033_qa_487"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   r e s o u r c e   ( C P U / m e m o r y )   u s a g e .   T h i s   c o m m a n d   p r o v i d e s   a   v i e w   o f   r e c e n t   r e s o u r c e   c o n s u m p t i o n   f o r   n o d e s   a n d   p o d s .   I t   f e t c h e s   m e t r i c s   f r o m   t h e   M e t r i c s   S e r v e r ,   w h i c h   a g g r e g a t e s   t h i s   d a t a   f r o m   t h e   k u b e l e t   o n   e a c h   n o d e .   T h e   M e t r i c s   S e r v e r   m u s t   b e   i n s t a l l e d   a n d   r u n n i n g   i n   t h e   c l u s t e r   f o r   t h i s   c o m m a n d   t o   w o r k .   T h e   m e t r i c s   s h o w n   a r e   s p e c i f i c a l l y   o p t i m i z e d   f o r   K u b e r n e t e s   a u t o s c a l i n g   d e c i s i o n s ,   s u c h   a s   t h o s e   m a d e   b y   t h e   H o r i z o n t a l   P o d   A u t o s c a l e r   ( H P A )   a n d   V e r t i c a l   P o d   A u t o s c a l e r   ( V P A ) .   B e c a u s e   o f   t h i s ,   t h e   v a l u e s   m a y   n o t   m a t c h   t h o s e   f r o m   s t a n d a r d   O S   t o o l s   l i k e   ' t o p ' ,   a s   t h e   m e t r i c s   a r e   d e s i g n e d   t o   p r o v i d e   a   s t a b l e   s i g n a l   f o r   a u t o s c a l e r s   r a t h e r   t h a n   f o r   p i n p o i n t   a c c u r a c y .   W h e n   t o   u s e   t h i s   c o m m a n d :   F o r   o n - t h e - f l y   s p o t - c h e c k s   o f   r e s o u r c e   u s a g e   ( e . g .   i d e n t i f y   w h i c h   p o d s   a r e   c o n s u m i n g   t h e   m o s t   r e s o u r c e s   a t   a   g l a n c e ,   o r   g e t   a   q u i c k   s e n s e   o f   t h e   l o a d   o n   y o u r   n o d e s ) U n d e r s t a n d   c u r r e n t   r e s o u r c e   c o n s u m p t i o n   p a t t e r n s V a l i d a t e   t h e   b e h a v i o r   o f   y o u r   H P A   o r   V P A   c o n f i g u r a t i o n s   b y   s e e i n g   t h e   m e t r i c s   t h e y   u s e   f ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/",
    "id": "k8s_00033_section_2_488"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   t o p",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/",
    "id": "k8s_00033_section_2_489"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/",
    "id": "k8s_00033_section_2_490"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   t o p   n o d e   -   D i s p l a y   r e s o u r c e   ( C P U / m e m o r y )   u s a g e   o f   n o d e s k u b e c t l   t o p   p o d   -   D i s p l a y   r e s o u r c e   ( C P U / m e m o r y )   u s a g e   o f   p o d s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/",
    "id": "k8s_00033_section_2_491"
  },
  {
    "question": "What is kubectl version?",
    "answer": "kubectl versionSynopsisPrint the client and server version information for the current context.kubectl version [flags] Examples # Print the client and server versions for the current context kubectl version Options--clientIf true, shows client version only (no server required).-h, --helphelp for version-o, --output stringOne of 'yaml' or 'json'.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user string",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_version/",
    "id": "k8s_00034_qa_492"
  },
  {
    "question": "How does kubectl version work?",
    "answer": "kubectl versionSynopsisPrint the client and server version information for the current context.kubectl version [flags] Examples # Print the client and server versions for the current context kubectl version Options--clientIf true, shows client version only (no server required).-h, --helphelp for version-o, --output stringOne of 'yaml' or 'json'.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user string",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_version/",
    "id": "k8s_00034_qa_493"
  },
  {
    "question": "When would you use kubectl version?",
    "answer": "kubectl versionSynopsisPrint the client and server version information for the current context.kubectl version [flags] Examples # Print the client and server versions for the current context kubectl version Options--clientIf true, shows client version only (no server required).-h, --helphelp for version-o, --output stringOne of 'yaml' or 'json'.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user string",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_version/",
    "id": "k8s_00034_qa_494"
  },
  {
    "question": "What are the benefits of kubectl version?",
    "answer": "kubectl versionSynopsisPrint the client and server version information for the current context.kubectl version [flags] Examples # Print the client and server versions for the current context kubectl version Options--clientIf true, shows client version only (no server required).-h, --helphelp for version-o, --output stringOne of 'yaml' or 'json'.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user string",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_version/",
    "id": "k8s_00034_qa_495"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r i n t   t h e   c l i e n t   a n d   s e r v e r   v e r s i o n   i n f o r m a t i o n   f o r   t h e   c u r r e n t   c o n t e x t .   k u b e c t l   v e r s i o n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_version/",
    "id": "k8s_00034_section_2_496"
  },
  {
    "question": "What is Examples?",
    "answer": "#   P r i n t   t h e   c l i e n t   a n d   s e r v e r   v e r s i o n s   f o r   t h e   c u r r e n t   c o n t e x t   k u b e c t l   v e r s i o n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_version/",
    "id": "k8s_00034_section_2_497"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   s h o w s   c l i e n t   v e r s i o n   o n l y   ( n o   s e r v e r   r e q u i r e d ) .   h e l p   f o r   v e r s i o n   O n e   o f   ' y a m l '   o r   ' j s o n ' .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_version/",
    "id": "k8s_00034_section_2_498"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_version/",
    "id": "k8s_00034_section_2_499"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_version/",
    "id": "k8s_00034_section_2_500"
  },
  {
    "question": "What is Nodes?",
    "answer": "NodesKubernetes runs your workload by placing containers into Pods to run on Nodes. A node may be a virtual or physical machine, depending on the cluster. Each node is managed by the control plane and contains the services necessary to run Pods.Typically you have several nodes in a cluster; in a learning or resource-limited environment, you might have only one node.The components on a node include the kubelet, a container runtime, and the kube-proxy.ManagementThere are two main ways to have Nodes added to the API server:The kubelet on a node self-registers to the control planeYou (or another human user) manually add a Node objectAfter you create a Node object, or the kubelet on a node self-registers, the control plane checks whether the new Node object is valid. For example, if you try to create a Node from the following JSON manifest:{ \"kind\": \"Node\", \"apiVersion\": \"v1\", \"metadata\": { \"name\": \"10.240.79.157\", \"labels\": { \"name\": \"my-first-k8s-node\" } } } Kubernetes creates a Node object internally (the representation). Kubernetes checks that a kubelet has registered to the API server that matches the metadata.name field of the Node. If the node is healthy (i.e. all necessary services are running), then it is eligible to run a Pod. Otherwise, that node is ignored for any cluster activity until it becomes healthy.Note:Kubernetes keeps the object for the invalid Node and continues checking to see whether it becomes healthy.You, or a controller, must explicitly delete the Node object to stop that health checking.The name of a Node object must be a valid DNS subdomain name.Node name uniquenessThe name identifies a Node. Two Nodes cannot have the same name at the same time. Kubernetes also assumes that a resource with the same name is the same object. In case of a Node, it is implicitly assumed that an instance using the same name will have the same state (e.g. network settings, root disk contents) and attributes like node labels. This may lead to inconsistencies if an instance was modified without changing its name. If the Node needs to be replaced or updated significantly, the existing Node object needs to be removed from API server first and re-added after the update.Self-registration of NodesWhen the kubelet flag --register-node is true (the default), the kubelet will attempt to register itself with the API server. This is the preferred pattern, used by most distros.For self-registration, the kubelet is started with the following options:--kubeconfig - Path to credentials to authenticate itself to the API server.--cloud-provider - How to talk to a cloud provider to read metadata about itself.--register-node - Automatically register with the API server.--register-with-taints - Register the node with the given list of taints (comma separated <key>=<value>:<effect>).No-op if register-node is false.--node-ip - Optional comma-separated list of the IP addresses for the node. You can only specify a single address for each address family. For example, in ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/nodes/",
    "id": "k8s_00035_qa_501"
  },
  {
    "question": "How does Nodes work?",
    "answer": "NodesKubernetes runs your workload by placing containers into Pods to run on Nodes. A node may be a virtual or physical machine, depending on the cluster. Each node is managed by the control plane and contains the services necessary to run Pods.Typically you have several nodes in a cluster; in a learning or resource-limited environment, you might have only one node.The components on a node include the kubelet, a container runtime, and the kube-proxy.ManagementThere are two main ways to have Nodes added to the API server:The kubelet on a node self-registers to the control planeYou (or another human user) manually add a Node objectAfter you create a Node object, or the kubelet on a node self-registers, the control plane checks whether the new Node object is valid. For example, if you try to create a Node from the following JSON manifest:{ \"kind\": \"Node\", \"apiVersion\": \"v1\", \"metadata\": { \"name\": \"10.240.79.157\", \"labels\": { \"name\": \"my-first-k8s-node\" } } } Kubernetes creates a Node object internally (the representation). Kubernetes checks that a kubelet has registered to the API server that matches the metadata.name field of the Node. If the node is healthy (i.e. all necessary services are running), then it is eligible to run a Pod. Otherwise, that node is ignored for any cluster activity until it becomes healthy.Note:Kubernetes keeps the object for the invalid Node and continues checking to see whether it becomes healthy.You, or a controller, must explicitly delete the Node object to stop that health checking.The name of a Node object must be a valid DNS subdomain name.Node name uniquenessThe name identifies a Node. Two Nodes cannot have the same name at the same time. Kubernetes also assumes that a resource with the same name is the same object. In case of a Node, it is implicitly assumed that an instance using the same name will have the same state (e.g. network settings, root disk contents) and attributes like node labels. This may lead to inconsistencies if an instance was modified without changing its name. If the Node needs to be replaced or updated significantly, the existing Node object needs to be removed from API server first and re-added after the update.Self-registration of NodesWhen the kubelet flag --register-node is true (the default), the kubelet will attempt to register itself with the API server. This is the preferred pattern, used by most distros.For self-registration, the kubelet is started with the following options:--kubeconfig - Path to credentials to authenticate itself to the API server.--cloud-provider - How to talk to a cloud provider to read metadata about itself.--register-node - Automatically register with the API server.--register-with-taints - Register the node with the given list of taints (comma separated <key>=<value>:<effect>).No-op if register-node is false.--node-ip - Optional comma-separated list of the IP addresses for the node. You can only specify a single address for each address family. For example, in ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/nodes/",
    "id": "k8s_00035_qa_502"
  },
  {
    "question": "When would you use Nodes?",
    "answer": "NodesKubernetes runs your workload by placing containers into Pods to run on Nodes. A node may be a virtual or physical machine, depending on the cluster. Each node is managed by the control plane and contains the services necessary to run Pods.Typically you have several nodes in a cluster; in a learning or resource-limited environment, you might have only one node.The components on a node include the kubelet, a container runtime, and the kube-proxy.ManagementThere are two main ways to have Nodes added to the API server:The kubelet on a node self-registers to the control planeYou (or another human user) manually add a Node objectAfter you create a Node object, or the kubelet on a node self-registers, the control plane checks whether the new Node object is valid. For example, if you try to create a Node from the following JSON manifest:{ \"kind\": \"Node\", \"apiVersion\": \"v1\", \"metadata\": { \"name\": \"10.240.79.157\", \"labels\": { \"name\": \"my-first-k8s-node\" } } } Kubernetes creates a Node object internally (the representation). Kubernetes checks that a kubelet has registered to the API server that matches the metadata.name field of the Node. If the node is healthy (i.e. all necessary services are running), then it is eligible to run a Pod. Otherwise, that node is ignored for any cluster activity until it becomes healthy.Note:Kubernetes keeps the object for the invalid Node and continues checking to see whether it becomes healthy.You, or a controller, must explicitly delete the Node object to stop that health checking.The name of a Node object must be a valid DNS subdomain name.Node name uniquenessThe name identifies a Node. Two Nodes cannot have the same name at the same time. Kubernetes also assumes that a resource with the same name is the same object. In case of a Node, it is implicitly assumed that an instance using the same name will have the same state (e.g. network settings, root disk contents) and attributes like node labels. This may lead to inconsistencies if an instance was modified without changing its name. If the Node needs to be replaced or updated significantly, the existing Node object needs to be removed from API server first and re-added after the update.Self-registration of NodesWhen the kubelet flag --register-node is true (the default), the kubelet will attempt to register itself with the API server. This is the preferred pattern, used by most distros.For self-registration, the kubelet is started with the following options:--kubeconfig - Path to credentials to authenticate itself to the API server.--cloud-provider - How to talk to a cloud provider to read metadata about itself.--register-node - Automatically register with the API server.--register-with-taints - Register the node with the given list of taints (comma separated <key>=<value>:<effect>).No-op if register-node is false.--node-ip - Optional comma-separated list of the IP addresses for the node. You can only specify a single address for each address family. For example, in ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/nodes/",
    "id": "k8s_00035_qa_503"
  },
  {
    "question": "What are the benefits of Nodes?",
    "answer": "NodesKubernetes runs your workload by placing containers into Pods to run on Nodes. A node may be a virtual or physical machine, depending on the cluster. Each node is managed by the control plane and contains the services necessary to run Pods.Typically you have several nodes in a cluster; in a learning or resource-limited environment, you might have only one node.The components on a node include the kubelet, a container runtime, and the kube-proxy.ManagementThere are two main ways to have Nodes added to the API server:The kubelet on a node self-registers to the control planeYou (or another human user) manually add a Node objectAfter you create a Node object, or the kubelet on a node self-registers, the control plane checks whether the new Node object is valid. For example, if you try to create a Node from the following JSON manifest:{ \"kind\": \"Node\", \"apiVersion\": \"v1\", \"metadata\": { \"name\": \"10.240.79.157\", \"labels\": { \"name\": \"my-first-k8s-node\" } } } Kubernetes creates a Node object internally (the representation). Kubernetes checks that a kubelet has registered to the API server that matches the metadata.name field of the Node. If the node is healthy (i.e. all necessary services are running), then it is eligible to run a Pod. Otherwise, that node is ignored for any cluster activity until it becomes healthy.Note:Kubernetes keeps the object for the invalid Node and continues checking to see whether it becomes healthy.You, or a controller, must explicitly delete the Node object to stop that health checking.The name of a Node object must be a valid DNS subdomain name.Node name uniquenessThe name identifies a Node. Two Nodes cannot have the same name at the same time. Kubernetes also assumes that a resource with the same name is the same object. In case of a Node, it is implicitly assumed that an instance using the same name will have the same state (e.g. network settings, root disk contents) and attributes like node labels. This may lead to inconsistencies if an instance was modified without changing its name. If the Node needs to be replaced or updated significantly, the existing Node object needs to be removed from API server first and re-added after the update.Self-registration of NodesWhen the kubelet flag --register-node is true (the default), the kubelet will attempt to register itself with the API server. This is the preferred pattern, used by most distros.For self-registration, the kubelet is started with the following options:--kubeconfig - Path to credentials to authenticate itself to the API server.--cloud-provider - How to talk to a cloud provider to read metadata about itself.--register-node - Automatically register with the API server.--register-with-taints - Register the node with the given list of taints (comma separated <key>=<value>:<effect>).No-op if register-node is false.--node-ip - Optional comma-separated list of the IP addresses for the node. You can only specify a single address for each address family. For example, in ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/nodes/",
    "id": "k8s_00035_qa_504"
  },
  {
    "question": "What is Nodes?",
    "answer": "K u b e r n e t e s   r u n s   y o u r   w o r k l o a d   b y   p l a c i n g   c o n t a i n e r s   i n t o   P o d s   t o   r u n   o n   N o d e s .   A   n o d e   m a y   b e   a   v i r t u a l   o r   p h y s i c a l   m a c h i n e ,   d e p e n d i n g   o n   t h e   c l u s t e r .   E a c h   n o d e   i s   m a n a g e d   b y   t h e   c o n t r o l   p l a n e   a n d   c o n t a i n s   t h e   s e r v i c e s   n e c e s s a r y   t o   r u n   P o d s .   T y p i c a l l y   y o u   h a v e   s e v e r a l   n o d e s   i n   a   c l u s t e r ;   i n   a   l e a r n i n g   o r   r e s o u r c e - l i m i t e d   e n v i r o n m e n t ,   y o u   m i g h t   h a v e   o n l y   o n e   n o d e .   T h e   c o m p o n e n t s   o n   a   n o d e   i n c l u d e   t h e   k u b e l e t ,   a   c o n t a i n e r   r u n t i m e ,   a n d   t h e   k u b e - p r o x y .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/nodes/",
    "id": "k8s_00035_section_1_505"
  },
  {
    "question": "What is Management?",
    "answer": "T h e r e   a r e   t w o   m a i n   w a y s   t o   h a v e   N o d e s   a d d e d   t o   t h e   A P I   s e r v e r :   T h e   k u b e l e t   o n   a   n o d e   s e l f - r e g i s t e r s   t o   t h e   c o n t r o l   p l a n e Y o u   ( o r   a n o t h e r   h u m a n   u s e r )   m a n u a l l y   a d d   a   N o d e   o b j e c t   A f t e r   y o u   c r e a t e   a   N o d e   o b j e c t ,   o r   t h e   k u b e l e t   o n   a   n o d e   s e l f - r e g i s t e r s ,   t h e   c o n t r o l   p l a n e   c h e c k s   w h e t h e r   t h e   n e w   N o d e   o b j e c t   i s   v a l i d .   F o r   e x a m p l e ,   i f   y o u   t r y   t o   c r e a t e   a   N o d e   f r o m   t h e   f o l l o w i n g   J S O N   m a n i f e s t :   {   \" k i n d \" :   \" N o d e \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" 1 0 . 2 4 0 . 7 9 . 1 5 7 \" ,   \" l a b e l s \" :   {   \" n a m e \" :   \" m y - f i r s t - k 8 s - n o d e \"   }   }   }   K u b e r n e t e s   c r e a t e s   a   N o d e   o b j e c t   i n t e r n a l l y   ( t h e   r e p r e s e n t a t i o n ) .   K u b e r n e t e s   c h e c k s   t h a t   a   k u b e l e t   h a s   r e g i s t e r e d   t o   t h e   A P I   s e r v e r   t h a t   m a t c h e s   t h e   m e t a d a t a . n a m e   f i e l d   o f   t h e   N o d e .   I f   t h e   n o d e   i s   h e a l t h y   ( i . e .   a l l   n e c e s s a r y   s e r v i c e s   a r e   r u n n i n g ) ,   t h e n   i t   i s   e l i g i b l e   t o   r u n   a   P o d .   O t h e r w i s e ,   t h a t   n o d e   i s   i g n o r e d   f o r   a n y   c l u s t e r   a c t i v i t y   u n t i l   i t   b e c o m e s   h e a l t h y .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/nodes/",
    "id": "k8s_00035_section_2_506"
  },
  {
    "question": "What is Note:?",
    "answer": "K u b e r n e t e s   k e e p s   t h e   o b j e c t   f o r   t h e   i n v a l i d   N o d e   a n d   c o n t i n u e s   c h e c k i n g   t o   s e e   w h e t h e r   i t   b e c o m e s   h e a l t h y .   Y o u ,   o r   a   c o n t r o l l e r ,   m u s t   e x p l i c i t l y   d e l e t e   t h e   N o d e   o b j e c t   t o   s t o p   t h a t   h e a l t h   c h e c k i n g .   T h e   n a m e   o f   a   N o d e   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/nodes/",
    "id": "k8s_00035_section_4_507"
  },
  {
    "question": "What is Node name uniqueness?",
    "answer": "T h e   n a m e   i d e n t i f i e s   a   N o d e .   T w o   N o d e s   c a n n o t   h a v e   t h e   s a m e   n a m e   a t   t h e   s a m e   t i m e .   K u b e r n e t e s   a l s o   a s s u m e s   t h a t   a   r e s o u r c e   w i t h   t h e   s a m e   n a m e   i s   t h e   s a m e   o b j e c t .   I n   c a s e   o f   a   N o d e ,   i t   i s   i m p l i c i t l y   a s s u m e d   t h a t   a n   i n s t a n c e   u s i n g   t h e   s a m e   n a m e   w i l l   h a v e   t h e   s a m e   s t a t e   ( e . g .   n e t w o r k   s e t t i n g s ,   r o o t   d i s k   c o n t e n t s )   a n d   a t t r i b u t e s   l i k e   n o d e   l a b e l s .   T h i s   m a y   l e a d   t o   i n c o n s i s t e n c i e s   i f   a n   i n s t a n c e   w a s   m o d i f i e d   w i t h o u t   c h a n g i n g   i t s   n a m e .   I f   t h e   N o d e   n e e d s   t o   b e   r e p l a c e d   o r   u p d a t e d   s i g n i f i c a n t l y ,   t h e   e x i s t i n g   N o d e   o b j e c t   n e e d s   t o   b e   r e m o v e d   f r o m   A P I   s e r v e r   f i r s t   a n d   r e - a d d e d   a f t e r   t h e   u p d a t e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/nodes/",
    "id": "k8s_00035_section_3_508"
  },
  {
    "question": "What is Self-registration of Nodes?",
    "answer": "W h e n   t h e   k u b e l e t   f l a g   - - r e g i s t e r - n o d e   i s   t r u e   ( t h e   d e f a u l t ) ,   t h e   k u b e l e t   w i l l   a t t e m p t   t o   r e g i s t e r   i t s e l f   w i t h   t h e   A P I   s e r v e r .   T h i s   i s   t h e   p r e f e r r e d   p a t t e r n ,   u s e d   b y   m o s t   d i s t r o s .   F o r   s e l f - r e g i s t r a t i o n ,   t h e   k u b e l e t   i s   s t a r t e d   w i t h   t h e   f o l l o w i n g   o p t i o n s :   - - k u b e c o n f i g   -   P a t h   t o   c r e d e n t i a l s   t o   a u t h e n t i c a t e   i t s e l f   t o   t h e   A P I   s e r v e r . - - c l o u d - p r o v i d e r   -   H o w   t o   t a l k   t o   a   c l o u d   p r o v i d e r   t o   r e a d   m e t a d a t a   a b o u t   i t s e l f . - - r e g i s t e r - n o d e   -   A u t o m a t i c a l l y   r e g i s t e r   w i t h   t h e   A P I   s e r v e r . - - r e g i s t e r - w i t h - t a i n t s   -   R e g i s t e r   t h e   n o d e   w i t h   t h e   g i v e n   l i s t   o f   t a i n t s   ( c o m m a   s e p a r a t e d   < k e y > = < v a l u e > : < e f f e c t > ) . N o - o p   i f   r e g i s t e r - n o d e   i s   f a l s e . - - n o d e - i p   -   O p t i o n a l   c o m m a - s e p a r a t e d   l i s t   o f   t h e   I P   a d d r e s s e s   f o r   t h e   n o d e .   Y o u   c a n   o n l y   s p e c i f y   a   s i n g l e   a d d r e s s   f o r   e a c h   a d d r e s s   f a m i l y .   F o r   e x a m p l e ,   i n   a   s i n g l e - s t a c k   I P v 4   c l u s t e r ,   y o u   s e t   t h i s   v a l u e   t o   b e   t h e   I P v 4   a d d r e s s   t h a t   t h e   k u b e l e t   s h o u l d   u s e   f o r   t h e   n o d e .   S e e   c o n f i g u r e   I P v 4 / I P v 6   d u a l   s t a c k   f o r   d e t a i l s   o f   r u n n i n g   a   d u a l - s t a c k   c l u s t e r . I f   y o u   d o n ' t   p r o v i d e   t h i s   a r g u m e n t ,   ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/nodes/",
    "id": "k8s_00035_section_3_509"
  },
  {
    "question": "What is Note:?",
    "answer": "A s   m e n t i o n e d   i n   t h e   N o d e   n a m e   u n i q u e n e s s   s e c t i o n ,   w h e n   N o d e   c o n f i g u r a t i o n   n e e d s   t o   b e   u p d a t e d ,   i t   i s   a   g o o d   p r a c t i c e   t o   r e - r e g i s t e r   t h e   n o d e   w i t h   t h e   A P I   s e r v e r .   F o r   e x a m p l e ,   i f   t h e   k u b e l e t   i s   b e i n g   r e s t a r t e d   w i t h   a   n e w   s e t   o f   - - n o d e - l a b e l s ,   b u t   t h e   s a m e   N o d e   n a m e   i s   u s e d ,   t h e   c h a n g e   w i l l   n o t   t a k e   e f f e c t ,   a s   l a b e l s   a r e   o n l y   s e t   ( o r   m o d i f i e d )   u p o n   N o d e   r e g i s t r a t i o n   w i t h   t h e   A P I   s e r v e r .   P o d s   a l r e a d y   s c h e d u l e d   o n   t h e   N o d e   m a y   m i s b e h a v e   o r   c a u s e   i s s u e s   i f   t h e   N o d e   c o n f i g u r a t i o n   w i l l   b e   c h a n g e d   o n   k u b e l e t   r e s t a r t .   F o r   e x a m p l e ,   a l r e a d y   r u n n i n g   P o d   m a y   b e   t a i n t e d   a g a i n s t   t h e   n e w   l a b e l s   a s s i g n e d   t o   t h e   N o d e ,   w h i l e   o t h e r   P o d s ,   t h a t   a r e   i n c o m p a t i b l e   w i t h   t h a t   P o d   w i l l   b e   s c h e d u l e d   b a s e d   o n   t h i s   n e w   l a b e l .   N o d e   r e - r e g i s t r a t i o n   e n s u r e s   a l l   P o d s   w i l l   b e   d r a i n e d   a n d   p r o p e r l y   r e - s c h e d u l e d .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/nodes/",
    "id": "k8s_00035_section_4_510"
  },
  {
    "question": "What is Manual Node administration?",
    "answer": "Y o u   c a n   c r e a t e   a n d   m o d i f y   N o d e   o b j e c t s   u s i n g   k u b e c t l .   W h e n   y o u   w a n t   t o   c r e a t e   N o d e   o b j e c t s   m a n u a l l y ,   s e t   t h e   k u b e l e t   f l a g   - - r e g i s t e r - n o d e = f a l s e .   Y o u   c a n   m o d i f y   N o d e   o b j e c t s   r e g a r d l e s s   o f   t h e   s e t t i n g   o f   - - r e g i s t e r - n o d e .   F o r   e x a m p l e ,   y o u   c a n   s e t   l a b e l s   o n   a n   e x i s t i n g   N o d e   o r   m a r k   i t   u n s c h e d u l a b l e .   Y o u   c a n   s e t   o p t i o n a l   n o d e   r o l e ( s )   f o r   n o d e s   b y   a d d i n g   o n e   o r   m o r e   n o d e - r o l e . k u b e r n e t e s . i o / < r o l e > :   < r o l e >   l a b e l s   t o   t h e   n o d e   w h e r e   c h a r a c t e r s   o f   < r o l e >   a r e   l i m i t e d   b y   t h e   s y n t a x   r u l e s   f o r   l a b e l s .   K u b e r n e t e s   i g n o r e s   t h e   l a b e l   v a l u e   f o r   n o d e   r o l e s ;   b y   c o n v e n t i o n ,   y o u   c a n   s e t   i t   t o   t h e   s a m e   s t r i n g   y o u   u s e d   f o r   t h e   n o d e   r o l e   i n   t h e   l a b e l   k e y .   Y o u   c a n   u s e   l a b e l s   o n   N o d e s   i n   c o n j u n c t i o n   w i t h   n o d e   s e l e c t o r s   o n   P o d s   t o   c o n t r o l   s c h e d u l i n g .   F o r   e x a m p l e ,   y o u   c a n   c o n s t r a i n   a   P o d   t o   o n l y   b e   e l i g i b l e   t o   r u n   o n   a   s u b s e t   o f   t h e   a v a i l a b l e   n o d e s .   M a r k i n g   a   n o d e   a s   u n s c h e d u l a b l e   p r e v e n t s   t h e   s c h e d u l e r   f r o m   p l a c i n g   n e w   p o d s   o n t o   t h a t   N o d e   b u t   d o e s   n o t   a f f e c t   e x i s t i n g   P o d s   o n   t h e   N o d e .   T h i s   i s   u s e f u l   a s   a   p r e p a r a t o r ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/nodes/",
    "id": "k8s_00035_section_3_511"
  },
  {
    "question": "What is Node status?",
    "answer": "A   N o d e ' s   s t a t u s   c o n t a i n s   t h e   f o l l o w i n g   i n f o r m a t i o n :   A d d r e s s e s C o n d i t i o n s C a p a c i t y   a n d   A l l o c a t a b l e I n f o   Y o u   c a n   u s e   k u b e c t l   t o   v i e w   a   N o d e ' s   s t a t u s   a n d   o t h e r   d e t a i l s :   k u b e c t l   d e s c r i b e   n o d e   < i n s e r t - n o d e - n a m e - h e r e >   S e e   N o d e   S t a t u s   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/nodes/",
    "id": "k8s_00035_section_2_512"
  },
  {
    "question": "What is Node heartbeats?",
    "answer": "H e a r t b e a t s ,   s e n t   b y   K u b e r n e t e s   n o d e s ,   h e l p   y o u r   c l u s t e r   d e t e r m i n e   t h e   a v a i l a b i l i t y   o f   e a c h   n o d e ,   a n d   t o   t a k e   a c t i o n   w h e n   f a i l u r e s   a r e   d e t e c t e d .   F o r   n o d e s   t h e r e   a r e   t w o   f o r m s   o f   h e a r t b e a t s :   U p d a t e s   t o   t h e   . s t a t u s   o f   a   N o d e . L e a s e   o b j e c t s   w i t h i n   t h e   k u b e - n o d e - l e a s e   n a m e s p a c e .   E a c h   N o d e   h a s   a n   a s s o c i a t e d   L e a s e   o b j e c t .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/nodes/",
    "id": "k8s_00035_section_2_513"
  },
  {
    "question": "What is Node controller?",
    "answer": "T h e   n o d e   c o n t r o l l e r   i s   a   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t   t h a t   m a n a g e s   v a r i o u s   a s p e c t s   o f   n o d e s .   T h e   n o d e   c o n t r o l l e r   h a s   m u l t i p l e   r o l e s   i n   a   n o d e ' s   l i f e .   T h e   f i r s t   i s   a s s i g n i n g   a   C I D R   b l o c k   t o   t h e   n o d e   w h e n   i t   i s   r e g i s t e r e d   ( i f   C I D R   a s s i g n m e n t   i s   t u r n e d   o n ) .   T h e   s e c o n d   i s   k e e p i n g   t h e   n o d e   c o n t r o l l e r ' s   i n t e r n a l   l i s t   o f   n o d e s   u p   t o   d a t e   w i t h   t h e   c l o u d   p r o v i d e r ' s   l i s t   o f   a v a i l a b l e   m a c h i n e s .   W h e n   r u n n i n g   i n   a   c l o u d   e n v i r o n m e n t   a n d   w h e n e v e r   a   n o d e   i s   u n h e a l t h y ,   t h e   n o d e   c o n t r o l l e r   a s k s   t h e   c l o u d   p r o v i d e r   i f   t h e   V M   f o r   t h a t   n o d e   i s   s t i l l   a v a i l a b l e .   I f   n o t ,   t h e   n o d e   c o n t r o l l e r   d e l e t e s   t h e   n o d e   f r o m   i t s   l i s t   o f   n o d e s .   T h e   t h i r d   i s   m o n i t o r i n g   t h e   n o d e s '   h e a l t h .   T h e   n o d e   c o n t r o l l e r   i s   r e s p o n s i b l e   f o r :   I n   t h e   c a s e   t h a t   a   n o d e   b e c o m e s   u n r e a c h a b l e ,   u p d a t i n g   t h e   R e a d y   c o n d i t i o n   i n   t h e   N o d e ' s   . s t a t u s   f i e l d .   I n   t h i s   c a s e   t h e   n o d e   c o n t r o l l e r   s e t s   t h e   R e a d y   c o n d i t i o n   t o   U n k n o w n . I f   a   n o d e   r e m a i n s   u n r e a c h a b l e :   t r i g g e r i n g   A P I - i n i t i a t e d   e v i c t i o n   f o r   a l l   o f   t h e   P o d s   o n   t h e   u n r e a c h a b l e   n o d e .   B y   d e f a u l t ,   t h e ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/nodes/",
    "id": "k8s_00035_section_2_514"
  },
  {
    "question": "What is Rate limits on eviction?",
    "answer": "I n   m o s t   c a s e s ,   t h e   n o d e   c o n t r o l l e r   l i m i t s   t h e   e v i c t i o n   r a t e   t o   - - n o d e - e v i c t i o n - r a t e   ( d e f a u l t   0 . 1 )   p e r   s e c o n d ,   m e a n i n g   i t   w o n ' t   e v i c t   p o d s   f r o m   m o r e   t h a n   1   n o d e   p e r   1 0   s e c o n d s .   T h e   n o d e   e v i c t i o n   b e h a v i o r   c h a n g e s   w h e n   a   n o d e   i n   a   g i v e n   a v a i l a b i l i t y   z o n e   b e c o m e s   u n h e a l t h y .   T h e   n o d e   c o n t r o l l e r   c h e c k s   w h a t   p e r c e n t a g e   o f   n o d e s   i n   t h e   z o n e   a r e   u n h e a l t h y   ( t h e   R e a d y   c o n d i t i o n   i s   U n k n o w n   o r   F a l s e )   a t   t h e   s a m e   t i m e :   I f   t h e   f r a c t i o n   o f   u n h e a l t h y   n o d e s   i s   a t   l e a s t   - - u n h e a l t h y - z o n e - t h r e s h o l d   ( d e f a u l t   0 . 5 5 ) ,   t h e n   t h e   e v i c t i o n   r a t e   i s   r e d u c e d . I f   t h e   c l u s t e r   i s   s m a l l   ( i . e .   h a s   l e s s   t h a n   o r   e q u a l   t o   - - l a r g e - c l u s t e r - s i z e - t h r e s h o l d   n o d e s   -   d e f a u l t   5 0 ) ,   t h e n   e v i c t i o n s   a r e   s t o p p e d . O t h e r w i s e ,   t h e   e v i c t i o n   r a t e   i s   r e d u c e d   t o   - - s e c o n d a r y - n o d e - e v i c t i o n - r a t e   ( d e f a u l t   0 . 0 1 )   p e r   s e c o n d .   T h e   r e a s o n   t h e s e   p o l i c i e s   a r e   i m p l e m e n t e d   p e r   a v a i l a b i l i t y   z o n e   i s   b e c a u s e   o n e   a v a i l a b i l i t y   z o n e   m i g h t   b e c o m e   p a r t i t i o n e d   f r o m   t h e   c o n t r o l   p l a n e   w h i l e   t h e   o t h e r s   r e m a i n   c o n n e c t e d .   I f   y o u r   c l u s t e r   d o e s   n o t   s p a n   m u l t i p l e   c l o u d   p r o v i d ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/nodes/",
    "id": "k8s_00035_section_3_515"
  },
  {
    "question": "What is Resource capacity tracking?",
    "answer": "N o d e   o b j e c t s   t r a c k   i n f o r m a t i o n   a b o u t   t h e   N o d e ' s   r e s o u r c e   c a p a c i t y :   f o r   e x a m p l e ,   t h e   a m o u n t   o f   m e m o r y   a v a i l a b l e   a n d   t h e   n u m b e r   o f   C P U s .   N o d e s   t h a t   s e l f   r e g i s t e r   r e p o r t   t h e i r   c a p a c i t y   d u r i n g   r e g i s t r a t i o n .   I f   y o u   m a n u a l l y   a d d   a   N o d e ,   t h e n   y o u   n e e d   t o   s e t   t h e   n o d e ' s   c a p a c i t y   i n f o r m a t i o n   w h e n   y o u   a d d   i t .   T h e   K u b e r n e t e s   s c h e d u l e r   e n s u r e s   t h a t   t h e r e   a r e   e n o u g h   r e s o u r c e s   f o r   a l l   t h e   P o d s   o n   a   N o d e .   T h e   s c h e d u l e r   c h e c k s   t h a t   t h e   s u m   o f   t h e   r e q u e s t s   o f   c o n t a i n e r s   o n   t h e   n o d e   i s   n o   g r e a t e r   t h a n   t h e   n o d e ' s   c a p a c i t y .   T h a t   s u m   o f   r e q u e s t s   i n c l u d e s   a l l   c o n t a i n e r s   m a n a g e d   b y   t h e   k u b e l e t ,   b u t   e x c l u d e s   a n y   c o n t a i n e r s   s t a r t e d   d i r e c t l y   b y   t h e   c o n t a i n e r   r u n t i m e ,   a n d   a l s o   e x c l u d e s   a n y   p r o c e s s e s   r u n n i n g   o u t s i d e   o f   t h e   k u b e l e t ' s   c o n t r o l .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/nodes/",
    "id": "k8s_00035_section_2_516"
  },
  {
    "question": "What is Node topology?",
    "answer": "I f   y o u   h a v e   e n a b l e d   t h e   T o p o l o g y M a n a g e r   f e a t u r e   g a t e ,   t h e n   t h e   k u b e l e t   c a n   u s e   t o p o l o g y   h i n t s   w h e n   m a k i n g   r e s o u r c e   a s s i g n m e n t   d e c i s i o n s .   S e e   C o n t r o l   T o p o l o g y   M a n a g e m e n t   P o l i c i e s   o n   a   N o d e   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/nodes/",
    "id": "k8s_00035_section_2_517"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   t h e   f o l l o w i n g :   C o m p o n e n t s   t h a t   m a k e   u p   a   n o d e . A P I   d e f i n i t i o n   f o r   N o d e . N o d e   s e c t i o n   o f   t h e   a r c h i t e c t u r e   d e s i g n   d o c u m e n t . G r a c e f u l / n o n - g r a c e f u l   n o d e   s h u t d o w n . N o d e   a u t o s c a l i n g   t o   m a n a g e   t h e   n u m b e r   a n d   s i z e   o f   n o d e s   i n   y o u r   c l u s t e r . T a i n t s   a n d   T o l e r a t i o n s . N o d e   R e s o u r c e   M a n a g e r s . R e s o u r c e   M a n a g e m e n t   f o r   W i n d o w s   n o d e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/nodes/",
    "id": "k8s_00035_section_2_518"
  },
  {
    "question": "What is Distribute Credentials Securely Using Secrets?",
    "answer": "Distribute Credentials Securely Using SecretsThis page shows how to securely inject sensitive data, such as passwords and encryption keys, into Pods.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesConvert your secret data to a base-64 representationSuppose you want to have two pieces of secret data: a username my-app and a password 39528$vdg7Jb. First, use a base64 encoding tool to convert your username and password to a base64 representation. Here's an example using the commonly available base64 program:echo -n 'my-app' | base64 echo -n '39528$vdg7Jb' | base64 The output shows that the base-64 representation of your username is bXktYXBw, and the base-64 representation of your password is Mzk1MjgkdmRnN0pi.Caution:Use a local tool trusted by your OS to decrease the security risks of external tools.Create a SecretHere is a configuration file you can use to create a Secret that holds your username and password:pods/inject/secret.yaml apiVersion: v1 kind: Secret metadata: name: test-secret data: username: bXktYXBw password: Mzk1MjgkdmRnN0pi Create the Secretkubectl apply -f https://k8s.io/examples/pods/inject/secret.yaml View information about the Secret:kubectl get secret test-secret Output:NAME TYPE DATA AGE test-secret Opaque 2 1m View more detailed information about the Secret:kubectl describe secret test-secret Output:Name: test-secret Namespace: default Labels: <none> Annotations: <none> Type: Opaque Data ==== password: 13 bytes username: 7 bytes Create a Secret directly with kubectlIf you want to skip the Base64 encoding step, you can create the same Secret using the kubectl create secret command. For example:kubectl create secret generic test-secret --from-literal='username=my-app' --from-literal='password=39528$vdg7Jb' This is more convenient. The detailed approach shown earlier runs through each step explicitly to demonstrate what is happening.Create a Pod that has access to the secret data through a VolumeHere is a configuration file you can use to create a Pod:pods/inject/secret-pod.yaml apiVersion: v1 kind: Pod metadata: name: secret-test-pod spec: containers: - name: test-container image: nginx volumeMounts: # name must match the volume name below - name: secret-volume mountPath: /etc/secret-volume readOnly: true # The secret data is exposed to Containers in the Pod through a Volume. volumes: - name: secret-volume secret: secretName: test-secret Create the Pod:kubectl apply -f https://k8s.io/examples/pods/inject/secret-pod.yaml Verify that your Pod is running:kubectl get pod secret-test-pod Output:NAME READY STATUS RESTARTS AGE secret-test-pod 1/1 Runni",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/distribute-credentials-secure/",
    "id": "k8s_00036_qa_519"
  },
  {
    "question": "How does Distribute Credentials Securely Using Secrets work?",
    "answer": "Distribute Credentials Securely Using SecretsThis page shows how to securely inject sensitive data, such as passwords and encryption keys, into Pods.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesConvert your secret data to a base-64 representationSuppose you want to have two pieces of secret data: a username my-app and a password 39528$vdg7Jb. First, use a base64 encoding tool to convert your username and password to a base64 representation. Here's an example using the commonly available base64 program:echo -n 'my-app' | base64 echo -n '39528$vdg7Jb' | base64 The output shows that the base-64 representation of your username is bXktYXBw, and the base-64 representation of your password is Mzk1MjgkdmRnN0pi.Caution:Use a local tool trusted by your OS to decrease the security risks of external tools.Create a SecretHere is a configuration file you can use to create a Secret that holds your username and password:pods/inject/secret.yaml apiVersion: v1 kind: Secret metadata: name: test-secret data: username: bXktYXBw password: Mzk1MjgkdmRnN0pi Create the Secretkubectl apply -f https://k8s.io/examples/pods/inject/secret.yaml View information about the Secret:kubectl get secret test-secret Output:NAME TYPE DATA AGE test-secret Opaque 2 1m View more detailed information about the Secret:kubectl describe secret test-secret Output:Name: test-secret Namespace: default Labels: <none> Annotations: <none> Type: Opaque Data ==== password: 13 bytes username: 7 bytes Create a Secret directly with kubectlIf you want to skip the Base64 encoding step, you can create the same Secret using the kubectl create secret command. For example:kubectl create secret generic test-secret --from-literal='username=my-app' --from-literal='password=39528$vdg7Jb' This is more convenient. The detailed approach shown earlier runs through each step explicitly to demonstrate what is happening.Create a Pod that has access to the secret data through a VolumeHere is a configuration file you can use to create a Pod:pods/inject/secret-pod.yaml apiVersion: v1 kind: Pod metadata: name: secret-test-pod spec: containers: - name: test-container image: nginx volumeMounts: # name must match the volume name below - name: secret-volume mountPath: /etc/secret-volume readOnly: true # The secret data is exposed to Containers in the Pod through a Volume. volumes: - name: secret-volume secret: secretName: test-secret Create the Pod:kubectl apply -f https://k8s.io/examples/pods/inject/secret-pod.yaml Verify that your Pod is running:kubectl get pod secret-test-pod Output:NAME READY STATUS RESTARTS AGE secret-test-pod 1/1 Runni",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/distribute-credentials-secure/",
    "id": "k8s_00036_qa_520"
  },
  {
    "question": "When would you use Distribute Credentials Securely Using Secrets?",
    "answer": "Distribute Credentials Securely Using SecretsThis page shows how to securely inject sensitive data, such as passwords and encryption keys, into Pods.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesConvert your secret data to a base-64 representationSuppose you want to have two pieces of secret data: a username my-app and a password 39528$vdg7Jb. First, use a base64 encoding tool to convert your username and password to a base64 representation. Here's an example using the commonly available base64 program:echo -n 'my-app' | base64 echo -n '39528$vdg7Jb' | base64 The output shows that the base-64 representation of your username is bXktYXBw, and the base-64 representation of your password is Mzk1MjgkdmRnN0pi.Caution:Use a local tool trusted by your OS to decrease the security risks of external tools.Create a SecretHere is a configuration file you can use to create a Secret that holds your username and password:pods/inject/secret.yaml apiVersion: v1 kind: Secret metadata: name: test-secret data: username: bXktYXBw password: Mzk1MjgkdmRnN0pi Create the Secretkubectl apply -f https://k8s.io/examples/pods/inject/secret.yaml View information about the Secret:kubectl get secret test-secret Output:NAME TYPE DATA AGE test-secret Opaque 2 1m View more detailed information about the Secret:kubectl describe secret test-secret Output:Name: test-secret Namespace: default Labels: <none> Annotations: <none> Type: Opaque Data ==== password: 13 bytes username: 7 bytes Create a Secret directly with kubectlIf you want to skip the Base64 encoding step, you can create the same Secret using the kubectl create secret command. For example:kubectl create secret generic test-secret --from-literal='username=my-app' --from-literal='password=39528$vdg7Jb' This is more convenient. The detailed approach shown earlier runs through each step explicitly to demonstrate what is happening.Create a Pod that has access to the secret data through a VolumeHere is a configuration file you can use to create a Pod:pods/inject/secret-pod.yaml apiVersion: v1 kind: Pod metadata: name: secret-test-pod spec: containers: - name: test-container image: nginx volumeMounts: # name must match the volume name below - name: secret-volume mountPath: /etc/secret-volume readOnly: true # The secret data is exposed to Containers in the Pod through a Volume. volumes: - name: secret-volume secret: secretName: test-secret Create the Pod:kubectl apply -f https://k8s.io/examples/pods/inject/secret-pod.yaml Verify that your Pod is running:kubectl get pod secret-test-pod Output:NAME READY STATUS RESTARTS AGE secret-test-pod 1/1 Runni",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/distribute-credentials-secure/",
    "id": "k8s_00036_qa_521"
  },
  {
    "question": "What are the benefits of Distribute Credentials Securely Using Secrets?",
    "answer": "Distribute Credentials Securely Using SecretsThis page shows how to securely inject sensitive data, such as passwords and encryption keys, into Pods.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesConvert your secret data to a base-64 representationSuppose you want to have two pieces of secret data: a username my-app and a password 39528$vdg7Jb. First, use a base64 encoding tool to convert your username and password to a base64 representation. Here's an example using the commonly available base64 program:echo -n 'my-app' | base64 echo -n '39528$vdg7Jb' | base64 The output shows that the base-64 representation of your username is bXktYXBw, and the base-64 representation of your password is Mzk1MjgkdmRnN0pi.Caution:Use a local tool trusted by your OS to decrease the security risks of external tools.Create a SecretHere is a configuration file you can use to create a Secret that holds your username and password:pods/inject/secret.yaml apiVersion: v1 kind: Secret metadata: name: test-secret data: username: bXktYXBw password: Mzk1MjgkdmRnN0pi Create the Secretkubectl apply -f https://k8s.io/examples/pods/inject/secret.yaml View information about the Secret:kubectl get secret test-secret Output:NAME TYPE DATA AGE test-secret Opaque 2 1m View more detailed information about the Secret:kubectl describe secret test-secret Output:Name: test-secret Namespace: default Labels: <none> Annotations: <none> Type: Opaque Data ==== password: 13 bytes username: 7 bytes Create a Secret directly with kubectlIf you want to skip the Base64 encoding step, you can create the same Secret using the kubectl create secret command. For example:kubectl create secret generic test-secret --from-literal='username=my-app' --from-literal='password=39528$vdg7Jb' This is more convenient. The detailed approach shown earlier runs through each step explicitly to demonstrate what is happening.Create a Pod that has access to the secret data through a VolumeHere is a configuration file you can use to create a Pod:pods/inject/secret-pod.yaml apiVersion: v1 kind: Pod metadata: name: secret-test-pod spec: containers: - name: test-container image: nginx volumeMounts: # name must match the volume name below - name: secret-volume mountPath: /etc/secret-volume readOnly: true # The secret data is exposed to Containers in the Pod through a Volume. volumes: - name: secret-volume secret: secretName: test-secret Create the Pod:kubectl apply -f https://k8s.io/examples/pods/inject/secret-pod.yaml Verify that your Pod is running:kubectl get pod secret-test-pod Output:NAME READY STATUS RESTARTS AGE secret-test-pod 1/1 Runni",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/distribute-credentials-secure/",
    "id": "k8s_00036_qa_522"
  },
  {
    "question": "What is Distribute Credentials Securely Using Secrets?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   s e c u r e l y   i n j e c t   s e n s i t i v e   d a t a ,   s u c h   a s   p a s s w o r d s   a n d   e n c r y p t i o n   k e y s ,   i n t o   P o d s .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/distribute-credentials-secure/",
    "id": "k8s_00036_section_1_523"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/distribute-credentials-secure/",
    "id": "k8s_00036_section_2_524"
  },
  {
    "question": "What is Convert your secret data to a base-64 representation?",
    "answer": "S u p p o s e   y o u   w a n t   t o   h a v e   t w o   p i e c e s   o f   s e c r e t   d a t a :   a   u s e r n a m e   m y - a p p   a n d   a   p a s s w o r d   3 9 5 2 8 $ v d g 7 J b .   F i r s t ,   u s e   a   b a s e 6 4   e n c o d i n g   t o o l   t o   c o n v e r t   y o u r   u s e r n a m e   a n d   p a s s w o r d   t o   a   b a s e 6 4   r e p r e s e n t a t i o n .   H e r e ' s   a n   e x a m p l e   u s i n g   t h e   c o m m o n l y   a v a i l a b l e   b a s e 6 4   p r o g r a m :   e c h o   - n   ' m y - a p p '   |   b a s e 6 4   e c h o   - n   ' 3 9 5 2 8 $ v d g 7 J b '   |   b a s e 6 4   T h e   o u t p u t   s h o w s   t h a t   t h e   b a s e - 6 4   r e p r e s e n t a t i o n   o f   y o u r   u s e r n a m e   i s   b X k t Y X B w ,   a n d   t h e   b a s e - 6 4   r e p r e s e n t a t i o n   o f   y o u r   p a s s w o r d   i s   M z k 1 M j g k d m R n N 0 p i .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/distribute-credentials-secure/",
    "id": "k8s_00036_section_3_525"
  },
  {
    "question": "What is Create a Secret?",
    "answer": "H e r e   i s   a   c o n f i g u r a t i o n   f i l e   y o u   c a n   u s e   t o   c r e a t e   a   S e c r e t   t h a t   h o l d s   y o u r   u s e r n a m e   a n d   p a s s w o r d :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   t e s t - s e c r e t   d a t a :   u s e r n a m e :   b X k t Y X B w   p a s s w o r d :   M z k 1 M j g k d m R n N 0 p i   C r e a t e   t h e   S e c r e t k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i n j e c t / s e c r e t . y a m l   V i e w   i n f o r m a t i o n   a b o u t   t h e   S e c r e t : k u b e c t l   g e t   s e c r e t   t e s t - s e c r e t   O u t p u t : N A M E   T Y P E   D A T A   A G E   t e s t - s e c r e t   O p a q u e   2   1 m   V i e w   m o r e   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   S e c r e t : k u b e c t l   d e s c r i b e   s e c r e t   t e s t - s e c r e t   O u t p u t : N a m e :   t e s t - s e c r e t   N a m e s p a c e :   d e f a u l t   L a b e l s :   < n o n e >   A n n o t a t i o n s :   < n o n e >   T y p e :   O p a q u e   D a t a   = = = =   p a s s w o r d :   1 3   b y t e s   u s e r n a m e :   7   b y t e s   C r e a t e   t h e   S e c r e t   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i n j e c t / s e c r e t . y a m l   V i e w   i n f o r m a t i o n   a b o u t   t h e   S e c r e t :   k u b e c t l   g e t   s e c r e t   t e s t - s e c r e t   O u t p u t :   N A M E   T Y P E   D A T A   A G E   t e s t - s e c r e t   O p a q u e   2   1 m   V i e w   m o r e   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   S e c r e t :   k u b e c t l   d e s c r i b e   s e c r e t   t e s t - s e c r e t   O u t p u t :   N a m e :   t e s t - s e c r e t   N a m e s p a c e :   d e f a u l t   L a b e l s :   < n o n e >   A n n o t a t i o n s :   < n o n e >   T y p e :   O p ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/distribute-credentials-secure/",
    "id": "k8s_00036_section_2_526"
  },
  {
    "question": "What is Create a Secret directly with kubectl?",
    "answer": "I f   y o u   w a n t   t o   s k i p   t h e   B a s e 6 4   e n c o d i n g   s t e p ,   y o u   c a n   c r e a t e   t h e   s a m e   S e c r e t   u s i n g   t h e   k u b e c t l   c r e a t e   s e c r e t   c o m m a n d .   F o r   e x a m p l e :   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   t e s t - s e c r e t   - - f r o m - l i t e r a l = ' u s e r n a m e = m y - a p p '   - - f r o m - l i t e r a l = ' p a s s w o r d = 3 9 5 2 8 $ v d g 7 J b '   T h i s   i s   m o r e   c o n v e n i e n t .   T h e   d e t a i l e d   a p p r o a c h   s h o w n   e a r l i e r   r u n s   t h r o u g h   e a c h   s t e p   e x p l i c i t l y   t o   d e m o n s t r a t e   w h a t   i s   h a p p e n i n g .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/distribute-credentials-secure/",
    "id": "k8s_00036_section_3_527"
  },
  {
    "question": "What is Create a Pod that has access to the secret data through a Volume?",
    "answer": "H e r e   i s   a   c o n f i g u r a t i o n   f i l e   y o u   c a n   u s e   t o   c r e a t e   a   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s e c r e t - t e s t - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   n g i n x   v o l u m e M o u n t s :   #   n a m e   m u s t   m a t c h   t h e   v o l u m e   n a m e   b e l o w   -   n a m e :   s e c r e t - v o l u m e   m o u n t P a t h :   / e t c / s e c r e t - v o l u m e   r e a d O n l y :   t r u e   #   T h e   s e c r e t   d a t a   i s   e x p o s e d   t o   C o n t a i n e r s   i n   t h e   P o d   t h r o u g h   a   V o l u m e .   v o l u m e s :   -   n a m e :   s e c r e t - v o l u m e   s e c r e t :   s e c r e t N a m e :   t e s t - s e c r e t   C r e a t e   t h e   P o d : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i n j e c t / s e c r e t - p o d . y a m l   V e r i f y   t h a t   y o u r   P o d   i s   r u n n i n g : k u b e c t l   g e t   p o d   s e c r e t - t e s t - p o d   O u t p u t : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   s e c r e t - t e s t - p o d   1 / 1   R u n n i n g   0   4 2 m   G e t   a   s h e l l   i n t o   t h e   C o n t a i n e r   t h a t   i s   r u n n i n g   i n   y o u r   P o d : k u b e c t l   e x e c   - i   - t   s e c r e t - t e s t - p o d   - -   / b i n / b a s h   T h e   s e c r e t   d a t a   i s   e x p o s e d   t o   t h e   C o n t a i n e r   t h r o u g h   a   V o l u m e   m o u n t e d   u n d e r   / e t c / s e c r e t - v o l u m e . I n   y o u r   s h e l l ,   l i s t   t h e   f i l e s   i n   t h e   / e t c / s e c r e t - v o l u m e   d i r e c t o r y : #   R u n   t h i s   i n   t h e   s h e l l   i n s i d e   t h e   c o n t a i n e r   l s   / e t c / s e c r e t - v o l u m e   T h e   o u t p u t   s h o w s   t w o   ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/distribute-credentials-secure/",
    "id": "k8s_00036_section_2_528"
  },
  {
    "question": "What is Project Secret keys to specific file paths?",
    "answer": "Y o u   c a n   a l s o   c o n t r o l   t h e   p a t h s   w i t h i n   t h e   v o l u m e   w h e r e   S e c r e t   k e y s   a r e   p r o j e c t e d .   U s e   t h e   . s p e c . v o l u m e s [ ] . s e c r e t . i t e m s   f i e l d   t o   c h a n g e   t h e   t a r g e t   p a t h   o f   e a c h   k e y :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   m y p o d   i m a g e :   r e d i s   v o l u m e M o u n t s :   -   n a m e :   f o o   m o u n t P a t h :   \" / e t c / f o o \"   r e a d O n l y :   t r u e   v o l u m e s :   -   n a m e :   f o o   s e c r e t :   s e c r e t N a m e :   m y s e c r e t   i t e m s :   -   k e y :   u s e r n a m e   p a t h :   m y - g r o u p / m y - u s e r n a m e   W h e n   y o u   d e p l o y   t h i s   P o d ,   t h e   f o l l o w i n g   h a p p e n s :   T h e   u s e r n a m e   k e y   f r o m   m y s e c r e t   i s   a v a i l a b l e   t o   t h e   c o n t a i n e r   a t   t h e   p a t h   / e t c / f o o / m y - g r o u p / m y - u s e r n a m e   i n s t e a d   o f   a t   / e t c / f o o / u s e r n a m e . T h e   p a s s w o r d   k e y   f r o m   t h a t   S e c r e t   o b j e c t   i s   n o t   p r o j e c t e d .   I f   y o u   l i s t   k e y s   e x p l i c i t l y   u s i n g   . s p e c . v o l u m e s [ ] . s e c r e t . i t e m s ,   c o n s i d e r   t h e   f o l l o w i n g :   O n l y   k e y s   s p e c i f i e d   i n   i t e m s   a r e   p r o j e c t e d . T o   c o n s u m e   a l l   k e y s   f r o m   t h e   S e c r e t ,   a l l   o f   t h e m   m u s t   b e   l i s t e d   i n   t h e   i t e m s   f i e l d . A l l   l i s t e d   k e y s   m u s t   e x i s t   i n   t h e   c o r r e s p o n d i n g   S e c r e t .   O t h e r w i s e ,   t h e   v o l u m e   i s   n o t   c r e a t e d .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/distribute-credentials-secure/",
    "id": "k8s_00036_section_3_529"
  },
  {
    "question": "What is Set POSIX permissions for Secret keys?",
    "answer": "Y o u   c a n   s e t   t h e   P O S I X   f i l e   a c c e s s   p e r m i s s i o n   b i t s   f o r   a   s i n g l e   S e c r e t   k e y .   I f   y o u   d o n ' t   s p e c i f y   a n y   p e r m i s s i o n s ,   0 6 4 4   i s   u s e d   b y   d e f a u l t .   Y o u   c a n   a l s o   s e t   a   d e f a u l t   P O S I X   f i l e   m o d e   f o r   t h e   e n t i r e   S e c r e t   v o l u m e ,   a n d   y o u   c a n   o v e r r i d e   p e r   k e y   i f   n e e d e d .   F o r   e x a m p l e ,   y o u   c a n   s p e c i f y   a   d e f a u l t   m o d e   l i k e   t h i s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   m y p o d   i m a g e :   r e d i s   v o l u m e M o u n t s :   -   n a m e :   f o o   m o u n t P a t h :   \" / e t c / f o o \"   v o l u m e s :   -   n a m e :   f o o   s e c r e t :   s e c r e t N a m e :   m y s e c r e t   d e f a u l t M o d e :   0 4 0 0   T h e   S e c r e t   i s   m o u n t e d   o n   / e t c / f o o ;   a l l   t h e   f i l e s   c r e a t e d   b y   t h e   s e c r e t   v o l u m e   m o u n t   h a v e   p e r m i s s i o n   0 4 0 0 .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/distribute-credentials-secure/",
    "id": "k8s_00036_section_3_530"
  },
  {
    "question": "What is Define container environment variables using Secret data?",
    "answer": "Y o u   c a n   c o n s u m e   t h e   d a t a   i n   S e c r e t s   a s   e n v i r o n m e n t   v a r i a b l e s   i n   y o u r   c o n t a i n e r s .   I f   a   c o n t a i n e r   a l r e a d y   c o n s u m e s   a   S e c r e t   i n   a n   e n v i r o n m e n t   v a r i a b l e ,   a   S e c r e t   u p d a t e   w i l l   n o t   b e   s e e n   b y   t h e   c o n t a i n e r   u n l e s s   i t   i s   r e s t a r t e d .   T h e r e   a r e   t h i r d   p a r t y   s o l u t i o n s   f o r   t r i g g e r i n g   r e s t a r t s   w h e n   s e c r e t s   c h a n g e .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/distribute-credentials-secure/",
    "id": "k8s_00036_section_2_531"
  },
  {
    "question": "What is Define a container environment variable with data from a single Secret?",
    "answer": "D e f i n e   a n   e n v i r o n m e n t   v a r i a b l e   a s   a   k e y - v a l u e   p a i r   i n   a   S e c r e t : k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   b a c k e n d - u s e r   - - f r o m - l i t e r a l = b a c k e n d - u s e r n a m e = ' b a c k e n d - a d m i n '   A s s i g n   t h e   b a c k e n d - u s e r n a m e   v a l u e   d e f i n e d   i n   t h e   S e c r e t   t o   t h e   S E C R E T _ U S E R N A M E   e n v i r o n m e n t   v a r i a b l e   i n   t h e   P o d   s p e c i f i c a t i o n . p o d s / i n j e c t / p o d - s i n g l e - s e c r e t - e n v - v a r i a b l e . y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e n v - s i n g l e - s e c r e t   s p e c :   c o n t a i n e r s :   -   n a m e :   e n v a r s - t e s t - c o n t a i n e r   i m a g e :   n g i n x   e n v :   -   n a m e :   S E C R E T _ U S E R N A M E   v a l u e F r o m :   s e c r e t K e y R e f :   n a m e :   b a c k e n d - u s e r   k e y :   b a c k e n d - u s e r n a m e   C r e a t e   t h e   P o d : k u b e c t l   c r e a t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i n j e c t / p o d - s i n g l e - s e c r e t - e n v - v a r i a b l e . y a m l   I n   y o u r   s h e l l ,   d i s p l a y   t h e   c o n t e n t   o f   S E C R E T _ U S E R N A M E   c o n t a i n e r   e n v i r o n m e n t   v a r i a b l e . k u b e c t l   e x e c   - i   - t   e n v - s i n g l e - s e c r e t   - -   / b i n / s h   - c   ' e c h o   $ S E C R E T _ U S E R N A M E '   T h e   o u t p u t   i s   s i m i l a r   t o : b a c k e n d - a d m i n   D e f i n e   a n   e n v i r o n m e n t   v a r i a b l e   a s   a   k e y - v a l u e   p a i r   i n   a   S e c r e t :   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   b a c k e n d - u s e r   - - f r o m - l i t e r a l = b a c k e n d - u s e r n a m e = ' b a c k e n d - a d m i n ' ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/distribute-credentials-secure/",
    "id": "k8s_00036_section_3_532"
  },
  {
    "question": "What is Define container environment variables with data from multiple Secrets?",
    "answer": "A s   w i t h   t h e   p r e v i o u s   e x a m p l e ,   c r e a t e   t h e   S e c r e t s   f i r s t . k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   b a c k e n d - u s e r   - - f r o m - l i t e r a l = b a c k e n d - u s e r n a m e = ' b a c k e n d - a d m i n '   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   d b - u s e r   - - f r o m - l i t e r a l = d b - u s e r n a m e = ' d b - a d m i n '   D e f i n e   t h e   e n v i r o n m e n t   v a r i a b l e s   i n   t h e   P o d   s p e c i f i c a t i o n . p o d s / i n j e c t / p o d - m u l t i p l e - s e c r e t - e n v - v a r i a b l e . y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e n v v a r s - m u l t i p l e - s e c r e t s   s p e c :   c o n t a i n e r s :   -   n a m e :   e n v a r s - t e s t - c o n t a i n e r   i m a g e :   n g i n x   e n v :   -   n a m e :   B A C K E N D _ U S E R N A M E   v a l u e F r o m :   s e c r e t K e y R e f :   n a m e :   b a c k e n d - u s e r   k e y :   b a c k e n d - u s e r n a m e   -   n a m e :   D B _ U S E R N A M E   v a l u e F r o m :   s e c r e t K e y R e f :   n a m e :   d b - u s e r   k e y :   d b - u s e r n a m e   C r e a t e   t h e   P o d : k u b e c t l   c r e a t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i n j e c t / p o d - m u l t i p l e - s e c r e t - e n v - v a r i a b l e . y a m l   I n   y o u r   s h e l l ,   d i s p l a y   t h e   c o n t a i n e r   e n v i r o n m e n t   v a r i a b l e s . k u b e c t l   e x e c   - i   - t   e n v v a r s - m u l t i p l e - s e c r e t s   - -   / b i n / s h   - c   ' e n v   |   g r e p   _ U S E R N A M E '   T h e   o u t p u t   i s   s i m i l a r   t o : D B _ U S E R N A M E = d b - a d m i n   B A C K E N D _ U S E R N A M E = b a c k e n d - a d m i n   A s   w i t h   t h e   p r e v i o u s   e x a m p l e ,   c r e a t e   t h e   S e c r e t ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/distribute-credentials-secure/",
    "id": "k8s_00036_section_3_533"
  },
  {
    "question": "What is Note:?",
    "answer": "C r e a t e   a   S e c r e t   c o n t a i n i n g   m u l t i p l e   k e y - v a l u e   p a i r s k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   t e s t - s e c r e t   - - f r o m - l i t e r a l = u s e r n a m e = ' m y - a p p '   - - f r o m - l i t e r a l = p a s s w o r d = ' 3 9 5 2 8 $ v d g 7 J b '   U s e   e n v F r o m   t o   d e f i n e   a l l   o f   t h e   S e c r e t ' s   d a t a   a s   c o n t a i n e r   e n v i r o n m e n t   v a r i a b l e s .   T h e   k e y   f r o m   t h e   S e c r e t   b e c o m e s   t h e   e n v i r o n m e n t   v a r i a b l e   n a m e   i n   t h e   P o d . p o d s / i n j e c t / p o d - s e c r e t - e n v F r o m . y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e n v f r o m - s e c r e t   s p e c :   c o n t a i n e r s :   -   n a m e :   e n v a r s - t e s t - c o n t a i n e r   i m a g e :   n g i n x   e n v F r o m :   -   s e c r e t R e f :   n a m e :   t e s t - s e c r e t   C r e a t e   t h e   P o d : k u b e c t l   c r e a t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i n j e c t / p o d - s e c r e t - e n v F r o m . y a m l   I n   y o u r   s h e l l ,   d i s p l a y   u s e r n a m e   a n d   p a s s w o r d   c o n t a i n e r   e n v i r o n m e n t   v a r i a b l e s . k u b e c t l   e x e c   - i   - t   e n v f r o m - s e c r e t   - -   / b i n / s h   - c   ' e c h o   \" u s e r n a m e :   $ u s e r n a m e \\ n p a s s w o r d :   $ p a s s w o r d \\ n \" '   T h e   o u t p u t   i s   s i m i l a r   t o : u s e r n a m e :   m y - a p p   p a s s w o r d :   3 9 5 2 8 $ v d g 7 J b   C r e a t e   a   S e c r e t   c o n t a i n i n g   m u l t i p l e   k e y - v a l u e   p a i r s   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   t e s t - s e c r e t   - - f r o m - l i t e r a l = u s e r n a m e = ' m y - a p p '   - - f r o m - l i t e r a l = p a s s w o r d = ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/distribute-credentials-secure/",
    "id": "k8s_00036_section_4_534"
  },
  {
    "question": "What is Example: Provide prod/test credentials to Pods using Secrets?",
    "answer": "T h i s   e x a m p l e   i l l u s t r a t e s   a   P o d   w h i c h   c o n s u m e s   a   s e c r e t   c o n t a i n i n g   p r o d u c t i o n   c r e d e n t i a l s   a n d   a n o t h e r   P o d   w h i c h   c o n s u m e s   a   s e c r e t   w i t h   t e s t   e n v i r o n m e n t   c r e d e n t i a l s .   C r e a t e   a   s e c r e t   f o r   p r o d   e n v i r o n m e n t   c r e d e n t i a l s : k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   p r o d - d b - s e c r e t   - - f r o m - l i t e r a l = u s e r n a m e = p r o d u s e r   - - f r o m - l i t e r a l = p a s s w o r d = Y 4 n y s 7 f 1 1   T h e   o u t p u t   i s   s i m i l a r   t o : s e c r e t   \" p r o d - d b - s e c r e t \"   c r e a t e d   C r e a t e   a   s e c r e t   f o r   t e s t   e n v i r o n m e n t   c r e d e n t i a l s . k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   t e s t - d b - s e c r e t   - - f r o m - l i t e r a l = u s e r n a m e = t e s t u s e r   - - f r o m - l i t e r a l = p a s s w o r d = i l u v t e s t s   T h e   o u t p u t   i s   s i m i l a r   t o : s e c r e t   \" t e s t - d b - s e c r e t \"   c r e a t e d   N o t e : S p e c i a l   c h a r a c t e r s   s u c h   a s   $ ,   \\ ,   * ,   = ,   a n d   !   w i l l   b e   i n t e r p r e t e d   b y   y o u r   s h e l l   a n d   r e q u i r e   e s c a p i n g . I n   m o s t   s h e l l s ,   t h e   e a s i e s t   w a y   t o   e s c a p e   t h e   p a s s w o r d   i s   t o   s u r r o u n d   i t   w i t h   s i n g l e   q u o t e s   ( ' ) .   F o r   e x a m p l e ,   i f   y o u r   a c t u a l   p a s s w o r d   i s   S ! B \\ * d $ z D s b = ,   y o u   s h o u l d   e x e c u t e   t h e   c o m m a n d   a s   f o l l o w s : k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   d e v - d b - s e c r e t   - - f r o m - l i t e r a l = u s e r n a m e = d e v u s e r   - - f r o m - l i t e r a l = p a s s w o r d = ' S ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/distribute-credentials-secure/",
    "id": "k8s_00036_section_2_535"
  },
  {
    "question": "What is Note:?",
    "answer": "S p e c i a l   c h a r a c t e r s   s u c h   a s   $ ,   \\ ,   * ,   = ,   a n d   !   w i l l   b e   i n t e r p r e t e d   b y   y o u r   s h e l l   a n d   r e q u i r e   e s c a p i n g .   I n   m o s t   s h e l l s ,   t h e   e a s i e s t   w a y   t o   e s c a p e   t h e   p a s s w o r d   i s   t o   s u r r o u n d   i t   w i t h   s i n g l e   q u o t e s   ( ' ) .   F o r   e x a m p l e ,   i f   y o u r   a c t u a l   p a s s w o r d   i s   S ! B \\ * d $ z D s b = ,   y o u   s h o u l d   e x e c u t e   t h e   c o m m a n d   a s   f o l l o w s :   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   d e v - d b - s e c r e t   - - f r o m - l i t e r a l = u s e r n a m e = d e v u s e r   - - f r o m - l i t e r a l = p a s s w o r d = ' S ! B \\ * d $ z D s b = '   Y o u   d o   n o t   n e e d   t o   e s c a p e   s p e c i a l   c h a r a c t e r s   i n   p a s s w o r d s   f r o m   f i l e s   ( - - f r o m - f i l e ) .   C r e a t e   t h e   P o d   m a n i f e s t s :   c a t   < < E O F   >   p o d . y a m l   a p i V e r s i o n :   v 1   k i n d :   L i s t   i t e m s :   -   k i n d :   P o d   a p i V e r s i o n :   v 1   m e t a d a t a :   n a m e :   p r o d - d b - c l i e n t - p o d   l a b e l s :   n a m e :   p r o d - d b - c l i e n t   s p e c :   v o l u m e s :   -   n a m e :   s e c r e t - v o l u m e   s e c r e t :   s e c r e t N a m e :   p r o d - d b - s e c r e t   c o n t a i n e r s :   -   n a m e :   d b - c l i e n t - c o n t a i n e r   i m a g e :   m y C l i e n t I m a g e   v o l u m e M o u n t s :   -   n a m e :   s e c r e t - v o l u m e   r e a d O n l y :   t r u e   m o u n t P a t h :   \" / e t c / s e c r e t - v o l u m e \"   -   k i n d :   P o d   a p i V e r s i o n :   v 1   m e t a d a t a :   n a m e :   t e s t - d b - c l i e n t - p o d   l a b e l s :   n a m e :   t e s t - d b - c l i e n t   s p e c :   v o l u m e s :   -   n a m e :   s e c r e ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/distribute-credentials-secure/",
    "id": "k8s_00036_section_4_536"
  },
  {
    "question": "What is Note:?",
    "answer": "A p p l y   a l l   t h o s e   o b j e c t s   o n   t h e   A P I   s e r v e r   b y   r u n n i n g :   k u b e c t l   c r e a t e   - f   p o d . y a m l   B o t h   c o n t a i n e r s   w i l l   h a v e   t h e   f o l l o w i n g   f i l e s   p r e s e n t   o n   t h e i r   f i l e s y s t e m s   w i t h   t h e   v a l u e s   f o r   e a c h   c o n t a i n e r ' s   e n v i r o n m e n t :   / e t c / s e c r e t - v o l u m e / u s e r n a m e   / e t c / s e c r e t - v o l u m e / p a s s w o r d   Y o u   c o u l d   f u r t h e r   s i m p l i f y   t h e   b a s e   P o d   s p e c i f i c a t i o n   b y   u s i n g   t w o   s e r v i c e   a c c o u n t s :   p r o d - u s e r   w i t h   t h e   p r o d - d b - s e c r e t t e s t - u s e r   w i t h   t h e   t e s t - d b - s e c r e t   T h e   P o d   s p e c i f i c a t i o n   i s   s h o r t e n e d   t o :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p r o d - d b - c l i e n t - p o d   l a b e l s :   n a m e :   p r o d - d b - c l i e n t   s p e c :   s e r v i c e A c c o u n t :   p r o d - d b - c l i e n t   c o n t a i n e r s :   -   n a m e :   d b - c l i e n t - c o n t a i n e r   i m a g e :   m y C l i e n t I m a g e",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/distribute-credentials-secure/",
    "id": "k8s_00036_section_4_537"
  },
  {
    "question": "What is References?",
    "answer": "S e c r e t V o l u m e P o d",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/distribute-credentials-secure/",
    "id": "k8s_00036_section_3_538"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   S e c r e t s . L e a r n   a b o u t   V o l u m e s .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/distribute-credentials-secure/",
    "id": "k8s_00036_section_2_539"
  },
  {
    "question": "What is Metrics For Kubernetes System Components?",
    "answer": "Metrics For Kubernetes System ComponentsSystem component metrics can give a better look into what is happening inside them. Metrics are particularly useful for building dashboards and alerts.Kubernetes components emit metrics in Prometheus format. This format is structured plain text, designed so that people and machines can both read it.Metrics in KubernetesIn most cases metrics are available on /metrics endpoint of the HTTP server. For components that don't expose endpoint by default, it can be enabled using --bind-address flag.Examples of those components:kube-controller-managerkube-proxykube-apiserverkube-schedulerkubeletIn a production environment you may want to configure Prometheus Server or some other metrics scraper to periodically gather these metrics and make them available in some kind of time series database.Note that kubelet also exposes metrics in /metrics/cadvisor, /metrics/resource and /metrics/probes endpoints. Those metrics do not have the same lifecycle.If your cluster uses RBAC, reading metrics requires authorization via a user, group or ServiceAccount with a ClusterRole that allows accessing /metrics. For example:apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: prometheus rules: - nonResourceURLs: - \"/metrics\" verbs: - get Metric lifecycleAlpha metric → Stable metric → Deprecated metric → Hidden metric → Deleted metricAlpha metrics have no stability guarantees. These metrics can be modified or deleted at any time.Stable metrics are guaranteed to not change. This means:A stable metric without a deprecated signature will not be deleted or renamedA stable metric's type will not be modifiedDeprecated metrics are slated for deletion, but are still available for use. These metrics include an annotation about the version in which they became deprecated.For example:Before deprecation# HELP some_counter this counts things # TYPE some_counter counter some_counter 0 After deprecation# HELP some_counter (Deprecated since 1.15.0) this counts things # TYPE some_counter counter some_counter 0 Hidden metrics are no longer published for scraping, but are still available for use. To use a hidden metric, please refer to the Show hidden metrics section.Deleted metrics are no longer published and cannot be used.Show hidden metricsAs described above, admins can enable hidden metrics through a command-line flag on a specific binary. This intends to be used as an escape hatch for admins if they missed the migration of the metrics deprecated in the last release.The flag show-hidden-metrics-for-version takes a version for which you want to show metrics deprecated in that release. The version is expressed as x.y, where x is the major version, y is the minor version. The patch version is not needed even though a metrics can be deprecated in a patch release, the reason for that is the metrics deprecation policy runs against the minor release.The flag can only take the previous minor version as it's value. All metrics hidden in ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-metrics/",
    "id": "k8s_00037_qa_540"
  },
  {
    "question": "How does Metrics For Kubernetes System Components work?",
    "answer": "Metrics For Kubernetes System ComponentsSystem component metrics can give a better look into what is happening inside them. Metrics are particularly useful for building dashboards and alerts.Kubernetes components emit metrics in Prometheus format. This format is structured plain text, designed so that people and machines can both read it.Metrics in KubernetesIn most cases metrics are available on /metrics endpoint of the HTTP server. For components that don't expose endpoint by default, it can be enabled using --bind-address flag.Examples of those components:kube-controller-managerkube-proxykube-apiserverkube-schedulerkubeletIn a production environment you may want to configure Prometheus Server or some other metrics scraper to periodically gather these metrics and make them available in some kind of time series database.Note that kubelet also exposes metrics in /metrics/cadvisor, /metrics/resource and /metrics/probes endpoints. Those metrics do not have the same lifecycle.If your cluster uses RBAC, reading metrics requires authorization via a user, group or ServiceAccount with a ClusterRole that allows accessing /metrics. For example:apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: prometheus rules: - nonResourceURLs: - \"/metrics\" verbs: - get Metric lifecycleAlpha metric → Stable metric → Deprecated metric → Hidden metric → Deleted metricAlpha metrics have no stability guarantees. These metrics can be modified or deleted at any time.Stable metrics are guaranteed to not change. This means:A stable metric without a deprecated signature will not be deleted or renamedA stable metric's type will not be modifiedDeprecated metrics are slated for deletion, but are still available for use. These metrics include an annotation about the version in which they became deprecated.For example:Before deprecation# HELP some_counter this counts things # TYPE some_counter counter some_counter 0 After deprecation# HELP some_counter (Deprecated since 1.15.0) this counts things # TYPE some_counter counter some_counter 0 Hidden metrics are no longer published for scraping, but are still available for use. To use a hidden metric, please refer to the Show hidden metrics section.Deleted metrics are no longer published and cannot be used.Show hidden metricsAs described above, admins can enable hidden metrics through a command-line flag on a specific binary. This intends to be used as an escape hatch for admins if they missed the migration of the metrics deprecated in the last release.The flag show-hidden-metrics-for-version takes a version for which you want to show metrics deprecated in that release. The version is expressed as x.y, where x is the major version, y is the minor version. The patch version is not needed even though a metrics can be deprecated in a patch release, the reason for that is the metrics deprecation policy runs against the minor release.The flag can only take the previous minor version as it's value. All metrics hidden in ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-metrics/",
    "id": "k8s_00037_qa_541"
  },
  {
    "question": "When would you use Metrics For Kubernetes System Components?",
    "answer": "Metrics For Kubernetes System ComponentsSystem component metrics can give a better look into what is happening inside them. Metrics are particularly useful for building dashboards and alerts.Kubernetes components emit metrics in Prometheus format. This format is structured plain text, designed so that people and machines can both read it.Metrics in KubernetesIn most cases metrics are available on /metrics endpoint of the HTTP server. For components that don't expose endpoint by default, it can be enabled using --bind-address flag.Examples of those components:kube-controller-managerkube-proxykube-apiserverkube-schedulerkubeletIn a production environment you may want to configure Prometheus Server or some other metrics scraper to periodically gather these metrics and make them available in some kind of time series database.Note that kubelet also exposes metrics in /metrics/cadvisor, /metrics/resource and /metrics/probes endpoints. Those metrics do not have the same lifecycle.If your cluster uses RBAC, reading metrics requires authorization via a user, group or ServiceAccount with a ClusterRole that allows accessing /metrics. For example:apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: prometheus rules: - nonResourceURLs: - \"/metrics\" verbs: - get Metric lifecycleAlpha metric → Stable metric → Deprecated metric → Hidden metric → Deleted metricAlpha metrics have no stability guarantees. These metrics can be modified or deleted at any time.Stable metrics are guaranteed to not change. This means:A stable metric without a deprecated signature will not be deleted or renamedA stable metric's type will not be modifiedDeprecated metrics are slated for deletion, but are still available for use. These metrics include an annotation about the version in which they became deprecated.For example:Before deprecation# HELP some_counter this counts things # TYPE some_counter counter some_counter 0 After deprecation# HELP some_counter (Deprecated since 1.15.0) this counts things # TYPE some_counter counter some_counter 0 Hidden metrics are no longer published for scraping, but are still available for use. To use a hidden metric, please refer to the Show hidden metrics section.Deleted metrics are no longer published and cannot be used.Show hidden metricsAs described above, admins can enable hidden metrics through a command-line flag on a specific binary. This intends to be used as an escape hatch for admins if they missed the migration of the metrics deprecated in the last release.The flag show-hidden-metrics-for-version takes a version for which you want to show metrics deprecated in that release. The version is expressed as x.y, where x is the major version, y is the minor version. The patch version is not needed even though a metrics can be deprecated in a patch release, the reason for that is the metrics deprecation policy runs against the minor release.The flag can only take the previous minor version as it's value. All metrics hidden in ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-metrics/",
    "id": "k8s_00037_qa_542"
  },
  {
    "question": "What are the benefits of Metrics For Kubernetes System Components?",
    "answer": "Metrics For Kubernetes System ComponentsSystem component metrics can give a better look into what is happening inside them. Metrics are particularly useful for building dashboards and alerts.Kubernetes components emit metrics in Prometheus format. This format is structured plain text, designed so that people and machines can both read it.Metrics in KubernetesIn most cases metrics are available on /metrics endpoint of the HTTP server. For components that don't expose endpoint by default, it can be enabled using --bind-address flag.Examples of those components:kube-controller-managerkube-proxykube-apiserverkube-schedulerkubeletIn a production environment you may want to configure Prometheus Server or some other metrics scraper to periodically gather these metrics and make them available in some kind of time series database.Note that kubelet also exposes metrics in /metrics/cadvisor, /metrics/resource and /metrics/probes endpoints. Those metrics do not have the same lifecycle.If your cluster uses RBAC, reading metrics requires authorization via a user, group or ServiceAccount with a ClusterRole that allows accessing /metrics. For example:apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: prometheus rules: - nonResourceURLs: - \"/metrics\" verbs: - get Metric lifecycleAlpha metric → Stable metric → Deprecated metric → Hidden metric → Deleted metricAlpha metrics have no stability guarantees. These metrics can be modified or deleted at any time.Stable metrics are guaranteed to not change. This means:A stable metric without a deprecated signature will not be deleted or renamedA stable metric's type will not be modifiedDeprecated metrics are slated for deletion, but are still available for use. These metrics include an annotation about the version in which they became deprecated.For example:Before deprecation# HELP some_counter this counts things # TYPE some_counter counter some_counter 0 After deprecation# HELP some_counter (Deprecated since 1.15.0) this counts things # TYPE some_counter counter some_counter 0 Hidden metrics are no longer published for scraping, but are still available for use. To use a hidden metric, please refer to the Show hidden metrics section.Deleted metrics are no longer published and cannot be used.Show hidden metricsAs described above, admins can enable hidden metrics through a command-line flag on a specific binary. This intends to be used as an escape hatch for admins if they missed the migration of the metrics deprecated in the last release.The flag show-hidden-metrics-for-version takes a version for which you want to show metrics deprecated in that release. The version is expressed as x.y, where x is the major version, y is the minor version. The patch version is not needed even though a metrics can be deprecated in a patch release, the reason for that is the metrics deprecation policy runs against the minor release.The flag can only take the previous minor version as it's value. All metrics hidden in ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-metrics/",
    "id": "k8s_00037_qa_543"
  },
  {
    "question": "What is Metrics For Kubernetes System Components?",
    "answer": "S y s t e m   c o m p o n e n t   m e t r i c s   c a n   g i v e   a   b e t t e r   l o o k   i n t o   w h a t   i s   h a p p e n i n g   i n s i d e   t h e m .   M e t r i c s   a r e   p a r t i c u l a r l y   u s e f u l   f o r   b u i l d i n g   d a s h b o a r d s   a n d   a l e r t s .   K u b e r n e t e s   c o m p o n e n t s   e m i t   m e t r i c s   i n   P r o m e t h e u s   f o r m a t .   T h i s   f o r m a t   i s   s t r u c t u r e d   p l a i n   t e x t ,   d e s i g n e d   s o   t h a t   p e o p l e   a n d   m a c h i n e s   c a n   b o t h   r e a d   i t .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-metrics/",
    "id": "k8s_00037_section_1_544"
  },
  {
    "question": "What is Metrics in Kubernetes?",
    "answer": "I n   m o s t   c a s e s   m e t r i c s   a r e   a v a i l a b l e   o n   / m e t r i c s   e n d p o i n t   o f   t h e   H T T P   s e r v e r .   F o r   c o m p o n e n t s   t h a t   d o n ' t   e x p o s e   e n d p o i n t   b y   d e f a u l t ,   i t   c a n   b e   e n a b l e d   u s i n g   - - b i n d - a d d r e s s   f l a g .   E x a m p l e s   o f   t h o s e   c o m p o n e n t s :   k u b e - c o n t r o l l e r - m a n a g e r k u b e - p r o x y k u b e - a p i s e r v e r k u b e - s c h e d u l e r k u b e l e t   I n   a   p r o d u c t i o n   e n v i r o n m e n t   y o u   m a y   w a n t   t o   c o n f i g u r e   P r o m e t h e u s   S e r v e r   o r   s o m e   o t h e r   m e t r i c s   s c r a p e r   t o   p e r i o d i c a l l y   g a t h e r   t h e s e   m e t r i c s   a n d   m a k e   t h e m   a v a i l a b l e   i n   s o m e   k i n d   o f   t i m e   s e r i e s   d a t a b a s e .   N o t e   t h a t   k u b e l e t   a l s o   e x p o s e s   m e t r i c s   i n   / m e t r i c s / c a d v i s o r ,   / m e t r i c s / r e s o u r c e   a n d   / m e t r i c s / p r o b e s   e n d p o i n t s .   T h o s e   m e t r i c s   d o   n o t   h a v e   t h e   s a m e   l i f e c y c l e .   I f   y o u r   c l u s t e r   u s e s   R B A C ,   r e a d i n g   m e t r i c s   r e q u i r e s   a u t h o r i z a t i o n   v i a   a   u s e r ,   g r o u p   o r   S e r v i c e A c c o u n t   w i t h   a   C l u s t e r R o l e   t h a t   a l l o w s   a c c e s s i n g   / m e t r i c s .   F o r   e x a m p l e :   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   n a m e :   p r o m e t h e u s   r u l e s :   -   n o n R e s o u r c e U R L s :   -   \" / m e t r i c s \"   v e r b s :   -   g e t",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-metrics/",
    "id": "k8s_00037_section_2_545"
  },
  {
    "question": "What is Metric lifecycle?",
    "answer": "A l p h a   m e t r i c   →   S t a b l e   m e t r i c   →   D e p r e c a t e d   m e t r i c   →   H i d d e n   m e t r i c   →   D e l e t e d   m e t r i c   A l p h a   m e t r i c s   h a v e   n o   s t a b i l i t y   g u a r a n t e e s .   T h e s e   m e t r i c s   c a n   b e   m o d i f i e d   o r   d e l e t e d   a t   a n y   t i m e .   S t a b l e   m e t r i c s   a r e   g u a r a n t e e d   t o   n o t   c h a n g e .   T h i s   m e a n s :   A   s t a b l e   m e t r i c   w i t h o u t   a   d e p r e c a t e d   s i g n a t u r e   w i l l   n o t   b e   d e l e t e d   o r   r e n a m e d A   s t a b l e   m e t r i c ' s   t y p e   w i l l   n o t   b e   m o d i f i e d   D e p r e c a t e d   m e t r i c s   a r e   s l a t e d   f o r   d e l e t i o n ,   b u t   a r e   s t i l l   a v a i l a b l e   f o r   u s e .   T h e s e   m e t r i c s   i n c l u d e   a n   a n n o t a t i o n   a b o u t   t h e   v e r s i o n   i n   w h i c h   t h e y   b e c a m e   d e p r e c a t e d .   F o r   e x a m p l e :   B e f o r e   d e p r e c a t i o n #   H E L P   s o m e _ c o u n t e r   t h i s   c o u n t s   t h i n g s   #   T Y P E   s o m e _ c o u n t e r   c o u n t e r   s o m e _ c o u n t e r   0   A f t e r   d e p r e c a t i o n #   H E L P   s o m e _ c o u n t e r   ( D e p r e c a t e d   s i n c e   1 . 1 5 . 0 )   t h i s   c o u n t s   t h i n g s   #   T Y P E   s o m e _ c o u n t e r   c o u n t e r   s o m e _ c o u n t e r   0   B e f o r e   d e p r e c a t i o n   #   H E L P   s o m e _ c o u n t e r   t h i s   c o u n t s   t h i n g s   #   T Y P E   s o m e _ c o u n t e r   c o u n t e r   s o m e _ c o u n t e r   0   A f t e r   d e p r e c a t i o n   #   H E L P   s o m e _ c o u n t e r   ( D e p r e c a t e d   s i n c e   1 . 1 5 . 0 )   t h i s   c o u n t s   t h i n g s   #   T Y P E   s o m e _ c o u n t e r   c o u n t e r   s o m e _ c o u n t e r   0   H i d d e n   m e t r i c ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-metrics/",
    "id": "k8s_00037_section_2_546"
  },
  {
    "question": "What is Show hidden metrics?",
    "answer": "A s   d e s c r i b e d   a b o v e ,   a d m i n s   c a n   e n a b l e   h i d d e n   m e t r i c s   t h r o u g h   a   c o m m a n d - l i n e   f l a g   o n   a   s p e c i f i c   b i n a r y .   T h i s   i n t e n d s   t o   b e   u s e d   a s   a n   e s c a p e   h a t c h   f o r   a d m i n s   i f   t h e y   m i s s e d   t h e   m i g r a t i o n   o f   t h e   m e t r i c s   d e p r e c a t e d   i n   t h e   l a s t   r e l e a s e .   T h e   f l a g   s h o w - h i d d e n - m e t r i c s - f o r - v e r s i o n   t a k e s   a   v e r s i o n   f o r   w h i c h   y o u   w a n t   t o   s h o w   m e t r i c s   d e p r e c a t e d   i n   t h a t   r e l e a s e .   T h e   v e r s i o n   i s   e x p r e s s e d   a s   x . y ,   w h e r e   x   i s   t h e   m a j o r   v e r s i o n ,   y   i s   t h e   m i n o r   v e r s i o n .   T h e   p a t c h   v e r s i o n   i s   n o t   n e e d e d   e v e n   t h o u g h   a   m e t r i c s   c a n   b e   d e p r e c a t e d   i n   a   p a t c h   r e l e a s e ,   t h e   r e a s o n   f o r   t h a t   i s   t h e   m e t r i c s   d e p r e c a t i o n   p o l i c y   r u n s   a g a i n s t   t h e   m i n o r   r e l e a s e .   T h e   f l a g   c a n   o n l y   t a k e   t h e   p r e v i o u s   m i n o r   v e r s i o n   a s   i t ' s   v a l u e .   A l l   m e t r i c s   h i d d e n   i n   p r e v i o u s   w i l l   b e   e m i t t e d   i f   a d m i n s   s e t   t h e   p r e v i o u s   v e r s i o n   t o   s h o w - h i d d e n - m e t r i c s - f o r - v e r s i o n .   T h e   t o o   o l d   v e r s i o n   i s   n o t   a l l o w e d   b e c a u s e   t h i s   v i o l a t e s   t h e   m e t r i c s   d e p r e c a t e d   p o l i c y .   T a k e   m e t r i c   A   a s   a n   e x a m p l e ,   h e r e   a s s u m e d   t h a t   A   i s   d e p r e c a t e d   i n   1 . n .   A c c o r d i n g   t o   m e t r i c s   d e p r e c a t e d   p o l i c y ,   ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-metrics/",
    "id": "k8s_00037_section_2_547"
  },
  {
    "question": "What is kube-controller-manager metrics?",
    "answer": "C o n t r o l l e r   m a n a g e r   m e t r i c s   p r o v i d e   i m p o r t a n t   i n s i g h t   i n t o   t h e   p e r f o r m a n c e   a n d   h e a l t h   o f   t h e   c o n t r o l l e r   m a n a g e r .   T h e s e   m e t r i c s   i n c l u d e   c o m m o n   G o   l a n g u a g e   r u n t i m e   m e t r i c s   s u c h   a s   g o _ r o u t i n e   c o u n t   a n d   c o n t r o l l e r   s p e c i f i c   m e t r i c s   s u c h   a s   e t c d   r e q u e s t   l a t e n c i e s   o r   C l o u d p r o v i d e r   ( A W S ,   G C E ,   O p e n S t a c k )   A P I   l a t e n c i e s   t h a t   c a n   b e   u s e d   t o   g a u g e   t h e   h e a l t h   o f   a   c l u s t e r .   S t a r t i n g   f r o m   K u b e r n e t e s   1 . 7 ,   d e t a i l e d   C l o u d p r o v i d e r   m e t r i c s   a r e   a v a i l a b l e   f o r   s t o r a g e   o p e r a t i o n s   f o r   G C E ,   A W S ,   V s p h e r e   a n d   O p e n S t a c k .   T h e s e   m e t r i c s   c a n   b e   u s e d   t o   m o n i t o r   h e a l t h   o f   p e r s i s t e n t   v o l u m e   o p e r a t i o n s .   F o r   e x a m p l e ,   f o r   G C E   t h e s e   m e t r i c s   a r e   c a l l e d :   c l o u d p r o v i d e r _ g c e _ a p i _ r e q u e s t _ d u r a t i o n _ s e c o n d s   {   r e q u e s t   =   \" i n s t a n c e _ l i s t \" }   c l o u d p r o v i d e r _ g c e _ a p i _ r e q u e s t _ d u r a t i o n _ s e c o n d s   {   r e q u e s t   =   \" d i s k _ i n s e r t \" }   c l o u d p r o v i d e r _ g c e _ a p i _ r e q u e s t _ d u r a t i o n _ s e c o n d s   {   r e q u e s t   =   \" d i s k _ d e l e t e \" }   c l o u d p r o v i d e r _ g c e _ a p i _ r e q u e s t _ d u r a t i o n _ s e c o n d s   {   r e q u e s t   =   \" a t t a c h _ d i s k \" }   c l o u d p r o v i d e r _ g c e _ a p i _ r e q u e s t _ d u r a t i o n _ s e c o n d s   {   r e q u e s t   =   \" d e t a c h _ d i s k \" }   c l o u d p r o ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-metrics/",
    "id": "k8s_00037_section_3_548"
  },
  {
    "question": "What is kube-scheduler metrics?",
    "answer": "T h e   s c h e d u l e r   e x p o s e s   o p t i o n a l   m e t r i c s   t h a t   r e p o r t s   t h e   r e q u e s t e d   r e s o u r c e s   a n d   t h e   d e s i r e d   l i m i t s   o f   a l l   r u n n i n g   p o d s .   T h e s e   m e t r i c s   c a n   b e   u s e d   t o   b u i l d   c a p a c i t y   p l a n n i n g   d a s h b o a r d s ,   a s s e s s   c u r r e n t   o r   h i s t o r i c a l   s c h e d u l i n g   l i m i t s ,   q u i c k l y   i d e n t i f y   w o r k l o a d s   t h a t   c a n n o t   s c h e d u l e   d u e   t o   l a c k   o f   r e s o u r c e s ,   a n d   c o m p a r e   a c t u a l   u s a g e   t o   t h e   p o d ' s   r e q u e s t .   T h e   k u b e - s c h e d u l e r   i d e n t i f i e s   t h e   r e s o u r c e   r e q u e s t s   a n d   l i m i t s   c o n f i g u r e d   f o r   e a c h   P o d ;   w h e n   e i t h e r   a   r e q u e s t   o r   l i m i t   i s   n o n - z e r o ,   t h e   k u b e - s c h e d u l e r   r e p o r t s   a   m e t r i c s   t i m e s e r i e s .   T h e   t i m e   s e r i e s   i s   l a b e l l e d   b y :   n a m e s p a c e p o d   n a m e t h e   n o d e   w h e r e   t h e   p o d   i s   s c h e d u l e d   o r   a n   e m p t y   s t r i n g   i f   n o t   y e t   s c h e d u l e d p r i o r i t y t h e   a s s i g n e d   s c h e d u l e r   f o r   t h a t   p o d t h e   n a m e   o f   t h e   r e s o u r c e   ( f o r   e x a m p l e ,   c p u ) t h e   u n i t   o f   t h e   r e s o u r c e   i f   k n o w n   ( f o r   e x a m p l e ,   c o r e s )   O n c e   a   p o d   r e a c h e s   c o m p l e t i o n   ( h a s   a   r e s t a r t P o l i c y   o f   N e v e r   o r   O n F a i l u r e   a n d   i s   i n   t h e   S u c c e e d e d   o r   F a i l e d   p o d   p h a s e ,   o r   h a s   b e e n   d e l e t e d   a n d   a l l   c o n t a i n e r s   h a v e   a   t e r m i n a t e d   s t a t e )   t h e   s e r i e s   i s   n o   l ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-metrics/",
    "id": "k8s_00037_section_3_549"
  },
  {
    "question": "What is kubelet Pressure Stall Information (PSI) metrics?",
    "answer": "A s   a   b e t a   f e a t u r e ,   K u b e r n e t e s   l e t s   y o u   c o n f i g u r e   k u b e l e t   t o   c o l l e c t   L i n u x   k e r n e l   P r e s s u r e   S t a l l   I n f o r m a t i o n   ( P S I )   f o r   C P U ,   m e m o r y   a n d   I / O   u s a g e .   T h e   i n f o r m a t i o n   i s   c o l l e c t e d   a t   n o d e ,   p o d   a n d   c o n t a i n e r   l e v e l .   T h e   m e t r i c s   a r e   e x p o s e d   a t   t h e   / m e t r i c s / c a d v i s o r   e n d p o i n t   w i t h   t h e   f o l l o w i n g   n a m e s :   c o n t a i n e r _ p r e s s u r e _ c p u _ s t a l l e d _ s e c o n d s _ t o t a l   c o n t a i n e r _ p r e s s u r e _ c p u _ w a i t i n g _ s e c o n d s _ t o t a l   c o n t a i n e r _ p r e s s u r e _ m e m o r y _ s t a l l e d _ s e c o n d s _ t o t a l   c o n t a i n e r _ p r e s s u r e _ m e m o r y _ w a i t i n g _ s e c o n d s _ t o t a l   c o n t a i n e r _ p r e s s u r e _ i o _ s t a l l e d _ s e c o n d s _ t o t a l   c o n t a i n e r _ p r e s s u r e _ i o _ w a i t i n g _ s e c o n d s _ t o t a l   T h i s   f e a t u r e   i s   e n a b l e d   b y   d e f a u l t ,   b y   s e t t i n g   t h e   K u b e l e t P S I   f e a t u r e   g a t e .   T h e   i n f o r m a t i o n   i s   a l s o   e x p o s e d   i n   t h e   S u m m a r y   A P I .   Y o u   c a n   l e a r n   h o w   t o   i n t e r p r e t   t h e   P S I   m e t r i c s   i n   U n d e r s t a n d   P S I   M e t r i c s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-metrics/",
    "id": "k8s_00037_section_3_550"
  },
  {
    "question": "What is Requirements?",
    "answer": "P r e s s u r e   S t a l l   I n f o r m a t i o n   r e q u i r e s :   L i n u x   k e r n e l   v e r s i o n s   4 . 2 0   o r   l a t e r . c g r o u p   v 2",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-metrics/",
    "id": "k8s_00037_section_4_551"
  },
  {
    "question": "What is Disabling metrics?",
    "answer": "Y o u   c a n   e x p l i c i t l y   t u r n   o f f   m e t r i c s   v i a   c o m m a n d   l i n e   f l a g   - - d i s a b l e d - m e t r i c s .   T h i s   m a y   b e   d e s i r e d   i f ,   f o r   e x a m p l e ,   a   m e t r i c   i s   c a u s i n g   a   p e r f o r m a n c e   p r o b l e m .   T h e   i n p u t   i s   a   l i s t   o f   d i s a b l e d   m e t r i c s   ( i . e .   - - d i s a b l e d - m e t r i c s = m e t r i c 1 , m e t r i c 2 ) .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-metrics/",
    "id": "k8s_00037_section_2_552"
  },
  {
    "question": "What is Metric cardinality enforcement?",
    "answer": "M e t r i c s   w i t h   u n b o u n d e d   d i m e n s i o n s   c o u l d   c a u s e   m e m o r y   i s s u e s   i n   t h e   c o m p o n e n t s   t h e y   i n s t r u m e n t .   T o   l i m i t   r e s o u r c e   u s e ,   y o u   c a n   u s e   t h e   - - a l l o w - m e t r i c - l a b e l s   c o m m a n d   l i n e   o p t i o n   t o   d y n a m i c a l l y   c o n f i g u r e   a n   a l l o w - l i s t   o f   l a b e l   v a l u e s   f o r   a   m e t r i c .   I n   a l p h a   s t a g e ,   t h e   f l a g   c a n   o n l y   t a k e   i n   a   s e r i e s   o f   m a p p i n g s   a s   m e t r i c   l a b e l   a l l o w - l i s t .   E a c h   m a p p i n g   i s   o f   t h e   f o r m a t   < m e t r i c _ n a m e > , < l a b e l _ n a m e > = < a l l o w e d _ l a b e l s >   w h e r e   < a l l o w e d _ l a b e l s >   i s   a   c o m m a - s e p a r a t e d   l i s t   o f   a c c e p t a b l e   l a b e l   n a m e s .   T h e   o v e r a l l   f o r m a t   l o o k s   l i k e :   - - a l l o w - m e t r i c - l a b e l s   < m e t r i c _ n a m e > , < l a b e l _ n a m e > = ' < a l l o w _ v a l u e 1 > ,   < a l l o w _ v a l u e 2 > . . . ' ,   < m e t r i c _ n a m e 2 > , < l a b e l _ n a m e > = ' < a l l o w _ v a l u e 1 > ,   < a l l o w _ v a l u e 2 > . . . ' ,   . . .   H e r e   i s   a n   e x a m p l e :   - - a l l o w - m e t r i c - l a b e l s   n u m b e r _ c o u n t _ m e t r i c , o d d _ n u m b e r = ' 1 , 3 , 5 ' ,   n u m b e r _ c o u n t _ m e t r i c , e v e n _ n u m b e r = ' 2 , 4 , 6 ' ,   d a t e _ g a u g e _ m e t r i c , w e e k e n d = ' S a t u r d a y , S u n d a y '   I n   a d d i t i o n   t o   s p e c i f y i n g   t h i s   f r o m   t h e   C L I ,   t h i s   c a n   a l s o   b e   d o n e   w i t h i n   a   c o n f i g u r a t i o n   f i l e .   Y o u   c a n   s p e c i f y   t h e   p a t h   t o   t h a t   c o n f i g u r a t i o n   f i l e   u s i n g   t h e   - - a ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-metrics/",
    "id": "k8s_00037_section_2_553"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   t h e   P r o m e t h e u s   t e x t   f o r m a t   f o r   m e t r i c s S e e   t h e   l i s t   o f   s t a b l e   K u b e r n e t e s   m e t r i c s R e a d   a b o u t   t h e   K u b e r n e t e s   d e p r e c a t i o n   p o l i c y",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-metrics/",
    "id": "k8s_00037_section_2_554"
  },
  {
    "question": "What is kubectl cp?",
    "answer": "kubectl cpSynopsisCopy files and directories to and from containers.kubectl cp <file-spec-src> <file-spec-dest> Examples # !!!Important Note!!! # Requires that the 'tar' binary is present in your container # image. If 'tar' is not present, 'kubectl cp' will fail. # # For advanced use cases, such as symlinks, wildcard expansion or # file mode preservation, consider using 'kubectl exec'. # Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace <some-namespace> tar cf - /tmp/foo | kubectl exec -i -n <some-namespace> <some-pod> -- tar xf - -C /tmp/bar # Copy /tmp/foo from a remote pod to /tmp/bar locally kubectl exec -n <some-namespace> <some-pod> -- tar cf - /tmp/foo | tar xf - -C /tmp/bar # Copy /tmp/foo_dir local directory to /tmp/bar_dir in a remote pod in the default namespace kubectl cp /tmp/foo_dir <some-pod>:/tmp/bar_dir # Copy /tmp/foo local file to /tmp/bar in a remote pod in a specific container kubectl cp /tmp/foo <some-pod>:/tmp/bar -c <specific-container> # Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace <some-namespace> kubectl cp /tmp/foo <some-namespace>/<some-pod>:/tmp/bar # Copy /tmp/foo from a remote pod to /tmp/bar locally kubectl cp <some-namespace>/<some-pod>:/tmp/foo /tmp/bar Options-c, --container stringContainer name. If omitted, use the kubectl.kubernetes.io/default-container annotation for selecting the container to be attached or the first container in the pod will be chosen-h, --helphelp for cp--no-preserveThe copied file/directory's ownership and permissions will not be preserved in the container--retries intSet number of retries to complete a copy operation from a container. Specify 0 to disable or any negative value for infinite retrying. The default is 0 (no retry).Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace st",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cp/",
    "id": "k8s_00038_qa_555"
  },
  {
    "question": "How does kubectl cp work?",
    "answer": "kubectl cpSynopsisCopy files and directories to and from containers.kubectl cp <file-spec-src> <file-spec-dest> Examples # !!!Important Note!!! # Requires that the 'tar' binary is present in your container # image. If 'tar' is not present, 'kubectl cp' will fail. # # For advanced use cases, such as symlinks, wildcard expansion or # file mode preservation, consider using 'kubectl exec'. # Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace <some-namespace> tar cf - /tmp/foo | kubectl exec -i -n <some-namespace> <some-pod> -- tar xf - -C /tmp/bar # Copy /tmp/foo from a remote pod to /tmp/bar locally kubectl exec -n <some-namespace> <some-pod> -- tar cf - /tmp/foo | tar xf - -C /tmp/bar # Copy /tmp/foo_dir local directory to /tmp/bar_dir in a remote pod in the default namespace kubectl cp /tmp/foo_dir <some-pod>:/tmp/bar_dir # Copy /tmp/foo local file to /tmp/bar in a remote pod in a specific container kubectl cp /tmp/foo <some-pod>:/tmp/bar -c <specific-container> # Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace <some-namespace> kubectl cp /tmp/foo <some-namespace>/<some-pod>:/tmp/bar # Copy /tmp/foo from a remote pod to /tmp/bar locally kubectl cp <some-namespace>/<some-pod>:/tmp/foo /tmp/bar Options-c, --container stringContainer name. If omitted, use the kubectl.kubernetes.io/default-container annotation for selecting the container to be attached or the first container in the pod will be chosen-h, --helphelp for cp--no-preserveThe copied file/directory's ownership and permissions will not be preserved in the container--retries intSet number of retries to complete a copy operation from a container. Specify 0 to disable or any negative value for infinite retrying. The default is 0 (no retry).Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace st",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cp/",
    "id": "k8s_00038_qa_556"
  },
  {
    "question": "When would you use kubectl cp?",
    "answer": "kubectl cpSynopsisCopy files and directories to and from containers.kubectl cp <file-spec-src> <file-spec-dest> Examples # !!!Important Note!!! # Requires that the 'tar' binary is present in your container # image. If 'tar' is not present, 'kubectl cp' will fail. # # For advanced use cases, such as symlinks, wildcard expansion or # file mode preservation, consider using 'kubectl exec'. # Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace <some-namespace> tar cf - /tmp/foo | kubectl exec -i -n <some-namespace> <some-pod> -- tar xf - -C /tmp/bar # Copy /tmp/foo from a remote pod to /tmp/bar locally kubectl exec -n <some-namespace> <some-pod> -- tar cf - /tmp/foo | tar xf - -C /tmp/bar # Copy /tmp/foo_dir local directory to /tmp/bar_dir in a remote pod in the default namespace kubectl cp /tmp/foo_dir <some-pod>:/tmp/bar_dir # Copy /tmp/foo local file to /tmp/bar in a remote pod in a specific container kubectl cp /tmp/foo <some-pod>:/tmp/bar -c <specific-container> # Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace <some-namespace> kubectl cp /tmp/foo <some-namespace>/<some-pod>:/tmp/bar # Copy /tmp/foo from a remote pod to /tmp/bar locally kubectl cp <some-namespace>/<some-pod>:/tmp/foo /tmp/bar Options-c, --container stringContainer name. If omitted, use the kubectl.kubernetes.io/default-container annotation for selecting the container to be attached or the first container in the pod will be chosen-h, --helphelp for cp--no-preserveThe copied file/directory's ownership and permissions will not be preserved in the container--retries intSet number of retries to complete a copy operation from a container. Specify 0 to disable or any negative value for infinite retrying. The default is 0 (no retry).Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace st",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cp/",
    "id": "k8s_00038_qa_557"
  },
  {
    "question": "What are the benefits of kubectl cp?",
    "answer": "kubectl cpSynopsisCopy files and directories to and from containers.kubectl cp <file-spec-src> <file-spec-dest> Examples # !!!Important Note!!! # Requires that the 'tar' binary is present in your container # image. If 'tar' is not present, 'kubectl cp' will fail. # # For advanced use cases, such as symlinks, wildcard expansion or # file mode preservation, consider using 'kubectl exec'. # Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace <some-namespace> tar cf - /tmp/foo | kubectl exec -i -n <some-namespace> <some-pod> -- tar xf - -C /tmp/bar # Copy /tmp/foo from a remote pod to /tmp/bar locally kubectl exec -n <some-namespace> <some-pod> -- tar cf - /tmp/foo | tar xf - -C /tmp/bar # Copy /tmp/foo_dir local directory to /tmp/bar_dir in a remote pod in the default namespace kubectl cp /tmp/foo_dir <some-pod>:/tmp/bar_dir # Copy /tmp/foo local file to /tmp/bar in a remote pod in a specific container kubectl cp /tmp/foo <some-pod>:/tmp/bar -c <specific-container> # Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace <some-namespace> kubectl cp /tmp/foo <some-namespace>/<some-pod>:/tmp/bar # Copy /tmp/foo from a remote pod to /tmp/bar locally kubectl cp <some-namespace>/<some-pod>:/tmp/foo /tmp/bar Options-c, --container stringContainer name. If omitted, use the kubectl.kubernetes.io/default-container annotation for selecting the container to be attached or the first container in the pod will be chosen-h, --helphelp for cp--no-preserveThe copied file/directory's ownership and permissions will not be preserved in the container--retries intSet number of retries to complete a copy operation from a container. Specify 0 to disable or any negative value for infinite retrying. The default is 0 (no retry).Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace st",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cp/",
    "id": "k8s_00038_qa_558"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C o p y   f i l e s   a n d   d i r e c t o r i e s   t o   a n d   f r o m   c o n t a i n e r s .   k u b e c t l   c p   < f i l e - s p e c - s r c >   < f i l e - s p e c - d e s t >",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cp/",
    "id": "k8s_00038_section_2_559"
  },
  {
    "question": "What is Examples?",
    "answer": "#   ! ! ! I m p o r t a n t   N o t e ! ! !   #   R e q u i r e s   t h a t   t h e   ' t a r '   b i n a r y   i s   p r e s e n t   i n   y o u r   c o n t a i n e r   #   i m a g e .   I f   ' t a r '   i s   n o t   p r e s e n t ,   ' k u b e c t l   c p '   w i l l   f a i l .   #   #   F o r   a d v a n c e d   u s e   c a s e s ,   s u c h   a s   s y m l i n k s ,   w i l d c a r d   e x p a n s i o n   o r   #   f i l e   m o d e   p r e s e r v a t i o n ,   c o n s i d e r   u s i n g   ' k u b e c t l   e x e c ' .   #   C o p y   / t m p / f o o   l o c a l   f i l e   t o   / t m p / b a r   i n   a   r e m o t e   p o d   i n   n a m e s p a c e   < s o m e - n a m e s p a c e >   t a r   c f   -   / t m p / f o o   |   k u b e c t l   e x e c   - i   - n   < s o m e - n a m e s p a c e >   < s o m e - p o d >   - -   t a r   x f   -   - C   / t m p / b a r   #   C o p y   / t m p / f o o   f r o m   a   r e m o t e   p o d   t o   / t m p / b a r   l o c a l l y   k u b e c t l   e x e c   - n   < s o m e - n a m e s p a c e >   < s o m e - p o d >   - -   t a r   c f   -   / t m p / f o o   |   t a r   x f   -   - C   / t m p / b a r   #   C o p y   / t m p / f o o _ d i r   l o c a l   d i r e c t o r y   t o   / t m p / b a r _ d i r   i n   a   r e m o t e   p o d   i n   t h e   d e f a u l t   n a m e s p a c e   k u b e c t l   c p   / t m p / f o o _ d i r   < s o m e - p o d > : / t m p / b a r _ d i r   #   C o p y   / t m p / f o o   l o c a l   f i l e   t o   / t m p / b a r   i n   a   r e m o t e   p o d   i n   a   s p e c i f i c   c o n t a i n e r   k u b e c t l   c p   / t m p / f o o   < s o m e - p o d > : / t m p / b a r   - c   < s p e c i f i c - c o n t a i n e r >   #   C o p y   / t m p / f o o   l o c a l   f i l e   t o   / t m p / b a r   i n   a   r e m o t e   p o d   i n   n a m e s p a c e   < s o m e - n a m e s p a c e >   k u b e c t l   c p   / t m p / f o o   < s o m e - n a m e s p a c e > / < s o m e - p o ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cp/",
    "id": "k8s_00038_section_2_560"
  },
  {
    "question": "What is Options?",
    "answer": "C o n t a i n e r   n a m e .   I f   o m i t t e d ,   u s e   t h e   k u b e c t l . k u b e r n e t e s . i o / d e f a u l t - c o n t a i n e r   a n n o t a t i o n   f o r   s e l e c t i n g   t h e   c o n t a i n e r   t o   b e   a t t a c h e d   o r   t h e   f i r s t   c o n t a i n e r   i n   t h e   p o d   w i l l   b e   c h o s e n   h e l p   f o r   c p   T h e   c o p i e d   f i l e / d i r e c t o r y ' s   o w n e r s h i p   a n d   p e r m i s s i o n s   w i l l   n o t   b e   p r e s e r v e d   i n   t h e   c o n t a i n e r   S e t   n u m b e r   o f   r e t r i e s   t o   c o m p l e t e   a   c o p y   o p e r a t i o n   f r o m   a   c o n t a i n e r .   S p e c i f y   0   t o   d i s a b l e   o r   a n y   n e g a t i v e   v a l u e   f o r   i n f i n i t e   r e t r y i n g .   T h e   d e f a u l t   i s   0   ( n o   r e t r y ) .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cp/",
    "id": "k8s_00038_section_2_561"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cp/",
    "id": "k8s_00038_section_2_562"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cp/",
    "id": "k8s_00038_section_2_563"
  },
  {
    "question": "What is Annotations?",
    "answer": "AnnotationsYou can use Kubernetes annotations to attach arbitrary non-identifying metadata to objects. Clients such as tools and libraries can retrieve this metadata.Attaching metadata to objectsYou can use either labels or annotations to attach metadata to Kubernetes objects. Labels can be used to select objects and to find collections of objects that satisfy certain conditions. In contrast, annotations are not used to identify and select objects. The metadata in an annotation can be small or large, structured or unstructured, and can include characters not permitted by labels. It is possible to use labels as well as annotations in the metadata of the same object.Annotations, like labels, are key/value maps:\"metadata\": { \"annotations\": { \"key1\" : \"value1\", \"key2\" : \"value2\" } } Note:The keys and the values in the map must be strings. In other words, you cannot use numeric, boolean, list or other types for either the keys or the values.Here are some examples of information that could be recorded in annotations:Fields managed by a declarative configuration layer. Attaching these fields as annotations distinguishes them from default values set by clients or servers, and from auto-generated fields and fields set by auto-sizing or auto-scaling systems.Build, release, or image information like timestamps, release IDs, git branch, PR numbers, image hashes, and registry address.Pointers to logging, monitoring, analytics, or audit repositories.Client library or tool information that can be used for debugging purposes: for example, name, version, and build information.User or tool/system provenance information, such as URLs of related objects from other ecosystem components.Lightweight rollout tool metadata: for example, config or checkpoints.Phone or pager numbers of persons responsible, or directory entries that specify where that information can be found, such as a team web site.Directives from the end-user to the implementations to modify behavior or engage non-standard features.Instead of using annotations, you could store this type of information in an external database or directory, but that would make it much harder to produce shared client libraries and tools for deployment, management, introspection, and the like.Syntax and character setAnnotations are key/value pairs. Valid annotation keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/).If the prefix is omitted, the annotation Key is presumed to be private to the user. Automated system components (e.g. kube-scheduler, kube-controller-manager, kube-apiserver, kubectl, or other third-party au",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/",
    "id": "k8s_00039_qa_564"
  },
  {
    "question": "How does Annotations work?",
    "answer": "AnnotationsYou can use Kubernetes annotations to attach arbitrary non-identifying metadata to objects. Clients such as tools and libraries can retrieve this metadata.Attaching metadata to objectsYou can use either labels or annotations to attach metadata to Kubernetes objects. Labels can be used to select objects and to find collections of objects that satisfy certain conditions. In contrast, annotations are not used to identify and select objects. The metadata in an annotation can be small or large, structured or unstructured, and can include characters not permitted by labels. It is possible to use labels as well as annotations in the metadata of the same object.Annotations, like labels, are key/value maps:\"metadata\": { \"annotations\": { \"key1\" : \"value1\", \"key2\" : \"value2\" } } Note:The keys and the values in the map must be strings. In other words, you cannot use numeric, boolean, list or other types for either the keys or the values.Here are some examples of information that could be recorded in annotations:Fields managed by a declarative configuration layer. Attaching these fields as annotations distinguishes them from default values set by clients or servers, and from auto-generated fields and fields set by auto-sizing or auto-scaling systems.Build, release, or image information like timestamps, release IDs, git branch, PR numbers, image hashes, and registry address.Pointers to logging, monitoring, analytics, or audit repositories.Client library or tool information that can be used for debugging purposes: for example, name, version, and build information.User or tool/system provenance information, such as URLs of related objects from other ecosystem components.Lightweight rollout tool metadata: for example, config or checkpoints.Phone or pager numbers of persons responsible, or directory entries that specify where that information can be found, such as a team web site.Directives from the end-user to the implementations to modify behavior or engage non-standard features.Instead of using annotations, you could store this type of information in an external database or directory, but that would make it much harder to produce shared client libraries and tools for deployment, management, introspection, and the like.Syntax and character setAnnotations are key/value pairs. Valid annotation keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/).If the prefix is omitted, the annotation Key is presumed to be private to the user. Automated system components (e.g. kube-scheduler, kube-controller-manager, kube-apiserver, kubectl, or other third-party au",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/",
    "id": "k8s_00039_qa_565"
  },
  {
    "question": "When would you use Annotations?",
    "answer": "AnnotationsYou can use Kubernetes annotations to attach arbitrary non-identifying metadata to objects. Clients such as tools and libraries can retrieve this metadata.Attaching metadata to objectsYou can use either labels or annotations to attach metadata to Kubernetes objects. Labels can be used to select objects and to find collections of objects that satisfy certain conditions. In contrast, annotations are not used to identify and select objects. The metadata in an annotation can be small or large, structured or unstructured, and can include characters not permitted by labels. It is possible to use labels as well as annotations in the metadata of the same object.Annotations, like labels, are key/value maps:\"metadata\": { \"annotations\": { \"key1\" : \"value1\", \"key2\" : \"value2\" } } Note:The keys and the values in the map must be strings. In other words, you cannot use numeric, boolean, list or other types for either the keys or the values.Here are some examples of information that could be recorded in annotations:Fields managed by a declarative configuration layer. Attaching these fields as annotations distinguishes them from default values set by clients or servers, and from auto-generated fields and fields set by auto-sizing or auto-scaling systems.Build, release, or image information like timestamps, release IDs, git branch, PR numbers, image hashes, and registry address.Pointers to logging, monitoring, analytics, or audit repositories.Client library or tool information that can be used for debugging purposes: for example, name, version, and build information.User or tool/system provenance information, such as URLs of related objects from other ecosystem components.Lightweight rollout tool metadata: for example, config or checkpoints.Phone or pager numbers of persons responsible, or directory entries that specify where that information can be found, such as a team web site.Directives from the end-user to the implementations to modify behavior or engage non-standard features.Instead of using annotations, you could store this type of information in an external database or directory, but that would make it much harder to produce shared client libraries and tools for deployment, management, introspection, and the like.Syntax and character setAnnotations are key/value pairs. Valid annotation keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/).If the prefix is omitted, the annotation Key is presumed to be private to the user. Automated system components (e.g. kube-scheduler, kube-controller-manager, kube-apiserver, kubectl, or other third-party au",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/",
    "id": "k8s_00039_qa_566"
  },
  {
    "question": "What are the benefits of Annotations?",
    "answer": "AnnotationsYou can use Kubernetes annotations to attach arbitrary non-identifying metadata to objects. Clients such as tools and libraries can retrieve this metadata.Attaching metadata to objectsYou can use either labels or annotations to attach metadata to Kubernetes objects. Labels can be used to select objects and to find collections of objects that satisfy certain conditions. In contrast, annotations are not used to identify and select objects. The metadata in an annotation can be small or large, structured or unstructured, and can include characters not permitted by labels. It is possible to use labels as well as annotations in the metadata of the same object.Annotations, like labels, are key/value maps:\"metadata\": { \"annotations\": { \"key1\" : \"value1\", \"key2\" : \"value2\" } } Note:The keys and the values in the map must be strings. In other words, you cannot use numeric, boolean, list or other types for either the keys or the values.Here are some examples of information that could be recorded in annotations:Fields managed by a declarative configuration layer. Attaching these fields as annotations distinguishes them from default values set by clients or servers, and from auto-generated fields and fields set by auto-sizing or auto-scaling systems.Build, release, or image information like timestamps, release IDs, git branch, PR numbers, image hashes, and registry address.Pointers to logging, monitoring, analytics, or audit repositories.Client library or tool information that can be used for debugging purposes: for example, name, version, and build information.User or tool/system provenance information, such as URLs of related objects from other ecosystem components.Lightweight rollout tool metadata: for example, config or checkpoints.Phone or pager numbers of persons responsible, or directory entries that specify where that information can be found, such as a team web site.Directives from the end-user to the implementations to modify behavior or engage non-standard features.Instead of using annotations, you could store this type of information in an external database or directory, but that would make it much harder to produce shared client libraries and tools for deployment, management, introspection, and the like.Syntax and character setAnnotations are key/value pairs. Valid annotation keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/).If the prefix is omitted, the annotation Key is presumed to be private to the user. Automated system components (e.g. kube-scheduler, kube-controller-manager, kube-apiserver, kubectl, or other third-party au",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/",
    "id": "k8s_00039_qa_567"
  },
  {
    "question": "What is Annotations?",
    "answer": "Y o u   c a n   u s e   K u b e r n e t e s   a n n o t a t i o n s   t o   a t t a c h   a r b i t r a r y   n o n - i d e n t i f y i n g   m e t a d a t a   t o   o b j e c t s .   C l i e n t s   s u c h   a s   t o o l s   a n d   l i b r a r i e s   c a n   r e t r i e v e   t h i s   m e t a d a t a .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/",
    "id": "k8s_00039_section_1_568"
  },
  {
    "question": "What is Attaching metadata to objects?",
    "answer": "Y o u   c a n   u s e   e i t h e r   l a b e l s   o r   a n n o t a t i o n s   t o   a t t a c h   m e t a d a t a   t o   K u b e r n e t e s   o b j e c t s .   L a b e l s   c a n   b e   u s e d   t o   s e l e c t   o b j e c t s   a n d   t o   f i n d   c o l l e c t i o n s   o f   o b j e c t s   t h a t   s a t i s f y   c e r t a i n   c o n d i t i o n s .   I n   c o n t r a s t ,   a n n o t a t i o n s   a r e   n o t   u s e d   t o   i d e n t i f y   a n d   s e l e c t   o b j e c t s .   T h e   m e t a d a t a   i n   a n   a n n o t a t i o n   c a n   b e   s m a l l   o r   l a r g e ,   s t r u c t u r e d   o r   u n s t r u c t u r e d ,   a n d   c a n   i n c l u d e   c h a r a c t e r s   n o t   p e r m i t t e d   b y   l a b e l s .   I t   i s   p o s s i b l e   t o   u s e   l a b e l s   a s   w e l l   a s   a n n o t a t i o n s   i n   t h e   m e t a d a t a   o f   t h e   s a m e   o b j e c t .   A n n o t a t i o n s ,   l i k e   l a b e l s ,   a r e   k e y / v a l u e   m a p s :   \" m e t a d a t a \" :   {   \" a n n o t a t i o n s \" :   {   \" k e y 1 \"   :   \" v a l u e 1 \" ,   \" k e y 2 \"   :   \" v a l u e 2 \"   }   }",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/",
    "id": "k8s_00039_section_2_569"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e   a r e   s o m e   e x a m p l e s   o f   i n f o r m a t i o n   t h a t   c o u l d   b e   r e c o r d e d   i n   a n n o t a t i o n s :   F i e l d s   m a n a g e d   b y   a   d e c l a r a t i v e   c o n f i g u r a t i o n   l a y e r .   A t t a c h i n g   t h e s e   f i e l d s   a s   a n n o t a t i o n s   d i s t i n g u i s h e s   t h e m   f r o m   d e f a u l t   v a l u e s   s e t   b y   c l i e n t s   o r   s e r v e r s ,   a n d   f r o m   a u t o - g e n e r a t e d   f i e l d s   a n d   f i e l d s   s e t   b y   a u t o - s i z i n g   o r   a u t o - s c a l i n g   s y s t e m s . B u i l d ,   r e l e a s e ,   o r   i m a g e   i n f o r m a t i o n   l i k e   t i m e s t a m p s ,   r e l e a s e   I D s ,   g i t   b r a n c h ,   P R   n u m b e r s ,   i m a g e   h a s h e s ,   a n d   r e g i s t r y   a d d r e s s . P o i n t e r s   t o   l o g g i n g ,   m o n i t o r i n g ,   a n a l y t i c s ,   o r   a u d i t   r e p o s i t o r i e s . C l i e n t   l i b r a r y   o r   t o o l   i n f o r m a t i o n   t h a t   c a n   b e   u s e d   f o r   d e b u g g i n g   p u r p o s e s :   f o r   e x a m p l e ,   n a m e ,   v e r s i o n ,   a n d   b u i l d   i n f o r m a t i o n . U s e r   o r   t o o l / s y s t e m   p r o v e n a n c e   i n f o r m a t i o n ,   s u c h   a s   U R L s   o f   r e l a t e d   o b j e c t s   f r o m   o t h e r   e c o s y s t e m   c o m p o n e n t s . L i g h t w e i g h t   r o l l o u t   t o o l   m e t a d a t a :   f o r   e x a m p l e ,   c o n f i g   o r   c h e c k p o i n t s . P h o n e   o r   p a g e r   n u m b e r s   o f   p e r s o n s   r e s p o n s i b l e ,   o r   d i r e c t o r y   e n t r i e s   t h a t   s p e c i f y   w h e r e   t h a t   i n f o r m a t i o n   c a n   b e   f o u n d ,   s u c h   a s   a   t e a m   w e b   s i t e . D i r e c t i v e s   f r o m   t h e   e n d - u s e r   t o   t h e   i m p l e m e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/",
    "id": "k8s_00039_section_4_570"
  },
  {
    "question": "What is Syntax and character set?",
    "answer": "A n n o t a t i o n s   a r e   k e y / v a l u e   p a i r s .   V a l i d   a n n o t a t i o n   k e y s   h a v e   t w o   s e g m e n t s :   a n   o p t i o n a l   p r e f i x   a n d   n a m e ,   s e p a r a t e d   b y   a   s l a s h   ( / ) .   T h e   n a m e   s e g m e n t   i s   r e q u i r e d   a n d   m u s t   b e   6 3   c h a r a c t e r s   o r   l e s s ,   b e g i n n i n g   a n d   e n d i n g   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r   ( [ a - z 0 - 9 A - Z ] )   w i t h   d a s h e s   ( - ) ,   u n d e r s c o r e s   ( _ ) ,   d o t s   ( . ) ,   a n d   a l p h a n u m e r i c s   b e t w e e n .   T h e   p r e f i x   i s   o p t i o n a l .   I f   s p e c i f i e d ,   t h e   p r e f i x   m u s t   b e   a   D N S   s u b d o m a i n :   a   s e r i e s   o f   D N S   l a b e l s   s e p a r a t e d   b y   d o t s   ( . ) ,   n o t   l o n g e r   t h a n   2 5 3   c h a r a c t e r s   i n   t o t a l ,   f o l l o w e d   b y   a   s l a s h   ( / ) .   I f   t h e   p r e f i x   i s   o m i t t e d ,   t h e   a n n o t a t i o n   K e y   i s   p r e s u m e d   t o   b e   p r i v a t e   t o   t h e   u s e r .   A u t o m a t e d   s y s t e m   c o m p o n e n t s   ( e . g .   k u b e - s c h e d u l e r ,   k u b e - c o n t r o l l e r - m a n a g e r ,   k u b e - a p i s e r v e r ,   k u b e c t l ,   o r   o t h e r   t h i r d - p a r t y   a u t o m a t i o n )   w h i c h   a d d   a n n o t a t i o n s   t o   e n d - u s e r   o b j e c t s   m u s t   s p e c i f y   a   p r e f i x .   T h e   k u b e r n e t e s . i o /   a n d   k 8 s . i o /   p r e f i x e s   a r e   r e s e r v e d   f o r   K u b e r n e t e s   c o r e   c o m p o n e n t s .   F o r   e x a m p l e ,   h e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   t h e   a n n o t a t i o n   i m a g e r e g i s t r y :   h t t p s : / / h u b . d o c k e r . c o m /   :   a p i V e r s i o n : ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/",
    "id": "k8s_00039_section_2_571"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   L a b e l s   a n d   S e l e c t o r s . F i n d   W e l l - k n o w n   l a b e l s ,   A n n o t a t i o n s   a n d   T a i n t s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/",
    "id": "k8s_00039_section_2_572"
  },
  {
    "question": "What is Check whether dockershim removal affects you?",
    "answer": "Check whether dockershim removal affects youThe dockershim component of Kubernetes allows the use of Docker as a Kubernetes's container runtime. Kubernetes' built-in dockershim component was removed in release v1.24.This page explains how your cluster could be using Docker as a container runtime, provides details on the role that dockershim plays when in use, and shows steps you can take to check whether any workloads could be affected by dockershim removal.Finding if your app has a dependencies on DockerIf you are using Docker for building your application containers, you can still run these containers on any container runtime. This use of Docker does not count as a dependency on Docker as a container runtime.When alternative container runtime is used, executing Docker commands may either not work or yield unexpected output. This is how you can find whether you have a dependency on Docker:Make sure no privileged Pods execute Docker commands (like docker ps), restart the Docker service (commands such as systemctl restart docker.service), or modify Docker-specific files such as /etc/docker/daemon.json.Check for any private registries or image mirror settings in the Docker configuration file (like /etc/docker/daemon.json). Those typically need to be reconfigured for another container runtime.Check that scripts and apps running on nodes outside of your Kubernetes infrastructure do not execute Docker commands. It might be:SSH to nodes to troubleshoot;Node startup scripts;Monitoring and security agents installed on nodes directly.Third-party tools that perform above mentioned privileged operations. See Migrating telemetry and security agents from dockershim for more information.Make sure there are no indirect dependencies on dockershim behavior. This is an edge case and unlikely to affect your application. Some tooling may be configured to react to Docker-specific behaviors, for example, raise alert on specific metrics or search for a specific log message as part of troubleshooting instructions. If you have such tooling configured, test the behavior on a test cluster before migration.Dependency on Docker explainedA container runtime is software that can execute the containers that make up a Kubernetes pod. Kubernetes is responsible for orchestration and scheduling of Pods; on each node, the kubelet uses the container runtime interface as an abstraction so that you can use any compatible container runtime.In its earliest releases, Kubernetes offered compatibility with one container runtime: Docker. Later in the Kubernetes project's history, cluster operators wanted to adopt additional container runtimes. The CRI was designed to allow this kind of flexibility - and the kubelet began supporting CRI. However, because Docker existed before the CRI specification was invented, the Kubernetes project created an adapter component, dockershim. The dockershim adapter allows the kubelet to interact with Docker as if Docker were a CRI compatible runtime.You can re",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/check-if-dockershim-removal-affects-you/",
    "id": "k8s_00040_qa_573"
  },
  {
    "question": "How does Check whether dockershim removal affects you work?",
    "answer": "Check whether dockershim removal affects youThe dockershim component of Kubernetes allows the use of Docker as a Kubernetes's container runtime. Kubernetes' built-in dockershim component was removed in release v1.24.This page explains how your cluster could be using Docker as a container runtime, provides details on the role that dockershim plays when in use, and shows steps you can take to check whether any workloads could be affected by dockershim removal.Finding if your app has a dependencies on DockerIf you are using Docker for building your application containers, you can still run these containers on any container runtime. This use of Docker does not count as a dependency on Docker as a container runtime.When alternative container runtime is used, executing Docker commands may either not work or yield unexpected output. This is how you can find whether you have a dependency on Docker:Make sure no privileged Pods execute Docker commands (like docker ps), restart the Docker service (commands such as systemctl restart docker.service), or modify Docker-specific files such as /etc/docker/daemon.json.Check for any private registries or image mirror settings in the Docker configuration file (like /etc/docker/daemon.json). Those typically need to be reconfigured for another container runtime.Check that scripts and apps running on nodes outside of your Kubernetes infrastructure do not execute Docker commands. It might be:SSH to nodes to troubleshoot;Node startup scripts;Monitoring and security agents installed on nodes directly.Third-party tools that perform above mentioned privileged operations. See Migrating telemetry and security agents from dockershim for more information.Make sure there are no indirect dependencies on dockershim behavior. This is an edge case and unlikely to affect your application. Some tooling may be configured to react to Docker-specific behaviors, for example, raise alert on specific metrics or search for a specific log message as part of troubleshooting instructions. If you have such tooling configured, test the behavior on a test cluster before migration.Dependency on Docker explainedA container runtime is software that can execute the containers that make up a Kubernetes pod. Kubernetes is responsible for orchestration and scheduling of Pods; on each node, the kubelet uses the container runtime interface as an abstraction so that you can use any compatible container runtime.In its earliest releases, Kubernetes offered compatibility with one container runtime: Docker. Later in the Kubernetes project's history, cluster operators wanted to adopt additional container runtimes. The CRI was designed to allow this kind of flexibility - and the kubelet began supporting CRI. However, because Docker existed before the CRI specification was invented, the Kubernetes project created an adapter component, dockershim. The dockershim adapter allows the kubelet to interact with Docker as if Docker were a CRI compatible runtime.You can re",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/check-if-dockershim-removal-affects-you/",
    "id": "k8s_00040_qa_574"
  },
  {
    "question": "When would you use Check whether dockershim removal affects you?",
    "answer": "Check whether dockershim removal affects youThe dockershim component of Kubernetes allows the use of Docker as a Kubernetes's container runtime. Kubernetes' built-in dockershim component was removed in release v1.24.This page explains how your cluster could be using Docker as a container runtime, provides details on the role that dockershim plays when in use, and shows steps you can take to check whether any workloads could be affected by dockershim removal.Finding if your app has a dependencies on DockerIf you are using Docker for building your application containers, you can still run these containers on any container runtime. This use of Docker does not count as a dependency on Docker as a container runtime.When alternative container runtime is used, executing Docker commands may either not work or yield unexpected output. This is how you can find whether you have a dependency on Docker:Make sure no privileged Pods execute Docker commands (like docker ps), restart the Docker service (commands such as systemctl restart docker.service), or modify Docker-specific files such as /etc/docker/daemon.json.Check for any private registries or image mirror settings in the Docker configuration file (like /etc/docker/daemon.json). Those typically need to be reconfigured for another container runtime.Check that scripts and apps running on nodes outside of your Kubernetes infrastructure do not execute Docker commands. It might be:SSH to nodes to troubleshoot;Node startup scripts;Monitoring and security agents installed on nodes directly.Third-party tools that perform above mentioned privileged operations. See Migrating telemetry and security agents from dockershim for more information.Make sure there are no indirect dependencies on dockershim behavior. This is an edge case and unlikely to affect your application. Some tooling may be configured to react to Docker-specific behaviors, for example, raise alert on specific metrics or search for a specific log message as part of troubleshooting instructions. If you have such tooling configured, test the behavior on a test cluster before migration.Dependency on Docker explainedA container runtime is software that can execute the containers that make up a Kubernetes pod. Kubernetes is responsible for orchestration and scheduling of Pods; on each node, the kubelet uses the container runtime interface as an abstraction so that you can use any compatible container runtime.In its earliest releases, Kubernetes offered compatibility with one container runtime: Docker. Later in the Kubernetes project's history, cluster operators wanted to adopt additional container runtimes. The CRI was designed to allow this kind of flexibility - and the kubelet began supporting CRI. However, because Docker existed before the CRI specification was invented, the Kubernetes project created an adapter component, dockershim. The dockershim adapter allows the kubelet to interact with Docker as if Docker were a CRI compatible runtime.You can re",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/check-if-dockershim-removal-affects-you/",
    "id": "k8s_00040_qa_575"
  },
  {
    "question": "What are the benefits of Check whether dockershim removal affects you?",
    "answer": "Check whether dockershim removal affects youThe dockershim component of Kubernetes allows the use of Docker as a Kubernetes's container runtime. Kubernetes' built-in dockershim component was removed in release v1.24.This page explains how your cluster could be using Docker as a container runtime, provides details on the role that dockershim plays when in use, and shows steps you can take to check whether any workloads could be affected by dockershim removal.Finding if your app has a dependencies on DockerIf you are using Docker for building your application containers, you can still run these containers on any container runtime. This use of Docker does not count as a dependency on Docker as a container runtime.When alternative container runtime is used, executing Docker commands may either not work or yield unexpected output. This is how you can find whether you have a dependency on Docker:Make sure no privileged Pods execute Docker commands (like docker ps), restart the Docker service (commands such as systemctl restart docker.service), or modify Docker-specific files such as /etc/docker/daemon.json.Check for any private registries or image mirror settings in the Docker configuration file (like /etc/docker/daemon.json). Those typically need to be reconfigured for another container runtime.Check that scripts and apps running on nodes outside of your Kubernetes infrastructure do not execute Docker commands. It might be:SSH to nodes to troubleshoot;Node startup scripts;Monitoring and security agents installed on nodes directly.Third-party tools that perform above mentioned privileged operations. See Migrating telemetry and security agents from dockershim for more information.Make sure there are no indirect dependencies on dockershim behavior. This is an edge case and unlikely to affect your application. Some tooling may be configured to react to Docker-specific behaviors, for example, raise alert on specific metrics or search for a specific log message as part of troubleshooting instructions. If you have such tooling configured, test the behavior on a test cluster before migration.Dependency on Docker explainedA container runtime is software that can execute the containers that make up a Kubernetes pod. Kubernetes is responsible for orchestration and scheduling of Pods; on each node, the kubelet uses the container runtime interface as an abstraction so that you can use any compatible container runtime.In its earliest releases, Kubernetes offered compatibility with one container runtime: Docker. Later in the Kubernetes project's history, cluster operators wanted to adopt additional container runtimes. The CRI was designed to allow this kind of flexibility - and the kubelet began supporting CRI. However, because Docker existed before the CRI specification was invented, the Kubernetes project created an adapter component, dockershim. The dockershim adapter allows the kubelet to interact with Docker as if Docker were a CRI compatible runtime.You can re",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/check-if-dockershim-removal-affects-you/",
    "id": "k8s_00040_qa_576"
  },
  {
    "question": "What is Check whether dockershim removal affects you?",
    "answer": "T h e   d o c k e r s h i m   c o m p o n e n t   o f   K u b e r n e t e s   a l l o w s   t h e   u s e   o f   D o c k e r   a s   a   K u b e r n e t e s ' s   c o n t a i n e r   r u n t i m e .   K u b e r n e t e s '   b u i l t - i n   d o c k e r s h i m   c o m p o n e n t   w a s   r e m o v e d   i n   r e l e a s e   v 1 . 2 4 .   T h i s   p a g e   e x p l a i n s   h o w   y o u r   c l u s t e r   c o u l d   b e   u s i n g   D o c k e r   a s   a   c o n t a i n e r   r u n t i m e ,   p r o v i d e s   d e t a i l s   o n   t h e   r o l e   t h a t   d o c k e r s h i m   p l a y s   w h e n   i n   u s e ,   a n d   s h o w s   s t e p s   y o u   c a n   t a k e   t o   c h e c k   w h e t h e r   a n y   w o r k l o a d s   c o u l d   b e   a f f e c t e d   b y   d o c k e r s h i m   r e m o v a l .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/check-if-dockershim-removal-affects-you/",
    "id": "k8s_00040_section_1_577"
  },
  {
    "question": "What is Finding if your app has a dependencies on Docker?",
    "answer": "I f   y o u   a r e   u s i n g   D o c k e r   f o r   b u i l d i n g   y o u r   a p p l i c a t i o n   c o n t a i n e r s ,   y o u   c a n   s t i l l   r u n   t h e s e   c o n t a i n e r s   o n   a n y   c o n t a i n e r   r u n t i m e .   T h i s   u s e   o f   D o c k e r   d o e s   n o t   c o u n t   a s   a   d e p e n d e n c y   o n   D o c k e r   a s   a   c o n t a i n e r   r u n t i m e .   W h e n   a l t e r n a t i v e   c o n t a i n e r   r u n t i m e   i s   u s e d ,   e x e c u t i n g   D o c k e r   c o m m a n d s   m a y   e i t h e r   n o t   w o r k   o r   y i e l d   u n e x p e c t e d   o u t p u t .   T h i s   i s   h o w   y o u   c a n   f i n d   w h e t h e r   y o u   h a v e   a   d e p e n d e n c y   o n   D o c k e r :   M a k e   s u r e   n o   p r i v i l e g e d   P o d s   e x e c u t e   D o c k e r   c o m m a n d s   ( l i k e   d o c k e r   p s ) ,   r e s t a r t   t h e   D o c k e r   s e r v i c e   ( c o m m a n d s   s u c h   a s   s y s t e m c t l   r e s t a r t   d o c k e r . s e r v i c e ) ,   o r   m o d i f y   D o c k e r - s p e c i f i c   f i l e s   s u c h   a s   / e t c / d o c k e r / d a e m o n . j s o n . C h e c k   f o r   a n y   p r i v a t e   r e g i s t r i e s   o r   i m a g e   m i r r o r   s e t t i n g s   i n   t h e   D o c k e r   c o n f i g u r a t i o n   f i l e   ( l i k e   / e t c / d o c k e r / d a e m o n . j s o n ) .   T h o s e   t y p i c a l l y   n e e d   t o   b e   r e c o n f i g u r e d   f o r   a n o t h e r   c o n t a i n e r   r u n t i m e . C h e c k   t h a t   s c r i p t s   a n d   a p p s   r u n n i n g   o n   n o d e s   o u t s i d e   o f   y o u r   K u b e r n e t e s   i n f r a s t r u c t u r e   d o   n o t   e x e c u t e   D o c k e r   c o m m a n d s .   I t   m i g h t   b e : S S H   t o   n o d e s   t o   t r o u b l e s h o o t ; N o d e   s t a r t u p   s c r i p t s ; M o n i t o r i n g   a n d   s ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/check-if-dockershim-removal-affects-you/",
    "id": "k8s_00040_section_2_578"
  },
  {
    "question": "What is Dependency on Docker explained?",
    "answer": "A   c o n t a i n e r   r u n t i m e   i s   s o f t w a r e   t h a t   c a n   e x e c u t e   t h e   c o n t a i n e r s   t h a t   m a k e   u p   a   K u b e r n e t e s   p o d .   K u b e r n e t e s   i s   r e s p o n s i b l e   f o r   o r c h e s t r a t i o n   a n d   s c h e d u l i n g   o f   P o d s ;   o n   e a c h   n o d e ,   t h e   k u b e l e t   u s e s   t h e   c o n t a i n e r   r u n t i m e   i n t e r f a c e   a s   a n   a b s t r a c t i o n   s o   t h a t   y o u   c a n   u s e   a n y   c o m p a t i b l e   c o n t a i n e r   r u n t i m e .   I n   i t s   e a r l i e s t   r e l e a s e s ,   K u b e r n e t e s   o f f e r e d   c o m p a t i b i l i t y   w i t h   o n e   c o n t a i n e r   r u n t i m e :   D o c k e r .   L a t e r   i n   t h e   K u b e r n e t e s   p r o j e c t ' s   h i s t o r y ,   c l u s t e r   o p e r a t o r s   w a n t e d   t o   a d o p t   a d d i t i o n a l   c o n t a i n e r   r u n t i m e s .   T h e   C R I   w a s   d e s i g n e d   t o   a l l o w   t h i s   k i n d   o f   f l e x i b i l i t y   -   a n d   t h e   k u b e l e t   b e g a n   s u p p o r t i n g   C R I .   H o w e v e r ,   b e c a u s e   D o c k e r   e x i s t e d   b e f o r e   t h e   C R I   s p e c i f i c a t i o n   w a s   i n v e n t e d ,   t h e   K u b e r n e t e s   p r o j e c t   c r e a t e d   a n   a d a p t e r   c o m p o n e n t ,   d o c k e r s h i m .   T h e   d o c k e r s h i m   a d a p t e r   a l l o w s   t h e   k u b e l e t   t o   i n t e r a c t   w i t h   D o c k e r   a s   i f   D o c k e r   w e r e   a   C R I   c o m p a t i b l e   r u n t i m e .   Y o u   c a n   r e a d   a b o u t   i t   i n   K u b e r n e t e s   C o n t a i n e r d   i n t e g r a t i o n   g o e s   G A   b l o g   p o s t .   S w i t c h i n g   t o   C o n t a i n e r d   a s   a   c o n t a i n e r   r u n t i m e   e l i m i n a t e s   t h e   m i d d l e m a n .   A l l ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/check-if-dockershim-removal-affects-you/",
    "id": "k8s_00040_section_2_579"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   s t i l l   p u l l   i m a g e s   o r   b u i l d   t h e m   u s i n g   d o c k e r   b u i l d   c o m m a n d .   B u t   i m a g e s   b u i l t   o r   p u l l e d   b y   D o c k e r   w o u l d   n o t   b e   v i s i b l e   t o   c o n t a i n e r   r u n t i m e   a n d   K u b e r n e t e s .   T h e y   n e e d e d   t o   b e   p u s h e d   t o   s o m e   r e g i s t r y   t o   a l l o w   t h e m   t o   b e   u s e d   b y   K u b e r n e t e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/check-if-dockershim-removal-affects-you/",
    "id": "k8s_00040_section_4_580"
  },
  {
    "question": "What is Some filesystem metrics are missing and the metrics format is different?",
    "answer": "T h e   K u b e l e t   / m e t r i c s / c a d v i s o r   e n d p o i n t   p r o v i d e s   P r o m e t h e u s   m e t r i c s ,   a s   d o c u m e n t e d   i n   M e t r i c s   f o r   K u b e r n e t e s   s y s t e m   c o m p o n e n t s .   I f   y o u   i n s t a l l   a   m e t r i c s   c o l l e c t o r   t h a t   d e p e n d s   o n   t h a t   e n d p o i n t ,   y o u   m i g h t   s e e   t h e   f o l l o w i n g   i s s u e s :   T h e   m e t r i c s   f o r m a t   o n   t h e   D o c k e r   n o d e   i s   k 8 s _ < c o n t a i n e r - n a m e > _ < p o d - n a m e > _ < n a m e s p a c e > _ < p o d - u i d > _ < r e s t a r t - c o u n t >   b u t   t h e   f o r m a t   o n   o t h e r   r u n t i m e   i s   d i f f e r e n t .   F o r   e x a m p l e ,   o n   c o n t a i n e r d   n o d e   i t   i s   < c o n t a i n e r - i d > . S o m e   f i l e s y s t e m   m e t r i c s   a r e   m i s s i n g ,   a s   f o l l o w s : c o n t a i n e r _ f s _ i n o d e s _ f r e e   c o n t a i n e r _ f s _ i n o d e s _ t o t a l   c o n t a i n e r _ f s _ i o _ c u r r e n t   c o n t a i n e r _ f s _ i o _ t i m e _ s e c o n d s _ t o t a l   c o n t a i n e r _ f s _ i o _ t i m e _ w e i g h t e d _ s e c o n d s _ t o t a l   c o n t a i n e r _ f s _ l i m i t _ b y t e s   c o n t a i n e r _ f s _ r e a d _ s e c o n d s _ t o t a l   c o n t a i n e r _ f s _ r e a d s _ m e r g e d _ t o t a l   c o n t a i n e r _ f s _ s e c t o r _ r e a d s _ t o t a l   c o n t a i n e r _ f s _ s e c t o r _ w r i t e s _ t o t a l   c o n t a i n e r _ f s _ u s a g e _ b y t e s   c o n t a i n e r _ f s _ w r i t e _ s e c o n d s _ t o t a l   c o n t a i n e r _ f s _ w r i t e s _ m e r g e d _ t o t a l   c o n t a i n e r _ f s _ i n o d e s _ f r e e   c o n t a i n e r _ f s _ i n o d e s _ t o t a l   c o n t a i n e r _ f s _ i o _ c u r r e n t   c o n t a i n e r _ f s _ i o _ t i m e _ s e c o n d s _ t o t a l   c o n t ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/check-if-dockershim-removal-affects-you/",
    "id": "k8s_00040_section_3_581"
  },
  {
    "question": "What is Workaround?",
    "answer": "Y o u   c a n   m i t i g a t e   t h i s   i s s u e   b y   u s i n g   c A d v i s o r   a s   a   s t a n d a l o n e   d a e m o n s e t .   F i n d   t h e   l a t e s t   c A d v i s o r   r e l e a s e   w i t h   t h e   n a m e   p a t t e r n   v X . Y . Z - c o n t a i n e r d - c r i   ( f o r   e x a m p l e ,   v 0 . 4 2 . 0 - c o n t a i n e r d - c r i ) . F o l l o w   t h e   s t e p s   i n   c A d v i s o r   K u b e r n e t e s   D a e m o n s e t   t o   c r e a t e   t h e   d a e m o n s e t . P o i n t   t h e   i n s t a l l e d   m e t r i c s   c o l l e c t o r   t o   u s e   t h e   c A d v i s o r   / m e t r i c s   e n d p o i n t   w h i c h   p r o v i d e s   t h e   f u l l   s e t   o f   P r o m e t h e u s   c o n t a i n e r   m e t r i c s .   A l t e r n a t i v e s :   U s e   a l t e r n a t i v e   t h i r d   p a r t y   m e t r i c s   c o l l e c t i o n   s o l u t i o n . C o l l e c t   m e t r i c s   f r o m   t h e   K u b e l e t   s u m m a r y   A P I   t h a t   i s   s e r v e d   a t   / s t a t s / s u m m a r y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/check-if-dockershim-removal-affects-you/",
    "id": "k8s_00040_section_4_582"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   M i g r a t i n g   f r o m   d o c k e r s h i m   t o   u n d e r s t a n d   y o u r   n e x t   s t e p s R e a d   t h e   d o c k e r s h i m   d e p r e c a t i o n   F A Q   a r t i c l e   f o r   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/check-if-dockershim-removal-affects-you/",
    "id": "k8s_00040_section_2_583"
  },
  {
    "question": "What is kubectl create configmap?",
    "answer": "kubectl create configmapSynopsisCreate a config map based on a file, directory, or specified literal value.A single config map may package one or more key/value pairs.When creating a config map based on a file, the key will default to the basename of the file, and the value will default to the file content. If the basename is an invalid key, you may specify an alternate key.When creating a config map based on a directory, each file whose basename is a valid key in the directory will be packaged into the config map. Any directory entries except regular files are ignored (e.g. subdirectories, symlinks, devices, pipes, etc).kubectl create configmap NAME [--from-file=[key=]source] [--from-literal=key1=value1] [--dry-run=server|client|none] Examples # Create a new config map named my-config based on folder bar kubectl create configmap my-config --from-file=path/to/bar # Create a new config map named my-config with specified keys instead of file basenames on disk kubectl create configmap my-config --from-file=key1=/path/to/bar/file1.txt --from-file=key2=/path/to/bar/file2.txt # Create a new config map named my-config with key1=config1 and key2=config2 kubectl create configmap my-config --from-literal=key1=config1 --from-literal=key2=config2 # Create a new config map named my-config from the key=value pairs in the file kubectl create configmap my-config --from-file=path/to/bar # Create a new config map named my-config from an env file kubectl create configmap my-config --from-env-file=path/to/foo.env --from-env-file=path/to/bar.env Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--append-hashAppend a hash of the configmap to its name.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--from-env-file stringsSpecify the path to a file to read lines of key=val pairs to create a configmap.--from-file stringsKey file can be specified using its file path, in which case file basename will be used as configmap key, or optionally with a key and file path, in which case the given key will be used. Specifying a directory will iterate each named file in the directory whose basename is a valid configmap key.--from-literal stringsSpecify a key and literal value to insert in configmap (i.e. mykey=somevalue)-h, --helphelp for configmap-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is us",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_configmap/",
    "id": "k8s_00041_qa_584"
  },
  {
    "question": "How does kubectl create configmap work?",
    "answer": "kubectl create configmapSynopsisCreate a config map based on a file, directory, or specified literal value.A single config map may package one or more key/value pairs.When creating a config map based on a file, the key will default to the basename of the file, and the value will default to the file content. If the basename is an invalid key, you may specify an alternate key.When creating a config map based on a directory, each file whose basename is a valid key in the directory will be packaged into the config map. Any directory entries except regular files are ignored (e.g. subdirectories, symlinks, devices, pipes, etc).kubectl create configmap NAME [--from-file=[key=]source] [--from-literal=key1=value1] [--dry-run=server|client|none] Examples # Create a new config map named my-config based on folder bar kubectl create configmap my-config --from-file=path/to/bar # Create a new config map named my-config with specified keys instead of file basenames on disk kubectl create configmap my-config --from-file=key1=/path/to/bar/file1.txt --from-file=key2=/path/to/bar/file2.txt # Create a new config map named my-config with key1=config1 and key2=config2 kubectl create configmap my-config --from-literal=key1=config1 --from-literal=key2=config2 # Create a new config map named my-config from the key=value pairs in the file kubectl create configmap my-config --from-file=path/to/bar # Create a new config map named my-config from an env file kubectl create configmap my-config --from-env-file=path/to/foo.env --from-env-file=path/to/bar.env Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--append-hashAppend a hash of the configmap to its name.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--from-env-file stringsSpecify the path to a file to read lines of key=val pairs to create a configmap.--from-file stringsKey file can be specified using its file path, in which case file basename will be used as configmap key, or optionally with a key and file path, in which case the given key will be used. Specifying a directory will iterate each named file in the directory whose basename is a valid configmap key.--from-literal stringsSpecify a key and literal value to insert in configmap (i.e. mykey=somevalue)-h, --helphelp for configmap-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is us",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_configmap/",
    "id": "k8s_00041_qa_585"
  },
  {
    "question": "When would you use kubectl create configmap?",
    "answer": "kubectl create configmapSynopsisCreate a config map based on a file, directory, or specified literal value.A single config map may package one or more key/value pairs.When creating a config map based on a file, the key will default to the basename of the file, and the value will default to the file content. If the basename is an invalid key, you may specify an alternate key.When creating a config map based on a directory, each file whose basename is a valid key in the directory will be packaged into the config map. Any directory entries except regular files are ignored (e.g. subdirectories, symlinks, devices, pipes, etc).kubectl create configmap NAME [--from-file=[key=]source] [--from-literal=key1=value1] [--dry-run=server|client|none] Examples # Create a new config map named my-config based on folder bar kubectl create configmap my-config --from-file=path/to/bar # Create a new config map named my-config with specified keys instead of file basenames on disk kubectl create configmap my-config --from-file=key1=/path/to/bar/file1.txt --from-file=key2=/path/to/bar/file2.txt # Create a new config map named my-config with key1=config1 and key2=config2 kubectl create configmap my-config --from-literal=key1=config1 --from-literal=key2=config2 # Create a new config map named my-config from the key=value pairs in the file kubectl create configmap my-config --from-file=path/to/bar # Create a new config map named my-config from an env file kubectl create configmap my-config --from-env-file=path/to/foo.env --from-env-file=path/to/bar.env Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--append-hashAppend a hash of the configmap to its name.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--from-env-file stringsSpecify the path to a file to read lines of key=val pairs to create a configmap.--from-file stringsKey file can be specified using its file path, in which case file basename will be used as configmap key, or optionally with a key and file path, in which case the given key will be used. Specifying a directory will iterate each named file in the directory whose basename is a valid configmap key.--from-literal stringsSpecify a key and literal value to insert in configmap (i.e. mykey=somevalue)-h, --helphelp for configmap-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is us",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_configmap/",
    "id": "k8s_00041_qa_586"
  },
  {
    "question": "What are the benefits of kubectl create configmap?",
    "answer": "kubectl create configmapSynopsisCreate a config map based on a file, directory, or specified literal value.A single config map may package one or more key/value pairs.When creating a config map based on a file, the key will default to the basename of the file, and the value will default to the file content. If the basename is an invalid key, you may specify an alternate key.When creating a config map based on a directory, each file whose basename is a valid key in the directory will be packaged into the config map. Any directory entries except regular files are ignored (e.g. subdirectories, symlinks, devices, pipes, etc).kubectl create configmap NAME [--from-file=[key=]source] [--from-literal=key1=value1] [--dry-run=server|client|none] Examples # Create a new config map named my-config based on folder bar kubectl create configmap my-config --from-file=path/to/bar # Create a new config map named my-config with specified keys instead of file basenames on disk kubectl create configmap my-config --from-file=key1=/path/to/bar/file1.txt --from-file=key2=/path/to/bar/file2.txt # Create a new config map named my-config with key1=config1 and key2=config2 kubectl create configmap my-config --from-literal=key1=config1 --from-literal=key2=config2 # Create a new config map named my-config from the key=value pairs in the file kubectl create configmap my-config --from-file=path/to/bar # Create a new config map named my-config from an env file kubectl create configmap my-config --from-env-file=path/to/foo.env --from-env-file=path/to/bar.env Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--append-hashAppend a hash of the configmap to its name.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--from-env-file stringsSpecify the path to a file to read lines of key=val pairs to create a configmap.--from-file stringsKey file can be specified using its file path, in which case file basename will be used as configmap key, or optionally with a key and file path, in which case the given key will be used. Specifying a directory will iterate each named file in the directory whose basename is a valid configmap key.--from-literal stringsSpecify a key and literal value to insert in configmap (i.e. mykey=somevalue)-h, --helphelp for configmap-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is us",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_configmap/",
    "id": "k8s_00041_qa_587"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   c o n f i g   m a p   b a s e d   o n   a   f i l e ,   d i r e c t o r y ,   o r   s p e c i f i e d   l i t e r a l   v a l u e .   A   s i n g l e   c o n f i g   m a p   m a y   p a c k a g e   o n e   o r   m o r e   k e y / v a l u e   p a i r s .   W h e n   c r e a t i n g   a   c o n f i g   m a p   b a s e d   o n   a   f i l e ,   t h e   k e y   w i l l   d e f a u l t   t o   t h e   b a s e n a m e   o f   t h e   f i l e ,   a n d   t h e   v a l u e   w i l l   d e f a u l t   t o   t h e   f i l e   c o n t e n t .   I f   t h e   b a s e n a m e   i s   a n   i n v a l i d   k e y ,   y o u   m a y   s p e c i f y   a n   a l t e r n a t e   k e y .   W h e n   c r e a t i n g   a   c o n f i g   m a p   b a s e d   o n   a   d i r e c t o r y ,   e a c h   f i l e   w h o s e   b a s e n a m e   i s   a   v a l i d   k e y   i n   t h e   d i r e c t o r y   w i l l   b e   p a c k a g e d   i n t o   t h e   c o n f i g   m a p .   A n y   d i r e c t o r y   e n t r i e s   e x c e p t   r e g u l a r   f i l e s   a r e   i g n o r e d   ( e . g .   s u b d i r e c t o r i e s ,   s y m l i n k s ,   d e v i c e s ,   p i p e s ,   e t c ) .   k u b e c t l   c r e a t e   c o n f i g m a p   N A M E   [ - - f r o m - f i l e = [ k e y = ] s o u r c e ]   [ - - f r o m - l i t e r a l = k e y 1 = v a l u e 1 ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_configmap/",
    "id": "k8s_00041_section_2_588"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   c o n f i g   m a p   n a m e d   m y - c o n f i g   b a s e d   o n   f o l d e r   b a r   k u b e c t l   c r e a t e   c o n f i g m a p   m y - c o n f i g   - - f r o m - f i l e = p a t h / t o / b a r   #   C r e a t e   a   n e w   c o n f i g   m a p   n a m e d   m y - c o n f i g   w i t h   s p e c i f i e d   k e y s   i n s t e a d   o f   f i l e   b a s e n a m e s   o n   d i s k   k u b e c t l   c r e a t e   c o n f i g m a p   m y - c o n f i g   - - f r o m - f i l e = k e y 1 = / p a t h / t o / b a r / f i l e 1 . t x t   - - f r o m - f i l e = k e y 2 = / p a t h / t o / b a r / f i l e 2 . t x t   #   C r e a t e   a   n e w   c o n f i g   m a p   n a m e d   m y - c o n f i g   w i t h   k e y 1 = c o n f i g 1   a n d   k e y 2 = c o n f i g 2   k u b e c t l   c r e a t e   c o n f i g m a p   m y - c o n f i g   - - f r o m - l i t e r a l = k e y 1 = c o n f i g 1   - - f r o m - l i t e r a l = k e y 2 = c o n f i g 2   #   C r e a t e   a   n e w   c o n f i g   m a p   n a m e d   m y - c o n f i g   f r o m   t h e   k e y = v a l u e   p a i r s   i n   t h e   f i l e   k u b e c t l   c r e a t e   c o n f i g m a p   m y - c o n f i g   - - f r o m - f i l e = p a t h / t o / b a r   #   C r e a t e   a   n e w   c o n f i g   m a p   n a m e d   m y - c o n f i g   f r o m   a n   e n v   f i l e   k u b e c t l   c r e a t e   c o n f i g m a p   m y - c o n f i g   - - f r o m - e n v - f i l e = p a t h / t o / f o o . e n v   - - f r o m - e n v - f i l e = p a t h / t o / b a r . e n v",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_configmap/",
    "id": "k8s_00041_section_2_589"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   A p p e n d   a   h a s h   o f   t h e   c o n f i g m a p   t o   i t s   n a m e .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   S p e c i f y   t h e   p a t h   t o   a   f i l e   t o   r e a d   l i n e s   o f   k e y = v a l   p a i r s   t o   c r e a t e   a   c o n f i g m a p .   K e y   f i l e   c a n   b e   s p e c i f i e d   u s i n g   i t s   f i l e   p a t h ,   i n   w h i c h   c a s e   f i l e   b a s e n a m e   w i l l   b e   u s e d   a s   c o n f i g m a p   k e y ,   o r   o p t i o n a l l y   w i t h   a   k e y   a n d   f i l e   p a t h ,   i n   w h i c h   c a s e   t h e   g i v e n   k e y   w i l l   b e   u s e d .   S p e c i f y i n g   a   d i r e c t o r y   w i l l   i t e r a t e   e a c h   n a m e d   f i l e   i n   t h e   d i r e c t o r y   w h o s e   b a s e n a m e   i s   a   v a l i d   c o n f i g m a p   k e y .   S p e c i f y   a   k e y   a n d   l i t e r a l   v a l u e   t o   i n s e r t   i n   c o n f i g m a p   ( i . e .   m y k e y = s o m e v a l u e )   h e l p   f o r   c o n f i g m a p   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_configmap/",
    "id": "k8s_00041_section_2_590"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_configmap/",
    "id": "k8s_00041_section_2_591"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_configmap/",
    "id": "k8s_00041_section_2_592"
  },
  {
    "question": "What is kubectl top pod?",
    "answer": "kubectl top podSynopsisDisplay resource (CPU/memory) usage of pods.The 'top pod' command allows you to see the resource consumption of pods.Due to the metrics pipeline delay, they may be unavailable for a few minutes since pod creation.kubectl top pod [NAME | -l label] Examples # Show metrics for all pods in the default namespace kubectl top pod # Show metrics for all pods in the given namespace kubectl top pod --namespace=NAMESPACE # Show metrics for a given pod and its containers kubectl top pod POD_NAME --containers # Show metrics for the pods defined by label name=myLabel kubectl top pod -l name=myLabel Options-A, --all-namespacesIf present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.--containersIf present, print usage of containers within a pod.--field-selector stringSelector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.-h, --helphelp for pod--no-headersIf present, print output without headers.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-swapPrint pod resources related to swap memory.--sort-by stringIf non-empty, sort pods list using specified field. The field can be either 'cpu' or 'memory'.--sumPrint the sum of the resource usage--use-protocol-buffers Default: trueEnables using protocol-buffers to access Metrics API.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the AP",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/kubectl_top_pod/",
    "id": "k8s_00042_qa_593"
  },
  {
    "question": "How does kubectl top pod work?",
    "answer": "kubectl top podSynopsisDisplay resource (CPU/memory) usage of pods.The 'top pod' command allows you to see the resource consumption of pods.Due to the metrics pipeline delay, they may be unavailable for a few minutes since pod creation.kubectl top pod [NAME | -l label] Examples # Show metrics for all pods in the default namespace kubectl top pod # Show metrics for all pods in the given namespace kubectl top pod --namespace=NAMESPACE # Show metrics for a given pod and its containers kubectl top pod POD_NAME --containers # Show metrics for the pods defined by label name=myLabel kubectl top pod -l name=myLabel Options-A, --all-namespacesIf present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.--containersIf present, print usage of containers within a pod.--field-selector stringSelector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.-h, --helphelp for pod--no-headersIf present, print output without headers.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-swapPrint pod resources related to swap memory.--sort-by stringIf non-empty, sort pods list using specified field. The field can be either 'cpu' or 'memory'.--sumPrint the sum of the resource usage--use-protocol-buffers Default: trueEnables using protocol-buffers to access Metrics API.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the AP",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/kubectl_top_pod/",
    "id": "k8s_00042_qa_594"
  },
  {
    "question": "When would you use kubectl top pod?",
    "answer": "kubectl top podSynopsisDisplay resource (CPU/memory) usage of pods.The 'top pod' command allows you to see the resource consumption of pods.Due to the metrics pipeline delay, they may be unavailable for a few minutes since pod creation.kubectl top pod [NAME | -l label] Examples # Show metrics for all pods in the default namespace kubectl top pod # Show metrics for all pods in the given namespace kubectl top pod --namespace=NAMESPACE # Show metrics for a given pod and its containers kubectl top pod POD_NAME --containers # Show metrics for the pods defined by label name=myLabel kubectl top pod -l name=myLabel Options-A, --all-namespacesIf present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.--containersIf present, print usage of containers within a pod.--field-selector stringSelector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.-h, --helphelp for pod--no-headersIf present, print output without headers.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-swapPrint pod resources related to swap memory.--sort-by stringIf non-empty, sort pods list using specified field. The field can be either 'cpu' or 'memory'.--sumPrint the sum of the resource usage--use-protocol-buffers Default: trueEnables using protocol-buffers to access Metrics API.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the AP",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/kubectl_top_pod/",
    "id": "k8s_00042_qa_595"
  },
  {
    "question": "What are the benefits of kubectl top pod?",
    "answer": "kubectl top podSynopsisDisplay resource (CPU/memory) usage of pods.The 'top pod' command allows you to see the resource consumption of pods.Due to the metrics pipeline delay, they may be unavailable for a few minutes since pod creation.kubectl top pod [NAME | -l label] Examples # Show metrics for all pods in the default namespace kubectl top pod # Show metrics for all pods in the given namespace kubectl top pod --namespace=NAMESPACE # Show metrics for a given pod and its containers kubectl top pod POD_NAME --containers # Show metrics for the pods defined by label name=myLabel kubectl top pod -l name=myLabel Options-A, --all-namespacesIf present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.--containersIf present, print usage of containers within a pod.--field-selector stringSelector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.-h, --helphelp for pod--no-headersIf present, print output without headers.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-swapPrint pod resources related to swap memory.--sort-by stringIf non-empty, sort pods list using specified field. The field can be either 'cpu' or 'memory'.--sumPrint the sum of the resource usage--use-protocol-buffers Default: trueEnables using protocol-buffers to access Metrics API.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the AP",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/kubectl_top_pod/",
    "id": "k8s_00042_qa_596"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   r e s o u r c e   ( C P U / m e m o r y )   u s a g e   o f   p o d s .   T h e   ' t o p   p o d '   c o m m a n d   a l l o w s   y o u   t o   s e e   t h e   r e s o u r c e   c o n s u m p t i o n   o f   p o d s .   D u e   t o   t h e   m e t r i c s   p i p e l i n e   d e l a y ,   t h e y   m a y   b e   u n a v a i l a b l e   f o r   a   f e w   m i n u t e s   s i n c e   p o d   c r e a t i o n .   k u b e c t l   t o p   p o d   [ N A M E   |   - l   l a b e l ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/kubectl_top_pod/",
    "id": "k8s_00042_section_2_597"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S h o w   m e t r i c s   f o r   a l l   p o d s   i n   t h e   d e f a u l t   n a m e s p a c e   k u b e c t l   t o p   p o d   #   S h o w   m e t r i c s   f o r   a l l   p o d s   i n   t h e   g i v e n   n a m e s p a c e   k u b e c t l   t o p   p o d   - - n a m e s p a c e = N A M E S P A C E   #   S h o w   m e t r i c s   f o r   a   g i v e n   p o d   a n d   i t s   c o n t a i n e r s   k u b e c t l   t o p   p o d   P O D _ N A M E   - - c o n t a i n e r s   #   S h o w   m e t r i c s   f o r   t h e   p o d s   d e f i n e d   b y   l a b e l   n a m e = m y L a b e l   k u b e c t l   t o p   p o d   - l   n a m e = m y L a b e l",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/kubectl_top_pod/",
    "id": "k8s_00042_section_2_598"
  },
  {
    "question": "What is Options?",
    "answer": "I f   p r e s e n t ,   l i s t   t h e   r e q u e s t e d   o b j e c t ( s )   a c r o s s   a l l   n a m e s p a c e s .   N a m e s p a c e   i n   c u r r e n t   c o n t e x t   i s   i g n o r e d   e v e n   i f   s p e c i f i e d   w i t h   - - n a m e s p a c e .   I f   p r e s e n t ,   p r i n t   u s a g e   o f   c o n t a i n e r s   w i t h i n   a   p o d .   S e l e c t o r   ( f i e l d   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   a n d   ' ! = ' . ( e . g .   - - f i e l d - s e l e c t o r   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 ) .   T h e   s e r v e r   o n l y   s u p p o r t s   a   l i m i t e d   n u m b e r   o f   f i e l d   q u e r i e s   p e r   t y p e .   h e l p   f o r   p o d   I f   p r e s e n t ,   p r i n t   o u t p u t   w i t h o u t   h e a d e r s .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   P r i n t   p o d   r e s o u r c e s   r e l a t e d   t o   s w a p   m e m o r y .   I f   n o n - e m p t y ,   s o r t   p o d s   l i s t   u s i n g   s p e c i f i e d   f i e l d .   T h e   f i e l d   c a n   b e   e i t h e r   ' c p u '   o r   ' m e m o r y ' .   P r i n t   t h e   s u m   o f   t h e   r e s o u r c e   u s a g e   E n a b l e s   u s i n g   p r o t o c o l - b u f f e r s   t o   a c c e s s   M e t r i c s   A P I .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/kubectl_top_pod/",
    "id": "k8s_00042_section_2_599"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/kubectl_top_pod/",
    "id": "k8s_00042_section_2_600"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   t o p   -   D i s p l a y   r e s o u r c e   ( C P U / m e m o r y )   u s a g e   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/kubectl_top_pod/",
    "id": "k8s_00042_section_2_601"
  },
  {
    "question": "What is Autoscale the DNS Service in a Cluster?",
    "answer": "Autoscale the DNS Service in a ClusterThis page shows how to enable and configure autoscaling of the DNS service in your Kubernetes cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.This guide assumes your nodes use the AMD64 or Intel 64 CPU architecture.Make sure Kubernetes DNS is enabled.Determine whether DNS horizontal autoscaling is already enabledList the Deployments in your cluster in the kube-system namespace:kubectl get deployment --namespace=kube-system The output is similar to this:NAME READY UP-TO-DATE AVAILABLE AGE ... kube-dns-autoscaler 1/1 1 1 ... ... If you see \"kube-dns-autoscaler\" in the output, DNS horizontal autoscaling is already enabled, and you can skip to Tuning autoscaling parameters.Get the name of your DNS DeploymentList the DNS deployments in your cluster in the kube-system namespace:kubectl get deployment -l k8s-app=kube-dns --namespace=kube-system The output is similar to this:NAME READY UP-TO-DATE AVAILABLE AGE ... coredns 2/2 2 2 ... ... If you don't see a Deployment for DNS services, you can also look for it by name:kubectl get deployment --namespace=kube-system and look for a deployment named coredns or kube-dns.Your scale target isDeployment/<your-deployment-name> where <your-deployment-name> is the name of your DNS Deployment. For example, if the name of your Deployment for DNS is coredns, your scale target is Deployment/coredns.Note:CoreDNS is the default DNS service for Kubernetes. CoreDNS sets the label k8s-app=kube-dns so that it can work in clusters that originally used kube-dns.Enable DNS horizontal autoscalingIn this section, you create a new Deployment. The Pods in the Deployment run a container based on the cluster-proportional-autoscaler-amd64 image.Create a file named dns-horizontal-autoscaler.yaml with this content:admin/dns/dns-horizontal-autoscaler.yaml kind: ServiceAccount apiVersion: v1 metadata: name: kube-dns-autoscaler namespace: kube-system --- kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 metadata: name: system:kube-dns-autoscaler rules: - apiGroups: [\"\"] resources: [\"nodes\"] verbs: [\"list\", \"watch\"] - apiGroups: [\"\"] resources: [\"replicationcontrollers/scale\"] verbs: [\"get\", \"update\"] - apiGroups: [\"apps\"] resources: [\"deployments/scale\", \"replicasets/scale\"] verbs: [\"get\", \"update\"] # Remove the configmaps rule once below issue is fixed: # kubernetes-incubator/cluster-proportional-autoscaler#16 - apiGroups: [\"\"] resources: [\"configmaps\"] verbs: [\"get\", \"create\"] --- kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: na",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-horizontal-autoscaling/",
    "id": "k8s_00043_qa_602"
  },
  {
    "question": "How does Autoscale the DNS Service in a Cluster work?",
    "answer": "Autoscale the DNS Service in a ClusterThis page shows how to enable and configure autoscaling of the DNS service in your Kubernetes cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.This guide assumes your nodes use the AMD64 or Intel 64 CPU architecture.Make sure Kubernetes DNS is enabled.Determine whether DNS horizontal autoscaling is already enabledList the Deployments in your cluster in the kube-system namespace:kubectl get deployment --namespace=kube-system The output is similar to this:NAME READY UP-TO-DATE AVAILABLE AGE ... kube-dns-autoscaler 1/1 1 1 ... ... If you see \"kube-dns-autoscaler\" in the output, DNS horizontal autoscaling is already enabled, and you can skip to Tuning autoscaling parameters.Get the name of your DNS DeploymentList the DNS deployments in your cluster in the kube-system namespace:kubectl get deployment -l k8s-app=kube-dns --namespace=kube-system The output is similar to this:NAME READY UP-TO-DATE AVAILABLE AGE ... coredns 2/2 2 2 ... ... If you don't see a Deployment for DNS services, you can also look for it by name:kubectl get deployment --namespace=kube-system and look for a deployment named coredns or kube-dns.Your scale target isDeployment/<your-deployment-name> where <your-deployment-name> is the name of your DNS Deployment. For example, if the name of your Deployment for DNS is coredns, your scale target is Deployment/coredns.Note:CoreDNS is the default DNS service for Kubernetes. CoreDNS sets the label k8s-app=kube-dns so that it can work in clusters that originally used kube-dns.Enable DNS horizontal autoscalingIn this section, you create a new Deployment. The Pods in the Deployment run a container based on the cluster-proportional-autoscaler-amd64 image.Create a file named dns-horizontal-autoscaler.yaml with this content:admin/dns/dns-horizontal-autoscaler.yaml kind: ServiceAccount apiVersion: v1 metadata: name: kube-dns-autoscaler namespace: kube-system --- kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 metadata: name: system:kube-dns-autoscaler rules: - apiGroups: [\"\"] resources: [\"nodes\"] verbs: [\"list\", \"watch\"] - apiGroups: [\"\"] resources: [\"replicationcontrollers/scale\"] verbs: [\"get\", \"update\"] - apiGroups: [\"apps\"] resources: [\"deployments/scale\", \"replicasets/scale\"] verbs: [\"get\", \"update\"] # Remove the configmaps rule once below issue is fixed: # kubernetes-incubator/cluster-proportional-autoscaler#16 - apiGroups: [\"\"] resources: [\"configmaps\"] verbs: [\"get\", \"create\"] --- kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: na",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-horizontal-autoscaling/",
    "id": "k8s_00043_qa_603"
  },
  {
    "question": "When would you use Autoscale the DNS Service in a Cluster?",
    "answer": "Autoscale the DNS Service in a ClusterThis page shows how to enable and configure autoscaling of the DNS service in your Kubernetes cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.This guide assumes your nodes use the AMD64 or Intel 64 CPU architecture.Make sure Kubernetes DNS is enabled.Determine whether DNS horizontal autoscaling is already enabledList the Deployments in your cluster in the kube-system namespace:kubectl get deployment --namespace=kube-system The output is similar to this:NAME READY UP-TO-DATE AVAILABLE AGE ... kube-dns-autoscaler 1/1 1 1 ... ... If you see \"kube-dns-autoscaler\" in the output, DNS horizontal autoscaling is already enabled, and you can skip to Tuning autoscaling parameters.Get the name of your DNS DeploymentList the DNS deployments in your cluster in the kube-system namespace:kubectl get deployment -l k8s-app=kube-dns --namespace=kube-system The output is similar to this:NAME READY UP-TO-DATE AVAILABLE AGE ... coredns 2/2 2 2 ... ... If you don't see a Deployment for DNS services, you can also look for it by name:kubectl get deployment --namespace=kube-system and look for a deployment named coredns or kube-dns.Your scale target isDeployment/<your-deployment-name> where <your-deployment-name> is the name of your DNS Deployment. For example, if the name of your Deployment for DNS is coredns, your scale target is Deployment/coredns.Note:CoreDNS is the default DNS service for Kubernetes. CoreDNS sets the label k8s-app=kube-dns so that it can work in clusters that originally used kube-dns.Enable DNS horizontal autoscalingIn this section, you create a new Deployment. The Pods in the Deployment run a container based on the cluster-proportional-autoscaler-amd64 image.Create a file named dns-horizontal-autoscaler.yaml with this content:admin/dns/dns-horizontal-autoscaler.yaml kind: ServiceAccount apiVersion: v1 metadata: name: kube-dns-autoscaler namespace: kube-system --- kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 metadata: name: system:kube-dns-autoscaler rules: - apiGroups: [\"\"] resources: [\"nodes\"] verbs: [\"list\", \"watch\"] - apiGroups: [\"\"] resources: [\"replicationcontrollers/scale\"] verbs: [\"get\", \"update\"] - apiGroups: [\"apps\"] resources: [\"deployments/scale\", \"replicasets/scale\"] verbs: [\"get\", \"update\"] # Remove the configmaps rule once below issue is fixed: # kubernetes-incubator/cluster-proportional-autoscaler#16 - apiGroups: [\"\"] resources: [\"configmaps\"] verbs: [\"get\", \"create\"] --- kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: na",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-horizontal-autoscaling/",
    "id": "k8s_00043_qa_604"
  },
  {
    "question": "What are the benefits of Autoscale the DNS Service in a Cluster?",
    "answer": "Autoscale the DNS Service in a ClusterThis page shows how to enable and configure autoscaling of the DNS service in your Kubernetes cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.This guide assumes your nodes use the AMD64 or Intel 64 CPU architecture.Make sure Kubernetes DNS is enabled.Determine whether DNS horizontal autoscaling is already enabledList the Deployments in your cluster in the kube-system namespace:kubectl get deployment --namespace=kube-system The output is similar to this:NAME READY UP-TO-DATE AVAILABLE AGE ... kube-dns-autoscaler 1/1 1 1 ... ... If you see \"kube-dns-autoscaler\" in the output, DNS horizontal autoscaling is already enabled, and you can skip to Tuning autoscaling parameters.Get the name of your DNS DeploymentList the DNS deployments in your cluster in the kube-system namespace:kubectl get deployment -l k8s-app=kube-dns --namespace=kube-system The output is similar to this:NAME READY UP-TO-DATE AVAILABLE AGE ... coredns 2/2 2 2 ... ... If you don't see a Deployment for DNS services, you can also look for it by name:kubectl get deployment --namespace=kube-system and look for a deployment named coredns or kube-dns.Your scale target isDeployment/<your-deployment-name> where <your-deployment-name> is the name of your DNS Deployment. For example, if the name of your Deployment for DNS is coredns, your scale target is Deployment/coredns.Note:CoreDNS is the default DNS service for Kubernetes. CoreDNS sets the label k8s-app=kube-dns so that it can work in clusters that originally used kube-dns.Enable DNS horizontal autoscalingIn this section, you create a new Deployment. The Pods in the Deployment run a container based on the cluster-proportional-autoscaler-amd64 image.Create a file named dns-horizontal-autoscaler.yaml with this content:admin/dns/dns-horizontal-autoscaler.yaml kind: ServiceAccount apiVersion: v1 metadata: name: kube-dns-autoscaler namespace: kube-system --- kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 metadata: name: system:kube-dns-autoscaler rules: - apiGroups: [\"\"] resources: [\"nodes\"] verbs: [\"list\", \"watch\"] - apiGroups: [\"\"] resources: [\"replicationcontrollers/scale\"] verbs: [\"get\", \"update\"] - apiGroups: [\"apps\"] resources: [\"deployments/scale\", \"replicasets/scale\"] verbs: [\"get\", \"update\"] # Remove the configmaps rule once below issue is fixed: # kubernetes-incubator/cluster-proportional-autoscaler#16 - apiGroups: [\"\"] resources: [\"configmaps\"] verbs: [\"get\", \"create\"] --- kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: na",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-horizontal-autoscaling/",
    "id": "k8s_00043_qa_605"
  },
  {
    "question": "What is Autoscale the DNS Service in a Cluster?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   e n a b l e   a n d   c o n f i g u r e   a u t o s c a l i n g   o f   t h e   D N S   s e r v i c e   i n   y o u r   K u b e r n e t e s   c l u s t e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-horizontal-autoscaling/",
    "id": "k8s_00043_section_1_606"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n . T h i s   g u i d e   a s s u m e s   y o u r   n o d e s   u s e   t h e   A M D 6 4   o r   I n t e l   6 4   C P U   a r c h i t e c t u r e . M a k e   s u r e   K u b e r n e t e s   D N S   i s   e n a b l e d .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-horizontal-autoscaling/",
    "id": "k8s_00043_section_2_607"
  },
  {
    "question": "What is Determine whether DNS horizontal autoscaling is already enabled?",
    "answer": "L i s t   t h e   D e p l o y m e n t s   i n   y o u r   c l u s t e r   i n   t h e   k u b e - s y s t e m   n a m e s p a c e :   k u b e c t l   g e t   d e p l o y m e n t   - - n a m e s p a c e = k u b e - s y s t e m   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   . . .   k u b e - d n s - a u t o s c a l e r   1 / 1   1   1   . . .   . . .   I f   y o u   s e e   \" k u b e - d n s - a u t o s c a l e r \"   i n   t h e   o u t p u t ,   D N S   h o r i z o n t a l   a u t o s c a l i n g   i s   a l r e a d y   e n a b l e d ,   a n d   y o u   c a n   s k i p   t o   T u n i n g   a u t o s c a l i n g   p a r a m e t e r s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-horizontal-autoscaling/",
    "id": "k8s_00043_section_2_608"
  },
  {
    "question": "What is Get the name of your DNS Deployment?",
    "answer": "L i s t   t h e   D N S   d e p l o y m e n t s   i n   y o u r   c l u s t e r   i n   t h e   k u b e - s y s t e m   n a m e s p a c e :   k u b e c t l   g e t   d e p l o y m e n t   - l   k 8 s - a p p = k u b e - d n s   - - n a m e s p a c e = k u b e - s y s t e m   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   . . .   c o r e d n s   2 / 2   2   2   . . .   . . .   I f   y o u   d o n ' t   s e e   a   D e p l o y m e n t   f o r   D N S   s e r v i c e s ,   y o u   c a n   a l s o   l o o k   f o r   i t   b y   n a m e :   k u b e c t l   g e t   d e p l o y m e n t   - - n a m e s p a c e = k u b e - s y s t e m   a n d   l o o k   f o r   a   d e p l o y m e n t   n a m e d   c o r e d n s   o r   k u b e - d n s .   Y o u r   s c a l e   t a r g e t   i s   D e p l o y m e n t / < y o u r - d e p l o y m e n t - n a m e >   w h e r e   < y o u r - d e p l o y m e n t - n a m e >   i s   t h e   n a m e   o f   y o u r   D N S   D e p l o y m e n t .   F o r   e x a m p l e ,   i f   t h e   n a m e   o f   y o u r   D e p l o y m e n t   f o r   D N S   i s   c o r e d n s ,   y o u r   s c a l e   t a r g e t   i s   D e p l o y m e n t / c o r e d n s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-horizontal-autoscaling/",
    "id": "k8s_00043_section_2_609"
  },
  {
    "question": "What is Enable DNS horizontal autoscaling?",
    "answer": "I n   t h i s   s e c t i o n ,   y o u   c r e a t e   a   n e w   D e p l o y m e n t .   T h e   P o d s   i n   t h e   D e p l o y m e n t   r u n   a   c o n t a i n e r   b a s e d   o n   t h e   c l u s t e r - p r o p o r t i o n a l - a u t o s c a l e r - a m d 6 4   i m a g e .   C r e a t e   a   f i l e   n a m e d   d n s - h o r i z o n t a l - a u t o s c a l e r . y a m l   w i t h   t h i s   c o n t e n t :   k i n d :   S e r v i c e A c c o u n t   a p i V e r s i o n :   v 1   m e t a d a t a :   n a m e :   k u b e - d n s - a u t o s c a l e r   n a m e s p a c e :   k u b e - s y s t e m   - - -   k i n d :   C l u s t e r R o l e   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   m e t a d a t a :   n a m e :   s y s t e m : k u b e - d n s - a u t o s c a l e r   r u l e s :   -   a p i G r o u p s :   [ \" \" ]   r e s o u r c e s :   [ \" n o d e s \" ]   v e r b s :   [ \" l i s t \" ,   \" w a t c h \" ]   -   a p i G r o u p s :   [ \" \" ]   r e s o u r c e s :   [ \" r e p l i c a t i o n c o n t r o l l e r s / s c a l e \" ]   v e r b s :   [ \" g e t \" ,   \" u p d a t e \" ]   -   a p i G r o u p s :   [ \" a p p s \" ]   r e s o u r c e s :   [ \" d e p l o y m e n t s / s c a l e \" ,   \" r e p l i c a s e t s / s c a l e \" ]   v e r b s :   [ \" g e t \" ,   \" u p d a t e \" ]   #   R e m o v e   t h e   c o n f i g m a p s   r u l e   o n c e   b e l o w   i s s u e   i s   f i x e d :   #   k u b e r n e t e s - i n c u b a t o r / c l u s t e r - p r o p o r t i o n a l - a u t o s c a l e r # 1 6   -   a p i G r o u p s :   [ \" \" ]   r e s o u r c e s :   [ \" c o n f i g m a p s \" ]   v e r b s :   [ \" g e t \" ,   \" c r e a t e \" ]   - - -   k i n d :   C l u s t e r R o l e B i n d i n g   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   m e t a d a t a :   n a m e :   s y s t e m : k u b e - d n s - a u t o s c a l e r   s u b j e c t s :   -   k i n d :   S e r v i c e A c ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-horizontal-autoscaling/",
    "id": "k8s_00043_section_2_610"
  },
  {
    "question": "What is Tune DNS autoscaling parameters?",
    "answer": "V e r i f y   t h a t   t h e   k u b e - d n s - a u t o s c a l e r   C o n f i g M a p   e x i s t s :   k u b e c t l   g e t   c o n f i g m a p   - - n a m e s p a c e = k u b e - s y s t e m   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   D A T A   A G E   . . .   k u b e - d n s - a u t o s c a l e r   1   . . .   . . .   M o d i f y   t h e   d a t a   i n   t h e   C o n f i g M a p :   k u b e c t l   e d i t   c o n f i g m a p   k u b e - d n s - a u t o s c a l e r   - - n a m e s p a c e = k u b e - s y s t e m   L o o k   f o r   t h i s   l i n e :   l i n e a r :   ' { \" c o r e s P e r R e p l i c a \" : 2 5 6 , \" m i n \" : 1 , \" n o d e s P e r R e p l i c a \" : 1 6 } '   M o d i f y   t h e   f i e l d s   a c c o r d i n g   t o   y o u r   n e e d s .   T h e   \" m i n \"   f i e l d   i n d i c a t e s   t h e   m i n i m a l   n u m b e r   o f   D N S   b a c k e n d s .   T h e   a c t u a l   n u m b e r   o f   b a c k e n d s   i s   c a l c u l a t e d   u s i n g   t h i s   e q u a t i o n :   r e p l i c a s   =   m a x (   c e i l (   c o r e s   ×   1 / c o r e s P e r R e p l i c a   )   ,   c e i l (   n o d e s   ×   1 / n o d e s P e r R e p l i c a   )   )   N o t e   t h a t   t h e   v a l u e s   o f   b o t h   c o r e s P e r R e p l i c a   a n d   n o d e s P e r R e p l i c a   a r e   f l o a t s .   T h e   i d e a   i s   t h a t   w h e n   a   c l u s t e r   i s   u s i n g   n o d e s   t h a t   h a v e   m a n y   c o r e s ,   c o r e s P e r R e p l i c a   d o m i n a t e s .   W h e n   a   c l u s t e r   i s   u s i n g   n o d e s   t h a t   h a v e   f e w e r   c o r e s ,   n o d e s P e r R e p l i c a   d o m i n a t e s .   T h e r e   a r e   o t h e r   s u p p o r t e d   s c a l i n g   p a t t e r n s .   F o r   d e t a i l s ,   s e e   c l u s t e r - p r o p o r t i o n a l - a u t o s c a l e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-horizontal-autoscaling/",
    "id": "k8s_00043_section_2_611"
  },
  {
    "question": "What is Disable DNS horizontal autoscaling?",
    "answer": "T h e r e   a r e   a   f e w   o p t i o n s   f o r   t u n i n g   D N S   h o r i z o n t a l   a u t o s c a l i n g .   W h i c h   o p t i o n   t o   u s e   d e p e n d s   o n   d i f f e r e n t   c o n d i t i o n s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-horizontal-autoscaling/",
    "id": "k8s_00043_section_2_612"
  },
  {
    "question": "What is Option 1: Scale down the kube-dns-autoscaler deployment to 0 replicas?",
    "answer": "T h i s   o p t i o n   w o r k s   f o r   a l l   s i t u a t i o n s .   E n t e r   t h i s   c o m m a n d :   k u b e c t l   s c a l e   d e p l o y m e n t   - - r e p l i c a s = 0   k u b e - d n s - a u t o s c a l e r   - - n a m e s p a c e = k u b e - s y s t e m   T h e   o u t p u t   i s :   d e p l o y m e n t . a p p s / k u b e - d n s - a u t o s c a l e r   s c a l e d   V e r i f y   t h a t   t h e   r e p l i c a   c o u n t   i s   z e r o :   k u b e c t l   g e t   r s   - - n a m e s p a c e = k u b e - s y s t e m   T h e   o u t p u t   d i s p l a y s   0   i n   t h e   D E S I R E D   a n d   C U R R E N T   c o l u m n s :   N A M E   D E S I R E D   C U R R E N T   R E A D Y   A G E   . . .   k u b e - d n s - a u t o s c a l e r - 6 b 5 9 7 8 9 f c 8   0   0   0   . . .   . . .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-horizontal-autoscaling/",
    "id": "k8s_00043_section_3_613"
  },
  {
    "question": "What is Option 2: Delete the kube-dns-autoscaler deployment?",
    "answer": "T h i s   o p t i o n   w o r k s   i f   k u b e - d n s - a u t o s c a l e r   i s   u n d e r   y o u r   o w n   c o n t r o l ,   w h i c h   m e a n s   n o   o n e   w i l l   r e - c r e a t e   i t :   k u b e c t l   d e l e t e   d e p l o y m e n t   k u b e - d n s - a u t o s c a l e r   - - n a m e s p a c e = k u b e - s y s t e m   T h e   o u t p u t   i s :   d e p l o y m e n t . a p p s   \" k u b e - d n s - a u t o s c a l e r \"   d e l e t e d",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-horizontal-autoscaling/",
    "id": "k8s_00043_section_3_614"
  },
  {
    "question": "What is Option 3: Delete the kube-dns-autoscaler manifest file from the master node?",
    "answer": "T h i s   o p t i o n   w o r k s   i f   k u b e - d n s - a u t o s c a l e r   i s   u n d e r   c o n t r o l   o f   t h e   ( d e p r e c a t e d )   A d d o n   M a n a g e r ,   a n d   y o u   h a v e   w r i t e   a c c e s s   t o   t h e   m a s t e r   n o d e .   S i g n   i n   t o   t h e   m a s t e r   n o d e   a n d   d e l e t e   t h e   c o r r e s p o n d i n g   m a n i f e s t   f i l e .   T h e   c o m m o n   p a t h   f o r   t h i s   k u b e - d n s - a u t o s c a l e r   i s :   / e t c / k u b e r n e t e s / a d d o n s / d n s - h o r i z o n t a l - a u t o s c a l e r / d n s - h o r i z o n t a l - a u t o s c a l e r . y a m l   A f t e r   t h e   m a n i f e s t   f i l e   i s   d e l e t e d ,   t h e   A d d o n   M a n a g e r   w i l l   d e l e t e   t h e   k u b e - d n s - a u t o s c a l e r   D e p l o y m e n t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-horizontal-autoscaling/",
    "id": "k8s_00043_section_3_615"
  },
  {
    "question": "What is Understanding how DNS horizontal autoscaling works?",
    "answer": "T h e   c l u s t e r - p r o p o r t i o n a l - a u t o s c a l e r   a p p l i c a t i o n   i s   d e p l o y e d   s e p a r a t e l y   f r o m   t h e   D N S   s e r v i c e . A n   a u t o s c a l e r   P o d   r u n s   a   c l i e n t   t h a t   p o l l s   t h e   K u b e r n e t e s   A P I   s e r v e r   f o r   t h e   n u m b e r   o f   n o d e s   a n d   c o r e s   i n   t h e   c l u s t e r . A   d e s i r e d   r e p l i c a   c o u n t   i s   c a l c u l a t e d   a n d   a p p l i e d   t o   t h e   D N S   b a c k e n d s   b a s e d   o n   t h e   c u r r e n t   s c h e d u l a b l e   n o d e s   a n d   c o r e s   a n d   t h e   g i v e n   s c a l i n g   p a r a m e t e r s . T h e   s c a l i n g   p a r a m e t e r s   a n d   d a t a   p o i n t s   a r e   p r o v i d e d   v i a   a   C o n f i g M a p   t o   t h e   a u t o s c a l e r ,   a n d   i t   r e f r e s h e s   i t s   p a r a m e t e r s   t a b l e   e v e r y   p o l l   i n t e r v a l   t o   b e   u p   t o   d a t e   w i t h   t h e   l a t e s t   d e s i r e d   s c a l i n g   p a r a m e t e r s . C h a n g e s   t o   t h e   s c a l i n g   p a r a m e t e r s   a r e   a l l o w e d   w i t h o u t   r e b u i l d i n g   o r   r e s t a r t i n g   t h e   a u t o s c a l e r   P o d . T h e   a u t o s c a l e r   p r o v i d e s   a   c o n t r o l l e r   i n t e r f a c e   t o   s u p p o r t   t w o   c o n t r o l   p a t t e r n s :   l i n e a r   a n d   l a d d e r .   T h e   c l u s t e r - p r o p o r t i o n a l - a u t o s c a l e r   a p p l i c a t i o n   i s   d e p l o y e d   s e p a r a t e l y   f r o m   t h e   D N S   s e r v i c e .   A n   a u t o s c a l e r   P o d   r u n s   a   c l i e n t   t h a t   p o l l s   t h e   K u b e r n e t e s   A P I   s e r v e r   f o r   t h e   n u m b e r   o f   n o d e s   a n d   c o r e s   i n   t h e   c l u s t e r .   A   d e s i r e d   r e p l i c a   c o u n t   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-horizontal-autoscaling/",
    "id": "k8s_00043_section_2_616"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   G u a r a n t e e d   S c h e d u l i n g   F o r   C r i t i c a l   A d d - O n   P o d s . L e a r n   m o r e   a b o u t   t h e   i m p l e m e n t a t i o n   o f   c l u s t e r - p r o p o r t i o n a l - a u t o s c a l e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-horizontal-autoscaling/",
    "id": "k8s_00043_section_2_617"
  },
  {
    "question": "What is Running in multiple zones?",
    "answer": "Running in multiple zonesThis page describes running Kubernetes across multiple zones.BackgroundKubernetes is designed so that a single Kubernetes cluster can run across multiple failure zones, typically where these zones fit within a logical grouping called a region. Major cloud providers define a region as a set of failure zones (also called availability zones) that provide a consistent set of features: within a region, each zone offers the same APIs and services.Typical cloud architectures aim to minimize the chance that a failure in one zone also impairs services in another zone.Control plane behaviorAll control plane components support running as a pool of interchangeable resources, replicated per component.When you deploy a cluster control plane, place replicas of control plane components across multiple failure zones. If availability is an important concern, select at least three failure zones and replicate each individual control plane component (API server, scheduler, etcd, cluster controller manager) across at least three failure zones. If you are running a cloud controller manager then you should also replicate this across all the failure zones you selected.Note:Kubernetes does not provide cross-zone resilience for the API server endpoints. You can use various techniques to improve availability for the cluster API server, including DNS round-robin, SRV records, or a third-party load balancing solution with health checking.Node behaviorKubernetes automatically spreads the Pods for workload resources (such as Deployment or StatefulSet) across different nodes in a cluster. This spreading helps reduce the impact of failures.When nodes start up, the kubelet on each node automatically adds labels to the Node object that represents that specific kubelet in the Kubernetes API. These labels can include zone information.If your cluster spans multiple zones or regions, you can use node labels in conjunction with Pod topology spread constraints to control how Pods are spread across your cluster among fault domains: regions, zones, and even specific nodes. These hints enable the scheduler to place Pods for better expected availability, reducing the risk that a correlated failure affects your whole workload.For example, you can set a constraint to make sure that the 3 replicas of a StatefulSet are all running in different zones to each other, whenever that is feasible. You can define this declaratively without explicitly defining which availability zones are in use for each workload.Distributing nodes across zonesKubernetes' core does not create nodes for you; you need to do that yourself, or use a tool such as the Cluster API to manage nodes on your behalf.Using tools such as the Cluster API you can define sets of machines to run as worker nodes for your cluster across multiple failure domains, and rules to automatically heal the cluster in case of whole-zone service disruption.Manual zone assignment for PodsYou can apply node selector constraints ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/multiple-zones/",
    "id": "k8s_00044_qa_618"
  },
  {
    "question": "How does Running in multiple zones work?",
    "answer": "Running in multiple zonesThis page describes running Kubernetes across multiple zones.BackgroundKubernetes is designed so that a single Kubernetes cluster can run across multiple failure zones, typically where these zones fit within a logical grouping called a region. Major cloud providers define a region as a set of failure zones (also called availability zones) that provide a consistent set of features: within a region, each zone offers the same APIs and services.Typical cloud architectures aim to minimize the chance that a failure in one zone also impairs services in another zone.Control plane behaviorAll control plane components support running as a pool of interchangeable resources, replicated per component.When you deploy a cluster control plane, place replicas of control plane components across multiple failure zones. If availability is an important concern, select at least three failure zones and replicate each individual control plane component (API server, scheduler, etcd, cluster controller manager) across at least three failure zones. If you are running a cloud controller manager then you should also replicate this across all the failure zones you selected.Note:Kubernetes does not provide cross-zone resilience for the API server endpoints. You can use various techniques to improve availability for the cluster API server, including DNS round-robin, SRV records, or a third-party load balancing solution with health checking.Node behaviorKubernetes automatically spreads the Pods for workload resources (such as Deployment or StatefulSet) across different nodes in a cluster. This spreading helps reduce the impact of failures.When nodes start up, the kubelet on each node automatically adds labels to the Node object that represents that specific kubelet in the Kubernetes API. These labels can include zone information.If your cluster spans multiple zones or regions, you can use node labels in conjunction with Pod topology spread constraints to control how Pods are spread across your cluster among fault domains: regions, zones, and even specific nodes. These hints enable the scheduler to place Pods for better expected availability, reducing the risk that a correlated failure affects your whole workload.For example, you can set a constraint to make sure that the 3 replicas of a StatefulSet are all running in different zones to each other, whenever that is feasible. You can define this declaratively without explicitly defining which availability zones are in use for each workload.Distributing nodes across zonesKubernetes' core does not create nodes for you; you need to do that yourself, or use a tool such as the Cluster API to manage nodes on your behalf.Using tools such as the Cluster API you can define sets of machines to run as worker nodes for your cluster across multiple failure domains, and rules to automatically heal the cluster in case of whole-zone service disruption.Manual zone assignment for PodsYou can apply node selector constraints ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/multiple-zones/",
    "id": "k8s_00044_qa_619"
  },
  {
    "question": "When would you use Running in multiple zones?",
    "answer": "Running in multiple zonesThis page describes running Kubernetes across multiple zones.BackgroundKubernetes is designed so that a single Kubernetes cluster can run across multiple failure zones, typically where these zones fit within a logical grouping called a region. Major cloud providers define a region as a set of failure zones (also called availability zones) that provide a consistent set of features: within a region, each zone offers the same APIs and services.Typical cloud architectures aim to minimize the chance that a failure in one zone also impairs services in another zone.Control plane behaviorAll control plane components support running as a pool of interchangeable resources, replicated per component.When you deploy a cluster control plane, place replicas of control plane components across multiple failure zones. If availability is an important concern, select at least three failure zones and replicate each individual control plane component (API server, scheduler, etcd, cluster controller manager) across at least three failure zones. If you are running a cloud controller manager then you should also replicate this across all the failure zones you selected.Note:Kubernetes does not provide cross-zone resilience for the API server endpoints. You can use various techniques to improve availability for the cluster API server, including DNS round-robin, SRV records, or a third-party load balancing solution with health checking.Node behaviorKubernetes automatically spreads the Pods for workload resources (such as Deployment or StatefulSet) across different nodes in a cluster. This spreading helps reduce the impact of failures.When nodes start up, the kubelet on each node automatically adds labels to the Node object that represents that specific kubelet in the Kubernetes API. These labels can include zone information.If your cluster spans multiple zones or regions, you can use node labels in conjunction with Pod topology spread constraints to control how Pods are spread across your cluster among fault domains: regions, zones, and even specific nodes. These hints enable the scheduler to place Pods for better expected availability, reducing the risk that a correlated failure affects your whole workload.For example, you can set a constraint to make sure that the 3 replicas of a StatefulSet are all running in different zones to each other, whenever that is feasible. You can define this declaratively without explicitly defining which availability zones are in use for each workload.Distributing nodes across zonesKubernetes' core does not create nodes for you; you need to do that yourself, or use a tool such as the Cluster API to manage nodes on your behalf.Using tools such as the Cluster API you can define sets of machines to run as worker nodes for your cluster across multiple failure domains, and rules to automatically heal the cluster in case of whole-zone service disruption.Manual zone assignment for PodsYou can apply node selector constraints ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/multiple-zones/",
    "id": "k8s_00044_qa_620"
  },
  {
    "question": "What are the benefits of Running in multiple zones?",
    "answer": "Running in multiple zonesThis page describes running Kubernetes across multiple zones.BackgroundKubernetes is designed so that a single Kubernetes cluster can run across multiple failure zones, typically where these zones fit within a logical grouping called a region. Major cloud providers define a region as a set of failure zones (also called availability zones) that provide a consistent set of features: within a region, each zone offers the same APIs and services.Typical cloud architectures aim to minimize the chance that a failure in one zone also impairs services in another zone.Control plane behaviorAll control plane components support running as a pool of interchangeable resources, replicated per component.When you deploy a cluster control plane, place replicas of control plane components across multiple failure zones. If availability is an important concern, select at least three failure zones and replicate each individual control plane component (API server, scheduler, etcd, cluster controller manager) across at least three failure zones. If you are running a cloud controller manager then you should also replicate this across all the failure zones you selected.Note:Kubernetes does not provide cross-zone resilience for the API server endpoints. You can use various techniques to improve availability for the cluster API server, including DNS round-robin, SRV records, or a third-party load balancing solution with health checking.Node behaviorKubernetes automatically spreads the Pods for workload resources (such as Deployment or StatefulSet) across different nodes in a cluster. This spreading helps reduce the impact of failures.When nodes start up, the kubelet on each node automatically adds labels to the Node object that represents that specific kubelet in the Kubernetes API. These labels can include zone information.If your cluster spans multiple zones or regions, you can use node labels in conjunction with Pod topology spread constraints to control how Pods are spread across your cluster among fault domains: regions, zones, and even specific nodes. These hints enable the scheduler to place Pods for better expected availability, reducing the risk that a correlated failure affects your whole workload.For example, you can set a constraint to make sure that the 3 replicas of a StatefulSet are all running in different zones to each other, whenever that is feasible. You can define this declaratively without explicitly defining which availability zones are in use for each workload.Distributing nodes across zonesKubernetes' core does not create nodes for you; you need to do that yourself, or use a tool such as the Cluster API to manage nodes on your behalf.Using tools such as the Cluster API you can define sets of machines to run as worker nodes for your cluster across multiple failure domains, and rules to automatically heal the cluster in case of whole-zone service disruption.Manual zone assignment for PodsYou can apply node selector constraints ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/multiple-zones/",
    "id": "k8s_00044_qa_621"
  },
  {
    "question": "What is Running in multiple zones?",
    "answer": "T h i s   p a g e   d e s c r i b e s   r u n n i n g   K u b e r n e t e s   a c r o s s   m u l t i p l e   z o n e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/multiple-zones/",
    "id": "k8s_00044_section_1_622"
  },
  {
    "question": "What is Background?",
    "answer": "K u b e r n e t e s   i s   d e s i g n e d   s o   t h a t   a   s i n g l e   K u b e r n e t e s   c l u s t e r   c a n   r u n   a c r o s s   m u l t i p l e   f a i l u r e   z o n e s ,   t y p i c a l l y   w h e r e   t h e s e   z o n e s   f i t   w i t h i n   a   l o g i c a l   g r o u p i n g   c a l l e d   a   r e g i o n .   M a j o r   c l o u d   p r o v i d e r s   d e f i n e   a   r e g i o n   a s   a   s e t   o f   f a i l u r e   z o n e s   ( a l s o   c a l l e d   a v a i l a b i l i t y   z o n e s )   t h a t   p r o v i d e   a   c o n s i s t e n t   s e t   o f   f e a t u r e s :   w i t h i n   a   r e g i o n ,   e a c h   z o n e   o f f e r s   t h e   s a m e   A P I s   a n d   s e r v i c e s .   T y p i c a l   c l o u d   a r c h i t e c t u r e s   a i m   t o   m i n i m i z e   t h e   c h a n c e   t h a t   a   f a i l u r e   i n   o n e   z o n e   a l s o   i m p a i r s   s e r v i c e s   i n   a n o t h e r   z o n e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/multiple-zones/",
    "id": "k8s_00044_section_2_623"
  },
  {
    "question": "What is Control plane behavior?",
    "answer": "A l l   c o n t r o l   p l a n e   c o m p o n e n t s   s u p p o r t   r u n n i n g   a s   a   p o o l   o f   i n t e r c h a n g e a b l e   r e s o u r c e s ,   r e p l i c a t e d   p e r   c o m p o n e n t .   W h e n   y o u   d e p l o y   a   c l u s t e r   c o n t r o l   p l a n e ,   p l a c e   r e p l i c a s   o f   c o n t r o l   p l a n e   c o m p o n e n t s   a c r o s s   m u l t i p l e   f a i l u r e   z o n e s .   I f   a v a i l a b i l i t y   i s   a n   i m p o r t a n t   c o n c e r n ,   s e l e c t   a t   l e a s t   t h r e e   f a i l u r e   z o n e s   a n d   r e p l i c a t e   e a c h   i n d i v i d u a l   c o n t r o l   p l a n e   c o m p o n e n t   ( A P I   s e r v e r ,   s c h e d u l e r ,   e t c d ,   c l u s t e r   c o n t r o l l e r   m a n a g e r )   a c r o s s   a t   l e a s t   t h r e e   f a i l u r e   z o n e s .   I f   y o u   a r e   r u n n i n g   a   c l o u d   c o n t r o l l e r   m a n a g e r   t h e n   y o u   s h o u l d   a l s o   r e p l i c a t e   t h i s   a c r o s s   a l l   t h e   f a i l u r e   z o n e s   y o u   s e l e c t e d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/multiple-zones/",
    "id": "k8s_00044_section_2_624"
  },
  {
    "question": "What is Node behavior?",
    "answer": "K u b e r n e t e s   a u t o m a t i c a l l y   s p r e a d s   t h e   P o d s   f o r   w o r k l o a d   r e s o u r c e s   ( s u c h   a s   D e p l o y m e n t   o r   S t a t e f u l S e t )   a c r o s s   d i f f e r e n t   n o d e s   i n   a   c l u s t e r .   T h i s   s p r e a d i n g   h e l p s   r e d u c e   t h e   i m p a c t   o f   f a i l u r e s .   W h e n   n o d e s   s t a r t   u p ,   t h e   k u b e l e t   o n   e a c h   n o d e   a u t o m a t i c a l l y   a d d s   l a b e l s   t o   t h e   N o d e   o b j e c t   t h a t   r e p r e s e n t s   t h a t   s p e c i f i c   k u b e l e t   i n   t h e   K u b e r n e t e s   A P I .   T h e s e   l a b e l s   c a n   i n c l u d e   z o n e   i n f o r m a t i o n .   I f   y o u r   c l u s t e r   s p a n s   m u l t i p l e   z o n e s   o r   r e g i o n s ,   y o u   c a n   u s e   n o d e   l a b e l s   i n   c o n j u n c t i o n   w i t h   P o d   t o p o l o g y   s p r e a d   c o n s t r a i n t s   t o   c o n t r o l   h o w   P o d s   a r e   s p r e a d   a c r o s s   y o u r   c l u s t e r   a m o n g   f a u l t   d o m a i n s :   r e g i o n s ,   z o n e s ,   a n d   e v e n   s p e c i f i c   n o d e s .   T h e s e   h i n t s   e n a b l e   t h e   s c h e d u l e r   t o   p l a c e   P o d s   f o r   b e t t e r   e x p e c t e d   a v a i l a b i l i t y ,   r e d u c i n g   t h e   r i s k   t h a t   a   c o r r e l a t e d   f a i l u r e   a f f e c t s   y o u r   w h o l e   w o r k l o a d .   F o r   e x a m p l e ,   y o u   c a n   s e t   a   c o n s t r a i n t   t o   m a k e   s u r e   t h a t   t h e   3   r e p l i c a s   o f   a   S t a t e f u l S e t   a r e   a l l   r u n n i n g   i n   d i f f e r e n t   z o n e s   t o   e a c h   o t h e r ,   w h e n e v e r   t h a t   i s   f e a s i b l e .   Y o u   c a n   d e f i n e   t h i s   d e c l a r a t i v e l y   w i t h o u t   e x p l i c i t l y   d e f i n ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/multiple-zones/",
    "id": "k8s_00044_section_2_625"
  },
  {
    "question": "What is Distributing nodes across zones?",
    "answer": "K u b e r n e t e s '   c o r e   d o e s   n o t   c r e a t e   n o d e s   f o r   y o u ;   y o u   n e e d   t o   d o   t h a t   y o u r s e l f ,   o r   u s e   a   t o o l   s u c h   a s   t h e   C l u s t e r   A P I   t o   m a n a g e   n o d e s   o n   y o u r   b e h a l f .   U s i n g   t o o l s   s u c h   a s   t h e   C l u s t e r   A P I   y o u   c a n   d e f i n e   s e t s   o f   m a c h i n e s   t o   r u n   a s   w o r k e r   n o d e s   f o r   y o u r   c l u s t e r   a c r o s s   m u l t i p l e   f a i l u r e   d o m a i n s ,   a n d   r u l e s   t o   a u t o m a t i c a l l y   h e a l   t h e   c l u s t e r   i n   c a s e   o f   w h o l e - z o n e   s e r v i c e   d i s r u p t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/multiple-zones/",
    "id": "k8s_00044_section_3_626"
  },
  {
    "question": "What is Manual zone assignment for Pods?",
    "answer": "Y o u   c a n   a p p l y   n o d e   s e l e c t o r   c o n s t r a i n t s   t o   P o d s   t h a t   y o u   c r e a t e ,   a s   w e l l   a s   t o   P o d   t e m p l a t e s   i n   w o r k l o a d   r e s o u r c e s   s u c h   a s   D e p l o y m e n t ,   S t a t e f u l S e t ,   o r   J o b .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/multiple-zones/",
    "id": "k8s_00044_section_2_627"
  },
  {
    "question": "What is Storage access for zones?",
    "answer": "W h e n   p e r s i s t e n t   v o l u m e s   a r e   c r e a t e d ,   K u b e r n e t e s   a u t o m a t i c a l l y   a d d s   z o n e   l a b e l s   t o   a n y   P e r s i s t e n t V o l u m e s   t h a t   a r e   l i n k e d   t o   a   s p e c i f i c   z o n e .   T h e   s c h e d u l e r   t h e n   e n s u r e s ,   t h r o u g h   i t s   N o V o l u m e Z o n e C o n f l i c t   p r e d i c a t e ,   t h a t   p o d s   w h i c h   c l a i m   a   g i v e n   P e r s i s t e n t V o l u m e   a r e   o n l y   p l a c e d   i n t o   t h e   s a m e   z o n e   a s   t h a t   v o l u m e .   P l e a s e   n o t e   t h a t   t h e   m e t h o d   o f   a d d i n g   z o n e   l a b e l s   c a n   d e p e n d   o n   y o u r   c l o u d   p r o v i d e r   a n d   t h e   s t o r a g e   p r o v i s i o n e r   y o u ’ r e   u s i n g .   A l w a y s   r e f e r   t o   t h e   s p e c i f i c   d o c u m e n t a t i o n   f o r   y o u r   e n v i r o n m e n t   t o   e n s u r e   c o r r e c t   c o n f i g u r a t i o n .   Y o u   c a n   s p e c i f y   a   S t o r a g e C l a s s   f o r   P e r s i s t e n t V o l u m e C l a i m s   t h a t   s p e c i f i e s   t h e   f a i l u r e   d o m a i n s   ( z o n e s )   t h a t   t h e   s t o r a g e   i n   t h a t   c l a s s   m a y   u s e .   T o   l e a r n   a b o u t   c o n f i g u r i n g   a   S t o r a g e C l a s s   t h a t   i s   a w a r e   o f   f a i l u r e   d o m a i n s   o r   z o n e s ,   s e e   A l l o w e d   t o p o l o g i e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/multiple-zones/",
    "id": "k8s_00044_section_2_628"
  },
  {
    "question": "What is Networking?",
    "answer": "B y   i t s e l f ,   K u b e r n e t e s   d o e s   n o t   i n c l u d e   z o n e - a w a r e   n e t w o r k i n g .   Y o u   c a n   u s e   a   n e t w o r k   p l u g i n   t o   c o n f i g u r e   c l u s t e r   n e t w o r k i n g ,   a n d   t h a t   n e t w o r k   s o l u t i o n   m i g h t   h a v e   z o n e - s p e c i f i c   e l e m e n t s .   F o r   e x a m p l e ,   i f   y o u r   c l o u d   p r o v i d e r   s u p p o r t s   S e r v i c e s   w i t h   t y p e = L o a d B a l a n c e r ,   t h e   l o a d   b a l a n c e r   m i g h t   o n l y   s e n d   t r a f f i c   t o   P o d s   r u n n i n g   i n   t h e   s a m e   z o n e   a s   t h e   l o a d   b a l a n c e r   e l e m e n t   p r o c e s s i n g   a   g i v e n   c o n n e c t i o n .   C h e c k   y o u r   c l o u d   p r o v i d e r ' s   d o c u m e n t a t i o n   f o r   d e t a i l s .   F o r   c u s t o m   o r   o n - p r e m i s e s   d e p l o y m e n t s ,   s i m i l a r   c o n s i d e r a t i o n s   a p p l y .   S e r v i c e   a n d   I n g r e s s   b e h a v i o r ,   i n c l u d i n g   h a n d l i n g   o f   d i f f e r e n t   f a i l u r e   z o n e s ,   d o e s   v a r y   d e p e n d i n g   o n   e x a c t l y   h o w   y o u r   c l u s t e r   i s   s e t   u p .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/multiple-zones/",
    "id": "k8s_00044_section_2_629"
  },
  {
    "question": "What is Fault recovery?",
    "answer": "W h e n   y o u   s e t   u p   y o u r   c l u s t e r ,   y o u   m i g h t   a l s o   n e e d   t o   c o n s i d e r   w h e t h e r   a n d   h o w   y o u r   s e t u p   c a n   r e s t o r e   s e r v i c e   i f   a l l   t h e   f a i l u r e   z o n e s   i n   a   r e g i o n   g o   o f f - l i n e   a t   t h e   s a m e   t i m e .   F o r   e x a m p l e ,   d o   y o u   r e l y   o n   t h e r e   b e i n g   a t   l e a s t   o n e   n o d e   a b l e   t o   r u n   P o d s   i n   a   z o n e ? M a k e   s u r e   t h a t   a n y   c l u s t e r - c r i t i c a l   r e p a i r   w o r k   d o e s   n o t   r e l y   o n   t h e r e   b e i n g   a t   l e a s t   o n e   h e a l t h y   n o d e   i n   y o u r   c l u s t e r .   F o r   e x a m p l e :   i f   a l l   n o d e s   a r e   u n h e a l t h y ,   y o u   m i g h t   n e e d   t o   r u n   a   r e p a i r   J o b   w i t h   a   s p e c i a l   t o l e r a t i o n   s o   t h a t   t h e   r e p a i r   c a n   c o m p l e t e   e n o u g h   t o   b r i n g   a t   l e a s t   o n e   n o d e   i n t o   s e r v i c e .   K u b e r n e t e s   d o e s n ' t   c o m e   w i t h   a n   a n s w e r   f o r   t h i s   c h a l l e n g e ;   h o w e v e r ,   i t ' s   s o m e t h i n g   t o   c o n s i d e r .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/multiple-zones/",
    "id": "k8s_00044_section_2_630"
  },
  {
    "question": "What is What's next?",
    "answer": "T o   l e a r n   h o w   t h e   s c h e d u l e r   p l a c e s   P o d s   i n   a   c l u s t e r ,   h o n o r i n g   t h e   c o n f i g u r e d   c o n s t r a i n t s ,   v i s i t   S c h e d u l i n g   a n d   E v i c t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/multiple-zones/",
    "id": "k8s_00044_section_2_631"
  },
  {
    "question": "What is Kubernetes z-pages?",
    "answer": "Kubernetes z-pagesProvides runtime diagnostics for Kubernetes components, offering insights into component runtime status and configuration flags.FEATURE STATE: Kubernetes v1.32 [alpha]Kubernetes core components can expose a suite of z-endpoints to make it easier for users to debug their cluster and its components. These endpoints are strictly to be used for human inspection to gain real time debugging information of a component binary. Avoid automated scraping of data returned by these endpoints; in Kubernetes 1.34 these are an alpha feature and the response format may change in future releases.z-pagesKubernetes v1.34 allows you to enable z-pages to help you troubleshoot problems with its core control plane components. These special debugging endpoints provide internal information about running components. For Kubernetes 1.34, components serve the following endpoints (when enabled):z-pagesstatuszflagzstatuszEnabled using the ComponentStatusz feature gate, the /statusz endpoint displays high level information about the component such as its Kubernetes version, emulation version, start time and more.The /statusz response from the API server is similar to:kube-apiserver statusz Warning: This endpoint is not meant to be machine parseable, has no formatting compatibility guarantees and is for debugging purposes only. Started: Wed Oct 16 21:03:43 UTC 2024 Up: 0 hr 00 min 16 sec Go version: go1.23.2 Binary version: 1.32.0-alpha.0.1484&#43;5eeac4f21a491b-dirty Emulation version: 1.32.0-alpha.0.1484 flagzEnabled using the ComponentFlagz feature gate, the /flagz endpoint shows you the command line arguments that were used to start a component.The /flagz data for the API server looks something like:kube-apiserver flags Warning: This endpoint is not meant to be machine parseable, has no formatting compatibility guarantees and is for debugging purposes only. advertise-address=192.168.8.2 contention-profiling=false enable-priority-and-fairness=true profiling=true authorization-mode=[Node,RBAC] authorization-webhook-cache-authorized-ttl=5m0s authorization-webhook-cache-unauthorized-ttl=30s authorization-webhook-version=v1beta1 default-watch-cache-size=100",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/zpages/",
    "id": "k8s_00045_qa_632"
  },
  {
    "question": "How does Kubernetes z-pages work?",
    "answer": "Kubernetes z-pagesProvides runtime diagnostics for Kubernetes components, offering insights into component runtime status and configuration flags.FEATURE STATE: Kubernetes v1.32 [alpha]Kubernetes core components can expose a suite of z-endpoints to make it easier for users to debug their cluster and its components. These endpoints are strictly to be used for human inspection to gain real time debugging information of a component binary. Avoid automated scraping of data returned by these endpoints; in Kubernetes 1.34 these are an alpha feature and the response format may change in future releases.z-pagesKubernetes v1.34 allows you to enable z-pages to help you troubleshoot problems with its core control plane components. These special debugging endpoints provide internal information about running components. For Kubernetes 1.34, components serve the following endpoints (when enabled):z-pagesstatuszflagzstatuszEnabled using the ComponentStatusz feature gate, the /statusz endpoint displays high level information about the component such as its Kubernetes version, emulation version, start time and more.The /statusz response from the API server is similar to:kube-apiserver statusz Warning: This endpoint is not meant to be machine parseable, has no formatting compatibility guarantees and is for debugging purposes only. Started: Wed Oct 16 21:03:43 UTC 2024 Up: 0 hr 00 min 16 sec Go version: go1.23.2 Binary version: 1.32.0-alpha.0.1484&#43;5eeac4f21a491b-dirty Emulation version: 1.32.0-alpha.0.1484 flagzEnabled using the ComponentFlagz feature gate, the /flagz endpoint shows you the command line arguments that were used to start a component.The /flagz data for the API server looks something like:kube-apiserver flags Warning: This endpoint is not meant to be machine parseable, has no formatting compatibility guarantees and is for debugging purposes only. advertise-address=192.168.8.2 contention-profiling=false enable-priority-and-fairness=true profiling=true authorization-mode=[Node,RBAC] authorization-webhook-cache-authorized-ttl=5m0s authorization-webhook-cache-unauthorized-ttl=30s authorization-webhook-version=v1beta1 default-watch-cache-size=100",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/zpages/",
    "id": "k8s_00045_qa_633"
  },
  {
    "question": "When would you use Kubernetes z-pages?",
    "answer": "Kubernetes z-pagesProvides runtime diagnostics for Kubernetes components, offering insights into component runtime status and configuration flags.FEATURE STATE: Kubernetes v1.32 [alpha]Kubernetes core components can expose a suite of z-endpoints to make it easier for users to debug their cluster and its components. These endpoints are strictly to be used for human inspection to gain real time debugging information of a component binary. Avoid automated scraping of data returned by these endpoints; in Kubernetes 1.34 these are an alpha feature and the response format may change in future releases.z-pagesKubernetes v1.34 allows you to enable z-pages to help you troubleshoot problems with its core control plane components. These special debugging endpoints provide internal information about running components. For Kubernetes 1.34, components serve the following endpoints (when enabled):z-pagesstatuszflagzstatuszEnabled using the ComponentStatusz feature gate, the /statusz endpoint displays high level information about the component such as its Kubernetes version, emulation version, start time and more.The /statusz response from the API server is similar to:kube-apiserver statusz Warning: This endpoint is not meant to be machine parseable, has no formatting compatibility guarantees and is for debugging purposes only. Started: Wed Oct 16 21:03:43 UTC 2024 Up: 0 hr 00 min 16 sec Go version: go1.23.2 Binary version: 1.32.0-alpha.0.1484&#43;5eeac4f21a491b-dirty Emulation version: 1.32.0-alpha.0.1484 flagzEnabled using the ComponentFlagz feature gate, the /flagz endpoint shows you the command line arguments that were used to start a component.The /flagz data for the API server looks something like:kube-apiserver flags Warning: This endpoint is not meant to be machine parseable, has no formatting compatibility guarantees and is for debugging purposes only. advertise-address=192.168.8.2 contention-profiling=false enable-priority-and-fairness=true profiling=true authorization-mode=[Node,RBAC] authorization-webhook-cache-authorized-ttl=5m0s authorization-webhook-cache-unauthorized-ttl=30s authorization-webhook-version=v1beta1 default-watch-cache-size=100",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/zpages/",
    "id": "k8s_00045_qa_634"
  },
  {
    "question": "What are the benefits of Kubernetes z-pages?",
    "answer": "Kubernetes z-pagesProvides runtime diagnostics for Kubernetes components, offering insights into component runtime status and configuration flags.FEATURE STATE: Kubernetes v1.32 [alpha]Kubernetes core components can expose a suite of z-endpoints to make it easier for users to debug their cluster and its components. These endpoints are strictly to be used for human inspection to gain real time debugging information of a component binary. Avoid automated scraping of data returned by these endpoints; in Kubernetes 1.34 these are an alpha feature and the response format may change in future releases.z-pagesKubernetes v1.34 allows you to enable z-pages to help you troubleshoot problems with its core control plane components. These special debugging endpoints provide internal information about running components. For Kubernetes 1.34, components serve the following endpoints (when enabled):z-pagesstatuszflagzstatuszEnabled using the ComponentStatusz feature gate, the /statusz endpoint displays high level information about the component such as its Kubernetes version, emulation version, start time and more.The /statusz response from the API server is similar to:kube-apiserver statusz Warning: This endpoint is not meant to be machine parseable, has no formatting compatibility guarantees and is for debugging purposes only. Started: Wed Oct 16 21:03:43 UTC 2024 Up: 0 hr 00 min 16 sec Go version: go1.23.2 Binary version: 1.32.0-alpha.0.1484&#43;5eeac4f21a491b-dirty Emulation version: 1.32.0-alpha.0.1484 flagzEnabled using the ComponentFlagz feature gate, the /flagz endpoint shows you the command line arguments that were used to start a component.The /flagz data for the API server looks something like:kube-apiserver flags Warning: This endpoint is not meant to be machine parseable, has no formatting compatibility guarantees and is for debugging purposes only. advertise-address=192.168.8.2 contention-profiling=false enable-priority-and-fairness=true profiling=true authorization-mode=[Node,RBAC] authorization-webhook-cache-authorized-ttl=5m0s authorization-webhook-cache-unauthorized-ttl=30s authorization-webhook-version=v1beta1 default-watch-cache-size=100",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/zpages/",
    "id": "k8s_00045_qa_635"
  },
  {
    "question": "What is Kubernetes z-pages?",
    "answer": "K u b e r n e t e s   c o r e   c o m p o n e n t s   c a n   e x p o s e   a   s u i t e   o f   z - e n d p o i n t s   t o   m a k e   i t   e a s i e r   f o r   u s e r s   t o   d e b u g   t h e i r   c l u s t e r   a n d   i t s   c o m p o n e n t s .   T h e s e   e n d p o i n t s   a r e   s t r i c t l y   t o   b e   u s e d   f o r   h u m a n   i n s p e c t i o n   t o   g a i n   r e a l   t i m e   d e b u g g i n g   i n f o r m a t i o n   o f   a   c o m p o n e n t   b i n a r y .   A v o i d   a u t o m a t e d   s c r a p i n g   o f   d a t a   r e t u r n e d   b y   t h e s e   e n d p o i n t s ;   i n   K u b e r n e t e s   1 . 3 4   t h e s e   a r e   a n   a l p h a   f e a t u r e   a n d   t h e   r e s p o n s e   f o r m a t   m a y   c h a n g e   i n   f u t u r e   r e l e a s e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/zpages/",
    "id": "k8s_00045_section_1_636"
  },
  {
    "question": "What is z-pages?",
    "answer": "K u b e r n e t e s   v 1 . 3 4   a l l o w s   y o u   t o   e n a b l e   z - p a g e s   t o   h e l p   y o u   t r o u b l e s h o o t   p r o b l e m s   w i t h   i t s   c o r e   c o n t r o l   p l a n e   c o m p o n e n t s .   T h e s e   s p e c i a l   d e b u g g i n g   e n d p o i n t s   p r o v i d e   i n t e r n a l   i n f o r m a t i o n   a b o u t   r u n n i n g   c o m p o n e n t s .   F o r   K u b e r n e t e s   1 . 3 4 ,   c o m p o n e n t s   s e r v e   t h e   f o l l o w i n g   e n d p o i n t s   ( w h e n   e n a b l e d ) :   z - p a g e s s t a t u s z f l a g z   s t a t u s z f l a g z",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/zpages/",
    "id": "k8s_00045_section_2_637"
  },
  {
    "question": "What is statusz?",
    "answer": "E n a b l e d   u s i n g   t h e   C o m p o n e n t S t a t u s z   f e a t u r e   g a t e ,   t h e   / s t a t u s z   e n d p o i n t   d i s p l a y s   h i g h   l e v e l   i n f o r m a t i o n   a b o u t   t h e   c o m p o n e n t   s u c h   a s   i t s   K u b e r n e t e s   v e r s i o n ,   e m u l a t i o n   v e r s i o n ,   s t a r t   t i m e   a n d   m o r e .   T h e   / s t a t u s z   r e s p o n s e   f r o m   t h e   A P I   s e r v e r   i s   s i m i l a r   t o :   k u b e - a p i s e r v e r   s t a t u s z   W a r n i n g :   T h i s   e n d p o i n t   i s   n o t   m e a n t   t o   b e   m a c h i n e   p a r s e a b l e ,   h a s   n o   f o r m a t t i n g   c o m p a t i b i l i t y   g u a r a n t e e s   a n d   i s   f o r   d e b u g g i n g   p u r p o s e s   o n l y .   S t a r t e d :   W e d   O c t   1 6   2 1 : 0 3 : 4 3   U T C   2 0 2 4   U p :   0   h r   0 0   m i n   1 6   s e c   G o   v e r s i o n :   g o 1 . 2 3 . 2   B i n a r y   v e r s i o n :   1 . 3 2 . 0 - a l p h a . 0 . 1 4 8 4 & # 4 3 ; 5 e e a c 4 f 2 1 a 4 9 1 b - d i r t y   E m u l a t i o n   v e r s i o n :   1 . 3 2 . 0 - a l p h a . 0 . 1 4 8 4",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/zpages/",
    "id": "k8s_00045_section_3_638"
  },
  {
    "question": "What is flagz?",
    "answer": "E n a b l e d   u s i n g   t h e   C o m p o n e n t F l a g z   f e a t u r e   g a t e ,   t h e   / f l a g z   e n d p o i n t   s h o w s   y o u   t h e   c o m m a n d   l i n e   a r g u m e n t s   t h a t   w e r e   u s e d   t o   s t a r t   a   c o m p o n e n t .   T h e   / f l a g z   d a t a   f o r   t h e   A P I   s e r v e r   l o o k s   s o m e t h i n g   l i k e :   k u b e - a p i s e r v e r   f l a g s   W a r n i n g :   T h i s   e n d p o i n t   i s   n o t   m e a n t   t o   b e   m a c h i n e   p a r s e a b l e ,   h a s   n o   f o r m a t t i n g   c o m p a t i b i l i t y   g u a r a n t e e s   a n d   i s   f o r   d e b u g g i n g   p u r p o s e s   o n l y .   a d v e r t i s e - a d d r e s s = 1 9 2 . 1 6 8 . 8 . 2   c o n t e n t i o n - p r o f i l i n g = f a l s e   e n a b l e - p r i o r i t y - a n d - f a i r n e s s = t r u e   p r o f i l i n g = t r u e   a u t h o r i z a t i o n - m o d e = [ N o d e , R B A C ]   a u t h o r i z a t i o n - w e b h o o k - c a c h e - a u t h o r i z e d - t t l = 5 m 0 s   a u t h o r i z a t i o n - w e b h o o k - c a c h e - u n a u t h o r i z e d - t t l = 3 0 s   a u t h o r i z a t i o n - w e b h o o k - v e r s i o n = v 1 b e t a 1   d e f a u l t - w a t c h - c a c h e - s i z e = 1 0 0",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/zpages/",
    "id": "k8s_00045_section_3_639"
  },
  {
    "question": "What is Pull an Image from a Private Registry?",
    "answer": "Pull an Image from a Private RegistryThis page shows how to create a Pod that uses a Secret to pull an image from a private container image registry or repository. There are many private registries in use. This task uses Docker Hub as an example registry.🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo do this exercise, you need the docker command line tool, and a Docker ID for which you know the password.If you are using a different private container registry, you need the command line tool for that registry and any login information for the registry.Log in to Docker HubOn your laptop, you must authenticate with a registry in order to pull a private image.Use the docker tool to log in to Docker Hub. See the log in section of Docker ID accounts for more information.docker login When prompted, enter your Docker ID, and then the credential you want to use (access token, or the password for your Docker ID).The login process creates or updates a config.json file that holds an authorization token. Review how Kubernetes interprets this file.View the config.json file:cat ~/.docker/config.json The output contains a section similar to this:{ \"auths\": { \"https://index.docker.io/v1/\": { \"auth\": \"c3R...zE2\" } } } Note:If you use a Docker credentials store, you won't see that auth entry but a credsStore entry with the name of the store as value. In that case, you can create a secret directly. See Create a Secret by providing credentials on the command line.Create a Secret based on existing credentialsA Kubernetes cluster uses the Secret of kubernetes.io/dockerconfigjson type to authenticate with a container registry to pull a private image.If you already ran docker login, you can copy that credential into Kubernetes:kubectl create secret generic regcred \\ --from-file=.dockerconfigjson=<path/to/.docker/config.json> \\ --type=kubernetes.io/dockerconfigjson If you need more control (for example, to set a namespace or a label on the new secret) then you can customise the Secret before storing it. Be sure to:set the name of the data item to .dockerconfigjsonbase64 encode the Docker configuration file and then paste that string, unbroken as the value for field data[\".dockerconfigjson\"]set type to kubernetes.io/dockerconfigjsonExample:apiVersion: v1 kind: Secret metadata: name: myregistrykey namespace: awesomeapps data: .dockerconfigjson: UmVhbGx5IHJlYWxseSByZWVlZWVlZWVlZWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGx5eXl5eXl5eXl5eXl5eXl5eXl5eS",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/",
    "id": "k8s_00046_qa_640"
  },
  {
    "question": "How does Pull an Image from a Private Registry work?",
    "answer": "Pull an Image from a Private RegistryThis page shows how to create a Pod that uses a Secret to pull an image from a private container image registry or repository. There are many private registries in use. This task uses Docker Hub as an example registry.🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo do this exercise, you need the docker command line tool, and a Docker ID for which you know the password.If you are using a different private container registry, you need the command line tool for that registry and any login information for the registry.Log in to Docker HubOn your laptop, you must authenticate with a registry in order to pull a private image.Use the docker tool to log in to Docker Hub. See the log in section of Docker ID accounts for more information.docker login When prompted, enter your Docker ID, and then the credential you want to use (access token, or the password for your Docker ID).The login process creates or updates a config.json file that holds an authorization token. Review how Kubernetes interprets this file.View the config.json file:cat ~/.docker/config.json The output contains a section similar to this:{ \"auths\": { \"https://index.docker.io/v1/\": { \"auth\": \"c3R...zE2\" } } } Note:If you use a Docker credentials store, you won't see that auth entry but a credsStore entry with the name of the store as value. In that case, you can create a secret directly. See Create a Secret by providing credentials on the command line.Create a Secret based on existing credentialsA Kubernetes cluster uses the Secret of kubernetes.io/dockerconfigjson type to authenticate with a container registry to pull a private image.If you already ran docker login, you can copy that credential into Kubernetes:kubectl create secret generic regcred \\ --from-file=.dockerconfigjson=<path/to/.docker/config.json> \\ --type=kubernetes.io/dockerconfigjson If you need more control (for example, to set a namespace or a label on the new secret) then you can customise the Secret before storing it. Be sure to:set the name of the data item to .dockerconfigjsonbase64 encode the Docker configuration file and then paste that string, unbroken as the value for field data[\".dockerconfigjson\"]set type to kubernetes.io/dockerconfigjsonExample:apiVersion: v1 kind: Secret metadata: name: myregistrykey namespace: awesomeapps data: .dockerconfigjson: UmVhbGx5IHJlYWxseSByZWVlZWVlZWVlZWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGx5eXl5eXl5eXl5eXl5eXl5eXl5eS",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/",
    "id": "k8s_00046_qa_641"
  },
  {
    "question": "When would you use Pull an Image from a Private Registry?",
    "answer": "Pull an Image from a Private RegistryThis page shows how to create a Pod that uses a Secret to pull an image from a private container image registry or repository. There are many private registries in use. This task uses Docker Hub as an example registry.🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo do this exercise, you need the docker command line tool, and a Docker ID for which you know the password.If you are using a different private container registry, you need the command line tool for that registry and any login information for the registry.Log in to Docker HubOn your laptop, you must authenticate with a registry in order to pull a private image.Use the docker tool to log in to Docker Hub. See the log in section of Docker ID accounts for more information.docker login When prompted, enter your Docker ID, and then the credential you want to use (access token, or the password for your Docker ID).The login process creates or updates a config.json file that holds an authorization token. Review how Kubernetes interprets this file.View the config.json file:cat ~/.docker/config.json The output contains a section similar to this:{ \"auths\": { \"https://index.docker.io/v1/\": { \"auth\": \"c3R...zE2\" } } } Note:If you use a Docker credentials store, you won't see that auth entry but a credsStore entry with the name of the store as value. In that case, you can create a secret directly. See Create a Secret by providing credentials on the command line.Create a Secret based on existing credentialsA Kubernetes cluster uses the Secret of kubernetes.io/dockerconfigjson type to authenticate with a container registry to pull a private image.If you already ran docker login, you can copy that credential into Kubernetes:kubectl create secret generic regcred \\ --from-file=.dockerconfigjson=<path/to/.docker/config.json> \\ --type=kubernetes.io/dockerconfigjson If you need more control (for example, to set a namespace or a label on the new secret) then you can customise the Secret before storing it. Be sure to:set the name of the data item to .dockerconfigjsonbase64 encode the Docker configuration file and then paste that string, unbroken as the value for field data[\".dockerconfigjson\"]set type to kubernetes.io/dockerconfigjsonExample:apiVersion: v1 kind: Secret metadata: name: myregistrykey namespace: awesomeapps data: .dockerconfigjson: UmVhbGx5IHJlYWxseSByZWVlZWVlZWVlZWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGx5eXl5eXl5eXl5eXl5eXl5eXl5eS",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/",
    "id": "k8s_00046_qa_642"
  },
  {
    "question": "What are the benefits of Pull an Image from a Private Registry?",
    "answer": "Pull an Image from a Private RegistryThis page shows how to create a Pod that uses a Secret to pull an image from a private container image registry or repository. There are many private registries in use. This task uses Docker Hub as an example registry.🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo do this exercise, you need the docker command line tool, and a Docker ID for which you know the password.If you are using a different private container registry, you need the command line tool for that registry and any login information for the registry.Log in to Docker HubOn your laptop, you must authenticate with a registry in order to pull a private image.Use the docker tool to log in to Docker Hub. See the log in section of Docker ID accounts for more information.docker login When prompted, enter your Docker ID, and then the credential you want to use (access token, or the password for your Docker ID).The login process creates or updates a config.json file that holds an authorization token. Review how Kubernetes interprets this file.View the config.json file:cat ~/.docker/config.json The output contains a section similar to this:{ \"auths\": { \"https://index.docker.io/v1/\": { \"auth\": \"c3R...zE2\" } } } Note:If you use a Docker credentials store, you won't see that auth entry but a credsStore entry with the name of the store as value. In that case, you can create a secret directly. See Create a Secret by providing credentials on the command line.Create a Secret based on existing credentialsA Kubernetes cluster uses the Secret of kubernetes.io/dockerconfigjson type to authenticate with a container registry to pull a private image.If you already ran docker login, you can copy that credential into Kubernetes:kubectl create secret generic regcred \\ --from-file=.dockerconfigjson=<path/to/.docker/config.json> \\ --type=kubernetes.io/dockerconfigjson If you need more control (for example, to set a namespace or a label on the new secret) then you can customise the Secret before storing it. Be sure to:set the name of the data item to .dockerconfigjsonbase64 encode the Docker configuration file and then paste that string, unbroken as the value for field data[\".dockerconfigjson\"]set type to kubernetes.io/dockerconfigjsonExample:apiVersion: v1 kind: Secret metadata: name: myregistrykey namespace: awesomeapps data: .dockerconfigjson: UmVhbGx5IHJlYWxseSByZWVlZWVlZWVlZWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGx5eXl5eXl5eXl5eXl5eXl5eXl5eS",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/",
    "id": "k8s_00046_qa_643"
  },
  {
    "question": "What is Pull an Image from a Private Registry?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c r e a t e   a   P o d   t h a t   u s e s   a   S e c r e t   t o   p u l l   a n   i m a g e   f r o m   a   p r i v a t e   c o n t a i n e r   i m a g e   r e g i s t r y   o r   r e p o s i t o r y .   T h e r e   a r e   m a n y   p r i v a t e   r e g i s t r i e s   i n   u s e .   T h i s   t a s k   u s e s   D o c k e r   H u b   a s   a n   e x a m p l e   r e g i s t r y .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/",
    "id": "k8s_00046_section_1_644"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   d o   t h i s   e x e r c i s e ,   y o u   n e e d   t h e   d o c k e r   c o m m a n d   l i n e   t o o l ,   a n d   a   D o c k e r   I D   f o r   w h i c h   y o u   k n o w   t h e   p a s s w o r d . I f   y o u   a r e   u s i n g   a   d i f f e r e n t   p r i v a t e   c o n t a i n e r   r e g i s t r y ,   y o u   n e e d   t h e   c o m m a n d   l i n e   t o o l   f o r   t h a t   r e g i s t r y   a n d   a n y   l o g i n   i n f o r m a t i o n   f o r   t h e   r e g i s t r y .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/",
    "id": "k8s_00046_section_2_645"
  },
  {
    "question": "What is Log in to Docker Hub?",
    "answer": "O n   y o u r   l a p t o p ,   y o u   m u s t   a u t h e n t i c a t e   w i t h   a   r e g i s t r y   i n   o r d e r   t o   p u l l   a   p r i v a t e   i m a g e .   U s e   t h e   d o c k e r   t o o l   t o   l o g   i n   t o   D o c k e r   H u b .   S e e   t h e   l o g   i n   s e c t i o n   o f   D o c k e r   I D   a c c o u n t s   f o r   m o r e   i n f o r m a t i o n .   d o c k e r   l o g i n   W h e n   p r o m p t e d ,   e n t e r   y o u r   D o c k e r   I D ,   a n d   t h e n   t h e   c r e d e n t i a l   y o u   w a n t   t o   u s e   ( a c c e s s   t o k e n ,   o r   t h e   p a s s w o r d   f o r   y o u r   D o c k e r   I D ) .   T h e   l o g i n   p r o c e s s   c r e a t e s   o r   u p d a t e s   a   c o n f i g . j s o n   f i l e   t h a t   h o l d s   a n   a u t h o r i z a t i o n   t o k e n .   R e v i e w   h o w   K u b e r n e t e s   i n t e r p r e t s   t h i s   f i l e .   V i e w   t h e   c o n f i g . j s o n   f i l e :   c a t   ~ / . d o c k e r / c o n f i g . j s o n   T h e   o u t p u t   c o n t a i n s   a   s e c t i o n   s i m i l a r   t o   t h i s :   {   \" a u t h s \" :   {   \" h t t p s : / / i n d e x . d o c k e r . i o / v 1 / \" :   {   \" a u t h \" :   \" c 3 R . . . z E 2 \"   }   }   }",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/",
    "id": "k8s_00046_section_2_646"
  },
  {
    "question": "What is Create a Secret based on existing credentials?",
    "answer": "A   K u b e r n e t e s   c l u s t e r   u s e s   t h e   S e c r e t   o f   k u b e r n e t e s . i o / d o c k e r c o n f i g j s o n   t y p e   t o   a u t h e n t i c a t e   w i t h   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   a   p r i v a t e   i m a g e .   I f   y o u   a l r e a d y   r a n   d o c k e r   l o g i n ,   y o u   c a n   c o p y   t h a t   c r e d e n t i a l   i n t o   K u b e r n e t e s :   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   r e g c r e d   \\   - - f r o m - f i l e = . d o c k e r c o n f i g j s o n = < p a t h / t o / . d o c k e r / c o n f i g . j s o n >   \\   - - t y p e = k u b e r n e t e s . i o / d o c k e r c o n f i g j s o n   I f   y o u   n e e d   m o r e   c o n t r o l   ( f o r   e x a m p l e ,   t o   s e t   a   n a m e s p a c e   o r   a   l a b e l   o n   t h e   n e w   s e c r e t )   t h e n   y o u   c a n   c u s t o m i s e   t h e   S e c r e t   b e f o r e   s t o r i n g   i t .   B e   s u r e   t o :   s e t   t h e   n a m e   o f   t h e   d a t a   i t e m   t o   . d o c k e r c o n f i g j s o n b a s e 6 4   e n c o d e   t h e   D o c k e r   c o n f i g u r a t i o n   f i l e   a n d   t h e n   p a s t e   t h a t   s t r i n g ,   u n b r o k e n   a s   t h e   v a l u e   f o r   f i e l d   d a t a [ \" . d o c k e r c o n f i g j s o n \" ] s e t   t y p e   t o   k u b e r n e t e s . i o / d o c k e r c o n f i g j s o n   E x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   m y r e g i s t r y k e y   n a m e s p a c e :   a w e s o m e a p p s   d a t a :   . d o c k e r c o n f i g j s o n :   U m V h b G x 5 I H J l Y W x s e S B y Z W V l Z W V l Z W V l Z W F h Y W F h Y W F h Y W F h Y W F h Y W F h Y W F h Y W F h Y W F h Y W x s b G x s b G x s b G x s b G x s b G x s b G x s b G x s b G x s b G x s b G x 5 e X l 5 e X l 5 e X l 5 e X l 5 e X l 5 e X l 5 e S B s b G x s b G x s ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/",
    "id": "k8s_00046_section_2_647"
  },
  {
    "question": "What is Create a Secret by providing credentials on the command line?",
    "answer": "C r e a t e   t h i s   S e c r e t ,   n a m i n g   i t   r e g c r e d :   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   r e g c r e d   - - d o c k e r - s e r v e r = < y o u r - r e g i s t r y - s e r v e r >   - - d o c k e r - u s e r n a m e = < y o u r - n a m e >   - - d o c k e r - p a s s w o r d = < y o u r - p w o r d >   - - d o c k e r - e m a i l = < y o u r - e m a i l >   w h e r e :   < y o u r - r e g i s t r y - s e r v e r >   i s   y o u r   P r i v a t e   D o c k e r   R e g i s t r y   F Q D N .   U s e   h t t p s : / / i n d e x . d o c k e r . i o / v 1 /   f o r   D o c k e r H u b . < y o u r - n a m e >   i s   y o u r   D o c k e r   u s e r n a m e . < y o u r - p w o r d >   i s   y o u r   D o c k e r   p a s s w o r d . < y o u r - e m a i l >   i s   y o u r   D o c k e r   e m a i l .   Y o u   h a v e   s u c c e s s f u l l y   s e t   y o u r   D o c k e r   c r e d e n t i a l s   i n   t h e   c l u s t e r   a s   a   S e c r e t   c a l l e d   r e g c r e d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/",
    "id": "k8s_00046_section_2_648"
  },
  {
    "question": "What is Inspecting the Secret regcred?",
    "answer": "T o   u n d e r s t a n d   t h e   c o n t e n t s   o f   t h e   r e g c r e d   S e c r e t   y o u   c r e a t e d ,   s t a r t   b y   v i e w i n g   t h e   S e c r e t   i n   Y A M L   f o r m a t :   k u b e c t l   g e t   s e c r e t   r e g c r e d   - - o u t p u t = y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   . . .   n a m e :   r e g c r e d   . . .   d a t a :   . d o c k e r c o n f i g j s o n :   e y J o d H R w c z o v L 2 l u Z G V 4 L   . . .   J 0 Q U l 6 R T I i f X 0 =   t y p e :   k u b e r n e t e s . i o / d o c k e r c o n f i g j s o n   T h e   v a l u e   o f   t h e   . d o c k e r c o n f i g j s o n   f i e l d   i s   a   b a s e 6 4   r e p r e s e n t a t i o n   o f   y o u r   D o c k e r   c r e d e n t i a l s .   T o   u n d e r s t a n d   w h a t   i s   i n   t h e   . d o c k e r c o n f i g j s o n   f i e l d ,   c o n v e r t   t h e   s e c r e t   d a t a   t o   a   r e a d a b l e   f o r m a t :   k u b e c t l   g e t   s e c r e t   r e g c r e d   - - o u t p u t = \" j s o n p a t h = { . d a t a . \\ . d o c k e r c o n f i g j s o n } \"   |   b a s e 6 4   - - d e c o d e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   { \" a u t h s \" : { \" y o u r . p r i v a t e . r e g i s t r y . e x a m p l e . c o m \" : { \" u s e r n a m e \" : \" j a n e d o e \" , \" p a s s w o r d \" : \" x x x x x x x x x x x \" , \" e m a i l \" : \" j d o e @ e x a m p l e . c o m \" , \" a u t h \" : \" c 3 R . . . z E 2 \" } } }   T o   u n d e r s t a n d   w h a t   i s   i n   t h e   a u t h   f i e l d ,   c o n v e r t   t h e   b a s e 6 4 - e n c o d e d   d a t a   t o   a   r e a d a b l e   f o r m a t :   e c h o   \" c 3 R . . . z E 2 \"   |   b a s e 6 4   - - d e c o d e   T h e   o u t p u t ,   u s e r n a m e   a n d   p a s s w o r d   c o n c a t e n a t e d   w i t h   a   : ,   i s   s i m i l a r   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/",
    "id": "k8s_00046_section_2_649"
  },
  {
    "question": "What is Create a Pod that uses your Secret?",
    "answer": "H e r e   i s   a   m a n i f e s t   f o r   a n   e x a m p l e   P o d   t h a t   n e e d s   a c c e s s   t o   y o u r   D o c k e r   c r e d e n t i a l s   i n   r e g c r e d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p r i v a t e - r e g   s p e c :   c o n t a i n e r s :   -   n a m e :   p r i v a t e - r e g - c o n t a i n e r   i m a g e :   < y o u r - p r i v a t e - i m a g e >   i m a g e P u l l S e c r e t s :   -   n a m e :   r e g c r e d   D o w n l o a d   t h e   a b o v e   f i l e   o n t o   y o u r   c o m p u t e r :   c u r l   - L   - o   m y - p r i v a t e - r e g - p o d . y a m l   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p r i v a t e - r e g - p o d . y a m l   I n   f i l e   m y - p r i v a t e - r e g - p o d . y a m l ,   r e p l a c e   < y o u r - p r i v a t e - i m a g e >   w i t h   t h e   p a t h   t o   a n   i m a g e   i n   a   p r i v a t e   r e g i s t r y   s u c h   a s :   y o u r . p r i v a t e . r e g i s t r y . e x a m p l e . c o m / j a n e d o e / j d o e - p r i v a t e : v 1   T o   p u l l   t h e   i m a g e   f r o m   t h e   p r i v a t e   r e g i s t r y ,   K u b e r n e t e s   n e e d s   c r e d e n t i a l s .   T h e   i m a g e P u l l S e c r e t s   f i e l d   i n   t h e   c o n f i g u r a t i o n   f i l e   s p e c i f i e s   t h a t   K u b e r n e t e s   s h o u l d   g e t   t h e   c r e d e n t i a l s   f r o m   a   S e c r e t   n a m e d   r e g c r e d .   C r e a t e   a   P o d   t h a t   u s e s   y o u r   S e c r e t ,   a n d   v e r i f y   t h a t   t h e   P o d   i s   r u n n i n g :   k u b e c t l   a p p l y   - f   m y - p r i v a t e - r e g - p o d . y a m l   k u b e c t l   g e t   p o d   p r i v a t e - r e g",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/",
    "id": "k8s_00046_section_2_650"
  },
  {
    "question": "What is Note:?",
    "answer": "A l s o ,   i n   c a s e   t h e   P o d   f a i l s   t o   s t a r t   w i t h   t h e   s t a t u s   I m a g e P u l l B a c k O f f ,   v i e w   t h e   P o d   e v e n t s :   k u b e c t l   d e s c r i b e   p o d   p r i v a t e - r e g   I f   y o u   t h e n   s e e   a n   e v e n t   w i t h   t h e   r e a s o n   s e t   t o   F a i l e d T o R e t r i e v e I m a g e P u l l S e c r e t ,   K u b e r n e t e s   c a n ' t   f i n d   a   S e c r e t   w i t h   n a m e   ( r e g c r e d ,   i n   t h i s   e x a m p l e ) .   M a k e   s u r e   t h a t   t h e   S e c r e t   y o u   h a v e   s p e c i f i e d   e x i s t s ,   a n d   t h a t   i t s   n a m e   i s   s p e l l e d   p r o p e r l y .   E v e n t s :   . . .   R e a s o n   . . .   M e s s a g e   - - - - - -   - - - - - - -   . . .   F a i l e d T o R e t r i e v e I m a g e P u l l S e c r e t   . . .   U n a b l e   t o   r e t r i e v e   s o m e   i m a g e   p u l l   s e c r e t s   ( < r e g c r e d > ) ;   a t t e m p t i n g   t o   p u l l   t h e   i m a g e   m a y   n o t   s u c c e e d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/",
    "id": "k8s_00046_section_4_651"
  },
  {
    "question": "What is Using images from multiple registries?",
    "answer": "A   p o d   c a n   h a v e   m u l t i p l e   c o n t a i n e r s ,   e a c h   c o n t a i n e r   i m a g e   c a n   b e   f r o m   a   d i f f e r e n t   r e g i s t r y .   Y o u   c a n   u s e   m u l t i p l e   i m a g e P u l l S e c r e t s   w i t h   o n e   p o d ,   a n d   e a c h   c a n   c o n t a i n   m u l t i p l e   c r e d e n t i a l s .   T h e   i m a g e   p u l l   w i l l   b e   a t t e m p t e d   u s i n g   e a c h   c r e d e n t i a l   t h a t   m a t c h e s   t h e   r e g i s t r y .   I f   n o   c r e d e n t i a l s   m a t c h   t h e   r e g i s t r y ,   t h e   i m a g e   p u l l   w i l l   b e   a t t e m p t e d   w i t h o u t   a u t h o r i z a t i o n   o r   u s i n g   c u s t o m   r u n t i m e   s p e c i f i c   c o n f i g u r a t i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/",
    "id": "k8s_00046_section_2_652"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   S e c r e t s o r   r e a d   t h e   A P I   r e f e r e n c e   f o r   S e c r e t L e a r n   m o r e   a b o u t   u s i n g   a   p r i v a t e   r e g i s t r y . L e a r n   m o r e   a b o u t   a d d i n g   i m a g e   p u l l   s e c r e t s   t o   a   s e r v i c e   a c c o u n t . S e e   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y . S e e   t h e   i m a g e P u l l S e c r e t s   f i e l d   w i t h i n   t h e   c o n t a i n e r   d e f i n i t i o n s   o f   a   P o d   o r   r e a d   t h e   A P I   r e f e r e n c e   f o r   S e c r e t   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/",
    "id": "k8s_00046_section_2_653"
  },
  {
    "question": "What is Node Shutdowns?",
    "answer": "Node ShutdownsIn a Kubernetes cluster, a node can be shut down in a planned graceful way or unexpectedly because of reasons such as a power outage or something else external. A node shutdown could lead to workload failure if the node is not drained before the shutdown. A node shutdown can be either graceful or non-graceful.Graceful node shutdownThe kubelet attempts to detect node system shutdown and terminates pods running on the node.Kubelet ensures that pods follow the normal pod termination process during the node shutdown. During node shutdown, the kubelet does not accept new Pods (even if those Pods are already bound to the node).Enabling graceful node shutdownFEATURE STATE: Kubernetes v1.21 [beta] (enabled by default: true)On Linux, the graceful node shutdown feature is controlled with the GracefulNodeShutdown feature gate which is enabled by default in 1.21.Note:The graceful node shutdown feature depends on systemd since it takes advantage of systemd inhibitor locks to delay the node shutdown with a given duration.FEATURE STATE: Kubernetes v1.34 [beta] (enabled by default: true)On Windows, the graceful node shutdown feature is controlled with the WindowsGracefulNodeShutdown feature gate which is introduced in 1.32 as an alpha feature. In Kubernetes 1.34 the feature is Beta and is enabled by default.Note:The Windows graceful node shutdown feature depends on kubelet running as a Windows service, it will then have a registered service control handler to delay the preshutdown event with a given duration.Windows graceful node shutdown can not be cancelled.If kubelet is not running as a Windows service, it will not be able to set and monitor the Preshutdown event, the node will have to go through the Non-Graceful Node Shutdown procedure mentioned above.In the case where the Windows graceful node shutdown feature is enabled, but the kubelet is not running as a Windows service, the kubelet will continue running instead of failing. However, it will log an error indicating that it needs to be run as a Windows service.Configuring graceful node shutdownNote that by default, both configuration options described below, shutdownGracePeriod and shutdownGracePeriodCriticalPods, are set to zero, thus not activating the graceful node shutdown functionality. To activate the feature, both options should be configured appropriately and set to non-zero values.Once the kubelet is notified of a node shutdown, it sets a NotReady condition on the Node, with the reason set to \"node is shutting down\". The kube-scheduler honors this condition and does not schedule any Pods onto the affected node; other third-party schedulers are expected to follow the same logic. This means that new Pods won't be scheduled onto that node and therefore none will start.The kubelet also rejects Pods during the PodAdmission phase if an ongoing node shutdown has been detected, so that even Pods with a toleration for node.kubernetes.io/not-ready:NoSchedule do not start there.When kubelet is ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/",
    "id": "k8s_00047_qa_654"
  },
  {
    "question": "How does Node Shutdowns work?",
    "answer": "Node ShutdownsIn a Kubernetes cluster, a node can be shut down in a planned graceful way or unexpectedly because of reasons such as a power outage or something else external. A node shutdown could lead to workload failure if the node is not drained before the shutdown. A node shutdown can be either graceful or non-graceful.Graceful node shutdownThe kubelet attempts to detect node system shutdown and terminates pods running on the node.Kubelet ensures that pods follow the normal pod termination process during the node shutdown. During node shutdown, the kubelet does not accept new Pods (even if those Pods are already bound to the node).Enabling graceful node shutdownFEATURE STATE: Kubernetes v1.21 [beta] (enabled by default: true)On Linux, the graceful node shutdown feature is controlled with the GracefulNodeShutdown feature gate which is enabled by default in 1.21.Note:The graceful node shutdown feature depends on systemd since it takes advantage of systemd inhibitor locks to delay the node shutdown with a given duration.FEATURE STATE: Kubernetes v1.34 [beta] (enabled by default: true)On Windows, the graceful node shutdown feature is controlled with the WindowsGracefulNodeShutdown feature gate which is introduced in 1.32 as an alpha feature. In Kubernetes 1.34 the feature is Beta and is enabled by default.Note:The Windows graceful node shutdown feature depends on kubelet running as a Windows service, it will then have a registered service control handler to delay the preshutdown event with a given duration.Windows graceful node shutdown can not be cancelled.If kubelet is not running as a Windows service, it will not be able to set and monitor the Preshutdown event, the node will have to go through the Non-Graceful Node Shutdown procedure mentioned above.In the case where the Windows graceful node shutdown feature is enabled, but the kubelet is not running as a Windows service, the kubelet will continue running instead of failing. However, it will log an error indicating that it needs to be run as a Windows service.Configuring graceful node shutdownNote that by default, both configuration options described below, shutdownGracePeriod and shutdownGracePeriodCriticalPods, are set to zero, thus not activating the graceful node shutdown functionality. To activate the feature, both options should be configured appropriately and set to non-zero values.Once the kubelet is notified of a node shutdown, it sets a NotReady condition on the Node, with the reason set to \"node is shutting down\". The kube-scheduler honors this condition and does not schedule any Pods onto the affected node; other third-party schedulers are expected to follow the same logic. This means that new Pods won't be scheduled onto that node and therefore none will start.The kubelet also rejects Pods during the PodAdmission phase if an ongoing node shutdown has been detected, so that even Pods with a toleration for node.kubernetes.io/not-ready:NoSchedule do not start there.When kubelet is ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/",
    "id": "k8s_00047_qa_655"
  },
  {
    "question": "When would you use Node Shutdowns?",
    "answer": "Node ShutdownsIn a Kubernetes cluster, a node can be shut down in a planned graceful way or unexpectedly because of reasons such as a power outage or something else external. A node shutdown could lead to workload failure if the node is not drained before the shutdown. A node shutdown can be either graceful or non-graceful.Graceful node shutdownThe kubelet attempts to detect node system shutdown and terminates pods running on the node.Kubelet ensures that pods follow the normal pod termination process during the node shutdown. During node shutdown, the kubelet does not accept new Pods (even if those Pods are already bound to the node).Enabling graceful node shutdownFEATURE STATE: Kubernetes v1.21 [beta] (enabled by default: true)On Linux, the graceful node shutdown feature is controlled with the GracefulNodeShutdown feature gate which is enabled by default in 1.21.Note:The graceful node shutdown feature depends on systemd since it takes advantage of systemd inhibitor locks to delay the node shutdown with a given duration.FEATURE STATE: Kubernetes v1.34 [beta] (enabled by default: true)On Windows, the graceful node shutdown feature is controlled with the WindowsGracefulNodeShutdown feature gate which is introduced in 1.32 as an alpha feature. In Kubernetes 1.34 the feature is Beta and is enabled by default.Note:The Windows graceful node shutdown feature depends on kubelet running as a Windows service, it will then have a registered service control handler to delay the preshutdown event with a given duration.Windows graceful node shutdown can not be cancelled.If kubelet is not running as a Windows service, it will not be able to set and monitor the Preshutdown event, the node will have to go through the Non-Graceful Node Shutdown procedure mentioned above.In the case where the Windows graceful node shutdown feature is enabled, but the kubelet is not running as a Windows service, the kubelet will continue running instead of failing. However, it will log an error indicating that it needs to be run as a Windows service.Configuring graceful node shutdownNote that by default, both configuration options described below, shutdownGracePeriod and shutdownGracePeriodCriticalPods, are set to zero, thus not activating the graceful node shutdown functionality. To activate the feature, both options should be configured appropriately and set to non-zero values.Once the kubelet is notified of a node shutdown, it sets a NotReady condition on the Node, with the reason set to \"node is shutting down\". The kube-scheduler honors this condition and does not schedule any Pods onto the affected node; other third-party schedulers are expected to follow the same logic. This means that new Pods won't be scheduled onto that node and therefore none will start.The kubelet also rejects Pods during the PodAdmission phase if an ongoing node shutdown has been detected, so that even Pods with a toleration for node.kubernetes.io/not-ready:NoSchedule do not start there.When kubelet is ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/",
    "id": "k8s_00047_qa_656"
  },
  {
    "question": "What are the benefits of Node Shutdowns?",
    "answer": "Node ShutdownsIn a Kubernetes cluster, a node can be shut down in a planned graceful way or unexpectedly because of reasons such as a power outage or something else external. A node shutdown could lead to workload failure if the node is not drained before the shutdown. A node shutdown can be either graceful or non-graceful.Graceful node shutdownThe kubelet attempts to detect node system shutdown and terminates pods running on the node.Kubelet ensures that pods follow the normal pod termination process during the node shutdown. During node shutdown, the kubelet does not accept new Pods (even if those Pods are already bound to the node).Enabling graceful node shutdownFEATURE STATE: Kubernetes v1.21 [beta] (enabled by default: true)On Linux, the graceful node shutdown feature is controlled with the GracefulNodeShutdown feature gate which is enabled by default in 1.21.Note:The graceful node shutdown feature depends on systemd since it takes advantage of systemd inhibitor locks to delay the node shutdown with a given duration.FEATURE STATE: Kubernetes v1.34 [beta] (enabled by default: true)On Windows, the graceful node shutdown feature is controlled with the WindowsGracefulNodeShutdown feature gate which is introduced in 1.32 as an alpha feature. In Kubernetes 1.34 the feature is Beta and is enabled by default.Note:The Windows graceful node shutdown feature depends on kubelet running as a Windows service, it will then have a registered service control handler to delay the preshutdown event with a given duration.Windows graceful node shutdown can not be cancelled.If kubelet is not running as a Windows service, it will not be able to set and monitor the Preshutdown event, the node will have to go through the Non-Graceful Node Shutdown procedure mentioned above.In the case where the Windows graceful node shutdown feature is enabled, but the kubelet is not running as a Windows service, the kubelet will continue running instead of failing. However, it will log an error indicating that it needs to be run as a Windows service.Configuring graceful node shutdownNote that by default, both configuration options described below, shutdownGracePeriod and shutdownGracePeriodCriticalPods, are set to zero, thus not activating the graceful node shutdown functionality. To activate the feature, both options should be configured appropriately and set to non-zero values.Once the kubelet is notified of a node shutdown, it sets a NotReady condition on the Node, with the reason set to \"node is shutting down\". The kube-scheduler honors this condition and does not schedule any Pods onto the affected node; other third-party schedulers are expected to follow the same logic. This means that new Pods won't be scheduled onto that node and therefore none will start.The kubelet also rejects Pods during the PodAdmission phase if an ongoing node shutdown has been detected, so that even Pods with a toleration for node.kubernetes.io/not-ready:NoSchedule do not start there.When kubelet is ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/",
    "id": "k8s_00047_qa_657"
  },
  {
    "question": "What is Node Shutdowns?",
    "answer": "I n   a   K u b e r n e t e s   c l u s t e r ,   a   n o d e   c a n   b e   s h u t   d o w n   i n   a   p l a n n e d   g r a c e f u l   w a y   o r   u n e x p e c t e d l y   b e c a u s e   o f   r e a s o n s   s u c h   a s   a   p o w e r   o u t a g e   o r   s o m e t h i n g   e l s e   e x t e r n a l .   A   n o d e   s h u t d o w n   c o u l d   l e a d   t o   w o r k l o a d   f a i l u r e   i f   t h e   n o d e   i s   n o t   d r a i n e d   b e f o r e   t h e   s h u t d o w n .   A   n o d e   s h u t d o w n   c a n   b e   e i t h e r   g r a c e f u l   o r   n o n - g r a c e f u l .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/",
    "id": "k8s_00047_section_1_658"
  },
  {
    "question": "What is Graceful node shutdown?",
    "answer": "T h e   k u b e l e t   a t t e m p t s   t o   d e t e c t   n o d e   s y s t e m   s h u t d o w n   a n d   t e r m i n a t e s   p o d s   r u n n i n g   o n   t h e   n o d e .   K u b e l e t   e n s u r e s   t h a t   p o d s   f o l l o w   t h e   n o r m a l   p o d   t e r m i n a t i o n   p r o c e s s   d u r i n g   t h e   n o d e   s h u t d o w n .   D u r i n g   n o d e   s h u t d o w n ,   t h e   k u b e l e t   d o e s   n o t   a c c e p t   n e w   P o d s   ( e v e n   i f   t h o s e   P o d s   a r e   a l r e a d y   b o u n d   t o   t h e   n o d e ) .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/",
    "id": "k8s_00047_section_2_659"
  },
  {
    "question": "What is Enabling graceful node shutdown?",
    "answer": "F E A T U R E   S T A T E :   K u b e r n e t e s   v 1 . 2 1   [ b e t a ]   ( e n a b l e d   b y   d e f a u l t :   t r u e ) O n   L i n u x ,   t h e   g r a c e f u l   n o d e   s h u t d o w n   f e a t u r e   i s   c o n t r o l l e d   w i t h   t h e   G r a c e f u l N o d e S h u t d o w n   f e a t u r e   g a t e   w h i c h   i s   e n a b l e d   b y   d e f a u l t   i n   1 . 2 1 . N o t e : T h e   g r a c e f u l   n o d e   s h u t d o w n   f e a t u r e   d e p e n d s   o n   s y s t e m d   s i n c e   i t   t a k e s   a d v a n t a g e   o f   s y s t e m d   i n h i b i t o r   l o c k s   t o   d e l a y   t h e   n o d e   s h u t d o w n   w i t h   a   g i v e n   d u r a t i o n .   O n   L i n u x ,   t h e   g r a c e f u l   n o d e   s h u t d o w n   f e a t u r e   i s   c o n t r o l l e d   w i t h   t h e   G r a c e f u l N o d e S h u t d o w n   f e a t u r e   g a t e   w h i c h   i s   e n a b l e d   b y   d e f a u l t   i n   1 . 2 1 .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/",
    "id": "k8s_00047_section_3_660"
  },
  {
    "question": "What is Note:?",
    "answer": "F E A T U R E   S T A T E :   K u b e r n e t e s   v 1 . 3 4   [ b e t a ]   ( e n a b l e d   b y   d e f a u l t :   t r u e ) O n   W i n d o w s ,   t h e   g r a c e f u l   n o d e   s h u t d o w n   f e a t u r e   i s   c o n t r o l l e d   w i t h   t h e   W i n d o w s G r a c e f u l N o d e S h u t d o w n   f e a t u r e   g a t e   w h i c h   i s   i n t r o d u c e d   i n   1 . 3 2   a s   a n   a l p h a   f e a t u r e .   I n   K u b e r n e t e s   1 . 3 4   t h e   f e a t u r e   i s   B e t a   a n d   i s   e n a b l e d   b y   d e f a u l t . N o t e : T h e   W i n d o w s   g r a c e f u l   n o d e   s h u t d o w n   f e a t u r e   d e p e n d s   o n   k u b e l e t   r u n n i n g   a s   a   W i n d o w s   s e r v i c e ,   i t   w i l l   t h e n   h a v e   a   r e g i s t e r e d   s e r v i c e   c o n t r o l   h a n d l e r   t o   d e l a y   t h e   p r e s h u t d o w n   e v e n t   w i t h   a   g i v e n   d u r a t i o n . W i n d o w s   g r a c e f u l   n o d e   s h u t d o w n   c a n   n o t   b e   c a n c e l l e d . I f   k u b e l e t   i s   n o t   r u n n i n g   a s   a   W i n d o w s   s e r v i c e ,   i t   w i l l   n o t   b e   a b l e   t o   s e t   a n d   m o n i t o r   t h e   P r e s h u t d o w n   e v e n t ,   t h e   n o d e   w i l l   h a v e   t o   g o   t h r o u g h   t h e   N o n - G r a c e f u l   N o d e   S h u t d o w n   p r o c e d u r e   m e n t i o n e d   a b o v e . I n   t h e   c a s e   w h e r e   t h e   W i n d o w s   g r a c e f u l   n o d e   s h u t d o w n   f e a t u r e   i s   e n a b l e d ,   b u t   t h e   k u b e l e t   i s   n o t   r u n n i n g   a s   a   W i n d o w s   s e r v i c e ,   t h e   k u b e l e t   w i l l   c o n t i n u e   r u n n i n g   i n s t e a d   o f   f a i l i n g .   H o w e v e r ,   i t   w i l l   l o g   a n   e r r o r   i n d i c a t i n g   t h a t   i t   n e e d s   t o   b e   r u n   a s   a   W i n ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/",
    "id": "k8s_00047_section_4_661"
  },
  {
    "question": "What is Note:?",
    "answer": "W i n d o w s   g r a c e f u l   n o d e   s h u t d o w n   c a n   n o t   b e   c a n c e l l e d .   I f   k u b e l e t   i s   n o t   r u n n i n g   a s   a   W i n d o w s   s e r v i c e ,   i t   w i l l   n o t   b e   a b l e   t o   s e t   a n d   m o n i t o r   t h e   P r e s h u t d o w n   e v e n t ,   t h e   n o d e   w i l l   h a v e   t o   g o   t h r o u g h   t h e   N o n - G r a c e f u l   N o d e   S h u t d o w n   p r o c e d u r e   m e n t i o n e d   a b o v e .   I n   t h e   c a s e   w h e r e   t h e   W i n d o w s   g r a c e f u l   n o d e   s h u t d o w n   f e a t u r e   i s   e n a b l e d ,   b u t   t h e   k u b e l e t   i s   n o t   r u n n i n g   a s   a   W i n d o w s   s e r v i c e ,   t h e   k u b e l e t   w i l l   c o n t i n u e   r u n n i n g   i n s t e a d   o f   f a i l i n g .   H o w e v e r ,   i t   w i l l   l o g   a n   e r r o r   i n d i c a t i n g   t h a t   i t   n e e d s   t o   b e   r u n   a s   a   W i n d o w s   s e r v i c e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/",
    "id": "k8s_00047_section_4_662"
  },
  {
    "question": "What is Configuring graceful node shutdown?",
    "answer": "N o t e   t h a t   b y   d e f a u l t ,   b o t h   c o n f i g u r a t i o n   o p t i o n s   d e s c r i b e d   b e l o w ,   s h u t d o w n G r a c e P e r i o d   a n d   s h u t d o w n G r a c e P e r i o d C r i t i c a l P o d s ,   a r e   s e t   t o   z e r o ,   t h u s   n o t   a c t i v a t i n g   t h e   g r a c e f u l   n o d e   s h u t d o w n   f u n c t i o n a l i t y .   T o   a c t i v a t e   t h e   f e a t u r e ,   b o t h   o p t i o n s   s h o u l d   b e   c o n f i g u r e d   a p p r o p r i a t e l y   a n d   s e t   t o   n o n - z e r o   v a l u e s .   O n c e   t h e   k u b e l e t   i s   n o t i f i e d   o f   a   n o d e   s h u t d o w n ,   i t   s e t s   a   N o t R e a d y   c o n d i t i o n   o n   t h e   N o d e ,   w i t h   t h e   r e a s o n   s e t   t o   \" n o d e   i s   s h u t t i n g   d o w n \" .   T h e   k u b e - s c h e d u l e r   h o n o r s   t h i s   c o n d i t i o n   a n d   d o e s   n o t   s c h e d u l e   a n y   P o d s   o n t o   t h e   a f f e c t e d   n o d e ;   o t h e r   t h i r d - p a r t y   s c h e d u l e r s   a r e   e x p e c t e d   t o   f o l l o w   t h e   s a m e   l o g i c .   T h i s   m e a n s   t h a t   n e w   P o d s   w o n ' t   b e   s c h e d u l e d   o n t o   t h a t   n o d e   a n d   t h e r e f o r e   n o n e   w i l l   s t a r t .   T h e   k u b e l e t   a l s o   r e j e c t s   P o d s   d u r i n g   t h e   P o d A d m i s s i o n   p h a s e   i f   a n   o n g o i n g   n o d e   s h u t d o w n   h a s   b e e n   d e t e c t e d ,   s o   t h a t   e v e n   P o d s   w i t h   a   t o l e r a t i o n   f o r   n o d e . k u b e r n e t e s . i o / n o t - r e a d y : N o S c h e d u l e   d o   n o t   s t a r t   t h e r e .   W h e n   k u b e l e t   i s   s e t t i n g   t h a t   c o n d i t i o n   o n   i t s   N o d e   v i a   t h e   A P I ,   t h e   k u b e l e t   a l s o   b e g i n s   t e r m i n a t i ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/",
    "id": "k8s_00047_section_3_663"
  },
  {
    "question": "What is Note:?",
    "answer": "F o r   e x a m p l e ,   i f   s h u t d o w n G r a c e P e r i o d = 3 0 s ,   a n d   s h u t d o w n G r a c e P e r i o d C r i t i c a l P o d s = 1 0 s ,   k u b e l e t   w i l l   d e l a y   t h e   n o d e   s h u t d o w n   b y   3 0   s e c o n d s .   D u r i n g   t h e   s h u t d o w n ,   t h e   f i r s t   2 0   ( 3 0 - 1 0 )   s e c o n d s   w o u l d   b e   r e s e r v e d   f o r   g r a c e f u l l y   t e r m i n a t i n g   n o r m a l   p o d s ,   a n d   t h e   l a s t   1 0   s e c o n d s   w o u l d   b e   r e s e r v e d   f o r   t e r m i n a t i n g   c r i t i c a l   p o d s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/",
    "id": "k8s_00047_section_4_664"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   p o d s   w e r e   e v i c t e d   d u r i n g   t h e   g r a c e f u l   n o d e   s h u t d o w n ,   t h e y   a r e   m a r k e d   a s   s h u t d o w n .   R u n n i n g   k u b e c t l   g e t   p o d s   s h o w s   t h e   s t a t u s   o f   t h e   e v i c t e d   p o d s   a s   T e r m i n a t e d .   A n d   k u b e c t l   d e s c r i b e   p o d   i n d i c a t e s   t h a t   t h e   p o d   w a s   e v i c t e d   b e c a u s e   o f   n o d e   s h u t d o w n :   R e a s o n :   T e r m i n a t e d   M e s s a g e :   P o d   w a s   t e r m i n a t e d   i n   r e s p o n s e   t o   i m m i n e n t   n o d e   s h u t d o w n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/",
    "id": "k8s_00047_section_4_665"
  },
  {
    "question": "What is Pod Priority based graceful node shutdown?",
    "answer": "T o   p r o v i d e   m o r e   f l e x i b i l i t y   d u r i n g   g r a c e f u l   n o d e   s h u t d o w n   a r o u n d   t h e   o r d e r i n g   o f   p o d s   d u r i n g   s h u t d o w n ,   g r a c e f u l   n o d e   s h u t d o w n   h o n o r s   t h e   P r i o r i t y C l a s s   f o r   P o d s ,   p r o v i d e d   t h a t   y o u   e n a b l e d   t h i s   f e a t u r e   i n   y o u r   c l u s t e r .   T h e   f e a t u r e   a l l o w s   c l u s t e r   a d m i n i s t r a t o r s   t o   e x p l i c i t l y   d e f i n e   t h e   o r d e r i n g   o f   p o d s   d u r i n g   g r a c e f u l   n o d e   s h u t d o w n   b a s e d   o n   p r i o r i t y   c l a s s e s .   T h e   G r a c e f u l   N o d e   S h u t d o w n   f e a t u r e ,   a s   d e s c r i b e d   a b o v e ,   s h u t s   d o w n   p o d s   i n   t w o   p h a s e s ,   n o n - c r i t i c a l   p o d s ,   f o l l o w e d   b y   c r i t i c a l   p o d s .   I f   a d d i t i o n a l   f l e x i b i l i t y   i s   n e e d e d   t o   e x p l i c i t l y   d e f i n e   t h e   o r d e r i n g   o f   p o d s   d u r i n g   s h u t d o w n   i n   a   m o r e   g r a n u l a r   w a y ,   p o d   p r i o r i t y   b a s e d   g r a c e f u l   s h u t d o w n   c a n   b e   u s e d .   W h e n   g r a c e f u l   n o d e   s h u t d o w n   h o n o r s   p o d   p r i o r i t i e s ,   t h i s   m a k e s   i t   p o s s i b l e   t o   d o   g r a c e f u l   n o d e   s h u t d o w n   i n   m u l t i p l e   p h a s e s ,   e a c h   p h a s e   s h u t t i n g   d o w n   a   p a r t i c u l a r   p r i o r i t y   c l a s s   o f   p o d s .   T h e   k u b e l e t   c a n   b e   c o n f i g u r e d   w i t h   t h e   e x a c t   p h a s e s   a n d   s h u t d o w n   t i m e   p e r   p h a s e .   A s s u m i n g   t h e   f o l l o w i n g   c u s t o m   p o d   p r i o r i t y   c l a s s e s   i n   a   c l u s t e r ,   W i t h i n   t h e ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/",
    "id": "k8s_00047_section_3_666"
  },
  {
    "question": "What is Note:?",
    "answer": "M e t r i c s   g r a c e f u l _ s h u t d o w n _ s t a r t _ t i m e _ s e c o n d s   a n d   g r a c e f u l _ s h u t d o w n _ e n d _ t i m e _ s e c o n d s   a r e   e m i t t e d   u n d e r   t h e   k u b e l e t   s u b s y s t e m   t o   m o n i t o r   n o d e   s h u t d o w n s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/",
    "id": "k8s_00047_section_4_667"
  },
  {
    "question": "What is Non-graceful node shutdown handling?",
    "answer": "A   n o d e   s h u t d o w n   a c t i o n   m a y   n o t   b e   d e t e c t e d   b y   k u b e l e t ' s   N o d e   S h u t d o w n   M a n a g e r ,   e i t h e r   b e c a u s e   t h e   c o m m a n d   d o e s   n o t   t r i g g e r   t h e   i n h i b i t o r   l o c k s   m e c h a n i s m   u s e d   b y   k u b e l e t   o r   b e c a u s e   o f   a   u s e r   e r r o r ,   i . e . ,   t h e   S h u t d o w n G r a c e P e r i o d   a n d   S h u t d o w n G r a c e P e r i o d C r i t i c a l P o d s   a r e   n o t   c o n f i g u r e d   p r o p e r l y .   P l e a s e   r e f e r   t o   a b o v e   s e c t i o n   G r a c e f u l   N o d e   S h u t d o w n   f o r   m o r e   d e t a i l s .   W h e n   a   n o d e   i s   s h u t d o w n   b u t   n o t   d e t e c t e d   b y   k u b e l e t ' s   N o d e   S h u t d o w n   M a n a g e r ,   t h e   p o d s   t h a t   a r e   p a r t   o f   a   S t a t e f u l S e t   w i l l   b e   s t u c k   i n   t e r m i n a t i n g   s t a t u s   o n   t h e   s h u t d o w n   n o d e   a n d   c a n n o t   m o v e   t o   a   n e w   r u n n i n g   n o d e .   T h i s   i s   b e c a u s e   k u b e l e t   o n   t h e   s h u t d o w n   n o d e   i s   n o t   a v a i l a b l e   t o   d e l e t e   t h e   p o d s   s o   t h e   S t a t e f u l S e t   c a n n o t   c r e a t e   a   n e w   p o d   w i t h   t h e   s a m e   n a m e .   I f   t h e r e   a r e   v o l u m e s   u s e d   b y   t h e   p o d s ,   t h e   V o l u m e A t t a c h m e n t s   w i l l   n o t   b e   d e l e t e d   f r o m   t h e   o r i g i n a l   s h u t d o w n   n o d e   s o   t h e   v o l u m e s   u s e d   b y   t h e s e   p o d s   c a n n o t   b e   a t t a c h e d   t o   a   n e w   r u n n i n g   n o d e .   A s   a   r e s u l t ,   t h e   a p p l i c a t i o n   r u n n i n g   o n   t h e   S t a t e f u l S e t   c a n n o t   f u n c t i o n   p r o p e r l y .   I f   t h e   o r ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/",
    "id": "k8s_00047_section_2_668"
  },
  {
    "question": "What is Note:?",
    "answer": "B e f o r e   a d d i n g   t h e   t a i n t   n o d e . k u b e r n e t e s . i o / o u t - o f - s e r v i c e ,   i t   s h o u l d   b e   v e r i f i e d   t h a t   t h e   n o d e   i s   a l r e a d y   i n   s h u t d o w n   o r   p o w e r   o f f   s t a t e   ( n o t   i n   t h e   m i d d l e   o f   r e s t a r t i n g ) . T h e   u s e r   i s   r e q u i r e d   t o   m a n u a l l y   r e m o v e   t h e   o u t - o f - s e r v i c e   t a i n t   a f t e r   t h e   p o d s   a r e   m o v e d   t o   a   n e w   n o d e   a n d   t h e   u s e r   h a s   c h e c k e d   t h a t   t h e   s h u t d o w n   n o d e   h a s   b e e n   r e c o v e r e d   s i n c e   t h e   u s e r   w a s   t h e   o n e   w h o   o r i g i n a l l y   a d d e d   t h e   t a i n t .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/",
    "id": "k8s_00047_section_4_669"
  },
  {
    "question": "What is Forced storage detach on timeout?",
    "answer": "I n   a n y   s i t u a t i o n   w h e r e   a   p o d   d e l e t i o n   h a s   n o t   s u c c e e d e d   f o r   6   m i n u t e s ,   k u b e r n e t e s   w i l l   f o r c e   d e t a c h   v o l u m e s   b e i n g   u n m o u n t e d   i f   t h e   n o d e   i s   u n h e a l t h y   a t   t h a t   i n s t a n t .   A n y   w o r k l o a d   s t i l l   r u n n i n g   o n   t h e   n o d e   t h a t   u s e s   a   f o r c e - d e t a c h e d   v o l u m e   w i l l   c a u s e   a   v i o l a t i o n   o f   t h e   C S I   s p e c i f i c a t i o n ,   w h i c h   s t a t e s   t h a t   C o n t r o l l e r U n p u b l i s h V o l u m e   \" m u s t   b e   c a l l e d   a f t e r   a l l   N o d e U n s t a g e V o l u m e   a n d   N o d e U n p u b l i s h V o l u m e   o n   t h e   v o l u m e   a r e   c a l l e d   a n d   s u c c e e d \" .   I n   s u c h   c i r c u m s t a n c e s ,   v o l u m e s   o n   t h e   n o d e   i n   q u e s t i o n   m i g h t   e n c o u n t e r   d a t a   c o r r u p t i o n .   T h e   f o r c e d   s t o r a g e   d e t a c h   b e h a v i o u r   i s   o p t i o n a l ;   u s e r s   m i g h t   o p t   t o   u s e   t h e   \" N o n - g r a c e f u l   n o d e   s h u t d o w n \"   f e a t u r e   i n s t e a d .   F o r c e   s t o r a g e   d e t a c h   o n   t i m e o u t   c a n   b e   d i s a b l e d   b y   s e t t i n g   t h e   d i s a b l e - f o r c e - d e t a c h - o n - t i m e o u t   c o n f i g   f i e l d   i n   k u b e - c o n t r o l l e r - m a n a g e r .   D i s a b l i n g   t h e   f o r c e   d e t a c h   o n   t i m e o u t   f e a t u r e   m e a n s   t h a t   a   v o l u m e   t h a t   i s   h o s t e d   o n   a   n o d e   t h a t   i s   u n h e a l t h y   f o r   m o r e   t h a n   6   m i n u t e s   w i l l   n o t   h a v e   i t s   a s s o c i a t e d   V o l u m e A t t a c h m e n t   d e l e t e d .   A f t e r   t h i s   s e t t i n g   h a s   b e e n ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/",
    "id": "k8s_00047_section_3_670"
  },
  {
    "question": "What is Note:?",
    "answer": "C a u t i o n   m u s t   b e   t a k e n   w h i l e   u s i n g   t h e   N o n - G r a c e f u l   N o d e   S h u t d o w n   p r o c e d u r e . D e v i a t i o n   f r o m   t h e   s t e p s   d o c u m e n t e d   a b o v e   c a n   r e s u l t   i n   d a t a   c o r r u p t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/",
    "id": "k8s_00047_section_4_671"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   t h e   f o l l o w i n g :   B l o g :   N o n - G r a c e f u l   N o d e   S h u t d o w n . C l u s t e r   A r c h i t e c t u r e :   N o d e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/",
    "id": "k8s_00047_section_2_672"
  },
  {
    "question": "What is The Kubernetes API?",
    "answer": "The Kubernetes APIThe Kubernetes API lets you query and manipulate the state of objects in Kubernetes. The core of Kubernetes' control plane is the API server and the HTTP API that it exposes. Users, the different parts of your cluster, and external components all communicate with one another through the API server.The core of Kubernetes' control plane is the API server. The API server exposes an HTTP API that lets end users, different parts of your cluster, and external components communicate with one another.The Kubernetes API lets you query and manipulate the state of API objects in Kubernetes (for example: Pods, Namespaces, ConfigMaps, and Events).Most operations can be performed through the kubectl command-line interface or other command-line tools, such as kubeadm, which in turn use the API. However, you can also access the API directly using REST calls. Kubernetes provides a set of client libraries for those looking to write applications using the Kubernetes API.Each Kubernetes cluster publishes the specification of the APIs that the cluster serves. There are two mechanisms that Kubernetes uses to publish these API specifications; both are useful to enable automatic interoperability. For example, the kubectl tool fetches and caches the API specification for enabling command-line completion and other features. The two supported mechanisms are as follows:The Discovery API provides information about the Kubernetes APIs: API names, resources, versions, and supported operations. This is a Kubernetes specific term as it is a separate API from the Kubernetes OpenAPI. It is intended to be a brief summary of the available resources and it does not detail specific schema for the resources. For reference about resource schemas, please refer to the OpenAPI document.The Kubernetes OpenAPI Document provides (full) OpenAPI v2.0 and 3.0 schemas for all Kubernetes API endpoints. The OpenAPI v3 is the preferred method for accessing OpenAPI as it provides a more comprehensive and accurate view of the API. It includes all the available API paths, as well as all resources consumed and produced for every operations on every endpoints. It also includes any extensibility components that a cluster supports. The data is a complete specification and is significantly larger than that from the Discovery API.Discovery APIKubernetes publishes a list of all group versions and resources supported via the Discovery API. This includes the following for each resource:NameCluster or namespaced scopeEndpoint URL and supported verbsAlternative namesGroup, version, kindThe API is available in both aggregated and unaggregated form. The aggregated discovery serves two endpoints, while the unaggregated discovery serves a separate endpoint for each group version.Aggregated discoveryFEATURE STATE: Kubernetes v1.30 [stable] (enabled by default: true)Kubernetes offers stable support for aggregated discovery, publishing all resources supported by a cluster through two endpoints (/api an",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/kubernetes-api/",
    "id": "k8s_00048_qa_673"
  },
  {
    "question": "How does The Kubernetes API work?",
    "answer": "The Kubernetes APIThe Kubernetes API lets you query and manipulate the state of objects in Kubernetes. The core of Kubernetes' control plane is the API server and the HTTP API that it exposes. Users, the different parts of your cluster, and external components all communicate with one another through the API server.The core of Kubernetes' control plane is the API server. The API server exposes an HTTP API that lets end users, different parts of your cluster, and external components communicate with one another.The Kubernetes API lets you query and manipulate the state of API objects in Kubernetes (for example: Pods, Namespaces, ConfigMaps, and Events).Most operations can be performed through the kubectl command-line interface or other command-line tools, such as kubeadm, which in turn use the API. However, you can also access the API directly using REST calls. Kubernetes provides a set of client libraries for those looking to write applications using the Kubernetes API.Each Kubernetes cluster publishes the specification of the APIs that the cluster serves. There are two mechanisms that Kubernetes uses to publish these API specifications; both are useful to enable automatic interoperability. For example, the kubectl tool fetches and caches the API specification for enabling command-line completion and other features. The two supported mechanisms are as follows:The Discovery API provides information about the Kubernetes APIs: API names, resources, versions, and supported operations. This is a Kubernetes specific term as it is a separate API from the Kubernetes OpenAPI. It is intended to be a brief summary of the available resources and it does not detail specific schema for the resources. For reference about resource schemas, please refer to the OpenAPI document.The Kubernetes OpenAPI Document provides (full) OpenAPI v2.0 and 3.0 schemas for all Kubernetes API endpoints. The OpenAPI v3 is the preferred method for accessing OpenAPI as it provides a more comprehensive and accurate view of the API. It includes all the available API paths, as well as all resources consumed and produced for every operations on every endpoints. It also includes any extensibility components that a cluster supports. The data is a complete specification and is significantly larger than that from the Discovery API.Discovery APIKubernetes publishes a list of all group versions and resources supported via the Discovery API. This includes the following for each resource:NameCluster or namespaced scopeEndpoint URL and supported verbsAlternative namesGroup, version, kindThe API is available in both aggregated and unaggregated form. The aggregated discovery serves two endpoints, while the unaggregated discovery serves a separate endpoint for each group version.Aggregated discoveryFEATURE STATE: Kubernetes v1.30 [stable] (enabled by default: true)Kubernetes offers stable support for aggregated discovery, publishing all resources supported by a cluster through two endpoints (/api an",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/kubernetes-api/",
    "id": "k8s_00048_qa_674"
  },
  {
    "question": "When would you use The Kubernetes API?",
    "answer": "The Kubernetes APIThe Kubernetes API lets you query and manipulate the state of objects in Kubernetes. The core of Kubernetes' control plane is the API server and the HTTP API that it exposes. Users, the different parts of your cluster, and external components all communicate with one another through the API server.The core of Kubernetes' control plane is the API server. The API server exposes an HTTP API that lets end users, different parts of your cluster, and external components communicate with one another.The Kubernetes API lets you query and manipulate the state of API objects in Kubernetes (for example: Pods, Namespaces, ConfigMaps, and Events).Most operations can be performed through the kubectl command-line interface or other command-line tools, such as kubeadm, which in turn use the API. However, you can also access the API directly using REST calls. Kubernetes provides a set of client libraries for those looking to write applications using the Kubernetes API.Each Kubernetes cluster publishes the specification of the APIs that the cluster serves. There are two mechanisms that Kubernetes uses to publish these API specifications; both are useful to enable automatic interoperability. For example, the kubectl tool fetches and caches the API specification for enabling command-line completion and other features. The two supported mechanisms are as follows:The Discovery API provides information about the Kubernetes APIs: API names, resources, versions, and supported operations. This is a Kubernetes specific term as it is a separate API from the Kubernetes OpenAPI. It is intended to be a brief summary of the available resources and it does not detail specific schema for the resources. For reference about resource schemas, please refer to the OpenAPI document.The Kubernetes OpenAPI Document provides (full) OpenAPI v2.0 and 3.0 schemas for all Kubernetes API endpoints. The OpenAPI v3 is the preferred method for accessing OpenAPI as it provides a more comprehensive and accurate view of the API. It includes all the available API paths, as well as all resources consumed and produced for every operations on every endpoints. It also includes any extensibility components that a cluster supports. The data is a complete specification and is significantly larger than that from the Discovery API.Discovery APIKubernetes publishes a list of all group versions and resources supported via the Discovery API. This includes the following for each resource:NameCluster or namespaced scopeEndpoint URL and supported verbsAlternative namesGroup, version, kindThe API is available in both aggregated and unaggregated form. The aggregated discovery serves two endpoints, while the unaggregated discovery serves a separate endpoint for each group version.Aggregated discoveryFEATURE STATE: Kubernetes v1.30 [stable] (enabled by default: true)Kubernetes offers stable support for aggregated discovery, publishing all resources supported by a cluster through two endpoints (/api an",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/kubernetes-api/",
    "id": "k8s_00048_qa_675"
  },
  {
    "question": "What are the benefits of The Kubernetes API?",
    "answer": "The Kubernetes APIThe Kubernetes API lets you query and manipulate the state of objects in Kubernetes. The core of Kubernetes' control plane is the API server and the HTTP API that it exposes. Users, the different parts of your cluster, and external components all communicate with one another through the API server.The core of Kubernetes' control plane is the API server. The API server exposes an HTTP API that lets end users, different parts of your cluster, and external components communicate with one another.The Kubernetes API lets you query and manipulate the state of API objects in Kubernetes (for example: Pods, Namespaces, ConfigMaps, and Events).Most operations can be performed through the kubectl command-line interface or other command-line tools, such as kubeadm, which in turn use the API. However, you can also access the API directly using REST calls. Kubernetes provides a set of client libraries for those looking to write applications using the Kubernetes API.Each Kubernetes cluster publishes the specification of the APIs that the cluster serves. There are two mechanisms that Kubernetes uses to publish these API specifications; both are useful to enable automatic interoperability. For example, the kubectl tool fetches and caches the API specification for enabling command-line completion and other features. The two supported mechanisms are as follows:The Discovery API provides information about the Kubernetes APIs: API names, resources, versions, and supported operations. This is a Kubernetes specific term as it is a separate API from the Kubernetes OpenAPI. It is intended to be a brief summary of the available resources and it does not detail specific schema for the resources. For reference about resource schemas, please refer to the OpenAPI document.The Kubernetes OpenAPI Document provides (full) OpenAPI v2.0 and 3.0 schemas for all Kubernetes API endpoints. The OpenAPI v3 is the preferred method for accessing OpenAPI as it provides a more comprehensive and accurate view of the API. It includes all the available API paths, as well as all resources consumed and produced for every operations on every endpoints. It also includes any extensibility components that a cluster supports. The data is a complete specification and is significantly larger than that from the Discovery API.Discovery APIKubernetes publishes a list of all group versions and resources supported via the Discovery API. This includes the following for each resource:NameCluster or namespaced scopeEndpoint URL and supported verbsAlternative namesGroup, version, kindThe API is available in both aggregated and unaggregated form. The aggregated discovery serves two endpoints, while the unaggregated discovery serves a separate endpoint for each group version.Aggregated discoveryFEATURE STATE: Kubernetes v1.30 [stable] (enabled by default: true)Kubernetes offers stable support for aggregated discovery, publishing all resources supported by a cluster through two endpoints (/api an",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/kubernetes-api/",
    "id": "k8s_00048_qa_676"
  },
  {
    "question": "What is The Kubernetes API?",
    "answer": "T h e   c o r e   o f   K u b e r n e t e s '   c o n t r o l   p l a n e   i s   t h e   A P I   s e r v e r .   T h e   A P I   s e r v e r   e x p o s e s   a n   H T T P   A P I   t h a t   l e t s   e n d   u s e r s ,   d i f f e r e n t   p a r t s   o f   y o u r   c l u s t e r ,   a n d   e x t e r n a l   c o m p o n e n t s   c o m m u n i c a t e   w i t h   o n e   a n o t h e r .   T h e   K u b e r n e t e s   A P I   l e t s   y o u   q u e r y   a n d   m a n i p u l a t e   t h e   s t a t e   o f   A P I   o b j e c t s   i n   K u b e r n e t e s   ( f o r   e x a m p l e :   P o d s ,   N a m e s p a c e s ,   C o n f i g M a p s ,   a n d   E v e n t s ) .   M o s t   o p e r a t i o n s   c a n   b e   p e r f o r m e d   t h r o u g h   t h e   k u b e c t l   c o m m a n d - l i n e   i n t e r f a c e   o r   o t h e r   c o m m a n d - l i n e   t o o l s ,   s u c h   a s   k u b e a d m ,   w h i c h   i n   t u r n   u s e   t h e   A P I .   H o w e v e r ,   y o u   c a n   a l s o   a c c e s s   t h e   A P I   d i r e c t l y   u s i n g   R E S T   c a l l s .   K u b e r n e t e s   p r o v i d e s   a   s e t   o f   c l i e n t   l i b r a r i e s   f o r   t h o s e   l o o k i n g   t o   w r i t e   a p p l i c a t i o n s   u s i n g   t h e   K u b e r n e t e s   A P I .   E a c h   K u b e r n e t e s   c l u s t e r   p u b l i s h e s   t h e   s p e c i f i c a t i o n   o f   t h e   A P I s   t h a t   t h e   c l u s t e r   s e r v e s .   T h e r e   a r e   t w o   m e c h a n i s m s   t h a t   K u b e r n e t e s   u s e s   t o   p u b l i s h   t h e s e   A P I   s p e c i f i c a t i o n s ;   b o t h   a r e   u s e f u l   t o   e n a b l e   a u t o m a t i c   i n t e r o p e r a b i l i t y .   F o r   e x a m p l e ,   t h e   k u b e c t l   t o o l   f e t c h e s   a n d   c a c h e s   t h e   A P I   s p e c i f i c a t i o n   f o r   e n a b l i n g   c o m m a n d - l i n e   c o m p l e t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/kubernetes-api/",
    "id": "k8s_00048_section_1_677"
  },
  {
    "question": "What is Discovery API?",
    "answer": "K u b e r n e t e s   p u b l i s h e s   a   l i s t   o f   a l l   g r o u p   v e r s i o n s   a n d   r e s o u r c e s   s u p p o r t e d   v i a   t h e   D i s c o v e r y   A P I .   T h i s   i n c l u d e s   t h e   f o l l o w i n g   f o r   e a c h   r e s o u r c e :   N a m e C l u s t e r   o r   n a m e s p a c e d   s c o p e E n d p o i n t   U R L   a n d   s u p p o r t e d   v e r b s A l t e r n a t i v e   n a m e s G r o u p ,   v e r s i o n ,   k i n d   T h e   A P I   i s   a v a i l a b l e   i n   b o t h   a g g r e g a t e d   a n d   u n a g g r e g a t e d   f o r m .   T h e   a g g r e g a t e d   d i s c o v e r y   s e r v e s   t w o   e n d p o i n t s ,   w h i l e   t h e   u n a g g r e g a t e d   d i s c o v e r y   s e r v e s   a   s e p a r a t e   e n d p o i n t   f o r   e a c h   g r o u p   v e r s i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/kubernetes-api/",
    "id": "k8s_00048_section_2_678"
  },
  {
    "question": "What is Aggregated discovery?",
    "answer": "K u b e r n e t e s   o f f e r s   s t a b l e   s u p p o r t   f o r   a g g r e g a t e d   d i s c o v e r y ,   p u b l i s h i n g   a l l   r e s o u r c e s   s u p p o r t e d   b y   a   c l u s t e r   t h r o u g h   t w o   e n d p o i n t s   ( / a p i   a n d   / a p i s ) .   R e q u e s t i n g   t h i s   e n d p o i n t   d r a s t i c a l l y   r e d u c e s   t h e   n u m b e r   o f   r e q u e s t s   s e n t   t o   f e t c h   t h e   d i s c o v e r y   d a t a   f r o m   t h e   c l u s t e r .   Y o u   c a n   a c c e s s   t h e   d a t a   b y   r e q u e s t i n g   t h e   r e s p e c t i v e   e n d p o i n t s   w i t h   a n   A c c e p t   h e a d e r   i n d i c a t i n g   t h e   a g g r e g a t e d   d i s c o v e r y   r e s o u r c e :   A c c e p t :   a p p l i c a t i o n / j s o n ; v = v 2 ; g = a p i d i s c o v e r y . k 8 s . i o ; a s = A P I G r o u p D i s c o v e r y L i s t .   W i t h o u t   i n d i c a t i n g   t h e   r e s o u r c e   t y p e   u s i n g   t h e   A c c e p t   h e a d e r ,   t h e   d e f a u l t   r e s p o n s e   f o r   t h e   / a p i   a n d   / a p i s   e n d p o i n t   i s   a n   u n a g g r e g a t e d   d i s c o v e r y   d o c u m e n t .   T h e   d i s c o v e r y   d o c u m e n t   f o r   t h e   b u i l t - i n   r e s o u r c e s   c a n   b e   f o u n d   i n   t h e   K u b e r n e t e s   G i t H u b   r e p o s i t o r y .   T h i s   G i t h u b   d o c u m e n t   c a n   b e   u s e d   a s   a   r e f e r e n c e   o f   t h e   b a s e   s e t   o f   t h e   a v a i l a b l e   r e s o u r c e s   i f   a   K u b e r n e t e s   c l u s t e r   i s   n o t   a v a i l a b l e   t o   q u e r y .   T h e   e n d p o i n t   a l s o   s u p p o r t s   E T a g   a n d   p r o t o b u f   e n c o d i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/kubernetes-api/",
    "id": "k8s_00048_section_3_679"
  },
  {
    "question": "What is Unaggregated discovery?",
    "answer": "W i t h o u t   d i s c o v e r y   a g g r e g a t i o n ,   d i s c o v e r y   i s   p u b l i s h e d   i n   l e v e l s ,   w i t h   t h e   r o o t   e n d p o i n t s   p u b l i s h i n g   d i s c o v e r y   i n f o r m a t i o n   f o r   d o w n s t r e a m   d o c u m e n t s .   A   l i s t   o f   a l l   g r o u p   v e r s i o n s   s u p p o r t e d   b y   a   c l u s t e r   i s   p u b l i s h e d   a t   t h e   / a p i   a n d   / a p i s   e n d p o i n t s .   E x a m p l e :   {   \" k i n d \" :   \" A P I G r o u p L i s t \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" g r o u p s \" :   [   {   \" n a m e \" :   \" a p i r e g i s t r a t i o n . k 8 s . i o \" ,   \" v e r s i o n s \" :   [   {   \" g r o u p V e r s i o n \" :   \" a p i r e g i s t r a t i o n . k 8 s . i o / v 1 \" ,   \" v e r s i o n \" :   \" v 1 \"   }   ] ,   \" p r e f e r r e d V e r s i o n \" :   {   \" g r o u p V e r s i o n \" :   \" a p i r e g i s t r a t i o n . k 8 s . i o / v 1 \" ,   \" v e r s i o n \" :   \" v 1 \"   }   } ,   {   \" n a m e \" :   \" a p p s \" ,   \" v e r s i o n s \" :   [   {   \" g r o u p V e r s i o n \" :   \" a p p s / v 1 \" ,   \" v e r s i o n \" :   \" v 1 \"   }   ] ,   \" p r e f e r r e d V e r s i o n \" :   {   \" g r o u p V e r s i o n \" :   \" a p p s / v 1 \" ,   \" v e r s i o n \" :   \" v 1 \"   }   } ,   . . .   }   A d d i t i o n a l   r e q u e s t s   a r e   n e e d e d   t o   o b t a i n   t h e   d i s c o v e r y   d o c u m e n t   f o r   e a c h   g r o u p   v e r s i o n   a t   / a p i s / < g r o u p > / < v e r s i o n >   ( f o r   e x a m p l e :   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 a l p h a 1 ) ,   w h i c h   a d v e r t i s e s   t h e   l i s t   o f   r e s o u r c e s   s e r v e d   u n d e r   a   p a r t i c u l a r   g r o u p   v e r s i o n .   T h e s e   e n d p o i n t s   a r e   u s e d   b y   k u b e c t l   t o   f e t c h   t h e   l i s t   o f   r e s o u r c e s   s u p p o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/kubernetes-api/",
    "id": "k8s_00048_section_3_680"
  },
  {
    "question": "What is OpenAPI interface definition?",
    "answer": "F o r   d e t a i l s   a b o u t   t h e   O p e n A P I   s p e c i f i c a t i o n s ,   s e e   t h e   O p e n A P I   d o c u m e n t a t i o n .   K u b e r n e t e s   s e r v e s   b o t h   O p e n A P I   v 2 . 0   a n d   O p e n A P I   v 3 . 0 .   O p e n A P I   v 3   i s   t h e   p r e f e r r e d   m e t h o d   o f   a c c e s s i n g   t h e   O p e n A P I   b e c a u s e   i t   o f f e r s   a   m o r e   c o m p r e h e n s i v e   ( l o s s l e s s )   r e p r e s e n t a t i o n   o f   K u b e r n e t e s   r e s o u r c e s .   D u e   t o   l i m i t a t i o n s   o f   O p e n A P I   v e r s i o n   2 ,   c e r t a i n   f i e l d s   a r e   d r o p p e d   f r o m   t h e   p u b l i s h e d   O p e n A P I   i n c l u d i n g   b u t   n o t   l i m i t e d   t o   d e f a u l t ,   n u l l a b l e ,   o n e O f .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/kubernetes-api/",
    "id": "k8s_00048_section_2_681"
  },
  {
    "question": "What is OpenAPI V2?",
    "answer": "T h e   K u b e r n e t e s   A P I   s e r v e r   s e r v e s   a n   a g g r e g a t e d   O p e n A P I   v 2   s p e c   v i a   t h e   / o p e n a p i / v 2   e n d p o i n t .   Y o u   c a n   r e q u e s t   t h e   r e s p o n s e   f o r m a t   u s i n g   r e q u e s t   h e a d e r s   a s   f o l l o w s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/kubernetes-api/",
    "id": "k8s_00048_section_3_682"
  },
  {
    "question": "What is OpenAPI V3?",
    "answer": "K u b e r n e t e s   s u p p o r t s   p u b l i s h i n g   a   d e s c r i p t i o n   o f   i t s   A P I s   a s   O p e n A P I   v 3 .   A   d i s c o v e r y   e n d p o i n t   / o p e n a p i / v 3   i s   p r o v i d e d   t o   s e e   a   l i s t   o f   a l l   g r o u p / v e r s i o n s   a v a i l a b l e .   T h i s   e n d p o i n t   o n l y   r e t u r n s   J S O N .   T h e s e   g r o u p / v e r s i o n s   a r e   p r o v i d e d   i n   t h e   f o l l o w i n g   f o r m a t :   {   \" p a t h s \" :   {   . . . ,   \" a p i / v 1 \" :   {   \" s e r v e r R e l a t i v e U R L \" :   \" / o p e n a p i / v 3 / a p i / v 1 ? h a s h = C C 0 E 9 B F D 9 9 2 D 8 C 5 9 A E C 9 8 A 1 E 2 3 3 6 F 8 9 9 E 8 3 1 8 D 3 C F 4 C 6 8 9 4 4 C 3 D E C 6 4 0 A F 5 A B 5 2 D 8 6 4 A C 5 0 D A A 8 D 1 4 5 B 3 4 9 4 F 7 5 F A 3 C F F 9 3 9 F C B D D A 4 3 1 D A D 3 C A 7 9 7 3 8 B 2 9 7 7 9 5 8 1 8 C F \"   } ,   \" a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 \" :   {   \" s e r v e r R e l a t i v e U R L \" :   \" / o p e n a p i / v 3 / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 ? h a s h = E 1 9 C C 9 3 A 1 1 6 9 8 2 C E 5 4 2 2 F C 4 2 B 5 9 0 A 8 A F A D 9 2 C D E 9 A E 4 D 5 9 B 5 C A A D 5 6 8 F 0 8 3 A D 0 7 9 4 6 E 6 C B 5 8 1 7 5 3 1 6 8 0 B C E 6 E 2 1 5 C 1 6 9 7 3 C D 3 9 0 0 3 B 0 4 2 5 F 3 4 7 7 C F D 8 5 4 E 8 9 A 9 D B 6 5 9 7 \"   } ,   . . . .   }   }   T h e   r e l a t i v e   U R L s   a r e   p o i n t i n g   t o   i m m u t a b l e   O p e n A P I   d e s c r i p t i o n s ,   i n   o r d e r   t o   i m p r o v e   c l i e n t - s i d e   c a c h i n g .   T h e   p r o p e r   H T T P   c a c h i n g   h e a d e r s   a r e   a l s o   s e t   b y   t h e   A P I   s e r v e r   f o r   t h a t   p u r p o s e   ( E x p i r e s   t o   1   y e a r   i n   t h e   f u t u r e ,   a n d   C a c h e - C o n t r o l   t o   i m m u t a b l e ) .   W h e n   a n   o b s o l e t e   U R L   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/kubernetes-api/",
    "id": "k8s_00048_section_3_683"
  },
  {
    "question": "What is Protobuf serialization?",
    "answer": "K u b e r n e t e s   i m p l e m e n t s   a n   a l t e r n a t i v e   P r o t o b u f   b a s e d   s e r i a l i z a t i o n   f o r m a t   t h a t   i s   p r i m a r i l y   i n t e n d e d   f o r   i n t r a - c l u s t e r   c o m m u n i c a t i o n .   F o r   m o r e   i n f o r m a t i o n   a b o u t   t h i s   f o r m a t ,   s e e   t h e   K u b e r n e t e s   P r o t o b u f   s e r i a l i z a t i o n   d e s i g n   p r o p o s a l   a n d   t h e   I n t e r f a c e   D e f i n i t i o n   L a n g u a g e   ( I D L )   f i l e s   f o r   e a c h   s c h e m a   l o c a t e d   i n   t h e   G o   p a c k a g e s   t h a t   d e f i n e   t h e   A P I   o b j e c t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/kubernetes-api/",
    "id": "k8s_00048_section_3_684"
  },
  {
    "question": "What is Persistence?",
    "answer": "K u b e r n e t e s   s t o r e s   t h e   s e r i a l i z e d   s t a t e   o f   o b j e c t s   b y   w r i t i n g   t h e m   i n t o   e t c d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/kubernetes-api/",
    "id": "k8s_00048_section_2_685"
  },
  {
    "question": "What is API groups and versioning?",
    "answer": "T o   m a k e   i t   e a s i e r   t o   e l i m i n a t e   f i e l d s   o r   r e s t r u c t u r e   r e s o u r c e   r e p r e s e n t a t i o n s ,   K u b e r n e t e s   s u p p o r t s   m u l t i p l e   A P I   v e r s i o n s ,   e a c h   a t   a   d i f f e r e n t   A P I   p a t h ,   s u c h   a s   / a p i / v 1   o r   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 a l p h a 1 .   V e r s i o n i n g   i s   d o n e   a t   t h e   A P I   l e v e l   r a t h e r   t h a n   a t   t h e   r e s o u r c e   o r   f i e l d   l e v e l   t o   e n s u r e   t h a t   t h e   A P I   p r e s e n t s   a   c l e a r ,   c o n s i s t e n t   v i e w   o f   s y s t e m   r e s o u r c e s   a n d   b e h a v i o r ,   a n d   t o   e n a b l e   c o n t r o l l i n g   a c c e s s   t o   e n d - o f - l i f e   a n d / o r   e x p e r i m e n t a l   A P I s .   T o   m a k e   i t   e a s i e r   t o   e v o l v e   a n d   t o   e x t e n d   i t s   A P I ,   K u b e r n e t e s   i m p l e m e n t s   A P I   g r o u p s   t h a t   c a n   b e   e n a b l e d   o r   d i s a b l e d .   A P I   r e s o u r c e s   a r e   d i s t i n g u i s h e d   b y   t h e i r   A P I   g r o u p ,   r e s o u r c e   t y p e ,   n a m e s p a c e   ( f o r   n a m e s p a c e d   r e s o u r c e s ) ,   a n d   n a m e .   T h e   A P I   s e r v e r   h a n d l e s   t h e   c o n v e r s i o n   b e t w e e n   A P I   v e r s i o n s   t r a n s p a r e n t l y :   a l l   t h e   d i f f e r e n t   v e r s i o n s   a r e   a c t u a l l y   r e p r e s e n t a t i o n s   o f   t h e   s a m e   p e r s i s t e d   d a t a .   T h e   A P I   s e r v e r   m a y   s e r v e   t h e   s a m e   u n d e r l y i n g   d a t a   t h r o u g h   m u l t i p l e   A P I   v e r s i o n s .   F o r   e x a m p l e ,   s u p p o s e   t h e r e   a r e   t w o   A P I   v e r s i o n s ,   v 1   a n d   v 1 b e t a 1 ,   f o r   t h e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/kubernetes-api/",
    "id": "k8s_00048_section_2_686"
  },
  {
    "question": "What is API changes?",
    "answer": "A n y   s y s t e m   t h a t   i s   s u c c e s s f u l   n e e d s   t o   g r o w   a n d   c h a n g e   a s   n e w   u s e   c a s e s   e m e r g e   o r   e x i s t i n g   o n e s   c h a n g e .   T h e r e f o r e ,   K u b e r n e t e s   h a s   d e s i g n e d   t h e   K u b e r n e t e s   A P I   t o   c o n t i n u o u s l y   c h a n g e   a n d   g r o w .   T h e   K u b e r n e t e s   p r o j e c t   a i m s   t o   n o t   b r e a k   c o m p a t i b i l i t y   w i t h   e x i s t i n g   c l i e n t s ,   a n d   t o   m a i n t a i n   t h a t   c o m p a t i b i l i t y   f o r   a   l e n g t h   o f   t i m e   s o   t h a t   o t h e r   p r o j e c t s   h a v e   a n   o p p o r t u n i t y   t o   a d a p t .   I n   g e n e r a l ,   n e w   A P I   r e s o u r c e s   a n d   n e w   r e s o u r c e   f i e l d s   c a n   b e   a d d e d   o f t e n   a n d   f r e q u e n t l y .   E l i m i n a t i o n   o f   r e s o u r c e s   o r   f i e l d s   r e q u i r e s   f o l l o w i n g   t h e   A P I   d e p r e c a t i o n   p o l i c y .   K u b e r n e t e s   m a k e s   a   s t r o n g   c o m m i t m e n t   t o   m a i n t a i n   c o m p a t i b i l i t y   f o r   o f f i c i a l   K u b e r n e t e s   A P I s   o n c e   t h e y   r e a c h   g e n e r a l   a v a i l a b i l i t y   ( G A ) ,   t y p i c a l l y   a t   A P I   v e r s i o n   v 1 .   A d d i t i o n a l l y ,   K u b e r n e t e s   m a i n t a i n s   c o m p a t i b i l i t y   w i t h   d a t a   p e r s i s t e d   v i a   b e t a   A P I   v e r s i o n s   o f   o f f i c i a l   K u b e r n e t e s   A P I s ,   a n d   e n s u r e s   t h a t   d a t a   c a n   b e   c o n v e r t e d   a n d   a c c e s s e d   v i a   G A   A P I   v e r s i o n s   w h e n   t h e   f e a t u r e   g o e s   s t a b l e .   I f   y o u   a d o p t   a   b e t a   A P I   v e r s i o n ,   y o u   w i l l   n e e d   t o   t r a n s i t i o n   t o   a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/kubernetes-api/",
    "id": "k8s_00048_section_3_687"
  },
  {
    "question": "What is Note:?",
    "answer": "R e f e r   t o   A P I   v e r s i o n s   r e f e r e n c e   f o r   m o r e   d e t a i l s   o n   t h e   A P I   v e r s i o n   l e v e l   d e f i n i t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/kubernetes-api/",
    "id": "k8s_00048_section_4_688"
  },
  {
    "question": "What is API Extension?",
    "answer": "T h e   K u b e r n e t e s   A P I   c a n   b e   e x t e n d e d   i n   o n e   o f   t w o   w a y s :   C u s t o m   r e s o u r c e s   l e t   y o u   d e c l a r a t i v e l y   d e f i n e   h o w   t h e   A P I   s e r v e r   s h o u l d   p r o v i d e   y o u r   c h o s e n   r e s o u r c e   A P I . Y o u   c a n   a l s o   e x t e n d   t h e   K u b e r n e t e s   A P I   b y   i m p l e m e n t i n g   a n   a g g r e g a t i o n   l a y e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/kubernetes-api/",
    "id": "k8s_00048_section_2_689"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   e x t e n d   t h e   K u b e r n e t e s   A P I   b y   a d d i n g   y o u r   o w n   C u s t o m R e s o u r c e D e f i n i t i o n . C o n t r o l l i n g   A c c e s s   T o   T h e   K u b e r n e t e s   A P I   d e s c r i b e s   h o w   t h e   c l u s t e r   m a n a g e s   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n   f o r   A P I   a c c e s s . L e a r n   a b o u t   A P I   e n d p o i n t s ,   r e s o u r c e   t y p e s   a n d   s a m p l e s   b y   r e a d i n g   A P I   R e f e r e n c e . L e a r n   a b o u t   w h a t   c o n s t i t u t e s   a   c o m p a t i b l e   c h a n g e ,   a n d   h o w   t o   c h a n g e   t h e   A P I ,   f r o m   A P I   c h a n g e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/kubernetes-api/",
    "id": "k8s_00048_section_2_690"
  },
  {
    "question": "What is Use an HTTP Proxy to Access the Kubernetes API?",
    "answer": "Use an HTTP Proxy to Access the Kubernetes APIThis page shows how to use an HTTP proxy to access the Kubernetes API.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.If you do not already have an application running in your cluster, start a Hello world application by entering this command:kubectl create deployment hello-app --image=gcr.io/google-samples/hello-app:2.0 --port=8080 Using kubectl to start a proxy serverThis command starts a proxy to the Kubernetes API server:kubectl proxy --port=8080 Exploring the Kubernetes APIWhen the proxy server is running, you can explore the API using curl, wget, or a browser.Get the API versions:curl http://localhost:8080/api/ The output should look similar to this:{ \"kind\": \"APIVersions\", \"versions\": [ \"v1\" ], \"serverAddressByClientCIDRs\": [ { \"clientCIDR\": \"0.0.0.0/0\", \"serverAddress\": \"10.0.2.15:8443\" } ] } Get a list of pods:curl http://localhost:8080/api/v1/namespaces/default/pods The output should look similar to this:{ \"kind\": \"PodList\", \"apiVersion\": \"v1\", \"metadata\": { \"resourceVersion\": \"33074\" }, \"items\": [ { \"metadata\": { \"name\": \"kubernetes-bootcamp-2321272333-ix8pt\", \"generateName\": \"kubernetes-bootcamp-2321272333-\", \"namespace\": \"default\", \"uid\": \"ba21457c-6b1d-11e6-85f7-1ef9f1dab92b\", \"resourceVersion\": \"33003\", \"creationTimestamp\": \"2016-08-25T23:43:30Z\", \"labels\": { \"pod-template-hash\": \"2321272333\", \"run\": \"kubernetes-bootcamp\" }, ... } What's nextLearn more about kubectl proxy.",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/http-proxy-access-api/",
    "id": "k8s_00049_qa_691"
  },
  {
    "question": "How does Use an HTTP Proxy to Access the Kubernetes API work?",
    "answer": "Use an HTTP Proxy to Access the Kubernetes APIThis page shows how to use an HTTP proxy to access the Kubernetes API.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.If you do not already have an application running in your cluster, start a Hello world application by entering this command:kubectl create deployment hello-app --image=gcr.io/google-samples/hello-app:2.0 --port=8080 Using kubectl to start a proxy serverThis command starts a proxy to the Kubernetes API server:kubectl proxy --port=8080 Exploring the Kubernetes APIWhen the proxy server is running, you can explore the API using curl, wget, or a browser.Get the API versions:curl http://localhost:8080/api/ The output should look similar to this:{ \"kind\": \"APIVersions\", \"versions\": [ \"v1\" ], \"serverAddressByClientCIDRs\": [ { \"clientCIDR\": \"0.0.0.0/0\", \"serverAddress\": \"10.0.2.15:8443\" } ] } Get a list of pods:curl http://localhost:8080/api/v1/namespaces/default/pods The output should look similar to this:{ \"kind\": \"PodList\", \"apiVersion\": \"v1\", \"metadata\": { \"resourceVersion\": \"33074\" }, \"items\": [ { \"metadata\": { \"name\": \"kubernetes-bootcamp-2321272333-ix8pt\", \"generateName\": \"kubernetes-bootcamp-2321272333-\", \"namespace\": \"default\", \"uid\": \"ba21457c-6b1d-11e6-85f7-1ef9f1dab92b\", \"resourceVersion\": \"33003\", \"creationTimestamp\": \"2016-08-25T23:43:30Z\", \"labels\": { \"pod-template-hash\": \"2321272333\", \"run\": \"kubernetes-bootcamp\" }, ... } What's nextLearn more about kubectl proxy.",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/http-proxy-access-api/",
    "id": "k8s_00049_qa_692"
  },
  {
    "question": "When would you use Use an HTTP Proxy to Access the Kubernetes API?",
    "answer": "Use an HTTP Proxy to Access the Kubernetes APIThis page shows how to use an HTTP proxy to access the Kubernetes API.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.If you do not already have an application running in your cluster, start a Hello world application by entering this command:kubectl create deployment hello-app --image=gcr.io/google-samples/hello-app:2.0 --port=8080 Using kubectl to start a proxy serverThis command starts a proxy to the Kubernetes API server:kubectl proxy --port=8080 Exploring the Kubernetes APIWhen the proxy server is running, you can explore the API using curl, wget, or a browser.Get the API versions:curl http://localhost:8080/api/ The output should look similar to this:{ \"kind\": \"APIVersions\", \"versions\": [ \"v1\" ], \"serverAddressByClientCIDRs\": [ { \"clientCIDR\": \"0.0.0.0/0\", \"serverAddress\": \"10.0.2.15:8443\" } ] } Get a list of pods:curl http://localhost:8080/api/v1/namespaces/default/pods The output should look similar to this:{ \"kind\": \"PodList\", \"apiVersion\": \"v1\", \"metadata\": { \"resourceVersion\": \"33074\" }, \"items\": [ { \"metadata\": { \"name\": \"kubernetes-bootcamp-2321272333-ix8pt\", \"generateName\": \"kubernetes-bootcamp-2321272333-\", \"namespace\": \"default\", \"uid\": \"ba21457c-6b1d-11e6-85f7-1ef9f1dab92b\", \"resourceVersion\": \"33003\", \"creationTimestamp\": \"2016-08-25T23:43:30Z\", \"labels\": { \"pod-template-hash\": \"2321272333\", \"run\": \"kubernetes-bootcamp\" }, ... } What's nextLearn more about kubectl proxy.",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/http-proxy-access-api/",
    "id": "k8s_00049_qa_693"
  },
  {
    "question": "What are the benefits of Use an HTTP Proxy to Access the Kubernetes API?",
    "answer": "Use an HTTP Proxy to Access the Kubernetes APIThis page shows how to use an HTTP proxy to access the Kubernetes API.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.If you do not already have an application running in your cluster, start a Hello world application by entering this command:kubectl create deployment hello-app --image=gcr.io/google-samples/hello-app:2.0 --port=8080 Using kubectl to start a proxy serverThis command starts a proxy to the Kubernetes API server:kubectl proxy --port=8080 Exploring the Kubernetes APIWhen the proxy server is running, you can explore the API using curl, wget, or a browser.Get the API versions:curl http://localhost:8080/api/ The output should look similar to this:{ \"kind\": \"APIVersions\", \"versions\": [ \"v1\" ], \"serverAddressByClientCIDRs\": [ { \"clientCIDR\": \"0.0.0.0/0\", \"serverAddress\": \"10.0.2.15:8443\" } ] } Get a list of pods:curl http://localhost:8080/api/v1/namespaces/default/pods The output should look similar to this:{ \"kind\": \"PodList\", \"apiVersion\": \"v1\", \"metadata\": { \"resourceVersion\": \"33074\" }, \"items\": [ { \"metadata\": { \"name\": \"kubernetes-bootcamp-2321272333-ix8pt\", \"generateName\": \"kubernetes-bootcamp-2321272333-\", \"namespace\": \"default\", \"uid\": \"ba21457c-6b1d-11e6-85f7-1ef9f1dab92b\", \"resourceVersion\": \"33003\", \"creationTimestamp\": \"2016-08-25T23:43:30Z\", \"labels\": { \"pod-template-hash\": \"2321272333\", \"run\": \"kubernetes-bootcamp\" }, ... } What's nextLearn more about kubectl proxy.",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/http-proxy-access-api/",
    "id": "k8s_00049_qa_694"
  },
  {
    "question": "What is Use an HTTP Proxy to Access the Kubernetes API?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   a n   H T T P   p r o x y   t o   a c c e s s   t h e   K u b e r n e t e s   A P I .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/http-proxy-access-api/",
    "id": "k8s_00049_section_1_695"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a n   a p p l i c a t i o n   r u n n i n g   i n   y o u r   c l u s ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/http-proxy-access-api/",
    "id": "k8s_00049_section_2_696"
  },
  {
    "question": "What is Using kubectl to start a proxy server?",
    "answer": "T h i s   c o m m a n d   s t a r t s   a   p r o x y   t o   t h e   K u b e r n e t e s   A P I   s e r v e r :   k u b e c t l   p r o x y   - - p o r t = 8 0 8 0",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/http-proxy-access-api/",
    "id": "k8s_00049_section_2_697"
  },
  {
    "question": "What is Exploring the Kubernetes API?",
    "answer": "W h e n   t h e   p r o x y   s e r v e r   i s   r u n n i n g ,   y o u   c a n   e x p l o r e   t h e   A P I   u s i n g   c u r l ,   w g e t ,   o r   a   b r o w s e r .   G e t   t h e   A P I   v e r s i o n s :   c u r l   h t t p : / / l o c a l h o s t : 8 0 8 0 / a p i /   T h e   o u t p u t   s h o u l d   l o o k   s i m i l a r   t o   t h i s :   {   \" k i n d \" :   \" A P I V e r s i o n s \" ,   \" v e r s i o n s \" :   [   \" v 1 \"   ] ,   \" s e r v e r A d d r e s s B y C l i e n t C I D R s \" :   [   {   \" c l i e n t C I D R \" :   \" 0 . 0 . 0 . 0 / 0 \" ,   \" s e r v e r A d d r e s s \" :   \" 1 0 . 0 . 2 . 1 5 : 8 4 4 3 \"   }   ]   }   G e t   a   l i s t   o f   p o d s :   c u r l   h t t p : / / l o c a l h o s t : 8 0 8 0 / a p i / v 1 / n a m e s p a c e s / d e f a u l t / p o d s   T h e   o u t p u t   s h o u l d   l o o k   s i m i l a r   t o   t h i s :   {   \" k i n d \" :   \" P o d L i s t \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   {   \" r e s o u r c e V e r s i o n \" :   \" 3 3 0 7 4 \"   } ,   \" i t e m s \" :   [   {   \" m e t a d a t a \" :   {   \" n a m e \" :   \" k u b e r n e t e s - b o o t c a m p - 2 3 2 1 2 7 2 3 3 3 - i x 8 p t \" ,   \" g e n e r a t e N a m e \" :   \" k u b e r n e t e s - b o o t c a m p - 2 3 2 1 2 7 2 3 3 3 - \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \" ,   \" u i d \" :   \" b a 2 1 4 5 7 c - 6 b 1 d - 1 1 e 6 - 8 5 f 7 - 1 e f 9 f 1 d a b 9 2 b \" ,   \" r e s o u r c e V e r s i o n \" :   \" 3 3 0 0 3 \" ,   \" c r e a t i o n T i m e s t a m p \" :   \" 2 0 1 6 - 0 8 - 2 5 T 2 3 : 4 3 : 3 0 Z \" ,   \" l a b e l s \" :   {   \" p o d - t e m p l a t e - h a s h \" :   \" 2 3 2 1 2 7 2 3 3 3 \" ,   \" r u n \" :   \" k u b e r n e t e s - b o o t c a m p \"   } ,   . . .   }",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/http-proxy-access-api/",
    "id": "k8s_00049_section_2_698"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   k u b e c t l   p r o x y .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/http-proxy-access-api/",
    "id": "k8s_00049_section_2_699"
  },
  {
    "question": "What is Managing Secrets using kubectl?",
    "answer": "Managing Secrets using kubectlCreating Secret objects using kubectl command line.This page shows you how to create, edit, manage, and delete Kubernetes Secrets using the kubectl command-line tool.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesCreate a SecretA Secret object stores sensitive data such as credentials used by Pods to access services. For example, you might need a Secret to store the username and password needed to access a database.You can create the Secret by passing the raw data in the command, or by storing the credentials in files that you pass in the command. The following commands create a Secret that stores the username admin and the password S!B\\*d$zDsb=.Use raw dataRun the following command:kubectl create secret generic db-user-pass \\ --from-literal=username=admin \\ --from-literal=password='S!B\\*d$zDsb=' You must use single quotes '' to escape special characters such as $, \\, *, =, and ! in your strings. If you don't, your shell will interpret these characters.Note:The stringData field for a Secret does not work well with server-side apply.Use source filesStore the credentials in files:echo -n 'admin' > ./username.txt echo -n 'S!B\\*d$zDsb=' > ./password.txt The -n flag ensures that the generated files do not have an extra newline character at the end of the text. This is important because when kubectl reads a file and encodes the content into a base64 string, the extra newline character gets encoded too. You do not need to escape special characters in strings that you include in a file.Pass the file paths in the kubectl command:kubectl create secret generic db-user-pass \\ --from-file=./username.txt \\ --from-file=./password.txt The default key name is the file name. You can optionally set the key name using --from-file=[key=]source. For example:kubectl create secret generic db-user-pass \\ --from-file=username=./username.txt \\ --from-file=password=./password.txt With either method, the output is similar to:secret/db-user-pass created Verify the SecretCheck that the Secret was created:kubectl get secrets The output is similar to:NAME TYPE DATA AGE db-user-pass Opaque 2 51s View the details of the Secret:kubectl describe secret db-user-pass The output is similar to:Name: db-user-pass Namespace: default Labels: <none> Annotations: <none> Type: Opaque Data ==== password: 12 bytes username: 5 bytes The commands kubectl get and kubectl describe avoid showing the contents of a Secret by default. This is to protect the Secret from being exposed accidentally, or from being stored in a terminal log.Decode the SecretView the contents of the Secret you c",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kubectl/",
    "id": "k8s_00050_qa_700"
  },
  {
    "question": "How does Managing Secrets using kubectl work?",
    "answer": "Managing Secrets using kubectlCreating Secret objects using kubectl command line.This page shows you how to create, edit, manage, and delete Kubernetes Secrets using the kubectl command-line tool.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesCreate a SecretA Secret object stores sensitive data such as credentials used by Pods to access services. For example, you might need a Secret to store the username and password needed to access a database.You can create the Secret by passing the raw data in the command, or by storing the credentials in files that you pass in the command. The following commands create a Secret that stores the username admin and the password S!B\\*d$zDsb=.Use raw dataRun the following command:kubectl create secret generic db-user-pass \\ --from-literal=username=admin \\ --from-literal=password='S!B\\*d$zDsb=' You must use single quotes '' to escape special characters such as $, \\, *, =, and ! in your strings. If you don't, your shell will interpret these characters.Note:The stringData field for a Secret does not work well with server-side apply.Use source filesStore the credentials in files:echo -n 'admin' > ./username.txt echo -n 'S!B\\*d$zDsb=' > ./password.txt The -n flag ensures that the generated files do not have an extra newline character at the end of the text. This is important because when kubectl reads a file and encodes the content into a base64 string, the extra newline character gets encoded too. You do not need to escape special characters in strings that you include in a file.Pass the file paths in the kubectl command:kubectl create secret generic db-user-pass \\ --from-file=./username.txt \\ --from-file=./password.txt The default key name is the file name. You can optionally set the key name using --from-file=[key=]source. For example:kubectl create secret generic db-user-pass \\ --from-file=username=./username.txt \\ --from-file=password=./password.txt With either method, the output is similar to:secret/db-user-pass created Verify the SecretCheck that the Secret was created:kubectl get secrets The output is similar to:NAME TYPE DATA AGE db-user-pass Opaque 2 51s View the details of the Secret:kubectl describe secret db-user-pass The output is similar to:Name: db-user-pass Namespace: default Labels: <none> Annotations: <none> Type: Opaque Data ==== password: 12 bytes username: 5 bytes The commands kubectl get and kubectl describe avoid showing the contents of a Secret by default. This is to protect the Secret from being exposed accidentally, or from being stored in a terminal log.Decode the SecretView the contents of the Secret you c",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kubectl/",
    "id": "k8s_00050_qa_701"
  },
  {
    "question": "When would you use Managing Secrets using kubectl?",
    "answer": "Managing Secrets using kubectlCreating Secret objects using kubectl command line.This page shows you how to create, edit, manage, and delete Kubernetes Secrets using the kubectl command-line tool.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesCreate a SecretA Secret object stores sensitive data such as credentials used by Pods to access services. For example, you might need a Secret to store the username and password needed to access a database.You can create the Secret by passing the raw data in the command, or by storing the credentials in files that you pass in the command. The following commands create a Secret that stores the username admin and the password S!B\\*d$zDsb=.Use raw dataRun the following command:kubectl create secret generic db-user-pass \\ --from-literal=username=admin \\ --from-literal=password='S!B\\*d$zDsb=' You must use single quotes '' to escape special characters such as $, \\, *, =, and ! in your strings. If you don't, your shell will interpret these characters.Note:The stringData field for a Secret does not work well with server-side apply.Use source filesStore the credentials in files:echo -n 'admin' > ./username.txt echo -n 'S!B\\*d$zDsb=' > ./password.txt The -n flag ensures that the generated files do not have an extra newline character at the end of the text. This is important because when kubectl reads a file and encodes the content into a base64 string, the extra newline character gets encoded too. You do not need to escape special characters in strings that you include in a file.Pass the file paths in the kubectl command:kubectl create secret generic db-user-pass \\ --from-file=./username.txt \\ --from-file=./password.txt The default key name is the file name. You can optionally set the key name using --from-file=[key=]source. For example:kubectl create secret generic db-user-pass \\ --from-file=username=./username.txt \\ --from-file=password=./password.txt With either method, the output is similar to:secret/db-user-pass created Verify the SecretCheck that the Secret was created:kubectl get secrets The output is similar to:NAME TYPE DATA AGE db-user-pass Opaque 2 51s View the details of the Secret:kubectl describe secret db-user-pass The output is similar to:Name: db-user-pass Namespace: default Labels: <none> Annotations: <none> Type: Opaque Data ==== password: 12 bytes username: 5 bytes The commands kubectl get and kubectl describe avoid showing the contents of a Secret by default. This is to protect the Secret from being exposed accidentally, or from being stored in a terminal log.Decode the SecretView the contents of the Secret you c",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kubectl/",
    "id": "k8s_00050_qa_702"
  },
  {
    "question": "What are the benefits of Managing Secrets using kubectl?",
    "answer": "Managing Secrets using kubectlCreating Secret objects using kubectl command line.This page shows you how to create, edit, manage, and delete Kubernetes Secrets using the kubectl command-line tool.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesCreate a SecretA Secret object stores sensitive data such as credentials used by Pods to access services. For example, you might need a Secret to store the username and password needed to access a database.You can create the Secret by passing the raw data in the command, or by storing the credentials in files that you pass in the command. The following commands create a Secret that stores the username admin and the password S!B\\*d$zDsb=.Use raw dataRun the following command:kubectl create secret generic db-user-pass \\ --from-literal=username=admin \\ --from-literal=password='S!B\\*d$zDsb=' You must use single quotes '' to escape special characters such as $, \\, *, =, and ! in your strings. If you don't, your shell will interpret these characters.Note:The stringData field for a Secret does not work well with server-side apply.Use source filesStore the credentials in files:echo -n 'admin' > ./username.txt echo -n 'S!B\\*d$zDsb=' > ./password.txt The -n flag ensures that the generated files do not have an extra newline character at the end of the text. This is important because when kubectl reads a file and encodes the content into a base64 string, the extra newline character gets encoded too. You do not need to escape special characters in strings that you include in a file.Pass the file paths in the kubectl command:kubectl create secret generic db-user-pass \\ --from-file=./username.txt \\ --from-file=./password.txt The default key name is the file name. You can optionally set the key name using --from-file=[key=]source. For example:kubectl create secret generic db-user-pass \\ --from-file=username=./username.txt \\ --from-file=password=./password.txt With either method, the output is similar to:secret/db-user-pass created Verify the SecretCheck that the Secret was created:kubectl get secrets The output is similar to:NAME TYPE DATA AGE db-user-pass Opaque 2 51s View the details of the Secret:kubectl describe secret db-user-pass The output is similar to:Name: db-user-pass Namespace: default Labels: <none> Annotations: <none> Type: Opaque Data ==== password: 12 bytes username: 5 bytes The commands kubectl get and kubectl describe avoid showing the contents of a Secret by default. This is to protect the Secret from being exposed accidentally, or from being stored in a terminal log.Decode the SecretView the contents of the Secret you c",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kubectl/",
    "id": "k8s_00050_qa_703"
  },
  {
    "question": "What is Managing Secrets using kubectl?",
    "answer": "T h i s   p a g e   s h o w s   y o u   h o w   t o   c r e a t e ,   e d i t ,   m a n a g e ,   a n d   d e l e t e   K u b e r n e t e s   S e c r e t s   u s i n g   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kubectl/",
    "id": "k8s_00050_section_1_704"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kubectl/",
    "id": "k8s_00050_section_2_705"
  },
  {
    "question": "What is Create a Secret?",
    "answer": "A   S e c r e t   o b j e c t   s t o r e s   s e n s i t i v e   d a t a   s u c h   a s   c r e d e n t i a l s   u s e d   b y   P o d s   t o   a c c e s s   s e r v i c e s .   F o r   e x a m p l e ,   y o u   m i g h t   n e e d   a   S e c r e t   t o   s t o r e   t h e   u s e r n a m e   a n d   p a s s w o r d   n e e d e d   t o   a c c e s s   a   d a t a b a s e .   Y o u   c a n   c r e a t e   t h e   S e c r e t   b y   p a s s i n g   t h e   r a w   d a t a   i n   t h e   c o m m a n d ,   o r   b y   s t o r i n g   t h e   c r e d e n t i a l s   i n   f i l e s   t h a t   y o u   p a s s   i n   t h e   c o m m a n d .   T h e   f o l l o w i n g   c o m m a n d s   c r e a t e   a   S e c r e t   t h a t   s t o r e s   t h e   u s e r n a m e   a d m i n   a n d   t h e   p a s s w o r d   S ! B \\ * d $ z D s b = .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kubectl/",
    "id": "k8s_00050_section_2_706"
  },
  {
    "question": "What is Use raw data?",
    "answer": "R u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   d b - u s e r - p a s s   \\   - - f r o m - l i t e r a l = u s e r n a m e = a d m i n   \\   - - f r o m - l i t e r a l = p a s s w o r d = ' S ! B \\ * d $ z D s b = '   Y o u   m u s t   u s e   s i n g l e   q u o t e s   ' '   t o   e s c a p e   s p e c i a l   c h a r a c t e r s   s u c h   a s   $ ,   \\ ,   * ,   = ,   a n d   !   i n   y o u r   s t r i n g s .   I f   y o u   d o n ' t ,   y o u r   s h e l l   w i l l   i n t e r p r e t   t h e s e   c h a r a c t e r s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kubectl/",
    "id": "k8s_00050_section_3_707"
  },
  {
    "question": "What is Use source files?",
    "answer": "S t o r e   t h e   c r e d e n t i a l s   i n   f i l e s : e c h o   - n   ' a d m i n '   >   . / u s e r n a m e . t x t   e c h o   - n   ' S ! B \\ * d $ z D s b = '   >   . / p a s s w o r d . t x t   T h e   - n   f l a g   e n s u r e s   t h a t   t h e   g e n e r a t e d   f i l e s   d o   n o t   h a v e   a n   e x t r a   n e w l i n e   c h a r a c t e r   a t   t h e   e n d   o f   t h e   t e x t .   T h i s   i s   i m p o r t a n t   b e c a u s e   w h e n   k u b e c t l   r e a d s   a   f i l e   a n d   e n c o d e s   t h e   c o n t e n t   i n t o   a   b a s e 6 4   s t r i n g ,   t h e   e x t r a   n e w l i n e   c h a r a c t e r   g e t s   e n c o d e d   t o o .   Y o u   d o   n o t   n e e d   t o   e s c a p e   s p e c i a l   c h a r a c t e r s   i n   s t r i n g s   t h a t   y o u   i n c l u d e   i n   a   f i l e . P a s s   t h e   f i l e   p a t h s   i n   t h e   k u b e c t l   c o m m a n d : k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   d b - u s e r - p a s s   \\   - - f r o m - f i l e = . / u s e r n a m e . t x t   \\   - - f r o m - f i l e = . / p a s s w o r d . t x t   T h e   d e f a u l t   k e y   n a m e   i s   t h e   f i l e   n a m e .   Y o u   c a n   o p t i o n a l l y   s e t   t h e   k e y   n a m e   u s i n g   - - f r o m - f i l e = [ k e y = ] s o u r c e .   F o r   e x a m p l e : k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   d b - u s e r - p a s s   \\   - - f r o m - f i l e = u s e r n a m e = . / u s e r n a m e . t x t   \\   - - f r o m - f i l e = p a s s w o r d = . / p a s s w o r d . t x t   S t o r e   t h e   c r e d e n t i a l s   i n   f i l e s :   e c h o   - n   ' a d m i n '   >   . / u s e r n a m e . t x t   e c h o   - n   ' S ! B \\ * d $ z D s b = '   >   . / p a s s w o r d . t x t   T h e   - n   f l a g   e n s u r e s   t h a t   t h e   g e n e r a t e d   f i l e s   d o   n o t   h a v e   a n   e x t r a   n e w l i n e   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kubectl/",
    "id": "k8s_00050_section_3_708"
  },
  {
    "question": "What is Verify the Secret?",
    "answer": "C h e c k   t h a t   t h e   S e c r e t   w a s   c r e a t e d :   k u b e c t l   g e t   s e c r e t s   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   T Y P E   D A T A   A G E   d b - u s e r - p a s s   O p a q u e   2   5 1 s   V i e w   t h e   d e t a i l s   o f   t h e   S e c r e t :   k u b e c t l   d e s c r i b e   s e c r e t   d b - u s e r - p a s s   T h e   o u t p u t   i s   s i m i l a r   t o :   N a m e :   d b - u s e r - p a s s   N a m e s p a c e :   d e f a u l t   L a b e l s :   < n o n e >   A n n o t a t i o n s :   < n o n e >   T y p e :   O p a q u e   D a t a   = = = =   p a s s w o r d :   1 2   b y t e s   u s e r n a m e :   5   b y t e s   T h e   c o m m a n d s   k u b e c t l   g e t   a n d   k u b e c t l   d e s c r i b e   a v o i d   s h o w i n g   t h e   c o n t e n t s   o f   a   S e c r e t   b y   d e f a u l t .   T h i s   i s   t o   p r o t e c t   t h e   S e c r e t   f r o m   b e i n g   e x p o s e d   a c c i d e n t a l l y ,   o r   f r o m   b e i n g   s t o r e d   i n   a   t e r m i n a l   l o g .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kubectl/",
    "id": "k8s_00050_section_3_709"
  },
  {
    "question": "What is Decode the Secret?",
    "answer": "V i e w   t h e   c o n t e n t s   o f   t h e   S e c r e t   y o u   c r e a t e d : k u b e c t l   g e t   s e c r e t   d b - u s e r - p a s s   - o   j s o n p a t h = ' { . d a t a } '   T h e   o u t p u t   i s   s i m i l a r   t o : {   \" p a s s w o r d \" :   \" U y F C X C p k J H p E c 2 I 9 \" ,   \" u s e r n a m e \" :   \" Y W R t a W 4 = \"   }   D e c o d e   t h e   p a s s w o r d   d a t a : e c h o   ' U y F C X C p k J H p E c 2 I 9 '   |   b a s e 6 4   - - d e c o d e   T h e   o u t p u t   i s   s i m i l a r   t o : S ! B \\ * d $ z D s b =   C a u t i o n : T h i s   i s   a n   e x a m p l e   f o r   d o c u m e n t a t i o n   p u r p o s e s .   I n   p r a c t i c e ,   t h i s   m e t h o d   c o u l d   c a u s e   t h e   c o m m a n d   w i t h   t h e   e n c o d e d   d a t a   t o   b e   s t o r e d   i n   y o u r   s h e l l   h i s t o r y .   A n y o n e   w i t h   a c c e s s   t o   y o u r   c o m p u t e r   c o u l d   f i n d   t h e   c o m m a n d   a n d   d e c o d e   t h e   s e c r e t .   A   b e t t e r   a p p r o a c h   i s   t o   c o m b i n e   t h e   v i e w   a n d   d e c o d e   c o m m a n d s . k u b e c t l   g e t   s e c r e t   d b - u s e r - p a s s   - o   j s o n p a t h = ' { . d a t a . p a s s w o r d } '   |   b a s e 6 4   - - d e c o d e   V i e w   t h e   c o n t e n t s   o f   t h e   S e c r e t   y o u   c r e a t e d :   k u b e c t l   g e t   s e c r e t   d b - u s e r - p a s s   - o   j s o n p a t h = ' { . d a t a } '   T h e   o u t p u t   i s   s i m i l a r   t o :   {   \" p a s s w o r d \" :   \" U y F C X C p k J H p E c 2 I 9 \" ,   \" u s e r n a m e \" :   \" Y W R t a W 4 = \"   }   D e c o d e   t h e   p a s s w o r d   d a t a :   e c h o   ' U y F C X C p k J H p E c 2 I 9 '   |   b a s e 6 4   - - d e c o d e   T h e   o u t p u t   i s   s i m i l a r   t o :   S ! B \\ * d $ z D s b =",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kubectl/",
    "id": "k8s_00050_section_3_710"
  },
  {
    "question": "What is Caution:?",
    "answer": "k u b e c t l   g e t   s e c r e t   d b - u s e r - p a s s   - o   j s o n p a t h = ' { . d a t a . p a s s w o r d } '   |   b a s e 6 4   - - d e c o d e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kubectl/",
    "id": "k8s_00050_section_4_711"
  },
  {
    "question": "What is Edit a Secret?",
    "answer": "Y o u   c a n   e d i t   a n   e x i s t i n g   S e c r e t   o b j e c t   u n l e s s   i t   i s   i m m u t a b l e .   T o   e d i t   a   S e c r e t ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   e d i t   s e c r e t s   < s e c r e t - n a m e >   T h i s   o p e n s   y o u r   d e f a u l t   e d i t o r   a n d   a l l o w s   y o u   t o   u p d a t e   t h e   b a s e 6 4   e n c o d e d   S e c r e t   v a l u e s   i n   t h e   d a t a   f i e l d ,   s u c h   a s   i n   t h e   f o l l o w i n g   e x a m p l e :   #   P l e a s e   e d i t   t h e   o b j e c t   b e l o w .   L i n e s   b e g i n n i n g   w i t h   a   ' # '   w i l l   b e   i g n o r e d ,   #   a n d   a n   e m p t y   f i l e   w i l l   a b o r t   t h e   e d i t .   I f   a n   e r r o r   o c c u r s   w h i l e   s a v i n g   t h i s   f i l e ,   i t   w i l l   b e   #   r e o p e n e d   w i t h   t h e   r e l e v a n t   f a i l u r e s .   #   a p i V e r s i o n :   v 1   d a t a :   p a s s w o r d :   U y F C X C p k J H p E c 2 I 9   u s e r n a m e :   Y W R t a W 4 =   k i n d :   S e c r e t   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   \" 2 0 2 2 - 0 6 - 2 8 T 1 7 : 4 4 : 1 3 Z \"   n a m e :   d b - u s e r - p a s s   n a m e s p a c e :   d e f a u l t   r e s o u r c e V e r s i o n :   \" 1 2 7 0 8 5 0 4 \"   u i d :   9 1 b e c d 5 9 - 7 8 f a - 4 c 8 5 - 8 2 3 f - 6 d 4 4 4 3 6 2 4 2 a c   t y p e :   O p a q u e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kubectl/",
    "id": "k8s_00050_section_2_712"
  },
  {
    "question": "What is Clean up?",
    "answer": "T o   d e l e t e   a   S e c r e t ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   d e l e t e   s e c r e t   d b - u s e r - p a s s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kubectl/",
    "id": "k8s_00050_section_2_713"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   m o r e   a b o u t   t h e   S e c r e t   c o n c e p t L e a r n   h o w   t o   m a n a g e   S e c r e t s   u s i n g   c o n f i g   f i l e L e a r n   h o w   t o   m a n a g e   S e c r e t s   u s i n g   k u s t o m i z e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kubectl/",
    "id": "k8s_00050_section_2_714"
  },
  {
    "question": "What is Windows in Kubernetes?",
    "answer": "Windows in KubernetesKubernetes supports nodes that run Microsoft Windows.Kubernetes supports worker nodes running either Linux or Microsoft Windows.🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationThe CNCF and its parent the Linux Foundation take a vendor-neutral approach towards compatibility. It is possible to join your Windows server as a worker node to a Kubernetes cluster.You can install and set up kubectl on Windows no matter what operating system you use within your cluster.If you are using Windows nodes, you can read:Networking On WindowsWindows Storage In KubernetesResource Management for Windows NodesConfigure RunAsUserName for Windows Pods and ContainersCreate A Windows HostProcess PodConfigure Group Managed Service Accounts for Windows Pods and ContainersSecurity For Windows NodesWindows Debugging TipsGuide for Scheduling Windows Containers in Kubernetesor, for an overview, read:Windows containers in KubernetesGuide for Running Windows Containers in KubernetesItems on this page refer to third party products or projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for those third-party products or projects. See the CNCF website guidelines for more details.You should read the content guide before proposing a change that adds an extra third-party link.",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/windows/",
    "id": "k8s_00051_qa_715"
  },
  {
    "question": "How does Windows in Kubernetes work?",
    "answer": "Windows in KubernetesKubernetes supports nodes that run Microsoft Windows.Kubernetes supports worker nodes running either Linux or Microsoft Windows.🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationThe CNCF and its parent the Linux Foundation take a vendor-neutral approach towards compatibility. It is possible to join your Windows server as a worker node to a Kubernetes cluster.You can install and set up kubectl on Windows no matter what operating system you use within your cluster.If you are using Windows nodes, you can read:Networking On WindowsWindows Storage In KubernetesResource Management for Windows NodesConfigure RunAsUserName for Windows Pods and ContainersCreate A Windows HostProcess PodConfigure Group Managed Service Accounts for Windows Pods and ContainersSecurity For Windows NodesWindows Debugging TipsGuide for Scheduling Windows Containers in Kubernetesor, for an overview, read:Windows containers in KubernetesGuide for Running Windows Containers in KubernetesItems on this page refer to third party products or projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for those third-party products or projects. See the CNCF website guidelines for more details.You should read the content guide before proposing a change that adds an extra third-party link.",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/windows/",
    "id": "k8s_00051_qa_716"
  },
  {
    "question": "When would you use Windows in Kubernetes?",
    "answer": "Windows in KubernetesKubernetes supports nodes that run Microsoft Windows.Kubernetes supports worker nodes running either Linux or Microsoft Windows.🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationThe CNCF and its parent the Linux Foundation take a vendor-neutral approach towards compatibility. It is possible to join your Windows server as a worker node to a Kubernetes cluster.You can install and set up kubectl on Windows no matter what operating system you use within your cluster.If you are using Windows nodes, you can read:Networking On WindowsWindows Storage In KubernetesResource Management for Windows NodesConfigure RunAsUserName for Windows Pods and ContainersCreate A Windows HostProcess PodConfigure Group Managed Service Accounts for Windows Pods and ContainersSecurity For Windows NodesWindows Debugging TipsGuide for Scheduling Windows Containers in Kubernetesor, for an overview, read:Windows containers in KubernetesGuide for Running Windows Containers in KubernetesItems on this page refer to third party products or projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for those third-party products or projects. See the CNCF website guidelines for more details.You should read the content guide before proposing a change that adds an extra third-party link.",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/windows/",
    "id": "k8s_00051_qa_717"
  },
  {
    "question": "What are the benefits of Windows in Kubernetes?",
    "answer": "Windows in KubernetesKubernetes supports nodes that run Microsoft Windows.Kubernetes supports worker nodes running either Linux or Microsoft Windows.🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationThe CNCF and its parent the Linux Foundation take a vendor-neutral approach towards compatibility. It is possible to join your Windows server as a worker node to a Kubernetes cluster.You can install and set up kubectl on Windows no matter what operating system you use within your cluster.If you are using Windows nodes, you can read:Networking On WindowsWindows Storage In KubernetesResource Management for Windows NodesConfigure RunAsUserName for Windows Pods and ContainersCreate A Windows HostProcess PodConfigure Group Managed Service Accounts for Windows Pods and ContainersSecurity For Windows NodesWindows Debugging TipsGuide for Scheduling Windows Containers in Kubernetesor, for an overview, read:Windows containers in KubernetesGuide for Running Windows Containers in KubernetesItems on this page refer to third party products or projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for those third-party products or projects. See the CNCF website guidelines for more details.You should read the content guide before proposing a change that adds an extra third-party link.",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/windows/",
    "id": "k8s_00051_qa_718"
  },
  {
    "question": "What is Windows in Kubernetes?",
    "answer": "K u b e r n e t e s   s u p p o r t s   w o r k e r   n o d e s   r u n n i n g   e i t h e r   L i n u x   o r   M i c r o s o f t   W i n d o w s .   T h e   C N C F   a n d   i t s   p a r e n t   t h e   L i n u x   F o u n d a t i o n   t a k e   a   v e n d o r - n e u t r a l   a p p r o a c h   t o w a r d s   c o m p a t i b i l i t y .   I t   i s   p o s s i b l e   t o   j o i n   y o u r   W i n d o w s   s e r v e r   a s   a   w o r k e r   n o d e   t o   a   K u b e r n e t e s   c l u s t e r .   Y o u   c a n   i n s t a l l   a n d   s e t   u p   k u b e c t l   o n   W i n d o w s   n o   m a t t e r   w h a t   o p e r a t i n g   s y s t e m   y o u   u s e   w i t h i n   y o u r   c l u s t e r .   I f   y o u   a r e   u s i n g   W i n d o w s   n o d e s ,   y o u   c a n   r e a d :   N e t w o r k i n g   O n   W i n d o w s W i n d o w s   S t o r a g e   I n   K u b e r n e t e s R e s o u r c e   M a n a g e m e n t   f o r   W i n d o w s   N o d e s C o n f i g u r e   R u n A s U s e r N a m e   f o r   W i n d o w s   P o d s   a n d   C o n t a i n e r s C r e a t e   A   W i n d o w s   H o s t P r o c e s s   P o d C o n f i g u r e   G r o u p   M a n a g e d   S e r v i c e   A c c o u n t s   f o r   W i n d o w s   P o d s   a n d   C o n t a i n e r s S e c u r i t y   F o r   W i n d o w s   N o d e s W i n d o w s   D e b u g g i n g   T i p s G u i d e   f o r   S c h e d u l i n g   W i n d o w s   C o n t a i n e r s   i n   K u b e r n e t e s   o r ,   f o r   a n   o v e r v i e w ,   r e a d :   W i n d o w s   c o n t a i n e r s   i n   K u b e r n e t e s G u i d e   f o r   R u n n i n g   W i n d o w s   C o n t a i n e r s   i n   K u b e r n e t e s   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/windows/",
    "id": "k8s_00051_section_1_719"
  },
  {
    "question": "What is Perform a Rolling Update on a DaemonSet?",
    "answer": "Perform a Rolling Update on a DaemonSetThis page shows how to perform a rolling update on a DaemonSet.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesDaemonSet Update StrategyDaemonSet has two update strategy types:OnDelete: With OnDelete update strategy, after you update a DaemonSet template, new DaemonSet pods will only be created when you manually delete old DaemonSet pods. This is the same behavior of DaemonSet in Kubernetes version 1.5 or before.RollingUpdate: This is the default update strategy.With RollingUpdate update strategy, after you update a DaemonSet template, old DaemonSet pods will be killed, and new DaemonSet pods will be created automatically, in a controlled fashion. At most one pod of the DaemonSet will be running on each node during the whole update process.Performing a Rolling UpdateTo enable the rolling update feature of a DaemonSet, you must set its .spec.updateStrategy.type to RollingUpdate.You may want to set .spec.updateStrategy.rollingUpdate.maxUnavailable (default to 1), .spec.minReadySeconds (default to 0) and .spec.updateStrategy.rollingUpdate.maxSurge (defaults to 0) as well.Creating a DaemonSet with RollingUpdate update strategyThis YAML file specifies a DaemonSet with an update strategy as 'RollingUpdate'controllers/fluentd-daemonset.yaml 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 template: metadata: labels: name: fluentd-elasticsearch spec: tolerations: # these tolerations are to have the daemonset runnable on control plane nodes # remove them if your control plane nodes should not run pods - key: node-role.kubernetes.io/control-plane operator: Exists effect: NoSchedule - key: node-role.kubernetes.io/master operator: Exists effect: NoSchedule containers: - name: fluentd-elasticsearch image: quay.io/fluentd_elasticsearch/fluentd:v5.0.1 volumeMounts: - name: varlog mountPath: /var/log - name: varlibdockercontainers mountPath: /var/lib/docker/containers readOnly: true terminationGracePeriodSeconds: 30 volumes: - name: varlog hostPath: path: /var/log - name: varlibdockercontainers hostPath: path: /var/lib/docker/containers After verifying the update strategy of the DaemonSet manifest, create the DaemonSet:kubectl create -f https://k8s.io/examples/controllers/fluentd-daemonset.yaml Alternatively, use kubectl apply to create the same DaemonSet if you plan to update the DaemonSet with kubectl apply.kubectl apply -f https://k8s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/",
    "id": "k8s_00052_qa_720"
  },
  {
    "question": "How does Perform a Rolling Update on a DaemonSet work?",
    "answer": "Perform a Rolling Update on a DaemonSetThis page shows how to perform a rolling update on a DaemonSet.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesDaemonSet Update StrategyDaemonSet has two update strategy types:OnDelete: With OnDelete update strategy, after you update a DaemonSet template, new DaemonSet pods will only be created when you manually delete old DaemonSet pods. This is the same behavior of DaemonSet in Kubernetes version 1.5 or before.RollingUpdate: This is the default update strategy.With RollingUpdate update strategy, after you update a DaemonSet template, old DaemonSet pods will be killed, and new DaemonSet pods will be created automatically, in a controlled fashion. At most one pod of the DaemonSet will be running on each node during the whole update process.Performing a Rolling UpdateTo enable the rolling update feature of a DaemonSet, you must set its .spec.updateStrategy.type to RollingUpdate.You may want to set .spec.updateStrategy.rollingUpdate.maxUnavailable (default to 1), .spec.minReadySeconds (default to 0) and .spec.updateStrategy.rollingUpdate.maxSurge (defaults to 0) as well.Creating a DaemonSet with RollingUpdate update strategyThis YAML file specifies a DaemonSet with an update strategy as 'RollingUpdate'controllers/fluentd-daemonset.yaml 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 template: metadata: labels: name: fluentd-elasticsearch spec: tolerations: # these tolerations are to have the daemonset runnable on control plane nodes # remove them if your control plane nodes should not run pods - key: node-role.kubernetes.io/control-plane operator: Exists effect: NoSchedule - key: node-role.kubernetes.io/master operator: Exists effect: NoSchedule containers: - name: fluentd-elasticsearch image: quay.io/fluentd_elasticsearch/fluentd:v5.0.1 volumeMounts: - name: varlog mountPath: /var/log - name: varlibdockercontainers mountPath: /var/lib/docker/containers readOnly: true terminationGracePeriodSeconds: 30 volumes: - name: varlog hostPath: path: /var/log - name: varlibdockercontainers hostPath: path: /var/lib/docker/containers After verifying the update strategy of the DaemonSet manifest, create the DaemonSet:kubectl create -f https://k8s.io/examples/controllers/fluentd-daemonset.yaml Alternatively, use kubectl apply to create the same DaemonSet if you plan to update the DaemonSet with kubectl apply.kubectl apply -f https://k8s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/",
    "id": "k8s_00052_qa_721"
  },
  {
    "question": "When would you use Perform a Rolling Update on a DaemonSet?",
    "answer": "Perform a Rolling Update on a DaemonSetThis page shows how to perform a rolling update on a DaemonSet.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesDaemonSet Update StrategyDaemonSet has two update strategy types:OnDelete: With OnDelete update strategy, after you update a DaemonSet template, new DaemonSet pods will only be created when you manually delete old DaemonSet pods. This is the same behavior of DaemonSet in Kubernetes version 1.5 or before.RollingUpdate: This is the default update strategy.With RollingUpdate update strategy, after you update a DaemonSet template, old DaemonSet pods will be killed, and new DaemonSet pods will be created automatically, in a controlled fashion. At most one pod of the DaemonSet will be running on each node during the whole update process.Performing a Rolling UpdateTo enable the rolling update feature of a DaemonSet, you must set its .spec.updateStrategy.type to RollingUpdate.You may want to set .spec.updateStrategy.rollingUpdate.maxUnavailable (default to 1), .spec.minReadySeconds (default to 0) and .spec.updateStrategy.rollingUpdate.maxSurge (defaults to 0) as well.Creating a DaemonSet with RollingUpdate update strategyThis YAML file specifies a DaemonSet with an update strategy as 'RollingUpdate'controllers/fluentd-daemonset.yaml 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 template: metadata: labels: name: fluentd-elasticsearch spec: tolerations: # these tolerations are to have the daemonset runnable on control plane nodes # remove them if your control plane nodes should not run pods - key: node-role.kubernetes.io/control-plane operator: Exists effect: NoSchedule - key: node-role.kubernetes.io/master operator: Exists effect: NoSchedule containers: - name: fluentd-elasticsearch image: quay.io/fluentd_elasticsearch/fluentd:v5.0.1 volumeMounts: - name: varlog mountPath: /var/log - name: varlibdockercontainers mountPath: /var/lib/docker/containers readOnly: true terminationGracePeriodSeconds: 30 volumes: - name: varlog hostPath: path: /var/log - name: varlibdockercontainers hostPath: path: /var/lib/docker/containers After verifying the update strategy of the DaemonSet manifest, create the DaemonSet:kubectl create -f https://k8s.io/examples/controllers/fluentd-daemonset.yaml Alternatively, use kubectl apply to create the same DaemonSet if you plan to update the DaemonSet with kubectl apply.kubectl apply -f https://k8s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/",
    "id": "k8s_00052_qa_722"
  },
  {
    "question": "What are the benefits of Perform a Rolling Update on a DaemonSet?",
    "answer": "Perform a Rolling Update on a DaemonSetThis page shows how to perform a rolling update on a DaemonSet.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesDaemonSet Update StrategyDaemonSet has two update strategy types:OnDelete: With OnDelete update strategy, after you update a DaemonSet template, new DaemonSet pods will only be created when you manually delete old DaemonSet pods. This is the same behavior of DaemonSet in Kubernetes version 1.5 or before.RollingUpdate: This is the default update strategy.With RollingUpdate update strategy, after you update a DaemonSet template, old DaemonSet pods will be killed, and new DaemonSet pods will be created automatically, in a controlled fashion. At most one pod of the DaemonSet will be running on each node during the whole update process.Performing a Rolling UpdateTo enable the rolling update feature of a DaemonSet, you must set its .spec.updateStrategy.type to RollingUpdate.You may want to set .spec.updateStrategy.rollingUpdate.maxUnavailable (default to 1), .spec.minReadySeconds (default to 0) and .spec.updateStrategy.rollingUpdate.maxSurge (defaults to 0) as well.Creating a DaemonSet with RollingUpdate update strategyThis YAML file specifies a DaemonSet with an update strategy as 'RollingUpdate'controllers/fluentd-daemonset.yaml 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 template: metadata: labels: name: fluentd-elasticsearch spec: tolerations: # these tolerations are to have the daemonset runnable on control plane nodes # remove them if your control plane nodes should not run pods - key: node-role.kubernetes.io/control-plane operator: Exists effect: NoSchedule - key: node-role.kubernetes.io/master operator: Exists effect: NoSchedule containers: - name: fluentd-elasticsearch image: quay.io/fluentd_elasticsearch/fluentd:v5.0.1 volumeMounts: - name: varlog mountPath: /var/log - name: varlibdockercontainers mountPath: /var/lib/docker/containers readOnly: true terminationGracePeriodSeconds: 30 volumes: - name: varlog hostPath: path: /var/log - name: varlibdockercontainers hostPath: path: /var/lib/docker/containers After verifying the update strategy of the DaemonSet manifest, create the DaemonSet:kubectl create -f https://k8s.io/examples/controllers/fluentd-daemonset.yaml Alternatively, use kubectl apply to create the same DaemonSet if you plan to update the DaemonSet with kubectl apply.kubectl apply -f https://k8s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/",
    "id": "k8s_00052_qa_723"
  },
  {
    "question": "What is Perform a Rolling Update on a DaemonSet?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   p e r f o r m   a   r o l l i n g   u p d a t e   o n   a   D a e m o n S e t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/",
    "id": "k8s_00052_section_1_724"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/",
    "id": "k8s_00052_section_2_725"
  },
  {
    "question": "What is DaemonSet Update Strategy?",
    "answer": "D a e m o n S e t   h a s   t w o   u p d a t e   s t r a t e g y   t y p e s :   O n D e l e t e :   W i t h   O n D e l e t e   u p d a t e   s t r a t e g y ,   a f t e r   y o u   u p d a t e   a   D a e m o n S e t   t e m p l a t e ,   n e w   D a e m o n S e t   p o d s   w i l l   o n l y   b e   c r e a t e d   w h e n   y o u   m a n u a l l y   d e l e t e   o l d   D a e m o n S e t   p o d s .   T h i s   i s   t h e   s a m e   b e h a v i o r   o f   D a e m o n S e t   i n   K u b e r n e t e s   v e r s i o n   1 . 5   o r   b e f o r e . R o l l i n g U p d a t e :   T h i s   i s   t h e   d e f a u l t   u p d a t e   s t r a t e g y . W i t h   R o l l i n g U p d a t e   u p d a t e   s t r a t e g y ,   a f t e r   y o u   u p d a t e   a   D a e m o n S e t   t e m p l a t e ,   o l d   D a e m o n S e t   p o d s   w i l l   b e   k i l l e d ,   a n d   n e w   D a e m o n S e t   p o d s   w i l l   b e   c r e a t e d   a u t o m a t i c a l l y ,   i n   a   c o n t r o l l e d   f a s h i o n .   A t   m o s t   o n e   p o d   o f   t h e   D a e m o n S e t   w i l l   b e   r u n n i n g   o n   e a c h   n o d e   d u r i n g   t h e   w h o l e   u p d a t e   p r o c e s s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/",
    "id": "k8s_00052_section_2_726"
  },
  {
    "question": "What is Performing a Rolling Update?",
    "answer": "T o   e n a b l e   t h e   r o l l i n g   u p d a t e   f e a t u r e   o f   a   D a e m o n S e t ,   y o u   m u s t   s e t   i t s   . s p e c . u p d a t e S t r a t e g y . t y p e   t o   R o l l i n g U p d a t e .   Y o u   m a y   w a n t   t o   s e t   . s p e c . u p d a t e S t r a t e g y . r o l l i n g U p d a t e . m a x U n a v a i l a b l e   ( d e f a u l t   t o   1 ) ,   . s p e c . m i n R e a d y S e c o n d s   ( d e f a u l t   t o   0 )   a n d   . s p e c . u p d a t e S t r a t e g y . r o l l i n g U p d a t e . m a x S u r g e   ( d e f a u l t s   t o   0 )   a s   w e l l .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/",
    "id": "k8s_00052_section_2_727"
  },
  {
    "question": "What is Creating a DaemonSet with RollingUpdate update strategy?",
    "answer": "T h i s   Y A M L   f i l e   s p e c i f i e s   a   D a e m o n S e t   w i t h   a n   u p d a t e   s t r a t e g y   a s   ' R o l l i n g U p d a t e '   a p i V e r s i o n :   a p p s / v 1   k i n d :   D a e m o n S e t   m e t a d a t a :   n a m e :   f l u e n t d - e l a s t i c s e a r c h   n a m e s p a c e :   k u b e - s y s t e m   l a b e l s :   k 8 s - a p p :   f l u e n t d - l o g g i n g   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   n a m e :   f l u e n t d - e l a s t i c s e a r c h   u p d a t e S t r a t e g y :   t y p e :   R o l l i n g U p d a t e   r o l l i n g U p d a t e :   m a x U n a v a i l a b l e :   1   t e m p l a t e :   m e t a d a t a :   l a b e l s :   n a m e :   f l u e n t d - e l a s t i c s e a r c h   s p e c :   t o l e r a t i o n s :   #   t h e s e   t o l e r a t i o n s   a r e   t o   h a v e   t h e   d a e m o n s e t   r u n n a b l e   o n   c o n t r o l   p l a n e   n o d e s   #   r e m o v e   t h e m   i f   y o u r   c o n t r o l   p l a n e   n o d e s   s h o u l d   n o t   r u n   p o d s   -   k e y :   n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e   o p e r a t o r :   E x i s t s   e f f e c t :   N o S c h e d u l e   -   k e y :   n o d e - r o l e . k u b e r n e t e s . i o / m a s t e r   o p e r a t o r :   E x i s t s   e f f e c t :   N o S c h e d u l e   c o n t a i n e r s :   -   n a m e :   f l u e n t d - e l a s t i c s e a r c h   i m a g e :   q u a y . i o / f l u e n t d _ e l a s t i c s e a r c h / f l u e n t d : v 5 . 0 . 1   v o l u m e M o u n t s :   -   n a m e :   v a r l o g   m o u n t P a t h :   / v a r / l o g   -   n a m e :   v a r l i b d o c k e r c o n t a i n e r s   m o u n t P a t h :   / v a r / l i b / d o c k e r / c o n t a i n e r s   r e a d O n l y :   t r u e   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s :   3 0   v o l u m e s :   -   n a m e :   v a r l o g   h o s t P a t h : ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/",
    "id": "k8s_00052_section_3_728"
  },
  {
    "question": "What is Checking DaemonSet RollingUpdate update strategy?",
    "answer": "C h e c k   t h e   u p d a t e   s t r a t e g y   o f   y o u r   D a e m o n S e t ,   a n d   m a k e   s u r e   i t ' s   s e t   t o   R o l l i n g U p d a t e :   k u b e c t l   g e t   d s / f l u e n t d - e l a s t i c s e a r c h   - o   g o - t e m p l a t e = ' { { . s p e c . u p d a t e S t r a t e g y . t y p e } } { { \" \\ n \" } } '   - n   k u b e - s y s t e m   I f   y o u   h a v e n ' t   c r e a t e d   t h e   D a e m o n S e t   i n   t h e   s y s t e m ,   c h e c k   y o u r   D a e m o n S e t   m a n i f e s t   w i t h   t h e   f o l l o w i n g   c o m m a n d   i n s t e a d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / c o n t r o l l e r s / f l u e n t d - d a e m o n s e t . y a m l   - - d r y - r u n = c l i e n t   - o   g o - t e m p l a t e = ' { { . s p e c . u p d a t e S t r a t e g y . t y p e } } { { \" \\ n \" } } '   T h e   o u t p u t   f r o m   b o t h   c o m m a n d s   s h o u l d   b e :   R o l l i n g U p d a t e   I f   t h e   o u t p u t   i s n ' t   R o l l i n g U p d a t e ,   g o   b a c k   a n d   m o d i f y   t h e   D a e m o n S e t   o b j e c t   o r   m a n i f e s t   a c c o r d i n g l y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/",
    "id": "k8s_00052_section_3_729"
  },
  {
    "question": "What is Updating a DaemonSet template?",
    "answer": "A n y   u p d a t e s   t o   a   R o l l i n g U p d a t e   D a e m o n S e t   . s p e c . t e m p l a t e   w i l l   t r i g g e r   a   r o l l i n g   u p d a t e .   L e t ' s   u p d a t e   t h e   D a e m o n S e t   b y   a p p l y i n g   a   n e w   Y A M L   f i l e .   T h i s   c a n   b e   d o n e   w i t h   s e v e r a l   d i f f e r e n t   k u b e c t l   c o m m a n d s .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D a e m o n S e t   m e t a d a t a :   n a m e :   f l u e n t d - e l a s t i c s e a r c h   n a m e s p a c e :   k u b e - s y s t e m   l a b e l s :   k 8 s - a p p :   f l u e n t d - l o g g i n g   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   n a m e :   f l u e n t d - e l a s t i c s e a r c h   u p d a t e S t r a t e g y :   t y p e :   R o l l i n g U p d a t e   r o l l i n g U p d a t e :   m a x U n a v a i l a b l e :   1   t e m p l a t e :   m e t a d a t a :   l a b e l s :   n a m e :   f l u e n t d - e l a s t i c s e a r c h   s p e c :   t o l e r a t i o n s :   #   t h e s e   t o l e r a t i o n s   a r e   t o   h a v e   t h e   d a e m o n s e t   r u n n a b l e   o n   c o n t r o l   p l a n e   n o d e s   #   r e m o v e   t h e m   i f   y o u r   c o n t r o l   p l a n e   n o d e s   s h o u l d   n o t   r u n   p o d s   -   k e y :   n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e   o p e r a t o r :   E x i s t s   e f f e c t :   N o S c h e d u l e   -   k e y :   n o d e - r o l e . k u b e r n e t e s . i o / m a s t e r   o p e r a t o r :   E x i s t s   e f f e c t :   N o S c h e d u l e   c o n t a i n e r s :   -   n a m e :   f l u e n t d - e l a s t i c s e a r c h   i m a g e :   q u a y . i o / f l u e n t d _ e l a s t i c s e a r c h / f l u e n t d : v 5 . 0 . 1   r e s o u r c e s :   l i m i t s :   m e m o r y :   2 0 0 M i   r e q u e s t s :   c p u :   1 0 0 m   m e m o r y :   2 0 0 M i   v o l u m e M o u n t s ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/",
    "id": "k8s_00052_section_3_730"
  },
  {
    "question": "What is Declarative commands?",
    "answer": "I f   y o u   u p d a t e   D a e m o n S e t s   u s i n g   c o n f i g u r a t i o n   f i l e s ,   u s e   k u b e c t l   a p p l y :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / c o n t r o l l e r s / f l u e n t d - d a e m o n s e t - u p d a t e . y a m l",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/",
    "id": "k8s_00052_section_4_731"
  },
  {
    "question": "What is Imperative commands?",
    "answer": "I f   y o u   u p d a t e   D a e m o n S e t s   u s i n g   i m p e r a t i v e   c o m m a n d s ,   u s e   k u b e c t l   e d i t   :   k u b e c t l   e d i t   d s / f l u e n t d - e l a s t i c s e a r c h   - n   k u b e - s y s t e m",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/",
    "id": "k8s_00052_section_4_732"
  },
  {
    "question": "What is Updating only the container image?",
    "answer": "I f   y o u   o n l y   n e e d   t o   u p d a t e   t h e   c o n t a i n e r   i m a g e   i n   t h e   D a e m o n S e t   t e m p l a t e ,   i . e .   . s p e c . t e m p l a t e . s p e c . c o n t a i n e r s [ * ] . i m a g e ,   u s e   k u b e c t l   s e t   i m a g e :   k u b e c t l   s e t   i m a g e   d s / f l u e n t d - e l a s t i c s e a r c h   f l u e n t d - e l a s t i c s e a r c h = q u a y . i o / f l u e n t d _ e l a s t i c s e a r c h / f l u e n t d : v 2 . 6 . 0   - n   k u b e - s y s t e m",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/",
    "id": "k8s_00052_section_5_733"
  },
  {
    "question": "What is Watching the rolling update status?",
    "answer": "F i n a l l y ,   w a t c h   t h e   r o l l o u t   s t a t u s   o f   t h e   l a t e s t   D a e m o n S e t   r o l l i n g   u p d a t e :   k u b e c t l   r o l l o u t   s t a t u s   d s / f l u e n t d - e l a s t i c s e a r c h   - n   k u b e - s y s t e m   W h e n   t h e   r o l l o u t   i s   c o m p l e t e ,   t h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   d a e m o n s e t   \" f l u e n t d - e l a s t i c s e a r c h \"   s u c c e s s f u l l y   r o l l e d   o u t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/",
    "id": "k8s_00052_section_3_734"
  },
  {
    "question": "What is DaemonSet rolling update is stuck?",
    "answer": "S o m e t i m e s ,   a   D a e m o n S e t   r o l l i n g   u p d a t e   m a y   b e   s t u c k .   H e r e   a r e   s o m e   p o s s i b l e   c a u s e s :",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/",
    "id": "k8s_00052_section_3_735"
  },
  {
    "question": "What is Some nodes run out of resources?",
    "answer": "T h e   r o l l o u t   i s   s t u c k   b e c a u s e   n e w   D a e m o n S e t   p o d s   c a n ' t   b e   s c h e d u l e d   o n   a t   l e a s t   o n e   n o d e .   T h i s   i s   p o s s i b l e   w h e n   t h e   n o d e   i s   r u n n i n g   o u t   o f   r e s o u r c e s .   W h e n   t h i s   h a p p e n s ,   f i n d   t h e   n o d e s   t h a t   d o n ' t   h a v e   t h e   D a e m o n S e t   p o d s   s c h e d u l e d   o n   b y   c o m p a r i n g   t h e   o u t p u t   o f   k u b e c t l   g e t   n o d e s   a n d   t h e   o u t p u t   o f :   k u b e c t l   g e t   p o d s   - l   n a m e = f l u e n t d - e l a s t i c s e a r c h   - o   w i d e   - n   k u b e - s y s t e m   O n c e   y o u ' v e   f o u n d   t h o s e   n o d e s ,   d e l e t e   s o m e   n o n - D a e m o n S e t   p o d s   f r o m   t h e   n o d e   t o   m a k e   r o o m   f o r   n e w   D a e m o n S e t   p o d s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/",
    "id": "k8s_00052_section_4_736"
  },
  {
    "question": "What is Broken rollout?",
    "answer": "I f   t h e   r e c e n t   D a e m o n S e t   t e m p l a t e   u p d a t e   i s   b r o k e n ,   f o r   e x a m p l e ,   t h e   c o n t a i n e r   i s   c r a s h   l o o p i n g ,   o r   t h e   c o n t a i n e r   i m a g e   d o e s n ' t   e x i s t   ( o f t e n   d u e   t o   a   t y p o ) ,   D a e m o n S e t   r o l l o u t   w o n ' t   p r o g r e s s .   T o   f i x   t h i s ,   u p d a t e   t h e   D a e m o n S e t   t e m p l a t e   a g a i n .   N e w   r o l l o u t   w o n ' t   b e   b l o c k e d   b y   p r e v i o u s   u n h e a l t h y   r o l l o u t s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/",
    "id": "k8s_00052_section_4_737"
  },
  {
    "question": "What is Clock skew?",
    "answer": "I f   . s p e c . m i n R e a d y S e c o n d s   i s   s p e c i f i e d   i n   t h e   D a e m o n S e t ,   c l o c k   s k e w   b e t w e e n   m a s t e r   a n d   n o d e s   w i l l   m a k e   D a e m o n S e t   u n a b l e   t o   d e t e c t   t h e   r i g h t   r o l l o u t   p r o g r e s s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/",
    "id": "k8s_00052_section_4_738"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   D a e m o n S e t   f r o m   a   n a m e s p a c e   :   k u b e c t l   d e l e t e   d s   f l u e n t d - e l a s t i c s e a r c h   - n   k u b e - s y s t e m",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/",
    "id": "k8s_00052_section_2_739"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   P e r f o r m i n g   a   r o l l b a c k   o n   a   D a e m o n S e t S e e   C r e a t i n g   a   D a e m o n S e t   t o   a d o p t   e x i s t i n g   D a e m o n S e t   p o d s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/",
    "id": "k8s_00052_section_2_740"
  },
  {
    "question": "What is Common Parameters?",
    "answer": "Common ParametersallowWatchBookmarksallowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.continueThe continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-parameters/common-parameters/",
    "id": "k8s_00053_qa_741"
  },
  {
    "question": "How does Common Parameters work?",
    "answer": "Common ParametersallowWatchBookmarksallowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.continueThe continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-parameters/common-parameters/",
    "id": "k8s_00053_qa_742"
  },
  {
    "question": "When would you use Common Parameters?",
    "answer": "Common ParametersallowWatchBookmarksallowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.continueThe continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-parameters/common-parameters/",
    "id": "k8s_00053_qa_743"
  },
  {
    "question": "What are the benefits of Common Parameters?",
    "answer": "Common ParametersallowWatchBookmarksallowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.continueThe continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-parameters/common-parameters/",
    "id": "k8s_00053_qa_744"
  },
  {
    "question": "What is allowWatchBookmarks?",
    "answer": "a l l o w W a t c h B o o k m a r k s   r e q u e s t s   w a t c h   e v e n t s   w i t h   t y p e   \" B O O K M A R K \" .   S e r v e r s   t h a t   d o   n o t   i m p l e m e n t   b o o k m a r k s   m a y   i g n o r e   t h i s   f l a g   a n d   b o o k m a r k s   a r e   s e n t   a t   t h e   s e r v e r ' s   d i s c r e t i o n .   C l i e n t s   s h o u l d   n o t   a s s u m e   b o o k m a r k s   a r e   r e t u r n e d   a t   a n y   s p e c i f i c   i n t e r v a l ,   n o r   m a y   t h e y   a s s u m e   t h e   s e r v e r   w i l l   s e n d   a n y   B O O K M A R K   e v e n t   d u r i n g   a   s e s s i o n .   I f   t h i s   i s   n o t   a   w a t c h ,   t h i s   f i e l d   i s   i g n o r e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-parameters/common-parameters/",
    "id": "k8s_00053_section_2_745"
  },
  {
    "question": "What is continue?",
    "answer": "T h e   c o n t i n u e   o p t i o n   s h o u l d   b e   s e t   w h e n   r e t r i e v i n g   m o r e   r e s u l t s   f r o m   t h e   s e r v e r .   S i n c e   t h i s   v a l u e   i s   s e r v e r   d e f i n e d ,   c l i e n t s   m a y   o n l y   u s e   t h e   c o n t i n u e   v a l u e   f r o m   a   p r e v i o u s   q u e r y   r e s u l t   w i t h   i d e n t i c a l   q u e r y   p a r a m e t e r s   ( e x c e p t   f o r   t h e   v a l u e   o f   c o n t i n u e )   a n d   t h e   s e r v e r   m a y   r e j e c t   a   c o n t i n u e   v a l u e   i t   d o e s   n o t   r e c o g n i z e .   I f   t h e   s p e c i f i e d   c o n t i n u e   v a l u e   i s   n o   l o n g e r   v a l i d   w h e t h e r   d u e   t o   e x p i r a t i o n   ( g e n e r a l l y   f i v e   t o   f i f t e e n   m i n u t e s )   o r   a   c o n f i g u r a t i o n   c h a n g e   o n   t h e   s e r v e r ,   t h e   s e r v e r   w i l l   r e s p o n d   w i t h   a   4 1 0   R e s o u r c e E x p i r e d   e r r o r   t o g e t h e r   w i t h   a   c o n t i n u e   t o k e n .   I f   t h e   c l i e n t   n e e d s   a   c o n s i s t e n t   l i s t ,   i t   m u s t   r e s t a r t   t h e i r   l i s t   w i t h o u t   t h e   c o n t i n u e   f i e l d .   O t h e r w i s e ,   t h e   c l i e n t   m a y   s e n d   a n o t h e r   l i s t   r e q u e s t   w i t h   t h e   t o k e n   r e c e i v e d   w i t h   t h e   4 1 0   e r r o r ,   t h e   s e r v e r   w i l l   r e s p o n d   w i t h   a   l i s t   s t a r t i n g   f r o m   t h e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-parameters/common-parameters/",
    "id": "k8s_00053_section_2_746"
  },
  {
    "question": "What is dryRun?",
    "answer": "W h e n   p r e s e n t ,   i n d i c a t e s   t h a t   m o d i f i c a t i o n s   s h o u l d   n o t   b e   p e r s i s t e d .   A n   i n v a l i d   o r   u n r e c o g n i z e d   d r y R u n   d i r e c t i v e   w i l l   r e s u l t   i n   a n   e r r o r   r e s p o n s e   a n d   n o   f u r t h e r   p r o c e s s i n g   o f   t h e   r e q u e s t .   V a l i d   v a l u e s   a r e :   -   A l l :   a l l   d r y   r u n   s t a g e s   w i l l   b e   p r o c e s s e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-parameters/common-parameters/",
    "id": "k8s_00053_section_2_747"
  },
  {
    "question": "What is fieldManager?",
    "answer": "f i e l d M a n a g e r   i s   a   n a m e   a s s o c i a t e d   w i t h   t h e   a c t o r   o r   e n t i t y   t h a t   i s   m a k i n g   t h e s e   c h a n g e s .   T h e   v a l u e   m u s t   b e   l e s s   t h a n   o r   1 2 8   c h a r a c t e r s   l o n g ,   a n d   o n l y   c o n t a i n   p r i n t a b l e   c h a r a c t e r s ,   a s   d e f i n e d   b y   h t t p s : / / g o l a n g . o r g / p k g / u n i c o d e / # I s P r i n t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-parameters/common-parameters/",
    "id": "k8s_00053_section_2_748"
  },
  {
    "question": "What is fieldSelector?",
    "answer": "A   s e l e c t o r   t o   r e s t r i c t   t h e   l i s t   o f   r e t u r n e d   o b j e c t s   b y   t h e i r   f i e l d s .   D e f a u l t s   t o   e v e r y t h i n g .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-parameters/common-parameters/",
    "id": "k8s_00053_section_2_749"
  },
  {
    "question": "What is fieldValidation?",
    "answer": "f i e l d V a l i d a t i o n   i n s t r u c t s   t h e   s e r v e r   o n   h o w   t o   h a n d l e   o b j e c t s   i n   t h e   r e q u e s t   ( P O S T / P U T / P A T C H )   c o n t a i n i n g   u n k n o w n   o r   d u p l i c a t e   f i e l d s .   V a l i d   v a l u e s   a r e :   -   I g n o r e :   T h i s   w i l l   i g n o r e   a n y   u n k n o w n   f i e l d s   t h a t   a r e   s i l e n t l y   d r o p p e d   f r o m   t h e   o b j e c t ,   a n d   w i l l   i g n o r e   a l l   b u t   t h e   l a s t   d u p l i c a t e   f i e l d   t h a t   t h e   d e c o d e r   e n c o u n t e r s .   T h i s   i s   t h e   d e f a u l t   b e h a v i o r   p r i o r   t o   v 1 . 2 3 .   -   W a r n :   T h i s   w i l l   s e n d   a   w a r n i n g   v i a   t h e   s t a n d a r d   w a r n i n g   r e s p o n s e   h e a d e r   f o r   e a c h   u n k n o w n   f i e l d   t h a t   i s   d r o p p e d   f r o m   t h e   o b j e c t ,   a n d   f o r   e a c h   d u p l i c a t e   f i e l d   t h a t   i s   e n c o u n t e r e d .   T h e   r e q u e s t   w i l l   s t i l l   s u c c e e d   i f   t h e r e   a r e   n o   o t h e r   e r r o r s ,   a n d   w i l l   o n l y   p e r s i s t   t h e   l a s t   o f   a n y   d u p l i c a t e   f i e l d s .   T h i s   i s   t h e   d e f a u l t   i n   v 1 . 2 3 +   -   S t r i c t :   T h i s   w i l l   f a i l   t h e   r e q u e s t   w i t h   a   B a d R e q u e s t   e r r o r   i f   a n y   u n k n o w n   f i e l d s   w o u l d   b e   d r o p p e d   f r o m   t h e   o b j e c t ,   o r   i f   a n y   d u p l i c a t e   f i e l d s   a r e   p r e s e n t .   T h e   e r r o r   r e t u r n e d   f r o m   t h e   s e r v e r   w i l l   c o n t a i n   a l l   u n k n o w n   a n d   d u p l i c a t e   f i e l d s   e n c o u n t e r e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-parameters/common-parameters/",
    "id": "k8s_00053_section_2_750"
  },
  {
    "question": "What is force?",
    "answer": "F o r c e   i s   g o i n g   t o   \" f o r c e \"   A p p l y   r e q u e s t s .   I t   m e a n s   u s e r   w i l l   r e - a c q u i r e   c o n f l i c t i n g   f i e l d s   o w n e d   b y   o t h e r   p e o p l e .   F o r c e   f l a g   m u s t   b e   u n s e t   f o r   n o n - a p p l y   p a t c h   r e q u e s t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-parameters/common-parameters/",
    "id": "k8s_00053_section_2_751"
  },
  {
    "question": "What is gracePeriodSeconds?",
    "answer": "T h e   d u r a t i o n   i n   s e c o n d s   b e f o r e   t h e   o b j e c t   s h o u l d   b e   d e l e t e d .   V a l u e   m u s t   b e   n o n - n e g a t i v e   i n t e g e r .   T h e   v a l u e   z e r o   i n d i c a t e s   d e l e t e   i m m e d i a t e l y .   I f   t h i s   v a l u e   i s   n i l ,   t h e   d e f a u l t   g r a c e   p e r i o d   f o r   t h e   s p e c i f i e d   t y p e   w i l l   b e   u s e d .   D e f a u l t s   t o   a   p e r   o b j e c t   v a l u e   i f   n o t   s p e c i f i e d .   z e r o   m e a n s   d e l e t e   i m m e d i a t e l y .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-parameters/common-parameters/",
    "id": "k8s_00053_section_2_752"
  },
  {
    "question": "What is ignoreStoreReadErrorWithClusterBreakingPotential?",
    "answer": "i f   s e t   t o   t r u e ,   i t   w i l l   t r i g g e r   a n   u n s a f e   d e l e t i o n   o f   t h e   r e s o u r c e   i n   c a s e   t h e   n o r m a l   d e l e t i o n   f l o w   f a i l s   w i t h   a   c o r r u p t   o b j e c t   e r r o r .   A   r e s o u r c e   i s   c o n s i d e r e d   c o r r u p t   i f   i t   c a n   n o t   b e   r e t r i e v e d   f r o m   t h e   u n d e r l y i n g   s t o r a g e   s u c c e s s f u l l y   b e c a u s e   o f   a )   i t s   d a t a   c a n   n o t   b e   t r a n s f o r m e d   e . g .   d e c r y p t i o n   f a i l u r e ,   o r   b )   i t   f a i l s   t o   d e c o d e   i n t o   a n   o b j e c t .   N O T E :   u n s a f e   d e l e t i o n   i g n o r e s   f i n a l i z e r   c o n s t r a i n t s ,   s k i p s   p r e c o n d i t i o n   c h e c k s ,   a n d   r e m o v e s   t h e   o b j e c t   f r o m   t h e   s t o r a g e .   W A R N I N G :   T h i s   m a y   p o t e n t i a l l y   b r e a k   t h e   c l u s t e r   i f   t h e   w o r k l o a d   a s s o c i a t e d   w i t h   t h e   r e s o u r c e   b e i n g   u n s a f e - d e l e t e d   r e l i e s   o n   n o r m a l   d e l e t i o n   f l o w .   U s e   o n l y   i f   y o u   R E A L L Y   k n o w   w h a t   y o u   a r e   d o i n g .   T h e   d e f a u l t   v a l u e   i s   f a l s e ,   a n d   t h e   u s e r   m u s t   o p t   i n   t o   e n a b l e   i t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-parameters/common-parameters/",
    "id": "k8s_00053_section_2_753"
  },
  {
    "question": "What is labelSelector?",
    "answer": "A   s e l e c t o r   t o   r e s t r i c t   t h e   l i s t   o f   r e t u r n e d   o b j e c t s   b y   t h e i r   l a b e l s .   D e f a u l t s   t o   e v e r y t h i n g .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-parameters/common-parameters/",
    "id": "k8s_00053_section_2_754"
  },
  {
    "question": "What is limit?",
    "answer": "l i m i t   i s   a   m a x i m u m   n u m b e r   o f   r e s p o n s e s   t o   r e t u r n   f o r   a   l i s t   c a l l .   I f   m o r e   i t e m s   e x i s t ,   t h e   s e r v e r   w i l l   s e t   t h e   c o n t i n u e   f i e l d   o n   t h e   l i s t   m e t a d a t a   t o   a   v a l u e   t h a t   c a n   b e   u s e d   w i t h   t h e   s a m e   i n i t i a l   q u e r y   t o   r e t r i e v e   t h e   n e x t   s e t   o f   r e s u l t s .   S e t t i n g   a   l i m i t   m a y   r e t u r n   f e w e r   t h a n   t h e   r e q u e s t e d   a m o u n t   o f   i t e m s   ( u p   t o   z e r o   i t e m s )   i n   t h e   e v e n t   a l l   r e q u e s t e d   o b j e c t s   a r e   f i l t e r e d   o u t   a n d   c l i e n t s   s h o u l d   o n l y   u s e   t h e   p r e s e n c e   o f   t h e   c o n t i n u e   f i e l d   t o   d e t e r m i n e   w h e t h e r   m o r e   r e s u l t s   a r e   a v a i l a b l e .   S e r v e r s   m a y   c h o o s e   n o t   t o   s u p p o r t   t h e   l i m i t   a r g u m e n t   a n d   w i l l   r e t u r n   a l l   o f   t h e   a v a i l a b l e   r e s u l t s .   I f   l i m i t   i s   s p e c i f i e d   a n d   t h e   c o n t i n u e   f i e l d   i s   e m p t y ,   c l i e n t s   m a y   a s s u m e   t h a t   n o   m o r e   r e s u l t s   a r e   a v a i l a b l e .   T h i s   f i e l d   i s   n o t   s u p p o r t e d   i f   w a t c h   i s   t r u e .   T h e   s e r v e r   g u a r a n t e e s   t h a t   t h e   o b j e c t s   r e t u r n e d   w h e n   u s i n g   c o n t i n u e   w i l l   b e   i d e n t i c a l   t o   i s s u i n g   a   s i n g l e   l i s t   c a l l   w i t h o u t   a   l i m i t   -   t h a t   i s ,   n o   o b j e c t s   c r e a t e d ,   m o d i f i e d ,   o r   d e l e t e d   a f t e r   t h e   f i r s t   r e q u e s t   i s   i s s u e d   w i l l   b e   i n c l u d e d   i n   a n y   s u b s e q u e n t   c ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-parameters/common-parameters/",
    "id": "k8s_00053_section_2_755"
  },
  {
    "question": "What is namespace?",
    "answer": "o b j e c t   n a m e   a n d   a u t h   s c o p e ,   s u c h   a s   f o r   t e a m s   a n d   p r o j e c t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-parameters/common-parameters/",
    "id": "k8s_00053_section_2_756"
  },
  {
    "question": "What is pretty?",
    "answer": "I f   ' t r u e ' ,   t h e n   t h e   o u t p u t   i s   p r e t t y   p r i n t e d .   D e f a u l t s   t o   ' f a l s e '   u n l e s s   t h e   u s e r - a g e n t   i n d i c a t e s   a   b r o w s e r   o r   c o m m a n d - l i n e   H T T P   t o o l   ( c u r l   a n d   w g e t ) .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-parameters/common-parameters/",
    "id": "k8s_00053_section_2_757"
  },
  {
    "question": "What is propagationPolicy?",
    "answer": "W h e t h e r   a n d   h o w   g a r b a g e   c o l l e c t i o n   w i l l   b e   p e r f o r m e d .   E i t h e r   t h i s   f i e l d   o r   O r p h a n D e p e n d e n t s   m a y   b e   s e t ,   b u t   n o t   b o t h .   T h e   d e f a u l t   p o l i c y   i s   d e c i d e d   b y   t h e   e x i s t i n g   f i n a l i z e r   s e t   i n   t h e   m e t a d a t a . f i n a l i z e r s   a n d   t h e   r e s o u r c e - s p e c i f i c   d e f a u l t   p o l i c y .   A c c e p t a b l e   v a l u e s   a r e :   ' O r p h a n '   -   o r p h a n   t h e   d e p e n d e n t s ;   ' B a c k g r o u n d '   -   a l l o w   t h e   g a r b a g e   c o l l e c t o r   t o   d e l e t e   t h e   d e p e n d e n t s   i n   t h e   b a c k g r o u n d ;   ' F o r e g r o u n d '   -   a   c a s c a d i n g   p o l i c y   t h a t   d e l e t e s   a l l   d e p e n d e n t s   i n   t h e   f o r e g r o u n d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-parameters/common-parameters/",
    "id": "k8s_00053_section_2_758"
  },
  {
    "question": "What is resourceVersion?",
    "answer": "r e s o u r c e V e r s i o n   s e t s   a   c o n s t r a i n t   o n   w h a t   r e s o u r c e   v e r s i o n s   a   r e q u e s t   m a y   b e   s e r v e d   f r o m .   S e e   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / u s i n g - a p i / a p i - c o n c e p t s / # r e s o u r c e - v e r s i o n s   f o r   d e t a i l s .   D e f a u l t s   t o   u n s e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-parameters/common-parameters/",
    "id": "k8s_00053_section_2_759"
  },
  {
    "question": "What is resourceVersionMatch?",
    "answer": "r e s o u r c e V e r s i o n M a t c h   d e t e r m i n e s   h o w   r e s o u r c e V e r s i o n   i s   a p p l i e d   t o   l i s t   c a l l s .   I t   i s   h i g h l y   r e c o m m e n d e d   t h a t   r e s o u r c e V e r s i o n M a t c h   b e   s e t   f o r   l i s t   c a l l s   w h e r e   r e s o u r c e V e r s i o n   i s   s e t   S e e   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / u s i n g - a p i / a p i - c o n c e p t s / # r e s o u r c e - v e r s i o n s   f o r   d e t a i l s .   D e f a u l t s   t o   u n s e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-parameters/common-parameters/",
    "id": "k8s_00053_section_2_760"
  },
  {
    "question": "What is sendInitialEvents?",
    "answer": "s e n d I n i t i a l E v e n t s = t r u e   m a y   b e   s e t   t o g e t h e r   w i t h   w a t c h = t r u e .   I n   t h a t   c a s e ,   t h e   w a t c h   s t r e a m   w i l l   b e g i n   w i t h   s y n t h e t i c   e v e n t s   t o   p r o d u c e   t h e   c u r r e n t   s t a t e   o f   o b j e c t s   i n   t h e   c o l l e c t i o n .   O n c e   a l l   s u c h   e v e n t s   h a v e   b e e n   s e n t ,   a   s y n t h e t i c   \" B o o k m a r k \"   e v e n t   w i l l   b e   s e n t .   T h e   b o o k m a r k   w i l l   r e p o r t   t h e   R e s o u r c e V e r s i o n   ( R V )   c o r r e s p o n d i n g   t o   t h e   s e t   o f   o b j e c t s ,   a n d   b e   m a r k e d   w i t h   \" k 8 s . i o / i n i t i a l - e v e n t s - e n d \" :   \" t r u e \"   a n n o t a t i o n .   A f t e r w a r d s ,   t h e   w a t c h   s t r e a m   w i l l   p r o c e e d   a s   u s u a l ,   s e n d i n g   w a t c h   e v e n t s   c o r r e s p o n d i n g   t o   c h a n g e s   ( s u b s e q u e n t   t o   t h e   R V )   t o   o b j e c t s   w a t c h e d .   W h e n   s e n d I n i t i a l E v e n t s   o p t i o n   i s   s e t ,   w e   r e q u i r e   r e s o u r c e V e r s i o n M a t c h   o p t i o n   t o   a l s o   b e   s e t .   T h e   s e m a n t i c   o f   t h e   w a t c h   r e q u e s t   i s   a s   f o l l o w i n g :   -   r e s o u r c e V e r s i o n M a t c h   =   N o t O l d e r T h a n   i s   i n t e r p r e t e d   a s   \" d a t a   a t   l e a s t   a s   n e w   a s   t h e   p r o v i d e d   r e s o u r c e V e r s i o n \"   a n d   t h e   b o o k m a r k   e v e n t   i s   s e n d   w h e n   t h e   s t a t e   i s   s y n c e d   t o   a   r e s o u r c e V e r s i o n   a t   l e a s t   a s   f r e s h   a s   t h e   o n e   p r o v i d e d   b y   t h e   L i s t O p t i o n s .   I f   r e s o u r c e V e r s i o n   i s   u n s e t ,   t h i s   i s   i n t e r p r e t e d   a s   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-parameters/common-parameters/",
    "id": "k8s_00053_section_2_761"
  },
  {
    "question": "What is timeoutSeconds?",
    "answer": "T i m e o u t   f o r   t h e   l i s t / w a t c h   c a l l .   T h i s   l i m i t s   t h e   d u r a t i o n   o f   t h e   c a l l ,   r e g a r d l e s s   o f   a n y   a c t i v i t y   o r   i n a c t i v i t y .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-parameters/common-parameters/",
    "id": "k8s_00053_section_2_762"
  },
  {
    "question": "What is watch?",
    "answer": "W a t c h   f o r   c h a n g e s   t o   t h e   d e s c r i b e d   r e s o u r c e s   a n d   r e t u r n   t h e m   a s   a   s t r e a m   o f   a d d ,   u p d a t e ,   a n d   r e m o v e   n o t i f i c a t i o n s .   S p e c i f y   r e s o u r c e V e r s i o n .   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-parameters/common-parameters/",
    "id": "k8s_00053_section_2_763"
  },
  {
    "question": "What is Node metrics data?",
    "answer": "Node metrics dataMechanisms for accessing metrics at node, volume, pod and container level, as seen by the kubelet.The kubelet gathers metric statistics at the node, volume, pod and container level, and emits this information in the Summary API.You can send a proxied request to the stats summary API via the Kubernetes API server.Here is an example of a Summary API request for a node named minikube:kubectl get --raw \"/api/v1/nodes/minikube/proxy/stats/summary\" Here is the same API call using curl:# You need to run \"kubectl proxy\" first # Change 8080 to the port that \"kubectl proxy\" assigns curl http://localhost:8080/api/v1/nodes/minikube/proxy/stats/summary Note:Beginning with metrics-server 0.6.x, metrics-server queries the /metrics/resource kubelet endpoint, and not /stats/summary.Summary metrics API sourceBy default, Kubernetes fetches node summary metrics data using an embedded cAdvisor that runs within the kubelet. If you enable the PodAndContainerStatsFromCRI feature gate in your cluster, and you use a container runtime that supports statistics access via Container Runtime Interface (CRI), then the kubelet fetches Pod- and container-level metric data using CRI, and not via cAdvisor.Pressure Stall Information (PSI)FEATURE STATE: Kubernetes v1.34 [beta]As a beta feature, Kubernetes lets you configure kubelet to collect Linux kernel Pressure Stall Information (PSI) for CPU, memory, and I/O usage. The information is collected at node, pod and container level. See Summary API for detailed schema. This feature is enabled by default, by setting the KubeletPSI feature gate. The information is also exposed in Prometheus metrics.You can learn how to interpret the PSI metrics in Understand PSI Metrics.RequirementsPressure Stall Information requires:Linux kernel versions 4.20 or later.cgroup v2What's nextThe task pages for Troubleshooting Clusters discuss how to use a metrics pipeline that rely on these data.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/node-metrics/",
    "id": "k8s_00054_qa_764"
  },
  {
    "question": "How does Node metrics data work?",
    "answer": "Node metrics dataMechanisms for accessing metrics at node, volume, pod and container level, as seen by the kubelet.The kubelet gathers metric statistics at the node, volume, pod and container level, and emits this information in the Summary API.You can send a proxied request to the stats summary API via the Kubernetes API server.Here is an example of a Summary API request for a node named minikube:kubectl get --raw \"/api/v1/nodes/minikube/proxy/stats/summary\" Here is the same API call using curl:# You need to run \"kubectl proxy\" first # Change 8080 to the port that \"kubectl proxy\" assigns curl http://localhost:8080/api/v1/nodes/minikube/proxy/stats/summary Note:Beginning with metrics-server 0.6.x, metrics-server queries the /metrics/resource kubelet endpoint, and not /stats/summary.Summary metrics API sourceBy default, Kubernetes fetches node summary metrics data using an embedded cAdvisor that runs within the kubelet. If you enable the PodAndContainerStatsFromCRI feature gate in your cluster, and you use a container runtime that supports statistics access via Container Runtime Interface (CRI), then the kubelet fetches Pod- and container-level metric data using CRI, and not via cAdvisor.Pressure Stall Information (PSI)FEATURE STATE: Kubernetes v1.34 [beta]As a beta feature, Kubernetes lets you configure kubelet to collect Linux kernel Pressure Stall Information (PSI) for CPU, memory, and I/O usage. The information is collected at node, pod and container level. See Summary API for detailed schema. This feature is enabled by default, by setting the KubeletPSI feature gate. The information is also exposed in Prometheus metrics.You can learn how to interpret the PSI metrics in Understand PSI Metrics.RequirementsPressure Stall Information requires:Linux kernel versions 4.20 or later.cgroup v2What's nextThe task pages for Troubleshooting Clusters discuss how to use a metrics pipeline that rely on these data.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/node-metrics/",
    "id": "k8s_00054_qa_765"
  },
  {
    "question": "When would you use Node metrics data?",
    "answer": "Node metrics dataMechanisms for accessing metrics at node, volume, pod and container level, as seen by the kubelet.The kubelet gathers metric statistics at the node, volume, pod and container level, and emits this information in the Summary API.You can send a proxied request to the stats summary API via the Kubernetes API server.Here is an example of a Summary API request for a node named minikube:kubectl get --raw \"/api/v1/nodes/minikube/proxy/stats/summary\" Here is the same API call using curl:# You need to run \"kubectl proxy\" first # Change 8080 to the port that \"kubectl proxy\" assigns curl http://localhost:8080/api/v1/nodes/minikube/proxy/stats/summary Note:Beginning with metrics-server 0.6.x, metrics-server queries the /metrics/resource kubelet endpoint, and not /stats/summary.Summary metrics API sourceBy default, Kubernetes fetches node summary metrics data using an embedded cAdvisor that runs within the kubelet. If you enable the PodAndContainerStatsFromCRI feature gate in your cluster, and you use a container runtime that supports statistics access via Container Runtime Interface (CRI), then the kubelet fetches Pod- and container-level metric data using CRI, and not via cAdvisor.Pressure Stall Information (PSI)FEATURE STATE: Kubernetes v1.34 [beta]As a beta feature, Kubernetes lets you configure kubelet to collect Linux kernel Pressure Stall Information (PSI) for CPU, memory, and I/O usage. The information is collected at node, pod and container level. See Summary API for detailed schema. This feature is enabled by default, by setting the KubeletPSI feature gate. The information is also exposed in Prometheus metrics.You can learn how to interpret the PSI metrics in Understand PSI Metrics.RequirementsPressure Stall Information requires:Linux kernel versions 4.20 or later.cgroup v2What's nextThe task pages for Troubleshooting Clusters discuss how to use a metrics pipeline that rely on these data.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/node-metrics/",
    "id": "k8s_00054_qa_766"
  },
  {
    "question": "What are the benefits of Node metrics data?",
    "answer": "Node metrics dataMechanisms for accessing metrics at node, volume, pod and container level, as seen by the kubelet.The kubelet gathers metric statistics at the node, volume, pod and container level, and emits this information in the Summary API.You can send a proxied request to the stats summary API via the Kubernetes API server.Here is an example of a Summary API request for a node named minikube:kubectl get --raw \"/api/v1/nodes/minikube/proxy/stats/summary\" Here is the same API call using curl:# You need to run \"kubectl proxy\" first # Change 8080 to the port that \"kubectl proxy\" assigns curl http://localhost:8080/api/v1/nodes/minikube/proxy/stats/summary Note:Beginning with metrics-server 0.6.x, metrics-server queries the /metrics/resource kubelet endpoint, and not /stats/summary.Summary metrics API sourceBy default, Kubernetes fetches node summary metrics data using an embedded cAdvisor that runs within the kubelet. If you enable the PodAndContainerStatsFromCRI feature gate in your cluster, and you use a container runtime that supports statistics access via Container Runtime Interface (CRI), then the kubelet fetches Pod- and container-level metric data using CRI, and not via cAdvisor.Pressure Stall Information (PSI)FEATURE STATE: Kubernetes v1.34 [beta]As a beta feature, Kubernetes lets you configure kubelet to collect Linux kernel Pressure Stall Information (PSI) for CPU, memory, and I/O usage. The information is collected at node, pod and container level. See Summary API for detailed schema. This feature is enabled by default, by setting the KubeletPSI feature gate. The information is also exposed in Prometheus metrics.You can learn how to interpret the PSI metrics in Understand PSI Metrics.RequirementsPressure Stall Information requires:Linux kernel versions 4.20 or later.cgroup v2What's nextThe task pages for Troubleshooting Clusters discuss how to use a metrics pipeline that rely on these data.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/node-metrics/",
    "id": "k8s_00054_qa_767"
  },
  {
    "question": "What is Node metrics data?",
    "answer": "T h e   k u b e l e t   g a t h e r s   m e t r i c   s t a t i s t i c s   a t   t h e   n o d e ,   v o l u m e ,   p o d   a n d   c o n t a i n e r   l e v e l ,   a n d   e m i t s   t h i s   i n f o r m a t i o n   i n   t h e   S u m m a r y   A P I .   Y o u   c a n   s e n d   a   p r o x i e d   r e q u e s t   t o   t h e   s t a t s   s u m m a r y   A P I   v i a   t h e   K u b e r n e t e s   A P I   s e r v e r .   H e r e   i s   a n   e x a m p l e   o f   a   S u m m a r y   A P I   r e q u e s t   f o r   a   n o d e   n a m e d   m i n i k u b e :   k u b e c t l   g e t   - - r a w   \" / a p i / v 1 / n o d e s / m i n i k u b e / p r o x y / s t a t s / s u m m a r y \"   H e r e   i s   t h e   s a m e   A P I   c a l l   u s i n g   c u r l :   #   Y o u   n e e d   t o   r u n   \" k u b e c t l   p r o x y \"   f i r s t   #   C h a n g e   8 0 8 0   t o   t h e   p o r t   t h a t   \" k u b e c t l   p r o x y \"   a s s i g n s   c u r l   h t t p : / / l o c a l h o s t : 8 0 8 0 / a p i / v 1 / n o d e s / m i n i k u b e / p r o x y / s t a t s / s u m m a r y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/node-metrics/",
    "id": "k8s_00054_section_1_768"
  },
  {
    "question": "What is Summary metrics API source?",
    "answer": "B y   d e f a u l t ,   K u b e r n e t e s   f e t c h e s   n o d e   s u m m a r y   m e t r i c s   d a t a   u s i n g   a n   e m b e d d e d   c A d v i s o r   t h a t   r u n s   w i t h i n   t h e   k u b e l e t .   I f   y o u   e n a b l e   t h e   P o d A n d C o n t a i n e r S t a t s F r o m C R I   f e a t u r e   g a t e   i n   y o u r   c l u s t e r ,   a n d   y o u   u s e   a   c o n t a i n e r   r u n t i m e   t h a t   s u p p o r t s   s t a t i s t i c s   a c c e s s   v i a   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I ) ,   t h e n   t h e   k u b e l e t   f e t c h e s   P o d -   a n d   c o n t a i n e r - l e v e l   m e t r i c   d a t a   u s i n g   C R I ,   a n d   n o t   v i a   c A d v i s o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/node-metrics/",
    "id": "k8s_00054_section_2_769"
  },
  {
    "question": "What is Pressure Stall Information (PSI)?",
    "answer": "A s   a   b e t a   f e a t u r e ,   K u b e r n e t e s   l e t s   y o u   c o n f i g u r e   k u b e l e t   t o   c o l l e c t   L i n u x   k e r n e l   P r e s s u r e   S t a l l   I n f o r m a t i o n   ( P S I )   f o r   C P U ,   m e m o r y ,   a n d   I / O   u s a g e .   T h e   i n f o r m a t i o n   i s   c o l l e c t e d   a t   n o d e ,   p o d   a n d   c o n t a i n e r   l e v e l .   S e e   S u m m a r y   A P I   f o r   d e t a i l e d   s c h e m a .   T h i s   f e a t u r e   i s   e n a b l e d   b y   d e f a u l t ,   b y   s e t t i n g   t h e   K u b e l e t P S I   f e a t u r e   g a t e .   T h e   i n f o r m a t i o n   i s   a l s o   e x p o s e d   i n   P r o m e t h e u s   m e t r i c s .   Y o u   c a n   l e a r n   h o w   t o   i n t e r p r e t   t h e   P S I   m e t r i c s   i n   U n d e r s t a n d   P S I   M e t r i c s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/node-metrics/",
    "id": "k8s_00054_section_2_770"
  },
  {
    "question": "What is Requirements?",
    "answer": "P r e s s u r e   S t a l l   I n f o r m a t i o n   r e q u i r e s :   L i n u x   k e r n e l   v e r s i o n s   4 . 2 0   o r   l a t e r . c g r o u p   v 2",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/node-metrics/",
    "id": "k8s_00054_section_3_771"
  },
  {
    "question": "What is What's next?",
    "answer": "T h e   t a s k   p a g e s   f o r   T r o u b l e s h o o t i n g   C l u s t e r s   d i s c u s s   h o w   t o   u s e   a   m e t r i c s   p i p e l i n e   t h a t   r e l y   o n   t h e s e   d a t a .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/node-metrics/",
    "id": "k8s_00054_section_2_772"
  },
  {
    "question": "What is ValidatingWebhookConfiguration?",
    "answer": "ValidatingWebhookConfigurationValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.apiVersion: admissionregistration.k8s.io/v1import \"k8s.io/api/admissionregistration/v1\"ValidatingWebhookConfigurationValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.apiVersion: admissionregistration.k8s.io/v1kind: ValidatingWebhookConfigurationmetadata (ObjectMeta)Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.webhooks ([]ValidatingWebhook)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergeWebhooks is a list of webhooks and the affected resources and operations.ValidatingWebhook describes an admission webhook and the resources and operations it applies to.webhooks.admissionReviewVersions ([]string), requiredAtomic: will be replaced during a mergeAdmissionReviewVersions is an ordered list of preferred AdmissionReview versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.webhooks.clientConfig (WebhookClientConfig), requiredClientConfig defines how to communicate with the hook. RequiredWebhookClientConfig contains the information to make a TLS connection with the webhookwebhooks.clientConfig.caBundle ([]byte)caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.webhooks.clientConfig.service (ServiceReference)service is a reference to the service for this webhook. Either service or url must be specified.If the webhook is running within the cluster, then you should use service.ServiceReference holds a reference to Service.legacy.k8s.iowebhooks.clientConfig.service.name (string), requiredname is the name of the service. Requiredwebhooks.clientConfig.service.namespace (string), requirednamespace is the namespace of the service. Requiredwebhooks.clientConfig.service.path (string)path is an optional URL path which will be sent in any request to this service.webhooks.clientConfig.service.port (int32)If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. port should be a valid port number (1-65535, inclusive).webhooks.clientConfig.url (string)url gives the location of the webhook, in standard URL form (scheme://host:port/path). Exactly one of url or service must be specified.The host should not refer to a service running in the cluster; use the service field instead. The host might be resol",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_qa_773"
  },
  {
    "question": "How does ValidatingWebhookConfiguration work?",
    "answer": "ValidatingWebhookConfigurationValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.apiVersion: admissionregistration.k8s.io/v1import \"k8s.io/api/admissionregistration/v1\"ValidatingWebhookConfigurationValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.apiVersion: admissionregistration.k8s.io/v1kind: ValidatingWebhookConfigurationmetadata (ObjectMeta)Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.webhooks ([]ValidatingWebhook)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergeWebhooks is a list of webhooks and the affected resources and operations.ValidatingWebhook describes an admission webhook and the resources and operations it applies to.webhooks.admissionReviewVersions ([]string), requiredAtomic: will be replaced during a mergeAdmissionReviewVersions is an ordered list of preferred AdmissionReview versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.webhooks.clientConfig (WebhookClientConfig), requiredClientConfig defines how to communicate with the hook. RequiredWebhookClientConfig contains the information to make a TLS connection with the webhookwebhooks.clientConfig.caBundle ([]byte)caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.webhooks.clientConfig.service (ServiceReference)service is a reference to the service for this webhook. Either service or url must be specified.If the webhook is running within the cluster, then you should use service.ServiceReference holds a reference to Service.legacy.k8s.iowebhooks.clientConfig.service.name (string), requiredname is the name of the service. Requiredwebhooks.clientConfig.service.namespace (string), requirednamespace is the namespace of the service. Requiredwebhooks.clientConfig.service.path (string)path is an optional URL path which will be sent in any request to this service.webhooks.clientConfig.service.port (int32)If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. port should be a valid port number (1-65535, inclusive).webhooks.clientConfig.url (string)url gives the location of the webhook, in standard URL form (scheme://host:port/path). Exactly one of url or service must be specified.The host should not refer to a service running in the cluster; use the service field instead. The host might be resol",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_qa_774"
  },
  {
    "question": "When would you use ValidatingWebhookConfiguration?",
    "answer": "ValidatingWebhookConfigurationValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.apiVersion: admissionregistration.k8s.io/v1import \"k8s.io/api/admissionregistration/v1\"ValidatingWebhookConfigurationValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.apiVersion: admissionregistration.k8s.io/v1kind: ValidatingWebhookConfigurationmetadata (ObjectMeta)Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.webhooks ([]ValidatingWebhook)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergeWebhooks is a list of webhooks and the affected resources and operations.ValidatingWebhook describes an admission webhook and the resources and operations it applies to.webhooks.admissionReviewVersions ([]string), requiredAtomic: will be replaced during a mergeAdmissionReviewVersions is an ordered list of preferred AdmissionReview versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.webhooks.clientConfig (WebhookClientConfig), requiredClientConfig defines how to communicate with the hook. RequiredWebhookClientConfig contains the information to make a TLS connection with the webhookwebhooks.clientConfig.caBundle ([]byte)caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.webhooks.clientConfig.service (ServiceReference)service is a reference to the service for this webhook. Either service or url must be specified.If the webhook is running within the cluster, then you should use service.ServiceReference holds a reference to Service.legacy.k8s.iowebhooks.clientConfig.service.name (string), requiredname is the name of the service. Requiredwebhooks.clientConfig.service.namespace (string), requirednamespace is the namespace of the service. Requiredwebhooks.clientConfig.service.path (string)path is an optional URL path which will be sent in any request to this service.webhooks.clientConfig.service.port (int32)If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. port should be a valid port number (1-65535, inclusive).webhooks.clientConfig.url (string)url gives the location of the webhook, in standard URL form (scheme://host:port/path). Exactly one of url or service must be specified.The host should not refer to a service running in the cluster; use the service field instead. The host might be resol",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_qa_775"
  },
  {
    "question": "What are the benefits of ValidatingWebhookConfiguration?",
    "answer": "ValidatingWebhookConfigurationValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.apiVersion: admissionregistration.k8s.io/v1import \"k8s.io/api/admissionregistration/v1\"ValidatingWebhookConfigurationValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.apiVersion: admissionregistration.k8s.io/v1kind: ValidatingWebhookConfigurationmetadata (ObjectMeta)Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.webhooks ([]ValidatingWebhook)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergeWebhooks is a list of webhooks and the affected resources and operations.ValidatingWebhook describes an admission webhook and the resources and operations it applies to.webhooks.admissionReviewVersions ([]string), requiredAtomic: will be replaced during a mergeAdmissionReviewVersions is an ordered list of preferred AdmissionReview versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.webhooks.clientConfig (WebhookClientConfig), requiredClientConfig defines how to communicate with the hook. RequiredWebhookClientConfig contains the information to make a TLS connection with the webhookwebhooks.clientConfig.caBundle ([]byte)caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.webhooks.clientConfig.service (ServiceReference)service is a reference to the service for this webhook. Either service or url must be specified.If the webhook is running within the cluster, then you should use service.ServiceReference holds a reference to Service.legacy.k8s.iowebhooks.clientConfig.service.name (string), requiredname is the name of the service. Requiredwebhooks.clientConfig.service.namespace (string), requirednamespace is the namespace of the service. Requiredwebhooks.clientConfig.service.path (string)path is an optional URL path which will be sent in any request to this service.webhooks.clientConfig.service.port (int32)If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. port should be a valid port number (1-65535, inclusive).webhooks.clientConfig.url (string)url gives the location of the webhook, in standard URL form (scheme://host:port/path). Exactly one of url or service must be specified.The host should not refer to a service running in the cluster; use the service field instead. The host might be resol",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_qa_776"
  },
  {
    "question": "What is ValidatingWebhookConfiguration?",
    "answer": "a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a d m i s s i o n r e g i s t r a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_section_1_777"
  },
  {
    "question": "What is ValidatingWebhookConfiguration?",
    "answer": "V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   d e s c r i b e s   t h e   c o n f i g u r a t i o n   o f   a n d   a d m i s s i o n   w e b h o o k   t h a t   a c c e p t   o r   r e j e c t   a n d   o b j e c t   w i t h o u t   c h a n g i n g   i t .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 k i n d :   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a . w e b h o o k s   ( [ ] V a l i d a t i n g W e b h o o k ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   n a m e M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e W e b h o o k s   i s   a   l i s t   o f   w e b h o o k s   a n d   t h e   a f f e c t e d   r e s o u r c e s   a n d   o p e r a t i o n s . V a l i d a t i n g W e b h o o k   d e s c r i b e s   a n   a d m i s s i o n   w e b h o o k   a n d   t h e   r e s o u r c e s   a n d   o p e r a t i o n s   i t   a p p l i e s   t o . w e b h o o k s . a d m i s s i o n R e v i e w V e r s i o n s   ( [ ] s t r i n g ) ,   r e q u i r e d A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A d m i s s i o n R e v i e w V e r s i o n s   i s   a n   o r d e r e d   l i s t   o f   p r e f e r r e d   A d m i s s i o n R e v i e w   v e r s i o n s   t h e   W e b h o o k   e x p e c t s .   A P I   s e r v e r   w i l l   t r y   t o   u s e   f i r s t   v e r s i o n   i n   t h e   l i s t   w h i c h   i t   s u p p o r t s .   I f   n o n e   o f   t h e   v e r s i o n s   s p e c i f i e d   i n   t h i s   l i s t   s u p p o r t e d   b y   A P I   s e r v e r ,   v a l i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_section_2_778"
  },
  {
    "question": "What is ValidatingWebhookConfigurationList?",
    "answer": "V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n L i s t   i s   a   l i s t   o f   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n .   i t e m s   ( [ ] V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) ,   r e q u i r e d L i s t   o f   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n . a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) ,   r e q u i r e d   L i s t   o f   V a l i d a t i n g W ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_section_2_779"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_section_4_780"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_section_4_781"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_section_4_782"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_section_4_783"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_section_4_784"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_section_4_785"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_section_4_786"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_section_4_787"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) :   O K   2 0 1   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) :   C r e a t e d   2 0 2   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_section_4_788"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_section_4_789"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n b o d y :   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   b o d y :   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_section_4_790"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) :   O K   2 0 1   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_section_4_791"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_section_4_792"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_section_4_793"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) :   O K   2 0 1   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_section_4_794"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_section_4_795"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_section_4_796"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_section_4_797"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_section_4_798"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_section_4_799"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1/",
    "id": "k8s_00055_section_4_800"
  },
  {
    "question": "What is Services, Load Balancing, and Networking?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Services, Load Balancing, and NetworkingConcepts and resources behind networking in Kubernetes.1: Service2: Ingress3: Ingress Controllers4: Gateway API5: EndpointSlices6: Network Policies7: DNS for Services and Pods8: IPv4/IPv6 dual-stack9: Topology Aware Routing10: Networking on Windows11: Service ClusterIP allocation12: Service Internal Traffic PolicyThe Kubernetes network modelThe Kubernetes network model is built out of several pieces:Each pod in a cluster gets its own unique cluster-wide IP address.A pod has its own private network namespace which is shared by all of the containers within the pod. Processes running in different containers in the same pod can communicate with each other over localhost.The pod network (also called a cluster network) handles communication between pods. It ensures that (barring intentional network segmentation):All pods can communicate with all other pods, whether they are on the same node or on different nodes. Pods can communicate with each other directly, without the use of proxies or address translation (NAT).On Windows, this rule does not apply to host-network pods.Agents on a node (such as system daemons, or kubelet) can communicate with all pods on that node.The Service API lets you provide a stable (long lived) IP address or hostname for a service implemented by one or more backend pods, where the individual pods making up the service can change over time.Kubernetes automatically manages EndpointSlice objects to provide information about the pods currently backing a Service.A service proxy implementation monitors the set of Service and EndpointSlice objects, and programs the data plane to route service traffic to its backends, by using operating system or cloud provider APIs to intercept or rewrite packets.The Gateway API (or its predecessor, Ingress) allows you to make Services accessible to clients that are outside the cluster.A simpler, but less-configurable, mechanism for cluster ingress is available via the Service API's type: LoadBalancer, when using a supported Cloud Provider.NetworkPolicy is a built-in Kubernetes API that allows you to control traffic between pods, or between pods and the outside world.In older container systems, there was no automatic connectivity between containers on different hosts, and so it was often necessary to explicitly create links between containers, or to map container ports to host ports to make them reachable by containers on other hosts. This is not needed in Kubernetes; Kubernetes's model is that pods can be treated much like VMs or physical hosts from the perspectives of port allocation, naming, service discovery, load balancing, application configuration, and migration.Only a few parts of this model are implemented by Kubernetes itself. For the other parts, Kubernetes defines the APIs, but the corresponding functionality is provided by external com",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_qa_801"
  },
  {
    "question": "How does Services, Load Balancing, and Networking work?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Services, Load Balancing, and NetworkingConcepts and resources behind networking in Kubernetes.1: Service2: Ingress3: Ingress Controllers4: Gateway API5: EndpointSlices6: Network Policies7: DNS for Services and Pods8: IPv4/IPv6 dual-stack9: Topology Aware Routing10: Networking on Windows11: Service ClusterIP allocation12: Service Internal Traffic PolicyThe Kubernetes network modelThe Kubernetes network model is built out of several pieces:Each pod in a cluster gets its own unique cluster-wide IP address.A pod has its own private network namespace which is shared by all of the containers within the pod. Processes running in different containers in the same pod can communicate with each other over localhost.The pod network (also called a cluster network) handles communication between pods. It ensures that (barring intentional network segmentation):All pods can communicate with all other pods, whether they are on the same node or on different nodes. Pods can communicate with each other directly, without the use of proxies or address translation (NAT).On Windows, this rule does not apply to host-network pods.Agents on a node (such as system daemons, or kubelet) can communicate with all pods on that node.The Service API lets you provide a stable (long lived) IP address or hostname for a service implemented by one or more backend pods, where the individual pods making up the service can change over time.Kubernetes automatically manages EndpointSlice objects to provide information about the pods currently backing a Service.A service proxy implementation monitors the set of Service and EndpointSlice objects, and programs the data plane to route service traffic to its backends, by using operating system or cloud provider APIs to intercept or rewrite packets.The Gateway API (or its predecessor, Ingress) allows you to make Services accessible to clients that are outside the cluster.A simpler, but less-configurable, mechanism for cluster ingress is available via the Service API's type: LoadBalancer, when using a supported Cloud Provider.NetworkPolicy is a built-in Kubernetes API that allows you to control traffic between pods, or between pods and the outside world.In older container systems, there was no automatic connectivity between containers on different hosts, and so it was often necessary to explicitly create links between containers, or to map container ports to host ports to make them reachable by containers on other hosts. This is not needed in Kubernetes; Kubernetes's model is that pods can be treated much like VMs or physical hosts from the perspectives of port allocation, naming, service discovery, load balancing, application configuration, and migration.Only a few parts of this model are implemented by Kubernetes itself. For the other parts, Kubernetes defines the APIs, but the corresponding functionality is provided by external com",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_qa_802"
  },
  {
    "question": "When would you use Services, Load Balancing, and Networking?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Services, Load Balancing, and NetworkingConcepts and resources behind networking in Kubernetes.1: Service2: Ingress3: Ingress Controllers4: Gateway API5: EndpointSlices6: Network Policies7: DNS for Services and Pods8: IPv4/IPv6 dual-stack9: Topology Aware Routing10: Networking on Windows11: Service ClusterIP allocation12: Service Internal Traffic PolicyThe Kubernetes network modelThe Kubernetes network model is built out of several pieces:Each pod in a cluster gets its own unique cluster-wide IP address.A pod has its own private network namespace which is shared by all of the containers within the pod. Processes running in different containers in the same pod can communicate with each other over localhost.The pod network (also called a cluster network) handles communication between pods. It ensures that (barring intentional network segmentation):All pods can communicate with all other pods, whether they are on the same node or on different nodes. Pods can communicate with each other directly, without the use of proxies or address translation (NAT).On Windows, this rule does not apply to host-network pods.Agents on a node (such as system daemons, or kubelet) can communicate with all pods on that node.The Service API lets you provide a stable (long lived) IP address or hostname for a service implemented by one or more backend pods, where the individual pods making up the service can change over time.Kubernetes automatically manages EndpointSlice objects to provide information about the pods currently backing a Service.A service proxy implementation monitors the set of Service and EndpointSlice objects, and programs the data plane to route service traffic to its backends, by using operating system or cloud provider APIs to intercept or rewrite packets.The Gateway API (or its predecessor, Ingress) allows you to make Services accessible to clients that are outside the cluster.A simpler, but less-configurable, mechanism for cluster ingress is available via the Service API's type: LoadBalancer, when using a supported Cloud Provider.NetworkPolicy is a built-in Kubernetes API that allows you to control traffic between pods, or between pods and the outside world.In older container systems, there was no automatic connectivity between containers on different hosts, and so it was often necessary to explicitly create links between containers, or to map container ports to host ports to make them reachable by containers on other hosts. This is not needed in Kubernetes; Kubernetes's model is that pods can be treated much like VMs or physical hosts from the perspectives of port allocation, naming, service discovery, load balancing, application configuration, and migration.Only a few parts of this model are implemented by Kubernetes itself. For the other parts, Kubernetes defines the APIs, but the corresponding functionality is provided by external com",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_qa_803"
  },
  {
    "question": "What are the benefits of Services, Load Balancing, and Networking?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Services, Load Balancing, and NetworkingConcepts and resources behind networking in Kubernetes.1: Service2: Ingress3: Ingress Controllers4: Gateway API5: EndpointSlices6: Network Policies7: DNS for Services and Pods8: IPv4/IPv6 dual-stack9: Topology Aware Routing10: Networking on Windows11: Service ClusterIP allocation12: Service Internal Traffic PolicyThe Kubernetes network modelThe Kubernetes network model is built out of several pieces:Each pod in a cluster gets its own unique cluster-wide IP address.A pod has its own private network namespace which is shared by all of the containers within the pod. Processes running in different containers in the same pod can communicate with each other over localhost.The pod network (also called a cluster network) handles communication between pods. It ensures that (barring intentional network segmentation):All pods can communicate with all other pods, whether they are on the same node or on different nodes. Pods can communicate with each other directly, without the use of proxies or address translation (NAT).On Windows, this rule does not apply to host-network pods.Agents on a node (such as system daemons, or kubelet) can communicate with all pods on that node.The Service API lets you provide a stable (long lived) IP address or hostname for a service implemented by one or more backend pods, where the individual pods making up the service can change over time.Kubernetes automatically manages EndpointSlice objects to provide information about the pods currently backing a Service.A service proxy implementation monitors the set of Service and EndpointSlice objects, and programs the data plane to route service traffic to its backends, by using operating system or cloud provider APIs to intercept or rewrite packets.The Gateway API (or its predecessor, Ingress) allows you to make Services accessible to clients that are outside the cluster.A simpler, but less-configurable, mechanism for cluster ingress is available via the Service API's type: LoadBalancer, when using a supported Cloud Provider.NetworkPolicy is a built-in Kubernetes API that allows you to control traffic between pods, or between pods and the outside world.In older container systems, there was no automatic connectivity between containers on different hosts, and so it was often necessary to explicitly create links between containers, or to map container ports to host ports to make them reachable by containers on other hosts. This is not needed in Kubernetes; Kubernetes's model is that pods can be treated much like VMs or physical hosts from the perspectives of port allocation, naming, service discovery, load balancing, application configuration, and migration.Only a few parts of this model are implemented by Kubernetes itself. For the other parts, Kubernetes defines the APIs, but the corresponding functionality is provided by external com",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_qa_804"
  },
  {
    "question": "What is Services, Load Balancing, and Networking?",
    "answer": "1 :   S e r v i c e 2 :   I n g r e s s 3 :   I n g r e s s   C o n t r o l l e r s 4 :   G a t e w a y   A P I 5 :   E n d p o i n t S l i c e s 6 :   N e t w o r k   P o l i c i e s 7 :   D N S   f o r   S e r v i c e s   a n d   P o d s 8 :   I P v 4 / I P v 6   d u a l - s t a c k 9 :   T o p o l o g y   A w a r e   R o u t i n g 1 0 :   N e t w o r k i n g   o n   W i n d o w s 1 1 :   S e r v i c e   C l u s t e r I P   a l l o c a t i o n 1 2 :   S e r v i c e   I n t e r n a l   T r a f f i c   P o l i c y",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_1_805"
  },
  {
    "question": "What is The Kubernetes network model?",
    "answer": "T h e   K u b e r n e t e s   n e t w o r k   m o d e l   i s   b u i l t   o u t   o f   s e v e r a l   p i e c e s :   E a c h   p o d   i n   a   c l u s t e r   g e t s   i t s   o w n   u n i q u e   c l u s t e r - w i d e   I P   a d d r e s s . A   p o d   h a s   i t s   o w n   p r i v a t e   n e t w o r k   n a m e s p a c e   w h i c h   i s   s h a r e d   b y   a l l   o f   t h e   c o n t a i n e r s   w i t h i n   t h e   p o d .   P r o c e s s e s   r u n n i n g   i n   d i f f e r e n t   c o n t a i n e r s   i n   t h e   s a m e   p o d   c a n   c o m m u n i c a t e   w i t h   e a c h   o t h e r   o v e r   l o c a l h o s t . T h e   p o d   n e t w o r k   ( a l s o   c a l l e d   a   c l u s t e r   n e t w o r k )   h a n d l e s   c o m m u n i c a t i o n   b e t w e e n   p o d s .   I t   e n s u r e s   t h a t   ( b a r r i n g   i n t e n t i o n a l   n e t w o r k   s e g m e n t a t i o n ) : A l l   p o d s   c a n   c o m m u n i c a t e   w i t h   a l l   o t h e r   p o d s ,   w h e t h e r   t h e y   a r e   o n   t h e   s a m e   n o d e   o r   o n   d i f f e r e n t   n o d e s .   P o d s   c a n   c o m m u n i c a t e   w i t h   e a c h   o t h e r   d i r e c t l y ,   w i t h o u t   t h e   u s e   o f   p r o x i e s   o r   a d d r e s s   t r a n s l a t i o n   ( N A T ) . O n   W i n d o w s ,   t h i s   r u l e   d o e s   n o t   a p p l y   t o   h o s t - n e t w o r k   p o d s . A g e n t s   o n   a   n o d e   ( s u c h   a s   s y s t e m   d a e m o n s ,   o r   k u b e l e t )   c a n   c o m m u n i c a t e   w i t h   a l l   p o d s   o n   t h a t   n o d e . T h e   S e r v i c e   A P I   l e t s   y o u   p r o v i d e   a   s t a b l e   ( l o n g   l i v e d )   I P   a d d r e s s   o r   h o s t n a m e   f o r   a   s e r v i c e   i m p l e m e n t e d   b y   o n e   o r   m o r e   b a c k e n d   p o d s ,   w h e r e   t h e   i n d i v i d u a l   p o d s   m a k i ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_806"
  },
  {
    "question": "What is What's next?",
    "answer": "T h e   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s   t u t o r i a l   l e t s   y o u   l e a r n   a b o u t   S e r v i c e s   a n d   K u b e r n e t e s   n e t w o r k i n g   w i t h   a   h a n d s - o n   e x a m p l e .   C l u s t e r   N e t w o r k i n g   e x p l a i n s   h o w   t o   s e t   u p   n e t w o r k i n g   f o r   y o u r   c l u s t e r ,   a n d   a l s o   p r o v i d e s   a n   o v e r v i e w   o f   t h e   t e c h n o l o g i e s   i n v o l v e d .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_807"
  },
  {
    "question": "What is 1 - Service?",
    "answer": "I n   K u b e r n e t e s ,   a   S e r v i c e   i s   a   m e t h o d   f o r   e x p o s i n g   a   n e t w o r k   a p p l i c a t i o n   t h a t   i s   r u n n i n g   a s   o n e   o r   m o r e   P o d s   i n   y o u r   c l u s t e r .   A   k e y   a i m   o f   S e r v i c e s   i n   K u b e r n e t e s   i s   t h a t   y o u   d o n ' t   n e e d   t o   m o d i f y   y o u r   e x i s t i n g   a p p l i c a t i o n   t o   u s e   a n   u n f a m i l i a r   s e r v i c e   d i s c o v e r y   m e c h a n i s m .   Y o u   c a n   r u n   c o d e   i n   P o d s ,   w h e t h e r   t h i s   i s   a   c o d e   d e s i g n e d   f o r   a   c l o u d - n a t i v e   w o r l d ,   o r   a n   o l d e r   a p p   y o u ' v e   c o n t a i n e r i z e d .   Y o u   u s e   a   S e r v i c e   t o   m a k e   t h a t   s e t   o f   P o d s   a v a i l a b l e   o n   t h e   n e t w o r k   s o   t h a t   c l i e n t s   c a n   i n t e r a c t   w i t h   i t .   I f   y o u   u s e   a   D e p l o y m e n t   t o   r u n   y o u r   a p p ,   t h a t   D e p l o y m e n t   c a n   c r e a t e   a n d   d e s t r o y   P o d s   d y n a m i c a l l y .   F r o m   o n e   m o m e n t   t o   t h e   n e x t ,   y o u   d o n ' t   k n o w   h o w   m a n y   o f   t h o s e   P o d s   a r e   w o r k i n g   a n d   h e a l t h y ;   y o u   m i g h t   n o t   e v e n   k n o w   w h a t   t h o s e   h e a l t h y   P o d s   a r e   n a m e d .   K u b e r n e t e s   P o d s   a r e   c r e a t e d   a n d   d e s t r o y e d   t o   m a t c h   t h e   d e s i r e d   s t a t e   o f   y o u r   c l u s t e r .   P o d s   a r e   e p h e m e r a l   r e s o u r c e s   ( y o u   s h o u l d   n o t   e x p e c t   t h a t   a n   i n d i v i d u a l   P o d   i s   r e l i a b l e   a n d   d u r a b l e ) .   E a c h   P o d   g e t s   i t s   o w n   I P   a d d r e s s   ( K u b e r n e t e s   e x p e c t s   n e t w o r k   p l u g i ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_1_808"
  },
  {
    "question": "What is Services in Kubernetes?",
    "answer": "T h e   S e r v i c e   A P I ,   p a r t   o f   K u b e r n e t e s ,   i s   a n   a b s t r a c t i o n   t o   h e l p   y o u   e x p o s e   g r o u p s   o f   P o d s   o v e r   a   n e t w o r k .   E a c h   S e r v i c e   o b j e c t   d e f i n e s   a   l o g i c a l   s e t   o f   e n d p o i n t s   ( u s u a l l y   t h e s e   e n d p o i n t s   a r e   P o d s )   a l o n g   w i t h   a   p o l i c y   a b o u t   h o w   t o   m a k e   t h o s e   p o d s   a c c e s s i b l e .   F o r   e x a m p l e ,   c o n s i d e r   a   s t a t e l e s s   i m a g e - p r o c e s s i n g   b a c k e n d   w h i c h   i s   r u n n i n g   w i t h   3   r e p l i c a s .   T h o s e   r e p l i c a s   a r e   f u n g i b l e — f r o n t e n d s   d o   n o t   c a r e   w h i c h   b a c k e n d   t h e y   u s e .   W h i l e   t h e   a c t u a l   P o d s   t h a t   c o m p o s e   t h e   b a c k e n d   s e t   m a y   c h a n g e ,   t h e   f r o n t e n d   c l i e n t s   s h o u l d   n o t   n e e d   t o   b e   a w a r e   o f   t h a t ,   n o r   s h o u l d   t h e y   n e e d   t o   k e e p   t r a c k   o f   t h e   s e t   o f   b a c k e n d s   t h e m s e l v e s .   T h e   S e r v i c e   a b s t r a c t i o n   e n a b l e s   t h i s   d e c o u p l i n g .   T h e   s e t   o f   P o d s   t a r g e t e d   b y   a   S e r v i c e   i s   u s u a l l y   d e t e r m i n e d   b y   a   s e l e c t o r   t h a t   y o u   d e f i n e .   T o   l e a r n   a b o u t   o t h e r   w a y s   t o   d e f i n e   S e r v i c e   e n d p o i n t s ,   s e e   S e r v i c e s   w i t h o u t   s e l e c t o r s .   I f   y o u r   w o r k l o a d   s p e a k s   H T T P ,   y o u   m i g h t   c h o o s e   t o   u s e   a n   I n g r e s s   t o   c o n t r o l   h o w   w e b   t r a f f i c   r e a c h e s   t h a t   w o r k l o a d .   I n g r e s s   i s   n o t   a   S e r v i c e   t y p e ,   b u t   i t   a c t s   a ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_809"
  },
  {
    "question": "What is Cloud-native service discovery?",
    "answer": "I f   y o u ' r e   a b l e   t o   u s e   K u b e r n e t e s   A P I s   f o r   s e r v i c e   d i s c o v e r y   i n   y o u r   a p p l i c a t i o n ,   y o u   c a n   q u e r y   t h e   A P I   s e r v e r   f o r   m a t c h i n g   E n d p o i n t S l i c e s .   K u b e r n e t e s   u p d a t e s   t h e   E n d p o i n t S l i c e s   f o r   a   S e r v i c e   w h e n e v e r   t h e   s e t   o f   P o d s   i n   a   S e r v i c e   c h a n g e s .   F o r   n o n - n a t i v e   a p p l i c a t i o n s ,   K u b e r n e t e s   o f f e r s   w a y s   t o   p l a c e   a   n e t w o r k   p o r t   o r   l o a d   b a l a n c e r   i n   b e t w e e n   y o u r   a p p l i c a t i o n   a n d   t h e   b a c k e n d   P o d s .   E i t h e r   w a y ,   y o u r   w o r k l o a d   c a n   u s e   t h e s e   s e r v i c e   d i s c o v e r y   m e c h a n i s m s   t o   f i n d   t h e   t a r g e t   i t   w a n t s   t o   c o n n e c t   t o .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_810"
  },
  {
    "question": "What is Defining a Service?",
    "answer": "A   S e r v i c e   i s   a n   o b j e c t   ( t h e   s a m e   w a y   t h a t   a   P o d   o r   a   C o n f i g M a p   i s   a n   o b j e c t ) .   Y o u   c a n   c r e a t e ,   v i e w   o r   m o d i f y   S e r v i c e   d e f i n i t i o n s   u s i n g   t h e   K u b e r n e t e s   A P I .   U s u a l l y   y o u   u s e   a   t o o l   s u c h   a s   k u b e c t l   t o   m a k e   t h o s e   A P I   c a l l s   f o r   y o u .   F o r   e x a m p l e ,   s u p p o s e   y o u   h a v e   a   s e t   o f   P o d s   t h a t   e a c h   l i s t e n   o n   T C P   p o r t   9 3 7 6   a n d   a r e   l a b e l l e d   a s   a p p . k u b e r n e t e s . i o / n a m e = M y A p p .   Y o u   c a n   d e f i n e   a   S e r v i c e   t o   p u b l i s h   t h a t   T C P   l i s t e n e r :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   s p e c :   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   8 0   t a r g e t P o r t :   9 3 7 6   A p p l y i n g   t h i s   m a n i f e s t   c r e a t e s   a   n e w   S e r v i c e   n a m e d   \" m y - s e r v i c e \"   w i t h   t h e   d e f a u l t   C l u s t e r I P   s e r v i c e   t y p e .   T h e   S e r v i c e   t a r g e t s   T C P   p o r t   9 3 7 6   o n   a n y   P o d   w i t h   t h e   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   l a b e l .   K u b e r n e t e s   a s s i g n s   t h i s   S e r v i c e   a n   I P   a d d r e s s   ( t h e   c l u s t e r   I P ) ,   t h a t   i s   u s e d   b y   t h e   v i r t u a l   I P   a d d r e s s   m e c h a n i s m .   F o r   m o r e   d e t a i l s   o n   t h a t   m e c h a n i s m ,   r e a d   V i r t u a l   I P s   a n d   S e r v i c e   P r o x i e s .   T h e   c o n t r o l l e r   f o r   t h a t   S e r v i c e   c o n t i n u o u s l y   s c a n s   f o r   ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_811"
  },
  {
    "question": "What is Relaxed naming requirements for Service objects?",
    "answer": "T h e   R e l a x e d S e r v i c e N a m e V a l i d a t i o n   f e a t u r e   g a t e   a l l o w s   S e r v i c e   o b j e c t   n a m e s   t o   s t a r t   w i t h   a   d i g i t .   W h e n   t h i s   f e a t u r e   g a t e   i s   e n a b l e d ,   S e r v i c e   o b j e c t   n a m e s   m u s t   b e   v a l i d   R F C   1 1 2 3   l a b e l   n a m e s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_812"
  },
  {
    "question": "What is Port definitions?",
    "answer": "P o r t   d e f i n i t i o n s   i n   P o d s   h a v e   n a m e s ,   a n d   y o u   c a n   r e f e r e n c e   t h e s e   n a m e s   i n   t h e   t a r g e t P o r t   a t t r i b u t e   o f   a   S e r v i c e .   F o r   e x a m p l e ,   w e   c a n   b i n d   t h e   t a r g e t P o r t   o f   t h e   S e r v i c e   t o   t h e   P o d   p o r t   i n   t h e   f o l l o w i n g   w a y :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   p r o x y   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : s t a b l e   p o r t s :   -   c o n t a i n e r P o r t :   8 0   n a m e :   h t t p - w e b - s v c   - - -   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   n g i n x - s e r v i c e   s p e c :   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   p r o x y   p o r t s :   -   n a m e :   n a m e - o f - s e r v i c e - p o r t   p r o t o c o l :   T C P   p o r t :   8 0   t a r g e t P o r t :   h t t p - w e b - s v c   T h i s   w o r k s   e v e n   i f   t h e r e   i s   a   m i x t u r e   o f   P o d s   i n   t h e   S e r v i c e   u s i n g   a   s i n g l e   c o n f i g u r e d   n a m e ,   w i t h   t h e   s a m e   n e t w o r k   p r o t o c o l   a v a i l a b l e   v i a   d i f f e r e n t   p o r t   n u m b e r s .   T h i s   o f f e r s   a   l o t   o f   f l e x i b i l i t y   f o r   d e p l o y i n g   a n d   e v o l v i n g   y o u r   S e r v i c e s .   F o r   e x a m p l e ,   y o u   c a n   c h a n g e   t h e   p o r t   n u m b e r s   t h a t   P o d s   e x p o s e   i n   t h e   n e x t   v e r s i o n   o f   y o u r   b a c k e n d   s o f t w a r e ,   w i t h o u t   b r e a k i n g   c l i e n t s .   T h e   d e f a u l t   p r o t o c o l   f o r   S e r v i c e s   i s   T C P ;   y o u   c ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_813"
  },
  {
    "question": "What is Services without selectors?",
    "answer": "S e r v i c e s   m o s t   c o m m o n l y   a b s t r a c t   a c c e s s   t o   K u b e r n e t e s   P o d s   t h a n k s   t o   t h e   s e l e c t o r ,   b u t   w h e n   u s e d   w i t h   a   c o r r e s p o n d i n g   s e t   o f   E n d p o i n t S l i c e s   o b j e c t s   a n d   w i t h o u t   a   s e l e c t o r ,   t h e   S e r v i c e   c a n   a b s t r a c t   o t h e r   k i n d s   o f   b a c k e n d s ,   i n c l u d i n g   o n e s   t h a t   r u n   o u t s i d e   t h e   c l u s t e r .   F o r   e x a m p l e :   Y o u   w a n t   t o   h a v e   a n   e x t e r n a l   d a t a b a s e   c l u s t e r   i n   p r o d u c t i o n ,   b u t   i n   y o u r   t e s t   e n v i r o n m e n t   y o u   u s e   y o u r   o w n   d a t a b a s e s . Y o u   w a n t   t o   p o i n t   y o u r   S e r v i c e   t o   a   S e r v i c e   i n   a   d i f f e r e n t   N a m e s p a c e   o r   o n   a n o t h e r   c l u s t e r . Y o u   a r e   m i g r a t i n g   a   w o r k l o a d   t o   K u b e r n e t e s .   W h i l e   e v a l u a t i n g   t h e   a p p r o a c h ,   y o u   r u n   o n l y   a   p o r t i o n   o f   y o u r   b a c k e n d s   i n   K u b e r n e t e s .   I n   a n y   o f   t h e s e   s c e n a r i o s   y o u   c a n   d e f i n e   a   S e r v i c e   w i t h o u t   s p e c i f y i n g   a   s e l e c t o r   t o   m a t c h   P o d s .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   s p e c :   p o r t s :   -   n a m e :   h t t p   p r o t o c o l :   T C P   p o r t :   8 0   t a r g e t P o r t :   9 3 7 6   B e c a u s e   t h i s   S e r v i c e   h a s   n o   s e l e c t o r ,   t h e   c o r r e s p o n d i n g   E n d p o i n t S l i c e   o b j e c t s   a r e   n o t   c r e a t e d   a u t o m a t i c a l l y .   Y o u   c a n   m a p   t h e   S e r v i c e   t o   t h e   n e t w o r k   a d d r ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_814"
  },
  {
    "question": "What is Custom EndpointSlices?",
    "answer": "W h e n   y o u   c r e a t e   a n   E n d p o i n t S l i c e   o b j e c t   f o r   a   S e r v i c e ,   y o u   c a n   u s e   a n y   n a m e   f o r   t h e   E n d p o i n t S l i c e .   E a c h   E n d p o i n t S l i c e   i n   a   n a m e s p a c e   m u s t   h a v e   a   u n i q u e   n a m e .   Y o u   l i n k   a n   E n d p o i n t S l i c e   t o   a   S e r v i c e   b y   s e t t i n g   t h e   k u b e r n e t e s . i o / s e r v i c e - n a m e   l a b e l   o n   t h a t   E n d p o i n t S l i c e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_815"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   e n d p o i n t   I P s   m u s t   n o t   b e :   l o o p b a c k   ( 1 2 7 . 0 . 0 . 0 / 8   f o r   I P v 4 ,   : : 1 / 1 2 8   f o r   I P v 6 ) ,   o r   l i n k - l o c a l   ( 1 6 9 . 2 5 4 . 0 . 0 / 1 6   a n d   2 2 4 . 0 . 0 . 0 / 2 4   f o r   I P v 4 ,   f e 8 0 : : / 6 4   f o r   I P v 6 ) .   T h e   e n d p o i n t   I P   a d d r e s s e s   c a n n o t   b e   t h e   c l u s t e r   I P s   o f   o t h e r   K u b e r n e t e s   S e r v i c e s ,   b e c a u s e   k u b e - p r o x y   d o e s n ' t   s u p p o r t   v i r t u a l   I P s   a s   a   d e s t i n a t i o n .   F o r   a n   E n d p o i n t S l i c e   t h a t   y o u   c r e a t e   y o u r s e l f ,   o r   i n   y o u r   o w n   c o d e ,   y o u   s h o u l d   a l s o   p i c k   a   v a l u e   t o   u s e   f o r   t h e   l a b e l   e n d p o i n t s l i c e . k u b e r n e t e s . i o / m a n a g e d - b y .   I f   y o u   c r e a t e   y o u r   o w n   c o n t r o l l e r   c o d e   t o   m a n a g e   E n d p o i n t S l i c e s ,   c o n s i d e r   u s i n g   a   v a l u e   s i m i l a r   t o   \" m y - d o m a i n . e x a m p l e / n a m e - o f - c o n t r o l l e r \" .   I f   y o u   a r e   u s i n g   a   t h i r d   p a r t y   t o o l ,   u s e   t h e   n a m e   o f   t h e   t o o l   i n   a l l - l o w e r c a s e   a n d   c h a n g e   s p a c e s   a n d   o t h e r   p u n c t u a t i o n   t o   d a s h e s   ( - ) .   I f   p e o p l e   a r e   d i r e c t l y   u s i n g   a   t o o l   s u c h   a s   k u b e c t l   t o   m a n a g e   E n d p o i n t S l i c e s ,   u s e   a   n a m e   t h a t   d e s c r i b e s   t h i s   m a n u a l   m a n a g e m e n t ,   s u c h   a s   \" s t a f f \"   o r   \" c l u s t e r - a d m i n s \" .   Y o u   s h o u l d   a v o i d   u s i n g   t h e   r e s e r v e d   v a l u e   \" c o n t r o l l e r \" ,   w h i c h   i d e n t i f i e s   E n d p o i n t S l i c e s   m a n a g e d   b y ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_816"
  },
  {
    "question": "What is Accessing a Service without a selector?",
    "answer": "A c c e s s i n g   a   S e r v i c e   w i t h o u t   a   s e l e c t o r   w o r k s   t h e   s a m e   a s   i f   i t   h a d   a   s e l e c t o r .   I n   t h e   e x a m p l e   f o r   a   S e r v i c e   w i t h o u t   a   s e l e c t o r ,   t r a f f i c   i s   r o u t e d   t o   o n e   o f   t h e   t w o   e n d p o i n t s   d e f i n e d   i n   t h e   E n d p o i n t S l i c e   m a n i f e s t :   a   T C P   c o n n e c t i o n   t o   1 0 . 1 . 2 . 3   o r   1 0 . 4 . 5 . 6 ,   o n   p o r t   9 3 7 6 .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_817"
  },
  {
    "question": "What is Note:?",
    "answer": "A n   E x t e r n a l N a m e   S e r v i c e   i s   a   s p e c i a l   c a s e   o f   S e r v i c e   t h a t   d o e s   n o t   h a v e   s e l e c t o r s   a n d   u s e s   D N S   n a m e s   i n s t e a d .   F o r   m o r e   i n f o r m a t i o n ,   s e e   t h e   E x t e r n a l N a m e   s e c t i o n .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_818"
  },
  {
    "question": "What is EndpointSlices?",
    "answer": "E n d p o i n t S l i c e s   a r e   o b j e c t s   t h a t   r e p r e s e n t   a   s u b s e t   ( a   s l i c e )   o f   t h e   b a c k i n g   n e t w o r k   e n d p o i n t s   f o r   a   S e r v i c e .   Y o u r   K u b e r n e t e s   c l u s t e r   t r a c k s   h o w   m a n y   e n d p o i n t s   e a c h   E n d p o i n t S l i c e   r e p r e s e n t s .   I f   t h e r e   a r e   s o   m a n y   e n d p o i n t s   f o r   a   S e r v i c e   t h a t   a   t h r e s h o l d   i s   r e a c h e d ,   t h e n   K u b e r n e t e s   a d d s   a n o t h e r   e m p t y   E n d p o i n t S l i c e   a n d   s t o r e s   n e w   e n d p o i n t   i n f o r m a t i o n   t h e r e .   B y   d e f a u l t ,   K u b e r n e t e s   m a k e s   a   n e w   E n d p o i n t S l i c e   o n c e   t h e   e x i s t i n g   E n d p o i n t S l i c e s   a l l   c o n t a i n   a t   l e a s t   1 0 0   e n d p o i n t s .   K u b e r n e t e s   d o e s   n o t   m a k e   t h e   n e w   E n d p o i n t S l i c e   u n t i l   a n   e x t r a   e n d p o i n t   n e e d s   t o   b e   a d d e d .   S e e   E n d p o i n t S l i c e s   f o r   m o r e   i n f o r m a t i o n   a b o u t   t h i s   A P I .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_819"
  },
  {
    "question": "What is Endpoints (deprecated)?",
    "answer": "T h e   E n d p o i n t S l i c e   A P I   i s   t h e   e v o l u t i o n   o f   t h e   o l d e r   E n d p o i n t s   A P I .   T h e   d e p r e c a t e d   E n d p o i n t s   A P I   h a s   s e v e r a l   p r o b l e m s   r e l a t i v e   t o   E n d p o i n t S l i c e :   I t   d o e s   n o t   s u p p o r t   d u a l - s t a c k   c l u s t e r s . I t   d o e s   n o t   c o n t a i n   i n f o r m a t i o n   n e e d e d   t o   s u p p o r t   n e w e r   f e a t u r e s ,   s u c h   a s   t r a f f i c D i s t r i b u t i o n . I t   w i l l   t r u n c a t e   t h e   l i s t   o f   e n d p o i n t s   i f   i t   i s   t o o   l o n g   t o   f i t   i n   a   s i n g l e   o b j e c t .   B e c a u s e   o f   t h i s ,   i t   i s   r e c o m m e n d e d   t h a t   a l l   c l i e n t s   u s e   t h e   E n d p o i n t S l i c e   A P I   r a t h e r   t h a n   E n d p o i n t s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_820"
  },
  {
    "question": "What is Over-capacity endpoints?",
    "answer": "K u b e r n e t e s   l i m i t s   t h e   n u m b e r   o f   e n d p o i n t s   t h a t   c a n   f i t   i n   a   s i n g l e   E n d p o i n t s   o b j e c t .   W h e n   t h e r e   a r e   o v e r   1 0 0 0   b a c k i n g   e n d p o i n t s   f o r   a   S e r v i c e ,   K u b e r n e t e s   t r u n c a t e s   t h e   d a t a   i n   t h e   E n d p o i n t s   o b j e c t .   B e c a u s e   a   S e r v i c e   c a n   b e   l i n k e d   w i t h   m o r e   t h a n   o n e   E n d p o i n t S l i c e ,   t h e   1 0 0 0   b a c k i n g   e n d p o i n t   l i m i t   o n l y   a f f e c t s   t h e   l e g a c y   E n d p o i n t s   A P I .   I n   t h a t   c a s e ,   K u b e r n e t e s   s e l e c t s   a t   m o s t   1 0 0 0   p o s s i b l e   b a c k e n d   e n d p o i n t s   t o   s t o r e   i n t o   t h e   E n d p o i n t s   o b j e c t ,   a n d   s e t s   a n   a n n o t a t i o n   o n   t h e   E n d p o i n t s :   e n d p o i n t s . k u b e r n e t e s . i o / o v e r - c a p a c i t y :   t r u n c a t e d .   T h e   c o n t r o l   p l a n e   a l s o   r e m o v e s   t h a t   a n n o t a t i o n   i f   t h e   n u m b e r   o f   b a c k e n d   P o d s   d r o p s   b e l o w   1 0 0 0 .   T r a f f i c   i s   s t i l l   s e n t   t o   b a c k e n d s ,   b u t   a n y   l o a d   b a l a n c i n g   m e c h a n i s m   t h a t   r e l i e s   o n   t h e   l e g a c y   E n d p o i n t s   A P I   o n l y   s e n d s   t r a f f i c   t o   a t   m o s t   1 0 0 0   o f   t h e   a v a i l a b l e   b a c k i n g   e n d p o i n t s .   T h e   s a m e   A P I   l i m i t   m e a n s   t h a t   y o u   c a n n o t   m a n u a l l y   u p d a t e   a n   E n d p o i n t s   t o   h a v e   m o r e   t h a n   1 0 0 0   e n d p o i n t s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_821"
  },
  {
    "question": "What is Application protocol?",
    "answer": "T h e   a p p P r o t o c o l   f i e l d   p r o v i d e s   a   w a y   t o   s p e c i f y   a n   a p p l i c a t i o n   p r o t o c o l   f o r   e a c h   S e r v i c e   p o r t .   T h i s   i s   u s e d   a s   a   h i n t   f o r   i m p l e m e n t a t i o n s   t o   o f f e r   r i c h e r   b e h a v i o r   f o r   p r o t o c o l s   t h a t   t h e y   u n d e r s t a n d .   T h e   v a l u e   o f   t h i s   f i e l d   i s   m i r r o r e d   b y   t h e   c o r r e s p o n d i n g   E n d p o i n t s   a n d   E n d p o i n t S l i c e   o b j e c t s .   T h i s   f i e l d   f o l l o w s   s t a n d a r d   K u b e r n e t e s   l a b e l   s y n t a x .   V a l i d   v a l u e s   a r e   o n e   o f :   I A N A   s t a n d a r d   s e r v i c e   n a m e s . I m p l e m e n t a t i o n - d e f i n e d   p r e f i x e d   n a m e s   s u c h   a s   m y c o m p a n y . c o m / m y - c u s t o m - p r o t o c o l . K u b e r n e t e s - d e f i n e d   p r e f i x e d   n a m e s :   I A N A   s t a n d a r d   s e r v i c e   n a m e s .   I m p l e m e n t a t i o n - d e f i n e d   p r e f i x e d   n a m e s   s u c h   a s   m y c o m p a n y . c o m / m y - c u s t o m - p r o t o c o l .   K u b e r n e t e s - d e f i n e d   p r e f i x e d   n a m e s :",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_822"
  },
  {
    "question": "What is Multi-port Services?",
    "answer": "F o r   s o m e   S e r v i c e s ,   y o u   n e e d   t o   e x p o s e   m o r e   t h a n   o n e   p o r t .   K u b e r n e t e s   l e t s   y o u   c o n f i g u r e   m u l t i p l e   p o r t   d e f i n i t i o n s   o n   a   S e r v i c e   o b j e c t .   W h e n   u s i n g   m u l t i p l e   p o r t s   f o r   a   S e r v i c e ,   y o u   m u s t   g i v e   a l l   o f   y o u r   p o r t s   n a m e s   s o   t h a t   t h e s e   a r e   u n a m b i g u o u s .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   s p e c :   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   n a m e :   h t t p   p r o t o c o l :   T C P   p o r t :   8 0   t a r g e t P o r t :   9 3 7 6   -   n a m e :   h t t p s   p r o t o c o l :   T C P   p o r t :   4 4 3   t a r g e t P o r t :   9 3 7 7",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_823"
  },
  {
    "question": "What is Note:?",
    "answer": "A s   w i t h   K u b e r n e t e s   n a m e s   i n   g e n e r a l ,   n a m e s   f o r   p o r t s   m u s t   o n l y   c o n t a i n   l o w e r c a s e   a l p h a n u m e r i c   c h a r a c t e r s   a n d   - .   P o r t   n a m e s   m u s t   a l s o   s t a r t   a n d   e n d   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r .   F o r   e x a m p l e ,   t h e   n a m e s   1 2 3 - a b c   a n d   w e b   a r e   v a l i d ,   b u t   1 2 3 _ a b c   a n d   - w e b   a r e   n o t .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_824"
  },
  {
    "question": "What is Service type?",
    "answer": "F o r   s o m e   p a r t s   o f   y o u r   a p p l i c a t i o n   ( f o r   e x a m p l e ,   f r o n t e n d s )   y o u   m a y   w a n t   t o   e x p o s e   a   S e r v i c e   o n t o   a n   e x t e r n a l   I P   a d d r e s s ,   o n e   t h a t ' s   a c c e s s i b l e   f r o m   o u t s i d e   o f   y o u r   c l u s t e r .   K u b e r n e t e s   S e r v i c e   t y p e s   a l l o w   y o u   t o   s p e c i f y   w h a t   k i n d   o f   S e r v i c e   y o u   w a n t .   T h e   a v a i l a b l e   t y p e   v a l u e s   a n d   t h e i r   b e h a v i o r s   a r e :   T h e   t y p e   f i e l d   i n   t h e   S e r v i c e   A P I   i s   d e s i g n e d   a s   n e s t e d   f u n c t i o n a l i t y   -   e a c h   l e v e l   a d d s   t o   t h e   p r e v i o u s .   H o w e v e r   t h e r e   i s   a n   e x c e p t i o n   t o   t h i s   n e s t e d   d e s i g n .   Y o u   c a n   d e f i n e   a   L o a d B a l a n c e r   S e r v i c e   b y   d i s a b l i n g   t h e   l o a d   b a l a n c e r   N o d e P o r t   a l l o c a t i o n .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_825"
  },
  {
    "question": "What is type: ClusterIP?",
    "answer": "T h i s   d e f a u l t   S e r v i c e   t y p e   a s s i g n s   a n   I P   a d d r e s s   f r o m   a   p o o l   o f   I P   a d d r e s s e s   t h a t   y o u r   c l u s t e r   h a s   r e s e r v e d   f o r   t h a t   p u r p o s e .   S e v e r a l   o f   t h e   o t h e r   t y p e s   f o r   S e r v i c e   b u i l d   o n   t h e   C l u s t e r I P   t y p e   a s   a   f o u n d a t i o n .   I f   y o u   d e f i n e   a   S e r v i c e   t h a t   h a s   t h e   . s p e c . c l u s t e r I P   s e t   t o   \" N o n e \"   t h e n   K u b e r n e t e s   d o e s   n o t   a s s i g n   a n   I P   a d d r e s s .   S e e   h e a d l e s s   S e r v i c e s   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_826"
  },
  {
    "question": "What is Choosing your own IP address?",
    "answer": "Y o u   c a n   s p e c i f y   y o u r   o w n   c l u s t e r   I P   a d d r e s s   a s   p a r t   o f   a   S e r v i c e   c r e a t i o n   r e q u e s t .   T o   d o   t h i s ,   s e t   t h e   . s p e c . c l u s t e r I P   f i e l d .   F o r   e x a m p l e ,   i f   y o u   a l r e a d y   h a v e   a n   e x i s t i n g   D N S   e n t r y   t h a t   y o u   w i s h   t o   r e u s e ,   o r   l e g a c y   s y s t e m s   t h a t   a r e   c o n f i g u r e d   f o r   a   s p e c i f i c   I P   a d d r e s s   a n d   d i f f i c u l t   t o   r e - c o n f i g u r e .   T h e   I P   a d d r e s s   t h a t   y o u   c h o o s e   m u s t   b e   a   v a l i d   I P v 4   o r   I P v 6   a d d r e s s   f r o m   w i t h i n   t h e   s e r v i c e - c l u s t e r - i p - r a n g e   C I D R   r a n g e   t h a t   i s   c o n f i g u r e d   f o r   t h e   A P I   s e r v e r .   I f   y o u   t r y   t o   c r e a t e   a   S e r v i c e   w i t h   a n   i n v a l i d   c l u s t e r I P   a d d r e s s   v a l u e ,   t h e   A P I   s e r v e r   w i l l   r e t u r n   a   4 2 2   H T T P   s t a t u s   c o d e   t o   i n d i c a t e   t h a t   t h e r e ' s   a   p r o b l e m .   R e a d   a v o i d i n g   c o l l i s i o n s   t o   l e a r n   h o w   K u b e r n e t e s   h e l p s   r e d u c e   t h e   r i s k   a n d   i m p a c t   o f   t w o   d i f f e r e n t   S e r v i c e s   b o t h   t r y i n g   t o   u s e   t h e   s a m e   I P   a d d r e s s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_827"
  },
  {
    "question": "What is type: NodePort?",
    "answer": "I f   y o u   s e t   t h e   t y p e   f i e l d   t o   N o d e P o r t ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   a l l o c a t e s   a   p o r t   f r o m   a   r a n g e   s p e c i f i e d   b y   - - s e r v i c e - n o d e - p o r t - r a n g e   f l a g   ( d e f a u l t :   3 0 0 0 0 - 3 2 7 6 7 ) .   E a c h   n o d e   p r o x i e s   t h a t   p o r t   ( t h e   s a m e   p o r t   n u m b e r   o n   e v e r y   N o d e )   i n t o   y o u r   S e r v i c e .   Y o u r   S e r v i c e   r e p o r t s   t h e   a l l o c a t e d   p o r t   i n   i t s   . s p e c . p o r t s [ * ] . n o d e P o r t   f i e l d .   U s i n g   a   N o d e P o r t   g i v e s   y o u   t h e   f r e e d o m   t o   s e t   u p   y o u r   o w n   l o a d   b a l a n c i n g   s o l u t i o n ,   t o   c o n f i g u r e   e n v i r o n m e n t s   t h a t   a r e   n o t   f u l l y   s u p p o r t e d   b y   K u b e r n e t e s ,   o r   e v e n   t o   e x p o s e   o n e   o r   m o r e   n o d e s '   I P   a d d r e s s e s   d i r e c t l y .   F o r   a   n o d e   p o r t   S e r v i c e ,   K u b e r n e t e s   a d d i t i o n a l l y   a l l o c a t e s   a   p o r t   ( T C P ,   U D P   o r   S C T P   t o   m a t c h   t h e   p r o t o c o l   o f   t h e   S e r v i c e ) .   E v e r y   n o d e   i n   t h e   c l u s t e r   c o n f i g u r e s   i t s e l f   t o   l i s t e n   o n   t h a t   a s s i g n e d   p o r t   a n d   t o   f o r w a r d   t r a f f i c   t o   o n e   o f   t h e   r e a d y   e n d p o i n t s   a s s o c i a t e d   w i t h   t h a t   S e r v i c e .   Y o u ' l l   b e   a b l e   t o   c o n t a c t   t h e   t y p e :   N o d e P o r t   S e r v i c e ,   f r o m   o u t s i d e   t h e   c l u s t e r ,   b y   c o n n e c t i n g   t o   a n y   n o d e   u s i n g   t h e   a p p r o p r i a t e   p r o t o c o l   ( f o r   e x a m p l e :   T C P ) ,   a n d   t h e   a p p r o p r i a t e   ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_828"
  },
  {
    "question": "What is Choosing your own port?",
    "answer": "I f   y o u   w a n t   a   s p e c i f i c   p o r t   n u m b e r ,   y o u   c a n   s p e c i f y   a   v a l u e   i n   t h e   n o d e P o r t   f i e l d .   T h e   c o n t r o l   p l a n e   w i l l   e i t h e r   a l l o c a t e   y o u   t h a t   p o r t   o r   r e p o r t   t h a t   t h e   A P I   t r a n s a c t i o n   f a i l e d .   T h i s   m e a n s   t h a t   y o u   n e e d   t o   t a k e   c a r e   o f   p o s s i b l e   p o r t   c o l l i s i o n s   y o u r s e l f .   Y o u   a l s o   h a v e   t o   u s e   a   v a l i d   p o r t   n u m b e r ,   o n e   t h a t ' s   i n s i d e   t h e   r a n g e   c o n f i g u r e d   f o r   N o d e P o r t   u s e .   H e r e   i s   a n   e x a m p l e   m a n i f e s t   f o r   a   S e r v i c e   o f   t y p e :   N o d e P o r t   t h a t   s p e c i f i e s   a   N o d e P o r t   v a l u e   ( 3 0 0 0 7 ,   i n   t h i s   e x a m p l e ) :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   s p e c :   t y p e :   N o d e P o r t   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   p o r t :   8 0   #   B y   d e f a u l t   a n d   f o r   c o n v e n i e n c e ,   t h e   ` t a r g e t P o r t `   i s   s e t   t o   #   t h e   s a m e   v a l u e   a s   t h e   ` p o r t `   f i e l d .   t a r g e t P o r t :   8 0   #   O p t i o n a l   f i e l d   #   B y   d e f a u l t   a n d   f o r   c o n v e n i e n c e ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   #   w i l l   a l l o c a t e   a   p o r t   f r o m   a   r a n g e   ( d e f a u l t :   3 0 0 0 0 - 3 2 7 6 7 )   n o d e P o r t :   3 0 0 0 7",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_829"
  },
  {
    "question": "What is Reserve Nodeport ranges to avoid collisions?",
    "answer": "T h e   p o l i c y   f o r   a s s i g n i n g   p o r t s   t o   N o d e P o r t   s e r v i c e s   a p p l i e s   t o   b o t h   t h e   a u t o - a s s i g n m e n t   a n d   t h e   m a n u a l   a s s i g n m e n t   s c e n a r i o s .   W h e n   a   u s e r   w a n t s   t o   c r e a t e   a   N o d e P o r t   s e r v i c e   t h a t   u s e s   a   s p e c i f i c   p o r t ,   t h e   t a r g e t   p o r t   m a y   c o n f l i c t   w i t h   a n o t h e r   p o r t   t h a t   h a s   a l r e a d y   b e e n   a s s i g n e d .   T o   a v o i d   t h i s   p r o b l e m ,   t h e   p o r t   r a n g e   f o r   N o d e P o r t   s e r v i c e s   i s   d i v i d e d   i n t o   t w o   b a n d s .   D y n a m i c   p o r t   a s s i g n m e n t   u s e s   t h e   u p p e r   b a n d   b y   d e f a u l t ,   a n d   i t   m a y   u s e   t h e   l o w e r   b a n d   o n c e   t h e   u p p e r   b a n d   h a s   b e e n   e x h a u s t e d .   U s e r s   c a n   t h e n   a l l o c a t e   f r o m   t h e   l o w e r   b a n d   w i t h   a   l o w e r   r i s k   o f   p o r t   c o l l i s i o n .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_830"
  },
  {
    "question": "What is Custom IP address configuration for type: NodePort Services?",
    "answer": "Y o u   c a n   s e t   u p   n o d e s   i n   y o u r   c l u s t e r   t o   u s e   a   p a r t i c u l a r   I P   a d d r e s s   f o r   s e r v i n g   n o d e   p o r t   s e r v i c e s .   Y o u   m i g h t   w a n t   t o   d o   t h i s   i f   e a c h   n o d e   i s   c o n n e c t e d   t o   m u l t i p l e   n e t w o r k s   ( f o r   e x a m p l e :   o n e   n e t w o r k   f o r   a p p l i c a t i o n   t r a f f i c ,   a n d   a n o t h e r   n e t w o r k   f o r   t r a f f i c   b e t w e e n   n o d e s   a n d   t h e   c o n t r o l   p l a n e ) .   I f   y o u   w a n t   t o   s p e c i f y   p a r t i c u l a r   I P   a d d r e s s ( e s )   t o   p r o x y   t h e   p o r t ,   y o u   c a n   s e t   t h e   - - n o d e p o r t - a d d r e s s e s   f l a g   f o r   k u b e - p r o x y   o r   t h e   e q u i v a l e n t   n o d e P o r t A d d r e s s e s   f i e l d   o f   t h e   k u b e - p r o x y   c o n f i g u r a t i o n   f i l e   t o   p a r t i c u l a r   I P   b l o c k ( s ) .   T h i s   f l a g   t a k e s   a   c o m m a - d e l i m i t e d   l i s t   o f   I P   b l o c k s   ( e . g .   1 0 . 0 . 0 . 0 / 8 ,   1 9 2 . 0 . 2 . 0 / 2 5 )   t o   s p e c i f y   I P   a d d r e s s   r a n g e s   t h a t   k u b e - p r o x y   s h o u l d   c o n s i d e r   a s   l o c a l   t o   t h i s   n o d e .   F o r   e x a m p l e ,   i f   y o u   s t a r t   k u b e - p r o x y   w i t h   t h e   - - n o d e p o r t - a d d r e s s e s = 1 2 7 . 0 . 0 . 0 / 8   f l a g ,   k u b e - p r o x y   o n l y   s e l e c t s   t h e   l o o p b a c k   i n t e r f a c e   f o r   N o d e P o r t   S e r v i c e s .   T h e   d e f a u l t   f o r   - - n o d e p o r t - a d d r e s s e s   i s   a n   e m p t y   l i s t .   T h i s   m e a n s   t h a t   k u b e - p r o x y   s h o u l d   c o n s i d e r   a l l   a v a i l a b l e   n e t w o r k   i n t e r f a c e s   f o r   N o d e P o r t .   ( T h a t ' s ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_831"
  },
  {
    "question": "What is type: LoadBalancer?",
    "answer": "O n   c l o u d   p r o v i d e r s   w h i c h   s u p p o r t   e x t e r n a l   l o a d   b a l a n c e r s ,   s e t t i n g   t h e   t y p e   f i e l d   t o   L o a d B a l a n c e r   p r o v i s i o n s   a   l o a d   b a l a n c e r   f o r   y o u r   S e r v i c e .   T h e   a c t u a l   c r e a t i o n   o f   t h e   l o a d   b a l a n c e r   h a p p e n s   a s y n c h r o n o u s l y ,   a n d   i n f o r m a t i o n   a b o u t   t h e   p r o v i s i o n e d   b a l a n c e r   i s   p u b l i s h e d   i n   t h e   S e r v i c e ' s   . s t a t u s . l o a d B a l a n c e r   f i e l d .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   s p e c :   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   8 0   t a r g e t P o r t :   9 3 7 6   c l u s t e r I P :   1 0 . 0 . 1 7 1 . 2 3 9   t y p e :   L o a d B a l a n c e r   s t a t u s :   l o a d B a l a n c e r :   i n g r e s s :   -   i p :   1 9 2 . 0 . 2 . 1 2 7   T r a f f i c   f r o m   t h e   e x t e r n a l   l o a d   b a l a n c e r   i s   d i r e c t e d   a t   t h e   b a c k e n d   P o d s .   T h e   c l o u d   p r o v i d e r   d e c i d e s   h o w   i t   i s   l o a d   b a l a n c e d .   T o   i m p l e m e n t   a   S e r v i c e   o f   t y p e :   L o a d B a l a n c e r ,   K u b e r n e t e s   t y p i c a l l y   s t a r t s   o f f   b y   m a k i n g   t h e   c h a n g e s   t h a t   a r e   e q u i v a l e n t   t o   y o u   r e q u e s t i n g   a   S e r v i c e   o f   t y p e :   N o d e P o r t .   T h e   c l o u d - c o n t r o l l e r - m a n a g e r   c o m p o n e n t   t h e n   c o n f i g u r e s   t h e   e x t e r n a l   l o a d   b a l a n c e r   t o   f o r w a r d   t r a f f i c   t o   t h a t   a s s i g n e d   n o d e   p o r t .   Y o u   c a n   c o n ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_832"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e . s p e c . l o a d B a l a n c e r I P   f i e l d   f o r   a   S e r v i c e   w a s   d e p r e c a t e d   i n   K u b e r n e t e s   v 1 . 2 4 .   T h i s   f i e l d   w a s   u n d e r - s p e c i f i e d   a n d   i t s   m e a n i n g   v a r i e s   a c r o s s   i m p l e m e n t a t i o n s .   I t   a l s o   c a n n o t   s u p p o r t   d u a l - s t a c k   n e t w o r k i n g .   T h i s   f i e l d   m a y   b e   r e m o v e d   i n   a   f u t u r e   A P I   v e r s i o n .   I f   y o u ' r e   i n t e g r a t i n g   w i t h   a   p r o v i d e r   t h a t   s u p p o r t s   s p e c i f y i n g   t h e   l o a d   b a l a n c e r   I P   a d d r e s s ( e s )   f o r   a   S e r v i c e   v i a   a   ( p r o v i d e r   s p e c i f i c )   a n n o t a t i o n ,   y o u   s h o u l d   s w i t c h   t o   d o i n g   t h a t .   I f   y o u   a r e   w r i t i n g   c o d e   f o r   a   l o a d   b a l a n c e r   i n t e g r a t i o n   w i t h   K u b e r n e t e s ,   a v o i d   u s i n g   t h i s   f i e l d .   Y o u   c a n   i n t e g r a t e   w i t h   G a t e w a y   r a t h e r   t h a n   S e r v i c e ,   o r   y o u   c a n   d e f i n e   y o u r   o w n   ( p r o v i d e r   s p e c i f i c )   a n n o t a t i o n s   o n   t h e   S e r v i c e   t h a t   s p e c i f y   t h e   e q u i v a l e n t   d e t a i l .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_833"
  },
  {
    "question": "What is Node liveness impact on load balancer traffic?",
    "answer": "L o a d   b a l a n c e r   h e a l t h   c h e c k s   a r e   c r i t i c a l   t o   m o d e r n   a p p l i c a t i o n s .   T h e y   a r e   u s e d   t o   d e t e r m i n e   w h i c h   s e r v e r   ( v i r t u a l   m a c h i n e ,   o r   I P   a d d r e s s )   t h e   l o a d   b a l a n c e r   s h o u l d   d i s p a t c h   t r a f f i c   t o .   T h e   K u b e r n e t e s   A P I s   d o   n o t   d e f i n e   h o w   h e a l t h   c h e c k s   h a v e   t o   b e   i m p l e m e n t e d   f o r   K u b e r n e t e s   m a n a g e d   l o a d   b a l a n c e r s ,   i n s t e a d   i t ' s   t h e   c l o u d   p r o v i d e r s   ( a n d   t h e   p e o p l e   i m p l e m e n t i n g   i n t e g r a t i o n   c o d e )   w h o   d e c i d e   o n   t h e   b e h a v i o r .   L o a d   b a l a n c e r   h e a l t h   c h e c k s   a r e   e x t e n s i v e l y   u s e d   w i t h i n   t h e   c o n t e x t   o f   s u p p o r t i n g   t h e   e x t e r n a l T r a f f i c P o l i c y   f i e l d   f o r   S e r v i c e s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_834"
  },
  {
    "question": "What is Load balancers with mixed protocol types?",
    "answer": "B y   d e f a u l t ,   f o r   L o a d B a l a n c e r   t y p e   o f   S e r v i c e s ,   w h e n   t h e r e   i s   m o r e   t h a n   o n e   p o r t   d e f i n e d ,   a l l   p o r t s   m u s t   h a v e   t h e   s a m e   p r o t o c o l ,   a n d   t h e   p r o t o c o l   m u s t   b e   o n e   w h i c h   i s   s u p p o r t e d   b y   t h e   c l o u d   p r o v i d e r .   T h e   f e a t u r e   g a t e   M i x e d P r o t o c o l L B S e r v i c e   ( e n a b l e d   b y   d e f a u l t   f o r   t h e   k u b e - a p i s e r v e r   a s   o f   v 1 . 2 4 )   a l l o w s   t h e   u s e   o f   d i f f e r e n t   p r o t o c o l s   f o r   L o a d B a l a n c e r   t y p e   o f   S e r v i c e s ,   w h e n   t h e r e   i s   m o r e   t h a n   o n e   p o r t   d e f i n e d .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_835"
  },
  {
    "question": "What is Disabling load balancer NodePort allocation?",
    "answer": "Y o u   c a n   o p t i o n a l l y   d i s a b l e   n o d e   p o r t   a l l o c a t i o n   f o r   a   S e r v i c e   o f   t y p e :   L o a d B a l a n c e r ,   b y   s e t t i n g   t h e   f i e l d   s p e c . a l l o c a t e L o a d B a l a n c e r N o d e P o r t s   t o   f a l s e .   T h i s   s h o u l d   o n l y   b e   u s e d   f o r   l o a d   b a l a n c e r   i m p l e m e n t a t i o n s   t h a t   r o u t e   t r a f f i c   d i r e c t l y   t o   p o d s   a s   o p p o s e d   t o   u s i n g   n o d e   p o r t s .   B y   d e f a u l t ,   s p e c . a l l o c a t e L o a d B a l a n c e r N o d e P o r t s   i s   t r u e   a n d   t y p e   L o a d B a l a n c e r   S e r v i c e s   w i l l   c o n t i n u e   t o   a l l o c a t e   n o d e   p o r t s .   I f   s p e c . a l l o c a t e L o a d B a l a n c e r N o d e P o r t s   i s   s e t   t o   f a l s e   o n   a n   e x i s t i n g   S e r v i c e   w i t h   a l l o c a t e d   n o d e   p o r t s ,   t h o s e   n o d e   p o r t s   w i l l   n o t   b e   d e - a l l o c a t e d   a u t o m a t i c a l l y .   Y o u   m u s t   e x p l i c i t l y   r e m o v e   t h e   n o d e P o r t s   e n t r y   i n   e v e r y   S e r v i c e   p o r t   t o   d e - a l l o c a t e   t h o s e   n o d e   p o r t s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_836"
  },
  {
    "question": "What is Specifying class of load balancer implementation?",
    "answer": "F o r   a   S e r v i c e   w i t h   t y p e   s e t   t o   L o a d B a l a n c e r ,   t h e   . s p e c . l o a d B a l a n c e r C l a s s   f i e l d   e n a b l e s   y o u   t o   u s e   a   l o a d   b a l a n c e r   i m p l e m e n t a t i o n   o t h e r   t h a n   t h e   c l o u d   p r o v i d e r   d e f a u l t .   B y   d e f a u l t ,   . s p e c . l o a d B a l a n c e r C l a s s   i s   n o t   s e t   a n d   a   L o a d B a l a n c e r   t y p e   o f   S e r v i c e   u s e s   t h e   c l o u d   p r o v i d e r ' s   d e f a u l t   l o a d   b a l a n c e r   i m p l e m e n t a t i o n   i f   t h e   c l u s t e r   i s   c o n f i g u r e d   w i t h   a   c l o u d   p r o v i d e r   u s i n g   t h e   - - c l o u d - p r o v i d e r   c o m p o n e n t   f l a g .   I f   y o u   s p e c i f y   . s p e c . l o a d B a l a n c e r C l a s s ,   i t   i s   a s s u m e d   t h a t   a   l o a d   b a l a n c e r   i m p l e m e n t a t i o n   t h a t   m a t c h e s   t h e   s p e c i f i e d   c l a s s   i s   w a t c h i n g   f o r   S e r v i c e s .   A n y   d e f a u l t   l o a d   b a l a n c e r   i m p l e m e n t a t i o n   ( f o r   e x a m p l e ,   t h e   o n e   p r o v i d e d   b y   t h e   c l o u d   p r o v i d e r )   w i l l   i g n o r e   S e r v i c e s   t h a t   h a v e   t h i s   f i e l d   s e t .   s p e c . l o a d B a l a n c e r C l a s s   c a n   b e   s e t   o n   a   S e r v i c e   o f   t y p e   L o a d B a l a n c e r   o n l y .   O n c e   s e t ,   i t   c a n n o t   b e   c h a n g e d .   T h e   v a l u e   o f   s p e c . l o a d B a l a n c e r C l a s s   m u s t   b e   a   l a b e l - s t y l e   i d e n t i f i e r ,   w i t h   a n   o p t i o n a l   p r e f i x   s u c h   a s   \" i n t e r n a l - v i p \"   o r   \" e x a m p l e . c o m / i n t e r n a l - v i p \" .   U n p r e f i x e d   n a m e s   a r e   r e s e r v e d   f o r   e n d - u s e r s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_837"
  },
  {
    "question": "What is Load balancer IP address mode?",
    "answer": "F o r   a   S e r v i c e   o f   t y p e :   L o a d B a l a n c e r ,   a   c o n t r o l l e r   c a n   s e t   . s t a t u s . l o a d B a l a n c e r . i n g r e s s . i p M o d e .   T h e   . s t a t u s . l o a d B a l a n c e r . i n g r e s s . i p M o d e   s p e c i f i e s   h o w   t h e   l o a d - b a l a n c e r   I P   b e h a v e s .   I t   m a y   b e   s p e c i f i e d   o n l y   w h e n   t h e   . s t a t u s . l o a d B a l a n c e r . i n g r e s s . i p   f i e l d   i s   a l s o   s p e c i f i e d .   T h e r e   a r e   t w o   p o s s i b l e   v a l u e s   f o r   . s t a t u s . l o a d B a l a n c e r . i n g r e s s . i p M o d e :   \" V I P \"   a n d   \" P r o x y \" .   T h e   d e f a u l t   v a l u e   i s   \" V I P \"   m e a n i n g   t h a t   t r a f f i c   i s   d e l i v e r e d   t o   t h e   n o d e   w i t h   t h e   d e s t i n a t i o n   s e t   t o   t h e   l o a d - b a l a n c e r ' s   I P   a n d   p o r t .   T h e r e   a r e   t w o   c a s e s   w h e n   s e t t i n g   t h i s   t o   \" P r o x y \" ,   d e p e n d i n g   o n   h o w   t h e   l o a d - b a l a n c e r   f r o m   t h e   c l o u d   p r o v i d e r   d e l i v e r s   t h e   t r a f f i c s :   I f   t h e   t r a f f i c   i s   d e l i v e r e d   t o   t h e   n o d e   t h e n   D N A T e d   t o   t h e   p o d ,   t h e   d e s t i n a t i o n   w o u l d   b e   s e t   t o   t h e   n o d e ' s   I P   a n d   n o d e   p o r t ; I f   t h e   t r a f f i c   i s   d e l i v e r e d   d i r e c t l y   t o   t h e   p o d ,   t h e   d e s t i n a t i o n   w o u l d   b e   s e t   t o   t h e   p o d ' s   I P   a n d   p o r t .   S e r v i c e   i m p l e m e n t a t i o n s   m a y   u s e   t h i s   i n f o r m a t i o n   t o   a d j u s t   t r a f f i c   r o u t i n g .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_838"
  },
  {
    "question": "What is Internal load balancer?",
    "answer": "I n   a   m i x e d   e n v i r o n m e n t   i t   i s   s o m e t i m e s   n e c e s s a r y   t o   r o u t e   t r a f f i c   f r o m   S e r v i c e s   i n s i d e   t h e   s a m e   ( v i r t u a l )   n e t w o r k   a d d r e s s   b l o c k .   I n   a   s p l i t - h o r i z o n   D N S   e n v i r o n m e n t   y o u   w o u l d   n e e d   t w o   S e r v i c e s   t o   b e   a b l e   t o   r o u t e   b o t h   e x t e r n a l   a n d   i n t e r n a l   t r a f f i c   t o   y o u r   e n d p o i n t s .   T o   s e t   a n   i n t e r n a l   l o a d   b a l a n c e r ,   a d d   o n e   o f   t h e   f o l l o w i n g   a n n o t a t i o n s   t o   y o u r   S e r v i c e   d e p e n d i n g   o n   t h e   c l o u d   s e r v i c e   p r o v i d e r   y o u ' r e   u s i n g :   S e l e c t   o n e   o f   t h e   t a b s .   S e l e c t   o n e   o f   t h e   t a b s .   m e t a d a t a :   n a m e :   m y - s e r v i c e   a n n o t a t i o n s :   n e t w o r k i n g . g k e . i o / l o a d - b a l a n c e r - t y p e :   \" I n t e r n a l \"   m e t a d a t a :   n a m e :   m y - s e r v i c e   a n n o t a t i o n s :   n e t w o r k i n g . g k e . i o / l o a d - b a l a n c e r - t y p e :   \" I n t e r n a l \"   m e t a d a t a :   n a m e :   m y - s e r v i c e   a n n o t a t i o n s :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - i n t e r n a l :   \" t r u e \"   m e t a d a t a :   n a m e :   m y - s e r v i c e   a n n o t a t i o n s :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - i n t e r n a l :   \" t r u e \"   m e t a d a t a :   n a m e :   m y - s e r v i c e   a n n o t a t i o n s :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a z u r e - l o a d - b a l a n c e r - i n t e r n a l :   \" t r u e \"   m e t a d a t a :   n a m e :   m y - s e r v i c e   a n n o t a t i o n s :   s e r v i c e . b e t a . k u b e r n ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_839"
  },
  {
    "question": "What is type: ExternalName?",
    "answer": "S e r v i c e s   o f   t y p e   E x t e r n a l N a m e   m a p   a   S e r v i c e   t o   a   D N S   n a m e ,   n o t   t o   a   t y p i c a l   s e l e c t o r   s u c h   a s   m y - s e r v i c e   o r   c a s s a n d r a .   Y o u   s p e c i f y   t h e s e   S e r v i c e s   w i t h   t h e   s p e c . e x t e r n a l N a m e   p a r a m e t e r .   T h i s   S e r v i c e   d e f i n i t i o n ,   f o r   e x a m p l e ,   m a p s   t h e   m y - s e r v i c e   S e r v i c e   i n   t h e   p r o d   n a m e s p a c e   t o   m y . d a t a b a s e . e x a m p l e . c o m :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   n a m e s p a c e :   p r o d   s p e c :   t y p e :   E x t e r n a l N a m e   e x t e r n a l N a m e :   m y . d a t a b a s e . e x a m p l e . c o m",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_840"
  },
  {
    "question": "What is Note:?",
    "answer": "A   S e r v i c e   o f   t y p e :   E x t e r n a l N a m e   a c c e p t s   a n   I P v 4   a d d r e s s   s t r i n g ,   b u t   t r e a t s   t h a t   s t r i n g   a s   a   D N S   n a m e   c o m p r i s e d   o f   d i g i t s ,   n o t   a s   a n   I P   a d d r e s s   ( t h e   i n t e r n e t   d o e s   n o t   h o w e v e r   a l l o w   s u c h   n a m e s   i n   D N S ) .   S e r v i c e s   w i t h   e x t e r n a l   n a m e s   t h a t   r e s e m b l e   I P v 4   a d d r e s s e s   a r e   n o t   r e s o l v e d   b y   D N S   s e r v e r s .   I f   y o u   w a n t   t o   m a p   a   S e r v i c e   d i r e c t l y   t o   a   s p e c i f i c   I P   a d d r e s s ,   c o n s i d e r   u s i n g   h e a d l e s s   S e r v i c e s .   W h e n   l o o k i n g   u p   t h e   h o s t   m y - s e r v i c e . p r o d . s v c . c l u s t e r . l o c a l ,   t h e   c l u s t e r   D N S   S e r v i c e   r e t u r n s   a   C N A M E   r e c o r d   w i t h   t h e   v a l u e   m y . d a t a b a s e . e x a m p l e . c o m .   A c c e s s i n g   m y - s e r v i c e   w o r k s   i n   t h e   s a m e   w a y   a s   o t h e r   S e r v i c e s   b u t   w i t h   t h e   c r u c i a l   d i f f e r e n c e   t h a t   r e d i r e c t i o n   h a p p e n s   a t   t h e   D N S   l e v e l   r a t h e r   t h a n   v i a   p r o x y i n g   o r   f o r w a r d i n g .   S h o u l d   y o u   l a t e r   d e c i d e   t o   m o v e   y o u r   d a t a b a s e   i n t o   y o u r   c l u s t e r ,   y o u   c a n   s t a r t   i t s   P o d s ,   a d d   a p p r o p r i a t e   s e l e c t o r s   o r   e n d p o i n t s ,   a n d   c h a n g e   t h e   S e r v i c e ' s   t y p e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_841"
  },
  {
    "question": "What is Caution:?",
    "answer": "Y o u   m a y   h a v e   t r o u b l e   u s i n g   E x t e r n a l N a m e   f o r   s o m e   c o m m o n   p r o t o c o l s ,   i n c l u d i n g   H T T P   a n d   H T T P S .   I f   y o u   u s e   E x t e r n a l N a m e   t h e n   t h e   h o s t n a m e   u s e d   b y   c l i e n t s   i n s i d e   y o u r   c l u s t e r   i s   d i f f e r e n t   f r o m   t h e   n a m e   t h a t   t h e   E x t e r n a l N a m e   r e f e r e n c e s .   F o r   p r o t o c o l s   t h a t   u s e   h o s t n a m e s   t h i s   d i f f e r e n c e   m a y   l e a d   t o   e r r o r s   o r   u n e x p e c t e d   r e s p o n s e s .   H T T P   r e q u e s t s   w i l l   h a v e   a   H o s t :   h e a d e r   t h a t   t h e   o r i g i n   s e r v e r   d o e s   n o t   r e c o g n i z e ;   T L S   s e r v e r s   w i l l   n o t   b e   a b l e   t o   p r o v i d e   a   c e r t i f i c a t e   m a t c h i n g   t h e   h o s t n a m e   t h a t   t h e   c l i e n t   c o n n e c t e d   t o .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_842"
  },
  {
    "question": "What is Headless Services?",
    "answer": "S o m e t i m e s   y o u   d o n ' t   n e e d   l o a d - b a l a n c i n g   a n d   a   s i n g l e   S e r v i c e   I P .   I n   t h i s   c a s e ,   y o u   c a n   c r e a t e   w h a t   a r e   t e r m e d   h e a d l e s s   S e r v i c e s ,   b y   e x p l i c i t l y   s p e c i f y i n g   \" N o n e \"   f o r   t h e   c l u s t e r   I P   a d d r e s s   ( . s p e c . c l u s t e r I P ) .   Y o u   c a n   u s e   a   h e a d l e s s   S e r v i c e   t o   i n t e r f a c e   w i t h   o t h e r   s e r v i c e   d i s c o v e r y   m e c h a n i s m s ,   w i t h o u t   b e i n g   t i e d   t o   K u b e r n e t e s '   i m p l e m e n t a t i o n .   F o r   h e a d l e s s   S e r v i c e s ,   a   c l u s t e r   I P   i s   n o t   a l l o c a t e d ,   k u b e - p r o x y   d o e s   n o t   h a n d l e   t h e s e   S e r v i c e s ,   a n d   t h e r e   i s   n o   l o a d   b a l a n c i n g   o r   p r o x y i n g   d o n e   b y   t h e   p l a t f o r m   f o r   t h e m .   A   h e a d l e s s   S e r v i c e   a l l o w s   a   c l i e n t   t o   c o n n e c t   t o   w h i c h e v e r   P o d   i t   p r e f e r s ,   d i r e c t l y .   S e r v i c e s   t h a t   a r e   h e a d l e s s   d o n ' t   c o n f i g u r e   r o u t e s   a n d   p a c k e t   f o r w a r d i n g   u s i n g   v i r t u a l   I P   a d d r e s s e s   a n d   p r o x i e s ;   i n s t e a d ,   h e a d l e s s   S e r v i c e s   r e p o r t   t h e   e n d p o i n t   I P   a d d r e s s e s   o f   t h e   i n d i v i d u a l   p o d s   v i a   i n t e r n a l   D N S   r e c o r d s ,   s e r v e d   t h r o u g h   t h e   c l u s t e r ' s   D N S   s e r v i c e .   T o   d e f i n e   a   h e a d l e s s   S e r v i c e ,   y o u   m a k e   a   S e r v i c e   w i t h   . s p e c . t y p e   s e t   t o   C l u s t e r I P   ( w h i c h   i s   a l s o   t h e   d e f a u l t   f o r   t y p e ) ,   a n d   y o u   a d d i t i o n a l l ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_843"
  },
  {
    "question": "What is With selectors?",
    "answer": "F o r   h e a d l e s s   S e r v i c e s   t h a t   d e f i n e   s e l e c t o r s ,   t h e   e n d p o i n t s   c o n t r o l l e r   c r e a t e s   E n d p o i n t S l i c e s   i n   t h e   K u b e r n e t e s   A P I ,   a n d   m o d i f i e s   t h e   D N S   c o n f i g u r a t i o n   t o   r e t u r n   A   o r   A A A A   r e c o r d s   ( I P v 4   o r   I P v 6   a d d r e s s e s )   t h a t   p o i n t   d i r e c t l y   t o   t h e   P o d s   b a c k i n g   t h e   S e r v i c e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_844"
  },
  {
    "question": "What is Without selectors?",
    "answer": "F o r   h e a d l e s s   S e r v i c e s   t h a t   d o   n o t   d e f i n e   s e l e c t o r s ,   t h e   c o n t r o l   p l a n e   d o e s   n o t   c r e a t e   E n d p o i n t S l i c e   o b j e c t s .   H o w e v e r ,   t h e   D N S   s y s t e m   l o o k s   f o r   a n d   c o n f i g u r e s   e i t h e r :   D N S   C N A M E   r e c o r d s   f o r   t y p e :   E x t e r n a l N a m e   S e r v i c e s . D N S   A   /   A A A A   r e c o r d s   f o r   a l l   I P   a d d r e s s e s   o f   t h e   S e r v i c e ' s   r e a d y   e n d p o i n t s ,   f o r   a l l   S e r v i c e   t y p e s   o t h e r   t h a n   E x t e r n a l N a m e . F o r   I P v 4   e n d p o i n t s ,   t h e   D N S   s y s t e m   c r e a t e s   A   r e c o r d s . F o r   I P v 6   e n d p o i n t s ,   t h e   D N S   s y s t e m   c r e a t e s   A A A A   r e c o r d s .   F o r   I P v 4   e n d p o i n t s ,   t h e   D N S   s y s t e m   c r e a t e s   A   r e c o r d s . F o r   I P v 6   e n d p o i n t s ,   t h e   D N S   s y s t e m   c r e a t e s   A A A A   r e c o r d s .   W h e n   y o u   d e f i n e   a   h e a d l e s s   S e r v i c e   w i t h o u t   a   s e l e c t o r ,   t h e   p o r t   m u s t   m a t c h   t h e   t a r g e t P o r t .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_845"
  },
  {
    "question": "What is Discovering services?",
    "answer": "F o r   c l i e n t s   r u n n i n g   i n s i d e   y o u r   c l u s t e r ,   K u b e r n e t e s   s u p p o r t s   t w o   p r i m a r y   m o d e s   o f   f i n d i n g   a   S e r v i c e :   e n v i r o n m e n t   v a r i a b l e s   a n d   D N S .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_846"
  },
  {
    "question": "What is Environment variables?",
    "answer": "W h e n   a   P o d   i s   r u n   o n   a   N o d e ,   t h e   k u b e l e t   a d d s   a   s e t   o f   e n v i r o n m e n t   v a r i a b l e s   f o r   e a c h   a c t i v e   S e r v i c e .   I t   a d d s   { S V C N A M E } _ S E R V I C E _ H O S T   a n d   { S V C N A M E } _ S E R V I C E _ P O R T   v a r i a b l e s ,   w h e r e   t h e   S e r v i c e   n a m e   i s   u p p e r - c a s e d   a n d   d a s h e s   a r e   c o n v e r t e d   t o   u n d e r s c o r e s .   F o r   e x a m p l e ,   t h e   S e r v i c e   r e d i s - p r i m a r y   w h i c h   e x p o s e s   T C P   p o r t   6 3 7 9   a n d   h a s   b e e n   a l l o c a t e d   c l u s t e r   I P   a d d r e s s   1 0 . 0 . 0 . 1 1 ,   p r o d u c e s   t h e   f o l l o w i n g   e n v i r o n m e n t   v a r i a b l e s :   R E D I S _ P R I M A R Y _ S E R V I C E _ H O S T = 1 0 . 0 . 0 . 1 1   R E D I S _ P R I M A R Y _ S E R V I C E _ P O R T = 6 3 7 9   R E D I S _ P R I M A R Y _ P O R T = t c p : / / 1 0 . 0 . 0 . 1 1 : 6 3 7 9   R E D I S _ P R I M A R Y _ P O R T _ 6 3 7 9 _ T C P = t c p : / / 1 0 . 0 . 0 . 1 1 : 6 3 7 9   R E D I S _ P R I M A R Y _ P O R T _ 6 3 7 9 _ T C P _ P R O T O = t c p   R E D I S _ P R I M A R Y _ P O R T _ 6 3 7 9 _ T C P _ P O R T = 6 3 7 9   R E D I S _ P R I M A R Y _ P O R T _ 6 3 7 9 _ T C P _ A D D R = 1 0 . 0 . 0 . 1 1",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_847"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   y o u   h a v e   a   P o d   t h a t   n e e d s   t o   a c c e s s   a   S e r v i c e ,   a n d   y o u   a r e   u s i n g   t h e   e n v i r o n m e n t   v a r i a b l e   m e t h o d   t o   p u b l i s h   t h e   p o r t   a n d   c l u s t e r   I P   t o   t h e   c l i e n t   P o d s ,   y o u   m u s t   c r e a t e   t h e   S e r v i c e   b e f o r e   t h e   c l i e n t   P o d s   c o m e   i n t o   e x i s t e n c e .   O t h e r w i s e ,   t h o s e   c l i e n t   P o d s   w o n ' t   h a v e   t h e i r   e n v i r o n m e n t   v a r i a b l e s   p o p u l a t e d .   I f   y o u   o n l y   u s e   D N S   t o   d i s c o v e r   t h e   c l u s t e r   I P   f o r   a   S e r v i c e ,   y o u   d o n ' t   n e e d   t o   w o r r y   a b o u t   t h i s   o r d e r i n g   i s s u e .   K u b e r n e t e s   a l s o   s u p p o r t s   a n d   p r o v i d e s   v a r i a b l e s   t h a t   a r e   c o m p a t i b l e   w i t h   D o c k e r   E n g i n e ' s   \" l e g a c y   c o n t a i n e r   l i n k s \"   f e a t u r e .   Y o u   c a n   r e a d   m a k e L i n k V a r i a b l e s   t o   s e e   h o w   t h i s   i s   i m p l e m e n t e d   i n   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_848"
  },
  {
    "question": "What is DNS?",
    "answer": "Y o u   c a n   ( a n d   a l m o s t   a l w a y s   s h o u l d )   s e t   u p   a   D N S   s e r v i c e   f o r   y o u r   K u b e r n e t e s   c l u s t e r   u s i n g   a n   a d d - o n .   A   c l u s t e r - a w a r e   D N S   s e r v e r ,   s u c h   a s   C o r e D N S ,   w a t c h e s   t h e   K u b e r n e t e s   A P I   f o r   n e w   S e r v i c e s   a n d   c r e a t e s   a   s e t   o f   D N S   r e c o r d s   f o r   e a c h   o n e .   I f   D N S   h a s   b e e n   e n a b l e d   t h r o u g h o u t   y o u r   c l u s t e r   t h e n   a l l   P o d s   s h o u l d   a u t o m a t i c a l l y   b e   a b l e   t o   r e s o l v e   S e r v i c e s   b y   t h e i r   D N S   n a m e .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   S e r v i c e   c a l l e d   m y - s e r v i c e   i n   a   K u b e r n e t e s   n a m e s p a c e   m y - n s ,   t h e   c o n t r o l   p l a n e   a n d   t h e   D N S   S e r v i c e   a c t i n g   t o g e t h e r   c r e a t e   a   D N S   r e c o r d   f o r   m y - s e r v i c e . m y - n s .   P o d s   i n   t h e   m y - n s   n a m e s p a c e   s h o u l d   b e   a b l e   t o   f i n d   t h e   s e r v i c e   b y   d o i n g   a   n a m e   l o o k u p   f o r   m y - s e r v i c e   ( m y - s e r v i c e . m y - n s   w o u l d   a l s o   w o r k ) .   P o d s   i n   o t h e r   n a m e s p a c e s   m u s t   q u a l i f y   t h e   n a m e   a s   m y - s e r v i c e . m y - n s .   T h e s e   n a m e s   w i l l   r e s o l v e   t o   t h e   c l u s t e r   I P   a s s i g n e d   f o r   t h e   S e r v i c e .   K u b e r n e t e s   a l s o   s u p p o r t s   D N S   S R V   ( S e r v i c e )   r e c o r d s   f o r   n a m e d   p o r t s .   I f   t h e   m y - s e r v i c e . m y - n s   S e r v i c e   h a s   a   p o r t   n a m e d   h t t p   w i t h   t h e   p r o t o c o l   s e t   t o   T C P ,   y o u   c a n   d o   a   D N S   S R V   q u e r ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_849"
  },
  {
    "question": "What is Virtual IP addressing mechanism?",
    "answer": "R e a d   V i r t u a l   I P s   a n d   S e r v i c e   P r o x i e s   e x p l a i n s   t h e   m e c h a n i s m   K u b e r n e t e s   p r o v i d e s   t o   e x p o s e   a   S e r v i c e   w i t h   a   v i r t u a l   I P   a d d r e s s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_850"
  },
  {
    "question": "What is Traffic policies?",
    "answer": "Y o u   c a n   s e t   t h e   . s p e c . i n t e r n a l T r a f f i c P o l i c y   a n d   . s p e c . e x t e r n a l T r a f f i c P o l i c y   f i e l d s   t o   c o n t r o l   h o w   K u b e r n e t e s   r o u t e s   t r a f f i c   t o   h e a l t h y   ( “ r e a d y ” )   b a c k e n d s .   S e e   T r a f f i c   P o l i c i e s   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_851"
  },
  {
    "question": "What is Traffic distribution?",
    "answer": "T h e   . s p e c . t r a f f i c D i s t r i b u t i o n   f i e l d   p r o v i d e s   a n o t h e r   w a y   t o   i n f l u e n c e   t r a f f i c   r o u t i n g   w i t h i n   a   K u b e r n e t e s   S e r v i c e .   W h i l e   t r a f f i c   p o l i c i e s   f o c u s   o n   s t r i c t   s e m a n t i c   g u a r a n t e e s ,   t r a f f i c   d i s t r i b u t i o n   a l l o w s   y o u   t o   e x p r e s s   p r e f e r e n c e s   ( s u c h   a s   r o u t i n g   t o   t o p o l o g i c a l l y   c l o s e r   e n d p o i n t s ) .   T h i s   c a n   h e l p   o p t i m i z e   f o r   p e r f o r m a n c e ,   c o s t ,   o r   r e l i a b i l i t y .   I n   K u b e r n e t e s   1 . 3 4 ,   t h e   f o l l o w i n g   f i e l d   v a l u e   i s   s u p p o r t e d :   I n   K u b e r n e t e s   1 . 3 4 ,   t w o   a d d i t i o n a l   v a l u e s   a r e   a v a i l a b l e   ( u n l e s s   t h e   P r e f e r S a m e T r a f f i c D i s t r i b u t i o n   f e a t u r e   g a t e   i s   d i s a b l e d ) :   I f   t h e   f i e l d   i s   n o t   s e t ,   t h e   i m p l e m e n t a t i o n   w i l l   a p p l y   i t s   d e f a u l t   r o u t i n g   s t r a t e g y .   S e e   T r a f f i c   D i s t r i b u t i o n   f o r   m o r e   d e t a i l s",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_852"
  },
  {
    "question": "What is Session stickiness?",
    "answer": "I f   y o u   w a n t   t o   m a k e   s u r e   t h a t   c o n n e c t i o n s   f r o m   a   p a r t i c u l a r   c l i e n t   a r e   p a s s e d   t o   t h e   s a m e   P o d   e a c h   t i m e ,   y o u   c a n   c o n f i g u r e   s e s s i o n   a f f i n i t y   b a s e d   o n   t h e   c l i e n t ' s   I P   a d d r e s s .   R e a d   s e s s i o n   a f f i n i t y   t o   l e a r n   m o r e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_853"
  },
  {
    "question": "What is External IPs?",
    "answer": "I f   t h e r e   a r e   e x t e r n a l   I P s   t h a t   r o u t e   t o   o n e   o r   m o r e   c l u s t e r   n o d e s ,   K u b e r n e t e s   S e r v i c e s   c a n   b e   e x p o s e d   o n   t h o s e   e x t e r n a l I P s .   W h e n   n e t w o r k   t r a f f i c   a r r i v e s   i n t o   t h e   c l u s t e r ,   w i t h   t h e   e x t e r n a l   I P   ( a s   d e s t i n a t i o n   I P )   a n d   t h e   p o r t   m a t c h i n g   t h a t   S e r v i c e ,   r u l e s   a n d   r o u t e s   t h a t   K u b e r n e t e s   h a s   c o n f i g u r e d   e n s u r e   t h a t   t h e   t r a f f i c   i s   r o u t e d   t o   o n e   o f   t h e   e n d p o i n t s   f o r   t h a t   S e r v i c e .   W h e n   y o u   d e f i n e   a   S e r v i c e ,   y o u   c a n   s p e c i f y   e x t e r n a l I P s   f o r   a n y   s e r v i c e   t y p e .   I n   t h e   e x a m p l e   b e l o w ,   t h e   S e r v i c e   n a m e d   \" m y - s e r v i c e \"   c a n   b e   a c c e s s e d   b y   c l i e n t s   u s i n g   T C P ,   o n   \" 1 9 8 . 5 1 . 1 0 0 . 3 2 : 8 0 \"   ( c a l c u l a t e d   f r o m   . s p e c . e x t e r n a l I P s [ ]   a n d   . s p e c . p o r t s [ ] . p o r t ) .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   s p e c :   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   n a m e :   h t t p   p r o t o c o l :   T C P   p o r t :   8 0   t a r g e t P o r t :   4 9 1 5 2   e x t e r n a l I P s :   -   1 9 8 . 5 1 . 1 0 0 . 3 2",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_854"
  },
  {
    "question": "What is API Object?",
    "answer": "S e r v i c e   i s   a   t o p - l e v e l   r e s o u r c e   i n   t h e   K u b e r n e t e s   R E S T   A P I .   Y o u   c a n   f i n d   m o r e   d e t a i l s   a b o u t   t h e   S e r v i c e   A P I   o b j e c t .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_855"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   S e r v i c e s   a n d   h o w   t h e y   f i t   i n t o   K u b e r n e t e s :   F o l l o w   t h e   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s   t u t o r i a l . R e a d   a b o u t   I n g r e s s ,   w h i c h   e x p o s e s   H T T P   a n d   H T T P S   r o u t e s   f r o m   o u t s i d e   t h e   c l u s t e r   t o   S e r v i c e s   w i t h i n   y o u r   c l u s t e r . R e a d   a b o u t   G a t e w a y ,   a n   e x t e n s i o n   t o   K u b e r n e t e s   t h a t   p r o v i d e s   m o r e   f l e x i b i l i t y   t h a n   I n g r e s s .   F o r   m o r e   c o n t e x t ,   r e a d   t h e   f o l l o w i n g :   V i r t u a l   I P s   a n d   S e r v i c e   P r o x i e s E n d p o i n t S l i c e s S e r v i c e   A P I   r e f e r e n c e E n d p o i n t S l i c e   A P I   r e f e r e n c e E n d p o i n t   A P I   r e f e r e n c e   ( l e g a c y )",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_856"
  },
  {
    "question": "What is 2 - Ingress?",
    "answer": "F E A T U R E   S T A T E :   K u b e r n e t e s   v 1 . 1 9   [ s t a b l e ] A n   A P I   o b j e c t   t h a t   m a n a g e s   e x t e r n a l   a c c e s s   t o   t h e   s e r v i c e s   i n   a   c l u s t e r ,   t y p i c a l l y   H T T P . I n g r e s s   m a y   p r o v i d e   l o a d   b a l a n c i n g ,   S S L   t e r m i n a t i o n   a n d   n a m e - b a s e d   v i r t u a l   h o s t i n g .   A n   A P I   o b j e c t   t h a t   m a n a g e s   e x t e r n a l   a c c e s s   t o   t h e   s e r v i c e s   i n   a   c l u s t e r ,   t y p i c a l l y   H T T P .   I n g r e s s   m a y   p r o v i d e   l o a d   b a l a n c i n g ,   S S L   t e r m i n a t i o n   a n d   n a m e - b a s e d   v i r t u a l   h o s t i n g .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_1_857"
  },
  {
    "question": "What is Terminology?",
    "answer": "F o r   c l a r i t y ,   t h i s   g u i d e   d e f i n e s   t h e   f o l l o w i n g   t e r m s :   N o d e :   A   w o r k e r   m a c h i n e   i n   K u b e r n e t e s ,   p a r t   o f   a   c l u s t e r . C l u s t e r :   A   s e t   o f   N o d e s   t h a t   r u n   c o n t a i n e r i z e d   a p p l i c a t i o n s   m a n a g e d   b y   K u b e r n e t e s .   F o r   t h i s   e x a m p l e ,   a n d   i n   m o s t   c o m m o n   K u b e r n e t e s   d e p l o y m e n t s ,   n o d e s   i n   t h e   c l u s t e r   a r e   n o t   p a r t   o f   t h e   p u b l i c   i n t e r n e t . E d g e   r o u t e r :   A   r o u t e r   t h a t   e n f o r c e s   t h e   f i r e w a l l   p o l i c y   f o r   y o u r   c l u s t e r .   T h i s   c o u l d   b e   a   g a t e w a y   m a n a g e d   b y   a   c l o u d   p r o v i d e r   o r   a   p h y s i c a l   p i e c e   o f   h a r d w a r e . C l u s t e r   n e t w o r k :   A   s e t   o f   l i n k s ,   l o g i c a l   o r   p h y s i c a l ,   t h a t   f a c i l i t a t e   c o m m u n i c a t i o n   w i t h i n   a   c l u s t e r   a c c o r d i n g   t o   t h e   K u b e r n e t e s   n e t w o r k i n g   m o d e l . S e r v i c e :   A   K u b e r n e t e s   S e r v i c e   t h a t   i d e n t i f i e s   a   s e t   o f   P o d s   u s i n g   l a b e l   s e l e c t o r s .   U n l e s s   m e n t i o n e d   o t h e r w i s e ,   S e r v i c e s   a r e   a s s u m e d   t o   h a v e   v i r t u a l   I P s   o n l y   r o u t a b l e   w i t h i n   t h e   c l u s t e r   n e t w o r k .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_858"
  },
  {
    "question": "What is What is Ingress??",
    "answer": "I n g r e s s   e x p o s e s   H T T P   a n d   H T T P S   r o u t e s   f r o m   o u t s i d e   t h e   c l u s t e r   t o   s e r v i c e s   w i t h i n   t h e   c l u s t e r .   T r a f f i c   r o u t i n g   i s   c o n t r o l l e d   b y   r u l e s   d e f i n e d   o n   t h e   I n g r e s s   r e s o u r c e .   H e r e   i s   a   s i m p l e   e x a m p l e   w h e r e   a n   I n g r e s s   s e n d s   a l l   i t s   t r a f f i c   t o   o n e   S e r v i c e :   F i g u r e .   I n g r e s s   A n   I n g r e s s   m a y   b e   c o n f i g u r e d   t o   g i v e   S e r v i c e s   e x t e r n a l l y - r e a c h a b l e   U R L s ,   l o a d   b a l a n c e   t r a f f i c ,   t e r m i n a t e   S S L   /   T L S ,   a n d   o f f e r   n a m e - b a s e d   v i r t u a l   h o s t i n g .   A n   I n g r e s s   c o n t r o l l e r   i s   r e s p o n s i b l e   f o r   f u l f i l l i n g   t h e   I n g r e s s ,   u s u a l l y   w i t h   a   l o a d   b a l a n c e r ,   t h o u g h   i t   m a y   a l s o   c o n f i g u r e   y o u r   e d g e   r o u t e r   o r   a d d i t i o n a l   f r o n t e n d s   t o   h e l p   h a n d l e   t h e   t r a f f i c .   A n   I n g r e s s   d o e s   n o t   e x p o s e   a r b i t r a r y   p o r t s   o r   p r o t o c o l s .   E x p o s i n g   s e r v i c e s   o t h e r   t h a n   H T T P   a n d   H T T P S   t o   t h e   i n t e r n e t   t y p i c a l l y   u s e s   a   s e r v i c e   o f   t y p e   S e r v i c e . T y p e = N o d e P o r t   o r   S e r v i c e . T y p e = L o a d B a l a n c e r .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_859"
  },
  {
    "question": "What is Prerequisites?",
    "answer": "Y o u   m u s t   h a v e   a n   I n g r e s s   c o n t r o l l e r   t o   s a t i s f y   a n   I n g r e s s .   O n l y   c r e a t i n g   a n   I n g r e s s   r e s o u r c e   h a s   n o   e f f e c t .   Y o u   m a y   n e e d   t o   d e p l o y   a n   I n g r e s s   c o n t r o l l e r   s u c h   a s   i n g r e s s - n g i n x .   Y o u   c a n   c h o o s e   f r o m   a   n u m b e r   o f   I n g r e s s   c o n t r o l l e r s .   I d e a l l y ,   a l l   I n g r e s s   c o n t r o l l e r s   s h o u l d   f i t   t h e   r e f e r e n c e   s p e c i f i c a t i o n .   I n   r e a l i t y ,   t h e   v a r i o u s   I n g r e s s   c o n t r o l l e r s   o p e r a t e   s l i g h t l y   d i f f e r e n t l y .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_860"
  },
  {
    "question": "What is The Ingress resource?",
    "answer": "A   m i n i m a l   I n g r e s s   r e s o u r c e   e x a m p l e :   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a :   n a m e :   m i n i m a l - i n g r e s s   a n n o t a t i o n s :   n g i n x . i n g r e s s . k u b e r n e t e s . i o / r e w r i t e - t a r g e t :   /   s p e c :   i n g r e s s C l a s s N a m e :   n g i n x - e x a m p l e   r u l e s :   -   h t t p :   p a t h s :   -   p a t h :   / t e s t p a t h   p a t h T y p e :   P r e f i x   b a c k e n d :   s e r v i c e :   n a m e :   t e s t   p o r t :   n u m b e r :   8 0   A n   I n g r e s s   n e e d s   a p i V e r s i o n ,   k i n d ,   m e t a d a t a   a n d   s p e c   f i e l d s .   T h e   n a m e   o f   a n   I n g r e s s   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   F o r   g e n e r a l   i n f o r m a t i o n   a b o u t   w o r k i n g   w i t h   c o n f i g   f i l e s ,   s e e   d e p l o y i n g   a p p l i c a t i o n s ,   c o n f i g u r i n g   c o n t a i n e r s ,   m a n a g i n g   r e s o u r c e s .   I n g r e s s   f r e q u e n t l y   u s e s   a n n o t a t i o n s   t o   c o n f i g u r e   s o m e   o p t i o n s   d e p e n d i n g   o n   t h e   I n g r e s s   c o n t r o l l e r ,   a n   e x a m p l e   o f   w h i c h   i s   t h e   r e w r i t e - t a r g e t   a n n o t a t i o n .   D i f f e r e n t   I n g r e s s   c o n t r o l l e r s   s u p p o r t   d i f f e r e n t   a n n o t a t i o n s .   R e v i e w   t h e   d o c u m e n t a t i o n   f o r   y o u r   c h o i c e   o f   I n g r e s s   c o n t r o l l e r   t o   l e a r n   w h i c h   a n n o t a t i o n s   a r e   s u p p o r t e d .   T h e   I n g r e s s   s p e c   h a s   a l l   t h e   i n f o r m a t i o n   n e e d e d   t o   c o n f i g u r e   a   l o a d   b a l a n c e r   o r   p r o x y   s e r v e r .   M o s t   i m p o r t a n t l y ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_861"
  },
  {
    "question": "What is Ingress rules?",
    "answer": "E a c h   H T T P   r u l e   c o n t a i n s   t h e   f o l l o w i n g   i n f o r m a t i o n :   A n   o p t i o n a l   h o s t .   I n   t h i s   e x a m p l e ,   n o   h o s t   i s   s p e c i f i e d ,   s o   t h e   r u l e   a p p l i e s   t o   a l l   i n b o u n d   H T T P   t r a f f i c   t h r o u g h   t h e   I P   a d d r e s s   s p e c i f i e d .   I f   a   h o s t   i s   p r o v i d e d   ( f o r   e x a m p l e ,   f o o . b a r . c o m ) ,   t h e   r u l e s   a p p l y   t o   t h a t   h o s t . A   l i s t   o f   p a t h s   ( f o r   e x a m p l e ,   / t e s t p a t h ) ,   e a c h   o f   w h i c h   h a s   a n   a s s o c i a t e d   b a c k e n d   d e f i n e d   w i t h   a   s e r v i c e . n a m e   a n d   a   s e r v i c e . p o r t . n a m e   o r   s e r v i c e . p o r t . n u m b e r .   B o t h   t h e   h o s t   a n d   p a t h   m u s t   m a t c h   t h e   c o n t e n t   o f   a n   i n c o m i n g   r e q u e s t   b e f o r e   t h e   l o a d   b a l a n c e r   d i r e c t s   t r a f f i c   t o   t h e   r e f e r e n c e d   S e r v i c e . A   b a c k e n d   i s   a   c o m b i n a t i o n   o f   S e r v i c e   a n d   p o r t   n a m e s   a s   d e s c r i b e d   i n   t h e   S e r v i c e   d o c   o r   a   c u s t o m   r e s o u r c e   b a c k e n d   b y   w a y   o f   a   C R D .   H T T P   ( a n d   H T T P S )   r e q u e s t s   t o   t h e   I n g r e s s   t h a t   m a t c h   t h e   h o s t   a n d   p a t h   o f   t h e   r u l e   a r e   s e n t   t o   t h e   l i s t e d   b a c k e n d .   A   d e f a u l t B a c k e n d   i s   o f t e n   c o n f i g u r e d   i n   a n   I n g r e s s   c o n t r o l l e r   t o   s e r v i c e   a n y   r e q u e s t s   t h a t   d o   n o t   m a t c h   a   p a t h   i n   t h e   s p e c .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_862"
  },
  {
    "question": "What is DefaultBackend?",
    "answer": "A n   I n g r e s s   w i t h   n o   r u l e s   s e n d s   a l l   t r a f f i c   t o   a   s i n g l e   d e f a u l t   b a c k e n d   a n d   . s p e c . d e f a u l t B a c k e n d   i s   t h e   b a c k e n d   t h a t   s h o u l d   h a n d l e   r e q u e s t s   i n   t h a t   c a s e .   T h e   d e f a u l t B a c k e n d   i s   c o n v e n t i o n a l l y   a   c o n f i g u r a t i o n   o p t i o n   o f   t h e   I n g r e s s   c o n t r o l l e r   a n d   i s   n o t   s p e c i f i e d   i n   y o u r   I n g r e s s   r e s o u r c e s .   I f   n o   . s p e c . r u l e s   a r e   s p e c i f i e d ,   . s p e c . d e f a u l t B a c k e n d   m u s t   b e   s p e c i f i e d .   I f   d e f a u l t B a c k e n d   i s   n o t   s e t ,   t h e   h a n d l i n g   o f   r e q u e s t s   t h a t   d o   n o t   m a t c h   a n y   o f   t h e   r u l e s   w i l l   b e   u p   t o   t h e   i n g r e s s   c o n t r o l l e r   ( c o n s u l t   t h e   d o c u m e n t a t i o n   f o r   y o u r   i n g r e s s   c o n t r o l l e r   t o   f i n d   o u t   h o w   i t   h a n d l e s   t h i s   c a s e ) .   I f   n o n e   o f   t h e   h o s t s   o r   p a t h s   m a t c h   t h e   H T T P   r e q u e s t   i n   t h e   I n g r e s s   o b j e c t s ,   t h e   t r a f f i c   i s   r o u t e d   t o   y o u r   d e f a u l t   b a c k e n d .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_863"
  },
  {
    "question": "What is Resource backends?",
    "answer": "A   R e s o u r c e   b a c k e n d   i s   a n   O b j e c t R e f   t o   a n o t h e r   K u b e r n e t e s   r e s o u r c e   w i t h i n   t h e   s a m e   n a m e s p a c e   a s   t h e   I n g r e s s   o b j e c t .   A   R e s o u r c e   i s   a   m u t u a l l y   e x c l u s i v e   s e t t i n g   w i t h   S e r v i c e ,   a n d   w i l l   f a i l   v a l i d a t i o n   i f   b o t h   a r e   s p e c i f i e d .   A   c o m m o n   u s a g e   f o r   a   R e s o u r c e   b a c k e n d   i s   t o   i n g r e s s   d a t a   t o   a n   o b j e c t   s t o r a g e   b a c k e n d   w i t h   s t a t i c   a s s e t s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a :   n a m e :   i n g r e s s - r e s o u r c e - b a c k e n d   s p e c :   d e f a u l t B a c k e n d :   r e s o u r c e :   a p i G r o u p :   k 8 s . e x a m p l e . c o m   k i n d :   S t o r a g e B u c k e t   n a m e :   s t a t i c - a s s e t s   r u l e s :   -   h t t p :   p a t h s :   -   p a t h :   / i c o n s   p a t h T y p e :   I m p l e m e n t a t i o n S p e c i f i c   b a c k e n d :   r e s o u r c e :   a p i G r o u p :   k 8 s . e x a m p l e . c o m   k i n d :   S t o r a g e B u c k e t   n a m e :   i c o n - a s s e t s   A f t e r   c r e a t i n g   t h e   I n g r e s s   a b o v e ,   y o u   c a n   v i e w   i t   w i t h   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   d e s c r i b e   i n g r e s s   i n g r e s s - r e s o u r c e - b a c k e n d   N a m e :   i n g r e s s - r e s o u r c e - b a c k e n d   N a m e s p a c e :   d e f a u l t   A d d r e s s :   D e f a u l t   b a c k e n d :   A P I G r o u p :   k 8 s . e x a m p l e . c o m ,   K i n d :   S t o r a g e B u c k e t ,   N a m e :   s t a t i c - a s s e t s   R u l e s :   H o s t   P a t h   B a c k e n d s   - - - -   - - - -   - - - - - - - -   *   / i c o n s   A P I G r o u p : ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_864"
  },
  {
    "question": "What is Path types?",
    "answer": "E a c h   p a t h   i n   a n   I n g r e s s   i s   r e q u i r e d   t o   h a v e   a   c o r r e s p o n d i n g   p a t h   t y p e .   P a t h s   t h a t   d o   n o t   i n c l u d e   a n   e x p l i c i t   p a t h T y p e   w i l l   f a i l   v a l i d a t i o n .   T h e r e   a r e   t h r e e   s u p p o r t e d   p a t h   t y p e s :   I m p l e m e n t a t i o n S p e c i f i c :   W i t h   t h i s   p a t h   t y p e ,   m a t c h i n g   i s   u p   t o   t h e   I n g r e s s C l a s s .   I m p l e m e n t a t i o n s   c a n   t r e a t   t h i s   a s   a   s e p a r a t e   p a t h T y p e   o r   t r e a t   i t   i d e n t i c a l l y   t o   P r e f i x   o r   E x a c t   p a t h   t y p e s . E x a c t :   M a t c h e s   t h e   U R L   p a t h   e x a c t l y   a n d   w i t h   c a s e   s e n s i t i v i t y . P r e f i x :   M a t c h e s   b a s e d   o n   a   U R L   p a t h   p r e f i x   s p l i t   b y   / .   M a t c h i n g   i s   c a s e   s e n s i t i v e   a n d   d o n e   o n   a   p a t h   e l e m e n t   b y   e l e m e n t   b a s i s .   A   p a t h   e l e m e n t   r e f e r s   t o   t h e   l i s t   o f   l a b e l s   i n   t h e   p a t h   s p l i t   b y   t h e   /   s e p a r a t o r .   A   r e q u e s t   i s   a   m a t c h   f o r   p a t h   p   i f   e v e r y   p   i s   a n   e l e m e n t - w i s e   p r e f i x   o f   p   o f   t h e   r e q u e s t   p a t h . N o t e : I f   t h e   l a s t   e l e m e n t   o f   t h e   p a t h   i s   a   s u b s t r i n g   o f   t h e   l a s t   e l e m e n t   i n   r e q u e s t   p a t h ,   i t   i s   n o t   a   m a t c h   ( f o r   e x a m p l e :   / f o o / b a r   m a t c h e s   / f o o / b a r / b a z ,   b u t   d o e s   n o t   m a t c h   / f o o / b a r b a z ) .   I m p l e m e n t a t i o n S p e c i f i c :   W i t h   t h i s   p a t h   t y p e ,   m a t c h i n g   i s   u p   t o   t h e   I n g r e s s C l a s s .   I m ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_865"
  },
  {
    "question": "What is Multiple matches?",
    "answer": "I n   s o m e   c a s e s ,   m u l t i p l e   p a t h s   w i t h i n   a n   I n g r e s s   w i l l   m a t c h   a   r e q u e s t .   I n   t h o s e   c a s e s   p r e c e d e n c e   w i l l   b e   g i v e n   f i r s t   t o   t h e   l o n g e s t   m a t c h i n g   p a t h .   I f   t w o   p a t h s   a r e   s t i l l   e q u a l l y   m a t c h e d ,   p r e c e d e n c e   w i l l   b e   g i v e n   t o   p a t h s   w i t h   a n   e x a c t   p a t h   t y p e   o v e r   p r e f i x   p a t h   t y p e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_866"
  },
  {
    "question": "What is Hostname wildcards?",
    "answer": "H o s t s   c a n   b e   p r e c i s e   m a t c h e s   ( f o r   e x a m p l e   “ f o o . b a r . c o m ” )   o r   a   w i l d c a r d   ( f o r   e x a m p l e   “ * . f o o . c o m ” ) .   P r e c i s e   m a t c h e s   r e q u i r e   t h a t   t h e   H T T P   h o s t   h e a d e r   m a t c h e s   t h e   h o s t   f i e l d .   W i l d c a r d   m a t c h e s   r e q u i r e   t h e   H T T P   h o s t   h e a d e r   i s   e q u a l   t o   t h e   s u f f i x   o f   t h e   w i l d c a r d   r u l e .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a :   n a m e :   i n g r e s s - w i l d c a r d - h o s t   s p e c :   r u l e s :   -   h o s t :   \" f o o . b a r . c o m \"   h t t p :   p a t h s :   -   p a t h T y p e :   P r e f i x   p a t h :   \" / b a r \"   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 1   p o r t :   n u m b e r :   8 0   -   h o s t :   \" * . f o o . c o m \"   h t t p :   p a t h s :   -   p a t h T y p e :   P r e f i x   p a t h :   \" / f o o \"   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 2   p o r t :   n u m b e r :   8 0",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_867"
  },
  {
    "question": "What is Ingress class?",
    "answer": "I n g r e s s e s   c a n   b e   i m p l e m e n t e d   b y   d i f f e r e n t   c o n t r o l l e r s ,   o f t e n   w i t h   d i f f e r e n t   c o n f i g u r a t i o n .   E a c h   I n g r e s s   s h o u l d   s p e c i f y   a   c l a s s ,   a   r e f e r e n c e   t o   a n   I n g r e s s C l a s s   r e s o u r c e   t h a t   c o n t a i n s   a d d i t i o n a l   c o n f i g u r a t i o n   i n c l u d i n g   t h e   n a m e   o f   t h e   c o n t r o l l e r   t h a t   s h o u l d   i m p l e m e n t   t h e   c l a s s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s C l a s s   m e t a d a t a :   n a m e :   e x t e r n a l - l b   s p e c :   c o n t r o l l e r :   e x a m p l e . c o m / i n g r e s s - c o n t r o l l e r   p a r a m e t e r s :   a p i G r o u p :   k 8 s . e x a m p l e . c o m   k i n d :   I n g r e s s P a r a m e t e r s   n a m e :   e x t e r n a l - l b   T h e   . s p e c . p a r a m e t e r s   f i e l d   o f   a n   I n g r e s s C l a s s   l e t s   y o u   r e f e r e n c e   a n o t h e r   r e s o u r c e   t h a t   p r o v i d e s   c o n f i g u r a t i o n   r e l a t e d   t o   t h a t   I n g r e s s C l a s s .   T h e   s p e c i f i c   t y p e   o f   p a r a m e t e r s   t o   u s e   d e p e n d s   o n   t h e   i n g r e s s   c o n t r o l l e r   t h a t   y o u   s p e c i f y   i n   t h e   . s p e c . c o n t r o l l e r   f i e l d   o f   t h e   I n g r e s s C l a s s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_868"
  },
  {
    "question": "What is IngressClass scope?",
    "answer": "D e p e n d i n g   o n   y o u r   i n g r e s s   c o n t r o l l e r ,   y o u   m a y   b e   a b l e   t o   u s e   p a r a m e t e r s   t h a t   y o u   s e t   c l u s t e r - w i d e ,   o r   j u s t   f o r   o n e   n a m e s p a c e .   T h e   d e f a u l t   s c o p e   f o r   I n g r e s s C l a s s   p a r a m e t e r s   i s   c l u s t e r - w i d e . I f   y o u   s e t   t h e   . s p e c . p a r a m e t e r s   f i e l d   a n d   d o n ' t   s e t   . s p e c . p a r a m e t e r s . s c o p e ,   o r   i f   y o u   s e t   . s p e c . p a r a m e t e r s . s c o p e   t o   C l u s t e r ,   t h e n   t h e   I n g r e s s C l a s s   r e f e r s   t o   a   c l u s t e r - s c o p e d   r e s o u r c e .   T h e   k i n d   ( i n   c o m b i n a t i o n   t h e   a p i G r o u p )   o f   t h e   p a r a m e t e r s   r e f e r s   t o   a   c l u s t e r - s c o p e d   A P I   ( p o s s i b l y   a   c u s t o m   r e s o u r c e ) ,   a n d   t h e   n a m e   o f   t h e   p a r a m e t e r s   i d e n t i f i e s   a   s p e c i f i c   c l u s t e r   s c o p e d   r e s o u r c e   f o r   t h a t   A P I . F o r   e x a m p l e : - - -   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s C l a s s   m e t a d a t a :   n a m e :   e x t e r n a l - l b - 1   s p e c :   c o n t r o l l e r :   e x a m p l e . c o m / i n g r e s s - c o n t r o l l e r   p a r a m e t e r s :   #   T h e   p a r a m e t e r s   f o r   t h i s   I n g r e s s C l a s s   a r e   s p e c i f i e d   i n   a   #   C l u s t e r I n g r e s s P a r a m e t e r   ( A P I   g r o u p   k 8 s . e x a m p l e . n e t )   n a m e d   #   \" e x t e r n a l - c o n f i g - 1 \" .   T h i s   d e f i n i t i o n   t e l l s   K u b e r n e t e s   t o   #   l o o k   f o r   a   c l u s t e r - s c o p e d   p a r a m e t e r   r e s o u r c e .   s c o p e :   C l u s t e r   a p i G r o u p :   k 8 s . e x a m p l e ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_869"
  },
  {
    "question": "What is Deprecated annotation?",
    "answer": "B e f o r e   t h e   I n g r e s s C l a s s   r e s o u r c e   a n d   i n g r e s s C l a s s N a m e   f i e l d   w e r e   a d d e d   i n   K u b e r n e t e s   1 . 1 8 ,   I n g r e s s   c l a s s e s   w e r e   s p e c i f i e d   w i t h   a   k u b e r n e t e s . i o / i n g r e s s . c l a s s   a n n o t a t i o n   o n   t h e   I n g r e s s .   T h i s   a n n o t a t i o n   w a s   n e v e r   f o r m a l l y   d e f i n e d ,   b u t   w a s   w i d e l y   s u p p o r t e d   b y   I n g r e s s   c o n t r o l l e r s .   T h e   n e w e r   i n g r e s s C l a s s N a m e   f i e l d   o n   I n g r e s s e s   i s   a   r e p l a c e m e n t   f o r   t h a t   a n n o t a t i o n ,   b u t   i s   n o t   a   d i r e c t   e q u i v a l e n t .   W h i l e   t h e   a n n o t a t i o n   w a s   g e n e r a l l y   u s e d   t o   r e f e r e n c e   t h e   n a m e   o f   t h e   I n g r e s s   c o n t r o l l e r   t h a t   s h o u l d   i m p l e m e n t   t h e   I n g r e s s ,   t h e   f i e l d   i s   a   r e f e r e n c e   t o   a n   I n g r e s s C l a s s   r e s o u r c e   t h a t   c o n t a i n s   a d d i t i o n a l   I n g r e s s   c o n f i g u r a t i o n ,   i n c l u d i n g   t h e   n a m e   o f   t h e   I n g r e s s   c o n t r o l l e r .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_870"
  },
  {
    "question": "What is Default IngressClass?",
    "answer": "Y o u   c a n   m a r k   a   p a r t i c u l a r   I n g r e s s C l a s s   a s   d e f a u l t   f o r   y o u r   c l u s t e r .   S e t t i n g   t h e   i n g r e s s c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s   a n n o t a t i o n   t o   t r u e   o n   a n   I n g r e s s C l a s s   r e s o u r c e   w i l l   e n s u r e   t h a t   n e w   I n g r e s s e s   w i t h o u t   a n   i n g r e s s C l a s s N a m e   f i e l d   s p e c i f i e d   w i l l   b e   a s s i g n e d   t h i s   d e f a u l t   I n g r e s s C l a s s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_871"
  },
  {
    "question": "What is Caution:?",
    "answer": "T h e r e   a r e   s o m e   i n g r e s s   c o n t r o l l e r s ,   t h a t   w o r k   w i t h o u t   t h e   d e f i n i t i o n   o f   a   d e f a u l t   I n g r e s s C l a s s .   F o r   e x a m p l e ,   t h e   I n g r e s s - N G I N X   c o n t r o l l e r   c a n   b e   c o n f i g u r e d   w i t h   a   f l a g   - - w a t c h - i n g r e s s - w i t h o u t - c l a s s .   I t   i s   r e c o m m e n d e d   t h o u g h ,   t o   s p e c i f y   t h e   d e f a u l t   I n g r e s s C l a s s :   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s C l a s s   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / c o m p o n e n t :   c o n t r o l l e r   n a m e :   n g i n x - e x a m p l e   a n n o t a t i o n s :   i n g r e s s c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s :   \" t r u e \"   s p e c :   c o n t r o l l e r :   k 8 s . i o / i n g r e s s - n g i n x",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_872"
  },
  {
    "question": "What is Ingress backed by a single Service?",
    "answer": "T h e r e   a r e   e x i s t i n g   K u b e r n e t e s   c o n c e p t s   t h a t   a l l o w   y o u   t o   e x p o s e   a   s i n g l e   S e r v i c e   ( s e e   a l t e r n a t i v e s ) .   Y o u   c a n   a l s o   d o   t h i s   w i t h   a n   I n g r e s s   b y   s p e c i f y i n g   a   d e f a u l t   b a c k e n d   w i t h   n o   r u l e s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a :   n a m e :   t e s t - i n g r e s s   s p e c :   d e f a u l t B a c k e n d :   s e r v i c e :   n a m e :   t e s t   p o r t :   n u m b e r :   8 0   I f   y o u   c r e a t e   i t   u s i n g   k u b e c t l   a p p l y   - f   y o u   s h o u l d   b e   a b l e   t o   v i e w   t h e   s t a t e   o f   t h e   I n g r e s s   y o u   a d d e d :   k u b e c t l   g e t   i n g r e s s   t e s t - i n g r e s s   N A M E   C L A S S   H O S T S   A D D R E S S   P O R T S   A G E   t e s t - i n g r e s s   e x t e r n a l - l b   *   2 0 3 . 0 . 1 1 3 . 1 2 3   8 0   5 9 s   W h e r e   2 0 3 . 0 . 1 1 3 . 1 2 3   i s   t h e   I P   a l l o c a t e d   b y   t h e   I n g r e s s   c o n t r o l l e r   t o   s a t i s f y   t h i s   I n g r e s s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_873"
  },
  {
    "question": "What is Simple fanout?",
    "answer": "A   f a n o u t   c o n f i g u r a t i o n   r o u t e s   t r a f f i c   f r o m   a   s i n g l e   I P   a d d r e s s   t o   m o r e   t h a n   o n e   S e r v i c e ,   b a s e d   o n   t h e   H T T P   U R I   b e i n g   r e q u e s t e d .   A n   I n g r e s s   a l l o w s   y o u   t o   k e e p   t h e   n u m b e r   o f   l o a d   b a l a n c e r s   d o w n   t o   a   m i n i m u m .   F o r   e x a m p l e ,   a   s e t u p   l i k e :   F i g u r e .   I n g r e s s   F a n   O u t   I t   w o u l d   r e q u i r e   a n   I n g r e s s   s u c h   a s :   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a :   n a m e :   s i m p l e - f a n o u t - e x a m p l e   s p e c :   r u l e s :   -   h o s t :   f o o . b a r . c o m   h t t p :   p a t h s :   -   p a t h :   / f o o   p a t h T y p e :   P r e f i x   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 1   p o r t :   n u m b e r :   4 2 0 0   -   p a t h :   / b a r   p a t h T y p e :   P r e f i x   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 2   p o r t :   n u m b e r :   8 0 8 0   W h e n   y o u   c r e a t e   t h e   I n g r e s s   w i t h   k u b e c t l   a p p l y   - f :   k u b e c t l   d e s c r i b e   i n g r e s s   s i m p l e - f a n o u t - e x a m p l e   N a m e :   s i m p l e - f a n o u t - e x a m p l e   N a m e s p a c e :   d e f a u l t   A d d r e s s :   1 7 8 . 9 1 . 1 2 3 . 1 3 2   D e f a u l t   b a c k e n d :   d e f a u l t - h t t p - b a c k e n d : 8 0   ( 1 0 . 8 . 2 . 3 : 8 0 8 0 )   R u l e s :   H o s t   P a t h   B a c k e n d s   - - - -   - - - -   - - - - - - - -   f o o . b a r . c o m   / f o o   s e r v i c e 1 : 4 2 0 0   ( 1 0 . 8 . 0 . 9 0 : 4 2 0 0 )   / b a r   s e r v i c e 2 : 8 0 8 0   ( 1 0 . 8 . 0 . 9 1 : 8 0 8 0 )   E v e n t s :   T y p e   R e a s o n   A g e   F r o m   M e s s a g e   - - - -   - - - - - -   - - - -   - - ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_874"
  },
  {
    "question": "What is Name based virtual hosting?",
    "answer": "N a m e - b a s e d   v i r t u a l   h o s t s   s u p p o r t   r o u t i n g   H T T P   t r a f f i c   t o   m u l t i p l e   h o s t   n a m e s   a t   t h e   s a m e   I P   a d d r e s s .   F i g u r e .   I n g r e s s   N a m e   B a s e d   V i r t u a l   h o s t i n g   T h e   f o l l o w i n g   I n g r e s s   t e l l s   t h e   b a c k i n g   l o a d   b a l a n c e r   t o   r o u t e   r e q u e s t s   b a s e d   o n   t h e   H o s t   h e a d e r .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a :   n a m e :   n a m e - v i r t u a l - h o s t - i n g r e s s   s p e c :   r u l e s :   -   h o s t :   f o o . b a r . c o m   h t t p :   p a t h s :   -   p a t h T y p e :   P r e f i x   p a t h :   \" / \"   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 1   p o r t :   n u m b e r :   8 0   -   h o s t :   b a r . f o o . c o m   h t t p :   p a t h s :   -   p a t h T y p e :   P r e f i x   p a t h :   \" / \"   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 2   p o r t :   n u m b e r :   8 0   I f   y o u   c r e a t e   a n   I n g r e s s   r e s o u r c e   w i t h o u t   a n y   h o s t s   d e f i n e d   i n   t h e   r u l e s ,   t h e n   a n y   w e b   t r a f f i c   t o   t h e   I P   a d d r e s s   o f   y o u r   I n g r e s s   c o n t r o l l e r   c a n   b e   m a t c h e d   w i t h o u t   a   n a m e   b a s e d   v i r t u a l   h o s t   b e i n g   r e q u i r e d .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   I n g r e s s   r o u t e s   t r a f f i c   r e q u e s t e d   f o r   f i r s t . b a r . c o m   t o   s e r v i c e 1 ,   s e c o n d . b a r . c o m   t o   s e r v i c e 2 ,   a n d   a n y   t r a f f i c   w h o s e   r e q u e s t   h o s t   h e a d e r   d o e s n ' t   m a t c h   f i r s t . b a r . c o m   a n d   s e c o n d . b a r . c o m   t o   s e r v i c e 3 .   a p i V e r ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_875"
  },
  {
    "question": "What is TLS?",
    "answer": "Y o u   c a n   s e c u r e   a n   I n g r e s s   b y   s p e c i f y i n g   a   S e c r e t   t h a t   c o n t a i n s   a   T L S   p r i v a t e   k e y   a n d   c e r t i f i c a t e .   T h e   I n g r e s s   r e s o u r c e   o n l y   s u p p o r t s   a   s i n g l e   T L S   p o r t ,   4 4 3 ,   a n d   a s s u m e s   T L S   t e r m i n a t i o n   a t   t h e   i n g r e s s   p o i n t   ( t r a f f i c   t o   t h e   S e r v i c e   a n d   i t s   P o d s   i s   i n   p l a i n t e x t ) .   I f   t h e   T L S   c o n f i g u r a t i o n   s e c t i o n   i n   a n   I n g r e s s   s p e c i f i e s   d i f f e r e n t   h o s t s ,   t h e y   a r e   m u l t i p l e x e d   o n   t h e   s a m e   p o r t   a c c o r d i n g   t o   t h e   h o s t n a m e   s p e c i f i e d   t h r o u g h   t h e   S N I   T L S   e x t e n s i o n   ( p r o v i d e d   t h e   I n g r e s s   c o n t r o l l e r   s u p p o r t s   S N I ) .   T h e   T L S   s e c r e t   m u s t   c o n t a i n   k e y s   n a m e d   t l s . c r t   a n d   t l s . k e y   t h a t   c o n t a i n   t h e   c e r t i f i c a t e   a n d   p r i v a t e   k e y   t o   u s e   f o r   T L S .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   t e s t s e c r e t - t l s   n a m e s p a c e :   d e f a u l t   d a t a :   t l s . c r t :   b a s e 6 4   e n c o d e d   c e r t   t l s . k e y :   b a s e 6 4   e n c o d e d   k e y   t y p e :   k u b e r n e t e s . i o / t l s   R e f e r e n c i n g   t h i s   s e c r e t   i n   a n   I n g r e s s   t e l l s   t h e   I n g r e s s   c o n t r o l l e r   t o   s e c u r e   t h e   c h a n n e l   f r o m   t h e   c l i e n t   t o   t h e   l o a d   b a l a n c e r   u s i n g   T L S .   Y o u   n e e d   t o   m a k e   s u r e   t h e   T L S   s e c r e t   y o u   c r e a t e d   c a m e   f r o m   a   c e r t i f i c a t e   t h a t   ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_876"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a :   n a m e :   t l s - e x a m p l e - i n g r e s s   s p e c :   t l s :   -   h o s t s :   -   h t t p s - e x a m p l e . f o o . c o m   s e c r e t N a m e :   t e s t s e c r e t - t l s   r u l e s :   -   h o s t :   h t t p s - e x a m p l e . f o o . c o m   h t t p :   p a t h s :   -   p a t h :   /   p a t h T y p e :   P r e f i x   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 1   p o r t :   n u m b e r :   8 0",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_877"
  },
  {
    "question": "What is Load balancing?",
    "answer": "A n   I n g r e s s   c o n t r o l l e r   i s   b o o t s t r a p p e d   w i t h   s o m e   l o a d   b a l a n c i n g   p o l i c y   s e t t i n g s   t h a t   i t   a p p l i e s   t o   a l l   I n g r e s s ,   s u c h   a s   t h e   l o a d   b a l a n c i n g   a l g o r i t h m ,   b a c k e n d   w e i g h t   s c h e m e ,   a n d   o t h e r s .   M o r e   a d v a n c e d   l o a d   b a l a n c i n g   c o n c e p t s   ( e . g .   p e r s i s t e n t   s e s s i o n s ,   d y n a m i c   w e i g h t s )   a r e   n o t   y e t   e x p o s e d   t h r o u g h   t h e   I n g r e s s .   Y o u   c a n   i n s t e a d   g e t   t h e s e   f e a t u r e s   t h r o u g h   t h e   l o a d   b a l a n c e r   u s e d   f o r   a   S e r v i c e .   I t ' s   a l s o   w o r t h   n o t i n g   t h a t   e v e n   t h o u g h   h e a l t h   c h e c k s   a r e   n o t   e x p o s e d   d i r e c t l y   t h r o u g h   t h e   I n g r e s s ,   t h e r e   e x i s t   p a r a l l e l   c o n c e p t s   i n   K u b e r n e t e s   s u c h   a s   r e a d i n e s s   p r o b e s   t h a t   a l l o w   y o u   t o   a c h i e v e   t h e   s a m e   e n d   r e s u l t .   P l e a s e   r e v i e w   t h e   c o n t r o l l e r   s p e c i f i c   d o c u m e n t a t i o n   t o   s e e   h o w   t h e y   h a n d l e   h e a l t h   c h e c k s   ( f o r   e x a m p l e :   n g i n x ,   o r   G C E ) .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_878"
  },
  {
    "question": "What is Updating an Ingress?",
    "answer": "T o   u p d a t e   a n   e x i s t i n g   I n g r e s s   t o   a d d   a   n e w   H o s t ,   y o u   c a n   u p d a t e   i t   b y   e d i t i n g   t h e   r e s o u r c e :   k u b e c t l   d e s c r i b e   i n g r e s s   t e s t   N a m e :   t e s t   N a m e s p a c e :   d e f a u l t   A d d r e s s :   1 7 8 . 9 1 . 1 2 3 . 1 3 2   D e f a u l t   b a c k e n d :   d e f a u l t - h t t p - b a c k e n d : 8 0   ( 1 0 . 8 . 2 . 3 : 8 0 8 0 )   R u l e s :   H o s t   P a t h   B a c k e n d s   - - - -   - - - -   - - - - - - - -   f o o . b a r . c o m   / f o o   s e r v i c e 1 : 8 0   ( 1 0 . 8 . 0 . 9 0 : 8 0 )   A n n o t a t i o n s :   n g i n x . i n g r e s s . k u b e r n e t e s . i o / r e w r i t e - t a r g e t :   /   E v e n t s :   T y p e   R e a s o n   A g e   F r o m   M e s s a g e   - - - -   - - - - - -   - - - -   - - - -   - - - - - - -   N o r m a l   A D D   3 5 s   l o a d b a l a n c e r - c o n t r o l l e r   d e f a u l t / t e s t   k u b e c t l   e d i t   i n g r e s s   t e s t   T h i s   p o p s   u p   a n   e d i t o r   w i t h   t h e   e x i s t i n g   c o n f i g u r a t i o n   i n   Y A M L   f o r m a t .   M o d i f y   i t   t o   i n c l u d e   t h e   n e w   H o s t :   s p e c :   r u l e s :   -   h o s t :   f o o . b a r . c o m   h t t p :   p a t h s :   -   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 1   p o r t :   n u m b e r :   8 0   p a t h :   / f o o   p a t h T y p e :   P r e f i x   -   h o s t :   b a r . b a z . c o m   h t t p :   p a t h s :   -   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 2   p o r t :   n u m b e r :   8 0   p a t h :   / f o o   p a t h T y p e :   P r e f i x   . .   A f t e r   y o u   s a v e   y o u r   c h a n g e s ,   k u b e c t l   u p d a t e s   t h e   r e s o u r c e   i n   t h e   A P I   s e r v e r ,   w h i c h   t e l l s   t h e   I n g r e s s   c o n t r o l l e r   t o   r e c o n f i g u r e ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_879"
  },
  {
    "question": "What is Failing across availability zones?",
    "answer": "T e c h n i q u e s   f o r   s p r e a d i n g   t r a f f i c   a c r o s s   f a i l u r e   d o m a i n s   d i f f e r   b e t w e e n   c l o u d   p r o v i d e r s .   P l e a s e   c h e c k   t h e   d o c u m e n t a t i o n   o f   t h e   r e l e v a n t   I n g r e s s   c o n t r o l l e r   f o r   d e t a i l s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_880"
  },
  {
    "question": "What is Alternatives?",
    "answer": "Y o u   c a n   e x p o s e   a   S e r v i c e   i n   m u l t i p l e   w a y s   t h a t   d o n ' t   d i r e c t l y   i n v o l v e   t h e   I n g r e s s   r e s o u r c e :   U s e   S e r v i c e . T y p e = L o a d B a l a n c e r U s e   S e r v i c e . T y p e = N o d e P o r t",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_881"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   t h e   I n g r e s s   A P I L e a r n   a b o u t   I n g r e s s   c o n t r o l l e r s S e t   u p   I n g r e s s   o n   M i n i k u b e   w i t h   t h e   N G I N X   C o n t r o l l e r",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_882"
  },
  {
    "question": "What is 3 - Ingress Controllers?",
    "answer": "I n   o r d e r   f o r   t h e   I n g r e s s   r e s o u r c e   t o   w o r k ,   t h e   c l u s t e r   m u s t   h a v e   a n   i n g r e s s   c o n t r o l l e r   r u n n i n g .   U n l i k e   o t h e r   t y p e s   o f   c o n t r o l l e r s   w h i c h   r u n   a s   p a r t   o f   t h e   k u b e - c o n t r o l l e r - m a n a g e r   b i n a r y ,   I n g r e s s   c o n t r o l l e r s   a r e   n o t   s t a r t e d   a u t o m a t i c a l l y   w i t h   a   c l u s t e r .   U s e   t h i s   p a g e   t o   c h o o s e   t h e   i n g r e s s   c o n t r o l l e r   i m p l e m e n t a t i o n   t h a t   b e s t   f i t s   y o u r   c l u s t e r .   K u b e r n e t e s   a s   a   p r o j e c t   s u p p o r t s   a n d   m a i n t a i n s   A W S ,   G C E ,   a n d   n g i n x   i n g r e s s   c o n t r o l l e r s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_1_883"
  },
  {
    "question": "What is Additional controllers?",
    "answer": "A K S   A p p l i c a t i o n   G a t e w a y   I n g r e s s   C o n t r o l l e r   i s   a n   i n g r e s s   c o n t r o l l e r   t h a t   c o n f i g u r e s   t h e   A z u r e   A p p l i c a t i o n   G a t e w a y . A l i b a b a   C l o u d   M S E   I n g r e s s   i s   a n   i n g r e s s   c o n t r o l l e r   t h a t   c o n f i g u r e s   t h e   A l i b a b a   C l o u d   N a t i v e   G a t e w a y ,   w h i c h   i s   a l s o   t h e   c o m m e r c i a l   v e r s i o n   o f   H i g r e s s . A p a c h e   A P I S I X   i n g r e s s   c o n t r o l l e r   i s   a n   A p a c h e   A P I S I X - b a s e d   i n g r e s s   c o n t r o l l e r . A v i   K u b e r n e t e s   O p e r a t o r   p r o v i d e s   L 4 - L 7   l o a d - b a l a n c i n g   u s i n g   V M w a r e   N S X   A d v a n c e d   L o a d   B a l a n c e r . B F E   I n g r e s s   C o n t r o l l e r   i s   a   B F E - b a s e d   i n g r e s s   c o n t r o l l e r . C i l i u m   I n g r e s s   C o n t r o l l e r   i s   a n   i n g r e s s   c o n t r o l l e r   p o w e r e d   b y   C i l i u m . T h e   C i t r i x   i n g r e s s   c o n t r o l l e r   w o r k s   w i t h   C i t r i x   A p p l i c a t i o n   D e l i v e r y   C o n t r o l l e r . C o n t o u r   i s   a n   E n v o y   b a s e d   i n g r e s s   c o n t r o l l e r . E m i s s a r y - I n g r e s s   A P I   G a t e w a y   i s   a n   E n v o y - b a s e d   i n g r e s s   c o n t r o l l e r . E n R o u t e   i s   a n   E n v o y   b a s e d   A P I   g a t e w a y   t h a t   c a n   r u n   a s   a n   i n g r e s s   c o n t r o l l e r . E a s e g r e s s   I n g r e s s C o n t r o l l e r   i s   a n   E a s e g r e s s   b a s e d   A P I   g a t e w a y   t h a t   c a n   r u n   a s   a n   i n g r e s s   c o n t r o l l e r . F 5   B I G - I P   C o n t a i n e r   I n g r e s s   S e r v i c e s   f o r   K u b e r n e t e s   l e t s   y o u   u s e   a n   I n g r ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_884"
  },
  {
    "question": "What is Using multiple Ingress controllers?",
    "answer": "Y o u   m a y   d e p l o y   a n y   n u m b e r   o f   i n g r e s s   c o n t r o l l e r s   u s i n g   i n g r e s s   c l a s s   w i t h i n   a   c l u s t e r .   N o t e   t h e   . m e t a d a t a . n a m e   o f   y o u r   i n g r e s s   c l a s s   r e s o u r c e .   W h e n   y o u   c r e a t e   a n   i n g r e s s   y o u   w o u l d   n e e d   t h a t   n a m e   t o   s p e c i f y   t h e   i n g r e s s C l a s s N a m e   f i e l d   o n   y o u r   I n g r e s s   o b j e c t   ( r e f e r   t o   I n g r e s s S p e c   v 1   r e f e r e n c e ) .   i n g r e s s C l a s s N a m e   i s   a   r e p l a c e m e n t   o f   t h e   o l d e r   a n n o t a t i o n   m e t h o d .   I f   y o u   d o   n o t   s p e c i f y   a n   I n g r e s s C l a s s   f o r   a n   I n g r e s s ,   a n d   y o u r   c l u s t e r   h a s   e x a c t l y   o n e   I n g r e s s C l a s s   m a r k e d   a s   d e f a u l t ,   t h e n   K u b e r n e t e s   a p p l i e s   t h e   c l u s t e r ' s   d e f a u l t   I n g r e s s C l a s s   t o   t h e   I n g r e s s .   Y o u   m a r k   a n   I n g r e s s C l a s s   a s   d e f a u l t   b y   s e t t i n g   t h e   i n g r e s s c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s   a n n o t a t i o n   o n   t h a t   I n g r e s s C l a s s ,   w i t h   t h e   s t r i n g   v a l u e   \" t r u e \" .   I d e a l l y ,   a l l   i n g r e s s   c o n t r o l l e r s   s h o u l d   f u l f i l l   t h i s   s p e c i f i c a t i o n ,   b u t   t h e   v a r i o u s   i n g r e s s   c o n t r o l l e r s   o p e r a t e   s l i g h t l y   d i f f e r e n t l y .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_885"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   I n g r e s s . S e t   u p   I n g r e s s   o n   M i n i k u b e   w i t h   t h e   N G I N X   C o n t r o l l e r .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_886"
  },
  {
    "question": "What is 4 - Gateway API?",
    "answer": "M a k e   n e t w o r k   s e r v i c e s   a v a i l a b l e   b y   u s i n g   a n   e x t e n s i b l e ,   r o l e - o r i e n t e d ,   p r o t o c o l - a w a r e   c o n f i g u r a t i o n   m e c h a n i s m .   G a t e w a y   A P I   i s   a n   a d d - o n   c o n t a i n i n g   A P I   k i n d s   t h a t   p r o v i d e   d y n a m i c   i n f r a s t r u c t u r e   p r o v i s i o n i n g   a n d   a d v a n c e d   t r a f f i c   r o u t i n g .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_1_887"
  },
  {
    "question": "What is Design principles?",
    "answer": "T h e   f o l l o w i n g   p r i n c i p l e s   s h a p e d   t h e   d e s i g n   a n d   a r c h i t e c t u r e   o f   G a t e w a y   A P I :   R o l e - o r i e n t e d :   G a t e w a y   A P I   k i n d s   a r e   m o d e l e d   a f t e r   o r g a n i z a t i o n a l   r o l e s   t h a t   a r e   r e s p o n s i b l e   f o r   m a n a g i n g   K u b e r n e t e s   s e r v i c e   n e t w o r k i n g : I n f r a s t r u c t u r e   P r o v i d e r :   M a n a g e s   i n f r a s t r u c t u r e   t h a t   a l l o w s   m u l t i p l e   i s o l a t e d   c l u s t e r s   t o   s e r v e   m u l t i p l e   t e n a n t s ,   e . g .   a   c l o u d   p r o v i d e r . C l u s t e r   O p e r a t o r :   M a n a g e s   c l u s t e r s   a n d   i s   t y p i c a l l y   c o n c e r n e d   w i t h   p o l i c i e s ,   n e t w o r k   a c c e s s ,   a p p l i c a t i o n   p e r m i s s i o n s ,   e t c . A p p l i c a t i o n   D e v e l o p e r :   M a n a g e s   a n   a p p l i c a t i o n   r u n n i n g   i n   a   c l u s t e r   a n d   i s   t y p i c a l l y   c o n c e r n e d   w i t h   a p p l i c a t i o n - l e v e l   c o n f i g u r a t i o n   a n d   S e r v i c e   c o m p o s i t i o n . P o r t a b l e :   G a t e w a y   A P I   s p e c i f i c a t i o n s   a r e   d e f i n e d   a s   c u s t o m   r e s o u r c e s   a n d   a r e   s u p p o r t e d   b y   m a n y   i m p l e m e n t a t i o n s . E x p r e s s i v e :   G a t e w a y   A P I   k i n d s   s u p p o r t   f u n c t i o n a l i t y   f o r   c o m m o n   t r a f f i c   r o u t i n g   u s e   c a s e s   s u c h   a s   h e a d e r - b a s e d   m a t c h i n g ,   t r a f f i c   w e i g h t i n g ,   a n d   o t h e r s   t h a t   w e r e   o n l y   p o s s i b l e   i n   I n g r e s s   b y   u s i n g   c u s t o m   a n n o t a t i o n s . E x t e n s i b l e :   G a t e w a y   a l l o w s   f o r   c u s t o m   r e s o u r c e s   t o   ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_888"
  },
  {
    "question": "What is Resource model?",
    "answer": "G a t e w a y   A P I   h a s   f o u r   s t a b l e   A P I   k i n d s :   G a t e w a y C l a s s :   D e f i n e s   a   s e t   o f   g a t e w a y s   w i t h   c o m m o n   c o n f i g u r a t i o n   a n d   m a n a g e d   b y   a   c o n t r o l l e r   t h a t   i m p l e m e n t s   t h e   c l a s s . G a t e w a y :   D e f i n e s   a n   i n s t a n c e   o f   t r a f f i c   h a n d l i n g   i n f r a s t r u c t u r e ,   s u c h   a s   c l o u d   l o a d   b a l a n c e r . H T T P R o u t e :   D e f i n e s   H T T P - s p e c i f i c   r u l e s   f o r   m a p p i n g   t r a f f i c   f r o m   a   G a t e w a y   l i s t e n e r   t o   a   r e p r e s e n t a t i o n   o f   b a c k e n d   n e t w o r k   e n d p o i n t s .   T h e s e   e n d p o i n t s   a r e   o f t e n   r e p r e s e n t e d   a s   a   S e r v i c e . G R P C R o u t e :   D e f i n e s   g R P C - s p e c i f i c   r u l e s   f o r   m a p p i n g   t r a f f i c   f r o m   a   G a t e w a y   l i s t e n e r   t o   a   r e p r e s e n t a t i o n   o f   b a c k e n d   n e t w o r k   e n d p o i n t s .   T h e s e   e n d p o i n t s   a r e   o f t e n   r e p r e s e n t e d   a s   a   S e r v i c e .   G a t e w a y C l a s s :   D e f i n e s   a   s e t   o f   g a t e w a y s   w i t h   c o m m o n   c o n f i g u r a t i o n   a n d   m a n a g e d   b y   a   c o n t r o l l e r   t h a t   i m p l e m e n t s   t h e   c l a s s .   G a t e w a y :   D e f i n e s   a n   i n s t a n c e   o f   t r a f f i c   h a n d l i n g   i n f r a s t r u c t u r e ,   s u c h   a s   c l o u d   l o a d   b a l a n c e r .   H T T P R o u t e :   D e f i n e s   H T T P - s p e c i f i c   r u l e s   f o r   m a p p i n g   t r a f f i c   f r o m   a   G a t e w a y   l i s t e n e r   t o   a   r e p r e s e n t a t i o n   o f   b a c k e n d   n e t w o r k   e n d p o i n t s .   T h e s e   e n d p o i n t s   a r e   o f t e n   r e p r e ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_889"
  },
  {
    "question": "What is GatewayClass?",
    "answer": "G a t e w a y s   c a n   b e   i m p l e m e n t e d   b y   d i f f e r e n t   c o n t r o l l e r s ,   o f t e n   w i t h   d i f f e r e n t   c o n f i g u r a t i o n s .   A   G a t e w a y   m u s t   r e f e r e n c e   a   G a t e w a y C l a s s   t h a t   c o n t a i n s   t h e   n a m e   o f   t h e   c o n t r o l l e r   t h a t   i m p l e m e n t s   t h e   c l a s s .   A   m i n i m a l   G a t e w a y C l a s s   e x a m p l e :   a p i V e r s i o n :   g a t e w a y . n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   G a t e w a y C l a s s   m e t a d a t a :   n a m e :   e x a m p l e - c l a s s   s p e c :   c o n t r o l l e r N a m e :   e x a m p l e . c o m / g a t e w a y - c o n t r o l l e r   I n   t h i s   e x a m p l e ,   a   c o n t r o l l e r   t h a t   h a s   i m p l e m e n t e d   G a t e w a y   A P I   i s   c o n f i g u r e d   t o   m a n a g e   G a t e w a y C l a s s e s   w i t h   t h e   c o n t r o l l e r   n a m e   e x a m p l e . c o m / g a t e w a y - c o n t r o l l e r .   G a t e w a y s   o f   t h i s   c l a s s   w i l l   b e   m a n a g e d   b y   t h e   i m p l e m e n t a t i o n ' s   c o n t r o l l e r .   S e e   t h e   G a t e w a y C l a s s   r e f e r e n c e   f o r   a   f u l l   d e f i n i t i o n   o f   t h i s   A P I   k i n d .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_890"
  },
  {
    "question": "What is Gateway?",
    "answer": "A   G a t e w a y   d e s c r i b e s   a n   i n s t a n c e   o f   t r a f f i c   h a n d l i n g   i n f r a s t r u c t u r e .   I t   d e f i n e s   a   n e t w o r k   e n d p o i n t   t h a t   c a n   b e   u s e d   f o r   p r o c e s s i n g   t r a f f i c ,   i . e .   f i l t e r i n g ,   b a l a n c i n g ,   s p l i t t i n g ,   e t c .   f o r   b a c k e n d s   s u c h   a s   a   S e r v i c e .   F o r   e x a m p l e ,   a   G a t e w a y   m a y   r e p r e s e n t   a   c l o u d   l o a d   b a l a n c e r   o r   a n   i n - c l u s t e r   p r o x y   s e r v e r   t h a t   i s   c o n f i g u r e d   t o   a c c e p t   H T T P   t r a f f i c .   A   m i n i m a l   G a t e w a y   r e s o u r c e   e x a m p l e :   a p i V e r s i o n :   g a t e w a y . n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   G a t e w a y   m e t a d a t a :   n a m e :   e x a m p l e - g a t e w a y   s p e c :   g a t e w a y C l a s s N a m e :   e x a m p l e - c l a s s   l i s t e n e r s :   -   n a m e :   h t t p   p r o t o c o l :   H T T P   p o r t :   8 0   I n   t h i s   e x a m p l e ,   a n   i n s t a n c e   o f   t r a f f i c   h a n d l i n g   i n f r a s t r u c t u r e   i s   p r o g r a m m e d   t o   l i s t e n   f o r   H T T P   t r a f f i c   o n   p o r t   8 0 .   S i n c e   t h e   a d d r e s s e s   f i e l d   i s   u n s p e c i f i e d ,   a n   a d d r e s s   o r   h o s t n a m e   i s   a s s i g n e d   t o   t h e   G a t e w a y   b y   t h e   i m p l e m e n t a t i o n ' s   c o n t r o l l e r .   T h i s   a d d r e s s   i s   u s e d   a s   a   n e t w o r k   e n d p o i n t   f o r   p r o c e s s i n g   t r a f f i c   o f   b a c k e n d   n e t w o r k   e n d p o i n t s   d e f i n e d   i n   r o u t e s .   S e e   t h e   G a t e w a y   r e f e r e n c e   f o r   a   f u l l   d e f i n i t i o n   o f   t h i s   A P I   k i n d .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_891"
  },
  {
    "question": "What is HTTPRoute?",
    "answer": "T h e   H T T P R o u t e   k i n d   s p e c i f i e s   r o u t i n g   b e h a v i o r   o f   H T T P   r e q u e s t s   f r o m   a   G a t e w a y   l i s t e n e r   t o   b a c k e n d   n e t w o r k   e n d p o i n t s .   F o r   a   S e r v i c e   b a c k e n d ,   a n   i m p l e m e n t a t i o n   m a y   r e p r e s e n t   t h e   b a c k e n d   n e t w o r k   e n d p o i n t   a s   a   S e r v i c e   I P   o r   t h e   b a c k i n g   E n d p o i n t S l i c e s   o f   t h e   S e r v i c e .   A n   H T T P R o u t e   r e p r e s e n t s   c o n f i g u r a t i o n   t h a t   i s   a p p l i e d   t o   t h e   u n d e r l y i n g   G a t e w a y   i m p l e m e n t a t i o n .   F o r   e x a m p l e ,   d e f i n i n g   a   n e w   H T T P R o u t e   m a y   r e s u l t   i n   c o n f i g u r i n g   a d d i t i o n a l   t r a f f i c   r o u t e s   i n   a   c l o u d   l o a d   b a l a n c e r   o r   i n - c l u s t e r   p r o x y   s e r v e r .   A   m i n i m a l   H T T P R o u t e   e x a m p l e :   a p i V e r s i o n :   g a t e w a y . n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   H T T P R o u t e   m e t a d a t a :   n a m e :   e x a m p l e - h t t p r o u t e   s p e c :   p a r e n t R e f s :   -   n a m e :   e x a m p l e - g a t e w a y   h o s t n a m e s :   -   \" w w w . e x a m p l e . c o m \"   r u l e s :   -   m a t c h e s :   -   p a t h :   t y p e :   P a t h P r e f i x   v a l u e :   / l o g i n   b a c k e n d R e f s :   -   n a m e :   e x a m p l e - s v c   p o r t :   8 0 8 0   I n   t h i s   e x a m p l e ,   H T T P   t r a f f i c   f r o m   G a t e w a y   e x a m p l e - g a t e w a y   w i t h   t h e   H o s t :   h e a d e r   s e t   t o   w w w . e x a m p l e . c o m   a n d   t h e   r e q u e s t   p a t h   s p e c i f i e d   a s   / l o g i n   w i l l   b e   r o u t e d   t o   S e r v i c e   e x a m p l e - s v c   o n   p o r t   8 0 8 0 .   S e e   t h e ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_892"
  },
  {
    "question": "What is GRPCRoute?",
    "answer": "T h e   G R P C R o u t e   k i n d   s p e c i f i e s   r o u t i n g   b e h a v i o r   o f   g R P C   r e q u e s t s   f r o m   a   G a t e w a y   l i s t e n e r   t o   b a c k e n d   n e t w o r k   e n d p o i n t s .   F o r   a   S e r v i c e   b a c k e n d ,   a n   i m p l e m e n t a t i o n   m a y   r e p r e s e n t   t h e   b a c k e n d   n e t w o r k   e n d p o i n t   a s   a   S e r v i c e   I P   o r   t h e   b a c k i n g   E n d p o i n t S l i c e s   o f   t h e   S e r v i c e .   A   G R P C R o u t e   r e p r e s e n t s   c o n f i g u r a t i o n   t h a t   i s   a p p l i e d   t o   t h e   u n d e r l y i n g   G a t e w a y   i m p l e m e n t a t i o n .   F o r   e x a m p l e ,   d e f i n i n g   a   n e w   G R P C R o u t e   m a y   r e s u l t   i n   c o n f i g u r i n g   a d d i t i o n a l   t r a f f i c   r o u t e s   i n   a   c l o u d   l o a d   b a l a n c e r   o r   i n - c l u s t e r   p r o x y   s e r v e r .   G a t e w a y s   s u p p o r t i n g   G R P C R o u t e   a r e   r e q u i r e d   t o   s u p p o r t   H T T P / 2   w i t h o u t   a n   i n i t i a l   u p g r a d e   f r o m   H T T P / 1 ,   s o   g R P C   t r a f f i c   i s   g u a r a n t e e d   t o   f l o w   p r o p e r l y .   A   m i n i m a l   G R P C R o u t e   e x a m p l e :   a p i V e r s i o n :   g a t e w a y . n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   G R P C R o u t e   m e t a d a t a :   n a m e :   e x a m p l e - g r p c r o u t e   s p e c :   p a r e n t R e f s :   -   n a m e :   e x a m p l e - g a t e w a y   h o s t n a m e s :   -   \" s v c . e x a m p l e . c o m \"   r u l e s :   -   b a c k e n d R e f s :   -   n a m e :   e x a m p l e - s v c   p o r t :   5 0 0 5 1   I n   t h i s   e x a m p l e ,   g R P C   t r a f f i c   f r o m   G a t e w a y   e x a m p l e - g a t e w a y   w i t h   t h e   h o s t   s e t   t o   s v c . e x a m p l e . c o m   w i l l   b e ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_893"
  },
  {
    "question": "What is Request flow?",
    "answer": "H e r e   i s   a   s i m p l e   e x a m p l e   o f   H T T P   t r a f f i c   b e i n g   r o u t e d   t o   a   S e r v i c e   b y   u s i n g   a   G a t e w a y   a n d   a n   H T T P R o u t e :   I n   t h i s   e x a m p l e ,   t h e   r e q u e s t   f l o w   f o r   a   G a t e w a y   i m p l e m e n t e d   a s   a   r e v e r s e   p r o x y   i s :   T h e   c l i e n t   s t a r t s   t o   p r e p a r e   a n   H T T P   r e q u e s t   f o r   t h e   U R L   h t t p : / / w w w . e x a m p l e . c o m T h e   c l i e n t ' s   D N S   r e s o l v e r   q u e r i e s   f o r   t h e   d e s t i n a t i o n   n a m e   a n d   l e a r n s   a   m a p p i n g   t o   o n e   o r   m o r e   I P   a d d r e s s e s   a s s o c i a t e d   w i t h   t h e   G a t e w a y . T h e   c l i e n t   s e n d s   a   r e q u e s t   t o   t h e   G a t e w a y   I P   a d d r e s s ;   t h e   r e v e r s e   p r o x y   r e c e i v e s   t h e   H T T P   r e q u e s t   a n d   u s e s   t h e   H o s t :   h e a d e r   t o   m a t c h   a   c o n f i g u r a t i o n   t h a t   w a s   d e r i v e d   f r o m   t h e   G a t e w a y   a n d   a t t a c h e d   H T T P R o u t e . O p t i o n a l l y ,   t h e   r e v e r s e   p r o x y   c a n   p e r f o r m   r e q u e s t   h e a d e r   a n d / o r   p a t h   m a t c h i n g   b a s e d   o n   m a t c h   r u l e s   o f   t h e   H T T P R o u t e . O p t i o n a l l y ,   t h e   r e v e r s e   p r o x y   c a n   m o d i f y   t h e   r e q u e s t ;   f o r   e x a m p l e ,   t o   a d d   o r   r e m o v e   h e a d e r s ,   b a s e d   o n   f i l t e r   r u l e s   o f   t h e   H T T P R o u t e . L a s t l y ,   t h e   r e v e r s e   p r o x y   f o r w a r d s   t h e   r e q u e s t   t o   o n e   o r   m o r e   b a c k e n d s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_894"
  },
  {
    "question": "What is Conformance?",
    "answer": "G a t e w a y   A P I   c o v e r s   a   b r o a d   s e t   o f   f e a t u r e s   a n d   i s   w i d e l y   i m p l e m e n t e d .   T h i s   c o m b i n a t i o n   r e q u i r e s   c l e a r   c o n f o r m a n c e   d e f i n i t i o n s   a n d   t e s t s   t o   e n s u r e   t h a t   t h e   A P I   p r o v i d e s   a   c o n s i s t e n t   e x p e r i e n c e   w h e r e v e r   i t   i s   u s e d .   S e e   t h e   c o n f o r m a n c e   d o c u m e n t a t i o n   t o   u n d e r s t a n d   d e t a i l s   s u c h   a s   r e l e a s e   c h a n n e l s ,   s u p p o r t   l e v e l s ,   a n d   r u n n i n g   c o n f o r m a n c e   t e s t s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_895"
  },
  {
    "question": "What is Migrating from Ingress?",
    "answer": "G a t e w a y   A P I   i s   t h e   s u c c e s s o r   t o   t h e   I n g r e s s   A P I .   H o w e v e r ,   i t   d o e s   n o t   i n c l u d e   t h e   I n g r e s s   k i n d .   A s   a   r e s u l t ,   a   o n e - t i m e   c o n v e r s i o n   f r o m   y o u r   e x i s t i n g   I n g r e s s   r e s o u r c e s   t o   G a t e w a y   A P I   r e s o u r c e s   i s   n e c e s s a r y .   R e f e r   t o   t h e   i n g r e s s   m i g r a t i o n   g u i d e   f o r   d e t a i l s   o n   m i g r a t i n g   I n g r e s s   r e s o u r c e s   t o   G a t e w a y   A P I   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_896"
  },
  {
    "question": "What is What's next?",
    "answer": "I n s t e a d   o f   G a t e w a y   A P I   r e s o u r c e s   b e i n g   n a t i v e l y   i m p l e m e n t e d   b y   K u b e r n e t e s ,   t h e   s p e c i f i c a t i o n s   a r e   d e f i n e d   a s   C u s t o m   R e s o u r c e s   s u p p o r t e d   b y   a   w i d e   r a n g e   o f   i m p l e m e n t a t i o n s .   I n s t a l l   t h e   G a t e w a y   A P I   C R D s   o r   f o l l o w   t h e   i n s t a l l a t i o n   i n s t r u c t i o n s   o f   y o u r   s e l e c t e d   i m p l e m e n t a t i o n .   A f t e r   i n s t a l l i n g   a n   i m p l e m e n t a t i o n ,   u s e   t h e   G e t t i n g   S t a r t e d   g u i d e   t o   h e l p   y o u   q u i c k l y   s t a r t   w o r k i n g   w i t h   G a t e w a y   A P I .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_897"
  },
  {
    "question": "What is Note:?",
    "answer": "R e f e r   t o   t h e   A P I   s p e c i f i c a t i o n   f o r   a d d i t i o n a l   d e t a i l s   o f   a l l   G a t e w a y   A P I   k i n d s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_898"
  },
  {
    "question": "What is 5 - EndpointSlices?",
    "answer": "K u b e r n e t e s '   E n d p o i n t S l i c e   A P I   p r o v i d e s   a   w a y   t o   t r a c k   n e t w o r k   e n d p o i n t s   w i t h i n   a   K u b e r n e t e s   c l u s t e r .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_1_899"
  },
  {
    "question": "What is EndpointSlice API?",
    "answer": "I n   K u b e r n e t e s ,   a n   E n d p o i n t S l i c e   c o n t a i n s   r e f e r e n c e s   t o   a   s e t   o f   n e t w o r k   e n d p o i n t s .   T h e   c o n t r o l   p l a n e   a u t o m a t i c a l l y   c r e a t e s   E n d p o i n t S l i c e s   f o r   a n y   K u b e r n e t e s   S e r v i c e   t h a t   h a s   a   s e l e c t o r   s p e c i f i e d .   T h e s e   E n d p o i n t S l i c e s   i n c l u d e   r e f e r e n c e s   t o   a l l   t h e   P o d s   t h a t   m a t c h   t h e   S e r v i c e   s e l e c t o r .   E n d p o i n t S l i c e s   g r o u p   n e t w o r k   e n d p o i n t s   t o g e t h e r   b y   u n i q u e   c o m b i n a t i o n s   o f   I P   f a m i l y ,   p r o t o c o l ,   p o r t   n u m b e r ,   a n d   S e r v i c e   n a m e .   T h e   n a m e   o f   a   E n d p o i n t S l i c e   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   A s   a n   e x a m p l e ,   h e r e ' s   a   s a m p l e   E n d p o i n t S l i c e   o b j e c t ,   t h a t ' s   o w n e d   b y   t h e   e x a m p l e   K u b e r n e t e s   S e r v i c e .   a p i V e r s i o n :   d i s c o v e r y . k 8 s . i o / v 1   k i n d :   E n d p o i n t S l i c e   m e t a d a t a :   n a m e :   e x a m p l e - a b c   l a b e l s :   k u b e r n e t e s . i o / s e r v i c e - n a m e :   e x a m p l e   a d d r e s s T y p e :   I P v 4   p o r t s :   -   n a m e :   h t t p   p r o t o c o l :   T C P   p o r t :   8 0   e n d p o i n t s :   -   a d d r e s s e s :   -   \" 1 0 . 1 . 2 . 3 \"   c o n d i t i o n s :   r e a d y :   t r u e   h o s t n a m e :   p o d - 1   n o d e N a m e :   n o d e - 1   z o n e :   u s - w e s t 2 - a   B y   d e f a u l t ,   t h e   c o n t r o l   p l a n e   c r e a t e s   a n d   m a n a g e s   E n d p o i n t S l i c e s   t o   h a v e   n o   m o r e   t h a n   1 0 0   e n d p o i n t s   e a c h .   Y o u   c a n   c o n f i g u ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_900"
  },
  {
    "question": "What is Address types?",
    "answer": "E n d p o i n t S l i c e s   s u p p o r t   t w o   a d d r e s s   t y p e s :   I P v 4 I P v 6   E a c h   E n d p o i n t S l i c e   o b j e c t   r e p r e s e n t s   a   s p e c i f i c   I P   a d d r e s s   t y p e .   I f   y o u   h a v e   a   S e r v i c e   t h a t   i s   a v a i l a b l e   v i a   I P v 4   a n d   I P v 6 ,   t h e r e   w i l l   b e   a t   l e a s t   t w o   E n d p o i n t S l i c e   o b j e c t s   ( o n e   f o r   I P v 4 ,   a n d   o n e   f o r   I P v 6 ) .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_901"
  },
  {
    "question": "What is Conditions?",
    "answer": "T h e   E n d p o i n t S l i c e   A P I   s t o r e s   c o n d i t i o n s   a b o u t   e n d p o i n t s   t h a t   m a y   b e   u s e f u l   f o r   c o n s u m e r s .   T h e   t h r e e   c o n d i t i o n s   a r e   s e r v i n g ,   t e r m i n a t i n g ,   a n d   r e a d y .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_902"
  },
  {
    "question": "What is Serving?",
    "answer": "T h e   s e r v i n g   c o n d i t i o n   i n d i c a t e s   t h a t   t h e   e n d p o i n t   i s   c u r r e n t l y   s e r v i n g   r e s p o n s e s ,   a n d   s o   i t   s h o u l d   b e   u s e d   a s   a   t a r g e t   f o r   S e r v i c e   t r a f f i c .   F o r   e n d p o i n t s   b a c k e d   b y   a   P o d ,   t h i s   m a p s   t o   t h e   P o d ' s   R e a d y   c o n d i t i o n .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_903"
  },
  {
    "question": "What is Terminating?",
    "answer": "T h e   t e r m i n a t i n g   c o n d i t i o n   i n d i c a t e s   t h a t   t h e   e n d p o i n t   i s   t e r m i n a t i n g .   F o r   e n d p o i n t s   b a c k e d   b y   a   P o d ,   t h i s   c o n d i t i o n   i s   s e t   w h e n   t h e   P o d   i s   f i r s t   d e l e t e d   ( t h a t   i s ,   w h e n   i t   r e c e i v e s   a   d e l e t i o n   t i m e s t a m p ,   b u t   m o s t   l i k e l y   b e f o r e   t h e   P o d ' s   c o n t a i n e r s   e x i t ) .   S e r v i c e   p r o x i e s   w i l l   n o r m a l l y   i g n o r e   e n d p o i n t s   t h a t   a r e   t e r m i n a t i n g ,   b u t   t h e y   m a y   r o u t e   t r a f f i c   t o   e n d p o i n t s   t h a t   a r e   b o t h   s e r v i n g   a n d   t e r m i n a t i n g   i f   a l l   a v a i l a b l e   e n d p o i n t s   a r e   t e r m i n a t i n g .   ( T h i s   h e l p s   t o   e n s u r e   t h a t   n o   S e r v i c e   t r a f f i c   i s   l o s t   d u r i n g   r o l l i n g   u p d a t e s   o f   t h e   u n d e r l y i n g   P o d s . )",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_904"
  },
  {
    "question": "What is Ready?",
    "answer": "T h e   r e a d y   c o n d i t i o n   i s   e s s e n t i a l l y   a   s h o r t c u t   f o r   c h e c k i n g   \" s e r v i n g   a n d   n o t   t e r m i n a t i n g \"   ( t h o u g h   i t   w i l l   a l s o   a l w a y s   b e   t r u e   f o r   S e r v i c e s   w i t h   s p e c . p u b l i s h N o t R e a d y A d d r e s s e s   s e t   t o   t r u e ) .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_905"
  },
  {
    "question": "What is Topology information?",
    "answer": "E a c h   e n d p o i n t   w i t h i n   a n   E n d p o i n t S l i c e   c a n   c o n t a i n   r e l e v a n t   t o p o l o g y   i n f o r m a t i o n .   T h e   t o p o l o g y   i n f o r m a t i o n   i n c l u d e s   t h e   l o c a t i o n   o f   t h e   e n d p o i n t   a n d   i n f o r m a t i o n   a b o u t   t h e   c o r r e s p o n d i n g   N o d e   a n d   z o n e .   T h e s e   a r e   a v a i l a b l e   i n   t h e   f o l l o w i n g   p e r   e n d p o i n t   f i e l d s   o n   E n d p o i n t S l i c e s :   n o d e N a m e   -   T h e   n a m e   o f   t h e   N o d e   t h i s   e n d p o i n t   i s   o n . z o n e   -   T h e   z o n e   t h i s   e n d p o i n t   i s   i n .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_906"
  },
  {
    "question": "What is Management?",
    "answer": "M o s t   o f t e n ,   t h e   c o n t r o l   p l a n e   ( s p e c i f i c a l l y ,   t h e   e n d p o i n t   s l i c e   c o n t r o l l e r )   c r e a t e s   a n d   m a n a g e s   E n d p o i n t S l i c e   o b j e c t s .   T h e r e   a r e   a   v a r i e t y   o f   o t h e r   u s e   c a s e s   f o r   E n d p o i n t S l i c e s ,   s u c h   a s   s e r v i c e   m e s h   i m p l e m e n t a t i o n s ,   t h a t   c o u l d   r e s u l t   i n   o t h e r   e n t i t i e s   o r   c o n t r o l l e r s   m a n a g i n g   a d d i t i o n a l   s e t s   o f   E n d p o i n t S l i c e s .   T o   e n s u r e   t h a t   m u l t i p l e   e n t i t i e s   c a n   m a n a g e   E n d p o i n t S l i c e s   w i t h o u t   i n t e r f e r i n g   w i t h   e a c h   o t h e r ,   K u b e r n e t e s   d e f i n e s   t h e   l a b e l   e n d p o i n t s l i c e . k u b e r n e t e s . i o / m a n a g e d - b y ,   w h i c h   i n d i c a t e s   t h e   e n t i t y   m a n a g i n g   a n   E n d p o i n t S l i c e .   T h e   e n d p o i n t   s l i c e   c o n t r o l l e r   s e t s   e n d p o i n t s l i c e - c o n t r o l l e r . k 8 s . i o   a s   t h e   v a l u e   f o r   t h i s   l a b e l   o n   a l l   E n d p o i n t S l i c e s   i t   m a n a g e s .   O t h e r   e n t i t i e s   m a n a g i n g   E n d p o i n t S l i c e s   s h o u l d   a l s o   s e t   a   u n i q u e   v a l u e   f o r   t h i s   l a b e l .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_907"
  },
  {
    "question": "What is Ownership?",
    "answer": "I n   m o s t   u s e   c a s e s ,   E n d p o i n t S l i c e s   a r e   o w n e d   b y   t h e   S e r v i c e   t h a t   t h e   e n d p o i n t   s l i c e   o b j e c t   t r a c k s   e n d p o i n t s   f o r .   T h i s   o w n e r s h i p   i s   i n d i c a t e d   b y   a n   o w n e r   r e f e r e n c e   o n   e a c h   E n d p o i n t S l i c e   a s   w e l l   a s   a   k u b e r n e t e s . i o / s e r v i c e - n a m e   l a b e l   t h a t   e n a b l e s   s i m p l e   l o o k u p s   o f   a l l   E n d p o i n t S l i c e s   b e l o n g i n g   t o   a   S e r v i c e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_908"
  },
  {
    "question": "What is Distribution of EndpointSlices?",
    "answer": "E a c h   E n d p o i n t S l i c e   h a s   a   s e t   o f   p o r t s   t h a t   a p p l i e s   t o   a l l   e n d p o i n t s   w i t h i n   t h e   r e s o u r c e .   W h e n   n a m e d   p o r t s   a r e   u s e d   f o r   a   S e r v i c e ,   P o d s   m a y   e n d   u p   w i t h   d i f f e r e n t   t a r g e t   p o r t   n u m b e r s   f o r   t h e   s a m e   n a m e d   p o r t ,   r e q u i r i n g   d i f f e r e n t   E n d p o i n t S l i c e s .   T h e   c o n t r o l   p l a n e   t r i e s   t o   f i l l   E n d p o i n t S l i c e s   a s   f u l l   a s   p o s s i b l e ,   b u t   d o e s   n o t   a c t i v e l y   r e b a l a n c e   t h e m .   T h e   l o g i c   i s   f a i r l y   s t r a i g h t f o r w a r d :   I t e r a t e   t h r o u g h   e x i s t i n g   E n d p o i n t S l i c e s ,   r e m o v e   e n d p o i n t s   t h a t   a r e   n o   l o n g e r   d e s i r e d   a n d   u p d a t e   m a t c h i n g   e n d p o i n t s   t h a t   h a v e   c h a n g e d . I t e r a t e   t h r o u g h   E n d p o i n t S l i c e s   t h a t   h a v e   b e e n   m o d i f i e d   i n   t h e   f i r s t   s t e p   a n d   f i l l   t h e m   u p   w i t h   a n y   n e w   e n d p o i n t s   n e e d e d . I f   t h e r e ' s   s t i l l   n e w   e n d p o i n t s   l e f t   t o   a d d ,   t r y   t o   f i t   t h e m   i n t o   a   p r e v i o u s l y   u n c h a n g e d   s l i c e   a n d / o r   c r e a t e   n e w   o n e s .   I m p o r t a n t l y ,   t h e   t h i r d   s t e p   p r i o r i t i z e s   l i m i t i n g   E n d p o i n t S l i c e   u p d a t e s   o v e r   a   p e r f e c t l y   f u l l   d i s t r i b u t i o n   o f   E n d p o i n t S l i c e s .   A s   a n   e x a m p l e ,   i f   t h e r e   a r e   1 0   n e w   e n d p o i n t s   t o   a d d   a n d   2   E n d p o i n t S l i c e s   w i t h   r o o m   f o r   5   m o r e   e n d p o i n t s   e a c h ,   t h i s   a p p r ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_909"
  },
  {
    "question": "What is Duplicate endpoints?",
    "answer": "D u e   t o   t h e   n a t u r e   o f   E n d p o i n t S l i c e   c h a n g e s ,   e n d p o i n t s   m a y   b e   r e p r e s e n t e d   i n   m o r e   t h a n   o n e   E n d p o i n t S l i c e   a t   t h e   s a m e   t i m e .   T h i s   n a t u r a l l y   o c c u r s   a s   c h a n g e s   t o   d i f f e r e n t   E n d p o i n t S l i c e   o b j e c t s   c a n   a r r i v e   a t   t h e   K u b e r n e t e s   c l i e n t   w a t c h   /   c a c h e   a t   d i f f e r e n t   t i m e s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_910"
  },
  {
    "question": "What is Note:?",
    "answer": "C l i e n t s   o f   t h e   E n d p o i n t S l i c e   A P I   m u s t   i t e r a t e   t h r o u g h   a l l   t h e   e x i s t i n g   E n d p o i n t S l i c e s   a s s o c i a t e d   t o   a   S e r v i c e   a n d   b u i l d   a   c o m p l e t e   l i s t   o f   u n i q u e   n e t w o r k   e n d p o i n t s .   I t   i s   i m p o r t a n t   t o   m e n t i o n   t h a t   e n d p o i n t s   m a y   b e   d u p l i c a t e d   i n   d i f f e r e n t   E n d p o i n t S l i c e s .   Y o u   c a n   f i n d   a   r e f e r e n c e   i m p l e m e n t a t i o n   f o r   h o w   t o   p e r f o r m   t h i s   e n d p o i n t   a g g r e g a t i o n   a n d   d e d u p l i c a t i o n   a s   p a r t   o f   t h e   E n d p o i n t S l i c e C a c h e   c o d e   w i t h i n   k u b e - p r o x y .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_911"
  },
  {
    "question": "What is EndpointSlice mirroring?",
    "answer": "T h e   E n d p o i n t S l i c e   A P I   i s   a   r e p l a c e m e n t   f o r   t h e   o l d e r   E n d p o i n t s   A P I .   T o   p r e s e r v e   c o m p a t i b i l i t y   w i t h   o l d e r   c o n t r o l l e r s   a n d   u s e r   w o r k l o a d s   t h a t   e x p e c t   k u b e - p r o x y   t o   r o u t e   t r a f f i c   b a s e d   o n   E n d p o i n t s   r e s o u r c e s ,   t h e   c l u s t e r ' s   c o n t r o l   p l a n e   m i r r o r s   m o s t   u s e r - c r e a t e d   E n d p o i n t s   r e s o u r c e s   t o   c o r r e s p o n d i n g   E n d p o i n t S l i c e s .   ( H o w e v e r ,   t h i s   f e a t u r e ,   l i k e   t h e   r e s t   o f   t h e   E n d p o i n t s   A P I ,   i s   d e p r e c a t e d .   U s e r s   w h o   m a n u a l l y   s p e c i f y   e n d p o i n t s   f o r   s e l e c t o r l e s s   S e r v i c e s   s h o u l d   d o   s o   b y   c r e a t i n g   E n d p o i n t S l i c e   r e s o u r c e s   d i r e c t l y ,   r a t h e r   t h a n   b y   c r e a t i n g   E n d p o i n t s   r e s o u r c e s   a n d   a l l o w i n g   t h e m   t o   b e   m i r r o r e d . )   T h e   c o n t r o l   p l a n e   m i r r o r s   E n d p o i n t s   r e s o u r c e s   u n l e s s :   t h e   E n d p o i n t s   r e s o u r c e   h a s   a   e n d p o i n t s l i c e . k u b e r n e t e s . i o / s k i p - m i r r o r   l a b e l   s e t   t o   t r u e . t h e   E n d p o i n t s   r e s o u r c e   h a s   a   c o n t r o l - p l a n e . a l p h a . k u b e r n e t e s . i o / l e a d e r   a n n o t a t i o n . t h e   c o r r e s p o n d i n g   S e r v i c e   r e s o u r c e   d o e s   n o t   e x i s t . t h e   c o r r e s p o n d i n g   S e r v i c e   r e s o u r c e   h a s   a   n o n - n i l   s e l e c t o r .   I n d i v i d u a l   E n d p o i n t s   r e s o u r c e s   m a y   t r a n s l a t e   i n t o   m u l t i p l e   E n d p o i n t S l i c e s .   T h i s   ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_912"
  },
  {
    "question": "What is What's next?",
    "answer": "F o l l o w   t h e   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s   t u t o r i a l R e a d   t h e   A P I   r e f e r e n c e   f o r   t h e   E n d p o i n t S l i c e   A P I R e a d   t h e   A P I   r e f e r e n c e   f o r   t h e   E n d p o i n t s   A P I",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_913"
  },
  {
    "question": "What is 6 - Network Policies?",
    "answer": "I f   y o u   w a n t   t o   c o n t r o l   t r a f f i c   f l o w   a t   t h e   I P   a d d r e s s   o r   p o r t   l e v e l   f o r   T C P ,   U D P ,   a n d   S C T P   p r o t o c o l s ,   t h e n   y o u   m i g h t   c o n s i d e r   u s i n g   K u b e r n e t e s   N e t w o r k P o l i c i e s   f o r   p a r t i c u l a r   a p p l i c a t i o n s   i n   y o u r   c l u s t e r .   N e t w o r k P o l i c i e s   a r e   a n   a p p l i c a t i o n - c e n t r i c   c o n s t r u c t   w h i c h   a l l o w   y o u   t o   s p e c i f y   h o w   a   p o d   i s   a l l o w e d   t o   c o m m u n i c a t e   w i t h   v a r i o u s   n e t w o r k   \" e n t i t i e s \"   ( w e   u s e   t h e   w o r d   \" e n t i t y \"   h e r e   t o   a v o i d   o v e r l o a d i n g   t h e   m o r e   c o m m o n   t e r m s   s u c h   a s   \" e n d p o i n t s \"   a n d   \" s e r v i c e s \" ,   w h i c h   h a v e   s p e c i f i c   K u b e r n e t e s   c o n n o t a t i o n s )   o v e r   t h e   n e t w o r k .   N e t w o r k P o l i c i e s   a p p l y   t o   a   c o n n e c t i o n   w i t h   a   p o d   o n   o n e   o r   b o t h   e n d s ,   a n d   a r e   n o t   r e l e v a n t   t o   o t h e r   c o n n e c t i o n s .   T h e   e n t i t i e s   t h a t   a   P o d   c a n   c o m m u n i c a t e   w i t h   a r e   i d e n t i f i e d   t h r o u g h   a   c o m b i n a t i o n   o f   t h e   f o l l o w i n g   t h r e e   i d e n t i f i e r s :   O t h e r   p o d s   t h a t   a r e   a l l o w e d   ( e x c e p t i o n :   a   p o d   c a n n o t   b l o c k   a c c e s s   t o   i t s e l f ) N a m e s p a c e s   t h a t   a r e   a l l o w e d I P   b l o c k s   ( e x c e p t i o n :   t r a f f i c   t o   a n d   f r o m   t h e   n o d e   w h e r e   a   P o d   i s   r u n n i n g   i s   a l w a y s   a l l o w e d ,   r e g a r d l e s s   o f   t h e   I P   a d d r e s s   o f   t h e   P o d   o r   t h e   n ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_1_914"
  },
  {
    "question": "What is Prerequisites?",
    "answer": "N e t w o r k   p o l i c i e s   a r e   i m p l e m e n t e d   b y   t h e   n e t w o r k   p l u g i n .   T o   u s e   n e t w o r k   p o l i c i e s ,   y o u   m u s t   b e   u s i n g   a   n e t w o r k i n g   s o l u t i o n   w h i c h   s u p p o r t s   N e t w o r k P o l i c y .   C r e a t i n g   a   N e t w o r k P o l i c y   r e s o u r c e   w i t h o u t   a   c o n t r o l l e r   t h a t   i m p l e m e n t s   i t   w i l l   h a v e   n o   e f f e c t .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_915"
  },
  {
    "question": "What is The two sorts of pod isolation?",
    "answer": "T h e r e   a r e   t w o   s o r t s   o f   i s o l a t i o n   f o r   a   p o d :   i s o l a t i o n   f o r   e g r e s s ,   a n d   i s o l a t i o n   f o r   i n g r e s s .   T h e y   c o n c e r n   w h a t   c o n n e c t i o n s   m a y   b e   e s t a b l i s h e d .   \" I s o l a t i o n \"   h e r e   i s   n o t   a b s o l u t e ,   r a t h e r   i t   m e a n s   \" s o m e   r e s t r i c t i o n s   a p p l y \" .   T h e   a l t e r n a t i v e ,   \" n o n - i s o l a t e d   f o r   $ d i r e c t i o n \" ,   m e a n s   t h a t   n o   r e s t r i c t i o n s   a p p l y   i n   t h e   s t a t e d   d i r e c t i o n .   T h e   t w o   s o r t s   o f   i s o l a t i o n   ( o r   n o t )   a r e   d e c l a r e d   i n d e p e n d e n t l y ,   a n d   a r e   b o t h   r e l e v a n t   f o r   a   c o n n e c t i o n   f r o m   o n e   p o d   t o   a n o t h e r .   B y   d e f a u l t ,   a   p o d   i s   n o n - i s o l a t e d   f o r   e g r e s s ;   a l l   o u t b o u n d   c o n n e c t i o n s   a r e   a l l o w e d .   A   p o d   i s   i s o l a t e d   f o r   e g r e s s   i f   t h e r e   i s   a n y   N e t w o r k P o l i c y   t h a t   b o t h   s e l e c t s   t h e   p o d   a n d   h a s   \" E g r e s s \"   i n   i t s   p o l i c y T y p e s ;   w e   s a y   t h a t   s u c h   a   p o l i c y   a p p l i e s   t o   t h e   p o d   f o r   e g r e s s .   W h e n   a   p o d   i s   i s o l a t e d   f o r   e g r e s s ,   t h e   o n l y   a l l o w e d   c o n n e c t i o n s   f r o m   t h e   p o d   a r e   t h o s e   a l l o w e d   b y   t h e   e g r e s s   l i s t   o f   s o m e   N e t w o r k P o l i c y   t h a t   a p p l i e s   t o   t h e   p o d   f o r   e g r e s s .   R e p l y   t r a f f i c   f o r   t h o s e   a l l o w e d   c o n n e c t i o n s   w i l l   a l s o   b e   i m p l i c i t l y   a l l o w e d .   T h e   e f f e c t s   o f   t h o s e   e g r e s s   l i s t s   ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_916"
  },
  {
    "question": "What is The NetworkPolicy resource?",
    "answer": "S e e   t h e   N e t w o r k P o l i c y   r e f e r e n c e   f o r   a   f u l l   d e f i n i t i o n   o f   t h e   r e s o u r c e .   A n   e x a m p l e   N e t w o r k P o l i c y   m i g h t   l o o k   l i k e   t h i s :   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a :   n a m e :   t e s t - n e t w o r k - p o l i c y   n a m e s p a c e :   d e f a u l t   s p e c :   p o d S e l e c t o r :   m a t c h L a b e l s :   r o l e :   d b   p o l i c y T y p e s :   -   I n g r e s s   -   E g r e s s   i n g r e s s :   -   f r o m :   -   i p B l o c k :   c i d r :   1 7 2 . 1 7 . 0 . 0 / 1 6   e x c e p t :   -   1 7 2 . 1 7 . 1 . 0 / 2 4   -   n a m e s p a c e S e l e c t o r :   m a t c h L a b e l s :   p r o j e c t :   m y p r o j e c t   -   p o d S e l e c t o r :   m a t c h L a b e l s :   r o l e :   f r o n t e n d   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   6 3 7 9   e g r e s s :   -   t o :   -   i p B l o c k :   c i d r :   1 0 . 0 . 0 . 0 / 2 4   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   5 9 7 8",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_917"
  },
  {
    "question": "What is Note:?",
    "answer": "M a n d a t o r y   F i e l d s :   A s   w i t h   a l l   o t h e r   K u b e r n e t e s   c o n f i g ,   a   N e t w o r k P o l i c y   n e e d s   a p i V e r s i o n ,   k i n d ,   a n d   m e t a d a t a   f i e l d s .   F o r   g e n e r a l   i n f o r m a t i o n   a b o u t   w o r k i n g   w i t h   c o n f i g   f i l e s ,   s e e   C o n f i g u r e   a   P o d   t o   U s e   a   C o n f i g M a p ,   a n d   O b j e c t   M a n a g e m e n t .   s p e c :   N e t w o r k P o l i c y   s p e c   h a s   a l l   t h e   i n f o r m a t i o n   n e e d e d   t o   d e f i n e   a   p a r t i c u l a r   n e t w o r k   p o l i c y   i n   t h e   g i v e n   n a m e s p a c e .   p o d S e l e c t o r :   E a c h   N e t w o r k P o l i c y   i n c l u d e s   a   p o d S e l e c t o r   w h i c h   s e l e c t s   t h e   g r o u p i n g   o f   p o d s   t o   w h i c h   t h e   p o l i c y   a p p l i e s .   T h e   e x a m p l e   p o l i c y   s e l e c t s   p o d s   w i t h   t h e   l a b e l   \" r o l e = d b \" .   A n   e m p t y   p o d S e l e c t o r   s e l e c t s   a l l   p o d s   i n   t h e   n a m e s p a c e .   p o l i c y T y p e s :   E a c h   N e t w o r k P o l i c y   i n c l u d e s   a   p o l i c y T y p e s   l i s t   w h i c h   m a y   i n c l u d e   e i t h e r   I n g r e s s ,   E g r e s s ,   o r   b o t h .   T h e   p o l i c y T y p e s   f i e l d   i n d i c a t e s   w h e t h e r   o r   n o t   t h e   g i v e n   p o l i c y   a p p l i e s   t o   i n g r e s s   t r a f f i c   t o   s e l e c t e d   p o d ,   e g r e s s   t r a f f i c   f r o m   s e l e c t e d   p o d s ,   o r   b o t h .   I f   n o   p o l i c y T y p e s   a r e   s p e c i f i e d   o n   a   N e t w o r k P o l i c y   t h e n   b y   d e f a u l t   I n g r e s s   w i l l   a l w a y s   b e   s e t   a n d   E g r e s s   w i l l   b e   s e t   i f   t h e   N e t w o r k P o l i c y   h a s   a n y   e g r e ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_918"
  },
  {
    "question": "What is Behavior of to and from selectors?",
    "answer": "T h e r e   a r e   f o u r   k i n d s   o f   s e l e c t o r s   t h a t   c a n   b e   s p e c i f i e d   i n   a n   i n g r e s s   f r o m   s e c t i o n   o r   e g r e s s   t o   s e c t i o n :   p o d S e l e c t o r :   T h i s   s e l e c t s   p a r t i c u l a r   P o d s   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   N e t w o r k P o l i c y   w h i c h   s h o u l d   b e   a l l o w e d   a s   i n g r e s s   s o u r c e s   o r   e g r e s s   d e s t i n a t i o n s .   n a m e s p a c e S e l e c t o r :   T h i s   s e l e c t s   p a r t i c u l a r   n a m e s p a c e s   f o r   w h i c h   a l l   P o d s   s h o u l d   b e   a l l o w e d   a s   i n g r e s s   s o u r c e s   o r   e g r e s s   d e s t i n a t i o n s .   n a m e s p a c e S e l e c t o r   a n d   p o d S e l e c t o r :   A   s i n g l e   t o / f r o m   e n t r y   t h a t   s p e c i f i e s   b o t h   n a m e s p a c e S e l e c t o r   a n d   p o d S e l e c t o r   s e l e c t s   p a r t i c u l a r   P o d s   w i t h i n   p a r t i c u l a r   n a m e s p a c e s .   B e   c a r e f u l   t o   u s e   c o r r e c t   Y A M L   s y n t a x .   F o r   e x a m p l e :   . . .   i n g r e s s :   -   f r o m :   -   n a m e s p a c e S e l e c t o r :   m a t c h L a b e l s :   u s e r :   a l i c e   p o d S e l e c t o r :   m a t c h L a b e l s :   r o l e :   c l i e n t   . . .   T h i s   p o l i c y   c o n t a i n s   a   s i n g l e   f r o m   e l e m e n t   a l l o w i n g   c o n n e c t i o n s   f r o m   P o d s   w i t h   t h e   l a b e l   r o l e = c l i e n t   i n   n a m e s p a c e s   w i t h   t h e   l a b e l   u s e r = a l i c e .   B u t   t h e   f o l l o w i n g   p o l i c y   i s   d i f f e r e n t :   . . .   i n g r e s s :   -   f r o m :   -   n a m e s p a c e S e l e c t o r :   m a t c h L a b e l s :   u s e r :   a l i c e   -   p o d S e l e c t o r :   m a t c h L a b e l s :   r o l e : ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_919"
  },
  {
    "question": "What is Default policies?",
    "answer": "B y   d e f a u l t ,   i f   n o   p o l i c i e s   e x i s t   i n   a   n a m e s p a c e ,   t h e n   a l l   i n g r e s s   a n d   e g r e s s   t r a f f i c   i s   a l l o w e d   t o   a n d   f r o m   p o d s   i n   t h a t   n a m e s p a c e .   T h e   f o l l o w i n g   e x a m p l e s   l e t   y o u   c h a n g e   t h e   d e f a u l t   b e h a v i o r   i n   t h a t   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_920"
  },
  {
    "question": "What is Default deny all ingress traffic?",
    "answer": "Y o u   c a n   c r e a t e   a   \" d e f a u l t \"   i n g r e s s   i s o l a t i o n   p o l i c y   f o r   a   n a m e s p a c e   b y   c r e a t i n g   a   N e t w o r k P o l i c y   t h a t   s e l e c t s   a l l   p o d s   b u t   d o e s   n o t   a l l o w   a n y   i n g r e s s   t r a f f i c   t o   t h o s e   p o d s .   - - -   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a :   n a m e :   d e f a u l t - d e n y - i n g r e s s   s p e c :   p o d S e l e c t o r :   { }   p o l i c y T y p e s :   -   I n g r e s s   T h i s   e n s u r e s   t h a t   e v e n   p o d s   t h a t   a r e n ' t   s e l e c t e d   b y   a n y   o t h e r   N e t w o r k P o l i c y   w i l l   s t i l l   b e   i s o l a t e d   f o r   i n g r e s s .   T h i s   p o l i c y   d o e s   n o t   a f f e c t   i s o l a t i o n   f o r   e g r e s s   f r o m   a n y   p o d .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_921"
  },
  {
    "question": "What is Allow all ingress traffic?",
    "answer": "I f   y o u   w a n t   t o   a l l o w   a l l   i n c o m i n g   c o n n e c t i o n s   t o   a l l   p o d s   i n   a   n a m e s p a c e ,   y o u   c a n   c r e a t e   a   p o l i c y   t h a t   e x p l i c i t l y   a l l o w s   t h a t .   - - -   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a :   n a m e :   a l l o w - a l l - i n g r e s s   s p e c :   p o d S e l e c t o r :   { }   i n g r e s s :   -   { }   p o l i c y T y p e s :   -   I n g r e s s   W i t h   t h i s   p o l i c y   i n   p l a c e ,   n o   a d d i t i o n a l   p o l i c y   o r   p o l i c i e s   c a n   c a u s e   a n y   i n c o m i n g   c o n n e c t i o n   t o   t h o s e   p o d s   t o   b e   d e n i e d .   T h i s   p o l i c y   h a s   n o   e f f e c t   o n   i s o l a t i o n   f o r   e g r e s s   f r o m   a n y   p o d .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_922"
  },
  {
    "question": "What is Default deny all egress traffic?",
    "answer": "Y o u   c a n   c r e a t e   a   \" d e f a u l t \"   e g r e s s   i s o l a t i o n   p o l i c y   f o r   a   n a m e s p a c e   b y   c r e a t i n g   a   N e t w o r k P o l i c y   t h a t   s e l e c t s   a l l   p o d s   b u t   d o e s   n o t   a l l o w   a n y   e g r e s s   t r a f f i c   f r o m   t h o s e   p o d s .   - - -   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a :   n a m e :   d e f a u l t - d e n y - e g r e s s   s p e c :   p o d S e l e c t o r :   { }   p o l i c y T y p e s :   -   E g r e s s   T h i s   e n s u r e s   t h a t   e v e n   p o d s   t h a t   a r e n ' t   s e l e c t e d   b y   a n y   o t h e r   N e t w o r k P o l i c y   w i l l   n o t   b e   a l l o w e d   e g r e s s   t r a f f i c .   T h i s   p o l i c y   d o e s   n o t   c h a n g e   t h e   i n g r e s s   i s o l a t i o n   b e h a v i o r   o f   a n y   p o d .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_923"
  },
  {
    "question": "What is Allow all egress traffic?",
    "answer": "I f   y o u   w a n t   t o   a l l o w   a l l   c o n n e c t i o n s   f r o m   a l l   p o d s   i n   a   n a m e s p a c e ,   y o u   c a n   c r e a t e   a   p o l i c y   t h a t   e x p l i c i t l y   a l l o w s   a l l   o u t g o i n g   c o n n e c t i o n s   f r o m   p o d s   i n   t h a t   n a m e s p a c e .   - - -   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a :   n a m e :   a l l o w - a l l - e g r e s s   s p e c :   p o d S e l e c t o r :   { }   e g r e s s :   -   { }   p o l i c y T y p e s :   -   E g r e s s   W i t h   t h i s   p o l i c y   i n   p l a c e ,   n o   a d d i t i o n a l   p o l i c y   o r   p o l i c i e s   c a n   c a u s e   a n y   o u t g o i n g   c o n n e c t i o n   f r o m   t h o s e   p o d s   t o   b e   d e n i e d .   T h i s   p o l i c y   h a s   n o   e f f e c t   o n   i s o l a t i o n   f o r   i n g r e s s   t o   a n y   p o d .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_924"
  },
  {
    "question": "What is Default deny all ingress and all egress traffic?",
    "answer": "Y o u   c a n   c r e a t e   a   \" d e f a u l t \"   p o l i c y   f o r   a   n a m e s p a c e   w h i c h   p r e v e n t s   a l l   i n g r e s s   A N D   e g r e s s   t r a f f i c   b y   c r e a t i n g   t h e   f o l l o w i n g   N e t w o r k P o l i c y   i n   t h a t   n a m e s p a c e .   - - -   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a :   n a m e :   d e f a u l t - d e n y - a l l   s p e c :   p o d S e l e c t o r :   { }   p o l i c y T y p e s :   -   I n g r e s s   -   E g r e s s   T h i s   e n s u r e s   t h a t   e v e n   p o d s   t h a t   a r e n ' t   s e l e c t e d   b y   a n y   o t h e r   N e t w o r k P o l i c y   w i l l   n o t   b e   a l l o w e d   i n g r e s s   o r   e g r e s s   t r a f f i c .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_925"
  },
  {
    "question": "What is Network traffic filtering?",
    "answer": "N e t w o r k P o l i c y   i s   d e f i n e d   f o r   l a y e r   4   c o n n e c t i o n s   ( T C P ,   U D P ,   a n d   o p t i o n a l l y   S C T P ) .   F o r   a l l   t h e   o t h e r   p r o t o c o l s ,   t h e   b e h a v i o u r   m a y   v a r y   a c r o s s   n e t w o r k   p l u g i n s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_926"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   a   d e n y   a l l   n e t w o r k   p o l i c y   i s   d e f i n e d ,   i t   i s   o n l y   g u a r a n t e e d   t o   d e n y   T C P ,   U D P   a n d   S C T P   c o n n e c t i o n s .   F o r   o t h e r   p r o t o c o l s ,   s u c h   a s   A R P   o r   I C M P ,   t h e   b e h a v i o u r   i s   u n d e f i n e d .   T h e   s a m e   a p p l i e s   t o   a l l o w   r u l e s :   w h e n   a   s p e c i f i c   p o d   i s   a l l o w e d   a s   i n g r e s s   s o u r c e   o r   e g r e s s   d e s t i n a t i o n ,   i t   i s   u n d e f i n e d   w h a t   h a p p e n s   w i t h   ( f o r   e x a m p l e )   I C M P   p a c k e t s .   P r o t o c o l s   s u c h   a s   I C M P   m a y   b e   a l l o w e d   b y   s o m e   n e t w o r k   p l u g i n s   a n d   d e n i e d   b y   o t h e r s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_927"
  },
  {
    "question": "What is Targeting a range of ports?",
    "answer": "W h e n   w r i t i n g   a   N e t w o r k P o l i c y ,   y o u   c a n   t a r g e t   a   r a n g e   o f   p o r t s   i n s t e a d   o f   a   s i n g l e   p o r t .   T h i s   i s   a c h i e v a b l e   w i t h   t h e   u s a g e   o f   t h e   e n d P o r t   f i e l d ,   a s   t h e   f o l l o w i n g   e x a m p l e :   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a :   n a m e :   m u l t i - p o r t - e g r e s s   n a m e s p a c e :   d e f a u l t   s p e c :   p o d S e l e c t o r :   m a t c h L a b e l s :   r o l e :   d b   p o l i c y T y p e s :   -   E g r e s s   e g r e s s :   -   t o :   -   i p B l o c k :   c i d r :   1 0 . 0 . 0 . 0 / 2 4   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   3 2 0 0 0   e n d P o r t :   3 2 7 6 8   T h e   a b o v e   r u l e   a l l o w s   a n y   P o d   w i t h   l a b e l   r o l e = d b   o n   t h e   n a m e s p a c e   d e f a u l t   t o   c o m m u n i c a t e   w i t h   a n y   I P   w i t h i n   t h e   r a n g e   1 0 . 0 . 0 . 0 / 2 4   o v e r   T C P ,   p r o v i d e d   t h a t   t h e   t a r g e t   p o r t   i s   b e t w e e n   t h e   r a n g e   3 2 0 0 0   a n d   3 2 7 6 8 .   T h e   f o l l o w i n g   r e s t r i c t i o n s   a p p l y   w h e n   u s i n g   t h i s   f i e l d :   T h e   e n d P o r t   f i e l d   m u s t   b e   e q u a l   t o   o r   g r e a t e r   t h a n   t h e   p o r t   f i e l d . e n d P o r t   c a n   o n l y   b e   d e f i n e d   i f   p o r t   i s   a l s o   d e f i n e d . B o t h   p o r t s   m u s t   b e   n u m e r i c .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_928"
  },
  {
    "question": "What is Targeting multiple namespaces by label?",
    "answer": "I n   t h i s   s c e n a r i o ,   y o u r   E g r e s s   N e t w o r k P o l i c y   t a r g e t s   m o r e   t h a n   o n e   n a m e s p a c e   u s i n g   t h e i r   l a b e l   n a m e s .   F o r   t h i s   t o   w o r k ,   y o u   n e e d   t o   l a b e l   t h e   t a r g e t   n a m e s p a c e s .   F o r   e x a m p l e :   k u b e c t l   l a b e l   n a m e s p a c e   f r o n t e n d   n a m e s p a c e = f r o n t e n d   k u b e c t l   l a b e l   n a m e s p a c e   b a c k e n d   n a m e s p a c e = b a c k e n d   A d d   t h e   l a b e l s   u n d e r   n a m e s p a c e S e l e c t o r   i n   y o u r   N e t w o r k P o l i c y   d o c u m e n t .   F o r   e x a m p l e :   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a :   n a m e :   e g r e s s - n a m e s p a c e s   s p e c :   p o d S e l e c t o r :   m a t c h L a b e l s :   a p p :   m y a p p   p o l i c y T y p e s :   -   E g r e s s   e g r e s s :   -   t o :   -   n a m e s p a c e S e l e c t o r :   m a t c h E x p r e s s i o n s :   -   k e y :   n a m e s p a c e   o p e r a t o r :   I n   v a l u e s :   [ \" f r o n t e n d \" ,   \" b a c k e n d \" ]",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_929"
  },
  {
    "question": "What is Targeting a Namespace by its name?",
    "answer": "T h e   K u b e r n e t e s   c o n t r o l   p l a n e   s e t s   a n   i m m u t a b l e   l a b e l   k u b e r n e t e s . i o / m e t a d a t a . n a m e   o n   a l l   n a m e s p a c e s ,   t h e   v a l u e   o f   t h e   l a b e l   i s   t h e   n a m e s p a c e   n a m e .   W h i l e   N e t w o r k P o l i c y   c a n n o t   t a r g e t   a   n a m e s p a c e   b y   i t s   n a m e   w i t h   s o m e   o b j e c t   f i e l d ,   y o u   c a n   u s e   t h e   s t a n d a r d i z e d   l a b e l   t o   t a r g e t   a   s p e c i f i c   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_930"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   a   n e w   N e t w o r k P o l i c y   o b j e c t   i s   c r e a t e d ,   i t   m a y   t a k e   s o m e   t i m e   f o r   a   n e t w o r k   p l u g i n   t o   h a n d l e   t h e   n e w   o b j e c t .   I f   a   p o d   t h a t   i s   a f f e c t e d   b y   a   N e t w o r k P o l i c y   i s   c r e a t e d   b e f o r e   t h e   n e t w o r k   p l u g i n   h a s   c o m p l e t e d   N e t w o r k P o l i c y   h a n d l i n g ,   t h a t   p o d   m a y   b e   s t a r t e d   u n p r o t e c t e d ,   a n d   i s o l a t i o n   r u l e s   w i l l   b e   a p p l i e d   w h e n   t h e   N e t w o r k P o l i c y   h a n d l i n g   i s   c o m p l e t e d .   O n c e   t h e   N e t w o r k P o l i c y   i s   h a n d l e d   b y   a   n e t w o r k   p l u g i n ,   A l l   n e w l y   c r e a t e d   p o d s   a f f e c t e d   b y   a   g i v e n   N e t w o r k P o l i c y   w i l l   b e   i s o l a t e d   b e f o r e   t h e y   a r e   s t a r t e d .   I m p l e m e n t a t i o n s   o f   N e t w o r k P o l i c y   m u s t   e n s u r e   t h a t   f i l t e r i n g   i s   e f f e c t i v e   t h r o u g h o u t   t h e   P o d   l i f e c y c l e ,   e v e n   f r o m   t h e   v e r y   f i r s t   i n s t a n t   t h a t   a n y   c o n t a i n e r   i n   t h a t   P o d   i s   s t a r t e d .   B e c a u s e   t h e y   a r e   a p p l i e d   a t   P o d   l e v e l ,   N e t w o r k P o l i c i e s   a p p l y   e q u a l l y   t o   i n i t   c o n t a i n e r s ,   s i d e c a r   c o n t a i n e r s ,   a n d   r e g u l a r   c o n t a i n e r s . A l l o w   r u l e s   w i l l   b e   a p p l i e d   e v e n t u a l l y   a f t e r   t h e   i s o l a t i o n   r u l e s   ( o r   m a y   b e   a p p l i e d   a t   t h e   s a m e   t i m e ) .   I n   t h e   w o r s t   c a s e ,   a   n e w l y   c r e a t e d   p o d   m a y   h a v e   n o   n e t w o r k   c o n n e c t i v i t y   a t   a l l   w ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_931"
  },
  {
    "question": "What is NetworkPolicy and hostNetwork pods?",
    "answer": "N e t w o r k P o l i c y   b e h a v i o u r   f o r   h o s t N e t w o r k   p o d s   i s   u n d e f i n e d ,   b u t   i t   s h o u l d   b e   l i m i t e d   t o   2   p o s s i b i l i t i e s :   T h e   n e t w o r k   p l u g i n   c a n   d i s t i n g u i s h   h o s t N e t w o r k   p o d   t r a f f i c   f r o m   a l l   o t h e r   t r a f f i c   ( i n c l u d i n g   b e i n g   a b l e   t o   d i s t i n g u i s h   t r a f f i c   f r o m   d i f f e r e n t   h o s t N e t w o r k   p o d s   o n   t h e   s a m e   n o d e ) ,   a n d   w i l l   a p p l y   N e t w o r k P o l i c y   t o   h o s t N e t w o r k   p o d s   j u s t   l i k e   i t   d o e s   t o   p o d - n e t w o r k   p o d s . T h e   n e t w o r k   p l u g i n   c a n n o t   p r o p e r l y   d i s t i n g u i s h   h o s t N e t w o r k   p o d   t r a f f i c ,   a n d   s o   i t   i g n o r e s   h o s t N e t w o r k   p o d s   w h e n   m a t c h i n g   p o d S e l e c t o r   a n d   n a m e s p a c e S e l e c t o r .   T r a f f i c   t o / f r o m   h o s t N e t w o r k   p o d s   i s   t r e a t e d   t h e   s a m e   a s   a l l   o t h e r   t r a f f i c   t o / f r o m   t h e   n o d e   I P .   ( T h i s   i s   t h e   m o s t   c o m m o n   i m p l e m e n t a t i o n . )   T h i s   a p p l i e s   w h e n   a   h o s t N e t w o r k   p o d   i s   s e l e c t e d   b y   s p e c . p o d S e l e c t o r .   . . .   s p e c :   p o d S e l e c t o r :   m a t c h L a b e l s :   r o l e :   c l i e n t   . . .   a   h o s t N e t w o r k   p o d   i s   s e l e c t e d   b y   a   p o d S e l e c t o r   o r   n a m e s p a c e S e l e c t o r   i n   a n   i n g r e s s   o r   e g r e s s   r u l e .   . . .   i n g r e s s :   -   f r o m :   -   p o d S e l e c t o r :   m a t c h L a b e l s :   r o l e :   c l i e n t   . . .   a   h o s t N e t w o r k   p o d   i s   s e l e c t e d   b y   s p e c . p o d S e l e c t o r .   . ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_932"
  },
  {
    "question": "What is What you can't do with network policies (at least, not yet)?",
    "answer": "A s   o f   K u b e r n e t e s   1 . 3 4 ,   t h e   f o l l o w i n g   f u n c t i o n a l i t y   d o e s   n o t   e x i s t   i n   t h e   N e t w o r k P o l i c y   A P I ,   b u t   y o u   m i g h t   b e   a b l e   t o   i m p l e m e n t   w o r k a r o u n d s   u s i n g   O p e r a t i n g   S y s t e m   c o m p o n e n t s   ( s u c h   a s   S E L i n u x ,   O p e n V S w i t c h ,   I P T a b l e s ,   a n d   s o   o n )   o r   L a y e r   7   t e c h n o l o g i e s   ( I n g r e s s   c o n t r o l l e r s ,   S e r v i c e   M e s h   i m p l e m e n t a t i o n s )   o r   a d m i s s i o n   c o n t r o l l e r s .   I n   c a s e   y o u   a r e   n e w   t o   n e t w o r k   s e c u r i t y   i n   K u b e r n e t e s ,   i t s   w o r t h   n o t i n g   t h a t   t h e   f o l l o w i n g   U s e r   S t o r i e s   c a n n o t   ( y e t )   b e   i m p l e m e n t e d   u s i n g   t h e   N e t w o r k P o l i c y   A P I .   F o r c i n g   i n t e r n a l   c l u s t e r   t r a f f i c   t o   g o   t h r o u g h   a   c o m m o n   g a t e w a y   ( t h i s   m i g h t   b e   b e s t   s e r v e d   w i t h   a   s e r v i c e   m e s h   o r   o t h e r   p r o x y ) . A n y t h i n g   T L S   r e l a t e d   ( u s e   a   s e r v i c e   m e s h   o r   i n g r e s s   c o n t r o l l e r   f o r   t h i s ) . N o d e   s p e c i f i c   p o l i c i e s   ( y o u   c a n   u s e   C I D R   n o t a t i o n   f o r   t h e s e ,   b u t   y o u   c a n n o t   t a r g e t   n o d e s   b y   t h e i r   K u b e r n e t e s   i d e n t i t i e s   s p e c i f i c a l l y ) . T a r g e t i n g   o f   s e r v i c e s   b y   n a m e   ( y o u   c a n ,   h o w e v e r ,   t a r g e t   p o d s   o r   n a m e s p a c e s   b y   t h e i r   l a b e l s ,   w h i c h   i s   o f t e n   a   v i a b l e   w o r k a r o u n d ) . C r e a t i o n   o r   m a n a g e m e n t   o f   \" P o l i c y   r e q u e s t s \"   t h a t   a ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_933"
  },
  {
    "question": "What is NetworkPolicy's impact on existing connections?",
    "answer": "W h e n   t h e   s e t   o f   N e t w o r k P o l i c i e s   t h a t   a p p l i e s   t o   a n   e x i s t i n g   c o n n e c t i o n   c h a n g e s   -   t h i s   c o u l d   h a p p e n   e i t h e r   d u e   t o   a   c h a n g e   i n   N e t w o r k P o l i c i e s   o r   i f   t h e   r e l e v a n t   l a b e l s   o f   t h e   n a m e s p a c e s / p o d s   s e l e c t e d   b y   t h e   p o l i c y   ( b o t h   s u b j e c t   a n d   p e e r s )   a r e   c h a n g e d   i n   t h e   m i d d l e   o f   a n   e x i s t i n g   c o n n e c t i o n   -   i t   i s   i m p l e m e n t a t i o n   d e f i n e d   a s   t o   w h e t h e r   t h e   c h a n g e   w i l l   t a k e   e f f e c t   f o r   t h a t   e x i s t i n g   c o n n e c t i o n   o r   n o t .   E x a m p l e :   A   p o l i c y   i s   c r e a t e d   t h a t   l e a d s   t o   d e n y i n g   a   p r e v i o u s l y   a l l o w e d   c o n n e c t i o n ,   t h e   u n d e r l y i n g   n e t w o r k   p l u g i n   i m p l e m e n t a t i o n   i s   r e s p o n s i b l e   f o r   d e f i n i n g   i f   t h a t   n e w   p o l i c y   w i l l   c l o s e   t h e   e x i s t i n g   c o n n e c t i o n s   o r   n o t .   I t   i s   r e c o m m e n d e d   n o t   t o   m o d i f y   p o l i c i e s / p o d s / n a m e s p a c e s   i n   w a y s   t h a t   m i g h t   a f f e c t   e x i s t i n g   c o n n e c t i o n s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_934"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   t h e   D e c l a r e   N e t w o r k   P o l i c y   w a l k t h r o u g h   f o r   f u r t h e r   e x a m p l e s . S e e   m o r e   r e c i p e s   f o r   c o m m o n   s c e n a r i o s   e n a b l e d   b y   t h e   N e t w o r k P o l i c y   r e s o u r c e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_935"
  },
  {
    "question": "What is 7 - DNS for Services and Pods?",
    "answer": "K u b e r n e t e s   c r e a t e s   D N S   r e c o r d s   f o r   S e r v i c e s   a n d   P o d s .   Y o u   c a n   c o n t a c t   S e r v i c e s   w i t h   c o n s i s t e n t   D N S   n a m e s   i n s t e a d   o f   I P   a d d r e s s e s .   K u b e r n e t e s   p u b l i s h e s   i n f o r m a t i o n   a b o u t   P o d s   a n d   S e r v i c e s   w h i c h   i s   u s e d   t o   p r o g r a m   D N S .   k u b e l e t   c o n f i g u r e s   P o d s '   D N S   s o   t h a t   r u n n i n g   c o n t a i n e r s   c a n   l o o k   u p   S e r v i c e s   b y   n a m e   r a t h e r   t h a n   I P .   S e r v i c e s   d e f i n e d   i n   t h e   c l u s t e r   a r e   a s s i g n e d   D N S   n a m e s .   B y   d e f a u l t ,   a   c l i e n t   P o d ' s   D N S   s e a r c h   l i s t   i n c l u d e s   t h e   P o d ' s   o w n   n a m e s p a c e   a n d   t h e   c l u s t e r ' s   d e f a u l t   d o m a i n .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_1_936"
  },
  {
    "question": "What is Namespaces of Services?",
    "answer": "A   D N S   q u e r y   m a y   r e t u r n   d i f f e r e n t   r e s u l t s   b a s e d   o n   t h e   n a m e s p a c e   o f   t h e   P o d   m a k i n g   i t .   D N S   q u e r i e s   t h a t   d o n ' t   s p e c i f y   a   n a m e s p a c e   a r e   l i m i t e d   t o   t h e   P o d ' s   n a m e s p a c e .   A c c e s s   S e r v i c e s   i n   o t h e r   n a m e s p a c e s   b y   s p e c i f y i n g   i t   i n   t h e   D N S   q u e r y .   F o r   e x a m p l e ,   c o n s i d e r   a   P o d   i n   a   t e s t   n a m e s p a c e .   A   d a t a   S e r v i c e   i s   i n   t h e   p r o d   n a m e s p a c e .   A   q u e r y   f o r   d a t a   r e t u r n s   n o   r e s u l t s ,   b e c a u s e   i t   u s e s   t h e   P o d ' s   t e s t   n a m e s p a c e .   A   q u e r y   f o r   d a t a . p r o d   r e t u r n s   t h e   i n t e n d e d   r e s u l t ,   b e c a u s e   i t   s p e c i f i e s   t h e   n a m e s p a c e .   D N S   q u e r i e s   m a y   b e   e x p a n d e d   u s i n g   t h e   P o d ' s   / e t c / r e s o l v . c o n f .   k u b e l e t   c o n f i g u r e s   t h i s   f i l e   f o r   e a c h   P o d .   F o r   e x a m p l e ,   a   q u e r y   f o r   j u s t   d a t a   m a y   b e   e x p a n d e d   t o   d a t a . t e s t . s v c . c l u s t e r . l o c a l .   T h e   v a l u e s   o f   t h e   s e a r c h   o p t i o n   a r e   u s e d   t o   e x p a n d   q u e r i e s .   T o   l e a r n   m o r e   a b o u t   D N S   q u e r i e s ,   s e e   t h e   r e s o l v . c o n f   m a n u a l   p a g e .   n a m e s e r v e r   1 0 . 3 2 . 0 . 1 0   s e a r c h   < n a m e s p a c e > . s v c . c l u s t e r . l o c a l   s v c . c l u s t e r . l o c a l   c l u s t e r . l o c a l   o p t i o n s   n d o t s : 5   I n   s u m m a r y ,   a   P o d   i n   t h e   t e s t   n a m e s p a c e   c a n   s u c c e s s f u l l y   r e s o l v e   e i t h e r   d a t a . p r o d   o r   d a ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_937"
  },
  {
    "question": "What is DNS Records?",
    "answer": "W h a t   o b j e c t s   g e t   D N S   r e c o r d s ?   S e r v i c e s P o d s   T h e   f o l l o w i n g   s e c t i o n s   d e t a i l   t h e   s u p p o r t e d   D N S   r e c o r d   t y p e s   a n d   l a y o u t   t h a t   i s   s u p p o r t e d .   A n y   o t h e r   l a y o u t   o r   n a m e s   o r   q u e r i e s   t h a t   h a p p e n   t o   w o r k   a r e   c o n s i d e r e d   i m p l e m e n t a t i o n   d e t a i l s   a n d   a r e   s u b j e c t   t o   c h a n g e   w i t h o u t   w a r n i n g .   F o r   m o r e   u p - t o - d a t e   s p e c i f i c a t i o n ,   s e e   K u b e r n e t e s   D N S - B a s e d   S e r v i c e   D i s c o v e r y .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_938"
  },
  {
    "question": "What is A/AAAA records?",
    "answer": "\" N o r m a l \"   ( n o t   h e a d l e s s )   S e r v i c e s   a r e   a s s i g n e d   D N S   A   a n d / o r   A A A A   r e c o r d s ,   d e p e n d i n g   o n   t h e   I P   f a m i l y   o r   f a m i l i e s   o f   t h e   S e r v i c e ,   w i t h   a   n a m e   o f   t h e   f o r m   m y - s v c . m y - n a m e s p a c e . s v c . c l u s t e r - d o m a i n . e x a m p l e .   T h i s   r e s o l v e s   t o   t h e   c l u s t e r   I P   o f   t h e   S e r v i c e .   H e a d l e s s   S e r v i c e s   ( w i t h o u t   a   c l u s t e r   I P )   a r e   a l s o   a s s i g n e d   D N S   A   a n d / o r   A A A A   r e c o r d s ,   w i t h   a   n a m e   o f   t h e   f o r m   m y - s v c . m y - n a m e s p a c e . s v c . c l u s t e r - d o m a i n . e x a m p l e .   U n l i k e   n o r m a l   S e r v i c e s ,   t h i s   r e s o l v e s   t o   t h e   s e t   o f   I P s   o f   a l l   o f   t h e   P o d s   s e l e c t e d   b y   t h e   S e r v i c e .   C l i e n t s   a r e   e x p e c t e d   t o   c o n s u m e   t h e   s e t   o r   e l s e   u s e   s t a n d a r d   r o u n d - r o b i n   s e l e c t i o n   f r o m   t h e   s e t .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_939"
  },
  {
    "question": "What is SRV records?",
    "answer": "S R V   R e c o r d s   a r e   c r e a t e d   f o r   n a m e d   p o r t s   t h a t   a r e   p a r t   o f   n o r m a l   o r   h e a d l e s s   s e r v i c e s .   F o r   e a c h   n a m e d   p o r t ,   t h e   S R V   r e c o r d   h a s   t h e   f o r m   _ p o r t - n a m e . _ p o r t - p r o t o c o l . m y - s v c . m y - n a m e s p a c e . s v c . c l u s t e r - d o m a i n . e x a m p l e . F o r   a   r e g u l a r   S e r v i c e ,   t h i s   r e s o l v e s   t o   t h e   p o r t   n u m b e r   a n d   t h e   d o m a i n   n a m e :   m y - s v c . m y - n a m e s p a c e . s v c . c l u s t e r - d o m a i n . e x a m p l e . F o r   a   h e a d l e s s   S e r v i c e ,   t h i s   r e s o l v e s   t o   m u l t i p l e   a n s w e r s ,   o n e   f o r   e a c h   P o d   t h a t   i s   b a c k i n g   t h e   S e r v i c e ,   a n d   c o n t a i n s   t h e   p o r t   n u m b e r   a n d   t h e   d o m a i n   n a m e   o f   t h e   P o d   o f   t h e   f o r m   h o s t n a m e . m y - s v c . m y - n a m e s p a c e . s v c . c l u s t e r - d o m a i n . e x a m p l e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_940"
  },
  {
    "question": "What is A/AAAA records?",
    "answer": "K u b e - D N S   v e r s i o n s ,   p r i o r   t o   t h e   i m p l e m e n t a t i o n   o f   t h e   D N S   s p e c i f i c a t i o n ,   h a d   t h e   f o l l o w i n g   D N S   r e s o l u t i o n :   < p o d - I P v 4 - a d d r e s s > . < n a m e s p a c e > . p o d . < c l u s t e r - d o m a i n >   F o r   e x a m p l e ,   i f   a   P o d   i n   t h e   d e f a u l t   n a m e s p a c e   h a s   t h e   I P   a d d r e s s   1 7 2 . 1 7 . 0 . 3 ,   a n d   t h e   d o m a i n   n a m e   f o r   y o u r   c l u s t e r   i s   c l u s t e r . l o c a l ,   t h e n   t h e   P o d   h a s   a   D N S   n a m e :   1 7 2 - 1 7 - 0 - 3 . d e f a u l t . p o d . c l u s t e r . l o c a l   S o m e   c l u s t e r   D N S   m e c h a n i s m s ,   l i k e   C o r e D N S ,   a l s o   p r o v i d e   A   r e c o r d s   f o r :   < p o d - i p v 4 - a d d r e s s > . < s e r v i c e - n a m e > . < m y - n a m e s p a c e > . s v c . < c l u s t e r - d o m a i n . e x a m p l e >   F o r   e x a m p l e ,   i f   a   P o d   i n   t h e   c a f e   n a m e s p a c e   h a s   t h e   I P   a d d r e s s   1 7 2 . 1 7 . 0 . 3 ,   i s   a n   e n d p o i n t   o f   a   S e r v i c e   n a m e d   b a r i s t a ,   a n d   t h e   d o m a i n   n a m e   f o r   y o u r   c l u s t e r   i s   c l u s t e r . l o c a l ,   t h e n   t h e   P o d   w o u l d   h a v e   t h i s   s e r v i c e - s c o p e d   D N S   A   r e c o r d .   1 7 2 - 1 7 - 0 - 3 . b a r i s t a . c a f e . s v c . c l u s t e r . l o c a l",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_941"
  },
  {
    "question": "What is Pod's hostname and subdomain fields?",
    "answer": "C u r r e n t l y   w h e n   a   P o d   i s   c r e a t e d ,   i t s   h o s t n a m e   ( a s   o b s e r v e d   f r o m   w i t h i n   t h e   P o d )   i s   t h e   P o d ' s   m e t a d a t a . n a m e   v a l u e .   T h e   P o d   s p e c   h a s   a n   o p t i o n a l   h o s t n a m e   f i e l d ,   w h i c h   c a n   b e   u s e d   t o   s p e c i f y   a   d i f f e r e n t   h o s t n a m e .   W h e n   s p e c i f i e d ,   i t   t a k e s   p r e c e d e n c e   o v e r   t h e   P o d ' s   n a m e   t o   b e   t h e   h o s t n a m e   o f   t h e   P o d   ( a g a i n ,   a s   o b s e r v e d   f r o m   w i t h i n   t h e   P o d ) .   F o r   e x a m p l e ,   g i v e n   a   P o d   w i t h   s p e c . h o s t n a m e   s e t   t o   \" m y - h o s t \" ,   t h e   P o d   w i l l   h a v e   i t s   h o s t n a m e   s e t   t o   \" m y - h o s t \" .   T h e   P o d   s p e c   a l s o   h a s   a n   o p t i o n a l   s u b d o m a i n   f i e l d   w h i c h   c a n   b e   u s e d   t o   i n d i c a t e   t h a t   t h e   p o d   i s   p a r t   o f   s u b - g r o u p   o f   t h e   n a m e s p a c e .   F o r   e x a m p l e ,   a   P o d   w i t h   s p e c . h o s t n a m e   s e t   t o   \" f o o \" ,   a n d   s p e c . s u b d o m a i n   s e t   t o   \" b a r \" ,   i n   n a m e s p a c e   \" m y - n a m e s p a c e \" ,   w i l l   h a v e   i t s   h o s t n a m e   s e t   t o   \" f o o \"   a n d   i t s   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N )   s e t   t o   \" f o o . b a r . m y - n a m e s p a c e . s v c . c l u s t e r . l o c a l \"   ( o n c e   m o r e ,   a s   o b s e r v e d   f r o m   w i t h i n   t h e   P o d ) .   I f   t h e r e   e x i s t s   a   h e a d l e s s   S e r v i c e   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   P o d ,   w i t h   t h e   s a m e   n a m e   a s   t h e   s u b d o m a i n ,   t h e   c l u s t e r ' s   D N S   S e r v e r   a ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_942"
  },
  {
    "question": "What is Pod's setHostnameAsFQDN field?",
    "answer": "W h e n   a   P o d   i s   c o n f i g u r e d   t o   h a v e   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N ) ,   i t s   h o s t n a m e   i s   t h e   s h o r t   h o s t n a m e .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   P o d   w i t h   t h e   f u l l y   q u a l i f i e d   d o m a i n   n a m e   b u s y b o x - 1 . b u s y b o x - s u b d o m a i n . m y - n a m e s p a c e . s v c . c l u s t e r - d o m a i n . e x a m p l e ,   t h e n   b y   d e f a u l t   t h e   h o s t n a m e   c o m m a n d   i n s i d e   t h a t   P o d   r e t u r n s   b u s y b o x - 1   a n d   t h e   h o s t n a m e   - - f q d n   c o m m a n d   r e t u r n s   t h e   F Q D N .   W h e n   y o u   s e t   s e t H o s t n a m e A s F Q D N :   t r u e   i n   t h e   P o d   s p e c ,   t h e   k u b e l e t   w r i t e s   t h e   P o d ' s   F Q D N   i n t o   t h e   h o s t n a m e   f o r   t h a t   P o d ' s   n a m e s p a c e .   I n   t h i s   c a s e ,   b o t h   h o s t n a m e   a n d   h o s t n a m e   - - f q d n   r e t u r n   t h e   P o d ' s   F Q D N .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_943"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   L i n u x ,   t h e   h o s t n a m e   f i e l d   o f   t h e   k e r n e l   ( t h e   n o d e n a m e   f i e l d   o f   s t r u c t   u t s n a m e )   i s   l i m i t e d   t o   6 4   c h a r a c t e r s .   I f   a   P o d   e n a b l e s   t h i s   f e a t u r e   a n d   i t s   F Q D N   i s   l o n g e r   t h a n   6 4   c h a r a c t e r ,   i t   w i l l   f a i l   t o   s t a r t .   T h e   P o d   w i l l   r e m a i n   i n   P e n d i n g   s t a t u s   ( C o n t a i n e r C r e a t i n g   a s   s e e n   b y   k u b e c t l )   g e n e r a t i n g   e r r o r   e v e n t s ,   s u c h   a s   F a i l e d   t o   c o n s t r u c t   F Q D N   f r o m   P o d   h o s t n a m e   a n d   c l u s t e r   d o m a i n ,   F Q D N   l o n g - F Q D N   i s   t o o   l o n g   ( 6 4   c h a r a c t e r s   i s   t h e   m a x ,   7 0   c h a r a c t e r s   r e q u e s t e d ) .   O n e   w a y   o f   i m p r o v i n g   u s e r   e x p e r i e n c e   f o r   t h i s   s c e n a r i o   i s   t o   c r e a t e   a n   a d m i s s i o n   w e b h o o k   c o n t r o l l e r   t o   c o n t r o l   F Q D N   s i z e   w h e n   u s e r s   c r e a t e   t o p   l e v e l   o b j e c t s ,   f o r   e x a m p l e ,   D e p l o y m e n t .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_944"
  },
  {
    "question": "What is Pod's DNS Policy?",
    "answer": "D N S   p o l i c i e s   c a n   b e   s e t   o n   a   p e r - P o d   b a s i s .   C u r r e n t l y   K u b e r n e t e s   s u p p o r t s   t h e   f o l l o w i n g   P o d - s p e c i f i c   D N S   p o l i c i e s .   T h e s e   p o l i c i e s   a r e   s p e c i f i e d   i n   t h e   d n s P o l i c y   f i e l d   o f   a   P o d   S p e c .   \" D e f a u l t \" :   T h e   P o d   i n h e r i t s   t h e   n a m e   r e s o l u t i o n   c o n f i g u r a t i o n   f r o m   t h e   n o d e   t h a t   t h e   P o d s   r u n   o n .   S e e   r e l a t e d   d i s c u s s i o n   f o r   m o r e   d e t a i l s . \" C l u s t e r F i r s t \" :   A n y   D N S   q u e r y   t h a t   d o e s   n o t   m a t c h   t h e   c o n f i g u r e d   c l u s t e r   d o m a i n   s u f f i x ,   s u c h   a s   \" w w w . k u b e r n e t e s . i o \" ,   i s   f o r w a r d e d   t o   a n   u p s t r e a m   n a m e s e r v e r   b y   t h e   D N S   s e r v e r .   C l u s t e r   a d m i n i s t r a t o r s   m a y   h a v e   e x t r a   s t u b - d o m a i n   a n d   u p s t r e a m   D N S   s e r v e r s   c o n f i g u r e d .   S e e   r e l a t e d   d i s c u s s i o n   f o r   d e t a i l s   o n   h o w   D N S   q u e r i e s   a r e   h a n d l e d   i n   t h o s e   c a s e s . \" C l u s t e r F i r s t W i t h H o s t N e t \" :   F o r   P o d s   r u n n i n g   w i t h   h o s t N e t w o r k ,   y o u   s h o u l d   e x p l i c i t l y   s e t   i t s   D N S   p o l i c y   t o   \" C l u s t e r F i r s t W i t h H o s t N e t \" .   O t h e r w i s e ,   P o d s   r u n n i n g   w i t h   h o s t N e t w o r k   a n d   \" C l u s t e r F i r s t \"   w i l l   f a l l b a c k   t o   t h e   b e h a v i o r   o f   t h e   \" D e f a u l t \"   p o l i c y . N o t e : T h i s   i s   n o t   s u p p o r t e d   o n   W i n d o w s .   S e e   b e l o w   f o r   d e t a i l s . \" N o n e \" :   I t   a l l o w s   a   P o d   t o   i g ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_945"
  },
  {
    "question": "What is Note:?",
    "answer": "\" N o n e \" :   I t   a l l o w s   a   P o d   t o   i g n o r e   D N S   s e t t i n g s   f r o m   t h e   K u b e r n e t e s   e n v i r o n m e n t .   A l l   D N S   s e t t i n g s   a r e   s u p p o s e d   t o   b e   p r o v i d e d   u s i n g   t h e   d n s C o n f i g   f i e l d   i n   t h e   P o d   S p e c .   S e e   P o d ' s   D N S   c o n f i g   s u b s e c t i o n   b e l o w .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_946"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   e x a m p l e   b e l o w   s h o w s   a   P o d   w i t h   i t s   D N S   p o l i c y   s e t   t o   \" C l u s t e r F i r s t W i t h H o s t N e t \"   b e c a u s e   i t   h a s   h o s t N e t w o r k   s e t   t o   t r u e .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   b u s y b o x   n a m e s p a c e :   d e f a u l t   s p e c :   c o n t a i n e r s :   -   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   -   s l e e p   -   \" 3 6 0 0 \"   i m a g e P u l l P o l i c y :   I f N o t P r e s e n t   n a m e :   b u s y b o x   r e s t a r t P o l i c y :   A l w a y s   h o s t N e t w o r k :   t r u e   d n s P o l i c y :   C l u s t e r F i r s t W i t h H o s t N e t",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_947"
  },
  {
    "question": "What is Pod's DNS Config?",
    "answer": "P o d ' s   D N S   C o n f i g   a l l o w s   u s e r s   m o r e   c o n t r o l   o n   t h e   D N S   s e t t i n g s   f o r   a   P o d .   T h e   d n s C o n f i g   f i e l d   i s   o p t i o n a l   a n d   i t   c a n   w o r k   w i t h   a n y   d n s P o l i c y   s e t t i n g s .   H o w e v e r ,   w h e n   a   P o d ' s   d n s P o l i c y   i s   s e t   t o   \" N o n e \" ,   t h e   d n s C o n f i g   f i e l d   h a s   t o   b e   s p e c i f i e d .   B e l o w   a r e   t h e   p r o p e r t i e s   a   u s e r   c a n   s p e c i f y   i n   t h e   d n s C o n f i g   f i e l d :   n a m e s e r v e r s :   a   l i s t   o f   I P   a d d r e s s e s   t h a t   w i l l   b e   u s e d   a s   D N S   s e r v e r s   f o r   t h e   P o d .   T h e r e   c a n   b e   a t   m o s t   3   I P   a d d r e s s e s   s p e c i f i e d .   W h e n   t h e   P o d ' s   d n s P o l i c y   i s   s e t   t o   \" N o n e \" ,   t h e   l i s t   m u s t   c o n t a i n   a t   l e a s t   o n e   I P   a d d r e s s ,   o t h e r w i s e   t h i s   p r o p e r t y   i s   o p t i o n a l .   T h e   s e r v e r s   l i s t e d   w i l l   b e   c o m b i n e d   t o   t h e   b a s e   n a m e s e r v e r s   g e n e r a t e d   f r o m   t h e   s p e c i f i e d   D N S   p o l i c y   w i t h   d u p l i c a t e   a d d r e s s e s   r e m o v e d . s e a r c h e s :   a   l i s t   o f   D N S   s e a r c h   d o m a i n s   f o r   h o s t n a m e   l o o k u p   i n   t h e   P o d .   T h i s   p r o p e r t y   i s   o p t i o n a l .   W h e n   s p e c i f i e d ,   t h e   p r o v i d e d   l i s t   w i l l   b e   m e r g e d   i n t o   t h e   b a s e   s e a r c h   d o m a i n   n a m e s   g e n e r a t e d   f r o m   t h e   c h o s e n   D N S   p o l i c y .   D u p l i c a t e   d o m a i n   n a m e s   a r e   r e m o v e d .   K u b e r n e t e s   a l l o w s   u p   t o   3 2   s e a r c h   d o m a i n s . o p t i ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_948"
  },
  {
    "question": "What is DNS search domain list limits?",
    "answer": "K u b e r n e t e s   i t s e l f   d o e s   n o t   l i m i t   t h e   D N S   C o n f i g   u n t i l   t h e   l e n g t h   o f   t h e   s e a r c h   d o m a i n   l i s t   e x c e e d s   3 2   o r   t h e   t o t a l   l e n g t h   o f   a l l   s e a r c h   d o m a i n s   e x c e e d s   2 0 4 8 .   T h i s   l i m i t   a p p l i e s   t o   t h e   n o d e ' s   r e s o l v e r   c o n f i g u r a t i o n   f i l e ,   t h e   P o d ' s   D N S   C o n f i g ,   a n d   t h e   m e r g e d   D N S   C o n f i g   r e s p e c t i v e l y .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_949"
  },
  {
    "question": "What is Note:?",
    "answer": "S o m e   c o n t a i n e r   r u n t i m e s   o f   e a r l i e r   v e r s i o n s   m a y   h a v e   t h e i r   o w n   r e s t r i c t i o n s   o n   t h e   n u m b e r   o f   D N S   s e a r c h   d o m a i n s .   D e p e n d i n g   o n   t h e   c o n t a i n e r   r u n t i m e   e n v i r o n m e n t ,   t h e   p o d s   w i t h   a   l a r g e   n u m b e r   o f   D N S   s e a r c h   d o m a i n s   m a y   g e t   s t u c k   i n   t h e   p e n d i n g   s t a t e .   I t   i s   k n o w n   t h a t   c o n t a i n e r d   v 1 . 5 . 5   o r   e a r l i e r   a n d   C R I - O   v 1 . 2 1   o r   e a r l i e r   h a v e   t h i s   p r o b l e m .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_950"
  },
  {
    "question": "What is DNS resolution on Windows nodes?",
    "answer": "C l u s t e r F i r s t W i t h H o s t N e t   i s   n o t   s u p p o r t e d   f o r   P o d s   t h a t   r u n   o n   W i n d o w s   n o d e s .   W i n d o w s   t r e a t s   a l l   n a m e s   w i t h   a   .   a s   a   F Q D N   a n d   s k i p s   F Q D N   r e s o l u t i o n . O n   W i n d o w s ,   t h e r e   a r e   m u l t i p l e   D N S   r e s o l v e r s   t h a t   c a n   b e   u s e d .   A s   t h e s e   c o m e   w i t h   s l i g h t l y   d i f f e r e n t   b e h a v i o r s ,   u s i n g   t h e   R e s o l v e - D N S N a m e   p o w e r s h e l l   c m d l e t   f o r   n a m e   q u e r y   r e s o l u t i o n s   i s   r e c o m m e n d e d . O n   L i n u x ,   y o u   h a v e   a   D N S   s u f f i x   l i s t ,   w h i c h   i s   u s e d   a f t e r   r e s o l u t i o n   o f   a   n a m e   a s   f u l l y   q u a l i f i e d   h a s   f a i l e d .   O n   W i n d o w s ,   y o u   c a n   o n l y   h a v e   1   D N S   s u f f i x ,   w h i c h   i s   t h e   D N S   s u f f i x   a s s o c i a t e d   w i t h   t h a t   P o d ' s   n a m e s p a c e   ( e x a m p l e :   m y d n s . s v c . c l u s t e r . l o c a l ) .   W i n d o w s   c a n   r e s o l v e   F Q D N s ,   S e r v i c e s ,   o r   n e t w o r k   n a m e   w h i c h   c a n   b e   r e s o l v e d   w i t h   t h i s   s i n g l e   s u f f i x .   F o r   e x a m p l e ,   a   P o d   s p a w n e d   i n   t h e   d e f a u l t   n a m e s p a c e ,   w i l l   h a v e   t h e   D N S   s u f f i x   d e f a u l t . s v c . c l u s t e r . l o c a l .   I n s i d e   a   W i n d o w s   P o d ,   y o u   c a n   r e s o l v e   b o t h   k u b e r n e t e s . d e f a u l t . s v c . c l u s t e r . l o c a l   a n d   k u b e r n e t e s ,   b u t   n o t   t h e   p a r t i a l l y   q u a l i f i e d   n a m e s   ( k u b e r n e t e s . d e f a u l t   o r   k u b e r n e t e s . d e f a u l t . s v c ) .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_951"
  },
  {
    "question": "What is What's next?",
    "answer": "F o r   g u i d a n c e   o n   a d m i n i s t e r i n g   D N S   c o n f i g u r a t i o n s ,   c h e c k   C o n f i g u r e   D N S   S e r v i c e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_952"
  },
  {
    "question": "What is 8 - IPv4/IPv6 dual-stack?",
    "answer": "I P v 4 / I P v 6   d u a l - s t a c k   n e t w o r k i n g   e n a b l e s   t h e   a l l o c a t i o n   o f   b o t h   I P v 4   a n d   I P v 6   a d d r e s s e s   t o   P o d s   a n d   S e r v i c e s .   I P v 4 / I P v 6   d u a l - s t a c k   n e t w o r k i n g   i s   e n a b l e d   b y   d e f a u l t   f o r   y o u r   K u b e r n e t e s   c l u s t e r   s t a r t i n g   i n   1 . 2 1 ,   a l l o w i n g   t h e   s i m u l t a n e o u s   a s s i g n m e n t   o f   b o t h   I P v 4   a n d   I P v 6   a d d r e s s e s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_1_953"
  },
  {
    "question": "What is Supported Features?",
    "answer": "I P v 4 / I P v 6   d u a l - s t a c k   o n   y o u r   K u b e r n e t e s   c l u s t e r   p r o v i d e s   t h e   f o l l o w i n g   f e a t u r e s :   D u a l - s t a c k   P o d   n e t w o r k i n g   ( a   s i n g l e   I P v 4   a n d   I P v 6   a d d r e s s   a s s i g n m e n t   p e r   P o d ) I P v 4   a n d   I P v 6   e n a b l e d   S e r v i c e s P o d   o f f - c l u s t e r   e g r e s s   r o u t i n g   ( e g .   t h e   I n t e r n e t )   v i a   b o t h   I P v 4   a n d   I P v 6   i n t e r f a c e s",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_954"
  },
  {
    "question": "What is Prerequisites?",
    "answer": "T h e   f o l l o w i n g   p r e r e q u i s i t e s   a r e   n e e d e d   i n   o r d e r   t o   u t i l i z e   I P v 4 / I P v 6   d u a l - s t a c k   K u b e r n e t e s   c l u s t e r s :   K u b e r n e t e s   1 . 2 0   o r   l a t e r F o r   i n f o r m a t i o n   a b o u t   u s i n g   d u a l - s t a c k   s e r v i c e s   w i t h   e a r l i e r   K u b e r n e t e s   v e r s i o n s ,   r e f e r   t o   t h e   d o c u m e n t a t i o n   f o r   t h a t   v e r s i o n   o f   K u b e r n e t e s . P r o v i d e r   s u p p o r t   f o r   d u a l - s t a c k   n e t w o r k i n g   ( C l o u d   p r o v i d e r   o r   o t h e r w i s e   m u s t   b e   a b l e   t o   p r o v i d e   K u b e r n e t e s   n o d e s   w i t h   r o u t a b l e   I P v 4 / I P v 6   n e t w o r k   i n t e r f a c e s ) A   n e t w o r k   p l u g i n   t h a t   s u p p o r t s   d u a l - s t a c k   n e t w o r k i n g .   K u b e r n e t e s   1 . 2 0   o r   l a t e r   F o r   i n f o r m a t i o n   a b o u t   u s i n g   d u a l - s t a c k   s e r v i c e s   w i t h   e a r l i e r   K u b e r n e t e s   v e r s i o n s ,   r e f e r   t o   t h e   d o c u m e n t a t i o n   f o r   t h a t   v e r s i o n   o f   K u b e r n e t e s .   P r o v i d e r   s u p p o r t   f o r   d u a l - s t a c k   n e t w o r k i n g   ( C l o u d   p r o v i d e r   o r   o t h e r w i s e   m u s t   b e   a b l e   t o   p r o v i d e   K u b e r n e t e s   n o d e s   w i t h   r o u t a b l e   I P v 4 / I P v 6   n e t w o r k   i n t e r f a c e s )   A   n e t w o r k   p l u g i n   t h a t   s u p p o r t s   d u a l - s t a c k   n e t w o r k i n g .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_955"
  },
  {
    "question": "What is Configure IPv4/IPv6 dual-stack?",
    "answer": "T o   c o n f i g u r e   I P v 4 / I P v 6   d u a l - s t a c k ,   s e t   d u a l - s t a c k   c l u s t e r   n e t w o r k   a s s i g n m e n t s :   k u b e - a p i s e r v e r : - - s e r v i c e - c l u s t e r - i p - r a n g e = < I P v 4   C I D R > , < I P v 6   C I D R > k u b e - c o n t r o l l e r - m a n a g e r : - - c l u s t e r - c i d r = < I P v 4   C I D R > , < I P v 6   C I D R > - - s e r v i c e - c l u s t e r - i p - r a n g e = < I P v 4   C I D R > , < I P v 6   C I D R > - - n o d e - c i d r - m a s k - s i z e - i p v 4 | - - n o d e - c i d r - m a s k - s i z e - i p v 6   d e f a u l t s   t o   / 2 4   f o r   I P v 4   a n d   / 6 4   f o r   I P v 6 k u b e - p r o x y : - - c l u s t e r - c i d r = < I P v 4   C I D R > , < I P v 6   C I D R > k u b e l e t : - - n o d e - i p = < I P v 4   I P > , < I P v 6   I P > T h i s   o p t i o n   i s   r e q u i r e d   f o r   b a r e   m e t a l   d u a l - s t a c k   n o d e s   ( n o d e s   t h a t   d o   n o t   d e f i n e   a   c l o u d   p r o v i d e r   w i t h   t h e   - - c l o u d - p r o v i d e r   f l a g ) .   I f   y o u   a r e   u s i n g   a   c l o u d   p r o v i d e r   a n d   c h o o s e   t o   o v e r r i d e   t h e   n o d e   I P s   c h o s e n   b y   t h e   c l o u d   p r o v i d e r ,   s e t   t h e   - - n o d e - i p   o p t i o n . ( T h e   l e g a c y   b u i l t - i n   c l o u d   p r o v i d e r s   d o   n o t   s u p p o r t   d u a l - s t a c k   - - n o d e - i p . )   - - s e r v i c e - c l u s t e r - i p - r a n g e = < I P v 4   C I D R > , < I P v 6   C I D R >   - - c l u s t e r - c i d r = < I P v 4   C I D R > , < I P v 6   C I D R > - - s e r v i c e - c l u s t e r - i p - r a n g e = < I P v 4   C I D R > , < I P v 6   C I D R > - - n o d e - c i d r - m a s k - s i z e - i p v 4 | - - n o d e - c i d r - m a s k - s i z e - i p v 6   d e f a u l t s   t o   / 2 4   f o r   I P v 4   a n d   / 6 4   f o r   I ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_956"
  },
  {
    "question": "What is Note:?",
    "answer": "A n   e x a m p l e   o f   a n   I P v 4   C I D R :   1 0 . 2 4 4 . 0 . 0 / 1 6   ( t h o u g h   y o u   w o u l d   s u p p l y   y o u r   o w n   a d d r e s s   r a n g e )   A n   e x a m p l e   o f   a n   I P v 6   C I D R :   f d X Y : I J K L : M N O P : 1 5 : : / 6 4   ( t h i s   s h o w s   t h e   f o r m a t   b u t   i s   n o t   a   v a l i d   a d d r e s s   -   s e e   R F C   4 1 9 3 )",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_957"
  },
  {
    "question": "What is Services?",
    "answer": "Y o u   c a n   c r e a t e   S e r v i c e s   w h i c h   c a n   u s e   I P v 4 ,   I P v 6 ,   o r   b o t h .   T h e   a d d r e s s   f a m i l y   o f   a   S e r v i c e   d e f a u l t s   t o   t h e   a d d r e s s   f a m i l y   o f   t h e   f i r s t   s e r v i c e   c l u s t e r   I P   r a n g e   ( c o n f i g u r e d   v i a   t h e   - - s e r v i c e - c l u s t e r - i p - r a n g e   f l a g   t o   t h e   k u b e - a p i s e r v e r ) .   W h e n   y o u   d e f i n e   a   S e r v i c e   y o u   c a n   o p t i o n a l l y   c o n f i g u r e   i t   a s   d u a l   s t a c k .   T o   s p e c i f y   t h e   b e h a v i o r   y o u   w a n t ,   y o u   s e t   t h e   . s p e c . i p F a m i l y P o l i c y   f i e l d   t o   o n e   o f   t h e   f o l l o w i n g   v a l u e s :   S i n g l e S t a c k :   S i n g l e - s t a c k   s e r v i c e .   T h e   c o n t r o l   p l a n e   a l l o c a t e s   a   c l u s t e r   I P   f o r   t h e   S e r v i c e ,   u s i n g   t h e   f i r s t   c o n f i g u r e d   s e r v i c e   c l u s t e r   I P   r a n g e . P r e f e r D u a l S t a c k :   A l l o c a t e s   b o t h   I P v 4   a n d   I P v 6   c l u s t e r   I P s   f o r   t h e   S e r v i c e   w h e n   d u a l - s t a c k   i s   e n a b l e d .   I f   d u a l - s t a c k   i s   n o t   e n a b l e d   o r   s u p p o r t e d ,   i t   f a l l s   b a c k   t o   s i n g l e - s t a c k   b e h a v i o r . R e q u i r e D u a l S t a c k :   A l l o c a t e s   S e r v i c e   . s p e c . c l u s t e r I P s   f r o m   b o t h   I P v 4   a n d   I P v 6   a d d r e s s   r a n g e s   w h e n   d u a l - s t a c k   i s   e n a b l e d .   I f   d u a l - s t a c k   i s   n o t   e n a b l e d   o r   s u p p o r t e d ,   t h e   S e r v i c e   A P I   o b j e c t   c r e a t i o n   f a i l s . S e l e c t s   t h e   . s p e c . c l u s t e r I P   f r o m   t h e   l i s t   o f   . s p e c . c l u s t ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_958"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   s e t   . s p e c . i p F a m i l i e s   t o   a n y   o f   t h e   f o l l o w i n g   a r r a y   v a l u e s :   [ \" I P v 4 \" ] [ \" I P v 6 \" ] [ \" I P v 4 \" , \" I P v 6 \" ]   ( d u a l   s t a c k ) [ \" I P v 6 \" , \" I P v 4 \" ]   ( d u a l   s t a c k )   T h e   f i r s t   f a m i l y   y o u   l i s t   i s   u s e d   f o r   t h e   l e g a c y   . s p e c . c l u s t e r I P   f i e l d .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_959"
  },
  {
    "question": "What is Dual-stack Service configuration scenarios?",
    "answer": "T h e s e   e x a m p l e s   d e m o n s t r a t e   t h e   b e h a v i o r   o f   v a r i o u s   d u a l - s t a c k   S e r v i c e   c o n f i g u r a t i o n   s c e n a r i o s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_960"
  },
  {
    "question": "What is Dual-stack options on new Services?",
    "answer": "T h i s   S e r v i c e   s p e c i f i c a t i o n   d o e s   n o t   e x p l i c i t l y   d e f i n e   . s p e c . i p F a m i l y P o l i c y .   W h e n   y o u   c r e a t e   t h i s   S e r v i c e ,   K u b e r n e t e s   a s s i g n s   a   c l u s t e r   I P   f o r   t h e   S e r v i c e   f r o m   t h e   f i r s t   c o n f i g u r e d   s e r v i c e - c l u s t e r - i p - r a n g e   a n d   s e t s   t h e   . s p e c . i p F a m i l y P o l i c y   t o   S i n g l e S t a c k .   ( S e r v i c e s   w i t h o u t   s e l e c t o r s   a n d   h e a d l e s s   S e r v i c e s   w i t h   s e l e c t o r s   w i l l   b e h a v e   i n   t h i s   s a m e   w a y . ) s e r v i c e / n e t w o r k i n g / d u a l - s t a c k - d e f a u l t - s v c . y a m l   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   s p e c :   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   8 0   T h i s   S e r v i c e   s p e c i f i c a t i o n   e x p l i c i t l y   d e f i n e s   P r e f e r D u a l S t a c k   i n   . s p e c . i p F a m i l y P o l i c y .   W h e n   y o u   c r e a t e   t h i s   S e r v i c e   o n   a   d u a l - s t a c k   c l u s t e r ,   K u b e r n e t e s   a s s i g n s   b o t h   I P v 4   a n d   I P v 6   a d d r e s s e s   f o r   t h e   s e r v i c e .   T h e   c o n t r o l   p l a n e   u p d a t e s   t h e   . s p e c   f o r   t h e   S e r v i c e   t o   r e c o r d   t h e   I P   a d d r e s s   a s s i g n m e n t s .   T h e   f i e l d   . s p e c . c l u s t e r I P s   i s   t h e   p r i m a r y   f i e l d ,   a n d   c o n t a i n s   b o t h   a s s i g n e d   I P   a d d r e s s e s ;   . s p e c . c l u s t e r I P   i s   a   s e c o n d a r y   f i e l d   w i t h   i t s ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_961"
  },
  {
    "question": "What is Dual-stack defaults on existing Services?",
    "answer": "T h e s e   e x a m p l e s   d e m o n s t r a t e   t h e   d e f a u l t   b e h a v i o r   w h e n   d u a l - s t a c k   i s   n e w l y   e n a b l e d   o n   a   c l u s t e r   w h e r e   S e r v i c e s   a l r e a d y   e x i s t .   ( U p g r a d i n g   a n   e x i s t i n g   c l u s t e r   t o   1 . 2 1   o r   b e y o n d   w i l l   e n a b l e   d u a l - s t a c k . )   W h e n   d u a l - s t a c k   i s   e n a b l e d   o n   a   c l u s t e r ,   e x i s t i n g   S e r v i c e s   ( w h e t h e r   I P v 4   o r   I P v 6 )   a r e   c o n f i g u r e d   b y   t h e   c o n t r o l   p l a n e   t o   s e t   . s p e c . i p F a m i l y P o l i c y   t o   S i n g l e S t a c k   a n d   s e t   . s p e c . i p F a m i l i e s   t o   t h e   a d d r e s s   f a m i l y   o f   t h e   e x i s t i n g   S e r v i c e .   T h e   e x i s t i n g   S e r v i c e   c l u s t e r   I P   w i l l   b e   s t o r e d   i n   . s p e c . c l u s t e r I P s . s e r v i c e / n e t w o r k i n g / d u a l - s t a c k - d e f a u l t - s v c . y a m l   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   s p e c :   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   8 0   Y o u   c a n   v a l i d a t e   t h i s   b e h a v i o r   b y   u s i n g   k u b e c t l   t o   i n s p e c t   a n   e x i s t i n g   s e r v i c e . k u b e c t l   g e t   s v c   m y - s e r v i c e   - o   y a m l   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   n a m e :   m y - s e r v i c e   s p e c :   c l u s t e r I P :   1 0 . 0 . 1 9 7 . 1 2 3   c l u s t e r I P s :   -   1 0 . 0 . 1 9 7 . 1 2 3   i p F a m i l i e s :   -   I P v 4 ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_962"
  },
  {
    "question": "What is Switching Services between single-stack and dual-stack?",
    "answer": "S e r v i c e s   c a n   b e   c h a n g e d   f r o m   s i n g l e - s t a c k   t o   d u a l - s t a c k   a n d   f r o m   d u a l - s t a c k   t o   s i n g l e - s t a c k .   T o   c h a n g e   a   S e r v i c e   f r o m   s i n g l e - s t a c k   t o   d u a l - s t a c k ,   c h a n g e   . s p e c . i p F a m i l y P o l i c y   f r o m   S i n g l e S t a c k   t o   P r e f e r D u a l S t a c k   o r   R e q u i r e D u a l S t a c k   a s   d e s i r e d .   W h e n   y o u   c h a n g e   t h i s   S e r v i c e   f r o m   s i n g l e - s t a c k   t o   d u a l - s t a c k ,   K u b e r n e t e s   a s s i g n s   t h e   m i s s i n g   a d d r e s s   f a m i l y   s o   t h a t   t h e   S e r v i c e   n o w   h a s   I P v 4   a n d   I P v 6   a d d r e s s e s . E d i t   t h e   S e r v i c e   s p e c i f i c a t i o n   u p d a t i n g   t h e   . s p e c . i p F a m i l y P o l i c y   f r o m   S i n g l e S t a c k   t o   P r e f e r D u a l S t a c k . B e f o r e : s p e c :   i p F a m i l y P o l i c y :   S i n g l e S t a c k   A f t e r : s p e c :   i p F a m i l y P o l i c y :   P r e f e r D u a l S t a c k   T o   c h a n g e   a   S e r v i c e   f r o m   d u a l - s t a c k   t o   s i n g l e - s t a c k ,   c h a n g e   . s p e c . i p F a m i l y P o l i c y   f r o m   P r e f e r D u a l S t a c k   o r   R e q u i r e D u a l S t a c k   t o   S i n g l e S t a c k .   W h e n   y o u   c h a n g e   t h i s   S e r v i c e   f r o m   d u a l - s t a c k   t o   s i n g l e - s t a c k ,   K u b e r n e t e s   r e t a i n s   o n l y   t h e   f i r s t   e l e m e n t   i n   t h e   . s p e c . c l u s t e r I P s   a r r a y ,   a n d   s e t s   . s p e c . c l u s t e r I P   t o   t h a t   I P   a d d r e s s   a n d   s e t s   . s p e c . i p F a m i l i e s   t o   t h e   a d d r e s s   f a m i l y   o f   . s p e c . c l u s t e r I P s .   T o   c h a n g e   a   S e r v i c e   f r o m   s ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_963"
  },
  {
    "question": "What is Headless Services without selector?",
    "answer": "F o r   H e a d l e s s   S e r v i c e s   w i t h o u t   s e l e c t o r s   a n d   w i t h o u t   . s p e c . i p F a m i l y P o l i c y   e x p l i c i t l y   s e t ,   t h e   . s p e c . i p F a m i l y P o l i c y   f i e l d   d e f a u l t s   t o   R e q u i r e D u a l S t a c k .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_964"
  },
  {
    "question": "What is Service type LoadBalancer?",
    "answer": "T o   p r o v i s i o n   a   d u a l - s t a c k   l o a d   b a l a n c e r   f o r   y o u r   S e r v i c e :   S e t   t h e   . s p e c . t y p e   f i e l d   t o   L o a d B a l a n c e r S e t   . s p e c . i p F a m i l y P o l i c y   f i e l d   t o   P r e f e r D u a l S t a c k   o r   R e q u i r e D u a l S t a c k",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_965"
  },
  {
    "question": "What is Egress traffic?",
    "answer": "I f   y o u   w a n t   t o   e n a b l e   e g r e s s   t r a f f i c   i n   o r d e r   t o   r e a c h   o f f - c l u s t e r   d e s t i n a t i o n s   ( e g .   t h e   p u b l i c   I n t e r n e t )   f r o m   a   P o d   t h a t   u s e s   n o n - p u b l i c l y   r o u t a b l e   I P v 6   a d d r e s s e s ,   y o u   n e e d   t o   e n a b l e   t h e   P o d   t o   u s e   a   p u b l i c l y   r o u t e d   I P v 6   a d d r e s s   v i a   a   m e c h a n i s m   s u c h   a s   t r a n s p a r e n t   p r o x y i n g   o r   I P   m a s q u e r a d i n g .   T h e   i p - m a s q - a g e n t   p r o j e c t   s u p p o r t s   I P   m a s q u e r a d i n g   o n   d u a l - s t a c k   c l u s t e r s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_966"
  },
  {
    "question": "What is Windows support?",
    "answer": "K u b e r n e t e s   o n   W i n d o w s   d o e s   n o t   s u p p o r t   s i n g l e - s t a c k   \" I P v 6 - o n l y \"   n e t w o r k i n g .   H o w e v e r ,   d u a l - s t a c k   I P v 4 / I P v 6   n e t w o r k i n g   f o r   p o d s   a n d   n o d e s   w i t h   s i n g l e - f a m i l y   s e r v i c e s   i s   s u p p o r t e d .   Y o u   c a n   u s e   I P v 4 / I P v 6   d u a l - s t a c k   n e t w o r k i n g   w i t h   l 2 b r i d g e   n e t w o r k s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_967"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   r e a d   m o r e   a b o u t   t h e   d i f f e r e n t   n e t w o r k   m o d e s   f o r   W i n d o w s   w i t h i n   t h e   N e t w o r k i n g   o n   W i n d o w s   t o p i c .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_968"
  },
  {
    "question": "What is What's next?",
    "answer": "V a l i d a t e   I P v 4 / I P v 6   d u a l - s t a c k   n e t w o r k i n g E n a b l e   d u a l - s t a c k   n e t w o r k i n g   u s i n g   k u b e a d m",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_969"
  },
  {
    "question": "What is Note:?",
    "answer": "T o p o l o g y   A w a r e   R o u t i n g   a d j u s t s   r o u t i n g   b e h a v i o r   t o   p r e f e r   k e e p i n g   t r a f f i c   i n   t h e   z o n e   i t   o r i g i n a t e d   f r o m .   I n   s o m e   c a s e s   t h i s   c a n   h e l p   r e d u c e   c o s t s   o r   i m p r o v e   n e t w o r k   p e r f o r m a n c e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_970"
  },
  {
    "question": "What is Motivation?",
    "answer": "K u b e r n e t e s   c l u s t e r s   a r e   i n c r e a s i n g l y   d e p l o y e d   i n   m u l t i - z o n e   e n v i r o n m e n t s .   T o p o l o g y   A w a r e   R o u t i n g   p r o v i d e s   a   m e c h a n i s m   t o   h e l p   k e e p   t r a f f i c   w i t h i n   t h e   z o n e   i t   o r i g i n a t e d   f r o m .   W h e n   c a l c u l a t i n g   t h e   e n d p o i n t s   f o r   a   S e r v i c e ,   t h e   E n d p o i n t S l i c e   c o n t r o l l e r   c o n s i d e r s   t h e   t o p o l o g y   ( r e g i o n   a n d   z o n e )   o f   e a c h   e n d p o i n t   a n d   p o p u l a t e s   t h e   h i n t s   f i e l d   t o   a l l o c a t e   i t   t o   a   z o n e .   C l u s t e r   c o m p o n e n t s   s u c h   a s   k u b e - p r o x y   c a n   t h e n   c o n s u m e   t h o s e   h i n t s ,   a n d   u s e   t h e m   t o   i n f l u e n c e   h o w   t h e   t r a f f i c   i s   r o u t e d   ( f a v o r i n g   t o p o l o g i c a l l y   c l o s e r   e n d p o i n t s ) .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_971"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   e n a b l e   T o p o l o g y   A w a r e   R o u t i n g   f o r   a   S e r v i c e   b y   s e t t i n g   t h e   s e r v i c e . k u b e r n e t e s . i o / t o p o l o g y - m o d e   a n n o t a t i o n   t o   A u t o .   W h e n   t h e r e   a r e   e n o u g h   e n d p o i n t s   a v a i l a b l e   i n   e a c h   z o n e ,   T o p o l o g y   H i n t s   w i l l   b e   p o p u l a t e d   o n   E n d p o i n t S l i c e s   t o   a l l o c a t e   i n d i v i d u a l   e n d p o i n t s   t o   s p e c i f i c   z o n e s ,   r e s u l t i n g   i n   t r a f f i c   b e i n g   r o u t e d   c l o s e r   t o   w h e r e   i t   o r i g i n a t e d   f r o m .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_972"
  },
  {
    "question": "What is When it works best?",
    "answer": "T h i s   f e a t u r e   w o r k s   b e s t   w h e n :",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_973"
  },
  {
    "question": "What is 1. Incoming traffic is evenly distributed?",
    "answer": "I f   a   l a r g e   p r o p o r t i o n   o f   t r a f f i c   i s   o r i g i n a t i n g   f r o m   a   s i n g l e   z o n e ,   t h a t   t r a f f i c   c o u l d   o v e r l o a d   t h e   s u b s e t   o f   e n d p o i n t s   t h a t   h a v e   b e e n   a l l o c a t e d   t o   t h a t   z o n e .   T h i s   f e a t u r e   i s   n o t   r e c o m m e n d e d   w h e n   i n c o m i n g   t r a f f i c   i s   e x p e c t e d   t o   o r i g i n a t e   f r o m   a   s i n g l e   z o n e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_974"
  },
  {
    "question": "What is 2. The Service has 3 or more endpoints per zone?",
    "answer": "I n   a   t h r e e   z o n e   c l u s t e r ,   t h i s   m e a n s   9   o r   m o r e   e n d p o i n t s .   I f   t h e r e   a r e   f e w e r   t h a n   3   e n d p o i n t s   p e r   z o n e ,   t h e r e   i s   a   h i g h   ( ≈ 5 0 % )   p r o b a b i l i t y   t h a t   t h e   E n d p o i n t S l i c e   c o n t r o l l e r   w i l l   n o t   b e   a b l e   t o   a l l o c a t e   e n d p o i n t s   e v e n l y   a n d   i n s t e a d   w i l l   f a l l   b a c k   t o   t h e   d e f a u l t   c l u s t e r - w i d e   r o u t i n g   a p p r o a c h .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_975"
  },
  {
    "question": "What is How It Works?",
    "answer": "T h e   \" A u t o \"   h e u r i s t i c   a t t e m p t s   t o   p r o p o r t i o n a l l y   a l l o c a t e   a   n u m b e r   o f   e n d p o i n t s   t o   e a c h   z o n e .   N o t e   t h a t   t h i s   h e u r i s t i c   w o r k s   b e s t   f o r   S e r v i c e s   t h a t   h a v e   a   s i g n i f i c a n t   n u m b e r   o f   e n d p o i n t s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_976"
  },
  {
    "question": "What is EndpointSlice controller?",
    "answer": "T h e   E n d p o i n t S l i c e   c o n t r o l l e r   i s   r e s p o n s i b l e   f o r   s e t t i n g   h i n t s   o n   E n d p o i n t S l i c e s   w h e n   t h i s   h e u r i s t i c   i s   e n a b l e d .   T h e   c o n t r o l l e r   a l l o c a t e s   a   p r o p o r t i o n a l   a m o u n t   o f   e n d p o i n t s   t o   e a c h   z o n e .   T h i s   p r o p o r t i o n   i s   b a s e d   o n   t h e   a l l o c a t a b l e   C P U   c o r e s   f o r   n o d e s   r u n n i n g   i n   t h a t   z o n e .   F o r   e x a m p l e ,   i f   o n e   z o n e   h a d   2   C P U   c o r e s   a n d   a n o t h e r   z o n e   o n l y   h a d   1   C P U   c o r e ,   t h e   c o n t r o l l e r   w o u l d   a l l o c a t e   t w i c e   a s   m a n y   e n d p o i n t s   t o   t h e   z o n e   w i t h   2   C P U   c o r e s .   T h e   f o l l o w i n g   e x a m p l e   s h o w s   w h a t   a n   E n d p o i n t S l i c e   l o o k s   l i k e   w h e n   h i n t s   h a v e   b e e n   p o p u l a t e d :   a p i V e r s i o n :   d i s c o v e r y . k 8 s . i o / v 1   k i n d :   E n d p o i n t S l i c e   m e t a d a t a :   n a m e :   e x a m p l e - h i n t s   l a b e l s :   k u b e r n e t e s . i o / s e r v i c e - n a m e :   e x a m p l e - s v c   a d d r e s s T y p e :   I P v 4   p o r t s :   -   n a m e :   h t t p   p r o t o c o l :   T C P   p o r t :   8 0   e n d p o i n t s :   -   a d d r e s s e s :   -   \" 1 0 . 1 . 2 . 3 \"   c o n d i t i o n s :   r e a d y :   t r u e   h o s t n a m e :   p o d - 1   z o n e :   z o n e - a   h i n t s :   f o r Z o n e s :   -   n a m e :   \" z o n e - a \"",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_977"
  },
  {
    "question": "What is kube-proxy?",
    "answer": "T h e   k u b e - p r o x y   c o m p o n e n t   f i l t e r s   t h e   e n d p o i n t s   i t   r o u t e s   t o   b a s e d   o n   t h e   h i n t s   s e t   b y   t h e   E n d p o i n t S l i c e   c o n t r o l l e r .   I n   m o s t   c a s e s ,   t h i s   m e a n s   t h a t   t h e   k u b e - p r o x y   i s   a b l e   t o   r o u t e   t r a f f i c   t o   e n d p o i n t s   i n   t h e   s a m e   z o n e .   S o m e t i m e s   t h e   c o n t r o l l e r   a l l o c a t e s   e n d p o i n t s   f r o m   a   d i f f e r e n t   z o n e   t o   e n s u r e   m o r e   e v e n   d i s t r i b u t i o n   o f   e n d p o i n t s   b e t w e e n   z o n e s .   T h i s   w o u l d   r e s u l t   i n   s o m e   t r a f f i c   b e i n g   r o u t e d   t o   o t h e r   z o n e s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_978"
  },
  {
    "question": "What is Safeguards?",
    "answer": "T h e   K u b e r n e t e s   c o n t r o l   p l a n e   a n d   t h e   k u b e - p r o x y   o n   e a c h   n o d e   a p p l y   s o m e   s a f e g u a r d   r u l e s   b e f o r e   u s i n g   T o p o l o g y   A w a r e   H i n t s .   I f   t h e s e   d o n ' t   c h e c k   o u t ,   t h e   k u b e - p r o x y   s e l e c t s   e n d p o i n t s   f r o m   a n y w h e r e   i n   y o u r   c l u s t e r ,   r e g a r d l e s s   o f   t h e   z o n e .   I n s u f f i c i e n t   n u m b e r   o f   e n d p o i n t s :   I f   t h e r e   a r e   l e s s   e n d p o i n t s   t h a n   z o n e s   i n   a   c l u s t e r ,   t h e   c o n t r o l l e r   w i l l   n o t   a s s i g n   a n y   h i n t s . I m p o s s i b l e   t o   a c h i e v e   b a l a n c e d   a l l o c a t i o n :   I n   s o m e   c a s e s ,   i t   w i l l   b e   i m p o s s i b l e   t o   a c h i e v e   a   b a l a n c e d   a l l o c a t i o n   o f   e n d p o i n t s   a m o n g   z o n e s .   F o r   e x a m p l e ,   i f   z o n e - a   i s   t w i c e   a s   l a r g e   a s   z o n e - b ,   b u t   t h e r e   a r e   o n l y   2   e n d p o i n t s ,   a n   e n d p o i n t   a l l o c a t e d   t o   z o n e - a   m a y   r e c e i v e   t w i c e   a s   m u c h   t r a f f i c   a s   z o n e - b .   T h e   c o n t r o l l e r   d o e s   n o t   a s s i g n   h i n t s   i f   i t   c a n ' t   g e t   t h i s   \" e x p e c t e d   o v e r l o a d \"   v a l u e   b e l o w   a n   a c c e p t a b l e   t h r e s h o l d   f o r   e a c h   z o n e .   I m p o r t a n t l y   t h i s   i s   n o t   b a s e d   o n   r e a l - t i m e",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_979"
  },
  {
    "question": "What is Constraints?",
    "answer": "T o p o l o g y   A w a r e   H i n t s   a r e   n o t   u s e d   w h e n   i n t e r n a l T r a f f i c P o l i c y   i s   s e t   t o   L o c a l   o n   a   S e r v i c e .   I t   i s   p o s s i b l e   t o   u s e   b o t h   f e a t u r e s   i n   t h e   s a m e   c l u s t e r   o n   d i f f e r e n t   S e r v i c e s ,   j u s t   n o t   o n   t h e   s a m e   S e r v i c e . T h i s   a p p r o a c h   w i l l   n o t   w o r k   w e l l   f o r   S e r v i c e s   t h a t   h a v e   a   l a r g e   p r o p o r t i o n   o f   t r a f f i c   o r i g i n a t i n g   f r o m   a   s u b s e t   o f   z o n e s .   I n s t e a d   t h i s   a s s u m e s   t h a t   i n c o m i n g   t r a f f i c   w i l l   b e   r o u g h l y   p r o p o r t i o n a l   t o   t h e   c a p a c i t y   o f   t h e   N o d e s   i n   e a c h   z o n e . T h e   E n d p o i n t S l i c e   c o n t r o l l e r   i g n o r e s   u n r e a d y   n o d e s   a s   i t   c a l c u l a t e s   t h e   p r o p o r t i o n s   o f   e a c h   z o n e .   T h i s   c o u l d   h a v e   u n i n t e n d e d   c o n s e q u e n c e s   i f   a   l a r g e   p o r t i o n   o f   n o d e s   a r e   u n r e a d y . T h e   E n d p o i n t S l i c e   c o n t r o l l e r   i g n o r e s   n o d e s   w i t h   t h e   n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e   o r   n o d e - r o l e . k u b e r n e t e s . i o / m a s t e r   l a b e l   s e t .   T h i s   c o u l d   b e   p r o b l e m a t i c   i f   w o r k l o a d s   a r e   a l s o   r u n n i n g   o n   t h o s e   n o d e s . T h e   E n d p o i n t S l i c e   c o n t r o l l e r   d o e s   n o t   t a k e   i n t o   a c c o u n t   t o l e r a t i o n s   w h e n   d e p l o y i n g   o r   c a l c u l a t i n g   t h e   p r o p o r t i o n s   o f   e a c h   z o n e .   I f   t h e   P o d s   b a c k i n g   a   S e r v i c e   a r e   l i m i t e d   t o   a   s u b s e t ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_980"
  },
  {
    "question": "What is Custom heuristics?",
    "answer": "K u b e r n e t e s   i s   d e p l o y e d   i n   m a n y   d i f f e r e n t   w a y s ,   t h e r e   i s   n o   s i n g l e   h e u r i s t i c   f o r   a l l o c a t i n g   e n d p o i n t s   t o   z o n e s   w i l l   w o r k   f o r   e v e r y   u s e   c a s e .   A   k e y   g o a l   o f   t h i s   f e a t u r e   i s   t o   e n a b l e   c u s t o m   h e u r i s t i c s   t o   b e   d e v e l o p e d   i f   t h e   b u i l t   i n   h e u r i s t i c   d o e s   n o t   w o r k   f o r   y o u r   u s e   c a s e .   T h e   f i r s t   s t e p s   t o   e n a b l e   c u s t o m   h e u r i s t i c s   w e r e   i n c l u d e d   i n   t h e   1 . 2 7   r e l e a s e .   T h i s   i s   a   l i m i t e d   i m p l e m e n t a t i o n   t h a t   m a y   n o t   y e t   c o v e r   s o m e   r e l e v a n t   a n d   p l a u s i b l e   s i t u a t i o n s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_981"
  },
  {
    "question": "What is What's next?",
    "answer": "F o l l o w   t h e   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s   t u t o r i a l L e a r n   a b o u t   t h e   t r a f f i c D i s t r i b u t i o n   f i e l d ,   w h i c h   i s   c l o s e l y   r e l a t e d   t o   t h e   s e r v i c e . k u b e r n e t e s . i o / t o p o l o g y - m o d e   a n n o t a t i o n   a n d   p r o v i d e s   f l e x i b l e   o p t i o n s   f o r   t r a f f i c   r o u t i n g   w i t h i n   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_982"
  },
  {
    "question": "What is 10 - Networking on Windows?",
    "answer": "K u b e r n e t e s   s u p p o r t s   r u n n i n g   n o d e s   o n   e i t h e r   L i n u x   o r   W i n d o w s .   Y o u   c a n   m i x   b o t h   k i n d s   o f   n o d e   w i t h i n   a   s i n g l e   c l u s t e r .   T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   t o   n e t w o r k i n g   s p e c i f i c   t o   t h e   W i n d o w s   o p e r a t i n g   s y s t e m .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_1_983"
  },
  {
    "question": "What is Container networking on Windows?",
    "answer": "N e t w o r k i n g   f o r   W i n d o w s   c o n t a i n e r s   i s   e x p o s e d   t h r o u g h   C N I   p l u g i n s .   W i n d o w s   c o n t a i n e r s   f u n c t i o n   s i m i l a r l y   t o   v i r t u a l   m a c h i n e s   i n   r e g a r d s   t o   n e t w o r k i n g .   E a c h   c o n t a i n e r   h a s   a   v i r t u a l   n e t w o r k   a d a p t e r   ( v N I C )   w h i c h   i s   c o n n e c t e d   t o   a   H y p e r - V   v i r t u a l   s w i t c h   ( v S w i t c h ) .   T h e   H o s t   N e t w o r k i n g   S e r v i c e   ( H N S )   a n d   t h e   H o s t   C o m p u t e   S e r v i c e   ( H C S )   w o r k   t o g e t h e r   t o   c r e a t e   c o n t a i n e r s   a n d   a t t a c h   c o n t a i n e r   v N I C s   t o   n e t w o r k s .   H C S   i s   r e s p o n s i b l e   f o r   t h e   m a n a g e m e n t   o f   c o n t a i n e r s   w h e r e a s   H N S   i s   r e s p o n s i b l e   f o r   t h e   m a n a g e m e n t   o f   n e t w o r k i n g   r e s o u r c e s   s u c h   a s :   V i r t u a l   n e t w o r k s   ( i n c l u d i n g   c r e a t i o n   o f   v S w i t c h e s ) E n d p o i n t s   /   v N I C s N a m e s p a c e s P o l i c i e s   i n c l u d i n g   p a c k e t   e n c a p s u l a t i o n s ,   l o a d - b a l a n c i n g   r u l e s ,   A C L s ,   a n d   N A T   r u l e s .   T h e   W i n d o w s   H N S   a n d   v S w i t c h   i m p l e m e n t   n a m e s p a c i n g   a n d   c a n   c r e a t e   v i r t u a l   N I C s   a s   n e e d e d   f o r   a   p o d   o r   c o n t a i n e r .   H o w e v e r ,   m a n y   c o n f i g u r a t i o n s   s u c h   a s   D N S ,   r o u t e s ,   a n d   m e t r i c s   a r e   s t o r e d   i n   t h e   W i n d o w s   r e g i s t r y   d a t a b a s e   r a t h e r   t h a n   a s   f i l e s   i n s i d e   / e t c ,   w h i c h   i s   h o w   L i n u x   s t o r e s   t h o s e   c o n f i g u r a t i o n s .   T h e ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_984"
  },
  {
    "question": "What is Network modes?",
    "answer": "W i n d o w s   s u p p o r t s   f i v e   d i f f e r e n t   n e t w o r k i n g   d r i v e r s / m o d e s :   L 2 b r i d g e ,   L 2 t u n n e l ,   O v e r l a y   ( B e t a ) ,   T r a n s p a r e n t ,   a n d   N A T .   I n   a   h e t e r o g e n e o u s   c l u s t e r   w i t h   W i n d o w s   a n d   L i n u x   w o r k e r   n o d e s ,   y o u   n e e d   t o   s e l e c t   a   n e t w o r k i n g   s o l u t i o n   t h a t   i s   c o m p a t i b l e   o n   b o t h   W i n d o w s   a n d   L i n u x .   T h e   f o l l o w i n g   t a b l e   l i s t s   t h e   o u t - o f - t r e e   p l u g i n s   a r e   s u p p o r t e d   o n   W i n d o w s ,   w i t h   r e c o m m e n d a t i o n s   o n   w h e n   t o   u s e   e a c h   C N I :   A s   o u t l i n e d   a b o v e ,   t h e   F l a n n e l   C N I   p l u g i n   i s   a l s o   s u p p o r t e d   o n   W i n d o w s   v i a   t h e   V X L A N   n e t w o r k   b a c k e n d   ( B e t a   s u p p o r t   ;   d e l e g a t e s   t o   w i n - o v e r l a y )   a n d   h o s t - g a t e w a y   n e t w o r k   b a c k e n d   ( s t a b l e   s u p p o r t ;   d e l e g a t e s   t o   w i n - b r i d g e ) .   T h i s   p l u g i n   s u p p o r t s   d e l e g a t i n g   t o   o n e   o f   t h e   r e f e r e n c e   C N I   p l u g i n s   ( w i n - o v e r l a y ,   w i n - b r i d g e ) ,   t o   w o r k   i n   c o n j u n c t i o n   w i t h   F l a n n e l   d a e m o n   o n   W i n d o w s   ( F l a n n e l d )   f o r   a u t o m a t i c   n o d e   s u b n e t   l e a s e   a s s i g n m e n t   a n d   H N S   n e t w o r k   c r e a t i o n .   T h i s   p l u g i n   r e a d s   i n   i t s   o w n   c o n f i g u r a t i o n   f i l e   ( c n i . c o n f ) ,   a n d   a g g r e g a t e s   i t   w i t h   t h e   e n v i r o n m e n t   v a r i a b l e s   f r o m   t h e   F l a n n e l D   g e n e r a t e d   s u b n e t . e n v   f i l e .   I t   t h e n   d ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_985"
  },
  {
    "question": "What is IP address management (IPAM)?",
    "answer": "T h e   f o l l o w i n g   I P A M   o p t i o n s   a r e   s u p p o r t e d   o n   W i n d o w s :   h o s t - l o c a l a z u r e - v n e t - i p a m   ( f o r   a z u r e - c n i   o n l y ) W i n d o w s   S e r v e r   I P A M   ( f a l l b a c k   o p t i o n   i f   n o   I P A M   i s   s e t )",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_986"
  },
  {
    "question": "What is Direct Server Return (DSR)?",
    "answer": "L o a d   b a l a n c i n g   m o d e   w h e r e   t h e   I P   a d d r e s s   f i x u p s   a n d   t h e   L B N A T   o c c u r s   a t   t h e   c o n t a i n e r   v S w i t c h   p o r t   d i r e c t l y ;   s e r v i c e   t r a f f i c   a r r i v e s   w i t h   t h e   s o u r c e   I P   s e t   a s   t h e   o r i g i n a t i n g   p o d   I P .   T h i s   p r o v i d e s   p e r f o r m a n c e   o p t i m i z a t i o n s   b y   a l l o w i n g   t h e   r e t u r n   t r a f f i c   r o u t e d   t h r o u g h   l o a d   b a l a n c e r s   t o   b y p a s s   t h e   l o a d   b a l a n c e r   a n d   r e s p o n d   d i r e c t l y   t o   t h e   c l i e n t ;   r e d u c i n g   l o a d   o n   t h e   l o a d   b a l a n c e r   a n d   a l s o   r e d u c i n g   o v e r a l l   l a t e n c y .   F o r   m o r e   i n f o r m a t i o n ,   r e a d   D i r e c t   S e r v e r   R e t u r n   ( D S R )   i n   a   n u t s h e l l .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_987"
  },
  {
    "question": "What is Load balancing and Services?",
    "answer": "A   K u b e r n e t e s   S e r v i c e   i s   a n   a b s t r a c t i o n   t h a t   d e f i n e s   a   l o g i c a l   s e t   o f   P o d s   a n d   a   m e a n s   t o   a c c e s s   t h e m   o v e r   a   n e t w o r k .   I n   a   c l u s t e r   t h a t   i n c l u d e s   W i n d o w s   n o d e s ,   y o u   c a n   u s e   t h e   f o l l o w i n g   t y p e s   o f   S e r v i c e :   N o d e P o r t C l u s t e r I P L o a d B a l a n c e r E x t e r n a l N a m e   W i n d o w s   c o n t a i n e r   n e t w o r k i n g   d i f f e r s   i n   s o m e   i m p o r t a n t   w a y s   f r o m   L i n u x   n e t w o r k i n g .   T h e   M i c r o s o f t   d o c u m e n t a t i o n   f o r   W i n d o w s   C o n t a i n e r   N e t w o r k i n g   p r o v i d e s   a d d i t i o n a l   d e t a i l s   a n d   b a c k g r o u n d .   O n   W i n d o w s ,   y o u   c a n   u s e   t h e   f o l l o w i n g   s e t t i n g s   t o   c o n f i g u r e   S e r v i c e s   a n d   l o a d   b a l a n c i n g   b e h a v i o r :",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_988"
  },
  {
    "question": "What is Limitations?",
    "answer": "T h e   f o l l o w i n g   n e t w o r k i n g   f u n c t i o n a l i t y   i s   n o t   s u p p o r t e d   o n   W i n d o w s   n o d e s :   H o s t   n e t w o r k i n g   m o d e L o c a l   N o d e P o r t   a c c e s s   f r o m   t h e   n o d e   i t s e l f   ( w o r k s   f o r   o t h e r   n o d e s   o r   e x t e r n a l   c l i e n t s ) M o r e   t h a n   6 4   b a c k e n d   p o d s   ( o r   u n i q u e   d e s t i n a t i o n   a d d r e s s e s )   f o r   a   s i n g l e   S e r v i c e I P v 6   c o m m u n i c a t i o n   b e t w e e n   W i n d o w s   p o d s   c o n n e c t e d   t o   o v e r l a y   n e t w o r k s L o c a l   T r a f f i c   P o l i c y   i n   n o n - D S R   m o d e O u t b o u n d   c o m m u n i c a t i o n   u s i n g   t h e   I C M P   p r o t o c o l   v i a   t h e   w i n - o v e r l a y ,   w i n - b r i d g e ,   o r   u s i n g   t h e   A z u r e - C N I   p l u g i n .   S p e c i f i c a l l y ,   t h e   W i n d o w s   d a t a   p l a n e   ( V F P )   d o e s n ' t   s u p p o r t   I C M P   p a c k e t   t r a n s p o s i t i o n s ,   a n d   t h i s   m e a n s : I C M P   p a c k e t s   d i r e c t e d   t o   d e s t i n a t i o n s   w i t h i n   t h e   s a m e   n e t w o r k   ( s u c h   a s   p o d   t o   p o d   c o m m u n i c a t i o n   v i a   p i n g )   w o r k   a s   e x p e c t e d ; T C P / U D P   p a c k e t s   w o r k   a s   e x p e c t e d ; I C M P   p a c k e t s   d i r e c t e d   t o   p a s s   t h r o u g h   a   r e m o t e   n e t w o r k   ( e . g .   p o d   t o   e x t e r n a l   i n t e r n e t   c o m m u n i c a t i o n   v i a   p i n g )   c a n n o t   b e   t r a n s p o s e d   a n d   t h u s   w i l l   n o t   b e   r o u t e d   b a c k   t o   t h e i r   s o u r c e ; S i n c e   T C P / U D P   p a c k e t s   c a n   s t i l l   b e   t r a n s p o s e d ,   y o u   c a n   s u b s t i t u t e   p i n g   < d e s t i n a t i o n >   w ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_989"
  },
  {
    "question": "What is 11 - Service ClusterIP allocation?",
    "answer": "I n   K u b e r n e t e s ,   S e r v i c e s   a r e   a n   a b s t r a c t   w a y   t o   e x p o s e   a n   a p p l i c a t i o n   r u n n i n g   o n   a   s e t   o f   P o d s .   S e r v i c e s   c a n   h a v e   a   c l u s t e r - s c o p e d   v i r t u a l   I P   a d d r e s s   ( u s i n g   a   S e r v i c e   o f   t y p e :   C l u s t e r I P ) .   C l i e n t s   c a n   c o n n e c t   u s i n g   t h a t   v i r t u a l   I P   a d d r e s s ,   a n d   K u b e r n e t e s   t h e n   l o a d - b a l a n c e s   t r a f f i c   t o   t h a t   S e r v i c e   a c r o s s   t h e   d i f f e r e n t   b a c k i n g   P o d s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_1_990"
  },
  {
    "question": "What is How Service ClusterIPs are allocated??",
    "answer": "W h e n   K u b e r n e t e s   n e e d s   t o   a s s i g n   a   v i r t u a l   I P   a d d r e s s   f o r   a   S e r v i c e ,   t h a t   a s s i g n m e n t   h a p p e n s   o n e   o f   t w o   w a y s :   A c r o s s   y o u r   w h o l e   c l u s t e r ,   e v e r y   S e r v i c e   C l u s t e r I P   m u s t   b e   u n i q u e .   T r y i n g   t o   c r e a t e   a   S e r v i c e   w i t h   a   s p e c i f i c   C l u s t e r I P   t h a t   h a s   a l r e a d y   b e e n   a l l o c a t e d   w i l l   r e t u r n   a n   e r r o r .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_991"
  },
  {
    "question": "What is Why do you need to reserve Service Cluster IPs??",
    "answer": "S o m e t i m e s   y o u   m a y   w a n t   t o   h a v e   S e r v i c e s   r u n n i n g   i n   w e l l - k n o w n   I P   a d d r e s s e s ,   s o   o t h e r   c o m p o n e n t s   a n d   u s e r s   i n   t h e   c l u s t e r   c a n   u s e   t h e m .   T h e   b e s t   e x a m p l e   i s   t h e   D N S   S e r v i c e   f o r   t h e   c l u s t e r .   A s   a   s o f t   c o n v e n t i o n ,   s o m e   K u b e r n e t e s   i n s t a l l e r s   a s s i g n   t h e   1 0 t h   I P   a d d r e s s   f r o m   t h e   S e r v i c e   I P   r a n g e   t o   t h e   D N S   s e r v i c e .   A s s u m i n g   y o u   c o n f i g u r e d   y o u r   c l u s t e r   w i t h   S e r v i c e   I P   r a n g e   1 0 . 9 6 . 0 . 0 / 1 6   a n d   y o u   w a n t   y o u r   D N S   S e r v i c e   I P   t o   b e   1 0 . 9 6 . 0 . 1 0 ,   y o u ' d   h a v e   t o   c r e a t e   a   S e r v i c e   l i k e   t h i s :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   l a b e l s :   k 8 s - a p p :   k u b e - d n s   k u b e r n e t e s . i o / c l u s t e r - s e r v i c e :   \" t r u e \"   k u b e r n e t e s . i o / n a m e :   C o r e D N S   n a m e :   k u b e - d n s   n a m e s p a c e :   k u b e - s y s t e m   s p e c :   c l u s t e r I P :   1 0 . 9 6 . 0 . 1 0   p o r t s :   -   n a m e :   d n s   p o r t :   5 3   p r o t o c o l :   U D P   t a r g e t P o r t :   5 3   -   n a m e :   d n s - t c p   p o r t :   5 3   p r o t o c o l :   T C P   t a r g e t P o r t :   5 3   s e l e c t o r :   k 8 s - a p p :   k u b e - d n s   t y p e :   C l u s t e r I P   B u t ,   a s   i t   w a s   e x p l a i n e d   b e f o r e ,   t h e   I P   a d d r e s s   1 0 . 9 6 . 0 . 1 0   h a s   n o t   b e e n   r e s e r v e d .   I f   o t h e r   S e r v i c e s   a r e   c r e a t e d   b e f o r e   o r   i n   p a r a l l e l   w i t h   d y n a m i c   a l l o c a t i o n ,   t h e r e   i s   a   c h a ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_992"
  },
  {
    "question": "What is How can you avoid Service ClusterIP conflicts??",
    "answer": "T h e   a l l o c a t i o n   s t r a t e g y   i m p l e m e n t e d   i n   K u b e r n e t e s   t o   a l l o c a t e   C l u s t e r I P s   t o   S e r v i c e s   r e d u c e s   t h e   r i s k   o f   c o l l i s i o n .   T h e   C l u s t e r I P   r a n g e   i s   d i v i d e d ,   b a s e d   o n   t h e   f o r m u l a   m i n ( m a x ( 1 6 ,   c i d r S i z e   /   1 6 ) ,   2 5 6 ) ,   d e s c r i b e d   a s   n e v e r   l e s s   t h a n   1 6   o r   m o r e   t h a n   2 5 6   w i t h   a   g r a d u a t e d   s t e p   b e t w e e n   t h e m .   D y n a m i c   I P   a s s i g n m e n t   u s e s   t h e   u p p e r   b a n d   b y   d e f a u l t ,   o n c e   t h i s   h a s   b e e n   e x h a u s t e d   i t   w i l l   u s e   t h e   l o w e r   r a n g e .   T h i s   w i l l   a l l o w   u s e r s   t o   u s e   s t a t i c   a l l o c a t i o n s   o n   t h e   l o w e r   b a n d   w i t h   a   l o w   r i s k   o f   c o l l i s i o n .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_993"
  },
  {
    "question": "What is Example 1?",
    "answer": "T h i s   e x a m p l e   u s e s   t h e   I P   a d d r e s s   r a n g e :   1 0 . 9 6 . 0 . 0 / 2 4   ( C I D R   n o t a t i o n )   f o r   t h e   I P   a d d r e s s e s   o f   S e r v i c e s .   R a n g e   S i z e :   2 8   -   2   =   2 5 4 B a n d   O f f s e t :   m i n ( m a x ( 1 6 ,   2 5 6 / 1 6 ) ,   2 5 6 )   =   m i n ( 1 6 ,   2 5 6 )   =   1 6 S t a t i c   b a n d   s t a r t :   1 0 . 9 6 . 0 . 1 S t a t i c   b a n d   e n d :   1 0 . 9 6 . 0 . 1 6 R a n g e   e n d :   1 0 . 9 6 . 0 . 2 5 4",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_994"
  },
  {
    "question": "What is Example 2?",
    "answer": "T h i s   e x a m p l e   u s e s   t h e   I P   a d d r e s s   r a n g e :   1 0 . 9 6 . 0 . 0 / 2 0   ( C I D R   n o t a t i o n )   f o r   t h e   I P   a d d r e s s e s   o f   S e r v i c e s .   R a n g e   S i z e :   2 1 2   -   2   =   4 0 9 4 B a n d   O f f s e t :   m i n ( m a x ( 1 6 ,   4 0 9 6 / 1 6 ) ,   2 5 6 )   =   m i n ( 2 5 6 ,   2 5 6 )   =   2 5 6 S t a t i c   b a n d   s t a r t :   1 0 . 9 6 . 0 . 1 S t a t i c   b a n d   e n d :   1 0 . 9 6 . 1 . 0 R a n g e   e n d :   1 0 . 9 6 . 1 5 . 2 5 4",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_995"
  },
  {
    "question": "What is Example 3?",
    "answer": "T h i s   e x a m p l e   u s e s   t h e   I P   a d d r e s s   r a n g e :   1 0 . 9 6 . 0 . 0 / 1 6   ( C I D R   n o t a t i o n )   f o r   t h e   I P   a d d r e s s e s   o f   S e r v i c e s .   R a n g e   S i z e :   2 1 6   -   2   =   6 5 5 3 4 B a n d   O f f s e t :   m i n ( m a x ( 1 6 ,   6 5 5 3 6 / 1 6 ) ,   2 5 6 )   =   m i n ( 4 0 9 6 ,   2 5 6 )   =   2 5 6 S t a t i c   b a n d   s t a r t :   1 0 . 9 6 . 0 . 1 S t a t i c   b a n d   e n d s :   1 0 . 9 6 . 1 . 0 R a n g e   e n d :   1 0 . 9 6 . 2 5 5 . 2 5 4",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_3_996"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   S e r v i c e   E x t e r n a l   T r a f f i c   P o l i c y R e a d   a b o u t   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s R e a d   a b o u t   S e r v i c e s",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_997"
  },
  {
    "question": "What is 12 - Service Internal Traffic Policy?",
    "answer": "S e r v i c e   I n t e r n a l   T r a f f i c   P o l i c y   e n a b l e s   i n t e r n a l   t r a f f i c   r e s t r i c t i o n s   t o   o n l y   r o u t e   i n t e r n a l   t r a f f i c   t o   e n d p o i n t s   w i t h i n   t h e   n o d e   t h e   t r a f f i c   o r i g i n a t e d   f r o m .   T h e   \" i n t e r n a l \"   t r a f f i c   h e r e   r e f e r s   t o   t r a f f i c   o r i g i n a t e d   f r o m   P o d s   i n   t h e   c u r r e n t   c l u s t e r .   T h i s   c a n   h e l p   t o   r e d u c e   c o s t s   a n d   i m p r o v e   p e r f o r m a n c e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_1_998"
  },
  {
    "question": "What is Using Service Internal Traffic Policy?",
    "answer": "Y o u   c a n   e n a b l e   t h e   i n t e r n a l - o n l y   t r a f f i c   p o l i c y   f o r   a   S e r v i c e ,   b y   s e t t i n g   i t s   . s p e c . i n t e r n a l T r a f f i c P o l i c y   t o   L o c a l .   T h i s   t e l l s   k u b e - p r o x y   t o   o n l y   u s e   n o d e   l o c a l   e n d p o i n t s   f o r   c l u s t e r   i n t e r n a l   t r a f f i c .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_999"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   f o l l o w i n g   e x a m p l e   s h o w s   w h a t   a   S e r v i c e   l o o k s   l i k e   w h e n   y o u   s e t   . s p e c . i n t e r n a l T r a f f i c P o l i c y   t o   L o c a l :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   s p e c :   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   8 0   t a r g e t P o r t :   9 3 7 6   i n t e r n a l T r a f f i c P o l i c y :   L o c a l",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_4_1000"
  },
  {
    "question": "What is How it works?",
    "answer": "T h e   k u b e - p r o x y   f i l t e r s   t h e   e n d p o i n t s   i t   r o u t e s   t o   b a s e d   o n   t h e   s p e c . i n t e r n a l T r a f f i c P o l i c y   s e t t i n g .   W h e n   i t ' s   s e t   t o   L o c a l ,   o n l y   n o d e   l o c a l   e n d p o i n t s   a r e   c o n s i d e r e d .   W h e n   i t ' s   C l u s t e r   ( t h e   d e f a u l t ) ,   o r   i s   n o t   s e t ,   K u b e r n e t e s   c o n s i d e r s   a l l   e n d p o i n t s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_1001"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   T o p o l o g y   A w a r e   R o u t i n g R e a d   a b o u t   S e r v i c e   E x t e r n a l   T r a f f i c   P o l i c y F o l l o w   t h e   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s   t u t o r i a l   ©   2 0 2 5   T h e   K u b e r n e t e s   A u t h o r s   |   D o c u m e n t a t i o n   D i s t r i b u t e d   u n d e r   C C   B Y   4 . 0   ©   2 0 2 5   T h e   L i n u x   F o u n d a t i o n   ® .   A l l   r i g h t s   r e s e r v e d .   T h e   L i n u x   F o u n d a t i o n   h a s   r e g i s t e r e d   t r a d e m a r k s   a n d   u s e s   t r a d e m a r k s .   F o r   a   l i s t   o f   t r a d e m a r k s   o f   T h e   L i n u x   F o u n d a t i o n ,   p l e a s e   s e e   o u r   T r a d e m a r k   U s a g e   p a g e   I C P   l i c e n s e :   京 I C P 备 1 7 0 7 4 2 6 6 号 - 3",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/_print/",
    "id": "k8s_00056_section_2_1002"
  },
  {
    "question": "What is Roles and responsibilities?",
    "answer": "Roles and responsibilitiesAnyone can contribute to Kubernetes. As your contributions to SIG Docs grow, you can apply for different levels of membership in the community. These roles allow you to take on more responsibility within the community. Each role requires more time and commitment. The roles are:Anyone: regular contributors to the Kubernetes documentationMembers: can assign and triage issues and provide non-binding review on pull requestsReviewers: can lead reviews on documentation pull requests and can vouch for a change's qualityApprovers: can lead reviews on documentation and merge changesAnyoneAnyone with a GitHub account can contribute to Kubernetes. SIG Docs welcomes all new contributors!Anyone can:Open an issue in any Kubernetes repository, including kubernetes/websiteGive non-binding",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/roles-and-responsibilities/",
    "id": "k8s_00057_qa_1003"
  },
  {
    "question": "How does Roles and responsibilities work?",
    "answer": "Roles and responsibilitiesAnyone can contribute to Kubernetes. As your contributions to SIG Docs grow, you can apply for different levels of membership in the community. These roles allow you to take on more responsibility within the community. Each role requires more time and commitment. The roles are:Anyone: regular contributors to the Kubernetes documentationMembers: can assign and triage issues and provide non-binding review on pull requestsReviewers: can lead reviews on documentation pull requests and can vouch for a change's qualityApprovers: can lead reviews on documentation and merge changesAnyoneAnyone with a GitHub account can contribute to Kubernetes. SIG Docs welcomes all new contributors!Anyone can:Open an issue in any Kubernetes repository, including kubernetes/websiteGive non-binding",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/roles-and-responsibilities/",
    "id": "k8s_00057_qa_1004"
  },
  {
    "question": "When would you use Roles and responsibilities?",
    "answer": "Roles and responsibilitiesAnyone can contribute to Kubernetes. As your contributions to SIG Docs grow, you can apply for different levels of membership in the community. These roles allow you to take on more responsibility within the community. Each role requires more time and commitment. The roles are:Anyone: regular contributors to the Kubernetes documentationMembers: can assign and triage issues and provide non-binding review on pull requestsReviewers: can lead reviews on documentation pull requests and can vouch for a change's qualityApprovers: can lead reviews on documentation and merge changesAnyoneAnyone with a GitHub account can contribute to Kubernetes. SIG Docs welcomes all new contributors!Anyone can:Open an issue in any Kubernetes repository, including kubernetes/websiteGive non-binding",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/roles-and-responsibilities/",
    "id": "k8s_00057_qa_1005"
  },
  {
    "question": "What are the benefits of Roles and responsibilities?",
    "answer": "Roles and responsibilitiesAnyone can contribute to Kubernetes. As your contributions to SIG Docs grow, you can apply for different levels of membership in the community. These roles allow you to take on more responsibility within the community. Each role requires more time and commitment. The roles are:Anyone: regular contributors to the Kubernetes documentationMembers: can assign and triage issues and provide non-binding review on pull requestsReviewers: can lead reviews on documentation pull requests and can vouch for a change's qualityApprovers: can lead reviews on documentation and merge changesAnyoneAnyone with a GitHub account can contribute to Kubernetes. SIG Docs welcomes all new contributors!Anyone can:Open an issue in any Kubernetes repository, including kubernetes/websiteGive non-binding",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/roles-and-responsibilities/",
    "id": "k8s_00057_qa_1006"
  },
  {
    "question": "What is Roles and responsibilities?",
    "answer": "A n y o n e   c a n   c o n t r i b u t e   t o   K u b e r n e t e s .   A s   y o u r   c o n t r i b u t i o n s   t o   S I G   D o c s   g r o w ,   y o u   c a n   a p p l y   f o r   d i f f e r e n t   l e v e l s   o f   m e m b e r s h i p   i n   t h e   c o m m u n i t y .   T h e s e   r o l e s   a l l o w   y o u   t o   t a k e   o n   m o r e   r e s p o n s i b i l i t y   w i t h i n   t h e   c o m m u n i t y .   E a c h   r o l e   r e q u i r e s   m o r e   t i m e   a n d   c o m m i t m e n t .   T h e   r o l e s   a r e :   A n y o n e :   r e g u l a r   c o n t r i b u t o r s   t o   t h e   K u b e r n e t e s   d o c u m e n t a t i o n M e m b e r s :   c a n   a s s i g n   a n d   t r i a g e   i s s u e s   a n d   p r o v i d e   n o n - b i n d i n g   r e v i e w   o n   p u l l   r e q u e s t s R e v i e w e r s :   c a n   l e a d   r e v i e w s   o n   d o c u m e n t a t i o n   p u l l   r e q u e s t s   a n d   c a n   v o u c h   f o r   a   c h a n g e ' s   q u a l i t y A p p r o v e r s :   c a n   l e a d   r e v i e w s   o n   d o c u m e n t a t i o n   a n d   m e r g e   c h a n g e s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/roles-and-responsibilities/",
    "id": "k8s_00057_section_1_1007"
  },
  {
    "question": "What is Anyone?",
    "answer": "A n y o n e   w i t h   a   G i t H u b   a c c o u n t   c a n   c o n t r i b u t e   t o   K u b e r n e t e s .   S I G   D o c s   w e l c o m e s   a l l   n e w   c o n t r i b u t o r s !   A n y o n e   c a n :   O p e n   a n   i s s u e   i n   a n y   K u b e r n e t e s   r e p o s i t o r y ,   i n c l u d i n g   k u b e r n e t e s / w e b s i t e G i v e   n o n - b i n d i n g",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/roles-and-responsibilities/",
    "id": "k8s_00057_section_2_1008"
  },
  {
    "question": "What is Members?",
    "answer": "A   m e m b e r   i s   s o m e o n e   w h o   h a s   s u b m i t t e d   m u l t i p l e   p u l l   r e q u e s t s   t o   k u b e r n e t e s / w e b s i t e .   M e m b e r s   a r e   a   p a r t   o f   t h e   K u b e r n e t e s   G i t H u b   o r g a n i z a t i o n .   M e m b e r s   c a n :   D o   e v e r y t h i n g   l i s t e d   u n d e r   A n y o n e U s e   t h e   / l g t m   c o m m e n t   t o   a d d   t h e   L G T M   ( l o o k s   g o o d   t o   m e )   l a b e l   t o   a   p u l l   r e q u e s t N o t e : U s i n g   / l g t m   t r i g g e r s   a u t o m a t i o n .   I f   y o u   w a n t   t o   p r o v i d e   n o n - b i n d i n g   a p p r o v a l ,   c o m m e n t i n g   \" L G T M \"   w o r k s   t o o ! U s e   t h e   / h o l d   c o m m e n t   t o   b l o c k   m e r g i n g   f o r   a   p u l l   r e q u e s t U s e   t h e   / a s s i g n   c o m m e n t   t o   a s s i g n   a   r e v i e w e r   t o   a   p u l l   r e q u e s t P r o v i d e   n o n - b i n d i n g   r e v i e w   o n   p u l l   r e q u e s t s U s e   a u t o m a t i o n   t o   t r i a g e   a n d   c a t e g o r i z e   i s s u e s D o c u m e n t   n e w   f e a t u r e s   D o   e v e r y t h i n g   l i s t e d   u n d e r   A n y o n e   U s e   t h e   / l g t m   c o m m e n t   t o   a d d   t h e   L G T M   ( l o o k s   g o o d   t o   m e )   l a b e l   t o   a   p u l l   r e q u e s t",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/roles-and-responsibilities/",
    "id": "k8s_00057_section_2_1009"
  },
  {
    "question": "What is Note:?",
    "answer": "U s e   t h e   / h o l d   c o m m e n t   t o   b l o c k   m e r g i n g   f o r   a   p u l l   r e q u e s t   U s e   t h e   / a s s i g n   c o m m e n t   t o   a s s i g n   a   r e v i e w e r   t o   a   p u l l   r e q u e s t   P r o v i d e   n o n - b i n d i n g   r e v i e w   o n   p u l l   r e q u e s t s   U s e   a u t o m a t i o n   t o   t r i a g e   a n d   c a t e g o r i z e   i s s u e s   D o c u m e n t   n e w   f e a t u r e s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/roles-and-responsibilities/",
    "id": "k8s_00057_section_4_1010"
  },
  {
    "question": "What is Becoming a member?",
    "answer": "A f t e r   s u b m i t t i n g   a t   l e a s t   5   s u b s t a n t i a l   p u l l   r e q u e s t s   a n d   m e e t i n g   t h e   o t h e r   r e q u i r e m e n t s :   F i n d   t w o   r e v i e w e r s   o r   a p p r o v e r s   t o   s p o n s o r   y o u r   m e m b e r s h i p . A s k   f o r   s p o n s o r s h i p   i n   t h e   # s i g - d o c s   c h a n n e l   o n   S l a c k   o r   o n   t h e   S I G   D o c s   m a i l i n g   l i s t . N o t e : D o n ' t   s e n d   a   d i r e c t   e m a i l   o r   S l a c k   d i r e c t   m e s s a g e   t o   a n   i n d i v i d u a l   S I G   D o c s   m e m b e r .   Y o u   m u s t   r e q u e s t   s p o n s o r s h i p   b e f o r e   s u b m i t t i n g   y o u r   a p p l i c a t i o n . O p e n   a   G i t H u b   i s s u e   i n   t h e   k u b e r n e t e s / o r g   r e p o s i t o r y .   U s e   t h e   O r g a n i z a t i o n   M e m b e r s h i p   R e q u e s t   i s s u e   t e m p l a t e . L e t   y o u r   s p o n s o r s   k n o w   a b o u t   t h e   G i t H u b   i s s u e .   Y o u   c a n   e i t h e r : M e n t i o n   t h e i r   G i t H u b   u s e r n a m e   i n   a n   i s s u e   ( @ < G i t H u b - u s e r n a m e > ) S e n d   t h e m   t h e   i s s u e   l i n k   u s i n g   S l a c k   o r   e m a i l . S p o n s o r s   w i l l   a p p r o v e   y o u r   r e q u e s t   w i t h   a   + 1   v o t e .   O n c e   y o u r   s p o n s o r s   a p p r o v e   t h e   r e q u e s t ,   a   K u b e r n e t e s   G i t H u b   a d m i n   a d d s   y o u   a s   a   m e m b e r .   C o n g r a t u l a t i o n s ! I f   y o u r   m e m b e r s h i p   r e q u e s t   i s   n o t   a c c e p t e d   y o u   w i l l   r e c e i v e",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/roles-and-responsibilities/",
    "id": "k8s_00057_section_3_1011"
  },
  {
    "question": "What is Note:?",
    "answer": "O p e n   a   G i t H u b   i s s u e   i n   t h e   k u b e r n e t e s / o r g   r e p o s i t o r y .   U s e   t h e   O r g a n i z a t i o n   M e m b e r s h i p   R e q u e s t   i s s u e   t e m p l a t e .   L e t   y o u r   s p o n s o r s   k n o w   a b o u t   t h e   G i t H u b   i s s u e .   Y o u   c a n   e i t h e r :   M e n t i o n   t h e i r   G i t H u b   u s e r n a m e   i n   a n   i s s u e   ( @ < G i t H u b - u s e r n a m e > ) S e n d   t h e m   t h e   i s s u e   l i n k   u s i n g   S l a c k   o r   e m a i l . S p o n s o r s   w i l l   a p p r o v e   y o u r   r e q u e s t   w i t h   a   + 1   v o t e .   O n c e   y o u r   s p o n s o r s   a p p r o v e   t h e   r e q u e s t ,   a   K u b e r n e t e s   G i t H u b   a d m i n   a d d s   y o u   a s   a   m e m b e r .   C o n g r a t u l a t i o n s ! I f   y o u r   m e m b e r s h i p   r e q u e s t   i s   n o t   a c c e p t e d   y o u   w i l l   r e c e i v e",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/roles-and-responsibilities/",
    "id": "k8s_00057_section_4_1012"
  },
  {
    "question": "What is Reviewers?",
    "answer": "R e v i e w e r s   a r e   r e s p o n s i b l e   f o r   r e v i e w i n g   o p e n   p u l l   r e q u e s t s .   U n l i k e   m e m b e r",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/roles-and-responsibilities/",
    "id": "k8s_00057_section_2_1013"
  },
  {
    "question": "What is Note:?",
    "answer": "E d i t   u s e r - f a c i n g   s t r i n g s   i n   c o d e   I m p r o v e   c o d e   c o m m e n t s   Y o u   c a n   b e   a   S I G   D o c s   r e v i e w e r ,   o r   a   r e v i e w e r   f o r   d o c s   i n   a   s p e c i f i c   s u b j e c t   a r e a .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/roles-and-responsibilities/",
    "id": "k8s_00057_section_4_1014"
  },
  {
    "question": "What is Assigning reviewers to pull requests?",
    "answer": "A u t o m a t i o n   a s s i g n s   r e v i e w e r s   t o   a l l   p u l l   r e q u e s t s .   Y o u   c a n   r e q u e s t   a   r e v i e w   f r o m   a   s p e c i f i c   p e r s o n   b y   c o m m e n t i n g :   / a s s i g n   [ @ _ g i t h u b _ h a n d l e ] .   I f   t h e   a s s i g n e d   r e v i e w e r   h a s   n o t   c o m m e n t e d   o n   t h e   P R ,   a n o t h e r   r e v i e w e r   c a n   s t e p   i n .   Y o u   c a n   a l s o   a s s i g n   t e c h n i c a l   r e v i e w e r s   a s   n e e d e d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/roles-and-responsibilities/",
    "id": "k8s_00057_section_3_1015"
  },
  {
    "question": "What is Using /lgtm?",
    "answer": "L G T M   s t a n d s   f o r   \" L o o k s   g o o d   t o   m e \"   a n d   i n d i c a t e s   t h a t   a   p u l l   r e q u e s t   i s   t e c h n i c a l l y   a c c u r a t e   a n d   r e a d y   t o   m e r g e .   A l l   P R s   n e e d   a   / l g t m   c o m m e n t   f r o m   a   r e v i e w e r   a n d   a   / a p p r o v e   c o m m e n t   f r o m   a n   a p p r o v e r   t o   m e r g e .   A   / l g t m   c o m m e n t   f r o m   r e v i e w e r   i s   b i n d i n g   a n d   t r i g g e r s   a u t o m a t i o n   t h a t   a d d s   t h e   l g t m   l a b e l .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/roles-and-responsibilities/",
    "id": "k8s_00057_section_3_1016"
  },
  {
    "question": "What is Becoming a reviewer?",
    "answer": "W h e n   y o u   m e e t   t h e   r e q u i r e m e n t s ,   y o u   c a n   b e c o m e   a   S I G   D o c s   r e v i e w e r .   R e v i e w e r s   i n   o t h e r   S I G s   m u s t   a p p l y   s e p a r a t e l y   f o r   r e v i e w e r   s t a t u s   i n   S I G   D o c s .   T o   a p p l y :   O p e n   a   p u l l   r e q u e s t   t h a t   a d d s   y o u r   G i t H u b   u s e r n a m e   t o   a   s e c t i o n   o f   t h e   O W N E R S _ A L I A S E S   f i l e   i n   t h e   k u b e r n e t e s / w e b s i t e   r e p o s i t o r y . N o t e : I f   y o u   a r e n ' t   s u r e   w h e r e   t o   a d d   y o u r s e l f ,   a d d   y o u r s e l f   t o   s i g - d o c s - e n - r e v i e w s . A s s i g n   t h e   P R   t o   o n e   o r   m o r e   S I G - D o c s   a p p r o v e r s   ( u s e r n a m e s   l i s t e d   u n d e r   s i g - d o c s - { l a n g u a g e } - o w n e r s ) .   O p e n   a   p u l l   r e q u e s t   t h a t   a d d s   y o u r   G i t H u b   u s e r n a m e   t o   a   s e c t i o n   o f   t h e   O W N E R S _ A L I A S E S   f i l e   i n   t h e   k u b e r n e t e s / w e b s i t e   r e p o s i t o r y .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/roles-and-responsibilities/",
    "id": "k8s_00057_section_3_1017"
  },
  {
    "question": "What is Note:?",
    "answer": "A s s i g n   t h e   P R   t o   o n e   o r   m o r e   S I G - D o c s   a p p r o v e r s   ( u s e r n a m e s   l i s t e d   u n d e r   s i g - d o c s - { l a n g u a g e } - o w n e r s ) .   I f   a p p r o v e d ,   a   S I G   D o c s   l e a d   a d d s   y o u   t o   t h e   a p p r o p r i a t e   G i t H u b   t e a m .   O n c e   a d d e d ,   K 8 s - c i - r o b o t   a s s i g n s   a n d   s u g g e s t s   y o u   a s   a   r e v i e w e r   o n   n e w   p u l l   r e q u e s t s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/roles-and-responsibilities/",
    "id": "k8s_00057_section_4_1018"
  },
  {
    "question": "What is Approvers?",
    "answer": "A p p r o v e r s   r e v i e w   a n d   a p p r o v e   p u l l   r e q u e s t s   f o r   m e r g i n g .   A p p r o v e r s   a r e   m e m b e r s   o f   t h e   @ k u b e r n e t e s / s i g - d o c s - { l a n g u a g e } - o w n e r s   G i t H u b   t e a m s .   A p p r o v e r s   c a n   d o   t h e   f o l l o w i n g :   E v e r y t h i n g   l i s t e d   u n d e r   A n y o n e ,   M e m b e r s   a n d   R e v i e w e r s P u b l i s h   c o n t r i b u t o r   c o n t e n t   b y   a p p r o v i n g   a n d   m e r g i n g   p u l l   r e q u e s t s   u s i n g   t h e   / a p p r o v e   c o m m e n t P r o p o s e   i m p r o v e m e n t s   t o   t h e   s t y l e   g u i d e P r o p o s e   i m p r o v e m e n t s   t o   d o c s   t e s t s P r o p o s e   i m p r o v e m e n t s   t o   t h e   K u b e r n e t e s   w e b s i t e   o r   o t h e r   t o o l i n g   I f   t h e   P R   a l r e a d y   h a s   a   / l g t m ,   o r   i f   t h e   a p p r o v e r   a l s o   c o m m e n t s   w i t h   / l g t m ,   t h e   P R   m e r g e s   a u t o m a t i c a l l y .   A   S I G   D o c s   a p p r o v e r   s h o u l d   o n l y   l e a v e   a   / l g t m   o n   a   c h a n g e   t h a t   d o e s n ' t   n e e d   a d d i t i o n a l   t e c h n i c a l   r e v i e w .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/roles-and-responsibilities/",
    "id": "k8s_00057_section_2_1019"
  },
  {
    "question": "What is Approving pull requests?",
    "answer": "A p p r o v e r s   a n d   S I G   D o c s   l e a d s   a r e   t h e   o n l y   o n e s   w h o   c a n   m e r g e   p u l l   r e q u e s t s   i n t o   t h e   w e b s i t e   r e p o s i t o r y .   T h i s   c o m e s   w i t h   c e r t a i n   r e s p o n s i b i l i t i e s .   A p p r o v e r s   c a n   u s e   t h e   / a p p r o v e   c o m m a n d ,   w h i c h   m e r g e s   P R s   i n t o   t h e   r e p o . W a r n i n g : A   c a r e l e s s   m e r g e   c a n   b r e a k   t h e   s i t e ,   s o   b e   s u r e   t h a t   w h e n   y o u   m e r g e   s o m e t h i n g ,   y o u   m e a n   i t . M a k e   s u r e   t h a t   p r o p o s e d   c h a n g e s   m e e t   t h e   d o c u m e n t a t i o n   c o n t e n t   g u i d e . I f   y o u   e v e r   h a v e   a   q u e s t i o n ,   o r   y o u ' r e   n o t   s u r e   a b o u t   s o m e t h i n g ,   f e e l   f r e e   t o   c a l l   f o r   a d d i t i o n a l   r e v i e w . V e r i f y   t h a t   N e t l i f y   t e s t s   p a s s   b e f o r e   y o u   / a p p r o v e   a   P R . V i s i t   t h e   N e t l i f y   p a g e   p r e v i e w   f o r   a   P R   t o   m a k e   s u r e   t h i n g s   l o o k   g o o d   b e f o r e   a p p r o v i n g . P a r t i c i p a t e   i n   t h e   P R   W r a n g l e r   r o t a t i o n   s c h e d u l e   f o r   w e e k l y   r o t a t i o n s .   S I G   D o c s   e x p e c t s   a l l   a p p r o v e r s   t o   p a r t i c i p a t e   i n   t h i s   r o t a t i o n .   S e e   P R   w r a n g l e r s .   f o r   m o r e   d e t a i l s .   A p p r o v e r s   c a n   u s e   t h e   / a p p r o v e   c o m m a n d ,   w h i c h   m e r g e s   P R s   i n t o   t h e   r e p o .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/roles-and-responsibilities/",
    "id": "k8s_00057_section_3_1020"
  },
  {
    "question": "What is Warning:?",
    "answer": "M a k e   s u r e   t h a t   p r o p o s e d   c h a n g e s   m e e t   t h e   d o c u m e n t a t i o n   c o n t e n t   g u i d e .   I f   y o u   e v e r   h a v e   a   q u e s t i o n ,   o r   y o u ' r e   n o t   s u r e   a b o u t   s o m e t h i n g ,   f e e l   f r e e   t o   c a l l   f o r   a d d i t i o n a l   r e v i e w .   V e r i f y   t h a t   N e t l i f y   t e s t s   p a s s   b e f o r e   y o u   / a p p r o v e   a   P R .   V i s i t   t h e   N e t l i f y   p a g e   p r e v i e w   f o r   a   P R   t o   m a k e   s u r e   t h i n g s   l o o k   g o o d   b e f o r e   a p p r o v i n g .   P a r t i c i p a t e   i n   t h e   P R   W r a n g l e r   r o t a t i o n   s c h e d u l e   f o r   w e e k l y   r o t a t i o n s .   S I G   D o c s   e x p e c t s   a l l   a p p r o v e r s   t o   p a r t i c i p a t e   i n   t h i s   r o t a t i o n .   S e e   P R   w r a n g l e r s .   f o r   m o r e   d e t a i l s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/roles-and-responsibilities/",
    "id": "k8s_00057_section_4_1021"
  },
  {
    "question": "What is Becoming an approver?",
    "answer": "W h e n   y o u   m e e t   t h e   r e q u i r e m e n t s ,   y o u   c a n   b e c o m e   a   S I G   D o c s   a p p r o v e r .   A p p r o v e r s   i n   o t h e r   S I G s   m u s t   a p p l y   s e p a r a t e l y   f o r   a p p r o v e r   s t a t u s   i n   S I G   D o c s .   T o   a p p l y :   O p e n   a   p u l l   r e q u e s t   a d d i n g   y o u r s e l f   t o   a   s e c t i o n   o f   t h e   O W N E R S _ A L I A S E S   f i l e   i n   t h e   k u b e r n e t e s / w e b s i t e   r e p o s i t o r y . N o t e : I f   y o u   a r e n ' t   s u r e   w h e r e   t o   a d d   y o u r s e l f ,   a d d   y o u r s e l f   t o   ` s i g - d o c s - e n - o w n e r s ` .   A s s i g n   t h e   P R   t o   o n e   o r   m o r e   c u r r e n t   S I G   D o c s   a p p r o v e r s .   O p e n   a   p u l l   r e q u e s t   a d d i n g   y o u r s e l f   t o   a   s e c t i o n   o f   t h e   O W N E R S _ A L I A S E S   f i l e   i n   t h e   k u b e r n e t e s / w e b s i t e   r e p o s i t o r y .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/roles-and-responsibilities/",
    "id": "k8s_00057_section_3_1022"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   a r e n ' t   s u r e   w h e r e   t o   a d d   y o u r s e l f ,   a d d   y o u r s e l f   t o   ` s i g - d o c s - e n - o w n e r s ` .   A s s i g n   t h e   P R   t o   o n e   o r   m o r e   c u r r e n t   S I G   D o c s   a p p r o v e r s .   I f   a p p r o v e d ,   a   S I G   D o c s   l e a d   a d d s   y o u   t o   t h e   a p p r o p r i a t e   G i t H u b   t e a m .   O n c e   a d d e d ,   @ k 8 s - c i - r o b o t   a s s i g n s   a n d   s u g g e s t s   y o u   a s   a   r e v i e w e r   o n   n e w   p u l l   r e q u e s t s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/roles-and-responsibilities/",
    "id": "k8s_00057_section_4_1023"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   P R   w r a n g l i n g ,   a   r o l e   a l l   a p p r o v e r s   t a k e   o n   r o t a t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/roles-and-responsibilities/",
    "id": "k8s_00057_section_2_1024"
  },
  {
    "question": "What is Define Dependent Environment Variables?",
    "answer": "Define Dependent Environment VariablesThis page shows how to define dependent environment variables for a container in a Kubernetes Pod.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesDefine an environment dependent variable for a containerWhen you create a Pod, you can set dependent environment variables for the containers that run in the Pod. To set dependent environment variables, you can use $(VAR_NAME) in the value of env in the configuration file.In this exercise, you create a Pod that runs one container. The configuration file for the Pod defines a dependent environment variable with common usage defined. Here is the configuration manifest for the Pod:pods/inject/dependent-envars.yaml apiVersion: v1 kind: Pod metadata: name: dependent-envars-demo spec: containers: - name: dependent-envars-demo args: - while true; do echo -en '\\n'; printf UNCHANGED_REFERENCE=$UNCHANGED_REFERENCE'\\n'; printf SERVICE_ADDRESS=$SERVICE_ADDRESS'\\n';printf ESCAPED_REFERENCE=$ESCAPED_REFERENCE'\\n'; sleep 30; done; command: - sh - -c image: busybox:1.28 env: - name: SERVICE_PORT value: \"80\" - name: SERVICE_IP value: \"172.17.0.1\" - name: UNCHANGED_REFERENCE value: \"$(PROTOCOL)://$(SERVICE_IP):$(SERVICE_PORT)\" - name: PROTOCOL value: \"https\" - name: SERVICE_ADDRESS value: \"$(PROTOCOL)://$(SERVICE_IP):$(SERVICE_PORT)\" - name: ESCAPED_REFERENCE value: \"$$(PROTOCOL)://$(SERVICE_IP):$(SERVICE_PORT)\" Create a Pod based on that manifest:kubectl apply -f https://k8s.io/examples/pods/inject/dependent-envars.yaml pod/dependent-envars-demo created List the running Pods:kubectl get pods dependent-envars-demo NAME READY STATUS RESTARTS AGE dependent-envars-demo 1/1 Running 0 9s Check the logs for the container running in your Pod:kubectl logs pod/dependent-envars-demo UNCHANGED_REFERENCE=$(PROTOCOL)://172.17.0.1:80 SERVICE_ADDRESS=https://172.17.0.1:80 ESCAPED_REFERENCE=$(PROTOCOL)://172.17.0.1:80 As shown above, you have defined the correct dependency reference of SERVICE_ADDRESS, bad dependency reference of UNCHANGED_REFERENCE and skip dependent references of ESCAPED_REFERENCE.When an environment variable is already defined when being referenced, the reference can be correctly resolved, such as in the SERVICE_ADDRESS case.Note that order matters in the env list. An environment variable is not considered \"defined\" if it is specified further down the list. That is why UNCHANGED_REFERENCE fails to resolve $(PROTOCOL) in the example above.When the environment variable is undefined or only includes some variables, the undefined environment variable is treated as a normal string, such as UNCHANGED_R",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-interdependent-environment-variables/",
    "id": "k8s_00058_qa_1025"
  },
  {
    "question": "How does Define Dependent Environment Variables work?",
    "answer": "Define Dependent Environment VariablesThis page shows how to define dependent environment variables for a container in a Kubernetes Pod.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesDefine an environment dependent variable for a containerWhen you create a Pod, you can set dependent environment variables for the containers that run in the Pod. To set dependent environment variables, you can use $(VAR_NAME) in the value of env in the configuration file.In this exercise, you create a Pod that runs one container. The configuration file for the Pod defines a dependent environment variable with common usage defined. Here is the configuration manifest for the Pod:pods/inject/dependent-envars.yaml apiVersion: v1 kind: Pod metadata: name: dependent-envars-demo spec: containers: - name: dependent-envars-demo args: - while true; do echo -en '\\n'; printf UNCHANGED_REFERENCE=$UNCHANGED_REFERENCE'\\n'; printf SERVICE_ADDRESS=$SERVICE_ADDRESS'\\n';printf ESCAPED_REFERENCE=$ESCAPED_REFERENCE'\\n'; sleep 30; done; command: - sh - -c image: busybox:1.28 env: - name: SERVICE_PORT value: \"80\" - name: SERVICE_IP value: \"172.17.0.1\" - name: UNCHANGED_REFERENCE value: \"$(PROTOCOL)://$(SERVICE_IP):$(SERVICE_PORT)\" - name: PROTOCOL value: \"https\" - name: SERVICE_ADDRESS value: \"$(PROTOCOL)://$(SERVICE_IP):$(SERVICE_PORT)\" - name: ESCAPED_REFERENCE value: \"$$(PROTOCOL)://$(SERVICE_IP):$(SERVICE_PORT)\" Create a Pod based on that manifest:kubectl apply -f https://k8s.io/examples/pods/inject/dependent-envars.yaml pod/dependent-envars-demo created List the running Pods:kubectl get pods dependent-envars-demo NAME READY STATUS RESTARTS AGE dependent-envars-demo 1/1 Running 0 9s Check the logs for the container running in your Pod:kubectl logs pod/dependent-envars-demo UNCHANGED_REFERENCE=$(PROTOCOL)://172.17.0.1:80 SERVICE_ADDRESS=https://172.17.0.1:80 ESCAPED_REFERENCE=$(PROTOCOL)://172.17.0.1:80 As shown above, you have defined the correct dependency reference of SERVICE_ADDRESS, bad dependency reference of UNCHANGED_REFERENCE and skip dependent references of ESCAPED_REFERENCE.When an environment variable is already defined when being referenced, the reference can be correctly resolved, such as in the SERVICE_ADDRESS case.Note that order matters in the env list. An environment variable is not considered \"defined\" if it is specified further down the list. That is why UNCHANGED_REFERENCE fails to resolve $(PROTOCOL) in the example above.When the environment variable is undefined or only includes some variables, the undefined environment variable is treated as a normal string, such as UNCHANGED_R",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-interdependent-environment-variables/",
    "id": "k8s_00058_qa_1026"
  },
  {
    "question": "When would you use Define Dependent Environment Variables?",
    "answer": "Define Dependent Environment VariablesThis page shows how to define dependent environment variables for a container in a Kubernetes Pod.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesDefine an environment dependent variable for a containerWhen you create a Pod, you can set dependent environment variables for the containers that run in the Pod. To set dependent environment variables, you can use $(VAR_NAME) in the value of env in the configuration file.In this exercise, you create a Pod that runs one container. The configuration file for the Pod defines a dependent environment variable with common usage defined. Here is the configuration manifest for the Pod:pods/inject/dependent-envars.yaml apiVersion: v1 kind: Pod metadata: name: dependent-envars-demo spec: containers: - name: dependent-envars-demo args: - while true; do echo -en '\\n'; printf UNCHANGED_REFERENCE=$UNCHANGED_REFERENCE'\\n'; printf SERVICE_ADDRESS=$SERVICE_ADDRESS'\\n';printf ESCAPED_REFERENCE=$ESCAPED_REFERENCE'\\n'; sleep 30; done; command: - sh - -c image: busybox:1.28 env: - name: SERVICE_PORT value: \"80\" - name: SERVICE_IP value: \"172.17.0.1\" - name: UNCHANGED_REFERENCE value: \"$(PROTOCOL)://$(SERVICE_IP):$(SERVICE_PORT)\" - name: PROTOCOL value: \"https\" - name: SERVICE_ADDRESS value: \"$(PROTOCOL)://$(SERVICE_IP):$(SERVICE_PORT)\" - name: ESCAPED_REFERENCE value: \"$$(PROTOCOL)://$(SERVICE_IP):$(SERVICE_PORT)\" Create a Pod based on that manifest:kubectl apply -f https://k8s.io/examples/pods/inject/dependent-envars.yaml pod/dependent-envars-demo created List the running Pods:kubectl get pods dependent-envars-demo NAME READY STATUS RESTARTS AGE dependent-envars-demo 1/1 Running 0 9s Check the logs for the container running in your Pod:kubectl logs pod/dependent-envars-demo UNCHANGED_REFERENCE=$(PROTOCOL)://172.17.0.1:80 SERVICE_ADDRESS=https://172.17.0.1:80 ESCAPED_REFERENCE=$(PROTOCOL)://172.17.0.1:80 As shown above, you have defined the correct dependency reference of SERVICE_ADDRESS, bad dependency reference of UNCHANGED_REFERENCE and skip dependent references of ESCAPED_REFERENCE.When an environment variable is already defined when being referenced, the reference can be correctly resolved, such as in the SERVICE_ADDRESS case.Note that order matters in the env list. An environment variable is not considered \"defined\" if it is specified further down the list. That is why UNCHANGED_REFERENCE fails to resolve $(PROTOCOL) in the example above.When the environment variable is undefined or only includes some variables, the undefined environment variable is treated as a normal string, such as UNCHANGED_R",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-interdependent-environment-variables/",
    "id": "k8s_00058_qa_1027"
  },
  {
    "question": "What are the benefits of Define Dependent Environment Variables?",
    "answer": "Define Dependent Environment VariablesThis page shows how to define dependent environment variables for a container in a Kubernetes Pod.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesDefine an environment dependent variable for a containerWhen you create a Pod, you can set dependent environment variables for the containers that run in the Pod. To set dependent environment variables, you can use $(VAR_NAME) in the value of env in the configuration file.In this exercise, you create a Pod that runs one container. The configuration file for the Pod defines a dependent environment variable with common usage defined. Here is the configuration manifest for the Pod:pods/inject/dependent-envars.yaml apiVersion: v1 kind: Pod metadata: name: dependent-envars-demo spec: containers: - name: dependent-envars-demo args: - while true; do echo -en '\\n'; printf UNCHANGED_REFERENCE=$UNCHANGED_REFERENCE'\\n'; printf SERVICE_ADDRESS=$SERVICE_ADDRESS'\\n';printf ESCAPED_REFERENCE=$ESCAPED_REFERENCE'\\n'; sleep 30; done; command: - sh - -c image: busybox:1.28 env: - name: SERVICE_PORT value: \"80\" - name: SERVICE_IP value: \"172.17.0.1\" - name: UNCHANGED_REFERENCE value: \"$(PROTOCOL)://$(SERVICE_IP):$(SERVICE_PORT)\" - name: PROTOCOL value: \"https\" - name: SERVICE_ADDRESS value: \"$(PROTOCOL)://$(SERVICE_IP):$(SERVICE_PORT)\" - name: ESCAPED_REFERENCE value: \"$$(PROTOCOL)://$(SERVICE_IP):$(SERVICE_PORT)\" Create a Pod based on that manifest:kubectl apply -f https://k8s.io/examples/pods/inject/dependent-envars.yaml pod/dependent-envars-demo created List the running Pods:kubectl get pods dependent-envars-demo NAME READY STATUS RESTARTS AGE dependent-envars-demo 1/1 Running 0 9s Check the logs for the container running in your Pod:kubectl logs pod/dependent-envars-demo UNCHANGED_REFERENCE=$(PROTOCOL)://172.17.0.1:80 SERVICE_ADDRESS=https://172.17.0.1:80 ESCAPED_REFERENCE=$(PROTOCOL)://172.17.0.1:80 As shown above, you have defined the correct dependency reference of SERVICE_ADDRESS, bad dependency reference of UNCHANGED_REFERENCE and skip dependent references of ESCAPED_REFERENCE.When an environment variable is already defined when being referenced, the reference can be correctly resolved, such as in the SERVICE_ADDRESS case.Note that order matters in the env list. An environment variable is not considered \"defined\" if it is specified further down the list. That is why UNCHANGED_REFERENCE fails to resolve $(PROTOCOL) in the example above.When the environment variable is undefined or only includes some variables, the undefined environment variable is treated as a normal string, such as UNCHANGED_R",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-interdependent-environment-variables/",
    "id": "k8s_00058_qa_1028"
  },
  {
    "question": "What is Define Dependent Environment Variables?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   d e f i n e   d e p e n d e n t   e n v i r o n m e n t   v a r i a b l e s   f o r   a   c o n t a i n e r   i n   a   K u b e r n e t e s   P o d .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-interdependent-environment-variables/",
    "id": "k8s_00058_section_1_1029"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-interdependent-environment-variables/",
    "id": "k8s_00058_section_2_1030"
  },
  {
    "question": "What is Define an environment dependent variable for a container?",
    "answer": "W h e n   y o u   c r e a t e   a   P o d ,   y o u   c a n   s e t   d e p e n d e n t   e n v i r o n m e n t   v a r i a b l e s   f o r   t h e   c o n t a i n e r s   t h a t   r u n   i n   t h e   P o d .   T o   s e t   d e p e n d e n t   e n v i r o n m e n t   v a r i a b l e s ,   y o u   c a n   u s e   $ ( V A R _ N A M E )   i n   t h e   v a l u e   o f   e n v   i n   t h e   c o n f i g u r a t i o n   f i l e .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   r u n s   o n e   c o n t a i n e r .   T h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d   d e f i n e s   a   d e p e n d e n t   e n v i r o n m e n t   v a r i a b l e   w i t h   c o m m o n   u s a g e   d e f i n e d .   H e r e   i s   t h e   c o n f i g u r a t i o n   m a n i f e s t   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d e p e n d e n t - e n v a r s - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   d e p e n d e n t - e n v a r s - d e m o   a r g s :   -   w h i l e   t r u e ;   d o   e c h o   - e n   ' \\ n ' ;   p r i n t f   U N C H A N G E D _ R E F E R E N C E = $ U N C H A N G E D _ R E F E R E N C E ' \\ n ' ;   p r i n t f   S E R V I C E _ A D D R E S S = $ S E R V I C E _ A D D R E S S ' \\ n ' ; p r i n t f   E S C A P E D _ R E F E R E N C E = $ E S C A P E D _ R E F E R E N C E ' \\ n ' ;   s l e e p   3 0 ;   d o n e ;   c o m m a n d :   -   s h   -   - c   i m a g e :   b u s y b o x : 1 . 2 8   e n v :   -   n a m e :   S E R V I C E _ P O R T   v a l u e :   \" 8 0 \"   -   n a m e :   S E R V I C E _ I P   v a l u e :   \" 1 7 2 . 1 7 . 0 . 1 \"   -   n a m e :   U N C H A N G E D _ R E F E R E N C E   v a l u e :   \" $ ( P R O T O C O L ) : / / $ ( S E R V I C E _ I P ) : $ ( S E R V I C E _ P O R T ) \"   -   n a m e :   P R O T O C O L   v a l u e :   \" h t t p s \"   -   n a m e :   S E R V I C E _ A D D R E S S   v a l u e :   ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-interdependent-environment-variables/",
    "id": "k8s_00058_section_2_1031"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   e n v i r o n m e n t   v a r i a b l e s . S e e   E n v V a r S o u r c e .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-interdependent-environment-variables/",
    "id": "k8s_00058_section_2_1032"
  },
  {
    "question": "What is Dynamic Volume Provisioning?",
    "answer": "Dynamic Volume ProvisioningDynamic volume provisioning allows storage volumes to be created on-demand. Without dynamic provisioning, cluster administrators have to manually make calls to their cloud or storage provider to create new storage volumes, and then create PersistentVolume objects to represent them in Kubernetes. The dynamic provisioning feature eliminates the need for cluster administrators to pre-provision storage. Instead, it automatically provisions storage when users create PersistentVolumeClaim objects.BackgroundThe implementation of dynamic volume provisioning is based on the API object StorageClass from the API group storage.k8s.io. A cluster administrator can define as many StorageClass objects as needed, each specifying a volume plugin (aka provisioner) that provisions a volume and the set of parameters to pass to that provisioner when provisioning. A cluster administrator can define and expose multiple flavors of storage (from the same or different storage systems) within a cluster, each with a custom set of parameters. This design also ensures that end users don't have to worry about the complexity and nuances of how storage is provisioned, but still have the ability to select from multiple storage options.More information on storage classes can be found here.Enabling Dynamic ProvisioningTo enable dynamic provisioning, a cluster administrator needs to pre-create one or more StorageClass objects for users. StorageClass objects define which provisioner should be used and what parameters should be passed to that provisioner when dynamic provisioning is invoked. The name of a StorageClass object must be a valid DNS subdomain name.The following manifest creates a storage class \"slow\" which provisions standard disk-like persistent disks.apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: slow provisioner: kubernetes.io/gce-pd parameters: type: pd-standard The following manifest creates a storage class \"fast\" which provisions SSD-like persistent disks.apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: fast provisioner: kubernetes.io/gce-pd parameters: type: pd-ssd Using Dynamic ProvisioningUsers request dynamically provisioned storage by including a storage class in their PersistentVolumeClaim. Before Kubernetes v1.6, this was done via the volume.beta.kubernetes.io/storage-class annotation. However, this annotation is deprecated since v1.9. Users now can and should instead use the storageClassName field of the PersistentVolumeClaim object. The value of this field must match the name of a StorageClass configured by the administrator (see below).To select the \"fast\" storage class, for example, a user would create the following PersistentVolumeClaim:apiVersion: v1 kind: PersistentVolumeClaim metadata: name: claim1 spec: accessModes: - ReadWriteOnce storageClassName: fast resources: requests: storage: 30Gi This claim results in an SSD-like Persistent Disk being automatically provisioned. When the claim is dele",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/",
    "id": "k8s_00059_qa_1033"
  },
  {
    "question": "How does Dynamic Volume Provisioning work?",
    "answer": "Dynamic Volume ProvisioningDynamic volume provisioning allows storage volumes to be created on-demand. Without dynamic provisioning, cluster administrators have to manually make calls to their cloud or storage provider to create new storage volumes, and then create PersistentVolume objects to represent them in Kubernetes. The dynamic provisioning feature eliminates the need for cluster administrators to pre-provision storage. Instead, it automatically provisions storage when users create PersistentVolumeClaim objects.BackgroundThe implementation of dynamic volume provisioning is based on the API object StorageClass from the API group storage.k8s.io. A cluster administrator can define as many StorageClass objects as needed, each specifying a volume plugin (aka provisioner) that provisions a volume and the set of parameters to pass to that provisioner when provisioning. A cluster administrator can define and expose multiple flavors of storage (from the same or different storage systems) within a cluster, each with a custom set of parameters. This design also ensures that end users don't have to worry about the complexity and nuances of how storage is provisioned, but still have the ability to select from multiple storage options.More information on storage classes can be found here.Enabling Dynamic ProvisioningTo enable dynamic provisioning, a cluster administrator needs to pre-create one or more StorageClass objects for users. StorageClass objects define which provisioner should be used and what parameters should be passed to that provisioner when dynamic provisioning is invoked. The name of a StorageClass object must be a valid DNS subdomain name.The following manifest creates a storage class \"slow\" which provisions standard disk-like persistent disks.apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: slow provisioner: kubernetes.io/gce-pd parameters: type: pd-standard The following manifest creates a storage class \"fast\" which provisions SSD-like persistent disks.apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: fast provisioner: kubernetes.io/gce-pd parameters: type: pd-ssd Using Dynamic ProvisioningUsers request dynamically provisioned storage by including a storage class in their PersistentVolumeClaim. Before Kubernetes v1.6, this was done via the volume.beta.kubernetes.io/storage-class annotation. However, this annotation is deprecated since v1.9. Users now can and should instead use the storageClassName field of the PersistentVolumeClaim object. The value of this field must match the name of a StorageClass configured by the administrator (see below).To select the \"fast\" storage class, for example, a user would create the following PersistentVolumeClaim:apiVersion: v1 kind: PersistentVolumeClaim metadata: name: claim1 spec: accessModes: - ReadWriteOnce storageClassName: fast resources: requests: storage: 30Gi This claim results in an SSD-like Persistent Disk being automatically provisioned. When the claim is dele",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/",
    "id": "k8s_00059_qa_1034"
  },
  {
    "question": "When would you use Dynamic Volume Provisioning?",
    "answer": "Dynamic Volume ProvisioningDynamic volume provisioning allows storage volumes to be created on-demand. Without dynamic provisioning, cluster administrators have to manually make calls to their cloud or storage provider to create new storage volumes, and then create PersistentVolume objects to represent them in Kubernetes. The dynamic provisioning feature eliminates the need for cluster administrators to pre-provision storage. Instead, it automatically provisions storage when users create PersistentVolumeClaim objects.BackgroundThe implementation of dynamic volume provisioning is based on the API object StorageClass from the API group storage.k8s.io. A cluster administrator can define as many StorageClass objects as needed, each specifying a volume plugin (aka provisioner) that provisions a volume and the set of parameters to pass to that provisioner when provisioning. A cluster administrator can define and expose multiple flavors of storage (from the same or different storage systems) within a cluster, each with a custom set of parameters. This design also ensures that end users don't have to worry about the complexity and nuances of how storage is provisioned, but still have the ability to select from multiple storage options.More information on storage classes can be found here.Enabling Dynamic ProvisioningTo enable dynamic provisioning, a cluster administrator needs to pre-create one or more StorageClass objects for users. StorageClass objects define which provisioner should be used and what parameters should be passed to that provisioner when dynamic provisioning is invoked. The name of a StorageClass object must be a valid DNS subdomain name.The following manifest creates a storage class \"slow\" which provisions standard disk-like persistent disks.apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: slow provisioner: kubernetes.io/gce-pd parameters: type: pd-standard The following manifest creates a storage class \"fast\" which provisions SSD-like persistent disks.apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: fast provisioner: kubernetes.io/gce-pd parameters: type: pd-ssd Using Dynamic ProvisioningUsers request dynamically provisioned storage by including a storage class in their PersistentVolumeClaim. Before Kubernetes v1.6, this was done via the volume.beta.kubernetes.io/storage-class annotation. However, this annotation is deprecated since v1.9. Users now can and should instead use the storageClassName field of the PersistentVolumeClaim object. The value of this field must match the name of a StorageClass configured by the administrator (see below).To select the \"fast\" storage class, for example, a user would create the following PersistentVolumeClaim:apiVersion: v1 kind: PersistentVolumeClaim metadata: name: claim1 spec: accessModes: - ReadWriteOnce storageClassName: fast resources: requests: storage: 30Gi This claim results in an SSD-like Persistent Disk being automatically provisioned. When the claim is dele",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/",
    "id": "k8s_00059_qa_1035"
  },
  {
    "question": "What are the benefits of Dynamic Volume Provisioning?",
    "answer": "Dynamic Volume ProvisioningDynamic volume provisioning allows storage volumes to be created on-demand. Without dynamic provisioning, cluster administrators have to manually make calls to their cloud or storage provider to create new storage volumes, and then create PersistentVolume objects to represent them in Kubernetes. The dynamic provisioning feature eliminates the need for cluster administrators to pre-provision storage. Instead, it automatically provisions storage when users create PersistentVolumeClaim objects.BackgroundThe implementation of dynamic volume provisioning is based on the API object StorageClass from the API group storage.k8s.io. A cluster administrator can define as many StorageClass objects as needed, each specifying a volume plugin (aka provisioner) that provisions a volume and the set of parameters to pass to that provisioner when provisioning. A cluster administrator can define and expose multiple flavors of storage (from the same or different storage systems) within a cluster, each with a custom set of parameters. This design also ensures that end users don't have to worry about the complexity and nuances of how storage is provisioned, but still have the ability to select from multiple storage options.More information on storage classes can be found here.Enabling Dynamic ProvisioningTo enable dynamic provisioning, a cluster administrator needs to pre-create one or more StorageClass objects for users. StorageClass objects define which provisioner should be used and what parameters should be passed to that provisioner when dynamic provisioning is invoked. The name of a StorageClass object must be a valid DNS subdomain name.The following manifest creates a storage class \"slow\" which provisions standard disk-like persistent disks.apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: slow provisioner: kubernetes.io/gce-pd parameters: type: pd-standard The following manifest creates a storage class \"fast\" which provisions SSD-like persistent disks.apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: fast provisioner: kubernetes.io/gce-pd parameters: type: pd-ssd Using Dynamic ProvisioningUsers request dynamically provisioned storage by including a storage class in their PersistentVolumeClaim. Before Kubernetes v1.6, this was done via the volume.beta.kubernetes.io/storage-class annotation. However, this annotation is deprecated since v1.9. Users now can and should instead use the storageClassName field of the PersistentVolumeClaim object. The value of this field must match the name of a StorageClass configured by the administrator (see below).To select the \"fast\" storage class, for example, a user would create the following PersistentVolumeClaim:apiVersion: v1 kind: PersistentVolumeClaim metadata: name: claim1 spec: accessModes: - ReadWriteOnce storageClassName: fast resources: requests: storage: 30Gi This claim results in an SSD-like Persistent Disk being automatically provisioned. When the claim is dele",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/",
    "id": "k8s_00059_qa_1036"
  },
  {
    "question": "What is Dynamic Volume Provisioning?",
    "answer": "D y n a m i c   v o l u m e   p r o v i s i o n i n g   a l l o w s   s t o r a g e   v o l u m e s   t o   b e   c r e a t e d   o n - d e m a n d .   W i t h o u t   d y n a m i c   p r o v i s i o n i n g ,   c l u s t e r   a d m i n i s t r a t o r s   h a v e   t o   m a n u a l l y   m a k e   c a l l s   t o   t h e i r   c l o u d   o r   s t o r a g e   p r o v i d e r   t o   c r e a t e   n e w   s t o r a g e   v o l u m e s ,   a n d   t h e n   c r e a t e   P e r s i s t e n t V o l u m e   o b j e c t s   t o   r e p r e s e n t   t h e m   i n   K u b e r n e t e s .   T h e   d y n a m i c   p r o v i s i o n i n g   f e a t u r e   e l i m i n a t e s   t h e   n e e d   f o r   c l u s t e r   a d m i n i s t r a t o r s   t o   p r e - p r o v i s i o n   s t o r a g e .   I n s t e a d ,   i t   a u t o m a t i c a l l y   p r o v i s i o n s   s t o r a g e   w h e n   u s e r s   c r e a t e   P e r s i s t e n t V o l u m e C l a i m   o b j e c t s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/",
    "id": "k8s_00059_section_1_1037"
  },
  {
    "question": "What is Background?",
    "answer": "T h e   i m p l e m e n t a t i o n   o f   d y n a m i c   v o l u m e   p r o v i s i o n i n g   i s   b a s e d   o n   t h e   A P I   o b j e c t   S t o r a g e C l a s s   f r o m   t h e   A P I   g r o u p   s t o r a g e . k 8 s . i o .   A   c l u s t e r   a d m i n i s t r a t o r   c a n   d e f i n e   a s   m a n y   S t o r a g e C l a s s   o b j e c t s   a s   n e e d e d ,   e a c h   s p e c i f y i n g   a   v o l u m e   p l u g i n   ( a k a   p r o v i s i o n e r )   t h a t   p r o v i s i o n s   a   v o l u m e   a n d   t h e   s e t   o f   p a r a m e t e r s   t o   p a s s   t o   t h a t   p r o v i s i o n e r   w h e n   p r o v i s i o n i n g .   A   c l u s t e r   a d m i n i s t r a t o r   c a n   d e f i n e   a n d   e x p o s e   m u l t i p l e   f l a v o r s   o f   s t o r a g e   ( f r o m   t h e   s a m e   o r   d i f f e r e n t   s t o r a g e   s y s t e m s )   w i t h i n   a   c l u s t e r ,   e a c h   w i t h   a   c u s t o m   s e t   o f   p a r a m e t e r s .   T h i s   d e s i g n   a l s o   e n s u r e s   t h a t   e n d   u s e r s   d o n ' t   h a v e   t o   w o r r y   a b o u t   t h e   c o m p l e x i t y   a n d   n u a n c e s   o f   h o w   s t o r a g e   i s   p r o v i s i o n e d ,   b u t   s t i l l   h a v e   t h e   a b i l i t y   t o   s e l e c t   f r o m   m u l t i p l e   s t o r a g e   o p t i o n s .   M o r e   i n f o r m a t i o n   o n   s t o r a g e   c l a s s e s   c a n   b e   f o u n d   h e r e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/",
    "id": "k8s_00059_section_2_1038"
  },
  {
    "question": "What is Enabling Dynamic Provisioning?",
    "answer": "T o   e n a b l e   d y n a m i c   p r o v i s i o n i n g ,   a   c l u s t e r   a d m i n i s t r a t o r   n e e d s   t o   p r e - c r e a t e   o n e   o r   m o r e   S t o r a g e C l a s s   o b j e c t s   f o r   u s e r s .   S t o r a g e C l a s s   o b j e c t s   d e f i n e   w h i c h   p r o v i s i o n e r   s h o u l d   b e   u s e d   a n d   w h a t   p a r a m e t e r s   s h o u l d   b e   p a s s e d   t o   t h a t   p r o v i s i o n e r   w h e n   d y n a m i c   p r o v i s i o n i n g   i s   i n v o k e d .   T h e   n a m e   o f   a   S t o r a g e C l a s s   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   T h e   f o l l o w i n g   m a n i f e s t   c r e a t e s   a   s t o r a g e   c l a s s   \" s l o w \"   w h i c h   p r o v i s i o n s   s t a n d a r d   d i s k - l i k e   p e r s i s t e n t   d i s k s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   s l o w   p r o v i s i o n e r :   k u b e r n e t e s . i o / g c e - p d   p a r a m e t e r s :   t y p e :   p d - s t a n d a r d   T h e   f o l l o w i n g   m a n i f e s t   c r e a t e s   a   s t o r a g e   c l a s s   \" f a s t \"   w h i c h   p r o v i s i o n s   S S D - l i k e   p e r s i s t e n t   d i s k s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   f a s t   p r o v i s i o n e r :   k u b e r n e t e s . i o / g c e - p d   p a r a m e t e r s :   t y p e :   p d - s s d",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/",
    "id": "k8s_00059_section_2_1039"
  },
  {
    "question": "What is Using Dynamic Provisioning?",
    "answer": "U s e r s   r e q u e s t   d y n a m i c a l l y   p r o v i s i o n e d   s t o r a g e   b y   i n c l u d i n g   a   s t o r a g e   c l a s s   i n   t h e i r   P e r s i s t e n t V o l u m e C l a i m .   B e f o r e   K u b e r n e t e s   v 1 . 6 ,   t h i s   w a s   d o n e   v i a   t h e   v o l u m e . b e t a . k u b e r n e t e s . i o / s t o r a g e - c l a s s   a n n o t a t i o n .   H o w e v e r ,   t h i s   a n n o t a t i o n   i s   d e p r e c a t e d   s i n c e   v 1 . 9 .   U s e r s   n o w   c a n   a n d   s h o u l d   i n s t e a d   u s e   t h e   s t o r a g e C l a s s N a m e   f i e l d   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   o b j e c t .   T h e   v a l u e   o f   t h i s   f i e l d   m u s t   m a t c h   t h e   n a m e   o f   a   S t o r a g e C l a s s   c o n f i g u r e d   b y   t h e   a d m i n i s t r a t o r   ( s e e   b e l o w ) .   T o   s e l e c t   t h e   \" f a s t \"   s t o r a g e   c l a s s ,   f o r   e x a m p l e ,   a   u s e r   w o u l d   c r e a t e   t h e   f o l l o w i n g   P e r s i s t e n t V o l u m e C l a i m :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   c l a i m 1   s p e c :   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   s t o r a g e C l a s s N a m e :   f a s t   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   3 0 G i   T h i s   c l a i m   r e s u l t s   i n   a n   S S D - l i k e   P e r s i s t e n t   D i s k   b e i n g   a u t o m a t i c a l l y   p r o v i s i o n e d .   W h e n   t h e   c l a i m   i s   d e l e t e d ,   t h e   v o l u m e   i s   d e s t r o y e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/",
    "id": "k8s_00059_section_2_1040"
  },
  {
    "question": "What is Defaulting Behavior?",
    "answer": "D y n a m i c   p r o v i s i o n i n g   c a n   b e   e n a b l e d   o n   a   c l u s t e r   s u c h   t h a t   a l l   c l a i m s   a r e   d y n a m i c a l l y   p r o v i s i o n e d   i f   n o   s t o r a g e   c l a s s   i s   s p e c i f i e d .   A   c l u s t e r   a d m i n i s t r a t o r   c a n   e n a b l e   t h i s   b e h a v i o r   b y :   M a r k i n g   o n e   S t o r a g e C l a s s   o b j e c t   a s   d e f a u l t ; M a k i n g   s u r e   t h a t   t h e   D e f a u l t S t o r a g e C l a s s   a d m i s s i o n   c o n t r o l l e r   i s   e n a b l e d   o n   t h e   A P I   s e r v e r .   A n   a d m i n i s t r a t o r   c a n   m a r k   a   s p e c i f i c   S t o r a g e C l a s s   a s   d e f a u l t   b y   a d d i n g   t h e   s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s   a n n o t a t i o n   t o   i t .   W h e n   a   d e f a u l t   S t o r a g e C l a s s   e x i s t s   i n   a   c l u s t e r   a n d   a   u s e r   c r e a t e s   a   P e r s i s t e n t V o l u m e C l a i m   w i t h   s t o r a g e C l a s s N a m e   u n s p e c i f i e d ,   t h e   D e f a u l t S t o r a g e C l a s s   a d m i s s i o n   c o n t r o l l e r   a u t o m a t i c a l l y   a d d s   t h e   s t o r a g e C l a s s N a m e   f i e l d   p o i n t i n g   t o   t h e   d e f a u l t   s t o r a g e   c l a s s .   N o t e   t h a t   i f   y o u   s e t   t h e   s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s   a n n o t a t i o n   t o   t r u e   o n   m o r e   t h a n   o n e   S t o r a g e C l a s s   i n   y o u r   c l u s t e r ,   a n d   y o u   t h e n   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   w i t h   n o   s t o r a g e C l a s s N a m e   s e t ,   K u b e r n e t e s   u s e s   t h e   m o s t   r e c e n t l y   c r e a t e d   d e f a u l t   S t o r a g e C l a s s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/",
    "id": "k8s_00059_section_2_1041"
  },
  {
    "question": "What is Topology Awareness?",
    "answer": "I n   M u l t i - Z o n e   c l u s t e r s ,   P o d s   c a n   b e   s p r e a d   a c r o s s   Z o n e s   i n   a   R e g i o n .   S i n g l e - Z o n e   s t o r a g e   b a c k e n d s   s h o u l d   b e   p r o v i s i o n e d   i n   t h e   Z o n e s   w h e r e   P o d s   a r e   s c h e d u l e d .   T h i s   c a n   b e   a c c o m p l i s h e d   b y   s e t t i n g   t h e   V o l u m e   B i n d i n g   M o d e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/",
    "id": "k8s_00059_section_2_1042"
  },
  {
    "question": "What is Server-Side Apply?",
    "answer": "Server-Side ApplyFEATURE STATE: Kubernetes v1.22 [stable] (enabled by default: true)Kubernetes supports multiple appliers collaborating to manage the fields of a single object.Server-Side Apply provides an optional mechanism for your cluster's control plane to track changes to an object's fields. At the level of a specific resource, Server-Side Apply records and tracks information about control over the fields of that object.Server-Side Apply helps users and controllers manage their resources through declarative configuration. Clients can create and modify objects declaratively by submitting their fully specified intent.A fully specified intent is a partial object that only includes the fields and values for which the user has an opinion. That intent either creates a new object (using default values for unspecified fields), or is combined, by the API server, with the existing object.Comparison with Client-Side Apply explains how Server-Side Apply differs from the original, client-side kubectl apply implementation.Field managementThe Kubernetes API server tracks managed fields for all newly created objects.When trying to apply an object, fields that have a different value and are owned by another manager will result in a conflict. This is done in order to signal that the operation might undo another collaborator's changes. Writes to objects with managed fields can be forced, in which case the value of any conflicted field will be overridden, and the ownership will be transferred.Whenever a field's value does change, ownership moves from its current manager to the manager making the change.Apply checks if there are any other field managers that also own the field. If the field is not owned by any other field managers, that field is set to its default value (if there is one), or otherwise is deleted from the object. The same rule applies to fields that are lists, associative lists, or maps.For a user to manage a field, in the Server-Side Apply sense, means that the user relies on and expects the value of the field not to change. The user who last made an assertion about the value of a field will be recorded as the current field manager. This can be done by changing the field manager details explicitly using HTTP POST (create), PUT (update), or non-apply PATCH (patch). You can also declare and record a field manager by including a value for that field in a Server-Side Apply operation.A Server-Side Apply patch request requires the client to provide its identity as a field manager. When using Server-Side Apply, trying to change a field that is controlled by a different manager results in a rejected request unless the client forces an override. For details of overrides, see Conflicts.When two or more appliers set a field to the same value, they share ownership of that field. Any subsequent attempt to change the value of the shared field, by any of the appliers, results in a conflict. Shared field owners may give up ownership of a field by making a Serve",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_qa_1043"
  },
  {
    "question": "How does Server-Side Apply work?",
    "answer": "Server-Side ApplyFEATURE STATE: Kubernetes v1.22 [stable] (enabled by default: true)Kubernetes supports multiple appliers collaborating to manage the fields of a single object.Server-Side Apply provides an optional mechanism for your cluster's control plane to track changes to an object's fields. At the level of a specific resource, Server-Side Apply records and tracks information about control over the fields of that object.Server-Side Apply helps users and controllers manage their resources through declarative configuration. Clients can create and modify objects declaratively by submitting their fully specified intent.A fully specified intent is a partial object that only includes the fields and values for which the user has an opinion. That intent either creates a new object (using default values for unspecified fields), or is combined, by the API server, with the existing object.Comparison with Client-Side Apply explains how Server-Side Apply differs from the original, client-side kubectl apply implementation.Field managementThe Kubernetes API server tracks managed fields for all newly created objects.When trying to apply an object, fields that have a different value and are owned by another manager will result in a conflict. This is done in order to signal that the operation might undo another collaborator's changes. Writes to objects with managed fields can be forced, in which case the value of any conflicted field will be overridden, and the ownership will be transferred.Whenever a field's value does change, ownership moves from its current manager to the manager making the change.Apply checks if there are any other field managers that also own the field. If the field is not owned by any other field managers, that field is set to its default value (if there is one), or otherwise is deleted from the object. The same rule applies to fields that are lists, associative lists, or maps.For a user to manage a field, in the Server-Side Apply sense, means that the user relies on and expects the value of the field not to change. The user who last made an assertion about the value of a field will be recorded as the current field manager. This can be done by changing the field manager details explicitly using HTTP POST (create), PUT (update), or non-apply PATCH (patch). You can also declare and record a field manager by including a value for that field in a Server-Side Apply operation.A Server-Side Apply patch request requires the client to provide its identity as a field manager. When using Server-Side Apply, trying to change a field that is controlled by a different manager results in a rejected request unless the client forces an override. For details of overrides, see Conflicts.When two or more appliers set a field to the same value, they share ownership of that field. Any subsequent attempt to change the value of the shared field, by any of the appliers, results in a conflict. Shared field owners may give up ownership of a field by making a Serve",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_qa_1044"
  },
  {
    "question": "When would you use Server-Side Apply?",
    "answer": "Server-Side ApplyFEATURE STATE: Kubernetes v1.22 [stable] (enabled by default: true)Kubernetes supports multiple appliers collaborating to manage the fields of a single object.Server-Side Apply provides an optional mechanism for your cluster's control plane to track changes to an object's fields. At the level of a specific resource, Server-Side Apply records and tracks information about control over the fields of that object.Server-Side Apply helps users and controllers manage their resources through declarative configuration. Clients can create and modify objects declaratively by submitting their fully specified intent.A fully specified intent is a partial object that only includes the fields and values for which the user has an opinion. That intent either creates a new object (using default values for unspecified fields), or is combined, by the API server, with the existing object.Comparison with Client-Side Apply explains how Server-Side Apply differs from the original, client-side kubectl apply implementation.Field managementThe Kubernetes API server tracks managed fields for all newly created objects.When trying to apply an object, fields that have a different value and are owned by another manager will result in a conflict. This is done in order to signal that the operation might undo another collaborator's changes. Writes to objects with managed fields can be forced, in which case the value of any conflicted field will be overridden, and the ownership will be transferred.Whenever a field's value does change, ownership moves from its current manager to the manager making the change.Apply checks if there are any other field managers that also own the field. If the field is not owned by any other field managers, that field is set to its default value (if there is one), or otherwise is deleted from the object. The same rule applies to fields that are lists, associative lists, or maps.For a user to manage a field, in the Server-Side Apply sense, means that the user relies on and expects the value of the field not to change. The user who last made an assertion about the value of a field will be recorded as the current field manager. This can be done by changing the field manager details explicitly using HTTP POST (create), PUT (update), or non-apply PATCH (patch). You can also declare and record a field manager by including a value for that field in a Server-Side Apply operation.A Server-Side Apply patch request requires the client to provide its identity as a field manager. When using Server-Side Apply, trying to change a field that is controlled by a different manager results in a rejected request unless the client forces an override. For details of overrides, see Conflicts.When two or more appliers set a field to the same value, they share ownership of that field. Any subsequent attempt to change the value of the shared field, by any of the appliers, results in a conflict. Shared field owners may give up ownership of a field by making a Serve",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_qa_1045"
  },
  {
    "question": "What are the benefits of Server-Side Apply?",
    "answer": "Server-Side ApplyFEATURE STATE: Kubernetes v1.22 [stable] (enabled by default: true)Kubernetes supports multiple appliers collaborating to manage the fields of a single object.Server-Side Apply provides an optional mechanism for your cluster's control plane to track changes to an object's fields. At the level of a specific resource, Server-Side Apply records and tracks information about control over the fields of that object.Server-Side Apply helps users and controllers manage their resources through declarative configuration. Clients can create and modify objects declaratively by submitting their fully specified intent.A fully specified intent is a partial object that only includes the fields and values for which the user has an opinion. That intent either creates a new object (using default values for unspecified fields), or is combined, by the API server, with the existing object.Comparison with Client-Side Apply explains how Server-Side Apply differs from the original, client-side kubectl apply implementation.Field managementThe Kubernetes API server tracks managed fields for all newly created objects.When trying to apply an object, fields that have a different value and are owned by another manager will result in a conflict. This is done in order to signal that the operation might undo another collaborator's changes. Writes to objects with managed fields can be forced, in which case the value of any conflicted field will be overridden, and the ownership will be transferred.Whenever a field's value does change, ownership moves from its current manager to the manager making the change.Apply checks if there are any other field managers that also own the field. If the field is not owned by any other field managers, that field is set to its default value (if there is one), or otherwise is deleted from the object. The same rule applies to fields that are lists, associative lists, or maps.For a user to manage a field, in the Server-Side Apply sense, means that the user relies on and expects the value of the field not to change. The user who last made an assertion about the value of a field will be recorded as the current field manager. This can be done by changing the field manager details explicitly using HTTP POST (create), PUT (update), or non-apply PATCH (patch). You can also declare and record a field manager by including a value for that field in a Server-Side Apply operation.A Server-Side Apply patch request requires the client to provide its identity as a field manager. When using Server-Side Apply, trying to change a field that is controlled by a different manager results in a rejected request unless the client forces an override. For details of overrides, see Conflicts.When two or more appliers set a field to the same value, they share ownership of that field. Any subsequent attempt to change the value of the shared field, by any of the appliers, results in a conflict. Shared field owners may give up ownership of a field by making a Serve",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_qa_1046"
  },
  {
    "question": "What is Server-Side Apply?",
    "answer": "K u b e r n e t e s   s u p p o r t s   m u l t i p l e   a p p l i e r s   c o l l a b o r a t i n g   t o   m a n a g e   t h e   f i e l d s   o f   a   s i n g l e   o b j e c t .   S e r v e r - S i d e   A p p l y   p r o v i d e s   a n   o p t i o n a l   m e c h a n i s m   f o r   y o u r   c l u s t e r ' s   c o n t r o l   p l a n e   t o   t r a c k   c h a n g e s   t o   a n   o b j e c t ' s   f i e l d s .   A t   t h e   l e v e l   o f   a   s p e c i f i c   r e s o u r c e ,   S e r v e r - S i d e   A p p l y   r e c o r d s   a n d   t r a c k s   i n f o r m a t i o n   a b o u t   c o n t r o l   o v e r   t h e   f i e l d s   o f   t h a t   o b j e c t .   S e r v e r - S i d e   A p p l y   h e l p s   u s e r s   a n d   c o n t r o l l e r s   m a n a g e   t h e i r   r e s o u r c e s   t h r o u g h   d e c l a r a t i v e   c o n f i g u r a t i o n .   C l i e n t s   c a n   c r e a t e   a n d   m o d i f y   o b j e c t s   d e c l a r a t i v e l y   b y   s u b m i t t i n g   t h e i r   f u l l y   s p e c i f i e d   i n t e n t .   A   f u l l y   s p e c i f i e d   i n t e n t   i s   a   p a r t i a l   o b j e c t   t h a t   o n l y   i n c l u d e s   t h e   f i e l d s   a n d   v a l u e s   f o r   w h i c h   t h e   u s e r   h a s   a n   o p i n i o n .   T h a t   i n t e n t   e i t h e r   c r e a t e s   a   n e w   o b j e c t   ( u s i n g   d e f a u l t   v a l u e s   f o r   u n s p e c i f i e d   f i e l d s ) ,   o r   i s   c o m b i n e d ,   b y   t h e   A P I   s e r v e r ,   w i t h   t h e   e x i s t i n g   o b j e c t .   C o m p a r i s o n   w i t h   C l i e n t - S i d e   A p p l y   e x p l a i n s   h o w   S e r v e r - S i d e   A p p l y   d i f f e r s   f r o m   t h e   o r i g i n a l ,   c l i e n t - s i d e   k u b e c t l   a p p l y   i m p l e m e n t a t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_section_1_1047"
  },
  {
    "question": "What is Field management?",
    "answer": "T h e   K u b e r n e t e s   A P I   s e r v e r   t r a c k s   m a n a g e d   f i e l d s   f o r   a l l   n e w l y   c r e a t e d   o b j e c t s .   W h e n   t r y i n g   t o   a p p l y   a n   o b j e c t ,   f i e l d s   t h a t   h a v e   a   d i f f e r e n t   v a l u e   a n d   a r e   o w n e d   b y   a n o t h e r   m a n a g e r   w i l l   r e s u l t   i n   a   c o n f l i c t .   T h i s   i s   d o n e   i n   o r d e r   t o   s i g n a l   t h a t   t h e   o p e r a t i o n   m i g h t   u n d o   a n o t h e r   c o l l a b o r a t o r ' s   c h a n g e s .   W r i t e s   t o   o b j e c t s   w i t h   m a n a g e d   f i e l d s   c a n   b e   f o r c e d ,   i n   w h i c h   c a s e   t h e   v a l u e   o f   a n y   c o n f l i c t e d   f i e l d   w i l l   b e   o v e r r i d d e n ,   a n d   t h e   o w n e r s h i p   w i l l   b e   t r a n s f e r r e d .   W h e n e v e r   a   f i e l d ' s   v a l u e   d o e s   c h a n g e ,   o w n e r s h i p   m o v e s   f r o m   i t s   c u r r e n t   m a n a g e r   t o   t h e   m a n a g e r   m a k i n g   t h e   c h a n g e .   A p p l y   c h e c k s   i f   t h e r e   a r e   a n y   o t h e r   f i e l d   m a n a g e r s   t h a t   a l s o   o w n   t h e   f i e l d .   I f   t h e   f i e l d   i s   n o t   o w n e d   b y   a n y   o t h e r   f i e l d   m a n a g e r s ,   t h a t   f i e l d   i s   s e t   t o   i t s   d e f a u l t   v a l u e   ( i f   t h e r e   i s   o n e ) ,   o r   o t h e r w i s e   i s   d e l e t e d   f r o m   t h e   o b j e c t .   T h e   s a m e   r u l e   a p p l i e s   t o   f i e l d s   t h a t   a r e   l i s t s ,   a s s o c i a t i v e   l i s t s ,   o r   m a p s .   F o r   a   u s e r   t o   m a n a g e   a   f i e l d ,   i n   t h e   S e r v e r - S i d e   A p p l y   s e n s e ,   m e a n s   t h a t   t h e   u s e r   r e l i e s   o n   a n d   e x p e c t s   t h e   v a l u e   o f   t h e   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_section_2_1048"
  },
  {
    "question": "What is Example?",
    "answer": "A   s i m p l e   e x a m p l e   o f   a n   o b j e c t   c r e a t e d   u s i n g   S e r v e r - S i d e   A p p l y   c o u l d   l o o k   l i k e   t h i s :",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_section_3_1049"
  },
  {
    "question": "What is Note:?",
    "answer": "- - -   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   t e s t - c m   n a m e s p a c e :   d e f a u l t   l a b e l s :   t e s t - l a b e l :   t e s t   m a n a g e d F i e l d s :   -   m a n a g e r :   k u b e c t l   o p e r a t i o n :   A p p l y   #   n o t e   c a p i t a l i z a t i o n :   \" A p p l y \"   ( o r   \" U p d a t e \" )   a p i V e r s i o n :   v 1   t i m e :   \" 2 0 1 0 - 1 0 - 1 0 T 0 : 0 0 : 0 0 Z \"   f i e l d s T y p e :   F i e l d s V 1   f i e l d s V 1 :   f : m e t a d a t a :   f : l a b e l s :   f : t e s t - l a b e l :   { }   f : d a t a :   f : k e y :   { }   d a t a :   k e y :   s o m e   v a l u e   T h a t   e x a m p l e   C o n f i g M a p   o b j e c t   c o n t a i n s   a   s i n g l e   f i e l d   m a n a g e m e n t   r e c o r d   i n   . m e t a d a t a . m a n a g e d F i e l d s .   T h e   f i e l d   m a n a g e m e n t   r e c o r d   c o n s i s t s   o f   b a s i c   i n f o r m a t i o n   a b o u t   t h e   m a n a g i n g   e n t i t y   i t s e l f ,   p l u s   d e t a i l s   a b o u t   t h e   f i e l d s   b e i n g   m a n a g e d   a n d   t h e   r e l e v a n t   o p e r a t i o n   ( A p p l y   o r   U p d a t e ) .   I f   t h e   r e q u e s t   t h a t   l a s t   c h a n g e d   t h a t   f i e l d   w a s   a   S e r v e r - S i d e   A p p l y   p a t c h   t h e n   t h e   v a l u e   o f   o p e r a t i o n   i s   A p p l y ;   o t h e r w i s e ,   i t   i s   U p d a t e .   T h e r e   i s   a n o t h e r   p o s s i b l e   o u t c o m e .   A   c l i e n t   c o u l d   s u b m i t   a n   i n v a l i d   r e q u e s t   b o d y .   I f   t h e   f u l l y   s p e c i f i e d   i n t e n t   d o e s   n o t   p r o d u c e   a   v a l i d   o b j e c t ,   t h e   r e q u e s t   f a i l s .   I t   i s   h o w e v e r   p o s s i b l e   t o   c h a n g e   . m e t a d a t a . m a n a g e d F i e l d s   t h r o u g h   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_section_4_1050"
  },
  {
    "question": "What is Conflicts?",
    "answer": "A   c o n f l i c t   i s   a   s p e c i a l   s t a t u s   e r r o r   t h a t   o c c u r s   w h e n   a n   A p p l y   o p e r a t i o n   t r i e s   t o   c h a n g e   a   f i e l d   t h a t   a n o t h e r   m a n a g e r   a l s o   c l a i m s   t o   m a n a g e .   T h i s   p r e v e n t s   a n   a p p l i e r   f r o m   u n i n t e n t i o n a l l y   o v e r w r i t i n g   t h e   v a l u e   s e t   b y   a n o t h e r   u s e r .   W h e n   t h i s   o c c u r s ,   t h e   a p p l i e r   h a s   3   o p t i o n s   t o   r e s o l v e   t h e   c o n f l i c t s :   O v e r w r i t e   v a l u e ,   b e c o m e   s o l e   m a n a g e r :   I f   o v e r w r i t i n g   t h e   v a l u e   w a s   i n t e n t i o n a l   ( o r   i f   t h e   a p p l i e r   i s   a n   a u t o m a t e d   p r o c e s s   l i k e   a   c o n t r o l l e r )   t h e   a p p l i e r   s h o u l d   s e t   t h e   f o r c e   q u e r y   p a r a m e t e r   t o   t r u e   ( f o r   k u b e c t l   a p p l y ,   y o u   u s e   t h e   - - f o r c e - c o n f l i c t s   c o m m a n d   l i n e   p a r a m e t e r ) ,   a n d   m a k e   t h e   r e q u e s t   a g a i n .   T h i s   f o r c e s   t h e   o p e r a t i o n   t o   s u c c e e d ,   c h a n g e s   t h e   v a l u e   o f   t h e   f i e l d ,   a n d   r e m o v e s   t h e   f i e l d   f r o m   a l l   o t h e r   m a n a g e r s '   e n t r i e s   i n   m a n a g e d F i e l d s . D o n ' t   o v e r w r i t e   v a l u e ,   g i v e   u p   m a n a g e m e n t   c l a i m :   I f   t h e   a p p l i e r   d o e s n ' t   c a r e   a b o u t   t h e   v a l u e   o f   t h e   f i e l d   a n y   m o r e ,   t h e   a p p l i e r   c a n   r e m o v e   i t   f r o m   t h e i r   l o c a l   m o d e l   o f   t h e   r e s o u r c e ,   a n d   m a k e   a   n e w   r e q u e s t   w i t h   t h a t   p a r t i c u l a r   f i e l d   o m i t t e d .   T h i s   l e a v e s   t h e   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_section_3_1051"
  },
  {
    "question": "What is Field managers?",
    "answer": "M a n a g e r s   i d e n t i f y   d i s t i n c t   w o r k f l o w s   t h a t   a r e   m o d i f y i n g   t h e   o b j e c t   ( e s p e c i a l l y   u s e f u l   o n   c o n f l i c t s ! ) ,   a n d   c a n   b e   s p e c i f i e d   t h r o u g h   t h e   f i e l d M a n a g e r   q u e r y   p a r a m e t e r   a s   p a r t   o f   a   m o d i f y i n g   r e q u e s t .   W h e n   y o u   A p p l y   t o   a   r e s o u r c e ,   t h e   f i e l d M a n a g e r   p a r a m e t e r   i s   r e q u i r e d .   F o r   o t h e r   u p d a t e s ,   t h e   A P I   s e r v e r   i n f e r s   a   f i e l d   m a n a g e r   i d e n t i t y   f r o m   t h e   \" U s e r - A g e n t : \"   H T T P   h e a d e r   ( i f   p r e s e n t ) .   W h e n   y o u   u s e   t h e   k u b e c t l   t o o l   t o   p e r f o r m   a   S e r v e r - S i d e   A p p l y   o p e r a t i o n ,   k u b e c t l   s e t s   t h e   m a n a g e r   i d e n t i t y   t o   \" k u b e c t l \"   b y   d e f a u l t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_section_3_1052"
  },
  {
    "question": "What is Serialization?",
    "answer": "A t   t h e   p r o t o c o l   l e v e l ,   K u b e r n e t e s   r e p r e s e n t s   S e r v e r - S i d e   A p p l y   m e s s a g e   b o d i e s   a s   Y A M L ,   w i t h   t h e   m e d i a   t y p e   a p p l i c a t i o n / a p p l y - p a t c h + y a m l .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_section_2_1053"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e t h e r   y o u   a r e   s u b m i t t i n g   J S O N   d a t a   o r   Y A M L   d a t a ,   u s e   a p p l i c a t i o n / a p p l y - p a t c h + y a m l   a s   t h e   C o n t e n t - T y p e   h e a d e r   v a l u e .   A l l   J S O N   d o c u m e n t s   a r e   v a l i d   Y A M L .   H o w e v e r ,   K u b e r n e t e s   h a s   a   b u g   w h e r e   i t   u s e s   a   Y A M L   p a r s e r   t h a t   d o e s   n o t   f u l l y   i m p l e m e n t   t h e   Y A M L   s p e c i f i c a t i o n .   S o m e   J S O N   e s c a p e s   m a y   n o t   b e   r e c o g n i z e d .   T h e   s e r i a l i z a t i o n   i s   t h e   s a m e   a s   f o r   K u b e r n e t e s   o b j e c t s ,   w i t h   t h e   e x c e p t i o n   t h a t   c l i e n t s   a r e   n o t   r e q u i r e d   t o   s e n d   a   c o m p l e t e   o b j e c t .   H e r e ' s   a n   e x a m p l e   o f   a   S e r v e r - S i d e   A p p l y   m e s s a g e   b o d y   ( f u l l y   s p e c i f i e d   i n t e n t ) :   {   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" k i n d \" :   \" C o n f i g M a p \"   }   ( t h i s   w o u l d   m a k e   a   n o - c h a n g e   u p d a t e ,   p r o v i d e d   t h a t   i t   w a s   s e n t   a s   t h e   b o d y   o f   a   p a t c h   r e q u e s t   t o   a   v a l i d   v 1 / c o n f i g m a p s   r e s o u r c e ,   a n d   w i t h   t h e   a p p r o p r i a t e   r e q u e s t   C o n t e n t - T y p e ) .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_section_4_1054"
  },
  {
    "question": "What is Operations in scope for field management?",
    "answer": "T h e   K u b e r n e t e s   A P I   o p e r a t i o n s   w h e r e   f i e l d   m a n a g e m e n t   i s   c o n s i d e r e d   a r e :   S e r v e r - S i d e   A p p l y   ( H T T P   P A T C H ,   w i t h   c o n t e n t   t y p e   a p p l i c a t i o n / a p p l y - p a t c h + y a m l ) R e p l a c i n g   a n   e x i s t i n g   o b j e c t   ( u p d a t e   t o   K u b e r n e t e s ;   P U T   a t   t h e   H T T P   l e v e l )   B o t h   o p e r a t i o n s   u p d a t e   . m e t a d a t a . m a n a g e d F i e l d s ,   b u t   b e h a v e   a   l i t t l e   d i f f e r e n t l y .   U n l e s s   y o u   s p e c i f y   a   f o r c e d   o v e r r i d e ,   a n   a p p l y   o p e r a t i o n   t h a t   e n c o u n t e r s   f i e l d - l e v e l   c o n f l i c t s   a l w a y s   f a i l s ;   b y   c o n t r a s t ,   i f   y o u   m a k e   a   c h a n g e   u s i n g   u p d a t e   t h a t   w o u l d   a f f e c t   a   m a n a g e d   f i e l d ,   a   c o n f l i c t   n e v e r   p r o v o k e s   f a i l u r e   o f   t h e   o p e r a t i o n .   A l l   S e r v e r - S i d e   A p p l y   p a t c h   r e q u e s t s   a r e   r e q u i r e d   t o   i d e n t i f y   t h e m s e l v e s   b y   p r o v i d i n g   a   f i e l d M a n a g e r   q u e r y   p a r a m e t e r ,   w h i l e   t h e   q u e r y   p a r a m e t e r   i s   o p t i o n a l   f o r   u p d a t e   o p e r a t i o n s .   F i n a l l y ,   w h e n   u s i n g   t h e   A p p l y   o p e r a t i o n   y o u   c a n n o t   d e f i n e   m a n a g e d F i e l d s   i n   t h e   b o d y   o f   t h e   r e q u e s t   t h a t   y o u   s u b m i t .   A n   e x a m p l e   o b j e c t   w i t h   m u l t i p l e   m a n a g e r s   c o u l d   l o o k   l i k e   t h i s :   - - -   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   t e s t - c m   n a m e s p a c e :   d e f a u l t   l a b e l s :   t e s t - l a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_section_2_1055"
  },
  {
    "question": "What is Merge strategy?",
    "answer": "T h e   m e r g i n g   s t r a t e g y ,   i m p l e m e n t e d   w i t h   S e r v e r - S i d e   A p p l y ,   p r o v i d e s   a   g e n e r a l l y   m o r e   s t a b l e   o b j e c t   l i f e c y c l e .   S e r v e r - S i d e   A p p l y   t r i e s   t o   m e r g e   f i e l d s   b a s e d   o n   t h e   a c t o r   w h o   m a n a g e s   t h e m   i n s t e a d   o f   o v e r r u l i n g   b a s e d   o n   v a l u e s .   T h i s   w a y   m u l t i p l e   a c t o r s   c a n   u p d a t e   t h e   s a m e   o b j e c t   w i t h o u t   c a u s i n g   u n e x p e c t e d   i n t e r f e r e n c e .   W h e n   a   u s e r   s e n d s   a   f u l l y - s p e c i f i e d   i n t e n t   o b j e c t   t o   t h e   S e r v e r - S i d e   A p p l y   e n d p o i n t ,   t h e   s e r v e r   m e r g e s   i t   w i t h   t h e   l i v e   o b j e c t   f a v o r i n g   t h e   v a l u e   f r o m   t h e   r e q u e s t   b o d y   i f   i t   i s   s p e c i f i e d   i n   b o t h   p l a c e s .   I f   t h e   s e t   o f   i t e m s   p r e s e n t   i n   t h e   a p p l i e d   c o n f i g   i s   n o t   a   s u p e r s e t   o f   t h e   i t e m s   a p p l i e d   b y   t h e   s a m e   u s e r   l a s t   t i m e ,   e a c h   m i s s i n g   i t e m   n o t   m a n a g e d   b y   a n y   o t h e r   a p p l i e r s   i s   r e m o v e d .   F o r   m o r e   i n f o r m a t i o n   a b o u t   h o w   a n   o b j e c t ' s   s c h e m a   i s   u s e d   t o   m a k e   d e c i s i o n s   w h e n   m e r g i n g ,   s e e   s i g s . k 8 s . i o / s t r u c t u r e d - m e r g e - d i f f .   T h e   K u b e r n e t e s   A P I   ( a n d   t h e   G o   c o d e   t h a t   i m p l e m e n t s   t h a t   A P I   f o r   K u b e r n e t e s )   a l l o w s   d e f i n i n g   m e r g e   s t r a t e g y   m a r k e r s .   T h e s e   m a r k e r s   d e s c r i b e   t h e   m e r g e   s t r a t e g y   s u p p o r t e d   f ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_section_2_1056"
  },
  {
    "question": "What is Custom resources and Server-Side Apply?",
    "answer": "B y   d e f a u l t ,   S e r v e r - S i d e   A p p l y   t r e a t s   c u s t o m   r e s o u r c e s   a s   u n s t r u c t u r e d   d a t a .   A l l   k e y s   a r e   t r e a t e d   t h e   s a m e   a s   s t r u c t   f i e l d s ,   a n d   a l l   l i s t s   a r e   c o n s i d e r e d   a t o m i c .   I f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   d e f i n e s   a   s c h e m a   t h a t   c o n t a i n s   a n n o t a t i o n s   a s   d e f i n e d   i n   t h e   p r e v i o u s   M e r g e   S t r a t e g y   s e c t i o n ,   t h e s e   a n n o t a t i o n s   w i l l   b e   u s e d   w h e n   m e r g i n g   o b j e c t s   o f   t h i s   t y p e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_section_2_1057"
  },
  {
    "question": "What is Compatibility across topology changes?",
    "answer": "O n   r a r e   o c c u r r e n c e s ,   t h e   a u t h o r   f o r   a   C u s t o m R e s o u r c e D e f i n i t i o n   ( C R D )   o r   b u i l t - i n   m a y   w a n t   t o   c h a n g e   t h e   s p e c i f i c   t o p o l o g y   o f   a   f i e l d   i n   t h e i r   r e s o u r c e ,   w i t h o u t   i n c r e m e n t i n g   i t s   A P I   v e r s i o n .   C h a n g i n g   t h e   t o p o l o g y   o f   t y p e s ,   b y   u p g r a d i n g   t h e   c l u s t e r   o r   u p d a t i n g   t h e   C R D ,   h a s   d i f f e r e n t   c o n s e q u e n c e s   w h e n   u p d a t i n g   e x i s t i n g   o b j e c t s .   T h e r e   a r e   t w o   c a t e g o r i e s   o f   c h a n g e s :   w h e n   a   f i e l d   g o e s   f r o m   m a p / s e t / g r a n u l a r   t o   a t o m i c ,   a n d   t h e   o t h e r   w a y   a r o u n d .   W h e n   t h e   l i s t T y p e ,   m a p T y p e ,   o r   s t r u c t T y p e   c h a n g e s   f r o m   m a p / s e t / g r a n u l a r   t o   a t o m i c ,   t h e   w h o l e   l i s t ,   m a p ,   o r   s t r u c t   o f   e x i s t i n g   o b j e c t s   w i l l   e n d - u p   b e i n g   o w n e d   b y   a c t o r s   w h o   o w n e d   a n   e l e m e n t   o f   t h e s e   t y p e s .   T h i s   m e a n s   t h a t   a n y   f u r t h e r   c h a n g e   t o   t h e s e   o b j e c t s   w o u l d   c a u s e   a   c o n f l i c t .   W h e n   a   l i s t T y p e ,   m a p T y p e ,   o r   s t r u c t T y p e   c h a n g e s   f r o m   a t o m i c   t o   m a p / s e t / g r a n u l a r ,   t h e   A P I   s e r v e r   i s   u n a b l e   t o   i n f e r   t h e   n e w   o w n e r s h i p   o f   t h e s e   f i e l d s .   B e c a u s e   o f   t h a t ,   n o   c o n f l i c t   w i l l   b e   p r o d u c e d   w h e n   o b j e c t s   h a v e   t h e s e   f i e l d s   u p d a t e d .   F o r   t h a t   r e a s o n ,   i t   i s   n o t   r e c o m m e n d e d   t o   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_section_3_1058"
  },
  {
    "question": "What is Using Server-Side Apply in a controller?",
    "answer": "A s   a   d e v e l o p e r   o f   a   c o n t r o l l e r ,   y o u   c a n   u s e   S e r v e r - S i d e   A p p l y   a s   a   w a y   t o   s i m p l i f y   t h e   u p d a t e   l o g i c   o f   y o u r   c o n t r o l l e r .   T h e   m a i n   d i f f e r e n c e s   w i t h   a   r e a d - m o d i f y - w r i t e   a n d / o r   p a t c h   a r e   t h e   f o l l o w i n g :   t h e   a p p l i e d   o b j e c t   m u s t   c o n t a i n   a l l   t h e   f i e l d s   t h a t   t h e   c o n t r o l l e r   c a r e s   a b o u t . t h e r e   i s   n o   w a y   t o   r e m o v e   f i e l d s   t h a t   h a v e n ' t   b e e n   a p p l i e d   b y   t h e   c o n t r o l l e r   b e f o r e   ( c o n t r o l l e r   c a n   s t i l l   s e n d   a   p a t c h   o r   u p d a t e   f o r   t h e s e   u s e - c a s e s ) . t h e   o b j e c t   d o e s n ' t   h a v e   t o   b e   r e a d   b e f o r e h a n d ;   r e s o u r c e V e r s i o n   d o e s n ' t   h a v e   t o   b e   s p e c i f i e d .   I t   i s   s t r o n g l y   r e c o m m e n d e d   f o r   c o n t r o l l e r s   t o   a l w a y s   f o r c e   c o n f l i c t s   o n   o b j e c t s   t h a t   t h e y   o w n   a n d   m a n a g e ,   s i n c e   t h e y   m i g h t   n o t   b e   a b l e   t o   r e s o l v e   o r   a c t   o n   t h e s e   c o n f l i c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_section_2_1059"
  },
  {
    "question": "What is Transferring ownership?",
    "answer": "I n   a d d i t i o n   t o   t h e   c o n c u r r e n c y   c o n t r o l s   p r o v i d e d   b y   c o n f l i c t   r e s o l u t i o n ,   S e r v e r - S i d e   A p p l y   p r o v i d e s   w a y s   t o   p e r f o r m   c o o r d i n a t e d   f i e l d   o w n e r s h i p   t r a n s f e r s   f r o m   u s e r s   t o   c o n t r o l l e r s .   T h i s   i s   b e s t   e x p l a i n e d   b y   e x a m p l e .   L e t ' s   l o o k   a t   h o w   t o   s a f e l y   t r a n s f e r   o w n e r s h i p   o f   t h e   r e p l i c a s   f i e l d   f r o m   a   u s e r   t o   a   c o n t r o l l e r   w h i l e   e n a b l i n g   a u t o m a t i c   h o r i z o n t a l   s c a l i n g   f o r   a   D e p l o y m e n t ,   u s i n g   t h e   H o r i z o n t a l P o d A u t o s c a l e r   r e s o u r c e   a n d   i t s   a c c o m p a n y i n g   c o n t r o l l e r .   S a y   a   u s e r   h a s   d e f i n e d   D e p l o y m e n t   w i t h   r e p l i c a s   s e t   t o   t h e   d e s i r e d   v a l u e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   l a b e l s :   a p p :   n g i n x   s p e c :   r e p l i c a s :   3   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   A n d   t h e   u s e r   h a s   c r e a t e d   t h e   D e p l o y m e n t   u s i n g   S e r v e r - S i d e   A p p l y ,   l i k e   s o :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / s s a / n g i n x - d e p l o y m e n t . y a m l   - - s e r v e r - s i d e   T h e n   l a t e r ,   a u t o m a t i c   s c a l i n g   i s   e n a b l e d   f o r   t h e   D e p l o y m e n t ;   f o r   e x a m p l e :   k u ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_section_2_1060"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   u s e r   a p p l i e s   t h a t   m a n i f e s t   u s i n g   a   p r i v a t e   f i e l d   m a n a g e r   n a m e .   I n   t h i s   e x a m p l e ,   t h e   u s e r   p i c k e d   h a n d o v e r - t o - h p a :   k u b e c t l   a p p l y   - f   n g i n x - d e p l o y m e n t - r e p l i c a s - o n l y . y a m l   \\   - - s e r v e r - s i d e   - - f i e l d - m a n a g e r = h a n d o v e r - t o - h p a   \\   - - v a l i d a t e = f a l s e   I f   t h e   a p p l y   r e s u l t s   i n   a   c o n f l i c t   w i t h   t h e   H P A   c o n t r o l l e r ,   t h e n   d o   n o t h i n g .   T h e   c o n f l i c t   i n d i c a t e s   t h e   c o n t r o l l e r   h a s   c l a i m e d   t h e   f i e l d   e a r l i e r   i n   t h e   p r o c e s s   t h a n   i t   s o m e t i m e s   d o e s .   A t   t h i s   p o i n t   t h e   u s e r   m a y   r e m o v e   t h e   r e p l i c a s   f i e l d   f r o m   t h e i r   m a n i f e s t :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   l a b e l s :   a p p :   n g i n x   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   N o t e   t h a t   w h e n e v e r   t h e   H P A   c o n t r o l l e r   s e t s   t h e   r e p l i c a s   f i e l d   t o   a   n e w   v a l u e ,   t h e   t e m p o r a r y   f i e l d   m a n a g e r   w i l l   n o   l o n g e r   o w n   a n y   f i e l d s   a n d   w i l l   b e   a u t o m a t i c a l l y   d e l e t e d .   N o   f u r t h e r   c l e a n   u p   i s   r e q u i r e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_section_4_1061"
  },
  {
    "question": "What is Transferring ownership between managers?",
    "answer": "F i e l d   m a n a g e r s   c a n   t r a n s f e r   o w n e r s h i p   o f   a   f i e l d   b e t w e e n   e a c h   o t h e r   b y   s e t t i n g   t h e   f i e l d   t o   t h e   s a m e   v a l u e   i n   b o t h   o f   t h e i r   a p p l i e d   c o n f i g u r a t i o n s ,   c a u s i n g   t h e m   t o   s h a r e   o w n e r s h i p   o f   t h e   f i e l d .   O n c e   t h e   m a n a g e r s   s h a r e   o w n e r s h i p   o f   t h e   f i e l d ,   o n e   o f   t h e m   c a n   r e m o v e   t h e   f i e l d   f r o m   t h e i r   a p p l i e d   c o n f i g u r a t i o n   t o   g i v e   u p   o w n e r s h i p   a n d   c o m p l e t e   t h e   t r a n s f e r   t o   t h e   o t h e r   f i e l d   m a n a g e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_section_3_1062"
  },
  {
    "question": "What is Comparison with Client-Side Apply?",
    "answer": "S e r v e r - S i d e   A p p l y   i s   m e a n t   b o t h   a s   a   r e p l a c e m e n t   f o r   t h e   o r i g i n a l   c l i e n t - s i d e   i m p l e m e n t a t i o n   o f   t h e   k u b e c t l   a p p l y   s u b c o m m a n d ,   a n d   a s   s i m p l e   a n d   e f f e c t i v e   m e c h a n i s m   f o r   c o n t r o l l e r s   t o   e n a c t   t h e i r   c h a n g e s .   C o m p a r e d   t o   t h e   l a s t - a p p l i e d   a n n o t a t i o n   m a n a g e d   b y   k u b e c t l ,   S e r v e r - S i d e   A p p l y   u s e s   a   m o r e   d e c l a r a t i v e   a p p r o a c h ,   w h i c h   t r a c k s   a n   o b j e c t ' s   f i e l d   m a n a g e m e n t ,   r a t h e r   t h a n   a   u s e r ' s   l a s t   a p p l i e d   s t a t e .   T h i s   m e a n s   t h a t   a s   a   s i d e   e f f e c t   o f   u s i n g   S e r v e r - S i d e   A p p l y ,   i n f o r m a t i o n   a b o u t   w h i c h   f i e l d   m a n a g e r   m a n a g e s   e a c h   f i e l d   i n   a n   o b j e c t   a l s o   b e c o m e s   a v a i l a b l e .   A   c o n s e q u e n c e   o f   t h e   c o n f l i c t   d e t e c t i o n   a n d   r e s o l u t i o n   i m p l e m e n t e d   b y   S e r v e r - S i d e   A p p l y   i s   t h a t   a n   a p p l i e r   a l w a y s   h a s   u p   t o   d a t e   f i e l d   v a l u e s   i n   t h e i r   l o c a l   s t a t e .   I f   t h e y   d o n ' t ,   t h e y   g e t   a   c o n f l i c t   t h e   n e x t   t i m e   t h e y   a p p l y .   A n y   o f   t h e   t h r e e   o p t i o n s   t o   r e s o l v e   c o n f l i c t s   r e s u l t s   i n   t h e   a p p l i e d   c o n f i g u r a t i o n   b e i n g   a n   u p   t o   d a t e   s u b s e t   o f   t h e   o b j e c t   o n   t h e   s e r v e r ' s   f i e l d s .   T h i s   i s   d i f f e r e n t   f r o m   C l i e n t - S i d e   A p p l y ,   w h e r e   o u t d a t e d   v a l u e s   w h i c h   h a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_section_2_1063"
  },
  {
    "question": "What is Upgrading from client-side apply to server-side apply?",
    "answer": "C l i e n t - s i d e   a p p l y   u s e r s   w h o   m a n a g e   a   r e s o u r c e   w i t h   k u b e c t l   a p p l y   c a n   s t a r t   u s i n g   s e r v e r - s i d e   a p p l y   w i t h   t h e   f o l l o w i n g   f l a g .   k u b e c t l   a p p l y   - - s e r v e r - s i d e   [ - - d r y - r u n = s e r v e r ]   B y   d e f a u l t ,   f i e l d   m a n a g e m e n t   o f   t h e   o b j e c t   t r a n s f e r s   f r o m   c l i e n t - s i d e   a p p l y   t o   k u b e c t l   s e r v e r - s i d e   a p p l y ,   w i t h o u t   e n c o u n t e r i n g   c o n f l i c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_section_3_1064"
  },
  {
    "question": "What is Caution:?",
    "answer": "K e e p   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   u p   t o   d a t e .   T h e   a n n o t a t i o n   i n f e r s   c l i e n t - s i d e   a p p l i e s   m a n a g e d   f i e l d s .   A n y   f i e l d s   n o t   m a n a g e d   b y   c l i e n t - s i d e   a p p l y   r a i s e   c o n f l i c t s .   F o r   e x a m p l e ,   i f   y o u   u s e d   k u b e c t l   s c a l e   t o   u p d a t e   t h e   r e p l i c a s   f i e l d   a f t e r   c l i e n t - s i d e   a p p l y ,   t h e n   t h i s   f i e l d   i s   n o t   o w n e d   b y   c l i e n t - s i d e   a p p l y   a n d   c r e a t e s   c o n f l i c t s   o n   k u b e c t l   a p p l y   - - s e r v e r - s i d e .   T h i s   b e h a v i o r   a p p l i e s   t o   s e r v e r - s i d e   a p p l y   w i t h   t h e   k u b e c t l   f i e l d   m a n a g e r .   A s   a n   e x c e p t i o n ,   y o u   c a n   o p t - o u t   o f   t h i s   b e h a v i o r   b y   s p e c i f y i n g   a   d i f f e r e n t ,   n o n - d e f a u l t   f i e l d   m a n a g e r ,   a s   s e e n   i n   t h e   f o l l o w i n g   e x a m p l e .   T h e   d e f a u l t   f i e l d   m a n a g e r   f o r   k u b e c t l   s e r v e r - s i d e   a p p l y   i s   k u b e c t l .   k u b e c t l   a p p l y   - - s e r v e r - s i d e   - - f i e l d - m a n a g e r = m y - m a n a g e r   [ - - d r y - r u n = s e r v e r ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_section_4_1065"
  },
  {
    "question": "What is Downgrading from server-side apply to client-side apply?",
    "answer": "I f   y o u   m a n a g e   a   r e s o u r c e   w i t h   k u b e c t l   a p p l y   - - s e r v e r - s i d e ,   y o u   c a n   d o w n g r a d e   t o   c l i e n t - s i d e   a p p l y   d i r e c t l y   w i t h   k u b e c t l   a p p l y .   D o w n g r a d i n g   w o r k s   b e c a u s e   k u b e c t l   S e r v e r - S i d e   A p p l y   k e e p s   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   u p - t o - d a t e   i f   y o u   u s e   k u b e c t l   a p p l y .   T h i s   b e h a v i o r   a p p l i e s   t o   S e r v e r - S i d e   A p p l y   w i t h   t h e   k u b e c t l   f i e l d   m a n a g e r .   A s   a n   e x c e p t i o n ,   y o u   c a n   o p t - o u t   o f   t h i s   b e h a v i o r   b y   s p e c i f y i n g   a   d i f f e r e n t ,   n o n - d e f a u l t   f i e l d   m a n a g e r ,   a s   s e e n   i n   t h e   f o l l o w i n g   e x a m p l e .   T h e   d e f a u l t   f i e l d   m a n a g e r   f o r   k u b e c t l   s e r v e r - s i d e   a p p l y   i s   k u b e c t l .   k u b e c t l   a p p l y   - - s e r v e r - s i d e   - - f i e l d - m a n a g e r = m y - m a n a g e r   [ - - d r y - r u n = s e r v e r ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_section_3_1066"
  },
  {
    "question": "What is API implementation?",
    "answer": "T h e   P A T C H   v e r b   ( f o r   a n   o b j e c t   t h a t   s u p p o r t s   S e r v e r - S i d e   A p p l y )   a c c e p t s   t h e   u n o f f i c i a l   a p p l i c a t i o n / a p p l y - p a t c h + y a m l   c o n t e n t   t y p e .   U s e r s   o f   S e r v e r - S i d e   A p p l y   c a n   s e n d   p a r t i a l l y   s p e c i f i e d   o b j e c t s   a s   Y A M L   a s   t h e   b o d y   o f   a   P A T C H   r e q u e s t   t o   t h e   U R I   o f   a   r e s o u r c e .   W h e n   a p p l y i n g   a   c o n f i g u r a t i o n ,   y o u   s h o u l d   a l w a y s   i n c l u d e   a l l   t h e   f i e l d s   t h a t   a r e   i m p o r t a n t   t o   t h e   o u t c o m e   ( s u c h   a s   a   d e s i r e d   s t a t e )   t h a t   y o u   w a n t   t o   d e f i n e .   A l l   J S O N   m e s s a g e s   a r e   v a l i d   Y A M L .   T h e r e f o r e ,   i n   a d d i t i o n   t o   u s i n g   Y A M L   r e q u e s t   b o d i e s   f o r   S e r v e r - S i d e   A p p l y   r e q u e s t s ,   y o u   c a n   a l s o   u s e   J S O N   r e q u e s t   b o d i e s ,   a s   t h e y   a r e   a l s o   v a l i d   Y A M L .   I n   e i t h e r   c a s e ,   u s e   t h e   m e d i a   t y p e   a p p l i c a t i o n / a p p l y - p a t c h + y a m l   f o r   t h e   H T T P   r e q u e s t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_section_2_1067"
  },
  {
    "question": "What is Access control and permissions?",
    "answer": "S i n c e   S e r v e r - S i d e   A p p l y   i s   a   t y p e   o f   P A T C H ,   a   p r i n c i p a l   ( s u c h   a s   a   R o l e   f o r   K u b e r n e t e s   R B A C )   r e q u i r e s   t h e   p a t c h   p e r m i s s i o n   t o   e d i t   e x i s t i n g   r e s o u r c e s ,   a n d   a l s o   n e e d s   t h e   c r e a t e   v e r b   p e r m i s s i o n   i n   o r d e r   t o   c r e a t e   n e w   r e s o u r c e s   w i t h   S e r v e r - S i d e   A p p l y .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_section_3_1068"
  },
  {
    "question": "What is Clearing managedFields?",
    "answer": "I t   i s   p o s s i b l e   t o   s t r i p   a l l   m a n a g e d F i e l d s   f r o m   a n   o b j e c t   b y   o v e r w r i t i n g   t h e m   u s i n g   a   p a t c h   ( J S O N   M e r g e   P a t c h ,   S t r a t e g i c   M e r g e   P a t c h ,   J S O N   P a t c h ) ,   o r   t h r o u g h   a n   u p d a t e   ( H T T P   P U T ) ;   i n   o t h e r   w o r d s ,   t h r o u g h   e v e r y   w r i t e   o p e r a t i o n   o t h e r   t h a n   a p p l y .   T h i s   c a n   b e   d o n e   b y   o v e r w r i t i n g   t h e   m a n a g e d F i e l d s   f i e l d   w i t h   a n   e m p t y   e n t r y .   T w o   e x a m p l e s   a r e :   P A T C H   / a p i / v 1 / n a m e s p a c e s / d e f a u l t / c o n f i g m a p s / e x a m p l e - c m   A c c e p t :   a p p l i c a t i o n / j s o n   C o n t e n t - T y p e :   a p p l i c a t i o n / m e r g e - p a t c h + j s o n   {   \" m e t a d a t a \" :   {   \" m a n a g e d F i e l d s \" :   [   { }   ]   }   }   P A T C H   / a p i / v 1 / n a m e s p a c e s / d e f a u l t / c o n f i g m a p s / e x a m p l e - c m   A c c e p t :   a p p l i c a t i o n / j s o n   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n - p a t c h + j s o n   I f - M a t c h :   1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9   [ { \" o p \" :   \" r e p l a c e \" ,   \" p a t h \" :   \" / m e t a d a t a / m a n a g e d F i e l d s \" ,   \" v a l u e \" :   [ { } ] } ]   T h i s   w i l l   o v e r w r i t e   t h e   m a n a g e d F i e l d s   w i t h   a   l i s t   c o n t a i n i n g   a   s i n g l e   e m p t y   e n t r y   t h a t   t h e n   r e s u l t s   i n   t h e   m a n a g e d F i e l d s   b e i n g   s t r i p p e d   e n t i r e l y   f r o m   t h e   o b j e c t .   N o t e   t h a t   s e t t i n g   t h e   m a n a g e d F i e l d s   t o   a n   e m p t y   l i s t   w i l l   n o t   r e s e t   t h e   f i e l d .   T h i s   i s   o n   p u r p o s e ,   s o   m a n a g e d F i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_section_2_1069"
  },
  {
    "question": "What is What's next?",
    "answer": "Y o u   c a n   r e a d   a b o u t   m a n a g e d F i e l d s   w i t h i n   t h e   K u b e r n e t e s   A P I   r e f e r e n c e   f o r   t h e   m e t a d a t a   t o p   l e v e l   f i e l d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/server-side-apply/",
    "id": "k8s_00060_section_2_1070"
  },
  {
    "question": "What is Volume Health Monitoring?",
    "answer": "Volume Health MonitoringFEATURE STATE: Kubernetes v1.21 [alpha]CSI volume health monitoring allows CSI Drivers to detect abnormal volume conditions from the underlying storage systems and report them as events on PVCs or Pods.Volume health monitoringKubernetes volume health monitoring is part of how Kubernetes implements the Container Storage Interface (CSI). Volume health monitoring feature is implemented in two components: an External Health Monitor controller, and the kubelet.If a CSI Driver supports Volume Health Monitoring feature from the controller side, an event will be reported on the related PersistentVolumeClaim (PVC) when an abnormal volume condition is detected on a CSI volume.The External Health Monitor controller also watches for node failure events. You can enable node failure monitoring by setting the enable-node-watcher flag to true. When the external health monitor detects a node failure event, the controller reports an Event will be reported on the PVC to indicate that pods using this PVC are on a failed node.If a CSI Driver supports Volume Health Monitoring feature from the node side, an Event will be reported on every Pod using the PVC when an abnormal volume condition is detected on a CSI volume. In addition, Volume Health information is exposed as Kubelet VolumeStats metrics. A new metric kubelet_volume_stats_health_status_abnormal is added. This metric includes two labels: namespace and persistentvolumeclaim. The count is either 1 or 0. 1 indicates the volume is unhealthy, 0 indicates volume is healthy. For more information, please check KEP.Note:You need to enable the CSIVolumeHealth feature gate to use this feature from the node side.What's nextSee the CSI driver documentation to find out which CSI drivers have implemented this feature.",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-health-monitoring/",
    "id": "k8s_00061_qa_1071"
  },
  {
    "question": "How does Volume Health Monitoring work?",
    "answer": "Volume Health MonitoringFEATURE STATE: Kubernetes v1.21 [alpha]CSI volume health monitoring allows CSI Drivers to detect abnormal volume conditions from the underlying storage systems and report them as events on PVCs or Pods.Volume health monitoringKubernetes volume health monitoring is part of how Kubernetes implements the Container Storage Interface (CSI). Volume health monitoring feature is implemented in two components: an External Health Monitor controller, and the kubelet.If a CSI Driver supports Volume Health Monitoring feature from the controller side, an event will be reported on the related PersistentVolumeClaim (PVC) when an abnormal volume condition is detected on a CSI volume.The External Health Monitor controller also watches for node failure events. You can enable node failure monitoring by setting the enable-node-watcher flag to true. When the external health monitor detects a node failure event, the controller reports an Event will be reported on the PVC to indicate that pods using this PVC are on a failed node.If a CSI Driver supports Volume Health Monitoring feature from the node side, an Event will be reported on every Pod using the PVC when an abnormal volume condition is detected on a CSI volume. In addition, Volume Health information is exposed as Kubelet VolumeStats metrics. A new metric kubelet_volume_stats_health_status_abnormal is added. This metric includes two labels: namespace and persistentvolumeclaim. The count is either 1 or 0. 1 indicates the volume is unhealthy, 0 indicates volume is healthy. For more information, please check KEP.Note:You need to enable the CSIVolumeHealth feature gate to use this feature from the node side.What's nextSee the CSI driver documentation to find out which CSI drivers have implemented this feature.",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-health-monitoring/",
    "id": "k8s_00061_qa_1072"
  },
  {
    "question": "When would you use Volume Health Monitoring?",
    "answer": "Volume Health MonitoringFEATURE STATE: Kubernetes v1.21 [alpha]CSI volume health monitoring allows CSI Drivers to detect abnormal volume conditions from the underlying storage systems and report them as events on PVCs or Pods.Volume health monitoringKubernetes volume health monitoring is part of how Kubernetes implements the Container Storage Interface (CSI). Volume health monitoring feature is implemented in two components: an External Health Monitor controller, and the kubelet.If a CSI Driver supports Volume Health Monitoring feature from the controller side, an event will be reported on the related PersistentVolumeClaim (PVC) when an abnormal volume condition is detected on a CSI volume.The External Health Monitor controller also watches for node failure events. You can enable node failure monitoring by setting the enable-node-watcher flag to true. When the external health monitor detects a node failure event, the controller reports an Event will be reported on the PVC to indicate that pods using this PVC are on a failed node.If a CSI Driver supports Volume Health Monitoring feature from the node side, an Event will be reported on every Pod using the PVC when an abnormal volume condition is detected on a CSI volume. In addition, Volume Health information is exposed as Kubelet VolumeStats metrics. A new metric kubelet_volume_stats_health_status_abnormal is added. This metric includes two labels: namespace and persistentvolumeclaim. The count is either 1 or 0. 1 indicates the volume is unhealthy, 0 indicates volume is healthy. For more information, please check KEP.Note:You need to enable the CSIVolumeHealth feature gate to use this feature from the node side.What's nextSee the CSI driver documentation to find out which CSI drivers have implemented this feature.",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-health-monitoring/",
    "id": "k8s_00061_qa_1073"
  },
  {
    "question": "What are the benefits of Volume Health Monitoring?",
    "answer": "Volume Health MonitoringFEATURE STATE: Kubernetes v1.21 [alpha]CSI volume health monitoring allows CSI Drivers to detect abnormal volume conditions from the underlying storage systems and report them as events on PVCs or Pods.Volume health monitoringKubernetes volume health monitoring is part of how Kubernetes implements the Container Storage Interface (CSI). Volume health monitoring feature is implemented in two components: an External Health Monitor controller, and the kubelet.If a CSI Driver supports Volume Health Monitoring feature from the controller side, an event will be reported on the related PersistentVolumeClaim (PVC) when an abnormal volume condition is detected on a CSI volume.The External Health Monitor controller also watches for node failure events. You can enable node failure monitoring by setting the enable-node-watcher flag to true. When the external health monitor detects a node failure event, the controller reports an Event will be reported on the PVC to indicate that pods using this PVC are on a failed node.If a CSI Driver supports Volume Health Monitoring feature from the node side, an Event will be reported on every Pod using the PVC when an abnormal volume condition is detected on a CSI volume. In addition, Volume Health information is exposed as Kubelet VolumeStats metrics. A new metric kubelet_volume_stats_health_status_abnormal is added. This metric includes two labels: namespace and persistentvolumeclaim. The count is either 1 or 0. 1 indicates the volume is unhealthy, 0 indicates volume is healthy. For more information, please check KEP.Note:You need to enable the CSIVolumeHealth feature gate to use this feature from the node side.What's nextSee the CSI driver documentation to find out which CSI drivers have implemented this feature.",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-health-monitoring/",
    "id": "k8s_00061_qa_1074"
  },
  {
    "question": "What is Volume Health Monitoring?",
    "answer": "C S I   v o l u m e   h e a l t h   m o n i t o r i n g   a l l o w s   C S I   D r i v e r s   t o   d e t e c t   a b n o r m a l   v o l u m e   c o n d i t i o n s   f r o m   t h e   u n d e r l y i n g   s t o r a g e   s y s t e m s   a n d   r e p o r t   t h e m   a s   e v e n t s   o n   P V C s   o r   P o d s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-health-monitoring/",
    "id": "k8s_00061_section_1_1075"
  },
  {
    "question": "What is Volume health monitoring?",
    "answer": "K u b e r n e t e s   v o l u m e   h e a l t h   m o n i t o r i n g   i s   p a r t   o f   h o w   K u b e r n e t e s   i m p l e m e n t s   t h e   C o n t a i n e r   S t o r a g e   I n t e r f a c e   ( C S I ) .   V o l u m e   h e a l t h   m o n i t o r i n g   f e a t u r e   i s   i m p l e m e n t e d   i n   t w o   c o m p o n e n t s :   a n   E x t e r n a l   H e a l t h   M o n i t o r   c o n t r o l l e r ,   a n d   t h e   k u b e l e t .   I f   a   C S I   D r i v e r   s u p p o r t s   V o l u m e   H e a l t h   M o n i t o r i n g   f e a t u r e   f r o m   t h e   c o n t r o l l e r   s i d e ,   a n   e v e n t   w i l l   b e   r e p o r t e d   o n   t h e   r e l a t e d   P e r s i s t e n t V o l u m e C l a i m   ( P V C )   w h e n   a n   a b n o r m a l   v o l u m e   c o n d i t i o n   i s   d e t e c t e d   o n   a   C S I   v o l u m e .   T h e   E x t e r n a l   H e a l t h   M o n i t o r   c o n t r o l l e r   a l s o   w a t c h e s   f o r   n o d e   f a i l u r e   e v e n t s .   Y o u   c a n   e n a b l e   n o d e   f a i l u r e   m o n i t o r i n g   b y   s e t t i n g   t h e   e n a b l e - n o d e - w a t c h e r   f l a g   t o   t r u e .   W h e n   t h e   e x t e r n a l   h e a l t h   m o n i t o r   d e t e c t s   a   n o d e   f a i l u r e   e v e n t ,   t h e   c o n t r o l l e r   r e p o r t s   a n   E v e n t   w i l l   b e   r e p o r t e d   o n   t h e   P V C   t o   i n d i c a t e   t h a t   p o d s   u s i n g   t h i s   P V C   a r e   o n   a   f a i l e d   n o d e .   I f   a   C S I   D r i v e r   s u p p o r t s   V o l u m e   H e a l t h   M o n i t o r i n g   f e a t u r e   f r o m   t h e   n o d e   s i d e ,   a n   E v e n t   w i l l   b e   r e p o r t e d   o n   e v e r y   P o d   u s i n g   t h e   P V C   w h e n   a n   a b n o r m a l   v o l u m e   c o n d i t i o n   i s   d e t e c t e d   o n   a   C S I   v o l u m e .   I n   a d d i t ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-health-monitoring/",
    "id": "k8s_00061_section_2_1076"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   t h e   C S I   d r i v e r   d o c u m e n t a t i o n   t o   f i n d   o u t   w h i c h   C S I   d r i v e r s   h a v e   i m p l e m e n t e d   t h i s   f e a t u r e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-health-monitoring/",
    "id": "k8s_00061_section_2_1077"
  },
  {
    "question": "What is Manage TLS Certificates in a Cluster?",
    "answer": "Manage TLS Certificates in a ClusterKubernetes provides a certificates.k8s.io API, which lets you provision TLS certificates signed by a Certificate Authority (CA) that you control. These CA and certificates can be used by your workloads to establish trust.certificates.k8s.io API uses a protocol that is similar to the ACME draft.Note:Certificates created using the certificates.k8s.io API are signed by a dedicated CA. It is possible to configure your cluster to use the cluster root CA for this purpose, but you should never rely on this. Do not assume that these certificates will validate against the cluster root CA.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou need the cfssl tool. You can download cfssl from https://github.com/cloudflare/cfssl/releases.Some steps in this page use the jq tool. If you don't have jq, you can install it via your operating system's software sources, or fetch it from https://jqlang.github.io/jq/.Trusting TLS in a clusterTrusting the custom CA from an application running as a pod usually requires some extra application configuration. You will need to add the CA certificate bundle to the list of CA certificates that the TLS client or server trusts. For example, you would do this with a golang TLS config by parsing the certificate chain and adding the parsed certificates to the RootCAs field in the tls.Config struct.Note:Even though the custom CA certificate may be included in the filesystem (in the ConfigMap kube-root-ca.crt), you should not use that certificate authority for any purpose other than to verify internal Kubernetes endpoints. An example of an internal Kubernetes endpoint is the Service named kubernetes in the default namespace.If you want to use a custom certificate authority for your workloads, you should generate that CA separately, and distribute its CA certificate using a ConfigMap that your pods have access to read.Requesting a certificateThe following section demonstrates how to create a TLS certificate for a Kubernetes service accessed through DNS.Note:This tutorial uses CFSSL: Cloudflare's PKI and TLS toolkit click here to know more.Create a certificate signing requestGenerate a private key and certificate signing request (or CSR) by running the following command:cat <<EOF | cfssl genkey - | cfssljson -bare server { \"hosts\": [ \"my-svc.my-namespace.svc.cluster.local\", \"my-pod.my-namespace.pod.cluster.local\", \"192.0.2.24\", \"10.0.34.2\" ], \"CN\": \"my-pod.my-namespace.pod.cluster.local\", \"key\": { \"algo\": \"ecdsa\", \"size\": 256 } } EOF Where 192.0.2.24 is the service's cluster IP, my-svc.my-namespace.svc.cluster.local is",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/",
    "id": "k8s_00062_qa_1078"
  },
  {
    "question": "How does Manage TLS Certificates in a Cluster work?",
    "answer": "Manage TLS Certificates in a ClusterKubernetes provides a certificates.k8s.io API, which lets you provision TLS certificates signed by a Certificate Authority (CA) that you control. These CA and certificates can be used by your workloads to establish trust.certificates.k8s.io API uses a protocol that is similar to the ACME draft.Note:Certificates created using the certificates.k8s.io API are signed by a dedicated CA. It is possible to configure your cluster to use the cluster root CA for this purpose, but you should never rely on this. Do not assume that these certificates will validate against the cluster root CA.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou need the cfssl tool. You can download cfssl from https://github.com/cloudflare/cfssl/releases.Some steps in this page use the jq tool. If you don't have jq, you can install it via your operating system's software sources, or fetch it from https://jqlang.github.io/jq/.Trusting TLS in a clusterTrusting the custom CA from an application running as a pod usually requires some extra application configuration. You will need to add the CA certificate bundle to the list of CA certificates that the TLS client or server trusts. For example, you would do this with a golang TLS config by parsing the certificate chain and adding the parsed certificates to the RootCAs field in the tls.Config struct.Note:Even though the custom CA certificate may be included in the filesystem (in the ConfigMap kube-root-ca.crt), you should not use that certificate authority for any purpose other than to verify internal Kubernetes endpoints. An example of an internal Kubernetes endpoint is the Service named kubernetes in the default namespace.If you want to use a custom certificate authority for your workloads, you should generate that CA separately, and distribute its CA certificate using a ConfigMap that your pods have access to read.Requesting a certificateThe following section demonstrates how to create a TLS certificate for a Kubernetes service accessed through DNS.Note:This tutorial uses CFSSL: Cloudflare's PKI and TLS toolkit click here to know more.Create a certificate signing requestGenerate a private key and certificate signing request (or CSR) by running the following command:cat <<EOF | cfssl genkey - | cfssljson -bare server { \"hosts\": [ \"my-svc.my-namespace.svc.cluster.local\", \"my-pod.my-namespace.pod.cluster.local\", \"192.0.2.24\", \"10.0.34.2\" ], \"CN\": \"my-pod.my-namespace.pod.cluster.local\", \"key\": { \"algo\": \"ecdsa\", \"size\": 256 } } EOF Where 192.0.2.24 is the service's cluster IP, my-svc.my-namespace.svc.cluster.local is",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/",
    "id": "k8s_00062_qa_1079"
  },
  {
    "question": "When would you use Manage TLS Certificates in a Cluster?",
    "answer": "Manage TLS Certificates in a ClusterKubernetes provides a certificates.k8s.io API, which lets you provision TLS certificates signed by a Certificate Authority (CA) that you control. These CA and certificates can be used by your workloads to establish trust.certificates.k8s.io API uses a protocol that is similar to the ACME draft.Note:Certificates created using the certificates.k8s.io API are signed by a dedicated CA. It is possible to configure your cluster to use the cluster root CA for this purpose, but you should never rely on this. Do not assume that these certificates will validate against the cluster root CA.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou need the cfssl tool. You can download cfssl from https://github.com/cloudflare/cfssl/releases.Some steps in this page use the jq tool. If you don't have jq, you can install it via your operating system's software sources, or fetch it from https://jqlang.github.io/jq/.Trusting TLS in a clusterTrusting the custom CA from an application running as a pod usually requires some extra application configuration. You will need to add the CA certificate bundle to the list of CA certificates that the TLS client or server trusts. For example, you would do this with a golang TLS config by parsing the certificate chain and adding the parsed certificates to the RootCAs field in the tls.Config struct.Note:Even though the custom CA certificate may be included in the filesystem (in the ConfigMap kube-root-ca.crt), you should not use that certificate authority for any purpose other than to verify internal Kubernetes endpoints. An example of an internal Kubernetes endpoint is the Service named kubernetes in the default namespace.If you want to use a custom certificate authority for your workloads, you should generate that CA separately, and distribute its CA certificate using a ConfigMap that your pods have access to read.Requesting a certificateThe following section demonstrates how to create a TLS certificate for a Kubernetes service accessed through DNS.Note:This tutorial uses CFSSL: Cloudflare's PKI and TLS toolkit click here to know more.Create a certificate signing requestGenerate a private key and certificate signing request (or CSR) by running the following command:cat <<EOF | cfssl genkey - | cfssljson -bare server { \"hosts\": [ \"my-svc.my-namespace.svc.cluster.local\", \"my-pod.my-namespace.pod.cluster.local\", \"192.0.2.24\", \"10.0.34.2\" ], \"CN\": \"my-pod.my-namespace.pod.cluster.local\", \"key\": { \"algo\": \"ecdsa\", \"size\": 256 } } EOF Where 192.0.2.24 is the service's cluster IP, my-svc.my-namespace.svc.cluster.local is",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/",
    "id": "k8s_00062_qa_1080"
  },
  {
    "question": "What are the benefits of Manage TLS Certificates in a Cluster?",
    "answer": "Manage TLS Certificates in a ClusterKubernetes provides a certificates.k8s.io API, which lets you provision TLS certificates signed by a Certificate Authority (CA) that you control. These CA and certificates can be used by your workloads to establish trust.certificates.k8s.io API uses a protocol that is similar to the ACME draft.Note:Certificates created using the certificates.k8s.io API are signed by a dedicated CA. It is possible to configure your cluster to use the cluster root CA for this purpose, but you should never rely on this. Do not assume that these certificates will validate against the cluster root CA.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou need the cfssl tool. You can download cfssl from https://github.com/cloudflare/cfssl/releases.Some steps in this page use the jq tool. If you don't have jq, you can install it via your operating system's software sources, or fetch it from https://jqlang.github.io/jq/.Trusting TLS in a clusterTrusting the custom CA from an application running as a pod usually requires some extra application configuration. You will need to add the CA certificate bundle to the list of CA certificates that the TLS client or server trusts. For example, you would do this with a golang TLS config by parsing the certificate chain and adding the parsed certificates to the RootCAs field in the tls.Config struct.Note:Even though the custom CA certificate may be included in the filesystem (in the ConfigMap kube-root-ca.crt), you should not use that certificate authority for any purpose other than to verify internal Kubernetes endpoints. An example of an internal Kubernetes endpoint is the Service named kubernetes in the default namespace.If you want to use a custom certificate authority for your workloads, you should generate that CA separately, and distribute its CA certificate using a ConfigMap that your pods have access to read.Requesting a certificateThe following section demonstrates how to create a TLS certificate for a Kubernetes service accessed through DNS.Note:This tutorial uses CFSSL: Cloudflare's PKI and TLS toolkit click here to know more.Create a certificate signing requestGenerate a private key and certificate signing request (or CSR) by running the following command:cat <<EOF | cfssl genkey - | cfssljson -bare server { \"hosts\": [ \"my-svc.my-namespace.svc.cluster.local\", \"my-pod.my-namespace.pod.cluster.local\", \"192.0.2.24\", \"10.0.34.2\" ], \"CN\": \"my-pod.my-namespace.pod.cluster.local\", \"key\": { \"algo\": \"ecdsa\", \"size\": 256 } } EOF Where 192.0.2.24 is the service's cluster IP, my-svc.my-namespace.svc.cluster.local is",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/",
    "id": "k8s_00062_qa_1081"
  },
  {
    "question": "What is Manage TLS Certificates in a Cluster?",
    "answer": "K u b e r n e t e s   p r o v i d e s   a   c e r t i f i c a t e s . k 8 s . i o   A P I ,   w h i c h   l e t s   y o u   p r o v i s i o n   T L S   c e r t i f i c a t e s   s i g n e d   b y   a   C e r t i f i c a t e   A u t h o r i t y   ( C A )   t h a t   y o u   c o n t r o l .   T h e s e   C A   a n d   c e r t i f i c a t e s   c a n   b e   u s e d   b y   y o u r   w o r k l o a d s   t o   e s t a b l i s h   t r u s t .   c e r t i f i c a t e s . k 8 s . i o   A P I   u s e s   a   p r o t o c o l   t h a t   i s   s i m i l a r   t o   t h e   A C M E   d r a f t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/",
    "id": "k8s_00062_section_1_1082"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   n e e d   t h e   c f s s l   t o o l .   Y o u   c a n   d o w n l o a d   c f s s l   f r o m   h t t p s : / / g i t h u b . c o m / c l o u d f l a r e / c f s s l / r e l e a s e s .   S o m e   s t e p s   i n   t h i s   p a g e   u s e   t h e   j q   t o o l .   I f   y o u   d o n ' t   h a v e   j q ,   y o u   c a n   i n s t a l l   i t   v i a   y o u r   o p e r a t i n g   s y s t e m ' s   s o f t w a r e   s o u r c e s ,   o r   f e t c h   i t   f r o m   h t t p s : / / j q l a n g . g i t h u b . i o / j q / .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/",
    "id": "k8s_00062_section_2_1083"
  },
  {
    "question": "What is Trusting TLS in a cluster?",
    "answer": "T r u s t i n g   t h e   c u s t o m   C A   f r o m   a n   a p p l i c a t i o n   r u n n i n g   a s   a   p o d   u s u a l l y   r e q u i r e s   s o m e   e x t r a   a p p l i c a t i o n   c o n f i g u r a t i o n .   Y o u   w i l l   n e e d   t o   a d d   t h e   C A   c e r t i f i c a t e   b u n d l e   t o   t h e   l i s t   o f   C A   c e r t i f i c a t e s   t h a t   t h e   T L S   c l i e n t   o r   s e r v e r   t r u s t s .   F o r   e x a m p l e ,   y o u   w o u l d   d o   t h i s   w i t h   a   g o l a n g   T L S   c o n f i g   b y   p a r s i n g   t h e   c e r t i f i c a t e   c h a i n   a n d   a d d i n g   t h e   p a r s e d   c e r t i f i c a t e s   t o   t h e   R o o t C A s   f i e l d   i n   t h e   t l s . C o n f i g   s t r u c t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/",
    "id": "k8s_00062_section_2_1084"
  },
  {
    "question": "What is Note:?",
    "answer": "E v e n   t h o u g h   t h e   c u s t o m   C A   c e r t i f i c a t e   m a y   b e   i n c l u d e d   i n   t h e   f i l e s y s t e m   ( i n   t h e   C o n f i g M a p   k u b e - r o o t - c a . c r t ) ,   y o u   s h o u l d   n o t   u s e   t h a t   c e r t i f i c a t e   a u t h o r i t y   f o r   a n y   p u r p o s e   o t h e r   t h a n   t o   v e r i f y   i n t e r n a l   K u b e r n e t e s   e n d p o i n t s .   A n   e x a m p l e   o f   a n   i n t e r n a l   K u b e r n e t e s   e n d p o i n t   i s   t h e   S e r v i c e   n a m e d   k u b e r n e t e s   i n   t h e   d e f a u l t   n a m e s p a c e .   I f   y o u   w a n t   t o   u s e   a   c u s t o m   c e r t i f i c a t e   a u t h o r i t y   f o r   y o u r   w o r k l o a d s ,   y o u   s h o u l d   g e n e r a t e   t h a t   C A   s e p a r a t e l y ,   a n d   d i s t r i b u t e   i t s   C A   c e r t i f i c a t e   u s i n g   a   C o n f i g M a p   t h a t   y o u r   p o d s   h a v e   a c c e s s   t o   r e a d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/",
    "id": "k8s_00062_section_4_1085"
  },
  {
    "question": "What is Requesting a certificate?",
    "answer": "T h e   f o l l o w i n g   s e c t i o n   d e m o n s t r a t e s   h o w   t o   c r e a t e   a   T L S   c e r t i f i c a t e   f o r   a   K u b e r n e t e s   s e r v i c e   a c c e s s e d   t h r o u g h   D N S .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/",
    "id": "k8s_00062_section_2_1086"
  },
  {
    "question": "What is Create a certificate signing request?",
    "answer": "G e n e r a t e   a   p r i v a t e   k e y   a n d   c e r t i f i c a t e   s i g n i n g   r e q u e s t   ( o r   C S R )   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d :   c a t   < < E O F   |   c f s s l   g e n k e y   -   |   c f s s l j s o n   - b a r e   s e r v e r   {   \" h o s t s \" :   [   \" m y - s v c . m y - n a m e s p a c e . s v c . c l u s t e r . l o c a l \" ,   \" m y - p o d . m y - n a m e s p a c e . p o d . c l u s t e r . l o c a l \" ,   \" 1 9 2 . 0 . 2 . 2 4 \" ,   \" 1 0 . 0 . 3 4 . 2 \"   ] ,   \" C N \" :   \" m y - p o d . m y - n a m e s p a c e . p o d . c l u s t e r . l o c a l \" ,   \" k e y \" :   {   \" a l g o \" :   \" e c d s a \" ,   \" s i z e \" :   2 5 6   }   }   E O F   W h e r e   1 9 2 . 0 . 2 . 2 4   i s   t h e   s e r v i c e ' s   c l u s t e r   I P ,   m y - s v c . m y - n a m e s p a c e . s v c . c l u s t e r . l o c a l   i s   t h e   s e r v i c e ' s   D N S   n a m e ,   1 0 . 0 . 3 4 . 2   i s   t h e   p o d ' s   I P   a n d   m y - p o d . m y - n a m e s p a c e . p o d . c l u s t e r . l o c a l   i s   t h e   p o d ' s   D N S   n a m e .   Y o u   s h o u l d   s e e   t h e   o u t p u t   s i m i l a r   t o :   2 0 2 2 / 0 2 / 0 1   1 1 : 4 5 : 3 2   [ I N F O ]   g e n e r a t e   r e c e i v e d   r e q u e s t   2 0 2 2 / 0 2 / 0 1   1 1 : 4 5 : 3 2   [ I N F O ]   r e c e i v e d   C S R   2 0 2 2 / 0 2 / 0 1   1 1 : 4 5 : 3 2   [ I N F O ]   g e n e r a t i n g   k e y :   e c d s a - 2 5 6   2 0 2 2 / 0 2 / 0 1   1 1 : 4 5 : 3 2   [ I N F O ]   e n c o d e d   C S R   T h i s   c o m m a n d   g e n e r a t e s   t w o   f i l e s ;   i t   g e n e r a t e s   s e r v e r . c s r   c o n t a i n i n g   t h e   P E M   e n c o d e d   P K C S # 1 0   c e r t i f i c a t i o n   r e q u e s t ,   a n d   s e r v e r - k e y . p e m   c o n t a i n i n g   t h e   P E M   e n c o d e d   k e y   t o   t h e   c e r t i f i c a t e   t h a t   i s   s t i l l   t o   b e   c r e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/",
    "id": "k8s_00062_section_2_1087"
  },
  {
    "question": "What is Create a CertificateSigningRequest object to send to the Kubernetes API?",
    "answer": "G e n e r a t e   a   C S R   m a n i f e s t   ( i n   Y A M L ) ,   a n d   s e n d   i t   t o   t h e   A P I   s e r v e r .   Y o u   c a n   d o   t h a t   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d :   c a t   < < E O F   |   k u b e c t l   a p p l y   - f   -   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1   k i n d :   C e r t i f i c a t e S i g n i n g R e q u e s t   m e t a d a t a :   n a m e :   m y - s v c . m y - n a m e s p a c e   s p e c :   r e q u e s t :   $ ( c a t   s e r v e r . c s r   |   b a s e 6 4   |   t r   - d   ' \\ n ' )   s i g n e r N a m e :   e x a m p l e . c o m / s e r v i n g   u s a g e s :   -   d i g i t a l   s i g n a t u r e   -   k e y   e n c i p h e r m e n t   -   s e r v e r   a u t h   E O F   N o t i c e   t h a t   t h e   s e r v e r . c s r   f i l e   c r e a t e d   i n   s t e p   1   i s   b a s e 6 4   e n c o d e d   a n d   s t a s h e d   i n   t h e   . s p e c . r e q u e s t   f i e l d .   Y o u   a r e   a l s o   r e q u e s t i n g   a   c e r t i f i c a t e   w i t h   t h e   \" d i g i t a l   s i g n a t u r e \" ,   \" k e y   e n c i p h e r m e n t \" ,   a n d   \" s e r v e r   a u t h \"   k e y   u s a g e s ,   s i g n e d   b y   a n   e x a m p l e   e x a m p l e . c o m / s e r v i n g   s i g n e r .   A   s p e c i f i c   s i g n e r N a m e   m u s t   b e   r e q u e s t e d .   V i e w   d o c u m e n t a t i o n   f o r   s u p p o r t e d   s i g n e r   n a m e s   f o r   m o r e   i n f o r m a t i o n .   T h e   C S R   s h o u l d   n o w   b e   v i s i b l e   f r o m   t h e   A P I   i n   a   P e n d i n g   s t a t e .   Y o u   c a n   s e e   i t   b y   r u n n i n g :   k u b e c t l   d e s c r i b e   c s r   m y - s v c . m y - n a m e s p a c e   N a m e :   m y - s v c . m y - n a m e s p a c e   L a b e l s :   < n o n e >   A n n o t a t i o n s :   < n o n e >   C r e a t i o n T i m e s t a m p :   T u e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/",
    "id": "k8s_00062_section_2_1088"
  },
  {
    "question": "What is Get the CertificateSigningRequest approved?",
    "answer": "A p p r o v i n g   t h e   c e r t i f i c a t e   s i g n i n g   r e q u e s t   i s   e i t h e r   d o n e   b y   a n   a u t o m a t e d   a p p r o v a l   p r o c e s s   o r   o n   a   o n e   o f f   b a s i s   b y   a   c l u s t e r   a d m i n i s t r a t o r .   I f   y o u ' r e   a u t h o r i z e d   t o   a p p r o v e   a   c e r t i f i c a t e   r e q u e s t ,   y o u   c a n   d o   t h a t   m a n u a l l y   u s i n g   k u b e c t l ;   f o r   e x a m p l e :   k u b e c t l   c e r t i f i c a t e   a p p r o v e   m y - s v c . m y - n a m e s p a c e   c e r t i f i c a t e s i g n i n g r e q u e s t . c e r t i f i c a t e s . k 8 s . i o / m y - s v c . m y - n a m e s p a c e   a p p r o v e d   Y o u   s h o u l d   n o w   s e e   t h e   f o l l o w i n g :   k u b e c t l   g e t   c s r   N A M E   A G E   S I G N E R N A M E   R E Q U E S T O R   R E Q U E S T E D D U R A T I O N   C O N D I T I O N   m y - s v c . m y - n a m e s p a c e   1 0 m   e x a m p l e . c o m / s e r v i n g   y o u r n a m e @ e x a m p l e . c o m   < n o n e >   A p p r o v e d   T h i s   m e a n s   t h e   c e r t i f i c a t e   r e q u e s t   h a s   b e e n   a p p r o v e d   a n d   i s   w a i t i n g   f o r   t h e   r e q u e s t e d   s i g n e r   t o   s i g n   i t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/",
    "id": "k8s_00062_section_2_1089"
  },
  {
    "question": "What is Sign the CertificateSigningRequest?",
    "answer": "N e x t ,   y o u ' l l   p l a y   t h e   p a r t   o f   a   c e r t i f i c a t e   s i g n e r ,   i s s u e   t h e   c e r t i f i c a t e ,   a n d   u p l o a d   i t   t o   t h e   A P I .   A   s i g n e r   w o u l d   t y p i c a l l y   w a t c h   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   A P I   f o r   o b j e c t s   w i t h   i t s   s i g n e r N a m e ,   c h e c k   t h a t   t h e y   h a v e   b e e n   a p p r o v e d ,   s i g n   c e r t i f i c a t e s   f o r   t h o s e   r e q u e s t s ,   a n d   u p d a t e   t h e   A P I   o b j e c t   s t a t u s   w i t h   t h e   i s s u e d   c e r t i f i c a t e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/",
    "id": "k8s_00062_section_2_1090"
  },
  {
    "question": "What is Create a Certificate Authority?",
    "answer": "Y o u   n e e d   a n   a u t h o r i t y   t o   p r o v i d e   t h e   d i g i t a l   s i g n a t u r e   o n   t h e   n e w   c e r t i f i c a t e .   F i r s t ,   c r e a t e   a   s i g n i n g   c e r t i f i c a t e   b y   r u n n i n g   t h e   f o l l o w i n g :   c a t   < < E O F   |   c f s s l   g e n c e r t   - i n i t c a   -   |   c f s s l j s o n   - b a r e   c a   {   \" C N \" :   \" M y   E x a m p l e   S i g n e r \" ,   \" k e y \" :   {   \" a l g o \" :   \" r s a \" ,   \" s i z e \" :   2 0 4 8   }   }   E O F   Y o u   s h o u l d   s e e   o u t p u t   s i m i l a r   t o :   2 0 2 2 / 0 2 / 0 1   1 1 : 5 0 : 3 9   [ I N F O ]   g e n e r a t i n g   a   n e w   C A   k e y   a n d   c e r t i f i c a t e   f r o m   C S R   2 0 2 2 / 0 2 / 0 1   1 1 : 5 0 : 3 9   [ I N F O ]   g e n e r a t e   r e c e i v e d   r e q u e s t   2 0 2 2 / 0 2 / 0 1   1 1 : 5 0 : 3 9   [ I N F O ]   r e c e i v e d   C S R   2 0 2 2 / 0 2 / 0 1   1 1 : 5 0 : 3 9   [ I N F O ]   g e n e r a t i n g   k e y :   r s a - 2 0 4 8   2 0 2 2 / 0 2 / 0 1   1 1 : 5 0 : 3 9   [ I N F O ]   e n c o d e d   C S R   2 0 2 2 / 0 2 / 0 1   1 1 : 5 0 : 3 9   [ I N F O ]   s i g n e d   c e r t i f i c a t e   w i t h   s e r i a l   n u m b e r   2 6 3 9 8 3 1 5 1 0 1 3 6 8 6 7 2 0 8 9 9 7 1 6 3 5 4 3 4 9 6 0 5 5 0 0 7 9 7 8 3 4 5 8 0 4 7 2   T h i s   p r o d u c e s   a   c e r t i f i c a t e   a u t h o r i t y   k e y   f i l e   ( c a - k e y . p e m )   a n d   c e r t i f i c a t e   ( c a . p e m ) .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/",
    "id": "k8s_00062_section_3_1091"
  },
  {
    "question": "What is Issue a certificate?",
    "answer": "{   \" s i g n i n g \" :   {   \" d e f a u l t \" :   {   \" u s a g e s \" :   [   \" d i g i t a l   s i g n a t u r e \" ,   \" k e y   e n c i p h e r m e n t \" ,   \" s e r v e r   a u t h \"   ] ,   \" e x p i r y \" :   \" 8 7 6 0 0 0 h \" ,   \" c a _ c o n s t r a i n t \" :   {   \" i s _ c a \" :   f a l s e   }   }   }   }   U s e   a   s e r v e r - s i g n i n g - c o n f i g . j s o n   s i g n i n g   c o n f i g u r a t i o n   a n d   t h e   c e r t i f i c a t e   a u t h o r i t y   k e y   f i l e   a n d   c e r t i f i c a t e   t o   s i g n   t h e   c e r t i f i c a t e   r e q u e s t :   k u b e c t l   g e t   c s r   m y - s v c . m y - n a m e s p a c e   - o   j s o n p a t h = ' { . s p e c . r e q u e s t } '   |   \\   b a s e 6 4   - - d e c o d e   |   \\   c f s s l   s i g n   - c a   c a . p e m   - c a - k e y   c a - k e y . p e m   - c o n f i g   s e r v e r - s i g n i n g - c o n f i g . j s o n   -   |   \\   c f s s l j s o n   - b a r e   c a - s i g n e d - s e r v e r   Y o u   s h o u l d   s e e   t h e   o u t p u t   s i m i l a r   t o :   2 0 2 2 / 0 2 / 0 1   1 1 : 5 2 : 2 6   [ I N F O ]   s i g n e d   c e r t i f i c a t e   w i t h   s e r i a l   n u m b e r   5 7 6 0 4 8 9 2 8 6 2 4 9 2 6 5 8 4 3 8 1 4 1 5 9 3 6 7 0 0 9 1 4 5 3 0 5 3 4 4 7 2 8 7 0 3 3 7   T h i s   p r o d u c e s   a   s i g n e d   s e r v i n g   c e r t i f i c a t e   f i l e ,   c a - s i g n e d - s e r v e r . p e m .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/",
    "id": "k8s_00062_section_3_1092"
  },
  {
    "question": "What is Upload the signed certificate?",
    "answer": "F i n a l l y ,   p o p u l a t e   t h e   s i g n e d   c e r t i f i c a t e   i n   t h e   A P I   o b j e c t ' s   s t a t u s :   k u b e c t l   g e t   c s r   m y - s v c . m y - n a m e s p a c e   - o   j s o n   |   \\   j q   ' . s t a t u s . c e r t i f i c a t e   =   \" ' $ ( b a s e 6 4   c a - s i g n e d - s e r v e r . p e m   |   t r   - d   ' \\ n ' ) ' \" '   |   \\   k u b e c t l   r e p l a c e   - - r a w   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / m y - s v c . m y - n a m e s p a c e / s t a t u s   - f   -",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/",
    "id": "k8s_00062_section_3_1093"
  },
  {
    "question": "What is Note:?",
    "answer": "O n c e   t h e   C S R   i s   a p p r o v e d   a n d   t h e   s i g n e d   c e r t i f i c a t e   i s   u p l o a d e d ,   r u n :   k u b e c t l   g e t   c s r   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   A G E   S I G N E R N A M E   R E Q U E S T O R   R E Q U E S T E D D U R A T I O N   C O N D I T I O N   m y - s v c . m y - n a m e s p a c e   2 0 m   e x a m p l e . c o m / s e r v i n g   y o u r n a m e @ e x a m p l e . c o m   < n o n e >   A p p r o v e d , I s s u e d",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/",
    "id": "k8s_00062_section_4_1094"
  },
  {
    "question": "What is Download the certificate and use it?",
    "answer": "N o w ,   a s   t h e   r e q u e s t i n g   u s e r ,   y o u   c a n   d o w n l o a d   t h e   i s s u e d   c e r t i f i c a t e   a n d   s a v e   i t   t o   a   s e r v e r . c r t   f i l e   b y   r u n n i n g   t h e   f o l l o w i n g :   k u b e c t l   g e t   c s r   m y - s v c . m y - n a m e s p a c e   - o   j s o n p a t h = ' { . s t a t u s . c e r t i f i c a t e } '   \\   |   b a s e 6 4   - - d e c o d e   >   s e r v e r . c r t   N o w   y o u   c a n   p o p u l a t e   s e r v e r . c r t   a n d   s e r v e r - k e y . p e m   i n   a   S e c r e t   t h a t   y o u   c o u l d   l a t e r   m o u n t   i n t o   a   P o d   ( f o r   e x a m p l e ,   t o   u s e   w i t h   a   w e b s e r v e r   t h a t   s e r v e s   H T T P S ) .   k u b e c t l   c r e a t e   s e c r e t   t l s   s e r v e r   - - c e r t   s e r v e r . c r t   - - k e y   s e r v e r - k e y . p e m   s e c r e t / s e r v e r   c r e a t e d   F i n a l l y ,   y o u   c a n   p o p u l a t e   c a . p e m   i n t o   a   C o n f i g M a p   a n d   u s e   i t   a s   t h e   t r u s t   r o o t   t o   v e r i f y   t h e   s e r v i n g   c e r t i f i c a t e :   k u b e c t l   c r e a t e   c o n f i g m a p   e x a m p l e - s e r v i n g - c a   - - f r o m - f i l e   c a . c r t = c a . p e m   c o n f i g m a p / e x a m p l e - s e r v i n g - c a   c r e a t e d",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/",
    "id": "k8s_00062_section_2_1095"
  },
  {
    "question": "What is Approving CertificateSigningRequests?",
    "answer": "A   K u b e r n e t e s   a d m i n i s t r a t o r   ( w i t h   a p p r o p r i a t e   p e r m i s s i o n s )   c a n   m a n u a l l y   a p p r o v e   ( o r   d e n y )   C e r t i f i c a t e S i g n i n g R e q u e s t s   b y   u s i n g   t h e   k u b e c t l   c e r t i f i c a t e   a p p r o v e   a n d   k u b e c t l   c e r t i f i c a t e   d e n y   c o m m a n d s .   H o w e v e r   i f   y o u   i n t e n d   t o   m a k e   h e a v y   u s a g e   o f   t h i s   A P I ,   y o u   m i g h t   c o n s i d e r   w r i t i n g   a n   a u t o m a t e d   c e r t i f i c a t e s   c o n t r o l l e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/",
    "id": "k8s_00062_section_2_1096"
  },
  {
    "question": "What is Caution:?",
    "answer": "T h e   a b i l i t y   t o   a p p r o v e   C S R s   d e c i d e s   w h o   t r u s t s   w h o m   w i t h i n   y o u r   e n v i r o n m e n t .   T h e   a b i l i t y   t o   a p p r o v e   C S R s   s h o u l d   n o t   b e   g r a n t e d   b r o a d l y   o r   l i g h t l y .   Y o u   s h o u l d   m a k e   s u r e   t h a t   y o u   c o n f i d e n t l y   u n d e r s t a n d   b o t h   t h e   v e r i f i c a t i o n   r e q u i r e m e n t s   t h a t   f a l l   o n   t h e   a p p r o v e r   a n d   t h e   r e p e r c u s s i o n s   o f   i s s u i n g   a   s p e c i f i c   c e r t i f i c a t e   b e f o r e   y o u   g r a n t   t h e   a p p r o v e   p e r m i s s i o n .   W h e t h e r   a   m a c h i n e   o r   a   h u m a n   u s i n g   k u b e c t l   a s   a b o v e ,   t h e   r o l e   o f   t h e   a p p r o v e r   i s   t o   v e r i f y   t h a t   t h e   C S R   s a t i s f i e s   t w o   r e q u i r e m e n t s :   T h e   s u b j e c t   o f   t h e   C S R   c o n t r o l s   t h e   p r i v a t e   k e y   u s e d   t o   s i g n   t h e   C S R .   T h i s   a d d r e s s e s   t h e   t h r e a t   o f   a   t h i r d   p a r t y   m a s q u e r a d i n g   a s   a n   a u t h o r i z e d   s u b j e c t .   I n   t h e   a b o v e   e x a m p l e ,   t h i s   s t e p   w o u l d   b e   t o   v e r i f y   t h a t   t h e   p o d   c o n t r o l s   t h e   p r i v a t e   k e y   u s e d   t o   g e n e r a t e   t h e   C S R . T h e   s u b j e c t   o f   t h e   C S R   i s   a u t h o r i z e d   t o   a c t   i n   t h e   r e q u e s t e d   c o n t e x t .   T h i s   a d d r e s s e s   t h e   t h r e a t   o f   a n   u n d e s i r e d   s u b j e c t   j o i n i n g   t h e   c l u s t e r .   I n   t h e   a b o v e   e x a m p l e ,   t h i s   s t e p   w o u l d   b e   t o   v e r i f y   t h a t   t h e   p o d   i s   a l l o w e d   t o   p a r t i c i p a t e   i n   t h e   r e q u e s ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/",
    "id": "k8s_00062_section_4_1097"
  },
  {
    "question": "What is Configuring your cluster to provide signing?",
    "answer": "T h i s   p a g e   a s s u m e s   t h a t   a   s i g n e r   i s   s e t   u p   t o   s e r v e   t h e   c e r t i f i c a t e s   A P I .   T h e   K u b e r n e t e s   c o n t r o l l e r   m a n a g e r   p r o v i d e s   a   d e f a u l t   i m p l e m e n t a t i o n   o f   a   s i g n e r .   T o   e n a b l e   i t ,   p a s s   t h e   - - c l u s t e r - s i g n i n g - c e r t - f i l e   a n d   - - c l u s t e r - s i g n i n g - k e y - f i l e   p a r a m e t e r s   t o   t h e   c o n t r o l l e r   m a n a g e r   w i t h   p a t h s   t o   y o u r   C e r t i f i c a t e   A u t h o r i t y ' s   k e y p a i r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/",
    "id": "k8s_00062_section_2_1098"
  },
  {
    "question": "What is CronJob?",
    "answer": "CronJobCronJob represents the configuration of a single cron job.apiVersion: batch/v1import \"k8s.io/api/batch/v1\"CronJobCronJob represents the configuration of a single cron job.apiVersion: batch/v1kind: CronJobmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (CronJobSpec)Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (CronJobStatus)Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusCronJobSpecCronJobSpec describes how the job execution will look like and when it will actually run.jobTemplate (JobTemplateSpec), requiredSpecifies the job that will be created when executing a CronJob.JobTemplateSpec describes the data a Job should have when created from a templatejobTemplate.metadata (ObjectMeta)Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatajobTemplate.spec (JobSpec)Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusschedule (string), requiredThe schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.timeZone (string)The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zonesconcurrencyPolicy (string)Specifies how to treat concurrent executions of a Job. Valid values are:\"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_qa_1099"
  },
  {
    "question": "How does CronJob work?",
    "answer": "CronJobCronJob represents the configuration of a single cron job.apiVersion: batch/v1import \"k8s.io/api/batch/v1\"CronJobCronJob represents the configuration of a single cron job.apiVersion: batch/v1kind: CronJobmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (CronJobSpec)Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (CronJobStatus)Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusCronJobSpecCronJobSpec describes how the job execution will look like and when it will actually run.jobTemplate (JobTemplateSpec), requiredSpecifies the job that will be created when executing a CronJob.JobTemplateSpec describes the data a Job should have when created from a templatejobTemplate.metadata (ObjectMeta)Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatajobTemplate.spec (JobSpec)Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusschedule (string), requiredThe schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.timeZone (string)The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zonesconcurrencyPolicy (string)Specifies how to treat concurrent executions of a Job. Valid values are:\"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_qa_1100"
  },
  {
    "question": "When would you use CronJob?",
    "answer": "CronJobCronJob represents the configuration of a single cron job.apiVersion: batch/v1import \"k8s.io/api/batch/v1\"CronJobCronJob represents the configuration of a single cron job.apiVersion: batch/v1kind: CronJobmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (CronJobSpec)Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (CronJobStatus)Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusCronJobSpecCronJobSpec describes how the job execution will look like and when it will actually run.jobTemplate (JobTemplateSpec), requiredSpecifies the job that will be created when executing a CronJob.JobTemplateSpec describes the data a Job should have when created from a templatejobTemplate.metadata (ObjectMeta)Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatajobTemplate.spec (JobSpec)Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusschedule (string), requiredThe schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.timeZone (string)The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zonesconcurrencyPolicy (string)Specifies how to treat concurrent executions of a Job. Valid values are:\"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_qa_1101"
  },
  {
    "question": "What are the benefits of CronJob?",
    "answer": "CronJobCronJob represents the configuration of a single cron job.apiVersion: batch/v1import \"k8s.io/api/batch/v1\"CronJobCronJob represents the configuration of a single cron job.apiVersion: batch/v1kind: CronJobmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (CronJobSpec)Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (CronJobStatus)Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusCronJobSpecCronJobSpec describes how the job execution will look like and when it will actually run.jobTemplate (JobTemplateSpec), requiredSpecifies the job that will be created when executing a CronJob.JobTemplateSpec describes the data a Job should have when created from a templatejobTemplate.metadata (ObjectMeta)Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatajobTemplate.spec (JobSpec)Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusschedule (string), requiredThe schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.timeZone (string)The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zonesconcurrencyPolicy (string)Specifies how to treat concurrent executions of a Job. Valid values are:\"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_qa_1102"
  },
  {
    "question": "What is CronJob?",
    "answer": "a p i V e r s i o n :   b a t c h / v 1   i m p o r t   \" k 8 s . i o / a p i / b a t c h / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_1_1103"
  },
  {
    "question": "What is CronJob?",
    "answer": "C r o n J o b   r e p r e s e n t s   t h e   c o n f i g u r a t i o n   o f   a   s i n g l e   c r o n   j o b .   a p i V e r s i o n :   b a t c h / v 1 k i n d :   C r o n J o b m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( C r o n J o b S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   a   c r o n   j o b ,   i n c l u d i n g   t h e   s c h e d u l e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( C r o n J o b S t a t u s ) C u r r e n t   s t a t u s   o f   a   c r o n   j o b .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   b a t c h / v 1   k i n d :   C r o n J o b   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( C r o n J o b S p e c )   S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   a   c r o n   j o b ,   i n c l u d i n g   t h e   s c h e d u l e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_2_1104"
  },
  {
    "question": "What is CronJobSpec?",
    "answer": "C r o n J o b S p e c   d e s c r i b e s   h o w   t h e   j o b   e x e c u t i o n   w i l l   l o o k   l i k e   a n d   w h e n   i t   w i l l   a c t u a l l y   r u n .   j o b T e m p l a t e   ( J o b T e m p l a t e S p e c ) ,   r e q u i r e d S p e c i f i e s   t h e   j o b   t h a t   w i l l   b e   c r e a t e d   w h e n   e x e c u t i n g   a   C r o n J o b . J o b T e m p l a t e S p e c   d e s c r i b e s   t h e   d a t a   a   J o b   s h o u l d   h a v e   w h e n   c r e a t e d   f r o m   a   t e m p l a t e j o b T e m p l a t e . m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a   o f   t h e   j o b s   c r e a t e d   f r o m   t h i s   t e m p l a t e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a j o b T e m p l a t e . s p e c   ( J o b S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   j o b .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s c h e d u l e   ( s t r i n g ) ,   r e q u i r e d T h e   s c h e d u l e   i n   C r o n   f o r m a t ,   s e e   h t t p s : / / e n . w i k i p e d i a . o r g / w i k i / C r o n . t i m e Z o n e   ( s t r i n g ) T h e   t i m e   z o n e   n a m e   f o r   t h e   g i v e n   s c h e d u l e ,   s e e   h t t p s : / / e n . w i k i p e d i a . o r g / w i k i / L i s t _ o f _ t z _ d a t a b a s e _ t i m e _ z o n e s .   I f   n o t   s p e c i f i e d ,   t h i s   w i l l   d e f a u l t   t o   t h e   t i m e   z o n e   o f   t h e   k u b e - c o n t r o l l e r - m a n a g e r   p r o c e s s .   T h e   s e t   o f   v a l i d   t i m e   z ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_2_1105"
  },
  {
    "question": "What is CronJobStatus?",
    "answer": "C r o n J o b S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t e   o f   a   c r o n   j o b .   a c t i v e   ( [ ] O b j e c t R e f e r e n c e ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A   l i s t   o f   p o i n t e r s   t o   c u r r e n t l y   r u n n i n g   j o b s . l a s t S c h e d u l e T i m e   ( T i m e ) I n f o r m a t i o n   w h e n   w a s   t h e   l a s t   t i m e   t h e   j o b   w a s   s u c c e s s f u l l y   s c h e d u l e d . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . l a s t S u c c e s s f u l T i m e   ( T i m e ) I n f o r m a t i o n   w h e n   w a s   t h e   l a s t   t i m e   t h e   j o b   s u c c e s s f u l l y   c o m p l e t e d . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s .   a c t i v e   ( [ ] O b j e c t R e f e r e n c e )   A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e   A   l i s t   o f   p o i n t e r s   t o   c u r r e n t l y   r u n n i n g   j o b s .   l a s t S c h e d u l e T i m e   ( T i m e )   I n f o r m a t i o n   w h e n   w a s   t h e   l a s t   t i m e   t h e   j o b   w a s   s u c c e s s f u l l y   s c h e d u l e d .   T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_2_1106"
  },
  {
    "question": "What is CronJobList?",
    "answer": "C r o n J o b L i s t   i s   a   c o l l e c t i o n   o f   c r o n   j o b s .   a p i V e r s i o n :   b a t c h / v 1 k i n d :   C r o n J o b L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] C r o n J o b ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   C r o n J o b s .   a p i V e r s i o n :   b a t c h / v 1   k i n d :   C r o n J o b L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] C r o n J o b ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   C r o n J o b s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_2_1107"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1108"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C r o n J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C r o n J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1109"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1110"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1111"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C r o n J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C r o n J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1112"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1113"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1114"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1115"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1116"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / c r o n j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1117"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1118"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1119"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1120"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C r o n J o b ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C r o n J o b ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1121"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b ) :   O K   2 0 1   ( C r o n J o b ) :   C r e a t e d   2 0 2   ( C r o n J o b ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1122"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1123"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C r o n J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C r o n J o b ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C r o n J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C r o n J o b ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1124"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b ) :   O K   2 0 1   ( C r o n J o b ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1125"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1126"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C r o n J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C r o n J o b ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C r o n J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C r o n J o b ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1127"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b ) :   O K   2 0 1   ( C r o n J o b ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1128"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1129"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C r o n J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C r o n J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1130"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b ) :   O K   2 0 1   ( C r o n J o b ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1131"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1132"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C r o n J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C r o n J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1133"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b ) :   O K   2 0 1   ( C r o n J o b ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1134"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1135"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C r o n J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C r o n J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1136"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1137"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1138"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1139"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/",
    "id": "k8s_00063_section_4_1140"
  },
  {
    "question": "What is SelfSubjectReview?",
    "answer": "SelfSubjectReviewSelfSubjectReview contains the user information that the kube-apiserver has about the user making this request.apiVersion: authentication.k8s.io/v1import \"k8s.io/api/authentication/v1\"SelfSubjectReviewSelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.apiVersion: authentication.k8s.io/v1kind: SelfSubjectReviewmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatastatus (SelfSubjectReviewStatus)Status is filled in by the server with the user attributes.SelfSubjectReviewStatusSelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.userInfo (UserInfo)User attributes of the user making this request.UserInfo holds the information about the user needed to implement the user.Info interface.userInfo.extra (map[string][]string)Any additional information provided by the authenticator.userInfo.groups ([]string)Atomic: will be replaced during a mergeThe names of groups this user is a part of.userInfo.uid (string)A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.userInfo.username (string)The name that uniquely identifies this user among all active users.Operationscreate create a SelfSubjectReviewHTTP RequestPOST /apis/authentication.k8s.io/v1/selfsubjectreviewsParametersbody: SelfSubjectReview, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (SelfSubjectReview): OK201 (SelfSubjectReview): Created202 (SelfSubjectReview): Accepted401: UnauthorizedThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/self-subject-review-v1/",
    "id": "k8s_00064_qa_1141"
  },
  {
    "question": "How does SelfSubjectReview work?",
    "answer": "SelfSubjectReviewSelfSubjectReview contains the user information that the kube-apiserver has about the user making this request.apiVersion: authentication.k8s.io/v1import \"k8s.io/api/authentication/v1\"SelfSubjectReviewSelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.apiVersion: authentication.k8s.io/v1kind: SelfSubjectReviewmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatastatus (SelfSubjectReviewStatus)Status is filled in by the server with the user attributes.SelfSubjectReviewStatusSelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.userInfo (UserInfo)User attributes of the user making this request.UserInfo holds the information about the user needed to implement the user.Info interface.userInfo.extra (map[string][]string)Any additional information provided by the authenticator.userInfo.groups ([]string)Atomic: will be replaced during a mergeThe names of groups this user is a part of.userInfo.uid (string)A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.userInfo.username (string)The name that uniquely identifies this user among all active users.Operationscreate create a SelfSubjectReviewHTTP RequestPOST /apis/authentication.k8s.io/v1/selfsubjectreviewsParametersbody: SelfSubjectReview, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (SelfSubjectReview): OK201 (SelfSubjectReview): Created202 (SelfSubjectReview): Accepted401: UnauthorizedThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/self-subject-review-v1/",
    "id": "k8s_00064_qa_1142"
  },
  {
    "question": "When would you use SelfSubjectReview?",
    "answer": "SelfSubjectReviewSelfSubjectReview contains the user information that the kube-apiserver has about the user making this request.apiVersion: authentication.k8s.io/v1import \"k8s.io/api/authentication/v1\"SelfSubjectReviewSelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.apiVersion: authentication.k8s.io/v1kind: SelfSubjectReviewmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatastatus (SelfSubjectReviewStatus)Status is filled in by the server with the user attributes.SelfSubjectReviewStatusSelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.userInfo (UserInfo)User attributes of the user making this request.UserInfo holds the information about the user needed to implement the user.Info interface.userInfo.extra (map[string][]string)Any additional information provided by the authenticator.userInfo.groups ([]string)Atomic: will be replaced during a mergeThe names of groups this user is a part of.userInfo.uid (string)A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.userInfo.username (string)The name that uniquely identifies this user among all active users.Operationscreate create a SelfSubjectReviewHTTP RequestPOST /apis/authentication.k8s.io/v1/selfsubjectreviewsParametersbody: SelfSubjectReview, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (SelfSubjectReview): OK201 (SelfSubjectReview): Created202 (SelfSubjectReview): Accepted401: UnauthorizedThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/self-subject-review-v1/",
    "id": "k8s_00064_qa_1143"
  },
  {
    "question": "What are the benefits of SelfSubjectReview?",
    "answer": "SelfSubjectReviewSelfSubjectReview contains the user information that the kube-apiserver has about the user making this request.apiVersion: authentication.k8s.io/v1import \"k8s.io/api/authentication/v1\"SelfSubjectReviewSelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.apiVersion: authentication.k8s.io/v1kind: SelfSubjectReviewmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatastatus (SelfSubjectReviewStatus)Status is filled in by the server with the user attributes.SelfSubjectReviewStatusSelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.userInfo (UserInfo)User attributes of the user making this request.UserInfo holds the information about the user needed to implement the user.Info interface.userInfo.extra (map[string][]string)Any additional information provided by the authenticator.userInfo.groups ([]string)Atomic: will be replaced during a mergeThe names of groups this user is a part of.userInfo.uid (string)A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.userInfo.username (string)The name that uniquely identifies this user among all active users.Operationscreate create a SelfSubjectReviewHTTP RequestPOST /apis/authentication.k8s.io/v1/selfsubjectreviewsParametersbody: SelfSubjectReview, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (SelfSubjectReview): OK201 (SelfSubjectReview): Created202 (SelfSubjectReview): Accepted401: UnauthorizedThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/self-subject-review-v1/",
    "id": "k8s_00064_qa_1144"
  },
  {
    "question": "What is SelfSubjectReview?",
    "answer": "a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a u t h e n t i c a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/self-subject-review-v1/",
    "id": "k8s_00064_section_1_1145"
  },
  {
    "question": "What is SelfSubjectReview?",
    "answer": "S e l f S u b j e c t R e v i e w   c o n t a i n s   t h e   u s e r   i n f o r m a t i o n   t h a t   t h e   k u b e - a p i s e r v e r   h a s   a b o u t   t h e   u s e r   m a k i n g   t h i s   r e q u e s t .   W h e n   u s i n g   i m p e r s o n a t i o n ,   u s e r s   w i l l   r e c e i v e   t h e   u s e r   i n f o   o f   t h e   u s e r   b e i n g   i m p e r s o n a t e d .   I f   i m p e r s o n a t i o n   o r   r e q u e s t   h e a d e r   a u t h e n t i c a t i o n   i s   u s e d ,   a n y   e x t r a   k e y s   w i l l   h a v e   t h e i r   c a s e   i g n o r e d   a n d   r e t u r n e d   a s   l o w e r c a s e .   a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1 k i n d :   S e l f S u b j e c t R e v i e w m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s t a t u s   ( S e l f S u b j e c t R e v i e w S t a t u s ) S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   w i t h   t h e   u s e r   a t t r i b u t e s .   a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1   k i n d :   S e l f S u b j e c t R e v i e w   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s t a t u s   ( S e l f S u b j e c t R e v i e w S t a t u s )   S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   w i t h   t h e   u s e r   a t t r i b u t e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/self-subject-review-v1/",
    "id": "k8s_00064_section_2_1146"
  },
  {
    "question": "What is SelfSubjectReviewStatus?",
    "answer": "S e l f S u b j e c t R e v i e w S t a t u s   i s   f i l l e d   b y   t h e   k u b e - a p i s e r v e r   a n d   s e n t   b a c k   t o   a   u s e r .   u s e r I n f o   ( U s e r I n f o ) U s e r   a t t r i b u t e s   o f   t h e   u s e r   m a k i n g   t h i s   r e q u e s t . U s e r I n f o   h o l d s   t h e   i n f o r m a t i o n   a b o u t   t h e   u s e r   n e e d e d   t o   i m p l e m e n t   t h e   u s e r . I n f o   i n t e r f a c e . u s e r I n f o . e x t r a   ( m a p [ s t r i n g ] [ ] s t r i n g ) A n y   a d d i t i o n a l   i n f o r m a t i o n   p r o v i d e d   b y   t h e   a u t h e n t i c a t o r . u s e r I n f o . g r o u p s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e T h e   n a m e s   o f   g r o u p s   t h i s   u s e r   i s   a   p a r t   o f . u s e r I n f o . u i d   ( s t r i n g ) A   u n i q u e   v a l u e   t h a t   i d e n t i f i e s   t h i s   u s e r   a c r o s s   t i m e .   I f   t h i s   u s e r   i s   d e l e t e d   a n d   a n o t h e r   u s e r   b y   t h e   s a m e   n a m e   i s   a d d e d ,   t h e y   w i l l   h a v e   d i f f e r e n t   U I D s . u s e r I n f o . u s e r n a m e   ( s t r i n g ) T h e   n a m e   t h a t   u n i q u e l y   i d e n t i f i e s   t h i s   u s e r   a m o n g   a l l   a c t i v e   u s e r s .   u s e r I n f o   ( U s e r I n f o )   U s e r   a t t r i b u t e s   o f   t h e   u s e r   m a k i n g   t h i s   r e q u e s t .   U s e r I n f o   h o l d s   t h e   i n f o r m a t i o n   a b o u t   t h e   u s e r   n e e d e d   t o   i m p l e m e n t   t h e   u s e r . I n f o   i n t e r f a c e .   u s e r I n f o . e x t r a   ( m a p [ s t r i n g ] [ ] s t r i n g ) A n y   a d d i t i o n a l   i n f o r m a t i o n   p r o v i d e d   b y   t h e   a u t h e n t i c a t o r . u s e r I n f o . g r o u p s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/self-subject-review-v1/",
    "id": "k8s_00064_section_2_1147"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t h e n t i c a t i o n . k 8 s . i o / v 1 / s e l f s u b j e c t r e v i e w s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/self-subject-review-v1/",
    "id": "k8s_00064_section_4_1148"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   S e l f S u b j e c t R e v i e w ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   S e l f S u b j e c t R e v i e w ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/self-subject-review-v1/",
    "id": "k8s_00064_section_4_1149"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e l f S u b j e c t R e v i e w ) :   O K   2 0 1   ( S e l f S u b j e c t R e v i e w ) :   C r e a t e d   2 0 2   ( S e l f S u b j e c t R e v i e w ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/self-subject-review-v1/",
    "id": "k8s_00064_section_4_1150"
  },
  {
    "question": "What is Feature Gates (removed)?",
    "answer": "Feature Gates (removed)This page contains list of feature gates that have been removed. The information on this page is for reference. A removed feature gate is different from a GA'ed or deprecated one in that a removed one is no longer recognized as a valid feature gate. However, a GA'ed or a deprecated feature gate is still recognized by the corresponding Kubernetes components although they are unable to cause any behavior differences in a cluster.For feature gates that are still recognized by the Kubernetes components, please refer to the Alpha/Beta feature gate table or the Graduated/Deprecated feature gate tableFeature gates that are removedIn the following table:The \"From\" column contains the Kubernetes release when a feature is introduced or its release stage is changed.The \"To\" column, if not empty, contains the last Kubernetes release in which you can still use a feature gate. If the feature stage is either \"Deprecated\" or \"GA\", the \"To\" column is the Kubernetes release when the feature is removed.Feature Gates RemovedFeatureDefaultStageFromToAcceleratorsfalseAlpha1.61.10Accelerators–Deprecated1.111.11AdmissionWebhookMatchConditionsfalseAlpha1.271.27AdmissionWebhookMatchConditionstrueBeta1.281.29AdmissionWebhookMatchConditionstrueGA1.301.32AdvancedAuditingfalseAlpha1.71.7AdvancedAuditingtrueBeta1.81.11AdvancedAuditingtrueGA1.121.27AffinityInAnnotationsfalseAlpha1.61.7AffinityInAnnotations–Deprecated1.81.8AggregatedDiscoveryEndpointfalseAlpha1.261.26AggregatedDiscoveryEndpointtrueBeta1.271.29AggregatedDiscoveryEndpointtrueGA1.301.32AllowExtTrafficLocalEndpointsfalseBeta1.41.6AllowExtTrafficLocalEndpointstrueGA1.71.9AllowInsecureBackendProxytrueBeta1.171.20AllowInsecureBackendProxytrueGA1.211.25APIListChunkingfalseAlpha1.81.8APIListChunkingtrueBeta1.91.28APIListChunkingtrueGA1.291.32APIPriorityAndFairnessfalseAlpha1.181.19APIPriorityAndFairnesstrueBeta1.201.28APIPriorityAndFairnesstrueGA1.291.30APISelfSubjectReviewfalseAlpha1.261.26APISelfSubjectReviewtrueBeta1.271.27APISelfSubjectReviewtrueGA1.281.29AppArmortrueBeta1.41.30AppArmortrueGA1.311.32AppArmorFieldstrueBeta1.301.30AppArmorFieldstrueGA1.311.32AttachVolumeLimitfalseAlpha1.111.11AttachVolumeLimittrueBeta1.121.16AttachVolumeLimittrueGA1.171.21BalanceAttachedNodeVolumesfalseAlpha1.111.21BalanceAttachedNodeVolumesfalseDeprecated1.221.22BlockVolumefalseAlpha1.91.12BlockVolumetrueBeta1.131.17BlockVolumetrueGA1.181.21BoundServiceAccountTokenVolumefalseAlpha1.131.20BoundServiceAccountTokenVolumetrueBeta1.211.21BoundServiceAccountTokenVolumetrueGA1.221.23CloudDualStackNodeIPsfalseAlpha1.271.28CloudDualStackNodeIPstrueBeta1.291.29CloudDualStackNodeIPstrueGA1.301.31ConfigurableFSGroupPolicyfalseAlpha1.181.19ConfigurableFSGroupPolicytrueBeta1.201.22ConfigurableFSGroupPolicytrueGA1.231.25ConsistentHTTPGetHandlerstrueGA1.251.30ControllerManagerLeaderMigrationfalseAlpha1.211.21ControllerManagerLeaderMigrationtrueBeta1.221.23ControllerManagerLeaderMigrationtrueGA1.241.26CPUManagerfalseAlpha1.81.9C",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates-removed/",
    "id": "k8s_00065_qa_1151"
  },
  {
    "question": "How does Feature Gates (removed) work?",
    "answer": "Feature Gates (removed)This page contains list of feature gates that have been removed. The information on this page is for reference. A removed feature gate is different from a GA'ed or deprecated one in that a removed one is no longer recognized as a valid feature gate. However, a GA'ed or a deprecated feature gate is still recognized by the corresponding Kubernetes components although they are unable to cause any behavior differences in a cluster.For feature gates that are still recognized by the Kubernetes components, please refer to the Alpha/Beta feature gate table or the Graduated/Deprecated feature gate tableFeature gates that are removedIn the following table:The \"From\" column contains the Kubernetes release when a feature is introduced or its release stage is changed.The \"To\" column, if not empty, contains the last Kubernetes release in which you can still use a feature gate. If the feature stage is either \"Deprecated\" or \"GA\", the \"To\" column is the Kubernetes release when the feature is removed.Feature Gates RemovedFeatureDefaultStageFromToAcceleratorsfalseAlpha1.61.10Accelerators–Deprecated1.111.11AdmissionWebhookMatchConditionsfalseAlpha1.271.27AdmissionWebhookMatchConditionstrueBeta1.281.29AdmissionWebhookMatchConditionstrueGA1.301.32AdvancedAuditingfalseAlpha1.71.7AdvancedAuditingtrueBeta1.81.11AdvancedAuditingtrueGA1.121.27AffinityInAnnotationsfalseAlpha1.61.7AffinityInAnnotations–Deprecated1.81.8AggregatedDiscoveryEndpointfalseAlpha1.261.26AggregatedDiscoveryEndpointtrueBeta1.271.29AggregatedDiscoveryEndpointtrueGA1.301.32AllowExtTrafficLocalEndpointsfalseBeta1.41.6AllowExtTrafficLocalEndpointstrueGA1.71.9AllowInsecureBackendProxytrueBeta1.171.20AllowInsecureBackendProxytrueGA1.211.25APIListChunkingfalseAlpha1.81.8APIListChunkingtrueBeta1.91.28APIListChunkingtrueGA1.291.32APIPriorityAndFairnessfalseAlpha1.181.19APIPriorityAndFairnesstrueBeta1.201.28APIPriorityAndFairnesstrueGA1.291.30APISelfSubjectReviewfalseAlpha1.261.26APISelfSubjectReviewtrueBeta1.271.27APISelfSubjectReviewtrueGA1.281.29AppArmortrueBeta1.41.30AppArmortrueGA1.311.32AppArmorFieldstrueBeta1.301.30AppArmorFieldstrueGA1.311.32AttachVolumeLimitfalseAlpha1.111.11AttachVolumeLimittrueBeta1.121.16AttachVolumeLimittrueGA1.171.21BalanceAttachedNodeVolumesfalseAlpha1.111.21BalanceAttachedNodeVolumesfalseDeprecated1.221.22BlockVolumefalseAlpha1.91.12BlockVolumetrueBeta1.131.17BlockVolumetrueGA1.181.21BoundServiceAccountTokenVolumefalseAlpha1.131.20BoundServiceAccountTokenVolumetrueBeta1.211.21BoundServiceAccountTokenVolumetrueGA1.221.23CloudDualStackNodeIPsfalseAlpha1.271.28CloudDualStackNodeIPstrueBeta1.291.29CloudDualStackNodeIPstrueGA1.301.31ConfigurableFSGroupPolicyfalseAlpha1.181.19ConfigurableFSGroupPolicytrueBeta1.201.22ConfigurableFSGroupPolicytrueGA1.231.25ConsistentHTTPGetHandlerstrueGA1.251.30ControllerManagerLeaderMigrationfalseAlpha1.211.21ControllerManagerLeaderMigrationtrueBeta1.221.23ControllerManagerLeaderMigrationtrueGA1.241.26CPUManagerfalseAlpha1.81.9C",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates-removed/",
    "id": "k8s_00065_qa_1152"
  },
  {
    "question": "When would you use Feature Gates (removed)?",
    "answer": "Feature Gates (removed)This page contains list of feature gates that have been removed. The information on this page is for reference. A removed feature gate is different from a GA'ed or deprecated one in that a removed one is no longer recognized as a valid feature gate. However, a GA'ed or a deprecated feature gate is still recognized by the corresponding Kubernetes components although they are unable to cause any behavior differences in a cluster.For feature gates that are still recognized by the Kubernetes components, please refer to the Alpha/Beta feature gate table or the Graduated/Deprecated feature gate tableFeature gates that are removedIn the following table:The \"From\" column contains the Kubernetes release when a feature is introduced or its release stage is changed.The \"To\" column, if not empty, contains the last Kubernetes release in which you can still use a feature gate. If the feature stage is either \"Deprecated\" or \"GA\", the \"To\" column is the Kubernetes release when the feature is removed.Feature Gates RemovedFeatureDefaultStageFromToAcceleratorsfalseAlpha1.61.10Accelerators–Deprecated1.111.11AdmissionWebhookMatchConditionsfalseAlpha1.271.27AdmissionWebhookMatchConditionstrueBeta1.281.29AdmissionWebhookMatchConditionstrueGA1.301.32AdvancedAuditingfalseAlpha1.71.7AdvancedAuditingtrueBeta1.81.11AdvancedAuditingtrueGA1.121.27AffinityInAnnotationsfalseAlpha1.61.7AffinityInAnnotations–Deprecated1.81.8AggregatedDiscoveryEndpointfalseAlpha1.261.26AggregatedDiscoveryEndpointtrueBeta1.271.29AggregatedDiscoveryEndpointtrueGA1.301.32AllowExtTrafficLocalEndpointsfalseBeta1.41.6AllowExtTrafficLocalEndpointstrueGA1.71.9AllowInsecureBackendProxytrueBeta1.171.20AllowInsecureBackendProxytrueGA1.211.25APIListChunkingfalseAlpha1.81.8APIListChunkingtrueBeta1.91.28APIListChunkingtrueGA1.291.32APIPriorityAndFairnessfalseAlpha1.181.19APIPriorityAndFairnesstrueBeta1.201.28APIPriorityAndFairnesstrueGA1.291.30APISelfSubjectReviewfalseAlpha1.261.26APISelfSubjectReviewtrueBeta1.271.27APISelfSubjectReviewtrueGA1.281.29AppArmortrueBeta1.41.30AppArmortrueGA1.311.32AppArmorFieldstrueBeta1.301.30AppArmorFieldstrueGA1.311.32AttachVolumeLimitfalseAlpha1.111.11AttachVolumeLimittrueBeta1.121.16AttachVolumeLimittrueGA1.171.21BalanceAttachedNodeVolumesfalseAlpha1.111.21BalanceAttachedNodeVolumesfalseDeprecated1.221.22BlockVolumefalseAlpha1.91.12BlockVolumetrueBeta1.131.17BlockVolumetrueGA1.181.21BoundServiceAccountTokenVolumefalseAlpha1.131.20BoundServiceAccountTokenVolumetrueBeta1.211.21BoundServiceAccountTokenVolumetrueGA1.221.23CloudDualStackNodeIPsfalseAlpha1.271.28CloudDualStackNodeIPstrueBeta1.291.29CloudDualStackNodeIPstrueGA1.301.31ConfigurableFSGroupPolicyfalseAlpha1.181.19ConfigurableFSGroupPolicytrueBeta1.201.22ConfigurableFSGroupPolicytrueGA1.231.25ConsistentHTTPGetHandlerstrueGA1.251.30ControllerManagerLeaderMigrationfalseAlpha1.211.21ControllerManagerLeaderMigrationtrueBeta1.221.23ControllerManagerLeaderMigrationtrueGA1.241.26CPUManagerfalseAlpha1.81.9C",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates-removed/",
    "id": "k8s_00065_qa_1153"
  },
  {
    "question": "What are the benefits of Feature Gates (removed)?",
    "answer": "Feature Gates (removed)This page contains list of feature gates that have been removed. The information on this page is for reference. A removed feature gate is different from a GA'ed or deprecated one in that a removed one is no longer recognized as a valid feature gate. However, a GA'ed or a deprecated feature gate is still recognized by the corresponding Kubernetes components although they are unable to cause any behavior differences in a cluster.For feature gates that are still recognized by the Kubernetes components, please refer to the Alpha/Beta feature gate table or the Graduated/Deprecated feature gate tableFeature gates that are removedIn the following table:The \"From\" column contains the Kubernetes release when a feature is introduced or its release stage is changed.The \"To\" column, if not empty, contains the last Kubernetes release in which you can still use a feature gate. If the feature stage is either \"Deprecated\" or \"GA\", the \"To\" column is the Kubernetes release when the feature is removed.Feature Gates RemovedFeatureDefaultStageFromToAcceleratorsfalseAlpha1.61.10Accelerators–Deprecated1.111.11AdmissionWebhookMatchConditionsfalseAlpha1.271.27AdmissionWebhookMatchConditionstrueBeta1.281.29AdmissionWebhookMatchConditionstrueGA1.301.32AdvancedAuditingfalseAlpha1.71.7AdvancedAuditingtrueBeta1.81.11AdvancedAuditingtrueGA1.121.27AffinityInAnnotationsfalseAlpha1.61.7AffinityInAnnotations–Deprecated1.81.8AggregatedDiscoveryEndpointfalseAlpha1.261.26AggregatedDiscoveryEndpointtrueBeta1.271.29AggregatedDiscoveryEndpointtrueGA1.301.32AllowExtTrafficLocalEndpointsfalseBeta1.41.6AllowExtTrafficLocalEndpointstrueGA1.71.9AllowInsecureBackendProxytrueBeta1.171.20AllowInsecureBackendProxytrueGA1.211.25APIListChunkingfalseAlpha1.81.8APIListChunkingtrueBeta1.91.28APIListChunkingtrueGA1.291.32APIPriorityAndFairnessfalseAlpha1.181.19APIPriorityAndFairnesstrueBeta1.201.28APIPriorityAndFairnesstrueGA1.291.30APISelfSubjectReviewfalseAlpha1.261.26APISelfSubjectReviewtrueBeta1.271.27APISelfSubjectReviewtrueGA1.281.29AppArmortrueBeta1.41.30AppArmortrueGA1.311.32AppArmorFieldstrueBeta1.301.30AppArmorFieldstrueGA1.311.32AttachVolumeLimitfalseAlpha1.111.11AttachVolumeLimittrueBeta1.121.16AttachVolumeLimittrueGA1.171.21BalanceAttachedNodeVolumesfalseAlpha1.111.21BalanceAttachedNodeVolumesfalseDeprecated1.221.22BlockVolumefalseAlpha1.91.12BlockVolumetrueBeta1.131.17BlockVolumetrueGA1.181.21BoundServiceAccountTokenVolumefalseAlpha1.131.20BoundServiceAccountTokenVolumetrueBeta1.211.21BoundServiceAccountTokenVolumetrueGA1.221.23CloudDualStackNodeIPsfalseAlpha1.271.28CloudDualStackNodeIPstrueBeta1.291.29CloudDualStackNodeIPstrueGA1.301.31ConfigurableFSGroupPolicyfalseAlpha1.181.19ConfigurableFSGroupPolicytrueBeta1.201.22ConfigurableFSGroupPolicytrueGA1.231.25ConsistentHTTPGetHandlerstrueGA1.251.30ControllerManagerLeaderMigrationfalseAlpha1.211.21ControllerManagerLeaderMigrationtrueBeta1.221.23ControllerManagerLeaderMigrationtrueGA1.241.26CPUManagerfalseAlpha1.81.9C",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates-removed/",
    "id": "k8s_00065_qa_1154"
  },
  {
    "question": "What is Feature Gates (removed)?",
    "answer": "T h i s   p a g e   c o n t a i n s   l i s t   o f   f e a t u r e   g a t e s   t h a t   h a v e   b e e n   r e m o v e d .   T h e   i n f o r m a t i o n   o n   t h i s   p a g e   i s   f o r   r e f e r e n c e .   A   r e m o v e d   f e a t u r e   g a t e   i s   d i f f e r e n t   f r o m   a   G A ' e d   o r   d e p r e c a t e d   o n e   i n   t h a t   a   r e m o v e d   o n e   i s   n o   l o n g e r   r e c o g n i z e d   a s   a   v a l i d   f e a t u r e   g a t e .   H o w e v e r ,   a   G A ' e d   o r   a   d e p r e c a t e d   f e a t u r e   g a t e   i s   s t i l l   r e c o g n i z e d   b y   t h e   c o r r e s p o n d i n g   K u b e r n e t e s   c o m p o n e n t s   a l t h o u g h   t h e y   a r e   u n a b l e   t o   c a u s e   a n y   b e h a v i o r   d i f f e r e n c e s   i n   a   c l u s t e r .   F o r   f e a t u r e   g a t e s   t h a t   a r e   s t i l l   r e c o g n i z e d   b y   t h e   K u b e r n e t e s   c o m p o n e n t s ,   p l e a s e   r e f e r   t o   t h e   A l p h a / B e t a   f e a t u r e   g a t e   t a b l e   o r   t h e   G r a d u a t e d / D e p r e c a t e d   f e a t u r e   g a t e   t a b l e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates-removed/",
    "id": "k8s_00065_section_1_1155"
  },
  {
    "question": "What is Feature gates that are removed?",
    "answer": "I n   t h e   f o l l o w i n g   t a b l e :   T h e   \" F r o m \"   c o l u m n   c o n t a i n s   t h e   K u b e r n e t e s   r e l e a s e   w h e n   a   f e a t u r e   i s   i n t r o d u c e d   o r   i t s   r e l e a s e   s t a g e   i s   c h a n g e d . T h e   \" T o \"   c o l u m n ,   i f   n o t   e m p t y ,   c o n t a i n s   t h e   l a s t   K u b e r n e t e s   r e l e a s e   i n   w h i c h   y o u   c a n   s t i l l   u s e   a   f e a t u r e   g a t e .   I f   t h e   f e a t u r e   s t a g e   i s   e i t h e r   \" D e p r e c a t e d \"   o r   \" G A \" ,   t h e   \" T o \"   c o l u m n   i s   t h e   K u b e r n e t e s   r e l e a s e   w h e n   t h e   f e a t u r e   i s   r e m o v e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates-removed/",
    "id": "k8s_00065_section_3_1156"
  },
  {
    "question": "What is Descriptions for removed feature gates?",
    "answer": "A c c e l e r a t o r s :   P r o v i d e d   a n   e a r l y   f o r m   o f   p l u g i n   t o   e n a b l e   N v i d i a   G P U   s u p p o r t   w h e n   u s i n g   D o c k e r   E n g i n e ;   n o   l o n g e r   a v a i l a b l e .   S e e   D e v i c e   P l u g i n s   f o r   a n   a l t e r n a t i v e . A d m i s s i o n W e b h o o k M a t c h C o n d i t i o n s :   E n a b l e   m a t c h   c o n d i t i o n s   o n   m u t a t i n g   &   v a l i d a t i n g   a d m i s s i o n   w e b h o o k s . A d v a n c e d A u d i t i n g :   E n a b l e   a d v a n c e d   a u d i t i n g A f f i n i t y I n A n n o t a t i o n s :   E n a b l e   s e t t i n g   P o d   a f f i n i t y   o r   a n t i - a f f i n i t y . A g g r e g a t e d D i s c o v e r y E n d p o i n t :   E n a b l e   a   s i n g l e   H T T P   e n d p o i n t   / d i s c o v e r y / < v e r s i o n >   w h i c h   s u p p o r t s   n a t i v e   H T T P   c a c h i n g   w i t h   E T a g s   c o n t a i n i n g   a l l   A P I R e s o u r c e s   k n o w n   t o   t h e   A P I   s e r v e r . A l l o w E x t T r a f f i c L o c a l E n d p o i n t s :   E n a b l e   a   s e r v i c e   t o   r o u t e   e x t e r n a l   r e q u e s t s   t o   n o d e   l o c a l   e n d p o i n t s . A l l o w I n s e c u r e B a c k e n d P r o x y :   E n a b l e   t h e   u s e r s   t o   s k i p   T L S   v e r i f i c a t i o n   o f   k u b e l e t s   o n   P o d   l o g   r e q u e s t s . A P I L i s t C h u n k i n g :   E n a b l e   t h e   A P I   c l i e n t s   t o   r e t r i e v e   ( L I S T   o r   G E T )   r e s o u r c e s   f r o m   A P I   s e r v e r   i n   c h u n k s . A P I P r i o r i t y A n d F a i r n e s s :   E n a b l e   m a n a g i n g   r e q u e s t   c o n c u r r e n c y   w i t h   p r i o r i t i z a t i o n   a n d   f a i r n e s s   a t   e a c h   s e r v e r .   ( R e n a m e d   f r o m   R e q u e s t M a n a g e m e n t ) A P I S e l f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates-removed/",
    "id": "k8s_00065_section_2_1157"
  },
  {
    "question": "What is kubectl completion?",
    "answer": "kubectl completionSynopsisOutput shell completion code for the specified shell (bash, zsh, fish, or powershell). The shell code must be evaluated to provide interactive completion of kubectl commands. This can be done by sourcing it from the .bash_profile.Detailed instructions on how to do this are available here: for macOS: https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/#enable-shell-autocompletion for linux: https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#enable-shell-autocompletion for windows: https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/#enable-shell-autocompletion Note for zsh users: [1] zsh completions are only supported in versions of zsh >= 5.2.kubectl completion SHELL Examples # Installing bash completion on macOS using homebrew ## If running Bash 3.2 included with macOS brew install bash-completion ## or, if running Bash 4.1+ brew install bash-completion@2 ## If kubectl is installed via homebrew, this should start working immediately ## If you've installed via other means, you may need add the completion to your completion directory kubectl completion bash > $(brew --prefix)/etc/bash_completion.d/kubectl # Installing bash completion on Linux ## If bash-completion is not installed on Linux, install the 'bash-completion' package ## via your distribution's package manager. ## Load the kubectl completion code for bash into the current shell source <(kubectl completion bash) ## Write bash completion code to a file and source it from .bash_profile kubectl completion bash > ~/.kube/completion.bash.inc printf \" # kubectl shell completion source '$HOME/.kube/completion.bash.inc' \" >> $HOME/.bash_profile source $HOME/.bash_profile # Load the kubectl completion code for zsh[1] into the current shell source <(kubectl completion zsh) # Set the kubectl completion code for zsh[1] to autoload on startup kubectl completion zsh > \"${fpath[1]}/_kubectl\" # Load the kubectl completion code for fish[2] into the current shell kubectl completion fish | source # To load completions for each session, execute once: kubectl completion fish > ~/.config/fish/completions/kubectl.fish # Load the kubectl completion code for powershell into the current shell kubectl completion powershell | Out-String | Invoke-Expression # Set kubectl completion code for powershell to run on startup ## Save completion code to a script and execute in the profile kubectl completion powershell > $HOME\\.kube\\completion.ps1 Add-Content $PROFILE \"$HOME\\.kube\\completion.ps1\" ## Execute completion code in the profile Add-Content $PROFILE \"if (Get-Command kubectl -ErrorAction SilentlyContinue) { kubectl completion powershell | Out-String | Invoke-Expression }\" ## Add completion code directly to the $PROFILE script kubectl completion powershell >> $PROFILE Options-h, --helphelp for completionParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsG",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_completion/",
    "id": "k8s_00066_qa_1158"
  },
  {
    "question": "How does kubectl completion work?",
    "answer": "kubectl completionSynopsisOutput shell completion code for the specified shell (bash, zsh, fish, or powershell). The shell code must be evaluated to provide interactive completion of kubectl commands. This can be done by sourcing it from the .bash_profile.Detailed instructions on how to do this are available here: for macOS: https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/#enable-shell-autocompletion for linux: https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#enable-shell-autocompletion for windows: https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/#enable-shell-autocompletion Note for zsh users: [1] zsh completions are only supported in versions of zsh >= 5.2.kubectl completion SHELL Examples # Installing bash completion on macOS using homebrew ## If running Bash 3.2 included with macOS brew install bash-completion ## or, if running Bash 4.1+ brew install bash-completion@2 ## If kubectl is installed via homebrew, this should start working immediately ## If you've installed via other means, you may need add the completion to your completion directory kubectl completion bash > $(brew --prefix)/etc/bash_completion.d/kubectl # Installing bash completion on Linux ## If bash-completion is not installed on Linux, install the 'bash-completion' package ## via your distribution's package manager. ## Load the kubectl completion code for bash into the current shell source <(kubectl completion bash) ## Write bash completion code to a file and source it from .bash_profile kubectl completion bash > ~/.kube/completion.bash.inc printf \" # kubectl shell completion source '$HOME/.kube/completion.bash.inc' \" >> $HOME/.bash_profile source $HOME/.bash_profile # Load the kubectl completion code for zsh[1] into the current shell source <(kubectl completion zsh) # Set the kubectl completion code for zsh[1] to autoload on startup kubectl completion zsh > \"${fpath[1]}/_kubectl\" # Load the kubectl completion code for fish[2] into the current shell kubectl completion fish | source # To load completions for each session, execute once: kubectl completion fish > ~/.config/fish/completions/kubectl.fish # Load the kubectl completion code for powershell into the current shell kubectl completion powershell | Out-String | Invoke-Expression # Set kubectl completion code for powershell to run on startup ## Save completion code to a script and execute in the profile kubectl completion powershell > $HOME\\.kube\\completion.ps1 Add-Content $PROFILE \"$HOME\\.kube\\completion.ps1\" ## Execute completion code in the profile Add-Content $PROFILE \"if (Get-Command kubectl -ErrorAction SilentlyContinue) { kubectl completion powershell | Out-String | Invoke-Expression }\" ## Add completion code directly to the $PROFILE script kubectl completion powershell >> $PROFILE Options-h, --helphelp for completionParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsG",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_completion/",
    "id": "k8s_00066_qa_1159"
  },
  {
    "question": "When would you use kubectl completion?",
    "answer": "kubectl completionSynopsisOutput shell completion code for the specified shell (bash, zsh, fish, or powershell). The shell code must be evaluated to provide interactive completion of kubectl commands. This can be done by sourcing it from the .bash_profile.Detailed instructions on how to do this are available here: for macOS: https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/#enable-shell-autocompletion for linux: https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#enable-shell-autocompletion for windows: https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/#enable-shell-autocompletion Note for zsh users: [1] zsh completions are only supported in versions of zsh >= 5.2.kubectl completion SHELL Examples # Installing bash completion on macOS using homebrew ## If running Bash 3.2 included with macOS brew install bash-completion ## or, if running Bash 4.1+ brew install bash-completion@2 ## If kubectl is installed via homebrew, this should start working immediately ## If you've installed via other means, you may need add the completion to your completion directory kubectl completion bash > $(brew --prefix)/etc/bash_completion.d/kubectl # Installing bash completion on Linux ## If bash-completion is not installed on Linux, install the 'bash-completion' package ## via your distribution's package manager. ## Load the kubectl completion code for bash into the current shell source <(kubectl completion bash) ## Write bash completion code to a file and source it from .bash_profile kubectl completion bash > ~/.kube/completion.bash.inc printf \" # kubectl shell completion source '$HOME/.kube/completion.bash.inc' \" >> $HOME/.bash_profile source $HOME/.bash_profile # Load the kubectl completion code for zsh[1] into the current shell source <(kubectl completion zsh) # Set the kubectl completion code for zsh[1] to autoload on startup kubectl completion zsh > \"${fpath[1]}/_kubectl\" # Load the kubectl completion code for fish[2] into the current shell kubectl completion fish | source # To load completions for each session, execute once: kubectl completion fish > ~/.config/fish/completions/kubectl.fish # Load the kubectl completion code for powershell into the current shell kubectl completion powershell | Out-String | Invoke-Expression # Set kubectl completion code for powershell to run on startup ## Save completion code to a script and execute in the profile kubectl completion powershell > $HOME\\.kube\\completion.ps1 Add-Content $PROFILE \"$HOME\\.kube\\completion.ps1\" ## Execute completion code in the profile Add-Content $PROFILE \"if (Get-Command kubectl -ErrorAction SilentlyContinue) { kubectl completion powershell | Out-String | Invoke-Expression }\" ## Add completion code directly to the $PROFILE script kubectl completion powershell >> $PROFILE Options-h, --helphelp for completionParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsG",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_completion/",
    "id": "k8s_00066_qa_1160"
  },
  {
    "question": "What are the benefits of kubectl completion?",
    "answer": "kubectl completionSynopsisOutput shell completion code for the specified shell (bash, zsh, fish, or powershell). The shell code must be evaluated to provide interactive completion of kubectl commands. This can be done by sourcing it from the .bash_profile.Detailed instructions on how to do this are available here: for macOS: https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/#enable-shell-autocompletion for linux: https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#enable-shell-autocompletion for windows: https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/#enable-shell-autocompletion Note for zsh users: [1] zsh completions are only supported in versions of zsh >= 5.2.kubectl completion SHELL Examples # Installing bash completion on macOS using homebrew ## If running Bash 3.2 included with macOS brew install bash-completion ## or, if running Bash 4.1+ brew install bash-completion@2 ## If kubectl is installed via homebrew, this should start working immediately ## If you've installed via other means, you may need add the completion to your completion directory kubectl completion bash > $(brew --prefix)/etc/bash_completion.d/kubectl # Installing bash completion on Linux ## If bash-completion is not installed on Linux, install the 'bash-completion' package ## via your distribution's package manager. ## Load the kubectl completion code for bash into the current shell source <(kubectl completion bash) ## Write bash completion code to a file and source it from .bash_profile kubectl completion bash > ~/.kube/completion.bash.inc printf \" # kubectl shell completion source '$HOME/.kube/completion.bash.inc' \" >> $HOME/.bash_profile source $HOME/.bash_profile # Load the kubectl completion code for zsh[1] into the current shell source <(kubectl completion zsh) # Set the kubectl completion code for zsh[1] to autoload on startup kubectl completion zsh > \"${fpath[1]}/_kubectl\" # Load the kubectl completion code for fish[2] into the current shell kubectl completion fish | source # To load completions for each session, execute once: kubectl completion fish > ~/.config/fish/completions/kubectl.fish # Load the kubectl completion code for powershell into the current shell kubectl completion powershell | Out-String | Invoke-Expression # Set kubectl completion code for powershell to run on startup ## Save completion code to a script and execute in the profile kubectl completion powershell > $HOME\\.kube\\completion.ps1 Add-Content $PROFILE \"$HOME\\.kube\\completion.ps1\" ## Execute completion code in the profile Add-Content $PROFILE \"if (Get-Command kubectl -ErrorAction SilentlyContinue) { kubectl completion powershell | Out-String | Invoke-Expression }\" ## Add completion code directly to the $PROFILE script kubectl completion powershell >> $PROFILE Options-h, --helphelp for completionParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsG",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_completion/",
    "id": "k8s_00066_qa_1161"
  },
  {
    "question": "What is Synopsis?",
    "answer": "O u t p u t   s h e l l   c o m p l e t i o n   c o d e   f o r   t h e   s p e c i f i e d   s h e l l   ( b a s h ,   z s h ,   f i s h ,   o r   p o w e r s h e l l ) .   T h e   s h e l l   c o d e   m u s t   b e   e v a l u a t e d   t o   p r o v i d e   i n t e r a c t i v e   c o m p l e t i o n   o f   k u b e c t l   c o m m a n d s .   T h i s   c a n   b e   d o n e   b y   s o u r c i n g   i t   f r o m   t h e   . b a s h _ p r o f i l e .   D e t a i l e d   i n s t r u c t i o n s   o n   h o w   t o   d o   t h i s   a r e   a v a i l a b l e   h e r e :   f o r   m a c O S :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / t o o l s / i n s t a l l - k u b e c t l - m a c o s / # e n a b l e - s h e l l - a u t o c o m p l e t i o n   f o r   l i n u x :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / t o o l s / i n s t a l l - k u b e c t l - l i n u x / # e n a b l e - s h e l l - a u t o c o m p l e t i o n   f o r   w i n d o w s :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / t o o l s / i n s t a l l - k u b e c t l - w i n d o w s / # e n a b l e - s h e l l - a u t o c o m p l e t i o n   N o t e   f o r   z s h   u s e r s :   [ 1 ]   z s h   c o m p l e t i o n s   a r e   o n l y   s u p p o r t e d   i n   v e r s i o n s   o f   z s h   > =   5 . 2 .   k u b e c t l   c o m p l e t i o n   S H E L L",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_completion/",
    "id": "k8s_00066_section_2_1162"
  },
  {
    "question": "What is Examples?",
    "answer": "#   I n s t a l l i n g   b a s h   c o m p l e t i o n   o n   m a c O S   u s i n g   h o m e b r e w   # #   I f   r u n n i n g   B a s h   3 . 2   i n c l u d e d   w i t h   m a c O S   b r e w   i n s t a l l   b a s h - c o m p l e t i o n   # #   o r ,   i f   r u n n i n g   B a s h   4 . 1 +   b r e w   i n s t a l l   b a s h - c o m p l e t i o n @ 2   # #   I f   k u b e c t l   i s   i n s t a l l e d   v i a   h o m e b r e w ,   t h i s   s h o u l d   s t a r t   w o r k i n g   i m m e d i a t e l y   # #   I f   y o u ' v e   i n s t a l l e d   v i a   o t h e r   m e a n s ,   y o u   m a y   n e e d   a d d   t h e   c o m p l e t i o n   t o   y o u r   c o m p l e t i o n   d i r e c t o r y   k u b e c t l   c o m p l e t i o n   b a s h   >   $ ( b r e w   - - p r e f i x ) / e t c / b a s h _ c o m p l e t i o n . d / k u b e c t l   #   I n s t a l l i n g   b a s h   c o m p l e t i o n   o n   L i n u x   # #   I f   b a s h - c o m p l e t i o n   i s   n o t   i n s t a l l e d   o n   L i n u x ,   i n s t a l l   t h e   ' b a s h - c o m p l e t i o n '   p a c k a g e   # #   v i a   y o u r   d i s t r i b u t i o n ' s   p a c k a g e   m a n a g e r .   # #   L o a d   t h e   k u b e c t l   c o m p l e t i o n   c o d e   f o r   b a s h   i n t o   t h e   c u r r e n t   s h e l l   s o u r c e   < ( k u b e c t l   c o m p l e t i o n   b a s h )   # #   W r i t e   b a s h   c o m p l e t i o n   c o d e   t o   a   f i l e   a n d   s o u r c e   i t   f r o m   . b a s h _ p r o f i l e   k u b e c t l   c o m p l e t i o n   b a s h   >   ~ / . k u b e / c o m p l e t i o n . b a s h . i n c   p r i n t f   \"   #   k u b e c t l   s h e l l   c o m p l e t i o n   s o u r c e   ' $ H O M E / . k u b e / c o m p l e t i o n . b a s h . i n c '   \"   > >   $ H O M E / . b a s h _ p r o f i l e   s o u r c e   $ H O M E / . b a s h _ p r o f i l e   #   L o a d   t h e   k u b e c t l   c o m p l e t i o n   c o d e   f ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_completion/",
    "id": "k8s_00066_section_2_1163"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c o m p l e t i o n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_completion/",
    "id": "k8s_00066_section_2_1164"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_completion/",
    "id": "k8s_00066_section_2_1165"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_completion/",
    "id": "k8s_00066_section_2_1166"
  },
  {
    "question": "What is Pod Overhead?",
    "answer": "Pod OverheadFEATURE STATE: Kubernetes v1.24 [stable]When you run a Pod on a Node, the Pod itself takes an amount of system resources. These resources are additional to the resources needed to run the container(s) inside the Pod. In Kubernetes, Pod Overhead is a way to account for the resources consumed by the Pod infrastructure on top of the container requests & limits.In Kubernetes, the Pod's overhead is set at admission time according to the overhead associated with the Pod's RuntimeClass.A pod's overhead is considered in addition to the sum of container resource requests when scheduling a Pod. Similarly, the kubelet will include the Pod overhead when sizing the Pod cgroup, and when carrying out Pod eviction ranking.Configuring Pod overheadYou need to make sure a RuntimeClass is utilized which defines the overhead field.Usage exampleTo work with Pod overhead, you need a RuntimeClass that defines the overhead field. As an example, you could use the following RuntimeClass definition with a virtualization container runtime (in this example, Kata Containers combined with the Firecracker virtual machine monitor) that uses around 120MiB per Pod for the virtual machine and the guest OS:# You need to change this example to match the actual runtime name, and per-Pod # resource overhead, that the container runtime is adding in your cluster. apiVersion: node.k8s.io/v1 kind: RuntimeClass metadata: name: kata-fc handler: kata-fc overhead: podFixed: memory: \"120Mi\" cpu: \"250m\" Workloads which are created which specify the kata-fc RuntimeClass handler will take the memory and cpu overheads into account for resource quota calculations, node scheduling, as well as Pod cgroup sizing.Consider running the given example workload, test-pod:apiVersion: v1 kind: Pod metadata: name: test-pod spec: runtimeClassName: kata-fc containers: - name: busybox-ctr image: busybox:1.28 stdin: true tty: true resources: limits: cpu: 500m memory: 100Mi - name: nginx-ctr image: nginx resources: limits: cpu: 1500m memory: 100Mi Note:If only limits are specified in the pod definition, kubelet will deduce requests from those limits and set them to be the same as the defined limits.At admission time the RuntimeClass admission controller updates the workload's PodSpec to include the overhead as described in the RuntimeClass. If the PodSpec already has this field defined, the Pod will be rejected. In the given example, since only the RuntimeClass name is specified, the admission controller mutates the Pod to include an overhead.After the RuntimeClass admission controller has made modifications, you can check the updated Pod overhead value:kubectl get pod test-pod -o jsonpath='{.spec.overhead}' The output is:map[cpu:250m memory:120Mi] If a ResourceQuota is defined, the sum of container requests as well as the overhead field are counted.When the kube-scheduler is deciding which node should run a new Pod, the scheduler considers that Pod's overhead as well as the sum of container requests for ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/",
    "id": "k8s_00067_qa_1167"
  },
  {
    "question": "How does Pod Overhead work?",
    "answer": "Pod OverheadFEATURE STATE: Kubernetes v1.24 [stable]When you run a Pod on a Node, the Pod itself takes an amount of system resources. These resources are additional to the resources needed to run the container(s) inside the Pod. In Kubernetes, Pod Overhead is a way to account for the resources consumed by the Pod infrastructure on top of the container requests & limits.In Kubernetes, the Pod's overhead is set at admission time according to the overhead associated with the Pod's RuntimeClass.A pod's overhead is considered in addition to the sum of container resource requests when scheduling a Pod. Similarly, the kubelet will include the Pod overhead when sizing the Pod cgroup, and when carrying out Pod eviction ranking.Configuring Pod overheadYou need to make sure a RuntimeClass is utilized which defines the overhead field.Usage exampleTo work with Pod overhead, you need a RuntimeClass that defines the overhead field. As an example, you could use the following RuntimeClass definition with a virtualization container runtime (in this example, Kata Containers combined with the Firecracker virtual machine monitor) that uses around 120MiB per Pod for the virtual machine and the guest OS:# You need to change this example to match the actual runtime name, and per-Pod # resource overhead, that the container runtime is adding in your cluster. apiVersion: node.k8s.io/v1 kind: RuntimeClass metadata: name: kata-fc handler: kata-fc overhead: podFixed: memory: \"120Mi\" cpu: \"250m\" Workloads which are created which specify the kata-fc RuntimeClass handler will take the memory and cpu overheads into account for resource quota calculations, node scheduling, as well as Pod cgroup sizing.Consider running the given example workload, test-pod:apiVersion: v1 kind: Pod metadata: name: test-pod spec: runtimeClassName: kata-fc containers: - name: busybox-ctr image: busybox:1.28 stdin: true tty: true resources: limits: cpu: 500m memory: 100Mi - name: nginx-ctr image: nginx resources: limits: cpu: 1500m memory: 100Mi Note:If only limits are specified in the pod definition, kubelet will deduce requests from those limits and set them to be the same as the defined limits.At admission time the RuntimeClass admission controller updates the workload's PodSpec to include the overhead as described in the RuntimeClass. If the PodSpec already has this field defined, the Pod will be rejected. In the given example, since only the RuntimeClass name is specified, the admission controller mutates the Pod to include an overhead.After the RuntimeClass admission controller has made modifications, you can check the updated Pod overhead value:kubectl get pod test-pod -o jsonpath='{.spec.overhead}' The output is:map[cpu:250m memory:120Mi] If a ResourceQuota is defined, the sum of container requests as well as the overhead field are counted.When the kube-scheduler is deciding which node should run a new Pod, the scheduler considers that Pod's overhead as well as the sum of container requests for ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/",
    "id": "k8s_00067_qa_1168"
  },
  {
    "question": "When would you use Pod Overhead?",
    "answer": "Pod OverheadFEATURE STATE: Kubernetes v1.24 [stable]When you run a Pod on a Node, the Pod itself takes an amount of system resources. These resources are additional to the resources needed to run the container(s) inside the Pod. In Kubernetes, Pod Overhead is a way to account for the resources consumed by the Pod infrastructure on top of the container requests & limits.In Kubernetes, the Pod's overhead is set at admission time according to the overhead associated with the Pod's RuntimeClass.A pod's overhead is considered in addition to the sum of container resource requests when scheduling a Pod. Similarly, the kubelet will include the Pod overhead when sizing the Pod cgroup, and when carrying out Pod eviction ranking.Configuring Pod overheadYou need to make sure a RuntimeClass is utilized which defines the overhead field.Usage exampleTo work with Pod overhead, you need a RuntimeClass that defines the overhead field. As an example, you could use the following RuntimeClass definition with a virtualization container runtime (in this example, Kata Containers combined with the Firecracker virtual machine monitor) that uses around 120MiB per Pod for the virtual machine and the guest OS:# You need to change this example to match the actual runtime name, and per-Pod # resource overhead, that the container runtime is adding in your cluster. apiVersion: node.k8s.io/v1 kind: RuntimeClass metadata: name: kata-fc handler: kata-fc overhead: podFixed: memory: \"120Mi\" cpu: \"250m\" Workloads which are created which specify the kata-fc RuntimeClass handler will take the memory and cpu overheads into account for resource quota calculations, node scheduling, as well as Pod cgroup sizing.Consider running the given example workload, test-pod:apiVersion: v1 kind: Pod metadata: name: test-pod spec: runtimeClassName: kata-fc containers: - name: busybox-ctr image: busybox:1.28 stdin: true tty: true resources: limits: cpu: 500m memory: 100Mi - name: nginx-ctr image: nginx resources: limits: cpu: 1500m memory: 100Mi Note:If only limits are specified in the pod definition, kubelet will deduce requests from those limits and set them to be the same as the defined limits.At admission time the RuntimeClass admission controller updates the workload's PodSpec to include the overhead as described in the RuntimeClass. If the PodSpec already has this field defined, the Pod will be rejected. In the given example, since only the RuntimeClass name is specified, the admission controller mutates the Pod to include an overhead.After the RuntimeClass admission controller has made modifications, you can check the updated Pod overhead value:kubectl get pod test-pod -o jsonpath='{.spec.overhead}' The output is:map[cpu:250m memory:120Mi] If a ResourceQuota is defined, the sum of container requests as well as the overhead field are counted.When the kube-scheduler is deciding which node should run a new Pod, the scheduler considers that Pod's overhead as well as the sum of container requests for ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/",
    "id": "k8s_00067_qa_1169"
  },
  {
    "question": "What are the benefits of Pod Overhead?",
    "answer": "Pod OverheadFEATURE STATE: Kubernetes v1.24 [stable]When you run a Pod on a Node, the Pod itself takes an amount of system resources. These resources are additional to the resources needed to run the container(s) inside the Pod. In Kubernetes, Pod Overhead is a way to account for the resources consumed by the Pod infrastructure on top of the container requests & limits.In Kubernetes, the Pod's overhead is set at admission time according to the overhead associated with the Pod's RuntimeClass.A pod's overhead is considered in addition to the sum of container resource requests when scheduling a Pod. Similarly, the kubelet will include the Pod overhead when sizing the Pod cgroup, and when carrying out Pod eviction ranking.Configuring Pod overheadYou need to make sure a RuntimeClass is utilized which defines the overhead field.Usage exampleTo work with Pod overhead, you need a RuntimeClass that defines the overhead field. As an example, you could use the following RuntimeClass definition with a virtualization container runtime (in this example, Kata Containers combined with the Firecracker virtual machine monitor) that uses around 120MiB per Pod for the virtual machine and the guest OS:# You need to change this example to match the actual runtime name, and per-Pod # resource overhead, that the container runtime is adding in your cluster. apiVersion: node.k8s.io/v1 kind: RuntimeClass metadata: name: kata-fc handler: kata-fc overhead: podFixed: memory: \"120Mi\" cpu: \"250m\" Workloads which are created which specify the kata-fc RuntimeClass handler will take the memory and cpu overheads into account for resource quota calculations, node scheduling, as well as Pod cgroup sizing.Consider running the given example workload, test-pod:apiVersion: v1 kind: Pod metadata: name: test-pod spec: runtimeClassName: kata-fc containers: - name: busybox-ctr image: busybox:1.28 stdin: true tty: true resources: limits: cpu: 500m memory: 100Mi - name: nginx-ctr image: nginx resources: limits: cpu: 1500m memory: 100Mi Note:If only limits are specified in the pod definition, kubelet will deduce requests from those limits and set them to be the same as the defined limits.At admission time the RuntimeClass admission controller updates the workload's PodSpec to include the overhead as described in the RuntimeClass. If the PodSpec already has this field defined, the Pod will be rejected. In the given example, since only the RuntimeClass name is specified, the admission controller mutates the Pod to include an overhead.After the RuntimeClass admission controller has made modifications, you can check the updated Pod overhead value:kubectl get pod test-pod -o jsonpath='{.spec.overhead}' The output is:map[cpu:250m memory:120Mi] If a ResourceQuota is defined, the sum of container requests as well as the overhead field are counted.When the kube-scheduler is deciding which node should run a new Pod, the scheduler considers that Pod's overhead as well as the sum of container requests for ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/",
    "id": "k8s_00067_qa_1170"
  },
  {
    "question": "What is Pod Overhead?",
    "answer": "W h e n   y o u   r u n   a   P o d   o n   a   N o d e ,   t h e   P o d   i t s e l f   t a k e s   a n   a m o u n t   o f   s y s t e m   r e s o u r c e s .   T h e s e   r e s o u r c e s   a r e   a d d i t i o n a l   t o   t h e   r e s o u r c e s   n e e d e d   t o   r u n   t h e   c o n t a i n e r ( s )   i n s i d e   t h e   P o d .   I n   K u b e r n e t e s ,   P o d   O v e r h e a d   i s   a   w a y   t o   a c c o u n t   f o r   t h e   r e s o u r c e s   c o n s u m e d   b y   t h e   P o d   i n f r a s t r u c t u r e   o n   t o p   o f   t h e   c o n t a i n e r   r e q u e s t s   &   l i m i t s .   I n   K u b e r n e t e s ,   t h e   P o d ' s   o v e r h e a d   i s   s e t   a t   a d m i s s i o n   t i m e   a c c o r d i n g   t o   t h e   o v e r h e a d   a s s o c i a t e d   w i t h   t h e   P o d ' s   R u n t i m e C l a s s .   A   p o d ' s   o v e r h e a d   i s   c o n s i d e r e d   i n   a d d i t i o n   t o   t h e   s u m   o f   c o n t a i n e r   r e s o u r c e   r e q u e s t s   w h e n   s c h e d u l i n g   a   P o d .   S i m i l a r l y ,   t h e   k u b e l e t   w i l l   i n c l u d e   t h e   P o d   o v e r h e a d   w h e n   s i z i n g   t h e   P o d   c g r o u p ,   a n d   w h e n   c a r r y i n g   o u t   P o d   e v i c t i o n   r a n k i n g .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/",
    "id": "k8s_00067_section_1_1171"
  },
  {
    "question": "What is Configuring Pod overhead?",
    "answer": "Y o u   n e e d   t o   m a k e   s u r e   a   R u n t i m e C l a s s   i s   u t i l i z e d   w h i c h   d e f i n e s   t h e   o v e r h e a d   f i e l d .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/",
    "id": "k8s_00067_section_2_1172"
  },
  {
    "question": "What is Usage example?",
    "answer": "T o   w o r k   w i t h   P o d   o v e r h e a d ,   y o u   n e e d   a   R u n t i m e C l a s s   t h a t   d e f i n e s   t h e   o v e r h e a d   f i e l d .   A s   a n   e x a m p l e ,   y o u   c o u l d   u s e   t h e   f o l l o w i n g   R u n t i m e C l a s s   d e f i n i t i o n   w i t h   a   v i r t u a l i z a t i o n   c o n t a i n e r   r u n t i m e   ( i n   t h i s   e x a m p l e ,   K a t a   C o n t a i n e r s   c o m b i n e d   w i t h   t h e   F i r e c r a c k e r   v i r t u a l   m a c h i n e   m o n i t o r )   t h a t   u s e s   a r o u n d   1 2 0 M i B   p e r   P o d   f o r   t h e   v i r t u a l   m a c h i n e   a n d   t h e   g u e s t   O S :   #   Y o u   n e e d   t o   c h a n g e   t h i s   e x a m p l e   t o   m a t c h   t h e   a c t u a l   r u n t i m e   n a m e ,   a n d   p e r - P o d   #   r e s o u r c e   o v e r h e a d ,   t h a t   t h e   c o n t a i n e r   r u n t i m e   i s   a d d i n g   i n   y o u r   c l u s t e r .   a p i V e r s i o n :   n o d e . k 8 s . i o / v 1   k i n d :   R u n t i m e C l a s s   m e t a d a t a :   n a m e :   k a t a - f c   h a n d l e r :   k a t a - f c   o v e r h e a d :   p o d F i x e d :   m e m o r y :   \" 1 2 0 M i \"   c p u :   \" 2 5 0 m \"   W o r k l o a d s   w h i c h   a r e   c r e a t e d   w h i c h   s p e c i f y   t h e   k a t a - f c   R u n t i m e C l a s s   h a n d l e r   w i l l   t a k e   t h e   m e m o r y   a n d   c p u   o v e r h e a d s   i n t o   a c c o u n t   f o r   r e s o u r c e   q u o t a   c a l c u l a t i o n s ,   n o d e   s c h e d u l i n g ,   a s   w e l l   a s   P o d   c g r o u p   s i z i n g .   C o n s i d e r   r u n n i n g   t h e   g i v e n   e x a m p l e   w o r k l o a d ,   t e s t - p o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t - p o d   s p e c :   r u n t i m e C l a s s N a m e :   k a t a - f c   c o n t a i n e r s :   ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/",
    "id": "k8s_00067_section_2_1173"
  },
  {
    "question": "What is Note:?",
    "answer": "A t   a d m i s s i o n   t i m e   t h e   R u n t i m e C l a s s   a d m i s s i o n   c o n t r o l l e r   u p d a t e s   t h e   w o r k l o a d ' s   P o d S p e c   t o   i n c l u d e   t h e   o v e r h e a d   a s   d e s c r i b e d   i n   t h e   R u n t i m e C l a s s .   I f   t h e   P o d S p e c   a l r e a d y   h a s   t h i s   f i e l d   d e f i n e d ,   t h e   P o d   w i l l   b e   r e j e c t e d .   I n   t h e   g i v e n   e x a m p l e ,   s i n c e   o n l y   t h e   R u n t i m e C l a s s   n a m e   i s   s p e c i f i e d ,   t h e   a d m i s s i o n   c o n t r o l l e r   m u t a t e s   t h e   P o d   t o   i n c l u d e   a n   o v e r h e a d .   A f t e r   t h e   R u n t i m e C l a s s   a d m i s s i o n   c o n t r o l l e r   h a s   m a d e   m o d i f i c a t i o n s ,   y o u   c a n   c h e c k   t h e   u p d a t e d   P o d   o v e r h e a d   v a l u e :   k u b e c t l   g e t   p o d   t e s t - p o d   - o   j s o n p a t h = ' { . s p e c . o v e r h e a d } '   T h e   o u t p u t   i s :   m a p [ c p u : 2 5 0 m   m e m o r y : 1 2 0 M i ]   I f   a   R e s o u r c e Q u o t a   i s   d e f i n e d ,   t h e   s u m   o f   c o n t a i n e r   r e q u e s t s   a s   w e l l   a s   t h e   o v e r h e a d   f i e l d   a r e   c o u n t e d .   W h e n   t h e   k u b e - s c h e d u l e r   i s   d e c i d i n g   w h i c h   n o d e   s h o u l d   r u n   a   n e w   P o d ,   t h e   s c h e d u l e r   c o n s i d e r s   t h a t   P o d ' s   o v e r h e a d   a s   w e l l   a s   t h e   s u m   o f   c o n t a i n e r   r e q u e s t s   f o r   t h a t   P o d .   F o r   t h i s   e x a m p l e ,   t h e   s c h e d u l e r   a d d s   t h e   r e q u e s t s   a n d   t h e   o v e r h e a d ,   t h e n   l o o k s   f o r   a   n o d e   t h a t   h a s   2 . 2 5   C P U   a n d   3 2 0   M i B   o f   m e m o r y   a v a i l a b l e .   O n c e   a   P o d   i s   s c h e d u l e d ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/",
    "id": "k8s_00067_section_4_1174"
  },
  {
    "question": "What is Verify Pod cgroup limits?",
    "answer": "C h e c k   t h e   P o d ' s   m e m o r y   c g r o u p s   o n   t h e   n o d e   w h e r e   t h e   w o r k l o a d   i s   r u n n i n g .   I n   t h e   f o l l o w i n g   e x a m p l e ,   c r i c t l   i s   u s e d   o n   t h e   n o d e ,   w h i c h   p r o v i d e s   a   C L I   f o r   C R I - c o m p a t i b l e   c o n t a i n e r   r u n t i m e s .   T h i s   i s   a n   a d v a n c e d   e x a m p l e   t o   s h o w   P o d   o v e r h e a d   b e h a v i o r ,   a n d   i t   i s   n o t   e x p e c t e d   t h a t   u s e r s   s h o u l d   n e e d   t o   c h e c k   c g r o u p s   d i r e c t l y   o n   t h e   n o d e .   F i r s t ,   o n   t h e   p a r t i c u l a r   n o d e ,   d e t e r m i n e   t h e   P o d   i d e n t i f i e r :   #   R u n   t h i s   o n   t h e   n o d e   w h e r e   t h e   P o d   i s   s c h e d u l e d   P O D _ I D = \" $ ( s u d o   c r i c t l   p o d s   - - n a m e   t e s t - p o d   - q ) \"   F r o m   t h i s ,   y o u   c a n   d e t e r m i n e   t h e   c g r o u p   p a t h   f o r   t h e   P o d :   #   R u n   t h i s   o n   t h e   n o d e   w h e r e   t h e   P o d   i s   s c h e d u l e d   s u d o   c r i c t l   i n s p e c t p   - o = j s o n   $ P O D _ I D   |   g r e p   c g r o u p s P a t h   T h e   r e s u l t i n g   c g r o u p   p a t h   i n c l u d e s   t h e   P o d ' s   p a u s e   c o n t a i n e r .   T h e   P o d   l e v e l   c g r o u p   i s   o n e   d i r e c t o r y   a b o v e .   \" c g r o u p s P a t h \" :   \" / k u b e p o d s / p o d d 7 f 4 b 5 0 9 - c f 9 4 - 4 9 5 1 - 9 4 1 7 - d 1 0 8 7 c 9 2 a 5 b 2 / 7 c c f 5 5 a e e 3 5 d d 1 6 a c a 4 1 8 9 c 9 5 2 d 8 3 4 8 7 2 9 7 f 3 c d 7 6 0 f 1 b b f 0 9 6 2 0 e 2 0 6 e 7 d 0 c 2 7 a \"   I n   t h i s   s p e c i f i c   c a s e ,   t h e   p o d   c g r o u p   p a t h   i s   k u b e p o d s / p o d d 7 f 4 b 5 0 9 - c f 9 4 - 4 9 5 1 - 9 4 1 7 - d 1 0 8 7 c 9 2 a 5 b 2 .   V e r i f y   t h e ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/",
    "id": "k8s_00067_section_2_1175"
  },
  {
    "question": "What is Observability?",
    "answer": "S o m e   k u b e _ p o d _ o v e r h e a d _ *   m e t r i c s   a r e   a v a i l a b l e   i n   k u b e - s t a t e - m e t r i c s   t o   h e l p   i d e n t i f y   w h e n   P o d   o v e r h e a d   i s   b e i n g   u t i l i z e d   a n d   t o   h e l p   o b s e r v e   s t a b i l i t y   o f   w o r k l o a d s   r u n n i n g   w i t h   a   d e f i n e d   o v e r h e a d .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/",
    "id": "k8s_00067_section_3_1176"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   R u n t i m e C l a s s R e a d   t h e   P o d O v e r h e a d   D e s i g n   e n h a n c e m e n t   p r o p o s a l   f o r   e x t r a   c o n t e x t",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/",
    "id": "k8s_00067_section_2_1177"
  },
  {
    "question": "What is Restrict a Container's Syscalls with seccomp?",
    "answer": "Restrict a Container's Syscalls with seccompFEATURE STATE: Kubernetes v1.19 [stable]Seccomp stands for secure computing mode and has been a feature of the Linux kernel since version 2.6.12. It can be used to sandbox the privileges of a process, restricting the calls it is able to make from userspace into the kernel. Kubernetes lets you automatically apply seccomp profiles loaded onto a node to your Pods and containers.Identifying the privileges required for your workloads can be difficult. In this tutorial, you will go through how to load seccomp profiles into a local Kubernetes cluster, how to apply them to a Pod, and how you can begin to craft profiles that give only the necessary privileges to your container processes.ObjectivesLearn how to load seccomp profiles on a nodeLearn how to apply a seccomp profile to a containerObserve auditing of syscalls made by a container processObserve behavior when a missing profile is specifiedObserve a violation of a seccomp profileLearn how to create fine-grained seccomp profilesLearn how to apply a container runtime default seccomp profileBefore you beginIn order to complete all steps in this tutorial, you must install kind and kubectl.The commands used in the tutorial assume that you are using Docker as your container runtime. (The cluster that kind creates may use a different container runtime internally). You could also use Podman but in that case, you would have to follow specific instructions in order to complete the tasks successfully.This tutorial shows some examples that are still beta (since v1.25) and others that use only generally available seccomp functionality. You should make sure that your cluster is configured correctly for the version you are using.The tutorial also uses the curl tool for downloading examples to your computer. You can adapt the steps to use a different tool if you prefer.Note:It is not possible to apply a seccomp profile to a container running with privileged: true set in the container's securityContext. Privileged containers always run as Unconfined.Download example seccomp profilesThe contents of these profiles will be explored later on, but for now go ahead and download them into a directory named profiles/ so that they can be loaded into the cluster.pods/security/seccomp/profiles/audit.json { \"defaultAction\": \"SCMP_ACT_LOG\" }pods/security/seccomp/profiles/violation.json { \"defaultAction\": \"SCMP_ACT_ERRNO\" }pods/security/seccomp/profiles/fine-grained.json { \"defaultAction\": \"SCMP_ACT_ERRNO\", \"architectures\": [ \"SCMP_ARCH_X86_64\", \"SCMP_ARCH_X86\", \"SCMP_ARCH_X32\" ], \"syscalls\": [ { \"names\": [ \"accept4\", \"epoll_wait\", \"pselect6\", \"futex\", \"madvise\", \"epoll_ctl\", \"getsockname\", \"setsockopt\", \"vfork\", \"mmap\", \"read\", \"write\", \"close\", \"arch_prctl\", \"sched_getaffinity\", \"munmap\", \"brk\", \"rt_sigaction\", \"rt_sigprocmask\", \"sigaltstack\", \"gettid\", \"clone\", \"bind\", \"socket\", \"openat\", \"readlinkat\", \"exit_group\", \"epoll_create1\", \"listen\", \"rt_sigreturn\", \"sched_yield\", \"clock_get",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/seccomp/",
    "id": "k8s_00068_qa_1178"
  },
  {
    "question": "How does Restrict a Container's Syscalls with seccomp work?",
    "answer": "Restrict a Container's Syscalls with seccompFEATURE STATE: Kubernetes v1.19 [stable]Seccomp stands for secure computing mode and has been a feature of the Linux kernel since version 2.6.12. It can be used to sandbox the privileges of a process, restricting the calls it is able to make from userspace into the kernel. Kubernetes lets you automatically apply seccomp profiles loaded onto a node to your Pods and containers.Identifying the privileges required for your workloads can be difficult. In this tutorial, you will go through how to load seccomp profiles into a local Kubernetes cluster, how to apply them to a Pod, and how you can begin to craft profiles that give only the necessary privileges to your container processes.ObjectivesLearn how to load seccomp profiles on a nodeLearn how to apply a seccomp profile to a containerObserve auditing of syscalls made by a container processObserve behavior when a missing profile is specifiedObserve a violation of a seccomp profileLearn how to create fine-grained seccomp profilesLearn how to apply a container runtime default seccomp profileBefore you beginIn order to complete all steps in this tutorial, you must install kind and kubectl.The commands used in the tutorial assume that you are using Docker as your container runtime. (The cluster that kind creates may use a different container runtime internally). You could also use Podman but in that case, you would have to follow specific instructions in order to complete the tasks successfully.This tutorial shows some examples that are still beta (since v1.25) and others that use only generally available seccomp functionality. You should make sure that your cluster is configured correctly for the version you are using.The tutorial also uses the curl tool for downloading examples to your computer. You can adapt the steps to use a different tool if you prefer.Note:It is not possible to apply a seccomp profile to a container running with privileged: true set in the container's securityContext. Privileged containers always run as Unconfined.Download example seccomp profilesThe contents of these profiles will be explored later on, but for now go ahead and download them into a directory named profiles/ so that they can be loaded into the cluster.pods/security/seccomp/profiles/audit.json { \"defaultAction\": \"SCMP_ACT_LOG\" }pods/security/seccomp/profiles/violation.json { \"defaultAction\": \"SCMP_ACT_ERRNO\" }pods/security/seccomp/profiles/fine-grained.json { \"defaultAction\": \"SCMP_ACT_ERRNO\", \"architectures\": [ \"SCMP_ARCH_X86_64\", \"SCMP_ARCH_X86\", \"SCMP_ARCH_X32\" ], \"syscalls\": [ { \"names\": [ \"accept4\", \"epoll_wait\", \"pselect6\", \"futex\", \"madvise\", \"epoll_ctl\", \"getsockname\", \"setsockopt\", \"vfork\", \"mmap\", \"read\", \"write\", \"close\", \"arch_prctl\", \"sched_getaffinity\", \"munmap\", \"brk\", \"rt_sigaction\", \"rt_sigprocmask\", \"sigaltstack\", \"gettid\", \"clone\", \"bind\", \"socket\", \"openat\", \"readlinkat\", \"exit_group\", \"epoll_create1\", \"listen\", \"rt_sigreturn\", \"sched_yield\", \"clock_get",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/seccomp/",
    "id": "k8s_00068_qa_1179"
  },
  {
    "question": "When would you use Restrict a Container's Syscalls with seccomp?",
    "answer": "Restrict a Container's Syscalls with seccompFEATURE STATE: Kubernetes v1.19 [stable]Seccomp stands for secure computing mode and has been a feature of the Linux kernel since version 2.6.12. It can be used to sandbox the privileges of a process, restricting the calls it is able to make from userspace into the kernel. Kubernetes lets you automatically apply seccomp profiles loaded onto a node to your Pods and containers.Identifying the privileges required for your workloads can be difficult. In this tutorial, you will go through how to load seccomp profiles into a local Kubernetes cluster, how to apply them to a Pod, and how you can begin to craft profiles that give only the necessary privileges to your container processes.ObjectivesLearn how to load seccomp profiles on a nodeLearn how to apply a seccomp profile to a containerObserve auditing of syscalls made by a container processObserve behavior when a missing profile is specifiedObserve a violation of a seccomp profileLearn how to create fine-grained seccomp profilesLearn how to apply a container runtime default seccomp profileBefore you beginIn order to complete all steps in this tutorial, you must install kind and kubectl.The commands used in the tutorial assume that you are using Docker as your container runtime. (The cluster that kind creates may use a different container runtime internally). You could also use Podman but in that case, you would have to follow specific instructions in order to complete the tasks successfully.This tutorial shows some examples that are still beta (since v1.25) and others that use only generally available seccomp functionality. You should make sure that your cluster is configured correctly for the version you are using.The tutorial also uses the curl tool for downloading examples to your computer. You can adapt the steps to use a different tool if you prefer.Note:It is not possible to apply a seccomp profile to a container running with privileged: true set in the container's securityContext. Privileged containers always run as Unconfined.Download example seccomp profilesThe contents of these profiles will be explored later on, but for now go ahead and download them into a directory named profiles/ so that they can be loaded into the cluster.pods/security/seccomp/profiles/audit.json { \"defaultAction\": \"SCMP_ACT_LOG\" }pods/security/seccomp/profiles/violation.json { \"defaultAction\": \"SCMP_ACT_ERRNO\" }pods/security/seccomp/profiles/fine-grained.json { \"defaultAction\": \"SCMP_ACT_ERRNO\", \"architectures\": [ \"SCMP_ARCH_X86_64\", \"SCMP_ARCH_X86\", \"SCMP_ARCH_X32\" ], \"syscalls\": [ { \"names\": [ \"accept4\", \"epoll_wait\", \"pselect6\", \"futex\", \"madvise\", \"epoll_ctl\", \"getsockname\", \"setsockopt\", \"vfork\", \"mmap\", \"read\", \"write\", \"close\", \"arch_prctl\", \"sched_getaffinity\", \"munmap\", \"brk\", \"rt_sigaction\", \"rt_sigprocmask\", \"sigaltstack\", \"gettid\", \"clone\", \"bind\", \"socket\", \"openat\", \"readlinkat\", \"exit_group\", \"epoll_create1\", \"listen\", \"rt_sigreturn\", \"sched_yield\", \"clock_get",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/seccomp/",
    "id": "k8s_00068_qa_1180"
  },
  {
    "question": "What are the benefits of Restrict a Container's Syscalls with seccomp?",
    "answer": "Restrict a Container's Syscalls with seccompFEATURE STATE: Kubernetes v1.19 [stable]Seccomp stands for secure computing mode and has been a feature of the Linux kernel since version 2.6.12. It can be used to sandbox the privileges of a process, restricting the calls it is able to make from userspace into the kernel. Kubernetes lets you automatically apply seccomp profiles loaded onto a node to your Pods and containers.Identifying the privileges required for your workloads can be difficult. In this tutorial, you will go through how to load seccomp profiles into a local Kubernetes cluster, how to apply them to a Pod, and how you can begin to craft profiles that give only the necessary privileges to your container processes.ObjectivesLearn how to load seccomp profiles on a nodeLearn how to apply a seccomp profile to a containerObserve auditing of syscalls made by a container processObserve behavior when a missing profile is specifiedObserve a violation of a seccomp profileLearn how to create fine-grained seccomp profilesLearn how to apply a container runtime default seccomp profileBefore you beginIn order to complete all steps in this tutorial, you must install kind and kubectl.The commands used in the tutorial assume that you are using Docker as your container runtime. (The cluster that kind creates may use a different container runtime internally). You could also use Podman but in that case, you would have to follow specific instructions in order to complete the tasks successfully.This tutorial shows some examples that are still beta (since v1.25) and others that use only generally available seccomp functionality. You should make sure that your cluster is configured correctly for the version you are using.The tutorial also uses the curl tool for downloading examples to your computer. You can adapt the steps to use a different tool if you prefer.Note:It is not possible to apply a seccomp profile to a container running with privileged: true set in the container's securityContext. Privileged containers always run as Unconfined.Download example seccomp profilesThe contents of these profiles will be explored later on, but for now go ahead and download them into a directory named profiles/ so that they can be loaded into the cluster.pods/security/seccomp/profiles/audit.json { \"defaultAction\": \"SCMP_ACT_LOG\" }pods/security/seccomp/profiles/violation.json { \"defaultAction\": \"SCMP_ACT_ERRNO\" }pods/security/seccomp/profiles/fine-grained.json { \"defaultAction\": \"SCMP_ACT_ERRNO\", \"architectures\": [ \"SCMP_ARCH_X86_64\", \"SCMP_ARCH_X86\", \"SCMP_ARCH_X32\" ], \"syscalls\": [ { \"names\": [ \"accept4\", \"epoll_wait\", \"pselect6\", \"futex\", \"madvise\", \"epoll_ctl\", \"getsockname\", \"setsockopt\", \"vfork\", \"mmap\", \"read\", \"write\", \"close\", \"arch_prctl\", \"sched_getaffinity\", \"munmap\", \"brk\", \"rt_sigaction\", \"rt_sigprocmask\", \"sigaltstack\", \"gettid\", \"clone\", \"bind\", \"socket\", \"openat\", \"readlinkat\", \"exit_group\", \"epoll_create1\", \"listen\", \"rt_sigreturn\", \"sched_yield\", \"clock_get",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/seccomp/",
    "id": "k8s_00068_qa_1181"
  },
  {
    "question": "What is Restrict a Container's Syscalls with seccomp?",
    "answer": "S e c c o m p   s t a n d s   f o r   s e c u r e   c o m p u t i n g   m o d e   a n d   h a s   b e e n   a   f e a t u r e   o f   t h e   L i n u x   k e r n e l   s i n c e   v e r s i o n   2 . 6 . 1 2 .   I t   c a n   b e   u s e d   t o   s a n d b o x   t h e   p r i v i l e g e s   o f   a   p r o c e s s ,   r e s t r i c t i n g   t h e   c a l l s   i t   i s   a b l e   t o   m a k e   f r o m   u s e r s p a c e   i n t o   t h e   k e r n e l .   K u b e r n e t e s   l e t s   y o u   a u t o m a t i c a l l y   a p p l y   s e c c o m p   p r o f i l e s   l o a d e d   o n t o   a   n o d e   t o   y o u r   P o d s   a n d   c o n t a i n e r s .   I d e n t i f y i n g   t h e   p r i v i l e g e s   r e q u i r e d   f o r   y o u r   w o r k l o a d s   c a n   b e   d i f f i c u l t .   I n   t h i s   t u t o r i a l ,   y o u   w i l l   g o   t h r o u g h   h o w   t o   l o a d   s e c c o m p   p r o f i l e s   i n t o   a   l o c a l   K u b e r n e t e s   c l u s t e r ,   h o w   t o   a p p l y   t h e m   t o   a   P o d ,   a n d   h o w   y o u   c a n   b e g i n   t o   c r a f t   p r o f i l e s   t h a t   g i v e   o n l y   t h e   n e c e s s a r y   p r i v i l e g e s   t o   y o u r   c o n t a i n e r   p r o c e s s e s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/seccomp/",
    "id": "k8s_00068_section_1_1182"
  },
  {
    "question": "What is Objectives?",
    "answer": "L e a r n   h o w   t o   l o a d   s e c c o m p   p r o f i l e s   o n   a   n o d e L e a r n   h o w   t o   a p p l y   a   s e c c o m p   p r o f i l e   t o   a   c o n t a i n e r O b s e r v e   a u d i t i n g   o f   s y s c a l l s   m a d e   b y   a   c o n t a i n e r   p r o c e s s O b s e r v e   b e h a v i o r   w h e n   a   m i s s i n g   p r o f i l e   i s   s p e c i f i e d O b s e r v e   a   v i o l a t i o n   o f   a   s e c c o m p   p r o f i l e L e a r n   h o w   t o   c r e a t e   f i n e - g r a i n e d   s e c c o m p   p r o f i l e s L e a r n   h o w   t o   a p p l y   a   c o n t a i n e r   r u n t i m e   d e f a u l t   s e c c o m p   p r o f i l e",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/seccomp/",
    "id": "k8s_00068_section_2_1183"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n   o r d e r   t o   c o m p l e t e   a l l   s t e p s   i n   t h i s   t u t o r i a l ,   y o u   m u s t   i n s t a l l   k i n d   a n d   k u b e c t l .   T h e   c o m m a n d s   u s e d   i n   t h e   t u t o r i a l   a s s u m e   t h a t   y o u   a r e   u s i n g   D o c k e r   a s   y o u r   c o n t a i n e r   r u n t i m e .   ( T h e   c l u s t e r   t h a t   k i n d   c r e a t e s   m a y   u s e   a   d i f f e r e n t   c o n t a i n e r   r u n t i m e   i n t e r n a l l y ) .   Y o u   c o u l d   a l s o   u s e   P o d m a n   b u t   i n   t h a t   c a s e ,   y o u   w o u l d   h a v e   t o   f o l l o w   s p e c i f i c   i n s t r u c t i o n s   i n   o r d e r   t o   c o m p l e t e   t h e   t a s k s   s u c c e s s f u l l y .   T h i s   t u t o r i a l   s h o w s   s o m e   e x a m p l e s   t h a t   a r e   s t i l l   b e t a   ( s i n c e   v 1 . 2 5 )   a n d   o t h e r s   t h a t   u s e   o n l y   g e n e r a l l y   a v a i l a b l e   s e c c o m p   f u n c t i o n a l i t y .   Y o u   s h o u l d   m a k e   s u r e   t h a t   y o u r   c l u s t e r   i s   c o n f i g u r e d   c o r r e c t l y   f o r   t h e   v e r s i o n   y o u   a r e   u s i n g .   T h e   t u t o r i a l   a l s o   u s e s   t h e   c u r l   t o o l   f o r   d o w n l o a d i n g   e x a m p l e s   t o   y o u r   c o m p u t e r .   Y o u   c a n   a d a p t   t h e   s t e p s   t o   u s e   a   d i f f e r e n t   t o o l   i f   y o u   p r e f e r .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/seccomp/",
    "id": "k8s_00068_section_2_1184"
  },
  {
    "question": "What is Download example seccomp profiles?",
    "answer": "T h e   c o n t e n t s   o f   t h e s e   p r o f i l e s   w i l l   b e   e x p l o r e d   l a t e r   o n ,   b u t   f o r   n o w   g o   a h e a d   a n d   d o w n l o a d   t h e m   i n t o   a   d i r e c t o r y   n a m e d   p r o f i l e s /   s o   t h a t   t h e y   c a n   b e   l o a d e d   i n t o   t h e   c l u s t e r .   p o d s / s e c u r i t y / s e c c o m p / p r o f i l e s / a u d i t . j s o n   {   \" d e f a u l t A c t i o n \" :   \" S C M P _ A C T _ L O G \"   }   {   \" d e f a u l t A c t i o n \" :   \" S C M P _ A C T _ L O G \"   }   p o d s / s e c u r i t y / s e c c o m p / p r o f i l e s / v i o l a t i o n . j s o n   {   \" d e f a u l t A c t i o n \" :   \" S C M P _ A C T _ E R R N O \"   }   {   \" d e f a u l t A c t i o n \" :   \" S C M P _ A C T _ E R R N O \"   }   p o d s / s e c u r i t y / s e c c o m p / p r o f i l e s / f i n e - g r a i n e d . j s o n   {   \" d e f a u l t A c t i o n \" :   \" S C M P _ A C T _ E R R N O \" ,   \" a r c h i t e c t u r e s \" :   [   \" S C M P _ A R C H _ X 8 6 _ 6 4 \" ,   \" S C M P _ A R C H _ X 8 6 \" ,   \" S C M P _ A R C H _ X 3 2 \"   ] ,   \" s y s c a l l s \" :   [   {   \" n a m e s \" :   [   \" a c c e p t 4 \" ,   \" e p o l l _ w a i t \" ,   \" p s e l e c t 6 \" ,   \" f u t e x \" ,   \" m a d v i s e \" ,   \" e p o l l _ c t l \" ,   \" g e t s o c k n a m e \" ,   \" s e t s o c k o p t \" ,   \" v f o r k \" ,   \" m m a p \" ,   \" r e a d \" ,   \" w r i t e \" ,   \" c l o s e \" ,   \" a r c h _ p r c t l \" ,   \" s c h e d _ g e t a f f i n i t y \" ,   \" m u n m a p \" ,   \" b r k \" ,   \" r t _ s i g a c t i o n \" ,   \" r t _ s i g p r o c m a s k \" ,   \" s i g a l t s t a c k \" ,   \" g e t t i d \" ,   \" c l o n e \" ,   \" b i n d \" ,   \" s o c k e t \" ,   \" o p e n a t \" ,   \" r e a d l i n k a t \" ,   \" e x i t _ g r o u p \" ,   \" e p o l l _ c r e a t e 1 \" ,   \" l i s t e n \" ,   \" r t _ s i g r e t u r n \" ,   \" s c h e d _ y i e l d \" ,   \" c l o c k _ g e t t i m e \" ,   \" c o n n e c t ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/seccomp/",
    "id": "k8s_00068_section_2_1185"
  },
  {
    "question": "What is Create a local Kubernetes cluster with kind?",
    "answer": "F o r   s i m p l i c i t y ,   k i n d   c a n   b e   u s e d   t o   c r e a t e   a   s i n g l e   n o d e   c l u s t e r   w i t h   t h e   s e c c o m p   p r o f i l e s   l o a d e d .   K i n d   r u n s   K u b e r n e t e s   i n   D o c k e r ,   s o   e a c h   n o d e   o f   t h e   c l u s t e r   i s   a   c o n t a i n e r .   T h i s   a l l o w s   f o r   f i l e s   t o   b e   m o u n t e d   i n   t h e   f i l e s y s t e m   o f   e a c h   c o n t a i n e r   s i m i l a r   t o   l o a d i n g   f i l e s   o n t o   a   n o d e .   a p i V e r s i o n :   k i n d . x - k 8 s . i o / v 1 a l p h a 4   k i n d :   C l u s t e r   n o d e s :   -   r o l e :   c o n t r o l - p l a n e   e x t r a M o u n t s :   -   h o s t P a t h :   \" . / p r o f i l e s \"   c o n t a i n e r P a t h :   \" / v a r / l i b / k u b e l e t / s e c c o m p / p r o f i l e s \"   D o w n l o a d   t h a t   e x a m p l e   k i n d   c o n f i g u r a t i o n ,   a n d   s a v e   i t   t o   a   f i l e   n a m e d   k i n d . y a m l :   c u r l   - L   - O   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s e c u r i t y / s e c c o m p / k i n d . y a m l   Y o u   c a n   s e t   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   b y   s e t t i n g   t h e   n o d e ' s   c o n t a i n e r   i m a g e .   S e e   N o d e s   w i t h i n   t h e   k i n d   d o c u m e n t a t i o n   a b o u t   c o n f i g u r a t i o n   f o r   m o r e   d e t a i l s   o n   t h i s .   T h i s   t u t o r i a l   a s s u m e s   y o u   a r e   u s i n g   K u b e r n e t e s   v 1 . 3 4 .   A s   a   b e t a   f e a t u r e ,   y o u   c a n   c o n f i g u r e   K u b e r n e t e s   t o   u s e   t h e   p r o f i l e   t h a t   t h e   c o n t a i n e r   r u n t i m e   p r e f e r s   b y   d e f a u l t ,   r a t h e r   t h a n   f a l l i n g   b a c k   t o   U n c o n f i n e d .   I f   y o u   w a n t   t o   t r y   t h a t ,   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/seccomp/",
    "id": "k8s_00068_section_2_1186"
  },
  {
    "question": "What is Create a Pod that uses the container runtime default seccomp profile?",
    "answer": "M o s t   c o n t a i n e r   r u n t i m e s   p r o v i d e   a   s a n e   s e t   o f   d e f a u l t   s y s c a l l s   t h a t   a r e   a l l o w e d   o r   n o t .   Y o u   c a n   a d o p t   t h e s e   d e f a u l t s   f o r   y o u r   w o r k l o a d   b y   s e t t i n g   t h e   s e c c o m p   t y p e   i n   t h e   s e c u r i t y   c o n t e x t   o f   a   p o d   o r   c o n t a i n e r   t o   R u n t i m e D e f a u l t .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/seccomp/",
    "id": "k8s_00068_section_2_1187"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   r e q u e s t s   t h e   R u n t i m e D e f a u l t   s e c c o m p   p r o f i l e   f o r   a l l   i t s   c o n t a i n e r s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d e f a u l t - p o d   l a b e l s :   a p p :   d e f a u l t - p o d   s p e c :   s e c u r i t y C o n t e x t :   s e c c o m p P r o f i l e :   t y p e :   R u n t i m e D e f a u l t   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   h a s h i c o r p / h t t p - e c h o : 1 . 0   a r g s :   -   \" - t e x t = j u s t   m a d e   s o m e   m o r e   s y s c a l l s ! \"   s e c u r i t y C o n t e x t :   a l l o w P r i v i l e g e E s c a l a t i o n :   f a l s e   C r e a t e   t h a t   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s e c u r i t y / s e c c o m p / g a / d e f a u l t - p o d . y a m l   k u b e c t l   g e t   p o d   d e f a u l t - p o d   T h e   P o d   s h o u l d   b e   s h o w i n g   a s   h a v i n g   s t a r t e d   s u c c e s s f u l l y :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   d e f a u l t - p o d   1 / 1   R u n n i n g   0   2 0 s   D e l e t e   t h e   P o d   b e f o r e   m o v i n g   t o   t h e   n e x t   s e c t i o n :   k u b e c t l   d e l e t e   p o d   d e f a u l t - p o d   - - w a i t   - - n o w",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/seccomp/",
    "id": "k8s_00068_section_4_1188"
  },
  {
    "question": "What is Create a Pod with a seccomp profile for syscall auditing?",
    "answer": "T o   s t a r t   o f f ,   a p p l y   t h e   a u d i t . j s o n   p r o f i l e ,   w h i c h   w i l l   l o g   a l l   s y s c a l l s   o f   t h e   p r o c e s s ,   t o   a   n e w   P o d .   H e r e ' s   a   m a n i f e s t   f o r   t h a t   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   a u d i t - p o d   l a b e l s :   a p p :   a u d i t - p o d   s p e c :   s e c u r i t y C o n t e x t :   s e c c o m p P r o f i l e :   t y p e :   L o c a l h o s t   l o c a l h o s t P r o f i l e :   p r o f i l e s / a u d i t . j s o n   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   h a s h i c o r p / h t t p - e c h o : 1 . 0   a r g s :   -   \" - t e x t = j u s t   m a d e   s o m e   s y s c a l l s ! \"   s e c u r i t y C o n t e x t :   a l l o w P r i v i l e g e E s c a l a t i o n :   f a l s e",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/seccomp/",
    "id": "k8s_00068_section_2_1189"
  },
  {
    "question": "What is Note:?",
    "answer": "C r e a t e   t h e   P o d   i n   t h e   c l u s t e r :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s e c u r i t y / s e c c o m p / g a / a u d i t - p o d . y a m l   T h i s   p r o f i l e   d o e s   n o t   r e s t r i c t   a n y   s y s c a l l s ,   s o   t h e   P o d   s h o u l d   s t a r t   s u c c e s s f u l l y .   k u b e c t l   g e t   p o d   a u d i t - p o d   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   a u d i t - p o d   1 / 1   R u n n i n g   0   3 0 s   I n   o r d e r   t o   b e   a b l e   t o   i n t e r a c t   w i t h   t h i s   e n d p o i n t   e x p o s e d   b y   t h i s   c o n t a i n e r ,   c r e a t e   a   N o d e P o r t   S e r v i c e   t h a t   a l l o w s   a c c e s s   t o   t h e   e n d p o i n t   f r o m   i n s i d e   t h e   k i n d   c o n t r o l   p l a n e   c o n t a i n e r .   k u b e c t l   e x p o s e   p o d   a u d i t - p o d   - - t y p e   N o d e P o r t   - - p o r t   5 6 7 8   C h e c k   w h a t   p o r t   t h e   S e r v i c e   h a s   b e e n   a s s i g n e d   o n   t h e   n o d e .   k u b e c t l   g e t   s e r v i c e   a u d i t - p o d   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   a u d i t - p o d   N o d e P o r t   1 0 . 1 1 1 . 3 6 . 1 4 2   < n o n e >   5 6 7 8 : 3 2 3 7 3 / T C P   7 2 s   N o w   y o u   c a n   u s e   c u r l   t o   a c c e s s   t h a t   e n d p o i n t   f r o m   i n s i d e   t h e   k i n d   c o n t r o l   p l a n e   c o n t a i n e r ,   a t   t h e   p o r t   e x p o s e d   b y   t h i s   S e r v i c e .   U s e   d o c k e r   e x e c   t o   r u n   t h e   c u r l   c o m m a n d   w i t h i n   t h e   c o n t a i n e r   b e l o n g i n g   t o   t h a t   c o n t r o l   p l a n e   c o n t a i n e r :   #   C h a n g e   6 a 9 6 2 0 7 f e d 4 b   t o   t h ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/seccomp/",
    "id": "k8s_00068_section_4_1190"
  },
  {
    "question": "What is Create a Pod with a seccomp profile that causes violation?",
    "answer": "F o r   d e m o n s t r a t i o n ,   a p p l y   a   p r o f i l e   t o   t h e   P o d   t h a t   d o e s   n o t   a l l o w   f o r   a n y   s y s c a l l s .   T h e   m a n i f e s t   f o r   t h i s   d e m o n s t r a t i o n   i s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   v i o l a t i o n - p o d   l a b e l s :   a p p :   v i o l a t i o n - p o d   s p e c :   s e c u r i t y C o n t e x t :   s e c c o m p P r o f i l e :   t y p e :   L o c a l h o s t   l o c a l h o s t P r o f i l e :   p r o f i l e s / v i o l a t i o n . j s o n   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   h a s h i c o r p / h t t p - e c h o : 1 . 0   a r g s :   -   \" - t e x t = j u s t   m a d e   s o m e   s y s c a l l s ! \"   s e c u r i t y C o n t e x t :   a l l o w P r i v i l e g e E s c a l a t i o n :   f a l s e   A t t e m p t   t o   c r e a t e   t h e   P o d   i n   t h e   c l u s t e r :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s e c u r i t y / s e c c o m p / g a / v i o l a t i o n - p o d . y a m l   T h e   P o d   c r e a t e s ,   b u t   t h e r e   i s   a n   i s s u e .   I f   y o u   c h e c k   t h e   s t a t u s   o f   t h e   P o d ,   y o u   s h o u l d   s e e   t h a t   i t   f a i l e d   t o   s t a r t .   k u b e c t l   g e t   p o d   v i o l a t i o n - p o d   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   v i o l a t i o n - p o d   0 / 1   C r a s h L o o p B a c k O f f   1   6 s   A s   s e e n   i n   t h e   p r e v i o u s   e x a m p l e ,   t h e   h t t p - e c h o   p r o c e s s   r e q u i r e s   q u i t e   a   f e w   s y s c a l l s .   H e r e   s e c c o m p   h a s   b e e n   i n s t r u c t e d   t o   e r r o r   o n   a n y   s y s c a l l   b y   s e t t i n g   \" d e f a u l t A c t i o n \" :   \" S C M P _ A C T _ E R R N O \" .   T h i s   i s   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/seccomp/",
    "id": "k8s_00068_section_2_1191"
  },
  {
    "question": "What is Create a Pod with a seccomp profile that only allows necessary syscalls?",
    "answer": "I f   y o u   t a k e   a   l o o k   a t   t h e   f i n e - g r a i n e d . j s o n   p r o f i l e ,   y o u   w i l l   n o t i c e   s o m e   o f   t h e   s y s c a l l s   s e e n   i n   s y s l o g   o f   t h e   f i r s t   e x a m p l e   w h e r e   t h e   p r o f i l e   s e t   \" d e f a u l t A c t i o n \" :   \" S C M P _ A C T _ L O G \" .   N o w   t h e   p r o f i l e   i s   s e t t i n g   \" d e f a u l t A c t i o n \" :   \" S C M P _ A C T _ E R R N O \" ,   b u t   e x p l i c i t l y   a l l o w i n g   a   s e t   o f   s y s c a l l s   i n   t h e   \" a c t i o n \" :   \" S C M P _ A C T _ A L L O W \"   b l o c k .   I d e a l l y ,   t h e   c o n t a i n e r   w i l l   r u n   s u c c e s s f u l l y   a n d   y o u   w i l l   s e e   n o   m e s s a g e s   s e n t   t o   s y s l o g .   T h e   m a n i f e s t   f o r   t h i s   e x a m p l e   i s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   f i n e - p o d   l a b e l s :   a p p :   f i n e - p o d   s p e c :   s e c u r i t y C o n t e x t :   s e c c o m p P r o f i l e :   t y p e :   L o c a l h o s t   l o c a l h o s t P r o f i l e :   p r o f i l e s / f i n e - g r a i n e d . j s o n   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   h a s h i c o r p / h t t p - e c h o : 1 . 0   a r g s :   -   \" - t e x t = j u s t   m a d e   s o m e   s y s c a l l s ! \"   s e c u r i t y C o n t e x t :   a l l o w P r i v i l e g e E s c a l a t i o n :   f a l s e   C r e a t e   t h e   P o d   i n   y o u r   c l u s t e r :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s e c u r i t y / s e c c o m p / g a / f i n e - p o d . y a m l   k u b e c t l   g e t   p o d   f i n e - p o d   T h e   P o d   s h o u l d   b e   s h o w i n g   a s   h a v i n g   s t a r t e d   s u c c e s s f u l l y :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/seccomp/",
    "id": "k8s_00068_section_2_1192"
  },
  {
    "question": "What is Enable the use of RuntimeDefault as the default seccomp profile for all workloads?",
    "answer": "T o   u s e   s e c c o m p   p r o f i l e   d e f a u l t i n g ,   y o u   m u s t   r u n   t h e   k u b e l e t   w i t h   t h e   - - s e c c o m p - d e f a u l t   c o m m a n d   l i n e   f l a g   e n a b l e d   f o r   e a c h   n o d e   w h e r e   y o u   w a n t   t o   u s e   i t .   I f   e n a b l e d ,   t h e   k u b e l e t   w i l l   u s e   t h e   R u n t i m e D e f a u l t   s e c c o m p   p r o f i l e   b y   d e f a u l t ,   w h i c h   i s   d e f i n e d   b y   t h e   c o n t a i n e r   r u n t i m e ,   i n s t e a d   o f   u s i n g   t h e   U n c o n f i n e d   ( s e c c o m p   d i s a b l e d )   m o d e .   T h e   d e f a u l t   p r o f i l e s   a i m   t o   p r o v i d e   a   s t r o n g   s e t   o f   s e c u r i t y   d e f a u l t s   w h i l e   p r e s e r v i n g   t h e   f u n c t i o n a l i t y   o f   t h e   w o r k l o a d .   I t   i s   p o s s i b l e   t h a t   t h e   d e f a u l t   p r o f i l e s   d i f f e r   b e t w e e n   c o n t a i n e r   r u n t i m e s   a n d   t h e i r   r e l e a s e   v e r s i o n s ,   f o r   e x a m p l e   w h e n   c o m p a r i n g   t h o s e   f r o m   C R I - O   a n d   c o n t a i n e r d .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/seccomp/",
    "id": "k8s_00068_section_2_1193"
  },
  {
    "question": "What is Note:?",
    "answer": "S o m e   w o r k l o a d s   m a y   r e q u i r e   a   l o w e r   a m o u n t   o f   s y s c a l l   r e s t r i c t i o n s   t h a n   o t h e r s .   T h i s   m e a n s   t h a t   t h e y   c a n   f a i l   d u r i n g   r u n t i m e   e v e n   w i t h   t h e   R u n t i m e D e f a u l t   p r o f i l e .   T o   m i t i g a t e   s u c h   a   f a i l u r e ,   y o u   c a n :   R u n   t h e   w o r k l o a d   e x p l i c i t l y   a s   U n c o n f i n e d . D i s a b l e   t h e   S e c c o m p D e f a u l t   f e a t u r e   f o r   t h e   n o d e s .   A l s o   m a k i n g   s u r e   t h a t   w o r k l o a d s   g e t   s c h e d u l e d   o n   n o d e s   w h e r e   t h e   f e a t u r e   i s   d i s a b l e d . C r e a t e   a   c u s t o m   s e c c o m p   p r o f i l e   f o r   t h e   w o r k l o a d .   I f   y o u   w e r e   i n t r o d u c i n g   t h i s   f e a t u r e   i n t o   p r o d u c t i o n - l i k e   c l u s t e r ,   t h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   t h a t   y o u   e n a b l e   t h i s   f e a t u r e   g a t e   o n   a   s u b s e t   o f   y o u r   n o d e s   a n d   t h e n   t e s t   w o r k l o a d   e x e c u t i o n   b e f o r e   r o l l i n g   t h e   c h a n g e   o u t   c l u s t e r - w i d e .   Y o u   c a n   f i n d   m o r e   d e t a i l e d   i n f o r m a t i o n   a b o u t   a   p o s s i b l e   u p g r a d e   a n d   d o w n g r a d e   s t r a t e g y   i n   t h e   r e l a t e d   K u b e r n e t e s   E n h a n c e m e n t   P r o p o s a l   ( K E P ) :   E n a b l e   s e c c o m p   b y   d e f a u l t .   K u b e r n e t e s   1 . 3 4   l e t s   y o u   c o n f i g u r e   t h e   s e c c o m p   p r o f i l e   t h a t   a p p l i e s   w h e n   t h e   s p e c   f o r   a   P o d   d o e s n ' t   d e f i n e   a   s p e c i f i c   s e c c o m p   p r o f i l e .   H o w e v e r ,   y o u   s t i l l   n e e d   t o   e n a b l e ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/seccomp/",
    "id": "k8s_00068_section_4_1194"
  },
  {
    "question": "What is What's next?",
    "answer": "Y o u   c a n   l e a r n   m o r e   a b o u t   L i n u x   s e c c o m p :   A   s e c c o m p   O v e r v i e w S e c c o m p   S e c u r i t y   P r o f i l e s   f o r   D o c k e r",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/seccomp/",
    "id": "k8s_00068_section_2_1195"
  },
  {
    "question": "What is Decrypt Confidential Data that is Already Encrypted at Rest?",
    "answer": "Decrypt Confidential Data that is Already Encrypted at RestAll of the APIs in Kubernetes that let you write persistent API resource data support at-rest encryption. For example, you can enable at-rest encryption for Secrets. This at-rest encryption is additional to any system-level encryption for the etcd cluster or for the filesystem(s) on hosts where you are running the kube-apiserver.This page shows how to switch from encryption of API data at rest, so that API data are stored unencrypted. You might want to do this to improve performance; usually, though, if it was a good idea to encrypt some data, it's also a good idea to leave them encrypted.Note:This task covers encryption for resource data stored using the Kubernetes API. For example, you can encrypt Secret objects, including the key-value data they contain.If you wanted to manage encryption for data in filesystems that are mounted into containers, you instead need to either:use a storage integration that provides encrypted volumesencrypt the data within your own applicationBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesThis task assumes that you are running the Kubernetes API server as a static pod on each control plane node.Your cluster's control plane must use etcd v3.x (major version 3, any minor version).To encrypt a custom resource, your cluster must be running Kubernetes v1.26 or newer.You should have some API data that are already encrypted.To check the version, enter kubectl version.Determine whether encryption at rest is already enabledBy default, the API server uses an identity provider that stores plain-text representations of resources. The default identity provider does not provide any confidentiality protection.The kube-apiserver process accepts an argument --encryption-provider-config that specifies a path to a configuration file. The contents of that file, if you specify one, control how Kubernetes API data is encrypted in etcd. If it is not specified, you do not have encryption at rest enabled.The format of that configuration file is YAML, representing a configuration API kind named EncryptionConfiguration. You can see an example configuration in Encryption at rest configuration.If --encryption-provider-config is set, check which resources (such as secrets) are configured for encryption, and what provider is used. Make sure that the preferred provider for that resource type is not identity; you only set identity (no encryption) as default when you want to disable encryption at rest. Verify that the first-listed provider for a resource is something other than identity, which means that an",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/decrypt-data/",
    "id": "k8s_00069_qa_1196"
  },
  {
    "question": "How does Decrypt Confidential Data that is Already Encrypted at Rest work?",
    "answer": "Decrypt Confidential Data that is Already Encrypted at RestAll of the APIs in Kubernetes that let you write persistent API resource data support at-rest encryption. For example, you can enable at-rest encryption for Secrets. This at-rest encryption is additional to any system-level encryption for the etcd cluster or for the filesystem(s) on hosts where you are running the kube-apiserver.This page shows how to switch from encryption of API data at rest, so that API data are stored unencrypted. You might want to do this to improve performance; usually, though, if it was a good idea to encrypt some data, it's also a good idea to leave them encrypted.Note:This task covers encryption for resource data stored using the Kubernetes API. For example, you can encrypt Secret objects, including the key-value data they contain.If you wanted to manage encryption for data in filesystems that are mounted into containers, you instead need to either:use a storage integration that provides encrypted volumesencrypt the data within your own applicationBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesThis task assumes that you are running the Kubernetes API server as a static pod on each control plane node.Your cluster's control plane must use etcd v3.x (major version 3, any minor version).To encrypt a custom resource, your cluster must be running Kubernetes v1.26 or newer.You should have some API data that are already encrypted.To check the version, enter kubectl version.Determine whether encryption at rest is already enabledBy default, the API server uses an identity provider that stores plain-text representations of resources. The default identity provider does not provide any confidentiality protection.The kube-apiserver process accepts an argument --encryption-provider-config that specifies a path to a configuration file. The contents of that file, if you specify one, control how Kubernetes API data is encrypted in etcd. If it is not specified, you do not have encryption at rest enabled.The format of that configuration file is YAML, representing a configuration API kind named EncryptionConfiguration. You can see an example configuration in Encryption at rest configuration.If --encryption-provider-config is set, check which resources (such as secrets) are configured for encryption, and what provider is used. Make sure that the preferred provider for that resource type is not identity; you only set identity (no encryption) as default when you want to disable encryption at rest. Verify that the first-listed provider for a resource is something other than identity, which means that an",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/decrypt-data/",
    "id": "k8s_00069_qa_1197"
  },
  {
    "question": "When would you use Decrypt Confidential Data that is Already Encrypted at Rest?",
    "answer": "Decrypt Confidential Data that is Already Encrypted at RestAll of the APIs in Kubernetes that let you write persistent API resource data support at-rest encryption. For example, you can enable at-rest encryption for Secrets. This at-rest encryption is additional to any system-level encryption for the etcd cluster or for the filesystem(s) on hosts where you are running the kube-apiserver.This page shows how to switch from encryption of API data at rest, so that API data are stored unencrypted. You might want to do this to improve performance; usually, though, if it was a good idea to encrypt some data, it's also a good idea to leave them encrypted.Note:This task covers encryption for resource data stored using the Kubernetes API. For example, you can encrypt Secret objects, including the key-value data they contain.If you wanted to manage encryption for data in filesystems that are mounted into containers, you instead need to either:use a storage integration that provides encrypted volumesencrypt the data within your own applicationBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesThis task assumes that you are running the Kubernetes API server as a static pod on each control plane node.Your cluster's control plane must use etcd v3.x (major version 3, any minor version).To encrypt a custom resource, your cluster must be running Kubernetes v1.26 or newer.You should have some API data that are already encrypted.To check the version, enter kubectl version.Determine whether encryption at rest is already enabledBy default, the API server uses an identity provider that stores plain-text representations of resources. The default identity provider does not provide any confidentiality protection.The kube-apiserver process accepts an argument --encryption-provider-config that specifies a path to a configuration file. The contents of that file, if you specify one, control how Kubernetes API data is encrypted in etcd. If it is not specified, you do not have encryption at rest enabled.The format of that configuration file is YAML, representing a configuration API kind named EncryptionConfiguration. You can see an example configuration in Encryption at rest configuration.If --encryption-provider-config is set, check which resources (such as secrets) are configured for encryption, and what provider is used. Make sure that the preferred provider for that resource type is not identity; you only set identity (no encryption) as default when you want to disable encryption at rest. Verify that the first-listed provider for a resource is something other than identity, which means that an",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/decrypt-data/",
    "id": "k8s_00069_qa_1198"
  },
  {
    "question": "What are the benefits of Decrypt Confidential Data that is Already Encrypted at Rest?",
    "answer": "Decrypt Confidential Data that is Already Encrypted at RestAll of the APIs in Kubernetes that let you write persistent API resource data support at-rest encryption. For example, you can enable at-rest encryption for Secrets. This at-rest encryption is additional to any system-level encryption for the etcd cluster or for the filesystem(s) on hosts where you are running the kube-apiserver.This page shows how to switch from encryption of API data at rest, so that API data are stored unencrypted. You might want to do this to improve performance; usually, though, if it was a good idea to encrypt some data, it's also a good idea to leave them encrypted.Note:This task covers encryption for resource data stored using the Kubernetes API. For example, you can encrypt Secret objects, including the key-value data they contain.If you wanted to manage encryption for data in filesystems that are mounted into containers, you instead need to either:use a storage integration that provides encrypted volumesencrypt the data within your own applicationBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesThis task assumes that you are running the Kubernetes API server as a static pod on each control plane node.Your cluster's control plane must use etcd v3.x (major version 3, any minor version).To encrypt a custom resource, your cluster must be running Kubernetes v1.26 or newer.You should have some API data that are already encrypted.To check the version, enter kubectl version.Determine whether encryption at rest is already enabledBy default, the API server uses an identity provider that stores plain-text representations of resources. The default identity provider does not provide any confidentiality protection.The kube-apiserver process accepts an argument --encryption-provider-config that specifies a path to a configuration file. The contents of that file, if you specify one, control how Kubernetes API data is encrypted in etcd. If it is not specified, you do not have encryption at rest enabled.The format of that configuration file is YAML, representing a configuration API kind named EncryptionConfiguration. You can see an example configuration in Encryption at rest configuration.If --encryption-provider-config is set, check which resources (such as secrets) are configured for encryption, and what provider is used. Make sure that the preferred provider for that resource type is not identity; you only set identity (no encryption) as default when you want to disable encryption at rest. Verify that the first-listed provider for a resource is something other than identity, which means that an",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/decrypt-data/",
    "id": "k8s_00069_qa_1199"
  },
  {
    "question": "What is Decrypt Confidential Data that is Already Encrypted at Rest?",
    "answer": "A l l   o f   t h e   A P I s   i n   K u b e r n e t e s   t h a t   l e t   y o u   w r i t e   p e r s i s t e n t   A P I   r e s o u r c e   d a t a   s u p p o r t   a t - r e s t   e n c r y p t i o n .   F o r   e x a m p l e ,   y o u   c a n   e n a b l e   a t - r e s t   e n c r y p t i o n   f o r   S e c r e t s .   T h i s   a t - r e s t   e n c r y p t i o n   i s   a d d i t i o n a l   t o   a n y   s y s t e m - l e v e l   e n c r y p t i o n   f o r   t h e   e t c d   c l u s t e r   o r   f o r   t h e   f i l e s y s t e m ( s )   o n   h o s t s   w h e r e   y o u   a r e   r u n n i n g   t h e   k u b e - a p i s e r v e r .   T h i s   p a g e   s h o w s   h o w   t o   s w i t c h   f r o m   e n c r y p t i o n   o f   A P I   d a t a   a t   r e s t ,   s o   t h a t   A P I   d a t a   a r e   s t o r e d   u n e n c r y p t e d .   Y o u   m i g h t   w a n t   t o   d o   t h i s   t o   i m p r o v e   p e r f o r m a n c e ;   u s u a l l y ,   t h o u g h ,   i f   i t   w a s   a   g o o d   i d e a   t o   e n c r y p t   s o m e   d a t a ,   i t ' s   a l s o   a   g o o d   i d e a   t o   l e a v e   t h e m   e n c r y p t e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/decrypt-data/",
    "id": "k8s_00069_section_1_1200"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   t a s k   c o v e r s   e n c r y p t i o n   f o r   r e s o u r c e   d a t a   s t o r e d   u s i n g   t h e   K u b e r n e t e s   A P I .   F o r   e x a m p l e ,   y o u   c a n   e n c r y p t   S e c r e t   o b j e c t s ,   i n c l u d i n g   t h e   k e y - v a l u e   d a t a   t h e y   c o n t a i n .   I f   y o u   w a n t e d   t o   m a n a g e   e n c r y p t i o n   f o r   d a t a   i n   f i l e s y s t e m s   t h a t   a r e   m o u n t e d   i n t o   c o n t a i n e r s ,   y o u   i n s t e a d   n e e d   t o   e i t h e r :   u s e   a   s t o r a g e   i n t e g r a t i o n   t h a t   p r o v i d e s   e n c r y p t e d   v o l u m e s e n c r y p t   t h e   d a t a   w i t h i n   y o u r   o w n   a p p l i c a t i o n",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/decrypt-data/",
    "id": "k8s_00069_section_4_1201"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T h i s   t a s k   a s s u m e s   t h a t   y o u   a r e   r u n n i n g   t h e   K u b e r n e t e s   A P I   s e r v e r   a s   a   s t a t i c   p o d   o n   e a c h   c o n t r o l   p l a n e   n o d e . Y o u r   c l u s t e r ' s   c o n t r o l   p l a n e   m u s t   u s e   e t c d   v 3 . x   ( m a j o r   v e r s i o n   3 ,   a n y   m i n o r   v e r s i o n ) . T o   e n c r y p t   a   c u s t o m   r e s o u r c e ,   y o u r   c l u s t e r   m u s t   b e   r u n n i n g   K u b e r n e t e s   v 1 . 2 6   o r   n e w e r . Y o u   s h o u l d   h a v e   s o m e   A P I   d a t a   t h a t   a r e   a l r e a d y   e n c r y p t e d .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/decrypt-data/",
    "id": "k8s_00069_section_2_1202"
  },
  {
    "question": "What is Determine whether encryption at rest is already enabled?",
    "answer": "B y   d e f a u l t ,   t h e   A P I   s e r v e r   u s e s   a n   i d e n t i t y   p r o v i d e r   t h a t   s t o r e s   p l a i n - t e x t   r e p r e s e n t a t i o n s   o f   r e s o u r c e s .   T h e   d e f a u l t   i d e n t i t y   p r o v i d e r   d o e s   n o t   p r o v i d e   a n y   c o n f i d e n t i a l i t y   p r o t e c t i o n .   T h e   k u b e - a p i s e r v e r   p r o c e s s   a c c e p t s   a n   a r g u m e n t   - - e n c r y p t i o n - p r o v i d e r - c o n f i g   t h a t   s p e c i f i e s   a   p a t h   t o   a   c o n f i g u r a t i o n   f i l e .   T h e   c o n t e n t s   o f   t h a t   f i l e ,   i f   y o u   s p e c i f y   o n e ,   c o n t r o l   h o w   K u b e r n e t e s   A P I   d a t a   i s   e n c r y p t e d   i n   e t c d .   I f   i t   i s   n o t   s p e c i f i e d ,   y o u   d o   n o t   h a v e   e n c r y p t i o n   a t   r e s t   e n a b l e d .   T h e   f o r m a t   o f   t h a t   c o n f i g u r a t i o n   f i l e   i s   Y A M L ,   r e p r e s e n t i n g   a   c o n f i g u r a t i o n   A P I   k i n d   n a m e d   E n c r y p t i o n C o n f i g u r a t i o n .   Y o u   c a n   s e e   a n   e x a m p l e   c o n f i g u r a t i o n   i n   E n c r y p t i o n   a t   r e s t   c o n f i g u r a t i o n .   I f   - - e n c r y p t i o n - p r o v i d e r - c o n f i g   i s   s e t ,   c h e c k   w h i c h   r e s o u r c e s   ( s u c h   a s   s e c r e t s )   a r e   c o n f i g u r e d   f o r   e n c r y p t i o n ,   a n d   w h a t   p r o v i d e r   i s   u s e d .   M a k e   s u r e   t h a t   t h e   p r e f e r r e d   p r o v i d e r   f o r   t h a t   r e s o u r c e   t y p e   i s   n o t   i d e n t i t y ;   y o u   o n l y   s e t   i d e n t i t y   ( n o   e n c r y p t i o n )   a s   d e f a u l t   w h e n   y o u   w a n t   t o   d i s a b l e   e n c r y p t i o n   a t   r e s t .   V e r i f y   t h a t   t h e   f i r s t - l ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/decrypt-data/",
    "id": "k8s_00069_section_2_1203"
  },
  {
    "question": "What is Decrypt all data?",
    "answer": "T h i s   e x a m p l e   s h o w s   h o w   t o   s t o p   e n c r y p t i n g   t h e   S e c r e t   A P I   a t   r e s t .   I f   y o u   a r e   e n c r y p t i n g   o t h e r   A P I   k i n d s ,   a d j u s t   t h e   s t e p s   t o   m a t c h .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/decrypt-data/",
    "id": "k8s_00069_section_2_1204"
  },
  {
    "question": "What is Locate the encryption configuration file?",
    "answer": "F i r s t ,   f i n d   t h e   A P I   s e r v e r   c o n f i g u r a t i o n   f i l e s .   O n   e a c h   c o n t r o l   p l a n e   n o d e ,   s t a t i c   P o d   m a n i f e s t   f o r   t h e   k u b e - a p i s e r v e r   s p e c i f i e s   a   c o m m a n d   l i n e   a r g u m e n t ,   - - e n c r y p t i o n - p r o v i d e r - c o n f i g .   Y o u   a r e   l i k e l y   t o   f i n d   t h a t   t h i s   f i l e   i s   m o u n t e d   i n t o   t h e   s t a t i c   P o d   u s i n g   a   h o s t P a t h   v o l u m e   m o u n t .   O n c e   y o u   l o c a t e   t h e   v o l u m e   y o u   c a n   f i n d   t h e   f i l e   o n   t h e   n o d e   f i l e s y s t e m   a n d   i n s p e c t   i t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/decrypt-data/",
    "id": "k8s_00069_section_3_1205"
  },
  {
    "question": "What is Configure the API server to decrypt objects?",
    "answer": "T o   d i s a b l e   e n c r y p t i o n   a t   r e s t ,   p l a c e   t h e   i d e n t i t y   p r o v i d e r   a s   t h e   f i r s t   e n t r y   i n   y o u r   e n c r y p t i o n   c o n f i g u r a t i o n   f i l e .   F o r   e x a m p l e ,   i f   y o u r   e x i s t i n g   E n c r y p t i o n C o n f i g u r a t i o n   f i l e   r e a d s :   - - -   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   r e s o u r c e s :   -   r e s o u r c e s :   -   s e c r e t s   p r o v i d e r s :   -   a e s c b c :   k e y s :   #   D o   n o t   u s e   t h i s   ( i n v a l i d )   e x a m p l e   k e y   f o r   e n c r y p t i o n   -   n a m e :   e x a m p l e   s e c r e t :   2 K f Z g d i q 2 K 0 g 2 Y r Y p y D Y s 9 m F 2 L P Z h Q = =   t h e n   c h a n g e   i t   t o :   - - -   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   r e s o u r c e s :   -   r e s o u r c e s :   -   s e c r e t s   p r o v i d e r s :   -   i d e n t i t y :   { }   #   a d d   t h i s   l i n e   -   a e s c b c :   k e y s :   -   n a m e :   e x a m p l e   s e c r e t :   2 K f Z g d i q 2 K 0 g 2 Y r Y p y D Y s 9 m F 2 L P Z h Q = =   a n d   r e s t a r t   t h e   k u b e - a p i s e r v e r   P o d   o n   t h i s   n o d e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/decrypt-data/",
    "id": "k8s_00069_section_3_1206"
  },
  {
    "question": "What is Reconfigure other control plane hosts?",
    "answer": "I f   y o u   h a v e   m u l t i p l e   A P I   s e r v e r s   i n   y o u r   c l u s t e r ,   y o u   s h o u l d   d e p l o y   t h e   c h a n g e s   i n   t u r n   t o   e a c h   A P I   s e r v e r .   M a k e   s u r e   t h a t   y o u   u s e   t h e   s a m e   e n c r y p t i o n   c o n f i g u r a t i o n   o n   e a c h   c o n t r o l   p l a n e   h o s t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/decrypt-data/",
    "id": "k8s_00069_section_3_1207"
  },
  {
    "question": "What is Force decryption?",
    "answer": "T h e n   r u n   t h e   f o l l o w i n g   c o m m a n d   t o   f o r c e   d e c r y p t i o n   o f   a l l   S e c r e t s :   #   I f   y o u   a r e   d e c r y p t i n g   a   d i f f e r e n t   k i n d   o f   o b j e c t ,   c h a n g e   \" s e c r e t s \"   t o   m a t c h .   k u b e c t l   g e t   s e c r e t s   - - a l l - n a m e s p a c e s   - o   j s o n   |   k u b e c t l   r e p l a c e   - f   -   O n c e   y o u   h a v e   r e p l a c e d   a l l   e x i s t i n g   e n c r y p t e d   r e s o u r c e s   w i t h   b a c k i n g   d a t a   t h a t   d o n ' t   u s e   e n c r y p t i o n ,   y o u   c a n   r e m o v e   t h e   e n c r y p t i o n   s e t t i n g s   f r o m   t h e   k u b e - a p i s e r v e r .   T h e   c o m m a n d   l i n e   o p t i o n s   t o   r e m o v e   a r e :   - - e n c r y p t i o n - p r o v i d e r - c o n f i g - - e n c r y p t i o n - p r o v i d e r - c o n f i g - a u t o m a t i c - r e l o a d   R e s t a r t   t h e   k u b e - a p i s e r v e r   P o d   a g a i n   t o   a p p l y   t h e   n e w   c o n f i g u r a t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/decrypt-data/",
    "id": "k8s_00069_section_3_1208"
  },
  {
    "question": "What is Reconfigure other control plane hosts?",
    "answer": "I f   y o u   h a v e   m u l t i p l e   A P I   s e r v e r s   i n   y o u r   c l u s t e r ,   y o u   s h o u l d   a g a i n   d e p l o y   t h e   c h a n g e s   i n   t u r n   t o   e a c h   A P I   s e r v e r .   M a k e   s u r e   t h a t   y o u   u s e   t h e   s a m e   e n c r y p t i o n   c o n f i g u r a t i o n   o n   e a c h   c o n t r o l   p l a n e   h o s t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/decrypt-data/",
    "id": "k8s_00069_section_3_1209"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   t h e   E n c r y p t i o n C o n f i g u r a t i o n   c o n f i g u r a t i o n   A P I   ( v 1 ) .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/decrypt-data/",
    "id": "k8s_00069_section_2_1210"
  },
  {
    "question": "What is Kubelet Configuration (v1)?",
    "answer": "Kubelet Configuration (v1)Resource TypesCredentialProviderConfigCredentialProviderConfigCredentialProviderConfig is the configuration containing information about each exec credential provider. Kubelet reads this configuration from disk and enables each provider as specified by the CredentialProvider type.FieldDescriptionapiVersionstringkubelet.config.k8s.io/v1kindstringCredentialProviderConfigproviders [Required][]CredentialProviderproviders is a list of credential provider plugins that will be enabled by the kubelet. Multiple providers may match against a single image, in which case credentials from all providers will be returned to the kubelet. If multiple providers are called for a single image, the results are combined. If providers return overlapping auth keys, the value from the provider earlier in this list is attempted first.CredentialProviderAppears in:CredentialProviderConfigCredentialProvider represents an exec plugin to be invoked by the kubelet. The plugin is only invoked when an image being pulled matches the images handled by the plugin (see matchImages).FieldDescriptionname [Required]stringname is the required name of the credential provider. It must match the name of the provider executable as seen by the kubelet. The executable must be in the kubelet's bin directory (set by the --image-credential-provider-bin-dir flag). Required to be unique across all providers.matchImages [Required][]stringmatchImages is a required list of strings used to match against images in order to determine if this provider should be invoked. If one of the strings matches the requested image from the kubelet, the plugin will be invoked and given a chance to provide credentials. Images are expected to contain the registry domain and URL path.Each entry in matchImages is a pattern which can optionally contain a port and a path. Globs can be used in the domain, but not in the port or the path. Globs are supported as subdomains like '*.k8s.io' or 'k8s.*.io', and top-level-domains such as 'k8s.*'. Matching partial subdomains like 'app.k8s.io' is also supported. Each glob can only match a single subdomain segment, so *.io does not match *.k8s.io.A match exists between an image and a matchImage when all of the below are true:Both contain the same number of domain parts and each part matches.The URL path of an imageMatch must be a prefix of the target image URL path.If the imageMatch contains a port, then the port must match in the image as well.Example values of matchImages:123456789.dkr.ecr.us-east-1.amazonaws.com*.azurecr.iogcr.io*.*.registry.ioregistry.io:8080/pathdefaultCacheDuration [Required]meta/v1.DurationdefaultCacheDuration is the default duration the plugin will cache credentials in-memory if a cache duration is not provided in the plugin response. This field is required.apiVersion [Required]stringRequired input version of the exec CredentialProviderRequest. The returned CredentialProviderResponse MUST use the same encoding version as the input. Cu",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1/",
    "id": "k8s_00070_qa_1211"
  },
  {
    "question": "How does Kubelet Configuration (v1) work?",
    "answer": "Kubelet Configuration (v1)Resource TypesCredentialProviderConfigCredentialProviderConfigCredentialProviderConfig is the configuration containing information about each exec credential provider. Kubelet reads this configuration from disk and enables each provider as specified by the CredentialProvider type.FieldDescriptionapiVersionstringkubelet.config.k8s.io/v1kindstringCredentialProviderConfigproviders [Required][]CredentialProviderproviders is a list of credential provider plugins that will be enabled by the kubelet. Multiple providers may match against a single image, in which case credentials from all providers will be returned to the kubelet. If multiple providers are called for a single image, the results are combined. If providers return overlapping auth keys, the value from the provider earlier in this list is attempted first.CredentialProviderAppears in:CredentialProviderConfigCredentialProvider represents an exec plugin to be invoked by the kubelet. The plugin is only invoked when an image being pulled matches the images handled by the plugin (see matchImages).FieldDescriptionname [Required]stringname is the required name of the credential provider. It must match the name of the provider executable as seen by the kubelet. The executable must be in the kubelet's bin directory (set by the --image-credential-provider-bin-dir flag). Required to be unique across all providers.matchImages [Required][]stringmatchImages is a required list of strings used to match against images in order to determine if this provider should be invoked. If one of the strings matches the requested image from the kubelet, the plugin will be invoked and given a chance to provide credentials. Images are expected to contain the registry domain and URL path.Each entry in matchImages is a pattern which can optionally contain a port and a path. Globs can be used in the domain, but not in the port or the path. Globs are supported as subdomains like '*.k8s.io' or 'k8s.*.io', and top-level-domains such as 'k8s.*'. Matching partial subdomains like 'app.k8s.io' is also supported. Each glob can only match a single subdomain segment, so *.io does not match *.k8s.io.A match exists between an image and a matchImage when all of the below are true:Both contain the same number of domain parts and each part matches.The URL path of an imageMatch must be a prefix of the target image URL path.If the imageMatch contains a port, then the port must match in the image as well.Example values of matchImages:123456789.dkr.ecr.us-east-1.amazonaws.com*.azurecr.iogcr.io*.*.registry.ioregistry.io:8080/pathdefaultCacheDuration [Required]meta/v1.DurationdefaultCacheDuration is the default duration the plugin will cache credentials in-memory if a cache duration is not provided in the plugin response. This field is required.apiVersion [Required]stringRequired input version of the exec CredentialProviderRequest. The returned CredentialProviderResponse MUST use the same encoding version as the input. Cu",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1/",
    "id": "k8s_00070_qa_1212"
  },
  {
    "question": "When would you use Kubelet Configuration (v1)?",
    "answer": "Kubelet Configuration (v1)Resource TypesCredentialProviderConfigCredentialProviderConfigCredentialProviderConfig is the configuration containing information about each exec credential provider. Kubelet reads this configuration from disk and enables each provider as specified by the CredentialProvider type.FieldDescriptionapiVersionstringkubelet.config.k8s.io/v1kindstringCredentialProviderConfigproviders [Required][]CredentialProviderproviders is a list of credential provider plugins that will be enabled by the kubelet. Multiple providers may match against a single image, in which case credentials from all providers will be returned to the kubelet. If multiple providers are called for a single image, the results are combined. If providers return overlapping auth keys, the value from the provider earlier in this list is attempted first.CredentialProviderAppears in:CredentialProviderConfigCredentialProvider represents an exec plugin to be invoked by the kubelet. The plugin is only invoked when an image being pulled matches the images handled by the plugin (see matchImages).FieldDescriptionname [Required]stringname is the required name of the credential provider. It must match the name of the provider executable as seen by the kubelet. The executable must be in the kubelet's bin directory (set by the --image-credential-provider-bin-dir flag). Required to be unique across all providers.matchImages [Required][]stringmatchImages is a required list of strings used to match against images in order to determine if this provider should be invoked. If one of the strings matches the requested image from the kubelet, the plugin will be invoked and given a chance to provide credentials. Images are expected to contain the registry domain and URL path.Each entry in matchImages is a pattern which can optionally contain a port and a path. Globs can be used in the domain, but not in the port or the path. Globs are supported as subdomains like '*.k8s.io' or 'k8s.*.io', and top-level-domains such as 'k8s.*'. Matching partial subdomains like 'app.k8s.io' is also supported. Each glob can only match a single subdomain segment, so *.io does not match *.k8s.io.A match exists between an image and a matchImage when all of the below are true:Both contain the same number of domain parts and each part matches.The URL path of an imageMatch must be a prefix of the target image URL path.If the imageMatch contains a port, then the port must match in the image as well.Example values of matchImages:123456789.dkr.ecr.us-east-1.amazonaws.com*.azurecr.iogcr.io*.*.registry.ioregistry.io:8080/pathdefaultCacheDuration [Required]meta/v1.DurationdefaultCacheDuration is the default duration the plugin will cache credentials in-memory if a cache duration is not provided in the plugin response. This field is required.apiVersion [Required]stringRequired input version of the exec CredentialProviderRequest. The returned CredentialProviderResponse MUST use the same encoding version as the input. Cu",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1/",
    "id": "k8s_00070_qa_1213"
  },
  {
    "question": "What are the benefits of Kubelet Configuration (v1)?",
    "answer": "Kubelet Configuration (v1)Resource TypesCredentialProviderConfigCredentialProviderConfigCredentialProviderConfig is the configuration containing information about each exec credential provider. Kubelet reads this configuration from disk and enables each provider as specified by the CredentialProvider type.FieldDescriptionapiVersionstringkubelet.config.k8s.io/v1kindstringCredentialProviderConfigproviders [Required][]CredentialProviderproviders is a list of credential provider plugins that will be enabled by the kubelet. Multiple providers may match against a single image, in which case credentials from all providers will be returned to the kubelet. If multiple providers are called for a single image, the results are combined. If providers return overlapping auth keys, the value from the provider earlier in this list is attempted first.CredentialProviderAppears in:CredentialProviderConfigCredentialProvider represents an exec plugin to be invoked by the kubelet. The plugin is only invoked when an image being pulled matches the images handled by the plugin (see matchImages).FieldDescriptionname [Required]stringname is the required name of the credential provider. It must match the name of the provider executable as seen by the kubelet. The executable must be in the kubelet's bin directory (set by the --image-credential-provider-bin-dir flag). Required to be unique across all providers.matchImages [Required][]stringmatchImages is a required list of strings used to match against images in order to determine if this provider should be invoked. If one of the strings matches the requested image from the kubelet, the plugin will be invoked and given a chance to provide credentials. Images are expected to contain the registry domain and URL path.Each entry in matchImages is a pattern which can optionally contain a port and a path. Globs can be used in the domain, but not in the port or the path. Globs are supported as subdomains like '*.k8s.io' or 'k8s.*.io', and top-level-domains such as 'k8s.*'. Matching partial subdomains like 'app.k8s.io' is also supported. Each glob can only match a single subdomain segment, so *.io does not match *.k8s.io.A match exists between an image and a matchImage when all of the below are true:Both contain the same number of domain parts and each part matches.The URL path of an imageMatch must be a prefix of the target image URL path.If the imageMatch contains a port, then the port must match in the image as well.Example values of matchImages:123456789.dkr.ecr.us-east-1.amazonaws.com*.azurecr.iogcr.io*.*.registry.ioregistry.io:8080/pathdefaultCacheDuration [Required]meta/v1.DurationdefaultCacheDuration is the default duration the plugin will cache credentials in-memory if a cache duration is not provided in the plugin response. This field is required.apiVersion [Required]stringRequired input version of the exec CredentialProviderRequest. The returned CredentialProviderResponse MUST use the same encoding version as the input. Cu",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1/",
    "id": "k8s_00070_qa_1214"
  },
  {
    "question": "What is Resource Types?",
    "answer": "C r e d e n t i a l P r o v i d e r C o n f i g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1/",
    "id": "k8s_00070_section_2_1215"
  },
  {
    "question": "What is CredentialProviderConfig?",
    "answer": "C r e d e n t i a l P r o v i d e r C o n f i g   i s   t h e   c o n f i g u r a t i o n   c o n t a i n i n g   i n f o r m a t i o n   a b o u t   e a c h   e x e c   c r e d e n t i a l   p r o v i d e r .   K u b e l e t   r e a d s   t h i s   c o n f i g u r a t i o n   f r o m   d i s k   a n d   e n a b l e s   e a c h   p r o v i d e r   a s   s p e c i f i e d   b y   t h e   C r e d e n t i a l P r o v i d e r   t y p e .   p r o v i d e r s   i s   a   l i s t   o f   c r e d e n t i a l   p r o v i d e r   p l u g i n s   t h a t   w i l l   b e   e n a b l e d   b y   t h e   k u b e l e t .   M u l t i p l e   p r o v i d e r s   m a y   m a t c h   a g a i n s t   a   s i n g l e   i m a g e ,   i n   w h i c h   c a s e   c r e d e n t i a l s   f r o m   a l l   p r o v i d e r s   w i l l   b e   r e t u r n e d   t o   t h e   k u b e l e t .   I f   m u l t i p l e   p r o v i d e r s   a r e   c a l l e d   f o r   a   s i n g l e   i m a g e ,   t h e   r e s u l t s   a r e   c o m b i n e d .   I f   p r o v i d e r s   r e t u r n   o v e r l a p p i n g   a u t h   k e y s ,   t h e   v a l u e   f r o m   t h e   p r o v i d e r   e a r l i e r   i n   t h i s   l i s t   i s   a t t e m p t e d   f i r s t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1/",
    "id": "k8s_00070_section_2_1216"
  },
  {
    "question": "What is CredentialProvider?",
    "answer": "A p p e a r s   i n :   C r e d e n t i a l P r o v i d e r C o n f i g   C r e d e n t i a l P r o v i d e r   r e p r e s e n t s   a n   e x e c   p l u g i n   t o   b e   i n v o k e d   b y   t h e   k u b e l e t .   T h e   p l u g i n   i s   o n l y   i n v o k e d   w h e n   a n   i m a g e   b e i n g   p u l l e d   m a t c h e s   t h e   i m a g e s   h a n d l e d   b y   t h e   p l u g i n   ( s e e   m a t c h I m a g e s ) .   n a m e   i s   t h e   r e q u i r e d   n a m e   o f   t h e   c r e d e n t i a l   p r o v i d e r .   I t   m u s t   m a t c h   t h e   n a m e   o f   t h e   p r o v i d e r   e x e c u t a b l e   a s   s e e n   b y   t h e   k u b e l e t .   T h e   e x e c u t a b l e   m u s t   b e   i n   t h e   k u b e l e t ' s   b i n   d i r e c t o r y   ( s e t   b y   t h e   - - i m a g e - c r e d e n t i a l - p r o v i d e r - b i n - d i r   f l a g ) .   R e q u i r e d   t o   b e   u n i q u e   a c r o s s   a l l   p r o v i d e r s .   m a t c h I m a g e s   i s   a   r e q u i r e d   l i s t   o f   s t r i n g s   u s e d   t o   m a t c h   a g a i n s t   i m a g e s   i n   o r d e r   t o   d e t e r m i n e   i f   t h i s   p r o v i d e r   s h o u l d   b e   i n v o k e d .   I f   o n e   o f   t h e   s t r i n g s   m a t c h e s   t h e   r e q u e s t e d   i m a g e   f r o m   t h e   k u b e l e t ,   t h e   p l u g i n   w i l l   b e   i n v o k e d   a n d   g i v e n   a   c h a n c e   t o   p r o v i d e   c r e d e n t i a l s .   I m a g e s   a r e   e x p e c t e d   t o   c o n t a i n   t h e   r e g i s t r y   d o m a i n   a n d   U R L   p a t h .   E a c h   e n t r y   i n   m a t c h I m a g e s   i s   a   p a t t e r n   w h i c h   c a n   o p t i o n a l l y   c o n t a i n   a   p o r t   a n d   a   p a t h .   G l o b s   c a n   b e   u s e d   i n   t h e   d o m a i n ,   b u t   n o t   i n   t h e   p o r t   o r   t h e   p a t h .   G l o b s   a r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1/",
    "id": "k8s_00070_section_2_1217"
  },
  {
    "question": "What is ExecEnvVar?",
    "answer": "A p p e a r s   i n :   C r e d e n t i a l P r o v i d e r   E x e c E n v V a r   i s   u s e d   f o r   s e t t i n g   e n v i r o n m e n t   v a r i a b l e s   w h e n   e x e c u t i n g   a n   e x e c - b a s e d   c r e d e n t i a l   p l u g i n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1/",
    "id": "k8s_00070_section_2_1218"
  },
  {
    "question": "What is ServiceAccountTokenAttributes?",
    "answer": "A p p e a r s   i n :   C r e d e n t i a l P r o v i d e r   S e r v i c e A c c o u n t T o k e n A t t r i b u t e s   i s   t h e   c o n f i g u r a t i o n   f o r   t h e   s e r v i c e   a c c o u n t   t o k e n   t h a t   w i l l   b e   p a s s e d   t o   t h e   p l u g i n .   s e r v i c e A c c o u n t T o k e n A u d i e n c e   i s   t h e   i n t e n d e d   a u d i e n c e   f o r   t h e   p r o j e c t e d   s e r v i c e   a c c o u n t   t o k e n .   r e q u i r e S e r v i c e A c c o u n t   i n d i c a t e s   w h e t h e r   t h e   p l u g i n   r e q u i r e s   t h e   p o d   t o   h a v e   a   s e r v i c e   a c c o u n t .   I f   s e t   t o   t r u e ,   k u b e l e t   w i l l   o n l y   i n v o k e   t h e   p l u g i n   i f   t h e   p o d   h a s   a   s e r v i c e   a c c o u n t .   I f   s e t   t o   f a l s e ,   k u b e l e t   w i l l   i n v o k e   t h e   p l u g i n   e v e n   i f   t h e   p o d   d o e s   n o t   h a v e   a   s e r v i c e   a c c o u n t   a n d   w i l l   n o t   i n c l u d e   a   t o k e n   i n   t h e   C r e d e n t i a l P r o v i d e r R e q u e s t   i n   t h a t   s c e n a r i o .   T h i s   i s   u s e f u l   f o r   p l u g i n s   t h a t   a r e   u s e d   t o   p u l l   i m a g e s   f o r   p o d s   w i t h o u t   s e r v i c e   a c c o u n t s   ( e . g . ,   s t a t i c   p o d s ) .   r e q u i r e d S e r v i c e A c c o u n t A n n o t a t i o n K e y s   i s   t h e   l i s t   o f   a n n o t a t i o n   k e y s   t h a t   t h e   p l u g i n   i s   i n t e r e s t e d   i n   a n d   t h a t   a r e   r e q u i r e d   t o   b e   p r e s e n t   i n   t h e   s e r v i c e   a c c o u n t .   T h e   k e y s   d e f i n e d   i n   t h i s   l i s t   w i l l   b e   e x t r a c t e d   f r o m   t h e   c o r r e s p o n d i n g   s e r v i c e   a c c o u n t   a n d   p a s s e d   t o   t h e   p l u g i n   a s   p a r t   o f   t h e   C r e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1/",
    "id": "k8s_00070_section_2_1219"
  },
  {
    "question": "What is Storage Capacity?",
    "answer": "Storage CapacityStorage capacity is limited and may vary depending on the node on which a pod runs: network-attached storage might not be accessible by all nodes, or storage is local to a node to begin with.FEATURE STATE: Kubernetes v1.24 [stable]This page describes how Kubernetes keeps track of storage capacity and how the scheduler uses that information to schedule Pods onto nodes that have access to enough storage capacity for the remaining missing volumes. Without storage capacity tracking, the scheduler may choose a node that doesn't have enough capacity to provision a volume and multiple scheduling retries will be needed.Before you beginKubernetes v1.34 includes cluster-level API support for storage capacity tracking. To use this you must also be using a CSI driver that supports capacity tracking. Consult the documentation for the CSI drivers that you use to find out whether this support is available and, if so, how to use it. If you are not running Kubernetes v1.34, check the documentation for that version of Kubernetes.APIThere are two API extensions for this feature:CSIStorageCapacity objects: these get produced by a CSI driver in the namespace where the driver is installed. Each object contains capacity information for one storage class and defines which nodes have access to that storage.The CSIDriverSpec.StorageCapacity field: when set to true, the Kubernetes scheduler will consider storage capacity for volumes that use the CSI driver.SchedulingStorage capacity information is used by the Kubernetes scheduler if:a Pod uses a volume that has not been created yet,that volume uses a StorageClass which references a CSI driver and uses WaitForFirstConsumer volume binding mode, andthe CSIDriver object for the driver has StorageCapacity set to true.In that case, the scheduler only considers nodes for the Pod which have enough storage available to them. This check is very simplistic and only compares the size of the volume against the capacity listed in CSIStorageCapacity objects with a topology that includes the node.For volumes with Immediate volume binding mode, the storage driver decides where to create the volume, independently of Pods that will use the volume. The scheduler then schedules Pods onto nodes where the volume is available after the volume has been created.For CSI ephemeral volumes, scheduling always happens without considering storage capacity. This is based on the assumption that this volume type is only used by special CSI drivers which are local to a node and do not need significant resources there.ReschedulingWhen a node has been selected for a Pod with WaitForFirstConsumer volumes, that decision is still tentative. The next step is that the CSI storage driver gets asked to create the volume with a hint that the volume is supposed to be available on the selected node.Because Kubernetes might have chosen a node based on out-dated capacity information, it is possible that the volume cannot really be created. The node selecti",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-capacity/",
    "id": "k8s_00071_qa_1220"
  },
  {
    "question": "How does Storage Capacity work?",
    "answer": "Storage CapacityStorage capacity is limited and may vary depending on the node on which a pod runs: network-attached storage might not be accessible by all nodes, or storage is local to a node to begin with.FEATURE STATE: Kubernetes v1.24 [stable]This page describes how Kubernetes keeps track of storage capacity and how the scheduler uses that information to schedule Pods onto nodes that have access to enough storage capacity for the remaining missing volumes. Without storage capacity tracking, the scheduler may choose a node that doesn't have enough capacity to provision a volume and multiple scheduling retries will be needed.Before you beginKubernetes v1.34 includes cluster-level API support for storage capacity tracking. To use this you must also be using a CSI driver that supports capacity tracking. Consult the documentation for the CSI drivers that you use to find out whether this support is available and, if so, how to use it. If you are not running Kubernetes v1.34, check the documentation for that version of Kubernetes.APIThere are two API extensions for this feature:CSIStorageCapacity objects: these get produced by a CSI driver in the namespace where the driver is installed. Each object contains capacity information for one storage class and defines which nodes have access to that storage.The CSIDriverSpec.StorageCapacity field: when set to true, the Kubernetes scheduler will consider storage capacity for volumes that use the CSI driver.SchedulingStorage capacity information is used by the Kubernetes scheduler if:a Pod uses a volume that has not been created yet,that volume uses a StorageClass which references a CSI driver and uses WaitForFirstConsumer volume binding mode, andthe CSIDriver object for the driver has StorageCapacity set to true.In that case, the scheduler only considers nodes for the Pod which have enough storage available to them. This check is very simplistic and only compares the size of the volume against the capacity listed in CSIStorageCapacity objects with a topology that includes the node.For volumes with Immediate volume binding mode, the storage driver decides where to create the volume, independently of Pods that will use the volume. The scheduler then schedules Pods onto nodes where the volume is available after the volume has been created.For CSI ephemeral volumes, scheduling always happens without considering storage capacity. This is based on the assumption that this volume type is only used by special CSI drivers which are local to a node and do not need significant resources there.ReschedulingWhen a node has been selected for a Pod with WaitForFirstConsumer volumes, that decision is still tentative. The next step is that the CSI storage driver gets asked to create the volume with a hint that the volume is supposed to be available on the selected node.Because Kubernetes might have chosen a node based on out-dated capacity information, it is possible that the volume cannot really be created. The node selecti",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-capacity/",
    "id": "k8s_00071_qa_1221"
  },
  {
    "question": "When would you use Storage Capacity?",
    "answer": "Storage CapacityStorage capacity is limited and may vary depending on the node on which a pod runs: network-attached storage might not be accessible by all nodes, or storage is local to a node to begin with.FEATURE STATE: Kubernetes v1.24 [stable]This page describes how Kubernetes keeps track of storage capacity and how the scheduler uses that information to schedule Pods onto nodes that have access to enough storage capacity for the remaining missing volumes. Without storage capacity tracking, the scheduler may choose a node that doesn't have enough capacity to provision a volume and multiple scheduling retries will be needed.Before you beginKubernetes v1.34 includes cluster-level API support for storage capacity tracking. To use this you must also be using a CSI driver that supports capacity tracking. Consult the documentation for the CSI drivers that you use to find out whether this support is available and, if so, how to use it. If you are not running Kubernetes v1.34, check the documentation for that version of Kubernetes.APIThere are two API extensions for this feature:CSIStorageCapacity objects: these get produced by a CSI driver in the namespace where the driver is installed. Each object contains capacity information for one storage class and defines which nodes have access to that storage.The CSIDriverSpec.StorageCapacity field: when set to true, the Kubernetes scheduler will consider storage capacity for volumes that use the CSI driver.SchedulingStorage capacity information is used by the Kubernetes scheduler if:a Pod uses a volume that has not been created yet,that volume uses a StorageClass which references a CSI driver and uses WaitForFirstConsumer volume binding mode, andthe CSIDriver object for the driver has StorageCapacity set to true.In that case, the scheduler only considers nodes for the Pod which have enough storage available to them. This check is very simplistic and only compares the size of the volume against the capacity listed in CSIStorageCapacity objects with a topology that includes the node.For volumes with Immediate volume binding mode, the storage driver decides where to create the volume, independently of Pods that will use the volume. The scheduler then schedules Pods onto nodes where the volume is available after the volume has been created.For CSI ephemeral volumes, scheduling always happens without considering storage capacity. This is based on the assumption that this volume type is only used by special CSI drivers which are local to a node and do not need significant resources there.ReschedulingWhen a node has been selected for a Pod with WaitForFirstConsumer volumes, that decision is still tentative. The next step is that the CSI storage driver gets asked to create the volume with a hint that the volume is supposed to be available on the selected node.Because Kubernetes might have chosen a node based on out-dated capacity information, it is possible that the volume cannot really be created. The node selecti",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-capacity/",
    "id": "k8s_00071_qa_1222"
  },
  {
    "question": "What are the benefits of Storage Capacity?",
    "answer": "Storage CapacityStorage capacity is limited and may vary depending on the node on which a pod runs: network-attached storage might not be accessible by all nodes, or storage is local to a node to begin with.FEATURE STATE: Kubernetes v1.24 [stable]This page describes how Kubernetes keeps track of storage capacity and how the scheduler uses that information to schedule Pods onto nodes that have access to enough storage capacity for the remaining missing volumes. Without storage capacity tracking, the scheduler may choose a node that doesn't have enough capacity to provision a volume and multiple scheduling retries will be needed.Before you beginKubernetes v1.34 includes cluster-level API support for storage capacity tracking. To use this you must also be using a CSI driver that supports capacity tracking. Consult the documentation for the CSI drivers that you use to find out whether this support is available and, if so, how to use it. If you are not running Kubernetes v1.34, check the documentation for that version of Kubernetes.APIThere are two API extensions for this feature:CSIStorageCapacity objects: these get produced by a CSI driver in the namespace where the driver is installed. Each object contains capacity information for one storage class and defines which nodes have access to that storage.The CSIDriverSpec.StorageCapacity field: when set to true, the Kubernetes scheduler will consider storage capacity for volumes that use the CSI driver.SchedulingStorage capacity information is used by the Kubernetes scheduler if:a Pod uses a volume that has not been created yet,that volume uses a StorageClass which references a CSI driver and uses WaitForFirstConsumer volume binding mode, andthe CSIDriver object for the driver has StorageCapacity set to true.In that case, the scheduler only considers nodes for the Pod which have enough storage available to them. This check is very simplistic and only compares the size of the volume against the capacity listed in CSIStorageCapacity objects with a topology that includes the node.For volumes with Immediate volume binding mode, the storage driver decides where to create the volume, independently of Pods that will use the volume. The scheduler then schedules Pods onto nodes where the volume is available after the volume has been created.For CSI ephemeral volumes, scheduling always happens without considering storage capacity. This is based on the assumption that this volume type is only used by special CSI drivers which are local to a node and do not need significant resources there.ReschedulingWhen a node has been selected for a Pod with WaitForFirstConsumer volumes, that decision is still tentative. The next step is that the CSI storage driver gets asked to create the volume with a hint that the volume is supposed to be available on the selected node.Because Kubernetes might have chosen a node based on out-dated capacity information, it is possible that the volume cannot really be created. The node selecti",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-capacity/",
    "id": "k8s_00071_qa_1223"
  },
  {
    "question": "What is Storage Capacity?",
    "answer": "S t o r a g e   c a p a c i t y   i s   l i m i t e d   a n d   m a y   v a r y   d e p e n d i n g   o n   t h e   n o d e   o n   w h i c h   a   p o d   r u n s :   n e t w o r k - a t t a c h e d   s t o r a g e   m i g h t   n o t   b e   a c c e s s i b l e   b y   a l l   n o d e s ,   o r   s t o r a g e   i s   l o c a l   t o   a   n o d e   t o   b e g i n   w i t h .   T h i s   p a g e   d e s c r i b e s   h o w   K u b e r n e t e s   k e e p s   t r a c k   o f   s t o r a g e   c a p a c i t y   a n d   h o w   t h e   s c h e d u l e r   u s e s   t h a t   i n f o r m a t i o n   t o   s c h e d u l e   P o d s   o n t o   n o d e s   t h a t   h a v e   a c c e s s   t o   e n o u g h   s t o r a g e   c a p a c i t y   f o r   t h e   r e m a i n i n g   m i s s i n g   v o l u m e s .   W i t h o u t   s t o r a g e   c a p a c i t y   t r a c k i n g ,   t h e   s c h e d u l e r   m a y   c h o o s e   a   n o d e   t h a t   d o e s n ' t   h a v e   e n o u g h   c a p a c i t y   t o   p r o v i s i o n   a   v o l u m e   a n d   m u l t i p l e   s c h e d u l i n g   r e t r i e s   w i l l   b e   n e e d e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-capacity/",
    "id": "k8s_00071_section_1_1224"
  },
  {
    "question": "What is Before you begin?",
    "answer": "K u b e r n e t e s   v 1 . 3 4   i n c l u d e s   c l u s t e r - l e v e l   A P I   s u p p o r t   f o r   s t o r a g e   c a p a c i t y   t r a c k i n g .   T o   u s e   t h i s   y o u   m u s t   a l s o   b e   u s i n g   a   C S I   d r i v e r   t h a t   s u p p o r t s   c a p a c i t y   t r a c k i n g .   C o n s u l t   t h e   d o c u m e n t a t i o n   f o r   t h e   C S I   d r i v e r s   t h a t   y o u   u s e   t o   f i n d   o u t   w h e t h e r   t h i s   s u p p o r t   i s   a v a i l a b l e   a n d ,   i f   s o ,   h o w   t o   u s e   i t .   I f   y o u   a r e   n o t   r u n n i n g   K u b e r n e t e s   v 1 . 3 4 ,   c h e c k   t h e   d o c u m e n t a t i o n   f o r   t h a t   v e r s i o n   o f   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-capacity/",
    "id": "k8s_00071_section_2_1225"
  },
  {
    "question": "What is API?",
    "answer": "T h e r e   a r e   t w o   A P I   e x t e n s i o n s   f o r   t h i s   f e a t u r e :   C S I S t o r a g e C a p a c i t y   o b j e c t s :   t h e s e   g e t   p r o d u c e d   b y   a   C S I   d r i v e r   i n   t h e   n a m e s p a c e   w h e r e   t h e   d r i v e r   i s   i n s t a l l e d .   E a c h   o b j e c t   c o n t a i n s   c a p a c i t y   i n f o r m a t i o n   f o r   o n e   s t o r a g e   c l a s s   a n d   d e f i n e s   w h i c h   n o d e s   h a v e   a c c e s s   t o   t h a t   s t o r a g e . T h e   C S I D r i v e r S p e c . S t o r a g e C a p a c i t y   f i e l d :   w h e n   s e t   t o   t r u e ,   t h e   K u b e r n e t e s   s c h e d u l e r   w i l l   c o n s i d e r   s t o r a g e   c a p a c i t y   f o r   v o l u m e s   t h a t   u s e   t h e   C S I   d r i v e r .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-capacity/",
    "id": "k8s_00071_section_2_1226"
  },
  {
    "question": "What is Scheduling?",
    "answer": "S t o r a g e   c a p a c i t y   i n f o r m a t i o n   i s   u s e d   b y   t h e   K u b e r n e t e s   s c h e d u l e r   i f :   a   P o d   u s e s   a   v o l u m e   t h a t   h a s   n o t   b e e n   c r e a t e d   y e t , t h a t   v o l u m e   u s e s   a   S t o r a g e C l a s s   w h i c h   r e f e r e n c e s   a   C S I   d r i v e r   a n d   u s e s   W a i t F o r F i r s t C o n s u m e r   v o l u m e   b i n d i n g   m o d e ,   a n d t h e   C S I D r i v e r   o b j e c t   f o r   t h e   d r i v e r   h a s   S t o r a g e C a p a c i t y   s e t   t o   t r u e .   I n   t h a t   c a s e ,   t h e   s c h e d u l e r   o n l y   c o n s i d e r s   n o d e s   f o r   t h e   P o d   w h i c h   h a v e   e n o u g h   s t o r a g e   a v a i l a b l e   t o   t h e m .   T h i s   c h e c k   i s   v e r y   s i m p l i s t i c   a n d   o n l y   c o m p a r e s   t h e   s i z e   o f   t h e   v o l u m e   a g a i n s t   t h e   c a p a c i t y   l i s t e d   i n   C S I S t o r a g e C a p a c i t y   o b j e c t s   w i t h   a   t o p o l o g y   t h a t   i n c l u d e s   t h e   n o d e .   F o r   v o l u m e s   w i t h   I m m e d i a t e   v o l u m e   b i n d i n g   m o d e ,   t h e   s t o r a g e   d r i v e r   d e c i d e s   w h e r e   t o   c r e a t e   t h e   v o l u m e ,   i n d e p e n d e n t l y   o f   P o d s   t h a t   w i l l   u s e   t h e   v o l u m e .   T h e   s c h e d u l e r   t h e n   s c h e d u l e s   P o d s   o n t o   n o d e s   w h e r e   t h e   v o l u m e   i s   a v a i l a b l e   a f t e r   t h e   v o l u m e   h a s   b e e n   c r e a t e d .   F o r   C S I   e p h e m e r a l   v o l u m e s ,   s c h e d u l i n g   a l w a y s   h a p p e n s   w i t h o u t   c o n s i d e r i n g   s t o r a g e   c a p a c i t y .   T h i s   i s   b a s e d   o n   t h e   a s s u m p t i o n   t h a t   t h i s   v o l u m e   t y p e   i s   o n l y   u s e d   b y ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-capacity/",
    "id": "k8s_00071_section_2_1227"
  },
  {
    "question": "What is Rescheduling?",
    "answer": "W h e n   a   n o d e   h a s   b e e n   s e l e c t e d   f o r   a   P o d   w i t h   W a i t F o r F i r s t C o n s u m e r   v o l u m e s ,   t h a t   d e c i s i o n   i s   s t i l l   t e n t a t i v e .   T h e   n e x t   s t e p   i s   t h a t   t h e   C S I   s t o r a g e   d r i v e r   g e t s   a s k e d   t o   c r e a t e   t h e   v o l u m e   w i t h   a   h i n t   t h a t   t h e   v o l u m e   i s   s u p p o s e d   t o   b e   a v a i l a b l e   o n   t h e   s e l e c t e d   n o d e .   B e c a u s e   K u b e r n e t e s   m i g h t   h a v e   c h o s e n   a   n o d e   b a s e d   o n   o u t - d a t e d   c a p a c i t y   i n f o r m a t i o n ,   i t   i s   p o s s i b l e   t h a t   t h e   v o l u m e   c a n n o t   r e a l l y   b e   c r e a t e d .   T h e   n o d e   s e l e c t i o n   i s   t h e n   r e s e t   a n d   t h e   K u b e r n e t e s   s c h e d u l e r   t r i e s   a g a i n   t o   f i n d   a   n o d e   f o r   t h e   P o d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-capacity/",
    "id": "k8s_00071_section_2_1228"
  },
  {
    "question": "What is Limitations?",
    "answer": "S t o r a g e   c a p a c i t y   t r a c k i n g   i n c r e a s e s   t h e   c h a n c e   t h a t   s c h e d u l i n g   w o r k s   o n   t h e   f i r s t   t r y ,   b u t   c a n n o t   g u a r a n t e e   t h i s   b e c a u s e   t h e   s c h e d u l e r   h a s   t o   d e c i d e   b a s e d   o n   p o t e n t i a l l y   o u t - d a t e d   i n f o r m a t i o n .   U s u a l l y ,   t h e   s a m e   r e t r y   m e c h a n i s m   a s   f o r   s c h e d u l i n g   w i t h o u t   a n y   s t o r a g e   c a p a c i t y   i n f o r m a t i o n   h a n d l e s   s c h e d u l i n g   f a i l u r e s .   O n e   s i t u a t i o n   w h e r e   s c h e d u l i n g   c a n   f a i l   p e r m a n e n t l y   i s   w h e n   a   P o d   u s e s   m u l t i p l e   v o l u m e s :   o n e   v o l u m e   m i g h t   h a v e   b e e n   c r e a t e d   a l r e a d y   i n   a   t o p o l o g y   s e g m e n t   w h i c h   t h e n   d o e s   n o t   h a v e   e n o u g h   c a p a c i t y   l e f t   f o r   a n o t h e r   v o l u m e .   M a n u a l   i n t e r v e n t i o n   i s   n e c e s s a r y   t o   r e c o v e r   f r o m   t h i s ,   f o r   e x a m p l e   b y   i n c r e a s i n g   c a p a c i t y   o r   d e l e t i n g   t h e   v o l u m e   t h a t   w a s   a l r e a d y   c r e a t e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-capacity/",
    "id": "k8s_00071_section_2_1229"
  },
  {
    "question": "What is What's next?",
    "answer": "F o r   m o r e   i n f o r m a t i o n   o n   t h e   d e s i g n ,   s e e   t h e   S t o r a g e   C a p a c i t y   C o n s t r a i n t s   f o r   P o d   S c h e d u l i n g   K E P .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-capacity/",
    "id": "k8s_00071_section_2_1230"
  },
  {
    "question": "What is Using sysctls in a Kubernetes Cluster?",
    "answer": "Using sysctls in a Kubernetes ClusterFEATURE STATE: Kubernetes v1.21 [stable]This document describes how to configure and use kernel parameters within a Kubernetes cluster using the sysctl interface.Note:Starting from Kubernetes version 1.23, the kubelet supports the use of either / or . as separators for sysctl names. Starting from Kubernetes version 1.25, setting Sysctls for a Pod supports setting sysctls with slashes. For example, you can represent the same sysctl name as kernel.shm_rmid_forced using a period as the separator, or as kernel/shm_rmid_forced using a slash as a separator. For more sysctl parameter conversion method details, please refer to the page sysctl.d(5) from the Linux man-pages project.Before you beginNote:sysctl is a Linux-specific command-line tool used to configure various kernel parameters and it is not available on non-Linux operating systems.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesFor some steps, you also need to be able to reconfigure the command line options for the kubelets running on your cluster.Listing all Sysctl ParametersIn Linux, the sysctl interface allows an administrator to modify kernel parameters at runtime. Parameters are available via the /proc/sys/ virtual process file system. The parameters cover various subsystems such as:kernel (common prefix: kernel.)networking (common prefix: net.)virtual memory (common prefix: vm.)MDADM (common prefix: dev.)More subsystems are described in Kernel docs.To get a list of all parameters, you can runsudo sysctl -a Safe and Unsafe SysctlsKubernetes classes sysctls as either safe or unsafe. In addition to proper namespacing, a safe sysctl must be properly isolated between pods on the same node. This means that setting a safe sysctl for one podmust not have any influence on any other pod on the nodemust not allow to harm the node's healthmust not allow to gain CPU or memory resources outside of the resource limits of a pod.By far, most of the namespaced sysctls are not necessarily considered safe. The following sysctls are supported in the safe set:kernel.shm_rmid_forced;net.ipv4.ip_local_port_range;net.ipv4.tcp_syncookies;net.ipv4.ping_group_range (since Kubernetes 1.18);net.ipv4.ip_unprivileged_port_start (since Kubernetes 1.22);net.ipv4.ip_local_reserved_ports (since Kubernetes 1.27, needs kernel 3.16+);net.ipv4.tcp_keepalive_time (since Kubernetes 1.29, needs kernel 4.5+);net.ipv4.tcp_fin_timeout (since Kubernetes 1.29, needs kernel 4.6+);net.ipv4.tcp_keepalive_intvl (since Kubernetes 1.29, needs kernel 4.5+);net.ipv4.tcp_keepalive_probes (since Kubernetes 1.29, needs kernel 4.5+).net.ipv4.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/",
    "id": "k8s_00072_qa_1231"
  },
  {
    "question": "How does Using sysctls in a Kubernetes Cluster work?",
    "answer": "Using sysctls in a Kubernetes ClusterFEATURE STATE: Kubernetes v1.21 [stable]This document describes how to configure and use kernel parameters within a Kubernetes cluster using the sysctl interface.Note:Starting from Kubernetes version 1.23, the kubelet supports the use of either / or . as separators for sysctl names. Starting from Kubernetes version 1.25, setting Sysctls for a Pod supports setting sysctls with slashes. For example, you can represent the same sysctl name as kernel.shm_rmid_forced using a period as the separator, or as kernel/shm_rmid_forced using a slash as a separator. For more sysctl parameter conversion method details, please refer to the page sysctl.d(5) from the Linux man-pages project.Before you beginNote:sysctl is a Linux-specific command-line tool used to configure various kernel parameters and it is not available on non-Linux operating systems.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesFor some steps, you also need to be able to reconfigure the command line options for the kubelets running on your cluster.Listing all Sysctl ParametersIn Linux, the sysctl interface allows an administrator to modify kernel parameters at runtime. Parameters are available via the /proc/sys/ virtual process file system. The parameters cover various subsystems such as:kernel (common prefix: kernel.)networking (common prefix: net.)virtual memory (common prefix: vm.)MDADM (common prefix: dev.)More subsystems are described in Kernel docs.To get a list of all parameters, you can runsudo sysctl -a Safe and Unsafe SysctlsKubernetes classes sysctls as either safe or unsafe. In addition to proper namespacing, a safe sysctl must be properly isolated between pods on the same node. This means that setting a safe sysctl for one podmust not have any influence on any other pod on the nodemust not allow to harm the node's healthmust not allow to gain CPU or memory resources outside of the resource limits of a pod.By far, most of the namespaced sysctls are not necessarily considered safe. The following sysctls are supported in the safe set:kernel.shm_rmid_forced;net.ipv4.ip_local_port_range;net.ipv4.tcp_syncookies;net.ipv4.ping_group_range (since Kubernetes 1.18);net.ipv4.ip_unprivileged_port_start (since Kubernetes 1.22);net.ipv4.ip_local_reserved_ports (since Kubernetes 1.27, needs kernel 3.16+);net.ipv4.tcp_keepalive_time (since Kubernetes 1.29, needs kernel 4.5+);net.ipv4.tcp_fin_timeout (since Kubernetes 1.29, needs kernel 4.6+);net.ipv4.tcp_keepalive_intvl (since Kubernetes 1.29, needs kernel 4.5+);net.ipv4.tcp_keepalive_probes (since Kubernetes 1.29, needs kernel 4.5+).net.ipv4.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/",
    "id": "k8s_00072_qa_1232"
  },
  {
    "question": "When would you use Using sysctls in a Kubernetes Cluster?",
    "answer": "Using sysctls in a Kubernetes ClusterFEATURE STATE: Kubernetes v1.21 [stable]This document describes how to configure and use kernel parameters within a Kubernetes cluster using the sysctl interface.Note:Starting from Kubernetes version 1.23, the kubelet supports the use of either / or . as separators for sysctl names. Starting from Kubernetes version 1.25, setting Sysctls for a Pod supports setting sysctls with slashes. For example, you can represent the same sysctl name as kernel.shm_rmid_forced using a period as the separator, or as kernel/shm_rmid_forced using a slash as a separator. For more sysctl parameter conversion method details, please refer to the page sysctl.d(5) from the Linux man-pages project.Before you beginNote:sysctl is a Linux-specific command-line tool used to configure various kernel parameters and it is not available on non-Linux operating systems.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesFor some steps, you also need to be able to reconfigure the command line options for the kubelets running on your cluster.Listing all Sysctl ParametersIn Linux, the sysctl interface allows an administrator to modify kernel parameters at runtime. Parameters are available via the /proc/sys/ virtual process file system. The parameters cover various subsystems such as:kernel (common prefix: kernel.)networking (common prefix: net.)virtual memory (common prefix: vm.)MDADM (common prefix: dev.)More subsystems are described in Kernel docs.To get a list of all parameters, you can runsudo sysctl -a Safe and Unsafe SysctlsKubernetes classes sysctls as either safe or unsafe. In addition to proper namespacing, a safe sysctl must be properly isolated between pods on the same node. This means that setting a safe sysctl for one podmust not have any influence on any other pod on the nodemust not allow to harm the node's healthmust not allow to gain CPU or memory resources outside of the resource limits of a pod.By far, most of the namespaced sysctls are not necessarily considered safe. The following sysctls are supported in the safe set:kernel.shm_rmid_forced;net.ipv4.ip_local_port_range;net.ipv4.tcp_syncookies;net.ipv4.ping_group_range (since Kubernetes 1.18);net.ipv4.ip_unprivileged_port_start (since Kubernetes 1.22);net.ipv4.ip_local_reserved_ports (since Kubernetes 1.27, needs kernel 3.16+);net.ipv4.tcp_keepalive_time (since Kubernetes 1.29, needs kernel 4.5+);net.ipv4.tcp_fin_timeout (since Kubernetes 1.29, needs kernel 4.6+);net.ipv4.tcp_keepalive_intvl (since Kubernetes 1.29, needs kernel 4.5+);net.ipv4.tcp_keepalive_probes (since Kubernetes 1.29, needs kernel 4.5+).net.ipv4.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/",
    "id": "k8s_00072_qa_1233"
  },
  {
    "question": "What are the benefits of Using sysctls in a Kubernetes Cluster?",
    "answer": "Using sysctls in a Kubernetes ClusterFEATURE STATE: Kubernetes v1.21 [stable]This document describes how to configure and use kernel parameters within a Kubernetes cluster using the sysctl interface.Note:Starting from Kubernetes version 1.23, the kubelet supports the use of either / or . as separators for sysctl names. Starting from Kubernetes version 1.25, setting Sysctls for a Pod supports setting sysctls with slashes. For example, you can represent the same sysctl name as kernel.shm_rmid_forced using a period as the separator, or as kernel/shm_rmid_forced using a slash as a separator. For more sysctl parameter conversion method details, please refer to the page sysctl.d(5) from the Linux man-pages project.Before you beginNote:sysctl is a Linux-specific command-line tool used to configure various kernel parameters and it is not available on non-Linux operating systems.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesFor some steps, you also need to be able to reconfigure the command line options for the kubelets running on your cluster.Listing all Sysctl ParametersIn Linux, the sysctl interface allows an administrator to modify kernel parameters at runtime. Parameters are available via the /proc/sys/ virtual process file system. The parameters cover various subsystems such as:kernel (common prefix: kernel.)networking (common prefix: net.)virtual memory (common prefix: vm.)MDADM (common prefix: dev.)More subsystems are described in Kernel docs.To get a list of all parameters, you can runsudo sysctl -a Safe and Unsafe SysctlsKubernetes classes sysctls as either safe or unsafe. In addition to proper namespacing, a safe sysctl must be properly isolated between pods on the same node. This means that setting a safe sysctl for one podmust not have any influence on any other pod on the nodemust not allow to harm the node's healthmust not allow to gain CPU or memory resources outside of the resource limits of a pod.By far, most of the namespaced sysctls are not necessarily considered safe. The following sysctls are supported in the safe set:kernel.shm_rmid_forced;net.ipv4.ip_local_port_range;net.ipv4.tcp_syncookies;net.ipv4.ping_group_range (since Kubernetes 1.18);net.ipv4.ip_unprivileged_port_start (since Kubernetes 1.22);net.ipv4.ip_local_reserved_ports (since Kubernetes 1.27, needs kernel 3.16+);net.ipv4.tcp_keepalive_time (since Kubernetes 1.29, needs kernel 4.5+);net.ipv4.tcp_fin_timeout (since Kubernetes 1.29, needs kernel 4.6+);net.ipv4.tcp_keepalive_intvl (since Kubernetes 1.29, needs kernel 4.5+);net.ipv4.tcp_keepalive_probes (since Kubernetes 1.29, needs kernel 4.5+).net.ipv4.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/",
    "id": "k8s_00072_qa_1234"
  },
  {
    "question": "What is Using sysctls in a Kubernetes Cluster?",
    "answer": "T h i s   d o c u m e n t   d e s c r i b e s   h o w   t o   c o n f i g u r e   a n d   u s e   k e r n e l   p a r a m e t e r s   w i t h i n   a   K u b e r n e t e s   c l u s t e r   u s i n g   t h e   s y s c t l   i n t e r f a c e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/",
    "id": "k8s_00072_section_1_1235"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   F o r   s o m e   s t e p s ,   y o u   a l s o   n e e d   t o   b e   a b l e   t o   r e c o n f i g u r e   t h e   c o m m a n d   l i n e   o p t i o n s   f o r   t h e   k u b e l e t s   r u n n i n g   o n   y o u r   c l u s t e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/",
    "id": "k8s_00072_section_4_1236"
  },
  {
    "question": "What is Listing all Sysctl Parameters?",
    "answer": "I n   L i n u x ,   t h e   s y s c t l   i n t e r f a c e   a l l o w s   a n   a d m i n i s t r a t o r   t o   m o d i f y   k e r n e l   p a r a m e t e r s   a t   r u n t i m e .   P a r a m e t e r s   a r e   a v a i l a b l e   v i a   t h e   / p r o c / s y s /   v i r t u a l   p r o c e s s   f i l e   s y s t e m .   T h e   p a r a m e t e r s   c o v e r   v a r i o u s   s u b s y s t e m s   s u c h   a s :   k e r n e l   ( c o m m o n   p r e f i x :   k e r n e l . ) n e t w o r k i n g   ( c o m m o n   p r e f i x :   n e t . ) v i r t u a l   m e m o r y   ( c o m m o n   p r e f i x :   v m . ) M D A D M   ( c o m m o n   p r e f i x :   d e v . ) M o r e   s u b s y s t e m s   a r e   d e s c r i b e d   i n   K e r n e l   d o c s .   T o   g e t   a   l i s t   o f   a l l   p a r a m e t e r s ,   y o u   c a n   r u n   s u d o   s y s c t l   - a",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/",
    "id": "k8s_00072_section_2_1237"
  },
  {
    "question": "What is Safe and Unsafe Sysctls?",
    "answer": "K u b e r n e t e s   c l a s s e s   s y s c t l s   a s   e i t h e r   s a f e   o r   u n s a f e .   I n   a d d i t i o n   t o   p r o p e r   n a m e s p a c i n g ,   a   s a f e   s y s c t l   m u s t   b e   p r o p e r l y   i s o l a t e d   b e t w e e n   p o d s   o n   t h e   s a m e   n o d e .   T h i s   m e a n s   t h a t   s e t t i n g   a   s a f e   s y s c t l   f o r   o n e   p o d   m u s t   n o t   h a v e   a n y   i n f l u e n c e   o n   a n y   o t h e r   p o d   o n   t h e   n o d e m u s t   n o t   a l l o w   t o   h a r m   t h e   n o d e ' s   h e a l t h m u s t   n o t   a l l o w   t o   g a i n   C P U   o r   m e m o r y   r e s o u r c e s   o u t s i d e   o f   t h e   r e s o u r c e   l i m i t s   o f   a   p o d .   B y   f a r ,   m o s t   o f   t h e   n a m e s p a c e d   s y s c t l s   a r e   n o t   n e c e s s a r i l y   c o n s i d e r e d   s a f e .   T h e   f o l l o w i n g   s y s c t l s   a r e   s u p p o r t e d   i n   t h e   s a f e   s e t :   k e r n e l . s h m _ r m i d _ f o r c e d ; n e t . i p v 4 . i p _ l o c a l _ p o r t _ r a n g e ; n e t . i p v 4 . t c p _ s y n c o o k i e s ; n e t . i p v 4 . p i n g _ g r o u p _ r a n g e   ( s i n c e   K u b e r n e t e s   1 . 1 8 ) ; n e t . i p v 4 . i p _ u n p r i v i l e g e d _ p o r t _ s t a r t   ( s i n c e   K u b e r n e t e s   1 . 2 2 ) ; n e t . i p v 4 . i p _ l o c a l _ r e s e r v e d _ p o r t s   ( s i n c e   K u b e r n e t e s   1 . 2 7 ,   n e e d s   k e r n e l   3 . 1 6 + ) ; n e t . i p v 4 . t c p _ k e e p a l i v e _ t i m e   ( s i n c e   K u b e r n e t e s   1 . 2 9 ,   n e e d s   k e r n e l   4 . 5 + ) ; n e t . i p v 4 . t c p _ f i n _ t i m e o u t   ( s i n c e   K u b e r n e t e s   1 . 2 9 ,   n e e d s   k e r n e l   4 . 6 + ) ; n e t . i p v 4 . t c p _ k e e p a l i v e _ i n t v l   ( s i n c e   K u b e r n e t e s   1 . 2 9 ,   n e e d s   k e r n e l   4 . 5 + ) ; n e t . ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/",
    "id": "k8s_00072_section_2_1238"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e r e   a r e   s o m e   e x c e p t i o n s   t o   t h e   s e t   o f   s a f e   s y s c t l s :   T h e   n e t . *   s y s c t l s   a r e   n o t   a l l o w e d   w i t h   h o s t   n e t w o r k i n g   e n a b l e d . T h e   n e t . i p v 4 . t c p _ s y n c o o k i e s   s y s c t l   i s   n o t   n a m e s p a c e d   o n   L i n u x   k e r n e l   v e r s i o n   4 . 5   o r   l o w e r .   T h i s   l i s t   w i l l   b e   e x t e n d e d   i n   f u t u r e   K u b e r n e t e s   v e r s i o n s   w h e n   t h e   k u b e l e t   s u p p o r t s   b e t t e r   i s o l a t i o n   m e c h a n i s m s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/",
    "id": "k8s_00072_section_4_1239"
  },
  {
    "question": "What is Enabling Unsafe Sysctls?",
    "answer": "A l l   s a f e   s y s c t l s   a r e   e n a b l e d   b y   d e f a u l t .   A l l   u n s a f e   s y s c t l s   a r e   d i s a b l e d   b y   d e f a u l t   a n d   m u s t   b e   a l l o w e d   m a n u a l l y   b y   t h e   c l u s t e r   a d m i n   o n   a   p e r - n o d e   b a s i s .   P o d s   w i t h   d i s a b l e d   u n s a f e   s y s c t l s   w i l l   b e   s c h e d u l e d ,   b u t   w i l l   f a i l   t o   l a u n c h .   W i t h   t h e   w a r n i n g   a b o v e   i n   m i n d ,   t h e   c l u s t e r   a d m i n   c a n   a l l o w   c e r t a i n   u n s a f e   s y s c t l s   f o r   v e r y   s p e c i a l   s i t u a t i o n s   s u c h   a s   h i g h - p e r f o r m a n c e   o r   r e a l - t i m e   a p p l i c a t i o n   t u n i n g .   U n s a f e   s y s c t l s   a r e   e n a b l e d   o n   a   n o d e - b y - n o d e   b a s i s   w i t h   a   f l a g   o f   t h e   k u b e l e t ;   f o r   e x a m p l e :   k u b e l e t   - - a l l o w e d - u n s a f e - s y s c t l s   \\   ' k e r n e l . m s g * , n e t . c o r e . s o m a x c o n n '   . . .   F o r   M i n i k u b e ,   t h i s   c a n   b e   d o n e   v i a   t h e   e x t r a - c o n f i g   f l a g :   m i n i k u b e   s t a r t   - - e x t r a - c o n f i g = \" k u b e l e t . a l l o w e d - u n s a f e - s y s c t l s = k e r n e l . m s g * , n e t . c o r e . s o m a x c o n n \" . . .   O n l y   n a m e s p a c e d   s y s c t l s   c a n   b e   e n a b l e d   t h i s   w a y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/",
    "id": "k8s_00072_section_3_1240"
  },
  {
    "question": "What is Setting Sysctls for a Pod?",
    "answer": "A   n u m b e r   o f   s y s c t l s   a r e   n a m e s p a c e d   i n   t o d a y ' s   L i n u x   k e r n e l s .   T h i s   m e a n s   t h a t   t h e y   c a n   b e   s e t   i n d e p e n d e n t l y   f o r   e a c h   p o d   o n   a   n o d e .   O n l y   n a m e s p a c e d   s y s c t l s   a r e   c o n f i g u r a b l e   v i a   t h e   p o d   s e c u r i t y C o n t e x t   w i t h i n   K u b e r n e t e s .   T h e   f o l l o w i n g   s y s c t l s   a r e   k n o w n   t o   b e   n a m e s p a c e d .   T h i s   l i s t   c o u l d   c h a n g e   i n   f u t u r e   v e r s i o n s   o f   t h e   L i n u x   k e r n e l .   k e r n e l . s h m * , k e r n e l . m s g * , k e r n e l . s e m , f s . m q u e u e . * , T h o s e   n e t . *   t h a t   c a n   b e   s e t   i n   c o n t a i n e r   n e t w o r k i n g   n a m e s p a c e .   H o w e v e r ,   t h e r e   a r e   e x c e p t i o n s   ( e . g . ,   n e t . n e t f i l t e r . n f _ c o n n t r a c k _ m a x   a n d   n e t . n e t f i l t e r . n f _ c o n n t r a c k _ e x p e c t _ m a x   c a n   b e   s e t   i n   c o n t a i n e r   n e t w o r k i n g   n a m e s p a c e   b u t   a r e   u n n a m e s p a c e d   b e f o r e   L i n u x   5 . 1 2 . 2 ) .   S y s c t l s   w i t h   n o   n a m e s p a c e   a r e   c a l l e d   n o d e - l e v e l   s y s c t l s .   I f   y o u   n e e d   t o   s e t   t h e m ,   y o u   m u s t   m a n u a l l y   c o n f i g u r e   t h e m   o n   e a c h   n o d e ' s   o p e r a t i n g   s y s t e m ,   o r   b y   u s i n g   a   D a e m o n S e t   w i t h   p r i v i l e g e d   c o n t a i n e r s .   U s e   t h e   p o d   s e c u r i t y C o n t e x t   t o   c o n f i g u r e   n a m e s p a c e d   s y s c t l s .   T h e   s e c u r i t y C o n t e x t   a p p l i e s   t o   a l l   c o n t a i n e r s   i n   t h e   s a m e   p o d .   T h i s   e x a m p l e   u s e s   t h e   p o d   s e c u r i t y C o ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/",
    "id": "k8s_00072_section_2_1241"
  },
  {
    "question": "What is Warning:?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s y s c t l - e x a m p l e   s p e c :   s e c u r i t y C o n t e x t :   s y s c t l s :   -   n a m e :   k e r n e l . s h m _ r m i d _ f o r c e d   v a l u e :   \" 0 \"   -   n a m e :   n e t . c o r e . s o m a x c o n n   v a l u e :   \" 1 0 2 4 \"   -   n a m e :   k e r n e l . m s g m a x   v a l u e :   \" 6 5 5 3 6 \"   . . .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/",
    "id": "k8s_00072_section_4_1242"
  },
  {
    "question": "What is Warning:?",
    "answer": "I t   i s   g o o d   p r a c t i c e   t o   c o n s i d e r   n o d e s   w i t h   s p e c i a l   s y s c t l   s e t t i n g s   a s   t a i n t e d   w i t h i n   a   c l u s t e r ,   a n d   o n l y   s c h e d u l e   p o d s   o n t o   t h e m   w h i c h   n e e d   t h o s e   s y s c t l   s e t t i n g s .   I t   i s   s u g g e s t e d   t o   u s e   t h e   K u b e r n e t e s   t a i n t s   a n d   t o l e r a t i o n   f e a t u r e   t o   i m p l e m e n t   t h i s .   A   p o d   w i t h   t h e   u n s a f e   s y s c t l s   w i l l   f a i l   t o   l a u n c h   o n   a n y   n o d e   w h i c h   h a s   n o t   e n a b l e d   t h o s e   t w o   u n s a f e   s y s c t l s   e x p l i c i t l y .   A s   w i t h   n o d e - l e v e l   s y s c t l s   i t   i s   r e c o m m e n d e d   t o   u s e   t a i n t s   a n d   t o l e r a t i o n   f e a t u r e   o r   t a i n t s   o n   n o d e s   t o   s c h e d u l e   t h o s e   p o d s   o n t o   t h e   r i g h t   n o d e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/",
    "id": "k8s_00072_section_4_1243"
  },
  {
    "question": "What is Determine the Reason for Pod Failure?",
    "answer": "Determine the Reason for Pod FailureThis page shows how to write and read a Container termination message.Termination messages provide a way for containers to write information about fatal events to a location where it can be easily retrieved and surfaced by tools like dashboards and monitoring software. In most cases, information that you put in a termination message should also be written to the general Kubernetes logs.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesWriting and reading a termination messageIn this exercise, you create a Pod that runs one container. The manifest for that Pod specifies a command that runs when the container starts:debug/termination.yaml apiVersion: v1 kind: Pod metadata: name: termination-demo spec: containers: - name: termination-demo-container image: debian command: [\"/bin/sh\"] args: [\"-c\", \"sleep 10 && echo Sleep expired > /dev/termination-log\"] Create a Pod based on the YAML configuration file:kubectl apply -f https://k8s.io/examples/debug/termination.yaml In the YAML file, in the command and args fields, you can see that the container sleeps for 10 seconds and then writes \"Sleep expired\" to the /dev/termination-log file. After the container writes the \"Sleep expired\" message, it terminates.Display information about the Pod:kubectl get pod termination-demo Repeat the preceding command until the Pod is no longer running.Display detailed information about the Pod:kubectl get pod termination-demo --output=yaml The output includes the \"Sleep expired\" message:apiVersion: v1 kind: Pod ... lastState: terminated: containerID: ... exitCode: 0 finishedAt: ... message: | Sleep expired ... Use a Go template to filter the output so that it includes only the termination message:kubectl get pod termination-demo -o go-template=\"{{range .status.containerStatuses}}{{.lastState.terminated.message}}{{end}}\" If you are running a multi-container Pod, you can use a Go template to include the container's name. By doing so, you can discover which of the containers is failing:kubectl get pod multi-container-pod -o go-template='{{range .status.containerStatuses}}{{printf \"%s:\\n%s\\n\\n\" .name .lastState.terminated.message}}{{end}}' Customizing the termination messageKubernetes retrieves termination messages from the termination message file specified in the terminationMessagePath field of a Container, which has a default value of /dev/termination-log. By customizing this field, you can tell Kubernetes to use a different file. Kubernetes use the contents from the specified file to populate the Container's status message on both success and failure.The ter",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/determine-reason-pod-failure/",
    "id": "k8s_00073_qa_1244"
  },
  {
    "question": "How does Determine the Reason for Pod Failure work?",
    "answer": "Determine the Reason for Pod FailureThis page shows how to write and read a Container termination message.Termination messages provide a way for containers to write information about fatal events to a location where it can be easily retrieved and surfaced by tools like dashboards and monitoring software. In most cases, information that you put in a termination message should also be written to the general Kubernetes logs.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesWriting and reading a termination messageIn this exercise, you create a Pod that runs one container. The manifest for that Pod specifies a command that runs when the container starts:debug/termination.yaml apiVersion: v1 kind: Pod metadata: name: termination-demo spec: containers: - name: termination-demo-container image: debian command: [\"/bin/sh\"] args: [\"-c\", \"sleep 10 && echo Sleep expired > /dev/termination-log\"] Create a Pod based on the YAML configuration file:kubectl apply -f https://k8s.io/examples/debug/termination.yaml In the YAML file, in the command and args fields, you can see that the container sleeps for 10 seconds and then writes \"Sleep expired\" to the /dev/termination-log file. After the container writes the \"Sleep expired\" message, it terminates.Display information about the Pod:kubectl get pod termination-demo Repeat the preceding command until the Pod is no longer running.Display detailed information about the Pod:kubectl get pod termination-demo --output=yaml The output includes the \"Sleep expired\" message:apiVersion: v1 kind: Pod ... lastState: terminated: containerID: ... exitCode: 0 finishedAt: ... message: | Sleep expired ... Use a Go template to filter the output so that it includes only the termination message:kubectl get pod termination-demo -o go-template=\"{{range .status.containerStatuses}}{{.lastState.terminated.message}}{{end}}\" If you are running a multi-container Pod, you can use a Go template to include the container's name. By doing so, you can discover which of the containers is failing:kubectl get pod multi-container-pod -o go-template='{{range .status.containerStatuses}}{{printf \"%s:\\n%s\\n\\n\" .name .lastState.terminated.message}}{{end}}' Customizing the termination messageKubernetes retrieves termination messages from the termination message file specified in the terminationMessagePath field of a Container, which has a default value of /dev/termination-log. By customizing this field, you can tell Kubernetes to use a different file. Kubernetes use the contents from the specified file to populate the Container's status message on both success and failure.The ter",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/determine-reason-pod-failure/",
    "id": "k8s_00073_qa_1245"
  },
  {
    "question": "When would you use Determine the Reason for Pod Failure?",
    "answer": "Determine the Reason for Pod FailureThis page shows how to write and read a Container termination message.Termination messages provide a way for containers to write information about fatal events to a location where it can be easily retrieved and surfaced by tools like dashboards and monitoring software. In most cases, information that you put in a termination message should also be written to the general Kubernetes logs.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesWriting and reading a termination messageIn this exercise, you create a Pod that runs one container. The manifest for that Pod specifies a command that runs when the container starts:debug/termination.yaml apiVersion: v1 kind: Pod metadata: name: termination-demo spec: containers: - name: termination-demo-container image: debian command: [\"/bin/sh\"] args: [\"-c\", \"sleep 10 && echo Sleep expired > /dev/termination-log\"] Create a Pod based on the YAML configuration file:kubectl apply -f https://k8s.io/examples/debug/termination.yaml In the YAML file, in the command and args fields, you can see that the container sleeps for 10 seconds and then writes \"Sleep expired\" to the /dev/termination-log file. After the container writes the \"Sleep expired\" message, it terminates.Display information about the Pod:kubectl get pod termination-demo Repeat the preceding command until the Pod is no longer running.Display detailed information about the Pod:kubectl get pod termination-demo --output=yaml The output includes the \"Sleep expired\" message:apiVersion: v1 kind: Pod ... lastState: terminated: containerID: ... exitCode: 0 finishedAt: ... message: | Sleep expired ... Use a Go template to filter the output so that it includes only the termination message:kubectl get pod termination-demo -o go-template=\"{{range .status.containerStatuses}}{{.lastState.terminated.message}}{{end}}\" If you are running a multi-container Pod, you can use a Go template to include the container's name. By doing so, you can discover which of the containers is failing:kubectl get pod multi-container-pod -o go-template='{{range .status.containerStatuses}}{{printf \"%s:\\n%s\\n\\n\" .name .lastState.terminated.message}}{{end}}' Customizing the termination messageKubernetes retrieves termination messages from the termination message file specified in the terminationMessagePath field of a Container, which has a default value of /dev/termination-log. By customizing this field, you can tell Kubernetes to use a different file. Kubernetes use the contents from the specified file to populate the Container's status message on both success and failure.The ter",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/determine-reason-pod-failure/",
    "id": "k8s_00073_qa_1246"
  },
  {
    "question": "What are the benefits of Determine the Reason for Pod Failure?",
    "answer": "Determine the Reason for Pod FailureThis page shows how to write and read a Container termination message.Termination messages provide a way for containers to write information about fatal events to a location where it can be easily retrieved and surfaced by tools like dashboards and monitoring software. In most cases, information that you put in a termination message should also be written to the general Kubernetes logs.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesWriting and reading a termination messageIn this exercise, you create a Pod that runs one container. The manifest for that Pod specifies a command that runs when the container starts:debug/termination.yaml apiVersion: v1 kind: Pod metadata: name: termination-demo spec: containers: - name: termination-demo-container image: debian command: [\"/bin/sh\"] args: [\"-c\", \"sleep 10 && echo Sleep expired > /dev/termination-log\"] Create a Pod based on the YAML configuration file:kubectl apply -f https://k8s.io/examples/debug/termination.yaml In the YAML file, in the command and args fields, you can see that the container sleeps for 10 seconds and then writes \"Sleep expired\" to the /dev/termination-log file. After the container writes the \"Sleep expired\" message, it terminates.Display information about the Pod:kubectl get pod termination-demo Repeat the preceding command until the Pod is no longer running.Display detailed information about the Pod:kubectl get pod termination-demo --output=yaml The output includes the \"Sleep expired\" message:apiVersion: v1 kind: Pod ... lastState: terminated: containerID: ... exitCode: 0 finishedAt: ... message: | Sleep expired ... Use a Go template to filter the output so that it includes only the termination message:kubectl get pod termination-demo -o go-template=\"{{range .status.containerStatuses}}{{.lastState.terminated.message}}{{end}}\" If you are running a multi-container Pod, you can use a Go template to include the container's name. By doing so, you can discover which of the containers is failing:kubectl get pod multi-container-pod -o go-template='{{range .status.containerStatuses}}{{printf \"%s:\\n%s\\n\\n\" .name .lastState.terminated.message}}{{end}}' Customizing the termination messageKubernetes retrieves termination messages from the termination message file specified in the terminationMessagePath field of a Container, which has a default value of /dev/termination-log. By customizing this field, you can tell Kubernetes to use a different file. Kubernetes use the contents from the specified file to populate the Container's status message on both success and failure.The ter",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/determine-reason-pod-failure/",
    "id": "k8s_00073_qa_1247"
  },
  {
    "question": "What is Determine the Reason for Pod Failure?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   w r i t e   a n d   r e a d   a   C o n t a i n e r   t e r m i n a t i o n   m e s s a g e .   T e r m i n a t i o n   m e s s a g e s   p r o v i d e   a   w a y   f o r   c o n t a i n e r s   t o   w r i t e   i n f o r m a t i o n   a b o u t   f a t a l   e v e n t s   t o   a   l o c a t i o n   w h e r e   i t   c a n   b e   e a s i l y   r e t r i e v e d   a n d   s u r f a c e d   b y   t o o l s   l i k e   d a s h b o a r d s   a n d   m o n i t o r i n g   s o f t w a r e .   I n   m o s t   c a s e s ,   i n f o r m a t i o n   t h a t   y o u   p u t   i n   a   t e r m i n a t i o n   m e s s a g e   s h o u l d   a l s o   b e   w r i t t e n   t o   t h e   g e n e r a l   K u b e r n e t e s   l o g s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/determine-reason-pod-failure/",
    "id": "k8s_00073_section_1_1248"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/determine-reason-pod-failure/",
    "id": "k8s_00073_section_2_1249"
  },
  {
    "question": "What is Writing and reading a termination message?",
    "answer": "I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   r u n s   o n e   c o n t a i n e r .   T h e   m a n i f e s t   f o r   t h a t   P o d   s p e c i f i e s   a   c o m m a n d   t h a t   r u n s   w h e n   t h e   c o n t a i n e r   s t a r t s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e r m i n a t i o n - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   t e r m i n a t i o n - d e m o - c o n t a i n e r   i m a g e :   d e b i a n   c o m m a n d :   [ \" / b i n / s h \" ]   a r g s :   [ \" - c \" ,   \" s l e e p   1 0   & &   e c h o   S l e e p   e x p i r e d   >   / d e v / t e r m i n a t i o n - l o g \" ]   C r e a t e   a   P o d   b a s e d   o n   t h e   Y A M L   c o n f i g u r a t i o n   f i l e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d e b u g / t e r m i n a t i o n . y a m l   I n   t h e   Y A M L   f i l e ,   i n   t h e   c o m m a n d   a n d   a r g s   f i e l d s ,   y o u   c a n   s e e   t h a t   t h e   c o n t a i n e r   s l e e p s   f o r   1 0   s e c o n d s   a n d   t h e n   w r i t e s   \" S l e e p   e x p i r e d \"   t o   t h e   / d e v / t e r m i n a t i o n - l o g   f i l e .   A f t e r   t h e   c o n t a i n e r   w r i t e s   t h e   \" S l e e p   e x p i r e d \"   m e s s a g e ,   i t   t e r m i n a t e s . D i s p l a y   i n f o r m a t i o n   a b o u t   t h e   P o d : k u b e c t l   g e t   p o d   t e r m i n a t i o n - d e m o   R e p e a t   t h e   p r e c e d i n g   c o m m a n d   u n t i l   t h e   P o d   i s   n o   l o n g e r   r u n n i n g . D i s p l a y   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   P o d : k u b e c t l   g e t   p o d   t e r m i n a t i o n - d e m o   - - o u t p u t = y a m l   T h e   o u t p u t   i n c l u d e s   t h e   \" S l e e p   e x p i r e d \"   m e s s a g e : a p i V e r s i o n :   v 1   k i n d ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/determine-reason-pod-failure/",
    "id": "k8s_00073_section_2_1250"
  },
  {
    "question": "What is Customizing the termination message?",
    "answer": "K u b e r n e t e s   r e t r i e v e s   t e r m i n a t i o n   m e s s a g e s   f r o m   t h e   t e r m i n a t i o n   m e s s a g e   f i l e   s p e c i f i e d   i n   t h e   t e r m i n a t i o n M e s s a g e P a t h   f i e l d   o f   a   C o n t a i n e r ,   w h i c h   h a s   a   d e f a u l t   v a l u e   o f   / d e v / t e r m i n a t i o n - l o g .   B y   c u s t o m i z i n g   t h i s   f i e l d ,   y o u   c a n   t e l l   K u b e r n e t e s   t o   u s e   a   d i f f e r e n t   f i l e .   K u b e r n e t e s   u s e   t h e   c o n t e n t s   f r o m   t h e   s p e c i f i e d   f i l e   t o   p o p u l a t e   t h e   C o n t a i n e r ' s   s t a t u s   m e s s a g e   o n   b o t h   s u c c e s s   a n d   f a i l u r e .   T h e   t e r m i n a t i o n   m e s s a g e   i s   i n t e n d e d   t o   b e   b r i e f   f i n a l   s t a t u s ,   s u c h   a s   a n   a s s e r t i o n   f a i l u r e   m e s s a g e .   T h e   k u b e l e t   t r u n c a t e s   m e s s a g e s   t h a t   a r e   l o n g e r   t h a n   4 0 9 6   b y t e s .   T h e   t o t a l   m e s s a g e   l e n g t h   a c r o s s   a l l   c o n t a i n e r s   i s   l i m i t e d   t o   1 2 K i B ,   d i v i d e d   e q u a l l y   a m o n g   e a c h   c o n t a i n e r .   F o r   e x a m p l e ,   i f   t h e r e   a r e   1 2   c o n t a i n e r s   ( i n i t C o n t a i n e r s   o r   c o n t a i n e r s ) ,   e a c h   h a s   1 0 2 4   b y t e s   o f   a v a i l a b l e   t e r m i n a t i o n   m e s s a g e   s p a c e .   T h e   d e f a u l t   t e r m i n a t i o n   m e s s a g e   p a t h   i s   / d e v / t e r m i n a t i o n - l o g .   Y o u   c a n n o t   s e t   t h e   t e r m i n a t i o n   m e s s a g e   p a t h   a f t e r   a   P o d   i s   l a u n c h e d .   I n   t h e   f o l l o w i n g   e x a m p l e ,   t h e   c o n t a i n e r   w r i t e s   t e r m i n a t i o n   m e s s a g e s   t o   / t m p / m y ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/determine-reason-pod-failure/",
    "id": "k8s_00073_section_2_1251"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   t h e   t e r m i n a t i o n M e s s a g e P a t h   f i e l d   i n   C o n t a i n e r . S e e   I m a g e P u l l B a c k O f f   i n   I m a g e s . L e a r n   a b o u t   r e t r i e v i n g   l o g s . L e a r n   a b o u t   G o   t e m p l a t e s . L e a r n   a b o u t   P o d   s t a t u s   a n d   P o d   p h a s e . L e a r n   a b o u t   c o n t a i n e r   s t a t e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/determine-reason-pod-failure/",
    "id": "k8s_00073_section_2_1252"
  },
  {
    "question": "What is Changing the Container Runtime on a Node from Docker Engine to containerd?",
    "answer": "Changing the Container Runtime on a Node from Docker Engine to containerdThis task outlines the steps needed to update your container runtime to containerd from Docker. It is applicable for cluster operators running Kubernetes 1.23 or earlier. This also covers an example scenario for migrating from dockershim to containerd. Alternative container runtimes can be picked from this page.Before you beginNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Install containerd. For more information see containerd's installation documentation and for specific prerequisite follow the containerd guide.Drain the nodekubectl drain <node-to-drain> --ignore-daemonsets Replace <node-to-drain> with the name of your node you are draining.Stop the Docker daemonsystemctl stop kubelet systemctl disable docker.service --now Install ContainerdFollow the guide for detailed steps to install containerd.Install the containerd.io package from the official Docker repositories. Instructions for setting up the Docker repository for your respective Linux distribution and installing the containerd.io package can be found at Getting started with containerd.Configure containerd:sudo mkdir -p /etc/containerd containerd config default | sudo tee /etc/containerd/config.toml Restart containerd:sudo systemctl restart containerd Start a Powershell session, set $Version to the desired version (ex: $Version=\"1.4.3\"), and then run the following commands:Download containerd:curl.exe -L https://github.com/containerd/containerd/releases/download/v$Version/containerd-$Version-windows-amd64.tar.gz -o containerd-windows-amd64.tar.gz tar.exe xvf .\\containerd-windows-amd64.tar.gz Extract and configure:Copy-Item -Path \".\\bin\\\" -Destination \"$Env:ProgramFiles\\containerd\" -Recurse -Force cd $Env:ProgramFiles\\containerd\\ .\\containerd.exe config default | Out-File config.toml -Encoding ascii # Review the configuration. Depending on setup you may want to adjust: # - the sandbox_image (Kubernetes pause image) # - cni bin_dir and conf_dir locations Get-Content config.toml # (Optional - but highly recommended) Exclude containerd from Windows Defender Scans Add-MpPreference -ExclusionProcess \"$Env:ProgramFiles\\containerd\\containerd.exe\" Start containerd:.\\containerd.exe --register-service Start-Service containerd Configure the kubelet to use containerd as its container runtimeEdit the file /var/lib/kubelet/kubeadm-flags.env and add the containerd runtime to the flags; --container-runtime-endpoint=unix:///run/containerd/containerd.sock.Users using kubeadm should be aware that the kubeadm tool stores the host's CRI socket in the/var/lib/kubelet/instance-config.yaml file on each node. You can create this /var/lib/kubelet/instance-config.yaml file on the node.The /va",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/change-runtime-containerd/",
    "id": "k8s_00074_qa_1253"
  },
  {
    "question": "How does Changing the Container Runtime on a Node from Docker Engine to containerd work?",
    "answer": "Changing the Container Runtime on a Node from Docker Engine to containerdThis task outlines the steps needed to update your container runtime to containerd from Docker. It is applicable for cluster operators running Kubernetes 1.23 or earlier. This also covers an example scenario for migrating from dockershim to containerd. Alternative container runtimes can be picked from this page.Before you beginNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Install containerd. For more information see containerd's installation documentation and for specific prerequisite follow the containerd guide.Drain the nodekubectl drain <node-to-drain> --ignore-daemonsets Replace <node-to-drain> with the name of your node you are draining.Stop the Docker daemonsystemctl stop kubelet systemctl disable docker.service --now Install ContainerdFollow the guide for detailed steps to install containerd.Install the containerd.io package from the official Docker repositories. Instructions for setting up the Docker repository for your respective Linux distribution and installing the containerd.io package can be found at Getting started with containerd.Configure containerd:sudo mkdir -p /etc/containerd containerd config default | sudo tee /etc/containerd/config.toml Restart containerd:sudo systemctl restart containerd Start a Powershell session, set $Version to the desired version (ex: $Version=\"1.4.3\"), and then run the following commands:Download containerd:curl.exe -L https://github.com/containerd/containerd/releases/download/v$Version/containerd-$Version-windows-amd64.tar.gz -o containerd-windows-amd64.tar.gz tar.exe xvf .\\containerd-windows-amd64.tar.gz Extract and configure:Copy-Item -Path \".\\bin\\\" -Destination \"$Env:ProgramFiles\\containerd\" -Recurse -Force cd $Env:ProgramFiles\\containerd\\ .\\containerd.exe config default | Out-File config.toml -Encoding ascii # Review the configuration. Depending on setup you may want to adjust: # - the sandbox_image (Kubernetes pause image) # - cni bin_dir and conf_dir locations Get-Content config.toml # (Optional - but highly recommended) Exclude containerd from Windows Defender Scans Add-MpPreference -ExclusionProcess \"$Env:ProgramFiles\\containerd\\containerd.exe\" Start containerd:.\\containerd.exe --register-service Start-Service containerd Configure the kubelet to use containerd as its container runtimeEdit the file /var/lib/kubelet/kubeadm-flags.env and add the containerd runtime to the flags; --container-runtime-endpoint=unix:///run/containerd/containerd.sock.Users using kubeadm should be aware that the kubeadm tool stores the host's CRI socket in the/var/lib/kubelet/instance-config.yaml file on each node. You can create this /var/lib/kubelet/instance-config.yaml file on the node.The /va",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/change-runtime-containerd/",
    "id": "k8s_00074_qa_1254"
  },
  {
    "question": "When would you use Changing the Container Runtime on a Node from Docker Engine to containerd?",
    "answer": "Changing the Container Runtime on a Node from Docker Engine to containerdThis task outlines the steps needed to update your container runtime to containerd from Docker. It is applicable for cluster operators running Kubernetes 1.23 or earlier. This also covers an example scenario for migrating from dockershim to containerd. Alternative container runtimes can be picked from this page.Before you beginNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Install containerd. For more information see containerd's installation documentation and for specific prerequisite follow the containerd guide.Drain the nodekubectl drain <node-to-drain> --ignore-daemonsets Replace <node-to-drain> with the name of your node you are draining.Stop the Docker daemonsystemctl stop kubelet systemctl disable docker.service --now Install ContainerdFollow the guide for detailed steps to install containerd.Install the containerd.io package from the official Docker repositories. Instructions for setting up the Docker repository for your respective Linux distribution and installing the containerd.io package can be found at Getting started with containerd.Configure containerd:sudo mkdir -p /etc/containerd containerd config default | sudo tee /etc/containerd/config.toml Restart containerd:sudo systemctl restart containerd Start a Powershell session, set $Version to the desired version (ex: $Version=\"1.4.3\"), and then run the following commands:Download containerd:curl.exe -L https://github.com/containerd/containerd/releases/download/v$Version/containerd-$Version-windows-amd64.tar.gz -o containerd-windows-amd64.tar.gz tar.exe xvf .\\containerd-windows-amd64.tar.gz Extract and configure:Copy-Item -Path \".\\bin\\\" -Destination \"$Env:ProgramFiles\\containerd\" -Recurse -Force cd $Env:ProgramFiles\\containerd\\ .\\containerd.exe config default | Out-File config.toml -Encoding ascii # Review the configuration. Depending on setup you may want to adjust: # - the sandbox_image (Kubernetes pause image) # - cni bin_dir and conf_dir locations Get-Content config.toml # (Optional - but highly recommended) Exclude containerd from Windows Defender Scans Add-MpPreference -ExclusionProcess \"$Env:ProgramFiles\\containerd\\containerd.exe\" Start containerd:.\\containerd.exe --register-service Start-Service containerd Configure the kubelet to use containerd as its container runtimeEdit the file /var/lib/kubelet/kubeadm-flags.env and add the containerd runtime to the flags; --container-runtime-endpoint=unix:///run/containerd/containerd.sock.Users using kubeadm should be aware that the kubeadm tool stores the host's CRI socket in the/var/lib/kubelet/instance-config.yaml file on each node. You can create this /var/lib/kubelet/instance-config.yaml file on the node.The /va",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/change-runtime-containerd/",
    "id": "k8s_00074_qa_1255"
  },
  {
    "question": "What are the benefits of Changing the Container Runtime on a Node from Docker Engine to containerd?",
    "answer": "Changing the Container Runtime on a Node from Docker Engine to containerdThis task outlines the steps needed to update your container runtime to containerd from Docker. It is applicable for cluster operators running Kubernetes 1.23 or earlier. This also covers an example scenario for migrating from dockershim to containerd. Alternative container runtimes can be picked from this page.Before you beginNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Install containerd. For more information see containerd's installation documentation and for specific prerequisite follow the containerd guide.Drain the nodekubectl drain <node-to-drain> --ignore-daemonsets Replace <node-to-drain> with the name of your node you are draining.Stop the Docker daemonsystemctl stop kubelet systemctl disable docker.service --now Install ContainerdFollow the guide for detailed steps to install containerd.Install the containerd.io package from the official Docker repositories. Instructions for setting up the Docker repository for your respective Linux distribution and installing the containerd.io package can be found at Getting started with containerd.Configure containerd:sudo mkdir -p /etc/containerd containerd config default | sudo tee /etc/containerd/config.toml Restart containerd:sudo systemctl restart containerd Start a Powershell session, set $Version to the desired version (ex: $Version=\"1.4.3\"), and then run the following commands:Download containerd:curl.exe -L https://github.com/containerd/containerd/releases/download/v$Version/containerd-$Version-windows-amd64.tar.gz -o containerd-windows-amd64.tar.gz tar.exe xvf .\\containerd-windows-amd64.tar.gz Extract and configure:Copy-Item -Path \".\\bin\\\" -Destination \"$Env:ProgramFiles\\containerd\" -Recurse -Force cd $Env:ProgramFiles\\containerd\\ .\\containerd.exe config default | Out-File config.toml -Encoding ascii # Review the configuration. Depending on setup you may want to adjust: # - the sandbox_image (Kubernetes pause image) # - cni bin_dir and conf_dir locations Get-Content config.toml # (Optional - but highly recommended) Exclude containerd from Windows Defender Scans Add-MpPreference -ExclusionProcess \"$Env:ProgramFiles\\containerd\\containerd.exe\" Start containerd:.\\containerd.exe --register-service Start-Service containerd Configure the kubelet to use containerd as its container runtimeEdit the file /var/lib/kubelet/kubeadm-flags.env and add the containerd runtime to the flags; --container-runtime-endpoint=unix:///run/containerd/containerd.sock.Users using kubeadm should be aware that the kubeadm tool stores the host's CRI socket in the/var/lib/kubelet/instance-config.yaml file on each node. You can create this /var/lib/kubelet/instance-config.yaml file on the node.The /va",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/change-runtime-containerd/",
    "id": "k8s_00074_qa_1256"
  },
  {
    "question": "What is Changing the Container Runtime on a Node from Docker Engine to containerd?",
    "answer": "T h i s   t a s k   o u t l i n e s   t h e   s t e p s   n e e d e d   t o   u p d a t e   y o u r   c o n t a i n e r   r u n t i m e   t o   c o n t a i n e r d   f r o m   D o c k e r .   I t   i s   a p p l i c a b l e   f o r   c l u s t e r   o p e r a t o r s   r u n n i n g   K u b e r n e t e s   1 . 2 3   o r   e a r l i e r .   T h i s   a l s o   c o v e r s   a n   e x a m p l e   s c e n a r i o   f o r   m i g r a t i n g   f r o m   d o c k e r s h i m   t o   c o n t a i n e r d .   A l t e r n a t i v e   c o n t a i n e r   r u n t i m e s   c a n   b e   p i c k e d   f r o m   t h i s   p a g e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/change-runtime-containerd/",
    "id": "k8s_00074_section_1_1257"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n s t a l l   c o n t a i n e r d .   F o r   m o r e   i n f o r m a t i o n   s e e   c o n t a i n e r d ' s   i n s t a l l a t i o n   d o c u m e n t a t i o n   a n d   f o r   s p e c i f i c   p r e r e q u i s i t e   f o l l o w   t h e   c o n t a i n e r d   g u i d e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/change-runtime-containerd/",
    "id": "k8s_00074_section_2_1258"
  },
  {
    "question": "What is Drain the node?",
    "answer": "k u b e c t l   d r a i n   < n o d e - t o - d r a i n >   - - i g n o r e - d a e m o n s e t s   R e p l a c e   < n o d e - t o - d r a i n >   w i t h   t h e   n a m e   o f   y o u r   n o d e   y o u   a r e   d r a i n i n g .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/change-runtime-containerd/",
    "id": "k8s_00074_section_2_1259"
  },
  {
    "question": "What is Stop the Docker daemon?",
    "answer": "s y s t e m c t l   s t o p   k u b e l e t   s y s t e m c t l   d i s a b l e   d o c k e r . s e r v i c e   - - n o w",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/change-runtime-containerd/",
    "id": "k8s_00074_section_2_1260"
  },
  {
    "question": "What is Install Containerd?",
    "answer": "F o l l o w   t h e   g u i d e   f o r   d e t a i l e d   s t e p s   t o   i n s t a l l   c o n t a i n e r d .   I n s t a l l   t h e   c o n t a i n e r d . i o   p a c k a g e   f r o m   t h e   o f f i c i a l   D o c k e r   r e p o s i t o r i e s .   I n s t r u c t i o n s   f o r   s e t t i n g   u p   t h e   D o c k e r   r e p o s i t o r y   f o r   y o u r   r e s p e c t i v e   L i n u x   d i s t r i b u t i o n   a n d   i n s t a l l i n g   t h e   c o n t a i n e r d . i o   p a c k a g e   c a n   b e   f o u n d   a t   G e t t i n g   s t a r t e d   w i t h   c o n t a i n e r d . C o n f i g u r e   c o n t a i n e r d : s u d o   m k d i r   - p   / e t c / c o n t a i n e r d   c o n t a i n e r d   c o n f i g   d e f a u l t   |   s u d o   t e e   / e t c / c o n t a i n e r d / c o n f i g . t o m l   R e s t a r t   c o n t a i n e r d : s u d o   s y s t e m c t l   r e s t a r t   c o n t a i n e r d   I n s t a l l   t h e   c o n t a i n e r d . i o   p a c k a g e   f r o m   t h e   o f f i c i a l   D o c k e r   r e p o s i t o r i e s .   I n s t r u c t i o n s   f o r   s e t t i n g   u p   t h e   D o c k e r   r e p o s i t o r y   f o r   y o u r   r e s p e c t i v e   L i n u x   d i s t r i b u t i o n   a n d   i n s t a l l i n g   t h e   c o n t a i n e r d . i o   p a c k a g e   c a n   b e   f o u n d   a t   G e t t i n g   s t a r t e d   w i t h   c o n t a i n e r d . C o n f i g u r e   c o n t a i n e r d : s u d o   m k d i r   - p   / e t c / c o n t a i n e r d   c o n t a i n e r d   c o n f i g   d e f a u l t   |   s u d o   t e e   / e t c / c o n t a i n e r d / c o n f i g . t o m l   R e s t a r t   c o n t a i n e r d : s u d o   s y s t e m c t l   r e s t a r t   c o n t a i n e r d   I n s t a l l   t h e   c o n t a i n e r d . i o   p a c k a g e   f r o m   t h e   o f f i c i a l   D o c k e r   r e p o s i t o r i e s .   I n s t r u c t i o n s   f o r   s e t t i n g   u p   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/change-runtime-containerd/",
    "id": "k8s_00074_section_2_1261"
  },
  {
    "question": "What is Configure the kubelet to use containerd as its container runtime?",
    "answer": "E d i t   t h e   f i l e   / v a r / l i b / k u b e l e t / k u b e a d m - f l a g s . e n v   a n d   a d d   t h e   c o n t a i n e r d   r u n t i m e   t o   t h e   f l a g s ;   - - c o n t a i n e r - r u n t i m e - e n d p o i n t = u n i x : / / / r u n / c o n t a i n e r d / c o n t a i n e r d . s o c k .   U s e r s   u s i n g   k u b e a d m   s h o u l d   b e   a w a r e   t h a t   t h e   k u b e a d m   t o o l   s t o r e s   t h e   h o s t ' s   C R I   s o c k e t   i n   t h e   / v a r / l i b / k u b e l e t / i n s t a n c e - c o n f i g . y a m l   f i l e   o n   e a c h   n o d e .   Y o u   c a n   c r e a t e   t h i s   / v a r / l i b / k u b e l e t / i n s t a n c e - c o n f i g . y a m l   f i l e   o n   t h e   n o d e .   T h e   / v a r / l i b / k u b e l e t / i n s t a n c e - c o n f i g . y a m l   f i l e   a l l o w s   s e t t i n g   t h e   c o n t a i n e r R u n t i m e E n d p o i n t   p a r a m e t e r .   Y o u   c a n   s e t   t h i s   p a r a m e t e r ' s   v a l u e   t o   t h e   p a t h   o f   y o u r   c h o s e n   C R I   s o c k e t   ( f o r   e x a m p l e   u n i x : / / / r u n / c o n t a i n e r d / c o n t a i n e r d . s o c k ) .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/change-runtime-containerd/",
    "id": "k8s_00074_section_2_1262"
  },
  {
    "question": "What is Restart the kubelet?",
    "answer": "s y s t e m c t l   s t a r t   k u b e l e t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/change-runtime-containerd/",
    "id": "k8s_00074_section_2_1263"
  },
  {
    "question": "What is Verify that the node is healthy?",
    "answer": "R u n   k u b e c t l   g e t   n o d e s   - o   w i d e   a n d   c o n t a i n e r d   a p p e a r s   a s   t h e   r u n t i m e   f o r   t h e   n o d e   w e   j u s t   c h a n g e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/change-runtime-containerd/",
    "id": "k8s_00074_section_2_1264"
  },
  {
    "question": "What is Remove Docker Engine?",
    "answer": "I f   t h e   n o d e   a p p e a r s   h e a l t h y ,   r e m o v e   D o c k e r .   s u d o   y u m   r e m o v e   d o c k e r - c e   d o c k e r - c e - c l i   s u d o   y u m   r e m o v e   d o c k e r - c e   d o c k e r - c e - c l i   s u d o   a p t - g e t   p u r g e   d o c k e r - c e   d o c k e r - c e - c l i   s u d o   a p t - g e t   p u r g e   d o c k e r - c e   d o c k e r - c e - c l i   s u d o   d n f   r e m o v e   d o c k e r - c e   d o c k e r - c e - c l i   s u d o   d n f   r e m o v e   d o c k e r - c e   d o c k e r - c e - c l i   s u d o   a p t - g e t   p u r g e   d o c k e r - c e   d o c k e r - c e - c l i   s u d o   a p t - g e t   p u r g e   d o c k e r - c e   d o c k e r - c e - c l i   T h e   p r e c e d i n g   c o m m a n d s   d o n ' t   r e m o v e   i m a g e s ,   c o n t a i n e r s ,   v o l u m e s ,   o r   c u s t o m i z e d   c o n f i g u r a t i o n   f i l e s   o n   y o u r   h o s t .   T o   d e l e t e   t h e m ,   f o l l o w   D o c k e r ' s   i n s t r u c t i o n s   t o   U n i n s t a l l   D o c k e r   E n g i n e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/change-runtime-containerd/",
    "id": "k8s_00074_section_2_1265"
  },
  {
    "question": "What is Uncordon the node?",
    "answer": "k u b e c t l   u n c o r d o n   < n o d e - t o - u n c o r d o n >   R e p l a c e   < n o d e - t o - u n c o r d o n >   w i t h   t h e   n a m e   o f   y o u r   n o d e   y o u   p r e v i o u s l y   d r a i n e d .   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/change-runtime-containerd/",
    "id": "k8s_00074_section_2_1266"
  },
  {
    "question": "What is Local Files And Paths Used By The Kubelet?",
    "answer": "Local Files And Paths Used By The KubeletThe kubelet is mostly a stateless process running on a Kubernetes node. This document outlines files that kubelet reads and writes.Note:This document is for informational purpose and not describing any guaranteed behaviors or APIs. It lists resources used by the kubelet, which is an implementation detail and a subject to change at any release.The kubelet typically uses the control plane as the source of truth on what needs to run on the Node, and the container runtime to retrieve the current state of containers. So long as you provide a kubeconfig (API client configuration) to the kubelet, the kubelet does connect to your control plane; otherwise the node operates in standalone mode.On Linux nodes, the kubelet also relies on reading cgroups and various system files to collect metrics.On Windows nodes, the kubelet collects metrics via a different mechanism that does not rely on paths.There are also a few other files that are used by the kubelet as well, as kubelet communicates using local Unix-domain sockets. Some are sockets that the kubelet listens on, and for other sockets the kubelet discovers them and then connects as a client.Note:This page lists paths as Linux paths, which map to the Windows paths by adding a root disk C:\\ in place of / (unless specified otherwise). For example, /var/lib/kubelet/device-plugins maps to C:\\var\\lib\\kubelet\\device-plugins.ConfigurationKubelet configuration filesThe path to the kubelet configuration file can be configured using the command line argument --config. The kubelet also supports drop-in configuration files to enhance configuration.CertificatesCertificates and private keys are typically located at /var/lib/kubelet/pki, but can be configured using the --cert-dir kubelet command line argument. Names of certificate files are also configurable.ManifestsManifests for static pods are typically located in /etc/kubernetes/manifests. Location can be configured using the staticPodPath kubelet configuration option.Systemd unit settingsWhen kubelet is running as a systemd unit, some kubelet configuration may be declared in systemd unit settings file. Typically it includes:command line arguments to run kubeletenvironment variables, used by kubelet or configuring golang runtimeStateCheckpoint files for resource managersAll resource managers keep the mapping of Pods to allocated resources in state files. State files are located in the kubelet's base directory, also termed the root directory (but not the same as /, the node root directory). You can configure the base directory for the kubelet using the kubelet command line argument --root-dir.Names of files:memory_manager_state for the Memory Managercpu_manager_state for the CPU Managerdra_manager_state for DRACheckpoint file for device managerDevice manager creates checkpoints in the same directory with socket files: /var/lib/kubelet/device-plugins/. The name of a checkpoint file is kubelet_internal_checkpoint for Device Manage",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-files/",
    "id": "k8s_00075_qa_1267"
  },
  {
    "question": "How does Local Files And Paths Used By The Kubelet work?",
    "answer": "Local Files And Paths Used By The KubeletThe kubelet is mostly a stateless process running on a Kubernetes node. This document outlines files that kubelet reads and writes.Note:This document is for informational purpose and not describing any guaranteed behaviors or APIs. It lists resources used by the kubelet, which is an implementation detail and a subject to change at any release.The kubelet typically uses the control plane as the source of truth on what needs to run on the Node, and the container runtime to retrieve the current state of containers. So long as you provide a kubeconfig (API client configuration) to the kubelet, the kubelet does connect to your control plane; otherwise the node operates in standalone mode.On Linux nodes, the kubelet also relies on reading cgroups and various system files to collect metrics.On Windows nodes, the kubelet collects metrics via a different mechanism that does not rely on paths.There are also a few other files that are used by the kubelet as well, as kubelet communicates using local Unix-domain sockets. Some are sockets that the kubelet listens on, and for other sockets the kubelet discovers them and then connects as a client.Note:This page lists paths as Linux paths, which map to the Windows paths by adding a root disk C:\\ in place of / (unless specified otherwise). For example, /var/lib/kubelet/device-plugins maps to C:\\var\\lib\\kubelet\\device-plugins.ConfigurationKubelet configuration filesThe path to the kubelet configuration file can be configured using the command line argument --config. The kubelet also supports drop-in configuration files to enhance configuration.CertificatesCertificates and private keys are typically located at /var/lib/kubelet/pki, but can be configured using the --cert-dir kubelet command line argument. Names of certificate files are also configurable.ManifestsManifests for static pods are typically located in /etc/kubernetes/manifests. Location can be configured using the staticPodPath kubelet configuration option.Systemd unit settingsWhen kubelet is running as a systemd unit, some kubelet configuration may be declared in systemd unit settings file. Typically it includes:command line arguments to run kubeletenvironment variables, used by kubelet or configuring golang runtimeStateCheckpoint files for resource managersAll resource managers keep the mapping of Pods to allocated resources in state files. State files are located in the kubelet's base directory, also termed the root directory (but not the same as /, the node root directory). You can configure the base directory for the kubelet using the kubelet command line argument --root-dir.Names of files:memory_manager_state for the Memory Managercpu_manager_state for the CPU Managerdra_manager_state for DRACheckpoint file for device managerDevice manager creates checkpoints in the same directory with socket files: /var/lib/kubelet/device-plugins/. The name of a checkpoint file is kubelet_internal_checkpoint for Device Manage",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-files/",
    "id": "k8s_00075_qa_1268"
  },
  {
    "question": "When would you use Local Files And Paths Used By The Kubelet?",
    "answer": "Local Files And Paths Used By The KubeletThe kubelet is mostly a stateless process running on a Kubernetes node. This document outlines files that kubelet reads and writes.Note:This document is for informational purpose and not describing any guaranteed behaviors or APIs. It lists resources used by the kubelet, which is an implementation detail and a subject to change at any release.The kubelet typically uses the control plane as the source of truth on what needs to run on the Node, and the container runtime to retrieve the current state of containers. So long as you provide a kubeconfig (API client configuration) to the kubelet, the kubelet does connect to your control plane; otherwise the node operates in standalone mode.On Linux nodes, the kubelet also relies on reading cgroups and various system files to collect metrics.On Windows nodes, the kubelet collects metrics via a different mechanism that does not rely on paths.There are also a few other files that are used by the kubelet as well, as kubelet communicates using local Unix-domain sockets. Some are sockets that the kubelet listens on, and for other sockets the kubelet discovers them and then connects as a client.Note:This page lists paths as Linux paths, which map to the Windows paths by adding a root disk C:\\ in place of / (unless specified otherwise). For example, /var/lib/kubelet/device-plugins maps to C:\\var\\lib\\kubelet\\device-plugins.ConfigurationKubelet configuration filesThe path to the kubelet configuration file can be configured using the command line argument --config. The kubelet also supports drop-in configuration files to enhance configuration.CertificatesCertificates and private keys are typically located at /var/lib/kubelet/pki, but can be configured using the --cert-dir kubelet command line argument. Names of certificate files are also configurable.ManifestsManifests for static pods are typically located in /etc/kubernetes/manifests. Location can be configured using the staticPodPath kubelet configuration option.Systemd unit settingsWhen kubelet is running as a systemd unit, some kubelet configuration may be declared in systemd unit settings file. Typically it includes:command line arguments to run kubeletenvironment variables, used by kubelet or configuring golang runtimeStateCheckpoint files for resource managersAll resource managers keep the mapping of Pods to allocated resources in state files. State files are located in the kubelet's base directory, also termed the root directory (but not the same as /, the node root directory). You can configure the base directory for the kubelet using the kubelet command line argument --root-dir.Names of files:memory_manager_state for the Memory Managercpu_manager_state for the CPU Managerdra_manager_state for DRACheckpoint file for device managerDevice manager creates checkpoints in the same directory with socket files: /var/lib/kubelet/device-plugins/. The name of a checkpoint file is kubelet_internal_checkpoint for Device Manage",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-files/",
    "id": "k8s_00075_qa_1269"
  },
  {
    "question": "What are the benefits of Local Files And Paths Used By The Kubelet?",
    "answer": "Local Files And Paths Used By The KubeletThe kubelet is mostly a stateless process running on a Kubernetes node. This document outlines files that kubelet reads and writes.Note:This document is for informational purpose and not describing any guaranteed behaviors or APIs. It lists resources used by the kubelet, which is an implementation detail and a subject to change at any release.The kubelet typically uses the control plane as the source of truth on what needs to run on the Node, and the container runtime to retrieve the current state of containers. So long as you provide a kubeconfig (API client configuration) to the kubelet, the kubelet does connect to your control plane; otherwise the node operates in standalone mode.On Linux nodes, the kubelet also relies on reading cgroups and various system files to collect metrics.On Windows nodes, the kubelet collects metrics via a different mechanism that does not rely on paths.There are also a few other files that are used by the kubelet as well, as kubelet communicates using local Unix-domain sockets. Some are sockets that the kubelet listens on, and for other sockets the kubelet discovers them and then connects as a client.Note:This page lists paths as Linux paths, which map to the Windows paths by adding a root disk C:\\ in place of / (unless specified otherwise). For example, /var/lib/kubelet/device-plugins maps to C:\\var\\lib\\kubelet\\device-plugins.ConfigurationKubelet configuration filesThe path to the kubelet configuration file can be configured using the command line argument --config. The kubelet also supports drop-in configuration files to enhance configuration.CertificatesCertificates and private keys are typically located at /var/lib/kubelet/pki, but can be configured using the --cert-dir kubelet command line argument. Names of certificate files are also configurable.ManifestsManifests for static pods are typically located in /etc/kubernetes/manifests. Location can be configured using the staticPodPath kubelet configuration option.Systemd unit settingsWhen kubelet is running as a systemd unit, some kubelet configuration may be declared in systemd unit settings file. Typically it includes:command line arguments to run kubeletenvironment variables, used by kubelet or configuring golang runtimeStateCheckpoint files for resource managersAll resource managers keep the mapping of Pods to allocated resources in state files. State files are located in the kubelet's base directory, also termed the root directory (but not the same as /, the node root directory). You can configure the base directory for the kubelet using the kubelet command line argument --root-dir.Names of files:memory_manager_state for the Memory Managercpu_manager_state for the CPU Managerdra_manager_state for DRACheckpoint file for device managerDevice manager creates checkpoints in the same directory with socket files: /var/lib/kubelet/device-plugins/. The name of a checkpoint file is kubelet_internal_checkpoint for Device Manage",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-files/",
    "id": "k8s_00075_qa_1270"
  },
  {
    "question": "What is Local Files And Paths Used By The Kubelet?",
    "answer": "T h e   k u b e l e t   i s   m o s t l y   a   s t a t e l e s s   p r o c e s s   r u n n i n g   o n   a   K u b e r n e t e s   n o d e .   T h i s   d o c u m e n t   o u t l i n e s   f i l e s   t h a t   k u b e l e t   r e a d s   a n d   w r i t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-files/",
    "id": "k8s_00075_section_1_1271"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   k u b e l e t   t y p i c a l l y   u s e s   t h e   c o n t r o l   p l a n e   a s   t h e   s o u r c e   o f   t r u t h   o n   w h a t   n e e d s   t o   r u n   o n   t h e   N o d e ,   a n d   t h e   c o n t a i n e r   r u n t i m e   t o   r e t r i e v e   t h e   c u r r e n t   s t a t e   o f   c o n t a i n e r s .   S o   l o n g   a s   y o u   p r o v i d e   a   k u b e c o n f i g   ( A P I   c l i e n t   c o n f i g u r a t i o n )   t o   t h e   k u b e l e t ,   t h e   k u b e l e t   d o e s   c o n n e c t   t o   y o u r   c o n t r o l   p l a n e ;   o t h e r w i s e   t h e   n o d e   o p e r a t e s   i n   s t a n d a l o n e   m o d e .   O n   L i n u x   n o d e s ,   t h e   k u b e l e t   a l s o   r e l i e s   o n   r e a d i n g   c g r o u p s   a n d   v a r i o u s   s y s t e m   f i l e s   t o   c o l l e c t   m e t r i c s .   O n   W i n d o w s   n o d e s ,   t h e   k u b e l e t   c o l l e c t s   m e t r i c s   v i a   a   d i f f e r e n t   m e c h a n i s m   t h a t   d o e s   n o t   r e l y   o n   p a t h s .   T h e r e   a r e   a l s o   a   f e w   o t h e r   f i l e s   t h a t   a r e   u s e d   b y   t h e   k u b e l e t   a s   w e l l ,   a s   k u b e l e t   c o m m u n i c a t e s   u s i n g   l o c a l   U n i x - d o m a i n   s o c k e t s .   S o m e   a r e   s o c k e t s   t h a t   t h e   k u b e l e t   l i s t e n s   o n ,   a n d   f o r   o t h e r   s o c k e t s   t h e   k u b e l e t   d i s c o v e r s   t h e m   a n d   t h e n   c o n n e c t s   a s   a   c l i e n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-files/",
    "id": "k8s_00075_section_4_1272"
  },
  {
    "question": "What is Kubelet configuration files?",
    "answer": "T h e   p a t h   t o   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e   c a n   b e   c o n f i g u r e d   u s i n g   t h e   c o m m a n d   l i n e   a r g u m e n t   - - c o n f i g .   T h e   k u b e l e t   a l s o   s u p p o r t s   d r o p - i n   c o n f i g u r a t i o n   f i l e s   t o   e n h a n c e   c o n f i g u r a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-files/",
    "id": "k8s_00075_section_3_1273"
  },
  {
    "question": "What is Certificates?",
    "answer": "C e r t i f i c a t e s   a n d   p r i v a t e   k e y s   a r e   t y p i c a l l y   l o c a t e d   a t   / v a r / l i b / k u b e l e t / p k i ,   b u t   c a n   b e   c o n f i g u r e d   u s i n g   t h e   - - c e r t - d i r   k u b e l e t   c o m m a n d   l i n e   a r g u m e n t .   N a m e s   o f   c e r t i f i c a t e   f i l e s   a r e   a l s o   c o n f i g u r a b l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-files/",
    "id": "k8s_00075_section_3_1274"
  },
  {
    "question": "What is Manifests?",
    "answer": "M a n i f e s t s   f o r   s t a t i c   p o d s   a r e   t y p i c a l l y   l o c a t e d   i n   / e t c / k u b e r n e t e s / m a n i f e s t s .   L o c a t i o n   c a n   b e   c o n f i g u r e d   u s i n g   t h e   s t a t i c P o d P a t h   k u b e l e t   c o n f i g u r a t i o n   o p t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-files/",
    "id": "k8s_00075_section_3_1275"
  },
  {
    "question": "What is Systemd unit settings?",
    "answer": "W h e n   k u b e l e t   i s   r u n n i n g   a s   a   s y s t e m d   u n i t ,   s o m e   k u b e l e t   c o n f i g u r a t i o n   m a y   b e   d e c l a r e d   i n   s y s t e m d   u n i t   s e t t i n g s   f i l e .   T y p i c a l l y   i t   i n c l u d e s :   c o m m a n d   l i n e   a r g u m e n t s   t o   r u n   k u b e l e t e n v i r o n m e n t   v a r i a b l e s ,   u s e d   b y   k u b e l e t   o r   c o n f i g u r i n g   g o l a n g   r u n t i m e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-files/",
    "id": "k8s_00075_section_3_1276"
  },
  {
    "question": "What is Checkpoint files for resource managers?",
    "answer": "A l l   r e s o u r c e   m a n a g e r s   k e e p   t h e   m a p p i n g   o f   P o d s   t o   a l l o c a t e d   r e s o u r c e s   i n   s t a t e   f i l e s .   S t a t e   f i l e s   a r e   l o c a t e d   i n   t h e   k u b e l e t ' s   b a s e   d i r e c t o r y ,   a l s o   t e r m e d   t h e   r o o t   d i r e c t o r y   ( b u t   n o t   t h e   s a m e   a s   / ,   t h e   n o d e   r o o t   d i r e c t o r y ) .   Y o u   c a n   c o n f i g u r e   t h e   b a s e   d i r e c t o r y   f o r   t h e   k u b e l e t   u s i n g   t h e   k u b e l e t   c o m m a n d   l i n e   a r g u m e n t   - - r o o t - d i r .   N a m e s   o f   f i l e s :   m e m o r y _ m a n a g e r _ s t a t e   f o r   t h e   M e m o r y   M a n a g e r c p u _ m a n a g e r _ s t a t e   f o r   t h e   C P U   M a n a g e r d r a _ m a n a g e r _ s t a t e   f o r   D R A",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-files/",
    "id": "k8s_00075_section_3_1277"
  },
  {
    "question": "What is Checkpoint file for device manager?",
    "answer": "D e v i c e   m a n a g e r   c r e a t e s   c h e c k p o i n t s   i n   t h e   s a m e   d i r e c t o r y   w i t h   s o c k e t   f i l e s :   / v a r / l i b / k u b e l e t / d e v i c e - p l u g i n s / .   T h e   n a m e   o f   a   c h e c k p o i n t   f i l e   i s   k u b e l e t _ i n t e r n a l _ c h e c k p o i n t   f o r   D e v i c e   M a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-files/",
    "id": "k8s_00075_section_3_1278"
  },
  {
    "question": "What is Pod resource checkpoints?",
    "answer": "I f   a   n o d e   h a s   e n a b l e d   t h e   I n P l a c e P o d V e r t i c a l S c a l i n g f e a t u r e   g a t e ,   t h e   k u b e l e t   s t o r e s   a   l o c a l   r e c o r d   o f   a l l o c a t e d   a n d   a c t u a t e d   P o d   r e s o u r c e s .   S e e   R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s   f o r   m o r e   d e t a i l s   o n   h o w   t h e s e   r e c o r d s   a r e   u s e d .   N a m e s   o f   f i l e s :   a l l o c a t e d _ p o d s _ s t a t e   r e c o r d s   t h e   r e s o u r c e s   a l l o c a t e d   t o   e a c h   p o d   r u n n i n g   o n   t h e   n o d e a c t u a t e d _ p o d s _ s t a t e   r e c o r d s   t h e   r e s o u r c e s   t h a t   h a v e   b e e n   a c c e p t e d   b y   t h e   r u n t i m e   f o r   e a c h   p o d   p o d   r u n n i n g   o n   t h e   n o d e   T h e   f i l e s   a r e   l o c a t e d   w i t h i n   t h e   k u b e l e t   b a s e   d i r e c t o r y   ( / v a r / l i b / k u b e l e t   b y   d e f a u l t   o n   L i n u x ;   c o n f i g u r a b l e   u s i n g   - - r o o t - d i r ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-files/",
    "id": "k8s_00075_section_3_1279"
  },
  {
    "question": "What is Container runtime?",
    "answer": "K u b e l e t   c o m m u n i c a t e s   w i t h   t h e   c o n t a i n e r   r u n t i m e   u s i n g   s o c k e t   c o n f i g u r e d   v i a   t h e   c o n f i g u r a t i o n   p a r a m e t e r s :   c o n t a i n e r R u n t i m e E n d p o i n t   f o r   r u n t i m e   o p e r a t i o n s i m a g e S e r v i c e E n d p o i n t   f o r   i m a g e   m a n a g e m e n t   o p e r a t i o n s   T h e   a c t u a l   v a l u e s   o f   t h o s e   e n d p o i n t s   d e p e n d   o n   t h e   c o n t a i n e r   r u n t i m e   b e i n g   u s e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-files/",
    "id": "k8s_00075_section_3_1280"
  },
  {
    "question": "What is Device plugins?",
    "answer": "T h e   k u b e l e t   e x p o s e s   a   s o c k e t   a t   t h e   p a t h   / v a r / l i b / k u b e l e t / d e v i c e - p l u g i n s / k u b e l e t . s o c k   f o r   v a r i o u s   D e v i c e   P l u g i n s   t o   r e g i s t e r .   W h e n   a   d e v i c e   p l u g i n   r e g i s t e r s   i t s e l f ,   i t   p r o v i d e s   i t s   s o c k e t   p a t h   f o r   t h e   k u b e l e t   t o   c o n n e c t .   T h e   d e v i c e   p l u g i n   s o c k e t   s h o u l d   b e   i n   t h e   d i r e c t o r y   d e v i c e - p l u g i n s   w i t h i n   t h e   k u b e l e t   b a s e   d i r e c t o r y .   O n   a   t y p i c a l   L i n u x   n o d e ,   t h i s   m e a n s   / v a r / l i b / k u b e l e t / d e v i c e - p l u g i n s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-files/",
    "id": "k8s_00075_section_3_1281"
  },
  {
    "question": "What is Pod resources API?",
    "answer": "P o d   R e s o u r c e s   A P I   w i l l   b e   e x p o s e d   a t   t h e   p a t h   / v a r / l i b / k u b e l e t / p o d - r e s o u r c e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-files/",
    "id": "k8s_00075_section_3_1282"
  },
  {
    "question": "What is DRA, CSI, and Device plugins?",
    "answer": "T h e   k u b e l e t   l o o k s   f o r   s o c k e t   f i l e s   c r e a t e d   b y   d e v i c e   p l u g i n s   m a n a g e d   v i a   D R A ,   d e v i c e   m a n a g e r ,   o r   s t o r a g e   p l u g i n s ,   a n d   t h e n   a t t e m p t s   t o   c o n n e c t   t o   t h e s e   s o c k e t s .   T h e   d i r e c t o r y   t h a t   t h e   k u b e l e t   l o o k s   i n   i s   p l u g i n s _ r e g i s t r y   w i t h i n   t h e   k u b e l e t   b a s e   d i r e c t o r y ,   s o   o n   a   t y p i c a l   L i n u x   n o d e   t h i s   m e a n s   / v a r / l i b / k u b e l e t / p l u g i n s _ r e g i s t r y .   N o t e ,   f o r   t h e   d e v i c e   p l u g i n s   t h e r e   a r e   t w o   a l t e r n a t i v e   r e g i s t r a t i o n   m e c h a n i s m s   O n l y   o n e   s h o u l d   b e   u s e d   f o r   a   g i v e n   p l u g i n .   T h e   t y p e s   o f   p l u g i n s   t h a t   c a n   p l a c e   s o c k e t   f i l e s   i n t o   t h a t   d i r e c t o r y   a r e :   C S I   p l u g i n s D R A   p l u g i n s D e v i c e   M a n a g e r   p l u g i n s   ( t y p i c a l l y   / v a r / l i b / k u b e l e t / p l u g i n s _ r e g i s t r y ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-files/",
    "id": "k8s_00075_section_3_1283"
  },
  {
    "question": "What is Graceful node shutdown?",
    "answer": "G r a c e f u l   n o d e   s h u t d o w n   s t o r e s   s t a t e   l o c a l l y   a t   / v a r / l i b / k u b e l e t / g r a c e f u l _ n o d e _ s h u t d o w n _ s t a t e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-files/",
    "id": "k8s_00075_section_3_1284"
  },
  {
    "question": "What is Image Pull Records?",
    "answer": "T h e   k u b e l e t   s t o r e s   r e c o r d s   o f   a t t e m p t e d   a n d   s u c c e s s f u l   i m a g e   p u l l s ,   a n d   u s e s   i t   t o   v e r i f y   t h a t   t h e   i m a g e   w a s   p r e v i o u s l y   s u c c e s s f u l l y   p u l l e d   w i t h   t h e   s a m e   c r e d e n t i a l s .   T h e s e   r e c o r d s   a r e   c a c h e d   a s   f i l e s   i n   t h e   i m a g e _ r e g i s t r y   d i r e c t o r y   w i t h i n   t h e   k u b e l e t   b a s e   d i r e c t o r y .   O n   a   t y p i c a l   L i n u x   n o d e ,   t h i s   m e a n s   / v a r / l i b / k u b e l e t / i m a g e _ m a n a g e r .   T h e r e   a r e   t w o   s u b d i r e c t o r i e s   t o   i m a g e _ m a n a g e r :   p u l l i n g   -   s t o r e s   r e c o r d s   a b o u t   i m a g e s   t h e   K u b e l e t   i s   a t t e m p t i n g   t o   p u l l . p u l l e d   -   s t o r e s   r e c o r d s   a b o u t   i m a g e s   t h a t   w e r e   s u c c e s s f u l l y   p u l l e d   b y   t h e   K u b e l e t ,   a l o n g   w i t h   m e t a d a t a   a b o u t   t h e   c r e d e n t i a l s   u s e d   f o r   t h e   p u l l s .   S e e   E n s u r e   I m a g e   P u l l   C r e d e n t i a l   V e r i f i c a t i o n   f o r   d e t a i l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-files/",
    "id": "k8s_00075_section_3_1285"
  },
  {
    "question": "What is Seccomp?",
    "answer": "S e c c o m p   p r o f i l e   f i l e s   r e f e r e n c e d   f r o m   P o d s   s h o u l d   b e   p l a c e d   i n   / v a r / l i b / k u b e l e t / s e c c o m p .   S e e   t h e   s e c c o m p   r e f e r e n c e   f o r   d e t a i l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-files/",
    "id": "k8s_00075_section_3_1286"
  },
  {
    "question": "What is AppArmor?",
    "answer": "T h e   k u b e l e t   d o e s   n o t   l o a d   o r   r e f e r   t o   A p p A r m o r   p r o f i l e s   b y   a   K u b e r n e t e s - s p e c i f i c   p a t h .   A p p A r m o r   p r o f i l e s   a r e   l o a d e d   v i a   t h e   n o d e   o p e r a t i n g   s y s t e m   r a t h e r   t h e n   r e f e r e n c e d   b y   t h e i r   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-files/",
    "id": "k8s_00075_section_3_1287"
  },
  {
    "question": "What is Locking?",
    "answer": "A   l o c k   f i l e   f o r   t h e   k u b e l e t ;   t y p i c a l l y   / v a r / r u n / k u b e l e t . l o c k .   T h e   k u b e l e t   u s e s   t h i s   t o   e n s u r e   t h a t   t w o   d i f f e r e n t   k u b e l e t s   d o n ' t   t r y   t o   r u n   i n   c o n f l i c t   w i t h   e a c h   o t h e r .   Y o u   c a n   c o n f i g u r e   t h e   p a t h   t o   t h e   l o c k   f i l e   u s i n g   t h e   t h e   - - l o c k - f i l e   k u b e l e t   c o m m a n d   l i n e   a r g u m e n t .   I f   t w o   k u b e l e t s   o n   t h e   s a m e   n o d e   u s e   a   d i f f e r e n t   v a l u e   f o r   t h e   l o c k   f i l e   p a t h ,   t h e y   w i l l   n o t   b e   a b l e   t o   d e t e c t   a   c o n f l i c t   w h e n   b o t h   a r e   r u n n i n g .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-files/",
    "id": "k8s_00075_section_2_1288"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   t h e   k u b e l e t   c o m m a n d   l i n e   a r g u m e n t s . R e v i e w   t h e   K u b e l e t   C o n f i g u r a t i o n   ( v 1 b e t a 1 )   r e f e r e n c e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-files/",
    "id": "k8s_00075_section_2_1289"
  },
  {
    "question": "What is Introduction to kubectl?",
    "answer": "Introduction to kubectlkubectl is the Kubernetes cli version of a swiss army knife, and can do many things.While this Book is focused on using kubectl to declaratively manage applications in Kubernetes, it also covers other kubectl functions.Command FamiliesMost kubectl commands typically fall into one of a few categories:TypeUsed ForDescriptionDeclarative Resource ManagementDeployment and operations (e.g. GitOps)Declaratively manage Kubernetes workloads using resource configurationImperative Resource ManagementDevelopment OnlyRun commands to manage Kubernetes workloads using Command Line arguments and flagsPrinting Workload StateDebuggingPrint information about workloadsInteracting with ContainersDebuggingExec, attach, cp, logsCluster ManagementCluster operationsDrain and cordon NodesDeclarative Application ManagementThe preferred approach for managing resources is through declarative files called resource configuration used with the kubectl Apply command. This command reads a local (or remote) file structure and modifies cluster state to reflect the declared intent.ApplyApply is the preferred mechanism for managing resources in a Kubernetes cluster.Printing State about WorkloadsUsers will need to view workload state.Printing summarize state and information about resourcesPrinting complete state and information about resourcesPrinting specific fields from resourcesQuery resources matching labelsDebugging Workloadskubectl supports debugging by providing commands for:Printing Container logsPrinting cluster eventsExec or attaching to a ContainerCopying files from Containers in the cluster to a user's filesystemCluster ManagementOn occasion, users may need to perform operations to the Nodes of cluster. kubectl supports commands to drain workloads from a Node so that it can be decommissioned or debugged.PorcelainUsers may find using resource configuration overly verbose for development and prefer to work with the cluster imperatively with a shell-like workflow. kubectl offers porcelain commands for generating and modifying resources.Generating + creating resources such as Deployments, StatefulSets, Services, ConfigMaps, etc.Setting fields on resourcesEditing (live) resources in a text editorPorcelain for Dev OnlyPorcelain commands are time saving for experimenting with workloads in a dev cluster, but shouldn't be used for production.",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/introduction/",
    "id": "k8s_00076_qa_1290"
  },
  {
    "question": "How does Introduction to kubectl work?",
    "answer": "Introduction to kubectlkubectl is the Kubernetes cli version of a swiss army knife, and can do many things.While this Book is focused on using kubectl to declaratively manage applications in Kubernetes, it also covers other kubectl functions.Command FamiliesMost kubectl commands typically fall into one of a few categories:TypeUsed ForDescriptionDeclarative Resource ManagementDeployment and operations (e.g. GitOps)Declaratively manage Kubernetes workloads using resource configurationImperative Resource ManagementDevelopment OnlyRun commands to manage Kubernetes workloads using Command Line arguments and flagsPrinting Workload StateDebuggingPrint information about workloadsInteracting with ContainersDebuggingExec, attach, cp, logsCluster ManagementCluster operationsDrain and cordon NodesDeclarative Application ManagementThe preferred approach for managing resources is through declarative files called resource configuration used with the kubectl Apply command. This command reads a local (or remote) file structure and modifies cluster state to reflect the declared intent.ApplyApply is the preferred mechanism for managing resources in a Kubernetes cluster.Printing State about WorkloadsUsers will need to view workload state.Printing summarize state and information about resourcesPrinting complete state and information about resourcesPrinting specific fields from resourcesQuery resources matching labelsDebugging Workloadskubectl supports debugging by providing commands for:Printing Container logsPrinting cluster eventsExec or attaching to a ContainerCopying files from Containers in the cluster to a user's filesystemCluster ManagementOn occasion, users may need to perform operations to the Nodes of cluster. kubectl supports commands to drain workloads from a Node so that it can be decommissioned or debugged.PorcelainUsers may find using resource configuration overly verbose for development and prefer to work with the cluster imperatively with a shell-like workflow. kubectl offers porcelain commands for generating and modifying resources.Generating + creating resources such as Deployments, StatefulSets, Services, ConfigMaps, etc.Setting fields on resourcesEditing (live) resources in a text editorPorcelain for Dev OnlyPorcelain commands are time saving for experimenting with workloads in a dev cluster, but shouldn't be used for production.",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/introduction/",
    "id": "k8s_00076_qa_1291"
  },
  {
    "question": "When would you use Introduction to kubectl?",
    "answer": "Introduction to kubectlkubectl is the Kubernetes cli version of a swiss army knife, and can do many things.While this Book is focused on using kubectl to declaratively manage applications in Kubernetes, it also covers other kubectl functions.Command FamiliesMost kubectl commands typically fall into one of a few categories:TypeUsed ForDescriptionDeclarative Resource ManagementDeployment and operations (e.g. GitOps)Declaratively manage Kubernetes workloads using resource configurationImperative Resource ManagementDevelopment OnlyRun commands to manage Kubernetes workloads using Command Line arguments and flagsPrinting Workload StateDebuggingPrint information about workloadsInteracting with ContainersDebuggingExec, attach, cp, logsCluster ManagementCluster operationsDrain and cordon NodesDeclarative Application ManagementThe preferred approach for managing resources is through declarative files called resource configuration used with the kubectl Apply command. This command reads a local (or remote) file structure and modifies cluster state to reflect the declared intent.ApplyApply is the preferred mechanism for managing resources in a Kubernetes cluster.Printing State about WorkloadsUsers will need to view workload state.Printing summarize state and information about resourcesPrinting complete state and information about resourcesPrinting specific fields from resourcesQuery resources matching labelsDebugging Workloadskubectl supports debugging by providing commands for:Printing Container logsPrinting cluster eventsExec or attaching to a ContainerCopying files from Containers in the cluster to a user's filesystemCluster ManagementOn occasion, users may need to perform operations to the Nodes of cluster. kubectl supports commands to drain workloads from a Node so that it can be decommissioned or debugged.PorcelainUsers may find using resource configuration overly verbose for development and prefer to work with the cluster imperatively with a shell-like workflow. kubectl offers porcelain commands for generating and modifying resources.Generating + creating resources such as Deployments, StatefulSets, Services, ConfigMaps, etc.Setting fields on resourcesEditing (live) resources in a text editorPorcelain for Dev OnlyPorcelain commands are time saving for experimenting with workloads in a dev cluster, but shouldn't be used for production.",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/introduction/",
    "id": "k8s_00076_qa_1292"
  },
  {
    "question": "What are the benefits of Introduction to kubectl?",
    "answer": "Introduction to kubectlkubectl is the Kubernetes cli version of a swiss army knife, and can do many things.While this Book is focused on using kubectl to declaratively manage applications in Kubernetes, it also covers other kubectl functions.Command FamiliesMost kubectl commands typically fall into one of a few categories:TypeUsed ForDescriptionDeclarative Resource ManagementDeployment and operations (e.g. GitOps)Declaratively manage Kubernetes workloads using resource configurationImperative Resource ManagementDevelopment OnlyRun commands to manage Kubernetes workloads using Command Line arguments and flagsPrinting Workload StateDebuggingPrint information about workloadsInteracting with ContainersDebuggingExec, attach, cp, logsCluster ManagementCluster operationsDrain and cordon NodesDeclarative Application ManagementThe preferred approach for managing resources is through declarative files called resource configuration used with the kubectl Apply command. This command reads a local (or remote) file structure and modifies cluster state to reflect the declared intent.ApplyApply is the preferred mechanism for managing resources in a Kubernetes cluster.Printing State about WorkloadsUsers will need to view workload state.Printing summarize state and information about resourcesPrinting complete state and information about resourcesPrinting specific fields from resourcesQuery resources matching labelsDebugging Workloadskubectl supports debugging by providing commands for:Printing Container logsPrinting cluster eventsExec or attaching to a ContainerCopying files from Containers in the cluster to a user's filesystemCluster ManagementOn occasion, users may need to perform operations to the Nodes of cluster. kubectl supports commands to drain workloads from a Node so that it can be decommissioned or debugged.PorcelainUsers may find using resource configuration overly verbose for development and prefer to work with the cluster imperatively with a shell-like workflow. kubectl offers porcelain commands for generating and modifying resources.Generating + creating resources such as Deployments, StatefulSets, Services, ConfigMaps, etc.Setting fields on resourcesEditing (live) resources in a text editorPorcelain for Dev OnlyPorcelain commands are time saving for experimenting with workloads in a dev cluster, but shouldn't be used for production.",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/introduction/",
    "id": "k8s_00076_qa_1293"
  },
  {
    "question": "What is Introduction to kubectl?",
    "answer": "k u b e c t l   i s   t h e   K u b e r n e t e s   c l i   v e r s i o n   o f   a   s w i s s   a r m y   k n i f e ,   a n d   c a n   d o   m a n y   t h i n g s .   W h i l e   t h i s   B o o k   i s   f o c u s e d   o n   u s i n g   k u b e c t l   t o   d e c l a r a t i v e l y   m a n a g e   a p p l i c a t i o n s   i n   K u b e r n e t e s ,   i t   a l s o   c o v e r s   o t h e r   k u b e c t l   f u n c t i o n s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/introduction/",
    "id": "k8s_00076_section_1_1294"
  },
  {
    "question": "What is Command Families?",
    "answer": "M o s t   k u b e c t l   c o m m a n d s   t y p i c a l l y   f a l l   i n t o   o n e   o f   a   f e w   c a t e g o r i e s :",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/introduction/",
    "id": "k8s_00076_section_2_1295"
  },
  {
    "question": "What is Declarative Application Management?",
    "answer": "T h e   p r e f e r r e d   a p p r o a c h   f o r   m a n a g i n g   r e s o u r c e s   i s   t h r o u g h   d e c l a r a t i v e   f i l e s   c a l l e d   r e s o u r c e   c o n f i g u r a t i o n   u s e d   w i t h   t h e   k u b e c t l   A p p l y   c o m m a n d .   T h i s   c o m m a n d   r e a d s   a   l o c a l   ( o r   r e m o t e )   f i l e   s t r u c t u r e   a n d   m o d i f i e s   c l u s t e r   s t a t e   t o   r e f l e c t   t h e   d e c l a r e d   i n t e n t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/introduction/",
    "id": "k8s_00076_section_2_1296"
  },
  {
    "question": "What is Printing State about Workloads?",
    "answer": "U s e r s   w i l l   n e e d   t o   v i e w   w o r k l o a d   s t a t e .   P r i n t i n g   s u m m a r i z e   s t a t e   a n d   i n f o r m a t i o n   a b o u t   r e s o u r c e s P r i n t i n g   c o m p l e t e   s t a t e   a n d   i n f o r m a t i o n   a b o u t   r e s o u r c e s P r i n t i n g   s p e c i f i c   f i e l d s   f r o m   r e s o u r c e s Q u e r y   r e s o u r c e s   m a t c h i n g   l a b e l s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/introduction/",
    "id": "k8s_00076_section_2_1297"
  },
  {
    "question": "What is Debugging Workloads?",
    "answer": "k u b e c t l   s u p p o r t s   d e b u g g i n g   b y   p r o v i d i n g   c o m m a n d s   f o r :   P r i n t i n g   C o n t a i n e r   l o g s P r i n t i n g   c l u s t e r   e v e n t s E x e c   o r   a t t a c h i n g   t o   a   C o n t a i n e r C o p y i n g   f i l e s   f r o m   C o n t a i n e r s   i n   t h e   c l u s t e r   t o   a   u s e r ' s   f i l e s y s t e m",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/introduction/",
    "id": "k8s_00076_section_2_1298"
  },
  {
    "question": "What is Cluster Management?",
    "answer": "O n   o c c a s i o n ,   u s e r s   m a y   n e e d   t o   p e r f o r m   o p e r a t i o n s   t o   t h e   N o d e s   o f   c l u s t e r .   k u b e c t l   s u p p o r t s   c o m m a n d s   t o   d r a i n   w o r k l o a d s   f r o m   a   N o d e   s o   t h a t   i t   c a n   b e   d e c o m m i s s i o n e d   o r   d e b u g g e d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/introduction/",
    "id": "k8s_00076_section_2_1299"
  },
  {
    "question": "What is Porcelain?",
    "answer": "U s e r s   m a y   f i n d   u s i n g   r e s o u r c e   c o n f i g u r a t i o n   o v e r l y   v e r b o s e   f o r   d e v e l o p m e n t   a n d   p r e f e r   t o   w o r k   w i t h   t h e   c l u s t e r   i m p e r a t i v e l y   w i t h   a   s h e l l - l i k e   w o r k f l o w .   k u b e c t l   o f f e r s   p o r c e l a i n   c o m m a n d s   f o r   g e n e r a t i n g   a n d   m o d i f y i n g   r e s o u r c e s .   G e n e r a t i n g   +   c r e a t i n g   r e s o u r c e s   s u c h   a s   D e p l o y m e n t s ,   S t a t e f u l S e t s ,   S e r v i c e s ,   C o n f i g M a p s ,   e t c . S e t t i n g   f i e l d s   o n   r e s o u r c e s E d i t i n g   ( l i v e )   r e s o u r c e s   i n   a   t e x t   e d i t o r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/introduction/",
    "id": "k8s_00076_section_2_1300"
  },
  {
    "question": "What is Using a KMS provider for data encryption?",
    "answer": "Using a KMS provider for data encryptionThis page shows how to configure a Key Management Service (KMS) provider and plugin to enable secret data encryption. In Kubernetes 1.34 there are two versions of KMS at-rest encryption. You should use KMS v2 if feasible because KMS v1 is deprecated (since Kubernetes v1.28) and disabled by default (since Kubernetes v1.29). KMS v2 offers significantly better performance characteristics than KMS v1.Caution:This documentation is for the generally available implementation of KMS v2 (and for the deprecated version 1 implementation). If you are using any control plane components older than Kubernetes v1.29, please check the equivalent page in the documentation for the version of Kubernetes that your cluster is running. Earlier releases of Kubernetes had different behavior that may be relevant for information security.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesThe version of Kubernetes that you need depends on which KMS API version you have selected. Kubernetes recommends using KMS v2.If you selected KMS API v1 to support clusters prior to version v1.27 or if you have a legacy KMS plugin that only supports KMS v1, any supported Kubernetes version will work. This API is deprecated as of Kubernetes v1.28. Kubernetes does not recommend the use of this API.To check the version, enter kubectl version.KMS v1FEATURE STATE: Kubernetes v1.28 [deprecated]Kubernetes version 1.10.0 or later is requiredFor version 1.29 and later, the v1 implementation of KMS is disabled by default. To enable the feature, set --feature-gates=KMSv1=true to configure a KMS v1 provider.Your cluster must use etcd v3 or laterKMS v2FEATURE STATE: Kubernetes v1.29 [stable]Your cluster must use etcd v3 or laterKMS encryption and per-object encryption keysThe KMS encryption provider uses an envelope encryption scheme to encrypt data in etcd. The data is encrypted using a data encryption key (DEK). The DEKs are encrypted with a key encryption key (KEK) that is stored and managed in a remote KMS.If you use the (deprecated) v1 implementation of KMS, a new DEK is generated for each encryption.With KMS v2, a new DEK is generated per encryption: the API server uses a key derivation function to generate single use data encryption keys from a secret seed combined with some random data. The seed is rotated whenever the KEK is rotated (see the Understanding key_id and Key Rotation section below for more details).The KMS provider uses gRPC to communicate with a specific KMS plugin over a UNIX domain socket. The KMS plugin, which is implemented as a gRPC server and deployed on",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_qa_1301"
  },
  {
    "question": "How does Using a KMS provider for data encryption work?",
    "answer": "Using a KMS provider for data encryptionThis page shows how to configure a Key Management Service (KMS) provider and plugin to enable secret data encryption. In Kubernetes 1.34 there are two versions of KMS at-rest encryption. You should use KMS v2 if feasible because KMS v1 is deprecated (since Kubernetes v1.28) and disabled by default (since Kubernetes v1.29). KMS v2 offers significantly better performance characteristics than KMS v1.Caution:This documentation is for the generally available implementation of KMS v2 (and for the deprecated version 1 implementation). If you are using any control plane components older than Kubernetes v1.29, please check the equivalent page in the documentation for the version of Kubernetes that your cluster is running. Earlier releases of Kubernetes had different behavior that may be relevant for information security.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesThe version of Kubernetes that you need depends on which KMS API version you have selected. Kubernetes recommends using KMS v2.If you selected KMS API v1 to support clusters prior to version v1.27 or if you have a legacy KMS plugin that only supports KMS v1, any supported Kubernetes version will work. This API is deprecated as of Kubernetes v1.28. Kubernetes does not recommend the use of this API.To check the version, enter kubectl version.KMS v1FEATURE STATE: Kubernetes v1.28 [deprecated]Kubernetes version 1.10.0 or later is requiredFor version 1.29 and later, the v1 implementation of KMS is disabled by default. To enable the feature, set --feature-gates=KMSv1=true to configure a KMS v1 provider.Your cluster must use etcd v3 or laterKMS v2FEATURE STATE: Kubernetes v1.29 [stable]Your cluster must use etcd v3 or laterKMS encryption and per-object encryption keysThe KMS encryption provider uses an envelope encryption scheme to encrypt data in etcd. The data is encrypted using a data encryption key (DEK). The DEKs are encrypted with a key encryption key (KEK) that is stored and managed in a remote KMS.If you use the (deprecated) v1 implementation of KMS, a new DEK is generated for each encryption.With KMS v2, a new DEK is generated per encryption: the API server uses a key derivation function to generate single use data encryption keys from a secret seed combined with some random data. The seed is rotated whenever the KEK is rotated (see the Understanding key_id and Key Rotation section below for more details).The KMS provider uses gRPC to communicate with a specific KMS plugin over a UNIX domain socket. The KMS plugin, which is implemented as a gRPC server and deployed on",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_qa_1302"
  },
  {
    "question": "When would you use Using a KMS provider for data encryption?",
    "answer": "Using a KMS provider for data encryptionThis page shows how to configure a Key Management Service (KMS) provider and plugin to enable secret data encryption. In Kubernetes 1.34 there are two versions of KMS at-rest encryption. You should use KMS v2 if feasible because KMS v1 is deprecated (since Kubernetes v1.28) and disabled by default (since Kubernetes v1.29). KMS v2 offers significantly better performance characteristics than KMS v1.Caution:This documentation is for the generally available implementation of KMS v2 (and for the deprecated version 1 implementation). If you are using any control plane components older than Kubernetes v1.29, please check the equivalent page in the documentation for the version of Kubernetes that your cluster is running. Earlier releases of Kubernetes had different behavior that may be relevant for information security.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesThe version of Kubernetes that you need depends on which KMS API version you have selected. Kubernetes recommends using KMS v2.If you selected KMS API v1 to support clusters prior to version v1.27 or if you have a legacy KMS plugin that only supports KMS v1, any supported Kubernetes version will work. This API is deprecated as of Kubernetes v1.28. Kubernetes does not recommend the use of this API.To check the version, enter kubectl version.KMS v1FEATURE STATE: Kubernetes v1.28 [deprecated]Kubernetes version 1.10.0 or later is requiredFor version 1.29 and later, the v1 implementation of KMS is disabled by default. To enable the feature, set --feature-gates=KMSv1=true to configure a KMS v1 provider.Your cluster must use etcd v3 or laterKMS v2FEATURE STATE: Kubernetes v1.29 [stable]Your cluster must use etcd v3 or laterKMS encryption and per-object encryption keysThe KMS encryption provider uses an envelope encryption scheme to encrypt data in etcd. The data is encrypted using a data encryption key (DEK). The DEKs are encrypted with a key encryption key (KEK) that is stored and managed in a remote KMS.If you use the (deprecated) v1 implementation of KMS, a new DEK is generated for each encryption.With KMS v2, a new DEK is generated per encryption: the API server uses a key derivation function to generate single use data encryption keys from a secret seed combined with some random data. The seed is rotated whenever the KEK is rotated (see the Understanding key_id and Key Rotation section below for more details).The KMS provider uses gRPC to communicate with a specific KMS plugin over a UNIX domain socket. The KMS plugin, which is implemented as a gRPC server and deployed on",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_qa_1303"
  },
  {
    "question": "What are the benefits of Using a KMS provider for data encryption?",
    "answer": "Using a KMS provider for data encryptionThis page shows how to configure a Key Management Service (KMS) provider and plugin to enable secret data encryption. In Kubernetes 1.34 there are two versions of KMS at-rest encryption. You should use KMS v2 if feasible because KMS v1 is deprecated (since Kubernetes v1.28) and disabled by default (since Kubernetes v1.29). KMS v2 offers significantly better performance characteristics than KMS v1.Caution:This documentation is for the generally available implementation of KMS v2 (and for the deprecated version 1 implementation). If you are using any control plane components older than Kubernetes v1.29, please check the equivalent page in the documentation for the version of Kubernetes that your cluster is running. Earlier releases of Kubernetes had different behavior that may be relevant for information security.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesThe version of Kubernetes that you need depends on which KMS API version you have selected. Kubernetes recommends using KMS v2.If you selected KMS API v1 to support clusters prior to version v1.27 or if you have a legacy KMS plugin that only supports KMS v1, any supported Kubernetes version will work. This API is deprecated as of Kubernetes v1.28. Kubernetes does not recommend the use of this API.To check the version, enter kubectl version.KMS v1FEATURE STATE: Kubernetes v1.28 [deprecated]Kubernetes version 1.10.0 or later is requiredFor version 1.29 and later, the v1 implementation of KMS is disabled by default. To enable the feature, set --feature-gates=KMSv1=true to configure a KMS v1 provider.Your cluster must use etcd v3 or laterKMS v2FEATURE STATE: Kubernetes v1.29 [stable]Your cluster must use etcd v3 or laterKMS encryption and per-object encryption keysThe KMS encryption provider uses an envelope encryption scheme to encrypt data in etcd. The data is encrypted using a data encryption key (DEK). The DEKs are encrypted with a key encryption key (KEK) that is stored and managed in a remote KMS.If you use the (deprecated) v1 implementation of KMS, a new DEK is generated for each encryption.With KMS v2, a new DEK is generated per encryption: the API server uses a key derivation function to generate single use data encryption keys from a secret seed combined with some random data. The seed is rotated whenever the KEK is rotated (see the Understanding key_id and Key Rotation section below for more details).The KMS provider uses gRPC to communicate with a specific KMS plugin over a UNIX domain socket. The KMS plugin, which is implemented as a gRPC server and deployed on",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_qa_1304"
  },
  {
    "question": "What is Using a KMS provider for data encryption?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   a   K e y   M a n a g e m e n t   S e r v i c e   ( K M S )   p r o v i d e r   a n d   p l u g i n   t o   e n a b l e   s e c r e t   d a t a   e n c r y p t i o n .   I n   K u b e r n e t e s   1 . 3 4   t h e r e   a r e   t w o   v e r s i o n s   o f   K M S   a t - r e s t   e n c r y p t i o n .   Y o u   s h o u l d   u s e   K M S   v 2   i f   f e a s i b l e   b e c a u s e   K M S   v 1   i s   d e p r e c a t e d   ( s i n c e   K u b e r n e t e s   v 1 . 2 8 )   a n d   d i s a b l e d   b y   d e f a u l t   ( s i n c e   K u b e r n e t e s   v 1 . 2 9 ) .   K M S   v 2   o f f e r s   s i g n i f i c a n t l y   b e t t e r   p e r f o r m a n c e   c h a r a c t e r i s t i c s   t h a n   K M S   v 1 .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_section_1_1305"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T h e   v e r s i o n   o f   K u b e r n e t e s   t h a t   y o u   n e e d   d e p e n d s   o n   w h i c h   K M S   A P I   v e r s i o n   y o u   h a v e   s e l e c t e d .   K u b e r n e t e s   r e c o m m e n d s   u s i n g   K M S   v 2 .   I f   y o u   s e l e c t e d   K M S   A P I   v 1   t o   s u p p o r t   c l u s t e r s   p r i o r   t o   v e r s i o n   v 1 . 2 7   o r   i f   y o u   h a v e   a   l e g a c y   K M S   p l u g i n   t h a t   o n l y   s u p p o r t s   K M S   v 1 ,   a n y   s u p p o r t e d   K u b e r n e t e s   v e r s i o n   w i l l   w o r k .   T h i s   A P I   i s   d e p r e c a t e d   a s   o f   K u b e r n e t e s   v 1 . 2 8 .   K u b e r n e t e s   d o e s   n o t   r e c o m m e n d   t h e   u s e   o f   t h i s   A P I .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_section_2_1306"
  },
  {
    "question": "What is KMS v1?",
    "answer": "K u b e r n e t e s   v e r s i o n   1 . 1 0 . 0   o r   l a t e r   i s   r e q u i r e d F o r   v e r s i o n   1 . 2 9   a n d   l a t e r ,   t h e   v 1   i m p l e m e n t a t i o n   o f   K M S   i s   d i s a b l e d   b y   d e f a u l t .   T o   e n a b l e   t h e   f e a t u r e ,   s e t   - - f e a t u r e - g a t e s = K M S v 1 = t r u e   t o   c o n f i g u r e   a   K M S   v 1   p r o v i d e r . Y o u r   c l u s t e r   m u s t   u s e   e t c d   v 3   o r   l a t e r   K u b e r n e t e s   v e r s i o n   1 . 1 0 . 0   o r   l a t e r   i s   r e q u i r e d   F o r   v e r s i o n   1 . 2 9   a n d   l a t e r ,   t h e   v 1   i m p l e m e n t a t i o n   o f   K M S   i s   d i s a b l e d   b y   d e f a u l t .   T o   e n a b l e   t h e   f e a t u r e ,   s e t   - - f e a t u r e - g a t e s = K M S v 1 = t r u e   t o   c o n f i g u r e   a   K M S   v 1   p r o v i d e r .   Y o u r   c l u s t e r   m u s t   u s e   e t c d   v 3   o r   l a t e r",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_section_3_1307"
  },
  {
    "question": "What is KMS v2?",
    "answer": "Y o u r   c l u s t e r   m u s t   u s e   e t c d   v 3   o r   l a t e r",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_section_3_1308"
  },
  {
    "question": "What is KMS encryption and per-object encryption keys?",
    "answer": "T h e   K M S   e n c r y p t i o n   p r o v i d e r   u s e s   a n   e n v e l o p e   e n c r y p t i o n   s c h e m e   t o   e n c r y p t   d a t a   i n   e t c d .   T h e   d a t a   i s   e n c r y p t e d   u s i n g   a   d a t a   e n c r y p t i o n   k e y   ( D E K ) .   T h e   D E K s   a r e   e n c r y p t e d   w i t h   a   k e y   e n c r y p t i o n   k e y   ( K E K )   t h a t   i s   s t o r e d   a n d   m a n a g e d   i n   a   r e m o t e   K M S .   I f   y o u   u s e   t h e   ( d e p r e c a t e d )   v 1   i m p l e m e n t a t i o n   o f   K M S ,   a   n e w   D E K   i s   g e n e r a t e d   f o r   e a c h   e n c r y p t i o n .   W i t h   K M S   v 2 ,   a   n e w   D E K   i s   g e n e r a t e d   p e r   e n c r y p t i o n :   t h e   A P I   s e r v e r   u s e s   a   k e y   d e r i v a t i o n   f u n c t i o n   t o   g e n e r a t e   s i n g l e   u s e   d a t a   e n c r y p t i o n   k e y s   f r o m   a   s e c r e t   s e e d   c o m b i n e d   w i t h   s o m e   r a n d o m   d a t a .   T h e   s e e d   i s   r o t a t e d   w h e n e v e r   t h e   K E K   i s   r o t a t e d   ( s e e   t h e   U n d e r s t a n d i n g   k e y _ i d   a n d   K e y   R o t a t i o n   s e c t i o n   b e l o w   f o r   m o r e   d e t a i l s ) .   T h e   K M S   p r o v i d e r   u s e s   g R P C   t o   c o m m u n i c a t e   w i t h   a   s p e c i f i c   K M S   p l u g i n   o v e r   a   U N I X   d o m a i n   s o c k e t .   T h e   K M S   p l u g i n ,   w h i c h   i s   i m p l e m e n t e d   a s   a   g R P C   s e r v e r   a n d   d e p l o y e d   o n   t h e   s a m e   h o s t ( s )   a s   t h e   K u b e r n e t e s   c o n t r o l   p l a n e ,   i s   r e s p o n s i b l e   f o r   a l l   c o m m u n i c a t i o n   w i t h   t h e   r e m o t e   K M S .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_section_2_1309"
  },
  {
    "question": "What is Configuring the KMS provider?",
    "answer": "T o   c o n f i g u r e   a   K M S   p r o v i d e r   o n   t h e   A P I   s e r v e r ,   i n c l u d e   a   p r o v i d e r   o f   t y p e   k m s   i n   t h e   p r o v i d e r s   a r r a y   i n   t h e   e n c r y p t i o n   c o n f i g u r a t i o n   f i l e   a n d   s e t   t h e   f o l l o w i n g   p r o p e r t i e s :",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_section_2_1310"
  },
  {
    "question": "What is KMS v1?",
    "answer": "a p i V e r s i o n :   A P I   V e r s i o n   f o r   K M S   p r o v i d e r .   L e a v e   t h i s   v a l u e   e m p t y   o r   s e t   i t   t o   v 1 . n a m e :   D i s p l a y   n a m e   o f   t h e   K M S   p l u g i n .   C a n n o t   b e   c h a n g e d   o n c e   s e t . e n d p o i n t :   L i s t e n   a d d r e s s   o f   t h e   g R P C   s e r v e r   ( K M S   p l u g i n ) .   T h e   e n d p o i n t   i s   a   U N I X   d o m a i n   s o c k e t . c a c h e s i z e :   N u m b e r   o f   d a t a   e n c r y p t i o n   k e y s   ( D E K s )   t o   b e   c a c h e d   i n   t h e   c l e a r .   W h e n   c a c h e d ,   D E K s   c a n   b e   u s e d   w i t h o u t   a n o t h e r   c a l l   t o   t h e   K M S ;   w h e r e a s   D E K s   t h a t   a r e   n o t   c a c h e d   r e q u i r e   a   c a l l   t o   t h e   K M S   t o   u n w r a p . t i m e o u t :   H o w   l o n g   s h o u l d   k u b e - a p i s e r v e r   w a i t   f o r   k m s - p l u g i n   t o   r e s p o n d   b e f o r e   r e t u r n i n g   a n   e r r o r   ( d e f a u l t   i s   3   s e c o n d s ) .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_section_3_1311"
  },
  {
    "question": "What is KMS v2?",
    "answer": "a p i V e r s i o n :   A P I   V e r s i o n   f o r   K M S   p r o v i d e r .   S e t   t h i s   t o   v 2 . n a m e :   D i s p l a y   n a m e   o f   t h e   K M S   p l u g i n .   C a n n o t   b e   c h a n g e d   o n c e   s e t . e n d p o i n t :   L i s t e n   a d d r e s s   o f   t h e   g R P C   s e r v e r   ( K M S   p l u g i n ) .   T h e   e n d p o i n t   i s   a   U N I X   d o m a i n   s o c k e t . t i m e o u t :   H o w   l o n g   s h o u l d   k u b e - a p i s e r v e r   w a i t   f o r   k m s - p l u g i n   t o   r e s p o n d   b e f o r e   r e t u r n i n g   a n   e r r o r   ( d e f a u l t   i s   3   s e c o n d s ) .   K M S   v 2   d o e s   n o t   s u p p o r t   t h e   c a c h e s i z e   p r o p e r t y .   A l l   d a t a   e n c r y p t i o n   k e y s   ( D E K s )   w i l l   b e   c a c h e d   i n   t h e   c l e a r   o n c e   t h e   s e r v e r   h a s   u n w r a p p e d   t h e m   v i a   a   c a l l   t o   t h e   K M S .   O n c e   c a c h e d ,   D E K s   c a n   b e   u s e d   t o   p e r f o r m   d e c r y p t i o n   i n d e f i n i t e l y   w i t h o u t   m a k i n g   a   c a l l   t o   t h e   K M S .   S e e   U n d e r s t a n d i n g   t h e   e n c r y p t i o n   a t   r e s t   c o n f i g u r a t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_section_3_1312"
  },
  {
    "question": "What is Implementing a KMS plugin?",
    "answer": "T o   i m p l e m e n t   a   K M S   p l u g i n ,   y o u   c a n   d e v e l o p   a   n e w   p l u g i n   g R P C   s e r v e r   o r   e n a b l e   a   K M S   p l u g i n   a l r e a d y   p r o v i d e d   b y   y o u r   c l o u d   p r o v i d e r .   Y o u   t h e n   i n t e g r a t e   t h e   p l u g i n   w i t h   t h e   r e m o t e   K M S   a n d   d e p l o y   i t   o n   t h e   K u b e r n e t e s   c o n t r o l   p l a n e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_section_2_1313"
  },
  {
    "question": "What is Enabling the KMS supported by your cloud provider?",
    "answer": "R e f e r   t o   y o u r   c l o u d   p r o v i d e r   f o r   i n s t r u c t i o n s   o n   e n a b l i n g   t h e   c l o u d   p r o v i d e r - s p e c i f i c   K M S   p l u g i n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_section_3_1314"
  },
  {
    "question": "What is Developing a KMS plugin gRPC server?",
    "answer": "Y o u   c a n   d e v e l o p   a   K M S   p l u g i n   g R P C   s e r v e r   u s i n g   a   s t u b   f i l e   a v a i l a b l e   f o r   G o .   F o r   o t h e r   l a n g u a g e s ,   y o u   u s e   a   p r o t o   f i l e   t o   c r e a t e   a   s t u b   f i l e   t h a t   y o u   c a n   u s e   t o   d e v e l o p   t h e   g R P C   s e r v e r   c o d e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_section_3_1315"
  },
  {
    "question": "What is KMS v1?",
    "answer": "U s i n g   G o :   U s e   t h e   f u n c t i o n s   a n d   d a t a   s t r u c t u r e s   i n   t h e   s t u b   f i l e :   a p i . p b . g o   t o   d e v e l o p   t h e   g R P C   s e r v e r   c o d e U s i n g   l a n g u a g e s   o t h e r   t h a n   G o :   U s e   t h e   p r o t o c   c o m p i l e r   w i t h   t h e   p r o t o   f i l e :   a p i . p r o t o   t o   g e n e r a t e   a   s t u b   f i l e   f o r   t h e   s p e c i f i c   l a n g u a g e   U s i n g   G o :   U s e   t h e   f u n c t i o n s   a n d   d a t a   s t r u c t u r e s   i n   t h e   s t u b   f i l e :   a p i . p b . g o   t o   d e v e l o p   t h e   g R P C   s e r v e r   c o d e   U s i n g   l a n g u a g e s   o t h e r   t h a n   G o :   U s e   t h e   p r o t o c   c o m p i l e r   w i t h   t h e   p r o t o   f i l e :   a p i . p r o t o   t o   g e n e r a t e   a   s t u b   f i l e   f o r   t h e   s p e c i f i c   l a n g u a g e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_section_4_1316"
  },
  {
    "question": "What is KMS v2?",
    "answer": "U s i n g   G o :   A   h i g h   l e v e l   l i b r a r y   i s   p r o v i d e d   t o   m a k e   t h e   p r o c e s s   e a s i e r .   L o w   l e v e l   i m p l e m e n t a t i o n s   c a n   u s e   t h e   f u n c t i o n s   a n d   d a t a   s t r u c t u r e s   i n   t h e   s t u b   f i l e :   a p i . p b . g o   t o   d e v e l o p   t h e   g R P C   s e r v e r   c o d e U s i n g   l a n g u a g e s   o t h e r   t h a n   G o :   U s e   t h e   p r o t o c   c o m p i l e r   w i t h   t h e   p r o t o   f i l e :   a p i . p r o t o   t o   g e n e r a t e   a   s t u b   f i l e   f o r   t h e   s p e c i f i c   l a n g u a g e   U s i n g   G o :   A   h i g h   l e v e l   l i b r a r y   i s   p r o v i d e d   t o   m a k e   t h e   p r o c e s s   e a s i e r .   L o w   l e v e l   i m p l e m e n t a t i o n s   c a n   u s e   t h e   f u n c t i o n s   a n d   d a t a   s t r u c t u r e s   i n   t h e   s t u b   f i l e :   a p i . p b . g o   t o   d e v e l o p   t h e   g R P C   s e r v e r   c o d e   U s i n g   l a n g u a g e s   o t h e r   t h a n   G o :   U s e   t h e   p r o t o c   c o m p i l e r   w i t h   t h e   p r o t o   f i l e :   a p i . p r o t o   t o   g e n e r a t e   a   s t u b   f i l e   f o r   t h e   s p e c i f i c   l a n g u a g e   T h e n   u s e   t h e   f u n c t i o n s   a n d   d a t a   s t r u c t u r e s   i n   t h e   s t u b   f i l e   t o   d e v e l o p   t h e   s e r v e r   c o d e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_section_4_1317"
  },
  {
    "question": "What is KMS v1?",
    "answer": "k m s   p l u g i n   v e r s i o n :   v 1 b e t a 1 I n   r e s p o n s e   t o   p r o c e d u r e   c a l l   V e r s i o n ,   a   c o m p a t i b l e   K M S   p l u g i n   s h o u l d   r e t u r n   v 1 b e t a 1   a s   V e r s i o n R e s p o n s e . v e r s i o n . m e s s a g e   v e r s i o n :   v 1 b e t a 1 A l l   m e s s a g e s   f r o m   K M S   p r o v i d e r   h a v e   t h e   v e r s i o n   f i e l d   s e t   t o   v 1 b e t a 1 . p r o t o c o l :   U N I X   d o m a i n   s o c k e t   ( u n i x ) T h e   p l u g i n   i s   i m p l e m e n t e d   a s   a   g R P C   s e r v e r   t h a t   l i s t e n s   a t   U N I X   d o m a i n   s o c k e t .   T h e   p l u g i n   d e p l o y m e n t   s h o u l d   c r e a t e   a   f i l e   o n   t h e   f i l e   s y s t e m   t o   r u n   t h e   g R P C   u n i x   d o m a i n   s o c k e t   c o n n e c t i o n .   T h e   A P I   s e r v e r   ( g R P C   c l i e n t )   i s   c o n f i g u r e d   w i t h   t h e   K M S   p r o v i d e r   ( g R P C   s e r v e r )   u n i x   d o m a i n   s o c k e t   e n d p o i n t   i n   o r d e r   t o   c o m m u n i c a t e   w i t h   i t .   A n   a b s t r a c t   L i n u x   s o c k e t   m a y   b e   u s e d   b y   s t a r t i n g   t h e   e n d p o i n t   w i t h   / @ ,   i . e .   u n i x : / / / @ f o o .   C a r e   m u s t   b e   t a k e n   w h e n   u s i n g   t h i s   t y p e   o f   s o c k e t   a s   t h e y   d o   n o t   h a v e   c o n c e p t   o f   A C L   ( u n l i k e   t r a d i t i o n a l   f i l e   b a s e d   s o c k e t s ) .   H o w e v e r ,   t h e y   a r e   s u b j e c t   t o   L i n u x   n e t w o r k i n g   n a m e s p a c e ,   s o   w i l l   o n l y   b e   a c c e s s i b l e   t o   c o n t a i n e r s   w i t h i n   t h e   s a m e   p o d   u n l e s s   h o s t   n e t w o r k i n g   i s   u s e d .   k m s   p l u g i n   v e r s i o n :   v 1 b e t a 1   I n   r e s p o n s e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_section_5_1318"
  },
  {
    "question": "What is KMS v2?",
    "answer": "K M S   p l u g i n   v e r s i o n :   v 2 I n   r e s p o n s e   t o   t h e   S t a t u s   r e m o t e   p r o c e d u r e   c a l l ,   a   c o m p a t i b l e   K M S   p l u g i n   s h o u l d   r e t u r n   i t s   K M S   c o m p a t i b i l i t y   v e r s i o n   a s   S t a t u s R e s p o n s e . v e r s i o n .   T h a t   s t a t u s   r e s p o n s e   s h o u l d   a l s o   i n c l u d e   \" o k \"   a s   S t a t u s R e s p o n s e . h e a l t h z   a n d   a   k e y _ i d   ( r e m o t e   K M S   K E K   I D )   a s   S t a t u s R e s p o n s e . k e y _ i d .   T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   y o u   m a k e   y o u r   p l u g i n   c o m p a t i b l e   w i t h   t h e   s t a b l e   v 2   K M S   A P I .   K u b e r n e t e s   1 . 3 4   a l s o   s u p p o r t s   t h e   v 2 b e t a 1   A P I   f o r   K M S ;   f u t u r e   K u b e r n e t e s   r e l e a s e s   a r e   l i k e l y   t o   c o n t i n u e   s u p p o r t i n g   t h a t   b e t a   v e r s i o n . T h e   A P I   s e r v e r   p o l l s   t h e   S t a t u s   p r o c e d u r e   c a l l   a p p r o x i m a t e l y   e v e r y   m i n u t e   w h e n   e v e r y t h i n g   i s   h e a l t h y ,   a n d   e v e r y   1 0   s e c o n d s   w h e n   t h e   p l u g i n   i s   n o t   h e a l t h y .   P l u g i n s   m u s t   t a k e   c a r e   t o   o p t i m i z e   t h i s   c a l l   a s   i t   w i l l   b e   u n d e r   c o n s t a n t   l o a d . E n c r y p t i o n T h e   E n c r y p t R e q u e s t   p r o c e d u r e   c a l l   p r o v i d e s   t h e   p l a i n t e x t   a n d   a   U I D   f o r   l o g g i n g   p u r p o s e s .   T h e   r e s p o n s e   m u s t   i n c l u d e   t h e   c i p h e r t e x t ,   t h e   k e y _ i d   f o r   t h e   K E K   u s e d ,   a n d ,   o p t i o n a l l y ,   a n y   m e t a d a t a   t h a t   t h e   K M S   p l u g i n   n e e d s   t o   a i d   i n   f u t u r ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_section_5_1319"
  },
  {
    "question": "What is Caution:?",
    "answer": "p r o t o c o l :   U N I X   d o m a i n   s o c k e t   ( u n i x )   T h e   p l u g i n   i s   i m p l e m e n t e d   a s   a   g R P C   s e r v e r   t h a t   l i s t e n s   a t   U N I X   d o m a i n   s o c k e t .   T h e   p l u g i n   d e p l o y m e n t   s h o u l d   c r e a t e   a   f i l e   o n   t h e   f i l e   s y s t e m   t o   r u n   t h e   g R P C   u n i x   d o m a i n   s o c k e t   c o n n e c t i o n .   T h e   A P I   s e r v e r   ( g R P C   c l i e n t )   i s   c o n f i g u r e d   w i t h   t h e   K M S   p r o v i d e r   ( g R P C   s e r v e r )   u n i x   d o m a i n   s o c k e t   e n d p o i n t   i n   o r d e r   t o   c o m m u n i c a t e   w i t h   i t .   A n   a b s t r a c t   L i n u x   s o c k e t   m a y   b e   u s e d   b y   s t a r t i n g   t h e   e n d p o i n t   w i t h   / @ ,   i . e .   u n i x : / / / @ f o o .   C a r e   m u s t   b e   t a k e n   w h e n   u s i n g   t h i s   t y p e   o f   s o c k e t   a s   t h e y   d o   n o t   h a v e   c o n c e p t   o f   A C L   ( u n l i k e   t r a d i t i o n a l   f i l e   b a s e d   s o c k e t s ) .   H o w e v e r ,   t h e y   a r e   s u b j e c t   t o   L i n u x   n e t w o r k i n g   n a m e s p a c e ,   s o   w i l l   o n l y   b e   a c c e s s i b l e   t o   c o n t a i n e r s   w i t h i n   t h e   s a m e   p o d   u n l e s s   h o s t   n e t w o r k i n g   i s   u s e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_section_4_1320"
  },
  {
    "question": "What is Integrating a KMS plugin with the remote KMS?",
    "answer": "T h e   K M S   p l u g i n   c a n   c o m m u n i c a t e   w i t h   t h e   r e m o t e   K M S   u s i n g   a n y   p r o t o c o l   s u p p o r t e d   b y   t h e   K M S .   A l l   c o n f i g u r a t i o n   d a t a ,   i n c l u d i n g   a u t h e n t i c a t i o n   c r e d e n t i a l s   t h e   K M S   p l u g i n   u s e s   t o   c o m m u n i c a t e   w i t h   t h e   r e m o t e   K M S ,   a r e   s t o r e d   a n d   m a n a g e d   b y   t h e   K M S   p l u g i n   i n d e p e n d e n t l y .   T h e   K M S   p l u g i n   c a n   e n c o d e   t h e   c i p h e r t e x t   w i t h   a d d i t i o n a l   m e t a d a t a   t h a t   m a y   b e   r e q u i r e d   b e f o r e   s e n d i n g   i t   t o   t h e   K M S   f o r   d e c r y p t i o n   ( K M S   v 2   m a k e s   t h i s   p r o c e s s   e a s i e r   b y   p r o v i d i n g   a   d e d i c a t e d   a n n o t a t i o n s   f i e l d ) .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_section_3_1321"
  },
  {
    "question": "What is Deploying the KMS plugin?",
    "answer": "E n s u r e   t h a t   t h e   K M S   p l u g i n   r u n s   o n   t h e   s a m e   h o s t ( s )   a s   t h e   K u b e r n e t e s   A P I   s e r v e r ( s ) .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_section_3_1322"
  },
  {
    "question": "What is Encrypting your data with the KMS provider?",
    "answer": "T o   e n c r y p t   t h e   d a t a :   C r e a t e   a   n e w   E n c r y p t i o n C o n f i g u r a t i o n   f i l e   u s i n g   t h e   a p p r o p r i a t e   p r o p e r t i e s   f o r   t h e   k m s   p r o v i d e r   t o   e n c r y p t   r e s o u r c e s   l i k e   S e c r e t s   a n d   C o n f i g M a p s .   I f   y o u   w a n t   t o   e n c r y p t   a n   e x t e n s i o n   A P I   t h a t   i s   d e f i n e d   i n   a   C u s t o m R e s o u r c e D e f i n i t i o n ,   y o u r   c l u s t e r   m u s t   b e   r u n n i n g   K u b e r n e t e s   v 1 . 2 6   o r   n e w e r . S e t   t h e   - - e n c r y p t i o n - p r o v i d e r - c o n f i g   f l a g   o n   t h e   k u b e - a p i s e r v e r   t o   p o i n t   t o   t h e   l o c a t i o n   o f   t h e   c o n f i g u r a t i o n   f i l e . - - e n c r y p t i o n - p r o v i d e r - c o n f i g - a u t o m a t i c - r e l o a d   b o o l e a n   a r g u m e n t   d e t e r m i n e s   i f   t h e   f i l e   s e t   b y   - - e n c r y p t i o n - p r o v i d e r - c o n f i g   s h o u l d   b e   a u t o m a t i c a l l y   r e l o a d e d   i f   t h e   d i s k   c o n t e n t s   c h a n g e . R e s t a r t   y o u r   A P I   s e r v e r .   C r e a t e   a   n e w   E n c r y p t i o n C o n f i g u r a t i o n   f i l e   u s i n g   t h e   a p p r o p r i a t e   p r o p e r t i e s   f o r   t h e   k m s   p r o v i d e r   t o   e n c r y p t   r e s o u r c e s   l i k e   S e c r e t s   a n d   C o n f i g M a p s .   I f   y o u   w a n t   t o   e n c r y p t   a n   e x t e n s i o n   A P I   t h a t   i s   d e f i n e d   i n   a   C u s t o m R e s o u r c e D e f i n i t i o n ,   y o u r   c l u s t e r   m u s t   b e   r u n n i n g   K u b e r n e t e s   v 1 . 2 6   o r   n e w e r .   S e t   t h e   - - e n c r y p t i o n - p r o v i d e r - c o n f i g   f l a g   o n   t h e   k u b e - a p i s e r v e r   t o   p o i n t   t o   t h e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_section_2_1323"
  },
  {
    "question": "What is KMS v1?",
    "answer": "a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   r e s o u r c e s :   -   r e s o u r c e s :   -   s e c r e t s   -   c o n f i g m a p s   -   p a n d a s . a w e s o m e . b e a r s . e x a m p l e   p r o v i d e r s :   -   k m s :   n a m e :   m y K m s P l u g i n F o o   e n d p o i n t :   u n i x : / / / t m p / s o c k e t f i l e - f o o . s o c k   c a c h e s i z e :   1 0 0   t i m e o u t :   3 s   -   k m s :   n a m e :   m y K m s P l u g i n B a r   e n d p o i n t :   u n i x : / / / t m p / s o c k e t f i l e - b a r . s o c k   c a c h e s i z e :   1 0 0   t i m e o u t :   3 s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_section_3_1324"
  },
  {
    "question": "What is KMS v2?",
    "answer": "a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   r e s o u r c e s :   -   r e s o u r c e s :   -   s e c r e t s   -   c o n f i g m a p s   -   p a n d a s . a w e s o m e . b e a r s . e x a m p l e   p r o v i d e r s :   -   k m s :   a p i V e r s i o n :   v 2   n a m e :   m y K m s P l u g i n F o o   e n d p o i n t :   u n i x : / / / t m p / s o c k e t f i l e - f o o . s o c k   t i m e o u t :   3 s   -   k m s :   a p i V e r s i o n :   v 2   n a m e :   m y K m s P l u g i n B a r   e n d p o i n t :   u n i x : / / / t m p / s o c k e t f i l e - b a r . s o c k   t i m e o u t :   3 s   S e t t i n g   - - e n c r y p t i o n - p r o v i d e r - c o n f i g - a u t o m a t i c - r e l o a d   t o   t r u e   c o l l a p s e s   a l l   h e a l t h   c h e c k s   t o   a   s i n g l e   h e a l t h   c h e c k   e n d p o i n t .   I n d i v i d u a l   h e a l t h   c h e c k s   a r e   o n l y   a v a i l a b l e   w h e n   K M S   v 1   p r o v i d e r s   a r e   i n   u s e   a n d   t h e   e n c r y p t i o n   c o n f i g   i s   n o t   a u t o - r e l o a d e d .   T h e   f o l l o w i n g   t a b l e   s u m m a r i z e s   t h e   h e a l t h   c h e c k   e n d p o i n t s   f o r   e a c h   K M S   v e r s i o n :   S i n g l e   H e a l t h c h e c k   m e a n s   t h a t   t h e   o n l y   h e a l t h   c h e c k   e n d p o i n t   i s   / h e a l t h z / k m s - p r o v i d e r s .   I n d i v i d u a l   H e a l t h c h e c k s   m e a n s   t h a t   e a c h   K M S   p l u g i n   h a s   a n   a s s o c i a t e d   h e a l t h   c h e c k   e n d p o i n t   b a s e d   o n   i t s   l o c a t i o n   i n   t h e   e n c r y p t i o n   c o n f i g :   / h e a l t h z / k m s - p r o v i d e r - 0 ,   / h e a l t h z / k m s - p r o v i d e r - 1   e t c .   T h e s e   h e a l t h c h e c k   e n d p o i n t   p a t h s   a r e   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_section_3_1325"
  },
  {
    "question": "What is Verifying that the data is encrypted?",
    "answer": "W h e n   e n c r y p t i o n   a t   r e s t   i s   c o r r e c t l y   c o n f i g u r e d ,   r e s o u r c e s   a r e   e n c r y p t e d   o n   w r i t e .   A f t e r   r e s t a r t i n g   y o u r   k u b e - a p i s e r v e r ,   a n y   n e w l y   c r e a t e d   o r   u p d a t e d   S e c r e t   o r   o t h e r   r e s o u r c e   t y p e s   c o n f i g u r e d   i n   E n c r y p t i o n C o n f i g u r a t i o n   s h o u l d   b e   e n c r y p t e d   w h e n   s t o r e d .   T o   v e r i f y ,   y o u   c a n   u s e   t h e   e t c d c t l   c o m m a n d   l i n e   p r o g r a m   t o   r e t r i e v e   t h e   c o n t e n t s   o f   y o u r   s e c r e t   d a t a .   C r e a t e   a   n e w   s e c r e t   c a l l e d   s e c r e t 1   i n   t h e   d e f a u l t   n a m e s p a c e : k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   s e c r e t 1   - n   d e f a u l t   - - f r o m - l i t e r a l = m y k e y = m y d a t a   U s i n g   t h e   e t c d c t l   c o m m a n d   l i n e ,   r e a d   t h a t   s e c r e t   o u t   o f   e t c d : E T C D C T L _ A P I = 3   e t c d c t l   g e t   / k u b e r n e t e s . i o / s e c r e t s / d e f a u l t / s e c r e t 1   [ . . . ]   |   h e x d u m p   - C   w h e r e   [ . . . ]   c o n t a i n s   t h e   a d d i t i o n a l   a r g u m e n t s   f o r   c o n n e c t i n g   t o   t h e   e t c d   s e r v e r . V e r i f y   t h e   s t o r e d   s e c r e t   i s   p r e f i x e d   w i t h   k 8 s : e n c : k m s : v 1 :   f o r   K M S   v 1   o r   p r e f i x e d   w i t h   k 8 s : e n c : k m s : v 2 :   f o r   K M S   v 2 ,   w h i c h   i n d i c a t e s   t h a t   t h e   k m s   p r o v i d e r   h a s   e n c r y p t e d   t h e   r e s u l t i n g   d a t a . V e r i f y   t h a t   t h e   s e c r e t   i s   c o r r e c t l y   d e c r y p t e d   w h e n   r e t r i e v e d   v i a   t h e   A P I : k u b e c t l   d e s c r i b e   s e c r e t   s e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_section_2_1326"
  },
  {
    "question": "What is Ensuring all secrets are encrypted?",
    "answer": "W h e n   e n c r y p t i o n   a t   r e s t   i s   c o r r e c t l y   c o n f i g u r e d ,   r e s o u r c e s   a r e   e n c r y p t e d   o n   w r i t e .   T h u s   w e   c a n   p e r f o r m   a n   i n - p l a c e   n o - o p   u p d a t e   t o   e n s u r e   t h a t   d a t a   i s   e n c r y p t e d .   T h e   f o l l o w i n g   c o m m a n d   r e a d s   a l l   s e c r e t s   a n d   t h e n   u p d a t e s   t h e m   t o   a p p l y   s e r v e r   s i d e   e n c r y p t i o n .   I f   a n   e r r o r   o c c u r s   d u e   t o   a   c o n f l i c t i n g   w r i t e ,   r e t r y   t h e   c o m m a n d .   F o r   l a r g e r   c l u s t e r s ,   y o u   m a y   w i s h   t o   s u b d i v i d e   t h e   s e c r e t s   b y   n a m e s p a c e   o r   s c r i p t   a n   u p d a t e .   k u b e c t l   g e t   s e c r e t s   - - a l l - n a m e s p a c e s   - o   j s o n   |   k u b e c t l   r e p l a c e   - f   -",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_section_2_1327"
  },
  {
    "question": "What is Switching from a local encryption provider to the KMS provider?",
    "answer": "T o   s w i t c h   f r o m   a   l o c a l   e n c r y p t i o n   p r o v i d e r   t o   t h e   k m s   p r o v i d e r   a n d   r e - e n c r y p t   a l l   o f   t h e   s e c r e t s :   A d d   t h e   k m s   p r o v i d e r   a s   t h e   f i r s t   e n t r y   i n   t h e   c o n f i g u r a t i o n   f i l e   a s   s h o w n   i n   t h e   f o l l o w i n g   e x a m p l e . a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   r e s o u r c e s :   -   r e s o u r c e s :   -   s e c r e t s   p r o v i d e r s :   -   k m s :   a p i V e r s i o n :   v 2   n a m e   :   m y K m s P l u g i n   e n d p o i n t :   u n i x : / / / t m p / s o c k e t f i l e . s o c k   -   a e s c b c :   k e y s :   -   n a m e :   k e y 1   s e c r e t :   < B A S E   6 4   E N C O D E D   S E C R E T >   R e s t a r t   a l l   k u b e - a p i s e r v e r   p r o c e s s e s . R u n   t h e   f o l l o w i n g   c o m m a n d   t o   f o r c e   a l l   s e c r e t s   t o   b e   r e - e n c r y p t e d   u s i n g   t h e   k m s   p r o v i d e r . k u b e c t l   g e t   s e c r e t s   - - a l l - n a m e s p a c e s   - o   j s o n   |   k u b e c t l   r e p l a c e   - f   -   A d d   t h e   k m s   p r o v i d e r   a s   t h e   f i r s t   e n t r y   i n   t h e   c o n f i g u r a t i o n   f i l e   a s   s h o w n   i n   t h e   f o l l o w i n g   e x a m p l e .   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   r e s o u r c e s :   -   r e s o u r c e s :   -   s e c r e t s   p r o v i d e r s :   -   k m s :   a p i V e r s i o n :   v 2   n a m e   :   m y K m s P l u g i n   e n d p o i n t :   u n i x : / / / t m p / s o c k e t f i l e . s o c k   -   a e s c b c :   k e y s :   -   n a m e :   k e y 1   s e c r e t :   < B A S E   6 4   E N C O D E D   S E C R E ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_section_2_1328"
  },
  {
    "question": "What is What's next?",
    "answer": "I f   y o u   n o   l o n g e r   w a n t   t o   u s e   e n c r y p t i o n   f o r   d a t a   p e r s i s t e d   i n   t h e   K u b e r n e t e s   A P I ,   r e a d   d e c r y p t   d a t a   t h a t   a r e   a l r e a d y   s t o r e d   a t   r e s t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/",
    "id": "k8s_00077_section_2_1329"
  },
  {
    "question": "What is kubectl drain?",
    "answer": "kubectl drainSynopsisDrain node in preparation for maintenance.The given node will be marked unschedulable to prevent new pods from arriving. 'drain' evicts the pods if the API server supports https://kubernetes.io/docs/concepts/workloads/pods/disruptions/ eviction https://kubernetes.io/docs/concepts/workloads/pods/disruptions/ . Otherwise, it will use normal DELETE to delete the pods. The 'drain' evicts or deletes all pods except mirror pods (which cannot be deleted through the API server). If there are daemon set-managed pods, drain will not proceed without --ignore-daemonsets, and regardless it will not delete any daemon set-managed pods, because those pods would be immediately replaced by the daemon set controller, which ignores unschedulable markings. If there are any pods that are neither mirror pods nor managed by a replication controller, replica set, daemon set, stateful set, or job, then drain will not delete any pods unless you use --force. --force will also allow deletion to proceed if the managing resource of one or more pods is missing.'drain' waits for graceful termination. You should not operate on the machine until the command completes.When you are ready to put the node back into service, use kubectl uncordon, which will make the node schedulable again.https://kubernetes.io/images/docs/kubectl_drain.svg Workflowhttps://kubernetes.io/images/docs/kubectl_drain.svgkubectl drain NODE Examples # Drain node \"foo\", even if there are pods not managed by a replication controller, replica set, job, daemon set, or stateful set on it kubectl drain foo --force # As above, but abort if there are pods not managed by a replication controller, replica set, job, daemon set, or stateful set, and use a grace period of 15 minutes kubectl drain foo --grace-period=900 Options--chunk-size int Default: 500Return large lists in chunks rather than all at once. Pass 0 to disable. This flag is beta and may change in the future.--delete-emptydir-dataContinue even if there are pods using emptyDir (local data that will be deleted when the node is drained).--disable-evictionForce drain to use delete, even if eviction is supported. This will bypass checking PodDisruptionBudgets, use with caution.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--forceContinue even if there are pods that do not declare a controller.--grace-period int Default: -1Period of time in seconds given to each pod to terminate gracefully. If negative, the default value specified in the pod will be used.-h, --helphelp for drain--ignore-daemonsetsIgnore DaemonSet-managed pods.--pod-selector stringLabel selector to filter pods on the node-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objec",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_drain/",
    "id": "k8s_00078_qa_1330"
  },
  {
    "question": "How does kubectl drain work?",
    "answer": "kubectl drainSynopsisDrain node in preparation for maintenance.The given node will be marked unschedulable to prevent new pods from arriving. 'drain' evicts the pods if the API server supports https://kubernetes.io/docs/concepts/workloads/pods/disruptions/ eviction https://kubernetes.io/docs/concepts/workloads/pods/disruptions/ . Otherwise, it will use normal DELETE to delete the pods. The 'drain' evicts or deletes all pods except mirror pods (which cannot be deleted through the API server). If there are daemon set-managed pods, drain will not proceed without --ignore-daemonsets, and regardless it will not delete any daemon set-managed pods, because those pods would be immediately replaced by the daemon set controller, which ignores unschedulable markings. If there are any pods that are neither mirror pods nor managed by a replication controller, replica set, daemon set, stateful set, or job, then drain will not delete any pods unless you use --force. --force will also allow deletion to proceed if the managing resource of one or more pods is missing.'drain' waits for graceful termination. You should not operate on the machine until the command completes.When you are ready to put the node back into service, use kubectl uncordon, which will make the node schedulable again.https://kubernetes.io/images/docs/kubectl_drain.svg Workflowhttps://kubernetes.io/images/docs/kubectl_drain.svgkubectl drain NODE Examples # Drain node \"foo\", even if there are pods not managed by a replication controller, replica set, job, daemon set, or stateful set on it kubectl drain foo --force # As above, but abort if there are pods not managed by a replication controller, replica set, job, daemon set, or stateful set, and use a grace period of 15 minutes kubectl drain foo --grace-period=900 Options--chunk-size int Default: 500Return large lists in chunks rather than all at once. Pass 0 to disable. This flag is beta and may change in the future.--delete-emptydir-dataContinue even if there are pods using emptyDir (local data that will be deleted when the node is drained).--disable-evictionForce drain to use delete, even if eviction is supported. This will bypass checking PodDisruptionBudgets, use with caution.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--forceContinue even if there are pods that do not declare a controller.--grace-period int Default: -1Period of time in seconds given to each pod to terminate gracefully. If negative, the default value specified in the pod will be used.-h, --helphelp for drain--ignore-daemonsetsIgnore DaemonSet-managed pods.--pod-selector stringLabel selector to filter pods on the node-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objec",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_drain/",
    "id": "k8s_00078_qa_1331"
  },
  {
    "question": "When would you use kubectl drain?",
    "answer": "kubectl drainSynopsisDrain node in preparation for maintenance.The given node will be marked unschedulable to prevent new pods from arriving. 'drain' evicts the pods if the API server supports https://kubernetes.io/docs/concepts/workloads/pods/disruptions/ eviction https://kubernetes.io/docs/concepts/workloads/pods/disruptions/ . Otherwise, it will use normal DELETE to delete the pods. The 'drain' evicts or deletes all pods except mirror pods (which cannot be deleted through the API server). If there are daemon set-managed pods, drain will not proceed without --ignore-daemonsets, and regardless it will not delete any daemon set-managed pods, because those pods would be immediately replaced by the daemon set controller, which ignores unschedulable markings. If there are any pods that are neither mirror pods nor managed by a replication controller, replica set, daemon set, stateful set, or job, then drain will not delete any pods unless you use --force. --force will also allow deletion to proceed if the managing resource of one or more pods is missing.'drain' waits for graceful termination. You should not operate on the machine until the command completes.When you are ready to put the node back into service, use kubectl uncordon, which will make the node schedulable again.https://kubernetes.io/images/docs/kubectl_drain.svg Workflowhttps://kubernetes.io/images/docs/kubectl_drain.svgkubectl drain NODE Examples # Drain node \"foo\", even if there are pods not managed by a replication controller, replica set, job, daemon set, or stateful set on it kubectl drain foo --force # As above, but abort if there are pods not managed by a replication controller, replica set, job, daemon set, or stateful set, and use a grace period of 15 minutes kubectl drain foo --grace-period=900 Options--chunk-size int Default: 500Return large lists in chunks rather than all at once. Pass 0 to disable. This flag is beta and may change in the future.--delete-emptydir-dataContinue even if there are pods using emptyDir (local data that will be deleted when the node is drained).--disable-evictionForce drain to use delete, even if eviction is supported. This will bypass checking PodDisruptionBudgets, use with caution.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--forceContinue even if there are pods that do not declare a controller.--grace-period int Default: -1Period of time in seconds given to each pod to terminate gracefully. If negative, the default value specified in the pod will be used.-h, --helphelp for drain--ignore-daemonsetsIgnore DaemonSet-managed pods.--pod-selector stringLabel selector to filter pods on the node-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objec",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_drain/",
    "id": "k8s_00078_qa_1332"
  },
  {
    "question": "What are the benefits of kubectl drain?",
    "answer": "kubectl drainSynopsisDrain node in preparation for maintenance.The given node will be marked unschedulable to prevent new pods from arriving. 'drain' evicts the pods if the API server supports https://kubernetes.io/docs/concepts/workloads/pods/disruptions/ eviction https://kubernetes.io/docs/concepts/workloads/pods/disruptions/ . Otherwise, it will use normal DELETE to delete the pods. The 'drain' evicts or deletes all pods except mirror pods (which cannot be deleted through the API server). If there are daemon set-managed pods, drain will not proceed without --ignore-daemonsets, and regardless it will not delete any daemon set-managed pods, because those pods would be immediately replaced by the daemon set controller, which ignores unschedulable markings. If there are any pods that are neither mirror pods nor managed by a replication controller, replica set, daemon set, stateful set, or job, then drain will not delete any pods unless you use --force. --force will also allow deletion to proceed if the managing resource of one or more pods is missing.'drain' waits for graceful termination. You should not operate on the machine until the command completes.When you are ready to put the node back into service, use kubectl uncordon, which will make the node schedulable again.https://kubernetes.io/images/docs/kubectl_drain.svg Workflowhttps://kubernetes.io/images/docs/kubectl_drain.svgkubectl drain NODE Examples # Drain node \"foo\", even if there are pods not managed by a replication controller, replica set, job, daemon set, or stateful set on it kubectl drain foo --force # As above, but abort if there are pods not managed by a replication controller, replica set, job, daemon set, or stateful set, and use a grace period of 15 minutes kubectl drain foo --grace-period=900 Options--chunk-size int Default: 500Return large lists in chunks rather than all at once. Pass 0 to disable. This flag is beta and may change in the future.--delete-emptydir-dataContinue even if there are pods using emptyDir (local data that will be deleted when the node is drained).--disable-evictionForce drain to use delete, even if eviction is supported. This will bypass checking PodDisruptionBudgets, use with caution.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--forceContinue even if there are pods that do not declare a controller.--grace-period int Default: -1Period of time in seconds given to each pod to terminate gracefully. If negative, the default value specified in the pod will be used.-h, --helphelp for drain--ignore-daemonsetsIgnore DaemonSet-managed pods.--pod-selector stringLabel selector to filter pods on the node-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objec",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_drain/",
    "id": "k8s_00078_qa_1333"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D r a i n   n o d e   i n   p r e p a r a t i o n   f o r   m a i n t e n a n c e .   T h e   g i v e n   n o d e   w i l l   b e   m a r k e d   u n s c h e d u l a b l e   t o   p r e v e n t   n e w   p o d s   f r o m   a r r i v i n g .   ' d r a i n '   e v i c t s   t h e   p o d s   i f   t h e   A P I   s e r v e r   s u p p o r t s   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / p o d s / d i s r u p t i o n s /   e v i c t i o n   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / p o d s / d i s r u p t i o n s /   .   O t h e r w i s e ,   i t   w i l l   u s e   n o r m a l   D E L E T E   t o   d e l e t e   t h e   p o d s .   T h e   ' d r a i n '   e v i c t s   o r   d e l e t e s   a l l   p o d s   e x c e p t   m i r r o r   p o d s   ( w h i c h   c a n n o t   b e   d e l e t e d   t h r o u g h   t h e   A P I   s e r v e r ) .   I f   t h e r e   a r e   d a e m o n   s e t - m a n a g e d   p o d s ,   d r a i n   w i l l   n o t   p r o c e e d   w i t h o u t   - - i g n o r e - d a e m o n s e t s ,   a n d   r e g a r d l e s s   i t   w i l l   n o t   d e l e t e   a n y   d a e m o n   s e t - m a n a g e d   p o d s ,   b e c a u s e   t h o s e   p o d s   w o u l d   b e   i m m e d i a t e l y   r e p l a c e d   b y   t h e   d a e m o n   s e t   c o n t r o l l e r ,   w h i c h   i g n o r e s   u n s c h e d u l a b l e   m a r k i n g s .   I f   t h e r e   a r e   a n y   p o d s   t h a t   a r e   n e i t h e r   m i r r o r   p o d s   n o r   m a n a g e d   b y   a   r e p l i c a t i o n   c o n t r o l l e r ,   r e p l i c a   s e t ,   d a e m o n   s e t ,   s t a t e f u l   s e t ,   o r   j o b ,   t h e n   d r a i n   w i l l   n o t   d e l e t e   a n y   p o d s   u n l e s s   y o u   u s e   - - f o r c e .   - - f o r c e   w i l l   a l s o   a l l o w   d e l e t i o n   t o   p r o c e e d   i f   t h e   m a n ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_drain/",
    "id": "k8s_00078_section_2_1334"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D r a i n   n o d e   \" f o o \" ,   e v e n   i f   t h e r e   a r e   p o d s   n o t   m a n a g e d   b y   a   r e p l i c a t i o n   c o n t r o l l e r ,   r e p l i c a   s e t ,   j o b ,   d a e m o n   s e t ,   o r   s t a t e f u l   s e t   o n   i t   k u b e c t l   d r a i n   f o o   - - f o r c e   #   A s   a b o v e ,   b u t   a b o r t   i f   t h e r e   a r e   p o d s   n o t   m a n a g e d   b y   a   r e p l i c a t i o n   c o n t r o l l e r ,   r e p l i c a   s e t ,   j o b ,   d a e m o n   s e t ,   o r   s t a t e f u l   s e t ,   a n d   u s e   a   g r a c e   p e r i o d   o f   1 5   m i n u t e s   k u b e c t l   d r a i n   f o o   - - g r a c e - p e r i o d = 9 0 0",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_drain/",
    "id": "k8s_00078_section_2_1335"
  },
  {
    "question": "What is Options?",
    "answer": "R e t u r n   l a r g e   l i s t s   i n   c h u n k s   r a t h e r   t h a n   a l l   a t   o n c e .   P a s s   0   t o   d i s a b l e .   T h i s   f l a g   i s   b e t a   a n d   m a y   c h a n g e   i n   t h e   f u t u r e .   C o n t i n u e   e v e n   i f   t h e r e   a r e   p o d s   u s i n g   e m p t y D i r   ( l o c a l   d a t a   t h a t   w i l l   b e   d e l e t e d   w h e n   t h e   n o d e   i s   d r a i n e d ) .   F o r c e   d r a i n   t o   u s e   d e l e t e ,   e v e n   i f   e v i c t i o n   i s   s u p p o r t e d .   T h i s   w i l l   b y p a s s   c h e c k i n g   P o d D i s r u p t i o n B u d g e t s ,   u s e   w i t h   c a u t i o n .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   C o n t i n u e   e v e n   i f   t h e r e   a r e   p o d s   t h a t   d o   n o t   d e c l a r e   a   c o n t r o l l e r .   P e r i o d   o f   t i m e   i n   s e c o n d s   g i v e n   t o   e a c h   p o d   t o   t e r m i n a t e   g r a c e f u l l y .   I f   n e g a t i v e ,   t h e   d e f a u l t   v a l u e   s p e c i f i e d   i n   t h e   p o d   w i l l   b e   u s e d .   h e l p   f o r   d r a i n   I g n o r e   D a e m o n S e t - m a n a g e d   p o d s .   L a b e l   s e l e c t o r   t o   f i l t e r   p o d s   o n   t h e   n o d e   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_drain/",
    "id": "k8s_00078_section_2_1336"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_drain/",
    "id": "k8s_00078_section_2_1337"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_drain/",
    "id": "k8s_00078_section_2_1338"
  },
  {
    "question": "What is Example: Deploying WordPress and MySQL with Persistent Volumes?",
    "answer": "Example: Deploying WordPress and MySQL with Persistent VolumesThis tutorial shows you how to deploy a WordPress site and a MySQL database using Minikube. Both applications use PersistentVolumes and PersistentVolumeClaims to store data.A PersistentVolume (PV) is a piece of storage in the cluster that has been manually provisioned by an administrator, or dynamically provisioned by Kubernetes using a StorageClass. A PersistentVolumeClaim (PVC) is a request for storage by a user that can be fulfilled by a PV. PersistentVolumes and PersistentVolumeClaims are independent from Pod lifecycles and preserve data through restarting, rescheduling, and even deleting Pods.Warning:This deployment is not suitable for production use cases, as it uses single instance WordPress and MySQL Pods. Consider using WordPress Helm Chart to deploy WordPress in production.Note:The files provided in this tutorial are using GA Deployment APIs and are specific to kubernetes version 1.9 and later. If you wish to use this tutorial with an earlier version of Kubernetes, please update the API version appropriately, or reference earlier versions of this tutorial.ObjectivesCreate PersistentVolumeClaims and PersistentVolumesCreate a kustomization.yaml witha Secret generatorMySQL resource configsWordPress resource configsApply the kustomization directory by kubectl apply -k ./Clean upBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.The example shown on this page works with kubectl 1.27 and above.Download the following configuration files:mysql-deployment.yamlwordpress-deployment.yamlCreate PersistentVolumeClaims and PersistentVolumesMySQL and Wordpress each require a PersistentVolume to store data. Their PersistentVolumeClaims will be created at the deployment step.Many cluster environments have a default StorageClass installed. When a StorageClass is not specified in the PersistentVolumeClaim, the cluster's default StorageClass is used instead.When a PersistentVolumeClaim is created, a PersistentVolume is dynamically provisioned based on the StorageClass configuration.Warning:In local clusters, the default StorageClass uses the hostPath provisioner. hostPath volumes are only suitable for development and testing. With hostPath volumes, your data lives in /tmp on the node the Pod is scheduled onto and does not move between nodes. If a Pod dies and gets scheduled to another node in the cluster, or the node is rebooted, the data is lost.Note:If you are bringing up a cluster that needs to use the hostPath provisioner, the --enable-hostpath-provisioner flag must be",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/",
    "id": "k8s_00079_qa_1339"
  },
  {
    "question": "How does Example: Deploying WordPress and MySQL with Persistent Volumes work?",
    "answer": "Example: Deploying WordPress and MySQL with Persistent VolumesThis tutorial shows you how to deploy a WordPress site and a MySQL database using Minikube. Both applications use PersistentVolumes and PersistentVolumeClaims to store data.A PersistentVolume (PV) is a piece of storage in the cluster that has been manually provisioned by an administrator, or dynamically provisioned by Kubernetes using a StorageClass. A PersistentVolumeClaim (PVC) is a request for storage by a user that can be fulfilled by a PV. PersistentVolumes and PersistentVolumeClaims are independent from Pod lifecycles and preserve data through restarting, rescheduling, and even deleting Pods.Warning:This deployment is not suitable for production use cases, as it uses single instance WordPress and MySQL Pods. Consider using WordPress Helm Chart to deploy WordPress in production.Note:The files provided in this tutorial are using GA Deployment APIs and are specific to kubernetes version 1.9 and later. If you wish to use this tutorial with an earlier version of Kubernetes, please update the API version appropriately, or reference earlier versions of this tutorial.ObjectivesCreate PersistentVolumeClaims and PersistentVolumesCreate a kustomization.yaml witha Secret generatorMySQL resource configsWordPress resource configsApply the kustomization directory by kubectl apply -k ./Clean upBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.The example shown on this page works with kubectl 1.27 and above.Download the following configuration files:mysql-deployment.yamlwordpress-deployment.yamlCreate PersistentVolumeClaims and PersistentVolumesMySQL and Wordpress each require a PersistentVolume to store data. Their PersistentVolumeClaims will be created at the deployment step.Many cluster environments have a default StorageClass installed. When a StorageClass is not specified in the PersistentVolumeClaim, the cluster's default StorageClass is used instead.When a PersistentVolumeClaim is created, a PersistentVolume is dynamically provisioned based on the StorageClass configuration.Warning:In local clusters, the default StorageClass uses the hostPath provisioner. hostPath volumes are only suitable for development and testing. With hostPath volumes, your data lives in /tmp on the node the Pod is scheduled onto and does not move between nodes. If a Pod dies and gets scheduled to another node in the cluster, or the node is rebooted, the data is lost.Note:If you are bringing up a cluster that needs to use the hostPath provisioner, the --enable-hostpath-provisioner flag must be",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/",
    "id": "k8s_00079_qa_1340"
  },
  {
    "question": "When would you use Example: Deploying WordPress and MySQL with Persistent Volumes?",
    "answer": "Example: Deploying WordPress and MySQL with Persistent VolumesThis tutorial shows you how to deploy a WordPress site and a MySQL database using Minikube. Both applications use PersistentVolumes and PersistentVolumeClaims to store data.A PersistentVolume (PV) is a piece of storage in the cluster that has been manually provisioned by an administrator, or dynamically provisioned by Kubernetes using a StorageClass. A PersistentVolumeClaim (PVC) is a request for storage by a user that can be fulfilled by a PV. PersistentVolumes and PersistentVolumeClaims are independent from Pod lifecycles and preserve data through restarting, rescheduling, and even deleting Pods.Warning:This deployment is not suitable for production use cases, as it uses single instance WordPress and MySQL Pods. Consider using WordPress Helm Chart to deploy WordPress in production.Note:The files provided in this tutorial are using GA Deployment APIs and are specific to kubernetes version 1.9 and later. If you wish to use this tutorial with an earlier version of Kubernetes, please update the API version appropriately, or reference earlier versions of this tutorial.ObjectivesCreate PersistentVolumeClaims and PersistentVolumesCreate a kustomization.yaml witha Secret generatorMySQL resource configsWordPress resource configsApply the kustomization directory by kubectl apply -k ./Clean upBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.The example shown on this page works with kubectl 1.27 and above.Download the following configuration files:mysql-deployment.yamlwordpress-deployment.yamlCreate PersistentVolumeClaims and PersistentVolumesMySQL and Wordpress each require a PersistentVolume to store data. Their PersistentVolumeClaims will be created at the deployment step.Many cluster environments have a default StorageClass installed. When a StorageClass is not specified in the PersistentVolumeClaim, the cluster's default StorageClass is used instead.When a PersistentVolumeClaim is created, a PersistentVolume is dynamically provisioned based on the StorageClass configuration.Warning:In local clusters, the default StorageClass uses the hostPath provisioner. hostPath volumes are only suitable for development and testing. With hostPath volumes, your data lives in /tmp on the node the Pod is scheduled onto and does not move between nodes. If a Pod dies and gets scheduled to another node in the cluster, or the node is rebooted, the data is lost.Note:If you are bringing up a cluster that needs to use the hostPath provisioner, the --enable-hostpath-provisioner flag must be",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/",
    "id": "k8s_00079_qa_1341"
  },
  {
    "question": "What are the benefits of Example: Deploying WordPress and MySQL with Persistent Volumes?",
    "answer": "Example: Deploying WordPress and MySQL with Persistent VolumesThis tutorial shows you how to deploy a WordPress site and a MySQL database using Minikube. Both applications use PersistentVolumes and PersistentVolumeClaims to store data.A PersistentVolume (PV) is a piece of storage in the cluster that has been manually provisioned by an administrator, or dynamically provisioned by Kubernetes using a StorageClass. A PersistentVolumeClaim (PVC) is a request for storage by a user that can be fulfilled by a PV. PersistentVolumes and PersistentVolumeClaims are independent from Pod lifecycles and preserve data through restarting, rescheduling, and even deleting Pods.Warning:This deployment is not suitable for production use cases, as it uses single instance WordPress and MySQL Pods. Consider using WordPress Helm Chart to deploy WordPress in production.Note:The files provided in this tutorial are using GA Deployment APIs and are specific to kubernetes version 1.9 and later. If you wish to use this tutorial with an earlier version of Kubernetes, please update the API version appropriately, or reference earlier versions of this tutorial.ObjectivesCreate PersistentVolumeClaims and PersistentVolumesCreate a kustomization.yaml witha Secret generatorMySQL resource configsWordPress resource configsApply the kustomization directory by kubectl apply -k ./Clean upBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.The example shown on this page works with kubectl 1.27 and above.Download the following configuration files:mysql-deployment.yamlwordpress-deployment.yamlCreate PersistentVolumeClaims and PersistentVolumesMySQL and Wordpress each require a PersistentVolume to store data. Their PersistentVolumeClaims will be created at the deployment step.Many cluster environments have a default StorageClass installed. When a StorageClass is not specified in the PersistentVolumeClaim, the cluster's default StorageClass is used instead.When a PersistentVolumeClaim is created, a PersistentVolume is dynamically provisioned based on the StorageClass configuration.Warning:In local clusters, the default StorageClass uses the hostPath provisioner. hostPath volumes are only suitable for development and testing. With hostPath volumes, your data lives in /tmp on the node the Pod is scheduled onto and does not move between nodes. If a Pod dies and gets scheduled to another node in the cluster, or the node is rebooted, the data is lost.Note:If you are bringing up a cluster that needs to use the hostPath provisioner, the --enable-hostpath-provisioner flag must be",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/",
    "id": "k8s_00079_qa_1342"
  },
  {
    "question": "What is Example: Deploying WordPress and MySQL with Persistent Volumes?",
    "answer": "T h i s   t u t o r i a l   s h o w s   y o u   h o w   t o   d e p l o y   a   W o r d P r e s s   s i t e   a n d   a   M y S Q L   d a t a b a s e   u s i n g   M i n i k u b e .   B o t h   a p p l i c a t i o n s   u s e   P e r s i s t e n t V o l u m e s   a n d   P e r s i s t e n t V o l u m e C l a i m s   t o   s t o r e   d a t a .   A   P e r s i s t e n t V o l u m e   ( P V )   i s   a   p i e c e   o f   s t o r a g e   i n   t h e   c l u s t e r   t h a t   h a s   b e e n   m a n u a l l y   p r o v i s i o n e d   b y   a n   a d m i n i s t r a t o r ,   o r   d y n a m i c a l l y   p r o v i s i o n e d   b y   K u b e r n e t e s   u s i n g   a   S t o r a g e C l a s s .   A   P e r s i s t e n t V o l u m e C l a i m   ( P V C )   i s   a   r e q u e s t   f o r   s t o r a g e   b y   a   u s e r   t h a t   c a n   b e   f u l f i l l e d   b y   a   P V .   P e r s i s t e n t V o l u m e s   a n d   P e r s i s t e n t V o l u m e C l a i m s   a r e   i n d e p e n d e n t   f r o m   P o d   l i f e c y c l e s   a n d   p r e s e r v e   d a t a   t h r o u g h   r e s t a r t i n g ,   r e s c h e d u l i n g ,   a n d   e v e n   d e l e t i n g   P o d s .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/",
    "id": "k8s_00079_section_1_1343"
  },
  {
    "question": "What is Objectives?",
    "answer": "C r e a t e   P e r s i s t e n t V o l u m e C l a i m s   a n d   P e r s i s t e n t V o l u m e s C r e a t e   a   k u s t o m i z a t i o n . y a m l   w i t h a   S e c r e t   g e n e r a t o r M y S Q L   r e s o u r c e   c o n f i g s W o r d P r e s s   r e s o u r c e   c o n f i g s A p p l y   t h e   k u s t o m i z a t i o n   d i r e c t o r y   b y   k u b e c t l   a p p l y   - k   . / C l e a n   u p   a   S e c r e t   g e n e r a t o r M y S Q L   r e s o u r c e   c o n f i g s W o r d P r e s s   r e s o u r c e   c o n f i g s",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/",
    "id": "k8s_00079_section_2_1344"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   T h e   e x a m p l e   s h o w n   o n   t h i s   p a g e   w o r k s   w i t h   k u b e c t l   1 . 2 7   a n d   a b o ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/",
    "id": "k8s_00079_section_2_1345"
  },
  {
    "question": "What is Create PersistentVolumeClaims and PersistentVolumes?",
    "answer": "M y S Q L   a n d   W o r d p r e s s   e a c h   r e q u i r e   a   P e r s i s t e n t V o l u m e   t o   s t o r e   d a t a .   T h e i r   P e r s i s t e n t V o l u m e C l a i m s   w i l l   b e   c r e a t e d   a t   t h e   d e p l o y m e n t   s t e p .   M a n y   c l u s t e r   e n v i r o n m e n t s   h a v e   a   d e f a u l t   S t o r a g e C l a s s   i n s t a l l e d .   W h e n   a   S t o r a g e C l a s s   i s   n o t   s p e c i f i e d   i n   t h e   P e r s i s t e n t V o l u m e C l a i m ,   t h e   c l u s t e r ' s   d e f a u l t   S t o r a g e C l a s s   i s   u s e d   i n s t e a d .   W h e n   a   P e r s i s t e n t V o l u m e C l a i m   i s   c r e a t e d ,   a   P e r s i s t e n t V o l u m e   i s   d y n a m i c a l l y   p r o v i s i o n e d   b a s e d   o n   t h e   S t o r a g e C l a s s   c o n f i g u r a t i o n .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/",
    "id": "k8s_00079_section_2_1346"
  },
  {
    "question": "What is Add a Secret generator?",
    "answer": "A   S e c r e t   i s   a n   o b j e c t   t h a t   s t o r e s   a   p i e c e   o f   s e n s i t i v e   d a t a   l i k e   a   p a s s w o r d   o r   k e y .   S i n c e   1 . 1 4 ,   k u b e c t l   s u p p o r t s   t h e   m a n a g e m e n t   o f   K u b e r n e t e s   o b j e c t s   u s i n g   a   k u s t o m i z a t i o n   f i l e .   Y o u   c a n   c r e a t e   a   S e c r e t   b y   g e n e r a t o r s   i n   k u s t o m i z a t i o n . y a m l .   A d d   a   S e c r e t   g e n e r a t o r   i n   k u s t o m i z a t i o n . y a m l   f r o m   t h e   f o l l o w i n g   c o m m a n d .   Y o u   w i l l   n e e d   t o   r e p l a c e   Y O U R _ P A S S W O R D   w i t h   t h e   p a s s w o r d   y o u   w a n t   t o   u s e .   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   s e c r e t G e n e r a t o r :   -   n a m e :   m y s q l - p a s s   l i t e r a l s :   -   p a s s w o r d = Y O U R _ P A S S W O R D   E O F",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/",
    "id": "k8s_00079_section_3_1347"
  },
  {
    "question": "What is Add resource configs for MySQL and WordPress?",
    "answer": "T h e   f o l l o w i n g   m a n i f e s t   d e s c r i b e s   a   s i n g l e - i n s t a n c e   M y S Q L   D e p l o y m e n t .   T h e   M y S Q L   c o n t a i n e r   m o u n t s   t h e   P e r s i s t e n t V o l u m e   a t   / v a r / l i b / m y s q l .   T h e   M Y S Q L _ R O O T _ P A S S W O R D   e n v i r o n m e n t   v a r i a b l e   s e t s   t h e   d a t a b a s e   p a s s w o r d   f r o m   t h e   S e c r e t .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   w o r d p r e s s - m y s q l   l a b e l s :   a p p :   w o r d p r e s s   s p e c :   p o r t s :   -   p o r t :   3 3 0 6   s e l e c t o r :   a p p :   w o r d p r e s s   t i e r :   m y s q l   c l u s t e r I P :   N o n e   - - -   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   m y s q l - p v - c l a i m   l a b e l s :   a p p :   w o r d p r e s s   s p e c :   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   2 0 G i   - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   w o r d p r e s s - m y s q l   l a b e l s :   a p p :   w o r d p r e s s   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   w o r d p r e s s   t i e r :   m y s q l   s t r a t e g y :   t y p e :   R e c r e a t e   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   w o r d p r e s s   t i e r :   m y s q l   s p e c :   c o n t a i n e r s :   -   i m a g e :   m y s q l : 8 . 0   n a m e :   m y s q l   e n v :   -   n a m e :   M Y S Q L _ R O O T _ P A S S W O R D   v a l u e F r o m :   s e c r e t K e y R e f :   n a m e :   m y s q l - p a s s   k e y :   p a s s w o r d   -   n a m e :   M Y S Q L _ D A T A B A S E   v a l u e :   w o r d p r e s s   -   n a m e :   M Y S Q L _ U S E R   v a l u e :   w o r d p ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/",
    "id": "k8s_00079_section_2_1348"
  },
  {
    "question": "What is Apply and Verify?",
    "answer": "T h e   k u s t o m i z a t i o n . y a m l   c o n t a i n s   a l l   t h e   r e s o u r c e s   f o r   d e p l o y i n g   a   W o r d P r e s s   s i t e   a n d   a   M y S Q L   d a t a b a s e .   Y o u   c a n   a p p l y   t h e   d i r e c t o r y   b y   k u b e c t l   a p p l y   - k   . /   N o w   y o u   c a n   v e r i f y   t h a t   a l l   o b j e c t s   e x i s t .   V e r i f y   t h a t   t h e   S e c r e t   e x i s t s   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   g e t   s e c r e t s   T h e   r e s p o n s e   s h o u l d   b e   l i k e   t h i s : N A M E   T Y P E   D A T A   A G E   m y s q l - p a s s - c 5 7 b b 4 t 7 m f   O p a q u e   1   9 s   V e r i f y   t h a t   a   P e r s i s t e n t V o l u m e   g o t   d y n a m i c a l l y   p r o v i s i o n e d . k u b e c t l   g e t   p v c   N o t e : I t   c a n   t a k e   u p   t o   a   f e w   m i n u t e s   f o r   t h e   P V s   t o   b e   p r o v i s i o n e d   a n d   b o u n d . T h e   r e s p o n s e   s h o u l d   b e   l i k e   t h i s : N A M E   S T A T U S   V O L U M E   C A P A C I T Y   A C C E S S   M O D E S   S T O R A G E C L A S S   A G E   m y s q l - p v - c l a i m   B o u n d   p v c - 8 c b d 7 b 2 e - 4 0 4 4 - 1 1 e 9 - b 2 b b - 4 2 0 1 0 a 8 0 0 0 0 2   2 0 G i   R W O   s t a n d a r d   7 7 s   w p - p v - c l a i m   B o u n d   p v c - 8 c d 0 d f 5 4 - 4 0 4 4 - 1 1 e 9 - b 2 b b - 4 2 0 1 0 a 8 0 0 0 0 2   2 0 G i   R W O   s t a n d a r d   7 7 s   V e r i f y   t h a t   t h e   P o d   i s   r u n n i n g   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   g e t   p o d s   N o t e : I t   c a n   t a k e   u p   t o   a   f e w   m i n u t e s   f o r   t h e   P o d ' s   S t a t u s   t o   b e   R U N N I N G . T h e   r e s p o n s e   s h o u l d   b e   l i k e   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w o r d p r e s s ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/",
    "id": "k8s_00079_section_2_1349"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   r e s p o n s e   s h o u l d   b e   l i k e   t h i s :   N A M E   S T A T U S   V O L U M E   C A P A C I T Y   A C C E S S   M O D E S   S T O R A G E C L A S S   A G E   m y s q l - p v - c l a i m   B o u n d   p v c - 8 c b d 7 b 2 e - 4 0 4 4 - 1 1 e 9 - b 2 b b - 4 2 0 1 0 a 8 0 0 0 0 2   2 0 G i   R W O   s t a n d a r d   7 7 s   w p - p v - c l a i m   B o u n d   p v c - 8 c d 0 d f 5 4 - 4 0 4 4 - 1 1 e 9 - b 2 b b - 4 2 0 1 0 a 8 0 0 0 0 2   2 0 G i   R W O   s t a n d a r d   7 7 s   V e r i f y   t h a t   t h e   P o d   i s   r u n n i n g   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   g e t   p o d s",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/",
    "id": "k8s_00079_section_4_1350"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   r e s p o n s e   s h o u l d   b e   l i k e   t h i s :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w o r d p r e s s - m y s q l - 1 8 9 4 4 1 7 6 0 8 - x 5 d z t   1 / 1   R u n n i n g   0   4 0 s   V e r i f y   t h a t   t h e   S e r v i c e   i s   r u n n i n g   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   g e t   s e r v i c e s   w o r d p r e s s   T h e   r e s p o n s e   s h o u l d   b e   l i k e   t h i s :   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   w o r d p r e s s   L o a d B a l a n c e r   1 0 . 0 . 0 . 8 9   < p e n d i n g >   8 0 : 3 2 4 0 6 / T C P   4 m",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/",
    "id": "k8s_00079_section_4_1351"
  },
  {
    "question": "What is Note:?",
    "answer": "R u n   t h e   f o l l o w i n g   c o m m a n d   t o   g e t   t h e   I P   A d d r e s s   f o r   t h e   W o r d P r e s s   S e r v i c e :   m i n i k u b e   s e r v i c e   w o r d p r e s s   - - u r l   T h e   r e s p o n s e   s h o u l d   b e   l i k e   t h i s :   h t t p : / / 1 . 2 . 3 . 4 : 3 2 4 0 6   C o p y   t h e   I P   a d d r e s s ,   a n d   l o a d   t h e   p a g e   i n   y o u r   b r o w s e r   t o   v i e w   y o u r   s i t e .   Y o u   s h o u l d   s e e   t h e   W o r d P r e s s   s e t   u p   p a g e   s i m i l a r   t o   t h e   f o l l o w i n g   s c r e e n s h o t .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/",
    "id": "k8s_00079_section_4_1352"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "R u n   t h e   f o l l o w i n g   c o m m a n d   t o   d e l e t e   y o u r   S e c r e t ,   D e p l o y m e n t s ,   S e r v i c e s   a n d   P e r s i s t e n t V o l u m e C l a i m s : k u b e c t l   d e l e t e   - k   . /   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   d e l e t e   y o u r   S e c r e t ,   D e p l o y m e n t s ,   S e r v i c e s   a n d   P e r s i s t e n t V o l u m e C l a i m s :   k u b e c t l   d e l e t e   - k   . /",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/",
    "id": "k8s_00079_section_2_1353"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   I n t r o s p e c t i o n   a n d   D e b u g g i n g L e a r n   m o r e   a b o u t   J o b s L e a r n   m o r e   a b o u t   P o r t   F o r w a r d i n g L e a r n   h o w   t o   G e t   a   S h e l l   t o   a   C o n t a i n e r",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/",
    "id": "k8s_00079_section_2_1354"
  },
  {
    "question": "What is kubectl create token?",
    "answer": "kubectl create tokenSynopsisRequest a service account token.kubectl create token SERVICE_ACCOUNT_NAME Examples # Request a token to authenticate to the kube-apiserver as the service account \"myapp\" in the current namespace kubectl create token myapp # Request a token for a service account in a custom namespace kubectl create token myapp --namespace myns # Request a token with a custom expiration kubectl create token myapp --duration 10m # Request a token with a custom audience kubectl create token myapp --audience https://example.com # Request a token bound to an instance of a Secret object kubectl create token myapp --bound-object-kind Secret --bound-object-name mysecret # Request a token bound to an instance of a Secret object with a specific UID kubectl create token myapp --bound-object-kind Secret --bound-object-name mysecret --bound-object-uid 0d4691ed-659b-4935-a832-355f77ee47cc Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--audience stringsAudience of the requested token. If unset, defaults to requesting a token for use with the Kubernetes API server. May be repeated to request a token valid for multiple audiences.--bound-object-kind stringKind of an object to bind the token to. Supported kinds are Node, Pod, Secret. If set, --bound-object-name must be provided.--bound-object-name stringName of an object to bind the token to. The token will expire when the object is deleted. Requires --bound-object-kind.--bound-object-uid stringUID of an object to bind the token to. Requires --bound-object-kind and --bound-object-name. If unset, the UID of the existing object is used.--duration durationRequested lifetime of the issued token. If not set or if set to 0, the lifetime will be determined by the server automatically. The server may return a token with a longer or shorter lifetime.-h, --helphelp for token-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client k",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_token/",
    "id": "k8s_00080_qa_1355"
  },
  {
    "question": "How does kubectl create token work?",
    "answer": "kubectl create tokenSynopsisRequest a service account token.kubectl create token SERVICE_ACCOUNT_NAME Examples # Request a token to authenticate to the kube-apiserver as the service account \"myapp\" in the current namespace kubectl create token myapp # Request a token for a service account in a custom namespace kubectl create token myapp --namespace myns # Request a token with a custom expiration kubectl create token myapp --duration 10m # Request a token with a custom audience kubectl create token myapp --audience https://example.com # Request a token bound to an instance of a Secret object kubectl create token myapp --bound-object-kind Secret --bound-object-name mysecret # Request a token bound to an instance of a Secret object with a specific UID kubectl create token myapp --bound-object-kind Secret --bound-object-name mysecret --bound-object-uid 0d4691ed-659b-4935-a832-355f77ee47cc Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--audience stringsAudience of the requested token. If unset, defaults to requesting a token for use with the Kubernetes API server. May be repeated to request a token valid for multiple audiences.--bound-object-kind stringKind of an object to bind the token to. Supported kinds are Node, Pod, Secret. If set, --bound-object-name must be provided.--bound-object-name stringName of an object to bind the token to. The token will expire when the object is deleted. Requires --bound-object-kind.--bound-object-uid stringUID of an object to bind the token to. Requires --bound-object-kind and --bound-object-name. If unset, the UID of the existing object is used.--duration durationRequested lifetime of the issued token. If not set or if set to 0, the lifetime will be determined by the server automatically. The server may return a token with a longer or shorter lifetime.-h, --helphelp for token-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client k",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_token/",
    "id": "k8s_00080_qa_1356"
  },
  {
    "question": "When would you use kubectl create token?",
    "answer": "kubectl create tokenSynopsisRequest a service account token.kubectl create token SERVICE_ACCOUNT_NAME Examples # Request a token to authenticate to the kube-apiserver as the service account \"myapp\" in the current namespace kubectl create token myapp # Request a token for a service account in a custom namespace kubectl create token myapp --namespace myns # Request a token with a custom expiration kubectl create token myapp --duration 10m # Request a token with a custom audience kubectl create token myapp --audience https://example.com # Request a token bound to an instance of a Secret object kubectl create token myapp --bound-object-kind Secret --bound-object-name mysecret # Request a token bound to an instance of a Secret object with a specific UID kubectl create token myapp --bound-object-kind Secret --bound-object-name mysecret --bound-object-uid 0d4691ed-659b-4935-a832-355f77ee47cc Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--audience stringsAudience of the requested token. If unset, defaults to requesting a token for use with the Kubernetes API server. May be repeated to request a token valid for multiple audiences.--bound-object-kind stringKind of an object to bind the token to. Supported kinds are Node, Pod, Secret. If set, --bound-object-name must be provided.--bound-object-name stringName of an object to bind the token to. The token will expire when the object is deleted. Requires --bound-object-kind.--bound-object-uid stringUID of an object to bind the token to. Requires --bound-object-kind and --bound-object-name. If unset, the UID of the existing object is used.--duration durationRequested lifetime of the issued token. If not set or if set to 0, the lifetime will be determined by the server automatically. The server may return a token with a longer or shorter lifetime.-h, --helphelp for token-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client k",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_token/",
    "id": "k8s_00080_qa_1357"
  },
  {
    "question": "What are the benefits of kubectl create token?",
    "answer": "kubectl create tokenSynopsisRequest a service account token.kubectl create token SERVICE_ACCOUNT_NAME Examples # Request a token to authenticate to the kube-apiserver as the service account \"myapp\" in the current namespace kubectl create token myapp # Request a token for a service account in a custom namespace kubectl create token myapp --namespace myns # Request a token with a custom expiration kubectl create token myapp --duration 10m # Request a token with a custom audience kubectl create token myapp --audience https://example.com # Request a token bound to an instance of a Secret object kubectl create token myapp --bound-object-kind Secret --bound-object-name mysecret # Request a token bound to an instance of a Secret object with a specific UID kubectl create token myapp --bound-object-kind Secret --bound-object-name mysecret --bound-object-uid 0d4691ed-659b-4935-a832-355f77ee47cc Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--audience stringsAudience of the requested token. If unset, defaults to requesting a token for use with the Kubernetes API server. May be repeated to request a token valid for multiple audiences.--bound-object-kind stringKind of an object to bind the token to. Supported kinds are Node, Pod, Secret. If set, --bound-object-name must be provided.--bound-object-name stringName of an object to bind the token to. The token will expire when the object is deleted. Requires --bound-object-kind.--bound-object-uid stringUID of an object to bind the token to. Requires --bound-object-kind and --bound-object-name. If unset, the UID of the existing object is used.--duration durationRequested lifetime of the issued token. If not set or if set to 0, the lifetime will be determined by the server automatically. The server may return a token with a longer or shorter lifetime.-h, --helphelp for token-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client k",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_token/",
    "id": "k8s_00080_qa_1358"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e q u e s t   a   s e r v i c e   a c c o u n t   t o k e n .   k u b e c t l   c r e a t e   t o k e n   S E R V I C E _ A C C O U N T _ N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_token/",
    "id": "k8s_00080_section_2_1359"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R e q u e s t   a   t o k e n   t o   a u t h e n t i c a t e   t o   t h e   k u b e - a p i s e r v e r   a s   t h e   s e r v i c e   a c c o u n t   \" m y a p p \"   i n   t h e   c u r r e n t   n a m e s p a c e   k u b e c t l   c r e a t e   t o k e n   m y a p p   #   R e q u e s t   a   t o k e n   f o r   a   s e r v i c e   a c c o u n t   i n   a   c u s t o m   n a m e s p a c e   k u b e c t l   c r e a t e   t o k e n   m y a p p   - - n a m e s p a c e   m y n s   #   R e q u e s t   a   t o k e n   w i t h   a   c u s t o m   e x p i r a t i o n   k u b e c t l   c r e a t e   t o k e n   m y a p p   - - d u r a t i o n   1 0 m   #   R e q u e s t   a   t o k e n   w i t h   a   c u s t o m   a u d i e n c e   k u b e c t l   c r e a t e   t o k e n   m y a p p   - - a u d i e n c e   h t t p s : / / e x a m p l e . c o m   #   R e q u e s t   a   t o k e n   b o u n d   t o   a n   i n s t a n c e   o f   a   S e c r e t   o b j e c t   k u b e c t l   c r e a t e   t o k e n   m y a p p   - - b o u n d - o b j e c t - k i n d   S e c r e t   - - b o u n d - o b j e c t - n a m e   m y s e c r e t   #   R e q u e s t   a   t o k e n   b o u n d   t o   a n   i n s t a n c e   o f   a   S e c r e t   o b j e c t   w i t h   a   s p e c i f i c   U I D   k u b e c t l   c r e a t e   t o k e n   m y a p p   - - b o u n d - o b j e c t - k i n d   S e c r e t   - - b o u n d - o b j e c t - n a m e   m y s e c r e t   - - b o u n d - o b j e c t - u i d   0 d 4 6 9 1 e d - 6 5 9 b - 4 9 3 5 - a 8 3 2 - 3 5 5 f 7 7 e e 4 7 c c",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_token/",
    "id": "k8s_00080_section_2_1360"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   A u d i e n c e   o f   t h e   r e q u e s t e d   t o k e n .   I f   u n s e t ,   d e f a u l t s   t o   r e q u e s t i n g   a   t o k e n   f o r   u s e   w i t h   t h e   K u b e r n e t e s   A P I   s e r v e r .   M a y   b e   r e p e a t e d   t o   r e q u e s t   a   t o k e n   v a l i d   f o r   m u l t i p l e   a u d i e n c e s .   K i n d   o f   a n   o b j e c t   t o   b i n d   t h e   t o k e n   t o .   S u p p o r t e d   k i n d s   a r e   N o d e ,   P o d ,   S e c r e t .   I f   s e t ,   - - b o u n d - o b j e c t - n a m e   m u s t   b e   p r o v i d e d .   N a m e   o f   a n   o b j e c t   t o   b i n d   t h e   t o k e n   t o .   T h e   t o k e n   w i l l   e x p i r e   w h e n   t h e   o b j e c t   i s   d e l e t e d .   R e q u i r e s   - - b o u n d - o b j e c t - k i n d .   U I D   o f   a n   o b j e c t   t o   b i n d   t h e   t o k e n   t o .   R e q u i r e s   - - b o u n d - o b j e c t - k i n d   a n d   - - b o u n d - o b j e c t - n a m e .   I f   u n s e t ,   t h e   U I D   o f   t h e   e x i s t i n g   o b j e c t   i s   u s e d .   R e q u e s t e d   l i f e t i m e   o f   t h e   i s s u e d   t o k e n .   I f   n o t   s e t   o r   i f   s e t   t o   0 ,   t h e   l i f e t i m e   w i l l   b e   d e t e r m i n e d   b y   t h e   s e r v e r   a u t o m a t i c a l l y .   T h e   s e r v e r   m a y   r e t u r n   a   t o k e n   w i t h   a   l o n g e r   o r   s h o r t e r   l i f e t i m e .   h e l p   f o r   t o k e n   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_token/",
    "id": "k8s_00080_section_2_1361"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_token/",
    "id": "k8s_00080_section_2_1362"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_token/",
    "id": "k8s_00080_section_2_1363"
  },
  {
    "question": "What is kubectl patch?",
    "answer": "kubectl patchSynopsisUpdate fields of a resource using strategic merge patch, a JSON merge patch, or a JSON patch.JSON and YAML formats are accepted.Note: Strategic merge patch is not supported for custom resources.kubectl patch (-f FILENAME | TYPE NAME) [-p PATCH|--patch-file FILE] Examples # Partially update a node using a strategic merge patch, specifying the patch as JSON kubectl patch node k8s-node-1 -p '{\"spec\":{\"unschedulable\":true}}' # Partially update a node using a strategic merge patch, specifying the patch as YAML kubectl patch node k8s-node-1 -p $'spec:\\n unschedulable: true' # Partially update a node identified by the type and name specified in \"node.json\" using strategic merge patch kubectl patch -f node.json -p '{\"spec\":{\"unschedulable\":true}}' # Update a container's image; spec.containers[*].name is required because it's a merge key kubectl patch pod valid-pod -p '{\"spec\":{\"containers\":[{\"name\":\"kubernetes-serve-hostname\",\"image\":\"new image\"}]}}' # Update a container's image using a JSON patch with positional arrays kubectl patch pod valid-pod --type='json' -p='[{\"op\": \"replace\", \"path\": \"/spec/containers/0/image\", \"value\":\"new image\"}]' # Update a deployment's replicas through the 'scale' subresource using a merge patch kubectl patch deployment nginx-deployment --subresource='scale' --type='merge' -p '{\"spec\":{\"replicas\":2}}' Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-patch\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to update-h, --helphelp for patch-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--localIf true, patch will operate on the content of the file, not the server-side resource.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-p, --patch stringThe patch to be applied to the resource JSON file.--patch-file stringA file containing a patch to be applied to the resource.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--subresource stringIf specified, patch will operate on the subresource of the requested object.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_patch/",
    "id": "k8s_00081_qa_1364"
  },
  {
    "question": "How does kubectl patch work?",
    "answer": "kubectl patchSynopsisUpdate fields of a resource using strategic merge patch, a JSON merge patch, or a JSON patch.JSON and YAML formats are accepted.Note: Strategic merge patch is not supported for custom resources.kubectl patch (-f FILENAME | TYPE NAME) [-p PATCH|--patch-file FILE] Examples # Partially update a node using a strategic merge patch, specifying the patch as JSON kubectl patch node k8s-node-1 -p '{\"spec\":{\"unschedulable\":true}}' # Partially update a node using a strategic merge patch, specifying the patch as YAML kubectl patch node k8s-node-1 -p $'spec:\\n unschedulable: true' # Partially update a node identified by the type and name specified in \"node.json\" using strategic merge patch kubectl patch -f node.json -p '{\"spec\":{\"unschedulable\":true}}' # Update a container's image; spec.containers[*].name is required because it's a merge key kubectl patch pod valid-pod -p '{\"spec\":{\"containers\":[{\"name\":\"kubernetes-serve-hostname\",\"image\":\"new image\"}]}}' # Update a container's image using a JSON patch with positional arrays kubectl patch pod valid-pod --type='json' -p='[{\"op\": \"replace\", \"path\": \"/spec/containers/0/image\", \"value\":\"new image\"}]' # Update a deployment's replicas through the 'scale' subresource using a merge patch kubectl patch deployment nginx-deployment --subresource='scale' --type='merge' -p '{\"spec\":{\"replicas\":2}}' Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-patch\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to update-h, --helphelp for patch-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--localIf true, patch will operate on the content of the file, not the server-side resource.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-p, --patch stringThe patch to be applied to the resource JSON file.--patch-file stringA file containing a patch to be applied to the resource.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--subresource stringIf specified, patch will operate on the subresource of the requested object.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_patch/",
    "id": "k8s_00081_qa_1365"
  },
  {
    "question": "When would you use kubectl patch?",
    "answer": "kubectl patchSynopsisUpdate fields of a resource using strategic merge patch, a JSON merge patch, or a JSON patch.JSON and YAML formats are accepted.Note: Strategic merge patch is not supported for custom resources.kubectl patch (-f FILENAME | TYPE NAME) [-p PATCH|--patch-file FILE] Examples # Partially update a node using a strategic merge patch, specifying the patch as JSON kubectl patch node k8s-node-1 -p '{\"spec\":{\"unschedulable\":true}}' # Partially update a node using a strategic merge patch, specifying the patch as YAML kubectl patch node k8s-node-1 -p $'spec:\\n unschedulable: true' # Partially update a node identified by the type and name specified in \"node.json\" using strategic merge patch kubectl patch -f node.json -p '{\"spec\":{\"unschedulable\":true}}' # Update a container's image; spec.containers[*].name is required because it's a merge key kubectl patch pod valid-pod -p '{\"spec\":{\"containers\":[{\"name\":\"kubernetes-serve-hostname\",\"image\":\"new image\"}]}}' # Update a container's image using a JSON patch with positional arrays kubectl patch pod valid-pod --type='json' -p='[{\"op\": \"replace\", \"path\": \"/spec/containers/0/image\", \"value\":\"new image\"}]' # Update a deployment's replicas through the 'scale' subresource using a merge patch kubectl patch deployment nginx-deployment --subresource='scale' --type='merge' -p '{\"spec\":{\"replicas\":2}}' Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-patch\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to update-h, --helphelp for patch-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--localIf true, patch will operate on the content of the file, not the server-side resource.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-p, --patch stringThe patch to be applied to the resource JSON file.--patch-file stringA file containing a patch to be applied to the resource.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--subresource stringIf specified, patch will operate on the subresource of the requested object.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_patch/",
    "id": "k8s_00081_qa_1366"
  },
  {
    "question": "What are the benefits of kubectl patch?",
    "answer": "kubectl patchSynopsisUpdate fields of a resource using strategic merge patch, a JSON merge patch, or a JSON patch.JSON and YAML formats are accepted.Note: Strategic merge patch is not supported for custom resources.kubectl patch (-f FILENAME | TYPE NAME) [-p PATCH|--patch-file FILE] Examples # Partially update a node using a strategic merge patch, specifying the patch as JSON kubectl patch node k8s-node-1 -p '{\"spec\":{\"unschedulable\":true}}' # Partially update a node using a strategic merge patch, specifying the patch as YAML kubectl patch node k8s-node-1 -p $'spec:\\n unschedulable: true' # Partially update a node identified by the type and name specified in \"node.json\" using strategic merge patch kubectl patch -f node.json -p '{\"spec\":{\"unschedulable\":true}}' # Update a container's image; spec.containers[*].name is required because it's a merge key kubectl patch pod valid-pod -p '{\"spec\":{\"containers\":[{\"name\":\"kubernetes-serve-hostname\",\"image\":\"new image\"}]}}' # Update a container's image using a JSON patch with positional arrays kubectl patch pod valid-pod --type='json' -p='[{\"op\": \"replace\", \"path\": \"/spec/containers/0/image\", \"value\":\"new image\"}]' # Update a deployment's replicas through the 'scale' subresource using a merge patch kubectl patch deployment nginx-deployment --subresource='scale' --type='merge' -p '{\"spec\":{\"replicas\":2}}' Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-patch\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to update-h, --helphelp for patch-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--localIf true, patch will operate on the content of the file, not the server-side resource.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-p, --patch stringThe patch to be applied to the resource JSON file.--patch-file stringA file containing a patch to be applied to the resource.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--subresource stringIf specified, patch will operate on the subresource of the requested object.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_patch/",
    "id": "k8s_00081_qa_1367"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e   f i e l d s   o f   a   r e s o u r c e   u s i n g   s t r a t e g i c   m e r g e   p a t c h ,   a   J S O N   m e r g e   p a t c h ,   o r   a   J S O N   p a t c h .   J S O N   a n d   Y A M L   f o r m a t s   a r e   a c c e p t e d .   N o t e :   S t r a t e g i c   m e r g e   p a t c h   i s   n o t   s u p p o r t e d   f o r   c u s t o m   r e s o u r c e s .   k u b e c t l   p a t c h   ( - f   F I L E N A M E   |   T Y P E   N A M E )   [ - p   P A T C H | - - p a t c h - f i l e   F I L E ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_patch/",
    "id": "k8s_00081_section_2_1368"
  },
  {
    "question": "What is Examples?",
    "answer": "#   P a r t i a l l y   u p d a t e   a   n o d e   u s i n g   a   s t r a t e g i c   m e r g e   p a t c h ,   s p e c i f y i n g   t h e   p a t c h   a s   J S O N   k u b e c t l   p a t c h   n o d e   k 8 s - n o d e - 1   - p   ' { \" s p e c \" : { \" u n s c h e d u l a b l e \" : t r u e } } '   #   P a r t i a l l y   u p d a t e   a   n o d e   u s i n g   a   s t r a t e g i c   m e r g e   p a t c h ,   s p e c i f y i n g   t h e   p a t c h   a s   Y A M L   k u b e c t l   p a t c h   n o d e   k 8 s - n o d e - 1   - p   $ ' s p e c : \\ n   u n s c h e d u l a b l e :   t r u e '   #   P a r t i a l l y   u p d a t e   a   n o d e   i d e n t i f i e d   b y   t h e   t y p e   a n d   n a m e   s p e c i f i e d   i n   \" n o d e . j s o n \"   u s i n g   s t r a t e g i c   m e r g e   p a t c h   k u b e c t l   p a t c h   - f   n o d e . j s o n   - p   ' { \" s p e c \" : { \" u n s c h e d u l a b l e \" : t r u e } } '   #   U p d a t e   a   c o n t a i n e r ' s   i m a g e ;   s p e c . c o n t a i n e r s [ * ] . n a m e   i s   r e q u i r e d   b e c a u s e   i t ' s   a   m e r g e   k e y   k u b e c t l   p a t c h   p o d   v a l i d - p o d   - p   ' { \" s p e c \" : { \" c o n t a i n e r s \" : [ { \" n a m e \" : \" k u b e r n e t e s - s e r v e - h o s t n a m e \" , \" i m a g e \" : \" n e w   i m a g e \" } ] } } '   #   U p d a t e   a   c o n t a i n e r ' s   i m a g e   u s i n g   a   J S O N   p a t c h   w i t h   p o s i t i o n a l   a r r a y s   k u b e c t l   p a t c h   p o d   v a l i d - p o d   - - t y p e = ' j s o n '   - p = ' [ { \" o p \" :   \" r e p l a c e \" ,   \" p a t h \" :   \" / s p e c / c o n t a i n e r s / 0 / i m a g e \" ,   \" v a l u e \" : \" n e w   i m a g e \" } ] '   #   U p d a t e   a   d e p l o y m e n t ' s   r e p l i c a s   t h r o u g h   t h e   ' s c a l e '   s u b r e s o u r c e   u s i n g   a   m e r g e   p a t c h   k u b e c t l   p a t c h   d e p l o y m e n t   n g i n x - d e p l ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_patch/",
    "id": "k8s_00081_section_2_1369"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   u p d a t e   h e l p   f o r   p a t c h   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   I f   t r u e ,   p a t c h   w i l l   o p e r a t e   o n   t h e   c o n t e n t   o f   t h e   f i l e ,   n o t   t h e   s e r v e r - s i d e   r e s o u r c e .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   T h e   p a t c h   t o   b e   a p p l i e d   t o   t h e   r e s o u r c e   J S O N   f i l e .   A   f i l e   c o n t a i n i n g   a   p a t c h   t o   b e   a p p l i e d   t o   t h e   r e s o u r c e .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_patch/",
    "id": "k8s_00081_section_2_1370"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_patch/",
    "id": "k8s_00081_section_2_1371"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_patch/",
    "id": "k8s_00081_section_2_1372"
  },
  {
    "question": "What is Monitor Node Health?",
    "answer": "Monitor Node HealthNode Problem Detector is a daemon for monitoring and reporting about a node's health. You can run Node Problem Detector as a DaemonSet or as a standalone daemon. Node Problem Detector collects information about node problems from various daemons and reports these conditions to the API server as Node Conditions or as Events.To learn how to install and use Node Problem Detector, see Node Problem Detector project documentation.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesLimitationsNode Problem Detector uses the kernel log format for reporting kernel issues. To learn how to extend the kernel log format, see Add support for another log format.Enabling Node Problem DetectorSome cloud providers enable Node Problem Detector as an Addon. You can also enable Node Problem Detector with kubectl or by creating an Addon DaemonSet.Using kubectl to enable Node Problem Detectorkubectl provides the most flexible management of Node Problem Detector. You can overwrite the default configuration to fit it into your environment or to detect customized node problems. For example:Create a Node Problem Detector configuration similar to node-problem-detector.yaml:debug/node-problem-detector.yaml apiVersion: apps/v1 kind: DaemonSet metadata: name: node-problem-detector-v0.1 namespace: kube-system labels: k8s-app: node-problem-detector version: v0.1 kubernetes.io/cluster-service: \"true\" spec: selector: matchLabels: k8s-app: node-problem-detector version: v0.1 kubernetes.io/cluster-service: \"true\" template: metadata: labels: k8s-app: node-problem-detector version: v0.1 kubernetes.io/cluster-service: \"true\" spec: hostNetwork: true containers: - name: node-problem-detector image: registry.k8s.io/node-problem-detector:v0.1 securityContext: privileged: true resources: limits: cpu: \"200m\" memory: \"100Mi\" requests: cpu: \"20m\" memory: \"20Mi\" volumeMounts: - name: log mountPath: /log readOnly: true volumes: - name: log hostPath: path: /var/log/Note:You should verify that the system log directory is right for your operating system distribution.Start node problem detector with kubectl:kubectl apply -f https://k8s.io/examples/debug/node-problem-detector.yaml Using an Addon pod to enable Node Problem DetectorIf you are using a custom cluster bootstrap solution and don't need to overwrite the default configuration, you can leverage the Addon pod to further automate the deployment.Create node-problem-detector.yaml, and save the configuration in the Addon pod's directory /etc/kubernetes/addons/node-problem-detector on a control plane node.Overwrite the configurationThe default configu",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/monitor-node-health/",
    "id": "k8s_00082_qa_1373"
  },
  {
    "question": "How does Monitor Node Health work?",
    "answer": "Monitor Node HealthNode Problem Detector is a daemon for monitoring and reporting about a node's health. You can run Node Problem Detector as a DaemonSet or as a standalone daemon. Node Problem Detector collects information about node problems from various daemons and reports these conditions to the API server as Node Conditions or as Events.To learn how to install and use Node Problem Detector, see Node Problem Detector project documentation.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesLimitationsNode Problem Detector uses the kernel log format for reporting kernel issues. To learn how to extend the kernel log format, see Add support for another log format.Enabling Node Problem DetectorSome cloud providers enable Node Problem Detector as an Addon. You can also enable Node Problem Detector with kubectl or by creating an Addon DaemonSet.Using kubectl to enable Node Problem Detectorkubectl provides the most flexible management of Node Problem Detector. You can overwrite the default configuration to fit it into your environment or to detect customized node problems. For example:Create a Node Problem Detector configuration similar to node-problem-detector.yaml:debug/node-problem-detector.yaml apiVersion: apps/v1 kind: DaemonSet metadata: name: node-problem-detector-v0.1 namespace: kube-system labels: k8s-app: node-problem-detector version: v0.1 kubernetes.io/cluster-service: \"true\" spec: selector: matchLabels: k8s-app: node-problem-detector version: v0.1 kubernetes.io/cluster-service: \"true\" template: metadata: labels: k8s-app: node-problem-detector version: v0.1 kubernetes.io/cluster-service: \"true\" spec: hostNetwork: true containers: - name: node-problem-detector image: registry.k8s.io/node-problem-detector:v0.1 securityContext: privileged: true resources: limits: cpu: \"200m\" memory: \"100Mi\" requests: cpu: \"20m\" memory: \"20Mi\" volumeMounts: - name: log mountPath: /log readOnly: true volumes: - name: log hostPath: path: /var/log/Note:You should verify that the system log directory is right for your operating system distribution.Start node problem detector with kubectl:kubectl apply -f https://k8s.io/examples/debug/node-problem-detector.yaml Using an Addon pod to enable Node Problem DetectorIf you are using a custom cluster bootstrap solution and don't need to overwrite the default configuration, you can leverage the Addon pod to further automate the deployment.Create node-problem-detector.yaml, and save the configuration in the Addon pod's directory /etc/kubernetes/addons/node-problem-detector on a control plane node.Overwrite the configurationThe default configu",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/monitor-node-health/",
    "id": "k8s_00082_qa_1374"
  },
  {
    "question": "When would you use Monitor Node Health?",
    "answer": "Monitor Node HealthNode Problem Detector is a daemon for monitoring and reporting about a node's health. You can run Node Problem Detector as a DaemonSet or as a standalone daemon. Node Problem Detector collects information about node problems from various daemons and reports these conditions to the API server as Node Conditions or as Events.To learn how to install and use Node Problem Detector, see Node Problem Detector project documentation.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesLimitationsNode Problem Detector uses the kernel log format for reporting kernel issues. To learn how to extend the kernel log format, see Add support for another log format.Enabling Node Problem DetectorSome cloud providers enable Node Problem Detector as an Addon. You can also enable Node Problem Detector with kubectl or by creating an Addon DaemonSet.Using kubectl to enable Node Problem Detectorkubectl provides the most flexible management of Node Problem Detector. You can overwrite the default configuration to fit it into your environment or to detect customized node problems. For example:Create a Node Problem Detector configuration similar to node-problem-detector.yaml:debug/node-problem-detector.yaml apiVersion: apps/v1 kind: DaemonSet metadata: name: node-problem-detector-v0.1 namespace: kube-system labels: k8s-app: node-problem-detector version: v0.1 kubernetes.io/cluster-service: \"true\" spec: selector: matchLabels: k8s-app: node-problem-detector version: v0.1 kubernetes.io/cluster-service: \"true\" template: metadata: labels: k8s-app: node-problem-detector version: v0.1 kubernetes.io/cluster-service: \"true\" spec: hostNetwork: true containers: - name: node-problem-detector image: registry.k8s.io/node-problem-detector:v0.1 securityContext: privileged: true resources: limits: cpu: \"200m\" memory: \"100Mi\" requests: cpu: \"20m\" memory: \"20Mi\" volumeMounts: - name: log mountPath: /log readOnly: true volumes: - name: log hostPath: path: /var/log/Note:You should verify that the system log directory is right for your operating system distribution.Start node problem detector with kubectl:kubectl apply -f https://k8s.io/examples/debug/node-problem-detector.yaml Using an Addon pod to enable Node Problem DetectorIf you are using a custom cluster bootstrap solution and don't need to overwrite the default configuration, you can leverage the Addon pod to further automate the deployment.Create node-problem-detector.yaml, and save the configuration in the Addon pod's directory /etc/kubernetes/addons/node-problem-detector on a control plane node.Overwrite the configurationThe default configu",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/monitor-node-health/",
    "id": "k8s_00082_qa_1375"
  },
  {
    "question": "What are the benefits of Monitor Node Health?",
    "answer": "Monitor Node HealthNode Problem Detector is a daemon for monitoring and reporting about a node's health. You can run Node Problem Detector as a DaemonSet or as a standalone daemon. Node Problem Detector collects information about node problems from various daemons and reports these conditions to the API server as Node Conditions or as Events.To learn how to install and use Node Problem Detector, see Node Problem Detector project documentation.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesLimitationsNode Problem Detector uses the kernel log format for reporting kernel issues. To learn how to extend the kernel log format, see Add support for another log format.Enabling Node Problem DetectorSome cloud providers enable Node Problem Detector as an Addon. You can also enable Node Problem Detector with kubectl or by creating an Addon DaemonSet.Using kubectl to enable Node Problem Detectorkubectl provides the most flexible management of Node Problem Detector. You can overwrite the default configuration to fit it into your environment or to detect customized node problems. For example:Create a Node Problem Detector configuration similar to node-problem-detector.yaml:debug/node-problem-detector.yaml apiVersion: apps/v1 kind: DaemonSet metadata: name: node-problem-detector-v0.1 namespace: kube-system labels: k8s-app: node-problem-detector version: v0.1 kubernetes.io/cluster-service: \"true\" spec: selector: matchLabels: k8s-app: node-problem-detector version: v0.1 kubernetes.io/cluster-service: \"true\" template: metadata: labels: k8s-app: node-problem-detector version: v0.1 kubernetes.io/cluster-service: \"true\" spec: hostNetwork: true containers: - name: node-problem-detector image: registry.k8s.io/node-problem-detector:v0.1 securityContext: privileged: true resources: limits: cpu: \"200m\" memory: \"100Mi\" requests: cpu: \"20m\" memory: \"20Mi\" volumeMounts: - name: log mountPath: /log readOnly: true volumes: - name: log hostPath: path: /var/log/Note:You should verify that the system log directory is right for your operating system distribution.Start node problem detector with kubectl:kubectl apply -f https://k8s.io/examples/debug/node-problem-detector.yaml Using an Addon pod to enable Node Problem DetectorIf you are using a custom cluster bootstrap solution and don't need to overwrite the default configuration, you can leverage the Addon pod to further automate the deployment.Create node-problem-detector.yaml, and save the configuration in the Addon pod's directory /etc/kubernetes/addons/node-problem-detector on a control plane node.Overwrite the configurationThe default configu",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/monitor-node-health/",
    "id": "k8s_00082_qa_1376"
  },
  {
    "question": "What is Monitor Node Health?",
    "answer": "N o d e   P r o b l e m   D e t e c t o r   i s   a   d a e m o n   f o r   m o n i t o r i n g   a n d   r e p o r t i n g   a b o u t   a   n o d e ' s   h e a l t h .   Y o u   c a n   r u n   N o d e   P r o b l e m   D e t e c t o r   a s   a   D a e m o n S e t   o r   a s   a   s t a n d a l o n e   d a e m o n .   N o d e   P r o b l e m   D e t e c t o r   c o l l e c t s   i n f o r m a t i o n   a b o u t   n o d e   p r o b l e m s   f r o m   v a r i o u s   d a e m o n s   a n d   r e p o r t s   t h e s e   c o n d i t i o n s   t o   t h e   A P I   s e r v e r   a s   N o d e   C o n d i t i o n s   o r   a s   E v e n t s .   T o   l e a r n   h o w   t o   i n s t a l l   a n d   u s e   N o d e   P r o b l e m   D e t e c t o r ,   s e e   N o d e   P r o b l e m   D e t e c t o r   p r o j e c t   d o c u m e n t a t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/monitor-node-health/",
    "id": "k8s_00082_section_1_1377"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/monitor-node-health/",
    "id": "k8s_00082_section_2_1378"
  },
  {
    "question": "What is Limitations?",
    "answer": "N o d e   P r o b l e m   D e t e c t o r   u s e s   t h e   k e r n e l   l o g   f o r m a t   f o r   r e p o r t i n g   k e r n e l   i s s u e s .   T o   l e a r n   h o w   t o   e x t e n d   t h e   k e r n e l   l o g   f o r m a t ,   s e e   A d d   s u p p o r t   f o r   a n o t h e r   l o g   f o r m a t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/monitor-node-health/",
    "id": "k8s_00082_section_2_1379"
  },
  {
    "question": "What is Enabling Node Problem Detector?",
    "answer": "S o m e   c l o u d   p r o v i d e r s   e n a b l e   N o d e   P r o b l e m   D e t e c t o r   a s   a n   A d d o n .   Y o u   c a n   a l s o   e n a b l e   N o d e   P r o b l e m   D e t e c t o r   w i t h   k u b e c t l   o r   b y   c r e a t i n g   a n   A d d o n   D a e m o n S e t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/monitor-node-health/",
    "id": "k8s_00082_section_2_1380"
  },
  {
    "question": "What is Using kubectl to enable Node Problem Detector?",
    "answer": "k u b e c t l   p r o v i d e s   t h e   m o s t   f l e x i b l e   m a n a g e m e n t   o f   N o d e   P r o b l e m   D e t e c t o r .   Y o u   c a n   o v e r w r i t e   t h e   d e f a u l t   c o n f i g u r a t i o n   t o   f i t   i t   i n t o   y o u r   e n v i r o n m e n t   o r   t o   d e t e c t   c u s t o m i z e d   n o d e   p r o b l e m s .   F o r   e x a m p l e :   C r e a t e   a   N o d e   P r o b l e m   D e t e c t o r   c o n f i g u r a t i o n   s i m i l a r   t o   n o d e - p r o b l e m - d e t e c t o r . y a m l : d e b u g / n o d e - p r o b l e m - d e t e c t o r . y a m l   a p i V e r s i o n :   a p p s / v 1   k i n d :   D a e m o n S e t   m e t a d a t a :   n a m e :   n o d e - p r o b l e m - d e t e c t o r - v 0 . 1   n a m e s p a c e :   k u b e - s y s t e m   l a b e l s :   k 8 s - a p p :   n o d e - p r o b l e m - d e t e c t o r   v e r s i o n :   v 0 . 1   k u b e r n e t e s . i o / c l u s t e r - s e r v i c e :   \" t r u e \"   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   k 8 s - a p p :   n o d e - p r o b l e m - d e t e c t o r   v e r s i o n :   v 0 . 1   k u b e r n e t e s . i o / c l u s t e r - s e r v i c e :   \" t r u e \"   t e m p l a t e :   m e t a d a t a :   l a b e l s :   k 8 s - a p p :   n o d e - p r o b l e m - d e t e c t o r   v e r s i o n :   v 0 . 1   k u b e r n e t e s . i o / c l u s t e r - s e r v i c e :   \" t r u e \"   s p e c :   h o s t N e t w o r k :   t r u e   c o n t a i n e r s :   -   n a m e :   n o d e - p r o b l e m - d e t e c t o r   i m a g e :   r e g i s t r y . k 8 s . i o / n o d e - p r o b l e m - d e t e c t o r : v 0 . 1   s e c u r i t y C o n t e x t :   p r i v i l e g e d :   t r u e   r e s o u r c e s :   l i m i t s :   c p u :   \" 2 0 0 m \"   m e m o r y :   \" 1 0 0 M i \"   r e q u e s t s :   c p u :   \" 2 0 m \"   m e m o r y :   \" 2 0 M i \"   v o l u m e M o u n t s :   -   n a m e :   l o g   m o u n t P a t h ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/monitor-node-health/",
    "id": "k8s_00082_section_3_1381"
  },
  {
    "question": "What is Note:?",
    "answer": "S t a r t   n o d e   p r o b l e m   d e t e c t o r   w i t h   k u b e c t l :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d e b u g / n o d e - p r o b l e m - d e t e c t o r . y a m l",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/monitor-node-health/",
    "id": "k8s_00082_section_4_1382"
  },
  {
    "question": "What is Using an Addon pod to enable Node Problem Detector?",
    "answer": "I f   y o u   a r e   u s i n g   a   c u s t o m   c l u s t e r   b o o t s t r a p   s o l u t i o n   a n d   d o n ' t   n e e d   t o   o v e r w r i t e   t h e   d e f a u l t   c o n f i g u r a t i o n ,   y o u   c a n   l e v e r a g e   t h e   A d d o n   p o d   t o   f u r t h e r   a u t o m a t e   t h e   d e p l o y m e n t .   C r e a t e   n o d e - p r o b l e m - d e t e c t o r . y a m l ,   a n d   s a v e   t h e   c o n f i g u r a t i o n   i n   t h e   A d d o n   p o d ' s   d i r e c t o r y   / e t c / k u b e r n e t e s / a d d o n s / n o d e - p r o b l e m - d e t e c t o r   o n   a   c o n t r o l   p l a n e   n o d e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/monitor-node-health/",
    "id": "k8s_00082_section_3_1383"
  },
  {
    "question": "What is Overwrite the configuration?",
    "answer": "T h e   d e f a u l t   c o n f i g u r a t i o n   i s   e m b e d d e d   w h e n   b u i l d i n g   t h e   D o c k e r   i m a g e   o f   N o d e   P r o b l e m   D e t e c t o r .   H o w e v e r ,   y o u   c a n   u s e   a   C o n f i g M a p   t o   o v e r w r i t e   t h e   c o n f i g u r a t i o n :   C h a n g e   t h e   c o n f i g u r a t i o n   f i l e s   i n   c o n f i g / C r e a t e   t h e   C o n f i g M a p   n o d e - p r o b l e m - d e t e c t o r - c o n f i g : k u b e c t l   c r e a t e   c o n f i g m a p   n o d e - p r o b l e m - d e t e c t o r - c o n f i g   - - f r o m - f i l e = c o n f i g /   C h a n g e   t h e   n o d e - p r o b l e m - d e t e c t o r . y a m l   t o   u s e   t h e   C o n f i g M a p : d e b u g / n o d e - p r o b l e m - d e t e c t o r - c o n f i g m a p . y a m l   a p i V e r s i o n :   a p p s / v 1   k i n d :   D a e m o n S e t   m e t a d a t a :   n a m e :   n o d e - p r o b l e m - d e t e c t o r - v 0 . 1   n a m e s p a c e :   k u b e - s y s t e m   l a b e l s :   k 8 s - a p p :   n o d e - p r o b l e m - d e t e c t o r   v e r s i o n :   v 0 . 1   k u b e r n e t e s . i o / c l u s t e r - s e r v i c e :   \" t r u e \"   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   k 8 s - a p p :   n o d e - p r o b l e m - d e t e c t o r   v e r s i o n :   v 0 . 1   k u b e r n e t e s . i o / c l u s t e r - s e r v i c e :   \" t r u e \"   t e m p l a t e :   m e t a d a t a :   l a b e l s :   k 8 s - a p p :   n o d e - p r o b l e m - d e t e c t o r   v e r s i o n :   v 0 . 1   k u b e r n e t e s . i o / c l u s t e r - s e r v i c e :   \" t r u e \"   s p e c :   h o s t N e t w o r k :   t r u e   c o n t a i n e r s :   -   n a m e :   n o d e - p r o b l e m - d e t e c t o r   i m a g e :   r e g i s t r y . k 8 s . i o / n o d e - p r o b l e m - d e t e c t o r : v 0 . 1   s e c u r i t y C o n t e x t :   p r i v i l e g e d :   t r u e   r e s o u r c ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/monitor-node-health/",
    "id": "k8s_00082_section_2_1384"
  },
  {
    "question": "What is Note:?",
    "answer": "O v e r w r i t i n g   a   c o n f i g u r a t i o n   i s   n o t   s u p p o r t e d   i f   a   N o d e   P r o b l e m   D e t e c t o r   r u n s   a s   a   c l u s t e r   A d d o n .   T h e   A d d o n   m a n a g e r   d o e s   n o t   s u p p o r t   C o n f i g M a p .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/monitor-node-health/",
    "id": "k8s_00082_section_4_1385"
  },
  {
    "question": "What is Problem Daemons?",
    "answer": "A   p r o b l e m   d a e m o n   i s   a   s u b - d a e m o n   o f   t h e   N o d e   P r o b l e m   D e t e c t o r .   I t   m o n i t o r s   s p e c i f i c   k i n d s   o f   n o d e   p r o b l e m s   a n d   r e p o r t s   t h e m   t o   t h e   N o d e   P r o b l e m   D e t e c t o r .   T h e r e   a r e   s e v e r a l   t y p e s   o f   s u p p o r t e d   p r o b l e m   d a e m o n s .   A   S y s t e m L o g M o n i t o r   t y p e   o f   d a e m o n   m o n i t o r s   t h e   s y s t e m   l o g s   a n d   r e p o r t s   p r o b l e m s   a n d   m e t r i c s   a c c o r d i n g   t o   p r e d e f i n e d   r u l e s .   Y o u   c a n   c u s t o m i z e   t h e   c o n f i g u r a t i o n s   f o r   d i f f e r e n t   l o g   s o u r c e s   s u c h   a s   f i l e l o g ,   k m s g ,   k e r n e l ,   a b r t ,   a n d   s y s t e m d . A   S y s t e m S t a t s M o n i t o r   t y p e   o f   d a e m o n   c o l l e c t s   v a r i o u s   h e a l t h - r e l a t e d   s y s t e m   s t a t s   a s   m e t r i c s .   Y o u   c a n   c u s t o m i z e   i t s   b e h a v i o r   b y   u p d a t i n g   i t s   c o n f i g u r a t i o n   f i l e . A   C u s t o m P l u g i n M o n i t o r   t y p e   o f   d a e m o n   i n v o k e s   a n d   c h e c k s   v a r i o u s   n o d e   p r o b l e m s   b y   r u n n i n g   u s e r - d e f i n e d   s c r i p t s .   Y o u   c a n   u s e   d i f f e r e n t   c u s t o m   p l u g i n   m o n i t o r s   t o   m o n i t o r   d i f f e r e n t   p r o b l e m s   a n d   c u s t o m i z e   t h e   d a e m o n   b e h a v i o r   b y   u p d a t i n g   t h e   c o n f i g u r a t i o n   f i l e . A   H e a l t h C h e c k e r   t y p e   o f   d a e m o n   c h e c k s   t h e   h e a l t h   o f   t h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   o n   a   n o d e .   A   S y s t e m L o g M o n i t o r   t y p e   o f   d a e m o n   m o n i t o r s   t h e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/monitor-node-health/",
    "id": "k8s_00082_section_2_1386"
  },
  {
    "question": "What is Adding support for other log format?",
    "answer": "T h e   s y s t e m   l o g   m o n i t o r   c u r r e n t l y   s u p p o r t s   f i l e - b a s e d   l o g s ,   j o u r n a l d ,   a n d   k m s g .   A d d i t i o n a l   s o u r c e s   c a n   b e   a d d e d   b y   i m p l e m e n t i n g   a   n e w   l o g   w a t c h e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/monitor-node-health/",
    "id": "k8s_00082_section_3_1387"
  },
  {
    "question": "What is Adding custom plugin monitors?",
    "answer": "Y o u   c a n   e x t e n d   t h e   N o d e   P r o b l e m   D e t e c t o r   t o   e x e c u t e   a n y   m o n i t o r   s c r i p t s   w r i t t e n   i n   a n y   l a n g u a g e   b y   d e v e l o p i n g   a   c u s t o m   p l u g i n .   T h e   m o n i t o r   s c r i p t s   m u s t   c o n f o r m   t o   t h e   p l u g i n   p r o t o c o l   i n   e x i t   c o d e   a n d   s t a n d a r d   o u t p u t .   F o r   m o r e   i n f o r m a t i o n ,   p l e a s e   r e f e r   t o   t h e   p l u g i n   i n t e r f a c e   p r o p o s a l .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/monitor-node-health/",
    "id": "k8s_00082_section_3_1388"
  },
  {
    "question": "What is Exporter?",
    "answer": "A n   e x p o r t e r   r e p o r t s   t h e   n o d e   p r o b l e m s   a n d / o r   m e t r i c s   t o   c e r t a i n   b a c k e n d s .   T h e   f o l l o w i n g   e x p o r t e r s   a r e   s u p p o r t e d :   K u b e r n e t e s   e x p o r t e r :   t h i s   e x p o r t e r   r e p o r t s   n o d e   p r o b l e m s   t o   t h e   K u b e r n e t e s   A P I   s e r v e r .   T e m p o r a r y   p r o b l e m s   a r e   r e p o r t e d   a s   E v e n t s   a n d   p e r m a n e n t   p r o b l e m s   a r e   r e p o r t e d   a s   N o d e   C o n d i t i o n s . P r o m e t h e u s   e x p o r t e r :   t h i s   e x p o r t e r   r e p o r t s   n o d e   p r o b l e m s   a n d   m e t r i c s   l o c a l l y   a s   P r o m e t h e u s   ( o r   O p e n M e t r i c s )   m e t r i c s .   Y o u   c a n   s p e c i f y   t h e   I P   a d d r e s s   a n d   p o r t   f o r   t h e   e x p o r t e r   u s i n g   c o m m a n d   l i n e   a r g u m e n t s . S t a c k d r i v e r   e x p o r t e r :   t h i s   e x p o r t e r   r e p o r t s   n o d e   p r o b l e m s   a n d   m e t r i c s   t o   t h e   S t a c k d r i v e r   M o n i t o r i n g   A P I .   T h e   e x p o r t i n g   b e h a v i o r   c a n   b e   c u s t o m i z e d   u s i n g   a   c o n f i g u r a t i o n   f i l e .   K u b e r n e t e s   e x p o r t e r :   t h i s   e x p o r t e r   r e p o r t s   n o d e   p r o b l e m s   t o   t h e   K u b e r n e t e s   A P I   s e r v e r .   T e m p o r a r y   p r o b l e m s   a r e   r e p o r t e d   a s   E v e n t s   a n d   p e r m a n e n t   p r o b l e m s   a r e   r e p o r t e d   a s   N o d e   C o n d i t i o n s .   P r o m e t h e u s   e x p o r t e r :   t h i s   e x p o r t e r   r e p o r t s   n o d e   p r o b l e m s   a n d   m e t r i c s   l o c a l l y   a s   P r o m e t h e u s   ( o r   O p e n M e t r i c s )   m e t r i c s .   Y o u   c a n   s p e c i f y   t h e   I P   a ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/monitor-node-health/",
    "id": "k8s_00082_section_2_1389"
  },
  {
    "question": "What is Recommendations and restrictions?",
    "answer": "I t   i s   r e c o m m e n d e d   t o   r u n   t h e   N o d e   P r o b l e m   D e t e c t o r   i n   y o u r   c l u s t e r   t o   m o n i t o r   n o d e   h e a l t h .   W h e n   r u n n i n g   t h e   N o d e   P r o b l e m   D e t e c t o r ,   y o u   c a n   e x p e c t   e x t r a   r e s o u r c e   o v e r h e a d   o n   e a c h   n o d e .   U s u a l l y   t h i s   i s   f i n e ,   b e c a u s e :   T h e   k e r n e l   l o g   g r o w s   r e l a t i v e l y   s l o w l y . A   r e s o u r c e   l i m i t   i s   s e t   f o r   t h e   N o d e   P r o b l e m   D e t e c t o r . E v e n   u n d e r   h i g h   l o a d ,   t h e   r e s o u r c e   u s a g e   i s   a c c e p t a b l e .   F o r   m o r e   i n f o r m a t i o n ,   s e e   t h e   N o d e   P r o b l e m   D e t e c t o r   b e n c h m a r k   r e s u l t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/monitor-node-health/",
    "id": "k8s_00082_section_2_1390"
  },
  {
    "question": "What is Persistent Volumes?",
    "answer": "Persistent VolumesThis document describes persistent volumes in Kubernetes. Familiarity with volumes, StorageClasses and VolumeAttributesClasses is suggested.IntroductionManaging storage is a distinct problem from managing compute instances. The PersistentVolume subsystem provides an API for users and administrators that abstracts details of how storage is provided from how it is consumed. To do this, we introduce two new API resources: PersistentVolume and PersistentVolumeClaim.A PersistentVolume (PV) is a piece of storage in the cluster that has been provisioned by an administrator or dynamically provisioned using Storage Classes. It is a resource in the cluster just like a node is a cluster resource. PVs are volume plugins like Volumes, but have a lifecycle independent of any individual Pod that uses the PV. This API object captures the details of the implementation of the storage, be that NFS, iSCSI, or a cloud-provider-specific storage system.A PersistentVolumeClaim (PVC) is a request for storage by a user. It is similar to a Pod. Pods consume node resources and PVCs consume PV resources. Pods can request specific levels of resources (CPU and Memory). Claims can request specific size and access modes (e.g., they can be mounted ReadWriteOnce, ReadOnlyMany, ReadWriteMany, or ReadWriteOncePod, see AccessModes).While PersistentVolumeClaims allow a user to consume abstract storage resources, it is common that users need PersistentVolumes with varying properties, such as performance, for different problems. Cluster administrators need to be able to offer a variety of PersistentVolumes that differ in more ways than size and access modes, without exposing users to the details of how those volumes are implemented. For these needs, there is the StorageClass resource.See the detailed walkthrough with working examples.Lifecycle of a volume and claimPVs are resources in the cluster. PVCs are requests for those resources and also act as claim checks to the resource. The interaction between PVs and PVCs follows this lifecycle:ProvisioningThere are two ways PVs may be provisioned: statically or dynamically.StaticA cluster administrator creates a number of PVs. They carry the details of the real storage, which is available for use by cluster users. They exist in the Kubernetes API and are available for consumption.DynamicWhen none of the static PVs the administrator created match a user's PersistentVolumeClaim, the cluster may try to dynamically provision a volume specially for the PVC. This provisioning is based on StorageClasses: the PVC must request a storage class and the administrator must have created and configured that class for dynamic provisioning to occur. Claims that request the class \"\" effectively disable dynamic provisioning for themselves.To enable dynamic storage provisioning based on storage class, the cluster administrator needs to enable the DefaultStorageClass admission controller on the API server. This can be done, for example, by ensu",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_qa_1391"
  },
  {
    "question": "How does Persistent Volumes work?",
    "answer": "Persistent VolumesThis document describes persistent volumes in Kubernetes. Familiarity with volumes, StorageClasses and VolumeAttributesClasses is suggested.IntroductionManaging storage is a distinct problem from managing compute instances. The PersistentVolume subsystem provides an API for users and administrators that abstracts details of how storage is provided from how it is consumed. To do this, we introduce two new API resources: PersistentVolume and PersistentVolumeClaim.A PersistentVolume (PV) is a piece of storage in the cluster that has been provisioned by an administrator or dynamically provisioned using Storage Classes. It is a resource in the cluster just like a node is a cluster resource. PVs are volume plugins like Volumes, but have a lifecycle independent of any individual Pod that uses the PV. This API object captures the details of the implementation of the storage, be that NFS, iSCSI, or a cloud-provider-specific storage system.A PersistentVolumeClaim (PVC) is a request for storage by a user. It is similar to a Pod. Pods consume node resources and PVCs consume PV resources. Pods can request specific levels of resources (CPU and Memory). Claims can request specific size and access modes (e.g., they can be mounted ReadWriteOnce, ReadOnlyMany, ReadWriteMany, or ReadWriteOncePod, see AccessModes).While PersistentVolumeClaims allow a user to consume abstract storage resources, it is common that users need PersistentVolumes with varying properties, such as performance, for different problems. Cluster administrators need to be able to offer a variety of PersistentVolumes that differ in more ways than size and access modes, without exposing users to the details of how those volumes are implemented. For these needs, there is the StorageClass resource.See the detailed walkthrough with working examples.Lifecycle of a volume and claimPVs are resources in the cluster. PVCs are requests for those resources and also act as claim checks to the resource. The interaction between PVs and PVCs follows this lifecycle:ProvisioningThere are two ways PVs may be provisioned: statically or dynamically.StaticA cluster administrator creates a number of PVs. They carry the details of the real storage, which is available for use by cluster users. They exist in the Kubernetes API and are available for consumption.DynamicWhen none of the static PVs the administrator created match a user's PersistentVolumeClaim, the cluster may try to dynamically provision a volume specially for the PVC. This provisioning is based on StorageClasses: the PVC must request a storage class and the administrator must have created and configured that class for dynamic provisioning to occur. Claims that request the class \"\" effectively disable dynamic provisioning for themselves.To enable dynamic storage provisioning based on storage class, the cluster administrator needs to enable the DefaultStorageClass admission controller on the API server. This can be done, for example, by ensu",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_qa_1392"
  },
  {
    "question": "When would you use Persistent Volumes?",
    "answer": "Persistent VolumesThis document describes persistent volumes in Kubernetes. Familiarity with volumes, StorageClasses and VolumeAttributesClasses is suggested.IntroductionManaging storage is a distinct problem from managing compute instances. The PersistentVolume subsystem provides an API for users and administrators that abstracts details of how storage is provided from how it is consumed. To do this, we introduce two new API resources: PersistentVolume and PersistentVolumeClaim.A PersistentVolume (PV) is a piece of storage in the cluster that has been provisioned by an administrator or dynamically provisioned using Storage Classes. It is a resource in the cluster just like a node is a cluster resource. PVs are volume plugins like Volumes, but have a lifecycle independent of any individual Pod that uses the PV. This API object captures the details of the implementation of the storage, be that NFS, iSCSI, or a cloud-provider-specific storage system.A PersistentVolumeClaim (PVC) is a request for storage by a user. It is similar to a Pod. Pods consume node resources and PVCs consume PV resources. Pods can request specific levels of resources (CPU and Memory). Claims can request specific size and access modes (e.g., they can be mounted ReadWriteOnce, ReadOnlyMany, ReadWriteMany, or ReadWriteOncePod, see AccessModes).While PersistentVolumeClaims allow a user to consume abstract storage resources, it is common that users need PersistentVolumes with varying properties, such as performance, for different problems. Cluster administrators need to be able to offer a variety of PersistentVolumes that differ in more ways than size and access modes, without exposing users to the details of how those volumes are implemented. For these needs, there is the StorageClass resource.See the detailed walkthrough with working examples.Lifecycle of a volume and claimPVs are resources in the cluster. PVCs are requests for those resources and also act as claim checks to the resource. The interaction between PVs and PVCs follows this lifecycle:ProvisioningThere are two ways PVs may be provisioned: statically or dynamically.StaticA cluster administrator creates a number of PVs. They carry the details of the real storage, which is available for use by cluster users. They exist in the Kubernetes API and are available for consumption.DynamicWhen none of the static PVs the administrator created match a user's PersistentVolumeClaim, the cluster may try to dynamically provision a volume specially for the PVC. This provisioning is based on StorageClasses: the PVC must request a storage class and the administrator must have created and configured that class for dynamic provisioning to occur. Claims that request the class \"\" effectively disable dynamic provisioning for themselves.To enable dynamic storage provisioning based on storage class, the cluster administrator needs to enable the DefaultStorageClass admission controller on the API server. This can be done, for example, by ensu",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_qa_1393"
  },
  {
    "question": "What are the benefits of Persistent Volumes?",
    "answer": "Persistent VolumesThis document describes persistent volumes in Kubernetes. Familiarity with volumes, StorageClasses and VolumeAttributesClasses is suggested.IntroductionManaging storage is a distinct problem from managing compute instances. The PersistentVolume subsystem provides an API for users and administrators that abstracts details of how storage is provided from how it is consumed. To do this, we introduce two new API resources: PersistentVolume and PersistentVolumeClaim.A PersistentVolume (PV) is a piece of storage in the cluster that has been provisioned by an administrator or dynamically provisioned using Storage Classes. It is a resource in the cluster just like a node is a cluster resource. PVs are volume plugins like Volumes, but have a lifecycle independent of any individual Pod that uses the PV. This API object captures the details of the implementation of the storage, be that NFS, iSCSI, or a cloud-provider-specific storage system.A PersistentVolumeClaim (PVC) is a request for storage by a user. It is similar to a Pod. Pods consume node resources and PVCs consume PV resources. Pods can request specific levels of resources (CPU and Memory). Claims can request specific size and access modes (e.g., they can be mounted ReadWriteOnce, ReadOnlyMany, ReadWriteMany, or ReadWriteOncePod, see AccessModes).While PersistentVolumeClaims allow a user to consume abstract storage resources, it is common that users need PersistentVolumes with varying properties, such as performance, for different problems. Cluster administrators need to be able to offer a variety of PersistentVolumes that differ in more ways than size and access modes, without exposing users to the details of how those volumes are implemented. For these needs, there is the StorageClass resource.See the detailed walkthrough with working examples.Lifecycle of a volume and claimPVs are resources in the cluster. PVCs are requests for those resources and also act as claim checks to the resource. The interaction between PVs and PVCs follows this lifecycle:ProvisioningThere are two ways PVs may be provisioned: statically or dynamically.StaticA cluster administrator creates a number of PVs. They carry the details of the real storage, which is available for use by cluster users. They exist in the Kubernetes API and are available for consumption.DynamicWhen none of the static PVs the administrator created match a user's PersistentVolumeClaim, the cluster may try to dynamically provision a volume specially for the PVC. This provisioning is based on StorageClasses: the PVC must request a storage class and the administrator must have created and configured that class for dynamic provisioning to occur. Claims that request the class \"\" effectively disable dynamic provisioning for themselves.To enable dynamic storage provisioning based on storage class, the cluster administrator needs to enable the DefaultStorageClass admission controller on the API server. This can be done, for example, by ensu",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_qa_1394"
  },
  {
    "question": "What is Persistent Volumes?",
    "answer": "T h i s   d o c u m e n t   d e s c r i b e s   p e r s i s t e n t   v o l u m e s   i n   K u b e r n e t e s .   F a m i l i a r i t y   w i t h   v o l u m e s ,   S t o r a g e C l a s s e s   a n d   V o l u m e A t t r i b u t e s C l a s s e s   i s   s u g g e s t e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_1_1395"
  },
  {
    "question": "What is Introduction?",
    "answer": "M a n a g i n g   s t o r a g e   i s   a   d i s t i n c t   p r o b l e m   f r o m   m a n a g i n g   c o m p u t e   i n s t a n c e s .   T h e   P e r s i s t e n t V o l u m e   s u b s y s t e m   p r o v i d e s   a n   A P I   f o r   u s e r s   a n d   a d m i n i s t r a t o r s   t h a t   a b s t r a c t s   d e t a i l s   o f   h o w   s t o r a g e   i s   p r o v i d e d   f r o m   h o w   i t   i s   c o n s u m e d .   T o   d o   t h i s ,   w e   i n t r o d u c e   t w o   n e w   A P I   r e s o u r c e s :   P e r s i s t e n t V o l u m e   a n d   P e r s i s t e n t V o l u m e C l a i m .   A   P e r s i s t e n t V o l u m e   ( P V )   i s   a   p i e c e   o f   s t o r a g e   i n   t h e   c l u s t e r   t h a t   h a s   b e e n   p r o v i s i o n e d   b y   a n   a d m i n i s t r a t o r   o r   d y n a m i c a l l y   p r o v i s i o n e d   u s i n g   S t o r a g e   C l a s s e s .   I t   i s   a   r e s o u r c e   i n   t h e   c l u s t e r   j u s t   l i k e   a   n o d e   i s   a   c l u s t e r   r e s o u r c e .   P V s   a r e   v o l u m e   p l u g i n s   l i k e   V o l u m e s ,   b u t   h a v e   a   l i f e c y c l e   i n d e p e n d e n t   o f   a n y   i n d i v i d u a l   P o d   t h a t   u s e s   t h e   P V .   T h i s   A P I   o b j e c t   c a p t u r e s   t h e   d e t a i l s   o f   t h e   i m p l e m e n t a t i o n   o f   t h e   s t o r a g e ,   b e   t h a t   N F S ,   i S C S I ,   o r   a   c l o u d - p r o v i d e r - s p e c i f i c   s t o r a g e   s y s t e m .   A   P e r s i s t e n t V o l u m e C l a i m   ( P V C )   i s   a   r e q u e s t   f o r   s t o r a g e   b y   a   u s e r .   I t   i s   s i m i l a r   t o   a   P o d .   P o d s   c o n s u m e   n o d e   r e s o u r c e s   a n d   P V C s   c o n s u m e   P V   r e s o u r c e s .   P o d s   c a n   r e q u e s t   s p e c i f i c   l e v e l s   o f   r e s o u r c e s   ( C P U   a n d   M e ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_2_1396"
  },
  {
    "question": "What is Lifecycle of a volume and claim?",
    "answer": "P V s   a r e   r e s o u r c e s   i n   t h e   c l u s t e r .   P V C s   a r e   r e q u e s t s   f o r   t h o s e   r e s o u r c e s   a n d   a l s o   a c t   a s   c l a i m   c h e c k s   t o   t h e   r e s o u r c e .   T h e   i n t e r a c t i o n   b e t w e e n   P V s   a n d   P V C s   f o l l o w s   t h i s   l i f e c y c l e :",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_2_1397"
  },
  {
    "question": "What is Provisioning?",
    "answer": "T h e r e   a r e   t w o   w a y s   P V s   m a y   b e   p r o v i s i o n e d :   s t a t i c a l l y   o r   d y n a m i c a l l y .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1398"
  },
  {
    "question": "What is Static?",
    "answer": "A   c l u s t e r   a d m i n i s t r a t o r   c r e a t e s   a   n u m b e r   o f   P V s .   T h e y   c a r r y   t h e   d e t a i l s   o f   t h e   r e a l   s t o r a g e ,   w h i c h   i s   a v a i l a b l e   f o r   u s e   b y   c l u s t e r   u s e r s .   T h e y   e x i s t   i n   t h e   K u b e r n e t e s   A P I   a n d   a r e   a v a i l a b l e   f o r   c o n s u m p t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_4_1399"
  },
  {
    "question": "What is Dynamic?",
    "answer": "W h e n   n o n e   o f   t h e   s t a t i c   P V s   t h e   a d m i n i s t r a t o r   c r e a t e d   m a t c h   a   u s e r ' s   P e r s i s t e n t V o l u m e C l a i m ,   t h e   c l u s t e r   m a y   t r y   t o   d y n a m i c a l l y   p r o v i s i o n   a   v o l u m e   s p e c i a l l y   f o r   t h e   P V C .   T h i s   p r o v i s i o n i n g   i s   b a s e d   o n   S t o r a g e C l a s s e s :   t h e   P V C   m u s t   r e q u e s t   a   s t o r a g e   c l a s s   a n d   t h e   a d m i n i s t r a t o r   m u s t   h a v e   c r e a t e d   a n d   c o n f i g u r e d   t h a t   c l a s s   f o r   d y n a m i c   p r o v i s i o n i n g   t o   o c c u r .   C l a i m s   t h a t   r e q u e s t   t h e   c l a s s   \" \"   e f f e c t i v e l y   d i s a b l e   d y n a m i c   p r o v i s i o n i n g   f o r   t h e m s e l v e s .   T o   e n a b l e   d y n a m i c   s t o r a g e   p r o v i s i o n i n g   b a s e d   o n   s t o r a g e   c l a s s ,   t h e   c l u s t e r   a d m i n i s t r a t o r   n e e d s   t o   e n a b l e   t h e   D e f a u l t S t o r a g e C l a s s   a d m i s s i o n   c o n t r o l l e r   o n   t h e   A P I   s e r v e r .   T h i s   c a n   b e   d o n e ,   f o r   e x a m p l e ,   b y   e n s u r i n g   t h a t   D e f a u l t S t o r a g e C l a s s   i s   a m o n g   t h e   c o m m a - d e l i m i t e d ,   o r d e r e d   l i s t   o f   v a l u e s   f o r   t h e   - - e n a b l e - a d m i s s i o n - p l u g i n s   f l a g   o f   t h e   A P I   s e r v e r   c o m p o n e n t .   F o r   m o r e   i n f o r m a t i o n   o n   A P I   s e r v e r   c o m m a n d - l i n e   f l a g s ,   c h e c k   k u b e - a p i s e r v e r   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_4_1400"
  },
  {
    "question": "What is Binding?",
    "answer": "A   u s e r   c r e a t e s ,   o r   i n   t h e   c a s e   o f   d y n a m i c   p r o v i s i o n i n g ,   h a s   a l r e a d y   c r e a t e d ,   a   P e r s i s t e n t V o l u m e C l a i m   w i t h   a   s p e c i f i c   a m o u n t   o f   s t o r a g e   r e q u e s t e d   a n d   w i t h   c e r t a i n   a c c e s s   m o d e s .   A   c o n t r o l   l o o p   i n   t h e   c o n t r o l   p l a n e   w a t c h e s   f o r   n e w   P V C s ,   f i n d s   a   m a t c h i n g   P V   ( i f   p o s s i b l e ) ,   a n d   b i n d s   t h e m   t o g e t h e r .   I f   a   P V   w a s   d y n a m i c a l l y   p r o v i s i o n e d   f o r   a   n e w   P V C ,   t h e   l o o p   w i l l   a l w a y s   b i n d   t h a t   P V   t o   t h e   P V C .   O t h e r w i s e ,   t h e   u s e r   w i l l   a l w a y s   g e t   a t   l e a s t   w h a t   t h e y   a s k e d   f o r ,   b u t   t h e   v o l u m e   m a y   b e   i n   e x c e s s   o f   w h a t   w a s   r e q u e s t e d .   O n c e   b o u n d ,   P e r s i s t e n t V o l u m e C l a i m   b i n d s   a r e   e x c l u s i v e ,   r e g a r d l e s s   o f   h o w   t h e y   w e r e   b o u n d .   A   P V C   t o   P V   b i n d i n g   i s   a   o n e - t o - o n e   m a p p i n g ,   u s i n g   a   C l a i m R e f   w h i c h   i s   a   b i - d i r e c t i o n a l   b i n d i n g   b e t w e e n   t h e   P e r s i s t e n t V o l u m e   a n d   t h e   P e r s i s t e n t V o l u m e C l a i m .   C l a i m s   w i l l   r e m a i n   u n b o u n d   i n d e f i n i t e l y   i f   a   m a t c h i n g   v o l u m e   d o e s   n o t   e x i s t .   C l a i m s   w i l l   b e   b o u n d   a s   m a t c h i n g   v o l u m e s   b e c o m e   a v a i l a b l e .   F o r   e x a m p l e ,   a   c l u s t e r   p r o v i s i o n e d   w i t h   m a n y   5 0 G i   P V s   w o u l d   n o t   m a t c h   a   P V C   r e q u e s t i n g   1 0 0 G i .   T h e   P V C   c a n   ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1401"
  },
  {
    "question": "What is Using?",
    "answer": "P o d s   u s e   c l a i m s   a s   v o l u m e s .   T h e   c l u s t e r   i n s p e c t s   t h e   c l a i m   t o   f i n d   t h e   b o u n d   v o l u m e   a n d   m o u n t s   t h a t   v o l u m e   f o r   a   P o d .   F o r   v o l u m e s   t h a t   s u p p o r t   m u l t i p l e   a c c e s s   m o d e s ,   t h e   u s e r   s p e c i f i e s   w h i c h   m o d e   i s   d e s i r e d   w h e n   u s i n g   t h e i r   c l a i m   a s   a   v o l u m e   i n   a   P o d .   O n c e   a   u s e r   h a s   a   c l a i m   a n d   t h a t   c l a i m   i s   b o u n d ,   t h e   b o u n d   P V   b e l o n g s   t o   t h e   u s e r   f o r   a s   l o n g   a s   t h e y   n e e d   i t .   U s e r s   s c h e d u l e   P o d s   a n d   a c c e s s   t h e i r   c l a i m e d   P V s   b y   i n c l u d i n g   a   p e r s i s t e n t V o l u m e C l a i m   s e c t i o n   i n   a   P o d ' s   v o l u m e s   b l o c k .   S e e   C l a i m s   A s   V o l u m e s   f o r   m o r e   d e t a i l s   o n   t h i s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1402"
  },
  {
    "question": "What is Storage Object in Use Protection?",
    "answer": "T h e   p u r p o s e   o f   t h e   S t o r a g e   O b j e c t   i n   U s e   P r o t e c t i o n   f e a t u r e   i s   t o   e n s u r e   t h a t   P e r s i s t e n t V o l u m e C l a i m s   ( P V C s )   i n   a c t i v e   u s e   b y   a   P o d   a n d   P e r s i s t e n t V o l u m e   ( P V s )   t h a t   a r e   b o u n d   t o   P V C s   a r e   n o t   r e m o v e d   f r o m   t h e   s y s t e m ,   a s   t h i s   m a y   r e s u l t   i n   d a t a   l o s s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1403"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   a   u s e r   d e l e t e s   a   P V C   i n   a c t i v e   u s e   b y   a   P o d ,   t h e   P V C   i s   n o t   r e m o v e d   i m m e d i a t e l y .   P V C   r e m o v a l   i s   p o s t p o n e d   u n t i l   t h e   P V C   i s   n o   l o n g e r   a c t i v e l y   u s e d   b y   a n y   P o d s .   A l s o ,   i f   a n   a d m i n   d e l e t e s   a   P V   t h a t   i s   b o u n d   t o   a   P V C ,   t h e   P V   i s   n o t   r e m o v e d   i m m e d i a t e l y .   P V   r e m o v a l   i s   p o s t p o n e d   u n t i l   t h e   P V   i s   n o   l o n g e r   b o u n d   t o   a   P V C .   Y o u   c a n   s e e   t h a t   a   P V C   i s   p r o t e c t e d   w h e n   t h e   P V C ' s   s t a t u s   i s   T e r m i n a t i n g   a n d   t h e   F i n a l i z e r s   l i s t   i n c l u d e s   k u b e r n e t e s . i o / p v c - p r o t e c t i o n :   k u b e c t l   d e s c r i b e   p v c   h o s t p a t h   N a m e :   h o s t p a t h   N a m e s p a c e :   d e f a u l t   S t o r a g e C l a s s :   e x a m p l e - h o s t p a t h   S t a t u s :   T e r m i n a t i n g   V o l u m e :   L a b e l s :   < n o n e >   A n n o t a t i o n s :   v o l u m e . b e t a . k u b e r n e t e s . i o / s t o r a g e - c l a s s = e x a m p l e - h o s t p a t h   v o l u m e . b e t a . k u b e r n e t e s . i o / s t o r a g e - p r o v i s i o n e r = e x a m p l e . c o m / h o s t p a t h   F i n a l i z e r s :   [ k u b e r n e t e s . i o / p v c - p r o t e c t i o n ]   . . .   Y o u   c a n   s e e   t h a t   a   P V   i s   p r o t e c t e d   w h e n   t h e   P V ' s   s t a t u s   i s   T e r m i n a t i n g   a n d   t h e   F i n a l i z e r s   l i s t   i n c l u d e s   k u b e r n e t e s . i o / p v - p r o t e c t i o n   t o o :   k u b e c t l   d e s c r i b e   p v   t a s k - p v - v o l u m e   N a m e :   t a s k - p v - v o l u m e   L a b e l s :   t y p e = l o c a l   A n n o t a t i o n s ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_4_1404"
  },
  {
    "question": "What is Reclaiming?",
    "answer": "W h e n   a   u s e r   i s   d o n e   w i t h   t h e i r   v o l u m e ,   t h e y   c a n   d e l e t e   t h e   P V C   o b j e c t s   f r o m   t h e   A P I   t h a t   a l l o w s   r e c l a m a t i o n   o f   t h e   r e s o u r c e .   T h e   r e c l a i m   p o l i c y   f o r   a   P e r s i s t e n t V o l u m e   t e l l s   t h e   c l u s t e r   w h a t   t o   d o   w i t h   t h e   v o l u m e   a f t e r   i t   h a s   b e e n   r e l e a s e d   o f   i t s   c l a i m .   C u r r e n t l y ,   v o l u m e s   c a n   e i t h e r   b e   R e t a i n e d ,   R e c y c l e d ,   o r   D e l e t e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1405"
  },
  {
    "question": "What is Retain?",
    "answer": "T h e   R e t a i n   r e c l a i m   p o l i c y   a l l o w s   f o r   m a n u a l   r e c l a m a t i o n   o f   t h e   r e s o u r c e .   W h e n   t h e   P e r s i s t e n t V o l u m e C l a i m   i s   d e l e t e d ,   t h e   P e r s i s t e n t V o l u m e   s t i l l   e x i s t s   a n d   t h e   v o l u m e   i s   c o n s i d e r e d   \" r e l e a s e d \" .   B u t   i t   i s   n o t   y e t   a v a i l a b l e   f o r   a n o t h e r   c l a i m   b e c a u s e   t h e   p r e v i o u s   c l a i m a n t ' s   d a t a   r e m a i n s   o n   t h e   v o l u m e .   A n   a d m i n i s t r a t o r   c a n   m a n u a l l y   r e c l a i m   t h e   v o l u m e   w i t h   t h e   f o l l o w i n g   s t e p s .   D e l e t e   t h e   P e r s i s t e n t V o l u m e .   T h e   a s s o c i a t e d   s t o r a g e   a s s e t   i n   e x t e r n a l   i n f r a s t r u c t u r e   s t i l l   e x i s t s   a f t e r   t h e   P V   i s   d e l e t e d . M a n u a l l y   c l e a n   u p   t h e   d a t a   o n   t h e   a s s o c i a t e d   s t o r a g e   a s s e t   a c c o r d i n g l y . M a n u a l l y   d e l e t e   t h e   a s s o c i a t e d   s t o r a g e   a s s e t .   I f   y o u   w a n t   t o   r e u s e   t h e   s a m e   s t o r a g e   a s s e t ,   c r e a t e   a   n e w   P e r s i s t e n t V o l u m e   w i t h   t h e   s a m e   s t o r a g e   a s s e t   d e f i n i t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_4_1406"
  },
  {
    "question": "What is Delete?",
    "answer": "F o r   v o l u m e   p l u g i n s   t h a t   s u p p o r t   t h e   D e l e t e   r e c l a i m   p o l i c y ,   d e l e t i o n   r e m o v e s   b o t h   t h e   P e r s i s t e n t V o l u m e   o b j e c t   f r o m   K u b e r n e t e s ,   a s   w e l l   a s   t h e   a s s o c i a t e d   s t o r a g e   a s s e t   i n   t h e   e x t e r n a l   i n f r a s t r u c t u r e .   V o l u m e s   t h a t   w e r e   d y n a m i c a l l y   p r o v i s i o n e d   i n h e r i t   t h e   r e c l a i m   p o l i c y   o f   t h e i r   S t o r a g e C l a s s ,   w h i c h   d e f a u l t s   t o   D e l e t e .   T h e   a d m i n i s t r a t o r   s h o u l d   c o n f i g u r e   t h e   S t o r a g e C l a s s   a c c o r d i n g   t o   u s e r s '   e x p e c t a t i o n s ;   o t h e r w i s e ,   t h e   P V   m u s t   b e   e d i t e d   o r   p a t c h e d   a f t e r   i t   i s   c r e a t e d .   S e e   C h a n g e   t h e   R e c l a i m   P o l i c y   o f   a   P e r s i s t e n t V o l u m e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_4_1407"
  },
  {
    "question": "What is Warning:?",
    "answer": "I f   s u p p o r t e d   b y   t h e   u n d e r l y i n g   v o l u m e   p l u g i n ,   t h e   R e c y c l e   r e c l a i m   p o l i c y   p e r f o r m s   a   b a s i c   s c r u b   ( r m   - r f   / t h e v o l u m e / * )   o n   t h e   v o l u m e   a n d   m a k e s   i t   a v a i l a b l e   a g a i n   f o r   a   n e w   c l a i m .   H o w e v e r ,   a n   a d m i n i s t r a t o r   c a n   c o n f i g u r e   a   c u s t o m   r e c y c l e r   P o d   t e m p l a t e   u s i n g   t h e   K u b e r n e t e s   c o n t r o l l e r   m a n a g e r   c o m m a n d   l i n e   a r g u m e n t s   a s   d e s c r i b e d   i n   t h e   r e f e r e n c e .   T h e   c u s t o m   r e c y c l e r   P o d   t e m p l a t e   m u s t   c o n t a i n   a   v o l u m e s   s p e c i f i c a t i o n ,   a s   s h o w n   i n   t h e   e x a m p l e   b e l o w :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p v - r e c y c l e r   n a m e s p a c e :   d e f a u l t   s p e c :   r e s t a r t P o l i c y :   N e v e r   v o l u m e s :   -   n a m e :   v o l   h o s t P a t h :   p a t h :   / a n y / p a t h / i t / w i l l / b e / r e p l a c e d   c o n t a i n e r s :   -   n a m e :   p v - r e c y c l e r   i m a g e :   \" r e g i s t r y . k 8 s . i o / b u s y b o x \"   c o m m a n d :   [ \" / b i n / s h \" ,   \" - c \" ,   \" t e s t   - e   / s c r u b   & &   r m   - r f   / s c r u b / . . ? *   / s c r u b / . [ ! . ] *   / s c r u b / *   & &   t e s t   - z   \\ \" $ ( l s   - A   / s c r u b ) \\ \"   | |   e x i t   1 \" ]   v o l u m e M o u n t s :   -   n a m e :   v o l   m o u n t P a t h :   / s c r u b   H o w e v e r ,   t h e   p a r t i c u l a r   p a t h   s p e c i f i e d   i n   t h e   c u s t o m   r e c y c l e r   P o d   t e m p l a t e   i n   t h e   v o l u m e s   p a r t   i s   r e p l a c e d   w i t h   t h e   p a r t i c u l a r   p a t h   o f   t h e   v o l u m e   t h a ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_4_1408"
  },
  {
    "question": "What is PersistentVolume deletion protection finalizer?",
    "answer": "F i n a l i z e r s   c a n   b e   a d d e d   o n   a   P e r s i s t e n t V o l u m e   t o   e n s u r e   t h a t   P e r s i s t e n t V o l u m e s   h a v i n g   D e l e t e   r e c l a i m   p o l i c y   a r e   d e l e t e d   o n l y   a f t e r   t h e   b a c k i n g   s t o r a g e   a r e   d e l e t e d .   T h e   f i n a l i z e r   e x t e r n a l - p r o v i s i o n e r . v o l u m e . k u b e r n e t e s . i o / f i n a l i z e r ( i n t r o d u c e d   i n   v 1 . 3 1 )   i s   a d d e d   t o   b o t h   d y n a m i c a l l y   p r o v i s i o n e d   a n d   s t a t i c a l l y   p r o v i s i o n e d   C S I   v o l u m e s .   T h e   f i n a l i z e r   k u b e r n e t e s . i o / p v - c o n t r o l l e r ( i n t r o d u c e d   i n   v 1 . 3 1 )   i s   a d d e d   t o   d y n a m i c a l l y   p r o v i s i o n e d   i n - t r e e   p l u g i n   v o l u m e s   a n d   s k i p p e d   f o r   s t a t i c a l l y   p r o v i s i o n e d   i n - t r e e   p l u g i n   v o l u m e s .   T h e   f o l l o w i n g   i s   a n   e x a m p l e   o f   d y n a m i c a l l y   p r o v i s i o n e d   i n - t r e e   p l u g i n   v o l u m e :   k u b e c t l   d e s c r i b e   p v   p v c - 7 4 a 4 9 8 d 6 - 3 9 2 9 - 4 7 e 8 - 8 c 0 2 - 0 7 8 c 1 e c e 4 d 7 8   N a m e :   p v c - 7 4 a 4 9 8 d 6 - 3 9 2 9 - 4 7 e 8 - 8 c 0 2 - 0 7 8 c 1 e c e 4 d 7 8   L a b e l s :   < n o n e >   A n n o t a t i o n s :   k u b e r n e t e s . i o / c r e a t e d b y :   v s p h e r e - v o l u m e - d y n a m i c - p r o v i s i o n e r   p v . k u b e r n e t e s . i o / b o u n d - b y - c o n t r o l l e r :   y e s   p v . k u b e r n e t e s . i o / p r o v i s i o n e d - b y :   k u b e r n e t e s . i o / v s p h e r e - v o l u m e   F i n a l i z e r s :   [ k u b e r n e t e s . i o / p v - p r o t e c t i o n   k u b e r n e t e s . i o / p v - c o n t r o l l e r ]   S t o r a g e C l a s s :   v c p - s c   S t a t u s :   B o u n d   ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1409"
  },
  {
    "question": "What is Reserving a PersistentVolume?",
    "answer": "T h e   c o n t r o l   p l a n e   c a n   b i n d   P e r s i s t e n t V o l u m e C l a i m s   t o   m a t c h i n g   P e r s i s t e n t V o l u m e s   i n   t h e   c l u s t e r .   H o w e v e r ,   i f   y o u   w a n t   a   P V C   t o   b i n d   t o   a   s p e c i f i c   P V ,   y o u   n e e d   t o   p r e - b i n d   t h e m .   B y   s p e c i f y i n g   a   P e r s i s t e n t V o l u m e   i n   a   P e r s i s t e n t V o l u m e C l a i m ,   y o u   d e c l a r e   a   b i n d i n g   b e t w e e n   t h a t   s p e c i f i c   P V   a n d   P V C .   I f   t h e   P e r s i s t e n t V o l u m e   e x i s t s   a n d   h a s   n o t   r e s e r v e d   P e r s i s t e n t V o l u m e C l a i m s   t h r o u g h   i t s   c l a i m R e f   f i e l d ,   t h e n   t h e   P e r s i s t e n t V o l u m e   a n d   P e r s i s t e n t V o l u m e C l a i m   w i l l   b e   b o u n d .   T h e   b i n d i n g   h a p p e n s   r e g a r d l e s s   o f   s o m e   v o l u m e   m a t c h i n g   c r i t e r i a ,   i n c l u d i n g   n o d e   a f f i n i t y .   T h e   c o n t r o l   p l a n e   s t i l l   c h e c k s   t h a t   s t o r a g e   c l a s s ,   a c c e s s   m o d e s ,   a n d   r e q u e s t e d   s t o r a g e   s i z e   a r e   v a l i d .   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   f o o - p v c   n a m e s p a c e :   f o o   s p e c :   s t o r a g e C l a s s N a m e :   \" \"   #   E m p t y   s t r i n g   m u s t   b e   e x p l i c i t l y   s e t   o t h e r w i s e   d e f a u l t   S t o r a g e C l a s s   w i l l   b e   s e t   v o l u m e N a m e :   f o o - p v   . . .   T h i s   m e t h o d   d o e s   n o t   g u a r a n t e e   a n y   b i n d i n g   p r i v i l e g e s   t o   t h e   P e r s i s t e n t V o l u m e .   I f   o t h e r   P e r s i s t e n t V o l u m e C l a i m s   c o u l d   u s e   t h e   P V   t h a ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1410"
  },
  {
    "question": "What is Expanding Persistent Volumes Claims?",
    "answer": "S u p p o r t   f o r   e x p a n d i n g   P e r s i s t e n t V o l u m e C l a i m s   ( P V C s )   i s   e n a b l e d   b y   d e f a u l t .   Y o u   c a n   e x p a n d   t h e   f o l l o w i n g   t y p e s   o f   v o l u m e s :   c s i   ( i n c l u d i n g   s o m e   C S I   m i g r a t e d   v o l m e   t y p e s ) f l e x V o l u m e   ( d e p r e c a t e d ) p o r t w o r x V o l u m e   ( d e p r e c a t e d )   Y o u   c a n   o n l y   e x p a n d   a   P V C   i f   i t s   s t o r a g e   c l a s s ' s   a l l o w V o l u m e E x p a n s i o n   f i e l d   i s   s e t   t o   t r u e .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   e x a m p l e - v o l - d e f a u l t   p r o v i s i o n e r :   v e n d o r - n a m e . e x a m p l e / m a g i c s t o r a g e   p a r a m e t e r s :   r e s t u r l :   \" h t t p : / / 1 9 2 . 1 6 8 . 1 0 . 1 0 0 : 8 0 8 0 \"   r e s t u s e r :   \" \"   s e c r e t N a m e s p a c e :   \" \"   s e c r e t N a m e :   \" \"   a l l o w V o l u m e E x p a n s i o n :   t r u e   T o   r e q u e s t   a   l a r g e r   v o l u m e   f o r   a   P V C ,   e d i t   t h e   P V C   o b j e c t   a n d   s p e c i f y   a   l a r g e r   s i z e .   T h i s   t r i g g e r s   e x p a n s i o n   o f   t h e   v o l u m e   t h a t   b a c k s   t h e   u n d e r l y i n g   P e r s i s t e n t V o l u m e .   A   n e w   P e r s i s t e n t V o l u m e   i s   n e v e r   c r e a t e d   t o   s a t i s f y   t h e   c l a i m .   I n s t e a d ,   a n   e x i s t i n g   v o l u m e   i s   r e s i z e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1411"
  },
  {
    "question": "What is CSI Volume expansion?",
    "answer": "S u p p o r t   f o r   e x p a n d i n g   C S I   v o l u m e s   i s   e n a b l e d   b y   d e f a u l t   b u t   i t   a l s o   r e q u i r e s   a   s p e c i f i c   C S I   d r i v e r   t o   s u p p o r t   v o l u m e   e x p a n s i o n .   R e f e r   t o   d o c u m e n t a t i o n   o f   t h e   s p e c i f i c   C S I   d r i v e r   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_4_1412"
  },
  {
    "question": "What is Resizing a volume containing a file system?",
    "answer": "Y o u   c a n   o n l y   r e s i z e   v o l u m e s   c o n t a i n i n g   a   f i l e   s y s t e m   i f   t h e   f i l e   s y s t e m   i s   X F S ,   E x t 3 ,   o r   E x t 4 .   W h e n   a   v o l u m e   c o n t a i n s   a   f i l e   s y s t e m ,   t h e   f i l e   s y s t e m   i s   o n l y   r e s i z e d   w h e n   a   n e w   P o d   i s   u s i n g   t h e   P e r s i s t e n t V o l u m e C l a i m   i n   R e a d W r i t e   m o d e .   F i l e   s y s t e m   e x p a n s i o n   i s   e i t h e r   d o n e   w h e n   a   P o d   i s   s t a r t i n g   u p   o r   w h e n   a   P o d   i s   r u n n i n g   a n d   t h e   u n d e r l y i n g   f i l e   s y s t e m   s u p p o r t s   o n l i n e   e x p a n s i o n .   F l e x V o l u m e s   ( d e p r e c a t e d   s i n c e   K u b e r n e t e s   v 1 . 2 3 )   a l l o w   r e s i z e   i f   t h e   d r i v e r   i s   c o n f i g u r e d   w i t h   t h e   R e q u i r e s F S R e s i z e   c a p a b i l i t y   t o   t r u e .   T h e   F l e x V o l u m e   c a n   b e   r e s i z e d   o n   P o d   r e s t a r t .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_4_1413"
  },
  {
    "question": "What is Resizing an in-use PersistentVolumeClaim?",
    "answer": "I n   t h i s   c a s e ,   y o u   d o n ' t   n e e d   t o   d e l e t e   a n d   r e c r e a t e   a   P o d   o r   d e p l o y m e n t   t h a t   i s   u s i n g   a n   e x i s t i n g   P V C .   A n y   i n - u s e   P V C   a u t o m a t i c a l l y   b e c o m e s   a v a i l a b l e   t o   i t s   P o d   a s   s o o n   a s   i t s   f i l e   s y s t e m   h a s   b e e n   e x p a n d e d .   T h i s   f e a t u r e   h a s   n o   e f f e c t   o n   P V C s   t h a t   a r e   n o t   i n   u s e   b y   a   P o d   o r   d e p l o y m e n t .   Y o u   m u s t   c r e a t e   a   P o d   t h a t   u s e s   t h e   P V C   b e f o r e   t h e   e x p a n s i o n   c a n   c o m p l e t e .   S i m i l a r   t o   o t h e r   v o l u m e   t y p e s   -   F l e x V o l u m e   v o l u m e s   c a n   a l s o   b e   e x p a n d e d   w h e n   i n - u s e   b y   a   P o d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_4_1414"
  },
  {
    "question": "What is Recovering from Failure when Expanding Volumes?",
    "answer": "I f   a   u s e r   s p e c i f i e s   a   n e w   s i z e   t h a t   i s   t o o   b i g   t o   b e   s a t i s f i e d   b y   u n d e r l y i n g   s t o r a g e   s y s t e m ,   e x p a n s i o n   o f   P V C   w i l l   b e   c o n t i n u o u s l y   r e t r i e d   u n t i l   u s e r   o r   c l u s t e r   a d m i n i s t r a t o r   t a k e s   s o m e   a c t i o n .   T h i s   c a n   b e   u n d e s i r a b l e   a n d   h e n c e   K u b e r n e t e s   p r o v i d e s   f o l l o w i n g   m e t h o d s   o f   r e c o v e r i n g   f r o m   s u c h   f a i l u r e s .   I f   e x p a n d i n g   u n d e r l y i n g   s t o r a g e   f a i l s ,   t h e   c l u s t e r   a d m i n i s t r a t o r   c a n   m a n u a l l y   r e c o v e r   t h e   P e r s i s t e n t   V o l u m e   C l a i m   ( P V C )   s t a t e   a n d   c a n c e l   t h e   r e s i z e   r e q u e s t s .   O t h e r w i s e ,   t h e   r e s i z e   r e q u e s t s   a r e   c o n t i n u o u s l y   r e t r i e d   b y   t h e   c o n t r o l l e r   w i t h o u t   a d m i n i s t r a t o r   i n t e r v e n t i o n . M a r k   t h e   P e r s i s t e n t V o l u m e ( P V )   t h a t   i s   b o u n d   t o   t h e   P e r s i s t e n t V o l u m e C l a i m ( P V C )   w i t h   R e t a i n   r e c l a i m   p o l i c y . D e l e t e   t h e   P V C .   S i n c e   P V   h a s   R e t a i n   r e c l a i m   p o l i c y   -   w e   w i l l   n o t   l o s e   a n y   d a t a   w h e n   w e   r e c r e a t e   t h e   P V C . D e l e t e   t h e   c l a i m R e f   e n t r y   f r o m   P V   s p e c s ,   s o   a s   n e w   P V C   c a n   b i n d   t o   i t .   T h i s   s h o u l d   m a k e   t h e   P V   A v a i l a b l e . R e - c r e a t e   t h e   P V C   w i t h   s m a l l e r   s i z e   t h a n   P V   a n d   s e t   v o l u m e N a m e   f i e l d   o f   t h e   P V C   t o   t h e   n a m e   o f   t h e   P V .   T h i s   s h o u l d   b i n d ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_4_1415"
  },
  {
    "question": "What is Types of Persistent Volumes?",
    "answer": "P e r s i s t e n t V o l u m e   t y p e s   a r e   i m p l e m e n t e d   a s   p l u g i n s .   K u b e r n e t e s   c u r r e n t l y   s u p p o r t s   t h e   f o l l o w i n g   p l u g i n s :   c s i   -   C o n t a i n e r   S t o r a g e   I n t e r f a c e   ( C S I ) f c   -   F i b r e   C h a n n e l   ( F C )   s t o r a g e h o s t P a t h   -   H o s t P a t h   v o l u m e   ( f o r   s i n g l e   n o d e   t e s t i n g   o n l y ;   W I L L   N O T   W O R K   i n   a   m u l t i - n o d e   c l u s t e r ;   c o n s i d e r   u s i n g   l o c a l   v o l u m e   i n s t e a d ) i s c s i   -   i S C S I   ( S C S I   o v e r   I P )   s t o r a g e l o c a l   -   l o c a l   s t o r a g e   d e v i c e s   m o u n t e d   o n   n o d e s . n f s   -   N e t w o r k   F i l e   S y s t e m   ( N F S )   s t o r a g e   T h e   f o l l o w i n g   t y p e s   o f   P e r s i s t e n t V o l u m e   a r e   d e p r e c a t e d   b u t   s t i l l   a v a i l a b l e .   I f   y o u   a r e   u s i n g   t h e s e   v o l u m e   t y p e s   e x c e p t   f o r   f l e x V o l u m e ,   c e p h f s   a n d   r b d ,   p l e a s e   i n s t a l l   c o r r e s p o n d i n g   C S I   d r i v e r s .   a w s E l a s t i c B l o c k S t o r e   -   A W S   E l a s t i c   B l o c k   S t o r e   ( E B S )   ( m i g r a t i o n   o n   b y   d e f a u l t   s t a r t i n g   v 1 . 2 3 ) a z u r e D i s k   -   A z u r e   D i s k   ( m i g r a t i o n   o n   b y   d e f a u l t   s t a r t i n g   v 1 . 2 3 ) a z u r e F i l e   -   A z u r e   F i l e   ( m i g r a t i o n   o n   b y   d e f a u l t   s t a r t i n g   v 1 . 2 4 ) c i n d e r   -   C i n d e r   ( O p e n S t a c k   b l o c k   s t o r a g e )   ( m i g r a t i o n   o n   b y   d e f a u l t   s t a r t i n g   v 1 . 2 1 ) f l e x V o l u m e   -   F l e x V o l u m e   ( d e p r e c a t e d   s t a r t i n g   v 1 . 2 3 ,   n o   m i g r a t i o n   p l a n   a n d   n o ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_2_1416"
  },
  {
    "question": "What is Persistent Volumes?",
    "answer": "E a c h   P V   c o n t a i n s   a   s p e c   a n d   s t a t u s ,   w h i c h   i s   t h e   s p e c i f i c a t i o n   a n d   s t a t u s   o f   t h e   v o l u m e .   T h e   n a m e   o f   a   P e r s i s t e n t V o l u m e   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e   m e t a d a t a :   n a m e :   p v 0 0 0 3   s p e c :   c a p a c i t y :   s t o r a g e :   5 G i   v o l u m e M o d e :   F i l e s y s t e m   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   p e r s i s t e n t V o l u m e R e c l a i m P o l i c y :   R e c y c l e   s t o r a g e C l a s s N a m e :   s l o w   m o u n t O p t i o n s :   -   h a r d   -   n f s v e r s = 4 . 1   n f s :   p a t h :   / t m p   s e r v e r :   1 7 2 . 1 7 . 0 . 2",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_2_1417"
  },
  {
    "question": "What is Capacity?",
    "answer": "G e n e r a l l y ,   a   P V   w i l l   h a v e   a   s p e c i f i c   s t o r a g e   c a p a c i t y .   T h i s   i s   s e t   u s i n g   t h e   P V ' s   c a p a c i t y   a t t r i b u t e   w h i c h   i s   a   Q u a n t i t y   v a l u e .   C u r r e n t l y ,   s t o r a g e   s i z e   i s   t h e   o n l y   r e s o u r c e   t h a t   c a n   b e   s e t   o r   r e q u e s t e d .   F u t u r e   a t t r i b u t e s   m a y   i n c l u d e   I O P S ,   t h r o u g h p u t ,   e t c .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1418"
  },
  {
    "question": "What is Volume Mode?",
    "answer": "K u b e r n e t e s   s u p p o r t s   t w o   v o l u m e M o d e s   o f   P e r s i s t e n t V o l u m e s :   F i l e s y s t e m   a n d   B l o c k .   v o l u m e M o d e   i s   a n   o p t i o n a l   A P I   p a r a m e t e r .   F i l e s y s t e m   i s   t h e   d e f a u l t   m o d e   u s e d   w h e n   v o l u m e M o d e   p a r a m e t e r   i s   o m i t t e d .   A   v o l u m e   w i t h   v o l u m e M o d e :   F i l e s y s t e m   i s   m o u n t e d   i n t o   P o d s   i n t o   a   d i r e c t o r y .   I f   t h e   v o l u m e   i s   b a c k e d   b y   a   b l o c k   d e v i c e   a n d   t h e   d e v i c e   i s   e m p t y ,   K u b e r n e t e s   c r e a t e s   a   f i l e s y s t e m   o n   t h e   d e v i c e   b e f o r e   m o u n t i n g   i t   f o r   t h e   f i r s t   t i m e .   Y o u   c a n   s e t   t h e   v a l u e   o f   v o l u m e M o d e   t o   B l o c k   t o   u s e   a   v o l u m e   a s   a   r a w   b l o c k   d e v i c e .   S u c h   v o l u m e   i s   p r e s e n t e d   i n t o   a   P o d   a s   a   b l o c k   d e v i c e ,   w i t h o u t   a n y   f i l e s y s t e m   o n   i t .   T h i s   m o d e   i s   u s e f u l   t o   p r o v i d e   a   P o d   t h e   f a s t e s t   p o s s i b l e   w a y   t o   a c c e s s   a   v o l u m e ,   w i t h o u t   a n y   f i l e s y s t e m   l a y e r   b e t w e e n   t h e   P o d   a n d   t h e   v o l u m e .   O n   t h e   o t h e r   h a n d ,   t h e   a p p l i c a t i o n   r u n n i n g   i n   t h e   P o d   m u s t   k n o w   h o w   t o   h a n d l e   a   r a w   b l o c k   d e v i c e .   S e e   R a w   B l o c k   V o l u m e   S u p p o r t   f o r   a n   e x a m p l e   o n   h o w   t o   u s e   a   v o l u m e   w i t h   v o l u m e M o d e :   B l o c k   i n   a   P o d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1419"
  },
  {
    "question": "What is Access Modes?",
    "answer": "A   P e r s i s t e n t V o l u m e   c a n   b e   m o u n t e d   o n   a   h o s t   i n   a n y   w a y   s u p p o r t e d   b y   t h e   r e s o u r c e   p r o v i d e r .   A s   s h o w n   i n   t h e   t a b l e   b e l o w ,   p r o v i d e r s   w i l l   h a v e   d i f f e r e n t   c a p a b i l i t i e s   a n d   e a c h   P V ' s   a c c e s s   m o d e s   a r e   s e t   t o   t h e   s p e c i f i c   m o d e s   s u p p o r t e d   b y   t h a t   p a r t i c u l a r   v o l u m e .   F o r   e x a m p l e ,   N F S   c a n   s u p p o r t   m u l t i p l e   r e a d / w r i t e   c l i e n t s ,   b u t   a   s p e c i f i c   N F S   P V   m i g h t   b e   e x p o r t e d   o n   t h e   s e r v e r   a s   r e a d - o n l y .   E a c h   P V   g e t s   i t s   o w n   s e t   o f   a c c e s s   m o d e s   d e s c r i b i n g   t h a t   s p e c i f i c   P V ' s   c a p a b i l i t i e s .   T h e   a c c e s s   m o d e s   a r e :",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1420"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   R e a d W r i t e O n c e P o d   a c c e s s   m o d e   i s   o n l y   s u p p o r t e d   f o r   C S I   v o l u m e s   a n d   K u b e r n e t e s   v e r s i o n   1 . 2 2 + .   T o   u s e   t h i s   f e a t u r e   y o u   w i l l   n e e d   t o   u p d a t e   t h e   f o l l o w i n g   C S I   s i d e c a r s   t o   t h e s e   v e r s i o n s   o r   g r e a t e r :   c s i - p r o v i s i o n e r : v 3 . 0 . 0 + c s i - a t t a c h e r : v 3 . 3 . 0 + c s i - r e s i z e r : v 1 . 3 . 0 +   I n   t h e   C L I ,   t h e   a c c e s s   m o d e s   a r e   a b b r e v i a t e d   t o :   R W O   -   R e a d W r i t e O n c e R O X   -   R e a d O n l y M a n y R W X   -   R e a d W r i t e M a n y R W O P   -   R e a d W r i t e O n c e P o d",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_4_1421"
  },
  {
    "question": "What is Note:?",
    "answer": "I m p o r t a n t !   A   v o l u m e   c a n   o n l y   b e   m o u n t e d   u s i n g   o n e   a c c e s s   m o d e   a t   a   t i m e ,   e v e n   i f   i t   s u p p o r t s   m a n y .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_4_1422"
  },
  {
    "question": "What is Class?",
    "answer": "A   P V   c a n   h a v e   a   c l a s s ,   w h i c h   i s   s p e c i f i e d   b y   s e t t i n g   t h e   s t o r a g e C l a s s N a m e   a t t r i b u t e   t o   t h e   n a m e   o f   a   S t o r a g e C l a s s .   A   P V   o f   a   p a r t i c u l a r   c l a s s   c a n   o n l y   b e   b o u n d   t o   P V C s   r e q u e s t i n g   t h a t   c l a s s .   A   P V   w i t h   n o   s t o r a g e C l a s s N a m e   h a s   n o   c l a s s   a n d   c a n   o n l y   b e   b o u n d   t o   P V C s   t h a t   r e q u e s t   n o   p a r t i c u l a r   c l a s s .   I n   t h e   p a s t ,   t h e   a n n o t a t i o n   v o l u m e . b e t a . k u b e r n e t e s . i o / s t o r a g e - c l a s s   w a s   u s e d   i n s t e a d   o f   t h e   s t o r a g e C l a s s N a m e   a t t r i b u t e .   T h i s   a n n o t a t i o n   i s   s t i l l   w o r k i n g ;   h o w e v e r ,   i t   w i l l   b e c o m e   f u l l y   d e p r e c a t e d   i n   a   f u t u r e   K u b e r n e t e s   r e l e a s e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1423"
  },
  {
    "question": "What is Reclaim Policy?",
    "answer": "C u r r e n t   r e c l a i m   p o l i c i e s   a r e :   R e t a i n   - -   m a n u a l   r e c l a m a t i o n R e c y c l e   - -   b a s i c   s c r u b   ( r m   - r f   / t h e v o l u m e / * ) D e l e t e   - -   d e l e t e   t h e   v o l u m e   F o r   K u b e r n e t e s   1 . 3 4 ,   o n l y   n f s   a n d   h o s t P a t h   v o l u m e   t y p e s   s u p p o r t   r e c y c l i n g .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1424"
  },
  {
    "question": "What is Mount Options?",
    "answer": "A   K u b e r n e t e s   a d m i n i s t r a t o r   c a n   s p e c i f y   a d d i t i o n a l   m o u n t   o p t i o n s   f o r   w h e n   a   P e r s i s t e n t   V o l u m e   i s   m o u n t e d   o n   a   n o d e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1425"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   f o l l o w i n g   v o l u m e   t y p e s   s u p p o r t   m o u n t   o p t i o n s :   c s i   ( i n c l u d i n g   C S I   m i g r a t e d   v o l u m e   t y p e s ) i s c s i n f s   M o u n t   o p t i o n s   a r e   n o t   v a l i d a t e d .   I f   a   m o u n t   o p t i o n   i s   i n v a l i d ,   t h e   m o u n t   f a i l s .   I n   t h e   p a s t ,   t h e   a n n o t a t i o n   v o l u m e . b e t a . k u b e r n e t e s . i o / m o u n t - o p t i o n s   w a s   u s e d   i n s t e a d   o f   t h e   m o u n t O p t i o n s   a t t r i b u t e .   T h i s   a n n o t a t i o n   i s   s t i l l   w o r k i n g ;   h o w e v e r ,   i t   w i l l   b e c o m e   f u l l y   d e p r e c a t e d   i n   a   f u t u r e   K u b e r n e t e s   r e l e a s e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_4_1426"
  },
  {
    "question": "What is Note:?",
    "answer": "A   P V   c a n   s p e c i f y   n o d e   a f f i n i t y   t o   d e f i n e   c o n s t r a i n t s   t h a t   l i m i t   w h a t   n o d e s   t h i s   v o l u m e   c a n   b e   a c c e s s e d   f r o m .   P o d s   t h a t   u s e   a   P V   w i l l   o n l y   b e   s c h e d u l e d   t o   n o d e s   t h a t   a r e   s e l e c t e d   b y   t h e   n o d e   a f f i n i t y .   T o   s p e c i f y   n o d e   a f f i n i t y ,   s e t   n o d e A f f i n i t y   i n   t h e   . s p e c   o f   a   P V .   T h e   P e r s i s t e n t V o l u m e   A P I   r e f e r e n c e   h a s   m o r e   d e t a i l s   o n   t h i s   f i e l d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_4_1427"
  },
  {
    "question": "What is Phase?",
    "answer": "A   P e r s i s t e n t V o l u m e   w i l l   b e   i n   o n e   o f   t h e   f o l l o w i n g   p h a s e s :   Y o u   c a n   s e e   t h e   n a m e   o f   t h e   P V C   b o u n d   t o   t h e   P V   u s i n g   k u b e c t l   d e s c r i b e   p e r s i s t e n t v o l u m e   < n a m e > .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1428"
  },
  {
    "question": "What is Phase transition timestamp?",
    "answer": "T h e   . s t a t u s   f i e l d   f o r   a   P e r s i s t e n t V o l u m e   c a n   i n c l u d e   a n   a l p h a   l a s t P h a s e T r a n s i t i o n T i m e   f i e l d .   T h i s   f i e l d   r e c o r d s   t h e   t i m e s t a m p   o f   w h e n   t h e   v o l u m e   l a s t   t r a n s i t i o n e d   i t s   p h a s e .   F o r   n e w l y   c r e a t e d   v o l u m e s   t h e   p h a s e   i s   s e t   t o   P e n d i n g   a n d   l a s t P h a s e T r a n s i t i o n T i m e   i s   s e t   t o   t h e   c u r r e n t   t i m e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_4_1429"
  },
  {
    "question": "What is PersistentVolumeClaims?",
    "answer": "E a c h   P V C   c o n t a i n s   a   s p e c   a n d   s t a t u s ,   w h i c h   i s   t h e   s p e c i f i c a t i o n   a n d   s t a t u s   o f   t h e   c l a i m .   T h e   n a m e   o f   a   P e r s i s t e n t V o l u m e C l a i m   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   m y c l a i m   s p e c :   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   v o l u m e M o d e :   F i l e s y s t e m   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   8 G i   s t o r a g e C l a s s N a m e :   s l o w   s e l e c t o r :   m a t c h L a b e l s :   r e l e a s e :   \" s t a b l e \"   m a t c h E x p r e s s i o n s :   -   { k e y :   e n v i r o n m e n t ,   o p e r a t o r :   I n ,   v a l u e s :   [ d e v ] }",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_2_1430"
  },
  {
    "question": "What is Access Modes?",
    "answer": "C l a i m s   u s e   t h e   s a m e   c o n v e n t i o n s   a s   v o l u m e s   w h e n   r e q u e s t i n g   s t o r a g e   w i t h   s p e c i f i c   a c c e s s   m o d e s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1431"
  },
  {
    "question": "What is Volume Modes?",
    "answer": "C l a i m s   u s e   t h e   s a m e   c o n v e n t i o n   a s   v o l u m e s   t o   i n d i c a t e   t h e   c o n s u m p t i o n   o f   t h e   v o l u m e   a s   e i t h e r   a   f i l e s y s t e m   o r   b l o c k   d e v i c e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1432"
  },
  {
    "question": "What is Volume Name?",
    "answer": "C l a i m s   c a n   u s e   t h e   v o l u m e N a m e   f i e l d   t o   e x p l i c i t l y   b i n d   t o   a   s p e c i f i c   P e r s i s t e n t V o l u m e .   Y o u   c a n   a l s o   l e a v e   v o l u m e N a m e   u n s e t ,   i n d i c a t i n g   t h a t   y o u ' d   l i k e   K u b e r n e t e s   t o   s e t   u p   a   n e w   P e r s i s t e n t V o l u m e   t h a t   m a t c h e s   t h e   c l a i m .   I f   t h e   s p e c i f i e d   P V   i s   a l r e a d y   b o u n d   t o   a n o t h e r   P V C ,   t h e   b i n d i n g   w i l l   b e   s t u c k   i n   a   p e n d i n g   s t a t e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1433"
  },
  {
    "question": "What is Resources?",
    "answer": "C l a i m s ,   l i k e   P o d s ,   c a n   r e q u e s t   s p e c i f i c   q u a n t i t i e s   o f   a   r e s o u r c e .   I n   t h i s   c a s e ,   t h e   r e q u e s t   i s   f o r   s t o r a g e .   T h e   s a m e   r e s o u r c e   m o d e l   a p p l i e s   t o   b o t h   v o l u m e s   a n d   c l a i m s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1434"
  },
  {
    "question": "What is Selector?",
    "answer": "C l a i m s   c a n   s p e c i f y   a   l a b e l   s e l e c t o r   t o   f u r t h e r   f i l t e r   t h e   s e t   o f   v o l u m e s .   O n l y   t h e   v o l u m e s   w h o s e   l a b e l s   m a t c h   t h e   s e l e c t o r   c a n   b e   b o u n d   t o   t h e   c l a i m .   T h e   s e l e c t o r   c a n   c o n s i s t   o f   t w o   f i e l d s :   m a t c h L a b e l s   -   t h e   v o l u m e   m u s t   h a v e   a   l a b e l   w i t h   t h i s   v a l u e m a t c h E x p r e s s i o n s   -   a   l i s t   o f   r e q u i r e m e n t s   m a d e   b y   s p e c i f y i n g   k e y ,   l i s t   o f   v a l u e s ,   a n d   o p e r a t o r   t h a t   r e l a t e s   t h e   k e y   a n d   v a l u e s .   V a l i d   o p e r a t o r s   i n c l u d e   I n ,   N o t I n ,   E x i s t s ,   a n d   D o e s N o t E x i s t .   A l l   o f   t h e   r e q u i r e m e n t s ,   f r o m   b o t h   m a t c h L a b e l s   a n d   m a t c h E x p r e s s i o n s ,   a r e   A N D e d   t o g e t h e r   –   t h e y   m u s t   a l l   b e   s a t i s f i e d   i n   o r d e r   t o   m a t c h .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1435"
  },
  {
    "question": "What is Class?",
    "answer": "A   c l a i m   c a n   r e q u e s t   a   p a r t i c u l a r   c l a s s   b y   s p e c i f y i n g   t h e   n a m e   o f   a   S t o r a g e C l a s s   u s i n g   t h e   a t t r i b u t e   s t o r a g e C l a s s N a m e .   O n l y   P V s   o f   t h e   r e q u e s t e d   c l a s s ,   o n e s   w i t h   t h e   s a m e   s t o r a g e C l a s s N a m e   a s   t h e   P V C ,   c a n   b e   b o u n d   t o   t h e   P V C .   P V C s   d o n ' t   n e c e s s a r i l y   h a v e   t o   r e q u e s t   a   c l a s s .   A   P V C   w i t h   i t s   s t o r a g e C l a s s N a m e   s e t   e q u a l   t o   \" \"   i s   a l w a y s   i n t e r p r e t e d   t o   b e   r e q u e s t i n g   a   P V   w i t h   n o   c l a s s ,   s o   i t   c a n   o n l y   b e   b o u n d   t o   P V s   w i t h   n o   c l a s s   ( n o   a n n o t a t i o n   o r   o n e   s e t   e q u a l   t o   \" \" ) .   A   P V C   w i t h   n o   s t o r a g e C l a s s N a m e   i s   n o t   q u i t e   t h e   s a m e   a n d   i s   t r e a t e d   d i f f e r e n t l y   b y   t h e   c l u s t e r ,   d e p e n d i n g   o n   w h e t h e r   t h e   D e f a u l t S t o r a g e C l a s s   a d m i s s i o n   p l u g i n   i s   t u r n e d   o n .   I f   t h e   a d m i s s i o n   p l u g i n   i s   t u r n e d   o n ,   t h e   a d m i n i s t r a t o r   m a y   s p e c i f y   a   d e f a u l t   S t o r a g e C l a s s .   A l l   P V C s   t h a t   h a v e   n o   s t o r a g e C l a s s N a m e   c a n   b e   b o u n d   o n l y   t o   P V s   o f   t h a t   d e f a u l t .   S p e c i f y i n g   a   d e f a u l t   S t o r a g e C l a s s   i s   d o n e   b y   s e t t i n g   t h e   a n n o t a t i o n   s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s   e q u a l   t o   t r u e   i n   a   S t o r a g e C l a s s   o b j e c t .   I f   t h e   a d m i n i s t r a t o r   d o e s   n o t   s p e c i f y   a ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1436"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   t h e   p a s t ,   t h e   a n n o t a t i o n   v o l u m e . b e t a . k u b e r n e t e s . i o / s t o r a g e - c l a s s   w a s   u s e d   i n s t e a d   o f   s t o r a g e C l a s s N a m e   a t t r i b u t e .   T h i s   a n n o t a t i o n   i s   s t i l l   w o r k i n g ;   h o w e v e r ,   i t   w o n ' t   b e   s u p p o r t e d   i n   a   f u t u r e   K u b e r n e t e s   r e l e a s e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_4_1437"
  },
  {
    "question": "What is Retroactive default StorageClass assignment?",
    "answer": "Y o u   c a n   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   w i t h o u t   s p e c i f y i n g   a   s t o r a g e C l a s s N a m e   f o r   t h e   n e w   P V C ,   a n d   y o u   c a n   d o   s o   e v e n   w h e n   n o   d e f a u l t   S t o r a g e C l a s s   e x i s t s   i n   y o u r   c l u s t e r .   I n   t h i s   c a s e ,   t h e   n e w   P V C   c r e a t e s   a s   y o u   d e f i n e d   i t ,   a n d   t h e   s t o r a g e C l a s s N a m e   o f   t h a t   P V C   r e m a i n s   u n s e t   u n t i l   d e f a u l t   b e c o m e s   a v a i l a b l e .   W h e n   a   d e f a u l t   S t o r a g e C l a s s   b e c o m e s   a v a i l a b l e ,   t h e   c o n t r o l   p l a n e   i d e n t i f i e s   a n y   e x i s t i n g   P V C s   w i t h o u t   s t o r a g e C l a s s N a m e .   F o r   t h e   P V C s   t h a t   e i t h e r   h a v e   a n   e m p t y   v a l u e   f o r   s t o r a g e C l a s s N a m e   o r   d o   n o t   h a v e   t h i s   k e y ,   t h e   c o n t r o l   p l a n e   t h e n   u p d a t e s   t h o s e   P V C s   t o   s e t   s t o r a g e C l a s s N a m e   t o   m a t c h   t h e   n e w   d e f a u l t   S t o r a g e C l a s s .   I f   y o u   h a v e   a n   e x i s t i n g   P V C   w h e r e   t h e   s t o r a g e C l a s s N a m e   i s   \" \" ,   a n d   y o u   c o n f i g u r e   a   d e f a u l t   S t o r a g e C l a s s ,   t h e n   t h i s   P V C   w i l l   n o t   g e t   u p d a t e d .   I n   o r d e r   t o   k e e p   b i n d i n g   t o   P V s   w i t h   s t o r a g e C l a s s N a m e   s e t   t o   \" \"   ( w h i l e   a   d e f a u l t   S t o r a g e C l a s s   i s   p r e s e n t ) ,   y o u   n e e d   t o   s e t   t h e   s t o r a g e C l a s s N a m e   o f   t h e   a s s o c i a t e d   P V C   t o   \" \" .   T h i s   b e h a v i o r   h e l p s   a d m i n i s t r a t o r s   c h a n g e   d e f a u l t   S t o r a g e C l a s s   b ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_4_1438"
  },
  {
    "question": "What is Claims As Volumes?",
    "answer": "P o d s   a c c e s s   s t o r a g e   b y   u s i n g   t h e   c l a i m   a s   a   v o l u m e .   C l a i m s   m u s t   e x i s t   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   P o d   u s i n g   t h e   c l a i m .   T h e   c l u s t e r   f i n d s   t h e   c l a i m   i n   t h e   P o d ' s   n a m e s p a c e   a n d   u s e s   i t   t o   g e t   t h e   P e r s i s t e n t V o l u m e   b a c k i n g   t h e   c l a i m .   T h e   v o l u m e   i s   t h e n   m o u n t e d   t o   t h e   h o s t   a n d   i n t o   t h e   P o d .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   m y f r o n t e n d   i m a g e :   n g i n x   v o l u m e M o u n t s :   -   m o u n t P a t h :   \" / v a r / w w w / h t m l \"   n a m e :   m y p d   v o l u m e s :   -   n a m e :   m y p d   p e r s i s t e n t V o l u m e C l a i m :   c l a i m N a m e :   m y c l a i m",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_2_1439"
  },
  {
    "question": "What is A Note on Namespaces?",
    "answer": "P e r s i s t e n t V o l u m e s   b i n d s   a r e   e x c l u s i v e ,   a n d   s i n c e   P e r s i s t e n t V o l u m e C l a i m s   a r e   n a m e s p a c e d   o b j e c t s ,   m o u n t i n g   c l a i m s   w i t h   \" M a n y \"   m o d e s   ( R O X ,   R W X )   i s   o n l y   p o s s i b l e   w i t h i n   o n e   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1440"
  },
  {
    "question": "What is PersistentVolumes typed hostPath?",
    "answer": "A   h o s t P a t h   P e r s i s t e n t V o l u m e   u s e s   a   f i l e   o r   d i r e c t o r y   o n   t h e   N o d e   t o   e m u l a t e   n e t w o r k - a t t a c h e d   s t o r a g e .   S e e   a n   e x a m p l e   o f   h o s t P a t h   t y p e d   v o l u m e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1441"
  },
  {
    "question": "What is Raw Block Volume Support?",
    "answer": "T h e   f o l l o w i n g   v o l u m e   p l u g i n s   s u p p o r t   r a w   b l o c k   v o l u m e s ,   i n c l u d i n g   d y n a m i c   p r o v i s i o n i n g   w h e r e   a p p l i c a b l e :   C S I   ( i n c l u d i n g   s o m e   C S I   m i g r a t e d   v o l u m e   t y p e s ) F C   ( F i b r e   C h a n n e l ) i S C S I L o c a l   v o l u m e",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_2_1442"
  },
  {
    "question": "What is PersistentVolume using a Raw Block Volume?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e   m e t a d a t a :   n a m e :   b l o c k - p v   s p e c :   c a p a c i t y :   s t o r a g e :   1 0 G i   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   v o l u m e M o d e :   B l o c k   p e r s i s t e n t V o l u m e R e c l a i m P o l i c y :   R e t a i n   f c :   t a r g e t W W N s :   [ \" 5 0 0 6 0 e 8 0 1 0 4 9 c f d 1 \" ]   l u n :   0   r e a d O n l y :   f a l s e",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1443"
  },
  {
    "question": "What is PersistentVolumeClaim requesting a Raw Block Volume?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   b l o c k - p v c   s p e c :   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   v o l u m e M o d e :   B l o c k   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   1 0 G i",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1444"
  },
  {
    "question": "What is Pod specification adding Raw Block Device path in container?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p o d - w i t h - b l o c k - v o l u m e   s p e c :   c o n t a i n e r s :   -   n a m e :   f c - c o n t a i n e r   i m a g e :   f e d o r a : 2 6   c o m m a n d :   [ \" / b i n / s h \" ,   \" - c \" ]   a r g s :   [   \" t a i l   - f   / d e v / n u l l \"   ]   v o l u m e D e v i c e s :   -   n a m e :   d a t a   d e v i c e P a t h :   / d e v / x v d a   v o l u m e s :   -   n a m e :   d a t a   p e r s i s t e n t V o l u m e C l a i m :   c l a i m N a m e :   b l o c k - p v c",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1445"
  },
  {
    "question": "What is Binding Block Volumes?",
    "answer": "I f   a   u s e r   r e q u e s t s   a   r a w   b l o c k   v o l u m e   b y   i n d i c a t i n g   t h i s   u s i n g   t h e   v o l u m e M o d e   f i e l d   i n   t h e   P e r s i s t e n t V o l u m e C l a i m   s p e c ,   t h e   b i n d i n g   r u l e s   d i f f e r   s l i g h t l y   f r o m   p r e v i o u s   r e l e a s e s   t h a t   d i d n ' t   c o n s i d e r   t h i s   m o d e   a s   p a r t   o f   t h e   s p e c .   L i s t e d   i s   a   t a b l e   o f   p o s s i b l e   c o m b i n a t i o n s   t h e   u s e r   a n d   a d m i n   m i g h t   s p e c i f y   f o r   r e q u e s t i n g   a   r a w   b l o c k   d e v i c e .   T h e   t a b l e   i n d i c a t e s   i f   t h e   v o l u m e   w i l l   b e   b o u n d   o r   n o t   g i v e n   t h e   c o m b i n a t i o n s :   V o l u m e   b i n d i n g   m a t r i x   f o r   s t a t i c a l l y   p r o v i s i o n e d   v o l u m e s :",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1446"
  },
  {
    "question": "What is Volume Snapshot and Restore Volume from Snapshot Support?",
    "answer": "V o l u m e   s n a p s h o t s   o n l y   s u p p o r t   t h e   o u t - o f - t r e e   C S I   v o l u m e   p l u g i n s .   F o r   d e t a i l s ,   s e e   V o l u m e   S n a p s h o t s .   I n - t r e e   v o l u m e   p l u g i n s   a r e   d e p r e c a t e d .   Y o u   c a n   r e a d   a b o u t   t h e   d e p r e c a t e d   v o l u m e   p l u g i n s   i n   t h e   V o l u m e   P l u g i n   F A Q .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_2_1447"
  },
  {
    "question": "What is Create a PersistentVolumeClaim from a Volume Snapshot?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   r e s t o r e - p v c   s p e c :   s t o r a g e C l a s s N a m e :   c s i - h o s t p a t h - s c   d a t a S o u r c e :   n a m e :   n e w - s n a p s h o t - t e s t   k i n d :   V o l u m e S n a p s h o t   a p i G r o u p :   s n a p s h o t . s t o r a g e . k 8 s . i o   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   1 0 G i",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1448"
  },
  {
    "question": "What is Volume Cloning?",
    "answer": "V o l u m e   C l o n i n g   o n l y   a v a i l a b l e   f o r   C S I   v o l u m e   p l u g i n s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_2_1449"
  },
  {
    "question": "What is Create PersistentVolumeClaim from an existing PVC?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   c l o n e d - p v c   s p e c :   s t o r a g e C l a s s N a m e :   m y - c s i - p l u g i n   d a t a S o u r c e :   n a m e :   e x i s t i n g - s r c - p v c - n a m e   k i n d :   P e r s i s t e n t V o l u m e C l a i m   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   1 0 G i",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1450"
  },
  {
    "question": "What is Volume populators and data sources?",
    "answer": "K u b e r n e t e s   s u p p o r t s   c u s t o m   v o l u m e   p o p u l a t o r s .   T o   u s e   c u s t o m   v o l u m e   p o p u l a t o r s ,   y o u   m u s t   e n a b l e   t h e   A n y V o l u m e D a t a S o u r c e   f e a t u r e   g a t e   f o r   t h e   k u b e - a p i s e r v e r   a n d   k u b e - c o n t r o l l e r - m a n a g e r .   V o l u m e   p o p u l a t o r s   t a k e   a d v a n t a g e   o f   a   P V C   s p e c   f i e l d   c a l l e d   d a t a S o u r c e R e f .   U n l i k e   t h e   d a t a S o u r c e   f i e l d ,   w h i c h   c a n   o n l y   c o n t a i n   e i t h e r   a   r e f e r e n c e   t o   a n o t h e r   P e r s i s t e n t V o l u m e C l a i m   o r   t o   a   V o l u m e S n a p s h o t ,   t h e   d a t a S o u r c e R e f   f i e l d   c a n   c o n t a i n   a   r e f e r e n c e   t o   a n y   o b j e c t   i n   t h e   s a m e   n a m e s p a c e ,   e x c e p t   f o r   c o r e   o b j e c t s   o t h e r   t h a n   P V C s .   F o r   c l u s t e r s   t h a t   h a v e   t h e   f e a t u r e   g a t e   e n a b l e d ,   u s e   o f   t h e   d a t a S o u r c e R e f   i s   p r e f e r r e d   o v e r   d a t a S o u r c e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_2_1451"
  },
  {
    "question": "What is Cross namespace data sources?",
    "answer": "K u b e r n e t e s   s u p p o r t s   c r o s s   n a m e s p a c e   v o l u m e   d a t a   s o u r c e s .   T o   u s e   c r o s s   n a m e s p a c e   v o l u m e   d a t a   s o u r c e s ,   y o u   m u s t   e n a b l e   t h e   A n y V o l u m e D a t a S o u r c e   a n d   C r o s s N a m e s p a c e V o l u m e D a t a S o u r c e   f e a t u r e   g a t e s   f o r   t h e   k u b e - a p i s e r v e r   a n d   k u b e - c o n t r o l l e r - m a n a g e r .   A l s o ,   y o u   m u s t   e n a b l e   t h e   C r o s s N a m e s p a c e V o l u m e D a t a S o u r c e   f e a t u r e   g a t e   f o r   t h e   c s i - p r o v i s i o n e r .   E n a b l i n g   t h e   C r o s s N a m e s p a c e V o l u m e D a t a S o u r c e   f e a t u r e   g a t e   a l l o w s   y o u   t o   s p e c i f y   a   n a m e s p a c e   i n   t h e   d a t a S o u r c e R e f   f i e l d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_2_1452"
  },
  {
    "question": "What is Data source references?",
    "answer": "T h e   d a t a S o u r c e R e f   f i e l d   b e h a v e s   a l m o s t   t h e   s a m e   a s   t h e   d a t a S o u r c e   f i e l d .   I f   o n e   i s   s p e c i f i e d   w h i l e   t h e   o t h e r   i s   n o t ,   t h e   A P I   s e r v e r   w i l l   g i v e   b o t h   f i e l d s   t h e   s a m e   v a l u e .   N e i t h e r   f i e l d   c a n   b e   c h a n g e d   a f t e r   c r e a t i o n ,   a n d   a t t e m p t i n g   t o   s p e c i f y   d i f f e r e n t   v a l u e s   f o r   t h e   t w o   f i e l d s   w i l l   r e s u l t   i n   a   v a l i d a t i o n   e r r o r .   T h e r e f o r e   t h e   t w o   f i e l d s   w i l l   a l w a y s   h a v e   t h e   s a m e   c o n t e n t s .   T h e r e   a r e   t w o   d i f f e r e n c e s   b e t w e e n   t h e   d a t a S o u r c e R e f   f i e l d   a n d   t h e   d a t a S o u r c e   f i e l d   t h a t   u s e r s   s h o u l d   b e   a w a r e   o f :   T h e   d a t a S o u r c e   f i e l d   i g n o r e s   i n v a l i d   v a l u e s   ( a s   i f   t h e   f i e l d   w a s   b l a n k )   w h i l e   t h e   d a t a S o u r c e R e f   f i e l d   n e v e r   i g n o r e s   v a l u e s   a n d   w i l l   c a u s e   a n   e r r o r   i f   a n   i n v a l i d   v a l u e   i s   u s e d .   I n v a l i d   v a l u e s   a r e   a n y   c o r e   o b j e c t   ( o b j e c t s   w i t h   n o   a p i G r o u p )   e x c e p t   f o r   P V C s . T h e   d a t a S o u r c e R e f   f i e l d   m a y   c o n t a i n   d i f f e r e n t   t y p e s   o f   o b j e c t s ,   w h i l e   t h e   d a t a S o u r c e   f i e l d   o n l y   a l l o w s   P V C s   a n d   V o l u m e S n a p s h o t s .   W h e n   t h e   C r o s s N a m e s p a c e V o l u m e D a t a S o u r c e   f e a t u r e   i s   e n a b l e d ,   t h e r e   a r e   a d d i t i o n a l   d i f f e r e n c e s :   T h e   d a t a S o u r c e   f i e l d   o n l y   a l l o w s   l o c ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_2_1453"
  },
  {
    "question": "What is Using volume populators?",
    "answer": "V o l u m e   p o p u l a t o r s   a r e   c o n t r o l l e r s   t h a t   c a n   c r e a t e   n o n - e m p t y   v o l u m e s ,   w h e r e   t h e   c o n t e n t s   o f   t h e   v o l u m e   a r e   d e t e r m i n e d   b y   a   C u s t o m   R e s o u r c e .   U s e r s   c r e a t e   a   p o p u l a t e d   v o l u m e   b y   r e f e r r i n g   t o   a   C u s t o m   R e s o u r c e   u s i n g   t h e   d a t a S o u r c e R e f   f i e l d :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   p o p u l a t e d - p v c   s p e c :   d a t a S o u r c e R e f :   n a m e :   e x a m p l e - n a m e   k i n d :   E x a m p l e D a t a S o u r c e   a p i G r o u p :   e x a m p l e . s t o r a g e . k 8 s . i o   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   1 0 G i   B e c a u s e   v o l u m e   p o p u l a t o r s   a r e   e x t e r n a l   c o m p o n e n t s ,   a t t e m p t s   t o   c r e a t e   a   P V C   t h a t   u s e s   o n e   c a n   f a i l   i f   n o t   a l l   t h e   c o r r e c t   c o m p o n e n t s   a r e   i n s t a l l e d .   E x t e r n a l   c o n t r o l l e r s   s h o u l d   g e n e r a t e   e v e n t s   o n   t h e   P V C   t o   p r o v i d e",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1454"
  },
  {
    "question": "What is Using a cross-namespace volume data source?",
    "answer": "C r e a t e   a   R e f e r e n c e G r a n t   t o   a l l o w   t h e   n a m e s p a c e   o w n e r   t o   a c c e p t   t h e   r e f e r e n c e .   Y o u   d e f i n e   a   p o p u l a t e d   v o l u m e   b y   s p e c i f y i n g   a   c r o s s   n a m e s p a c e   v o l u m e   d a t a   s o u r c e   u s i n g   t h e   d a t a S o u r c e R e f   f i e l d .   Y o u   m u s t   a l r e a d y   h a v e   a   v a l i d   R e f e r e n c e G r a n t   i n   t h e   s o u r c e   n a m e s p a c e :   a p i V e r s i o n :   g a t e w a y . n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1   k i n d :   R e f e r e n c e G r a n t   m e t a d a t a :   n a m e :   a l l o w - n s 1 - p v c   n a m e s p a c e :   d e f a u l t   s p e c :   f r o m :   -   g r o u p :   \" \"   k i n d :   P e r s i s t e n t V o l u m e C l a i m   n a m e s p a c e :   n s 1   t o :   -   g r o u p :   s n a p s h o t . s t o r a g e . k 8 s . i o   k i n d :   V o l u m e S n a p s h o t   n a m e :   n e w - s n a p s h o t - d e m o   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   f o o - p v c   n a m e s p a c e :   n s 1   s p e c :   s t o r a g e C l a s s N a m e :   e x a m p l e   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   1 G i   d a t a S o u r c e R e f :   a p i G r o u p :   s n a p s h o t . s t o r a g e . k 8 s . i o   k i n d :   V o l u m e S n a p s h o t   n a m e :   n e w - s n a p s h o t - d e m o   n a m e s p a c e :   d e f a u l t   v o l u m e M o d e :   F i l e s y s t e m",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1455"
  },
  {
    "question": "What is Writing Portable Configuration?",
    "answer": "I f   y o u ' r e   w r i t i n g   c o n f i g u r a t i o n   t e m p l a t e s   o r   e x a m p l e s   t h a t   r u n   o n   a   w i d e   r a n g e   o f   c l u s t e r s   a n d   n e e d   p e r s i s t e n t   s t o r a g e ,   i t   i s   r e c o m m e n d e d   t h a t   y o u   u s e   t h e   f o l l o w i n g   p a t t e r n :   I n c l u d e   P e r s i s t e n t V o l u m e C l a i m   o b j e c t s   i n   y o u r   b u n d l e   o f   c o n f i g   ( a l o n g s i d e   D e p l o y m e n t s ,   C o n f i g M a p s ,   e t c ) . D o   n o t   i n c l u d e   P e r s i s t e n t V o l u m e   o b j e c t s   i n   t h e   c o n f i g ,   s i n c e   t h e   u s e r   i n s t a n t i a t i n g   t h e   c o n f i g   m a y   n o t   h a v e   p e r m i s s i o n   t o   c r e a t e   P e r s i s t e n t V o l u m e s . G i v e   t h e   u s e r   t h e   o p t i o n   o f   p r o v i d i n g   a   s t o r a g e   c l a s s   n a m e   w h e n   i n s t a n t i a t i n g   t h e   t e m p l a t e . I f   t h e   u s e r   p r o v i d e s   a   s t o r a g e   c l a s s   n a m e ,   p u t   t h a t   v a l u e   i n t o   t h e   p e r s i s t e n t V o l u m e C l a i m . s t o r a g e C l a s s N a m e   f i e l d .   T h i s   w i l l   c a u s e   t h e   P V C   t o   m a t c h   t h e   r i g h t   s t o r a g e   c l a s s   i f   t h e   c l u s t e r   h a s   S t o r a g e C l a s s e s   e n a b l e d   b y   t h e   a d m i n . I f   t h e   u s e r   d o e s   n o t   p r o v i d e   a   s t o r a g e   c l a s s   n a m e ,   l e a v e   t h e   p e r s i s t e n t V o l u m e C l a i m . s t o r a g e C l a s s N a m e   f i e l d   a s   n i l .   T h i s   w i l l   c a u s e   a   P V   t o   b e   a u t o m a t i c a l l y   p r o v i s i o n e d   f o r   t h e   u s e r   w i t h   t h e   d e f a u l t   S t o r a g e C l a s s   i n   t h e   c l u s t e r .   M a n y   c l u s t e r   e n v i r o n m e n t s   h a v e   a   ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_2_1456"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   C r e a t i n g   a   P e r s i s t e n t V o l u m e . L e a r n   m o r e   a b o u t   C r e a t i n g   a   P e r s i s t e n t V o l u m e C l a i m . R e a d   t h e   P e r s i s t e n t   S t o r a g e   d e s i g n   d o c u m e n t .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_2_1457"
  },
  {
    "question": "What is API references?",
    "answer": "R e a d   a b o u t   t h e   A P I s   d e s c r i b e d   i n   t h i s   p a g e :   P e r s i s t e n t V o l u m e P e r s i s t e n t V o l u m e C l a i m",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/persistent-volumes/",
    "id": "k8s_00083_section_3_1458"
  },
  {
    "question": "What is Image Policy API (v1alpha1)?",
    "answer": "Image Policy API (v1alpha1)Resource TypesImageReviewImageReviewImageReview checks if the set of images in a pod are allowed.FieldDescriptionapiVersionstringimagepolicy.k8s.io/v1alpha1kindstringImageReviewmetadatameta/v1.ObjectMetaStandard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataRefer to the Kubernetes API documentation for the fields of the metadata field.spec [Required]ImageReviewSpecSpec holds information about the pod being evaluatedstatusImageReviewStatusStatus is filled in by the backend and indicates whether the pod should be allowed.ImageReviewContainerSpecAppears in:ImageReviewSpecImageReviewContainerSpec is a description of a container within the pod creation request.FieldDescriptionimagestringThis can be in the form image:tag or image@SHA:012345679abcdef.ImageReviewSpecAppears in:ImageReviewImageReviewSpec is a description of the pod creation request.FieldDescriptioncontainers[]ImageReviewContainerSpecContainers is a list of a subset of the information in each container of the Pod being created.annotationsmap[string]stringAnnotations is a list of key-value pairs extracted from the Pod's annotations. It only includes keys which match the pattern *.image-policy.k8s.io/*. It is up to each webhook backend to determine how to interpret these annotations, if at all.namespacestringNamespace is the namespace the pod is being created in.ImageReviewStatusAppears in:ImageReviewImageReviewStatus is the result of the review for the pod creation request.FieldDescriptionallowed [Required]boolAllowed indicates that all images were allowed to be run.reasonstringReason should be empty unless Allowed is false in which case it may contain a short description of what is wrong. Kubernetes may truncate excessively long errors when displaying to the user.auditAnnotationsmap[string]stringAuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'. The keys should be prefix-less (i.e., the admission controller will add an appropriate prefix).This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/imagepolicy.v1alpha1/",
    "id": "k8s_00084_qa_1459"
  },
  {
    "question": "How does Image Policy API (v1alpha1) work?",
    "answer": "Image Policy API (v1alpha1)Resource TypesImageReviewImageReviewImageReview checks if the set of images in a pod are allowed.FieldDescriptionapiVersionstringimagepolicy.k8s.io/v1alpha1kindstringImageReviewmetadatameta/v1.ObjectMetaStandard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataRefer to the Kubernetes API documentation for the fields of the metadata field.spec [Required]ImageReviewSpecSpec holds information about the pod being evaluatedstatusImageReviewStatusStatus is filled in by the backend and indicates whether the pod should be allowed.ImageReviewContainerSpecAppears in:ImageReviewSpecImageReviewContainerSpec is a description of a container within the pod creation request.FieldDescriptionimagestringThis can be in the form image:tag or image@SHA:012345679abcdef.ImageReviewSpecAppears in:ImageReviewImageReviewSpec is a description of the pod creation request.FieldDescriptioncontainers[]ImageReviewContainerSpecContainers is a list of a subset of the information in each container of the Pod being created.annotationsmap[string]stringAnnotations is a list of key-value pairs extracted from the Pod's annotations. It only includes keys which match the pattern *.image-policy.k8s.io/*. It is up to each webhook backend to determine how to interpret these annotations, if at all.namespacestringNamespace is the namespace the pod is being created in.ImageReviewStatusAppears in:ImageReviewImageReviewStatus is the result of the review for the pod creation request.FieldDescriptionallowed [Required]boolAllowed indicates that all images were allowed to be run.reasonstringReason should be empty unless Allowed is false in which case it may contain a short description of what is wrong. Kubernetes may truncate excessively long errors when displaying to the user.auditAnnotationsmap[string]stringAuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'. The keys should be prefix-less (i.e., the admission controller will add an appropriate prefix).This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/imagepolicy.v1alpha1/",
    "id": "k8s_00084_qa_1460"
  },
  {
    "question": "When would you use Image Policy API (v1alpha1)?",
    "answer": "Image Policy API (v1alpha1)Resource TypesImageReviewImageReviewImageReview checks if the set of images in a pod are allowed.FieldDescriptionapiVersionstringimagepolicy.k8s.io/v1alpha1kindstringImageReviewmetadatameta/v1.ObjectMetaStandard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataRefer to the Kubernetes API documentation for the fields of the metadata field.spec [Required]ImageReviewSpecSpec holds information about the pod being evaluatedstatusImageReviewStatusStatus is filled in by the backend and indicates whether the pod should be allowed.ImageReviewContainerSpecAppears in:ImageReviewSpecImageReviewContainerSpec is a description of a container within the pod creation request.FieldDescriptionimagestringThis can be in the form image:tag or image@SHA:012345679abcdef.ImageReviewSpecAppears in:ImageReviewImageReviewSpec is a description of the pod creation request.FieldDescriptioncontainers[]ImageReviewContainerSpecContainers is a list of a subset of the information in each container of the Pod being created.annotationsmap[string]stringAnnotations is a list of key-value pairs extracted from the Pod's annotations. It only includes keys which match the pattern *.image-policy.k8s.io/*. It is up to each webhook backend to determine how to interpret these annotations, if at all.namespacestringNamespace is the namespace the pod is being created in.ImageReviewStatusAppears in:ImageReviewImageReviewStatus is the result of the review for the pod creation request.FieldDescriptionallowed [Required]boolAllowed indicates that all images were allowed to be run.reasonstringReason should be empty unless Allowed is false in which case it may contain a short description of what is wrong. Kubernetes may truncate excessively long errors when displaying to the user.auditAnnotationsmap[string]stringAuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'. The keys should be prefix-less (i.e., the admission controller will add an appropriate prefix).This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/imagepolicy.v1alpha1/",
    "id": "k8s_00084_qa_1461"
  },
  {
    "question": "What are the benefits of Image Policy API (v1alpha1)?",
    "answer": "Image Policy API (v1alpha1)Resource TypesImageReviewImageReviewImageReview checks if the set of images in a pod are allowed.FieldDescriptionapiVersionstringimagepolicy.k8s.io/v1alpha1kindstringImageReviewmetadatameta/v1.ObjectMetaStandard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataRefer to the Kubernetes API documentation for the fields of the metadata field.spec [Required]ImageReviewSpecSpec holds information about the pod being evaluatedstatusImageReviewStatusStatus is filled in by the backend and indicates whether the pod should be allowed.ImageReviewContainerSpecAppears in:ImageReviewSpecImageReviewContainerSpec is a description of a container within the pod creation request.FieldDescriptionimagestringThis can be in the form image:tag or image@SHA:012345679abcdef.ImageReviewSpecAppears in:ImageReviewImageReviewSpec is a description of the pod creation request.FieldDescriptioncontainers[]ImageReviewContainerSpecContainers is a list of a subset of the information in each container of the Pod being created.annotationsmap[string]stringAnnotations is a list of key-value pairs extracted from the Pod's annotations. It only includes keys which match the pattern *.image-policy.k8s.io/*. It is up to each webhook backend to determine how to interpret these annotations, if at all.namespacestringNamespace is the namespace the pod is being created in.ImageReviewStatusAppears in:ImageReviewImageReviewStatus is the result of the review for the pod creation request.FieldDescriptionallowed [Required]boolAllowed indicates that all images were allowed to be run.reasonstringReason should be empty unless Allowed is false in which case it may contain a short description of what is wrong. Kubernetes may truncate excessively long errors when displaying to the user.auditAnnotationsmap[string]stringAuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'. The keys should be prefix-less (i.e., the admission controller will add an appropriate prefix).This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/imagepolicy.v1alpha1/",
    "id": "k8s_00084_qa_1462"
  },
  {
    "question": "What is Resource Types?",
    "answer": "I m a g e R e v i e w",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/imagepolicy.v1alpha1/",
    "id": "k8s_00084_section_2_1463"
  },
  {
    "question": "What is ImageReview?",
    "answer": "I m a g e R e v i e w   c h e c k s   i f   t h e   s e t   o f   i m a g e s   i n   a   p o d   a r e   a l l o w e d .   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   p o d   b e i n g   e v a l u a t e d   S t a t u s   i s   f i l l e d   i n   b y   t h e   b a c k e n d   a n d   i n d i c a t e s   w h e t h e r   t h e   p o d   s h o u l d   b e   a l l o w e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/imagepolicy.v1alpha1/",
    "id": "k8s_00084_section_2_1464"
  },
  {
    "question": "What is ImageReviewContainerSpec?",
    "answer": "A p p e a r s   i n :   I m a g e R e v i e w S p e c   I m a g e R e v i e w C o n t a i n e r S p e c   i s   a   d e s c r i p t i o n   o f   a   c o n t a i n e r   w i t h i n   t h e   p o d   c r e a t i o n   r e q u e s t .   T h i s   c a n   b e   i n   t h e   f o r m   i m a g e : t a g   o r   i m a g e @ S H A : 0 1 2 3 4 5 6 7 9 a b c d e f .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/imagepolicy.v1alpha1/",
    "id": "k8s_00084_section_2_1465"
  },
  {
    "question": "What is ImageReviewSpec?",
    "answer": "A p p e a r s   i n :   I m a g e R e v i e w   I m a g e R e v i e w S p e c   i s   a   d e s c r i p t i o n   o f   t h e   p o d   c r e a t i o n   r e q u e s t .   C o n t a i n e r s   i s   a   l i s t   o f   a   s u b s e t   o f   t h e   i n f o r m a t i o n   i n   e a c h   c o n t a i n e r   o f   t h e   P o d   b e i n g   c r e a t e d .   A n n o t a t i o n s   i s   a   l i s t   o f   k e y - v a l u e   p a i r s   e x t r a c t e d   f r o m   t h e   P o d ' s   a n n o t a t i o n s .   I t   o n l y   i n c l u d e s   k e y s   w h i c h   m a t c h   t h e   p a t t e r n   * . i m a g e - p o l i c y . k 8 s . i o / * .   I t   i s   u p   t o   e a c h   w e b h o o k   b a c k e n d   t o   d e t e r m i n e   h o w   t o   i n t e r p r e t   t h e s e   a n n o t a t i o n s ,   i f   a t   a l l .   N a m e s p a c e   i s   t h e   n a m e s p a c e   t h e   p o d   i s   b e i n g   c r e a t e d   i n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/imagepolicy.v1alpha1/",
    "id": "k8s_00084_section_2_1466"
  },
  {
    "question": "What is ImageReviewStatus?",
    "answer": "A p p e a r s   i n :   I m a g e R e v i e w   I m a g e R e v i e w S t a t u s   i s   t h e   r e s u l t   o f   t h e   r e v i e w   f o r   t h e   p o d   c r e a t i o n   r e q u e s t .   A l l o w e d   i n d i c a t e s   t h a t   a l l   i m a g e s   w e r e   a l l o w e d   t o   b e   r u n .   R e a s o n   s h o u l d   b e   e m p t y   u n l e s s   A l l o w e d   i s   f a l s e   i n   w h i c h   c a s e   i t   m a y   c o n t a i n   a   s h o r t   d e s c r i p t i o n   o f   w h a t   i s   w r o n g .   K u b e r n e t e s   m a y   t r u n c a t e   e x c e s s i v e l y   l o n g   e r r o r s   w h e n   d i s p l a y i n g   t o   t h e   u s e r .   A u d i t A n n o t a t i o n s   w i l l   b e   a d d e d   t o   t h e   a t t r i b u t e s   o b j e c t   o f   t h e   a d m i s s i o n   c o n t r o l l e r   r e q u e s t   u s i n g   ' A d d A n n o t a t i o n ' .   T h e   k e y s   s h o u l d   b e   p r e f i x - l e s s   ( i . e . ,   t h e   a d m i s s i o n   c o n t r o l l e r   w i l l   a d d   a n   a p p r o p r i a t e   p r e f i x ) .   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/imagepolicy.v1alpha1/",
    "id": "k8s_00084_section_2_1467"
  },
  {
    "question": "What is Workload Management?",
    "answer": "Workload ManagementKubernetes provides several built-in APIs for declarative management of your workloads and the components of those workloads.Ultimately, your applications run as containers inside Pods; however, managing individual Pods would be a lot of effort. For example, if a Pod fails, you probably want to run a new Pod to replace it. Kubernetes can do that for you.You use the Kubernetes API to create a workload object that represents a higher abstraction level than a Pod, and then the Kubernetes control plane automatically manages Pod objects on your behalf, based on the specification for the workload object you defined.The built-in APIs for managing workloads are:Deployment (and, indirectly, ReplicaSet), the most common way to run an application on your cluster. Deployment is a good fit for managing a stateless application workload on your cluster, where any Pod in the Deployment is interchangeable and can be replaced if needed. (Deployments are a replacement for the legacy ReplicationController API).A StatefulSet lets you manage one or more Pods – all running the same application code – where the Pods rely on having a distinct identity. This is different from a Deployment where the Pods are expected to be interchangeable. The most common use for a StatefulSet is to be able to make a link between its Pods and their persistent storage. For example, you can run a StatefulSet that associates each Pod with a PersistentVolume. If one of the Pods in the StatefulSet fails, Kubernetes makes a replacement Pod that is connected to the same PersistentVolume.A DaemonSet defines Pods that provide facilities that are local to a specific node; for example, a driver that lets containers on that node access a storage system. You use a DaemonSet when the driver, or other node-level service, has to run on the node where it's useful. Each Pod in a DaemonSet performs a role similar to a system daemon on a classic Unix / POSIX server. A DaemonSet might be fundamental to the operation of your cluster, such as a plugin to let that node access cluster networking, it might help you to manage the node, or it could provide less essential facilities that enhance the container platform you are running. You can run DaemonSets (and their pods) across every node in your cluster, or across just a subset (for example, only install the GPU accelerator driver on nodes that have a GPU installed).You can use a Job and / or a CronJob to define tasks that run to completion and then stop. A Job represents a one-off task, whereas each CronJob repeats according to a schedule.Other topics in this section:Automatic Cleanup for Finished JobsReplicationController",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/",
    "id": "k8s_00085_qa_1468"
  },
  {
    "question": "How does Workload Management work?",
    "answer": "Workload ManagementKubernetes provides several built-in APIs for declarative management of your workloads and the components of those workloads.Ultimately, your applications run as containers inside Pods; however, managing individual Pods would be a lot of effort. For example, if a Pod fails, you probably want to run a new Pod to replace it. Kubernetes can do that for you.You use the Kubernetes API to create a workload object that represents a higher abstraction level than a Pod, and then the Kubernetes control plane automatically manages Pod objects on your behalf, based on the specification for the workload object you defined.The built-in APIs for managing workloads are:Deployment (and, indirectly, ReplicaSet), the most common way to run an application on your cluster. Deployment is a good fit for managing a stateless application workload on your cluster, where any Pod in the Deployment is interchangeable and can be replaced if needed. (Deployments are a replacement for the legacy ReplicationController API).A StatefulSet lets you manage one or more Pods – all running the same application code – where the Pods rely on having a distinct identity. This is different from a Deployment where the Pods are expected to be interchangeable. The most common use for a StatefulSet is to be able to make a link between its Pods and their persistent storage. For example, you can run a StatefulSet that associates each Pod with a PersistentVolume. If one of the Pods in the StatefulSet fails, Kubernetes makes a replacement Pod that is connected to the same PersistentVolume.A DaemonSet defines Pods that provide facilities that are local to a specific node; for example, a driver that lets containers on that node access a storage system. You use a DaemonSet when the driver, or other node-level service, has to run on the node where it's useful. Each Pod in a DaemonSet performs a role similar to a system daemon on a classic Unix / POSIX server. A DaemonSet might be fundamental to the operation of your cluster, such as a plugin to let that node access cluster networking, it might help you to manage the node, or it could provide less essential facilities that enhance the container platform you are running. You can run DaemonSets (and their pods) across every node in your cluster, or across just a subset (for example, only install the GPU accelerator driver on nodes that have a GPU installed).You can use a Job and / or a CronJob to define tasks that run to completion and then stop. A Job represents a one-off task, whereas each CronJob repeats according to a schedule.Other topics in this section:Automatic Cleanup for Finished JobsReplicationController",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/",
    "id": "k8s_00085_qa_1469"
  },
  {
    "question": "When would you use Workload Management?",
    "answer": "Workload ManagementKubernetes provides several built-in APIs for declarative management of your workloads and the components of those workloads.Ultimately, your applications run as containers inside Pods; however, managing individual Pods would be a lot of effort. For example, if a Pod fails, you probably want to run a new Pod to replace it. Kubernetes can do that for you.You use the Kubernetes API to create a workload object that represents a higher abstraction level than a Pod, and then the Kubernetes control plane automatically manages Pod objects on your behalf, based on the specification for the workload object you defined.The built-in APIs for managing workloads are:Deployment (and, indirectly, ReplicaSet), the most common way to run an application on your cluster. Deployment is a good fit for managing a stateless application workload on your cluster, where any Pod in the Deployment is interchangeable and can be replaced if needed. (Deployments are a replacement for the legacy ReplicationController API).A StatefulSet lets you manage one or more Pods – all running the same application code – where the Pods rely on having a distinct identity. This is different from a Deployment where the Pods are expected to be interchangeable. The most common use for a StatefulSet is to be able to make a link between its Pods and their persistent storage. For example, you can run a StatefulSet that associates each Pod with a PersistentVolume. If one of the Pods in the StatefulSet fails, Kubernetes makes a replacement Pod that is connected to the same PersistentVolume.A DaemonSet defines Pods that provide facilities that are local to a specific node; for example, a driver that lets containers on that node access a storage system. You use a DaemonSet when the driver, or other node-level service, has to run on the node where it's useful. Each Pod in a DaemonSet performs a role similar to a system daemon on a classic Unix / POSIX server. A DaemonSet might be fundamental to the operation of your cluster, such as a plugin to let that node access cluster networking, it might help you to manage the node, or it could provide less essential facilities that enhance the container platform you are running. You can run DaemonSets (and their pods) across every node in your cluster, or across just a subset (for example, only install the GPU accelerator driver on nodes that have a GPU installed).You can use a Job and / or a CronJob to define tasks that run to completion and then stop. A Job represents a one-off task, whereas each CronJob repeats according to a schedule.Other topics in this section:Automatic Cleanup for Finished JobsReplicationController",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/",
    "id": "k8s_00085_qa_1470"
  },
  {
    "question": "What are the benefits of Workload Management?",
    "answer": "Workload ManagementKubernetes provides several built-in APIs for declarative management of your workloads and the components of those workloads.Ultimately, your applications run as containers inside Pods; however, managing individual Pods would be a lot of effort. For example, if a Pod fails, you probably want to run a new Pod to replace it. Kubernetes can do that for you.You use the Kubernetes API to create a workload object that represents a higher abstraction level than a Pod, and then the Kubernetes control plane automatically manages Pod objects on your behalf, based on the specification for the workload object you defined.The built-in APIs for managing workloads are:Deployment (and, indirectly, ReplicaSet), the most common way to run an application on your cluster. Deployment is a good fit for managing a stateless application workload on your cluster, where any Pod in the Deployment is interchangeable and can be replaced if needed. (Deployments are a replacement for the legacy ReplicationController API).A StatefulSet lets you manage one or more Pods – all running the same application code – where the Pods rely on having a distinct identity. This is different from a Deployment where the Pods are expected to be interchangeable. The most common use for a StatefulSet is to be able to make a link between its Pods and their persistent storage. For example, you can run a StatefulSet that associates each Pod with a PersistentVolume. If one of the Pods in the StatefulSet fails, Kubernetes makes a replacement Pod that is connected to the same PersistentVolume.A DaemonSet defines Pods that provide facilities that are local to a specific node; for example, a driver that lets containers on that node access a storage system. You use a DaemonSet when the driver, or other node-level service, has to run on the node where it's useful. Each Pod in a DaemonSet performs a role similar to a system daemon on a classic Unix / POSIX server. A DaemonSet might be fundamental to the operation of your cluster, such as a plugin to let that node access cluster networking, it might help you to manage the node, or it could provide less essential facilities that enhance the container platform you are running. You can run DaemonSets (and their pods) across every node in your cluster, or across just a subset (for example, only install the GPU accelerator driver on nodes that have a GPU installed).You can use a Job and / or a CronJob to define tasks that run to completion and then stop. A Job represents a one-off task, whereas each CronJob repeats according to a schedule.Other topics in this section:Automatic Cleanup for Finished JobsReplicationController",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/",
    "id": "k8s_00085_qa_1471"
  },
  {
    "question": "What is Workload Management?",
    "answer": "K u b e r n e t e s   p r o v i d e s   s e v e r a l   b u i l t - i n   A P I s   f o r   d e c l a r a t i v e   m a n a g e m e n t   o f   y o u r   w o r k l o a d s   a n d   t h e   c o m p o n e n t s   o f   t h o s e   w o r k l o a d s .   U l t i m a t e l y ,   y o u r   a p p l i c a t i o n s   r u n   a s   c o n t a i n e r s   i n s i d e   P o d s ;   h o w e v e r ,   m a n a g i n g   i n d i v i d u a l   P o d s   w o u l d   b e   a   l o t   o f   e f f o r t .   F o r   e x a m p l e ,   i f   a   P o d   f a i l s ,   y o u   p r o b a b l y   w a n t   t o   r u n   a   n e w   P o d   t o   r e p l a c e   i t .   K u b e r n e t e s   c a n   d o   t h a t   f o r   y o u .   Y o u   u s e   t h e   K u b e r n e t e s   A P I   t o   c r e a t e   a   w o r k l o a d   o b j e c t   t h a t   r e p r e s e n t s   a   h i g h e r   a b s t r a c t i o n   l e v e l   t h a n   a   P o d ,   a n d   t h e n   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   a u t o m a t i c a l l y   m a n a g e s   P o d   o b j e c t s   o n   y o u r   b e h a l f ,   b a s e d   o n   t h e   s p e c i f i c a t i o n   f o r   t h e   w o r k l o a d   o b j e c t   y o u   d e f i n e d .   T h e   b u i l t - i n   A P I s   f o r   m a n a g i n g   w o r k l o a d s   a r e :   D e p l o y m e n t   ( a n d ,   i n d i r e c t l y ,   R e p l i c a S e t ) ,   t h e   m o s t   c o m m o n   w a y   t o   r u n   a n   a p p l i c a t i o n   o n   y o u r   c l u s t e r .   D e p l o y m e n t   i s   a   g o o d   f i t   f o r   m a n a g i n g   a   s t a t e l e s s   a p p l i c a t i o n   w o r k l o a d   o n   y o u r   c l u s t e r ,   w h e r e   a n y   P o d   i n   t h e   D e p l o y m e n t   i s   i n t e r c h a n g e a b l e   a n d   c a n   b e   r e p l a c e d   i f   n e e d e d .   ( D e p l o y m e n t s   a r e   a   r e p l a c e m e n t   f o r   t h e   l e g a c y   R e p l i c a t i o n C o n t r o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/",
    "id": "k8s_00085_section_1_1472"
  },
  {
    "question": "What is Organizing Cluster Access Using kubeconfig Files?",
    "answer": "Organizing Cluster Access Using kubeconfig FilesUse kubeconfig files to organize information about clusters, users, namespaces, and authentication mechanisms. The kubectl command-line tool uses kubeconfig files to find the information it needs to choose a cluster and communicate with the API server of a cluster.Note:A file that is used to configure access to clusters is called a kubeconfig file. This is a generic way of referring to configuration files. It does not mean that there is a file named kubeconfig.Warning:Only use kubeconfig files from trusted sources. Using a specially-crafted kubeconfig file could result in malicious code execution or file exposure. If you must use an untrusted kubeconfig file, inspect it carefully first, much as you would a shell script.By default, kubectl looks for a file named config in the $HOME/.kube directory. You can specify other kubeconfig files by setting the KUBECONFIG environment variable or by setting the --kubeconfig flag.For step-by-step instructions on creating and specifying kubeconfig files, see Configure Access to Multiple Clusters.Supporting multiple clusters, users, and authentication mechanismsSuppose you have several clusters, and your users and components authenticate in a variety of ways. For example:A running kubelet might authenticate using certificates.A user might authenticate using tokens.Administrators might have sets of certificates that they provide to individual users.With kubeconfig files, you can organize your clusters, users, and namespaces. You can also define contexts to quickly and easily switch between clusters and namespaces.ContextA context element in a kubeconfig file is used to group access parameters under a convenient name. Each context has three parameters: cluster, namespace, and user. By default, the kubectl command-line tool uses parameters from the current context to communicate with the cluster.To choose the current context:kubectl config use-context The KUBECONFIG environment variableThe KUBECONFIG environment variable holds a list of kubeconfig files. For Linux and Mac, the list is colon-delimited. For Windows, the list is semicolon-delimited. The KUBECONFIG environment variable is not required. If the KUBECONFIG environment variable doesn't exist, kubectl uses the default kubeconfig file, $HOME/.kube/config.If the KUBECONFIG environment variable does exist, kubectl uses an effective configuration that is the result of merging the files listed in the KUBECONFIG environment variable.Merging kubeconfig filesTo see your configuration, enter this command:kubectl config view As described previously, the output might be from a single kubeconfig file, or it might be the result of merging several kubeconfig files.Here are the rules that kubectl uses when it merges kubeconfig files:If the --kubeconfig flag is set, use only the specified file. Do not merge. Only one instance of this flag is allowed.Otherwise, if the KUBECONFIG environment variable is set, use it as a list o",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/",
    "id": "k8s_00086_qa_1473"
  },
  {
    "question": "How does Organizing Cluster Access Using kubeconfig Files work?",
    "answer": "Organizing Cluster Access Using kubeconfig FilesUse kubeconfig files to organize information about clusters, users, namespaces, and authentication mechanisms. The kubectl command-line tool uses kubeconfig files to find the information it needs to choose a cluster and communicate with the API server of a cluster.Note:A file that is used to configure access to clusters is called a kubeconfig file. This is a generic way of referring to configuration files. It does not mean that there is a file named kubeconfig.Warning:Only use kubeconfig files from trusted sources. Using a specially-crafted kubeconfig file could result in malicious code execution or file exposure. If you must use an untrusted kubeconfig file, inspect it carefully first, much as you would a shell script.By default, kubectl looks for a file named config in the $HOME/.kube directory. You can specify other kubeconfig files by setting the KUBECONFIG environment variable or by setting the --kubeconfig flag.For step-by-step instructions on creating and specifying kubeconfig files, see Configure Access to Multiple Clusters.Supporting multiple clusters, users, and authentication mechanismsSuppose you have several clusters, and your users and components authenticate in a variety of ways. For example:A running kubelet might authenticate using certificates.A user might authenticate using tokens.Administrators might have sets of certificates that they provide to individual users.With kubeconfig files, you can organize your clusters, users, and namespaces. You can also define contexts to quickly and easily switch between clusters and namespaces.ContextA context element in a kubeconfig file is used to group access parameters under a convenient name. Each context has three parameters: cluster, namespace, and user. By default, the kubectl command-line tool uses parameters from the current context to communicate with the cluster.To choose the current context:kubectl config use-context The KUBECONFIG environment variableThe KUBECONFIG environment variable holds a list of kubeconfig files. For Linux and Mac, the list is colon-delimited. For Windows, the list is semicolon-delimited. The KUBECONFIG environment variable is not required. If the KUBECONFIG environment variable doesn't exist, kubectl uses the default kubeconfig file, $HOME/.kube/config.If the KUBECONFIG environment variable does exist, kubectl uses an effective configuration that is the result of merging the files listed in the KUBECONFIG environment variable.Merging kubeconfig filesTo see your configuration, enter this command:kubectl config view As described previously, the output might be from a single kubeconfig file, or it might be the result of merging several kubeconfig files.Here are the rules that kubectl uses when it merges kubeconfig files:If the --kubeconfig flag is set, use only the specified file. Do not merge. Only one instance of this flag is allowed.Otherwise, if the KUBECONFIG environment variable is set, use it as a list o",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/",
    "id": "k8s_00086_qa_1474"
  },
  {
    "question": "When would you use Organizing Cluster Access Using kubeconfig Files?",
    "answer": "Organizing Cluster Access Using kubeconfig FilesUse kubeconfig files to organize information about clusters, users, namespaces, and authentication mechanisms. The kubectl command-line tool uses kubeconfig files to find the information it needs to choose a cluster and communicate with the API server of a cluster.Note:A file that is used to configure access to clusters is called a kubeconfig file. This is a generic way of referring to configuration files. It does not mean that there is a file named kubeconfig.Warning:Only use kubeconfig files from trusted sources. Using a specially-crafted kubeconfig file could result in malicious code execution or file exposure. If you must use an untrusted kubeconfig file, inspect it carefully first, much as you would a shell script.By default, kubectl looks for a file named config in the $HOME/.kube directory. You can specify other kubeconfig files by setting the KUBECONFIG environment variable or by setting the --kubeconfig flag.For step-by-step instructions on creating and specifying kubeconfig files, see Configure Access to Multiple Clusters.Supporting multiple clusters, users, and authentication mechanismsSuppose you have several clusters, and your users and components authenticate in a variety of ways. For example:A running kubelet might authenticate using certificates.A user might authenticate using tokens.Administrators might have sets of certificates that they provide to individual users.With kubeconfig files, you can organize your clusters, users, and namespaces. You can also define contexts to quickly and easily switch between clusters and namespaces.ContextA context element in a kubeconfig file is used to group access parameters under a convenient name. Each context has three parameters: cluster, namespace, and user. By default, the kubectl command-line tool uses parameters from the current context to communicate with the cluster.To choose the current context:kubectl config use-context The KUBECONFIG environment variableThe KUBECONFIG environment variable holds a list of kubeconfig files. For Linux and Mac, the list is colon-delimited. For Windows, the list is semicolon-delimited. The KUBECONFIG environment variable is not required. If the KUBECONFIG environment variable doesn't exist, kubectl uses the default kubeconfig file, $HOME/.kube/config.If the KUBECONFIG environment variable does exist, kubectl uses an effective configuration that is the result of merging the files listed in the KUBECONFIG environment variable.Merging kubeconfig filesTo see your configuration, enter this command:kubectl config view As described previously, the output might be from a single kubeconfig file, or it might be the result of merging several kubeconfig files.Here are the rules that kubectl uses when it merges kubeconfig files:If the --kubeconfig flag is set, use only the specified file. Do not merge. Only one instance of this flag is allowed.Otherwise, if the KUBECONFIG environment variable is set, use it as a list o",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/",
    "id": "k8s_00086_qa_1475"
  },
  {
    "question": "What are the benefits of Organizing Cluster Access Using kubeconfig Files?",
    "answer": "Organizing Cluster Access Using kubeconfig FilesUse kubeconfig files to organize information about clusters, users, namespaces, and authentication mechanisms. The kubectl command-line tool uses kubeconfig files to find the information it needs to choose a cluster and communicate with the API server of a cluster.Note:A file that is used to configure access to clusters is called a kubeconfig file. This is a generic way of referring to configuration files. It does not mean that there is a file named kubeconfig.Warning:Only use kubeconfig files from trusted sources. Using a specially-crafted kubeconfig file could result in malicious code execution or file exposure. If you must use an untrusted kubeconfig file, inspect it carefully first, much as you would a shell script.By default, kubectl looks for a file named config in the $HOME/.kube directory. You can specify other kubeconfig files by setting the KUBECONFIG environment variable or by setting the --kubeconfig flag.For step-by-step instructions on creating and specifying kubeconfig files, see Configure Access to Multiple Clusters.Supporting multiple clusters, users, and authentication mechanismsSuppose you have several clusters, and your users and components authenticate in a variety of ways. For example:A running kubelet might authenticate using certificates.A user might authenticate using tokens.Administrators might have sets of certificates that they provide to individual users.With kubeconfig files, you can organize your clusters, users, and namespaces. You can also define contexts to quickly and easily switch between clusters and namespaces.ContextA context element in a kubeconfig file is used to group access parameters under a convenient name. Each context has three parameters: cluster, namespace, and user. By default, the kubectl command-line tool uses parameters from the current context to communicate with the cluster.To choose the current context:kubectl config use-context The KUBECONFIG environment variableThe KUBECONFIG environment variable holds a list of kubeconfig files. For Linux and Mac, the list is colon-delimited. For Windows, the list is semicolon-delimited. The KUBECONFIG environment variable is not required. If the KUBECONFIG environment variable doesn't exist, kubectl uses the default kubeconfig file, $HOME/.kube/config.If the KUBECONFIG environment variable does exist, kubectl uses an effective configuration that is the result of merging the files listed in the KUBECONFIG environment variable.Merging kubeconfig filesTo see your configuration, enter this command:kubectl config view As described previously, the output might be from a single kubeconfig file, or it might be the result of merging several kubeconfig files.Here are the rules that kubectl uses when it merges kubeconfig files:If the --kubeconfig flag is set, use only the specified file. Do not merge. Only one instance of this flag is allowed.Otherwise, if the KUBECONFIG environment variable is set, use it as a list o",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/",
    "id": "k8s_00086_qa_1476"
  },
  {
    "question": "What is Organizing Cluster Access Using kubeconfig Files?",
    "answer": "U s e   k u b e c o n f i g   f i l e s   t o   o r g a n i z e   i n f o r m a t i o n   a b o u t   c l u s t e r s ,   u s e r s ,   n a m e s p a c e s ,   a n d   a u t h e n t i c a t i o n   m e c h a n i s m s .   T h e   k u b e c t l   c o m m a n d - l i n e   t o o l   u s e s   k u b e c o n f i g   f i l e s   t o   f i n d   t h e   i n f o r m a t i o n   i t   n e e d s   t o   c h o o s e   a   c l u s t e r   a n d   c o m m u n i c a t e   w i t h   t h e   A P I   s e r v e r   o f   a   c l u s t e r .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/",
    "id": "k8s_00086_section_1_1477"
  },
  {
    "question": "What is Warning:?",
    "answer": "B y   d e f a u l t ,   k u b e c t l   l o o k s   f o r   a   f i l e   n a m e d   c o n f i g   i n   t h e   $ H O M E / . k u b e   d i r e c t o r y .   Y o u   c a n   s p e c i f y   o t h e r   k u b e c o n f i g   f i l e s   b y   s e t t i n g   t h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   o r   b y   s e t t i n g   t h e   - - k u b e c o n f i g   f l a g .   F o r   s t e p - b y - s t e p   i n s t r u c t i o n s   o n   c r e a t i n g   a n d   s p e c i f y i n g   k u b e c o n f i g   f i l e s ,   s e e   C o n f i g u r e   A c c e s s   t o   M u l t i p l e   C l u s t e r s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/",
    "id": "k8s_00086_section_4_1478"
  },
  {
    "question": "What is Supporting multiple clusters, users, and authentication mechanisms?",
    "answer": "S u p p o s e   y o u   h a v e   s e v e r a l   c l u s t e r s ,   a n d   y o u r   u s e r s   a n d   c o m p o n e n t s   a u t h e n t i c a t e   i n   a   v a r i e t y   o f   w a y s .   F o r   e x a m p l e :   A   r u n n i n g   k u b e l e t   m i g h t   a u t h e n t i c a t e   u s i n g   c e r t i f i c a t e s . A   u s e r   m i g h t   a u t h e n t i c a t e   u s i n g   t o k e n s . A d m i n i s t r a t o r s   m i g h t   h a v e   s e t s   o f   c e r t i f i c a t e s   t h a t   t h e y   p r o v i d e   t o   i n d i v i d u a l   u s e r s .   W i t h   k u b e c o n f i g   f i l e s ,   y o u   c a n   o r g a n i z e   y o u r   c l u s t e r s ,   u s e r s ,   a n d   n a m e s p a c e s .   Y o u   c a n   a l s o   d e f i n e   c o n t e x t s   t o   q u i c k l y   a n d   e a s i l y   s w i t c h   b e t w e e n   c l u s t e r s   a n d   n a m e s p a c e s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/",
    "id": "k8s_00086_section_2_1479"
  },
  {
    "question": "What is Context?",
    "answer": "A   c o n t e x t   e l e m e n t   i n   a   k u b e c o n f i g   f i l e   i s   u s e d   t o   g r o u p   a c c e s s   p a r a m e t e r s   u n d e r   a   c o n v e n i e n t   n a m e .   E a c h   c o n t e x t   h a s   t h r e e   p a r a m e t e r s :   c l u s t e r ,   n a m e s p a c e ,   a n d   u s e r .   B y   d e f a u l t ,   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   u s e s   p a r a m e t e r s   f r o m   t h e   c u r r e n t   c o n t e x t   t o   c o m m u n i c a t e   w i t h   t h e   c l u s t e r .   T o   c h o o s e   t h e   c u r r e n t   c o n t e x t :   k u b e c t l   c o n f i g   u s e - c o n t e x t",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/",
    "id": "k8s_00086_section_2_1480"
  },
  {
    "question": "What is The KUBECONFIG environment variable?",
    "answer": "T h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   h o l d s   a   l i s t   o f   k u b e c o n f i g   f i l e s .   F o r   L i n u x   a n d   M a c ,   t h e   l i s t   i s   c o l o n - d e l i m i t e d .   F o r   W i n d o w s ,   t h e   l i s t   i s   s e m i c o l o n - d e l i m i t e d .   T h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   i s   n o t   r e q u i r e d .   I f   t h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   d o e s n ' t   e x i s t ,   k u b e c t l   u s e s   t h e   d e f a u l t   k u b e c o n f i g   f i l e ,   $ H O M E / . k u b e / c o n f i g .   I f   t h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   d o e s   e x i s t ,   k u b e c t l   u s e s   a n   e f f e c t i v e   c o n f i g u r a t i o n   t h a t   i s   t h e   r e s u l t   o f   m e r g i n g   t h e   f i l e s   l i s t e d   i n   t h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/",
    "id": "k8s_00086_section_2_1481"
  },
  {
    "question": "What is Merging kubeconfig files?",
    "answer": "T o   s e e   y o u r   c o n f i g u r a t i o n ,   e n t e r   t h i s   c o m m a n d :   k u b e c t l   c o n f i g   v i e w   A s   d e s c r i b e d   p r e v i o u s l y ,   t h e   o u t p u t   m i g h t   b e   f r o m   a   s i n g l e   k u b e c o n f i g   f i l e ,   o r   i t   m i g h t   b e   t h e   r e s u l t   o f   m e r g i n g   s e v e r a l   k u b e c o n f i g   f i l e s .   H e r e   a r e   t h e   r u l e s   t h a t   k u b e c t l   u s e s   w h e n   i t   m e r g e s   k u b e c o n f i g   f i l e s :   I f   t h e   - - k u b e c o n f i g   f l a g   i s   s e t ,   u s e   o n l y   t h e   s p e c i f i e d   f i l e .   D o   n o t   m e r g e .   O n l y   o n e   i n s t a n c e   o f   t h i s   f l a g   i s   a l l o w e d . O t h e r w i s e ,   i f   t h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   i s   s e t ,   u s e   i t   a s   a   l i s t   o f   f i l e s   t h a t   s h o u l d   b e   m e r g e d .   M e r g e   t h e   f i l e s   l i s t e d   i n   t h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   a c c o r d i n g   t o   t h e s e   r u l e s : I g n o r e   e m p t y   f i l e n a m e s . P r o d u c e   e r r o r s   f o r   f i l e s   w i t h   c o n t e n t   t h a t   c a n n o t   b e   d e s e r i a l i z e d . T h e   f i r s t   f i l e   t o   s e t   a   p a r t i c u l a r   v a l u e   o r   m a p   k e y   w i n s . N e v e r   c h a n g e   t h e   v a l u e   o r   m a p   k e y .   E x a m p l e :   P r e s e r v e   t h e   c o n t e x t   o f   t h e   f i r s t   f i l e   t o   s e t   c u r r e n t - c o n t e x t .   E x a m p l e :   I f   t w o   f i l e s   s p e c i f y   a   r e d - u s e r ,   u s e   o n l y   v a l u e s   f r o m   t h e   f i r s t   f i l e ' s   r e d - u s e r .   E v e n   i f   t h e   s e c o n d   f i l e   h a s   n o n - c o n f l i c t i n g   e n t r i e s   u n d e r   r e d - u s e r ,   d ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/",
    "id": "k8s_00086_section_2_1482"
  },
  {
    "question": "What is File references?",
    "answer": "F i l e   a n d   p a t h   r e f e r e n c e s   i n   a   k u b e c o n f i g   f i l e   a r e   r e l a t i v e   t o   t h e   l o c a t i o n   o f   t h e   k u b e c o n f i g   f i l e .   F i l e   r e f e r e n c e s   o n   t h e   c o m m a n d   l i n e   a r e   r e l a t i v e   t o   t h e   c u r r e n t   w o r k i n g   d i r e c t o r y .   I n   $ H O M E / . k u b e / c o n f i g ,   r e l a t i v e   p a t h s   a r e   s t o r e d   r e l a t i v e l y ,   a n d   a b s o l u t e   p a t h s   a r e   s t o r e d   a b s o l u t e l y .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/",
    "id": "k8s_00086_section_2_1483"
  },
  {
    "question": "What is Proxy?",
    "answer": "Y o u   c a n   c o n f i g u r e   k u b e c t l   t o   u s e   a   p r o x y   p e r   c l u s t e r   u s i n g   p r o x y - u r l   i n   y o u r   k u b e c o n f i g   f i l e ,   l i k e   t h i s :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g   c l u s t e r s :   -   c l u s t e r :   p r o x y - u r l :   h t t p : / / p r o x y . e x a m p l e . o r g : 3 1 2 8   s e r v e r :   h t t p s : / / k 8 s . e x a m p l e . o r g / k 8 s / c l u s t e r s / c - x x y y z z   n a m e :   d e v e l o p m e n t   u s e r s :   -   n a m e :   d e v e l o p e r   c o n t e x t s :   -   c o n t e x t :   n a m e :   d e v e l o p m e n t",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/",
    "id": "k8s_00086_section_2_1484"
  },
  {
    "question": "What is What's next?",
    "answer": "C o n f i g u r e   A c c e s s   t o   M u l t i p l e   C l u s t e r s k u b e c t l   c o n f i g",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/",
    "id": "k8s_00086_section_2_1485"
  },
  {
    "question": "What is Resource Management for Windows nodes?",
    "answer": "Resource Management for Windows nodesThis page outlines the differences in how resources are managed between Linux and Windows.On Linux nodes, cgroups are used as a pod boundary for resource control. Containers are created within that boundary for network, process and file system isolation. The Linux cgroup APIs can be used to gather CPU, I/O, and memory use statistics.In contrast, Windows uses a job object per container with a system namespace filter to contain all processes in a container and provide logical isolation from the host. (Job objects are a Windows process isolation mechanism and are different from what Kubernetes refers to as a Job).There is no way to run a Windows container without the namespace filtering in place. This means that system privileges cannot be asserted in the context of the host, and thus privileged containers are not available on Windows. Containers cannot assume an identity from the host because the Security Account Manager (SAM) is separate.Memory managementWindows does not have an out-of-memory process killer as Linux does. Windows always treats all user-mode memory allocations as virtual, and pagefiles are mandatory.Windows nodes do not overcommit memory for processes. The net effect is that Windows won't reach out of memory conditions the same way Linux does, and processes page to disk instead of being subject to out of memory (OOM) termination. If memory is over-provisioned and all physical memory is exhausted, then paging can slow down performance.CPU managementWindows can limit the amount of CPU time allocated for different processes but cannot guarantee a minimum amount of CPU time.On Windows, the kubelet supports a command-line flag to set the scheduling priority of the kubelet process: --windows-priorityclass. This flag allows the kubelet process to get more CPU time slices when compared to other processes running on the Windows host. More information on the allowable values and their meaning is available at Windows Priority Classes. To ensure that running Pods do not starve the kubelet of CPU cycles, set this flag to ABOVE_NORMAL_PRIORITY_CLASS or above.Resource reservationTo account for memory and CPU used by the operating system, the container runtime, and by Kubernetes host processes such as the kubelet, you can (and should) reserve memory and CPU resources with the --kube-reserved and/or --system-reserved kubelet flags. On Windows these values are only used to calculate the node's allocatable resources.Caution:As you deploy workloads, set resource memory and CPU limits on containers. This also subtracts from NodeAllocatable and helps the cluster-wide scheduler in determining which pods to place on which nodes.Scheduling pods without limits may over-provision the Windows nodes and in extreme cases can cause the nodes to become unhealthy.On Windows, a good practice is to reserve at least 2GiB of memory.To determine how much CPU to reserve, identify the maximum pod density for each node and monitor the ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/windows-resource-management/",
    "id": "k8s_00087_qa_1486"
  },
  {
    "question": "How does Resource Management for Windows nodes work?",
    "answer": "Resource Management for Windows nodesThis page outlines the differences in how resources are managed between Linux and Windows.On Linux nodes, cgroups are used as a pod boundary for resource control. Containers are created within that boundary for network, process and file system isolation. The Linux cgroup APIs can be used to gather CPU, I/O, and memory use statistics.In contrast, Windows uses a job object per container with a system namespace filter to contain all processes in a container and provide logical isolation from the host. (Job objects are a Windows process isolation mechanism and are different from what Kubernetes refers to as a Job).There is no way to run a Windows container without the namespace filtering in place. This means that system privileges cannot be asserted in the context of the host, and thus privileged containers are not available on Windows. Containers cannot assume an identity from the host because the Security Account Manager (SAM) is separate.Memory managementWindows does not have an out-of-memory process killer as Linux does. Windows always treats all user-mode memory allocations as virtual, and pagefiles are mandatory.Windows nodes do not overcommit memory for processes. The net effect is that Windows won't reach out of memory conditions the same way Linux does, and processes page to disk instead of being subject to out of memory (OOM) termination. If memory is over-provisioned and all physical memory is exhausted, then paging can slow down performance.CPU managementWindows can limit the amount of CPU time allocated for different processes but cannot guarantee a minimum amount of CPU time.On Windows, the kubelet supports a command-line flag to set the scheduling priority of the kubelet process: --windows-priorityclass. This flag allows the kubelet process to get more CPU time slices when compared to other processes running on the Windows host. More information on the allowable values and their meaning is available at Windows Priority Classes. To ensure that running Pods do not starve the kubelet of CPU cycles, set this flag to ABOVE_NORMAL_PRIORITY_CLASS or above.Resource reservationTo account for memory and CPU used by the operating system, the container runtime, and by Kubernetes host processes such as the kubelet, you can (and should) reserve memory and CPU resources with the --kube-reserved and/or --system-reserved kubelet flags. On Windows these values are only used to calculate the node's allocatable resources.Caution:As you deploy workloads, set resource memory and CPU limits on containers. This also subtracts from NodeAllocatable and helps the cluster-wide scheduler in determining which pods to place on which nodes.Scheduling pods without limits may over-provision the Windows nodes and in extreme cases can cause the nodes to become unhealthy.On Windows, a good practice is to reserve at least 2GiB of memory.To determine how much CPU to reserve, identify the maximum pod density for each node and monitor the ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/windows-resource-management/",
    "id": "k8s_00087_qa_1487"
  },
  {
    "question": "When would you use Resource Management for Windows nodes?",
    "answer": "Resource Management for Windows nodesThis page outlines the differences in how resources are managed between Linux and Windows.On Linux nodes, cgroups are used as a pod boundary for resource control. Containers are created within that boundary for network, process and file system isolation. The Linux cgroup APIs can be used to gather CPU, I/O, and memory use statistics.In contrast, Windows uses a job object per container with a system namespace filter to contain all processes in a container and provide logical isolation from the host. (Job objects are a Windows process isolation mechanism and are different from what Kubernetes refers to as a Job).There is no way to run a Windows container without the namespace filtering in place. This means that system privileges cannot be asserted in the context of the host, and thus privileged containers are not available on Windows. Containers cannot assume an identity from the host because the Security Account Manager (SAM) is separate.Memory managementWindows does not have an out-of-memory process killer as Linux does. Windows always treats all user-mode memory allocations as virtual, and pagefiles are mandatory.Windows nodes do not overcommit memory for processes. The net effect is that Windows won't reach out of memory conditions the same way Linux does, and processes page to disk instead of being subject to out of memory (OOM) termination. If memory is over-provisioned and all physical memory is exhausted, then paging can slow down performance.CPU managementWindows can limit the amount of CPU time allocated for different processes but cannot guarantee a minimum amount of CPU time.On Windows, the kubelet supports a command-line flag to set the scheduling priority of the kubelet process: --windows-priorityclass. This flag allows the kubelet process to get more CPU time slices when compared to other processes running on the Windows host. More information on the allowable values and their meaning is available at Windows Priority Classes. To ensure that running Pods do not starve the kubelet of CPU cycles, set this flag to ABOVE_NORMAL_PRIORITY_CLASS or above.Resource reservationTo account for memory and CPU used by the operating system, the container runtime, and by Kubernetes host processes such as the kubelet, you can (and should) reserve memory and CPU resources with the --kube-reserved and/or --system-reserved kubelet flags. On Windows these values are only used to calculate the node's allocatable resources.Caution:As you deploy workloads, set resource memory and CPU limits on containers. This also subtracts from NodeAllocatable and helps the cluster-wide scheduler in determining which pods to place on which nodes.Scheduling pods without limits may over-provision the Windows nodes and in extreme cases can cause the nodes to become unhealthy.On Windows, a good practice is to reserve at least 2GiB of memory.To determine how much CPU to reserve, identify the maximum pod density for each node and monitor the ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/windows-resource-management/",
    "id": "k8s_00087_qa_1488"
  },
  {
    "question": "What are the benefits of Resource Management for Windows nodes?",
    "answer": "Resource Management for Windows nodesThis page outlines the differences in how resources are managed between Linux and Windows.On Linux nodes, cgroups are used as a pod boundary for resource control. Containers are created within that boundary for network, process and file system isolation. The Linux cgroup APIs can be used to gather CPU, I/O, and memory use statistics.In contrast, Windows uses a job object per container with a system namespace filter to contain all processes in a container and provide logical isolation from the host. (Job objects are a Windows process isolation mechanism and are different from what Kubernetes refers to as a Job).There is no way to run a Windows container without the namespace filtering in place. This means that system privileges cannot be asserted in the context of the host, and thus privileged containers are not available on Windows. Containers cannot assume an identity from the host because the Security Account Manager (SAM) is separate.Memory managementWindows does not have an out-of-memory process killer as Linux does. Windows always treats all user-mode memory allocations as virtual, and pagefiles are mandatory.Windows nodes do not overcommit memory for processes. The net effect is that Windows won't reach out of memory conditions the same way Linux does, and processes page to disk instead of being subject to out of memory (OOM) termination. If memory is over-provisioned and all physical memory is exhausted, then paging can slow down performance.CPU managementWindows can limit the amount of CPU time allocated for different processes but cannot guarantee a minimum amount of CPU time.On Windows, the kubelet supports a command-line flag to set the scheduling priority of the kubelet process: --windows-priorityclass. This flag allows the kubelet process to get more CPU time slices when compared to other processes running on the Windows host. More information on the allowable values and their meaning is available at Windows Priority Classes. To ensure that running Pods do not starve the kubelet of CPU cycles, set this flag to ABOVE_NORMAL_PRIORITY_CLASS or above.Resource reservationTo account for memory and CPU used by the operating system, the container runtime, and by Kubernetes host processes such as the kubelet, you can (and should) reserve memory and CPU resources with the --kube-reserved and/or --system-reserved kubelet flags. On Windows these values are only used to calculate the node's allocatable resources.Caution:As you deploy workloads, set resource memory and CPU limits on containers. This also subtracts from NodeAllocatable and helps the cluster-wide scheduler in determining which pods to place on which nodes.Scheduling pods without limits may over-provision the Windows nodes and in extreme cases can cause the nodes to become unhealthy.On Windows, a good practice is to reserve at least 2GiB of memory.To determine how much CPU to reserve, identify the maximum pod density for each node and monitor the ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/windows-resource-management/",
    "id": "k8s_00087_qa_1489"
  },
  {
    "question": "What is Resource Management for Windows nodes?",
    "answer": "T h i s   p a g e   o u t l i n e s   t h e   d i f f e r e n c e s   i n   h o w   r e s o u r c e s   a r e   m a n a g e d   b e t w e e n   L i n u x   a n d   W i n d o w s .   O n   L i n u x   n o d e s ,   c g r o u p s   a r e   u s e d   a s   a   p o d   b o u n d a r y   f o r   r e s o u r c e   c o n t r o l .   C o n t a i n e r s   a r e   c r e a t e d   w i t h i n   t h a t   b o u n d a r y   f o r   n e t w o r k ,   p r o c e s s   a n d   f i l e   s y s t e m   i s o l a t i o n .   T h e   L i n u x   c g r o u p   A P I s   c a n   b e   u s e d   t o   g a t h e r   C P U ,   I / O ,   a n d   m e m o r y   u s e   s t a t i s t i c s .   I n   c o n t r a s t ,   W i n d o w s   u s e s   a   j o b   o b j e c t   p e r   c o n t a i n e r   w i t h   a   s y s t e m   n a m e s p a c e   f i l t e r   t o   c o n t a i n   a l l   p r o c e s s e s   i n   a   c o n t a i n e r   a n d   p r o v i d e   l o g i c a l   i s o l a t i o n   f r o m   t h e   h o s t .   ( J o b   o b j e c t s   a r e   a   W i n d o w s   p r o c e s s   i s o l a t i o n   m e c h a n i s m   a n d   a r e   d i f f e r e n t   f r o m   w h a t   K u b e r n e t e s   r e f e r s   t o   a s   a   J o b ) .   T h e r e   i s   n o   w a y   t o   r u n   a   W i n d o w s   c o n t a i n e r   w i t h o u t   t h e   n a m e s p a c e   f i l t e r i n g   i n   p l a c e .   T h i s   m e a n s   t h a t   s y s t e m   p r i v i l e g e s   c a n n o t   b e   a s s e r t e d   i n   t h e   c o n t e x t   o f   t h e   h o s t ,   a n d   t h u s   p r i v i l e g e d   c o n t a i n e r s   a r e   n o t   a v a i l a b l e   o n   W i n d o w s .   C o n t a i n e r s   c a n n o t   a s s u m e   a n   i d e n t i t y   f r o m   t h e   h o s t   b e c a u s e   t h e   S e c u r i t y   A c c o u n t   M a n a g e r   ( S A M )   i s   s e p a r a t e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/windows-resource-management/",
    "id": "k8s_00087_section_1_1490"
  },
  {
    "question": "What is Memory management?",
    "answer": "W i n d o w s   d o e s   n o t   h a v e   a n   o u t - o f - m e m o r y   p r o c e s s   k i l l e r   a s   L i n u x   d o e s .   W i n d o w s   a l w a y s   t r e a t s   a l l   u s e r - m o d e   m e m o r y   a l l o c a t i o n s   a s   v i r t u a l ,   a n d   p a g e f i l e s   a r e   m a n d a t o r y .   W i n d o w s   n o d e s   d o   n o t   o v e r c o m m i t   m e m o r y   f o r   p r o c e s s e s .   T h e   n e t   e f f e c t   i s   t h a t   W i n d o w s   w o n ' t   r e a c h   o u t   o f   m e m o r y   c o n d i t i o n s   t h e   s a m e   w a y   L i n u x   d o e s ,   a n d   p r o c e s s e s   p a g e   t o   d i s k   i n s t e a d   o f   b e i n g   s u b j e c t   t o   o u t   o f   m e m o r y   ( O O M )   t e r m i n a t i o n .   I f   m e m o r y   i s   o v e r - p r o v i s i o n e d   a n d   a l l   p h y s i c a l   m e m o r y   i s   e x h a u s t e d ,   t h e n   p a g i n g   c a n   s l o w   d o w n   p e r f o r m a n c e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/windows-resource-management/",
    "id": "k8s_00087_section_2_1491"
  },
  {
    "question": "What is CPU management?",
    "answer": "W i n d o w s   c a n   l i m i t   t h e   a m o u n t   o f   C P U   t i m e   a l l o c a t e d   f o r   d i f f e r e n t   p r o c e s s e s   b u t   c a n n o t   g u a r a n t e e   a   m i n i m u m   a m o u n t   o f   C P U   t i m e .   O n   W i n d o w s ,   t h e   k u b e l e t   s u p p o r t s   a   c o m m a n d - l i n e   f l a g   t o   s e t   t h e   s c h e d u l i n g   p r i o r i t y   o f   t h e   k u b e l e t   p r o c e s s :   - - w i n d o w s - p r i o r i t y c l a s s .   T h i s   f l a g   a l l o w s   t h e   k u b e l e t   p r o c e s s   t o   g e t   m o r e   C P U   t i m e   s l i c e s   w h e n   c o m p a r e d   t o   o t h e r   p r o c e s s e s   r u n n i n g   o n   t h e   W i n d o w s   h o s t .   M o r e   i n f o r m a t i o n   o n   t h e   a l l o w a b l e   v a l u e s   a n d   t h e i r   m e a n i n g   i s   a v a i l a b l e   a t   W i n d o w s   P r i o r i t y   C l a s s e s .   T o   e n s u r e   t h a t   r u n n i n g   P o d s   d o   n o t   s t a r v e   t h e   k u b e l e t   o f   C P U   c y c l e s ,   s e t   t h i s   f l a g   t o   A B O V E _ N O R M A L _ P R I O R I T Y _ C L A S S   o r   a b o v e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/windows-resource-management/",
    "id": "k8s_00087_section_2_1492"
  },
  {
    "question": "What is Resource reservation?",
    "answer": "T o   a c c o u n t   f o r   m e m o r y   a n d   C P U   u s e d   b y   t h e   o p e r a t i n g   s y s t e m ,   t h e   c o n t a i n e r   r u n t i m e ,   a n d   b y   K u b e r n e t e s   h o s t   p r o c e s s e s   s u c h   a s   t h e   k u b e l e t ,   y o u   c a n   ( a n d   s h o u l d )   r e s e r v e   m e m o r y   a n d   C P U   r e s o u r c e s   w i t h   t h e   - - k u b e - r e s e r v e d   a n d / o r   - - s y s t e m - r e s e r v e d   k u b e l e t   f l a g s .   O n   W i n d o w s   t h e s e   v a l u e s   a r e   o n l y   u s e d   t o   c a l c u l a t e   t h e   n o d e ' s   a l l o c a t a b l e   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/windows-resource-management/",
    "id": "k8s_00087_section_2_1493"
  },
  {
    "question": "What is Caution:?",
    "answer": "A s   y o u   d e p l o y   w o r k l o a d s ,   s e t   r e s o u r c e   m e m o r y   a n d   C P U   l i m i t s   o n   c o n t a i n e r s .   T h i s   a l s o   s u b t r a c t s   f r o m   N o d e A l l o c a t a b l e   a n d   h e l p s   t h e   c l u s t e r - w i d e   s c h e d u l e r   i n   d e t e r m i n i n g   w h i c h   p o d s   t o   p l a c e   o n   w h i c h   n o d e s .   S c h e d u l i n g   p o d s   w i t h o u t   l i m i t s   m a y   o v e r - p r o v i s i o n   t h e   W i n d o w s   n o d e s   a n d   i n   e x t r e m e   c a s e s   c a n   c a u s e   t h e   n o d e s   t o   b e c o m e   u n h e a l t h y .   O n   W i n d o w s ,   a   g o o d   p r a c t i c e   i s   t o   r e s e r v e   a t   l e a s t   2 G i B   o f   m e m o r y .   T o   d e t e r m i n e   h o w   m u c h   C P U   t o   r e s e r v e ,   i d e n t i f y   t h e   m a x i m u m   p o d   d e n s i t y   f o r   e a c h   n o d e   a n d   m o n i t o r   t h e   C P U   u s a g e   o f   t h e   s y s t e m   s e r v i c e s   r u n n i n g   t h e r e ,   t h e n   c h o o s e   a   v a l u e   t h a t   m e e t s   y o u r   w o r k l o a d   n e e d s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/windows-resource-management/",
    "id": "k8s_00087_section_4_1494"
  },
  {
    "question": "What is Tools for Monitoring Resources?",
    "answer": "Tools for Monitoring ResourcesTo scale an application and provide a reliable service, you need to understand how the application behaves when it is deployed. You can examine application performance in a Kubernetes cluster by examining the containers, pods, services, and the characteristics of the overall cluster. Kubernetes provides detailed information about an application's resource usage at each of these levels. This information allows you to evaluate your application's performance and where bottlenecks can be removed to improve overall performance.In Kubernetes, application monitoring does not depend on a single monitoring solution. On new clusters, you can use resource metrics or full metrics pipelines to collect monitoring statistics.Resource metrics pipelineThe resource metrics pipeline provides a limited set of metrics related to cluster components such as the Horizontal Pod Autoscaler controller, as well as the kubectl top utility. These metrics are collected by the lightweight, short-term, in-memory metrics-server and are exposed via the metrics.k8s.io API.metrics-server discovers all nodes on the cluster and queries each node's kubelet for CPU and memory usage. The kubelet acts as a bridge between the Kubernetes master and the nodes, managing the pods and containers running on a machine. The kubelet translates each pod into its constituent containers and fetches individual container usage statistics from the container runtime through the container runtime interface. If you use a container runtime that uses Linux cgroups and namespaces to implement containers, and the container runtime does not publish usage statistics, then the kubelet can look up those statistics directly (using code from cAdvisor). No matter how those statistics arrive, the kubelet then exposes the aggregated pod resource usage statistics through the metrics-server Resource Metrics API. This API is served at /metrics/resource/v1beta1 on the kubelet's authenticated and read-only ports.Full metrics pipelineA full metrics pipeline gives you access to richer metrics. Kubernetes can respond to these metrics by automatically scaling or adapting the cluster based on its current state, using mechanisms such as the Horizontal Pod Autoscaler. The monitoring pipeline fetches metrics from the kubelet and then exposes them to Kubernetes via an adapter by implementing either the custom.metrics.k8s.io or external.metrics.k8s.io API.Kubernetes is designed to work with OpenMetrics, which is one of the CNCF Observability and Analysis - Monitoring Projects, built upon and carefully extending Prometheus exposition format in almost 100% backwards-compatible ways.If you glance over at the CNCF Landscape, you can see a number of monitoring projects that can work with Kubernetes by scraping metric data and using that to help you observe your cluster. It is up to you to select the tool or tools that suit your needs. The CNCF landscape for observability and analytics includes a mix of open-so",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/resource-usage-monitoring/",
    "id": "k8s_00088_qa_1495"
  },
  {
    "question": "How does Tools for Monitoring Resources work?",
    "answer": "Tools for Monitoring ResourcesTo scale an application and provide a reliable service, you need to understand how the application behaves when it is deployed. You can examine application performance in a Kubernetes cluster by examining the containers, pods, services, and the characteristics of the overall cluster. Kubernetes provides detailed information about an application's resource usage at each of these levels. This information allows you to evaluate your application's performance and where bottlenecks can be removed to improve overall performance.In Kubernetes, application monitoring does not depend on a single monitoring solution. On new clusters, you can use resource metrics or full metrics pipelines to collect monitoring statistics.Resource metrics pipelineThe resource metrics pipeline provides a limited set of metrics related to cluster components such as the Horizontal Pod Autoscaler controller, as well as the kubectl top utility. These metrics are collected by the lightweight, short-term, in-memory metrics-server and are exposed via the metrics.k8s.io API.metrics-server discovers all nodes on the cluster and queries each node's kubelet for CPU and memory usage. The kubelet acts as a bridge between the Kubernetes master and the nodes, managing the pods and containers running on a machine. The kubelet translates each pod into its constituent containers and fetches individual container usage statistics from the container runtime through the container runtime interface. If you use a container runtime that uses Linux cgroups and namespaces to implement containers, and the container runtime does not publish usage statistics, then the kubelet can look up those statistics directly (using code from cAdvisor). No matter how those statistics arrive, the kubelet then exposes the aggregated pod resource usage statistics through the metrics-server Resource Metrics API. This API is served at /metrics/resource/v1beta1 on the kubelet's authenticated and read-only ports.Full metrics pipelineA full metrics pipeline gives you access to richer metrics. Kubernetes can respond to these metrics by automatically scaling or adapting the cluster based on its current state, using mechanisms such as the Horizontal Pod Autoscaler. The monitoring pipeline fetches metrics from the kubelet and then exposes them to Kubernetes via an adapter by implementing either the custom.metrics.k8s.io or external.metrics.k8s.io API.Kubernetes is designed to work with OpenMetrics, which is one of the CNCF Observability and Analysis - Monitoring Projects, built upon and carefully extending Prometheus exposition format in almost 100% backwards-compatible ways.If you glance over at the CNCF Landscape, you can see a number of monitoring projects that can work with Kubernetes by scraping metric data and using that to help you observe your cluster. It is up to you to select the tool or tools that suit your needs. The CNCF landscape for observability and analytics includes a mix of open-so",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/resource-usage-monitoring/",
    "id": "k8s_00088_qa_1496"
  },
  {
    "question": "When would you use Tools for Monitoring Resources?",
    "answer": "Tools for Monitoring ResourcesTo scale an application and provide a reliable service, you need to understand how the application behaves when it is deployed. You can examine application performance in a Kubernetes cluster by examining the containers, pods, services, and the characteristics of the overall cluster. Kubernetes provides detailed information about an application's resource usage at each of these levels. This information allows you to evaluate your application's performance and where bottlenecks can be removed to improve overall performance.In Kubernetes, application monitoring does not depend on a single monitoring solution. On new clusters, you can use resource metrics or full metrics pipelines to collect monitoring statistics.Resource metrics pipelineThe resource metrics pipeline provides a limited set of metrics related to cluster components such as the Horizontal Pod Autoscaler controller, as well as the kubectl top utility. These metrics are collected by the lightweight, short-term, in-memory metrics-server and are exposed via the metrics.k8s.io API.metrics-server discovers all nodes on the cluster and queries each node's kubelet for CPU and memory usage. The kubelet acts as a bridge between the Kubernetes master and the nodes, managing the pods and containers running on a machine. The kubelet translates each pod into its constituent containers and fetches individual container usage statistics from the container runtime through the container runtime interface. If you use a container runtime that uses Linux cgroups and namespaces to implement containers, and the container runtime does not publish usage statistics, then the kubelet can look up those statistics directly (using code from cAdvisor). No matter how those statistics arrive, the kubelet then exposes the aggregated pod resource usage statistics through the metrics-server Resource Metrics API. This API is served at /metrics/resource/v1beta1 on the kubelet's authenticated and read-only ports.Full metrics pipelineA full metrics pipeline gives you access to richer metrics. Kubernetes can respond to these metrics by automatically scaling or adapting the cluster based on its current state, using mechanisms such as the Horizontal Pod Autoscaler. The monitoring pipeline fetches metrics from the kubelet and then exposes them to Kubernetes via an adapter by implementing either the custom.metrics.k8s.io or external.metrics.k8s.io API.Kubernetes is designed to work with OpenMetrics, which is one of the CNCF Observability and Analysis - Monitoring Projects, built upon and carefully extending Prometheus exposition format in almost 100% backwards-compatible ways.If you glance over at the CNCF Landscape, you can see a number of monitoring projects that can work with Kubernetes by scraping metric data and using that to help you observe your cluster. It is up to you to select the tool or tools that suit your needs. The CNCF landscape for observability and analytics includes a mix of open-so",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/resource-usage-monitoring/",
    "id": "k8s_00088_qa_1497"
  },
  {
    "question": "What are the benefits of Tools for Monitoring Resources?",
    "answer": "Tools for Monitoring ResourcesTo scale an application and provide a reliable service, you need to understand how the application behaves when it is deployed. You can examine application performance in a Kubernetes cluster by examining the containers, pods, services, and the characteristics of the overall cluster. Kubernetes provides detailed information about an application's resource usage at each of these levels. This information allows you to evaluate your application's performance and where bottlenecks can be removed to improve overall performance.In Kubernetes, application monitoring does not depend on a single monitoring solution. On new clusters, you can use resource metrics or full metrics pipelines to collect monitoring statistics.Resource metrics pipelineThe resource metrics pipeline provides a limited set of metrics related to cluster components such as the Horizontal Pod Autoscaler controller, as well as the kubectl top utility. These metrics are collected by the lightweight, short-term, in-memory metrics-server and are exposed via the metrics.k8s.io API.metrics-server discovers all nodes on the cluster and queries each node's kubelet for CPU and memory usage. The kubelet acts as a bridge between the Kubernetes master and the nodes, managing the pods and containers running on a machine. The kubelet translates each pod into its constituent containers and fetches individual container usage statistics from the container runtime through the container runtime interface. If you use a container runtime that uses Linux cgroups and namespaces to implement containers, and the container runtime does not publish usage statistics, then the kubelet can look up those statistics directly (using code from cAdvisor). No matter how those statistics arrive, the kubelet then exposes the aggregated pod resource usage statistics through the metrics-server Resource Metrics API. This API is served at /metrics/resource/v1beta1 on the kubelet's authenticated and read-only ports.Full metrics pipelineA full metrics pipeline gives you access to richer metrics. Kubernetes can respond to these metrics by automatically scaling or adapting the cluster based on its current state, using mechanisms such as the Horizontal Pod Autoscaler. The monitoring pipeline fetches metrics from the kubelet and then exposes them to Kubernetes via an adapter by implementing either the custom.metrics.k8s.io or external.metrics.k8s.io API.Kubernetes is designed to work with OpenMetrics, which is one of the CNCF Observability and Analysis - Monitoring Projects, built upon and carefully extending Prometheus exposition format in almost 100% backwards-compatible ways.If you glance over at the CNCF Landscape, you can see a number of monitoring projects that can work with Kubernetes by scraping metric data and using that to help you observe your cluster. It is up to you to select the tool or tools that suit your needs. The CNCF landscape for observability and analytics includes a mix of open-so",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/resource-usage-monitoring/",
    "id": "k8s_00088_qa_1498"
  },
  {
    "question": "What is Tools for Monitoring Resources?",
    "answer": "T o   s c a l e   a n   a p p l i c a t i o n   a n d   p r o v i d e   a   r e l i a b l e   s e r v i c e ,   y o u   n e e d   t o   u n d e r s t a n d   h o w   t h e   a p p l i c a t i o n   b e h a v e s   w h e n   i t   i s   d e p l o y e d .   Y o u   c a n   e x a m i n e   a p p l i c a t i o n   p e r f o r m a n c e   i n   a   K u b e r n e t e s   c l u s t e r   b y   e x a m i n i n g   t h e   c o n t a i n e r s ,   p o d s ,   s e r v i c e s ,   a n d   t h e   c h a r a c t e r i s t i c s   o f   t h e   o v e r a l l   c l u s t e r .   K u b e r n e t e s   p r o v i d e s   d e t a i l e d   i n f o r m a t i o n   a b o u t   a n   a p p l i c a t i o n ' s   r e s o u r c e   u s a g e   a t   e a c h   o f   t h e s e   l e v e l s .   T h i s   i n f o r m a t i o n   a l l o w s   y o u   t o   e v a l u a t e   y o u r   a p p l i c a t i o n ' s   p e r f o r m a n c e   a n d   w h e r e   b o t t l e n e c k s   c a n   b e   r e m o v e d   t o   i m p r o v e   o v e r a l l   p e r f o r m a n c e .   I n   K u b e r n e t e s ,   a p p l i c a t i o n   m o n i t o r i n g   d o e s   n o t   d e p e n d   o n   a   s i n g l e   m o n i t o r i n g   s o l u t i o n .   O n   n e w   c l u s t e r s ,   y o u   c a n   u s e   r e s o u r c e   m e t r i c s   o r   f u l l   m e t r i c s   p i p e l i n e s   t o   c o l l e c t   m o n i t o r i n g   s t a t i s t i c s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/resource-usage-monitoring/",
    "id": "k8s_00088_section_1_1499"
  },
  {
    "question": "What is Resource metrics pipeline?",
    "answer": "T h e   r e s o u r c e   m e t r i c s   p i p e l i n e   p r o v i d e s   a   l i m i t e d   s e t   o f   m e t r i c s   r e l a t e d   t o   c l u s t e r   c o m p o n e n t s   s u c h   a s   t h e   H o r i z o n t a l   P o d   A u t o s c a l e r   c o n t r o l l e r ,   a s   w e l l   a s   t h e   k u b e c t l   t o p   u t i l i t y .   T h e s e   m e t r i c s   a r e   c o l l e c t e d   b y   t h e   l i g h t w e i g h t ,   s h o r t - t e r m ,   i n - m e m o r y   m e t r i c s - s e r v e r   a n d   a r e   e x p o s e d   v i a   t h e   m e t r i c s . k 8 s . i o   A P I .   m e t r i c s - s e r v e r   d i s c o v e r s   a l l   n o d e s   o n   t h e   c l u s t e r   a n d   q u e r i e s   e a c h   n o d e ' s   k u b e l e t   f o r   C P U   a n d   m e m o r y   u s a g e .   T h e   k u b e l e t   a c t s   a s   a   b r i d g e   b e t w e e n   t h e   K u b e r n e t e s   m a s t e r   a n d   t h e   n o d e s ,   m a n a g i n g   t h e   p o d s   a n d   c o n t a i n e r s   r u n n i n g   o n   a   m a c h i n e .   T h e   k u b e l e t   t r a n s l a t e s   e a c h   p o d   i n t o   i t s   c o n s t i t u e n t   c o n t a i n e r s   a n d   f e t c h e s   i n d i v i d u a l   c o n t a i n e r   u s a g e   s t a t i s t i c s   f r o m   t h e   c o n t a i n e r   r u n t i m e   t h r o u g h   t h e   c o n t a i n e r   r u n t i m e   i n t e r f a c e .   I f   y o u   u s e   a   c o n t a i n e r   r u n t i m e   t h a t   u s e s   L i n u x   c g r o u p s   a n d   n a m e s p a c e s   t o   i m p l e m e n t   c o n t a i n e r s ,   a n d   t h e   c o n t a i n e r   r u n t i m e   d o e s   n o t   p u b l i s h   u s a g e   s t a t i s t i c s ,   t h e n   t h e   k u b e l e t   c a n   l o o k   u p   t h o s e   s t a t i s t i c s   d i r e c t l y   ( u s i n g   c o d e   f r o m   c A d v i s o r ) .   N o   m a t t e r   h o w   t h o s e   s t a t i s t i c s   a r ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/resource-usage-monitoring/",
    "id": "k8s_00088_section_2_1500"
  },
  {
    "question": "What is Full metrics pipeline?",
    "answer": "A   f u l l   m e t r i c s   p i p e l i n e   g i v e s   y o u   a c c e s s   t o   r i c h e r   m e t r i c s .   K u b e r n e t e s   c a n   r e s p o n d   t o   t h e s e   m e t r i c s   b y   a u t o m a t i c a l l y   s c a l i n g   o r   a d a p t i n g   t h e   c l u s t e r   b a s e d   o n   i t s   c u r r e n t   s t a t e ,   u s i n g   m e c h a n i s m s   s u c h   a s   t h e   H o r i z o n t a l   P o d   A u t o s c a l e r .   T h e   m o n i t o r i n g   p i p e l i n e   f e t c h e s   m e t r i c s   f r o m   t h e   k u b e l e t   a n d   t h e n   e x p o s e s   t h e m   t o   K u b e r n e t e s   v i a   a n   a d a p t e r   b y   i m p l e m e n t i n g   e i t h e r   t h e   c u s t o m . m e t r i c s . k 8 s . i o   o r   e x t e r n a l . m e t r i c s . k 8 s . i o   A P I .   K u b e r n e t e s   i s   d e s i g n e d   t o   w o r k   w i t h   O p e n M e t r i c s ,   w h i c h   i s   o n e   o f   t h e   C N C F   O b s e r v a b i l i t y   a n d   A n a l y s i s   -   M o n i t o r i n g   P r o j e c t s ,   b u i l t   u p o n   a n d   c a r e f u l l y   e x t e n d i n g   P r o m e t h e u s   e x p o s i t i o n   f o r m a t   i n   a l m o s t   1 0 0 %   b a c k w a r d s - c o m p a t i b l e   w a y s .   I f   y o u   g l a n c e   o v e r   a t   t h e   C N C F   L a n d s c a p e ,   y o u   c a n   s e e   a   n u m b e r   o f   m o n i t o r i n g   p r o j e c t s   t h a t   c a n   w o r k   w i t h   K u b e r n e t e s   b y   s c r a p i n g   m e t r i c   d a t a   a n d   u s i n g   t h a t   t o   h e l p   y o u   o b s e r v e   y o u r   c l u s t e r .   I t   i s   u p   t o   y o u   t o   s e l e c t   t h e   t o o l   o r   t o o l s   t h a t   s u i t   y o u r   n e e d s .   T h e   C N C F   l a n d s c a p e   f o r   o b s e r v a b i l i t y   a n d   a n a l y t i c s   i n c l u d e s   a   m i x   o f   o p e n - s o u r c e   s o f t w a r e ,   p a ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/resource-usage-monitoring/",
    "id": "k8s_00088_section_2_1501"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   a d d i t i o n a l   d e b u g g i n g   t o o l s ,   i n c l u d i n g :   L o g g i n g G e t t i n g   i n t o   c o n t a i n e r s   v i a   e x e c C o n n e c t i n g   t o   c o n t a i n e r s   v i a   p r o x i e s C o n n e c t i n g   t o   c o n t a i n e r s   v i a   p o r t   f o r w a r d i n g I n s p e c t   K u b e r n e t e s   n o d e   w i t h   c r i c t l",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/resource-usage-monitoring/",
    "id": "k8s_00088_section_2_1502"
  },
  {
    "question": "What is Garbage Collection?",
    "answer": "Garbage CollectionGarbage collection is a collective term for the various mechanisms Kubernetes uses to clean up cluster resources. This allows the clean up of resources like the following:Terminated podsCompleted JobsObjects without owner referencesUnused containers and container imagesDynamically provisioned PersistentVolumes with a StorageClass reclaim policy of DeleteStale or expired CertificateSigningRequests (CSRs)Nodes deleted in the following scenarios:On a cloud when the cluster uses a cloud controller managerOn-premises when the cluster uses an addon similar to a cloud controller managerNode Lease objectsOwners and dependentsMany objects in Kubernetes link to each other through owner references. Owner references tell the control plane which objects are dependent on others. Kubernetes uses owner references to give the control plane, and other API clients, the opportunity to clean up related resources before deleting an object. In most cases, Kubernetes manages owner references automatically.Ownership is different from the labels and selectors mechanism that some resources also use. For example, consider a Service that creates EndpointSlice objects. The Service uses labels to allow the control plane to determine which EndpointSlice objects are used for that Service. In addition to the labels, each EndpointSlice that is managed on behalf of a Service has an owner reference. Owner references help different parts of Kubernetes avoid interfering with objects they don’t control.Note:Cross-namespace owner references are disallowed by design. Namespaced dependents can specify cluster-scoped or namespaced owners. A namespaced owner must exist in the same namespace as the dependent. If it does not, the owner reference is treated as absent, and the dependent is subject to deletion once all owners are verified absent.Cluster-scoped dependents can only specify cluster-scoped owners. In v1.20+, if a cluster-scoped dependent specifies a namespaced kind as an owner, it is treated as having an unresolvable owner reference, and is not able to be garbage collected.In v1.20+, if the garbage collector detects an invalid cross-namespace ownerReference, or a cluster-scoped dependent with an ownerReference referencing a namespaced kind, a warning Event with a reason of OwnerRefInvalidNamespace and an involvedObject of the invalid dependent is reported. You can check for that kind of Event by running kubectl get events -A --field-selector=reason=OwnerRefInvalidNamespace.Cascading deletionKubernetes checks for and deletes objects that no longer have owner references, like the pods left behind when you delete a ReplicaSet. When you delete an object, you can control whether Kubernetes deletes the object's dependents automatically, in a process called cascading deletion. There are two types of cascading deletion, as follows:Foreground cascading deletionBackground cascading deletionYou can also control how and when garbage collection deletes resources that have owner",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/garbage-collection/",
    "id": "k8s_00089_qa_1503"
  },
  {
    "question": "How does Garbage Collection work?",
    "answer": "Garbage CollectionGarbage collection is a collective term for the various mechanisms Kubernetes uses to clean up cluster resources. This allows the clean up of resources like the following:Terminated podsCompleted JobsObjects without owner referencesUnused containers and container imagesDynamically provisioned PersistentVolumes with a StorageClass reclaim policy of DeleteStale or expired CertificateSigningRequests (CSRs)Nodes deleted in the following scenarios:On a cloud when the cluster uses a cloud controller managerOn-premises when the cluster uses an addon similar to a cloud controller managerNode Lease objectsOwners and dependentsMany objects in Kubernetes link to each other through owner references. Owner references tell the control plane which objects are dependent on others. Kubernetes uses owner references to give the control plane, and other API clients, the opportunity to clean up related resources before deleting an object. In most cases, Kubernetes manages owner references automatically.Ownership is different from the labels and selectors mechanism that some resources also use. For example, consider a Service that creates EndpointSlice objects. The Service uses labels to allow the control plane to determine which EndpointSlice objects are used for that Service. In addition to the labels, each EndpointSlice that is managed on behalf of a Service has an owner reference. Owner references help different parts of Kubernetes avoid interfering with objects they don’t control.Note:Cross-namespace owner references are disallowed by design. Namespaced dependents can specify cluster-scoped or namespaced owners. A namespaced owner must exist in the same namespace as the dependent. If it does not, the owner reference is treated as absent, and the dependent is subject to deletion once all owners are verified absent.Cluster-scoped dependents can only specify cluster-scoped owners. In v1.20+, if a cluster-scoped dependent specifies a namespaced kind as an owner, it is treated as having an unresolvable owner reference, and is not able to be garbage collected.In v1.20+, if the garbage collector detects an invalid cross-namespace ownerReference, or a cluster-scoped dependent with an ownerReference referencing a namespaced kind, a warning Event with a reason of OwnerRefInvalidNamespace and an involvedObject of the invalid dependent is reported. You can check for that kind of Event by running kubectl get events -A --field-selector=reason=OwnerRefInvalidNamespace.Cascading deletionKubernetes checks for and deletes objects that no longer have owner references, like the pods left behind when you delete a ReplicaSet. When you delete an object, you can control whether Kubernetes deletes the object's dependents automatically, in a process called cascading deletion. There are two types of cascading deletion, as follows:Foreground cascading deletionBackground cascading deletionYou can also control how and when garbage collection deletes resources that have owner",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/garbage-collection/",
    "id": "k8s_00089_qa_1504"
  },
  {
    "question": "When would you use Garbage Collection?",
    "answer": "Garbage CollectionGarbage collection is a collective term for the various mechanisms Kubernetes uses to clean up cluster resources. This allows the clean up of resources like the following:Terminated podsCompleted JobsObjects without owner referencesUnused containers and container imagesDynamically provisioned PersistentVolumes with a StorageClass reclaim policy of DeleteStale or expired CertificateSigningRequests (CSRs)Nodes deleted in the following scenarios:On a cloud when the cluster uses a cloud controller managerOn-premises when the cluster uses an addon similar to a cloud controller managerNode Lease objectsOwners and dependentsMany objects in Kubernetes link to each other through owner references. Owner references tell the control plane which objects are dependent on others. Kubernetes uses owner references to give the control plane, and other API clients, the opportunity to clean up related resources before deleting an object. In most cases, Kubernetes manages owner references automatically.Ownership is different from the labels and selectors mechanism that some resources also use. For example, consider a Service that creates EndpointSlice objects. The Service uses labels to allow the control plane to determine which EndpointSlice objects are used for that Service. In addition to the labels, each EndpointSlice that is managed on behalf of a Service has an owner reference. Owner references help different parts of Kubernetes avoid interfering with objects they don’t control.Note:Cross-namespace owner references are disallowed by design. Namespaced dependents can specify cluster-scoped or namespaced owners. A namespaced owner must exist in the same namespace as the dependent. If it does not, the owner reference is treated as absent, and the dependent is subject to deletion once all owners are verified absent.Cluster-scoped dependents can only specify cluster-scoped owners. In v1.20+, if a cluster-scoped dependent specifies a namespaced kind as an owner, it is treated as having an unresolvable owner reference, and is not able to be garbage collected.In v1.20+, if the garbage collector detects an invalid cross-namespace ownerReference, or a cluster-scoped dependent with an ownerReference referencing a namespaced kind, a warning Event with a reason of OwnerRefInvalidNamespace and an involvedObject of the invalid dependent is reported. You can check for that kind of Event by running kubectl get events -A --field-selector=reason=OwnerRefInvalidNamespace.Cascading deletionKubernetes checks for and deletes objects that no longer have owner references, like the pods left behind when you delete a ReplicaSet. When you delete an object, you can control whether Kubernetes deletes the object's dependents automatically, in a process called cascading deletion. There are two types of cascading deletion, as follows:Foreground cascading deletionBackground cascading deletionYou can also control how and when garbage collection deletes resources that have owner",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/garbage-collection/",
    "id": "k8s_00089_qa_1505"
  },
  {
    "question": "What are the benefits of Garbage Collection?",
    "answer": "Garbage CollectionGarbage collection is a collective term for the various mechanisms Kubernetes uses to clean up cluster resources. This allows the clean up of resources like the following:Terminated podsCompleted JobsObjects without owner referencesUnused containers and container imagesDynamically provisioned PersistentVolumes with a StorageClass reclaim policy of DeleteStale or expired CertificateSigningRequests (CSRs)Nodes deleted in the following scenarios:On a cloud when the cluster uses a cloud controller managerOn-premises when the cluster uses an addon similar to a cloud controller managerNode Lease objectsOwners and dependentsMany objects in Kubernetes link to each other through owner references. Owner references tell the control plane which objects are dependent on others. Kubernetes uses owner references to give the control plane, and other API clients, the opportunity to clean up related resources before deleting an object. In most cases, Kubernetes manages owner references automatically.Ownership is different from the labels and selectors mechanism that some resources also use. For example, consider a Service that creates EndpointSlice objects. The Service uses labels to allow the control plane to determine which EndpointSlice objects are used for that Service. In addition to the labels, each EndpointSlice that is managed on behalf of a Service has an owner reference. Owner references help different parts of Kubernetes avoid interfering with objects they don’t control.Note:Cross-namespace owner references are disallowed by design. Namespaced dependents can specify cluster-scoped or namespaced owners. A namespaced owner must exist in the same namespace as the dependent. If it does not, the owner reference is treated as absent, and the dependent is subject to deletion once all owners are verified absent.Cluster-scoped dependents can only specify cluster-scoped owners. In v1.20+, if a cluster-scoped dependent specifies a namespaced kind as an owner, it is treated as having an unresolvable owner reference, and is not able to be garbage collected.In v1.20+, if the garbage collector detects an invalid cross-namespace ownerReference, or a cluster-scoped dependent with an ownerReference referencing a namespaced kind, a warning Event with a reason of OwnerRefInvalidNamespace and an involvedObject of the invalid dependent is reported. You can check for that kind of Event by running kubectl get events -A --field-selector=reason=OwnerRefInvalidNamespace.Cascading deletionKubernetes checks for and deletes objects that no longer have owner references, like the pods left behind when you delete a ReplicaSet. When you delete an object, you can control whether Kubernetes deletes the object's dependents automatically, in a process called cascading deletion. There are two types of cascading deletion, as follows:Foreground cascading deletionBackground cascading deletionYou can also control how and when garbage collection deletes resources that have owner",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/garbage-collection/",
    "id": "k8s_00089_qa_1506"
  },
  {
    "question": "What is Garbage Collection?",
    "answer": "G a r b a g e   c o l l e c t i o n   i s   a   c o l l e c t i v e   t e r m   f o r   t h e   v a r i o u s   m e c h a n i s m s   K u b e r n e t e s   u s e s   t o   c l e a n   u p   c l u s t e r   r e s o u r c e s .   T h i s   a l l o w s   t h e   c l e a n   u p   o f   r e s o u r c e s   l i k e   t h e   f o l l o w i n g :   T e r m i n a t e d   p o d s C o m p l e t e d   J o b s O b j e c t s   w i t h o u t   o w n e r   r e f e r e n c e s U n u s e d   c o n t a i n e r s   a n d   c o n t a i n e r   i m a g e s D y n a m i c a l l y   p r o v i s i o n e d   P e r s i s t e n t V o l u m e s   w i t h   a   S t o r a g e C l a s s   r e c l a i m   p o l i c y   o f   D e l e t e S t a l e   o r   e x p i r e d   C e r t i f i c a t e S i g n i n g R e q u e s t s   ( C S R s ) N o d e s   d e l e t e d   i n   t h e   f o l l o w i n g   s c e n a r i o s : O n   a   c l o u d   w h e n   t h e   c l u s t e r   u s e s   a   c l o u d   c o n t r o l l e r   m a n a g e r O n - p r e m i s e s   w h e n   t h e   c l u s t e r   u s e s   a n   a d d o n   s i m i l a r   t o   a   c l o u d   c o n t r o l l e r   m a n a g e r N o d e   L e a s e   o b j e c t s   O n   a   c l o u d   w h e n   t h e   c l u s t e r   u s e s   a   c l o u d   c o n t r o l l e r   m a n a g e r O n - p r e m i s e s   w h e n   t h e   c l u s t e r   u s e s   a n   a d d o n   s i m i l a r   t o   a   c l o u d   c o n t r o l l e r   m a n a g e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/garbage-collection/",
    "id": "k8s_00089_section_1_1507"
  },
  {
    "question": "What is Owners and dependents?",
    "answer": "M a n y   o b j e c t s   i n   K u b e r n e t e s   l i n k   t o   e a c h   o t h e r   t h r o u g h   o w n e r   r e f e r e n c e s .   O w n e r   r e f e r e n c e s   t e l l   t h e   c o n t r o l   p l a n e   w h i c h   o b j e c t s   a r e   d e p e n d e n t   o n   o t h e r s .   K u b e r n e t e s   u s e s   o w n e r   r e f e r e n c e s   t o   g i v e   t h e   c o n t r o l   p l a n e ,   a n d   o t h e r   A P I   c l i e n t s ,   t h e   o p p o r t u n i t y   t o   c l e a n   u p   r e l a t e d   r e s o u r c e s   b e f o r e   d e l e t i n g   a n   o b j e c t .   I n   m o s t   c a s e s ,   K u b e r n e t e s   m a n a g e s   o w n e r   r e f e r e n c e s   a u t o m a t i c a l l y .   O w n e r s h i p   i s   d i f f e r e n t   f r o m   t h e   l a b e l s   a n d   s e l e c t o r s   m e c h a n i s m   t h a t   s o m e   r e s o u r c e s   a l s o   u s e .   F o r   e x a m p l e ,   c o n s i d e r   a   S e r v i c e   t h a t   c r e a t e s   E n d p o i n t S l i c e   o b j e c t s .   T h e   S e r v i c e   u s e s   l a b e l s   t o   a l l o w   t h e   c o n t r o l   p l a n e   t o   d e t e r m i n e   w h i c h   E n d p o i n t S l i c e   o b j e c t s   a r e   u s e d   f o r   t h a t   S e r v i c e .   I n   a d d i t i o n   t o   t h e   l a b e l s ,   e a c h   E n d p o i n t S l i c e   t h a t   i s   m a n a g e d   o n   b e h a l f   o f   a   S e r v i c e   h a s   a n   o w n e r   r e f e r e n c e .   O w n e r   r e f e r e n c e s   h e l p   d i f f e r e n t   p a r t s   o f   K u b e r n e t e s   a v o i d   i n t e r f e r i n g   w i t h   o b j e c t s   t h e y   d o n ’ t   c o n t r o l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/garbage-collection/",
    "id": "k8s_00089_section_2_1508"
  },
  {
    "question": "What is Note:?",
    "answer": "C r o s s - n a m e s p a c e   o w n e r   r e f e r e n c e s   a r e   d i s a l l o w e d   b y   d e s i g n .   N a m e s p a c e d   d e p e n d e n t s   c a n   s p e c i f y   c l u s t e r - s c o p e d   o r   n a m e s p a c e d   o w n e r s .   A   n a m e s p a c e d   o w n e r   m u s t   e x i s t   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   d e p e n d e n t .   I f   i t   d o e s   n o t ,   t h e   o w n e r   r e f e r e n c e   i s   t r e a t e d   a s   a b s e n t ,   a n d   t h e   d e p e n d e n t   i s   s u b j e c t   t o   d e l e t i o n   o n c e   a l l   o w n e r s   a r e   v e r i f i e d   a b s e n t .   C l u s t e r - s c o p e d   d e p e n d e n t s   c a n   o n l y   s p e c i f y   c l u s t e r - s c o p e d   o w n e r s .   I n   v 1 . 2 0 + ,   i f   a   c l u s t e r - s c o p e d   d e p e n d e n t   s p e c i f i e s   a   n a m e s p a c e d   k i n d   a s   a n   o w n e r ,   i t   i s   t r e a t e d   a s   h a v i n g   a n   u n r e s o l v a b l e   o w n e r   r e f e r e n c e ,   a n d   i s   n o t   a b l e   t o   b e   g a r b a g e   c o l l e c t e d .   I n   v 1 . 2 0 + ,   i f   t h e   g a r b a g e   c o l l e c t o r   d e t e c t s   a n   i n v a l i d   c r o s s - n a m e s p a c e   o w n e r R e f e r e n c e ,   o r   a   c l u s t e r - s c o p e d   d e p e n d e n t   w i t h   a n   o w n e r R e f e r e n c e   r e f e r e n c i n g   a   n a m e s p a c e d   k i n d ,   a   w a r n i n g   E v e n t   w i t h   a   r e a s o n   o f   O w n e r R e f I n v a l i d N a m e s p a c e   a n d   a n   i n v o l v e d O b j e c t   o f   t h e   i n v a l i d   d e p e n d e n t   i s   r e p o r t e d .   Y o u   c a n   c h e c k   f o r   t h a t   k i n d   o f   E v e n t   b y   r u n n i n g   k u b e c t l   g e t   e v e n t s   - A   - - f i e l d - s e l e c t o r = r e a s o n = O w n e r R e f I n v a l i d N a m e s p a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/garbage-collection/",
    "id": "k8s_00089_section_4_1509"
  },
  {
    "question": "What is Cascading deletion?",
    "answer": "K u b e r n e t e s   c h e c k s   f o r   a n d   d e l e t e s   o b j e c t s   t h a t   n o   l o n g e r   h a v e   o w n e r   r e f e r e n c e s ,   l i k e   t h e   p o d s   l e f t   b e h i n d   w h e n   y o u   d e l e t e   a   R e p l i c a S e t .   W h e n   y o u   d e l e t e   a n   o b j e c t ,   y o u   c a n   c o n t r o l   w h e t h e r   K u b e r n e t e s   d e l e t e s   t h e   o b j e c t ' s   d e p e n d e n t s   a u t o m a t i c a l l y ,   i n   a   p r o c e s s   c a l l e d   c a s c a d i n g   d e l e t i o n .   T h e r e   a r e   t w o   t y p e s   o f   c a s c a d i n g   d e l e t i o n ,   a s   f o l l o w s :   F o r e g r o u n d   c a s c a d i n g   d e l e t i o n B a c k g r o u n d   c a s c a d i n g   d e l e t i o n   Y o u   c a n   a l s o   c o n t r o l   h o w   a n d   w h e n   g a r b a g e   c o l l e c t i o n   d e l e t e s   r e s o u r c e s   t h a t   h a v e   o w n e r   r e f e r e n c e s   u s i n g   K u b e r n e t e s   f i n a l i z e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/garbage-collection/",
    "id": "k8s_00089_section_2_1510"
  },
  {
    "question": "What is Foreground cascading deletion?",
    "answer": "I n   f o r e g r o u n d   c a s c a d i n g   d e l e t i o n ,   t h e   o w n e r   o b j e c t   y o u ' r e   d e l e t i n g   f i r s t   e n t e r s   a   d e l e t i o n   i n   p r o g r e s s   s t a t e .   I n   t h i s   s t a t e ,   t h e   f o l l o w i n g   h a p p e n s   t o   t h e   o w n e r   o b j e c t :   T h e   K u b e r n e t e s   A P I   s e r v e r   s e t s   t h e   o b j e c t ' s   m e t a d a t a . d e l e t i o n T i m e s t a m p   f i e l d   t o   t h e   t i m e   t h e   o b j e c t   w a s   m a r k e d   f o r   d e l e t i o n . T h e   K u b e r n e t e s   A P I   s e r v e r   a l s o   s e t s   t h e   m e t a d a t a . f i n a l i z e r s   f i e l d   t o   f o r e g r o u n d D e l e t i o n . T h e   o b j e c t   r e m a i n s   v i s i b l e   t h r o u g h   t h e   K u b e r n e t e s   A P I   u n t i l   t h e   d e l e t i o n   p r o c e s s   i s   c o m p l e t e .   A f t e r   t h e   o w n e r   o b j e c t   e n t e r s   t h e   d e l e t i o n   i n   p r o g r e s s   s t a t e ,   t h e   c o n t r o l l e r   d e l e t e s   d e p e n d e n t s   i t   k n o w s   a b o u t .   A f t e r   d e l e t i n g   a l l   t h e   d e p e n d e n t   o b j e c t s   i t   k n o w s   a b o u t ,   t h e   c o n t r o l l e r   d e l e t e s   t h e   o w n e r   o b j e c t .   A t   t h i s   p o i n t ,   t h e   o b j e c t   i s   n o   l o n g e r   v i s i b l e   i n   t h e   K u b e r n e t e s   A P I .   D u r i n g   f o r e g r o u n d   c a s c a d i n g   d e l e t i o n ,   t h e   o n l y   d e p e n d e n t s   t h a t   b l o c k   o w n e r   d e l e t i o n   a r e   t h o s e   t h a t   h a v e   t h e   o w n e r R e f e r e n c e . b l o c k O w n e r D e l e t i o n = t r u e   f i e l d   a n d   a r e   i n   t h e   g a r b a g e   c o l l e c t i o n   c o n t r o l l e r   c a c h e .   T h e   g a r b a g e   c o l l e c t i o n   c o n t r o l l e r   c a c h e   m ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/garbage-collection/",
    "id": "k8s_00089_section_3_1511"
  },
  {
    "question": "What is Background cascading deletion?",
    "answer": "I n   b a c k g r o u n d   c a s c a d i n g   d e l e t i o n ,   t h e   K u b e r n e t e s   A P I   s e r v e r   d e l e t e s   t h e   o w n e r   o b j e c t   i m m e d i a t e l y   a n d   t h e   g a r b a g e   c o l l e c t o r   c o n t r o l l e r   ( c u s t o m   o r   d e f a u l t )   c l e a n s   u p   t h e   d e p e n d e n t   o b j e c t s   i n   t h e   b a c k g r o u n d .   I f   a   f i n a l i z e r   e x i s t s ,   i t   e n s u r e s   t h a t   o b j e c t s   a r e   n o t   d e l e t e d   u n t i l   a l l   n e c e s s a r y   c l e a n - u p   t a s k s   a r e   c o m p l e t e d .   B y   d e f a u l t ,   K u b e r n e t e s   u s e s   b a c k g r o u n d   c a s c a d i n g   d e l e t i o n   u n l e s s   y o u   m a n u a l l y   u s e   f o r e g r o u n d   d e l e t i o n   o r   c h o o s e   t o   o r p h a n   t h e   d e p e n d e n t   o b j e c t s .   S e e   U s e   b a c k g r o u n d   c a s c a d i n g   d e l e t i o n   t o   l e a r n   m o r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/garbage-collection/",
    "id": "k8s_00089_section_3_1512"
  },
  {
    "question": "What is Orphaned dependents?",
    "answer": "W h e n   K u b e r n e t e s   d e l e t e s   a n   o w n e r   o b j e c t ,   t h e   d e p e n d e n t s   l e f t   b e h i n d   a r e   c a l l e d   o r p h a n   o b j e c t s .   B y   d e f a u l t ,   K u b e r n e t e s   d e l e t e s   d e p e n d e n t   o b j e c t s .   T o   l e a r n   h o w   t o   o v e r r i d e   t h i s   b e h a v i o u r ,   s e e   D e l e t e   o w n e r   o b j e c t s   a n d   o r p h a n   d e p e n d e n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/garbage-collection/",
    "id": "k8s_00089_section_3_1513"
  },
  {
    "question": "What is Garbage collection of unused containers and images?",
    "answer": "T h e   k u b e l e t   p e r f o r m s   g a r b a g e   c o l l e c t i o n   o n   u n u s e d   i m a g e s   e v e r y   f i v e   m i n u t e s   a n d   o n   u n u s e d   c o n t a i n e r s   e v e r y   m i n u t e .   Y o u   s h o u l d   a v o i d   u s i n g   e x t e r n a l   g a r b a g e   c o l l e c t i o n   t o o l s ,   a s   t h e s e   c a n   b r e a k   t h e   k u b e l e t   b e h a v i o r   a n d   r e m o v e   c o n t a i n e r s   t h a t   s h o u l d   e x i s t .   T o   c o n f i g u r e   o p t i o n s   f o r   u n u s e d   c o n t a i n e r   a n d   i m a g e   g a r b a g e   c o l l e c t i o n ,   t u n e   t h e   k u b e l e t   u s i n g   a   c o n f i g u r a t i o n   f i l e   a n d   c h a n g e   t h e   p a r a m e t e r s   r e l a t e d   t o   g a r b a g e   c o l l e c t i o n   u s i n g   t h e   K u b e l e t C o n f i g u r a t i o n   r e s o u r c e   t y p e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/garbage-collection/",
    "id": "k8s_00089_section_2_1514"
  },
  {
    "question": "What is Container image lifecycle?",
    "answer": "K u b e r n e t e s   m a n a g e s   t h e   l i f e c y c l e   o f   a l l   i m a g e s   t h r o u g h   i t s   i m a g e   m a n a g e r ,   w h i c h   i s   p a r t   o f   t h e   k u b e l e t ,   w i t h   t h e   c o o p e r a t i o n   o f   c a d v i s o r .   T h e   k u b e l e t   c o n s i d e r s   t h e   f o l l o w i n g   d i s k   u s a g e   l i m i t s   w h e n   m a k i n g   g a r b a g e   c o l l e c t i o n   d e c i s i o n s :   H i g h T h r e s h o l d P e r c e n t L o w T h r e s h o l d P e r c e n t   D i s k   u s a g e   a b o v e   t h e   c o n f i g u r e d   H i g h T h r e s h o l d P e r c e n t   v a l u e   t r i g g e r s   g a r b a g e   c o l l e c t i o n ,   w h i c h   d e l e t e s   i m a g e s   i n   o r d e r   b a s e d   o n   t h e   l a s t   t i m e   t h e y   w e r e   u s e d ,   s t a r t i n g   w i t h   t h e   o l d e s t   f i r s t .   T h e   k u b e l e t   d e l e t e s   i m a g e s   u n t i l   d i s k   u s a g e   r e a c h e s   t h e   L o w T h r e s h o l d P e r c e n t   v a l u e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/garbage-collection/",
    "id": "k8s_00089_section_3_1515"
  },
  {
    "question": "What is Garbage collection for unused container images?",
    "answer": "A s   a   b e t a   f e a t u r e ,   y o u   c a n   s p e c i f y   t h e   m a x i m u m   t i m e   a   l o c a l   i m a g e   c a n   b e   u n u s e d   f o r ,   r e g a r d l e s s   o f   d i s k   u s a g e .   T h i s   i s   a   k u b e l e t   s e t t i n g   t h a t   y o u   c o n f i g u r e   f o r   e a c h   n o d e .   T o   c o n f i g u r e   t h e   s e t t i n g ,   y o u   n e e d   t o   s e t   a   v a l u e   f o r   t h e   i m a g e M a x i m u m G C A g e   f i e l d   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e .   T h e   v a l u e   i s   s p e c i f i e d   a s   a   K u b e r n e t e s   d u r a t i o n .   S e e   d u r a t i o n   i n   t h e   g l o s s a r y   f o r   m o r e   d e t a i l s .   F o r   e x a m p l e ,   y o u   c a n   s e t   t h e   c o n f i g u r a t i o n   f i e l d   t o   1 2 h 4 5 m ,   w h i c h   m e a n s   1 2   h o u r s   a n d   4 5   m i n u t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/garbage-collection/",
    "id": "k8s_00089_section_4_1516"
  },
  {
    "question": "What is Container garbage collection?",
    "answer": "T h e   k u b e l e t   g a r b a g e   c o l l e c t s   u n u s e d   c o n t a i n e r s   b a s e d   o n   t h e   f o l l o w i n g   v a r i a b l e s ,   w h i c h   y o u   c a n   d e f i n e :   M i n A g e :   t h e   m i n i m u m   a g e   a t   w h i c h   t h e   k u b e l e t   c a n   g a r b a g e   c o l l e c t   a   c o n t a i n e r .   D i s a b l e   b y   s e t t i n g   t o   0 . M a x P e r P o d C o n t a i n e r :   t h e   m a x i m u m   n u m b e r   o f   d e a d   c o n t a i n e r s   e a c h   P o d   c a n   h a v e .   D i s a b l e   b y   s e t t i n g   t o   l e s s   t h a n   0 . M a x C o n t a i n e r s :   t h e   m a x i m u m   n u m b e r   o f   d e a d   c o n t a i n e r s   t h e   c l u s t e r   c a n   h a v e .   D i s a b l e   b y   s e t t i n g   t o   l e s s   t h a n   0 .   I n   a d d i t i o n   t o   t h e s e   v a r i a b l e s ,   t h e   k u b e l e t   g a r b a g e   c o l l e c t s   u n i d e n t i f i e d   a n d   d e l e t e d   c o n t a i n e r s ,   t y p i c a l l y   s t a r t i n g   w i t h   t h e   o l d e s t   f i r s t .   M a x P e r P o d C o n t a i n e r   a n d   M a x C o n t a i n e r s   m a y   p o t e n t i a l l y   c o n f l i c t   w i t h   e a c h   o t h e r   i n   s i t u a t i o n s   w h e r e   r e t a i n i n g   t h e   m a x i m u m   n u m b e r   o f   c o n t a i n e r s   p e r   P o d   ( M a x P e r P o d C o n t a i n e r )   w o u l d   g o   o u t s i d e   t h e   a l l o w a b l e   t o t a l   o f   g l o b a l   d e a d   c o n t a i n e r s   ( M a x C o n t a i n e r s ) .   I n   t h i s   s i t u a t i o n ,   t h e   k u b e l e t   a d j u s t s   M a x P e r P o d C o n t a i n e r   t o   a d d r e s s   t h e   c o n f l i c t .   A   w o r s t - c a s e   s c e n a r i o   w o u l d   b e   t o   d o w n g r a d e   M a x P e r P o d C o n t a i n e r   t o   1   a n d   e v i c t   t h e   o l d e s t   c o n t a i n e r s .   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/garbage-collection/",
    "id": "k8s_00089_section_3_1517"
  },
  {
    "question": "What is Configuring garbage collection?",
    "answer": "Y o u   c a n   t u n e   g a r b a g e   c o l l e c t i o n   o f   r e s o u r c e s   b y   c o n f i g u r i n g   o p t i o n s   s p e c i f i c   t o   t h e   c o n t r o l l e r s   m a n a g i n g   t h o s e   r e s o u r c e s .   T h e   f o l l o w i n g   p a g e s   s h o w   y o u   h o w   t o   c o n f i g u r e   g a r b a g e   c o l l e c t i o n :   C o n f i g u r i n g   c a s c a d i n g   d e l e t i o n   o f   K u b e r n e t e s   o b j e c t s C o n f i g u r i n g   c l e a n u p   o f   f i n i s h e d   J o b s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/garbage-collection/",
    "id": "k8s_00089_section_2_1518"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   o w n e r s h i p   o f   K u b e r n e t e s   o b j e c t s . L e a r n   m o r e   a b o u t   K u b e r n e t e s   f i n a l i z e r s . L e a r n   a b o u t   t h e   T T L   c o n t r o l l e r   t h a t   c l e a n s   u p   f i n i s h e d   J o b s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/garbage-collection/",
    "id": "k8s_00089_section_2_1519"
  },
  {
    "question": "What is Parallel Processing using Expansions?",
    "answer": "Parallel Processing using ExpansionsThis task demonstrates running multiple Jobs based on a common template. You can use this approach to process batches of work in parallel.For this example there are only three items: apple, banana, and cherry. The sample Jobs process each item by printing a string then pausing.See using Jobs in real workloads to learn about how this pattern fits more realistic use cases.Before you beginYou should be familiar with the basic, non-parallel, use of Job.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesFor basic templating you need the command-line utility sed.To follow the advanced templating example, you need a working installation of Python, and the Jinja2 template library for Python.Once you have Python set up, you can install Jinja2 by running:pip install --user jinja2 Create Jobs based on a templateFirst, download the following template of a Job to a file called job-tmpl.yaml. Here's what you'll download:application/job/job-tmpl.yaml apiVersion: batch/v1 kind: Job metadata: name: process-item-$ITEM labels: jobgroup: jobexample spec: template: metadata: name: jobexample labels: jobgroup: jobexample spec: containers: - name: c image: busybox:1.28 command: [\"sh\", \"-c\", \"echo Processing item $ITEM && sleep 5\"] restartPolicy: Never # Use curl to download job-tmpl.yaml curl -L -s -O https://k8s.io/examples/application/job/job-tmpl.yaml The file you downloaded is not yet a valid Kubernetes manifest. Instead that template is a YAML representation of a Job object with some placeholders that need to be filled in before it can be used. The $ITEM syntax is not meaningful to Kubernetes.Create manifests from the templateThe following shell snippet uses sed to replace the string $ITEM with the loop variable, writing into a temporary directory named jobs. Run this now:# Expand the template into multiple files, one for each item to be processed. mkdir ./jobs for i in apple banana cherry do cat job-tmpl.yaml | sed \"s/\\$ITEM/$i/\" > ./jobs/job-$i.yaml done Check if it worked:ls jobs/ The output is similar to this:job-apple.yaml job-banana.yaml job-cherry.yaml You could use any type of template language (for example: Jinja2; ERB), or write a program to generate the Job manifests.Create Jobs from the manifestsNext, create all the Jobs with one kubectl command:kubectl create -f ./jobs The output is similar to this:job.batch/process-item-apple created job.batch/process-item-banana created job.batch/process-item-cherry created Now, check on the jobs:kubectl get jobs -l jobgroup=jobexample The output is similar to this:NAME COMPLETIONS DURATION AGE process-item-apple 1/",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/parallel-processing-expansion/",
    "id": "k8s_00090_qa_1520"
  },
  {
    "question": "How does Parallel Processing using Expansions work?",
    "answer": "Parallel Processing using ExpansionsThis task demonstrates running multiple Jobs based on a common template. You can use this approach to process batches of work in parallel.For this example there are only three items: apple, banana, and cherry. The sample Jobs process each item by printing a string then pausing.See using Jobs in real workloads to learn about how this pattern fits more realistic use cases.Before you beginYou should be familiar with the basic, non-parallel, use of Job.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesFor basic templating you need the command-line utility sed.To follow the advanced templating example, you need a working installation of Python, and the Jinja2 template library for Python.Once you have Python set up, you can install Jinja2 by running:pip install --user jinja2 Create Jobs based on a templateFirst, download the following template of a Job to a file called job-tmpl.yaml. Here's what you'll download:application/job/job-tmpl.yaml apiVersion: batch/v1 kind: Job metadata: name: process-item-$ITEM labels: jobgroup: jobexample spec: template: metadata: name: jobexample labels: jobgroup: jobexample spec: containers: - name: c image: busybox:1.28 command: [\"sh\", \"-c\", \"echo Processing item $ITEM && sleep 5\"] restartPolicy: Never # Use curl to download job-tmpl.yaml curl -L -s -O https://k8s.io/examples/application/job/job-tmpl.yaml The file you downloaded is not yet a valid Kubernetes manifest. Instead that template is a YAML representation of a Job object with some placeholders that need to be filled in before it can be used. The $ITEM syntax is not meaningful to Kubernetes.Create manifests from the templateThe following shell snippet uses sed to replace the string $ITEM with the loop variable, writing into a temporary directory named jobs. Run this now:# Expand the template into multiple files, one for each item to be processed. mkdir ./jobs for i in apple banana cherry do cat job-tmpl.yaml | sed \"s/\\$ITEM/$i/\" > ./jobs/job-$i.yaml done Check if it worked:ls jobs/ The output is similar to this:job-apple.yaml job-banana.yaml job-cherry.yaml You could use any type of template language (for example: Jinja2; ERB), or write a program to generate the Job manifests.Create Jobs from the manifestsNext, create all the Jobs with one kubectl command:kubectl create -f ./jobs The output is similar to this:job.batch/process-item-apple created job.batch/process-item-banana created job.batch/process-item-cherry created Now, check on the jobs:kubectl get jobs -l jobgroup=jobexample The output is similar to this:NAME COMPLETIONS DURATION AGE process-item-apple 1/",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/parallel-processing-expansion/",
    "id": "k8s_00090_qa_1521"
  },
  {
    "question": "When would you use Parallel Processing using Expansions?",
    "answer": "Parallel Processing using ExpansionsThis task demonstrates running multiple Jobs based on a common template. You can use this approach to process batches of work in parallel.For this example there are only three items: apple, banana, and cherry. The sample Jobs process each item by printing a string then pausing.See using Jobs in real workloads to learn about how this pattern fits more realistic use cases.Before you beginYou should be familiar with the basic, non-parallel, use of Job.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesFor basic templating you need the command-line utility sed.To follow the advanced templating example, you need a working installation of Python, and the Jinja2 template library for Python.Once you have Python set up, you can install Jinja2 by running:pip install --user jinja2 Create Jobs based on a templateFirst, download the following template of a Job to a file called job-tmpl.yaml. Here's what you'll download:application/job/job-tmpl.yaml apiVersion: batch/v1 kind: Job metadata: name: process-item-$ITEM labels: jobgroup: jobexample spec: template: metadata: name: jobexample labels: jobgroup: jobexample spec: containers: - name: c image: busybox:1.28 command: [\"sh\", \"-c\", \"echo Processing item $ITEM && sleep 5\"] restartPolicy: Never # Use curl to download job-tmpl.yaml curl -L -s -O https://k8s.io/examples/application/job/job-tmpl.yaml The file you downloaded is not yet a valid Kubernetes manifest. Instead that template is a YAML representation of a Job object with some placeholders that need to be filled in before it can be used. The $ITEM syntax is not meaningful to Kubernetes.Create manifests from the templateThe following shell snippet uses sed to replace the string $ITEM with the loop variable, writing into a temporary directory named jobs. Run this now:# Expand the template into multiple files, one for each item to be processed. mkdir ./jobs for i in apple banana cherry do cat job-tmpl.yaml | sed \"s/\\$ITEM/$i/\" > ./jobs/job-$i.yaml done Check if it worked:ls jobs/ The output is similar to this:job-apple.yaml job-banana.yaml job-cherry.yaml You could use any type of template language (for example: Jinja2; ERB), or write a program to generate the Job manifests.Create Jobs from the manifestsNext, create all the Jobs with one kubectl command:kubectl create -f ./jobs The output is similar to this:job.batch/process-item-apple created job.batch/process-item-banana created job.batch/process-item-cherry created Now, check on the jobs:kubectl get jobs -l jobgroup=jobexample The output is similar to this:NAME COMPLETIONS DURATION AGE process-item-apple 1/",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/parallel-processing-expansion/",
    "id": "k8s_00090_qa_1522"
  },
  {
    "question": "What are the benefits of Parallel Processing using Expansions?",
    "answer": "Parallel Processing using ExpansionsThis task demonstrates running multiple Jobs based on a common template. You can use this approach to process batches of work in parallel.For this example there are only three items: apple, banana, and cherry. The sample Jobs process each item by printing a string then pausing.See using Jobs in real workloads to learn about how this pattern fits more realistic use cases.Before you beginYou should be familiar with the basic, non-parallel, use of Job.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesFor basic templating you need the command-line utility sed.To follow the advanced templating example, you need a working installation of Python, and the Jinja2 template library for Python.Once you have Python set up, you can install Jinja2 by running:pip install --user jinja2 Create Jobs based on a templateFirst, download the following template of a Job to a file called job-tmpl.yaml. Here's what you'll download:application/job/job-tmpl.yaml apiVersion: batch/v1 kind: Job metadata: name: process-item-$ITEM labels: jobgroup: jobexample spec: template: metadata: name: jobexample labels: jobgroup: jobexample spec: containers: - name: c image: busybox:1.28 command: [\"sh\", \"-c\", \"echo Processing item $ITEM && sleep 5\"] restartPolicy: Never # Use curl to download job-tmpl.yaml curl -L -s -O https://k8s.io/examples/application/job/job-tmpl.yaml The file you downloaded is not yet a valid Kubernetes manifest. Instead that template is a YAML representation of a Job object with some placeholders that need to be filled in before it can be used. The $ITEM syntax is not meaningful to Kubernetes.Create manifests from the templateThe following shell snippet uses sed to replace the string $ITEM with the loop variable, writing into a temporary directory named jobs. Run this now:# Expand the template into multiple files, one for each item to be processed. mkdir ./jobs for i in apple banana cherry do cat job-tmpl.yaml | sed \"s/\\$ITEM/$i/\" > ./jobs/job-$i.yaml done Check if it worked:ls jobs/ The output is similar to this:job-apple.yaml job-banana.yaml job-cherry.yaml You could use any type of template language (for example: Jinja2; ERB), or write a program to generate the Job manifests.Create Jobs from the manifestsNext, create all the Jobs with one kubectl command:kubectl create -f ./jobs The output is similar to this:job.batch/process-item-apple created job.batch/process-item-banana created job.batch/process-item-cherry created Now, check on the jobs:kubectl get jobs -l jobgroup=jobexample The output is similar to this:NAME COMPLETIONS DURATION AGE process-item-apple 1/",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/parallel-processing-expansion/",
    "id": "k8s_00090_qa_1523"
  },
  {
    "question": "What is Parallel Processing using Expansions?",
    "answer": "T h i s   t a s k   d e m o n s t r a t e s   r u n n i n g   m u l t i p l e   J o b s   b a s e d   o n   a   c o m m o n   t e m p l a t e .   Y o u   c a n   u s e   t h i s   a p p r o a c h   t o   p r o c e s s   b a t c h e s   o f   w o r k   i n   p a r a l l e l .   F o r   t h i s   e x a m p l e   t h e r e   a r e   o n l y   t h r e e   i t e m s :   a p p l e ,   b a n a n a ,   a n d   c h e r r y .   T h e   s a m p l e   J o b s   p r o c e s s   e a c h   i t e m   b y   p r i n t i n g   a   s t r i n g   t h e n   p a u s i n g .   S e e   u s i n g   J o b s   i n   r e a l   w o r k l o a d s   t o   l e a r n   a b o u t   h o w   t h i s   p a t t e r n   f i t s   m o r e   r e a l i s t i c   u s e   c a s e s .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/parallel-processing-expansion/",
    "id": "k8s_00090_section_1_1524"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   s h o u l d   b e   f a m i l i a r   w i t h   t h e   b a s i c ,   n o n - p a r a l l e l ,   u s e   o f   J o b .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   F o r   b a s i c   t e m p l a t i n g   y o u   n e e d   t h e   c o m m a n d - l i n e   u t i l i t y   s e d .   T o   f o l l o w   t h e   a d v a n c e d   t e m p l a t i n g   e x a m p l e ,   y o u   n e e d   a   w o r k i n g   i n s t a l l a t i o n   o f   P y t h o n ,   a n d   t h e   J i n j a 2   t e m p l a t e   l i b r a r y   f o r   P y t h o n .   O n c e   y o u   h a v e   P y t h o n   s e t   u p ,   y o u   c a n   i n s t a l l   J i n j a 2   b y   r u n n i n g :   p i p   i n s t a l l   - - u s e r   j i n j a 2",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/parallel-processing-expansion/",
    "id": "k8s_00090_section_2_1525"
  },
  {
    "question": "What is Create Jobs based on a template?",
    "answer": "F i r s t ,   d o w n l o a d   t h e   f o l l o w i n g   t e m p l a t e   o f   a   J o b   t o   a   f i l e   c a l l e d   j o b - t m p l . y a m l .   H e r e ' s   w h a t   y o u ' l l   d o w n l o a d :   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   p r o c e s s - i t e m - $ I T E M   l a b e l s :   j o b g r o u p :   j o b e x a m p l e   s p e c :   t e m p l a t e :   m e t a d a t a :   n a m e :   j o b e x a m p l e   l a b e l s :   j o b g r o u p :   j o b e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   c   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ \" s h \" ,   \" - c \" ,   \" e c h o   P r o c e s s i n g   i t e m   $ I T E M   & &   s l e e p   5 \" ]   r e s t a r t P o l i c y :   N e v e r   #   U s e   c u r l   t o   d o w n l o a d   j o b - t m p l . y a m l   c u r l   - L   - s   - O   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / j o b / j o b - t m p l . y a m l   T h e   f i l e   y o u   d o w n l o a d e d   i s   n o t   y e t   a   v a l i d   K u b e r n e t e s   m a n i f e s t .   I n s t e a d   t h a t   t e m p l a t e   i s   a   Y A M L   r e p r e s e n t a t i o n   o f   a   J o b   o b j e c t   w i t h   s o m e   p l a c e h o l d e r s   t h a t   n e e d   t o   b e   f i l l e d   i n   b e f o r e   i t   c a n   b e   u s e d .   T h e   $ I T E M   s y n t a x   i s   n o t   m e a n i n g f u l   t o   K u b e r n e t e s .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/parallel-processing-expansion/",
    "id": "k8s_00090_section_2_1526"
  },
  {
    "question": "What is Create manifests from the template?",
    "answer": "T h e   f o l l o w i n g   s h e l l   s n i p p e t   u s e s   s e d   t o   r e p l a c e   t h e   s t r i n g   $ I T E M   w i t h   t h e   l o o p   v a r i a b l e ,   w r i t i n g   i n t o   a   t e m p o r a r y   d i r e c t o r y   n a m e d   j o b s .   R u n   t h i s   n o w :   #   E x p a n d   t h e   t e m p l a t e   i n t o   m u l t i p l e   f i l e s ,   o n e   f o r   e a c h   i t e m   t o   b e   p r o c e s s e d .   m k d i r   . / j o b s   f o r   i   i n   a p p l e   b a n a n a   c h e r r y   d o   c a t   j o b - t m p l . y a m l   |   s e d   \" s / \\ $ I T E M / $ i / \"   >   . / j o b s / j o b - $ i . y a m l   d o n e   C h e c k   i f   i t   w o r k e d :   l s   j o b s /   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   j o b - a p p l e . y a m l   j o b - b a n a n a . y a m l   j o b - c h e r r y . y a m l   Y o u   c o u l d   u s e   a n y   t y p e   o f   t e m p l a t e   l a n g u a g e   ( f o r   e x a m p l e :   J i n j a 2 ;   E R B ) ,   o r   w r i t e   a   p r o g r a m   t o   g e n e r a t e   t h e   J o b   m a n i f e s t s .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/parallel-processing-expansion/",
    "id": "k8s_00090_section_3_1527"
  },
  {
    "question": "What is Create Jobs from the manifests?",
    "answer": "N e x t ,   c r e a t e   a l l   t h e   J o b s   w i t h   o n e   k u b e c t l   c o m m a n d :   k u b e c t l   c r e a t e   - f   . / j o b s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   j o b . b a t c h / p r o c e s s - i t e m - a p p l e   c r e a t e d   j o b . b a t c h / p r o c e s s - i t e m - b a n a n a   c r e a t e d   j o b . b a t c h / p r o c e s s - i t e m - c h e r r y   c r e a t e d   N o w ,   c h e c k   o n   t h e   j o b s :   k u b e c t l   g e t   j o b s   - l   j o b g r o u p = j o b e x a m p l e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   C O M P L E T I O N S   D U R A T I O N   A G E   p r o c e s s - i t e m - a p p l e   1 / 1   1 4 s   2 2 s   p r o c e s s - i t e m - b a n a n a   1 / 1   1 2 s   2 1 s   p r o c e s s - i t e m - c h e r r y   1 / 1   1 2 s   2 0 s   U s i n g   t h e   - l   o p t i o n   t o   k u b e c t l   s e l e c t s   o n l y   t h e   J o b s   t h a t   a r e   p a r t   o f   t h i s   g r o u p   o f   j o b s   ( t h e r e   m i g h t   b e   o t h e r   u n r e l a t e d   j o b s   i n   t h e   s y s t e m ) .   Y o u   c a n   c h e c k   o n   t h e   P o d s   a s   w e l l   u s i n g   t h e   s a m e   l a b e l   s e l e c t o r :   k u b e c t l   g e t   p o d s   - l   j o b g r o u p = j o b e x a m p l e   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   p r o c e s s - i t e m - a p p l e - k i x w v   0 / 1   C o m p l e t e d   0   4 m   p r o c e s s - i t e m - b a n a n a - w r s f 7   0 / 1   C o m p l e t e d   0   4 m   p r o c e s s - i t e m - c h e r r y - d n f u 9   0 / 1   C o m p l e t e d   0   4 m   W e   c a n   u s e   t h i s   s i n g l e   c o m m a n d   t o   c h e c k   o n   t h e   o u t p u t   o f   a l l   j o b s   a t   o n c e :   k u b e c t l   l o g s   - f   - l   j o b g r o u p = j o b e x a m p l e   T h e   o u t ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/parallel-processing-expansion/",
    "id": "k8s_00090_section_3_1528"
  },
  {
    "question": "What is Clean up?",
    "answer": "#   R e m o v e   t h e   J o b s   y o u   c r e a t e d   #   Y o u r   c l u s t e r   a u t o m a t i c a l l y   c l e a n s   u p   t h e i r   P o d s   k u b e c t l   d e l e t e   j o b   - l   j o b g r o u p = j o b e x a m p l e",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/parallel-processing-expansion/",
    "id": "k8s_00090_section_3_1529"
  },
  {
    "question": "What is Use advanced template parameters?",
    "answer": "I n   t h e   f i r s t   e x a m p l e ,   e a c h   i n s t a n c e   o f   t h e   t e m p l a t e   h a d   o n e   p a r a m e t e r ,   a n d   t h a t   p a r a m e t e r   w a s   a l s o   u s e d   i n   t h e   J o b ' s   n a m e .   H o w e v e r ,   n a m e s   a r e   r e s t r i c t e d   t o   c o n t a i n   o n l y   c e r t a i n   c h a r a c t e r s .   T h i s   s l i g h t l y   m o r e   c o m p l e x   e x a m p l e   u s e s   t h e   J i n j a   t e m p l a t e   l a n g u a g e   t o   g e n e r a t e   m a n i f e s t s   a n d   t h e n   o b j e c t s   f r o m   t h o s e   m a n i f e s t s ,   w i t h   a   m u l t i p l e   p a r a m e t e r s   f o r   e a c h   J o b .   F o r   t h i s   p a r t   o f   t h e   t a s k ,   y o u   a r e   g o i n g   t o   u s e   a   o n e - l i n e   P y t h o n   s c r i p t   t o   c o n v e r t   t h e   t e m p l a t e   t o   a   s e t   o f   m a n i f e s t s .   F i r s t ,   c o p y   a n d   p a s t e   t h e   f o l l o w i n g   t e m p l a t e   o f   a   J o b   o b j e c t ,   i n t o   a   f i l e   c a l l e d   j o b . y a m l . j i n j a 2 :   { %   s e t   p a r a m s   =   [ {   \" n a m e \" :   \" a p p l e \" ,   \" u r l \" :   \" h t t p : / / d b p e d i a . o r g / r e s o u r c e / A p p l e \" ,   } ,   {   \" n a m e \" :   \" b a n a n a \" ,   \" u r l \" :   \" h t t p : / / d b p e d i a . o r g / r e s o u r c e / B a n a n a \" ,   } ,   {   \" n a m e \" :   \" c h e r r y \" ,   \" u r l \" :   \" h t t p : / / d b p e d i a . o r g / r e s o u r c e / C h e r r y \"   } ]   % }   { %   f o r   p   i n   p a r a m s   % }   { %   s e t   n a m e   =   p [ \" n a m e \" ]   % }   { %   s e t   u r l   =   p [ \" u r l \" ]   % }   - - -   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   j o b e x a m p l e - { {   n a m e   } }   l a b e l s :   j o b g r o u p :   j o b e x a m p l e   s p e c :   t e m p l a t e :   m e t a d a t a :   ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/parallel-processing-expansion/",
    "id": "k8s_00090_section_2_1530"
  },
  {
    "question": "What is Clean up?",
    "answer": "#   R e m o v e   t h e   J o b s   y o u   c r e a t e d   #   Y o u r   c l u s t e r   a u t o m a t i c a l l y   c l e a n s   u p   t h e i r   P o d s   k u b e c t l   d e l e t e   j o b   - l   j o b g r o u p = j o b e x a m p l e",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/parallel-processing-expansion/",
    "id": "k8s_00090_section_3_1531"
  },
  {
    "question": "What is Using Jobs in real workloads?",
    "answer": "I n   a   r e a l   u s e   c a s e ,   e a c h   J o b   p e r f o r m s   s o m e   s u b s t a n t i a l   c o m p u t a t i o n ,   s u c h   a s   r e n d e r i n g   a   f r a m e   o f   a   m o v i e ,   o r   p r o c e s s i n g   a   r a n g e   o f   r o w s   i n   a   d a t a b a s e .   I f   y o u   w e r e   r e n d e r i n g   a   m o v i e   y o u   w o u l d   s e t   $ I T E M   t o   t h e   f r a m e   n u m b e r .   I f   y o u   w e r e   p r o c e s s i n g   r o w s   f r o m   a   d a t a b a s e   t a b l e ,   y o u   w o u l d   s e t   $ I T E M   t o   r e p r e s e n t   t h e   r a n g e   o f   d a t a b a s e   r o w s   t o   p r o c e s s .   I n   t h e   t a s k ,   y o u   r a n   a   c o m m a n d   t o   c o l l e c t   t h e   o u t p u t   f r o m   P o d s   b y   f e t c h i n g   t h e i r   l o g s .   I n   a   r e a l   u s e   c a s e ,   e a c h   P o d   f o r   a   J o b   w r i t e s   i t s   o u t p u t   t o   d u r a b l e   s t o r a g e   b e f o r e   c o m p l e t i n g .   Y o u   c a n   u s e   a   P e r s i s t e n t V o l u m e   f o r   e a c h   J o b ,   o r   a n   e x t e r n a l   s t o r a g e   s e r v i c e .   F o r   e x a m p l e ,   i f   y o u   a r e   r e n d e r i n g   f r a m e s   f o r   a   m o v i e ,   u s e   H T T P   t o   P U T   t h e   r e n d e r e d   f r a m e   d a t a   t o   a   U R L ,   u s i n g   a   d i f f e r e n t   U R L   f o r   e a c h   f r a m e .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/parallel-processing-expansion/",
    "id": "k8s_00090_section_2_1532"
  },
  {
    "question": "What is Labels on Jobs and Pods?",
    "answer": "A f t e r   y o u   c r e a t e   a   J o b ,   K u b e r n e t e s   a u t o m a t i c a l l y   a d d s   a d d i t i o n a l   l a b e l s   t h a t   d i s t i n g u i s h   o n e   J o b ' s   p o d s   f r o m   a n o t h e r   J o b ' s   p o d s .   I n   t h i s   e x a m p l e ,   e a c h   J o b   a n d   i t s   P o d   t e m p l a t e   h a v e   a   l a b e l :   j o b g r o u p = j o b e x a m p l e .   K u b e r n e t e s   i t s e l f   p a y s   n o   a t t e n t i o n   t o   l a b e l s   n a m e d   j o b g r o u p .   S e t t i n g   a   l a b e l   f o r   a l l   t h e   J o b s   y o u   c r e a t e   f r o m   a   t e m p l a t e   m a k e s   i t   c o n v e n i e n t   t o   o p e r a t e   o n   a l l   t h o s e   J o b s   a t   o n c e .   I n   t h e   f i r s t   e x a m p l e   y o u   u s e d   a   t e m p l a t e   t o   c r e a t e   s e v e r a l   J o b s .   T h e   t e m p l a t e   e n s u r e s   t h a t   e a c h   P o d   a l s o   g e t s   t h e   s a m e   l a b e l ,   s o   y o u   c a n   c h e c k   o n   a l l   P o d s   f o r   t h e s e   t e m p l a t e d   J o b s   w i t h   a   s i n g l e   c o m m a n d .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/parallel-processing-expansion/",
    "id": "k8s_00090_section_2_1533"
  },
  {
    "question": "What is Alternatives?",
    "answer": "I f   y o u   p l a n   t o   c r e a t e   a   l a r g e   n u m b e r   o f   J o b   o b j e c t s ,   y o u   m a y   f i n d   t h a t :   E v e n   u s i n g   l a b e l s ,   m a n a g i n g   s o   m a n y   J o b s   i s   c u m b e r s o m e . I f   y o u   c r e a t e   m a n y   J o b s   i n   a   b a t c h ,   y o u   m i g h t   p l a c e   h i g h   l o a d   o n   t h e   K u b e r n e t e s   c o n t r o l   p l a n e .   A l t e r n a t i v e l y ,   t h e   K u b e r n e t e s   A P I   s e r v e r   c o u l d   r a t e   l i m i t   y o u ,   t e m p o r a r i l y   r e j e c t i n g   y o u r   r e q u e s t s   w i t h   a   4 2 9   s t a t u s . Y o u   a r e   l i m i t e d   b y   a   r e s o u r c e   q u o t a   o n   J o b s :   t h e   A P I   s e r v e r   p e r m a n e n t l y   r e j e c t s   s o m e   o f   y o u r   r e q u e s t s   w h e n   y o u   c r e a t e   a   g r e a t   d e a l   o f   w o r k   i n   o n e   b a t c h .   T h e r e   a r e   o t h e r   j o b   p a t t e r n s   t h a t   y o u   c a n   u s e   t o   p r o c e s s   l a r g e   a m o u n t s   o f   w o r k   w i t h o u t   c r e a t i n g   v e r y   m a n y   J o b   o b j e c t s .   Y o u   c o u l d   a l s o   c o n s i d e r   w r i t i n g   y o u r   o w n   c o n t r o l l e r   t o   m a n a g e   J o b   o b j e c t s   a u t o m a t i c a l l y .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/parallel-processing-expansion/",
    "id": "k8s_00090_section_2_1534"
  },
  {
    "question": "What is Configure Multiple Schedulers?",
    "answer": "Configure Multiple SchedulersKubernetes ships with a default scheduler that is described here. If the default scheduler does not suit your needs you can implement your own scheduler. Moreover, you can even run multiple schedulers simultaneously alongside the default scheduler and instruct Kubernetes what scheduler to use for each of your pods. Let's learn how to run multiple schedulers in Kubernetes with an example.A detailed description of how to implement a scheduler is outside the scope of this document. Please refer to the kube-scheduler implementation in pkg/scheduler in the Kubernetes source directory for a canonical example.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Package the schedulerPackage your scheduler binary into a container image. For the purposes of this example, you can use the default scheduler (kube-scheduler) as your second scheduler. Clone the Kubernetes source code from GitHub and build the source.git clone https://github.com/kubernetes/kubernetes.git cd kubernetes make Create a container image containing the kube-scheduler binary. Here is the Dockerfile to build the image:FROM busybox ADD ./_output/local/bin/linux/amd64/kube-scheduler /usr/local/bin/kube-scheduler Save the file as Dockerfile, build the image and push it to a registry. This example pushes the image to Google Container Registry (GCR). For more details, please read the GCR documentation. Alternatively you can also use the docker hub. For more details refer to the docker hub documentation.docker build -t gcr.io/my-gcp-project/my-kube-scheduler:1.0 . # The image name and the repository gcloud docker -- push gcr.io/my-gcp-project/my-kube-scheduler:1.0 # used in here is just an example Define a Kubernetes Deployment for the schedulerNow that you have your scheduler in a container image, create a pod configuration for it and run it in your Kubernetes cluster. But instead of creating a pod directly in the cluster, you can use a Deployment for this example. A Deployment manages a Replica Set which in turn manages the pods, thereby making the scheduler resilient to failures. Here is the deployment config. Save it as my-scheduler.yaml:admin/sched/my-scheduler.yaml apiVersion: v1 kind: ServiceAccount metadata: name: my-scheduler namespace: kube-system --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: my-scheduler-as-kube-scheduler subjects: - kind: ServiceAccount name: my-scheduler namespace: kube-system roleRef: kind: ClusterRole name: system:kube-scheduler apiGroup: rbac.authorization.k8s.io --- apiV",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-multiple-schedulers/",
    "id": "k8s_00091_qa_1535"
  },
  {
    "question": "How does Configure Multiple Schedulers work?",
    "answer": "Configure Multiple SchedulersKubernetes ships with a default scheduler that is described here. If the default scheduler does not suit your needs you can implement your own scheduler. Moreover, you can even run multiple schedulers simultaneously alongside the default scheduler and instruct Kubernetes what scheduler to use for each of your pods. Let's learn how to run multiple schedulers in Kubernetes with an example.A detailed description of how to implement a scheduler is outside the scope of this document. Please refer to the kube-scheduler implementation in pkg/scheduler in the Kubernetes source directory for a canonical example.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Package the schedulerPackage your scheduler binary into a container image. For the purposes of this example, you can use the default scheduler (kube-scheduler) as your second scheduler. Clone the Kubernetes source code from GitHub and build the source.git clone https://github.com/kubernetes/kubernetes.git cd kubernetes make Create a container image containing the kube-scheduler binary. Here is the Dockerfile to build the image:FROM busybox ADD ./_output/local/bin/linux/amd64/kube-scheduler /usr/local/bin/kube-scheduler Save the file as Dockerfile, build the image and push it to a registry. This example pushes the image to Google Container Registry (GCR). For more details, please read the GCR documentation. Alternatively you can also use the docker hub. For more details refer to the docker hub documentation.docker build -t gcr.io/my-gcp-project/my-kube-scheduler:1.0 . # The image name and the repository gcloud docker -- push gcr.io/my-gcp-project/my-kube-scheduler:1.0 # used in here is just an example Define a Kubernetes Deployment for the schedulerNow that you have your scheduler in a container image, create a pod configuration for it and run it in your Kubernetes cluster. But instead of creating a pod directly in the cluster, you can use a Deployment for this example. A Deployment manages a Replica Set which in turn manages the pods, thereby making the scheduler resilient to failures. Here is the deployment config. Save it as my-scheduler.yaml:admin/sched/my-scheduler.yaml apiVersion: v1 kind: ServiceAccount metadata: name: my-scheduler namespace: kube-system --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: my-scheduler-as-kube-scheduler subjects: - kind: ServiceAccount name: my-scheduler namespace: kube-system roleRef: kind: ClusterRole name: system:kube-scheduler apiGroup: rbac.authorization.k8s.io --- apiV",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-multiple-schedulers/",
    "id": "k8s_00091_qa_1536"
  },
  {
    "question": "When would you use Configure Multiple Schedulers?",
    "answer": "Configure Multiple SchedulersKubernetes ships with a default scheduler that is described here. If the default scheduler does not suit your needs you can implement your own scheduler. Moreover, you can even run multiple schedulers simultaneously alongside the default scheduler and instruct Kubernetes what scheduler to use for each of your pods. Let's learn how to run multiple schedulers in Kubernetes with an example.A detailed description of how to implement a scheduler is outside the scope of this document. Please refer to the kube-scheduler implementation in pkg/scheduler in the Kubernetes source directory for a canonical example.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Package the schedulerPackage your scheduler binary into a container image. For the purposes of this example, you can use the default scheduler (kube-scheduler) as your second scheduler. Clone the Kubernetes source code from GitHub and build the source.git clone https://github.com/kubernetes/kubernetes.git cd kubernetes make Create a container image containing the kube-scheduler binary. Here is the Dockerfile to build the image:FROM busybox ADD ./_output/local/bin/linux/amd64/kube-scheduler /usr/local/bin/kube-scheduler Save the file as Dockerfile, build the image and push it to a registry. This example pushes the image to Google Container Registry (GCR). For more details, please read the GCR documentation. Alternatively you can also use the docker hub. For more details refer to the docker hub documentation.docker build -t gcr.io/my-gcp-project/my-kube-scheduler:1.0 . # The image name and the repository gcloud docker -- push gcr.io/my-gcp-project/my-kube-scheduler:1.0 # used in here is just an example Define a Kubernetes Deployment for the schedulerNow that you have your scheduler in a container image, create a pod configuration for it and run it in your Kubernetes cluster. But instead of creating a pod directly in the cluster, you can use a Deployment for this example. A Deployment manages a Replica Set which in turn manages the pods, thereby making the scheduler resilient to failures. Here is the deployment config. Save it as my-scheduler.yaml:admin/sched/my-scheduler.yaml apiVersion: v1 kind: ServiceAccount metadata: name: my-scheduler namespace: kube-system --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: my-scheduler-as-kube-scheduler subjects: - kind: ServiceAccount name: my-scheduler namespace: kube-system roleRef: kind: ClusterRole name: system:kube-scheduler apiGroup: rbac.authorization.k8s.io --- apiV",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-multiple-schedulers/",
    "id": "k8s_00091_qa_1537"
  },
  {
    "question": "What are the benefits of Configure Multiple Schedulers?",
    "answer": "Configure Multiple SchedulersKubernetes ships with a default scheduler that is described here. If the default scheduler does not suit your needs you can implement your own scheduler. Moreover, you can even run multiple schedulers simultaneously alongside the default scheduler and instruct Kubernetes what scheduler to use for each of your pods. Let's learn how to run multiple schedulers in Kubernetes with an example.A detailed description of how to implement a scheduler is outside the scope of this document. Please refer to the kube-scheduler implementation in pkg/scheduler in the Kubernetes source directory for a canonical example.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Package the schedulerPackage your scheduler binary into a container image. For the purposes of this example, you can use the default scheduler (kube-scheduler) as your second scheduler. Clone the Kubernetes source code from GitHub and build the source.git clone https://github.com/kubernetes/kubernetes.git cd kubernetes make Create a container image containing the kube-scheduler binary. Here is the Dockerfile to build the image:FROM busybox ADD ./_output/local/bin/linux/amd64/kube-scheduler /usr/local/bin/kube-scheduler Save the file as Dockerfile, build the image and push it to a registry. This example pushes the image to Google Container Registry (GCR). For more details, please read the GCR documentation. Alternatively you can also use the docker hub. For more details refer to the docker hub documentation.docker build -t gcr.io/my-gcp-project/my-kube-scheduler:1.0 . # The image name and the repository gcloud docker -- push gcr.io/my-gcp-project/my-kube-scheduler:1.0 # used in here is just an example Define a Kubernetes Deployment for the schedulerNow that you have your scheduler in a container image, create a pod configuration for it and run it in your Kubernetes cluster. But instead of creating a pod directly in the cluster, you can use a Deployment for this example. A Deployment manages a Replica Set which in turn manages the pods, thereby making the scheduler resilient to failures. Here is the deployment config. Save it as my-scheduler.yaml:admin/sched/my-scheduler.yaml apiVersion: v1 kind: ServiceAccount metadata: name: my-scheduler namespace: kube-system --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: my-scheduler-as-kube-scheduler subjects: - kind: ServiceAccount name: my-scheduler namespace: kube-system roleRef: kind: ClusterRole name: system:kube-scheduler apiGroup: rbac.authorization.k8s.io --- apiV",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-multiple-schedulers/",
    "id": "k8s_00091_qa_1538"
  },
  {
    "question": "What is Configure Multiple Schedulers?",
    "answer": "K u b e r n e t e s   s h i p s   w i t h   a   d e f a u l t   s c h e d u l e r   t h a t   i s   d e s c r i b e d   h e r e .   I f   t h e   d e f a u l t   s c h e d u l e r   d o e s   n o t   s u i t   y o u r   n e e d s   y o u   c a n   i m p l e m e n t   y o u r   o w n   s c h e d u l e r .   M o r e o v e r ,   y o u   c a n   e v e n   r u n   m u l t i p l e   s c h e d u l e r s   s i m u l t a n e o u s l y   a l o n g s i d e   t h e   d e f a u l t   s c h e d u l e r   a n d   i n s t r u c t   K u b e r n e t e s   w h a t   s c h e d u l e r   t o   u s e   f o r   e a c h   o f   y o u r   p o d s .   L e t ' s   l e a r n   h o w   t o   r u n   m u l t i p l e   s c h e d u l e r s   i n   K u b e r n e t e s   w i t h   a n   e x a m p l e .   A   d e t a i l e d   d e s c r i p t i o n   o f   h o w   t o   i m p l e m e n t   a   s c h e d u l e r   i s   o u t s i d e   t h e   s c o p e   o f   t h i s   d o c u m e n t .   P l e a s e   r e f e r   t o   t h e   k u b e - s c h e d u l e r   i m p l e m e n t a t i o n   i n   p k g / s c h e d u l e r   i n   t h e   K u b e r n e t e s   s o u r c e   d i r e c t o r y   f o r   a   c a n o n i c a l   e x a m p l e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-multiple-schedulers/",
    "id": "k8s_00091_section_1_1539"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-multiple-schedulers/",
    "id": "k8s_00091_section_2_1540"
  },
  {
    "question": "What is Package the scheduler?",
    "answer": "P a c k a g e   y o u r   s c h e d u l e r   b i n a r y   i n t o   a   c o n t a i n e r   i m a g e .   F o r   t h e   p u r p o s e s   o f   t h i s   e x a m p l e ,   y o u   c a n   u s e   t h e   d e f a u l t   s c h e d u l e r   ( k u b e - s c h e d u l e r )   a s   y o u r   s e c o n d   s c h e d u l e r .   C l o n e   t h e   K u b e r n e t e s   s o u r c e   c o d e   f r o m   G i t H u b   a n d   b u i l d   t h e   s o u r c e .   g i t   c l o n e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k u b e r n e t e s . g i t   c d   k u b e r n e t e s   m a k e   C r e a t e   a   c o n t a i n e r   i m a g e   c o n t a i n i n g   t h e   k u b e - s c h e d u l e r   b i n a r y .   H e r e   i s   t h e   D o c k e r f i l e   t o   b u i l d   t h e   i m a g e :   F R O M   b u s y b o x   A D D   . / _ o u t p u t / l o c a l / b i n / l i n u x / a m d 6 4 / k u b e - s c h e d u l e r   / u s r / l o c a l / b i n / k u b e - s c h e d u l e r   S a v e   t h e   f i l e   a s   D o c k e r f i l e ,   b u i l d   t h e   i m a g e   a n d   p u s h   i t   t o   a   r e g i s t r y .   T h i s   e x a m p l e   p u s h e s   t h e   i m a g e   t o   G o o g l e   C o n t a i n e r   R e g i s t r y   ( G C R ) .   F o r   m o r e   d e t a i l s ,   p l e a s e   r e a d   t h e   G C R   d o c u m e n t a t i o n .   A l t e r n a t i v e l y   y o u   c a n   a l s o   u s e   t h e   d o c k e r   h u b .   F o r   m o r e   d e t a i l s   r e f e r   t o   t h e   d o c k e r   h u b   d o c u m e n t a t i o n .   d o c k e r   b u i l d   - t   g c r . i o / m y - g c p - p r o j e c t / m y - k u b e - s c h e d u l e r : 1 . 0   .   #   T h e   i m a g e   n a m e   a n d   t h e   r e p o s i t o r y   g c l o u d   d o c k e r   - -   p u s h   g c r . i o / m y - g c p - p r o j e c t / m y - k u b e - s c h e d u l e r : 1 . 0   #   u s e d   i n   h e r e   i s   j u s t   a n   e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-multiple-schedulers/",
    "id": "k8s_00091_section_2_1541"
  },
  {
    "question": "What is Define a Kubernetes Deployment for the scheduler?",
    "answer": "N o w   t h a t   y o u   h a v e   y o u r   s c h e d u l e r   i n   a   c o n t a i n e r   i m a g e ,   c r e a t e   a   p o d   c o n f i g u r a t i o n   f o r   i t   a n d   r u n   i t   i n   y o u r   K u b e r n e t e s   c l u s t e r .   B u t   i n s t e a d   o f   c r e a t i n g   a   p o d   d i r e c t l y   i n   t h e   c l u s t e r ,   y o u   c a n   u s e   a   D e p l o y m e n t   f o r   t h i s   e x a m p l e .   A   D e p l o y m e n t   m a n a g e s   a   R e p l i c a   S e t   w h i c h   i n   t u r n   m a n a g e s   t h e   p o d s ,   t h e r e b y   m a k i n g   t h e   s c h e d u l e r   r e s i l i e n t   t o   f a i l u r e s .   H e r e   i s   t h e   d e p l o y m e n t   c o n f i g .   S a v e   i t   a s   m y - s c h e d u l e r . y a m l :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   n a m e :   m y - s c h e d u l e r   n a m e s p a c e :   k u b e - s y s t e m   - - -   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e B i n d i n g   m e t a d a t a :   n a m e :   m y - s c h e d u l e r - a s - k u b e - s c h e d u l e r   s u b j e c t s :   -   k i n d :   S e r v i c e A c c o u n t   n a m e :   m y - s c h e d u l e r   n a m e s p a c e :   k u b e - s y s t e m   r o l e R e f :   k i n d :   C l u s t e r R o l e   n a m e :   s y s t e m : k u b e - s c h e d u l e r   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o   - - -   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e B i n d i n g   m e t a d a t a :   n a m e :   m y - s c h e d u l e r - a s - v o l u m e - s c h e d u l e r   s u b j e c t s :   -   k i n d :   S e r v i c e A c c o u n t   n a m e :   m y - s c h e d u l e r   n a m e s p a c e :   k u b e - s y s t e m   r o l e R e f :   k i n d :   C l u s t e r R o l e   n a ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-multiple-schedulers/",
    "id": "k8s_00091_section_2_1542"
  },
  {
    "question": "What is Note:?",
    "answer": "A l s o ,   n o t e   t h a t   y o u   c r e a t e   a   d e d i c a t e d   s e r v i c e   a c c o u n t   m y - s c h e d u l e r   a n d   b i n d   t h e   C l u s t e r R o l e   s y s t e m : k u b e - s c h e d u l e r   t o   i t   s o   t h a t   i t   c a n   a c q u i r e   t h e   s a m e   p r i v i l e g e s   a s   k u b e - s c h e d u l e r .   P l e a s e   s e e   t h e   k u b e - s c h e d u l e r   d o c u m e n t a t i o n   f o r   d e t a i l e d   d e s c r i p t i o n   o f   o t h e r   c o m m a n d   l i n e   a r g u m e n t s   a n d   S c h e d u l e r   C o n f i g u r a t i o n   r e f e r e n c e   f o r   d e t a i l e d   d e s c r i p t i o n   o f   o t h e r   c u s t o m i z a b l e   k u b e - s c h e d u l e r   c o n f i g u r a t i o n s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-multiple-schedulers/",
    "id": "k8s_00091_section_4_1543"
  },
  {
    "question": "What is Run the second scheduler in the cluster?",
    "answer": "I n   o r d e r   t o   r u n   y o u r   s c h e d u l e r   i n   a   K u b e r n e t e s   c l u s t e r ,   c r e a t e   t h e   d e p l o y m e n t   s p e c i f i e d   i n   t h e   c o n f i g   a b o v e   i n   a   K u b e r n e t e s   c l u s t e r :   k u b e c t l   c r e a t e   - f   m y - s c h e d u l e r . y a m l   V e r i f y   t h a t   t h e   s c h e d u l e r   p o d   i s   r u n n i n g :   k u b e c t l   g e t   p o d s   - - n a m e s p a c e = k u b e - s y s t e m   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   . . . .   m y - s c h e d u l e r - l n f 4 s - 4 7 4 4 f   1 / 1   R u n n i n g   0   2 m   . . .   Y o u   s h o u l d   s e e   a   \" R u n n i n g \"   m y - s c h e d u l e r   p o d ,   i n   a d d i t i o n   t o   t h e   d e f a u l t   k u b e - s c h e d u l e r   p o d   i n   t h i s   l i s t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-multiple-schedulers/",
    "id": "k8s_00091_section_2_1544"
  },
  {
    "question": "What is Enable leader election?",
    "answer": "T o   r u n   m u l t i p l e - s c h e d u l e r   w i t h   l e a d e r   e l e c t i o n   e n a b l e d ,   y o u   m u s t   d o   t h e   f o l l o w i n g :   U p d a t e   t h e   f o l l o w i n g   f i e l d s   f o r   t h e   K u b e S c h e d u l e r C o n f i g u r a t i o n   i n   t h e   m y - s c h e d u l e r - c o n f i g   C o n f i g M a p   i n   y o u r   Y A M L   f i l e :   l e a d e r E l e c t i o n . l e a d e r E l e c t   t o   t r u e l e a d e r E l e c t i o n . r e s o u r c e N a m e s p a c e   t o   < l o c k - o b j e c t - n a m e s p a c e > l e a d e r E l e c t i o n . r e s o u r c e N a m e   t o   < l o c k - o b j e c t - n a m e >",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-multiple-schedulers/",
    "id": "k8s_00091_section_3_1545"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   R B A C   i s   e n a b l e d   o n   y o u r   c l u s t e r ,   y o u   m u s t   u p d a t e   t h e   s y s t e m : k u b e - s c h e d u l e r   c l u s t e r   r o l e .   A d d   y o u r   s c h e d u l e r   n a m e   t o   t h e   r e s o u r c e N a m e s   o f   t h e   r u l e   a p p l i e d   f o r   e n d p o i n t s   a n d   l e a s e s   r e s o u r c e s ,   a s   i n   t h e   f o l l o w i n g   e x a m p l e :   k u b e c t l   e d i t   c l u s t e r r o l e   s y s t e m : k u b e - s c h e d u l e r   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   a n n o t a t i o n s :   r b a c . a u t h o r i z a t i o n . k u b e r n e t e s . i o / a u t o u p d a t e :   \" t r u e \"   l a b e l s :   k u b e r n e t e s . i o / b o o t s t r a p p i n g :   r b a c - d e f a u l t s   n a m e :   s y s t e m : k u b e - s c h e d u l e r   r u l e s :   -   a p i G r o u p s :   -   c o o r d i n a t i o n . k 8 s . i o   r e s o u r c e s :   -   l e a s e s   v e r b s :   -   c r e a t e   -   a p i G r o u p s :   -   c o o r d i n a t i o n . k 8 s . i o   r e s o u r c e N a m e s :   -   k u b e - s c h e d u l e r   -   m y - s c h e d u l e r   r e s o u r c e s :   -   l e a s e s   v e r b s :   -   g e t   -   u p d a t e   -   a p i G r o u p s :   -   \" \"   r e s o u r c e N a m e s :   -   k u b e - s c h e d u l e r   -   m y - s c h e d u l e r   r e s o u r c e s :   -   e n d p o i n t s   v e r b s :   -   d e l e t e   -   g e t   -   p a t c h   -   u p d a t e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-multiple-schedulers/",
    "id": "k8s_00091_section_4_1546"
  },
  {
    "question": "What is Specify schedulers for pods?",
    "answer": "N o w   t h a t   y o u r   s e c o n d   s c h e d u l e r   i s   r u n n i n g ,   c r e a t e   s o m e   p o d s ,   a n d   d i r e c t   t h e m   t o   b e   s c h e d u l e d   b y   e i t h e r   t h e   d e f a u l t   s c h e d u l e r   o r   t h e   o n e   y o u   d e p l o y e d .   I n   o r d e r   t o   s c h e d u l e   a   g i v e n   p o d   u s i n g   a   s p e c i f i c   s c h e d u l e r ,   s p e c i f y   t h e   n a m e   o f   t h e   s c h e d u l e r   i n   t h a t   p o d   s p e c .   L e t ' s   l o o k   a t   t h r e e   e x a m p l e s .   P o d   s p e c   w i t h o u t   a n y   s c h e d u l e r   n a m e a d m i n / s c h e d / p o d 1 . y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n o - a n n o t a t i o n   l a b e l s :   n a m e :   m u l t i s c h e d u l e r - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   p o d - w i t h - n o - a n n o t a t i o n - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 8 W h e n   n o   s c h e d u l e r   n a m e   i s   s u p p l i e d ,   t h e   p o d   i s   a u t o m a t i c a l l y   s c h e d u l e d   u s i n g   t h e   d e f a u l t - s c h e d u l e r . S a v e   t h i s   f i l e   a s   p o d 1 . y a m l   a n d   s u b m i t   i t   t o   t h e   K u b e r n e t e s   c l u s t e r . k u b e c t l   c r e a t e   - f   p o d 1 . y a m l   P o d   s p e c   w i t h   d e f a u l t - s c h e d u l e r a d m i n / s c h e d / p o d 2 . y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   a n n o t a t i o n - d e f a u l t - s c h e d u l e r   l a b e l s :   n a m e :   m u l t i s c h e d u l e r - e x a m p l e   s p e c :   s c h e d u l e r N a m e :   d e f a u l t - s c h e d u l e r   c o n t a i n e r s :   -   n a m e :   p o d - w i t h - d e f a u l t - a n n o t a t i o n - c o n t a i n e r   i m a g e :   r e g i s t r y ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-multiple-schedulers/",
    "id": "k8s_00091_section_2_1547"
  },
  {
    "question": "What is Verifying that the pods were scheduled using the desired schedulers?",
    "answer": "I n   o r d e r   t o   m a k e   i t   e a s i e r   t o   w o r k   t h r o u g h   t h e s e   e x a m p l e s ,   w e   d i d   n o t   v e r i f y   t h a t   t h e   p o d s   w e r e   a c t u a l l y   s c h e d u l e d   u s i n g   t h e   d e s i r e d   s c h e d u l e r s .   W e   c a n   v e r i f y   t h a t   b y   c h a n g i n g   t h e   o r d e r   o f   p o d   a n d   d e p l o y m e n t   c o n f i g   s u b m i s s i o n s   a b o v e .   I f   w e   s u b m i t   a l l   t h e   p o d   c o n f i g s   t o   a   K u b e r n e t e s   c l u s t e r   b e f o r e   s u b m i t t i n g   t h e   s c h e d u l e r   d e p l o y m e n t   c o n f i g ,   w e   s e e   t h a t   t h e   p o d   a n n o t a t i o n - s e c o n d - s c h e d u l e r   r e m a i n s   i n   \" P e n d i n g \"   s t a t e   f o r e v e r   w h i l e   t h e   o t h e r   t w o   p o d s   g e t   s c h e d u l e d .   O n c e   w e   s u b m i t   t h e   s c h e d u l e r   d e p l o y m e n t   c o n f i g   a n d   o u r   n e w   s c h e d u l e r   s t a r t s   r u n n i n g ,   t h e   a n n o t a t i o n - s e c o n d - s c h e d u l e r   p o d   g e t s   s c h e d u l e d   a s   w e l l .   A l t e r n a t i v e l y ,   y o u   c a n   l o o k   a t   t h e   \" S c h e d u l e d \"   e n t r i e s   i n   t h e   e v e n t   l o g s   t o   v e r i f y   t h a t   t h e   p o d s   w e r e   s c h e d u l e d   b y   t h e   d e s i r e d   s c h e d u l e r s .   k u b e c t l   g e t   e v e n t s   Y o u   c a n   a l s o   u s e   a   c u s t o m   s c h e d u l e r   c o n f i g u r a t i o n   o r   a   c u s t o m   c o n t a i n e r   i m a g e   f o r   t h e   c l u s t e r ' s   m a i n   s c h e d u l e r   b y   m o d i f y i n g   i t s   s t a t i c   p o d   m a n i f e s t   o n   t h e   r e l e v a n t   c o n t r o l   p l a n e   n o d e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-multiple-schedulers/",
    "id": "k8s_00091_section_3_1548"
  },
  {
    "question": "What is Operating etcd clusters for Kubernetes?",
    "answer": "Operating etcd clusters for Kubernetesetcd is a consistent and highly-available key value store used as Kubernetes' backing store for all cluster data.If your Kubernetes cluster uses etcd as its backing store, make sure you have a back up plan for the data.You can find in-depth information about etcd in the official documentation.Before you beginBefore you follow steps in this page to deploy, manage, back up or restore etcd, you need to understand the typical expectations for operating an etcd cluster. Refer to the etcd documentation for more context.Key details include:The minimum recommended etcd versions to run in production are 3.4.22+ and 3.5.6+.etcd is a leader-based distributed system. Ensure that the leader periodically send heartbeats on time to all followers to keep the cluster stable.You should run etcd as a cluster with an odd number of members.Aim to ensure that no resource starvation occurs.Performance and stability of the cluster is sensitive to network and disk I/O. Any resource starvation can lead to heartbeat timeout, causing instability of the cluster. An unstable etcd indicates that no leader is elected. Under such circumstances, a cluster cannot make any changes to its current state, which implies no new pods can be scheduled.Resource requirements for etcdOperating etcd with limited resources is suitable only for testing purposes. For deploying in production, advanced hardware configuration is required. Before deploying etcd in production, see resource requirement reference.Keeping etcd clusters stable is critical to the stability of Kubernetes clusters. Therefore, run etcd clusters on dedicated machines or isolated environments for guaranteed resource requirements.ToolsDepending on which specific outcome you're working on, you will need the etcdctl tool or the etcdutl tool (you may need both).Understanding etcdctl and etcdutletcdctl and etcdutl are command-line tools used to interact with etcd clusters, but they serve different purposes:etcdctl: This is the primary command-line client for interacting with etcd over a network. It is used for day-to-day operations such as managing keys and values, administering the cluster, checking health, and more.etcdutl: This is an administration utility designed to operate directly on etcd data files, including migrating data between etcd versions, defragmenting the database, restoring snapshots, and validating data consistency. For network operations, etcdctl should be used.For more information on etcdutl, you can refer to the etcd recovery documentation.Starting etcd clustersThis section covers starting a single-node and multi-node etcd cluster.This guide assumes that etcd is already installed.Single-node etcd clusterUse a single-node etcd cluster only for testing purposes.Run the following:etcd --listen-client-urls=http://$PRIVATE_IP:2379 \\ --advertise-client-urls=http://$PRIVATE_IP:2379 Start the Kubernetes API server with the flag --etcd-servers=$PRIVATE_IP:2379.Make sure PRIVATE_IP ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_qa_1549"
  },
  {
    "question": "How does Operating etcd clusters for Kubernetes work?",
    "answer": "Operating etcd clusters for Kubernetesetcd is a consistent and highly-available key value store used as Kubernetes' backing store for all cluster data.If your Kubernetes cluster uses etcd as its backing store, make sure you have a back up plan for the data.You can find in-depth information about etcd in the official documentation.Before you beginBefore you follow steps in this page to deploy, manage, back up or restore etcd, you need to understand the typical expectations for operating an etcd cluster. Refer to the etcd documentation for more context.Key details include:The minimum recommended etcd versions to run in production are 3.4.22+ and 3.5.6+.etcd is a leader-based distributed system. Ensure that the leader periodically send heartbeats on time to all followers to keep the cluster stable.You should run etcd as a cluster with an odd number of members.Aim to ensure that no resource starvation occurs.Performance and stability of the cluster is sensitive to network and disk I/O. Any resource starvation can lead to heartbeat timeout, causing instability of the cluster. An unstable etcd indicates that no leader is elected. Under such circumstances, a cluster cannot make any changes to its current state, which implies no new pods can be scheduled.Resource requirements for etcdOperating etcd with limited resources is suitable only for testing purposes. For deploying in production, advanced hardware configuration is required. Before deploying etcd in production, see resource requirement reference.Keeping etcd clusters stable is critical to the stability of Kubernetes clusters. Therefore, run etcd clusters on dedicated machines or isolated environments for guaranteed resource requirements.ToolsDepending on which specific outcome you're working on, you will need the etcdctl tool or the etcdutl tool (you may need both).Understanding etcdctl and etcdutletcdctl and etcdutl are command-line tools used to interact with etcd clusters, but they serve different purposes:etcdctl: This is the primary command-line client for interacting with etcd over a network. It is used for day-to-day operations such as managing keys and values, administering the cluster, checking health, and more.etcdutl: This is an administration utility designed to operate directly on etcd data files, including migrating data between etcd versions, defragmenting the database, restoring snapshots, and validating data consistency. For network operations, etcdctl should be used.For more information on etcdutl, you can refer to the etcd recovery documentation.Starting etcd clustersThis section covers starting a single-node and multi-node etcd cluster.This guide assumes that etcd is already installed.Single-node etcd clusterUse a single-node etcd cluster only for testing purposes.Run the following:etcd --listen-client-urls=http://$PRIVATE_IP:2379 \\ --advertise-client-urls=http://$PRIVATE_IP:2379 Start the Kubernetes API server with the flag --etcd-servers=$PRIVATE_IP:2379.Make sure PRIVATE_IP ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_qa_1550"
  },
  {
    "question": "When would you use Operating etcd clusters for Kubernetes?",
    "answer": "Operating etcd clusters for Kubernetesetcd is a consistent and highly-available key value store used as Kubernetes' backing store for all cluster data.If your Kubernetes cluster uses etcd as its backing store, make sure you have a back up plan for the data.You can find in-depth information about etcd in the official documentation.Before you beginBefore you follow steps in this page to deploy, manage, back up or restore etcd, you need to understand the typical expectations for operating an etcd cluster. Refer to the etcd documentation for more context.Key details include:The minimum recommended etcd versions to run in production are 3.4.22+ and 3.5.6+.etcd is a leader-based distributed system. Ensure that the leader periodically send heartbeats on time to all followers to keep the cluster stable.You should run etcd as a cluster with an odd number of members.Aim to ensure that no resource starvation occurs.Performance and stability of the cluster is sensitive to network and disk I/O. Any resource starvation can lead to heartbeat timeout, causing instability of the cluster. An unstable etcd indicates that no leader is elected. Under such circumstances, a cluster cannot make any changes to its current state, which implies no new pods can be scheduled.Resource requirements for etcdOperating etcd with limited resources is suitable only for testing purposes. For deploying in production, advanced hardware configuration is required. Before deploying etcd in production, see resource requirement reference.Keeping etcd clusters stable is critical to the stability of Kubernetes clusters. Therefore, run etcd clusters on dedicated machines or isolated environments for guaranteed resource requirements.ToolsDepending on which specific outcome you're working on, you will need the etcdctl tool or the etcdutl tool (you may need both).Understanding etcdctl and etcdutletcdctl and etcdutl are command-line tools used to interact with etcd clusters, but they serve different purposes:etcdctl: This is the primary command-line client for interacting with etcd over a network. It is used for day-to-day operations such as managing keys and values, administering the cluster, checking health, and more.etcdutl: This is an administration utility designed to operate directly on etcd data files, including migrating data between etcd versions, defragmenting the database, restoring snapshots, and validating data consistency. For network operations, etcdctl should be used.For more information on etcdutl, you can refer to the etcd recovery documentation.Starting etcd clustersThis section covers starting a single-node and multi-node etcd cluster.This guide assumes that etcd is already installed.Single-node etcd clusterUse a single-node etcd cluster only for testing purposes.Run the following:etcd --listen-client-urls=http://$PRIVATE_IP:2379 \\ --advertise-client-urls=http://$PRIVATE_IP:2379 Start the Kubernetes API server with the flag --etcd-servers=$PRIVATE_IP:2379.Make sure PRIVATE_IP ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_qa_1551"
  },
  {
    "question": "What are the benefits of Operating etcd clusters for Kubernetes?",
    "answer": "Operating etcd clusters for Kubernetesetcd is a consistent and highly-available key value store used as Kubernetes' backing store for all cluster data.If your Kubernetes cluster uses etcd as its backing store, make sure you have a back up plan for the data.You can find in-depth information about etcd in the official documentation.Before you beginBefore you follow steps in this page to deploy, manage, back up or restore etcd, you need to understand the typical expectations for operating an etcd cluster. Refer to the etcd documentation for more context.Key details include:The minimum recommended etcd versions to run in production are 3.4.22+ and 3.5.6+.etcd is a leader-based distributed system. Ensure that the leader periodically send heartbeats on time to all followers to keep the cluster stable.You should run etcd as a cluster with an odd number of members.Aim to ensure that no resource starvation occurs.Performance and stability of the cluster is sensitive to network and disk I/O. Any resource starvation can lead to heartbeat timeout, causing instability of the cluster. An unstable etcd indicates that no leader is elected. Under such circumstances, a cluster cannot make any changes to its current state, which implies no new pods can be scheduled.Resource requirements for etcdOperating etcd with limited resources is suitable only for testing purposes. For deploying in production, advanced hardware configuration is required. Before deploying etcd in production, see resource requirement reference.Keeping etcd clusters stable is critical to the stability of Kubernetes clusters. Therefore, run etcd clusters on dedicated machines or isolated environments for guaranteed resource requirements.ToolsDepending on which specific outcome you're working on, you will need the etcdctl tool or the etcdutl tool (you may need both).Understanding etcdctl and etcdutletcdctl and etcdutl are command-line tools used to interact with etcd clusters, but they serve different purposes:etcdctl: This is the primary command-line client for interacting with etcd over a network. It is used for day-to-day operations such as managing keys and values, administering the cluster, checking health, and more.etcdutl: This is an administration utility designed to operate directly on etcd data files, including migrating data between etcd versions, defragmenting the database, restoring snapshots, and validating data consistency. For network operations, etcdctl should be used.For more information on etcdutl, you can refer to the etcd recovery documentation.Starting etcd clustersThis section covers starting a single-node and multi-node etcd cluster.This guide assumes that etcd is already installed.Single-node etcd clusterUse a single-node etcd cluster only for testing purposes.Run the following:etcd --listen-client-urls=http://$PRIVATE_IP:2379 \\ --advertise-client-urls=http://$PRIVATE_IP:2379 Start the Kubernetes API server with the flag --etcd-servers=$PRIVATE_IP:2379.Make sure PRIVATE_IP ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_qa_1552"
  },
  {
    "question": "What is Operating etcd clusters for Kubernetes?",
    "answer": "e t c d   i s   a   c o n s i s t e n t   a n d   h i g h l y - a v a i l a b l e   k e y   v a l u e   s t o r e   u s e d   a s   K u b e r n e t e s '   b a c k i n g   s t o r e   f o r   a l l   c l u s t e r   d a t a .   e t c d   i s   a   c o n s i s t e n t   a n d   h i g h l y - a v a i l a b l e   k e y   v a l u e   s t o r e   u s e d   a s   K u b e r n e t e s '   b a c k i n g   s t o r e   f o r   a l l   c l u s t e r   d a t a .   I f   y o u r   K u b e r n e t e s   c l u s t e r   u s e s   e t c d   a s   i t s   b a c k i n g   s t o r e ,   m a k e   s u r e   y o u   h a v e   a   b a c k   u p   p l a n   f o r   t h e   d a t a .   Y o u   c a n   f i n d   i n - d e p t h   i n f o r m a t i o n   a b o u t   e t c d   i n   t h e   o f f i c i a l   d o c u m e n t a t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_section_1_1553"
  },
  {
    "question": "What is Before you begin?",
    "answer": "B e f o r e   y o u   f o l l o w   s t e p s   i n   t h i s   p a g e   t o   d e p l o y ,   m a n a g e ,   b a c k   u p   o r   r e s t o r e   e t c d ,   y o u   n e e d   t o   u n d e r s t a n d   t h e   t y p i c a l   e x p e c t a t i o n s   f o r   o p e r a t i n g   a n   e t c d   c l u s t e r .   R e f e r   t o   t h e   e t c d   d o c u m e n t a t i o n   f o r   m o r e   c o n t e x t .   K e y   d e t a i l s   i n c l u d e :   T h e   m i n i m u m   r e c o m m e n d e d   e t c d   v e r s i o n s   t o   r u n   i n   p r o d u c t i o n   a r e   3 . 4 . 2 2 +   a n d   3 . 5 . 6 + . e t c d   i s   a   l e a d e r - b a s e d   d i s t r i b u t e d   s y s t e m .   E n s u r e   t h a t   t h e   l e a d e r   p e r i o d i c a l l y   s e n d   h e a r t b e a t s   o n   t i m e   t o   a l l   f o l l o w e r s   t o   k e e p   t h e   c l u s t e r   s t a b l e . Y o u   s h o u l d   r u n   e t c d   a s   a   c l u s t e r   w i t h   a n   o d d   n u m b e r   o f   m e m b e r s . A i m   t o   e n s u r e   t h a t   n o   r e s o u r c e   s t a r v a t i o n   o c c u r s . P e r f o r m a n c e   a n d   s t a b i l i t y   o f   t h e   c l u s t e r   i s   s e n s i t i v e   t o   n e t w o r k   a n d   d i s k   I / O .   A n y   r e s o u r c e   s t a r v a t i o n   c a n   l e a d   t o   h e a r t b e a t   t i m e o u t ,   c a u s i n g   i n s t a b i l i t y   o f   t h e   c l u s t e r .   A n   u n s t a b l e   e t c d   i n d i c a t e s   t h a t   n o   l e a d e r   i s   e l e c t e d .   U n d e r   s u c h   c i r c u m s t a n c e s ,   a   c l u s t e r   c a n n o t   m a k e   a n y   c h a n g e s   t o   i t s   c u r r e n t   s t a t e ,   w h i c h   i m p l i e s   n o   n e w   p o d s   c a n   b e   s c h e d u l e d .   T h e   m i n i m u m   r e c o m m e n d e d   e t c d   v e r s i o n s   t o   r u n   i n   p r o d u c t i o n   a r e   3 . 4 . 2 2 +   a n d   3 . 5 ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_section_2_1554"
  },
  {
    "question": "What is Resource requirements for etcd?",
    "answer": "O p e r a t i n g   e t c d   w i t h   l i m i t e d   r e s o u r c e s   i s   s u i t a b l e   o n l y   f o r   t e s t i n g   p u r p o s e s .   F o r   d e p l o y i n g   i n   p r o d u c t i o n ,   a d v a n c e d   h a r d w a r e   c o n f i g u r a t i o n   i s   r e q u i r e d .   B e f o r e   d e p l o y i n g   e t c d   i n   p r o d u c t i o n ,   s e e   r e s o u r c e   r e q u i r e m e n t   r e f e r e n c e .   K e e p i n g   e t c d   c l u s t e r s   s t a b l e   i s   c r i t i c a l   t o   t h e   s t a b i l i t y   o f   K u b e r n e t e s   c l u s t e r s .   T h e r e f o r e ,   r u n   e t c d   c l u s t e r s   o n   d e d i c a t e d   m a c h i n e s   o r   i s o l a t e d   e n v i r o n m e n t s   f o r   g u a r a n t e e d   r e s o u r c e   r e q u i r e m e n t s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_section_3_1555"
  },
  {
    "question": "What is Tools?",
    "answer": "D e p e n d i n g   o n   w h i c h   s p e c i f i c   o u t c o m e   y o u ' r e   w o r k i n g   o n ,   y o u   w i l l   n e e d   t h e   e t c d c t l   t o o l   o r   t h e   e t c d u t l   t o o l   ( y o u   m a y   n e e d   b o t h ) .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_section_3_1556"
  },
  {
    "question": "What is Understanding etcdctl and etcdutl?",
    "answer": "e t c d c t l   a n d   e t c d u t l   a r e   c o m m a n d - l i n e   t o o l s   u s e d   t o   i n t e r a c t   w i t h   e t c d   c l u s t e r s ,   b u t   t h e y   s e r v e   d i f f e r e n t   p u r p o s e s :   e t c d c t l :   T h i s   i s   t h e   p r i m a r y   c o m m a n d - l i n e   c l i e n t   f o r   i n t e r a c t i n g   w i t h   e t c d   o v e r   a   n e t w o r k .   I t   i s   u s e d   f o r   d a y - t o - d a y   o p e r a t i o n s   s u c h   a s   m a n a g i n g   k e y s   a n d   v a l u e s ,   a d m i n i s t e r i n g   t h e   c l u s t e r ,   c h e c k i n g   h e a l t h ,   a n d   m o r e . e t c d u t l :   T h i s   i s   a n   a d m i n i s t r a t i o n   u t i l i t y   d e s i g n e d   t o   o p e r a t e   d i r e c t l y   o n   e t c d   d a t a   f i l e s ,   i n c l u d i n g   m i g r a t i n g   d a t a   b e t w e e n   e t c d   v e r s i o n s ,   d e f r a g m e n t i n g   t h e   d a t a b a s e ,   r e s t o r i n g   s n a p s h o t s ,   a n d   v a l i d a t i n g   d a t a   c o n s i s t e n c y .   F o r   n e t w o r k   o p e r a t i o n s ,   e t c d c t l   s h o u l d   b e   u s e d .   e t c d c t l :   T h i s   i s   t h e   p r i m a r y   c o m m a n d - l i n e   c l i e n t   f o r   i n t e r a c t i n g   w i t h   e t c d   o v e r   a   n e t w o r k .   I t   i s   u s e d   f o r   d a y - t o - d a y   o p e r a t i o n s   s u c h   a s   m a n a g i n g   k e y s   a n d   v a l u e s ,   a d m i n i s t e r i n g   t h e   c l u s t e r ,   c h e c k i n g   h e a l t h ,   a n d   m o r e .   e t c d u t l :   T h i s   i s   a n   a d m i n i s t r a t i o n   u t i l i t y   d e s i g n e d   t o   o p e r a t e   d i r e c t l y   o n   e t c d   d a t a   f i l e s ,   i n c l u d i n g   m i g r a t i n g   d a t a   b e t w e e n   e t c d   v e r s i o n s ,   d e f r a g m e n t i n g   t h e   d a t a b a s e ,   r e s t o r i n g   s n a p s h ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_section_2_1557"
  },
  {
    "question": "What is Starting etcd clusters?",
    "answer": "T h i s   s e c t i o n   c o v e r s   s t a r t i n g   a   s i n g l e - n o d e   a n d   m u l t i - n o d e   e t c d   c l u s t e r .   T h i s   g u i d e   a s s u m e s   t h a t   e t c d   i s   a l r e a d y   i n s t a l l e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_section_2_1558"
  },
  {
    "question": "What is Single-node etcd cluster?",
    "answer": "U s e   a   s i n g l e - n o d e   e t c d   c l u s t e r   o n l y   f o r   t e s t i n g   p u r p o s e s .   R u n   t h e   f o l l o w i n g : e t c d   - - l i s t e n - c l i e n t - u r l s = h t t p : / / $ P R I V A T E _ I P : 2 3 7 9   \\   - - a d v e r t i s e - c l i e n t - u r l s = h t t p : / / $ P R I V A T E _ I P : 2 3 7 9   S t a r t   t h e   K u b e r n e t e s   A P I   s e r v e r   w i t h   t h e   f l a g   - - e t c d - s e r v e r s = $ P R I V A T E _ I P : 2 3 7 9 . M a k e   s u r e   P R I V A T E _ I P   i s   s e t   t o   y o u r   e t c d   c l i e n t   I P .   R u n   t h e   f o l l o w i n g :   e t c d   - - l i s t e n - c l i e n t - u r l s = h t t p : / / $ P R I V A T E _ I P : 2 3 7 9   \\   - - a d v e r t i s e - c l i e n t - u r l s = h t t p : / / $ P R I V A T E _ I P : 2 3 7 9   S t a r t   t h e   K u b e r n e t e s   A P I   s e r v e r   w i t h   t h e   f l a g   - - e t c d - s e r v e r s = $ P R I V A T E _ I P : 2 3 7 9 .   M a k e   s u r e   P R I V A T E _ I P   i s   s e t   t o   y o u r   e t c d   c l i e n t   I P .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_section_3_1559"
  },
  {
    "question": "What is Multi-node etcd cluster?",
    "answer": "F o r   d u r a b i l i t y   a n d   h i g h   a v a i l a b i l i t y ,   r u n   e t c d   a s   a   m u l t i - n o d e   c l u s t e r   i n   p r o d u c t i o n   a n d   b a c k   i t   u p   p e r i o d i c a l l y .   A   f i v e - m e m b e r   c l u s t e r   i s   r e c o m m e n d e d   i n   p r o d u c t i o n .   F o r   m o r e   i n f o r m a t i o n ,   s e e   F A Q   d o c u m e n t a t i o n .   A s   y o u ' r e   u s i n g   K u b e r n e t e s ,   y o u   h a v e   t h e   o p t i o n   t o   r u n   e t c d   a s   a   c o n t a i n e r   i n s i d e   o n e   o r   m o r e   P o d s .   T h e   k u b e a d m   t o o l   s e t s   u p   e t c d   s t a t i c   p o d s   b y   d e f a u l t ,   o r   y o u   c a n   d e p l o y   a   s e p a r a t e   c l u s t e r   a n d   i n s t r u c t   k u b e a d m   t o   u s e   t h a t   e t c d   c l u s t e r   a s   t h e   c o n t r o l   p l a n e ' s   b a c k i n g   s t o r e .   Y o u   c o n f i g u r e   a n   e t c d   c l u s t e r   e i t h e r   b y   s t a t i c   m e m b e r   i n f o r m a t i o n   o r   b y   d y n a m i c   d i s c o v e r y .   F o r   m o r e   i n f o r m a t i o n   o n   c l u s t e r i n g ,   s e e   e t c d   c l u s t e r i n g   d o c u m e n t a t i o n .   F o r   a n   e x a m p l e ,   c o n s i d e r   a   f i v e - m e m b e r   e t c d   c l u s t e r   r u n n i n g   w i t h   t h e   f o l l o w i n g   c l i e n t   U R L s :   h t t p : / / $ I P 1 : 2 3 7 9 ,   h t t p : / / $ I P 2 : 2 3 7 9 ,   h t t p : / / $ I P 3 : 2 3 7 9 ,   h t t p : / / $ I P 4 : 2 3 7 9 ,   a n d   h t t p : / / $ I P 5 : 2 3 7 9 .   T o   s t a r t   a   K u b e r n e t e s   A P I   s e r v e r :   R u n   t h e   f o l l o w i n g : e t c d   - - l i s t e n - c l i e n t - u r l s = h t t p : / / $ I P 1 : 2 3 7 9 , h t t p : / / $ I P 2 : 2 3 7 9 , h t t p : / / $ I P 3 : 2 3 7 9 , h t t p : / / $ I P 4 : 2 3 7 9 , h t t p : / / $ I P 5 : 2 3 7 9   - - a ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_section_3_1560"
  },
  {
    "question": "What is Multi-node etcd cluster with load balancer?",
    "answer": "T o   r u n   a   l o a d   b a l a n c i n g   e t c d   c l u s t e r :   S e t   u p   a n   e t c d   c l u s t e r . C o n f i g u r e   a   l o a d   b a l a n c e r   i n   f r o n t   o f   t h e   e t c d   c l u s t e r .   F o r   e x a m p l e ,   l e t   t h e   a d d r e s s   o f   t h e   l o a d   b a l a n c e r   b e   $ L B . S t a r t   K u b e r n e t e s   A P I   S e r v e r s   w i t h   t h e   f l a g   - - e t c d - s e r v e r s = $ L B : 2 3 7 9 .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_section_3_1561"
  },
  {
    "question": "What is Securing etcd clusters?",
    "answer": "A c c e s s   t o   e t c d   i s   e q u i v a l e n t   t o   r o o t   p e r m i s s i o n   i n   t h e   c l u s t e r   s o   i d e a l l y   o n l y   t h e   A P I   s e r v e r   s h o u l d   h a v e   a c c e s s   t o   i t .   C o n s i d e r i n g   t h e   s e n s i t i v i t y   o f   t h e   d a t a ,   i t   i s   r e c o m m e n d e d   t o   g r a n t   p e r m i s s i o n   t o   o n l y   t h o s e   n o d e s   t h a t   r e q u i r e   a c c e s s   t o   e t c d   c l u s t e r s .   T o   s e c u r e   e t c d ,   e i t h e r   s e t   u p   f i r e w a l l   r u l e s   o r   u s e   t h e   s e c u r i t y   f e a t u r e s   p r o v i d e d   b y   e t c d .   e t c d   s e c u r i t y   f e a t u r e s   d e p e n d   o n   x 5 0 9   P u b l i c   K e y   I n f r a s t r u c t u r e   ( P K I ) .   T o   b e g i n ,   e s t a b l i s h   s e c u r e   c o m m u n i c a t i o n   c h a n n e l s   b y   g e n e r a t i n g   a   k e y   a n d   c e r t i f i c a t e   p a i r .   F o r   e x a m p l e ,   u s e   k e y   p a i r s   p e e r . k e y   a n d   p e e r . c e r t   f o r   s e c u r i n g   c o m m u n i c a t i o n   b e t w e e n   e t c d   m e m b e r s ,   a n d   c l i e n t . k e y   a n d   c l i e n t . c e r t   f o r   s e c u r i n g   c o m m u n i c a t i o n   b e t w e e n   e t c d   a n d   i t s   c l i e n t s .   S e e   t h e   e x a m p l e   s c r i p t s   p r o v i d e d   b y   t h e   e t c d   p r o j e c t   t o   g e n e r a t e   k e y   p a i r s   a n d   C A   f i l e s   f o r   c l i e n t   a u t h e n t i c a t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_section_2_1562"
  },
  {
    "question": "What is Securing communication?",
    "answer": "T o   c o n f i g u r e   e t c d   w i t h   s e c u r e   p e e r   c o m m u n i c a t i o n ,   s p e c i f y   f l a g s   - - p e e r - k e y - f i l e = p e e r . k e y   a n d   - - p e e r - c e r t - f i l e = p e e r . c e r t ,   a n d   u s e   H T T P S   a s   t h e   U R L   s c h e m a .   S i m i l a r l y ,   t o   c o n f i g u r e   e t c d   w i t h   s e c u r e   c l i e n t   c o m m u n i c a t i o n ,   s p e c i f y   f l a g s   - - k e y = k 8 s c l i e n t . k e y   a n d   - - c e r t = k 8 s c l i e n t . c e r t ,   a n d   u s e   H T T P S   a s   t h e   U R L   s c h e m a .   H e r e   i s   a n   e x a m p l e   o n   a   c l i e n t   c o m m a n d   t h a t   u s e s   s e c u r e   c o m m u n i c a t i o n :   E T C D C T L _ A P I = 3   e t c d c t l   - - e n d p o i n t s   1 0 . 2 . 0 . 9 : 2 3 7 9   \\   - - c e r t = / e t c / k u b e r n e t e s / p k i / e t c d / s e r v e r . c r t   \\   - - k e y = / e t c / k u b e r n e t e s / p k i / e t c d / s e r v e r . k e y   \\   - - c a c e r t = / e t c / k u b e r n e t e s / p k i / e t c d / c a . c r t   \\   m e m b e r   l i s t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_section_3_1563"
  },
  {
    "question": "What is Limiting access of etcd clusters?",
    "answer": "A f t e r   c o n f i g u r i n g   s e c u r e   c o m m u n i c a t i o n ,   r e s t r i c t   t h e   a c c e s s   o f   t h e   e t c d   c l u s t e r   t o   o n l y   t h e   K u b e r n e t e s   A P I   s e r v e r s   u s i n g   T L S   a u t h e n t i c a t i o n .   F o r   e x a m p l e ,   c o n s i d e r   k e y   p a i r s   k 8 s c l i e n t . k e y   a n d   k 8 s c l i e n t . c e r t   t h a t   a r e   t r u s t e d   b y   t h e   C A   e t c d . c a .   W h e n   e t c d   i s   c o n f i g u r e d   w i t h   - - c l i e n t - c e r t - a u t h   a l o n g   w i t h   T L S ,   i t   v e r i f i e s   t h e   c e r t i f i c a t e s   f r o m   c l i e n t s   b y   u s i n g   s y s t e m   C A s   o r   t h e   C A   p a s s e d   i n   b y   - - t r u s t e d - c a - f i l e   f l a g .   S p e c i f y i n g   f l a g s   - - c l i e n t - c e r t - a u t h = t r u e   a n d   - - t r u s t e d - c a - f i l e = e t c d . c a   w i l l   r e s t r i c t   t h e   a c c e s s   t o   c l i e n t s   w i t h   t h e   c e r t i f i c a t e   k 8 s c l i e n t . c e r t .   O n c e   e t c d   i s   c o n f i g u r e d   c o r r e c t l y ,   o n l y   c l i e n t s   w i t h   v a l i d   c e r t i f i c a t e s   c a n   a c c e s s   i t .   T o   g i v e   K u b e r n e t e s   A P I   s e r v e r s   t h e   a c c e s s ,   c o n f i g u r e   t h e m   w i t h   t h e   f l a g s   - - e t c d - c e r t f i l e = k 8 s c l i e n t . c e r t ,   - - e t c d - k e y f i l e = k 8 s c l i e n t . k e y   a n d   - - e t c d - c a f i l e = c a . c e r t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_section_3_1564"
  },
  {
    "question": "What is Replacing a failed etcd member?",
    "answer": "e t c d   c l u s t e r   a c h i e v e s   h i g h   a v a i l a b i l i t y   b y   t o l e r a t i n g   m i n o r   m e m b e r   f a i l u r e s .   H o w e v e r ,   t o   i m p r o v e   t h e   o v e r a l l   h e a l t h   o f   t h e   c l u s t e r ,   r e p l a c e   f a i l e d   m e m b e r s   i m m e d i a t e l y .   W h e n   m u l t i p l e   m e m b e r s   f a i l ,   r e p l a c e   t h e m   o n e   b y   o n e .   R e p l a c i n g   a   f a i l e d   m e m b e r   i n v o l v e s   t w o   s t e p s :   r e m o v i n g   t h e   f a i l e d   m e m b e r   a n d   a d d i n g   a   n e w   m e m b e r .   T h o u g h   e t c d   k e e p s   u n i q u e   m e m b e r   I D s   i n t e r n a l l y ,   i t   i s   r e c o m m e n d e d   t o   u s e   a   u n i q u e   n a m e   f o r   e a c h   m e m b e r   t o   a v o i d   h u m a n   e r r o r s .   F o r   e x a m p l e ,   c o n s i d e r   a   t h r e e - m e m b e r   e t c d   c l u s t e r .   L e t   t h e   U R L s   b e ,   m e m b e r 1 = h t t p : / / 1 0 . 0 . 0 . 1 ,   m e m b e r 2 = h t t p : / / 1 0 . 0 . 0 . 2 ,   a n d   m e m b e r 3 = h t t p : / / 1 0 . 0 . 0 . 3 .   W h e n   m e m b e r 1   f a i l s ,   r e p l a c e   i t   w i t h   m e m b e r 4 = h t t p : / / 1 0 . 0 . 0 . 4 .   G e t   t h e   m e m b e r   I D   o f   t h e   f a i l e d   m e m b e r 1 : e t c d c t l   - - e n d p o i n t s = h t t p : / / 1 0 . 0 . 0 . 2 , h t t p : / / 1 0 . 0 . 0 . 3   m e m b e r   l i s t   T h e   f o l l o w i n g   m e s s a g e   i s   d i s p l a y e d : 8 2 1 1 f 1 d 0 f 6 4 f 3 2 6 9 ,   s t a r t e d ,   m e m b e r 1 ,   h t t p : / / 1 0 . 0 . 0 . 1 : 2 3 8 0 ,   h t t p : / / 1 0 . 0 . 0 . 1 : 2 3 7 9   9 1 b c 3 c 3 9 8 f b 3 c 1 4 6 ,   s t a r t e d ,   m e m b e r 2 ,   h t t p : / / 1 0 . 0 . 0 . 2 : 2 3 8 0 ,   h t t p : / / 1 0 . 0 . 0 . 2 : 2 3 7 9   f d 4 2 2 3 7 9 f d a 5 0 e 4 8 ,   s t a r t e d ,   m e m b e r 3 ,   h t t p : / / 1 0 . 0 . 0 . ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_section_2_1565"
  },
  {
    "question": "What is Backing up an etcd cluster?",
    "answer": "A l l   K u b e r n e t e s   o b j e c t s   a r e   s t o r e d   i n   e t c d .   P e r i o d i c a l l y   b a c k i n g   u p   t h e   e t c d   c l u s t e r   d a t a   i s   i m p o r t a n t   t o   r e c o v e r   K u b e r n e t e s   c l u s t e r s   u n d e r   d i s a s t e r   s c e n a r i o s ,   s u c h   a s   l o s i n g   a l l   c o n t r o l   p l a n e   n o d e s .   T h e   s n a p s h o t   f i l e   c o n t a i n s   a l l   t h e   K u b e r n e t e s   s t a t e   a n d   c r i t i c a l   i n f o r m a t i o n .   I n   o r d e r   t o   k e e p   t h e   s e n s i t i v e   K u b e r n e t e s   d a t a   s a f e ,   e n c r y p t   t h e   s n a p s h o t   f i l e s .   B a c k i n g   u p   a n   e t c d   c l u s t e r   c a n   b e   a c c o m p l i s h e d   i n   t w o   w a y s :   e t c d   b u i l t - i n   s n a p s h o t   a n d   v o l u m e   s n a p s h o t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_section_2_1566"
  },
  {
    "question": "What is Built-in snapshot?",
    "answer": "e t c d   s u p p o r t s   b u i l t - i n   s n a p s h o t .   A   s n a p s h o t   m a y   e i t h e r   b e   c r e a t e d   f r o m   a   l i v e   m e m b e r   w i t h   t h e   e t c d c t l   s n a p s h o t   s a v e   c o m m a n d   o r   b y   c o p y i n g   t h e   m e m b e r / s n a p / d b   f i l e   f r o m   a n   e t c d   d a t a   d i r e c t o r y   t h a t   i s   n o t   c u r r e n t l y   u s e d   b y   a n   e t c d   p r o c e s s .   C r e a t i n g   t h e   s n a p s h o t   w i l l   n o t   a f f e c t   t h e   p e r f o r m a n c e   o f   t h e   m e m b e r .   B e l o w   i s   a n   e x a m p l e   f o r   c r e a t i n g   a   s n a p s h o t   o f   t h e   k e y s p a c e   s e r v e d   b y   $ E N D P O I N T   t o   t h e   f i l e   s n a p s h o t . d b :   E T C D C T L _ A P I = 3   e t c d c t l   - - e n d p o i n t s   $ E N D P O I N T   s n a p s h o t   s a v e   s n a p s h o t . d b   V e r i f y   t h e   s n a p s h o t :   T h e   b e l o w   e x a m p l e   d e p i c t s   t h e   u s a g e   o f   t h e   e t c d u t l   t o o l   f o r   v e r i f y i n g   a   s n a p s h o t : e t c d u t l   - - w r i t e - o u t = t a b l e   s n a p s h o t   s t a t u s   s n a p s h o t . d b   T h i s   s h o u l d   g e n e r a t e   a n   o u t p u t   r e s e m b l i n g   t h e   e x a m p l e   p r o v i d e d   b e l o w : + - - - - - - - - - - + - - - - - - - - - - + - - - - - - - - - - - - + - - - - - - - - - - - - +   |   H A S H   |   R E V I S I O N   |   T O T A L   K E Y S   |   T O T A L   S I Z E   |   + - - - - - - - - - - + - - - - - - - - - - + - - - - - - - - - - - - + - - - - - - - - - - - - +   |   f e 0 1 c f 5 7   |   1 0   |   7   |   2 . 1   M B   |   + - - - - - - - - - - + - - - - - - - - - - + - - - - - - - - - - - - + - - - - - - - - - - - - +   T h e   b e l o w   e x a m p l e   d e p i c t s   t h e   u s a g e   o f   t h e   e t c d u t l   t o o l   f o r   v e r i f y i ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_section_3_1567"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   b e l o w   e x a m p l e   d e p i c t s   t h e   u s a g e   o f   t h e   e t c d c t l   t o o l   f o r   v e r i f y i n g   a   s n a p s h o t :   e x p o r t   E T C D C T L _ A P I = 3   e t c d c t l   - - w r i t e - o u t = t a b l e   s n a p s h o t   s t a t u s   s n a p s h o t . d b   T h i s   s h o u l d   g e n e r a t e   a n   o u t p u t   r e s e m b l i n g   t h e   e x a m p l e   p r o v i d e d   b e l o w :   D e p r e c a t e d :   U s e   ` e t c d u t l   s n a p s h o t   s t a t u s `   i n s t e a d .   + - - - - - - - - - - + - - - - - - - - - - + - - - - - - - - - - - - + - - - - - - - - - - - - +   |   H A S H   |   R E V I S I O N   |   T O T A L   K E Y S   |   T O T A L   S I Z E   |   + - - - - - - - - - - + - - - - - - - - - - + - - - - - - - - - - - - + - - - - - - - - - - - - +   |   f e 0 1 c f 5 7   |   1 0   |   7   |   2 . 1   M B   |   + - - - - - - - - - - + - - - - - - - - - - + - - - - - - - - - - - - + - - - - - - - - - - - - +",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_section_4_1568"
  },
  {
    "question": "What is Volume snapshot?",
    "answer": "I f   e t c d   i s   r u n n i n g   o n   a   s t o r a g e   v o l u m e   t h a t   s u p p o r t s   b a c k u p ,   s u c h   a s   A m a z o n   E l a s t i c   B l o c k   S t o r e ,   b a c k   u p   e t c d   d a t a   b y   c r e a t i n g   a   s n a p s h o t   o f   t h e   s t o r a g e   v o l u m e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_section_3_1569"
  },
  {
    "question": "What is Snapshot using etcdctl options?",
    "answer": "W e   c a n   a l s o   c r e a t e   t h e   s n a p s h o t   u s i n g   v a r i o u s   o p t i o n s   g i v e n   b y   e t c d c t l .   F o r   e x a m p l e :   E T C D C T L _ A P I = 3   e t c d c t l   - h   w i l l   l i s t   v a r i o u s   o p t i o n s   a v a i l a b l e   f r o m   e t c d c t l .   F o r   e x a m p l e ,   y o u   c a n   c r e a t e   a   s n a p s h o t   b y   s p e c i f y i n g   t h e   e n d p o i n t ,   c e r t i f i c a t e s   a n d   k e y   a s   s h o w n   b e l o w :   E T C D C T L _ A P I = 3   e t c d c t l   - - e n d p o i n t s = h t t p s : / / 1 2 7 . 0 . 0 . 1 : 2 3 7 9   \\   - - c a c e r t = < t r u s t e d - c a - f i l e >   - - c e r t = < c e r t - f i l e >   - - k e y = < k e y - f i l e >   \\   s n a p s h o t   s a v e   < b a c k u p - f i l e - l o c a t i o n >   w h e r e   t r u s t e d - c a - f i l e ,   c e r t - f i l e   a n d   k e y - f i l e   c a n   b e   o b t a i n e d   f r o m   t h e   d e s c r i p t i o n   o f   t h e   e t c d   P o d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_section_3_1570"
  },
  {
    "question": "What is Scaling out etcd clusters?",
    "answer": "S c a l i n g   o u t   e t c d   c l u s t e r s   i n c r e a s e s   a v a i l a b i l i t y   b y   t r a d i n g   o f f   p e r f o r m a n c e .   S c a l i n g   d o e s   n o t   i n c r e a s e   c l u s t e r   p e r f o r m a n c e   n o r   c a p a b i l i t y .   A   g e n e r a l   r u l e   i s   n o t   t o   s c a l e   o u t   o r   i n   e t c d   c l u s t e r s .   D o   n o t   c o n f i g u r e   a n y   a u t o   s c a l i n g   g r o u p s   f o r   e t c d   c l u s t e r s .   I t   i s   s t r o n g l y   r e c o m m e n d e d   t o   a l w a y s   r u n   a   s t a t i c   f i v e - m e m b e r   e t c d   c l u s t e r   f o r   p r o d u c t i o n   K u b e r n e t e s   c l u s t e r s   a t   a n y   o f f i c i a l l y   s u p p o r t e d   s c a l e .   A   r e a s o n a b l e   s c a l i n g   i s   t o   u p g r a d e   a   t h r e e - m e m b e r   c l u s t e r   t o   a   f i v e - m e m b e r   o n e ,   w h e n   m o r e   r e l i a b i l i t y   i s   d e s i r e d .   S e e   e t c d   r e c o n f i g u r a t i o n   d o c u m e n t a t i o n   f o r   i n f o r m a t i o n   o n   h o w   t o   a d d   m e m b e r s   i n t o   a n   e x i s t i n g   c l u s t e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_section_2_1571"
  },
  {
    "question": "What is Caution:?",
    "answer": "I f   a n y   A P I   s e r v e r s   a r e   r u n n i n g   i n   y o u r   c l u s t e r ,   y o u   s h o u l d   n o t   a t t e m p t   t o   r e s t o r e   i n s t a n c e s   o f   e t c d .   I n s t e a d ,   f o l l o w   t h e s e   s t e p s   t o   r e s t o r e   e t c d :   s t o p   a l l   A P I   s e r v e r   i n s t a n c e s r e s t o r e   s t a t e   i n   a l l   e t c d   i n s t a n c e s r e s t a r t   a l l   A P I   s e r v e r   i n s t a n c e s   T h e   K u b e r n e t e s   p r o j e c t   a l s o   r e c o m m e n d s   r e s t a r t i n g   K u b e r n e t e s   c o m p o n e n t s   ( k u b e - s c h e d u l e r ,   k u b e - c o n t r o l l e r - m a n a g e r ,   k u b e l e t )   t o   e n s u r e   t h a t   t h e y   d o n ' t   r e l y   o n   s o m e   s t a l e   d a t a .   I n   p r a c t i c e   t h e   r e s t o r e   t a k e s   a   b i t   o f   t i m e .   D u r i n g   t h e   r e s t o r a t i o n ,   c r i t i c a l   c o m p o n e n t s   w i l l   l o s e   l e a d e r   l o c k   a n d   r e s t a r t   t h e m s e l v e s .   e t c d   s u p p o r t s   r e s t o r i n g   f r o m   s n a p s h o t s   t h a t   a r e   t a k e n   f r o m   a n   e t c d   p r o c e s s   o f   t h e   m a j o r . m i n o r   v e r s i o n .   R e s t o r i n g   a   v e r s i o n   f r o m   a   d i f f e r e n t   p a t c h   v e r s i o n   o f   e t c d   i s   a l s o   s u p p o r t e d .   A   r e s t o r e   o p e r a t i o n   i s   e m p l o y e d   t o   r e c o v e r   t h e   d a t a   o f   a   f a i l e d   c l u s t e r .   B e f o r e   s t a r t i n g   t h e   r e s t o r e   o p e r a t i o n ,   a   s n a p s h o t   f i l e   m u s t   b e   p r e s e n t .   I t   c a n   e i t h e r   b e   a   s n a p s h o t   f i l e   f r o m   a   p r e v i o u s   b a c k u p   o p e r a t i o n ,   o r   f r o m   a   r e m a i n i n g   d a t a   d i r e c t o r y .   W h e n   r e s t o r i n g   t h e   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_section_4_1572"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   b e l o w   e x a m p l e   d e p i c t s   t h e   u s a g e   o f   t h e   e t c d c t l   t o o l   f o r   t h e   r e s t o r e   o p e r a t i o n :   e x p o r t   E T C D C T L _ A P I = 3   e t c d c t l   - - d a t a - d i r   < d a t a - d i r - l o c a t i o n >   s n a p s h o t   r e s t o r e   s n a p s h o t . d b   I f   < d a t a - d i r - l o c a t i o n >   i s   t h e   s a m e   f o l d e r   a s   b e f o r e ,   d e l e t e   i t   a n d   s t o p   t h e   e t c d   p r o c e s s   b e f o r e   r e s t o r i n g   t h e   c l u s t e r .   O t h e r w i s e ,   c h a n g e   e t c d   c o n f i g u r a t i o n   a n d   r e s t a r t   t h e   e t c d   p r o c e s s   a f t e r   r e s t o r a t i o n   t o   h a v e   i t   u s e   t h e   n e w   d a t a   d i r e c t o r y :   f i r s t   c h a n g e   / e t c / k u b e r n e t e s / m a n i f e s t s / e t c d . y a m l ' s   v o l u m e s . h o s t P a t h . p a t h   f o r   n a m e :   e t c d - d a t a   t o   < d a t a - d i r - l o c a t i o n > ,   t h e n   e x e c u t e   k u b e c t l   - n   k u b e - s y s t e m   d e l e t e   p o d   < n a m e - o f - e t c d - p o d >   o r   s y s t e m c t l   r e s t a r t   k u b e l e t . s e r v i c e   ( o r   b o t h ) .   F o r   m o r e   i n f o r m a t i o n   a n d   e x a m p l e s   o n   r e s t o r i n g   a   c l u s t e r   f r o m   a   s n a p s h o t   f i l e ,   s e e   e t c d   d i s a s t e r   r e c o v e r y   d o c u m e n t a t i o n .   I f   t h e   a c c e s s   U R L s   o f   t h e   r e s t o r e d   c l u s t e r   a r e   c h a n g e d   f r o m   t h e   p r e v i o u s   c l u s t e r ,   t h e   K u b e r n e t e s   A P I   s e r v e r   m u s t   b e   r e c o n f i g u r e d   a c c o r d i n g l y .   I n   t h i s   c a s e ,   r e s t a r t   K u b e r n e t e s   A P I   s e r v e r s   w i t h   t h e   f l a g   - - e t c d - s e r v e r s = $ N E W _ E T C D _ C L U S T E R   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_section_4_1573"
  },
  {
    "question": "What is Caution:?",
    "answer": "F o r   d e t a i l s   o n   e t c d   u p g r a d e ,   r e f e r   t o   t h e   e t c d   u p g r a d e s   d o c u m e n t a t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_section_4_1574"
  },
  {
    "question": "What is Maintaining etcd clusters?",
    "answer": "F o r   m o r e   d e t a i l s   o n   e t c d   m a i n t e n a n c e ,   p l e a s e   r e f e r   t o   t h e   e t c d   m a i n t e n a n c e   d o c u m e n t a t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_section_2_1575"
  },
  {
    "question": "What is Cluster defragmentation?",
    "answer": "D e f r a g m e n t a t i o n   i s   a n   e x p e n s i v e   o p e r a t i o n ,   s o   i t   s h o u l d   b e   e x e c u t e d   a s   i n f r e q u e n t l y   a s   p o s s i b l e .   O n   t h e   o t h e r   h a n d ,   i t ' s   a l s o   n e c e s s a r y   t o   m a k e   s u r e   a n y   e t c d   m e m b e r   w i l l   n o t   e x c e e d   t h e   s t o r a g e   q u o t a .   T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   t h a t   w h e n   y o u   p e r f o r m   d e f r a g m e n t a t i o n ,   y o u   u s e   a   t o o l   s u c h   a s   e t c d - d e f r a g .   Y o u   c a n   a l s o   r u n   t h e   d e f r a g m e n t a t i o n   t o o l   a s   a   K u b e r n e t e s   C r o n J o b ,   t o   m a k e   s u r e   t h a t   d e f r a g m e n t a t i o n   h a p p e n s   r e g u l a r l y .   S e e   e t c d - d e f r a g - c r o n j o b . y a m l   f o r   d e t a i l s .   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/",
    "id": "k8s_00092_section_3_1576"
  },
  {
    "question": "What is kubectl label?",
    "answer": "kubectl labelSynopsisUpdate the labels on a resource.A label key and value must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to 63 characters each.Optionally, the key can begin with a DNS subdomain prefix and a single '/', like example.com/my-app.If --overwrite is true, then existing labels can be overwritten, otherwise attempting to overwrite a label will result in an error.If --resource-version is specified, then updates will use this resource version, otherwise the existing resource-version will be used.kubectl label [--overwrite] (-f FILENAME | TYPE NAME) KEY_1=VAL_1 ... KEY_N=VAL_N [--resource-version=version] Examples # Update pod 'foo' with the label 'unhealthy' and the value 'true' kubectl label pods foo unhealthy=true # Update pod 'foo' with the label 'status' and the value 'unhealthy', overwriting any existing value kubectl label --overwrite pods foo status=unhealthy # Update all pods in the namespace kubectl label pods --all status=unhealthy # Update a pod identified by the type and name in \"pod.json\" kubectl label -f pod.json status=unhealthy # Update pod 'foo' only if the resource is unchanged from version 1 kubectl label pods foo status=unhealthy --resource-version=1 # Update pod 'foo' by removing a label named 'bar' if it exists # Does not require the --overwrite flag kubectl label pods foo bar- Options--allSelect all resources, in the namespace of the specified resource types-A, --all-namespacesIf true, check the specified action in all namespaces.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-label\"Name of the manager used to track field ownership.--field-selector stringSelector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.-f, --filename stringsFilename, directory, or URL to files identifying the resource to update the labels-h, --helphelp for label-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--listIf true, display the labels for a given resource.--localIf true, label will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--overwriteIf true, allow labels to be overwritten, otherwise reject label updates that overwrite existing labels.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_label/",
    "id": "k8s_00093_qa_1577"
  },
  {
    "question": "How does kubectl label work?",
    "answer": "kubectl labelSynopsisUpdate the labels on a resource.A label key and value must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to 63 characters each.Optionally, the key can begin with a DNS subdomain prefix and a single '/', like example.com/my-app.If --overwrite is true, then existing labels can be overwritten, otherwise attempting to overwrite a label will result in an error.If --resource-version is specified, then updates will use this resource version, otherwise the existing resource-version will be used.kubectl label [--overwrite] (-f FILENAME | TYPE NAME) KEY_1=VAL_1 ... KEY_N=VAL_N [--resource-version=version] Examples # Update pod 'foo' with the label 'unhealthy' and the value 'true' kubectl label pods foo unhealthy=true # Update pod 'foo' with the label 'status' and the value 'unhealthy', overwriting any existing value kubectl label --overwrite pods foo status=unhealthy # Update all pods in the namespace kubectl label pods --all status=unhealthy # Update a pod identified by the type and name in \"pod.json\" kubectl label -f pod.json status=unhealthy # Update pod 'foo' only if the resource is unchanged from version 1 kubectl label pods foo status=unhealthy --resource-version=1 # Update pod 'foo' by removing a label named 'bar' if it exists # Does not require the --overwrite flag kubectl label pods foo bar- Options--allSelect all resources, in the namespace of the specified resource types-A, --all-namespacesIf true, check the specified action in all namespaces.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-label\"Name of the manager used to track field ownership.--field-selector stringSelector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.-f, --filename stringsFilename, directory, or URL to files identifying the resource to update the labels-h, --helphelp for label-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--listIf true, display the labels for a given resource.--localIf true, label will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--overwriteIf true, allow labels to be overwritten, otherwise reject label updates that overwrite existing labels.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_label/",
    "id": "k8s_00093_qa_1578"
  },
  {
    "question": "When would you use kubectl label?",
    "answer": "kubectl labelSynopsisUpdate the labels on a resource.A label key and value must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to 63 characters each.Optionally, the key can begin with a DNS subdomain prefix and a single '/', like example.com/my-app.If --overwrite is true, then existing labels can be overwritten, otherwise attempting to overwrite a label will result in an error.If --resource-version is specified, then updates will use this resource version, otherwise the existing resource-version will be used.kubectl label [--overwrite] (-f FILENAME | TYPE NAME) KEY_1=VAL_1 ... KEY_N=VAL_N [--resource-version=version] Examples # Update pod 'foo' with the label 'unhealthy' and the value 'true' kubectl label pods foo unhealthy=true # Update pod 'foo' with the label 'status' and the value 'unhealthy', overwriting any existing value kubectl label --overwrite pods foo status=unhealthy # Update all pods in the namespace kubectl label pods --all status=unhealthy # Update a pod identified by the type and name in \"pod.json\" kubectl label -f pod.json status=unhealthy # Update pod 'foo' only if the resource is unchanged from version 1 kubectl label pods foo status=unhealthy --resource-version=1 # Update pod 'foo' by removing a label named 'bar' if it exists # Does not require the --overwrite flag kubectl label pods foo bar- Options--allSelect all resources, in the namespace of the specified resource types-A, --all-namespacesIf true, check the specified action in all namespaces.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-label\"Name of the manager used to track field ownership.--field-selector stringSelector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.-f, --filename stringsFilename, directory, or URL to files identifying the resource to update the labels-h, --helphelp for label-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--listIf true, display the labels for a given resource.--localIf true, label will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--overwriteIf true, allow labels to be overwritten, otherwise reject label updates that overwrite existing labels.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_label/",
    "id": "k8s_00093_qa_1579"
  },
  {
    "question": "What are the benefits of kubectl label?",
    "answer": "kubectl labelSynopsisUpdate the labels on a resource.A label key and value must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to 63 characters each.Optionally, the key can begin with a DNS subdomain prefix and a single '/', like example.com/my-app.If --overwrite is true, then existing labels can be overwritten, otherwise attempting to overwrite a label will result in an error.If --resource-version is specified, then updates will use this resource version, otherwise the existing resource-version will be used.kubectl label [--overwrite] (-f FILENAME | TYPE NAME) KEY_1=VAL_1 ... KEY_N=VAL_N [--resource-version=version] Examples # Update pod 'foo' with the label 'unhealthy' and the value 'true' kubectl label pods foo unhealthy=true # Update pod 'foo' with the label 'status' and the value 'unhealthy', overwriting any existing value kubectl label --overwrite pods foo status=unhealthy # Update all pods in the namespace kubectl label pods --all status=unhealthy # Update a pod identified by the type and name in \"pod.json\" kubectl label -f pod.json status=unhealthy # Update pod 'foo' only if the resource is unchanged from version 1 kubectl label pods foo status=unhealthy --resource-version=1 # Update pod 'foo' by removing a label named 'bar' if it exists # Does not require the --overwrite flag kubectl label pods foo bar- Options--allSelect all resources, in the namespace of the specified resource types-A, --all-namespacesIf true, check the specified action in all namespaces.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-label\"Name of the manager used to track field ownership.--field-selector stringSelector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.-f, --filename stringsFilename, directory, or URL to files identifying the resource to update the labels-h, --helphelp for label-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--listIf true, display the labels for a given resource.--localIf true, label will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--overwriteIf true, allow labels to be overwritten, otherwise reject label updates that overwrite existing labels.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_label/",
    "id": "k8s_00093_qa_1580"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e   t h e   l a b e l s   o n   a   r e s o u r c e .   A   l a b e l   k e y   a n d   v a l u e   m u s t   b e g i n   w i t h   a   l e t t e r   o r   n u m b e r ,   a n d   m a y   c o n t a i n   l e t t e r s ,   n u m b e r s ,   h y p h e n s ,   d o t s ,   a n d   u n d e r s c o r e s ,   u p   t o   6 3   c h a r a c t e r s   e a c h . O p t i o n a l l y ,   t h e   k e y   c a n   b e g i n   w i t h   a   D N S   s u b d o m a i n   p r e f i x   a n d   a   s i n g l e   ' / ' ,   l i k e   e x a m p l e . c o m / m y - a p p . I f   - - o v e r w r i t e   i s   t r u e ,   t h e n   e x i s t i n g   l a b e l s   c a n   b e   o v e r w r i t t e n ,   o t h e r w i s e   a t t e m p t i n g   t o   o v e r w r i t e   a   l a b e l   w i l l   r e s u l t   i n   a n   e r r o r . I f   - - r e s o u r c e - v e r s i o n   i s   s p e c i f i e d ,   t h e n   u p d a t e s   w i l l   u s e   t h i s   r e s o u r c e   v e r s i o n ,   o t h e r w i s e   t h e   e x i s t i n g   r e s o u r c e - v e r s i o n   w i l l   b e   u s e d .   k u b e c t l   l a b e l   [ - - o v e r w r i t e ]   ( - f   F I L E N A M E   |   T Y P E   N A M E )   K E Y _ 1 = V A L _ 1   . . .   K E Y _ N = V A L _ N   [ - - r e s o u r c e - v e r s i o n = v e r s i o n ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_label/",
    "id": "k8s_00093_section_2_1581"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U p d a t e   p o d   ' f o o '   w i t h   t h e   l a b e l   ' u n h e a l t h y '   a n d   t h e   v a l u e   ' t r u e '   k u b e c t l   l a b e l   p o d s   f o o   u n h e a l t h y = t r u e   #   U p d a t e   p o d   ' f o o '   w i t h   t h e   l a b e l   ' s t a t u s '   a n d   t h e   v a l u e   ' u n h e a l t h y ' ,   o v e r w r i t i n g   a n y   e x i s t i n g   v a l u e   k u b e c t l   l a b e l   - - o v e r w r i t e   p o d s   f o o   s t a t u s = u n h e a l t h y   #   U p d a t e   a l l   p o d s   i n   t h e   n a m e s p a c e   k u b e c t l   l a b e l   p o d s   - - a l l   s t a t u s = u n h e a l t h y   #   U p d a t e   a   p o d   i d e n t i f i e d   b y   t h e   t y p e   a n d   n a m e   i n   \" p o d . j s o n \"   k u b e c t l   l a b e l   - f   p o d . j s o n   s t a t u s = u n h e a l t h y   #   U p d a t e   p o d   ' f o o '   o n l y   i f   t h e   r e s o u r c e   i s   u n c h a n g e d   f r o m   v e r s i o n   1   k u b e c t l   l a b e l   p o d s   f o o   s t a t u s = u n h e a l t h y   - - r e s o u r c e - v e r s i o n = 1   #   U p d a t e   p o d   ' f o o '   b y   r e m o v i n g   a   l a b e l   n a m e d   ' b a r '   i f   i t   e x i s t s   #   D o e s   n o t   r e q u i r e   t h e   - - o v e r w r i t e   f l a g   k u b e c t l   l a b e l   p o d s   f o o   b a r -",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_label/",
    "id": "k8s_00093_section_2_1582"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s ,   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   t r u e ,   c h e c k   t h e   s p e c i f i e d   a c t i o n   i n   a l l   n a m e s p a c e s .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   S e l e c t o r   ( f i e l d   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   a n d   ' ! = ' . ( e . g .   - - f i e l d - s e l e c t o r   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 ) .   T h e   s e r v e r   o n l y   s u p p o r t s   a   l i m i t e d   n u m b e r   o f   f i e l d   q u e r i e s   p e r   t y p e .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   u p d a t e   t h e   l a b e l s   h e l p   f o r   l a b e l   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   I f   t r u e ,   d i s p l a y   t h e   l a b e l s   f o r   a   g i v e n   r e s o u r c e .   I f   t r u e ,   l a b e l   w i l l   N O T   c o n t a c t   a p i - s e r v e r   b u t   r u n   l o c a l l y .   O ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_label/",
    "id": "k8s_00093_section_2_1583"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_label/",
    "id": "k8s_00093_section_2_1584"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_label/",
    "id": "k8s_00093_section_2_1585"
  },
  {
    "question": "What is Set up Ingress on Minikube with the NGINX Ingress Controller?",
    "answer": "Set up Ingress on Minikube with the NGINX Ingress ControllerAn Ingress is an API object that defines rules which allow external access to services in a cluster. An Ingress controller fulfills the rules set in the Ingress.This page shows you how to set up a simple Ingress which routes requests to Service 'web' or 'web2' depending on the HTTP URI.Before you beginThis tutorial assumes that you are using minikube to run a local Kubernetes cluster. Visit Install tools to learn how to install minikube.Note:This tutorial uses a container that requires the AMD64 architecture. If you are using minikube on a computer with a different CPU architecture, you could try using minikube with a driver that can emulate AMD64. For example, the Docker Desktop driver can do this.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.19.To check the version, enter kubectl version.If you are using an older Kubernetes version, switch to the documentation for that version.Create a minikube clusterIf you haven't already set up a cluster locally, run minikube start to create a cluster.Enable the Ingress controllerTo enable the NGINX Ingress controller, run the following command:minikube addons enable ingress Verify that the NGINX Ingress controller is runningkubectl get pods -n ingress-nginx Note:It can take up to a minute before you see these pods running OK.The output is similar to:NAME READY STATUS RESTARTS AGE ingress-nginx-admission-create-g9g49 0/1 Completed 0 11m ingress-nginx-admission-patch-rqp78 0/1 Completed 1 11m ingress-nginx-controller-59b45fb494-26npt 1/1 Running 0 11m Deploy a hello, world appCreate a Deployment using the following command:kubectl create deployment web --image=gcr.io/google-samples/hello-app:1.0 The output should be:deployment.apps/web created Verify that the Deployment is in a Ready state:kubectl get deployment web The output should be similar to:NAME READY UP-TO-DATE AVAILABLE AGE web 1/1 1 1 53s Expose the Deployment:kubectl expose deployment web --type=NodePort --port=8080 The output should be:service/web exposed Verify the Service is created and is available on a node port:kubectl get service web The output is similar to:NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE web NodePort 10.104.133.249 <none> 8080:31637/TCP 12m Visit the Service via NodePort, using the minikube service command. Follow the instructions for your platform:minikube service web --url The output is similar to:http://172.17.0.15:31637 Invoke the URL obtained in the output of the previous step:curl http://172.17.0.15:31637 # The command must be run in a",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/",
    "id": "k8s_00094_qa_1586"
  },
  {
    "question": "How does Set up Ingress on Minikube with the NGINX Ingress Controller work?",
    "answer": "Set up Ingress on Minikube with the NGINX Ingress ControllerAn Ingress is an API object that defines rules which allow external access to services in a cluster. An Ingress controller fulfills the rules set in the Ingress.This page shows you how to set up a simple Ingress which routes requests to Service 'web' or 'web2' depending on the HTTP URI.Before you beginThis tutorial assumes that you are using minikube to run a local Kubernetes cluster. Visit Install tools to learn how to install minikube.Note:This tutorial uses a container that requires the AMD64 architecture. If you are using minikube on a computer with a different CPU architecture, you could try using minikube with a driver that can emulate AMD64. For example, the Docker Desktop driver can do this.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.19.To check the version, enter kubectl version.If you are using an older Kubernetes version, switch to the documentation for that version.Create a minikube clusterIf you haven't already set up a cluster locally, run minikube start to create a cluster.Enable the Ingress controllerTo enable the NGINX Ingress controller, run the following command:minikube addons enable ingress Verify that the NGINX Ingress controller is runningkubectl get pods -n ingress-nginx Note:It can take up to a minute before you see these pods running OK.The output is similar to:NAME READY STATUS RESTARTS AGE ingress-nginx-admission-create-g9g49 0/1 Completed 0 11m ingress-nginx-admission-patch-rqp78 0/1 Completed 1 11m ingress-nginx-controller-59b45fb494-26npt 1/1 Running 0 11m Deploy a hello, world appCreate a Deployment using the following command:kubectl create deployment web --image=gcr.io/google-samples/hello-app:1.0 The output should be:deployment.apps/web created Verify that the Deployment is in a Ready state:kubectl get deployment web The output should be similar to:NAME READY UP-TO-DATE AVAILABLE AGE web 1/1 1 1 53s Expose the Deployment:kubectl expose deployment web --type=NodePort --port=8080 The output should be:service/web exposed Verify the Service is created and is available on a node port:kubectl get service web The output is similar to:NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE web NodePort 10.104.133.249 <none> 8080:31637/TCP 12m Visit the Service via NodePort, using the minikube service command. Follow the instructions for your platform:minikube service web --url The output is similar to:http://172.17.0.15:31637 Invoke the URL obtained in the output of the previous step:curl http://172.17.0.15:31637 # The command must be run in a",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/",
    "id": "k8s_00094_qa_1587"
  },
  {
    "question": "When would you use Set up Ingress on Minikube with the NGINX Ingress Controller?",
    "answer": "Set up Ingress on Minikube with the NGINX Ingress ControllerAn Ingress is an API object that defines rules which allow external access to services in a cluster. An Ingress controller fulfills the rules set in the Ingress.This page shows you how to set up a simple Ingress which routes requests to Service 'web' or 'web2' depending on the HTTP URI.Before you beginThis tutorial assumes that you are using minikube to run a local Kubernetes cluster. Visit Install tools to learn how to install minikube.Note:This tutorial uses a container that requires the AMD64 architecture. If you are using minikube on a computer with a different CPU architecture, you could try using minikube with a driver that can emulate AMD64. For example, the Docker Desktop driver can do this.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.19.To check the version, enter kubectl version.If you are using an older Kubernetes version, switch to the documentation for that version.Create a minikube clusterIf you haven't already set up a cluster locally, run minikube start to create a cluster.Enable the Ingress controllerTo enable the NGINX Ingress controller, run the following command:minikube addons enable ingress Verify that the NGINX Ingress controller is runningkubectl get pods -n ingress-nginx Note:It can take up to a minute before you see these pods running OK.The output is similar to:NAME READY STATUS RESTARTS AGE ingress-nginx-admission-create-g9g49 0/1 Completed 0 11m ingress-nginx-admission-patch-rqp78 0/1 Completed 1 11m ingress-nginx-controller-59b45fb494-26npt 1/1 Running 0 11m Deploy a hello, world appCreate a Deployment using the following command:kubectl create deployment web --image=gcr.io/google-samples/hello-app:1.0 The output should be:deployment.apps/web created Verify that the Deployment is in a Ready state:kubectl get deployment web The output should be similar to:NAME READY UP-TO-DATE AVAILABLE AGE web 1/1 1 1 53s Expose the Deployment:kubectl expose deployment web --type=NodePort --port=8080 The output should be:service/web exposed Verify the Service is created and is available on a node port:kubectl get service web The output is similar to:NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE web NodePort 10.104.133.249 <none> 8080:31637/TCP 12m Visit the Service via NodePort, using the minikube service command. Follow the instructions for your platform:minikube service web --url The output is similar to:http://172.17.0.15:31637 Invoke the URL obtained in the output of the previous step:curl http://172.17.0.15:31637 # The command must be run in a",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/",
    "id": "k8s_00094_qa_1588"
  },
  {
    "question": "What are the benefits of Set up Ingress on Minikube with the NGINX Ingress Controller?",
    "answer": "Set up Ingress on Minikube with the NGINX Ingress ControllerAn Ingress is an API object that defines rules which allow external access to services in a cluster. An Ingress controller fulfills the rules set in the Ingress.This page shows you how to set up a simple Ingress which routes requests to Service 'web' or 'web2' depending on the HTTP URI.Before you beginThis tutorial assumes that you are using minikube to run a local Kubernetes cluster. Visit Install tools to learn how to install minikube.Note:This tutorial uses a container that requires the AMD64 architecture. If you are using minikube on a computer with a different CPU architecture, you could try using minikube with a driver that can emulate AMD64. For example, the Docker Desktop driver can do this.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.19.To check the version, enter kubectl version.If you are using an older Kubernetes version, switch to the documentation for that version.Create a minikube clusterIf you haven't already set up a cluster locally, run minikube start to create a cluster.Enable the Ingress controllerTo enable the NGINX Ingress controller, run the following command:minikube addons enable ingress Verify that the NGINX Ingress controller is runningkubectl get pods -n ingress-nginx Note:It can take up to a minute before you see these pods running OK.The output is similar to:NAME READY STATUS RESTARTS AGE ingress-nginx-admission-create-g9g49 0/1 Completed 0 11m ingress-nginx-admission-patch-rqp78 0/1 Completed 1 11m ingress-nginx-controller-59b45fb494-26npt 1/1 Running 0 11m Deploy a hello, world appCreate a Deployment using the following command:kubectl create deployment web --image=gcr.io/google-samples/hello-app:1.0 The output should be:deployment.apps/web created Verify that the Deployment is in a Ready state:kubectl get deployment web The output should be similar to:NAME READY UP-TO-DATE AVAILABLE AGE web 1/1 1 1 53s Expose the Deployment:kubectl expose deployment web --type=NodePort --port=8080 The output should be:service/web exposed Verify the Service is created and is available on a node port:kubectl get service web The output is similar to:NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE web NodePort 10.104.133.249 <none> 8080:31637/TCP 12m Visit the Service via NodePort, using the minikube service command. Follow the instructions for your platform:minikube service web --url The output is similar to:http://172.17.0.15:31637 Invoke the URL obtained in the output of the previous step:curl http://172.17.0.15:31637 # The command must be run in a",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/",
    "id": "k8s_00094_qa_1589"
  },
  {
    "question": "What is Set up Ingress on Minikube with the NGINX Ingress Controller?",
    "answer": "A n   I n g r e s s   i s   a n   A P I   o b j e c t   t h a t   d e f i n e s   r u l e s   w h i c h   a l l o w   e x t e r n a l   a c c e s s   t o   s e r v i c e s   i n   a   c l u s t e r .   A n   I n g r e s s   c o n t r o l l e r   f u l f i l l s   t h e   r u l e s   s e t   i n   t h e   I n g r e s s .   T h i s   p a g e   s h o w s   y o u   h o w   t o   s e t   u p   a   s i m p l e   I n g r e s s   w h i c h   r o u t e s   r e q u e s t s   t o   S e r v i c e   ' w e b '   o r   ' w e b 2 '   d e p e n d i n g   o n   t h e   H T T P   U R I .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/",
    "id": "k8s_00094_section_1_1590"
  },
  {
    "question": "What is Before you begin?",
    "answer": "T h i s   t u t o r i a l   a s s u m e s   t h a t   y o u   a r e   u s i n g   m i n i k u b e   t o   r u n   a   l o c a l   K u b e r n e t e s   c l u s t e r .   V i s i t   I n s t a l l   t o o l s   t o   l e a r n   h o w   t o   i n s t a l l   m i n i k u b e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/",
    "id": "k8s_00094_section_2_1591"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 1 9 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n . I f   y o u   a r e   u s i n g   a n   o l d e r   K u b e r n e t e s   v e r s i o n ,   s w i t c h   t o   t h e   d o c u m e n t a t i o n   f o r   t h a t   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/",
    "id": "k8s_00094_section_4_1592"
  },
  {
    "question": "What is Create a minikube cluster?",
    "answer": "I f   y o u   h a v e n ' t   a l r e a d y   s e t   u p   a   c l u s t e r   l o c a l l y ,   r u n   m i n i k u b e   s t a r t   t o   c r e a t e   a   c l u s t e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/",
    "id": "k8s_00094_section_3_1593"
  },
  {
    "question": "What is Enable the Ingress controller?",
    "answer": "T o   e n a b l e   t h e   N G I N X   I n g r e s s   c o n t r o l l e r ,   r u n   t h e   f o l l o w i n g   c o m m a n d : m i n i k u b e   a d d o n s   e n a b l e   i n g r e s s   V e r i f y   t h a t   t h e   N G I N X   I n g r e s s   c o n t r o l l e r   i s   r u n n i n g k u b e c t l   g e t   p o d s   - n   i n g r e s s - n g i n x   N o t e : I t   c a n   t a k e   u p   t o   a   m i n u t e   b e f o r e   y o u   s e e   t h e s e   p o d s   r u n n i n g   O K . T h e   o u t p u t   i s   s i m i l a r   t o : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   i n g r e s s - n g i n x - a d m i s s i o n - c r e a t e - g 9 g 4 9   0 / 1   C o m p l e t e d   0   1 1 m   i n g r e s s - n g i n x - a d m i s s i o n - p a t c h - r q p 7 8   0 / 1   C o m p l e t e d   1   1 1 m   i n g r e s s - n g i n x - c o n t r o l l e r - 5 9 b 4 5 f b 4 9 4 - 2 6 n p t   1 / 1   R u n n i n g   0   1 1 m   T o   e n a b l e   t h e   N G I N X   I n g r e s s   c o n t r o l l e r ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   m i n i k u b e   a d d o n s   e n a b l e   i n g r e s s   V e r i f y   t h a t   t h e   N G I N X   I n g r e s s   c o n t r o l l e r   i s   r u n n i n g   k u b e c t l   g e t   p o d s   - n   i n g r e s s - n g i n x",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/",
    "id": "k8s_00094_section_2_1594"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   i n g r e s s - n g i n x - a d m i s s i o n - c r e a t e - g 9 g 4 9   0 / 1   C o m p l e t e d   0   1 1 m   i n g r e s s - n g i n x - a d m i s s i o n - p a t c h - r q p 7 8   0 / 1   C o m p l e t e d   1   1 1 m   i n g r e s s - n g i n x - c o n t r o l l e r - 5 9 b 4 5 f b 4 9 4 - 2 6 n p t   1 / 1   R u n n i n g   0   1 1 m",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/",
    "id": "k8s_00094_section_4_1595"
  },
  {
    "question": "What is Deploy a hello, world app?",
    "answer": "C r e a t e   a   D e p l o y m e n t   u s i n g   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   c r e a t e   d e p l o y m e n t   w e b   - - i m a g e = g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 1 . 0   T h e   o u t p u t   s h o u l d   b e : d e p l o y m e n t . a p p s / w e b   c r e a t e d   V e r i f y   t h a t   t h e   D e p l o y m e n t   i s   i n   a   R e a d y   s t a t e : k u b e c t l   g e t   d e p l o y m e n t   w e b   T h e   o u t p u t   s h o u l d   b e   s i m i l a r   t o : N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   w e b   1 / 1   1   1   5 3 s   E x p o s e   t h e   D e p l o y m e n t : k u b e c t l   e x p o s e   d e p l o y m e n t   w e b   - - t y p e = N o d e P o r t   - - p o r t = 8 0 8 0   T h e   o u t p u t   s h o u l d   b e : s e r v i c e / w e b   e x p o s e d   V e r i f y   t h e   S e r v i c e   i s   c r e a t e d   a n d   i s   a v a i l a b l e   o n   a   n o d e   p o r t : k u b e c t l   g e t   s e r v i c e   w e b   T h e   o u t p u t   i s   s i m i l a r   t o : N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   w e b   N o d e P o r t   1 0 . 1 0 4 . 1 3 3 . 2 4 9   < n o n e >   8 0 8 0 : 3 1 6 3 7 / T C P   1 2 m   V i s i t   t h e   S e r v i c e   v i a   N o d e P o r t ,   u s i n g   t h e   m i n i k u b e   s e r v i c e   c o m m a n d .   F o l l o w   t h e   i n s t r u c t i o n s   f o r   y o u r   p l a t f o r m : m i n i k u b e   s e r v i c e   w e b   - - u r l   T h e   o u t p u t   i s   s i m i l a r   t o : h t t p : / / 1 7 2 . 1 7 . 0 . 1 5 : 3 1 6 3 7   I n v o k e   t h e   U R L   o b t a i n e d   i n   t h e   o u t p u t   o f   t h e   p r e v i o u s   s t e p : c u r l   h t t p : / / 1 7 2 . 1 7 . 0 . 1 5 : 3 1 6 3 7   #   T h e   c o m m a n d   m u s t   b e   r u n   i n   a   s e p a r a t e   t e r m i n a l .   m i n i k u b e   s e r v i ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/",
    "id": "k8s_00094_section_2_1596"
  },
  {
    "question": "What is Create an Ingress?",
    "answer": "T h e   f o l l o w i n g   m a n i f e s t   d e f i n e s   a n   I n g r e s s   t h a t   s e n d s   t r a f f i c   t o   y o u r   S e r v i c e   v i a   h e l l o - w o r l d . e x a m p l e .   C r e a t e   e x a m p l e - i n g r e s s . y a m l   f r o m   t h e   f o l l o w i n g   f i l e : s e r v i c e / n e t w o r k i n g / e x a m p l e - i n g r e s s . y a m l   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a :   n a m e :   e x a m p l e - i n g r e s s   s p e c :   i n g r e s s C l a s s N a m e :   n g i n x   r u l e s :   -   h o s t :   h e l l o - w o r l d . e x a m p l e   h t t p :   p a t h s :   -   p a t h :   /   p a t h T y p e :   P r e f i x   b a c k e n d :   s e r v i c e :   n a m e :   w e b   p o r t :   n u m b e r :   8 0 8 0 C r e a t e   t h e   I n g r e s s   o b j e c t   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / s e r v i c e / n e t w o r k i n g / e x a m p l e - i n g r e s s . y a m l   T h e   o u t p u t   s h o u l d   b e : i n g r e s s . n e t w o r k i n g . k 8 s . i o / e x a m p l e - i n g r e s s   c r e a t e d   V e r i f y   t h e   I P   a d d r e s s   i s   s e t : k u b e c t l   g e t   i n g r e s s   N o t e : T h i s   c a n   t a k e   a   c o u p l e   o f   m i n u t e s . Y o u   s h o u l d   s e e   a n   I P v 4   a d d r e s s   i n   t h e   A D D R E S S   c o l u m n ;   f o r   e x a m p l e : N A M E   C L A S S   H O S T S   A D D R E S S   P O R T S   A G E   e x a m p l e - i n g r e s s   n g i n x   h e l l o - w o r l d . e x a m p l e   1 7 2 . 1 7 . 0 . 1 5   8 0   3 8 s   V e r i f y   t h a t   t h e   I n g r e s s   c o n t r o l l e r   i s   d i r e c t i n g   t r a f f i c ,   b y   f o l l o w i n g   t h e   i n s t r u c t i o n s   f o r   y o u r   p l a t f o r m : N o t e : T h e   n ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/",
    "id": "k8s_00094_section_2_1597"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   s h o u l d   s e e   a n   I P v 4   a d d r e s s   i n   t h e   A D D R E S S   c o l u m n ;   f o r   e x a m p l e :   N A M E   C L A S S   H O S T S   A D D R E S S   P O R T S   A G E   e x a m p l e - i n g r e s s   n g i n x   h e l l o - w o r l d . e x a m p l e   1 7 2 . 1 7 . 0 . 1 5   8 0   3 8 s   V e r i f y   t h a t   t h e   I n g r e s s   c o n t r o l l e r   i s   d i r e c t i n g   t r a f f i c ,   b y   f o l l o w i n g   t h e   i n s t r u c t i o n s   f o r   y o u r   p l a t f o r m :",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/",
    "id": "k8s_00094_section_4_1598"
  },
  {
    "question": "What is Note:?",
    "answer": "c u r l   - - r e s o l v e   \" h e l l o - w o r l d . e x a m p l e : 8 0 : $ (   m i n i k u b e   i p   ) \"   - i   h t t p : / / h e l l o - w o r l d . e x a m p l e   m i n i k u b e   t u n n e l   T h e   o u t p u t   i s   s i m i l a r   t o : T u n n e l   s u c c e s s f u l l y   s t a r t e d   N O T E :   P l e a s e   d o   n o t   c l o s e   t h i s   t e r m i n a l   a s   t h i s   p r o c e s s   m u s t   s t a y   a l i v e   f o r   t h e   t u n n e l   t o   b e   a c c e s s i b l e   . . .   T h e   s e r v i c e / i n g r e s s   e x a m p l e - i n g r e s s   r e q u i r e s   p r i v i l e g e d   p o r t s   t o   b e   e x p o s e d :   [ 8 0   4 4 3 ]   s u d o   p e r m i s s i o n   w i l l   b e   a s k e d   f o r   i t .   S t a r t i n g   t u n n e l   f o r   s e r v i c e   e x a m p l e - i n g r e s s .   F r o m   w i t h i n   a   n e w   t e r m i n a l ,   i n v o k e   t h e   f o l l o w i n g   c o m m a n d : c u r l   - - r e s o l v e   \" h e l l o - w o r l d . e x a m p l e : 8 0 : 1 2 7 . 0 . 0 . 1 \"   - i   h t t p : / / h e l l o - w o r l d . e x a m p l e   Y o u   s h o u l d   s e e :   c u r l   - - r e s o l v e   \" h e l l o - w o r l d . e x a m p l e : 8 0 : $ (   m i n i k u b e   i p   ) \"   - i   h t t p : / / h e l l o - w o r l d . e x a m p l e   c u r l   - - r e s o l v e   \" h e l l o - w o r l d . e x a m p l e : 8 0 : $ (   m i n i k u b e   i p   ) \"   - i   h t t p : / / h e l l o - w o r l d . e x a m p l e   m i n i k u b e   t u n n e l   T h e   o u t p u t   i s   s i m i l a r   t o : T u n n e l   s u c c e s s f u l l y   s t a r t e d   N O T E :   P l e a s e   d o   n o t   c l o s e   t h i s   t e r m i n a l   a s   t h i s   p r o c e s s   m u s t   s t a y   a l i v e   f o r   t h e   t u n n e l   t o   b e   a c c e s s i b l e   . . .   T h e   s e r v i c e / i n g r e s s   e x a m p l e - i n g r e s s   r e q u i r e s   p r i v i l e g e d   p o r t s   t ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/",
    "id": "k8s_00094_section_4_1599"
  },
  {
    "question": "What is Note:?",
    "answer": "1 2 7 . 0 . 0 . 1   h e l l o - w o r l d . e x a m p l e   1 2 7 . 0 . 0 . 1   h e l l o - w o r l d . e x a m p l e   A f t e r   y o u   m a k e   t h i s   c h a n g e ,   y o u r   w e b   b r o w s e r   s e n d s   r e q u e s t s   f o r   h e l l o - w o r l d . e x a m p l e   U R L s   t o   M i n i k u b e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/",
    "id": "k8s_00094_section_4_1600"
  },
  {
    "question": "What is Create a second Deployment?",
    "answer": "C r e a t e   a n o t h e r   D e p l o y m e n t   u s i n g   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   c r e a t e   d e p l o y m e n t   w e b 2   - - i m a g e = g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 2 . 0   T h e   o u t p u t   s h o u l d   b e : d e p l o y m e n t . a p p s / w e b 2   c r e a t e d   V e r i f y   t h a t   t h e   D e p l o y m e n t   i s   i n   a   R e a d y   s t a t e : k u b e c t l   g e t   d e p l o y m e n t   w e b 2   T h e   o u t p u t   s h o u l d   b e   s i m i l a r   t o : N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   w e b 2   1 / 1   1   1   1 6 s   E x p o s e   t h e   s e c o n d   D e p l o y m e n t : k u b e c t l   e x p o s e   d e p l o y m e n t   w e b 2   - - p o r t = 8 0 8 0   - - t y p e = N o d e P o r t   T h e   o u t p u t   s h o u l d   b e : s e r v i c e / w e b 2   e x p o s e d   C r e a t e   a n o t h e r   D e p l o y m e n t   u s i n g   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   c r e a t e   d e p l o y m e n t   w e b 2   - - i m a g e = g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 2 . 0   T h e   o u t p u t   s h o u l d   b e :   d e p l o y m e n t . a p p s / w e b 2   c r e a t e d   V e r i f y   t h a t   t h e   D e p l o y m e n t   i s   i n   a   R e a d y   s t a t e :   k u b e c t l   g e t   d e p l o y m e n t   w e b 2   T h e   o u t p u t   s h o u l d   b e   s i m i l a r   t o :   N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   w e b 2   1 / 1   1   1   1 6 s   E x p o s e   t h e   s e c o n d   D e p l o y m e n t :   k u b e c t l   e x p o s e   d e p l o y m e n t   w e b 2   - - p o r t = 8 0 8 0   - - t y p e = N o d e P o r t   T h e   o u t p u t   s h o u l d   b e :   s e r v i c e / w e b 2   e x p o s e d",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/",
    "id": "k8s_00094_section_2_1601"
  },
  {
    "question": "What is Edit the existing Ingress?",
    "answer": "E d i t   t h e   e x i s t i n g   e x a m p l e - i n g r e s s . y a m l   m a n i f e s t ,   a n d   a d d   t h e   f o l l o w i n g   l i n e s   a t   t h e   e n d : -   p a t h :   / v 2   p a t h T y p e :   P r e f i x   b a c k e n d :   s e r v i c e :   n a m e :   w e b 2   p o r t :   n u m b e r :   8 0 8 0   A p p l y   t h e   c h a n g e s : k u b e c t l   a p p l y   - f   e x a m p l e - i n g r e s s . y a m l   Y o u   s h o u l d   s e e : i n g r e s s . n e t w o r k i n g / e x a m p l e - i n g r e s s   c o n f i g u r e d   E d i t   t h e   e x i s t i n g   e x a m p l e - i n g r e s s . y a m l   m a n i f e s t ,   a n d   a d d   t h e   f o l l o w i n g   l i n e s   a t   t h e   e n d :   -   p a t h :   / v 2   p a t h T y p e :   P r e f i x   b a c k e n d :   s e r v i c e :   n a m e :   w e b 2   p o r t :   n u m b e r :   8 0 8 0   A p p l y   t h e   c h a n g e s :   k u b e c t l   a p p l y   - f   e x a m p l e - i n g r e s s . y a m l   Y o u   s h o u l d   s e e :   i n g r e s s . n e t w o r k i n g / e x a m p l e - i n g r e s s   c o n f i g u r e d",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/",
    "id": "k8s_00094_section_2_1602"
  },
  {
    "question": "What is Test your Ingress?",
    "answer": "A c c e s s   t h e   1 s t   v e r s i o n   o f   t h e   H e l l o   W o r l d   a p p . c u r l   - - r e s o l v e   \" h e l l o - w o r l d . e x a m p l e : 8 0 : $ (   m i n i k u b e   i p   ) \"   - i   h t t p : / / h e l l o - w o r l d . e x a m p l e   m i n i k u b e   t u n n e l   T h e   o u t p u t   i s   s i m i l a r   t o : T u n n e l   s u c c e s s f u l l y   s t a r t e d   N O T E :   P l e a s e   d o   n o t   c l o s e   t h i s   t e r m i n a l   a s   t h i s   p r o c e s s   m u s t   s t a y   a l i v e   f o r   t h e   t u n n e l   t o   b e   a c c e s s i b l e   . . .   T h e   s e r v i c e / i n g r e s s   e x a m p l e - i n g r e s s   r e q u i r e s   p r i v i l e g e d   p o r t s   t o   b e   e x p o s e d :   [ 8 0   4 4 3 ]   s u d o   p e r m i s s i o n   w i l l   b e   a s k e d   f o r   i t .   S t a r t i n g   t u n n e l   f o r   s e r v i c e   e x a m p l e - i n g r e s s .   F r o m   w i t h i n   a   n e w   t e r m i n a l ,   i n v o k e   t h e   f o l l o w i n g   c o m m a n d : c u r l   - - r e s o l v e   \" h e l l o - w o r l d . e x a m p l e : 8 0 : 1 2 7 . 0 . 0 . 1 \"   - i   h t t p : / / h e l l o - w o r l d . e x a m p l e   T h e   o u t p u t   i s   s i m i l a r   t o : H e l l o ,   w o r l d !   V e r s i o n :   1 . 0 . 0   H o s t n a m e :   w e b - 5 5 b 8 c 6 9 9 8 d - 8 k 5 6 4   A c c e s s   t h e   2 n d   v e r s i o n   o f   t h e   H e l l o   W o r l d   a p p . c u r l   - - r e s o l v e   \" h e l l o - w o r l d . e x a m p l e : 8 0 : $ (   m i n i k u b e   i p   ) \"   - i   h t t p : / / h e l l o - w o r l d . e x a m p l e / v 2   m i n i k u b e   t u n n e l   T h e   o u t p u t   i s   s i m i l a r   t o : T u n n e l   s u c c e s s f u l l y   s t a r t e d   N O T E :   P l e a s e   d o   n o t   c l o s e   t h i s   t e r m i n a l   a s   t h i s   p r o c e s s   m u s t   s t a y   a l i v e   f o r   t h e   t u n n e l   t o   b e   a ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/",
    "id": "k8s_00094_section_2_1603"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   m o r e   a b o u t   I n g r e s s R e a d   m o r e   a b o u t   I n g r e s s   C o n t r o l l e r s R e a d   m o r e   a b o u t   S e r v i c e s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/",
    "id": "k8s_00094_section_2_1604"
  },
  {
    "question": "What is kuberc (v1alpha1)?",
    "answer": "kuberc (v1alpha1)Resource TypesPreferencePreferencePreference stores elements of KubeRC configuration fileFieldDescriptionapiVersionstringkubectl.config.k8s.io/v1alpha1kindstringPreferenceoverrides [Required][]CommandOverrideoverrides allows changing default flag values of commands. This is especially useful, when user doesn't want to explicitly set flags each time.aliases [Required][]AliasOverridealiases allows defining command aliases for existing kubectl commands, with optional default flag values. If the alias name collides with a built-in command, built-in command always takes precedence. Flag overrides defined in the overrides section do NOT apply to aliases for the same command. kubectl [ALIAS NAME] [USER_FLAGS] [USER_EXPLICIT_ARGS] expands to kubectl [COMMAND] # built-in command alias points to [KUBERC_PREPEND_ARGS] [USER_FLAGS] [KUBERC_FLAGS] # rest of the flags that are not passed by user in [USER_FLAGS] [USER_EXPLICIT_ARGS] [KUBERC_APPEND_ARGS] e.g.name: runx command: run flags:name: image default: nginx appendArgs:custom-arg1 For example, if user invokes \"kubectl runx test-pod\" command, this will be expanded to \"kubectl run --image=nginx test-pod -- custom-arg1\"name: getn command: get flags:name: output default: wide prependArgs:node \"kubectl getn control-plane-1\" expands to \"kubectl get node control-plane-1 --output=wide\" \"kubectl getn control-plane-1 --output=json\" expands to \"kubectl get node --output=json control-plane-1\"AliasOverrideAppears in:PreferenceAliasOverride stores the alias definitions.FieldDescriptionname [Required]stringName is the name of alias that can only include alphabetical characters If the alias name conflicts with the built-in command, built-in command will be used.command [Required]stringCommand is the single or set of commands to execute, such as \"set env\" or \"create\"prependArgs [Required][]stringPrependArgs stores the arguments such as resource names, etc. These arguments are inserted after the alias name.appendArgs [Required][]stringAppendArgs stores the arguments such as resource names, etc. These arguments are appended to the USER_ARGS.flags [Required][]CommandOverrideFlagFlag is allocated to store the flag definitions of alias. Flag only modifies the default value of the flag and if user explicitly passes a value, explicit one is used.CommandOverrideAppears in:PreferenceCommandOverride stores the commands and their associated flag's default values.FieldDescriptioncommand [Required]stringCommand refers to a command whose flag's default value is changed.flags [Required][]CommandOverrideFlagFlags is a list of flags storing different default values.CommandOverrideFlagAppears in:AliasOverrideCommandOverrideCommandOverrideFlag stores the name and the specified default value of the flag.FieldDescriptionname [Required]stringFlag name (long form, without dashes).default [Required]stringIn a string format of a default value. It will be parsed by kubectl to the compatible value of the flag.This page is automatica",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kuberc.v1alpha1/",
    "id": "k8s_00095_qa_1605"
  },
  {
    "question": "How does kuberc (v1alpha1) work?",
    "answer": "kuberc (v1alpha1)Resource TypesPreferencePreferencePreference stores elements of KubeRC configuration fileFieldDescriptionapiVersionstringkubectl.config.k8s.io/v1alpha1kindstringPreferenceoverrides [Required][]CommandOverrideoverrides allows changing default flag values of commands. This is especially useful, when user doesn't want to explicitly set flags each time.aliases [Required][]AliasOverridealiases allows defining command aliases for existing kubectl commands, with optional default flag values. If the alias name collides with a built-in command, built-in command always takes precedence. Flag overrides defined in the overrides section do NOT apply to aliases for the same command. kubectl [ALIAS NAME] [USER_FLAGS] [USER_EXPLICIT_ARGS] expands to kubectl [COMMAND] # built-in command alias points to [KUBERC_PREPEND_ARGS] [USER_FLAGS] [KUBERC_FLAGS] # rest of the flags that are not passed by user in [USER_FLAGS] [USER_EXPLICIT_ARGS] [KUBERC_APPEND_ARGS] e.g.name: runx command: run flags:name: image default: nginx appendArgs:custom-arg1 For example, if user invokes \"kubectl runx test-pod\" command, this will be expanded to \"kubectl run --image=nginx test-pod -- custom-arg1\"name: getn command: get flags:name: output default: wide prependArgs:node \"kubectl getn control-plane-1\" expands to \"kubectl get node control-plane-1 --output=wide\" \"kubectl getn control-plane-1 --output=json\" expands to \"kubectl get node --output=json control-plane-1\"AliasOverrideAppears in:PreferenceAliasOverride stores the alias definitions.FieldDescriptionname [Required]stringName is the name of alias that can only include alphabetical characters If the alias name conflicts with the built-in command, built-in command will be used.command [Required]stringCommand is the single or set of commands to execute, such as \"set env\" or \"create\"prependArgs [Required][]stringPrependArgs stores the arguments such as resource names, etc. These arguments are inserted after the alias name.appendArgs [Required][]stringAppendArgs stores the arguments such as resource names, etc. These arguments are appended to the USER_ARGS.flags [Required][]CommandOverrideFlagFlag is allocated to store the flag definitions of alias. Flag only modifies the default value of the flag and if user explicitly passes a value, explicit one is used.CommandOverrideAppears in:PreferenceCommandOverride stores the commands and their associated flag's default values.FieldDescriptioncommand [Required]stringCommand refers to a command whose flag's default value is changed.flags [Required][]CommandOverrideFlagFlags is a list of flags storing different default values.CommandOverrideFlagAppears in:AliasOverrideCommandOverrideCommandOverrideFlag stores the name and the specified default value of the flag.FieldDescriptionname [Required]stringFlag name (long form, without dashes).default [Required]stringIn a string format of a default value. It will be parsed by kubectl to the compatible value of the flag.This page is automatica",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kuberc.v1alpha1/",
    "id": "k8s_00095_qa_1606"
  },
  {
    "question": "When would you use kuberc (v1alpha1)?",
    "answer": "kuberc (v1alpha1)Resource TypesPreferencePreferencePreference stores elements of KubeRC configuration fileFieldDescriptionapiVersionstringkubectl.config.k8s.io/v1alpha1kindstringPreferenceoverrides [Required][]CommandOverrideoverrides allows changing default flag values of commands. This is especially useful, when user doesn't want to explicitly set flags each time.aliases [Required][]AliasOverridealiases allows defining command aliases for existing kubectl commands, with optional default flag values. If the alias name collides with a built-in command, built-in command always takes precedence. Flag overrides defined in the overrides section do NOT apply to aliases for the same command. kubectl [ALIAS NAME] [USER_FLAGS] [USER_EXPLICIT_ARGS] expands to kubectl [COMMAND] # built-in command alias points to [KUBERC_PREPEND_ARGS] [USER_FLAGS] [KUBERC_FLAGS] # rest of the flags that are not passed by user in [USER_FLAGS] [USER_EXPLICIT_ARGS] [KUBERC_APPEND_ARGS] e.g.name: runx command: run flags:name: image default: nginx appendArgs:custom-arg1 For example, if user invokes \"kubectl runx test-pod\" command, this will be expanded to \"kubectl run --image=nginx test-pod -- custom-arg1\"name: getn command: get flags:name: output default: wide prependArgs:node \"kubectl getn control-plane-1\" expands to \"kubectl get node control-plane-1 --output=wide\" \"kubectl getn control-plane-1 --output=json\" expands to \"kubectl get node --output=json control-plane-1\"AliasOverrideAppears in:PreferenceAliasOverride stores the alias definitions.FieldDescriptionname [Required]stringName is the name of alias that can only include alphabetical characters If the alias name conflicts with the built-in command, built-in command will be used.command [Required]stringCommand is the single or set of commands to execute, such as \"set env\" or \"create\"prependArgs [Required][]stringPrependArgs stores the arguments such as resource names, etc. These arguments are inserted after the alias name.appendArgs [Required][]stringAppendArgs stores the arguments such as resource names, etc. These arguments are appended to the USER_ARGS.flags [Required][]CommandOverrideFlagFlag is allocated to store the flag definitions of alias. Flag only modifies the default value of the flag and if user explicitly passes a value, explicit one is used.CommandOverrideAppears in:PreferenceCommandOverride stores the commands and their associated flag's default values.FieldDescriptioncommand [Required]stringCommand refers to a command whose flag's default value is changed.flags [Required][]CommandOverrideFlagFlags is a list of flags storing different default values.CommandOverrideFlagAppears in:AliasOverrideCommandOverrideCommandOverrideFlag stores the name and the specified default value of the flag.FieldDescriptionname [Required]stringFlag name (long form, without dashes).default [Required]stringIn a string format of a default value. It will be parsed by kubectl to the compatible value of the flag.This page is automatica",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kuberc.v1alpha1/",
    "id": "k8s_00095_qa_1607"
  },
  {
    "question": "What are the benefits of kuberc (v1alpha1)?",
    "answer": "kuberc (v1alpha1)Resource TypesPreferencePreferencePreference stores elements of KubeRC configuration fileFieldDescriptionapiVersionstringkubectl.config.k8s.io/v1alpha1kindstringPreferenceoverrides [Required][]CommandOverrideoverrides allows changing default flag values of commands. This is especially useful, when user doesn't want to explicitly set flags each time.aliases [Required][]AliasOverridealiases allows defining command aliases for existing kubectl commands, with optional default flag values. If the alias name collides with a built-in command, built-in command always takes precedence. Flag overrides defined in the overrides section do NOT apply to aliases for the same command. kubectl [ALIAS NAME] [USER_FLAGS] [USER_EXPLICIT_ARGS] expands to kubectl [COMMAND] # built-in command alias points to [KUBERC_PREPEND_ARGS] [USER_FLAGS] [KUBERC_FLAGS] # rest of the flags that are not passed by user in [USER_FLAGS] [USER_EXPLICIT_ARGS] [KUBERC_APPEND_ARGS] e.g.name: runx command: run flags:name: image default: nginx appendArgs:custom-arg1 For example, if user invokes \"kubectl runx test-pod\" command, this will be expanded to \"kubectl run --image=nginx test-pod -- custom-arg1\"name: getn command: get flags:name: output default: wide prependArgs:node \"kubectl getn control-plane-1\" expands to \"kubectl get node control-plane-1 --output=wide\" \"kubectl getn control-plane-1 --output=json\" expands to \"kubectl get node --output=json control-plane-1\"AliasOverrideAppears in:PreferenceAliasOverride stores the alias definitions.FieldDescriptionname [Required]stringName is the name of alias that can only include alphabetical characters If the alias name conflicts with the built-in command, built-in command will be used.command [Required]stringCommand is the single or set of commands to execute, such as \"set env\" or \"create\"prependArgs [Required][]stringPrependArgs stores the arguments such as resource names, etc. These arguments are inserted after the alias name.appendArgs [Required][]stringAppendArgs stores the arguments such as resource names, etc. These arguments are appended to the USER_ARGS.flags [Required][]CommandOverrideFlagFlag is allocated to store the flag definitions of alias. Flag only modifies the default value of the flag and if user explicitly passes a value, explicit one is used.CommandOverrideAppears in:PreferenceCommandOverride stores the commands and their associated flag's default values.FieldDescriptioncommand [Required]stringCommand refers to a command whose flag's default value is changed.flags [Required][]CommandOverrideFlagFlags is a list of flags storing different default values.CommandOverrideFlagAppears in:AliasOverrideCommandOverrideCommandOverrideFlag stores the name and the specified default value of the flag.FieldDescriptionname [Required]stringFlag name (long form, without dashes).default [Required]stringIn a string format of a default value. It will be parsed by kubectl to the compatible value of the flag.This page is automatica",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kuberc.v1alpha1/",
    "id": "k8s_00095_qa_1608"
  },
  {
    "question": "What is Resource Types?",
    "answer": "P r e f e r e n c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kuberc.v1alpha1/",
    "id": "k8s_00095_section_2_1609"
  },
  {
    "question": "What is Preference?",
    "answer": "P r e f e r e n c e   s t o r e s   e l e m e n t s   o f   K u b e R C   c o n f i g u r a t i o n   f i l e   o v e r r i d e s   a l l o w s   c h a n g i n g   d e f a u l t   f l a g   v a l u e s   o f   c o m m a n d s .   T h i s   i s   e s p e c i a l l y   u s e f u l ,   w h e n   u s e r   d o e s n ' t   w a n t   t o   e x p l i c i t l y   s e t   f l a g s   e a c h   t i m e .   a l i a s e s   a l l o w s   d e f i n i n g   c o m m a n d   a l i a s e s   f o r   e x i s t i n g   k u b e c t l   c o m m a n d s ,   w i t h   o p t i o n a l   d e f a u l t   f l a g   v a l u e s .   I f   t h e   a l i a s   n a m e   c o l l i d e s   w i t h   a   b u i l t - i n   c o m m a n d ,   b u i l t - i n   c o m m a n d   a l w a y s   t a k e s   p r e c e d e n c e .   F l a g   o v e r r i d e s   d e f i n e d   i n   t h e   o v e r r i d e s   s e c t i o n   d o   N O T   a p p l y   t o   a l i a s e s   f o r   t h e   s a m e   c o m m a n d .   k u b e c t l   [ A L I A S   N A M E ]   [ U S E R _ F L A G S ]   [ U S E R _ E X P L I C I T _ A R G S ]   e x p a n d s   t o   k u b e c t l   [ C O M M A N D ]   #   b u i l t - i n   c o m m a n d   a l i a s   p o i n t s   t o   [ K U B E R C _ P R E P E N D _ A R G S ]   [ U S E R _ F L A G S ]   [ K U B E R C _ F L A G S ]   #   r e s t   o f   t h e   f l a g s   t h a t   a r e   n o t   p a s s e d   b y   u s e r   i n   [ U S E R _ F L A G S ]   [ U S E R _ E X P L I C I T _ A R G S ]   [ K U B E R C _ A P P E N D _ A R G S ]   e . g .   n a m e :   r u n x   c o m m a n d :   r u n   f l a g s : n a m e :   i m a g e   d e f a u l t :   n g i n x   a p p e n d A r g s : c u s t o m - a r g 1   F o r   e x a m p l e ,   i f   u s e r   i n v o k e s   \" k u b e c t l   r u n x   t e s t - p o d \"   c o m m a n d ,   t h i s   w i l l   b e   e x p a n d e d   t o   \" k u b e c t l   r u n   - - i m a g e = n g i n x   t e s t - p o d   - -   c u s t o m - a r g 1 \" n a m e :   g e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kuberc.v1alpha1/",
    "id": "k8s_00095_section_2_1610"
  },
  {
    "question": "What is AliasOverride?",
    "answer": "A p p e a r s   i n :   P r e f e r e n c e   A l i a s O v e r r i d e   s t o r e s   t h e   a l i a s   d e f i n i t i o n s .   N a m e   i s   t h e   n a m e   o f   a l i a s   t h a t   c a n   o n l y   i n c l u d e   a l p h a b e t i c a l   c h a r a c t e r s   I f   t h e   a l i a s   n a m e   c o n f l i c t s   w i t h   t h e   b u i l t - i n   c o m m a n d ,   b u i l t - i n   c o m m a n d   w i l l   b e   u s e d .   C o m m a n d   i s   t h e   s i n g l e   o r   s e t   o f   c o m m a n d s   t o   e x e c u t e ,   s u c h   a s   \" s e t   e n v \"   o r   \" c r e a t e \"   P r e p e n d A r g s   s t o r e s   t h e   a r g u m e n t s   s u c h   a s   r e s o u r c e   n a m e s ,   e t c .   T h e s e   a r g u m e n t s   a r e   i n s e r t e d   a f t e r   t h e   a l i a s   n a m e .   A p p e n d A r g s   s t o r e s   t h e   a r g u m e n t s   s u c h   a s   r e s o u r c e   n a m e s ,   e t c .   T h e s e   a r g u m e n t s   a r e   a p p e n d e d   t o   t h e   U S E R _ A R G S .   F l a g   i s   a l l o c a t e d   t o   s t o r e   t h e   f l a g   d e f i n i t i o n s   o f   a l i a s .   F l a g   o n l y   m o d i f i e s   t h e   d e f a u l t   v a l u e   o f   t h e   f l a g   a n d   i f   u s e r   e x p l i c i t l y   p a s s e s   a   v a l u e ,   e x p l i c i t   o n e   i s   u s e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kuberc.v1alpha1/",
    "id": "k8s_00095_section_2_1611"
  },
  {
    "question": "What is CommandOverride?",
    "answer": "A p p e a r s   i n :   P r e f e r e n c e   C o m m a n d O v e r r i d e   s t o r e s   t h e   c o m m a n d s   a n d   t h e i r   a s s o c i a t e d   f l a g ' s   d e f a u l t   v a l u e s .   C o m m a n d   r e f e r s   t o   a   c o m m a n d   w h o s e   f l a g ' s   d e f a u l t   v a l u e   i s   c h a n g e d .   F l a g s   i s   a   l i s t   o f   f l a g s   s t o r i n g   d i f f e r e n t   d e f a u l t   v a l u e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kuberc.v1alpha1/",
    "id": "k8s_00095_section_2_1612"
  },
  {
    "question": "What is CommandOverrideFlag?",
    "answer": "A p p e a r s   i n :   A l i a s O v e r r i d e C o m m a n d O v e r r i d e   A l i a s O v e r r i d e   C o m m a n d O v e r r i d e   C o m m a n d O v e r r i d e F l a g   s t o r e s   t h e   n a m e   a n d   t h e   s p e c i f i e d   d e f a u l t   v a l u e   o f   t h e   f l a g .   F l a g   n a m e   ( l o n g   f o r m ,   w i t h o u t   d a s h e s ) .   I n   a   s t r i n g   f o r m a t   o f   a   d e f a u l t   v a l u e .   I t   w i l l   b e   p a r s e d   b y   k u b e c t l   t o   t h e   c o m p a t i b l e   v a l u e   o f   t h e   f l a g .   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kuberc.v1alpha1/",
    "id": "k8s_00095_section_2_1613"
  },
  {
    "question": "What is Using NodeLocal DNSCache in Kubernetes Clusters?",
    "answer": "Using NodeLocal DNSCache in Kubernetes ClustersFEATURE STATE: Kubernetes v1.18 [stable]This page provides an overview of NodeLocal DNSCache feature in Kubernetes.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.IntroductionNodeLocal DNSCache improves Cluster DNS performance by running a DNS caching agent on cluster nodes as a DaemonSet. In today's architecture, Pods in 'ClusterFirst' DNS mode reach out to a kube-dns serviceIP for DNS queries. This is translated to a kube-dns/CoreDNS endpoint via iptables rules added by kube-proxy. With this new architecture, Pods will reach out to the DNS caching agent running on the same node, thereby avoiding iptables DNAT rules and connection tracking. The local caching agent will query kube-dns service for cache misses of cluster hostnames (\"cluster.local\" suffix by default).MotivationWith the current DNS architecture, it is possible that Pods with the highest DNS QPS have to reach out to a different node, if there is no local kube-dns/CoreDNS instance. Having a local cache will help improve the latency in such scenarios.Skipping iptables DNAT and connection tracking will help reduce conntrack races and avoid UDP DNS entries filling up conntrack table.Connections from the local caching agent to kube-dns service can be upgraded to TCP. TCP conntrack entries will be removed on connection close in contrast with UDP entries that have to timeout (default nf_conntrack_udp_timeout is 30 seconds)Upgrading DNS queries from UDP to TCP would reduce tail latency attributed to dropped UDP packets and DNS timeouts usually up to 30s (3 retries + 10s timeout). Since the nodelocal cache listens for UDP DNS queries, applications don't need to be changed.Metrics & visibility into DNS requests at a node level.Negative caching can be re-enabled, thereby reducing the number of queries for the kube-dns service.Architecture DiagramThis is the path followed by DNS Queries after NodeLocal DNSCache is enabled:Nodelocal DNSCache flowThis image shows how NodeLocal DNSCache handles DNS queries.ConfigurationNote:The local listen IP address for NodeLocal DNSCache can be any address that can be guaranteed to not collide with any existing IP in your cluster. It's recommended to use an address with a local scope, for example, from the 'link-local' range '169.254.0.0/16' for IPv4 or from the 'Unique Local Address' range in IPv6 'fd00::/8'.This feature can be enabled using the following steps:Prepare a manifest similar to the sample nodelocaldns.yaml and save it as nodelocaldns.yaml.If using IPv6, the CoreDNS configurat",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/nodelocaldns/",
    "id": "k8s_00096_qa_1614"
  },
  {
    "question": "How does Using NodeLocal DNSCache in Kubernetes Clusters work?",
    "answer": "Using NodeLocal DNSCache in Kubernetes ClustersFEATURE STATE: Kubernetes v1.18 [stable]This page provides an overview of NodeLocal DNSCache feature in Kubernetes.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.IntroductionNodeLocal DNSCache improves Cluster DNS performance by running a DNS caching agent on cluster nodes as a DaemonSet. In today's architecture, Pods in 'ClusterFirst' DNS mode reach out to a kube-dns serviceIP for DNS queries. This is translated to a kube-dns/CoreDNS endpoint via iptables rules added by kube-proxy. With this new architecture, Pods will reach out to the DNS caching agent running on the same node, thereby avoiding iptables DNAT rules and connection tracking. The local caching agent will query kube-dns service for cache misses of cluster hostnames (\"cluster.local\" suffix by default).MotivationWith the current DNS architecture, it is possible that Pods with the highest DNS QPS have to reach out to a different node, if there is no local kube-dns/CoreDNS instance. Having a local cache will help improve the latency in such scenarios.Skipping iptables DNAT and connection tracking will help reduce conntrack races and avoid UDP DNS entries filling up conntrack table.Connections from the local caching agent to kube-dns service can be upgraded to TCP. TCP conntrack entries will be removed on connection close in contrast with UDP entries that have to timeout (default nf_conntrack_udp_timeout is 30 seconds)Upgrading DNS queries from UDP to TCP would reduce tail latency attributed to dropped UDP packets and DNS timeouts usually up to 30s (3 retries + 10s timeout). Since the nodelocal cache listens for UDP DNS queries, applications don't need to be changed.Metrics & visibility into DNS requests at a node level.Negative caching can be re-enabled, thereby reducing the number of queries for the kube-dns service.Architecture DiagramThis is the path followed by DNS Queries after NodeLocal DNSCache is enabled:Nodelocal DNSCache flowThis image shows how NodeLocal DNSCache handles DNS queries.ConfigurationNote:The local listen IP address for NodeLocal DNSCache can be any address that can be guaranteed to not collide with any existing IP in your cluster. It's recommended to use an address with a local scope, for example, from the 'link-local' range '169.254.0.0/16' for IPv4 or from the 'Unique Local Address' range in IPv6 'fd00::/8'.This feature can be enabled using the following steps:Prepare a manifest similar to the sample nodelocaldns.yaml and save it as nodelocaldns.yaml.If using IPv6, the CoreDNS configurat",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/nodelocaldns/",
    "id": "k8s_00096_qa_1615"
  },
  {
    "question": "When would you use Using NodeLocal DNSCache in Kubernetes Clusters?",
    "answer": "Using NodeLocal DNSCache in Kubernetes ClustersFEATURE STATE: Kubernetes v1.18 [stable]This page provides an overview of NodeLocal DNSCache feature in Kubernetes.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.IntroductionNodeLocal DNSCache improves Cluster DNS performance by running a DNS caching agent on cluster nodes as a DaemonSet. In today's architecture, Pods in 'ClusterFirst' DNS mode reach out to a kube-dns serviceIP for DNS queries. This is translated to a kube-dns/CoreDNS endpoint via iptables rules added by kube-proxy. With this new architecture, Pods will reach out to the DNS caching agent running on the same node, thereby avoiding iptables DNAT rules and connection tracking. The local caching agent will query kube-dns service for cache misses of cluster hostnames (\"cluster.local\" suffix by default).MotivationWith the current DNS architecture, it is possible that Pods with the highest DNS QPS have to reach out to a different node, if there is no local kube-dns/CoreDNS instance. Having a local cache will help improve the latency in such scenarios.Skipping iptables DNAT and connection tracking will help reduce conntrack races and avoid UDP DNS entries filling up conntrack table.Connections from the local caching agent to kube-dns service can be upgraded to TCP. TCP conntrack entries will be removed on connection close in contrast with UDP entries that have to timeout (default nf_conntrack_udp_timeout is 30 seconds)Upgrading DNS queries from UDP to TCP would reduce tail latency attributed to dropped UDP packets and DNS timeouts usually up to 30s (3 retries + 10s timeout). Since the nodelocal cache listens for UDP DNS queries, applications don't need to be changed.Metrics & visibility into DNS requests at a node level.Negative caching can be re-enabled, thereby reducing the number of queries for the kube-dns service.Architecture DiagramThis is the path followed by DNS Queries after NodeLocal DNSCache is enabled:Nodelocal DNSCache flowThis image shows how NodeLocal DNSCache handles DNS queries.ConfigurationNote:The local listen IP address for NodeLocal DNSCache can be any address that can be guaranteed to not collide with any existing IP in your cluster. It's recommended to use an address with a local scope, for example, from the 'link-local' range '169.254.0.0/16' for IPv4 or from the 'Unique Local Address' range in IPv6 'fd00::/8'.This feature can be enabled using the following steps:Prepare a manifest similar to the sample nodelocaldns.yaml and save it as nodelocaldns.yaml.If using IPv6, the CoreDNS configurat",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/nodelocaldns/",
    "id": "k8s_00096_qa_1616"
  },
  {
    "question": "What are the benefits of Using NodeLocal DNSCache in Kubernetes Clusters?",
    "answer": "Using NodeLocal DNSCache in Kubernetes ClustersFEATURE STATE: Kubernetes v1.18 [stable]This page provides an overview of NodeLocal DNSCache feature in Kubernetes.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.IntroductionNodeLocal DNSCache improves Cluster DNS performance by running a DNS caching agent on cluster nodes as a DaemonSet. In today's architecture, Pods in 'ClusterFirst' DNS mode reach out to a kube-dns serviceIP for DNS queries. This is translated to a kube-dns/CoreDNS endpoint via iptables rules added by kube-proxy. With this new architecture, Pods will reach out to the DNS caching agent running on the same node, thereby avoiding iptables DNAT rules and connection tracking. The local caching agent will query kube-dns service for cache misses of cluster hostnames (\"cluster.local\" suffix by default).MotivationWith the current DNS architecture, it is possible that Pods with the highest DNS QPS have to reach out to a different node, if there is no local kube-dns/CoreDNS instance. Having a local cache will help improve the latency in such scenarios.Skipping iptables DNAT and connection tracking will help reduce conntrack races and avoid UDP DNS entries filling up conntrack table.Connections from the local caching agent to kube-dns service can be upgraded to TCP. TCP conntrack entries will be removed on connection close in contrast with UDP entries that have to timeout (default nf_conntrack_udp_timeout is 30 seconds)Upgrading DNS queries from UDP to TCP would reduce tail latency attributed to dropped UDP packets and DNS timeouts usually up to 30s (3 retries + 10s timeout). Since the nodelocal cache listens for UDP DNS queries, applications don't need to be changed.Metrics & visibility into DNS requests at a node level.Negative caching can be re-enabled, thereby reducing the number of queries for the kube-dns service.Architecture DiagramThis is the path followed by DNS Queries after NodeLocal DNSCache is enabled:Nodelocal DNSCache flowThis image shows how NodeLocal DNSCache handles DNS queries.ConfigurationNote:The local listen IP address for NodeLocal DNSCache can be any address that can be guaranteed to not collide with any existing IP in your cluster. It's recommended to use an address with a local scope, for example, from the 'link-local' range '169.254.0.0/16' for IPv4 or from the 'Unique Local Address' range in IPv6 'fd00::/8'.This feature can be enabled using the following steps:Prepare a manifest similar to the sample nodelocaldns.yaml and save it as nodelocaldns.yaml.If using IPv6, the CoreDNS configurat",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/nodelocaldns/",
    "id": "k8s_00096_qa_1617"
  },
  {
    "question": "What is Using NodeLocal DNSCache in Kubernetes Clusters?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   o f   N o d e L o c a l   D N S C a c h e   f e a t u r e   i n   K u b e r n e t e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/nodelocaldns/",
    "id": "k8s_00096_section_1_1618"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/nodelocaldns/",
    "id": "k8s_00096_section_2_1619"
  },
  {
    "question": "What is Introduction?",
    "answer": "N o d e L o c a l   D N S C a c h e   i m p r o v e s   C l u s t e r   D N S   p e r f o r m a n c e   b y   r u n n i n g   a   D N S   c a c h i n g   a g e n t   o n   c l u s t e r   n o d e s   a s   a   D a e m o n S e t .   I n   t o d a y ' s   a r c h i t e c t u r e ,   P o d s   i n   ' C l u s t e r F i r s t '   D N S   m o d e   r e a c h   o u t   t o   a   k u b e - d n s   s e r v i c e I P   f o r   D N S   q u e r i e s .   T h i s   i s   t r a n s l a t e d   t o   a   k u b e - d n s / C o r e D N S   e n d p o i n t   v i a   i p t a b l e s   r u l e s   a d d e d   b y   k u b e - p r o x y .   W i t h   t h i s   n e w   a r c h i t e c t u r e ,   P o d s   w i l l   r e a c h   o u t   t o   t h e   D N S   c a c h i n g   a g e n t   r u n n i n g   o n   t h e   s a m e   n o d e ,   t h e r e b y   a v o i d i n g   i p t a b l e s   D N A T   r u l e s   a n d   c o n n e c t i o n   t r a c k i n g .   T h e   l o c a l   c a c h i n g   a g e n t   w i l l   q u e r y   k u b e - d n s   s e r v i c e   f o r   c a c h e   m i s s e s   o f   c l u s t e r   h o s t n a m e s   ( \" c l u s t e r . l o c a l \"   s u f f i x   b y   d e f a u l t ) .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/nodelocaldns/",
    "id": "k8s_00096_section_2_1620"
  },
  {
    "question": "What is Motivation?",
    "answer": "W i t h   t h e   c u r r e n t   D N S   a r c h i t e c t u r e ,   i t   i s   p o s s i b l e   t h a t   P o d s   w i t h   t h e   h i g h e s t   D N S   Q P S   h a v e   t o   r e a c h   o u t   t o   a   d i f f e r e n t   n o d e ,   i f   t h e r e   i s   n o   l o c a l   k u b e - d n s / C o r e D N S   i n s t a n c e .   H a v i n g   a   l o c a l   c a c h e   w i l l   h e l p   i m p r o v e   t h e   l a t e n c y   i n   s u c h   s c e n a r i o s . S k i p p i n g   i p t a b l e s   D N A T   a n d   c o n n e c t i o n   t r a c k i n g   w i l l   h e l p   r e d u c e   c o n n t r a c k   r a c e s   a n d   a v o i d   U D P   D N S   e n t r i e s   f i l l i n g   u p   c o n n t r a c k   t a b l e . C o n n e c t i o n s   f r o m   t h e   l o c a l   c a c h i n g   a g e n t   t o   k u b e - d n s   s e r v i c e   c a n   b e   u p g r a d e d   t o   T C P .   T C P   c o n n t r a c k   e n t r i e s   w i l l   b e   r e m o v e d   o n   c o n n e c t i o n   c l o s e   i n   c o n t r a s t   w i t h   U D P   e n t r i e s   t h a t   h a v e   t o   t i m e o u t   ( d e f a u l t   n f _ c o n n t r a c k _ u d p _ t i m e o u t   i s   3 0   s e c o n d s ) U p g r a d i n g   D N S   q u e r i e s   f r o m   U D P   t o   T C P   w o u l d   r e d u c e   t a i l   l a t e n c y   a t t r i b u t e d   t o   d r o p p e d   U D P   p a c k e t s   a n d   D N S   t i m e o u t s   u s u a l l y   u p   t o   3 0 s   ( 3   r e t r i e s   +   1 0 s   t i m e o u t ) .   S i n c e   t h e   n o d e l o c a l   c a c h e   l i s t e n s   f o r   U D P   D N S   q u e r i e s ,   a p p l i c a t i o n s   d o n ' t   n e e d   t o   b e   c h a n g e d . M e t r i c s   &   v i s i b i l i t y   i n t o   D N S   r e q u e s t s   a t   a   n o d e   l e v e l . N e g a t i v e   c a c h i n g   c a n   b e   r e - e n a b l e d ,   t h e r e b y   r e d u c i n g   t h e   n u m b e r   o f   q u e r i e s   f o ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/nodelocaldns/",
    "id": "k8s_00096_section_2_1621"
  },
  {
    "question": "What is Architecture Diagram?",
    "answer": "T h i s   i s   t h e   p a t h   f o l l o w e d   b y   D N S   Q u e r i e s   a f t e r   N o d e L o c a l   D N S C a c h e   i s   e n a b l e d :",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/nodelocaldns/",
    "id": "k8s_00096_section_2_1622"
  },
  {
    "question": "What is Nodelocal DNSCache flow?",
    "answer": "T h i s   i m a g e   s h o w s   h o w   N o d e L o c a l   D N S C a c h e   h a n d l e s   D N S   q u e r i e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/nodelocaldns/",
    "id": "k8s_00096_section_4_1623"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   f e a t u r e   c a n   b e   e n a b l e d   u s i n g   t h e   f o l l o w i n g   s t e p s :   P r e p a r e   a   m a n i f e s t   s i m i l a r   t o   t h e   s a m p l e   n o d e l o c a l d n s . y a m l   a n d   s a v e   i t   a s   n o d e l o c a l d n s . y a m l . I f   u s i n g   I P v 6 ,   t h e   C o r e D N S   c o n f i g u r a t i o n   f i l e   n e e d s   t o   e n c l o s e   a l l   t h e   I P v 6   a d d r e s s e s   i n t o   s q u a r e   b r a c k e t s   i f   u s e d   i n   ' I P : P o r t '   f o r m a t .   I f   y o u   a r e   u s i n g   t h e   s a m p l e   m a n i f e s t   f r o m   t h e   p r e v i o u s   p o i n t ,   t h i s   w i l l   r e q u i r e   y o u   t o   m o d i f y   t h e   c o n f i g u r a t i o n   l i n e   L 7 0   l i k e   t h i s :   \" h e a l t h   [ _ _ P I L L A R _ _ L O C A L _ _ D N S _ _ ] : 8 0 8 0 \" S u b s t i t u t e   t h e   v a r i a b l e s   i n   t h e   m a n i f e s t   w i t h   t h e   r i g h t   v a l u e s : k u b e d n s = ` k u b e c t l   g e t   s v c   k u b e - d n s   - n   k u b e - s y s t e m   - o   j s o n p a t h = { . s p e c . c l u s t e r I P } `   d o m a i n = < c l u s t e r - d o m a i n >   l o c a l d n s = < n o d e - l o c a l - a d d r e s s >   < c l u s t e r - d o m a i n >   i s   \" c l u s t e r . l o c a l \"   b y   d e f a u l t .   < n o d e - l o c a l - a d d r e s s >   i s   t h e   l o c a l   l i s t e n   I P   a d d r e s s   c h o s e n   f o r   N o d e L o c a l   D N S C a c h e . I f   k u b e - p r o x y   i s   r u n n i n g   i n   I P T A B L E S   m o d e : s e d   - i   \" s / _ _ P I L L A R _ _ L O C A L _ _ D N S _ _ / $ l o c a l d n s / g ;   s / _ _ P I L L A R _ _ D N S _ _ D O M A I N _ _ / $ d o m a i n / g ;   s / _ _ P I L L A R _ _ D N S _ _ S E R V E R _ _ / $ k u b e d n s / g \"   n o d e l o c a l d n s . y a m l   _ _ P I L L A R _ _ C L U S T E R _ _ D N S _ _   a n d   _ _ P I L L A R _ _ ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/nodelocaldns/",
    "id": "k8s_00096_section_4_1624"
  },
  {
    "question": "What is StubDomains and Upstream server Configuration?",
    "answer": "S t u b D o m a i n s   a n d   u p s t r e a m   s e r v e r s   s p e c i f i e d   i n   t h e   k u b e - d n s   C o n f i g M a p   i n   t h e   k u b e - s y s t e m   n a m e s p a c e   a r e   a u t o m a t i c a l l y   p i c k e d   u p   b y   n o d e - l o c a l - d n s   p o d s .   T h e   C o n f i g M a p   c o n t e n t s   n e e d   t o   f o l l o w   t h e   f o r m a t   s h o w n   i n   t h e   e x a m p l e .   T h e   n o d e - l o c a l - d n s   C o n f i g M a p   c a n   a l s o   b e   m o d i f i e d   d i r e c t l y   w i t h   t h e   s t u b D o m a i n   c o n f i g u r a t i o n   i n   t h e   C o r e f i l e   f o r m a t .   S o m e   c l o u d   p r o v i d e r s   m i g h t   n o t   a l l o w   m o d i f y i n g   n o d e - l o c a l - d n s   C o n f i g M a p   d i r e c t l y .   I n   t h o s e   c a s e s ,   t h e   k u b e - d n s   C o n f i g M a p   c a n   b e   u p d a t e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/nodelocaldns/",
    "id": "k8s_00096_section_2_1625"
  },
  {
    "question": "What is Setting memory limits?",
    "answer": "T h e   n o d e - l o c a l - d n s   P o d s   u s e   m e m o r y   f o r   s t o r i n g   c a c h e   e n t r i e s   a n d   p r o c e s s i n g   q u e r i e s .   S i n c e   t h e y   d o   n o t   w a t c h   K u b e r n e t e s   o b j e c t s ,   t h e   c l u s t e r   s i z e   o r   t h e   n u m b e r   o f   S e r v i c e s   /   E n d p o i n t S l i c e s   d o   n o t   d i r e c t l y   a f f e c t   m e m o r y   u s a g e .   M e m o r y   u s a g e   i s   i n f l u e n c e d   b y   t h e   D N S   q u e r y   p a t t e r n .   F r o m   C o r e D N S   d o c s ,   T h e   d e f a u l t   c a c h e   s i z e   i s   1 0 0 0 0   e n t r i e s ,   w h i c h   u s e s   a b o u t   3 0   M B   w h e n   c o m p l e t e l y   f i l l e d .   T h i s   w o u l d   b e   t h e   m e m o r y   u s a g e   f o r   e a c h   s e r v e r   b l o c k   ( i f   t h e   c a c h e   g e t s   c o m p l e t e l y   f i l l e d ) .   M e m o r y   u s a g e   c a n   b e   r e d u c e d   b y   s p e c i f y i n g   s m a l l e r   c a c h e   s i z e s .   T h e   n u m b e r   o f   c o n c u r r e n t   q u e r i e s   i s   l i n k e d   t o   t h e   m e m o r y   d e m a n d ,   b e c a u s e   e a c h   e x t r a   g o r o u t i n e   u s e d   f o r   h a n d l i n g   a   q u e r y   r e q u i r e s   a n   a m o u n t   o f   m e m o r y .   Y o u   c a n   s e t   a n   u p p e r   l i m i t   u s i n g   t h e   m a x _ c o n c u r r e n t   o p t i o n   i n   t h e   f o r w a r d   p l u g i n .   I f   a   n o d e - l o c a l - d n s   P o d   a t t e m p t s   t o   u s e   m o r e   m e m o r y   t h a n   i s   a v a i l a b l e   ( b e c a u s e   o f   t o t a l   s y s t e m   r e s o u r c e s ,   o r   b e c a u s e   o f   a   c o n f i g u r e d   r e s o u r c e   l i m i t ) ,   t h e   o p e r a t i n g   s y s t e m   m a y   s h u t   d o w n   t h a t   p o d ' s   c o n t a i n e r .   I f   t h i s   h a p p e n s ,   t h e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/nodelocaldns/",
    "id": "k8s_00096_section_2_1626"
  },
  {
    "question": "What is Scheduler Configuration?",
    "answer": "Scheduler ConfigurationFEATURE STATE: Kubernetes v1.25 [stable]You can customize the behavior of the kube-scheduler by writing a configuration file and passing its path as a command line argument.A scheduling Profile allows you to configure the different stages of scheduling in the kube-scheduler. Each stage is exposed in an extension point. Plugins provide scheduling behaviors by implementing one or more of these extension points.You can specify scheduling profiles by running kube-scheduler --config <filename>, using the KubeSchedulerConfiguration v1 struct.A minimal configuration looks as follows:apiVersion: kubescheduler.config.k8s.io/v1 kind: KubeSchedulerConfiguration clientConnection: kubeconfig: /etc/srv/kubernetes/kube-scheduler/kubeconfig Note:KubeSchedulerConfiguration v1beta3 is deprecated in v1.26 and is removed in v1.29. Please migrate KubeSchedulerConfiguration to v1.ProfilesA scheduling Profile allows you to configure the different stages of scheduling in the kube-scheduler. Each stage is exposed in an extension point. Plugins provide scheduling behaviors by implementing one or more of these extension points.You can configure a single instance of kube-scheduler to run multiple profiles.Extension pointsScheduling happens in a series of stages that are exposed through the following extension points:queueSort: These plugins provide an ordering function that is used to sort pending Pods in the scheduling queue. Exactly one queue sort plugin may be enabled at a time.preFilter: These plugins are used to pre-process or check information about a Pod or the cluster before filtering. They can mark a pod as unschedulable.filter: These plugins are the equivalent of Predicates in a scheduling Policy and are used to filter out nodes that can not run the Pod. Filters are called in the configured order. A pod is marked as unschedulable if no nodes pass all the filters.postFilter: These plugins are called in their configured order when no feasible nodes were found for the pod. If any postFilter plugin marks the Pod schedulable, the remaining plugins are not called.preScore: This is an informational extension point that can be used for doing pre-scoring work.score: These plugins provide a score to each node that has passed the filtering phase. The scheduler will then select the node with the highest weighted scores sum.reserve: This is an informational extension point that notifies plugins when resources have been reserved for a given Pod. Plugins also implement an Unreserve call that gets called in the case of failure during or after Reserve.permit: These plugins can prevent or delay the binding of a Pod.preBind: These plugins perform any work required before a Pod is bound.bind: The plugins bind a Pod to a Node. bind plugins are called in order and once one has done the binding, the remaining plugins are skipped. At least one bind plugin is required.postBind: This is an informational extension point that is called after a Pod has been bound.multiP",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/scheduling/config/",
    "id": "k8s_00097_qa_1627"
  },
  {
    "question": "How does Scheduler Configuration work?",
    "answer": "Scheduler ConfigurationFEATURE STATE: Kubernetes v1.25 [stable]You can customize the behavior of the kube-scheduler by writing a configuration file and passing its path as a command line argument.A scheduling Profile allows you to configure the different stages of scheduling in the kube-scheduler. Each stage is exposed in an extension point. Plugins provide scheduling behaviors by implementing one or more of these extension points.You can specify scheduling profiles by running kube-scheduler --config <filename>, using the KubeSchedulerConfiguration v1 struct.A minimal configuration looks as follows:apiVersion: kubescheduler.config.k8s.io/v1 kind: KubeSchedulerConfiguration clientConnection: kubeconfig: /etc/srv/kubernetes/kube-scheduler/kubeconfig Note:KubeSchedulerConfiguration v1beta3 is deprecated in v1.26 and is removed in v1.29. Please migrate KubeSchedulerConfiguration to v1.ProfilesA scheduling Profile allows you to configure the different stages of scheduling in the kube-scheduler. Each stage is exposed in an extension point. Plugins provide scheduling behaviors by implementing one or more of these extension points.You can configure a single instance of kube-scheduler to run multiple profiles.Extension pointsScheduling happens in a series of stages that are exposed through the following extension points:queueSort: These plugins provide an ordering function that is used to sort pending Pods in the scheduling queue. Exactly one queue sort plugin may be enabled at a time.preFilter: These plugins are used to pre-process or check information about a Pod or the cluster before filtering. They can mark a pod as unschedulable.filter: These plugins are the equivalent of Predicates in a scheduling Policy and are used to filter out nodes that can not run the Pod. Filters are called in the configured order. A pod is marked as unschedulable if no nodes pass all the filters.postFilter: These plugins are called in their configured order when no feasible nodes were found for the pod. If any postFilter plugin marks the Pod schedulable, the remaining plugins are not called.preScore: This is an informational extension point that can be used for doing pre-scoring work.score: These plugins provide a score to each node that has passed the filtering phase. The scheduler will then select the node with the highest weighted scores sum.reserve: This is an informational extension point that notifies plugins when resources have been reserved for a given Pod. Plugins also implement an Unreserve call that gets called in the case of failure during or after Reserve.permit: These plugins can prevent or delay the binding of a Pod.preBind: These plugins perform any work required before a Pod is bound.bind: The plugins bind a Pod to a Node. bind plugins are called in order and once one has done the binding, the remaining plugins are skipped. At least one bind plugin is required.postBind: This is an informational extension point that is called after a Pod has been bound.multiP",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/scheduling/config/",
    "id": "k8s_00097_qa_1628"
  },
  {
    "question": "When would you use Scheduler Configuration?",
    "answer": "Scheduler ConfigurationFEATURE STATE: Kubernetes v1.25 [stable]You can customize the behavior of the kube-scheduler by writing a configuration file and passing its path as a command line argument.A scheduling Profile allows you to configure the different stages of scheduling in the kube-scheduler. Each stage is exposed in an extension point. Plugins provide scheduling behaviors by implementing one or more of these extension points.You can specify scheduling profiles by running kube-scheduler --config <filename>, using the KubeSchedulerConfiguration v1 struct.A minimal configuration looks as follows:apiVersion: kubescheduler.config.k8s.io/v1 kind: KubeSchedulerConfiguration clientConnection: kubeconfig: /etc/srv/kubernetes/kube-scheduler/kubeconfig Note:KubeSchedulerConfiguration v1beta3 is deprecated in v1.26 and is removed in v1.29. Please migrate KubeSchedulerConfiguration to v1.ProfilesA scheduling Profile allows you to configure the different stages of scheduling in the kube-scheduler. Each stage is exposed in an extension point. Plugins provide scheduling behaviors by implementing one or more of these extension points.You can configure a single instance of kube-scheduler to run multiple profiles.Extension pointsScheduling happens in a series of stages that are exposed through the following extension points:queueSort: These plugins provide an ordering function that is used to sort pending Pods in the scheduling queue. Exactly one queue sort plugin may be enabled at a time.preFilter: These plugins are used to pre-process or check information about a Pod or the cluster before filtering. They can mark a pod as unschedulable.filter: These plugins are the equivalent of Predicates in a scheduling Policy and are used to filter out nodes that can not run the Pod. Filters are called in the configured order. A pod is marked as unschedulable if no nodes pass all the filters.postFilter: These plugins are called in their configured order when no feasible nodes were found for the pod. If any postFilter plugin marks the Pod schedulable, the remaining plugins are not called.preScore: This is an informational extension point that can be used for doing pre-scoring work.score: These plugins provide a score to each node that has passed the filtering phase. The scheduler will then select the node with the highest weighted scores sum.reserve: This is an informational extension point that notifies plugins when resources have been reserved for a given Pod. Plugins also implement an Unreserve call that gets called in the case of failure during or after Reserve.permit: These plugins can prevent or delay the binding of a Pod.preBind: These plugins perform any work required before a Pod is bound.bind: The plugins bind a Pod to a Node. bind plugins are called in order and once one has done the binding, the remaining plugins are skipped. At least one bind plugin is required.postBind: This is an informational extension point that is called after a Pod has been bound.multiP",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/scheduling/config/",
    "id": "k8s_00097_qa_1629"
  },
  {
    "question": "What are the benefits of Scheduler Configuration?",
    "answer": "Scheduler ConfigurationFEATURE STATE: Kubernetes v1.25 [stable]You can customize the behavior of the kube-scheduler by writing a configuration file and passing its path as a command line argument.A scheduling Profile allows you to configure the different stages of scheduling in the kube-scheduler. Each stage is exposed in an extension point. Plugins provide scheduling behaviors by implementing one or more of these extension points.You can specify scheduling profiles by running kube-scheduler --config <filename>, using the KubeSchedulerConfiguration v1 struct.A minimal configuration looks as follows:apiVersion: kubescheduler.config.k8s.io/v1 kind: KubeSchedulerConfiguration clientConnection: kubeconfig: /etc/srv/kubernetes/kube-scheduler/kubeconfig Note:KubeSchedulerConfiguration v1beta3 is deprecated in v1.26 and is removed in v1.29. Please migrate KubeSchedulerConfiguration to v1.ProfilesA scheduling Profile allows you to configure the different stages of scheduling in the kube-scheduler. Each stage is exposed in an extension point. Plugins provide scheduling behaviors by implementing one or more of these extension points.You can configure a single instance of kube-scheduler to run multiple profiles.Extension pointsScheduling happens in a series of stages that are exposed through the following extension points:queueSort: These plugins provide an ordering function that is used to sort pending Pods in the scheduling queue. Exactly one queue sort plugin may be enabled at a time.preFilter: These plugins are used to pre-process or check information about a Pod or the cluster before filtering. They can mark a pod as unschedulable.filter: These plugins are the equivalent of Predicates in a scheduling Policy and are used to filter out nodes that can not run the Pod. Filters are called in the configured order. A pod is marked as unschedulable if no nodes pass all the filters.postFilter: These plugins are called in their configured order when no feasible nodes were found for the pod. If any postFilter plugin marks the Pod schedulable, the remaining plugins are not called.preScore: This is an informational extension point that can be used for doing pre-scoring work.score: These plugins provide a score to each node that has passed the filtering phase. The scheduler will then select the node with the highest weighted scores sum.reserve: This is an informational extension point that notifies plugins when resources have been reserved for a given Pod. Plugins also implement an Unreserve call that gets called in the case of failure during or after Reserve.permit: These plugins can prevent or delay the binding of a Pod.preBind: These plugins perform any work required before a Pod is bound.bind: The plugins bind a Pod to a Node. bind plugins are called in order and once one has done the binding, the remaining plugins are skipped. At least one bind plugin is required.postBind: This is an informational extension point that is called after a Pod has been bound.multiP",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/scheduling/config/",
    "id": "k8s_00097_qa_1630"
  },
  {
    "question": "What is Scheduler Configuration?",
    "answer": "Y o u   c a n   c u s t o m i z e   t h e   b e h a v i o r   o f   t h e   k u b e - s c h e d u l e r   b y   w r i t i n g   a   c o n f i g u r a t i o n   f i l e   a n d   p a s s i n g   i t s   p a t h   a s   a   c o m m a n d   l i n e   a r g u m e n t .   A   s c h e d u l i n g   P r o f i l e   a l l o w s   y o u   t o   c o n f i g u r e   t h e   d i f f e r e n t   s t a g e s   o f   s c h e d u l i n g   i n   t h e   k u b e - s c h e d u l e r .   E a c h   s t a g e   i s   e x p o s e d   i n   a n   e x t e n s i o n   p o i n t .   P l u g i n s   p r o v i d e   s c h e d u l i n g   b e h a v i o r s   b y   i m p l e m e n t i n g   o n e   o r   m o r e   o f   t h e s e   e x t e n s i o n   p o i n t s .   Y o u   c a n   s p e c i f y   s c h e d u l i n g   p r o f i l e s   b y   r u n n i n g   k u b e - s c h e d u l e r   - - c o n f i g   < f i l e n a m e > ,   u s i n g   t h e   K u b e S c h e d u l e r C o n f i g u r a t i o n   v 1   s t r u c t .   A   m i n i m a l   c o n f i g u r a t i o n   l o o k s   a s   f o l l o w s :   a p i V e r s i o n :   k u b e s c h e d u l e r . c o n f i g . k 8 s . i o / v 1   k i n d :   K u b e S c h e d u l e r C o n f i g u r a t i o n   c l i e n t C o n n e c t i o n :   k u b e c o n f i g :   / e t c / s r v / k u b e r n e t e s / k u b e - s c h e d u l e r / k u b e c o n f i g",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/scheduling/config/",
    "id": "k8s_00097_section_1_1631"
  },
  {
    "question": "What is Profiles?",
    "answer": "A   s c h e d u l i n g   P r o f i l e   a l l o w s   y o u   t o   c o n f i g u r e   t h e   d i f f e r e n t   s t a g e s   o f   s c h e d u l i n g   i n   t h e   k u b e - s c h e d u l e r .   E a c h   s t a g e   i s   e x p o s e d   i n   a n   e x t e n s i o n   p o i n t .   P l u g i n s   p r o v i d e   s c h e d u l i n g   b e h a v i o r s   b y   i m p l e m e n t i n g   o n e   o r   m o r e   o f   t h e s e   e x t e n s i o n   p o i n t s .   Y o u   c a n   c o n f i g u r e   a   s i n g l e   i n s t a n c e   o f   k u b e - s c h e d u l e r   t o   r u n   m u l t i p l e   p r o f i l e s .",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/scheduling/config/",
    "id": "k8s_00097_section_2_1632"
  },
  {
    "question": "What is Extension points?",
    "answer": "S c h e d u l i n g   h a p p e n s   i n   a   s e r i e s   o f   s t a g e s   t h a t   a r e   e x p o s e d   t h r o u g h   t h e   f o l l o w i n g   e x t e n s i o n   p o i n t s :   q u e u e S o r t :   T h e s e   p l u g i n s   p r o v i d e   a n   o r d e r i n g   f u n c t i o n   t h a t   i s   u s e d   t o   s o r t   p e n d i n g   P o d s   i n   t h e   s c h e d u l i n g   q u e u e .   E x a c t l y   o n e   q u e u e   s o r t   p l u g i n   m a y   b e   e n a b l e d   a t   a   t i m e . p r e F i l t e r :   T h e s e   p l u g i n s   a r e   u s e d   t o   p r e - p r o c e s s   o r   c h e c k   i n f o r m a t i o n   a b o u t   a   P o d   o r   t h e   c l u s t e r   b e f o r e   f i l t e r i n g .   T h e y   c a n   m a r k   a   p o d   a s   u n s c h e d u l a b l e . f i l t e r :   T h e s e   p l u g i n s   a r e   t h e   e q u i v a l e n t   o f   P r e d i c a t e s   i n   a   s c h e d u l i n g   P o l i c y   a n d   a r e   u s e d   t o   f i l t e r   o u t   n o d e s   t h a t   c a n   n o t   r u n   t h e   P o d .   F i l t e r s   a r e   c a l l e d   i n   t h e   c o n f i g u r e d   o r d e r .   A   p o d   i s   m a r k e d   a s   u n s c h e d u l a b l e   i f   n o   n o d e s   p a s s   a l l   t h e   f i l t e r s . p o s t F i l t e r :   T h e s e   p l u g i n s   a r e   c a l l e d   i n   t h e i r   c o n f i g u r e d   o r d e r   w h e n   n o   f e a s i b l e   n o d e s   w e r e   f o u n d   f o r   t h e   p o d .   I f   a n y   p o s t F i l t e r   p l u g i n   m a r k s   t h e   P o d   s c h e d u l a b l e ,   t h e   r e m a i n i n g   p l u g i n s   a r e   n o t   c a l l e d . p r e S c o r e :   T h i s   i s   a n   i n f o r m a t i o n a l   e x t e n s i o n   p o i n t   t h a t   c a n   b e   u s e d   f o r   d o i n g   p r e - s c o r i n g   w o r k . s c o r e :   T h e s e   p l u g i n s   p r o v i d e   a   s c o r e   t o   e ",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/scheduling/config/",
    "id": "k8s_00097_section_3_1633"
  },
  {
    "question": "What is Scheduling plugins?",
    "answer": "T h e   f o l l o w i n g   p l u g i n s ,   e n a b l e d   b y   d e f a u l t ,   i m p l e m e n t   o n e   o r   m o r e   o f   t h e s e   e x t e n s i o n   p o i n t s :   I m a g e L o c a l i t y :   F a v o r s   n o d e s   t h a t   a l r e a d y   h a v e   t h e   c o n t a i n e r   i m a g e s   t h a t   t h e   P o d   r u n s .   E x t e n s i o n   p o i n t s :   s c o r e . T a i n t T o l e r a t i o n :   I m p l e m e n t s   t a i n t s   a n d   t o l e r a t i o n s .   I m p l e m e n t s   e x t e n s i o n   p o i n t s :   f i l t e r ,   p r e S c o r e ,   s c o r e . N o d e N a m e :   C h e c k s   i f   a   P o d   s p e c   n o d e   n a m e   m a t c h e s   t h e   c u r r e n t   n o d e .   E x t e n s i o n   p o i n t s :   f i l t e r . N o d e P o r t s :   C h e c k s   i f   a   n o d e   h a s   f r e e   p o r t s   f o r   t h e   r e q u e s t e d   P o d   p o r t s .   E x t e n s i o n   p o i n t s :   p r e F i l t e r ,   f i l t e r . N o d e A f f i n i t y :   I m p l e m e n t s   n o d e   s e l e c t o r s   a n d   n o d e   a f f i n i t y .   E x t e n s i o n   p o i n t s :   f i l t e r ,   s c o r e . P o d T o p o l o g y S p r e a d :   I m p l e m e n t s   P o d   t o p o l o g y   s p r e a d .   E x t e n s i o n   p o i n t s :   p r e F i l t e r ,   f i l t e r ,   p r e S c o r e ,   s c o r e . N o d e U n s c h e d u l a b l e :   F i l t e r s   o u t   n o d e s   t h a t   h a v e   . s p e c . u n s c h e d u l a b l e   s e t   t o   t r u e .   E x t e n s i o n   p o i n t s :   f i l t e r . N o d e R e s o u r c e s F i t :   C h e c k s   i f   t h e   n o d e   h a s   a l l   t h e   r e s o u r c e s   t h a t   t h e   P o d   i s   r e q u e s t i n g .   T h e   s c o r e   c a n   u s e   o n e   o f   t h r e e   s t r a t e g i e s :   L e a s t A l l o c a t e d   ( d e f a u l t ) ,   M o s t A l l o c a t e d   a n d   R e q u e s t e d T o C a p a c i t y ",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/scheduling/config/",
    "id": "k8s_00097_section_3_1634"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   a l s o   e n a b l e   t h e   f o l l o w i n g   p l u g i n s ,   t h r o u g h   t h e   c o m p o n e n t   c o n f i g   A P I s ,   t h a t   a r e   n o t   e n a b l e d   b y   d e f a u l t :   C i n d e r L i m i t s :   C h e c k s   t h a t   O p e n S t a c k   C i n d e r   v o l u m e   l i m i t s   c a n   b e   s a t i s f i e d   f o r   t h e   n o d e .   E x t e n s i o n   p o i n t s :   f i l t e r .",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/scheduling/config/",
    "id": "k8s_00097_section_4_1635"
  },
  {
    "question": "What is Multiple profiles?",
    "answer": "Y o u   c a n   c o n f i g u r e   k u b e - s c h e d u l e r   t o   r u n   m o r e   t h a n   o n e   p r o f i l e .   E a c h   p r o f i l e   h a s   a n   a s s o c i a t e d   s c h e d u l e r   n a m e   a n d   c a n   h a v e   a   d i f f e r e n t   s e t   o f   p l u g i n s   c o n f i g u r e d   i n   i t s   e x t e n s i o n   p o i n t s .   W i t h   t h e   f o l l o w i n g   s a m p l e   c o n f i g u r a t i o n ,   t h e   s c h e d u l e r   w i l l   r u n   w i t h   t w o   p r o f i l e s :   o n e   w i t h   t h e   d e f a u l t   p l u g i n s   a n d   o n e   w i t h   a l l   s c o r i n g   p l u g i n s   d i s a b l e d .   a p i V e r s i o n :   k u b e s c h e d u l e r . c o n f i g . k 8 s . i o / v 1   k i n d :   K u b e S c h e d u l e r C o n f i g u r a t i o n   p r o f i l e s :   -   s c h e d u l e r N a m e :   d e f a u l t - s c h e d u l e r   -   s c h e d u l e r N a m e :   n o - s c o r i n g - s c h e d u l e r   p l u g i n s :   p r e S c o r e :   d i s a b l e d :   -   n a m e :   ' * '   s c o r e :   d i s a b l e d :   -   n a m e :   ' * '   P o d s   t h a t   w a n t   t o   b e   s c h e d u l e d   a c c o r d i n g   t o   a   s p e c i f i c   p r o f i l e   c a n   i n c l u d e   t h e   c o r r e s p o n d i n g   s c h e d u l e r   n a m e   i n   i t s   . s p e c . s c h e d u l e r N a m e .   B y   d e f a u l t ,   o n e   p r o f i l e   w i t h   t h e   s c h e d u l e r   n a m e   d e f a u l t - s c h e d u l e r   i s   c r e a t e d .   T h i s   p r o f i l e   i n c l u d e s   t h e   d e f a u l t   p l u g i n s   d e s c r i b e d   a b o v e .   W h e n   d e c l a r i n g   m o r e   t h a n   o n e   p r o f i l e ,   a   u n i q u e   s c h e d u l e r   n a m e   f o r   e a c h   o f   t h e m   i s   r e q u i r e d .   I f   a   P o d   d o e s n ' t   s p e c i f y   a   s c h e d u l e r   n a m e ,   k u b e - a p i s e r v e r   w i l l   s e t ",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/scheduling/config/",
    "id": "k8s_00097_section_3_1636"
  },
  {
    "question": "What is Note:?",
    "answer": "P o d ' s   s c h e d u l i n g   e v e n t s   h a v e   . s p e c . s c h e d u l e r N a m e   a s   t h e i r   r e p o r t i n g C o n t r o l l e r .   E v e n t s   f o r   l e a d e r   e l e c t i o n   u s e   t h e   s c h e d u l e r   n a m e   o f   t h e   f i r s t   p r o f i l e   i n   t h e   l i s t .   F o r   m o r e   i n f o r m a t i o n ,   p l e a s e   r e f e r   t o   t h e   r e p o r t i n g C o n t r o l l e r   s e c t i o n   u n d e r   E v e n t   A P I   R e f e r e n c e .",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/scheduling/config/",
    "id": "k8s_00097_section_4_1637"
  },
  {
    "question": "What is Plugins that apply to multiple extension points?",
    "answer": "S t a r t i n g   f r o m   k u b e s c h e d u l e r . c o n f i g . k 8 s . i o / v 1 b e t a 3 ,   t h e r e   i s   a n   a d d i t i o n a l   f i e l d   i n   t h e   p r o f i l e   c o n f i g ,   m u l t i P o i n t ,   w h i c h   a l l o w s   f o r   e a s i l y   e n a b l i n g   o r   d i s a b l i n g   a   p l u g i n   a c r o s s   s e v e r a l   e x t e n s i o n   p o i n t s .   T h e   i n t e n t   o f   m u l t i P o i n t   c o n f i g   i s   t o   s i m p l i f y   t h e   c o n f i g u r a t i o n   n e e d e d   f o r   u s e r s   a n d   a d m i n i s t r a t o r s   w h e n   u s i n g   c u s t o m   p r o f i l e s .   C o n s i d e r   a   p l u g i n ,   M y P l u g i n ,   w h i c h   i m p l e m e n t s   t h e   p r e S c o r e ,   s c o r e ,   p r e F i l t e r ,   a n d   f i l t e r   e x t e n s i o n   p o i n t s .   T o   e n a b l e   M y P l u g i n   f o r   a l l   i t s   a v a i l a b l e   e x t e n s i o n   p o i n t s ,   t h e   p r o f i l e   c o n f i g   l o o k s   l i k e :   a p i V e r s i o n :   k u b e s c h e d u l e r . c o n f i g . k 8 s . i o / v 1   k i n d :   K u b e S c h e d u l e r C o n f i g u r a t i o n   p r o f i l e s :   -   s c h e d u l e r N a m e :   m u l t i p o i n t - s c h e d u l e r   p l u g i n s :   m u l t i P o i n t :   e n a b l e d :   -   n a m e :   M y P l u g i n   T h i s   w o u l d   e q u a t e   t o   m a n u a l l y   e n a b l i n g   M y P l u g i n   f o r   a l l   o f   i t s   e x t e n s i o n   p o i n t s ,   l i k e   s o :   a p i V e r s i o n :   k u b e s c h e d u l e r . c o n f i g . k 8 s . i o / v 1   k i n d :   K u b e S c h e d u l e r C o n f i g u r a t i o n   p r o f i l e s :   -   s c h e d u l e r N a m e :   n o n - m u l t i p o i n t - s c h e d u l e r   p l u g i n s :   p r e S c o r e :   e n a b l e d :   -   n a m e :   M y P l u g i n   s c o r e :   e n a b l e d :   -   n a m e :   M y P l u g i n   p r e F ",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/scheduling/config/",
    "id": "k8s_00097_section_3_1638"
  },
  {
    "question": "What is Scheduler configuration migrations?",
    "answer": "W i t h   t h e   v 1 b e t a 2   c o n f i g u r a t i o n   v e r s i o n ,   y o u   c a n   u s e   a   n e w   s c o r e   e x t e n s i o n   f o r   t h e   N o d e R e s o u r c e s F i t   p l u g i n .   T h e   n e w   e x t e n s i o n   c o m b i n e s   t h e   f u n c t i o n a l i t i e s   o f   t h e   N o d e R e s o u r c e s L e a s t A l l o c a t e d ,   N o d e R e s o u r c e s M o s t A l l o c a t e d   a n d   R e q u e s t e d T o C a p a c i t y R a t i o   p l u g i n s .   F o r   e x a m p l e ,   i f   y o u   p r e v i o u s l y   u s e d   t h e   N o d e R e s o u r c e s M o s t A l l o c a t e d   p l u g i n ,   y o u   w o u l d   i n s t e a d   u s e   N o d e R e s o u r c e s F i t   ( e n a b l e d   b y   d e f a u l t )   a n d   a d d   a   p l u g i n C o n f i g   w i t h   a   s c o r e S t r a t e g y   t h a t   i s   s i m i l a r   t o : a p i V e r s i o n :   k u b e s c h e d u l e r . c o n f i g . k 8 s . i o / v 1 b e t a 2   k i n d :   K u b e S c h e d u l e r C o n f i g u r a t i o n   p r o f i l e s :   -   p l u g i n C o n f i g :   -   a r g s :   s c o r i n g S t r a t e g y :   r e s o u r c e s :   -   n a m e :   c p u   w e i g h t :   1   t y p e :   M o s t A l l o c a t e d   n a m e :   N o d e R e s o u r c e s F i t   T h e   s c h e d u l e r   p l u g i n   N o d e L a b e l   i s   d e p r e c a t e d ;   i n s t e a d ,   u s e   t h e   N o d e A f f i n i t y   p l u g i n   ( e n a b l e d   b y   d e f a u l t )   t o   a c h i e v e   s i m i l a r   b e h a v i o r . T h e   s c h e d u l e r   p l u g i n   S e r v i c e A f f i n i t y   i s   d e p r e c a t e d ;   i n s t e a d ,   u s e   t h e   I n t e r P o d A f f i n i t y   p l u g i n   ( e n a b l e d   b y   d e f a u l t )   t o   a c h i e v e   s i m i l a r   b e h a v i o r . T h e   s c h e d u l e r   p l u g i n   N o d e P r e f e r A v o i d P o d s   i s   d e p r e c a t e d ;   i n s t e a d ,   ",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/scheduling/config/",
    "id": "k8s_00097_section_2_1639"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   t h e   k u b e - s c h e d u l e r   r e f e r e n c e L e a r n   a b o u t   s c h e d u l i n g R e a d   t h e   k u b e - s c h e d u l e r   c o n f i g u r a t i o n   ( v 1 )   r e f e r e n c e",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/scheduling/config/",
    "id": "k8s_00097_section_2_1640"
  },
  {
    "question": "What is Connecting Applications with Services?",
    "answer": "Connecting Applications with ServicesThe Kubernetes model for connecting containersNow that you have a continuously running, replicated application you can expose it on a network.Kubernetes assumes that pods can communicate with other pods, regardless of which host they land on. Kubernetes gives every pod its own cluster-private IP address, so you do not need to explicitly create links between pods or map container ports to host ports. This means that containers within a Pod can all reach each other's ports on localhost, and all pods in a cluster can see each other without NAT. The rest of this document elaborates on how you can run reliable services on such a networking model.This tutorial uses a simple nginx web server to demonstrate the concept.Exposing pods to the clusterWe did this in a previous example, but let's do it once again and focus on the networking perspective. Create an nginx Pod, and note that it has a container port specification:service/networking/run-my-nginx.yaml apiVersion: apps/v1 kind: Deployment metadata: name: my-nginx spec: selector: matchLabels: run: my-nginx replicas: 2 template: metadata: labels: run: my-nginx spec: containers: - name: my-nginx image: nginx ports: - containerPort: 80 This makes it accessible from any node in your cluster. Check the nodes the Pod is running on:kubectl apply -f ./run-my-nginx.yaml kubectl get pods -l run=my-nginx -o wide NAME READY STATUS RESTARTS AGE IP NODE my-nginx-3800858182-jr4a2 1/1 Running 0 13s 10.244.3.4 kubernetes-minion-905m my-nginx-3800858182-kna2y 1/1 Running 0 13s 10.244.2.5 kubernetes-minion-ljyd Check your pods' IPs:kubectl get pods -l run=my-nginx -o custom-columns=POD_IP:.status.podIPs POD_IP [map[ip:10.244.3.4]] [map[ip:10.244.2.5]] You should be able to ssh into any node in your cluster and use a tool such as curl to make queries against both IPs. Note that the containers are not using port 80 on the node, nor are there any special NAT rules to route traffic to the pod. This means you can run multiple nginx pods on the same node all using the same containerPort, and access them from any other pod or node in your cluster using the assigned IP address for the pod. If you want to arrange for a specific port on the host Node to be forwarded to backing Pods, you can - but the networking model should mean that you do not need to do so.You can read more about the Kubernetes Networking Model if you're curious.Creating a ServiceSo we have pods running nginx in a flat, cluster wide, address space. In theory, you could talk to these pods directly, but what happens when a node dies? The pods die with it, and the ReplicaSet inside the Deployment will create new ones, with different IPs. This is the problem a Service solves.A Kubernetes Service is an abstraction which defines a logical set of Pods running somewhere in your cluster, that all provide the same functionality. When created, each Service is assigned a unique IP address (also called clusterIP). This address is tied to ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/connect-applications-service/",
    "id": "k8s_00098_qa_1641"
  },
  {
    "question": "How does Connecting Applications with Services work?",
    "answer": "Connecting Applications with ServicesThe Kubernetes model for connecting containersNow that you have a continuously running, replicated application you can expose it on a network.Kubernetes assumes that pods can communicate with other pods, regardless of which host they land on. Kubernetes gives every pod its own cluster-private IP address, so you do not need to explicitly create links between pods or map container ports to host ports. This means that containers within a Pod can all reach each other's ports on localhost, and all pods in a cluster can see each other without NAT. The rest of this document elaborates on how you can run reliable services on such a networking model.This tutorial uses a simple nginx web server to demonstrate the concept.Exposing pods to the clusterWe did this in a previous example, but let's do it once again and focus on the networking perspective. Create an nginx Pod, and note that it has a container port specification:service/networking/run-my-nginx.yaml apiVersion: apps/v1 kind: Deployment metadata: name: my-nginx spec: selector: matchLabels: run: my-nginx replicas: 2 template: metadata: labels: run: my-nginx spec: containers: - name: my-nginx image: nginx ports: - containerPort: 80 This makes it accessible from any node in your cluster. Check the nodes the Pod is running on:kubectl apply -f ./run-my-nginx.yaml kubectl get pods -l run=my-nginx -o wide NAME READY STATUS RESTARTS AGE IP NODE my-nginx-3800858182-jr4a2 1/1 Running 0 13s 10.244.3.4 kubernetes-minion-905m my-nginx-3800858182-kna2y 1/1 Running 0 13s 10.244.2.5 kubernetes-minion-ljyd Check your pods' IPs:kubectl get pods -l run=my-nginx -o custom-columns=POD_IP:.status.podIPs POD_IP [map[ip:10.244.3.4]] [map[ip:10.244.2.5]] You should be able to ssh into any node in your cluster and use a tool such as curl to make queries against both IPs. Note that the containers are not using port 80 on the node, nor are there any special NAT rules to route traffic to the pod. This means you can run multiple nginx pods on the same node all using the same containerPort, and access them from any other pod or node in your cluster using the assigned IP address for the pod. If you want to arrange for a specific port on the host Node to be forwarded to backing Pods, you can - but the networking model should mean that you do not need to do so.You can read more about the Kubernetes Networking Model if you're curious.Creating a ServiceSo we have pods running nginx in a flat, cluster wide, address space. In theory, you could talk to these pods directly, but what happens when a node dies? The pods die with it, and the ReplicaSet inside the Deployment will create new ones, with different IPs. This is the problem a Service solves.A Kubernetes Service is an abstraction which defines a logical set of Pods running somewhere in your cluster, that all provide the same functionality. When created, each Service is assigned a unique IP address (also called clusterIP). This address is tied to ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/connect-applications-service/",
    "id": "k8s_00098_qa_1642"
  },
  {
    "question": "When would you use Connecting Applications with Services?",
    "answer": "Connecting Applications with ServicesThe Kubernetes model for connecting containersNow that you have a continuously running, replicated application you can expose it on a network.Kubernetes assumes that pods can communicate with other pods, regardless of which host they land on. Kubernetes gives every pod its own cluster-private IP address, so you do not need to explicitly create links between pods or map container ports to host ports. This means that containers within a Pod can all reach each other's ports on localhost, and all pods in a cluster can see each other without NAT. The rest of this document elaborates on how you can run reliable services on such a networking model.This tutorial uses a simple nginx web server to demonstrate the concept.Exposing pods to the clusterWe did this in a previous example, but let's do it once again and focus on the networking perspective. Create an nginx Pod, and note that it has a container port specification:service/networking/run-my-nginx.yaml apiVersion: apps/v1 kind: Deployment metadata: name: my-nginx spec: selector: matchLabels: run: my-nginx replicas: 2 template: metadata: labels: run: my-nginx spec: containers: - name: my-nginx image: nginx ports: - containerPort: 80 This makes it accessible from any node in your cluster. Check the nodes the Pod is running on:kubectl apply -f ./run-my-nginx.yaml kubectl get pods -l run=my-nginx -o wide NAME READY STATUS RESTARTS AGE IP NODE my-nginx-3800858182-jr4a2 1/1 Running 0 13s 10.244.3.4 kubernetes-minion-905m my-nginx-3800858182-kna2y 1/1 Running 0 13s 10.244.2.5 kubernetes-minion-ljyd Check your pods' IPs:kubectl get pods -l run=my-nginx -o custom-columns=POD_IP:.status.podIPs POD_IP [map[ip:10.244.3.4]] [map[ip:10.244.2.5]] You should be able to ssh into any node in your cluster and use a tool such as curl to make queries against both IPs. Note that the containers are not using port 80 on the node, nor are there any special NAT rules to route traffic to the pod. This means you can run multiple nginx pods on the same node all using the same containerPort, and access them from any other pod or node in your cluster using the assigned IP address for the pod. If you want to arrange for a specific port on the host Node to be forwarded to backing Pods, you can - but the networking model should mean that you do not need to do so.You can read more about the Kubernetes Networking Model if you're curious.Creating a ServiceSo we have pods running nginx in a flat, cluster wide, address space. In theory, you could talk to these pods directly, but what happens when a node dies? The pods die with it, and the ReplicaSet inside the Deployment will create new ones, with different IPs. This is the problem a Service solves.A Kubernetes Service is an abstraction which defines a logical set of Pods running somewhere in your cluster, that all provide the same functionality. When created, each Service is assigned a unique IP address (also called clusterIP). This address is tied to ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/connect-applications-service/",
    "id": "k8s_00098_qa_1643"
  },
  {
    "question": "What are the benefits of Connecting Applications with Services?",
    "answer": "Connecting Applications with ServicesThe Kubernetes model for connecting containersNow that you have a continuously running, replicated application you can expose it on a network.Kubernetes assumes that pods can communicate with other pods, regardless of which host they land on. Kubernetes gives every pod its own cluster-private IP address, so you do not need to explicitly create links between pods or map container ports to host ports. This means that containers within a Pod can all reach each other's ports on localhost, and all pods in a cluster can see each other without NAT. The rest of this document elaborates on how you can run reliable services on such a networking model.This tutorial uses a simple nginx web server to demonstrate the concept.Exposing pods to the clusterWe did this in a previous example, but let's do it once again and focus on the networking perspective. Create an nginx Pod, and note that it has a container port specification:service/networking/run-my-nginx.yaml apiVersion: apps/v1 kind: Deployment metadata: name: my-nginx spec: selector: matchLabels: run: my-nginx replicas: 2 template: metadata: labels: run: my-nginx spec: containers: - name: my-nginx image: nginx ports: - containerPort: 80 This makes it accessible from any node in your cluster. Check the nodes the Pod is running on:kubectl apply -f ./run-my-nginx.yaml kubectl get pods -l run=my-nginx -o wide NAME READY STATUS RESTARTS AGE IP NODE my-nginx-3800858182-jr4a2 1/1 Running 0 13s 10.244.3.4 kubernetes-minion-905m my-nginx-3800858182-kna2y 1/1 Running 0 13s 10.244.2.5 kubernetes-minion-ljyd Check your pods' IPs:kubectl get pods -l run=my-nginx -o custom-columns=POD_IP:.status.podIPs POD_IP [map[ip:10.244.3.4]] [map[ip:10.244.2.5]] You should be able to ssh into any node in your cluster and use a tool such as curl to make queries against both IPs. Note that the containers are not using port 80 on the node, nor are there any special NAT rules to route traffic to the pod. This means you can run multiple nginx pods on the same node all using the same containerPort, and access them from any other pod or node in your cluster using the assigned IP address for the pod. If you want to arrange for a specific port on the host Node to be forwarded to backing Pods, you can - but the networking model should mean that you do not need to do so.You can read more about the Kubernetes Networking Model if you're curious.Creating a ServiceSo we have pods running nginx in a flat, cluster wide, address space. In theory, you could talk to these pods directly, but what happens when a node dies? The pods die with it, and the ReplicaSet inside the Deployment will create new ones, with different IPs. This is the problem a Service solves.A Kubernetes Service is an abstraction which defines a logical set of Pods running somewhere in your cluster, that all provide the same functionality. When created, each Service is assigned a unique IP address (also called clusterIP). This address is tied to ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/connect-applications-service/",
    "id": "k8s_00098_qa_1644"
  },
  {
    "question": "What is The Kubernetes model for connecting containers?",
    "answer": "N o w   t h a t   y o u   h a v e   a   c o n t i n u o u s l y   r u n n i n g ,   r e p l i c a t e d   a p p l i c a t i o n   y o u   c a n   e x p o s e   i t   o n   a   n e t w o r k .   K u b e r n e t e s   a s s u m e s   t h a t   p o d s   c a n   c o m m u n i c a t e   w i t h   o t h e r   p o d s ,   r e g a r d l e s s   o f   w h i c h   h o s t   t h e y   l a n d   o n .   K u b e r n e t e s   g i v e s   e v e r y   p o d   i t s   o w n   c l u s t e r - p r i v a t e   I P   a d d r e s s ,   s o   y o u   d o   n o t   n e e d   t o   e x p l i c i t l y   c r e a t e   l i n k s   b e t w e e n   p o d s   o r   m a p   c o n t a i n e r   p o r t s   t o   h o s t   p o r t s .   T h i s   m e a n s   t h a t   c o n t a i n e r s   w i t h i n   a   P o d   c a n   a l l   r e a c h   e a c h   o t h e r ' s   p o r t s   o n   l o c a l h o s t ,   a n d   a l l   p o d s   i n   a   c l u s t e r   c a n   s e e   e a c h   o t h e r   w i t h o u t   N A T .   T h e   r e s t   o f   t h i s   d o c u m e n t   e l a b o r a t e s   o n   h o w   y o u   c a n   r u n   r e l i a b l e   s e r v i c e s   o n   s u c h   a   n e t w o r k i n g   m o d e l .   T h i s   t u t o r i a l   u s e s   a   s i m p l e   n g i n x   w e b   s e r v e r   t o   d e m o n s t r a t e   t h e   c o n c e p t .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/connect-applications-service/",
    "id": "k8s_00098_section_2_1645"
  },
  {
    "question": "What is Exposing pods to the cluster?",
    "answer": "W e   d i d   t h i s   i n   a   p r e v i o u s   e x a m p l e ,   b u t   l e t ' s   d o   i t   o n c e   a g a i n   a n d   f o c u s   o n   t h e   n e t w o r k i n g   p e r s p e c t i v e .   C r e a t e   a n   n g i n x   P o d ,   a n d   n o t e   t h a t   i t   h a s   a   c o n t a i n e r   p o r t   s p e c i f i c a t i o n :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   m y - n g i n x   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   r u n :   m y - n g i n x   r e p l i c a s :   2   t e m p l a t e :   m e t a d a t a :   l a b e l s :   r u n :   m y - n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   m y - n g i n x   i m a g e :   n g i n x   p o r t s :   -   c o n t a i n e r P o r t :   8 0   T h i s   m a k e s   i t   a c c e s s i b l e   f r o m   a n y   n o d e   i n   y o u r   c l u s t e r .   C h e c k   t h e   n o d e s   t h e   P o d   i s   r u n n i n g   o n :   k u b e c t l   a p p l y   - f   . / r u n - m y - n g i n x . y a m l   k u b e c t l   g e t   p o d s   - l   r u n = m y - n g i n x   - o   w i d e   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   m y - n g i n x - 3 8 0 0 8 5 8 1 8 2 - j r 4 a 2   1 / 1   R u n n i n g   0   1 3 s   1 0 . 2 4 4 . 3 . 4   k u b e r n e t e s - m i n i o n - 9 0 5 m   m y - n g i n x - 3 8 0 0 8 5 8 1 8 2 - k n a 2 y   1 / 1   R u n n i n g   0   1 3 s   1 0 . 2 4 4 . 2 . 5   k u b e r n e t e s - m i n i o n - l j y d   C h e c k   y o u r   p o d s '   I P s :   k u b e c t l   g e t   p o d s   - l   r u n = m y - n g i n x   - o   c u s t o m - c o l u m n s = P O D _ I P : . s t a t u s . p o d I P s   P O D _ I P   [ m a p [ i p : 1 0 . 2 4 4 . 3 . 4 ] ]   [ m a p [ i p : 1 0 . 2 4 4 . 2 . 5 ] ]   Y o u   s h o u l d   b e   a b l e   t o   s s h   i n t o   a n y   n o d e   i n   y o u r   c l u s t e r   a n d   u s e   a   t o o l   s u c h   a ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/connect-applications-service/",
    "id": "k8s_00098_section_2_1646"
  },
  {
    "question": "What is Creating a Service?",
    "answer": "S o   w e   h a v e   p o d s   r u n n i n g   n g i n x   i n   a   f l a t ,   c l u s t e r   w i d e ,   a d d r e s s   s p a c e .   I n   t h e o r y ,   y o u   c o u l d   t a l k   t o   t h e s e   p o d s   d i r e c t l y ,   b u t   w h a t   h a p p e n s   w h e n   a   n o d e   d i e s ?   T h e   p o d s   d i e   w i t h   i t ,   a n d   t h e   R e p l i c a S e t   i n s i d e   t h e   D e p l o y m e n t   w i l l   c r e a t e   n e w   o n e s ,   w i t h   d i f f e r e n t   I P s .   T h i s   i s   t h e   p r o b l e m   a   S e r v i c e   s o l v e s .   A   K u b e r n e t e s   S e r v i c e   i s   a n   a b s t r a c t i o n   w h i c h   d e f i n e s   a   l o g i c a l   s e t   o f   P o d s   r u n n i n g   s o m e w h e r e   i n   y o u r   c l u s t e r ,   t h a t   a l l   p r o v i d e   t h e   s a m e   f u n c t i o n a l i t y .   W h e n   c r e a t e d ,   e a c h   S e r v i c e   i s   a s s i g n e d   a   u n i q u e   I P   a d d r e s s   ( a l s o   c a l l e d   c l u s t e r I P ) .   T h i s   a d d r e s s   i s   t i e d   t o   t h e   l i f e s p a n   o f   t h e   S e r v i c e ,   a n d   w i l l   n o t   c h a n g e   w h i l e   t h e   S e r v i c e   i s   a l i v e .   P o d s   c a n   b e   c o n f i g u r e d   t o   t a l k   t o   t h e   S e r v i c e ,   a n d   k n o w   t h a t   c o m m u n i c a t i o n   t o   t h e   S e r v i c e   w i l l   b e   a u t o m a t i c a l l y   l o a d - b a l a n c e d   o u t   t o   s o m e   p o d   t h a t   i s   a   m e m b e r   o f   t h e   S e r v i c e .   Y o u   c a n   c r e a t e   a   S e r v i c e   f o r   y o u r   2   n g i n x   r e p l i c a s   w i t h   k u b e c t l   e x p o s e :   k u b e c t l   e x p o s e   d e p l o y m e n t / m y - n g i n x   s e r v i c e / m y - n g i n x   e x p o s e d   T h i s   i s   e q u i v a l e n t   t o   k u b e c t l   a p p l y   - f   i n   t h e   f o l l o w i n g   y a m ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/connect-applications-service/",
    "id": "k8s_00098_section_2_1647"
  },
  {
    "question": "What is Accessing the Service?",
    "answer": "K u b e r n e t e s   s u p p o r t s   2   p r i m a r y   m o d e s   o f   f i n d i n g   a   S e r v i c e   -   e n v i r o n m e n t   v a r i a b l e s   a n d   D N S .   T h e   f o r m e r   w o r k s   o u t   o f   t h e   b o x   w h i l e   t h e   l a t t e r   r e q u i r e s   t h e   C o r e D N S   c l u s t e r   a d d o n .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/connect-applications-service/",
    "id": "k8s_00098_section_2_1648"
  },
  {
    "question": "What is Environment Variables?",
    "answer": "W h e n   a   P o d   r u n s   o n   a   N o d e ,   t h e   k u b e l e t   a d d s   a   s e t   o f   e n v i r o n m e n t   v a r i a b l e s   f o r   e a c h   a c t i v e   S e r v i c e .   T h i s   i n t r o d u c e s   a n   o r d e r i n g   p r o b l e m .   T o   s e e   w h y ,   i n s p e c t   t h e   e n v i r o n m e n t   o f   y o u r   r u n n i n g   n g i n x   P o d s   ( y o u r   P o d   n a m e   w i l l   b e   d i f f e r e n t ) :   k u b e c t l   e x e c   m y - n g i n x - 3 8 0 0 8 5 8 1 8 2 - j r 4 a 2   - -   p r i n t e n v   |   g r e p   S E R V I C E   K U B E R N E T E S _ S E R V I C E _ H O S T = 1 0 . 0 . 0 . 1   K U B E R N E T E S _ S E R V I C E _ P O R T = 4 4 3   K U B E R N E T E S _ S E R V I C E _ P O R T _ H T T P S = 4 4 3   N o t e   t h e r e ' s   n o   m e n t i o n   o f   y o u r   S e r v i c e .   T h i s   i s   b e c a u s e   y o u   c r e a t e d   t h e   r e p l i c a s   b e f o r e   t h e   S e r v i c e .   A n o t h e r   d i s a d v a n t a g e   o f   d o i n g   t h i s   i s   t h a t   t h e   s c h e d u l e r   m i g h t   p u t   b o t h   P o d s   o n   t h e   s a m e   m a c h i n e ,   w h i c h   w i l l   t a k e   y o u r   e n t i r e   S e r v i c e   d o w n   i f   i t   d i e s .   W e   c a n   d o   t h i s   t h e   r i g h t   w a y   b y   k i l l i n g   t h e   2   P o d s   a n d   w a i t i n g   f o r   t h e   D e p l o y m e n t   t o   r e c r e a t e   t h e m .   T h i s   t i m e   t h e   S e r v i c e   e x i s t s   b e f o r e   t h e   r e p l i c a s .   T h i s   w i l l   g i v e   y o u   s c h e d u l e r - l e v e l   S e r v i c e   s p r e a d i n g   o f   y o u r   P o d s   ( p r o v i d e d   a l l   y o u r   n o d e s   h a v e   e q u a l   c a p a c i t y ) ,   a s   w e l l   a s   t h e   r i g h t   e n v i r o n m e n t   v a r i a b l e s :   k u b e c t l   s c a l e   d e p l o y m e n t   m y - n g i n x   - - r e p l i c a s ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/connect-applications-service/",
    "id": "k8s_00098_section_3_1649"
  },
  {
    "question": "What is DNS?",
    "answer": "K u b e r n e t e s   o f f e r s   a   D N S   c l u s t e r   a d d o n   S e r v i c e   t h a t   a u t o m a t i c a l l y   a s s i g n s   d n s   n a m e s   t o   o t h e r   S e r v i c e s .   Y o u   c a n   c h e c k   i f   i t ' s   r u n n i n g   o n   y o u r   c l u s t e r :   k u b e c t l   g e t   s e r v i c e s   k u b e - d n s   - - n a m e s p a c e = k u b e - s y s t e m   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   k u b e - d n s   C l u s t e r I P   1 0 . 0 . 0 . 1 0   < n o n e >   5 3 / U D P , 5 3 / T C P   8 m   T h e   r e s t   o f   t h i s   s e c t i o n   w i l l   a s s u m e   y o u   h a v e   a   S e r v i c e   w i t h   a   l o n g   l i v e d   I P   ( m y - n g i n x ) ,   a n d   a   D N S   s e r v e r   t h a t   h a s   a s s i g n e d   a   n a m e   t o   t h a t   I P .   H e r e   w e   u s e   t h e   C o r e D N S   c l u s t e r   a d d o n   ( a p p l i c a t i o n   n a m e   k u b e - d n s ) ,   s o   y o u   c a n   t a l k   t o   t h e   S e r v i c e   f r o m   a n y   p o d   i n   y o u r   c l u s t e r   u s i n g   s t a n d a r d   m e t h o d s   ( e . g .   g e t h o s t b y n a m e ( ) ) .   I f   C o r e D N S   i s n ' t   r u n n i n g ,   y o u   c a n   e n a b l e   i t   r e f e r r i n g   t o   t h e   C o r e D N S   R E A D M E   o r   I n s t a l l i n g   C o r e D N S .   L e t ' s   r u n   a n o t h e r   c u r l   a p p l i c a t i o n   t o   t e s t   t h i s :   k u b e c t l   r u n   c u r l   - - i m a g e = r a d i a l / b u s y b o x p l u s : c u r l   - i   - - t t y   - - r m   W a i t i n g   f o r   p o d   d e f a u l t / c u r l - 1 3 1 5 5 6 2 1 8 - 9 f n c h   t o   b e   r u n n i n g ,   s t a t u s   i s   P e n d i n g ,   p o d   r e a d y :   f a l s e   H i t   e n t e r   f o r   c o m m a n d   p r o m p t   T h e n ,   h i t   e n t e r   a n d   r u n   n s l o o k u p   m y - n g i n x :   [   r ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/connect-applications-service/",
    "id": "k8s_00098_section_3_1650"
  },
  {
    "question": "What is Securing the Service?",
    "answer": "T i l l   n o w   w e   h a v e   o n l y   a c c e s s e d   t h e   n g i n x   s e r v e r   f r o m   w i t h i n   t h e   c l u s t e r .   B e f o r e   e x p o s i n g   t h e   S e r v i c e   t o   t h e   i n t e r n e t ,   y o u   w a n t   t o   m a k e   s u r e   t h e   c o m m u n i c a t i o n   c h a n n e l   i s   s e c u r e .   F o r   t h i s ,   y o u   w i l l   n e e d :   S e l f   s i g n e d   c e r t i f i c a t e s   f o r   h t t p s   ( u n l e s s   y o u   a l r e a d y   h a v e   a n   i d e n t i t y   c e r t i f i c a t e ) A n   n g i n x   s e r v e r   c o n f i g u r e d   t o   u s e   t h e   c e r t i f i c a t e s A   s e c r e t   t h a t   m a k e s   t h e   c e r t i f i c a t e s   a c c e s s i b l e   t o   p o d s   Y o u   c a n   a c q u i r e   a l l   t h e s e   f r o m   t h e   n g i n x   h t t p s   e x a m p l e .   T h i s   r e q u i r e s   h a v i n g   g o   a n d   m a k e   t o o l s   i n s t a l l e d .   I f   y o u   d o n ' t   w a n t   t o   i n s t a l l   t h o s e ,   t h e n   f o l l o w   t h e   m a n u a l   s t e p s   l a t e r .   I n   s h o r t :   m a k e   k e y s   K E Y = / t m p / n g i n x . k e y   C E R T = / t m p / n g i n x . c r t   k u b e c t l   c r e a t e   s e c r e t   t l s   n g i n x s e c r e t   - - k e y   / t m p / n g i n x . k e y   - - c e r t   / t m p / n g i n x . c r t   s e c r e t / n g i n x s e c r e t   c r e a t e d   k u b e c t l   g e t   s e c r e t s   N A M E   T Y P E   D A T A   A G E   n g i n x s e c r e t   k u b e r n e t e s . i o / t l s   2   1 m   A n d   a l s o   t h e   c o n f i g m a p :   k u b e c t l   c r e a t e   c o n f i g m a p   n g i n x c o n f i g m a p   - - f r o m - f i l e = d e f a u l t . c o n f   Y o u   c a n   f i n d   a n   e x a m p l e   f o r   d e f a u l t . c o n f   i n   t h e   K u b e r n e t e s   e x a m p l e s   p r o j e c t   r e p o .   c o n f i g m a p / n g i n x c o n ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/connect-applications-service/",
    "id": "k8s_00098_section_2_1651"
  },
  {
    "question": "What is Exposing the Service?",
    "answer": "F o r   s o m e   p a r t s   o f   y o u r   a p p l i c a t i o n s   y o u   m a y   w a n t   t o   e x p o s e   a   S e r v i c e   o n t o   a n   e x t e r n a l   I P   a d d r e s s .   K u b e r n e t e s   s u p p o r t s   t w o   w a y s   o f   d o i n g   t h i s :   N o d e P o r t s   a n d   L o a d B a l a n c e r s .   T h e   S e r v i c e   c r e a t e d   i n   t h e   l a s t   s e c t i o n   a l r e a d y   u s e d   N o d e P o r t ,   s o   y o u r   n g i n x   H T T P S   r e p l i c a   i s   r e a d y   t o   s e r v e   t r a f f i c   o n   t h e   i n t e r n e t   i f   y o u r   n o d e   h a s   a   p u b l i c   I P .   k u b e c t l   g e t   s v c   m y - n g i n x   - o   y a m l   |   g r e p   n o d e P o r t   - C   5   u i d :   0 7 1 9 1 f b 3 - f 6 1 a - 1 1 e 5 - 8 a e 5 - 4 2 0 1 0 a f 0 0 0 0 2   s p e c :   c l u s t e r I P :   1 0 . 0 . 1 6 2 . 1 4 9   p o r t s :   -   n a m e :   h t t p   n o d e P o r t :   3 1 7 0 4   p o r t :   8 0 8 0   p r o t o c o l :   T C P   t a r g e t P o r t :   8 0   -   n a m e :   h t t p s   n o d e P o r t :   3 2 4 5 3   p o r t :   4 4 3   p r o t o c o l :   T C P   t a r g e t P o r t :   4 4 3   s e l e c t o r :   r u n :   m y - n g i n x   k u b e c t l   g e t   n o d e s   - o   y a m l   |   g r e p   E x t e r n a l I P   - C   1   -   a d d r e s s :   1 0 4 . 1 9 7 . 4 1 . 1 1   t y p e :   E x t e r n a l I P   a l l o c a t a b l e :   - -   -   a d d r e s s :   2 3 . 2 5 1 . 1 5 2 . 5 6   t y p e :   E x t e r n a l I P   a l l o c a t a b l e :   . . .   $   c u r l   h t t p s : / / < E X T E R N A L - I P > : < N O D E - P O R T >   - k   . . .   < h 1 > W e l c o m e   t o   n g i n x ! < / h 1 >   L e t ' s   n o w   r e c r e a t e   t h e   S e r v i c e   t o   u s e   a   c l o u d   l o a d   b a l a n c e r .   C h a n g e   t h e   T y p e   o f   m y - n g i n x   S e r v i c e   f r o m   N o d e P o r t   t o   L o a d B a l a n c e r :   k ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/connect-applications-service/",
    "id": "k8s_00098_section_2_1652"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   U s i n g   a   S e r v i c e   t o   A c c e s s   a n   A p p l i c a t i o n   i n   a   C l u s t e r L e a r n   m o r e   a b o u t   C o n n e c t i n g   a   F r o n t   E n d   t o   a   B a c k   E n d   U s i n g   a   S e r v i c e L e a r n   m o r e   a b o u t   C r e a t i n g   a n   E x t e r n a l   L o a d   B a l a n c e r",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/connect-applications-service/",
    "id": "k8s_00098_section_2_1653"
  },
  {
    "question": "What is Use Antrea for NetworkPolicy?",
    "answer": "Use Antrea for NetworkPolicyThis page shows how to install and use Antrea CNI plugin on Kubernetes. For background on Project Antrea, read the Introduction to Antrea.Before you beginYou need to have a Kubernetes cluster. Follow the kubeadm getting started guide to bootstrap one.Deploying Antrea with kubeadmFollow Getting Started guide to deploy Antrea for kubeadm.What's nextOnce your cluster is running, you can follow the Declare Network Policy to try out Kubernetes NetworkPolicy.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/antrea-network-policy/",
    "id": "k8s_00099_qa_1654"
  },
  {
    "question": "How does Use Antrea for NetworkPolicy work?",
    "answer": "Use Antrea for NetworkPolicyThis page shows how to install and use Antrea CNI plugin on Kubernetes. For background on Project Antrea, read the Introduction to Antrea.Before you beginYou need to have a Kubernetes cluster. Follow the kubeadm getting started guide to bootstrap one.Deploying Antrea with kubeadmFollow Getting Started guide to deploy Antrea for kubeadm.What's nextOnce your cluster is running, you can follow the Declare Network Policy to try out Kubernetes NetworkPolicy.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/antrea-network-policy/",
    "id": "k8s_00099_qa_1655"
  },
  {
    "question": "When would you use Use Antrea for NetworkPolicy?",
    "answer": "Use Antrea for NetworkPolicyThis page shows how to install and use Antrea CNI plugin on Kubernetes. For background on Project Antrea, read the Introduction to Antrea.Before you beginYou need to have a Kubernetes cluster. Follow the kubeadm getting started guide to bootstrap one.Deploying Antrea with kubeadmFollow Getting Started guide to deploy Antrea for kubeadm.What's nextOnce your cluster is running, you can follow the Declare Network Policy to try out Kubernetes NetworkPolicy.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/antrea-network-policy/",
    "id": "k8s_00099_qa_1656"
  },
  {
    "question": "What are the benefits of Use Antrea for NetworkPolicy?",
    "answer": "Use Antrea for NetworkPolicyThis page shows how to install and use Antrea CNI plugin on Kubernetes. For background on Project Antrea, read the Introduction to Antrea.Before you beginYou need to have a Kubernetes cluster. Follow the kubeadm getting started guide to bootstrap one.Deploying Antrea with kubeadmFollow Getting Started guide to deploy Antrea for kubeadm.What's nextOnce your cluster is running, you can follow the Declare Network Policy to try out Kubernetes NetworkPolicy.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/antrea-network-policy/",
    "id": "k8s_00099_qa_1657"
  },
  {
    "question": "What is Use Antrea for NetworkPolicy?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   i n s t a l l   a n d   u s e   A n t r e a   C N I   p l u g i n   o n   K u b e r n e t e s .   F o r   b a c k g r o u n d   o n   P r o j e c t   A n t r e a ,   r e a d   t h e   I n t r o d u c t i o n   t o   A n t r e a .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/antrea-network-policy/",
    "id": "k8s_00099_section_1_1658"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r .   F o l l o w   t h e   k u b e a d m   g e t t i n g   s t a r t e d   g u i d e   t o   b o o t s t r a p   o n e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/antrea-network-policy/",
    "id": "k8s_00099_section_2_1659"
  },
  {
    "question": "What is Deploying Antrea with kubeadm?",
    "answer": "F o l l o w   G e t t i n g   S t a r t e d   g u i d e   t o   d e p l o y   A n t r e a   f o r   k u b e a d m .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/antrea-network-policy/",
    "id": "k8s_00099_section_2_1660"
  },
  {
    "question": "What is What's next?",
    "answer": "O n c e   y o u r   c l u s t e r   i s   r u n n i n g ,   y o u   c a n   f o l l o w   t h e   D e c l a r e   N e t w o r k   P o l i c y   t o   t r y   o u t   K u b e r n e t e s   N e t w o r k P o l i c y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/antrea-network-policy/",
    "id": "k8s_00099_section_2_1661"
  },
  {
    "question": "What is TypedLocalObjectReference?",
    "answer": "TypedLocalObjectReferenceTypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.import \"k8s.io/api/core/v1\"TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.kind (string), requiredKind is the type of resource being referencedname (string), requiredName is the name of resource being referencedapiGroup (string)APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/typed-local-object-reference/",
    "id": "k8s_00100_qa_1662"
  },
  {
    "question": "How does TypedLocalObjectReference work?",
    "answer": "TypedLocalObjectReferenceTypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.import \"k8s.io/api/core/v1\"TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.kind (string), requiredKind is the type of resource being referencedname (string), requiredName is the name of resource being referencedapiGroup (string)APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/typed-local-object-reference/",
    "id": "k8s_00100_qa_1663"
  },
  {
    "question": "When would you use TypedLocalObjectReference?",
    "answer": "TypedLocalObjectReferenceTypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.import \"k8s.io/api/core/v1\"TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.kind (string), requiredKind is the type of resource being referencedname (string), requiredName is the name of resource being referencedapiGroup (string)APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/typed-local-object-reference/",
    "id": "k8s_00100_qa_1664"
  },
  {
    "question": "What are the benefits of TypedLocalObjectReference?",
    "answer": "TypedLocalObjectReferenceTypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.import \"k8s.io/api/core/v1\"TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.kind (string), requiredKind is the type of resource being referencedname (string), requiredName is the name of resource being referencedapiGroup (string)APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/typed-local-object-reference/",
    "id": "k8s_00100_qa_1665"
  },
  {
    "question": "What is TypedLocalObjectReference?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"   T y p e d L o c a l O b j e c t R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   l o c a t e   t h e   t y p e d   r e f e r e n c e d   o b j e c t   i n s i d e   t h e   s a m e   n a m e s p a c e .   k i n d   ( s t r i n g ) ,   r e q u i r e d K i n d   i s   t h e   t y p e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   i s   t h e   n a m e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d a p i G r o u p   ( s t r i n g ) A P I G r o u p   i s   t h e   g r o u p   f o r   t h e   r e s o u r c e   b e i n g   r e f e r e n c e d .   I f   A P I G r o u p   i s   n o t   s p e c i f i e d ,   t h e   s p e c i f i e d   K i n d   m u s t   b e   i n   t h e   c o r e   A P I   g r o u p .   F o r   a n y   o t h e r   t h i r d - p a r t y   t y p e s ,   A P I G r o u p   i s   r e q u i r e d .   k i n d   ( s t r i n g ) ,   r e q u i r e d   K i n d   i s   t h e   t y p e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d   n a m e   ( s t r i n g ) ,   r e q u i r e d   N a m e   i s   t h e   n a m e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d   a p i G r o u p   ( s t r i n g )   A P I G r o u p   i s   t h e   g r o u p   f o r   t h e   r e s o u r c e   b e i n g   r e f e r e n c e d .   I f   A P I G r o u p   i s   n o t   s p e c i f i e d ,   t h e   s p e c i f i e d   K i n d   m u s t   b e   i n   t h e   c o r e   A P I   g r o u p .   F o r   a n y   o t h e r   t h i r d - p a r t y   t y p e s ,   A P I G r o u p   i s   r e q u i r e d .   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/typed-local-object-reference/",
    "id": "k8s_00100_section_1_1666"
  },
  {
    "question": "What is Extend Kubernetes?",
    "answer": "Extend KubernetesUnderstand advanced ways to adapt your Kubernetes cluster to the needs of your work environment.Configure the Aggregation LayerUse Custom ResourcesSet up an Extension API ServerConfigure Multiple SchedulersUse an HTTP Proxy to Access the Kubernetes APIUse a SOCKS5 Proxy to Access the Kubernetes APISet up Konnectivity service",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/",
    "id": "k8s_00101_qa_1667"
  },
  {
    "question": "How does Extend Kubernetes work?",
    "answer": "Extend KubernetesUnderstand advanced ways to adapt your Kubernetes cluster to the needs of your work environment.Configure the Aggregation LayerUse Custom ResourcesSet up an Extension API ServerConfigure Multiple SchedulersUse an HTTP Proxy to Access the Kubernetes APIUse a SOCKS5 Proxy to Access the Kubernetes APISet up Konnectivity service",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/",
    "id": "k8s_00101_qa_1668"
  },
  {
    "question": "When would you use Extend Kubernetes?",
    "answer": "Extend KubernetesUnderstand advanced ways to adapt your Kubernetes cluster to the needs of your work environment.Configure the Aggregation LayerUse Custom ResourcesSet up an Extension API ServerConfigure Multiple SchedulersUse an HTTP Proxy to Access the Kubernetes APIUse a SOCKS5 Proxy to Access the Kubernetes APISet up Konnectivity service",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/",
    "id": "k8s_00101_qa_1669"
  },
  {
    "question": "What are the benefits of Extend Kubernetes?",
    "answer": "Extend KubernetesUnderstand advanced ways to adapt your Kubernetes cluster to the needs of your work environment.Configure the Aggregation LayerUse Custom ResourcesSet up an Extension API ServerConfigure Multiple SchedulersUse an HTTP Proxy to Access the Kubernetes APIUse a SOCKS5 Proxy to Access the Kubernetes APISet up Konnectivity service",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/",
    "id": "k8s_00101_qa_1670"
  },
  {
    "question": "What is Client Authentication (v1beta1)?",
    "answer": "Client Authentication (v1beta1)Resource TypesExecCredentialExecCredentialExecCredential is used by exec-based plugins to communicate credentials to HTTP transports.FieldDescriptionapiVersionstringclient.authentication.k8s.io/v1beta1kindstringExecCredentialspec [Required]ExecCredentialSpecSpec holds information passed to the plugin by the transport.statusExecCredentialStatusStatus is filled in by the plugin and holds the credentials that the transport should use to contact the API.ClusterAppears in:ExecCredentialSpecCluster contains information to allow an exec plugin to communicate with the kubernetes cluster being authenticated to.To ensure that this struct contains everything someone would need to communicate with a kubernetes cluster (just like they would via a kubeconfig), the fields should shadow \"k8s.io/client-go/tools/clientcmd/api/v1\".Cluster, with the exception of CertificateAuthority, since CA data will always be passed to the plugin as bytes.FieldDescriptionserver [Required]stringServer is the address of the kubernetes cluster (https://hostname:port).tls-server-namestringTLSServerName is passed to the server for SNI and is used in the client to check server certificates against. If ServerName is empty, the hostname used to contact the server is used.insecure-skip-tls-verifyboolInsecureSkipTLSVerify skips the validity check for the server's certificate. This will make your HTTPS connections insecure.certificate-authority-data[]byteCAData contains PEM-encoded certificate authority certificates. If empty, system roots should be used.proxy-urlstringProxyURL is the URL to the proxy to be used for all requests to this cluster.disable-compressionboolDisableCompression allows client to opt-out of response compression for all requests to the server. This is useful to speed up requests (specifically lists) when client-server network bandwidth is ample, by saving time on compression (server-side) and decompression (client-side): https://github.com/kubernetes/kubernetes/issues/112296.configk8s.io/apimachinery/pkg/runtime.RawExtensionConfig holds additional config data that is specific to the exec plugin with regards to the cluster being authenticated to.This data is sourced from the clientcmd Cluster object's extensions[client.authentication.k8s.io/exec] field:clusters:name: my-cluster cluster: ... extensions:name: client.authentication.k8s.io/exec # reserved extension name for per cluster exec config extension: audience: 06e3fbd18de8 # arbitrary configIn some environments, the user config may be exactly the same across many clusters (i.e. call this exec plugin) minus some details that are specific to each cluster such as the audience. This field allows the per cluster config to be directly specified with the cluster info. Using this field to store secret data is not recommended as one of the prime benefits of exec plugins is that no secrets need to be stored directly in the kubeconfig.ExecCredentialSpecAppears in:ExecCredentialExecCredentialSpec ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/client-authentication.v1beta1/",
    "id": "k8s_00102_qa_1671"
  },
  {
    "question": "How does Client Authentication (v1beta1) work?",
    "answer": "Client Authentication (v1beta1)Resource TypesExecCredentialExecCredentialExecCredential is used by exec-based plugins to communicate credentials to HTTP transports.FieldDescriptionapiVersionstringclient.authentication.k8s.io/v1beta1kindstringExecCredentialspec [Required]ExecCredentialSpecSpec holds information passed to the plugin by the transport.statusExecCredentialStatusStatus is filled in by the plugin and holds the credentials that the transport should use to contact the API.ClusterAppears in:ExecCredentialSpecCluster contains information to allow an exec plugin to communicate with the kubernetes cluster being authenticated to.To ensure that this struct contains everything someone would need to communicate with a kubernetes cluster (just like they would via a kubeconfig), the fields should shadow \"k8s.io/client-go/tools/clientcmd/api/v1\".Cluster, with the exception of CertificateAuthority, since CA data will always be passed to the plugin as bytes.FieldDescriptionserver [Required]stringServer is the address of the kubernetes cluster (https://hostname:port).tls-server-namestringTLSServerName is passed to the server for SNI and is used in the client to check server certificates against. If ServerName is empty, the hostname used to contact the server is used.insecure-skip-tls-verifyboolInsecureSkipTLSVerify skips the validity check for the server's certificate. This will make your HTTPS connections insecure.certificate-authority-data[]byteCAData contains PEM-encoded certificate authority certificates. If empty, system roots should be used.proxy-urlstringProxyURL is the URL to the proxy to be used for all requests to this cluster.disable-compressionboolDisableCompression allows client to opt-out of response compression for all requests to the server. This is useful to speed up requests (specifically lists) when client-server network bandwidth is ample, by saving time on compression (server-side) and decompression (client-side): https://github.com/kubernetes/kubernetes/issues/112296.configk8s.io/apimachinery/pkg/runtime.RawExtensionConfig holds additional config data that is specific to the exec plugin with regards to the cluster being authenticated to.This data is sourced from the clientcmd Cluster object's extensions[client.authentication.k8s.io/exec] field:clusters:name: my-cluster cluster: ... extensions:name: client.authentication.k8s.io/exec # reserved extension name for per cluster exec config extension: audience: 06e3fbd18de8 # arbitrary configIn some environments, the user config may be exactly the same across many clusters (i.e. call this exec plugin) minus some details that are specific to each cluster such as the audience. This field allows the per cluster config to be directly specified with the cluster info. Using this field to store secret data is not recommended as one of the prime benefits of exec plugins is that no secrets need to be stored directly in the kubeconfig.ExecCredentialSpecAppears in:ExecCredentialExecCredentialSpec ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/client-authentication.v1beta1/",
    "id": "k8s_00102_qa_1672"
  },
  {
    "question": "When would you use Client Authentication (v1beta1)?",
    "answer": "Client Authentication (v1beta1)Resource TypesExecCredentialExecCredentialExecCredential is used by exec-based plugins to communicate credentials to HTTP transports.FieldDescriptionapiVersionstringclient.authentication.k8s.io/v1beta1kindstringExecCredentialspec [Required]ExecCredentialSpecSpec holds information passed to the plugin by the transport.statusExecCredentialStatusStatus is filled in by the plugin and holds the credentials that the transport should use to contact the API.ClusterAppears in:ExecCredentialSpecCluster contains information to allow an exec plugin to communicate with the kubernetes cluster being authenticated to.To ensure that this struct contains everything someone would need to communicate with a kubernetes cluster (just like they would via a kubeconfig), the fields should shadow \"k8s.io/client-go/tools/clientcmd/api/v1\".Cluster, with the exception of CertificateAuthority, since CA data will always be passed to the plugin as bytes.FieldDescriptionserver [Required]stringServer is the address of the kubernetes cluster (https://hostname:port).tls-server-namestringTLSServerName is passed to the server for SNI and is used in the client to check server certificates against. If ServerName is empty, the hostname used to contact the server is used.insecure-skip-tls-verifyboolInsecureSkipTLSVerify skips the validity check for the server's certificate. This will make your HTTPS connections insecure.certificate-authority-data[]byteCAData contains PEM-encoded certificate authority certificates. If empty, system roots should be used.proxy-urlstringProxyURL is the URL to the proxy to be used for all requests to this cluster.disable-compressionboolDisableCompression allows client to opt-out of response compression for all requests to the server. This is useful to speed up requests (specifically lists) when client-server network bandwidth is ample, by saving time on compression (server-side) and decompression (client-side): https://github.com/kubernetes/kubernetes/issues/112296.configk8s.io/apimachinery/pkg/runtime.RawExtensionConfig holds additional config data that is specific to the exec plugin with regards to the cluster being authenticated to.This data is sourced from the clientcmd Cluster object's extensions[client.authentication.k8s.io/exec] field:clusters:name: my-cluster cluster: ... extensions:name: client.authentication.k8s.io/exec # reserved extension name for per cluster exec config extension: audience: 06e3fbd18de8 # arbitrary configIn some environments, the user config may be exactly the same across many clusters (i.e. call this exec plugin) minus some details that are specific to each cluster such as the audience. This field allows the per cluster config to be directly specified with the cluster info. Using this field to store secret data is not recommended as one of the prime benefits of exec plugins is that no secrets need to be stored directly in the kubeconfig.ExecCredentialSpecAppears in:ExecCredentialExecCredentialSpec ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/client-authentication.v1beta1/",
    "id": "k8s_00102_qa_1673"
  },
  {
    "question": "What are the benefits of Client Authentication (v1beta1)?",
    "answer": "Client Authentication (v1beta1)Resource TypesExecCredentialExecCredentialExecCredential is used by exec-based plugins to communicate credentials to HTTP transports.FieldDescriptionapiVersionstringclient.authentication.k8s.io/v1beta1kindstringExecCredentialspec [Required]ExecCredentialSpecSpec holds information passed to the plugin by the transport.statusExecCredentialStatusStatus is filled in by the plugin and holds the credentials that the transport should use to contact the API.ClusterAppears in:ExecCredentialSpecCluster contains information to allow an exec plugin to communicate with the kubernetes cluster being authenticated to.To ensure that this struct contains everything someone would need to communicate with a kubernetes cluster (just like they would via a kubeconfig), the fields should shadow \"k8s.io/client-go/tools/clientcmd/api/v1\".Cluster, with the exception of CertificateAuthority, since CA data will always be passed to the plugin as bytes.FieldDescriptionserver [Required]stringServer is the address of the kubernetes cluster (https://hostname:port).tls-server-namestringTLSServerName is passed to the server for SNI and is used in the client to check server certificates against. If ServerName is empty, the hostname used to contact the server is used.insecure-skip-tls-verifyboolInsecureSkipTLSVerify skips the validity check for the server's certificate. This will make your HTTPS connections insecure.certificate-authority-data[]byteCAData contains PEM-encoded certificate authority certificates. If empty, system roots should be used.proxy-urlstringProxyURL is the URL to the proxy to be used for all requests to this cluster.disable-compressionboolDisableCompression allows client to opt-out of response compression for all requests to the server. This is useful to speed up requests (specifically lists) when client-server network bandwidth is ample, by saving time on compression (server-side) and decompression (client-side): https://github.com/kubernetes/kubernetes/issues/112296.configk8s.io/apimachinery/pkg/runtime.RawExtensionConfig holds additional config data that is specific to the exec plugin with regards to the cluster being authenticated to.This data is sourced from the clientcmd Cluster object's extensions[client.authentication.k8s.io/exec] field:clusters:name: my-cluster cluster: ... extensions:name: client.authentication.k8s.io/exec # reserved extension name for per cluster exec config extension: audience: 06e3fbd18de8 # arbitrary configIn some environments, the user config may be exactly the same across many clusters (i.e. call this exec plugin) minus some details that are specific to each cluster such as the audience. This field allows the per cluster config to be directly specified with the cluster info. Using this field to store secret data is not recommended as one of the prime benefits of exec plugins is that no secrets need to be stored directly in the kubeconfig.ExecCredentialSpecAppears in:ExecCredentialExecCredentialSpec ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/client-authentication.v1beta1/",
    "id": "k8s_00102_qa_1674"
  },
  {
    "question": "What is Resource Types?",
    "answer": "E x e c C r e d e n t i a l",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/client-authentication.v1beta1/",
    "id": "k8s_00102_section_2_1675"
  },
  {
    "question": "What is ExecCredential?",
    "answer": "E x e c C r e d e n t i a l   i s   u s e d   b y   e x e c - b a s e d   p l u g i n s   t o   c o m m u n i c a t e   c r e d e n t i a l s   t o   H T T P   t r a n s p o r t s .   S p e c   h o l d s   i n f o r m a t i o n   p a s s e d   t o   t h e   p l u g i n   b y   t h e   t r a n s p o r t .   S t a t u s   i s   f i l l e d   i n   b y   t h e   p l u g i n   a n d   h o l d s   t h e   c r e d e n t i a l s   t h a t   t h e   t r a n s p o r t   s h o u l d   u s e   t o   c o n t a c t   t h e   A P I .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/client-authentication.v1beta1/",
    "id": "k8s_00102_section_2_1676"
  },
  {
    "question": "What is Cluster?",
    "answer": "A p p e a r s   i n :   E x e c C r e d e n t i a l S p e c   C l u s t e r   c o n t a i n s   i n f o r m a t i o n   t o   a l l o w   a n   e x e c   p l u g i n   t o   c o m m u n i c a t e   w i t h   t h e   k u b e r n e t e s   c l u s t e r   b e i n g   a u t h e n t i c a t e d   t o .   T o   e n s u r e   t h a t   t h i s   s t r u c t   c o n t a i n s   e v e r y t h i n g   s o m e o n e   w o u l d   n e e d   t o   c o m m u n i c a t e   w i t h   a   k u b e r n e t e s   c l u s t e r   ( j u s t   l i k e   t h e y   w o u l d   v i a   a   k u b e c o n f i g ) ,   t h e   f i e l d s   s h o u l d   s h a d o w   \" k 8 s . i o / c l i e n t - g o / t o o l s / c l i e n t c m d / a p i / v 1 \" . C l u s t e r ,   w i t h   t h e   e x c e p t i o n   o f   C e r t i f i c a t e A u t h o r i t y ,   s i n c e   C A   d a t a   w i l l   a l w a y s   b e   p a s s e d   t o   t h e   p l u g i n   a s   b y t e s .   S e r v e r   i s   t h e   a d d r e s s   o f   t h e   k u b e r n e t e s   c l u s t e r   ( h t t p s : / / h o s t n a m e : p o r t ) .   T L S S e r v e r N a m e   i s   p a s s e d   t o   t h e   s e r v e r   f o r   S N I   a n d   i s   u s e d   i n   t h e   c l i e n t   t o   c h e c k   s e r v e r   c e r t i f i c a t e s   a g a i n s t .   I f   S e r v e r N a m e   i s   e m p t y ,   t h e   h o s t n a m e   u s e d   t o   c o n t a c t   t h e   s e r v e r   i s   u s e d .   I n s e c u r e S k i p T L S V e r i f y   s k i p s   t h e   v a l i d i t y   c h e c k   f o r   t h e   s e r v e r ' s   c e r t i f i c a t e .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e .   C A D a t a   c o n t a i n s   P E M - e n c o d e d   c e r t i f i c a t e   a u t h o r i t y   c e r t i f i c a t e s .   I f   e m p t y ,   s y s t e m   r o o t s   s h o u l d   b e   u s e d .   P r o x y U R L   i s   t h e   U R L   t o   t h e   p r o x y   t o   b ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/client-authentication.v1beta1/",
    "id": "k8s_00102_section_2_1677"
  },
  {
    "question": "What is ExecCredentialSpec?",
    "answer": "A p p e a r s   i n :   E x e c C r e d e n t i a l   E x e c C r e d e n t i a l S p e c   h o l d s   r e q u e s t   a n d   r u n t i m e   s p e c i f i c   i n f o r m a t i o n   p r o v i d e d   b y   t h e   t r a n s p o r t .   C l u s t e r   c o n t a i n s   i n f o r m a t i o n   t o   a l l o w   a n   e x e c   p l u g i n   t o   c o m m u n i c a t e   w i t h   t h e   k u b e r n e t e s   c l u s t e r   b e i n g   a u t h e n t i c a t e d   t o .   N o t e   t h a t   C l u s t e r   i s   n o n - n i l   o n l y   w h e n   p r o v i d e C l u s t e r I n f o   i s   s e t   t o   t r u e   i n   t h e   e x e c   p r o v i d e r   c o n f i g   ( i . e . ,   E x e c C o n f i g . P r o v i d e C l u s t e r I n f o ) .   I n t e r a c t i v e   d e c l a r e s   w h e t h e r   s t d i n   h a s   b e e n   p a s s e d   t o   t h i s   e x e c   p l u g i n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/client-authentication.v1beta1/",
    "id": "k8s_00102_section_2_1678"
  },
  {
    "question": "What is ExecCredentialStatus?",
    "answer": "A p p e a r s   i n :   E x e c C r e d e n t i a l   E x e c C r e d e n t i a l S t a t u s   h o l d s   c r e d e n t i a l s   f o r   t h e   t r a n s p o r t   t o   u s e .   T o k e n   a n d   C l i e n t K e y D a t a   a r e   s e n s i t i v e   f i e l d s .   T h i s   d a t a   s h o u l d   o n l y   b e   t r a n s m i t t e d   i n - m e m o r y   b e t w e e n   c l i e n t   a n d   e x e c   p l u g i n   p r o c e s s .   E x e c   p l u g i n   i t s e l f   s h o u l d   a t   l e a s t   b e   p r o t e c t e d   v i a   f i l e   p e r m i s s i o n s .   E x p i r a t i o n T i m e s t a m p   i n d i c a t e s   a   t i m e   w h e n   t h e   p r o v i d e d   c r e d e n t i a l s   e x p i r e .   T o k e n   i s   a   b e a r e r   t o k e n   u s e d   b y   t h e   c l i e n t   f o r   r e q u e s t   a u t h e n t i c a t i o n .   P E M - e n c o d e d   c l i e n t   T L S   c e r t i f i c a t e s   ( i n c l u d i n g   i n t e r m e d i a t e s ,   i f   a n y ) .   P E M - e n c o d e d   p r i v a t e   k e y   f o r   t h e   a b o v e   c e r t i f i c a t e .   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/client-authentication.v1beta1/",
    "id": "k8s_00102_section_2_1679"
  },
  {
    "question": "What is kubectl config delete-context?",
    "answer": "kubectl config delete-contextSynopsisDelete the specified context from the kubeconfig.kubectl config delete-context NAME Examples # Delete the context for the minikube cluster kubectl config delete-context minikube Options-h, --helphelp for delete-contextParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--vers",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-context/",
    "id": "k8s_00103_qa_1680"
  },
  {
    "question": "How does kubectl config delete-context work?",
    "answer": "kubectl config delete-contextSynopsisDelete the specified context from the kubeconfig.kubectl config delete-context NAME Examples # Delete the context for the minikube cluster kubectl config delete-context minikube Options-h, --helphelp for delete-contextParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--vers",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-context/",
    "id": "k8s_00103_qa_1681"
  },
  {
    "question": "When would you use kubectl config delete-context?",
    "answer": "kubectl config delete-contextSynopsisDelete the specified context from the kubeconfig.kubectl config delete-context NAME Examples # Delete the context for the minikube cluster kubectl config delete-context minikube Options-h, --helphelp for delete-contextParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--vers",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-context/",
    "id": "k8s_00103_qa_1682"
  },
  {
    "question": "What are the benefits of kubectl config delete-context?",
    "answer": "kubectl config delete-contextSynopsisDelete the specified context from the kubeconfig.kubectl config delete-context NAME Examples # Delete the context for the minikube cluster kubectl config delete-context minikube Options-h, --helphelp for delete-contextParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--vers",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-context/",
    "id": "k8s_00103_qa_1683"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D e l e t e   t h e   s p e c i f i e d   c o n t e x t   f r o m   t h e   k u b e c o n f i g .   k u b e c t l   c o n f i g   d e l e t e - c o n t e x t   N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-context/",
    "id": "k8s_00103_section_2_1684"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D e l e t e   t h e   c o n t e x t   f o r   t h e   m i n i k u b e   c l u s t e r   k u b e c t l   c o n f i g   d e l e t e - c o n t e x t   m i n i k u b e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-context/",
    "id": "k8s_00103_section_2_1685"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   d e l e t e - c o n t e x t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-context/",
    "id": "k8s_00103_section_2_1686"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-context/",
    "id": "k8s_00103_section_2_1687"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-context/",
    "id": "k8s_00103_section_2_1688"
  },
  {
    "question": "What is Leases?",
    "answer": "LeasesDistributed systems often have a need for leases, which provide a mechanism to lock shared resources and coordinate activity between members of a set. In Kubernetes, the lease concept is represented by Lease objects in the coordination.k8s.io API Group, which are used for system-critical capabilities such as node heartbeats and component-level leader election.Node heartbeatsKubernetes uses the Lease API to communicate kubelet node heartbeats to the Kubernetes API server. For every Node , there is a Lease object with a matching name in the kube-node-lease namespace. Under the hood, every kubelet heartbeat is an update request to this Lease object, updating the spec.renewTime field for the Lease. The Kubernetes control plane uses the time stamp of this field to determine the availability of this Node.See Node Lease objects for more details.Leader electionKubernetes also uses Leases to ensure only one instance of a component is running at any given time. This is used by control plane components like kube-controller-manager and kube-scheduler in HA configurations, where only one instance of the component should be actively running while the other instances are on stand-by.Read coordinated leader election to learn about how Kubernetes builds on the Lease API to select which component instance acts as leader.API server identityFEATURE STATE: Kubernetes v1.26 [beta] (enabled by default: true)Starting in Kubernetes v1.26, each kube-apiserver uses the Lease API to publish its identity to the rest of the system. While not particularly useful on its own, this provides a mechanism for clients to discover how many instances of kube-apiserver are operating the Kubernetes control plane. Existence of kube-apiserver leases enables future capabilities that may require coordination between each kube-apiserver.You can inspect Leases owned by each kube-apiserver by checking for lease objects in the kube-system namespace with the name apiserver-<sha256-hash>. Alternatively you can use the label selector apiserver.kubernetes.io/identity=kube-apiserver:kubectl -n kube-system get lease -l apiserver.kubernetes.io/identity=kube-apiserver NAME HOLDER AGE apiserver-07a5ea9b9b072c4a5f3d1c3702 apiserver-07a5ea9b9b072c4a5f3d1c3702_0c8914f7-0f35-440e-8676-7844977d3a05 5m33s apiserver-7be9e061c59d368b3ddaf1376e apiserver-7be9e061c59d368b3ddaf1376e_84f2a85d-37c1-4b14-b6b9-603e62e4896f 4m23s apiserver-1dfef752bcb36637d2763d1868 apiserver-1dfef752bcb36637d2763d1868_c5ffa286-8a9a-45d4-91e7-61118ed58d2e 4m43s The SHA256 hash used in the lease name is based on the OS hostname as seen by that API server. Each kube-apiserver should be configured to use a hostname that is unique within the cluster. New instances of kube-apiserver that use the same hostname will take over existing Leases using a new holder identity, as opposed to instantiating new Lease objects. You can check the hostname used by kube-apiserver by checking the value of the kubernetes.io/hostname label:kubectl -n kube",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/leases/",
    "id": "k8s_00104_qa_1689"
  },
  {
    "question": "How does Leases work?",
    "answer": "LeasesDistributed systems often have a need for leases, which provide a mechanism to lock shared resources and coordinate activity between members of a set. In Kubernetes, the lease concept is represented by Lease objects in the coordination.k8s.io API Group, which are used for system-critical capabilities such as node heartbeats and component-level leader election.Node heartbeatsKubernetes uses the Lease API to communicate kubelet node heartbeats to the Kubernetes API server. For every Node , there is a Lease object with a matching name in the kube-node-lease namespace. Under the hood, every kubelet heartbeat is an update request to this Lease object, updating the spec.renewTime field for the Lease. The Kubernetes control plane uses the time stamp of this field to determine the availability of this Node.See Node Lease objects for more details.Leader electionKubernetes also uses Leases to ensure only one instance of a component is running at any given time. This is used by control plane components like kube-controller-manager and kube-scheduler in HA configurations, where only one instance of the component should be actively running while the other instances are on stand-by.Read coordinated leader election to learn about how Kubernetes builds on the Lease API to select which component instance acts as leader.API server identityFEATURE STATE: Kubernetes v1.26 [beta] (enabled by default: true)Starting in Kubernetes v1.26, each kube-apiserver uses the Lease API to publish its identity to the rest of the system. While not particularly useful on its own, this provides a mechanism for clients to discover how many instances of kube-apiserver are operating the Kubernetes control plane. Existence of kube-apiserver leases enables future capabilities that may require coordination between each kube-apiserver.You can inspect Leases owned by each kube-apiserver by checking for lease objects in the kube-system namespace with the name apiserver-<sha256-hash>. Alternatively you can use the label selector apiserver.kubernetes.io/identity=kube-apiserver:kubectl -n kube-system get lease -l apiserver.kubernetes.io/identity=kube-apiserver NAME HOLDER AGE apiserver-07a5ea9b9b072c4a5f3d1c3702 apiserver-07a5ea9b9b072c4a5f3d1c3702_0c8914f7-0f35-440e-8676-7844977d3a05 5m33s apiserver-7be9e061c59d368b3ddaf1376e apiserver-7be9e061c59d368b3ddaf1376e_84f2a85d-37c1-4b14-b6b9-603e62e4896f 4m23s apiserver-1dfef752bcb36637d2763d1868 apiserver-1dfef752bcb36637d2763d1868_c5ffa286-8a9a-45d4-91e7-61118ed58d2e 4m43s The SHA256 hash used in the lease name is based on the OS hostname as seen by that API server. Each kube-apiserver should be configured to use a hostname that is unique within the cluster. New instances of kube-apiserver that use the same hostname will take over existing Leases using a new holder identity, as opposed to instantiating new Lease objects. You can check the hostname used by kube-apiserver by checking the value of the kubernetes.io/hostname label:kubectl -n kube",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/leases/",
    "id": "k8s_00104_qa_1690"
  },
  {
    "question": "When would you use Leases?",
    "answer": "LeasesDistributed systems often have a need for leases, which provide a mechanism to lock shared resources and coordinate activity between members of a set. In Kubernetes, the lease concept is represented by Lease objects in the coordination.k8s.io API Group, which are used for system-critical capabilities such as node heartbeats and component-level leader election.Node heartbeatsKubernetes uses the Lease API to communicate kubelet node heartbeats to the Kubernetes API server. For every Node , there is a Lease object with a matching name in the kube-node-lease namespace. Under the hood, every kubelet heartbeat is an update request to this Lease object, updating the spec.renewTime field for the Lease. The Kubernetes control plane uses the time stamp of this field to determine the availability of this Node.See Node Lease objects for more details.Leader electionKubernetes also uses Leases to ensure only one instance of a component is running at any given time. This is used by control plane components like kube-controller-manager and kube-scheduler in HA configurations, where only one instance of the component should be actively running while the other instances are on stand-by.Read coordinated leader election to learn about how Kubernetes builds on the Lease API to select which component instance acts as leader.API server identityFEATURE STATE: Kubernetes v1.26 [beta] (enabled by default: true)Starting in Kubernetes v1.26, each kube-apiserver uses the Lease API to publish its identity to the rest of the system. While not particularly useful on its own, this provides a mechanism for clients to discover how many instances of kube-apiserver are operating the Kubernetes control plane. Existence of kube-apiserver leases enables future capabilities that may require coordination between each kube-apiserver.You can inspect Leases owned by each kube-apiserver by checking for lease objects in the kube-system namespace with the name apiserver-<sha256-hash>. Alternatively you can use the label selector apiserver.kubernetes.io/identity=kube-apiserver:kubectl -n kube-system get lease -l apiserver.kubernetes.io/identity=kube-apiserver NAME HOLDER AGE apiserver-07a5ea9b9b072c4a5f3d1c3702 apiserver-07a5ea9b9b072c4a5f3d1c3702_0c8914f7-0f35-440e-8676-7844977d3a05 5m33s apiserver-7be9e061c59d368b3ddaf1376e apiserver-7be9e061c59d368b3ddaf1376e_84f2a85d-37c1-4b14-b6b9-603e62e4896f 4m23s apiserver-1dfef752bcb36637d2763d1868 apiserver-1dfef752bcb36637d2763d1868_c5ffa286-8a9a-45d4-91e7-61118ed58d2e 4m43s The SHA256 hash used in the lease name is based on the OS hostname as seen by that API server. Each kube-apiserver should be configured to use a hostname that is unique within the cluster. New instances of kube-apiserver that use the same hostname will take over existing Leases using a new holder identity, as opposed to instantiating new Lease objects. You can check the hostname used by kube-apiserver by checking the value of the kubernetes.io/hostname label:kubectl -n kube",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/leases/",
    "id": "k8s_00104_qa_1691"
  },
  {
    "question": "What are the benefits of Leases?",
    "answer": "LeasesDistributed systems often have a need for leases, which provide a mechanism to lock shared resources and coordinate activity between members of a set. In Kubernetes, the lease concept is represented by Lease objects in the coordination.k8s.io API Group, which are used for system-critical capabilities such as node heartbeats and component-level leader election.Node heartbeatsKubernetes uses the Lease API to communicate kubelet node heartbeats to the Kubernetes API server. For every Node , there is a Lease object with a matching name in the kube-node-lease namespace. Under the hood, every kubelet heartbeat is an update request to this Lease object, updating the spec.renewTime field for the Lease. The Kubernetes control plane uses the time stamp of this field to determine the availability of this Node.See Node Lease objects for more details.Leader electionKubernetes also uses Leases to ensure only one instance of a component is running at any given time. This is used by control plane components like kube-controller-manager and kube-scheduler in HA configurations, where only one instance of the component should be actively running while the other instances are on stand-by.Read coordinated leader election to learn about how Kubernetes builds on the Lease API to select which component instance acts as leader.API server identityFEATURE STATE: Kubernetes v1.26 [beta] (enabled by default: true)Starting in Kubernetes v1.26, each kube-apiserver uses the Lease API to publish its identity to the rest of the system. While not particularly useful on its own, this provides a mechanism for clients to discover how many instances of kube-apiserver are operating the Kubernetes control plane. Existence of kube-apiserver leases enables future capabilities that may require coordination between each kube-apiserver.You can inspect Leases owned by each kube-apiserver by checking for lease objects in the kube-system namespace with the name apiserver-<sha256-hash>. Alternatively you can use the label selector apiserver.kubernetes.io/identity=kube-apiserver:kubectl -n kube-system get lease -l apiserver.kubernetes.io/identity=kube-apiserver NAME HOLDER AGE apiserver-07a5ea9b9b072c4a5f3d1c3702 apiserver-07a5ea9b9b072c4a5f3d1c3702_0c8914f7-0f35-440e-8676-7844977d3a05 5m33s apiserver-7be9e061c59d368b3ddaf1376e apiserver-7be9e061c59d368b3ddaf1376e_84f2a85d-37c1-4b14-b6b9-603e62e4896f 4m23s apiserver-1dfef752bcb36637d2763d1868 apiserver-1dfef752bcb36637d2763d1868_c5ffa286-8a9a-45d4-91e7-61118ed58d2e 4m43s The SHA256 hash used in the lease name is based on the OS hostname as seen by that API server. Each kube-apiserver should be configured to use a hostname that is unique within the cluster. New instances of kube-apiserver that use the same hostname will take over existing Leases using a new holder identity, as opposed to instantiating new Lease objects. You can check the hostname used by kube-apiserver by checking the value of the kubernetes.io/hostname label:kubectl -n kube",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/leases/",
    "id": "k8s_00104_qa_1692"
  },
  {
    "question": "What is Leases?",
    "answer": "D i s t r i b u t e d   s y s t e m s   o f t e n   h a v e   a   n e e d   f o r   l e a s e s ,   w h i c h   p r o v i d e   a   m e c h a n i s m   t o   l o c k   s h a r e d   r e s o u r c e s   a n d   c o o r d i n a t e   a c t i v i t y   b e t w e e n   m e m b e r s   o f   a   s e t .   I n   K u b e r n e t e s ,   t h e   l e a s e   c o n c e p t   i s   r e p r e s e n t e d   b y   L e a s e   o b j e c t s   i n   t h e   c o o r d i n a t i o n . k 8 s . i o   A P I   G r o u p ,   w h i c h   a r e   u s e d   f o r   s y s t e m - c r i t i c a l   c a p a b i l i t i e s   s u c h   a s   n o d e   h e a r t b e a t s   a n d   c o m p o n e n t - l e v e l   l e a d e r   e l e c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/leases/",
    "id": "k8s_00104_section_1_1693"
  },
  {
    "question": "What is Node heartbeats?",
    "answer": "K u b e r n e t e s   u s e s   t h e   L e a s e   A P I   t o   c o m m u n i c a t e   k u b e l e t   n o d e   h e a r t b e a t s   t o   t h e   K u b e r n e t e s   A P I   s e r v e r .   F o r   e v e r y   N o d e   ,   t h e r e   i s   a   L e a s e   o b j e c t   w i t h   a   m a t c h i n g   n a m e   i n   t h e   k u b e - n o d e - l e a s e   n a m e s p a c e .   U n d e r   t h e   h o o d ,   e v e r y   k u b e l e t   h e a r t b e a t   i s   a n   u p d a t e   r e q u e s t   t o   t h i s   L e a s e   o b j e c t ,   u p d a t i n g   t h e   s p e c . r e n e w T i m e   f i e l d   f o r   t h e   L e a s e .   T h e   K u b e r n e t e s   c o n t r o l   p l a n e   u s e s   t h e   t i m e   s t a m p   o f   t h i s   f i e l d   t o   d e t e r m i n e   t h e   a v a i l a b i l i t y   o f   t h i s   N o d e .   S e e   N o d e   L e a s e   o b j e c t s   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/leases/",
    "id": "k8s_00104_section_2_1694"
  },
  {
    "question": "What is Leader election?",
    "answer": "K u b e r n e t e s   a l s o   u s e s   L e a s e s   t o   e n s u r e   o n l y   o n e   i n s t a n c e   o f   a   c o m p o n e n t   i s   r u n n i n g   a t   a n y   g i v e n   t i m e .   T h i s   i s   u s e d   b y   c o n t r o l   p l a n e   c o m p o n e n t s   l i k e   k u b e - c o n t r o l l e r - m a n a g e r   a n d   k u b e - s c h e d u l e r   i n   H A   c o n f i g u r a t i o n s ,   w h e r e   o n l y   o n e   i n s t a n c e   o f   t h e   c o m p o n e n t   s h o u l d   b e   a c t i v e l y   r u n n i n g   w h i l e   t h e   o t h e r   i n s t a n c e s   a r e   o n   s t a n d - b y .   R e a d   c o o r d i n a t e d   l e a d e r   e l e c t i o n   t o   l e a r n   a b o u t   h o w   K u b e r n e t e s   b u i l d s   o n   t h e   L e a s e   A P I   t o   s e l e c t   w h i c h   c o m p o n e n t   i n s t a n c e   a c t s   a s   l e a d e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/leases/",
    "id": "k8s_00104_section_2_1695"
  },
  {
    "question": "What is API server identity?",
    "answer": "S t a r t i n g   i n   K u b e r n e t e s   v 1 . 2 6 ,   e a c h   k u b e - a p i s e r v e r   u s e s   t h e   L e a s e   A P I   t o   p u b l i s h   i t s   i d e n t i t y   t o   t h e   r e s t   o f   t h e   s y s t e m .   W h i l e   n o t   p a r t i c u l a r l y   u s e f u l   o n   i t s   o w n ,   t h i s   p r o v i d e s   a   m e c h a n i s m   f o r   c l i e n t s   t o   d i s c o v e r   h o w   m a n y   i n s t a n c e s   o f   k u b e - a p i s e r v e r   a r e   o p e r a t i n g   t h e   K u b e r n e t e s   c o n t r o l   p l a n e .   E x i s t e n c e   o f   k u b e - a p i s e r v e r   l e a s e s   e n a b l e s   f u t u r e   c a p a b i l i t i e s   t h a t   m a y   r e q u i r e   c o o r d i n a t i o n   b e t w e e n   e a c h   k u b e - a p i s e r v e r .   Y o u   c a n   i n s p e c t   L e a s e s   o w n e d   b y   e a c h   k u b e - a p i s e r v e r   b y   c h e c k i n g   f o r   l e a s e   o b j e c t s   i n   t h e   k u b e - s y s t e m   n a m e s p a c e   w i t h   t h e   n a m e   a p i s e r v e r - < s h a 2 5 6 - h a s h > .   A l t e r n a t i v e l y   y o u   c a n   u s e   t h e   l a b e l   s e l e c t o r   a p i s e r v e r . k u b e r n e t e s . i o / i d e n t i t y = k u b e - a p i s e r v e r :   k u b e c t l   - n   k u b e - s y s t e m   g e t   l e a s e   - l   a p i s e r v e r . k u b e r n e t e s . i o / i d e n t i t y = k u b e - a p i s e r v e r   N A M E   H O L D E R   A G E   a p i s e r v e r - 0 7 a 5 e a 9 b 9 b 0 7 2 c 4 a 5 f 3 d 1 c 3 7 0 2   a p i s e r v e r - 0 7 a 5 e a 9 b 9 b 0 7 2 c 4 a 5 f 3 d 1 c 3 7 0 2 _ 0 c 8 9 1 4 f 7 - 0 f 3 5 - 4 4 0 e - 8 6 7 6 - 7 8 4 4 9 7 7 d 3 a 0 5   5 m 3 3 s   a p i s e r v e r - 7 b e 9 e 0 6 1 c 5 9 d 3 6 8 b 3 d d a f 1 3 7 6 e   a p i s e r v e r - 7 b e 9 e 0 6 1 c 5 9 d 3 6 8 b 3 d d a f 1 3 7 6 e _ 8 4 f 2 a 8 5 d - 3 7 c 1 - 4 b 1 4 - b 6 b 9 - 6 0 3 e 6 2 e 4 8 9 6 f   4 m 2 3 s   a p i s e r v ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/leases/",
    "id": "k8s_00104_section_2_1696"
  },
  {
    "question": "What is Workloads?",
    "answer": "Y o u r   o w n   w o r k l o a d   c a n   d e f i n e   i t s   o w n   u s e   o f   L e a s e s .   F o r   e x a m p l e ,   y o u   m i g h t   r u n   a   c u s t o m   c o n t r o l l e r   w h e r e   a   p r i m a r y   o r   l e a d e r   m e m b e r   p e r f o r m s   o p e r a t i o n s   t h a t   i t s   p e e r s   d o   n o t .   Y o u   d e f i n e   a   L e a s e   s o   t h a t   t h e   c o n t r o l l e r   r e p l i c a s   c a n   s e l e c t   o r   e l e c t   a   l e a d e r ,   u s i n g   t h e   K u b e r n e t e s   A P I   f o r   c o o r d i n a t i o n .   I f   y o u   d o   u s e   a   L e a s e ,   i t ' s   a   g o o d   p r a c t i c e   t o   d e f i n e   a   n a m e   f o r   t h e   L e a s e   t h a t   i s   o b v i o u s l y   l i n k e d   t o   t h e   p r o d u c t   o r   c o m p o n e n t .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   c o m p o n e n t   n a m e d   E x a m p l e   F o o ,   u s e   a   L e a s e   n a m e d   e x a m p l e - f o o .   I f   a   c l u s t e r   o p e r a t o r   o r   a n o t h e r   e n d   u s e r   c o u l d   d e p l o y   m u l t i p l e   i n s t a n c e s   o f   a   c o m p o n e n t ,   s e l e c t   a   n a m e   p r e f i x   a n d   p i c k   a   m e c h a n i s m   ( s u c h   a s   h a s h   o f   t h e   n a m e   o f   t h e   D e p l o y m e n t )   t o   a v o i d   n a m e   c o l l i s i o n s   f o r   t h e   L e a s e s .   Y o u   c a n   u s e   a n o t h e r   a p p r o a c h   s o   l o n g   a s   i t   a c h i e v e s   t h e   s a m e   o u t c o m e :   d i f f e r e n t   s o f t w a r e   p r o d u c t s   d o   n o t   c o n f l i c t   w i t h   o n e   a n o t h e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/leases/",
    "id": "k8s_00104_section_2_1697"
  },
  {
    "question": "What is Helping as a blog writing buddy?",
    "answer": "Helping as a blog writing buddyThere are two official Kubernetes blogs, and the CNCF has its own blog where you can cover Kubernetes too. Read contributing to Kubernetes blogs to learn about these two blogs.When people contribute to either blog as an author, the Kubernetes project pairs up authors as writing buddies. This page explains how to fulfil the buddy role.You should make sure that you have at least read an outline of article submission before you read on within this page.Buddy responsibilitiesAs a writing buddy, you:help the blog team get articles ready to merge and to publishsupport your buddy to produce content that is good to mergeprovide a review on the article that your buddy has writtenWhen the team pairs you up with another author, the idea is that you both support each other by reviewing the other author's draft article. Most people reading articles on the Kubernetes blog are not experts; the content should try to make sense for that audience, or at least to support non-expert readers appropriately.The blog team are also there to help you both along the journey from draft to publication. They will either be directly able to approve your article for publication, or can arrange for the approval to happen.Supporting the blog teamYour main responsibility here is to communicate about your capacity, availability and progress in a reasonable timeline. If many weeks go by and your buddy hasn't heard from you, it makes the overall work take more time.Supporting your buddyThere are two parts to the process(This is the recommended option)The blog team recommend that the main author for the article sets up collaborative editing using either a Google Doc or HackMD (their choice). The main author then shares that document with the following people:Any co-authorsYou (their writing buddy)Ideally, with a nominated person from the blog team.As a writing buddy, you then read the draft text and either directly make suggestions or provide",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/writing-buddy/",
    "id": "k8s_00105_qa_1698"
  },
  {
    "question": "How does Helping as a blog writing buddy work?",
    "answer": "Helping as a blog writing buddyThere are two official Kubernetes blogs, and the CNCF has its own blog where you can cover Kubernetes too. Read contributing to Kubernetes blogs to learn about these two blogs.When people contribute to either blog as an author, the Kubernetes project pairs up authors as writing buddies. This page explains how to fulfil the buddy role.You should make sure that you have at least read an outline of article submission before you read on within this page.Buddy responsibilitiesAs a writing buddy, you:help the blog team get articles ready to merge and to publishsupport your buddy to produce content that is good to mergeprovide a review on the article that your buddy has writtenWhen the team pairs you up with another author, the idea is that you both support each other by reviewing the other author's draft article. Most people reading articles on the Kubernetes blog are not experts; the content should try to make sense for that audience, or at least to support non-expert readers appropriately.The blog team are also there to help you both along the journey from draft to publication. They will either be directly able to approve your article for publication, or can arrange for the approval to happen.Supporting the blog teamYour main responsibility here is to communicate about your capacity, availability and progress in a reasonable timeline. If many weeks go by and your buddy hasn't heard from you, it makes the overall work take more time.Supporting your buddyThere are two parts to the process(This is the recommended option)The blog team recommend that the main author for the article sets up collaborative editing using either a Google Doc or HackMD (their choice). The main author then shares that document with the following people:Any co-authorsYou (their writing buddy)Ideally, with a nominated person from the blog team.As a writing buddy, you then read the draft text and either directly make suggestions or provide",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/writing-buddy/",
    "id": "k8s_00105_qa_1699"
  },
  {
    "question": "When would you use Helping as a blog writing buddy?",
    "answer": "Helping as a blog writing buddyThere are two official Kubernetes blogs, and the CNCF has its own blog where you can cover Kubernetes too. Read contributing to Kubernetes blogs to learn about these two blogs.When people contribute to either blog as an author, the Kubernetes project pairs up authors as writing buddies. This page explains how to fulfil the buddy role.You should make sure that you have at least read an outline of article submission before you read on within this page.Buddy responsibilitiesAs a writing buddy, you:help the blog team get articles ready to merge and to publishsupport your buddy to produce content that is good to mergeprovide a review on the article that your buddy has writtenWhen the team pairs you up with another author, the idea is that you both support each other by reviewing the other author's draft article. Most people reading articles on the Kubernetes blog are not experts; the content should try to make sense for that audience, or at least to support non-expert readers appropriately.The blog team are also there to help you both along the journey from draft to publication. They will either be directly able to approve your article for publication, or can arrange for the approval to happen.Supporting the blog teamYour main responsibility here is to communicate about your capacity, availability and progress in a reasonable timeline. If many weeks go by and your buddy hasn't heard from you, it makes the overall work take more time.Supporting your buddyThere are two parts to the process(This is the recommended option)The blog team recommend that the main author for the article sets up collaborative editing using either a Google Doc or HackMD (their choice). The main author then shares that document with the following people:Any co-authorsYou (their writing buddy)Ideally, with a nominated person from the blog team.As a writing buddy, you then read the draft text and either directly make suggestions or provide",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/writing-buddy/",
    "id": "k8s_00105_qa_1700"
  },
  {
    "question": "What are the benefits of Helping as a blog writing buddy?",
    "answer": "Helping as a blog writing buddyThere are two official Kubernetes blogs, and the CNCF has its own blog where you can cover Kubernetes too. Read contributing to Kubernetes blogs to learn about these two blogs.When people contribute to either blog as an author, the Kubernetes project pairs up authors as writing buddies. This page explains how to fulfil the buddy role.You should make sure that you have at least read an outline of article submission before you read on within this page.Buddy responsibilitiesAs a writing buddy, you:help the blog team get articles ready to merge and to publishsupport your buddy to produce content that is good to mergeprovide a review on the article that your buddy has writtenWhen the team pairs you up with another author, the idea is that you both support each other by reviewing the other author's draft article. Most people reading articles on the Kubernetes blog are not experts; the content should try to make sense for that audience, or at least to support non-expert readers appropriately.The blog team are also there to help you both along the journey from draft to publication. They will either be directly able to approve your article for publication, or can arrange for the approval to happen.Supporting the blog teamYour main responsibility here is to communicate about your capacity, availability and progress in a reasonable timeline. If many weeks go by and your buddy hasn't heard from you, it makes the overall work take more time.Supporting your buddyThere are two parts to the process(This is the recommended option)The blog team recommend that the main author for the article sets up collaborative editing using either a Google Doc or HackMD (their choice). The main author then shares that document with the following people:Any co-authorsYou (their writing buddy)Ideally, with a nominated person from the blog team.As a writing buddy, you then read the draft text and either directly make suggestions or provide",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/writing-buddy/",
    "id": "k8s_00105_qa_1701"
  },
  {
    "question": "What is Helping as a blog writing buddy?",
    "answer": "T h e r e   a r e   t w o   o f f i c i a l   K u b e r n e t e s   b l o g s ,   a n d   t h e   C N C F   h a s   i t s   o w n   b l o g   w h e r e   y o u   c a n   c o v e r   K u b e r n e t e s   t o o .   R e a d   c o n t r i b u t i n g   t o   K u b e r n e t e s   b l o g s   t o   l e a r n   a b o u t   t h e s e   t w o   b l o g s .   W h e n   p e o p l e   c o n t r i b u t e   t o   e i t h e r   b l o g   a s   a n   a u t h o r ,   t h e   K u b e r n e t e s   p r o j e c t   p a i r s   u p   a u t h o r s   a s   w r i t i n g   b u d d i e s .   T h i s   p a g e   e x p l a i n s   h o w   t o   f u l f i l   t h e   b u d d y   r o l e .   Y o u   s h o u l d   m a k e   s u r e   t h a t   y o u   h a v e   a t   l e a s t   r e a d   a n   o u t l i n e   o f   a r t i c l e   s u b m i s s i o n   b e f o r e   y o u   r e a d   o n   w i t h i n   t h i s   p a g e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/writing-buddy/",
    "id": "k8s_00105_section_1_1702"
  },
  {
    "question": "What is Buddy responsibilities?",
    "answer": "A s   a   w r i t i n g   b u d d y ,   y o u :   h e l p   t h e   b l o g   t e a m   g e t   a r t i c l e s   r e a d y   t o   m e r g e   a n d   t o   p u b l i s h s u p p o r t   y o u r   b u d d y   t o   p r o d u c e   c o n t e n t   t h a t   i s   g o o d   t o   m e r g e p r o v i d e   a   r e v i e w   o n   t h e   a r t i c l e   t h a t   y o u r   b u d d y   h a s   w r i t t e n   W h e n   t h e   t e a m   p a i r s   y o u   u p   w i t h   a n o t h e r   a u t h o r ,   t h e   i d e a   i s   t h a t   y o u   b o t h   s u p p o r t   e a c h   o t h e r   b y   r e v i e w i n g   t h e   o t h e r   a u t h o r ' s   d r a f t   a r t i c l e .   M o s t   p e o p l e   r e a d i n g   a r t i c l e s   o n   t h e   K u b e r n e t e s   b l o g   a r e   n o t   e x p e r t s ;   t h e   c o n t e n t   s h o u l d   t r y   t o   m a k e   s e n s e   f o r   t h a t   a u d i e n c e ,   o r   a t   l e a s t   t o   s u p p o r t   n o n - e x p e r t   r e a d e r s   a p p r o p r i a t e l y .   T h e   b l o g   t e a m   a r e   a l s o   t h e r e   t o   h e l p   y o u   b o t h   a l o n g   t h e   j o u r n e y   f r o m   d r a f t   t o   p u b l i c a t i o n .   T h e y   w i l l   e i t h e r   b e   d i r e c t l y   a b l e   t o   a p p r o v e   y o u r   a r t i c l e   f o r   p u b l i c a t i o n ,   o r   c a n   a r r a n g e   f o r   t h e   a p p r o v a l   t o   h a p p e n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/writing-buddy/",
    "id": "k8s_00105_section_2_1703"
  },
  {
    "question": "What is Supporting the blog team?",
    "answer": "Y o u r   m a i n   r e s p o n s i b i l i t y   h e r e   i s   t o   c o m m u n i c a t e   a b o u t   y o u r   c a p a c i t y ,   a v a i l a b i l i t y   a n d   p r o g r e s s   i n   a   r e a s o n a b l e   t i m e l i n e .   I f   m a n y   w e e k s   g o   b y   a n d   y o u r   b u d d y   h a s n ' t   h e a r d   f r o m   y o u ,   i t   m a k e s   t h e   o v e r a l l   w o r k   t a k e   m o r e   t i m e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/writing-buddy/",
    "id": "k8s_00105_section_2_1704"
  },
  {
    "question": "What is Supporting your buddy?",
    "answer": "T h e r e   a r e   t w o   p a r t s   t o   t h e   p r o c e s s   ( T h i s   i s   t h e   r e c o m m e n d e d   o p t i o n ) T h e   b l o g   t e a m   r e c o m m e n d   t h a t   t h e   m a i n   a u t h o r   f o r   t h e   a r t i c l e   s e t s   u p   c o l l a b o r a t i v e   e d i t i n g   u s i n g   e i t h e r   a   G o o g l e   D o c   o r   H a c k M D   ( t h e i r   c h o i c e ) .   T h e   m a i n   a u t h o r   t h e n   s h a r e s   t h a t   d o c u m e n t   w i t h   t h e   f o l l o w i n g   p e o p l e : A n y   c o - a u t h o r s Y o u   ( t h e i r   w r i t i n g   b u d d y ) I d e a l l y ,   w i t h   a   n o m i n a t e d   p e r s o n   f r o m   t h e   b l o g   t e a m . A s   a   w r i t i n g   b u d d y ,   y o u   t h e n   r e a d   t h e   d r a f t   t e x t   a n d   e i t h e r   d i r e c t l y   m a k e   s u g g e s t i o n s   o r   p r o v i d e",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/writing-buddy/",
    "id": "k8s_00105_section_2_1705"
  },
  {
    "question": "What is Pull request review?",
    "answer": "F o l l o w   t h e   b l o g   s e c t i o n   o f   R e v i e w i n g   p u l l   r e q u e s t s .   W h e n   y o u   t h i n k   t h a t   t h e   o p e n   b l o g   p u l l   r e q u e s t   i s   g o o d   e n o u g h   t o   m e r g e ,   a d d   t h e   / l g t m   c o m m e n t   t o   t h e   p u l l   r e q u e s t .   T h i s   i n d i c a t e s   t o   t h e   r e p o s i t o r y   a u t o m a t i o n   t o o l i n g   ( P r o w )   t h a t   t h e   c o n t e n t   \" l o o k s   g o o d   t o   m e \" .   P r o w   m o v e s   t h i n g s   f o r w a r d .   T h e   / l g t m   c o m m a n d   l e t s   y o u   a d d   y o u r   o p i n i o n   t o   t h e   r e c o r d   w h e t h e r   o r   n o t   y o u   a r e   f o r m a l l y   a   m e m b e r   o f   t h e   K u b e r n e t e s   p r o j e c t .   E i t h e r   y o u   o r   t h e   a r t i c l e   a u t h o r ( s )   s h o u l d   l e t   t h e   b l o g   t e a m   k n o w   t h a t   t h e r e   i s   a n   a r t i c l e   r e a d y   f o r   s i g n o f f .   I t   s h o u l d   a l r e a d y   b e   m a r k e d   a s   d r a f t :   t r u e   i n   t h e   f r o n t   m a t t e r ,   a s   e x p l a i n e d   i n   t h e   s u b m i s s i o n   g u i d a n c e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/writing-buddy/",
    "id": "k8s_00105_section_2_1706"
  },
  {
    "question": "What is Subsequent steps?",
    "answer": "F o r   y o u   a s   a   w r i t i n g   b u d d y ,   t h e r e   i s   n o   s t e p   f o u r .   O n c e   t h e   p u l l   r e q u e s t   i s   g o o d   t o   m e r g e ,   t h e   b l o g   t e a m   ( o r ,   f o r   t h e   c o n t r i b u t o r   s i t e ,   t h e   c o n t r i b u t o r   c o m m s   t e a m )   t a k e   t h i n g s   f r o m   t h e r e .   I t ' s   p o s s i b l e   t h a t   y o u ' l l   n e e d   t o   r e t u r n   t o   a n   e a r l i e r   s t e p   b a s e d   o n",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/writing-buddy/",
    "id": "k8s_00105_section_2_1707"
  },
  {
    "question": "What is Mutating Admission Policy?",
    "answer": "Mutating Admission PolicyFEATURE STATE: Kubernetes v1.34 [beta]This page provides an overview of MutatingAdmissionPolicies. MutatingAdmissionPolicies allow you change what happens when someone writes a change to the Kubernetes API. If you want to use declarative policies just to prevent a particular kind of change to resources (for example: protecting platform namespaces from deletion), ValidatingAdmissionPolicy is a simpler and more effective alternative.To use the feature, enable the MutatingAdmissionPolicy feature gate (which is off by default) and set --runtime-config=admissionregistration.k8s.io/v1beta1=true on the kube-apiserver.What are MutatingAdmissionPolicies?Mutating admission policies offer a declarative, in-process alternative to mutating admission webhooks.Mutating admission policies use the Common Expression Language (CEL) to declare mutations to resources. Mutations can be defined either with an apply configuration that is merged using the server side apply merge strategy, or a JSON patch.Mutating admission policies are highly configurable, enabling policy authors to define policies that can be parameterized and scoped to resources as needed by cluster administrators.What resources make a policyA policy is generally made up of three resources:The MutatingAdmissionPolicy describes the abstract logic of a policy (think: \"this policy sets a particular label to a particular value\").A parameter resource provides information to a MutatingAdmissionPolicy to make it a concrete statement (think \"set the owner label to something like company.example.com\"). Parameter resources refer to Kubernetes resources, available in the Kubernetes API. They can be built-in types or extensions, such as a CustomResourceDefinition (CRD). For example, you can use a ConfigMap as a parameter.A MutatingAdmissionPolicyBinding links the above (MutatingAdmissionPolicy and parameter) resources together and provides scoping. If you only want to set an owner label for Pods, and not other API kinds, the binding is where you specify this mutation.At least a MutatingAdmissionPolicy and a corresponding MutatingAdmissionPolicyBinding must be defined for a policy to have an effect.If a MutatingAdmissionPolicy does not need to be configured via parameters, simply leave spec.paramKind in MutatingAdmissionPolicy not specified.Getting Started with MutatingAdmissionPoliciesMutating admission policy is part of the cluster control-plane. You should write and deploy them with great caution. The following describes how to quickly experiment with Mutating admission policy.Create a MutatingAdmissionPolicyThe following is an example of a MutatingAdmissionPolicy. This policy mutates newly created Pods to have a sidecar container if it does not exist.mutatingadmissionpolicy/applyconfiguration-example.yaml apiVersion: admissionregistration.k8s.io/v1beta1 kind: MutatingAdmissionPolicy metadata: name: \"sidecar-policy.example.com\" spec: paramKind: kind: Sidecar apiVersion: mutations.example",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/mutating-admission-policy/",
    "id": "k8s_00106_qa_1708"
  },
  {
    "question": "How does Mutating Admission Policy work?",
    "answer": "Mutating Admission PolicyFEATURE STATE: Kubernetes v1.34 [beta]This page provides an overview of MutatingAdmissionPolicies. MutatingAdmissionPolicies allow you change what happens when someone writes a change to the Kubernetes API. If you want to use declarative policies just to prevent a particular kind of change to resources (for example: protecting platform namespaces from deletion), ValidatingAdmissionPolicy is a simpler and more effective alternative.To use the feature, enable the MutatingAdmissionPolicy feature gate (which is off by default) and set --runtime-config=admissionregistration.k8s.io/v1beta1=true on the kube-apiserver.What are MutatingAdmissionPolicies?Mutating admission policies offer a declarative, in-process alternative to mutating admission webhooks.Mutating admission policies use the Common Expression Language (CEL) to declare mutations to resources. Mutations can be defined either with an apply configuration that is merged using the server side apply merge strategy, or a JSON patch.Mutating admission policies are highly configurable, enabling policy authors to define policies that can be parameterized and scoped to resources as needed by cluster administrators.What resources make a policyA policy is generally made up of three resources:The MutatingAdmissionPolicy describes the abstract logic of a policy (think: \"this policy sets a particular label to a particular value\").A parameter resource provides information to a MutatingAdmissionPolicy to make it a concrete statement (think \"set the owner label to something like company.example.com\"). Parameter resources refer to Kubernetes resources, available in the Kubernetes API. They can be built-in types or extensions, such as a CustomResourceDefinition (CRD). For example, you can use a ConfigMap as a parameter.A MutatingAdmissionPolicyBinding links the above (MutatingAdmissionPolicy and parameter) resources together and provides scoping. If you only want to set an owner label for Pods, and not other API kinds, the binding is where you specify this mutation.At least a MutatingAdmissionPolicy and a corresponding MutatingAdmissionPolicyBinding must be defined for a policy to have an effect.If a MutatingAdmissionPolicy does not need to be configured via parameters, simply leave spec.paramKind in MutatingAdmissionPolicy not specified.Getting Started with MutatingAdmissionPoliciesMutating admission policy is part of the cluster control-plane. You should write and deploy them with great caution. The following describes how to quickly experiment with Mutating admission policy.Create a MutatingAdmissionPolicyThe following is an example of a MutatingAdmissionPolicy. This policy mutates newly created Pods to have a sidecar container if it does not exist.mutatingadmissionpolicy/applyconfiguration-example.yaml apiVersion: admissionregistration.k8s.io/v1beta1 kind: MutatingAdmissionPolicy metadata: name: \"sidecar-policy.example.com\" spec: paramKind: kind: Sidecar apiVersion: mutations.example",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/mutating-admission-policy/",
    "id": "k8s_00106_qa_1709"
  },
  {
    "question": "When would you use Mutating Admission Policy?",
    "answer": "Mutating Admission PolicyFEATURE STATE: Kubernetes v1.34 [beta]This page provides an overview of MutatingAdmissionPolicies. MutatingAdmissionPolicies allow you change what happens when someone writes a change to the Kubernetes API. If you want to use declarative policies just to prevent a particular kind of change to resources (for example: protecting platform namespaces from deletion), ValidatingAdmissionPolicy is a simpler and more effective alternative.To use the feature, enable the MutatingAdmissionPolicy feature gate (which is off by default) and set --runtime-config=admissionregistration.k8s.io/v1beta1=true on the kube-apiserver.What are MutatingAdmissionPolicies?Mutating admission policies offer a declarative, in-process alternative to mutating admission webhooks.Mutating admission policies use the Common Expression Language (CEL) to declare mutations to resources. Mutations can be defined either with an apply configuration that is merged using the server side apply merge strategy, or a JSON patch.Mutating admission policies are highly configurable, enabling policy authors to define policies that can be parameterized and scoped to resources as needed by cluster administrators.What resources make a policyA policy is generally made up of three resources:The MutatingAdmissionPolicy describes the abstract logic of a policy (think: \"this policy sets a particular label to a particular value\").A parameter resource provides information to a MutatingAdmissionPolicy to make it a concrete statement (think \"set the owner label to something like company.example.com\"). Parameter resources refer to Kubernetes resources, available in the Kubernetes API. They can be built-in types or extensions, such as a CustomResourceDefinition (CRD). For example, you can use a ConfigMap as a parameter.A MutatingAdmissionPolicyBinding links the above (MutatingAdmissionPolicy and parameter) resources together and provides scoping. If you only want to set an owner label for Pods, and not other API kinds, the binding is where you specify this mutation.At least a MutatingAdmissionPolicy and a corresponding MutatingAdmissionPolicyBinding must be defined for a policy to have an effect.If a MutatingAdmissionPolicy does not need to be configured via parameters, simply leave spec.paramKind in MutatingAdmissionPolicy not specified.Getting Started with MutatingAdmissionPoliciesMutating admission policy is part of the cluster control-plane. You should write and deploy them with great caution. The following describes how to quickly experiment with Mutating admission policy.Create a MutatingAdmissionPolicyThe following is an example of a MutatingAdmissionPolicy. This policy mutates newly created Pods to have a sidecar container if it does not exist.mutatingadmissionpolicy/applyconfiguration-example.yaml apiVersion: admissionregistration.k8s.io/v1beta1 kind: MutatingAdmissionPolicy metadata: name: \"sidecar-policy.example.com\" spec: paramKind: kind: Sidecar apiVersion: mutations.example",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/mutating-admission-policy/",
    "id": "k8s_00106_qa_1710"
  },
  {
    "question": "What are the benefits of Mutating Admission Policy?",
    "answer": "Mutating Admission PolicyFEATURE STATE: Kubernetes v1.34 [beta]This page provides an overview of MutatingAdmissionPolicies. MutatingAdmissionPolicies allow you change what happens when someone writes a change to the Kubernetes API. If you want to use declarative policies just to prevent a particular kind of change to resources (for example: protecting platform namespaces from deletion), ValidatingAdmissionPolicy is a simpler and more effective alternative.To use the feature, enable the MutatingAdmissionPolicy feature gate (which is off by default) and set --runtime-config=admissionregistration.k8s.io/v1beta1=true on the kube-apiserver.What are MutatingAdmissionPolicies?Mutating admission policies offer a declarative, in-process alternative to mutating admission webhooks.Mutating admission policies use the Common Expression Language (CEL) to declare mutations to resources. Mutations can be defined either with an apply configuration that is merged using the server side apply merge strategy, or a JSON patch.Mutating admission policies are highly configurable, enabling policy authors to define policies that can be parameterized and scoped to resources as needed by cluster administrators.What resources make a policyA policy is generally made up of three resources:The MutatingAdmissionPolicy describes the abstract logic of a policy (think: \"this policy sets a particular label to a particular value\").A parameter resource provides information to a MutatingAdmissionPolicy to make it a concrete statement (think \"set the owner label to something like company.example.com\"). Parameter resources refer to Kubernetes resources, available in the Kubernetes API. They can be built-in types or extensions, such as a CustomResourceDefinition (CRD). For example, you can use a ConfigMap as a parameter.A MutatingAdmissionPolicyBinding links the above (MutatingAdmissionPolicy and parameter) resources together and provides scoping. If you only want to set an owner label for Pods, and not other API kinds, the binding is where you specify this mutation.At least a MutatingAdmissionPolicy and a corresponding MutatingAdmissionPolicyBinding must be defined for a policy to have an effect.If a MutatingAdmissionPolicy does not need to be configured via parameters, simply leave spec.paramKind in MutatingAdmissionPolicy not specified.Getting Started with MutatingAdmissionPoliciesMutating admission policy is part of the cluster control-plane. You should write and deploy them with great caution. The following describes how to quickly experiment with Mutating admission policy.Create a MutatingAdmissionPolicyThe following is an example of a MutatingAdmissionPolicy. This policy mutates newly created Pods to have a sidecar container if it does not exist.mutatingadmissionpolicy/applyconfiguration-example.yaml apiVersion: admissionregistration.k8s.io/v1beta1 kind: MutatingAdmissionPolicy metadata: name: \"sidecar-policy.example.com\" spec: paramKind: kind: Sidecar apiVersion: mutations.example",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/mutating-admission-policy/",
    "id": "k8s_00106_qa_1711"
  },
  {
    "question": "What is Mutating Admission Policy?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   o f   M u t a t i n g A d m i s s i o n P o l i c i e s .   M u t a t i n g A d m i s s i o n P o l i c i e s   a l l o w   y o u   c h a n g e   w h a t   h a p p e n s   w h e n   s o m e o n e   w r i t e s   a   c h a n g e   t o   t h e   K u b e r n e t e s   A P I .   I f   y o u   w a n t   t o   u s e   d e c l a r a t i v e   p o l i c i e s   j u s t   t o   p r e v e n t   a   p a r t i c u l a r   k i n d   o f   c h a n g e   t o   r e s o u r c e s   ( f o r   e x a m p l e :   p r o t e c t i n g   p l a t f o r m   n a m e s p a c e s   f r o m   d e l e t i o n ) ,   V a l i d a t i n g A d m i s s i o n P o l i c y   i s   a   s i m p l e r   a n d   m o r e   e f f e c t i v e   a l t e r n a t i v e .   T o   u s e   t h e   f e a t u r e ,   e n a b l e   t h e   M u t a t i n g A d m i s s i o n P o l i c y   f e a t u r e   g a t e   ( w h i c h   i s   o f f   b y   d e f a u l t )   a n d   s e t   - - r u n t i m e - c o n f i g = a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 = t r u e   o n   t h e   k u b e - a p i s e r v e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/mutating-admission-policy/",
    "id": "k8s_00106_section_1_1712"
  },
  {
    "question": "What is What are MutatingAdmissionPolicies??",
    "answer": "M u t a t i n g   a d m i s s i o n   p o l i c i e s   o f f e r   a   d e c l a r a t i v e ,   i n - p r o c e s s   a l t e r n a t i v e   t o   m u t a t i n g   a d m i s s i o n   w e b h o o k s .   M u t a t i n g   a d m i s s i o n   p o l i c i e s   u s e   t h e   C o m m o n   E x p r e s s i o n   L a n g u a g e   ( C E L )   t o   d e c l a r e   m u t a t i o n s   t o   r e s o u r c e s .   M u t a t i o n s   c a n   b e   d e f i n e d   e i t h e r   w i t h   a n   a p p l y   c o n f i g u r a t i o n   t h a t   i s   m e r g e d   u s i n g   t h e   s e r v e r   s i d e   a p p l y   m e r g e   s t r a t e g y ,   o r   a   J S O N   p a t c h .   M u t a t i n g   a d m i s s i o n   p o l i c i e s   a r e   h i g h l y   c o n f i g u r a b l e ,   e n a b l i n g   p o l i c y   a u t h o r s   t o   d e f i n e   p o l i c i e s   t h a t   c a n   b e   p a r a m e t e r i z e d   a n d   s c o p e d   t o   r e s o u r c e s   a s   n e e d e d   b y   c l u s t e r   a d m i n i s t r a t o r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/mutating-admission-policy/",
    "id": "k8s_00106_section_2_1713"
  },
  {
    "question": "What is What resources make a policy?",
    "answer": "A   p o l i c y   i s   g e n e r a l l y   m a d e   u p   o f   t h r e e   r e s o u r c e s :   T h e   M u t a t i n g A d m i s s i o n P o l i c y   d e s c r i b e s   t h e   a b s t r a c t   l o g i c   o f   a   p o l i c y   ( t h i n k :   \" t h i s   p o l i c y   s e t s   a   p a r t i c u l a r   l a b e l   t o   a   p a r t i c u l a r   v a l u e \" ) . A   p a r a m e t e r   r e s o u r c e   p r o v i d e s   i n f o r m a t i o n   t o   a   M u t a t i n g A d m i s s i o n P o l i c y   t o   m a k e   i t   a   c o n c r e t e   s t a t e m e n t   ( t h i n k   \" s e t   t h e   o w n e r   l a b e l   t o   s o m e t h i n g   l i k e   c o m p a n y . e x a m p l e . c o m \" ) .   P a r a m e t e r   r e s o u r c e s   r e f e r   t o   K u b e r n e t e s   r e s o u r c e s ,   a v a i l a b l e   i n   t h e   K u b e r n e t e s   A P I .   T h e y   c a n   b e   b u i l t - i n   t y p e s   o r   e x t e n s i o n s ,   s u c h   a s   a   C u s t o m R e s o u r c e D e f i n i t i o n   ( C R D ) .   F o r   e x a m p l e ,   y o u   c a n   u s e   a   C o n f i g M a p   a s   a   p a r a m e t e r . A   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   l i n k s   t h e   a b o v e   ( M u t a t i n g A d m i s s i o n P o l i c y   a n d   p a r a m e t e r )   r e s o u r c e s   t o g e t h e r   a n d   p r o v i d e s   s c o p i n g .   I f   y o u   o n l y   w a n t   t o   s e t   a n   o w n e r   l a b e l   f o r   P o d s ,   a n d   n o t   o t h e r   A P I   k i n d s ,   t h e   b i n d i n g   i s   w h e r e   y o u   s p e c i f y   t h i s   m u t a t i o n .   T h e   M u t a t i n g A d m i s s i o n P o l i c y   d e s c r i b e s   t h e   a b s t r a c t   l o g i c   o f   a   p o l i c y   ( t h i n k :   \" t h i s   p o l i c y   s e t s   a   p a r t i c u l a r   l a b e l   t o   a   p a r t i c u l a r   v a l u e \" ) .   A   p a r a m e t e r   r e s o u r c e   p r o v i d e s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/mutating-admission-policy/",
    "id": "k8s_00106_section_2_1714"
  },
  {
    "question": "What is Getting Started with MutatingAdmissionPolicies?",
    "answer": "M u t a t i n g   a d m i s s i o n   p o l i c y   i s   p a r t   o f   t h e   c l u s t e r   c o n t r o l - p l a n e .   Y o u   s h o u l d   w r i t e   a n d   d e p l o y   t h e m   w i t h   g r e a t   c a u t i o n .   T h e   f o l l o w i n g   d e s c r i b e s   h o w   t o   q u i c k l y   e x p e r i m e n t   w i t h   M u t a t i n g   a d m i s s i o n   p o l i c y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/mutating-admission-policy/",
    "id": "k8s_00106_section_2_1715"
  },
  {
    "question": "What is Create a MutatingAdmissionPolicy?",
    "answer": "T h e   f o l l o w i n g   i s   a n   e x a m p l e   o f   a   M u t a t i n g A d m i s s i o n P o l i c y .   T h i s   p o l i c y   m u t a t e s   n e w l y   c r e a t e d   P o d s   t o   h a v e   a   s i d e c a r   c o n t a i n e r   i f   i t   d o e s   n o t   e x i s t .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1   k i n d :   M u t a t i n g A d m i s s i o n P o l i c y   m e t a d a t a :   n a m e :   \" s i d e c a r - p o l i c y . e x a m p l e . c o m \"   s p e c :   p a r a m K i n d :   k i n d :   S i d e c a r   a p i V e r s i o n :   m u t a t i o n s . e x a m p l e . c o m / v 1   m a t c h C o n s t r a i n t s :   r e s o u r c e R u l e s :   -   a p i G r o u p s :   [ \" \" ]   a p i V e r s i o n s :   [ \" v 1 \" ]   o p e r a t i o n s :   [ \" C R E A T E \" ]   r e s o u r c e s :   [ \" p o d s \" ]   m a t c h C o n d i t i o n s :   -   n a m e :   d o e s - n o t - a l r e a d y - h a v e - s i d e c a r   e x p r e s s i o n :   \" ! o b j e c t . s p e c . i n i t C o n t a i n e r s . e x i s t s ( i c ,   i c . n a m e   = =   \\ \" m e s h - p r o x y \\ \" ) \"   f a i l u r e P o l i c y :   F a i l   r e i n v o c a t i o n P o l i c y :   I f N e e d e d   m u t a t i o n s :   -   p a t c h T y p e :   \" A p p l y C o n f i g u r a t i o n \"   a p p l y C o n f i g u r a t i o n :   e x p r e s s i o n :   >   O b j e c t {   s p e c :   O b j e c t . s p e c {   i n i t C o n t a i n e r s :   [   O b j e c t . s p e c . i n i t C o n t a i n e r s {   n a m e :   \" m e s h - p r o x y \" ,   i m a g e :   \" m e s h / p r o x y : v 1 . 0 . 0 \" ,   a r g s :   [ \" p r o x y \" ,   \" s i d e c a r \" ] ,   r e s t a r t P o l i c y :   \" A l w a y s \"   }   ]   }   }   T h e   . s p e c . m u t a t i o n s   f i e l d   c o n s i s t s   o f   a   l i s t   o f   e x p r e s s i o n s   t h a t   e v a l u a t e   t o   r e s o u r c e   p a t c h e s .   T h e   e m i t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/mutating-admission-policy/",
    "id": "k8s_00106_section_3_1716"
  },
  {
    "question": "What is Parameter resources?",
    "answer": "P a r a m e t e r   r e s o u r c e s   a l l o w   a   p o l i c y   c o n f i g u r a t i o n   t o   b e   s e p a r a t e   f r o m   i t s   d e f i n i t i o n .   A   p o l i c y   c a n   d e f i n e   p a r a m K i n d ,   w h i c h   o u t l i n e s   G V K   o f   t h e   p a r a m e t e r   r e s o u r c e ,   a n d   t h e n   a   p o l i c y   b i n d i n g   t i e s   a   p o l i c y   b y   n a m e   ( v i a   p o l i c y N a m e )   t o   a   p a r t i c u l a r   p a r a m e t e r   r e s o u r c e   v i a   p a r a m R e f .   P l e a s e   r e f e r   t o   p a r a m e t e r   r e s o u r c e s   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/mutating-admission-policy/",
    "id": "k8s_00106_section_4_1717"
  },
  {
    "question": "What is ApplyConfiguration?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y   e x p r e s s i o n s   a r e   a l w a y s   C E L .   E a c h   a p p l y   c o n f i g u r a t i o n   e x p r e s s i o n   m u s t   e v a l u a t e   t o   a   C E L   o b j e c t   ( d e c l a r e d   u s i n g   O b j e c t ( )   i n i t i a l i z a t i o n ) .   A p p l y   c o n f i g u r a t i o n s   m a y   n o t   m o d i f y   a t o m i c   s t r u c t s ,   m a p s   o r   a r r a y s   d u e   t o   t h e   r i s k   o f   a c c i d e n t a l   d e l e t i o n   o f   v a l u e s   n o t   i n c l u d e d   i n   t h e   a p p l y   c o n f i g u r a t i o n .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   o b j e c t   t y p e s   n e e d e d   t o   c r e a t e   a p p l y   c o n f i g u r a t i o n s :   O b j e c t   -   C E L   t y p e   o f   t h e   r e s o u r c e   o b j e c t . O b j e c t . < f i e l d N a m e >   -   C E L   t y p e   o f   o b j e c t   f i e l d   ( s u c h   a s   O b j e c t . s p e c ) O b j e c t . < f i e l d N a m e 1 > . < f i e l d N a m e 2 > . . . < f i e l d N a m e N >   -   C E L   t y p e   o f   n e s t e d   f i e l d   ( s u c h   a s   O b j e c t . s p e c . c o n t a i n e r s )   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   t h e   A P I   r e q u e s t ,   o r g a n i z e d   i n t o   C E L   v a r i a b l e s   a s   w e l l   a s   s o m e   o t h e r   u s e f u l   v a r i a b l e s :   o b j e c t   -   T h e   o b j e c t   f r o m   t h e   i n c o m i n g   r e q u e s t .   T h e   v a l u e   i s   n u l l   f o r   D E L E T E   r e q u e s t s . o l d O b j e c t   -   T h e   e x i s t i n g   o b j e c t .   T h e   v a l u e   i s   n u l l   f o r   C R E A T E   r e q u e s t s . r e q u e s t   -   A t t r i b u t e s   o f   t h e   A P I   r e q u e s t . p a r a m s   -   P a r a m e t e r   r e s o u r c e   r e f e r r e d   t o   b y   t h e   p o l i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/mutating-admission-policy/",
    "id": "k8s_00106_section_4_1718"
  },
  {
    "question": "What is JSONPatch?",
    "answer": "T h e   s a m e   m u t a t i o n   c a n   b e   w r i t t e n   a s   a   J S O N   P a t c h   a s   f o l l o w s :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1   k i n d :   M u t a t i n g A d m i s s i o n P o l i c y   m e t a d a t a :   n a m e :   \" s i d e c a r - p o l i c y . e x a m p l e . c o m \"   s p e c :   p a r a m K i n d :   k i n d :   S i d e c a r   a p i V e r s i o n :   m u t a t i o n s . e x a m p l e . c o m / v 1   m a t c h C o n s t r a i n t s :   r e s o u r c e R u l e s :   -   a p i G r o u p s :   [ \" \" ]   a p i V e r s i o n s :   [ \" v 1 \" ]   o p e r a t i o n s :   [ \" C R E A T E \" ]   r e s o u r c e s :   [ \" p o d s \" ]   m a t c h C o n d i t i o n s :   -   n a m e :   d o e s - n o t - a l r e a d y - h a v e - s i d e c a r   e x p r e s s i o n :   \" ! o b j e c t . s p e c . i n i t C o n t a i n e r s . e x i s t s ( i c ,   i c . n a m e   = =   \\ \" m e s h - p r o x y \\ \" ) \"   f a i l u r e P o l i c y :   F a i l   r e i n v o c a t i o n P o l i c y :   I f N e e d e d   m u t a t i o n s :   -   p a t c h T y p e :   \" J S O N P a t c h \"   j s o n P a t c h :   e x p r e s s i o n :   >   [   J S O N P a t c h {   o p :   \" a d d \" ,   p a t h :   \" / s p e c / i n i t C o n t a i n e r s / - \" ,   v a l u e :   O b j e c t . s p e c . i n i t C o n t a i n e r s {   n a m e :   \" m e s h - p r o x y \" ,   i m a g e :   \" m e s h - p r o x y / v 1 . 0 . 0 \" ,   r e s t a r t P o l i c y :   \" A l w a y s \"   }   }   ]   T h e   e x p r e s s i o n   w i l l   b e   e v a l u a t e d   b y   C E L   t o   c r e a t e   a   J S O N   p a t c h .   r e f :   h t t p s : / / g i t h u b . c o m / g o o g l e / c e l - s p e c   E a c h   e v a l u a t e d   e x p r e s s i o n   m u s t   r e t u r n   a n   a r r a y   o f   J S O N P a t c h   v a l u e s .   T h e J S O N P a t c h   t y p e   r e p r e s e n t s   o n e   o p e r a t i o n   f r o m ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/mutating-admission-policy/",
    "id": "k8s_00106_section_4_1719"
  },
  {
    "question": "What is API kinds exempt from mutating admission?",
    "answer": "T h e r e   a r e   c e r t a i n   A P I   k i n d s   t h a t   a r e   e x e m p t   f r o m   a d m i s s i o n - t i m e   m u t a t i o n .   F o r   e x a m p l e ,   y o u   c a n ' t   c r e a t e   a   M u t a t i n g A d m i s s i o n P o l i c y   t h a t   c h a n g e s   a   M u t a t i n g A d m i s s i o n P o l i c y .   T h e   l i s t   o f   e x e m p t   A P I   k i n d s   i s :   V a l i d a t i n g A d m i s s i o n P o l i c i e s V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g s M u t a t i n g A d m i s s i o n P o l i c i e s M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g s T o k e n R e v i e w s L o c a l S u b j e c t A c c e s s R e v i e w s S e l f S u b j e c t A c c e s s R e v i e w s S e l f S u b j e c t R e v i e w s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/mutating-admission-policy/",
    "id": "k8s_00106_section_2_1720"
  },
  {
    "question": "What is Reviewing pull requests?",
    "answer": "Reviewing pull requestsAnyone can review a documentation pull request. Visit the pull requests section in the Kubernetes website repository to see open pull requests.Reviewing documentation pull requests is a great way to introduce yourself to the Kubernetes community. It helps you learn the code base and build trust with other contributors.Before reviewing, it's a good idea to:Read the content guide and style guide so you can leave informed comments.Understand the different roles and responsibilities in the Kubernetes documentation community.Before you beginBefore you start a review:Read the CNCF Code of Conduct and ensure that you abide by it at all times.Be polite, considerate, and helpful.Comment on positive aspects of PRs as well as changes.Be empathetic and mindful of how your review may be received.Assume good intent and ask clarifying questions.Experienced contributors, consider pairing with new contributors whose work requires extensive changes.Review processIn general, review pull requests for content and style in English. Figure 1 outlines the steps for the review process. The details for each step follow.flowchart LR subgraph fourth[Start review] direction TB S[ ] -.- M[add comments] --> N[review changes] N --> O[new contributors shouldchoose Comment] end subgraph third[Select PR] direction TB T[ ] -.- J[read descriptionand comments]--> K[preview changes inNetlify preview build] end A[Review open PR list]--> B[Filter open PRsby label] B --> third --> fourth classDef grey fill:#dddddd,stroke:#ffffff,stroke-width:px,color:#000000, font-size:15px; classDef white fill:#ffffff,stroke:#000,stroke-width:px,color:#000,font-weight:bold classDef spacewhite fill:#ffffff,stroke:#fff,stroke-width:0px,color:#000 class A,B,J,K,M,N,O grey class S,T spacewhite class third,fourth whiteJavaScript must be enabled to view this contentFigure 1. Review process steps.Go to https://github.com/kubernetes/website/pulls. You see a list of every open pull request against the Kubernetes website and docs.Filter the open PRs using one or all of the following labels:cncf-cla: yes (Recommended): PRs submitted by contributors who have not signed the CLA cannot be merged. See Sign the CLA for more information.language/en (Recommended): Filters for english language PRs only.size/<size>: filters for PRs of a certain size. If you're new, start with smaller PRs.Additionally, ensure the PR isn't marked as a work in progress. PRs using the work in progress label are not ready for review yet.Once you've selected a PR to review, understand the change by:Reading the PR description to understand the changes made, and read any linked issuesReading any comments by other reviewersClicking the Files changed tab to see the files and lines changedPreviewing the changes in the Netlify preview build by scrolling to the PR's build check section at the bottom of the Conversation tab. Here's a screenshot (this shows GitHub's desktop site; if you're reviewing on a tablet or smartphone device",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/reviewing-prs/",
    "id": "k8s_00107_qa_1721"
  },
  {
    "question": "How does Reviewing pull requests work?",
    "answer": "Reviewing pull requestsAnyone can review a documentation pull request. Visit the pull requests section in the Kubernetes website repository to see open pull requests.Reviewing documentation pull requests is a great way to introduce yourself to the Kubernetes community. It helps you learn the code base and build trust with other contributors.Before reviewing, it's a good idea to:Read the content guide and style guide so you can leave informed comments.Understand the different roles and responsibilities in the Kubernetes documentation community.Before you beginBefore you start a review:Read the CNCF Code of Conduct and ensure that you abide by it at all times.Be polite, considerate, and helpful.Comment on positive aspects of PRs as well as changes.Be empathetic and mindful of how your review may be received.Assume good intent and ask clarifying questions.Experienced contributors, consider pairing with new contributors whose work requires extensive changes.Review processIn general, review pull requests for content and style in English. Figure 1 outlines the steps for the review process. The details for each step follow.flowchart LR subgraph fourth[Start review] direction TB S[ ] -.- M[add comments] --> N[review changes] N --> O[new contributors shouldchoose Comment] end subgraph third[Select PR] direction TB T[ ] -.- J[read descriptionand comments]--> K[preview changes inNetlify preview build] end A[Review open PR list]--> B[Filter open PRsby label] B --> third --> fourth classDef grey fill:#dddddd,stroke:#ffffff,stroke-width:px,color:#000000, font-size:15px; classDef white fill:#ffffff,stroke:#000,stroke-width:px,color:#000,font-weight:bold classDef spacewhite fill:#ffffff,stroke:#fff,stroke-width:0px,color:#000 class A,B,J,K,M,N,O grey class S,T spacewhite class third,fourth whiteJavaScript must be enabled to view this contentFigure 1. Review process steps.Go to https://github.com/kubernetes/website/pulls. You see a list of every open pull request against the Kubernetes website and docs.Filter the open PRs using one or all of the following labels:cncf-cla: yes (Recommended): PRs submitted by contributors who have not signed the CLA cannot be merged. See Sign the CLA for more information.language/en (Recommended): Filters for english language PRs only.size/<size>: filters for PRs of a certain size. If you're new, start with smaller PRs.Additionally, ensure the PR isn't marked as a work in progress. PRs using the work in progress label are not ready for review yet.Once you've selected a PR to review, understand the change by:Reading the PR description to understand the changes made, and read any linked issuesReading any comments by other reviewersClicking the Files changed tab to see the files and lines changedPreviewing the changes in the Netlify preview build by scrolling to the PR's build check section at the bottom of the Conversation tab. Here's a screenshot (this shows GitHub's desktop site; if you're reviewing on a tablet or smartphone device",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/reviewing-prs/",
    "id": "k8s_00107_qa_1722"
  },
  {
    "question": "When would you use Reviewing pull requests?",
    "answer": "Reviewing pull requestsAnyone can review a documentation pull request. Visit the pull requests section in the Kubernetes website repository to see open pull requests.Reviewing documentation pull requests is a great way to introduce yourself to the Kubernetes community. It helps you learn the code base and build trust with other contributors.Before reviewing, it's a good idea to:Read the content guide and style guide so you can leave informed comments.Understand the different roles and responsibilities in the Kubernetes documentation community.Before you beginBefore you start a review:Read the CNCF Code of Conduct and ensure that you abide by it at all times.Be polite, considerate, and helpful.Comment on positive aspects of PRs as well as changes.Be empathetic and mindful of how your review may be received.Assume good intent and ask clarifying questions.Experienced contributors, consider pairing with new contributors whose work requires extensive changes.Review processIn general, review pull requests for content and style in English. Figure 1 outlines the steps for the review process. The details for each step follow.flowchart LR subgraph fourth[Start review] direction TB S[ ] -.- M[add comments] --> N[review changes] N --> O[new contributors shouldchoose Comment] end subgraph third[Select PR] direction TB T[ ] -.- J[read descriptionand comments]--> K[preview changes inNetlify preview build] end A[Review open PR list]--> B[Filter open PRsby label] B --> third --> fourth classDef grey fill:#dddddd,stroke:#ffffff,stroke-width:px,color:#000000, font-size:15px; classDef white fill:#ffffff,stroke:#000,stroke-width:px,color:#000,font-weight:bold classDef spacewhite fill:#ffffff,stroke:#fff,stroke-width:0px,color:#000 class A,B,J,K,M,N,O grey class S,T spacewhite class third,fourth whiteJavaScript must be enabled to view this contentFigure 1. Review process steps.Go to https://github.com/kubernetes/website/pulls. You see a list of every open pull request against the Kubernetes website and docs.Filter the open PRs using one or all of the following labels:cncf-cla: yes (Recommended): PRs submitted by contributors who have not signed the CLA cannot be merged. See Sign the CLA for more information.language/en (Recommended): Filters for english language PRs only.size/<size>: filters for PRs of a certain size. If you're new, start with smaller PRs.Additionally, ensure the PR isn't marked as a work in progress. PRs using the work in progress label are not ready for review yet.Once you've selected a PR to review, understand the change by:Reading the PR description to understand the changes made, and read any linked issuesReading any comments by other reviewersClicking the Files changed tab to see the files and lines changedPreviewing the changes in the Netlify preview build by scrolling to the PR's build check section at the bottom of the Conversation tab. Here's a screenshot (this shows GitHub's desktop site; if you're reviewing on a tablet or smartphone device",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/reviewing-prs/",
    "id": "k8s_00107_qa_1723"
  },
  {
    "question": "What are the benefits of Reviewing pull requests?",
    "answer": "Reviewing pull requestsAnyone can review a documentation pull request. Visit the pull requests section in the Kubernetes website repository to see open pull requests.Reviewing documentation pull requests is a great way to introduce yourself to the Kubernetes community. It helps you learn the code base and build trust with other contributors.Before reviewing, it's a good idea to:Read the content guide and style guide so you can leave informed comments.Understand the different roles and responsibilities in the Kubernetes documentation community.Before you beginBefore you start a review:Read the CNCF Code of Conduct and ensure that you abide by it at all times.Be polite, considerate, and helpful.Comment on positive aspects of PRs as well as changes.Be empathetic and mindful of how your review may be received.Assume good intent and ask clarifying questions.Experienced contributors, consider pairing with new contributors whose work requires extensive changes.Review processIn general, review pull requests for content and style in English. Figure 1 outlines the steps for the review process. The details for each step follow.flowchart LR subgraph fourth[Start review] direction TB S[ ] -.- M[add comments] --> N[review changes] N --> O[new contributors shouldchoose Comment] end subgraph third[Select PR] direction TB T[ ] -.- J[read descriptionand comments]--> K[preview changes inNetlify preview build] end A[Review open PR list]--> B[Filter open PRsby label] B --> third --> fourth classDef grey fill:#dddddd,stroke:#ffffff,stroke-width:px,color:#000000, font-size:15px; classDef white fill:#ffffff,stroke:#000,stroke-width:px,color:#000,font-weight:bold classDef spacewhite fill:#ffffff,stroke:#fff,stroke-width:0px,color:#000 class A,B,J,K,M,N,O grey class S,T spacewhite class third,fourth whiteJavaScript must be enabled to view this contentFigure 1. Review process steps.Go to https://github.com/kubernetes/website/pulls. You see a list of every open pull request against the Kubernetes website and docs.Filter the open PRs using one or all of the following labels:cncf-cla: yes (Recommended): PRs submitted by contributors who have not signed the CLA cannot be merged. See Sign the CLA for more information.language/en (Recommended): Filters for english language PRs only.size/<size>: filters for PRs of a certain size. If you're new, start with smaller PRs.Additionally, ensure the PR isn't marked as a work in progress. PRs using the work in progress label are not ready for review yet.Once you've selected a PR to review, understand the change by:Reading the PR description to understand the changes made, and read any linked issuesReading any comments by other reviewersClicking the Files changed tab to see the files and lines changedPreviewing the changes in the Netlify preview build by scrolling to the PR's build check section at the bottom of the Conversation tab. Here's a screenshot (this shows GitHub's desktop site; if you're reviewing on a tablet or smartphone device",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/reviewing-prs/",
    "id": "k8s_00107_qa_1724"
  },
  {
    "question": "What is Reviewing pull requests?",
    "answer": "A n y o n e   c a n   r e v i e w   a   d o c u m e n t a t i o n   p u l l   r e q u e s t .   V i s i t   t h e   p u l l   r e q u e s t s   s e c t i o n   i n   t h e   K u b e r n e t e s   w e b s i t e   r e p o s i t o r y   t o   s e e   o p e n   p u l l   r e q u e s t s .   R e v i e w i n g   d o c u m e n t a t i o n   p u l l   r e q u e s t s   i s   a   g r e a t   w a y   t o   i n t r o d u c e   y o u r s e l f   t o   t h e   K u b e r n e t e s   c o m m u n i t y .   I t   h e l p s   y o u   l e a r n   t h e   c o d e   b a s e   a n d   b u i l d   t r u s t   w i t h   o t h e r   c o n t r i b u t o r s .   B e f o r e   r e v i e w i n g ,   i t ' s   a   g o o d   i d e a   t o :   R e a d   t h e   c o n t e n t   g u i d e   a n d   s t y l e   g u i d e   s o   y o u   c a n   l e a v e   i n f o r m e d   c o m m e n t s . U n d e r s t a n d   t h e   d i f f e r e n t   r o l e s   a n d   r e s p o n s i b i l i t i e s   i n   t h e   K u b e r n e t e s   d o c u m e n t a t i o n   c o m m u n i t y .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/reviewing-prs/",
    "id": "k8s_00107_section_1_1725"
  },
  {
    "question": "What is Before you begin?",
    "answer": "B e f o r e   y o u   s t a r t   a   r e v i e w :   R e a d   t h e   C N C F   C o d e   o f   C o n d u c t   a n d   e n s u r e   t h a t   y o u   a b i d e   b y   i t   a t   a l l   t i m e s . B e   p o l i t e ,   c o n s i d e r a t e ,   a n d   h e l p f u l . C o m m e n t   o n   p o s i t i v e   a s p e c t s   o f   P R s   a s   w e l l   a s   c h a n g e s . B e   e m p a t h e t i c   a n d   m i n d f u l   o f   h o w   y o u r   r e v i e w   m a y   b e   r e c e i v e d . A s s u m e   g o o d   i n t e n t   a n d   a s k   c l a r i f y i n g   q u e s t i o n s . E x p e r i e n c e d   c o n t r i b u t o r s ,   c o n s i d e r   p a i r i n g   w i t h   n e w   c o n t r i b u t o r s   w h o s e   w o r k   r e q u i r e s   e x t e n s i v e   c h a n g e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/reviewing-prs/",
    "id": "k8s_00107_section_2_1726"
  },
  {
    "question": "What is Review process?",
    "answer": "I n   g e n e r a l ,   r e v i e w   p u l l   r e q u e s t s   f o r   c o n t e n t   a n d   s t y l e   i n   E n g l i s h .   F i g u r e   1   o u t l i n e s   t h e   s t e p s   f o r   t h e   r e v i e w   p r o c e s s .   T h e   d e t a i l s   f o r   e a c h   s t e p   f o l l o w .   F i g u r e   1 .   R e v i e w   p r o c e s s   s t e p s .   G o   t o   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / w e b s i t e / p u l l s .   Y o u   s e e   a   l i s t   o f   e v e r y   o p e n   p u l l   r e q u e s t   a g a i n s t   t h e   K u b e r n e t e s   w e b s i t e   a n d   d o c s . F i l t e r   t h e   o p e n   P R s   u s i n g   o n e   o r   a l l   o f   t h e   f o l l o w i n g   l a b e l s : c n c f - c l a :   y e s   ( R e c o m m e n d e d ) :   P R s   s u b m i t t e d   b y   c o n t r i b u t o r s   w h o   h a v e   n o t   s i g n e d   t h e   C L A   c a n n o t   b e   m e r g e d .   S e e   S i g n   t h e   C L A   f o r   m o r e   i n f o r m a t i o n . l a n g u a g e / e n   ( R e c o m m e n d e d ) :   F i l t e r s   f o r   e n g l i s h   l a n g u a g e   P R s   o n l y . s i z e / < s i z e > :   f i l t e r s   f o r   P R s   o f   a   c e r t a i n   s i z e .   I f   y o u ' r e   n e w ,   s t a r t   w i t h   s m a l l e r   P R s . A d d i t i o n a l l y ,   e n s u r e   t h e   P R   i s n ' t   m a r k e d   a s   a   w o r k   i n   p r o g r e s s .   P R s   u s i n g   t h e   w o r k   i n   p r o g r e s s   l a b e l   a r e   n o t   r e a d y   f o r   r e v i e w   y e t . O n c e   y o u ' v e   s e l e c t e d   a   P R   t o   r e v i e w ,   u n d e r s t a n d   t h e   c h a n g e   b y : R e a d i n g   t h e   P R   d e s c r i p t i o n   t o   u n d e r s t a n d   t h e   c h a n g e s   m a d e ,   a n d   r e a d   a n y   l i n k e d   i s s u e s R e a d i n g   a n y   c o m m e n t s   b y   o t h e r   r e v i e w e r s C l i c k i n g   t h ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/reviewing-prs/",
    "id": "k8s_00107_section_2_1727"
  },
  {
    "question": "What is Reviewing checklist?",
    "answer": "W h e n   r e v i e w i n g ,   u s e   t h e   f o l l o w i n g   a s   a   s t a r t i n g   p o i n t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/reviewing-prs/",
    "id": "k8s_00107_section_2_1728"
  },
  {
    "question": "What is Language and grammar?",
    "answer": "A r e   t h e r e   a n y   o b v i o u s   e r r o r s   i n   l a n g u a g e   o r   g r a m m a r ?   I s   t h e r e   a   b e t t e r   w a y   t o   p h r a s e   s o m e t h i n g ? F o c u s   o n   t h e   l a n g u a g e   a n d   g r a m m a r   o f   t h e   p a r t s   o f   t h e   p a g e   t h a t   t h e   a u t h o r   i s   c h a n g i n g .   U n l e s s   t h e   a u t h o r   i s   c l e a r l y   a i m i n g   t o   u p d a t e   t h e   e n t i r e   p a g e ,   t h e y   h a v e   n o   o b l i g a t i o n   t o   f i x   e v e r y   i s s u e   o n   t h e   p a g e . W h e n   a   P R   u p d a t e s   a n   e x i s t i n g   p a g e ,   y o u   s h o u l d   f o c u s   o n   r e v i e w i n g   t h e   p a r t s   o f   t h e   p a g e   t h a t   a r e   b e i n g   u p d a t e d .   T h a t   c h a n g e d   c o n t e n t   s h o u l d   b e   r e v i e w e d   f o r   t e c h n i c a l   a n d   e d i t o r i a l   c o r r e c t n e s s .   I f   y o u   f i n d   e r r o r s   o n   t h e   p a g e   t h a t   d o n ' t   d i r e c t l y   r e l a t e   t o   w h a t   t h e   P R   a u t h o r   i s   a t t e m p t i n g   t o   a d d r e s s ,   t h e n   i t   s h o u l d   b e   t r e a t e d   a s   a   s e p a r a t e   i s s u e   ( c h e c k   t h a t   t h e r e   i s n ' t   a n   e x i s t i n g   i s s u e   a b o u t   t h i s   f i r s t ) . W a t c h   o u t   f o r   p u l l   r e q u e s t s   t h a t   m o v e   c o n t e n t .   I f   a n   a u t h o r   r e n a m e s   a   p a g e   o r   c o m b i n e s   t w o   p a g e s ,   w e   ( K u b e r n e t e s   S I G   D o c s )   u s u a l l y   a v o i d   a s k i n g   t h a t   a u t h o r   t o   f i x   e v e r y   g r a m m a r   o r   s p e l l i n g   n i t   t h a t   w e   c o u l d   s p o t   w i t h i n   t h a t   m o v e d   c o n t e n t . A r e   t h e r e   a n y   c o m p l i c a t e d   o r   a r c h a i c   w o r d s   w h i c h   c o u l d   b ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/reviewing-prs/",
    "id": "k8s_00107_section_3_1729"
  },
  {
    "question": "What is Content?",
    "answer": "D o e s   s i m i l a r   c o n t e n t   e x i s t   e l s e w h e r e   o n   t h e   K u b e r n e t e s   s i t e ? D o e s   t h e   c o n t e n t   e x c e s s i v e l y   l i n k   t o   o f f - s i t e ,   i n d i v i d u a l   v e n d o r   o r   n o n - o p e n   s o u r c e   d o c u m e n t a t i o n ?",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/reviewing-prs/",
    "id": "k8s_00107_section_3_1730"
  },
  {
    "question": "What is Documentation?",
    "answer": "S o m e   c h e c k s   t o   c o n s i d e r :   D i d   t h i s   P R   c h a n g e   o r   r e m o v e   a   p a g e   t i t l e ,   s l u g / a l i a s   o r   a n c h o r   l i n k ?   I f   s o ,   a r e   t h e r e   b r o k e n   l i n k s   a s   a   r e s u l t   o f   t h i s   P R ?   I s   t h e r e   a n o t h e r   o p t i o n ,   l i k e   c h a n g i n g   t h e   p a g e   t i t l e   w i t h o u t   c h a n g i n g   t h e   s l u g ? D o e s   t h e   P R   i n t r o d u c e   a   n e w   p a g e ?   I f   s o : I s   t h e   p a g e   u s i n g   t h e   r i g h t   p a g e   c o n t e n t   t y p e   a n d   a s s o c i a t e d   H u g o   s h o r t c o d e s ? D o e s   t h e   p a g e   a p p e a r   c o r r e c t l y   i n   t h e   s e c t i o n ' s   s i d e   n a v i g a t i o n   ( o r   a t   a l l ) ? S h o u l d   t h e   p a g e   a p p e a r   o n   t h e   D o c s   H o m e   l i s t i n g ? D o   t h e   c h a n g e s   s h o w   u p   i n   t h e   N e t l i f y   p r e v i e w ?   B e   p a r t i c u l a r l y   v i g i l a n t   a b o u t   l i s t s ,   c o d e   b l o c k s ,   t a b l e s ,   n o t e s   a n d   i m a g e s .   D i d   t h i s   P R   c h a n g e   o r   r e m o v e   a   p a g e   t i t l e ,   s l u g / a l i a s   o r   a n c h o r   l i n k ?   I f   s o ,   a r e   t h e r e   b r o k e n   l i n k s   a s   a   r e s u l t   o f   t h i s   P R ?   I s   t h e r e   a n o t h e r   o p t i o n ,   l i k e   c h a n g i n g   t h e   p a g e   t i t l e   w i t h o u t   c h a n g i n g   t h e   s l u g ?   D o e s   t h e   P R   i n t r o d u c e   a   n e w   p a g e ?   I f   s o :   I s   t h e   p a g e   u s i n g   t h e   r i g h t   p a g e   c o n t e n t   t y p e   a n d   a s s o c i a t e d   H u g o   s h o r t c o d e s ? D o e s   t h e   p a g e   a p p e a r   c o r r e c t l y   i n   t h e   s e c t i o n ' s   s i d e   n a v i g a t i o n   ( o r   a t   a l l ) ? S h o u l d   ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/reviewing-prs/",
    "id": "k8s_00107_section_3_1731"
  },
  {
    "question": "What is Blog?",
    "answer": "E a r l y",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/reviewing-prs/",
    "id": "k8s_00107_section_3_1732"
  },
  {
    "question": "What is Other?",
    "answer": "W a t c h   o u t   f o r   t r i v i a l   e d i t s ;   i f   y o u   s e e   a   c h a n g e   t h a t   y o u   t h i n k   i s   a   t r i v i a l   e d i t ,   p l e a s e   p o i n t   o u t   t h a t   p o l i c y   ( i t ' s   s t i l l   O K   t o   a c c e p t   t h e   c h a n g e   i f   i t   i s   g e n u i n e l y   a n   i m p r o v e m e n t ) .   E n c o u r a g e   a u t h o r s   w h o   a r e   m a k i n g   w h i t e s p a c e   f i x e s   t o   d o   s o   i n   t h e   f i r s t   c o m m i t   o f   t h e i r   P R ,   a n d   t h e n   a d d   o t h e r   c h a n g e s   o n   t o p   o f   t h a t .   T h i s   m a k e s   b o t h   m e r g e s   a n d   r e v i e w s   e a s i e r .   W a t c h   o u t   e s p e c i a l l y   f o r   a   t r i v i a l   c h a n g e   t h a t   h a p p e n s   i n   a   s i n g l e   c o m m i t   a l o n g   w i t h   a   l a r g e   a m o u n t   o f   w h i t e s p a c e   c l e a n u p   ( a n d   i f   y o u   s e e   t h a t ,   e n c o u r a g e   t h e   a u t h o r   t o   f i x   i t ) .   A s   a   r e v i e w e r ,   i f   y o u   i d e n t i f y   s m a l l   i s s u e s   w i t h   a   P R   t h a t   a r e n ' t   e s s e n t i a l   t o   t h e   m e a n i n g ,   s u c h   a s   t y p o s   o r   i n c o r r e c t   w h i t e s p a c e ,   p r e f i x   y o u r   c o m m e n t s   w i t h   n i t : .   T h i s   l e t s   t h e   a u t h o r   k n o w   t h a t   t h i s   p a r t   o f   y o u r",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/reviewing-prs/",
    "id": "k8s_00107_section_3_1733"
  },
  {
    "question": "What is Resource Quotas?",
    "answer": "Resource QuotasWhen several users or teams share a cluster with a fixed number of nodes, there is a concern that one team could use more than its fair share of resources.Resource quotas are a tool for administrators to address this concern.A resource quota, defined by a ResourceQuota object, provides constraints that limit aggregate resource consumption per namespace. A ResourceQuota can also limit the quantity of objects that can be created in a namespace by API kind, as well as the total amount of infrastructure resources that may be consumed by API objects found in that namespace.Caution:Neither contention nor changes to quota will affect already created resources.How Kubernetes ResourceQuotas workResourceQuotas work like this:Different teams work in different namespaces. This separation can be enforced with RBAC or any other authorization mechanism.A cluster administrator creates at least one ResourceQuota for each namespace.To make sure the enforcement stays enforced, the cluster administrator should also restrict access to delete or update that ResourceQuota; for example, by defining a ValidatingAdmissionPolicy.Users create resources (pods, services, etc.) in the namespace, and the quota system tracks usage to ensure it does not exceed hard resource limits defined in a ResourceQuota.You can apply a scope to a ResourceQuota to limit where it applies,If creating or updating a resource violates a quota constraint, the control plane rejects that request with HTTP status code 403 Forbidden. The error includes a message explaining the constraint that would have been violated.If quotas are enabled in a namespace for resource such as cpu and memory, users must specify requests or limits for those values when they define a Pod; otherwise, the quota system may reject pod creation.The resource quota walkthrough shows an example of how to avoid this problem.Note:You can define a LimitRange to force defaults on pods that make no compute resource requirements (so that users don't have to remember to do that).You often do not create Pods directly; for example, you more usually create a workload management object such as a Deployment. If you create a Deployment that tries to use more resources than are available, the creation of the Deployment (or other workload management object) succeeds, but the Deployment may not be able to get all of the Pods it manages to exist. In that case you can check the status of the Deployment, for example with kubectl describe, to see what has happened.For cpu and memory resources, ResourceQuotas enforce that every (new) pod in that namespace sets a limit for that resource. If you enforce a resource quota in a namespace for either cpu or memory, you and other clients, must specify either requests or limits for that resource, for every new Pod you submit. If you don't, the control plane may reject admission for that Pod.For other resources: ResourceQuota works and will ignore pods in the namespace without setting a limit or re",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/resource-quotas/",
    "id": "k8s_00108_qa_1734"
  },
  {
    "question": "How does Resource Quotas work?",
    "answer": "Resource QuotasWhen several users or teams share a cluster with a fixed number of nodes, there is a concern that one team could use more than its fair share of resources.Resource quotas are a tool for administrators to address this concern.A resource quota, defined by a ResourceQuota object, provides constraints that limit aggregate resource consumption per namespace. A ResourceQuota can also limit the quantity of objects that can be created in a namespace by API kind, as well as the total amount of infrastructure resources that may be consumed by API objects found in that namespace.Caution:Neither contention nor changes to quota will affect already created resources.How Kubernetes ResourceQuotas workResourceQuotas work like this:Different teams work in different namespaces. This separation can be enforced with RBAC or any other authorization mechanism.A cluster administrator creates at least one ResourceQuota for each namespace.To make sure the enforcement stays enforced, the cluster administrator should also restrict access to delete or update that ResourceQuota; for example, by defining a ValidatingAdmissionPolicy.Users create resources (pods, services, etc.) in the namespace, and the quota system tracks usage to ensure it does not exceed hard resource limits defined in a ResourceQuota.You can apply a scope to a ResourceQuota to limit where it applies,If creating or updating a resource violates a quota constraint, the control plane rejects that request with HTTP status code 403 Forbidden. The error includes a message explaining the constraint that would have been violated.If quotas are enabled in a namespace for resource such as cpu and memory, users must specify requests or limits for those values when they define a Pod; otherwise, the quota system may reject pod creation.The resource quota walkthrough shows an example of how to avoid this problem.Note:You can define a LimitRange to force defaults on pods that make no compute resource requirements (so that users don't have to remember to do that).You often do not create Pods directly; for example, you more usually create a workload management object such as a Deployment. If you create a Deployment that tries to use more resources than are available, the creation of the Deployment (or other workload management object) succeeds, but the Deployment may not be able to get all of the Pods it manages to exist. In that case you can check the status of the Deployment, for example with kubectl describe, to see what has happened.For cpu and memory resources, ResourceQuotas enforce that every (new) pod in that namespace sets a limit for that resource. If you enforce a resource quota in a namespace for either cpu or memory, you and other clients, must specify either requests or limits for that resource, for every new Pod you submit. If you don't, the control plane may reject admission for that Pod.For other resources: ResourceQuota works and will ignore pods in the namespace without setting a limit or re",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/resource-quotas/",
    "id": "k8s_00108_qa_1735"
  },
  {
    "question": "When would you use Resource Quotas?",
    "answer": "Resource QuotasWhen several users or teams share a cluster with a fixed number of nodes, there is a concern that one team could use more than its fair share of resources.Resource quotas are a tool for administrators to address this concern.A resource quota, defined by a ResourceQuota object, provides constraints that limit aggregate resource consumption per namespace. A ResourceQuota can also limit the quantity of objects that can be created in a namespace by API kind, as well as the total amount of infrastructure resources that may be consumed by API objects found in that namespace.Caution:Neither contention nor changes to quota will affect already created resources.How Kubernetes ResourceQuotas workResourceQuotas work like this:Different teams work in different namespaces. This separation can be enforced with RBAC or any other authorization mechanism.A cluster administrator creates at least one ResourceQuota for each namespace.To make sure the enforcement stays enforced, the cluster administrator should also restrict access to delete or update that ResourceQuota; for example, by defining a ValidatingAdmissionPolicy.Users create resources (pods, services, etc.) in the namespace, and the quota system tracks usage to ensure it does not exceed hard resource limits defined in a ResourceQuota.You can apply a scope to a ResourceQuota to limit where it applies,If creating or updating a resource violates a quota constraint, the control plane rejects that request with HTTP status code 403 Forbidden. The error includes a message explaining the constraint that would have been violated.If quotas are enabled in a namespace for resource such as cpu and memory, users must specify requests or limits for those values when they define a Pod; otherwise, the quota system may reject pod creation.The resource quota walkthrough shows an example of how to avoid this problem.Note:You can define a LimitRange to force defaults on pods that make no compute resource requirements (so that users don't have to remember to do that).You often do not create Pods directly; for example, you more usually create a workload management object such as a Deployment. If you create a Deployment that tries to use more resources than are available, the creation of the Deployment (or other workload management object) succeeds, but the Deployment may not be able to get all of the Pods it manages to exist. In that case you can check the status of the Deployment, for example with kubectl describe, to see what has happened.For cpu and memory resources, ResourceQuotas enforce that every (new) pod in that namespace sets a limit for that resource. If you enforce a resource quota in a namespace for either cpu or memory, you and other clients, must specify either requests or limits for that resource, for every new Pod you submit. If you don't, the control plane may reject admission for that Pod.For other resources: ResourceQuota works and will ignore pods in the namespace without setting a limit or re",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/resource-quotas/",
    "id": "k8s_00108_qa_1736"
  },
  {
    "question": "What are the benefits of Resource Quotas?",
    "answer": "Resource QuotasWhen several users or teams share a cluster with a fixed number of nodes, there is a concern that one team could use more than its fair share of resources.Resource quotas are a tool for administrators to address this concern.A resource quota, defined by a ResourceQuota object, provides constraints that limit aggregate resource consumption per namespace. A ResourceQuota can also limit the quantity of objects that can be created in a namespace by API kind, as well as the total amount of infrastructure resources that may be consumed by API objects found in that namespace.Caution:Neither contention nor changes to quota will affect already created resources.How Kubernetes ResourceQuotas workResourceQuotas work like this:Different teams work in different namespaces. This separation can be enforced with RBAC or any other authorization mechanism.A cluster administrator creates at least one ResourceQuota for each namespace.To make sure the enforcement stays enforced, the cluster administrator should also restrict access to delete or update that ResourceQuota; for example, by defining a ValidatingAdmissionPolicy.Users create resources (pods, services, etc.) in the namespace, and the quota system tracks usage to ensure it does not exceed hard resource limits defined in a ResourceQuota.You can apply a scope to a ResourceQuota to limit where it applies,If creating or updating a resource violates a quota constraint, the control plane rejects that request with HTTP status code 403 Forbidden. The error includes a message explaining the constraint that would have been violated.If quotas are enabled in a namespace for resource such as cpu and memory, users must specify requests or limits for those values when they define a Pod; otherwise, the quota system may reject pod creation.The resource quota walkthrough shows an example of how to avoid this problem.Note:You can define a LimitRange to force defaults on pods that make no compute resource requirements (so that users don't have to remember to do that).You often do not create Pods directly; for example, you more usually create a workload management object such as a Deployment. If you create a Deployment that tries to use more resources than are available, the creation of the Deployment (or other workload management object) succeeds, but the Deployment may not be able to get all of the Pods it manages to exist. In that case you can check the status of the Deployment, for example with kubectl describe, to see what has happened.For cpu and memory resources, ResourceQuotas enforce that every (new) pod in that namespace sets a limit for that resource. If you enforce a resource quota in a namespace for either cpu or memory, you and other clients, must specify either requests or limits for that resource, for every new Pod you submit. If you don't, the control plane may reject admission for that Pod.For other resources: ResourceQuota works and will ignore pods in the namespace without setting a limit or re",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/resource-quotas/",
    "id": "k8s_00108_qa_1737"
  },
  {
    "question": "What is Resource Quotas?",
    "answer": "W h e n   s e v e r a l   u s e r s   o r   t e a m s   s h a r e   a   c l u s t e r   w i t h   a   f i x e d   n u m b e r   o f   n o d e s ,   t h e r e   i s   a   c o n c e r n   t h a t   o n e   t e a m   c o u l d   u s e   m o r e   t h a n   i t s   f a i r   s h a r e   o f   r e s o u r c e s .   R e s o u r c e   q u o t a s   a r e   a   t o o l   f o r   a d m i n i s t r a t o r s   t o   a d d r e s s   t h i s   c o n c e r n .   A   r e s o u r c e   q u o t a ,   d e f i n e d   b y   a   R e s o u r c e Q u o t a   o b j e c t ,   p r o v i d e s   c o n s t r a i n t s   t h a t   l i m i t   a g g r e g a t e   r e s o u r c e   c o n s u m p t i o n   p e r   n a m e s p a c e .   A   R e s o u r c e Q u o t a   c a n   a l s o   l i m i t   t h e   q u a n t i t y   o f   o b j e c t s   t h a t   c a n   b e   c r e a t e d   i n   a   n a m e s p a c e   b y   A P I   k i n d ,   a s   w e l l   a s   t h e   t o t a l   a m o u n t   o f   i n f r a s t r u c t u r e   r e s o u r c e s   t h a t   m a y   b e   c o n s u m e d   b y   A P I   o b j e c t s   f o u n d   i n   t h a t   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/resource-quotas/",
    "id": "k8s_00108_section_1_1738"
  },
  {
    "question": "What is How Kubernetes ResourceQuotas work?",
    "answer": "R e s o u r c e Q u o t a s   w o r k   l i k e   t h i s :   D i f f e r e n t   t e a m s   w o r k   i n   d i f f e r e n t   n a m e s p a c e s .   T h i s   s e p a r a t i o n   c a n   b e   e n f o r c e d   w i t h   R B A C   o r   a n y   o t h e r   a u t h o r i z a t i o n   m e c h a n i s m . A   c l u s t e r   a d m i n i s t r a t o r   c r e a t e s   a t   l e a s t   o n e   R e s o u r c e Q u o t a   f o r   e a c h   n a m e s p a c e . T o   m a k e   s u r e   t h e   e n f o r c e m e n t   s t a y s   e n f o r c e d ,   t h e   c l u s t e r   a d m i n i s t r a t o r   s h o u l d   a l s o   r e s t r i c t   a c c e s s   t o   d e l e t e   o r   u p d a t e   t h a t   R e s o u r c e Q u o t a ;   f o r   e x a m p l e ,   b y   d e f i n i n g   a   V a l i d a t i n g A d m i s s i o n P o l i c y . U s e r s   c r e a t e   r e s o u r c e s   ( p o d s ,   s e r v i c e s ,   e t c . )   i n   t h e   n a m e s p a c e ,   a n d   t h e   q u o t a   s y s t e m   t r a c k s   u s a g e   t o   e n s u r e   i t   d o e s   n o t   e x c e e d   h a r d   r e s o u r c e   l i m i t s   d e f i n e d   i n   a   R e s o u r c e Q u o t a . Y o u   c a n   a p p l y   a   s c o p e   t o   a   R e s o u r c e Q u o t a   t o   l i m i t   w h e r e   i t   a p p l i e s , I f   c r e a t i n g   o r   u p d a t i n g   a   r e s o u r c e   v i o l a t e s   a   q u o t a   c o n s t r a i n t ,   t h e   c o n t r o l   p l a n e   r e j e c t s   t h a t   r e q u e s t   w i t h   H T T P   s t a t u s   c o d e   4 0 3   F o r b i d d e n .   T h e   e r r o r   i n c l u d e s   a   m e s s a g e   e x p l a i n i n g   t h e   c o n s t r a i n t   t h a t   w o u l d   h a v e   b e e n   v i o l a t e d . I f   q u o t a s   a r e   e n a b l e d   i n   a   n a m e s p a c e   f o r   r e s o u r c e   s u c h   a s   c p u   a n d   m e m o r y ,   u s e r s   m u s t   s p e c i f y   r e q u e s t s   o r   l i ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/resource-quotas/",
    "id": "k8s_00108_section_2_1739"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   d e f i n e   a   L i m i t R a n g e   t o   f o r c e   d e f a u l t s   o n   p o d s   t h a t   m a k e   n o   c o m p u t e   r e s o u r c e   r e q u i r e m e n t s   ( s o   t h a t   u s e r s   d o n ' t   h a v e   t o   r e m e m b e r   t o   d o   t h a t ) .   Y o u   o f t e n   d o   n o t   c r e a t e   P o d s   d i r e c t l y ;   f o r   e x a m p l e ,   y o u   m o r e   u s u a l l y   c r e a t e   a   w o r k l o a d   m a n a g e m e n t   o b j e c t   s u c h   a s   a   D e p l o y m e n t .   I f   y o u   c r e a t e   a   D e p l o y m e n t   t h a t   t r i e s   t o   u s e   m o r e   r e s o u r c e s   t h a n   a r e   a v a i l a b l e ,   t h e   c r e a t i o n   o f   t h e   D e p l o y m e n t   ( o r   o t h e r   w o r k l o a d   m a n a g e m e n t   o b j e c t )   s u c c e e d s ,   b u t   t h e   D e p l o y m e n t   m a y   n o t   b e   a b l e   t o   g e t   a l l   o f   t h e   P o d s   i t   m a n a g e s   t o   e x i s t .   I n   t h a t   c a s e   y o u   c a n   c h e c k   t h e   s t a t u s   o f   t h e   D e p l o y m e n t ,   f o r   e x a m p l e   w i t h   k u b e c t l   d e s c r i b e ,   t o   s e e   w h a t   h a s   h a p p e n e d .   F o r   c p u   a n d   m e m o r y   r e s o u r c e s ,   R e s o u r c e Q u o t a s   e n f o r c e   t h a t   e v e r y   ( n e w )   p o d   i n   t h a t   n a m e s p a c e   s e t s   a   l i m i t   f o r   t h a t   r e s o u r c e .   I f   y o u   e n f o r c e   a   r e s o u r c e   q u o t a   i n   a   n a m e s p a c e   f o r   e i t h e r   c p u   o r   m e m o r y ,   y o u   a n d   o t h e r   c l i e n t s ,   m u s t   s p e c i f y   e i t h e r   r e q u e s t s   o r   l i m i t s   f o r   t h a t   r e s o u r c e ,   f o r   e v e r y   n e w   P o d   y o u   s u b m i t .   I f   y o u   d o n ' t ,   t h e   c o n t r o l   p l a n e   m a y   r e j e c t   a d m i s s i o n   f o r   t h a t ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/resource-quotas/",
    "id": "k8s_00108_section_4_1740"
  },
  {
    "question": "What is Enabling Resource Quota?",
    "answer": "R e s o u r c e Q u o t a   s u p p o r t   i s   e n a b l e d   b y   d e f a u l t   f o r   m a n y   K u b e r n e t e s   d i s t r i b u t i o n s .   I t   i s   e n a b l e d   w h e n   t h e   A P I   s e r v e r   - - e n a b l e - a d m i s s i o n - p l u g i n s =   f l a g   h a s   R e s o u r c e Q u o t a   a s   o n e   o f   i t s   a r g u m e n t s .   A   r e s o u r c e   q u o t a   i s   e n f o r c e d   i n   a   p a r t i c u l a r   n a m e s p a c e   w h e n   t h e r e   i s   a   R e s o u r c e Q u o t a   i n   t h a t   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/resource-quotas/",
    "id": "k8s_00108_section_2_1741"
  },
  {
    "question": "What is Types of resource quota?",
    "answer": "T h e   R e s o u r c e Q u o t a   m e c h a n i s m   l e t s   y o u   e n f o r c e   d i f f e r e n t   k i n d s   o f   l i m i t s .   T h i s   s e c t i o n   d e s c r i b e s   t h e   t y p e s   o f   l i m i t   t h a t   y o u   c a n   e n f o r c e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/resource-quotas/",
    "id": "k8s_00108_section_2_1742"
  },
  {
    "question": "What is Quota for infrastructure resources?",
    "answer": "Y o u   c a n   l i m i t   t h e   t o t a l   s u m   o f   c o m p u t e   r e s o u r c e s   t h a t   c a n   b e   r e q u e s t e d   i n   a   g i v e n   n a m e s p a c e .   T h e   f o l l o w i n g   r e s o u r c e   t y p e s   a r e   s u p p o r t e d :",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/resource-quotas/",
    "id": "k8s_00108_section_3_1743"
  },
  {
    "question": "What is Quota for extended resources?",
    "answer": "I n   a d d i t i o n   t o   t h e   r e s o u r c e s   m e n t i o n e d   a b o v e ,   i n   r e l e a s e   1 . 1 0 ,   q u o t a   s u p p o r t   f o r   e x t e n d e d   r e s o u r c e s   i s   a d d e d .   A s   o v e r c o m m i t   i s   n o t   a l l o w e d   f o r   e x t e n d e d   r e s o u r c e s ,   i t   m a k e s   n o   s e n s e   t o   s p e c i f y   b o t h   r e q u e s t s   a n d   l i m i t s   f o r   t h e   s a m e   e x t e n d e d   r e s o u r c e   i n   a   q u o t a .   S o   f o r   e x t e n d e d   r e s o u r c e s ,   o n l y   q u o t a   i t e m s   w i t h   p r e f i x   r e q u e s t s .   a r e   a l l o w e d .   T a k e   t h e   G P U   r e s o u r c e   a s   a n   e x a m p l e ,   i f   t h e   r e s o u r c e   n a m e   i s   n v i d i a . c o m / g p u ,   a n d   y o u   w a n t   t o   l i m i t   t h e   t o t a l   n u m b e r   o f   G P U s   r e q u e s t e d   i n   a   n a m e s p a c e   t o   4 ,   y o u   c a n   d e f i n e   a   q u o t a   a s   f o l l o w s :   r e q u e s t s . n v i d i a . c o m / g p u :   4   S e e   V i e w i n g   a n d   S e t t i n g   Q u o t a s   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/resource-quotas/",
    "id": "k8s_00108_section_3_1744"
  },
  {
    "question": "What is Quota for storage?",
    "answer": "Y o u   c a n   l i m i t   t h e   t o t a l   s u m   o f   s t o r a g e   f o r   v o l u m e s   t h a t   c a n   b e   r e q u e s t e d   i n   a   g i v e n   n a m e s p a c e .   I n   a d d i t i o n ,   y o u   c a n   l i m i t   c o n s u m p t i o n   o f   s t o r a g e   r e s o u r c e s   b a s e d   o n   a s s o c i a t e d   S t o r a g e C l a s s .   F o r   e x a m p l e ,   i f   y o u   w a n t   t o   q u o t a   s t o r a g e   w i t h   g o l d   S t o r a g e C l a s s   s e p a r a t e   f r o m   a   b r o n z e   S t o r a g e C l a s s ,   y o u   c a n   d e f i n e   a   q u o t a   a s   f o l l o w s :   g o l d . s t o r a g e c l a s s . s t o r a g e . k 8 s . i o / r e q u e s t s . s t o r a g e :   5 0 0 G i b r o n z e . s t o r a g e c l a s s . s t o r a g e . k 8 s . i o / r e q u e s t s . s t o r a g e :   1 0 0 G i",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/resource-quotas/",
    "id": "k8s_00108_section_3_1745"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   u s i n g   a   C R I   c o n t a i n e r   r u n t i m e ,   c o n t a i n e r   l o g s   w i l l   c o u n t   a g a i n s t   t h e   e p h e m e r a l   s t o r a g e   q u o t a .   T h i s   c a n   r e s u l t   i n   t h e   u n e x p e c t e d   e v i c t i o n   o f   p o d s   t h a t   h a v e   e x h a u s t e d   t h e i r   s t o r a g e   q u o t a s .   R e f e r   t o   L o g g i n g   A r c h i t e c t u r e   f o r   d e t a i l s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/resource-quotas/",
    "id": "k8s_00108_section_4_1746"
  },
  {
    "question": "What is Quota on object count?",
    "answer": "Y o u   c a n   s e t   q u o t a   f o r   t h e   t o t a l   n u m b e r   o f   o n e   p a r t i c u l a r   r e s o u r c e   k i n d   i n   t h e   K u b e r n e t e s   A P I ,   u s i n g   t h e   f o l l o w i n g   s y n t a x :   c o u n t / < r e s o u r c e > . < g r o u p >   f o r   r e s o u r c e s   f r o m   n o n - c o r e   A P I   g r o u p s c o u n t / < r e s o u r c e >   f o r   r e s o u r c e s   f r o m   t h e   c o r e   A P I   g r o u p   F o r   e x a m p l e ,   t h e   P o d T e m p l a t e   A P I   i s   i n   t h e   c o r e   A P I   g r o u p   a n d   s o   i f   y o u   w a n t   t o   l i m i t   t h e   n u m b e r   o f   P o d T e m p l a t e   o b j e c t s   i n   a   n a m e s p a c e ,   y o u   u s e   c o u n t / p o d t e m p l a t e s .   T h e s e   t y p e s   o f   q u o t a s   a r e   u s e f u l   t o   p r o t e c t   a g a i n s t   e x h a u s t i o n   o f   c o n t r o l   p l a n e   s t o r a g e .   F o r   e x a m p l e ,   y o u   m a y   w a n t   t o   l i m i t   t h e   n u m b e r   o f   S e c r e t s   i n   a   s e r v e r   g i v e n   t h e i r   l a r g e   s i z e .   T o o   m a n y   S e c r e t s   i n   a   c l u s t e r   c a n   a c t u a l l y   p r e v e n t   s e r v e r s   a n d   c o n t r o l l e r s   f r o m   s t a r t i n g .   Y o u   c a n   s e t   a   q u o t a   f o r   J o b s   t o   p r o t e c t   a g a i n s t   a   p o o r l y   c o n f i g u r e d   C r o n J o b .   C r o n J o b s   t h a t   c r e a t e   t o o   m a n y   J o b s   i n   a   n a m e s p a c e   c a n   l e a d   t o   a   d e n i a l   o f   s e r v i c e .   I f   y o u   d e f i n e   a   q u o t a   t h i s   w a y ,   i t   a p p l i e s   t o   K u b e r n e t e s '   A P I s   t h a t   a r e   p a r t   o f   t h e   A P I   s e r v e r ,   a n d   t o   a n y   c u s t o m   r e s o u r c e s   b a c k e d   b y   a   C u s t o m R e s o u r c e D e f i n i t i o n .   F o ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/resource-quotas/",
    "id": "k8s_00108_section_3_1747"
  },
  {
    "question": "What is Generic syntax?",
    "answer": "T h i s   i s   a   l i s t   o f   c o m m o n   e x a m p l e s   o f   o b j e c t   k i n d s   t h a t   y o u   m a y   w a n t   t o   p u t   u n d e r   o b j e c t   c o u n t   q u o t a ,   l i s t e d   b y   t h e   c o n f i g u r a t i o n   s t r i n g   t h a t   y o u   w o u l d   u s e .   c o u n t / p o d s c o u n t / p e r s i s t e n t v o l u m e c l a i m s c o u n t / s e r v i c e s c o u n t / s e c r e t s c o u n t / c o n f i g m a p s c o u n t / d e p l o y m e n t s . a p p s c o u n t / r e p l i c a s e t s . a p p s c o u n t / s t a t e f u l s e t s . a p p s c o u n t / j o b s . b a t c h c o u n t / c r o n j o b s . b a t c h",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/resource-quotas/",
    "id": "k8s_00108_section_5_1748"
  },
  {
    "question": "What is Specialized syntax?",
    "answer": "T h e r e   i s   a n o t h e r   s y n t a x   o n l y   t o   s e t   t h e   s a m e   t y p e   o f   q u o t a ,   t h a t   o n l y   w o r k s   f o r   c e r t a i n   A P I   k i n d s .   T h e   f o l l o w i n g   t y p e s   a r e   s u p p o r t e d :   F o r   e x a m p l e ,   p o d s   q u o t a   c o u n t s   a n d   e n f o r c e s   a   m a x i m u m   o n   t h e   n u m b e r   o f   p o d s   c r e a t e d   i n   a   s i n g l e   n a m e s p a c e   t h a t   a r e   n o t   t e r m i n a l .   Y o u   m i g h t   w a n t   t o   s e t   a   p o d s   q u o t a   o n   a   n a m e s p a c e   t o   a v o i d   t h e   c a s e   w h e r e   a   u s e r   c r e a t e s   m a n y   s m a l l   p o d s   a n d   e x h a u s t s   t h e   c l u s t e r ' s   s u p p l y   o f   P o d   I P s .   Y o u   c a n   f i n d   m o r e   e x a m p l e s   o n   V i e w i n g   a n d   S e t t i n g   Q u o t a s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/resource-quotas/",
    "id": "k8s_00108_section_5_1749"
  },
  {
    "question": "What is Quota Scopes?",
    "answer": "E a c h   q u o t a   c a n   h a v e   a n   a s s o c i a t e d   s e t   o f   s c o p e s .   A   q u o t a   w i l l   o n l y   m e a s u r e   u s a g e   f o r   a   r e s o u r c e   i f   i t   m a t c h e s   t h e   i n t e r s e c t i o n   o f   e n u m e r a t e d   s c o p e s .   W h e n   a   s c o p e   i s   a d d e d   t o   t h e   q u o t a ,   i t   l i m i t s   t h e   n u m b e r   o f   r e s o u r c e s   i t   s u p p o r t s   t o   t h o s e   t h a t   p e r t a i n   t o   t h e   s c o p e .   R e s o u r c e s   s p e c i f i e d   o n   t h e   q u o t a   o u t s i d e   o f   t h e   a l l o w e d   s e t   r e s u l t s   i n   a   v a l i d a t i o n   e r r o r .   T h e   B e s t E f f o r t   s c o p e   r e s t r i c t s   a   q u o t a   t o   t r a c k i n g   t h e   f o l l o w i n g   r e s o u r c e :   p o d s   T h e   T e r m i n a t i n g ,   N o t T e r m i n a t i n g ,   N o t B e s t E f f o r t   a n d   P r i o r i t y C l a s s   s c o p e s   r e s t r i c t   a   q u o t a   t o   t r a c k i n g   t h e   f o l l o w i n g   r e s o u r c e s :   p o d s c p u m e m o r y r e q u e s t s . c p u r e q u e s t s . m e m o r y l i m i t s . c p u l i m i t s . m e m o r y   N o t e   t h a t   y o u   c a n n o t   s p e c i f y   b o t h   t h e   T e r m i n a t i n g   a n d   t h e   N o t T e r m i n a t i n g   s c o p e s   i n   t h e   s a m e   q u o t a ,   a n d   y o u   c a n n o t   s p e c i f y   b o t h   t h e   B e s t E f f o r t   a n d   N o t B e s t E f f o r t   s c o p e s   i n   t h e   s a m e   q u o t a   e i t h e r .   T h e   s c o p e S e l e c t o r   s u p p o r t s   t h e   f o l l o w i n g   v a l u e s   i n   t h e   o p e r a t o r   f i e l d :   I n N o t I n E x i s t s D o e s N o t E x i s t   W h e n   u s i n g   o n e   o f   t h e   f o l l o w i n g   v a l u e s   a s   t h e   s c o p e N a m e   w h e n   d e f i n i n g   t h e   s c o p e S e l ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/resource-quotas/",
    "id": "k8s_00108_section_2_1750"
  },
  {
    "question": "What is Resource Quota Per PriorityClass?",
    "answer": "P o d s   c a n   b e   c r e a t e d   a t   a   s p e c i f i c   p r i o r i t y .   Y o u   c a n   c o n t r o l   a   p o d ' s   c o n s u m p t i o n   o f   s y s t e m   r e s o u r c e s   b a s e d   o n   a   p o d ' s   p r i o r i t y ,   b y   u s i n g   t h e   s c o p e S e l e c t o r   f i e l d   i n   t h e   q u o t a   s p e c .   A   q u o t a   i s   m a t c h e d   a n d   c o n s u m e d   o n l y   i f   s c o p e S e l e c t o r   i n   t h e   q u o t a   s p e c   s e l e c t s   t h e   p o d .   W h e n   q u o t a   i s   s c o p e d   f o r   p r i o r i t y   c l a s s   u s i n g   s c o p e S e l e c t o r   f i e l d ,   q u o t a   o b j e c t   i s   r e s t r i c t e d   t o   t r a c k   o n l y   f o l l o w i n g   r e s o u r c e s :   p o d s c p u m e m o r y e p h e m e r a l - s t o r a g e l i m i t s . c p u l i m i t s . m e m o r y l i m i t s . e p h e m e r a l - s t o r a g e r e q u e s t s . c p u r e q u e s t s . m e m o r y r e q u e s t s . e p h e m e r a l - s t o r a g e   T h i s   e x a m p l e   c r e a t e s   a   q u o t a   o b j e c t   a n d   m a t c h e s   i t   w i t h   p o d s   a t   s p e c i f i c   p r i o r i t i e s .   T h e   e x a m p l e   w o r k s   a s   f o l l o w s :   P o d s   i n   t h e   c l u s t e r   h a v e   o n e   o f   t h e   t h r e e   p r i o r i t y   c l a s s e s ,   \" l o w \" ,   \" m e d i u m \" ,   \" h i g h \" . O n e   q u o t a   o b j e c t   i s   c r e a t e d   f o r   e a c h   p r i o r i t y .   S a v e   t h e   f o l l o w i n g   Y A M L   t o   a   f i l e   q u o t a . y a m l .   a p i V e r s i o n :   v 1   k i n d :   L i s t   i t e m s :   -   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a   m e t a d a t a :   n a m e :   p o d s - h i g h   s p e c :   h a r d :   c p u :   \" 1 0 0 0 \"   m e m o r y :   \" 2 0 0 G i \"   p o d s :   \" 1 0 \"   s c o p e S e l e c t o r :   m a t c h E x p r e s s i o n s :   ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/resource-quotas/",
    "id": "k8s_00108_section_3_1751"
  },
  {
    "question": "What is Cross-namespace Pod Affinity Quota?",
    "answer": "O p e r a t o r s   c a n   u s e   C r o s s N a m e s p a c e P o d A f f i n i t y   q u o t a   s c o p e   t o   l i m i t   w h i c h   n a m e s p a c e s   a r e   a l l o w e d   t o   h a v e   p o d s   w i t h   a f f i n i t y   t e r m s   t h a t   c r o s s   n a m e s p a c e s .   S p e c i f i c a l l y ,   i t   c o n t r o l s   w h i c h   p o d s   a r e   a l l o w e d   t o   s e t   n a m e s p a c e s   o r   n a m e s p a c e S e l e c t o r   f i e l d s   i n   p o d   a f f i n i t y   t e r m s .   P r e v e n t i n g   u s e r s   f r o m   u s i n g   c r o s s - n a m e s p a c e   a f f i n i t y   t e r m s   m i g h t   b e   d e s i r e d   s i n c e   a   p o d   w i t h   a n t i - a f f i n i t y   c o n s t r a i n t s   c a n   b l o c k   p o d s   f r o m   a l l   o t h e r   n a m e s p a c e s   f r o m   g e t t i n g   s c h e d u l e d   i n   a   f a i l u r e   d o m a i n .   U s i n g   t h i s   s c o p e   o p e r a t o r s   c a n   p r e v e n t   c e r t a i n   n a m e s p a c e s   ( f o o - n s   i n   t h e   e x a m p l e   b e l o w )   f r o m   h a v i n g   p o d s   t h a t   u s e   c r o s s - n a m e s p a c e   p o d   a f f i n i t y   b y   c r e a t i n g   a   r e s o u r c e   q u o t a   o b j e c t   i n   t h a t   n a m e s p a c e   w i t h   C r o s s N a m e s p a c e P o d A f f i n i t y   s c o p e   a n d   h a r d   l i m i t   o f   0 :   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a   m e t a d a t a :   n a m e :   d i s a b l e - c r o s s - n a m e s p a c e - a f f i n i t y   n a m e s p a c e :   f o o - n s   s p e c :   h a r d :   p o d s :   \" 0 \"   s c o p e S e l e c t o r :   m a t c h E x p r e s s i o n s :   -   s c o p e N a m e :   C r o s s N a m e s p a c e P o d A f f i n i t y   o p e r a t o r :   E x i s t s   I f   o p e r a t o r s   w a n t   t o   d i s a l l o w   u s i n g   n a m e s p a c e s   a n d   n a m e s p a c e ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/resource-quotas/",
    "id": "k8s_00108_section_3_1752"
  },
  {
    "question": "What is Resource Quota Per VolumeAttributesClass?",
    "answer": "P e r s i s t e n t V o l u m e C l a i m s   c a n   b e   c r e a t e d   w i t h   a   s p e c i f i c   v o l u m e   a t t r i b u t e s   c l a s s ,   a n d   m i g h t   b e   m o d i f i e d   a f t e r   c r e a t i o n .   Y o u   c a n   c o n t r o l   a   P V C ' s   c o n s u m p t i o n   o f   s t o r a g e   r e s o u r c e s   b a s e d   o n   t h e   a s s o c i a t e d   v o l u m e   a t t r i b u t e s   c l a s s e s ,   b y   u s i n g   t h e   s c o p e S e l e c t o r   f i e l d   i n   t h e   q u o t a   s p e c .   T h e   P V C   r e f e r e n c e s   t h e   a s s o c i a t e d   v o l u m e   a t t r i b u t e s   c l a s s   b y   t h e   f o l l o w i n g   f i e l d s :   s p e c . v o l u m e A t t r i b u t e s C l a s s N a m e s t a t u s . c u r r e n t V o l u m e A t t r i b u t e s C l a s s N a m e s t a t u s . m o d i f y V o l u m e S t a t u s . t a r g e t V o l u m e A t t r i b u t e s C l a s s N a m e   A   q u o t a   i s   m a t c h e d   a n d   c o n s u m e d   o n l y   i f   s c o p e S e l e c t o r   i n   t h e   q u o t a   s p e c   s e l e c t s   t h e   P V C .   W h e n   t h e   q u o t a   i s   s c o p e d   f o r   t h e   v o l u m e   a t t r i b u t e s   c l a s s   u s i n g   t h e   s c o p e S e l e c t o r   f i e l d ,   t h e   q u o t a   o b j e c t   i s   r e s t r i c t e d   t o   t r a c k   o n l y   t h e   f o l l o w i n g   r e s o u r c e s :   p e r s i s t e n t v o l u m e c l a i m s r e q u e s t s . s t o r a g e   T h i s   e x a m p l e   c r e a t e s   a   q u o t a   o b j e c t   a n d   m a t c h e s   i t   w i t h   P V C   a t   s p e c i f i c   v o l u m e   a t t r i b u t e s   c l a s s e s .   T h e   e x a m p l e   w o r k s   a s   f o l l o w s :   P V C s   i n   t h e   c l u s t e r   h a v e   a t   l e a s t   o n e   o f   t h e   t h r e e   v o l u m e   a t t r i b u t e s   c l a s s e s ,   \" g o l d \" ,   \" s i l v e r \" ,   \" c ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/resource-quotas/",
    "id": "k8s_00108_section_3_1753"
  },
  {
    "question": "What is Requests compared to Limits?",
    "answer": "W h e n   a l l o c a t i n g   c o m p u t e   r e s o u r c e s ,   e a c h   c o n t a i n e r   m a y   s p e c i f y   a   r e q u e s t   a n d   a   l i m i t   v a l u e   f o r   e i t h e r   C P U   o r   m e m o r y .   T h e   q u o t a   c a n   b e   c o n f i g u r e d   t o   q u o t a   e i t h e r   v a l u e .   I f   t h e   q u o t a   h a s   a   v a l u e   s p e c i f i e d   f o r   r e q u e s t s . c p u   o r   r e q u e s t s . m e m o r y ,   t h e n   i t   r e q u i r e s   t h a t   e v e r y   i n c o m i n g   c o n t a i n e r   m a k e s   a n   e x p l i c i t   r e q u e s t   f o r   t h o s e   r e s o u r c e s .   I f   t h e   q u o t a   h a s   a   v a l u e   s p e c i f i e d   f o r   l i m i t s . c p u   o r   l i m i t s . m e m o r y ,   t h e n   i t   r e q u i r e s   t h a t   e v e r y   i n c o m i n g   c o n t a i n e r   s p e c i f i e s   a n   e x p l i c i t   l i m i t   f o r   t h o s e   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/resource-quotas/",
    "id": "k8s_00108_section_2_1754"
  },
  {
    "question": "What is Viewing and Setting Quotas?",
    "answer": "k u b e c t l   s u p p o r t s   c r e a t i n g ,   u p d a t i n g ,   a n d   v i e w i n g   q u o t a s :   k u b e c t l   c r e a t e   n a m e s p a c e   m y s p a c e   c a t   < < E O F   >   c o m p u t e - r e s o u r c e s . y a m l   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a   m e t a d a t a :   n a m e :   c o m p u t e - r e s o u r c e s   s p e c :   h a r d :   r e q u e s t s . c p u :   \" 1 \"   r e q u e s t s . m e m o r y :   \" 1 G i \"   l i m i t s . c p u :   \" 2 \"   l i m i t s . m e m o r y :   \" 2 G i \"   r e q u e s t s . n v i d i a . c o m / g p u :   4   E O F   k u b e c t l   c r e a t e   - f   . / c o m p u t e - r e s o u r c e s . y a m l   - - n a m e s p a c e = m y s p a c e   c a t   < < E O F   >   o b j e c t - c o u n t s . y a m l   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a   m e t a d a t a :   n a m e :   o b j e c t - c o u n t s   s p e c :   h a r d :   c o n f i g m a p s :   \" 1 0 \"   p e r s i s t e n t v o l u m e c l a i m s :   \" 4 \"   p o d s :   \" 4 \"   r e p l i c a t i o n c o n t r o l l e r s :   \" 2 0 \"   s e c r e t s :   \" 1 0 \"   s e r v i c e s :   \" 1 0 \"   s e r v i c e s . l o a d b a l a n c e r s :   \" 2 \"   E O F   k u b e c t l   c r e a t e   - f   . / o b j e c t - c o u n t s . y a m l   - - n a m e s p a c e = m y s p a c e   k u b e c t l   g e t   q u o t a   - - n a m e s p a c e = m y s p a c e   N A M E   A G E   c o m p u t e - r e s o u r c e s   3 0 s   o b j e c t - c o u n t s   3 2 s   k u b e c t l   d e s c r i b e   q u o t a   c o m p u t e - r e s o u r c e s   - - n a m e s p a c e = m y s p a c e   N a m e :   c o m p u t e - r e s o u r c e s   N a m e s p a c e :   m y s p a c e   R e s o u r c e   U s e d   H a r d   - - - - - - - -   - - - -   - - - -   l i m i t s . c p u   0   2   l i m i t s . m e m o r y   0   2 G i   r e q u e s t s . c p u   0   1   r e q u e s t s . m e m o r y   0   1 G i   r e q u e s t ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/resource-quotas/",
    "id": "k8s_00108_section_2_1755"
  },
  {
    "question": "What is Quota and Cluster Capacity?",
    "answer": "R e s o u r c e Q u o t a s   a r e   i n d e p e n d e n t   o f   t h e   c l u s t e r   c a p a c i t y .   T h e y   a r e   e x p r e s s e d   i n   a b s o l u t e   u n i t s .   S o ,   i f   y o u   a d d   n o d e s   t o   y o u r   c l u s t e r ,   t h i s   d o e s   n o t   a u t o m a t i c a l l y   g i v e   e a c h   n a m e s p a c e   t h e   a b i l i t y   t o   c o n s u m e   m o r e   r e s o u r c e s .   S o m e t i m e s   m o r e   c o m p l e x   p o l i c i e s   m a y   b e   d e s i r e d ,   s u c h   a s :   P r o p o r t i o n a l l y   d i v i d e   t o t a l   c l u s t e r   r e s o u r c e s   a m o n g   s e v e r a l   t e a m s . A l l o w   e a c h   t e n a n t   t o   g r o w   r e s o u r c e   u s a g e   a s   n e e d e d ,   b u t   h a v e   a   g e n e r o u s   l i m i t   t o   p r e v e n t   a c c i d e n t a l   r e s o u r c e   e x h a u s t i o n . D e t e c t   d e m a n d   f r o m   o n e   n a m e s p a c e ,   a d d   n o d e s ,   a n d   i n c r e a s e   q u o t a .   S u c h   p o l i c i e s   c o u l d   b e   i m p l e m e n t e d   u s i n g   R e s o u r c e Q u o t a s   a s   b u i l d i n g   b l o c k s ,   b y   w r i t i n g   a   \" c o n t r o l l e r \"   t h a t   w a t c h e s   t h e   q u o t a   u s a g e   a n d   a d j u s t s   t h e   q u o t a   h a r d   l i m i t s   o f   e a c h   n a m e s p a c e   a c c o r d i n g   t o   o t h e r   s i g n a l s .   N o t e   t h a t   r e s o u r c e   q u o t a   d i v i d e s   u p   a g g r e g a t e   c l u s t e r   r e s o u r c e s ,   b u t   i t   c r e a t e s   n o   r e s t r i c t i o n s   a r o u n d   n o d e s :   p o d s   f r o m   s e v e r a l   n a m e s p a c e s   m a y   r u n   o n   t h e   s a m e   n o d e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/resource-quotas/",
    "id": "k8s_00108_section_2_1756"
  },
  {
    "question": "What is Limit Priority Class consumption by default?",
    "answer": "I t   m a y   b e   d e s i r e d   t h a t   p o d s   a t   a   p a r t i c u l a r   p r i o r i t y ,   s u c h   a s   \" c l u s t e r - s e r v i c e s \" ,   s h o u l d   b e   a l l o w e d   i n   a   n a m e s p a c e ,   i f   a n d   o n l y   i f ,   a   m a t c h i n g   q u o t a   o b j e c t   e x i s t s .   W i t h   t h i s   m e c h a n i s m ,   o p e r a t o r s   a r e   a b l e   t o   r e s t r i c t   u s a g e   o f   c e r t a i n   h i g h   p r i o r i t y   c l a s s e s   t o   a   l i m i t e d   n u m b e r   o f   n a m e s p a c e s   a n d   n o t   e v e r y   n a m e s p a c e   w i l l   b e   a b l e   t o   c o n s u m e   t h e s e   p r i o r i t y   c l a s s e s   b y   d e f a u l t .   T o   e n f o r c e   t h i s ,   k u b e - a p i s e r v e r   f l a g   - - a d m i s s i o n - c o n t r o l - c o n f i g - f i l e   s h o u l d   b e   u s e d   t o   p a s s   p a t h   t o   t h e   f o l l o w i n g   c o n f i g u r a t i o n   f i l e :   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   A d m i s s i o n C o n f i g u r a t i o n   p l u g i n s :   -   n a m e :   \" R e s o u r c e Q u o t a \"   c o n f i g u r a t i o n :   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   R e s o u r c e Q u o t a C o n f i g u r a t i o n   l i m i t e d R e s o u r c e s :   -   r e s o u r c e :   p o d s   m a t c h S c o p e s :   -   s c o p e N a m e :   P r i o r i t y C l a s s   o p e r a t o r :   I n   v a l u e s :   [ \" c l u s t e r - s e r v i c e s \" ]   T h e n ,   c r e a t e   a   r e s o u r c e   q u o t a   o b j e c t   i n   t h e   k u b e - s y s t e m   n a m e s p a c e :   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a   m e t a d a t a :   n a m e :   p o d s - c l u s t e r - s e r v i c e s   s p e c :   s c o p e S e l e c t o r :   m a t c h E x p r e s s i o n s :   -   o p e r a t o r ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/resource-quotas/",
    "id": "k8s_00108_section_2_1757"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   a   d e t a i l e d   e x a m p l e   f o r   h o w   t o   u s e   r e s o u r c e   q u o t a . R e a d   t h e   R e s o u r c e Q u o t a   A P I   r e f e r e n c e L e a r n   a b o u t   L i m i t R a n g e s Y o u   c a n   r e a d   t h e   h i s t o r i c a l   R e s o u r c e Q u o t a   d e s i g n   d o c u m e n t   f o r   m o r e   i n f o r m a t i o n . Y o u   c a n   a l s o   r e a d   t h e   Q u o t a   s u p p o r t   f o r   p r i o r i t y   c l a s s   d e s i g n   d o c u m e n t .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/resource-quotas/",
    "id": "k8s_00108_section_2_1758"
  },
  {
    "question": "What is Configuring swap memory on Kubernetes nodes?",
    "answer": "Configuring swap memory on Kubernetes nodesThis page provides an example of how to provision and configure swap memory on a Kubernetes node using kubeadm.ObjectivesProvision swap memory on a Kubernetes node using kubeadm.Learn to configure both encrypted and unencrypted swap.Learn to enable swap on boot.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.33.To check the version, enter kubectl version.You need at least one worker node in your cluster which needs to run a Linux operating system. It is required for this demo that the kubeadm tool be installed, following the steps outlined in the kubeadm installation guide.On each worker node where you will configure swap use, you need:fallocatemkswapswaponFor encrypted swap space (recommended), you also need:cryptsetupInstall a swap-enabled cluster with kubeadmCreate a swap file and turn swap onIf swap is not enabled, there's a need to provision swap on the node. The following sections demonstrate creating 4GiB of swap, both in the encrypted and unencrypted case.An encrypted swap file can be set up as follows. Bear in mind that this example uses the cryptsetup binary (which is available on most Linux distributions).# Allocate storage and restrict access fallocate --length 4GiB /swapfile chmod 600 /swapfile # Create an encrypted device backed by the allocated storage cryptsetup --type plain --cipher aes-xts-plain64 --key-size 256 -d /dev/urandom open /swapfile cryptswap # Format the swap space mkswap /dev/mapper/cryptswap # Activate the swap space for paging swapon /dev/mapper/cryptswap An unencrypted swap file can be set up as follows.# Allocate storage and restrict access fallocate --length 4GiB /swapfile chmod 600 /swapfile # Format the swap space mkswap /swapfile # Activate the swap space for paging swapon /swapfile Verify that swap is enabledSwap can be verified to be enabled with both swapon -s command or the free command.Using swapon -s:Filename Type Size Used Priority /dev/dm-0 partition 4194300 0 -2 Using free -h: total used free shared buff/cache available Mem: 3.8Gi 1.3Gi 249Mi 25Mi 2.5Gi 2.5Gi Swap: 4.0Gi 0B 4.0Gi Enable swap on bootAfter setting up swap, to start the swap file at boot time, you typically either set up a systemd unit to activate (encrypted) swap, or you add a line similar to /swapfile swap swap defaults 0 0 into /etc/fstab.Using systemd for swap activation allows the system to delay kubelet start until swap is available, if that is something you want to ensure. In a similar way, using systemd allows your server to leave swap active unt",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/provision-swap-memory/",
    "id": "k8s_00109_qa_1759"
  },
  {
    "question": "How does Configuring swap memory on Kubernetes nodes work?",
    "answer": "Configuring swap memory on Kubernetes nodesThis page provides an example of how to provision and configure swap memory on a Kubernetes node using kubeadm.ObjectivesProvision swap memory on a Kubernetes node using kubeadm.Learn to configure both encrypted and unencrypted swap.Learn to enable swap on boot.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.33.To check the version, enter kubectl version.You need at least one worker node in your cluster which needs to run a Linux operating system. It is required for this demo that the kubeadm tool be installed, following the steps outlined in the kubeadm installation guide.On each worker node where you will configure swap use, you need:fallocatemkswapswaponFor encrypted swap space (recommended), you also need:cryptsetupInstall a swap-enabled cluster with kubeadmCreate a swap file and turn swap onIf swap is not enabled, there's a need to provision swap on the node. The following sections demonstrate creating 4GiB of swap, both in the encrypted and unencrypted case.An encrypted swap file can be set up as follows. Bear in mind that this example uses the cryptsetup binary (which is available on most Linux distributions).# Allocate storage and restrict access fallocate --length 4GiB /swapfile chmod 600 /swapfile # Create an encrypted device backed by the allocated storage cryptsetup --type plain --cipher aes-xts-plain64 --key-size 256 -d /dev/urandom open /swapfile cryptswap # Format the swap space mkswap /dev/mapper/cryptswap # Activate the swap space for paging swapon /dev/mapper/cryptswap An unencrypted swap file can be set up as follows.# Allocate storage and restrict access fallocate --length 4GiB /swapfile chmod 600 /swapfile # Format the swap space mkswap /swapfile # Activate the swap space for paging swapon /swapfile Verify that swap is enabledSwap can be verified to be enabled with both swapon -s command or the free command.Using swapon -s:Filename Type Size Used Priority /dev/dm-0 partition 4194300 0 -2 Using free -h: total used free shared buff/cache available Mem: 3.8Gi 1.3Gi 249Mi 25Mi 2.5Gi 2.5Gi Swap: 4.0Gi 0B 4.0Gi Enable swap on bootAfter setting up swap, to start the swap file at boot time, you typically either set up a systemd unit to activate (encrypted) swap, or you add a line similar to /swapfile swap swap defaults 0 0 into /etc/fstab.Using systemd for swap activation allows the system to delay kubelet start until swap is available, if that is something you want to ensure. In a similar way, using systemd allows your server to leave swap active unt",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/provision-swap-memory/",
    "id": "k8s_00109_qa_1760"
  },
  {
    "question": "When would you use Configuring swap memory on Kubernetes nodes?",
    "answer": "Configuring swap memory on Kubernetes nodesThis page provides an example of how to provision and configure swap memory on a Kubernetes node using kubeadm.ObjectivesProvision swap memory on a Kubernetes node using kubeadm.Learn to configure both encrypted and unencrypted swap.Learn to enable swap on boot.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.33.To check the version, enter kubectl version.You need at least one worker node in your cluster which needs to run a Linux operating system. It is required for this demo that the kubeadm tool be installed, following the steps outlined in the kubeadm installation guide.On each worker node where you will configure swap use, you need:fallocatemkswapswaponFor encrypted swap space (recommended), you also need:cryptsetupInstall a swap-enabled cluster with kubeadmCreate a swap file and turn swap onIf swap is not enabled, there's a need to provision swap on the node. The following sections demonstrate creating 4GiB of swap, both in the encrypted and unencrypted case.An encrypted swap file can be set up as follows. Bear in mind that this example uses the cryptsetup binary (which is available on most Linux distributions).# Allocate storage and restrict access fallocate --length 4GiB /swapfile chmod 600 /swapfile # Create an encrypted device backed by the allocated storage cryptsetup --type plain --cipher aes-xts-plain64 --key-size 256 -d /dev/urandom open /swapfile cryptswap # Format the swap space mkswap /dev/mapper/cryptswap # Activate the swap space for paging swapon /dev/mapper/cryptswap An unencrypted swap file can be set up as follows.# Allocate storage and restrict access fallocate --length 4GiB /swapfile chmod 600 /swapfile # Format the swap space mkswap /swapfile # Activate the swap space for paging swapon /swapfile Verify that swap is enabledSwap can be verified to be enabled with both swapon -s command or the free command.Using swapon -s:Filename Type Size Used Priority /dev/dm-0 partition 4194300 0 -2 Using free -h: total used free shared buff/cache available Mem: 3.8Gi 1.3Gi 249Mi 25Mi 2.5Gi 2.5Gi Swap: 4.0Gi 0B 4.0Gi Enable swap on bootAfter setting up swap, to start the swap file at boot time, you typically either set up a systemd unit to activate (encrypted) swap, or you add a line similar to /swapfile swap swap defaults 0 0 into /etc/fstab.Using systemd for swap activation allows the system to delay kubelet start until swap is available, if that is something you want to ensure. In a similar way, using systemd allows your server to leave swap active unt",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/provision-swap-memory/",
    "id": "k8s_00109_qa_1761"
  },
  {
    "question": "What are the benefits of Configuring swap memory on Kubernetes nodes?",
    "answer": "Configuring swap memory on Kubernetes nodesThis page provides an example of how to provision and configure swap memory on a Kubernetes node using kubeadm.ObjectivesProvision swap memory on a Kubernetes node using kubeadm.Learn to configure both encrypted and unencrypted swap.Learn to enable swap on boot.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.33.To check the version, enter kubectl version.You need at least one worker node in your cluster which needs to run a Linux operating system. It is required for this demo that the kubeadm tool be installed, following the steps outlined in the kubeadm installation guide.On each worker node where you will configure swap use, you need:fallocatemkswapswaponFor encrypted swap space (recommended), you also need:cryptsetupInstall a swap-enabled cluster with kubeadmCreate a swap file and turn swap onIf swap is not enabled, there's a need to provision swap on the node. The following sections demonstrate creating 4GiB of swap, both in the encrypted and unencrypted case.An encrypted swap file can be set up as follows. Bear in mind that this example uses the cryptsetup binary (which is available on most Linux distributions).# Allocate storage and restrict access fallocate --length 4GiB /swapfile chmod 600 /swapfile # Create an encrypted device backed by the allocated storage cryptsetup --type plain --cipher aes-xts-plain64 --key-size 256 -d /dev/urandom open /swapfile cryptswap # Format the swap space mkswap /dev/mapper/cryptswap # Activate the swap space for paging swapon /dev/mapper/cryptswap An unencrypted swap file can be set up as follows.# Allocate storage and restrict access fallocate --length 4GiB /swapfile chmod 600 /swapfile # Format the swap space mkswap /swapfile # Activate the swap space for paging swapon /swapfile Verify that swap is enabledSwap can be verified to be enabled with both swapon -s command or the free command.Using swapon -s:Filename Type Size Used Priority /dev/dm-0 partition 4194300 0 -2 Using free -h: total used free shared buff/cache available Mem: 3.8Gi 1.3Gi 249Mi 25Mi 2.5Gi 2.5Gi Swap: 4.0Gi 0B 4.0Gi Enable swap on bootAfter setting up swap, to start the swap file at boot time, you typically either set up a systemd unit to activate (encrypted) swap, or you add a line similar to /swapfile swap swap defaults 0 0 into /etc/fstab.Using systemd for swap activation allows the system to delay kubelet start until swap is available, if that is something you want to ensure. In a similar way, using systemd allows your server to leave swap active unt",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/provision-swap-memory/",
    "id": "k8s_00109_qa_1762"
  },
  {
    "question": "What is Configuring swap memory on Kubernetes nodes?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   e x a m p l e   o f   h o w   t o   p r o v i s i o n   a n d   c o n f i g u r e   s w a p   m e m o r y   o n   a   K u b e r n e t e s   n o d e   u s i n g   k u b e a d m .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/provision-swap-memory/",
    "id": "k8s_00109_section_1_1763"
  },
  {
    "question": "What is Objectives?",
    "answer": "P r o v i s i o n   s w a p   m e m o r y   o n   a   K u b e r n e t e s   n o d e   u s i n g   k u b e a d m . L e a r n   t o   c o n f i g u r e   b o t h   e n c r y p t e d   a n d   u n e n c r y p t e d   s w a p . L e a r n   t o   e n a b l e   s w a p   o n   b o o t .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/provision-swap-memory/",
    "id": "k8s_00109_section_2_1764"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 3 3 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/provision-swap-memory/",
    "id": "k8s_00109_section_2_1765"
  },
  {
    "question": "What is Create a swap file and turn swap on?",
    "answer": "I f   s w a p   i s   n o t   e n a b l e d ,   t h e r e ' s   a   n e e d   t o   p r o v i s i o n   s w a p   o n   t h e   n o d e .   T h e   f o l l o w i n g   s e c t i o n s   d e m o n s t r a t e   c r e a t i n g   4 G i B   o f   s w a p ,   b o t h   i n   t h e   e n c r y p t e d   a n d   u n e n c r y p t e d   c a s e .   A n   e n c r y p t e d   s w a p   f i l e   c a n   b e   s e t   u p   a s   f o l l o w s .   B e a r   i n   m i n d   t h a t   t h i s   e x a m p l e   u s e s   t h e   c r y p t s e t u p   b i n a r y   ( w h i c h   i s   a v a i l a b l e   o n   m o s t   L i n u x   d i s t r i b u t i o n s ) . #   A l l o c a t e   s t o r a g e   a n d   r e s t r i c t   a c c e s s   f a l l o c a t e   - - l e n g t h   4 G i B   / s w a p f i l e   c h m o d   6 0 0   / s w a p f i l e   #   C r e a t e   a n   e n c r y p t e d   d e v i c e   b a c k e d   b y   t h e   a l l o c a t e d   s t o r a g e   c r y p t s e t u p   - - t y p e   p l a i n   - - c i p h e r   a e s - x t s - p l a i n 6 4   - - k e y - s i z e   2 5 6   - d   / d e v / u r a n d o m   o p e n   / s w a p f i l e   c r y p t s w a p   #   F o r m a t   t h e   s w a p   s p a c e   m k s w a p   / d e v / m a p p e r / c r y p t s w a p   #   A c t i v a t e   t h e   s w a p   s p a c e   f o r   p a g i n g   s w a p o n   / d e v / m a p p e r / c r y p t s w a p   A n   e n c r y p t e d   s w a p   f i l e   c a n   b e   s e t   u p   a s   f o l l o w s .   B e a r   i n   m i n d   t h a t   t h i s   e x a m p l e   u s e s   t h e   c r y p t s e t u p   b i n a r y   ( w h i c h   i s   a v a i l a b l e   o n   m o s t   L i n u x   d i s t r i b u t i o n s ) .   #   A l l o c a t e   s t o r a g e   a n d   r e s t r i c t   a c c e s s   f a l l o c a t e   - - l e n g t h   4 G i B   / s w a p f i l e   c h m o d   6 0 0   / s w a p f i l e   #   C r e a t e   a n   e n c r y p t e d   d e v i c e   b a c k e d   b y   t h e   a ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/provision-swap-memory/",
    "id": "k8s_00109_section_3_1766"
  },
  {
    "question": "What is Verify that swap is enabled?",
    "answer": "S w a p   c a n   b e   v e r i f i e d   t o   b e   e n a b l e d   w i t h   b o t h   s w a p o n   - s   c o m m a n d   o r   t h e   f r e e   c o m m a n d .   U s i n g   s w a p o n   - s :   F i l e n a m e   T y p e   S i z e   U s e d   P r i o r i t y   / d e v / d m - 0   p a r t i t i o n   4 1 9 4 3 0 0   0   - 2   U s i n g   f r e e   - h :   t o t a l   u s e d   f r e e   s h a r e d   b u f f / c a c h e   a v a i l a b l e   M e m :   3 . 8 G i   1 . 3 G i   2 4 9 M i   2 5 M i   2 . 5 G i   2 . 5 G i   S w a p :   4 . 0 G i   0 B   4 . 0 G i",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/provision-swap-memory/",
    "id": "k8s_00109_section_4_1767"
  },
  {
    "question": "What is Enable swap on boot?",
    "answer": "A f t e r   s e t t i n g   u p   s w a p ,   t o   s t a r t   t h e   s w a p   f i l e   a t   b o o t   t i m e ,   y o u   t y p i c a l l y   e i t h e r   s e t   u p   a   s y s t e m d   u n i t   t o   a c t i v a t e   ( e n c r y p t e d )   s w a p ,   o r   y o u   a d d   a   l i n e   s i m i l a r   t o   / s w a p f i l e   s w a p   s w a p   d e f a u l t s   0   0   i n t o   / e t c / f s t a b .   U s i n g   s y s t e m d   f o r   s w a p   a c t i v a t i o n   a l l o w s   t h e   s y s t e m   t o   d e l a y   k u b e l e t   s t a r t   u n t i l   s w a p   i s   a v a i l a b l e ,   i f   t h a t   i s   s o m e t h i n g   y o u   w a n t   t o   e n s u r e .   I n   a   s i m i l a r   w a y ,   u s i n g   s y s t e m d   a l l o w s   y o u r   s e r v e r   t o   l e a v e   s w a p   a c t i v e   u n t i l   k u b e l e t   ( a n d ,   t y p i c a l l y ,   y o u r   c o n t a i n e r   r u n t i m e )   h a v e   s h u t   d o w n .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/provision-swap-memory/",
    "id": "k8s_00109_section_4_1768"
  },
  {
    "question": "What is Set up kubelet configuration?",
    "answer": "A f t e r   e n a b l i n g   s w a p   o n   t h e   n o d e ,   k u b e l e t   n e e d s   t o   b e   c o n f i g u r e d   t o   u s e   i t .   Y o u   n e e d   t o   s e l e c t   a   s w a p   b e h a v i o r   f o r   t h i s   n o d e .   Y o u ' l l   c o n f i g u r e   L i m i t e d S w a p   b e h a v i o r   f o r   t h i s   t u t o r i a l .   F i n d   a n d   e d i t   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e ,   a n d :   s e t   f a i l S w a p O n   t o   f a l s e s e t   m e m o r y S w a p . s w a p B e h a v i o r   t o   L i m i t e d S w a p   #   t h i s   f r a g m e n t   g o e s   i n t o   t h e   k u b e l e t ' s   c o n f i g u r a t i o n   f i l e   f a i l S w a p O n :   f a l s e   m e m o r y S w a p :   s w a p B e h a v i o r :   L i m i t e d S w a p   I n   o r d e r   f o r   t h e s e   c o n f i g u r a t i o n s   t o   t a k e   e f f e c t ,   k u b e l e t   n e e d s   t o   b e   r e s t a r t e d .   T y p i c a l l y   y o u   d o   t h a t   b y   r u n n i n g :   s y s t e m c t l   r e s t a r t   k u b e l e t . s e r v i c e   Y o u   s h o u l d   f i n d   t h a t   t h e   k u b e l e t   i s   n o w   h e a l t h y ,   a n d   t h a t   y o u   c a n   r u n   P o d s   t h a t   u s e   s w a p   m e m o r y   a s   n e e d e d .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/provision-swap-memory/",
    "id": "k8s_00109_section_3_1769"
  },
  {
    "question": "What is Changing The Kubernetes Package Repository?",
    "answer": "Changing The Kubernetes Package RepositoryThis page explains how to enable a package repository for the desired Kubernetes minor release upon upgrading a cluster. This is only needed for users of the community-owned package repositories hosted at pkgs.k8s.io. Unlike the legacy package repositories, the community-owned package repositories are structured in a way that there's a dedicated package repository for each Kubernetes minor version.Note:This guide only covers a part of the Kubernetes upgrade process. Please see the upgrade guide for more information about upgrading Kubernetes clusters.Note:This step is only needed upon upgrading a cluster to another minor release. If you're upgrading to another patch release within the same minor release (e.g. v1.34.5 to v1.34.7), you don't need to follow this guide. However, if you're still using the legacy package repositories, you'll need to migrate to the new community-owned package repositories before upgrading (see the next section for more details on how to do this).Before you beginThis document assumes that you're already using the community-owned package repositories (pkgs.k8s.io). If that's not the case, it's strongly recommended to migrate to the community-owned package repositories as described in the official announcement.Note: The legacy package repositories (apt.kubernetes.io and yum.kubernetes.io) have been deprecated and frozen starting from September 13, 2023. Using the new package repositories hosted at pkgs.k8s.io is strongly recommended and required in order to install Kubernetes versions released after September 13, 2023. The deprecated legacy repositories, and their contents, might be removed at any time in the future and without a further notice period. The new package repositories provide downloads for Kubernetes versions starting with v1.24.0.Verifying if the Kubernetes package repositories are usedIf you're unsure whether you're using the community-owned package repositories or the legacy package repositories, take the following steps to verify:Print the contents of the file that defines the Kubernetes apt repository:# On your system, this configuration file could have a different name pager /etc/apt/sources.list.d/kubernetes.list If you see a line similar to:deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.33/deb/ / You're using the Kubernetes package repositories and this guide applies to you. Otherwise, it's strongly recommended to migrate to the Kubernetes package repositories as described in the official announcement.Print the contents of the file that defines the Kubernetes yum repository:# On your system, this configuration file could have a different name cat /etc/yum.repos.d/kubernetes.repo If you see a baseurl similar to the baseurl in the output below:[kubernetes] name=Kubernetes baseurl=https://pkgs.k8s.io/core:/stable:/v1.33/rpm/ enabled=1 gpgcheck=1 gpgkey=https://pkgs.k8s.io/core:/stable:/v1.33/rpm/repodata/repomd.xm",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/change-package-repository/",
    "id": "k8s_00110_qa_1770"
  },
  {
    "question": "How does Changing The Kubernetes Package Repository work?",
    "answer": "Changing The Kubernetes Package RepositoryThis page explains how to enable a package repository for the desired Kubernetes minor release upon upgrading a cluster. This is only needed for users of the community-owned package repositories hosted at pkgs.k8s.io. Unlike the legacy package repositories, the community-owned package repositories are structured in a way that there's a dedicated package repository for each Kubernetes minor version.Note:This guide only covers a part of the Kubernetes upgrade process. Please see the upgrade guide for more information about upgrading Kubernetes clusters.Note:This step is only needed upon upgrading a cluster to another minor release. If you're upgrading to another patch release within the same minor release (e.g. v1.34.5 to v1.34.7), you don't need to follow this guide. However, if you're still using the legacy package repositories, you'll need to migrate to the new community-owned package repositories before upgrading (see the next section for more details on how to do this).Before you beginThis document assumes that you're already using the community-owned package repositories (pkgs.k8s.io). If that's not the case, it's strongly recommended to migrate to the community-owned package repositories as described in the official announcement.Note: The legacy package repositories (apt.kubernetes.io and yum.kubernetes.io) have been deprecated and frozen starting from September 13, 2023. Using the new package repositories hosted at pkgs.k8s.io is strongly recommended and required in order to install Kubernetes versions released after September 13, 2023. The deprecated legacy repositories, and their contents, might be removed at any time in the future and without a further notice period. The new package repositories provide downloads for Kubernetes versions starting with v1.24.0.Verifying if the Kubernetes package repositories are usedIf you're unsure whether you're using the community-owned package repositories or the legacy package repositories, take the following steps to verify:Print the contents of the file that defines the Kubernetes apt repository:# On your system, this configuration file could have a different name pager /etc/apt/sources.list.d/kubernetes.list If you see a line similar to:deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.33/deb/ / You're using the Kubernetes package repositories and this guide applies to you. Otherwise, it's strongly recommended to migrate to the Kubernetes package repositories as described in the official announcement.Print the contents of the file that defines the Kubernetes yum repository:# On your system, this configuration file could have a different name cat /etc/yum.repos.d/kubernetes.repo If you see a baseurl similar to the baseurl in the output below:[kubernetes] name=Kubernetes baseurl=https://pkgs.k8s.io/core:/stable:/v1.33/rpm/ enabled=1 gpgcheck=1 gpgkey=https://pkgs.k8s.io/core:/stable:/v1.33/rpm/repodata/repomd.xm",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/change-package-repository/",
    "id": "k8s_00110_qa_1771"
  },
  {
    "question": "When would you use Changing The Kubernetes Package Repository?",
    "answer": "Changing The Kubernetes Package RepositoryThis page explains how to enable a package repository for the desired Kubernetes minor release upon upgrading a cluster. This is only needed for users of the community-owned package repositories hosted at pkgs.k8s.io. Unlike the legacy package repositories, the community-owned package repositories are structured in a way that there's a dedicated package repository for each Kubernetes minor version.Note:This guide only covers a part of the Kubernetes upgrade process. Please see the upgrade guide for more information about upgrading Kubernetes clusters.Note:This step is only needed upon upgrading a cluster to another minor release. If you're upgrading to another patch release within the same minor release (e.g. v1.34.5 to v1.34.7), you don't need to follow this guide. However, if you're still using the legacy package repositories, you'll need to migrate to the new community-owned package repositories before upgrading (see the next section for more details on how to do this).Before you beginThis document assumes that you're already using the community-owned package repositories (pkgs.k8s.io). If that's not the case, it's strongly recommended to migrate to the community-owned package repositories as described in the official announcement.Note: The legacy package repositories (apt.kubernetes.io and yum.kubernetes.io) have been deprecated and frozen starting from September 13, 2023. Using the new package repositories hosted at pkgs.k8s.io is strongly recommended and required in order to install Kubernetes versions released after September 13, 2023. The deprecated legacy repositories, and their contents, might be removed at any time in the future and without a further notice period. The new package repositories provide downloads for Kubernetes versions starting with v1.24.0.Verifying if the Kubernetes package repositories are usedIf you're unsure whether you're using the community-owned package repositories or the legacy package repositories, take the following steps to verify:Print the contents of the file that defines the Kubernetes apt repository:# On your system, this configuration file could have a different name pager /etc/apt/sources.list.d/kubernetes.list If you see a line similar to:deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.33/deb/ / You're using the Kubernetes package repositories and this guide applies to you. Otherwise, it's strongly recommended to migrate to the Kubernetes package repositories as described in the official announcement.Print the contents of the file that defines the Kubernetes yum repository:# On your system, this configuration file could have a different name cat /etc/yum.repos.d/kubernetes.repo If you see a baseurl similar to the baseurl in the output below:[kubernetes] name=Kubernetes baseurl=https://pkgs.k8s.io/core:/stable:/v1.33/rpm/ enabled=1 gpgcheck=1 gpgkey=https://pkgs.k8s.io/core:/stable:/v1.33/rpm/repodata/repomd.xm",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/change-package-repository/",
    "id": "k8s_00110_qa_1772"
  },
  {
    "question": "What are the benefits of Changing The Kubernetes Package Repository?",
    "answer": "Changing The Kubernetes Package RepositoryThis page explains how to enable a package repository for the desired Kubernetes minor release upon upgrading a cluster. This is only needed for users of the community-owned package repositories hosted at pkgs.k8s.io. Unlike the legacy package repositories, the community-owned package repositories are structured in a way that there's a dedicated package repository for each Kubernetes minor version.Note:This guide only covers a part of the Kubernetes upgrade process. Please see the upgrade guide for more information about upgrading Kubernetes clusters.Note:This step is only needed upon upgrading a cluster to another minor release. If you're upgrading to another patch release within the same minor release (e.g. v1.34.5 to v1.34.7), you don't need to follow this guide. However, if you're still using the legacy package repositories, you'll need to migrate to the new community-owned package repositories before upgrading (see the next section for more details on how to do this).Before you beginThis document assumes that you're already using the community-owned package repositories (pkgs.k8s.io). If that's not the case, it's strongly recommended to migrate to the community-owned package repositories as described in the official announcement.Note: The legacy package repositories (apt.kubernetes.io and yum.kubernetes.io) have been deprecated and frozen starting from September 13, 2023. Using the new package repositories hosted at pkgs.k8s.io is strongly recommended and required in order to install Kubernetes versions released after September 13, 2023. The deprecated legacy repositories, and their contents, might be removed at any time in the future and without a further notice period. The new package repositories provide downloads for Kubernetes versions starting with v1.24.0.Verifying if the Kubernetes package repositories are usedIf you're unsure whether you're using the community-owned package repositories or the legacy package repositories, take the following steps to verify:Print the contents of the file that defines the Kubernetes apt repository:# On your system, this configuration file could have a different name pager /etc/apt/sources.list.d/kubernetes.list If you see a line similar to:deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.33/deb/ / You're using the Kubernetes package repositories and this guide applies to you. Otherwise, it's strongly recommended to migrate to the Kubernetes package repositories as described in the official announcement.Print the contents of the file that defines the Kubernetes yum repository:# On your system, this configuration file could have a different name cat /etc/yum.repos.d/kubernetes.repo If you see a baseurl similar to the baseurl in the output below:[kubernetes] name=Kubernetes baseurl=https://pkgs.k8s.io/core:/stable:/v1.33/rpm/ enabled=1 gpgcheck=1 gpgkey=https://pkgs.k8s.io/core:/stable:/v1.33/rpm/repodata/repomd.xm",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/change-package-repository/",
    "id": "k8s_00110_qa_1773"
  },
  {
    "question": "What is Changing The Kubernetes Package Repository?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   t o   e n a b l e   a   p a c k a g e   r e p o s i t o r y   f o r   t h e   d e s i r e d   K u b e r n e t e s   m i n o r   r e l e a s e   u p o n   u p g r a d i n g   a   c l u s t e r .   T h i s   i s   o n l y   n e e d e d   f o r   u s e r s   o f   t h e   c o m m u n i t y - o w n e d   p a c k a g e   r e p o s i t o r i e s   h o s t e d   a t   p k g s . k 8 s . i o .   U n l i k e   t h e   l e g a c y   p a c k a g e   r e p o s i t o r i e s ,   t h e   c o m m u n i t y - o w n e d   p a c k a g e   r e p o s i t o r i e s   a r e   s t r u c t u r e d   i n   a   w a y   t h a t   t h e r e ' s   a   d e d i c a t e d   p a c k a g e   r e p o s i t o r y   f o r   e a c h   K u b e r n e t e s   m i n o r   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/change-package-repository/",
    "id": "k8s_00110_section_1_1774"
  },
  {
    "question": "What is Before you begin?",
    "answer": "T h i s   d o c u m e n t   a s s u m e s   t h a t   y o u ' r e   a l r e a d y   u s i n g   t h e   c o m m u n i t y - o w n e d   p a c k a g e   r e p o s i t o r i e s   ( p k g s . k 8 s . i o ) .   I f   t h a t ' s   n o t   t h e   c a s e ,   i t ' s   s t r o n g l y   r e c o m m e n d e d   t o   m i g r a t e   t o   t h e   c o m m u n i t y - o w n e d   p a c k a g e   r e p o s i t o r i e s   a s   d e s c r i b e d   i n   t h e   o f f i c i a l   a n n o u n c e m e n t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/change-package-repository/",
    "id": "k8s_00110_section_2_1775"
  },
  {
    "question": "What is Verifying if the Kubernetes package repositories are used?",
    "answer": "I f   y o u ' r e   u n s u r e   w h e t h e r   y o u ' r e   u s i n g   t h e   c o m m u n i t y - o w n e d   p a c k a g e   r e p o s i t o r i e s   o r   t h e   l e g a c y   p a c k a g e   r e p o s i t o r i e s ,   t a k e   t h e   f o l l o w i n g   s t e p s   t o   v e r i f y :   P r i n t   t h e   c o n t e n t s   o f   t h e   f i l e   t h a t   d e f i n e s   t h e   K u b e r n e t e s   a p t   r e p o s i t o r y : #   O n   y o u r   s y s t e m ,   t h i s   c o n f i g u r a t i o n   f i l e   c o u l d   h a v e   a   d i f f e r e n t   n a m e   p a g e r   / e t c / a p t / s o u r c e s . l i s t . d / k u b e r n e t e s . l i s t   I f   y o u   s e e   a   l i n e   s i m i l a r   t o : d e b   [ s i g n e d - b y = / e t c / a p t / k e y r i n g s / k u b e r n e t e s - a p t - k e y r i n g . g p g ]   h t t p s : / / p k g s . k 8 s . i o / c o r e : / s t a b l e : / v 1 . 3 3 / d e b /   /   Y o u ' r e   u s i n g   t h e   K u b e r n e t e s   p a c k a g e   r e p o s i t o r i e s   a n d   t h i s   g u i d e   a p p l i e s   t o   y o u .   O t h e r w i s e ,   i t ' s   s t r o n g l y   r e c o m m e n d e d   t o   m i g r a t e   t o   t h e   K u b e r n e t e s   p a c k a g e   r e p o s i t o r i e s   a s   d e s c r i b e d   i n   t h e   o f f i c i a l   a n n o u n c e m e n t .   P r i n t   t h e   c o n t e n t s   o f   t h e   f i l e   t h a t   d e f i n e s   t h e   K u b e r n e t e s   a p t   r e p o s i t o r y :   #   O n   y o u r   s y s t e m ,   t h i s   c o n f i g u r a t i o n   f i l e   c o u l d   h a v e   a   d i f f e r e n t   n a m e   p a g e r   / e t c / a p t / s o u r c e s . l i s t . d / k u b e r n e t e s . l i s t   I f   y o u   s e e   a   l i n e   s i m i l a r   t o :   d e b   [ s i g n e d - b y = / e t c / a p t / k e y r i n g s / k u b e r n e t e s - a p t - k e y r i n g . g p g ]   h t t p s : / / p k g s . k 8 s . i o / c o r e : / s t a b ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/change-package-repository/",
    "id": "k8s_00110_section_3_1776"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   U R L   u s e d   f o r   t h e   K u b e r n e t e s   p a c k a g e   r e p o s i t o r i e s   i s   n o t   l i m i t e d   t o   p k g s . k 8 s . i o ,   i t   c a n   a l s o   b e   o n e   o f :   p k g s . k 8 s . i o p k g s . k u b e r n e t e s . i o p a c k a g e s . k u b e r n e t e s . i o",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/change-package-repository/",
    "id": "k8s_00110_section_4_1777"
  },
  {
    "question": "What is Switching to another Kubernetes package repository?",
    "answer": "T h i s   s t e p   s h o u l d   b e   d o n e   u p o n   u p g r a d i n g   f r o m   o n e   t o   a n o t h e r   K u b e r n e t e s   m i n o r   r e l e a s e   i n   o r d e r   t o   g e t   a c c e s s   t o   t h e   p a c k a g e s   o f   t h e   d e s i r e d   K u b e r n e t e s   m i n o r   v e r s i o n .   O p e n   t h e   f i l e   t h a t   d e f i n e s   t h e   K u b e r n e t e s   a p t   r e p o s i t o r y   u s i n g   a   t e x t   e d i t o r   o f   y o u r   c h o i c e : n a n o   / e t c / a p t / s o u r c e s . l i s t . d / k u b e r n e t e s . l i s t   Y o u   s h o u l d   s e e   a   s i n g l e   l i n e   w i t h   t h e   U R L   t h a t   c o n t a i n s   y o u r   c u r r e n t   K u b e r n e t e s   m i n o r   v e r s i o n .   F o r   e x a m p l e ,   i f   y o u ' r e   u s i n g   v 1 . 3 3 ,   y o u   s h o u l d   s e e   t h i s : d e b   [ s i g n e d - b y = / e t c / a p t / k e y r i n g s / k u b e r n e t e s - a p t - k e y r i n g . g p g ]   h t t p s : / / p k g s . k 8 s . i o / c o r e : / s t a b l e : / v 1 . 3 3 / d e b /   /   C h a n g e   t h e   v e r s i o n   i n   t h e   U R L   t o   t h e   n e x t   a v a i l a b l e   m i n o r   r e l e a s e ,   f o r   e x a m p l e : d e b   [ s i g n e d - b y = / e t c / a p t / k e y r i n g s / k u b e r n e t e s - a p t - k e y r i n g . g p g ]   h t t p s : / / p k g s . k 8 s . i o / c o r e : / s t a b l e : / v 1 . 3 4 / d e b /   /   S a v e   t h e   f i l e   a n d   e x i t   y o u r   t e x t   e d i t o r .   C o n t i n u e   f o l l o w i n g   t h e   r e l e v a n t   u p g r a d e   i n s t r u c t i o n s .   O p e n   t h e   f i l e   t h a t   d e f i n e s   t h e   K u b e r n e t e s   a p t   r e p o s i t o r y   u s i n g   a   t e x t   e d i t o r   o f   y o u r   c h o i c e : n a n o   / e t c / a p t / s o u r c e s . l i s t . d / k u b e r n e t e s . l i s t   Y o u   s h o u l d   s e e   a   s i n ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/change-package-repository/",
    "id": "k8s_00110_section_2_1778"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   h o w   t o   U p g r a d e   L i n u x   n o d e s . S e e   h o w   t o   U p g r a d e   W i n d o w s   n o d e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/change-package-repository/",
    "id": "k8s_00110_section_2_1779"
  },
  {
    "question": "What is Resource metrics pipeline?",
    "answer": "Resource metrics pipelineFor Kubernetes, the Metrics API offers a basic set of metrics to support automatic scaling and similar use cases. This API makes information available about resource usage for node and pod, including metrics for CPU and memory. If you deploy the Metrics API into your cluster, clients of the Kubernetes API can then query for this information, and you can use Kubernetes' access control mechanisms to manage permissions to do so.The HorizontalPodAutoscaler (HPA) and VerticalPodAutoscaler (VPA) use data from the metrics API to adjust workload replicas and resources to meet customer demand.You can also view the resource metrics using the kubectl top command.Note:The Metrics API, and the metrics pipeline that it enables, only offers the minimum CPU and memory metrics to enable automatic scaling using HPA and / or VPA. If you would like to provide a more complete set of metrics, you can complement the simpler Metrics API by deploying a second metrics pipeline that uses the Custom Metrics API.Figure 1 illustrates the architecture of the resource metrics pipeline.flowchart RL subgraph cluster[Cluster] direction RL S[] A[Metrics-Server] subgraph B[Nodes] direction TB D[cAdvisor] --> C[kubelet] E[Containerruntime] --> D E1[Containerruntime] --> D P[pod data] -.- C end L[APIserver] W[HPA] C ---->|node levelresource metrics| A -->|metricsAPI| L --> W end L ---> K[kubectltop] classDef box fill:#fff,stroke:#000,stroke-width:1px,color:#000; class W,B,P,K,cluster,D,E,E1 box classDef spacewhite fill:#ffffff,stroke:#fff,stroke-width:0px,color:#000 class S spacewhite classDef k8s fill:#326ce5,stroke:#fff,stroke-width:1px,color:#fff; class A,L,C k8sJavaScript must be enabled to view this contentFigure 1. Resource Metrics PipelineThe architecture components, from right to left in the figure, consist of the following:cAdvisor: Daemon for collecting, aggregating and exposing container metrics included in Kubelet.kubelet: Node agent for managing container resources. Resource metrics are accessible using the /metrics/resource and /stats kubelet API endpoints.node level resource metrics: API provided by the kubelet for discovering and retrieving per-node summarized stats available through the /metrics/resource endpoint.metrics-server: Cluster addon component that collects and aggregates resource metrics pulled from each kubelet. The API server serves Metrics API for use by HPA, VPA, and by the kubectl top command. Metrics Server is a reference implementation of the Metrics API.Metrics API: Kubernetes API supporting access to CPU and memory used for workload autoscaling. To make this work in your cluster, you need an API extension server that provides the Metrics API.Note:cAdvisor supports reading metrics from cgroups, which works with typical container runtimes on Linux. If you use a container runtime that uses another resource isolation mechanism, for example virtualization, then that container runtime must support CRI Container Metrics in order fo",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/resource-metrics-pipeline/",
    "id": "k8s_00111_qa_1780"
  },
  {
    "question": "How does Resource metrics pipeline work?",
    "answer": "Resource metrics pipelineFor Kubernetes, the Metrics API offers a basic set of metrics to support automatic scaling and similar use cases. This API makes information available about resource usage for node and pod, including metrics for CPU and memory. If you deploy the Metrics API into your cluster, clients of the Kubernetes API can then query for this information, and you can use Kubernetes' access control mechanisms to manage permissions to do so.The HorizontalPodAutoscaler (HPA) and VerticalPodAutoscaler (VPA) use data from the metrics API to adjust workload replicas and resources to meet customer demand.You can also view the resource metrics using the kubectl top command.Note:The Metrics API, and the metrics pipeline that it enables, only offers the minimum CPU and memory metrics to enable automatic scaling using HPA and / or VPA. If you would like to provide a more complete set of metrics, you can complement the simpler Metrics API by deploying a second metrics pipeline that uses the Custom Metrics API.Figure 1 illustrates the architecture of the resource metrics pipeline.flowchart RL subgraph cluster[Cluster] direction RL S[] A[Metrics-Server] subgraph B[Nodes] direction TB D[cAdvisor] --> C[kubelet] E[Containerruntime] --> D E1[Containerruntime] --> D P[pod data] -.- C end L[APIserver] W[HPA] C ---->|node levelresource metrics| A -->|metricsAPI| L --> W end L ---> K[kubectltop] classDef box fill:#fff,stroke:#000,stroke-width:1px,color:#000; class W,B,P,K,cluster,D,E,E1 box classDef spacewhite fill:#ffffff,stroke:#fff,stroke-width:0px,color:#000 class S spacewhite classDef k8s fill:#326ce5,stroke:#fff,stroke-width:1px,color:#fff; class A,L,C k8sJavaScript must be enabled to view this contentFigure 1. Resource Metrics PipelineThe architecture components, from right to left in the figure, consist of the following:cAdvisor: Daemon for collecting, aggregating and exposing container metrics included in Kubelet.kubelet: Node agent for managing container resources. Resource metrics are accessible using the /metrics/resource and /stats kubelet API endpoints.node level resource metrics: API provided by the kubelet for discovering and retrieving per-node summarized stats available through the /metrics/resource endpoint.metrics-server: Cluster addon component that collects and aggregates resource metrics pulled from each kubelet. The API server serves Metrics API for use by HPA, VPA, and by the kubectl top command. Metrics Server is a reference implementation of the Metrics API.Metrics API: Kubernetes API supporting access to CPU and memory used for workload autoscaling. To make this work in your cluster, you need an API extension server that provides the Metrics API.Note:cAdvisor supports reading metrics from cgroups, which works with typical container runtimes on Linux. If you use a container runtime that uses another resource isolation mechanism, for example virtualization, then that container runtime must support CRI Container Metrics in order fo",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/resource-metrics-pipeline/",
    "id": "k8s_00111_qa_1781"
  },
  {
    "question": "When would you use Resource metrics pipeline?",
    "answer": "Resource metrics pipelineFor Kubernetes, the Metrics API offers a basic set of metrics to support automatic scaling and similar use cases. This API makes information available about resource usage for node and pod, including metrics for CPU and memory. If you deploy the Metrics API into your cluster, clients of the Kubernetes API can then query for this information, and you can use Kubernetes' access control mechanisms to manage permissions to do so.The HorizontalPodAutoscaler (HPA) and VerticalPodAutoscaler (VPA) use data from the metrics API to adjust workload replicas and resources to meet customer demand.You can also view the resource metrics using the kubectl top command.Note:The Metrics API, and the metrics pipeline that it enables, only offers the minimum CPU and memory metrics to enable automatic scaling using HPA and / or VPA. If you would like to provide a more complete set of metrics, you can complement the simpler Metrics API by deploying a second metrics pipeline that uses the Custom Metrics API.Figure 1 illustrates the architecture of the resource metrics pipeline.flowchart RL subgraph cluster[Cluster] direction RL S[] A[Metrics-Server] subgraph B[Nodes] direction TB D[cAdvisor] --> C[kubelet] E[Containerruntime] --> D E1[Containerruntime] --> D P[pod data] -.- C end L[APIserver] W[HPA] C ---->|node levelresource metrics| A -->|metricsAPI| L --> W end L ---> K[kubectltop] classDef box fill:#fff,stroke:#000,stroke-width:1px,color:#000; class W,B,P,K,cluster,D,E,E1 box classDef spacewhite fill:#ffffff,stroke:#fff,stroke-width:0px,color:#000 class S spacewhite classDef k8s fill:#326ce5,stroke:#fff,stroke-width:1px,color:#fff; class A,L,C k8sJavaScript must be enabled to view this contentFigure 1. Resource Metrics PipelineThe architecture components, from right to left in the figure, consist of the following:cAdvisor: Daemon for collecting, aggregating and exposing container metrics included in Kubelet.kubelet: Node agent for managing container resources. Resource metrics are accessible using the /metrics/resource and /stats kubelet API endpoints.node level resource metrics: API provided by the kubelet for discovering and retrieving per-node summarized stats available through the /metrics/resource endpoint.metrics-server: Cluster addon component that collects and aggregates resource metrics pulled from each kubelet. The API server serves Metrics API for use by HPA, VPA, and by the kubectl top command. Metrics Server is a reference implementation of the Metrics API.Metrics API: Kubernetes API supporting access to CPU and memory used for workload autoscaling. To make this work in your cluster, you need an API extension server that provides the Metrics API.Note:cAdvisor supports reading metrics from cgroups, which works with typical container runtimes on Linux. If you use a container runtime that uses another resource isolation mechanism, for example virtualization, then that container runtime must support CRI Container Metrics in order fo",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/resource-metrics-pipeline/",
    "id": "k8s_00111_qa_1782"
  },
  {
    "question": "What are the benefits of Resource metrics pipeline?",
    "answer": "Resource metrics pipelineFor Kubernetes, the Metrics API offers a basic set of metrics to support automatic scaling and similar use cases. This API makes information available about resource usage for node and pod, including metrics for CPU and memory. If you deploy the Metrics API into your cluster, clients of the Kubernetes API can then query for this information, and you can use Kubernetes' access control mechanisms to manage permissions to do so.The HorizontalPodAutoscaler (HPA) and VerticalPodAutoscaler (VPA) use data from the metrics API to adjust workload replicas and resources to meet customer demand.You can also view the resource metrics using the kubectl top command.Note:The Metrics API, and the metrics pipeline that it enables, only offers the minimum CPU and memory metrics to enable automatic scaling using HPA and / or VPA. If you would like to provide a more complete set of metrics, you can complement the simpler Metrics API by deploying a second metrics pipeline that uses the Custom Metrics API.Figure 1 illustrates the architecture of the resource metrics pipeline.flowchart RL subgraph cluster[Cluster] direction RL S[] A[Metrics-Server] subgraph B[Nodes] direction TB D[cAdvisor] --> C[kubelet] E[Containerruntime] --> D E1[Containerruntime] --> D P[pod data] -.- C end L[APIserver] W[HPA] C ---->|node levelresource metrics| A -->|metricsAPI| L --> W end L ---> K[kubectltop] classDef box fill:#fff,stroke:#000,stroke-width:1px,color:#000; class W,B,P,K,cluster,D,E,E1 box classDef spacewhite fill:#ffffff,stroke:#fff,stroke-width:0px,color:#000 class S spacewhite classDef k8s fill:#326ce5,stroke:#fff,stroke-width:1px,color:#fff; class A,L,C k8sJavaScript must be enabled to view this contentFigure 1. Resource Metrics PipelineThe architecture components, from right to left in the figure, consist of the following:cAdvisor: Daemon for collecting, aggregating and exposing container metrics included in Kubelet.kubelet: Node agent for managing container resources. Resource metrics are accessible using the /metrics/resource and /stats kubelet API endpoints.node level resource metrics: API provided by the kubelet for discovering and retrieving per-node summarized stats available through the /metrics/resource endpoint.metrics-server: Cluster addon component that collects and aggregates resource metrics pulled from each kubelet. The API server serves Metrics API for use by HPA, VPA, and by the kubectl top command. Metrics Server is a reference implementation of the Metrics API.Metrics API: Kubernetes API supporting access to CPU and memory used for workload autoscaling. To make this work in your cluster, you need an API extension server that provides the Metrics API.Note:cAdvisor supports reading metrics from cgroups, which works with typical container runtimes on Linux. If you use a container runtime that uses another resource isolation mechanism, for example virtualization, then that container runtime must support CRI Container Metrics in order fo",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/resource-metrics-pipeline/",
    "id": "k8s_00111_qa_1783"
  },
  {
    "question": "What is Resource metrics pipeline?",
    "answer": "F o r   K u b e r n e t e s ,   t h e   M e t r i c s   A P I   o f f e r s   a   b a s i c   s e t   o f   m e t r i c s   t o   s u p p o r t   a u t o m a t i c   s c a l i n g   a n d   s i m i l a r   u s e   c a s e s .   T h i s   A P I   m a k e s   i n f o r m a t i o n   a v a i l a b l e   a b o u t   r e s o u r c e   u s a g e   f o r   n o d e   a n d   p o d ,   i n c l u d i n g   m e t r i c s   f o r   C P U   a n d   m e m o r y .   I f   y o u   d e p l o y   t h e   M e t r i c s   A P I   i n t o   y o u r   c l u s t e r ,   c l i e n t s   o f   t h e   K u b e r n e t e s   A P I   c a n   t h e n   q u e r y   f o r   t h i s   i n f o r m a t i o n ,   a n d   y o u   c a n   u s e   K u b e r n e t e s '   a c c e s s   c o n t r o l   m e c h a n i s m s   t o   m a n a g e   p e r m i s s i o n s   t o   d o   s o .   T h e   H o r i z o n t a l P o d A u t o s c a l e r   ( H P A )   a n d   V e r t i c a l P o d A u t o s c a l e r   ( V P A )   u s e   d a t a   f r o m   t h e   m e t r i c s   A P I   t o   a d j u s t   w o r k l o a d   r e p l i c a s   a n d   r e s o u r c e s   t o   m e e t   c u s t o m e r   d e m a n d .   Y o u   c a n   a l s o   v i e w   t h e   r e s o u r c e   m e t r i c s   u s i n g   t h e   k u b e c t l   t o p   c o m m a n d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/resource-metrics-pipeline/",
    "id": "k8s_00111_section_1_1784"
  },
  {
    "question": "What is Note:?",
    "answer": "F i g u r e   1   i l l u s t r a t e s   t h e   a r c h i t e c t u r e   o f   t h e   r e s o u r c e   m e t r i c s   p i p e l i n e .   F i g u r e   1 .   R e s o u r c e   M e t r i c s   P i p e l i n e   T h e   a r c h i t e c t u r e   c o m p o n e n t s ,   f r o m   r i g h t   t o   l e f t   i n   t h e   f i g u r e ,   c o n s i s t   o f   t h e   f o l l o w i n g :   c A d v i s o r :   D a e m o n   f o r   c o l l e c t i n g ,   a g g r e g a t i n g   a n d   e x p o s i n g   c o n t a i n e r   m e t r i c s   i n c l u d e d   i n   K u b e l e t . k u b e l e t :   N o d e   a g e n t   f o r   m a n a g i n g   c o n t a i n e r   r e s o u r c e s .   R e s o u r c e   m e t r i c s   a r e   a c c e s s i b l e   u s i n g   t h e   / m e t r i c s / r e s o u r c e   a n d   / s t a t s   k u b e l e t   A P I   e n d p o i n t s . n o d e   l e v e l   r e s o u r c e   m e t r i c s :   A P I   p r o v i d e d   b y   t h e   k u b e l e t   f o r   d i s c o v e r i n g   a n d   r e t r i e v i n g   p e r - n o d e   s u m m a r i z e d   s t a t s   a v a i l a b l e   t h r o u g h   t h e   / m e t r i c s / r e s o u r c e   e n d p o i n t . m e t r i c s - s e r v e r :   C l u s t e r   a d d o n   c o m p o n e n t   t h a t   c o l l e c t s   a n d   a g g r e g a t e s   r e s o u r c e   m e t r i c s   p u l l e d   f r o m   e a c h   k u b e l e t .   T h e   A P I   s e r v e r   s e r v e s   M e t r i c s   A P I   f o r   u s e   b y   H P A ,   V P A ,   a n d   b y   t h e   k u b e c t l   t o p   c o m m a n d .   M e t r i c s   S e r v e r   i s   a   r e f e r e n c e   i m p l e m e n t a t i o n   o f   t h e   M e t r i c s   A P I . M e t r i c s   A P I :   K u b e r n e t e s   A P I   s u p p o r t i n g   a c c e s s   t o   C P U   a n d   m e m o r y   u s e d   f o r   w o r k l o a d   a u t o s c a l i n g .   T o   m a k e   t h i s   w o r k   i n   y o u r   c l u s t e r ,   y o u   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/resource-metrics-pipeline/",
    "id": "k8s_00111_section_4_1785"
  },
  {
    "question": "What is Metrics API?",
    "answer": "T h e   m e t r i c s - s e r v e r   i m p l e m e n t s   t h e   M e t r i c s   A P I .   T h i s   A P I   a l l o w s   y o u   t o   a c c e s s   C P U   a n d   m e m o r y   u s a g e   f o r   t h e   n o d e s   a n d   p o d s   i n   y o u r   c l u s t e r .   I t s   p r i m a r y   r o l e   i s   t o   f e e d   r e s o u r c e   u s a g e   m e t r i c s   t o   K 8 s   a u t o s c a l e r   c o m p o n e n t s .   H e r e   i s   a n   e x a m p l e   o f   t h e   M e t r i c s   A P I   r e q u e s t   f o r   a   m i n i k u b e   n o d e   p i p e d   t h r o u g h   j q   f o r   e a s i e r   r e a d i n g :   k u b e c t l   g e t   - - r a w   \" / a p i s / m e t r i c s . k 8 s . i o / v 1 b e t a 1 / n o d e s / m i n i k u b e \"   |   j q   ' . '   H e r e   i s   t h e   s a m e   A P I   c a l l   u s i n g   c u r l :   c u r l   h t t p : / / l o c a l h o s t : 8 0 8 0 / a p i s / m e t r i c s . k 8 s . i o / v 1 b e t a 1 / n o d e s / m i n i k u b e   S a m p l e   r e s p o n s e :   {   \" k i n d \" :   \" N o d e M e t r i c s \" ,   \" a p i V e r s i o n \" :   \" m e t r i c s . k 8 s . i o / v 1 b e t a 1 \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" m i n i k u b e \" ,   \" s e l f L i n k \" :   \" / a p i s / m e t r i c s . k 8 s . i o / v 1 b e t a 1 / n o d e s / m i n i k u b e \" ,   \" c r e a t i o n T i m e s t a m p \" :   \" 2 0 2 2 - 0 1 - 2 7 T 1 8 : 4 8 : 4 3 Z \"   } ,   \" t i m e s t a m p \" :   \" 2 0 2 2 - 0 1 - 2 7 T 1 8 : 4 8 : 3 3 Z \" ,   \" w i n d o w \" :   \" 3 0 s \" ,   \" u s a g e \" :   {   \" c p u \" :   \" 4 8 7 5 5 8 1 6 4 n \" ,   \" m e m o r y \" :   \" 7 3 2 2 1 2 K i \"   }   }   H e r e   i s   a n   e x a m p l e   o f   t h e   M e t r i c s   A P I   r e q u e s t   f o r   a   k u b e - s c h e d u l e r - m i n i k u b e   p o d   c o n t a i n e d   i n   t h e   k u b e - s y s t e m   n a m e s p a c e   a n d   p i p e d   t h r o u g h   j q   f o r   e a s i e r   r e a d i n g :   k u b e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/resource-metrics-pipeline/",
    "id": "k8s_00111_section_2_1786"
  },
  {
    "question": "What is CPU?",
    "answer": "C P U   i s   r e p o r t e d   a s   t h e   a v e r a g e   c o r e   u s a g e   m e a s u r e d   i n   c p u   u n i t s .   O n e   c p u ,   i n   K u b e r n e t e s ,   i s   e q u i v a l e n t   t o   1   v C P U / C o r e   f o r   c l o u d   p r o v i d e r s ,   a n d   1   h y p e r - t h r e a d   o n   b a r e - m e t a l   I n t e l   p r o c e s s o r s .   T h i s   v a l u e   i s   d e r i v e d   b y   t a k i n g   a   r a t e   o v e r   a   c u m u l a t i v e   C P U   c o u n t e r   p r o v i d e d   b y   t h e   k e r n e l   ( i n   b o t h   L i n u x   a n d   W i n d o w s   k e r n e l s ) .   T h e   t i m e   w i n d o w   u s e d   t o   c a l c u l a t e   C P U   i s   s h o w n   u n d e r   w i n d o w   f i e l d   i n   M e t r i c s   A P I .   T o   l e a r n   m o r e   a b o u t   h o w   K u b e r n e t e s   a l l o c a t e s   a n d   m e a s u r e s   C P U   r e s o u r c e s ,   s e e   m e a n i n g   o f   C P U .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/resource-metrics-pipeline/",
    "id": "k8s_00111_section_3_1787"
  },
  {
    "question": "What is Memory?",
    "answer": "M e m o r y   i s   r e p o r t e d   a s   t h e   w o r k i n g   s e t ,   m e a s u r e d   i n   b y t e s ,   a t   t h e   i n s t a n t   t h e   m e t r i c   w a s   c o l l e c t e d .   I n   a n   i d e a l   w o r l d ,   t h e   \" w o r k i n g   s e t \"   i s   t h e   a m o u n t   o f   m e m o r y   i n - u s e   t h a t   c a n n o t   b e   f r e e d   u n d e r   m e m o r y   p r e s s u r e .   H o w e v e r ,   c a l c u l a t i o n   o f   t h e   w o r k i n g   s e t   v a r i e s   b y   h o s t   O S ,   a n d   g e n e r a l l y   m a k e s   h e a v y   u s e   o f   h e u r i s t i c s   t o   p r o d u c e   a n   e s t i m a t e .   T h e   K u b e r n e t e s   m o d e l   f o r   a   c o n t a i n e r ' s   w o r k i n g   s e t   e x p e c t s   t h a t   t h e   c o n t a i n e r   r u n t i m e   c o u n t s   a n o n y m o u s   m e m o r y   a s s o c i a t e d   w i t h   t h e   c o n t a i n e r   i n   q u e s t i o n .   T h e   w o r k i n g   s e t   m e t r i c   t y p i c a l l y   a l s o   i n c l u d e s   s o m e   c a c h e d   ( f i l e - b a c k e d )   m e m o r y ,   b e c a u s e   t h e   h o s t   O S   c a n n o t   a l w a y s   r e c l a i m   p a g e s .   T o   l e a r n   m o r e   a b o u t   h o w   K u b e r n e t e s   a l l o c a t e s   a n d   m e a s u r e s   m e m o r y   r e s o u r c e s ,   s e e   m e a n i n g   o f   m e m o r y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/resource-metrics-pipeline/",
    "id": "k8s_00111_section_3_1788"
  },
  {
    "question": "What is Metrics Server?",
    "answer": "T h e   m e t r i c s - s e r v e r   f e t c h e s   r e s o u r c e   m e t r i c s   f r o m   t h e   k u b e l e t s   a n d   e x p o s e s   t h e m   i n   t h e   K u b e r n e t e s   A P I   s e r v e r   t h r o u g h   t h e   M e t r i c s   A P I   f o r   u s e   b y   t h e   H P A   a n d   V P A .   Y o u   c a n   a l s o   v i e w   t h e s e   m e t r i c s   u s i n g   t h e   k u b e c t l   t o p   c o m m a n d .   T h e   m e t r i c s - s e r v e r   u s e s   t h e   K u b e r n e t e s   A P I   t o   t r a c k   n o d e s   a n d   p o d s   i n   y o u r   c l u s t e r .   T h e   m e t r i c s - s e r v e r   q u e r i e s   e a c h   n o d e   o v e r   H T T P   t o   f e t c h   m e t r i c s .   T h e   m e t r i c s - s e r v e r   a l s o   b u i l d s   a n   i n t e r n a l   v i e w   o f   p o d   m e t a d a t a ,   a n d   k e e p s   a   c a c h e   o f   p o d   h e a l t h .   T h a t   c a c h e d   p o d   h e a l t h   i n f o r m a t i o n   i s   a v a i l a b l e   v i a   t h e   e x t e n s i o n   A P I   t h a t   t h e   m e t r i c s - s e r v e r   m a k e s   a v a i l a b l e .   F o r   e x a m p l e   w i t h   a n   H P A   q u e r y ,   t h e   m e t r i c s - s e r v e r   n e e d s   t o   i d e n t i f y   w h i c h   p o d s   f u l f i l l   t h e   l a b e l   s e l e c t o r s   i n   t h e   d e p l o y m e n t .   T h e   m e t r i c s - s e r v e r   c a l l s   t h e   k u b e l e t   A P I   t o   c o l l e c t   m e t r i c s   f r o m   e a c h   n o d e .   D e p e n d i n g   o n   t h e   m e t r i c s - s e r v e r   v e r s i o n   i t   u s e s :   M e t r i c s   r e s o u r c e   e n d p o i n t   / m e t r i c s / r e s o u r c e   i n   v e r s i o n   v 0 . 6 . 0 +   o r S u m m a r y   A P I   e n d p o i n t   / s t a t s / s u m m a r y   i n   o l d e r   v e r s i o n s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/resource-metrics-pipeline/",
    "id": "k8s_00111_section_2_1789"
  },
  {
    "question": "What is What's next?",
    "answer": "T o   l e a r n   m o r e   a b o u t   t h e   m e t r i c s - s e r v e r ,   s e e   t h e   m e t r i c s - s e r v e r   r e p o s i t o r y .   Y o u   c a n   a l s o   c h e c k   o u t   t h e   f o l l o w i n g :   m e t r i c s - s e r v e r   d e s i g n m e t r i c s - s e r v e r   F A Q m e t r i c s - s e r v e r   k n o w n   i s s u e s m e t r i c s - s e r v e r   r e l e a s e s H o r i z o n t a l   P o d   A u t o s c a l i n g   T o   l e a r n   a b o u t   h o w   t h e   k u b e l e t   s e r v e s   n o d e   m e t r i c s ,   a n d   h o w   y o u   c a n   a c c e s s   t h o s e   v i a   t h e   K u b e r n e t e s   A P I ,   r e a d   N o d e   M e t r i c s   D a t a .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/resource-metrics-pipeline/",
    "id": "k8s_00111_section_2_1790"
  },
  {
    "question": "What is kubectl create service loadbalancer?",
    "answer": "kubectl create service loadbalancerSynopsisCreate a LoadBalancer service with the specified name.kubectl create service loadbalancer NAME [--tcp=port:targetPort] [--dry-run=server|client|none] Examples # Create a new LoadBalancer service named my-lbs kubectl create service loadbalancer my-lbs --tcp=5678:8080 Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for loadbalancer-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--tcp stringsPort pairs can be specified as '<port>:<targetPort>'.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out o",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_loadbalancer/",
    "id": "k8s_00112_qa_1791"
  },
  {
    "question": "How does kubectl create service loadbalancer work?",
    "answer": "kubectl create service loadbalancerSynopsisCreate a LoadBalancer service with the specified name.kubectl create service loadbalancer NAME [--tcp=port:targetPort] [--dry-run=server|client|none] Examples # Create a new LoadBalancer service named my-lbs kubectl create service loadbalancer my-lbs --tcp=5678:8080 Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for loadbalancer-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--tcp stringsPort pairs can be specified as '<port>:<targetPort>'.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out o",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_loadbalancer/",
    "id": "k8s_00112_qa_1792"
  },
  {
    "question": "When would you use kubectl create service loadbalancer?",
    "answer": "kubectl create service loadbalancerSynopsisCreate a LoadBalancer service with the specified name.kubectl create service loadbalancer NAME [--tcp=port:targetPort] [--dry-run=server|client|none] Examples # Create a new LoadBalancer service named my-lbs kubectl create service loadbalancer my-lbs --tcp=5678:8080 Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for loadbalancer-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--tcp stringsPort pairs can be specified as '<port>:<targetPort>'.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out o",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_loadbalancer/",
    "id": "k8s_00112_qa_1793"
  },
  {
    "question": "What are the benefits of kubectl create service loadbalancer?",
    "answer": "kubectl create service loadbalancerSynopsisCreate a LoadBalancer service with the specified name.kubectl create service loadbalancer NAME [--tcp=port:targetPort] [--dry-run=server|client|none] Examples # Create a new LoadBalancer service named my-lbs kubectl create service loadbalancer my-lbs --tcp=5678:8080 Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for loadbalancer-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--tcp stringsPort pairs can be specified as '<port>:<targetPort>'.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out o",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_loadbalancer/",
    "id": "k8s_00112_qa_1794"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   L o a d B a l a n c e r   s e r v i c e   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   s e r v i c e   l o a d b a l a n c e r   N A M E   [ - - t c p = p o r t : t a r g e t P o r t ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_loadbalancer/",
    "id": "k8s_00112_section_2_1795"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   L o a d B a l a n c e r   s e r v i c e   n a m e d   m y - l b s   k u b e c t l   c r e a t e   s e r v i c e   l o a d b a l a n c e r   m y - l b s   - - t c p = 5 6 7 8 : 8 0 8 0",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_loadbalancer/",
    "id": "k8s_00112_section_2_1796"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   l o a d b a l a n c e r   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   P o r t   p a i r s   c a n   b e   s p e c i f i e d   a s   ' < p o r t > : < t a r g e t P o r t > ' .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_loadbalancer/",
    "id": "k8s_00112_section_2_1797"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_loadbalancer/",
    "id": "k8s_00112_section_2_1798"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   s e r v i c e   -   C r e a t e   a   s e r v i c e   u s i n g   a   s p e c i f i e d   s u b c o m m a n d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_loadbalancer/",
    "id": "k8s_00112_section_2_1799"
  },
  {
    "question": "What is Compatibility Version For Kubernetes Control Plane Components?",
    "answer": "Compatibility Version For Kubernetes Control Plane ComponentsSince release v1.32, we introduced configurable version compatibility and emulation options to Kubernetes control plane components to make upgrades safer by providing more control and increasing the granularity of steps available to cluster administrators.Emulated VersionThe emulation option is set by the --emulated-version flag of control plane components. It allows the component to emulate the behavior (APIs, features, ...) of an earlier version of Kubernetes.When used, the capabilities available will match the emulated version:Any capabilities present in the binary version that were introduced after the emulation version will be unavailable.Any capabilities removed after the emulation version will be available.This enables a binary from a particular Kubernetes release to emulate the behavior of a previous version with sufficient fidelity that interoperability with other system components can be defined in terms of the emulated version.The --emulated-version must be <= binaryVersion. See the help message of the --emulated-version flag for supported range of emulated versions.",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/compatibility-version/",
    "id": "k8s_00113_qa_1800"
  },
  {
    "question": "How does Compatibility Version For Kubernetes Control Plane Components work?",
    "answer": "Compatibility Version For Kubernetes Control Plane ComponentsSince release v1.32, we introduced configurable version compatibility and emulation options to Kubernetes control plane components to make upgrades safer by providing more control and increasing the granularity of steps available to cluster administrators.Emulated VersionThe emulation option is set by the --emulated-version flag of control plane components. It allows the component to emulate the behavior (APIs, features, ...) of an earlier version of Kubernetes.When used, the capabilities available will match the emulated version:Any capabilities present in the binary version that were introduced after the emulation version will be unavailable.Any capabilities removed after the emulation version will be available.This enables a binary from a particular Kubernetes release to emulate the behavior of a previous version with sufficient fidelity that interoperability with other system components can be defined in terms of the emulated version.The --emulated-version must be <= binaryVersion. See the help message of the --emulated-version flag for supported range of emulated versions.",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/compatibility-version/",
    "id": "k8s_00113_qa_1801"
  },
  {
    "question": "When would you use Compatibility Version For Kubernetes Control Plane Components?",
    "answer": "Compatibility Version For Kubernetes Control Plane ComponentsSince release v1.32, we introduced configurable version compatibility and emulation options to Kubernetes control plane components to make upgrades safer by providing more control and increasing the granularity of steps available to cluster administrators.Emulated VersionThe emulation option is set by the --emulated-version flag of control plane components. It allows the component to emulate the behavior (APIs, features, ...) of an earlier version of Kubernetes.When used, the capabilities available will match the emulated version:Any capabilities present in the binary version that were introduced after the emulation version will be unavailable.Any capabilities removed after the emulation version will be available.This enables a binary from a particular Kubernetes release to emulate the behavior of a previous version with sufficient fidelity that interoperability with other system components can be defined in terms of the emulated version.The --emulated-version must be <= binaryVersion. See the help message of the --emulated-version flag for supported range of emulated versions.",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/compatibility-version/",
    "id": "k8s_00113_qa_1802"
  },
  {
    "question": "What are the benefits of Compatibility Version For Kubernetes Control Plane Components?",
    "answer": "Compatibility Version For Kubernetes Control Plane ComponentsSince release v1.32, we introduced configurable version compatibility and emulation options to Kubernetes control plane components to make upgrades safer by providing more control and increasing the granularity of steps available to cluster administrators.Emulated VersionThe emulation option is set by the --emulated-version flag of control plane components. It allows the component to emulate the behavior (APIs, features, ...) of an earlier version of Kubernetes.When used, the capabilities available will match the emulated version:Any capabilities present in the binary version that were introduced after the emulation version will be unavailable.Any capabilities removed after the emulation version will be available.This enables a binary from a particular Kubernetes release to emulate the behavior of a previous version with sufficient fidelity that interoperability with other system components can be defined in terms of the emulated version.The --emulated-version must be <= binaryVersion. See the help message of the --emulated-version flag for supported range of emulated versions.",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/compatibility-version/",
    "id": "k8s_00113_qa_1803"
  },
  {
    "question": "What is Compatibility Version For Kubernetes Control Plane Components?",
    "answer": "S i n c e   r e l e a s e   v 1 . 3 2 ,   w e   i n t r o d u c e d   c o n f i g u r a b l e   v e r s i o n   c o m p a t i b i l i t y   a n d   e m u l a t i o n   o p t i o n s   t o   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t s   t o   m a k e   u p g r a d e s   s a f e r   b y   p r o v i d i n g   m o r e   c o n t r o l   a n d   i n c r e a s i n g   t h e   g r a n u l a r i t y   o f   s t e p s   a v a i l a b l e   t o   c l u s t e r   a d m i n i s t r a t o r s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/compatibility-version/",
    "id": "k8s_00113_section_1_1804"
  },
  {
    "question": "What is Emulated Version?",
    "answer": "T h e   e m u l a t i o n   o p t i o n   i s   s e t   b y   t h e   - - e m u l a t e d - v e r s i o n   f l a g   o f   c o n t r o l   p l a n e   c o m p o n e n t s .   I t   a l l o w s   t h e   c o m p o n e n t   t o   e m u l a t e   t h e   b e h a v i o r   ( A P I s ,   f e a t u r e s ,   . . . )   o f   a n   e a r l i e r   v e r s i o n   o f   K u b e r n e t e s .   W h e n   u s e d ,   t h e   c a p a b i l i t i e s   a v a i l a b l e   w i l l   m a t c h   t h e   e m u l a t e d   v e r s i o n :   A n y   c a p a b i l i t i e s   p r e s e n t   i n   t h e   b i n a r y   v e r s i o n   t h a t   w e r e   i n t r o d u c e d   a f t e r   t h e   e m u l a t i o n   v e r s i o n   w i l l   b e   u n a v a i l a b l e . A n y   c a p a b i l i t i e s   r e m o v e d   a f t e r   t h e   e m u l a t i o n   v e r s i o n   w i l l   b e   a v a i l a b l e .   T h i s   e n a b l e s   a   b i n a r y   f r o m   a   p a r t i c u l a r   K u b e r n e t e s   r e l e a s e   t o   e m u l a t e   t h e   b e h a v i o r   o f   a   p r e v i o u s   v e r s i o n   w i t h   s u f f i c i e n t   f i d e l i t y   t h a t   i n t e r o p e r a b i l i t y   w i t h   o t h e r   s y s t e m   c o m p o n e n t s   c a n   b e   d e f i n e d   i n   t e r m s   o f   t h e   e m u l a t e d   v e r s i o n .   T h e   - - e m u l a t e d - v e r s i o n   m u s t   b e   < =   b i n a r y V e r s i o n .   S e e   t h e   h e l p   m e s s a g e   o f   t h e   - - e m u l a t e d - v e r s i o n   f l a g   f o r   s u p p o r t e d   r a n g e   o f   e m u l a t e d   v e r s i o n s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/compatibility-version/",
    "id": "k8s_00113_section_2_1805"
  },
  {
    "question": "What is Configure Pod Initialization?",
    "answer": "Configure Pod InitializationThis page shows how to use an Init Container to initialize a Pod before an application Container runs.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Create a Pod that has an Init ContainerIn this exercise you create a Pod that has one application Container and one Init Container. The init container runs to completion before the application container starts.Here is the configuration file for the Pod:pods/init-containers.yaml apiVersion: v1 kind: Pod metadata: name: init-demo spec: containers: - name: nginx image: nginx ports: - containerPort: 80 volumeMounts: - name: workdir mountPath: /usr/share/nginx/html # These containers are run during pod initialization initContainers: - name: install image: busybox:1.28 command: - wget - \"-O\" - \"/work-dir/index.html\" - http://info.cern.ch volumeMounts: - name: workdir mountPath: \"/work-dir\" dnsPolicy: Default volumes: - name: workdir emptyDir: {} In the configuration file, you can see that the Pod has a Volume that the init container and the application container share.The init container mounts the shared Volume at /work-dir, and the application container mounts the shared Volume at /usr/share/nginx/html. The init container runs the following command and then terminates:wget -O /work-dir/index.html http://info.cern.ch Notice that the init container writes the index.html file in the root directory of the nginx server.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/init-containers.yaml Verify that the nginx container is running:kubectl get pod init-demo The output shows that the nginx container is running:NAME READY STATUS RESTARTS AGE init-demo 1/1 Running 0 1m Get a shell into the nginx container running in the init-demo Pod:kubectl exec -it init-demo -- /bin/bash In your shell, send a GET request to the nginx server:root@nginx:~# apt-get update root@nginx:~# apt-get install curl root@nginx:~# curl localhost The output shows that nginx is serving the web page that was written by the init container:<html><head></head><body><header> <title>http://info.cern.ch</title> </header> <h1>http://info.cern.ch - home of the first website</h1> ... <li><a href=\"http://info.cern.ch/hypertext/WWW/TheProject.html\">Browse the first website</a></li> ... What's nextLearn more about communicating between Containers running in the same Pod.Learn more about Init Containers.Learn more about Volumes.Learn more about Debugging Init Containers",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-initialization/",
    "id": "k8s_00114_qa_1806"
  },
  {
    "question": "How does Configure Pod Initialization work?",
    "answer": "Configure Pod InitializationThis page shows how to use an Init Container to initialize a Pod before an application Container runs.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Create a Pod that has an Init ContainerIn this exercise you create a Pod that has one application Container and one Init Container. The init container runs to completion before the application container starts.Here is the configuration file for the Pod:pods/init-containers.yaml apiVersion: v1 kind: Pod metadata: name: init-demo spec: containers: - name: nginx image: nginx ports: - containerPort: 80 volumeMounts: - name: workdir mountPath: /usr/share/nginx/html # These containers are run during pod initialization initContainers: - name: install image: busybox:1.28 command: - wget - \"-O\" - \"/work-dir/index.html\" - http://info.cern.ch volumeMounts: - name: workdir mountPath: \"/work-dir\" dnsPolicy: Default volumes: - name: workdir emptyDir: {} In the configuration file, you can see that the Pod has a Volume that the init container and the application container share.The init container mounts the shared Volume at /work-dir, and the application container mounts the shared Volume at /usr/share/nginx/html. The init container runs the following command and then terminates:wget -O /work-dir/index.html http://info.cern.ch Notice that the init container writes the index.html file in the root directory of the nginx server.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/init-containers.yaml Verify that the nginx container is running:kubectl get pod init-demo The output shows that the nginx container is running:NAME READY STATUS RESTARTS AGE init-demo 1/1 Running 0 1m Get a shell into the nginx container running in the init-demo Pod:kubectl exec -it init-demo -- /bin/bash In your shell, send a GET request to the nginx server:root@nginx:~# apt-get update root@nginx:~# apt-get install curl root@nginx:~# curl localhost The output shows that nginx is serving the web page that was written by the init container:<html><head></head><body><header> <title>http://info.cern.ch</title> </header> <h1>http://info.cern.ch - home of the first website</h1> ... <li><a href=\"http://info.cern.ch/hypertext/WWW/TheProject.html\">Browse the first website</a></li> ... What's nextLearn more about communicating between Containers running in the same Pod.Learn more about Init Containers.Learn more about Volumes.Learn more about Debugging Init Containers",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-initialization/",
    "id": "k8s_00114_qa_1807"
  },
  {
    "question": "When would you use Configure Pod Initialization?",
    "answer": "Configure Pod InitializationThis page shows how to use an Init Container to initialize a Pod before an application Container runs.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Create a Pod that has an Init ContainerIn this exercise you create a Pod that has one application Container and one Init Container. The init container runs to completion before the application container starts.Here is the configuration file for the Pod:pods/init-containers.yaml apiVersion: v1 kind: Pod metadata: name: init-demo spec: containers: - name: nginx image: nginx ports: - containerPort: 80 volumeMounts: - name: workdir mountPath: /usr/share/nginx/html # These containers are run during pod initialization initContainers: - name: install image: busybox:1.28 command: - wget - \"-O\" - \"/work-dir/index.html\" - http://info.cern.ch volumeMounts: - name: workdir mountPath: \"/work-dir\" dnsPolicy: Default volumes: - name: workdir emptyDir: {} In the configuration file, you can see that the Pod has a Volume that the init container and the application container share.The init container mounts the shared Volume at /work-dir, and the application container mounts the shared Volume at /usr/share/nginx/html. The init container runs the following command and then terminates:wget -O /work-dir/index.html http://info.cern.ch Notice that the init container writes the index.html file in the root directory of the nginx server.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/init-containers.yaml Verify that the nginx container is running:kubectl get pod init-demo The output shows that the nginx container is running:NAME READY STATUS RESTARTS AGE init-demo 1/1 Running 0 1m Get a shell into the nginx container running in the init-demo Pod:kubectl exec -it init-demo -- /bin/bash In your shell, send a GET request to the nginx server:root@nginx:~# apt-get update root@nginx:~# apt-get install curl root@nginx:~# curl localhost The output shows that nginx is serving the web page that was written by the init container:<html><head></head><body><header> <title>http://info.cern.ch</title> </header> <h1>http://info.cern.ch - home of the first website</h1> ... <li><a href=\"http://info.cern.ch/hypertext/WWW/TheProject.html\">Browse the first website</a></li> ... What's nextLearn more about communicating between Containers running in the same Pod.Learn more about Init Containers.Learn more about Volumes.Learn more about Debugging Init Containers",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-initialization/",
    "id": "k8s_00114_qa_1808"
  },
  {
    "question": "What are the benefits of Configure Pod Initialization?",
    "answer": "Configure Pod InitializationThis page shows how to use an Init Container to initialize a Pod before an application Container runs.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Create a Pod that has an Init ContainerIn this exercise you create a Pod that has one application Container and one Init Container. The init container runs to completion before the application container starts.Here is the configuration file for the Pod:pods/init-containers.yaml apiVersion: v1 kind: Pod metadata: name: init-demo spec: containers: - name: nginx image: nginx ports: - containerPort: 80 volumeMounts: - name: workdir mountPath: /usr/share/nginx/html # These containers are run during pod initialization initContainers: - name: install image: busybox:1.28 command: - wget - \"-O\" - \"/work-dir/index.html\" - http://info.cern.ch volumeMounts: - name: workdir mountPath: \"/work-dir\" dnsPolicy: Default volumes: - name: workdir emptyDir: {} In the configuration file, you can see that the Pod has a Volume that the init container and the application container share.The init container mounts the shared Volume at /work-dir, and the application container mounts the shared Volume at /usr/share/nginx/html. The init container runs the following command and then terminates:wget -O /work-dir/index.html http://info.cern.ch Notice that the init container writes the index.html file in the root directory of the nginx server.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/init-containers.yaml Verify that the nginx container is running:kubectl get pod init-demo The output shows that the nginx container is running:NAME READY STATUS RESTARTS AGE init-demo 1/1 Running 0 1m Get a shell into the nginx container running in the init-demo Pod:kubectl exec -it init-demo -- /bin/bash In your shell, send a GET request to the nginx server:root@nginx:~# apt-get update root@nginx:~# apt-get install curl root@nginx:~# curl localhost The output shows that nginx is serving the web page that was written by the init container:<html><head></head><body><header> <title>http://info.cern.ch</title> </header> <h1>http://info.cern.ch - home of the first website</h1> ... <li><a href=\"http://info.cern.ch/hypertext/WWW/TheProject.html\">Browse the first website</a></li> ... What's nextLearn more about communicating between Containers running in the same Pod.Learn more about Init Containers.Learn more about Volumes.Learn more about Debugging Init Containers",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-initialization/",
    "id": "k8s_00114_qa_1809"
  },
  {
    "question": "What is Configure Pod Initialization?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   a n   I n i t   C o n t a i n e r   t o   i n i t i a l i z e   a   P o d   b e f o r e   a n   a p p l i c a t i o n   C o n t a i n e r   r u n s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-initialization/",
    "id": "k8s_00114_section_1_1810"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-initialization/",
    "id": "k8s_00114_section_2_1811"
  },
  {
    "question": "What is Create a Pod that has an Init Container?",
    "answer": "I n   t h i s   e x e r c i s e   y o u   c r e a t e   a   P o d   t h a t   h a s   o n e   a p p l i c a t i o n   C o n t a i n e r   a n d   o n e   I n i t   C o n t a i n e r .   T h e   i n i t   c o n t a i n e r   r u n s   t o   c o m p l e t i o n   b e f o r e   t h e   a p p l i c a t i o n   c o n t a i n e r   s t a r t s .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   i n i t - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   p o r t s :   -   c o n t a i n e r P o r t :   8 0   v o l u m e M o u n t s :   -   n a m e :   w o r k d i r   m o u n t P a t h :   / u s r / s h a r e / n g i n x / h t m l   #   T h e s e   c o n t a i n e r s   a r e   r u n   d u r i n g   p o d   i n i t i a l i z a t i o n   i n i t C o n t a i n e r s :   -   n a m e :   i n s t a l l   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   -   w g e t   -   \" - O \"   -   \" / w o r k - d i r / i n d e x . h t m l \"   -   h t t p : / / i n f o . c e r n . c h   v o l u m e M o u n t s :   -   n a m e :   w o r k d i r   m o u n t P a t h :   \" / w o r k - d i r \"   d n s P o l i c y :   D e f a u l t   v o l u m e s :   -   n a m e :   w o r k d i r   e m p t y D i r :   { }   I n   t h e   c o n f i g u r a t i o n   f i l e ,   y o u   c a n   s e e   t h a t   t h e   P o d   h a s   a   V o l u m e   t h a t   t h e   i n i t   c o n t a i n e r   a n d   t h e   a p p l i c a t i o n   c o n t a i n e r   s h a r e .   T h e   i n i t   c o n t a i n e r   m o u n t s   t h e   s h a r e d   V o l u m e   a t   / w o r k - d i r ,   a n d   t h e   a p p l i c a t i o n   c o n t a i n e r   m o u n t s   t h e   s h a r e d   V o l u m e   a t   / u s r / s h a r e / n g i n x / h t m l .   T h e   i n i t   c o n t a i n e r   r u n s   t h e   f o l l o w i n g   c o m m a n d   a n ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-initialization/",
    "id": "k8s_00114_section_2_1812"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   c o m m u n i c a t i n g   b e t w e e n   C o n t a i n e r s   r u n n i n g   i n   t h e   s a m e   P o d . L e a r n   m o r e   a b o u t   I n i t   C o n t a i n e r s . L e a r n   m o r e   a b o u t   V o l u m e s . L e a r n   m o r e   a b o u t   D e b u g g i n g   I n i t   C o n t a i n e r s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-initialization/",
    "id": "k8s_00114_section_2_1813"
  },
  {
    "question": "What is Enforce Pod Security Standards by Configuring the Built-in Admission Controller?",
    "answer": "Enforce Pod Security Standards by Configuring the Built-in Admission ControllerKubernetes provides a built-in admission controller to enforce the Pod Security Standards. You can configure this admission controller to set cluster-wide defaults and exemptions.Before you beginFollowing an alpha release in Kubernetes v1.22, Pod Security Admission became available by default in Kubernetes v1.23, as a beta. From version 1.25 onwards, Pod Security Admission is generally available.To check the version, enter kubectl version.If you are not running Kubernetes 1.34, you can switch to viewing this page in the documentation for the Kubernetes version that you are running.Configure the Admission ControllerNote:pod-security.admission.config.k8s.io/v1 configuration requires v1.25+. For v1.23 and v1.24, use v1beta1. For v1.22, use v1alpha1.apiVersion: apiserver.config.k8s.io/v1 kind: AdmissionConfiguration plugins: - name: PodSecurity configuration: apiVersion: pod-security.admission.config.k8s.io/v1 # see compatibility note kind: PodSecurityConfiguration # Defaults applied when a mode label is not set. # # Level label values must be one of: # - \"privileged\" (default) # - \"baseline\" # - \"restricted\" # # Version label values must be one of: # - \"latest\" (default) # - specific version like \"v1.34\" defaults: enforce: \"privileged\" enforce-version: \"latest\" audit: \"privileged\" audit-version: \"latest\" warn: \"privileged\" warn-version: \"latest\" exemptions: # Array of authenticated usernames to exempt. usernames: [] # Array of runtime class names to exempt. runtimeClasses: [] # Array of namespaces to exempt. namespaces: [] Note:The above manifest needs to be specified via the --admission-control-config-file to kube-apiserver.",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/enforce-standards-admission-controller/",
    "id": "k8s_00115_qa_1814"
  },
  {
    "question": "How does Enforce Pod Security Standards by Configuring the Built-in Admission Controller work?",
    "answer": "Enforce Pod Security Standards by Configuring the Built-in Admission ControllerKubernetes provides a built-in admission controller to enforce the Pod Security Standards. You can configure this admission controller to set cluster-wide defaults and exemptions.Before you beginFollowing an alpha release in Kubernetes v1.22, Pod Security Admission became available by default in Kubernetes v1.23, as a beta. From version 1.25 onwards, Pod Security Admission is generally available.To check the version, enter kubectl version.If you are not running Kubernetes 1.34, you can switch to viewing this page in the documentation for the Kubernetes version that you are running.Configure the Admission ControllerNote:pod-security.admission.config.k8s.io/v1 configuration requires v1.25+. For v1.23 and v1.24, use v1beta1. For v1.22, use v1alpha1.apiVersion: apiserver.config.k8s.io/v1 kind: AdmissionConfiguration plugins: - name: PodSecurity configuration: apiVersion: pod-security.admission.config.k8s.io/v1 # see compatibility note kind: PodSecurityConfiguration # Defaults applied when a mode label is not set. # # Level label values must be one of: # - \"privileged\" (default) # - \"baseline\" # - \"restricted\" # # Version label values must be one of: # - \"latest\" (default) # - specific version like \"v1.34\" defaults: enforce: \"privileged\" enforce-version: \"latest\" audit: \"privileged\" audit-version: \"latest\" warn: \"privileged\" warn-version: \"latest\" exemptions: # Array of authenticated usernames to exempt. usernames: [] # Array of runtime class names to exempt. runtimeClasses: [] # Array of namespaces to exempt. namespaces: [] Note:The above manifest needs to be specified via the --admission-control-config-file to kube-apiserver.",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/enforce-standards-admission-controller/",
    "id": "k8s_00115_qa_1815"
  },
  {
    "question": "When would you use Enforce Pod Security Standards by Configuring the Built-in Admission Controller?",
    "answer": "Enforce Pod Security Standards by Configuring the Built-in Admission ControllerKubernetes provides a built-in admission controller to enforce the Pod Security Standards. You can configure this admission controller to set cluster-wide defaults and exemptions.Before you beginFollowing an alpha release in Kubernetes v1.22, Pod Security Admission became available by default in Kubernetes v1.23, as a beta. From version 1.25 onwards, Pod Security Admission is generally available.To check the version, enter kubectl version.If you are not running Kubernetes 1.34, you can switch to viewing this page in the documentation for the Kubernetes version that you are running.Configure the Admission ControllerNote:pod-security.admission.config.k8s.io/v1 configuration requires v1.25+. For v1.23 and v1.24, use v1beta1. For v1.22, use v1alpha1.apiVersion: apiserver.config.k8s.io/v1 kind: AdmissionConfiguration plugins: - name: PodSecurity configuration: apiVersion: pod-security.admission.config.k8s.io/v1 # see compatibility note kind: PodSecurityConfiguration # Defaults applied when a mode label is not set. # # Level label values must be one of: # - \"privileged\" (default) # - \"baseline\" # - \"restricted\" # # Version label values must be one of: # - \"latest\" (default) # - specific version like \"v1.34\" defaults: enforce: \"privileged\" enforce-version: \"latest\" audit: \"privileged\" audit-version: \"latest\" warn: \"privileged\" warn-version: \"latest\" exemptions: # Array of authenticated usernames to exempt. usernames: [] # Array of runtime class names to exempt. runtimeClasses: [] # Array of namespaces to exempt. namespaces: [] Note:The above manifest needs to be specified via the --admission-control-config-file to kube-apiserver.",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/enforce-standards-admission-controller/",
    "id": "k8s_00115_qa_1816"
  },
  {
    "question": "What are the benefits of Enforce Pod Security Standards by Configuring the Built-in Admission Controller?",
    "answer": "Enforce Pod Security Standards by Configuring the Built-in Admission ControllerKubernetes provides a built-in admission controller to enforce the Pod Security Standards. You can configure this admission controller to set cluster-wide defaults and exemptions.Before you beginFollowing an alpha release in Kubernetes v1.22, Pod Security Admission became available by default in Kubernetes v1.23, as a beta. From version 1.25 onwards, Pod Security Admission is generally available.To check the version, enter kubectl version.If you are not running Kubernetes 1.34, you can switch to viewing this page in the documentation for the Kubernetes version that you are running.Configure the Admission ControllerNote:pod-security.admission.config.k8s.io/v1 configuration requires v1.25+. For v1.23 and v1.24, use v1beta1. For v1.22, use v1alpha1.apiVersion: apiserver.config.k8s.io/v1 kind: AdmissionConfiguration plugins: - name: PodSecurity configuration: apiVersion: pod-security.admission.config.k8s.io/v1 # see compatibility note kind: PodSecurityConfiguration # Defaults applied when a mode label is not set. # # Level label values must be one of: # - \"privileged\" (default) # - \"baseline\" # - \"restricted\" # # Version label values must be one of: # - \"latest\" (default) # - specific version like \"v1.34\" defaults: enforce: \"privileged\" enforce-version: \"latest\" audit: \"privileged\" audit-version: \"latest\" warn: \"privileged\" warn-version: \"latest\" exemptions: # Array of authenticated usernames to exempt. usernames: [] # Array of runtime class names to exempt. runtimeClasses: [] # Array of namespaces to exempt. namespaces: [] Note:The above manifest needs to be specified via the --admission-control-config-file to kube-apiserver.",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/enforce-standards-admission-controller/",
    "id": "k8s_00115_qa_1817"
  },
  {
    "question": "What is Enforce Pod Security Standards by Configuring the Built-in Admission Controller?",
    "answer": "K u b e r n e t e s   p r o v i d e s   a   b u i l t - i n   a d m i s s i o n   c o n t r o l l e r   t o   e n f o r c e   t h e   P o d   S e c u r i t y   S t a n d a r d s .   Y o u   c a n   c o n f i g u r e   t h i s   a d m i s s i o n   c o n t r o l l e r   t o   s e t   c l u s t e r - w i d e   d e f a u l t s   a n d   e x e m p t i o n s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/enforce-standards-admission-controller/",
    "id": "k8s_00115_section_1_1818"
  },
  {
    "question": "What is Before you begin?",
    "answer": "F o l l o w i n g   a n   a l p h a   r e l e a s e   i n   K u b e r n e t e s   v 1 . 2 2 ,   P o d   S e c u r i t y   A d m i s s i o n   b e c a m e   a v a i l a b l e   b y   d e f a u l t   i n   K u b e r n e t e s   v 1 . 2 3 ,   a s   a   b e t a .   F r o m   v e r s i o n   1 . 2 5   o n w a r d s ,   P o d   S e c u r i t y   A d m i s s i o n   i s   g e n e r a l l y   a v a i l a b l e .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   I f   y o u   a r e   n o t   r u n n i n g   K u b e r n e t e s   1 . 3 4 ,   y o u   c a n   s w i t c h   t o   v i e w i n g   t h i s   p a g e   i n   t h e   d o c u m e n t a t i o n   f o r   t h e   K u b e r n e t e s   v e r s i o n   t h a t   y o u   a r e   r u n n i n g .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/enforce-standards-admission-controller/",
    "id": "k8s_00115_section_2_1819"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   A d m i s s i o n C o n f i g u r a t i o n   p l u g i n s :   -   n a m e :   P o d S e c u r i t y   c o n f i g u r a t i o n :   a p i V e r s i o n :   p o d - s e c u r i t y . a d m i s s i o n . c o n f i g . k 8 s . i o / v 1   #   s e e   c o m p a t i b i l i t y   n o t e   k i n d :   P o d S e c u r i t y C o n f i g u r a t i o n   #   D e f a u l t s   a p p l i e d   w h e n   a   m o d e   l a b e l   i s   n o t   s e t .   #   #   L e v e l   l a b e l   v a l u e s   m u s t   b e   o n e   o f :   #   -   \" p r i v i l e g e d \"   ( d e f a u l t )   #   -   \" b a s e l i n e \"   #   -   \" r e s t r i c t e d \"   #   #   V e r s i o n   l a b e l   v a l u e s   m u s t   b e   o n e   o f :   #   -   \" l a t e s t \"   ( d e f a u l t )   #   -   s p e c i f i c   v e r s i o n   l i k e   \" v 1 . 3 4 \"   d e f a u l t s :   e n f o r c e :   \" p r i v i l e g e d \"   e n f o r c e - v e r s i o n :   \" l a t e s t \"   a u d i t :   \" p r i v i l e g e d \"   a u d i t - v e r s i o n :   \" l a t e s t \"   w a r n :   \" p r i v i l e g e d \"   w a r n - v e r s i o n :   \" l a t e s t \"   e x e m p t i o n s :   #   A r r a y   o f   a u t h e n t i c a t e d   u s e r n a m e s   t o   e x e m p t .   u s e r n a m e s :   [ ]   #   A r r a y   o f   r u n t i m e   c l a s s   n a m e s   t o   e x e m p t .   r u n t i m e C l a s s e s :   [ ]   #   A r r a y   o f   n a m e s p a c e s   t o   e x e m p t .   n a m e s p a c e s :   [ ]",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/enforce-standards-admission-controller/",
    "id": "k8s_00115_section_4_1820"
  },
  {
    "question": "What is ResourceClaimTemplate?",
    "answer": "ResourceClaimTemplateResourceClaimTemplate is used to produce ResourceClaim objects.apiVersion: resource.k8s.io/v1import \"k8s.io/api/resource/v1\"ResourceClaimTemplateResourceClaimTemplate is used to produce ResourceClaim objects.This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.apiVersion: resource.k8s.io/v1kind: ResourceClaimTemplatemetadata (ObjectMeta)Standard object metadataspec (ResourceClaimTemplateSpec), requiredDescribes the ResourceClaim that is to be generated.This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.ResourceClaimTemplateSpecResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.spec (ResourceClaimSpec), requiredSpec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here.metadata (ObjectMeta)ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation.ResourceClaimTemplateListResourceClaimTemplateList is a collection of claim templates.apiVersion: resource.k8s.io/v1kind: ResourceClaimTemplateListmetadata (ListMeta)Standard list metadataitems ([]ResourceClaimTemplate), requiredItems is the list of resource claim templates.Operationsget read the specified ResourceClaimTemplateHTTP RequestGET /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates/{name}Parametersname (in path): string, requiredname of the ResourceClaimTemplatenamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (ResourceClaimTemplate): OK401: Unauthorizedlist list or watch objects of kind ResourceClaimTemplateHTTP RequestGET /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplatesParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (ResourceClaimTemplateList): OK401: Unauthorizedlist list or watch objects of kind ResourceClaimTemplateHTTP RequestGET /apis/resource.k8s.io/v1/resourceclaimtemplatesParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringre",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_qa_1821"
  },
  {
    "question": "How does ResourceClaimTemplate work?",
    "answer": "ResourceClaimTemplateResourceClaimTemplate is used to produce ResourceClaim objects.apiVersion: resource.k8s.io/v1import \"k8s.io/api/resource/v1\"ResourceClaimTemplateResourceClaimTemplate is used to produce ResourceClaim objects.This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.apiVersion: resource.k8s.io/v1kind: ResourceClaimTemplatemetadata (ObjectMeta)Standard object metadataspec (ResourceClaimTemplateSpec), requiredDescribes the ResourceClaim that is to be generated.This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.ResourceClaimTemplateSpecResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.spec (ResourceClaimSpec), requiredSpec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here.metadata (ObjectMeta)ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation.ResourceClaimTemplateListResourceClaimTemplateList is a collection of claim templates.apiVersion: resource.k8s.io/v1kind: ResourceClaimTemplateListmetadata (ListMeta)Standard list metadataitems ([]ResourceClaimTemplate), requiredItems is the list of resource claim templates.Operationsget read the specified ResourceClaimTemplateHTTP RequestGET /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates/{name}Parametersname (in path): string, requiredname of the ResourceClaimTemplatenamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (ResourceClaimTemplate): OK401: Unauthorizedlist list or watch objects of kind ResourceClaimTemplateHTTP RequestGET /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplatesParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (ResourceClaimTemplateList): OK401: Unauthorizedlist list or watch objects of kind ResourceClaimTemplateHTTP RequestGET /apis/resource.k8s.io/v1/resourceclaimtemplatesParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringre",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_qa_1822"
  },
  {
    "question": "When would you use ResourceClaimTemplate?",
    "answer": "ResourceClaimTemplateResourceClaimTemplate is used to produce ResourceClaim objects.apiVersion: resource.k8s.io/v1import \"k8s.io/api/resource/v1\"ResourceClaimTemplateResourceClaimTemplate is used to produce ResourceClaim objects.This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.apiVersion: resource.k8s.io/v1kind: ResourceClaimTemplatemetadata (ObjectMeta)Standard object metadataspec (ResourceClaimTemplateSpec), requiredDescribes the ResourceClaim that is to be generated.This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.ResourceClaimTemplateSpecResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.spec (ResourceClaimSpec), requiredSpec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here.metadata (ObjectMeta)ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation.ResourceClaimTemplateListResourceClaimTemplateList is a collection of claim templates.apiVersion: resource.k8s.io/v1kind: ResourceClaimTemplateListmetadata (ListMeta)Standard list metadataitems ([]ResourceClaimTemplate), requiredItems is the list of resource claim templates.Operationsget read the specified ResourceClaimTemplateHTTP RequestGET /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates/{name}Parametersname (in path): string, requiredname of the ResourceClaimTemplatenamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (ResourceClaimTemplate): OK401: Unauthorizedlist list or watch objects of kind ResourceClaimTemplateHTTP RequestGET /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplatesParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (ResourceClaimTemplateList): OK401: Unauthorizedlist list or watch objects of kind ResourceClaimTemplateHTTP RequestGET /apis/resource.k8s.io/v1/resourceclaimtemplatesParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringre",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_qa_1823"
  },
  {
    "question": "What are the benefits of ResourceClaimTemplate?",
    "answer": "ResourceClaimTemplateResourceClaimTemplate is used to produce ResourceClaim objects.apiVersion: resource.k8s.io/v1import \"k8s.io/api/resource/v1\"ResourceClaimTemplateResourceClaimTemplate is used to produce ResourceClaim objects.This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.apiVersion: resource.k8s.io/v1kind: ResourceClaimTemplatemetadata (ObjectMeta)Standard object metadataspec (ResourceClaimTemplateSpec), requiredDescribes the ResourceClaim that is to be generated.This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.ResourceClaimTemplateSpecResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.spec (ResourceClaimSpec), requiredSpec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here.metadata (ObjectMeta)ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation.ResourceClaimTemplateListResourceClaimTemplateList is a collection of claim templates.apiVersion: resource.k8s.io/v1kind: ResourceClaimTemplateListmetadata (ListMeta)Standard list metadataitems ([]ResourceClaimTemplate), requiredItems is the list of resource claim templates.Operationsget read the specified ResourceClaimTemplateHTTP RequestGET /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates/{name}Parametersname (in path): string, requiredname of the ResourceClaimTemplatenamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (ResourceClaimTemplate): OK401: Unauthorizedlist list or watch objects of kind ResourceClaimTemplateHTTP RequestGET /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplatesParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (ResourceClaimTemplateList): OK401: Unauthorizedlist list or watch objects of kind ResourceClaimTemplateHTTP RequestGET /apis/resource.k8s.io/v1/resourceclaimtemplatesParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringre",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_qa_1824"
  },
  {
    "question": "What is ResourceClaimTemplate?",
    "answer": "a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / r e s o u r c e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_1_1825"
  },
  {
    "question": "What is ResourceClaimTemplate?",
    "answer": "R e s o u r c e C l a i m T e m p l a t e   i s   u s e d   t o   p r o d u c e   R e s o u r c e C l a i m   o b j e c t s .   T h i s   i s   a n   a l p h a   t y p e   a n d   r e q u i r e s   e n a b l i n g   t h e   D y n a m i c R e s o u r c e A l l o c a t i o n   f e a t u r e   g a t e .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 k i n d :   R e s o u r c e C l a i m T e m p l a t e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a s p e c   ( R e s o u r c e C l a i m T e m p l a t e S p e c ) ,   r e q u i r e d D e s c r i b e s   t h e   R e s o u r c e C l a i m   t h a t   i s   t o   b e   g e n e r a t e d . T h i s   f i e l d   i s   i m m u t a b l e .   A   R e s o u r c e C l a i m   w i l l   g e t   c r e a t e d   b y   t h e   c o n t r o l   p l a n e   f o r   a   P o d   w h e n   n e e d e d   a n d   t h e n   n o t   g e t   u p d a t e d   a n y m o r e .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   R e s o u r c e C l a i m T e m p l a t e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t   m e t a d a t a   s p e c   ( R e s o u r c e C l a i m T e m p l a t e S p e c ) ,   r e q u i r e d   D e s c r i b e s   t h e   R e s o u r c e C l a i m   t h a t   i s   t o   b e   g e n e r a t e d .   T h i s   f i e l d   i s   i m m u t a b l e .   A   R e s o u r c e C l a i m   w i l l   g e t   c r e a t e d   b y   t h e   c o n t r o l   p l a n e   f o r   a   P o d   w h e n   n e e d e d   a n d   t h e n   n o t   g e t   u p d a t e d   a n y m o r e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_2_1826"
  },
  {
    "question": "What is ResourceClaimTemplateSpec?",
    "answer": "R e s o u r c e C l a i m T e m p l a t e S p e c   c o n t a i n s   t h e   m e t a d a t a   a n d   f i e l d s   f o r   a   R e s o u r c e C l a i m .   s p e c   ( R e s o u r c e C l a i m S p e c ) ,   r e q u i r e d S p e c   f o r   t h e   R e s o u r c e C l a i m .   T h e   e n t i r e   c o n t e n t   i s   c o p i e d   u n c h a n g e d   i n t o   t h e   R e s o u r c e C l a i m   t h a t   g e t s   c r e a t e d   f r o m   t h i s   t e m p l a t e .   T h e   s a m e   f i e l d s   a s   i n   a   R e s o u r c e C l a i m   a r e   a l s o   v a l i d   h e r e . m e t a d a t a   ( O b j e c t M e t a ) O b j e c t M e t a   m a y   c o n t a i n   l a b e l s   a n d   a n n o t a t i o n s   t h a t   w i l l   b e   c o p i e d   i n t o   t h e   R e s o u r c e C l a i m   w h e n   c r e a t i n g   i t .   N o   o t h e r   f i e l d s   a r e   a l l o w e d   a n d   w i l l   b e   r e j e c t e d   d u r i n g   v a l i d a t i o n .   s p e c   ( R e s o u r c e C l a i m S p e c ) ,   r e q u i r e d   S p e c   f o r   t h e   R e s o u r c e C l a i m .   T h e   e n t i r e   c o n t e n t   i s   c o p i e d   u n c h a n g e d   i n t o   t h e   R e s o u r c e C l a i m   t h a t   g e t s   c r e a t e d   f r o m   t h i s   t e m p l a t e .   T h e   s a m e   f i e l d s   a s   i n   a   R e s o u r c e C l a i m   a r e   a l s o   v a l i d   h e r e .   m e t a d a t a   ( O b j e c t M e t a )   O b j e c t M e t a   m a y   c o n t a i n   l a b e l s   a n d   a n n o t a t i o n s   t h a t   w i l l   b e   c o p i e d   i n t o   t h e   R e s o u r c e C l a i m   w h e n   c r e a t i n g   i t .   N o   o t h e r   f i e l d s   a r e   a l l o w e d   a n d   w i l l   b e   r e j e c t e d   d u r i n g   v a l i d a t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_2_1827"
  },
  {
    "question": "What is ResourceClaimTemplateList?",
    "answer": "R e s o u r c e C l a i m T e m p l a t e L i s t   i s   a   c o l l e c t i o n   o f   c l a i m   t e m p l a t e s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 k i n d :   R e s o u r c e C l a i m T e m p l a t e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a i t e m s   ( [ ] R e s o u r c e C l a i m T e m p l a t e ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   r e s o u r c e   c l a i m   t e m p l a t e s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   R e s o u r c e C l a i m T e m p l a t e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   i t e m s   ( [ ] R e s o u r c e C l a i m T e m p l a t e ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   r e s o u r c e   c l a i m   t e m p l a t e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_2_1828"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_4_1829"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m T e m p l a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m T e m p l a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_4_1830"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m T e m p l a t e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_4_1831"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_4_1832"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_4_1833"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m T e m p l a t e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_4_1834"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_4_1835"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_4_1836"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m T e m p l a t e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_4_1837"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_4_1838"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e s o u r c e C l a i m T e m p l a t e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e s o u r c e C l a i m T e m p l a t e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_4_1839"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m T e m p l a t e ) :   O K   2 0 1   ( R e s o u r c e C l a i m T e m p l a t e ) :   C r e a t e d   2 0 2   ( R e s o u r c e C l a i m T e m p l a t e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_4_1840"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_4_1841"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m T e m p l a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e s o u r c e C l a i m T e m p l a t e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m T e m p l a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e s o u r c e C l a i m T e m p l a t e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_4_1842"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m T e m p l a t e ) :   O K   2 0 1   ( R e s o u r c e C l a i m T e m p l a t e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_4_1843"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_4_1844"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m T e m p l a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m T e m p l a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_4_1845"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m T e m p l a t e ) :   O K   2 0 1   ( R e s o u r c e C l a i m T e m p l a t e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_4_1846"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_4_1847"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m T e m p l a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m T e m p l a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_4_1848"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m T e m p l a t e ) :   O K   2 0 2   ( R e s o u r c e C l a i m T e m p l a t e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_4_1849"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_4_1850"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_4_1851"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-template-v1/",
    "id": "k8s_00116_section_4_1852"
  },
  {
    "question": "What is Projected Volumes?",
    "answer": "Projected VolumesThis document describes projected volumes in Kubernetes. Familiarity with volumes is suggested.IntroductionA projected volume maps several existing volume sources into the same directory.Currently, the following types of volume sources can be projected:secretdownwardAPIconfigMapserviceAccountTokenclusterTrustBundlepodCertificateAll sources are required to be in the same namespace as the Pod. For more details, see the all-in-one volume design document.Example configuration with a secret, a downwardAPI, and a configMappods/storage/projected-secret-downwardapi-configmap.yaml apiVersion: v1 kind: Pod metadata: name: volume-test spec: containers: - name: container-test image: busybox:1.28 command: [\"sleep\", \"3600\"] volumeMounts: - name: all-in-one mountPath: \"/projected-volume\" readOnly: true volumes: - name: all-in-one projected: sources: - secret: name: mysecret items: - key: username path: my-group/my-username - downwardAPI: items: - path: \"labels\" fieldRef: fieldPath: metadata.labels - path: \"cpu_limit\" resourceFieldRef: containerName: container-test resource: limits.cpu - configMap: name: myconfigmap items: - key: config path: my-group/my-config Example configuration: secrets with a non-default permission mode setpods/storage/projected-secrets-nondefault-permission-mode.yaml apiVersion: v1 kind: Pod metadata: name: volume-test spec: containers: - name: container-test image: busybox:1.28 command: [\"sleep\", \"3600\"] volumeMounts: - name: all-in-one mountPath: \"/projected-volume\" readOnly: true volumes: - name: all-in-one projected: sources: - secret: name: mysecret items: - key: username path: my-group/my-username - secret: name: mysecret2 items: - key: password path: my-group/my-password mode: 511 Each projected volume source is listed in the spec under sources. The parameters are nearly the same with two exceptions:For secrets, the secretName field has been changed to name to be consistent with ConfigMap naming.The defaultMode can only be specified at the projected level and not for each volume source. However, as illustrated above, you can explicitly set the mode for each individual projection.serviceAccountToken projected volumesYou can inject the token for the current service account into a Pod at a specified path. For example:pods/storage/projected-service-account-token.yaml apiVersion: v1 kind: Pod metadata: name: sa-token-test spec: containers: - name: container-test image: busybox:1.28 command: [\"sleep\", \"3600\"] volumeMounts: - name: token-vol mountPath: \"/service-account\" readOnly: true serviceAccountName: default volumes: - name: token-vol projected: sources: - serviceAccountToken: audience: api expirationSeconds: 3600 path: token The example Pod has a projected volume containing the injected service account token. Containers in this Pod can use that token to access the Kubernetes API server, authenticating with the identity of the pod's ServiceAccount. The audience field contains the intended audience of the token. A rec",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/projected-volumes/",
    "id": "k8s_00117_qa_1853"
  },
  {
    "question": "How does Projected Volumes work?",
    "answer": "Projected VolumesThis document describes projected volumes in Kubernetes. Familiarity with volumes is suggested.IntroductionA projected volume maps several existing volume sources into the same directory.Currently, the following types of volume sources can be projected:secretdownwardAPIconfigMapserviceAccountTokenclusterTrustBundlepodCertificateAll sources are required to be in the same namespace as the Pod. For more details, see the all-in-one volume design document.Example configuration with a secret, a downwardAPI, and a configMappods/storage/projected-secret-downwardapi-configmap.yaml apiVersion: v1 kind: Pod metadata: name: volume-test spec: containers: - name: container-test image: busybox:1.28 command: [\"sleep\", \"3600\"] volumeMounts: - name: all-in-one mountPath: \"/projected-volume\" readOnly: true volumes: - name: all-in-one projected: sources: - secret: name: mysecret items: - key: username path: my-group/my-username - downwardAPI: items: - path: \"labels\" fieldRef: fieldPath: metadata.labels - path: \"cpu_limit\" resourceFieldRef: containerName: container-test resource: limits.cpu - configMap: name: myconfigmap items: - key: config path: my-group/my-config Example configuration: secrets with a non-default permission mode setpods/storage/projected-secrets-nondefault-permission-mode.yaml apiVersion: v1 kind: Pod metadata: name: volume-test spec: containers: - name: container-test image: busybox:1.28 command: [\"sleep\", \"3600\"] volumeMounts: - name: all-in-one mountPath: \"/projected-volume\" readOnly: true volumes: - name: all-in-one projected: sources: - secret: name: mysecret items: - key: username path: my-group/my-username - secret: name: mysecret2 items: - key: password path: my-group/my-password mode: 511 Each projected volume source is listed in the spec under sources. The parameters are nearly the same with two exceptions:For secrets, the secretName field has been changed to name to be consistent with ConfigMap naming.The defaultMode can only be specified at the projected level and not for each volume source. However, as illustrated above, you can explicitly set the mode for each individual projection.serviceAccountToken projected volumesYou can inject the token for the current service account into a Pod at a specified path. For example:pods/storage/projected-service-account-token.yaml apiVersion: v1 kind: Pod metadata: name: sa-token-test spec: containers: - name: container-test image: busybox:1.28 command: [\"sleep\", \"3600\"] volumeMounts: - name: token-vol mountPath: \"/service-account\" readOnly: true serviceAccountName: default volumes: - name: token-vol projected: sources: - serviceAccountToken: audience: api expirationSeconds: 3600 path: token The example Pod has a projected volume containing the injected service account token. Containers in this Pod can use that token to access the Kubernetes API server, authenticating with the identity of the pod's ServiceAccount. The audience field contains the intended audience of the token. A rec",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/projected-volumes/",
    "id": "k8s_00117_qa_1854"
  },
  {
    "question": "When would you use Projected Volumes?",
    "answer": "Projected VolumesThis document describes projected volumes in Kubernetes. Familiarity with volumes is suggested.IntroductionA projected volume maps several existing volume sources into the same directory.Currently, the following types of volume sources can be projected:secretdownwardAPIconfigMapserviceAccountTokenclusterTrustBundlepodCertificateAll sources are required to be in the same namespace as the Pod. For more details, see the all-in-one volume design document.Example configuration with a secret, a downwardAPI, and a configMappods/storage/projected-secret-downwardapi-configmap.yaml apiVersion: v1 kind: Pod metadata: name: volume-test spec: containers: - name: container-test image: busybox:1.28 command: [\"sleep\", \"3600\"] volumeMounts: - name: all-in-one mountPath: \"/projected-volume\" readOnly: true volumes: - name: all-in-one projected: sources: - secret: name: mysecret items: - key: username path: my-group/my-username - downwardAPI: items: - path: \"labels\" fieldRef: fieldPath: metadata.labels - path: \"cpu_limit\" resourceFieldRef: containerName: container-test resource: limits.cpu - configMap: name: myconfigmap items: - key: config path: my-group/my-config Example configuration: secrets with a non-default permission mode setpods/storage/projected-secrets-nondefault-permission-mode.yaml apiVersion: v1 kind: Pod metadata: name: volume-test spec: containers: - name: container-test image: busybox:1.28 command: [\"sleep\", \"3600\"] volumeMounts: - name: all-in-one mountPath: \"/projected-volume\" readOnly: true volumes: - name: all-in-one projected: sources: - secret: name: mysecret items: - key: username path: my-group/my-username - secret: name: mysecret2 items: - key: password path: my-group/my-password mode: 511 Each projected volume source is listed in the spec under sources. The parameters are nearly the same with two exceptions:For secrets, the secretName field has been changed to name to be consistent with ConfigMap naming.The defaultMode can only be specified at the projected level and not for each volume source. However, as illustrated above, you can explicitly set the mode for each individual projection.serviceAccountToken projected volumesYou can inject the token for the current service account into a Pod at a specified path. For example:pods/storage/projected-service-account-token.yaml apiVersion: v1 kind: Pod metadata: name: sa-token-test spec: containers: - name: container-test image: busybox:1.28 command: [\"sleep\", \"3600\"] volumeMounts: - name: token-vol mountPath: \"/service-account\" readOnly: true serviceAccountName: default volumes: - name: token-vol projected: sources: - serviceAccountToken: audience: api expirationSeconds: 3600 path: token The example Pod has a projected volume containing the injected service account token. Containers in this Pod can use that token to access the Kubernetes API server, authenticating with the identity of the pod's ServiceAccount. The audience field contains the intended audience of the token. A rec",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/projected-volumes/",
    "id": "k8s_00117_qa_1855"
  },
  {
    "question": "What are the benefits of Projected Volumes?",
    "answer": "Projected VolumesThis document describes projected volumes in Kubernetes. Familiarity with volumes is suggested.IntroductionA projected volume maps several existing volume sources into the same directory.Currently, the following types of volume sources can be projected:secretdownwardAPIconfigMapserviceAccountTokenclusterTrustBundlepodCertificateAll sources are required to be in the same namespace as the Pod. For more details, see the all-in-one volume design document.Example configuration with a secret, a downwardAPI, and a configMappods/storage/projected-secret-downwardapi-configmap.yaml apiVersion: v1 kind: Pod metadata: name: volume-test spec: containers: - name: container-test image: busybox:1.28 command: [\"sleep\", \"3600\"] volumeMounts: - name: all-in-one mountPath: \"/projected-volume\" readOnly: true volumes: - name: all-in-one projected: sources: - secret: name: mysecret items: - key: username path: my-group/my-username - downwardAPI: items: - path: \"labels\" fieldRef: fieldPath: metadata.labels - path: \"cpu_limit\" resourceFieldRef: containerName: container-test resource: limits.cpu - configMap: name: myconfigmap items: - key: config path: my-group/my-config Example configuration: secrets with a non-default permission mode setpods/storage/projected-secrets-nondefault-permission-mode.yaml apiVersion: v1 kind: Pod metadata: name: volume-test spec: containers: - name: container-test image: busybox:1.28 command: [\"sleep\", \"3600\"] volumeMounts: - name: all-in-one mountPath: \"/projected-volume\" readOnly: true volumes: - name: all-in-one projected: sources: - secret: name: mysecret items: - key: username path: my-group/my-username - secret: name: mysecret2 items: - key: password path: my-group/my-password mode: 511 Each projected volume source is listed in the spec under sources. The parameters are nearly the same with two exceptions:For secrets, the secretName field has been changed to name to be consistent with ConfigMap naming.The defaultMode can only be specified at the projected level and not for each volume source. However, as illustrated above, you can explicitly set the mode for each individual projection.serviceAccountToken projected volumesYou can inject the token for the current service account into a Pod at a specified path. For example:pods/storage/projected-service-account-token.yaml apiVersion: v1 kind: Pod metadata: name: sa-token-test spec: containers: - name: container-test image: busybox:1.28 command: [\"sleep\", \"3600\"] volumeMounts: - name: token-vol mountPath: \"/service-account\" readOnly: true serviceAccountName: default volumes: - name: token-vol projected: sources: - serviceAccountToken: audience: api expirationSeconds: 3600 path: token The example Pod has a projected volume containing the injected service account token. Containers in this Pod can use that token to access the Kubernetes API server, authenticating with the identity of the pod's ServiceAccount. The audience field contains the intended audience of the token. A rec",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/projected-volumes/",
    "id": "k8s_00117_qa_1856"
  },
  {
    "question": "What is Projected Volumes?",
    "answer": "T h i s   d o c u m e n t   d e s c r i b e s   p r o j e c t e d   v o l u m e s   i n   K u b e r n e t e s .   F a m i l i a r i t y   w i t h   v o l u m e s   i s   s u g g e s t e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/projected-volumes/",
    "id": "k8s_00117_section_1_1857"
  },
  {
    "question": "What is Introduction?",
    "answer": "A   p r o j e c t e d   v o l u m e   m a p s   s e v e r a l   e x i s t i n g   v o l u m e   s o u r c e s   i n t o   t h e   s a m e   d i r e c t o r y .   C u r r e n t l y ,   t h e   f o l l o w i n g   t y p e s   o f   v o l u m e   s o u r c e s   c a n   b e   p r o j e c t e d :   s e c r e t d o w n w a r d A P I c o n f i g M a p s e r v i c e A c c o u n t T o k e n c l u s t e r T r u s t B u n d l e p o d C e r t i f i c a t e   A l l   s o u r c e s   a r e   r e q u i r e d   t o   b e   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   P o d .   F o r   m o r e   d e t a i l s ,   s e e   t h e   a l l - i n - o n e   v o l u m e   d e s i g n   d o c u m e n t .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/projected-volumes/",
    "id": "k8s_00117_section_2_1858"
  },
  {
    "question": "What is Example configuration with a secret, a downwardAPI, and a configMap?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   v o l u m e - t e s t   s p e c :   c o n t a i n e r s :   -   n a m e :   c o n t a i n e r - t e s t   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ \" s l e e p \" ,   \" 3 6 0 0 \" ]   v o l u m e M o u n t s :   -   n a m e :   a l l - i n - o n e   m o u n t P a t h :   \" / p r o j e c t e d - v o l u m e \"   r e a d O n l y :   t r u e   v o l u m e s :   -   n a m e :   a l l - i n - o n e   p r o j e c t e d :   s o u r c e s :   -   s e c r e t :   n a m e :   m y s e c r e t   i t e m s :   -   k e y :   u s e r n a m e   p a t h :   m y - g r o u p / m y - u s e r n a m e   -   d o w n w a r d A P I :   i t e m s :   -   p a t h :   \" l a b e l s \"   f i e l d R e f :   f i e l d P a t h :   m e t a d a t a . l a b e l s   -   p a t h :   \" c p u _ l i m i t \"   r e s o u r c e F i e l d R e f :   c o n t a i n e r N a m e :   c o n t a i n e r - t e s t   r e s o u r c e :   l i m i t s . c p u   -   c o n f i g M a p :   n a m e :   m y c o n f i g m a p   i t e m s :   -   k e y :   c o n f i g   p a t h :   m y - g r o u p / m y - c o n f i g",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/projected-volumes/",
    "id": "k8s_00117_section_3_1859"
  },
  {
    "question": "What is Example configuration: secrets with a non-default permission mode set?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   v o l u m e - t e s t   s p e c :   c o n t a i n e r s :   -   n a m e :   c o n t a i n e r - t e s t   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ \" s l e e p \" ,   \" 3 6 0 0 \" ]   v o l u m e M o u n t s :   -   n a m e :   a l l - i n - o n e   m o u n t P a t h :   \" / p r o j e c t e d - v o l u m e \"   r e a d O n l y :   t r u e   v o l u m e s :   -   n a m e :   a l l - i n - o n e   p r o j e c t e d :   s o u r c e s :   -   s e c r e t :   n a m e :   m y s e c r e t   i t e m s :   -   k e y :   u s e r n a m e   p a t h :   m y - g r o u p / m y - u s e r n a m e   -   s e c r e t :   n a m e :   m y s e c r e t 2   i t e m s :   -   k e y :   p a s s w o r d   p a t h :   m y - g r o u p / m y - p a s s w o r d   m o d e :   5 1 1   E a c h   p r o j e c t e d   v o l u m e   s o u r c e   i s   l i s t e d   i n   t h e   s p e c   u n d e r   s o u r c e s .   T h e   p a r a m e t e r s   a r e   n e a r l y   t h e   s a m e   w i t h   t w o   e x c e p t i o n s :   F o r   s e c r e t s ,   t h e   s e c r e t N a m e   f i e l d   h a s   b e e n   c h a n g e d   t o   n a m e   t o   b e   c o n s i s t e n t   w i t h   C o n f i g M a p   n a m i n g . T h e   d e f a u l t M o d e   c a n   o n l y   b e   s p e c i f i e d   a t   t h e   p r o j e c t e d   l e v e l   a n d   n o t   f o r   e a c h   v o l u m e   s o u r c e .   H o w e v e r ,   a s   i l l u s t r a t e d   a b o v e ,   y o u   c a n   e x p l i c i t l y   s e t   t h e   m o d e   f o r   e a c h   i n d i v i d u a l   p r o j e c t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/projected-volumes/",
    "id": "k8s_00117_section_3_1860"
  },
  {
    "question": "What is serviceAccountToken projected volumes?",
    "answer": "Y o u   c a n   i n j e c t   t h e   t o k e n   f o r   t h e   c u r r e n t   s e r v i c e   a c c o u n t   i n t o   a   P o d   a t   a   s p e c i f i e d   p a t h .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s a - t o k e n - t e s t   s p e c :   c o n t a i n e r s :   -   n a m e :   c o n t a i n e r - t e s t   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ \" s l e e p \" ,   \" 3 6 0 0 \" ]   v o l u m e M o u n t s :   -   n a m e :   t o k e n - v o l   m o u n t P a t h :   \" / s e r v i c e - a c c o u n t \"   r e a d O n l y :   t r u e   s e r v i c e A c c o u n t N a m e :   d e f a u l t   v o l u m e s :   -   n a m e :   t o k e n - v o l   p r o j e c t e d :   s o u r c e s :   -   s e r v i c e A c c o u n t T o k e n :   a u d i e n c e :   a p i   e x p i r a t i o n S e c o n d s :   3 6 0 0   p a t h :   t o k e n   T h e   e x a m p l e   P o d   h a s   a   p r o j e c t e d   v o l u m e   c o n t a i n i n g   t h e   i n j e c t e d   s e r v i c e   a c c o u n t   t o k e n .   C o n t a i n e r s   i n   t h i s   P o d   c a n   u s e   t h a t   t o k e n   t o   a c c e s s   t h e   K u b e r n e t e s   A P I   s e r v e r ,   a u t h e n t i c a t i n g   w i t h   t h e   i d e n t i t y   o f   t h e   p o d ' s   S e r v i c e A c c o u n t .   T h e   a u d i e n c e   f i e l d   c o n t a i n s   t h e   i n t e n d e d   a u d i e n c e   o f   t h e   t o k e n .   A   r e c i p i e n t   o f   t h e   t o k e n   m u s t   i d e n t i f y   i t s e l f   w i t h   a n   i d e n t i f i e r   s p e c i f i e d   i n   t h e   a u d i e n c e   o f   t h e   t o k e n ,   a n d   o t h e r w i s e   s h o u l d   r e j e c t   t h e   t o k e n .   T h i s   f i e l d   i s   o p t i o n a l   a n d   i t   d e f a u l t s   t o   t h e   i d e n t i f i e r   o f   t h e   A P I   s e r v e r .   T h e   e x p i r a t i o n S e c o n ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/projected-volumes/",
    "id": "k8s_00117_section_2_1861"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   c l u s t e r T r u s t B u n d l e   p r o j e c t e d   v o l u m e   s o u r c e   i n j e c t s   t h e   c o n t e n t s   o f   o n e   o r   m o r e   C l u s t e r T r u s t B u n d l e   o b j e c t s   a s   a n   a u t o m a t i c a l l y - u p d a t i n g   f i l e   i n   t h e   c o n t a i n e r   f i l e s y s t e m .   C l u s t e r T r u s t B u n d l e s   c a n   b e   s e l e c t e d   e i t h e r   b y   n a m e   o r   b y   s i g n e r   n a m e .   T o   s e l e c t   b y   n a m e ,   u s e   t h e   n a m e   f i e l d   t o   d e s i g n a t e   a   s i n g l e   C l u s t e r T r u s t B u n d l e   o b j e c t .   T o   s e l e c t   b y   s i g n e r   n a m e ,   u s e   t h e   s i g n e r N a m e   f i e l d   ( a n d   o p t i o n a l l y   t h e   l a b e l S e l e c t o r   f i e l d )   t o   d e s i g n a t e   a   s e t   o f   C l u s t e r T r u s t B u n d l e   o b j e c t s   t h a t   u s e   t h e   g i v e n   s i g n e r   n a m e .   I f   l a b e l S e l e c t o r   i s   n o t   p r e s e n t ,   t h e n   a l l   C l u s t e r T r u s t B u n d l e s   f o r   t h a t   s i g n e r   a r e   s e l e c t e d .   T h e   k u b e l e t   d e d u p l i c a t e s   t h e   c e r t i f i c a t e s   i n   t h e   s e l e c t e d   C l u s t e r T r u s t B u n d l e   o b j e c t s ,   n o r m a l i z e s   t h e   P E M   r e p r e s e n t a t i o n s   ( d i s c a r d i n g   c o m m e n t s   a n d   h e a d e r s ) ,   r e o r d e r s   t h e   c e r t i f i c a t e s ,   a n d   w r i t e s   t h e m   i n t o   t h e   f i l e   n a m e d   b y   p a t h .   A s   t h e   s e t   o f   s e l e c t e d   C l u s t e r T r u s t B u n d l e s   o r   t h e i r   c o n t e n t   c h a n g e s ,   k u b e l e t   k e e p s   t h e   f i l e   u p - t o - d a t e .   B y   d e f a u l t ,   t h e   k u b e l e t   w i l l   p r e v e n t   t h e   p o d   f r o m   s t a r t i n g   i f   t h e   n a m e d   C ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/projected-volumes/",
    "id": "k8s_00117_section_4_1862"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   p o d C e r t i f i c a t e   p r o j e c t e d   v o l u m e s   s o u r c e   s e c u r e l y   p r o v i s i o n s   a   p r i v a t e   k e y   a n d   X . 5 0 9   c e r t i f i c a t e   c h a i n   f o r   p o d   t o   u s e   a s   c l i e n t   o r   s e r v e r   c r e d e n t i a l s .   K u b e l e t   w i l l   t h e n   h a n d l e   r e f r e s h i n g   t h e   p r i v a t e   k e y   a n d   c e r t i f i c a t e   c h a i n   w h e n   t h e y   g e t   c l o s e   t o   e x p i r a t i o n .   T h e   a p p l i c a t i o n   j u s t   h a s   t o   m a k e   s u r e   t h a t   i t   r e l o a d s   t h e   f i l e   p r o m p t l y   w h e n   i t   c h a n g e s ,   w i t h   a   m e c h a n i s m   l i k e   i n o t i f y   o r   p o l l i n g .   E a c h   p o d C e r t i f i c a t e   p r o j e c t i o n   s u p p o r t s   t h e   f o l l o w i n g   c o n f i g u r a t i o n   f i e l d s :   s i g n e r N a m e :   T h e   s i g n e r   y o u   w a n t   t o   i s s u e   t h e   c e r t i f i c a t e .   N o t e   t h a t   s i g n e r s   m a y   h a v e   t h e i r   o w n   a c c e s s   r e q u i r e m e n t s ,   a n d   m a y   r e f u s e   t o   i s s u e   c e r t i f i c a t e s   t o   y o u r   p o d . k e y T y p e :   T h e   t y p e   o f   p r i v a t e   k e y   t h a t   s h o u l d   b e   g e n e r a t e d .   V a l i d   v a l u e s   a r e   E D 2 5 5 1 9 ,   E C D S A P 2 5 6 ,   E C D S A P 3 8 4 ,   E C D S A P 5 2 1 ,   R S A 3 0 7 2 ,   a n d   R S A 4 0 9 6 . m a x E x p i r a t i o n S e c o n d s :   T h e   m a x i m u m   l i f e t i m e   y o u   w i l l   a c c e p t   f o r   t h e   c e r t i f i c a t e   i s s u e d   t o   t h e   p o d .   I f   n o t   s e t ,   w i l l   b e   d e f a u l t e d   t o   8 6 4 0 0   ( 2 4   h o u r s ) .   M u s t   b e   a t   l e a s t   3 6 0 0   ( 1   h o u r ) ,   a n d   a t   m o s t   7 8 6 2 4 0 0   ( 9 1   d a y s ) .   K u b e r n e t e s   b u i ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/projected-volumes/",
    "id": "k8s_00117_section_4_1863"
  },
  {
    "question": "What is Note:?",
    "answer": "#   S a m p l e   P o d   s p e c   t h a t   u s e s   a   p o d C e r t i f i c a t e   p r o j e c t i o n   t o   r e q u e s t   a n   E D 2 5 5 1 9   #   p r i v a t e   k e y ,   a   c e r t i f i c a t e   f r o m   t h e   ` c o o l c e r t . e x a m p l e . c o m / f o o `   s i g n e r ,   a n d   #   w r i t e   t h e   r e s u l t s   t o   ` / v a r / r u n / m y - x 5 0 9 - c r e d e n t i a l s / c r e d e n t i a l b u n d l e . p e m ` .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e s p a c e :   d e f a u l t   n a m e :   p o d c e r t i f i c a t e - p o d   s p e c :   s e r v i c e A c c o u n t N a m e :   d e f a u l t   c o n t a i n e r s :   -   i m a g e :   d e b i a n   n a m e :   m a i n   c o m m a n d :   [ \" s l e e p \" ,   \" i n f i n i t y \" ]   v o l u m e M o u n t s :   -   n a m e :   m y - x 5 0 9 - c r e d e n t i a l s   m o u n t P a t h :   / v a r / r u n / m y - x 5 0 9 - c r e d e n t i a l s   v o l u m e s :   -   n a m e :   m y - x 5 0 9 - c r e d e n t i a l s   p r o j e c t e d :   d e f a u l t M o d e :   4 2 0   s o u r c e s :   -   p o d C e r t i f i c a t e :   k e y T y p e :   E D 2 5 5 1 9   s i g n e r N a m e :   c o o l c e r t . e x a m p l e . c o m / f o o   c r e d e n t i a l B u n d l e P a t h :   c r e d e n t i a l b u n d l e . p e m",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/projected-volumes/",
    "id": "k8s_00117_section_4_1864"
  },
  {
    "question": "What is SecurityContext interactions?",
    "answer": "T h e   p r o p o s a l   f o r   f i l e   p e r m i s s i o n   h a n d l i n g   i n   p r o j e c t e d   s e r v i c e   a c c o u n t   v o l u m e   e n h a n c e m e n t   i n t r o d u c e d   t h e   p r o j e c t e d   f i l e s   h a v i n g   t h e   c o r r e c t   o w n e r   p e r m i s s i o n s   s e t .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/projected-volumes/",
    "id": "k8s_00117_section_2_1865"
  },
  {
    "question": "What is Linux?",
    "answer": "I n   L i n u x   p o d s   t h a t   h a v e   a   p r o j e c t e d   v o l u m e   a n d   R u n A s U s e r   s e t   i n   t h e   P o d   S e c u r i t y C o n t e x t ,   t h e   p r o j e c t e d   f i l e s   h a v e   t h e   c o r r e c t   o w n e r s h i p   s e t   i n c l u d i n g   c o n t a i n e r   u s e r   o w n e r s h i p .   W h e n   a l l   c o n t a i n e r s   i n   a   p o d   h a v e   t h e   s a m e   r u n A s U s e r   s e t   i n   t h e i r   P o d S e c u r i t y C o n t e x t   o r   c o n t a i n e r   S e c u r i t y C o n t e x t ,   t h e n   t h e   k u b e l e t   e n s u r e s   t h a t   t h e   c o n t e n t s   o f   t h e   s e r v i c e A c c o u n t T o k e n   v o l u m e   a r e   o w n e d   b y   t h a t   u s e r ,   a n d   t h e   t o k e n   f i l e   h a s   i t s   p e r m i s s i o n   m o d e   s e t   t o   0 6 0 0 .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/projected-volumes/",
    "id": "k8s_00117_section_3_1866"
  },
  {
    "question": "What is Note:?",
    "answer": "E p h e m e r a l   c o n t a i n e r s   a d d e d   t o   a   P o d   a f t e r   i t   i s   c r e a t e d   d o   n o t   c h a n g e   v o l u m e   p e r m i s s i o n s   t h a t   w e r e   s e t   w h e n   t h e   p o d   w a s   c r e a t e d .   I f   a   P o d ' s   s e r v i c e A c c o u n t T o k e n   v o l u m e   p e r m i s s i o n s   w e r e   s e t   t o   0 6 0 0   b e c a u s e   a l l   o t h e r   c o n t a i n e r s   i n   t h e   P o d   h a v e   t h e   s a m e   r u n A s U s e r ,   e p h e m e r a l   c o n t a i n e r s   m u s t   u s e   t h e   s a m e   r u n A s U s e r   t o   b e   a b l e   t o   r e a d   t h e   t o k e n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/projected-volumes/",
    "id": "k8s_00117_section_4_1867"
  },
  {
    "question": "What is Windows?",
    "answer": "I n   W i n d o w s   p o d s   t h a t   h a v e   a   p r o j e c t e d   v o l u m e   a n d   R u n A s U s e r n a m e   s e t   i n   t h e   P o d   S e c u r i t y C o n t e x t ,   t h e   o w n e r s h i p   i s   n o t   e n f o r c e d   d u e   t o   t h e   w a y   u s e r   a c c o u n t s   a r e   m a n a g e d   i n   W i n d o w s .   W i n d o w s   s t o r e s   a n d   m a n a g e s   l o c a l   u s e r   a n d   g r o u p   a c c o u n t s   i n   a   d a t a b a s e   f i l e   c a l l e d   S e c u r i t y   A c c o u n t   M a n a g e r   ( S A M ) .   E a c h   c o n t a i n e r   m a i n t a i n s   i t s   o w n   i n s t a n c e   o f   t h e   S A M   d a t a b a s e ,   t o   w h i c h   t h e   h o s t   h a s   n o   v i s i b i l i t y   i n t o   w h i l e   t h e   c o n t a i n e r   i s   r u n n i n g .   W i n d o w s   c o n t a i n e r s   a r e   d e s i g n e d   t o   r u n   t h e   u s e r   m o d e   p o r t i o n   o f   t h e   O S   i n   i s o l a t i o n   f r o m   t h e   h o s t ,   h e n c e   t h e   m a i n t e n a n c e   o f   a   v i r t u a l   S A M   d a t a b a s e .   A s   a   r e s u l t ,   t h e   k u b e l e t   r u n n i n g   o n   t h e   h o s t   d o e s   n o t   h a v e   t h e   a b i l i t y   t o   d y n a m i c a l l y   c o n f i g u r e   h o s t   f i l e   o w n e r s h i p   f o r   v i r t u a l i z e d   c o n t a i n e r   a c c o u n t s .   I t   i s   r e c o m m e n d e d   t h a t   i f   f i l e s   o n   t h e   h o s t   m a c h i n e   a r e   t o   b e   s h a r e d   w i t h   t h e   c o n t a i n e r   t h e n   t h e y   s h o u l d   b e   p l a c e d   i n t o   t h e i r   o w n   v o l u m e   m o u n t   o u t s i d e   o f   C : \\ .   B y   d e f a u l t ,   t h e   p r o j e c t e d   f i l e s   w i l l   h a v e   t h e   f o l l o w i n g   o w n e r s h i p   a s   s h o w n   f o r   a n   e x a m p l e   p r o j e c t e d   v o l u m e   f i l e : ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/projected-volumes/",
    "id": "k8s_00117_section_3_1868"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   g e n e r a l ,   g r a n t i n g   t h e   c o n t a i n e r   a c c e s s   t o   t h e   h o s t   i s   d i s c o u r a g e d   a s   i t   c a n   o p e n   t h e   d o o r   f o r   p o t e n t i a l   s e c u r i t y   e x p l o i t s .   C r e a t i n g   a   W i n d o w s   P o d   w i t h   R u n A s U s e r   i n   i t ' s   S e c u r i t y C o n t e x t   w i l l   r e s u l t   i n   t h e   P o d   b e i n g   s t u c k   a t   C o n t a i n e r C r e a t i n g   f o r e v e r .   S o   i t   i s   a d v i s e d   t o   n o t   u s e   t h e   L i n u x   o n l y   R u n A s U s e r   o p t i o n   w i t h   W i n d o w s   P o d s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/projected-volumes/",
    "id": "k8s_00117_section_4_1869"
  },
  {
    "question": "What is Assign Pods to Nodes using Node Affinity?",
    "answer": "Assign Pods to Nodes using Node AffinityThis page shows how to assign a Kubernetes Pod to a particular node using Node Affinity in a Kubernetes cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.10.To check the version, enter kubectl version.Add a label to a nodeList the nodes in your cluster, along with their labels:kubectl get nodes --show-labels The output is similar to this:NAME STATUS ROLES AGE VERSION LABELS worker0 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker0 worker1 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker1 worker2 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker2 Choose one of your nodes, and add a label to it:kubectl label nodes <your-node-name> disktype=ssd where <your-node-name> is the name of your chosen node.Verify that your chosen node has a disktype=ssd label:kubectl get nodes --show-labels The output is similar to this:NAME STATUS ROLES AGE VERSION LABELS worker0 Ready <none> 1d v1.13.0 ...,disktype=ssd,kubernetes.io/hostname=worker0 worker1 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker1 worker2 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker2 In the preceding output, you can see that the worker0 node has a disktype=ssd label.Schedule a Pod using required node affinityThis manifest describes a Pod that has a requiredDuringSchedulingIgnoredDuringExecution node affinity,disktype: ssd. This means that the pod will get scheduled only on a node that has a disktype=ssd label.pods/pod-nginx-required-affinity.yaml apiVersion: v1 kind: Pod metadata: name: nginx spec: affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: disktype operator: In values: - ssd containers: - name: nginx image: nginx imagePullPolicy: IfNotPresent Apply the manifest to create a Pod that is scheduled onto your chosen node:kubectl apply -f https://k8s.io/examples/pods/pod-nginx-required-affinity.yaml Verify that the pod is running on your chosen node:kubectl get pods --output=wide The output is similar to this:NAME READY STATUS RESTARTS AGE IP NODE nginx 1/1 Running 0 13s 10.200.0.4 worker0 Schedule a Pod using preferred node affinityThis manifest describes a Pod that has a preferredDuringSchedulingIgnoredDuringExecution node affinity,disktype: ssd. This means that the pod will prefer a node that has a disktype=ssd label.pods/pod-nginx-preferred-affinity.yaml apiVersion: v1 kind: Pod metadata: name: nginx spec: affinity: nodeAffinity: preferredDuringSchedulingIgnoredDuringExecution: - weight: 1 ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/",
    "id": "k8s_00118_qa_1870"
  },
  {
    "question": "How does Assign Pods to Nodes using Node Affinity work?",
    "answer": "Assign Pods to Nodes using Node AffinityThis page shows how to assign a Kubernetes Pod to a particular node using Node Affinity in a Kubernetes cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.10.To check the version, enter kubectl version.Add a label to a nodeList the nodes in your cluster, along with their labels:kubectl get nodes --show-labels The output is similar to this:NAME STATUS ROLES AGE VERSION LABELS worker0 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker0 worker1 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker1 worker2 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker2 Choose one of your nodes, and add a label to it:kubectl label nodes <your-node-name> disktype=ssd where <your-node-name> is the name of your chosen node.Verify that your chosen node has a disktype=ssd label:kubectl get nodes --show-labels The output is similar to this:NAME STATUS ROLES AGE VERSION LABELS worker0 Ready <none> 1d v1.13.0 ...,disktype=ssd,kubernetes.io/hostname=worker0 worker1 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker1 worker2 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker2 In the preceding output, you can see that the worker0 node has a disktype=ssd label.Schedule a Pod using required node affinityThis manifest describes a Pod that has a requiredDuringSchedulingIgnoredDuringExecution node affinity,disktype: ssd. This means that the pod will get scheduled only on a node that has a disktype=ssd label.pods/pod-nginx-required-affinity.yaml apiVersion: v1 kind: Pod metadata: name: nginx spec: affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: disktype operator: In values: - ssd containers: - name: nginx image: nginx imagePullPolicy: IfNotPresent Apply the manifest to create a Pod that is scheduled onto your chosen node:kubectl apply -f https://k8s.io/examples/pods/pod-nginx-required-affinity.yaml Verify that the pod is running on your chosen node:kubectl get pods --output=wide The output is similar to this:NAME READY STATUS RESTARTS AGE IP NODE nginx 1/1 Running 0 13s 10.200.0.4 worker0 Schedule a Pod using preferred node affinityThis manifest describes a Pod that has a preferredDuringSchedulingIgnoredDuringExecution node affinity,disktype: ssd. This means that the pod will prefer a node that has a disktype=ssd label.pods/pod-nginx-preferred-affinity.yaml apiVersion: v1 kind: Pod metadata: name: nginx spec: affinity: nodeAffinity: preferredDuringSchedulingIgnoredDuringExecution: - weight: 1 ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/",
    "id": "k8s_00118_qa_1871"
  },
  {
    "question": "When would you use Assign Pods to Nodes using Node Affinity?",
    "answer": "Assign Pods to Nodes using Node AffinityThis page shows how to assign a Kubernetes Pod to a particular node using Node Affinity in a Kubernetes cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.10.To check the version, enter kubectl version.Add a label to a nodeList the nodes in your cluster, along with their labels:kubectl get nodes --show-labels The output is similar to this:NAME STATUS ROLES AGE VERSION LABELS worker0 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker0 worker1 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker1 worker2 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker2 Choose one of your nodes, and add a label to it:kubectl label nodes <your-node-name> disktype=ssd where <your-node-name> is the name of your chosen node.Verify that your chosen node has a disktype=ssd label:kubectl get nodes --show-labels The output is similar to this:NAME STATUS ROLES AGE VERSION LABELS worker0 Ready <none> 1d v1.13.0 ...,disktype=ssd,kubernetes.io/hostname=worker0 worker1 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker1 worker2 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker2 In the preceding output, you can see that the worker0 node has a disktype=ssd label.Schedule a Pod using required node affinityThis manifest describes a Pod that has a requiredDuringSchedulingIgnoredDuringExecution node affinity,disktype: ssd. This means that the pod will get scheduled only on a node that has a disktype=ssd label.pods/pod-nginx-required-affinity.yaml apiVersion: v1 kind: Pod metadata: name: nginx spec: affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: disktype operator: In values: - ssd containers: - name: nginx image: nginx imagePullPolicy: IfNotPresent Apply the manifest to create a Pod that is scheduled onto your chosen node:kubectl apply -f https://k8s.io/examples/pods/pod-nginx-required-affinity.yaml Verify that the pod is running on your chosen node:kubectl get pods --output=wide The output is similar to this:NAME READY STATUS RESTARTS AGE IP NODE nginx 1/1 Running 0 13s 10.200.0.4 worker0 Schedule a Pod using preferred node affinityThis manifest describes a Pod that has a preferredDuringSchedulingIgnoredDuringExecution node affinity,disktype: ssd. This means that the pod will prefer a node that has a disktype=ssd label.pods/pod-nginx-preferred-affinity.yaml apiVersion: v1 kind: Pod metadata: name: nginx spec: affinity: nodeAffinity: preferredDuringSchedulingIgnoredDuringExecution: - weight: 1 ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/",
    "id": "k8s_00118_qa_1872"
  },
  {
    "question": "What are the benefits of Assign Pods to Nodes using Node Affinity?",
    "answer": "Assign Pods to Nodes using Node AffinityThis page shows how to assign a Kubernetes Pod to a particular node using Node Affinity in a Kubernetes cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.10.To check the version, enter kubectl version.Add a label to a nodeList the nodes in your cluster, along with their labels:kubectl get nodes --show-labels The output is similar to this:NAME STATUS ROLES AGE VERSION LABELS worker0 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker0 worker1 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker1 worker2 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker2 Choose one of your nodes, and add a label to it:kubectl label nodes <your-node-name> disktype=ssd where <your-node-name> is the name of your chosen node.Verify that your chosen node has a disktype=ssd label:kubectl get nodes --show-labels The output is similar to this:NAME STATUS ROLES AGE VERSION LABELS worker0 Ready <none> 1d v1.13.0 ...,disktype=ssd,kubernetes.io/hostname=worker0 worker1 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker1 worker2 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker2 In the preceding output, you can see that the worker0 node has a disktype=ssd label.Schedule a Pod using required node affinityThis manifest describes a Pod that has a requiredDuringSchedulingIgnoredDuringExecution node affinity,disktype: ssd. This means that the pod will get scheduled only on a node that has a disktype=ssd label.pods/pod-nginx-required-affinity.yaml apiVersion: v1 kind: Pod metadata: name: nginx spec: affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: disktype operator: In values: - ssd containers: - name: nginx image: nginx imagePullPolicy: IfNotPresent Apply the manifest to create a Pod that is scheduled onto your chosen node:kubectl apply -f https://k8s.io/examples/pods/pod-nginx-required-affinity.yaml Verify that the pod is running on your chosen node:kubectl get pods --output=wide The output is similar to this:NAME READY STATUS RESTARTS AGE IP NODE nginx 1/1 Running 0 13s 10.200.0.4 worker0 Schedule a Pod using preferred node affinityThis manifest describes a Pod that has a preferredDuringSchedulingIgnoredDuringExecution node affinity,disktype: ssd. This means that the pod will prefer a node that has a disktype=ssd label.pods/pod-nginx-preferred-affinity.yaml apiVersion: v1 kind: Pod metadata: name: nginx spec: affinity: nodeAffinity: preferredDuringSchedulingIgnoredDuringExecution: - weight: 1 ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/",
    "id": "k8s_00118_qa_1873"
  },
  {
    "question": "What is Assign Pods to Nodes using Node Affinity?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   a s s i g n   a   K u b e r n e t e s   P o d   t o   a   p a r t i c u l a r   n o d e   u s i n g   N o d e   A f f i n i t y   i n   a   K u b e r n e t e s   c l u s t e r .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/",
    "id": "k8s_00118_section_1_1874"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 1 0 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/",
    "id": "k8s_00118_section_2_1875"
  },
  {
    "question": "What is Add a label to a node?",
    "answer": "L i s t   t h e   n o d e s   i n   y o u r   c l u s t e r ,   a l o n g   w i t h   t h e i r   l a b e l s : k u b e c t l   g e t   n o d e s   - - s h o w - l a b e l s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   S T A T U S   R O L E S   A G E   V E R S I O N   L A B E L S   w o r k e r 0   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 0   w o r k e r 1   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 1   w o r k e r 2   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 2   C h o o s e   o n e   o f   y o u r   n o d e s ,   a n d   a d d   a   l a b e l   t o   i t : k u b e c t l   l a b e l   n o d e s   < y o u r - n o d e - n a m e >   d i s k t y p e = s s d   w h e r e   < y o u r - n o d e - n a m e >   i s   t h e   n a m e   o f   y o u r   c h o s e n   n o d e . V e r i f y   t h a t   y o u r   c h o s e n   n o d e   h a s   a   d i s k t y p e = s s d   l a b e l : k u b e c t l   g e t   n o d e s   - - s h o w - l a b e l s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   S T A T U S   R O L E S   A G E   V E R S I O N   L A B E L S   w o r k e r 0   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , d i s k t y p e = s s d , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 0   w o r k e r 1   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 1   w o r k e r 2   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 2   I n   t h e   p r e c e d i n g   o u t p u t ,   y o u   c a n   s e e   t h a t   t h e   w o r k e r 0   n o d e   h a s   a   d i s k t y p e = s s d   l a b e l .   L i s t   t h e   n o d e s   i n   y o u r   c l u s t e r ,   a l o n g   w ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/",
    "id": "k8s_00118_section_2_1876"
  },
  {
    "question": "What is Schedule a Pod using required node affinity?",
    "answer": "T h i s   m a n i f e s t   d e s c r i b e s   a   P o d   t h a t   h a s   a   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   n o d e   a f f i n i t y , d i s k t y p e :   s s d .   T h i s   m e a n s   t h a t   t h e   p o d   w i l l   g e t   s c h e d u l e d   o n l y   o n   a   n o d e   t h a t   h a s   a   d i s k t y p e = s s d   l a b e l .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   s p e c :   a f f i n i t y :   n o d e A f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   n o d e S e l e c t o r T e r m s :   -   m a t c h E x p r e s s i o n s :   -   k e y :   d i s k t y p e   o p e r a t o r :   I n   v a l u e s :   -   s s d   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   i m a g e P u l l P o l i c y :   I f N o t P r e s e n t   A p p l y   t h e   m a n i f e s t   t o   c r e a t e   a   P o d   t h a t   i s   s c h e d u l e d   o n t o   y o u r   c h o s e n   n o d e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p o d - n g i n x - r e q u i r e d - a f f i n i t y . y a m l   V e r i f y   t h a t   t h e   p o d   i s   r u n n i n g   o n   y o u r   c h o s e n   n o d e : k u b e c t l   g e t   p o d s   - - o u t p u t = w i d e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   n g i n x   1 / 1   R u n n i n g   0   1 3 s   1 0 . 2 0 0 . 0 . 4   w o r k e r 0   A p p l y   t h e   m a n i f e s t   t o   c r e a t e   a   P o d   t h a t   i s   s c h e d u l e d   o n t o   y o u r   c h o s e n   n o d e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p o d - n g i n x - r e q u i r e d - a f f i n i t y . y a m l   V e r i f y   t h a t   t h e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/",
    "id": "k8s_00118_section_2_1877"
  },
  {
    "question": "What is Schedule a Pod using preferred node affinity?",
    "answer": "T h i s   m a n i f e s t   d e s c r i b e s   a   P o d   t h a t   h a s   a   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   n o d e   a f f i n i t y , d i s k t y p e :   s s d .   T h i s   m e a n s   t h a t   t h e   p o d   w i l l   p r e f e r   a   n o d e   t h a t   h a s   a   d i s k t y p e = s s d   l a b e l .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   s p e c :   a f f i n i t y :   n o d e A f f i n i t y :   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   -   w e i g h t :   1   p r e f e r e n c e :   m a t c h E x p r e s s i o n s :   -   k e y :   d i s k t y p e   o p e r a t o r :   I n   v a l u e s :   -   s s d   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   i m a g e P u l l P o l i c y :   I f N o t P r e s e n t   A p p l y   t h e   m a n i f e s t   t o   c r e a t e   a   P o d   t h a t   i s   s c h e d u l e d   o n t o   y o u r   c h o s e n   n o d e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p o d - n g i n x - p r e f e r r e d - a f f i n i t y . y a m l   V e r i f y   t h a t   t h e   p o d   i s   r u n n i n g   o n   y o u r   c h o s e n   n o d e : k u b e c t l   g e t   p o d s   - - o u t p u t = w i d e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   n g i n x   1 / 1   R u n n i n g   0   1 3 s   1 0 . 2 0 0 . 0 . 4   w o r k e r 0   A p p l y   t h e   m a n i f e s t   t o   c r e a t e   a   P o d   t h a t   i s   s c h e d u l e d   o n t o   y o u r   c h o s e n   n o d e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p o d - n g i n x - p r e f e r r e d - a f f i n i t y . y a m l   V e r i f y   t h a t   t h e   p o d   i s   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/",
    "id": "k8s_00118_section_2_1878"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   N o d e   A f f i n i t y .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/",
    "id": "k8s_00118_section_2_1879"
  },
  {
    "question": "What is Restrict a Container's Access to Resources with AppArmor?",
    "answer": "Restrict a Container's Access to Resources with AppArmorFEATURE STATE: Kubernetes v1.31 [stable] (enabled by default: true)This page shows you how to load AppArmor profiles on your nodes and enforce those profiles in Pods. To learn more about how Kubernetes can confine Pods using AppArmor, see Linux kernel security constraints for Pods and containers.ObjectivesSee an example of how to load a profile on a NodeLearn how to enforce the profile on a PodLearn how to check that the profile is loadedSee what happens when a profile is violatedSee what happens when a profile cannot be loadedBefore you beginAppArmor is an optional kernel module and Kubernetes feature, so verify it is supported on your Nodes before proceeding:AppArmor kernel module is enabled -- For the Linux kernel to enforce an AppArmor profile, the AppArmor kernel module must be installed and enabled. Several distributions enable the module by default, such as Ubuntu and SUSE, and many others provide optional support. To check whether the module is enabled, check the /sys/module/apparmor/parameters/enabled file:cat /sys/module/apparmor/parameters/enabled Y The kubelet verifies that AppArmor is enabled on the host before admitting a pod with AppArmor explicitly configured.Container runtime supports AppArmor -- All common Kubernetes-supported container runtimes should support AppArmor, including containerd and CRI-O. Please refer to the corresponding runtime documentation and verify that the cluster fulfills the requirements to use AppArmor.Profile is loaded -- AppArmor is applied to a Pod by specifying an AppArmor profile that each container should be run with. If any of the specified profiles are not loaded in the kernel, the kubelet will reject the Pod. You can view which profiles are loaded on a node by checking the /sys/kernel/security/apparmor/profiles file. For example:ssh gke-test-default-pool-239f5d02-gyn2 \"sudo cat /sys/kernel/security/apparmor/profiles | sort\" apparmor-test-deny-write (enforce) apparmor-test-audit-write (enforce) docker-default (enforce) k8s-nginx (enforce) For more details on loading profiles on nodes, see Setting up nodes with profiles.Securing a PodNote:Prior to Kubernetes v1.30, AppArmor was specified through annotations. Use the documentation version selector to view the documentation with this deprecated API.AppArmor profiles can be specified at the pod level or container level. The container AppArmor profile takes precedence over the pod profile.securityContext: appArmorProfile: type: <profile_type> Where <profile_type> is one of:RuntimeDefault to use the runtime's default profileLocalhost to use a profile loaded on the host (see below)Unconfined to run without AppArmorSee Specifying AppArmor Confinement for full details on the AppArmor profile API.To verify that the profile was applied, you can check that the container's root process is running with the correct profile by examining its proc attr:kubectl exec <pod_name> -- cat /proc/1/attr/current The out",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/apparmor/",
    "id": "k8s_00119_qa_1880"
  },
  {
    "question": "How does Restrict a Container's Access to Resources with AppArmor work?",
    "answer": "Restrict a Container's Access to Resources with AppArmorFEATURE STATE: Kubernetes v1.31 [stable] (enabled by default: true)This page shows you how to load AppArmor profiles on your nodes and enforce those profiles in Pods. To learn more about how Kubernetes can confine Pods using AppArmor, see Linux kernel security constraints for Pods and containers.ObjectivesSee an example of how to load a profile on a NodeLearn how to enforce the profile on a PodLearn how to check that the profile is loadedSee what happens when a profile is violatedSee what happens when a profile cannot be loadedBefore you beginAppArmor is an optional kernel module and Kubernetes feature, so verify it is supported on your Nodes before proceeding:AppArmor kernel module is enabled -- For the Linux kernel to enforce an AppArmor profile, the AppArmor kernel module must be installed and enabled. Several distributions enable the module by default, such as Ubuntu and SUSE, and many others provide optional support. To check whether the module is enabled, check the /sys/module/apparmor/parameters/enabled file:cat /sys/module/apparmor/parameters/enabled Y The kubelet verifies that AppArmor is enabled on the host before admitting a pod with AppArmor explicitly configured.Container runtime supports AppArmor -- All common Kubernetes-supported container runtimes should support AppArmor, including containerd and CRI-O. Please refer to the corresponding runtime documentation and verify that the cluster fulfills the requirements to use AppArmor.Profile is loaded -- AppArmor is applied to a Pod by specifying an AppArmor profile that each container should be run with. If any of the specified profiles are not loaded in the kernel, the kubelet will reject the Pod. You can view which profiles are loaded on a node by checking the /sys/kernel/security/apparmor/profiles file. For example:ssh gke-test-default-pool-239f5d02-gyn2 \"sudo cat /sys/kernel/security/apparmor/profiles | sort\" apparmor-test-deny-write (enforce) apparmor-test-audit-write (enforce) docker-default (enforce) k8s-nginx (enforce) For more details on loading profiles on nodes, see Setting up nodes with profiles.Securing a PodNote:Prior to Kubernetes v1.30, AppArmor was specified through annotations. Use the documentation version selector to view the documentation with this deprecated API.AppArmor profiles can be specified at the pod level or container level. The container AppArmor profile takes precedence over the pod profile.securityContext: appArmorProfile: type: <profile_type> Where <profile_type> is one of:RuntimeDefault to use the runtime's default profileLocalhost to use a profile loaded on the host (see below)Unconfined to run without AppArmorSee Specifying AppArmor Confinement for full details on the AppArmor profile API.To verify that the profile was applied, you can check that the container's root process is running with the correct profile by examining its proc attr:kubectl exec <pod_name> -- cat /proc/1/attr/current The out",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/apparmor/",
    "id": "k8s_00119_qa_1881"
  },
  {
    "question": "When would you use Restrict a Container's Access to Resources with AppArmor?",
    "answer": "Restrict a Container's Access to Resources with AppArmorFEATURE STATE: Kubernetes v1.31 [stable] (enabled by default: true)This page shows you how to load AppArmor profiles on your nodes and enforce those profiles in Pods. To learn more about how Kubernetes can confine Pods using AppArmor, see Linux kernel security constraints for Pods and containers.ObjectivesSee an example of how to load a profile on a NodeLearn how to enforce the profile on a PodLearn how to check that the profile is loadedSee what happens when a profile is violatedSee what happens when a profile cannot be loadedBefore you beginAppArmor is an optional kernel module and Kubernetes feature, so verify it is supported on your Nodes before proceeding:AppArmor kernel module is enabled -- For the Linux kernel to enforce an AppArmor profile, the AppArmor kernel module must be installed and enabled. Several distributions enable the module by default, such as Ubuntu and SUSE, and many others provide optional support. To check whether the module is enabled, check the /sys/module/apparmor/parameters/enabled file:cat /sys/module/apparmor/parameters/enabled Y The kubelet verifies that AppArmor is enabled on the host before admitting a pod with AppArmor explicitly configured.Container runtime supports AppArmor -- All common Kubernetes-supported container runtimes should support AppArmor, including containerd and CRI-O. Please refer to the corresponding runtime documentation and verify that the cluster fulfills the requirements to use AppArmor.Profile is loaded -- AppArmor is applied to a Pod by specifying an AppArmor profile that each container should be run with. If any of the specified profiles are not loaded in the kernel, the kubelet will reject the Pod. You can view which profiles are loaded on a node by checking the /sys/kernel/security/apparmor/profiles file. For example:ssh gke-test-default-pool-239f5d02-gyn2 \"sudo cat /sys/kernel/security/apparmor/profiles | sort\" apparmor-test-deny-write (enforce) apparmor-test-audit-write (enforce) docker-default (enforce) k8s-nginx (enforce) For more details on loading profiles on nodes, see Setting up nodes with profiles.Securing a PodNote:Prior to Kubernetes v1.30, AppArmor was specified through annotations. Use the documentation version selector to view the documentation with this deprecated API.AppArmor profiles can be specified at the pod level or container level. The container AppArmor profile takes precedence over the pod profile.securityContext: appArmorProfile: type: <profile_type> Where <profile_type> is one of:RuntimeDefault to use the runtime's default profileLocalhost to use a profile loaded on the host (see below)Unconfined to run without AppArmorSee Specifying AppArmor Confinement for full details on the AppArmor profile API.To verify that the profile was applied, you can check that the container's root process is running with the correct profile by examining its proc attr:kubectl exec <pod_name> -- cat /proc/1/attr/current The out",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/apparmor/",
    "id": "k8s_00119_qa_1882"
  },
  {
    "question": "What are the benefits of Restrict a Container's Access to Resources with AppArmor?",
    "answer": "Restrict a Container's Access to Resources with AppArmorFEATURE STATE: Kubernetes v1.31 [stable] (enabled by default: true)This page shows you how to load AppArmor profiles on your nodes and enforce those profiles in Pods. To learn more about how Kubernetes can confine Pods using AppArmor, see Linux kernel security constraints for Pods and containers.ObjectivesSee an example of how to load a profile on a NodeLearn how to enforce the profile on a PodLearn how to check that the profile is loadedSee what happens when a profile is violatedSee what happens when a profile cannot be loadedBefore you beginAppArmor is an optional kernel module and Kubernetes feature, so verify it is supported on your Nodes before proceeding:AppArmor kernel module is enabled -- For the Linux kernel to enforce an AppArmor profile, the AppArmor kernel module must be installed and enabled. Several distributions enable the module by default, such as Ubuntu and SUSE, and many others provide optional support. To check whether the module is enabled, check the /sys/module/apparmor/parameters/enabled file:cat /sys/module/apparmor/parameters/enabled Y The kubelet verifies that AppArmor is enabled on the host before admitting a pod with AppArmor explicitly configured.Container runtime supports AppArmor -- All common Kubernetes-supported container runtimes should support AppArmor, including containerd and CRI-O. Please refer to the corresponding runtime documentation and verify that the cluster fulfills the requirements to use AppArmor.Profile is loaded -- AppArmor is applied to a Pod by specifying an AppArmor profile that each container should be run with. If any of the specified profiles are not loaded in the kernel, the kubelet will reject the Pod. You can view which profiles are loaded on a node by checking the /sys/kernel/security/apparmor/profiles file. For example:ssh gke-test-default-pool-239f5d02-gyn2 \"sudo cat /sys/kernel/security/apparmor/profiles | sort\" apparmor-test-deny-write (enforce) apparmor-test-audit-write (enforce) docker-default (enforce) k8s-nginx (enforce) For more details on loading profiles on nodes, see Setting up nodes with profiles.Securing a PodNote:Prior to Kubernetes v1.30, AppArmor was specified through annotations. Use the documentation version selector to view the documentation with this deprecated API.AppArmor profiles can be specified at the pod level or container level. The container AppArmor profile takes precedence over the pod profile.securityContext: appArmorProfile: type: <profile_type> Where <profile_type> is one of:RuntimeDefault to use the runtime's default profileLocalhost to use a profile loaded on the host (see below)Unconfined to run without AppArmorSee Specifying AppArmor Confinement for full details on the AppArmor profile API.To verify that the profile was applied, you can check that the container's root process is running with the correct profile by examining its proc attr:kubectl exec <pod_name> -- cat /proc/1/attr/current The out",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/apparmor/",
    "id": "k8s_00119_qa_1883"
  },
  {
    "question": "What is Restrict a Container's Access to Resources with AppArmor?",
    "answer": "T h i s   p a g e   s h o w s   y o u   h o w   t o   l o a d   A p p A r m o r   p r o f i l e s   o n   y o u r   n o d e s   a n d   e n f o r c e   t h o s e   p r o f i l e s   i n   P o d s .   T o   l e a r n   m o r e   a b o u t   h o w   K u b e r n e t e s   c a n   c o n f i n e   P o d s   u s i n g   A p p A r m o r ,   s e e   L i n u x   k e r n e l   s e c u r i t y   c o n s t r a i n t s   f o r   P o d s   a n d   c o n t a i n e r s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/apparmor/",
    "id": "k8s_00119_section_1_1884"
  },
  {
    "question": "What is Objectives?",
    "answer": "S e e   a n   e x a m p l e   o f   h o w   t o   l o a d   a   p r o f i l e   o n   a   N o d e L e a r n   h o w   t o   e n f o r c e   t h e   p r o f i l e   o n   a   P o d L e a r n   h o w   t o   c h e c k   t h a t   t h e   p r o f i l e   i s   l o a d e d S e e   w h a t   h a p p e n s   w h e n   a   p r o f i l e   i s   v i o l a t e d S e e   w h a t   h a p p e n s   w h e n   a   p r o f i l e   c a n n o t   b e   l o a d e d",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/apparmor/",
    "id": "k8s_00119_section_2_1885"
  },
  {
    "question": "What is Before you begin?",
    "answer": "A p p A r m o r   i s   a n   o p t i o n a l   k e r n e l   m o d u l e   a n d   K u b e r n e t e s   f e a t u r e ,   s o   v e r i f y   i t   i s   s u p p o r t e d   o n   y o u r   N o d e s   b e f o r e   p r o c e e d i n g :   A p p A r m o r   k e r n e l   m o d u l e   i s   e n a b l e d   - -   F o r   t h e   L i n u x   k e r n e l   t o   e n f o r c e   a n   A p p A r m o r   p r o f i l e ,   t h e   A p p A r m o r   k e r n e l   m o d u l e   m u s t   b e   i n s t a l l e d   a n d   e n a b l e d .   S e v e r a l   d i s t r i b u t i o n s   e n a b l e   t h e   m o d u l e   b y   d e f a u l t ,   s u c h   a s   U b u n t u   a n d   S U S E ,   a n d   m a n y   o t h e r s   p r o v i d e   o p t i o n a l   s u p p o r t .   T o   c h e c k   w h e t h e r   t h e   m o d u l e   i s   e n a b l e d ,   c h e c k   t h e   / s y s / m o d u l e / a p p a r m o r / p a r a m e t e r s / e n a b l e d   f i l e : c a t   / s y s / m o d u l e / a p p a r m o r / p a r a m e t e r s / e n a b l e d   Y   T h e   k u b e l e t   v e r i f i e s   t h a t   A p p A r m o r   i s   e n a b l e d   o n   t h e   h o s t   b e f o r e   a d m i t t i n g   a   p o d   w i t h   A p p A r m o r   e x p l i c i t l y   c o n f i g u r e d . C o n t a i n e r   r u n t i m e   s u p p o r t s   A p p A r m o r   - -   A l l   c o m m o n   K u b e r n e t e s - s u p p o r t e d   c o n t a i n e r   r u n t i m e s   s h o u l d   s u p p o r t   A p p A r m o r ,   i n c l u d i n g   c o n t a i n e r d   a n d   C R I - O .   P l e a s e   r e f e r   t o   t h e   c o r r e s p o n d i n g   r u n t i m e   d o c u m e n t a t i o n   a n d   v e r i f y   t h a t   t h e   c l u s t e r   f u l f i l l s   t h e   r e q u i r e m e n t s   t o   u s e   A p p A r m o r . P r o f i l e   i s   l o a d e d   - -   A p p A r m o r   i s   a p p l i e d   t o   a   P o d   b y   s p e c i f y i n g   a n   A p p A r m o r   p r o f i ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/apparmor/",
    "id": "k8s_00119_section_2_1886"
  },
  {
    "question": "What is Note:?",
    "answer": "A p p A r m o r   p r o f i l e s   c a n   b e   s p e c i f i e d   a t   t h e   p o d   l e v e l   o r   c o n t a i n e r   l e v e l .   T h e   c o n t a i n e r   A p p A r m o r   p r o f i l e   t a k e s   p r e c e d e n c e   o v e r   t h e   p o d   p r o f i l e .   s e c u r i t y C o n t e x t :   a p p A r m o r P r o f i l e :   t y p e :   < p r o f i l e _ t y p e >   W h e r e   < p r o f i l e _ t y p e >   i s   o n e   o f :   R u n t i m e D e f a u l t   t o   u s e   t h e   r u n t i m e ' s   d e f a u l t   p r o f i l e L o c a l h o s t   t o   u s e   a   p r o f i l e   l o a d e d   o n   t h e   h o s t   ( s e e   b e l o w ) U n c o n f i n e d   t o   r u n   w i t h o u t   A p p A r m o r   S e e   S p e c i f y i n g   A p p A r m o r   C o n f i n e m e n t   f o r   f u l l   d e t a i l s   o n   t h e   A p p A r m o r   p r o f i l e   A P I .   T o   v e r i f y   t h a t   t h e   p r o f i l e   w a s   a p p l i e d ,   y o u   c a n   c h e c k   t h a t   t h e   c o n t a i n e r ' s   r o o t   p r o c e s s   i s   r u n n i n g   w i t h   t h e   c o r r e c t   p r o f i l e   b y   e x a m i n i n g   i t s   p r o c   a t t r :   k u b e c t l   e x e c   < p o d _ n a m e >   - -   c a t   / p r o c / 1 / a t t r / c u r r e n t   T h e   o u t p u t   s h o u l d   l o o k   s o m e t h i n g   l i k e   t h i s :   c r i - c o n t a i n e r d . a p p a r m o r . d   ( e n f o r c e )",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/apparmor/",
    "id": "k8s_00119_section_4_1887"
  },
  {
    "question": "What is Example?",
    "answer": "T h i s   e x a m p l e   a s s u m e s   y o u   h a v e   a l r e a d y   s e t   u p   a   c l u s t e r   w i t h   A p p A r m o r   s u p p o r t .   F i r s t ,   l o a d   t h e   p r o f i l e   y o u   w a n t   t o   u s e   o n t o   y o u r   N o d e s .   T h i s   p r o f i l e   b l o c k s   a l l   f i l e   w r i t e   o p e r a t i o n s :   # i n c l u d e   < t u n a b l e s / g l o b a l >   p r o f i l e   k 8 s - a p p a r m o r - e x a m p l e - d e n y - w r i t e   f l a g s = ( a t t a c h _ d i s c o n n e c t e d )   {   # i n c l u d e   < a b s t r a c t i o n s / b a s e >   f i l e ,   #   D e n y   a l l   f i l e   w r i t e s .   d e n y   / * *   w ,   }   T h e   p r o f i l e   n e e d s   t o   b e   l o a d e d   o n t o   a l l   n o d e s ,   s i n c e   y o u   d o n ' t   k n o w   w h e r e   t h e   p o d   w i l l   b e   s c h e d u l e d .   F o r   t h i s   e x a m p l e   y o u   c a n   u s e   S S H   t o   i n s t a l l   t h e   p r o f i l e s ,   b u t   o t h e r   a p p r o a c h e s   a r e   d i s c u s s e d   i n   S e t t i n g   u p   n o d e s   w i t h   p r o f i l e s .   #   T h i s   e x a m p l e   a s s u m e s   t h a t   n o d e   n a m e s   m a t c h   h o s t   n a m e s ,   a n d   a r e   r e a c h a b l e   v i a   S S H .   N O D E S = ( $ (   k u b e c t l   g e t   n o d e   - o   j s o n p a t h = ' { . i t e m s [ * ] . s t a t u s . a d d r e s s e s [ ? ( . t y p e   = =   \" H o s t n a m e \" ) ] . a d d r e s s } '   ) )   f o r   N O D E   i n   $ { N O D E S [ * ] } ;   d o   s s h   $ N O D E   ' s u d o   a p p a r m o r _ p a r s e r   - q   < < E O F   # i n c l u d e   < t u n a b l e s / g l o b a l >   p r o f i l e   k 8 s - a p p a r m o r - e x a m p l e - d e n y - w r i t e   f l a g s = ( a t t a c h _ d i s c o n n e c t e d )   {   # i n c l u d e   < a b s t r a c t i o n s / b a s e >   f i l e ,   #   D e n y   a l l   f i l e   w r i t e s .   d e n y   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/apparmor/",
    "id": "k8s_00119_section_2_1888"
  },
  {
    "question": "What is Setting up Nodes with profiles?",
    "answer": "K u b e r n e t e s   1 . 3 4   d o e s   n o t   p r o v i d e   a n y   b u i l t - i n   m e c h a n i s m s   f o r   l o a d i n g   A p p A r m o r   p r o f i l e s   o n t o   N o d e s .   P r o f i l e s   c a n   b e   l o a d e d   t h r o u g h   c u s t o m   i n f r a s t r u c t u r e   o r   t o o l s   l i k e   t h e   K u b e r n e t e s   S e c u r i t y   P r o f i l e s   O p e r a t o r .   T h e   s c h e d u l e r   i s   n o t   a w a r e   o f   w h i c h   p r o f i l e s   a r e   l o a d e d   o n t o   w h i c h   N o d e ,   s o   t h e   f u l l   s e t   o f   p r o f i l e s   m u s t   b e   l o a d e d   o n t o   e v e r y   N o d e .   A n   a l t e r n a t i v e   a p p r o a c h   i s   t o   a d d   a   N o d e   l a b e l   f o r   e a c h   p r o f i l e   ( o r   c l a s s   o f   p r o f i l e s )   o n   t h e   N o d e ,   a n d   u s e   a   n o d e   s e l e c t o r   t o   e n s u r e   t h e   P o d   i s   r u n   o n   a   N o d e   w i t h   t h e   r e q u i r e d   p r o f i l e .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/apparmor/",
    "id": "k8s_00119_section_3_1889"
  },
  {
    "question": "What is Authoring Profiles?",
    "answer": "G e t t i n g   A p p A r m o r   p r o f i l e s   s p e c i f i e d   c o r r e c t l y   c a n   b e   a   t r i c k y   b u s i n e s s .   F o r t u n a t e l y   t h e r e   a r e   s o m e   t o o l s   t o   h e l p   w i t h   t h a t :   a a - g e n p r o f   a n d   a a - l o g p r o f   g e n e r a t e   p r o f i l e   r u l e s   b y   m o n i t o r i n g   a n   a p p l i c a t i o n ' s   a c t i v i t y   a n d   l o g s ,   a n d   a d m i t t i n g   t h e   a c t i o n s   i t   t a k e s .   F u r t h e r   i n s t r u c t i o n s   a r e   p r o v i d e d   b y   t h e   A p p A r m o r   d o c u m e n t a t i o n . b a n e   i s   a n   A p p A r m o r   p r o f i l e   g e n e r a t o r   f o r   D o c k e r   t h a t   u s e s   a   s i m p l i f i e d   p r o f i l e   l a n g u a g e .   T o   d e b u g   p r o b l e m s   w i t h   A p p A r m o r ,   y o u   c a n   c h e c k   t h e   s y s t e m   l o g s   t o   s e e   w h a t ,   s p e c i f i c a l l y ,   w a s   d e n i e d .   A p p A r m o r   l o g s   v e r b o s e   m e s s a g e s   t o   d m e s g ,   a n d   e r r o r s   c a n   u s u a l l y   b e   f o u n d   i n   t h e   s y s t e m   l o g s   o r   t h r o u g h   j o u r n a l c t l .   M o r e   i n f o r m a t i o n   i s   p r o v i d e d   i n   A p p A r m o r   f a i l u r e s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/apparmor/",
    "id": "k8s_00119_section_2_1890"
  },
  {
    "question": "What is AppArmor profile within security context?",
    "answer": "Y o u   c a n   s p e c i f y   t h e   a p p A r m o r P r o f i l e   o n   e i t h e r   a   c o n t a i n e r ' s   s e c u r i t y C o n t e x t   o r   o n   a   P o d ' s   s e c u r i t y C o n t e x t .   I f   t h e   p r o f i l e   i s   s e t   a t   t h e   p o d   l e v e l ,   i t   w i l l   b e   u s e d   a s   t h e   d e f a u l t   p r o f i l e   f o r   a l l   c o n t a i n e r s   i n   t h e   p o d   ( i n c l u d i n g   i n i t ,   s i d e c a r ,   a n d   e p h e m e r a l   c o n t a i n e r s ) .   I f   b o t h   a   p o d   &   c o n t a i n e r   A p p A r m o r   p r o f i l e   a r e   s e t ,   t h e   c o n t a i n e r ' s   p r o f i l e   w i l l   b e   u s e d .   A n   A p p A r m o r   p r o f i l e   h a s   2   f i e l d s :   t y p e   ( r e q u i r e d )   -   i n d i c a t e s   w h i c h   k i n d   o f   A p p A r m o r   p r o f i l e   w i l l   b e   a p p l i e d .   V a l i d   o p t i o n s   a r e :   l o c a l h o s t P r o f i l e   -   T h e   n a m e   o f   a   p r o f i l e   l o a d e d   o n   t h e   n o d e   t h a t   s h o u l d   b e   u s e d .   T h e   p r o f i l e   m u s t   b e   p r e c o n f i g u r e d   o n   t h e   n o d e   t o   w o r k .   T h i s   o p t i o n   m u s t   b e   p r o v i d e d   i f   a n d   o n l y   i f   t h e   t y p e   i s   L o c a l h o s t .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/apparmor/",
    "id": "k8s_00119_section_3_1891"
  },
  {
    "question": "What is What's next?",
    "answer": "A d d i t i o n a l   r e s o u r c e s :   Q u i c k   g u i d e   t o   t h e   A p p A r m o r   p r o f i l e   l a n g u a g e A p p A r m o r   c o r e   p o l i c y   r e f e r e n c e",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/apparmor/",
    "id": "k8s_00119_section_2_1892"
  },
  {
    "question": "What is Storage?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.StorageWays to provide both long-term and temporary storage to Pods in your cluster.1: Volumes2: Persistent Volumes3: Projected Volumes4: Ephemeral Volumes5: Storage Classes6: Volume Attributes Classes7: Dynamic Volume Provisioning8: Volume Snapshots9: Volume Snapshot Classes10: CSI Volume Cloning11: Storage Capacity12: Node-specific Volume Limits13: Volume Health Monitoring14: Windows Storage1 - VolumesKubernetes volumes provide a way for containers in a pod to access and share data via the filesystem. There are different kinds of volume that you can use for different purposes, such as:populating a configuration file based on a ConfigMap or a Secretproviding some temporary scratch space for a podsharing a filesystem between two different containers in the same podsharing a filesystem between two different pods (even if those Pods run on different nodes)durably storing data so that it stays available even if the Pod restarts or is replacedpassing configuration information to an app running in a container, based on details of the Pod the container is in (for example: telling a sidecar container what namespace the Pod is running in)providing read-only access to data in a different container imageData sharing can be between different local processes within a container, or between different containers, or between Pods.Why volumes are importantData persistence: On-disk files in a container are ephemeral, which presents some problems for non-trivial applications when running in containers. One problem occurs when a container crashes or is stopped, the container state is not saved so all of the files that were created or modified during the lifetime of the container are lost. After a crash, kubelet restarts the container with a clean state.Shared storage: Another problem occurs when multiple containers are running in a Pod and need to share files. It can be challenging to set up and access a shared filesystem across all of the containers.The Kubernetes volume abstraction can help you to solve both of these problems.Before you learn about volumes, PersistentVolumes and PersistentVolumeClaims, you should read up about Pods and make sure that you understand how Kubernetes uses Pods to run containers.How volumes workKubernetes supports many types of volumes. A Pod can use any number of volume types simultaneously. Ephemeral volume types have a lifetime linked to a specific Pod, but persistent volumes exist beyond the lifetime of any individual pod. When a pod ceases to exist, Kubernetes destroys ephemeral volumes; however, Kubernetes does not destroy persistent volumes. For any kind of volume in a given pod, data is preserved across container restarts.At its core, a volume is a directory, possibly with some data in it, which is accessible to the containers in a pod. How that directory comes to be, the medium that backs it, and the contents of i",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_qa_1893"
  },
  {
    "question": "How does Storage work?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.StorageWays to provide both long-term and temporary storage to Pods in your cluster.1: Volumes2: Persistent Volumes3: Projected Volumes4: Ephemeral Volumes5: Storage Classes6: Volume Attributes Classes7: Dynamic Volume Provisioning8: Volume Snapshots9: Volume Snapshot Classes10: CSI Volume Cloning11: Storage Capacity12: Node-specific Volume Limits13: Volume Health Monitoring14: Windows Storage1 - VolumesKubernetes volumes provide a way for containers in a pod to access and share data via the filesystem. There are different kinds of volume that you can use for different purposes, such as:populating a configuration file based on a ConfigMap or a Secretproviding some temporary scratch space for a podsharing a filesystem between two different containers in the same podsharing a filesystem between two different pods (even if those Pods run on different nodes)durably storing data so that it stays available even if the Pod restarts or is replacedpassing configuration information to an app running in a container, based on details of the Pod the container is in (for example: telling a sidecar container what namespace the Pod is running in)providing read-only access to data in a different container imageData sharing can be between different local processes within a container, or between different containers, or between Pods.Why volumes are importantData persistence: On-disk files in a container are ephemeral, which presents some problems for non-trivial applications when running in containers. One problem occurs when a container crashes or is stopped, the container state is not saved so all of the files that were created or modified during the lifetime of the container are lost. After a crash, kubelet restarts the container with a clean state.Shared storage: Another problem occurs when multiple containers are running in a Pod and need to share files. It can be challenging to set up and access a shared filesystem across all of the containers.The Kubernetes volume abstraction can help you to solve both of these problems.Before you learn about volumes, PersistentVolumes and PersistentVolumeClaims, you should read up about Pods and make sure that you understand how Kubernetes uses Pods to run containers.How volumes workKubernetes supports many types of volumes. A Pod can use any number of volume types simultaneously. Ephemeral volume types have a lifetime linked to a specific Pod, but persistent volumes exist beyond the lifetime of any individual pod. When a pod ceases to exist, Kubernetes destroys ephemeral volumes; however, Kubernetes does not destroy persistent volumes. For any kind of volume in a given pod, data is preserved across container restarts.At its core, a volume is a directory, possibly with some data in it, which is accessible to the containers in a pod. How that directory comes to be, the medium that backs it, and the contents of i",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_qa_1894"
  },
  {
    "question": "When would you use Storage?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.StorageWays to provide both long-term and temporary storage to Pods in your cluster.1: Volumes2: Persistent Volumes3: Projected Volumes4: Ephemeral Volumes5: Storage Classes6: Volume Attributes Classes7: Dynamic Volume Provisioning8: Volume Snapshots9: Volume Snapshot Classes10: CSI Volume Cloning11: Storage Capacity12: Node-specific Volume Limits13: Volume Health Monitoring14: Windows Storage1 - VolumesKubernetes volumes provide a way for containers in a pod to access and share data via the filesystem. There are different kinds of volume that you can use for different purposes, such as:populating a configuration file based on a ConfigMap or a Secretproviding some temporary scratch space for a podsharing a filesystem between two different containers in the same podsharing a filesystem between two different pods (even if those Pods run on different nodes)durably storing data so that it stays available even if the Pod restarts or is replacedpassing configuration information to an app running in a container, based on details of the Pod the container is in (for example: telling a sidecar container what namespace the Pod is running in)providing read-only access to data in a different container imageData sharing can be between different local processes within a container, or between different containers, or between Pods.Why volumes are importantData persistence: On-disk files in a container are ephemeral, which presents some problems for non-trivial applications when running in containers. One problem occurs when a container crashes or is stopped, the container state is not saved so all of the files that were created or modified during the lifetime of the container are lost. After a crash, kubelet restarts the container with a clean state.Shared storage: Another problem occurs when multiple containers are running in a Pod and need to share files. It can be challenging to set up and access a shared filesystem across all of the containers.The Kubernetes volume abstraction can help you to solve both of these problems.Before you learn about volumes, PersistentVolumes and PersistentVolumeClaims, you should read up about Pods and make sure that you understand how Kubernetes uses Pods to run containers.How volumes workKubernetes supports many types of volumes. A Pod can use any number of volume types simultaneously. Ephemeral volume types have a lifetime linked to a specific Pod, but persistent volumes exist beyond the lifetime of any individual pod. When a pod ceases to exist, Kubernetes destroys ephemeral volumes; however, Kubernetes does not destroy persistent volumes. For any kind of volume in a given pod, data is preserved across container restarts.At its core, a volume is a directory, possibly with some data in it, which is accessible to the containers in a pod. How that directory comes to be, the medium that backs it, and the contents of i",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_qa_1895"
  },
  {
    "question": "What are the benefits of Storage?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.StorageWays to provide both long-term and temporary storage to Pods in your cluster.1: Volumes2: Persistent Volumes3: Projected Volumes4: Ephemeral Volumes5: Storage Classes6: Volume Attributes Classes7: Dynamic Volume Provisioning8: Volume Snapshots9: Volume Snapshot Classes10: CSI Volume Cloning11: Storage Capacity12: Node-specific Volume Limits13: Volume Health Monitoring14: Windows Storage1 - VolumesKubernetes volumes provide a way for containers in a pod to access and share data via the filesystem. There are different kinds of volume that you can use for different purposes, such as:populating a configuration file based on a ConfigMap or a Secretproviding some temporary scratch space for a podsharing a filesystem between two different containers in the same podsharing a filesystem between two different pods (even if those Pods run on different nodes)durably storing data so that it stays available even if the Pod restarts or is replacedpassing configuration information to an app running in a container, based on details of the Pod the container is in (for example: telling a sidecar container what namespace the Pod is running in)providing read-only access to data in a different container imageData sharing can be between different local processes within a container, or between different containers, or between Pods.Why volumes are importantData persistence: On-disk files in a container are ephemeral, which presents some problems for non-trivial applications when running in containers. One problem occurs when a container crashes or is stopped, the container state is not saved so all of the files that were created or modified during the lifetime of the container are lost. After a crash, kubelet restarts the container with a clean state.Shared storage: Another problem occurs when multiple containers are running in a Pod and need to share files. It can be challenging to set up and access a shared filesystem across all of the containers.The Kubernetes volume abstraction can help you to solve both of these problems.Before you learn about volumes, PersistentVolumes and PersistentVolumeClaims, you should read up about Pods and make sure that you understand how Kubernetes uses Pods to run containers.How volumes workKubernetes supports many types of volumes. A Pod can use any number of volume types simultaneously. Ephemeral volume types have a lifetime linked to a specific Pod, but persistent volumes exist beyond the lifetime of any individual pod. When a pod ceases to exist, Kubernetes destroys ephemeral volumes; however, Kubernetes does not destroy persistent volumes. For any kind of volume in a given pod, data is preserved across container restarts.At its core, a volume is a directory, possibly with some data in it, which is accessible to the containers in a pod. How that directory comes to be, the medium that backs it, and the contents of i",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_qa_1896"
  },
  {
    "question": "What is Storage?",
    "answer": "1 :   V o l u m e s 2 :   P e r s i s t e n t   V o l u m e s 3 :   P r o j e c t e d   V o l u m e s 4 :   E p h e m e r a l   V o l u m e s 5 :   S t o r a g e   C l a s s e s 6 :   V o l u m e   A t t r i b u t e s   C l a s s e s 7 :   D y n a m i c   V o l u m e   P r o v i s i o n i n g 8 :   V o l u m e   S n a p s h o t s 9 :   V o l u m e   S n a p s h o t   C l a s s e s 1 0 :   C S I   V o l u m e   C l o n i n g 1 1 :   S t o r a g e   C a p a c i t y 1 2 :   N o d e - s p e c i f i c   V o l u m e   L i m i t s 1 3 :   V o l u m e   H e a l t h   M o n i t o r i n g 1 4 :   W i n d o w s   S t o r a g e",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_1_1897"
  },
  {
    "question": "What is 1 - Volumes?",
    "answer": "K u b e r n e t e s   v o l u m e s   p r o v i d e   a   w a y   f o r   c o n t a i n e r s   i n   a   p o d   t o   a c c e s s   a n d   s h a r e   d a t a   v i a   t h e   f i l e s y s t e m .   T h e r e   a r e   d i f f e r e n t   k i n d s   o f   v o l u m e   t h a t   y o u   c a n   u s e   f o r   d i f f e r e n t   p u r p o s e s ,   s u c h   a s :   p o p u l a t i n g   a   c o n f i g u r a t i o n   f i l e   b a s e d   o n   a   C o n f i g M a p   o r   a   S e c r e t p r o v i d i n g   s o m e   t e m p o r a r y   s c r a t c h   s p a c e   f o r   a   p o d s h a r i n g   a   f i l e s y s t e m   b e t w e e n   t w o   d i f f e r e n t   c o n t a i n e r s   i n   t h e   s a m e   p o d s h a r i n g   a   f i l e s y s t e m   b e t w e e n   t w o   d i f f e r e n t   p o d s   ( e v e n   i f   t h o s e   P o d s   r u n   o n   d i f f e r e n t   n o d e s ) d u r a b l y   s t o r i n g   d a t a   s o   t h a t   i t   s t a y s   a v a i l a b l e   e v e n   i f   t h e   P o d   r e s t a r t s   o r   i s   r e p l a c e d p a s s i n g   c o n f i g u r a t i o n   i n f o r m a t i o n   t o   a n   a p p   r u n n i n g   i n   a   c o n t a i n e r ,   b a s e d   o n   d e t a i l s   o f   t h e   P o d   t h e   c o n t a i n e r   i s   i n   ( f o r   e x a m p l e :   t e l l i n g   a   s i d e c a r   c o n t a i n e r   w h a t   n a m e s p a c e   t h e   P o d   i s   r u n n i n g   i n ) p r o v i d i n g   r e a d - o n l y   a c c e s s   t o   d a t a   i n   a   d i f f e r e n t   c o n t a i n e r   i m a g e   D a t a   s h a r i n g   c a n   b e   b e t w e e n   d i f f e r e n t   l o c a l   p r o c e s s e s   w i t h i n   a   c o n t a i n e r ,   o r   b e t w e e n   d i f f e r e n t   c o n t a i n e r s ,   o r   b e t w e e n   P o d s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_1_1898"
  },
  {
    "question": "What is Why volumes are important?",
    "answer": "D a t a   p e r s i s t e n c e :   O n - d i s k   f i l e s   i n   a   c o n t a i n e r   a r e   e p h e m e r a l ,   w h i c h   p r e s e n t s   s o m e   p r o b l e m s   f o r   n o n - t r i v i a l   a p p l i c a t i o n s   w h e n   r u n n i n g   i n   c o n t a i n e r s .   O n e   p r o b l e m   o c c u r s   w h e n   a   c o n t a i n e r   c r a s h e s   o r   i s   s t o p p e d ,   t h e   c o n t a i n e r   s t a t e   i s   n o t   s a v e d   s o   a l l   o f   t h e   f i l e s   t h a t   w e r e   c r e a t e d   o r   m o d i f i e d   d u r i n g   t h e   l i f e t i m e   o f   t h e   c o n t a i n e r   a r e   l o s t .   A f t e r   a   c r a s h ,   k u b e l e t   r e s t a r t s   t h e   c o n t a i n e r   w i t h   a   c l e a n   s t a t e . S h a r e d   s t o r a g e :   A n o t h e r   p r o b l e m   o c c u r s   w h e n   m u l t i p l e   c o n t a i n e r s   a r e   r u n n i n g   i n   a   P o d   a n d   n e e d   t o   s h a r e   f i l e s .   I t   c a n   b e   c h a l l e n g i n g   t o   s e t   u p   a n d   a c c e s s   a   s h a r e d   f i l e s y s t e m   a c r o s s   a l l   o f   t h e   c o n t a i n e r s .   D a t a   p e r s i s t e n c e :   O n - d i s k   f i l e s   i n   a   c o n t a i n e r   a r e   e p h e m e r a l ,   w h i c h   p r e s e n t s   s o m e   p r o b l e m s   f o r   n o n - t r i v i a l   a p p l i c a t i o n s   w h e n   r u n n i n g   i n   c o n t a i n e r s .   O n e   p r o b l e m   o c c u r s   w h e n   a   c o n t a i n e r   c r a s h e s   o r   i s   s t o p p e d ,   t h e   c o n t a i n e r   s t a t e   i s   n o t   s a v e d   s o   a l l   o f   t h e   f i l e s   t h a t   w e r e   c r e a t e d   o r   m o d i f i e d   d u r i n g   t h e   l i f e t i m e   o f   t h e   c o n t a i n e r   a r e   l o s t .   A f t e r   a   c r a s h ,   k u b e l e t   r e s t a r t s   t h e   c o n t a i n e r   w i t h   a   c l e a n ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_1899"
  },
  {
    "question": "What is How volumes work?",
    "answer": "K u b e r n e t e s   s u p p o r t s   m a n y   t y p e s   o f   v o l u m e s .   A   P o d   c a n   u s e   a n y   n u m b e r   o f   v o l u m e   t y p e s   s i m u l t a n e o u s l y .   E p h e m e r a l   v o l u m e   t y p e s   h a v e   a   l i f e t i m e   l i n k e d   t o   a   s p e c i f i c   P o d ,   b u t   p e r s i s t e n t   v o l u m e s   e x i s t   b e y o n d   t h e   l i f e t i m e   o f   a n y   i n d i v i d u a l   p o d .   W h e n   a   p o d   c e a s e s   t o   e x i s t ,   K u b e r n e t e s   d e s t r o y s   e p h e m e r a l   v o l u m e s ;   h o w e v e r ,   K u b e r n e t e s   d o e s   n o t   d e s t r o y   p e r s i s t e n t   v o l u m e s .   F o r   a n y   k i n d   o f   v o l u m e   i n   a   g i v e n   p o d ,   d a t a   i s   p r e s e r v e d   a c r o s s   c o n t a i n e r   r e s t a r t s .   A t   i t s   c o r e ,   a   v o l u m e   i s   a   d i r e c t o r y ,   p o s s i b l y   w i t h   s o m e   d a t a   i n   i t ,   w h i c h   i s   a c c e s s i b l e   t o   t h e   c o n t a i n e r s   i n   a   p o d .   H o w   t h a t   d i r e c t o r y   c o m e s   t o   b e ,   t h e   m e d i u m   t h a t   b a c k s   i t ,   a n d   t h e   c o n t e n t s   o f   i t   a r e   d e t e r m i n e d   b y   t h e   p a r t i c u l a r   v o l u m e   t y p e   u s e d .   T o   u s e   a   v o l u m e ,   s p e c i f y   t h e   v o l u m e s   t o   p r o v i d e   f o r   t h e   P o d   i n   . s p e c . v o l u m e s   a n d   d e c l a r e   w h e r e   t o   m o u n t   t h o s e   v o l u m e s   i n t o   c o n t a i n e r s   i n   . s p e c . c o n t a i n e r s [ * ] . v o l u m e M o u n t s .   W h e n   a   p o d   i s   l a u n c h e d ,   a   p r o c e s s   i n   t h e   c o n t a i n e r   s e e s   a   f i l e s y s t e m   v i e w   c o m p o s e d   f r o m   t h e   i n i t i a l   c o n t e n t s   o f   t h e   c o n t a i n e r   i m a g e ,   p l ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_1900"
  },
  {
    "question": "What is Types of volumes?",
    "answer": "K u b e r n e t e s   s u p p o r t s   s e v e r a l   t y p e s   o f   v o l u m e s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_1901"
  },
  {
    "question": "What is awsElasticBlockStore (deprecated)?",
    "answer": "I n   K u b e r n e t e s   1 . 3 4 ,   a l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   a w s E l a s t i c B l o c k S t o r e   t y p e   a r e   r e d i r e c t e d   t o   t h e   e b s . c s i . a w s . c o m   C S I   d r i v e r .   T h e   A W S E l a s t i c B l o c k S t o r e   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 1 9   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 2 7   r e l e a s e .   T h e   K u b e r n e t e s   p r o j e c t   s u g g e s t s   t h a t   y o u   u s e   t h e   A W S   E B S   t h i r d   p a r t y   s t o r a g e   d r i v e r   i n s t e a d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1902"
  },
  {
    "question": "What is azureDisk (deprecated)?",
    "answer": "I n   K u b e r n e t e s   1 . 3 4 ,   a l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   a z u r e D i s k   t y p e   a r e   r e d i r e c t e d   t o   t h e   d i s k . c s i . a z u r e . c o m   C S I   d r i v e r .   T h e   A z u r e D i s k   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 1 9   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 2 7   r e l e a s e .   T h e   K u b e r n e t e s   p r o j e c t   s u g g e s t s   t h a t   y o u   u s e   t h e   A z u r e   D i s k   t h i r d   p a r t y   s t o r a g e   d r i v e r   i n s t e a d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1903"
  },
  {
    "question": "What is azureFile (deprecated)?",
    "answer": "I n   K u b e r n e t e s   1 . 3 4 ,   a l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   a z u r e F i l e   t y p e   a r e   r e d i r e c t e d   t o   t h e   f i l e . c s i . a z u r e . c o m   C S I   d r i v e r .   T h e   A z u r e F i l e   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 2 1   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 3 0   r e l e a s e .   T h e   K u b e r n e t e s   p r o j e c t   s u g g e s t s   t h a t   y o u   u s e   t h e   A z u r e   F i l e   t h i r d   p a r t y   s t o r a g e   d r i v e r   i n s t e a d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1904"
  },
  {
    "question": "What is cephfs (removed)?",
    "answer": "K u b e r n e t e s   1 . 3 4   d o e s   n o t   i n c l u d e   a   c e p h f s   v o l u m e   t y p e .   T h e   c e p h f s   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 2 8   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 3 1   r e l e a s e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1905"
  },
  {
    "question": "What is cinder (deprecated)?",
    "answer": "I n   K u b e r n e t e s   1 . 3 4 ,   a l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   c i n d e r   t y p e   a r e   r e d i r e c t e d   t o   t h e   c i n d e r . c s i . o p e n s t a c k . o r g   C S I   d r i v e r .   T h e   O p e n S t a c k   C i n d e r   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 1 1   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 2 6   r e l e a s e .   T h e   K u b e r n e t e s   p r o j e c t   s u g g e s t s   t h a t   y o u   u s e   t h e   O p e n S t a c k   C i n d e r   t h i r d   p a r t y   s t o r a g e   d r i v e r   i n s t e a d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1906"
  },
  {
    "question": "What is configMap?",
    "answer": "A   C o n f i g M a p   p r o v i d e s   a   w a y   t o   i n j e c t   c o n f i g u r a t i o n   d a t a   i n t o   p o d s .   T h e   d a t a   s t o r e d   i n   a   C o n f i g M a p   c a n   b e   r e f e r e n c e d   i n   a   v o l u m e   o f   t y p e   c o n f i g M a p   a n d   t h e n   c o n s u m e d   b y   c o n t a i n e r i z e d   a p p l i c a t i o n s   r u n n i n g   i n   a   p o d .   W h e n   r e f e r e n c i n g   a   C o n f i g M a p ,   y o u   p r o v i d e   t h e   n a m e   o f   t h e   C o n f i g M a p   i n   t h e   v o l u m e .   Y o u   c a n   c u s t o m i z e   t h e   p a t h   t o   u s e   f o r   a   s p e c i f i c   e n t r y   i n   t h e   C o n f i g M a p .   T h e   f o l l o w i n g   c o n f i g u r a t i o n   s h o w s   h o w   t o   m o u n t   t h e   l o g - c o n f i g   C o n f i g M a p   o n t o   a   P o d   c a l l e d   c o n f i g m a p - p o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o n f i g m a p - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   ' e c h o   \" T h e   a p p   i s   r u n n i n g ! \"   & &   t a i l   - f   / d e v / n u l l ' ]   v o l u m e M o u n t s :   -   n a m e :   c o n f i g - v o l   m o u n t P a t h :   / e t c / c o n f i g   v o l u m e s :   -   n a m e :   c o n f i g - v o l   c o n f i g M a p :   n a m e :   l o g - c o n f i g   i t e m s :   -   k e y :   l o g _ l e v e l   p a t h :   l o g _ l e v e l . c o n f   T h e   l o g - c o n f i g   C o n f i g M a p   i s   m o u n t e d   a s   a   v o l u m e ,   a n d   a l l   c o n t e n t s   s t o r e d   i n   i t s   l o g _ l e v e l   e n t r y   a r e   m o u n t e d   i n t o   t h e   P o d   a t   p a t h   / e t c / c o n f i g / l o g _ l e v e l . c o n f .   N o t e   t h a t   t h i s   p a t h   i s   d e r i v e d   f r o ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1907"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   m u s t   c r e a t e   a   C o n f i g M a p   b e f o r e   y o u   c a n   u s e   i t . A   C o n f i g M a p   i s   a l w a y s   m o u n t e d   a s   r e a d O n l y . A   c o n t a i n e r   u s i n g   a   C o n f i g M a p   a s   a   s u b P a t h   v o l u m e   m o u n t   w i l l   n o t   r e c e i v e   u p d a t e s   w h e n   t h e   C o n f i g M a p   c h a n g e s . T e x t   d a t a   i s   e x p o s e d   a s   f i l e s   u s i n g   t h e   U T F - 8   c h a r a c t e r   e n c o d i n g .   F o r   o t h e r   c h a r a c t e r   e n c o d i n g s ,   u s e   b i n a r y D a t a .   Y o u   m u s t   c r e a t e   a   C o n f i g M a p   b e f o r e   y o u   c a n   u s e   i t .   A   C o n f i g M a p   i s   a l w a y s   m o u n t e d   a s   r e a d O n l y .   A   c o n t a i n e r   u s i n g   a   C o n f i g M a p   a s   a   s u b P a t h   v o l u m e   m o u n t   w i l l   n o t   r e c e i v e   u p d a t e s   w h e n   t h e   C o n f i g M a p   c h a n g e s .   T e x t   d a t a   i s   e x p o s e d   a s   f i l e s   u s i n g   t h e   U T F - 8   c h a r a c t e r   e n c o d i n g .   F o r   o t h e r   c h a r a c t e r   e n c o d i n g s ,   u s e   b i n a r y D a t a .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1908"
  },
  {
    "question": "What is downwardAPI?",
    "answer": "A   d o w n w a r d A P I   v o l u m e   m a k e s   d o w n w a r d   A P I   d a t a   a v a i l a b l e   t o   a p p l i c a t i o n s .   W i t h i n   t h e   v o l u m e ,   y o u   c a n   f i n d   t h e   e x p o s e d   d a t a   a s   r e a d - o n l y   f i l e s   i n   p l a i n   t e x t   f o r m a t .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1909"
  },
  {
    "question": "What is Note:?",
    "answer": "S e e   E x p o s e   P o d   I n f o r m a t i o n   t o   C o n t a i n e r s   T h r o u g h   F i l e s   t o   l e a r n   m o r e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1910"
  },
  {
    "question": "What is emptyDir?",
    "answer": "F o r   a   P o d   t h a t   d e f i n e s   a n   e m p t y D i r   v o l u m e ,   t h e   v o l u m e   i s   c r e a t e d   w h e n   t h e   P o d   i s   a s s i g n e d   t o   a   n o d e .   A s   t h e   n a m e   s a y s ,   t h e   e m p t y D i r   v o l u m e   i s   i n i t i a l l y   e m p t y .   A l l   c o n t a i n e r s   i n   t h e   P o d   c a n   r e a d   a n d   w r i t e   t h e   s a m e   f i l e s   i n   t h e   e m p t y D i r   v o l u m e ,   t h o u g h   t h a t   v o l u m e   c a n   b e   m o u n t e d   a t   t h e   s a m e   o r   d i f f e r e n t   p a t h s   i n   e a c h   c o n t a i n e r .   W h e n   a   P o d   i s   r e m o v e d   f r o m   a   n o d e   f o r   a n y   r e a s o n ,   t h e   d a t a   i n   t h e   e m p t y D i r   i s   d e l e t e d   p e r m a n e n t l y .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1911"
  },
  {
    "question": "What is Note:?",
    "answer": "S o m e   u s e s   f o r   a n   e m p t y D i r   a r e :   s c r a t c h   s p a c e ,   s u c h   a s   f o r   a   d i s k - b a s e d   m e r g e   s o r t c h e c k p o i n t i n g   a   l o n g   c o m p u t a t i o n   f o r   r e c o v e r y   f r o m   c r a s h e s h o l d i n g   f i l e s   t h a t   a   c o n t e n t - m a n a g e r   c o n t a i n e r   f e t c h e s   w h i l e   a   w e b s e r v e r   c o n t a i n e r   s e r v e s   t h e   d a t a   T h e   e m p t y D i r . m e d i u m   f i e l d   c o n t r o l s   w h e r e   e m p t y D i r   v o l u m e s   a r e   s t o r e d .   B y   d e f a u l t   e m p t y D i r   v o l u m e s   a r e   s t o r e d   o n   w h a t e v e r   m e d i u m   t h a t   b a c k s   t h e   n o d e   s u c h   a s   d i s k ,   S S D ,   o r   n e t w o r k   s t o r a g e ,   d e p e n d i n g   o n   y o u r   e n v i r o n m e n t .   I f   y o u   s e t   t h e   e m p t y D i r . m e d i u m   f i e l d   t o   \" M e m o r y \" ,   K u b e r n e t e s   m o u n t s   a   t m p f s   ( R A M - b a c k e d   f i l e s y s t e m )   f o r   y o u   i n s t e a d .   W h i l e   t m p f s   i s   v e r y   f a s t ,   b e   a w a r e   t h a t ,   u n l i k e   d i s k s ,   f i l e s   y o u   w r i t e   c o u n t   a g a i n s t   t h e   m e m o r y   l i m i t   o f   t h e   c o n t a i n e r   t h a t   w r o t e   t h e m .   A   s i z e   l i m i t   c a n   b e   s p e c i f i e d   f o r   t h e   d e f a u l t   m e d i u m ,   w h i c h   l i m i t s   t h e   c a p a c i t y   o f   t h e   e m p t y D i r   v o l u m e .   T h e   s t o r a g e   i s   a l l o c a t e d   f r o m   n o d e   e p h e m e r a l   s t o r a g e .   I f   t h a t   i s   f i l l e d   u p   f r o m   a n o t h e r   s o u r c e   ( f o r   e x a m p l e ,   l o g   f i l e s   o r   i m a g e   o v e r l a y s ) ,   t h e   e m p t y D i r   m a y   r u n   o u t   o f   c a p a c i t y   b e f o r e   t h i s ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1912"
  },
  {
    "question": "What is emptyDir configuration example?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t - p d   s p e c :   c o n t a i n e r s :   -   i m a g e :   r e g i s t r y . k 8 s . i o / t e s t - w e b s e r v e r   n a m e :   t e s t - c o n t a i n e r   v o l u m e M o u n t s :   -   m o u n t P a t h :   / c a c h e   n a m e :   c a c h e - v o l u m e   v o l u m e s :   -   n a m e :   c a c h e - v o l u m e   e m p t y D i r :   s i z e L i m i t :   5 0 0 M i",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1913"
  },
  {
    "question": "What is emptyDir memory configuration example?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t - p d   s p e c :   c o n t a i n e r s :   -   i m a g e :   r e g i s t r y . k 8 s . i o / t e s t - w e b s e r v e r   n a m e :   t e s t - c o n t a i n e r   v o l u m e M o u n t s :   -   m o u n t P a t h :   / c a c h e   n a m e :   c a c h e - v o l u m e   v o l u m e s :   -   n a m e :   c a c h e - v o l u m e   e m p t y D i r :   s i z e L i m i t :   5 0 0 M i   m e d i u m :   M e m o r y",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1914"
  },
  {
    "question": "What is fc (fibre channel)?",
    "answer": "A n   f c   v o l u m e   t y p e   a l l o w s   a n   e x i s t i n g   f i b r e   c h a n n e l   b l o c k   s t o r a g e   v o l u m e   t o   b e   m o u n t e d   i n   a   P o d .   Y o u   c a n   s p e c i f y   s i n g l e   o r   m u l t i p l e   t a r g e t   w o r l d   w i d e   n a m e s   ( W W N s )   u s i n g   t h e   p a r a m e t e r   t a r g e t W W N s   i n   y o u r   V o l u m e   c o n f i g u r a t i o n .   I f   m u l t i p l e   W W N s   a r e   s p e c i f i e d ,   t a r g e t W W N s   e x p e c t   t h a t   t h o s e   W W N s   a r e   f r o m   m u l t i - p a t h   c o n n e c t i o n s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1915"
  },
  {
    "question": "What is gcePersistentDisk (deprecated)?",
    "answer": "I n   K u b e r n e t e s   1 . 3 4 ,   a l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   g c e P e r s i s t e n t D i s k   t y p e   a r e   r e d i r e c t e d   t o   t h e   p d . c s i . s t o r a g e . g k e . i o   C S I   d r i v e r .   T h e   g c e P e r s i s t e n t D i s k   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 1 7   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 2 8   r e l e a s e .   T h e   K u b e r n e t e s   p r o j e c t   s u g g e s t s   t h a t   y o u   u s e   t h e   G o o g l e   C o m p u t e   E n g i n e   P e r s i s t e n t   D i s k   C S I   t h i r d   p a r t y   s t o r a g e   d r i v e r   i n s t e a d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1916"
  },
  {
    "question": "What is Warning:?",
    "answer": "T h e   g i t R e p o   v o l u m e   p l u g i n   i s   d e p r e c a t e d   a n d   i s   d i s a b l e d   b y   d e f a u l t .   T o   p r o v i s i o n   a   P o d   t h a t   h a s   a   G i t   r e p o s i t o r y   m o u n t e d ,   y o u   c a n   m o u n t   a n   e m p t y D i r   v o l u m e   i n t o   a n   i n i t   c o n t a i n e r   t h a t   c l o n e s   t h e   r e p o   u s i n g   G i t ,   t h e n   m o u n t   t h e   E m p t y D i r   i n t o   t h e   P o d ' s   c o n t a i n e r .   Y o u   c a n   r e s t r i c t   t h e   u s e   o f   g i t R e p o   v o l u m e s   i n   y o u r   c l u s t e r   u s i n g   p o l i c i e s ,   s u c h   a s   V a l i d a t i n g A d m i s s i o n P o l i c y .   Y o u   c a n   u s e   t h e   f o l l o w i n g   C o m m o n   E x p r e s s i o n   L a n g u a g e   ( C E L )   e x p r e s s i o n   a s   p a r t   o f   a   p o l i c y   t o   r e j e c t   u s e   o f   g i t R e p o   v o l u m e s :   ! h a s ( o b j e c t . s p e c . v o l u m e s )   | |   ! o b j e c t . s p e c . v o l u m e s . e x i s t s ( v ,   h a s ( v . g i t R e p o ) )   Y o u   c a n   u s e   t h i s   d e p r e c a t e d   s t o r a g e   p l u g i n   i n   y o u r   c l u s t e r   i f   y o u   e x p l i c i t l y   e n a b l e   t h e   G i t R e p o V o l u m e D r i v e r   f e a t u r e   g a t e .   A   g i t R e p o   v o l u m e   i s   a n   e x a m p l e   o f   a   v o l u m e   p l u g i n .   T h i s   p l u g i n   m o u n t s   a n   e m p t y   d i r e c t o r y   a n d   c l o n e s   a   g i t   r e p o s i t o r y   i n t o   t h i s   d i r e c t o r y   f o r   y o u r   P o d   t o   u s e .   H e r e   i s   a n   e x a m p l e   o f   a   g i t R e p o   v o l u m e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s e r v e r   s p e c :   c o n t a i n e r s :   -   i m a g e :   n g i n x   n a m e :   n g i n x   v o l u m e M o u n t s :   -   ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1917"
  },
  {
    "question": "What is glusterfs (removed)?",
    "answer": "K u b e r n e t e s   1 . 3 4   d o e s   n o t   i n c l u d e   a   g l u s t e r f s   v o l u m e   t y p e .   T h e   G l u s t e r F S   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 2 5   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 2 6   r e l e a s e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1918"
  },
  {
    "question": "What is hostPath?",
    "answer": "A   h o s t P a t h   v o l u m e   m o u n t s   a   f i l e   o r   d i r e c t o r y   f r o m   t h e   h o s t   n o d e ' s   f i l e s y s t e m   i n t o   y o u r   P o d .   T h i s   i s   n o t   s o m e t h i n g   t h a t   m o s t   P o d s   w i l l   n e e d ,   b u t   i t   o f f e r s   a   p o w e r f u l   e s c a p e   h a t c h   f o r   s o m e   a p p l i c a t i o n s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1919"
  },
  {
    "question": "What is Warning:?",
    "answer": "U s i n g   t h e   h o s t P a t h   v o l u m e   t y p e   p r e s e n t s   m a n y   s e c u r i t y   r i s k s .   I f   y o u   c a n   a v o i d   u s i n g   a   h o s t P a t h   v o l u m e ,   y o u   s h o u l d .   F o r   e x a m p l e ,   d e f i n e   a   l o c a l   P e r s i s t e n t V o l u m e ,   a n d   u s e   t h a t   i n s t e a d .   I f   y o u   a r e   r e s t r i c t i n g   a c c e s s   t o   s p e c i f i c   d i r e c t o r i e s   o n   t h e   n o d e   u s i n g   a d m i s s i o n - t i m e   v a l i d a t i o n ,   t h a t   r e s t r i c t i o n   i s   o n l y   e f f e c t i v e   w h e n   y o u   a d d i t i o n a l l y   r e q u i r e   t h a t   a n y   m o u n t s   o f   t h a t   h o s t P a t h   v o l u m e   a r e   r e a d   o n l y .   I f   y o u   a l l o w   a   r e a d - w r i t e   m o u n t   o f   a n y   h o s t   p a t h   b y   a n   u n t r u s t e d   P o d ,   t h e   c o n t a i n e r s   i n   t h a t   P o d   m a y   b e   a b l e   t o   s u b v e r t   t h e   r e a d - w r i t e   h o s t   m o u n t .   T a k e   c a r e   w h e n   u s i n g   h o s t P a t h   v o l u m e s ,   w h e t h e r   t h e s e   a r e   m o u n t e d   a s   r e a d - o n l y   o r   a s   r e a d - w r i t e ,   b e c a u s e :   A c c e s s   t o   t h e   h o s t   f i l e s y s t e m   c a n   e x p o s e   p r i v i l e g e d   s y s t e m   c r e d e n t i a l s   ( s u c h   a s   f o r   t h e   k u b e l e t )   o r   p r i v i l e g e d   A P I s   ( s u c h   a s   t h e   c o n t a i n e r   r u n t i m e   s o c k e t )   t h a t   c a n   b e   u s e d   f o r   c o n t a i n e r   e s c a p e   o r   t o   a t t a c k   o t h e r   p a r t s   o f   t h e   c l u s t e r . P o d s   w i t h   i d e n t i c a l   c o n f i g u r a t i o n   ( s u c h   a s   c r e a t e d   f r o m   a   P o d T e m p l a t e )   m a y   b e h a v e   d i f f e r e n t l y   o n   d i f f e r e n t   n o d e s   ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1920"
  },
  {
    "question": "What is hostPath volume types?",
    "answer": "I n   a d d i t i o n   t o   t h e   r e q u i r e d   p a t h   p r o p e r t y ,   y o u   c a n   o p t i o n a l l y   s p e c i f y   a   t y p e   f o r   a   h o s t P a t h   v o l u m e .   T h e   a v a i l a b l e   v a l u e s   f o r   t y p e   a r e :",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1921"
  },
  {
    "question": "What is Caution:?",
    "answer": "S o m e   f i l e s   o r   d i r e c t o r i e s   c r e a t e d   o n   t h e   u n d e r l y i n g   h o s t s   m i g h t   o n l y   b e   a c c e s s i b l e   b y   r o o t .   Y o u   t h e n   e i t h e r   n e e d   t o   r u n   y o u r   p r o c e s s   a s   r o o t   i n   a   p r i v i l e g e d   c o n t a i n e r   o r   m o d i f y   t h e   f i l e   p e r m i s s i o n s   o n   t h e   h o s t   t o   r e a d   f r o m   o r   w r i t e   t o   a   h o s t P a t h   v o l u m e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1922"
  },
  {
    "question": "What is hostPath configuration example?",
    "answer": "- - -   #   T h i s   m a n i f e s t   m o u n t s   / d a t a / f o o   o n   t h e   h o s t   a s   / f o o   i n s i d e   t h e   #   s i n g l e   c o n t a i n e r   t h a t   r u n s   w i t h i n   t h e   h o s t p a t h - e x a m p l e - l i n u x   P o d .   #   #   T h e   m o u n t   i n t o   t h e   c o n t a i n e r   i s   r e a d - o n l y .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   h o s t p a t h - e x a m p l e - l i n u x   s p e c :   o s :   {   n a m e :   l i n u x   }   n o d e S e l e c t o r :   k u b e r n e t e s . i o / o s :   l i n u x   c o n t a i n e r s :   -   n a m e :   e x a m p l e - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / t e s t - w e b s e r v e r   v o l u m e M o u n t s :   -   m o u n t P a t h :   / f o o   n a m e :   e x a m p l e - v o l u m e   r e a d O n l y :   t r u e   v o l u m e s :   -   n a m e :   e x a m p l e - v o l u m e   #   m o u n t   / d a t a / f o o ,   b u t   o n l y   i f   t h a t   d i r e c t o r y   a l r e a d y   e x i s t s   h o s t P a t h :   p a t h :   / d a t a / f o o   #   d i r e c t o r y   l o c a t i o n   o n   h o s t   t y p e :   D i r e c t o r y   #   t h i s   f i e l d   i s   o p t i o n a l   - - -   #   T h i s   m a n i f e s t   m o u n t s   / d a t a / f o o   o n   t h e   h o s t   a s   / f o o   i n s i d e   t h e   #   s i n g l e   c o n t a i n e r   t h a t   r u n s   w i t h i n   t h e   h o s t p a t h - e x a m p l e - l i n u x   P o d .   #   #   T h e   m o u n t   i n t o   t h e   c o n t a i n e r   i s   r e a d - o n l y .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   h o s t p a t h - e x a m p l e - l i n u x   s p e c :   o s :   {   n a m e :   l i n u x   }   n o d e S e l e c t o r :   k u b e r n e t e s . i o / o s :   l i n u x   c o n t a i n e r s :   -   n a m e :   e x a m p l e - c o n t a i n e r   i m a g e :   ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1923"
  },
  {
    "question": "What is hostPath FileOrCreate configuration example?",
    "answer": "T h e   f o l l o w i n g   m a n i f e s t   d e f i n e s   a   P o d   t h a t   m o u n t s   / v a r / l o c a l / a a a   i n s i d e   t h e   s i n g l e   c o n t a i n e r   i n   t h e   P o d .   I f   t h e   n o d e   d o e s   n o t   a l r e a d y   h a v e   a   p a t h   / v a r / l o c a l / a a a ,   t h e   k u b e l e t   c r e a t e s   i t   a s   a   d i r e c t o r y   a n d   t h e n   m o u n t s   i t   i n t o   t h e   P o d .   I f   / v a r / l o c a l / a a a   a l r e a d y   e x i s t s   b u t   i s   n o t   a   d i r e c t o r y ,   t h e   P o d   f a i l s .   A d d i t i o n a l l y ,   t h e   k u b e l e t   a t t e m p t s   t o   m a k e   a   f i l e   n a m e d   / v a r / l o c a l / a a a / 1 . t x t   i n s i d e   t h a t   d i r e c t o r y   ( a s   s e e n   f r o m   t h e   h o s t ) ;   i f   s o m e t h i n g   a l r e a d y   e x i s t s   a t   t h a t   p a t h   a n d   i s n ' t   a   r e g u l a r   f i l e ,   t h e   P o d   f a i l s .   H e r e ' s   t h e   e x a m p l e   m a n i f e s t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t - w e b s e r v e r   s p e c :   o s :   {   n a m e :   l i n u x   }   n o d e S e l e c t o r :   k u b e r n e t e s . i o / o s :   l i n u x   c o n t a i n e r s :   -   n a m e :   t e s t - w e b s e r v e r   i m a g e :   r e g i s t r y . k 8 s . i o / t e s t - w e b s e r v e r : l a t e s t   v o l u m e M o u n t s :   -   m o u n t P a t h :   / v a r / l o c a l / a a a   n a m e :   m y d i r   -   m o u n t P a t h :   / v a r / l o c a l / a a a / 1 . t x t   n a m e :   m y f i l e   v o l u m e s :   -   n a m e :   m y d i r   h o s t P a t h :   #   E n s u r e   t h e   f i l e   d i r e c t o r y   i s   c r e a t e d .   p a t h :   / v a r / l o c a l / a a a   t y p e :   D i r e c t o r y O r C r e a t e   -   n a m e :   m y f i l e   h o s t P a t h :   p a t h :   / v a r / l o c a l / ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1924"
  },
  {
    "question": "What is image?",
    "answer": "A n   i m a g e   v o l u m e   s o u r c e   r e p r e s e n t s   a n   O C I   o b j e c t   ( a   c o n t a i n e r   i m a g e   o r   a r t i f a c t )   w h i c h   i s   a v a i l a b l e   o n   t h e   k u b e l e t ' s   h o s t   m a c h i n e .   A n   e x a m p l e   o f   u s i n g   t h e   i m a g e   v o l u m e   s o u r c e   i s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   i m a g e - v o l u m e   s p e c :   c o n t a i n e r s :   -   n a m e :   s h e l l   c o m m a n d :   [ \" s l e e p \" ,   \" i n f i n i t y \" ]   i m a g e :   d e b i a n   v o l u m e M o u n t s :   -   n a m e :   v o l u m e   m o u n t P a t h :   / v o l u m e   v o l u m e s :   -   n a m e :   v o l u m e   i m a g e :   r e f e r e n c e :   q u a y . i o / c r i o / a r t i f a c t : v 2   p u l l P o l i c y :   I f N o t P r e s e n t   T h e   v o l u m e   i s   r e s o l v e d   a t   p o d   s t a r t u p   d e p e n d i n g   o n   w h i c h   p u l l P o l i c y   v a l u e   i s   p r o v i d e d :   T h e   v o l u m e   g e t s   r e - r e s o l v e d   i f   t h e   p o d   g e t s   d e l e t e d   a n d   r e c r e a t e d ,   w h i c h   m e a n s   t h a t   n e w   r e m o t e   c o n t e n t   w i l l   b e c o m e   a v a i l a b l e   o n   p o d   r e c r e a t i o n .   A   f a i l u r e   t o   r e s o l v e   o r   p u l l   t h e   i m a g e   d u r i n g   p o d   s t a r t u p   w i l l   b l o c k   c o n t a i n e r s   f r o m   s t a r t i n g   a n d   m a y   a d d   s i g n i f i c a n t   l a t e n c y .   F a i l u r e s   w i l l   b e   r e t r i e d   u s i n g   n o r m a l   v o l u m e   b a c k o f f   a n d   w i l l   b e   r e p o r t e d   o n   t h e   p o d   r e a s o n   a n d   m e s s a g e .   T h e   t y p e s   o f   o b j e c t s   t h a t   m a y   b e   m o u n t e d   b y   t h i s   v o l u m e   a r e   d e f i n e d   b y   t h e   c o n t a i n e r   r u n ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1925"
  },
  {
    "question": "What is iscsi?",
    "answer": "A n   i s c s i   v o l u m e   a l l o w s   a n   e x i s t i n g   i S C S I   ( S C S I   o v e r   I P )   v o l u m e   t o   b e   m o u n t e d   i n t o   y o u r   P o d .   U n l i k e   e m p t y D i r ,   w h i c h   i s   e r a s e d   w h e n   a   P o d   i s   r e m o v e d ,   t h e   c o n t e n t s   o f   a n   i s c s i   v o l u m e   a r e   p r e s e r v e d   a n d   t h e   v o l u m e   i s   m e r e l y   u n m o u n t e d .   T h i s   m e a n s   t h a t   a n   i s c s i   v o l u m e   c a n   b e   p r e - p o p u l a t e d   w i t h   d a t a ,   a n d   t h a t   d a t a   c a n   b e   s h a r e d   b e t w e e n   p o d s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1926"
  },
  {
    "question": "What is Note:?",
    "answer": "A   f e a t u r e   o f   i S C S I   i s   t h a t   i t   c a n   b e   m o u n t e d   a s   r e a d - o n l y   b y   m u l t i p l e   c o n s u m e r s   s i m u l t a n e o u s l y .   T h i s   m e a n s   t h a t   y o u   c a n   p r e - p o p u l a t e   a   v o l u m e   w i t h   y o u r   d a t a s e t   a n d   t h e n   s e r v e   i t   i n   p a r a l l e l   f r o m   a s   m a n y   P o d s   a s   y o u   n e e d .   U n f o r t u n a t e l y ,   i S C S I   v o l u m e s   c a n   o n l y   b e   m o u n t e d   b y   a   s i n g l e   c o n s u m e r   i n   r e a d - w r i t e   m o d e .   S i m u l t a n e o u s   w r i t e r s   a r e   n o t   a l l o w e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1927"
  },
  {
    "question": "What is local?",
    "answer": "A   l o c a l   v o l u m e   r e p r e s e n t s   a   m o u n t e d   l o c a l   s t o r a g e   d e v i c e   s u c h   a s   a   d i s k ,   p a r t i t i o n   o r   d i r e c t o r y .   L o c a l   v o l u m e s   c a n   o n l y   b e   u s e d   a s   a   s t a t i c a l l y   c r e a t e d   P e r s i s t e n t V o l u m e .   D y n a m i c   p r o v i s i o n i n g   i s   n o t   s u p p o r t e d .   C o m p a r e d   t o   h o s t P a t h   v o l u m e s ,   l o c a l   v o l u m e s   a r e   u s e d   i n   a   d u r a b l e   a n d   p o r t a b l e   m a n n e r   w i t h o u t   m a n u a l l y   s c h e d u l i n g   p o d s   t o   n o d e s .   T h e   s y s t e m   i s   a w a r e   o f   t h e   v o l u m e ' s   n o d e   c o n s t r a i n t s   b y   l o o k i n g   a t   t h e   n o d e   a f f i n i t y   o n   t h e   P e r s i s t e n t V o l u m e .   H o w e v e r ,   l o c a l   v o l u m e s   a r e   s u b j e c t   t o   t h e   a v a i l a b i l i t y   o f   t h e   u n d e r l y i n g   n o d e   a n d   a r e   n o t   s u i t a b l e   f o r   a l l   a p p l i c a t i o n s .   I f   a   n o d e   b e c o m e s   u n h e a l t h y ,   t h e n   t h e   l o c a l   v o l u m e   b e c o m e s   i n a c c e s s i b l e   t o   t h e   p o d .   T h e   p o d   u s i n g   t h i s   v o l u m e   i s   u n a b l e   t o   r u n .   A p p l i c a t i o n s   u s i n g   l o c a l   v o l u m e s   m u s t   b e   a b l e   t o   t o l e r a t e   t h i s   r e d u c e d   a v a i l a b i l i t y ,   a s   w e l l   a s   p o t e n t i a l   d a t a   l o s s ,   d e p e n d i n g   o n   t h e   d u r a b i l i t y   c h a r a c t e r i s t i c s   o f   t h e   u n d e r l y i n g   d i s k .   T h e   f o l l o w i n g   e x a m p l e   s h o w s   a   P e r s i s t e n t V o l u m e   u s i n g   a   l o c a l   v o l u m e   a n d   n o d e A f f i n i t y :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1928"
  },
  {
    "question": "What is nfs?",
    "answer": "A n   n f s   v o l u m e   a l l o w s   a n   e x i s t i n g   N F S   ( N e t w o r k   F i l e   S y s t e m )   s h a r e   t o   b e   m o u n t e d   i n t o   a   P o d .   U n l i k e   e m p t y D i r ,   w h i c h   i s   e r a s e d   w h e n   a   P o d   i s   r e m o v e d ,   t h e   c o n t e n t s   o f   a n   n f s   v o l u m e   a r e   p r e s e r v e d   a n d   t h e   v o l u m e   i s   m e r e l y   u n m o u n t e d .   T h i s   m e a n s   t h a t   a n   N F S   v o l u m e   c a n   b e   p r e - p o p u l a t e d   w i t h   d a t a ,   a n d   t h a t   d a t a   c a n   b e   s h a r e d   b e t w e e n   p o d s .   N F S   c a n   b e   m o u n t e d   b y   m u l t i p l e   w r i t e r s   s i m u l t a n e o u s l y .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t - p d   s p e c :   c o n t a i n e r s :   -   i m a g e :   r e g i s t r y . k 8 s . i o / t e s t - w e b s e r v e r   n a m e :   t e s t - c o n t a i n e r   v o l u m e M o u n t s :   -   m o u n t P a t h :   / m y - n f s - d a t a   n a m e :   t e s t - v o l u m e   v o l u m e s :   -   n a m e :   t e s t - v o l u m e   n f s :   s e r v e r :   m y - n f s - s e r v e r . e x a m p l e . c o m   p a t h :   / m y - n f s - v o l u m e   r e a d O n l y :   t r u e",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1929"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   m u s t   h a v e   y o u r   o w n   N F S   s e r v e r   r u n n i n g   w i t h   t h e   s h a r e   e x p o r t e d   b e f o r e   y o u   c a n   u s e   i t .   A l s o   n o t e   t h a t   y o u   c a n ' t   s p e c i f y   N F S   m o u n t   o p t i o n s   i n   a   P o d   s p e c .   Y o u   c a n   e i t h e r   s e t   m o u n t   o p t i o n s   s e r v e r - s i d e   o r   u s e   / e t c / n f s m o u n t . c o n f .   Y o u   c a n   a l s o   m o u n t   N F S   v o l u m e s   v i a   P e r s i s t e n t V o l u m e s   w h i c h   d o   a l l o w   y o u   t o   s e t   m o u n t   o p t i o n s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1930"
  },
  {
    "question": "What is persistentVolumeClaim?",
    "answer": "A   p e r s i s t e n t V o l u m e C l a i m   v o l u m e   i s   u s e d   t o   m o u n t   a   P e r s i s t e n t V o l u m e   i n t o   a   P o d .   P e r s i s t e n t V o l u m e C l a i m s   a r e   a   w a y   f o r   u s e r s   t o   \" c l a i m \"   d u r a b l e   s t o r a g e   ( s u c h   a s   a n   i S C S I   v o l u m e )   w i t h o u t   k n o w i n g   t h e   d e t a i l s   o f   t h e   p a r t i c u l a r   c l o u d   e n v i r o n m e n t .   S e e   t h e   i n f o r m a t i o n   a b o u t   P e r s i s t e n t V o l u m e s   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1931"
  },
  {
    "question": "What is portworxVolume (deprecated)?",
    "answer": "A   p o r t w o r x V o l u m e   i s   a n   e l a s t i c   b l o c k   s t o r a g e   l a y e r   t h a t   r u n s   h y p e r c o n v e r g e d   w i t h   K u b e r n e t e s .   P o r t w o r x   f i n g e r p r i n t s   s t o r a g e   i n   a   s e r v e r ,   t i e r s   b a s e d   o n   c a p a b i l i t i e s ,   a n d   a g g r e g a t e s   c a p a c i t y   a c r o s s   m u l t i p l e   s e r v e r s .   P o r t w o r x   r u n s   i n - g u e s t   i n   v i r t u a l   m a c h i n e s   o r   o n   b a r e   m e t a l   L i n u x   n o d e s .   A   p o r t w o r x V o l u m e   c a n   b e   d y n a m i c a l l y   c r e a t e d   t h r o u g h   K u b e r n e t e s   o r   i t   c a n   a l s o   b e   p r e - p r o v i s i o n e d   a n d   r e f e r e n c e d   i n s i d e   a   P o d .   H e r e   i s   a n   e x a m p l e   P o d   r e f e r e n c i n g   a   p r e - p r o v i s i o n e d   P o r t w o r x   v o l u m e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t - p o r t w o r x - v o l u m e - p o d   s p e c :   c o n t a i n e r s :   -   i m a g e :   r e g i s t r y . k 8 s . i o / t e s t - w e b s e r v e r   n a m e :   t e s t - c o n t a i n e r   v o l u m e M o u n t s :   -   m o u n t P a t h :   / m n t   n a m e :   p x v o l   v o l u m e s :   -   n a m e :   p x v o l   #   T h i s   P o r t w o r x   v o l u m e   m u s t   a l r e a d y   e x i s t .   p o r t w o r x V o l u m e :   v o l u m e I D :   \" p x v o l \"   f s T y p e :   \" < f s - t y p e > \"",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1932"
  },
  {
    "question": "What is Portworx CSI migration?",
    "answer": "I n   K u b e r n e t e s   1 . 3 4 ,   a l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   P o r t w o r x   v o l u m e s   a r e   r e d i r e c t e d   t o   t h e   p x d . p o r t w o r x . c o m   C o n t a i n e r   S t o r a g e   I n t e r f a c e   ( C S I )   D r i v e r   b y   d e f a u l t . P o r t w o r x   C S I   D r i v e r   m u s t   b e   i n s t a l l e d   o n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1933"
  },
  {
    "question": "What is projected?",
    "answer": "A   p r o j e c t e d   v o l u m e   m a p s   s e v e r a l   e x i s t i n g   v o l u m e   s o u r c e s   i n t o   t h e   s a m e   d i r e c t o r y .   F o r   m o r e   d e t a i l s ,   s e e   p r o j e c t e d   v o l u m e s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1934"
  },
  {
    "question": "What is rbd (removed)?",
    "answer": "K u b e r n e t e s   1 . 3 4   d o e s   n o t   i n c l u d e   a   r b d   v o l u m e   t y p e .   T h e   R a d o s   B l o c k   D e v i c e   ( R B D )   i n - t r e e   s t o r a g e   d r i v e r   a n d   i t s   c s i   m i g r a t i o n   s u p p o r t   w e r e   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 2 8   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 3 1   r e l e a s e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1935"
  },
  {
    "question": "What is secret?",
    "answer": "A   s e c r e t   v o l u m e   i s   u s e d   t o   p a s s   s e n s i t i v e   i n f o r m a t i o n ,   s u c h   a s   p a s s w o r d s ,   t o   P o d s .   Y o u   c a n   s t o r e   s e c r e t s   i n   t h e   K u b e r n e t e s   A P I   a n d   m o u n t   t h e m   a s   f i l e s   f o r   u s e   b y   p o d s   w i t h o u t   c o u p l i n g   t o   K u b e r n e t e s   d i r e c t l y .   s e c r e t   v o l u m e s   a r e   b a c k e d   b y   t m p f s   ( a   R A M - b a c k e d   f i l e s y s t e m )   s o   t h e y   a r e   n e v e r   w r i t t e n   t o   n o n - v o l a t i l e   s t o r a g e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1936"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   m u s t   c r e a t e   a   S e c r e t   i n   t h e   K u b e r n e t e s   A P I   b e f o r e   y o u   c a n   u s e   i t . A   S e c r e t   i s   a l w a y s   m o u n t e d   a s   r e a d O n l y . A   c o n t a i n e r   u s i n g   a   S e c r e t   a s   a   s u b P a t h   v o l u m e   m o u n t   w i l l   n o t   r e c e i v e   S e c r e t   u p d a t e s .   Y o u   m u s t   c r e a t e   a   S e c r e t   i n   t h e   K u b e r n e t e s   A P I   b e f o r e   y o u   c a n   u s e   i t .   A   S e c r e t   i s   a l w a y s   m o u n t e d   a s   r e a d O n l y .   A   c o n t a i n e r   u s i n g   a   S e c r e t   a s   a   s u b P a t h   v o l u m e   m o u n t   w i l l   n o t   r e c e i v e   S e c r e t   u p d a t e s .   F o r   m o r e   d e t a i l s ,   s e e   C o n f i g u r i n g   S e c r e t s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1937"
  },
  {
    "question": "What is vsphereVolume (deprecated)?",
    "answer": "I n   K u b e r n e t e s   1 . 3 4 ,   a l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   v s p h e r e V o l u m e   t y p e   a r e   r e d i r e c t e d   t o   t h e   c s i . v s p h e r e . v m w a r e . c o m   C S I   d r i v e r .   T h e   v s p h e r e V o l u m e   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 1 9   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 3 0   r e l e a s e .   T h e   K u b e r n e t e s   p r o j e c t   s u g g e s t s   t h a t   y o u   u s e   t h e   v S p h e r e   C S I   t h i r d   p a r t y   s t o r a g e   d r i v e r   i n s t e a d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1938"
  },
  {
    "question": "What is Using subPath?",
    "answer": "S o m e t i m e s ,   i t   i s   u s e f u l   t o   s h a r e   o n e   v o l u m e   f o r   m u l t i p l e   u s e s   i n   a   s i n g l e   p o d .   T h e   v o l u m e M o u n t s [ * ] . s u b P a t h   p r o p e r t y   s p e c i f i e s   a   s u b - p a t h   i n s i d e   t h e   r e f e r e n c e d   v o l u m e   i n s t e a d   o f   i t s   r o o t .   T h e   f o l l o w i n g   e x a m p l e   s h o w s   h o w   t o   c o n f i g u r e   a   P o d   w i t h   a   L A M P   s t a c k   ( L i n u x   A p a c h e   M y S Q L   P H P )   u s i n g   a   s i n g l e ,   s h a r e d   v o l u m e .   T h i s   s a m p l e   s u b P a t h   c o n f i g u r a t i o n   i s   n o t   r e c o m m e n d e d   f o r   p r o d u c t i o n   u s e .   T h e   P H P   a p p l i c a t i o n ' s   c o d e   a n d   a s s e t s   m a p   t o   t h e   v o l u m e ' s   h t m l   f o l d e r   a n d   t h e   M y S Q L   d a t a b a s e   i s   s t o r e d   i n   t h e   v o l u m e ' s   m y s q l   f o l d e r .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y - l a m p - s i t e   s p e c :   c o n t a i n e r s :   -   n a m e :   m y s q l   i m a g e :   m y s q l   e n v :   -   n a m e :   M Y S Q L _ R O O T _ P A S S W O R D   v a l u e :   \" r o o t p a s s w d \"   v o l u m e M o u n t s :   -   m o u n t P a t h :   / v a r / l i b / m y s q l   n a m e :   s i t e - d a t a   s u b P a t h :   m y s q l   -   n a m e :   p h p   i m a g e :   p h p : 7 . 0 - a p a c h e   v o l u m e M o u n t s :   -   m o u n t P a t h :   / v a r / w w w / h t m l   n a m e :   s i t e - d a t a   s u b P a t h :   h t m l   v o l u m e s :   -   n a m e :   s i t e - d a t a   p e r s i s t e n t V o l u m e C l a i m :   c l a i m N a m e :   m y - l a m p - s i t e - d a t a",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_1939"
  },
  {
    "question": "What is Using subPath with expanded environment variables?",
    "answer": "U s e   t h e   s u b P a t h E x p r   f i e l d   t o   c o n s t r u c t   s u b P a t h   d i r e c t o r y   n a m e s   f r o m   d o w n w a r d   A P I   e n v i r o n m e n t   v a r i a b l e s .   T h e   s u b P a t h   a n d   s u b P a t h E x p r   p r o p e r t i e s   a r e   m u t u a l l y   e x c l u s i v e .   I n   t h i s   e x a m p l e ,   a   P o d   u s e s   s u b P a t h E x p r   t o   c r e a t e   a   d i r e c t o r y   p o d 1   w i t h i n   t h e   h o s t P a t h   v o l u m e   / v a r / l o g / p o d s .   T h e   h o s t P a t h   v o l u m e   t a k e s   t h e   P o d   n a m e   f r o m   t h e   d o w n w a r d A P I .   T h e   h o s t   d i r e c t o r y   / v a r / l o g / p o d s / p o d 1   i s   m o u n t e d   a t   / l o g s   i n   t h e   c o n t a i n e r .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p o d 1   s p e c :   c o n t a i n e r s :   -   n a m e :   c o n t a i n e r 1   e n v :   -   n a m e :   P O D _ N A M E   v a l u e F r o m :   f i e l d R e f :   a p i V e r s i o n :   v 1   f i e l d P a t h :   m e t a d a t a . n a m e   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [   \" s h \" ,   \" - c \" ,   \" w h i l e   [   t r u e   ] ;   d o   e c h o   ' H e l l o ' ;   s l e e p   1 0 ;   d o n e   |   t e e   - a   / l o g s / h e l l o . t x t \"   ]   v o l u m e M o u n t s :   -   n a m e :   w o r k d i r 1   m o u n t P a t h :   / l o g s   #   T h e   v a r i a b l e   e x p a n s i o n   u s e s   r o u n d   b r a c k e t s   ( n o t   c u r l y   b r a c k e t s ) .   s u b P a t h E x p r :   $ ( P O D _ N A M E )   r e s t a r t P o l i c y :   N e v e r   v o l u m e s :   -   n a m e :   w o r k d i r 1   h o s t P a t h :   p a t h :   / v a r / l o g / p o d s",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1940"
  },
  {
    "question": "What is Resources?",
    "answer": "T h e   s t o r a g e   m e d i u m   ( s u c h   a s   D i s k   o r   S S D )   o f   a n   e m p t y D i r   v o l u m e   i s   d e t e r m i n e d   b y   t h e   m e d i u m   o f   t h e   f i l e s y s t e m   h o l d i n g   t h e   k u b e l e t   r o o t   d i r   ( t y p i c a l l y   / v a r / l i b / k u b e l e t ) .   T h e r e   i s   n o   l i m i t   o n   h o w   m u c h   s p a c e   a n   e m p t y D i r   o r   h o s t P a t h   v o l u m e   c a n   c o n s u m e ,   a n d   n o   i s o l a t i o n   b e t w e e n   c o n t a i n e r s   o r   p o d s .   T o   l e a r n   a b o u t   r e q u e s t i n g   s p a c e   u s i n g   a   r e s o u r c e   s p e c i f i c a t i o n ,   s e e   h o w   t o   m a n a g e   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_1941"
  },
  {
    "question": "What is Out-of-tree volume plugins?",
    "answer": "T h e   o u t - o f - t r e e   v o l u m e   p l u g i n s   i n c l u d e   C o n t a i n e r   S t o r a g e   I n t e r f a c e   ( C S I ) ,   a n d   a l s o   F l e x V o l u m e   ( w h i c h   i s   d e p r e c a t e d ) .   T h e s e   p l u g i n s   e n a b l e   s t o r a g e   v e n d o r s   t o   c r e a t e   c u s t o m   s t o r a g e   p l u g i n s   w i t h o u t   a d d i n g   t h e i r   p l u g i n   s o u r c e   c o d e   t o   t h e   K u b e r n e t e s   r e p o s i t o r y .   P r e v i o u s l y ,   a l l   v o l u m e   p l u g i n s   w e r e   \" i n - t r e e \" .   T h e   \" i n - t r e e \"   p l u g i n s   w e r e   b u i l t ,   l i n k e d ,   c o m p i l e d ,   a n d   s h i p p e d   w i t h   t h e   c o r e   K u b e r n e t e s   b i n a r i e s .   T h i s   m e a n t   t h a t   a d d i n g   a   n e w   s t o r a g e   s y s t e m   t o   K u b e r n e t e s   ( a   v o l u m e   p l u g i n )   r e q u i r e d   c h e c k i n g   c o d e   i n t o   t h e   c o r e   K u b e r n e t e s   c o d e   r e p o s i t o r y .   B o t h   C S I   a n d   F l e x V o l u m e   a l l o w   v o l u m e   p l u g i n s   t o   b e   d e v e l o p e d   i n d e p e n d e n t l y   o f   t h e   K u b e r n e t e s   c o d e   b a s e ,   a n d   d e p l o y e d   ( i n s t a l l e d )   o n   K u b e r n e t e s   c l u s t e r s   a s   e x t e n s i o n s .   F o r   s t o r a g e   v e n d o r s   l o o k i n g   t o   c r e a t e   a n   o u t - o f - t r e e   v o l u m e   p l u g i n ,   p l e a s e   r e f e r   t o   t h e   v o l u m e   p l u g i n   F A Q .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_1942"
  },
  {
    "question": "What is csi?",
    "answer": "C o n t a i n e r   S t o r a g e   I n t e r f a c e   ( C S I )   d e f i n e s   a   s t a n d a r d   i n t e r f a c e   f o r   c o n t a i n e r   o r c h e s t r a t i o n   s y s t e m s   ( l i k e   K u b e r n e t e s )   t o   e x p o s e   a r b i t r a r y   s t o r a g e   s y s t e m s   t o   t h e i r   c o n t a i n e r   w o r k l o a d s .   P l e a s e   r e a d   t h e   C S I   d e s i g n   p r o p o s a l   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1943"
  },
  {
    "question": "What is Note:?",
    "answer": "O n c e   a   C S I - c o m p a t i b l e   v o l u m e   d r i v e r   i s   d e p l o y e d   o n   a   K u b e r n e t e s   c l u s t e r ,   u s e r s   m a y   u s e   t h e   c s i   v o l u m e   t y p e   t o   a t t a c h   o r   m o u n t   t h e   v o l u m e s   e x p o s e d   b y   t h e   C S I   d r i v e r .   A   c s i   v o l u m e   c a n   b e   u s e d   i n   a   P o d   i n   t h r e e   d i f f e r e n t   w a y s :   t h r o u g h   a   r e f e r e n c e   t o   a   P e r s i s t e n t V o l u m e C l a i m w i t h   a   g e n e r i c   e p h e m e r a l   v o l u m e w i t h   a   C S I   e p h e m e r a l   v o l u m e   i f   t h e   d r i v e r   s u p p o r t s   t h a t   T h e   f o l l o w i n g   f i e l d s   a r e   a v a i l a b l e   t o   s t o r a g e   a d m i n i s t r a t o r s   t o   c o n f i g u r e   a   C S I   p e r s i s t e n t   v o l u m e :   d r i v e r :   A   s t r i n g   v a l u e   t h a t   s p e c i f i e s   t h e   n a m e   o f   t h e   v o l u m e   d r i v e r   t o   u s e .   T h i s   v a l u e   m u s t   c o r r e s p o n d   t o   t h e   v a l u e   r e t u r n e d   i n   t h e   G e t P l u g i n I n f o R e s p o n s e   b y   t h e   C S I   d r i v e r   a s   d e f i n e d   i n   t h e   C S I   s p e c .   I t   i s   u s e d   b y   K u b e r n e t e s   t o   i d e n t i f y   w h i c h   C S I   d r i v e r   t o   c a l l   o u t   t o ,   a n d   b y   C S I   d r i v e r   c o m p o n e n t s   t o   i d e n t i f y   w h i c h   P V   o b j e c t s   b e l o n g   t o   t h e   C S I   d r i v e r . v o l u m e H a n d l e :   A   s t r i n g   v a l u e   t h a t   u n i q u e l y   i d e n t i f i e s   t h e   v o l u m e .   T h i s   v a l u e   m u s t   c o r r e s p o n d   t o   t h e   v a l u e   r e t u r n e d   i n   t h e   v o l u m e . i d   f i e l d   o f   t h e   C r e a t e V o l u m e R e s p o n s e   b y   t h e   C S I   d r i v e r   a s   d e f i ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1944"
  },
  {
    "question": "What is CSI raw block volume support?",
    "answer": "V e n d o r s   w i t h   e x t e r n a l   C S I   d r i v e r s   c a n   i m p l e m e n t   r a w   b l o c k   v o l u m e   s u p p o r t   i n   K u b e r n e t e s   w o r k l o a d s .   Y o u   c a n   s e t   u p   y o u r   P e r s i s t e n t V o l u m e / P e r s i s t e n t V o l u m e C l a i m   w i t h   r a w   b l o c k   v o l u m e   s u p p o r t   a s   u s u a l ,   w i t h o u t   a n y   C S I - s p e c i f i c   c h a n g e s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1945"
  },
  {
    "question": "What is CSI ephemeral volumes?",
    "answer": "Y o u   c a n   d i r e c t l y   c o n f i g u r e   C S I   v o l u m e s   w i t h i n   t h e   P o d   s p e c i f i c a t i o n .   V o l u m e s   s p e c i f i e d   i n   t h i s   w a y   a r e   e p h e m e r a l   a n d   d o   n o t   p e r s i s t   a c r o s s   p o d   r e s t a r t s .   S e e   E p h e m e r a l   V o l u m e s   f o r   m o r e   i n f o r m a t i o n .   F o r   m o r e   i n f o r m a t i o n   o n   h o w   t o   d e v e l o p   a   C S I   d r i v e r ,   r e f e r   t o   t h e   k u b e r n e t e s - c s i   d o c u m e n t a t i o n",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1946"
  },
  {
    "question": "What is Windows CSI proxy?",
    "answer": "C S I   n o d e   p l u g i n s   n e e d   t o   p e r f o r m   v a r i o u s   p r i v i l e g e d   o p e r a t i o n s   l i k e   s c a n n i n g   o f   d i s k   d e v i c e s   a n d   m o u n t i n g   o f   f i l e   s y s t e m s .   T h e s e   o p e r a t i o n s   d i f f e r   f o r   e a c h   h o s t   o p e r a t i n g   s y s t e m .   F o r   L i n u x   w o r k e r   n o d e s ,   c o n t a i n e r i z e d   C S I   n o d e   p l u g i n s   a r e   t y p i c a l l y   d e p l o y e d   a s   p r i v i l e g e d   c o n t a i n e r s .   F o r   W i n d o w s   w o r k e r   n o d e s ,   p r i v i l e g e d   o p e r a t i o n s   f o r   c o n t a i n e r i z e d   C S I   n o d e   p l u g i n s   i s   s u p p o r t e d   u s i n g   c s i - p r o x y ,   a   c o m m u n i t y - m a n a g e d ,   s t a n d - a l o n e   b i n a r y   t h a t   n e e d s   t o   b e   p r e - i n s t a l l e d   o n   e a c h   W i n d o w s   n o d e .   F o r   m o r e   d e t a i l s ,   r e f e r   t o   t h e   d e p l o y m e n t   g u i d e   o f   t h e   C S I   p l u g i n   y o u   w i s h   t o   d e p l o y .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1947"
  },
  {
    "question": "What is Migrating to CSI drivers from in-tree plugins?",
    "answer": "T h e   C S I M i g r a t i o n   f e a t u r e   d i r e c t s   o p e r a t i o n s   a g a i n s t   e x i s t i n g   i n - t r e e   p l u g i n s   t o   c o r r e s p o n d i n g   C S I   p l u g i n s   ( w h i c h   a r e   e x p e c t e d   t o   b e   i n s t a l l e d   a n d   c o n f i g u r e d ) .   A s   a   r e s u l t ,   o p e r a t o r s   d o   n o t   h a v e   t o   m a k e   a n y   c o n f i g u r a t i o n   c h a n g e s   t o   e x i s t i n g   S t o r a g e   C l a s s e s ,   P e r s i s t e n t V o l u m e s   o r   P e r s i s t e n t V o l u m e C l a i m s   ( r e f e r r i n g   t o   i n - t r e e   p l u g i n s )   w h e n   t r a n s i t i o n i n g   t o   a   C S I   d r i v e r   t h a t   s u p e r s e d e s   a n   i n - t r e e   p l u g i n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1948"
  },
  {
    "question": "What is Note:?",
    "answer": "E x i s t i n g   P V s   c r e a t e d   b y   a n   i n - t r e e   v o l u m e   p l u g i n   c a n   s t i l l   b e   u s e d   i n   t h e   f u t u r e   w i t h o u t   a n y   c o n f i g u r a t i o n   c h a n g e s ,   e v e n   a f t e r   t h e   m i g r a t i o n   t o   C S I   i s   c o m p l e t e d   f o r   t h a t   v o l u m e   t y p e ,   a n d   e v e n   a f t e r   y o u   u p g r a d e   t o   a   v e r s i o n   o f   K u b e r n e t e s   t h a t   d o e s n ' t   h a v e   c o m p i l e d - i n   s u p p o r t   f o r   t h a t   k i n d   o f   s t o r a g e .   A s   p a r t   o f   t h a t   m i g r a t i o n ,   y o u   -   o r   a n o t h e r   c l u s t e r   a d m i n i s t r a t o r   -   m u s t   h a v e   i n s t a l l e d   a n d   c o n f i g u r e d   t h e   a p p r o p r i a t e   C S I   d r i v e r   f o r   t h a t   s t o r a g e .   T h e   c o r e   o f   K u b e r n e t e s   d o e s   n o t   i n s t a l l   t h a t   s o f t w a r e   f o r   y o u .   A f t e r   t h a t   m i g r a t i o n ,   y o u   c a n   a l s o   d e f i n e   n e w   P V C s   a n d   P V s   t h a t   r e f e r   t o   t h e   l e g a c y ,   b u i l t - i n   s t o r a g e   i n t e g r a t i o n s .   P r o v i d e d   y o u   h a v e   t h e   a p p r o p r i a t e   C S I   d r i v e r   i n s t a l l e d   a n d   c o n f i g u r e d ,   t h e   P V   c r e a t i o n   c o n t i n u e s   t o   w o r k ,   e v e n   f o r   b r a n d   n e w   v o l u m e s .   T h e   a c t u a l   s t o r a g e   m a n a g e m e n t   n o w   h a p p e n s   t h r o u g h   t h e   C S I   d r i v e r .   T h e   o p e r a t i o n s   a n d   f e a t u r e s   t h a t   a r e   s u p p o r t e d   i n c l u d e :   p r o v i s i o n i n g / d e l e t e ,   a t t a c h / d e t a c h ,   m o u n t / u n m o u n t   a n d   r e s i z i n g   o f   v o l u m e s .   I n - t r e e   p l u g i n s   t h a t   s u p p o r t   C S I M i g r a t i o n ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1949"
  },
  {
    "question": "What is flexVolume (deprecated)?",
    "answer": "F l e x V o l u m e   i s   a n   o u t - o f - t r e e   p l u g i n   i n t e r f a c e   t h a t   u s e s   a n   e x e c - b a s e d   m o d e l   t o   i n t e r f a c e   w i t h   s t o r a g e   d r i v e r s .   T h e   F l e x V o l u m e   d r i v e r   b i n a r i e s   m u s t   b e   i n s t a l l e d   i n   a   p r e - d e f i n e d   v o l u m e   p l u g i n   p a t h   o n   e a c h   n o d e   a n d   i n   s o m e   c a s e s   t h e   c o n t r o l   p l a n e   n o d e s   a s   w e l l .   P o d s   i n t e r a c t   w i t h   F l e x V o l u m e   d r i v e r s   t h r o u g h   t h e   f l e x V o l u m e   i n - t r e e   v o l u m e   p l u g i n .   T h e   f o l l o w i n g   F l e x V o l u m e   p l u g i n s ,   d e p l o y e d   a s   P o w e r S h e l l   s c r i p t s   o n   t h e   h o s t ,   s u p p o r t   W i n d o w s   n o d e s :   S M B i S C S I",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1950"
  },
  {
    "question": "What is Note:?",
    "answer": "F l e x V o l u m e   i s   d e p r e c a t e d .   U s i n g   a n   o u t - o f - t r e e   C S I   d r i v e r   i s   t h e   r e c o m m e n d e d   w a y   t o   i n t e g r a t e   e x t e r n a l   s t o r a g e   w i t h   K u b e r n e t e s .   M a i n t a i n e r s   o f   F l e x V o l u m e   d r i v e r   s h o u l d   i m p l e m e n t   a   C S I   D r i v e r   a n d   h e l p   t o   m i g r a t e   u s e r s   o f   F l e x V o l u m e   d r i v e r s   t o   C S I .   U s e r s   o f   F l e x V o l u m e   s h o u l d   m o v e   t h e i r   w o r k l o a d s   t o   u s e   t h e   e q u i v a l e n t   C S I   D r i v e r .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1951"
  },
  {
    "question": "What is Caution:?",
    "answer": "M o u n t   p r o p a g a t i o n   a l l o w s   f o r   s h a r i n g   v o l u m e s   m o u n t e d   b y   a   c o n t a i n e r   t o   o t h e r   c o n t a i n e r s   i n   t h e   s a m e   p o d ,   o r   e v e n   t o   o t h e r   p o d s   o n   t h e   s a m e   n o d e .   M o u n t   p r o p a g a t i o n   o f   a   v o l u m e   i s   c o n t r o l l e d   b y   t h e   m o u n t P r o p a g a t i o n   f i e l d   i n   c o n t a i n e r s [ * ] . v o l u m e M o u n t s .   I t s   v a l u e s   a r e :   N o n e   -   T h i s   v o l u m e   m o u n t   w i l l   n o t   r e c e i v e   a n y   s u b s e q u e n t   m o u n t s   t h a t   a r e   m o u n t e d   t o   t h i s   v o l u m e   o r   a n y   o f   i t s   s u b d i r e c t o r i e s   b y   t h e   h o s t .   I n   s i m i l a r   f a s h i o n ,   n o   m o u n t s   c r e a t e d   b y   t h e   c o n t a i n e r   w i l l   b e   v i s i b l e   o n   t h e   h o s t .   T h i s   i s   t h e   d e f a u l t   m o d e . T h i s   m o d e   i s   e q u a l   t o   r p r i v a t e   m o u n t   p r o p a g a t i o n   a s   d e s c r i b e d   i n   m o u n t ( 8 ) H o w e v e r ,   t h e   C R I   r u n t i m e   m a y   c h o o s e   r s l a v e   m o u n t   p r o p a g a t i o n   ( i . e . ,   H o s t T o C o n t a i n e r )   i n s t e a d ,   w h e n   r p r i v a t e   p r o p a g a t i o n   i s   n o t   a p p l i c a b l e .   c r i - d o c k e r d   ( D o c k e r )   i s   k n o w n   t o   c h o o s e   r s l a v e   m o u n t   p r o p a g a t i o n   w h e n   t h e   m o u n t   s o u r c e   c o n t a i n s   t h e   D o c k e r   d a e m o n ' s   r o o t   d i r e c t o r y   ( / v a r / l i b / d o c k e r ) . H o s t T o C o n t a i n e r   -   T h i s   v o l u m e   m o u n t   w i l l   r e c e i v e   a l l   s u b s e q u e n t   m o u n t s   t h a t   a r e   m o u n t e d   t o   t h i s   v o l u m e   o r   a n y   o f   i t s   s u b d i r e c t ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1952"
  },
  {
    "question": "What is Read-only mounts?",
    "answer": "A   m o u n t   c a n   b e   m a d e   r e a d - o n l y   b y   s e t t i n g   t h e   . s p e c . c o n t a i n e r s [ ] . v o l u m e M o u n t s [ ] . r e a d O n l y   f i e l d   t o   t r u e .   T h i s   d o e s   n o t   m a k e   t h e   v o l u m e   i t s e l f   r e a d - o n l y ,   b u t   t h a t   s p e c i f i c   c o n t a i n e r   w i l l   n o t   b e   a b l e   t o   w r i t e   t o   i t .   O t h e r   c o n t a i n e r s   i n   t h e   P o d   m a y   m o u n t   t h e   s a m e   v o l u m e   a s   r e a d - w r i t e .   O n   L i n u x ,   r e a d - o n l y   m o u n t s   a r e   n o t   r e c u r s i v e l y   r e a d - o n l y   b y   d e f a u l t .   F o r   e x a m p l e ,   c o n s i d e r   a   P o d   w h i c h   m o u n t s   t h e   h o s t s   / m n t   a s   a   h o s t P a t h   v o l u m e .   I f   t h e r e   i s   a n o t h e r   f i l e s y s t e m   m o u n t e d   r e a d - w r i t e   o n   / m n t / < S U B M O U N T >   ( s u c h   a s   t m p f s ,   N F S ,   o r   U S B   s t o r a g e ) ,   t h e   v o l u m e   m o u n t e d   i n t o   t h e   c o n t a i n e r ( s )   w i l l   a l s o   h a v e   a   w r i t e a b l e   / m n t / < S U B M O U N T > ,   e v e n   i f   t h e   m o u n t   i t s e l f   w a s   s p e c i f i e d   a s   r e a d - o n l y .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_1953"
  },
  {
    "question": "What is Recursive read-only mounts?",
    "answer": "R e c u r s i v e   r e a d - o n l y   m o u n t s   c a n   b e   e n a b l e d   b y   s e t t i n g   t h e   R e c u r s i v e R e a d O n l y M o u n t s   f e a t u r e   g a t e   f o r   k u b e l e t   a n d   k u b e - a p i s e r v e r ,   a n d   s e t t i n g   t h e   . s p e c . c o n t a i n e r s [ ] . v o l u m e M o u n t s [ ] . r e c u r s i v e R e a d O n l y   f i e l d   f o r   a   p o d .   T h e   a l l o w e d   v a l u e s   a r e :   D i s a b l e d   ( d e f a u l t ) :   n o   e f f e c t . E n a b l e d :   m a k e s   t h e   m o u n t   r e c u r s i v e l y   r e a d - o n l y .   N e e d s   a l l   t h e   f o l l o w i n g   r e q u i r e m e n t s   t o   b e   s a t i s f i e d : r e a d O n l y   i s   s e t   t o   t r u e m o u n t P r o p a g a t i o n   i s   u n s e t ,   o r ,   s e t   t o   N o n e T h e   h o s t   i s   r u n n i n g   w i t h   L i n u x   k e r n e l   v 5 . 1 2   o r   l a t e r T h e   C R I - l e v e l   c o n t a i n e r   r u n t i m e   s u p p o r t s   r e c u r s i v e   r e a d - o n l y   m o u n t s T h e   O C I - l e v e l   c o n t a i n e r   r u n t i m e   s u p p o r t s   r e c u r s i v e   r e a d - o n l y   m o u n t s . I t   w i l l   f a i l   i f   a n y   o f   t h e s e   i s   n o t   t r u e . I f P o s s i b l e :   a t t e m p t s   t o   a p p l y   E n a b l e d ,   a n d   f a l l s   b a c k   t o   D i s a b l e d   i f   t h e   f e a t u r e   i s   n o t   s u p p o r t e d   b y   t h e   k e r n e l   o r   t h e   r u n t i m e   c l a s s .   D i s a b l e d   ( d e f a u l t ) :   n o   e f f e c t .   E n a b l e d :   m a k e s   t h e   m o u n t   r e c u r s i v e l y   r e a d - o n l y .   N e e d s   a l l   t h e   f o l l o w i n g   r e q u i r e m e n t s   t o   b e   s a t i s f i e d :   r e a d O n l y   i s   s e t   t o   t r u e m o u n t P r o p a g a t i o n   i s   u n s e t ,   o r ,   s e t   t o   N o n e T h e   h o s t   ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1954"
  },
  {
    "question": "What is Implementations?",
    "answer": "T h e   f o l l o w i n g   c o n t a i n e r   r u n t i m e s   a r e   k n o w n   t o   s u p p o r t   r e c u r s i v e   r e a d - o n l y   m o u n t s .   C R I - l e v e l :   c o n t a i n e r d ,   s i n c e   v 2 . 0 C R I - O ,   s i n c e   v 1 . 3 0   O C I - l e v e l :   r u n c ,   s i n c e   v 1 . 1 c r u n ,   s i n c e   v 1 . 8 . 6",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1955"
  },
  {
    "question": "What is What's next?",
    "answer": "F o l l o w   a n   e x a m p l e   o f   d e p l o y i n g   W o r d P r e s s   a n d   M y S Q L   w i t h   P e r s i s t e n t   V o l u m e s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_1956"
  },
  {
    "question": "What is 2 - Persistent Volumes?",
    "answer": "T h i s   d o c u m e n t   d e s c r i b e s   p e r s i s t e n t   v o l u m e s   i n   K u b e r n e t e s .   F a m i l i a r i t y   w i t h   v o l u m e s ,   S t o r a g e C l a s s e s   a n d   V o l u m e A t t r i b u t e s C l a s s e s   i s   s u g g e s t e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_1_1957"
  },
  {
    "question": "What is Introduction?",
    "answer": "M a n a g i n g   s t o r a g e   i s   a   d i s t i n c t   p r o b l e m   f r o m   m a n a g i n g   c o m p u t e   i n s t a n c e s .   T h e   P e r s i s t e n t V o l u m e   s u b s y s t e m   p r o v i d e s   a n   A P I   f o r   u s e r s   a n d   a d m i n i s t r a t o r s   t h a t   a b s t r a c t s   d e t a i l s   o f   h o w   s t o r a g e   i s   p r o v i d e d   f r o m   h o w   i t   i s   c o n s u m e d .   T o   d o   t h i s ,   w e   i n t r o d u c e   t w o   n e w   A P I   r e s o u r c e s :   P e r s i s t e n t V o l u m e   a n d   P e r s i s t e n t V o l u m e C l a i m .   A   P e r s i s t e n t V o l u m e   ( P V )   i s   a   p i e c e   o f   s t o r a g e   i n   t h e   c l u s t e r   t h a t   h a s   b e e n   p r o v i s i o n e d   b y   a n   a d m i n i s t r a t o r   o r   d y n a m i c a l l y   p r o v i s i o n e d   u s i n g   S t o r a g e   C l a s s e s .   I t   i s   a   r e s o u r c e   i n   t h e   c l u s t e r   j u s t   l i k e   a   n o d e   i s   a   c l u s t e r   r e s o u r c e .   P V s   a r e   v o l u m e   p l u g i n s   l i k e   V o l u m e s ,   b u t   h a v e   a   l i f e c y c l e   i n d e p e n d e n t   o f   a n y   i n d i v i d u a l   P o d   t h a t   u s e s   t h e   P V .   T h i s   A P I   o b j e c t   c a p t u r e s   t h e   d e t a i l s   o f   t h e   i m p l e m e n t a t i o n   o f   t h e   s t o r a g e ,   b e   t h a t   N F S ,   i S C S I ,   o r   a   c l o u d - p r o v i d e r - s p e c i f i c   s t o r a g e   s y s t e m .   A   P e r s i s t e n t V o l u m e C l a i m   ( P V C )   i s   a   r e q u e s t   f o r   s t o r a g e   b y   a   u s e r .   I t   i s   s i m i l a r   t o   a   P o d .   P o d s   c o n s u m e   n o d e   r e s o u r c e s   a n d   P V C s   c o n s u m e   P V   r e s o u r c e s .   P o d s   c a n   r e q u e s t   s p e c i f i c   l e v e l s   o f   r e s o u r c e s   ( C P U   a n d   M e ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_1958"
  },
  {
    "question": "What is Lifecycle of a volume and claim?",
    "answer": "P V s   a r e   r e s o u r c e s   i n   t h e   c l u s t e r .   P V C s   a r e   r e q u e s t s   f o r   t h o s e   r e s o u r c e s   a n d   a l s o   a c t   a s   c l a i m   c h e c k s   t o   t h e   r e s o u r c e .   T h e   i n t e r a c t i o n   b e t w e e n   P V s   a n d   P V C s   f o l l o w s   t h i s   l i f e c y c l e :",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_1959"
  },
  {
    "question": "What is Provisioning?",
    "answer": "T h e r e   a r e   t w o   w a y s   P V s   m a y   b e   p r o v i s i o n e d :   s t a t i c a l l y   o r   d y n a m i c a l l y .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1960"
  },
  {
    "question": "What is Static?",
    "answer": "A   c l u s t e r   a d m i n i s t r a t o r   c r e a t e s   a   n u m b e r   o f   P V s .   T h e y   c a r r y   t h e   d e t a i l s   o f   t h e   r e a l   s t o r a g e ,   w h i c h   i s   a v a i l a b l e   f o r   u s e   b y   c l u s t e r   u s e r s .   T h e y   e x i s t   i n   t h e   K u b e r n e t e s   A P I   a n d   a r e   a v a i l a b l e   f o r   c o n s u m p t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1961"
  },
  {
    "question": "What is Dynamic?",
    "answer": "W h e n   n o n e   o f   t h e   s t a t i c   P V s   t h e   a d m i n i s t r a t o r   c r e a t e d   m a t c h   a   u s e r ' s   P e r s i s t e n t V o l u m e C l a i m ,   t h e   c l u s t e r   m a y   t r y   t o   d y n a m i c a l l y   p r o v i s i o n   a   v o l u m e   s p e c i a l l y   f o r   t h e   P V C .   T h i s   p r o v i s i o n i n g   i s   b a s e d   o n   S t o r a g e C l a s s e s :   t h e   P V C   m u s t   r e q u e s t   a   s t o r a g e   c l a s s   a n d   t h e   a d m i n i s t r a t o r   m u s t   h a v e   c r e a t e d   a n d   c o n f i g u r e d   t h a t   c l a s s   f o r   d y n a m i c   p r o v i s i o n i n g   t o   o c c u r .   C l a i m s   t h a t   r e q u e s t   t h e   c l a s s   \" \"   e f f e c t i v e l y   d i s a b l e   d y n a m i c   p r o v i s i o n i n g   f o r   t h e m s e l v e s .   T o   e n a b l e   d y n a m i c   s t o r a g e   p r o v i s i o n i n g   b a s e d   o n   s t o r a g e   c l a s s ,   t h e   c l u s t e r   a d m i n i s t r a t o r   n e e d s   t o   e n a b l e   t h e   D e f a u l t S t o r a g e C l a s s   a d m i s s i o n   c o n t r o l l e r   o n   t h e   A P I   s e r v e r .   T h i s   c a n   b e   d o n e ,   f o r   e x a m p l e ,   b y   e n s u r i n g   t h a t   D e f a u l t S t o r a g e C l a s s   i s   a m o n g   t h e   c o m m a - d e l i m i t e d ,   o r d e r e d   l i s t   o f   v a l u e s   f o r   t h e   - - e n a b l e - a d m i s s i o n - p l u g i n s   f l a g   o f   t h e   A P I   s e r v e r   c o m p o n e n t .   F o r   m o r e   i n f o r m a t i o n   o n   A P I   s e r v e r   c o m m a n d - l i n e   f l a g s ,   c h e c k   k u b e - a p i s e r v e r   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1962"
  },
  {
    "question": "What is Binding?",
    "answer": "A   u s e r   c r e a t e s ,   o r   i n   t h e   c a s e   o f   d y n a m i c   p r o v i s i o n i n g ,   h a s   a l r e a d y   c r e a t e d ,   a   P e r s i s t e n t V o l u m e C l a i m   w i t h   a   s p e c i f i c   a m o u n t   o f   s t o r a g e   r e q u e s t e d   a n d   w i t h   c e r t a i n   a c c e s s   m o d e s .   A   c o n t r o l   l o o p   i n   t h e   c o n t r o l   p l a n e   w a t c h e s   f o r   n e w   P V C s ,   f i n d s   a   m a t c h i n g   P V   ( i f   p o s s i b l e ) ,   a n d   b i n d s   t h e m   t o g e t h e r .   I f   a   P V   w a s   d y n a m i c a l l y   p r o v i s i o n e d   f o r   a   n e w   P V C ,   t h e   l o o p   w i l l   a l w a y s   b i n d   t h a t   P V   t o   t h e   P V C .   O t h e r w i s e ,   t h e   u s e r   w i l l   a l w a y s   g e t   a t   l e a s t   w h a t   t h e y   a s k e d   f o r ,   b u t   t h e   v o l u m e   m a y   b e   i n   e x c e s s   o f   w h a t   w a s   r e q u e s t e d .   O n c e   b o u n d ,   P e r s i s t e n t V o l u m e C l a i m   b i n d s   a r e   e x c l u s i v e ,   r e g a r d l e s s   o f   h o w   t h e y   w e r e   b o u n d .   A   P V C   t o   P V   b i n d i n g   i s   a   o n e - t o - o n e   m a p p i n g ,   u s i n g   a   C l a i m R e f   w h i c h   i s   a   b i - d i r e c t i o n a l   b i n d i n g   b e t w e e n   t h e   P e r s i s t e n t V o l u m e   a n d   t h e   P e r s i s t e n t V o l u m e C l a i m .   C l a i m s   w i l l   r e m a i n   u n b o u n d   i n d e f i n i t e l y   i f   a   m a t c h i n g   v o l u m e   d o e s   n o t   e x i s t .   C l a i m s   w i l l   b e   b o u n d   a s   m a t c h i n g   v o l u m e s   b e c o m e   a v a i l a b l e .   F o r   e x a m p l e ,   a   c l u s t e r   p r o v i s i o n e d   w i t h   m a n y   5 0 G i   P V s   w o u l d   n o t   m a t c h   a   P V C   r e q u e s t i n g   1 0 0 G i .   T h e   P V C   c a n   ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1963"
  },
  {
    "question": "What is Using?",
    "answer": "P o d s   u s e   c l a i m s   a s   v o l u m e s .   T h e   c l u s t e r   i n s p e c t s   t h e   c l a i m   t o   f i n d   t h e   b o u n d   v o l u m e   a n d   m o u n t s   t h a t   v o l u m e   f o r   a   P o d .   F o r   v o l u m e s   t h a t   s u p p o r t   m u l t i p l e   a c c e s s   m o d e s ,   t h e   u s e r   s p e c i f i e s   w h i c h   m o d e   i s   d e s i r e d   w h e n   u s i n g   t h e i r   c l a i m   a s   a   v o l u m e   i n   a   P o d .   O n c e   a   u s e r   h a s   a   c l a i m   a n d   t h a t   c l a i m   i s   b o u n d ,   t h e   b o u n d   P V   b e l o n g s   t o   t h e   u s e r   f o r   a s   l o n g   a s   t h e y   n e e d   i t .   U s e r s   s c h e d u l e   P o d s   a n d   a c c e s s   t h e i r   c l a i m e d   P V s   b y   i n c l u d i n g   a   p e r s i s t e n t V o l u m e C l a i m   s e c t i o n   i n   a   P o d ' s   v o l u m e s   b l o c k .   S e e   C l a i m s   A s   V o l u m e s   f o r   m o r e   d e t a i l s   o n   t h i s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1964"
  },
  {
    "question": "What is Storage Object in Use Protection?",
    "answer": "T h e   p u r p o s e   o f   t h e   S t o r a g e   O b j e c t   i n   U s e   P r o t e c t i o n   f e a t u r e   i s   t o   e n s u r e   t h a t   P e r s i s t e n t V o l u m e C l a i m s   ( P V C s )   i n   a c t i v e   u s e   b y   a   P o d   a n d   P e r s i s t e n t V o l u m e   ( P V s )   t h a t   a r e   b o u n d   t o   P V C s   a r e   n o t   r e m o v e d   f r o m   t h e   s y s t e m ,   a s   t h i s   m a y   r e s u l t   i n   d a t a   l o s s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1965"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   a   u s e r   d e l e t e s   a   P V C   i n   a c t i v e   u s e   b y   a   P o d ,   t h e   P V C   i s   n o t   r e m o v e d   i m m e d i a t e l y .   P V C   r e m o v a l   i s   p o s t p o n e d   u n t i l   t h e   P V C   i s   n o   l o n g e r   a c t i v e l y   u s e d   b y   a n y   P o d s .   A l s o ,   i f   a n   a d m i n   d e l e t e s   a   P V   t h a t   i s   b o u n d   t o   a   P V C ,   t h e   P V   i s   n o t   r e m o v e d   i m m e d i a t e l y .   P V   r e m o v a l   i s   p o s t p o n e d   u n t i l   t h e   P V   i s   n o   l o n g e r   b o u n d   t o   a   P V C .   Y o u   c a n   s e e   t h a t   a   P V C   i s   p r o t e c t e d   w h e n   t h e   P V C ' s   s t a t u s   i s   T e r m i n a t i n g   a n d   t h e   F i n a l i z e r s   l i s t   i n c l u d e s   k u b e r n e t e s . i o / p v c - p r o t e c t i o n :   k u b e c t l   d e s c r i b e   p v c   h o s t p a t h   N a m e :   h o s t p a t h   N a m e s p a c e :   d e f a u l t   S t o r a g e C l a s s :   e x a m p l e - h o s t p a t h   S t a t u s :   T e r m i n a t i n g   V o l u m e :   L a b e l s :   < n o n e >   A n n o t a t i o n s :   v o l u m e . b e t a . k u b e r n e t e s . i o / s t o r a g e - c l a s s = e x a m p l e - h o s t p a t h   v o l u m e . b e t a . k u b e r n e t e s . i o / s t o r a g e - p r o v i s i o n e r = e x a m p l e . c o m / h o s t p a t h   F i n a l i z e r s :   [ k u b e r n e t e s . i o / p v c - p r o t e c t i o n ]   . . .   Y o u   c a n   s e e   t h a t   a   P V   i s   p r o t e c t e d   w h e n   t h e   P V ' s   s t a t u s   i s   T e r m i n a t i n g   a n d   t h e   F i n a l i z e r s   l i s t   i n c l u d e s   k u b e r n e t e s . i o / p v - p r o t e c t i o n   t o o :   k u b e c t l   d e s c r i b e   p v   t a s k - p v - v o l u m e   N a m e :   t a s k - p v - v o l u m e   L a b e l s :   t y p e = l o c a l   A n n o t a t i o n s ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1966"
  },
  {
    "question": "What is Reclaiming?",
    "answer": "W h e n   a   u s e r   i s   d o n e   w i t h   t h e i r   v o l u m e ,   t h e y   c a n   d e l e t e   t h e   P V C   o b j e c t s   f r o m   t h e   A P I   t h a t   a l l o w s   r e c l a m a t i o n   o f   t h e   r e s o u r c e .   T h e   r e c l a i m   p o l i c y   f o r   a   P e r s i s t e n t V o l u m e   t e l l s   t h e   c l u s t e r   w h a t   t o   d o   w i t h   t h e   v o l u m e   a f t e r   i t   h a s   b e e n   r e l e a s e d   o f   i t s   c l a i m .   C u r r e n t l y ,   v o l u m e s   c a n   e i t h e r   b e   R e t a i n e d ,   R e c y c l e d ,   o r   D e l e t e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1967"
  },
  {
    "question": "What is Retain?",
    "answer": "T h e   R e t a i n   r e c l a i m   p o l i c y   a l l o w s   f o r   m a n u a l   r e c l a m a t i o n   o f   t h e   r e s o u r c e .   W h e n   t h e   P e r s i s t e n t V o l u m e C l a i m   i s   d e l e t e d ,   t h e   P e r s i s t e n t V o l u m e   s t i l l   e x i s t s   a n d   t h e   v o l u m e   i s   c o n s i d e r e d   \" r e l e a s e d \" .   B u t   i t   i s   n o t   y e t   a v a i l a b l e   f o r   a n o t h e r   c l a i m   b e c a u s e   t h e   p r e v i o u s   c l a i m a n t ' s   d a t a   r e m a i n s   o n   t h e   v o l u m e .   A n   a d m i n i s t r a t o r   c a n   m a n u a l l y   r e c l a i m   t h e   v o l u m e   w i t h   t h e   f o l l o w i n g   s t e p s .   D e l e t e   t h e   P e r s i s t e n t V o l u m e .   T h e   a s s o c i a t e d   s t o r a g e   a s s e t   i n   e x t e r n a l   i n f r a s t r u c t u r e   s t i l l   e x i s t s   a f t e r   t h e   P V   i s   d e l e t e d . M a n u a l l y   c l e a n   u p   t h e   d a t a   o n   t h e   a s s o c i a t e d   s t o r a g e   a s s e t   a c c o r d i n g l y . M a n u a l l y   d e l e t e   t h e   a s s o c i a t e d   s t o r a g e   a s s e t .   I f   y o u   w a n t   t o   r e u s e   t h e   s a m e   s t o r a g e   a s s e t ,   c r e a t e   a   n e w   P e r s i s t e n t V o l u m e   w i t h   t h e   s a m e   s t o r a g e   a s s e t   d e f i n i t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1968"
  },
  {
    "question": "What is Delete?",
    "answer": "F o r   v o l u m e   p l u g i n s   t h a t   s u p p o r t   t h e   D e l e t e   r e c l a i m   p o l i c y ,   d e l e t i o n   r e m o v e s   b o t h   t h e   P e r s i s t e n t V o l u m e   o b j e c t   f r o m   K u b e r n e t e s ,   a s   w e l l   a s   t h e   a s s o c i a t e d   s t o r a g e   a s s e t   i n   t h e   e x t e r n a l   i n f r a s t r u c t u r e .   V o l u m e s   t h a t   w e r e   d y n a m i c a l l y   p r o v i s i o n e d   i n h e r i t   t h e   r e c l a i m   p o l i c y   o f   t h e i r   S t o r a g e C l a s s ,   w h i c h   d e f a u l t s   t o   D e l e t e .   T h e   a d m i n i s t r a t o r   s h o u l d   c o n f i g u r e   t h e   S t o r a g e C l a s s   a c c o r d i n g   t o   u s e r s '   e x p e c t a t i o n s ;   o t h e r w i s e ,   t h e   P V   m u s t   b e   e d i t e d   o r   p a t c h e d   a f t e r   i t   i s   c r e a t e d .   S e e   C h a n g e   t h e   R e c l a i m   P o l i c y   o f   a   P e r s i s t e n t V o l u m e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1969"
  },
  {
    "question": "What is Warning:?",
    "answer": "I f   s u p p o r t e d   b y   t h e   u n d e r l y i n g   v o l u m e   p l u g i n ,   t h e   R e c y c l e   r e c l a i m   p o l i c y   p e r f o r m s   a   b a s i c   s c r u b   ( r m   - r f   / t h e v o l u m e / * )   o n   t h e   v o l u m e   a n d   m a k e s   i t   a v a i l a b l e   a g a i n   f o r   a   n e w   c l a i m .   H o w e v e r ,   a n   a d m i n i s t r a t o r   c a n   c o n f i g u r e   a   c u s t o m   r e c y c l e r   P o d   t e m p l a t e   u s i n g   t h e   K u b e r n e t e s   c o n t r o l l e r   m a n a g e r   c o m m a n d   l i n e   a r g u m e n t s   a s   d e s c r i b e d   i n   t h e   r e f e r e n c e .   T h e   c u s t o m   r e c y c l e r   P o d   t e m p l a t e   m u s t   c o n t a i n   a   v o l u m e s   s p e c i f i c a t i o n ,   a s   s h o w n   i n   t h e   e x a m p l e   b e l o w :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p v - r e c y c l e r   n a m e s p a c e :   d e f a u l t   s p e c :   r e s t a r t P o l i c y :   N e v e r   v o l u m e s :   -   n a m e :   v o l   h o s t P a t h :   p a t h :   / a n y / p a t h / i t / w i l l / b e / r e p l a c e d   c o n t a i n e r s :   -   n a m e :   p v - r e c y c l e r   i m a g e :   \" r e g i s t r y . k 8 s . i o / b u s y b o x \"   c o m m a n d :   [ \" / b i n / s h \" ,   \" - c \" ,   \" t e s t   - e   / s c r u b   & &   r m   - r f   / s c r u b / . . ? *   / s c r u b / . [ ! . ] *   / s c r u b / *   & &   t e s t   - z   \\ \" $ ( l s   - A   / s c r u b ) \\ \"   | |   e x i t   1 \" ]   v o l u m e M o u n t s :   -   n a m e :   v o l   m o u n t P a t h :   / s c r u b   H o w e v e r ,   t h e   p a r t i c u l a r   p a t h   s p e c i f i e d   i n   t h e   c u s t o m   r e c y c l e r   P o d   t e m p l a t e   i n   t h e   v o l u m e s   p a r t   i s   r e p l a c e d   w i t h   t h e   p a r t i c u l a r   p a t h   o f   t h e   v o l u m e   t h a ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1970"
  },
  {
    "question": "What is PersistentVolume deletion protection finalizer?",
    "answer": "F i n a l i z e r s   c a n   b e   a d d e d   o n   a   P e r s i s t e n t V o l u m e   t o   e n s u r e   t h a t   P e r s i s t e n t V o l u m e s   h a v i n g   D e l e t e   r e c l a i m   p o l i c y   a r e   d e l e t e d   o n l y   a f t e r   t h e   b a c k i n g   s t o r a g e   a r e   d e l e t e d .   T h e   f i n a l i z e r   e x t e r n a l - p r o v i s i o n e r . v o l u m e . k u b e r n e t e s . i o / f i n a l i z e r ( i n t r o d u c e d   i n   v 1 . 3 1 )   i s   a d d e d   t o   b o t h   d y n a m i c a l l y   p r o v i s i o n e d   a n d   s t a t i c a l l y   p r o v i s i o n e d   C S I   v o l u m e s .   T h e   f i n a l i z e r   k u b e r n e t e s . i o / p v - c o n t r o l l e r ( i n t r o d u c e d   i n   v 1 . 3 1 )   i s   a d d e d   t o   d y n a m i c a l l y   p r o v i s i o n e d   i n - t r e e   p l u g i n   v o l u m e s   a n d   s k i p p e d   f o r   s t a t i c a l l y   p r o v i s i o n e d   i n - t r e e   p l u g i n   v o l u m e s .   T h e   f o l l o w i n g   i s   a n   e x a m p l e   o f   d y n a m i c a l l y   p r o v i s i o n e d   i n - t r e e   p l u g i n   v o l u m e :   k u b e c t l   d e s c r i b e   p v   p v c - 7 4 a 4 9 8 d 6 - 3 9 2 9 - 4 7 e 8 - 8 c 0 2 - 0 7 8 c 1 e c e 4 d 7 8   N a m e :   p v c - 7 4 a 4 9 8 d 6 - 3 9 2 9 - 4 7 e 8 - 8 c 0 2 - 0 7 8 c 1 e c e 4 d 7 8   L a b e l s :   < n o n e >   A n n o t a t i o n s :   k u b e r n e t e s . i o / c r e a t e d b y :   v s p h e r e - v o l u m e - d y n a m i c - p r o v i s i o n e r   p v . k u b e r n e t e s . i o / b o u n d - b y - c o n t r o l l e r :   y e s   p v . k u b e r n e t e s . i o / p r o v i s i o n e d - b y :   k u b e r n e t e s . i o / v s p h e r e - v o l u m e   F i n a l i z e r s :   [ k u b e r n e t e s . i o / p v - p r o t e c t i o n   k u b e r n e t e s . i o / p v - c o n t r o l l e r ]   S t o r a g e C l a s s :   v c p - s c   S t a t u s :   B o u n d   ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1971"
  },
  {
    "question": "What is Reserving a PersistentVolume?",
    "answer": "T h e   c o n t r o l   p l a n e   c a n   b i n d   P e r s i s t e n t V o l u m e C l a i m s   t o   m a t c h i n g   P e r s i s t e n t V o l u m e s   i n   t h e   c l u s t e r .   H o w e v e r ,   i f   y o u   w a n t   a   P V C   t o   b i n d   t o   a   s p e c i f i c   P V ,   y o u   n e e d   t o   p r e - b i n d   t h e m .   B y   s p e c i f y i n g   a   P e r s i s t e n t V o l u m e   i n   a   P e r s i s t e n t V o l u m e C l a i m ,   y o u   d e c l a r e   a   b i n d i n g   b e t w e e n   t h a t   s p e c i f i c   P V   a n d   P V C .   I f   t h e   P e r s i s t e n t V o l u m e   e x i s t s   a n d   h a s   n o t   r e s e r v e d   P e r s i s t e n t V o l u m e C l a i m s   t h r o u g h   i t s   c l a i m R e f   f i e l d ,   t h e n   t h e   P e r s i s t e n t V o l u m e   a n d   P e r s i s t e n t V o l u m e C l a i m   w i l l   b e   b o u n d .   T h e   b i n d i n g   h a p p e n s   r e g a r d l e s s   o f   s o m e   v o l u m e   m a t c h i n g   c r i t e r i a ,   i n c l u d i n g   n o d e   a f f i n i t y .   T h e   c o n t r o l   p l a n e   s t i l l   c h e c k s   t h a t   s t o r a g e   c l a s s ,   a c c e s s   m o d e s ,   a n d   r e q u e s t e d   s t o r a g e   s i z e   a r e   v a l i d .   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   f o o - p v c   n a m e s p a c e :   f o o   s p e c :   s t o r a g e C l a s s N a m e :   \" \"   #   E m p t y   s t r i n g   m u s t   b e   e x p l i c i t l y   s e t   o t h e r w i s e   d e f a u l t   S t o r a g e C l a s s   w i l l   b e   s e t   v o l u m e N a m e :   f o o - p v   . . .   T h i s   m e t h o d   d o e s   n o t   g u a r a n t e e   a n y   b i n d i n g   p r i v i l e g e s   t o   t h e   P e r s i s t e n t V o l u m e .   I f   o t h e r   P e r s i s t e n t V o l u m e C l a i m s   c o u l d   u s e   t h e   P V   t h a ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1972"
  },
  {
    "question": "What is Expanding Persistent Volumes Claims?",
    "answer": "S u p p o r t   f o r   e x p a n d i n g   P e r s i s t e n t V o l u m e C l a i m s   ( P V C s )   i s   e n a b l e d   b y   d e f a u l t .   Y o u   c a n   e x p a n d   t h e   f o l l o w i n g   t y p e s   o f   v o l u m e s :   c s i   ( i n c l u d i n g   s o m e   C S I   m i g r a t e d   v o l m e   t y p e s ) f l e x V o l u m e   ( d e p r e c a t e d ) p o r t w o r x V o l u m e   ( d e p r e c a t e d )   Y o u   c a n   o n l y   e x p a n d   a   P V C   i f   i t s   s t o r a g e   c l a s s ' s   a l l o w V o l u m e E x p a n s i o n   f i e l d   i s   s e t   t o   t r u e .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   e x a m p l e - v o l - d e f a u l t   p r o v i s i o n e r :   v e n d o r - n a m e . e x a m p l e / m a g i c s t o r a g e   p a r a m e t e r s :   r e s t u r l :   \" h t t p : / / 1 9 2 . 1 6 8 . 1 0 . 1 0 0 : 8 0 8 0 \"   r e s t u s e r :   \" \"   s e c r e t N a m e s p a c e :   \" \"   s e c r e t N a m e :   \" \"   a l l o w V o l u m e E x p a n s i o n :   t r u e   T o   r e q u e s t   a   l a r g e r   v o l u m e   f o r   a   P V C ,   e d i t   t h e   P V C   o b j e c t   a n d   s p e c i f y   a   l a r g e r   s i z e .   T h i s   t r i g g e r s   e x p a n s i o n   o f   t h e   v o l u m e   t h a t   b a c k s   t h e   u n d e r l y i n g   P e r s i s t e n t V o l u m e .   A   n e w   P e r s i s t e n t V o l u m e   i s   n e v e r   c r e a t e d   t o   s a t i s f y   t h e   c l a i m .   I n s t e a d ,   a n   e x i s t i n g   v o l u m e   i s   r e s i z e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1973"
  },
  {
    "question": "What is CSI Volume expansion?",
    "answer": "S u p p o r t   f o r   e x p a n d i n g   C S I   v o l u m e s   i s   e n a b l e d   b y   d e f a u l t   b u t   i t   a l s o   r e q u i r e s   a   s p e c i f i c   C S I   d r i v e r   t o   s u p p o r t   v o l u m e   e x p a n s i o n .   R e f e r   t o   d o c u m e n t a t i o n   o f   t h e   s p e c i f i c   C S I   d r i v e r   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1974"
  },
  {
    "question": "What is Resizing a volume containing a file system?",
    "answer": "Y o u   c a n   o n l y   r e s i z e   v o l u m e s   c o n t a i n i n g   a   f i l e   s y s t e m   i f   t h e   f i l e   s y s t e m   i s   X F S ,   E x t 3 ,   o r   E x t 4 .   W h e n   a   v o l u m e   c o n t a i n s   a   f i l e   s y s t e m ,   t h e   f i l e   s y s t e m   i s   o n l y   r e s i z e d   w h e n   a   n e w   P o d   i s   u s i n g   t h e   P e r s i s t e n t V o l u m e C l a i m   i n   R e a d W r i t e   m o d e .   F i l e   s y s t e m   e x p a n s i o n   i s   e i t h e r   d o n e   w h e n   a   P o d   i s   s t a r t i n g   u p   o r   w h e n   a   P o d   i s   r u n n i n g   a n d   t h e   u n d e r l y i n g   f i l e   s y s t e m   s u p p o r t s   o n l i n e   e x p a n s i o n .   F l e x V o l u m e s   ( d e p r e c a t e d   s i n c e   K u b e r n e t e s   v 1 . 2 3 )   a l l o w   r e s i z e   i f   t h e   d r i v e r   i s   c o n f i g u r e d   w i t h   t h e   R e q u i r e s F S R e s i z e   c a p a b i l i t y   t o   t r u e .   T h e   F l e x V o l u m e   c a n   b e   r e s i z e d   o n   P o d   r e s t a r t .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1975"
  },
  {
    "question": "What is Resizing an in-use PersistentVolumeClaim?",
    "answer": "I n   t h i s   c a s e ,   y o u   d o n ' t   n e e d   t o   d e l e t e   a n d   r e c r e a t e   a   P o d   o r   d e p l o y m e n t   t h a t   i s   u s i n g   a n   e x i s t i n g   P V C .   A n y   i n - u s e   P V C   a u t o m a t i c a l l y   b e c o m e s   a v a i l a b l e   t o   i t s   P o d   a s   s o o n   a s   i t s   f i l e   s y s t e m   h a s   b e e n   e x p a n d e d .   T h i s   f e a t u r e   h a s   n o   e f f e c t   o n   P V C s   t h a t   a r e   n o t   i n   u s e   b y   a   P o d   o r   d e p l o y m e n t .   Y o u   m u s t   c r e a t e   a   P o d   t h a t   u s e s   t h e   P V C   b e f o r e   t h e   e x p a n s i o n   c a n   c o m p l e t e .   S i m i l a r   t o   o t h e r   v o l u m e   t y p e s   -   F l e x V o l u m e   v o l u m e s   c a n   a l s o   b e   e x p a n d e d   w h e n   i n - u s e   b y   a   P o d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1976"
  },
  {
    "question": "What is Recovering from Failure when Expanding Volumes?",
    "answer": "I f   a   u s e r   s p e c i f i e s   a   n e w   s i z e   t h a t   i s   t o o   b i g   t o   b e   s a t i s f i e d   b y   u n d e r l y i n g   s t o r a g e   s y s t e m ,   e x p a n s i o n   o f   P V C   w i l l   b e   c o n t i n u o u s l y   r e t r i e d   u n t i l   u s e r   o r   c l u s t e r   a d m i n i s t r a t o r   t a k e s   s o m e   a c t i o n .   T h i s   c a n   b e   u n d e s i r a b l e   a n d   h e n c e   K u b e r n e t e s   p r o v i d e s   f o l l o w i n g   m e t h o d s   o f   r e c o v e r i n g   f r o m   s u c h   f a i l u r e s .   I f   e x p a n d i n g   u n d e r l y i n g   s t o r a g e   f a i l s ,   t h e   c l u s t e r   a d m i n i s t r a t o r   c a n   m a n u a l l y   r e c o v e r   t h e   P e r s i s t e n t   V o l u m e   C l a i m   ( P V C )   s t a t e   a n d   c a n c e l   t h e   r e s i z e   r e q u e s t s .   O t h e r w i s e ,   t h e   r e s i z e   r e q u e s t s   a r e   c o n t i n u o u s l y   r e t r i e d   b y   t h e   c o n t r o l l e r   w i t h o u t   a d m i n i s t r a t o r   i n t e r v e n t i o n . M a r k   t h e   P e r s i s t e n t V o l u m e ( P V )   t h a t   i s   b o u n d   t o   t h e   P e r s i s t e n t V o l u m e C l a i m ( P V C )   w i t h   R e t a i n   r e c l a i m   p o l i c y . D e l e t e   t h e   P V C .   S i n c e   P V   h a s   R e t a i n   r e c l a i m   p o l i c y   -   w e   w i l l   n o t   l o s e   a n y   d a t a   w h e n   w e   r e c r e a t e   t h e   P V C . D e l e t e   t h e   c l a i m R e f   e n t r y   f r o m   P V   s p e c s ,   s o   a s   n e w   P V C   c a n   b i n d   t o   i t .   T h i s   s h o u l d   m a k e   t h e   P V   A v a i l a b l e . R e - c r e a t e   t h e   P V C   w i t h   s m a l l e r   s i z e   t h a n   P V   a n d   s e t   v o l u m e N a m e   f i e l d   o f   t h e   P V C   t o   t h e   n a m e   o f   t h e   P V .   T h i s   s h o u l d   b i n d ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1977"
  },
  {
    "question": "What is Types of Persistent Volumes?",
    "answer": "P e r s i s t e n t V o l u m e   t y p e s   a r e   i m p l e m e n t e d   a s   p l u g i n s .   K u b e r n e t e s   c u r r e n t l y   s u p p o r t s   t h e   f o l l o w i n g   p l u g i n s :   c s i   -   C o n t a i n e r   S t o r a g e   I n t e r f a c e   ( C S I ) f c   -   F i b r e   C h a n n e l   ( F C )   s t o r a g e h o s t P a t h   -   H o s t P a t h   v o l u m e   ( f o r   s i n g l e   n o d e   t e s t i n g   o n l y ;   W I L L   N O T   W O R K   i n   a   m u l t i - n o d e   c l u s t e r ;   c o n s i d e r   u s i n g   l o c a l   v o l u m e   i n s t e a d ) i s c s i   -   i S C S I   ( S C S I   o v e r   I P )   s t o r a g e l o c a l   -   l o c a l   s t o r a g e   d e v i c e s   m o u n t e d   o n   n o d e s . n f s   -   N e t w o r k   F i l e   S y s t e m   ( N F S )   s t o r a g e   T h e   f o l l o w i n g   t y p e s   o f   P e r s i s t e n t V o l u m e   a r e   d e p r e c a t e d   b u t   s t i l l   a v a i l a b l e .   I f   y o u   a r e   u s i n g   t h e s e   v o l u m e   t y p e s   e x c e p t   f o r   f l e x V o l u m e ,   c e p h f s   a n d   r b d ,   p l e a s e   i n s t a l l   c o r r e s p o n d i n g   C S I   d r i v e r s .   a w s E l a s t i c B l o c k S t o r e   -   A W S   E l a s t i c   B l o c k   S t o r e   ( E B S )   ( m i g r a t i o n   o n   b y   d e f a u l t   s t a r t i n g   v 1 . 2 3 ) a z u r e D i s k   -   A z u r e   D i s k   ( m i g r a t i o n   o n   b y   d e f a u l t   s t a r t i n g   v 1 . 2 3 ) a z u r e F i l e   -   A z u r e   F i l e   ( m i g r a t i o n   o n   b y   d e f a u l t   s t a r t i n g   v 1 . 2 4 ) c i n d e r   -   C i n d e r   ( O p e n S t a c k   b l o c k   s t o r a g e )   ( m i g r a t i o n   o n   b y   d e f a u l t   s t a r t i n g   v 1 . 2 1 ) f l e x V o l u m e   -   F l e x V o l u m e   ( d e p r e c a t e d   s t a r t i n g   v 1 . 2 3 ,   n o   m i g r a t i o n   p l a n   a n d   n o ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_1978"
  },
  {
    "question": "What is Persistent Volumes?",
    "answer": "E a c h   P V   c o n t a i n s   a   s p e c   a n d   s t a t u s ,   w h i c h   i s   t h e   s p e c i f i c a t i o n   a n d   s t a t u s   o f   t h e   v o l u m e .   T h e   n a m e   o f   a   P e r s i s t e n t V o l u m e   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e   m e t a d a t a :   n a m e :   p v 0 0 0 3   s p e c :   c a p a c i t y :   s t o r a g e :   5 G i   v o l u m e M o d e :   F i l e s y s t e m   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   p e r s i s t e n t V o l u m e R e c l a i m P o l i c y :   R e c y c l e   s t o r a g e C l a s s N a m e :   s l o w   m o u n t O p t i o n s :   -   h a r d   -   n f s v e r s = 4 . 1   n f s :   p a t h :   / t m p   s e r v e r :   1 7 2 . 1 7 . 0 . 2",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_1979"
  },
  {
    "question": "What is Capacity?",
    "answer": "G e n e r a l l y ,   a   P V   w i l l   h a v e   a   s p e c i f i c   s t o r a g e   c a p a c i t y .   T h i s   i s   s e t   u s i n g   t h e   P V ' s   c a p a c i t y   a t t r i b u t e   w h i c h   i s   a   Q u a n t i t y   v a l u e .   C u r r e n t l y ,   s t o r a g e   s i z e   i s   t h e   o n l y   r e s o u r c e   t h a t   c a n   b e   s e t   o r   r e q u e s t e d .   F u t u r e   a t t r i b u t e s   m a y   i n c l u d e   I O P S ,   t h r o u g h p u t ,   e t c .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1980"
  },
  {
    "question": "What is Volume Mode?",
    "answer": "K u b e r n e t e s   s u p p o r t s   t w o   v o l u m e M o d e s   o f   P e r s i s t e n t V o l u m e s :   F i l e s y s t e m   a n d   B l o c k .   v o l u m e M o d e   i s   a n   o p t i o n a l   A P I   p a r a m e t e r .   F i l e s y s t e m   i s   t h e   d e f a u l t   m o d e   u s e d   w h e n   v o l u m e M o d e   p a r a m e t e r   i s   o m i t t e d .   A   v o l u m e   w i t h   v o l u m e M o d e :   F i l e s y s t e m   i s   m o u n t e d   i n t o   P o d s   i n t o   a   d i r e c t o r y .   I f   t h e   v o l u m e   i s   b a c k e d   b y   a   b l o c k   d e v i c e   a n d   t h e   d e v i c e   i s   e m p t y ,   K u b e r n e t e s   c r e a t e s   a   f i l e s y s t e m   o n   t h e   d e v i c e   b e f o r e   m o u n t i n g   i t   f o r   t h e   f i r s t   t i m e .   Y o u   c a n   s e t   t h e   v a l u e   o f   v o l u m e M o d e   t o   B l o c k   t o   u s e   a   v o l u m e   a s   a   r a w   b l o c k   d e v i c e .   S u c h   v o l u m e   i s   p r e s e n t e d   i n t o   a   P o d   a s   a   b l o c k   d e v i c e ,   w i t h o u t   a n y   f i l e s y s t e m   o n   i t .   T h i s   m o d e   i s   u s e f u l   t o   p r o v i d e   a   P o d   t h e   f a s t e s t   p o s s i b l e   w a y   t o   a c c e s s   a   v o l u m e ,   w i t h o u t   a n y   f i l e s y s t e m   l a y e r   b e t w e e n   t h e   P o d   a n d   t h e   v o l u m e .   O n   t h e   o t h e r   h a n d ,   t h e   a p p l i c a t i o n   r u n n i n g   i n   t h e   P o d   m u s t   k n o w   h o w   t o   h a n d l e   a   r a w   b l o c k   d e v i c e .   S e e   R a w   B l o c k   V o l u m e   S u p p o r t   f o r   a n   e x a m p l e   o n   h o w   t o   u s e   a   v o l u m e   w i t h   v o l u m e M o d e :   B l o c k   i n   a   P o d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1981"
  },
  {
    "question": "What is Access Modes?",
    "answer": "A   P e r s i s t e n t V o l u m e   c a n   b e   m o u n t e d   o n   a   h o s t   i n   a n y   w a y   s u p p o r t e d   b y   t h e   r e s o u r c e   p r o v i d e r .   A s   s h o w n   i n   t h e   t a b l e   b e l o w ,   p r o v i d e r s   w i l l   h a v e   d i f f e r e n t   c a p a b i l i t i e s   a n d   e a c h   P V ' s   a c c e s s   m o d e s   a r e   s e t   t o   t h e   s p e c i f i c   m o d e s   s u p p o r t e d   b y   t h a t   p a r t i c u l a r   v o l u m e .   F o r   e x a m p l e ,   N F S   c a n   s u p p o r t   m u l t i p l e   r e a d / w r i t e   c l i e n t s ,   b u t   a   s p e c i f i c   N F S   P V   m i g h t   b e   e x p o r t e d   o n   t h e   s e r v e r   a s   r e a d - o n l y .   E a c h   P V   g e t s   i t s   o w n   s e t   o f   a c c e s s   m o d e s   d e s c r i b i n g   t h a t   s p e c i f i c   P V ' s   c a p a b i l i t i e s .   T h e   a c c e s s   m o d e s   a r e :",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1982"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   R e a d W r i t e O n c e P o d   a c c e s s   m o d e   i s   o n l y   s u p p o r t e d   f o r   C S I   v o l u m e s   a n d   K u b e r n e t e s   v e r s i o n   1 . 2 2 + .   T o   u s e   t h i s   f e a t u r e   y o u   w i l l   n e e d   t o   u p d a t e   t h e   f o l l o w i n g   C S I   s i d e c a r s   t o   t h e s e   v e r s i o n s   o r   g r e a t e r :   c s i - p r o v i s i o n e r : v 3 . 0 . 0 + c s i - a t t a c h e r : v 3 . 3 . 0 + c s i - r e s i z e r : v 1 . 3 . 0 +   I n   t h e   C L I ,   t h e   a c c e s s   m o d e s   a r e   a b b r e v i a t e d   t o :   R W O   -   R e a d W r i t e O n c e R O X   -   R e a d O n l y M a n y R W X   -   R e a d W r i t e M a n y R W O P   -   R e a d W r i t e O n c e P o d",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1983"
  },
  {
    "question": "What is Note:?",
    "answer": "I m p o r t a n t !   A   v o l u m e   c a n   o n l y   b e   m o u n t e d   u s i n g   o n e   a c c e s s   m o d e   a t   a   t i m e ,   e v e n   i f   i t   s u p p o r t s   m a n y .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1984"
  },
  {
    "question": "What is Class?",
    "answer": "A   P V   c a n   h a v e   a   c l a s s ,   w h i c h   i s   s p e c i f i e d   b y   s e t t i n g   t h e   s t o r a g e C l a s s N a m e   a t t r i b u t e   t o   t h e   n a m e   o f   a   S t o r a g e C l a s s .   A   P V   o f   a   p a r t i c u l a r   c l a s s   c a n   o n l y   b e   b o u n d   t o   P V C s   r e q u e s t i n g   t h a t   c l a s s .   A   P V   w i t h   n o   s t o r a g e C l a s s N a m e   h a s   n o   c l a s s   a n d   c a n   o n l y   b e   b o u n d   t o   P V C s   t h a t   r e q u e s t   n o   p a r t i c u l a r   c l a s s .   I n   t h e   p a s t ,   t h e   a n n o t a t i o n   v o l u m e . b e t a . k u b e r n e t e s . i o / s t o r a g e - c l a s s   w a s   u s e d   i n s t e a d   o f   t h e   s t o r a g e C l a s s N a m e   a t t r i b u t e .   T h i s   a n n o t a t i o n   i s   s t i l l   w o r k i n g ;   h o w e v e r ,   i t   w i l l   b e c o m e   f u l l y   d e p r e c a t e d   i n   a   f u t u r e   K u b e r n e t e s   r e l e a s e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1985"
  },
  {
    "question": "What is Reclaim Policy?",
    "answer": "C u r r e n t   r e c l a i m   p o l i c i e s   a r e :   R e t a i n   - -   m a n u a l   r e c l a m a t i o n R e c y c l e   - -   b a s i c   s c r u b   ( r m   - r f   / t h e v o l u m e / * ) D e l e t e   - -   d e l e t e   t h e   v o l u m e   F o r   K u b e r n e t e s   1 . 3 4 ,   o n l y   n f s   a n d   h o s t P a t h   v o l u m e   t y p e s   s u p p o r t   r e c y c l i n g .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1986"
  },
  {
    "question": "What is Mount Options?",
    "answer": "A   K u b e r n e t e s   a d m i n i s t r a t o r   c a n   s p e c i f y   a d d i t i o n a l   m o u n t   o p t i o n s   f o r   w h e n   a   P e r s i s t e n t   V o l u m e   i s   m o u n t e d   o n   a   n o d e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1987"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   f o l l o w i n g   v o l u m e   t y p e s   s u p p o r t   m o u n t   o p t i o n s :   c s i   ( i n c l u d i n g   C S I   m i g r a t e d   v o l u m e   t y p e s ) i s c s i n f s   M o u n t   o p t i o n s   a r e   n o t   v a l i d a t e d .   I f   a   m o u n t   o p t i o n   i s   i n v a l i d ,   t h e   m o u n t   f a i l s .   I n   t h e   p a s t ,   t h e   a n n o t a t i o n   v o l u m e . b e t a . k u b e r n e t e s . i o / m o u n t - o p t i o n s   w a s   u s e d   i n s t e a d   o f   t h e   m o u n t O p t i o n s   a t t r i b u t e .   T h i s   a n n o t a t i o n   i s   s t i l l   w o r k i n g ;   h o w e v e r ,   i t   w i l l   b e c o m e   f u l l y   d e p r e c a t e d   i n   a   f u t u r e   K u b e r n e t e s   r e l e a s e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1988"
  },
  {
    "question": "What is Note:?",
    "answer": "A   P V   c a n   s p e c i f y   n o d e   a f f i n i t y   t o   d e f i n e   c o n s t r a i n t s   t h a t   l i m i t   w h a t   n o d e s   t h i s   v o l u m e   c a n   b e   a c c e s s e d   f r o m .   P o d s   t h a t   u s e   a   P V   w i l l   o n l y   b e   s c h e d u l e d   t o   n o d e s   t h a t   a r e   s e l e c t e d   b y   t h e   n o d e   a f f i n i t y .   T o   s p e c i f y   n o d e   a f f i n i t y ,   s e t   n o d e A f f i n i t y   i n   t h e   . s p e c   o f   a   P V .   T h e   P e r s i s t e n t V o l u m e   A P I   r e f e r e n c e   h a s   m o r e   d e t a i l s   o n   t h i s   f i e l d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1989"
  },
  {
    "question": "What is Phase?",
    "answer": "A   P e r s i s t e n t V o l u m e   w i l l   b e   i n   o n e   o f   t h e   f o l l o w i n g   p h a s e s :   Y o u   c a n   s e e   t h e   n a m e   o f   t h e   P V C   b o u n d   t o   t h e   P V   u s i n g   k u b e c t l   d e s c r i b e   p e r s i s t e n t v o l u m e   < n a m e > .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1990"
  },
  {
    "question": "What is Phase transition timestamp?",
    "answer": "T h e   . s t a t u s   f i e l d   f o r   a   P e r s i s t e n t V o l u m e   c a n   i n c l u d e   a n   a l p h a   l a s t P h a s e T r a n s i t i o n T i m e   f i e l d .   T h i s   f i e l d   r e c o r d s   t h e   t i m e s t a m p   o f   w h e n   t h e   v o l u m e   l a s t   t r a n s i t i o n e d   i t s   p h a s e .   F o r   n e w l y   c r e a t e d   v o l u m e s   t h e   p h a s e   i s   s e t   t o   P e n d i n g   a n d   l a s t P h a s e T r a n s i t i o n T i m e   i s   s e t   t o   t h e   c u r r e n t   t i m e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1991"
  },
  {
    "question": "What is PersistentVolumeClaims?",
    "answer": "E a c h   P V C   c o n t a i n s   a   s p e c   a n d   s t a t u s ,   w h i c h   i s   t h e   s p e c i f i c a t i o n   a n d   s t a t u s   o f   t h e   c l a i m .   T h e   n a m e   o f   a   P e r s i s t e n t V o l u m e C l a i m   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   m y c l a i m   s p e c :   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   v o l u m e M o d e :   F i l e s y s t e m   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   8 G i   s t o r a g e C l a s s N a m e :   s l o w   s e l e c t o r :   m a t c h L a b e l s :   r e l e a s e :   \" s t a b l e \"   m a t c h E x p r e s s i o n s :   -   { k e y :   e n v i r o n m e n t ,   o p e r a t o r :   I n ,   v a l u e s :   [ d e v ] }",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_1992"
  },
  {
    "question": "What is Access Modes?",
    "answer": "C l a i m s   u s e   t h e   s a m e   c o n v e n t i o n s   a s   v o l u m e s   w h e n   r e q u e s t i n g   s t o r a g e   w i t h   s p e c i f i c   a c c e s s   m o d e s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1993"
  },
  {
    "question": "What is Volume Modes?",
    "answer": "C l a i m s   u s e   t h e   s a m e   c o n v e n t i o n   a s   v o l u m e s   t o   i n d i c a t e   t h e   c o n s u m p t i o n   o f   t h e   v o l u m e   a s   e i t h e r   a   f i l e s y s t e m   o r   b l o c k   d e v i c e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1994"
  },
  {
    "question": "What is Volume Name?",
    "answer": "C l a i m s   c a n   u s e   t h e   v o l u m e N a m e   f i e l d   t o   e x p l i c i t l y   b i n d   t o   a   s p e c i f i c   P e r s i s t e n t V o l u m e .   Y o u   c a n   a l s o   l e a v e   v o l u m e N a m e   u n s e t ,   i n d i c a t i n g   t h a t   y o u ' d   l i k e   K u b e r n e t e s   t o   s e t   u p   a   n e w   P e r s i s t e n t V o l u m e   t h a t   m a t c h e s   t h e   c l a i m .   I f   t h e   s p e c i f i e d   P V   i s   a l r e a d y   b o u n d   t o   a n o t h e r   P V C ,   t h e   b i n d i n g   w i l l   b e   s t u c k   i n   a   p e n d i n g   s t a t e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1995"
  },
  {
    "question": "What is Resources?",
    "answer": "C l a i m s ,   l i k e   P o d s ,   c a n   r e q u e s t   s p e c i f i c   q u a n t i t i e s   o f   a   r e s o u r c e .   I n   t h i s   c a s e ,   t h e   r e q u e s t   i s   f o r   s t o r a g e .   T h e   s a m e   r e s o u r c e   m o d e l   a p p l i e s   t o   b o t h   v o l u m e s   a n d   c l a i m s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1996"
  },
  {
    "question": "What is Selector?",
    "answer": "C l a i m s   c a n   s p e c i f y   a   l a b e l   s e l e c t o r   t o   f u r t h e r   f i l t e r   t h e   s e t   o f   v o l u m e s .   O n l y   t h e   v o l u m e s   w h o s e   l a b e l s   m a t c h   t h e   s e l e c t o r   c a n   b e   b o u n d   t o   t h e   c l a i m .   T h e   s e l e c t o r   c a n   c o n s i s t   o f   t w o   f i e l d s :   m a t c h L a b e l s   -   t h e   v o l u m e   m u s t   h a v e   a   l a b e l   w i t h   t h i s   v a l u e m a t c h E x p r e s s i o n s   -   a   l i s t   o f   r e q u i r e m e n t s   m a d e   b y   s p e c i f y i n g   k e y ,   l i s t   o f   v a l u e s ,   a n d   o p e r a t o r   t h a t   r e l a t e s   t h e   k e y   a n d   v a l u e s .   V a l i d   o p e r a t o r s   i n c l u d e   I n ,   N o t I n ,   E x i s t s ,   a n d   D o e s N o t E x i s t .   A l l   o f   t h e   r e q u i r e m e n t s ,   f r o m   b o t h   m a t c h L a b e l s   a n d   m a t c h E x p r e s s i o n s ,   a r e   A N D e d   t o g e t h e r   –   t h e y   m u s t   a l l   b e   s a t i s f i e d   i n   o r d e r   t o   m a t c h .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1997"
  },
  {
    "question": "What is Class?",
    "answer": "A   c l a i m   c a n   r e q u e s t   a   p a r t i c u l a r   c l a s s   b y   s p e c i f y i n g   t h e   n a m e   o f   a   S t o r a g e C l a s s   u s i n g   t h e   a t t r i b u t e   s t o r a g e C l a s s N a m e .   O n l y   P V s   o f   t h e   r e q u e s t e d   c l a s s ,   o n e s   w i t h   t h e   s a m e   s t o r a g e C l a s s N a m e   a s   t h e   P V C ,   c a n   b e   b o u n d   t o   t h e   P V C .   P V C s   d o n ' t   n e c e s s a r i l y   h a v e   t o   r e q u e s t   a   c l a s s .   A   P V C   w i t h   i t s   s t o r a g e C l a s s N a m e   s e t   e q u a l   t o   \" \"   i s   a l w a y s   i n t e r p r e t e d   t o   b e   r e q u e s t i n g   a   P V   w i t h   n o   c l a s s ,   s o   i t   c a n   o n l y   b e   b o u n d   t o   P V s   w i t h   n o   c l a s s   ( n o   a n n o t a t i o n   o r   o n e   s e t   e q u a l   t o   \" \" ) .   A   P V C   w i t h   n o   s t o r a g e C l a s s N a m e   i s   n o t   q u i t e   t h e   s a m e   a n d   i s   t r e a t e d   d i f f e r e n t l y   b y   t h e   c l u s t e r ,   d e p e n d i n g   o n   w h e t h e r   t h e   D e f a u l t S t o r a g e C l a s s   a d m i s s i o n   p l u g i n   i s   t u r n e d   o n .   I f   t h e   a d m i s s i o n   p l u g i n   i s   t u r n e d   o n ,   t h e   a d m i n i s t r a t o r   m a y   s p e c i f y   a   d e f a u l t   S t o r a g e C l a s s .   A l l   P V C s   t h a t   h a v e   n o   s t o r a g e C l a s s N a m e   c a n   b e   b o u n d   o n l y   t o   P V s   o f   t h a t   d e f a u l t .   S p e c i f y i n g   a   d e f a u l t   S t o r a g e C l a s s   i s   d o n e   b y   s e t t i n g   t h e   a n n o t a t i o n   s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s   e q u a l   t o   t r u e   i n   a   S t o r a g e C l a s s   o b j e c t .   I f   t h e   a d m i n i s t r a t o r   d o e s   n o t   s p e c i f y   a ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_1998"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   t h e   p a s t ,   t h e   a n n o t a t i o n   v o l u m e . b e t a . k u b e r n e t e s . i o / s t o r a g e - c l a s s   w a s   u s e d   i n s t e a d   o f   s t o r a g e C l a s s N a m e   a t t r i b u t e .   T h i s   a n n o t a t i o n   i s   s t i l l   w o r k i n g ;   h o w e v e r ,   i t   w o n ' t   b e   s u p p o r t e d   i n   a   f u t u r e   K u b e r n e t e s   r e l e a s e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_1999"
  },
  {
    "question": "What is Retroactive default StorageClass assignment?",
    "answer": "Y o u   c a n   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   w i t h o u t   s p e c i f y i n g   a   s t o r a g e C l a s s N a m e   f o r   t h e   n e w   P V C ,   a n d   y o u   c a n   d o   s o   e v e n   w h e n   n o   d e f a u l t   S t o r a g e C l a s s   e x i s t s   i n   y o u r   c l u s t e r .   I n   t h i s   c a s e ,   t h e   n e w   P V C   c r e a t e s   a s   y o u   d e f i n e d   i t ,   a n d   t h e   s t o r a g e C l a s s N a m e   o f   t h a t   P V C   r e m a i n s   u n s e t   u n t i l   d e f a u l t   b e c o m e s   a v a i l a b l e .   W h e n   a   d e f a u l t   S t o r a g e C l a s s   b e c o m e s   a v a i l a b l e ,   t h e   c o n t r o l   p l a n e   i d e n t i f i e s   a n y   e x i s t i n g   P V C s   w i t h o u t   s t o r a g e C l a s s N a m e .   F o r   t h e   P V C s   t h a t   e i t h e r   h a v e   a n   e m p t y   v a l u e   f o r   s t o r a g e C l a s s N a m e   o r   d o   n o t   h a v e   t h i s   k e y ,   t h e   c o n t r o l   p l a n e   t h e n   u p d a t e s   t h o s e   P V C s   t o   s e t   s t o r a g e C l a s s N a m e   t o   m a t c h   t h e   n e w   d e f a u l t   S t o r a g e C l a s s .   I f   y o u   h a v e   a n   e x i s t i n g   P V C   w h e r e   t h e   s t o r a g e C l a s s N a m e   i s   \" \" ,   a n d   y o u   c o n f i g u r e   a   d e f a u l t   S t o r a g e C l a s s ,   t h e n   t h i s   P V C   w i l l   n o t   g e t   u p d a t e d .   I n   o r d e r   t o   k e e p   b i n d i n g   t o   P V s   w i t h   s t o r a g e C l a s s N a m e   s e t   t o   \" \"   ( w h i l e   a   d e f a u l t   S t o r a g e C l a s s   i s   p r e s e n t ) ,   y o u   n e e d   t o   s e t   t h e   s t o r a g e C l a s s N a m e   o f   t h e   a s s o c i a t e d   P V C   t o   \" \" .   T h i s   b e h a v i o r   h e l p s   a d m i n i s t r a t o r s   c h a n g e   d e f a u l t   S t o r a g e C l a s s   b ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_2000"
  },
  {
    "question": "What is Claims As Volumes?",
    "answer": "P o d s   a c c e s s   s t o r a g e   b y   u s i n g   t h e   c l a i m   a s   a   v o l u m e .   C l a i m s   m u s t   e x i s t   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   P o d   u s i n g   t h e   c l a i m .   T h e   c l u s t e r   f i n d s   t h e   c l a i m   i n   t h e   P o d ' s   n a m e s p a c e   a n d   u s e s   i t   t o   g e t   t h e   P e r s i s t e n t V o l u m e   b a c k i n g   t h e   c l a i m .   T h e   v o l u m e   i s   t h e n   m o u n t e d   t o   t h e   h o s t   a n d   i n t o   t h e   P o d .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   m y f r o n t e n d   i m a g e :   n g i n x   v o l u m e M o u n t s :   -   m o u n t P a t h :   \" / v a r / w w w / h t m l \"   n a m e :   m y p d   v o l u m e s :   -   n a m e :   m y p d   p e r s i s t e n t V o l u m e C l a i m :   c l a i m N a m e :   m y c l a i m",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2001"
  },
  {
    "question": "What is A Note on Namespaces?",
    "answer": "P e r s i s t e n t V o l u m e s   b i n d s   a r e   e x c l u s i v e ,   a n d   s i n c e   P e r s i s t e n t V o l u m e C l a i m s   a r e   n a m e s p a c e d   o b j e c t s ,   m o u n t i n g   c l a i m s   w i t h   \" M a n y \"   m o d e s   ( R O X ,   R W X )   i s   o n l y   p o s s i b l e   w i t h i n   o n e   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2002"
  },
  {
    "question": "What is PersistentVolumes typed hostPath?",
    "answer": "A   h o s t P a t h   P e r s i s t e n t V o l u m e   u s e s   a   f i l e   o r   d i r e c t o r y   o n   t h e   N o d e   t o   e m u l a t e   n e t w o r k - a t t a c h e d   s t o r a g e .   S e e   a n   e x a m p l e   o f   h o s t P a t h   t y p e d   v o l u m e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2003"
  },
  {
    "question": "What is Raw Block Volume Support?",
    "answer": "T h e   f o l l o w i n g   v o l u m e   p l u g i n s   s u p p o r t   r a w   b l o c k   v o l u m e s ,   i n c l u d i n g   d y n a m i c   p r o v i s i o n i n g   w h e r e   a p p l i c a b l e :   C S I   ( i n c l u d i n g   s o m e   C S I   m i g r a t e d   v o l u m e   t y p e s ) F C   ( F i b r e   C h a n n e l ) i S C S I L o c a l   v o l u m e",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2004"
  },
  {
    "question": "What is PersistentVolume using a Raw Block Volume?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e   m e t a d a t a :   n a m e :   b l o c k - p v   s p e c :   c a p a c i t y :   s t o r a g e :   1 0 G i   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   v o l u m e M o d e :   B l o c k   p e r s i s t e n t V o l u m e R e c l a i m P o l i c y :   R e t a i n   f c :   t a r g e t W W N s :   [ \" 5 0 0 6 0 e 8 0 1 0 4 9 c f d 1 \" ]   l u n :   0   r e a d O n l y :   f a l s e",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2005"
  },
  {
    "question": "What is PersistentVolumeClaim requesting a Raw Block Volume?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   b l o c k - p v c   s p e c :   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   v o l u m e M o d e :   B l o c k   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   1 0 G i",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2006"
  },
  {
    "question": "What is Pod specification adding Raw Block Device path in container?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p o d - w i t h - b l o c k - v o l u m e   s p e c :   c o n t a i n e r s :   -   n a m e :   f c - c o n t a i n e r   i m a g e :   f e d o r a : 2 6   c o m m a n d :   [ \" / b i n / s h \" ,   \" - c \" ]   a r g s :   [   \" t a i l   - f   / d e v / n u l l \"   ]   v o l u m e D e v i c e s :   -   n a m e :   d a t a   d e v i c e P a t h :   / d e v / x v d a   v o l u m e s :   -   n a m e :   d a t a   p e r s i s t e n t V o l u m e C l a i m :   c l a i m N a m e :   b l o c k - p v c",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2007"
  },
  {
    "question": "What is Binding Block Volumes?",
    "answer": "I f   a   u s e r   r e q u e s t s   a   r a w   b l o c k   v o l u m e   b y   i n d i c a t i n g   t h i s   u s i n g   t h e   v o l u m e M o d e   f i e l d   i n   t h e   P e r s i s t e n t V o l u m e C l a i m   s p e c ,   t h e   b i n d i n g   r u l e s   d i f f e r   s l i g h t l y   f r o m   p r e v i o u s   r e l e a s e s   t h a t   d i d n ' t   c o n s i d e r   t h i s   m o d e   a s   p a r t   o f   t h e   s p e c .   L i s t e d   i s   a   t a b l e   o f   p o s s i b l e   c o m b i n a t i o n s   t h e   u s e r   a n d   a d m i n   m i g h t   s p e c i f y   f o r   r e q u e s t i n g   a   r a w   b l o c k   d e v i c e .   T h e   t a b l e   i n d i c a t e s   i f   t h e   v o l u m e   w i l l   b e   b o u n d   o r   n o t   g i v e n   t h e   c o m b i n a t i o n s :   V o l u m e   b i n d i n g   m a t r i x   f o r   s t a t i c a l l y   p r o v i s i o n e d   v o l u m e s :",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2008"
  },
  {
    "question": "What is Volume Snapshot and Restore Volume from Snapshot Support?",
    "answer": "V o l u m e   s n a p s h o t s   o n l y   s u p p o r t   t h e   o u t - o f - t r e e   C S I   v o l u m e   p l u g i n s .   F o r   d e t a i l s ,   s e e   V o l u m e   S n a p s h o t s .   I n - t r e e   v o l u m e   p l u g i n s   a r e   d e p r e c a t e d .   Y o u   c a n   r e a d   a b o u t   t h e   d e p r e c a t e d   v o l u m e   p l u g i n s   i n   t h e   V o l u m e   P l u g i n   F A Q .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2009"
  },
  {
    "question": "What is Create a PersistentVolumeClaim from a Volume Snapshot?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   r e s t o r e - p v c   s p e c :   s t o r a g e C l a s s N a m e :   c s i - h o s t p a t h - s c   d a t a S o u r c e :   n a m e :   n e w - s n a p s h o t - t e s t   k i n d :   V o l u m e S n a p s h o t   a p i G r o u p :   s n a p s h o t . s t o r a g e . k 8 s . i o   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   1 0 G i",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2010"
  },
  {
    "question": "What is Volume Cloning?",
    "answer": "V o l u m e   C l o n i n g   o n l y   a v a i l a b l e   f o r   C S I   v o l u m e   p l u g i n s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2011"
  },
  {
    "question": "What is Create PersistentVolumeClaim from an existing PVC?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   c l o n e d - p v c   s p e c :   s t o r a g e C l a s s N a m e :   m y - c s i - p l u g i n   d a t a S o u r c e :   n a m e :   e x i s t i n g - s r c - p v c - n a m e   k i n d :   P e r s i s t e n t V o l u m e C l a i m   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   1 0 G i",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2012"
  },
  {
    "question": "What is Volume populators and data sources?",
    "answer": "K u b e r n e t e s   s u p p o r t s   c u s t o m   v o l u m e   p o p u l a t o r s .   T o   u s e   c u s t o m   v o l u m e   p o p u l a t o r s ,   y o u   m u s t   e n a b l e   t h e   A n y V o l u m e D a t a S o u r c e   f e a t u r e   g a t e   f o r   t h e   k u b e - a p i s e r v e r   a n d   k u b e - c o n t r o l l e r - m a n a g e r .   V o l u m e   p o p u l a t o r s   t a k e   a d v a n t a g e   o f   a   P V C   s p e c   f i e l d   c a l l e d   d a t a S o u r c e R e f .   U n l i k e   t h e   d a t a S o u r c e   f i e l d ,   w h i c h   c a n   o n l y   c o n t a i n   e i t h e r   a   r e f e r e n c e   t o   a n o t h e r   P e r s i s t e n t V o l u m e C l a i m   o r   t o   a   V o l u m e S n a p s h o t ,   t h e   d a t a S o u r c e R e f   f i e l d   c a n   c o n t a i n   a   r e f e r e n c e   t o   a n y   o b j e c t   i n   t h e   s a m e   n a m e s p a c e ,   e x c e p t   f o r   c o r e   o b j e c t s   o t h e r   t h a n   P V C s .   F o r   c l u s t e r s   t h a t   h a v e   t h e   f e a t u r e   g a t e   e n a b l e d ,   u s e   o f   t h e   d a t a S o u r c e R e f   i s   p r e f e r r e d   o v e r   d a t a S o u r c e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2013"
  },
  {
    "question": "What is Cross namespace data sources?",
    "answer": "K u b e r n e t e s   s u p p o r t s   c r o s s   n a m e s p a c e   v o l u m e   d a t a   s o u r c e s .   T o   u s e   c r o s s   n a m e s p a c e   v o l u m e   d a t a   s o u r c e s ,   y o u   m u s t   e n a b l e   t h e   A n y V o l u m e D a t a S o u r c e   a n d   C r o s s N a m e s p a c e V o l u m e D a t a S o u r c e   f e a t u r e   g a t e s   f o r   t h e   k u b e - a p i s e r v e r   a n d   k u b e - c o n t r o l l e r - m a n a g e r .   A l s o ,   y o u   m u s t   e n a b l e   t h e   C r o s s N a m e s p a c e V o l u m e D a t a S o u r c e   f e a t u r e   g a t e   f o r   t h e   c s i - p r o v i s i o n e r .   E n a b l i n g   t h e   C r o s s N a m e s p a c e V o l u m e D a t a S o u r c e   f e a t u r e   g a t e   a l l o w s   y o u   t o   s p e c i f y   a   n a m e s p a c e   i n   t h e   d a t a S o u r c e R e f   f i e l d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2014"
  },
  {
    "question": "What is Data source references?",
    "answer": "T h e   d a t a S o u r c e R e f   f i e l d   b e h a v e s   a l m o s t   t h e   s a m e   a s   t h e   d a t a S o u r c e   f i e l d .   I f   o n e   i s   s p e c i f i e d   w h i l e   t h e   o t h e r   i s   n o t ,   t h e   A P I   s e r v e r   w i l l   g i v e   b o t h   f i e l d s   t h e   s a m e   v a l u e .   N e i t h e r   f i e l d   c a n   b e   c h a n g e d   a f t e r   c r e a t i o n ,   a n d   a t t e m p t i n g   t o   s p e c i f y   d i f f e r e n t   v a l u e s   f o r   t h e   t w o   f i e l d s   w i l l   r e s u l t   i n   a   v a l i d a t i o n   e r r o r .   T h e r e f o r e   t h e   t w o   f i e l d s   w i l l   a l w a y s   h a v e   t h e   s a m e   c o n t e n t s .   T h e r e   a r e   t w o   d i f f e r e n c e s   b e t w e e n   t h e   d a t a S o u r c e R e f   f i e l d   a n d   t h e   d a t a S o u r c e   f i e l d   t h a t   u s e r s   s h o u l d   b e   a w a r e   o f :   T h e   d a t a S o u r c e   f i e l d   i g n o r e s   i n v a l i d   v a l u e s   ( a s   i f   t h e   f i e l d   w a s   b l a n k )   w h i l e   t h e   d a t a S o u r c e R e f   f i e l d   n e v e r   i g n o r e s   v a l u e s   a n d   w i l l   c a u s e   a n   e r r o r   i f   a n   i n v a l i d   v a l u e   i s   u s e d .   I n v a l i d   v a l u e s   a r e   a n y   c o r e   o b j e c t   ( o b j e c t s   w i t h   n o   a p i G r o u p )   e x c e p t   f o r   P V C s . T h e   d a t a S o u r c e R e f   f i e l d   m a y   c o n t a i n   d i f f e r e n t   t y p e s   o f   o b j e c t s ,   w h i l e   t h e   d a t a S o u r c e   f i e l d   o n l y   a l l o w s   P V C s   a n d   V o l u m e S n a p s h o t s .   W h e n   t h e   C r o s s N a m e s p a c e V o l u m e D a t a S o u r c e   f e a t u r e   i s   e n a b l e d ,   t h e r e   a r e   a d d i t i o n a l   d i f f e r e n c e s :   T h e   d a t a S o u r c e   f i e l d   o n l y   a l l o w s   l o c ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2015"
  },
  {
    "question": "What is Using volume populators?",
    "answer": "V o l u m e   p o p u l a t o r s   a r e   c o n t r o l l e r s   t h a t   c a n   c r e a t e   n o n - e m p t y   v o l u m e s ,   w h e r e   t h e   c o n t e n t s   o f   t h e   v o l u m e   a r e   d e t e r m i n e d   b y   a   C u s t o m   R e s o u r c e .   U s e r s   c r e a t e   a   p o p u l a t e d   v o l u m e   b y   r e f e r r i n g   t o   a   C u s t o m   R e s o u r c e   u s i n g   t h e   d a t a S o u r c e R e f   f i e l d :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   p o p u l a t e d - p v c   s p e c :   d a t a S o u r c e R e f :   n a m e :   e x a m p l e - n a m e   k i n d :   E x a m p l e D a t a S o u r c e   a p i G r o u p :   e x a m p l e . s t o r a g e . k 8 s . i o   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   1 0 G i   B e c a u s e   v o l u m e   p o p u l a t o r s   a r e   e x t e r n a l   c o m p o n e n t s ,   a t t e m p t s   t o   c r e a t e   a   P V C   t h a t   u s e s   o n e   c a n   f a i l   i f   n o t   a l l   t h e   c o r r e c t   c o m p o n e n t s   a r e   i n s t a l l e d .   E x t e r n a l   c o n t r o l l e r s   s h o u l d   g e n e r a t e   e v e n t s   o n   t h e   P V C   t o   p r o v i d e",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2016"
  },
  {
    "question": "What is Using a cross-namespace volume data source?",
    "answer": "C r e a t e   a   R e f e r e n c e G r a n t   t o   a l l o w   t h e   n a m e s p a c e   o w n e r   t o   a c c e p t   t h e   r e f e r e n c e .   Y o u   d e f i n e   a   p o p u l a t e d   v o l u m e   b y   s p e c i f y i n g   a   c r o s s   n a m e s p a c e   v o l u m e   d a t a   s o u r c e   u s i n g   t h e   d a t a S o u r c e R e f   f i e l d .   Y o u   m u s t   a l r e a d y   h a v e   a   v a l i d   R e f e r e n c e G r a n t   i n   t h e   s o u r c e   n a m e s p a c e :   a p i V e r s i o n :   g a t e w a y . n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1   k i n d :   R e f e r e n c e G r a n t   m e t a d a t a :   n a m e :   a l l o w - n s 1 - p v c   n a m e s p a c e :   d e f a u l t   s p e c :   f r o m :   -   g r o u p :   \" \"   k i n d :   P e r s i s t e n t V o l u m e C l a i m   n a m e s p a c e :   n s 1   t o :   -   g r o u p :   s n a p s h o t . s t o r a g e . k 8 s . i o   k i n d :   V o l u m e S n a p s h o t   n a m e :   n e w - s n a p s h o t - d e m o   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   f o o - p v c   n a m e s p a c e :   n s 1   s p e c :   s t o r a g e C l a s s N a m e :   e x a m p l e   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   1 G i   d a t a S o u r c e R e f :   a p i G r o u p :   s n a p s h o t . s t o r a g e . k 8 s . i o   k i n d :   V o l u m e S n a p s h o t   n a m e :   n e w - s n a p s h o t - d e m o   n a m e s p a c e :   d e f a u l t   v o l u m e M o d e :   F i l e s y s t e m",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2017"
  },
  {
    "question": "What is Writing Portable Configuration?",
    "answer": "I f   y o u ' r e   w r i t i n g   c o n f i g u r a t i o n   t e m p l a t e s   o r   e x a m p l e s   t h a t   r u n   o n   a   w i d e   r a n g e   o f   c l u s t e r s   a n d   n e e d   p e r s i s t e n t   s t o r a g e ,   i t   i s   r e c o m m e n d e d   t h a t   y o u   u s e   t h e   f o l l o w i n g   p a t t e r n :   I n c l u d e   P e r s i s t e n t V o l u m e C l a i m   o b j e c t s   i n   y o u r   b u n d l e   o f   c o n f i g   ( a l o n g s i d e   D e p l o y m e n t s ,   C o n f i g M a p s ,   e t c ) . D o   n o t   i n c l u d e   P e r s i s t e n t V o l u m e   o b j e c t s   i n   t h e   c o n f i g ,   s i n c e   t h e   u s e r   i n s t a n t i a t i n g   t h e   c o n f i g   m a y   n o t   h a v e   p e r m i s s i o n   t o   c r e a t e   P e r s i s t e n t V o l u m e s . G i v e   t h e   u s e r   t h e   o p t i o n   o f   p r o v i d i n g   a   s t o r a g e   c l a s s   n a m e   w h e n   i n s t a n t i a t i n g   t h e   t e m p l a t e . I f   t h e   u s e r   p r o v i d e s   a   s t o r a g e   c l a s s   n a m e ,   p u t   t h a t   v a l u e   i n t o   t h e   p e r s i s t e n t V o l u m e C l a i m . s t o r a g e C l a s s N a m e   f i e l d .   T h i s   w i l l   c a u s e   t h e   P V C   t o   m a t c h   t h e   r i g h t   s t o r a g e   c l a s s   i f   t h e   c l u s t e r   h a s   S t o r a g e C l a s s e s   e n a b l e d   b y   t h e   a d m i n . I f   t h e   u s e r   d o e s   n o t   p r o v i d e   a   s t o r a g e   c l a s s   n a m e ,   l e a v e   t h e   p e r s i s t e n t V o l u m e C l a i m . s t o r a g e C l a s s N a m e   f i e l d   a s   n i l .   T h i s   w i l l   c a u s e   a   P V   t o   b e   a u t o m a t i c a l l y   p r o v i s i o n e d   f o r   t h e   u s e r   w i t h   t h e   d e f a u l t   S t o r a g e C l a s s   i n   t h e   c l u s t e r .   M a n y   c l u s t e r   e n v i r o n m e n t s   h a v e   a   ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2018"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   C r e a t i n g   a   P e r s i s t e n t V o l u m e . L e a r n   m o r e   a b o u t   C r e a t i n g   a   P e r s i s t e n t V o l u m e C l a i m . R e a d   t h e   P e r s i s t e n t   S t o r a g e   d e s i g n   d o c u m e n t .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2019"
  },
  {
    "question": "What is API references?",
    "answer": "R e a d   a b o u t   t h e   A P I s   d e s c r i b e d   i n   t h i s   p a g e :   P e r s i s t e n t V o l u m e P e r s i s t e n t V o l u m e C l a i m",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2020"
  },
  {
    "question": "What is 3 - Projected Volumes?",
    "answer": "T h i s   d o c u m e n t   d e s c r i b e s   p r o j e c t e d   v o l u m e s   i n   K u b e r n e t e s .   F a m i l i a r i t y   w i t h   v o l u m e s   i s   s u g g e s t e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_1_2021"
  },
  {
    "question": "What is Introduction?",
    "answer": "A   p r o j e c t e d   v o l u m e   m a p s   s e v e r a l   e x i s t i n g   v o l u m e   s o u r c e s   i n t o   t h e   s a m e   d i r e c t o r y .   C u r r e n t l y ,   t h e   f o l l o w i n g   t y p e s   o f   v o l u m e   s o u r c e s   c a n   b e   p r o j e c t e d :   s e c r e t d o w n w a r d A P I c o n f i g M a p s e r v i c e A c c o u n t T o k e n c l u s t e r T r u s t B u n d l e p o d C e r t i f i c a t e   A l l   s o u r c e s   a r e   r e q u i r e d   t o   b e   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   P o d .   F o r   m o r e   d e t a i l s ,   s e e   t h e   a l l - i n - o n e   v o l u m e   d e s i g n   d o c u m e n t .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2022"
  },
  {
    "question": "What is Example configuration with a secret, a downwardAPI, and a configMap?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   v o l u m e - t e s t   s p e c :   c o n t a i n e r s :   -   n a m e :   c o n t a i n e r - t e s t   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ \" s l e e p \" ,   \" 3 6 0 0 \" ]   v o l u m e M o u n t s :   -   n a m e :   a l l - i n - o n e   m o u n t P a t h :   \" / p r o j e c t e d - v o l u m e \"   r e a d O n l y :   t r u e   v o l u m e s :   -   n a m e :   a l l - i n - o n e   p r o j e c t e d :   s o u r c e s :   -   s e c r e t :   n a m e :   m y s e c r e t   i t e m s :   -   k e y :   u s e r n a m e   p a t h :   m y - g r o u p / m y - u s e r n a m e   -   d o w n w a r d A P I :   i t e m s :   -   p a t h :   \" l a b e l s \"   f i e l d R e f :   f i e l d P a t h :   m e t a d a t a . l a b e l s   -   p a t h :   \" c p u _ l i m i t \"   r e s o u r c e F i e l d R e f :   c o n t a i n e r N a m e :   c o n t a i n e r - t e s t   r e s o u r c e :   l i m i t s . c p u   -   c o n f i g M a p :   n a m e :   m y c o n f i g m a p   i t e m s :   -   k e y :   c o n f i g   p a t h :   m y - g r o u p / m y - c o n f i g",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2023"
  },
  {
    "question": "What is Example configuration: secrets with a non-default permission mode set?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   v o l u m e - t e s t   s p e c :   c o n t a i n e r s :   -   n a m e :   c o n t a i n e r - t e s t   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ \" s l e e p \" ,   \" 3 6 0 0 \" ]   v o l u m e M o u n t s :   -   n a m e :   a l l - i n - o n e   m o u n t P a t h :   \" / p r o j e c t e d - v o l u m e \"   r e a d O n l y :   t r u e   v o l u m e s :   -   n a m e :   a l l - i n - o n e   p r o j e c t e d :   s o u r c e s :   -   s e c r e t :   n a m e :   m y s e c r e t   i t e m s :   -   k e y :   u s e r n a m e   p a t h :   m y - g r o u p / m y - u s e r n a m e   -   s e c r e t :   n a m e :   m y s e c r e t 2   i t e m s :   -   k e y :   p a s s w o r d   p a t h :   m y - g r o u p / m y - p a s s w o r d   m o d e :   5 1 1   E a c h   p r o j e c t e d   v o l u m e   s o u r c e   i s   l i s t e d   i n   t h e   s p e c   u n d e r   s o u r c e s .   T h e   p a r a m e t e r s   a r e   n e a r l y   t h e   s a m e   w i t h   t w o   e x c e p t i o n s :   F o r   s e c r e t s ,   t h e   s e c r e t N a m e   f i e l d   h a s   b e e n   c h a n g e d   t o   n a m e   t o   b e   c o n s i s t e n t   w i t h   C o n f i g M a p   n a m i n g . T h e   d e f a u l t M o d e   c a n   o n l y   b e   s p e c i f i e d   a t   t h e   p r o j e c t e d   l e v e l   a n d   n o t   f o r   e a c h   v o l u m e   s o u r c e .   H o w e v e r ,   a s   i l l u s t r a t e d   a b o v e ,   y o u   c a n   e x p l i c i t l y   s e t   t h e   m o d e   f o r   e a c h   i n d i v i d u a l   p r o j e c t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2024"
  },
  {
    "question": "What is serviceAccountToken projected volumes?",
    "answer": "Y o u   c a n   i n j e c t   t h e   t o k e n   f o r   t h e   c u r r e n t   s e r v i c e   a c c o u n t   i n t o   a   P o d   a t   a   s p e c i f i e d   p a t h .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s a - t o k e n - t e s t   s p e c :   c o n t a i n e r s :   -   n a m e :   c o n t a i n e r - t e s t   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ \" s l e e p \" ,   \" 3 6 0 0 \" ]   v o l u m e M o u n t s :   -   n a m e :   t o k e n - v o l   m o u n t P a t h :   \" / s e r v i c e - a c c o u n t \"   r e a d O n l y :   t r u e   s e r v i c e A c c o u n t N a m e :   d e f a u l t   v o l u m e s :   -   n a m e :   t o k e n - v o l   p r o j e c t e d :   s o u r c e s :   -   s e r v i c e A c c o u n t T o k e n :   a u d i e n c e :   a p i   e x p i r a t i o n S e c o n d s :   3 6 0 0   p a t h :   t o k e n   T h e   e x a m p l e   P o d   h a s   a   p r o j e c t e d   v o l u m e   c o n t a i n i n g   t h e   i n j e c t e d   s e r v i c e   a c c o u n t   t o k e n .   C o n t a i n e r s   i n   t h i s   P o d   c a n   u s e   t h a t   t o k e n   t o   a c c e s s   t h e   K u b e r n e t e s   A P I   s e r v e r ,   a u t h e n t i c a t i n g   w i t h   t h e   i d e n t i t y   o f   t h e   p o d ' s   S e r v i c e A c c o u n t .   T h e   a u d i e n c e   f i e l d   c o n t a i n s   t h e   i n t e n d e d   a u d i e n c e   o f   t h e   t o k e n .   A   r e c i p i e n t   o f   t h e   t o k e n   m u s t   i d e n t i f y   i t s e l f   w i t h   a n   i d e n t i f i e r   s p e c i f i e d   i n   t h e   a u d i e n c e   o f   t h e   t o k e n ,   a n d   o t h e r w i s e   s h o u l d   r e j e c t   t h e   t o k e n .   T h i s   f i e l d   i s   o p t i o n a l   a n d   i t   d e f a u l t s   t o   t h e   i d e n t i f i e r   o f   t h e   A P I   s e r v e r .   T h e   e x p i r a t i o n S e c o n ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2025"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   c l u s t e r T r u s t B u n d l e   p r o j e c t e d   v o l u m e   s o u r c e   i n j e c t s   t h e   c o n t e n t s   o f   o n e   o r   m o r e   C l u s t e r T r u s t B u n d l e   o b j e c t s   a s   a n   a u t o m a t i c a l l y - u p d a t i n g   f i l e   i n   t h e   c o n t a i n e r   f i l e s y s t e m .   C l u s t e r T r u s t B u n d l e s   c a n   b e   s e l e c t e d   e i t h e r   b y   n a m e   o r   b y   s i g n e r   n a m e .   T o   s e l e c t   b y   n a m e ,   u s e   t h e   n a m e   f i e l d   t o   d e s i g n a t e   a   s i n g l e   C l u s t e r T r u s t B u n d l e   o b j e c t .   T o   s e l e c t   b y   s i g n e r   n a m e ,   u s e   t h e   s i g n e r N a m e   f i e l d   ( a n d   o p t i o n a l l y   t h e   l a b e l S e l e c t o r   f i e l d )   t o   d e s i g n a t e   a   s e t   o f   C l u s t e r T r u s t B u n d l e   o b j e c t s   t h a t   u s e   t h e   g i v e n   s i g n e r   n a m e .   I f   l a b e l S e l e c t o r   i s   n o t   p r e s e n t ,   t h e n   a l l   C l u s t e r T r u s t B u n d l e s   f o r   t h a t   s i g n e r   a r e   s e l e c t e d .   T h e   k u b e l e t   d e d u p l i c a t e s   t h e   c e r t i f i c a t e s   i n   t h e   s e l e c t e d   C l u s t e r T r u s t B u n d l e   o b j e c t s ,   n o r m a l i z e s   t h e   P E M   r e p r e s e n t a t i o n s   ( d i s c a r d i n g   c o m m e n t s   a n d   h e a d e r s ) ,   r e o r d e r s   t h e   c e r t i f i c a t e s ,   a n d   w r i t e s   t h e m   i n t o   t h e   f i l e   n a m e d   b y   p a t h .   A s   t h e   s e t   o f   s e l e c t e d   C l u s t e r T r u s t B u n d l e s   o r   t h e i r   c o n t e n t   c h a n g e s ,   k u b e l e t   k e e p s   t h e   f i l e   u p - t o - d a t e .   B y   d e f a u l t ,   t h e   k u b e l e t   w i l l   p r e v e n t   t h e   p o d   f r o m   s t a r t i n g   i f   t h e   n a m e d   C ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_2026"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   p o d C e r t i f i c a t e   p r o j e c t e d   v o l u m e s   s o u r c e   s e c u r e l y   p r o v i s i o n s   a   p r i v a t e   k e y   a n d   X . 5 0 9   c e r t i f i c a t e   c h a i n   f o r   p o d   t o   u s e   a s   c l i e n t   o r   s e r v e r   c r e d e n t i a l s .   K u b e l e t   w i l l   t h e n   h a n d l e   r e f r e s h i n g   t h e   p r i v a t e   k e y   a n d   c e r t i f i c a t e   c h a i n   w h e n   t h e y   g e t   c l o s e   t o   e x p i r a t i o n .   T h e   a p p l i c a t i o n   j u s t   h a s   t o   m a k e   s u r e   t h a t   i t   r e l o a d s   t h e   f i l e   p r o m p t l y   w h e n   i t   c h a n g e s ,   w i t h   a   m e c h a n i s m   l i k e   i n o t i f y   o r   p o l l i n g .   E a c h   p o d C e r t i f i c a t e   p r o j e c t i o n   s u p p o r t s   t h e   f o l l o w i n g   c o n f i g u r a t i o n   f i e l d s :   s i g n e r N a m e :   T h e   s i g n e r   y o u   w a n t   t o   i s s u e   t h e   c e r t i f i c a t e .   N o t e   t h a t   s i g n e r s   m a y   h a v e   t h e i r   o w n   a c c e s s   r e q u i r e m e n t s ,   a n d   m a y   r e f u s e   t o   i s s u e   c e r t i f i c a t e s   t o   y o u r   p o d . k e y T y p e :   T h e   t y p e   o f   p r i v a t e   k e y   t h a t   s h o u l d   b e   g e n e r a t e d .   V a l i d   v a l u e s   a r e   E D 2 5 5 1 9 ,   E C D S A P 2 5 6 ,   E C D S A P 3 8 4 ,   E C D S A P 5 2 1 ,   R S A 3 0 7 2 ,   a n d   R S A 4 0 9 6 . m a x E x p i r a t i o n S e c o n d s :   T h e   m a x i m u m   l i f e t i m e   y o u   w i l l   a c c e p t   f o r   t h e   c e r t i f i c a t e   i s s u e d   t o   t h e   p o d .   I f   n o t   s e t ,   w i l l   b e   d e f a u l t e d   t o   8 6 4 0 0   ( 2 4   h o u r s ) .   M u s t   b e   a t   l e a s t   3 6 0 0   ( 1   h o u r ) ,   a n d   a t   m o s t   7 8 6 2 4 0 0   ( 9 1   d a y s ) .   K u b e r n e t e s   b u i ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_2027"
  },
  {
    "question": "What is Note:?",
    "answer": "#   S a m p l e   P o d   s p e c   t h a t   u s e s   a   p o d C e r t i f i c a t e   p r o j e c t i o n   t o   r e q u e s t   a n   E D 2 5 5 1 9   #   p r i v a t e   k e y ,   a   c e r t i f i c a t e   f r o m   t h e   ` c o o l c e r t . e x a m p l e . c o m / f o o `   s i g n e r ,   a n d   #   w r i t e   t h e   r e s u l t s   t o   ` / v a r / r u n / m y - x 5 0 9 - c r e d e n t i a l s / c r e d e n t i a l b u n d l e . p e m ` .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e s p a c e :   d e f a u l t   n a m e :   p o d c e r t i f i c a t e - p o d   s p e c :   s e r v i c e A c c o u n t N a m e :   d e f a u l t   c o n t a i n e r s :   -   i m a g e :   d e b i a n   n a m e :   m a i n   c o m m a n d :   [ \" s l e e p \" ,   \" i n f i n i t y \" ]   v o l u m e M o u n t s :   -   n a m e :   m y - x 5 0 9 - c r e d e n t i a l s   m o u n t P a t h :   / v a r / r u n / m y - x 5 0 9 - c r e d e n t i a l s   v o l u m e s :   -   n a m e :   m y - x 5 0 9 - c r e d e n t i a l s   p r o j e c t e d :   d e f a u l t M o d e :   4 2 0   s o u r c e s :   -   p o d C e r t i f i c a t e :   k e y T y p e :   E D 2 5 5 1 9   s i g n e r N a m e :   c o o l c e r t . e x a m p l e . c o m / f o o   c r e d e n t i a l B u n d l e P a t h :   c r e d e n t i a l b u n d l e . p e m",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_2028"
  },
  {
    "question": "What is SecurityContext interactions?",
    "answer": "T h e   p r o p o s a l   f o r   f i l e   p e r m i s s i o n   h a n d l i n g   i n   p r o j e c t e d   s e r v i c e   a c c o u n t   v o l u m e   e n h a n c e m e n t   i n t r o d u c e d   t h e   p r o j e c t e d   f i l e s   h a v i n g   t h e   c o r r e c t   o w n e r   p e r m i s s i o n s   s e t .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2029"
  },
  {
    "question": "What is Linux?",
    "answer": "I n   L i n u x   p o d s   t h a t   h a v e   a   p r o j e c t e d   v o l u m e   a n d   R u n A s U s e r   s e t   i n   t h e   P o d   S e c u r i t y C o n t e x t ,   t h e   p r o j e c t e d   f i l e s   h a v e   t h e   c o r r e c t   o w n e r s h i p   s e t   i n c l u d i n g   c o n t a i n e r   u s e r   o w n e r s h i p .   W h e n   a l l   c o n t a i n e r s   i n   a   p o d   h a v e   t h e   s a m e   r u n A s U s e r   s e t   i n   t h e i r   P o d S e c u r i t y C o n t e x t   o r   c o n t a i n e r   S e c u r i t y C o n t e x t ,   t h e n   t h e   k u b e l e t   e n s u r e s   t h a t   t h e   c o n t e n t s   o f   t h e   s e r v i c e A c c o u n t T o k e n   v o l u m e   a r e   o w n e d   b y   t h a t   u s e r ,   a n d   t h e   t o k e n   f i l e   h a s   i t s   p e r m i s s i o n   m o d e   s e t   t o   0 6 0 0 .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2030"
  },
  {
    "question": "What is Note:?",
    "answer": "E p h e m e r a l   c o n t a i n e r s   a d d e d   t o   a   P o d   a f t e r   i t   i s   c r e a t e d   d o   n o t   c h a n g e   v o l u m e   p e r m i s s i o n s   t h a t   w e r e   s e t   w h e n   t h e   p o d   w a s   c r e a t e d .   I f   a   P o d ' s   s e r v i c e A c c o u n t T o k e n   v o l u m e   p e r m i s s i o n s   w e r e   s e t   t o   0 6 0 0   b e c a u s e   a l l   o t h e r   c o n t a i n e r s   i n   t h e   P o d   h a v e   t h e   s a m e   r u n A s U s e r ,   e p h e m e r a l   c o n t a i n e r s   m u s t   u s e   t h e   s a m e   r u n A s U s e r   t o   b e   a b l e   t o   r e a d   t h e   t o k e n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_2031"
  },
  {
    "question": "What is Windows?",
    "answer": "I n   W i n d o w s   p o d s   t h a t   h a v e   a   p r o j e c t e d   v o l u m e   a n d   R u n A s U s e r n a m e   s e t   i n   t h e   P o d   S e c u r i t y C o n t e x t ,   t h e   o w n e r s h i p   i s   n o t   e n f o r c e d   d u e   t o   t h e   w a y   u s e r   a c c o u n t s   a r e   m a n a g e d   i n   W i n d o w s .   W i n d o w s   s t o r e s   a n d   m a n a g e s   l o c a l   u s e r   a n d   g r o u p   a c c o u n t s   i n   a   d a t a b a s e   f i l e   c a l l e d   S e c u r i t y   A c c o u n t   M a n a g e r   ( S A M ) .   E a c h   c o n t a i n e r   m a i n t a i n s   i t s   o w n   i n s t a n c e   o f   t h e   S A M   d a t a b a s e ,   t o   w h i c h   t h e   h o s t   h a s   n o   v i s i b i l i t y   i n t o   w h i l e   t h e   c o n t a i n e r   i s   r u n n i n g .   W i n d o w s   c o n t a i n e r s   a r e   d e s i g n e d   t o   r u n   t h e   u s e r   m o d e   p o r t i o n   o f   t h e   O S   i n   i s o l a t i o n   f r o m   t h e   h o s t ,   h e n c e   t h e   m a i n t e n a n c e   o f   a   v i r t u a l   S A M   d a t a b a s e .   A s   a   r e s u l t ,   t h e   k u b e l e t   r u n n i n g   o n   t h e   h o s t   d o e s   n o t   h a v e   t h e   a b i l i t y   t o   d y n a m i c a l l y   c o n f i g u r e   h o s t   f i l e   o w n e r s h i p   f o r   v i r t u a l i z e d   c o n t a i n e r   a c c o u n t s .   I t   i s   r e c o m m e n d e d   t h a t   i f   f i l e s   o n   t h e   h o s t   m a c h i n e   a r e   t o   b e   s h a r e d   w i t h   t h e   c o n t a i n e r   t h e n   t h e y   s h o u l d   b e   p l a c e d   i n t o   t h e i r   o w n   v o l u m e   m o u n t   o u t s i d e   o f   C : \\ .   B y   d e f a u l t ,   t h e   p r o j e c t e d   f i l e s   w i l l   h a v e   t h e   f o l l o w i n g   o w n e r s h i p   a s   s h o w n   f o r   a n   e x a m p l e   p r o j e c t e d   v o l u m e   f i l e : ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2032"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   g e n e r a l ,   g r a n t i n g   t h e   c o n t a i n e r   a c c e s s   t o   t h e   h o s t   i s   d i s c o u r a g e d   a s   i t   c a n   o p e n   t h e   d o o r   f o r   p o t e n t i a l   s e c u r i t y   e x p l o i t s .   C r e a t i n g   a   W i n d o w s   P o d   w i t h   R u n A s U s e r   i n   i t ' s   S e c u r i t y C o n t e x t   w i l l   r e s u l t   i n   t h e   P o d   b e i n g   s t u c k   a t   C o n t a i n e r C r e a t i n g   f o r e v e r .   S o   i t   i s   a d v i s e d   t o   n o t   u s e   t h e   L i n u x   o n l y   R u n A s U s e r   o p t i o n   w i t h   W i n d o w s   P o d s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_2033"
  },
  {
    "question": "What is 4 - Ephemeral Volumes?",
    "answer": "T h i s   d o c u m e n t   d e s c r i b e s   e p h e m e r a l   v o l u m e s   i n   K u b e r n e t e s .   F a m i l i a r i t y   w i t h   v o l u m e s   i s   s u g g e s t e d ,   i n   p a r t i c u l a r   P e r s i s t e n t V o l u m e C l a i m   a n d   P e r s i s t e n t V o l u m e .   S o m e   a p p l i c a t i o n s   n e e d   a d d i t i o n a l   s t o r a g e   b u t   d o n ' t   c a r e   w h e t h e r   t h a t   d a t a   i s   s t o r e d   p e r s i s t e n t l y   a c r o s s   r e s t a r t s .   F o r   e x a m p l e ,   c a c h i n g   s e r v i c e s   a r e   o f t e n   l i m i t e d   b y   m e m o r y   s i z e   a n d   c a n   m o v e   i n f r e q u e n t l y   u s e d   d a t a   i n t o   s t o r a g e   t h a t   i s   s l o w e r   t h a n   m e m o r y   w i t h   l i t t l e   i m p a c t   o n   o v e r a l l   p e r f o r m a n c e .   O t h e r   a p p l i c a t i o n s   e x p e c t   s o m e   r e a d - o n l y   i n p u t   d a t a   t o   b e   p r e s e n t   i n   f i l e s ,   l i k e   c o n f i g u r a t i o n   d a t a   o r   s e c r e t   k e y s .   E p h e m e r a l   v o l u m e s   a r e   d e s i g n e d   f o r   t h e s e   u s e   c a s e s .   B e c a u s e   v o l u m e s   f o l l o w   t h e   P o d ' s   l i f e t i m e   a n d   g e t   c r e a t e d   a n d   d e l e t e d   a l o n g   w i t h   t h e   P o d ,   P o d s   c a n   b e   s t o p p e d   a n d   r e s t a r t e d   w i t h o u t   b e i n g   l i m i t e d   t o   w h e r e   s o m e   p e r s i s t e n t   v o l u m e   i s   a v a i l a b l e .   E p h e m e r a l   v o l u m e s   a r e   s p e c i f i e d   i n l i n e   i n   t h e   P o d   s p e c ,   w h i c h   s i m p l i f i e s   a p p l i c a t i o n   d e p l o y m e n t   a n d   m a n a g e m e n t .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_1_2034"
  },
  {
    "question": "What is Types of ephemeral volumes?",
    "answer": "K u b e r n e t e s   s u p p o r t s   s e v e r a l   d i f f e r e n t   k i n d s   o f   e p h e m e r a l   v o l u m e s   f o r   d i f f e r e n t   p u r p o s e s :   e m p t y D i r :   e m p t y   a t   P o d   s t a r t u p ,   w i t h   s t o r a g e   c o m i n g   l o c a l l y   f r o m   t h e   k u b e l e t   b a s e   d i r e c t o r y   ( u s u a l l y   t h e   r o o t   d i s k )   o r   R A M c o n f i g M a p ,   d o w n w a r d A P I ,   s e c r e t :   i n j e c t   d i f f e r e n t   k i n d s   o f   K u b e r n e t e s   d a t a   i n t o   a   P o d i m a g e :   a l l o w s   m o u n t i n g   c o n t a i n e r   i m a g e   f i l e s   o r   a r t i f a c t s ,   d i r e c t l y   t o   a   P o d . C S I   e p h e m e r a l   v o l u m e s :   s i m i l a r   t o   t h e   p r e v i o u s   v o l u m e   k i n d s ,   b u t   p r o v i d e d   b y   s p e c i a l   C S I   d r i v e r s   w h i c h   s p e c i f i c a l l y   s u p p o r t   t h i s   f e a t u r e g e n e r i c   e p h e m e r a l   v o l u m e s ,   w h i c h   c a n   b e   p r o v i d e d   b y   a l l   s t o r a g e   d r i v e r s   t h a t   a l s o   s u p p o r t   p e r s i s t e n t   v o l u m e s   e m p t y D i r ,   c o n f i g M a p ,   d o w n w a r d A P I ,   s e c r e t   a r e   p r o v i d e d   a s   l o c a l   e p h e m e r a l   s t o r a g e .   T h e y   a r e   m a n a g e d   b y   k u b e l e t   o n   e a c h   n o d e .   C S I   e p h e m e r a l   v o l u m e s   m u s t   b e   p r o v i d e d   b y   t h i r d - p a r t y   C S I   s t o r a g e   d r i v e r s .   G e n e r i c   e p h e m e r a l   v o l u m e s   c a n   b e   p r o v i d e d   b y   t h i r d - p a r t y   C S I   s t o r a g e   d r i v e r s ,   b u t   a l s o   b y   a n y   o t h e r   s t o r a g e   d r i v e r   t h a t   s u p p o r t s   d y n a m i c   p r o v i s i o n i n g .   S o m e   C S I   d r i v e r s   a r e   w r i t t e n   s p e c ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2035"
  },
  {
    "question": "What is Note:?",
    "answer": "C o n c e p t u a l l y ,   C S I   e p h e m e r a l   v o l u m e s   a r e   s i m i l a r   t o   c o n f i g M a p ,   d o w n w a r d A P I   a n d   s e c r e t   v o l u m e   t y p e s :   t h e   s t o r a g e   i s   m a n a g e d   l o c a l l y   o n   e a c h   n o d e   a n d   i s   c r e a t e d   t o g e t h e r   w i t h   o t h e r   l o c a l   r e s o u r c e s   a f t e r   a   P o d   h a s   b e e n   s c h e d u l e d   o n t o   a   n o d e .   K u b e r n e t e s   h a s   n o   c o n c e p t   o f   r e s c h e d u l i n g   P o d s   a n y m o r e   a t   t h i s   s t a g e .   V o l u m e   c r e a t i o n   h a s   t o   b e   u n l i k e l y   t o   f a i l ,   o t h e r w i s e   P o d   s t a r t u p   g e t s   s t u c k .   I n   p a r t i c u l a r ,   s t o r a g e   c a p a c i t y   a w a r e   P o d   s c h e d u l i n g   i s   n o t   s u p p o r t e d   f o r   t h e s e   v o l u m e s .   T h e y   a r e   c u r r e n t l y   a l s o   n o t   c o v e r e d   b y   t h e   s t o r a g e   r e s o u r c e   u s a g e   l i m i t s   o f   a   P o d ,   b e c a u s e   t h a t   i s   s o m e t h i n g   t h a t   k u b e l e t   c a n   o n l y   e n f o r c e   f o r   s t o r a g e   t h a t   i t   m a n a g e s   i t s e l f .   H e r e ' s   a n   e x a m p l e   m a n i f e s t   f o r   a   P o d   t h a t   u s e s   C S I   e p h e m e r a l   s t o r a g e :   k i n d :   P o d   a p i V e r s i o n :   v 1   m e t a d a t a :   n a m e :   m y - c s i - a p p   s p e c :   c o n t a i n e r s :   -   n a m e :   m y - f r o n t e n d   i m a g e :   b u s y b o x : 1 . 2 8   v o l u m e M o u n t s :   -   m o u n t P a t h :   \" / d a t a \"   n a m e :   m y - c s i - i n l i n e - v o l   c o m m a n d :   [   \" s l e e p \" ,   \" 1 0 0 0 0 0 0 \"   ]   v o l u m e s :   -   n a m e :   m y - c s i - i n l i n e - v o l   c s i :   d r i v e r :   i n l i n e . s t o r a g e . k u b e r n e t e s . i o   v o ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_2036"
  },
  {
    "question": "What is CSI driver restrictions?",
    "answer": "C S I   e p h e m e r a l   v o l u m e s   a l l o w   u s e r s   t o   p r o v i d e   v o l u m e A t t r i b u t e s   d i r e c t l y   t o   t h e   C S I   d r i v e r   a s   p a r t   o f   t h e   P o d   s p e c .   A   C S I   d r i v e r   a l l o w i n g   v o l u m e A t t r i b u t e s   t h a t   a r e   t y p i c a l l y   r e s t r i c t e d   t o   a d m i n i s t r a t o r s   i s   N O T   s u i t a b l e   f o r   u s e   i n   a n   i n l i n e   e p h e m e r a l   v o l u m e .   F o r   e x a m p l e ,   p a r a m e t e r s   t h a t   a r e   n o r m a l l y   d e f i n e d   i n   t h e   S t o r a g e C l a s s   s h o u l d   n o t   b e   e x p o s e d   t o   u s e r s   t h r o u g h   t h e   u s e   o f   i n l i n e   e p h e m e r a l   v o l u m e s .   C l u s t e r   a d m i n i s t r a t o r s   w h o   n e e d   t o   r e s t r i c t   t h e   C S I   d r i v e r s   t h a t   a r e   a l l o w e d   t o   b e   u s e d   a s   i n l i n e   v o l u m e s   w i t h i n   a   P o d   s p e c   m a y   d o   s o   b y :   R e m o v i n g   E p h e m e r a l   f r o m   v o l u m e L i f e c y c l e M o d e s   i n   t h e   C S I D r i v e r   s p e c ,   w h i c h   p r e v e n t s   t h e   d r i v e r   f r o m   b e i n g   u s e d   a s   a n   i n l i n e   e p h e m e r a l   v o l u m e . U s i n g   a n   a d m i s s i o n   w e b h o o k   t o   r e s t r i c t   h o w   t h i s   d r i v e r   i s   u s e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2037"
  },
  {
    "question": "What is Generic ephemeral volumes?",
    "answer": "G e n e r i c   e p h e m e r a l   v o l u m e s   a r e   s i m i l a r   t o   e m p t y D i r   v o l u m e s   i n   t h e   s e n s e   t h a t   t h e y   p r o v i d e   a   p e r - p o d   d i r e c t o r y   f o r   s c r a t c h   d a t a   t h a t   i s   u s u a l l y   e m p t y   a f t e r   p r o v i s i o n i n g .   B u t   t h e y   m a y   a l s o   h a v e   a d d i t i o n a l   f e a t u r e s :   S t o r a g e   c a n   b e   l o c a l   o r   n e t w o r k - a t t a c h e d . V o l u m e s   c a n   h a v e   a   f i x e d   s i z e   t h a t   P o d s   a r e   n o t   a b l e   t o   e x c e e d . V o l u m e s   m a y   h a v e   s o m e   i n i t i a l   d a t a ,   d e p e n d i n g   o n   t h e   d r i v e r   a n d   p a r a m e t e r s . T y p i c a l   o p e r a t i o n s   o n   v o l u m e s   a r e   s u p p o r t e d   a s s u m i n g   t h a t   t h e   d r i v e r   s u p p o r t s   t h e m ,   i n c l u d i n g   s n a p s h o t t i n g ,   c l o n i n g ,   r e s i z i n g ,   a n d   s t o r a g e   c a p a c i t y   t r a c k i n g .   E x a m p l e :   k i n d :   P o d   a p i V e r s i o n :   v 1   m e t a d a t a :   n a m e :   m y - a p p   s p e c :   c o n t a i n e r s :   -   n a m e :   m y - f r o n t e n d   i m a g e :   b u s y b o x : 1 . 2 8   v o l u m e M o u n t s :   -   m o u n t P a t h :   \" / s c r a t c h \"   n a m e :   s c r a t c h - v o l u m e   c o m m a n d :   [   \" s l e e p \" ,   \" 1 0 0 0 0 0 0 \"   ]   v o l u m e s :   -   n a m e :   s c r a t c h - v o l u m e   e p h e m e r a l :   v o l u m e C l a i m T e m p l a t e :   m e t a d a t a :   l a b e l s :   t y p e :   m y - f r o n t e n d - v o l u m e   s p e c :   a c c e s s M o d e s :   [   \" R e a d W r i t e O n c e \"   ]   s t o r a g e C l a s s N a m e :   \" s c r a t c h - s t o r a g e - c l a s s \"   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   1 G i",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2038"
  },
  {
    "question": "What is Lifecycle and PersistentVolumeClaim?",
    "answer": "T h e   k e y   d e s i g n   i d e a   i s   t h a t   t h e   p a r a m e t e r s   f o r   a   v o l u m e   c l a i m   a r e   a l l o w e d   i n s i d e   a   v o l u m e   s o u r c e   o f   t h e   P o d .   L a b e l s ,   a n n o t a t i o n s   a n d   t h e   w h o l e   s e t   o f   f i e l d s   f o r   a   P e r s i s t e n t V o l u m e C l a i m   a r e   s u p p o r t e d .   W h e n   s u c h   a   P o d   g e t s   c r e a t e d ,   t h e   e p h e m e r a l   v o l u m e   c o n t r o l l e r   t h e n   c r e a t e s   a n   a c t u a l   P e r s i s t e n t V o l u m e C l a i m   o b j e c t   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   P o d   a n d   e n s u r e s   t h a t   t h e   P e r s i s t e n t V o l u m e C l a i m   g e t s   d e l e t e d   w h e n   t h e   P o d   g e t s   d e l e t e d .   T h a t   t r i g g e r s   v o l u m e   b i n d i n g   a n d / o r   p r o v i s i o n i n g ,   e i t h e r   i m m e d i a t e l y   i f   t h e   S t o r a g e C l a s s   u s e s   i m m e d i a t e   v o l u m e   b i n d i n g   o r   w h e n   t h e   P o d   i s   t e n t a t i v e l y   s c h e d u l e d   o n t o   a   n o d e   ( W a i t F o r F i r s t C o n s u m e r   v o l u m e   b i n d i n g   m o d e ) .   T h e   l a t t e r   i s   r e c o m m e n d e d   f o r   g e n e r i c   e p h e m e r a l   v o l u m e s   b e c a u s e   t h e n   t h e   s c h e d u l e r   i s   f r e e   t o   c h o o s e   a   s u i t a b l e   n o d e   f o r   t h e   P o d .   W i t h   i m m e d i a t e   b i n d i n g ,   t h e   s c h e d u l e r   i s   f o r c e d   t o   s e l e c t   a   n o d e   t h a t   h a s   a c c e s s   t o   t h e   v o l u m e   o n c e   i t   i s   a v a i l a b l e .   I n   t e r m s   o f   r e s o u r c e   o w n e r s h i p ,   a   P o d   t h a t   h a s   g e n e r i c   e p h e m e r a l   s t o r a g e   i s   t h e   o w n e r   o f   t h e   P e r s i s t e n t V o l u ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2039"
  },
  {
    "question": "What is PersistentVolumeClaim naming?",
    "answer": "N a m i n g   o f   t h e   a u t o m a t i c a l l y   c r e a t e d   P V C s   i s   d e t e r m i n i s t i c :   t h e   n a m e   i s   a   c o m b i n a t i o n   o f   t h e   P o d   n a m e   a n d   v o l u m e   n a m e ,   w i t h   a   h y p h e n   ( - )   i n   t h e   m i d d l e .   I n   t h e   e x a m p l e   a b o v e ,   t h e   P V C   n a m e   w i l l   b e   m y - a p p - s c r a t c h - v o l u m e .   T h i s   d e t e r m i n i s t i c   n a m i n g   m a k e s   i t   e a s i e r   t o   i n t e r a c t   w i t h   t h e   P V C   b e c a u s e   o n e   d o e s   n o t   h a v e   t o   s e a r c h   f o r   i t   o n c e   t h e   P o d   n a m e   a n d   v o l u m e   n a m e   a r e   k n o w n .   T h e   d e t e r m i n i s t i c   n a m i n g   a l s o   i n t r o d u c e s   a   p o t e n t i a l   c o n f l i c t   b e t w e e n   d i f f e r e n t   P o d s   ( a   P o d   \" p o d - a \"   w i t h   v o l u m e   \" s c r a t c h \"   a n d   a n o t h e r   P o d   w i t h   n a m e   \" p o d \"   a n d   v o l u m e   \" a - s c r a t c h \"   b o t h   e n d   u p   w i t h   t h e   s a m e   P V C   n a m e   \" p o d - a - s c r a t c h \" )   a n d   b e t w e e n   P o d s   a n d   m a n u a l l y   c r e a t e d   P V C s .   S u c h   c o n f l i c t s   a r e   d e t e c t e d :   a   P V C   i s   o n l y   u s e d   f o r   a n   e p h e m e r a l   v o l u m e   i f   i t   w a s   c r e a t e d   f o r   t h e   P o d .   T h i s   c h e c k   i s   b a s e d   o n   t h e   o w n e r s h i p   r e l a t i o n s h i p .   A n   e x i s t i n g   P V C   i s   n o t   o v e r w r i t t e n   o r   m o d i f i e d .   B u t   t h i s   d o e s   n o t   r e s o l v e   t h e   c o n f l i c t   b e c a u s e   w i t h o u t   t h e   r i g h t   P V C ,   t h e   P o d   c a n n o t   s t a r t .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2040"
  },
  {
    "question": "What is Security?",
    "answer": "U s i n g   g e n e r i c   e p h e m e r a l   v o l u m e s   a l l o w s   u s e r s   t o   c r e a t e   P V C s   i n d i r e c t l y   i f   t h e y   c a n   c r e a t e   P o d s ,   e v e n   i f   t h e y   d o   n o t   h a v e   p e r m i s s i o n   t o   c r e a t e   P V C s   d i r e c t l y .   C l u s t e r   a d m i n i s t r a t o r s   m u s t   b e   a w a r e   o f   t h i s .   I f   t h i s   d o e s   n o t   f i t   t h e i r   s e c u r i t y   m o d e l ,   t h e y   s h o u l d   u s e   a n   a d m i s s i o n   w e b h o o k   t h a t   r e j e c t s   o b j e c t s   l i k e   P o d s   t h a t   h a v e   a   g e n e r i c   e p h e m e r a l   v o l u m e .   T h e   n o r m a l   n a m e s p a c e   q u o t a   f o r   P V C s   s t i l l   a p p l i e s ,   s o   e v e n   i f   u s e r s   a r e   a l l o w e d   t o   u s e   t h i s   n e w   m e c h a n i s m ,   t h e y   c a n n o t   u s e   i t   t o   c i r c u m v e n t   o t h e r   p o l i c i e s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2041"
  },
  {
    "question": "What is Ephemeral volumes managed by kubelet?",
    "answer": "S e e   l o c a l   e p h e m e r a l   s t o r a g e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2042"
  },
  {
    "question": "What is CSI ephemeral volumes?",
    "answer": "F o r   m o r e   i n f o r m a t i o n   o n   t h e   d e s i g n ,   s e e   t h e   E p h e m e r a l   I n l i n e   C S I   v o l u m e s   K E P . F o r   m o r e   i n f o r m a t i o n   o n   f u r t h e r   d e v e l o p m e n t   o f   t h i s   f e a t u r e ,   s e e   t h e   e n h a n c e m e n t   t r a c k i n g   i s s u e   # 5 9 6 .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2043"
  },
  {
    "question": "What is Generic ephemeral volumes?",
    "answer": "F o r   m o r e   i n f o r m a t i o n   o n   t h e   d e s i g n ,   s e e   t h e   G e n e r i c   e p h e m e r a l   i n l i n e   v o l u m e s   K E P .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2044"
  },
  {
    "question": "What is 5 - Storage Classes?",
    "answer": "T h i s   d o c u m e n t   d e s c r i b e s   t h e   c o n c e p t   o f   a   S t o r a g e C l a s s   i n   K u b e r n e t e s .   F a m i l i a r i t y   w i t h   v o l u m e s   a n d   p e r s i s t e n t   v o l u m e s   i s   s u g g e s t e d .   A   S t o r a g e C l a s s   p r o v i d e s   a   w a y   f o r   a d m i n i s t r a t o r s   t o   d e s c r i b e   t h e   c l a s s e s   o f   s t o r a g e   t h e y   o f f e r .   D i f f e r e n t   c l a s s e s   m i g h t   m a p   t o   q u a l i t y - o f - s e r v i c e   l e v e l s ,   o r   t o   b a c k u p   p o l i c i e s ,   o r   t o   a r b i t r a r y   p o l i c i e s   d e t e r m i n e d   b y   t h e   c l u s t e r   a d m i n i s t r a t o r s .   K u b e r n e t e s   i t s e l f   i s   u n o p i n i o n a t e d   a b o u t   w h a t   c l a s s e s   r e p r e s e n t .   T h e   K u b e r n e t e s   c o n c e p t   o f   a   s t o r a g e   c l a s s   i s   s i m i l a r   t o   “ p r o f i l e s ”   i n   s o m e   o t h e r   s t o r a g e   s y s t e m   d e s i g n s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_1_2045"
  },
  {
    "question": "What is StorageClass objects?",
    "answer": "E a c h   S t o r a g e C l a s s   c o n t a i n s   t h e   f i e l d s   p r o v i s i o n e r ,   p a r a m e t e r s ,   a n d   r e c l a i m P o l i c y ,   w h i c h   a r e   u s e d   w h e n   a   P e r s i s t e n t V o l u m e   b e l o n g i n g   t o   t h e   c l a s s   n e e d s   t o   b e   d y n a m i c a l l y   p r o v i s i o n e d   t o   s a t i s f y   a   P e r s i s t e n t V o l u m e C l a i m   ( P V C ) .   T h e   n a m e   o f   a   S t o r a g e C l a s s   o b j e c t   i s   s i g n i f i c a n t ,   a n d   i s   h o w   u s e r s   c a n   r e q u e s t   a   p a r t i c u l a r   c l a s s .   A d m i n i s t r a t o r s   s e t   t h e   n a m e   a n d   o t h e r   p a r a m e t e r s   o f   a   c l a s s   w h e n   f i r s t   c r e a t i n g   S t o r a g e C l a s s   o b j e c t s .   A s   a n   a d m i n i s t r a t o r ,   y o u   c a n   s p e c i f y   a   d e f a u l t   S t o r a g e C l a s s   t h a t   a p p l i e s   t o   a n y   P V C s   t h a t   d o n ' t   r e q u e s t   a   s p e c i f i c   c l a s s .   F o r   m o r e   d e t a i l s ,   s e e   t h e   P e r s i s t e n t V o l u m e C l a i m   c o n c e p t .   H e r e ' s   a n   e x a m p l e   o f   a   S t o r a g e C l a s s :   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   l o w - l a t e n c y   a n n o t a t i o n s :   s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s :   \" f a l s e \"   p r o v i s i o n e r :   c s i - d r i v e r . e x a m p l e - v e n d o r . e x a m p l e   r e c l a i m P o l i c y :   R e t a i n   #   d e f a u l t   v a l u e   i s   D e l e t e   a l l o w V o l u m e E x p a n s i o n :   t r u e   m o u n t O p t i o n s :   -   d i s c a r d   #   t h i s   m i g h t   e n a b l e   U N M A P   /   T R I M   a t   t h e   b l o c k   s t o r a g e   l a y e r   v o l u m e B i n d i n ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2046"
  },
  {
    "question": "What is Default StorageClass?",
    "answer": "Y o u   c a n   m a r k   a   S t o r a g e C l a s s   a s   t h e   d e f a u l t   f o r   y o u r   c l u s t e r .   F o r   i n s t r u c t i o n s   o n   s e t t i n g   t h e   d e f a u l t   S t o r a g e C l a s s ,   s e e   C h a n g e   t h e   d e f a u l t   S t o r a g e C l a s s .   W h e n   a   P V C   d o e s   n o t   s p e c i f y   a   s t o r a g e C l a s s N a m e ,   t h e   d e f a u l t   S t o r a g e C l a s s   i s   u s e d .   I f   y o u   s e t   t h e   s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s   a n n o t a t i o n   t o   t r u e   o n   m o r e   t h a n   o n e   S t o r a g e C l a s s   i n   y o u r   c l u s t e r ,   a n d   y o u   t h e n   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   w i t h   n o   s t o r a g e C l a s s N a m e   s e t ,   K u b e r n e t e s   u s e s   t h e   m o s t   r e c e n t l y   c r e a t e d   d e f a u l t   S t o r a g e C l a s s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2047"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   w i t h o u t   s p e c i f y i n g   a   s t o r a g e C l a s s N a m e   f o r   t h e   n e w   P V C ,   a n d   y o u   c a n   d o   s o   e v e n   w h e n   n o   d e f a u l t   S t o r a g e C l a s s   e x i s t s   i n   y o u r   c l u s t e r .   I n   t h i s   c a s e ,   t h e   n e w   P V C   c r e a t e s   a s   y o u   d e f i n e d   i t ,   a n d   t h e   s t o r a g e C l a s s N a m e   o f   t h a t   P V C   r e m a i n s   u n s e t   u n t i l   a   d e f a u l t   b e c o m e s   a v a i l a b l e .   Y o u   c a n   h a v e   a   c l u s t e r   w i t h o u t   a n y   d e f a u l t   S t o r a g e C l a s s .   I f   y o u   d o n ' t   m a r k   a n y   S t o r a g e C l a s s   a s   d e f a u l t   ( a n d   o n e   h a s n ' t   b e e n   s e t   f o r   y o u   b y ,   f o r   e x a m p l e ,   a   c l o u d   p r o v i d e r ) ,   t h e n   K u b e r n e t e s   c a n n o t   a p p l y   t h a t   d e f a u l t i n g   f o r   P e r s i s t e n t V o l u m e C l a i m s   t h a t   n e e d   i t .   I f   o r   w h e n   a   d e f a u l t   S t o r a g e C l a s s   b e c o m e s   a v a i l a b l e ,   t h e   c o n t r o l   p l a n e   i d e n t i f i e s   a n y   e x i s t i n g   P V C s   w i t h o u t   s t o r a g e C l a s s N a m e .   F o r   t h e   P V C s   t h a t   e i t h e r   h a v e   a n   e m p t y   v a l u e   f o r   s t o r a g e C l a s s N a m e   o r   d o   n o t   h a v e   t h i s   k e y ,   t h e   c o n t r o l   p l a n e   t h e n   u p d a t e s   t h o s e   P V C s   t o   s e t   s t o r a g e C l a s s N a m e   t o   m a t c h   t h e   n e w   d e f a u l t   S t o r a g e C l a s s .   I f   y o u   h a v e   a n   e x i s t i n g   P V C   w h e r e   t h e   s t o r a g e C l a s s N a m e   i s   \" \" ,   a n d   y o u   c o n f i g u r e   a   d e f a u l t   S t o r a g e C l a s s ,   t h e n   t h ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_2048"
  },
  {
    "question": "What is Provisioner?",
    "answer": "E a c h   S t o r a g e C l a s s   h a s   a   p r o v i s i o n e r   t h a t   d e t e r m i n e s   w h a t   v o l u m e   p l u g i n   i s   u s e d   f o r   p r o v i s i o n i n g   P V s .   T h i s   f i e l d   m u s t   b e   s p e c i f i e d .   Y o u   a r e   n o t   r e s t r i c t e d   t o   s p e c i f y i n g   t h e   \" i n t e r n a l \"   p r o v i s i o n e r s   l i s t e d   h e r e   ( w h o s e   n a m e s   a r e   p r e f i x e d   w i t h   \" k u b e r n e t e s . i o \"   a n d   s h i p p e d   a l o n g s i d e   K u b e r n e t e s ) .   Y o u   c a n   a l s o   r u n   a n d   s p e c i f y   e x t e r n a l   p r o v i s i o n e r s ,   w h i c h   a r e   i n d e p e n d e n t   p r o g r a m s   t h a t   f o l l o w   a   s p e c i f i c a t i o n   d e f i n e d   b y   K u b e r n e t e s .   A u t h o r s   o f   e x t e r n a l   p r o v i s i o n e r s   h a v e   f u l l   d i s c r e t i o n   o v e r   w h e r e   t h e i r   c o d e   l i v e s ,   h o w   t h e   p r o v i s i o n e r   i s   s h i p p e d ,   h o w   i t   n e e d s   t o   b e   r u n ,   w h a t   v o l u m e   p l u g i n   i t   u s e s   ( i n c l u d i n g   F l e x ) ,   e t c .   T h e   r e p o s i t o r y   k u b e r n e t e s - s i g s / s i g - s t o r a g e - l i b - e x t e r n a l - p r o v i s i o n e r   h o u s e s   a   l i b r a r y   f o r   w r i t i n g   e x t e r n a l   p r o v i s i o n e r s   t h a t   i m p l e m e n t s   t h e   b u l k   o f   t h e   s p e c i f i c a t i o n .   S o m e   e x t e r n a l   p r o v i s i o n e r s   a r e   l i s t e d   u n d e r   t h e   r e p o s i t o r y   k u b e r n e t e s - s i g s / s i g - s t o r a g e - l i b - e x t e r n a l - p r o v i s i o n e r .   F o r   e x a m p l e ,   N F S   d o e s n ' t   p r o v i d e   a n   i n t e r n a l   p r o v i s i o n e r ,   b u t   a n   e x t e r n a l   p r o v i s i o n e r   c a n   b e   u s e d .   T h e r e   a r e ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2049"
  },
  {
    "question": "What is Reclaim policy?",
    "answer": "P e r s i s t e n t V o l u m e s   t h a t   a r e   d y n a m i c a l l y   c r e a t e d   b y   a   S t o r a g e C l a s s   w i l l   h a v e   t h e   r e c l a i m   p o l i c y   s p e c i f i e d   i n   t h e   r e c l a i m P o l i c y   f i e l d   o f   t h e   c l a s s ,   w h i c h   c a n   b e   e i t h e r   D e l e t e   o r   R e t a i n .   I f   n o   r e c l a i m P o l i c y   i s   s p e c i f i e d   w h e n   a   S t o r a g e C l a s s   o b j e c t   i s   c r e a t e d ,   i t   w i l l   d e f a u l t   t o   D e l e t e .   P e r s i s t e n t V o l u m e s   t h a t   a r e   c r e a t e d   m a n u a l l y   a n d   m a n a g e d   v i a   a   S t o r a g e C l a s s   w i l l   h a v e   w h a t e v e r   r e c l a i m   p o l i c y   t h e y   w e r e   a s s i g n e d   a t   c r e a t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2050"
  },
  {
    "question": "What is Volume expansion?",
    "answer": "P e r s i s t e n t V o l u m e s   c a n   b e   c o n f i g u r e d   t o   b e   e x p a n d a b l e .   T h i s   a l l o w s   y o u   t o   r e s i z e   t h e   v o l u m e   b y   e d i t i n g   t h e   c o r r e s p o n d i n g   P V C   o b j e c t ,   r e q u e s t i n g   a   n e w   l a r g e r   a m o u n t   o f   s t o r a g e .   T h e   f o l l o w i n g   t y p e s   o f   v o l u m e s   s u p p o r t   v o l u m e   e x p a n s i o n ,   w h e n   t h e   u n d e r l y i n g   S t o r a g e C l a s s   h a s   t h e   f i e l d   a l l o w V o l u m e E x p a n s i o n   s e t   t o   t r u e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2051"
  },
  {
    "question": "What is Mount options?",
    "answer": "P e r s i s t e n t V o l u m e s   t h a t   a r e   d y n a m i c a l l y   c r e a t e d   b y   a   S t o r a g e C l a s s   w i l l   h a v e   t h e   m o u n t   o p t i o n s   s p e c i f i e d   i n   t h e   m o u n t O p t i o n s   f i e l d   o f   t h e   c l a s s .   I f   t h e   v o l u m e   p l u g i n   d o e s   n o t   s u p p o r t   m o u n t   o p t i o n s   b u t   m o u n t   o p t i o n s   a r e   s p e c i f i e d ,   p r o v i s i o n i n g   w i l l   f a i l .   M o u n t   o p t i o n s   a r e   n o t   v a l i d a t e d   o n   e i t h e r   t h e   c l a s s   o r   P V .   I f   a   m o u n t   o p t i o n   i s   i n v a l i d ,   t h e   P V   m o u n t   f a i l s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2052"
  },
  {
    "question": "What is Volume binding mode?",
    "answer": "T h e   v o l u m e B i n d i n g M o d e   f i e l d   c o n t r o l s   w h e n   v o l u m e   b i n d i n g   a n d   d y n a m i c   p r o v i s i o n i n g   s h o u l d   o c c u r .   W h e n   u n s e t ,   I m m e d i a t e   m o d e   i s   u s e d   b y   d e f a u l t .   T h e   I m m e d i a t e   m o d e   i n d i c a t e s   t h a t   v o l u m e   b i n d i n g   a n d   d y n a m i c   p r o v i s i o n i n g   o c c u r s   o n c e   t h e   P e r s i s t e n t V o l u m e C l a i m   i s   c r e a t e d .   F o r   s t o r a g e   b a c k e n d s   t h a t   a r e   t o p o l o g y - c o n s t r a i n e d   a n d   n o t   g l o b a l l y   a c c e s s i b l e   f r o m   a l l   N o d e s   i n   t h e   c l u s t e r ,   P e r s i s t e n t V o l u m e s   w i l l   b e   b o u n d   o r   p r o v i s i o n e d   w i t h o u t   k n o w l e d g e   o f   t h e   P o d ' s   s c h e d u l i n g   r e q u i r e m e n t s .   T h i s   m a y   r e s u l t   i n   u n s c h e d u l a b l e   P o d s .   A   c l u s t e r   a d m i n i s t r a t o r   c a n   a d d r e s s   t h i s   i s s u e   b y   s p e c i f y i n g   t h e   W a i t F o r F i r s t C o n s u m e r   m o d e   w h i c h   w i l l   d e l a y   t h e   b i n d i n g   a n d   p r o v i s i o n i n g   o f   a   P e r s i s t e n t V o l u m e   u n t i l   a   P o d   u s i n g   t h e   P e r s i s t e n t V o l u m e C l a i m   i s   c r e a t e d .   P e r s i s t e n t V o l u m e s   w i l l   b e   s e l e c t e d   o r   p r o v i s i o n e d   c o n f o r m i n g   t o   t h e   t o p o l o g y   t h a t   i s   s p e c i f i e d   b y   t h e   P o d ' s   s c h e d u l i n g   c o n s t r a i n t s .   T h e s e   i n c l u d e ,   b u t   a r e   n o t   l i m i t e d   t o ,   r e s o u r c e   r e q u i r e m e n t s ,   n o d e   s e l e c t o r s ,   p o d   a f f i n i t y   a n d   a n t i - a f f i n i t y ,   a n d   t a i n t s   a n d   t o l e r a t i o ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2053"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   c h o o s e   t o   u s e   W a i t F o r F i r s t C o n s u m e r ,   d o   n o t   u s e   n o d e N a m e   i n   t h e   P o d   s p e c   t o   s p e c i f y   n o d e   a f f i n i t y .   I f   n o d e N a m e   i s   u s e d   i n   t h i s   c a s e ,   t h e   s c h e d u l e r   w i l l   b e   b y p a s s e d   a n d   P V C   w i l l   r e m a i n   i n   p e n d i n g   s t a t e .   I n s t e a d ,   y o u   c a n   u s e   n o d e   s e l e c t o r   f o r   k u b e r n e t e s . i o / h o s t n a m e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t a s k - p v - p o d   s p e c :   n o d e S e l e c t o r :   k u b e r n e t e s . i o / h o s t n a m e :   k u b e - 0 1   v o l u m e s :   -   n a m e :   t a s k - p v - s t o r a g e   p e r s i s t e n t V o l u m e C l a i m :   c l a i m N a m e :   t a s k - p v - c l a i m   c o n t a i n e r s :   -   n a m e :   t a s k - p v - c o n t a i n e r   i m a g e :   n g i n x   p o r t s :   -   c o n t a i n e r P o r t :   8 0   n a m e :   \" h t t p - s e r v e r \"   v o l u m e M o u n t s :   -   m o u n t P a t h :   \" / u s r / s h a r e / n g i n x / h t m l \"   n a m e :   t a s k - p v - s t o r a g e",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_2054"
  },
  {
    "question": "What is Allowed topologies?",
    "answer": "W h e n   a   c l u s t e r   o p e r a t o r   s p e c i f i e s   t h e   W a i t F o r F i r s t C o n s u m e r   v o l u m e   b i n d i n g   m o d e ,   i t   i s   n o   l o n g e r   n e c e s s a r y   t o   r e s t r i c t   p r o v i s i o n i n g   t o   s p e c i f i c   t o p o l o g i e s   i n   m o s t   s i t u a t i o n s .   H o w e v e r ,   i f   s t i l l   r e q u i r e d ,   a l l o w e d T o p o l o g i e s   c a n   b e   s p e c i f i e d .   T h i s   e x a m p l e   d e m o n s t r a t e s   h o w   t o   r e s t r i c t   t h e   t o p o l o g y   o f   p r o v i s i o n e d   v o l u m e s   t o   s p e c i f i c   z o n e s   a n d   s h o u l d   b e   u s e d   a s   a   r e p l a c e m e n t   f o r   t h e   z o n e   a n d   z o n e s   p a r a m e t e r s   f o r   t h e   s u p p o r t e d   p l u g i n s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   s t a n d a r d   p r o v i s i o n e r :   e x a m p l e . c o m / e x a m p l e   p a r a m e t e r s :   t y p e :   p d - s t a n d a r d   v o l u m e B i n d i n g M o d e :   W a i t F o r F i r s t C o n s u m e r   a l l o w e d T o p o l o g i e s :   -   m a t c h L a b e l E x p r e s s i o n s :   -   k e y :   t o p o l o g y . k u b e r n e t e s . i o / z o n e   v a l u e s :   -   u s - c e n t r a l - 1 a   -   u s - c e n t r a l - 1 b",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2055"
  },
  {
    "question": "What is Parameters?",
    "answer": "S t o r a g e C l a s s e s   h a v e   p a r a m e t e r s   t h a t   d e s c r i b e   v o l u m e s   b e l o n g i n g   t o   t h e   s t o r a g e   c l a s s .   D i f f e r e n t   p a r a m e t e r s   m a y   b e   a c c e p t e d   d e p e n d i n g   o n   t h e   p r o v i s i o n e r .   W h e n   a   p a r a m e t e r   i s   o m i t t e d ,   s o m e   d e f a u l t   i s   u s e d .   T h e r e   c a n   b e   a t   m o s t   5 1 2   p a r a m e t e r s   d e f i n e d   f o r   a   S t o r a g e C l a s s .   T h e   t o t a l   l e n g t h   o f   t h e   p a r a m e t e r s   o b j e c t   i n c l u d i n g   i t s   k e y s   a n d   v a l u e s   c a n n o t   e x c e e d   2 5 6   K i B .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2056"
  },
  {
    "question": "What is AWS EBS?",
    "answer": "K u b e r n e t e s   1 . 3 4   d o e s   n o t   i n c l u d e   a   a w s E l a s t i c B l o c k S t o r e   v o l u m e   t y p e .   T h e   A W S E l a s t i c B l o c k S t o r e   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 1 9   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 2 7   r e l e a s e .   T h e   K u b e r n e t e s   p r o j e c t   s u g g e s t s   t h a t   y o u   u s e   t h e   A W S   E B S   o u t - o f - t r e e   s t o r a g e   d r i v e r   i n s t e a d .   H e r e   i s   a n   e x a m p l e   S t o r a g e C l a s s   f o r   t h e   A W S   E B S   C S I   d r i v e r :   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   e b s - s c   p r o v i s i o n e r :   e b s . c s i . a w s . c o m   v o l u m e B i n d i n g M o d e :   W a i t F o r F i r s t C o n s u m e r   p a r a m e t e r s :   c s i . s t o r a g e . k 8 s . i o / f s t y p e :   x f s   t y p e :   i o 1   i o p s P e r G B :   \" 5 0 \"   e n c r y p t e d :   \" t r u e \"   t a g S p e c i f i c a t i o n _ 1 :   \" k e y 1 = v a l u e 1 \"   t a g S p e c i f i c a t i o n _ 2 :   \" k e y 2 = v a l u e 2 \"   a l l o w e d T o p o l o g i e s :   -   m a t c h L a b e l E x p r e s s i o n s :   -   k e y :   t o p o l o g y . e b s . c s i . a w s . c o m / z o n e   v a l u e s :   -   u s - e a s t - 2 c   t a g S p e c i f i c a t i o n :   T a g s   w i t h   t h i s   p r e f i x   a r e   a p p l i e d   t o   d y n a m i c a l l y   p r o v i s i o n e d   E B S   v o l u m e s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2057"
  },
  {
    "question": "What is AWS EFS?",
    "answer": "T o   c o n f i g u r e   A W S   E F S   s t o r a g e ,   y o u   c a n   u s e   t h e   o u t - o f - t r e e   A W S _ E F S _ C S I _ D R I V E R .   k i n d :   S t o r a g e C l a s s   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   m e t a d a t a :   n a m e :   e f s - s c   p r o v i s i o n e r :   e f s . c s i . a w s . c o m   p a r a m e t e r s :   p r o v i s i o n i n g M o d e :   e f s - a p   f i l e S y s t e m I d :   f s - 9 2 1 0 7 4 1 0   d i r e c t o r y P e r m s :   \" 7 0 0 \"   p r o v i s i o n i n g M o d e :   T h e   t y p e   o f   v o l u m e   t o   b e   p r o v i s i o n e d   b y   A m a z o n   E F S .   C u r r e n t l y ,   o n l y   a c c e s s   p o i n t   b a s e d   p r o v i s i o n i n g   i s   s u p p o r t e d   ( e f s - a p ) . f i l e S y s t e m I d :   T h e   f i l e   s y s t e m   u n d e r   w h i c h   t h e   a c c e s s   p o i n t   i s   c r e a t e d . d i r e c t o r y P e r m s :   T h e   d i r e c t o r y   p e r m i s s i o n s   o f   t h e   r o o t   d i r e c t o r y   c r e a t e d   b y   t h e   a c c e s s   p o i n t .   F o r   m o r e   d e t a i l s ,   r e f e r   t o   t h e   A W S _ E F S _ C S I _ D r i v e r   D y n a m i c   P r o v i s i o n i n g   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2058"
  },
  {
    "question": "What is NFS?",
    "answer": "T o   c o n f i g u r e   N F S   s t o r a g e ,   y o u   c a n   u s e   t h e   i n - t r e e   d r i v e r   o r   t h e   N F S   C S I   d r i v e r   f o r   K u b e r n e t e s   ( r e c o m m e n d e d ) .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   e x a m p l e - n f s   p r o v i s i o n e r :   e x a m p l e . c o m / e x t e r n a l - n f s   p a r a m e t e r s :   s e r v e r :   n f s - s e r v e r . e x a m p l e . c o m   p a t h :   / s h a r e   r e a d O n l y :   \" f a l s e \"   s e r v e r :   S e r v e r   i s   t h e   h o s t n a m e   o r   I P   a d d r e s s   o f   t h e   N F S   s e r v e r . p a t h :   P a t h   t h a t   i s   e x p o r t e d   b y   t h e   N F S   s e r v e r . r e a d O n l y :   A   f l a g   i n d i c a t i n g   w h e t h e r   t h e   s t o r a g e   w i l l   b e   m o u n t e d   a s   r e a d   o n l y   ( d e f a u l t   f a l s e ) .   K u b e r n e t e s   d o e s n ' t   i n c l u d e   a n   i n t e r n a l   N F S   p r o v i s i o n e r .   Y o u   n e e d   t o   u s e   a n   e x t e r n a l   p r o v i s i o n e r   t o   c r e a t e   a   S t o r a g e C l a s s   f o r   N F S .   H e r e   a r e   s o m e   e x a m p l e s :   N F S   G a n e s h a   s e r v e r   a n d   e x t e r n a l   p r o v i s i o n e r N F S   s u b d i r   e x t e r n a l   p r o v i s i o n e r",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2059"
  },
  {
    "question": "What is vSphere?",
    "answer": "T h e r e   a r e   t w o   t y p e s   o f   p r o v i s i o n e r s   f o r   v S p h e r e   s t o r a g e   c l a s s e s :   C S I   p r o v i s i o n e r :   c s i . v s p h e r e . v m w a r e . c o m v C P   p r o v i s i o n e r :   k u b e r n e t e s . i o / v s p h e r e - v o l u m e   I n - t r e e   p r o v i s i o n e r s   a r e   d e p r e c a t e d .   F o r   m o r e   i n f o r m a t i o n   o n   t h e   C S I   p r o v i s i o n e r ,   s e e   K u b e r n e t e s   v S p h e r e   C S I   D r i v e r   a n d   v S p h e r e V o l u m e   C S I   m i g r a t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2060"
  },
  {
    "question": "What is CSI Provisioner?",
    "answer": "T h e   v S p h e r e   C S I   S t o r a g e C l a s s   p r o v i s i o n e r   w o r k s   w i t h   T a n z u   K u b e r n e t e s   c l u s t e r s .   F o r   a n   e x a m p l e ,   r e f e r   t o   t h e   v S p h e r e   C S I   r e p o s i t o r y .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_2061"
  },
  {
    "question": "What is vCP Provisioner?",
    "answer": "T h e   f o l l o w i n g   e x a m p l e s   u s e   t h e   V M w a r e   C l o u d   P r o v i d e r   ( v C P )   S t o r a g e C l a s s   p r o v i s i o n e r .   C r e a t e   a   S t o r a g e C l a s s   w i t h   a   u s e r   s p e c i f i e d   d i s k   f o r m a t . a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   f a s t   p r o v i s i o n e r :   k u b e r n e t e s . i o / v s p h e r e - v o l u m e   p a r a m e t e r s :   d i s k f o r m a t :   z e r o e d t h i c k   d i s k f o r m a t :   t h i n ,   z e r o e d t h i c k   a n d   e a g e r z e r o e d t h i c k .   D e f a u l t :   \" t h i n \" . C r e a t e   a   S t o r a g e C l a s s   w i t h   a   d i s k   f o r m a t   o n   a   u s e r   s p e c i f i e d   d a t a s t o r e . a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   f a s t   p r o v i s i o n e r :   k u b e r n e t e s . i o / v s p h e r e - v o l u m e   p a r a m e t e r s :   d i s k f o r m a t :   z e r o e d t h i c k   d a t a s t o r e :   V S A N D a t a s t o r e   d a t a s t o r e :   T h e   u s e r   c a n   a l s o   s p e c i f y   t h e   d a t a s t o r e   i n   t h e   S t o r a g e C l a s s .   T h e   v o l u m e   w i l l   b e   c r e a t e d   o n   t h e   d a t a s t o r e   s p e c i f i e d   i n   t h e   S t o r a g e C l a s s ,   w h i c h   i n   t h i s   c a s e   i s   V S A N D a t a s t o r e .   T h i s   f i e l d   i s   o p t i o n a l .   I f   t h e   d a t a s t o r e   i s   n o t   s p e c i f i e d ,   t h e n   t h e   v o l u m e   w i l l   b e   c r e a t e d   o n   t h e   d a t a s t o r e   s p e c i f i e d   i n   t h e   v S p h e r e   c o n f i g   f i l e   u s e d   t o   i n i t i a l i z e   t h e   v S p h e r e   C l o u d   P r o v i d e r . S t o r a g e   P o l i c y   M a n a g e m e n ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_2062"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   i n t e r n a l   p r o v i s i o n e r   o f   C e p h   R B D   i s   d e p r e c a t e d .   P l e a s e   u s e   C e p h F S   R B D   C S I   d r i v e r .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   f a s t   p r o v i s i o n e r :   k u b e r n e t e s . i o / r b d   #   T h i s   p r o v i s i o n e r   i s   d e p r e c a t e d   p a r a m e t e r s :   m o n i t o r s :   1 9 8 . 1 9 . 2 5 4 . 1 0 5 : 6 7 8 9   a d m i n I d :   k u b e   a d m i n S e c r e t N a m e :   c e p h - s e c r e t   a d m i n S e c r e t N a m e s p a c e :   k u b e - s y s t e m   p o o l :   k u b e   u s e r I d :   k u b e   u s e r S e c r e t N a m e :   c e p h - s e c r e t - u s e r   u s e r S e c r e t N a m e s p a c e :   d e f a u l t   f s T y p e :   e x t 4   i m a g e F o r m a t :   \" 2 \"   i m a g e F e a t u r e s :   \" l a y e r i n g \"   m o n i t o r s :   C e p h   m o n i t o r s ,   c o m m a   d e l i m i t e d .   T h i s   p a r a m e t e r   i s   r e q u i r e d . a d m i n I d :   C e p h   c l i e n t   I D   t h a t   i s   c a p a b l e   o f   c r e a t i n g   i m a g e s   i n   t h e   p o o l .   D e f a u l t   i s   \" a d m i n \" . a d m i n S e c r e t N a m e :   S e c r e t   N a m e   f o r   a d m i n I d .   T h i s   p a r a m e t e r   i s   r e q u i r e d .   T h e   p r o v i d e d   s e c r e t   m u s t   h a v e   t y p e   \" k u b e r n e t e s . i o / r b d \" . a d m i n S e c r e t N a m e s p a c e :   T h e   n a m e s p a c e   f o r   a d m i n S e c r e t N a m e .   D e f a u l t   i s   \" d e f a u l t \" . p o o l :   C e p h   R B D   p o o l .   D e f a u l t   i s   \" r b d \" . u s e r I d :   C e p h   c l i e n t   I D   t h a t   i s   u s e d   t o   m a p   t h e   R B D   i m a g e .   D e f a u l t   i s   t h e   s a m e   a s   a d m i n I d . u s e r S e c r e t N a m e :   T h e   n a m e   o f   ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_2063"
  },
  {
    "question": "What is Azure Disk?",
    "answer": "K u b e r n e t e s   1 . 3 4   d o e s   n o t   i n c l u d e   a   a z u r e D i s k   v o l u m e   t y p e .   T h e   a z u r e D i s k   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 1 9   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 2 7   r e l e a s e .   T h e   K u b e r n e t e s   p r o j e c t   s u g g e s t s   t h a t   y o u   u s e   t h e   A z u r e   D i s k   t h i r d   p a r t y   s t o r a g e   d r i v e r   i n s t e a d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2064"
  },
  {
    "question": "What is Azure File (deprecated)?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   a z u r e f i l e   p r o v i s i o n e r :   k u b e r n e t e s . i o / a z u r e - f i l e   p a r a m e t e r s :   s k u N a m e :   S t a n d a r d _ L R S   l o c a t i o n :   e a s t u s   s t o r a g e A c c o u n t :   a z u r e _ s t o r a g e _ a c c o u n t _ n a m e   #   e x a m p l e   v a l u e   s k u N a m e :   A z u r e   s t o r a g e   a c c o u n t   S K U   t i e r .   D e f a u l t   i s   e m p t y . l o c a t i o n :   A z u r e   s t o r a g e   a c c o u n t   l o c a t i o n .   D e f a u l t   i s   e m p t y . s t o r a g e A c c o u n t :   A z u r e   s t o r a g e   a c c o u n t   n a m e .   D e f a u l t   i s   e m p t y .   I f   a   s t o r a g e   a c c o u n t   i s   n o t   p r o v i d e d ,   a l l   s t o r a g e   a c c o u n t s   a s s o c i a t e d   w i t h   t h e   r e s o u r c e   g r o u p   a r e   s e a r c h e d   t o   f i n d   o n e   t h a t   m a t c h e s   s k u N a m e   a n d   l o c a t i o n .   I f   a   s t o r a g e   a c c o u n t   i s   p r o v i d e d ,   i t   m u s t   r e s i d e   i n   t h e   s a m e   r e s o u r c e   g r o u p   a s   t h e   c l u s t e r ,   a n d   s k u N a m e   a n d   l o c a t i o n   a r e   i g n o r e d . s e c r e t N a m e s p a c e :   t h e   n a m e s p a c e   o f   t h e   s e c r e t   t h a t   c o n t a i n s   t h e   A z u r e   S t o r a g e   A c c o u n t   N a m e   a n d   K e y .   D e f a u l t   i s   t h e   s a m e   a s   t h e   P o d . s e c r e t N a m e :   t h e   n a m e   o f   t h e   s e c r e t   t h a t   c o n t a i n s   t h e   A z u r e   S t o r a g e   A c c o u n t   N a m e   a n d   K e y .   D e f a u l t   i s   a z u r e - s t o r a g e - a c c o u n t - < a c c o u n t N a m e > - s e c r e t r e a d O n l y :   a   f l a g   i n d i c a t i n g   w h e t h e r   t h e   s t o ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2065"
  },
  {
    "question": "What is Portworx volume (deprecated)?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   p o r t w o r x - i o - p r i o r i t y - h i g h   p r o v i s i o n e r :   k u b e r n e t e s . i o / p o r t w o r x - v o l u m e   #   T h i s   p r o v i s i o n e r   i s   d e p r e c a t e d   p a r a m e t e r s :   r e p l :   \" 1 \"   s n a p _ i n t e r v a l :   \" 7 0 \"   p r i o r i t y _ i o :   \" h i g h \"   f s :   f i l e s y s t e m   t o   b e   l a i d   o u t :   n o n e / x f s / e x t 4   ( d e f a u l t :   e x t 4 ) . b l o c k _ s i z e :   b l o c k   s i z e   i n   K b y t e s   ( d e f a u l t :   3 2 ) . r e p l :   n u m b e r   o f   s y n c h r o n o u s   r e p l i c a s   t o   b e   p r o v i d e d   i n   t h e   f o r m   o f   r e p l i c a t i o n   f a c t o r   1 . . 3   ( d e f a u l t :   1 )   A   s t r i n g   i s   e x p e c t e d   h e r e   i . e .   \" 1 \"   a n d   n o t   1 . p r i o r i t y _ i o :   d e t e r m i n e s   w h e t h e r   t h e   v o l u m e   w i l l   b e   c r e a t e d   f r o m   h i g h e r   p e r f o r m a n c e   o r   a   l o w e r   p r i o r i t y   s t o r a g e   h i g h / m e d i u m / l o w   ( d e f a u l t :   l o w ) . s n a p _ i n t e r v a l :   c l o c k / t i m e   i n t e r v a l   i n   m i n u t e s   f o r   w h e n   t o   t r i g g e r   s n a p s h o t s .   S n a p s h o t s   a r e   i n c r e m e n t a l   b a s e d   o n   d i f f e r e n c e   w i t h   t h e   p r i o r   s n a p s h o t ,   0   d i s a b l e s   s n a p s   ( d e f a u l t :   0 ) .   A   s t r i n g   i s   e x p e c t e d   h e r e   i . e .   \" 7 0 \"   a n d   n o t   7 0 . a g g r e g a t i o n _ l e v e l :   s p e c i f i e s   t h e   n u m b e r   o f   c h u n k s   t h e   v o l u m e   w o u l d   b e   d i s t r i b u t e d   i n t o ,   0   i n d i c a t e s   a   n o n - a g g r e g a t e d   v o l u m e   ( d e f a u l t :   0 ) .   A   s t r i n g ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2066"
  },
  {
    "question": "What is Local?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   l o c a l - s t o r a g e   p r o v i s i o n e r :   k u b e r n e t e s . i o / n o - p r o v i s i o n e r   #   i n d i c a t e s   t h a t   t h i s   S t o r a g e C l a s s   d o e s   n o t   s u p p o r t   a u t o m a t i c   p r o v i s i o n i n g   v o l u m e B i n d i n g M o d e :   W a i t F o r F i r s t C o n s u m e r   L o c a l   v o l u m e s   d o   n o t   s u p p o r t   d y n a m i c   p r o v i s i o n i n g   i n   K u b e r n e t e s   1 . 3 4 ;   h o w e v e r   a   S t o r a g e C l a s s   s h o u l d   s t i l l   b e   c r e a t e d   t o   d e l a y   v o l u m e   b i n d i n g   u n t i l   a   P o d   i s   a c t u a l l y   s c h e d u l e d   t o   t h e   a p p r o p r i a t e   n o d e .   T h i s   i s   s p e c i f i e d   b y   t h e   W a i t F o r F i r s t C o n s u m e r   v o l u m e   b i n d i n g   m o d e .   D e l a y i n g   v o l u m e   b i n d i n g   a l l o w s   t h e   s c h e d u l e r   t o   c o n s i d e r   a l l   o f   a   P o d ' s   s c h e d u l i n g   c o n s t r a i n t s   w h e n   c h o o s i n g   a n   a p p r o p r i a t e   P e r s i s t e n t V o l u m e   f o r   a   P e r s i s t e n t V o l u m e C l a i m .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2067"
  },
  {
    "question": "What is 6 - Volume Attributes Classes?",
    "answer": "T h i s   p a g e   a s s u m e s   t h a t   y o u   a r e   f a m i l i a r   w i t h   S t o r a g e C l a s s e s ,   v o l u m e s   a n d   P e r s i s t e n t V o l u m e s   i n   K u b e r n e t e s .   A   V o l u m e A t t r i b u t e s C l a s s   p r o v i d e s   a   w a y   f o r   a d m i n i s t r a t o r s   t o   d e s c r i b e   t h e   m u t a b l e   \" c l a s s e s \"   o f   s t o r a g e   t h e y   o f f e r .   D i f f e r e n t   c l a s s e s   m i g h t   m a p   t o   d i f f e r e n t   q u a l i t y - o f - s e r v i c e   l e v e l s .   K u b e r n e t e s   i t s e l f   i s   u n - o p i n i o n a t e d   a b o u t   w h a t   t h e s e   c l a s s e s   r e p r e s e n t .   T h i s   f e a t u r e   i s   g e n e r a l l y   a v a i l a b l e   ( G A )   a s   o f   v e r s i o n   1 . 3 4 ,   a n d   u s e r s   h a v e   t h e   o p t i o n   t o   d i s a b l e   i t .   Y o u   c a n   a l s o   o n l y   u s e   V o l u m e A t t r i b u t e s C l a s s e s   w i t h   s t o r a g e   b a c k e d   b y   C o n t a i n e r   S t o r a g e   I n t e r f a c e ,   a n d   o n l y   w h e r e   t h e   r e l e v a n t   C S I   d r i v e r   i m p l e m e n t s   t h e   M o d i f y V o l u m e   A P I .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_1_2068"
  },
  {
    "question": "What is The VolumeAttributesClass API?",
    "answer": "E a c h   V o l u m e A t t r i b u t e s C l a s s   c o n t a i n s   t h e   d r i v e r N a m e   a n d   p a r a m e t e r s ,   w h i c h   a r e   u s e d   w h e n   a   P e r s i s t e n t V o l u m e   ( P V )   b e l o n g i n g   t o   t h e   c l a s s   n e e d s   t o   b e   d y n a m i c a l l y   p r o v i s i o n e d   o r   m o d i f i e d .   T h e   n a m e   o f   a   V o l u m e A t t r i b u t e s C l a s s   o b j e c t   i s   s i g n i f i c a n t   a n d   i s   h o w   u s e r s   c a n   r e q u e s t   a   p a r t i c u l a r   c l a s s .   A d m i n i s t r a t o r s   s e t   t h e   n a m e   a n d   o t h e r   p a r a m e t e r s   o f   a   c l a s s   w h e n   f i r s t   c r e a t i n g   V o l u m e A t t r i b u t e s C l a s s   o b j e c t s .   W h i l e   t h e   n a m e   o f   a   V o l u m e A t t r i b u t e s C l a s s   o b j e c t   i n   a   P e r s i s t e n t V o l u m e C l a i m   i s   m u t a b l e ,   t h e   p a r a m e t e r s   i n   a n   e x i s t i n g   c l a s s   a r e   i m m u t a b l e .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e A t t r i b u t e s C l a s s   m e t a d a t a :   n a m e :   s i l v e r   d r i v e r N a m e :   p d . c s i . s t o r a g e . g k e . i o   p a r a m e t e r s :   p r o v i s i o n e d - i o p s :   \" 3 0 0 0 \"   p r o v i s i o n e d - t h r o u g h p u t :   \" 5 0 \"",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2069"
  },
  {
    "question": "What is Provisioner?",
    "answer": "E a c h   V o l u m e A t t r i b u t e s C l a s s   h a s   a   p r o v i s i o n e r   t h a t   d e t e r m i n e s   w h a t   v o l u m e   p l u g i n   i s   u s e d   f o r   p r o v i s i o n i n g   P V s .   T h e   f i e l d   d r i v e r N a m e   m u s t   b e   s p e c i f i e d .   T h e   f e a t u r e   s u p p o r t   f o r   V o l u m e A t t r i b u t e s C l a s s   i s   i m p l e m e n t e d   i n   k u b e r n e t e s - c s i / e x t e r n a l - p r o v i s i o n e r .   Y o u   a r e   n o t   r e s t r i c t e d   t o   s p e c i f y i n g   t h e   k u b e r n e t e s - c s i / e x t e r n a l - p r o v i s i o n e r .   Y o u   c a n   a l s o   r u n   a n d   s p e c i f y   e x t e r n a l   p r o v i s i o n e r s ,   w h i c h   a r e   i n d e p e n d e n t   p r o g r a m s   t h a t   f o l l o w   a   s p e c i f i c a t i o n   d e f i n e d   b y   K u b e r n e t e s .   A u t h o r s   o f   e x t e r n a l   p r o v i s i o n e r s   h a v e   f u l l   d i s c r e t i o n   o v e r   w h e r e   t h e i r   c o d e   l i v e s ,   h o w   t h e   p r o v i s i o n e r   i s   s h i p p e d ,   h o w   i t   n e e d s   t o   b e   r u n ,   w h a t   v o l u m e   p l u g i n   i t   u s e s ,   e t c .   T o   u n d e r s t a n d   h o w   t h e   p r o v i s i o n e r   w o r k s   w i t h   V o l u m e A t t r i b u t e s C l a s s ,   r e f e r   t o   t h e   C S I   e x t e r n a l - p r o v i s i o n e r   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2070"
  },
  {
    "question": "What is Resizer?",
    "answer": "E a c h   V o l u m e A t t r i b u t e s C l a s s   h a s   a   r e s i z e r   t h a t   d e t e r m i n e s   w h a t   v o l u m e   p l u g i n   i s   u s e d   f o r   m o d i f y i n g   P V s .   T h e   f i e l d   d r i v e r N a m e   m u s t   b e   s p e c i f i e d .   T h e   m o d i f y i n g   v o l u m e   f e a t u r e   s u p p o r t   f o r   V o l u m e A t t r i b u t e s C l a s s   i s   i m p l e m e n t e d   i n   k u b e r n e t e s - c s i / e x t e r n a l - r e s i z e r .   F o r   e x a m p l e ,   a n   e x i s t i n g   P e r s i s t e n t V o l u m e C l a i m   i s   u s i n g   a   V o l u m e A t t r i b u t e s C l a s s   n a m e d   s i l v e r :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   t e s t - p v - c l a i m   s p e c :   …   v o l u m e A t t r i b u t e s C l a s s N a m e :   s i l v e r   …   A   n e w   V o l u m e A t t r i b u t e s C l a s s   g o l d   i s   a v a i l a b l e   i n   t h e   c l u s t e r :   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e A t t r i b u t e s C l a s s   m e t a d a t a :   n a m e :   g o l d   d r i v e r N a m e :   p d . c s i . s t o r a g e . g k e . i o   p a r a m e t e r s :   i o p s :   \" 4 0 0 0 \"   t h r o u g h p u t :   \" 6 0 \"   T h e   e n d   u s e r   c a n   u p d a t e   t h e   P V C   w i t h   t h e   n e w   V o l u m e A t t r i b u t e s C l a s s   g o l d   a n d   a p p l y :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   t e s t - p v - c l a i m   s p e c :   …   v o l u m e A t t r i b u t e s C l a s s N a m e :   g o l d   …   T o   u n d e r s t a n d   h o w   t h e   r e s i z e r   w o r k s   w i t h   V o l u m e A t t r i b u t e s C l a s s ,   r e f e r   t o   t h e   C S I   e x t e r n a l - r e s i z e r   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2071"
  },
  {
    "question": "What is Parameters?",
    "answer": "V o l u m e A t t r i b u t e C l a s s e s   h a v e   p a r a m e t e r s   t h a t   d e s c r i b e   v o l u m e s   b e l o n g i n g   t o   t h e m .   D i f f e r e n t   p a r a m e t e r s   m a y   b e   a c c e p t e d   d e p e n d i n g   o n   t h e   p r o v i s i o n e r   o r   t h e   r e s i z e r .   F o r   e x a m p l e ,   t h e   v a l u e   4 0 0 0 ,   f o r   t h e   p a r a m e t e r   i o p s ,   a n d   t h e   p a r a m e t e r   t h r o u g h p u t   a r e   s p e c i f i c   t o   G C E   P D .   W h e n   a   p a r a m e t e r   i s   o m i t t e d ,   t h e   d e f a u l t   i s   u s e d   a t   v o l u m e   p r o v i s i o n i n g .   I f   a   u s e r   a p p l i e s   t h e   P V C   w i t h   a   d i f f e r e n t   V o l u m e A t t r i b u t e s C l a s s   w i t h   o m i t t e d   p a r a m e t e r s ,   t h e   d e f a u l t   v a l u e   o f   t h e   p a r a m e t e r s   m a y   b e   u s e d   d e p e n d i n g   o n   t h e   C S I   d r i v e r   i m p l e m e n t a t i o n .   P l e a s e   r e f e r   t o   t h e   r e l a t e d   C S I   d r i v e r   d o c u m e n t a t i o n   f o r   m o r e   d e t a i l s .   T h e r e   c a n   b e   a t   m o s t   5 1 2   p a r a m e t e r s   d e f i n e d   f o r   a   V o l u m e A t t r i b u t e s C l a s s .   T h e   t o t a l   l e n g t h   o f   t h e   p a r a m e t e r s   o b j e c t   i n c l u d i n g   i t s   k e y s   a n d   v a l u e s   c a n n o t   e x c e e d   2 5 6   K i B .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2072"
  },
  {
    "question": "What is 7 - Dynamic Volume Provisioning?",
    "answer": "D y n a m i c   v o l u m e   p r o v i s i o n i n g   a l l o w s   s t o r a g e   v o l u m e s   t o   b e   c r e a t e d   o n - d e m a n d .   W i t h o u t   d y n a m i c   p r o v i s i o n i n g ,   c l u s t e r   a d m i n i s t r a t o r s   h a v e   t o   m a n u a l l y   m a k e   c a l l s   t o   t h e i r   c l o u d   o r   s t o r a g e   p r o v i d e r   t o   c r e a t e   n e w   s t o r a g e   v o l u m e s ,   a n d   t h e n   c r e a t e   P e r s i s t e n t V o l u m e   o b j e c t s   t o   r e p r e s e n t   t h e m   i n   K u b e r n e t e s .   T h e   d y n a m i c   p r o v i s i o n i n g   f e a t u r e   e l i m i n a t e s   t h e   n e e d   f o r   c l u s t e r   a d m i n i s t r a t o r s   t o   p r e - p r o v i s i o n   s t o r a g e .   I n s t e a d ,   i t   a u t o m a t i c a l l y   p r o v i s i o n s   s t o r a g e   w h e n   u s e r s   c r e a t e   P e r s i s t e n t V o l u m e C l a i m   o b j e c t s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_1_2073"
  },
  {
    "question": "What is Background?",
    "answer": "T h e   i m p l e m e n t a t i o n   o f   d y n a m i c   v o l u m e   p r o v i s i o n i n g   i s   b a s e d   o n   t h e   A P I   o b j e c t   S t o r a g e C l a s s   f r o m   t h e   A P I   g r o u p   s t o r a g e . k 8 s . i o .   A   c l u s t e r   a d m i n i s t r a t o r   c a n   d e f i n e   a s   m a n y   S t o r a g e C l a s s   o b j e c t s   a s   n e e d e d ,   e a c h   s p e c i f y i n g   a   v o l u m e   p l u g i n   ( a k a   p r o v i s i o n e r )   t h a t   p r o v i s i o n s   a   v o l u m e   a n d   t h e   s e t   o f   p a r a m e t e r s   t o   p a s s   t o   t h a t   p r o v i s i o n e r   w h e n   p r o v i s i o n i n g .   A   c l u s t e r   a d m i n i s t r a t o r   c a n   d e f i n e   a n d   e x p o s e   m u l t i p l e   f l a v o r s   o f   s t o r a g e   ( f r o m   t h e   s a m e   o r   d i f f e r e n t   s t o r a g e   s y s t e m s )   w i t h i n   a   c l u s t e r ,   e a c h   w i t h   a   c u s t o m   s e t   o f   p a r a m e t e r s .   T h i s   d e s i g n   a l s o   e n s u r e s   t h a t   e n d   u s e r s   d o n ' t   h a v e   t o   w o r r y   a b o u t   t h e   c o m p l e x i t y   a n d   n u a n c e s   o f   h o w   s t o r a g e   i s   p r o v i s i o n e d ,   b u t   s t i l l   h a v e   t h e   a b i l i t y   t o   s e l e c t   f r o m   m u l t i p l e   s t o r a g e   o p t i o n s .   M o r e   i n f o r m a t i o n   o n   s t o r a g e   c l a s s e s   c a n   b e   f o u n d   h e r e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2074"
  },
  {
    "question": "What is Enabling Dynamic Provisioning?",
    "answer": "T o   e n a b l e   d y n a m i c   p r o v i s i o n i n g ,   a   c l u s t e r   a d m i n i s t r a t o r   n e e d s   t o   p r e - c r e a t e   o n e   o r   m o r e   S t o r a g e C l a s s   o b j e c t s   f o r   u s e r s .   S t o r a g e C l a s s   o b j e c t s   d e f i n e   w h i c h   p r o v i s i o n e r   s h o u l d   b e   u s e d   a n d   w h a t   p a r a m e t e r s   s h o u l d   b e   p a s s e d   t o   t h a t   p r o v i s i o n e r   w h e n   d y n a m i c   p r o v i s i o n i n g   i s   i n v o k e d .   T h e   n a m e   o f   a   S t o r a g e C l a s s   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   T h e   f o l l o w i n g   m a n i f e s t   c r e a t e s   a   s t o r a g e   c l a s s   \" s l o w \"   w h i c h   p r o v i s i o n s   s t a n d a r d   d i s k - l i k e   p e r s i s t e n t   d i s k s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   s l o w   p r o v i s i o n e r :   k u b e r n e t e s . i o / g c e - p d   p a r a m e t e r s :   t y p e :   p d - s t a n d a r d   T h e   f o l l o w i n g   m a n i f e s t   c r e a t e s   a   s t o r a g e   c l a s s   \" f a s t \"   w h i c h   p r o v i s i o n s   S S D - l i k e   p e r s i s t e n t   d i s k s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   f a s t   p r o v i s i o n e r :   k u b e r n e t e s . i o / g c e - p d   p a r a m e t e r s :   t y p e :   p d - s s d",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2075"
  },
  {
    "question": "What is Using Dynamic Provisioning?",
    "answer": "U s e r s   r e q u e s t   d y n a m i c a l l y   p r o v i s i o n e d   s t o r a g e   b y   i n c l u d i n g   a   s t o r a g e   c l a s s   i n   t h e i r   P e r s i s t e n t V o l u m e C l a i m .   B e f o r e   K u b e r n e t e s   v 1 . 6 ,   t h i s   w a s   d o n e   v i a   t h e   v o l u m e . b e t a . k u b e r n e t e s . i o / s t o r a g e - c l a s s   a n n o t a t i o n .   H o w e v e r ,   t h i s   a n n o t a t i o n   i s   d e p r e c a t e d   s i n c e   v 1 . 9 .   U s e r s   n o w   c a n   a n d   s h o u l d   i n s t e a d   u s e   t h e   s t o r a g e C l a s s N a m e   f i e l d   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   o b j e c t .   T h e   v a l u e   o f   t h i s   f i e l d   m u s t   m a t c h   t h e   n a m e   o f   a   S t o r a g e C l a s s   c o n f i g u r e d   b y   t h e   a d m i n i s t r a t o r   ( s e e   b e l o w ) .   T o   s e l e c t   t h e   \" f a s t \"   s t o r a g e   c l a s s ,   f o r   e x a m p l e ,   a   u s e r   w o u l d   c r e a t e   t h e   f o l l o w i n g   P e r s i s t e n t V o l u m e C l a i m :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   c l a i m 1   s p e c :   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   s t o r a g e C l a s s N a m e :   f a s t   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   3 0 G i   T h i s   c l a i m   r e s u l t s   i n   a n   S S D - l i k e   P e r s i s t e n t   D i s k   b e i n g   a u t o m a t i c a l l y   p r o v i s i o n e d .   W h e n   t h e   c l a i m   i s   d e l e t e d ,   t h e   v o l u m e   i s   d e s t r o y e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2076"
  },
  {
    "question": "What is Defaulting Behavior?",
    "answer": "D y n a m i c   p r o v i s i o n i n g   c a n   b e   e n a b l e d   o n   a   c l u s t e r   s u c h   t h a t   a l l   c l a i m s   a r e   d y n a m i c a l l y   p r o v i s i o n e d   i f   n o   s t o r a g e   c l a s s   i s   s p e c i f i e d .   A   c l u s t e r   a d m i n i s t r a t o r   c a n   e n a b l e   t h i s   b e h a v i o r   b y :   M a r k i n g   o n e   S t o r a g e C l a s s   o b j e c t   a s   d e f a u l t ; M a k i n g   s u r e   t h a t   t h e   D e f a u l t S t o r a g e C l a s s   a d m i s s i o n   c o n t r o l l e r   i s   e n a b l e d   o n   t h e   A P I   s e r v e r .   A n   a d m i n i s t r a t o r   c a n   m a r k   a   s p e c i f i c   S t o r a g e C l a s s   a s   d e f a u l t   b y   a d d i n g   t h e   s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s   a n n o t a t i o n   t o   i t .   W h e n   a   d e f a u l t   S t o r a g e C l a s s   e x i s t s   i n   a   c l u s t e r   a n d   a   u s e r   c r e a t e s   a   P e r s i s t e n t V o l u m e C l a i m   w i t h   s t o r a g e C l a s s N a m e   u n s p e c i f i e d ,   t h e   D e f a u l t S t o r a g e C l a s s   a d m i s s i o n   c o n t r o l l e r   a u t o m a t i c a l l y   a d d s   t h e   s t o r a g e C l a s s N a m e   f i e l d   p o i n t i n g   t o   t h e   d e f a u l t   s t o r a g e   c l a s s .   N o t e   t h a t   i f   y o u   s e t   t h e   s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s   a n n o t a t i o n   t o   t r u e   o n   m o r e   t h a n   o n e   S t o r a g e C l a s s   i n   y o u r   c l u s t e r ,   a n d   y o u   t h e n   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   w i t h   n o   s t o r a g e C l a s s N a m e   s e t ,   K u b e r n e t e s   u s e s   t h e   m o s t   r e c e n t l y   c r e a t e d   d e f a u l t   S t o r a g e C l a s s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2077"
  },
  {
    "question": "What is Topology Awareness?",
    "answer": "I n   M u l t i - Z o n e   c l u s t e r s ,   P o d s   c a n   b e   s p r e a d   a c r o s s   Z o n e s   i n   a   R e g i o n .   S i n g l e - Z o n e   s t o r a g e   b a c k e n d s   s h o u l d   b e   p r o v i s i o n e d   i n   t h e   Z o n e s   w h e r e   P o d s   a r e   s c h e d u l e d .   T h i s   c a n   b e   a c c o m p l i s h e d   b y   s e t t i n g   t h e   V o l u m e   B i n d i n g   M o d e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2078"
  },
  {
    "question": "What is 8 - Volume Snapshots?",
    "answer": "I n   K u b e r n e t e s ,   a   V o l u m e S n a p s h o t   r e p r e s e n t s   a   s n a p s h o t   o f   a   v o l u m e   o n   a   s t o r a g e   s y s t e m .   T h i s   d o c u m e n t   a s s u m e s   t h a t   y o u   a r e   a l r e a d y   f a m i l i a r   w i t h   K u b e r n e t e s   p e r s i s t e n t   v o l u m e s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_1_2079"
  },
  {
    "question": "What is Introduction?",
    "answer": "S i m i l a r   t o   h o w   A P I   r e s o u r c e s   P e r s i s t e n t V o l u m e   a n d   P e r s i s t e n t V o l u m e C l a i m   a r e   u s e d   t o   p r o v i s i o n   v o l u m e s   f o r   u s e r s   a n d   a d m i n i s t r a t o r s ,   V o l u m e S n a p s h o t C o n t e n t   a n d   V o l u m e S n a p s h o t   A P I   r e s o u r c e s   a r e   p r o v i d e d   t o   c r e a t e   v o l u m e   s n a p s h o t s   f o r   u s e r s   a n d   a d m i n i s t r a t o r s .   A   V o l u m e S n a p s h o t C o n t e n t   i s   a   s n a p s h o t   t a k e n   f r o m   a   v o l u m e   i n   t h e   c l u s t e r   t h a t   h a s   b e e n   p r o v i s i o n e d   b y   a n   a d m i n i s t r a t o r .   I t   i s   a   r e s o u r c e   i n   t h e   c l u s t e r   j u s t   l i k e   a   P e r s i s t e n t V o l u m e   i s   a   c l u s t e r   r e s o u r c e .   A   V o l u m e S n a p s h o t   i s   a   r e q u e s t   f o r   s n a p s h o t   o f   a   v o l u m e   b y   a   u s e r .   I t   i s   s i m i l a r   t o   a   P e r s i s t e n t V o l u m e C l a i m .   V o l u m e S n a p s h o t C l a s s   a l l o w s   y o u   t o   s p e c i f y   d i f f e r e n t   a t t r i b u t e s   b e l o n g i n g   t o   a   V o l u m e S n a p s h o t .   T h e s e   a t t r i b u t e s   m a y   d i f f e r   a m o n g   s n a p s h o t s   t a k e n   f r o m   t h e   s a m e   v o l u m e   o n   t h e   s t o r a g e   s y s t e m   a n d   t h e r e f o r e   c a n n o t   b e   e x p r e s s e d   b y   u s i n g   t h e   s a m e   S t o r a g e C l a s s   o f   a   P e r s i s t e n t V o l u m e C l a i m .   V o l u m e   s n a p s h o t s   p r o v i d e   K u b e r n e t e s   u s e r s   w i t h   a   s t a n d a r d i z e d   w a y   t o   c o p y   a   v o l u m e ' s   c o n t e n t s   a t   a   p a r t i c u l a r   p o i n t   i n   t i m e   w i t h o u t   c r e a t i n g   a n   e n t i r e l ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2080"
  },
  {
    "question": "What is Lifecycle of a volume snapshot and volume snapshot content?",
    "answer": "V o l u m e S n a p s h o t C o n t e n t s   a r e   r e s o u r c e s   i n   t h e   c l u s t e r .   V o l u m e S n a p s h o t s   a r e   r e q u e s t s   f o r   t h o s e   r e s o u r c e s .   T h e   i n t e r a c t i o n   b e t w e e n   V o l u m e S n a p s h o t C o n t e n t s   a n d   V o l u m e S n a p s h o t s   f o l l o w   t h i s   l i f e c y c l e :",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2081"
  },
  {
    "question": "What is Provisioning Volume Snapshot?",
    "answer": "T h e r e   a r e   t w o   w a y s   s n a p s h o t s   m a y   b e   p r o v i s i o n e d :   p r e - p r o v i s i o n e d   o r   d y n a m i c a l l y   p r o v i s i o n e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2082"
  },
  {
    "question": "What is Pre-provisioned?",
    "answer": "A   c l u s t e r   a d m i n i s t r a t o r   c r e a t e s   a   n u m b e r   o f   V o l u m e S n a p s h o t C o n t e n t s .   T h e y   c a r r y   t h e   d e t a i l s   o f   t h e   r e a l   v o l u m e   s n a p s h o t   o n   t h e   s t o r a g e   s y s t e m   w h i c h   i s   a v a i l a b l e   f o r   u s e   b y   c l u s t e r   u s e r s .   T h e y   e x i s t   i n   t h e   K u b e r n e t e s   A P I   a n d   a r e   a v a i l a b l e   f o r   c o n s u m p t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_2083"
  },
  {
    "question": "What is Dynamic?",
    "answer": "I n s t e a d   o f   u s i n g   a   p r e - e x i s t i n g   s n a p s h o t ,   y o u   c a n   r e q u e s t   t h a t   a   s n a p s h o t   t o   b e   d y n a m i c a l l y   t a k e n   f r o m   a   P e r s i s t e n t V o l u m e C l a i m .   T h e   V o l u m e S n a p s h o t C l a s s   s p e c i f i e s   s t o r a g e   p r o v i d e r - s p e c i f i c   p a r a m e t e r s   t o   u s e   w h e n   t a k i n g   a   s n a p s h o t .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_2084"
  },
  {
    "question": "What is Binding?",
    "answer": "T h e   s n a p s h o t   c o n t r o l l e r   h a n d l e s   t h e   b i n d i n g   o f   a   V o l u m e S n a p s h o t   o b j e c t   w i t h   a n   a p p r o p r i a t e   V o l u m e S n a p s h o t C o n t e n t   o b j e c t ,   i n   b o t h   p r e - p r o v i s i o n e d   a n d   d y n a m i c a l l y   p r o v i s i o n e d   s c e n a r i o s .   T h e   b i n d i n g   i s   a   o n e - t o - o n e   m a p p i n g .   I n   t h e   c a s e   o f   p r e - p r o v i s i o n e d   b i n d i n g ,   t h e   V o l u m e S n a p s h o t   w i l l   r e m a i n   u n b o u n d   u n t i l   t h e   r e q u e s t e d   V o l u m e S n a p s h o t C o n t e n t   o b j e c t   i s   c r e a t e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2085"
  },
  {
    "question": "What is Persistent Volume Claim as Snapshot Source Protection?",
    "answer": "T h e   p u r p o s e   o f   t h i s   p r o t e c t i o n   i s   t o   e n s u r e   t h a t   i n - u s e   P e r s i s t e n t V o l u m e C l a i m   A P I   o b j e c t s   a r e   n o t   r e m o v e d   f r o m   t h e   s y s t e m   w h i l e   a   s n a p s h o t   i s   b e i n g   t a k e n   f r o m   i t   ( a s   t h i s   m a y   r e s u l t   i n   d a t a   l o s s ) .   W h i l e   a   s n a p s h o t   i s   b e i n g   t a k e n   o f   a   P e r s i s t e n t V o l u m e C l a i m ,   t h a t   P e r s i s t e n t V o l u m e C l a i m   i s   i n - u s e .   I f   y o u   d e l e t e   a   P e r s i s t e n t V o l u m e C l a i m   A P I   o b j e c t   i n   a c t i v e   u s e   a s   a   s n a p s h o t   s o u r c e ,   t h e   P e r s i s t e n t V o l u m e C l a i m   o b j e c t   i s   n o t   r e m o v e d   i m m e d i a t e l y .   I n s t e a d ,   r e m o v a l   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   o b j e c t   i s   p o s t p o n e d   u n t i l   t h e   s n a p s h o t   i s   r e a d y T o U s e   o r   a b o r t e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2086"
  },
  {
    "question": "What is Delete?",
    "answer": "D e l e t i o n   i s   t r i g g e r e d   b y   d e l e t i n g   t h e   V o l u m e S n a p s h o t   o b j e c t ,   a n d   t h e   D e l e t i o n P o l i c y   w i l l   b e   f o l l o w e d .   I f   t h e   D e l e t i o n P o l i c y   i s   D e l e t e ,   t h e n   t h e   u n d e r l y i n g   s t o r a g e   s n a p s h o t   w i l l   b e   d e l e t e d   a l o n g   w i t h   t h e   V o l u m e S n a p s h o t C o n t e n t   o b j e c t .   I f   t h e   D e l e t i o n P o l i c y   i s   R e t a i n ,   t h e n   b o t h   t h e   u n d e r l y i n g   s n a p s h o t   a n d   V o l u m e S n a p s h o t C o n t e n t   r e m a i n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2087"
  },
  {
    "question": "What is VolumeSnapshots?",
    "answer": "E a c h   V o l u m e S n a p s h o t   c o n t a i n s   a   s p e c   a n d   a   s t a t u s .   a p i V e r s i o n :   s n a p s h o t . s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e S n a p s h o t   m e t a d a t a :   n a m e :   n e w - s n a p s h o t - t e s t   s p e c :   v o l u m e S n a p s h o t C l a s s N a m e :   c s i - h o s t p a t h - s n a p c l a s s   s o u r c e :   p e r s i s t e n t V o l u m e C l a i m N a m e :   p v c - t e s t   p e r s i s t e n t V o l u m e C l a i m N a m e   i s   t h e   n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   d a t a   s o u r c e   f o r   t h e   s n a p s h o t .   T h i s   f i e l d   i s   r e q u i r e d   f o r   d y n a m i c a l l y   p r o v i s i o n i n g   a   s n a p s h o t .   A   v o l u m e   s n a p s h o t   c a n   r e q u e s t   a   p a r t i c u l a r   c l a s s   b y   s p e c i f y i n g   t h e   n a m e   o f   a   V o l u m e S n a p s h o t C l a s s   u s i n g   t h e   a t t r i b u t e   v o l u m e S n a p s h o t C l a s s N a m e .   I f   n o t h i n g   i s   s e t ,   t h e n   t h e   d e f a u l t   c l a s s   i s   u s e d   i f   a v a i l a b l e .   F o r   p r e - p r o v i s i o n e d   s n a p s h o t s ,   y o u   n e e d   t o   s p e c i f y   a   v o l u m e S n a p s h o t C o n t e n t N a m e   a s   t h e   s o u r c e   f o r   t h e   s n a p s h o t   a s   s h o w n   i n   t h e   f o l l o w i n g   e x a m p l e .   T h e   v o l u m e S n a p s h o t C o n t e n t N a m e   s o u r c e   f i e l d   i s   r e q u i r e d   f o r   p r e - p r o v i s i o n e d   s n a p s h o t s .   a p i V e r s i o n :   s n a p s h o t . s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e S n a p s h o t   m e t a d a t a :   n a m e :   t e s t - s n a p s h o t   s p e c :   s o u r c e :   v o l u m e S n a p s h o t C o n t e n t N a m e :   t e s t - c o n t e n t",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2088"
  },
  {
    "question": "What is Volume Snapshot Contents?",
    "answer": "E a c h   V o l u m e S n a p s h o t C o n t e n t   c o n t a i n s   a   s p e c   a n d   s t a t u s .   I n   d y n a m i c   p r o v i s i o n i n g ,   t h e   s n a p s h o t   c o m m o n   c o n t r o l l e r   c r e a t e s   V o l u m e S n a p s h o t C o n t e n t   o b j e c t s .   H e r e   i s   a n   e x a m p l e :   a p i V e r s i o n :   s n a p s h o t . s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e S n a p s h o t C o n t e n t   m e t a d a t a :   n a m e :   s n a p c o n t e n t - 7 2 d 9 a 3 4 9 - a a c d - 4 2 d 2 - a 2 4 0 - d 7 7 5 6 5 0 d 2 4 5 5   s p e c :   d e l e t i o n P o l i c y :   D e l e t e   d r i v e r :   h o s t p a t h . c s i . k 8 s . i o   s o u r c e :   v o l u m e H a n d l e :   e e 0 c f b 9 4 - f 8 d 4 - 1 1 e 9 - b 2 d 8 - 0 2 4 2 a c 1 1 0 0 0 2   s o u r c e V o l u m e M o d e :   F i l e s y s t e m   v o l u m e S n a p s h o t C l a s s N a m e :   c s i - h o s t p a t h - s n a p c l a s s   v o l u m e S n a p s h o t R e f :   n a m e :   n e w - s n a p s h o t - t e s t   n a m e s p a c e :   d e f a u l t   u i d :   7 2 d 9 a 3 4 9 - a a c d - 4 2 d 2 - a 2 4 0 - d 7 7 5 6 5 0 d 2 4 5 5   v o l u m e H a n d l e   i s   t h e   u n i q u e   i d e n t i f i e r   o f   t h e   v o l u m e   c r e a t e d   o n   t h e   s t o r a g e   b a c k e n d   a n d   r e t u r n e d   b y   t h e   C S I   d r i v e r   d u r i n g   t h e   v o l u m e   c r e a t i o n .   T h i s   f i e l d   i s   r e q u i r e d   f o r   d y n a m i c a l l y   p r o v i s i o n i n g   a   s n a p s h o t .   I t   s p e c i f i e s   t h e   v o l u m e   s o u r c e   o f   t h e   s n a p s h o t .   F o r   p r e - p r o v i s i o n e d   s n a p s h o t s ,   y o u   ( a s   c l u s t e r   a d m i n i s t r a t o r )   a r e   r e s p o n s i b l e   f o r   c r e a t i n g   t h e   V o l u m e S n a p s h o t C o n t e n t   o b j e c t   a s   f o l l o w s .   a p i V e r s i o n : ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2089"
  },
  {
    "question": "What is Converting the volume mode of a Snapshot?",
    "answer": "I f   t h e   V o l u m e S n a p s h o t s   A P I   i n s t a l l e d   o n   y o u r   c l u s t e r   s u p p o r t s   t h e   s o u r c e V o l u m e M o d e   f i e l d ,   t h e n   t h e   A P I   h a s   t h e   c a p a b i l i t y   t o   p r e v e n t   u n a u t h o r i z e d   u s e r s   f r o m   c o n v e r t i n g   t h e   m o d e   o f   a   v o l u m e .   T o   c h e c k   i f   y o u r   c l u s t e r   h a s   c a p a b i l i t y   f o r   t h i s   f e a t u r e ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   $   k u b e c t l   g e t   c r d   v o l u m e s n a p s h o t c o n t e n t   - o   y a m l   I f   y o u   w a n t   t o   a l l o w   u s e r s   t o   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   f r o m   a n   e x i s t i n g   V o l u m e S n a p s h o t ,   b u t   w i t h   a   d i f f e r e n t   v o l u m e   m o d e   t h a n   t h e   s o u r c e ,   t h e   a n n o t a t i o n   s n a p s h o t . s t o r a g e . k u b e r n e t e s . i o / a l l o w - v o l u m e - m o d e - c h a n g e :   \" t r u e \" n e e d s   t o   b e   a d d e d   t o   t h e   V o l u m e S n a p s h o t C o n t e n t   t h a t   c o r r e s p o n d s   t o   t h e   V o l u m e S n a p s h o t .   F o r   p r e - p r o v i s i o n e d   s n a p s h o t s ,   s p e c . s o u r c e V o l u m e M o d e   n e e d s   t o   b e   p o p u l a t e d   b y   t h e   c l u s t e r   a d m i n i s t r a t o r .   A n   e x a m p l e   V o l u m e S n a p s h o t C o n t e n t   r e s o u r c e   w i t h   t h i s   f e a t u r e   e n a b l e d   w o u l d   l o o k   l i k e :   a p i V e r s i o n :   s n a p s h o t . s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e S n a p s h o t C o n t e n t   m e t a d a t a :   n a m e :   n e w - s n a p s h o t - c o n t e n t - t e s t   a n n o t a t i o n s :   -   s n a p s h o t . s t o r a g e . k u b e r n e t e s . i o / a l l o w - v o l u m e - m o d e - c h a n g ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2090"
  },
  {
    "question": "What is Provisioning Volumes from Snapshots?",
    "answer": "Y o u   c a n   p r o v i s i o n   a   n e w   v o l u m e ,   p r e - p o p u l a t e d   w i t h   d a t a   f r o m   a   s n a p s h o t ,   b y   u s i n g   t h e   d a t a S o u r c e   f i e l d   i n   t h e   P e r s i s t e n t V o l u m e C l a i m   o b j e c t .   F o r   m o r e   d e t a i l s ,   s e e   V o l u m e   S n a p s h o t   a n d   R e s t o r e   V o l u m e   f r o m   S n a p s h o t .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2091"
  },
  {
    "question": "What is 9 - Volume Snapshot Classes?",
    "answer": "T h i s   d o c u m e n t   d e s c r i b e s   t h e   c o n c e p t   o f   V o l u m e S n a p s h o t C l a s s   i n   K u b e r n e t e s .   F a m i l i a r i t y   w i t h   v o l u m e   s n a p s h o t s   a n d   s t o r a g e   c l a s s e s   i s   s u g g e s t e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_1_2092"
  },
  {
    "question": "What is Introduction?",
    "answer": "J u s t   l i k e   S t o r a g e C l a s s   p r o v i d e s   a   w a y   f o r   a d m i n i s t r a t o r s   t o   d e s c r i b e   t h e   \" c l a s s e s \"   o f   s t o r a g e   t h e y   o f f e r   w h e n   p r o v i s i o n i n g   a   v o l u m e ,   V o l u m e S n a p s h o t C l a s s   p r o v i d e s   a   w a y   t o   d e s c r i b e   t h e   \" c l a s s e s \"   o f   s t o r a g e   w h e n   p r o v i s i o n i n g   a   v o l u m e   s n a p s h o t .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2093"
  },
  {
    "question": "What is The VolumeSnapshotClass Resource?",
    "answer": "E a c h   V o l u m e S n a p s h o t C l a s s   c o n t a i n s   t h e   f i e l d s   d r i v e r ,   d e l e t i o n P o l i c y ,   a n d   p a r a m e t e r s ,   w h i c h   a r e   u s e d   w h e n   a   V o l u m e S n a p s h o t   b e l o n g i n g   t o   t h e   c l a s s   n e e d s   t o   b e   d y n a m i c a l l y   p r o v i s i o n e d .   T h e   n a m e   o f   a   V o l u m e S n a p s h o t C l a s s   o b j e c t   i s   s i g n i f i c a n t ,   a n d   i s   h o w   u s e r s   c a n   r e q u e s t   a   p a r t i c u l a r   c l a s s .   A d m i n i s t r a t o r s   s e t   t h e   n a m e   a n d   o t h e r   p a r a m e t e r s   o f   a   c l a s s   w h e n   f i r s t   c r e a t i n g   V o l u m e S n a p s h o t C l a s s   o b j e c t s ,   a n d   t h e   o b j e c t s   c a n n o t   b e   u p d a t e d   o n c e   t h e y   a r e   c r e a t e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2094"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i V e r s i o n :   s n a p s h o t . s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e S n a p s h o t C l a s s   m e t a d a t a :   n a m e :   c s i - h o s t p a t h - s n a p c l a s s   d r i v e r :   h o s t p a t h . c s i . k 8 s . i o   d e l e t i o n P o l i c y :   D e l e t e   p a r a m e t e r s :   A d m i n i s t r a t o r s   c a n   s p e c i f y   a   d e f a u l t   V o l u m e S n a p s h o t C l a s s   f o r   V o l u m e S n a p s h o t s   t h a t   d o n ' t   r e q u e s t   a n y   p a r t i c u l a r   c l a s s   t o   b i n d   t o   b y   a d d i n g   t h e   s n a p s h o t . s t o r a g e . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s :   \" t r u e \"   a n n o t a t i o n :   a p i V e r s i o n :   s n a p s h o t . s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e S n a p s h o t C l a s s   m e t a d a t a :   n a m e :   c s i - h o s t p a t h - s n a p c l a s s   a n n o t a t i o n s :   s n a p s h o t . s t o r a g e . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s :   \" t r u e \"   d r i v e r :   h o s t p a t h . c s i . k 8 s . i o   d e l e t i o n P o l i c y :   D e l e t e   p a r a m e t e r s :   I f   m u l t i p l e   C S I   d r i v e r s   e x i s t ,   a   d e f a u l t   V o l u m e S n a p s h o t C l a s s   c a n   b e   s p e c i f i e d   f o r   e a c h   o f   t h e m .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_2095"
  },
  {
    "question": "What is VolumeSnapshotClass dependencies?",
    "answer": "W h e n   y o u   c r e a t e   a   V o l u m e S n a p s h o t   w i t h o u t   s p e c i f y i n g   a   V o l u m e S n a p s h o t C l a s s ,   K u b e r n e t e s   a u t o m a t i c a l l y   s e l e c t s   a   d e f a u l t   V o l u m e S n a p s h o t C l a s s   t h a t   h a s   a   C S I   d r i v e r   m a t c h i n g   t h e   C S I   d r i v e r   o f   t h e   P V C ’ s   S t o r a g e C l a s s .   T h i s   b e h a v i o r   a l l o w s   m u l t i p l e   d e f a u l t   V o l u m e S n a p s h o t C l a s s   o b j e c t s   t o   c o e x i s t   i n   a   c l u s t e r ,   a s   l o n g   a s   e a c h   o n e   i s   a s s o c i a t e d   w i t h   a   u n i q u e   C S I   d r i v e r .   A l w a y s   e n s u r e   t h a t   t h e r e   i s   o n l y   o n e   d e f a u l t   V o l u m e S n a p s h o t C l a s s   f o r   e a c h   C S I   d r i v e r .   I f   m u l t i p l e   d e f a u l t   V o l u m e S n a p s h o t C l a s s   o b j e c t s   a r e   c r e a t e d   u s i n g   t h e   s a m e   C S I   d r i v e r ,   a   V o l u m e S n a p s h o t   c r e a t i o n   w i l l   f a i l   b e c a u s e   K u b e r n e t e s   c a n n o t   d e t e r m i n e   w h i c h   o n e   t o   u s e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2096"
  },
  {
    "question": "What is Driver?",
    "answer": "V o l u m e   s n a p s h o t   c l a s s e s   h a v e   a   d r i v e r   t h a t   d e t e r m i n e s   w h a t   C S I   v o l u m e   p l u g i n   i s   u s e d   f o r   p r o v i s i o n i n g   V o l u m e S n a p s h o t s .   T h i s   f i e l d   m u s t   b e   s p e c i f i e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2097"
  },
  {
    "question": "What is DeletionPolicy?",
    "answer": "V o l u m e   s n a p s h o t   c l a s s e s   h a v e   a   d e l e t i o n P o l i c y .   I t   e n a b l e s   y o u   t o   c o n f i g u r e   w h a t   h a p p e n s   t o   a   V o l u m e S n a p s h o t C o n t e n t   w h e n   t h e   V o l u m e S n a p s h o t   o b j e c t   i t   i s   b o u n d   t o   i s   t o   b e   d e l e t e d .   T h e   d e l e t i o n P o l i c y   o f   a   v o l u m e   s n a p s h o t   c l a s s   c a n   e i t h e r   b e   R e t a i n   o r   D e l e t e .   T h i s   f i e l d   m u s t   b e   s p e c i f i e d .   I f   t h e   d e l e t i o n P o l i c y   i s   D e l e t e ,   t h e n   t h e   u n d e r l y i n g   s t o r a g e   s n a p s h o t   w i l l   b e   d e l e t e d   a l o n g   w i t h   t h e   V o l u m e S n a p s h o t C o n t e n t   o b j e c t .   I f   t h e   d e l e t i o n P o l i c y   i s   R e t a i n ,   t h e n   b o t h   t h e   u n d e r l y i n g   s n a p s h o t   a n d   V o l u m e S n a p s h o t C o n t e n t   r e m a i n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2098"
  },
  {
    "question": "What is Parameters?",
    "answer": "V o l u m e   s n a p s h o t   c l a s s e s   h a v e   p a r a m e t e r s   t h a t   d e s c r i b e   v o l u m e   s n a p s h o t s   b e l o n g i n g   t o   t h e   v o l u m e   s n a p s h o t   c l a s s .   D i f f e r e n t   p a r a m e t e r s   m a y   b e   a c c e p t e d   d e p e n d i n g   o n   t h e   d r i v e r .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2099"
  },
  {
    "question": "What is 10 - CSI Volume Cloning?",
    "answer": "T h i s   d o c u m e n t   d e s c r i b e s   t h e   c o n c e p t   o f   c l o n i n g   e x i s t i n g   C S I   V o l u m e s   i n   K u b e r n e t e s .   F a m i l i a r i t y   w i t h   V o l u m e s   i s   s u g g e s t e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_1_2100"
  },
  {
    "question": "What is Introduction?",
    "answer": "T h e   C S I   V o l u m e   C l o n i n g   f e a t u r e   a d d s   s u p p o r t   f o r   s p e c i f y i n g   e x i s t i n g   P V C s   i n   t h e   d a t a S o u r c e   f i e l d   t o   i n d i c a t e   a   u s e r   w o u l d   l i k e   t o   c l o n e   a   V o l u m e .   A   C l o n e   i s   d e f i n e d   a s   a   d u p l i c a t e   o f   a n   e x i s t i n g   K u b e r n e t e s   V o l u m e   t h a t   c a n   b e   c o n s u m e d   a s   a n y   s t a n d a r d   V o l u m e   w o u l d   b e .   T h e   o n l y   d i f f e r e n c e   i s   t h a t   u p o n   p r o v i s i o n i n g ,   r a t h e r   t h a n   c r e a t i n g   a   \" n e w \"   e m p t y   V o l u m e ,   t h e   b a c k   e n d   d e v i c e   c r e a t e s   a n   e x a c t   d u p l i c a t e   o f   t h e   s p e c i f i e d   V o l u m e .   T h e   i m p l e m e n t a t i o n   o f   c l o n i n g ,   f r o m   t h e   p e r s p e c t i v e   o f   t h e   K u b e r n e t e s   A P I ,   a d d s   t h e   a b i l i t y   t o   s p e c i f y   a n   e x i s t i n g   P V C   a s   a   d a t a S o u r c e   d u r i n g   n e w   P V C   c r e a t i o n .   T h e   s o u r c e   P V C   m u s t   b e   b o u n d   a n d   a v a i l a b l e   ( n o t   i n   u s e ) .   U s e r s   n e e d   t o   b e   a w a r e   o f   t h e   f o l l o w i n g   w h e n   u s i n g   t h i s   f e a t u r e :   C l o n i n g   s u p p o r t   ( V o l u m e P V C D a t a S o u r c e )   i s   o n l y   a v a i l a b l e   f o r   C S I   d r i v e r s . C l o n i n g   s u p p o r t   i s   o n l y   a v a i l a b l e   f o r   d y n a m i c   p r o v i s i o n e r s . C S I   d r i v e r s   m a y   o r   m a y   n o t   h a v e   i m p l e m e n t e d   t h e   v o l u m e   c l o n i n g   f u n c t i o n a l i t y . Y o u   c a n   o n l y   c l o n e   a   P V C   w h e n   i t   e x i s t s   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   d e s t i n a t i o n   ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2101"
  },
  {
    "question": "What is Provisioning?",
    "answer": "C l o n e s   a r e   p r o v i s i o n e d   l i k e   a n y   o t h e r   P V C   w i t h   t h e   e x c e p t i o n   o f   a d d i n g   a   d a t a S o u r c e   t h a t   r e f e r e n c e s   a n   e x i s t i n g   P V C   i n   t h e   s a m e   n a m e s p a c e .   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   c l o n e - o f - p v c - 1   n a m e s p a c e :   m y n s   s p e c :   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   s t o r a g e C l a s s N a m e :   c l o n i n g   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   5 G i   d a t a S o u r c e :   k i n d :   P e r s i s t e n t V o l u m e C l a i m   n a m e :   p v c - 1",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2102"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   r e s u l t   i s   a   n e w   P V C   w i t h   t h e   n a m e   c l o n e - o f - p v c - 1   t h a t   h a s   t h e   e x a c t   s a m e   c o n t e n t   a s   t h e   s p e c i f i e d   s o u r c e   p v c - 1 .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_2103"
  },
  {
    "question": "What is Usage?",
    "answer": "U p o n   a v a i l a b i l i t y   o f   t h e   n e w   P V C ,   t h e   c l o n e d   P V C   i s   c o n s u m e d   t h e   s a m e   a s   o t h e r   P V C .   I t ' s   a l s o   e x p e c t e d   a t   t h i s   p o i n t   t h a t   t h e   n e w l y   c r e a t e d   P V C   i s   a n   i n d e p e n d e n t   o b j e c t .   I t   c a n   b e   c o n s u m e d ,   c l o n e d ,   s n a p s h o t t e d ,   o r   d e l e t e d   i n d e p e n d e n t l y   a n d   w i t h o u t   c o n s i d e r a t i o n   f o r   i t ' s   o r i g i n a l   d a t a S o u r c e   P V C .   T h i s   a l s o   i m p l i e s   t h a t   t h e   s o u r c e   i s   n o t   l i n k e d   i n   a n y   w a y   t o   t h e   n e w l y   c r e a t e d   c l o n e ,   i t   m a y   a l s o   b e   m o d i f i e d   o r   d e l e t e d   w i t h o u t   a f f e c t i n g   t h e   n e w l y   c r e a t e d   c l o n e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2104"
  },
  {
    "question": "What is 11 - Storage Capacity?",
    "answer": "S t o r a g e   c a p a c i t y   i s   l i m i t e d   a n d   m a y   v a r y   d e p e n d i n g   o n   t h e   n o d e   o n   w h i c h   a   p o d   r u n s :   n e t w o r k - a t t a c h e d   s t o r a g e   m i g h t   n o t   b e   a c c e s s i b l e   b y   a l l   n o d e s ,   o r   s t o r a g e   i s   l o c a l   t o   a   n o d e   t o   b e g i n   w i t h .   T h i s   p a g e   d e s c r i b e s   h o w   K u b e r n e t e s   k e e p s   t r a c k   o f   s t o r a g e   c a p a c i t y   a n d   h o w   t h e   s c h e d u l e r   u s e s   t h a t   i n f o r m a t i o n   t o   s c h e d u l e   P o d s   o n t o   n o d e s   t h a t   h a v e   a c c e s s   t o   e n o u g h   s t o r a g e   c a p a c i t y   f o r   t h e   r e m a i n i n g   m i s s i n g   v o l u m e s .   W i t h o u t   s t o r a g e   c a p a c i t y   t r a c k i n g ,   t h e   s c h e d u l e r   m a y   c h o o s e   a   n o d e   t h a t   d o e s n ' t   h a v e   e n o u g h   c a p a c i t y   t o   p r o v i s i o n   a   v o l u m e   a n d   m u l t i p l e   s c h e d u l i n g   r e t r i e s   w i l l   b e   n e e d e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_1_2105"
  },
  {
    "question": "What is Before you begin?",
    "answer": "K u b e r n e t e s   v 1 . 3 4   i n c l u d e s   c l u s t e r - l e v e l   A P I   s u p p o r t   f o r   s t o r a g e   c a p a c i t y   t r a c k i n g .   T o   u s e   t h i s   y o u   m u s t   a l s o   b e   u s i n g   a   C S I   d r i v e r   t h a t   s u p p o r t s   c a p a c i t y   t r a c k i n g .   C o n s u l t   t h e   d o c u m e n t a t i o n   f o r   t h e   C S I   d r i v e r s   t h a t   y o u   u s e   t o   f i n d   o u t   w h e t h e r   t h i s   s u p p o r t   i s   a v a i l a b l e   a n d ,   i f   s o ,   h o w   t o   u s e   i t .   I f   y o u   a r e   n o t   r u n n i n g   K u b e r n e t e s   v 1 . 3 4 ,   c h e c k   t h e   d o c u m e n t a t i o n   f o r   t h a t   v e r s i o n   o f   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2106"
  },
  {
    "question": "What is API?",
    "answer": "T h e r e   a r e   t w o   A P I   e x t e n s i o n s   f o r   t h i s   f e a t u r e :   C S I S t o r a g e C a p a c i t y   o b j e c t s :   t h e s e   g e t   p r o d u c e d   b y   a   C S I   d r i v e r   i n   t h e   n a m e s p a c e   w h e r e   t h e   d r i v e r   i s   i n s t a l l e d .   E a c h   o b j e c t   c o n t a i n s   c a p a c i t y   i n f o r m a t i o n   f o r   o n e   s t o r a g e   c l a s s   a n d   d e f i n e s   w h i c h   n o d e s   h a v e   a c c e s s   t o   t h a t   s t o r a g e . T h e   C S I D r i v e r S p e c . S t o r a g e C a p a c i t y   f i e l d :   w h e n   s e t   t o   t r u e ,   t h e   K u b e r n e t e s   s c h e d u l e r   w i l l   c o n s i d e r   s t o r a g e   c a p a c i t y   f o r   v o l u m e s   t h a t   u s e   t h e   C S I   d r i v e r .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2107"
  },
  {
    "question": "What is Scheduling?",
    "answer": "S t o r a g e   c a p a c i t y   i n f o r m a t i o n   i s   u s e d   b y   t h e   K u b e r n e t e s   s c h e d u l e r   i f :   a   P o d   u s e s   a   v o l u m e   t h a t   h a s   n o t   b e e n   c r e a t e d   y e t , t h a t   v o l u m e   u s e s   a   S t o r a g e C l a s s   w h i c h   r e f e r e n c e s   a   C S I   d r i v e r   a n d   u s e s   W a i t F o r F i r s t C o n s u m e r   v o l u m e   b i n d i n g   m o d e ,   a n d t h e   C S I D r i v e r   o b j e c t   f o r   t h e   d r i v e r   h a s   S t o r a g e C a p a c i t y   s e t   t o   t r u e .   I n   t h a t   c a s e ,   t h e   s c h e d u l e r   o n l y   c o n s i d e r s   n o d e s   f o r   t h e   P o d   w h i c h   h a v e   e n o u g h   s t o r a g e   a v a i l a b l e   t o   t h e m .   T h i s   c h e c k   i s   v e r y   s i m p l i s t i c   a n d   o n l y   c o m p a r e s   t h e   s i z e   o f   t h e   v o l u m e   a g a i n s t   t h e   c a p a c i t y   l i s t e d   i n   C S I S t o r a g e C a p a c i t y   o b j e c t s   w i t h   a   t o p o l o g y   t h a t   i n c l u d e s   t h e   n o d e .   F o r   v o l u m e s   w i t h   I m m e d i a t e   v o l u m e   b i n d i n g   m o d e ,   t h e   s t o r a g e   d r i v e r   d e c i d e s   w h e r e   t o   c r e a t e   t h e   v o l u m e ,   i n d e p e n d e n t l y   o f   P o d s   t h a t   w i l l   u s e   t h e   v o l u m e .   T h e   s c h e d u l e r   t h e n   s c h e d u l e s   P o d s   o n t o   n o d e s   w h e r e   t h e   v o l u m e   i s   a v a i l a b l e   a f t e r   t h e   v o l u m e   h a s   b e e n   c r e a t e d .   F o r   C S I   e p h e m e r a l   v o l u m e s ,   s c h e d u l i n g   a l w a y s   h a p p e n s   w i t h o u t   c o n s i d e r i n g   s t o r a g e   c a p a c i t y .   T h i s   i s   b a s e d   o n   t h e   a s s u m p t i o n   t h a t   t h i s   v o l u m e   t y p e   i s   o n l y   u s e d   b y ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2108"
  },
  {
    "question": "What is Rescheduling?",
    "answer": "W h e n   a   n o d e   h a s   b e e n   s e l e c t e d   f o r   a   P o d   w i t h   W a i t F o r F i r s t C o n s u m e r   v o l u m e s ,   t h a t   d e c i s i o n   i s   s t i l l   t e n t a t i v e .   T h e   n e x t   s t e p   i s   t h a t   t h e   C S I   s t o r a g e   d r i v e r   g e t s   a s k e d   t o   c r e a t e   t h e   v o l u m e   w i t h   a   h i n t   t h a t   t h e   v o l u m e   i s   s u p p o s e d   t o   b e   a v a i l a b l e   o n   t h e   s e l e c t e d   n o d e .   B e c a u s e   K u b e r n e t e s   m i g h t   h a v e   c h o s e n   a   n o d e   b a s e d   o n   o u t - d a t e d   c a p a c i t y   i n f o r m a t i o n ,   i t   i s   p o s s i b l e   t h a t   t h e   v o l u m e   c a n n o t   r e a l l y   b e   c r e a t e d .   T h e   n o d e   s e l e c t i o n   i s   t h e n   r e s e t   a n d   t h e   K u b e r n e t e s   s c h e d u l e r   t r i e s   a g a i n   t o   f i n d   a   n o d e   f o r   t h e   P o d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2109"
  },
  {
    "question": "What is Limitations?",
    "answer": "S t o r a g e   c a p a c i t y   t r a c k i n g   i n c r e a s e s   t h e   c h a n c e   t h a t   s c h e d u l i n g   w o r k s   o n   t h e   f i r s t   t r y ,   b u t   c a n n o t   g u a r a n t e e   t h i s   b e c a u s e   t h e   s c h e d u l e r   h a s   t o   d e c i d e   b a s e d   o n   p o t e n t i a l l y   o u t - d a t e d   i n f o r m a t i o n .   U s u a l l y ,   t h e   s a m e   r e t r y   m e c h a n i s m   a s   f o r   s c h e d u l i n g   w i t h o u t   a n y   s t o r a g e   c a p a c i t y   i n f o r m a t i o n   h a n d l e s   s c h e d u l i n g   f a i l u r e s .   O n e   s i t u a t i o n   w h e r e   s c h e d u l i n g   c a n   f a i l   p e r m a n e n t l y   i s   w h e n   a   P o d   u s e s   m u l t i p l e   v o l u m e s :   o n e   v o l u m e   m i g h t   h a v e   b e e n   c r e a t e d   a l r e a d y   i n   a   t o p o l o g y   s e g m e n t   w h i c h   t h e n   d o e s   n o t   h a v e   e n o u g h   c a p a c i t y   l e f t   f o r   a n o t h e r   v o l u m e .   M a n u a l   i n t e r v e n t i o n   i s   n e c e s s a r y   t o   r e c o v e r   f r o m   t h i s ,   f o r   e x a m p l e   b y   i n c r e a s i n g   c a p a c i t y   o r   d e l e t i n g   t h e   v o l u m e   t h a t   w a s   a l r e a d y   c r e a t e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2110"
  },
  {
    "question": "What is What's next?",
    "answer": "F o r   m o r e   i n f o r m a t i o n   o n   t h e   d e s i g n ,   s e e   t h e   S t o r a g e   C a p a c i t y   C o n s t r a i n t s   f o r   P o d   S c h e d u l i n g   K E P .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2111"
  },
  {
    "question": "What is 12 - Node-specific Volume Limits?",
    "answer": "T h i s   p a g e   d e s c r i b e s   t h e   m a x i m u m   n u m b e r   o f   v o l u m e s   t h a t   c a n   b e   a t t a c h e d   t o   a   N o d e   f o r   v a r i o u s   c l o u d   p r o v i d e r s .   C l o u d   p r o v i d e r s   l i k e   G o o g l e ,   A m a z o n ,   a n d   M i c r o s o f t   t y p i c a l l y   h a v e   a   l i m i t   o n   h o w   m a n y   v o l u m e s   c a n   b e   a t t a c h e d   t o   a   N o d e .   I t   i s   i m p o r t a n t   f o r   K u b e r n e t e s   t o   r e s p e c t   t h o s e   l i m i t s .   O t h e r w i s e ,   P o d s   s c h e d u l e d   o n   a   N o d e   c o u l d   g e t   s t u c k   w a i t i n g   f o r   v o l u m e s   t o   a t t a c h .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_1_2112"
  },
  {
    "question": "What is Kubernetes default limits?",
    "answer": "T h e   K u b e r n e t e s   s c h e d u l e r   h a s   d e f a u l t   l i m i t s   o n   t h e   n u m b e r   o f   v o l u m e s   t h a t   c a n   b e   a t t a c h e d   t o   a   N o d e :",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2113"
  },
  {
    "question": "What is Dynamic volume limits?",
    "answer": "D y n a m i c   v o l u m e   l i m i t s   a r e   s u p p o r t e d   f o r   f o l l o w i n g   v o l u m e   t y p e s .   A m a z o n   E B S G o o g l e   P e r s i s t e n t   D i s k A z u r e   D i s k C S I   F o r   v o l u m e s   m a n a g e d   b y   i n - t r e e   v o l u m e   p l u g i n s ,   K u b e r n e t e s   a u t o m a t i c a l l y   d e t e r m i n e s   t h e   N o d e   t y p e   a n d   e n f o r c e s   t h e   a p p r o p r i a t e   m a x i m u m   n u m b e r   o f   v o l u m e s   f o r   t h e   n o d e .   F o r   e x a m p l e :   O n   G o o g l e   C o m p u t e   E n g i n e ,   u p   t o   1 2 7   v o l u m e s   c a n   b e   a t t a c h e d   t o   a   n o d e ,   d e p e n d i n g   o n   t h e   n o d e   t y p e . F o r   A m a z o n   E B S   d i s k s   o n   M 5 , C 5 , R 5 , T 3   a n d   Z 1 D   i n s t a n c e   t y p e s ,   K u b e r n e t e s   a l l o w s   o n l y   2 5   v o l u m e s   t o   b e   a t t a c h e d   t o   a   N o d e .   F o r   o t h e r   i n s t a n c e   t y p e s   o n   A m a z o n   E l a s t i c   C o m p u t e   C l o u d   ( E C 2 ) ,   K u b e r n e t e s   a l l o w s   3 9   v o l u m e s   t o   b e   a t t a c h e d   t o   a   N o d e . O n   A z u r e ,   u p   t o   6 4   d i s k s   c a n   b e   a t t a c h e d   t o   a   n o d e ,   d e p e n d i n g   o n   t h e   n o d e   t y p e .   F o r   m o r e   d e t a i l s ,   r e f e r   t o   S i z e s   f o r   v i r t u a l   m a c h i n e s   i n   A z u r e . I f   a   C S I   s t o r a g e   d r i v e r   a d v e r t i s e s   a   m a x i m u m   n u m b e r   o f   v o l u m e s   f o r   a   N o d e   ( u s i n g   N o d e G e t I n f o ) ,   t h e   k u b e - s c h e d u l e r   h o n o r s   t h a t   l i m i t .   R e f e r   t o   t h e   C S I   s p e c i f i c a t i o n s   f o r   d e t a i l s . F o r   v o l u m e s   m a n a g e d   b y   i n - t r e e   p l u g i n s   t h a t   h a v e   b e e n   m ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2114"
  },
  {
    "question": "What is Mutable CSI Node Allocatable Count?",
    "answer": "C S I   d r i v e r s   c a n   d y n a m i c a l l y   a d j u s t   t h e   m a x i m u m   n u m b e r   o f   v o l u m e s   t h a t   c a n   b e   a t t a c h e d   t o   a   N o d e   a t   r u n t i m e .   T h i s   e n h a n c e s   s c h e d u l i n g   a c c u r a c y   a n d   r e d u c e s   p o d   s c h e d u l i n g   f a i l u r e s   d u e   t o   c h a n g e s   i n   r e s o u r c e   a v a i l a b i l i t y .   T o   u s e   t h i s   f e a t u r e ,   y o u   m u s t   e n a b l e   t h e   M u t a b l e C S I N o d e A l l o c a t a b l e C o u n t   f e a t u r e   g a t e   o n   t h e   f o l l o w i n g   c o m p o n e n t s :   k u b e - a p i s e r v e r k u b e l e t",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_3_2115"
  },
  {
    "question": "What is Periodic Updates?",
    "answer": "W h e n   e n a b l e d ,   C S I   d r i v e r s   c a n   r e q u e s t   p e r i o d i c   u p d a t e s   t o   t h e i r   v o l u m e   l i m i t s   b y   s e t t i n g   t h e   n o d e A l l o c a t a b l e U p d a t e P e r i o d S e c o n d s   f i e l d   i n   t h e   C S I D r i v e r   s p e c i f i c a t i o n .   F o r   e x a m p l e :   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   C S I D r i v e r   m e t a d a t a :   n a m e :   h o s t p a t h . c s i . k 8 s . i o   s p e c :   n o d e A l l o c a t a b l e U p d a t e P e r i o d S e c o n d s :   6 0   K u b e l e t   w i l l   p e r i o d i c a l l y   c a l l   t h e   c o r r e s p o n d i n g   C S I   d r i v e r ’ s   N o d e G e t I n f o   e n d p o i n t   t o   r e f r e s h   t h e   m a x i m u m   n u m b e r   o f   a t t a c h a b l e   v o l u m e s ,   u s i n g   t h e   i n t e r v a l   s p e c i f i e d   i n   n o d e A l l o c a t a b l e U p d a t e P e r i o d S e c o n d s .   T h e   m i n i m u m   a l l o w e d   v a l u e   f o r   t h i s   f i e l d   i s   1 0   s e c o n d s .   I f   a   v o l u m e   a t t a c h m e n t   o p e r a t i o n   f a i l s   w i t h   a   R e s o u r c e E x h a u s t e d   e r r o r   ( g R P C   c o d e   8 ) ,   K u b e r n e t e s   t r i g g e r s   a n   i m m e d i a t e   u p d a t e   t o   t h e   a l l o c a t a b l e   v o l u m e   c o u n t   f o r   t h a t   N o d e .   A d d i t i o n a l l y ,   k u b e l e t   m a r k s   a f f e c t e d   p o d s   a s   F a i l e d ,   a l l o w i n g   t h e i r   c o n t r o l l e r s   t o   h a n d l e   r e c r e a t i o n .   T h i s   p r e v e n t s   p o d s   f r o m   g e t t i n g   s t u c k   i n d e f i n i t e l y   i n   t h e   C o n t a i n e r C r e a t i n g   s t a t e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_4_2116"
  },
  {
    "question": "What is 13 - Volume Health Monitoring?",
    "answer": "C S I   v o l u m e   h e a l t h   m o n i t o r i n g   a l l o w s   C S I   D r i v e r s   t o   d e t e c t   a b n o r m a l   v o l u m e   c o n d i t i o n s   f r o m   t h e   u n d e r l y i n g   s t o r a g e   s y s t e m s   a n d   r e p o r t   t h e m   a s   e v e n t s   o n   P V C s   o r   P o d s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_1_2117"
  },
  {
    "question": "What is Volume health monitoring?",
    "answer": "K u b e r n e t e s   v o l u m e   h e a l t h   m o n i t o r i n g   i s   p a r t   o f   h o w   K u b e r n e t e s   i m p l e m e n t s   t h e   C o n t a i n e r   S t o r a g e   I n t e r f a c e   ( C S I ) .   V o l u m e   h e a l t h   m o n i t o r i n g   f e a t u r e   i s   i m p l e m e n t e d   i n   t w o   c o m p o n e n t s :   a n   E x t e r n a l   H e a l t h   M o n i t o r   c o n t r o l l e r ,   a n d   t h e   k u b e l e t .   I f   a   C S I   D r i v e r   s u p p o r t s   V o l u m e   H e a l t h   M o n i t o r i n g   f e a t u r e   f r o m   t h e   c o n t r o l l e r   s i d e ,   a n   e v e n t   w i l l   b e   r e p o r t e d   o n   t h e   r e l a t e d   P e r s i s t e n t V o l u m e C l a i m   ( P V C )   w h e n   a n   a b n o r m a l   v o l u m e   c o n d i t i o n   i s   d e t e c t e d   o n   a   C S I   v o l u m e .   T h e   E x t e r n a l   H e a l t h   M o n i t o r   c o n t r o l l e r   a l s o   w a t c h e s   f o r   n o d e   f a i l u r e   e v e n t s .   Y o u   c a n   e n a b l e   n o d e   f a i l u r e   m o n i t o r i n g   b y   s e t t i n g   t h e   e n a b l e - n o d e - w a t c h e r   f l a g   t o   t r u e .   W h e n   t h e   e x t e r n a l   h e a l t h   m o n i t o r   d e t e c t s   a   n o d e   f a i l u r e   e v e n t ,   t h e   c o n t r o l l e r   r e p o r t s   a n   E v e n t   w i l l   b e   r e p o r t e d   o n   t h e   P V C   t o   i n d i c a t e   t h a t   p o d s   u s i n g   t h i s   P V C   a r e   o n   a   f a i l e d   n o d e .   I f   a   C S I   D r i v e r   s u p p o r t s   V o l u m e   H e a l t h   M o n i t o r i n g   f e a t u r e   f r o m   t h e   n o d e   s i d e ,   a n   E v e n t   w i l l   b e   r e p o r t e d   o n   e v e r y   P o d   u s i n g   t h e   P V C   w h e n   a n   a b n o r m a l   v o l u m e   c o n d i t i o n   i s   d e t e c t e d   o n   a   C S I   v o l u m e .   I n   a d d i t ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2118"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   t h e   C S I   d r i v e r   d o c u m e n t a t i o n   t o   f i n d   o u t   w h i c h   C S I   d r i v e r s   h a v e   i m p l e m e n t e d   t h i s   f e a t u r e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2119"
  },
  {
    "question": "What is 14 - Windows Storage?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   s t o r a g e   o v e r v i e w   s p e c i f i c   t o   t h e   W i n d o w s   o p e r a t i n g   s y s t e m .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_1_2120"
  },
  {
    "question": "What is Persistent storage?",
    "answer": "W i n d o w s   h a s   a   l a y e r e d   f i l e s y s t e m   d r i v e r   t o   m o u n t   c o n t a i n e r   l a y e r s   a n d   c r e a t e   a   c o p y   f i l e s y s t e m   b a s e d   o n   N T F S .   A l l   f i l e   p a t h s   i n   t h e   c o n t a i n e r   a r e   r e s o l v e d   o n l y   w i t h i n   t h e   c o n t e x t   o f   t h a t   c o n t a i n e r .   W i t h   D o c k e r ,   v o l u m e   m o u n t s   c a n   o n l y   t a r g e t   a   d i r e c t o r y   i n   t h e   c o n t a i n e r ,   a n d   n o t   a n   i n d i v i d u a l   f i l e .   T h i s   l i m i t a t i o n   d o e s   n o t   a p p l y   t o   c o n t a i n e r d . V o l u m e   m o u n t s   c a n n o t   p r o j e c t   f i l e s   o r   d i r e c t o r i e s   b a c k   t o   t h e   h o s t   f i l e s y s t e m . R e a d - o n l y   f i l e s y s t e m s   a r e   n o t   s u p p o r t e d   b e c a u s e   w r i t e   a c c e s s   i s   a l w a y s   r e q u i r e d   f o r   t h e   W i n d o w s   r e g i s t r y   a n d   S A M   d a t a b a s e .   H o w e v e r ,   r e a d - o n l y   v o l u m e s   a r e   s u p p o r t e d . V o l u m e   u s e r - m a s k s   a n d   p e r m i s s i o n s   a r e   n o t   a v a i l a b l e .   B e c a u s e   t h e   S A M   i s   n o t   s h a r e d   b e t w e e n   t h e   h o s t   &   c o n t a i n e r ,   t h e r e ' s   n o   m a p p i n g   b e t w e e n   t h e m .   A l l   p e r m i s s i o n s   a r e   r e s o l v e d   w i t h i n   t h e   c o n t e x t   o f   t h e   c o n t a i n e r .   A s   a   r e s u l t ,   t h e   f o l l o w i n g   s t o r a g e   f u n c t i o n a l i t y   i s   n o t   s u p p o r t e d   o n   W i n d o w s   n o d e s :   V o l u m e   s u b p a t h   m o u n t s :   o n l y   t h e   e n t i r e   v o l u m e   c a n   b e   m o u n t e d   i n   a   W i n d o w s   c o n t a i n e r S u b p a t h   v o l u m e   m o u n t i n g   f o r   S e c r e t s ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_2_2121"
  },
  {
    "question": "What is In-tree volume plugins?",
    "answer": "T h e   f o l l o w i n g   i n - t r e e   p l u g i n s   s u p p o r t   p e r s i s t e n t   s t o r a g e   o n   W i n d o w s   n o d e s :   a z u r e F i l e v s p h e r e V o l u m e   ©   2 0 2 5   T h e   K u b e r n e t e s   A u t h o r s   |   D o c u m e n t a t i o n   D i s t r i b u t e d   u n d e r   C C   B Y   4 . 0   ©   2 0 2 5   T h e   L i n u x   F o u n d a t i o n   ® .   A l l   r i g h t s   r e s e r v e d .   T h e   L i n u x   F o u n d a t i o n   h a s   r e g i s t e r e d   t r a d e m a r k s   a n d   u s e s   t r a d e m a r k s .   F o r   a   l i s t   o f   t r a d e m a r k s   o f   T h e   L i n u x   F o u n d a t i o n ,   p l e a s e   s e e   o u r   T r a d e m a r k   U s a g e   p a g e   I C P   l i c e n s e :   京 I C P 备 1 7 0 7 4 2 6 6 号 - 3",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/_print/",
    "id": "k8s_00120_section_5_2122"
  },
  {
    "question": "What is Access Services Running on Clusters?",
    "answer": "Access Services Running on ClustersThis page shows how to connect to services running on the Kubernetes cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Accessing services running on the clusterIn Kubernetes, nodes, pods and services all have their own IPs. In many cases, the node IPs, pod IPs, and some service IPs on a cluster will not be routable, so they will not be reachable from a machine outside the cluster, such as your desktop machine.Ways to connectYou have several options for connecting to nodes, pods and services from outside the cluster:Access services through public IPs.Use a service with type NodePort or LoadBalancer to make the service reachable outside the cluster. See the services and kubectl expose documentation.Depending on your cluster environment, this may only expose the service to your corporate network, or it may expose it to the internet. Think about whether the service being exposed is secure. Does it do its own authentication?Place pods behind services. To access one specific pod from a set of replicas, such as for debugging, place a unique label on the pod and create a new service which selects this label.In most cases, it should not be necessary for application developer to directly access nodes via their nodeIPs.Access services, nodes, or pods using the Proxy Verb.Does apiserver authentication and authorization prior to accessing the remote service. Use this if the services are not secure enough to expose to the internet, or to gain access to ports on the node IP, or for debugging.Proxies may cause problems for some web applications.Only works for HTTP/HTTPS.Described here.Access from a node or pod in the cluster.Run a pod, and then connect to a shell in it using kubectl exec. Connect to other nodes, pods, and services from that shell.Some clusters may allow you to ssh to a node in the cluster. From there you may be able to access cluster services. This is a non-standard method, and will work on some clusters but not others. Browsers and other tools may or may not be installed. Cluster DNS may not work.Discovering builtin servicesTypically, there are several services which are started on a cluster by kube-system. Get a list of these with the kubectl cluster-info command:kubectl cluster-info The output is similar to this:Kubernetes master is running at https://192.0.2.1 elasticsearch-logging is running at https://192.0.2.1/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy kibana-logging is running at https://192.0.2.1/api/v1/namespaces/kube-system/services/kibana-logg",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster-services/",
    "id": "k8s_00121_qa_2123"
  },
  {
    "question": "How does Access Services Running on Clusters work?",
    "answer": "Access Services Running on ClustersThis page shows how to connect to services running on the Kubernetes cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Accessing services running on the clusterIn Kubernetes, nodes, pods and services all have their own IPs. In many cases, the node IPs, pod IPs, and some service IPs on a cluster will not be routable, so they will not be reachable from a machine outside the cluster, such as your desktop machine.Ways to connectYou have several options for connecting to nodes, pods and services from outside the cluster:Access services through public IPs.Use a service with type NodePort or LoadBalancer to make the service reachable outside the cluster. See the services and kubectl expose documentation.Depending on your cluster environment, this may only expose the service to your corporate network, or it may expose it to the internet. Think about whether the service being exposed is secure. Does it do its own authentication?Place pods behind services. To access one specific pod from a set of replicas, such as for debugging, place a unique label on the pod and create a new service which selects this label.In most cases, it should not be necessary for application developer to directly access nodes via their nodeIPs.Access services, nodes, or pods using the Proxy Verb.Does apiserver authentication and authorization prior to accessing the remote service. Use this if the services are not secure enough to expose to the internet, or to gain access to ports on the node IP, or for debugging.Proxies may cause problems for some web applications.Only works for HTTP/HTTPS.Described here.Access from a node or pod in the cluster.Run a pod, and then connect to a shell in it using kubectl exec. Connect to other nodes, pods, and services from that shell.Some clusters may allow you to ssh to a node in the cluster. From there you may be able to access cluster services. This is a non-standard method, and will work on some clusters but not others. Browsers and other tools may or may not be installed. Cluster DNS may not work.Discovering builtin servicesTypically, there are several services which are started on a cluster by kube-system. Get a list of these with the kubectl cluster-info command:kubectl cluster-info The output is similar to this:Kubernetes master is running at https://192.0.2.1 elasticsearch-logging is running at https://192.0.2.1/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy kibana-logging is running at https://192.0.2.1/api/v1/namespaces/kube-system/services/kibana-logg",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster-services/",
    "id": "k8s_00121_qa_2124"
  },
  {
    "question": "When would you use Access Services Running on Clusters?",
    "answer": "Access Services Running on ClustersThis page shows how to connect to services running on the Kubernetes cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Accessing services running on the clusterIn Kubernetes, nodes, pods and services all have their own IPs. In many cases, the node IPs, pod IPs, and some service IPs on a cluster will not be routable, so they will not be reachable from a machine outside the cluster, such as your desktop machine.Ways to connectYou have several options for connecting to nodes, pods and services from outside the cluster:Access services through public IPs.Use a service with type NodePort or LoadBalancer to make the service reachable outside the cluster. See the services and kubectl expose documentation.Depending on your cluster environment, this may only expose the service to your corporate network, or it may expose it to the internet. Think about whether the service being exposed is secure. Does it do its own authentication?Place pods behind services. To access one specific pod from a set of replicas, such as for debugging, place a unique label on the pod and create a new service which selects this label.In most cases, it should not be necessary for application developer to directly access nodes via their nodeIPs.Access services, nodes, or pods using the Proxy Verb.Does apiserver authentication and authorization prior to accessing the remote service. Use this if the services are not secure enough to expose to the internet, or to gain access to ports on the node IP, or for debugging.Proxies may cause problems for some web applications.Only works for HTTP/HTTPS.Described here.Access from a node or pod in the cluster.Run a pod, and then connect to a shell in it using kubectl exec. Connect to other nodes, pods, and services from that shell.Some clusters may allow you to ssh to a node in the cluster. From there you may be able to access cluster services. This is a non-standard method, and will work on some clusters but not others. Browsers and other tools may or may not be installed. Cluster DNS may not work.Discovering builtin servicesTypically, there are several services which are started on a cluster by kube-system. Get a list of these with the kubectl cluster-info command:kubectl cluster-info The output is similar to this:Kubernetes master is running at https://192.0.2.1 elasticsearch-logging is running at https://192.0.2.1/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy kibana-logging is running at https://192.0.2.1/api/v1/namespaces/kube-system/services/kibana-logg",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster-services/",
    "id": "k8s_00121_qa_2125"
  },
  {
    "question": "What are the benefits of Access Services Running on Clusters?",
    "answer": "Access Services Running on ClustersThis page shows how to connect to services running on the Kubernetes cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Accessing services running on the clusterIn Kubernetes, nodes, pods and services all have their own IPs. In many cases, the node IPs, pod IPs, and some service IPs on a cluster will not be routable, so they will not be reachable from a machine outside the cluster, such as your desktop machine.Ways to connectYou have several options for connecting to nodes, pods and services from outside the cluster:Access services through public IPs.Use a service with type NodePort or LoadBalancer to make the service reachable outside the cluster. See the services and kubectl expose documentation.Depending on your cluster environment, this may only expose the service to your corporate network, or it may expose it to the internet. Think about whether the service being exposed is secure. Does it do its own authentication?Place pods behind services. To access one specific pod from a set of replicas, such as for debugging, place a unique label on the pod and create a new service which selects this label.In most cases, it should not be necessary for application developer to directly access nodes via their nodeIPs.Access services, nodes, or pods using the Proxy Verb.Does apiserver authentication and authorization prior to accessing the remote service. Use this if the services are not secure enough to expose to the internet, or to gain access to ports on the node IP, or for debugging.Proxies may cause problems for some web applications.Only works for HTTP/HTTPS.Described here.Access from a node or pod in the cluster.Run a pod, and then connect to a shell in it using kubectl exec. Connect to other nodes, pods, and services from that shell.Some clusters may allow you to ssh to a node in the cluster. From there you may be able to access cluster services. This is a non-standard method, and will work on some clusters but not others. Browsers and other tools may or may not be installed. Cluster DNS may not work.Discovering builtin servicesTypically, there are several services which are started on a cluster by kube-system. Get a list of these with the kubectl cluster-info command:kubectl cluster-info The output is similar to this:Kubernetes master is running at https://192.0.2.1 elasticsearch-logging is running at https://192.0.2.1/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy kibana-logging is running at https://192.0.2.1/api/v1/namespaces/kube-system/services/kibana-logg",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster-services/",
    "id": "k8s_00121_qa_2126"
  },
  {
    "question": "What is Access Services Running on Clusters?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n n e c t   t o   s e r v i c e s   r u n n i n g   o n   t h e   K u b e r n e t e s   c l u s t e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster-services/",
    "id": "k8s_00121_section_1_2127"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster-services/",
    "id": "k8s_00121_section_2_2128"
  },
  {
    "question": "What is Accessing services running on the cluster?",
    "answer": "I n   K u b e r n e t e s ,   n o d e s ,   p o d s   a n d   s e r v i c e s   a l l   h a v e   t h e i r   o w n   I P s .   I n   m a n y   c a s e s ,   t h e   n o d e   I P s ,   p o d   I P s ,   a n d   s o m e   s e r v i c e   I P s   o n   a   c l u s t e r   w i l l   n o t   b e   r o u t a b l e ,   s o   t h e y   w i l l   n o t   b e   r e a c h a b l e   f r o m   a   m a c h i n e   o u t s i d e   t h e   c l u s t e r ,   s u c h   a s   y o u r   d e s k t o p   m a c h i n e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster-services/",
    "id": "k8s_00121_section_2_2129"
  },
  {
    "question": "What is Ways to connect?",
    "answer": "Y o u   h a v e   s e v e r a l   o p t i o n s   f o r   c o n n e c t i n g   t o   n o d e s ,   p o d s   a n d   s e r v i c e s   f r o m   o u t s i d e   t h e   c l u s t e r :   A c c e s s   s e r v i c e s   t h r o u g h   p u b l i c   I P s . U s e   a   s e r v i c e   w i t h   t y p e   N o d e P o r t   o r   L o a d B a l a n c e r   t o   m a k e   t h e   s e r v i c e   r e a c h a b l e   o u t s i d e   t h e   c l u s t e r .   S e e   t h e   s e r v i c e s   a n d   k u b e c t l   e x p o s e   d o c u m e n t a t i o n . D e p e n d i n g   o n   y o u r   c l u s t e r   e n v i r o n m e n t ,   t h i s   m a y   o n l y   e x p o s e   t h e   s e r v i c e   t o   y o u r   c o r p o r a t e   n e t w o r k ,   o r   i t   m a y   e x p o s e   i t   t o   t h e   i n t e r n e t .   T h i n k   a b o u t   w h e t h e r   t h e   s e r v i c e   b e i n g   e x p o s e d   i s   s e c u r e .   D o e s   i t   d o   i t s   o w n   a u t h e n t i c a t i o n ? P l a c e   p o d s   b e h i n d   s e r v i c e s .   T o   a c c e s s   o n e   s p e c i f i c   p o d   f r o m   a   s e t   o f   r e p l i c a s ,   s u c h   a s   f o r   d e b u g g i n g ,   p l a c e   a   u n i q u e   l a b e l   o n   t h e   p o d   a n d   c r e a t e   a   n e w   s e r v i c e   w h i c h   s e l e c t s   t h i s   l a b e l . I n   m o s t   c a s e s ,   i t   s h o u l d   n o t   b e   n e c e s s a r y   f o r   a p p l i c a t i o n   d e v e l o p e r   t o   d i r e c t l y   a c c e s s   n o d e s   v i a   t h e i r   n o d e I P s . A c c e s s   s e r v i c e s ,   n o d e s ,   o r   p o d s   u s i n g   t h e   P r o x y   V e r b . D o e s   a p i s e r v e r   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n   p r i o r   t o   a c c e s s i n g   t h e   r e m o t e   s e r v i c e .   U s e   t h i s   i f   t h e   s e r v i c e s   a r e   n o t   s e c u r e   e n o u g h   t o   e x p o s e   t o ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster-services/",
    "id": "k8s_00121_section_3_2130"
  },
  {
    "question": "What is Discovering builtin services?",
    "answer": "T y p i c a l l y ,   t h e r e   a r e   s e v e r a l   s e r v i c e s   w h i c h   a r e   s t a r t e d   o n   a   c l u s t e r   b y   k u b e - s y s t e m .   G e t   a   l i s t   o f   t h e s e   w i t h   t h e   k u b e c t l   c l u s t e r - i n f o   c o m m a n d :   k u b e c t l   c l u s t e r - i n f o   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   K u b e r n e t e s   m a s t e r   i s   r u n n i n g   a t   h t t p s : / / 1 9 2 . 0 . 2 . 1   e l a s t i c s e a r c h - l o g g i n g   i s   r u n n i n g   a t   h t t p s : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / e l a s t i c s e a r c h - l o g g i n g / p r o x y   k i b a n a - l o g g i n g   i s   r u n n i n g   a t   h t t p s : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / k i b a n a - l o g g i n g / p r o x y   k u b e - d n s   i s   r u n n i n g   a t   h t t p s : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / k u b e - d n s / p r o x y   g r a f a n a   i s   r u n n i n g   a t   h t t p s : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / m o n i t o r i n g - g r a f a n a / p r o x y   h e a p s t e r   i s   r u n n i n g   a t   h t t p s : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / m o n i t o r i n g - h e a p s t e r / p r o x y   T h i s   s h o w s   t h e   p r o x y - v e r b   U R L   f o r   a c c e s s i n g   e a c h   s e r v i c e .   F o r   e x a m p l e ,   t h i s   c l u s t e r   h a s   c l u s t e r - l e v e l   l o g g i n g   e n a b l e d   ( u s i n g   E l a s t i c s e a r c h ) ,   w h i c h   c a n   b e   r e a c h e d   a t   h t t p s : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster-services/",
    "id": "k8s_00121_section_3_2131"
  },
  {
    "question": "What is Manually constructing apiserver proxy URLs?",
    "answer": "A s   m e n t i o n e d   a b o v e ,   y o u   u s e   t h e   k u b e c t l   c l u s t e r - i n f o   c o m m a n d   t o   r e t r i e v e   t h e   s e r v i c e ' s   p r o x y   U R L .   T o   c r e a t e   p r o x y   U R L s   t h a t   i n c l u d e   s e r v i c e   e n d p o i n t s ,   s u f f i x e s ,   a n d   p a r a m e t e r s ,   y o u   a p p e n d   t o   t h e   s e r v i c e ' s   p r o x y   U R L :   h t t p : / / k u b e r n e t e s _ m a s t e r _ a d d r e s s / a p i / v 1 / n a m e s p a c e s / n a m e s p a c e _ n a m e / s e r v i c e s / [ h t t p s : ] s e r v i c e _ n a m e [ : p o r t _ n a m e ] / p r o x y   I f   y o u   h a v e n ' t   s p e c i f i e d   a   n a m e   f o r   y o u r   p o r t ,   y o u   d o n ' t   h a v e   t o   s p e c i f y   p o r t _ n a m e   i n   t h e   U R L .   Y o u   c a n   a l s o   u s e   t h e   p o r t   n u m b e r   i n   p l a c e   o f   t h e   p o r t _ n a m e   f o r   b o t h   n a m e d   a n d   u n n a m e d   p o r t s .   B y   d e f a u l t ,   t h e   A P I   s e r v e r   p r o x i e s   t o   y o u r   s e r v i c e   u s i n g   H T T P .   T o   u s e   H T T P S ,   p r e f i x   t h e   s e r v i c e   n a m e   w i t h   h t t p s : :   h t t p : / / < k u b e r n e t e s _ m a s t e r _ a d d r e s s > / a p i / v 1 / n a m e s p a c e s / < n a m e s p a c e _ n a m e > / s e r v i c e s / < s e r v i c e _ n a m e > / p r o x y   T h e   s u p p o r t e d   f o r m a t s   f o r   t h e   < s e r v i c e _ n a m e >   s e g m e n t   o f   t h e   U R L   a r e :   < s e r v i c e _ n a m e >   -   p r o x i e s   t o   t h e   d e f a u l t   o r   u n n a m e d   p o r t   u s i n g   h t t p < s e r v i c e _ n a m e > : < p o r t _ n a m e >   -   p r o x i e s   t o   t h e   s p e c i f i e d   p o r t   n a m e   o r   p o r t   n u m b e r   u s i n g   h t t p h t t p s : < s e r v i c e _ n a m e > :   -   p r o x i e s   t o   t h e   d e f a u ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster-services/",
    "id": "k8s_00121_section_4_2132"
  },
  {
    "question": "What is Examples?",
    "answer": "T o   a c c e s s   t h e   E l a s t i c s e a r c h   s e r v i c e   e n d p o i n t   _ s e a r c h ? q = u s e r : k i m c h y ,   y o u   w o u l d   u s e : h t t p : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / e l a s t i c s e a r c h - l o g g i n g / p r o x y / _ s e a r c h ? q = u s e r : k i m c h y   T o   a c c e s s   t h e   E l a s t i c s e a r c h   c l u s t e r   h e a l t h   i n f o r m a t i o n   _ c l u s t e r / h e a l t h ? p r e t t y = t r u e ,   y o u   w o u l d   u s e : h t t p s : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / e l a s t i c s e a r c h - l o g g i n g / p r o x y / _ c l u s t e r / h e a l t h ? p r e t t y = t r u e   T h e   h e a l t h   i n f o r m a t i o n   i s   s i m i l a r   t o   t h i s : {   \" c l u s t e r _ n a m e \"   :   \" k u b e r n e t e s _ l o g g i n g \" ,   \" s t a t u s \"   :   \" y e l l o w \" ,   \" t i m e d _ o u t \"   :   f a l s e ,   \" n u m b e r _ o f _ n o d e s \"   :   1 ,   \" n u m b e r _ o f _ d a t a _ n o d e s \"   :   1 ,   \" a c t i v e _ p r i m a r y _ s h a r d s \"   :   5 ,   \" a c t i v e _ s h a r d s \"   :   5 ,   \" r e l o c a t i n g _ s h a r d s \"   :   0 ,   \" i n i t i a l i z i n g _ s h a r d s \"   :   0 ,   \" u n a s s i g n e d _ s h a r d s \"   :   5   }   T o   a c c e s s   t h e   h t t p s   E l a s t i c s e a r c h   s e r v i c e   h e a l t h   i n f o r m a t i o n   _ c l u s t e r / h e a l t h ? p r e t t y = t r u e ,   y o u   w o u l d   u s e : h t t p s : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / h t t p s : e l a s t i c s e a r c h - l o g g i n g : / p r o x y / _ c l u s t e r / h e a l t h ? p r e t t y = t r u e   T o   a c c e s s   t h e   E l a s t i c s e a r c h   s e r v i c e   e n d p o i n t   _ s e a r c h ? q = u s e r : k i m c h y ,   y o u   w ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster-services/",
    "id": "k8s_00121_section_5_2133"
  },
  {
    "question": "What is Using web browsers to access services running on the cluster?",
    "answer": "Y o u   m a y   b e   a b l e   t o   p u t   a n   a p i s e r v e r   p r o x y   U R L   i n t o   t h e   a d d r e s s   b a r   o f   a   b r o w s e r .   H o w e v e r :   W e b   b r o w s e r s   c a n n o t   u s u a l l y   p a s s   t o k e n s ,   s o   y o u   m a y   n e e d   t o   u s e   b a s i c   ( p a s s w o r d )   a u t h .   A p i s e r v e r   c a n   b e   c o n f i g u r e d   t o   a c c e p t   b a s i c   a u t h ,   b u t   y o u r   c l u s t e r   m a y   n o t   b e   c o n f i g u r e d   t o   a c c e p t   b a s i c   a u t h . S o m e   w e b   a p p s   m a y   n o t   w o r k ,   p a r t i c u l a r l y   t h o s e   w i t h   c l i e n t   s i d e   j a v a s c r i p t   t h a t   c o n s t r u c t   U R L s   i n   a   w a y   t h a t   i s   u n a w a r e   o f   t h e   p r o x y   p a t h   p r e f i x .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster-services/",
    "id": "k8s_00121_section_4_2134"
  },
  {
    "question": "What is kubectl cluster-info?",
    "answer": "kubectl cluster-infoSynopsisDisplay addresses of the control plane and services with label kubernetes.io/cluster-service=true. To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.kubectl cluster-info [flags] Examples # Print the address of the control plane and cluster services kubectl cluster-info Options-h, --helphelp for cluster-infoParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cluster-info/",
    "id": "k8s_00122_qa_2135"
  },
  {
    "question": "How does kubectl cluster-info work?",
    "answer": "kubectl cluster-infoSynopsisDisplay addresses of the control plane and services with label kubernetes.io/cluster-service=true. To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.kubectl cluster-info [flags] Examples # Print the address of the control plane and cluster services kubectl cluster-info Options-h, --helphelp for cluster-infoParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cluster-info/",
    "id": "k8s_00122_qa_2136"
  },
  {
    "question": "When would you use kubectl cluster-info?",
    "answer": "kubectl cluster-infoSynopsisDisplay addresses of the control plane and services with label kubernetes.io/cluster-service=true. To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.kubectl cluster-info [flags] Examples # Print the address of the control plane and cluster services kubectl cluster-info Options-h, --helphelp for cluster-infoParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cluster-info/",
    "id": "k8s_00122_qa_2137"
  },
  {
    "question": "What are the benefits of kubectl cluster-info?",
    "answer": "kubectl cluster-infoSynopsisDisplay addresses of the control plane and services with label kubernetes.io/cluster-service=true. To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.kubectl cluster-info [flags] Examples # Print the address of the control plane and cluster services kubectl cluster-info Options-h, --helphelp for cluster-infoParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cluster-info/",
    "id": "k8s_00122_qa_2138"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   a d d r e s s e s   o f   t h e   c o n t r o l   p l a n e   a n d   s e r v i c e s   w i t h   l a b e l   k u b e r n e t e s . i o / c l u s t e r - s e r v i c e = t r u e .   T o   f u r t h e r   d e b u g   a n d   d i a g n o s e   c l u s t e r   p r o b l e m s ,   u s e   ' k u b e c t l   c l u s t e r - i n f o   d u m p ' .   k u b e c t l   c l u s t e r - i n f o   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cluster-info/",
    "id": "k8s_00122_section_2_2139"
  },
  {
    "question": "What is Examples?",
    "answer": "#   P r i n t   t h e   a d d r e s s   o f   t h e   c o n t r o l   p l a n e   a n d   c l u s t e r   s e r v i c e s   k u b e c t l   c l u s t e r - i n f o",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cluster-info/",
    "id": "k8s_00122_section_2_2140"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c l u s t e r - i n f o",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cluster-info/",
    "id": "k8s_00122_section_2_2141"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cluster-info/",
    "id": "k8s_00122_section_2_2142"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   c l u s t e r - i n f o   d u m p   -   D u m p   r e l e v a n t   i n f o r m a t i o n   f o r   d e b u g g i n g   a n d   d i a g n o s i s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cluster-info/",
    "id": "k8s_00122_section_2_2143"
  },
  {
    "question": "What is Documentation Content Guide?",
    "answer": "Documentation Content GuideThis page contains guidelines for Kubernetes documentation.If you have questions about what's allowed, join the #sig-docs channel in Kubernetes Slack and ask!You can register for Kubernetes Slack at https://slack.k8s.io/.For information on creating new content for the Kubernetes docs, follow the style guide.OverviewSource for the Kubernetes website, including the docs, resides in the kubernetes/website repository.Located in the kubernetes/website/content/<language_code>/docs folder, the majority of Kubernetes documentation is specific to the Kubernetes project.What's allowedKubernetes docs allow content for third-party projects only when:Content documents software in the Kubernetes projectContent documents software that's out of project but necessary for Kubernetes to functionContent is canonical on kubernetes.io, or links to canonical content elsewhereThird party contentKubernetes documentation includes applied examples of projects in the Kubernetes project—projects that live in the kubernetes and kubernetes-sigs GitHub organizations.Links to active content in the Kubernetes project are always allowed.Kubernetes requires some third party content to function. Examples include container runtimes (containerd, CRI-O, Docker), networking policy (CNI plugins), Ingress controllers, and logging.Docs can link to third-party open source software (OSS) outside the Kubernetes project only if it's necessary for Kubernetes to function.Dual sourced contentWherever possible, Kubernetes docs link to canonical sources instead of hosting dual-sourced content.Dual-sourced content requires double the effort (or more!) to maintain and grows stale more quickly.Note:If you're a maintainer for a Kubernetes project and need help hosting your own docs, ask for help in #sig-docs on Kubernetes Slack.More informationIf you have questions about allowed content, join the Kubernetes Slack #sig-docs channel and ask!What's nextRead the Style guide.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/content-guide/",
    "id": "k8s_00123_qa_2144"
  },
  {
    "question": "How does Documentation Content Guide work?",
    "answer": "Documentation Content GuideThis page contains guidelines for Kubernetes documentation.If you have questions about what's allowed, join the #sig-docs channel in Kubernetes Slack and ask!You can register for Kubernetes Slack at https://slack.k8s.io/.For information on creating new content for the Kubernetes docs, follow the style guide.OverviewSource for the Kubernetes website, including the docs, resides in the kubernetes/website repository.Located in the kubernetes/website/content/<language_code>/docs folder, the majority of Kubernetes documentation is specific to the Kubernetes project.What's allowedKubernetes docs allow content for third-party projects only when:Content documents software in the Kubernetes projectContent documents software that's out of project but necessary for Kubernetes to functionContent is canonical on kubernetes.io, or links to canonical content elsewhereThird party contentKubernetes documentation includes applied examples of projects in the Kubernetes project—projects that live in the kubernetes and kubernetes-sigs GitHub organizations.Links to active content in the Kubernetes project are always allowed.Kubernetes requires some third party content to function. Examples include container runtimes (containerd, CRI-O, Docker), networking policy (CNI plugins), Ingress controllers, and logging.Docs can link to third-party open source software (OSS) outside the Kubernetes project only if it's necessary for Kubernetes to function.Dual sourced contentWherever possible, Kubernetes docs link to canonical sources instead of hosting dual-sourced content.Dual-sourced content requires double the effort (or more!) to maintain and grows stale more quickly.Note:If you're a maintainer for a Kubernetes project and need help hosting your own docs, ask for help in #sig-docs on Kubernetes Slack.More informationIf you have questions about allowed content, join the Kubernetes Slack #sig-docs channel and ask!What's nextRead the Style guide.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/content-guide/",
    "id": "k8s_00123_qa_2145"
  },
  {
    "question": "When would you use Documentation Content Guide?",
    "answer": "Documentation Content GuideThis page contains guidelines for Kubernetes documentation.If you have questions about what's allowed, join the #sig-docs channel in Kubernetes Slack and ask!You can register for Kubernetes Slack at https://slack.k8s.io/.For information on creating new content for the Kubernetes docs, follow the style guide.OverviewSource for the Kubernetes website, including the docs, resides in the kubernetes/website repository.Located in the kubernetes/website/content/<language_code>/docs folder, the majority of Kubernetes documentation is specific to the Kubernetes project.What's allowedKubernetes docs allow content for third-party projects only when:Content documents software in the Kubernetes projectContent documents software that's out of project but necessary for Kubernetes to functionContent is canonical on kubernetes.io, or links to canonical content elsewhereThird party contentKubernetes documentation includes applied examples of projects in the Kubernetes project—projects that live in the kubernetes and kubernetes-sigs GitHub organizations.Links to active content in the Kubernetes project are always allowed.Kubernetes requires some third party content to function. Examples include container runtimes (containerd, CRI-O, Docker), networking policy (CNI plugins), Ingress controllers, and logging.Docs can link to third-party open source software (OSS) outside the Kubernetes project only if it's necessary for Kubernetes to function.Dual sourced contentWherever possible, Kubernetes docs link to canonical sources instead of hosting dual-sourced content.Dual-sourced content requires double the effort (or more!) to maintain and grows stale more quickly.Note:If you're a maintainer for a Kubernetes project and need help hosting your own docs, ask for help in #sig-docs on Kubernetes Slack.More informationIf you have questions about allowed content, join the Kubernetes Slack #sig-docs channel and ask!What's nextRead the Style guide.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/content-guide/",
    "id": "k8s_00123_qa_2146"
  },
  {
    "question": "What are the benefits of Documentation Content Guide?",
    "answer": "Documentation Content GuideThis page contains guidelines for Kubernetes documentation.If you have questions about what's allowed, join the #sig-docs channel in Kubernetes Slack and ask!You can register for Kubernetes Slack at https://slack.k8s.io/.For information on creating new content for the Kubernetes docs, follow the style guide.OverviewSource for the Kubernetes website, including the docs, resides in the kubernetes/website repository.Located in the kubernetes/website/content/<language_code>/docs folder, the majority of Kubernetes documentation is specific to the Kubernetes project.What's allowedKubernetes docs allow content for third-party projects only when:Content documents software in the Kubernetes projectContent documents software that's out of project but necessary for Kubernetes to functionContent is canonical on kubernetes.io, or links to canonical content elsewhereThird party contentKubernetes documentation includes applied examples of projects in the Kubernetes project—projects that live in the kubernetes and kubernetes-sigs GitHub organizations.Links to active content in the Kubernetes project are always allowed.Kubernetes requires some third party content to function. Examples include container runtimes (containerd, CRI-O, Docker), networking policy (CNI plugins), Ingress controllers, and logging.Docs can link to third-party open source software (OSS) outside the Kubernetes project only if it's necessary for Kubernetes to function.Dual sourced contentWherever possible, Kubernetes docs link to canonical sources instead of hosting dual-sourced content.Dual-sourced content requires double the effort (or more!) to maintain and grows stale more quickly.Note:If you're a maintainer for a Kubernetes project and need help hosting your own docs, ask for help in #sig-docs on Kubernetes Slack.More informationIf you have questions about allowed content, join the Kubernetes Slack #sig-docs channel and ask!What's nextRead the Style guide.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/content-guide/",
    "id": "k8s_00123_qa_2147"
  },
  {
    "question": "What is Documentation Content Guide?",
    "answer": "T h i s   p a g e   c o n t a i n s   g u i d e l i n e s   f o r   K u b e r n e t e s   d o c u m e n t a t i o n .   I f   y o u   h a v e   q u e s t i o n s   a b o u t   w h a t ' s   a l l o w e d ,   j o i n   t h e   # s i g - d o c s   c h a n n e l   i n   K u b e r n e t e s   S l a c k   a n d   a s k !   Y o u   c a n   r e g i s t e r   f o r   K u b e r n e t e s   S l a c k   a t   h t t p s : / / s l a c k . k 8 s . i o / .   F o r   i n f o r m a t i o n   o n   c r e a t i n g   n e w   c o n t e n t   f o r   t h e   K u b e r n e t e s   d o c s ,   f o l l o w   t h e   s t y l e   g u i d e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/content-guide/",
    "id": "k8s_00123_section_1_2148"
  },
  {
    "question": "What is Overview?",
    "answer": "S o u r c e   f o r   t h e   K u b e r n e t e s   w e b s i t e ,   i n c l u d i n g   t h e   d o c s ,   r e s i d e s   i n   t h e   k u b e r n e t e s / w e b s i t e   r e p o s i t o r y .   L o c a t e d   i n   t h e   k u b e r n e t e s / w e b s i t e / c o n t e n t / < l a n g u a g e _ c o d e > / d o c s   f o l d e r ,   t h e   m a j o r i t y   o f   K u b e r n e t e s   d o c u m e n t a t i o n   i s   s p e c i f i c   t o   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/content-guide/",
    "id": "k8s_00123_section_2_2149"
  },
  {
    "question": "What is What's allowed?",
    "answer": "K u b e r n e t e s   d o c s   a l l o w   c o n t e n t   f o r   t h i r d - p a r t y   p r o j e c t s   o n l y   w h e n :   C o n t e n t   d o c u m e n t s   s o f t w a r e   i n   t h e   K u b e r n e t e s   p r o j e c t C o n t e n t   d o c u m e n t s   s o f t w a r e   t h a t ' s   o u t   o f   p r o j e c t   b u t   n e c e s s a r y   f o r   K u b e r n e t e s   t o   f u n c t i o n C o n t e n t   i s   c a n o n i c a l   o n   k u b e r n e t e s . i o ,   o r   l i n k s   t o   c a n o n i c a l   c o n t e n t   e l s e w h e r e",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/content-guide/",
    "id": "k8s_00123_section_2_2150"
  },
  {
    "question": "What is Third party content?",
    "answer": "K u b e r n e t e s   d o c u m e n t a t i o n   i n c l u d e s   a p p l i e d   e x a m p l e s   o f   p r o j e c t s   i n   t h e   K u b e r n e t e s   p r o j e c t — p r o j e c t s   t h a t   l i v e   i n   t h e   k u b e r n e t e s   a n d   k u b e r n e t e s - s i g s   G i t H u b   o r g a n i z a t i o n s .   L i n k s   t o   a c t i v e   c o n t e n t   i n   t h e   K u b e r n e t e s   p r o j e c t   a r e   a l w a y s   a l l o w e d .   K u b e r n e t e s   r e q u i r e s   s o m e   t h i r d   p a r t y   c o n t e n t   t o   f u n c t i o n .   E x a m p l e s   i n c l u d e   c o n t a i n e r   r u n t i m e s   ( c o n t a i n e r d ,   C R I - O ,   D o c k e r ) ,   n e t w o r k i n g   p o l i c y   ( C N I   p l u g i n s ) ,   I n g r e s s   c o n t r o l l e r s ,   a n d   l o g g i n g .   D o c s   c a n   l i n k   t o   t h i r d - p a r t y   o p e n   s o u r c e   s o f t w a r e   ( O S S )   o u t s i d e   t h e   K u b e r n e t e s   p r o j e c t   o n l y   i f   i t ' s   n e c e s s a r y   f o r   K u b e r n e t e s   t o   f u n c t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/content-guide/",
    "id": "k8s_00123_section_3_2151"
  },
  {
    "question": "What is Dual sourced content?",
    "answer": "W h e r e v e r   p o s s i b l e ,   K u b e r n e t e s   d o c s   l i n k   t o   c a n o n i c a l   s o u r c e s   i n s t e a d   o f   h o s t i n g   d u a l - s o u r c e d   c o n t e n t .   D u a l - s o u r c e d   c o n t e n t   r e q u i r e s   d o u b l e   t h e   e f f o r t   ( o r   m o r e ! )   t o   m a i n t a i n   a n d   g r o w s   s t a l e   m o r e   q u i c k l y .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/content-guide/",
    "id": "k8s_00123_section_3_2152"
  },
  {
    "question": "What is More information?",
    "answer": "I f   y o u   h a v e   q u e s t i o n s   a b o u t   a l l o w e d   c o n t e n t ,   j o i n   t h e   K u b e r n e t e s   S l a c k   # s i g - d o c s   c h a n n e l   a n d   a s k !",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/content-guide/",
    "id": "k8s_00123_section_3_2153"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   t h e   S t y l e   g u i d e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/content-guide/",
    "id": "k8s_00123_section_2_2154"
  },
  {
    "question": "What is Topology Aware Routing?",
    "answer": "Topology Aware RoutingTopology Aware Routing provides a mechanism to help keep network traffic within the zone where it originated. Preferring same-zone traffic between Pods in your cluster can help with reliability, performance (network latency and throughput), or cost.FEATURE STATE: Kubernetes v1.23 [beta]Note:Prior to Kubernetes 1.27, this feature was known as Topology Aware Hints.Topology Aware Routing adjusts routing behavior to prefer keeping traffic in the zone it originated from. In some cases this can help reduce costs or improve network performance.MotivationKubernetes clusters are increasingly deployed in multi-zone environments. Topology Aware Routing provides a mechanism to help keep traffic within the zone it originated from. When calculating the endpoints for a Service, the EndpointSlice controller considers the topology (region and zone) of each endpoint and populates the hints field to allocate it to a zone. Cluster components such as kube-proxy can then consume those hints, and use them to influence how the traffic is routed (favoring topologically closer endpoints).Enabling Topology Aware RoutingNote:Prior to Kubernetes 1.27, this behavior was controlled using the service.kubernetes.io/topology-aware-hints annotation.You can enable Topology Aware Routing for a Service by setting the service.kubernetes.io/topology-mode annotation to Auto. When there are enough endpoints available in each zone, Topology Hints will be populated on EndpointSlices to allocate individual endpoints to specific zones, resulting in traffic being routed closer to where it originated from.When it works bestThis feature works best when:1. Incoming traffic is evenly distributedIf a large proportion of traffic is originating from a single zone, that traffic could overload the subset of endpoints that have been allocated to that zone. This feature is not recommended when incoming traffic is expected to originate from a single zone.2. The Service has 3 or more endpoints per zoneIn a three zone cluster, this means 9 or more endpoints. If there are fewer than 3 endpoints per zone, there is a high (≈50%) probability that the EndpointSlice controller will not be able to allocate endpoints evenly and instead will fall back to the default cluster-wide routing approach.How It WorksThe \"Auto\" heuristic attempts to proportionally allocate a number of endpoints to each zone. Note that this heuristic works best for Services that have a significant number of endpoints.EndpointSlice controllerThe EndpointSlice controller is responsible for setting hints on EndpointSlices when this heuristic is enabled. The controller allocates a proportional amount of endpoints to each zone. This proportion is based on the allocatable CPU cores for nodes running in that zone. For example, if one zone had 2 CPU cores and another zone only had 1 CPU core, the controller would allocate twice as many endpoints to the zone with 2 CPU cores.The following example shows what an EndpointSlice looks",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/topology-aware-routing/",
    "id": "k8s_00124_qa_2155"
  },
  {
    "question": "How does Topology Aware Routing work?",
    "answer": "Topology Aware RoutingTopology Aware Routing provides a mechanism to help keep network traffic within the zone where it originated. Preferring same-zone traffic between Pods in your cluster can help with reliability, performance (network latency and throughput), or cost.FEATURE STATE: Kubernetes v1.23 [beta]Note:Prior to Kubernetes 1.27, this feature was known as Topology Aware Hints.Topology Aware Routing adjusts routing behavior to prefer keeping traffic in the zone it originated from. In some cases this can help reduce costs or improve network performance.MotivationKubernetes clusters are increasingly deployed in multi-zone environments. Topology Aware Routing provides a mechanism to help keep traffic within the zone it originated from. When calculating the endpoints for a Service, the EndpointSlice controller considers the topology (region and zone) of each endpoint and populates the hints field to allocate it to a zone. Cluster components such as kube-proxy can then consume those hints, and use them to influence how the traffic is routed (favoring topologically closer endpoints).Enabling Topology Aware RoutingNote:Prior to Kubernetes 1.27, this behavior was controlled using the service.kubernetes.io/topology-aware-hints annotation.You can enable Topology Aware Routing for a Service by setting the service.kubernetes.io/topology-mode annotation to Auto. When there are enough endpoints available in each zone, Topology Hints will be populated on EndpointSlices to allocate individual endpoints to specific zones, resulting in traffic being routed closer to where it originated from.When it works bestThis feature works best when:1. Incoming traffic is evenly distributedIf a large proportion of traffic is originating from a single zone, that traffic could overload the subset of endpoints that have been allocated to that zone. This feature is not recommended when incoming traffic is expected to originate from a single zone.2. The Service has 3 or more endpoints per zoneIn a three zone cluster, this means 9 or more endpoints. If there are fewer than 3 endpoints per zone, there is a high (≈50%) probability that the EndpointSlice controller will not be able to allocate endpoints evenly and instead will fall back to the default cluster-wide routing approach.How It WorksThe \"Auto\" heuristic attempts to proportionally allocate a number of endpoints to each zone. Note that this heuristic works best for Services that have a significant number of endpoints.EndpointSlice controllerThe EndpointSlice controller is responsible for setting hints on EndpointSlices when this heuristic is enabled. The controller allocates a proportional amount of endpoints to each zone. This proportion is based on the allocatable CPU cores for nodes running in that zone. For example, if one zone had 2 CPU cores and another zone only had 1 CPU core, the controller would allocate twice as many endpoints to the zone with 2 CPU cores.The following example shows what an EndpointSlice looks",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/topology-aware-routing/",
    "id": "k8s_00124_qa_2156"
  },
  {
    "question": "When would you use Topology Aware Routing?",
    "answer": "Topology Aware RoutingTopology Aware Routing provides a mechanism to help keep network traffic within the zone where it originated. Preferring same-zone traffic between Pods in your cluster can help with reliability, performance (network latency and throughput), or cost.FEATURE STATE: Kubernetes v1.23 [beta]Note:Prior to Kubernetes 1.27, this feature was known as Topology Aware Hints.Topology Aware Routing adjusts routing behavior to prefer keeping traffic in the zone it originated from. In some cases this can help reduce costs or improve network performance.MotivationKubernetes clusters are increasingly deployed in multi-zone environments. Topology Aware Routing provides a mechanism to help keep traffic within the zone it originated from. When calculating the endpoints for a Service, the EndpointSlice controller considers the topology (region and zone) of each endpoint and populates the hints field to allocate it to a zone. Cluster components such as kube-proxy can then consume those hints, and use them to influence how the traffic is routed (favoring topologically closer endpoints).Enabling Topology Aware RoutingNote:Prior to Kubernetes 1.27, this behavior was controlled using the service.kubernetes.io/topology-aware-hints annotation.You can enable Topology Aware Routing for a Service by setting the service.kubernetes.io/topology-mode annotation to Auto. When there are enough endpoints available in each zone, Topology Hints will be populated on EndpointSlices to allocate individual endpoints to specific zones, resulting in traffic being routed closer to where it originated from.When it works bestThis feature works best when:1. Incoming traffic is evenly distributedIf a large proportion of traffic is originating from a single zone, that traffic could overload the subset of endpoints that have been allocated to that zone. This feature is not recommended when incoming traffic is expected to originate from a single zone.2. The Service has 3 or more endpoints per zoneIn a three zone cluster, this means 9 or more endpoints. If there are fewer than 3 endpoints per zone, there is a high (≈50%) probability that the EndpointSlice controller will not be able to allocate endpoints evenly and instead will fall back to the default cluster-wide routing approach.How It WorksThe \"Auto\" heuristic attempts to proportionally allocate a number of endpoints to each zone. Note that this heuristic works best for Services that have a significant number of endpoints.EndpointSlice controllerThe EndpointSlice controller is responsible for setting hints on EndpointSlices when this heuristic is enabled. The controller allocates a proportional amount of endpoints to each zone. This proportion is based on the allocatable CPU cores for nodes running in that zone. For example, if one zone had 2 CPU cores and another zone only had 1 CPU core, the controller would allocate twice as many endpoints to the zone with 2 CPU cores.The following example shows what an EndpointSlice looks",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/topology-aware-routing/",
    "id": "k8s_00124_qa_2157"
  },
  {
    "question": "What are the benefits of Topology Aware Routing?",
    "answer": "Topology Aware RoutingTopology Aware Routing provides a mechanism to help keep network traffic within the zone where it originated. Preferring same-zone traffic between Pods in your cluster can help with reliability, performance (network latency and throughput), or cost.FEATURE STATE: Kubernetes v1.23 [beta]Note:Prior to Kubernetes 1.27, this feature was known as Topology Aware Hints.Topology Aware Routing adjusts routing behavior to prefer keeping traffic in the zone it originated from. In some cases this can help reduce costs or improve network performance.MotivationKubernetes clusters are increasingly deployed in multi-zone environments. Topology Aware Routing provides a mechanism to help keep traffic within the zone it originated from. When calculating the endpoints for a Service, the EndpointSlice controller considers the topology (region and zone) of each endpoint and populates the hints field to allocate it to a zone. Cluster components such as kube-proxy can then consume those hints, and use them to influence how the traffic is routed (favoring topologically closer endpoints).Enabling Topology Aware RoutingNote:Prior to Kubernetes 1.27, this behavior was controlled using the service.kubernetes.io/topology-aware-hints annotation.You can enable Topology Aware Routing for a Service by setting the service.kubernetes.io/topology-mode annotation to Auto. When there are enough endpoints available in each zone, Topology Hints will be populated on EndpointSlices to allocate individual endpoints to specific zones, resulting in traffic being routed closer to where it originated from.When it works bestThis feature works best when:1. Incoming traffic is evenly distributedIf a large proportion of traffic is originating from a single zone, that traffic could overload the subset of endpoints that have been allocated to that zone. This feature is not recommended when incoming traffic is expected to originate from a single zone.2. The Service has 3 or more endpoints per zoneIn a three zone cluster, this means 9 or more endpoints. If there are fewer than 3 endpoints per zone, there is a high (≈50%) probability that the EndpointSlice controller will not be able to allocate endpoints evenly and instead will fall back to the default cluster-wide routing approach.How It WorksThe \"Auto\" heuristic attempts to proportionally allocate a number of endpoints to each zone. Note that this heuristic works best for Services that have a significant number of endpoints.EndpointSlice controllerThe EndpointSlice controller is responsible for setting hints on EndpointSlices when this heuristic is enabled. The controller allocates a proportional amount of endpoints to each zone. This proportion is based on the allocatable CPU cores for nodes running in that zone. For example, if one zone had 2 CPU cores and another zone only had 1 CPU core, the controller would allocate twice as many endpoints to the zone with 2 CPU cores.The following example shows what an EndpointSlice looks",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/topology-aware-routing/",
    "id": "k8s_00124_qa_2158"
  },
  {
    "question": "What is Note:?",
    "answer": "T o p o l o g y   A w a r e   R o u t i n g   a d j u s t s   r o u t i n g   b e h a v i o r   t o   p r e f e r   k e e p i n g   t r a f f i c   i n   t h e   z o n e   i t   o r i g i n a t e d   f r o m .   I n   s o m e   c a s e s   t h i s   c a n   h e l p   r e d u c e   c o s t s   o r   i m p r o v e   n e t w o r k   p e r f o r m a n c e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/topology-aware-routing/",
    "id": "k8s_00124_section_4_2159"
  },
  {
    "question": "What is Motivation?",
    "answer": "K u b e r n e t e s   c l u s t e r s   a r e   i n c r e a s i n g l y   d e p l o y e d   i n   m u l t i - z o n e   e n v i r o n m e n t s .   T o p o l o g y   A w a r e   R o u t i n g   p r o v i d e s   a   m e c h a n i s m   t o   h e l p   k e e p   t r a f f i c   w i t h i n   t h e   z o n e   i t   o r i g i n a t e d   f r o m .   W h e n   c a l c u l a t i n g   t h e   e n d p o i n t s   f o r   a   S e r v i c e ,   t h e   E n d p o i n t S l i c e   c o n t r o l l e r   c o n s i d e r s   t h e   t o p o l o g y   ( r e g i o n   a n d   z o n e )   o f   e a c h   e n d p o i n t   a n d   p o p u l a t e s   t h e   h i n t s   f i e l d   t o   a l l o c a t e   i t   t o   a   z o n e .   C l u s t e r   c o m p o n e n t s   s u c h   a s   k u b e - p r o x y   c a n   t h e n   c o n s u m e   t h o s e   h i n t s ,   a n d   u s e   t h e m   t o   i n f l u e n c e   h o w   t h e   t r a f f i c   i s   r o u t e d   ( f a v o r i n g   t o p o l o g i c a l l y   c l o s e r   e n d p o i n t s ) .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/topology-aware-routing/",
    "id": "k8s_00124_section_2_2160"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   e n a b l e   T o p o l o g y   A w a r e   R o u t i n g   f o r   a   S e r v i c e   b y   s e t t i n g   t h e   s e r v i c e . k u b e r n e t e s . i o / t o p o l o g y - m o d e   a n n o t a t i o n   t o   A u t o .   W h e n   t h e r e   a r e   e n o u g h   e n d p o i n t s   a v a i l a b l e   i n   e a c h   z o n e ,   T o p o l o g y   H i n t s   w i l l   b e   p o p u l a t e d   o n   E n d p o i n t S l i c e s   t o   a l l o c a t e   i n d i v i d u a l   e n d p o i n t s   t o   s p e c i f i c   z o n e s ,   r e s u l t i n g   i n   t r a f f i c   b e i n g   r o u t e d   c l o s e r   t o   w h e r e   i t   o r i g i n a t e d   f r o m .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/topology-aware-routing/",
    "id": "k8s_00124_section_4_2161"
  },
  {
    "question": "What is When it works best?",
    "answer": "T h i s   f e a t u r e   w o r k s   b e s t   w h e n :",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/topology-aware-routing/",
    "id": "k8s_00124_section_2_2162"
  },
  {
    "question": "What is 1. Incoming traffic is evenly distributed?",
    "answer": "I f   a   l a r g e   p r o p o r t i o n   o f   t r a f f i c   i s   o r i g i n a t i n g   f r o m   a   s i n g l e   z o n e ,   t h a t   t r a f f i c   c o u l d   o v e r l o a d   t h e   s u b s e t   o f   e n d p o i n t s   t h a t   h a v e   b e e n   a l l o c a t e d   t o   t h a t   z o n e .   T h i s   f e a t u r e   i s   n o t   r e c o m m e n d e d   w h e n   i n c o m i n g   t r a f f i c   i s   e x p e c t e d   t o   o r i g i n a t e   f r o m   a   s i n g l e   z o n e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/topology-aware-routing/",
    "id": "k8s_00124_section_3_2163"
  },
  {
    "question": "What is 2. The Service has 3 or more endpoints per zone?",
    "answer": "I n   a   t h r e e   z o n e   c l u s t e r ,   t h i s   m e a n s   9   o r   m o r e   e n d p o i n t s .   I f   t h e r e   a r e   f e w e r   t h a n   3   e n d p o i n t s   p e r   z o n e ,   t h e r e   i s   a   h i g h   ( ≈ 5 0 % )   p r o b a b i l i t y   t h a t   t h e   E n d p o i n t S l i c e   c o n t r o l l e r   w i l l   n o t   b e   a b l e   t o   a l l o c a t e   e n d p o i n t s   e v e n l y   a n d   i n s t e a d   w i l l   f a l l   b a c k   t o   t h e   d e f a u l t   c l u s t e r - w i d e   r o u t i n g   a p p r o a c h .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/topology-aware-routing/",
    "id": "k8s_00124_section_3_2164"
  },
  {
    "question": "What is How It Works?",
    "answer": "T h e   \" A u t o \"   h e u r i s t i c   a t t e m p t s   t o   p r o p o r t i o n a l l y   a l l o c a t e   a   n u m b e r   o f   e n d p o i n t s   t o   e a c h   z o n e .   N o t e   t h a t   t h i s   h e u r i s t i c   w o r k s   b e s t   f o r   S e r v i c e s   t h a t   h a v e   a   s i g n i f i c a n t   n u m b e r   o f   e n d p o i n t s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/topology-aware-routing/",
    "id": "k8s_00124_section_2_2165"
  },
  {
    "question": "What is EndpointSlice controller?",
    "answer": "T h e   E n d p o i n t S l i c e   c o n t r o l l e r   i s   r e s p o n s i b l e   f o r   s e t t i n g   h i n t s   o n   E n d p o i n t S l i c e s   w h e n   t h i s   h e u r i s t i c   i s   e n a b l e d .   T h e   c o n t r o l l e r   a l l o c a t e s   a   p r o p o r t i o n a l   a m o u n t   o f   e n d p o i n t s   t o   e a c h   z o n e .   T h i s   p r o p o r t i o n   i s   b a s e d   o n   t h e   a l l o c a t a b l e   C P U   c o r e s   f o r   n o d e s   r u n n i n g   i n   t h a t   z o n e .   F o r   e x a m p l e ,   i f   o n e   z o n e   h a d   2   C P U   c o r e s   a n d   a n o t h e r   z o n e   o n l y   h a d   1   C P U   c o r e ,   t h e   c o n t r o l l e r   w o u l d   a l l o c a t e   t w i c e   a s   m a n y   e n d p o i n t s   t o   t h e   z o n e   w i t h   2   C P U   c o r e s .   T h e   f o l l o w i n g   e x a m p l e   s h o w s   w h a t   a n   E n d p o i n t S l i c e   l o o k s   l i k e   w h e n   h i n t s   h a v e   b e e n   p o p u l a t e d :   a p i V e r s i o n :   d i s c o v e r y . k 8 s . i o / v 1   k i n d :   E n d p o i n t S l i c e   m e t a d a t a :   n a m e :   e x a m p l e - h i n t s   l a b e l s :   k u b e r n e t e s . i o / s e r v i c e - n a m e :   e x a m p l e - s v c   a d d r e s s T y p e :   I P v 4   p o r t s :   -   n a m e :   h t t p   p r o t o c o l :   T C P   p o r t :   8 0   e n d p o i n t s :   -   a d d r e s s e s :   -   \" 1 0 . 1 . 2 . 3 \"   c o n d i t i o n s :   r e a d y :   t r u e   h o s t n a m e :   p o d - 1   z o n e :   z o n e - a   h i n t s :   f o r Z o n e s :   -   n a m e :   \" z o n e - a \"",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/topology-aware-routing/",
    "id": "k8s_00124_section_3_2166"
  },
  {
    "question": "What is kube-proxy?",
    "answer": "T h e   k u b e - p r o x y   c o m p o n e n t   f i l t e r s   t h e   e n d p o i n t s   i t   r o u t e s   t o   b a s e d   o n   t h e   h i n t s   s e t   b y   t h e   E n d p o i n t S l i c e   c o n t r o l l e r .   I n   m o s t   c a s e s ,   t h i s   m e a n s   t h a t   t h e   k u b e - p r o x y   i s   a b l e   t o   r o u t e   t r a f f i c   t o   e n d p o i n t s   i n   t h e   s a m e   z o n e .   S o m e t i m e s   t h e   c o n t r o l l e r   a l l o c a t e s   e n d p o i n t s   f r o m   a   d i f f e r e n t   z o n e   t o   e n s u r e   m o r e   e v e n   d i s t r i b u t i o n   o f   e n d p o i n t s   b e t w e e n   z o n e s .   T h i s   w o u l d   r e s u l t   i n   s o m e   t r a f f i c   b e i n g   r o u t e d   t o   o t h e r   z o n e s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/topology-aware-routing/",
    "id": "k8s_00124_section_3_2167"
  },
  {
    "question": "What is Safeguards?",
    "answer": "T h e   K u b e r n e t e s   c o n t r o l   p l a n e   a n d   t h e   k u b e - p r o x y   o n   e a c h   n o d e   a p p l y   s o m e   s a f e g u a r d   r u l e s   b e f o r e   u s i n g   T o p o l o g y   A w a r e   H i n t s .   I f   t h e s e   d o n ' t   c h e c k   o u t ,   t h e   k u b e - p r o x y   s e l e c t s   e n d p o i n t s   f r o m   a n y w h e r e   i n   y o u r   c l u s t e r ,   r e g a r d l e s s   o f   t h e   z o n e .   I n s u f f i c i e n t   n u m b e r   o f   e n d p o i n t s :   I f   t h e r e   a r e   l e s s   e n d p o i n t s   t h a n   z o n e s   i n   a   c l u s t e r ,   t h e   c o n t r o l l e r   w i l l   n o t   a s s i g n   a n y   h i n t s . I m p o s s i b l e   t o   a c h i e v e   b a l a n c e d   a l l o c a t i o n :   I n   s o m e   c a s e s ,   i t   w i l l   b e   i m p o s s i b l e   t o   a c h i e v e   a   b a l a n c e d   a l l o c a t i o n   o f   e n d p o i n t s   a m o n g   z o n e s .   F o r   e x a m p l e ,   i f   z o n e - a   i s   t w i c e   a s   l a r g e   a s   z o n e - b ,   b u t   t h e r e   a r e   o n l y   2   e n d p o i n t s ,   a n   e n d p o i n t   a l l o c a t e d   t o   z o n e - a   m a y   r e c e i v e   t w i c e   a s   m u c h   t r a f f i c   a s   z o n e - b .   T h e   c o n t r o l l e r   d o e s   n o t   a s s i g n   h i n t s   i f   i t   c a n ' t   g e t   t h i s   \" e x p e c t e d   o v e r l o a d \"   v a l u e   b e l o w   a n   a c c e p t a b l e   t h r e s h o l d   f o r   e a c h   z o n e .   I m p o r t a n t l y   t h i s   i s   n o t   b a s e d   o n   r e a l - t i m e",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/topology-aware-routing/",
    "id": "k8s_00124_section_2_2168"
  },
  {
    "question": "What is Constraints?",
    "answer": "T o p o l o g y   A w a r e   H i n t s   a r e   n o t   u s e d   w h e n   i n t e r n a l T r a f f i c P o l i c y   i s   s e t   t o   L o c a l   o n   a   S e r v i c e .   I t   i s   p o s s i b l e   t o   u s e   b o t h   f e a t u r e s   i n   t h e   s a m e   c l u s t e r   o n   d i f f e r e n t   S e r v i c e s ,   j u s t   n o t   o n   t h e   s a m e   S e r v i c e . T h i s   a p p r o a c h   w i l l   n o t   w o r k   w e l l   f o r   S e r v i c e s   t h a t   h a v e   a   l a r g e   p r o p o r t i o n   o f   t r a f f i c   o r i g i n a t i n g   f r o m   a   s u b s e t   o f   z o n e s .   I n s t e a d   t h i s   a s s u m e s   t h a t   i n c o m i n g   t r a f f i c   w i l l   b e   r o u g h l y   p r o p o r t i o n a l   t o   t h e   c a p a c i t y   o f   t h e   N o d e s   i n   e a c h   z o n e . T h e   E n d p o i n t S l i c e   c o n t r o l l e r   i g n o r e s   u n r e a d y   n o d e s   a s   i t   c a l c u l a t e s   t h e   p r o p o r t i o n s   o f   e a c h   z o n e .   T h i s   c o u l d   h a v e   u n i n t e n d e d   c o n s e q u e n c e s   i f   a   l a r g e   p o r t i o n   o f   n o d e s   a r e   u n r e a d y . T h e   E n d p o i n t S l i c e   c o n t r o l l e r   i g n o r e s   n o d e s   w i t h   t h e   n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e   o r   n o d e - r o l e . k u b e r n e t e s . i o / m a s t e r   l a b e l   s e t .   T h i s   c o u l d   b e   p r o b l e m a t i c   i f   w o r k l o a d s   a r e   a l s o   r u n n i n g   o n   t h o s e   n o d e s . T h e   E n d p o i n t S l i c e   c o n t r o l l e r   d o e s   n o t   t a k e   i n t o   a c c o u n t   t o l e r a t i o n s   w h e n   d e p l o y i n g   o r   c a l c u l a t i n g   t h e   p r o p o r t i o n s   o f   e a c h   z o n e .   I f   t h e   P o d s   b a c k i n g   a   S e r v i c e   a r e   l i m i t e d   t o   a   s u b s e t ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/topology-aware-routing/",
    "id": "k8s_00124_section_2_2169"
  },
  {
    "question": "What is Custom heuristics?",
    "answer": "K u b e r n e t e s   i s   d e p l o y e d   i n   m a n y   d i f f e r e n t   w a y s ,   t h e r e   i s   n o   s i n g l e   h e u r i s t i c   f o r   a l l o c a t i n g   e n d p o i n t s   t o   z o n e s   w i l l   w o r k   f o r   e v e r y   u s e   c a s e .   A   k e y   g o a l   o f   t h i s   f e a t u r e   i s   t o   e n a b l e   c u s t o m   h e u r i s t i c s   t o   b e   d e v e l o p e d   i f   t h e   b u i l t   i n   h e u r i s t i c   d o e s   n o t   w o r k   f o r   y o u r   u s e   c a s e .   T h e   f i r s t   s t e p s   t o   e n a b l e   c u s t o m   h e u r i s t i c s   w e r e   i n c l u d e d   i n   t h e   1 . 2 7   r e l e a s e .   T h i s   i s   a   l i m i t e d   i m p l e m e n t a t i o n   t h a t   m a y   n o t   y e t   c o v e r   s o m e   r e l e v a n t   a n d   p l a u s i b l e   s i t u a t i o n s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/topology-aware-routing/",
    "id": "k8s_00124_section_2_2170"
  },
  {
    "question": "What is What's next?",
    "answer": "F o l l o w   t h e   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s   t u t o r i a l L e a r n   a b o u t   t h e   t r a f f i c D i s t r i b u t i o n   f i e l d ,   w h i c h   i s   c l o s e l y   r e l a t e d   t o   t h e   s e r v i c e . k u b e r n e t e s . i o / t o p o l o g y - m o d e   a n n o t a t i o n   a n d   p r o v i d e s   f l e x i b l e   o p t i o n s   f o r   t r a f f i c   r o u t i n g   w i t h i n   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/topology-aware-routing/",
    "id": "k8s_00124_section_2_2171"
  },
  {
    "question": "What is Manage Kubernetes Objects?",
    "answer": "Manage Kubernetes ObjectsDeclarative and imperative paradigms for interacting with the Kubernetes API.Declarative Management of Kubernetes Objects Using Configuration FilesDeclarative Management of Kubernetes Objects Using KustomizeManaging Kubernetes Objects Using Imperative CommandsImperative Management of Kubernetes Objects Using Configuration FilesUpdate API Objects in Place Using kubectl patchUse kubectl patch to update Kubernetes API objects in place. Do a strategic merge patch or a JSON merge patch.Migrate Kubernetes Objects Using Storage Version Migration",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/",
    "id": "k8s_00125_qa_2172"
  },
  {
    "question": "How does Manage Kubernetes Objects work?",
    "answer": "Manage Kubernetes ObjectsDeclarative and imperative paradigms for interacting with the Kubernetes API.Declarative Management of Kubernetes Objects Using Configuration FilesDeclarative Management of Kubernetes Objects Using KustomizeManaging Kubernetes Objects Using Imperative CommandsImperative Management of Kubernetes Objects Using Configuration FilesUpdate API Objects in Place Using kubectl patchUse kubectl patch to update Kubernetes API objects in place. Do a strategic merge patch or a JSON merge patch.Migrate Kubernetes Objects Using Storage Version Migration",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/",
    "id": "k8s_00125_qa_2173"
  },
  {
    "question": "When would you use Manage Kubernetes Objects?",
    "answer": "Manage Kubernetes ObjectsDeclarative and imperative paradigms for interacting with the Kubernetes API.Declarative Management of Kubernetes Objects Using Configuration FilesDeclarative Management of Kubernetes Objects Using KustomizeManaging Kubernetes Objects Using Imperative CommandsImperative Management of Kubernetes Objects Using Configuration FilesUpdate API Objects in Place Using kubectl patchUse kubectl patch to update Kubernetes API objects in place. Do a strategic merge patch or a JSON merge patch.Migrate Kubernetes Objects Using Storage Version Migration",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/",
    "id": "k8s_00125_qa_2174"
  },
  {
    "question": "What are the benefits of Manage Kubernetes Objects?",
    "answer": "Manage Kubernetes ObjectsDeclarative and imperative paradigms for interacting with the Kubernetes API.Declarative Management of Kubernetes Objects Using Configuration FilesDeclarative Management of Kubernetes Objects Using KustomizeManaging Kubernetes Objects Using Imperative CommandsImperative Management of Kubernetes Objects Using Configuration FilesUpdate API Objects in Place Using kubectl patchUse kubectl patch to update Kubernetes API objects in place. Do a strategic merge patch or a JSON merge patch.Migrate Kubernetes Objects Using Storage Version Migration",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/",
    "id": "k8s_00125_qa_2175"
  },
  {
    "question": "What is Update API Objects in Place Using kubectl patch?",
    "answer": "U s e   k u b e c t l   p a t c h   t o   u p d a t e   K u b e r n e t e s   A P I   o b j e c t s   i n   p l a c e .   D o   a   s t r a t e g i c   m e r g e   p a t c h   o r   a   J S O N   m e r g e   p a t c h .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/",
    "id": "k8s_00125_section_5_2176"
  },
  {
    "question": "What is Extend kubectl with plugins?",
    "answer": "Extend kubectl with pluginsExtend kubectl by creating and installing kubectl plugins.This guide demonstrates how to install and write extensions for kubectl. By thinking of core kubectl commands as essential building blocks for interacting with a Kubernetes cluster, a cluster administrator can think of plugins as a means of utilizing these building blocks to create more complex behavior. Plugins extend kubectl with new sub-commands, allowing for new and custom features not included in the main distribution of kubectl.Before you beginYou need to have a working kubectl binary installed.Installing kubectl pluginsA plugin is a standalone executable file, whose name begins with kubectl-. To install a plugin, move its executable file to anywhere on your PATH.You can also discover and install kubectl plugins available in the open source using Krew. Krew is a plugin manager maintained by the Kubernetes SIG CLI community.Caution:Kubectl plugins available via the Krew plugin index are not audited for security. You should install and run third-party plugins at your own risk, since they are arbitrary programs running on your machine.Discovering pluginskubectl provides a command kubectl plugin list that searches your PATH for valid plugin executables. Executing this command causes a traversal of all files in your PATH. Any files that are executable, and begin with kubectl- will show up in the order in which they are present in your PATH in this command's output. A warning will be included for any files beginning with kubectl- that are not executable. A warning will also be included for any valid plugin files that overlap each other's name.You can use Krew to discover and install kubectl plugins from a community-curated plugin index.Create pluginskubectl allows plugins to add custom create commands of the shape kubectl create something by providing a kubectl-create-something binary in the PATH.LimitationsIt is currently not possible to create plugins that overwrite existing kubectl commands or extend commands other than create. For example, creating a plugin kubectl-version will cause that plugin to never be executed, as the existing kubectl version command will always take precedence over it. Due to this limitation, it is also not possible to use plugins to add new subcommands to existing kubectl commands. For example, adding a subcommand kubectl attach vm by naming your plugin kubectl-attach-vm will cause that plugin to be ignored.kubectl plugin list shows warnings for any valid plugins that attempt to do this.Writing kubectl pluginsYou can write a plugin in any programming language or script that allows you to write command-line commands.There is no plugin installation or pre-loading required. Plugin executables receive the inherited environment from the kubectl binary. A plugin determines which command path it wishes to implement based on its name. For example, a plugin named kubectl-foo provides a command kubectl foo. You must install the plugin executabl",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/",
    "id": "k8s_00126_qa_2177"
  },
  {
    "question": "How does Extend kubectl with plugins work?",
    "answer": "Extend kubectl with pluginsExtend kubectl by creating and installing kubectl plugins.This guide demonstrates how to install and write extensions for kubectl. By thinking of core kubectl commands as essential building blocks for interacting with a Kubernetes cluster, a cluster administrator can think of plugins as a means of utilizing these building blocks to create more complex behavior. Plugins extend kubectl with new sub-commands, allowing for new and custom features not included in the main distribution of kubectl.Before you beginYou need to have a working kubectl binary installed.Installing kubectl pluginsA plugin is a standalone executable file, whose name begins with kubectl-. To install a plugin, move its executable file to anywhere on your PATH.You can also discover and install kubectl plugins available in the open source using Krew. Krew is a plugin manager maintained by the Kubernetes SIG CLI community.Caution:Kubectl plugins available via the Krew plugin index are not audited for security. You should install and run third-party plugins at your own risk, since they are arbitrary programs running on your machine.Discovering pluginskubectl provides a command kubectl plugin list that searches your PATH for valid plugin executables. Executing this command causes a traversal of all files in your PATH. Any files that are executable, and begin with kubectl- will show up in the order in which they are present in your PATH in this command's output. A warning will be included for any files beginning with kubectl- that are not executable. A warning will also be included for any valid plugin files that overlap each other's name.You can use Krew to discover and install kubectl plugins from a community-curated plugin index.Create pluginskubectl allows plugins to add custom create commands of the shape kubectl create something by providing a kubectl-create-something binary in the PATH.LimitationsIt is currently not possible to create plugins that overwrite existing kubectl commands or extend commands other than create. For example, creating a plugin kubectl-version will cause that plugin to never be executed, as the existing kubectl version command will always take precedence over it. Due to this limitation, it is also not possible to use plugins to add new subcommands to existing kubectl commands. For example, adding a subcommand kubectl attach vm by naming your plugin kubectl-attach-vm will cause that plugin to be ignored.kubectl plugin list shows warnings for any valid plugins that attempt to do this.Writing kubectl pluginsYou can write a plugin in any programming language or script that allows you to write command-line commands.There is no plugin installation or pre-loading required. Plugin executables receive the inherited environment from the kubectl binary. A plugin determines which command path it wishes to implement based on its name. For example, a plugin named kubectl-foo provides a command kubectl foo. You must install the plugin executabl",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/",
    "id": "k8s_00126_qa_2178"
  },
  {
    "question": "When would you use Extend kubectl with plugins?",
    "answer": "Extend kubectl with pluginsExtend kubectl by creating and installing kubectl plugins.This guide demonstrates how to install and write extensions for kubectl. By thinking of core kubectl commands as essential building blocks for interacting with a Kubernetes cluster, a cluster administrator can think of plugins as a means of utilizing these building blocks to create more complex behavior. Plugins extend kubectl with new sub-commands, allowing for new and custom features not included in the main distribution of kubectl.Before you beginYou need to have a working kubectl binary installed.Installing kubectl pluginsA plugin is a standalone executable file, whose name begins with kubectl-. To install a plugin, move its executable file to anywhere on your PATH.You can also discover and install kubectl plugins available in the open source using Krew. Krew is a plugin manager maintained by the Kubernetes SIG CLI community.Caution:Kubectl plugins available via the Krew plugin index are not audited for security. You should install and run third-party plugins at your own risk, since they are arbitrary programs running on your machine.Discovering pluginskubectl provides a command kubectl plugin list that searches your PATH for valid plugin executables. Executing this command causes a traversal of all files in your PATH. Any files that are executable, and begin with kubectl- will show up in the order in which they are present in your PATH in this command's output. A warning will be included for any files beginning with kubectl- that are not executable. A warning will also be included for any valid plugin files that overlap each other's name.You can use Krew to discover and install kubectl plugins from a community-curated plugin index.Create pluginskubectl allows plugins to add custom create commands of the shape kubectl create something by providing a kubectl-create-something binary in the PATH.LimitationsIt is currently not possible to create plugins that overwrite existing kubectl commands or extend commands other than create. For example, creating a plugin kubectl-version will cause that plugin to never be executed, as the existing kubectl version command will always take precedence over it. Due to this limitation, it is also not possible to use plugins to add new subcommands to existing kubectl commands. For example, adding a subcommand kubectl attach vm by naming your plugin kubectl-attach-vm will cause that plugin to be ignored.kubectl plugin list shows warnings for any valid plugins that attempt to do this.Writing kubectl pluginsYou can write a plugin in any programming language or script that allows you to write command-line commands.There is no plugin installation or pre-loading required. Plugin executables receive the inherited environment from the kubectl binary. A plugin determines which command path it wishes to implement based on its name. For example, a plugin named kubectl-foo provides a command kubectl foo. You must install the plugin executabl",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/",
    "id": "k8s_00126_qa_2179"
  },
  {
    "question": "What are the benefits of Extend kubectl with plugins?",
    "answer": "Extend kubectl with pluginsExtend kubectl by creating and installing kubectl plugins.This guide demonstrates how to install and write extensions for kubectl. By thinking of core kubectl commands as essential building blocks for interacting with a Kubernetes cluster, a cluster administrator can think of plugins as a means of utilizing these building blocks to create more complex behavior. Plugins extend kubectl with new sub-commands, allowing for new and custom features not included in the main distribution of kubectl.Before you beginYou need to have a working kubectl binary installed.Installing kubectl pluginsA plugin is a standalone executable file, whose name begins with kubectl-. To install a plugin, move its executable file to anywhere on your PATH.You can also discover and install kubectl plugins available in the open source using Krew. Krew is a plugin manager maintained by the Kubernetes SIG CLI community.Caution:Kubectl plugins available via the Krew plugin index are not audited for security. You should install and run third-party plugins at your own risk, since they are arbitrary programs running on your machine.Discovering pluginskubectl provides a command kubectl plugin list that searches your PATH for valid plugin executables. Executing this command causes a traversal of all files in your PATH. Any files that are executable, and begin with kubectl- will show up in the order in which they are present in your PATH in this command's output. A warning will be included for any files beginning with kubectl- that are not executable. A warning will also be included for any valid plugin files that overlap each other's name.You can use Krew to discover and install kubectl plugins from a community-curated plugin index.Create pluginskubectl allows plugins to add custom create commands of the shape kubectl create something by providing a kubectl-create-something binary in the PATH.LimitationsIt is currently not possible to create plugins that overwrite existing kubectl commands or extend commands other than create. For example, creating a plugin kubectl-version will cause that plugin to never be executed, as the existing kubectl version command will always take precedence over it. Due to this limitation, it is also not possible to use plugins to add new subcommands to existing kubectl commands. For example, adding a subcommand kubectl attach vm by naming your plugin kubectl-attach-vm will cause that plugin to be ignored.kubectl plugin list shows warnings for any valid plugins that attempt to do this.Writing kubectl pluginsYou can write a plugin in any programming language or script that allows you to write command-line commands.There is no plugin installation or pre-loading required. Plugin executables receive the inherited environment from the kubectl binary. A plugin determines which command path it wishes to implement based on its name. For example, a plugin named kubectl-foo provides a command kubectl foo. You must install the plugin executabl",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/",
    "id": "k8s_00126_qa_2180"
  },
  {
    "question": "What is Extend kubectl with plugins?",
    "answer": "T h i s   g u i d e   d e m o n s t r a t e s   h o w   t o   i n s t a l l   a n d   w r i t e   e x t e n s i o n s   f o r   k u b e c t l .   B y   t h i n k i n g   o f   c o r e   k u b e c t l   c o m m a n d s   a s   e s s e n t i a l   b u i l d i n g   b l o c k s   f o r   i n t e r a c t i n g   w i t h   a   K u b e r n e t e s   c l u s t e r ,   a   c l u s t e r   a d m i n i s t r a t o r   c a n   t h i n k   o f   p l u g i n s   a s   a   m e a n s   o f   u t i l i z i n g   t h e s e   b u i l d i n g   b l o c k s   t o   c r e a t e   m o r e   c o m p l e x   b e h a v i o r .   P l u g i n s   e x t e n d   k u b e c t l   w i t h   n e w   s u b - c o m m a n d s ,   a l l o w i n g   f o r   n e w   a n d   c u s t o m   f e a t u r e s   n o t   i n c l u d e d   i n   t h e   m a i n   d i s t r i b u t i o n   o f   k u b e c t l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/",
    "id": "k8s_00126_section_1_2181"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   w o r k i n g   k u b e c t l   b i n a r y   i n s t a l l e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/",
    "id": "k8s_00126_section_2_2182"
  },
  {
    "question": "What is Installing kubectl plugins?",
    "answer": "A   p l u g i n   i s   a   s t a n d a l o n e   e x e c u t a b l e   f i l e ,   w h o s e   n a m e   b e g i n s   w i t h   k u b e c t l - .   T o   i n s t a l l   a   p l u g i n ,   m o v e   i t s   e x e c u t a b l e   f i l e   t o   a n y w h e r e   o n   y o u r   P A T H .   Y o u   c a n   a l s o   d i s c o v e r   a n d   i n s t a l l   k u b e c t l   p l u g i n s   a v a i l a b l e   i n   t h e   o p e n   s o u r c e   u s i n g   K r e w .   K r e w   i s   a   p l u g i n   m a n a g e r   m a i n t a i n e d   b y   t h e   K u b e r n e t e s   S I G   C L I   c o m m u n i t y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/",
    "id": "k8s_00126_section_2_2183"
  },
  {
    "question": "What is Discovering plugins?",
    "answer": "k u b e c t l   p r o v i d e s   a   c o m m a n d   k u b e c t l   p l u g i n   l i s t   t h a t   s e a r c h e s   y o u r   P A T H   f o r   v a l i d   p l u g i n   e x e c u t a b l e s .   E x e c u t i n g   t h i s   c o m m a n d   c a u s e s   a   t r a v e r s a l   o f   a l l   f i l e s   i n   y o u r   P A T H .   A n y   f i l e s   t h a t   a r e   e x e c u t a b l e ,   a n d   b e g i n   w i t h   k u b e c t l -   w i l l   s h o w   u p   i n   t h e   o r d e r   i n   w h i c h   t h e y   a r e   p r e s e n t   i n   y o u r   P A T H   i n   t h i s   c o m m a n d ' s   o u t p u t .   A   w a r n i n g   w i l l   b e   i n c l u d e d   f o r   a n y   f i l e s   b e g i n n i n g   w i t h   k u b e c t l -   t h a t   a r e   n o t   e x e c u t a b l e .   A   w a r n i n g   w i l l   a l s o   b e   i n c l u d e d   f o r   a n y   v a l i d   p l u g i n   f i l e s   t h a t   o v e r l a p   e a c h   o t h e r ' s   n a m e .   Y o u   c a n   u s e   K r e w   t o   d i s c o v e r   a n d   i n s t a l l   k u b e c t l   p l u g i n s   f r o m   a   c o m m u n i t y - c u r a t e d   p l u g i n   i n d e x .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/",
    "id": "k8s_00126_section_3_2184"
  },
  {
    "question": "What is Create plugins?",
    "answer": "k u b e c t l   a l l o w s   p l u g i n s   t o   a d d   c u s t o m   c r e a t e   c o m m a n d s   o f   t h e   s h a p e   k u b e c t l   c r e a t e   s o m e t h i n g   b y   p r o v i d i n g   a   k u b e c t l - c r e a t e - s o m e t h i n g   b i n a r y   i n   t h e   P A T H .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/",
    "id": "k8s_00126_section_4_2185"
  },
  {
    "question": "What is Limitations?",
    "answer": "I t   i s   c u r r e n t l y   n o t   p o s s i b l e   t o   c r e a t e   p l u g i n s   t h a t   o v e r w r i t e   e x i s t i n g   k u b e c t l   c o m m a n d s   o r   e x t e n d   c o m m a n d s   o t h e r   t h a n   c r e a t e .   F o r   e x a m p l e ,   c r e a t i n g   a   p l u g i n   k u b e c t l - v e r s i o n   w i l l   c a u s e   t h a t   p l u g i n   t o   n e v e r   b e   e x e c u t e d ,   a s   t h e   e x i s t i n g   k u b e c t l   v e r s i o n   c o m m a n d   w i l l   a l w a y s   t a k e   p r e c e d e n c e   o v e r   i t .   D u e   t o   t h i s   l i m i t a t i o n ,   i t   i s   a l s o   n o t   p o s s i b l e   t o   u s e   p l u g i n s   t o   a d d   n e w   s u b c o m m a n d s   t o   e x i s t i n g   k u b e c t l   c o m m a n d s .   F o r   e x a m p l e ,   a d d i n g   a   s u b c o m m a n d   k u b e c t l   a t t a c h   v m   b y   n a m i n g   y o u r   p l u g i n   k u b e c t l - a t t a c h - v m   w i l l   c a u s e   t h a t   p l u g i n   t o   b e   i g n o r e d .   k u b e c t l   p l u g i n   l i s t   s h o w s   w a r n i n g s   f o r   a n y   v a l i d   p l u g i n s   t h a t   a t t e m p t   t o   d o   t h i s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/",
    "id": "k8s_00126_section_4_2186"
  },
  {
    "question": "What is Writing kubectl plugins?",
    "answer": "Y o u   c a n   w r i t e   a   p l u g i n   i n   a n y   p r o g r a m m i n g   l a n g u a g e   o r   s c r i p t   t h a t   a l l o w s   y o u   t o   w r i t e   c o m m a n d - l i n e   c o m m a n d s .   T h e r e   i s   n o   p l u g i n   i n s t a l l a t i o n   o r   p r e - l o a d i n g   r e q u i r e d .   P l u g i n   e x e c u t a b l e s   r e c e i v e   t h e   i n h e r i t e d   e n v i r o n m e n t   f r o m   t h e   k u b e c t l   b i n a r y .   A   p l u g i n   d e t e r m i n e s   w h i c h   c o m m a n d   p a t h   i t   w i s h e s   t o   i m p l e m e n t   b a s e d   o n   i t s   n a m e .   F o r   e x a m p l e ,   a   p l u g i n   n a m e d   k u b e c t l - f o o   p r o v i d e s   a   c o m m a n d   k u b e c t l   f o o .   Y o u   m u s t   i n s t a l l   t h e   p l u g i n   e x e c u t a b l e   s o m e w h e r e   i n   y o u r   P A T H .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/",
    "id": "k8s_00126_section_2_2187"
  },
  {
    "question": "What is Example plugin?",
    "answer": "# ! / b i n / b a s h   #   o p t i o n a l   a r g u m e n t   h a n d l i n g   i f   [ [   \" $ 1 \"   = =   \" v e r s i o n \"   ] ]   t h e n   e c h o   \" 1 . 0 . 0 \"   e x i t   0   f i   #   o p t i o n a l   a r g u m e n t   h a n d l i n g   i f   [ [   \" $ 1 \"   = =   \" c o n f i g \"   ] ]   t h e n   e c h o   \" $ K U B E C O N F I G \"   e x i t   0   f i   e c h o   \" I   a m   a   p l u g i n   n a m e d   k u b e c t l - f o o \"",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/",
    "id": "k8s_00126_section_3_2188"
  },
  {
    "question": "What is Using a plugin?",
    "answer": "T o   u s e   a   p l u g i n ,   m a k e   t h e   p l u g i n   e x e c u t a b l e :   s u d o   c h m o d   + x   . / k u b e c t l - f o o   a n d   p l a c e   i t   a n y w h e r e   i n   y o u r   P A T H :   s u d o   m v   . / k u b e c t l - f o o   / u s r / l o c a l / b i n   Y o u   m a y   n o w   i n v o k e   y o u r   p l u g i n   a s   a   k u b e c t l   c o m m a n d :   k u b e c t l   f o o   I   a m   a   p l u g i n   n a m e d   k u b e c t l - f o o   A l l   a r g s   a n d   f l a g s   a r e   p a s s e d   a s - i s   t o   t h e   e x e c u t a b l e :   k u b e c t l   f o o   v e r s i o n   1 . 0 . 0   A l l   e n v i r o n m e n t   v a r i a b l e s   a r e   a l s o   p a s s e d   a s - i s   t o   t h e   e x e c u t a b l e :   e x p o r t   K U B E C O N F I G = ~ / . k u b e / c o n f i g   k u b e c t l   f o o   c o n f i g   / h o m e / < u s e r > / . k u b e / c o n f i g   K U B E C O N F I G = / e t c / k u b e / c o n f i g   k u b e c t l   f o o   c o n f i g   / e t c / k u b e / c o n f i g   A d d i t i o n a l l y ,   t h e   f i r s t   a r g u m e n t   t h a t   i s   p a s s e d   t o   a   p l u g i n   w i l l   a l w a y s   b e   t h e   f u l l   p a t h   t o   t h e   l o c a t i o n   w h e r e   i t   w a s   i n v o k e d   ( $ 0   w o u l d   e q u a l   / u s r / l o c a l / b i n / k u b e c t l - f o o   i n   t h e   e x a m p l e   a b o v e ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/",
    "id": "k8s_00126_section_3_2189"
  },
  {
    "question": "What is Naming a plugin?",
    "answer": "A s   s e e n   i n   t h e   e x a m p l e   a b o v e ,   a   p l u g i n   d e t e r m i n e s   t h e   c o m m a n d   p a t h   t h a t   i t   w i l l   i m p l e m e n t   b a s e d   o n   i t s   f i l e n a m e .   E v e r y   s u b - c o m m a n d   i n   t h e   c o m m a n d   p a t h   t h a t   a   p l u g i n   t a r g e t s ,   i s   s e p a r a t e d   b y   a   d a s h   ( - ) .   F o r   e x a m p l e ,   a   p l u g i n   t h a t   w i s h e s   t o   b e   i n v o k e d   w h e n e v e r   t h e   c o m m a n d   k u b e c t l   f o o   b a r   b a z   i s   i n v o k e d   b y   t h e   u s e r ,   w o u l d   h a v e   t h e   f i l e n a m e   o f   k u b e c t l - f o o - b a r - b a z .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/",
    "id": "k8s_00126_section_3_2190"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   p l u g i n   m e c h a n i s m   d o e s   n o t   c r e a t e   a n y   c u s t o m ,   p l u g i n - s p e c i f i c   v a l u e s   o r   e n v i r o n m e n t   v a r i a b l e s   f o r   a   p l u g i n   p r o c e s s .   A n   o l d e r   k u b e c t l   p l u g i n   m e c h a n i s m   p r o v i d e d   e n v i r o n m e n t   v a r i a b l e s   s u c h   a s   K U B E C T L _ P L U G I N S _ C U R R E N T _ N A M E S P A C E ;   t h a t   n o   l o n g e r   h a p p e n s .   k u b e c t l   p l u g i n s   m u s t   p a r s e   a n d   v a l i d a t e   a l l   o f   t h e   a r g u m e n t s   p a s s e d   t o   t h e m .   S e e   u s i n g   t h e   c o m m a n d   l i n e   r u n t i m e   p a c k a g e   f o r   d e t a i l s   o f   a   G o   l i b r a r y   a i m e d   a t   p l u g i n   a u t h o r s .   H e r e   a r e   s o m e   a d d i t i o n a l   c a s e s   w h e r e   u s e r s   i n v o k e   y o u r   p l u g i n   w h i l e   p r o v i d i n g   a d d i t i o n a l   f l a g s   a n d   a r g u m e n t s .   T h i s   b u i l d s   u p o n   t h e   k u b e c t l - f o o - b a r - b a z   p l u g i n   f r o m   t h e   s c e n a r i o   a b o v e .   I f   y o u   r u n   k u b e c t l   f o o   b a r   b a z   a r g 1   - - f l a g = v a l u e   a r g 2 ,   k u b e c t l ' s   p l u g i n   m e c h a n i s m   w i l l   f i r s t   t r y   t o   f i n d   t h e   p l u g i n   w i t h   t h e   l o n g e s t   p o s s i b l e   n a m e ,   w h i c h   i n   t h i s   c a s e   w o u l d   b e   k u b e c t l - f o o - b a r - b a z - a r g 1 .   U p o n   n o t   f i n d i n g   t h a t   p l u g i n ,   k u b e c t l   t h e n   t r e a t s   t h e   l a s t   d a s h - s e p a r a t e d   v a l u e   a s   a n   a r g u m e n t   ( a r g 1   i n   t h i s   c a s e ) ,   a n d   a t t e m p t s   t o   f i n d   t h e   n e x t   l o n g e s t   p o s s i b l e   n a m e ,   k u b e c t l - f o o - b a r - b a z .   U ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/",
    "id": "k8s_00126_section_4_2191"
  },
  {
    "question": "What is Names with dashes and underscores?",
    "answer": "A l t h o u g h   t h e   k u b e c t l   p l u g i n   m e c h a n i s m   u s e s   t h e   d a s h   ( - )   i n   p l u g i n   f i l e n a m e s   t o   s e p a r a t e   t h e   s e q u e n c e   o f   s u b - c o m m a n d s   p r o c e s s e d   b y   t h e   p l u g i n ,   i t   i s   s t i l l   p o s s i b l e   t o   c r e a t e   a   p l u g i n   c o m m a n d   c o n t a i n i n g   d a s h e s   i n   i t s   c o m m a n d l i n e   i n v o c a t i o n   b y   u s i n g   u n d e r s c o r e s   ( _ )   i n   i t s   f i l e n a m e .   E x a m p l e :   #   c r e a t e   a   p l u g i n   c o n t a i n i n g   a n   u n d e r s c o r e   i n   i t s   f i l e n a m e   e c h o   - e   ' # ! / b i n / b a s h \\ n \\ n e c h o   \" I   a m   a   p l u g i n   w i t h   a   d a s h   i n   m y   n a m e \" '   >   . / k u b e c t l - f o o _ b a r   s u d o   c h m o d   + x   . / k u b e c t l - f o o _ b a r   #   m o v e   t h e   p l u g i n   i n t o   y o u r   $ P A T H   s u d o   m v   . / k u b e c t l - f o o _ b a r   / u s r / l o c a l / b i n   #   Y o u   c a n   n o w   i n v o k e   y o u r   p l u g i n   v i a   k u b e c t l :   k u b e c t l   f o o - b a r   I   a m   a   p l u g i n   w i t h   a   d a s h   i n   m y   n a m e   N o t e   t h a t   t h e   i n t r o d u c t i o n   o f   u n d e r s c o r e s   t o   a   p l u g i n   f i l e n a m e   d o e s   n o t   p r e v e n t   y o u   f r o m   h a v i n g   c o m m a n d s   s u c h   a s   k u b e c t l   f o o _ b a r .   T h e   c o m m a n d   f r o m   t h e   a b o v e   e x a m p l e ,   c a n   b e   i n v o k e d   u s i n g   e i t h e r   a   d a s h   ( - )   o r   a n   u n d e r s c o r e   ( _ ) :   #   Y o u   c a n   i n v o k e   y o u r   c u s t o m   c o m m a n d   w i t h   a   d a s h   k u b e c t l   f o o - b a r   I   a m   a   p l u g i n   w i t h   a   d a s h   i n   m y   n a m e   #   Y o u   c a n   a l s o   i n v o k e   y o u r   c ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/",
    "id": "k8s_00126_section_4_2192"
  },
  {
    "question": "What is Name conflicts and overshadowing?",
    "answer": "I t   i s   p o s s i b l e   t o   h a v e   m u l t i p l e   p l u g i n s   w i t h   t h e   s a m e   f i l e n a m e   i n   d i f f e r e n t   l o c a t i o n s   t h r o u g h o u t   y o u r   P A T H .   F o r   e x a m p l e ,   g i v e n   a   P A T H   w i t h   t h e   f o l l o w i n g   v a l u e :   P A T H = / u s r / l o c a l / b i n / p l u g i n s : / u s r / l o c a l / b i n / m o r e p l u g i n s ,   a   c o p y   o f   p l u g i n   k u b e c t l - f o o   c o u l d   e x i s t   i n   / u s r / l o c a l / b i n / p l u g i n s   a n d   / u s r / l o c a l / b i n / m o r e p l u g i n s ,   s u c h   t h a t   t h e   o u t p u t   o f   t h e   k u b e c t l   p l u g i n   l i s t   c o m m a n d   i s :   P A T H = / u s r / l o c a l / b i n / p l u g i n s : / u s r / l o c a l / b i n / m o r e p l u g i n s   k u b e c t l   p l u g i n   l i s t   T h e   f o l l o w i n g   k u b e c t l - c o m p a t i b l e   p l u g i n s   a r e   a v a i l a b l e :   / u s r / l o c a l / b i n / p l u g i n s / k u b e c t l - f o o   / u s r / l o c a l / b i n / m o r e p l u g i n s / k u b e c t l - f o o   -   w a r n i n g :   / u s r / l o c a l / b i n / m o r e p l u g i n s / k u b e c t l - f o o   i s   o v e r s h a d o w e d   b y   a   s i m i l a r l y   n a m e d   p l u g i n :   / u s r / l o c a l / b i n / p l u g i n s / k u b e c t l - f o o   e r r o r :   o n e   p l u g i n   w a r n i n g   w a s   f o u n d   I n   t h e   a b o v e   s c e n a r i o ,   t h e   w a r n i n g   u n d e r   / u s r / l o c a l / b i n / m o r e p l u g i n s / k u b e c t l - f o o   t e l l s   y o u   t h a t   t h i s   p l u g i n   w i l l   n e v e r   b e   e x e c u t e d .   I n s t e a d ,   t h e   e x e c u t a b l e   t h a t   a p p e a r s   f i r s t   i n   y o u r   P A T H ,   / u s r / l o c a l / b i n / p l u g i n s / k u b e c t l - f o o ,   w i l l   a l w a y s   b e   f o u n d   a n d   e x e c u ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/",
    "id": "k8s_00126_section_4_2193"
  },
  {
    "question": "What is Invocation of the longest executable filename?",
    "answer": "T h e r e   i s   a n o t h e r   k i n d   o f   o v e r s h a d o w i n g   t h a t   c a n   o c c u r   w i t h   p l u g i n   f i l e n a m e s .   G i v e n   t w o   p l u g i n s   p r e s e n t   i n   a   u s e r ' s   P A T H :   k u b e c t l - f o o - b a r   a n d   k u b e c t l - f o o - b a r - b a z ,   t h e   k u b e c t l   p l u g i n   m e c h a n i s m   w i l l   a l w a y s   c h o o s e   t h e   l o n g e s t   p o s s i b l e   p l u g i n   n a m e   f o r   a   g i v e n   u s e r   c o m m a n d .   S o m e   e x a m p l e s   b e l o w ,   c l a r i f y   t h i s   f u r t h e r :   #   f o r   a   g i v e n   k u b e c t l   c o m m a n d ,   t h e   p l u g i n   w i t h   t h e   l o n g e s t   p o s s i b l e   f i l e n a m e   w i l l   a l w a y s   b e   p r e f e r r e d   k u b e c t l   f o o   b a r   b a z   P l u g i n   k u b e c t l - f o o - b a r - b a z   i s   e x e c u t e d   k u b e c t l   f o o   b a r   P l u g i n   k u b e c t l - f o o - b a r   i s   e x e c u t e d   k u b e c t l   f o o   b a r   b a z   b u z   P l u g i n   k u b e c t l - f o o - b a r - b a z   i s   e x e c u t e d ,   w i t h   \" b u z \"   a s   i t s   f i r s t   a r g u m e n t   k u b e c t l   f o o   b a r   b u z   P l u g i n   k u b e c t l - f o o - b a r   i s   e x e c u t e d ,   w i t h   \" b u z \"   a s   i t s   f i r s t   a r g u m e n t   T h i s   d e s i g n   c h o i c e   e n s u r e s   t h a t   p l u g i n   s u b - c o m m a n d s   c a n   b e   i m p l e m e n t e d   a c r o s s   m u l t i p l e   f i l e s ,   i f   n e e d e d ,   a n d   t h a t   t h e s e   s u b - c o m m a n d s   c a n   b e   n e s t e d   u n d e r   a   \" p a r e n t \"   p l u g i n   c o m m a n d :   l s   . / p l u g i n _ c o m m a n d _ t r e e   k u b e c t l - p a r e n t   k u b e c t l - p a r e n t - s u b c o m m a n d   k u b e c t l - p a r e n t - s u b c o m m a n d - s u b s u b c o m m a n d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/",
    "id": "k8s_00126_section_4_2194"
  },
  {
    "question": "What is Checking for plugin warnings?",
    "answer": "Y o u   c a n   u s e   t h e   a f o r e m e n t i o n e d   k u b e c t l   p l u g i n   l i s t   c o m m a n d   t o   e n s u r e   t h a t   y o u r   p l u g i n   i s   v i s i b l e   b y   k u b e c t l ,   a n d   v e r i f y   t h a t   t h e r e   a r e   n o   w a r n i n g s   p r e v e n t i n g   i t   f r o m   b e i n g   c a l l e d   a s   a   k u b e c t l   c o m m a n d .   k u b e c t l   p l u g i n   l i s t   T h e   f o l l o w i n g   k u b e c t l - c o m p a t i b l e   p l u g i n s   a r e   a v a i l a b l e :   t e s t / f i x t u r e s / p k g / k u b e c t l / p l u g i n s / k u b e c t l - f o o   / u s r / l o c a l / b i n / k u b e c t l - f o o   -   w a r n i n g :   / u s r / l o c a l / b i n / k u b e c t l - f o o   i s   o v e r s h a d o w e d   b y   a   s i m i l a r l y   n a m e d   p l u g i n :   t e s t / f i x t u r e s / p k g / k u b e c t l / p l u g i n s / k u b e c t l - f o o   p l u g i n s / k u b e c t l - i n v a l i d   -   w a r n i n g :   p l u g i n s / k u b e c t l - i n v a l i d   i d e n t i f i e d   a s   a   k u b e c t l   p l u g i n ,   b u t   i t   i s   n o t   e x e c u t a b l e   e r r o r :   2   p l u g i n   w a r n i n g s   w e r e   f o u n d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/",
    "id": "k8s_00126_section_3_2195"
  },
  {
    "question": "What is Using the command line runtime package?",
    "answer": "I f   y o u ' r e   w r i t i n g   a   p l u g i n   f o r   k u b e c t l   a n d   y o u ' r e   u s i n g   G o ,   y o u   c a n   m a k e   u s e   o f   t h e   c l i - r u n t i m e   u t i l i t y   l i b r a r i e s .   T h e s e   l i b r a r i e s   p r o v i d e   h e l p e r s   f o r   p a r s i n g   o r   u p d a t i n g   a   u s e r ' s   k u b e c o n f i g   f i l e ,   f o r   m a k i n g   R E S T - s t y l e   r e q u e s t s   t o   t h e   A P I   s e r v e r ,   o r   t o   b i n d   f l a g s   a s s o c i a t e d   w i t h   c o n f i g u r a t i o n   a n d   p r i n t i n g .   S e e   t h e   S a m p l e   C L I   P l u g i n   f o r   a n   e x a m p l e   u s a g e   o f   t h e   t o o l s   p r o v i d e d   i n   t h e   C L I   R u n t i m e   r e p o .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/",
    "id": "k8s_00126_section_3_2196"
  },
  {
    "question": "What is Distributing kubectl plugins?",
    "answer": "I f   y o u   h a v e   d e v e l o p e d   a   p l u g i n   f o r   o t h e r s   t o   u s e ,   y o u   s h o u l d   c o n s i d e r   h o w   y o u   p a c k a g e   i t ,   d i s t r i b u t e   i t   a n d   d e l i v e r   u p d a t e s   t o   y o u r   u s e r s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/",
    "id": "k8s_00126_section_2_2197"
  },
  {
    "question": "What is Krew?",
    "answer": "K r e w   o f f e r s   a   c r o s s - p l a t f o r m   w a y   t o   p a c k a g e   a n d   d i s t r i b u t e   y o u r   p l u g i n s .   T h i s   w a y ,   y o u   u s e   a   s i n g l e   p a c k a g i n g   f o r m a t   f o r   a l l   t a r g e t   p l a t f o r m s   ( L i n u x ,   W i n d o w s ,   m a c O S   e t c )   a n d   d e l i v e r   u p d a t e s   t o   y o u r   u s e r s .   K r e w   a l s o   m a i n t a i n s   a   p l u g i n   i n d e x   s o   t h a t   o t h e r   p e o p l e   c a n   d i s c o v e r   y o u r   p l u g i n   a n d   i n s t a l l   i t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/",
    "id": "k8s_00126_section_3_2198"
  },
  {
    "question": "What is Native / platform specific package management?",
    "answer": "A l t e r n a t i v e l y ,   y o u   c a n   u s e   t r a d i t i o n a l   p a c k a g e   m a n a g e r s   s u c h   a s ,   a p t   o r   y u m   o n   L i n u x ,   C h o c o l a t e y   o n   W i n d o w s ,   a n d   H o m e b r e w   o n   m a c O S .   A n y   p a c k a g e   m a n a g e r   w i l l   b e   s u i t a b l e   i f   i t   c a n   p l a c e   n e w   e x e c u t a b l e s   p l a c e d   s o m e w h e r e   i n   t h e   u s e r ' s   P A T H .   A s   a   p l u g i n   a u t h o r ,   i f   y o u   p i c k   t h i s   o p t i o n   t h e n   y o u   a l s o   h a v e   t h e   b u r d e n   o f   u p d a t i n g   y o u r   k u b e c t l   p l u g i n ' s   d i s t r i b u t i o n   p a c k a g e   a c r o s s   m u l t i p l e   p l a t f o r m s   f o r   e a c h   r e l e a s e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/",
    "id": "k8s_00126_section_3_2199"
  },
  {
    "question": "What is Source code?",
    "answer": "Y o u   c a n   p u b l i s h   t h e   s o u r c e   c o d e ;   f o r   e x a m p l e ,   a s   a   G i t   r e p o s i t o r y .   I f   y o u   c h o o s e   t h i s   o p t i o n ,   s o m e o n e   w h o   w a n t s   t o   u s e   t h a t   p l u g i n   m u s t   f e t c h   t h e   c o d e ,   s e t   u p   a   b u i l d   e n v i r o n m e n t   ( i f   i t   n e e d s   c o m p i l i n g ) ,   a n d   d e p l o y   t h e   p l u g i n .   I f   y o u   a l s o   m a k e   c o m p i l e d   p a c k a g e s   a v a i l a b l e ,   o r   u s e   K r e w ,   t h a t   w i l l   m a k e   i n s t a l l s   e a s i e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/",
    "id": "k8s_00126_section_3_2200"
  },
  {
    "question": "What is What's next?",
    "answer": "C h e c k   t h e   S a m p l e   C L I   P l u g i n   r e p o s i t o r y   f o r   a   d e t a i l e d   e x a m p l e   o f   a   p l u g i n   w r i t t e n   i n   G o .   I n   c a s e   o f   a n y   q u e s t i o n s ,   f e e l   f r e e   t o   r e a c h   o u t   t o   t h e   S I G   C L I   t e a m . R e a d   a b o u t   K r e w ,   a   p a c k a g e   m a n a g e r   f o r   k u b e c t l   p l u g i n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/",
    "id": "k8s_00126_section_2_2201"
  },
  {
    "question": "What is Good practices for Kubernetes Secrets?",
    "answer": "Good practices for Kubernetes SecretsPrinciples and practices for good Secret management for cluster administrators and application developers.In Kubernetes, a Secret is an object that stores sensitive information, such as passwords, OAuth tokens, and SSH keys.Secrets give you more control over how sensitive information is used and reduces the risk of accidental exposure. Secret values are encoded as base64 strings and are stored unencrypted by default, but can be configured to be encrypted at rest.A Pod can reference the Secret in a variety of ways, such as in a volume mount or as an environment variable. Secrets are designed for confidential data and ConfigMaps are designed for non-confidential data.The following good practices are intended for both cluster administrators and application developers. Use these guidelines to improve the security of your sensitive information in Secret objects, as well as to more effectively manage your Secrets.Cluster administratorsThis section provides good practices that cluster administrators can use to improve the security of confidential information in the cluster.Configure encryption at restBy default, Secret objects are stored unencrypted in etcd. You should configure encryption of your Secret data in etcd. For instructions, refer to Encrypt Secret Data at Rest.Configure least-privilege access to SecretsWhen planning your access control mechanism, such as Kubernetes Role-based Access Control (RBAC), consider the following guidelines for access to Secret objects. You should also follow the other guidelines in RBAC good practices.Components: Restrict watch or list access to only the most privileged, system-level components. Only grant get access for Secrets if the component's normal behavior requires it.Humans: Restrict get, watch, or list access to Secrets. Only allow cluster administrators to access etcd. This includes read-only access. For more complex access control, such as restricting access to Secrets with specific annotations, consider using third-party authorization mechanisms.Caution:Granting list access to Secrets implicitly lets the subject fetch the contents of the Secrets.A user who can create a Pod that uses a Secret can also see the value of that Secret. Even if cluster policies do not allow a user to read the Secret directly, the same user could have access to run a Pod that then exposes the Secret. You can detect or limit the impact caused by Secret data being exposed, either intentionally or unintentionally, by a user with this access. Some recommendations include:Use short-lived SecretsImplement audit rules that alert on specific events, such as concurrent reading of multiple Secrets by a single userRestrict Access for SecretsUse separate namespaces to isolate access to mounted secrets.Improve etcd management policiesConsider wiping or shredding the durable storage used by etcd once it is no longer in use.If there are multiple etcd instances, configure encrypted SSL/TLS communication betw",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/secrets-good-practices/",
    "id": "k8s_00127_qa_2202"
  },
  {
    "question": "How does Good practices for Kubernetes Secrets work?",
    "answer": "Good practices for Kubernetes SecretsPrinciples and practices for good Secret management for cluster administrators and application developers.In Kubernetes, a Secret is an object that stores sensitive information, such as passwords, OAuth tokens, and SSH keys.Secrets give you more control over how sensitive information is used and reduces the risk of accidental exposure. Secret values are encoded as base64 strings and are stored unencrypted by default, but can be configured to be encrypted at rest.A Pod can reference the Secret in a variety of ways, such as in a volume mount or as an environment variable. Secrets are designed for confidential data and ConfigMaps are designed for non-confidential data.The following good practices are intended for both cluster administrators and application developers. Use these guidelines to improve the security of your sensitive information in Secret objects, as well as to more effectively manage your Secrets.Cluster administratorsThis section provides good practices that cluster administrators can use to improve the security of confidential information in the cluster.Configure encryption at restBy default, Secret objects are stored unencrypted in etcd. You should configure encryption of your Secret data in etcd. For instructions, refer to Encrypt Secret Data at Rest.Configure least-privilege access to SecretsWhen planning your access control mechanism, such as Kubernetes Role-based Access Control (RBAC), consider the following guidelines for access to Secret objects. You should also follow the other guidelines in RBAC good practices.Components: Restrict watch or list access to only the most privileged, system-level components. Only grant get access for Secrets if the component's normal behavior requires it.Humans: Restrict get, watch, or list access to Secrets. Only allow cluster administrators to access etcd. This includes read-only access. For more complex access control, such as restricting access to Secrets with specific annotations, consider using third-party authorization mechanisms.Caution:Granting list access to Secrets implicitly lets the subject fetch the contents of the Secrets.A user who can create a Pod that uses a Secret can also see the value of that Secret. Even if cluster policies do not allow a user to read the Secret directly, the same user could have access to run a Pod that then exposes the Secret. You can detect or limit the impact caused by Secret data being exposed, either intentionally or unintentionally, by a user with this access. Some recommendations include:Use short-lived SecretsImplement audit rules that alert on specific events, such as concurrent reading of multiple Secrets by a single userRestrict Access for SecretsUse separate namespaces to isolate access to mounted secrets.Improve etcd management policiesConsider wiping or shredding the durable storage used by etcd once it is no longer in use.If there are multiple etcd instances, configure encrypted SSL/TLS communication betw",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/secrets-good-practices/",
    "id": "k8s_00127_qa_2203"
  },
  {
    "question": "When would you use Good practices for Kubernetes Secrets?",
    "answer": "Good practices for Kubernetes SecretsPrinciples and practices for good Secret management for cluster administrators and application developers.In Kubernetes, a Secret is an object that stores sensitive information, such as passwords, OAuth tokens, and SSH keys.Secrets give you more control over how sensitive information is used and reduces the risk of accidental exposure. Secret values are encoded as base64 strings and are stored unencrypted by default, but can be configured to be encrypted at rest.A Pod can reference the Secret in a variety of ways, such as in a volume mount or as an environment variable. Secrets are designed for confidential data and ConfigMaps are designed for non-confidential data.The following good practices are intended for both cluster administrators and application developers. Use these guidelines to improve the security of your sensitive information in Secret objects, as well as to more effectively manage your Secrets.Cluster administratorsThis section provides good practices that cluster administrators can use to improve the security of confidential information in the cluster.Configure encryption at restBy default, Secret objects are stored unencrypted in etcd. You should configure encryption of your Secret data in etcd. For instructions, refer to Encrypt Secret Data at Rest.Configure least-privilege access to SecretsWhen planning your access control mechanism, such as Kubernetes Role-based Access Control (RBAC), consider the following guidelines for access to Secret objects. You should also follow the other guidelines in RBAC good practices.Components: Restrict watch or list access to only the most privileged, system-level components. Only grant get access for Secrets if the component's normal behavior requires it.Humans: Restrict get, watch, or list access to Secrets. Only allow cluster administrators to access etcd. This includes read-only access. For more complex access control, such as restricting access to Secrets with specific annotations, consider using third-party authorization mechanisms.Caution:Granting list access to Secrets implicitly lets the subject fetch the contents of the Secrets.A user who can create a Pod that uses a Secret can also see the value of that Secret. Even if cluster policies do not allow a user to read the Secret directly, the same user could have access to run a Pod that then exposes the Secret. You can detect or limit the impact caused by Secret data being exposed, either intentionally or unintentionally, by a user with this access. Some recommendations include:Use short-lived SecretsImplement audit rules that alert on specific events, such as concurrent reading of multiple Secrets by a single userRestrict Access for SecretsUse separate namespaces to isolate access to mounted secrets.Improve etcd management policiesConsider wiping or shredding the durable storage used by etcd once it is no longer in use.If there are multiple etcd instances, configure encrypted SSL/TLS communication betw",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/secrets-good-practices/",
    "id": "k8s_00127_qa_2204"
  },
  {
    "question": "What are the benefits of Good practices for Kubernetes Secrets?",
    "answer": "Good practices for Kubernetes SecretsPrinciples and practices for good Secret management for cluster administrators and application developers.In Kubernetes, a Secret is an object that stores sensitive information, such as passwords, OAuth tokens, and SSH keys.Secrets give you more control over how sensitive information is used and reduces the risk of accidental exposure. Secret values are encoded as base64 strings and are stored unencrypted by default, but can be configured to be encrypted at rest.A Pod can reference the Secret in a variety of ways, such as in a volume mount or as an environment variable. Secrets are designed for confidential data and ConfigMaps are designed for non-confidential data.The following good practices are intended for both cluster administrators and application developers. Use these guidelines to improve the security of your sensitive information in Secret objects, as well as to more effectively manage your Secrets.Cluster administratorsThis section provides good practices that cluster administrators can use to improve the security of confidential information in the cluster.Configure encryption at restBy default, Secret objects are stored unencrypted in etcd. You should configure encryption of your Secret data in etcd. For instructions, refer to Encrypt Secret Data at Rest.Configure least-privilege access to SecretsWhen planning your access control mechanism, such as Kubernetes Role-based Access Control (RBAC), consider the following guidelines for access to Secret objects. You should also follow the other guidelines in RBAC good practices.Components: Restrict watch or list access to only the most privileged, system-level components. Only grant get access for Secrets if the component's normal behavior requires it.Humans: Restrict get, watch, or list access to Secrets. Only allow cluster administrators to access etcd. This includes read-only access. For more complex access control, such as restricting access to Secrets with specific annotations, consider using third-party authorization mechanisms.Caution:Granting list access to Secrets implicitly lets the subject fetch the contents of the Secrets.A user who can create a Pod that uses a Secret can also see the value of that Secret. Even if cluster policies do not allow a user to read the Secret directly, the same user could have access to run a Pod that then exposes the Secret. You can detect or limit the impact caused by Secret data being exposed, either intentionally or unintentionally, by a user with this access. Some recommendations include:Use short-lived SecretsImplement audit rules that alert on specific events, such as concurrent reading of multiple Secrets by a single userRestrict Access for SecretsUse separate namespaces to isolate access to mounted secrets.Improve etcd management policiesConsider wiping or shredding the durable storage used by etcd once it is no longer in use.If there are multiple etcd instances, configure encrypted SSL/TLS communication betw",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/secrets-good-practices/",
    "id": "k8s_00127_qa_2205"
  },
  {
    "question": "What is Good practices for Kubernetes Secrets?",
    "answer": "I n   K u b e r n e t e s ,   a   S e c r e t   i s   a n   o b j e c t   t h a t   s t o r e s   s e n s i t i v e   i n f o r m a t i o n ,   s u c h   a s   p a s s w o r d s ,   O A u t h   t o k e n s ,   a n d   S S H   k e y s .   I n   K u b e r n e t e s ,   a   S e c r e t   i s   a n   o b j e c t   t h a t   s t o r e s   s e n s i t i v e   i n f o r m a t i o n ,   s u c h   a s   p a s s w o r d s ,   O A u t h   t o k e n s ,   a n d   S S H   k e y s .   S e c r e t s   g i v e   y o u   m o r e   c o n t r o l   o v e r   h o w   s e n s i t i v e   i n f o r m a t i o n   i s   u s e d   a n d   r e d u c e s   t h e   r i s k   o f   a c c i d e n t a l   e x p o s u r e .   S e c r e t   v a l u e s   a r e   e n c o d e d   a s   b a s e 6 4   s t r i n g s   a n d   a r e   s t o r e d   u n e n c r y p t e d   b y   d e f a u l t ,   b u t   c a n   b e   c o n f i g u r e d   t o   b e   e n c r y p t e d   a t   r e s t .   A   P o d   c a n   r e f e r e n c e   t h e   S e c r e t   i n   a   v a r i e t y   o f   w a y s ,   s u c h   a s   i n   a   v o l u m e   m o u n t   o r   a s   a n   e n v i r o n m e n t   v a r i a b l e .   S e c r e t s   a r e   d e s i g n e d   f o r   c o n f i d e n t i a l   d a t a   a n d   C o n f i g M a p s   a r e   d e s i g n e d   f o r   n o n - c o n f i d e n t i a l   d a t a .   T h e   f o l l o w i n g   g o o d   p r a c t i c e s   a r e   i n t e n d e d   f o r   b o t h   c l u s t e r   a d m i n i s t r a t o r s   a n d   a p p l i c a t i o n   d e v e l o p e r s .   U s e   t h e s e   g u i d e l i n e s   t o   i m p r o v e   t h e   s e c u r i t y   o f   y o u r   s e n s i t i v e   i n f o r m a t i o n   i n   S e c r e t   o b j e c t s ,   a s   w e l l   a s   t o   m o r e   e f f e c t i v e l y   m a n a g e   y o u r   S e c r e t s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/secrets-good-practices/",
    "id": "k8s_00127_section_1_2206"
  },
  {
    "question": "What is Cluster administrators?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   g o o d   p r a c t i c e s   t h a t   c l u s t e r   a d m i n i s t r a t o r s   c a n   u s e   t o   i m p r o v e   t h e   s e c u r i t y   o f   c o n f i d e n t i a l   i n f o r m a t i o n   i n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/secrets-good-practices/",
    "id": "k8s_00127_section_2_2207"
  },
  {
    "question": "What is Configure encryption at rest?",
    "answer": "B y   d e f a u l t ,   S e c r e t   o b j e c t s   a r e   s t o r e d   u n e n c r y p t e d   i n   e t c d .   Y o u   s h o u l d   c o n f i g u r e   e n c r y p t i o n   o f   y o u r   S e c r e t   d a t a   i n   e t c d .   F o r   i n s t r u c t i o n s ,   r e f e r   t o   E n c r y p t   S e c r e t   D a t a   a t   R e s t .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/secrets-good-practices/",
    "id": "k8s_00127_section_3_2208"
  },
  {
    "question": "What is Configure least-privilege access to Secrets?",
    "answer": "W h e n   p l a n n i n g   y o u r   a c c e s s   c o n t r o l   m e c h a n i s m ,   s u c h   a s   K u b e r n e t e s   R o l e - b a s e d   A c c e s s   C o n t r o l   ( R B A C ) ,   c o n s i d e r   t h e   f o l l o w i n g   g u i d e l i n e s   f o r   a c c e s s   t o   S e c r e t   o b j e c t s .   Y o u   s h o u l d   a l s o   f o l l o w   t h e   o t h e r   g u i d e l i n e s   i n   R B A C   g o o d   p r a c t i c e s .   C o m p o n e n t s :   R e s t r i c t   w a t c h   o r   l i s t   a c c e s s   t o   o n l y   t h e   m o s t   p r i v i l e g e d ,   s y s t e m - l e v e l   c o m p o n e n t s .   O n l y   g r a n t   g e t   a c c e s s   f o r   S e c r e t s   i f   t h e   c o m p o n e n t ' s   n o r m a l   b e h a v i o r   r e q u i r e s   i t . H u m a n s :   R e s t r i c t   g e t ,   w a t c h ,   o r   l i s t   a c c e s s   t o   S e c r e t s .   O n l y   a l l o w   c l u s t e r   a d m i n i s t r a t o r s   t o   a c c e s s   e t c d .   T h i s   i n c l u d e s   r e a d - o n l y   a c c e s s .   F o r   m o r e   c o m p l e x   a c c e s s   c o n t r o l ,   s u c h   a s   r e s t r i c t i n g   a c c e s s   t o   S e c r e t s   w i t h   s p e c i f i c   a n n o t a t i o n s ,   c o n s i d e r   u s i n g   t h i r d - p a r t y   a u t h o r i z a t i o n   m e c h a n i s m s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/secrets-good-practices/",
    "id": "k8s_00127_section_3_2209"
  },
  {
    "question": "What is Caution:?",
    "answer": "A   u s e r   w h o   c a n   c r e a t e   a   P o d   t h a t   u s e s   a   S e c r e t   c a n   a l s o   s e e   t h e   v a l u e   o f   t h a t   S e c r e t .   E v e n   i f   c l u s t e r   p o l i c i e s   d o   n o t   a l l o w   a   u s e r   t o   r e a d   t h e   S e c r e t   d i r e c t l y ,   t h e   s a m e   u s e r   c o u l d   h a v e   a c c e s s   t o   r u n   a   P o d   t h a t   t h e n   e x p o s e s   t h e   S e c r e t .   Y o u   c a n   d e t e c t   o r   l i m i t   t h e   i m p a c t   c a u s e d   b y   S e c r e t   d a t a   b e i n g   e x p o s e d ,   e i t h e r   i n t e n t i o n a l l y   o r   u n i n t e n t i o n a l l y ,   b y   a   u s e r   w i t h   t h i s   a c c e s s .   S o m e   r e c o m m e n d a t i o n s   i n c l u d e :   U s e   s h o r t - l i v e d   S e c r e t s I m p l e m e n t   a u d i t   r u l e s   t h a t   a l e r t   o n   s p e c i f i c   e v e n t s ,   s u c h   a s   c o n c u r r e n t   r e a d i n g   o f   m u l t i p l e   S e c r e t s   b y   a   s i n g l e   u s e r",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/secrets-good-practices/",
    "id": "k8s_00127_section_4_2210"
  },
  {
    "question": "What is Restrict Access for Secrets?",
    "answer": "U s e   s e p a r a t e   n a m e s p a c e s   t o   i s o l a t e   a c c e s s   t o   m o u n t e d   s e c r e t s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/secrets-good-practices/",
    "id": "k8s_00127_section_4_2211"
  },
  {
    "question": "What is Improve etcd management policies?",
    "answer": "C o n s i d e r   w i p i n g   o r   s h r e d d i n g   t h e   d u r a b l e   s t o r a g e   u s e d   b y   e t c d   o n c e   i t   i s   n o   l o n g e r   i n   u s e .   I f   t h e r e   a r e   m u l t i p l e   e t c d   i n s t a n c e s ,   c o n f i g u r e   e n c r y p t e d   S S L / T L S   c o m m u n i c a t i o n   b e t w e e n   t h e   i n s t a n c e s   t o   p r o t e c t   t h e   S e c r e t   d a t a   i n   t r a n s i t .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/secrets-good-practices/",
    "id": "k8s_00127_section_3_2212"
  },
  {
    "question": "What is Configure access to external Secrets?",
    "answer": "Y o u   c a n   u s e   t h i r d - p a r t y   S e c r e t s   s t o r e   p r o v i d e r s   t o   k e e p   y o u r   c o n f i d e n t i a l   d a t a   o u t s i d e   y o u r   c l u s t e r   a n d   t h e n   c o n f i g u r e   P o d s   t o   a c c e s s   t h a t   i n f o r m a t i o n .   T h e   K u b e r n e t e s   S e c r e t s   S t o r e   C S I   D r i v e r   i s   a   D a e m o n S e t   t h a t   l e t s   t h e   k u b e l e t   r e t r i e v e   S e c r e t s   f r o m   e x t e r n a l   s t o r e s ,   a n d   m o u n t   t h e   S e c r e t s   a s   a   v o l u m e   i n t o   s p e c i f i c   P o d s   t h a t   y o u   a u t h o r i z e   t o   a c c e s s   t h e   d a t a .   F o r   a   l i s t   o f   s u p p o r t e d   p r o v i d e r s ,   r e f e r   t o   P r o v i d e r s   f o r   t h e   S e c r e t   S t o r e   C S I   D r i v e r .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/secrets-good-practices/",
    "id": "k8s_00127_section_3_2213"
  },
  {
    "question": "What is Good practices for using swap memory?",
    "answer": "F o r   b e s t   p r a c t i c e s   f o r   s e t t i n g   s w a p   m e m o r y   f o r   L i n u x   n o d e s ,   p l e a s e   r e f e r   t o   s w a p   m e m o r y   m a n a g e m e n t .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/secrets-good-practices/",
    "id": "k8s_00127_section_2_2214"
  },
  {
    "question": "What is Developers?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   g o o d   p r a c t i c e s   f o r   d e v e l o p e r s   t o   u s e   t o   i m p r o v e   t h e   s e c u r i t y   o f   c o n f i d e n t i a l   d a t a   w h e n   b u i l d i n g   a n d   d e p l o y i n g   K u b e r n e t e s   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/secrets-good-practices/",
    "id": "k8s_00127_section_2_2215"
  },
  {
    "question": "What is Restrict Secret access to specific containers?",
    "answer": "I f   y o u   a r e   d e f i n i n g   m u l t i p l e   c o n t a i n e r s   i n   a   P o d ,   a n d   o n l y   o n e   o f   t h o s e   c o n t a i n e r s   n e e d s   a c c e s s   t o   a   S e c r e t ,   d e f i n e   t h e   v o l u m e   m o u n t   o r   e n v i r o n m e n t   v a r i a b l e   c o n f i g u r a t i o n   s o   t h a t   t h e   o t h e r   c o n t a i n e r s   d o   n o t   h a v e   a c c e s s   t o   t h a t   S e c r e t .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/secrets-good-practices/",
    "id": "k8s_00127_section_3_2216"
  },
  {
    "question": "What is Protect Secret data after reading?",
    "answer": "A p p l i c a t i o n s   s t i l l   n e e d   t o   p r o t e c t   t h e   v a l u e   o f   c o n f i d e n t i a l   i n f o r m a t i o n   a f t e r   r e a d i n g   i t   f r o m   a n   e n v i r o n m e n t   v a r i a b l e   o r   v o l u m e .   F o r   e x a m p l e ,   y o u r   a p p l i c a t i o n   m u s t   a v o i d   l o g g i n g   t h e   s e c r e t   d a t a   i n   t h e   c l e a r   o r   t r a n s m i t t i n g   i t   t o   a n   u n t r u s t e d   p a r t y .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/secrets-good-practices/",
    "id": "k8s_00127_section_3_2217"
  },
  {
    "question": "What is Avoid sharing Secret manifests?",
    "answer": "I f   y o u   c o n f i g u r e   a   S e c r e t   t h r o u g h   a   m a n i f e s t ,   w i t h   t h e   s e c r e t   d a t a   e n c o d e d   a s   b a s e 6 4 ,   s h a r i n g   t h i s   f i l e   o r   c h e c k i n g   i t   i n   t o   a   s o u r c e   r e p o s i t o r y   m e a n s   t h e   s e c r e t   i s   a v a i l a b l e   t o   e v e r y o n e   w h o   c a n   r e a d   t h e   m a n i f e s t .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/secrets-good-practices/",
    "id": "k8s_00127_section_3_2218"
  },
  {
    "question": "What is Caution:?",
    "answer": "I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/secrets-good-practices/",
    "id": "k8s_00127_section_4_2219"
  },
  {
    "question": "What is Migrate Kubernetes Objects Using Storage Version Migration?",
    "answer": "Migrate Kubernetes Objects Using Storage Version MigrationFEATURE STATE: Kubernetes v1.30 [alpha] (enabled by default: false)Kubernetes relies on API data being actively re-written, to support some maintenance activities related to at rest storage. Two prominent examples are the versioned schema of stored resources (that is, the preferred storage schema changing from v1 to v2 for a given resource) and encryption at rest (that is, rewriting stale data based on a change in how the data should be encrypted).Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.30.To check the version, enter kubectl version.Ensure that your cluster has the StorageVersionMigrator and InformerResourceVersion feature gates enabled. You will need control plane administrator access to make that change.Enable storage version migration REST api by setting runtime config storagemigration.k8s.io/v1alpha1 to true for the API server. For more information on how to do that, read enable or disable a Kubernetes API.Re-encrypt Kubernetes secrets using storage version migrationTo begin with, configure KMS provider to encrypt data at rest in etcd using following encryption configuration.kind: EncryptionConfiguration apiVersion: apiserver.config.k8s.io/v1 resources: - resources: - secrets providers: - aescbc: keys: - name: key1 secret: c2VjcmV0IGlzIHNlY3VyZQ== Make sure to enable automatic reload of encryption configuration file by setting --encryption-provider-config-automatic-reload to true.Create a Secret using kubectl.kubectl create secret generic my-secret --from-literal=key1=supersecret Verify the serialized data for that Secret object is prefixed with k8s:enc:aescbc:v1:key1.Update the encryption configuration file as follows to rotate the encryption key.kind: EncryptionConfiguration apiVersion: apiserver.config.k8s.io/v1 resources: - resources: - secrets providers: - aescbc: keys: - name: key2 secret: c2VjcmV0IGlzIHNlY3VyZSwgaXMgaXQ/ - aescbc: keys: - name: key1 secret: c2VjcmV0IGlzIHNlY3VyZQ== To ensure that previously created secret my-secret is re-encrypted with new key key2, you will use Storage Version Migration.Create a StorageVersionMigration manifest named migrate-secret.yaml as follows:kind: StorageVersionMigration apiVersion: storagemigration.k8s.io/v1alpha1 metadata: name: secrets-migration spec: resource: group: \"\" version: v1 resource: secrets Create the object using kubectl as follows:kubectl apply -f migrate-secret.yaml Monitor migration of Secrets by checking the .status of the StorageVersionMigration. A succes",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/storage-version-migration/",
    "id": "k8s_00128_qa_2220"
  },
  {
    "question": "How does Migrate Kubernetes Objects Using Storage Version Migration work?",
    "answer": "Migrate Kubernetes Objects Using Storage Version MigrationFEATURE STATE: Kubernetes v1.30 [alpha] (enabled by default: false)Kubernetes relies on API data being actively re-written, to support some maintenance activities related to at rest storage. Two prominent examples are the versioned schema of stored resources (that is, the preferred storage schema changing from v1 to v2 for a given resource) and encryption at rest (that is, rewriting stale data based on a change in how the data should be encrypted).Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.30.To check the version, enter kubectl version.Ensure that your cluster has the StorageVersionMigrator and InformerResourceVersion feature gates enabled. You will need control plane administrator access to make that change.Enable storage version migration REST api by setting runtime config storagemigration.k8s.io/v1alpha1 to true for the API server. For more information on how to do that, read enable or disable a Kubernetes API.Re-encrypt Kubernetes secrets using storage version migrationTo begin with, configure KMS provider to encrypt data at rest in etcd using following encryption configuration.kind: EncryptionConfiguration apiVersion: apiserver.config.k8s.io/v1 resources: - resources: - secrets providers: - aescbc: keys: - name: key1 secret: c2VjcmV0IGlzIHNlY3VyZQ== Make sure to enable automatic reload of encryption configuration file by setting --encryption-provider-config-automatic-reload to true.Create a Secret using kubectl.kubectl create secret generic my-secret --from-literal=key1=supersecret Verify the serialized data for that Secret object is prefixed with k8s:enc:aescbc:v1:key1.Update the encryption configuration file as follows to rotate the encryption key.kind: EncryptionConfiguration apiVersion: apiserver.config.k8s.io/v1 resources: - resources: - secrets providers: - aescbc: keys: - name: key2 secret: c2VjcmV0IGlzIHNlY3VyZSwgaXMgaXQ/ - aescbc: keys: - name: key1 secret: c2VjcmV0IGlzIHNlY3VyZQ== To ensure that previously created secret my-secret is re-encrypted with new key key2, you will use Storage Version Migration.Create a StorageVersionMigration manifest named migrate-secret.yaml as follows:kind: StorageVersionMigration apiVersion: storagemigration.k8s.io/v1alpha1 metadata: name: secrets-migration spec: resource: group: \"\" version: v1 resource: secrets Create the object using kubectl as follows:kubectl apply -f migrate-secret.yaml Monitor migration of Secrets by checking the .status of the StorageVersionMigration. A succes",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/storage-version-migration/",
    "id": "k8s_00128_qa_2221"
  },
  {
    "question": "When would you use Migrate Kubernetes Objects Using Storage Version Migration?",
    "answer": "Migrate Kubernetes Objects Using Storage Version MigrationFEATURE STATE: Kubernetes v1.30 [alpha] (enabled by default: false)Kubernetes relies on API data being actively re-written, to support some maintenance activities related to at rest storage. Two prominent examples are the versioned schema of stored resources (that is, the preferred storage schema changing from v1 to v2 for a given resource) and encryption at rest (that is, rewriting stale data based on a change in how the data should be encrypted).Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.30.To check the version, enter kubectl version.Ensure that your cluster has the StorageVersionMigrator and InformerResourceVersion feature gates enabled. You will need control plane administrator access to make that change.Enable storage version migration REST api by setting runtime config storagemigration.k8s.io/v1alpha1 to true for the API server. For more information on how to do that, read enable or disable a Kubernetes API.Re-encrypt Kubernetes secrets using storage version migrationTo begin with, configure KMS provider to encrypt data at rest in etcd using following encryption configuration.kind: EncryptionConfiguration apiVersion: apiserver.config.k8s.io/v1 resources: - resources: - secrets providers: - aescbc: keys: - name: key1 secret: c2VjcmV0IGlzIHNlY3VyZQ== Make sure to enable automatic reload of encryption configuration file by setting --encryption-provider-config-automatic-reload to true.Create a Secret using kubectl.kubectl create secret generic my-secret --from-literal=key1=supersecret Verify the serialized data for that Secret object is prefixed with k8s:enc:aescbc:v1:key1.Update the encryption configuration file as follows to rotate the encryption key.kind: EncryptionConfiguration apiVersion: apiserver.config.k8s.io/v1 resources: - resources: - secrets providers: - aescbc: keys: - name: key2 secret: c2VjcmV0IGlzIHNlY3VyZSwgaXMgaXQ/ - aescbc: keys: - name: key1 secret: c2VjcmV0IGlzIHNlY3VyZQ== To ensure that previously created secret my-secret is re-encrypted with new key key2, you will use Storage Version Migration.Create a StorageVersionMigration manifest named migrate-secret.yaml as follows:kind: StorageVersionMigration apiVersion: storagemigration.k8s.io/v1alpha1 metadata: name: secrets-migration spec: resource: group: \"\" version: v1 resource: secrets Create the object using kubectl as follows:kubectl apply -f migrate-secret.yaml Monitor migration of Secrets by checking the .status of the StorageVersionMigration. A succes",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/storage-version-migration/",
    "id": "k8s_00128_qa_2222"
  },
  {
    "question": "What are the benefits of Migrate Kubernetes Objects Using Storage Version Migration?",
    "answer": "Migrate Kubernetes Objects Using Storage Version MigrationFEATURE STATE: Kubernetes v1.30 [alpha] (enabled by default: false)Kubernetes relies on API data being actively re-written, to support some maintenance activities related to at rest storage. Two prominent examples are the versioned schema of stored resources (that is, the preferred storage schema changing from v1 to v2 for a given resource) and encryption at rest (that is, rewriting stale data based on a change in how the data should be encrypted).Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.30.To check the version, enter kubectl version.Ensure that your cluster has the StorageVersionMigrator and InformerResourceVersion feature gates enabled. You will need control plane administrator access to make that change.Enable storage version migration REST api by setting runtime config storagemigration.k8s.io/v1alpha1 to true for the API server. For more information on how to do that, read enable or disable a Kubernetes API.Re-encrypt Kubernetes secrets using storage version migrationTo begin with, configure KMS provider to encrypt data at rest in etcd using following encryption configuration.kind: EncryptionConfiguration apiVersion: apiserver.config.k8s.io/v1 resources: - resources: - secrets providers: - aescbc: keys: - name: key1 secret: c2VjcmV0IGlzIHNlY3VyZQ== Make sure to enable automatic reload of encryption configuration file by setting --encryption-provider-config-automatic-reload to true.Create a Secret using kubectl.kubectl create secret generic my-secret --from-literal=key1=supersecret Verify the serialized data for that Secret object is prefixed with k8s:enc:aescbc:v1:key1.Update the encryption configuration file as follows to rotate the encryption key.kind: EncryptionConfiguration apiVersion: apiserver.config.k8s.io/v1 resources: - resources: - secrets providers: - aescbc: keys: - name: key2 secret: c2VjcmV0IGlzIHNlY3VyZSwgaXMgaXQ/ - aescbc: keys: - name: key1 secret: c2VjcmV0IGlzIHNlY3VyZQ== To ensure that previously created secret my-secret is re-encrypted with new key key2, you will use Storage Version Migration.Create a StorageVersionMigration manifest named migrate-secret.yaml as follows:kind: StorageVersionMigration apiVersion: storagemigration.k8s.io/v1alpha1 metadata: name: secrets-migration spec: resource: group: \"\" version: v1 resource: secrets Create the object using kubectl as follows:kubectl apply -f migrate-secret.yaml Monitor migration of Secrets by checking the .status of the StorageVersionMigration. A succes",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/storage-version-migration/",
    "id": "k8s_00128_qa_2223"
  },
  {
    "question": "What is Migrate Kubernetes Objects Using Storage Version Migration?",
    "answer": "K u b e r n e t e s   r e l i e s   o n   A P I   d a t a   b e i n g   a c t i v e l y   r e - w r i t t e n ,   t o   s u p p o r t   s o m e   m a i n t e n a n c e   a c t i v i t i e s   r e l a t e d   t o   a t   r e s t   s t o r a g e .   T w o   p r o m i n e n t   e x a m p l e s   a r e   t h e   v e r s i o n e d   s c h e m a   o f   s t o r e d   r e s o u r c e s   ( t h a t   i s ,   t h e   p r e f e r r e d   s t o r a g e   s c h e m a   c h a n g i n g   f r o m   v 1   t o   v 2   f o r   a   g i v e n   r e s o u r c e )   a n d   e n c r y p t i o n   a t   r e s t   ( t h a t   i s ,   r e w r i t i n g   s t a l e   d a t a   b a s e d   o n   a   c h a n g e   i n   h o w   t h e   d a t a   s h o u l d   b e   e n c r y p t e d ) .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/storage-version-migration/",
    "id": "k8s_00128_section_1_2224"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n s t a l l   k u b e c t l .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 3 0 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/storage-version-migration/",
    "id": "k8s_00128_section_2_2225"
  },
  {
    "question": "What is Re-encrypt Kubernetes secrets using storage version migration?",
    "answer": "T o   b e g i n   w i t h ,   c o n f i g u r e   K M S   p r o v i d e r   t o   e n c r y p t   d a t a   a t   r e s t   i n   e t c d   u s i n g   f o l l o w i n g   e n c r y p t i o n   c o n f i g u r a t i o n . k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   r e s o u r c e s :   -   r e s o u r c e s :   -   s e c r e t s   p r o v i d e r s :   -   a e s c b c :   k e y s :   -   n a m e :   k e y 1   s e c r e t :   c 2 V j c m V 0 I G l z I H N l Y 3 V y Z Q = =   M a k e   s u r e   t o   e n a b l e   a u t o m a t i c   r e l o a d   o f   e n c r y p t i o n   c o n f i g u r a t i o n   f i l e   b y   s e t t i n g   - - e n c r y p t i o n - p r o v i d e r - c o n f i g - a u t o m a t i c - r e l o a d   t o   t r u e . C r e a t e   a   S e c r e t   u s i n g   k u b e c t l . k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - l i t e r a l = k e y 1 = s u p e r s e c r e t   V e r i f y   t h e   s e r i a l i z e d   d a t a   f o r   t h a t   S e c r e t   o b j e c t   i s   p r e f i x e d   w i t h   k 8 s : e n c : a e s c b c : v 1 : k e y 1 . U p d a t e   t h e   e n c r y p t i o n   c o n f i g u r a t i o n   f i l e   a s   f o l l o w s   t o   r o t a t e   t h e   e n c r y p t i o n   k e y . k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   r e s o u r c e s :   -   r e s o u r c e s :   -   s e c r e t s   p r o v i d e r s :   -   a e s c b c :   k e y s :   -   n a m e :   k e y 2   s e c r e t :   c 2 V j c m V 0 I G l z I H N l Y 3 V y Z S w g a X M g a X Q /   -   a e s c b c :   k e y s :   -   n a m e :   k e y 1   s e c r e t :   c 2 V j c m V 0 I G l z I H N l Y 3 V y Z Q = =   T o   e n s u r e   t h a t   p r e v i o u s l y   c r e a t e d   s e c r e t   m y - s e c r e t   i s   r e - e n ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/storage-version-migration/",
    "id": "k8s_00128_section_2_2226"
  },
  {
    "question": "What is Update the preferred storage schema of a CRD?",
    "answer": "C o n s i d e r   a   s c e n a r i o   w h e r e   a   C u s t o m R e s o u r c e D e f i n i t i o n   ( C R D )   i s   c r e a t e d   t o   s e r v e   c u s t o m   r e s o u r c e s   ( C R s )   a n d   i s   s e t   a s   t h e   p r e f e r r e d   s t o r a g e   s c h e m a .   W h e n   i t ' s   t i m e   t o   i n t r o d u c e   v 2   o f   t h e   C R D ,   i t   c a n   b e   a d d e d   f o r   s e r v i n g   o n l y   w i t h   a   c o n v e r s i o n   w e b h o o k .   T h i s   e n a b l e s   a   s m o o t h e r   t r a n s i t i o n   w h e r e   u s e r s   c a n   c r e a t e   C R s   u s i n g   e i t h e r   t h e   v 1   o r   v 2   s c h e m a ,   w i t h   t h e   w e b h o o k   i n   p l a c e   t o   p e r f o r m   t h e   n e c e s s a r y   s c h e m a   c o n v e r s i o n   b e t w e e n   t h e m .   B e f o r e   s e t t i n g   v 2   a s   t h e   p r e f e r r e d   s t o r a g e   s c h e m a   v e r s i o n ,   i t ' s   i m p o r t a n t   t o   e n s u r e   t h a t   a l l   e x i s t i n g   C R s   s t o r e d   a s   v 1   a r e   m i g r a t e d   t o   v 2 .   T h i s   m i g r a t i o n   c a n   b e   a c h i e v e d   t h r o u g h   S t o r a g e   V e r s i o n   M i g r a t i o n   t o   m i g r a t e   a l l   C R s   f r o m   v 1   t o   v 2 .   C r e a t e   a   m a n i f e s t   f o r   t h e   C R D ,   n a m e d   t e s t - c r d . y a m l ,   a s   f o l l o w s : a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   m e t a d a t a :   n a m e :   s e l f i e r e q u e s t s . s t a b l e . e x a m p l e . c o m   s p e c :   g r o u p :   s t a b l e . e x a m p l e . c o m   n a m e s :   p l u r a l :   S e l f i e R e q u e s t s   s i n g u l a r :   S e l f i e R e q u e s t   k i n d :   S e l f i e R e q u e s t   l i s t K i n d :   S e l f i e R e q u e s t L i s t   s c o p e :   N a m e s p a c e d   v e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/storage-version-migration/",
    "id": "k8s_00128_section_2_2227"
  },
  {
    "question": "What is Coarse Parallel Processing Using a Work Queue?",
    "answer": "Coarse Parallel Processing Using a Work QueueIn this example, you will run a Kubernetes Job with multiple parallel worker processes.In this example, as each pod is created, it picks up one unit of work from a task queue, completes it, deletes it from the queue, and exits.Here is an overview of the steps in this example:Start a message queue service. In this example, you use RabbitMQ, but you could use another one. In practice you would set up a message queue service once and reuse it for many jobs.Create a queue, and fill it with messages. Each message represents one task to be done. In this example, a message is an integer that we will do a lengthy computation on.Start a Job that works on tasks from the queue. The Job starts several pods. Each pod takes one task from the message queue, processes it, and exits.Before you beginYou should already be familiar with the basic, non-parallel, use of Job.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou will need a container image registry where you can upload images to run in your cluster.This task example also assumes that you have Docker installed locally.Starting a message queue serviceThis example uses RabbitMQ, however, you can adapt the example to use another AMQP-type message service.In practice you could set up a message queue service once in a cluster and reuse it for many jobs, as well as for long-running services.Start RabbitMQ as follows:# make a Service for the StatefulSet to use kubectl create -f https://kubernetes.io/examples/application/job/rabbitmq/rabbitmq-service.yaml service \"rabbitmq-service\" created kubectl create -f https://kubernetes.io/examples/application/job/rabbitmq/rabbitmq-statefulset.yaml statefulset \"rabbitmq\" created Testing the message queue serviceNow, we can experiment with accessing the message queue. We will create a temporary interactive pod, install some tools on it, and experiment with queues.First create a temporary interactive Pod.# Create a temporary interactive container kubectl run -i --tty temp --image ubuntu:22.04 Waiting for pod default/temp-loe07 to be running, status is Pending, pod ready: false ... [ previous line repeats several times .. hit return when it stops ] ... Note that your pod name and command prompt will be different.",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/coarse-parallel-processing-work-queue/",
    "id": "k8s_00129_qa_2228"
  },
  {
    "question": "How does Coarse Parallel Processing Using a Work Queue work?",
    "answer": "Coarse Parallel Processing Using a Work QueueIn this example, you will run a Kubernetes Job with multiple parallel worker processes.In this example, as each pod is created, it picks up one unit of work from a task queue, completes it, deletes it from the queue, and exits.Here is an overview of the steps in this example:Start a message queue service. In this example, you use RabbitMQ, but you could use another one. In practice you would set up a message queue service once and reuse it for many jobs.Create a queue, and fill it with messages. Each message represents one task to be done. In this example, a message is an integer that we will do a lengthy computation on.Start a Job that works on tasks from the queue. The Job starts several pods. Each pod takes one task from the message queue, processes it, and exits.Before you beginYou should already be familiar with the basic, non-parallel, use of Job.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou will need a container image registry where you can upload images to run in your cluster.This task example also assumes that you have Docker installed locally.Starting a message queue serviceThis example uses RabbitMQ, however, you can adapt the example to use another AMQP-type message service.In practice you could set up a message queue service once in a cluster and reuse it for many jobs, as well as for long-running services.Start RabbitMQ as follows:# make a Service for the StatefulSet to use kubectl create -f https://kubernetes.io/examples/application/job/rabbitmq/rabbitmq-service.yaml service \"rabbitmq-service\" created kubectl create -f https://kubernetes.io/examples/application/job/rabbitmq/rabbitmq-statefulset.yaml statefulset \"rabbitmq\" created Testing the message queue serviceNow, we can experiment with accessing the message queue. We will create a temporary interactive pod, install some tools on it, and experiment with queues.First create a temporary interactive Pod.# Create a temporary interactive container kubectl run -i --tty temp --image ubuntu:22.04 Waiting for pod default/temp-loe07 to be running, status is Pending, pod ready: false ... [ previous line repeats several times .. hit return when it stops ] ... Note that your pod name and command prompt will be different.",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/coarse-parallel-processing-work-queue/",
    "id": "k8s_00129_qa_2229"
  },
  {
    "question": "When would you use Coarse Parallel Processing Using a Work Queue?",
    "answer": "Coarse Parallel Processing Using a Work QueueIn this example, you will run a Kubernetes Job with multiple parallel worker processes.In this example, as each pod is created, it picks up one unit of work from a task queue, completes it, deletes it from the queue, and exits.Here is an overview of the steps in this example:Start a message queue service. In this example, you use RabbitMQ, but you could use another one. In practice you would set up a message queue service once and reuse it for many jobs.Create a queue, and fill it with messages. Each message represents one task to be done. In this example, a message is an integer that we will do a lengthy computation on.Start a Job that works on tasks from the queue. The Job starts several pods. Each pod takes one task from the message queue, processes it, and exits.Before you beginYou should already be familiar with the basic, non-parallel, use of Job.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou will need a container image registry where you can upload images to run in your cluster.This task example also assumes that you have Docker installed locally.Starting a message queue serviceThis example uses RabbitMQ, however, you can adapt the example to use another AMQP-type message service.In practice you could set up a message queue service once in a cluster and reuse it for many jobs, as well as for long-running services.Start RabbitMQ as follows:# make a Service for the StatefulSet to use kubectl create -f https://kubernetes.io/examples/application/job/rabbitmq/rabbitmq-service.yaml service \"rabbitmq-service\" created kubectl create -f https://kubernetes.io/examples/application/job/rabbitmq/rabbitmq-statefulset.yaml statefulset \"rabbitmq\" created Testing the message queue serviceNow, we can experiment with accessing the message queue. We will create a temporary interactive pod, install some tools on it, and experiment with queues.First create a temporary interactive Pod.# Create a temporary interactive container kubectl run -i --tty temp --image ubuntu:22.04 Waiting for pod default/temp-loe07 to be running, status is Pending, pod ready: false ... [ previous line repeats several times .. hit return when it stops ] ... Note that your pod name and command prompt will be different.",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/coarse-parallel-processing-work-queue/",
    "id": "k8s_00129_qa_2230"
  },
  {
    "question": "What are the benefits of Coarse Parallel Processing Using a Work Queue?",
    "answer": "Coarse Parallel Processing Using a Work QueueIn this example, you will run a Kubernetes Job with multiple parallel worker processes.In this example, as each pod is created, it picks up one unit of work from a task queue, completes it, deletes it from the queue, and exits.Here is an overview of the steps in this example:Start a message queue service. In this example, you use RabbitMQ, but you could use another one. In practice you would set up a message queue service once and reuse it for many jobs.Create a queue, and fill it with messages. Each message represents one task to be done. In this example, a message is an integer that we will do a lengthy computation on.Start a Job that works on tasks from the queue. The Job starts several pods. Each pod takes one task from the message queue, processes it, and exits.Before you beginYou should already be familiar with the basic, non-parallel, use of Job.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou will need a container image registry where you can upload images to run in your cluster.This task example also assumes that you have Docker installed locally.Starting a message queue serviceThis example uses RabbitMQ, however, you can adapt the example to use another AMQP-type message service.In practice you could set up a message queue service once in a cluster and reuse it for many jobs, as well as for long-running services.Start RabbitMQ as follows:# make a Service for the StatefulSet to use kubectl create -f https://kubernetes.io/examples/application/job/rabbitmq/rabbitmq-service.yaml service \"rabbitmq-service\" created kubectl create -f https://kubernetes.io/examples/application/job/rabbitmq/rabbitmq-statefulset.yaml statefulset \"rabbitmq\" created Testing the message queue serviceNow, we can experiment with accessing the message queue. We will create a temporary interactive pod, install some tools on it, and experiment with queues.First create a temporary interactive Pod.# Create a temporary interactive container kubectl run -i --tty temp --image ubuntu:22.04 Waiting for pod default/temp-loe07 to be running, status is Pending, pod ready: false ... [ previous line repeats several times .. hit return when it stops ] ... Note that your pod name and command prompt will be different.",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/coarse-parallel-processing-work-queue/",
    "id": "k8s_00129_qa_2231"
  },
  {
    "question": "What is Coarse Parallel Processing Using a Work Queue?",
    "answer": "I n   t h i s   e x a m p l e ,   y o u   w i l l   r u n   a   K u b e r n e t e s   J o b   w i t h   m u l t i p l e   p a r a l l e l   w o r k e r   p r o c e s s e s .   I n   t h i s   e x a m p l e ,   a s   e a c h   p o d   i s   c r e a t e d ,   i t   p i c k s   u p   o n e   u n i t   o f   w o r k   f r o m   a   t a s k   q u e u e ,   c o m p l e t e s   i t ,   d e l e t e s   i t   f r o m   t h e   q u e u e ,   a n d   e x i t s .   H e r e   i s   a n   o v e r v i e w   o f   t h e   s t e p s   i n   t h i s   e x a m p l e :   S t a r t   a   m e s s a g e   q u e u e   s e r v i c e .   I n   t h i s   e x a m p l e ,   y o u   u s e   R a b b i t M Q ,   b u t   y o u   c o u l d   u s e   a n o t h e r   o n e .   I n   p r a c t i c e   y o u   w o u l d   s e t   u p   a   m e s s a g e   q u e u e   s e r v i c e   o n c e   a n d   r e u s e   i t   f o r   m a n y   j o b s . C r e a t e   a   q u e u e ,   a n d   f i l l   i t   w i t h   m e s s a g e s .   E a c h   m e s s a g e   r e p r e s e n t s   o n e   t a s k   t o   b e   d o n e .   I n   t h i s   e x a m p l e ,   a   m e s s a g e   i s   a n   i n t e g e r   t h a t   w e   w i l l   d o   a   l e n g t h y   c o m p u t a t i o n   o n . S t a r t   a   J o b   t h a t   w o r k s   o n   t a s k s   f r o m   t h e   q u e u e .   T h e   J o b   s t a r t s   s e v e r a l   p o d s .   E a c h   p o d   t a k e s   o n e   t a s k   f r o m   t h e   m e s s a g e   q u e u e ,   p r o c e s s e s   i t ,   a n d   e x i t s .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/coarse-parallel-processing-work-queue/",
    "id": "k8s_00129_section_1_2232"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   s h o u l d   a l r e a d y   b e   f a m i l i a r   w i t h   t h e   b a s i c ,   n o n - p a r a l l e l ,   u s e   o f   J o b .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   w i l l   n e e d   a   c o n t a i n e r   i m a g e   r e g i s t r y   w h e r e   y o u   c a n   u p l o a d   i m a g e s   t o   r u n   i n   y o u r   c l u s t e r .   T h i s   t a s k   e x a m p l e   a l s o   a s s u m e s   t h a t   y o u   h a v e   D o c k e r   i n s t a l l e d   l o c a l l y .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/coarse-parallel-processing-work-queue/",
    "id": "k8s_00129_section_2_2233"
  },
  {
    "question": "What is Starting a message queue service?",
    "answer": "T h i s   e x a m p l e   u s e s   R a b b i t M Q ,   h o w e v e r ,   y o u   c a n   a d a p t   t h e   e x a m p l e   t o   u s e   a n o t h e r   A M Q P - t y p e   m e s s a g e   s e r v i c e .   I n   p r a c t i c e   y o u   c o u l d   s e t   u p   a   m e s s a g e   q u e u e   s e r v i c e   o n c e   i n   a   c l u s t e r   a n d   r e u s e   i t   f o r   m a n y   j o b s ,   a s   w e l l   a s   f o r   l o n g - r u n n i n g   s e r v i c e s .   S t a r t   R a b b i t M Q   a s   f o l l o w s :   #   m a k e   a   S e r v i c e   f o r   t h e   S t a t e f u l S e t   t o   u s e   k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / a p p l i c a t i o n / j o b / r a b b i t m q / r a b b i t m q - s e r v i c e . y a m l   s e r v i c e   \" r a b b i t m q - s e r v i c e \"   c r e a t e d   k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / a p p l i c a t i o n / j o b / r a b b i t m q / r a b b i t m q - s t a t e f u l s e t . y a m l   s t a t e f u l s e t   \" r a b b i t m q \"   c r e a t e d",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/coarse-parallel-processing-work-queue/",
    "id": "k8s_00129_section_2_2234"
  },
  {
    "question": "What is Testing the message queue service?",
    "answer": "N o w ,   w e   c a n   e x p e r i m e n t   w i t h   a c c e s s i n g   t h e   m e s s a g e   q u e u e .   W e   w i l l   c r e a t e   a   t e m p o r a r y   i n t e r a c t i v e   p o d ,   i n s t a l l   s o m e   t o o l s   o n   i t ,   a n d   e x p e r i m e n t   w i t h   q u e u e s .   F i r s t   c r e a t e   a   t e m p o r a r y   i n t e r a c t i v e   P o d .   #   C r e a t e   a   t e m p o r a r y   i n t e r a c t i v e   c o n t a i n e r   k u b e c t l   r u n   - i   - - t t y   t e m p   - - i m a g e   u b u n t u : 2 2 . 0 4   W a i t i n g   f o r   p o d   d e f a u l t / t e m p - l o e 0 7   t o   b e   r u n n i n g ,   s t a t u s   i s   P e n d i n g ,   p o d   r e a d y :   f a l s e   . . .   [   p r e v i o u s   l i n e   r e p e a t s   s e v e r a l   t i m e s   . .   h i t   r e t u r n   w h e n   i t   s t o p s   ]   . . .   N o t e   t h a t   y o u r   p o d   n a m e   a n d   c o m m a n d   p r o m p t   w i l l   b e   d i f f e r e n t .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/coarse-parallel-processing-work-queue/",
    "id": "k8s_00129_section_2_2235"
  },
  {
    "question": "What is Fill the queue with tasks?",
    "answer": "N o w ,   f i l l   t h e   q u e u e   w i t h   s o m e   s i m u l a t e d   t a s k s .   I n   t h i s   e x a m p l e ,   t h e   t a s k s   a r e   s t r i n g s   t o   b e   p r i n t e d .   I n   a   p r a c t i c e ,   t h e   c o n t e n t   o f   t h e   m e s s a g e s   m i g h t   b e :   n a m e s   o f   f i l e s   t o   t h a t   n e e d   t o   b e   p r o c e s s e d e x t r a   f l a g s   t o   t h e   p r o g r a m r a n g e s   o f   k e y s   i n   a   d a t a b a s e   t a b l e c o n f i g u r a t i o n   p a r a m e t e r s   t o   a   s i m u l a t i o n f r a m e   n u m b e r s   o f   a   s c e n e   t o   b e   r e n d e r e d   I f   t h e r e   i s   l a r g e   d a t a   t h a t   i s   n e e d e d   i n   a   r e a d - o n l y   m o d e   b y   a l l   p o d s   o f   t h e   J o b ,   y o u   t y p i c a l l y   p u t   t h a t   i n   a   s h a r e d   f i l e   s y s t e m   l i k e   N F S   a n d   m o u n t   t h a t   r e a d o n l y   o n   a l l   t h e   p o d s ,   o r   w r i t e   t h e   p r o g r a m   i n   t h e   p o d   s o   t h a t   i t   c a n   n a t i v e l y   r e a d   d a t a   f r o m   a   c l u s t e r   f i l e   s y s t e m   ( f o r   e x a m p l e :   H D F S ) .   F o r   t h i s   e x a m p l e ,   y o u   w i l l   c r e a t e   t h e   q u e u e   a n d   f i l l   i t   u s i n g   t h e   A M Q P   c o m m a n d   l i n e   t o o l s .   I n   p r a c t i c e ,   y o u   m i g h t   w r i t e   a   p r o g r a m   t o   f i l l   t h e   q u e u e   u s i n g   a n   A M Q P   c l i e n t   l i b r a r y .   #   R u n   t h i s   o n   y o u r   c o m p u t e r ,   n o t   i n   t h e   P o d   / u s r / b i n / a m q p - d e c l a r e - q u e u e   - - u r l = $ B R O K E R _ U R L   - q   j o b 1   - d   j o b 1   A d d   i t e m s   t o   t h e   q u e u e :   f o r   f   i n   a p p l e   b a n a n a   c h e r r y   d a t e   f i g   g r a p e   l e m o n   m e l o n   d o   / u s ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/coarse-parallel-processing-work-queue/",
    "id": "k8s_00129_section_2_2236"
  },
  {
    "question": "What is Create a container image?",
    "answer": "N o w   y o u   a r e   r e a d y   t o   c r e a t e   a n   i m a g e   t h a t   y o u   w i l l   r u n   a s   a   J o b .   T h e   j o b   w i l l   u s e   t h e   a m q p - c o n s u m e   u t i l i t y   t o   r e a d   t h e   m e s s a g e   f r o m   t h e   q u e u e   a n d   r u n   t h e   a c t u a l   w o r k .   H e r e   i s   a   v e r y   s i m p l e   e x a m p l e   p r o g r a m :   # ! / u s r / b i n / e n v   p y t h o n   #   J u s t   p r i n t s   s t a n d a r d   o u t   a n d   s l e e p s   f o r   1 0   s e c o n d s .   i m p o r t   s y s   i m p o r t   t i m e   p r i n t ( \" P r o c e s s i n g   \"   +   s y s . s t d i n . r e a d l i n e s ( ) [ 0 ] )   t i m e . s l e e p ( 1 0 )   G i v e   t h e   s c r i p t   e x e c u t i o n   p e r m i s s i o n :   c h m o d   + x   w o r k e r . p y   N o w ,   b u i l d   a n   i m a g e .   M a k e   a   t e m p o r a r y   d i r e c t o r y ,   c h a n g e   t o   i t ,   d o w n l o a d   t h e   D o c k e r f i l e ,   a n d   w o r k e r . p y .   I n   e i t h e r   c a s e ,   b u i l d   t h e   i m a g e   w i t h   t h i s   c o m m a n d :   d o c k e r   b u i l d   - t   j o b - w q - 1   .   F o r   t h e   D o c k e r   H u b ,   t a g   y o u r   a p p   i m a g e   w i t h   y o u r   u s e r n a m e   a n d   p u s h   t o   t h e   H u b   w i t h   t h e   b e l o w   c o m m a n d s .   R e p l a c e   < u s e r n a m e >   w i t h   y o u r   H u b   u s e r n a m e .   d o c k e r   t a g   j o b - w q - 1   < u s e r n a m e > / j o b - w q - 1   d o c k e r   p u s h   < u s e r n a m e > / j o b - w q - 1   I f   y o u   a r e   u s i n g   a n   a l t e r n a t i v e   c o n t a i n e r   i m a g e   r e g i s t r y ,   t a g   t h e   i m a g e   a n d   p u s h   i t   t h e r e   i n s t e a d .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/coarse-parallel-processing-work-queue/",
    "id": "k8s_00129_section_2_2237"
  },
  {
    "question": "What is Defining a Job?",
    "answer": "H e r e   i s   a   m a n i f e s t   f o r   a   J o b .   Y o u ' l l   n e e d   t o   m a k e   a   c o p y   o f   t h e   J o b   m a n i f e s t   ( c a l l   i t   . / j o b . y a m l ) ,   a n d   e d i t   t h e   n a m e   o f   t h e   c o n t a i n e r   i m a g e   t o   m a t c h   t h e   n a m e   y o u   u s e d .   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   j o b - w q - 1   s p e c :   c o m p l e t i o n s :   8   p a r a l l e l i s m :   2   t e m p l a t e :   m e t a d a t a :   n a m e :   j o b - w q - 1   s p e c :   c o n t a i n e r s :   -   n a m e :   c   i m a g e :   g c r . i o / < p r o j e c t > / j o b - w q - 1   e n v :   -   n a m e :   B R O K E R _ U R L   v a l u e :   a m q p : / / g u e s t : g u e s t @ r a b b i t m q - s e r v i c e : 5 6 7 2   -   n a m e :   Q U E U E   v a l u e :   j o b 1   r e s t a r t P o l i c y :   O n F a i l u r e   I n   t h i s   e x a m p l e ,   e a c h   p o d   w o r k s   o n   o n e   i t e m   f r o m   t h e   q u e u e   a n d   t h e n   e x i t s .   S o ,   t h e   c o m p l e t i o n   c o u n t   o f   t h e   J o b   c o r r e s p o n d s   t o   t h e   n u m b e r   o f   w o r k   i t e m s   d o n e .   T h a t   i s   w h y   t h e   e x a m p l e   m a n i f e s t   h a s   . s p e c . c o m p l e t i o n s   s e t   t o   8 .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/coarse-parallel-processing-work-queue/",
    "id": "k8s_00129_section_2_2238"
  },
  {
    "question": "What is Running the Job?",
    "answer": "N o w ,   r u n   t h e   J o b :   #   t h i s   a s s u m e s   y o u   d o w n l o a d e d   a n d   t h e n   e d i t e d   t h e   m a n i f e s t   a l r e a d y   k u b e c t l   a p p l y   - f   . / j o b . y a m l   Y o u   c a n   w a i t   f o r   t h e   J o b   t o   s u c c e e d ,   w i t h   a   t i m e o u t :   #   T h e   c h e c k   f o r   c o n d i t i o n   n a m e   i s   c a s e   i n s e n s i t i v e   k u b e c t l   w a i t   - - f o r = c o n d i t i o n = c o m p l e t e   - - t i m e o u t = 3 0 0 s   j o b / j o b - w q - 1   N e x t ,   c h e c k   o n   t h e   J o b :   k u b e c t l   d e s c r i b e   j o b s / j o b - w q - 1   N a m e :   j o b - w q - 1   N a m e s p a c e :   d e f a u l t   S e l e c t o r :   c o n t r o l l e r - u i d = 4 1 d 7 5 7 0 5 - 9 2 d f - 1 1 e 7 - b 8 5 e - f a 1 6 3 e e 3 c 1 1 f   L a b e l s :   c o n t r o l l e r - u i d = 4 1 d 7 5 7 0 5 - 9 2 d f - 1 1 e 7 - b 8 5 e - f a 1 6 3 e e 3 c 1 1 f   j o b - n a m e = j o b - w q - 1   A n n o t a t i o n s :   < n o n e >   P a r a l l e l i s m :   2   C o m p l e t i o n s :   8   S t a r t   T i m e :   W e d ,   0 6   S e p   2 0 2 2   1 6 : 4 2 : 0 2   + 0 0 0 0   P o d s   S t a t u s e s :   0   R u n n i n g   /   8   S u c c e e d e d   /   0   F a i l e d   P o d   T e m p l a t e :   L a b e l s :   c o n t r o l l e r - u i d = 4 1 d 7 5 7 0 5 - 9 2 d f - 1 1 e 7 - b 8 5 e - f a 1 6 3 e e 3 c 1 1 f   j o b - n a m e = j o b - w q - 1   C o n t a i n e r s :   c :   I m a g e :   c o n t a i n e r - r e g i s t r y . e x a m p l e / c a u s a l - j i g s a w - 6 3 7 / j o b - w q - 1   P o r t :   E n v i r o n m e n t :   B R O K E R _ U R L :   a m q p : / / g u e s t : g u e s t @ r a b b i t m q - s e r v i c e : 5 6 7 2   Q U E U E :   j o b 1   M o u n t s :   < n o n e >   V o l u m e s :   < n o n e >   E v e n t s :   F i r s t S e e n   L a s t S e e n   C o u n t   F r o m   S u b o b j e c t P a t h   T y p e   R e a s ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/coarse-parallel-processing-work-queue/",
    "id": "k8s_00129_section_2_2239"
  },
  {
    "question": "What is Alternatives?",
    "answer": "T h i s   a p p r o a c h   h a s   t h e   a d v a n t a g e   t h a t   y o u   d o   n o t   n e e d   t o   m o d i f y   y o u r   \" w o r k e r \"   p r o g r a m   t o   b e   a w a r e   t h a t   t h e r e   i s   a   w o r k   q u e u e .   Y o u   c a n   i n c l u d e   t h e   w o r k e r   p r o g r a m   u n m o d i f i e d   i n   y o u r   c o n t a i n e r   i m a g e .   U s i n g   t h i s   a p p r o a c h   d o e s   r e q u i r e   t h a t   y o u   r u n   a   m e s s a g e   q u e u e   s e r v i c e .   I f   r u n n i n g   a   q u e u e   s e r v i c e   i s   i n c o n v e n i e n t ,   y o u   m a y   w a n t   t o   c o n s i d e r   o n e   o f   t h e   o t h e r   j o b   p a t t e r n s .   T h i s   a p p r o a c h   c r e a t e s   a   p o d   f o r   e v e r y   w o r k   i t e m .   I f   y o u r   w o r k   i t e m s   o n l y   t a k e   a   f e w   s e c o n d s ,   t h o u g h ,   c r e a t i n g   a   P o d   f o r   e v e r y   w o r k   i t e m   m a y   a d d   a   l o t   o f   o v e r h e a d .   C o n s i d e r   a n o t h e r   d e s i g n ,   s u c h   a s   i n   t h e   f i n e   p a r a l l e l   w o r k   q u e u e   e x a m p l e ,   t h a t   e x e c u t e s   m u l t i p l e   w o r k   i t e m s   p e r   P o d .   I n   t h i s   e x a m p l e ,   y o u   u s e d   t h e   a m q p - c o n s u m e   u t i l i t y   t o   r e a d   t h e   m e s s a g e   f r o m   t h e   q u e u e   a n d   r u n   t h e   a c t u a l   p r o g r a m .   T h i s   h a s   t h e   a d v a n t a g e   t h a t   y o u   d o   n o t   n e e d   t o   m o d i f y   y o u r   p r o g r a m   t o   b e   a w a r e   o f   t h e   q u e u e .   T h e   f i n e   p a r a l l e l   w o r k   q u e u e   e x a m p l e   s h o w s   h o w   t o   c o m m u n i c a t e   w i t h   t h e   w o r k   q u e u e   u s i n g   a   c l i e n t   l i b r a r y .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/coarse-parallel-processing-work-queue/",
    "id": "k8s_00129_section_2_2240"
  },
  {
    "question": "What is Caveats?",
    "answer": "I f   t h e   n u m b e r   o f   c o m p l e t i o n s   i s   s e t   t o   l e s s   t h a n   t h e   n u m b e r   o f   i t e m s   i n   t h e   q u e u e ,   t h e n   n o t   a l l   i t e m s   w i l l   b e   p r o c e s s e d .   I f   t h e   n u m b e r   o f   c o m p l e t i o n s   i s   s e t   t o   m o r e   t h a n   t h e   n u m b e r   o f   i t e m s   i n   t h e   q u e u e ,   t h e n   t h e   J o b   w i l l   n o t   a p p e a r   t o   b e   c o m p l e t e d ,   e v e n   t h o u g h   a l l   i t e m s   i n   t h e   q u e u e   h a v e   b e e n   p r o c e s s e d .   I t   w i l l   s t a r t   a d d i t i o n a l   p o d s   w h i c h   w i l l   b l o c k   w a i t i n g   f o r   a   m e s s a g e .   Y o u   w o u l d   n e e d   t o   m a k e   y o u r   o w n   m e c h a n i s m   t o   s p o t   w h e n   t h e r e   i s   w o r k   t o   d o   a n d   m e a s u r e   t h e   s i z e   o f   t h e   q u e u e ,   s e t t i n g   t h e   n u m b e r   o f   c o m p l e t i o n s   t o   m a t c h .   T h e r e   i s   a n   u n l i k e l y   r a c e   w i t h   t h i s   p a t t e r n .   I f   t h e   c o n t a i n e r   i s   k i l l e d   i n   b e t w e e n   t h e   t i m e   t h a t   t h e   m e s s a g e   i s   a c k n o w l e d g e d   b y   t h e   a m q p - c o n s u m e   c o m m a n d   a n d   t h e   t i m e   t h a t   t h e   c o n t a i n e r   e x i t s   w i t h   s u c c e s s ,   o r   i f   t h e   n o d e   c r a s h e s   b e f o r e   t h e   k u b e l e t   i s   a b l e   t o   p o s t   t h e   s u c c e s s   o f   t h e   p o d   b a c k   t o   t h e   A P I   s e r v e r ,   t h e n   t h e   J o b   w i l l   n o t   a p p e a r   t o   b e   c o m p l e t e ,   e v e n   t h o u g h   a l l   i t e m s   i n   t h e   q u e u e   h a v e   b e e n   p r o c e s s e d .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/coarse-parallel-processing-work-queue/",
    "id": "k8s_00129_section_2_2241"
  },
  {
    "question": "What is Lease?",
    "answer": "LeaseLease defines a lease concept.apiVersion: coordination.k8s.io/v1import \"k8s.io/api/coordination/v1\"LeaseLease defines a lease concept.apiVersion: coordination.k8s.io/v1kind: Leasemetadata (ObjectMeta)More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (LeaseSpec)spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusLeaseSpecLeaseSpec is a specification of a Lease.acquireTime (MicroTime)acquireTime is a time when the current lease was acquired.MicroTime is version of Time with microsecond level precision.holderIdentity (string)holderIdentity contains the identity of the holder of a current lease. If Coordinated Leader Election is used, the holder identity must be equal to the elected LeaseCandidate.metadata.name field.leaseDurationSeconds (int32)leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measured against the time of last observed renewTime.leaseTransitions (int32)leaseTransitions is the number of transitions of a lease between holders.preferredHolder (string)PreferredHolder signals to a lease holder that the lease has a more optimal holder and should be given up. This field can only be set if Strategy is also set.renewTime (MicroTime)renewTime is a time when the current holder of a lease has last updated the lease.MicroTime is version of Time with microsecond level precision.strategy (string)Strategy indicates the strategy for picking the leader for coordinated leader election. If the field is not specified, there is no active coordination for this lease. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.LeaseListLeaseList is a list of Lease objects.apiVersion: coordination.k8s.io/v1kind: LeaseListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]Lease), requireditems is a list of schema objects.Operationsget read the specified LeaseHTTP RequestGET /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}Parametersname (in path): string, requiredname of the Leasenamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (Lease): OK401: Unauthorizedlist list or watch objects of kind LeaseHTTP RequestGET /apis/coordination.k8s.io/v1/namespaces/{namespace}/leasesParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integer",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_qa_2242"
  },
  {
    "question": "How does Lease work?",
    "answer": "LeaseLease defines a lease concept.apiVersion: coordination.k8s.io/v1import \"k8s.io/api/coordination/v1\"LeaseLease defines a lease concept.apiVersion: coordination.k8s.io/v1kind: Leasemetadata (ObjectMeta)More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (LeaseSpec)spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusLeaseSpecLeaseSpec is a specification of a Lease.acquireTime (MicroTime)acquireTime is a time when the current lease was acquired.MicroTime is version of Time with microsecond level precision.holderIdentity (string)holderIdentity contains the identity of the holder of a current lease. If Coordinated Leader Election is used, the holder identity must be equal to the elected LeaseCandidate.metadata.name field.leaseDurationSeconds (int32)leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measured against the time of last observed renewTime.leaseTransitions (int32)leaseTransitions is the number of transitions of a lease between holders.preferredHolder (string)PreferredHolder signals to a lease holder that the lease has a more optimal holder and should be given up. This field can only be set if Strategy is also set.renewTime (MicroTime)renewTime is a time when the current holder of a lease has last updated the lease.MicroTime is version of Time with microsecond level precision.strategy (string)Strategy indicates the strategy for picking the leader for coordinated leader election. If the field is not specified, there is no active coordination for this lease. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.LeaseListLeaseList is a list of Lease objects.apiVersion: coordination.k8s.io/v1kind: LeaseListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]Lease), requireditems is a list of schema objects.Operationsget read the specified LeaseHTTP RequestGET /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}Parametersname (in path): string, requiredname of the Leasenamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (Lease): OK401: Unauthorizedlist list or watch objects of kind LeaseHTTP RequestGET /apis/coordination.k8s.io/v1/namespaces/{namespace}/leasesParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integer",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_qa_2243"
  },
  {
    "question": "When would you use Lease?",
    "answer": "LeaseLease defines a lease concept.apiVersion: coordination.k8s.io/v1import \"k8s.io/api/coordination/v1\"LeaseLease defines a lease concept.apiVersion: coordination.k8s.io/v1kind: Leasemetadata (ObjectMeta)More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (LeaseSpec)spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusLeaseSpecLeaseSpec is a specification of a Lease.acquireTime (MicroTime)acquireTime is a time when the current lease was acquired.MicroTime is version of Time with microsecond level precision.holderIdentity (string)holderIdentity contains the identity of the holder of a current lease. If Coordinated Leader Election is used, the holder identity must be equal to the elected LeaseCandidate.metadata.name field.leaseDurationSeconds (int32)leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measured against the time of last observed renewTime.leaseTransitions (int32)leaseTransitions is the number of transitions of a lease between holders.preferredHolder (string)PreferredHolder signals to a lease holder that the lease has a more optimal holder and should be given up. This field can only be set if Strategy is also set.renewTime (MicroTime)renewTime is a time when the current holder of a lease has last updated the lease.MicroTime is version of Time with microsecond level precision.strategy (string)Strategy indicates the strategy for picking the leader for coordinated leader election. If the field is not specified, there is no active coordination for this lease. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.LeaseListLeaseList is a list of Lease objects.apiVersion: coordination.k8s.io/v1kind: LeaseListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]Lease), requireditems is a list of schema objects.Operationsget read the specified LeaseHTTP RequestGET /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}Parametersname (in path): string, requiredname of the Leasenamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (Lease): OK401: Unauthorizedlist list or watch objects of kind LeaseHTTP RequestGET /apis/coordination.k8s.io/v1/namespaces/{namespace}/leasesParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integer",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_qa_2244"
  },
  {
    "question": "What are the benefits of Lease?",
    "answer": "LeaseLease defines a lease concept.apiVersion: coordination.k8s.io/v1import \"k8s.io/api/coordination/v1\"LeaseLease defines a lease concept.apiVersion: coordination.k8s.io/v1kind: Leasemetadata (ObjectMeta)More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (LeaseSpec)spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusLeaseSpecLeaseSpec is a specification of a Lease.acquireTime (MicroTime)acquireTime is a time when the current lease was acquired.MicroTime is version of Time with microsecond level precision.holderIdentity (string)holderIdentity contains the identity of the holder of a current lease. If Coordinated Leader Election is used, the holder identity must be equal to the elected LeaseCandidate.metadata.name field.leaseDurationSeconds (int32)leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measured against the time of last observed renewTime.leaseTransitions (int32)leaseTransitions is the number of transitions of a lease between holders.preferredHolder (string)PreferredHolder signals to a lease holder that the lease has a more optimal holder and should be given up. This field can only be set if Strategy is also set.renewTime (MicroTime)renewTime is a time when the current holder of a lease has last updated the lease.MicroTime is version of Time with microsecond level precision.strategy (string)Strategy indicates the strategy for picking the leader for coordinated leader election. If the field is not specified, there is no active coordination for this lease. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.LeaseListLeaseList is a list of Lease objects.apiVersion: coordination.k8s.io/v1kind: LeaseListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]Lease), requireditems is a list of schema objects.Operationsget read the specified LeaseHTTP RequestGET /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}Parametersname (in path): string, requiredname of the Leasenamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (Lease): OK401: Unauthorizedlist list or watch objects of kind LeaseHTTP RequestGET /apis/coordination.k8s.io/v1/namespaces/{namespace}/leasesParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integer",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_qa_2245"
  },
  {
    "question": "What is Lease?",
    "answer": "a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / c o o r d i n a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_1_2246"
  },
  {
    "question": "What is Lease?",
    "answer": "L e a s e   d e f i n e s   a   l e a s e   c o n c e p t .   a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1 k i n d :   L e a s e m e t a d a t a   ( O b j e c t M e t a ) M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( L e a s e S p e c ) s p e c   c o n t a i n s   t h e   s p e c i f i c a t i o n   o f   t h e   L e a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1   k i n d :   L e a s e   m e t a d a t a   ( O b j e c t M e t a )   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( L e a s e S p e c )   s p e c   c o n t a i n s   t h e   s p e c i f i c a t i o n   o f   t h e   L e a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_2_2247"
  },
  {
    "question": "What is LeaseSpec?",
    "answer": "L e a s e S p e c   i s   a   s p e c i f i c a t i o n   o f   a   L e a s e .   a c q u i r e T i m e   ( M i c r o T i m e ) a c q u i r e T i m e   i s   a   t i m e   w h e n   t h e   c u r r e n t   l e a s e   w a s   a c q u i r e d . M i c r o T i m e   i s   v e r s i o n   o f   T i m e   w i t h   m i c r o s e c o n d   l e v e l   p r e c i s i o n . h o l d e r I d e n t i t y   ( s t r i n g ) h o l d e r I d e n t i t y   c o n t a i n s   t h e   i d e n t i t y   o f   t h e   h o l d e r   o f   a   c u r r e n t   l e a s e .   I f   C o o r d i n a t e d   L e a d e r   E l e c t i o n   i s   u s e d ,   t h e   h o l d e r   i d e n t i t y   m u s t   b e   e q u a l   t o   t h e   e l e c t e d   L e a s e C a n d i d a t e . m e t a d a t a . n a m e   f i e l d . l e a s e D u r a t i o n S e c o n d s   ( i n t 3 2 ) l e a s e D u r a t i o n S e c o n d s   i s   a   d u r a t i o n   t h a t   c a n d i d a t e s   f o r   a   l e a s e   n e e d   t o   w a i t   t o   f o r c e   a c q u i r e   i t .   T h i s   i s   m e a s u r e d   a g a i n s t   t h e   t i m e   o f   l a s t   o b s e r v e d   r e n e w T i m e . l e a s e T r a n s i t i o n s   ( i n t 3 2 ) l e a s e T r a n s i t i o n s   i s   t h e   n u m b e r   o f   t r a n s i t i o n s   o f   a   l e a s e   b e t w e e n   h o l d e r s . p r e f e r r e d H o l d e r   ( s t r i n g ) P r e f e r r e d H o l d e r   s i g n a l s   t o   a   l e a s e   h o l d e r   t h a t   t h e   l e a s e   h a s   a   m o r e   o p t i m a l   h o l d e r   a n d   s h o u l d   b e   g i v e n   u p .   T h i s   f i e l d   c a n   o n l y   b e   s e t   i f   S t r a t e g y   i s   a l s o   s e t . r e n e w T i m e   ( M i c r o T i m e ) r e n e w T i m e   i s   a   t i m e   w h e n   t h e   c u r r e n t   h o l d e r   o f   a   l e a s e   h a s   l a s t   u p d a t e d   t h e   l e a s e . M i c r o T i m e   i s   v e r s i o n   o f   T i m e   w ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_2_2248"
  },
  {
    "question": "What is LeaseList?",
    "answer": "L e a s e L i s t   i s   a   l i s t   o f   L e a s e   o b j e c t s .   a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1 k i n d :   L e a s e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] L e a s e ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .   a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1   k i n d :   L e a s e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] L e a s e ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_2_2249"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_4_2250"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L e a s e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L e a s e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_4_2251"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_4_2252"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_4_2253"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_4_2254"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_4_2255"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / l e a s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_4_2256"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_4_2257"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_4_2258"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_4_2259"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   L e a s e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   L e a s e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_4_2260"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e ) :   O K   2 0 1   ( L e a s e ) :   C r e a t e d   2 0 2   ( L e a s e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_4_2261"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_4_2262"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L e a s e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   L e a s e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L e a s e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   L e a s e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_4_2263"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e ) :   O K   2 0 1   ( L e a s e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_4_2264"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_4_2265"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L e a s e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L e a s e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_4_2266"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e ) :   O K   2 0 1   ( L e a s e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_4_2267"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_4_2268"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L e a s e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L e a s e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_4_2269"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_4_2270"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_4_2271"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_4_2272"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-v1/",
    "id": "k8s_00130_section_4_2273"
  },
  {
    "question": "What is Other Tools?",
    "answer": "Other ToolsKubernetes contains several tools to help you work with the Kubernetes system.crictlcrictl is a command-line interface for inspecting and debugging CRI-compatible container runtimes.DashboardDashboard, the web-based user interface of Kubernetes, allows you to deploy containerized applications to a Kubernetes cluster, troubleshoot them, and manage the cluster and its resources itself.Helm🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationHelm is a tool for managing packages of pre-configured Kubernetes resources. These packages are known as Helm charts.Use Helm to:Find and use popular software packaged as Kubernetes chartsShare your own applications as Kubernetes chartsCreate reproducible builds of your Kubernetes applicationsIntelligently manage your Kubernetes manifest filesManage releases of Helm packagesKomposeKompose is a tool to help Docker Compose users move to Kubernetes.Use Kompose to:Translate a Docker Compose file into Kubernetes objectsGo from local Docker development to managing your application via KubernetesConvert v1 or v2 Docker Compose yaml files or Distributed Application BundlesKuiKui is a GUI tool that takes your normal kubectl command line requests and responds with graphics.Kui takes the normal kubectl command line requests and responds with graphics. Instead of ASCII tables, Kui provides a GUI rendering with tables that you can sort.Kui lets you:Directly click on long, auto-generated resource names instead of copying and pastingType in kubectl commands and see them execute, even sometimes faster than kubectl itselfQuery a Job and see its execution rendered as a waterfall diagramClick through resources in your cluster using a tabbed UIMinikubeminikube is a tool that runs a single-node Kubernetes cluster locally on your workstation for development and testing purposes.Items on this page refer to third party products or projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for those third-party products or projects. See the CNCF website guidelines for more details.You should read the content guide before proposing a change that adds an extra third-party link.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/tools/",
    "id": "k8s_00131_qa_2274"
  },
  {
    "question": "How does Other Tools work?",
    "answer": "Other ToolsKubernetes contains several tools to help you work with the Kubernetes system.crictlcrictl is a command-line interface for inspecting and debugging CRI-compatible container runtimes.DashboardDashboard, the web-based user interface of Kubernetes, allows you to deploy containerized applications to a Kubernetes cluster, troubleshoot them, and manage the cluster and its resources itself.Helm🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationHelm is a tool for managing packages of pre-configured Kubernetes resources. These packages are known as Helm charts.Use Helm to:Find and use popular software packaged as Kubernetes chartsShare your own applications as Kubernetes chartsCreate reproducible builds of your Kubernetes applicationsIntelligently manage your Kubernetes manifest filesManage releases of Helm packagesKomposeKompose is a tool to help Docker Compose users move to Kubernetes.Use Kompose to:Translate a Docker Compose file into Kubernetes objectsGo from local Docker development to managing your application via KubernetesConvert v1 or v2 Docker Compose yaml files or Distributed Application BundlesKuiKui is a GUI tool that takes your normal kubectl command line requests and responds with graphics.Kui takes the normal kubectl command line requests and responds with graphics. Instead of ASCII tables, Kui provides a GUI rendering with tables that you can sort.Kui lets you:Directly click on long, auto-generated resource names instead of copying and pastingType in kubectl commands and see them execute, even sometimes faster than kubectl itselfQuery a Job and see its execution rendered as a waterfall diagramClick through resources in your cluster using a tabbed UIMinikubeminikube is a tool that runs a single-node Kubernetes cluster locally on your workstation for development and testing purposes.Items on this page refer to third party products or projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for those third-party products or projects. See the CNCF website guidelines for more details.You should read the content guide before proposing a change that adds an extra third-party link.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/tools/",
    "id": "k8s_00131_qa_2275"
  },
  {
    "question": "When would you use Other Tools?",
    "answer": "Other ToolsKubernetes contains several tools to help you work with the Kubernetes system.crictlcrictl is a command-line interface for inspecting and debugging CRI-compatible container runtimes.DashboardDashboard, the web-based user interface of Kubernetes, allows you to deploy containerized applications to a Kubernetes cluster, troubleshoot them, and manage the cluster and its resources itself.Helm🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationHelm is a tool for managing packages of pre-configured Kubernetes resources. These packages are known as Helm charts.Use Helm to:Find and use popular software packaged as Kubernetes chartsShare your own applications as Kubernetes chartsCreate reproducible builds of your Kubernetes applicationsIntelligently manage your Kubernetes manifest filesManage releases of Helm packagesKomposeKompose is a tool to help Docker Compose users move to Kubernetes.Use Kompose to:Translate a Docker Compose file into Kubernetes objectsGo from local Docker development to managing your application via KubernetesConvert v1 or v2 Docker Compose yaml files or Distributed Application BundlesKuiKui is a GUI tool that takes your normal kubectl command line requests and responds with graphics.Kui takes the normal kubectl command line requests and responds with graphics. Instead of ASCII tables, Kui provides a GUI rendering with tables that you can sort.Kui lets you:Directly click on long, auto-generated resource names instead of copying and pastingType in kubectl commands and see them execute, even sometimes faster than kubectl itselfQuery a Job and see its execution rendered as a waterfall diagramClick through resources in your cluster using a tabbed UIMinikubeminikube is a tool that runs a single-node Kubernetes cluster locally on your workstation for development and testing purposes.Items on this page refer to third party products or projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for those third-party products or projects. See the CNCF website guidelines for more details.You should read the content guide before proposing a change that adds an extra third-party link.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/tools/",
    "id": "k8s_00131_qa_2276"
  },
  {
    "question": "What are the benefits of Other Tools?",
    "answer": "Other ToolsKubernetes contains several tools to help you work with the Kubernetes system.crictlcrictl is a command-line interface for inspecting and debugging CRI-compatible container runtimes.DashboardDashboard, the web-based user interface of Kubernetes, allows you to deploy containerized applications to a Kubernetes cluster, troubleshoot them, and manage the cluster and its resources itself.Helm🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationHelm is a tool for managing packages of pre-configured Kubernetes resources. These packages are known as Helm charts.Use Helm to:Find and use popular software packaged as Kubernetes chartsShare your own applications as Kubernetes chartsCreate reproducible builds of your Kubernetes applicationsIntelligently manage your Kubernetes manifest filesManage releases of Helm packagesKomposeKompose is a tool to help Docker Compose users move to Kubernetes.Use Kompose to:Translate a Docker Compose file into Kubernetes objectsGo from local Docker development to managing your application via KubernetesConvert v1 or v2 Docker Compose yaml files or Distributed Application BundlesKuiKui is a GUI tool that takes your normal kubectl command line requests and responds with graphics.Kui takes the normal kubectl command line requests and responds with graphics. Instead of ASCII tables, Kui provides a GUI rendering with tables that you can sort.Kui lets you:Directly click on long, auto-generated resource names instead of copying and pastingType in kubectl commands and see them execute, even sometimes faster than kubectl itselfQuery a Job and see its execution rendered as a waterfall diagramClick through resources in your cluster using a tabbed UIMinikubeminikube is a tool that runs a single-node Kubernetes cluster locally on your workstation for development and testing purposes.Items on this page refer to third party products or projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for those third-party products or projects. See the CNCF website guidelines for more details.You should read the content guide before proposing a change that adds an extra third-party link.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/tools/",
    "id": "k8s_00131_qa_2277"
  },
  {
    "question": "What is Other Tools?",
    "answer": "K u b e r n e t e s   c o n t a i n s   s e v e r a l   t o o l s   t o   h e l p   y o u   w o r k   w i t h   t h e   K u b e r n e t e s   s y s t e m .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/tools/",
    "id": "k8s_00131_section_1_2278"
  },
  {
    "question": "What is crictl?",
    "answer": "c r i c t l   i s   a   c o m m a n d - l i n e   i n t e r f a c e   f o r   i n s p e c t i n g   a n d   d e b u g g i n g   C R I - c o m p a t i b l e   c o n t a i n e r   r u n t i m e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/tools/",
    "id": "k8s_00131_section_2_2279"
  },
  {
    "question": "What is Dashboard?",
    "answer": "D a s h b o a r d ,   t h e   w e b - b a s e d   u s e r   i n t e r f a c e   o f   K u b e r n e t e s ,   a l l o w s   y o u   t o   d e p l o y   c o n t a i n e r i z e d   a p p l i c a t i o n s   t o   a   K u b e r n e t e s   c l u s t e r ,   t r o u b l e s h o o t   t h e m ,   a n d   m a n a g e   t h e   c l u s t e r   a n d   i t s   r e s o u r c e s   i t s e l f .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/tools/",
    "id": "k8s_00131_section_2_2280"
  },
  {
    "question": "What is Helm?",
    "answer": "H e l m   i s   a   t o o l   f o r   m a n a g i n g   p a c k a g e s   o f   p r e - c o n f i g u r e d   K u b e r n e t e s   r e s o u r c e s .   T h e s e   p a c k a g e s   a r e   k n o w n   a s   H e l m   c h a r t s .   U s e   H e l m   t o :   F i n d   a n d   u s e   p o p u l a r   s o f t w a r e   p a c k a g e d   a s   K u b e r n e t e s   c h a r t s S h a r e   y o u r   o w n   a p p l i c a t i o n s   a s   K u b e r n e t e s   c h a r t s C r e a t e   r e p r o d u c i b l e   b u i l d s   o f   y o u r   K u b e r n e t e s   a p p l i c a t i o n s I n t e l l i g e n t l y   m a n a g e   y o u r   K u b e r n e t e s   m a n i f e s t   f i l e s M a n a g e   r e l e a s e s   o f   H e l m   p a c k a g e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/tools/",
    "id": "k8s_00131_section_2_2281"
  },
  {
    "question": "What is Kompose?",
    "answer": "K o m p o s e   i s   a   t o o l   t o   h e l p   D o c k e r   C o m p o s e   u s e r s   m o v e   t o   K u b e r n e t e s .   U s e   K o m p o s e   t o :   T r a n s l a t e   a   D o c k e r   C o m p o s e   f i l e   i n t o   K u b e r n e t e s   o b j e c t s G o   f r o m   l o c a l   D o c k e r   d e v e l o p m e n t   t o   m a n a g i n g   y o u r   a p p l i c a t i o n   v i a   K u b e r n e t e s C o n v e r t   v 1   o r   v 2   D o c k e r   C o m p o s e   y a m l   f i l e s   o r   D i s t r i b u t e d   A p p l i c a t i o n   B u n d l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/tools/",
    "id": "k8s_00131_section_2_2282"
  },
  {
    "question": "What is Kui?",
    "answer": "K u i   i s   a   G U I   t o o l   t h a t   t a k e s   y o u r   n o r m a l   k u b e c t l   c o m m a n d   l i n e   r e q u e s t s   a n d   r e s p o n d s   w i t h   g r a p h i c s .   K u i   t a k e s   t h e   n o r m a l   k u b e c t l   c o m m a n d   l i n e   r e q u e s t s   a n d   r e s p o n d s   w i t h   g r a p h i c s .   I n s t e a d   o f   A S C I I   t a b l e s ,   K u i   p r o v i d e s   a   G U I   r e n d e r i n g   w i t h   t a b l e s   t h a t   y o u   c a n   s o r t .   K u i   l e t s   y o u :   D i r e c t l y   c l i c k   o n   l o n g ,   a u t o - g e n e r a t e d   r e s o u r c e   n a m e s   i n s t e a d   o f   c o p y i n g   a n d   p a s t i n g T y p e   i n   k u b e c t l   c o m m a n d s   a n d   s e e   t h e m   e x e c u t e ,   e v e n   s o m e t i m e s   f a s t e r   t h a n   k u b e c t l   i t s e l f Q u e r y   a   J o b   a n d   s e e   i t s   e x e c u t i o n   r e n d e r e d   a s   a   w a t e r f a l l   d i a g r a m C l i c k   t h r o u g h   r e s o u r c e s   i n   y o u r   c l u s t e r   u s i n g   a   t a b b e d   U I",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/tools/",
    "id": "k8s_00131_section_2_2283"
  },
  {
    "question": "What is Minikube?",
    "answer": "m i n i k u b e   i s   a   t o o l   t h a t   r u n s   a   s i n g l e - n o d e   K u b e r n e t e s   c l u s t e r   l o c a l l y   o n   y o u r   w o r k s t a t i o n   f o r   d e v e l o p m e n t   a n d   t e s t i n g   p u r p o s e s .   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/tools/",
    "id": "k8s_00131_section_2_2284"
  },
  {
    "question": "What is kubeadm init phase?",
    "answer": "kubeadm init phasekubeadm init phase enables you to invoke atomic steps of the bootstrap process. Hence, you can let kubeadm do some of the work and you can fill in the gaps if you wish to apply customization.kubeadm init phase is consistent with the kubeadm init workflow, and behind the scene both use the same code.kubeadm init phase preflightUsing this command you can execute preflight checks on a control-plane node.SynopsisRun pre-flight checks for kubeadm init.kubeadm init phase preflight [flags] Examples # Run pre-flight checks for kubeadm init using a config file. kubeadm init phase preflight --config kubeadm-config.yaml Options--config stringPath to a kubeadm configuration file.--cri-socket stringPath to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.--dry-runDon't apply any changes; just output what would be done.-h, --helphelp for preflight--ignore-preflight-errors stringsA list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.--image-repository string Default: \"registry.k8s.io\"Choose a container registry to pull control plane images fromOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm init phase kubelet-startThis phase will write the kubelet configuration file and environment file and then start the kubelet.Write kubelet settings and (re)start the kubeletSynopsisWrite a file with KubeletConfiguration and an environment file with node specific kubelet settings, and then (re)start kubelet.kubeadm init phase kubelet-start [flags] Examples # Writes a dynamic environment file with kubelet flags from a InitConfiguration file. kubeadm init phase kubelet-start --config config.yaml Options--config stringPath to a kubeadm configuration file.--cri-socket stringPath to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.--dry-runDon't apply any changes; just output what would be done.-h, --helphelp for kubelet-start--image-repository string Default: \"registry.k8s.io\"Choose a container registry to pull control plane images from--node-name stringSpecify the node name.--patches stringPath to a directory that contains files named \"target[suffix][+patchtype].extension\". For example, \"kube-apiserver0+merge.yaml\" or just \"etcd.json\". \"target\" can be one of \"kube-apiserver\", \"kube-controller-manager\", \"kube-scheduler\", \"etcd\", \"kubeletconfiguration\", \"corednsdeployment\". \"patchtype\" can be one of \"strategic\", \"merge\" or \"json\" and they match the patch formats supported by kubectl. The default \"patchtype\" is \"strategic\". \"extension\" must be either \"json\" or \"yaml\". \"suffix\" is an optional string that can be used ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_qa_2285"
  },
  {
    "question": "How does kubeadm init phase work?",
    "answer": "kubeadm init phasekubeadm init phase enables you to invoke atomic steps of the bootstrap process. Hence, you can let kubeadm do some of the work and you can fill in the gaps if you wish to apply customization.kubeadm init phase is consistent with the kubeadm init workflow, and behind the scene both use the same code.kubeadm init phase preflightUsing this command you can execute preflight checks on a control-plane node.SynopsisRun pre-flight checks for kubeadm init.kubeadm init phase preflight [flags] Examples # Run pre-flight checks for kubeadm init using a config file. kubeadm init phase preflight --config kubeadm-config.yaml Options--config stringPath to a kubeadm configuration file.--cri-socket stringPath to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.--dry-runDon't apply any changes; just output what would be done.-h, --helphelp for preflight--ignore-preflight-errors stringsA list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.--image-repository string Default: \"registry.k8s.io\"Choose a container registry to pull control plane images fromOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm init phase kubelet-startThis phase will write the kubelet configuration file and environment file and then start the kubelet.Write kubelet settings and (re)start the kubeletSynopsisWrite a file with KubeletConfiguration and an environment file with node specific kubelet settings, and then (re)start kubelet.kubeadm init phase kubelet-start [flags] Examples # Writes a dynamic environment file with kubelet flags from a InitConfiguration file. kubeadm init phase kubelet-start --config config.yaml Options--config stringPath to a kubeadm configuration file.--cri-socket stringPath to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.--dry-runDon't apply any changes; just output what would be done.-h, --helphelp for kubelet-start--image-repository string Default: \"registry.k8s.io\"Choose a container registry to pull control plane images from--node-name stringSpecify the node name.--patches stringPath to a directory that contains files named \"target[suffix][+patchtype].extension\". For example, \"kube-apiserver0+merge.yaml\" or just \"etcd.json\". \"target\" can be one of \"kube-apiserver\", \"kube-controller-manager\", \"kube-scheduler\", \"etcd\", \"kubeletconfiguration\", \"corednsdeployment\". \"patchtype\" can be one of \"strategic\", \"merge\" or \"json\" and they match the patch formats supported by kubectl. The default \"patchtype\" is \"strategic\". \"extension\" must be either \"json\" or \"yaml\". \"suffix\" is an optional string that can be used ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_qa_2286"
  },
  {
    "question": "When would you use kubeadm init phase?",
    "answer": "kubeadm init phasekubeadm init phase enables you to invoke atomic steps of the bootstrap process. Hence, you can let kubeadm do some of the work and you can fill in the gaps if you wish to apply customization.kubeadm init phase is consistent with the kubeadm init workflow, and behind the scene both use the same code.kubeadm init phase preflightUsing this command you can execute preflight checks on a control-plane node.SynopsisRun pre-flight checks for kubeadm init.kubeadm init phase preflight [flags] Examples # Run pre-flight checks for kubeadm init using a config file. kubeadm init phase preflight --config kubeadm-config.yaml Options--config stringPath to a kubeadm configuration file.--cri-socket stringPath to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.--dry-runDon't apply any changes; just output what would be done.-h, --helphelp for preflight--ignore-preflight-errors stringsA list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.--image-repository string Default: \"registry.k8s.io\"Choose a container registry to pull control plane images fromOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm init phase kubelet-startThis phase will write the kubelet configuration file and environment file and then start the kubelet.Write kubelet settings and (re)start the kubeletSynopsisWrite a file with KubeletConfiguration and an environment file with node specific kubelet settings, and then (re)start kubelet.kubeadm init phase kubelet-start [flags] Examples # Writes a dynamic environment file with kubelet flags from a InitConfiguration file. kubeadm init phase kubelet-start --config config.yaml Options--config stringPath to a kubeadm configuration file.--cri-socket stringPath to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.--dry-runDon't apply any changes; just output what would be done.-h, --helphelp for kubelet-start--image-repository string Default: \"registry.k8s.io\"Choose a container registry to pull control plane images from--node-name stringSpecify the node name.--patches stringPath to a directory that contains files named \"target[suffix][+patchtype].extension\". For example, \"kube-apiserver0+merge.yaml\" or just \"etcd.json\". \"target\" can be one of \"kube-apiserver\", \"kube-controller-manager\", \"kube-scheduler\", \"etcd\", \"kubeletconfiguration\", \"corednsdeployment\". \"patchtype\" can be one of \"strategic\", \"merge\" or \"json\" and they match the patch formats supported by kubectl. The default \"patchtype\" is \"strategic\". \"extension\" must be either \"json\" or \"yaml\". \"suffix\" is an optional string that can be used ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_qa_2287"
  },
  {
    "question": "What are the benefits of kubeadm init phase?",
    "answer": "kubeadm init phasekubeadm init phase enables you to invoke atomic steps of the bootstrap process. Hence, you can let kubeadm do some of the work and you can fill in the gaps if you wish to apply customization.kubeadm init phase is consistent with the kubeadm init workflow, and behind the scene both use the same code.kubeadm init phase preflightUsing this command you can execute preflight checks on a control-plane node.SynopsisRun pre-flight checks for kubeadm init.kubeadm init phase preflight [flags] Examples # Run pre-flight checks for kubeadm init using a config file. kubeadm init phase preflight --config kubeadm-config.yaml Options--config stringPath to a kubeadm configuration file.--cri-socket stringPath to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.--dry-runDon't apply any changes; just output what would be done.-h, --helphelp for preflight--ignore-preflight-errors stringsA list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.--image-repository string Default: \"registry.k8s.io\"Choose a container registry to pull control plane images fromOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm init phase kubelet-startThis phase will write the kubelet configuration file and environment file and then start the kubelet.Write kubelet settings and (re)start the kubeletSynopsisWrite a file with KubeletConfiguration and an environment file with node specific kubelet settings, and then (re)start kubelet.kubeadm init phase kubelet-start [flags] Examples # Writes a dynamic environment file with kubelet flags from a InitConfiguration file. kubeadm init phase kubelet-start --config config.yaml Options--config stringPath to a kubeadm configuration file.--cri-socket stringPath to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.--dry-runDon't apply any changes; just output what would be done.-h, --helphelp for kubelet-start--image-repository string Default: \"registry.k8s.io\"Choose a container registry to pull control plane images from--node-name stringSpecify the node name.--patches stringPath to a directory that contains files named \"target[suffix][+patchtype].extension\". For example, \"kube-apiserver0+merge.yaml\" or just \"etcd.json\". \"target\" can be one of \"kube-apiserver\", \"kube-controller-manager\", \"kube-scheduler\", \"etcd\", \"kubeletconfiguration\", \"corednsdeployment\". \"patchtype\" can be one of \"strategic\", \"merge\" or \"json\" and they match the patch formats supported by kubectl. The default \"patchtype\" is \"strategic\". \"extension\" must be either \"json\" or \"yaml\". \"suffix\" is an optional string that can be used ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_qa_2288"
  },
  {
    "question": "What is kubeadm init phase?",
    "answer": "k u b e a d m   i n i t   p h a s e   e n a b l e s   y o u   t o   i n v o k e   a t o m i c   s t e p s   o f   t h e   b o o t s t r a p   p r o c e s s .   H e n c e ,   y o u   c a n   l e t   k u b e a d m   d o   s o m e   o f   t h e   w o r k   a n d   y o u   c a n   f i l l   i n   t h e   g a p s   i f   y o u   w i s h   t o   a p p l y   c u s t o m i z a t i o n .   k u b e a d m   i n i t   p h a s e   i s   c o n s i s t e n t   w i t h   t h e   k u b e a d m   i n i t   w o r k f l o w ,   a n d   b e h i n d   t h e   s c e n e   b o t h   u s e   t h e   s a m e   c o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_1_2289"
  },
  {
    "question": "What is kubeadm init phase preflight?",
    "answer": "U s i n g   t h i s   c o m m a n d   y o u   c a n   e x e c u t e   p r e f l i g h t   c h e c k s   o n   a   c o n t r o l - p l a n e   n o d e .   S y n o p s i s R u n   p r e - f l i g h t   c h e c k s   f o r   k u b e a d m   i n i t . k u b e a d m   i n i t   p h a s e   p r e f l i g h t   [ f l a g s ]   E x a m p l e s   #   R u n   p r e - f l i g h t   c h e c k s   f o r   k u b e a d m   i n i t   u s i n g   a   c o n f i g   f i l e .   k u b e a d m   i n i t   p h a s e   p r e f l i g h t   - - c o n f i g   k u b e a d m - c o n f i g . y a m l   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c r i - s o c k e t   s t r i n g P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   p r e f l i g h t - - i g n o r e - p r e f l i g h t - e r r o r s   s t r i n g s A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s . - - i m a g e - r e p o s i t o r y   s t r i n g   D e f a u l t :   \" r e g i s t r y . k 8 s . i o \" C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_2_2290"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   p r e - f l i g h t   c h e c k s   f o r   k u b e a d m   i n i t .   k u b e a d m   i n i t   p h a s e   p r e f l i g h t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2291"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R u n   p r e - f l i g h t   c h e c k s   f o r   k u b e a d m   i n i t   u s i n g   a   c o n f i g   f i l e .   k u b e a d m   i n i t   p h a s e   p r e f l i g h t   - - c o n f i g   k u b e a d m - c o n f i g . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2292"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   p r e f l i g h t   A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2293"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2294"
  },
  {
    "question": "What is kubeadm init phase kubelet-start?",
    "answer": "T h i s   p h a s e   w i l l   w r i t e   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e   a n d   e n v i r o n m e n t   f i l e   a n d   t h e n   s t a r t   t h e   k u b e l e t .   W r i t e   k u b e l e t   s e t t i n g s   a n d   ( r e ) s t a r t   t h e   k u b e l e t S y n o p s i s W r i t e   a   f i l e   w i t h   K u b e l e t C o n f i g u r a t i o n   a n d   a n   e n v i r o n m e n t   f i l e   w i t h   n o d e   s p e c i f i c   k u b e l e t   s e t t i n g s ,   a n d   t h e n   ( r e ) s t a r t   k u b e l e t . k u b e a d m   i n i t   p h a s e   k u b e l e t - s t a r t   [ f l a g s ]   E x a m p l e s   #   W r i t e s   a   d y n a m i c   e n v i r o n m e n t   f i l e   w i t h   k u b e l e t   f l a g s   f r o m   a   I n i t C o n f i g u r a t i o n   f i l e .   k u b e a d m   i n i t   p h a s e   k u b e l e t - s t a r t   - - c o n f i g   c o n f i g . y a m l   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c r i - s o c k e t   s t r i n g P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   k u b e l e t - s t a r t - - i m a g e - r e p o s i t o r y   s t r i n g   D e f a u l t :   \" r e g i s t r y . k 8 s . i o \" C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m - - n o d e - n a m e   s t r i n g S p e c i f y   t h e   n o d e   n a m e . - - p a t c h e s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_2_2295"
  },
  {
    "question": "What is Synopsis?",
    "answer": "W r i t e   a   f i l e   w i t h   K u b e l e t C o n f i g u r a t i o n   a n d   a n   e n v i r o n m e n t   f i l e   w i t h   n o d e   s p e c i f i c   k u b e l e t   s e t t i n g s ,   a n d   t h e n   ( r e ) s t a r t   k u b e l e t .   k u b e a d m   i n i t   p h a s e   k u b e l e t - s t a r t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2296"
  },
  {
    "question": "What is Examples?",
    "answer": "#   W r i t e s   a   d y n a m i c   e n v i r o n m e n t   f i l e   w i t h   k u b e l e t   f l a g s   f r o m   a   I n i t C o n f i g u r a t i o n   f i l e .   k u b e a d m   i n i t   p h a s e   k u b e l e t - s t a r t   - - c o n f i g   c o n f i g . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2297"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   k u b e l e t - s t a r t   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   S p e c i f y   t h e   n o d e   n a m e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2298"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2299"
  },
  {
    "question": "What is kubeadm init phase certs?",
    "answer": "C a n   b e   u s e d   t o   c r e a t e   a l l   r e q u i r e d   c e r t i f i c a t e s   b y   k u b e a d m .   S y n o p s i s C e r t i f i c a t e   g e n e r a t i o n k u b e a d m   i n i t   p h a s e   c e r t s   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   c e r t s O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_2_2300"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C e r t i f i c a t e   g e n e r a t i o n   k u b e a d m   i n i t   p h a s e   c e r t s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2301"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c e r t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2302"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   a l l   c e r t i f i c a t e s k u b e a d m   i n i t   p h a s e   c e r t s   a l l   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - c e r t - e x t r a - s a n s   s t r i n g s O p t i o n a l   e x t r a   S u b j e c t   A l t e r n a t i v e   N a m e s   ( S A N s )   t o   u s e   f o r   t h e   A P I   S e r v e r   s e r v i n g   c e r t i f i c a t e .   C a n   b e   b o t h   I P   a d d r e s s e s   a n d   D N S   n a m e s . - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e - e n d p o i n t   s t r i n g S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   a l l - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . - - s e r v i c e - c i d r   s t r i n g   D e f a u l t :   \" 1 0 . 9 6 . 0 . 0 / 1 2 \" U s e   a l t e r n a t i v e   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2303"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   a l l   c e r t i f i c a t e s   k u b e a d m   i n i t   p h a s e   c e r t s   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2304"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   O p t i o n a l   e x t r a   S u b j e c t   A l t e r n a t i v e   N a m e s   ( S A N s )   t o   u s e   f o r   t h e   A P I   S e r v e r   s e r v i n g   c e r t i f i c a t e .   C a n   b e   b o t h   I P   a d d r e s s e s   a n d   D N S   n a m e s .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a l l   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   U s e   a l t e r n a t i v e   r a n g e   o f   I P   a d d r e s s   f o r   s e r v i c e   V I P s .   U s e   a l t e r n a t i v e   d o m a i n   f o r   s e r v i c e s ,   e . g .   \" m y o r g . i n t e r n a l \" .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2305"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   s e l f - s i g n e d   K u b e r n e t e s   C A   t o   p r o v i s i o n   i d e n t i t i e s   f o r   o t h e r   K u b e r n e t e s   c o m p o n e n t s ,   a n d   s a v e   t h e m   i n t o   c a . c r t   a n d   c a . k e y   f i l e s . I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d . k u b e a d m   i n i t   p h a s e   c e r t s   c a   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   c a - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2306"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   s e l f - s i g n e d   K u b e r n e t e s   C A   t o   p r o v i s i o n   i d e n t i t i e s   f o r   o t h e r   K u b e r n e t e s   c o m p o n e n t s ,   a n d   s a v e   t h e m   i n t o   c a . c r t   a n d   c a . k e y   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   c a   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2307"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   c a   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2308"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   c e r t i f i c a t e   f o r   s e r v i n g   t h e   K u b e r n e t e s   A P I ,   a n d   s a v e   t h e m   i n t o   a p i s e r v e r . c r t   a n d   a p i s e r v e r . k e y   f i l e s . I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d . k u b e a d m   i n i t   p h a s e   c e r t s   a p i s e r v e r   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - c e r t - e x t r a - s a n s   s t r i n g s O p t i o n a l   e x t r a   S u b j e c t   A l t e r n a t i v e   N a m e s   ( S A N s )   t o   u s e   f o r   t h e   A P I   S e r v e r   s e r v i n g   c e r t i f i c a t e .   C a n   b e   b o t h   I P   a d d r e s s e s   a n d   D N S   n a m e s . - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e - e n d p o i n t   s t r i n g S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2309"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   c e r t i f i c a t e   f o r   s e r v i n g   t h e   K u b e r n e t e s   A P I ,   a n d   s a v e   t h e m   i n t o   a p i s e r v e r . c r t   a n d   a p i s e r v e r . k e y   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   a p i s e r v e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2310"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   O p t i o n a l   e x t r a   S u b j e c t   A l t e r n a t i v e   N a m e s   ( S A N s )   t o   u s e   f o r   t h e   A P I   S e r v e r   s e r v i n g   c e r t i f i c a t e .   C a n   b e   b o t h   I P   a d d r e s s e s   a n d   D N S   n a m e s .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a p i s e r v e r   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   U s e   a l t e r n a t i v e   r a n g e   o f   I P   a d d r e s s   f o r   s e r v i c e   V I P s .   U s e   a l t e r n a t i v e   d o m a i n   f o r   s e r v i c e s ,   e . g .   \" m y o r g . i n t e r n a l \" .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2311"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   c e r t i f i c a t e   f o r   t h e   A P I   s e r v e r   t o   c o n n e c t   t o   k u b e l e t ,   a n d   s a v e   t h e m   i n t o   a p i s e r v e r - k u b e l e t - c l i e n t . c r t   a n d   a p i s e r v e r - k u b e l e t - c l i e n t . k e y   f i l e s . I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d . k u b e a d m   i n i t   p h a s e   c e r t s   a p i s e r v e r - k u b e l e t - c l i e n t   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   a p i s e r v e r - k u b e l e t - c l i e n t - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2312"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   c e r t i f i c a t e   f o r   t h e   A P I   s e r v e r   t o   c o n n e c t   t o   k u b e l e t ,   a n d   s a v e   t h e m   i n t o   a p i s e r v e r - k u b e l e t - c l i e n t . c r t   a n d   a p i s e r v e r - k u b e l e t - c l i e n t . k e y   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   a p i s e r v e r - k u b e l e t - c l i e n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2313"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a p i s e r v e r - k u b e l e t - c l i e n t   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2314"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   s e l f - s i g n e d   C A   t o   p r o v i s i o n   i d e n t i t i e s   f o r   f r o n t   p r o x y ,   a n d   s a v e   t h e m   i n t o   f r o n t - p r o x y - c a . c r t   a n d   f r o n t - p r o x y - c a . k e y   f i l e s . I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d . k u b e a d m   i n i t   p h a s e   c e r t s   f r o n t - p r o x y - c a   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   f r o n t - p r o x y - c a - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2315"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   s e l f - s i g n e d   C A   t o   p r o v i s i o n   i d e n t i t i e s   f o r   f r o n t   p r o x y ,   a n d   s a v e   t h e m   i n t o   f r o n t - p r o x y - c a . c r t   a n d   f r o n t - p r o x y - c a . k e y   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   f r o n t - p r o x y - c a   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2316"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   f r o n t - p r o x y - c a   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2317"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   c e r t i f i c a t e   f o r   t h e   f r o n t   p r o x y   c l i e n t ,   a n d   s a v e   t h e m   i n t o   f r o n t - p r o x y - c l i e n t . c r t   a n d   f r o n t - p r o x y - c l i e n t . k e y   f i l e s . I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d . k u b e a d m   i n i t   p h a s e   c e r t s   f r o n t - p r o x y - c l i e n t   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   f r o n t - p r o x y - c l i e n t - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2318"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   c e r t i f i c a t e   f o r   t h e   f r o n t   p r o x y   c l i e n t ,   a n d   s a v e   t h e m   i n t o   f r o n t - p r o x y - c l i e n t . c r t   a n d   f r o n t - p r o x y - c l i e n t . k e y   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   f r o n t - p r o x y - c l i e n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2319"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   f r o n t - p r o x y - c l i e n t   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2320"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   s e l f - s i g n e d   C A   t o   p r o v i s i o n   i d e n t i t i e s   f o r   e t c d ,   a n d   s a v e   t h e m   i n t o   e t c d / c a . c r t   a n d   e t c d / c a . k e y   f i l e s . I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d . k u b e a d m   i n i t   p h a s e   c e r t s   e t c d - c a   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   e t c d - c a - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2321"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   s e l f - s i g n e d   C A   t o   p r o v i s i o n   i d e n t i t i e s   f o r   e t c d ,   a n d   s a v e   t h e m   i n t o   e t c d / c a . c r t   a n d   e t c d / c a . k e y   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   e t c d - c a   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2322"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   e t c d - c a   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2323"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   c e r t i f i c a t e   f o r   s e r v i n g   e t c d ,   a n d   s a v e   t h e m   i n t o   e t c d / s e r v e r . c r t   a n d   e t c d / s e r v e r . k e y   f i l e s . D e f a u l t   S A N s   a r e   l o c a l h o s t ,   1 2 7 . 0 . 0 . 1 ,   1 2 7 . 0 . 0 . 1 ,   : : 1 I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d . k u b e a d m   i n i t   p h a s e   c e r t s   e t c d - s e r v e r   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   e t c d - s e r v e r - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2324"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   c e r t i f i c a t e   f o r   s e r v i n g   e t c d ,   a n d   s a v e   t h e m   i n t o   e t c d / s e r v e r . c r t   a n d   e t c d / s e r v e r . k e y   f i l e s .   D e f a u l t   S A N s   a r e   l o c a l h o s t ,   1 2 7 . 0 . 0 . 1 ,   1 2 7 . 0 . 0 . 1 ,   : : 1   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   e t c d - s e r v e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2325"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   e t c d - s e r v e r   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2326"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   c e r t i f i c a t e   f o r   e t c d   n o d e s   t o   c o m m u n i c a t e   w i t h   e a c h   o t h e r ,   a n d   s a v e   t h e m   i n t o   e t c d / p e e r . c r t   a n d   e t c d / p e e r . k e y   f i l e s . D e f a u l t   S A N s   a r e   l o c a l h o s t ,   1 2 7 . 0 . 0 . 1 ,   1 2 7 . 0 . 0 . 1 ,   : : 1 I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d . k u b e a d m   i n i t   p h a s e   c e r t s   e t c d - p e e r   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   e t c d - p e e r - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2327"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   c e r t i f i c a t e   f o r   e t c d   n o d e s   t o   c o m m u n i c a t e   w i t h   e a c h   o t h e r ,   a n d   s a v e   t h e m   i n t o   e t c d / p e e r . c r t   a n d   e t c d / p e e r . k e y   f i l e s .   D e f a u l t   S A N s   a r e   l o c a l h o s t ,   1 2 7 . 0 . 0 . 1 ,   1 2 7 . 0 . 0 . 1 ,   : : 1   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   e t c d - p e e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2328"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   e t c d - p e e r   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2329"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   c e r t i f i c a t e   f o r   l i v e n e s s   p r o b e s   t o   h e a l t h c h e c k   e t c d ,   a n d   s a v e   t h e m   i n t o   e t c d / h e a l t h c h e c k - c l i e n t . c r t   a n d   e t c d / h e a l t h c h e c k - c l i e n t . k e y   f i l e s . I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d . k u b e a d m   i n i t   p h a s e   c e r t s   e t c d - h e a l t h c h e c k - c l i e n t   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   e t c d - h e a l t h c h e c k - c l i e n t - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2330"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   c e r t i f i c a t e   f o r   l i v e n e s s   p r o b e s   t o   h e a l t h c h e c k   e t c d ,   a n d   s a v e   t h e m   i n t o   e t c d / h e a l t h c h e c k - c l i e n t . c r t   a n d   e t c d / h e a l t h c h e c k - c l i e n t . k e y   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   e t c d - h e a l t h c h e c k - c l i e n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2331"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   e t c d - h e a l t h c h e c k - c l i e n t   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2332"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   c e r t i f i c a t e   t h e   a p i s e r v e r   u s e s   t o   a c c e s s   e t c d ,   a n d   s a v e   t h e m   i n t o   a p i s e r v e r - e t c d - c l i e n t . c r t   a n d   a p i s e r v e r - e t c d - c l i e n t . k e y   f i l e s . I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d . k u b e a d m   i n i t   p h a s e   c e r t s   a p i s e r v e r - e t c d - c l i e n t   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   a p i s e r v e r - e t c d - c l i e n t - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2333"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   c e r t i f i c a t e   t h e   a p i s e r v e r   u s e s   t o   a c c e s s   e t c d ,   a n d   s a v e   t h e m   i n t o   a p i s e r v e r - e t c d - c l i e n t . c r t   a n d   a p i s e r v e r - e t c d - c l i e n t . k e y   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   a p i s e r v e r - e t c d - c l i e n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2334"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a p i s e r v e r - e t c d - c l i e n t   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2335"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   G e n e r a t e   a   p r i v a t e   k e y   f o r   s i g n i n g   s e r v i c e   a c c o u n t   t o k e n s   a l o n g   w i t h   i t s   p u b l i c   k e y S y n o p s i s G e n e r a t e   t h e   p r i v a t e   k e y   f o r   s i g n i n g   s e r v i c e   a c c o u n t   t o k e n s   a l o n g   w i t h   i t s   p u b l i c   k e y ,   a n d   s a v e   t h e m   i n t o   s a . k e y   a n d   s a . p u b   f i l e s . I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d . k u b e a d m   i n i t   p h a s e   c e r t s   s a   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   s a - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   G e n e r a t e   a   p r i v a t e   k e y   f o r   s i g n i n g   s e r v i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2336"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   p r i v a t e   k e y   f o r   s i g n i n g   s e r v i c e   a c c o u n t   t o k e n s   a l o n g   w i t h   i t s   p u b l i c   k e y ,   a n d   s a v e   t h e m   i n t o   s a . k e y   a n d   s a . p u b   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   s a   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2337"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   s a   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2338"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2339"
  },
  {
    "question": "What is kubeadm init phase kubeconfig?",
    "answer": "Y o u   c a n   c r e a t e   a l l   r e q u i r e d   k u b e c o n f i g   f i l e s   b y   c a l l i n g   t h e   a l l   s u b c o m m a n d   o r   c a l l   t h e m   i n d i v i d u a l l y .   S y n o p s i s G e n e r a t e   a l l   k u b e c o n f i g   f i l e s   n e c e s s a r y   t o   e s t a b l i s h   t h e   c o n t r o l   p l a n e   a n d   t h e   a d m i n   k u b e c o n f i g   f i l e k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   k u b e c o n f i g O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_2_2340"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   a l l   k u b e c o n f i g   f i l e s   n e c e s s a r y   t o   e s t a b l i s h   t h e   c o n t r o l   p l a n e   a n d   t h e   a d m i n   k u b e c o n f i g   f i l e   k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2341"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   k u b e c o n f i g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2342"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   a l l   k u b e c o n f i g   f i l e s k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   a l l   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - b i n d - p o r t   i n t 3 2   D e f a u l t :   6 4 4 3 P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o . - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e - e n d p o i n t   s t r i n g S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   a l l - - k u b e c o n f i g - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s \" T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e . - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . - - n o d e - n a m e   s t r i n g S p e c i f y   t h e   n o d e   n a m e . O p t i o n s   i n h e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2343"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   a l l   k u b e c o n f i g   f i l e s   k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2344"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a l l   T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   S p e c i f y   t h e   n o d e   n a m e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2345"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   G e n e r a t e   a   k u b e c o n f i g   f i l e   f o r   t h e   a d m i n   t o   u s e   a n d   f o r   k u b e a d m   i t s e l f S y n o p s i s G e n e r a t e   t h e   k u b e c o n f i g   f i l e   f o r   t h e   a d m i n   a n d   f o r   k u b e a d m   i t s e l f ,   a n d   s a v e   i t   t o   a d m i n . c o n f   f i l e . k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   a d m i n   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - b i n d - p o r t   i n t 3 2   D e f a u l t :   6 4 4 3 P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o . - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e - e n d p o i n t   s t r i n g S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   a d m i n - - k u b e c o n f i g - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s \" T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e . - - k u b e r n e t e s - v e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2346"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   k u b e c o n f i g   f i l e   f o r   t h e   a d m i n   a n d   f o r   k u b e a d m   i t s e l f ,   a n d   s a v e   i t   t o   a d m i n . c o n f   f i l e .   k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   a d m i n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2347"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a d m i n   T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2348"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   G e n e r a t e   a   k u b e c o n f i g   f i l e   f o r   t h e   k u b e l e t   t o   u s e   o n l y   f o r   c l u s t e r   b o o t s t r a p p i n g   p u r p o s e s S y n o p s i s G e n e r a t e   t h e   k u b e c o n f i g   f i l e   f o r   t h e   k u b e l e t   t o   u s e   a n d   s a v e   i t   t o   k u b e l e t . c o n f   f i l e . P l e a s e   n o t e   t h a t   t h i s   s h o u l d   o n l y   b e   u s e d   f o r   c l u s t e r   b o o t s t r a p p i n g   p u r p o s e s .   A f t e r   y o u r   c o n t r o l   p l a n e   i s   u p ,   y o u   s h o u l d   r e q u e s t   a l l   k u b e l e t   c r e d e n t i a l s   f r o m   t h e   C S R   A P I . k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   k u b e l e t   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - b i n d - p o r t   i n t 3 2   D e f a u l t :   6 4 4 3 P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o . - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e - e n d p o i n t   s t r i n g S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e . - - d r y - r u n D o n ' t   a p p l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2349"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   k u b e c o n f i g   f i l e   f o r   t h e   k u b e l e t   t o   u s e   a n d   s a v e   i t   t o   k u b e l e t . c o n f   f i l e .   P l e a s e   n o t e   t h a t   t h i s   s h o u l d   o n l y   b e   u s e d   f o r   c l u s t e r   b o o t s t r a p p i n g   p u r p o s e s .   A f t e r   y o u r   c o n t r o l   p l a n e   i s   u p ,   y o u   s h o u l d   r e q u e s t   a l l   k u b e l e t   c r e d e n t i a l s   f r o m   t h e   C S R   A P I .   k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   k u b e l e t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2350"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   k u b e l e t   T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   S p e c i f y   t h e   n o d e   n a m e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2351"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   G e n e r a t e   a   k u b e c o n f i g   f i l e   f o r   t h e   c o n t r o l l e r   m a n a g e r   t o   u s e S y n o p s i s G e n e r a t e   t h e   k u b e c o n f i g   f i l e   f o r   t h e   c o n t r o l l e r   m a n a g e r   t o   u s e   a n d   s a v e   i t   t o   c o n t r o l l e r - m a n a g e r . c o n f   f i l e k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   c o n t r o l l e r - m a n a g e r   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - b i n d - p o r t   i n t 3 2   D e f a u l t :   6 4 4 3 P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o . - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e - e n d p o i n t   s t r i n g S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   c o n t r o l l e r - m a n a g e r - - k u b e c o n f i g - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s \" T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2352"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   k u b e c o n f i g   f i l e   f o r   t h e   c o n t r o l l e r   m a n a g e r   t o   u s e   a n d   s a v e   i t   t o   c o n t r o l l e r - m a n a g e r . c o n f   f i l e   k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   c o n t r o l l e r - m a n a g e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2353"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   c o n t r o l l e r - m a n a g e r   T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2354"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   G e n e r a t e   a   k u b e c o n f i g   f i l e   f o r   t h e   s c h e d u l e r   t o   u s e S y n o p s i s G e n e r a t e   t h e   k u b e c o n f i g   f i l e   f o r   t h e   s c h e d u l e r   t o   u s e   a n d   s a v e   i t   t o   s c h e d u l e r . c o n f   f i l e . k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   s c h e d u l e r   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - b i n d - p o r t   i n t 3 2   D e f a u l t :   6 4 4 3 P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o . - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e - e n d p o i n t   s t r i n g S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   s c h e d u l e r - - k u b e c o n f i g - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s \" T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e . - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2355"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   k u b e c o n f i g   f i l e   f o r   t h e   s c h e d u l e r   t o   u s e   a n d   s a v e   i t   t o   s c h e d u l e r . c o n f   f i l e .   k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   s c h e d u l e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2356"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   s c h e d u l e r   T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2357"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   a   k u b e c o n f i g   f i l e   f o r   t h e   s u p e r - a d m i n ,   a n d   s a v e   i t   t o   s u p e r - a d m i n . c o n f   f i l e . k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   s u p e r - a d m i n   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - b i n d - p o r t   i n t 3 2   D e f a u l t :   6 4 4 3 P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o . - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e - e n d p o i n t   s t r i n g S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   s u p e r - a d m i n - - k u b e c o n f i g - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s \" T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e . - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2358"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   a   k u b e c o n f i g   f i l e   f o r   t h e   s u p e r - a d m i n ,   a n d   s a v e   i t   t o   s u p e r - a d m i n . c o n f   f i l e .   k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   s u p e r - a d m i n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2359"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   s u p e r - a d m i n   T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2360"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2361"
  },
  {
    "question": "What is kubeadm init phase control-plane?",
    "answer": "U s i n g   t h i s   p h a s e   y o u   c a n   c r e a t e   a l l   r e q u i r e d   s t a t i c   P o d   f i l e s   f o r   t h e   c o n t r o l   p l a n e   c o m p o n e n t s .   S y n o p s i s G e n e r a t e   a l l   s t a t i c   P o d   m a n i f e s t   f i l e s   n e c e s s a r y   t o   e s t a b l i s h   t h e   c o n t r o l   p l a n e k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   c o n t r o l - p l a n e O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_2_2362"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   a l l   s t a t i c   P o d   m a n i f e s t   f i l e s   n e c e s s a r y   t o   e s t a b l i s h   t h e   c o n t r o l   p l a n e   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2363"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c o n t r o l - p l a n e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2364"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   a l l   s t a t i c   P o d   m a n i f e s t   f i l e s k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   a l l   [ f l a g s ]   E x a m p l e s   #   G e n e r a t e s   a l l   s t a t i c   P o d   m a n i f e s t   f i l e s   f o r   c o n t r o l   p l a n e   c o m p o n e n t s ,   #   f u n c t i o n a l l y   e q u i v a l e n t   t o   w h a t   i s   g e n e r a t e d   b y   k u b e a d m   i n i t .   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   a l l   #   G e n e r a t e s   a l l   s t a t i c   P o d   m a n i f e s t   f i l e s   u s i n g   o p t i o n s   r e a d   f r o m   a   c o n f i g u r a t i o n   f i l e .   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   a l l   - - c o n f i g   c o n f i g . y a m l   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - b i n d - p o r t   i n t 3 2   D e f a u l t :   6 4 4 3 P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o . - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e - e n d p o i n t   s t r i n g S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2365"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   a l l   s t a t i c   P o d   m a n i f e s t   f i l e s   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2366"
  },
  {
    "question": "What is Examples?",
    "answer": "#   G e n e r a t e s   a l l   s t a t i c   P o d   m a n i f e s t   f i l e s   f o r   c o n t r o l   p l a n e   c o m p o n e n t s ,   #   f u n c t i o n a l l y   e q u i v a l e n t   t o   w h a t   i s   g e n e r a t e d   b y   k u b e a d m   i n i t .   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   a l l   #   G e n e r a t e s   a l l   s t a t i c   P o d   m a n i f e s t   f i l e s   u s i n g   o p t i o n s   r e a d   f r o m   a   c o n f i g u r a t i o n   f i l e .   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   a l l   - - c o n f i g   c o n f i g . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2367"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d e L o c a l C R I S o c k e t = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) P u b l i c K e y s E C D S A = t r u e | f a l s e   ( D E P R E C A T E D   -   d e f a u l t = f a l s e ) R o o t l e s s C o n t r o l P l a n e = t r u e | f a l s e   ( A L P H A   -   d e f a u l t = f a l s e ) W a i t F o r A l l C o n t r o l P l a n e C o m p o n e n t s = t r u e | f a l s e   ( d e f a u l t = t r u e )   h e l p   f o r   a l l   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2368"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e s   t h e   k u b e - a p i s e r v e r   s t a t i c   P o d   m a n i f e s t k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   a p i s e r v e r   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - b i n d - p o r t   i n t 3 2   D e f a u l t :   6 4 4 3 P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o . - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e - e n d p o i n t   s t r i n g S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - - f e a t u r e - g a t e s   s t r i n g A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d e L o c a l C R I S o c k e t = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) P u b l i c K e y s E C D S A = t r u e | f a l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2369"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e s   t h e   k u b e - a p i s e r v e r   s t a t i c   P o d   m a n i f e s t   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   a p i s e r v e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2370"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d e L o c a l C R I S o c k e t = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) P u b l i c K e y s E C D S A = t r u e | f a l s e   ( D E P R E C A T E D   -   d e f a u l t = f a l s e ) R o o t l e s s C o n t r o l P l a n e = t r u e | f a l s e   ( A L P H A   -   d e f a u l t = f a l s e ) W a i t F o r A l l C o n t r o l P l a n e C o m p o n e n t s = t r u e | f a l s e   ( d e f a u l t = t r u e )   h e l p   f o r   a p i s e r v e r   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \" ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2371"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e s   t h e   k u b e - c o n t r o l l e r - m a n a g e r   s t a t i c   P o d   m a n i f e s t k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   c o n t r o l l e r - m a n a g e r   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   c o n t r o l l e r - m a n a g e r - - i m a g e - r e p o s i t o r y   s t r i n g   D e f a u l t :   \" r e g i s t r y . k 8 s . i o \" C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . - - p a t c h e s   s t r i n g P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2372"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e s   t h e   k u b e - c o n t r o l l e r - m a n a g e r   s t a t i c   P o d   m a n i f e s t   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   c o n t r o l l e r - m a n a g e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2373"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   c o n t r o l l e r - m a n a g e r   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .   S p e c i f y   r a n g e   o f   I P   a d d r e s s e s   f o r   t h e   p o d   n e t w o r k .   I f   s e t ,   t h e   c o n t r o l   p l a n e   w i l l   a u t o m a t i c a l l y   a l l o c a t e   C I ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2374"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e s   t h e   k u b e - s c h e d u l e r   s t a t i c   P o d   m a n i f e s t k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   s c h e d u l e r   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   s c h e d u l e r - - i m a g e - r e p o s i t o r y   s t r i n g   D e f a u l t :   \" r e g i s t r y . k 8 s . i o \" C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . - - p a t c h e s   s t r i n g P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2375"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e s   t h e   k u b e - s c h e d u l e r   s t a t i c   P o d   m a n i f e s t   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   s c h e d u l e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2376"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   s c h e d u l e r   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2377"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2378"
  },
  {
    "question": "What is kubeadm init phase etcd?",
    "answer": "U s e   t h e   f o l l o w i n g   p h a s e   t o   c r e a t e   a   l o c a l   e t c d   i n s t a n c e   b a s e d   o n   a   s t a t i c   P o d   f i l e .   S y n o p s i s G e n e r a t e   s t a t i c   P o d   m a n i f e s t   f i l e   f o r   l o c a l   e t c d k u b e a d m   i n i t   p h a s e   e t c d   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   e t c d O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_2_2379"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   s t a t i c   P o d   m a n i f e s t   f i l e   f o r   l o c a l   e t c d   k u b e a d m   i n i t   p h a s e   e t c d   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2380"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   e t c d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2381"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   s t a t i c   P o d   m a n i f e s t   f i l e   f o r   a   l o c a l ,   s i n g l e - n o d e   l o c a l   e t c d   i n s t a n c e k u b e a d m   i n i t   p h a s e   e t c d   l o c a l   [ f l a g s ]   E x a m p l e s   #   G e n e r a t e s   t h e   s t a t i c   P o d   m a n i f e s t   f i l e   f o r   e t c d ,   f u n c t i o n a l l y   #   e q u i v a l e n t   t o   w h a t   i s   g e n e r a t e d   b y   k u b e a d m   i n i t .   k u b e a d m   i n i t   p h a s e   e t c d   l o c a l   #   G e n e r a t e s   t h e   s t a t i c   P o d   m a n i f e s t   f i l e   f o r   e t c d   u s i n g   o p t i o n s   #   r e a d   f r o m   a   c o n f i g u r a t i o n   f i l e .   k u b e a d m   i n i t   p h a s e   e t c d   l o c a l   - - c o n f i g   c o n f i g . y a m l   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   l o c a l - - i m a g e - r e p o s i t o r y   s t r i n g   D e f a u l t :   \" r e g i s t r y . k 8 s . i o \" C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m - - p a t c h e s   s t r i n g P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2382"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   s t a t i c   P o d   m a n i f e s t   f i l e   f o r   a   l o c a l ,   s i n g l e - n o d e   l o c a l   e t c d   i n s t a n c e   k u b e a d m   i n i t   p h a s e   e t c d   l o c a l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2383"
  },
  {
    "question": "What is Examples?",
    "answer": "#   G e n e r a t e s   t h e   s t a t i c   P o d   m a n i f e s t   f i l e   f o r   e t c d ,   f u n c t i o n a l l y   #   e q u i v a l e n t   t o   w h a t   i s   g e n e r a t e d   b y   k u b e a d m   i n i t .   k u b e a d m   i n i t   p h a s e   e t c d   l o c a l   #   G e n e r a t e s   t h e   s t a t i c   P o d   m a n i f e s t   f i l e   f o r   e t c d   u s i n g   o p t i o n s   #   r e a d   f r o m   a   c o n f i g u r a t i o n   f i l e .   k u b e a d m   i n i t   p h a s e   e t c d   l o c a l   - - c o n f i g   c o n f i g . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2384"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   l o c a l   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2385"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2386"
  },
  {
    "question": "What is kubeadm init phase upload-config?",
    "answer": "Y o u   c a n   u s e   t h i s   c o m m a n d   t o   u p l o a d   t h e   k u b e a d m   c o n f i g u r a t i o n   t o   y o u r   c l u s t e r .   A l t e r n a t i v e l y ,   y o u   c a n   u s e   k u b e a d m   c o n f i g .   S y n o p s i s U p l o a d   t h e   k u b e a d m   a n d   k u b e l e t   c o n f i g u r a t i o n   t o   a   C o n f i g M a p k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   u p l o a d - c o n f i g O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_2_2387"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p l o a d   t h e   k u b e a d m   a n d   k u b e l e t   c o n f i g u r a t i o n   t o   a   C o n f i g M a p   k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2388"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   u p l o a d - c o n f i g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2389"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s U p l o a d   a l l   c o n f i g u r a t i o n   t o   a   c o n f i g   m a p k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   a l l   [ f l a g s ]   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c r i - s o c k e t   s t r i n g P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   a l l - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2390"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p l o a d   a l l   c o n f i g u r a t i o n   t o   a   c o n f i g   m a p   k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2391"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a l l   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2392"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s U p l o a d   t h e   k u b e a d m   C l u s t e r C o n f i g u r a t i o n   t o   a   C o n f i g M a p   c a l l e d   k u b e a d m - c o n f i g   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   T h i s   e n a b l e s   c o r r e c t   c o n f i g u r a t i o n   o f   s y s t e m   c o m p o n e n t s   a n d   a   s e a m l e s s   u s e r   e x p e r i e n c e   w h e n   u p g r a d i n g . A l t e r n a t i v e l y ,   y o u   c a n   u s e   k u b e a d m   c o n f i g . k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   k u b e a d m   [ f l a g s ]   E x a m p l e s   #   u p l o a d   t h e   c o n f i g u r a t i o n   o f   y o u r   c l u s t e r   k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   k u b e a d m   - - c o n f i g = m y C o n f i g . y a m l   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c r i - s o c k e t   s t r i n g P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   k u b e a d m - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2393"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p l o a d   t h e   k u b e a d m   C l u s t e r C o n f i g u r a t i o n   t o   a   C o n f i g M a p   c a l l e d   k u b e a d m - c o n f i g   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   T h i s   e n a b l e s   c o r r e c t   c o n f i g u r a t i o n   o f   s y s t e m   c o m p o n e n t s   a n d   a   s e a m l e s s   u s e r   e x p e r i e n c e   w h e n   u p g r a d i n g .   A l t e r n a t i v e l y ,   y o u   c a n   u s e   k u b e a d m   c o n f i g .   k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   k u b e a d m   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2394"
  },
  {
    "question": "What is Examples?",
    "answer": "#   u p l o a d   t h e   c o n f i g u r a t i o n   o f   y o u r   c l u s t e r   k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   k u b e a d m   - - c o n f i g = m y C o n f i g . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2395"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   k u b e a d m   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2396"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   U p l o a d   t h e   k u b e l e t   c o m p o n e n t   c o n f i g   t o   a   C o n f i g M a p S y n o p s i s U p l o a d   t h e   k u b e l e t   c o n f i g u r a t i o n   e x t r a c t e d   f r o m   t h e   k u b e a d m   I n i t C o n f i g u r a t i o n   o b j e c t   t o   a   k u b e l e t - c o n f i g   C o n f i g M a p   i n   t h e   c l u s t e r k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   k u b e l e t   [ f l a g s ]   E x a m p l e s   #   U p l o a d   t h e   k u b e l e t   c o n f i g u r a t i o n   f r o m   t h e   k u b e a d m   C o n f i g   f i l e   t o   a   C o n f i g M a p   i n   t h e   c l u s t e r .   k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   k u b e l e t   - - c o n f i g   k u b e a d m . y a m l   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c r i - s o c k e t   s t r i n g P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   k u b e l e t - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2397"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p l o a d   t h e   k u b e l e t   c o n f i g u r a t i o n   e x t r a c t e d   f r o m   t h e   k u b e a d m   I n i t C o n f i g u r a t i o n   o b j e c t   t o   a   k u b e l e t - c o n f i g   C o n f i g M a p   i n   t h e   c l u s t e r   k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   k u b e l e t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2398"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U p l o a d   t h e   k u b e l e t   c o n f i g u r a t i o n   f r o m   t h e   k u b e a d m   C o n f i g   f i l e   t o   a   C o n f i g M a p   i n   t h e   c l u s t e r .   k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   k u b e l e t   - - c o n f i g   k u b e a d m . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2399"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   k u b e l e t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2400"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2401"
  },
  {
    "question": "What is kubeadm init phase upload-certs?",
    "answer": "U s e   t h e   f o l l o w i n g   p h a s e   t o   u p l o a d   c o n t r o l - p l a n e   c e r t i f i c a t e s   t o   t h e   c l u s t e r .   B y   d e f a u l t   t h e   c e r t s   a n d   e n c r y p t i o n   k e y   e x p i r e   a f t e r   t w o   h o u r s .   U p l o a d   c e r t i f i c a t e s   t o   k u b e a d m - c e r t s S y n o p s i s U p l o a d   c o n t r o l   p l a n e   c e r t i f i c a t e s   t o   t h e   k u b e a d m - c e r t s   S e c r e t k u b e a d m   i n i t   p h a s e   u p l o a d - c e r t s   [ f l a g s ]   O p t i o n s - - c e r t i f i c a t e - k e y   s t r i n g K e y   u s e d   t o   e n c r y p t   t h e   c o n t r o l - p l a n e   c e r t i f i c a t e s   i n   t h e   k u b e a d m - c e r t s   S e c r e t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   u p l o a d - c e r t s - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e . - - s k i p - c e r t i f i c a t e - k e y - p r i n t D o n ' t   p r i n t   t h e   k e y   u s e d   t o   e n c r y p t   t h e   c o n t r o l - p l a n e   c e r t i f i c a t e s . - - u p l o a d - c e r t s U p l o a d   c o n t r o l - p l a n e   c e r t i f i c a t e s   t o   t h e   k u b e a d m - c e r t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_2_2402"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p l o a d   c o n t r o l   p l a n e   c e r t i f i c a t e s   t o   t h e   k u b e a d m - c e r t s   S e c r e t   k u b e a d m   i n i t   p h a s e   u p l o a d - c e r t s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2403"
  },
  {
    "question": "What is Options?",
    "answer": "K e y   u s e d   t o   e n c r y p t   t h e   c o n t r o l - p l a n e   c e r t i f i c a t e s   i n   t h e   k u b e a d m - c e r t s   S e c r e t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   u p l o a d - c e r t s   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   D o n ' t   p r i n t   t h e   k e y   u s e d   t o   e n c r y p t   t h e   c o n t r o l - p l a n e   c e r t i f i c a t e s .   U p l o a d   c o n t r o l - p l a n e   c e r t i f i c a t e s   t o   t h e   k u b e a d m - c e r t s   S e c r e t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2404"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2405"
  },
  {
    "question": "What is kubeadm init phase mark-control-plane?",
    "answer": "U s e   t h e   f o l l o w i n g   p h a s e   t o   l a b e l   a n d   t a i n t   t h e   n o d e   a s   a   c o n t r o l   p l a n e   n o d e .   S y n o p s i s M a r k   a   n o d e   a s   a   c o n t r o l - p l a n e k u b e a d m   i n i t   p h a s e   m a r k - c o n t r o l - p l a n e   [ f l a g s ]   E x a m p l e s   #   A p p l i e s   c o n t r o l - p l a n e   l a b e l   a n d   t a i n t   t o   t h e   c u r r e n t   n o d e ,   f u n c t i o n a l l y   e q u i v a l e n t   t o   w h a t   e x e c u t e d   b y   k u b e a d m   i n i t .   k u b e a d m   i n i t   p h a s e   m a r k - c o n t r o l - p l a n e   - - c o n f i g   c o n f i g . y a m l   #   A p p l i e s   c o n t r o l - p l a n e   l a b e l   a n d   t a i n t   t o   a   s p e c i f i c   n o d e   k u b e a d m   i n i t   p h a s e   m a r k - c o n t r o l - p l a n e   - - n o d e - n a m e   m y N o d e   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   m a r k - c o n t r o l - p l a n e - - n o d e - n a m e   s t r i n g S p e c i f y   t h e   n o d e   n a m e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_2_2406"
  },
  {
    "question": "What is Synopsis?",
    "answer": "M a r k   a   n o d e   a s   a   c o n t r o l - p l a n e   k u b e a d m   i n i t   p h a s e   m a r k - c o n t r o l - p l a n e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2407"
  },
  {
    "question": "What is Examples?",
    "answer": "#   A p p l i e s   c o n t r o l - p l a n e   l a b e l   a n d   t a i n t   t o   t h e   c u r r e n t   n o d e ,   f u n c t i o n a l l y   e q u i v a l e n t   t o   w h a t   e x e c u t e d   b y   k u b e a d m   i n i t .   k u b e a d m   i n i t   p h a s e   m a r k - c o n t r o l - p l a n e   - - c o n f i g   c o n f i g . y a m l   #   A p p l i e s   c o n t r o l - p l a n e   l a b e l   a n d   t a i n t   t o   a   s p e c i f i c   n o d e   k u b e a d m   i n i t   p h a s e   m a r k - c o n t r o l - p l a n e   - - n o d e - n a m e   m y N o d e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2408"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   m a r k - c o n t r o l - p l a n e   S p e c i f y   t h e   n o d e   n a m e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2409"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2410"
  },
  {
    "question": "What is kubeadm init phase bootstrap-token?",
    "answer": "U s e   t h e   f o l l o w i n g   p h a s e   t o   c o n f i g u r e   b o o t s t r a p   t o k e n s .   G e n e r a t e s   b o o t s t r a p   t o k e n s   u s e d   t o   j o i n   a   n o d e   t o   a   c l u s t e r S y n o p s i s B o o t s t r a p   t o k e n s   a r e   u s e d   f o r   e s t a b l i s h i n g   b i d i r e c t i o n a l   t r u s t   b e t w e e n   a   n o d e   j o i n i n g   t h e   c l u s t e r   a n d   a   c o n t r o l - p l a n e   n o d e . T h i s   c o m m a n d   m a k e s   a l l   t h e   c o n f i g u r a t i o n s   r e q u i r e d   t o   m a k e   b o o t s t r a p   t o k e n s   w o r k s   a n d   t h e n   c r e a t e s   a n   i n i t i a l   t o k e n . k u b e a d m   i n i t   p h a s e   b o o t s t r a p - t o k e n   [ f l a g s ]   E x a m p l e s   #   M a k e   a l l   t h e   b o o t s t r a p   t o k e n   c o n f i g u r a t i o n s   a n d   c r e a t e   a n   i n i t i a l   t o k e n ,   f u n c t i o n a l l y   #   e q u i v a l e n t   t o   w h a t   g e n e r a t e d   b y   k u b e a d m   i n i t .   k u b e a d m   i n i t   p h a s e   b o o t s t r a p - t o k e n   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   b o o t s t r a p - t o k e n - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e . - - s k i p - t o k e n - p r i n t S k i p   p r i n t i n g   o f   t h e   d e f a u l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_2_2411"
  },
  {
    "question": "What is Synopsis?",
    "answer": "B o o t s t r a p   t o k e n s   a r e   u s e d   f o r   e s t a b l i s h i n g   b i d i r e c t i o n a l   t r u s t   b e t w e e n   a   n o d e   j o i n i n g   t h e   c l u s t e r   a n d   a   c o n t r o l - p l a n e   n o d e .   T h i s   c o m m a n d   m a k e s   a l l   t h e   c o n f i g u r a t i o n s   r e q u i r e d   t o   m a k e   b o o t s t r a p   t o k e n s   w o r k s   a n d   t h e n   c r e a t e s   a n   i n i t i a l   t o k e n .   k u b e a d m   i n i t   p h a s e   b o o t s t r a p - t o k e n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2412"
  },
  {
    "question": "What is Examples?",
    "answer": "#   M a k e   a l l   t h e   b o o t s t r a p   t o k e n   c o n f i g u r a t i o n s   a n d   c r e a t e   a n   i n i t i a l   t o k e n ,   f u n c t i o n a l l y   #   e q u i v a l e n t   t o   w h a t   g e n e r a t e d   b y   k u b e a d m   i n i t .   k u b e a d m   i n i t   p h a s e   b o o t s t r a p - t o k e n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2413"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   b o o t s t r a p - t o k e n   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   S k i p   p r i n t i n g   o f   t h e   d e f a u l t   b o o t s t r a p   t o k e n   g e n e r a t e d   b y   ' k u b e a d m   i n i t ' .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2414"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2415"
  },
  {
    "question": "What is kubeadm init phase kubelet-finalize?",
    "answer": "U s e   t h e   f o l l o w i n g   p h a s e   t o   u p d a t e   s e t t i n g s   r e l e v a n t   t o   t h e   k u b e l e t   a f t e r   T L S   b o o t s t r a p .   Y o u   c a n   u s e   t h e   a l l   s u b c o m m a n d   t o   r u n   a l l   k u b e l e t - f i n a l i z e   p h a s e s .   S y n o p s i s U p d a t e s   s e t t i n g s   r e l e v a n t   t o   t h e   k u b e l e t   a f t e r   T L S   b o o t s t r a p k u b e a d m   i n i t   p h a s e   k u b e l e t - f i n a l i z e   [ f l a g s ]   E x a m p l e s   #   U p d a t e s   s e t t i n g s   r e l e v a n t   t o   t h e   k u b e l e t   a f t e r   T L S   b o o t s t r a p \"   k u b e a d m   i n i t   p h a s e   k u b e l e t - f i n a l i z e   a l l   - - c o n f i g   O p t i o n s - h ,   - - h e l p h e l p   f o r   k u b e l e t - f i n a l i z e O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_2_2416"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e s   s e t t i n g s   r e l e v a n t   t o   t h e   k u b e l e t   a f t e r   T L S   b o o t s t r a p   k u b e a d m   i n i t   p h a s e   k u b e l e t - f i n a l i z e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2417"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U p d a t e s   s e t t i n g s   r e l e v a n t   t o   t h e   k u b e l e t   a f t e r   T L S   b o o t s t r a p \"   k u b e a d m   i n i t   p h a s e   k u b e l e t - f i n a l i z e   a l l   - - c o n f i g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2418"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   k u b e l e t - f i n a l i z e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2419"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R u n   a l l   k u b e l e t - f i n a l i z e   p h a s e s k u b e a d m   i n i t   p h a s e   k u b e l e t - f i n a l i z e   a l l   [ f l a g s ]   E x a m p l e s   #   U p d a t e s   s e t t i n g s   r e l e v a n t   t o   t h e   k u b e l e t   a f t e r   T L S   b o o t s t r a p \"   k u b e a d m   i n i t   p h a s e   k u b e l e t - f i n a l i z e   a l l   - - c o n f i g   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   a l l O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2420"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   a l l   k u b e l e t - f i n a l i z e   p h a s e s   k u b e a d m   i n i t   p h a s e   k u b e l e t - f i n a l i z e   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2421"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U p d a t e s   s e t t i n g s   r e l e v a n t   t o   t h e   k u b e l e t   a f t e r   T L S   b o o t s t r a p \"   k u b e a d m   i n i t   p h a s e   k u b e l e t - f i n a l i z e   a l l   - - c o n f i g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2422"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a l l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2423"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s E n a b l e   k u b e l e t   c l i e n t   c e r t i f i c a t e   r o t a t i o n k u b e a d m   i n i t   p h a s e   k u b e l e t - f i n a l i z e   e n a b l e - c l i e n t - c e r t - r o t a t i o n   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   e n a b l e - c l i e n t - c e r t - r o t a t i o n O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2424"
  },
  {
    "question": "What is Synopsis?",
    "answer": "E n a b l e   k u b e l e t   c l i e n t   c e r t i f i c a t e   r o t a t i o n   k u b e a d m   i n i t   p h a s e   k u b e l e t - f i n a l i z e   e n a b l e - c l i e n t - c e r t - r o t a t i o n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2425"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   e n a b l e - c l i e n t - c e r t - r o t a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2426"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2427"
  },
  {
    "question": "What is kubeadm init phase addon?",
    "answer": "Y o u   c a n   i n s t a l l   a l l   t h e   a v a i l a b l e   a d d o n s   w i t h   t h e   a l l   s u b c o m m a n d ,   o r   i n s t a l l   t h e m   s e l e c t i v e l y .   S y n o p s i s I n s t a l l   r e q u i r e d   a d d o n s   f o r   p a s s i n g   c o n f o r m a n c e   t e s t s k u b e a d m   i n i t   p h a s e   a d d o n   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   a d d o n O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_2_2428"
  },
  {
    "question": "What is Synopsis?",
    "answer": "I n s t a l l   r e q u i r e d   a d d o n s   f o r   p a s s i n g   c o n f o r m a n c e   t e s t s   k u b e a d m   i n i t   p h a s e   a d d o n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2429"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   a d d o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2430"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s I n s t a l l   a l l   t h e   a d d o n s k u b e a d m   i n i t   p h a s e   a d d o n   a l l   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - b i n d - p o r t   i n t 3 2   D e f a u l t :   6 4 4 3 P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e - e n d p o i n t   s t r i n g S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - - f e a t u r e - g a t e s   s t r i n g A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d e L o c a l C R I S o c k e t = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) P u b l i c K e y s E C D S A = t r u e | f a l s e   ( D E P R E C A T E D   -   d e f a u l t = f a l s e ) R o o t l e s s C o n t r o l P l a n e = t r u e | f a l s e   ( A L P H A   -   d e f a u l t = f a l s e ) W a i t F o r A l l C o n t r o l P l a n e C o m p o n e n t s = t r u e | f a l s e   ( d e f a u l t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2431"
  },
  {
    "question": "What is Synopsis?",
    "answer": "I n s t a l l   a l l   t h e   a d d o n s   k u b e a d m   i n i t   p h a s e   a d d o n   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2432"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d e L o c a l C R I S o c k e t = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) P u b l i c K e y s E C D S A = t r u e | f a l s e   ( D E P R E C A T E D   -   d e f a u l t = f a l s e ) R o o t l e s s C o n t r o l P l a n e = t r u e | f a l s e   ( A L P H A   -   d e f a u l t = f a l s e ) W a i t F o r A l l C o n t r o l P l a n e C o m p o n e n t s = t r u e | f a l s e   ( d e f a u l t = t r u e )   h e l p   f o r   a l l   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   S p e c i f y   r a n g e   o f   I P   a d d r e s s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2433"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   I n s t a l l   t h e   C o r e D N S   a d d o n   t o   a   K u b e r n e t e s   c l u s t e r S y n o p s i s I n s t a l l   t h e   C o r e D N S   a d d o n   c o m p o n e n t s   v i a   t h e   A P I   s e r v e r .   P l e a s e   n o t e   t h a t   a l t h o u g h   t h e   D N S   s e r v e r   i s   d e p l o y e d ,   i t   w i l l   n o t   b e   s c h e d u l e d   u n t i l   C N I   i s   i n s t a l l e d . k u b e a d m   i n i t   p h a s e   a d d o n   c o r e d n s   [ f l a g s ]   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - - f e a t u r e - g a t e s   s t r i n g A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d e L o c a l C R I S o c k e t = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) P u b l i c K e y s E C D S A = t r u e | f a l s e   ( D E P R E C A T E D   -   d e f a u l t = f a l s e ) R o o t l e s s C o n t r o l P l a n e = t r u e | f a l s e   ( A L P H A   -   d e f a u l t = f a l s e ) W a i t F o r A l l C o n t r o l P l a n e C o m p o n e n t s = t r u e | f a l s e   ( d e f a u l t = t r u e ) - h ,   - - h e l p h e l p   f o r   c o r e d n s - - i m a g e - r e p o s i t o r y   s t r i n g   D e f a u l t :   \" r e g i s t r y . k 8 s . i o \" C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2434"
  },
  {
    "question": "What is Synopsis?",
    "answer": "I n s t a l l   t h e   C o r e D N S   a d d o n   c o m p o n e n t s   v i a   t h e   A P I   s e r v e r .   P l e a s e   n o t e   t h a t   a l t h o u g h   t h e   D N S   s e r v e r   i s   d e p l o y e d ,   i t   w i l l   n o t   b e   s c h e d u l e d   u n t i l   C N I   i s   i n s t a l l e d .   k u b e a d m   i n i t   p h a s e   a d d o n   c o r e d n s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2435"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d e L o c a l C R I S o c k e t = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) P u b l i c K e y s E C D S A = t r u e | f a l s e   ( D E P R E C A T E D   -   d e f a u l t = f a l s e ) R o o t l e s s C o n t r o l P l a n e = t r u e | f a l s e   ( A L P H A   -   d e f a u l t = f a l s e ) W a i t F o r A l l C o n t r o l P l a n e C o m p o n e n t s = t r u e | f a l s e   ( d e f a u l t = t r u e )   h e l p   f o r   c o r e d n s   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   P r i n t   t h e   a d d o n   m a n i f e s t s   t o   S T D O U T   i n s t e a d   o f   i n s t a l l i n g   t h e m   U s e   a l t e r n a t i v e   r a n g e   o f   I P   a d d r e s s   f o r   s e r v i c e   V I P s .   U s e   a l t e r n a t i v e   d o m a i n   f o r   s e r v i c e s ,   e . g .   \" m y o r g . i n t e r n a l \" .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2436"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   I n s t a l l   t h e   k u b e - p r o x y   a d d o n   t o   a   K u b e r n e t e s   c l u s t e r S y n o p s i s I n s t a l l   t h e   k u b e - p r o x y   a d d o n   c o m p o n e n t s   v i a   t h e   A P I   s e r v e r . k u b e a d m   i n i t   p h a s e   a d d o n   k u b e - p r o x y   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - b i n d - p o r t   i n t 3 2   D e f a u l t :   6 4 4 3 P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e - e n d p o i n t   s t r i n g S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   k u b e - p r o x y - - i m a g e - r e p o s i t o r y   s t r i n g   D e f a u l t :   \" r e g i s t r y . k 8 s . i o \" C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2437"
  },
  {
    "question": "What is Synopsis?",
    "answer": "I n s t a l l   t h e   k u b e - p r o x y   a d d o n   c o m p o n e n t s   v i a   t h e   A P I   s e r v e r .   k u b e a d m   i n i t   p h a s e   a d d o n   k u b e - p r o x y   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2438"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   k u b e - p r o x y   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   S p e c i f y   r a n g e   o f   I P   a d d r e s s e s   f o r   t h e   p o d   n e t w o r k .   I f   s e t ,   t h e   c o n t r o l   p l a n e   w i l l   a u t o m a t i c a l l y   a l l o c a t e   C I D R s   f o r   e v e r y   n o d e .   P r i n t   t h e   a d d o n   m a n i f e s t s   t o   S T D O U T   i n s t e a d   o f   i n s t a l l i n g   t h e m",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2439"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   F o r   m o r e   d e t a i l s   o n   e a c h   f i e l d   i n   t h e   v 1 b e t a 4   c o n f i g u r a t i o n   y o u   c a n   n a v i g a t e   t o   o u r   A P I   r e f e r e n c e   p a g e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_3_2440"
  },
  {
    "question": "What is What's next?",
    "answer": "k u b e a d m   i n i t   t o   b o o t s t r a p   a   K u b e r n e t e s   c o n t r o l - p l a n e   n o d e k u b e a d m   j o i n   t o   c o n n e c t   a   n o d e   t o   t h e   c l u s t e r k u b e a d m   r e s e t   t o   r e v e r t   a n y   c h a n g e s   m a d e   t o   t h i s   h o s t   b y   k u b e a d m   i n i t   o r   k u b e a d m   j o i n k u b e a d m   a l p h a   t o   t r y   e x p e r i m e n t a l   f u n c t i o n a l i t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/",
    "id": "k8s_00132_section_2_2441"
  },
  {
    "question": "What is Configure a kubelet image credential provider?",
    "answer": "Configure a kubelet image credential providerFEATURE STATE: Kubernetes v1.26 [stable]Starting from Kubernetes v1.20, the kubelet can dynamically retrieve credentials for a container image registry using exec plugins. The kubelet and the exec plugin communicate through stdio (stdin, stdout, and stderr) using Kubernetes versioned APIs. These plugins allow the kubelet to request credentials for a container registry dynamically as opposed to storing static credentials on disk. For example, the plugin may talk to a local metadata server to retrieve short-lived credentials for an image that is being pulled by the kubelet.You may be interested in using this capability if any of the below are true:API calls to a cloud provider service are required to retrieve authentication information for a registry.Credentials have short expiration times and requesting new credentials frequently is required.Storing registry credentials on disk or in imagePullSecrets is not acceptable.This guide demonstrates how to configure the kubelet's image credential provider plugin mechanism.Service Account Token for Image PullsFEATURE STATE: Kubernetes v1.34 [beta] (enabled by default: true)Starting from Kubernetes v1.33, the kubelet can be configured to send a service account token bound to the pod for which the image pull is being performed to the credential provider plugin.This allows the plugin to exchange the token for credentials to access the image registry.To enable this feature, the KubeletServiceAccountTokenForCredentialProviders feature gate must be enabled on the kubelet, and the tokenAttributes field must be set in the CredentialProviderConfig file for the plugin.The tokenAttributes field contains information about the service account token that will be passed to the plugin, including the intended audience for the token and whether the plugin requires the pod to have a service account.Using service account token credentials can enable the following use-cases:Avoid needing a kubelet/node-based identity to pull images from a registry.Allow workloads to pull images based on their own runtime identity without long-lived/persisted secrets.Before you beginYou need a Kubernetes cluster with nodes that support kubelet credential provider plugins. This support is available in Kubernetes 1.34; Kubernetes v1.24 and v1.25 included this as a beta feature, enabled by default.If you are configuring a credential provider plugin that requires the service account token, you need a Kubernetes cluster with nodes running Kubernetes v1.33 or later and the KubeletServiceAccountTokenForCredentialProviders feature gate enabled on the kubelet.A working implementation of a credential provider exec plugin. You can build your own plugin or use one provided by cloud providers.Your Kubernetes server must be at or later than version v1.26.To check the version, enter kubectl version.Installing Plugins on NodesA credential provider plugin is an executable binary that will be run by the kubelet. Ensur",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-credential-provider/",
    "id": "k8s_00133_qa_2442"
  },
  {
    "question": "How does Configure a kubelet image credential provider work?",
    "answer": "Configure a kubelet image credential providerFEATURE STATE: Kubernetes v1.26 [stable]Starting from Kubernetes v1.20, the kubelet can dynamically retrieve credentials for a container image registry using exec plugins. The kubelet and the exec plugin communicate through stdio (stdin, stdout, and stderr) using Kubernetes versioned APIs. These plugins allow the kubelet to request credentials for a container registry dynamically as opposed to storing static credentials on disk. For example, the plugin may talk to a local metadata server to retrieve short-lived credentials for an image that is being pulled by the kubelet.You may be interested in using this capability if any of the below are true:API calls to a cloud provider service are required to retrieve authentication information for a registry.Credentials have short expiration times and requesting new credentials frequently is required.Storing registry credentials on disk or in imagePullSecrets is not acceptable.This guide demonstrates how to configure the kubelet's image credential provider plugin mechanism.Service Account Token for Image PullsFEATURE STATE: Kubernetes v1.34 [beta] (enabled by default: true)Starting from Kubernetes v1.33, the kubelet can be configured to send a service account token bound to the pod for which the image pull is being performed to the credential provider plugin.This allows the plugin to exchange the token for credentials to access the image registry.To enable this feature, the KubeletServiceAccountTokenForCredentialProviders feature gate must be enabled on the kubelet, and the tokenAttributes field must be set in the CredentialProviderConfig file for the plugin.The tokenAttributes field contains information about the service account token that will be passed to the plugin, including the intended audience for the token and whether the plugin requires the pod to have a service account.Using service account token credentials can enable the following use-cases:Avoid needing a kubelet/node-based identity to pull images from a registry.Allow workloads to pull images based on their own runtime identity without long-lived/persisted secrets.Before you beginYou need a Kubernetes cluster with nodes that support kubelet credential provider plugins. This support is available in Kubernetes 1.34; Kubernetes v1.24 and v1.25 included this as a beta feature, enabled by default.If you are configuring a credential provider plugin that requires the service account token, you need a Kubernetes cluster with nodes running Kubernetes v1.33 or later and the KubeletServiceAccountTokenForCredentialProviders feature gate enabled on the kubelet.A working implementation of a credential provider exec plugin. You can build your own plugin or use one provided by cloud providers.Your Kubernetes server must be at or later than version v1.26.To check the version, enter kubectl version.Installing Plugins on NodesA credential provider plugin is an executable binary that will be run by the kubelet. Ensur",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-credential-provider/",
    "id": "k8s_00133_qa_2443"
  },
  {
    "question": "When would you use Configure a kubelet image credential provider?",
    "answer": "Configure a kubelet image credential providerFEATURE STATE: Kubernetes v1.26 [stable]Starting from Kubernetes v1.20, the kubelet can dynamically retrieve credentials for a container image registry using exec plugins. The kubelet and the exec plugin communicate through stdio (stdin, stdout, and stderr) using Kubernetes versioned APIs. These plugins allow the kubelet to request credentials for a container registry dynamically as opposed to storing static credentials on disk. For example, the plugin may talk to a local metadata server to retrieve short-lived credentials for an image that is being pulled by the kubelet.You may be interested in using this capability if any of the below are true:API calls to a cloud provider service are required to retrieve authentication information for a registry.Credentials have short expiration times and requesting new credentials frequently is required.Storing registry credentials on disk or in imagePullSecrets is not acceptable.This guide demonstrates how to configure the kubelet's image credential provider plugin mechanism.Service Account Token for Image PullsFEATURE STATE: Kubernetes v1.34 [beta] (enabled by default: true)Starting from Kubernetes v1.33, the kubelet can be configured to send a service account token bound to the pod for which the image pull is being performed to the credential provider plugin.This allows the plugin to exchange the token for credentials to access the image registry.To enable this feature, the KubeletServiceAccountTokenForCredentialProviders feature gate must be enabled on the kubelet, and the tokenAttributes field must be set in the CredentialProviderConfig file for the plugin.The tokenAttributes field contains information about the service account token that will be passed to the plugin, including the intended audience for the token and whether the plugin requires the pod to have a service account.Using service account token credentials can enable the following use-cases:Avoid needing a kubelet/node-based identity to pull images from a registry.Allow workloads to pull images based on their own runtime identity without long-lived/persisted secrets.Before you beginYou need a Kubernetes cluster with nodes that support kubelet credential provider plugins. This support is available in Kubernetes 1.34; Kubernetes v1.24 and v1.25 included this as a beta feature, enabled by default.If you are configuring a credential provider plugin that requires the service account token, you need a Kubernetes cluster with nodes running Kubernetes v1.33 or later and the KubeletServiceAccountTokenForCredentialProviders feature gate enabled on the kubelet.A working implementation of a credential provider exec plugin. You can build your own plugin or use one provided by cloud providers.Your Kubernetes server must be at or later than version v1.26.To check the version, enter kubectl version.Installing Plugins on NodesA credential provider plugin is an executable binary that will be run by the kubelet. Ensur",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-credential-provider/",
    "id": "k8s_00133_qa_2444"
  },
  {
    "question": "What are the benefits of Configure a kubelet image credential provider?",
    "answer": "Configure a kubelet image credential providerFEATURE STATE: Kubernetes v1.26 [stable]Starting from Kubernetes v1.20, the kubelet can dynamically retrieve credentials for a container image registry using exec plugins. The kubelet and the exec plugin communicate through stdio (stdin, stdout, and stderr) using Kubernetes versioned APIs. These plugins allow the kubelet to request credentials for a container registry dynamically as opposed to storing static credentials on disk. For example, the plugin may talk to a local metadata server to retrieve short-lived credentials for an image that is being pulled by the kubelet.You may be interested in using this capability if any of the below are true:API calls to a cloud provider service are required to retrieve authentication information for a registry.Credentials have short expiration times and requesting new credentials frequently is required.Storing registry credentials on disk or in imagePullSecrets is not acceptable.This guide demonstrates how to configure the kubelet's image credential provider plugin mechanism.Service Account Token for Image PullsFEATURE STATE: Kubernetes v1.34 [beta] (enabled by default: true)Starting from Kubernetes v1.33, the kubelet can be configured to send a service account token bound to the pod for which the image pull is being performed to the credential provider plugin.This allows the plugin to exchange the token for credentials to access the image registry.To enable this feature, the KubeletServiceAccountTokenForCredentialProviders feature gate must be enabled on the kubelet, and the tokenAttributes field must be set in the CredentialProviderConfig file for the plugin.The tokenAttributes field contains information about the service account token that will be passed to the plugin, including the intended audience for the token and whether the plugin requires the pod to have a service account.Using service account token credentials can enable the following use-cases:Avoid needing a kubelet/node-based identity to pull images from a registry.Allow workloads to pull images based on their own runtime identity without long-lived/persisted secrets.Before you beginYou need a Kubernetes cluster with nodes that support kubelet credential provider plugins. This support is available in Kubernetes 1.34; Kubernetes v1.24 and v1.25 included this as a beta feature, enabled by default.If you are configuring a credential provider plugin that requires the service account token, you need a Kubernetes cluster with nodes running Kubernetes v1.33 or later and the KubeletServiceAccountTokenForCredentialProviders feature gate enabled on the kubelet.A working implementation of a credential provider exec plugin. You can build your own plugin or use one provided by cloud providers.Your Kubernetes server must be at or later than version v1.26.To check the version, enter kubectl version.Installing Plugins on NodesA credential provider plugin is an executable binary that will be run by the kubelet. Ensur",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-credential-provider/",
    "id": "k8s_00133_qa_2445"
  },
  {
    "question": "What is Configure a kubelet image credential provider?",
    "answer": "S t a r t i n g   f r o m   K u b e r n e t e s   v 1 . 2 0 ,   t h e   k u b e l e t   c a n   d y n a m i c a l l y   r e t r i e v e   c r e d e n t i a l s   f o r   a   c o n t a i n e r   i m a g e   r e g i s t r y   u s i n g   e x e c   p l u g i n s .   T h e   k u b e l e t   a n d   t h e   e x e c   p l u g i n   c o m m u n i c a t e   t h r o u g h   s t d i o   ( s t d i n ,   s t d o u t ,   a n d   s t d e r r )   u s i n g   K u b e r n e t e s   v e r s i o n e d   A P I s .   T h e s e   p l u g i n s   a l l o w   t h e   k u b e l e t   t o   r e q u e s t   c r e d e n t i a l s   f o r   a   c o n t a i n e r   r e g i s t r y   d y n a m i c a l l y   a s   o p p o s e d   t o   s t o r i n g   s t a t i c   c r e d e n t i a l s   o n   d i s k .   F o r   e x a m p l e ,   t h e   p l u g i n   m a y   t a l k   t o   a   l o c a l   m e t a d a t a   s e r v e r   t o   r e t r i e v e   s h o r t - l i v e d   c r e d e n t i a l s   f o r   a n   i m a g e   t h a t   i s   b e i n g   p u l l e d   b y   t h e   k u b e l e t .   Y o u   m a y   b e   i n t e r e s t e d   i n   u s i n g   t h i s   c a p a b i l i t y   i f   a n y   o f   t h e   b e l o w   a r e   t r u e :   A P I   c a l l s   t o   a   c l o u d   p r o v i d e r   s e r v i c e   a r e   r e q u i r e d   t o   r e t r i e v e   a u t h e n t i c a t i o n   i n f o r m a t i o n   f o r   a   r e g i s t r y . C r e d e n t i a l s   h a v e   s h o r t   e x p i r a t i o n   t i m e s   a n d   r e q u e s t i n g   n e w   c r e d e n t i a l s   f r e q u e n t l y   i s   r e q u i r e d . S t o r i n g   r e g i s t r y   c r e d e n t i a l s   o n   d i s k   o r   i n   i m a g e P u l l S e c r e t s   i s   n o t   a c c e p t a b l e .   T h i s   g u i d e   d e m o n s t r a t e s   h o w   t o   c o n f i g u r e   t h e   k u b e l e t ' s   i m a g e   c r e d e n t i a l   p r o v i d e r   p l u g i n   m e c h a n i s m .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-credential-provider/",
    "id": "k8s_00133_section_1_2446"
  },
  {
    "question": "What is Service Account Token for Image Pulls?",
    "answer": "S t a r t i n g   f r o m   K u b e r n e t e s   v 1 . 3 3 ,   t h e   k u b e l e t   c a n   b e   c o n f i g u r e d   t o   s e n d   a   s e r v i c e   a c c o u n t   t o k e n   b o u n d   t o   t h e   p o d   f o r   w h i c h   t h e   i m a g e   p u l l   i s   b e i n g   p e r f o r m e d   t o   t h e   c r e d e n t i a l   p r o v i d e r   p l u g i n .   T h i s   a l l o w s   t h e   p l u g i n   t o   e x c h a n g e   t h e   t o k e n   f o r   c r e d e n t i a l s   t o   a c c e s s   t h e   i m a g e   r e g i s t r y .   T o   e n a b l e   t h i s   f e a t u r e ,   t h e   K u b e l e t S e r v i c e A c c o u n t T o k e n F o r C r e d e n t i a l P r o v i d e r s   f e a t u r e   g a t e   m u s t   b e   e n a b l e d   o n   t h e   k u b e l e t ,   a n d   t h e   t o k e n A t t r i b u t e s   f i e l d   m u s t   b e   s e t   i n   t h e   C r e d e n t i a l P r o v i d e r C o n f i g   f i l e   f o r   t h e   p l u g i n .   T h e   t o k e n A t t r i b u t e s   f i e l d   c o n t a i n s   i n f o r m a t i o n   a b o u t   t h e   s e r v i c e   a c c o u n t   t o k e n   t h a t   w i l l   b e   p a s s e d   t o   t h e   p l u g i n ,   i n c l u d i n g   t h e   i n t e n d e d   a u d i e n c e   f o r   t h e   t o k e n   a n d   w h e t h e r   t h e   p l u g i n   r e q u i r e s   t h e   p o d   t o   h a v e   a   s e r v i c e   a c c o u n t .   U s i n g   s e r v i c e   a c c o u n t   t o k e n   c r e d e n t i a l s   c a n   e n a b l e   t h e   f o l l o w i n g   u s e - c a s e s :   A v o i d   n e e d i n g   a   k u b e l e t / n o d e - b a s e d   i d e n t i t y   t o   p u l l   i m a g e s   f r o m   a   r e g i s t r y . A l l o w   w o r k l o a d s   t o   p u l l   i m a g e s   b a s e d   o n   t h e i r   o w n   r u n t i m e   i d e n t i t y   w i t h o u t   l o n g - l i v e d / p e r s i s t e d   s e c r e t s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-credential-provider/",
    "id": "k8s_00133_section_2_2447"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   a   K u b e r n e t e s   c l u s t e r   w i t h   n o d e s   t h a t   s u p p o r t   k u b e l e t   c r e d e n t i a l   p r o v i d e r   p l u g i n s .   T h i s   s u p p o r t   i s   a v a i l a b l e   i n   K u b e r n e t e s   1 . 3 4 ;   K u b e r n e t e s   v 1 . 2 4   a n d   v 1 . 2 5   i n c l u d e d   t h i s   a s   a   b e t a   f e a t u r e ,   e n a b l e d   b y   d e f a u l t . I f   y o u   a r e   c o n f i g u r i n g   a   c r e d e n t i a l   p r o v i d e r   p l u g i n   t h a t   r e q u i r e s   t h e   s e r v i c e   a c c o u n t   t o k e n ,   y o u   n e e d   a   K u b e r n e t e s   c l u s t e r   w i t h   n o d e s   r u n n i n g   K u b e r n e t e s   v 1 . 3 3   o r   l a t e r   a n d   t h e   K u b e l e t S e r v i c e A c c o u n t T o k e n F o r C r e d e n t i a l P r o v i d e r s   f e a t u r e   g a t e   e n a b l e d   o n   t h e   k u b e l e t . A   w o r k i n g   i m p l e m e n t a t i o n   o f   a   c r e d e n t i a l   p r o v i d e r   e x e c   p l u g i n .   Y o u   c a n   b u i l d   y o u r   o w n   p l u g i n   o r   u s e   o n e   p r o v i d e d   b y   c l o u d   p r o v i d e r s .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-credential-provider/",
    "id": "k8s_00133_section_2_2448"
  },
  {
    "question": "What is Installing Plugins on Nodes?",
    "answer": "A   c r e d e n t i a l   p r o v i d e r   p l u g i n   i s   a n   e x e c u t a b l e   b i n a r y   t h a t   w i l l   b e   r u n   b y   t h e   k u b e l e t .   E n s u r e   t h a t   t h e   p l u g i n   b i n a r y   e x i s t s   o n   e v e r y   n o d e   i n   y o u r   c l u s t e r   a n d   s t o r e d   i n   a   k n o w n   d i r e c t o r y .   T h e   d i r e c t o r y   w i l l   b e   r e q u i r e d   l a t e r   w h e n   c o n f i g u r i n g   k u b e l e t   f l a g s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-credential-provider/",
    "id": "k8s_00133_section_2_2449"
  },
  {
    "question": "What is Configuring the Kubelet?",
    "answer": "I n   o r d e r   t o   u s e   t h i s   f e a t u r e ,   t h e   k u b e l e t   e x p e c t s   t w o   f l a g s   t o   b e   s e t :   - - i m a g e - c r e d e n t i a l - p r o v i d e r - c o n f i g   -   t h e   p a t h   t o   t h e   c r e d e n t i a l   p r o v i d e r   p l u g i n   c o n f i g   f i l e . - - i m a g e - c r e d e n t i a l - p r o v i d e r - b i n - d i r   -   t h e   p a t h   t o   t h e   d i r e c t o r y   w h e r e   c r e d e n t i a l   p r o v i d e r   p l u g i n   b i n a r i e s   a r e   l o c a t e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-credential-provider/",
    "id": "k8s_00133_section_2_2450"
  },
  {
    "question": "What is Configure a kubelet credential provider?",
    "answer": "T h e   c o n f i g u r a t i o n   f i l e   p a s s e d   i n t o   - - i m a g e - c r e d e n t i a l - p r o v i d e r - c o n f i g   i s   r e a d   b y   t h e   k u b e l e t   t o   d e t e r m i n e   w h i c h   e x e c   p l u g i n s   s h o u l d   b e   i n v o k e d   f o r   w h i c h   c o n t a i n e r   i m a g e s .   H e r e ' s   a n   e x a m p l e   c o n f i g u r a t i o n   f i l e   y o u   m a y   e n d   u p   u s i n g   i f   y o u   a r e   u s i n g   t h e   E C R - b a s e d   p l u g i n :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1   k i n d :   C r e d e n t i a l P r o v i d e r C o n f i g   #   p r o v i d e r s   i s   a   l i s t   o f   c r e d e n t i a l   p r o v i d e r   h e l p e r   p l u g i n s   t h a t   w i l l   b e   e n a b l e d   b y   t h e   k u b e l e t .   #   M u l t i p l e   p r o v i d e r s   m a y   m a t c h   a g a i n s t   a   s i n g l e   i m a g e ,   i n   w h i c h   c a s e   c r e d e n t i a l s   #   f r o m   a l l   p r o v i d e r s   w i l l   b e   r e t u r n e d   t o   t h e   k u b e l e t .   I f   m u l t i p l e   p r o v i d e r s   a r e   c a l l e d   #   f o r   a   s i n g l e   i m a g e ,   t h e   r e s u l t s   a r e   c o m b i n e d .   I f   p r o v i d e r s   r e t u r n   o v e r l a p p i n g   #   a u t h   k e y s ,   t h e   v a l u e   f r o m   t h e   p r o v i d e r   e a r l i e r   i n   t h i s   l i s t   i s   u s e d .   p r o v i d e r s :   #   n a m e   i s   t h e   r e q u i r e d   n a m e   o f   t h e   c r e d e n t i a l   p r o v i d e r .   I t   m u s t   m a t c h   t h e   n a m e   o f   t h e   #   p r o v i d e r   e x e c u t a b l e   a s   s e e n   b y   t h e   k u b e l e t .   T h e   e x e c u t a b l e   m u s t   b e   i n   t h e   k u b e l e t ' s   #   b i n   d i r e c t o r y   ( s e t   b y   t h e   - - i m a g e - c r e d e n t i a l - p r o v i d e r - b i n - d i r   f ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-credential-provider/",
    "id": "k8s_00133_section_3_2451"
  },
  {
    "question": "What is Configure image matching?",
    "answer": "T h e   m a t c h I m a g e s   f i e l d   f o r   e a c h   c r e d e n t i a l   p r o v i d e r   i s   u s e d   b y   t h e   k u b e l e t   t o   d e t e r m i n e   w h e t h e r   a   p l u g i n   s h o u l d   b e   i n v o k e d   f o r   a   g i v e n   i m a g e   t h a t   a   P o d   i s   u s i n g .   E a c h   e n t r y   i n   m a t c h I m a g e s   i s   a n   i m a g e   p a t t e r n   w h i c h   c a n   o p t i o n a l l y   c o n t a i n   a   p o r t   a n d   a   p a t h .   G l o b s   c a n   b e   u s e d   i n   t h e   d o m a i n ,   b u t   n o t   i n   t h e   p o r t   o r   t h e   p a t h .   G l o b s   a r e   s u p p o r t e d   a s   s u b d o m a i n s   l i k e   * . k 8 s . i o   o r   k 8 s . * . i o ,   a n d   t o p - l e v e l   d o m a i n s   s u c h   a s   k 8 s . * .   M a t c h i n g   p a r t i a l   s u b d o m a i n s   l i k e   a p p * . k 8 s . i o   i s   a l s o   s u p p o r t e d .   E a c h   g l o b   c a n   o n l y   m a t c h   a   s i n g l e   s u b d o m a i n   s e g m e n t ,   s o   * . i o   d o e s   N O T   m a t c h   * . k 8 s . i o .   A   m a t c h   e x i s t s   b e t w e e n   a n   i m a g e   n a m e   a n d   a   m a t c h I m a g e   e n t r y   w h e n   a l l   o f   t h e   b e l o w   a r e   t r u e :   B o t h   c o n t a i n   t h e   s a m e   n u m b e r   o f   d o m a i n   p a r t s   a n d   e a c h   p a r t   m a t c h e s . T h e   U R L   p a t h   o f   m a t c h   i m a g e   m u s t   b e   a   p r e f i x   o f   t h e   t a r g e t   i m a g e   U R L   p a t h . I f   t h e   m a t c h I m a g e s   c o n t a i n s   a   p o r t ,   t h e n   t h e   p o r t   m u s t   m a t c h   i n   t h e   i m a g e   a s   w e l l .   S o m e   e x a m p l e   v a l u e s   o f   m a t c h I m a g e s   p a t t e r n s   a r e :   1 2 3 4 5 6 7 8 9 . d k r . e c r . u s - e a s t - 1 . a m a z o n a w s . c o m * . a z u r e c r . i o g c r . i o * . * . r e g ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-credential-provider/",
    "id": "k8s_00133_section_4_2452"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   t h e   d e t a i l s   a b o u t   C r e d e n t i a l P r o v i d e r C o n f i g   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   A P I   ( v 1 )   r e f e r e n c e . R e a d   t h e   k u b e l e t   c r e d e n t i a l   p r o v i d e r   A P I   r e f e r e n c e   ( v 1 ) .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-credential-provider/",
    "id": "k8s_00133_section_2_2453"
  },
  {
    "question": "What is Troubleshooting kubectl?",
    "answer": "Troubleshooting kubectlThis documentation is about investigating and diagnosing kubectl related issues. If you encounter issues accessing kubectl or connecting to your cluster, this document outlines various common scenarios and potential solutions to help identify and address the likely cause.Before you beginYou need to have a Kubernetes cluster.You also need to have kubectl installed - see install toolsVerify kubectl setupMake sure you have installed and configured kubectl correctly on your local machine. Check the kubectl version to ensure it is up-to-date and compatible with your cluster.Check kubectl version:kubectl version You'll see a similar output:Client Version: version.Info{Major:\"1\", Minor:\"27\", GitVersion:\"v1.27.4\",GitCommit:\"fa3d7990104d7c1f16943a67f11b154b71f6a132\", GitTreeState:\"clean\",BuildDate:\"2023-07-19T12:20:54Z\", GoVersion:\"go1.20.6\", Compiler:\"gc\", Platform:\"linux/amd64\"} Kustomize Version: v5.0.1 Server Version: version.Info{Major:\"1\", Minor:\"27\", GitVersion:\"v1.27.3\",GitCommit:\"25b4e43193bcda6c7328a6d147b1fb73a33f1598\", GitTreeState:\"clean\",BuildDate:\"2023-06-14T09:47:40Z\", GoVersion:\"go1.20.5\", Compiler:\"gc\", Platform:\"linux/amd64\"} If you see Unable to connect to the server: dial tcp <server-ip>:8443: i/o timeout, instead of Server Version, you need to troubleshoot kubectl connectivity with your cluster.Make sure you have installed the kubectl by following the official documentation for installing kubectl, and you have properly configured the $PATH environment variable.Check kubeconfigThe kubectl requires a kubeconfig file to connect to a Kubernetes cluster. The kubeconfig file is usually located under the ~/.kube/config directory. Make sure that you have a valid kubeconfig file. If you don't have a kubeconfig file, you can obtain it from your Kubernetes administrator, or you can copy it from your Kubernetes control plane's /etc/kubernetes/admin.conf directory. If you have deployed your Kubernetes cluster on a cloud platform and lost your kubeconfig file, you can re-generate it using your cloud provider's tools. Refer the cloud provider's documentation for re-generating a kubeconfig file.Check if the $KUBECONFIG environment variable is configured correctly. You can set $KUBECONFIGenvironment variable or use the --kubeconfig parameter with the kubectl to specify the directory of a kubeconfig file.Check VPN connectivityIf you are using a Virtual Private Network (VPN) to access your Kubernetes cluster, make sure that your VPN connection is active and stable. Sometimes, VPN disconnections can lead to connection issues with the cluster. Reconnect to the VPN and try accessing the cluster again.Authentication and authorizationIf you are using the token based authentication and the kubectl is returning an error regarding the authentication token or authentication server address, validate the Kubernetes authentication token and the authentication server address are configured properly.If kubectl is returning an error regarding t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/troubleshoot-kubectl/",
    "id": "k8s_00134_qa_2454"
  },
  {
    "question": "How does Troubleshooting kubectl work?",
    "answer": "Troubleshooting kubectlThis documentation is about investigating and diagnosing kubectl related issues. If you encounter issues accessing kubectl or connecting to your cluster, this document outlines various common scenarios and potential solutions to help identify and address the likely cause.Before you beginYou need to have a Kubernetes cluster.You also need to have kubectl installed - see install toolsVerify kubectl setupMake sure you have installed and configured kubectl correctly on your local machine. Check the kubectl version to ensure it is up-to-date and compatible with your cluster.Check kubectl version:kubectl version You'll see a similar output:Client Version: version.Info{Major:\"1\", Minor:\"27\", GitVersion:\"v1.27.4\",GitCommit:\"fa3d7990104d7c1f16943a67f11b154b71f6a132\", GitTreeState:\"clean\",BuildDate:\"2023-07-19T12:20:54Z\", GoVersion:\"go1.20.6\", Compiler:\"gc\", Platform:\"linux/amd64\"} Kustomize Version: v5.0.1 Server Version: version.Info{Major:\"1\", Minor:\"27\", GitVersion:\"v1.27.3\",GitCommit:\"25b4e43193bcda6c7328a6d147b1fb73a33f1598\", GitTreeState:\"clean\",BuildDate:\"2023-06-14T09:47:40Z\", GoVersion:\"go1.20.5\", Compiler:\"gc\", Platform:\"linux/amd64\"} If you see Unable to connect to the server: dial tcp <server-ip>:8443: i/o timeout, instead of Server Version, you need to troubleshoot kubectl connectivity with your cluster.Make sure you have installed the kubectl by following the official documentation for installing kubectl, and you have properly configured the $PATH environment variable.Check kubeconfigThe kubectl requires a kubeconfig file to connect to a Kubernetes cluster. The kubeconfig file is usually located under the ~/.kube/config directory. Make sure that you have a valid kubeconfig file. If you don't have a kubeconfig file, you can obtain it from your Kubernetes administrator, or you can copy it from your Kubernetes control plane's /etc/kubernetes/admin.conf directory. If you have deployed your Kubernetes cluster on a cloud platform and lost your kubeconfig file, you can re-generate it using your cloud provider's tools. Refer the cloud provider's documentation for re-generating a kubeconfig file.Check if the $KUBECONFIG environment variable is configured correctly. You can set $KUBECONFIGenvironment variable or use the --kubeconfig parameter with the kubectl to specify the directory of a kubeconfig file.Check VPN connectivityIf you are using a Virtual Private Network (VPN) to access your Kubernetes cluster, make sure that your VPN connection is active and stable. Sometimes, VPN disconnections can lead to connection issues with the cluster. Reconnect to the VPN and try accessing the cluster again.Authentication and authorizationIf you are using the token based authentication and the kubectl is returning an error regarding the authentication token or authentication server address, validate the Kubernetes authentication token and the authentication server address are configured properly.If kubectl is returning an error regarding t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/troubleshoot-kubectl/",
    "id": "k8s_00134_qa_2455"
  },
  {
    "question": "When would you use Troubleshooting kubectl?",
    "answer": "Troubleshooting kubectlThis documentation is about investigating and diagnosing kubectl related issues. If you encounter issues accessing kubectl or connecting to your cluster, this document outlines various common scenarios and potential solutions to help identify and address the likely cause.Before you beginYou need to have a Kubernetes cluster.You also need to have kubectl installed - see install toolsVerify kubectl setupMake sure you have installed and configured kubectl correctly on your local machine. Check the kubectl version to ensure it is up-to-date and compatible with your cluster.Check kubectl version:kubectl version You'll see a similar output:Client Version: version.Info{Major:\"1\", Minor:\"27\", GitVersion:\"v1.27.4\",GitCommit:\"fa3d7990104d7c1f16943a67f11b154b71f6a132\", GitTreeState:\"clean\",BuildDate:\"2023-07-19T12:20:54Z\", GoVersion:\"go1.20.6\", Compiler:\"gc\", Platform:\"linux/amd64\"} Kustomize Version: v5.0.1 Server Version: version.Info{Major:\"1\", Minor:\"27\", GitVersion:\"v1.27.3\",GitCommit:\"25b4e43193bcda6c7328a6d147b1fb73a33f1598\", GitTreeState:\"clean\",BuildDate:\"2023-06-14T09:47:40Z\", GoVersion:\"go1.20.5\", Compiler:\"gc\", Platform:\"linux/amd64\"} If you see Unable to connect to the server: dial tcp <server-ip>:8443: i/o timeout, instead of Server Version, you need to troubleshoot kubectl connectivity with your cluster.Make sure you have installed the kubectl by following the official documentation for installing kubectl, and you have properly configured the $PATH environment variable.Check kubeconfigThe kubectl requires a kubeconfig file to connect to a Kubernetes cluster. The kubeconfig file is usually located under the ~/.kube/config directory. Make sure that you have a valid kubeconfig file. If you don't have a kubeconfig file, you can obtain it from your Kubernetes administrator, or you can copy it from your Kubernetes control plane's /etc/kubernetes/admin.conf directory. If you have deployed your Kubernetes cluster on a cloud platform and lost your kubeconfig file, you can re-generate it using your cloud provider's tools. Refer the cloud provider's documentation for re-generating a kubeconfig file.Check if the $KUBECONFIG environment variable is configured correctly. You can set $KUBECONFIGenvironment variable or use the --kubeconfig parameter with the kubectl to specify the directory of a kubeconfig file.Check VPN connectivityIf you are using a Virtual Private Network (VPN) to access your Kubernetes cluster, make sure that your VPN connection is active and stable. Sometimes, VPN disconnections can lead to connection issues with the cluster. Reconnect to the VPN and try accessing the cluster again.Authentication and authorizationIf you are using the token based authentication and the kubectl is returning an error regarding the authentication token or authentication server address, validate the Kubernetes authentication token and the authentication server address are configured properly.If kubectl is returning an error regarding t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/troubleshoot-kubectl/",
    "id": "k8s_00134_qa_2456"
  },
  {
    "question": "What are the benefits of Troubleshooting kubectl?",
    "answer": "Troubleshooting kubectlThis documentation is about investigating and diagnosing kubectl related issues. If you encounter issues accessing kubectl or connecting to your cluster, this document outlines various common scenarios and potential solutions to help identify and address the likely cause.Before you beginYou need to have a Kubernetes cluster.You also need to have kubectl installed - see install toolsVerify kubectl setupMake sure you have installed and configured kubectl correctly on your local machine. Check the kubectl version to ensure it is up-to-date and compatible with your cluster.Check kubectl version:kubectl version You'll see a similar output:Client Version: version.Info{Major:\"1\", Minor:\"27\", GitVersion:\"v1.27.4\",GitCommit:\"fa3d7990104d7c1f16943a67f11b154b71f6a132\", GitTreeState:\"clean\",BuildDate:\"2023-07-19T12:20:54Z\", GoVersion:\"go1.20.6\", Compiler:\"gc\", Platform:\"linux/amd64\"} Kustomize Version: v5.0.1 Server Version: version.Info{Major:\"1\", Minor:\"27\", GitVersion:\"v1.27.3\",GitCommit:\"25b4e43193bcda6c7328a6d147b1fb73a33f1598\", GitTreeState:\"clean\",BuildDate:\"2023-06-14T09:47:40Z\", GoVersion:\"go1.20.5\", Compiler:\"gc\", Platform:\"linux/amd64\"} If you see Unable to connect to the server: dial tcp <server-ip>:8443: i/o timeout, instead of Server Version, you need to troubleshoot kubectl connectivity with your cluster.Make sure you have installed the kubectl by following the official documentation for installing kubectl, and you have properly configured the $PATH environment variable.Check kubeconfigThe kubectl requires a kubeconfig file to connect to a Kubernetes cluster. The kubeconfig file is usually located under the ~/.kube/config directory. Make sure that you have a valid kubeconfig file. If you don't have a kubeconfig file, you can obtain it from your Kubernetes administrator, or you can copy it from your Kubernetes control plane's /etc/kubernetes/admin.conf directory. If you have deployed your Kubernetes cluster on a cloud platform and lost your kubeconfig file, you can re-generate it using your cloud provider's tools. Refer the cloud provider's documentation for re-generating a kubeconfig file.Check if the $KUBECONFIG environment variable is configured correctly. You can set $KUBECONFIGenvironment variable or use the --kubeconfig parameter with the kubectl to specify the directory of a kubeconfig file.Check VPN connectivityIf you are using a Virtual Private Network (VPN) to access your Kubernetes cluster, make sure that your VPN connection is active and stable. Sometimes, VPN disconnections can lead to connection issues with the cluster. Reconnect to the VPN and try accessing the cluster again.Authentication and authorizationIf you are using the token based authentication and the kubectl is returning an error regarding the authentication token or authentication server address, validate the Kubernetes authentication token and the authentication server address are configured properly.If kubectl is returning an error regarding t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/troubleshoot-kubectl/",
    "id": "k8s_00134_qa_2457"
  },
  {
    "question": "What is Troubleshooting kubectl?",
    "answer": "T h i s   d o c u m e n t a t i o n   i s   a b o u t   i n v e s t i g a t i n g   a n d   d i a g n o s i n g   k u b e c t l   r e l a t e d   i s s u e s .   I f   y o u   e n c o u n t e r   i s s u e s   a c c e s s i n g   k u b e c t l   o r   c o n n e c t i n g   t o   y o u r   c l u s t e r ,   t h i s   d o c u m e n t   o u t l i n e s   v a r i o u s   c o m m o n   s c e n a r i o s   a n d   p o t e n t i a l   s o l u t i o n s   t o   h e l p   i d e n t i f y   a n d   a d d r e s s   t h e   l i k e l y   c a u s e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/troubleshoot-kubectl/",
    "id": "k8s_00134_section_1_2458"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r . Y o u   a l s o   n e e d   t o   h a v e   k u b e c t l   i n s t a l l e d   -   s e e   i n s t a l l   t o o l s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/troubleshoot-kubectl/",
    "id": "k8s_00134_section_2_2459"
  },
  {
    "question": "What is Verify kubectl setup?",
    "answer": "M a k e   s u r e   y o u   h a v e   i n s t a l l e d   a n d   c o n f i g u r e d   k u b e c t l   c o r r e c t l y   o n   y o u r   l o c a l   m a c h i n e .   C h e c k   t h e   k u b e c t l   v e r s i o n   t o   e n s u r e   i t   i s   u p - t o - d a t e   a n d   c o m p a t i b l e   w i t h   y o u r   c l u s t e r .   C h e c k   k u b e c t l   v e r s i o n :   k u b e c t l   v e r s i o n   Y o u ' l l   s e e   a   s i m i l a r   o u t p u t :   C l i e n t   V e r s i o n :   v e r s i o n . I n f o { M a j o r : \" 1 \" ,   M i n o r : \" 2 7 \" ,   G i t V e r s i o n : \" v 1 . 2 7 . 4 \" , G i t C o m m i t : \" f a 3 d 7 9 9 0 1 0 4 d 7 c 1 f 1 6 9 4 3 a 6 7 f 1 1 b 1 5 4 b 7 1 f 6 a 1 3 2 \" ,   G i t T r e e S t a t e : \" c l e a n \" , B u i l d D a t e : \" 2 0 2 3 - 0 7 - 1 9 T 1 2 : 2 0 : 5 4 Z \" ,   G o V e r s i o n : \" g o 1 . 2 0 . 6 \" ,   C o m p i l e r : \" g c \" ,   P l a t f o r m : \" l i n u x / a m d 6 4 \" }   K u s t o m i z e   V e r s i o n :   v 5 . 0 . 1   S e r v e r   V e r s i o n :   v e r s i o n . I n f o { M a j o r : \" 1 \" ,   M i n o r : \" 2 7 \" ,   G i t V e r s i o n : \" v 1 . 2 7 . 3 \" , G i t C o m m i t : \" 2 5 b 4 e 4 3 1 9 3 b c d a 6 c 7 3 2 8 a 6 d 1 4 7 b 1 f b 7 3 a 3 3 f 1 5 9 8 \" ,   G i t T r e e S t a t e : \" c l e a n \" , B u i l d D a t e : \" 2 0 2 3 - 0 6 - 1 4 T 0 9 : 4 7 : 4 0 Z \" ,   G o V e r s i o n : \" g o 1 . 2 0 . 5 \" ,   C o m p i l e r : \" g c \" ,   P l a t f o r m : \" l i n u x / a m d 6 4 \" }   I f   y o u   s e e   U n a b l e   t o   c o n n e c t   t o   t h e   s e r v e r :   d i a l   t c p   < s e r v e r - i p > : 8 4 4 3 :   i / o   t i m e o u t ,   i n s t e a d   o f   S e r v e r   V e r s i o n ,   y o u   n e e d   t o   t r o u b l e s h o o t   k u b e c t l   c o n n e c t i v i t y   w i t h   y o u r   c l u s t e r .   M a k e   s u r e   y o u   h a v e   i n s t a l l e d   t h e   k u b e c t l   b y   f o l l o w i n g   t h e   o f f i c i a l   d o c u m ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/troubleshoot-kubectl/",
    "id": "k8s_00134_section_2_2460"
  },
  {
    "question": "What is Check kubeconfig?",
    "answer": "T h e   k u b e c t l   r e q u i r e s   a   k u b e c o n f i g   f i l e   t o   c o n n e c t   t o   a   K u b e r n e t e s   c l u s t e r .   T h e   k u b e c o n f i g   f i l e   i s   u s u a l l y   l o c a t e d   u n d e r   t h e   ~ / . k u b e / c o n f i g   d i r e c t o r y .   M a k e   s u r e   t h a t   y o u   h a v e   a   v a l i d   k u b e c o n f i g   f i l e .   I f   y o u   d o n ' t   h a v e   a   k u b e c o n f i g   f i l e ,   y o u   c a n   o b t a i n   i t   f r o m   y o u r   K u b e r n e t e s   a d m i n i s t r a t o r ,   o r   y o u   c a n   c o p y   i t   f r o m   y o u r   K u b e r n e t e s   c o n t r o l   p l a n e ' s   / e t c / k u b e r n e t e s / a d m i n . c o n f   d i r e c t o r y .   I f   y o u   h a v e   d e p l o y e d   y o u r   K u b e r n e t e s   c l u s t e r   o n   a   c l o u d   p l a t f o r m   a n d   l o s t   y o u r   k u b e c o n f i g   f i l e ,   y o u   c a n   r e - g e n e r a t e   i t   u s i n g   y o u r   c l o u d   p r o v i d e r ' s   t o o l s .   R e f e r   t h e   c l o u d   p r o v i d e r ' s   d o c u m e n t a t i o n   f o r   r e - g e n e r a t i n g   a   k u b e c o n f i g   f i l e .   C h e c k   i f   t h e   $ K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   i s   c o n f i g u r e d   c o r r e c t l y .   Y o u   c a n   s e t   $ K U B E C O N F I G e n v i r o n m e n t   v a r i a b l e   o r   u s e   t h e   - - k u b e c o n f i g   p a r a m e t e r   w i t h   t h e   k u b e c t l   t o   s p e c i f y   t h e   d i r e c t o r y   o f   a   k u b e c o n f i g   f i l e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/troubleshoot-kubectl/",
    "id": "k8s_00134_section_2_2461"
  },
  {
    "question": "What is Check VPN connectivity?",
    "answer": "I f   y o u   a r e   u s i n g   a   V i r t u a l   P r i v a t e   N e t w o r k   ( V P N )   t o   a c c e s s   y o u r   K u b e r n e t e s   c l u s t e r ,   m a k e   s u r e   t h a t   y o u r   V P N   c o n n e c t i o n   i s   a c t i v e   a n d   s t a b l e .   S o m e t i m e s ,   V P N   d i s c o n n e c t i o n s   c a n   l e a d   t o   c o n n e c t i o n   i s s u e s   w i t h   t h e   c l u s t e r .   R e c o n n e c t   t o   t h e   V P N   a n d   t r y   a c c e s s i n g   t h e   c l u s t e r   a g a i n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/troubleshoot-kubectl/",
    "id": "k8s_00134_section_2_2462"
  },
  {
    "question": "What is Authentication and authorization?",
    "answer": "I f   y o u   a r e   u s i n g   t h e   t o k e n   b a s e d   a u t h e n t i c a t i o n   a n d   t h e   k u b e c t l   i s   r e t u r n i n g   a n   e r r o r   r e g a r d i n g   t h e   a u t h e n t i c a t i o n   t o k e n   o r   a u t h e n t i c a t i o n   s e r v e r   a d d r e s s ,   v a l i d a t e   t h e   K u b e r n e t e s   a u t h e n t i c a t i o n   t o k e n   a n d   t h e   a u t h e n t i c a t i o n   s e r v e r   a d d r e s s   a r e   c o n f i g u r e d   p r o p e r l y .   I f   k u b e c t l   i s   r e t u r n i n g   a n   e r r o r   r e g a r d i n g   t h e   a u t h o r i z a t i o n ,   m a k e   s u r e   t h a t   y o u   a r e   u s i n g   t h e   v a l i d   u s e r   c r e d e n t i a l s .   A n d   y o u   h a v e   t h e   p e r m i s s i o n   t o   a c c e s s   t h e   r e s o u r c e   t h a t   y o u   h a v e   r e q u e s t e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/troubleshoot-kubectl/",
    "id": "k8s_00134_section_2_2463"
  },
  {
    "question": "What is Verify contexts?",
    "answer": "K u b e r n e t e s   s u p p o r t s   m u l t i p l e   c l u s t e r s   a n d   c o n t e x t s .   E n s u r e   t h a t   y o u   a r e   u s i n g   t h e   c o r r e c t   c o n t e x t   t o   i n t e r a c t   w i t h   y o u r   c l u s t e r .   L i s t   a v a i l a b l e   c o n t e x t s :   k u b e c t l   c o n f i g   g e t - c o n t e x t s   S w i t c h   t o   t h e   a p p r o p r i a t e   c o n t e x t :   k u b e c t l   c o n f i g   u s e - c o n t e x t   < c o n t e x t - n a m e >",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/troubleshoot-kubectl/",
    "id": "k8s_00134_section_2_2464"
  },
  {
    "question": "What is API server and load balancer?",
    "answer": "T h e   k u b e - a p i s e r v e r   s e r v e r   i s   t h e   c e n t r a l   c o m p o n e n t   o f   a   K u b e r n e t e s   c l u s t e r .   I f   t h e   A P I   s e r v e r   o r   t h e   l o a d   b a l a n c e r   t h a t   r u n s   i n   f r o n t   o f   y o u r   A P I   s e r v e r s   i s   n o t   r e a c h a b l e   o r   n o t   r e s p o n d i n g ,   y o u   w o n ' t   b e   a b l e   t o   i n t e r a c t   w i t h   t h e   c l u s t e r .   C h e c k   t h e   i f   t h e   A P I   s e r v e r ' s   h o s t   i s   r e a c h a b l e   b y   u s i n g   p i n g   c o m m a n d .   C h e c k   c l u s t e r ' s   n e t w o r k   c o n n e c t i v i t y   a n d   f i r e w a l l .   I f   y o u r   a r e   u s i n g   a   c l o u d   p r o v i d e r   f o r   d e p l o y i n g   t h e   c l u s t e r ,   c h e c k   y o u r   c l o u d   p r o v i d e r ' s   h e a l t h   c h e c k   s t a t u s   f o r   t h e   c l u s t e r ' s   A P I   s e r v e r .   V e r i f y   t h e   s t a t u s   o f   t h e   l o a d   b a l a n c e r   ( i f   u s e d )   t o   e n s u r e   i t   i s   h e a l t h y   a n d   f o r w a r d i n g   t r a f f i c   t o   t h e   A P I   s e r v e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/troubleshoot-kubectl/",
    "id": "k8s_00134_section_2_2465"
  },
  {
    "question": "What is TLS problems?",
    "answer": "A d d i t i o n a l   t o o l s   r e q u i r e d   -   b a s e 6 4   a n d   o p e n s s l   v e r s i o n   3 . 0   o r   a b o v e .   T h e   K u b e r n e t e s   A P I   s e r v e r   o n l y   s e r v e s   H T T P S   r e q u e s t s   b y   d e f a u l t .   I n   t h a t   c a s e   T L S   p r o b l e m s   m a y   o c c u r   d u e   t o   v a r i o u s   r e a s o n s ,   s u c h   a s   c e r t i f i c a t e   e x p i r y   o r   c h a i n   o f   t r u s t   v a l i d i t y .   Y o u   c a n   f i n d   t h e   T L S   c e r t i f i c a t e   i n   t h e   k u b e c o n f i g   f i l e ,   l o c a t e d   i n   t h e   ~ / . k u b e / c o n f i g   d i r e c t o r y .   T h e   c e r t i f i c a t e - a u t h o r i t y   a t t r i b u t e   c o n t a i n s   t h e   C A   c e r t i f i c a t e   a n d   t h e   c l i e n t - c e r t i f i c a t e   a t t r i b u t e   c o n t a i n s   t h e   c l i e n t   c e r t i f i c a t e .   V e r i f y   t h e   e x p i r y   o f   t h e s e   c e r t i f i c a t e s :   k u b e c t l   c o n f i g   v i e w   - - f l a t t e n   - - o u t p u t   ' j s o n p a t h = { . c l u s t e r s [ 0 ] . c l u s t e r . c e r t i f i c a t e - a u t h o r i t y - d a t a } '   |   b a s e 6 4   - d   |   o p e n s s l   x 5 0 9   - n o o u t   - d a t e s   o u t p u t :   n o t B e f o r e = F e b   1 3   0 5 : 5 7 : 4 7   2 0 2 4   G M T   n o t A f t e r = F e b   1 0   0 6 : 0 2 : 4 7   2 0 3 4   G M T   k u b e c t l   c o n f i g   v i e w   - - f l a t t e n   - - o u t p u t   ' j s o n p a t h = { . u s e r s [ 0 ] . u s e r . c l i e n t - c e r t i f i c a t e - d a t a } ' |   b a s e 6 4   - d   |   o p e n s s l   x 5 0 9   - n o o u t   - d a t e s   o u t p u t :   n o t B e f o r e = F e b   1 3   0 5 : 5 7 : 4 7   2 0 2 4   G M T   n o t A f t e r = F e b   1 2   0 6 : 0 2 : 5 0   2 0 2 5   G M T",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/troubleshoot-kubectl/",
    "id": "k8s_00134_section_2_2466"
  },
  {
    "question": "What is Verify kubectl helpers?",
    "answer": "S o m e   k u b e c t l   a u t h e n t i c a t i o n   h e l p e r s   p r o v i d e   e a s y   a c c e s s   t o   K u b e r n e t e s   c l u s t e r s .   I f   y o u   h a v e   u s e d   s u c h   h e l p e r s   a n d   a r e   f a c i n g   c o n n e c t i v i t y   i s s u e s ,   e n s u r e   t h a t   t h e   n e c e s s a r y   c o n f i g u r a t i o n s   a r e   s t i l l   p r e s e n t .   C h e c k   k u b e c t l   c o n f i g u r a t i o n   f o r   a u t h e n t i c a t i o n   d e t a i l s :   k u b e c t l   c o n f i g   v i e w   I f   y o u   p r e v i o u s l y   u s e d   a   h e l p e r   t o o l   ( f o r   e x a m p l e ,   k u b e c t l - o i d c - l o g i n ) ,   e n s u r e   t h a t   i t   i s   s t i l l   i n s t a l l e d   a n d   c o n f i g u r e d   c o r r e c t l y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/troubleshoot-kubectl/",
    "id": "k8s_00134_section_2_2467"
  },
  {
    "question": "What is Tutorials?",
    "answer": "This section of the Kubernetes documentation contains tutorials. A tutorial shows how to accomplish a goal that is larger than a single task. Typically a tutorial has several sections, each of which has a sequence of steps. Before walking through each tutorial, you may want to bookmark the Standardized Glossary page for later references.BasicsKubernetes Basics is an in-depth interactive tutorial that helps you understand the Kubernetes system and try out some basic Kubernetes features.Introduction to Kubernetes (edX)Hello MinikubeConfigurationConfiguring Redis Using a ConfigMapAuthoring PodsAdopting Sidecar ContainersStateless ApplicationsExposing an External IP Address to Access an Application in a ClusterExample: Deploying PHP Guestbook application with RedisStateful ApplicationsStatefulSet BasicsExample: WordPress and MySQL with Persistent VolumesExample: Deploying Cassandra with Stateful SetsRunning ZooKeeper, A CP Distributed SystemServicesConnecting Applications with ServicesUsing Source IPSecurityApply Pod Security Standards at Cluster levelApply Pod Security Standards at Namespace levelRestrict a Container's Access to Resources with AppArmorSeccompCluster ManagementConfiguring Swap Memory on Kubernetes NodesRunning Kubelet in Standalone ModeInstall Drivers and Allocate Devices with DRAWhat's nextIf you would like to write a tutorial, see Content Page Types for information about the tutorial page type.",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/",
    "id": "k8s_00135_qa_2468"
  },
  {
    "question": "How does Tutorials work?",
    "answer": "This section of the Kubernetes documentation contains tutorials. A tutorial shows how to accomplish a goal that is larger than a single task. Typically a tutorial has several sections, each of which has a sequence of steps. Before walking through each tutorial, you may want to bookmark the Standardized Glossary page for later references.BasicsKubernetes Basics is an in-depth interactive tutorial that helps you understand the Kubernetes system and try out some basic Kubernetes features.Introduction to Kubernetes (edX)Hello MinikubeConfigurationConfiguring Redis Using a ConfigMapAuthoring PodsAdopting Sidecar ContainersStateless ApplicationsExposing an External IP Address to Access an Application in a ClusterExample: Deploying PHP Guestbook application with RedisStateful ApplicationsStatefulSet BasicsExample: WordPress and MySQL with Persistent VolumesExample: Deploying Cassandra with Stateful SetsRunning ZooKeeper, A CP Distributed SystemServicesConnecting Applications with ServicesUsing Source IPSecurityApply Pod Security Standards at Cluster levelApply Pod Security Standards at Namespace levelRestrict a Container's Access to Resources with AppArmorSeccompCluster ManagementConfiguring Swap Memory on Kubernetes NodesRunning Kubelet in Standalone ModeInstall Drivers and Allocate Devices with DRAWhat's nextIf you would like to write a tutorial, see Content Page Types for information about the tutorial page type.",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/",
    "id": "k8s_00135_qa_2469"
  },
  {
    "question": "When would you use Tutorials?",
    "answer": "This section of the Kubernetes documentation contains tutorials. A tutorial shows how to accomplish a goal that is larger than a single task. Typically a tutorial has several sections, each of which has a sequence of steps. Before walking through each tutorial, you may want to bookmark the Standardized Glossary page for later references.BasicsKubernetes Basics is an in-depth interactive tutorial that helps you understand the Kubernetes system and try out some basic Kubernetes features.Introduction to Kubernetes (edX)Hello MinikubeConfigurationConfiguring Redis Using a ConfigMapAuthoring PodsAdopting Sidecar ContainersStateless ApplicationsExposing an External IP Address to Access an Application in a ClusterExample: Deploying PHP Guestbook application with RedisStateful ApplicationsStatefulSet BasicsExample: WordPress and MySQL with Persistent VolumesExample: Deploying Cassandra with Stateful SetsRunning ZooKeeper, A CP Distributed SystemServicesConnecting Applications with ServicesUsing Source IPSecurityApply Pod Security Standards at Cluster levelApply Pod Security Standards at Namespace levelRestrict a Container's Access to Resources with AppArmorSeccompCluster ManagementConfiguring Swap Memory on Kubernetes NodesRunning Kubelet in Standalone ModeInstall Drivers and Allocate Devices with DRAWhat's nextIf you would like to write a tutorial, see Content Page Types for information about the tutorial page type.",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/",
    "id": "k8s_00135_qa_2470"
  },
  {
    "question": "What are the benefits of Tutorials?",
    "answer": "This section of the Kubernetes documentation contains tutorials. A tutorial shows how to accomplish a goal that is larger than a single task. Typically a tutorial has several sections, each of which has a sequence of steps. Before walking through each tutorial, you may want to bookmark the Standardized Glossary page for later references.BasicsKubernetes Basics is an in-depth interactive tutorial that helps you understand the Kubernetes system and try out some basic Kubernetes features.Introduction to Kubernetes (edX)Hello MinikubeConfigurationConfiguring Redis Using a ConfigMapAuthoring PodsAdopting Sidecar ContainersStateless ApplicationsExposing an External IP Address to Access an Application in a ClusterExample: Deploying PHP Guestbook application with RedisStateful ApplicationsStatefulSet BasicsExample: WordPress and MySQL with Persistent VolumesExample: Deploying Cassandra with Stateful SetsRunning ZooKeeper, A CP Distributed SystemServicesConnecting Applications with ServicesUsing Source IPSecurityApply Pod Security Standards at Cluster levelApply Pod Security Standards at Namespace levelRestrict a Container's Access to Resources with AppArmorSeccompCluster ManagementConfiguring Swap Memory on Kubernetes NodesRunning Kubelet in Standalone ModeInstall Drivers and Allocate Devices with DRAWhat's nextIf you would like to write a tutorial, see Content Page Types for information about the tutorial page type.",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/",
    "id": "k8s_00135_qa_2471"
  },
  {
    "question": "What is Tutorials?",
    "answer": "K u b e r n e t e s   D o c u m e n t a t i o n   D o c u m e n t a t i o n   A v a i l a b l e   D o c u m e n t a t i o n   V e r s i o n s   G e t t i n g   s t a r t e d   L e a r n i n g   e n v i r o n m e n t   P r o d u c t i o n   e n v i r o n m e n t   C o n t a i n e r   R u n t i m e s   I n s t a l l i n g   K u b e r n e t e s   w i t h   d e p l o y m e n t   t o o l s   B o o t s t r a p p i n g   c l u s t e r s   w i t h   k u b e a d m   I n s t a l l i n g   k u b e a d m   T r o u b l e s h o o t i n g   k u b e a d m   C r e a t i n g   a   c l u s t e r   w i t h   k u b e a d m   C u s t o m i z i n g   c o m p o n e n t s   w i t h   t h e   k u b e a d m   A P I   O p t i o n s   f o r   H i g h l y   A v a i l a b l e   T o p o l o g y   C r e a t i n g   H i g h l y   A v a i l a b l e   C l u s t e r s   w i t h   k u b e a d m   S e t   u p   a   H i g h   A v a i l a b i l i t y   e t c d   C l u s t e r   w i t h   k u b e a d m   C o n f i g u r i n g   e a c h   k u b e l e t   i n   y o u r   c l u s t e r   u s i n g   k u b e a d m   D u a l - s t a c k   s u p p o r t   w i t h   k u b e a d m   T u r n k e y   C l o u d   S o l u t i o n s   B e s t   p r a c t i c e s   C o n s i d e r a t i o n s   f o r   l a r g e   c l u s t e r s   R u n n i n g   i n   m u l t i p l e   z o n e s   V a l i d a t e   n o d e   s e t u p   E n f o r c i n g   P o d   S e c u r i t y   S t a n d a r d s   P K I   c e r t i f i c a t e s   a n d   r e q u i r e m e n t s   C o n c e p t s   O v e r v i e w   K u b e r n e t e s   C o m p o n e n t s   O b j e c t s   I n   K u b e r n e t e s   K u b e r n e t e s   O b j e c t   M a n a g e m e n t   O b j e c t   N a m e s   a n d   I D s   L a b e l s   a n d   S e l e c t o r s   N a m e s p a c e s   A n n o t a t i o n s   F i e l d   S e l e c t o r s   F i n a l i z e r s   O w n e r s   a n d   D e p e n d e n t s   R e c o m m e n d e d   L a b e l s   T h e   K u b e r n e t e s ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/",
    "id": "k8s_00135_section_1_2472"
  },
  {
    "question": "What is Basics?",
    "answer": "K u b e r n e t e s   B a s i c s   i s   a n   i n - d e p t h   i n t e r a c t i v e   t u t o r i a l   t h a t   h e l p s   y o u   u n d e r s t a n d   t h e   K u b e r n e t e s   s y s t e m   a n d   t r y   o u t   s o m e   b a s i c   K u b e r n e t e s   f e a t u r e s . I n t r o d u c t i o n   t o   K u b e r n e t e s   ( e d X ) H e l l o   M i n i k u b e",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/",
    "id": "k8s_00135_section_2_2473"
  },
  {
    "question": "What is Configuration?",
    "answer": "C o n f i g u r i n g   R e d i s   U s i n g   a   C o n f i g M a p",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/",
    "id": "k8s_00135_section_2_2474"
  },
  {
    "question": "What is Authoring Pods?",
    "answer": "A d o p t i n g   S i d e c a r   C o n t a i n e r s",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/",
    "id": "k8s_00135_section_2_2475"
  },
  {
    "question": "What is Stateless Applications?",
    "answer": "E x p o s i n g   a n   E x t e r n a l   I P   A d d r e s s   t o   A c c e s s   a n   A p p l i c a t i o n   i n   a   C l u s t e r E x a m p l e :   D e p l o y i n g   P H P   G u e s t b o o k   a p p l i c a t i o n   w i t h   R e d i s",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/",
    "id": "k8s_00135_section_2_2476"
  },
  {
    "question": "What is Stateful Applications?",
    "answer": "S t a t e f u l S e t   B a s i c s E x a m p l e :   W o r d P r e s s   a n d   M y S Q L   w i t h   P e r s i s t e n t   V o l u m e s E x a m p l e :   D e p l o y i n g   C a s s a n d r a   w i t h   S t a t e f u l   S e t s R u n n i n g   Z o o K e e p e r ,   A   C P   D i s t r i b u t e d   S y s t e m",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/",
    "id": "k8s_00135_section_2_2477"
  },
  {
    "question": "What is Services?",
    "answer": "C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s U s i n g   S o u r c e   I P",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/",
    "id": "k8s_00135_section_2_2478"
  },
  {
    "question": "What is Security?",
    "answer": "A p p l y   P o d   S e c u r i t y   S t a n d a r d s   a t   C l u s t e r   l e v e l A p p l y   P o d   S e c u r i t y   S t a n d a r d s   a t   N a m e s p a c e   l e v e l R e s t r i c t   a   C o n t a i n e r ' s   A c c e s s   t o   R e s o u r c e s   w i t h   A p p A r m o r S e c c o m p",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/",
    "id": "k8s_00135_section_2_2479"
  },
  {
    "question": "What is Cluster Management?",
    "answer": "C o n f i g u r i n g   S w a p   M e m o r y   o n   K u b e r n e t e s   N o d e s R u n n i n g   K u b e l e t   i n   S t a n d a l o n e   M o d e I n s t a l l   D r i v e r s   a n d   A l l o c a t e   D e v i c e s   w i t h   D R A",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/",
    "id": "k8s_00135_section_2_2480"
  },
  {
    "question": "What is What's next?",
    "answer": "I f   y o u   w o u l d   l i k e   t o   w r i t e   a   t u t o r i a l ,   s e e   C o n t e n t   P a g e   T y p e s   f o r   i n f o r m a t i o n   a b o u t   t h e   t u t o r i a l   p a g e   t y p e .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/",
    "id": "k8s_00135_section_2_2481"
  },
  {
    "question": "What is Creating Highly Available Clusters with kubeadm?",
    "answer": "Creating Highly Available Clusters with kubeadmThis page explains two different approaches to setting up a highly available Kubernetes cluster using kubeadm:With stacked control plane nodes. This approach requires less infrastructure. The etcd members and control plane nodes are co-located.With an external etcd cluster. This approach requires more infrastructure. The control plane nodes and etcd members are separated.Before proceeding, you should carefully consider which approach best meets the needs of your applications and environment. Options for Highly Available topology outlines the advantages and disadvantages of each.If you encounter issues with setting up the HA cluster, please report these in the kubeadm issue tracker.See also the upgrade documentation.Caution:This page does not address running your cluster on a cloud provider. In a cloud environment, neither approach documented here works with Service objects of type LoadBalancer, or with dynamic PersistentVolumes.Before you beginThe prerequisites depend on which topology you have selected for your cluster's control plane:You need:Three or more machines that meet kubeadm's minimum requirements for the control-plane nodes. Having an odd number of control plane nodes can help with leader selection in the case of machine or zone failure.including a container runtime, already set up and workingThree or more machines that meet kubeadm's minimum requirements for the workersincluding a container runtime, already set up and workingFull network connectivity between all machines in the cluster (public or private network)Superuser privileges on all machines using sudoYou can use a different tool; this guide uses sudo in the examples.SSH access from one device to all nodes in the systemkubeadm and kubelet already installed on all machines.See Stacked etcd topology for context.You need:Three or more machines that meet kubeadm's minimum requirements for the control-plane nodes. Having an odd number of control plane nodes can help with leader selection in the case of machine or zone failure.including a container runtime, already set up and workingThree or more machines that meet kubeadm's minimum requirements for the workersincluding a container runtime, already set up and workingFull network connectivity between all machines in the cluster (public or private network)Superuser privileges on all machines using sudoYou can use a different tool; this guide uses sudo in the examples.SSH access from one device to all nodes in the systemkubeadm and kubelet already installed on all machines.And you also need:Three or more additional machines, that will become etcd cluster members. Having an odd number of members in the etcd cluster is a requirement for achieving optimal voting quorum.These machines again need to have kubeadm and kubelet installed.These machines also require a container runtime, that is already set up and working.See External etcd topology for context.Container imagesEach host should have acc",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/",
    "id": "k8s_00136_qa_2482"
  },
  {
    "question": "How does Creating Highly Available Clusters with kubeadm work?",
    "answer": "Creating Highly Available Clusters with kubeadmThis page explains two different approaches to setting up a highly available Kubernetes cluster using kubeadm:With stacked control plane nodes. This approach requires less infrastructure. The etcd members and control plane nodes are co-located.With an external etcd cluster. This approach requires more infrastructure. The control plane nodes and etcd members are separated.Before proceeding, you should carefully consider which approach best meets the needs of your applications and environment. Options for Highly Available topology outlines the advantages and disadvantages of each.If you encounter issues with setting up the HA cluster, please report these in the kubeadm issue tracker.See also the upgrade documentation.Caution:This page does not address running your cluster on a cloud provider. In a cloud environment, neither approach documented here works with Service objects of type LoadBalancer, or with dynamic PersistentVolumes.Before you beginThe prerequisites depend on which topology you have selected for your cluster's control plane:You need:Three or more machines that meet kubeadm's minimum requirements for the control-plane nodes. Having an odd number of control plane nodes can help with leader selection in the case of machine or zone failure.including a container runtime, already set up and workingThree or more machines that meet kubeadm's minimum requirements for the workersincluding a container runtime, already set up and workingFull network connectivity between all machines in the cluster (public or private network)Superuser privileges on all machines using sudoYou can use a different tool; this guide uses sudo in the examples.SSH access from one device to all nodes in the systemkubeadm and kubelet already installed on all machines.See Stacked etcd topology for context.You need:Three or more machines that meet kubeadm's minimum requirements for the control-plane nodes. Having an odd number of control plane nodes can help with leader selection in the case of machine or zone failure.including a container runtime, already set up and workingThree or more machines that meet kubeadm's minimum requirements for the workersincluding a container runtime, already set up and workingFull network connectivity between all machines in the cluster (public or private network)Superuser privileges on all machines using sudoYou can use a different tool; this guide uses sudo in the examples.SSH access from one device to all nodes in the systemkubeadm and kubelet already installed on all machines.And you also need:Three or more additional machines, that will become etcd cluster members. Having an odd number of members in the etcd cluster is a requirement for achieving optimal voting quorum.These machines again need to have kubeadm and kubelet installed.These machines also require a container runtime, that is already set up and working.See External etcd topology for context.Container imagesEach host should have acc",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/",
    "id": "k8s_00136_qa_2483"
  },
  {
    "question": "When would you use Creating Highly Available Clusters with kubeadm?",
    "answer": "Creating Highly Available Clusters with kubeadmThis page explains two different approaches to setting up a highly available Kubernetes cluster using kubeadm:With stacked control plane nodes. This approach requires less infrastructure. The etcd members and control plane nodes are co-located.With an external etcd cluster. This approach requires more infrastructure. The control plane nodes and etcd members are separated.Before proceeding, you should carefully consider which approach best meets the needs of your applications and environment. Options for Highly Available topology outlines the advantages and disadvantages of each.If you encounter issues with setting up the HA cluster, please report these in the kubeadm issue tracker.See also the upgrade documentation.Caution:This page does not address running your cluster on a cloud provider. In a cloud environment, neither approach documented here works with Service objects of type LoadBalancer, or with dynamic PersistentVolumes.Before you beginThe prerequisites depend on which topology you have selected for your cluster's control plane:You need:Three or more machines that meet kubeadm's minimum requirements for the control-plane nodes. Having an odd number of control plane nodes can help with leader selection in the case of machine or zone failure.including a container runtime, already set up and workingThree or more machines that meet kubeadm's minimum requirements for the workersincluding a container runtime, already set up and workingFull network connectivity between all machines in the cluster (public or private network)Superuser privileges on all machines using sudoYou can use a different tool; this guide uses sudo in the examples.SSH access from one device to all nodes in the systemkubeadm and kubelet already installed on all machines.See Stacked etcd topology for context.You need:Three or more machines that meet kubeadm's minimum requirements for the control-plane nodes. Having an odd number of control plane nodes can help with leader selection in the case of machine or zone failure.including a container runtime, already set up and workingThree or more machines that meet kubeadm's minimum requirements for the workersincluding a container runtime, already set up and workingFull network connectivity between all machines in the cluster (public or private network)Superuser privileges on all machines using sudoYou can use a different tool; this guide uses sudo in the examples.SSH access from one device to all nodes in the systemkubeadm and kubelet already installed on all machines.And you also need:Three or more additional machines, that will become etcd cluster members. Having an odd number of members in the etcd cluster is a requirement for achieving optimal voting quorum.These machines again need to have kubeadm and kubelet installed.These machines also require a container runtime, that is already set up and working.See External etcd topology for context.Container imagesEach host should have acc",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/",
    "id": "k8s_00136_qa_2484"
  },
  {
    "question": "What are the benefits of Creating Highly Available Clusters with kubeadm?",
    "answer": "Creating Highly Available Clusters with kubeadmThis page explains two different approaches to setting up a highly available Kubernetes cluster using kubeadm:With stacked control plane nodes. This approach requires less infrastructure. The etcd members and control plane nodes are co-located.With an external etcd cluster. This approach requires more infrastructure. The control plane nodes and etcd members are separated.Before proceeding, you should carefully consider which approach best meets the needs of your applications and environment. Options for Highly Available topology outlines the advantages and disadvantages of each.If you encounter issues with setting up the HA cluster, please report these in the kubeadm issue tracker.See also the upgrade documentation.Caution:This page does not address running your cluster on a cloud provider. In a cloud environment, neither approach documented here works with Service objects of type LoadBalancer, or with dynamic PersistentVolumes.Before you beginThe prerequisites depend on which topology you have selected for your cluster's control plane:You need:Three or more machines that meet kubeadm's minimum requirements for the control-plane nodes. Having an odd number of control plane nodes can help with leader selection in the case of machine or zone failure.including a container runtime, already set up and workingThree or more machines that meet kubeadm's minimum requirements for the workersincluding a container runtime, already set up and workingFull network connectivity between all machines in the cluster (public or private network)Superuser privileges on all machines using sudoYou can use a different tool; this guide uses sudo in the examples.SSH access from one device to all nodes in the systemkubeadm and kubelet already installed on all machines.See Stacked etcd topology for context.You need:Three or more machines that meet kubeadm's minimum requirements for the control-plane nodes. Having an odd number of control plane nodes can help with leader selection in the case of machine or zone failure.including a container runtime, already set up and workingThree or more machines that meet kubeadm's minimum requirements for the workersincluding a container runtime, already set up and workingFull network connectivity between all machines in the cluster (public or private network)Superuser privileges on all machines using sudoYou can use a different tool; this guide uses sudo in the examples.SSH access from one device to all nodes in the systemkubeadm and kubelet already installed on all machines.And you also need:Three or more additional machines, that will become etcd cluster members. Having an odd number of members in the etcd cluster is a requirement for achieving optimal voting quorum.These machines again need to have kubeadm and kubelet installed.These machines also require a container runtime, that is already set up and working.See External etcd topology for context.Container imagesEach host should have acc",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/",
    "id": "k8s_00136_qa_2485"
  },
  {
    "question": "What is Creating Highly Available Clusters with kubeadm?",
    "answer": "T h i s   p a g e   e x p l a i n s   t w o   d i f f e r e n t   a p p r o a c h e s   t o   s e t t i n g   u p   a   h i g h l y   a v a i l a b l e   K u b e r n e t e s   c l u s t e r   u s i n g   k u b e a d m :   W i t h   s t a c k e d   c o n t r o l   p l a n e   n o d e s .   T h i s   a p p r o a c h   r e q u i r e s   l e s s   i n f r a s t r u c t u r e .   T h e   e t c d   m e m b e r s   a n d   c o n t r o l   p l a n e   n o d e s   a r e   c o - l o c a t e d . W i t h   a n   e x t e r n a l   e t c d   c l u s t e r .   T h i s   a p p r o a c h   r e q u i r e s   m o r e   i n f r a s t r u c t u r e .   T h e   c o n t r o l   p l a n e   n o d e s   a n d   e t c d   m e m b e r s   a r e   s e p a r a t e d .   B e f o r e   p r o c e e d i n g ,   y o u   s h o u l d   c a r e f u l l y   c o n s i d e r   w h i c h   a p p r o a c h   b e s t   m e e t s   t h e   n e e d s   o f   y o u r   a p p l i c a t i o n s   a n d   e n v i r o n m e n t .   O p t i o n s   f o r   H i g h l y   A v a i l a b l e   t o p o l o g y   o u t l i n e s   t h e   a d v a n t a g e s   a n d   d i s a d v a n t a g e s   o f   e a c h .   I f   y o u   e n c o u n t e r   i s s u e s   w i t h   s e t t i n g   u p   t h e   H A   c l u s t e r ,   p l e a s e   r e p o r t   t h e s e   i n   t h e   k u b e a d m   i s s u e   t r a c k e r .   S e e   a l s o   t h e   u p g r a d e   d o c u m e n t a t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/",
    "id": "k8s_00136_section_1_2486"
  },
  {
    "question": "What is Before you begin?",
    "answer": "T h e   p r e r e q u i s i t e s   d e p e n d   o n   w h i c h   t o p o l o g y   y o u   h a v e   s e l e c t e d   f o r   y o u r   c l u s t e r ' s   c o n t r o l   p l a n e :   Y o u   n e e d : T h r e e   o r   m o r e   m a c h i n e s   t h a t   m e e t   k u b e a d m ' s   m i n i m u m   r e q u i r e m e n t s   f o r   t h e   c o n t r o l - p l a n e   n o d e s .   H a v i n g   a n   o d d   n u m b e r   o f   c o n t r o l   p l a n e   n o d e s   c a n   h e l p   w i t h   l e a d e r   s e l e c t i o n   i n   t h e   c a s e   o f   m a c h i n e   o r   z o n e   f a i l u r e . i n c l u d i n g   a   c o n t a i n e r   r u n t i m e ,   a l r e a d y   s e t   u p   a n d   w o r k i n g T h r e e   o r   m o r e   m a c h i n e s   t h a t   m e e t   k u b e a d m ' s   m i n i m u m   r e q u i r e m e n t s   f o r   t h e   w o r k e r s i n c l u d i n g   a   c o n t a i n e r   r u n t i m e ,   a l r e a d y   s e t   u p   a n d   w o r k i n g F u l l   n e t w o r k   c o n n e c t i v i t y   b e t w e e n   a l l   m a c h i n e s   i n   t h e   c l u s t e r   ( p u b l i c   o r   p r i v a t e   n e t w o r k ) S u p e r u s e r   p r i v i l e g e s   o n   a l l   m a c h i n e s   u s i n g   s u d o Y o u   c a n   u s e   a   d i f f e r e n t   t o o l ;   t h i s   g u i d e   u s e s   s u d o   i n   t h e   e x a m p l e s . S S H   a c c e s s   f r o m   o n e   d e v i c e   t o   a l l   n o d e s   i n   t h e   s y s t e m k u b e a d m   a n d   k u b e l e t   a l r e a d y   i n s t a l l e d   o n   a l l   m a c h i n e s . S e e   S t a c k e d   e t c d   t o p o l o g y   f o r   c o n t e x t .   Y o u   n e e d :   T h r e e   o r   m o r e   m a c h i n e s   t h a t   m e e t   k u b e a d m ' s   m i n i m u m   r e q u i r e m e n t s   f o r   t h e   c o n t r o l - p l a n e   n o d e s .   H a v i n g   a n   o d d   n u m b e r   o f   c o n t r o l   p l a n e   n o d e s   ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/",
    "id": "k8s_00136_section_2_2487"
  },
  {
    "question": "What is Container images?",
    "answer": "E a c h   h o s t   s h o u l d   h a v e   a c c e s s   r e a d   a n d   f e t c h   i m a g e s   f r o m   t h e   K u b e r n e t e s   c o n t a i n e r   i m a g e   r e g i s t r y ,   r e g i s t r y . k 8 s . i o .   I f   y o u   w a n t   t o   d e p l o y   a   h i g h l y - a v a i l a b l e   c l u s t e r   w h e r e   t h e   h o s t s   d o   n o t   h a v e   a c c e s s   t o   p u l l   i m a g e s ,   t h i s   i s   p o s s i b l e .   Y o u   m u s t   e n s u r e   b y   s o m e   o t h e r   m e a n s   t h a t   t h e   c o r r e c t   c o n t a i n e r   i m a g e s   a r e   a l r e a d y   a v a i l a b l e   o n   t h e   r e l e v a n t   h o s t s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/",
    "id": "k8s_00136_section_3_2488"
  },
  {
    "question": "What is Command line interface?",
    "answer": "T o   m a n a g e   K u b e r n e t e s   o n c e   y o u r   c l u s t e r   i s   s e t   u p ,   y o u   s h o u l d   i n s t a l l   k u b e c t l   o n   y o u r   P C .   I t   i s   a l s o   u s e f u l   t o   i n s t a l l   t h e   k u b e c t l   t o o l   o n   e a c h   c o n t r o l   p l a n e   n o d e ,   a s   t h i s   c a n   b e   h e l p f u l   f o r   t r o u b l e s h o o t i n g .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/",
    "id": "k8s_00136_section_3_2489"
  },
  {
    "question": "What is Note:?",
    "answer": "C r e a t e   a   k u b e - a p i s e r v e r   l o a d   b a l a n c e r   w i t h   a   n a m e   t h a t   r e s o l v e s   t o   D N S . I n   a   c l o u d   e n v i r o n m e n t   y o u   s h o u l d   p l a c e   y o u r   c o n t r o l   p l a n e   n o d e s   b e h i n d   a   T C P   f o r w a r d i n g   l o a d   b a l a n c e r .   T h i s   l o a d   b a l a n c e r   d i s t r i b u t e s   t r a f f i c   t o   a l l   h e a l t h y   c o n t r o l   p l a n e   n o d e s   i n   i t s   t a r g e t   l i s t .   T h e   h e a l t h   c h e c k   f o r   a n   a p i s e r v e r   i s   a   T C P   c h e c k   o n   t h e   p o r t   t h e   k u b e - a p i s e r v e r   l i s t e n s   o n   ( d e f a u l t   v a l u e   : 6 4 4 3 ) . I t   i s   n o t   r e c o m m e n d e d   t o   u s e   a n   I P   a d d r e s s   d i r e c t l y   i n   a   c l o u d   e n v i r o n m e n t . T h e   l o a d   b a l a n c e r   m u s t   b e   a b l e   t o   c o m m u n i c a t e   w i t h   a l l   c o n t r o l   p l a n e   n o d e s   o n   t h e   a p i s e r v e r   p o r t .   I t   m u s t   a l s o   a l l o w   i n c o m i n g   t r a f f i c   o n   i t s   l i s t e n i n g   p o r t . M a k e   s u r e   t h e   a d d r e s s   o f   t h e   l o a d   b a l a n c e r   a l w a y s   m a t c h e s   t h e   a d d r e s s   o f   k u b e a d m ' s   C o n t r o l P l a n e E n d p o i n t . R e a d   t h e   O p t i o n s   f o r   S o f t w a r e   L o a d   B a l a n c i n g   g u i d e   f o r   m o r e   d e t a i l s . A d d   t h e   f i r s t   c o n t r o l   p l a n e   n o d e   t o   t h e   l o a d   b a l a n c e r ,   a n d   t e s t   t h e   c o n n e c t i o n : n c   - z v   - w   2   < L O A D _ B A L A N C E R _ I P >   < P O R T >   A   c o n n e c t i o n   r e f u s e d   e r r o r   i s   e x p e c t e d   b e c a u s e   t h e   A P I   s e r v e r   i s   n o t   y e t   r u n n i n g .   A   t i m e o u t ,   h o w e v ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/",
    "id": "k8s_00136_section_4_2490"
  },
  {
    "question": "What is Steps for the first control plane node?",
    "answer": "I n i t i a l i z e   t h e   c o n t r o l   p l a n e : s u d o   k u b e a d m   i n i t   - - c o n t r o l - p l a n e - e n d p o i n t   \" L O A D _ B A L A N C E R _ D N S : L O A D _ B A L A N C E R _ P O R T \"   - - u p l o a d - c e r t s   Y o u   c a n   u s e   t h e   - - k u b e r n e t e s - v e r s i o n   f l a g   t o   s e t   t h e   K u b e r n e t e s   v e r s i o n   t o   u s e .   I t   i s   r e c o m m e n d e d   t h a t   t h e   v e r s i o n s   o f   k u b e a d m ,   k u b e l e t ,   k u b e c t l   a n d   K u b e r n e t e s   m a t c h . T h e   - - c o n t r o l - p l a n e - e n d p o i n t   f l a g   s h o u l d   b e   s e t   t o   t h e   a d d r e s s   o r   D N S   a n d   p o r t   o f   t h e   l o a d   b a l a n c e r . T h e   - - u p l o a d - c e r t s   f l a g   i s   u s e d   t o   u p l o a d   t h e   c e r t i f i c a t e s   t h a t   s h o u l d   b e   s h a r e d   a c r o s s   a l l   t h e   c o n t r o l - p l a n e   i n s t a n c e s   t o   t h e   c l u s t e r .   I f   i n s t e a d ,   y o u   p r e f e r   t o   c o p y   c e r t s   a c r o s s   c o n t r o l - p l a n e   n o d e s   m a n u a l l y   o r   u s i n g   a u t o m a t i o n   t o o l s ,   p l e a s e   r e m o v e   t h i s   f l a g   a n d   r e f e r   t o   M a n u a l   c e r t i f i c a t e   d i s t r i b u t i o n   s e c t i o n   b e l o w . N o t e : T h e   k u b e a d m   i n i t   f l a g s   - - c o n f i g   a n d   - - c e r t i f i c a t e - k e y   c a n n o t   b e   m i x e d ,   t h e r e f o r e   i f   y o u   w a n t   t o   u s e   t h e   k u b e a d m   c o n f i g u r a t i o n   y o u   m u s t   a d d   t h e   c e r t i f i c a t e K e y   f i e l d   i n   t h e   a p p r o p r i a t e   c o n f i g   l o c a t i o n s   ( u n d e r   I n i t C o n f i g u r a t i o n   a n d   J o i n C o n f i g u r a t i o n :   c o n t r o l P l a n e ) . N o t e : S o m e   C N I   n e t w o r k   ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/",
    "id": "k8s_00136_section_3_2491"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   o u t p u t   l o o k s   s i m i l a r   t o :   . . .   Y o u   c a n   n o w   j o i n   a n y   n u m b e r   o f   c o n t r o l - p l a n e   n o d e   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d   o n   e a c h   a s   a   r o o t :   k u b e a d m   j o i n   1 9 2 . 1 6 8 . 0 . 2 0 0 : 6 4 4 3   - - t o k e n   9 v r 7 3 a . a 8 u x y a j u 7 9 9 q w d j v   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   s h a 2 5 6 : 7 c 2 e 6 9 1 3 1 a 3 6 a e 2 a 0 4 2 a 3 3 9 b 3 3 3 8 1 c 6 d 0 d 4 3 8 8 7 e 2 d e 8 3 7 2 0 e f f 5 3 5 9 e 2 6 a e c 8 6 6   - - c o n t r o l - p l a n e   - - c e r t i f i c a t e - k e y   f 8 9 0 2 e 1 1 4 e f 1 1 8 3 0 4 e 5 6 1 c 3 e c d 4 d 0 b 5 4 3 a d c 2 2 6 b 7 a 0 7 f 6 7 5 f 5 6 5 6 4 1 8 5 f f e 0 c 0 7   P l e a s e   n o t e   t h a t   t h e   c e r t i f i c a t e - k e y   g i v e s   a c c e s s   t o   c l u s t e r   s e n s i t i v e   d a t a ,   k e e p   i t   s e c r e t !   A s   a   s a f e g u a r d ,   u p l o a d e d - c e r t s   w i l l   b e   d e l e t e d   i n   t w o   h o u r s ;   I f   n e c e s s a r y ,   y o u   c a n   u s e   k u b e a d m   i n i t   p h a s e   u p l o a d - c e r t s   t o   r e l o a d   c e r t s   a f t e r w a r d .   T h e n   y o u   c a n   j o i n   a n y   n u m b e r   o f   w o r k e r   n o d e s   b y   r u n n i n g   t h e   f o l l o w i n g   o n   e a c h   a s   r o o t :   k u b e a d m   j o i n   1 9 2 . 1 6 8 . 0 . 2 0 0 : 6 4 4 3   - - t o k e n   9 v r 7 3 a . a 8 u x y a j u 7 9 9 q w d j v   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   s h a 2 5 6 : 7 c 2 e 6 9 1 3 1 a 3 6 a e 2 a 0 4 2 a 3 3 9 b 3 3 3 8 1 c 6 d 0 d 4 3 8 8 7 e 2 d e 8 3 7 2 0 e f f 5 3 5 9 e 2 6 a e c 8 6 6   C o p y   t h i s   o u t p u t   t o   a   t e x t   f i l e .   Y o u   w i l l   n e e d   i t   l a t e r   t o   j o i n   c o n t r o l   p l a n e   a n d   w o r k e r   n o d e s   t o   t h e   c l u s ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/",
    "id": "k8s_00136_section_4_2492"
  },
  {
    "question": "What is Caution:?",
    "answer": "A p p l y   t h e   C N I   p l u g i n   o f   y o u r   c h o i c e :   F o l l o w   t h e s e   i n s t r u c t i o n s   t o   i n s t a l l   t h e   C N I   p r o v i d e r .   M a k e   s u r e   t h e   c o n f i g u r a t i o n   c o r r e s p o n d s   t o   t h e   P o d   C I D R   s p e c i f i e d   i n   t h e   k u b e a d m   c o n f i g u r a t i o n   f i l e   ( i f   a p p l i c a b l e ) .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/",
    "id": "k8s_00136_section_4_2493"
  },
  {
    "question": "What is Note:?",
    "answer": "T y p e   t h e   f o l l o w i n g   a n d   w a t c h   t h e   p o d s   o f   t h e   c o n t r o l   p l a n e   c o m p o n e n t s   g e t   s t a r t e d :   k u b e c t l   g e t   p o d   - n   k u b e - s y s t e m   - w",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/",
    "id": "k8s_00136_section_4_2494"
  },
  {
    "question": "What is Steps for the rest of the control plane nodes?",
    "answer": "F o r   e a c h   a d d i t i o n a l   c o n t r o l   p l a n e   n o d e   y o u   s h o u l d :   E x e c u t e   t h e   j o i n   c o m m a n d   t h a t   w a s   p r e v i o u s l y   g i v e n   t o   y o u   b y   t h e   k u b e a d m   i n i t   o u t p u t   o n   t h e   f i r s t   n o d e .   I t   s h o u l d   l o o k   s o m e t h i n g   l i k e   t h i s : s u d o   k u b e a d m   j o i n   1 9 2 . 1 6 8 . 0 . 2 0 0 : 6 4 4 3   - - t o k e n   9 v r 7 3 a . a 8 u x y a j u 7 9 9 q w d j v   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   s h a 2 5 6 : 7 c 2 e 6 9 1 3 1 a 3 6 a e 2 a 0 4 2 a 3 3 9 b 3 3 3 8 1 c 6 d 0 d 4 3 8 8 7 e 2 d e 8 3 7 2 0 e f f 5 3 5 9 e 2 6 a e c 8 6 6   - - c o n t r o l - p l a n e   - - c e r t i f i c a t e - k e y   f 8 9 0 2 e 1 1 4 e f 1 1 8 3 0 4 e 5 6 1 c 3 e c d 4 d 0 b 5 4 3 a d c 2 2 6 b 7 a 0 7 f 6 7 5 f 5 6 5 6 4 1 8 5 f f e 0 c 0 7   T h e   - - c o n t r o l - p l a n e   f l a g   t e l l s   k u b e a d m   j o i n   t o   c r e a t e   a   n e w   c o n t r o l   p l a n e . T h e   - - c e r t i f i c a t e - k e y   . . .   w i l l   c a u s e   t h e   c o n t r o l   p l a n e   c e r t i f i c a t e s   t o   b e   d o w n l o a d e d   f r o m   t h e   k u b e a d m - c e r t s   S e c r e t   i n   t h e   c l u s t e r   a n d   b e   d e c r y p t e d   u s i n g   t h e   g i v e n   k e y .   E x e c u t e   t h e   j o i n   c o m m a n d   t h a t   w a s   p r e v i o u s l y   g i v e n   t o   y o u   b y   t h e   k u b e a d m   i n i t   o u t p u t   o n   t h e   f i r s t   n o d e .   I t   s h o u l d   l o o k   s o m e t h i n g   l i k e   t h i s :   s u d o   k u b e a d m   j o i n   1 9 2 . 1 6 8 . 0 . 2 0 0 : 6 4 4 3   - - t o k e n   9 v r 7 3 a . a 8 u x y a j u 7 9 9 q w d j v   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   s h a 2 5 6 : 7 c 2 e 6 9 1 3 1 a 3 6 a e 2 a 0 4 2 a 3 3 9 b 3 3 3 8 1 c 6 d 0 d 4 3 8 8 7 e 2 d e 8 3 7 2 0 e f ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/",
    "id": "k8s_00136_section_3_2495"
  },
  {
    "question": "What is External etcd nodes?",
    "answer": "S e t t i n g   u p   a   c l u s t e r   w i t h   e x t e r n a l   e t c d   n o d e s   i s   s i m i l a r   t o   t h e   p r o c e d u r e   u s e d   f o r   s t a c k e d   e t c d   w i t h   t h e   e x c e p t i o n   t h a t   y o u   s h o u l d   s e t u p   e t c d   f i r s t ,   a n d   y o u   s h o u l d   p a s s   t h e   e t c d   i n f o r m a t i o n   i n   t h e   k u b e a d m   c o n f i g   f i l e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/",
    "id": "k8s_00136_section_2_2496"
  },
  {
    "question": "What is Set up the etcd cluster?",
    "answer": "F o l l o w   t h e s e   i n s t r u c t i o n s   t o   s e t   u p   t h e   e t c d   c l u s t e r . S e t   u p   S S H   a s   d e s c r i b e d   h e r e . C o p y   t h e   f o l l o w i n g   f i l e s   f r o m   a n y   e t c d   n o d e   i n   t h e   c l u s t e r   t o   t h e   f i r s t   c o n t r o l   p l a n e   n o d e : e x p o r t   C O N T R O L _ P L A N E = \" u b u n t u @ 1 0 . 0 . 0 . 7 \"   s c p   / e t c / k u b e r n e t e s / p k i / e t c d / c a . c r t   \" $ { C O N T R O L _ P L A N E } \" :   s c p   / e t c / k u b e r n e t e s / p k i / a p i s e r v e r - e t c d - c l i e n t . c r t   \" $ { C O N T R O L _ P L A N E } \" :   s c p   / e t c / k u b e r n e t e s / p k i / a p i s e r v e r - e t c d - c l i e n t . k e y   \" $ { C O N T R O L _ P L A N E } \" :   R e p l a c e   t h e   v a l u e   o f   C O N T R O L _ P L A N E   w i t h   t h e   u s e r @ h o s t   o f   t h e   f i r s t   c o n t r o l - p l a n e   n o d e .   F o l l o w   t h e s e   i n s t r u c t i o n s   t o   s e t   u p   t h e   e t c d   c l u s t e r .   S e t   u p   S S H   a s   d e s c r i b e d   h e r e .   C o p y   t h e   f o l l o w i n g   f i l e s   f r o m   a n y   e t c d   n o d e   i n   t h e   c l u s t e r   t o   t h e   f i r s t   c o n t r o l   p l a n e   n o d e :   e x p o r t   C O N T R O L _ P L A N E = \" u b u n t u @ 1 0 . 0 . 0 . 7 \"   s c p   / e t c / k u b e r n e t e s / p k i / e t c d / c a . c r t   \" $ { C O N T R O L _ P L A N E } \" :   s c p   / e t c / k u b e r n e t e s / p k i / a p i s e r v e r - e t c d - c l i e n t . c r t   \" $ { C O N T R O L _ P L A N E } \" :   s c p   / e t c / k u b e r n e t e s / p k i / a p i s e r v e r - e t c d - c l i e n t . k e y   \" $ { C O N T R O L _ P L A N E } \" :   R e p l a c e   t h e   v a l u e   o f   C O N T R O L _ P L A N E   w i t h   t h e   u s e r @ h o s t   o f   t h e   f i r s t   c o n t r o l - p l a n e   n o d e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/",
    "id": "k8s_00136_section_3_2497"
  },
  {
    "question": "What is Set up the first control plane node?",
    "answer": "C r e a t e   a   f i l e   c a l l e d   k u b e a d m - c o n f i g . y a m l   w i t h   t h e   f o l l o w i n g   c o n t e n t s : - - -   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   C l u s t e r C o n f i g u r a t i o n   k u b e r n e t e s V e r s i o n :   s t a b l e   c o n t r o l P l a n e E n d p o i n t :   \" L O A D _ B A L A N C E R _ D N S : L O A D _ B A L A N C E R _ P O R T \"   #   c h a n g e   t h i s   ( s e e   b e l o w )   e t c d :   e x t e r n a l :   e n d p o i n t s :   -   h t t p s : / / E T C D _ 0 _ I P : 2 3 7 9   #   c h a n g e   E T C D _ 0 _ I P   a p p r o p r i a t e l y   -   h t t p s : / / E T C D _ 1 _ I P : 2 3 7 9   #   c h a n g e   E T C D _ 1 _ I P   a p p r o p r i a t e l y   -   h t t p s : / / E T C D _ 2 _ I P : 2 3 7 9   #   c h a n g e   E T C D _ 2 _ I P   a p p r o p r i a t e l y   c a F i l e :   / e t c / k u b e r n e t e s / p k i / e t c d / c a . c r t   c e r t F i l e :   / e t c / k u b e r n e t e s / p k i / a p i s e r v e r - e t c d - c l i e n t . c r t   k e y F i l e :   / e t c / k u b e r n e t e s / p k i / a p i s e r v e r - e t c d - c l i e n t . k e y   N o t e : T h e   d i f f e r e n c e   b e t w e e n   s t a c k e d   e t c d   a n d   e x t e r n a l   e t c d   h e r e   i s   t h a t   t h e   e x t e r n a l   e t c d   s e t u p   r e q u i r e s   a   c o n f i g u r a t i o n   f i l e   w i t h   t h e   e t c d   e n d p o i n t s   u n d e r   t h e   e x t e r n a l   o b j e c t   f o r   e t c d .   I n   t h e   c a s e   o f   t h e   s t a c k e d   e t c d   t o p o l o g y ,   t h i s   i s   m a n a g e d   a u t o m a t i c a l l y . R e p l a c e   t h e   f o l l o w i n g   v a r i a b l e s   i n   t h e   c o n f i g   t e m p l a t e   w i t h   t h e   a p p r o p r i a t e   v a l u e s   f o r   y o u r   c l u s t e r : L O A D _ B A L A N C E R _ D N S L O A D _ B A L A N C E R _ P O R T E T C D _ 0 _ ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/",
    "id": "k8s_00136_section_3_2498"
  },
  {
    "question": "What is Note:?",
    "answer": "R e p l a c e   t h e   f o l l o w i n g   v a r i a b l e s   i n   t h e   c o n f i g   t e m p l a t e   w i t h   t h e   a p p r o p r i a t e   v a l u e s   f o r   y o u r   c l u s t e r : L O A D _ B A L A N C E R _ D N S L O A D _ B A L A N C E R _ P O R T E T C D _ 0 _ I P E T C D _ 1 _ I P E T C D _ 2 _ I P   R e p l a c e   t h e   f o l l o w i n g   v a r i a b l e s   i n   t h e   c o n f i g   t e m p l a t e   w i t h   t h e   a p p r o p r i a t e   v a l u e s   f o r   y o u r   c l u s t e r :   L O A D _ B A L A N C E R _ D N S L O A D _ B A L A N C E R _ P O R T E T C D _ 0 _ I P E T C D _ 1 _ I P E T C D _ 2 _ I P   T h e   f o l l o w i n g   s t e p s   a r e   s i m i l a r   t o   t h e   s t a c k e d   e t c d   s e t u p :   R u n   s u d o   k u b e a d m   i n i t   - - c o n f i g   k u b e a d m - c o n f i g . y a m l   - - u p l o a d - c e r t s   o n   t h i s   n o d e . W r i t e   t h e   o u t p u t   j o i n   c o m m a n d s   t h a t   a r e   r e t u r n e d   t o   a   t e x t   f i l e   f o r   l a t e r   u s e . A p p l y   t h e   C N I   p l u g i n   o f   y o u r   c h o i c e . N o t e : Y o u   m u s t   p i c k   a   n e t w o r k   p l u g i n   t h a t   s u i t s   y o u r   u s e   c a s e   a n d   d e p l o y   i t   b e f o r e   y o u   m o v e   o n   t o   n e x t   s t e p .   I f   y o u   d o n ' t   d o   t h i s ,   y o u   w i l l   n o t   b e   a b l e   t o   l a u n c h   y o u r   c l u s t e r   p r o p e r l y .   R u n   s u d o   k u b e a d m   i n i t   - - c o n f i g   k u b e a d m - c o n f i g . y a m l   - - u p l o a d - c e r t s   o n   t h i s   n o d e .   W r i t e   t h e   o u t p u t   j o i n   c o m m a n d s   t h a t   a r e   r e t u r n e d   t o   a   t e x t   f i l e   f o r   l a t e r   u s e .   A p p l y   t h e   C N I   p l u g i n   o f   y o u r   c h o i c e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/",
    "id": "k8s_00136_section_4_2499"
  },
  {
    "question": "What is Steps for the rest of the control plane nodes?",
    "answer": "T h e   s t e p s   a r e   t h e   s a m e   a s   f o r   t h e   s t a c k e d   e t c d   s e t u p :   M a k e   s u r e   t h e   f i r s t   c o n t r o l   p l a n e   n o d e   i s   f u l l y   i n i t i a l i z e d . J o i n   e a c h   c o n t r o l   p l a n e   n o d e   w i t h   t h e   j o i n   c o m m a n d   y o u   s a v e d   t o   a   t e x t   f i l e .   I t ' s   r e c o m m e n d e d   t o   j o i n   t h e   c o n t r o l   p l a n e   n o d e s   o n e   a t   a   t i m e . D o n ' t   f o r g e t   t h a t   t h e   d e c r y p t i o n   k e y   f r o m   - - c e r t i f i c a t e - k e y   e x p i r e s   a f t e r   t w o   h o u r s ,   b y   d e f a u l t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/",
    "id": "k8s_00136_section_3_2500"
  },
  {
    "question": "What is Install workers?",
    "answer": "W o r k e r   n o d e s   c a n   b e   j o i n e d   t o   t h e   c l u s t e r   w i t h   t h e   c o m m a n d   y o u   s t o r e d   p r e v i o u s l y   a s   t h e   o u t p u t   f r o m   t h e   k u b e a d m   i n i t   c o m m a n d :   s u d o   k u b e a d m   j o i n   1 9 2 . 1 6 8 . 0 . 2 0 0 : 6 4 4 3   - - t o k e n   9 v r 7 3 a . a 8 u x y a j u 7 9 9 q w d j v   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   s h a 2 5 6 : 7 c 2 e 6 9 1 3 1 a 3 6 a e 2 a 0 4 2 a 3 3 9 b 3 3 3 8 1 c 6 d 0 d 4 3 8 8 7 e 2 d e 8 3 7 2 0 e f f 5 3 5 9 e 2 6 a e c 8 6 6",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/",
    "id": "k8s_00136_section_3_2501"
  },
  {
    "question": "What is Manual certificate distribution?",
    "answer": "I f   y o u   c h o o s e   t o   n o t   u s e   k u b e a d m   i n i t   w i t h   t h e   - - u p l o a d - c e r t s   f l a g   t h i s   m e a n s   t h a t   y o u   a r e   g o i n g   t o   h a v e   t o   m a n u a l l y   c o p y   t h e   c e r t i f i c a t e s   f r o m   t h e   p r i m a r y   c o n t r o l   p l a n e   n o d e   t o   t h e   j o i n i n g   c o n t r o l   p l a n e   n o d e s .   T h e r e   a r e   m a n y   w a y s   t o   d o   t h i s .   T h e   f o l l o w i n g   e x a m p l e   u s e s   s s h   a n d   s c p :   S S H   i s   r e q u i r e d   i f   y o u   w a n t   t o   c o n t r o l   a l l   n o d e s   f r o m   a   s i n g l e   m a c h i n e .   E n a b l e   s s h - a g e n t   o n   y o u r   m a i n   d e v i c e   t h a t   h a s   a c c e s s   t o   a l l   o t h e r   n o d e s   i n   t h e   s y s t e m : e v a l   $ ( s s h - a g e n t )   A d d   y o u r   S S H   i d e n t i t y   t o   t h e   s e s s i o n : s s h - a d d   ~ / . s s h / p a t h _ t o _ p r i v a t e _ k e y   S S H   b e t w e e n   n o d e s   t o   c h e c k   t h a t   t h e   c o n n e c t i o n   i s   w o r k i n g   c o r r e c t l y . W h e n   y o u   S S H   t o   a n y   n o d e ,   a d d   t h e   - A   f l a g .   T h i s   f l a g   a l l o w s   t h e   n o d e   t h a t   y o u   h a v e   l o g g e d   i n t o   v i a   S S H   t o   a c c e s s   t h e   S S H   a g e n t   o n   y o u r   P C .   C o n s i d e r   a l t e r n a t i v e   m e t h o d s   i f   y o u   d o   n o t   f u l l y   t r u s t   t h e   s e c u r i t y   o f   y o u r   u s e r   s e s s i o n   o n   t h e   n o d e . s s h   - A   1 0 . 0 . 0 . 7   W h e n   u s i n g   s u d o   o n   a n y   n o d e ,   m a k e   s u r e   t o   p r e s e r v e   t h e   e n v i r o n m e n t   s o   S S H   f o r w a r d i n g   w o r k s : s u d o   - E   - s   A f t e r   c o n f i g u r i n g   S S H   o n   a l l   t h e   n o d e s   y o u   ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/",
    "id": "k8s_00136_section_2_2502"
  },
  {
    "question": "What is Caution:?",
    "answer": "T h e n   o n   e a c h   j o i n i n g   c o n t r o l   p l a n e   n o d e   y o u   h a v e   t o   r u n   t h e   f o l l o w i n g   s c r i p t   b e f o r e   r u n n i n g   k u b e a d m   j o i n .   T h i s   s c r i p t   w i l l   m o v e   t h e   p r e v i o u s l y   c o p i e d   c e r t i f i c a t e s   f r o m   t h e   h o m e   d i r e c t o r y   t o   / e t c / k u b e r n e t e s / p k i :   U S E R = u b u n t u   #   c u s t o m i z a b l e   m k d i r   - p   / e t c / k u b e r n e t e s / p k i / e t c d   m v   / h o m e / $ { U S E R } / c a . c r t   / e t c / k u b e r n e t e s / p k i /   m v   / h o m e / $ { U S E R } / c a . k e y   / e t c / k u b e r n e t e s / p k i /   m v   / h o m e / $ { U S E R } / s a . p u b   / e t c / k u b e r n e t e s / p k i /   m v   / h o m e / $ { U S E R } / s a . k e y   / e t c / k u b e r n e t e s / p k i /   m v   / h o m e / $ { U S E R } / f r o n t - p r o x y - c a . c r t   / e t c / k u b e r n e t e s / p k i /   m v   / h o m e / $ { U S E R } / f r o n t - p r o x y - c a . k e y   / e t c / k u b e r n e t e s / p k i /   m v   / h o m e / $ { U S E R } / e t c d - c a . c r t   / e t c / k u b e r n e t e s / p k i / e t c d / c a . c r t   #   S k i p   t h e   n e x t   l i n e   i f   y o u   a r e   u s i n g   e x t e r n a l   e t c d   m v   / h o m e / $ { U S E R } / e t c d - c a . k e y   / e t c / k u b e r n e t e s / p k i / e t c d / c a . k e y",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/",
    "id": "k8s_00136_section_4_2503"
  },
  {
    "question": "What is Configure Liveness, Readiness and Startup Probes?",
    "answer": "Configure Liveness, Readiness and Startup ProbesThis page shows how to configure liveness, readiness and startup probes for containers.For more information about probes, see Liveness, Readiness and Startup ProbesThe kubelet uses liveness probes to know when to restart a container. For example, liveness probes could catch a deadlock, where an application is running, but unable to make progress. Restarting a container in such a state can help to make the application more available despite bugs.A common pattern for liveness probes is to use the same low-cost HTTP endpoint as for readiness probes, but with a higher failureThreshold. This ensures that the pod is observed as not-ready for some period of time before it is hard killed.The kubelet uses readiness probes to know when a container is ready to start accepting traffic. One use of this signal is to control which Pods are used as backends for Services. A Pod is considered ready when its Ready condition is true. When a Pod is not ready, it is removed from Service load balancers. A Pod's Ready condition is false when its Node's Ready condition is not true, when one of the Pod's readinessGates is false, or when at least one of its containers is not ready.The kubelet uses startup probes to know when a container application has started. If such a probe is configured, liveness and readiness probes do not start until it succeeds, making sure those probes don't interfere with the application startup. This can be used to adopt liveness checks on slow starting containers, avoiding them getting killed by the kubelet before they are up and running.Caution:Liveness probes can be a powerful way to recover from application failures, but they should be used with caution. Liveness probes must be configured carefully to ensure that they truly indicate unrecoverable application failure, for example a deadlock.Note:Incorrect implementation of liveness probes can lead to cascading failures. This results in restarting of container under high load; failed client requests as your application became less scalable; and increased workload on remaining pods due to some failed pods. Understand the difference between readiness and liveness probes and when to apply them for your app.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesDefine a liveness commandMany applications running for long periods of time eventually transition to broken states, and cannot recover except by being restarted. Kubernetes provides liveness probes to detect and remedy such situations.In this exercise, you create a Pod that runs a container based on the registry.k8s.i",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/",
    "id": "k8s_00137_qa_2504"
  },
  {
    "question": "How does Configure Liveness, Readiness and Startup Probes work?",
    "answer": "Configure Liveness, Readiness and Startup ProbesThis page shows how to configure liveness, readiness and startup probes for containers.For more information about probes, see Liveness, Readiness and Startup ProbesThe kubelet uses liveness probes to know when to restart a container. For example, liveness probes could catch a deadlock, where an application is running, but unable to make progress. Restarting a container in such a state can help to make the application more available despite bugs.A common pattern for liveness probes is to use the same low-cost HTTP endpoint as for readiness probes, but with a higher failureThreshold. This ensures that the pod is observed as not-ready for some period of time before it is hard killed.The kubelet uses readiness probes to know when a container is ready to start accepting traffic. One use of this signal is to control which Pods are used as backends for Services. A Pod is considered ready when its Ready condition is true. When a Pod is not ready, it is removed from Service load balancers. A Pod's Ready condition is false when its Node's Ready condition is not true, when one of the Pod's readinessGates is false, or when at least one of its containers is not ready.The kubelet uses startup probes to know when a container application has started. If such a probe is configured, liveness and readiness probes do not start until it succeeds, making sure those probes don't interfere with the application startup. This can be used to adopt liveness checks on slow starting containers, avoiding them getting killed by the kubelet before they are up and running.Caution:Liveness probes can be a powerful way to recover from application failures, but they should be used with caution. Liveness probes must be configured carefully to ensure that they truly indicate unrecoverable application failure, for example a deadlock.Note:Incorrect implementation of liveness probes can lead to cascading failures. This results in restarting of container under high load; failed client requests as your application became less scalable; and increased workload on remaining pods due to some failed pods. Understand the difference between readiness and liveness probes and when to apply them for your app.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesDefine a liveness commandMany applications running for long periods of time eventually transition to broken states, and cannot recover except by being restarted. Kubernetes provides liveness probes to detect and remedy such situations.In this exercise, you create a Pod that runs a container based on the registry.k8s.i",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/",
    "id": "k8s_00137_qa_2505"
  },
  {
    "question": "When would you use Configure Liveness, Readiness and Startup Probes?",
    "answer": "Configure Liveness, Readiness and Startup ProbesThis page shows how to configure liveness, readiness and startup probes for containers.For more information about probes, see Liveness, Readiness and Startup ProbesThe kubelet uses liveness probes to know when to restart a container. For example, liveness probes could catch a deadlock, where an application is running, but unable to make progress. Restarting a container in such a state can help to make the application more available despite bugs.A common pattern for liveness probes is to use the same low-cost HTTP endpoint as for readiness probes, but with a higher failureThreshold. This ensures that the pod is observed as not-ready for some period of time before it is hard killed.The kubelet uses readiness probes to know when a container is ready to start accepting traffic. One use of this signal is to control which Pods are used as backends for Services. A Pod is considered ready when its Ready condition is true. When a Pod is not ready, it is removed from Service load balancers. A Pod's Ready condition is false when its Node's Ready condition is not true, when one of the Pod's readinessGates is false, or when at least one of its containers is not ready.The kubelet uses startup probes to know when a container application has started. If such a probe is configured, liveness and readiness probes do not start until it succeeds, making sure those probes don't interfere with the application startup. This can be used to adopt liveness checks on slow starting containers, avoiding them getting killed by the kubelet before they are up and running.Caution:Liveness probes can be a powerful way to recover from application failures, but they should be used with caution. Liveness probes must be configured carefully to ensure that they truly indicate unrecoverable application failure, for example a deadlock.Note:Incorrect implementation of liveness probes can lead to cascading failures. This results in restarting of container under high load; failed client requests as your application became less scalable; and increased workload on remaining pods due to some failed pods. Understand the difference between readiness and liveness probes and when to apply them for your app.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesDefine a liveness commandMany applications running for long periods of time eventually transition to broken states, and cannot recover except by being restarted. Kubernetes provides liveness probes to detect and remedy such situations.In this exercise, you create a Pod that runs a container based on the registry.k8s.i",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/",
    "id": "k8s_00137_qa_2506"
  },
  {
    "question": "What are the benefits of Configure Liveness, Readiness and Startup Probes?",
    "answer": "Configure Liveness, Readiness and Startup ProbesThis page shows how to configure liveness, readiness and startup probes for containers.For more information about probes, see Liveness, Readiness and Startup ProbesThe kubelet uses liveness probes to know when to restart a container. For example, liveness probes could catch a deadlock, where an application is running, but unable to make progress. Restarting a container in such a state can help to make the application more available despite bugs.A common pattern for liveness probes is to use the same low-cost HTTP endpoint as for readiness probes, but with a higher failureThreshold. This ensures that the pod is observed as not-ready for some period of time before it is hard killed.The kubelet uses readiness probes to know when a container is ready to start accepting traffic. One use of this signal is to control which Pods are used as backends for Services. A Pod is considered ready when its Ready condition is true. When a Pod is not ready, it is removed from Service load balancers. A Pod's Ready condition is false when its Node's Ready condition is not true, when one of the Pod's readinessGates is false, or when at least one of its containers is not ready.The kubelet uses startup probes to know when a container application has started. If such a probe is configured, liveness and readiness probes do not start until it succeeds, making sure those probes don't interfere with the application startup. This can be used to adopt liveness checks on slow starting containers, avoiding them getting killed by the kubelet before they are up and running.Caution:Liveness probes can be a powerful way to recover from application failures, but they should be used with caution. Liveness probes must be configured carefully to ensure that they truly indicate unrecoverable application failure, for example a deadlock.Note:Incorrect implementation of liveness probes can lead to cascading failures. This results in restarting of container under high load; failed client requests as your application became less scalable; and increased workload on remaining pods due to some failed pods. Understand the difference between readiness and liveness probes and when to apply them for your app.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesDefine a liveness commandMany applications running for long periods of time eventually transition to broken states, and cannot recover except by being restarted. Kubernetes provides liveness probes to detect and remedy such situations.In this exercise, you create a Pod that runs a container based on the registry.k8s.i",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/",
    "id": "k8s_00137_qa_2507"
  },
  {
    "question": "What is Configure Liveness, Readiness and Startup Probes?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   l i v e n e s s ,   r e a d i n e s s   a n d   s t a r t u p   p r o b e s   f o r   c o n t a i n e r s .   F o r   m o r e   i n f o r m a t i o n   a b o u t   p r o b e s ,   s e e   L i v e n e s s ,   R e a d i n e s s   a n d   S t a r t u p   P r o b e s   T h e   k u b e l e t   u s e s   l i v e n e s s   p r o b e s   t o   k n o w   w h e n   t o   r e s t a r t   a   c o n t a i n e r .   F o r   e x a m p l e ,   l i v e n e s s   p r o b e s   c o u l d   c a t c h   a   d e a d l o c k ,   w h e r e   a n   a p p l i c a t i o n   i s   r u n n i n g ,   b u t   u n a b l e   t o   m a k e   p r o g r e s s .   R e s t a r t i n g   a   c o n t a i n e r   i n   s u c h   a   s t a t e   c a n   h e l p   t o   m a k e   t h e   a p p l i c a t i o n   m o r e   a v a i l a b l e   d e s p i t e   b u g s .   A   c o m m o n   p a t t e r n   f o r   l i v e n e s s   p r o b e s   i s   t o   u s e   t h e   s a m e   l o w - c o s t   H T T P   e n d p o i n t   a s   f o r   r e a d i n e s s   p r o b e s ,   b u t   w i t h   a   h i g h e r   f a i l u r e T h r e s h o l d .   T h i s   e n s u r e s   t h a t   t h e   p o d   i s   o b s e r v e d   a s   n o t - r e a d y   f o r   s o m e   p e r i o d   o f   t i m e   b e f o r e   i t   i s   h a r d   k i l l e d .   T h e   k u b e l e t   u s e s   r e a d i n e s s   p r o b e s   t o   k n o w   w h e n   a   c o n t a i n e r   i s   r e a d y   t o   s t a r t   a c c e p t i n g   t r a f f i c .   O n e   u s e   o f   t h i s   s i g n a l   i s   t o   c o n t r o l   w h i c h   P o d s   a r e   u s e d   a s   b a c k e n d s   f o r   S e r v i c e s .   A   P o d   i s   c o n s i d e r e d   r e a d y   w h e n   i t s   R e a d y   c o n d i t i o n   i s   t r u e .   W h e n   a   P o d   i s   n o t   r e a d y ,   i t   i s   r e m o v e d   f r o m   S e r v i c e   l o a d   b a l a n c e r s .   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/",
    "id": "k8s_00137_section_1_2508"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/",
    "id": "k8s_00137_section_2_2509"
  },
  {
    "question": "What is Define a liveness command?",
    "answer": "M a n y   a p p l i c a t i o n s   r u n n i n g   f o r   l o n g   p e r i o d s   o f   t i m e   e v e n t u a l l y   t r a n s i t i o n   t o   b r o k e n   s t a t e s ,   a n d   c a n n o t   r e c o v e r   e x c e p t   b y   b e i n g   r e s t a r t e d .   K u b e r n e t e s   p r o v i d e s   l i v e n e s s   p r o b e s   t o   d e t e c t   a n d   r e m e d y   s u c h   s i t u a t i o n s .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   r u n s   a   c o n t a i n e r   b a s e d   o n   t h e   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   i m a g e .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   l a b e l s :   t e s t :   l i v e n e s s   n a m e :   l i v e n e s s - e x e c   s p e c :   c o n t a i n e r s :   -   n a m e :   l i v e n e s s   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   a r g s :   -   / b i n / s h   -   - c   -   t o u c h   / t m p / h e a l t h y ;   s l e e p   3 0 ;   r m   - f   / t m p / h e a l t h y ;   s l e e p   6 0 0   l i v e n e s s P r o b e :   e x e c :   c o m m a n d :   -   c a t   -   / t m p / h e a l t h y   i n i t i a l D e l a y S e c o n d s :   5   p e r i o d S e c o n d s :   5   I n   t h e   c o n f i g u r a t i o n   f i l e ,   y o u   c a n   s e e   t h a t   t h e   P o d   h a s   a   s i n g l e   C o n t a i n e r .   T h e   p e r i o d S e c o n d s   f i e l d   s p e c i f i e s   t h a t   t h e   k u b e l e t   s h o u l d   p e r f o r m   a   l i v e n e s s   p r o b e   e v e r y   5   s e c o n d s .   T h e   i n i t i a l D e l a y S e c o n d s   f i e l d   t e l l s   t h e   k u b e l e t   t h a t   i t   s h o u l d   w a i t   5   s e c o n d s   b e f o r e   p e r f o r m i n g   t h e   f i r s t   p r o b e .   T o   p e r f o r m   a   p r o b e ,   t h e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/",
    "id": "k8s_00137_section_2_2510"
  },
  {
    "question": "What is Define a liveness HTTP request?",
    "answer": "A n o t h e r   k i n d   o f   l i v e n e s s   p r o b e   u s e s   a n   H T T P   G E T   r e q u e s t .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   r u n s   a   c o n t a i n e r   b a s e d   o n   t h e   r e g i s t r y . k 8 s . i o / e 2 e - t e s t - i m a g e s / a g n h o s t   i m a g e .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   l a b e l s :   t e s t :   l i v e n e s s   n a m e :   l i v e n e s s - h t t p   s p e c :   c o n t a i n e r s :   -   n a m e :   l i v e n e s s   i m a g e :   r e g i s t r y . k 8 s . i o / e 2 e - t e s t - i m a g e s / a g n h o s t : 2 . 4 0   a r g s :   -   l i v e n e s s   l i v e n e s s P r o b e :   h t t p G e t :   p a t h :   / h e a l t h z   p o r t :   8 0 8 0   h t t p H e a d e r s :   -   n a m e :   C u s t o m - H e a d e r   v a l u e :   A w e s o m e   i n i t i a l D e l a y S e c o n d s :   3   p e r i o d S e c o n d s :   3   I n   t h e   c o n f i g u r a t i o n   f i l e ,   y o u   c a n   s e e   t h a t   t h e   P o d   h a s   a   s i n g l e   c o n t a i n e r .   T h e   p e r i o d S e c o n d s   f i e l d   s p e c i f i e s   t h a t   t h e   k u b e l e t   s h o u l d   p e r f o r m   a   l i v e n e s s   p r o b e   e v e r y   3   s e c o n d s .   T h e   i n i t i a l D e l a y S e c o n d s   f i e l d   t e l l s   t h e   k u b e l e t   t h a t   i t   s h o u l d   w a i t   3   s e c o n d s   b e f o r e   p e r f o r m i n g   t h e   f i r s t   p r o b e .   T o   p e r f o r m   a   p r o b e ,   t h e   k u b e l e t   s e n d s   a n   H T T P   G E T   r e q u e s t   t o   t h e   s e r v e r   t h a t   i s   r u n n i n g   i n   t h e   c o n t a i n e r   a n d   l i s t e n i n g   o n   p o r t   8 0 8 0 .   I f   t h e   h a n d l e r   f o r   t h e   s e r v e r ' s   / h e a l t h z   p a t h   r e t u r n s   a   s u c c e s s   c o d e ,   t h e   k u ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/",
    "id": "k8s_00137_section_2_2511"
  },
  {
    "question": "What is Define a TCP liveness probe?",
    "answer": "A   t h i r d   t y p e   o f   l i v e n e s s   p r o b e   u s e s   a   T C P   s o c k e t .   W i t h   t h i s   c o n f i g u r a t i o n ,   t h e   k u b e l e t   w i l l   a t t e m p t   t o   o p e n   a   s o c k e t   t o   y o u r   c o n t a i n e r   o n   t h e   s p e c i f i e d   p o r t .   I f   i t   c a n   e s t a b l i s h   a   c o n n e c t i o n ,   t h e   c o n t a i n e r   i s   c o n s i d e r e d   h e a l t h y ,   i f   i t   c a n ' t   i t   i s   c o n s i d e r e d   a   f a i l u r e .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   g o p r o x y   l a b e l s :   a p p :   g o p r o x y   s p e c :   c o n t a i n e r s :   -   n a m e :   g o p r o x y   i m a g e :   r e g i s t r y . k 8 s . i o / g o p r o x y : 0 . 1   p o r t s :   -   c o n t a i n e r P o r t :   8 0 8 0   r e a d i n e s s P r o b e :   t c p S o c k e t :   p o r t :   8 0 8 0   i n i t i a l D e l a y S e c o n d s :   1 5   p e r i o d S e c o n d s :   1 0   l i v e n e s s P r o b e :   t c p S o c k e t :   p o r t :   8 0 8 0   i n i t i a l D e l a y S e c o n d s :   1 5   p e r i o d S e c o n d s :   1 0   A s   y o u   c a n   s e e ,   c o n f i g u r a t i o n   f o r   a   T C P   c h e c k   i s   q u i t e   s i m i l a r   t o   a n   H T T P   c h e c k .   T h i s   e x a m p l e   u s e s   b o t h   r e a d i n e s s   a n d   l i v e n e s s   p r o b e s .   T h e   k u b e l e t   w i l l   r u n   t h e   f i r s t   l i v e n e s s   p r o b e   1 5   s e c o n d s   a f t e r   t h e   c o n t a i n e r   s t a r t s .   T h i s   w i l l   a t t e m p t   t o   c o n n e c t   t o   t h e   g o p r o x y   c o n t a i n e r   o n   p o r t   8 0 8 0 .   I f   t h e   l i v e n e s s   p r o b e   f a i l s ,   t h e   c o n t a i n e r   w i l l   b e   r e s t a r t e d .   T h e   k u b e l e t   w i l l   c o n t i n u e   t o   r u n   t h i s   c h e c k   e v e r y   1 0   s ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/",
    "id": "k8s_00137_section_2_2512"
  },
  {
    "question": "What is Define a gRPC liveness probe?",
    "answer": "I f   y o u r   a p p l i c a t i o n   i m p l e m e n t s   t h e   g R P C   H e a l t h   C h e c k i n g   P r o t o c o l ,   t h i s   e x a m p l e   s h o w s   h o w   t o   c o n f i g u r e   K u b e r n e t e s   t o   u s e   i t   f o r   a p p l i c a t i o n   l i v e n e s s   c h e c k s .   S i m i l a r l y   y o u   c a n   c o n f i g u r e   r e a d i n e s s   a n d   s t a r t u p   p r o b e s .   H e r e   i s   a n   e x a m p l e   m a n i f e s t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e t c d - w i t h - g r p c   s p e c :   c o n t a i n e r s :   -   n a m e :   e t c d   i m a g e :   r e g i s t r y . k 8 s . i o / e t c d : 3 . 5 . 1 - 0   c o m m a n d :   [   \" / u s r / l o c a l / b i n / e t c d \" ,   \" - - d a t a - d i r \" ,   \" / v a r / l i b / e t c d \" ,   \" - - l i s t e n - c l i e n t - u r l s \" ,   \" h t t p : / / 0 . 0 . 0 . 0 : 2 3 7 9 \" ,   \" - - a d v e r t i s e - c l i e n t - u r l s \" ,   \" h t t p : / / 1 2 7 . 0 . 0 . 1 : 2 3 7 9 \" ,   \" - - l o g - l e v e l \" ,   \" d e b u g \" ]   p o r t s :   -   c o n t a i n e r P o r t :   2 3 7 9   l i v e n e s s P r o b e :   g r p c :   p o r t :   2 3 7 9   i n i t i a l D e l a y S e c o n d s :   1 0   T o   u s e   a   g R P C   p r o b e ,   p o r t   m u s t   b e   c o n f i g u r e d .   I f   y o u   w a n t   t o   d i s t i n g u i s h   p r o b e s   o f   d i f f e r e n t   t y p e s   a n d   p r o b e s   f o r   d i f f e r e n t   f e a t u r e s   y o u   c a n   u s e   t h e   s e r v i c e   f i e l d .   Y o u   c a n   s e t   s e r v i c e   t o   t h e   v a l u e   l i v e n e s s   a n d   m a k e   y o u r   g R P C   H e a l t h   C h e c k i n g   e n d p o i n t   r e s p o n d   t o   t h i s   r e q u e s t   d i f f e r e n t l y   t h a n   w h e n   y o u   s e t   s e r v i c e   s e t   t o   r e a d i n e s s .   T h i s   l e t s   y o u   u s e   t h e   s a m e   e n d p ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/",
    "id": "k8s_00137_section_2_2513"
  },
  {
    "question": "What is Note:?",
    "answer": "C o n f i g u r a t i o n   p r o b l e m s   ( f o r   e x a m p l e :   i n c o r r e c t   p o r t   o r   s e r v i c e ,   u n i m p l e m e n t e d   h e a l t h   c h e c k i n g   p r o t o c o l )   a r e   c o n s i d e r e d   a   p r o b e   f a i l u r e ,   s i m i l a r   t o   H T T P   a n d   T C P   p r o b e s .   T o   t r y   t h e   g R P C   l i v e n e s s   c h e c k ,   c r e a t e   a   P o d   u s i n g   t h e   c o m m a n d   b e l o w .   I n   t h e   e x a m p l e   b e l o w ,   t h e   e t c d   p o d   i s   c o n f i g u r e d   t o   u s e   g R P C   l i v e n e s s   p r o b e .   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p r o b e / g r p c - l i v e n e s s . y a m l   A f t e r   1 5   s e c o n d s ,   v i e w   P o d   e v e n t s   t o   v e r i f y   t h a t   t h e   l i v e n e s s   c h e c k   h a s   n o t   f a i l e d :   k u b e c t l   d e s c r i b e   p o d   e t c d - w i t h - g r p c   W h e n   u s i n g   a   g R P C   p r o b e ,   t h e r e   a r e   s o m e   t e c h n i c a l   d e t a i l s   t o   b e   a w a r e   o f :   T h e   p r o b e s   r u n   a g a i n s t   t h e   p o d   I P   a d d r e s s   o r   i t s   h o s t n a m e .   B e   s u r e   t o   c o n f i g u r e   y o u r   g R P C   e n d p o i n t   t o   l i s t e n   o n   t h e   P o d ' s   I P   a d d r e s s . T h e   p r o b e s   d o   n o t   s u p p o r t   a n y   a u t h e n t i c a t i o n   p a r a m e t e r s   ( l i k e   - t l s ) . T h e r e   a r e   n o   e r r o r   c o d e s   f o r   b u i l t - i n   p r o b e s .   A l l   e r r o r s   a r e   c o n s i d e r e d   a s   p r o b e   f a i l u r e s . I f   E x e c P r o b e T i m e o u t   f e a t u r e   g a t e   i s   s e t   t o   f a l s e ,   g r p c - h e a l t h - p r o b e   d o e s   n o t   r e s p e c t   t h e   t i m e o u t S e c o n d s   s e t t i n g   ( w h i c h   d e f a u l t s   t ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/",
    "id": "k8s_00137_section_4_2514"
  },
  {
    "question": "What is Use a named port?",
    "answer": "Y o u   c a n   u s e   a   n a m e d   p o r t   f o r   H T T P   a n d   T C P   p r o b e s .   g R P C   p r o b e s   d o   n o t   s u p p o r t   n a m e d   p o r t s .   F o r   e x a m p l e :   p o r t s :   -   n a m e :   l i v e n e s s - p o r t   c o n t a i n e r P o r t :   8 0 8 0   l i v e n e s s P r o b e :   h t t p G e t :   p a t h :   / h e a l t h z   p o r t :   l i v e n e s s - p o r t",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/",
    "id": "k8s_00137_section_2_2515"
  },
  {
    "question": "What is Protect slow starting containers with startup probes?",
    "answer": "S o m e t i m e s ,   y o u   h a v e   t o   d e a l   w i t h   a p p l i c a t i o n s   t h a t   r e q u i r e   a d d i t i o n a l   s t a r t u p   t i m e   o n   t h e i r   f i r s t   i n i t i a l i z a t i o n .   I n   s u c h   c a s e s ,   i t   c a n   b e   t r i c k y   t o   s e t   u p   l i v e n e s s   p r o b e   p a r a m e t e r s   w i t h o u t   c o m p r o m i s i n g   t h e   f a s t   r e s p o n s e   t o   d e a d l o c k s   t h a t   m o t i v a t e d   s u c h   a   p r o b e .   T h e   s o l u t i o n   i s   t o   s e t   u p   a   s t a r t u p   p r o b e   w i t h   t h e   s a m e   c o m m a n d ,   H T T P   o r   T C P   c h e c k ,   w i t h   a   f a i l u r e T h r e s h o l d   *   p e r i o d S e c o n d s   l o n g   e n o u g h   t o   c o v e r   t h e   w o r s t   c a s e   s t a r t u p   t i m e .   S o ,   t h e   p r e v i o u s   e x a m p l e   w o u l d   b e c o m e :   p o r t s :   -   n a m e :   l i v e n e s s - p o r t   c o n t a i n e r P o r t :   8 0 8 0   l i v e n e s s P r o b e :   h t t p G e t :   p a t h :   / h e a l t h z   p o r t :   l i v e n e s s - p o r t   f a i l u r e T h r e s h o l d :   1   p e r i o d S e c o n d s :   1 0   s t a r t u p P r o b e :   h t t p G e t :   p a t h :   / h e a l t h z   p o r t :   l i v e n e s s - p o r t   f a i l u r e T h r e s h o l d :   3 0   p e r i o d S e c o n d s :   1 0   T h a n k s   t o   t h e   s t a r t u p   p r o b e ,   t h e   a p p l i c a t i o n   w i l l   h a v e   a   m a x i m u m   o f   5   m i n u t e s   ( 3 0   *   1 0   =   3 0 0 s )   t o   f i n i s h   i t s   s t a r t u p .   O n c e   t h e   s t a r t u p   p r o b e   h a s   s u c c e e d e d   o n c e ,   t h e   l i v e n e s s   p r o b e   t a k e s   o v e r   t o   p r o v i d e   a   f a s t   r e s p o n s e   t o   c o n t a i n e r   d e a d l o c k s .   I f   t h e   s t a r t u p   p r o b e   n e v e r   s u c c e e d s ,   t h ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/",
    "id": "k8s_00137_section_2_2516"
  },
  {
    "question": "What is Define readiness probes?",
    "answer": "S o m e t i m e s ,   a p p l i c a t i o n s   a r e   t e m p o r a r i l y   u n a b l e   t o   s e r v e   t r a f f i c .   F o r   e x a m p l e ,   a n   a p p l i c a t i o n   m i g h t   n e e d   t o   l o a d   l a r g e   d a t a   o r   c o n f i g u r a t i o n   f i l e s   d u r i n g   s t a r t u p ,   o r   d e p e n d   o n   e x t e r n a l   s e r v i c e s   a f t e r   s t a r t u p .   I n   s u c h   c a s e s ,   y o u   d o n ' t   w a n t   t o   k i l l   t h e   a p p l i c a t i o n ,   b u t   y o u   d o n ' t   w a n t   t o   s e n d   i t   r e q u e s t s   e i t h e r .   K u b e r n e t e s   p r o v i d e s   r e a d i n e s s   p r o b e s   t o   d e t e c t   a n d   m i t i g a t e   t h e s e   s i t u a t i o n s .   A   p o d   w i t h   c o n t a i n e r s   r e p o r t i n g   t h a t   t h e y   a r e   n o t   r e a d y   d o e s   n o t   r e c e i v e   t r a f f i c   t h r o u g h   K u b e r n e t e s   S e r v i c e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/",
    "id": "k8s_00137_section_2_2517"
  },
  {
    "question": "What is Caution:?",
    "answer": "R e a d i n e s s   p r o b e s   a r e   c o n f i g u r e d   s i m i l a r l y   t o   l i v e n e s s   p r o b e s .   T h e   o n l y   d i f f e r e n c e   i s   t h a t   y o u   u s e   t h e   r e a d i n e s s P r o b e   f i e l d   i n s t e a d   o f   t h e   l i v e n e s s P r o b e   f i e l d .   r e a d i n e s s P r o b e :   e x e c :   c o m m a n d :   -   c a t   -   / t m p / h e a l t h y   i n i t i a l D e l a y S e c o n d s :   5   p e r i o d S e c o n d s :   5   C o n f i g u r a t i o n   f o r   H T T P   a n d   T C P   r e a d i n e s s   p r o b e s   a l s o   r e m a i n s   i d e n t i c a l   t o   l i v e n e s s   p r o b e s .   R e a d i n e s s   a n d   l i v e n e s s   p r o b e s   c a n   b e   u s e d   i n   p a r a l l e l   f o r   t h e   s a m e   c o n t a i n e r .   U s i n g   b o t h   c a n   e n s u r e   t h a t   t r a f f i c   d o e s   n o t   r e a c h   a   c o n t a i n e r   t h a t   i s   n o t   r e a d y   f o r   i t ,   a n d   t h a t   c o n t a i n e r s   a r e   r e s t a r t e d   w h e n   t h e y   f a i l .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/",
    "id": "k8s_00137_section_4_2518"
  },
  {
    "question": "What is Configure Probes?",
    "answer": "P r o b e s   h a v e   a   n u m b e r   o f   f i e l d s   t h a t   y o u   c a n   u s e   t o   m o r e   p r e c i s e l y   c o n t r o l   t h e   b e h a v i o r   o f   s t a r t u p ,   l i v e n e s s   a n d   r e a d i n e s s   c h e c k s :   i n i t i a l D e l a y S e c o n d s :   N u m b e r   o f   s e c o n d s   a f t e r   t h e   c o n t a i n e r   h a s   s t a r t e d   b e f o r e   s t a r t u p ,   l i v e n e s s   o r   r e a d i n e s s   p r o b e s   a r e   i n i t i a t e d .   I f   a   s t a r t u p   p r o b e   i s   d e f i n e d ,   l i v e n e s s   a n d   r e a d i n e s s   p r o b e   d e l a y s   d o   n o t   b e g i n   u n t i l   t h e   s t a r t u p   p r o b e   h a s   s u c c e e d e d .   I f   t h e   v a l u e   o f   p e r i o d S e c o n d s   i s   g r e a t e r   t h a n   i n i t i a l D e l a y S e c o n d s   t h e n   t h e   i n i t i a l D e l a y S e c o n d s   w i l l   b e   i g n o r e d .   D e f a u l t s   t o   0   s e c o n d s .   M i n i m u m   v a l u e   i s   0 . p e r i o d S e c o n d s :   H o w   o f t e n   ( i n   s e c o n d s )   t o   p e r f o r m   t h e   p r o b e .   D e f a u l t   t o   1 0   s e c o n d s .   T h e   m i n i m u m   v a l u e   i s   1 .   W h i l e   a   c o n t a i n e r   i s   n o t   R e a d y ,   t h e   R e a d i n e s s P r o b e   m a y   b e   e x e c u t e d   a t   t i m e s   o t h e r   t h a n   t h e   c o n f i g u r e d   p e r i o d S e c o n d s   i n t e r v a l .   T h i s   i s   t o   m a k e   t h e   P o d   r e a d y   f a s t e r . t i m e o u t S e c o n d s :   N u m b e r   o f   s e c o n d s   a f t e r   w h i c h   t h e   p r o b e   t i m e s   o u t .   D e f a u l t s   t o   1   s e c o n d .   M i n i m u m   v a l u e   i s   1 . s u c c e s s T h r e s h o l d :   M i n i m u m   c o n s e c u t i v e   s u c c e s s e s   f o r   t h e   p r o b e   t o   b e   c o n s i d e r e d   s u c c e s s f u ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/",
    "id": "k8s_00137_section_2_2519"
  },
  {
    "question": "What is HTTP probes?",
    "answer": "H T T P   p r o b e s   h a v e   a d d i t i o n a l   f i e l d s   t h a t   c a n   b e   s e t   o n   h t t p G e t :   h o s t :   H o s t   n a m e   t o   c o n n e c t   t o ,   d e f a u l t s   t o   t h e   p o d   I P .   Y o u   p r o b a b l y   w a n t   t o   s e t   \" H o s t \"   i n   h t t p H e a d e r s   i n s t e a d . s c h e m e :   S c h e m e   t o   u s e   f o r   c o n n e c t i n g   t o   t h e   h o s t   ( H T T P   o r   H T T P S ) .   D e f a u l t s   t o   \" H T T P \" . p a t h :   P a t h   t o   a c c e s s   o n   t h e   H T T P   s e r v e r .   D e f a u l t s   t o   \" / \" . h t t p H e a d e r s :   C u s t o m   h e a d e r s   t o   s e t   i n   t h e   r e q u e s t .   H T T P   a l l o w s   r e p e a t e d   h e a d e r s . p o r t :   N a m e   o r   n u m b e r   o f   t h e   p o r t   t o   a c c e s s   o n   t h e   c o n t a i n e r .   N u m b e r   m u s t   b e   i n   t h e   r a n g e   1   t o   6 5 5 3 5 .   F o r   a n   H T T P   p r o b e ,   t h e   k u b e l e t   s e n d s   a n   H T T P   r e q u e s t   t o   t h e   s p e c i f i e d   p o r t   a n d   p a t h   t o   p e r f o r m   t h e   c h e c k .   T h e   k u b e l e t   s e n d s   t h e   p r o b e   t o   t h e   P o d ' s   I P   a d d r e s s ,   u n l e s s   t h e   a d d r e s s   i s   o v e r r i d d e n   b y   t h e   o p t i o n a l   h o s t   f i e l d   i n   h t t p G e t .   I f   s c h e m e   f i e l d   i s   s e t   t o   H T T P S ,   t h e   k u b e l e t   s e n d s   a n   H T T P S   r e q u e s t   s k i p p i n g   t h e   c e r t i f i c a t e   v e r i f i c a t i o n .   I n   m o s t   s c e n a r i o s ,   y o u   d o   n o t   w a n t   t o   s e t   t h e   h o s t   f i e l d .   H e r e ' s   o n e   s c e n a r i o   w h e r e   y o u   w o u l d   s e t   i t .   S u p p o s e   t h e   c o n t a i n e r   l i s t e n s   o n   1 2 7 . 0 . 0 . 1   a n d   t h e   P o d ' s   h o s t N e t ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/",
    "id": "k8s_00137_section_3_2520"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   t h e   k u b e l e t   p r o b e s   a   P o d   u s i n g   H T T P ,   i t   o n l y   f o l l o w s   r e d i r e c t s   i f   t h e   r e d i r e c t   i s   t o   t h e   s a m e   h o s t .   I f   t h e   k u b e l e t   r e c e i v e s   1 1   o r   m o r e   r e d i r e c t s   d u r i n g   p r o b i n g ,   t h e   p r o b e   i s   c o n s i d e r e d   s u c c e s s f u l   a n d   a   r e l a t e d   E v e n t   i s   c r e a t e d :   E v e n t s :   T y p e   R e a s o n   A g e   F r o m   M e s s a g e   - - - -   - - - - - -   - - - -   - - - -   - - - - - - -   N o r m a l   S c h e d u l e d   2 9 m   d e f a u l t - s c h e d u l e r   S u c c e s s f u l l y   a s s i g n e d   d e f a u l t / h t t p b i n - 7 b 8 b c 9 c b 8 5 - b j z w n   t o   d a o c l o u d   N o r m a l   P u l l i n g   2 9 m   k u b e l e t   P u l l i n g   i m a g e   \" d o c k e r . i o / k e n n e t h r e i t z / h t t p b i n \"   N o r m a l   P u l l e d   2 4 m   k u b e l e t   S u c c e s s f u l l y   p u l l e d   i m a g e   \" d o c k e r . i o / k e n n e t h r e i t z / h t t p b i n \"   i n   5 m 1 2 . 4 0 2 7 3 5 2 1 3 s   N o r m a l   C r e a t e d   2 4 m   k u b e l e t   C r e a t e d   c o n t a i n e r   h t t p b i n   N o r m a l   S t a r t e d   2 4 m   k u b e l e t   S t a r t e d   c o n t a i n e r   h t t p b i n   W a r n i n g   P r o b e W a r n i n g   4 m 1 1 s   ( x 1 1 9 7   o v e r   2 4 m )   k u b e l e t   R e a d i n e s s   p r o b e   w a r n i n g :   P r o b e   t e r m i n a t e d   r e d i r e c t s   I f   t h e   k u b e l e t   r e c e i v e s   a   r e d i r e c t   w h e r e   t h e   h o s t n a m e   i s   d i f f e r e n t   f r o m   t h e   r e q u e s t ,   t h e   o u t c o m e   o f   t h e   p r o b e   i s   t r e a t e d   a s   s u c c e s s f u l   a n d   k u b e l e t   c r e a t e s   a n   e v e n t   t o   r e p o r t   t h e   r e d i r e c t   f a i l u r e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/",
    "id": "k8s_00137_section_4_2521"
  },
  {
    "question": "What is TCP probes?",
    "answer": "F o r   a   T C P   p r o b e ,   t h e   k u b e l e t   m a k e s   t h e   p r o b e   c o n n e c t i o n   a t   t h e   n o d e ,   n o t   i n   t h e   P o d ,   w h i c h   m e a n s   t h a t   y o u   c a n   n o t   u s e   a   s e r v i c e   n a m e   i n   t h e   h o s t   p a r a m e t e r   s i n c e   t h e   k u b e l e t   i s   u n a b l e   t o   r e s o l v e   i t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/",
    "id": "k8s_00137_section_3_2522"
  },
  {
    "question": "What is Probe-level terminationGracePeriodSeconds?",
    "answer": "I n   1 . 2 5   a n d   a b o v e ,   u s e r s   c a n   s p e c i f y   a   p r o b e - l e v e l   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   a s   p a r t   o f   t h e   p r o b e   s p e c i f i c a t i o n .   W h e n   b o t h   a   p o d -   a n d   p r o b e - l e v e l   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   a r e   s e t ,   t h e   k u b e l e t   w i l l   u s e   t h e   p r o b e - l e v e l   v a l u e .   W h e n   s e t t i n g   t h e   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s ,   p l e a s e   n o t e   t h e   f o l l o w i n g :   T h e   k u b e l e t   a l w a y s   h o n o r s   t h e   p r o b e - l e v e l   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   f i e l d   i f   i t   i s   p r e s e n t   o n   a   P o d . I f   y o u   h a v e   e x i s t i n g   P o d s   w h e r e   t h e   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   f i e l d   i s   s e t   a n d   y o u   n o   l o n g e r   w i s h   t o   u s e   p e r - p r o b e   t e r m i n a t i o n   g r a c e   p e r i o d s ,   y o u   m u s t   d e l e t e   t h o s e   e x i s t i n g   P o d s .   T h e   k u b e l e t   a l w a y s   h o n o r s   t h e   p r o b e - l e v e l   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   f i e l d   i f   i t   i s   p r e s e n t   o n   a   P o d .   I f   y o u   h a v e   e x i s t i n g   P o d s   w h e r e   t h e   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   f i e l d   i s   s e t   a n d   y o u   n o   l o n g e r   w i s h   t o   u s e   p e r - p r o b e   t e r m i n a t i o n   g r a c e   p e r i o d s ,   y o u   m u s t   d e l e t e   t h o s e   e x i s t i n g   P o d s .   F o r   e x a m p l e :   s p e c :   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s :   3 6 0 0   #   p o d - l e v e l   c o n t a i n e r s :   -   n a m e :   t e s t   i m a g e :   . . .   p o r t s :   -   n a m e : ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/",
    "id": "k8s_00137_section_3_2523"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   C o n t a i n e r   P r o b e s .   Y o u   c a n   a l s o   r e a d   t h e   A P I   r e f e r e n c e s   f o r :   P o d ,   a n d   s p e c i f i c a l l y : c o n t a i n e r ( s ) p r o b e ( s )   c o n t a i n e r ( s ) p r o b e ( s )",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/",
    "id": "k8s_00137_section_2_2524"
  },
  {
    "question": "What is Limit Ranges?",
    "answer": "Limit RangesBy default, containers run with unbounded compute resources on a Kubernetes cluster. Using Kubernetes resource quotas, administrators (also termed cluster operators) can restrict consumption and creation of cluster resources (such as CPU time, memory, and persistent storage) within a specified namespace. Within a namespace, a Pod can consume as much CPU and memory as is allowed by the ResourceQuotas that apply to that namespace. As a cluster operator, or as a namespace-level administrator, you might also be concerned about making sure that a single object cannot monopolize all available resources within a namespace.A LimitRange is a policy to constrain the resource allocations (limits and requests) that you can specify for each applicable object kind (such as Pod or PersistentVolumeClaim) in a namespace.A LimitRange provides constraints that can:Enforce minimum and maximum compute resources usage per Pod or Container in a namespace.Enforce minimum and maximum storage request per PersistentVolumeClaim in a namespace.Enforce a ratio between request and limit for a resource in a namespace.Set default request/limit for compute resources in a namespace and automatically inject them to Containers at runtime.Kubernetes constrains resource allocations to Pods in a particular namespace whenever there is at least one LimitRange object in that namespace.The name of a LimitRange object must be a valid DNS subdomain name.Constraints on resource limits and requestsThe administrator creates a LimitRange in a namespace.Users create (or try to create) objects in that namespace, such as Pods or PersistentVolumeClaims.First, the LimitRange admission controller applies default request and limit values for all Pods (and their containers) that do not set compute resource requirements.Second, the LimitRange tracks usage to ensure it does not exceed resource minimum, maximum and ratio defined in any LimitRange present in the namespace.If you attempt to create or update an object (Pod or PersistentVolumeClaim) that violates a LimitRange constraint, your request to the API server will fail with anHTTP status code 403 Forbidden and a message explaining the constraint that has been violated.If you add a LimitRange in a namespace that applies to compute-related resources such as cpu and memory, you must specify requests or limits for those values. Otherwise, the system may reject Pod creation.LimitRange validations occur only at Pod admission stage, not on running Pods. If you add or modify a LimitRange, the Pods that already exist in that namespace continue unchanged.If two or more LimitRange objects exist in the namespace, it is not deterministic which default value will be applied.LimitRange and admission checks for PodsA LimitRange does not check the consistency of the default values it applies. This means that a default value for the limit that is set by LimitRange may be less than the request value specified for the container in the spec that a client submi",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/limit-range/",
    "id": "k8s_00138_qa_2525"
  },
  {
    "question": "How does Limit Ranges work?",
    "answer": "Limit RangesBy default, containers run with unbounded compute resources on a Kubernetes cluster. Using Kubernetes resource quotas, administrators (also termed cluster operators) can restrict consumption and creation of cluster resources (such as CPU time, memory, and persistent storage) within a specified namespace. Within a namespace, a Pod can consume as much CPU and memory as is allowed by the ResourceQuotas that apply to that namespace. As a cluster operator, or as a namespace-level administrator, you might also be concerned about making sure that a single object cannot monopolize all available resources within a namespace.A LimitRange is a policy to constrain the resource allocations (limits and requests) that you can specify for each applicable object kind (such as Pod or PersistentVolumeClaim) in a namespace.A LimitRange provides constraints that can:Enforce minimum and maximum compute resources usage per Pod or Container in a namespace.Enforce minimum and maximum storage request per PersistentVolumeClaim in a namespace.Enforce a ratio between request and limit for a resource in a namespace.Set default request/limit for compute resources in a namespace and automatically inject them to Containers at runtime.Kubernetes constrains resource allocations to Pods in a particular namespace whenever there is at least one LimitRange object in that namespace.The name of a LimitRange object must be a valid DNS subdomain name.Constraints on resource limits and requestsThe administrator creates a LimitRange in a namespace.Users create (or try to create) objects in that namespace, such as Pods or PersistentVolumeClaims.First, the LimitRange admission controller applies default request and limit values for all Pods (and their containers) that do not set compute resource requirements.Second, the LimitRange tracks usage to ensure it does not exceed resource minimum, maximum and ratio defined in any LimitRange present in the namespace.If you attempt to create or update an object (Pod or PersistentVolumeClaim) that violates a LimitRange constraint, your request to the API server will fail with anHTTP status code 403 Forbidden and a message explaining the constraint that has been violated.If you add a LimitRange in a namespace that applies to compute-related resources such as cpu and memory, you must specify requests or limits for those values. Otherwise, the system may reject Pod creation.LimitRange validations occur only at Pod admission stage, not on running Pods. If you add or modify a LimitRange, the Pods that already exist in that namespace continue unchanged.If two or more LimitRange objects exist in the namespace, it is not deterministic which default value will be applied.LimitRange and admission checks for PodsA LimitRange does not check the consistency of the default values it applies. This means that a default value for the limit that is set by LimitRange may be less than the request value specified for the container in the spec that a client submi",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/limit-range/",
    "id": "k8s_00138_qa_2526"
  },
  {
    "question": "When would you use Limit Ranges?",
    "answer": "Limit RangesBy default, containers run with unbounded compute resources on a Kubernetes cluster. Using Kubernetes resource quotas, administrators (also termed cluster operators) can restrict consumption and creation of cluster resources (such as CPU time, memory, and persistent storage) within a specified namespace. Within a namespace, a Pod can consume as much CPU and memory as is allowed by the ResourceQuotas that apply to that namespace. As a cluster operator, or as a namespace-level administrator, you might also be concerned about making sure that a single object cannot monopolize all available resources within a namespace.A LimitRange is a policy to constrain the resource allocations (limits and requests) that you can specify for each applicable object kind (such as Pod or PersistentVolumeClaim) in a namespace.A LimitRange provides constraints that can:Enforce minimum and maximum compute resources usage per Pod or Container in a namespace.Enforce minimum and maximum storage request per PersistentVolumeClaim in a namespace.Enforce a ratio between request and limit for a resource in a namespace.Set default request/limit for compute resources in a namespace and automatically inject them to Containers at runtime.Kubernetes constrains resource allocations to Pods in a particular namespace whenever there is at least one LimitRange object in that namespace.The name of a LimitRange object must be a valid DNS subdomain name.Constraints on resource limits and requestsThe administrator creates a LimitRange in a namespace.Users create (or try to create) objects in that namespace, such as Pods or PersistentVolumeClaims.First, the LimitRange admission controller applies default request and limit values for all Pods (and their containers) that do not set compute resource requirements.Second, the LimitRange tracks usage to ensure it does not exceed resource minimum, maximum and ratio defined in any LimitRange present in the namespace.If you attempt to create or update an object (Pod or PersistentVolumeClaim) that violates a LimitRange constraint, your request to the API server will fail with anHTTP status code 403 Forbidden and a message explaining the constraint that has been violated.If you add a LimitRange in a namespace that applies to compute-related resources such as cpu and memory, you must specify requests or limits for those values. Otherwise, the system may reject Pod creation.LimitRange validations occur only at Pod admission stage, not on running Pods. If you add or modify a LimitRange, the Pods that already exist in that namespace continue unchanged.If two or more LimitRange objects exist in the namespace, it is not deterministic which default value will be applied.LimitRange and admission checks for PodsA LimitRange does not check the consistency of the default values it applies. This means that a default value for the limit that is set by LimitRange may be less than the request value specified for the container in the spec that a client submi",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/limit-range/",
    "id": "k8s_00138_qa_2527"
  },
  {
    "question": "What are the benefits of Limit Ranges?",
    "answer": "Limit RangesBy default, containers run with unbounded compute resources on a Kubernetes cluster. Using Kubernetes resource quotas, administrators (also termed cluster operators) can restrict consumption and creation of cluster resources (such as CPU time, memory, and persistent storage) within a specified namespace. Within a namespace, a Pod can consume as much CPU and memory as is allowed by the ResourceQuotas that apply to that namespace. As a cluster operator, or as a namespace-level administrator, you might also be concerned about making sure that a single object cannot monopolize all available resources within a namespace.A LimitRange is a policy to constrain the resource allocations (limits and requests) that you can specify for each applicable object kind (such as Pod or PersistentVolumeClaim) in a namespace.A LimitRange provides constraints that can:Enforce minimum and maximum compute resources usage per Pod or Container in a namespace.Enforce minimum and maximum storage request per PersistentVolumeClaim in a namespace.Enforce a ratio between request and limit for a resource in a namespace.Set default request/limit for compute resources in a namespace and automatically inject them to Containers at runtime.Kubernetes constrains resource allocations to Pods in a particular namespace whenever there is at least one LimitRange object in that namespace.The name of a LimitRange object must be a valid DNS subdomain name.Constraints on resource limits and requestsThe administrator creates a LimitRange in a namespace.Users create (or try to create) objects in that namespace, such as Pods or PersistentVolumeClaims.First, the LimitRange admission controller applies default request and limit values for all Pods (and their containers) that do not set compute resource requirements.Second, the LimitRange tracks usage to ensure it does not exceed resource minimum, maximum and ratio defined in any LimitRange present in the namespace.If you attempt to create or update an object (Pod or PersistentVolumeClaim) that violates a LimitRange constraint, your request to the API server will fail with anHTTP status code 403 Forbidden and a message explaining the constraint that has been violated.If you add a LimitRange in a namespace that applies to compute-related resources such as cpu and memory, you must specify requests or limits for those values. Otherwise, the system may reject Pod creation.LimitRange validations occur only at Pod admission stage, not on running Pods. If you add or modify a LimitRange, the Pods that already exist in that namespace continue unchanged.If two or more LimitRange objects exist in the namespace, it is not deterministic which default value will be applied.LimitRange and admission checks for PodsA LimitRange does not check the consistency of the default values it applies. This means that a default value for the limit that is set by LimitRange may be less than the request value specified for the container in the spec that a client submi",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/limit-range/",
    "id": "k8s_00138_qa_2528"
  },
  {
    "question": "What is Limit Ranges?",
    "answer": "B y   d e f a u l t ,   c o n t a i n e r s   r u n   w i t h   u n b o u n d e d   c o m p u t e   r e s o u r c e s   o n   a   K u b e r n e t e s   c l u s t e r .   U s i n g   K u b e r n e t e s   r e s o u r c e   q u o t a s ,   a d m i n i s t r a t o r s   ( a l s o   t e r m e d   c l u s t e r   o p e r a t o r s )   c a n   r e s t r i c t   c o n s u m p t i o n   a n d   c r e a t i o n   o f   c l u s t e r   r e s o u r c e s   ( s u c h   a s   C P U   t i m e ,   m e m o r y ,   a n d   p e r s i s t e n t   s t o r a g e )   w i t h i n   a   s p e c i f i e d   n a m e s p a c e .   W i t h i n   a   n a m e s p a c e ,   a   P o d   c a n   c o n s u m e   a s   m u c h   C P U   a n d   m e m o r y   a s   i s   a l l o w e d   b y   t h e   R e s o u r c e Q u o t a s   t h a t   a p p l y   t o   t h a t   n a m e s p a c e .   A s   a   c l u s t e r   o p e r a t o r ,   o r   a s   a   n a m e s p a c e - l e v e l   a d m i n i s t r a t o r ,   y o u   m i g h t   a l s o   b e   c o n c e r n e d   a b o u t   m a k i n g   s u r e   t h a t   a   s i n g l e   o b j e c t   c a n n o t   m o n o p o l i z e   a l l   a v a i l a b l e   r e s o u r c e s   w i t h i n   a   n a m e s p a c e .   A   L i m i t R a n g e   i s   a   p o l i c y   t o   c o n s t r a i n   t h e   r e s o u r c e   a l l o c a t i o n s   ( l i m i t s   a n d   r e q u e s t s )   t h a t   y o u   c a n   s p e c i f y   f o r   e a c h   a p p l i c a b l e   o b j e c t   k i n d   ( s u c h   a s   P o d   o r   P e r s i s t e n t V o l u m e C l a i m )   i n   a   n a m e s p a c e .   A   L i m i t R a n g e   p r o v i d e s   c o n s t r a i n t s   t h a t   c a n :   E n f o r c e   m i n i m u m   a n d   m a x i m u m   c o m p u t e   r e s o u r c e s   u s a g e   p e r   P o d   o r   C o n t a i n e r   i n   a   n a m e s p a c e . E n f o r c e   m i n i m u m   a n d   m a x i m u m   s t o r a g e   r e q u e s t   p e r   P e r ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/limit-range/",
    "id": "k8s_00138_section_1_2529"
  },
  {
    "question": "What is Constraints on resource limits and requests?",
    "answer": "T h e   a d m i n i s t r a t o r   c r e a t e s   a   L i m i t R a n g e   i n   a   n a m e s p a c e . U s e r s   c r e a t e   ( o r   t r y   t o   c r e a t e )   o b j e c t s   i n   t h a t   n a m e s p a c e ,   s u c h   a s   P o d s   o r   P e r s i s t e n t V o l u m e C l a i m s . F i r s t ,   t h e   L i m i t R a n g e   a d m i s s i o n   c o n t r o l l e r   a p p l i e s   d e f a u l t   r e q u e s t   a n d   l i m i t   v a l u e s   f o r   a l l   P o d s   ( a n d   t h e i r   c o n t a i n e r s )   t h a t   d o   n o t   s e t   c o m p u t e   r e s o u r c e   r e q u i r e m e n t s . S e c o n d ,   t h e   L i m i t R a n g e   t r a c k s   u s a g e   t o   e n s u r e   i t   d o e s   n o t   e x c e e d   r e s o u r c e   m i n i m u m ,   m a x i m u m   a n d   r a t i o   d e f i n e d   i n   a n y   L i m i t R a n g e   p r e s e n t   i n   t h e   n a m e s p a c e . I f   y o u   a t t e m p t   t o   c r e a t e   o r   u p d a t e   a n   o b j e c t   ( P o d   o r   P e r s i s t e n t V o l u m e C l a i m )   t h a t   v i o l a t e s   a   L i m i t R a n g e   c o n s t r a i n t ,   y o u r   r e q u e s t   t o   t h e   A P I   s e r v e r   w i l l   f a i l   w i t h   a n H T T P   s t a t u s   c o d e   4 0 3   F o r b i d d e n   a n d   a   m e s s a g e   e x p l a i n i n g   t h e   c o n s t r a i n t   t h a t   h a s   b e e n   v i o l a t e d . I f   y o u   a d d   a   L i m i t R a n g e   i n   a   n a m e s p a c e   t h a t   a p p l i e s   t o   c o m p u t e - r e l a t e d   r e s o u r c e s   s u c h   a s   c p u   a n d   m e m o r y ,   y o u   m u s t   s p e c i f y   r e q u e s t s   o r   l i m i t s   f o r   t h o s e   v a l u e s .   O t h e r w i s e ,   t h e   s y s t e m   m a y   r e j e c t   P o d   c r e a t i o n . L i m i t R a n g e   v a l i d a t i o n s   o c c u r   o n l y   a t   P o d   a d m i s s i o n   s t a g e ,   n o t   o n   r u n ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/limit-range/",
    "id": "k8s_00138_section_2_2530"
  },
  {
    "question": "What is LimitRange and admission checks for Pods?",
    "answer": "A   L i m i t R a n g e   d o e s   n o t   c h e c k   t h e   c o n s i s t e n c y   o f   t h e   d e f a u l t   v a l u e s   i t   a p p l i e s .   T h i s   m e a n s   t h a t   a   d e f a u l t   v a l u e   f o r   t h e   l i m i t   t h a t   i s   s e t   b y   L i m i t R a n g e   m a y   b e   l e s s   t h a n   t h e   r e q u e s t   v a l u e   s p e c i f i e d   f o r   t h e   c o n t a i n e r   i n   t h e   s p e c   t h a t   a   c l i e n t   s u b m i t s   t o   t h e   A P I   s e r v e r .   I f   t h a t   h a p p e n s ,   t h e   f i n a l   P o d   w i l l   n o t   b e   s c h e d u l a b l e .   F o r   e x a m p l e ,   y o u   d e f i n e   a   L i m i t R a n g e   w i t h   b e l o w   m a n i f e s t : N o t e : T h e   f o l l o w i n g   e x a m p l e s   o p e r a t e   w i t h i n   t h e   d e f a u l t   n a m e s p a c e   o f   y o u r   c l u s t e r ,   a s   t h e   n a m e s p a c e   p a r a m e t e r   i s   u n d e f i n e d   a n d   t h e   L i m i t R a n g e   s c o p e   i s   l i m i t e d   t o   t h e   n a m e s p a c e   l e v e l .   T h i s   i m p l i e s   t h a t   a n y   r e f e r e n c e s   o r   o p e r a t i o n s   w i t h i n   t h e s e   e x a m p l e s   w i l l   i n t e r a c t   w i t h   e l e m e n t s   w i t h i n   t h e   d e f a u l t   n a m e s p a c e   o f   y o u r   c l u s t e r .   Y o u   c a n   o v e r r i d e   t h e   o p e r a t i n g   n a m e s p a c e   b y   c o n f i g u r i n g   n a m e s p a c e   i n   t h e   m e t a d a t a . n a m e s p a c e   f i e l d .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/limit-range/",
    "id": "k8s_00138_section_2_2531"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   L i m i t R a n g e   m e t a d a t a :   n a m e :   c p u - r e s o u r c e - c o n s t r a i n t   s p e c :   l i m i t s :   -   d e f a u l t :   #   t h i s   s e c t i o n   d e f i n e s   d e f a u l t   l i m i t s   c p u :   5 0 0 m   d e f a u l t R e q u e s t :   #   t h i s   s e c t i o n   d e f i n e s   d e f a u l t   r e q u e s t s   c p u :   5 0 0 m   m a x :   #   m a x   a n d   m i n   d e f i n e   t h e   l i m i t   r a n g e   c p u :   \" 1 \"   m i n :   c p u :   1 0 0 m   t y p e :   C o n t a i n e r   a l o n g   w i t h   a   P o d   t h a t   d e c l a r e s   a   C P U   r e s o u r c e   r e q u e s t   o f   7 0 0 m ,   b u t   n o t   a   l i m i t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e x a m p l e - c o n f l i c t - w i t h - l i m i t r a n g e - c p u   s p e c :   c o n t a i n e r s :   -   n a m e :   d e m o   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 8   r e s o u r c e s :   r e q u e s t s :   c p u :   7 0 0 m   t h e n   t h a t   P o d   w i l l   n o t   b e   s c h e d u l e d ,   f a i l i n g   w i t h   a n   e r r o r   s i m i l a r   t o :   P o d   \" e x a m p l e - c o n f l i c t - w i t h - l i m i t r a n g e - c p u \"   i s   i n v a l i d :   s p e c . c o n t a i n e r s [ 0 ] . r e s o u r c e s . r e q u e s t s :   I n v a l i d   v a l u e :   \" 7 0 0 m \" :   m u s t   b e   l e s s   t h a n   o r   e q u a l   t o   c p u   l i m i t   I f   y o u   s e t   b o t h   r e q u e s t   a n d   l i m i t ,   t h e n   t h a t   n e w   P o d   w i l l   b e   s c h e d u l e d   s u c c e s s f u l l y   e v e n   w i t h   t h e   s a m e   L i m i t R a n g e   i n   p l a c e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e x a m p l e - n o - c o n f l i c t - w i t h - l i m i t r a n g e - c p u   s p e c :   c o n t a i n e r s :   -   n ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/limit-range/",
    "id": "k8s_00138_section_4_2532"
  },
  {
    "question": "What is Example resource constraints?",
    "answer": "E x a m p l e s   o f   p o l i c i e s   t h a t   c o u l d   b e   c r e a t e d   u s i n g   L i m i t R a n g e   a r e :   I n   a   2   n o d e   c l u s t e r   w i t h   a   c a p a c i t y   o f   8   G i B   R A M   a n d   1 6   c o r e s ,   c o n s t r a i n   P o d s   i n   a   n a m e s p a c e   t o   r e q u e s t   1 0 0 m   o f   C P U   w i t h   a   m a x   l i m i t   o f   5 0 0 m   f o r   C P U   a n d   r e q u e s t   2 0 0 M i   f o r   M e m o r y   w i t h   a   m a x   l i m i t   o f   6 0 0 M i   f o r   M e m o r y . D e f i n e   d e f a u l t   C P U   l i m i t   a n d   r e q u e s t   t o   1 5 0 m   a n d   m e m o r y   d e f a u l t   r e q u e s t   t o   3 0 0 M i   f o r   C o n t a i n e r s   s t a r t e d   w i t h   n o   c p u   a n d   m e m o r y   r e q u e s t s   i n   t h e i r   s p e c s .   I n   t h e   c a s e   w h e r e   t h e   t o t a l   l i m i t s   o f   t h e   n a m e s p a c e   i s   l e s s   t h a n   t h e   s u m   o f   t h e   l i m i t s   o f   t h e   P o d s / C o n t a i n e r s ,   t h e r e   m a y   b e   c o n t e n t i o n   f o r   r e s o u r c e s .   I n   t h i s   c a s e ,   t h e   C o n t a i n e r s   o r   P o d s   w i l l   n o t   b e   c r e a t e d .   N e i t h e r   c o n t e n t i o n   n o r   c h a n g e s   t o   a   L i m i t R a n g e   w i l l   a f f e c t   a l r e a d y   c r e a t e d   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/limit-range/",
    "id": "k8s_00138_section_2_2533"
  },
  {
    "question": "What is What's next?",
    "answer": "F o r   e x a m p l e s   o n   u s i n g   l i m i t s ,   s e e :   h o w   t o   c o n f i g u r e   m i n i m u m   a n d   m a x i m u m   C P U   c o n s t r a i n t s   p e r   n a m e s p a c e . h o w   t o   c o n f i g u r e   m i n i m u m   a n d   m a x i m u m   M e m o r y   c o n s t r a i n t s   p e r   n a m e s p a c e . h o w   t o   c o n f i g u r e   d e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   p e r   n a m e s p a c e . h o w   t o   c o n f i g u r e   d e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   p e r   n a m e s p a c e . h o w   t o   c o n f i g u r e   m i n i m u m   a n d   m a x i m u m   S t o r a g e   c o n s u m p t i o n   p e r   n a m e s p a c e . a   d e t a i l e d   e x a m p l e   o n   c o n f i g u r i n g   q u o t a   p e r   n a m e s p a c e .   R e f e r   t o   t h e   L i m i t R a n g e r   d e s i g n   d o c u m e n t   f o r   c o n t e x t   a n d   h i s t o r i c a l   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/limit-range/",
    "id": "k8s_00138_section_2_2534"
  },
  {
    "question": "What is Apply Pod Security Standards at the Namespace Level?",
    "answer": "Apply Pod Security Standards at the Namespace LevelNoteThis tutorial applies only for new clusters.Pod Security Admission is an admission controller that applies Pod Security Standards when pods are created. It is a feature GA'ed in v1.25. In this tutorial, you will enforce the baseline Pod Security Standard, one namespace at a time.You can also apply Pod Security Standards to multiple namespaces at once at the cluster level. For instructions, refer to Apply Pod Security Standards at the cluster level.Before you beginInstall the following on your workstation:kindkubectlCreate clusterCreate a kind cluster as follows:kind create cluster --name psa-ns-level The output is similar to this:Creating cluster \"psa-ns-level\" ... ✓ Ensuring node image (kindest/node:v1.34.0) 🖼 ✓ Preparing nodes 📦 ✓ Writing configuration 📜 ✓ Starting control-plane 🕹️ ✓ Installing CNI 🔌 ✓ Installing StorageClass 💾 Set kubectl context to \"kind-psa-ns-level\" You can now use your cluster with: kubectl cluster-info --context kind-psa-ns-level Not sure what to do next? 😅 Check out https://kind.sigs.k8s.io/docs/user/quick-start/ Set the kubectl context to the new cluster:kubectl cluster-info --context kind-psa-ns-level The output is similar to this:Kubernetes control plane is running at https://127.0.0.1:50996 CoreDNS is running at https://127.0.0.1:50996/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'. Create a namespaceCreate a new namespace called example:kubectl create ns example The output is similar to this:namespace/example created Enable Pod Security Standards checking for that namespaceEnable Pod Security Standards on this namespace using labels supported by built-in Pod Security Admission. In this step you will configure a check to warn on Pods that don't meet the latest version of the baseline pod security standard.kubectl label --overwrite ns example \\ pod-security.kubernetes.io/warn=baseline \\ pod-security.kubernetes.io/warn-version=latest You can configure multiple pod security standard checks on any namespace, using labels. The following command will enforce the baseline Pod Security Standard, but warn and audit for restricted Pod Security Standards as per the latest version (default value)kubectl label --overwrite ns example \\ pod-security.kubernetes.io/enforce=baseline \\ pod-security.kubernetes.io/enforce-version=latest \\ pod-security.kubernetes.io/warn=restricted \\ pod-security.kubernetes.io/warn-version=latest \\ pod-security.kubernetes.io/audit=restricted \\ pod-security.kubernetes.io/audit-version=latest Verify the Pod Security Standard enforcementCreate a baseline Pod in the example namespace:kubectl apply -n example -f https://k8s.io/examples/security/example-baseline-pod.yaml The Pod does start OK; the output includes a warning. For example:Warning: would violate PodSecurity \"restricted:latest\": allowPrivilegeEscalation != false (container \"nginx\" must set securityContext.",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/ns-level-pss/",
    "id": "k8s_00139_qa_2535"
  },
  {
    "question": "How does Apply Pod Security Standards at the Namespace Level work?",
    "answer": "Apply Pod Security Standards at the Namespace LevelNoteThis tutorial applies only for new clusters.Pod Security Admission is an admission controller that applies Pod Security Standards when pods are created. It is a feature GA'ed in v1.25. In this tutorial, you will enforce the baseline Pod Security Standard, one namespace at a time.You can also apply Pod Security Standards to multiple namespaces at once at the cluster level. For instructions, refer to Apply Pod Security Standards at the cluster level.Before you beginInstall the following on your workstation:kindkubectlCreate clusterCreate a kind cluster as follows:kind create cluster --name psa-ns-level The output is similar to this:Creating cluster \"psa-ns-level\" ... ✓ Ensuring node image (kindest/node:v1.34.0) 🖼 ✓ Preparing nodes 📦 ✓ Writing configuration 📜 ✓ Starting control-plane 🕹️ ✓ Installing CNI 🔌 ✓ Installing StorageClass 💾 Set kubectl context to \"kind-psa-ns-level\" You can now use your cluster with: kubectl cluster-info --context kind-psa-ns-level Not sure what to do next? 😅 Check out https://kind.sigs.k8s.io/docs/user/quick-start/ Set the kubectl context to the new cluster:kubectl cluster-info --context kind-psa-ns-level The output is similar to this:Kubernetes control plane is running at https://127.0.0.1:50996 CoreDNS is running at https://127.0.0.1:50996/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'. Create a namespaceCreate a new namespace called example:kubectl create ns example The output is similar to this:namespace/example created Enable Pod Security Standards checking for that namespaceEnable Pod Security Standards on this namespace using labels supported by built-in Pod Security Admission. In this step you will configure a check to warn on Pods that don't meet the latest version of the baseline pod security standard.kubectl label --overwrite ns example \\ pod-security.kubernetes.io/warn=baseline \\ pod-security.kubernetes.io/warn-version=latest You can configure multiple pod security standard checks on any namespace, using labels. The following command will enforce the baseline Pod Security Standard, but warn and audit for restricted Pod Security Standards as per the latest version (default value)kubectl label --overwrite ns example \\ pod-security.kubernetes.io/enforce=baseline \\ pod-security.kubernetes.io/enforce-version=latest \\ pod-security.kubernetes.io/warn=restricted \\ pod-security.kubernetes.io/warn-version=latest \\ pod-security.kubernetes.io/audit=restricted \\ pod-security.kubernetes.io/audit-version=latest Verify the Pod Security Standard enforcementCreate a baseline Pod in the example namespace:kubectl apply -n example -f https://k8s.io/examples/security/example-baseline-pod.yaml The Pod does start OK; the output includes a warning. For example:Warning: would violate PodSecurity \"restricted:latest\": allowPrivilegeEscalation != false (container \"nginx\" must set securityContext.",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/ns-level-pss/",
    "id": "k8s_00139_qa_2536"
  },
  {
    "question": "When would you use Apply Pod Security Standards at the Namespace Level?",
    "answer": "Apply Pod Security Standards at the Namespace LevelNoteThis tutorial applies only for new clusters.Pod Security Admission is an admission controller that applies Pod Security Standards when pods are created. It is a feature GA'ed in v1.25. In this tutorial, you will enforce the baseline Pod Security Standard, one namespace at a time.You can also apply Pod Security Standards to multiple namespaces at once at the cluster level. For instructions, refer to Apply Pod Security Standards at the cluster level.Before you beginInstall the following on your workstation:kindkubectlCreate clusterCreate a kind cluster as follows:kind create cluster --name psa-ns-level The output is similar to this:Creating cluster \"psa-ns-level\" ... ✓ Ensuring node image (kindest/node:v1.34.0) 🖼 ✓ Preparing nodes 📦 ✓ Writing configuration 📜 ✓ Starting control-plane 🕹️ ✓ Installing CNI 🔌 ✓ Installing StorageClass 💾 Set kubectl context to \"kind-psa-ns-level\" You can now use your cluster with: kubectl cluster-info --context kind-psa-ns-level Not sure what to do next? 😅 Check out https://kind.sigs.k8s.io/docs/user/quick-start/ Set the kubectl context to the new cluster:kubectl cluster-info --context kind-psa-ns-level The output is similar to this:Kubernetes control plane is running at https://127.0.0.1:50996 CoreDNS is running at https://127.0.0.1:50996/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'. Create a namespaceCreate a new namespace called example:kubectl create ns example The output is similar to this:namespace/example created Enable Pod Security Standards checking for that namespaceEnable Pod Security Standards on this namespace using labels supported by built-in Pod Security Admission. In this step you will configure a check to warn on Pods that don't meet the latest version of the baseline pod security standard.kubectl label --overwrite ns example \\ pod-security.kubernetes.io/warn=baseline \\ pod-security.kubernetes.io/warn-version=latest You can configure multiple pod security standard checks on any namespace, using labels. The following command will enforce the baseline Pod Security Standard, but warn and audit for restricted Pod Security Standards as per the latest version (default value)kubectl label --overwrite ns example \\ pod-security.kubernetes.io/enforce=baseline \\ pod-security.kubernetes.io/enforce-version=latest \\ pod-security.kubernetes.io/warn=restricted \\ pod-security.kubernetes.io/warn-version=latest \\ pod-security.kubernetes.io/audit=restricted \\ pod-security.kubernetes.io/audit-version=latest Verify the Pod Security Standard enforcementCreate a baseline Pod in the example namespace:kubectl apply -n example -f https://k8s.io/examples/security/example-baseline-pod.yaml The Pod does start OK; the output includes a warning. For example:Warning: would violate PodSecurity \"restricted:latest\": allowPrivilegeEscalation != false (container \"nginx\" must set securityContext.",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/ns-level-pss/",
    "id": "k8s_00139_qa_2537"
  },
  {
    "question": "What are the benefits of Apply Pod Security Standards at the Namespace Level?",
    "answer": "Apply Pod Security Standards at the Namespace LevelNoteThis tutorial applies only for new clusters.Pod Security Admission is an admission controller that applies Pod Security Standards when pods are created. It is a feature GA'ed in v1.25. In this tutorial, you will enforce the baseline Pod Security Standard, one namespace at a time.You can also apply Pod Security Standards to multiple namespaces at once at the cluster level. For instructions, refer to Apply Pod Security Standards at the cluster level.Before you beginInstall the following on your workstation:kindkubectlCreate clusterCreate a kind cluster as follows:kind create cluster --name psa-ns-level The output is similar to this:Creating cluster \"psa-ns-level\" ... ✓ Ensuring node image (kindest/node:v1.34.0) 🖼 ✓ Preparing nodes 📦 ✓ Writing configuration 📜 ✓ Starting control-plane 🕹️ ✓ Installing CNI 🔌 ✓ Installing StorageClass 💾 Set kubectl context to \"kind-psa-ns-level\" You can now use your cluster with: kubectl cluster-info --context kind-psa-ns-level Not sure what to do next? 😅 Check out https://kind.sigs.k8s.io/docs/user/quick-start/ Set the kubectl context to the new cluster:kubectl cluster-info --context kind-psa-ns-level The output is similar to this:Kubernetes control plane is running at https://127.0.0.1:50996 CoreDNS is running at https://127.0.0.1:50996/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'. Create a namespaceCreate a new namespace called example:kubectl create ns example The output is similar to this:namespace/example created Enable Pod Security Standards checking for that namespaceEnable Pod Security Standards on this namespace using labels supported by built-in Pod Security Admission. In this step you will configure a check to warn on Pods that don't meet the latest version of the baseline pod security standard.kubectl label --overwrite ns example \\ pod-security.kubernetes.io/warn=baseline \\ pod-security.kubernetes.io/warn-version=latest You can configure multiple pod security standard checks on any namespace, using labels. The following command will enforce the baseline Pod Security Standard, but warn and audit for restricted Pod Security Standards as per the latest version (default value)kubectl label --overwrite ns example \\ pod-security.kubernetes.io/enforce=baseline \\ pod-security.kubernetes.io/enforce-version=latest \\ pod-security.kubernetes.io/warn=restricted \\ pod-security.kubernetes.io/warn-version=latest \\ pod-security.kubernetes.io/audit=restricted \\ pod-security.kubernetes.io/audit-version=latest Verify the Pod Security Standard enforcementCreate a baseline Pod in the example namespace:kubectl apply -n example -f https://k8s.io/examples/security/example-baseline-pod.yaml The Pod does start OK; the output includes a warning. For example:Warning: would violate PodSecurity \"restricted:latest\": allowPrivilegeEscalation != false (container \"nginx\" must set securityContext.",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/ns-level-pss/",
    "id": "k8s_00139_qa_2538"
  },
  {
    "question": "What is Note?",
    "answer": "P o d   S e c u r i t y   A d m i s s i o n   i s   a n   a d m i s s i o n   c o n t r o l l e r   t h a t   a p p l i e s   P o d   S e c u r i t y   S t a n d a r d s   w h e n   p o d s   a r e   c r e a t e d .   I t   i s   a   f e a t u r e   G A ' e d   i n   v 1 . 2 5 .   I n   t h i s   t u t o r i a l ,   y o u   w i l l   e n f o r c e   t h e   b a s e l i n e   P o d   S e c u r i t y   S t a n d a r d ,   o n e   n a m e s p a c e   a t   a   t i m e .   Y o u   c a n   a l s o   a p p l y   P o d   S e c u r i t y   S t a n d a r d s   t o   m u l t i p l e   n a m e s p a c e s   a t   o n c e   a t   t h e   c l u s t e r   l e v e l .   F o r   i n s t r u c t i o n s ,   r e f e r   t o   A p p l y   P o d   S e c u r i t y   S t a n d a r d s   a t   t h e   c l u s t e r   l e v e l .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/ns-level-pss/",
    "id": "k8s_00139_section_4_2539"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n s t a l l   t h e   f o l l o w i n g   o n   y o u r   w o r k s t a t i o n :   k i n d k u b e c t l",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/ns-level-pss/",
    "id": "k8s_00139_section_2_2540"
  },
  {
    "question": "What is Create cluster?",
    "answer": "C r e a t e   a   k i n d   c l u s t e r   a s   f o l l o w s : k i n d   c r e a t e   c l u s t e r   - - n a m e   p s a - n s - l e v e l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : C r e a t i n g   c l u s t e r   \" p s a - n s - l e v e l \"   . . .   ✓   E n s u r i n g   n o d e   i m a g e   ( k i n d e s t / n o d e : v 1 . 3 4 . 0 )   🖼   ✓   P r e p a r i n g   n o d e s   📦   ✓   W r i t i n g   c o n f i g u r a t i o n   📜   ✓   S t a r t i n g   c o n t r o l - p l a n e   🕹 ️   ✓   I n s t a l l i n g   C N I   🔌   ✓   I n s t a l l i n g   S t o r a g e C l a s s   💾   S e t   k u b e c t l   c o n t e x t   t o   \" k i n d - p s a - n s - l e v e l \"   Y o u   c a n   n o w   u s e   y o u r   c l u s t e r   w i t h :   k u b e c t l   c l u s t e r - i n f o   - - c o n t e x t   k i n d - p s a - n s - l e v e l   N o t   s u r e   w h a t   t o   d o   n e x t ?   😅   C h e c k   o u t   h t t p s : / / k i n d . s i g s . k 8 s . i o / d o c s / u s e r / q u i c k - s t a r t /   S e t   t h e   k u b e c t l   c o n t e x t   t o   t h e   n e w   c l u s t e r : k u b e c t l   c l u s t e r - i n f o   - - c o n t e x t   k i n d - p s a - n s - l e v e l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : K u b e r n e t e s   c o n t r o l   p l a n e   i s   r u n n i n g   a t   h t t p s : / / 1 2 7 . 0 . 0 . 1 : 5 0 9 9 6   C o r e D N S   i s   r u n n i n g   a t   h t t p s : / / 1 2 7 . 0 . 0 . 1 : 5 0 9 9 6 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / k u b e - d n s : d n s / p r o x y   T o   f u r t h e r   d e b u g   a n d   d i a g n o s e   c l u s t e r   p r o b l e m s ,   u s e   ' k u b e c t l   c l u s t e r - i n f o   d u m p ' .   C r e a t e   a   k i n d   c l u s t e r   a s   f o l l o w s :   k i n d   c r e a t e   c l u s t e r   - - n a m e   p s a - n s - l e v e l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   C r e a t ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/ns-level-pss/",
    "id": "k8s_00139_section_2_2541"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   n e w   n a m e s p a c e   c a l l e d   e x a m p l e :   k u b e c t l   c r e a t e   n s   e x a m p l e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   n a m e s p a c e / e x a m p l e   c r e a t e d",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/ns-level-pss/",
    "id": "k8s_00139_section_2_2542"
  },
  {
    "question": "What is Enable Pod Security Standards checking for that namespace?",
    "answer": "E n a b l e   P o d   S e c u r i t y   S t a n d a r d s   o n   t h i s   n a m e s p a c e   u s i n g   l a b e l s   s u p p o r t e d   b y   b u i l t - i n   P o d   S e c u r i t y   A d m i s s i o n .   I n   t h i s   s t e p   y o u   w i l l   c o n f i g u r e   a   c h e c k   t o   w a r n   o n   P o d s   t h a t   d o n ' t   m e e t   t h e   l a t e s t   v e r s i o n   o f   t h e   b a s e l i n e   p o d   s e c u r i t y   s t a n d a r d . k u b e c t l   l a b e l   - - o v e r w r i t e   n s   e x a m p l e   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / w a r n = b a s e l i n e   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / w a r n - v e r s i o n = l a t e s t   Y o u   c a n   c o n f i g u r e   m u l t i p l e   p o d   s e c u r i t y   s t a n d a r d   c h e c k s   o n   a n y   n a m e s p a c e ,   u s i n g   l a b e l s .   T h e   f o l l o w i n g   c o m m a n d   w i l l   e n f o r c e   t h e   b a s e l i n e   P o d   S e c u r i t y   S t a n d a r d ,   b u t   w a r n   a n d   a u d i t   f o r   r e s t r i c t e d   P o d   S e c u r i t y   S t a n d a r d s   a s   p e r   t h e   l a t e s t   v e r s i o n   ( d e f a u l t   v a l u e ) k u b e c t l   l a b e l   - - o v e r w r i t e   n s   e x a m p l e   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e = b a s e l i n e   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e - v e r s i o n = l a t e s t   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / w a r n = r e s t r i c t e d   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / w a r n - v e r s i o n = l a t e s t   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / a u d i t = r e s t r i c t e d   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / a u d i t - v e r s i o n = l a t e s t   E n a b l e   P o d   S e c u r i t y   S t a n d a r d s   o n   t h i s   n a m e s p a c e   u s i n g ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/ns-level-pss/",
    "id": "k8s_00139_section_2_2543"
  },
  {
    "question": "What is Verify the Pod Security Standard enforcement?",
    "answer": "C r e a t e   a   b a s e l i n e   P o d   i n   t h e   e x a m p l e   n a m e s p a c e : k u b e c t l   a p p l y   - n   e x a m p l e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / s e c u r i t y / e x a m p l e - b a s e l i n e - p o d . y a m l   T h e   P o d   d o e s   s t a r t   O K ;   t h e   o u t p u t   i n c l u d e s   a   w a r n i n g .   F o r   e x a m p l e : W a r n i n g :   w o u l d   v i o l a t e   P o d S e c u r i t y   \" r e s t r i c t e d : l a t e s t \" :   a l l o w P r i v i l e g e E s c a l a t i o n   ! =   f a l s e   ( c o n t a i n e r   \" n g i n x \"   m u s t   s e t   s e c u r i t y C o n t e x t . a l l o w P r i v i l e g e E s c a l a t i o n = f a l s e ) ,   u n r e s t r i c t e d   c a p a b i l i t i e s   ( c o n t a i n e r   \" n g i n x \"   m u s t   s e t   s e c u r i t y C o n t e x t . c a p a b i l i t i e s . d r o p = [ \" A L L \" ] ) ,   r u n A s N o n R o o t   ! =   t r u e   ( p o d   o r   c o n t a i n e r   \" n g i n x \"   m u s t   s e t   s e c u r i t y C o n t e x t . r u n A s N o n R o o t = t r u e ) ,   s e c c o m p P r o f i l e   ( p o d   o r   c o n t a i n e r   \" n g i n x \"   m u s t   s e t   s e c u r i t y C o n t e x t . s e c c o m p P r o f i l e . t y p e   t o   \" R u n t i m e D e f a u l t \"   o r   \" L o c a l h o s t \" )   p o d / n g i n x   c r e a t e d   C r e a t e   a   b a s e l i n e   P o d   i n   t h e   d e f a u l t   n a m e s p a c e : k u b e c t l   a p p l y   - n   d e f a u l t   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / s e c u r i t y / e x a m p l e - b a s e l i n e - p o d . y a m l   O u t p u t   i s   s i m i l a r   t o   t h i s : p o d / n g i n x   c r e a t e d   C r e a t e   a   b a s e l i n e   P o d   i n   t h e   e x a m p l e   n a m e s p a c e :   k u b e c t l   a p p l y   - n   e x a m p l e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / s e c u r i t y / e x a m p l e - b a s e l i n e ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/ns-level-pss/",
    "id": "k8s_00139_section_2_2544"
  },
  {
    "question": "What is Clean up?",
    "answer": "N o w   d e l e t e   t h e   c l u s t e r   w h i c h   y o u   c r e a t e d   a b o v e   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d :   k i n d   d e l e t e   c l u s t e r   - - n a m e   p s a - n s - l e v e l",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/ns-level-pss/",
    "id": "k8s_00139_section_2_2545"
  },
  {
    "question": "What is What's next?",
    "answer": "R u n   a   s h e l l   s c r i p t   t o   p e r f o r m   a l l   t h e   p r e c e d i n g   s t e p s   a l l   a t   o n c e . C r e a t e   k i n d   c l u s t e r C r e a t e   n e w   n a m e s p a c e A p p l y   b a s e l i n e   P o d   S e c u r i t y   S t a n d a r d   i n   e n f o r c e   m o d e   w h i l e   a p p l y i n g   r e s t r i c t e d   P o d   S e c u r i t y   S t a n d a r d   a l s o   i n   w a r n   a n d   a u d i t   m o d e . C r e a t e   a   n e w   p o d   w i t h   t h e   f o l l o w i n g   p o d   s e c u r i t y   s t a n d a r d s   a p p l i e d P o d   S e c u r i t y   A d m i s s i o n P o d   S e c u r i t y   S t a n d a r d s A p p l y   P o d   S e c u r i t y   S t a n d a r d s   a t   t h e   c l u s t e r   l e v e l   R u n   a   s h e l l   s c r i p t   t o   p e r f o r m   a l l   t h e   p r e c e d i n g   s t e p s   a l l   a t   o n c e .   C r e a t e   k i n d   c l u s t e r C r e a t e   n e w   n a m e s p a c e A p p l y   b a s e l i n e   P o d   S e c u r i t y   S t a n d a r d   i n   e n f o r c e   m o d e   w h i l e   a p p l y i n g   r e s t r i c t e d   P o d   S e c u r i t y   S t a n d a r d   a l s o   i n   w a r n   a n d   a u d i t   m o d e . C r e a t e   a   n e w   p o d   w i t h   t h e   f o l l o w i n g   p o d   s e c u r i t y   s t a n d a r d s   a p p l i e d   P o d   S e c u r i t y   A d m i s s i o n   P o d   S e c u r i t y   S t a n d a r d s   A p p l y   P o d   S e c u r i t y   S t a n d a r d s   a t   t h e   c l u s t e r   l e v e l",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/ns-level-pss/",
    "id": "k8s_00139_section_2_2546"
  },
  {
    "question": "What is kubectl config set-credentials?",
    "answer": "kubectl config set-credentialsSynopsisSet a user entry in kubeconfig.Specifying a name that already exists will merge new fields on top of existing values. Client-certificate flags: --client-certificate=certfile --client-key=keyfile Bearer token flags: --token=bearer_token Basic auth flags: --username=basic_user --password=basic_password Bearer token and basic auth are mutually exclusive.kubectl config set-credentials NAME [--client-certificate=path/to/certfile] [--client-key=path/to/keyfile] [--token=bearer_token] [--username=basic_user] [--password=basic_password] [--auth-provider=provider_name] [--auth-provider-arg=key=value] [--exec-command=exec_command] [--exec-api-version=exec_api_version] [--exec-arg=arg] [--exec-env=key=value] Examples # Set only the \"client-key\" field on the \"cluster-admin\" # entry, without touching other values kubectl config set-credentials cluster-admin --client-key=~/.kube/admin.key # Set basic auth for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --username=admin --password=uXFGweU9l35qcif # Embed client certificate data in the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --client-certificate=~/.kube/admin.crt --embed-certs=true # Enable the Google Compute Platform auth provider for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --auth-provider=gcp # Enable the OpenID Connect auth provider for the \"cluster-admin\" entry with additional arguments kubectl config set-credentials cluster-admin --auth-provider=oidc --auth-provider-arg=client-id=foo --auth-provider-arg=client-secret=bar # Remove the \"client-secret\" config value for the OpenID Connect auth provider for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --auth-provider=oidc --auth-provider-arg=client-secret- # Enable new exec auth plugin for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --exec-command=/path/to/the/executable --exec-api-version=client.authentication.k8s.io/v1beta1 # Enable new exec auth plugin for the \"cluster-admin\" entry with interactive mode kubectl config set-credentials cluster-admin --exec-command=/path/to/the/executable --exec-api-version=client.authentication.k8s.io/v1beta1 --exec-interactive-mode=Never # Define new exec auth plugin arguments for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --exec-arg=arg1 --exec-arg=arg2 # Create or update exec auth plugin environment variables for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --exec-env=key1=val1 --exec-env=key2=val2 # Remove exec auth plugin environment variables for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --exec-env=var-to-remove- Options--auth-provider stringAuth provider for the user entry in kubeconfig--auth-provider-arg strings'key=value' arguments for the auth provider--client-certificate stringPath to client-certificate file for the user entry in kubeconfig--client-key stringPath",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-credentials/",
    "id": "k8s_00140_qa_2547"
  },
  {
    "question": "How does kubectl config set-credentials work?",
    "answer": "kubectl config set-credentialsSynopsisSet a user entry in kubeconfig.Specifying a name that already exists will merge new fields on top of existing values. Client-certificate flags: --client-certificate=certfile --client-key=keyfile Bearer token flags: --token=bearer_token Basic auth flags: --username=basic_user --password=basic_password Bearer token and basic auth are mutually exclusive.kubectl config set-credentials NAME [--client-certificate=path/to/certfile] [--client-key=path/to/keyfile] [--token=bearer_token] [--username=basic_user] [--password=basic_password] [--auth-provider=provider_name] [--auth-provider-arg=key=value] [--exec-command=exec_command] [--exec-api-version=exec_api_version] [--exec-arg=arg] [--exec-env=key=value] Examples # Set only the \"client-key\" field on the \"cluster-admin\" # entry, without touching other values kubectl config set-credentials cluster-admin --client-key=~/.kube/admin.key # Set basic auth for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --username=admin --password=uXFGweU9l35qcif # Embed client certificate data in the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --client-certificate=~/.kube/admin.crt --embed-certs=true # Enable the Google Compute Platform auth provider for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --auth-provider=gcp # Enable the OpenID Connect auth provider for the \"cluster-admin\" entry with additional arguments kubectl config set-credentials cluster-admin --auth-provider=oidc --auth-provider-arg=client-id=foo --auth-provider-arg=client-secret=bar # Remove the \"client-secret\" config value for the OpenID Connect auth provider for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --auth-provider=oidc --auth-provider-arg=client-secret- # Enable new exec auth plugin for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --exec-command=/path/to/the/executable --exec-api-version=client.authentication.k8s.io/v1beta1 # Enable new exec auth plugin for the \"cluster-admin\" entry with interactive mode kubectl config set-credentials cluster-admin --exec-command=/path/to/the/executable --exec-api-version=client.authentication.k8s.io/v1beta1 --exec-interactive-mode=Never # Define new exec auth plugin arguments for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --exec-arg=arg1 --exec-arg=arg2 # Create or update exec auth plugin environment variables for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --exec-env=key1=val1 --exec-env=key2=val2 # Remove exec auth plugin environment variables for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --exec-env=var-to-remove- Options--auth-provider stringAuth provider for the user entry in kubeconfig--auth-provider-arg strings'key=value' arguments for the auth provider--client-certificate stringPath to client-certificate file for the user entry in kubeconfig--client-key stringPath",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-credentials/",
    "id": "k8s_00140_qa_2548"
  },
  {
    "question": "When would you use kubectl config set-credentials?",
    "answer": "kubectl config set-credentialsSynopsisSet a user entry in kubeconfig.Specifying a name that already exists will merge new fields on top of existing values. Client-certificate flags: --client-certificate=certfile --client-key=keyfile Bearer token flags: --token=bearer_token Basic auth flags: --username=basic_user --password=basic_password Bearer token and basic auth are mutually exclusive.kubectl config set-credentials NAME [--client-certificate=path/to/certfile] [--client-key=path/to/keyfile] [--token=bearer_token] [--username=basic_user] [--password=basic_password] [--auth-provider=provider_name] [--auth-provider-arg=key=value] [--exec-command=exec_command] [--exec-api-version=exec_api_version] [--exec-arg=arg] [--exec-env=key=value] Examples # Set only the \"client-key\" field on the \"cluster-admin\" # entry, without touching other values kubectl config set-credentials cluster-admin --client-key=~/.kube/admin.key # Set basic auth for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --username=admin --password=uXFGweU9l35qcif # Embed client certificate data in the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --client-certificate=~/.kube/admin.crt --embed-certs=true # Enable the Google Compute Platform auth provider for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --auth-provider=gcp # Enable the OpenID Connect auth provider for the \"cluster-admin\" entry with additional arguments kubectl config set-credentials cluster-admin --auth-provider=oidc --auth-provider-arg=client-id=foo --auth-provider-arg=client-secret=bar # Remove the \"client-secret\" config value for the OpenID Connect auth provider for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --auth-provider=oidc --auth-provider-arg=client-secret- # Enable new exec auth plugin for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --exec-command=/path/to/the/executable --exec-api-version=client.authentication.k8s.io/v1beta1 # Enable new exec auth plugin for the \"cluster-admin\" entry with interactive mode kubectl config set-credentials cluster-admin --exec-command=/path/to/the/executable --exec-api-version=client.authentication.k8s.io/v1beta1 --exec-interactive-mode=Never # Define new exec auth plugin arguments for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --exec-arg=arg1 --exec-arg=arg2 # Create or update exec auth plugin environment variables for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --exec-env=key1=val1 --exec-env=key2=val2 # Remove exec auth plugin environment variables for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --exec-env=var-to-remove- Options--auth-provider stringAuth provider for the user entry in kubeconfig--auth-provider-arg strings'key=value' arguments for the auth provider--client-certificate stringPath to client-certificate file for the user entry in kubeconfig--client-key stringPath",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-credentials/",
    "id": "k8s_00140_qa_2549"
  },
  {
    "question": "What are the benefits of kubectl config set-credentials?",
    "answer": "kubectl config set-credentialsSynopsisSet a user entry in kubeconfig.Specifying a name that already exists will merge new fields on top of existing values. Client-certificate flags: --client-certificate=certfile --client-key=keyfile Bearer token flags: --token=bearer_token Basic auth flags: --username=basic_user --password=basic_password Bearer token and basic auth are mutually exclusive.kubectl config set-credentials NAME [--client-certificate=path/to/certfile] [--client-key=path/to/keyfile] [--token=bearer_token] [--username=basic_user] [--password=basic_password] [--auth-provider=provider_name] [--auth-provider-arg=key=value] [--exec-command=exec_command] [--exec-api-version=exec_api_version] [--exec-arg=arg] [--exec-env=key=value] Examples # Set only the \"client-key\" field on the \"cluster-admin\" # entry, without touching other values kubectl config set-credentials cluster-admin --client-key=~/.kube/admin.key # Set basic auth for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --username=admin --password=uXFGweU9l35qcif # Embed client certificate data in the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --client-certificate=~/.kube/admin.crt --embed-certs=true # Enable the Google Compute Platform auth provider for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --auth-provider=gcp # Enable the OpenID Connect auth provider for the \"cluster-admin\" entry with additional arguments kubectl config set-credentials cluster-admin --auth-provider=oidc --auth-provider-arg=client-id=foo --auth-provider-arg=client-secret=bar # Remove the \"client-secret\" config value for the OpenID Connect auth provider for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --auth-provider=oidc --auth-provider-arg=client-secret- # Enable new exec auth plugin for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --exec-command=/path/to/the/executable --exec-api-version=client.authentication.k8s.io/v1beta1 # Enable new exec auth plugin for the \"cluster-admin\" entry with interactive mode kubectl config set-credentials cluster-admin --exec-command=/path/to/the/executable --exec-api-version=client.authentication.k8s.io/v1beta1 --exec-interactive-mode=Never # Define new exec auth plugin arguments for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --exec-arg=arg1 --exec-arg=arg2 # Create or update exec auth plugin environment variables for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --exec-env=key1=val1 --exec-env=key2=val2 # Remove exec auth plugin environment variables for the \"cluster-admin\" entry kubectl config set-credentials cluster-admin --exec-env=var-to-remove- Options--auth-provider stringAuth provider for the user entry in kubeconfig--auth-provider-arg strings'key=value' arguments for the auth provider--client-certificate stringPath to client-certificate file for the user entry in kubeconfig--client-key stringPath",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-credentials/",
    "id": "k8s_00140_qa_2550"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S e t   a   u s e r   e n t r y   i n   k u b e c o n f i g .   S p e c i f y i n g   a   n a m e   t h a t   a l r e a d y   e x i s t s   w i l l   m e r g e   n e w   f i e l d s   o n   t o p   o f   e x i s t i n g   v a l u e s .   C l i e n t - c e r t i f i c a t e   f l a g s :   - - c l i e n t - c e r t i f i c a t e = c e r t f i l e   - - c l i e n t - k e y = k e y f i l e   B e a r e r   t o k e n   f l a g s :   - - t o k e n = b e a r e r _ t o k e n   B a s i c   a u t h   f l a g s :   - - u s e r n a m e = b a s i c _ u s e r   - - p a s s w o r d = b a s i c _ p a s s w o r d   B e a r e r   t o k e n   a n d   b a s i c   a u t h   a r e   m u t u a l l y   e x c l u s i v e .   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   N A M E   [ - - c l i e n t - c e r t i f i c a t e = p a t h / t o / c e r t f i l e ]   [ - - c l i e n t - k e y = p a t h / t o / k e y f i l e ]   [ - - t o k e n = b e a r e r _ t o k e n ]   [ - - u s e r n a m e = b a s i c _ u s e r ]   [ - - p a s s w o r d = b a s i c _ p a s s w o r d ]   [ - - a u t h - p r o v i d e r = p r o v i d e r _ n a m e ]   [ - - a u t h - p r o v i d e r - a r g = k e y = v a l u e ]   [ - - e x e c - c o m m a n d = e x e c _ c o m m a n d ]   [ - - e x e c - a p i - v e r s i o n = e x e c _ a p i _ v e r s i o n ]   [ - - e x e c - a r g = a r g ]   [ - - e x e c - e n v = k e y = v a l u e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-credentials/",
    "id": "k8s_00140_section_2_2551"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   o n l y   t h e   \" c l i e n t - k e y \"   f i e l d   o n   t h e   \" c l u s t e r - a d m i n \"   #   e n t r y ,   w i t h o u t   t o u c h i n g   o t h e r   v a l u e s   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - c l i e n t - k e y = ~ / . k u b e / a d m i n . k e y   #   S e t   b a s i c   a u t h   f o r   t h e   \" c l u s t e r - a d m i n \"   e n t r y   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - u s e r n a m e = a d m i n   - - p a s s w o r d = u X F G w e U 9 l 3 5 q c i f   #   E m b e d   c l i e n t   c e r t i f i c a t e   d a t a   i n   t h e   \" c l u s t e r - a d m i n \"   e n t r y   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - c l i e n t - c e r t i f i c a t e = ~ / . k u b e / a d m i n . c r t   - - e m b e d - c e r t s = t r u e   #   E n a b l e   t h e   G o o g l e   C o m p u t e   P l a t f o r m   a u t h   p r o v i d e r   f o r   t h e   \" c l u s t e r - a d m i n \"   e n t r y   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - a u t h - p r o v i d e r = g c p   #   E n a b l e   t h e   O p e n I D   C o n n e c t   a u t h   p r o v i d e r   f o r   t h e   \" c l u s t e r - a d m i n \"   e n t r y   w i t h   a d d i t i o n a l   a r g u m e n t s   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - a u t h - p r o v i d e r = o i d c   - - a u t h - p r o v i d e r - a r g = c l i e n t - i d = f o o   - - a u t h - p r o v i d e r - a r g = c l i e n t - s e c r e t = b a r   #   R e m o v e   t h e   \" c l i e n t - s e c r e t \"   c o n f i g   v a l u e   f o r   t h e   O p e n I D   C o n n e c t   a u t h   p r o v i d e r   f o r   t h e   \" c l u s t e r - a d m i n \"   e n t r y   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-credentials/",
    "id": "k8s_00140_section_2_2552"
  },
  {
    "question": "What is Options?",
    "answer": "A u t h   p r o v i d e r   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   ' k e y = v a l u e '   a r g u m e n t s   f o r   t h e   a u t h   p r o v i d e r   P a t h   t o   c l i e n t - c e r t i f i c a t e   f i l e   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   P a t h   t o   c l i e n t - k e y   f i l e   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   E m b e d   c l i e n t   c e r t / k e y   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   A P I   v e r s i o n   o f   t h e   e x e c   c r e d e n t i a l   p l u g i n   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   N e w   a r g u m e n t s   f o r   t h e   e x e c   c r e d e n t i a l   p l u g i n   c o m m a n d   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   C o m m a n d   f o r   t h e   e x e c   c r e d e n t i a l   p l u g i n   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   ' k e y = v a l u e '   e n v i r o n m e n t   v a l u e s   f o r   t h e   e x e c   c r e d e n t i a l   p l u g i n   I n t e r a c t i v e M o d e   o f   t h e   e x e c   c r e d e n t i a l s   p l u g i n   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   P r o v i d e C l u s t e r I n f o   o f   t h e   e x e c   c r e d e n t i a l s   p l u g i n   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   h e l p   f o r   s e t - c r e d e n t i a l s   p a s s w o r d   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   t o k e n   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   u s e r n a m e   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-credentials/",
    "id": "k8s_00140_section_2_2553"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   N a m e   o f   p r o f i l e   t o   c a p t u r e .   O n e   o f   ( n o n e | c p u | h e a p | g o r o u t i n e | t h r e a d c r e a t e | b l o c k | m u t e x )   N a m e   o f   t h e   f i l e   t o   w r i t e   t h e   p r o f i l e   t o ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-credentials/",
    "id": "k8s_00140_section_2_2554"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-credentials/",
    "id": "k8s_00140_section_2_2555"
  },
  {
    "question": "What is Kubernetes Component SLI Metrics?",
    "answer": "Kubernetes Component SLI MetricsHigh-level indicators for measuring the reliability and performance of Kubernetes components.FEATURE STATE: Kubernetes v1.27 [beta] (enabled by default: true)By default, Kubernetes 1.34 publishes Service Level Indicator (SLI) metrics for each Kubernetes component binary. This metric endpoint is exposed on the serving HTTPS port of each component, at the path /metrics/slis. The ComponentSLIs feature gate defaults to enabled for each Kubernetes component as of v1.27.SLI MetricsWith SLI metrics enabled, each Kubernetes component exposes two metrics, labeled per healthcheck:a gauge (which represents the current state of the healthcheck)a counter (which records the cumulative counts observed for each healthcheck state)You can use the metric information to calculate per-component availability statistics. For example, the API server checks the health of etcd. You can work out and report how available or unavailable etcd has been - as reported by its client, the API server.The prometheus gauge data looks like this:# HELP kubernetes_healthcheck [ALPHA] This metric records the result of a single healthcheck. # TYPE kubernetes_healthcheck gauge kubernetes_healthcheck{name=\"autoregister-completion\",type=\"healthz\"} 1 kubernetes_healthcheck{name=\"autoregister-completion\",type=\"readyz\"} 1 kubernetes_healthcheck{name=\"etcd\",type=\"healthz\"} 1 kubernetes_healthcheck{name=\"etcd\",type=\"readyz\"} 1 kubernetes_healthcheck{name=\"etcd-readiness\",type=\"readyz\"} 1 kubernetes_healthcheck{name=\"informer-sync\",type=\"readyz\"} 1 kubernetes_healthcheck{name=\"log\",type=\"healthz\"} 1 kubernetes_healthcheck{name=\"log\",type=\"readyz\"} 1 kubernetes_healthcheck{name=\"ping\",type=\"healthz\"} 1 kubernetes_healthcheck{name=\"ping\",type=\"readyz\"} 1 While the counter data looks like this:# HELP kubernetes_healthchecks_total [ALPHA] This metric records the results of all healthcheck. # TYPE kubernetes_healthchecks_total counter kubernetes_healthchecks_total{name=\"autoregister-completion\",status=\"error\",type=\"readyz\"} 1 kubernetes_healthchecks_total{name=\"autoregister-completion\",status=\"success\",type=\"healthz\"} 15 kubernetes_healthchecks_total{name=\"autoregister-completion\",status=\"success\",type=\"readyz\"} 14 kubernetes_healthchecks_total{name=\"etcd\",status=\"success\",type=\"healthz\"} 15 kubernetes_healthchecks_total{name=\"etcd\",status=\"success\",type=\"readyz\"} 15 kubernetes_healthchecks_total{name=\"etcd-readiness\",status=\"success\",type=\"readyz\"} 15 kubernetes_healthchecks_total{name=\"informer-sync\",status=\"error\",type=\"readyz\"} 1 kubernetes_healthchecks_total{name=\"informer-sync\",status=\"success\",type=\"readyz\"} 14 kubernetes_healthchecks_total{name=\"log\",status=\"success\",type=\"healthz\"} 15 kubernetes_healthchecks_total{name=\"log\",status=\"success\",type=\"readyz\"} 15 kubernetes_healthchecks_total{name=\"ping\",status=\"success\",type=\"healthz\"} 15 kubernetes_healthchecks_total{name=\"ping\",status=\"success\",type=\"readyz\"} 15 Using this dataThe component SLIs metrics endpoint ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/slis/",
    "id": "k8s_00141_qa_2556"
  },
  {
    "question": "How does Kubernetes Component SLI Metrics work?",
    "answer": "Kubernetes Component SLI MetricsHigh-level indicators for measuring the reliability and performance of Kubernetes components.FEATURE STATE: Kubernetes v1.27 [beta] (enabled by default: true)By default, Kubernetes 1.34 publishes Service Level Indicator (SLI) metrics for each Kubernetes component binary. This metric endpoint is exposed on the serving HTTPS port of each component, at the path /metrics/slis. The ComponentSLIs feature gate defaults to enabled for each Kubernetes component as of v1.27.SLI MetricsWith SLI metrics enabled, each Kubernetes component exposes two metrics, labeled per healthcheck:a gauge (which represents the current state of the healthcheck)a counter (which records the cumulative counts observed for each healthcheck state)You can use the metric information to calculate per-component availability statistics. For example, the API server checks the health of etcd. You can work out and report how available or unavailable etcd has been - as reported by its client, the API server.The prometheus gauge data looks like this:# HELP kubernetes_healthcheck [ALPHA] This metric records the result of a single healthcheck. # TYPE kubernetes_healthcheck gauge kubernetes_healthcheck{name=\"autoregister-completion\",type=\"healthz\"} 1 kubernetes_healthcheck{name=\"autoregister-completion\",type=\"readyz\"} 1 kubernetes_healthcheck{name=\"etcd\",type=\"healthz\"} 1 kubernetes_healthcheck{name=\"etcd\",type=\"readyz\"} 1 kubernetes_healthcheck{name=\"etcd-readiness\",type=\"readyz\"} 1 kubernetes_healthcheck{name=\"informer-sync\",type=\"readyz\"} 1 kubernetes_healthcheck{name=\"log\",type=\"healthz\"} 1 kubernetes_healthcheck{name=\"log\",type=\"readyz\"} 1 kubernetes_healthcheck{name=\"ping\",type=\"healthz\"} 1 kubernetes_healthcheck{name=\"ping\",type=\"readyz\"} 1 While the counter data looks like this:# HELP kubernetes_healthchecks_total [ALPHA] This metric records the results of all healthcheck. # TYPE kubernetes_healthchecks_total counter kubernetes_healthchecks_total{name=\"autoregister-completion\",status=\"error\",type=\"readyz\"} 1 kubernetes_healthchecks_total{name=\"autoregister-completion\",status=\"success\",type=\"healthz\"} 15 kubernetes_healthchecks_total{name=\"autoregister-completion\",status=\"success\",type=\"readyz\"} 14 kubernetes_healthchecks_total{name=\"etcd\",status=\"success\",type=\"healthz\"} 15 kubernetes_healthchecks_total{name=\"etcd\",status=\"success\",type=\"readyz\"} 15 kubernetes_healthchecks_total{name=\"etcd-readiness\",status=\"success\",type=\"readyz\"} 15 kubernetes_healthchecks_total{name=\"informer-sync\",status=\"error\",type=\"readyz\"} 1 kubernetes_healthchecks_total{name=\"informer-sync\",status=\"success\",type=\"readyz\"} 14 kubernetes_healthchecks_total{name=\"log\",status=\"success\",type=\"healthz\"} 15 kubernetes_healthchecks_total{name=\"log\",status=\"success\",type=\"readyz\"} 15 kubernetes_healthchecks_total{name=\"ping\",status=\"success\",type=\"healthz\"} 15 kubernetes_healthchecks_total{name=\"ping\",status=\"success\",type=\"readyz\"} 15 Using this dataThe component SLIs metrics endpoint ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/slis/",
    "id": "k8s_00141_qa_2557"
  },
  {
    "question": "When would you use Kubernetes Component SLI Metrics?",
    "answer": "Kubernetes Component SLI MetricsHigh-level indicators for measuring the reliability and performance of Kubernetes components.FEATURE STATE: Kubernetes v1.27 [beta] (enabled by default: true)By default, Kubernetes 1.34 publishes Service Level Indicator (SLI) metrics for each Kubernetes component binary. This metric endpoint is exposed on the serving HTTPS port of each component, at the path /metrics/slis. The ComponentSLIs feature gate defaults to enabled for each Kubernetes component as of v1.27.SLI MetricsWith SLI metrics enabled, each Kubernetes component exposes two metrics, labeled per healthcheck:a gauge (which represents the current state of the healthcheck)a counter (which records the cumulative counts observed for each healthcheck state)You can use the metric information to calculate per-component availability statistics. For example, the API server checks the health of etcd. You can work out and report how available or unavailable etcd has been - as reported by its client, the API server.The prometheus gauge data looks like this:# HELP kubernetes_healthcheck [ALPHA] This metric records the result of a single healthcheck. # TYPE kubernetes_healthcheck gauge kubernetes_healthcheck{name=\"autoregister-completion\",type=\"healthz\"} 1 kubernetes_healthcheck{name=\"autoregister-completion\",type=\"readyz\"} 1 kubernetes_healthcheck{name=\"etcd\",type=\"healthz\"} 1 kubernetes_healthcheck{name=\"etcd\",type=\"readyz\"} 1 kubernetes_healthcheck{name=\"etcd-readiness\",type=\"readyz\"} 1 kubernetes_healthcheck{name=\"informer-sync\",type=\"readyz\"} 1 kubernetes_healthcheck{name=\"log\",type=\"healthz\"} 1 kubernetes_healthcheck{name=\"log\",type=\"readyz\"} 1 kubernetes_healthcheck{name=\"ping\",type=\"healthz\"} 1 kubernetes_healthcheck{name=\"ping\",type=\"readyz\"} 1 While the counter data looks like this:# HELP kubernetes_healthchecks_total [ALPHA] This metric records the results of all healthcheck. # TYPE kubernetes_healthchecks_total counter kubernetes_healthchecks_total{name=\"autoregister-completion\",status=\"error\",type=\"readyz\"} 1 kubernetes_healthchecks_total{name=\"autoregister-completion\",status=\"success\",type=\"healthz\"} 15 kubernetes_healthchecks_total{name=\"autoregister-completion\",status=\"success\",type=\"readyz\"} 14 kubernetes_healthchecks_total{name=\"etcd\",status=\"success\",type=\"healthz\"} 15 kubernetes_healthchecks_total{name=\"etcd\",status=\"success\",type=\"readyz\"} 15 kubernetes_healthchecks_total{name=\"etcd-readiness\",status=\"success\",type=\"readyz\"} 15 kubernetes_healthchecks_total{name=\"informer-sync\",status=\"error\",type=\"readyz\"} 1 kubernetes_healthchecks_total{name=\"informer-sync\",status=\"success\",type=\"readyz\"} 14 kubernetes_healthchecks_total{name=\"log\",status=\"success\",type=\"healthz\"} 15 kubernetes_healthchecks_total{name=\"log\",status=\"success\",type=\"readyz\"} 15 kubernetes_healthchecks_total{name=\"ping\",status=\"success\",type=\"healthz\"} 15 kubernetes_healthchecks_total{name=\"ping\",status=\"success\",type=\"readyz\"} 15 Using this dataThe component SLIs metrics endpoint ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/slis/",
    "id": "k8s_00141_qa_2558"
  },
  {
    "question": "What are the benefits of Kubernetes Component SLI Metrics?",
    "answer": "Kubernetes Component SLI MetricsHigh-level indicators for measuring the reliability and performance of Kubernetes components.FEATURE STATE: Kubernetes v1.27 [beta] (enabled by default: true)By default, Kubernetes 1.34 publishes Service Level Indicator (SLI) metrics for each Kubernetes component binary. This metric endpoint is exposed on the serving HTTPS port of each component, at the path /metrics/slis. The ComponentSLIs feature gate defaults to enabled for each Kubernetes component as of v1.27.SLI MetricsWith SLI metrics enabled, each Kubernetes component exposes two metrics, labeled per healthcheck:a gauge (which represents the current state of the healthcheck)a counter (which records the cumulative counts observed for each healthcheck state)You can use the metric information to calculate per-component availability statistics. For example, the API server checks the health of etcd. You can work out and report how available or unavailable etcd has been - as reported by its client, the API server.The prometheus gauge data looks like this:# HELP kubernetes_healthcheck [ALPHA] This metric records the result of a single healthcheck. # TYPE kubernetes_healthcheck gauge kubernetes_healthcheck{name=\"autoregister-completion\",type=\"healthz\"} 1 kubernetes_healthcheck{name=\"autoregister-completion\",type=\"readyz\"} 1 kubernetes_healthcheck{name=\"etcd\",type=\"healthz\"} 1 kubernetes_healthcheck{name=\"etcd\",type=\"readyz\"} 1 kubernetes_healthcheck{name=\"etcd-readiness\",type=\"readyz\"} 1 kubernetes_healthcheck{name=\"informer-sync\",type=\"readyz\"} 1 kubernetes_healthcheck{name=\"log\",type=\"healthz\"} 1 kubernetes_healthcheck{name=\"log\",type=\"readyz\"} 1 kubernetes_healthcheck{name=\"ping\",type=\"healthz\"} 1 kubernetes_healthcheck{name=\"ping\",type=\"readyz\"} 1 While the counter data looks like this:# HELP kubernetes_healthchecks_total [ALPHA] This metric records the results of all healthcheck. # TYPE kubernetes_healthchecks_total counter kubernetes_healthchecks_total{name=\"autoregister-completion\",status=\"error\",type=\"readyz\"} 1 kubernetes_healthchecks_total{name=\"autoregister-completion\",status=\"success\",type=\"healthz\"} 15 kubernetes_healthchecks_total{name=\"autoregister-completion\",status=\"success\",type=\"readyz\"} 14 kubernetes_healthchecks_total{name=\"etcd\",status=\"success\",type=\"healthz\"} 15 kubernetes_healthchecks_total{name=\"etcd\",status=\"success\",type=\"readyz\"} 15 kubernetes_healthchecks_total{name=\"etcd-readiness\",status=\"success\",type=\"readyz\"} 15 kubernetes_healthchecks_total{name=\"informer-sync\",status=\"error\",type=\"readyz\"} 1 kubernetes_healthchecks_total{name=\"informer-sync\",status=\"success\",type=\"readyz\"} 14 kubernetes_healthchecks_total{name=\"log\",status=\"success\",type=\"healthz\"} 15 kubernetes_healthchecks_total{name=\"log\",status=\"success\",type=\"readyz\"} 15 kubernetes_healthchecks_total{name=\"ping\",status=\"success\",type=\"healthz\"} 15 kubernetes_healthchecks_total{name=\"ping\",status=\"success\",type=\"readyz\"} 15 Using this dataThe component SLIs metrics endpoint ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/slis/",
    "id": "k8s_00141_qa_2559"
  },
  {
    "question": "What is Kubernetes Component SLI Metrics?",
    "answer": "B y   d e f a u l t ,   K u b e r n e t e s   1 . 3 4   p u b l i s h e s   S e r v i c e   L e v e l   I n d i c a t o r   ( S L I )   m e t r i c s   f o r   e a c h   K u b e r n e t e s   c o m p o n e n t   b i n a r y .   T h i s   m e t r i c   e n d p o i n t   i s   e x p o s e d   o n   t h e   s e r v i n g   H T T P S   p o r t   o f   e a c h   c o m p o n e n t ,   a t   t h e   p a t h   / m e t r i c s / s l i s .   T h e   C o m p o n e n t S L I s   f e a t u r e   g a t e   d e f a u l t s   t o   e n a b l e d   f o r   e a c h   K u b e r n e t e s   c o m p o n e n t   a s   o f   v 1 . 2 7 .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/slis/",
    "id": "k8s_00141_section_1_2560"
  },
  {
    "question": "What is SLI Metrics?",
    "answer": "W i t h   S L I   m e t r i c s   e n a b l e d ,   e a c h   K u b e r n e t e s   c o m p o n e n t   e x p o s e s   t w o   m e t r i c s ,   l a b e l e d   p e r   h e a l t h c h e c k :   a   g a u g e   ( w h i c h   r e p r e s e n t s   t h e   c u r r e n t   s t a t e   o f   t h e   h e a l t h c h e c k ) a   c o u n t e r   ( w h i c h   r e c o r d s   t h e   c u m u l a t i v e   c o u n t s   o b s e r v e d   f o r   e a c h   h e a l t h c h e c k   s t a t e )   Y o u   c a n   u s e   t h e   m e t r i c   i n f o r m a t i o n   t o   c a l c u l a t e   p e r - c o m p o n e n t   a v a i l a b i l i t y   s t a t i s t i c s .   F o r   e x a m p l e ,   t h e   A P I   s e r v e r   c h e c k s   t h e   h e a l t h   o f   e t c d .   Y o u   c a n   w o r k   o u t   a n d   r e p o r t   h o w   a v a i l a b l e   o r   u n a v a i l a b l e   e t c d   h a s   b e e n   -   a s   r e p o r t e d   b y   i t s   c l i e n t ,   t h e   A P I   s e r v e r .   T h e   p r o m e t h e u s   g a u g e   d a t a   l o o k s   l i k e   t h i s :   #   H E L P   k u b e r n e t e s _ h e a l t h c h e c k   [ A L P H A ]   T h i s   m e t r i c   r e c o r d s   t h e   r e s u l t   o f   a   s i n g l e   h e a l t h c h e c k .   #   T Y P E   k u b e r n e t e s _ h e a l t h c h e c k   g a u g e   k u b e r n e t e s _ h e a l t h c h e c k { n a m e = \" a u t o r e g i s t e r - c o m p l e t i o n \" , t y p e = \" h e a l t h z \" }   1   k u b e r n e t e s _ h e a l t h c h e c k { n a m e = \" a u t o r e g i s t e r - c o m p l e t i o n \" , t y p e = \" r e a d y z \" }   1   k u b e r n e t e s _ h e a l t h c h e c k { n a m e = \" e t c d \" , t y p e = \" h e a l t h z \" }   1   k u b e r n e t e s _ h e a l t h c h e c k { n a m e = \" e t c d \" , t y p e = \" r e a d y z \" }   1   k u b e r n e t e s _ h e a l t h c h e c k { n a m e = \" e t c d - r e a d i n e s s \" , t y p e = \" r e a d y z \" }   1   k u b e r n e t e s _ h e a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/slis/",
    "id": "k8s_00141_section_2_2561"
  },
  {
    "question": "What is Using this data?",
    "answer": "T h e   c o m p o n e n t   S L I s   m e t r i c s   e n d p o i n t   i s   i n t e n d e d   t o   b e   s c r a p e d   a t   a   h i g h   f r e q u e n c y .   S c r a p i n g   a t   a   h i g h   f r e q u e n c y   m e a n s   t h a t   y o u   e n d   u p   w i t h   g r e a t e r   g r a n u l a r i t y   o f   t h e   g a u g e ' s   s i g n a l ,   w h i c h   c a n   b e   t h e n   u s e d   t o   c a l c u l a t e   S L O s .   T h e   / m e t r i c s / s l i s   e n d p o i n t   p r o v i d e s   t h e   r a w   d a t a   n e c e s s a r y   t o   c a l c u l a t e   a n   a v a i l a b i l i t y   S L O   f o r   t h e   r e s p e c t i v e   K u b e r n e t e s   c o m p o n e n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/slis/",
    "id": "k8s_00141_section_2_2562"
  },
  {
    "question": "What is Volume Attributes Classes?",
    "answer": "Volume Attributes ClassesFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)This page assumes that you are familiar with StorageClasses, volumes and PersistentVolumes in Kubernetes.A VolumeAttributesClass provides a way for administrators to describe the mutable \"classes\" of storage they offer. Different classes might map to different quality-of-service levels. Kubernetes itself is un-opinionated about what these classes represent.This feature is generally available (GA) as of version 1.34, and users have the option to disable it.You can also only use VolumeAttributesClasses with storage backed by Container Storage Interface, and only where the relevant CSI driver implements the ModifyVolume API.The VolumeAttributesClass APIEach VolumeAttributesClass contains the driverName and parameters, which are used when a PersistentVolume (PV) belonging to the class needs to be dynamically provisioned or modified.The name of a VolumeAttributesClass object is significant and is how users can request a particular class. Administrators set the name and other parameters of a class when first creating VolumeAttributesClass objects. While the name of a VolumeAttributesClass object in a PersistentVolumeClaim is mutable, the parameters in an existing class are immutable.apiVersion: storage.k8s.io/v1 kind: VolumeAttributesClass metadata: name: silver driverName: pd.csi.storage.gke.io parameters: provisioned-iops: \"3000\" provisioned-throughput: \"50\" ProvisionerEach VolumeAttributesClass has a provisioner that determines what volume plugin is used for provisioning PVs. The field driverName must be specified.The feature support for VolumeAttributesClass is implemented in kubernetes-csi/external-provisioner.You are not restricted to specifying the kubernetes-csi/external-provisioner. You can also run and specify external provisioners, which are independent programs that follow a specification defined by Kubernetes. Authors of external provisioners have full discretion over where their code lives, how the provisioner is shipped, how it needs to be run, what volume plugin it uses, etc.To understand how the provisioner works with VolumeAttributesClass, refer to the CSI external-provisioner documentation.ResizerEach VolumeAttributesClass has a resizer that determines what volume plugin is used for modifying PVs. The field driverName must be specified.The modifying volume feature support for VolumeAttributesClass is implemented in kubernetes-csi/external-resizer.For example, an existing PersistentVolumeClaim is using a VolumeAttributesClass named silver:apiVersion: v1 kind: PersistentVolumeClaim metadata: name: test-pv-claim spec: … volumeAttributesClassName: silver … A new VolumeAttributesClass gold is available in the cluster:apiVersion: storage.k8s.io/v1 kind: VolumeAttributesClass metadata: name: gold driverName: pd.csi.storage.gke.io parameters: iops: \"4000\" throughput: \"60\" The end user can update the PVC with the new VolumeAttributesClass gold and appl",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/",
    "id": "k8s_00142_qa_2563"
  },
  {
    "question": "How does Volume Attributes Classes work?",
    "answer": "Volume Attributes ClassesFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)This page assumes that you are familiar with StorageClasses, volumes and PersistentVolumes in Kubernetes.A VolumeAttributesClass provides a way for administrators to describe the mutable \"classes\" of storage they offer. Different classes might map to different quality-of-service levels. Kubernetes itself is un-opinionated about what these classes represent.This feature is generally available (GA) as of version 1.34, and users have the option to disable it.You can also only use VolumeAttributesClasses with storage backed by Container Storage Interface, and only where the relevant CSI driver implements the ModifyVolume API.The VolumeAttributesClass APIEach VolumeAttributesClass contains the driverName and parameters, which are used when a PersistentVolume (PV) belonging to the class needs to be dynamically provisioned or modified.The name of a VolumeAttributesClass object is significant and is how users can request a particular class. Administrators set the name and other parameters of a class when first creating VolumeAttributesClass objects. While the name of a VolumeAttributesClass object in a PersistentVolumeClaim is mutable, the parameters in an existing class are immutable.apiVersion: storage.k8s.io/v1 kind: VolumeAttributesClass metadata: name: silver driverName: pd.csi.storage.gke.io parameters: provisioned-iops: \"3000\" provisioned-throughput: \"50\" ProvisionerEach VolumeAttributesClass has a provisioner that determines what volume plugin is used for provisioning PVs. The field driverName must be specified.The feature support for VolumeAttributesClass is implemented in kubernetes-csi/external-provisioner.You are not restricted to specifying the kubernetes-csi/external-provisioner. You can also run and specify external provisioners, which are independent programs that follow a specification defined by Kubernetes. Authors of external provisioners have full discretion over where their code lives, how the provisioner is shipped, how it needs to be run, what volume plugin it uses, etc.To understand how the provisioner works with VolumeAttributesClass, refer to the CSI external-provisioner documentation.ResizerEach VolumeAttributesClass has a resizer that determines what volume plugin is used for modifying PVs. The field driverName must be specified.The modifying volume feature support for VolumeAttributesClass is implemented in kubernetes-csi/external-resizer.For example, an existing PersistentVolumeClaim is using a VolumeAttributesClass named silver:apiVersion: v1 kind: PersistentVolumeClaim metadata: name: test-pv-claim spec: … volumeAttributesClassName: silver … A new VolumeAttributesClass gold is available in the cluster:apiVersion: storage.k8s.io/v1 kind: VolumeAttributesClass metadata: name: gold driverName: pd.csi.storage.gke.io parameters: iops: \"4000\" throughput: \"60\" The end user can update the PVC with the new VolumeAttributesClass gold and appl",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/",
    "id": "k8s_00142_qa_2564"
  },
  {
    "question": "When would you use Volume Attributes Classes?",
    "answer": "Volume Attributes ClassesFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)This page assumes that you are familiar with StorageClasses, volumes and PersistentVolumes in Kubernetes.A VolumeAttributesClass provides a way for administrators to describe the mutable \"classes\" of storage they offer. Different classes might map to different quality-of-service levels. Kubernetes itself is un-opinionated about what these classes represent.This feature is generally available (GA) as of version 1.34, and users have the option to disable it.You can also only use VolumeAttributesClasses with storage backed by Container Storage Interface, and only where the relevant CSI driver implements the ModifyVolume API.The VolumeAttributesClass APIEach VolumeAttributesClass contains the driverName and parameters, which are used when a PersistentVolume (PV) belonging to the class needs to be dynamically provisioned or modified.The name of a VolumeAttributesClass object is significant and is how users can request a particular class. Administrators set the name and other parameters of a class when first creating VolumeAttributesClass objects. While the name of a VolumeAttributesClass object in a PersistentVolumeClaim is mutable, the parameters in an existing class are immutable.apiVersion: storage.k8s.io/v1 kind: VolumeAttributesClass metadata: name: silver driverName: pd.csi.storage.gke.io parameters: provisioned-iops: \"3000\" provisioned-throughput: \"50\" ProvisionerEach VolumeAttributesClass has a provisioner that determines what volume plugin is used for provisioning PVs. The field driverName must be specified.The feature support for VolumeAttributesClass is implemented in kubernetes-csi/external-provisioner.You are not restricted to specifying the kubernetes-csi/external-provisioner. You can also run and specify external provisioners, which are independent programs that follow a specification defined by Kubernetes. Authors of external provisioners have full discretion over where their code lives, how the provisioner is shipped, how it needs to be run, what volume plugin it uses, etc.To understand how the provisioner works with VolumeAttributesClass, refer to the CSI external-provisioner documentation.ResizerEach VolumeAttributesClass has a resizer that determines what volume plugin is used for modifying PVs. The field driverName must be specified.The modifying volume feature support for VolumeAttributesClass is implemented in kubernetes-csi/external-resizer.For example, an existing PersistentVolumeClaim is using a VolumeAttributesClass named silver:apiVersion: v1 kind: PersistentVolumeClaim metadata: name: test-pv-claim spec: … volumeAttributesClassName: silver … A new VolumeAttributesClass gold is available in the cluster:apiVersion: storage.k8s.io/v1 kind: VolumeAttributesClass metadata: name: gold driverName: pd.csi.storage.gke.io parameters: iops: \"4000\" throughput: \"60\" The end user can update the PVC with the new VolumeAttributesClass gold and appl",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/",
    "id": "k8s_00142_qa_2565"
  },
  {
    "question": "What are the benefits of Volume Attributes Classes?",
    "answer": "Volume Attributes ClassesFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)This page assumes that you are familiar with StorageClasses, volumes and PersistentVolumes in Kubernetes.A VolumeAttributesClass provides a way for administrators to describe the mutable \"classes\" of storage they offer. Different classes might map to different quality-of-service levels. Kubernetes itself is un-opinionated about what these classes represent.This feature is generally available (GA) as of version 1.34, and users have the option to disable it.You can also only use VolumeAttributesClasses with storage backed by Container Storage Interface, and only where the relevant CSI driver implements the ModifyVolume API.The VolumeAttributesClass APIEach VolumeAttributesClass contains the driverName and parameters, which are used when a PersistentVolume (PV) belonging to the class needs to be dynamically provisioned or modified.The name of a VolumeAttributesClass object is significant and is how users can request a particular class. Administrators set the name and other parameters of a class when first creating VolumeAttributesClass objects. While the name of a VolumeAttributesClass object in a PersistentVolumeClaim is mutable, the parameters in an existing class are immutable.apiVersion: storage.k8s.io/v1 kind: VolumeAttributesClass metadata: name: silver driverName: pd.csi.storage.gke.io parameters: provisioned-iops: \"3000\" provisioned-throughput: \"50\" ProvisionerEach VolumeAttributesClass has a provisioner that determines what volume plugin is used for provisioning PVs. The field driverName must be specified.The feature support for VolumeAttributesClass is implemented in kubernetes-csi/external-provisioner.You are not restricted to specifying the kubernetes-csi/external-provisioner. You can also run and specify external provisioners, which are independent programs that follow a specification defined by Kubernetes. Authors of external provisioners have full discretion over where their code lives, how the provisioner is shipped, how it needs to be run, what volume plugin it uses, etc.To understand how the provisioner works with VolumeAttributesClass, refer to the CSI external-provisioner documentation.ResizerEach VolumeAttributesClass has a resizer that determines what volume plugin is used for modifying PVs. The field driverName must be specified.The modifying volume feature support for VolumeAttributesClass is implemented in kubernetes-csi/external-resizer.For example, an existing PersistentVolumeClaim is using a VolumeAttributesClass named silver:apiVersion: v1 kind: PersistentVolumeClaim metadata: name: test-pv-claim spec: … volumeAttributesClassName: silver … A new VolumeAttributesClass gold is available in the cluster:apiVersion: storage.k8s.io/v1 kind: VolumeAttributesClass metadata: name: gold driverName: pd.csi.storage.gke.io parameters: iops: \"4000\" throughput: \"60\" The end user can update the PVC with the new VolumeAttributesClass gold and appl",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/",
    "id": "k8s_00142_qa_2566"
  },
  {
    "question": "What is Volume Attributes Classes?",
    "answer": "T h i s   p a g e   a s s u m e s   t h a t   y o u   a r e   f a m i l i a r   w i t h   S t o r a g e C l a s s e s ,   v o l u m e s   a n d   P e r s i s t e n t V o l u m e s   i n   K u b e r n e t e s .   A   V o l u m e A t t r i b u t e s C l a s s   p r o v i d e s   a   w a y   f o r   a d m i n i s t r a t o r s   t o   d e s c r i b e   t h e   m u t a b l e   \" c l a s s e s \"   o f   s t o r a g e   t h e y   o f f e r .   D i f f e r e n t   c l a s s e s   m i g h t   m a p   t o   d i f f e r e n t   q u a l i t y - o f - s e r v i c e   l e v e l s .   K u b e r n e t e s   i t s e l f   i s   u n - o p i n i o n a t e d   a b o u t   w h a t   t h e s e   c l a s s e s   r e p r e s e n t .   T h i s   f e a t u r e   i s   g e n e r a l l y   a v a i l a b l e   ( G A )   a s   o f   v e r s i o n   1 . 3 4 ,   a n d   u s e r s   h a v e   t h e   o p t i o n   t o   d i s a b l e   i t .   Y o u   c a n   a l s o   o n l y   u s e   V o l u m e A t t r i b u t e s C l a s s e s   w i t h   s t o r a g e   b a c k e d   b y   C o n t a i n e r   S t o r a g e   I n t e r f a c e ,   a n d   o n l y   w h e r e   t h e   r e l e v a n t   C S I   d r i v e r   i m p l e m e n t s   t h e   M o d i f y V o l u m e   A P I .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/",
    "id": "k8s_00142_section_1_2567"
  },
  {
    "question": "What is The VolumeAttributesClass API?",
    "answer": "E a c h   V o l u m e A t t r i b u t e s C l a s s   c o n t a i n s   t h e   d r i v e r N a m e   a n d   p a r a m e t e r s ,   w h i c h   a r e   u s e d   w h e n   a   P e r s i s t e n t V o l u m e   ( P V )   b e l o n g i n g   t o   t h e   c l a s s   n e e d s   t o   b e   d y n a m i c a l l y   p r o v i s i o n e d   o r   m o d i f i e d .   T h e   n a m e   o f   a   V o l u m e A t t r i b u t e s C l a s s   o b j e c t   i s   s i g n i f i c a n t   a n d   i s   h o w   u s e r s   c a n   r e q u e s t   a   p a r t i c u l a r   c l a s s .   A d m i n i s t r a t o r s   s e t   t h e   n a m e   a n d   o t h e r   p a r a m e t e r s   o f   a   c l a s s   w h e n   f i r s t   c r e a t i n g   V o l u m e A t t r i b u t e s C l a s s   o b j e c t s .   W h i l e   t h e   n a m e   o f   a   V o l u m e A t t r i b u t e s C l a s s   o b j e c t   i n   a   P e r s i s t e n t V o l u m e C l a i m   i s   m u t a b l e ,   t h e   p a r a m e t e r s   i n   a n   e x i s t i n g   c l a s s   a r e   i m m u t a b l e .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e A t t r i b u t e s C l a s s   m e t a d a t a :   n a m e :   s i l v e r   d r i v e r N a m e :   p d . c s i . s t o r a g e . g k e . i o   p a r a m e t e r s :   p r o v i s i o n e d - i o p s :   \" 3 0 0 0 \"   p r o v i s i o n e d - t h r o u g h p u t :   \" 5 0 \"",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/",
    "id": "k8s_00142_section_2_2568"
  },
  {
    "question": "What is Provisioner?",
    "answer": "E a c h   V o l u m e A t t r i b u t e s C l a s s   h a s   a   p r o v i s i o n e r   t h a t   d e t e r m i n e s   w h a t   v o l u m e   p l u g i n   i s   u s e d   f o r   p r o v i s i o n i n g   P V s .   T h e   f i e l d   d r i v e r N a m e   m u s t   b e   s p e c i f i e d .   T h e   f e a t u r e   s u p p o r t   f o r   V o l u m e A t t r i b u t e s C l a s s   i s   i m p l e m e n t e d   i n   k u b e r n e t e s - c s i / e x t e r n a l - p r o v i s i o n e r .   Y o u   a r e   n o t   r e s t r i c t e d   t o   s p e c i f y i n g   t h e   k u b e r n e t e s - c s i / e x t e r n a l - p r o v i s i o n e r .   Y o u   c a n   a l s o   r u n   a n d   s p e c i f y   e x t e r n a l   p r o v i s i o n e r s ,   w h i c h   a r e   i n d e p e n d e n t   p r o g r a m s   t h a t   f o l l o w   a   s p e c i f i c a t i o n   d e f i n e d   b y   K u b e r n e t e s .   A u t h o r s   o f   e x t e r n a l   p r o v i s i o n e r s   h a v e   f u l l   d i s c r e t i o n   o v e r   w h e r e   t h e i r   c o d e   l i v e s ,   h o w   t h e   p r o v i s i o n e r   i s   s h i p p e d ,   h o w   i t   n e e d s   t o   b e   r u n ,   w h a t   v o l u m e   p l u g i n   i t   u s e s ,   e t c .   T o   u n d e r s t a n d   h o w   t h e   p r o v i s i o n e r   w o r k s   w i t h   V o l u m e A t t r i b u t e s C l a s s ,   r e f e r   t o   t h e   C S I   e x t e r n a l - p r o v i s i o n e r   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/",
    "id": "k8s_00142_section_3_2569"
  },
  {
    "question": "What is Resizer?",
    "answer": "E a c h   V o l u m e A t t r i b u t e s C l a s s   h a s   a   r e s i z e r   t h a t   d e t e r m i n e s   w h a t   v o l u m e   p l u g i n   i s   u s e d   f o r   m o d i f y i n g   P V s .   T h e   f i e l d   d r i v e r N a m e   m u s t   b e   s p e c i f i e d .   T h e   m o d i f y i n g   v o l u m e   f e a t u r e   s u p p o r t   f o r   V o l u m e A t t r i b u t e s C l a s s   i s   i m p l e m e n t e d   i n   k u b e r n e t e s - c s i / e x t e r n a l - r e s i z e r .   F o r   e x a m p l e ,   a n   e x i s t i n g   P e r s i s t e n t V o l u m e C l a i m   i s   u s i n g   a   V o l u m e A t t r i b u t e s C l a s s   n a m e d   s i l v e r :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   t e s t - p v - c l a i m   s p e c :   …   v o l u m e A t t r i b u t e s C l a s s N a m e :   s i l v e r   …   A   n e w   V o l u m e A t t r i b u t e s C l a s s   g o l d   i s   a v a i l a b l e   i n   t h e   c l u s t e r :   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e A t t r i b u t e s C l a s s   m e t a d a t a :   n a m e :   g o l d   d r i v e r N a m e :   p d . c s i . s t o r a g e . g k e . i o   p a r a m e t e r s :   i o p s :   \" 4 0 0 0 \"   t h r o u g h p u t :   \" 6 0 \"   T h e   e n d   u s e r   c a n   u p d a t e   t h e   P V C   w i t h   t h e   n e w   V o l u m e A t t r i b u t e s C l a s s   g o l d   a n d   a p p l y :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   t e s t - p v - c l a i m   s p e c :   …   v o l u m e A t t r i b u t e s C l a s s N a m e :   g o l d   …   T o   u n d e r s t a n d   h o w   t h e   r e s i z e r   w o r k s   w i t h   V o l u m e A t t r i b u t e s C l a s s ,   r e f e r   t o   t h e   C S I   e x t e r n a l - r e s i z e r   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/",
    "id": "k8s_00142_section_3_2570"
  },
  {
    "question": "What is Parameters?",
    "answer": "V o l u m e A t t r i b u t e C l a s s e s   h a v e   p a r a m e t e r s   t h a t   d e s c r i b e   v o l u m e s   b e l o n g i n g   t o   t h e m .   D i f f e r e n t   p a r a m e t e r s   m a y   b e   a c c e p t e d   d e p e n d i n g   o n   t h e   p r o v i s i o n e r   o r   t h e   r e s i z e r .   F o r   e x a m p l e ,   t h e   v a l u e   4 0 0 0 ,   f o r   t h e   p a r a m e t e r   i o p s ,   a n d   t h e   p a r a m e t e r   t h r o u g h p u t   a r e   s p e c i f i c   t o   G C E   P D .   W h e n   a   p a r a m e t e r   i s   o m i t t e d ,   t h e   d e f a u l t   i s   u s e d   a t   v o l u m e   p r o v i s i o n i n g .   I f   a   u s e r   a p p l i e s   t h e   P V C   w i t h   a   d i f f e r e n t   V o l u m e A t t r i b u t e s C l a s s   w i t h   o m i t t e d   p a r a m e t e r s ,   t h e   d e f a u l t   v a l u e   o f   t h e   p a r a m e t e r s   m a y   b e   u s e d   d e p e n d i n g   o n   t h e   C S I   d r i v e r   i m p l e m e n t a t i o n .   P l e a s e   r e f e r   t o   t h e   r e l a t e d   C S I   d r i v e r   d o c u m e n t a t i o n   f o r   m o r e   d e t a i l s .   T h e r e   c a n   b e   a t   m o s t   5 1 2   p a r a m e t e r s   d e f i n e d   f o r   a   V o l u m e A t t r i b u t e s C l a s s .   T h e   t o t a l   l e n g t h   o f   t h e   p a r a m e t e r s   o b j e c t   i n c l u d i n g   i t s   k e y s   a n d   v a l u e s   c a n n o t   e x c e e d   2 5 6   K i B .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/",
    "id": "k8s_00142_section_2_2571"
  },
  {
    "question": "What is Set up an Extension API Server?",
    "answer": "Set up an Extension API ServerSetting up an extension API server to work with the aggregation layer allows the Kubernetes apiserver to be extended with additional APIs, which are not part of the core Kubernetes APIs.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.You must configure the aggregation layer and enable the apiserver flags.Set up an extension api-server to work with the aggregation layerThe following steps describe how to set up an extension-apiserver at a high level. These steps apply regardless if you're using YAML configs or using APIs. An attempt is made to specifically identify any differences between the two. For a concrete example of how they can be implemented using YAML configs, you can look at the sample-apiserver in the Kubernetes repo.Alternatively, you can use an existing 3rd party solution, such as apiserver-builder, which should generate a skeleton and automate all of the following steps for you.Make sure the APIService API is enabled (check --runtime-config). It should be on by default, unless it's been deliberately turned off in your cluster.You may need to make an RBAC rule allowing you to add APIService objects, or get your cluster administrator to make one. (Since API extensions affect the entire cluster, it is not recommended to do testing/development/debug of an API extension in a live cluster.)Create the Kubernetes namespace you want to run your extension api-service in.Create/get a CA cert to be used to sign the server cert the extension api-server uses for HTTPS.Create a server cert/key for the api-server to use for HTTPS. This cert should be signed by the above CA. It should also have a CN of the Kube DNS name. This is derived from the Kubernetes service and be of the form <service name>.<service name namespace>.svcCreate a Kubernetes secret with the server cert/key in your namespace.Create a Kubernetes deployment for the extension api-server and make sure you are loading the secret as a volume. It should contain a reference to a working image of your extension api-server. The deployment should also be in your namespace.Make sure that your extension-apiserver loads those certs from that volume and that they are used in the HTTPS handshake.Create a Kubernetes service account in your namespace.Create a Kubernetes cluster role for the operations you want to allow on your resources.Create a Kubernetes cluster role binding from the service account in your namespace to the cluster role you created.Create a Kubernetes cluster role binding from the service account in your namespace to the sy",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/setup-extension-api-server/",
    "id": "k8s_00143_qa_2572"
  },
  {
    "question": "How does Set up an Extension API Server work?",
    "answer": "Set up an Extension API ServerSetting up an extension API server to work with the aggregation layer allows the Kubernetes apiserver to be extended with additional APIs, which are not part of the core Kubernetes APIs.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.You must configure the aggregation layer and enable the apiserver flags.Set up an extension api-server to work with the aggregation layerThe following steps describe how to set up an extension-apiserver at a high level. These steps apply regardless if you're using YAML configs or using APIs. An attempt is made to specifically identify any differences between the two. For a concrete example of how they can be implemented using YAML configs, you can look at the sample-apiserver in the Kubernetes repo.Alternatively, you can use an existing 3rd party solution, such as apiserver-builder, which should generate a skeleton and automate all of the following steps for you.Make sure the APIService API is enabled (check --runtime-config). It should be on by default, unless it's been deliberately turned off in your cluster.You may need to make an RBAC rule allowing you to add APIService objects, or get your cluster administrator to make one. (Since API extensions affect the entire cluster, it is not recommended to do testing/development/debug of an API extension in a live cluster.)Create the Kubernetes namespace you want to run your extension api-service in.Create/get a CA cert to be used to sign the server cert the extension api-server uses for HTTPS.Create a server cert/key for the api-server to use for HTTPS. This cert should be signed by the above CA. It should also have a CN of the Kube DNS name. This is derived from the Kubernetes service and be of the form <service name>.<service name namespace>.svcCreate a Kubernetes secret with the server cert/key in your namespace.Create a Kubernetes deployment for the extension api-server and make sure you are loading the secret as a volume. It should contain a reference to a working image of your extension api-server. The deployment should also be in your namespace.Make sure that your extension-apiserver loads those certs from that volume and that they are used in the HTTPS handshake.Create a Kubernetes service account in your namespace.Create a Kubernetes cluster role for the operations you want to allow on your resources.Create a Kubernetes cluster role binding from the service account in your namespace to the cluster role you created.Create a Kubernetes cluster role binding from the service account in your namespace to the sy",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/setup-extension-api-server/",
    "id": "k8s_00143_qa_2573"
  },
  {
    "question": "When would you use Set up an Extension API Server?",
    "answer": "Set up an Extension API ServerSetting up an extension API server to work with the aggregation layer allows the Kubernetes apiserver to be extended with additional APIs, which are not part of the core Kubernetes APIs.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.You must configure the aggregation layer and enable the apiserver flags.Set up an extension api-server to work with the aggregation layerThe following steps describe how to set up an extension-apiserver at a high level. These steps apply regardless if you're using YAML configs or using APIs. An attempt is made to specifically identify any differences between the two. For a concrete example of how they can be implemented using YAML configs, you can look at the sample-apiserver in the Kubernetes repo.Alternatively, you can use an existing 3rd party solution, such as apiserver-builder, which should generate a skeleton and automate all of the following steps for you.Make sure the APIService API is enabled (check --runtime-config). It should be on by default, unless it's been deliberately turned off in your cluster.You may need to make an RBAC rule allowing you to add APIService objects, or get your cluster administrator to make one. (Since API extensions affect the entire cluster, it is not recommended to do testing/development/debug of an API extension in a live cluster.)Create the Kubernetes namespace you want to run your extension api-service in.Create/get a CA cert to be used to sign the server cert the extension api-server uses for HTTPS.Create a server cert/key for the api-server to use for HTTPS. This cert should be signed by the above CA. It should also have a CN of the Kube DNS name. This is derived from the Kubernetes service and be of the form <service name>.<service name namespace>.svcCreate a Kubernetes secret with the server cert/key in your namespace.Create a Kubernetes deployment for the extension api-server and make sure you are loading the secret as a volume. It should contain a reference to a working image of your extension api-server. The deployment should also be in your namespace.Make sure that your extension-apiserver loads those certs from that volume and that they are used in the HTTPS handshake.Create a Kubernetes service account in your namespace.Create a Kubernetes cluster role for the operations you want to allow on your resources.Create a Kubernetes cluster role binding from the service account in your namespace to the cluster role you created.Create a Kubernetes cluster role binding from the service account in your namespace to the sy",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/setup-extension-api-server/",
    "id": "k8s_00143_qa_2574"
  },
  {
    "question": "What are the benefits of Set up an Extension API Server?",
    "answer": "Set up an Extension API ServerSetting up an extension API server to work with the aggregation layer allows the Kubernetes apiserver to be extended with additional APIs, which are not part of the core Kubernetes APIs.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.You must configure the aggregation layer and enable the apiserver flags.Set up an extension api-server to work with the aggregation layerThe following steps describe how to set up an extension-apiserver at a high level. These steps apply regardless if you're using YAML configs or using APIs. An attempt is made to specifically identify any differences between the two. For a concrete example of how they can be implemented using YAML configs, you can look at the sample-apiserver in the Kubernetes repo.Alternatively, you can use an existing 3rd party solution, such as apiserver-builder, which should generate a skeleton and automate all of the following steps for you.Make sure the APIService API is enabled (check --runtime-config). It should be on by default, unless it's been deliberately turned off in your cluster.You may need to make an RBAC rule allowing you to add APIService objects, or get your cluster administrator to make one. (Since API extensions affect the entire cluster, it is not recommended to do testing/development/debug of an API extension in a live cluster.)Create the Kubernetes namespace you want to run your extension api-service in.Create/get a CA cert to be used to sign the server cert the extension api-server uses for HTTPS.Create a server cert/key for the api-server to use for HTTPS. This cert should be signed by the above CA. It should also have a CN of the Kube DNS name. This is derived from the Kubernetes service and be of the form <service name>.<service name namespace>.svcCreate a Kubernetes secret with the server cert/key in your namespace.Create a Kubernetes deployment for the extension api-server and make sure you are loading the secret as a volume. It should contain a reference to a working image of your extension api-server. The deployment should also be in your namespace.Make sure that your extension-apiserver loads those certs from that volume and that they are used in the HTTPS handshake.Create a Kubernetes service account in your namespace.Create a Kubernetes cluster role for the operations you want to allow on your resources.Create a Kubernetes cluster role binding from the service account in your namespace to the cluster role you created.Create a Kubernetes cluster role binding from the service account in your namespace to the sy",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/setup-extension-api-server/",
    "id": "k8s_00143_qa_2575"
  },
  {
    "question": "What is Set up an Extension API Server?",
    "answer": "S e t t i n g   u p   a n   e x t e n s i o n   A P I   s e r v e r   t o   w o r k   w i t h   t h e   a g g r e g a t i o n   l a y e r   a l l o w s   t h e   K u b e r n e t e s   a p i s e r v e r   t o   b e   e x t e n d e d   w i t h   a d d i t i o n a l   A P I s ,   w h i c h   a r e   n o t   p a r t   o f   t h e   c o r e   K u b e r n e t e s   A P I s .",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/setup-extension-api-server/",
    "id": "k8s_00143_section_1_2576"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   m u s t   c o n f i g u r e   t h e   a g g r e g a t i o n   l a y e r   a n d   e n a b l e   t h e   a p i s e r ",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/setup-extension-api-server/",
    "id": "k8s_00143_section_2_2577"
  },
  {
    "question": "What is Set up an extension api-server to work with the aggregation layer?",
    "answer": "T h e   f o l l o w i n g   s t e p s   d e s c r i b e   h o w   t o   s e t   u p   a n   e x t e n s i o n - a p i s e r v e r   a t   a   h i g h   l e v e l .   T h e s e   s t e p s   a p p l y   r e g a r d l e s s   i f   y o u ' r e   u s i n g   Y A M L   c o n f i g s   o r   u s i n g   A P I s .   A n   a t t e m p t   i s   m a d e   t o   s p e c i f i c a l l y   i d e n t i f y   a n y   d i f f e r e n c e s   b e t w e e n   t h e   t w o .   F o r   a   c o n c r e t e   e x a m p l e   o f   h o w   t h e y   c a n   b e   i m p l e m e n t e d   u s i n g   Y A M L   c o n f i g s ,   y o u   c a n   l o o k   a t   t h e   s a m p l e - a p i s e r v e r   i n   t h e   K u b e r n e t e s   r e p o .   A l t e r n a t i v e l y ,   y o u   c a n   u s e   a n   e x i s t i n g   3 r d   p a r t y   s o l u t i o n ,   s u c h   a s   a p i s e r v e r - b u i l d e r ,   w h i c h   s h o u l d   g e n e r a t e   a   s k e l e t o n   a n d   a u t o m a t e   a l l   o f   t h e   f o l l o w i n g   s t e p s   f o r   y o u .   M a k e   s u r e   t h e   A P I S e r v i c e   A P I   i s   e n a b l e d   ( c h e c k   - - r u n t i m e - c o n f i g ) .   I t   s h o u l d   b e   o n   b y   d e f a u l t ,   u n l e s s   i t ' s   b e e n   d e l i b e r a t e l y   t u r n e d   o f f   i n   y o u r   c l u s t e r . Y o u   m a y   n e e d   t o   m a k e   a n   R B A C   r u l e   a l l o w i n g   y o u   t o   a d d   A P I S e r v i c e   o b j e c t s ,   o r   g e t   y o u r   c l u s t e r   a d m i n i s t r a t o r   t o   m a k e   o n e .   ( S i n c e   A P I   e x t e n s i o n s   a f f e c t   t h e   e n t i r e   c l u s t e r ,   i t   i s   n o t   r e c o m m e n d e d   t o   d o   t e s t i n g / d e v e l o p m e n t / d e b u g   o f   a n   A P I   e x t e n s i o n   i n   a   l i v e   c l u s t e r . ) C r e a t e   t h e   K u b e r n e t e s   n a m e s p a c e   y o u   w a n t   t o   r u n   y o ",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/setup-extension-api-server/",
    "id": "k8s_00143_section_2_2578"
  },
  {
    "question": "What is What's next?",
    "answer": "W a l k   t h r o u g h   t h e   s t e p s   t o   c o n f i g u r e   t h e   A P I   a g g r e g a t i o n   l a y e r   a n d   e n a b l e   t h e   a p i s e r v e r   f l a g s . F o r   a   h i g h   l e v e l   o v e r v i e w ,   s e e   E x t e n d i n g   t h e   K u b e r n e t e s   A P I   w i t h   t h e   a g g r e g a t i o n   l a y e r . L e a r n   h o w   t o   E x t e n d   t h e   K u b e r n e t e s   A P I   u s i n g   C u s t o m   R e s o u r c e   D e f i n i t i o n s .",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/setup-extension-api-server/",
    "id": "k8s_00143_section_2_2579"
  },
  {
    "question": "What is Kubelet CredentialProvider (v1)?",
    "answer": "Kubelet CredentialProvider (v1)Resource TypesCredentialProviderRequestCredentialProviderResponseCredentialProviderRequestCredentialProviderRequest includes the image that the kubelet requires authentication for. Kubelet will pass this request object to the plugin via stdin. In general, plugins should prefer responding with the same apiVersion they were sent.FieldDescriptionapiVersionstringcredentialprovider.kubelet.k8s.io/v1kindstringCredentialProviderRequestimage [Required]stringimage is the container image that is being pulled as part of the credential provider plugin request. Plugins may optionally parse the image to extract any information required to fetch credentials.serviceAccountToken [Required]stringserviceAccountToken is the service account token bound to the pod for which the image is being pulled. This token is only sent to the plugin if the tokenAttributes.serviceAccountTokenAudience field is configured in the kubelet's credential provider configuration.serviceAccountAnnotations [Required]map[string]stringserviceAccountAnnotations is a map of annotations on the service account bound to the pod for which the image is being pulled. The list of annotations in the service account that need to be passed to the plugin is configured in the kubelet's credential provider configuration.CredentialProviderResponseCredentialProviderResponse holds credentials that the kubelet should use for the specified image provided in the original request. Kubelet will read the response from the plugin via stdout. This response should be set to the same apiVersion as CredentialProviderRequest.FieldDescriptionapiVersionstringcredentialprovider.kubelet.k8s.io/v1kindstringCredentialProviderResponsecacheKeyType [Required]PluginCacheKeyTypecacheKeyType indicates the type of caching key to use based on the image provided in the request. There are three valid values for the cache key type: Image, Registry, and Global. If an invalid value is specified, the response will NOT be used by the kubelet.cacheDurationmeta/v1.DurationcacheDuration indicates the duration the provided credentials should be cached for. The kubelet will use this field to set the in-memory cache duration for credentials in the AuthConfig. If null, the kubelet will use defaultCacheDuration provided in CredentialProviderConfig. If set to 0, the kubelet will not cache the provided AuthConfig.authmap[string]AuthConfigauth is a map containing authentication information passed into the kubelet. Each key is a match image string (more on this below). The corresponding authConfig value should be valid for all images that match against this key. A plugin should set this field to null if no valid credentials can be returned for the requested image.Each key in the map is a pattern which can optionally contain a port and a path. Globs can be used in the domain, but not in the port or the path. Globs are supported as subdomains like '*.k8s.io' or 'k8s.*.io', and top-level-domains such as 'k8s.*'. Matching partia",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-credentialprovider.v1/",
    "id": "k8s_00144_qa_2580"
  },
  {
    "question": "How does Kubelet CredentialProvider (v1) work?",
    "answer": "Kubelet CredentialProvider (v1)Resource TypesCredentialProviderRequestCredentialProviderResponseCredentialProviderRequestCredentialProviderRequest includes the image that the kubelet requires authentication for. Kubelet will pass this request object to the plugin via stdin. In general, plugins should prefer responding with the same apiVersion they were sent.FieldDescriptionapiVersionstringcredentialprovider.kubelet.k8s.io/v1kindstringCredentialProviderRequestimage [Required]stringimage is the container image that is being pulled as part of the credential provider plugin request. Plugins may optionally parse the image to extract any information required to fetch credentials.serviceAccountToken [Required]stringserviceAccountToken is the service account token bound to the pod for which the image is being pulled. This token is only sent to the plugin if the tokenAttributes.serviceAccountTokenAudience field is configured in the kubelet's credential provider configuration.serviceAccountAnnotations [Required]map[string]stringserviceAccountAnnotations is a map of annotations on the service account bound to the pod for which the image is being pulled. The list of annotations in the service account that need to be passed to the plugin is configured in the kubelet's credential provider configuration.CredentialProviderResponseCredentialProviderResponse holds credentials that the kubelet should use for the specified image provided in the original request. Kubelet will read the response from the plugin via stdout. This response should be set to the same apiVersion as CredentialProviderRequest.FieldDescriptionapiVersionstringcredentialprovider.kubelet.k8s.io/v1kindstringCredentialProviderResponsecacheKeyType [Required]PluginCacheKeyTypecacheKeyType indicates the type of caching key to use based on the image provided in the request. There are three valid values for the cache key type: Image, Registry, and Global. If an invalid value is specified, the response will NOT be used by the kubelet.cacheDurationmeta/v1.DurationcacheDuration indicates the duration the provided credentials should be cached for. The kubelet will use this field to set the in-memory cache duration for credentials in the AuthConfig. If null, the kubelet will use defaultCacheDuration provided in CredentialProviderConfig. If set to 0, the kubelet will not cache the provided AuthConfig.authmap[string]AuthConfigauth is a map containing authentication information passed into the kubelet. Each key is a match image string (more on this below). The corresponding authConfig value should be valid for all images that match against this key. A plugin should set this field to null if no valid credentials can be returned for the requested image.Each key in the map is a pattern which can optionally contain a port and a path. Globs can be used in the domain, but not in the port or the path. Globs are supported as subdomains like '*.k8s.io' or 'k8s.*.io', and top-level-domains such as 'k8s.*'. Matching partia",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-credentialprovider.v1/",
    "id": "k8s_00144_qa_2581"
  },
  {
    "question": "When would you use Kubelet CredentialProvider (v1)?",
    "answer": "Kubelet CredentialProvider (v1)Resource TypesCredentialProviderRequestCredentialProviderResponseCredentialProviderRequestCredentialProviderRequest includes the image that the kubelet requires authentication for. Kubelet will pass this request object to the plugin via stdin. In general, plugins should prefer responding with the same apiVersion they were sent.FieldDescriptionapiVersionstringcredentialprovider.kubelet.k8s.io/v1kindstringCredentialProviderRequestimage [Required]stringimage is the container image that is being pulled as part of the credential provider plugin request. Plugins may optionally parse the image to extract any information required to fetch credentials.serviceAccountToken [Required]stringserviceAccountToken is the service account token bound to the pod for which the image is being pulled. This token is only sent to the plugin if the tokenAttributes.serviceAccountTokenAudience field is configured in the kubelet's credential provider configuration.serviceAccountAnnotations [Required]map[string]stringserviceAccountAnnotations is a map of annotations on the service account bound to the pod for which the image is being pulled. The list of annotations in the service account that need to be passed to the plugin is configured in the kubelet's credential provider configuration.CredentialProviderResponseCredentialProviderResponse holds credentials that the kubelet should use for the specified image provided in the original request. Kubelet will read the response from the plugin via stdout. This response should be set to the same apiVersion as CredentialProviderRequest.FieldDescriptionapiVersionstringcredentialprovider.kubelet.k8s.io/v1kindstringCredentialProviderResponsecacheKeyType [Required]PluginCacheKeyTypecacheKeyType indicates the type of caching key to use based on the image provided in the request. There are three valid values for the cache key type: Image, Registry, and Global. If an invalid value is specified, the response will NOT be used by the kubelet.cacheDurationmeta/v1.DurationcacheDuration indicates the duration the provided credentials should be cached for. The kubelet will use this field to set the in-memory cache duration for credentials in the AuthConfig. If null, the kubelet will use defaultCacheDuration provided in CredentialProviderConfig. If set to 0, the kubelet will not cache the provided AuthConfig.authmap[string]AuthConfigauth is a map containing authentication information passed into the kubelet. Each key is a match image string (more on this below). The corresponding authConfig value should be valid for all images that match against this key. A plugin should set this field to null if no valid credentials can be returned for the requested image.Each key in the map is a pattern which can optionally contain a port and a path. Globs can be used in the domain, but not in the port or the path. Globs are supported as subdomains like '*.k8s.io' or 'k8s.*.io', and top-level-domains such as 'k8s.*'. Matching partia",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-credentialprovider.v1/",
    "id": "k8s_00144_qa_2582"
  },
  {
    "question": "What are the benefits of Kubelet CredentialProvider (v1)?",
    "answer": "Kubelet CredentialProvider (v1)Resource TypesCredentialProviderRequestCredentialProviderResponseCredentialProviderRequestCredentialProviderRequest includes the image that the kubelet requires authentication for. Kubelet will pass this request object to the plugin via stdin. In general, plugins should prefer responding with the same apiVersion they were sent.FieldDescriptionapiVersionstringcredentialprovider.kubelet.k8s.io/v1kindstringCredentialProviderRequestimage [Required]stringimage is the container image that is being pulled as part of the credential provider plugin request. Plugins may optionally parse the image to extract any information required to fetch credentials.serviceAccountToken [Required]stringserviceAccountToken is the service account token bound to the pod for which the image is being pulled. This token is only sent to the plugin if the tokenAttributes.serviceAccountTokenAudience field is configured in the kubelet's credential provider configuration.serviceAccountAnnotations [Required]map[string]stringserviceAccountAnnotations is a map of annotations on the service account bound to the pod for which the image is being pulled. The list of annotations in the service account that need to be passed to the plugin is configured in the kubelet's credential provider configuration.CredentialProviderResponseCredentialProviderResponse holds credentials that the kubelet should use for the specified image provided in the original request. Kubelet will read the response from the plugin via stdout. This response should be set to the same apiVersion as CredentialProviderRequest.FieldDescriptionapiVersionstringcredentialprovider.kubelet.k8s.io/v1kindstringCredentialProviderResponsecacheKeyType [Required]PluginCacheKeyTypecacheKeyType indicates the type of caching key to use based on the image provided in the request. There are three valid values for the cache key type: Image, Registry, and Global. If an invalid value is specified, the response will NOT be used by the kubelet.cacheDurationmeta/v1.DurationcacheDuration indicates the duration the provided credentials should be cached for. The kubelet will use this field to set the in-memory cache duration for credentials in the AuthConfig. If null, the kubelet will use defaultCacheDuration provided in CredentialProviderConfig. If set to 0, the kubelet will not cache the provided AuthConfig.authmap[string]AuthConfigauth is a map containing authentication information passed into the kubelet. Each key is a match image string (more on this below). The corresponding authConfig value should be valid for all images that match against this key. A plugin should set this field to null if no valid credentials can be returned for the requested image.Each key in the map is a pattern which can optionally contain a port and a path. Globs can be used in the domain, but not in the port or the path. Globs are supported as subdomains like '*.k8s.io' or 'k8s.*.io', and top-level-domains such as 'k8s.*'. Matching partia",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-credentialprovider.v1/",
    "id": "k8s_00144_qa_2583"
  },
  {
    "question": "What is Resource Types?",
    "answer": "C r e d e n t i a l P r o v i d e r R e q u e s t C r e d e n t i a l P r o v i d e r R e s p o n s e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-credentialprovider.v1/",
    "id": "k8s_00144_section_2_2584"
  },
  {
    "question": "What is CredentialProviderRequest?",
    "answer": "C r e d e n t i a l P r o v i d e r R e q u e s t   i n c l u d e s   t h e   i m a g e   t h a t   t h e   k u b e l e t   r e q u i r e s   a u t h e n t i c a t i o n   f o r .   K u b e l e t   w i l l   p a s s   t h i s   r e q u e s t   o b j e c t   t o   t h e   p l u g i n   v i a   s t d i n .   I n   g e n e r a l ,   p l u g i n s   s h o u l d   p r e f e r   r e s p o n d i n g   w i t h   t h e   s a m e   a p i V e r s i o n   t h e y   w e r e   s e n t .   i m a g e   i s   t h e   c o n t a i n e r   i m a g e   t h a t   i s   b e i n g   p u l l e d   a s   p a r t   o f   t h e   c r e d e n t i a l   p r o v i d e r   p l u g i n   r e q u e s t .   P l u g i n s   m a y   o p t i o n a l l y   p a r s e   t h e   i m a g e   t o   e x t r a c t   a n y   i n f o r m a t i o n   r e q u i r e d   t o   f e t c h   c r e d e n t i a l s .   s e r v i c e A c c o u n t T o k e n   i s   t h e   s e r v i c e   a c c o u n t   t o k e n   b o u n d   t o   t h e   p o d   f o r   w h i c h   t h e   i m a g e   i s   b e i n g   p u l l e d .   T h i s   t o k e n   i s   o n l y   s e n t   t o   t h e   p l u g i n   i f   t h e   t o k e n A t t r i b u t e s . s e r v i c e A c c o u n t T o k e n A u d i e n c e   f i e l d   i s   c o n f i g u r e d   i n   t h e   k u b e l e t ' s   c r e d e n t i a l   p r o v i d e r   c o n f i g u r a t i o n .   s e r v i c e A c c o u n t A n n o t a t i o n s   i s   a   m a p   o f   a n n o t a t i o n s   o n   t h e   s e r v i c e   a c c o u n t   b o u n d   t o   t h e   p o d   f o r   w h i c h   t h e   i m a g e   i s   b e i n g   p u l l e d .   T h e   l i s t   o f   a n n o t a t i o n s   i n   t h e   s e r v i c e   a c c o u n t   t h a t   n e e d   t o   b e   p a s s e d   t o   t h e   p l u g i n   i s   c o n f i g u r e d   i n   t h e   k u b e l e t ' s   c r e d e n t i a l   p r o v i d e r   c o n f i g u r a t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-credentialprovider.v1/",
    "id": "k8s_00144_section_2_2585"
  },
  {
    "question": "What is CredentialProviderResponse?",
    "answer": "C r e d e n t i a l P r o v i d e r R e s p o n s e   h o l d s   c r e d e n t i a l s   t h a t   t h e   k u b e l e t   s h o u l d   u s e   f o r   t h e   s p e c i f i e d   i m a g e   p r o v i d e d   i n   t h e   o r i g i n a l   r e q u e s t .   K u b e l e t   w i l l   r e a d   t h e   r e s p o n s e   f r o m   t h e   p l u g i n   v i a   s t d o u t .   T h i s   r e s p o n s e   s h o u l d   b e   s e t   t o   t h e   s a m e   a p i V e r s i o n   a s   C r e d e n t i a l P r o v i d e r R e q u e s t .   c a c h e K e y T y p e   i n d i c a t e s   t h e   t y p e   o f   c a c h i n g   k e y   t o   u s e   b a s e d   o n   t h e   i m a g e   p r o v i d e d   i n   t h e   r e q u e s t .   T h e r e   a r e   t h r e e   v a l i d   v a l u e s   f o r   t h e   c a c h e   k e y   t y p e :   I m a g e ,   R e g i s t r y ,   a n d   G l o b a l .   I f   a n   i n v a l i d   v a l u e   i s   s p e c i f i e d ,   t h e   r e s p o n s e   w i l l   N O T   b e   u s e d   b y   t h e   k u b e l e t .   c a c h e D u r a t i o n   i n d i c a t e s   t h e   d u r a t i o n   t h e   p r o v i d e d   c r e d e n t i a l s   s h o u l d   b e   c a c h e d   f o r .   T h e   k u b e l e t   w i l l   u s e   t h i s   f i e l d   t o   s e t   t h e   i n - m e m o r y   c a c h e   d u r a t i o n   f o r   c r e d e n t i a l s   i n   t h e   A u t h C o n f i g .   I f   n u l l ,   t h e   k u b e l e t   w i l l   u s e   d e f a u l t C a c h e D u r a t i o n   p r o v i d e d   i n   C r e d e n t i a l P r o v i d e r C o n f i g .   I f   s e t   t o   0 ,   t h e   k u b e l e t   w i l l   n o t   c a c h e   t h e   p r o v i d e d   A u t h C o n f i g .   a u t h   i s   a   m a p   c o n t a i n i n g   a u t h e n t i c a t i o n   i n f o r m a t i o n   p a s s e d   i n t o   t h e   k u b e l e t .   E a c h   k e y   i s   a   m a t c h   i m a g e   s t r i n g   ( m o r e   o n   t h i s   b e l o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-credentialprovider.v1/",
    "id": "k8s_00144_section_2_2586"
  },
  {
    "question": "What is AuthConfig?",
    "answer": "A p p e a r s   i n :   C r e d e n t i a l P r o v i d e r R e s p o n s e   A u t h C o n f i g   c o n t a i n s   a u t h e n t i c a t i o n   i n f o r m a t i o n   f o r   a   c o n t a i n e r   r e g i s t r y .   O n l y   u s e r n a m e / p a s s w o r d   b a s e d   a u t h e n t i c a t i o n   i s   s u p p o r t e d   t o d a y ,   b u t   m o r e   a u t h e n t i c a t i o n   m e c h a n i s m s   m a y   b e   a d d e d   i n   t h e   f u t u r e .   u s e r n a m e   i s   t h e   u s e r n a m e   u s e d   f o r   a u t h e n t i c a t i n g   t o   t h e   c o n t a i n e r   r e g i s t r y   A n   e m p t y   u s e r n a m e   i s   v a l i d .   p a s s w o r d   i s   t h e   p a s s w o r d   u s e d   f o r   a u t h e n t i c a t i n g   t o   t h e   c o n t a i n e r   r e g i s t r y   A n   e m p t y   p a s s w o r d   i s   v a l i d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-credentialprovider.v1/",
    "id": "k8s_00144_section_2_2587"
  },
  {
    "question": "What is PluginCacheKeyType?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   C r e d e n t i a l P r o v i d e r R e s p o n s e   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-credentialprovider.v1/",
    "id": "k8s_00144_section_2_2588"
  },
  {
    "question": "What is Reference?",
    "answer": "This section of the Kubernetes documentation contains references.API ReferenceGlossary - a comprehensive, standardized list of Kubernetes terminologyKubernetes API ReferenceOne-page API Reference for Kubernetes v1.34Using The Kubernetes API - overview of the API for Kubernetes.API access control - details on how Kubernetes controls API accessWell-Known Labels, Annotations and TaintsOfficially supported client librariesTo call the Kubernetes API from a programming language, you can use client libraries. Officially supported client libraries:Kubernetes Go client libraryKubernetes Python client libraryKubernetes Java client libraryKubernetes JavaScript client libraryKubernetes C# client libraryKubernetes Haskell client libraryCLIkubectl - Main CLI tool for running commands and managing Kubernetes clusters.JSONPath - Syntax guide for using JSONPath expressions with kubectl.kubeadm - CLI tool to easily provision a secure Kubernetes cluster.Componentskubelet - The primary agent that runs on each node. The kubelet takes a set of PodSpecs and ensures that the described containers are running and healthy.kube-apiserver - REST API that validates and configures data for API objects such as pods, services, replication controllers.kube-controller-manager - Daemon that embeds the core control loops shipped with Kubernetes.kube-proxy - Can do simple TCP/UDP stream forwarding or round-robin TCP/UDP forwarding across a set of back-ends.kube-scheduler - Scheduler that manages availability, performance, and capacity.Scheduler PoliciesScheduler ProfilesList of ports and protocols that should be open on control plane and worker nodesConfig APIsThis section hosts the documentation for \"unpublished\" APIs which are used to configure kubernetes components or tools. Most of these APIs are not exposed by the API server in a RESTful way though they are essential for a user or an operator to use or manage a cluster.kubeconfig (v1)kuberc (v1alpha1)kube-apiserver admission (v1)kube-apiserver configuration (v1alpha1) andkube-apiserver configuration (v1beta1) and kube-apiserver configuration (v1)kube-apiserver event rate limit (v1alpha1)kubelet configuration (v1alpha1) and kubelet configuration (v1beta1) kubelet configuration (v1)kubelet credential providers (v1) kube-scheduler configuration (v1)kube-controller-manager configuration (v1alpha1)kube-proxy configuration (v1alpha1)audit.k8s.io/v1 APIClient authentication API (v1beta1) and Client authentication API (v1)WebhookAdmission configuration (v1)ImagePolicy API (v1alpha1)Config API for kubeadmv1beta3v1beta4External APIsThese are the APIs defined by the Kubernetes project, but are not implemented by the core project:Metrics API (v1beta1)Custom Metrics API (v1beta2)External Metrics API (v1beta1)Design DocsAn archive of the design docs for Kubernetes functionality. Good starting points are Kubernetes Architecture and Kubernetes Design Overview.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/",
    "id": "k8s_00145_qa_2589"
  },
  {
    "question": "How does Reference work?",
    "answer": "This section of the Kubernetes documentation contains references.API ReferenceGlossary - a comprehensive, standardized list of Kubernetes terminologyKubernetes API ReferenceOne-page API Reference for Kubernetes v1.34Using The Kubernetes API - overview of the API for Kubernetes.API access control - details on how Kubernetes controls API accessWell-Known Labels, Annotations and TaintsOfficially supported client librariesTo call the Kubernetes API from a programming language, you can use client libraries. Officially supported client libraries:Kubernetes Go client libraryKubernetes Python client libraryKubernetes Java client libraryKubernetes JavaScript client libraryKubernetes C# client libraryKubernetes Haskell client libraryCLIkubectl - Main CLI tool for running commands and managing Kubernetes clusters.JSONPath - Syntax guide for using JSONPath expressions with kubectl.kubeadm - CLI tool to easily provision a secure Kubernetes cluster.Componentskubelet - The primary agent that runs on each node. The kubelet takes a set of PodSpecs and ensures that the described containers are running and healthy.kube-apiserver - REST API that validates and configures data for API objects such as pods, services, replication controllers.kube-controller-manager - Daemon that embeds the core control loops shipped with Kubernetes.kube-proxy - Can do simple TCP/UDP stream forwarding or round-robin TCP/UDP forwarding across a set of back-ends.kube-scheduler - Scheduler that manages availability, performance, and capacity.Scheduler PoliciesScheduler ProfilesList of ports and protocols that should be open on control plane and worker nodesConfig APIsThis section hosts the documentation for \"unpublished\" APIs which are used to configure kubernetes components or tools. Most of these APIs are not exposed by the API server in a RESTful way though they are essential for a user or an operator to use or manage a cluster.kubeconfig (v1)kuberc (v1alpha1)kube-apiserver admission (v1)kube-apiserver configuration (v1alpha1) andkube-apiserver configuration (v1beta1) and kube-apiserver configuration (v1)kube-apiserver event rate limit (v1alpha1)kubelet configuration (v1alpha1) and kubelet configuration (v1beta1) kubelet configuration (v1)kubelet credential providers (v1) kube-scheduler configuration (v1)kube-controller-manager configuration (v1alpha1)kube-proxy configuration (v1alpha1)audit.k8s.io/v1 APIClient authentication API (v1beta1) and Client authentication API (v1)WebhookAdmission configuration (v1)ImagePolicy API (v1alpha1)Config API for kubeadmv1beta3v1beta4External APIsThese are the APIs defined by the Kubernetes project, but are not implemented by the core project:Metrics API (v1beta1)Custom Metrics API (v1beta2)External Metrics API (v1beta1)Design DocsAn archive of the design docs for Kubernetes functionality. Good starting points are Kubernetes Architecture and Kubernetes Design Overview.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/",
    "id": "k8s_00145_qa_2590"
  },
  {
    "question": "When would you use Reference?",
    "answer": "This section of the Kubernetes documentation contains references.API ReferenceGlossary - a comprehensive, standardized list of Kubernetes terminologyKubernetes API ReferenceOne-page API Reference for Kubernetes v1.34Using The Kubernetes API - overview of the API for Kubernetes.API access control - details on how Kubernetes controls API accessWell-Known Labels, Annotations and TaintsOfficially supported client librariesTo call the Kubernetes API from a programming language, you can use client libraries. Officially supported client libraries:Kubernetes Go client libraryKubernetes Python client libraryKubernetes Java client libraryKubernetes JavaScript client libraryKubernetes C# client libraryKubernetes Haskell client libraryCLIkubectl - Main CLI tool for running commands and managing Kubernetes clusters.JSONPath - Syntax guide for using JSONPath expressions with kubectl.kubeadm - CLI tool to easily provision a secure Kubernetes cluster.Componentskubelet - The primary agent that runs on each node. The kubelet takes a set of PodSpecs and ensures that the described containers are running and healthy.kube-apiserver - REST API that validates and configures data for API objects such as pods, services, replication controllers.kube-controller-manager - Daemon that embeds the core control loops shipped with Kubernetes.kube-proxy - Can do simple TCP/UDP stream forwarding or round-robin TCP/UDP forwarding across a set of back-ends.kube-scheduler - Scheduler that manages availability, performance, and capacity.Scheduler PoliciesScheduler ProfilesList of ports and protocols that should be open on control plane and worker nodesConfig APIsThis section hosts the documentation for \"unpublished\" APIs which are used to configure kubernetes components or tools. Most of these APIs are not exposed by the API server in a RESTful way though they are essential for a user or an operator to use or manage a cluster.kubeconfig (v1)kuberc (v1alpha1)kube-apiserver admission (v1)kube-apiserver configuration (v1alpha1) andkube-apiserver configuration (v1beta1) and kube-apiserver configuration (v1)kube-apiserver event rate limit (v1alpha1)kubelet configuration (v1alpha1) and kubelet configuration (v1beta1) kubelet configuration (v1)kubelet credential providers (v1) kube-scheduler configuration (v1)kube-controller-manager configuration (v1alpha1)kube-proxy configuration (v1alpha1)audit.k8s.io/v1 APIClient authentication API (v1beta1) and Client authentication API (v1)WebhookAdmission configuration (v1)ImagePolicy API (v1alpha1)Config API for kubeadmv1beta3v1beta4External APIsThese are the APIs defined by the Kubernetes project, but are not implemented by the core project:Metrics API (v1beta1)Custom Metrics API (v1beta2)External Metrics API (v1beta1)Design DocsAn archive of the design docs for Kubernetes functionality. Good starting points are Kubernetes Architecture and Kubernetes Design Overview.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/",
    "id": "k8s_00145_qa_2591"
  },
  {
    "question": "What are the benefits of Reference?",
    "answer": "This section of the Kubernetes documentation contains references.API ReferenceGlossary - a comprehensive, standardized list of Kubernetes terminologyKubernetes API ReferenceOne-page API Reference for Kubernetes v1.34Using The Kubernetes API - overview of the API for Kubernetes.API access control - details on how Kubernetes controls API accessWell-Known Labels, Annotations and TaintsOfficially supported client librariesTo call the Kubernetes API from a programming language, you can use client libraries. Officially supported client libraries:Kubernetes Go client libraryKubernetes Python client libraryKubernetes Java client libraryKubernetes JavaScript client libraryKubernetes C# client libraryKubernetes Haskell client libraryCLIkubectl - Main CLI tool for running commands and managing Kubernetes clusters.JSONPath - Syntax guide for using JSONPath expressions with kubectl.kubeadm - CLI tool to easily provision a secure Kubernetes cluster.Componentskubelet - The primary agent that runs on each node. The kubelet takes a set of PodSpecs and ensures that the described containers are running and healthy.kube-apiserver - REST API that validates and configures data for API objects such as pods, services, replication controllers.kube-controller-manager - Daemon that embeds the core control loops shipped with Kubernetes.kube-proxy - Can do simple TCP/UDP stream forwarding or round-robin TCP/UDP forwarding across a set of back-ends.kube-scheduler - Scheduler that manages availability, performance, and capacity.Scheduler PoliciesScheduler ProfilesList of ports and protocols that should be open on control plane and worker nodesConfig APIsThis section hosts the documentation for \"unpublished\" APIs which are used to configure kubernetes components or tools. Most of these APIs are not exposed by the API server in a RESTful way though they are essential for a user or an operator to use or manage a cluster.kubeconfig (v1)kuberc (v1alpha1)kube-apiserver admission (v1)kube-apiserver configuration (v1alpha1) andkube-apiserver configuration (v1beta1) and kube-apiserver configuration (v1)kube-apiserver event rate limit (v1alpha1)kubelet configuration (v1alpha1) and kubelet configuration (v1beta1) kubelet configuration (v1)kubelet credential providers (v1) kube-scheduler configuration (v1)kube-controller-manager configuration (v1alpha1)kube-proxy configuration (v1alpha1)audit.k8s.io/v1 APIClient authentication API (v1beta1) and Client authentication API (v1)WebhookAdmission configuration (v1)ImagePolicy API (v1alpha1)Config API for kubeadmv1beta3v1beta4External APIsThese are the APIs defined by the Kubernetes project, but are not implemented by the core project:Metrics API (v1beta1)Custom Metrics API (v1beta2)External Metrics API (v1beta1)Design DocsAn archive of the design docs for Kubernetes functionality. Good starting points are Kubernetes Architecture and Kubernetes Design Overview.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/",
    "id": "k8s_00145_qa_2592"
  },
  {
    "question": "What is Reference?",
    "answer": "K u b e r n e t e s   D o c u m e n t a t i o n   D o c u m e n t a t i o n   A v a i l a b l e   D o c u m e n t a t i o n   V e r s i o n s   G e t t i n g   s t a r t e d   L e a r n i n g   e n v i r o n m e n t   P r o d u c t i o n   e n v i r o n m e n t   C o n t a i n e r   R u n t i m e s   I n s t a l l i n g   K u b e r n e t e s   w i t h   d e p l o y m e n t   t o o l s   B o o t s t r a p p i n g   c l u s t e r s   w i t h   k u b e a d m   I n s t a l l i n g   k u b e a d m   T r o u b l e s h o o t i n g   k u b e a d m   C r e a t i n g   a   c l u s t e r   w i t h   k u b e a d m   C u s t o m i z i n g   c o m p o n e n t s   w i t h   t h e   k u b e a d m   A P I   O p t i o n s   f o r   H i g h l y   A v a i l a b l e   T o p o l o g y   C r e a t i n g   H i g h l y   A v a i l a b l e   C l u s t e r s   w i t h   k u b e a d m   S e t   u p   a   H i g h   A v a i l a b i l i t y   e t c d   C l u s t e r   w i t h   k u b e a d m   C o n f i g u r i n g   e a c h   k u b e l e t   i n   y o u r   c l u s t e r   u s i n g   k u b e a d m   D u a l - s t a c k   s u p p o r t   w i t h   k u b e a d m   T u r n k e y   C l o u d   S o l u t i o n s   B e s t   p r a c t i c e s   C o n s i d e r a t i o n s   f o r   l a r g e   c l u s t e r s   R u n n i n g   i n   m u l t i p l e   z o n e s   V a l i d a t e   n o d e   s e t u p   E n f o r c i n g   P o d   S e c u r i t y   S t a n d a r d s   P K I   c e r t i f i c a t e s   a n d   r e q u i r e m e n t s   C o n c e p t s   O v e r v i e w   K u b e r n e t e s   C o m p o n e n t s   O b j e c t s   I n   K u b e r n e t e s   K u b e r n e t e s   O b j e c t   M a n a g e m e n t   O b j e c t   N a m e s   a n d   I D s   L a b e l s   a n d   S e l e c t o r s   N a m e s p a c e s   A n n o t a t i o n s   F i e l d   S e l e c t o r s   F i n a l i z e r s   O w n e r s   a n d   D e p e n d e n t s   R e c o m m e n d e d   L a b e l s   T h e   K u b e r n e t e s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/",
    "id": "k8s_00145_section_1_2593"
  },
  {
    "question": "What is API Reference?",
    "answer": "G l o s s a r y   -   a   c o m p r e h e n s i v e ,   s t a n d a r d i z e d   l i s t   o f   K u b e r n e t e s   t e r m i n o l o g y K u b e r n e t e s   A P I   R e f e r e n c e O n e - p a g e   A P I   R e f e r e n c e   f o r   K u b e r n e t e s   v 1 . 3 4 U s i n g   T h e   K u b e r n e t e s   A P I   -   o v e r v i e w   o f   t h e   A P I   f o r   K u b e r n e t e s . A P I   a c c e s s   c o n t r o l   -   d e t a i l s   o n   h o w   K u b e r n e t e s   c o n t r o l s   A P I   a c c e s s W e l l - K n o w n   L a b e l s ,   A n n o t a t i o n s   a n d   T a i n t s   G l o s s a r y   -   a   c o m p r e h e n s i v e ,   s t a n d a r d i z e d   l i s t   o f   K u b e r n e t e s   t e r m i n o l o g y   K u b e r n e t e s   A P I   R e f e r e n c e   O n e - p a g e   A P I   R e f e r e n c e   f o r   K u b e r n e t e s   v 1 . 3 4   U s i n g   T h e   K u b e r n e t e s   A P I   -   o v e r v i e w   o f   t h e   A P I   f o r   K u b e r n e t e s .   A P I   a c c e s s   c o n t r o l   -   d e t a i l s   o n   h o w   K u b e r n e t e s   c o n t r o l s   A P I   a c c e s s   W e l l - K n o w n   L a b e l s ,   A n n o t a t i o n s   a n d   T a i n t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/",
    "id": "k8s_00145_section_2_2594"
  },
  {
    "question": "What is Officially supported client libraries?",
    "answer": "T o   c a l l   t h e   K u b e r n e t e s   A P I   f r o m   a   p r o g r a m m i n g   l a n g u a g e ,   y o u   c a n   u s e   c l i e n t   l i b r a r i e s .   O f f i c i a l l y   s u p p o r t e d   c l i e n t   l i b r a r i e s :   K u b e r n e t e s   G o   c l i e n t   l i b r a r y K u b e r n e t e s   P y t h o n   c l i e n t   l i b r a r y K u b e r n e t e s   J a v a   c l i e n t   l i b r a r y K u b e r n e t e s   J a v a S c r i p t   c l i e n t   l i b r a r y K u b e r n e t e s   C #   c l i e n t   l i b r a r y K u b e r n e t e s   H a s k e l l   c l i e n t   l i b r a r y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/",
    "id": "k8s_00145_section_2_2595"
  },
  {
    "question": "What is CLI?",
    "answer": "k u b e c t l   -   M a i n   C L I   t o o l   f o r   r u n n i n g   c o m m a n d s   a n d   m a n a g i n g   K u b e r n e t e s   c l u s t e r s . J S O N P a t h   -   S y n t a x   g u i d e   f o r   u s i n g   J S O N P a t h   e x p r e s s i o n s   w i t h   k u b e c t l . k u b e a d m   -   C L I   t o o l   t o   e a s i l y   p r o v i s i o n   a   s e c u r e   K u b e r n e t e s   c l u s t e r .   J S O N P a t h   -   S y n t a x   g u i d e   f o r   u s i n g   J S O N P a t h   e x p r e s s i o n s   w i t h   k u b e c t l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/",
    "id": "k8s_00145_section_2_2596"
  },
  {
    "question": "What is Components?",
    "answer": "k u b e l e t   -   T h e   p r i m a r y   a g e n t   t h a t   r u n s   o n   e a c h   n o d e .   T h e   k u b e l e t   t a k e s   a   s e t   o f   P o d S p e c s   a n d   e n s u r e s   t h a t   t h e   d e s c r i b e d   c o n t a i n e r s   a r e   r u n n i n g   a n d   h e a l t h y . k u b e - a p i s e r v e r   -   R E S T   A P I   t h a t   v a l i d a t e s   a n d   c o n f i g u r e s   d a t a   f o r   A P I   o b j e c t s   s u c h   a s   p o d s ,   s e r v i c e s ,   r e p l i c a t i o n   c o n t r o l l e r s . k u b e - c o n t r o l l e r - m a n a g e r   -   D a e m o n   t h a t   e m b e d s   t h e   c o r e   c o n t r o l   l o o p s   s h i p p e d   w i t h   K u b e r n e t e s . k u b e - p r o x y   -   C a n   d o   s i m p l e   T C P / U D P   s t r e a m   f o r w a r d i n g   o r   r o u n d - r o b i n   T C P / U D P   f o r w a r d i n g   a c r o s s   a   s e t   o f   b a c k - e n d s . k u b e - s c h e d u l e r   -   S c h e d u l e r   t h a t   m a n a g e s   a v a i l a b i l i t y ,   p e r f o r m a n c e ,   a n d   c a p a c i t y . S c h e d u l e r   P o l i c i e s S c h e d u l e r   P r o f i l e s L i s t   o f   p o r t s   a n d   p r o t o c o l s   t h a t   s h o u l d   b e   o p e n   o n   c o n t r o l   p l a n e   a n d   w o r k e r   n o d e s   k u b e l e t   -   T h e   p r i m a r y   a g e n t   t h a t   r u n s   o n   e a c h   n o d e .   T h e   k u b e l e t   t a k e s   a   s e t   o f   P o d S p e c s   a n d   e n s u r e s   t h a t   t h e   d e s c r i b e d   c o n t a i n e r s   a r e   r u n n i n g   a n d   h e a l t h y .   k u b e - a p i s e r v e r   -   R E S T   A P I   t h a t   v a l i d a t e s   a n d   c o n f i g u r e s   d a t a   f o r   A P I   o b j e c t s   s u c h   a s   p o d s ,   s e r v i c e s ,   r e p l i c a t i o n   c o n t r o l l e r s .   k u b e - c o n t r o l l e r - m a n a g e r   -   D a e m o n   t h a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/",
    "id": "k8s_00145_section_2_2597"
  },
  {
    "question": "What is Config APIs?",
    "answer": "T h i s   s e c t i o n   h o s t s   t h e   d o c u m e n t a t i o n   f o r   \" u n p u b l i s h e d \"   A P I s   w h i c h   a r e   u s e d   t o   c o n f i g u r e   k u b e r n e t e s   c o m p o n e n t s   o r   t o o l s .   M o s t   o f   t h e s e   A P I s   a r e   n o t   e x p o s e d   b y   t h e   A P I   s e r v e r   i n   a   R E S T f u l   w a y   t h o u g h   t h e y   a r e   e s s e n t i a l   f o r   a   u s e r   o r   a n   o p e r a t o r   t o   u s e   o r   m a n a g e   a   c l u s t e r .   k u b e c o n f i g   ( v 1 ) k u b e r c   ( v 1 a l p h a 1 ) k u b e - a p i s e r v e r   a d m i s s i o n   ( v 1 ) k u b e - a p i s e r v e r   c o n f i g u r a t i o n   ( v 1 a l p h a 1 )   a n d k u b e - a p i s e r v e r   c o n f i g u r a t i o n   ( v 1 b e t a 1 )   a n d   k u b e - a p i s e r v e r   c o n f i g u r a t i o n   ( v 1 ) k u b e - a p i s e r v e r   e v e n t   r a t e   l i m i t   ( v 1 a l p h a 1 ) k u b e l e t   c o n f i g u r a t i o n   ( v 1 a l p h a 1 )   a n d   k u b e l e t   c o n f i g u r a t i o n   ( v 1 b e t a 1 )   k u b e l e t   c o n f i g u r a t i o n   ( v 1 ) k u b e l e t   c r e d e n t i a l   p r o v i d e r s   ( v 1 )   k u b e - s c h e d u l e r   c o n f i g u r a t i o n   ( v 1 ) k u b e - c o n t r o l l e r - m a n a g e r   c o n f i g u r a t i o n   ( v 1 a l p h a 1 ) k u b e - p r o x y   c o n f i g u r a t i o n   ( v 1 a l p h a 1 ) a u d i t . k 8 s . i o / v 1   A P I C l i e n t   a u t h e n t i c a t i o n   A P I   ( v 1 b e t a 1 )   a n d   C l i e n t   a u t h e n t i c a t i o n   A P I   ( v 1 ) W e b h o o k A d m i s s i o n   c o n f i g u r a t i o n   ( v 1 ) I m a g e P o l i c y   A P I   ( v 1 a l p h a 1 )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/",
    "id": "k8s_00145_section_2_2598"
  },
  {
    "question": "What is Config API for kubeadm?",
    "answer": "v 1 b e t a 3 v 1 b e t a 4",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/",
    "id": "k8s_00145_section_2_2599"
  },
  {
    "question": "What is External APIs?",
    "answer": "T h e s e   a r e   t h e   A P I s   d e f i n e d   b y   t h e   K u b e r n e t e s   p r o j e c t ,   b u t   a r e   n o t   i m p l e m e n t e d   b y   t h e   c o r e   p r o j e c t :   M e t r i c s   A P I   ( v 1 b e t a 1 ) C u s t o m   M e t r i c s   A P I   ( v 1 b e t a 2 ) E x t e r n a l   M e t r i c s   A P I   ( v 1 b e t a 1 )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/",
    "id": "k8s_00145_section_2_2600"
  },
  {
    "question": "What is Design Docs?",
    "answer": "A n   a r c h i v e   o f   t h e   d e s i g n   d o c s   f o r   K u b e r n e t e s   f u n c t i o n a l i t y .   G o o d   s t a r t i n g   p o i n t s   a r e   K u b e r n e t e s   A r c h i t e c t u r e   a n d   K u b e r n e t e s   D e s i g n   O v e r v i e w .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/",
    "id": "k8s_00145_section_2_2601"
  },
  {
    "question": "What is Security?",
    "answer": "SecurityConcepts for keeping your cloud-native workload secure.This section of the Kubernetes documentation aims to help you learn to run workloads more securely, and about the essential aspects of keeping a Kubernetes cluster secure.Kubernetes is based on a cloud-native architecture, and draws on advice from the CNCF about good practice for cloud native information security.Read Cloud Native Security and Kubernetes for the broader context about how to secure your cluster and the applications that you're running on it.Kubernetes security mechanismsKubernetes includes several APIs and security controls, as well as ways to define policies that can form part of how you manage information security.Control plane protectionA key security mechanism for any Kubernetes cluster is to control access to the Kubernetes API.Kubernetes expects you to configure and use TLS to provide data encryption in transit within the control plane, and between the control plane and its clients. You can also enable encryption at rest for the data stored within Kubernetes control plane; this is separate from using encryption at rest for your own workloads' data, which might also be a good idea.SecretsThe Secret API provides basic protection for configuration values that require confidentiality.Workload protectionEnforce Pod security standards to ensure that Pods and their containers are isolated appropriately. You can also use RuntimeClasses to define custom isolation if you need it.Network policies let you control network traffic between Pods, or between Pods and the network outside your cluster.You can deploy security controls from the wider ecosystem to implement preventative or detective controls around Pods, their containers, and the images that run in them.Admission controlAdmission controllers are plugins that intercept Kubernetes API requests and can validate or mutate the requests based on specific fields in the request. Thoughtfully designing these controllers helps to avoid unintended disruptions as Kubernetes APIs change across version updates. For design considerations, see Admission Webhook Good Practices.AuditingKubernetes audit logging provides a security-relevant, chronological set of records documenting the sequence of actions in a cluster. The cluster audits the activities generated by users, by applications that use the Kubernetes API, and by the control plane itself.Cloud provider securityNote: Items on this page refer to vendors external to Kubernetes. The Kubernetes project authors aren't responsible for those third-party products or projects. To add a vendor, product or project to this list, read the content guide before submitting a change. More information.If you are running a Kubernetes cluster on your own hardware or a different cloud provider, consult your documentation for security best practices. Here are links to some of the popular cloud providers' security documentation:Cloud provider securityIaaS ProviderLinkAlibaba Cloudhttps://www.alibabacl",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/",
    "id": "k8s_00146_qa_2602"
  },
  {
    "question": "How does Security work?",
    "answer": "SecurityConcepts for keeping your cloud-native workload secure.This section of the Kubernetes documentation aims to help you learn to run workloads more securely, and about the essential aspects of keeping a Kubernetes cluster secure.Kubernetes is based on a cloud-native architecture, and draws on advice from the CNCF about good practice for cloud native information security.Read Cloud Native Security and Kubernetes for the broader context about how to secure your cluster and the applications that you're running on it.Kubernetes security mechanismsKubernetes includes several APIs and security controls, as well as ways to define policies that can form part of how you manage information security.Control plane protectionA key security mechanism for any Kubernetes cluster is to control access to the Kubernetes API.Kubernetes expects you to configure and use TLS to provide data encryption in transit within the control plane, and between the control plane and its clients. You can also enable encryption at rest for the data stored within Kubernetes control plane; this is separate from using encryption at rest for your own workloads' data, which might also be a good idea.SecretsThe Secret API provides basic protection for configuration values that require confidentiality.Workload protectionEnforce Pod security standards to ensure that Pods and their containers are isolated appropriately. You can also use RuntimeClasses to define custom isolation if you need it.Network policies let you control network traffic between Pods, or between Pods and the network outside your cluster.You can deploy security controls from the wider ecosystem to implement preventative or detective controls around Pods, their containers, and the images that run in them.Admission controlAdmission controllers are plugins that intercept Kubernetes API requests and can validate or mutate the requests based on specific fields in the request. Thoughtfully designing these controllers helps to avoid unintended disruptions as Kubernetes APIs change across version updates. For design considerations, see Admission Webhook Good Practices.AuditingKubernetes audit logging provides a security-relevant, chronological set of records documenting the sequence of actions in a cluster. The cluster audits the activities generated by users, by applications that use the Kubernetes API, and by the control plane itself.Cloud provider securityNote: Items on this page refer to vendors external to Kubernetes. The Kubernetes project authors aren't responsible for those third-party products or projects. To add a vendor, product or project to this list, read the content guide before submitting a change. More information.If you are running a Kubernetes cluster on your own hardware or a different cloud provider, consult your documentation for security best practices. Here are links to some of the popular cloud providers' security documentation:Cloud provider securityIaaS ProviderLinkAlibaba Cloudhttps://www.alibabacl",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/",
    "id": "k8s_00146_qa_2603"
  },
  {
    "question": "When would you use Security?",
    "answer": "SecurityConcepts for keeping your cloud-native workload secure.This section of the Kubernetes documentation aims to help you learn to run workloads more securely, and about the essential aspects of keeping a Kubernetes cluster secure.Kubernetes is based on a cloud-native architecture, and draws on advice from the CNCF about good practice for cloud native information security.Read Cloud Native Security and Kubernetes for the broader context about how to secure your cluster and the applications that you're running on it.Kubernetes security mechanismsKubernetes includes several APIs and security controls, as well as ways to define policies that can form part of how you manage information security.Control plane protectionA key security mechanism for any Kubernetes cluster is to control access to the Kubernetes API.Kubernetes expects you to configure and use TLS to provide data encryption in transit within the control plane, and between the control plane and its clients. You can also enable encryption at rest for the data stored within Kubernetes control plane; this is separate from using encryption at rest for your own workloads' data, which might also be a good idea.SecretsThe Secret API provides basic protection for configuration values that require confidentiality.Workload protectionEnforce Pod security standards to ensure that Pods and their containers are isolated appropriately. You can also use RuntimeClasses to define custom isolation if you need it.Network policies let you control network traffic between Pods, or between Pods and the network outside your cluster.You can deploy security controls from the wider ecosystem to implement preventative or detective controls around Pods, their containers, and the images that run in them.Admission controlAdmission controllers are plugins that intercept Kubernetes API requests and can validate or mutate the requests based on specific fields in the request. Thoughtfully designing these controllers helps to avoid unintended disruptions as Kubernetes APIs change across version updates. For design considerations, see Admission Webhook Good Practices.AuditingKubernetes audit logging provides a security-relevant, chronological set of records documenting the sequence of actions in a cluster. The cluster audits the activities generated by users, by applications that use the Kubernetes API, and by the control plane itself.Cloud provider securityNote: Items on this page refer to vendors external to Kubernetes. The Kubernetes project authors aren't responsible for those third-party products or projects. To add a vendor, product or project to this list, read the content guide before submitting a change. More information.If you are running a Kubernetes cluster on your own hardware or a different cloud provider, consult your documentation for security best practices. Here are links to some of the popular cloud providers' security documentation:Cloud provider securityIaaS ProviderLinkAlibaba Cloudhttps://www.alibabacl",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/",
    "id": "k8s_00146_qa_2604"
  },
  {
    "question": "What are the benefits of Security?",
    "answer": "SecurityConcepts for keeping your cloud-native workload secure.This section of the Kubernetes documentation aims to help you learn to run workloads more securely, and about the essential aspects of keeping a Kubernetes cluster secure.Kubernetes is based on a cloud-native architecture, and draws on advice from the CNCF about good practice for cloud native information security.Read Cloud Native Security and Kubernetes for the broader context about how to secure your cluster and the applications that you're running on it.Kubernetes security mechanismsKubernetes includes several APIs and security controls, as well as ways to define policies that can form part of how you manage information security.Control plane protectionA key security mechanism for any Kubernetes cluster is to control access to the Kubernetes API.Kubernetes expects you to configure and use TLS to provide data encryption in transit within the control plane, and between the control plane and its clients. You can also enable encryption at rest for the data stored within Kubernetes control plane; this is separate from using encryption at rest for your own workloads' data, which might also be a good idea.SecretsThe Secret API provides basic protection for configuration values that require confidentiality.Workload protectionEnforce Pod security standards to ensure that Pods and their containers are isolated appropriately. You can also use RuntimeClasses to define custom isolation if you need it.Network policies let you control network traffic between Pods, or between Pods and the network outside your cluster.You can deploy security controls from the wider ecosystem to implement preventative or detective controls around Pods, their containers, and the images that run in them.Admission controlAdmission controllers are plugins that intercept Kubernetes API requests and can validate or mutate the requests based on specific fields in the request. Thoughtfully designing these controllers helps to avoid unintended disruptions as Kubernetes APIs change across version updates. For design considerations, see Admission Webhook Good Practices.AuditingKubernetes audit logging provides a security-relevant, chronological set of records documenting the sequence of actions in a cluster. The cluster audits the activities generated by users, by applications that use the Kubernetes API, and by the control plane itself.Cloud provider securityNote: Items on this page refer to vendors external to Kubernetes. The Kubernetes project authors aren't responsible for those third-party products or projects. To add a vendor, product or project to this list, read the content guide before submitting a change. More information.If you are running a Kubernetes cluster on your own hardware or a different cloud provider, consult your documentation for security best practices. Here are links to some of the popular cloud providers' security documentation:Cloud provider securityIaaS ProviderLinkAlibaba Cloudhttps://www.alibabacl",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/",
    "id": "k8s_00146_qa_2605"
  },
  {
    "question": "What is Security?",
    "answer": "T h i s   s e c t i o n   o f   t h e   K u b e r n e t e s   d o c u m e n t a t i o n   a i m s   t o   h e l p   y o u   l e a r n   t o   r u n   w o r k l o a d s   m o r e   s e c u r e l y ,   a n d   a b o u t   t h e   e s s e n t i a l   a s p e c t s   o f   k e e p i n g   a   K u b e r n e t e s   c l u s t e r   s e c u r e .   K u b e r n e t e s   i s   b a s e d   o n   a   c l o u d - n a t i v e   a r c h i t e c t u r e ,   a n d   d r a w s   o n   a d v i c e   f r o m   t h e   C N C F   a b o u t   g o o d   p r a c t i c e   f o r   c l o u d   n a t i v e   i n f o r m a t i o n   s e c u r i t y .   R e a d   C l o u d   N a t i v e   S e c u r i t y   a n d   K u b e r n e t e s   f o r   t h e   b r o a d e r   c o n t e x t   a b o u t   h o w   t o   s e c u r e   y o u r   c l u s t e r   a n d   t h e   a p p l i c a t i o n s   t h a t   y o u ' r e   r u n n i n g   o n   i t .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/",
    "id": "k8s_00146_section_1_2606"
  },
  {
    "question": "What is Kubernetes security mechanisms?",
    "answer": "K u b e r n e t e s   i n c l u d e s   s e v e r a l   A P I s   a n d   s e c u r i t y   c o n t r o l s ,   a s   w e l l   a s   w a y s   t o   d e f i n e   p o l i c i e s   t h a t   c a n   f o r m   p a r t   o f   h o w   y o u   m a n a g e   i n f o r m a t i o n   s e c u r i t y .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/",
    "id": "k8s_00146_section_2_2607"
  },
  {
    "question": "What is Control plane protection?",
    "answer": "A   k e y   s e c u r i t y   m e c h a n i s m   f o r   a n y   K u b e r n e t e s   c l u s t e r   i s   t o   c o n t r o l   a c c e s s   t o   t h e   K u b e r n e t e s   A P I .   K u b e r n e t e s   e x p e c t s   y o u   t o   c o n f i g u r e   a n d   u s e   T L S   t o   p r o v i d e   d a t a   e n c r y p t i o n   i n   t r a n s i t   w i t h i n   t h e   c o n t r o l   p l a n e ,   a n d   b e t w e e n   t h e   c o n t r o l   p l a n e   a n d   i t s   c l i e n t s .   Y o u   c a n   a l s o   e n a b l e   e n c r y p t i o n   a t   r e s t   f o r   t h e   d a t a   s t o r e d   w i t h i n   K u b e r n e t e s   c o n t r o l   p l a n e ;   t h i s   i s   s e p a r a t e   f r o m   u s i n g   e n c r y p t i o n   a t   r e s t   f o r   y o u r   o w n   w o r k l o a d s '   d a t a ,   w h i c h   m i g h t   a l s o   b e   a   g o o d   i d e a .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/",
    "id": "k8s_00146_section_3_2608"
  },
  {
    "question": "What is Secrets?",
    "answer": "T h e   S e c r e t   A P I   p r o v i d e s   b a s i c   p r o t e c t i o n   f o r   c o n f i g u r a t i o n   v a l u e s   t h a t   r e q u i r e   c o n f i d e n t i a l i t y .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/",
    "id": "k8s_00146_section_3_2609"
  },
  {
    "question": "What is Workload protection?",
    "answer": "E n f o r c e   P o d   s e c u r i t y   s t a n d a r d s   t o   e n s u r e   t h a t   P o d s   a n d   t h e i r   c o n t a i n e r s   a r e   i s o l a t e d   a p p r o p r i a t e l y .   Y o u   c a n   a l s o   u s e   R u n t i m e C l a s s e s   t o   d e f i n e   c u s t o m   i s o l a t i o n   i f   y o u   n e e d   i t .   N e t w o r k   p o l i c i e s   l e t   y o u   c o n t r o l   n e t w o r k   t r a f f i c   b e t w e e n   P o d s ,   o r   b e t w e e n   P o d s   a n d   t h e   n e t w o r k   o u t s i d e   y o u r   c l u s t e r .   Y o u   c a n   d e p l o y   s e c u r i t y   c o n t r o l s   f r o m   t h e   w i d e r   e c o s y s t e m   t o   i m p l e m e n t   p r e v e n t a t i v e   o r   d e t e c t i v e   c o n t r o l s   a r o u n d   P o d s ,   t h e i r   c o n t a i n e r s ,   a n d   t h e   i m a g e s   t h a t   r u n   i n   t h e m .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/",
    "id": "k8s_00146_section_3_2610"
  },
  {
    "question": "What is Admission control?",
    "answer": "A d m i s s i o n   c o n t r o l l e r s   a r e   p l u g i n s   t h a t   i n t e r c e p t   K u b e r n e t e s   A P I   r e q u e s t s   a n d   c a n   v a l i d a t e   o r   m u t a t e   t h e   r e q u e s t s   b a s e d   o n   s p e c i f i c   f i e l d s   i n   t h e   r e q u e s t .   T h o u g h t f u l l y   d e s i g n i n g   t h e s e   c o n t r o l l e r s   h e l p s   t o   a v o i d   u n i n t e n d e d   d i s r u p t i o n s   a s   K u b e r n e t e s   A P I s   c h a n g e   a c r o s s   v e r s i o n   u p d a t e s .   F o r   d e s i g n   c o n s i d e r a t i o n s ,   s e e   A d m i s s i o n   W e b h o o k   G o o d   P r a c t i c e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/",
    "id": "k8s_00146_section_3_2611"
  },
  {
    "question": "What is Auditing?",
    "answer": "K u b e r n e t e s   a u d i t   l o g g i n g   p r o v i d e s   a   s e c u r i t y - r e l e v a n t ,   c h r o n o l o g i c a l   s e t   o f   r e c o r d s   d o c u m e n t i n g   t h e   s e q u e n c e   o f   a c t i o n s   i n   a   c l u s t e r .   T h e   c l u s t e r   a u d i t s   t h e   a c t i v i t i e s   g e n e r a t e d   b y   u s e r s ,   b y   a p p l i c a t i o n s   t h a t   u s e   t h e   K u b e r n e t e s   A P I ,   a n d   b y   t h e   c o n t r o l   p l a n e   i t s e l f .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/",
    "id": "k8s_00146_section_3_2612"
  },
  {
    "question": "What is Cloud provider security?",
    "answer": "I f   y o u   a r e   r u n n i n g   a   K u b e r n e t e s   c l u s t e r   o n   y o u r   o w n   h a r d w a r e   o r   a   d i f f e r e n t   c l o u d   p r o v i d e r ,   c o n s u l t   y o u r   d o c u m e n t a t i o n   f o r   s e c u r i t y   b e s t   p r a c t i c e s .   H e r e   a r e   l i n k s   t o   s o m e   o f   t h e   p o p u l a r   c l o u d   p r o v i d e r s '   s e c u r i t y   d o c u m e n t a t i o n :",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/",
    "id": "k8s_00146_section_2_2613"
  },
  {
    "question": "What is Policies?",
    "answer": "Y o u   c a n   d e f i n e   s e c u r i t y   p o l i c i e s   u s i n g   K u b e r n e t e s - n a t i v e   m e c h a n i s m s ,   s u c h   a s   N e t w o r k P o l i c y   ( d e c l a r a t i v e   c o n t r o l   o v e r   n e t w o r k   p a c k e t   f i l t e r i n g )   o r   V a l i d a t i n g A d m i s s i o n P o l i c y   ( d e c l a r a t i v e   r e s t r i c t i o n s   o n   w h a t   c h a n g e s   s o m e o n e   c a n   m a k e   u s i n g   t h e   K u b e r n e t e s   A P I ) .   H o w e v e r ,   y o u   c a n   a l s o   r e l y   o n   p o l i c y   i m p l e m e n t a t i o n s   f r o m   t h e   w i d e r   e c o s y s t e m   a r o u n d   K u b e r n e t e s .   K u b e r n e t e s   p r o v i d e s   e x t e n s i o n   m e c h a n i s m s   t o   l e t   t h o s e   e c o s y s t e m   p r o j e c t s   i m p l e m e n t   t h e i r   o w n   p o l i c y   c o n t r o l s   o n   s o u r c e   c o d e   r e v i e w ,   c o n t a i n e r   i m a g e   a p p r o v a l ,   A P I   a c c e s s   c o n t r o l s ,   n e t w o r k i n g ,   a n d   m o r e .   F o r   m o r e   i n f o r m a t i o n   a b o u t   p o l i c y   m e c h a n i s m s   a n d   K u b e r n e t e s ,   r e a d   P o l i c i e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/",
    "id": "k8s_00146_section_2_2614"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   r e l a t e d   K u b e r n e t e s   s e c u r i t y   t o p i c s :   S e c u r i n g   y o u r   c l u s t e r K n o w n   v u l n e r a b i l i t i e s   i n   K u b e r n e t e s   ( a n d   l i n k s   t o   f u r t h e r   i n f o r m a t i o n ) D a t a   e n c r y p t i o n   i n   t r a n s i t   f o r   t h e   c o n t r o l   p l a n e D a t a   e n c r y p t i o n   a t   r e s t C o n t r o l l i n g   A c c e s s   t o   t h e   K u b e r n e t e s   A P I N e t w o r k   p o l i c i e s   f o r   P o d s S e c r e t s   i n   K u b e r n e t e s P o d   s e c u r i t y   s t a n d a r d s R u n t i m e C l a s s e s   L e a r n   t h e   c o n t e x t :   C l o u d   N a t i v e   S e c u r i t y   a n d   K u b e r n e t e s   G e t   c e r t i f i e d :   C e r t i f i e d   K u b e r n e t e s   S e c u r i t y   S p e c i a l i s t   c e r t i f i c a t i o n   a n d   o f f i c i a l   t r a i n i n g   c o u r s e .   R e a d   m o r e   i n   t h i s   s e c t i o n :   P o d   S e c u r i t y   S t a n d a r d s P o d   S e c u r i t y   A d m i s s i o n S e r v i c e   A c c o u n t s P o d   S e c u r i t y   P o l i c i e s S e c u r i t y   F o r   L i n u x   N o d e s S e c u r i t y   F o r   W i n d o w s   N o d e s C o n t r o l l i n g   A c c e s s   t o   t h e   K u b e r n e t e s   A P I R o l e   B a s e d   A c c e s s   C o n t r o l   G o o d   P r a c t i c e s G o o d   p r a c t i c e s   f o r   K u b e r n e t e s   S e c r e t s M u l t i - t e n a n c y H a r d e n i n g   G u i d e   -   A u t h e n t i c a t i o n   M e c h a n i s m s H a r d e n i n g   G u i d e   -   S c h e d u l e r   C o n f i g u r a t i o n K u b e r n e t e s   A P I   S e r v e r   B y p a s s   R i s k s L i n u x   k e r n e l   s e c u r i t y   c o n s t r a i n t s   f o r   P o d s   a n d   c o n t a i n e r s S e c u r i t y   C h e c k l i s t A p p l i c a t i o n   S e c u r i t y   C h e c k l i s t ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/",
    "id": "k8s_00146_section_2_2615"
  },
  {
    "question": "What is PodDisruptionBudget?",
    "answer": "PodDisruptionBudgetPodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods.apiVersion: policy/v1import \"k8s.io/api/policy/v1\"PodDisruptionBudgetPodDisruptionBudget is an object to define the max disruption that can be caused to a collection of podsapiVersion: policy/v1kind: PodDisruptionBudgetmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PodDisruptionBudgetSpec)Specification of the desired behavior of the PodDisruptionBudget.status (PodDisruptionBudgetStatus)Most recently observed status of the PodDisruptionBudget.PodDisruptionBudgetSpecPodDisruptionBudgetSpec is a description of a PodDisruptionBudget.maxUnavailable (IntOrString)An eviction is allowed if at most \"maxUnavailable\" pods selected by \"selector\" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \"minAvailable\".IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.minAvailable (IntOrString)An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\".IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.selector (LabelSelector)Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace.unhealthyPodEvictionPolicy (string)UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type=\"Ready\",status=\"True\".Valid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy.IfHealthyBudget policy means that running pods (status.phase=\"Running\"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction.AlwaysAllow policy means that all running pods (status.phase=\"Running\"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_qa_2616"
  },
  {
    "question": "How does PodDisruptionBudget work?",
    "answer": "PodDisruptionBudgetPodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods.apiVersion: policy/v1import \"k8s.io/api/policy/v1\"PodDisruptionBudgetPodDisruptionBudget is an object to define the max disruption that can be caused to a collection of podsapiVersion: policy/v1kind: PodDisruptionBudgetmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PodDisruptionBudgetSpec)Specification of the desired behavior of the PodDisruptionBudget.status (PodDisruptionBudgetStatus)Most recently observed status of the PodDisruptionBudget.PodDisruptionBudgetSpecPodDisruptionBudgetSpec is a description of a PodDisruptionBudget.maxUnavailable (IntOrString)An eviction is allowed if at most \"maxUnavailable\" pods selected by \"selector\" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \"minAvailable\".IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.minAvailable (IntOrString)An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\".IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.selector (LabelSelector)Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace.unhealthyPodEvictionPolicy (string)UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type=\"Ready\",status=\"True\".Valid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy.IfHealthyBudget policy means that running pods (status.phase=\"Running\"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction.AlwaysAllow policy means that all running pods (status.phase=\"Running\"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_qa_2617"
  },
  {
    "question": "When would you use PodDisruptionBudget?",
    "answer": "PodDisruptionBudgetPodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods.apiVersion: policy/v1import \"k8s.io/api/policy/v1\"PodDisruptionBudgetPodDisruptionBudget is an object to define the max disruption that can be caused to a collection of podsapiVersion: policy/v1kind: PodDisruptionBudgetmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PodDisruptionBudgetSpec)Specification of the desired behavior of the PodDisruptionBudget.status (PodDisruptionBudgetStatus)Most recently observed status of the PodDisruptionBudget.PodDisruptionBudgetSpecPodDisruptionBudgetSpec is a description of a PodDisruptionBudget.maxUnavailable (IntOrString)An eviction is allowed if at most \"maxUnavailable\" pods selected by \"selector\" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \"minAvailable\".IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.minAvailable (IntOrString)An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\".IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.selector (LabelSelector)Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace.unhealthyPodEvictionPolicy (string)UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type=\"Ready\",status=\"True\".Valid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy.IfHealthyBudget policy means that running pods (status.phase=\"Running\"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction.AlwaysAllow policy means that all running pods (status.phase=\"Running\"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_qa_2618"
  },
  {
    "question": "What are the benefits of PodDisruptionBudget?",
    "answer": "PodDisruptionBudgetPodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods.apiVersion: policy/v1import \"k8s.io/api/policy/v1\"PodDisruptionBudgetPodDisruptionBudget is an object to define the max disruption that can be caused to a collection of podsapiVersion: policy/v1kind: PodDisruptionBudgetmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PodDisruptionBudgetSpec)Specification of the desired behavior of the PodDisruptionBudget.status (PodDisruptionBudgetStatus)Most recently observed status of the PodDisruptionBudget.PodDisruptionBudgetSpecPodDisruptionBudgetSpec is a description of a PodDisruptionBudget.maxUnavailable (IntOrString)An eviction is allowed if at most \"maxUnavailable\" pods selected by \"selector\" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \"minAvailable\".IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.minAvailable (IntOrString)An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\".IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.selector (LabelSelector)Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace.unhealthyPodEvictionPolicy (string)UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type=\"Ready\",status=\"True\".Valid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy.IfHealthyBudget policy means that running pods (status.phase=\"Running\"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction.AlwaysAllow policy means that all running pods (status.phase=\"Running\"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_qa_2619"
  },
  {
    "question": "What is PodDisruptionBudget?",
    "answer": "a p i V e r s i o n :   p o l i c y / v 1   i m p o r t   \" k 8 s . i o / a p i / p o l i c y / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_1_2620"
  },
  {
    "question": "What is PodDisruptionBudget?",
    "answer": "P o d D i s r u p t i o n B u d g e t   i s   a n   o b j e c t   t o   d e f i n e   t h e   m a x   d i s r u p t i o n   t h a t   c a n   b e   c a u s e d   t o   a   c o l l e c t i o n   o f   p o d s   a p i V e r s i o n :   p o l i c y / v 1 k i n d :   P o d D i s r u p t i o n B u d g e t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( P o d D i s r u p t i o n B u d g e t S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   P o d D i s r u p t i o n B u d g e t . s t a t u s   ( P o d D i s r u p t i o n B u d g e t S t a t u s ) M o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   P o d D i s r u p t i o n B u d g e t .   a p i V e r s i o n :   p o l i c y / v 1   k i n d :   P o d D i s r u p t i o n B u d g e t   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( P o d D i s r u p t i o n B u d g e t S p e c )   S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   P o d D i s r u p t i o n B u d g e t .   s t a t u s   ( P o d D i s r u p t i o n B u d g e t S t a t u s )   M o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   P o d D i s r u p t i o n B u d g e t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_2_2621"
  },
  {
    "question": "What is PodDisruptionBudgetSpec?",
    "answer": "P o d D i s r u p t i o n B u d g e t S p e c   i s   a   d e s c r i p t i o n   o f   a   P o d D i s r u p t i o n B u d g e t .   m a x U n a v a i l a b l e   ( I n t O r S t r i n g ) A n   e v i c t i o n   i s   a l l o w e d   i f   a t   m o s t   \" m a x U n a v a i l a b l e \"   p o d s   s e l e c t e d   b y   \" s e l e c t o r \"   a r e   u n a v a i l a b l e   a f t e r   t h e   e v i c t i o n ,   i . e .   e v e n   i n   a b s e n c e   o f   t h e   e v i c t e d   p o d .   F o r   e x a m p l e ,   o n e   c a n   p r e v e n t   a l l   v o l u n t a r y   e v i c t i o n s   b y   s p e c i f y i n g   0 .   T h i s   i s   a   m u t u a l l y   e x c l u s i v e   s e t t i n g   w i t h   \" m i n A v a i l a b l e \" . I n t O r S t r i n g   i s   a   t y p e   t h a t   c a n   h o l d   a n   i n t 3 2   o r   a   s t r i n g .   W h e n   u s e d   i n   J S O N   o r   Y A M L   m a r s h a l l i n g   a n d   u n m a r s h a l l i n g ,   i t   p r o d u c e s   o r   c o n s u m e s   t h e   i n n e r   t y p e .   T h i s   a l l o w s   y o u   t o   h a v e ,   f o r   e x a m p l e ,   a   J S O N   f i e l d   t h a t   c a n   a c c e p t   a   n a m e   o r   n u m b e r . m i n A v a i l a b l e   ( I n t O r S t r i n g ) A n   e v i c t i o n   i s   a l l o w e d   i f   a t   l e a s t   \" m i n A v a i l a b l e \"   p o d s   s e l e c t e d   b y   \" s e l e c t o r \"   w i l l   s t i l l   b e   a v a i l a b l e   a f t e r   t h e   e v i c t i o n ,   i . e .   e v e n   i n   t h e   a b s e n c e   o f   t h e   e v i c t e d   p o d .   S o   f o r   e x a m p l e   y o u   c a n   p r e v e n t   a l l   v o l u n t a r y   e v i c t i o n s   b y   s p e c i f y i n g   \" 1 0 0 % \" . I n t O r S t r i n g   i s   a   t y p e   t h a t   c a n   h o l d   a n   i n t 3 2   o r   a   s t r i n g .   W h e n   u s e d   i n   J S O N   o r   Y A M L   m a r s h a l l i n g   a n d   u n m a r s h a l l i n g , ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_2_2622"
  },
  {
    "question": "What is PodDisruptionBudgetStatus?",
    "answer": "P o d D i s r u p t i o n B u d g e t S t a t u s   r e p r e s e n t s   i n f o r m a t i o n   a b o u t   t h e   s t a t u s   o f   a   P o d D i s r u p t i o n B u d g e t .   S t a t u s   m a y   t r a i l   t h e   a c t u a l   s t a t e   o f   a   s y s t e m .   c u r r e n t H e a l t h y   ( i n t 3 2 ) ,   r e q u i r e d c u r r e n t   n u m b e r   o f   h e a l t h y   p o d s d e s i r e d H e a l t h y   ( i n t 3 2 ) ,   r e q u i r e d m i n i m u m   d e s i r e d   n u m b e r   o f   h e a l t h y   p o d s d i s r u p t i o n s A l l o w e d   ( i n t 3 2 ) ,   r e q u i r e d N u m b e r   o f   p o d   d i s r u p t i o n s   t h a t   a r e   c u r r e n t l y   a l l o w e d . e x p e c t e d P o d s   ( i n t 3 2 ) ,   r e q u i r e d t o t a l   n u m b e r   o f   p o d s   c o u n t e d   b y   t h i s   d i s r u p t i o n   b u d g e t c o n d i t i o n s   ( [ ] C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e C o n d i t i o n s   c o n t a i n   c o n d i t i o n s   f o r   P D B .   T h e   d i s r u p t i o n   c o n t r o l l e r   s e t s   t h e   D i s r u p t i o n A l l o w e d   c o n d i t i o n .   T h e   f o l l o w i n g   a r e   k n o w n   v a l u e s   f o r   t h e   r e a s o n   f i e l d   ( a d d i t i o n a l   r e a s o n s   c o u l d   b e   a d d e d   i n   t h e   f u t u r e ) :   -   S y n c F a i l e d :   T h e   c o n t r o l l e r   e n c o u n t e r e d   a n   e r r o r   a n d   w a s n ' t   a b l e   t o   c o m p u t e   t h e   n u m b e r   o f   a l l o w e d   d i s r u p t i o n s .   T h e r e f o r e   n o   d i s r u p t i o n s   a r e   a l l o w e d   a n d   t h e   s t a t u s   o f   t h e   c o n d i t i o n   w i l l   b e   F a l s e . I n s u f f i c i e n t P o d s :   T h e   n u m b e r   o f   p o d s   a r e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_2_2623"
  },
  {
    "question": "What is PodDisruptionBudgetList?",
    "answer": "P o d D i s r u p t i o n B u d g e t L i s t   i s   a   c o l l e c t i o n   o f   P o d D i s r u p t i o n B u d g e t s .   a p i V e r s i o n :   p o l i c y / v 1 k i n d :   P o d D i s r u p t i o n B u d g e t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] P o d D i s r u p t i o n B u d g e t ) ,   r e q u i r e d I t e m s   i s   a   l i s t   o f   P o d D i s r u p t i o n B u d g e t s   a p i V e r s i o n :   p o l i c y / v 1   k i n d :   P o d D i s r u p t i o n B u d g e t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] P o d D i s r u p t i o n B u d g e t ) ,   r e q u i r e d   I t e m s   i s   a   l i s t   o f   P o d D i s r u p t i o n B u d g e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_2_2624"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2625"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2626"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2627"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2628"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2629"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2630"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2631"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2632"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2633"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / p o l i c y / v 1 / p o d d i s r u p t i o n b u d g e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2634"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2635"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2636"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2637"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d D i s r u p t i o n B u d g e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d D i s r u p t i o n B u d g e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2638"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t ) :   O K   2 0 1   ( P o d D i s r u p t i o n B u d g e t ) :   C r e a t e d   2 0 2   ( P o d D i s r u p t i o n B u d g e t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2639"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2640"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d D i s r u p t i o n B u d g e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d D i s r u p t i o n B u d g e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2641"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t ) :   O K   2 0 1   ( P o d D i s r u p t i o n B u d g e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2642"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2643"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d D i s r u p t i o n B u d g e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d D i s r u p t i o n B u d g e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2644"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t ) :   O K   2 0 1   ( P o d D i s r u p t i o n B u d g e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2645"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2646"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2647"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t ) :   O K   2 0 1   ( P o d D i s r u p t i o n B u d g e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2648"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2649"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2650"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t ) :   O K   2 0 1   ( P o d D i s r u p t i o n B u d g e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2651"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2652"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2653"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2654"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2655"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2656"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1/",
    "id": "k8s_00147_section_4_2657"
  },
  {
    "question": "What is JSONPath Support?",
    "answer": "JSONPath SupportThe kubectl tool supports JSONPath templates as an output format.A JSONPath template is composed of JSONPath expressions enclosed by curly braces: { and }. Kubectl uses JSONPath expressions to filter on specific fields in the JSON object and format the output. In addition to the original JSONPath template syntax, the following functions and syntax are valid:Use double quotes to quote text inside JSONPath expressions.Use the range, end operators to iterate lists.Use negative slice indices to step backwards through a list.Negative indices do not \"wrap around\" a list and are valid as long as \\( ( - index + listLength ) \\ge 0 \\).Note:The $ operator is optional since the expression always starts from the root object by default.The result object is printed as its String() function.Functions in Kubernetes JSONPathGiven the JSON input:{ \"kind\": \"List\", \"items\":[ { \"kind\":\"None\", \"metadata\":{ \"name\":\"127.0.0.1\", \"labels\":{ \"kubernetes.io/hostname\":\"127.0.0.1\" } }, \"status\":{ \"capacity\":{\"cpu\":\"4\"}, \"addresses\":[{\"type\": \"LegacyHostIP\", \"address\":\"127.0.0.1\"}] } }, { \"kind\":\"None\", \"metadata\":{\"name\":\"127.0.0.2\"}, \"status\":{ \"capacity\":{\"cpu\":\"8\"}, \"addresses\":[ {\"type\": \"LegacyHostIP\", \"address\":\"127.0.0.2\"}, {\"type\": \"another\", \"address\":\"127.0.0.3\"} ] } } ], \"users\":[ { \"name\": \"myself\", \"user\": {} }, { \"name\": \"e2e\", \"user\": {\"username\": \"admin\", \"password\": \"secret\"} } ] } Functions, their parameters, an example invocation, and the resultFunctionDescriptionExampleResulttextthe plain textkind is {.kind}kind is List@the current object{@}the same as input. or []child operator{.kind}, {['kind']} or {['name\\.type']}List..recursive descent{..name}127.0.0.1 127.0.0.2 myself e2e*wildcard. Get all objects{.items[*].metadata.name}[127.0.0.1 127.0.0.2][start:end:step]subscript operator{.users[0].name}myself[,]union operator{.items[*]['metadata.name', 'status.capacity']}127.0.0.1 127.0.0.2 map[cpu:4] map[cpu:8]?()filter{.users[?(@.name==\"e2e\")].user.password}secretrange, enditerate list{range .items[*]}[{.metadata.name}, {.status.capacity}] {end}[127.0.0.1, map[cpu:4]] [127.0.0.2, map[cpu:8]]''quote interpreted string{range .items[*]}{.metadata.name}{'\\t'}{end}127.0.0.1 127.0.0.2\\escape termination character{.items[0].metadata.labels.kubernetes\\.io/hostname}127.0.0.1Using JSONPath expressions with kubectlExamples using kubectl and JSONPath expressions:kubectl get pods -o json kubectl get pods -o=jsonpath='{@}' kubectl get pods -o=jsonpath='{.items[0]}' kubectl get pods -o=jsonpath='{.items[0].metadata.name}' kubectl get pods -o=jsonpath=\"{.items[*]['metadata.name', 'status.capacity']}\" kubectl get pods -o=jsonpath='{range .items[*]}{.metadata.name}{\"\\t\"}{.status.startTime}{\"\\n\"}{end}' kubectl get pods -o=jsonpath='{.items[0].metadata.labels.kubernetes\\.io/hostname}' Or, with a \"my_pod\" and \"my_namespace\" (adjust these names to your environment):kubectl get pod/my_pod -n my_namespace -o=jsonpath='{@}' kubectl get pod/my_pod -n my_namespace -o=jsonp",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/jsonpath/",
    "id": "k8s_00148_qa_2658"
  },
  {
    "question": "How does JSONPath Support work?",
    "answer": "JSONPath SupportThe kubectl tool supports JSONPath templates as an output format.A JSONPath template is composed of JSONPath expressions enclosed by curly braces: { and }. Kubectl uses JSONPath expressions to filter on specific fields in the JSON object and format the output. In addition to the original JSONPath template syntax, the following functions and syntax are valid:Use double quotes to quote text inside JSONPath expressions.Use the range, end operators to iterate lists.Use negative slice indices to step backwards through a list.Negative indices do not \"wrap around\" a list and are valid as long as \\( ( - index + listLength ) \\ge 0 \\).Note:The $ operator is optional since the expression always starts from the root object by default.The result object is printed as its String() function.Functions in Kubernetes JSONPathGiven the JSON input:{ \"kind\": \"List\", \"items\":[ { \"kind\":\"None\", \"metadata\":{ \"name\":\"127.0.0.1\", \"labels\":{ \"kubernetes.io/hostname\":\"127.0.0.1\" } }, \"status\":{ \"capacity\":{\"cpu\":\"4\"}, \"addresses\":[{\"type\": \"LegacyHostIP\", \"address\":\"127.0.0.1\"}] } }, { \"kind\":\"None\", \"metadata\":{\"name\":\"127.0.0.2\"}, \"status\":{ \"capacity\":{\"cpu\":\"8\"}, \"addresses\":[ {\"type\": \"LegacyHostIP\", \"address\":\"127.0.0.2\"}, {\"type\": \"another\", \"address\":\"127.0.0.3\"} ] } } ], \"users\":[ { \"name\": \"myself\", \"user\": {} }, { \"name\": \"e2e\", \"user\": {\"username\": \"admin\", \"password\": \"secret\"} } ] } Functions, their parameters, an example invocation, and the resultFunctionDescriptionExampleResulttextthe plain textkind is {.kind}kind is List@the current object{@}the same as input. or []child operator{.kind}, {['kind']} or {['name\\.type']}List..recursive descent{..name}127.0.0.1 127.0.0.2 myself e2e*wildcard. Get all objects{.items[*].metadata.name}[127.0.0.1 127.0.0.2][start:end:step]subscript operator{.users[0].name}myself[,]union operator{.items[*]['metadata.name', 'status.capacity']}127.0.0.1 127.0.0.2 map[cpu:4] map[cpu:8]?()filter{.users[?(@.name==\"e2e\")].user.password}secretrange, enditerate list{range .items[*]}[{.metadata.name}, {.status.capacity}] {end}[127.0.0.1, map[cpu:4]] [127.0.0.2, map[cpu:8]]''quote interpreted string{range .items[*]}{.metadata.name}{'\\t'}{end}127.0.0.1 127.0.0.2\\escape termination character{.items[0].metadata.labels.kubernetes\\.io/hostname}127.0.0.1Using JSONPath expressions with kubectlExamples using kubectl and JSONPath expressions:kubectl get pods -o json kubectl get pods -o=jsonpath='{@}' kubectl get pods -o=jsonpath='{.items[0]}' kubectl get pods -o=jsonpath='{.items[0].metadata.name}' kubectl get pods -o=jsonpath=\"{.items[*]['metadata.name', 'status.capacity']}\" kubectl get pods -o=jsonpath='{range .items[*]}{.metadata.name}{\"\\t\"}{.status.startTime}{\"\\n\"}{end}' kubectl get pods -o=jsonpath='{.items[0].metadata.labels.kubernetes\\.io/hostname}' Or, with a \"my_pod\" and \"my_namespace\" (adjust these names to your environment):kubectl get pod/my_pod -n my_namespace -o=jsonpath='{@}' kubectl get pod/my_pod -n my_namespace -o=jsonp",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/jsonpath/",
    "id": "k8s_00148_qa_2659"
  },
  {
    "question": "When would you use JSONPath Support?",
    "answer": "JSONPath SupportThe kubectl tool supports JSONPath templates as an output format.A JSONPath template is composed of JSONPath expressions enclosed by curly braces: { and }. Kubectl uses JSONPath expressions to filter on specific fields in the JSON object and format the output. In addition to the original JSONPath template syntax, the following functions and syntax are valid:Use double quotes to quote text inside JSONPath expressions.Use the range, end operators to iterate lists.Use negative slice indices to step backwards through a list.Negative indices do not \"wrap around\" a list and are valid as long as \\( ( - index + listLength ) \\ge 0 \\).Note:The $ operator is optional since the expression always starts from the root object by default.The result object is printed as its String() function.Functions in Kubernetes JSONPathGiven the JSON input:{ \"kind\": \"List\", \"items\":[ { \"kind\":\"None\", \"metadata\":{ \"name\":\"127.0.0.1\", \"labels\":{ \"kubernetes.io/hostname\":\"127.0.0.1\" } }, \"status\":{ \"capacity\":{\"cpu\":\"4\"}, \"addresses\":[{\"type\": \"LegacyHostIP\", \"address\":\"127.0.0.1\"}] } }, { \"kind\":\"None\", \"metadata\":{\"name\":\"127.0.0.2\"}, \"status\":{ \"capacity\":{\"cpu\":\"8\"}, \"addresses\":[ {\"type\": \"LegacyHostIP\", \"address\":\"127.0.0.2\"}, {\"type\": \"another\", \"address\":\"127.0.0.3\"} ] } } ], \"users\":[ { \"name\": \"myself\", \"user\": {} }, { \"name\": \"e2e\", \"user\": {\"username\": \"admin\", \"password\": \"secret\"} } ] } Functions, their parameters, an example invocation, and the resultFunctionDescriptionExampleResulttextthe plain textkind is {.kind}kind is List@the current object{@}the same as input. or []child operator{.kind}, {['kind']} or {['name\\.type']}List..recursive descent{..name}127.0.0.1 127.0.0.2 myself e2e*wildcard. Get all objects{.items[*].metadata.name}[127.0.0.1 127.0.0.2][start:end:step]subscript operator{.users[0].name}myself[,]union operator{.items[*]['metadata.name', 'status.capacity']}127.0.0.1 127.0.0.2 map[cpu:4] map[cpu:8]?()filter{.users[?(@.name==\"e2e\")].user.password}secretrange, enditerate list{range .items[*]}[{.metadata.name}, {.status.capacity}] {end}[127.0.0.1, map[cpu:4]] [127.0.0.2, map[cpu:8]]''quote interpreted string{range .items[*]}{.metadata.name}{'\\t'}{end}127.0.0.1 127.0.0.2\\escape termination character{.items[0].metadata.labels.kubernetes\\.io/hostname}127.0.0.1Using JSONPath expressions with kubectlExamples using kubectl and JSONPath expressions:kubectl get pods -o json kubectl get pods -o=jsonpath='{@}' kubectl get pods -o=jsonpath='{.items[0]}' kubectl get pods -o=jsonpath='{.items[0].metadata.name}' kubectl get pods -o=jsonpath=\"{.items[*]['metadata.name', 'status.capacity']}\" kubectl get pods -o=jsonpath='{range .items[*]}{.metadata.name}{\"\\t\"}{.status.startTime}{\"\\n\"}{end}' kubectl get pods -o=jsonpath='{.items[0].metadata.labels.kubernetes\\.io/hostname}' Or, with a \"my_pod\" and \"my_namespace\" (adjust these names to your environment):kubectl get pod/my_pod -n my_namespace -o=jsonpath='{@}' kubectl get pod/my_pod -n my_namespace -o=jsonp",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/jsonpath/",
    "id": "k8s_00148_qa_2660"
  },
  {
    "question": "What are the benefits of JSONPath Support?",
    "answer": "JSONPath SupportThe kubectl tool supports JSONPath templates as an output format.A JSONPath template is composed of JSONPath expressions enclosed by curly braces: { and }. Kubectl uses JSONPath expressions to filter on specific fields in the JSON object and format the output. In addition to the original JSONPath template syntax, the following functions and syntax are valid:Use double quotes to quote text inside JSONPath expressions.Use the range, end operators to iterate lists.Use negative slice indices to step backwards through a list.Negative indices do not \"wrap around\" a list and are valid as long as \\( ( - index + listLength ) \\ge 0 \\).Note:The $ operator is optional since the expression always starts from the root object by default.The result object is printed as its String() function.Functions in Kubernetes JSONPathGiven the JSON input:{ \"kind\": \"List\", \"items\":[ { \"kind\":\"None\", \"metadata\":{ \"name\":\"127.0.0.1\", \"labels\":{ \"kubernetes.io/hostname\":\"127.0.0.1\" } }, \"status\":{ \"capacity\":{\"cpu\":\"4\"}, \"addresses\":[{\"type\": \"LegacyHostIP\", \"address\":\"127.0.0.1\"}] } }, { \"kind\":\"None\", \"metadata\":{\"name\":\"127.0.0.2\"}, \"status\":{ \"capacity\":{\"cpu\":\"8\"}, \"addresses\":[ {\"type\": \"LegacyHostIP\", \"address\":\"127.0.0.2\"}, {\"type\": \"another\", \"address\":\"127.0.0.3\"} ] } } ], \"users\":[ { \"name\": \"myself\", \"user\": {} }, { \"name\": \"e2e\", \"user\": {\"username\": \"admin\", \"password\": \"secret\"} } ] } Functions, their parameters, an example invocation, and the resultFunctionDescriptionExampleResulttextthe plain textkind is {.kind}kind is List@the current object{@}the same as input. or []child operator{.kind}, {['kind']} or {['name\\.type']}List..recursive descent{..name}127.0.0.1 127.0.0.2 myself e2e*wildcard. Get all objects{.items[*].metadata.name}[127.0.0.1 127.0.0.2][start:end:step]subscript operator{.users[0].name}myself[,]union operator{.items[*]['metadata.name', 'status.capacity']}127.0.0.1 127.0.0.2 map[cpu:4] map[cpu:8]?()filter{.users[?(@.name==\"e2e\")].user.password}secretrange, enditerate list{range .items[*]}[{.metadata.name}, {.status.capacity}] {end}[127.0.0.1, map[cpu:4]] [127.0.0.2, map[cpu:8]]''quote interpreted string{range .items[*]}{.metadata.name}{'\\t'}{end}127.0.0.1 127.0.0.2\\escape termination character{.items[0].metadata.labels.kubernetes\\.io/hostname}127.0.0.1Using JSONPath expressions with kubectlExamples using kubectl and JSONPath expressions:kubectl get pods -o json kubectl get pods -o=jsonpath='{@}' kubectl get pods -o=jsonpath='{.items[0]}' kubectl get pods -o=jsonpath='{.items[0].metadata.name}' kubectl get pods -o=jsonpath=\"{.items[*]['metadata.name', 'status.capacity']}\" kubectl get pods -o=jsonpath='{range .items[*]}{.metadata.name}{\"\\t\"}{.status.startTime}{\"\\n\"}{end}' kubectl get pods -o=jsonpath='{.items[0].metadata.labels.kubernetes\\.io/hostname}' Or, with a \"my_pod\" and \"my_namespace\" (adjust these names to your environment):kubectl get pod/my_pod -n my_namespace -o=jsonpath='{@}' kubectl get pod/my_pod -n my_namespace -o=jsonp",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/jsonpath/",
    "id": "k8s_00148_qa_2661"
  },
  {
    "question": "What is JSONPath Support?",
    "answer": "T h e   k u b e c t l   t o o l   s u p p o r t s   J S O N P a t h   t e m p l a t e s   a s   a n   o u t p u t   f o r m a t .   A   J S O N P a t h   t e m p l a t e   i s   c o m p o s e d   o f   J S O N P a t h   e x p r e s s i o n s   e n c l o s e d   b y   c u r l y   b r a c e s :   {   a n d   } .   K u b e c t l   u s e s   J S O N P a t h   e x p r e s s i o n s   t o   f i l t e r   o n   s p e c i f i c   f i e l d s   i n   t h e   J S O N   o b j e c t   a n d   f o r m a t   t h e   o u t p u t .   I n   a d d i t i o n   t o   t h e   o r i g i n a l   J S O N P a t h   t e m p l a t e   s y n t a x ,   t h e   f o l l o w i n g   f u n c t i o n s   a n d   s y n t a x   a r e   v a l i d :   U s e   d o u b l e   q u o t e s   t o   q u o t e   t e x t   i n s i d e   J S O N P a t h   e x p r e s s i o n s . U s e   t h e   r a n g e ,   e n d   o p e r a t o r s   t o   i t e r a t e   l i s t s . U s e   n e g a t i v e   s l i c e   i n d i c e s   t o   s t e p   b a c k w a r d s   t h r o u g h   a   l i s t . N e g a t i v e   i n d i c e s   d o   n o t   \" w r a p   a r o u n d \"   a   l i s t   a n d   a r e   v a l i d   a s   l o n g   a s   \\ (   (   -   i n d e x   +   l i s t L e n g t h   )   \\ g e   0   \\ ) .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/jsonpath/",
    "id": "k8s_00148_section_1_2662"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   $   o p e r a t o r   i s   o p t i o n a l   s i n c e   t h e   e x p r e s s i o n   a l w a y s   s t a r t s   f r o m   t h e   r o o t   o b j e c t   b y   d e f a u l t . T h e   r e s u l t   o b j e c t   i s   p r i n t e d   a s   i t s   S t r i n g ( )   f u n c t i o n .   T h e   $   o p e r a t o r   i s   o p t i o n a l   s i n c e   t h e   e x p r e s s i o n   a l w a y s   s t a r t s   f r o m   t h e   r o o t   o b j e c t   b y   d e f a u l t .   T h e   r e s u l t   o b j e c t   i s   p r i n t e d   a s   i t s   S t r i n g ( )   f u n c t i o n .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/jsonpath/",
    "id": "k8s_00148_section_4_2663"
  },
  {
    "question": "What is Functions in Kubernetes JSONPath?",
    "answer": "G i v e n   t h e   J S O N   i n p u t :   {   \" k i n d \" :   \" L i s t \" ,   \" i t e m s \" : [   {   \" k i n d \" : \" N o n e \" ,   \" m e t a d a t a \" : {   \" n a m e \" : \" 1 2 7 . 0 . 0 . 1 \" ,   \" l a b e l s \" : {   \" k u b e r n e t e s . i o / h o s t n a m e \" : \" 1 2 7 . 0 . 0 . 1 \"   }   } ,   \" s t a t u s \" : {   \" c a p a c i t y \" : { \" c p u \" : \" 4 \" } ,   \" a d d r e s s e s \" : [ { \" t y p e \" :   \" L e g a c y H o s t I P \" ,   \" a d d r e s s \" : \" 1 2 7 . 0 . 0 . 1 \" } ]   }   } ,   {   \" k i n d \" : \" N o n e \" ,   \" m e t a d a t a \" : { \" n a m e \" : \" 1 2 7 . 0 . 0 . 2 \" } ,   \" s t a t u s \" : {   \" c a p a c i t y \" : { \" c p u \" : \" 8 \" } ,   \" a d d r e s s e s \" : [   { \" t y p e \" :   \" L e g a c y H o s t I P \" ,   \" a d d r e s s \" : \" 1 2 7 . 0 . 0 . 2 \" } ,   { \" t y p e \" :   \" a n o t h e r \" ,   \" a d d r e s s \" : \" 1 2 7 . 0 . 0 . 3 \" }   ]   }   }   ] ,   \" u s e r s \" : [   {   \" n a m e \" :   \" m y s e l f \" ,   \" u s e r \" :   { }   } ,   {   \" n a m e \" :   \" e 2 e \" ,   \" u s e r \" :   { \" u s e r n a m e \" :   \" a d m i n \" ,   \" p a s s w o r d \" :   \" s e c r e t \" }   }   ]   }",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/jsonpath/",
    "id": "k8s_00148_section_2_2664"
  },
  {
    "question": "What is Using JSONPath expressions with kubectl?",
    "answer": "E x a m p l e s   u s i n g   k u b e c t l   a n d   J S O N P a t h   e x p r e s s i o n s :   k u b e c t l   g e t   p o d s   - o   j s o n   k u b e c t l   g e t   p o d s   - o = j s o n p a t h = ' { @ } '   k u b e c t l   g e t   p o d s   - o = j s o n p a t h = ' { . i t e m s [ 0 ] } '   k u b e c t l   g e t   p o d s   - o = j s o n p a t h = ' { . i t e m s [ 0 ] . m e t a d a t a . n a m e } '   k u b e c t l   g e t   p o d s   - o = j s o n p a t h = \" { . i t e m s [ * ] [ ' m e t a d a t a . n a m e ' ,   ' s t a t u s . c a p a c i t y ' ] } \"   k u b e c t l   g e t   p o d s   - o = j s o n p a t h = ' { r a n g e   . i t e m s [ * ] } { . m e t a d a t a . n a m e } { \" \\ t \" } { . s t a t u s . s t a r t T i m e } { \" \\ n \" } { e n d } '   k u b e c t l   g e t   p o d s   - o = j s o n p a t h = ' { . i t e m s [ 0 ] . m e t a d a t a . l a b e l s . k u b e r n e t e s \\ . i o / h o s t n a m e } '   O r ,   w i t h   a   \" m y _ p o d \"   a n d   \" m y _ n a m e s p a c e \"   ( a d j u s t   t h e s e   n a m e s   t o   y o u r   e n v i r o n m e n t ) :   k u b e c t l   g e t   p o d / m y _ p o d   - n   m y _ n a m e s p a c e   - o = j s o n p a t h = ' { @ } '   k u b e c t l   g e t   p o d / m y _ p o d   - n   m y _ n a m e s p a c e   - o = j s o n p a t h = ' { . m e t a d a t a . n a m e } '   k u b e c t l   g e t   p o d / m y _ p o d   - n   m y _ n a m e s p a c e   - o = j s o n p a t h = ' { . s t a t u s } '",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/jsonpath/",
    "id": "k8s_00148_section_2_2665"
  },
  {
    "question": "What is Note:?",
    "answer": "O n   W i n d o w s ,   y o u   m u s t   d o u b l e   q u o t e   a n y   J S O N P a t h   t e m p l a t e   t h a t   c o n t a i n s   s p a c e s   ( n o t   s i n g l e   q u o t e   a s   s h o w n   a b o v e   f o r   b a s h ) .   T h i s   i n   t u r n   m e a n s   t h a t   y o u   m u s t   u s e   a   s i n g l e   q u o t e   o r   e s c a p e d   d o u b l e   q u o t e   a r o u n d   a n y   l i t e r a l s   i n   t h e   t e m p l a t e .   F o r   e x a m p l e :   k u b e c t l   g e t   p o d s   - o = j s o n p a t h = \" { r a n g e   . i t e m s [ * ] } { . m e t a d a t a . n a m e } { ' \\ t ' } { . s t a t u s . s t a r t T i m e } { ' \\ n ' } { e n d } \"   k u b e c t l   g e t   p o d s   - o = j s o n p a t h = \" { r a n g e   . i t e m s [ * ] } { . m e t a d a t a . n a m e } { \\ \" \\ t \\ \" } { . s t a t u s . s t a r t T i m e } { \\ \" \\ n \\ \" } { e n d } \"",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/jsonpath/",
    "id": "k8s_00148_section_4_2666"
  },
  {
    "question": "What is Regular expressions in JSONPath?",
    "answer": "J S O N P a t h   r e g u l a r   e x p r e s s i o n s   a r e   n o t   s u p p o r t e d .   I f   y o u   w a n t   t o   m a t c h   u s i n g   r e g u l a r   e x p r e s s i o n s ,   y o u   c a n   u s e   a   t o o l   s u c h   a s   j q .   #   k u b e c t l   d o e s   n o t   s u p p o r t   r e g u l a r   e x p r e s s i o n s   f o r   J S O N p a t h   o u t p u t   #   T h e   f o l l o w i n g   c o m m a n d   d o e s   n o t   w o r k   k u b e c t l   g e t   p o d s   - o   j s o n p a t h = ' { . i t e m s [ ? ( @ . m e t a d a t a . n a m e = ~ / ^ t e s t $ / ) ] . m e t a d a t a . n a m e } '   #   T h e   f o l l o w i n g   c o m m a n d   a c h i e v e s   t h e   d e s i r e d   r e s u l t   k u b e c t l   g e t   p o d s   - o   j s o n   |   j q   - r   ' . i t e m s [ ]   |   s e l e c t ( . m e t a d a t a . n a m e   |   t e s t ( \" t e s t - \" ) ) . m e t a d a t a . n a m e '",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/jsonpath/",
    "id": "k8s_00148_section_2_2667"
  },
  {
    "question": "What is Verify Signed Kubernetes Artifacts?",
    "answer": "Verify Signed Kubernetes ArtifactsFEATURE STATE: Kubernetes v1.26 [beta]Before you beginYou will need to have the following tools installed:cosign (install guide)curl (often provided by your operating system)jq (download jq)Verifying binary signaturesThe Kubernetes release process signs all binary artifacts (tarballs, SPDX files, standalone binaries) by using cosign's keyless signing. To verify a particular binary, retrieve it together with its signature and certificate:URL=https://dl.k8s.io/release/v1.34.0/bin/linux/amd64 BINARY=kubectl FILES=( \"$BINARY\" \"$BINARY.sig\" \"$BINARY.cert\" ) for FILE in \"${FILES[@]}\"; do curl -sSfL --retry 3 --retry-delay 3 \"$URL/$FILE\" -o \"$FILE\" done Then verify the blob by using cosign verify-blob:cosign verify-blob \"$BINARY\" \\ --signature \"$BINARY\".sig \\ --certificate \"$BINARY\".cert \\ --certificate-identity krel-staging@k8s-releng-prod.iam.gserviceaccount.com \\ --certificate-oidc-issuer https://accounts.google.com Note:Cosign 2.0 requires the --certificate-identity and --certificate-oidc-issuer options.To learn more about keyless signing, please refer to Keyless Signatures.Previous versions of Cosign required that you set COSIGN_EXPERIMENTAL=1.For additional information, please refer to the sigstore BlogVerifying image signaturesFor a complete list of images that are signed please refer to Releases.Pick one image from this list and verify its signature using the cosign verify command:cosign verify registry.k8s.io/kube-apiserver-amd64:v1.34.0 \\ --certificate-identity krel-trust@k8s-releng-prod.iam.gserviceaccount.com \\ --certificate-oidc-issuer https://accounts.google.com \\ | jq . Verifying images for all control plane componentsTo verify all signed control plane images for the latest stable version (v1.34.0), please run the following commands:curl -Ls \"https://sbom.k8s.io/$(curl -Ls https://dl.k8s.io/release/stable.txt)/release\" \\ | grep \"SPDXID: SPDXRef-Package-registry.k8s.io\" \\ | grep -v sha256 | cut -d- -f3- | sed 's/-/\\//' | sed 's/-v1/:v1/' \\ | sort > images.txt input=images.txt while IFS= read -r image do cosign verify \"$image\" \\ --certificate-identity krel-trust@k8s-releng-prod.iam.gserviceaccount.com \\ --certificate-oidc-issuer https://accounts.google.com \\ | jq . done < \"$input\" Once you have verified an image, you can specify the image by its digest in your Pod manifests as per this example:registry-url/image-name@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2 For more information, please refer to the Image Pull Policy section.Verifying Image Signatures with Admission ControllerFor non-control plane images (for example conformance image), signatures can also be verified at deploy time using sigstore policy-controller admission controller.Here are some helpful resources to get started with policy-controller:InstallationConfiguration OptionsVerify the Software Bill Of MaterialsYou can verify the Kubernetes Software Bill of Materials (SBOM) by using the sigstore certificate and sign",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/verify-signed-artifacts/",
    "id": "k8s_00149_qa_2668"
  },
  {
    "question": "How does Verify Signed Kubernetes Artifacts work?",
    "answer": "Verify Signed Kubernetes ArtifactsFEATURE STATE: Kubernetes v1.26 [beta]Before you beginYou will need to have the following tools installed:cosign (install guide)curl (often provided by your operating system)jq (download jq)Verifying binary signaturesThe Kubernetes release process signs all binary artifacts (tarballs, SPDX files, standalone binaries) by using cosign's keyless signing. To verify a particular binary, retrieve it together with its signature and certificate:URL=https://dl.k8s.io/release/v1.34.0/bin/linux/amd64 BINARY=kubectl FILES=( \"$BINARY\" \"$BINARY.sig\" \"$BINARY.cert\" ) for FILE in \"${FILES[@]}\"; do curl -sSfL --retry 3 --retry-delay 3 \"$URL/$FILE\" -o \"$FILE\" done Then verify the blob by using cosign verify-blob:cosign verify-blob \"$BINARY\" \\ --signature \"$BINARY\".sig \\ --certificate \"$BINARY\".cert \\ --certificate-identity krel-staging@k8s-releng-prod.iam.gserviceaccount.com \\ --certificate-oidc-issuer https://accounts.google.com Note:Cosign 2.0 requires the --certificate-identity and --certificate-oidc-issuer options.To learn more about keyless signing, please refer to Keyless Signatures.Previous versions of Cosign required that you set COSIGN_EXPERIMENTAL=1.For additional information, please refer to the sigstore BlogVerifying image signaturesFor a complete list of images that are signed please refer to Releases.Pick one image from this list and verify its signature using the cosign verify command:cosign verify registry.k8s.io/kube-apiserver-amd64:v1.34.0 \\ --certificate-identity krel-trust@k8s-releng-prod.iam.gserviceaccount.com \\ --certificate-oidc-issuer https://accounts.google.com \\ | jq . Verifying images for all control plane componentsTo verify all signed control plane images for the latest stable version (v1.34.0), please run the following commands:curl -Ls \"https://sbom.k8s.io/$(curl -Ls https://dl.k8s.io/release/stable.txt)/release\" \\ | grep \"SPDXID: SPDXRef-Package-registry.k8s.io\" \\ | grep -v sha256 | cut -d- -f3- | sed 's/-/\\//' | sed 's/-v1/:v1/' \\ | sort > images.txt input=images.txt while IFS= read -r image do cosign verify \"$image\" \\ --certificate-identity krel-trust@k8s-releng-prod.iam.gserviceaccount.com \\ --certificate-oidc-issuer https://accounts.google.com \\ | jq . done < \"$input\" Once you have verified an image, you can specify the image by its digest in your Pod manifests as per this example:registry-url/image-name@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2 For more information, please refer to the Image Pull Policy section.Verifying Image Signatures with Admission ControllerFor non-control plane images (for example conformance image), signatures can also be verified at deploy time using sigstore policy-controller admission controller.Here are some helpful resources to get started with policy-controller:InstallationConfiguration OptionsVerify the Software Bill Of MaterialsYou can verify the Kubernetes Software Bill of Materials (SBOM) by using the sigstore certificate and sign",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/verify-signed-artifacts/",
    "id": "k8s_00149_qa_2669"
  },
  {
    "question": "When would you use Verify Signed Kubernetes Artifacts?",
    "answer": "Verify Signed Kubernetes ArtifactsFEATURE STATE: Kubernetes v1.26 [beta]Before you beginYou will need to have the following tools installed:cosign (install guide)curl (often provided by your operating system)jq (download jq)Verifying binary signaturesThe Kubernetes release process signs all binary artifacts (tarballs, SPDX files, standalone binaries) by using cosign's keyless signing. To verify a particular binary, retrieve it together with its signature and certificate:URL=https://dl.k8s.io/release/v1.34.0/bin/linux/amd64 BINARY=kubectl FILES=( \"$BINARY\" \"$BINARY.sig\" \"$BINARY.cert\" ) for FILE in \"${FILES[@]}\"; do curl -sSfL --retry 3 --retry-delay 3 \"$URL/$FILE\" -o \"$FILE\" done Then verify the blob by using cosign verify-blob:cosign verify-blob \"$BINARY\" \\ --signature \"$BINARY\".sig \\ --certificate \"$BINARY\".cert \\ --certificate-identity krel-staging@k8s-releng-prod.iam.gserviceaccount.com \\ --certificate-oidc-issuer https://accounts.google.com Note:Cosign 2.0 requires the --certificate-identity and --certificate-oidc-issuer options.To learn more about keyless signing, please refer to Keyless Signatures.Previous versions of Cosign required that you set COSIGN_EXPERIMENTAL=1.For additional information, please refer to the sigstore BlogVerifying image signaturesFor a complete list of images that are signed please refer to Releases.Pick one image from this list and verify its signature using the cosign verify command:cosign verify registry.k8s.io/kube-apiserver-amd64:v1.34.0 \\ --certificate-identity krel-trust@k8s-releng-prod.iam.gserviceaccount.com \\ --certificate-oidc-issuer https://accounts.google.com \\ | jq . Verifying images for all control plane componentsTo verify all signed control plane images for the latest stable version (v1.34.0), please run the following commands:curl -Ls \"https://sbom.k8s.io/$(curl -Ls https://dl.k8s.io/release/stable.txt)/release\" \\ | grep \"SPDXID: SPDXRef-Package-registry.k8s.io\" \\ | grep -v sha256 | cut -d- -f3- | sed 's/-/\\//' | sed 's/-v1/:v1/' \\ | sort > images.txt input=images.txt while IFS= read -r image do cosign verify \"$image\" \\ --certificate-identity krel-trust@k8s-releng-prod.iam.gserviceaccount.com \\ --certificate-oidc-issuer https://accounts.google.com \\ | jq . done < \"$input\" Once you have verified an image, you can specify the image by its digest in your Pod manifests as per this example:registry-url/image-name@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2 For more information, please refer to the Image Pull Policy section.Verifying Image Signatures with Admission ControllerFor non-control plane images (for example conformance image), signatures can also be verified at deploy time using sigstore policy-controller admission controller.Here are some helpful resources to get started with policy-controller:InstallationConfiguration OptionsVerify the Software Bill Of MaterialsYou can verify the Kubernetes Software Bill of Materials (SBOM) by using the sigstore certificate and sign",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/verify-signed-artifacts/",
    "id": "k8s_00149_qa_2670"
  },
  {
    "question": "What are the benefits of Verify Signed Kubernetes Artifacts?",
    "answer": "Verify Signed Kubernetes ArtifactsFEATURE STATE: Kubernetes v1.26 [beta]Before you beginYou will need to have the following tools installed:cosign (install guide)curl (often provided by your operating system)jq (download jq)Verifying binary signaturesThe Kubernetes release process signs all binary artifacts (tarballs, SPDX files, standalone binaries) by using cosign's keyless signing. To verify a particular binary, retrieve it together with its signature and certificate:URL=https://dl.k8s.io/release/v1.34.0/bin/linux/amd64 BINARY=kubectl FILES=( \"$BINARY\" \"$BINARY.sig\" \"$BINARY.cert\" ) for FILE in \"${FILES[@]}\"; do curl -sSfL --retry 3 --retry-delay 3 \"$URL/$FILE\" -o \"$FILE\" done Then verify the blob by using cosign verify-blob:cosign verify-blob \"$BINARY\" \\ --signature \"$BINARY\".sig \\ --certificate \"$BINARY\".cert \\ --certificate-identity krel-staging@k8s-releng-prod.iam.gserviceaccount.com \\ --certificate-oidc-issuer https://accounts.google.com Note:Cosign 2.0 requires the --certificate-identity and --certificate-oidc-issuer options.To learn more about keyless signing, please refer to Keyless Signatures.Previous versions of Cosign required that you set COSIGN_EXPERIMENTAL=1.For additional information, please refer to the sigstore BlogVerifying image signaturesFor a complete list of images that are signed please refer to Releases.Pick one image from this list and verify its signature using the cosign verify command:cosign verify registry.k8s.io/kube-apiserver-amd64:v1.34.0 \\ --certificate-identity krel-trust@k8s-releng-prod.iam.gserviceaccount.com \\ --certificate-oidc-issuer https://accounts.google.com \\ | jq . Verifying images for all control plane componentsTo verify all signed control plane images for the latest stable version (v1.34.0), please run the following commands:curl -Ls \"https://sbom.k8s.io/$(curl -Ls https://dl.k8s.io/release/stable.txt)/release\" \\ | grep \"SPDXID: SPDXRef-Package-registry.k8s.io\" \\ | grep -v sha256 | cut -d- -f3- | sed 's/-/\\//' | sed 's/-v1/:v1/' \\ | sort > images.txt input=images.txt while IFS= read -r image do cosign verify \"$image\" \\ --certificate-identity krel-trust@k8s-releng-prod.iam.gserviceaccount.com \\ --certificate-oidc-issuer https://accounts.google.com \\ | jq . done < \"$input\" Once you have verified an image, you can specify the image by its digest in your Pod manifests as per this example:registry-url/image-name@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2 For more information, please refer to the Image Pull Policy section.Verifying Image Signatures with Admission ControllerFor non-control plane images (for example conformance image), signatures can also be verified at deploy time using sigstore policy-controller admission controller.Here are some helpful resources to get started with policy-controller:InstallationConfiguration OptionsVerify the Software Bill Of MaterialsYou can verify the Kubernetes Software Bill of Materials (SBOM) by using the sigstore certificate and sign",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/verify-signed-artifacts/",
    "id": "k8s_00149_qa_2671"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   w i l l   n e e d   t o   h a v e   t h e   f o l l o w i n g   t o o l s   i n s t a l l e d :   c o s i g n   ( i n s t a l l   g u i d e ) c u r l   ( o f t e n   p r o v i d e d   b y   y o u r   o p e r a t i n g   s y s t e m ) j q   ( d o w n l o a d   j q )",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/verify-signed-artifacts/",
    "id": "k8s_00149_section_2_2672"
  },
  {
    "question": "What is Verifying binary signatures?",
    "answer": "T h e   K u b e r n e t e s   r e l e a s e   p r o c e s s   s i g n s   a l l   b i n a r y   a r t i f a c t s   ( t a r b a l l s ,   S P D X   f i l e s ,   s t a n d a l o n e   b i n a r i e s )   b y   u s i n g   c o s i g n ' s   k e y l e s s   s i g n i n g .   T o   v e r i f y   a   p a r t i c u l a r   b i n a r y ,   r e t r i e v e   i t   t o g e t h e r   w i t h   i t s   s i g n a t u r e   a n d   c e r t i f i c a t e :   U R L = h t t p s : / / d l . k 8 s . i o / r e l e a s e / v 1 . 3 4 . 0 / b i n / l i n u x / a m d 6 4   B I N A R Y = k u b e c t l   F I L E S = (   \" $ B I N A R Y \"   \" $ B I N A R Y . s i g \"   \" $ B I N A R Y . c e r t \"   )   f o r   F I L E   i n   \" $ { F I L E S [ @ ] } \" ;   d o   c u r l   - s S f L   - - r e t r y   3   - - r e t r y - d e l a y   3   \" $ U R L / $ F I L E \"   - o   \" $ F I L E \"   d o n e   T h e n   v e r i f y   t h e   b l o b   b y   u s i n g   c o s i g n   v e r i f y - b l o b :   c o s i g n   v e r i f y - b l o b   \" $ B I N A R Y \"   \\   - - s i g n a t u r e   \" $ B I N A R Y \" . s i g   \\   - - c e r t i f i c a t e   \" $ B I N A R Y \" . c e r t   \\   - - c e r t i f i c a t e - i d e n t i t y   k r e l - s t a g i n g @ k 8 s - r e l e n g - p r o d . i a m . g s e r v i c e a c c o u n t . c o m   \\   - - c e r t i f i c a t e - o i d c - i s s u e r   h t t p s : / / a c c o u n t s . g o o g l e . c o m",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/verify-signed-artifacts/",
    "id": "k8s_00149_section_2_2673"
  },
  {
    "question": "What is Note:?",
    "answer": "C o s i g n   2 . 0   r e q u i r e s   t h e   - - c e r t i f i c a t e - i d e n t i t y   a n d   - - c e r t i f i c a t e - o i d c - i s s u e r   o p t i o n s .   T o   l e a r n   m o r e   a b o u t   k e y l e s s   s i g n i n g ,   p l e a s e   r e f e r   t o   K e y l e s s   S i g n a t u r e s .   P r e v i o u s   v e r s i o n s   o f   C o s i g n   r e q u i r e d   t h a t   y o u   s e t   C O S I G N _ E X P E R I M E N T A L = 1 .   F o r   a d d i t i o n a l   i n f o r m a t i o n ,   p l e a s e   r e f e r   t o   t h e   s i g s t o r e   B l o g",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/verify-signed-artifacts/",
    "id": "k8s_00149_section_4_2674"
  },
  {
    "question": "What is Verifying image signatures?",
    "answer": "F o r   a   c o m p l e t e   l i s t   o f   i m a g e s   t h a t   a r e   s i g n e d   p l e a s e   r e f e r   t o   R e l e a s e s .   P i c k   o n e   i m a g e   f r o m   t h i s   l i s t   a n d   v e r i f y   i t s   s i g n a t u r e   u s i n g   t h e   c o s i g n   v e r i f y   c o m m a n d :   c o s i g n   v e r i f y   r e g i s t r y . k 8 s . i o / k u b e - a p i s e r v e r - a m d 6 4 : v 1 . 3 4 . 0   \\   - - c e r t i f i c a t e - i d e n t i t y   k r e l - t r u s t @ k 8 s - r e l e n g - p r o d . i a m . g s e r v i c e a c c o u n t . c o m   \\   - - c e r t i f i c a t e - o i d c - i s s u e r   h t t p s : / / a c c o u n t s . g o o g l e . c o m   \\   |   j q   .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/verify-signed-artifacts/",
    "id": "k8s_00149_section_2_2675"
  },
  {
    "question": "What is Verifying images for all control plane components?",
    "answer": "T o   v e r i f y   a l l   s i g n e d   c o n t r o l   p l a n e   i m a g e s   f o r   t h e   l a t e s t   s t a b l e   v e r s i o n   ( v 1 . 3 4 . 0 ) ,   p l e a s e   r u n   t h e   f o l l o w i n g   c o m m a n d s :   c u r l   - L s   \" h t t p s : / / s b o m . k 8 s . i o / $ ( c u r l   - L s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / r e l e a s e \"   \\   |   g r e p   \" S P D X I D :   S P D X R e f - P a c k a g e - r e g i s t r y . k 8 s . i o \"   \\   |   g r e p   - v   s h a 2 5 6   |   c u t   - d -   - f 3 -   |   s e d   ' s / - / \\ / / '   |   s e d   ' s / - v 1 / : v 1 / '   \\   |   s o r t   >   i m a g e s . t x t   i n p u t = i m a g e s . t x t   w h i l e   I F S =   r e a d   - r   i m a g e   d o   c o s i g n   v e r i f y   \" $ i m a g e \"   \\   - - c e r t i f i c a t e - i d e n t i t y   k r e l - t r u s t @ k 8 s - r e l e n g - p r o d . i a m . g s e r v i c e a c c o u n t . c o m   \\   - - c e r t i f i c a t e - o i d c - i s s u e r   h t t p s : / / a c c o u n t s . g o o g l e . c o m   \\   |   j q   .   d o n e   <   \" $ i n p u t \"   O n c e   y o u   h a v e   v e r i f i e d   a n   i m a g e ,   y o u   c a n   s p e c i f y   t h e   i m a g e   b y   i t s   d i g e s t   i n   y o u r   P o d   m a n i f e s t s   a s   p e r   t h i s   e x a m p l e :   r e g i s t r y - u r l / i m a g e - n a m e @ s h a 2 5 6 : 4 5 b 2 3 d e e 0 8 a f 5 e 4 3 a 7 f e a 6 c 4 c f 9 c 2 5 c c f 2 6 9 e e 1 1 3 1 6 8 c 1 9 7 2 2 f 8 7 8 7 6 6 7 7 c 5 c b 2   F o r   m o r e   i n f o r m a t i o n ,   p l e a s e   r e f e r   t o   t h e   I m a g e   P u l l   P o l i c y   s e c t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/verify-signed-artifacts/",
    "id": "k8s_00149_section_3_2676"
  },
  {
    "question": "What is Verifying Image Signatures with Admission Controller?",
    "answer": "F o r   n o n - c o n t r o l   p l a n e   i m a g e s   ( f o r   e x a m p l e   c o n f o r m a n c e   i m a g e ) ,   s i g n a t u r e s   c a n   a l s o   b e   v e r i f i e d   a t   d e p l o y   t i m e   u s i n g   s i g s t o r e   p o l i c y - c o n t r o l l e r   a d m i s s i o n   c o n t r o l l e r .   H e r e   a r e   s o m e   h e l p f u l   r e s o u r c e s   t o   g e t   s t a r t e d   w i t h   p o l i c y - c o n t r o l l e r :   I n s t a l l a t i o n C o n f i g u r a t i o n   O p t i o n s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/verify-signed-artifacts/",
    "id": "k8s_00149_section_2_2677"
  },
  {
    "question": "What is Verify the Software Bill Of Materials?",
    "answer": "Y o u   c a n   v e r i f y   t h e   K u b e r n e t e s   S o f t w a r e   B i l l   o f   M a t e r i a l s   ( S B O M )   b y   u s i n g   t h e   s i g s t o r e   c e r t i f i c a t e   a n d   s i g n a t u r e ,   o r   t h e   c o r r e s p o n d i n g   S H A   f i l e s :   #   R e t r i e v e   t h e   l a t e s t   a v a i l a b l e   K u b e r n e t e s   r e l e a s e   v e r s i o n   V E R S I O N = $ ( c u r l   - L s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t )   #   V e r i f y   t h e   S H A 5 1 2   s u m   c u r l   - L s   \" h t t p s : / / s b o m . k 8 s . i o / $ V E R S I O N / r e l e a s e \"   - o   \" $ V E R S I O N . s p d x \"   e c h o   \" $ ( c u r l   - L s   \" h t t p s : / / s b o m . k 8 s . i o / $ V E R S I O N / r e l e a s e . s h a 5 1 2 \" )   $ V E R S I O N . s p d x \"   |   s h a 5 1 2 s u m   - - c h e c k   #   V e r i f y   t h e   S H A 2 5 6   s u m   e c h o   \" $ ( c u r l   - L s   \" h t t p s : / / s b o m . k 8 s . i o / $ V E R S I O N / r e l e a s e . s h a 2 5 6 \" )   $ V E R S I O N . s p d x \"   |   s h a 2 5 6 s u m   - - c h e c k   #   R e t r i e v e   s i g s t o r e   s i g n a t u r e   a n d   c e r t i f i c a t e   c u r l   - L s   \" h t t p s : / / s b o m . k 8 s . i o / $ V E R S I O N / r e l e a s e . s i g \"   - o   \" $ V E R S I O N . s p d x . s i g \"   c u r l   - L s   \" h t t p s : / / s b o m . k 8 s . i o / $ V E R S I O N / r e l e a s e . c e r t \"   - o   \" $ V E R S I O N . s p d x . c e r t \"   #   V e r i f y   t h e   s i g s t o r e   s i g n a t u r e   c o s i g n   v e r i f y - b l o b   \\   - - c e r t i f i c a t e   \" $ V E R S I O N . s p d x . c e r t \"   \\   - - s i g n a t u r e   \" $ V E R S I O N . s p d x . s i g \"   \\   - - c e r t i f i c a t e - i d e n t i t y   k r e l - s t a g i n g @ k 8 s - r e l e n g - p r o d . i a m . g s e r v i c e a c c o u n t . c o m   \\   - - c e r t i f i c a t e - o i d c - i s s u e r   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/verify-signed-artifacts/",
    "id": "k8s_00149_section_2_2678"
  },
  {
    "question": "What is Linux Kernel Version Requirements?",
    "answer": "Linux Kernel Version RequirementsNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Many features rely on specific kernel functionalities and have minimum kernel version requirements. However, relying solely on kernel version numbers may not be sufficient for certain operating system distributions, as maintainers for distributions such as RHEL, Ubuntu and SUSE often backport selected features to older kernel releases (retaining the older kernel version).Pod sysctlsOn Linux, the sysctl() system call configures kernel parameters at run time. There is a command line tool named sysctl that you can use to configure these parameters, and many are exposed via the proc filesystem.Some sysctls are only available if you have a modern enough kernel.The following sysctls have a minimal kernel version requirement, and are supported in the safe set:net.ipv4.ip_local_reserved_ports (since Kubernetes 1.27, needs kernel 3.16+);net.ipv4.tcp_keepalive_time (since Kubernetes 1.29, needs kernel 4.5+);net.ipv4.tcp_fin_timeout (since Kubernetes 1.29, needs kernel 4.6+);net.ipv4.tcp_keepalive_intvl (since Kubernetes 1.29, needs kernel 4.5+);net.ipv4.tcp_keepalive_probes (since Kubernetes 1.29, needs kernel 4.5+);net.ipv4.tcp_syncookies (namespaced since kernel 4.6+).net.ipv4.tcp_rmem (since Kubernetes 1.32, needs kernel 4.15+).net.ipv4.tcp_wmem (since Kubernetes 1.32, needs kernel 4.15+).net.ipv4.vs.conn_reuse_mode (used in ipvs proxy mode, needs kernel 4.1+);kube proxy nftables proxy modeFor Kubernetes 1.34, the nftables mode of kube-proxy requires version 1.0.1 or later of the nft command-line tool, as well as kernel 5.13 or later.For testing/development purposes, you can use older kernels, as far back as 5.4 if you set the nftables.skipKernelVersionCheck option in the kube-proxy config. But this is not recommended in production since it may cause problems with other nftables users on the system.Version 2 control groupsKubernetes cgroup v1 support is in maintained mode starting from Kubernetes v1.31; using cgroup v2 is recommended. In Linux 5.8, the system-level cpu.stat file was added to the root cgroup for convenience.In runc document, Kernel older than 5.2 is not recommended due to lack of freezer.Pressure Stall Information (PSI)Pressure Stall Information is supported in Linux kernel versions 4.20 and up, but requires the following configuration:The kernel must be compiled with the CONFIG_PSI=y option. Most modern distributions enable this by default. You can check your kernel's configuration by running zgrep CONFIG_PSI /proc/config.gz.Some Linux distributions may compile PSI into the kernel but disable it by default. If so, you need to enable it at boot time by adding the psi=1 parameter to the kernel command line.Oth",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kernel-version-requirements/",
    "id": "k8s_00150_qa_2679"
  },
  {
    "question": "How does Linux Kernel Version Requirements work?",
    "answer": "Linux Kernel Version RequirementsNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Many features rely on specific kernel functionalities and have minimum kernel version requirements. However, relying solely on kernel version numbers may not be sufficient for certain operating system distributions, as maintainers for distributions such as RHEL, Ubuntu and SUSE often backport selected features to older kernel releases (retaining the older kernel version).Pod sysctlsOn Linux, the sysctl() system call configures kernel parameters at run time. There is a command line tool named sysctl that you can use to configure these parameters, and many are exposed via the proc filesystem.Some sysctls are only available if you have a modern enough kernel.The following sysctls have a minimal kernel version requirement, and are supported in the safe set:net.ipv4.ip_local_reserved_ports (since Kubernetes 1.27, needs kernel 3.16+);net.ipv4.tcp_keepalive_time (since Kubernetes 1.29, needs kernel 4.5+);net.ipv4.tcp_fin_timeout (since Kubernetes 1.29, needs kernel 4.6+);net.ipv4.tcp_keepalive_intvl (since Kubernetes 1.29, needs kernel 4.5+);net.ipv4.tcp_keepalive_probes (since Kubernetes 1.29, needs kernel 4.5+);net.ipv4.tcp_syncookies (namespaced since kernel 4.6+).net.ipv4.tcp_rmem (since Kubernetes 1.32, needs kernel 4.15+).net.ipv4.tcp_wmem (since Kubernetes 1.32, needs kernel 4.15+).net.ipv4.vs.conn_reuse_mode (used in ipvs proxy mode, needs kernel 4.1+);kube proxy nftables proxy modeFor Kubernetes 1.34, the nftables mode of kube-proxy requires version 1.0.1 or later of the nft command-line tool, as well as kernel 5.13 or later.For testing/development purposes, you can use older kernels, as far back as 5.4 if you set the nftables.skipKernelVersionCheck option in the kube-proxy config. But this is not recommended in production since it may cause problems with other nftables users on the system.Version 2 control groupsKubernetes cgroup v1 support is in maintained mode starting from Kubernetes v1.31; using cgroup v2 is recommended. In Linux 5.8, the system-level cpu.stat file was added to the root cgroup for convenience.In runc document, Kernel older than 5.2 is not recommended due to lack of freezer.Pressure Stall Information (PSI)Pressure Stall Information is supported in Linux kernel versions 4.20 and up, but requires the following configuration:The kernel must be compiled with the CONFIG_PSI=y option. Most modern distributions enable this by default. You can check your kernel's configuration by running zgrep CONFIG_PSI /proc/config.gz.Some Linux distributions may compile PSI into the kernel but disable it by default. If so, you need to enable it at boot time by adding the psi=1 parameter to the kernel command line.Oth",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kernel-version-requirements/",
    "id": "k8s_00150_qa_2680"
  },
  {
    "question": "When would you use Linux Kernel Version Requirements?",
    "answer": "Linux Kernel Version RequirementsNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Many features rely on specific kernel functionalities and have minimum kernel version requirements. However, relying solely on kernel version numbers may not be sufficient for certain operating system distributions, as maintainers for distributions such as RHEL, Ubuntu and SUSE often backport selected features to older kernel releases (retaining the older kernel version).Pod sysctlsOn Linux, the sysctl() system call configures kernel parameters at run time. There is a command line tool named sysctl that you can use to configure these parameters, and many are exposed via the proc filesystem.Some sysctls are only available if you have a modern enough kernel.The following sysctls have a minimal kernel version requirement, and are supported in the safe set:net.ipv4.ip_local_reserved_ports (since Kubernetes 1.27, needs kernel 3.16+);net.ipv4.tcp_keepalive_time (since Kubernetes 1.29, needs kernel 4.5+);net.ipv4.tcp_fin_timeout (since Kubernetes 1.29, needs kernel 4.6+);net.ipv4.tcp_keepalive_intvl (since Kubernetes 1.29, needs kernel 4.5+);net.ipv4.tcp_keepalive_probes (since Kubernetes 1.29, needs kernel 4.5+);net.ipv4.tcp_syncookies (namespaced since kernel 4.6+).net.ipv4.tcp_rmem (since Kubernetes 1.32, needs kernel 4.15+).net.ipv4.tcp_wmem (since Kubernetes 1.32, needs kernel 4.15+).net.ipv4.vs.conn_reuse_mode (used in ipvs proxy mode, needs kernel 4.1+);kube proxy nftables proxy modeFor Kubernetes 1.34, the nftables mode of kube-proxy requires version 1.0.1 or later of the nft command-line tool, as well as kernel 5.13 or later.For testing/development purposes, you can use older kernels, as far back as 5.4 if you set the nftables.skipKernelVersionCheck option in the kube-proxy config. But this is not recommended in production since it may cause problems with other nftables users on the system.Version 2 control groupsKubernetes cgroup v1 support is in maintained mode starting from Kubernetes v1.31; using cgroup v2 is recommended. In Linux 5.8, the system-level cpu.stat file was added to the root cgroup for convenience.In runc document, Kernel older than 5.2 is not recommended due to lack of freezer.Pressure Stall Information (PSI)Pressure Stall Information is supported in Linux kernel versions 4.20 and up, but requires the following configuration:The kernel must be compiled with the CONFIG_PSI=y option. Most modern distributions enable this by default. You can check your kernel's configuration by running zgrep CONFIG_PSI /proc/config.gz.Some Linux distributions may compile PSI into the kernel but disable it by default. If so, you need to enable it at boot time by adding the psi=1 parameter to the kernel command line.Oth",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kernel-version-requirements/",
    "id": "k8s_00150_qa_2681"
  },
  {
    "question": "What are the benefits of Linux Kernel Version Requirements?",
    "answer": "Linux Kernel Version RequirementsNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Many features rely on specific kernel functionalities and have minimum kernel version requirements. However, relying solely on kernel version numbers may not be sufficient for certain operating system distributions, as maintainers for distributions such as RHEL, Ubuntu and SUSE often backport selected features to older kernel releases (retaining the older kernel version).Pod sysctlsOn Linux, the sysctl() system call configures kernel parameters at run time. There is a command line tool named sysctl that you can use to configure these parameters, and many are exposed via the proc filesystem.Some sysctls are only available if you have a modern enough kernel.The following sysctls have a minimal kernel version requirement, and are supported in the safe set:net.ipv4.ip_local_reserved_ports (since Kubernetes 1.27, needs kernel 3.16+);net.ipv4.tcp_keepalive_time (since Kubernetes 1.29, needs kernel 4.5+);net.ipv4.tcp_fin_timeout (since Kubernetes 1.29, needs kernel 4.6+);net.ipv4.tcp_keepalive_intvl (since Kubernetes 1.29, needs kernel 4.5+);net.ipv4.tcp_keepalive_probes (since Kubernetes 1.29, needs kernel 4.5+);net.ipv4.tcp_syncookies (namespaced since kernel 4.6+).net.ipv4.tcp_rmem (since Kubernetes 1.32, needs kernel 4.15+).net.ipv4.tcp_wmem (since Kubernetes 1.32, needs kernel 4.15+).net.ipv4.vs.conn_reuse_mode (used in ipvs proxy mode, needs kernel 4.1+);kube proxy nftables proxy modeFor Kubernetes 1.34, the nftables mode of kube-proxy requires version 1.0.1 or later of the nft command-line tool, as well as kernel 5.13 or later.For testing/development purposes, you can use older kernels, as far back as 5.4 if you set the nftables.skipKernelVersionCheck option in the kube-proxy config. But this is not recommended in production since it may cause problems with other nftables users on the system.Version 2 control groupsKubernetes cgroup v1 support is in maintained mode starting from Kubernetes v1.31; using cgroup v2 is recommended. In Linux 5.8, the system-level cpu.stat file was added to the root cgroup for convenience.In runc document, Kernel older than 5.2 is not recommended due to lack of freezer.Pressure Stall Information (PSI)Pressure Stall Information is supported in Linux kernel versions 4.20 and up, but requires the following configuration:The kernel must be compiled with the CONFIG_PSI=y option. Most modern distributions enable this by default. You can check your kernel's configuration by running zgrep CONFIG_PSI /proc/config.gz.Some Linux distributions may compile PSI into the kernel but disable it by default. If so, you need to enable it at boot time by adding the psi=1 parameter to the kernel command line.Oth",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kernel-version-requirements/",
    "id": "k8s_00150_qa_2682"
  },
  {
    "question": "What is Linux Kernel Version Requirements?",
    "answer": "M a n y   f e a t u r e s   r e l y   o n   s p e c i f i c   k e r n e l   f u n c t i o n a l i t i e s   a n d   h a v e   m i n i m u m   k e r n e l   v e r s i o n   r e q u i r e m e n t s .   H o w e v e r ,   r e l y i n g   s o l e l y   o n   k e r n e l   v e r s i o n   n u m b e r s   m a y   n o t   b e   s u f f i c i e n t   f o r   c e r t a i n   o p e r a t i n g   s y s t e m   d i s t r i b u t i o n s ,   a s   m a i n t a i n e r s   f o r   d i s t r i b u t i o n s   s u c h   a s   R H E L ,   U b u n t u   a n d   S U S E   o f t e n   b a c k p o r t   s e l e c t e d   f e a t u r e s   t o   o l d e r   k e r n e l   r e l e a s e s   ( r e t a i n i n g   t h e   o l d e r   k e r n e l   v e r s i o n ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kernel-version-requirements/",
    "id": "k8s_00150_section_1_2683"
  },
  {
    "question": "What is Pod sysctls?",
    "answer": "O n   L i n u x ,   t h e   s y s c t l ( )   s y s t e m   c a l l   c o n f i g u r e s   k e r n e l   p a r a m e t e r s   a t   r u n   t i m e .   T h e r e   i s   a   c o m m a n d   l i n e   t o o l   n a m e d   s y s c t l   t h a t   y o u   c a n   u s e   t o   c o n f i g u r e   t h e s e   p a r a m e t e r s ,   a n d   m a n y   a r e   e x p o s e d   v i a   t h e   p r o c   f i l e s y s t e m .   S o m e   s y s c t l s   a r e   o n l y   a v a i l a b l e   i f   y o u   h a v e   a   m o d e r n   e n o u g h   k e r n e l .   T h e   f o l l o w i n g   s y s c t l s   h a v e   a   m i n i m a l   k e r n e l   v e r s i o n   r e q u i r e m e n t ,   a n d   a r e   s u p p o r t e d   i n   t h e   s a f e   s e t :   n e t . i p v 4 . i p _ l o c a l _ r e s e r v e d _ p o r t s   ( s i n c e   K u b e r n e t e s   1 . 2 7 ,   n e e d s   k e r n e l   3 . 1 6 + ) ; n e t . i p v 4 . t c p _ k e e p a l i v e _ t i m e   ( s i n c e   K u b e r n e t e s   1 . 2 9 ,   n e e d s   k e r n e l   4 . 5 + ) ; n e t . i p v 4 . t c p _ f i n _ t i m e o u t   ( s i n c e   K u b e r n e t e s   1 . 2 9 ,   n e e d s   k e r n e l   4 . 6 + ) ; n e t . i p v 4 . t c p _ k e e p a l i v e _ i n t v l   ( s i n c e   K u b e r n e t e s   1 . 2 9 ,   n e e d s   k e r n e l   4 . 5 + ) ; n e t . i p v 4 . t c p _ k e e p a l i v e _ p r o b e s   ( s i n c e   K u b e r n e t e s   1 . 2 9 ,   n e e d s   k e r n e l   4 . 5 + ) ; n e t . i p v 4 . t c p _ s y n c o o k i e s   ( n a m e s p a c e d   s i n c e   k e r n e l   4 . 6 + ) . n e t . i p v 4 . t c p _ r m e m   ( s i n c e   K u b e r n e t e s   1 . 3 2 ,   n e e d s   k e r n e l   4 . 1 5 + ) . n e t . i p v 4 . t c p _ w m e m   ( s i n c e   K u b e r n e t e s   1 . 3 2 ,   n e e d s   k e r n e l   4 . 1 5 + ) . n e t . i p v 4 . v s . c o n n _ r e u s e _ m o d e   ( u s e d   i n   i p v s   p r o x y   m o d e ,   n e e d s   k e r n e l   4 . 1 + ) ;",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kernel-version-requirements/",
    "id": "k8s_00150_section_2_2684"
  },
  {
    "question": "What is kube proxy nftables proxy mode?",
    "answer": "F o r   K u b e r n e t e s   1 . 3 4 ,   t h e   n f t a b l e s   m o d e   o f   k u b e - p r o x y   r e q u i r e s   v e r s i o n   1 . 0 . 1   o r   l a t e r   o f   t h e   n f t   c o m m a n d - l i n e   t o o l ,   a s   w e l l   a s   k e r n e l   5 . 1 3   o r   l a t e r .   F o r   t e s t i n g / d e v e l o p m e n t   p u r p o s e s ,   y o u   c a n   u s e   o l d e r   k e r n e l s ,   a s   f a r   b a c k   a s   5 . 4   i f   y o u   s e t   t h e   n f t a b l e s . s k i p K e r n e l V e r s i o n C h e c k   o p t i o n   i n   t h e   k u b e - p r o x y   c o n f i g .   B u t   t h i s   i s   n o t   r e c o m m e n d e d   i n   p r o d u c t i o n   s i n c e   i t   m a y   c a u s e   p r o b l e m s   w i t h   o t h e r   n f t a b l e s   u s e r s   o n   t h e   s y s t e m .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kernel-version-requirements/",
    "id": "k8s_00150_section_3_2685"
  },
  {
    "question": "What is Version 2 control groups?",
    "answer": "K u b e r n e t e s   c g r o u p   v 1   s u p p o r t   i s   i n   m a i n t a i n e d   m o d e   s t a r t i n g   f r o m   K u b e r n e t e s   v 1 . 3 1 ;   u s i n g   c g r o u p   v 2   i s   r e c o m m e n d e d .   I n   L i n u x   5 . 8 ,   t h e   s y s t e m - l e v e l   c p u . s t a t   f i l e   w a s   a d d e d   t o   t h e   r o o t   c g r o u p   f o r   c o n v e n i e n c e .   I n   r u n c   d o c u m e n t ,   K e r n e l   o l d e r   t h a n   5 . 2   i s   n o t   r e c o m m e n d e d   d u e   t o   l a c k   o f   f r e e z e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kernel-version-requirements/",
    "id": "k8s_00150_section_2_2686"
  },
  {
    "question": "What is Pressure Stall Information (PSI)?",
    "answer": "P r e s s u r e   S t a l l   I n f o r m a t i o n   i s   s u p p o r t e d   i n   L i n u x   k e r n e l   v e r s i o n s   4 . 2 0   a n d   u p ,   b u t   r e q u i r e s   t h e   f o l l o w i n g   c o n f i g u r a t i o n :   T h e   k e r n e l   m u s t   b e   c o m p i l e d   w i t h   t h e   C O N F I G _ P S I = y   o p t i o n .   M o s t   m o d e r n   d i s t r i b u t i o n s   e n a b l e   t h i s   b y   d e f a u l t .   Y o u   c a n   c h e c k   y o u r   k e r n e l ' s   c o n f i g u r a t i o n   b y   r u n n i n g   z g r e p   C O N F I G _ P S I   / p r o c / c o n f i g . g z . S o m e   L i n u x   d i s t r i b u t i o n s   m a y   c o m p i l e   P S I   i n t o   t h e   k e r n e l   b u t   d i s a b l e   i t   b y   d e f a u l t .   I f   s o ,   y o u   n e e d   t o   e n a b l e   i t   a t   b o o t   t i m e   b y   a d d i n g   t h e   p s i = 1   p a r a m e t e r   t o   t h e   k e r n e l   c o m m a n d   l i n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kernel-version-requirements/",
    "id": "k8s_00150_section_2_2687"
  },
  {
    "question": "What is Other kernel requirements?",
    "answer": "S o m e   f e a t u r e s   m a y   d e p e n d   o n   n e w   k e r n e l   f u n c t i o n a l i t i e s   a n d   h a v e   s p e c i f i c   k e r n e l   r e q u i r e m e n t s :   R e c u r s i v e   r e a d   o n l y   m o u n t :   T h i s   i s   i m p l e m e n t e d   b y   a p p l y i n g   t h e   M O U N T _ A T T R _ R D O N L Y   a t t r i b u t e   w i t h   t h e   A T _ R E C U R S I V E   f l a g   u s i n g   m o u n t _ s e t a t t r ( 2 )   a d d e d   i n   L i n u x   k e r n e l   v 5 . 1 2 . P o d   u s e r   n a m e s p a c e   s u p p o r t   r e q u i r e s   m i n i m a l   k e r n e l   v e r s i o n   6 . 5 + ,   a c c o r d i n g   t o   K E P - 1 2 7 . F o r   n o d e   s y s t e m   s w a p ,   t m p f s   s e t   t o   n o s w a p   i s   n o t   s u p p o r t e d   u n t i l   k e r n e l   6 . 3 .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kernel-version-requirements/",
    "id": "k8s_00150_section_2_2688"
  },
  {
    "question": "What is Linux kernel long term maintenance?",
    "answer": "A c t i v e   k e r n e l   r e l e a s e s   c a n   b e   f o u n d   i n   k e r n e l . o r g .   T h e r e   a r e   u s u a l l y   s e v e r a l   l o n g   t e r m   m a i n t e n a n c e   k e r n e l   r e l e a s e s   p r o v i d e d   f o r   t h e   p u r p o s e s   o f   b a c k p o r t i n g   b u g   f i x e s   f o r   o l d e r   k e r n e l   t r e e s .   O n l y   i m p o r t a n t   b u g   f i x e s   a r e   a p p l i e d   t o   s u c h   k e r n e l s   a n d   t h e y   d o n ' t   u s u a l l y   s e e   v e r y   f r e q u e n t   r e l e a s e s ,   e s p e c i a l l y   f o r   o l d e r   t r e e s .   S e e   t h e   L i n u x   k e r n e l   w e b s i t e   f o r   t h e   l i s t   o f   r e l e a s e s   i n   t h e   L o n g t e r m   c a t e g o r y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kernel-version-requirements/",
    "id": "k8s_00150_section_2_2689"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   s y s c t l s   f o r   m o r e   d e t a i l s . A l l o w   r u n n i n g   k u b e - p r o x y   w i t h   i n   n f t a b l e s   m o d e . R e a d   m o r e   i n f o r m a t i o n   i n   c g r o u p s   v 2 .   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/kernel-version-requirements/",
    "id": "k8s_00150_section_2_2690"
  },
  {
    "question": "What is Resource Management for Pods and Containers?",
    "answer": "Resource Management for Pods and ContainersWhen you specify a Pod, you can optionally specify how much of each resource a container needs. The most common resources to specify are CPU and memory (RAM); there are others.When you specify the resource request for containers in a Pod, the kube-scheduler uses this information to decide which node to place the Pod on. When you specify a resource limit for a container, the kubelet enforces those limits so that the running container is not allowed to use more of that resource than the limit you set. The kubelet also reserves at least the request amount of that system resource specifically for that container to use.Requests and limitsIf the node where a Pod is running has enough of a resource available, it's possible (and allowed) for a container to use more resource than its request for that resource specifies.For example, if you set a memory request of 256 MiB for a container, and that container is in a Pod scheduled to a Node with 8GiB of memory and no other Pods, then the container can try to use more RAM.Limits are a different story. Both cpu and memory limits are applied by the kubelet (and container runtime), and are ultimately enforced by the kernel. On Linux nodes, the Linux kernel enforces limits with cgroups. The behavior of cpu and memory limit enforcement is slightly different.cpu limits are enforced by CPU throttling. When a container approaches its cpu limit, the kernel will restrict access to the CPU corresponding to the container's limit. Thus, a cpu limit is a hard limit the kernel enforces. Containers may not use more CPU than is specified in their cpu limit.memory limits are enforced by the kernel with out of memory (OOM) kills. When a container uses more than its memory limit, the kernel may terminate it. However, terminations only happen when the kernel detects memory pressure. Thus, a container that over allocates memory may not be immediately killed. This means memory limits are enforced reactively. A container may use more memory than its memory limit, but if it does, it may get killed.Note:There is an alpha feature MemoryQoS which attempts to add more preemptive limit enforcement for memory (as opposed to reactive enforcement by the OOM killer). However, this effort is stalled due to a potential livelock situation a memory hungry can cause.Note:If you specify a limit for a resource, but do not specify any request, and no admission-time mechanism has applied a default request for that resource, then Kubernetes copies the limit you specified and uses it as the requested value for the resource.Resource typesCPU and memory are each a resource type. A resource type has a base unit. CPU represents compute processing and is specified in units of Kubernetes CPUs. Memory is specified in units of bytes. For Linux workloads, you can specify huge page resources. Huge pages are a Linux-specific feature where the node kernel allocates blocks of memory that are much larger than the default page",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_qa_2691"
  },
  {
    "question": "How does Resource Management for Pods and Containers work?",
    "answer": "Resource Management for Pods and ContainersWhen you specify a Pod, you can optionally specify how much of each resource a container needs. The most common resources to specify are CPU and memory (RAM); there are others.When you specify the resource request for containers in a Pod, the kube-scheduler uses this information to decide which node to place the Pod on. When you specify a resource limit for a container, the kubelet enforces those limits so that the running container is not allowed to use more of that resource than the limit you set. The kubelet also reserves at least the request amount of that system resource specifically for that container to use.Requests and limitsIf the node where a Pod is running has enough of a resource available, it's possible (and allowed) for a container to use more resource than its request for that resource specifies.For example, if you set a memory request of 256 MiB for a container, and that container is in a Pod scheduled to a Node with 8GiB of memory and no other Pods, then the container can try to use more RAM.Limits are a different story. Both cpu and memory limits are applied by the kubelet (and container runtime), and are ultimately enforced by the kernel. On Linux nodes, the Linux kernel enforces limits with cgroups. The behavior of cpu and memory limit enforcement is slightly different.cpu limits are enforced by CPU throttling. When a container approaches its cpu limit, the kernel will restrict access to the CPU corresponding to the container's limit. Thus, a cpu limit is a hard limit the kernel enforces. Containers may not use more CPU than is specified in their cpu limit.memory limits are enforced by the kernel with out of memory (OOM) kills. When a container uses more than its memory limit, the kernel may terminate it. However, terminations only happen when the kernel detects memory pressure. Thus, a container that over allocates memory may not be immediately killed. This means memory limits are enforced reactively. A container may use more memory than its memory limit, but if it does, it may get killed.Note:There is an alpha feature MemoryQoS which attempts to add more preemptive limit enforcement for memory (as opposed to reactive enforcement by the OOM killer). However, this effort is stalled due to a potential livelock situation a memory hungry can cause.Note:If you specify a limit for a resource, but do not specify any request, and no admission-time mechanism has applied a default request for that resource, then Kubernetes copies the limit you specified and uses it as the requested value for the resource.Resource typesCPU and memory are each a resource type. A resource type has a base unit. CPU represents compute processing and is specified in units of Kubernetes CPUs. Memory is specified in units of bytes. For Linux workloads, you can specify huge page resources. Huge pages are a Linux-specific feature where the node kernel allocates blocks of memory that are much larger than the default page",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_qa_2692"
  },
  {
    "question": "When would you use Resource Management for Pods and Containers?",
    "answer": "Resource Management for Pods and ContainersWhen you specify a Pod, you can optionally specify how much of each resource a container needs. The most common resources to specify are CPU and memory (RAM); there are others.When you specify the resource request for containers in a Pod, the kube-scheduler uses this information to decide which node to place the Pod on. When you specify a resource limit for a container, the kubelet enforces those limits so that the running container is not allowed to use more of that resource than the limit you set. The kubelet also reserves at least the request amount of that system resource specifically for that container to use.Requests and limitsIf the node where a Pod is running has enough of a resource available, it's possible (and allowed) for a container to use more resource than its request for that resource specifies.For example, if you set a memory request of 256 MiB for a container, and that container is in a Pod scheduled to a Node with 8GiB of memory and no other Pods, then the container can try to use more RAM.Limits are a different story. Both cpu and memory limits are applied by the kubelet (and container runtime), and are ultimately enforced by the kernel. On Linux nodes, the Linux kernel enforces limits with cgroups. The behavior of cpu and memory limit enforcement is slightly different.cpu limits are enforced by CPU throttling. When a container approaches its cpu limit, the kernel will restrict access to the CPU corresponding to the container's limit. Thus, a cpu limit is a hard limit the kernel enforces. Containers may not use more CPU than is specified in their cpu limit.memory limits are enforced by the kernel with out of memory (OOM) kills. When a container uses more than its memory limit, the kernel may terminate it. However, terminations only happen when the kernel detects memory pressure. Thus, a container that over allocates memory may not be immediately killed. This means memory limits are enforced reactively. A container may use more memory than its memory limit, but if it does, it may get killed.Note:There is an alpha feature MemoryQoS which attempts to add more preemptive limit enforcement for memory (as opposed to reactive enforcement by the OOM killer). However, this effort is stalled due to a potential livelock situation a memory hungry can cause.Note:If you specify a limit for a resource, but do not specify any request, and no admission-time mechanism has applied a default request for that resource, then Kubernetes copies the limit you specified and uses it as the requested value for the resource.Resource typesCPU and memory are each a resource type. A resource type has a base unit. CPU represents compute processing and is specified in units of Kubernetes CPUs. Memory is specified in units of bytes. For Linux workloads, you can specify huge page resources. Huge pages are a Linux-specific feature where the node kernel allocates blocks of memory that are much larger than the default page",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_qa_2693"
  },
  {
    "question": "What are the benefits of Resource Management for Pods and Containers?",
    "answer": "Resource Management for Pods and ContainersWhen you specify a Pod, you can optionally specify how much of each resource a container needs. The most common resources to specify are CPU and memory (RAM); there are others.When you specify the resource request for containers in a Pod, the kube-scheduler uses this information to decide which node to place the Pod on. When you specify a resource limit for a container, the kubelet enforces those limits so that the running container is not allowed to use more of that resource than the limit you set. The kubelet also reserves at least the request amount of that system resource specifically for that container to use.Requests and limitsIf the node where a Pod is running has enough of a resource available, it's possible (and allowed) for a container to use more resource than its request for that resource specifies.For example, if you set a memory request of 256 MiB for a container, and that container is in a Pod scheduled to a Node with 8GiB of memory and no other Pods, then the container can try to use more RAM.Limits are a different story. Both cpu and memory limits are applied by the kubelet (and container runtime), and are ultimately enforced by the kernel. On Linux nodes, the Linux kernel enforces limits with cgroups. The behavior of cpu and memory limit enforcement is slightly different.cpu limits are enforced by CPU throttling. When a container approaches its cpu limit, the kernel will restrict access to the CPU corresponding to the container's limit. Thus, a cpu limit is a hard limit the kernel enforces. Containers may not use more CPU than is specified in their cpu limit.memory limits are enforced by the kernel with out of memory (OOM) kills. When a container uses more than its memory limit, the kernel may terminate it. However, terminations only happen when the kernel detects memory pressure. Thus, a container that over allocates memory may not be immediately killed. This means memory limits are enforced reactively. A container may use more memory than its memory limit, but if it does, it may get killed.Note:There is an alpha feature MemoryQoS which attempts to add more preemptive limit enforcement for memory (as opposed to reactive enforcement by the OOM killer). However, this effort is stalled due to a potential livelock situation a memory hungry can cause.Note:If you specify a limit for a resource, but do not specify any request, and no admission-time mechanism has applied a default request for that resource, then Kubernetes copies the limit you specified and uses it as the requested value for the resource.Resource typesCPU and memory are each a resource type. A resource type has a base unit. CPU represents compute processing and is specified in units of Kubernetes CPUs. Memory is specified in units of bytes. For Linux workloads, you can specify huge page resources. Huge pages are a Linux-specific feature where the node kernel allocates blocks of memory that are much larger than the default page",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_qa_2694"
  },
  {
    "question": "What is Resource Management for Pods and Containers?",
    "answer": "W h e n   y o u   s p e c i f y   a   P o d ,   y o u   c a n   o p t i o n a l l y   s p e c i f y   h o w   m u c h   o f   e a c h   r e s o u r c e   a   c o n t a i n e r   n e e d s .   T h e   m o s t   c o m m o n   r e s o u r c e s   t o   s p e c i f y   a r e   C P U   a n d   m e m o r y   ( R A M ) ;   t h e r e   a r e   o t h e r s .   W h e n   y o u   s p e c i f y   t h e   r e s o u r c e   r e q u e s t   f o r   c o n t a i n e r s   i n   a   P o d ,   t h e   k u b e - s c h e d u l e r   u s e s   t h i s   i n f o r m a t i o n   t o   d e c i d e   w h i c h   n o d e   t o   p l a c e   t h e   P o d   o n .   W h e n   y o u   s p e c i f y   a   r e s o u r c e   l i m i t   f o r   a   c o n t a i n e r ,   t h e   k u b e l e t   e n f o r c e s   t h o s e   l i m i t s   s o   t h a t   t h e   r u n n i n g   c o n t a i n e r   i s   n o t   a l l o w e d   t o   u s e   m o r e   o f   t h a t   r e s o u r c e   t h a n   t h e   l i m i t   y o u   s e t .   T h e   k u b e l e t   a l s o   r e s e r v e s   a t   l e a s t   t h e   r e q u e s t   a m o u n t   o f   t h a t   s y s t e m   r e s o u r c e   s p e c i f i c a l l y   f o r   t h a t   c o n t a i n e r   t o   u s e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_1_2695"
  },
  {
    "question": "What is Requests and limits?",
    "answer": "I f   t h e   n o d e   w h e r e   a   P o d   i s   r u n n i n g   h a s   e n o u g h   o f   a   r e s o u r c e   a v a i l a b l e ,   i t ' s   p o s s i b l e   ( a n d   a l l o w e d )   f o r   a   c o n t a i n e r   t o   u s e   m o r e   r e s o u r c e   t h a n   i t s   r e q u e s t   f o r   t h a t   r e s o u r c e   s p e c i f i e s .   F o r   e x a m p l e ,   i f   y o u   s e t   a   m e m o r y   r e q u e s t   o f   2 5 6   M i B   f o r   a   c o n t a i n e r ,   a n d   t h a t   c o n t a i n e r   i s   i n   a   P o d   s c h e d u l e d   t o   a   N o d e   w i t h   8 G i B   o f   m e m o r y   a n d   n o   o t h e r   P o d s ,   t h e n   t h e   c o n t a i n e r   c a n   t r y   t o   u s e   m o r e   R A M .   L i m i t s   a r e   a   d i f f e r e n t   s t o r y .   B o t h   c p u   a n d   m e m o r y   l i m i t s   a r e   a p p l i e d   b y   t h e   k u b e l e t   ( a n d   c o n t a i n e r   r u n t i m e ) ,   a n d   a r e   u l t i m a t e l y   e n f o r c e d   b y   t h e   k e r n e l .   O n   L i n u x   n o d e s ,   t h e   L i n u x   k e r n e l   e n f o r c e s   l i m i t s   w i t h   c g r o u p s .   T h e   b e h a v i o r   o f   c p u   a n d   m e m o r y   l i m i t   e n f o r c e m e n t   i s   s l i g h t l y   d i f f e r e n t .   c p u   l i m i t s   a r e   e n f o r c e d   b y   C P U   t h r o t t l i n g .   W h e n   a   c o n t a i n e r   a p p r o a c h e s   i t s   c p u   l i m i t ,   t h e   k e r n e l   w i l l   r e s t r i c t   a c c e s s   t o   t h e   C P U   c o r r e s p o n d i n g   t o   t h e   c o n t a i n e r ' s   l i m i t .   T h u s ,   a   c p u   l i m i t   i s   a   h a r d   l i m i t   t h e   k e r n e l   e n f o r c e s .   C o n t a i n e r s   m a y   n o t   u s e   m o r e   C P U   t h a n   i s   s p e c i f i e d   i n   t h e i r   c p u   l i m i t .   m e m o r y   l i m i t s   a r e   e n f o r c e d   b y   t h e   ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_2_2696"
  },
  {
    "question": "What is Resource types?",
    "answer": "C P U   a n d   m e m o r y   a r e   e a c h   a   r e s o u r c e   t y p e .   A   r e s o u r c e   t y p e   h a s   a   b a s e   u n i t .   C P U   r e p r e s e n t s   c o m p u t e   p r o c e s s i n g   a n d   i s   s p e c i f i e d   i n   u n i t s   o f   K u b e r n e t e s   C P U s .   M e m o r y   i s   s p e c i f i e d   i n   u n i t s   o f   b y t e s .   F o r   L i n u x   w o r k l o a d s ,   y o u   c a n   s p e c i f y   h u g e   p a g e   r e s o u r c e s .   H u g e   p a g e s   a r e   a   L i n u x - s p e c i f i c   f e a t u r e   w h e r e   t h e   n o d e   k e r n e l   a l l o c a t e s   b l o c k s   o f   m e m o r y   t h a t   a r e   m u c h   l a r g e r   t h a n   t h e   d e f a u l t   p a g e   s i z e .   F o r   e x a m p l e ,   o n   a   s y s t e m   w h e r e   t h e   d e f a u l t   p a g e   s i z e   i s   4 K i B ,   y o u   c o u l d   s p e c i f y   a   l i m i t ,   h u g e p a g e s - 2 M i :   8 0 M i .   I f   t h e   c o n t a i n e r   t r i e s   a l l o c a t i n g   o v e r   4 0   2 M i B   h u g e   p a g e s   ( a   t o t a l   o f   8 0   M i B ) ,   t h a t   a l l o c a t i o n   f a i l s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_2_2697"
  },
  {
    "question": "What is Note:?",
    "answer": "C P U   a n d   m e m o r y   a r e   c o l l e c t i v e l y   r e f e r r e d   t o   a s   c o m p u t e   r e s o u r c e s ,   o r   r e s o u r c e s .   C o m p u t e   r e s o u r c e s   a r e   m e a s u r a b l e   q u a n t i t i e s   t h a t   c a n   b e   r e q u e s t e d ,   a l l o c a t e d ,   a n d   c o n s u m e d .   T h e y   a r e   d i s t i n c t   f r o m   A P I   r e s o u r c e s .   A P I   r e s o u r c e s ,   s u c h   a s   P o d s   a n d   S e r v i c e s   a r e   o b j e c t s   t h a t   c a n   b e   r e a d   a n d   m o d i f i e d   t h r o u g h   t h e   K u b e r n e t e s   A P I   s e r v e r .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_4_2698"
  },
  {
    "question": "What is Resource requests and limits of Pod and container?",
    "answer": "F o r   e a c h   c o n t a i n e r ,   y o u   c a n   s p e c i f y   r e s o u r c e   l i m i t s   a n d   r e q u e s t s ,   i n c l u d i n g   t h e   f o l l o w i n g :   s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . l i m i t s . c p u s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . l i m i t s . m e m o r y s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . l i m i t s . h u g e p a g e s - < s i z e > s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . r e q u e s t s . c p u s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . r e q u e s t s . m e m o r y s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . r e q u e s t s . h u g e p a g e s - < s i z e >   A l t h o u g h   y o u   c a n   o n l y   s p e c i f y   r e q u e s t s   a n d   l i m i t s   f o r   i n d i v i d u a l   c o n t a i n e r s ,   i t   i s   a l s o   u s e f u l   t o   t h i n k   a b o u t   t h e   o v e r a l l   r e s o u r c e   r e q u e s t s   a n d   l i m i t s   f o r   a   P o d .   F o r   a   p a r t i c u l a r   r e s o u r c e ,   a   P o d   r e s o u r c e   r e q u e s t / l i m i t   i s   t h e   s u m   o f   t h e   r e s o u r c e   r e q u e s t s / l i m i t s   o f   t h a t   t y p e   f o r   e a c h   c o n t a i n e r   i n   t h e   P o d .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_2_2699"
  },
  {
    "question": "What is Pod-level resource specification?",
    "answer": "P r o v i d e d   y o u r   c l u s t e r   h a s   t h e   P o d L e v e l R e s o u r c e s   f e a t u r e   g a t e   e n a b l e d ,   y o u   c a n   s p e c i f y   r e s o u r c e   r e q u e s t s   a n d   l i m i t s   a t   t h e   P o d   l e v e l .   A t   t h e   P o d   l e v e l ,   K u b e r n e t e s   1 . 3 4   o n l y   s u p p o r t s   r e s o u r c e   r e q u e s t s   o r   l i m i t s   f o r   s p e c i f i c   r e s o u r c e   t y p e s :   c p u   a n d   /   o r   m e m o r y   a n d   /   o r   h u g e p a g e s .   W i t h   t h i s   f e a t u r e ,   K u b e r n e t e s   a l l o w s   y o u   t o   d e c l a r e   a n   o v e r a l l   r e s o u r c e   b u d g e t   f o r   t h e   P o d ,   w h i c h   i s   e s p e c i a l l y   h e l p f u l   w h e n   d e a l i n g   w i t h   a   l a r g e   n u m b e r   o f   c o n t a i n e r s   w h e r e   i t   c a n   b e   d i f f i c u l t   t o   a c c u r a t e l y   g a u g e   i n d i v i d u a l   r e s o u r c e   n e e d s .   A d d i t i o n a l l y ,   i t   e n a b l e s   c o n t a i n e r s   w i t h i n   a   P o d   t o   s h a r e   i d l e   r e s o u r c e s   w i t h   e a c h   o t h e r ,   i m p r o v i n g   r e s o u r c e   u t i l i z a t i o n .   F o r   a   P o d ,   y o u   c a n   s p e c i f y   r e s o u r c e   l i m i t s   a n d   r e q u e s t s   f o r   C P U   a n d   m e m o r y   b y   i n c l u d i n g   t h e   f o l l o w i n g :   s p e c . r e s o u r c e s . l i m i t s . c p u s p e c . r e s o u r c e s . l i m i t s . m e m o r y s p e c . r e s o u r c e s . l i m i t s . h u g e p a g e s - < s i z e > s p e c . r e s o u r c e s . r e q u e s t s . c p u s p e c . r e s o u r c e s . r e q u e s t s . m e m o r y s p e c . r e s o u r c e s . r e q u e s t s . h u g e p a g e s - < s i z e >",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_2_2700"
  },
  {
    "question": "What is CPU resource units?",
    "answer": "L i m i t s   a n d   r e q u e s t s   f o r   C P U   r e s o u r c e s   a r e   m e a s u r e d   i n   c p u   u n i t s .   I n   K u b e r n e t e s ,   1   C P U   u n i t   i s   e q u i v a l e n t   t o   1   p h y s i c a l   C P U   c o r e ,   o r   1   v i r t u a l   c o r e ,   d e p e n d i n g   o n   w h e t h e r   t h e   n o d e   i s   a   p h y s i c a l   h o s t   o r   a   v i r t u a l   m a c h i n e   r u n n i n g   i n s i d e   a   p h y s i c a l   m a c h i n e .   F r a c t i o n a l   r e q u e s t s   a r e   a l l o w e d .   W h e n   y o u   d e f i n e   a   c o n t a i n e r   w i t h   s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . r e q u e s t s . c p u   s e t   t o   0 . 5 ,   y o u   a r e   r e q u e s t i n g   h a l f   a s   m u c h   C P U   t i m e   c o m p a r e d   t o   i f   y o u   a s k e d   f o r   1 . 0   C P U .   F o r   C P U   r e s o u r c e   u n i t s ,   t h e   q u a n t i t y   e x p r e s s i o n   0 . 1   i s   e q u i v a l e n t   t o   t h e   e x p r e s s i o n   1 0 0 m ,   w h i c h   c a n   b e   r e a d   a s   \" o n e   h u n d r e d   m i l l i c p u \" .   S o m e   p e o p l e   s a y   \" o n e   h u n d r e d   m i l l i c o r e s \" ,   a n d   t h i s   i s   u n d e r s t o o d   t o   m e a n   t h e   s a m e   t h i n g .   C P U   r e s o u r c e   i s   a l w a y s   s p e c i f i e d   a s   a n   a b s o l u t e   a m o u n t   o f   r e s o u r c e ,   n e v e r   a s   a   r e l a t i v e   a m o u n t .   F o r   e x a m p l e ,   5 0 0 m   C P U   r e p r e s e n t s   t h e   r o u g h l y   s a m e   a m o u n t   o f   c o m p u t i n g   p o w e r   w h e t h e r   t h a t   c o n t a i n e r   r u n s   o n   a   s i n g l e - c o r e ,   d u a l - c o r e ,   o r   4 8 - c o r e   m a c h i n e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_3_2701"
  },
  {
    "question": "What is Note:?",
    "answer": "K u b e r n e t e s   d o e s n ' t   a l l o w   y o u   t o   s p e c i f y   C P U   r e s o u r c e s   w i t h   a   p r e c i s i o n   f i n e r   t h a n   1 m   o r   0 . 0 0 1   C P U .   T o   a v o i d   a c c i d e n t a l l y   u s i n g   a n   i n v a l i d   C P U   q u a n t i t y ,   i t ' s   u s e f u l   t o   s p e c i f y   C P U   u n i t s   u s i n g   t h e   m i l l i C P U   f o r m   i n s t e a d   o f   t h e   d e c i m a l   f o r m   w h e n   u s i n g   l e s s   t h a n   1   C P U   u n i t .   F o r   e x a m p l e ,   y o u   h a v e   a   P o d   t h a t   u s e s   5 m   o r   0 . 0 0 5   C P U   a n d   w o u l d   l i k e   t o   d e c r e a s e   i t s   C P U   r e s o u r c e s .   B y   u s i n g   t h e   d e c i m a l   f o r m ,   i t ' s   h a r d e r   t o   s p o t   t h a t   0 . 0 0 0 5   C P U   i s   a n   i n v a l i d   v a l u e ,   w h i l e   b y   u s i n g   t h e   m i l l i C P U   f o r m ,   i t ' s   e a s i e r   t o   s p o t   t h a t   0 . 5 m   i s   a n   i n v a l i d   v a l u e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_4_2702"
  },
  {
    "question": "What is Memory resource units?",
    "answer": "L i m i t s   a n d   r e q u e s t s   f o r   m e m o r y   a r e   m e a s u r e d   i n   b y t e s .   Y o u   c a n   e x p r e s s   m e m o r y   a s   a   p l a i n   i n t e g e r   o r   a s   a   f i x e d - p o i n t   n u m b e r   u s i n g   o n e   o f   t h e s e   q u a n t i t y   s u f f i x e s :   E ,   P ,   T ,   G ,   M ,   k .   Y o u   c a n   a l s o   u s e   t h e   p o w e r - o f - t w o   e q u i v a l e n t s :   E i ,   P i ,   T i ,   G i ,   M i ,   K i .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   r e p r e s e n t   r o u g h l y   t h e   s a m e   v a l u e :   1 2 8 9 7 4 8 4 8 ,   1 2 9 e 6 ,   1 2 9 M ,   1 2 8 9 7 4 8 4 8 0 0 0 m ,   1 2 3 M i   P a y   a t t e n t i o n   t o   t h e   c a s e   o f   t h e   s u f f i x e s .   I f   y o u   r e q u e s t   4 0 0 m   o f   m e m o r y ,   t h i s   i s   a   r e q u e s t   f o r   0 . 4   b y t e s .   S o m e o n e   w h o   t y p e s   t h a t   p r o b a b l y   m e a n t   t o   a s k   f o r   4 0 0   m e b i b y t e s   ( 4 0 0 M i )   o r   4 0 0   m e g a b y t e s   ( 4 0 0 M ) .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_3_2703"
  },
  {
    "question": "What is Container resources example?",
    "answer": "T h e   f o l l o w i n g   P o d   h a s   t w o   c o n t a i n e r s .   B o t h   c o n t a i n e r s   a r e   d e f i n e d   w i t h   a   r e q u e s t   f o r   0 . 2 5   C P U   a n d   6 4 M i B   ( 2 2 6   b y t e s )   o f   m e m o r y .   E a c h   c o n t a i n e r   h a s   a   l i m i t   o f   0 . 5   C P U   a n d   1 2 8 M i B   o f   m e m o r y .   Y o u   c a n   s a y   t h e   P o d   h a s   a   r e q u e s t   o f   0 . 5   C P U   a n d   1 2 8   M i B   o f   m e m o r y ,   a n d   a   l i m i t   o f   1   C P U   a n d   2 5 6 M i B   o f   m e m o r y .   - - -   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   f r o n t e n d   s p e c :   c o n t a i n e r s :   -   n a m e :   a p p   i m a g e :   i m a g e s . m y - c o m p a n y . e x a m p l e / a p p : v 4   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 6 4 M i \"   c p u :   \" 2 5 0 m \"   l i m i t s :   m e m o r y :   \" 1 2 8 M i \"   c p u :   \" 5 0 0 m \"   -   n a m e :   l o g - a g g r e g a t o r   i m a g e :   i m a g e s . m y - c o m p a n y . e x a m p l e / l o g - a g g r e g a t o r : v 6   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 6 4 M i \"   c p u :   \" 2 5 0 m \"   l i m i t s :   m e m o r y :   \" 1 2 8 M i \"   c p u :   \" 5 0 0 m \"",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_2_2704"
  },
  {
    "question": "What is Pod resources example?",
    "answer": "T h i s   f e a t u r e   c a n   b e   e n a b l e d   b y   s e t t i n g   t h e   P o d L e v e l R e s o u r c e s   f e a t u r e   g a t e .   T h e   f o l l o w i n g   P o d   h a s   a n   e x p l i c i t   r e q u e s t   o f   1   C P U   a n d   1 0 0   M i B   o f   m e m o r y ,   a n d   a n   e x p l i c i t   l i m i t   o f   1   C P U   a n d   2 0 0   M i B   o f   m e m o r y .   T h e   p o d - r e s o u r c e s - d e m o - c t r - 1   c o n t a i n e r   h a s   e x p l i c i t   r e q u e s t s   a n d   l i m i t s   s e t .   H o w e v e r ,   t h e   p o d - r e s o u r c e s - d e m o - c t r - 2   c o n t a i n e r   w i l l   s i m p l y   s h a r e   t h e   r e s o u r c e s   a v a i l a b l e   w i t h i n   t h e   P o d   r e s o u r c e   b o u n d a r i e s ,   a s   i t   d o e s   n o t   h a v e   e x p l i c i t   r e q u e s t s   a n d   l i m i t s   s e t .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p o d - r e s o u r c e s - d e m o   n a m e s p a c e :   p o d - r e s o u r c e s - e x a m p l e   s p e c :   r e s o u r c e s :   l i m i t s :   c p u :   \" 1 \"   m e m o r y :   \" 2 0 0 M i \"   r e q u e s t s :   c p u :   \" 1 \"   m e m o r y :   \" 1 0 0 M i \"   c o n t a i n e r s :   -   n a m e :   p o d - r e s o u r c e s - d e m o - c t r - 1   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   c p u :   \" 0 . 5 \"   m e m o r y :   \" 1 0 0 M i \"   r e q u e s t s :   c p u :   \" 0 . 5 \"   m e m o r y :   \" 5 0 M i \"   -   n a m e :   p o d - r e s o u r c e s - d e m o - c t r - 2   i m a g e :   f e d o r a   c o m m a n d :   -   s l e e p   -   i n f",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_2_2705"
  },
  {
    "question": "What is How Pods with resource requests are scheduled?",
    "answer": "W h e n   y o u   c r e a t e   a   P o d ,   t h e   K u b e r n e t e s   s c h e d u l e r   s e l e c t s   a   n o d e   f o r   t h e   P o d   t o   r u n   o n .   E a c h   n o d e   h a s   a   m a x i m u m   c a p a c i t y   f o r   e a c h   o f   t h e   r e s o u r c e   t y p e s :   t h e   a m o u n t   o f   C P U   a n d   m e m o r y   i t   c a n   p r o v i d e   f o r   P o d s .   T h e   s c h e d u l e r   e n s u r e s   t h a t ,   f o r   e a c h   r e s o u r c e   t y p e ,   t h e   s u m   o f   t h e   r e s o u r c e   r e q u e s t s   o f   t h e   s c h e d u l e d   c o n t a i n e r s   i s   l e s s   t h a n   t h e   c a p a c i t y   o f   t h e   n o d e .   N o t e   t h a t   a l t h o u g h   a c t u a l   m e m o r y   o r   C P U   r e s o u r c e   u s a g e   o n   n o d e s   i s   v e r y   l o w ,   t h e   s c h e d u l e r   s t i l l   r e f u s e s   t o   p l a c e   a   P o d   o n   a   n o d e   i f   t h e   c a p a c i t y   c h e c k   f a i l s .   T h i s   p r o t e c t s   a g a i n s t   a   r e s o u r c e   s h o r t a g e   o n   a   n o d e   w h e n   r e s o u r c e   u s a g e   l a t e r   i n c r e a s e s ,   f o r   e x a m p l e ,   d u r i n g   a   d a i l y   p e a k   i n   r e q u e s t   r a t e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_2_2706"
  },
  {
    "question": "What is How Kubernetes applies resource requests and limits?",
    "answer": "W h e n   t h e   k u b e l e t   s t a r t s   a   c o n t a i n e r   a s   p a r t   o f   a   P o d ,   t h e   k u b e l e t   p a s s e s   t h a t   c o n t a i n e r ' s   r e q u e s t s   a n d   l i m i t s   f o r   m e m o r y   a n d   C P U   t o   t h e   c o n t a i n e r   r u n t i m e .   O n   L i n u x ,   t h e   c o n t a i n e r   r u n t i m e   t y p i c a l l y   c o n f i g u r e s   k e r n e l   c g r o u p s   t h a t   a p p l y   a n d   e n f o r c e   t h e   l i m i t s   y o u   d e f i n e d .   T h e   C P U   l i m i t   d e f i n e s   a   h a r d   c e i l i n g   o n   h o w   m u c h   C P U   t i m e   t h e   c o n t a i n e r   c a n   u s e .   D u r i n g   e a c h   s c h e d u l i n g   i n t e r v a l   ( t i m e   s l i c e ) ,   t h e   L i n u x   k e r n e l   c h e c k s   t o   s e e   i f   t h i s   l i m i t   i s   e x c e e d e d ;   i f   s o ,   t h e   k e r n e l   w a i t s   b e f o r e   a l l o w i n g   t h a t   c g r o u p   t o   r e s u m e   e x e c u t i o n . T h e   C P U   r e q u e s t   t y p i c a l l y   d e f i n e s   a   w e i g h t i n g .   I f   s e v e r a l   d i f f e r e n t   c o n t a i n e r s   ( c g r o u p s )   w a n t   t o   r u n   o n   a   c o n t e n d e d   s y s t e m ,   w o r k l o a d s   w i t h   l a r g e r   C P U   r e q u e s t s   a r e   a l l o c a t e d   m o r e   C P U   t i m e   t h a n   w o r k l o a d s   w i t h   s m a l l   r e q u e s t s . T h e   m e m o r y   r e q u e s t   i s   m a i n l y   u s e d   d u r i n g   ( K u b e r n e t e s )   P o d   s c h e d u l i n g .   O n   a   n o d e   t h a t   u s e s   c g r o u p s   v 2 ,   t h e   c o n t a i n e r   r u n t i m e   m i g h t   u s e   t h e   m e m o r y   r e q u e s t   a s   a   h i n t   t o   s e t   m e m o r y . m i n   a n d   m e m o r y . l o w . T h e   m e m o r y   l i m i t   d e f i n e s   a   m e m o r y   l i m i t   f o r   t h a t   c g r o u p ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_2_2707"
  },
  {
    "question": "What is Monitoring compute & memory resource usage?",
    "answer": "T h e   k u b e l e t   r e p o r t s   t h e   r e s o u r c e   u s a g e   o f   a   P o d   a s   p a r t   o f   t h e   P o d   s t a t u s .   I f   o p t i o n a l   t o o l s   f o r   m o n i t o r i n g   a r e   a v a i l a b l e   i n   y o u r   c l u s t e r ,   t h e n   P o d   r e s o u r c e   u s a g e   c a n   b e   r e t r i e v e d   e i t h e r   f r o m   t h e   M e t r i c s   A P I   d i r e c t l y   o r   f r o m   y o u r   m o n i t o r i n g   t o o l s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_3_2708"
  },
  {
    "question": "What is Caution:?",
    "answer": "F r o m   t h e   p e r s p e c t i v e   o f   m e m o r y   m a n a g e m e n t ,   t h e r e   a r e   s o m e   s i m i l a r i t i e s   b e t w e e n   w h e n   a   p r o c e s s   u s e s   m e m o r y   a s   a   w o r k   a r e a   a n d   w h e n   u s i n g   m e m o r y - b a c k e d   e m p t y D i r .   B u t   w h e n   u s i n g   m e m o r y   a s   a   v o l u m e ,   l i k e   m e m o r y - b a c k e d   e m p t y D i r ,   t h e r e   a r e   a d d i t i o n a l   p o i n t s   b e l o w   t h a t   y o u   s h o u l d   b e   c a r e f u l   o f :   F i l e s   s t o r e d   o n   a   m e m o r y - b a c k e d   v o l u m e   a r e   a l m o s t   e n t i r e l y   m a n a g e d   b y   t h e   u s e r   a p p l i c a t i o n .   U n l i k e   w h e n   u s e d   a s   a   w o r k   a r e a   f o r   a   p r o c e s s ,   y o u   c a n   n o t   r e l y   o n   t h i n g s   l i k e   l a n g u a g e - l e v e l   g a r b a g e   c o l l e c t i o n . T h e   p u r p o s e   o f   w r i t i n g   f i l e s   t o   a   v o l u m e   i s   t o   s a v e   d a t a   o r   p a s s   i t   b e t w e e n   a p p l i c a t i o n s .   N e i t h e r   K u b e r n e t e s   n o r   t h e   O S   m a y   a u t o m a t i c a l l y   d e l e t e   f i l e s   f r o m   a   v o l u m e ,   s o   m e m o r y   u s e d   b y   t h o s e   f i l e s   c a n   n o t   b e   r e c l a i m e d   w h e n   t h e   s y s t e m   o r   t h e   p o d   a r e   u n d e r   m e m o r y   p r e s s u r e . A   m e m o r y - b a c k e d   e m p t y D i r   i s   u s e f u l   b e c a u s e   o f   i t s   p e r f o r m a n c e ,   b u t   m e m o r y   i s   g e n e r a l l y   m u c h   s m a l l e r   i n   s i z e   a n d   m u c h   h i g h e r   i n   c o s t   t h a n   o t h e r   s t o r a g e   m e d i a ,   s u c h   a s   d i s k s   o r   S S D s .   U s i n g   l a r g e   a m o u n t s   o f   m e m o r y   f o r   e m p t y D i r   v o l u m e s   m a y   ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_4_2709"
  },
  {
    "question": "What is Local ephemeral storage?",
    "answer": "N o d e s   h a v e   l o c a l   e p h e m e r a l   s t o r a g e ,   b a c k e d   b y   l o c a l l y - a t t a c h e d   w r i t e a b l e   d e v i c e s   o r ,   s o m e t i m e s ,   b y   R A M .   \" E p h e m e r a l \"   m e a n s   t h a t   t h e r e   i s   n o   l o n g - t e r m   g u a r a n t e e   a b o u t   d u r a b i l i t y .   P o d s   u s e   e p h e m e r a l   l o c a l   s t o r a g e   f o r   s c r a t c h   s p a c e ,   c a c h i n g ,   a n d   f o r   l o g s .   T h e   k u b e l e t   c a n   p r o v i d e   s c r a t c h   s p a c e   t o   P o d s   u s i n g   l o c a l   e p h e m e r a l   s t o r a g e   t o   m o u n t   e m p t y D i r   v o l u m e s   i n t o   c o n t a i n e r s .   T h e   k u b e l e t   a l s o   u s e s   t h i s   k i n d   o f   s t o r a g e   t o   h o l d   n o d e - l e v e l   c o n t a i n e r   l o g s ,   c o n t a i n e r   i m a g e s ,   a n d   t h e   w r i t a b l e   l a y e r s   o f   r u n n i n g   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_2_2710"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   m a k e   t h e   r e s o u r c e   q u o t a   w o r k   o n   e p h e m e r a l - s t o r a g e ,   t w o   t h i n g s   n e e d   t o   b e   d o n e :   A n   a d m i n   s e t s   t h e   r e s o u r c e   q u o t a   f o r   e p h e m e r a l - s t o r a g e   i n   a   n a m e s p a c e . A   u s e r   n e e d s   t o   s p e c i f y   l i m i t s   f o r   t h e   e p h e m e r a l - s t o r a g e   r e s o u r c e   i n   t h e   P o d   s p e c .   I f   t h e   u s e r   d o e s n ' t   s p e c i f y   t h e   e p h e m e r a l - s t o r a g e   r e s o u r c e   l i m i t   i n   t h e   P o d   s p e c ,   t h e   r e s o u r c e   q u o t a   i s   n o t   e n f o r c e d   o n   e p h e m e r a l - s t o r a g e .   K u b e r n e t e s   l e t s   y o u   t r a c k ,   r e s e r v e   a n d   l i m i t   t h e   a m o u n t   o f   e p h e m e r a l   l o c a l   s t o r a g e   a   P o d   c a n   c o n s u m e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_4_2711"
  },
  {
    "question": "What is Configurations for local ephemeral storage?",
    "answer": "K u b e r n e t e s   s u p p o r t s   t w o   w a y s   t o   c o n f i g u r e   l o c a l   e p h e m e r a l   s t o r a g e   o n   a   n o d e : I n   t h i s   c o n f i g u r a t i o n ,   y o u   p l a c e   a l l   d i f f e r e n t   k i n d s   o f   e p h e m e r a l   l o c a l   d a t a   ( e m p t y D i r   v o l u m e s ,   w r i t e a b l e   l a y e r s ,   c o n t a i n e r   i m a g e s ,   l o g s )   i n t o   o n e   f i l e s y s t e m .   T h e   m o s t   e f f e c t i v e   w a y   t o   c o n f i g u r e   t h e   k u b e l e t   m e a n s   d e d i c a t i n g   t h i s   f i l e s y s t e m   t o   K u b e r n e t e s   ( k u b e l e t )   d a t a . T h e   k u b e l e t   a l s o   w r i t e s   n o d e - l e v e l   c o n t a i n e r   l o g s   a n d   t r e a t s   t h e s e   s i m i l a r l y   t o   e p h e m e r a l   l o c a l   s t o r a g e . T h e   k u b e l e t   w r i t e s   l o g s   t o   f i l e s   i n s i d e   i t s   c o n f i g u r e d   l o g   d i r e c t o r y   ( / v a r / l o g   b y   d e f a u l t ) ;   a n d   h a s   a   b a s e   d i r e c t o r y   f o r   o t h e r   l o c a l l y   s t o r e d   d a t a   ( / v a r / l i b / k u b e l e t   b y   d e f a u l t ) . T y p i c a l l y ,   b o t h   / v a r / l i b / k u b e l e t   a n d   / v a r / l o g   a r e   o n   t h e   s y s t e m   r o o t   f i l e s y s t e m ,   a n d   t h e   k u b e l e t   i s   d e s i g n e d   w i t h   t h a t   l a y o u t   i n   m i n d . Y o u r   n o d e   c a n   h a v e   a s   m a n y   o t h e r   f i l e s y s t e m s ,   n o t   u s e d   f o r   K u b e r n e t e s ,   a s   y o u   l i k e . Y o u   h a v e   a   f i l e s y s t e m   o n   t h e   n o d e   t h a t   y o u ' r e   u s i n g   f o r   e p h e m e r a l   d a t a   t h a t   c o m e s   f r o m   r u n n i n g   P o d s :   l o g s ,   a n d   e m p t y D i r   v o l u m e s .   Y o u   c a n   u s e   t h i s   f i l e s y s t e m   ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_3_2712"
  },
  {
    "question": "What is Setting requests and limits for local ephemeral storage?",
    "answer": "Y o u   c a n   s p e c i f y   e p h e m e r a l - s t o r a g e   f o r   m a n a g i n g   l o c a l   e p h e m e r a l   s t o r a g e .   E a c h   c o n t a i n e r   o f   a   P o d   c a n   s p e c i f y   e i t h e r   o r   b o t h   o f   t h e   f o l l o w i n g :   s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . l i m i t s . e p h e m e r a l - s t o r a g e s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . r e q u e s t s . e p h e m e r a l - s t o r a g e   L i m i t s   a n d   r e q u e s t s   f o r   e p h e m e r a l - s t o r a g e   a r e   m e a s u r e d   i n   b y t e   q u a n t i t i e s .   Y o u   c a n   e x p r e s s   s t o r a g e   a s   a   p l a i n   i n t e g e r   o r   a s   a   f i x e d - p o i n t   n u m b e r   u s i n g   o n e   o f   t h e s e   s u f f i x e s :   E ,   P ,   T ,   G ,   M ,   k .   Y o u   c a n   a l s o   u s e   t h e   p o w e r - o f - t w o   e q u i v a l e n t s :   E i ,   P i ,   T i ,   G i ,   M i ,   K i .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   q u a n t i t i e s   a l l   r e p r e s e n t   r o u g h l y   t h e   s a m e   v a l u e :   1 2 8 9 7 4 8 4 8 1 2 9 e 6 1 2 9 M 1 2 3 M i   P a y   a t t e n t i o n   t o   t h e   c a s e   o f   t h e   s u f f i x e s .   I f   y o u   r e q u e s t   4 0 0 m   o f   e p h e m e r a l - s t o r a g e ,   t h i s   i s   a   r e q u e s t   f o r   0 . 4   b y t e s .   S o m e o n e   w h o   t y p e s   t h a t   p r o b a b l y   m e a n t   t o   a s k   f o r   4 0 0   m e b i b y t e s   ( 4 0 0 M i )   o r   4 0 0   m e g a b y t e s   ( 4 0 0 M ) .   I n   t h e   f o l l o w i n g   e x a m p l e ,   t h e   P o d   h a s   t w o   c o n t a i n e r s .   E a c h   c o n t a i n e r   h a s   a   r e q u e s t   o f   2 G i B   o f   l o c a l   e p h e m e r a l   s t o r a g e .   E a c h   c o n t a i n e r   h a s   a   l i m i t   o f   4 G i B   o f   l o c a l   e p h e m e r a l   s t ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_3_2713"
  },
  {
    "question": "What is How Pods with ephemeral-storage requests are scheduled?",
    "answer": "W h e n   y o u   c r e a t e   a   P o d ,   t h e   K u b e r n e t e s   s c h e d u l e r   s e l e c t s   a   n o d e   f o r   t h e   P o d   t o   r u n   o n .   E a c h   n o d e   h a s   a   m a x i m u m   a m o u n t   o f   l o c a l   e p h e m e r a l   s t o r a g e   i t   c a n   p r o v i d e   f o r   P o d s .   F o r   m o r e   i n f o r m a t i o n ,   s e e   N o d e   A l l o c a t a b l e .   T h e   s c h e d u l e r   e n s u r e s   t h a t   t h e   s u m   o f   t h e   r e s o u r c e   r e q u e s t s   o f   t h e   s c h e d u l e d   c o n t a i n e r s   i s   l e s s   t h a n   t h e   c a p a c i t y   o f   t h e   n o d e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_3_2714"
  },
  {
    "question": "What is Ephemeral storage consumption management?",
    "answer": "I f   t h e   k u b e l e t   i s   m a n a g i n g   l o c a l   e p h e m e r a l   s t o r a g e   a s   a   r e s o u r c e ,   t h e n   t h e   k u b e l e t   m e a s u r e s   s t o r a g e   u s e   i n :   e m p t y D i r   v o l u m e s ,   e x c e p t   t m p f s   e m p t y D i r   v o l u m e s d i r e c t o r i e s   h o l d i n g   n o d e - l e v e l   l o g s w r i t e a b l e   c o n t a i n e r   l a y e r s   I f   a   P o d   i s   u s i n g   m o r e   e p h e m e r a l   s t o r a g e   t h a n   y o u   a l l o w   i t   t o ,   t h e   k u b e l e t   s e t s   a n   e v i c t i o n   s i g n a l   t h a t   t r i g g e r s   P o d   e v i c t i o n .   F o r   c o n t a i n e r - l e v e l   i s o l a t i o n ,   i f   a   c o n t a i n e r ' s   w r i t a b l e   l a y e r   a n d   l o g   u s a g e   e x c e e d s   i t s   s t o r a g e   l i m i t ,   t h e   k u b e l e t   m a r k s   t h e   P o d   f o r   e v i c t i o n .   F o r   p o d - l e v e l   i s o l a t i o n   t h e   k u b e l e t   w o r k s   o u t   a n   o v e r a l l   P o d   s t o r a g e   l i m i t   b y   s u m m i n g   t h e   l i m i t s   f o r   t h e   c o n t a i n e r s   i n   t h a t   P o d .   I n   t h i s   c a s e ,   i f   t h e   s u m   o f   t h e   l o c a l   e p h e m e r a l   s t o r a g e   u s a g e   f r o m   a l l   c o n t a i n e r s   a n d   a l s o   t h e   P o d ' s   e m p t y D i r   v o l u m e s   e x c e e d s   t h e   o v e r a l l   P o d   s t o r a g e   l i m i t ,   t h e n   t h e   k u b e l e t   a l s o   m a r k s   t h e   P o d   f o r   e v i c t i o n .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_3_2715"
  },
  {
    "question": "What is Caution:?",
    "answer": "I f   t h e   k u b e l e t   i s   n o t   m e a s u r i n g   l o c a l   e p h e m e r a l   s t o r a g e ,   t h e n   a   P o d   t h a t   e x c e e d s   i t s   l o c a l   s t o r a g e   l i m i t   w i l l   n o t   b e   e v i c t e d   f o r   b r e a c h i n g   l o c a l   s t o r a g e   r e s o u r c e   l i m i t s .   H o w e v e r ,   i f   t h e   f i l e s y s t e m   s p a c e   f o r   w r i t e a b l e   c o n t a i n e r   l a y e r s ,   n o d e - l e v e l   l o g s ,   o r   e m p t y D i r   v o l u m e s   f a l l s   l o w ,   t h e   n o d e   t a i n t s   i t s e l f   a s   s h o r t   o n   l o c a l   s t o r a g e   a n d   t h i s   t a i n t   t r i g g e r s   e v i c t i o n   f o r   a n y   P o d s   t h a t   d o n ' t   s p e c i f i c a l l y   t o l e r a t e   t h e   t a i n t .   S e e   t h e   s u p p o r t e d   c o n f i g u r a t i o n s   f o r   e p h e m e r a l   l o c a l   s t o r a g e .   T h e   k u b e l e t   s u p p o r t s   d i f f e r e n t   w a y s   t o   m e a s u r e   P o d   s t o r a g e   u s e :   T h e   k u b e l e t   p e r f o r m s   r e g u l a r ,   s c h e d u l e d   c h e c k s   t h a t   s c a n   e a c h   e m p t y D i r   v o l u m e ,   c o n t a i n e r   l o g   d i r e c t o r y ,   a n d   w r i t e a b l e   c o n t a i n e r   l a y e r . T h e   s c a n   m e a s u r e s   h o w   m u c h   s p a c e   i s   u s e d . N o t e : I n   t h i s   m o d e ,   t h e   k u b e l e t   d o e s   n o t   t r a c k   o p e n   f i l e   d e s c r i p t o r s   f o r   d e l e t e d   f i l e s . I f   y o u   ( o r   a   c o n t a i n e r )   c r e a t e   a   f i l e   i n s i d e   a n   e m p t y D i r   v o l u m e ,   s o m e t h i n g   t h e n   o p e n s   t h a t   f i l e ,   a n d   y o u   d e l e t e   t h e   f i l e   w h i l e   i t   i s   s t i l l   o p e n ,   t h e n   t h e   i n o d e   f o r   t h e   d e l e t e d   f i l e   s t a y s   u n t i ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_4_2716"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   t h i s   m o d e ,   t h e   k u b e l e t   d o e s   n o t   t r a c k   o p e n   f i l e   d e s c r i p t o r s   f o r   d e l e t e d   f i l e s .   I f   y o u   ( o r   a   c o n t a i n e r )   c r e a t e   a   f i l e   i n s i d e   a n   e m p t y D i r   v o l u m e ,   s o m e t h i n g   t h e n   o p e n s   t h a t   f i l e ,   a n d   y o u   d e l e t e   t h e   f i l e   w h i l e   i t   i s   s t i l l   o p e n ,   t h e n   t h e   i n o d e   f o r   t h e   d e l e t e d   f i l e   s t a y s   u n t i l   y o u   c l o s e   t h a t   f i l e   b u t   t h e   k u b e l e t   d o e s   n o t   c a t e g o r i z e   t h e   s p a c e   a s   i n   u s e .   F E A T U R E   S T A T E :   K u b e r n e t e s   v 1 . 3 1   [ b e t a ]   ( e n a b l e d   b y   d e f a u l t :   f a l s e ) P r o j e c t   q u o t a s   a r e   a n   o p e r a t i n g - s y s t e m   l e v e l   f e a t u r e   f o r   m a n a g i n g   s t o r a g e   u s e   o n   f i l e s y s t e m s .   W i t h   K u b e r n e t e s ,   y o u   c a n   e n a b l e   p r o j e c t   q u o t a s   f o r   m o n i t o r i n g   s t o r a g e   u s e .   M a k e   s u r e   t h a t   t h e   f i l e s y s t e m   b a c k i n g   t h e   e m p t y D i r   v o l u m e s ,   o n   t h e   n o d e ,   p r o v i d e s   p r o j e c t   q u o t a   s u p p o r t .   F o r   e x a m p l e ,   X F S   a n d   e x t 4 f s   o f f e r   p r o j e c t   q u o t a s . N o t e : P r o j e c t   q u o t a s   l e t   y o u   m o n i t o r   s t o r a g e   u s e ;   t h e y   d o   n o t   e n f o r c e   l i m i t s . K u b e r n e t e s   u s e s   p r o j e c t   I D s   s t a r t i n g   f r o m   1 0 4 8 5 7 6 .   T h e   I D s   i n   u s e   a r e   r e g i s t e r e d   i n   / e t c / p r o j e c t s   a n d   / e t c / p r o j i d .   I f   p r o j e c t   I D s   i n   t h i s   r a n g e   a r e   u s e d   f o r   o t h e r   p u r p o s e s   o n   t h e   s y s t ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_4_2717"
  },
  {
    "question": "What is Note:?",
    "answer": "K u b e r n e t e s   u s e s   p r o j e c t   I D s   s t a r t i n g   f r o m   1 0 4 8 5 7 6 .   T h e   I D s   i n   u s e   a r e   r e g i s t e r e d   i n   / e t c / p r o j e c t s   a n d   / e t c / p r o j i d .   I f   p r o j e c t   I D s   i n   t h i s   r a n g e   a r e   u s e d   f o r   o t h e r   p u r p o s e s   o n   t h e   s y s t e m ,   t h o s e   p r o j e c t   I D s   m u s t   b e   r e g i s t e r e d   i n   / e t c / p r o j e c t s   a n d   / e t c / p r o j i d   s o   t h a t   K u b e r n e t e s   d o e s   n o t   u s e   t h e m .   Q u o t a s   a r e   f a s t e r   a n d   m o r e   a c c u r a t e   t h a n   d i r e c t o r y   s c a n n i n g .   W h e n   a   d i r e c t o r y   i s   a s s i g n e d   t o   a   p r o j e c t ,   a l l   f i l e s   c r e a t e d   u n d e r   a   d i r e c t o r y   a r e   c r e a t e d   i n   t h a t   p r o j e c t ,   a n d   t h e   k e r n e l   m e r e l y   h a s   t o   k e e p   t r a c k   o f   h o w   m a n y   b l o c k s   a r e   i n   u s e   b y   f i l e s   i n   t h a t   p r o j e c t .   I f   a   f i l e   i s   c r e a t e d   a n d   d e l e t e d ,   b u t   h a s   a n   o p e n   f i l e   d e s c r i p t o r ,   i t   c o n t i n u e s   t o   c o n s u m e   s p a c e .   Q u o t a   t r a c k i n g   r e c o r d s   t h a t   s p a c e   a c c u r a t e l y   w h e r e a s   d i r e c t o r y   s c a n s   o v e r l o o k   t h e   s t o r a g e   u s e d   b y   d e l e t e d   f i l e s .   T o   u s e   q u o t a s   t o   t r a c k   a   p o d ' s   r e s o u r c e   u s a g e ,   t h e   p o d   m u s t   b e   i n   a   u s e r   n a m e s p a c e .   W i t h i n   u s e r   n a m e s p a c e s ,   t h e   k e r n e l   r e s t r i c t s   c h a n g e s   t o   p r o j e c t I D s   o n   t h e   f i l e s y s t e m ,   e n s u r i n g   t h e   r e l i a b i l i t y   o f   s t o r a g e   m e t r i c s   c a l c u l a t e d   b y   q ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_4_2718"
  },
  {
    "question": "What is Extended resources?",
    "answer": "E x t e n d e d   r e s o u r c e s   a r e   f u l l y - q u a l i f i e d   r e s o u r c e   n a m e s   o u t s i d e   t h e   k u b e r n e t e s . i o   d o m a i n .   T h e y   a l l o w   c l u s t e r   o p e r a t o r s   t o   a d v e r t i s e   a n d   u s e r s   t o   c o n s u m e   t h e   n o n - K u b e r n e t e s - b u i l t - i n   r e s o u r c e s .   T h e r e   a r e   t w o   s t e p s   r e q u i r e d   t o   u s e   E x t e n d e d   R e s o u r c e s .   F i r s t ,   t h e   c l u s t e r   o p e r a t o r   m u s t   a d v e r t i s e   a n   E x t e n d e d   R e s o u r c e .   S e c o n d ,   u s e r s   m u s t   r e q u e s t   t h e   E x t e n d e d   R e s o u r c e   i n   P o d s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_2_2719"
  },
  {
    "question": "What is Node-level extended resources?",
    "answer": "N o d e - l e v e l   e x t e n d e d   r e s o u r c e s   a r e   t i e d   t o   n o d e s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_4_2720"
  },
  {
    "question": "What is Device plugin managed resources?",
    "answer": "S e e   D e v i c e   P l u g i n   f o r   h o w   t o   a d v e r t i s e   d e v i c e   p l u g i n   m a n a g e d   r e s o u r c e s   o n   e a c h   n o d e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_5_2721"
  },
  {
    "question": "What is Other resources?",
    "answer": "T o   a d v e r t i s e   a   n e w   n o d e - l e v e l   e x t e n d e d   r e s o u r c e ,   t h e   c l u s t e r   o p e r a t o r   c a n   s u b m i t   a   P A T C H   H T T P   r e q u e s t   t o   t h e   A P I   s e r v e r   t o   s p e c i f y   t h e   a v a i l a b l e   q u a n t i t y   i n   t h e   s t a t u s . c a p a c i t y   f o r   a   n o d e   i n   t h e   c l u s t e r .   A f t e r   t h i s   o p e r a t i o n ,   t h e   n o d e ' s   s t a t u s . c a p a c i t y   w i l l   i n c l u d e   a   n e w   r e s o u r c e .   T h e   s t a t u s . a l l o c a t a b l e   f i e l d   i s   u p d a t e d   a u t o m a t i c a l l y   w i t h   t h e   n e w   r e s o u r c e   a s y n c h r o n o u s l y   b y   t h e   k u b e l e t .   B e c a u s e   t h e   s c h e d u l e r   u s e s   t h e   n o d e ' s   s t a t u s . a l l o c a t a b l e   v a l u e   w h e n   e v a l u a t i n g   P o d   f i t n e s s ,   t h e   s c h e d u l e r   o n l y   t a k e s   a c c o u n t   o f   t h e   n e w   v a l u e   a f t e r   t h a t   a s y n c h r o n o u s   u p d a t e .   T h e r e   m a y   b e   a   s h o r t   d e l a y   b e t w e e n   p a t c h i n g   t h e   n o d e   c a p a c i t y   w i t h   a   n e w   r e s o u r c e   a n d   t h e   t i m e   w h e n   t h e   f i r s t   P o d   t h a t   r e q u e s t s   t h e   r e s o u r c e   c a n   b e   s c h e d u l e d   o n   t h a t   n o d e .   E x a m p l e :   H e r e   i s   a n   e x a m p l e   s h o w i n g   h o w   t o   u s e   c u r l   t o   f o r m   a n   H T T P   r e q u e s t   t h a t   a d v e r t i s e s   f i v e   \" e x a m p l e . c o m / f o o \"   r e s o u r c e s   o n   n o d e   k 8 s - n o d e - 1   w h o s e   m a s t e r   i s   k 8 s - m a s t e r .   c u r l   - - h e a d e r   \" C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n - p a t c h + j s o n \"   \\   - - r e q u e s t   P A T C H   \\   - - d a t a   ' [ { \" o p \" : ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_5_2722"
  },
  {
    "question": "What is Cluster-level extended resources?",
    "answer": "C l u s t e r - l e v e l   e x t e n d e d   r e s o u r c e s   a r e   n o t   t i e d   t o   n o d e s .   T h e y   a r e   u s u a l l y   m a n a g e d   b y   s c h e d u l e r   e x t e n d e r s ,   w h i c h   h a n d l e   t h e   r e s o u r c e   c o n s u m p t i o n   a n d   r e s o u r c e   q u o t a .   Y o u   c a n   s p e c i f y   t h e   e x t e n d e d   r e s o u r c e s   t h a t   a r e   h a n d l e d   b y   s c h e d u l e r   e x t e n d e r s   i n   s c h e d u l e r   c o n f i g u r a t i o n   E x a m p l e :   T h e   f o l l o w i n g   c o n f i g u r a t i o n   f o r   a   s c h e d u l e r   p o l i c y   i n d i c a t e s   t h a t   t h e   c l u s t e r - l e v e l   e x t e n d e d   r e s o u r c e   \" e x a m p l e . c o m / f o o \"   i s   h a n d l e d   b y   t h e   s c h e d u l e r   e x t e n d e r .   T h e   s c h e d u l e r   s e n d s   a   P o d   t o   t h e   s c h e d u l e r   e x t e n d e r   o n l y   i f   t h e   P o d   r e q u e s t s   \" e x a m p l e . c o m / f o o \" . T h e   i g n o r e d B y S c h e d u l e r   f i e l d   s p e c i f i e s   t h a t   t h e   s c h e d u l e r   d o e s   n o t   c h e c k   t h e   \" e x a m p l e . c o m / f o o \"   r e s o u r c e   i n   i t s   P o d F i t s R e s o u r c e s   p r e d i c a t e .   {   \" k i n d \" :   \" P o l i c y \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" e x t e n d e r s \" :   [   {   \" u r l P r e f i x \" : \" < e x t e n d e r - e n d p o i n t > \" ,   \" b i n d V e r b \" :   \" b i n d \" ,   \" m a n a g e d R e s o u r c e s \" :   [   {   \" n a m e \" :   \" e x a m p l e . c o m / f o o \" ,   \" i g n o r e d B y S c h e d u l e r \" :   t r u e   }   ]   }   ]   }",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_4_2723"
  },
  {
    "question": "What is Extended resources allocation by DRA?",
    "answer": "E x t e n d e d   r e s o u r c e s   a l l o c a t i o n   b y   D R A   a l l o w s   c l u s t e r   a d m i n i s t r a t o r s   t o   s p e c i f y   a n   e x t e n d e d R e s o u r c e N a m e   i n   D e v i c e C l a s s ,   t h e n   t h e   d e v i c e s   m a t c h i n g   t h e   D e v i c e C l a s s   c a n   b e   r e q u e s t e d   f r o m   a   p o d ' s   e x t e n d e d   r e s o u r c e   r e q u e s t s .   R e a d   m o r e   a b o u t   E x t e n d e d   R e s o u r c e   a l l o c a t i o n   b y   D R A .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_4_2724"
  },
  {
    "question": "What is Consuming extended resources?",
    "answer": "U s e r s   c a n   c o n s u m e   e x t e n d e d   r e s o u r c e s   i n   P o d   s p e c s   l i k e   C P U   a n d   m e m o r y .   T h e   s c h e d u l e r   t a k e s   c a r e   o f   t h e   r e s o u r c e   a c c o u n t i n g   s o   t h a t   n o   m o r e   t h a n   t h e   a v a i l a b l e   a m o u n t   i s   s i m u l t a n e o u s l y   a l l o c a t e d   t o   P o d s .   T h e   A P I   s e r v e r   r e s t r i c t s   q u a n t i t i e s   o f   e x t e n d e d   r e s o u r c e s   t o   w h o l e   n u m b e r s .   E x a m p l e s   o f   v a l i d   q u a n t i t i e s   a r e   3 ,   3 0 0 0 m   a n d   3 K i .   E x a m p l e s   o f   i n v a l i d   q u a n t i t i e s   a r e   0 . 5   a n d   1 5 0 0 m   ( b e c a u s e   1 5 0 0 m   w o u l d   r e s u l t   i n   1 . 5 ) .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_3_2725"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   c o n s u m e   a n   e x t e n d e d   r e s o u r c e   i n   a   P o d ,   i n c l u d e   t h e   r e s o u r c e   n a m e   a s   a   k e y   i n   t h e   s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . l i m i t s   m a p   i n   t h e   c o n t a i n e r   s p e c .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_4_2726"
  },
  {
    "question": "What is Note:?",
    "answer": "A   P o d   i s   s c h e d u l e d   o n l y   i f   a l l   o f   t h e   r e s o u r c e   r e q u e s t s   a r e   s a t i s f i e d ,   i n c l u d i n g   C P U ,   m e m o r y   a n d   a n y   e x t e n d e d   r e s o u r c e s .   T h e   P o d   r e m a i n s   i n   t h e   P E N D I N G   s t a t e   a s   l o n g   a s   t h e   r e s o u r c e   r e q u e s t   c a n n o t   b e   s a t i s f i e d .   E x a m p l e :   T h e   P o d   b e l o w   r e q u e s t s   2   C P U s   a n d   1   \" e x a m p l e . c o m / f o o \"   ( a n   e x t e n d e d   r e s o u r c e ) .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   m y - c o n t a i n e r   i m a g e :   m y i m a g e   r e s o u r c e s :   r e q u e s t s :   c p u :   2   e x a m p l e . c o m / f o o :   1   l i m i t s :   e x a m p l e . c o m / f o o :   1",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_4_2727"
  },
  {
    "question": "What is PID limiting?",
    "answer": "P r o c e s s   I D   ( P I D )   l i m i t s   a l l o w   f o r   t h e   c o n f i g u r a t i o n   o f   a   k u b e l e t   t o   l i m i t   t h e   n u m b e r   o f   P I D s   t h a t   a   g i v e n   P o d   c a n   c o n s u m e .   S e e   P I D   L i m i t i n g   f o r   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_2_2728"
  },
  {
    "question": "What is My Pods are pending with event message FailedScheduling?",
    "answer": "I f   t h e   s c h e d u l e r   c a n n o t   f i n d   a n y   n o d e   w h e r e   a   P o d   c a n   f i t ,   t h e   P o d   r e m a i n s   u n s c h e d u l e d   u n t i l   a   p l a c e   c a n   b e   f o u n d .   A n   E v e n t   i s   p r o d u c e d   e a c h   t i m e   t h e   s c h e d u l e r   f a i l s   t o   f i n d   a   p l a c e   f o r   t h e   P o d .   Y o u   c a n   u s e   k u b e c t l   t o   v i e w   t h e   e v e n t s   f o r   a   P o d ;   f o r   e x a m p l e :   k u b e c t l   d e s c r i b e   p o d   f r o n t e n d   |   g r e p   - A   9 9 9 9 9 9 9 9 9 9   E v e n t s   E v e n t s :   T y p e   R e a s o n   A g e   F r o m   M e s s a g e   - - - -   - - - - - -   - - - -   - - - -   - - - - - - -   W a r n i n g   F a i l e d S c h e d u l i n g   2 3 s   d e f a u l t - s c h e d u l e r   0 / 4 2   n o d e s   a v a i l a b l e :   i n s u f f i c i e n t   c p u   I n   t h e   p r e c e d i n g   e x a m p l e ,   t h e   P o d   n a m e d   \" f r o n t e n d \"   f a i l s   t o   b e   s c h e d u l e d   d u e   t o   i n s u f f i c i e n t   C P U   r e s o u r c e   o n   a n y   n o d e .   S i m i l a r   e r r o r   m e s s a g e s   c a n   a l s o   s u g g e s t   f a i l u r e   d u e   t o   i n s u f f i c i e n t   m e m o r y   ( P o d E x c e e d s F r e e M e m o r y ) .   I n   g e n e r a l ,   i f   a   P o d   i s   p e n d i n g   w i t h   a   m e s s a g e   o f   t h i s   t y p e ,   t h e r e   a r e   s e v e r a l   t h i n g s   t o   t r y :   A d d   m o r e   n o d e s   t o   t h e   c l u s t e r . T e r m i n a t e   u n n e e d e d   P o d s   t o   m a k e   r o o m   f o r   p e n d i n g   P o d s . C h e c k   t h a t   t h e   P o d   i s   n o t   l a r g e r   t h a n   a l l   t h e   n o d e s .   F o r   e x a m p l e ,   i f   a l l   t h e   n o d e s   h a v e   a   c a p a c i t y   o f   c p u :   1 ,   t h e n   a   P o d   w i t h   a   r e q u e s t ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_3_2729"
  },
  {
    "question": "What is My container is terminated?",
    "answer": "Y o u r   c o n t a i n e r   m i g h t   g e t   t e r m i n a t e d   b e c a u s e   i t   i s   r e s o u r c e - s t a r v e d .   T o   c h e c k   w h e t h e r   a   c o n t a i n e r   i s   b e i n g   k i l l e d   b e c a u s e   i t   i s   h i t t i n g   a   r e s o u r c e   l i m i t ,   c a l l   k u b e c t l   d e s c r i b e   p o d   o n   t h e   P o d   o f   i n t e r e s t :   k u b e c t l   d e s c r i b e   p o d   s i m m e m l e a k - h r a 9 9   T h e   o u t p u t   i s   s i m i l a r   t o :   N a m e :   s i m m e m l e a k - h r a 9 9   N a m e s p a c e :   d e f a u l t   I m a g e ( s ) :   s a a d a l i / s i m m e m l e a k   N o d e :   k u b e r n e t e s - n o d e - t f 0 f / 1 0 . 2 4 0 . 2 1 6 . 6 6   L a b e l s :   n a m e = s i m m e m l e a k   S t a t u s :   R u n n i n g   R e a s o n :   M e s s a g e :   I P :   1 0 . 2 4 4 . 2 . 7 5   C o n t a i n e r s :   s i m m e m l e a k :   I m a g e :   s a a d a l i / s i m m e m l e a k : l a t e s t   L i m i t s :   c p u :   1 0 0 m   m e m o r y :   5 0 M i   S t a t e :   R u n n i n g   S t a r t e d :   T u e ,   0 7   J u l   2 0 1 9   1 2 : 5 4 : 4 1   - 0 7 0 0   L a s t   S t a t e :   T e r m i n a t e d   R e a s o n :   O O M K i l l e d   E x i t   C o d e :   1 3 7   S t a r t e d :   F r i ,   0 7   J u l   2 0 1 9   1 2 : 5 4 : 3 0   - 0 7 0 0   F i n i s h e d :   F r i ,   0 7   J u l   2 0 1 9   1 2 : 5 4 : 3 3   - 0 7 0 0   R e a d y :   F a l s e   R e s t a r t   C o u n t :   5   C o n d i t i o n s :   T y p e   S t a t u s   R e a d y   F a l s e   E v e n t s :   T y p e   R e a s o n   A g e   F r o m   M e s s a g e   - - - -   - - - - - -   - - - -   - - - -   - - - - - - -   N o r m a l   S c h e d u l e d   4 2 s   d e f a u l t - s c h e d u l e r   S u c c e s s f u l l y   a s s i g n e d   s i m m e m l e a k - h r a 9 9   t o   k u b e r n e t e s - n o d e - t f 0 f   N o r m a l   P u l l e d   4 1 s   k u b e l e t   C o n t ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_3_2730"
  },
  {
    "question": "What is What's next?",
    "answer": "G e t   h a n d s - o n   e x p e r i e n c e   a s s i g n i n g   M e m o r y   r e s o u r c e s   t o   c o n t a i n e r s   a n d   P o d s . G e t   h a n d s - o n   e x p e r i e n c e   a s s i g n i n g   C P U   r e s o u r c e s   t o   c o n t a i n e r s   a n d   P o d s . R e a d   h o w   t h e   A P I   r e f e r e n c e   d e f i n e s   a   c o n t a i n e r   a n d   i t s   r e s o u r c e   r e q u i r e m e n t s R e a d   a b o u t   p r o j e c t   q u o t a s   i n   X F S R e a d   m o r e   a b o u t   t h e   k u b e - s c h e d u l e r   c o n f i g u r a t i o n   r e f e r e n c e   ( v 1 ) R e a d   m o r e   a b o u t   Q u a l i t y   o f   S e r v i c e   c l a s s e s   f o r   P o d s R e a d   m o r e   a b o u t   E x t e n d e d   R e s o u r c e   a l l o c a t i o n   b y   D R A",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
    "id": "k8s_00151_section_2_2731"
  },
  {
    "question": "What is Use Kube-router for NetworkPolicy?",
    "answer": "Use Kube-router for NetworkPolicyThis page shows how to use Kube-router for NetworkPolicy.Before you beginYou need to have a Kubernetes cluster running. If you do not already have a cluster, you can create one by using any of the cluster installers like Kops, Bootkube, Kubeadm etc.Installing Kube-router addonThe Kube-router Addon comes with a Network Policy Controller that watches Kubernetes API server for any NetworkPolicy and pods updated and configures iptables rules and ipsets to allow or block traffic as directed by the policies. Please follow the trying Kube-router with cluster installers guide to install Kube-router addon.What's nextOnce you have installed the Kube-router addon, you can follow the Declare Network Policy to try out Kubernetes NetworkPolicy.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/kube-router-network-policy/",
    "id": "k8s_00152_qa_2732"
  },
  {
    "question": "How does Use Kube-router for NetworkPolicy work?",
    "answer": "Use Kube-router for NetworkPolicyThis page shows how to use Kube-router for NetworkPolicy.Before you beginYou need to have a Kubernetes cluster running. If you do not already have a cluster, you can create one by using any of the cluster installers like Kops, Bootkube, Kubeadm etc.Installing Kube-router addonThe Kube-router Addon comes with a Network Policy Controller that watches Kubernetes API server for any NetworkPolicy and pods updated and configures iptables rules and ipsets to allow or block traffic as directed by the policies. Please follow the trying Kube-router with cluster installers guide to install Kube-router addon.What's nextOnce you have installed the Kube-router addon, you can follow the Declare Network Policy to try out Kubernetes NetworkPolicy.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/kube-router-network-policy/",
    "id": "k8s_00152_qa_2733"
  },
  {
    "question": "When would you use Use Kube-router for NetworkPolicy?",
    "answer": "Use Kube-router for NetworkPolicyThis page shows how to use Kube-router for NetworkPolicy.Before you beginYou need to have a Kubernetes cluster running. If you do not already have a cluster, you can create one by using any of the cluster installers like Kops, Bootkube, Kubeadm etc.Installing Kube-router addonThe Kube-router Addon comes with a Network Policy Controller that watches Kubernetes API server for any NetworkPolicy and pods updated and configures iptables rules and ipsets to allow or block traffic as directed by the policies. Please follow the trying Kube-router with cluster installers guide to install Kube-router addon.What's nextOnce you have installed the Kube-router addon, you can follow the Declare Network Policy to try out Kubernetes NetworkPolicy.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/kube-router-network-policy/",
    "id": "k8s_00152_qa_2734"
  },
  {
    "question": "What are the benefits of Use Kube-router for NetworkPolicy?",
    "answer": "Use Kube-router for NetworkPolicyThis page shows how to use Kube-router for NetworkPolicy.Before you beginYou need to have a Kubernetes cluster running. If you do not already have a cluster, you can create one by using any of the cluster installers like Kops, Bootkube, Kubeadm etc.Installing Kube-router addonThe Kube-router Addon comes with a Network Policy Controller that watches Kubernetes API server for any NetworkPolicy and pods updated and configures iptables rules and ipsets to allow or block traffic as directed by the policies. Please follow the trying Kube-router with cluster installers guide to install Kube-router addon.What's nextOnce you have installed the Kube-router addon, you can follow the Declare Network Policy to try out Kubernetes NetworkPolicy.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/kube-router-network-policy/",
    "id": "k8s_00152_qa_2735"
  },
  {
    "question": "What is Use Kube-router for NetworkPolicy?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   K u b e - r o u t e r   f o r   N e t w o r k P o l i c y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/kube-router-network-policy/",
    "id": "k8s_00152_section_1_2736"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r   r u n n i n g .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   a n y   o f   t h e   c l u s t e r   i n s t a l l e r s   l i k e   K o p s ,   B o o t k u b e ,   K u b e a d m   e t c .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/kube-router-network-policy/",
    "id": "k8s_00152_section_2_2737"
  },
  {
    "question": "What is Installing Kube-router addon?",
    "answer": "T h e   K u b e - r o u t e r   A d d o n   c o m e s   w i t h   a   N e t w o r k   P o l i c y   C o n t r o l l e r   t h a t   w a t c h e s   K u b e r n e t e s   A P I   s e r v e r   f o r   a n y   N e t w o r k P o l i c y   a n d   p o d s   u p d a t e d   a n d   c o n f i g u r e s   i p t a b l e s   r u l e s   a n d   i p s e t s   t o   a l l o w   o r   b l o c k   t r a f f i c   a s   d i r e c t e d   b y   t h e   p o l i c i e s .   P l e a s e   f o l l o w   t h e   t r y i n g   K u b e - r o u t e r   w i t h   c l u s t e r   i n s t a l l e r s   g u i d e   t o   i n s t a l l   K u b e - r o u t e r   a d d o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/kube-router-network-policy/",
    "id": "k8s_00152_section_2_2738"
  },
  {
    "question": "What is What's next?",
    "answer": "O n c e   y o u   h a v e   i n s t a l l e d   t h e   K u b e - r o u t e r   a d d o n ,   y o u   c a n   f o l l o w   t h e   D e c l a r e   N e t w o r k   P o l i c y   t o   t r y   o u t   K u b e r n e t e s   N e t w o r k P o l i c y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/kube-router-network-policy/",
    "id": "k8s_00152_section_2_2739"
  },
  {
    "question": "What is Configure Minimum and Maximum CPU Constraints for a Namespace?",
    "answer": "Configure Minimum and Maximum CPU Constraints for a NamespaceDefine a range of valid CPU resource limits for a namespace, so that every new Pod in that namespace falls within the range you configure.This page shows how to set minimum and maximum values for the CPU resources used by containers and Pods in a namespace. You specify minimum and maximum CPU values in a LimitRange object. If a Pod does not meet the constraints imposed by the LimitRange, it cannot be created in the namespace.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou must have access to create namespaces in your cluster.Each node in your cluster must have at least 1.0 CPU available for Pods. See meaning of CPU to learn what Kubernetes means by “1 CPU”.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace constraints-cpu-example Create a LimitRange and a PodHere's a manifest for an example LimitRange:admin/resource/cpu-constraints.yaml apiVersion: v1 kind: LimitRange metadata: name: cpu-min-max-demo-lr spec: limits: - max: cpu: \"800m\" min: cpu: \"200m\" type: Container Create the LimitRange:kubectl apply -f https://k8s.io/examples/admin/resource/cpu-constraints.yaml --namespace=constraints-cpu-example View detailed information about the LimitRange:kubectl get limitrange cpu-min-max-demo-lr --output=yaml --namespace=constraints-cpu-example The output shows the minimum and maximum CPU constraints as expected. But notice that even though you didn't specify default values in the configuration file for the LimitRange, they were created automatically.limits: - default: cpu: 800m defaultRequest: cpu: 800m max: cpu: 800m min: cpu: 200m type: Container Now whenever you create a Pod in the constraints-cpu-example namespace (or some other client of the Kubernetes API creates an equivalent Pod), Kubernetes performs these steps:If any container in that Pod does not specify its own CPU request and limit, the control plane assigns the default CPU request and limit to that container.Verify that every container in that Pod specifies a CPU request that is greater than or equal to 200 millicpu.Verify that every container in that Pod specifies a CPU limit that is less than or equal to 800 millicpu.Note:When creating a LimitRange object, you can specify limits on huge-pages or GPUs as well. However, when both default and defaultRequest are specified on these resources, the two values must be the same.Here's a manifest for a Pod that has one container. The container manifest specifies a CPU request of 500 millicpu and a",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-constraint-namespace/",
    "id": "k8s_00153_qa_2740"
  },
  {
    "question": "How does Configure Minimum and Maximum CPU Constraints for a Namespace work?",
    "answer": "Configure Minimum and Maximum CPU Constraints for a NamespaceDefine a range of valid CPU resource limits for a namespace, so that every new Pod in that namespace falls within the range you configure.This page shows how to set minimum and maximum values for the CPU resources used by containers and Pods in a namespace. You specify minimum and maximum CPU values in a LimitRange object. If a Pod does not meet the constraints imposed by the LimitRange, it cannot be created in the namespace.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou must have access to create namespaces in your cluster.Each node in your cluster must have at least 1.0 CPU available for Pods. See meaning of CPU to learn what Kubernetes means by “1 CPU”.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace constraints-cpu-example Create a LimitRange and a PodHere's a manifest for an example LimitRange:admin/resource/cpu-constraints.yaml apiVersion: v1 kind: LimitRange metadata: name: cpu-min-max-demo-lr spec: limits: - max: cpu: \"800m\" min: cpu: \"200m\" type: Container Create the LimitRange:kubectl apply -f https://k8s.io/examples/admin/resource/cpu-constraints.yaml --namespace=constraints-cpu-example View detailed information about the LimitRange:kubectl get limitrange cpu-min-max-demo-lr --output=yaml --namespace=constraints-cpu-example The output shows the minimum and maximum CPU constraints as expected. But notice that even though you didn't specify default values in the configuration file for the LimitRange, they were created automatically.limits: - default: cpu: 800m defaultRequest: cpu: 800m max: cpu: 800m min: cpu: 200m type: Container Now whenever you create a Pod in the constraints-cpu-example namespace (or some other client of the Kubernetes API creates an equivalent Pod), Kubernetes performs these steps:If any container in that Pod does not specify its own CPU request and limit, the control plane assigns the default CPU request and limit to that container.Verify that every container in that Pod specifies a CPU request that is greater than or equal to 200 millicpu.Verify that every container in that Pod specifies a CPU limit that is less than or equal to 800 millicpu.Note:When creating a LimitRange object, you can specify limits on huge-pages or GPUs as well. However, when both default and defaultRequest are specified on these resources, the two values must be the same.Here's a manifest for a Pod that has one container. The container manifest specifies a CPU request of 500 millicpu and a",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-constraint-namespace/",
    "id": "k8s_00153_qa_2741"
  },
  {
    "question": "When would you use Configure Minimum and Maximum CPU Constraints for a Namespace?",
    "answer": "Configure Minimum and Maximum CPU Constraints for a NamespaceDefine a range of valid CPU resource limits for a namespace, so that every new Pod in that namespace falls within the range you configure.This page shows how to set minimum and maximum values for the CPU resources used by containers and Pods in a namespace. You specify minimum and maximum CPU values in a LimitRange object. If a Pod does not meet the constraints imposed by the LimitRange, it cannot be created in the namespace.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou must have access to create namespaces in your cluster.Each node in your cluster must have at least 1.0 CPU available for Pods. See meaning of CPU to learn what Kubernetes means by “1 CPU”.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace constraints-cpu-example Create a LimitRange and a PodHere's a manifest for an example LimitRange:admin/resource/cpu-constraints.yaml apiVersion: v1 kind: LimitRange metadata: name: cpu-min-max-demo-lr spec: limits: - max: cpu: \"800m\" min: cpu: \"200m\" type: Container Create the LimitRange:kubectl apply -f https://k8s.io/examples/admin/resource/cpu-constraints.yaml --namespace=constraints-cpu-example View detailed information about the LimitRange:kubectl get limitrange cpu-min-max-demo-lr --output=yaml --namespace=constraints-cpu-example The output shows the minimum and maximum CPU constraints as expected. But notice that even though you didn't specify default values in the configuration file for the LimitRange, they were created automatically.limits: - default: cpu: 800m defaultRequest: cpu: 800m max: cpu: 800m min: cpu: 200m type: Container Now whenever you create a Pod in the constraints-cpu-example namespace (or some other client of the Kubernetes API creates an equivalent Pod), Kubernetes performs these steps:If any container in that Pod does not specify its own CPU request and limit, the control plane assigns the default CPU request and limit to that container.Verify that every container in that Pod specifies a CPU request that is greater than or equal to 200 millicpu.Verify that every container in that Pod specifies a CPU limit that is less than or equal to 800 millicpu.Note:When creating a LimitRange object, you can specify limits on huge-pages or GPUs as well. However, when both default and defaultRequest are specified on these resources, the two values must be the same.Here's a manifest for a Pod that has one container. The container manifest specifies a CPU request of 500 millicpu and a",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-constraint-namespace/",
    "id": "k8s_00153_qa_2742"
  },
  {
    "question": "What are the benefits of Configure Minimum and Maximum CPU Constraints for a Namespace?",
    "answer": "Configure Minimum and Maximum CPU Constraints for a NamespaceDefine a range of valid CPU resource limits for a namespace, so that every new Pod in that namespace falls within the range you configure.This page shows how to set minimum and maximum values for the CPU resources used by containers and Pods in a namespace. You specify minimum and maximum CPU values in a LimitRange object. If a Pod does not meet the constraints imposed by the LimitRange, it cannot be created in the namespace.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou must have access to create namespaces in your cluster.Each node in your cluster must have at least 1.0 CPU available for Pods. See meaning of CPU to learn what Kubernetes means by “1 CPU”.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace constraints-cpu-example Create a LimitRange and a PodHere's a manifest for an example LimitRange:admin/resource/cpu-constraints.yaml apiVersion: v1 kind: LimitRange metadata: name: cpu-min-max-demo-lr spec: limits: - max: cpu: \"800m\" min: cpu: \"200m\" type: Container Create the LimitRange:kubectl apply -f https://k8s.io/examples/admin/resource/cpu-constraints.yaml --namespace=constraints-cpu-example View detailed information about the LimitRange:kubectl get limitrange cpu-min-max-demo-lr --output=yaml --namespace=constraints-cpu-example The output shows the minimum and maximum CPU constraints as expected. But notice that even though you didn't specify default values in the configuration file for the LimitRange, they were created automatically.limits: - default: cpu: 800m defaultRequest: cpu: 800m max: cpu: 800m min: cpu: 200m type: Container Now whenever you create a Pod in the constraints-cpu-example namespace (or some other client of the Kubernetes API creates an equivalent Pod), Kubernetes performs these steps:If any container in that Pod does not specify its own CPU request and limit, the control plane assigns the default CPU request and limit to that container.Verify that every container in that Pod specifies a CPU request that is greater than or equal to 200 millicpu.Verify that every container in that Pod specifies a CPU limit that is less than or equal to 800 millicpu.Note:When creating a LimitRange object, you can specify limits on huge-pages or GPUs as well. However, when both default and defaultRequest are specified on these resources, the two values must be the same.Here's a manifest for a Pod that has one container. The container manifest specifies a CPU request of 500 millicpu and a",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-constraint-namespace/",
    "id": "k8s_00153_qa_2743"
  },
  {
    "question": "What is Configure Minimum and Maximum CPU Constraints for a Namespace?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   s e t   m i n i m u m   a n d   m a x i m u m   v a l u e s   f o r   t h e   C P U   r e s o u r c e s   u s e d   b y   c o n t a i n e r s   a n d   P o d s   i n   a   n a m e s p a c e .   Y o u   s p e c i f y   m i n i m u m   a n d   m a x i m u m   C P U   v a l u e s   i n   a   L i m i t R a n g e   o b j e c t .   I f   a   P o d   d o e s   n o t   m e e t   t h e   c o n s t r a i n t s   i m p o s e d   b y   t h e   L i m i t R a n g e ,   i t   c a n n o t   b e   c r e a t e d   i n   t h e   n a m e s p a c e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-constraint-namespace/",
    "id": "k8s_00153_section_1_2744"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   m u s t   h a v e   a c c e s s   t o   c r e a t e   n a m e s p a c e s   i n   y o u r   c l u s t e r .   E a c h   n o d e   i n   y o u r   c l u s t e r   m u s t   h a v e   a t   l e a s t   1 . 0   C P U   a v a i l a b l e   f o r   P o d s .   S e e   m e a n i n g   o f   C P U   t o   l e a r n   w h a t   K u b e r n e t e s   m e a n s   b y   “ 1   C P U ” .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-constraint-namespace/",
    "id": "k8s_00153_section_2_2745"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   n a m e s p a c e   s o   t h a t   t h e   r e s o u r c e s   y o u   c r e a t e   i n   t h i s   e x e r c i s e   a r e   i s o l a t e d   f r o m   t h e   r e s t   o f   y o u r   c l u s t e r .   k u b e c t l   c r e a t e   n a m e s p a c e   c o n s t r a i n t s - c p u - e x a m p l e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-constraint-namespace/",
    "id": "k8s_00153_section_2_2746"
  },
  {
    "question": "What is Create a LimitRange and a Pod?",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a n   e x a m p l e   L i m i t R a n g e :   a p i V e r s i o n :   v 1   k i n d :   L i m i t R a n g e   m e t a d a t a :   n a m e :   c p u - m i n - m a x - d e m o - l r   s p e c :   l i m i t s :   -   m a x :   c p u :   \" 8 0 0 m \"   m i n :   c p u :   \" 2 0 0 m \"   t y p e :   C o n t a i n e r   C r e a t e   t h e   L i m i t R a n g e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / c p u - c o n s t r a i n t s . y a m l   - - n a m e s p a c e = c o n s t r a i n t s - c p u - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   L i m i t R a n g e :   k u b e c t l   g e t   l i m i t r a n g e   c p u - m i n - m a x - d e m o - l r   - - o u t p u t = y a m l   - - n a m e s p a c e = c o n s t r a i n t s - c p u - e x a m p l e   T h e   o u t p u t   s h o w s   t h e   m i n i m u m   a n d   m a x i m u m   C P U   c o n s t r a i n t s   a s   e x p e c t e d .   B u t   n o t i c e   t h a t   e v e n   t h o u g h   y o u   d i d n ' t   s p e c i f y   d e f a u l t   v a l u e s   i n   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   L i m i t R a n g e ,   t h e y   w e r e   c r e a t e d   a u t o m a t i c a l l y .   l i m i t s :   -   d e f a u l t :   c p u :   8 0 0 m   d e f a u l t R e q u e s t :   c p u :   8 0 0 m   m a x :   c p u :   8 0 0 m   m i n :   c p u :   2 0 0 m   t y p e :   C o n t a i n e r   N o w   w h e n e v e r   y o u   c r e a t e   a   P o d   i n   t h e   c o n s t r a i n t s - c p u - e x a m p l e   n a m e s p a c e   ( o r   s o m e   o t h e r   c l i e n t   o f   t h e   K u b e r n e t e s   A P I   c r e a t e s   a n   e q u i v a l e n t   P o d ) ,   K u b e r n e t e s   p e r f o r m s   t h e s e   s t e p s :   I f   a n y   c o n t a i n e r   i n   t h a t   P o d   d o e s   n o t   s p e c i f y   i t s   o w n   C P ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-constraint-namespace/",
    "id": "k8s_00153_section_2_2747"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   m a n i f e s t   s p e c i f i e s   a   C P U   r e q u e s t   o f   5 0 0   m i l l i c p u   a n d   a   C P U   l i m i t   o f   8 0 0   m i l l i c p u .   T h e s e   s a t i s f y   t h e   m i n i m u m   a n d   m a x i m u m   C P U   c o n s t r a i n t s   i m p o s e d   b y   t h e   L i m i t R a n g e   f o r   t h i s   n a m e s p a c e .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o n s t r a i n t s - c p u - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   c o n s t r a i n t s - c p u - d e m o - c t r   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   c p u :   \" 8 0 0 m \"   r e q u e s t s :   c p u :   \" 5 0 0 m \"   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / c p u - c o n s t r a i n t s - p o d . y a m l   - - n a m e s p a c e = c o n s t r a i n t s - c p u - e x a m p l e   V e r i f y   t h a t   t h e   P o d   i s   r u n n i n g   a n d   t h a t   i t s   c o n t a i n e r   i s   h e a l t h y :   k u b e c t l   g e t   p o d   c o n s t r a i n t s - c p u - d e m o   - - n a m e s p a c e = c o n s t r a i n t s - c p u - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   P o d :   k u b e c t l   g e t   p o d   c o n s t r a i n t s - c p u - d e m o   - - o u t p u t = y a m l   - - n a m e s p a c e = c o n s t r a i n t s - c p u - e x a m p l e   T h e   o u t p u t   s h o w s   t h a t   t h e   P o d ' s   o n l y   c o n t a i n e r   h a s   a   C P U   r e q u e s t   o f   5 0 0   m i l l i c p u   a n d   C P U   l i m i t   o f   8 0 0   m i l l i c p u .   T h e s e   s a t i s f y   t h e   c o n s t r a i n t s   i m p o s e d   b y   t h e   L i m i t R a n g e .   r e s o ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-constraint-namespace/",
    "id": "k8s_00153_section_4_2748"
  },
  {
    "question": "What is Delete the Pod?",
    "answer": "k u b e c t l   d e l e t e   p o d   c o n s t r a i n t s - c p u - d e m o   - - n a m e s p a c e = c o n s t r a i n t s - c p u - e x a m p l e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-constraint-namespace/",
    "id": "k8s_00153_section_2_2749"
  },
  {
    "question": "What is Attempt to create a Pod that exceeds the maximum CPU constraint?",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   s p e c i f i e s   a   C P U   r e q u e s t   o f   5 0 0   m i l l i c p u   a n d   a   c p u   l i m i t   o f   1 . 5   c p u .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o n s t r a i n t s - c p u - d e m o - 2   s p e c :   c o n t a i n e r s :   -   n a m e :   c o n s t r a i n t s - c p u - d e m o - 2 - c t r   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   c p u :   \" 1 . 5 \"   r e q u e s t s :   c p u :   \" 5 0 0 m \"   A t t e m p t   t o   c r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / c p u - c o n s t r a i n t s - p o d - 2 . y a m l   - - n a m e s p a c e = c o n s t r a i n t s - c p u - e x a m p l e   T h e   o u t p u t   s h o w s   t h a t   t h e   P o d   d o e s   n o t   g e t   c r e a t e d ,   b e c a u s e   i t   d e f i n e s   a n   u n a c c e p t a b l e   c o n t a i n e r .   T h a t   c o n t a i n e r   i s   n o t   a c c e p t a b l e   b e c a u s e   i t   s p e c i f i e s   a   C P U   l i m i t   t h a t   i s   t o o   l a r g e :   E r r o r   f r o m   s e r v e r   ( F o r b i d d e n ) :   e r r o r   w h e n   c r e a t i n g   \" e x a m p l e s / a d m i n / r e s o u r c e / c p u - c o n s t r a i n t s - p o d - 2 . y a m l \" :   p o d s   \" c o n s t r a i n t s - c p u - d e m o - 2 \"   i s   f o r b i d d e n :   m a x i m u m   c p u   u s a g e   p e r   C o n t a i n e r   i s   8 0 0 m ,   b u t   l i m i t   i s   1 5 0 0 m .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-constraint-namespace/",
    "id": "k8s_00153_section_2_2750"
  },
  {
    "question": "What is Attempt to create a Pod that does not meet the minimum CPU request?",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   s p e c i f i e s   a   C P U   r e q u e s t   o f   1 0 0   m i l l i c p u   a n d   a   C P U   l i m i t   o f   8 0 0   m i l l i c p u .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o n s t r a i n t s - c p u - d e m o - 3   s p e c :   c o n t a i n e r s :   -   n a m e :   c o n s t r a i n t s - c p u - d e m o - 3 - c t r   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   c p u :   \" 8 0 0 m \"   r e q u e s t s :   c p u :   \" 1 0 0 m \"   A t t e m p t   t o   c r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / c p u - c o n s t r a i n t s - p o d - 3 . y a m l   - - n a m e s p a c e = c o n s t r a i n t s - c p u - e x a m p l e   T h e   o u t p u t   s h o w s   t h a t   t h e   P o d   d o e s   n o t   g e t   c r e a t e d ,   b e c a u s e   i t   d e f i n e s   a n   u n a c c e p t a b l e   c o n t a i n e r .   T h a t   c o n t a i n e r   i s   n o t   a c c e p t a b l e   b e c a u s e   i t   s p e c i f i e s   a   C P U   r e q u e s t   t h a t   i s   l o w e r   t h a n   t h e   e n f o r c e d   m i n i m u m :   E r r o r   f r o m   s e r v e r   ( F o r b i d d e n ) :   e r r o r   w h e n   c r e a t i n g   \" e x a m p l e s / a d m i n / r e s o u r c e / c p u - c o n s t r a i n t s - p o d - 3 . y a m l \" :   p o d s   \" c o n s t r a i n t s - c p u - d e m o - 3 \"   i s   f o r b i d d e n :   m i n i m u m   c p u   u s a g e   p e r   C o n t a i n e r   i s   2 0 0 m ,   b u t   r e q u e s t   i s   1 0 0 m .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-constraint-namespace/",
    "id": "k8s_00153_section_2_2751"
  },
  {
    "question": "What is Create a Pod that does not specify any CPU request or limit?",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   d o e s   n o t   s p e c i f y   a   C P U   r e q u e s t ,   n o r   d o e s   i t   s p e c i f y   a   C P U   l i m i t .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o n s t r a i n t s - c p u - d e m o - 4   s p e c :   c o n t a i n e r s :   -   n a m e :   c o n s t r a i n t s - c p u - d e m o - 4 - c t r   i m a g e :   v i s h / s t r e s s   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / c p u - c o n s t r a i n t s - p o d - 4 . y a m l   - - n a m e s p a c e = c o n s t r a i n t s - c p u - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   P o d :   k u b e c t l   g e t   p o d   c o n s t r a i n t s - c p u - d e m o - 4   - - n a m e s p a c e = c o n s t r a i n t s - c p u - e x a m p l e   - - o u t p u t = y a m l   T h e   o u t p u t   s h o w s   t h a t   t h e   P o d ' s   s i n g l e   c o n t a i n e r   h a s   a   C P U   r e q u e s t   o f   8 0 0   m i l l i c p u   a n d   a   C P U   l i m i t   o f   8 0 0   m i l l i c p u .   H o w   d i d   t h a t   c o n t a i n e r   g e t   t h o s e   v a l u e s ?   r e s o u r c e s :   l i m i t s :   c p u :   8 0 0 m   r e q u e s t s :   c p u :   8 0 0 m   B e c a u s e   t h a t   c o n t a i n e r   d i d   n o t   s p e c i f y   i t s   o w n   C P U   r e q u e s t   a n d   l i m i t ,   t h e   c o n t r o l   p l a n e   a p p l i e d   t h e   d e f a u l t   C P U   r e q u e s t   a n d   l i m i t   f r o m   t h e   L i m i t R a n g e   f o r   t h i s   n a m e s p a c e .   A t   t h i s   p o i n t ,   y o u r   P o d   m a y   o r   m a y   n o t   b e   r u n n i n g .   R e c a l l   t h a t   a   p r e r e q u i s i t e   f o r   t h i s   t a s k   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-constraint-namespace/",
    "id": "k8s_00153_section_2_2752"
  },
  {
    "question": "What is Enforcement of minimum and maximum CPU constraints?",
    "answer": "T h e   m a x i m u m   a n d   m i n i m u m   C P U   c o n s t r a i n t s   i m p o s e d   o n   a   n a m e s p a c e   b y   a   L i m i t R a n g e   a r e   e n f o r c e d   o n l y   w h e n   a   P o d   i s   c r e a t e d   o r   u p d a t e d .   I f   y o u   c h a n g e   t h e   L i m i t R a n g e ,   i t   d o e s   n o t   a f f e c t   P o d s   t h a t   w e r e   c r e a t e d   p r e v i o u s l y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-constraint-namespace/",
    "id": "k8s_00153_section_2_2753"
  },
  {
    "question": "What is Motivation for minimum and maximum CPU constraints?",
    "answer": "A s   a   c l u s t e r   a d m i n i s t r a t o r ,   y o u   m i g h t   w a n t   t o   i m p o s e   r e s t r i c t i o n s   o n   t h e   C P U   r e s o u r c e s   t h a t   P o d s   c a n   u s e .   F o r   e x a m p l e :   E a c h   N o d e   i n   a   c l u s t e r   h a s   2   C P U .   Y o u   d o   n o t   w a n t   t o   a c c e p t   a n y   P o d   t h a t   r e q u e s t s   m o r e   t h a n   2   C P U ,   b e c a u s e   n o   N o d e   i n   t h e   c l u s t e r   c a n   s u p p o r t   t h e   r e q u e s t . A   c l u s t e r   i s   s h a r e d   b y   y o u r   p r o d u c t i o n   a n d   d e v e l o p m e n t   d e p a r t m e n t s .   Y o u   w a n t   t o   a l l o w   p r o d u c t i o n   w o r k l o a d s   t o   c o n s u m e   u p   t o   3   C P U ,   b u t   y o u   w a n t   d e v e l o p m e n t   w o r k l o a d s   t o   b e   l i m i t e d   t o   1   C P U .   Y o u   c r e a t e   s e p a r a t e   n a m e s p a c e s   f o r   p r o d u c t i o n   a n d   d e v e l o p m e n t ,   a n d   y o u   a p p l y   C P U   c o n s t r a i n t s   t o   e a c h   n a m e s p a c e .   E a c h   N o d e   i n   a   c l u s t e r   h a s   2   C P U .   Y o u   d o   n o t   w a n t   t o   a c c e p t   a n y   P o d   t h a t   r e q u e s t s   m o r e   t h a n   2   C P U ,   b e c a u s e   n o   N o d e   i n   t h e   c l u s t e r   c a n   s u p p o r t   t h e   r e q u e s t .   A   c l u s t e r   i s   s h a r e d   b y   y o u r   p r o d u c t i o n   a n d   d e v e l o p m e n t   d e p a r t m e n t s .   Y o u   w a n t   t o   a l l o w   p r o d u c t i o n   w o r k l o a d s   t o   c o n s u m e   u p   t o   3   C P U ,   b u t   y o u   w a n t   d e v e l o p m e n t   w o r k l o a d s   t o   b e   l i m i t e d   t o   1   C P U .   Y o u   c r e a t e   s e p a r a t e   n a m e s p a c e s   f o r   p r o d u c t i o n   a n d   d e v e l o p m e n t ,   a n d   y o u   a p p l y   C P U ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-constraint-namespace/",
    "id": "k8s_00153_section_2_2754"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   n a m e s p a c e :   k u b e c t l   d e l e t e   n a m e s p a c e   c o n s t r a i n t s - c p u - e x a m p l e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-constraint-namespace/",
    "id": "k8s_00153_section_2_2755"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e   C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-constraint-namespace/",
    "id": "k8s_00153_section_3_2756"
  },
  {
    "question": "What is For app developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s   C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-constraint-namespace/",
    "id": "k8s_00153_section_3_2757"
  },
  {
    "question": "What is Horizontal Pod Autoscaling?",
    "answer": "Horizontal Pod AutoscalingIn Kubernetes, a HorizontalPodAutoscaler automatically updates a workload resource (such as a Deployment or StatefulSet), with the aim of automatically scaling the workload to match demand.Horizontal scaling means that the response to increased load is to deploy more Pods. This is different from vertical scaling, which for Kubernetes would mean assigning more resources (for example: memory or CPU) to the Pods that are already running for the workload.If the load decreases, and the number of Pods is above the configured minimum, the HorizontalPodAutoscaler instructs the workload resource (the Deployment, StatefulSet, or other similar resource) to scale back down.Horizontal pod autoscaling does not apply to objects that can't be scaled (for example: a DaemonSet.)The HorizontalPodAutoscaler is implemented as a Kubernetes API resource and a controller. The resource determines the behavior of the controller. The horizontal pod autoscaling controller, running within the Kubernetes control plane, periodically adjusts the desired scale of its target (for example, a Deployment) to match observed metrics such as average CPU utilization, average memory utilization, or any other custom metric you specify.There is walkthrough example of using horizontal pod autoscaling.How does a HorizontalPodAutoscaler work?graph BT hpa[Horizontal Pod Autoscaler] --> scale[Scale] subgraph rc[RC / Deployment] scale end scale -.-> pod1[Pod 1] scale -.-> pod2[Pod 2] scale -.-> pod3[Pod N] classDef hpa fill:#D5A6BD,stroke:#1E1E1D,stroke-width:1px,color:#1E1E1D; classDef rc fill:#F9CB9C,stroke:#1E1E1D,stroke-width:1px,color:#1E1E1D; classDef scale fill:#B6D7A8,stroke:#1E1E1D,stroke-width:1px,color:#1E1E1D; classDef pod fill:#9FC5E8,stroke:#1E1E1D,stroke-width:1px,color:#1E1E1D; class hpa hpa; class rc rc; class scale scale; class pod1,pod2,pod3 podJavaScript must be enabled to view this contentFigure 1. HorizontalPodAutoscaler controls the scale of a Deployment and its ReplicaSetKubernetes implements horizontal pod autoscaling as a control loop that runs intermittently (it is not a continuous process). The interval is set by the --horizontal-pod-autoscaler-sync-period parameter to the kube-controller-manager (and the default interval is 15 seconds).Once during each period, the controller manager queries the resource utilization against the metrics specified in each HorizontalPodAutoscaler definition. The controller manager finds the target resource defined by the scaleTargetRef, then selects the pods based on the target resource's .spec.selector labels, and obtains the metrics from either the resource metrics API (for per-pod resource metrics), or the custom metrics API (for all other metrics).For per-pod resource metrics (like CPU), the controller fetches the metrics from the resource metrics API for each Pod targeted by the HorizontalPodAutoscaler. Then, if a target utilization value is set, the controller calculates the utilization value as a percenta",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_qa_2758"
  },
  {
    "question": "How does Horizontal Pod Autoscaling work?",
    "answer": "Horizontal Pod AutoscalingIn Kubernetes, a HorizontalPodAutoscaler automatically updates a workload resource (such as a Deployment or StatefulSet), with the aim of automatically scaling the workload to match demand.Horizontal scaling means that the response to increased load is to deploy more Pods. This is different from vertical scaling, which for Kubernetes would mean assigning more resources (for example: memory or CPU) to the Pods that are already running for the workload.If the load decreases, and the number of Pods is above the configured minimum, the HorizontalPodAutoscaler instructs the workload resource (the Deployment, StatefulSet, or other similar resource) to scale back down.Horizontal pod autoscaling does not apply to objects that can't be scaled (for example: a DaemonSet.)The HorizontalPodAutoscaler is implemented as a Kubernetes API resource and a controller. The resource determines the behavior of the controller. The horizontal pod autoscaling controller, running within the Kubernetes control plane, periodically adjusts the desired scale of its target (for example, a Deployment) to match observed metrics such as average CPU utilization, average memory utilization, or any other custom metric you specify.There is walkthrough example of using horizontal pod autoscaling.How does a HorizontalPodAutoscaler work?graph BT hpa[Horizontal Pod Autoscaler] --> scale[Scale] subgraph rc[RC / Deployment] scale end scale -.-> pod1[Pod 1] scale -.-> pod2[Pod 2] scale -.-> pod3[Pod N] classDef hpa fill:#D5A6BD,stroke:#1E1E1D,stroke-width:1px,color:#1E1E1D; classDef rc fill:#F9CB9C,stroke:#1E1E1D,stroke-width:1px,color:#1E1E1D; classDef scale fill:#B6D7A8,stroke:#1E1E1D,stroke-width:1px,color:#1E1E1D; classDef pod fill:#9FC5E8,stroke:#1E1E1D,stroke-width:1px,color:#1E1E1D; class hpa hpa; class rc rc; class scale scale; class pod1,pod2,pod3 podJavaScript must be enabled to view this contentFigure 1. HorizontalPodAutoscaler controls the scale of a Deployment and its ReplicaSetKubernetes implements horizontal pod autoscaling as a control loop that runs intermittently (it is not a continuous process). The interval is set by the --horizontal-pod-autoscaler-sync-period parameter to the kube-controller-manager (and the default interval is 15 seconds).Once during each period, the controller manager queries the resource utilization against the metrics specified in each HorizontalPodAutoscaler definition. The controller manager finds the target resource defined by the scaleTargetRef, then selects the pods based on the target resource's .spec.selector labels, and obtains the metrics from either the resource metrics API (for per-pod resource metrics), or the custom metrics API (for all other metrics).For per-pod resource metrics (like CPU), the controller fetches the metrics from the resource metrics API for each Pod targeted by the HorizontalPodAutoscaler. Then, if a target utilization value is set, the controller calculates the utilization value as a percenta",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_qa_2759"
  },
  {
    "question": "When would you use Horizontal Pod Autoscaling?",
    "answer": "Horizontal Pod AutoscalingIn Kubernetes, a HorizontalPodAutoscaler automatically updates a workload resource (such as a Deployment or StatefulSet), with the aim of automatically scaling the workload to match demand.Horizontal scaling means that the response to increased load is to deploy more Pods. This is different from vertical scaling, which for Kubernetes would mean assigning more resources (for example: memory or CPU) to the Pods that are already running for the workload.If the load decreases, and the number of Pods is above the configured minimum, the HorizontalPodAutoscaler instructs the workload resource (the Deployment, StatefulSet, or other similar resource) to scale back down.Horizontal pod autoscaling does not apply to objects that can't be scaled (for example: a DaemonSet.)The HorizontalPodAutoscaler is implemented as a Kubernetes API resource and a controller. The resource determines the behavior of the controller. The horizontal pod autoscaling controller, running within the Kubernetes control plane, periodically adjusts the desired scale of its target (for example, a Deployment) to match observed metrics such as average CPU utilization, average memory utilization, or any other custom metric you specify.There is walkthrough example of using horizontal pod autoscaling.How does a HorizontalPodAutoscaler work?graph BT hpa[Horizontal Pod Autoscaler] --> scale[Scale] subgraph rc[RC / Deployment] scale end scale -.-> pod1[Pod 1] scale -.-> pod2[Pod 2] scale -.-> pod3[Pod N] classDef hpa fill:#D5A6BD,stroke:#1E1E1D,stroke-width:1px,color:#1E1E1D; classDef rc fill:#F9CB9C,stroke:#1E1E1D,stroke-width:1px,color:#1E1E1D; classDef scale fill:#B6D7A8,stroke:#1E1E1D,stroke-width:1px,color:#1E1E1D; classDef pod fill:#9FC5E8,stroke:#1E1E1D,stroke-width:1px,color:#1E1E1D; class hpa hpa; class rc rc; class scale scale; class pod1,pod2,pod3 podJavaScript must be enabled to view this contentFigure 1. HorizontalPodAutoscaler controls the scale of a Deployment and its ReplicaSetKubernetes implements horizontal pod autoscaling as a control loop that runs intermittently (it is not a continuous process). The interval is set by the --horizontal-pod-autoscaler-sync-period parameter to the kube-controller-manager (and the default interval is 15 seconds).Once during each period, the controller manager queries the resource utilization against the metrics specified in each HorizontalPodAutoscaler definition. The controller manager finds the target resource defined by the scaleTargetRef, then selects the pods based on the target resource's .spec.selector labels, and obtains the metrics from either the resource metrics API (for per-pod resource metrics), or the custom metrics API (for all other metrics).For per-pod resource metrics (like CPU), the controller fetches the metrics from the resource metrics API for each Pod targeted by the HorizontalPodAutoscaler. Then, if a target utilization value is set, the controller calculates the utilization value as a percenta",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_qa_2760"
  },
  {
    "question": "What are the benefits of Horizontal Pod Autoscaling?",
    "answer": "Horizontal Pod AutoscalingIn Kubernetes, a HorizontalPodAutoscaler automatically updates a workload resource (such as a Deployment or StatefulSet), with the aim of automatically scaling the workload to match demand.Horizontal scaling means that the response to increased load is to deploy more Pods. This is different from vertical scaling, which for Kubernetes would mean assigning more resources (for example: memory or CPU) to the Pods that are already running for the workload.If the load decreases, and the number of Pods is above the configured minimum, the HorizontalPodAutoscaler instructs the workload resource (the Deployment, StatefulSet, or other similar resource) to scale back down.Horizontal pod autoscaling does not apply to objects that can't be scaled (for example: a DaemonSet.)The HorizontalPodAutoscaler is implemented as a Kubernetes API resource and a controller. The resource determines the behavior of the controller. The horizontal pod autoscaling controller, running within the Kubernetes control plane, periodically adjusts the desired scale of its target (for example, a Deployment) to match observed metrics such as average CPU utilization, average memory utilization, or any other custom metric you specify.There is walkthrough example of using horizontal pod autoscaling.How does a HorizontalPodAutoscaler work?graph BT hpa[Horizontal Pod Autoscaler] --> scale[Scale] subgraph rc[RC / Deployment] scale end scale -.-> pod1[Pod 1] scale -.-> pod2[Pod 2] scale -.-> pod3[Pod N] classDef hpa fill:#D5A6BD,stroke:#1E1E1D,stroke-width:1px,color:#1E1E1D; classDef rc fill:#F9CB9C,stroke:#1E1E1D,stroke-width:1px,color:#1E1E1D; classDef scale fill:#B6D7A8,stroke:#1E1E1D,stroke-width:1px,color:#1E1E1D; classDef pod fill:#9FC5E8,stroke:#1E1E1D,stroke-width:1px,color:#1E1E1D; class hpa hpa; class rc rc; class scale scale; class pod1,pod2,pod3 podJavaScript must be enabled to view this contentFigure 1. HorizontalPodAutoscaler controls the scale of a Deployment and its ReplicaSetKubernetes implements horizontal pod autoscaling as a control loop that runs intermittently (it is not a continuous process). The interval is set by the --horizontal-pod-autoscaler-sync-period parameter to the kube-controller-manager (and the default interval is 15 seconds).Once during each period, the controller manager queries the resource utilization against the metrics specified in each HorizontalPodAutoscaler definition. The controller manager finds the target resource defined by the scaleTargetRef, then selects the pods based on the target resource's .spec.selector labels, and obtains the metrics from either the resource metrics API (for per-pod resource metrics), or the custom metrics API (for all other metrics).For per-pod resource metrics (like CPU), the controller fetches the metrics from the resource metrics API for each Pod targeted by the HorizontalPodAutoscaler. Then, if a target utilization value is set, the controller calculates the utilization value as a percenta",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_qa_2761"
  },
  {
    "question": "What is Horizontal Pod Autoscaling?",
    "answer": "I n   K u b e r n e t e s ,   a   H o r i z o n t a l P o d A u t o s c a l e r   a u t o m a t i c a l l y   u p d a t e s   a   w o r k l o a d   r e s o u r c e   ( s u c h   a s   a   D e p l o y m e n t   o r   S t a t e f u l S e t ) ,   w i t h   t h e   a i m   o f   a u t o m a t i c a l l y   s c a l i n g   t h e   w o r k l o a d   t o   m a t c h   d e m a n d .   H o r i z o n t a l   s c a l i n g   m e a n s   t h a t   t h e   r e s p o n s e   t o   i n c r e a s e d   l o a d   i s   t o   d e p l o y   m o r e   P o d s .   T h i s   i s   d i f f e r e n t   f r o m   v e r t i c a l   s c a l i n g ,   w h i c h   f o r   K u b e r n e t e s   w o u l d   m e a n   a s s i g n i n g   m o r e   r e s o u r c e s   ( f o r   e x a m p l e :   m e m o r y   o r   C P U )   t o   t h e   P o d s   t h a t   a r e   a l r e a d y   r u n n i n g   f o r   t h e   w o r k l o a d .   I f   t h e   l o a d   d e c r e a s e s ,   a n d   t h e   n u m b e r   o f   P o d s   i s   a b o v e   t h e   c o n f i g u r e d   m i n i m u m ,   t h e   H o r i z o n t a l P o d A u t o s c a l e r   i n s t r u c t s   t h e   w o r k l o a d   r e s o u r c e   ( t h e   D e p l o y m e n t ,   S t a t e f u l S e t ,   o r   o t h e r   s i m i l a r   r e s o u r c e )   t o   s c a l e   b a c k   d o w n .   H o r i z o n t a l   p o d   a u t o s c a l i n g   d o e s   n o t   a p p l y   t o   o b j e c t s   t h a t   c a n ' t   b e   s c a l e d   ( f o r   e x a m p l e :   a   D a e m o n S e t . )   T h e   H o r i z o n t a l P o d A u t o s c a l e r   i s   i m p l e m e n t e d   a s   a   K u b e r n e t e s   A P I   r e s o u r c e   a n d   a   c o n t r o l l e r .   T h e   r e s o u r c e   d e t e r m i n e s   t h e   b e h a v i o r   o f   t h e   c o n t r o l l e r .   T h e   h o r i z o n t a l   p o d   a u t o s c a l i n g   c o n t r o l l e r ,   r u n n i n g   w i t h i n   t h e   K u b e r n e t e s   c o n t r o ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_section_1_2762"
  },
  {
    "question": "What is How does a HorizontalPodAutoscaler work??",
    "answer": "F i g u r e   1 .   H o r i z o n t a l P o d A u t o s c a l e r   c o n t r o l s   t h e   s c a l e   o f   a   D e p l o y m e n t   a n d   i t s   R e p l i c a S e t   K u b e r n e t e s   i m p l e m e n t s   h o r i z o n t a l   p o d   a u t o s c a l i n g   a s   a   c o n t r o l   l o o p   t h a t   r u n s   i n t e r m i t t e n t l y   ( i t   i s   n o t   a   c o n t i n u o u s   p r o c e s s ) .   T h e   i n t e r v a l   i s   s e t   b y   t h e   - - h o r i z o n t a l - p o d - a u t o s c a l e r - s y n c - p e r i o d   p a r a m e t e r   t o   t h e   k u b e - c o n t r o l l e r - m a n a g e r   ( a n d   t h e   d e f a u l t   i n t e r v a l   i s   1 5   s e c o n d s ) .   O n c e   d u r i n g   e a c h   p e r i o d ,   t h e   c o n t r o l l e r   m a n a g e r   q u e r i e s   t h e   r e s o u r c e   u t i l i z a t i o n   a g a i n s t   t h e   m e t r i c s   s p e c i f i e d   i n   e a c h   H o r i z o n t a l P o d A u t o s c a l e r   d e f i n i t i o n .   T h e   c o n t r o l l e r   m a n a g e r   f i n d s   t h e   t a r g e t   r e s o u r c e   d e f i n e d   b y   t h e   s c a l e T a r g e t R e f ,   t h e n   s e l e c t s   t h e   p o d s   b a s e d   o n   t h e   t a r g e t   r e s o u r c e ' s   . s p e c . s e l e c t o r   l a b e l s ,   a n d   o b t a i n s   t h e   m e t r i c s   f r o m   e i t h e r   t h e   r e s o u r c e   m e t r i c s   A P I   ( f o r   p e r - p o d   r e s o u r c e   m e t r i c s ) ,   o r   t h e   c u s t o m   m e t r i c s   A P I   ( f o r   a l l   o t h e r   m e t r i c s ) .   F o r   p e r - p o d   r e s o u r c e   m e t r i c s   ( l i k e   C P U ) ,   t h e   c o n t r o l l e r   f e t c h e s   t h e   m e t r i c s   f r o m   t h e   r e s o u r c e   m e t r i c s   A P I   f o r   e a c h   P o d   t a r g e t e d   b y   t h e   H o r i z o n t a l P o d A u t o s c a l e r .   T h e n ,   i f   a   t a r g e t   u t i ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_section_2_2763"
  },
  {
    "question": "What is Algorithm details?",
    "answer": "F r o m   t h e   m o s t   b a s i c   p e r s p e c t i v e ,   t h e   H o r i z o n t a l P o d A u t o s c a l e r   c o n t r o l l e r   o p e r a t e s   o n   t h e   r a t i o   b e t w e e n   d e s i r e d   m e t r i c   v a l u e   a n d   c u r r e n t   m e t r i c   v a l u e :   F o r   e x a m p l e ,   i f   t h e   c u r r e n t   m e t r i c   v a l u e   i s   2 0 0 m ,   a n d   t h e   d e s i r e d   v a l u e   i s   1 0 0 m ,   t h e   n u m b e r   o f   r e p l i c a s   w i l l   b e   d o u b l e d ,   s i n c e   \\ (   {   2 0 0 . 0   \\ d i v   1 0 0 . 0   }   =   2 . 0   \\ ) . I f   t h e   c u r r e n t   v a l u e   i s   i n s t e a d   5 0 m ,   y o u ' l l   h a l v e   t h e   n u m b e r   o f   r e p l i c a s ,   s i n c e   \\ (   {   5 0 . 0   \\ d i v   1 0 0 . 0   }   =   0 . 5   \\ ) .   T h e   c o n t r o l   p l a n e   s k i p s   a n y   s c a l i n g   a c t i o n   i f   t h e   r a t i o   i s   s u f f i c i e n t l y   c l o s e   t o   1 . 0   ( w i t h i n   a   c o n f i g u r a b l e   t o l e r a n c e ,   0 . 1   b y   d e f a u l t ) .   W h e n   a   t a r g e t A v e r a g e V a l u e   o r   t a r g e t A v e r a g e U t i l i z a t i o n   i s   s p e c i f i e d ,   t h e   c u r r e n t M e t r i c V a l u e   i s   c o m p u t e d   b y   t a k i n g   t h e   a v e r a g e   o f   t h e   g i v e n   m e t r i c   a c r o s s   a l l   P o d s   i n   t h e   H o r i z o n t a l P o d A u t o s c a l e r ' s   s c a l e   t a r g e t .   B e f o r e   c h e c k i n g   t h e   t o l e r a n c e   a n d   d e c i d i n g   o n   t h e   f i n a l   v a l u e s ,   t h e   c o n t r o l   p l a n e   a l s o   c o n s i d e r s   w h e t h e r   a n y   m e t r i c s   a r e   m i s s i n g ,   a n d   h o w   m a n y   P o d s   a r e   R e a d y .   A l l   P o d s   w i t h   a   d e l e t i o n   t i m e s t a m p   s e t   ( o b j e c t s   w i t h   a   d e l e t i o n   t i m e s t a m p   a ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_section_3_2764"
  },
  {
    "question": "What is Pod readiness and autoscaling metrics?",
    "answer": "T h e   H o r i z o n t a l P o d A u t o s c a l e r   ( H P A )   c o n t r o l l e r   i n c l u d e s   t w o   f l a g s   t h a t   i n f l u e n c e   h o w   C P U   m e t r i c s   a r e   c o l l e c t e d   f r o m   P o d s   d u r i n g   s t a r t u p :   - - h o r i z o n t a l - p o d - a u t o s c a l e r - c p u - i n i t i a l i z a t i o n - p e r i o d   ( d e f a u l t :   5   m i n u t e s )   T h i s   d e f i n e s   t h e   t i m e   w i n d o w   a f t e r   a   P o d   s t a r t s   d u r i n g   w h i c h   i t s   C P U   u s a g e   i s   i g n o r e d   u n l e s s :   -   T h e   P o d   i s   i n   a   R e a d y   s t a t e   a n d   -   T h e   m e t r i c   s a m p l e   w a s   t a k e n   e n t i r e l y   d u r i n g   t h e   p e r i o d   i t   w a s   R e a d y .   T h i s   f l a g   h e l p s   e x c l u d e   m i s l e a d i n g   h i g h   C P U   u s a g e   f r o m   i n i t i a l i z i n g   P o d s   ( e . g . ,   J a v a   a p p s   w a r m i n g   u p )   i n   H P A   s c a l i n g   d e c i s i o n s .   - - h o r i z o n t a l - p o d - a u t o s c a l e r - i n i t i a l - r e a d i n e s s - d e l a y   ( d e f a u l t :   3 0   s e c o n d s )   T h i s   d e f i n e s   a   s h o r t   d e l a y   p e r i o d   a f t e r   a   P o d   s t a r t s   d u r i n g   w h i c h   t h e   H P A   c o n t r o l l e r   t r e a t s   P o d s   t h a t   a r e   c u r r e n t l y   U n r e a d y   a s   s t i l l   i n i t i a l i z i n g ,   e v e n   i f   t h e y   h a v e   p r e v i o u s l y   t r a n s i t i o n e d   t o   R e a d y   b r i e f l y .   I t   i s   d e s i g n e d   t o :   -   A v o i d   i n c l u d i n g   P o d s   t h a t   r a p i d l y   f l u c t u a t e   b e t w e e n   R e a d y   a n d   U n r e a d y   d u r i n g   s t a r t u p .   -   E n s u r e   s t a b i l i t y   i n   t h e   i n i t i a l   r e a d i n e s s   s i g n a l   b e f o r e   H P A   c o n s i d e r s   t h e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_section_3_2765"
  },
  {
    "question": "What is Best Practice:?",
    "answer": "I f   y o u r   P o d   h a s   a   s t a r t u p   p h a s e   w i t h   h i g h   C P U   u s a g e :   C o n f i g u r e   a   s t a r t u p P r o b e   t h a t   d o e s n ' t   p a s s   u n t i l   t h e   h i g h   C P U   u s a g e   h a s   p a s s e d ,   o r E n s u r e   y o u r   r e a d i n e s s P r o b e   o n l y   r e p o r t s   R e a d y   a f t e r   t h e   C P U   s p i k e   s u b s i d e s ,   u s i n g   i n i t i a l D e l a y S e c o n d s .   A n d   i d e a l l y   a l s o   s e t   - - h o r i z o n t a l - p o d - a u t o s c a l e r - c p u - i n i t i a l i z a t i o n - p e r i o d   t o   c o v e r   t h e   s t a r t u p   d u r a t i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_section_4_2766"
  },
  {
    "question": "What is API Object?",
    "answer": "T h e   H o r i z o n t a l   P o d   A u t o s c a l e r   i s   a n   A P I   r e s o u r c e   i n   t h e   K u b e r n e t e s   a u t o s c a l i n g   A P I   g r o u p .   T h e   c u r r e n t   s t a b l e   v e r s i o n   c a n   b e   f o u n d   i n   t h e   a u t o s c a l i n g / v 2   A P I   v e r s i o n   w h i c h   i n c l u d e s   s u p p o r t   f o r   s c a l i n g   o n   m e m o r y   a n d   c u s t o m   m e t r i c s .   T h e   n e w   f i e l d s   i n t r o d u c e d   i n   a u t o s c a l i n g / v 2   a r e   p r e s e r v e d   a s   a n n o t a t i o n s   w h e n   w o r k i n g   w i t h   a u t o s c a l i n g / v 1 .   W h e n   y o u   c r e a t e   a   H o r i z o n t a l P o d A u t o s c a l e r   A P I   o b j e c t ,   m a k e   s u r e   t h e   n a m e   s p e c i f i e d   i s   a   v a l i d   D N S   s u b d o m a i n   n a m e .   M o r e   d e t a i l s   a b o u t   t h e   A P I   o b j e c t   c a n   b e   f o u n d   a t   H o r i z o n t a l P o d A u t o s c a l e r   O b j e c t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_section_2_2767"
  },
  {
    "question": "What is Stability of workload scale?",
    "answer": "W h e n   m a n a g i n g   t h e   s c a l e   o f   a   g r o u p   o f   r e p l i c a s   u s i n g   t h e   H o r i z o n t a l P o d A u t o s c a l e r ,   i t   i s   p o s s i b l e   t h a t   t h e   n u m b e r   o f   r e p l i c a s   k e e p s   f l u c t u a t i n g   f r e q u e n t l y   d u e   t o   t h e   d y n a m i c   n a t u r e   o f   t h e   m e t r i c s   e v a l u a t e d .   T h i s   i s   s o m e t i m e s   r e f e r r e d   t o   a s   t h r a s h i n g ,   o r   f l a p p i n g .   I t ' s   s i m i l a r   t o   t h e   c o n c e p t   o f   h y s t e r e s i s   i n   c y b e r n e t i c s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_section_2_2768"
  },
  {
    "question": "What is Autoscaling during rolling update?",
    "answer": "K u b e r n e t e s   l e t s   y o u   p e r f o r m   a   r o l l i n g   u p d a t e   o n   a   D e p l o y m e n t .   I n   t h a t   c a s e ,   t h e   D e p l o y m e n t   m a n a g e s   t h e   u n d e r l y i n g   R e p l i c a S e t s   f o r   y o u .   W h e n   y o u   c o n f i g u r e   a u t o s c a l i n g   f o r   a   D e p l o y m e n t ,   y o u   b i n d   a   H o r i z o n t a l P o d A u t o s c a l e r   t o   a   s i n g l e   D e p l o y m e n t .   T h e   H o r i z o n t a l P o d A u t o s c a l e r   m a n a g e s   t h e   r e p l i c a s   f i e l d   o f   t h e   D e p l o y m e n t .   T h e   d e p l o y m e n t   c o n t r o l l e r   i s   r e s p o n s i b l e   f o r   s e t t i n g   t h e   r e p l i c a s   o f   t h e   u n d e r l y i n g   R e p l i c a S e t s   s o   t h a t   t h e y   a d d   u p   t o   a   s u i t a b l e   n u m b e r   d u r i n g   t h e   r o l l o u t   a n d   a l s o   a f t e r w a r d s .   I f   y o u   p e r f o r m   a   r o l l i n g   u p d a t e   o f   a   S t a t e f u l S e t   t h a t   h a s   a n   a u t o s c a l e d   n u m b e r   o f   r e p l i c a s ,   t h e   S t a t e f u l S e t   d i r e c t l y   m a n a g e s   i t s   s e t   o f   P o d s   ( t h e r e   i s   n o   i n t e r m e d i a t e   r e s o u r c e   s i m i l a r   t o   R e p l i c a S e t ) .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_section_2_2769"
  },
  {
    "question": "What is Support for resource metrics?",
    "answer": "A n y   H P A   t a r g e t   c a n   b e   s c a l e d   b a s e d   o n   t h e   r e s o u r c e   u s a g e   o f   t h e   p o d s   i n   t h e   s c a l i n g   t a r g e t .   W h e n   d e f i n i n g   t h e   p o d   s p e c i f i c a t i o n   t h e   r e s o u r c e   r e q u e s t s   l i k e   c p u   a n d   m e m o r y   s h o u l d   b e   s p e c i f i e d .   T h i s   i s   u s e d   t o   d e t e r m i n e   t h e   r e s o u r c e   u t i l i z a t i o n   a n d   u s e d   b y   t h e   H P A   c o n t r o l l e r   t o   s c a l e   t h e   t a r g e t   u p   o r   d o w n .   T o   u s e   r e s o u r c e   u t i l i z a t i o n   b a s e d   s c a l i n g   s p e c i f y   a   m e t r i c   s o u r c e   l i k e   t h i s :   t y p e :   R e s o u r c e   r e s o u r c e :   n a m e :   c p u   t a r g e t :   t y p e :   U t i l i z a t i o n   a v e r a g e U t i l i z a t i o n :   6 0   W i t h   t h i s   m e t r i c   t h e   H P A   c o n t r o l l e r   w i l l   k e e p   t h e   a v e r a g e   u t i l i z a t i o n   o f   t h e   p o d s   i n   t h e   s c a l i n g   t a r g e t   a t   6 0 % .   U t i l i z a t i o n   i s   t h e   r a t i o   b e t w e e n   t h e   c u r r e n t   u s a g e   o f   r e s o u r c e   t o   t h e   r e q u e s t e d   r e s o u r c e s   o f   t h e   p o d .   S e e   A l g o r i t h m   f o r   m o r e   d e t a i l s   a b o u t   h o w   t h e   u t i l i z a t i o n   i s   c a l c u l a t e d   a n d   a v e r a g e d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_section_2_2770"
  },
  {
    "question": "What is Container resource metrics?",
    "answer": "T h e   H o r i z o n t a l P o d A u t o s c a l e r   A P I   a l s o   s u p p o r t s   a   c o n t a i n e r   m e t r i c   s o u r c e   w h e r e   t h e   H P A   c a n   t r a c k   t h e   r e s o u r c e   u s a g e   o f   i n d i v i d u a l   c o n t a i n e r s   a c r o s s   a   s e t   o f   P o d s ,   i n   o r d e r   t o   s c a l e   t h e   t a r g e t   r e s o u r c e .   T h i s   l e t s   y o u   c o n f i g u r e   s c a l i n g   t h r e s h o l d s   f o r   t h e   c o n t a i n e r s   t h a t   m a t t e r   m o s t   i n   a   p a r t i c u l a r   P o d .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   w e b   a p p l i c a t i o n   a n d   a   s i d e c a r   c o n t a i n e r   t h a t   p r o v i d e s   l o g g i n g ,   y o u   c a n   s c a l e   b a s e d   o n   t h e   r e s o u r c e   u s e   o f   t h e   w e b   a p p l i c a t i o n ,   i g n o r i n g   t h e   s i d e c a r   c o n t a i n e r   a n d   i t s   r e s o u r c e   u s e .   I f   y o u   r e v i s e   t h e   t a r g e t   r e s o u r c e   t o   h a v e   a   n e w   P o d   s p e c i f i c a t i o n   w i t h   a   d i f f e r e n t   s e t   o f   c o n t a i n e r s ,   y o u   s h o u l d   r e v i s e   t h e   H P A   s p e c   i f   t h a t   n e w l y   a d d e d   c o n t a i n e r   s h o u l d   a l s o   b e   u s e d   f o r   s c a l i n g .   I f   t h e   s p e c i f i e d   c o n t a i n e r   i n   t h e   m e t r i c   s o u r c e   i s   n o t   p r e s e n t   o r   o n l y   p r e s e n t   i n   a   s u b s e t   o f   t h e   p o d s   t h e n   t h o s e   p o d s   a r e   i g n o r e d   a n d   t h e   r e c o m m e n d a t i o n   i s   r e c a l c u l a t e d .   S e e   A l g o r i t h m   f o r   m o r e   d e t a i l s   a b o u t   t h e   c a l c u l a t i o n .   T o   u s e   c o n t a i n e r   r e s o u r c e s   f o r   a u t o s c a l i n g   d e f i n e   a   m e t r i c   s o u r c e   a s   f o ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_section_3_2771"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   c h a n g e   t h e   n a m e   o f   a   c o n t a i n e r   t h a t   a   H o r i z o n t a l P o d A u t o s c a l e r   i s   t r a c k i n g ,   y o u   c a n   m a k e   t h a t   c h a n g e   i n   a   s p e c i f i c   o r d e r   t o   e n s u r e   s c a l i n g   r e m a i n s   a v a i l a b l e   a n d   e f f e c t i v e   w h i l s t   t h e   c h a n g e   i s   b e i n g   a p p l i e d .   B e f o r e   y o u   u p d a t e   t h e   r e s o u r c e   t h a t   d e f i n e s   t h e   c o n t a i n e r   ( s u c h   a s   a   D e p l o y m e n t ) ,   y o u   s h o u l d   u p d a t e   t h e   a s s o c i a t e d   H P A   t o   t r a c k   b o t h   t h e   n e w   a n d   o l d   c o n t a i n e r   n a m e s .   T h i s   w a y ,   t h e   H P A   i s   a b l e   t o   c a l c u l a t e   a   s c a l i n g   r e c o m m e n d a t i o n   t h r o u g h o u t   t h e   u p d a t e   p r o c e s s .   O n c e   y o u   h a v e   r o l l e d   o u t   t h e   c o n t a i n e r   n a m e   c h a n g e   t o   t h e   w o r k l o a d   r e s o u r c e ,   t i d y   u p   b y   r e m o v i n g   t h e   o l d   c o n t a i n e r   n a m e   f r o m   t h e   H P A   s p e c i f i c a t i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_section_4_2772"
  },
  {
    "question": "What is Scaling on custom metrics?",
    "answer": "( t h e   a u t o s c a l i n g / v 2 b e t a 2   A P I   v e r s i o n   p r e v i o u s l y   p r o v i d e d   t h i s   a b i l i t y   a s   a   b e t a   f e a t u r e )   P r o v i d e d   t h a t   y o u   u s e   t h e   a u t o s c a l i n g / v 2   A P I   v e r s i o n ,   y o u   c a n   c o n f i g u r e   a   H o r i z o n t a l P o d A u t o s c a l e r   t o   s c a l e   b a s e d   o n   a   c u s t o m   m e t r i c   ( t h a t   i s   n o t   b u i l t   i n   t o   K u b e r n e t e s   o r   a n y   K u b e r n e t e s   c o m p o n e n t ) .   T h e   H o r i z o n t a l P o d A u t o s c a l e r   c o n t r o l l e r   t h e n   q u e r i e s   f o r   t h e s e   c u s t o m   m e t r i c s   f r o m   t h e   K u b e r n e t e s   A P I .   S e e   S u p p o r t   f o r   m e t r i c s   A P I s   f o r   t h e   r e q u i r e m e n t s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_section_2_2773"
  },
  {
    "question": "What is Scaling on multiple metrics?",
    "answer": "( t h e   a u t o s c a l i n g / v 2 b e t a 2   A P I   v e r s i o n   p r e v i o u s l y   p r o v i d e d   t h i s   a b i l i t y   a s   a   b e t a   f e a t u r e )   P r o v i d e d   t h a t   y o u   u s e   t h e   a u t o s c a l i n g / v 2   A P I   v e r s i o n ,   y o u   c a n   s p e c i f y   m u l t i p l e   m e t r i c s   f o r   a   H o r i z o n t a l P o d A u t o s c a l e r   t o   s c a l e   o n .   T h e n ,   t h e   H o r i z o n t a l P o d A u t o s c a l e r   c o n t r o l l e r   e v a l u a t e s   e a c h   m e t r i c ,   a n d   p r o p o s e s   a   n e w   s c a l e   b a s e d   o n   t h a t   m e t r i c .   T h e   H o r i z o n t a l P o d A u t o s c a l e r   t a k e s   t h e   m a x i m u m   s c a l e   r e c o m m e n d e d   f o r   e a c h   m e t r i c   a n d   s e t s   t h e   w o r k l o a d   t o   t h a t   s i z e   ( p r o v i d e d   t h a t   t h i s   i s n ' t   l a r g e r   t h a n   t h e   o v e r a l l   m a x i m u m   t h a t   y o u   c o n f i g u r e d ) .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_section_2_2774"
  },
  {
    "question": "What is Support for metrics APIs?",
    "answer": "B y   d e f a u l t ,   t h e   H o r i z o n t a l P o d A u t o s c a l e r   c o n t r o l l e r   r e t r i e v e s   m e t r i c s   f r o m   a   s e r i e s   o f   A P I s .   I n   o r d e r   f o r   i t   t o   a c c e s s   t h e s e   A P I s ,   c l u s t e r   a d m i n i s t r a t o r s   m u s t   e n s u r e   t h a t :   T h e   A P I   a g g r e g a t i o n   l a y e r   i s   e n a b l e d . T h e   c o r r e s p o n d i n g   A P I s   a r e   r e g i s t e r e d : F o r   r e s o u r c e   m e t r i c s ,   t h i s   i s   t h e   m e t r i c s . k 8 s . i o   A P I ,   g e n e r a l l y   p r o v i d e d   b y   m e t r i c s - s e r v e r .   I t   c a n   b e   l a u n c h e d   a s   a   c l u s t e r   a d d - o n . F o r   c u s t o m   m e t r i c s ,   t h i s   i s   t h e   c u s t o m . m e t r i c s . k 8 s . i o   A P I .   I t ' s   p r o v i d e d   b y   \" a d a p t e r \"   A P I   s e r v e r s   p r o v i d e d   b y   m e t r i c s   s o l u t i o n   v e n d o r s .   C h e c k   w i t h   y o u r   m e t r i c s   p i p e l i n e   t o   s e e   i f   t h e r e   i s   a   K u b e r n e t e s   m e t r i c s   a d a p t e r   a v a i l a b l e . F o r   e x t e r n a l   m e t r i c s ,   t h i s   i s   t h e   e x t e r n a l . m e t r i c s . k 8 s . i o   A P I .   I t   m a y   b e   p r o v i d e d   b y   t h e   c u s t o m   m e t r i c s   a d a p t e r s   p r o v i d e d   a b o v e .   T h e   A P I   a g g r e g a t i o n   l a y e r   i s   e n a b l e d .   T h e   c o r r e s p o n d i n g   A P I s   a r e   r e g i s t e r e d :   F o r   r e s o u r c e   m e t r i c s ,   t h i s   i s   t h e   m e t r i c s . k 8 s . i o   A P I ,   g e n e r a l l y   p r o v i d e d   b y   m e t r i c s - s e r v e r .   I t   c a n   b e   l a u n c h e d   a s   a   c l u s t e r   a d d - o n . F o r   c u s t o m   m e t r i c s ,   t h i s   i s   t h e   c u s t o m . m e t r i c s . k 8 s . i o   A P I .   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_section_2_2775"
  },
  {
    "question": "What is Configurable scaling behavior?",
    "answer": "( t h e   a u t o s c a l i n g / v 2 b e t a 2   A P I   v e r s i o n   p r e v i o u s l y   p r o v i d e d   t h i s   a b i l i t y   a s   a   b e t a   f e a t u r e )   I f   y o u   u s e   t h e   v 2   H o r i z o n t a l P o d A u t o s c a l e r   A P I ,   y o u   c a n   u s e   t h e   b e h a v i o r   f i e l d   ( s e e   t h e   A P I   r e f e r e n c e )   t o   c o n f i g u r e   s e p a r a t e   s c a l e - u p   a n d   s c a l e - d o w n   b e h a v i o r s .   Y o u   s p e c i f y   t h e s e   b e h a v i o u r s   b y   s e t t i n g   s c a l e U p   a n d   /   o r   s c a l e D o w n   u n d e r   t h e   b e h a v i o r   f i e l d .   S c a l i n g   p o l i c i e s   l e t   y o u   c o n t r o l   t h e   r a t e   o f   c h a n g e   o f   r e p l i c a s   w h i l e   s c a l i n g .   A l s o   t w o   s e t t i n g s   c a n   b e   u s e d   t o   p r e v e n t   f l a p p i n g :   y o u   c a n   s p e c i f y   a   s t a b i l i z a t i o n   w i n d o w   f o r   s m o o t h i n g   r e p l i c a   c o u n t s ,   a n d   a   t o l e r a n c e   t o   i g n o r e   m i n o r   m e t r i c   f l u c t u a t i o n s   b e l o w   a   s p e c i f i e d   t h r e s h o l d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_section_2_2776"
  },
  {
    "question": "What is Scaling policies?",
    "answer": "O n e   o r   m o r e   s c a l i n g   p o l i c i e s   c a n   b e   s p e c i f i e d   i n   t h e   b e h a v i o r   s e c t i o n   o f   t h e   s p e c .   W h e n   m u l t i p l e   p o l i c i e s   a r e   s p e c i f i e d   t h e   p o l i c y   w h i c h   a l l o w s   t h e   h i g h e s t   a m o u n t   o f   c h a n g e   i s   t h e   p o l i c y   w h i c h   i s   s e l e c t e d   b y   d e f a u l t .   T h e   f o l l o w i n g   e x a m p l e   s h o w s   t h i s   b e h a v i o r   w h i l e   s c a l i n g   d o w n :   b e h a v i o r :   s c a l e D o w n :   p o l i c i e s :   -   t y p e :   P o d s   v a l u e :   4   p e r i o d S e c o n d s :   6 0   -   t y p e :   P e r c e n t   v a l u e :   1 0   p e r i o d S e c o n d s :   6 0   p e r i o d S e c o n d s   i n d i c a t e s   t h e   l e n g t h   o f   t i m e   i n   t h e   p a s t   f o r   w h i c h   t h e   p o l i c y   m u s t   h o l d   t r u e .   T h e   m a x i m u m   v a l u e   t h a t   y o u   c a n   s e t   f o r   p e r i o d S e c o n d s   i s   1 8 0 0   ( h a l f   a n   h o u r ) .   T h e   f i r s t   p o l i c y   ( P o d s )   a l l o w s   a t   m o s t   4   r e p l i c a s   t o   b e   s c a l e d   d o w n   i n   o n e   m i n u t e .   T h e   s e c o n d   p o l i c y   ( P e r c e n t )   a l l o w s   a t   m o s t   1 0 %   o f   t h e   c u r r e n t   r e p l i c a s   t o   b e   s c a l e d   d o w n   i n   o n e   m i n u t e .   S i n c e   b y   d e f a u l t   t h e   p o l i c y   w h i c h   a l l o w s   t h e   h i g h e s t   a m o u n t   o f   c h a n g e   i s   s e l e c t e d ,   t h e   s e c o n d   p o l i c y   w i l l   o n l y   b e   u s e d   w h e n   t h e   n u m b e r   o f   p o d   r e p l i c a s   i s   m o r e   t h a n   4 0 .   W i t h   4 0   o r   l e s s   r e p l i c a s ,   t h e   f i r s t   p o l i c y   w i l l   b e   a p p l i e d .   F o r   i n s t a n c e   i f   t h e r e   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_section_3_2777"
  },
  {
    "question": "What is Stabilization window?",
    "answer": "T h e   s t a b i l i z a t i o n   w i n d o w   i s   u s e d   t o   r e s t r i c t   t h e   f l a p p i n g   o f   r e p l i c a   c o u n t   w h e n   t h e   m e t r i c s   u s e d   f o r   s c a l i n g   k e e p   f l u c t u a t i n g .   T h e   a u t o s c a l i n g   a l g o r i t h m   u s e s   t h i s   w i n d o w   t o   i n f e r   a   p r e v i o u s   d e s i r e d   s t a t e   a n d   a v o i d   u n w a n t e d   c h a n g e s   t o   w o r k l o a d   s c a l e .   F o r   e x a m p l e ,   i n   t h e   f o l l o w i n g   e x a m p l e   s n i p p e t ,   a   s t a b i l i z a t i o n   w i n d o w   i s   s p e c i f i e d   f o r   s c a l e D o w n .   b e h a v i o r :   s c a l e D o w n :   s t a b i l i z a t i o n W i n d o w S e c o n d s :   3 0 0   W h e n   t h e   m e t r i c s   i n d i c a t e   t h a t   t h e   t a r g e t   s h o u l d   b e   s c a l e d   d o w n   t h e   a l g o r i t h m   l o o k s   i n t o   p r e v i o u s l y   c o m p u t e d   d e s i r e d   s t a t e s ,   a n d   u s e s   t h e   h i g h e s t   v a l u e   f r o m   t h e   s p e c i f i e d   i n t e r v a l .   I n   t h e   a b o v e   e x a m p l e ,   a l l   d e s i r e d   s t a t e s   f r o m   t h e   p a s t   5   m i n u t e s   w i l l   b e   c o n s i d e r e d .   T h i s   a p p r o x i m a t e s   a   r o l l i n g   m a x i m u m ,   a n d   a v o i d s   h a v i n g   t h e   s c a l i n g   a l g o r i t h m   f r e q u e n t l y   r e m o v e   P o d s   o n l y   t o   t r i g g e r   r e c r e a t i n g   a n   e q u i v a l e n t   P o d   j u s t   m o m e n t s   l a t e r .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_section_3_2778"
  },
  {
    "question": "What is Tolerance?",
    "answer": "T h e   t o l e r a n c e   f i e l d   c o n f i g u r e s   a   t h r e s h o l d   f o r   m e t r i c   v a r i a t i o n s ,   p r e v e n t i n g   t h e   a u t o s c a l e r   f r o m   s c a l i n g   f o r   c h a n g e s   b e l o w   t h a t   v a l u e .   T h i s   t o l e r a n c e   i s   d e f i n e d   a s   t h e   a m o u n t   o f   v a r i a t i o n   a r o u n d   t h e   d e s i r e d   m e t r i c   v a l u e   u n d e r   w h i c h   n o   s c a l i n g   w i l l   o c c u r .   F o r   e x a m p l e ,   c o n s i d e r   a   H o r i z o n t a l P o d A u t o s c a l e r   c o n f i g u r e d   w i t h   a   t a r g e t   m e m o r y   c o n s u m p t i o n   o f   1 0 0 M i B   a n d   a   s c a l e - u p   t o l e r a n c e   o f   5 % :   b e h a v i o r :   s c a l e U p :   t o l e r a n c e :   0 . 0 5   #   5 %   t o l e r a n c e   f o r   s c a l e   u p   W i t h   t h i s   c o n f i g u r a t i o n ,   t h e   H P A   a l g o r i t h m   w i l l   o n l y   c o n s i d e r   s c a l i n g   u p   i f   t h e   m e m o r y   c o n s u m p t i o n   i s   h i g h e r   t h a n   1 0 5 M i B   ( t h a t   i s :   5 %   a b o v e   t h e   t a r g e t ) .   I f   y o u   d o n ' t   s e t   t h i s   f i e l d ,   t h e   H P A   a p p l i e s   t h e   d e f a u l t   c l u s t e r - w i d e   t o l e r a n c e   o f   1 0 % .   T h i s   d e f a u l t   c a n   b e   u p d a t e d   f o r   b o t h   s c a l e - u p   a n d   s c a l e - d o w n   u s i n g   t h e   k u b e - c o n t r o l l e r - m a n a g e r   - - h o r i z o n t a l - p o d - a u t o s c a l e r - t o l e r a n c e   c o m m a n d   l i n e   a r g u m e n t .   ( Y o u   c a n ' t   u s e   t h e   K u b e r n e t e s   A P I   t o   c o n f i g u r e   t h i s   d e f a u l t   v a l u e . )",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_section_3_2779"
  },
  {
    "question": "What is Default Behavior?",
    "answer": "T o   u s e   t h e   c u s t o m   s c a l i n g   n o t   a l l   f i e l d s   h a v e   t o   b e   s p e c i f i e d .   O n l y   v a l u e s   w h i c h   n e e d   t o   b e   c u s t o m i z e d   c a n   b e   s p e c i f i e d .   T h e s e   c u s t o m   v a l u e s   a r e   m e r g e d   w i t h   d e f a u l t   v a l u e s .   T h e   d e f a u l t   v a l u e s   m a t c h   t h e   e x i s t i n g   b e h a v i o r   i n   t h e   H P A   a l g o r i t h m .   b e h a v i o r :   s c a l e D o w n :   s t a b i l i z a t i o n W i n d o w S e c o n d s :   3 0 0   p o l i c i e s :   -   t y p e :   P e r c e n t   v a l u e :   1 0 0   p e r i o d S e c o n d s :   1 5   s c a l e U p :   s t a b i l i z a t i o n W i n d o w S e c o n d s :   0   p o l i c i e s :   -   t y p e :   P e r c e n t   v a l u e :   1 0 0   p e r i o d S e c o n d s :   1 5   -   t y p e :   P o d s   v a l u e :   4   p e r i o d S e c o n d s :   1 5   s e l e c t P o l i c y :   M a x   F o r   s c a l i n g   d o w n   t h e   s t a b i l i z a t i o n   w i n d o w   i s   3 0 0   s e c o n d s   ( o r   t h e   v a l u e   o f   t h e   - - h o r i z o n t a l - p o d - a u t o s c a l e r - d o w n s c a l e - s t a b i l i z a t i o n   f l a g   i f   p r o v i d e d ) .   T h e r e   i s   o n l y   a   s i n g l e   p o l i c y   f o r   s c a l i n g   d o w n   w h i c h   a l l o w s   a   1 0 0 %   o f   t h e   c u r r e n t l y   r u n n i n g   r e p l i c a s   t o   b e   r e m o v e d   w h i c h   m e a n s   t h e   s c a l i n g   t a r g e t   c a n   b e   s c a l e d   d o w n   t o   t h e   m i n i m u m   a l l o w e d   r e p l i c a s .   F o r   s c a l i n g   u p   t h e r e   i s   n o   s t a b i l i z a t i o n   w i n d o w .   W h e n   t h e   m e t r i c s   i n d i c a t e   t h a t   t h e   t a r g e t   s h o u l d   b e   s c a l e d   u p   t h e   t a r g e t   i s   s c a l e d   u p   i m m e d i a t e l y .   T h e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_section_3_2780"
  },
  {
    "question": "What is Example: change downscale stabilization window?",
    "answer": "T o   p r o v i d e   a   c u s t o m   d o w n s c a l e   s t a b i l i z a t i o n   w i n d o w   o f   1   m i n u t e ,   t h e   f o l l o w i n g   b e h a v i o r   w o u l d   b e   a d d e d   t o   t h e   H P A :   b e h a v i o r :   s c a l e D o w n :   s t a b i l i z a t i o n W i n d o w S e c o n d s :   6 0",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_section_3_2781"
  },
  {
    "question": "What is Example: limit scale down rate?",
    "answer": "T o   l i m i t   t h e   r a t e   a t   w h i c h   p o d s   a r e   r e m o v e d   b y   t h e   H P A   t o   1 0 %   p e r   m i n u t e ,   t h e   f o l l o w i n g   b e h a v i o r   w o u l d   b e   a d d e d   t o   t h e   H P A :   b e h a v i o r :   s c a l e D o w n :   p o l i c i e s :   -   t y p e :   P e r c e n t   v a l u e :   1 0   p e r i o d S e c o n d s :   6 0   T o   e n s u r e   t h a t   n o   m o r e   t h a n   5   P o d s   a r e   r e m o v e d   p e r   m i n u t e ,   y o u   c a n   a d d   a   s e c o n d   s c a l e - d o w n   p o l i c y   w i t h   a   f i x e d   s i z e   o f   5 ,   a n d   s e t   s e l e c t P o l i c y   t o   m i n i m u m .   S e t t i n g   s e l e c t P o l i c y   t o   M i n   m e a n s   t h a t   t h e   a u t o s c a l e r   c h o o s e s   t h e   p o l i c y   t h a t   a f f e c t s   t h e   s m a l l e s t   n u m b e r   o f   P o d s :   b e h a v i o r :   s c a l e D o w n :   p o l i c i e s :   -   t y p e :   P e r c e n t   v a l u e :   1 0   p e r i o d S e c o n d s :   6 0   -   t y p e :   P o d s   v a l u e :   5   p e r i o d S e c o n d s :   6 0   s e l e c t P o l i c y :   M i n",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_section_3_2782"
  },
  {
    "question": "What is Example: disable scale down?",
    "answer": "T h e   s e l e c t P o l i c y   v a l u e   o f   D i s a b l e d   t u r n s   o f f   s c a l i n g   t h e   g i v e n   d i r e c t i o n .   S o   t o   p r e v e n t   d o w n s c a l i n g   t h e   f o l l o w i n g   p o l i c y   w o u l d   b e   u s e d :   b e h a v i o r :   s c a l e D o w n :   s e l e c t P o l i c y :   D i s a b l e d",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_section_3_2783"
  },
  {
    "question": "What is Support for HorizontalPodAutoscaler in kubectl?",
    "answer": "H o r i z o n t a l P o d A u t o s c a l e r ,   l i k e   e v e r y   A P I   r e s o u r c e ,   i s   s u p p o r t e d   i n   a   s t a n d a r d   w a y   b y   k u b e c t l .   Y o u   c a n   c r e a t e   a   n e w   a u t o s c a l e r   u s i n g   k u b e c t l   c r e a t e   c o m m a n d .   Y o u   c a n   l i s t   a u t o s c a l e r s   b y   k u b e c t l   g e t   h p a   o r   g e t   d e t a i l e d   d e s c r i p t i o n   b y   k u b e c t l   d e s c r i b e   h p a .   F i n a l l y ,   y o u   c a n   d e l e t e   a n   a u t o s c a l e r   u s i n g   k u b e c t l   d e l e t e   h p a .   I n   a d d i t i o n ,   t h e r e   i s   a   s p e c i a l   k u b e c t l   a u t o s c a l e   c o m m a n d   f o r   c r e a t i n g   a   H o r i z o n t a l P o d A u t o s c a l e r   o b j e c t .   F o r   i n s t a n c e ,   e x e c u t i n g   k u b e c t l   a u t o s c a l e   r s   f o o   - - m i n = 2   - - m a x = 5   - - c p u - p e r c e n t = 8 0   w i l l   c r e a t e   a n   a u t o s c a l e r   f o r   R e p l i c a S e t   f o o ,   w i t h   t a r g e t   C P U   u t i l i z a t i o n   s e t   t o   8 0 %   a n d   t h e   n u m b e r   o f   r e p l i c a s   b e t w e e n   2   a n d   5 .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_section_2_2784"
  },
  {
    "question": "What is Implicit maintenance-mode deactivation?",
    "answer": "Y o u   c a n   i m p l i c i t l y   d e a c t i v a t e   t h e   H P A   f o r   a   t a r g e t   w i t h o u t   t h e   n e e d   t o   c h a n g e   t h e   H P A   c o n f i g u r a t i o n   i t s e l f .   I f   t h e   t a r g e t ' s   d e s i r e d   r e p l i c a   c o u n t   i s   s e t   t o   0 ,   a n d   t h e   H P A ' s   m i n i m u m   r e p l i c a   c o u n t   i s   g r e a t e r   t h a n   0 ,   t h e   H P A   s t o p s   a d j u s t i n g   t h e   t a r g e t   ( a n d   s e t s   t h e   S c a l i n g A c t i v e   C o n d i t i o n   o n   i t s e l f   t o   f a l s e )   u n t i l   y o u   r e a c t i v a t e   i t   b y   m a n u a l l y   a d j u s t i n g   t h e   t a r g e t ' s   d e s i r e d   r e p l i c a   c o u n t   o r   H P A ' s   m i n i m u m   r e p l i c a   c o u n t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_section_2_2785"
  },
  {
    "question": "What is Migrating Deployments and StatefulSets to horizontal autoscaling?",
    "answer": "W h e n   a n   H P A   i s   e n a b l e d ,   i t   i s   r e c o m m e n d e d   t h a t   t h e   v a l u e   o f   s p e c . r e p l i c a s   o f   t h e   D e p l o y m e n t   a n d   /   o r   S t a t e f u l S e t   b e   r e m o v e d   f r o m   t h e i r   m a n i f e s t ( s ) .   I f   t h i s   i s n ' t   d o n e ,   a n y   t i m e   a   c h a n g e   t o   t h a t   o b j e c t   i s   a p p l i e d ,   f o r   e x a m p l e   v i a   k u b e c t l   a p p l y   - f   d e p l o y m e n t . y a m l ,   t h i s   w i l l   i n s t r u c t   K u b e r n e t e s   t o   s c a l e   t h e   c u r r e n t   n u m b e r   o f   P o d s   t o   t h e   v a l u e   o f   t h e   s p e c . r e p l i c a s   k e y .   T h i s   m a y   n o t   b e   d e s i r e d   a n d   c o u l d   b e   t r o u b l e s o m e   w h e n   a n   H P A   i s   a c t i v e ,   r e s u l t i n g   i n   t h r a s h i n g   o r   f l a p p i n g   b e h a v i o r .   K e e p   i n   m i n d   t h a t   t h e   r e m o v a l   o f   s p e c . r e p l i c a s   m a y   i n c u r   a   o n e - t i m e   d e g r a d a t i o n   o f   P o d   c o u n t s   a s   t h e   d e f a u l t   v a l u e   o f   t h i s   k e y   i s   1   ( r e f e r e n c e   D e p l o y m e n t   R e p l i c a s ) .   U p o n   t h e   u p d a t e ,   a l l   P o d s   e x c e p t   1   w i l l   b e g i n   t h e i r   t e r m i n a t i o n   p r o c e d u r e s .   A n y   d e p l o y m e n t   a p p l i c a t i o n   a f t e r w a r d s   w i l l   b e h a v e   a s   n o r m a l   a n d   r e s p e c t   a   r o l l i n g   u p d a t e   c o n f i g u r a t i o n   a s   d e s i r e d .   Y o u   c a n   a v o i d   t h i s   d e g r a d a t i o n   b y   c h o o s i n g   o n e   o f   t h e   f o l l o w i n g   t w o   m e t h o d s   b a s e d   o n   h o w   y o u   a r e   m o d i f y i n g   y o u r   d e p l o y m e n t s :   k u b e c t l   a p p l y   e d i t - l a s t - a p p l i e d   d e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_section_3_2786"
  },
  {
    "question": "What is What's next?",
    "answer": "I f   y o u   c o n f i g u r e   a u t o s c a l i n g   i n   y o u r   c l u s t e r ,   y o u   m a y   a l s o   w a n t   t o   c o n s i d e r   u s i n g   n o d e   a u t o s c a l i n g   t o   e n s u r e   y o u   a r e   r u n n i n g   t h e   r i g h t   n u m b e r   o f   n o d e s .   F o r   m o r e   i n f o r m a t i o n   o n   H o r i z o n t a l P o d A u t o s c a l e r :   R e a d   a   w a l k t h r o u g h   e x a m p l e   f o r   h o r i z o n t a l   p o d   a u t o s c a l i n g . R e a d   d o c u m e n t a t i o n   f o r   k u b e c t l   a u t o s c a l e . I f   y o u   w o u l d   l i k e   t o   w r i t e   y o u r   o w n   c u s t o m   m e t r i c s   a d a p t e r ,   c h e c k   o u t   t h e   b o i l e r p l a t e   t o   g e t   s t a r t e d . R e a d   t h e   A P I   r e f e r e n c e   f o r   H o r i z o n t a l P o d A u t o s c a l e r .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/",
    "id": "k8s_00154_section_2_2787"
  },
  {
    "question": "What is Windows Storage?",
    "answer": "Windows StorageThis page provides an storage overview specific to the Windows operating system.Persistent storageWindows has a layered filesystem driver to mount container layers and create a copy filesystem based on NTFS. All file paths in the container are resolved only within the context of that container.With Docker, volume mounts can only target a directory in the container, and not an individual file. This limitation does not apply to containerd.Volume mounts cannot project files or directories back to the host filesystem.Read-only filesystems are not supported because write access is always required for the Windows registry and SAM database. However, read-only volumes are supported.Volume user-masks and permissions are not available. Because the SAM is not shared between the host & container, there's no mapping between them. All permissions are resolved within the context of the container.As a result, the following storage functionality is not supported on Windows nodes:Volume subpath mounts: only the entire volume can be mounted in a Windows containerSubpath volume mounting for SecretsHost mount projectionRead-only root filesystem (mapped volumes still support readOnly)Block device mappingMemory as the storage medium (for example, emptyDir.medium set to Memory)File system features like uid/gid; per-user Linux filesystem permissionsSetting secret permissions with DefaultMode (due to UID/GID dependency)NFS based storage/volume supportExpanding the mounted volume (resizefs)Kubernetes volumes enable complex applications, with data persistence and Pod volume sharing requirements, to be deployed on Kubernetes. Management of persistent volumes associated with a specific storage back-end or protocol includes actions such as provisioning/de-provisioning/resizing of volumes, attaching/detaching a volume to/from a Kubernetes node and mounting/dismounting a volume to/from individual containers in a pod that needs to persist data.Volume management components are shipped as Kubernetes volume plugin. The following broad classes of Kubernetes volume plugins are supported on Windows:FlexVolume pluginsPlease note that FlexVolumes have been deprecated as of 1.23CSI PluginsIn-tree volume pluginsThe following in-tree plugins support persistent storage on Windows nodes:azureFilevsphereVolume",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/windows-storage/",
    "id": "k8s_00155_qa_2788"
  },
  {
    "question": "How does Windows Storage work?",
    "answer": "Windows StorageThis page provides an storage overview specific to the Windows operating system.Persistent storageWindows has a layered filesystem driver to mount container layers and create a copy filesystem based on NTFS. All file paths in the container are resolved only within the context of that container.With Docker, volume mounts can only target a directory in the container, and not an individual file. This limitation does not apply to containerd.Volume mounts cannot project files or directories back to the host filesystem.Read-only filesystems are not supported because write access is always required for the Windows registry and SAM database. However, read-only volumes are supported.Volume user-masks and permissions are not available. Because the SAM is not shared between the host & container, there's no mapping between them. All permissions are resolved within the context of the container.As a result, the following storage functionality is not supported on Windows nodes:Volume subpath mounts: only the entire volume can be mounted in a Windows containerSubpath volume mounting for SecretsHost mount projectionRead-only root filesystem (mapped volumes still support readOnly)Block device mappingMemory as the storage medium (for example, emptyDir.medium set to Memory)File system features like uid/gid; per-user Linux filesystem permissionsSetting secret permissions with DefaultMode (due to UID/GID dependency)NFS based storage/volume supportExpanding the mounted volume (resizefs)Kubernetes volumes enable complex applications, with data persistence and Pod volume sharing requirements, to be deployed on Kubernetes. Management of persistent volumes associated with a specific storage back-end or protocol includes actions such as provisioning/de-provisioning/resizing of volumes, attaching/detaching a volume to/from a Kubernetes node and mounting/dismounting a volume to/from individual containers in a pod that needs to persist data.Volume management components are shipped as Kubernetes volume plugin. The following broad classes of Kubernetes volume plugins are supported on Windows:FlexVolume pluginsPlease note that FlexVolumes have been deprecated as of 1.23CSI PluginsIn-tree volume pluginsThe following in-tree plugins support persistent storage on Windows nodes:azureFilevsphereVolume",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/windows-storage/",
    "id": "k8s_00155_qa_2789"
  },
  {
    "question": "When would you use Windows Storage?",
    "answer": "Windows StorageThis page provides an storage overview specific to the Windows operating system.Persistent storageWindows has a layered filesystem driver to mount container layers and create a copy filesystem based on NTFS. All file paths in the container are resolved only within the context of that container.With Docker, volume mounts can only target a directory in the container, and not an individual file. This limitation does not apply to containerd.Volume mounts cannot project files or directories back to the host filesystem.Read-only filesystems are not supported because write access is always required for the Windows registry and SAM database. However, read-only volumes are supported.Volume user-masks and permissions are not available. Because the SAM is not shared between the host & container, there's no mapping between them. All permissions are resolved within the context of the container.As a result, the following storage functionality is not supported on Windows nodes:Volume subpath mounts: only the entire volume can be mounted in a Windows containerSubpath volume mounting for SecretsHost mount projectionRead-only root filesystem (mapped volumes still support readOnly)Block device mappingMemory as the storage medium (for example, emptyDir.medium set to Memory)File system features like uid/gid; per-user Linux filesystem permissionsSetting secret permissions with DefaultMode (due to UID/GID dependency)NFS based storage/volume supportExpanding the mounted volume (resizefs)Kubernetes volumes enable complex applications, with data persistence and Pod volume sharing requirements, to be deployed on Kubernetes. Management of persistent volumes associated with a specific storage back-end or protocol includes actions such as provisioning/de-provisioning/resizing of volumes, attaching/detaching a volume to/from a Kubernetes node and mounting/dismounting a volume to/from individual containers in a pod that needs to persist data.Volume management components are shipped as Kubernetes volume plugin. The following broad classes of Kubernetes volume plugins are supported on Windows:FlexVolume pluginsPlease note that FlexVolumes have been deprecated as of 1.23CSI PluginsIn-tree volume pluginsThe following in-tree plugins support persistent storage on Windows nodes:azureFilevsphereVolume",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/windows-storage/",
    "id": "k8s_00155_qa_2790"
  },
  {
    "question": "What are the benefits of Windows Storage?",
    "answer": "Windows StorageThis page provides an storage overview specific to the Windows operating system.Persistent storageWindows has a layered filesystem driver to mount container layers and create a copy filesystem based on NTFS. All file paths in the container are resolved only within the context of that container.With Docker, volume mounts can only target a directory in the container, and not an individual file. This limitation does not apply to containerd.Volume mounts cannot project files or directories back to the host filesystem.Read-only filesystems are not supported because write access is always required for the Windows registry and SAM database. However, read-only volumes are supported.Volume user-masks and permissions are not available. Because the SAM is not shared between the host & container, there's no mapping between them. All permissions are resolved within the context of the container.As a result, the following storage functionality is not supported on Windows nodes:Volume subpath mounts: only the entire volume can be mounted in a Windows containerSubpath volume mounting for SecretsHost mount projectionRead-only root filesystem (mapped volumes still support readOnly)Block device mappingMemory as the storage medium (for example, emptyDir.medium set to Memory)File system features like uid/gid; per-user Linux filesystem permissionsSetting secret permissions with DefaultMode (due to UID/GID dependency)NFS based storage/volume supportExpanding the mounted volume (resizefs)Kubernetes volumes enable complex applications, with data persistence and Pod volume sharing requirements, to be deployed on Kubernetes. Management of persistent volumes associated with a specific storage back-end or protocol includes actions such as provisioning/de-provisioning/resizing of volumes, attaching/detaching a volume to/from a Kubernetes node and mounting/dismounting a volume to/from individual containers in a pod that needs to persist data.Volume management components are shipped as Kubernetes volume plugin. The following broad classes of Kubernetes volume plugins are supported on Windows:FlexVolume pluginsPlease note that FlexVolumes have been deprecated as of 1.23CSI PluginsIn-tree volume pluginsThe following in-tree plugins support persistent storage on Windows nodes:azureFilevsphereVolume",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/windows-storage/",
    "id": "k8s_00155_qa_2791"
  },
  {
    "question": "What is Windows Storage?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   s t o r a g e   o v e r v i e w   s p e c i f i c   t o   t h e   W i n d o w s   o p e r a t i n g   s y s t e m .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/windows-storage/",
    "id": "k8s_00155_section_1_2792"
  },
  {
    "question": "What is Persistent storage?",
    "answer": "W i n d o w s   h a s   a   l a y e r e d   f i l e s y s t e m   d r i v e r   t o   m o u n t   c o n t a i n e r   l a y e r s   a n d   c r e a t e   a   c o p y   f i l e s y s t e m   b a s e d   o n   N T F S .   A l l   f i l e   p a t h s   i n   t h e   c o n t a i n e r   a r e   r e s o l v e d   o n l y   w i t h i n   t h e   c o n t e x t   o f   t h a t   c o n t a i n e r .   W i t h   D o c k e r ,   v o l u m e   m o u n t s   c a n   o n l y   t a r g e t   a   d i r e c t o r y   i n   t h e   c o n t a i n e r ,   a n d   n o t   a n   i n d i v i d u a l   f i l e .   T h i s   l i m i t a t i o n   d o e s   n o t   a p p l y   t o   c o n t a i n e r d . V o l u m e   m o u n t s   c a n n o t   p r o j e c t   f i l e s   o r   d i r e c t o r i e s   b a c k   t o   t h e   h o s t   f i l e s y s t e m . R e a d - o n l y   f i l e s y s t e m s   a r e   n o t   s u p p o r t e d   b e c a u s e   w r i t e   a c c e s s   i s   a l w a y s   r e q u i r e d   f o r   t h e   W i n d o w s   r e g i s t r y   a n d   S A M   d a t a b a s e .   H o w e v e r ,   r e a d - o n l y   v o l u m e s   a r e   s u p p o r t e d . V o l u m e   u s e r - m a s k s   a n d   p e r m i s s i o n s   a r e   n o t   a v a i l a b l e .   B e c a u s e   t h e   S A M   i s   n o t   s h a r e d   b e t w e e n   t h e   h o s t   &   c o n t a i n e r ,   t h e r e ' s   n o   m a p p i n g   b e t w e e n   t h e m .   A l l   p e r m i s s i o n s   a r e   r e s o l v e d   w i t h i n   t h e   c o n t e x t   o f   t h e   c o n t a i n e r .   A s   a   r e s u l t ,   t h e   f o l l o w i n g   s t o r a g e   f u n c t i o n a l i t y   i s   n o t   s u p p o r t e d   o n   W i n d o w s   n o d e s :   V o l u m e   s u b p a t h   m o u n t s :   o n l y   t h e   e n t i r e   v o l u m e   c a n   b e   m o u n t e d   i n   a   W i n d o w s   c o n t a i n e r S u b p a t h   v o l u m e   m o u n t i n g   f o r   S e c r e t s ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/windows-storage/",
    "id": "k8s_00155_section_2_2793"
  },
  {
    "question": "What is In-tree volume plugins?",
    "answer": "T h e   f o l l o w i n g   i n - t r e e   p l u g i n s   s u p p o r t   p e r s i s t e n t   s t o r a g e   o n   W i n d o w s   n o d e s :   a z u r e F i l e v s p h e r e V o l u m e",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/windows-storage/",
    "id": "k8s_00155_section_5_2794"
  },
  {
    "question": "What is Extending the Kubernetes API?",
    "answer": "Extending the Kubernetes APICustom resources are extensions of the Kubernetes API. Kubernetes provides two ways to add custom resources to your cluster:The CustomResourceDefinition (CRD) mechanism allows you to declaratively define a new custom API with an API group, kind, and schema that you specify. The Kubernetes control plane serves and handles the storage of your custom resource. CRDs allow you to create new types of resources for your cluster without writing and running a custom API server.The aggregation layer sits behind the primary API server, which acts as a proxy. This arrangement is called API Aggregation (AA), which allows you to provide specialized implementations for your custom resources by writing and deploying your own API server. The main API server delegates requests to your API server for the custom APIs that you specify, making them available to all of its clients.Custom ResourcesKubernetes API Aggregation Layer",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/",
    "id": "k8s_00156_qa_2795"
  },
  {
    "question": "How does Extending the Kubernetes API work?",
    "answer": "Extending the Kubernetes APICustom resources are extensions of the Kubernetes API. Kubernetes provides two ways to add custom resources to your cluster:The CustomResourceDefinition (CRD) mechanism allows you to declaratively define a new custom API with an API group, kind, and schema that you specify. The Kubernetes control plane serves and handles the storage of your custom resource. CRDs allow you to create new types of resources for your cluster without writing and running a custom API server.The aggregation layer sits behind the primary API server, which acts as a proxy. This arrangement is called API Aggregation (AA), which allows you to provide specialized implementations for your custom resources by writing and deploying your own API server. The main API server delegates requests to your API server for the custom APIs that you specify, making them available to all of its clients.Custom ResourcesKubernetes API Aggregation Layer",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/",
    "id": "k8s_00156_qa_2796"
  },
  {
    "question": "When would you use Extending the Kubernetes API?",
    "answer": "Extending the Kubernetes APICustom resources are extensions of the Kubernetes API. Kubernetes provides two ways to add custom resources to your cluster:The CustomResourceDefinition (CRD) mechanism allows you to declaratively define a new custom API with an API group, kind, and schema that you specify. The Kubernetes control plane serves and handles the storage of your custom resource. CRDs allow you to create new types of resources for your cluster without writing and running a custom API server.The aggregation layer sits behind the primary API server, which acts as a proxy. This arrangement is called API Aggregation (AA), which allows you to provide specialized implementations for your custom resources by writing and deploying your own API server. The main API server delegates requests to your API server for the custom APIs that you specify, making them available to all of its clients.Custom ResourcesKubernetes API Aggregation Layer",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/",
    "id": "k8s_00156_qa_2797"
  },
  {
    "question": "What are the benefits of Extending the Kubernetes API?",
    "answer": "Extending the Kubernetes APICustom resources are extensions of the Kubernetes API. Kubernetes provides two ways to add custom resources to your cluster:The CustomResourceDefinition (CRD) mechanism allows you to declaratively define a new custom API with an API group, kind, and schema that you specify. The Kubernetes control plane serves and handles the storage of your custom resource. CRDs allow you to create new types of resources for your cluster without writing and running a custom API server.The aggregation layer sits behind the primary API server, which acts as a proxy. This arrangement is called API Aggregation (AA), which allows you to provide specialized implementations for your custom resources by writing and deploying your own API server. The main API server delegates requests to your API server for the custom APIs that you specify, making them available to all of its clients.Custom ResourcesKubernetes API Aggregation Layer",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/",
    "id": "k8s_00156_qa_2798"
  },
  {
    "question": "What is Extending the Kubernetes API?",
    "answer": "C u s t o m   r e s o u r c e s   a r e   e x t e n s i o n s   o f   t h e   K u b e r n e t e s   A P I .   K u b e r n e t e s   p r o v i d e s   t w o   w a y s   t o   a d d   c u s t o m   r e s o u r c e s   t o   y o u r   c l u s t e r :   T h e   C u s t o m R e s o u r c e D e f i n i t i o n   ( C R D )   m e c h a n i s m   a l l o w s   y o u   t o   d e c l a r a t i v e l y   d e f i n e   a   n e w   c u s t o m   A P I   w i t h   a n   A P I   g r o u p ,   k i n d ,   a n d   s c h e m a   t h a t   y o u   s p e c i f y .   T h e   K u b e r n e t e s   c o n t r o l   p l a n e   s e r v e s   a n d   h a n d l e s   t h e   s t o r a g e   o f   y o u r   c u s t o m   r e s o u r c e .   C R D s   a l l o w   y o u   t o   c r e a t e   n e w   t y p e s   o f   r e s o u r c e s   f o r   y o u r   c l u s t e r   w i t h o u t   w r i t i n g   a n d   r u n n i n g   a   c u s t o m   A P I   s e r v e r . T h e   a g g r e g a t i o n   l a y e r   s i t s   b e h i n d   t h e   p r i m a r y   A P I   s e r v e r ,   w h i c h   a c t s   a s   a   p r o x y .   T h i s   a r r a n g e m e n t   i s   c a l l e d   A P I   A g g r e g a t i o n   ( A A ) ,   w h i c h   a l l o w s   y o u   t o   p r o v i d e   s p e c i a l i z e d   i m p l e m e n t a t i o n s   f o r   y o u r   c u s t o m   r e s o u r c e s   b y   w r i t i n g   a n d   d e p l o y i n g   y o u r   o w n   A P I   s e r v e r .   T h e   m a i n   A P I   s e r v e r   d e l e g a t e s   r e q u e s t s   t o   y o u r   A P I   s e r v e r   f o r   t h e   c u s t o m   A P I s   t h a t   y o u   s p e c i f y ,   m a k i n g   t h e m   a v a i l a b l e   t o   a l l   o f   i t s   c l i e n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/",
    "id": "k8s_00156_section_1_2799"
  },
  {
    "question": "What is kubectl reference?",
    "answer": "kubectl referencekubectlkubectl annotatekubectl api-resourceskubectl api-versionskubectl applykubectl attachkubectl authkubectl autoscalekubectl certificatekubectl cluster-infokubectl completionkubectl configkubectl cordonkubectl cpkubectl createkubectl debugkubectl deletekubectl describekubectl diffkubectl drainkubectl editkubectl eventskubectl execkubectl explainkubectl exposekubectl getkubectl kustomizekubectl labelkubectl logskubectl optionskubectl patchkubectl pluginkubectl port-forwardkubectl proxykubectl replacekubectl rolloutkubectl runkubectl scalekubectl setkubectl taintkubectl topkubectl uncordonkubectl versionkubectl wait",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/",
    "id": "k8s_00157_qa_2800"
  },
  {
    "question": "How does kubectl reference work?",
    "answer": "kubectl referencekubectlkubectl annotatekubectl api-resourceskubectl api-versionskubectl applykubectl attachkubectl authkubectl autoscalekubectl certificatekubectl cluster-infokubectl completionkubectl configkubectl cordonkubectl cpkubectl createkubectl debugkubectl deletekubectl describekubectl diffkubectl drainkubectl editkubectl eventskubectl execkubectl explainkubectl exposekubectl getkubectl kustomizekubectl labelkubectl logskubectl optionskubectl patchkubectl pluginkubectl port-forwardkubectl proxykubectl replacekubectl rolloutkubectl runkubectl scalekubectl setkubectl taintkubectl topkubectl uncordonkubectl versionkubectl wait",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/",
    "id": "k8s_00157_qa_2801"
  },
  {
    "question": "When would you use kubectl reference?",
    "answer": "kubectl referencekubectlkubectl annotatekubectl api-resourceskubectl api-versionskubectl applykubectl attachkubectl authkubectl autoscalekubectl certificatekubectl cluster-infokubectl completionkubectl configkubectl cordonkubectl cpkubectl createkubectl debugkubectl deletekubectl describekubectl diffkubectl drainkubectl editkubectl eventskubectl execkubectl explainkubectl exposekubectl getkubectl kustomizekubectl labelkubectl logskubectl optionskubectl patchkubectl pluginkubectl port-forwardkubectl proxykubectl replacekubectl rolloutkubectl runkubectl scalekubectl setkubectl taintkubectl topkubectl uncordonkubectl versionkubectl wait",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/",
    "id": "k8s_00157_qa_2802"
  },
  {
    "question": "What are the benefits of kubectl reference?",
    "answer": "kubectl referencekubectlkubectl annotatekubectl api-resourceskubectl api-versionskubectl applykubectl attachkubectl authkubectl autoscalekubectl certificatekubectl cluster-infokubectl completionkubectl configkubectl cordonkubectl cpkubectl createkubectl debugkubectl deletekubectl describekubectl diffkubectl drainkubectl editkubectl eventskubectl execkubectl explainkubectl exposekubectl getkubectl kustomizekubectl labelkubectl logskubectl optionskubectl patchkubectl pluginkubectl port-forwardkubectl proxykubectl replacekubectl rolloutkubectl runkubectl scalekubectl setkubectl taintkubectl topkubectl uncordonkubectl versionkubectl wait",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/",
    "id": "k8s_00157_qa_2803"
  },
  {
    "question": "What is kubelet?",
    "answer": "kubeletSynopsisThe kubelet is the primary \"node agent\" that runs on each node. It can register the node with the apiserver using one of: the hostname; a flag to override the hostname; or specific logic for a cloud provider.The kubelet works in terms of a PodSpec. A PodSpec is a YAML or JSON object that describes a pod. The kubelet takes a set of PodSpecs that are provided through various mechanisms (primarily through the apiserver) and ensures that the containers described in those PodSpecs are running and healthy. The kubelet doesn't manage containers which were not created by Kubernetes.Other than from an PodSpec from the apiserver, there are two ways that a container manifest can be provided to the Kubelet.File: Path passed as a flag on the command line. Files under this path will be monitored periodically for updates. The monitoring period is 20s by default and is configurable via a flag.HTTP endpoint: HTTP endpoint passed as a parameter on the command line. This endpoint is checked every 20 seconds (also configurable with a flag).kubelet [flags] Options--address string Default: 0.0.0.0The IP address for the Kubelet to serve on (set to '0.0.0.0' or '::' for listening on all interfaces and IP address families) (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--allowed-unsafe-sysctls stringsComma-separated whitelist of unsafe sysctls or unsafe sysctl patterns (ending in *). Use these at your own risk. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--anonymous-auth Default: trueEnables anonymous requests to the Kubelet server. Requests that are not rejected by another authentication method are treated as anonymous requests. Anonymous requests have a username of system:anonymous, and a group name of system:unauthenticated. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--authentication-token-webhookUse the TokenReview API to determine authentication for bearer tokens. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--authentication-token-webhook-cache-ttl duration Default: 2m0sThe duration to cache responses from the webhook token authenticator. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--authorization-mode string Default: \"AlwaysAllow\"Authorization mode for Kubelet server. Valid",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/",
    "id": "k8s_00158_qa_2804"
  },
  {
    "question": "How does kubelet work?",
    "answer": "kubeletSynopsisThe kubelet is the primary \"node agent\" that runs on each node. It can register the node with the apiserver using one of: the hostname; a flag to override the hostname; or specific logic for a cloud provider.The kubelet works in terms of a PodSpec. A PodSpec is a YAML or JSON object that describes a pod. The kubelet takes a set of PodSpecs that are provided through various mechanisms (primarily through the apiserver) and ensures that the containers described in those PodSpecs are running and healthy. The kubelet doesn't manage containers which were not created by Kubernetes.Other than from an PodSpec from the apiserver, there are two ways that a container manifest can be provided to the Kubelet.File: Path passed as a flag on the command line. Files under this path will be monitored periodically for updates. The monitoring period is 20s by default and is configurable via a flag.HTTP endpoint: HTTP endpoint passed as a parameter on the command line. This endpoint is checked every 20 seconds (also configurable with a flag).kubelet [flags] Options--address string Default: 0.0.0.0The IP address for the Kubelet to serve on (set to '0.0.0.0' or '::' for listening on all interfaces and IP address families) (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--allowed-unsafe-sysctls stringsComma-separated whitelist of unsafe sysctls or unsafe sysctl patterns (ending in *). Use these at your own risk. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--anonymous-auth Default: trueEnables anonymous requests to the Kubelet server. Requests that are not rejected by another authentication method are treated as anonymous requests. Anonymous requests have a username of system:anonymous, and a group name of system:unauthenticated. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--authentication-token-webhookUse the TokenReview API to determine authentication for bearer tokens. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--authentication-token-webhook-cache-ttl duration Default: 2m0sThe duration to cache responses from the webhook token authenticator. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--authorization-mode string Default: \"AlwaysAllow\"Authorization mode for Kubelet server. Valid",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/",
    "id": "k8s_00158_qa_2805"
  },
  {
    "question": "When would you use kubelet?",
    "answer": "kubeletSynopsisThe kubelet is the primary \"node agent\" that runs on each node. It can register the node with the apiserver using one of: the hostname; a flag to override the hostname; or specific logic for a cloud provider.The kubelet works in terms of a PodSpec. A PodSpec is a YAML or JSON object that describes a pod. The kubelet takes a set of PodSpecs that are provided through various mechanisms (primarily through the apiserver) and ensures that the containers described in those PodSpecs are running and healthy. The kubelet doesn't manage containers which were not created by Kubernetes.Other than from an PodSpec from the apiserver, there are two ways that a container manifest can be provided to the Kubelet.File: Path passed as a flag on the command line. Files under this path will be monitored periodically for updates. The monitoring period is 20s by default and is configurable via a flag.HTTP endpoint: HTTP endpoint passed as a parameter on the command line. This endpoint is checked every 20 seconds (also configurable with a flag).kubelet [flags] Options--address string Default: 0.0.0.0The IP address for the Kubelet to serve on (set to '0.0.0.0' or '::' for listening on all interfaces and IP address families) (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--allowed-unsafe-sysctls stringsComma-separated whitelist of unsafe sysctls or unsafe sysctl patterns (ending in *). Use these at your own risk. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--anonymous-auth Default: trueEnables anonymous requests to the Kubelet server. Requests that are not rejected by another authentication method are treated as anonymous requests. Anonymous requests have a username of system:anonymous, and a group name of system:unauthenticated. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--authentication-token-webhookUse the TokenReview API to determine authentication for bearer tokens. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--authentication-token-webhook-cache-ttl duration Default: 2m0sThe duration to cache responses from the webhook token authenticator. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--authorization-mode string Default: \"AlwaysAllow\"Authorization mode for Kubelet server. Valid",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/",
    "id": "k8s_00158_qa_2806"
  },
  {
    "question": "What are the benefits of kubelet?",
    "answer": "kubeletSynopsisThe kubelet is the primary \"node agent\" that runs on each node. It can register the node with the apiserver using one of: the hostname; a flag to override the hostname; or specific logic for a cloud provider.The kubelet works in terms of a PodSpec. A PodSpec is a YAML or JSON object that describes a pod. The kubelet takes a set of PodSpecs that are provided through various mechanisms (primarily through the apiserver) and ensures that the containers described in those PodSpecs are running and healthy. The kubelet doesn't manage containers which were not created by Kubernetes.Other than from an PodSpec from the apiserver, there are two ways that a container manifest can be provided to the Kubelet.File: Path passed as a flag on the command line. Files under this path will be monitored periodically for updates. The monitoring period is 20s by default and is configurable via a flag.HTTP endpoint: HTTP endpoint passed as a parameter on the command line. This endpoint is checked every 20 seconds (also configurable with a flag).kubelet [flags] Options--address string Default: 0.0.0.0The IP address for the Kubelet to serve on (set to '0.0.0.0' or '::' for listening on all interfaces and IP address families) (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--allowed-unsafe-sysctls stringsComma-separated whitelist of unsafe sysctls or unsafe sysctl patterns (ending in *). Use these at your own risk. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--anonymous-auth Default: trueEnables anonymous requests to the Kubelet server. Requests that are not rejected by another authentication method are treated as anonymous requests. Anonymous requests have a username of system:anonymous, and a group name of system:unauthenticated. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--authentication-token-webhookUse the TokenReview API to determine authentication for bearer tokens. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--authentication-token-webhook-cache-ttl duration Default: 2m0sThe duration to cache responses from the webhook token authenticator. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--authorization-mode string Default: \"AlwaysAllow\"Authorization mode for Kubelet server. Valid",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/",
    "id": "k8s_00158_qa_2807"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h e   k u b e l e t   i s   t h e   p r i m a r y   \" n o d e   a g e n t \"   t h a t   r u n s   o n   e a c h   n o d e .   I t   c a n   r e g i s t e r   t h e   n o d e   w i t h   t h e   a p i s e r v e r   u s i n g   o n e   o f :   t h e   h o s t n a m e ;   a   f l a g   t o   o v e r r i d e   t h e   h o s t n a m e ;   o r   s p e c i f i c   l o g i c   f o r   a   c l o u d   p r o v i d e r .   T h e   k u b e l e t   w o r k s   i n   t e r m s   o f   a   P o d S p e c .   A   P o d S p e c   i s   a   Y A M L   o r   J S O N   o b j e c t   t h a t   d e s c r i b e s   a   p o d .   T h e   k u b e l e t   t a k e s   a   s e t   o f   P o d S p e c s   t h a t   a r e   p r o v i d e d   t h r o u g h   v a r i o u s   m e c h a n i s m s   ( p r i m a r i l y   t h r o u g h   t h e   a p i s e r v e r )   a n d   e n s u r e s   t h a t   t h e   c o n t a i n e r s   d e s c r i b e d   i n   t h o s e   P o d S p e c s   a r e   r u n n i n g   a n d   h e a l t h y .   T h e   k u b e l e t   d o e s n ' t   m a n a g e   c o n t a i n e r s   w h i c h   w e r e   n o t   c r e a t e d   b y   K u b e r n e t e s .   O t h e r   t h a n   f r o m   a n   P o d S p e c   f r o m   t h e   a p i s e r v e r ,   t h e r e   a r e   t w o   w a y s   t h a t   a   c o n t a i n e r   m a n i f e s t   c a n   b e   p r o v i d e d   t o   t h e   K u b e l e t .   F i l e :   P a t h   p a s s e d   a s   a   f l a g   o n   t h e   c o m m a n d   l i n e .   F i l e s   u n d e r   t h i s   p a t h   w i l l   b e   m o n i t o r e d   p e r i o d i c a l l y   f o r   u p d a t e s .   T h e   m o n i t o r i n g   p e r i o d   i s   2 0 s   b y   d e f a u l t   a n d   i s   c o n f i g u r a b l e   v i a   a   f l a g .   H T T P   e n d p o i n t :   H T T P   e n d p o i n t   p a s s e d   a s   a   p a r a m e t e r   o n   t h e   c o m m a n d   l i n e .   T h i s   e n d p o i n t   i s   c h e c k e d   e v e r y   2 0   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/",
    "id": "k8s_00158_section_2_2808"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   f o r   t h e   K u b e l e t   t o   s e r v e   o n   ( s e t   t o   ' 0 . 0 . 0 . 0 '   o r   ' : : '   f o r   l i s t e n i n g   o n   a l l   i n t e r f a c e s   a n d   I P   a d d r e s s   f a m i l i e s )   ( D E P R E C A T E D :   T h i s   p a r a m e t e r   s h o u l d   b e   s e t   v i a   t h e   c o n f i g   f i l e   s p e c i f i e d   b y   t h e   K u b e l e t ' s   - - c o n f i g   f l a g .   S e e   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / a d m i n i s t e r - c l u s t e r / k u b e l e t - c o n f i g - f i l e /   f o r   m o r e   i n f o r m a t i o n . )   C o m m a - s e p a r a t e d   w h i t e l i s t   o f   u n s a f e   s y s c t l s   o r   u n s a f e   s y s c t l   p a t t e r n s   ( e n d i n g   i n   * ) .   U s e   t h e s e   a t   y o u r   o w n   r i s k .   ( D E P R E C A T E D :   T h i s   p a r a m e t e r   s h o u l d   b e   s e t   v i a   t h e   c o n f i g   f i l e   s p e c i f i e d   b y   t h e   K u b e l e t ' s   - - c o n f i g   f l a g .   S e e   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / a d m i n i s t e r - c l u s t e r / k u b e l e t - c o n f i g - f i l e /   f o r   m o r e   i n f o r m a t i o n . )   E n a b l e s   a n o n y m o u s   r e q u e s t s   t o   t h e   K u b e l e t   s e r v e r .   R e q u e s t s   t h a t   a r e   n o t   r e j e c t e d   b y   a n o t h e r   a u t h e n t i c a t i o n   m e t h o d   a r e   t r e a t e d   a s   a n o n y m o u s   r e q u e s t s .   A n o n y m o u s   r e q u e s t s   h a v e   a   u s e r n a m e   o f   s y s t e m : a n o n y m o u s ,   a n d   a   g r o u p   n a m e   o f   s y s t e m : u n a u t h e n t i c a t e d .   ( D E P R E C A T E D :   T h i s   p a r a m e t e r   s h o u l d   b e   s e t   v i a   t h e   c o n f i g   f i l e   s p e c i f i e d   b y   t h e   K u b e l e t ' s   - - c o n f i g   f l a g .   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/",
    "id": "k8s_00158_section_2_2809"
  },
  {
    "question": "What is Suggesting content improvements?",
    "answer": "Suggesting content improvementsIf you notice an issue with Kubernetes documentation or have an idea for new content, then open an issue. All you need is a GitHub account and a web browser.In most cases, new work on Kubernetes documentation begins with an issue in GitHub. Kubernetes contributors then review, categorize and tag issues as needed. Next, you or another member of the Kubernetes community open a pull request with changes to resolve the issue.Opening an issueIf you want to suggest improvements to existing content or notice an error, then open an issue.Click the Create an issue link on the right sidebar. This redirects you to a GitHub issue page pre-populated with some headers.Describe the issue or suggestion for improvement. Provide as many details as you can.Click Submit new issue.After submitting, check in on your issue occasionally or turn on GitHub notifications. Reviewers and other community members might ask questions before they can take action on your issue.Suggesting new contentIf you have an idea for new content, but you aren't sure where it should go, you can still file an issue. Either:Choose an existing page in the section you think the content belongs in and click Create an issue.Go to GitHub and file the issue directly.How to file great issuesKeep the following in mind when filing an issue:Provide a clear issue description. Describe what specifically is missing, out of date, wrong, or needs improvement.Explain the specific impact the issue has on users.Limit the scope of a given issue to a reasonable unit of work. For problems with a large scope, break them down into smaller issues. For example, \"Fix the security docs\" is too broad, but \"Add details to the 'Restricting network access' topic\" is specific enough to be actionable.Search the existing issues to see if there's anything related or similar to the new issue.If the new issue relates to another issue or pull request, refer to it either by its full URL or by the issue or pull request number prefixed with a # character. For example, Introduced by #987654.Follow the Code of Conduct. Respect your fellow contributors. For example, \"The docs are terrible\" is not helpful or polite",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/suggesting-improvements/",
    "id": "k8s_00159_qa_2810"
  },
  {
    "question": "How does Suggesting content improvements work?",
    "answer": "Suggesting content improvementsIf you notice an issue with Kubernetes documentation or have an idea for new content, then open an issue. All you need is a GitHub account and a web browser.In most cases, new work on Kubernetes documentation begins with an issue in GitHub. Kubernetes contributors then review, categorize and tag issues as needed. Next, you or another member of the Kubernetes community open a pull request with changes to resolve the issue.Opening an issueIf you want to suggest improvements to existing content or notice an error, then open an issue.Click the Create an issue link on the right sidebar. This redirects you to a GitHub issue page pre-populated with some headers.Describe the issue or suggestion for improvement. Provide as many details as you can.Click Submit new issue.After submitting, check in on your issue occasionally or turn on GitHub notifications. Reviewers and other community members might ask questions before they can take action on your issue.Suggesting new contentIf you have an idea for new content, but you aren't sure where it should go, you can still file an issue. Either:Choose an existing page in the section you think the content belongs in and click Create an issue.Go to GitHub and file the issue directly.How to file great issuesKeep the following in mind when filing an issue:Provide a clear issue description. Describe what specifically is missing, out of date, wrong, or needs improvement.Explain the specific impact the issue has on users.Limit the scope of a given issue to a reasonable unit of work. For problems with a large scope, break them down into smaller issues. For example, \"Fix the security docs\" is too broad, but \"Add details to the 'Restricting network access' topic\" is specific enough to be actionable.Search the existing issues to see if there's anything related or similar to the new issue.If the new issue relates to another issue or pull request, refer to it either by its full URL or by the issue or pull request number prefixed with a # character. For example, Introduced by #987654.Follow the Code of Conduct. Respect your fellow contributors. For example, \"The docs are terrible\" is not helpful or polite",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/suggesting-improvements/",
    "id": "k8s_00159_qa_2811"
  },
  {
    "question": "When would you use Suggesting content improvements?",
    "answer": "Suggesting content improvementsIf you notice an issue with Kubernetes documentation or have an idea for new content, then open an issue. All you need is a GitHub account and a web browser.In most cases, new work on Kubernetes documentation begins with an issue in GitHub. Kubernetes contributors then review, categorize and tag issues as needed. Next, you or another member of the Kubernetes community open a pull request with changes to resolve the issue.Opening an issueIf you want to suggest improvements to existing content or notice an error, then open an issue.Click the Create an issue link on the right sidebar. This redirects you to a GitHub issue page pre-populated with some headers.Describe the issue or suggestion for improvement. Provide as many details as you can.Click Submit new issue.After submitting, check in on your issue occasionally or turn on GitHub notifications. Reviewers and other community members might ask questions before they can take action on your issue.Suggesting new contentIf you have an idea for new content, but you aren't sure where it should go, you can still file an issue. Either:Choose an existing page in the section you think the content belongs in and click Create an issue.Go to GitHub and file the issue directly.How to file great issuesKeep the following in mind when filing an issue:Provide a clear issue description. Describe what specifically is missing, out of date, wrong, or needs improvement.Explain the specific impact the issue has on users.Limit the scope of a given issue to a reasonable unit of work. For problems with a large scope, break them down into smaller issues. For example, \"Fix the security docs\" is too broad, but \"Add details to the 'Restricting network access' topic\" is specific enough to be actionable.Search the existing issues to see if there's anything related or similar to the new issue.If the new issue relates to another issue or pull request, refer to it either by its full URL or by the issue or pull request number prefixed with a # character. For example, Introduced by #987654.Follow the Code of Conduct. Respect your fellow contributors. For example, \"The docs are terrible\" is not helpful or polite",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/suggesting-improvements/",
    "id": "k8s_00159_qa_2812"
  },
  {
    "question": "What are the benefits of Suggesting content improvements?",
    "answer": "Suggesting content improvementsIf you notice an issue with Kubernetes documentation or have an idea for new content, then open an issue. All you need is a GitHub account and a web browser.In most cases, new work on Kubernetes documentation begins with an issue in GitHub. Kubernetes contributors then review, categorize and tag issues as needed. Next, you or another member of the Kubernetes community open a pull request with changes to resolve the issue.Opening an issueIf you want to suggest improvements to existing content or notice an error, then open an issue.Click the Create an issue link on the right sidebar. This redirects you to a GitHub issue page pre-populated with some headers.Describe the issue or suggestion for improvement. Provide as many details as you can.Click Submit new issue.After submitting, check in on your issue occasionally or turn on GitHub notifications. Reviewers and other community members might ask questions before they can take action on your issue.Suggesting new contentIf you have an idea for new content, but you aren't sure where it should go, you can still file an issue. Either:Choose an existing page in the section you think the content belongs in and click Create an issue.Go to GitHub and file the issue directly.How to file great issuesKeep the following in mind when filing an issue:Provide a clear issue description. Describe what specifically is missing, out of date, wrong, or needs improvement.Explain the specific impact the issue has on users.Limit the scope of a given issue to a reasonable unit of work. For problems with a large scope, break them down into smaller issues. For example, \"Fix the security docs\" is too broad, but \"Add details to the 'Restricting network access' topic\" is specific enough to be actionable.Search the existing issues to see if there's anything related or similar to the new issue.If the new issue relates to another issue or pull request, refer to it either by its full URL or by the issue or pull request number prefixed with a # character. For example, Introduced by #987654.Follow the Code of Conduct. Respect your fellow contributors. For example, \"The docs are terrible\" is not helpful or polite",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/suggesting-improvements/",
    "id": "k8s_00159_qa_2813"
  },
  {
    "question": "What is Suggesting content improvements?",
    "answer": "I f   y o u   n o t i c e   a n   i s s u e   w i t h   K u b e r n e t e s   d o c u m e n t a t i o n   o r   h a v e   a n   i d e a   f o r   n e w   c o n t e n t ,   t h e n   o p e n   a n   i s s u e .   A l l   y o u   n e e d   i s   a   G i t H u b   a c c o u n t   a n d   a   w e b   b r o w s e r .   I n   m o s t   c a s e s ,   n e w   w o r k   o n   K u b e r n e t e s   d o c u m e n t a t i o n   b e g i n s   w i t h   a n   i s s u e   i n   G i t H u b .   K u b e r n e t e s   c o n t r i b u t o r s   t h e n   r e v i e w ,   c a t e g o r i z e   a n d   t a g   i s s u e s   a s   n e e d e d .   N e x t ,   y o u   o r   a n o t h e r   m e m b e r   o f   t h e   K u b e r n e t e s   c o m m u n i t y   o p e n   a   p u l l   r e q u e s t   w i t h   c h a n g e s   t o   r e s o l v e   t h e   i s s u e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/suggesting-improvements/",
    "id": "k8s_00159_section_1_2814"
  },
  {
    "question": "What is Opening an issue?",
    "answer": "I f   y o u   w a n t   t o   s u g g e s t   i m p r o v e m e n t s   t o   e x i s t i n g   c o n t e n t   o r   n o t i c e   a n   e r r o r ,   t h e n   o p e n   a n   i s s u e .   C l i c k   t h e   C r e a t e   a n   i s s u e   l i n k   o n   t h e   r i g h t   s i d e b a r .   T h i s   r e d i r e c t s   y o u   t o   a   G i t H u b   i s s u e   p a g e   p r e - p o p u l a t e d   w i t h   s o m e   h e a d e r s . D e s c r i b e   t h e   i s s u e   o r   s u g g e s t i o n   f o r   i m p r o v e m e n t .   P r o v i d e   a s   m a n y   d e t a i l s   a s   y o u   c a n . C l i c k   S u b m i t   n e w   i s s u e .   A f t e r   s u b m i t t i n g ,   c h e c k   i n   o n   y o u r   i s s u e   o c c a s i o n a l l y   o r   t u r n   o n   G i t H u b   n o t i f i c a t i o n s .   R e v i e w e r s   a n d   o t h e r   c o m m u n i t y   m e m b e r s   m i g h t   a s k   q u e s t i o n s   b e f o r e   t h e y   c a n   t a k e   a c t i o n   o n   y o u r   i s s u e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/suggesting-improvements/",
    "id": "k8s_00159_section_2_2815"
  },
  {
    "question": "What is Suggesting new content?",
    "answer": "I f   y o u   h a v e   a n   i d e a   f o r   n e w   c o n t e n t ,   b u t   y o u   a r e n ' t   s u r e   w h e r e   i t   s h o u l d   g o ,   y o u   c a n   s t i l l   f i l e   a n   i s s u e .   E i t h e r :   C h o o s e   a n   e x i s t i n g   p a g e   i n   t h e   s e c t i o n   y o u   t h i n k   t h e   c o n t e n t   b e l o n g s   i n   a n d   c l i c k   C r e a t e   a n   i s s u e . G o   t o   G i t H u b   a n d   f i l e   t h e   i s s u e   d i r e c t l y .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/suggesting-improvements/",
    "id": "k8s_00159_section_2_2816"
  },
  {
    "question": "What is How to file great issues?",
    "answer": "K e e p   t h e   f o l l o w i n g   i n   m i n d   w h e n   f i l i n g   a n   i s s u e :   P r o v i d e   a   c l e a r   i s s u e   d e s c r i p t i o n .   D e s c r i b e   w h a t   s p e c i f i c a l l y   i s   m i s s i n g ,   o u t   o f   d a t e ,   w r o n g ,   o r   n e e d s   i m p r o v e m e n t . E x p l a i n   t h e   s p e c i f i c   i m p a c t   t h e   i s s u e   h a s   o n   u s e r s . L i m i t   t h e   s c o p e   o f   a   g i v e n   i s s u e   t o   a   r e a s o n a b l e   u n i t   o f   w o r k .   F o r   p r o b l e m s   w i t h   a   l a r g e   s c o p e ,   b r e a k   t h e m   d o w n   i n t o   s m a l l e r   i s s u e s .   F o r   e x a m p l e ,   \" F i x   t h e   s e c u r i t y   d o c s \"   i s   t o o   b r o a d ,   b u t   \" A d d   d e t a i l s   t o   t h e   ' R e s t r i c t i n g   n e t w o r k   a c c e s s '   t o p i c \"   i s   s p e c i f i c   e n o u g h   t o   b e   a c t i o n a b l e . S e a r c h   t h e   e x i s t i n g   i s s u e s   t o   s e e   i f   t h e r e ' s   a n y t h i n g   r e l a t e d   o r   s i m i l a r   t o   t h e   n e w   i s s u e . I f   t h e   n e w   i s s u e   r e l a t e s   t o   a n o t h e r   i s s u e   o r   p u l l   r e q u e s t ,   r e f e r   t o   i t   e i t h e r   b y   i t s   f u l l   U R L   o r   b y   t h e   i s s u e   o r   p u l l   r e q u e s t   n u m b e r   p r e f i x e d   w i t h   a   #   c h a r a c t e r .   F o r   e x a m p l e ,   I n t r o d u c e d   b y   # 9 8 7 6 5 4 . F o l l o w   t h e   C o d e   o f   C o n d u c t .   R e s p e c t   y o u r   f e l l o w   c o n t r i b u t o r s .   F o r   e x a m p l e ,   \" T h e   d o c s   a r e   t e r r i b l e \"   i s   n o t   h e l p f u l   o r   p o l i t e",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/suggesting-improvements/",
    "id": "k8s_00159_section_2_2817"
  },
  {
    "question": "What is Documenting a feature for a release?",
    "answer": "Documenting a feature for a releaseEach major Kubernetes release introduces new features that require documentation. New releases also bring updates to existing features and documentation (such as upgrading a feature from alpha to beta).Generally, the SIG responsible for a feature submits draft documentation of the feature as a pull request to the appropriate development branch of the kubernetes/website repository, and someone on the SIG Docs team provides editorial",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/new-features/",
    "id": "k8s_00160_qa_2818"
  },
  {
    "question": "How does Documenting a feature for a release work?",
    "answer": "Documenting a feature for a releaseEach major Kubernetes release introduces new features that require documentation. New releases also bring updates to existing features and documentation (such as upgrading a feature from alpha to beta).Generally, the SIG responsible for a feature submits draft documentation of the feature as a pull request to the appropriate development branch of the kubernetes/website repository, and someone on the SIG Docs team provides editorial",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/new-features/",
    "id": "k8s_00160_qa_2819"
  },
  {
    "question": "When would you use Documenting a feature for a release?",
    "answer": "Documenting a feature for a releaseEach major Kubernetes release introduces new features that require documentation. New releases also bring updates to existing features and documentation (such as upgrading a feature from alpha to beta).Generally, the SIG responsible for a feature submits draft documentation of the feature as a pull request to the appropriate development branch of the kubernetes/website repository, and someone on the SIG Docs team provides editorial",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/new-features/",
    "id": "k8s_00160_qa_2820"
  },
  {
    "question": "What are the benefits of Documenting a feature for a release?",
    "answer": "Documenting a feature for a releaseEach major Kubernetes release introduces new features that require documentation. New releases also bring updates to existing features and documentation (such as upgrading a feature from alpha to beta).Generally, the SIG responsible for a feature submits draft documentation of the feature as a pull request to the appropriate development branch of the kubernetes/website repository, and someone on the SIG Docs team provides editorial",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/new-features/",
    "id": "k8s_00160_qa_2821"
  },
  {
    "question": "What is Documenting a feature for a release?",
    "answer": "E a c h   m a j o r   K u b e r n e t e s   r e l e a s e   i n t r o d u c e s   n e w   f e a t u r e s   t h a t   r e q u i r e   d o c u m e n t a t i o n .   N e w   r e l e a s e s   a l s o   b r i n g   u p d a t e s   t o   e x i s t i n g   f e a t u r e s   a n d   d o c u m e n t a t i o n   ( s u c h   a s   u p g r a d i n g   a   f e a t u r e   f r o m   a l p h a   t o   b e t a ) .   G e n e r a l l y ,   t h e   S I G   r e s p o n s i b l e   f o r   a   f e a t u r e   s u b m i t s   d r a f t   d o c u m e n t a t i o n   o f   t h e   f e a t u r e   a s   a   p u l l   r e q u e s t   t o   t h e   a p p r o p r i a t e   d e v e l o p m e n t   b r a n c h   o f   t h e   k u b e r n e t e s / w e b s i t e   r e p o s i t o r y ,   a n d   s o m e o n e   o n   t h e   S I G   D o c s   t e a m   p r o v i d e s   e d i t o r i a l",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/new-features/",
    "id": "k8s_00160_section_1_2822"
  },
  {
    "question": "What is For documentation contributors?",
    "answer": "I n   g e n e r a l ,   d o c u m e n t a t i o n   c o n t r i b u t o r s   d o n ' t   w r i t e   c o n t e n t   f r o m   s c r a t c h   f o r   a   r e l e a s e .   I n s t e a d ,   t h e y   w o r k   w i t h   t h e   S I G   c r e a t i n g   a   n e w   f e a t u r e   t o   r e f i n e   t h e   d r a f t   d o c u m e n t a t i o n   a n d   m a k e   i t   r e l e a s e   r e a d y .   A f t e r   y o u ' v e   c h o s e n   a   f e a t u r e   t o   d o c u m e n t   o r   a s s i s t ,   a s k   a b o u t   i t   i n   t h e   # s i g - d o c s   S l a c k   c h a n n e l ,   i n   a   w e e k l y   S I G   D o c s   m e e t i n g ,   o r   d i r e c t l y   o n   t h e   P R   f i l e d   b y   t h e   f e a t u r e   S I G .   I f   y o u ' r e   g i v e n   t h e   g o - a h e a d ,   y o u   c a n   e d i t   i n t o   t h e   P R   u s i n g   o n e   o f   t h e   t e c h n i q u e s   d e s c r i b e d   i n   C o m m i t   i n t o   a n o t h e r   p e r s o n ' s   P R .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/new-features/",
    "id": "k8s_00160_section_2_2823"
  },
  {
    "question": "What is Find out about upcoming features?",
    "answer": "T o   f i n d   o u t   a b o u t   u p c o m i n g   f e a t u r e s ,   a t t e n d   t h e   w e e k l y   S I G   R e l e a s e   m e e t i n g   ( s e e   t h e   c o m m u n i t y   p a g e   f o r   u p c o m i n g   m e e t i n g s )   a n d   m o n i t o r   t h e   r e l e a s e - s p e c i f i c   d o c u m e n t a t i o n   i n   t h e   k u b e r n e t e s / s i g - r e l e a s e   r e p o s i t o r y .   E a c h   r e l e a s e   h a s   a   s u b - d i r e c t o r y   i n   t h e   / s i g - r e l e a s e / t r e e / m a s t e r / r e l e a s e s /   d i r e c t o r y .   T h e   s u b - d i r e c t o r y   c o n t a i n s   a   r e l e a s e   s c h e d u l e ,   a   d r a f t   o f   t h e   r e l e a s e   n o t e s ,   a n d   a   d o c u m e n t   l i s t i n g   e a c h   p e r s o n   o n   t h e   r e l e a s e   t e a m .   T h e   r e l e a s e   s c h e d u l e   c o n t a i n s   l i n k s   t o   a l l   o t h e r   d o c u m e n t s ,   m e e t i n g s ,   m e e t i n g   m i n u t e s ,   a n d   m i l e s t o n e s   r e l a t i n g   t o   t h e   r e l e a s e .   I t   a l s o   c o n t a i n s   i n f o r m a t i o n   a b o u t   t h e   g o a l s   a n d   t i m e l i n e   o f   t h e   r e l e a s e ,   a n d   a n y   s p e c i a l   p r o c e s s e s   i n   p l a c e   f o r   t h i s   r e l e a s e .   N e a r   t h e   b o t t o m   o f   t h e   d o c u m e n t ,   s e v e r a l   r e l e a s e - r e l a t e d   t e r m s   a r e   d e f i n e d .   T h i s   d o c u m e n t   a l s o   c o n t a i n s   a   l i n k   t o   t h e   F e a t u r e   t r a c k i n g   s h e e t ,   w h i c h   i s   t h e   o f f i c i a l   w a y   t o   f i n d   o u t   a b o u t   a l l   n e w   f e a t u r e s   s c h e d u l e d   t o   g o   i n t o   t h e   r e l e a s e .   T h e   r e l e a s e   t e a m   d o c u m e n t   l i s t s   w h o   i s   r e s p o n s i b l e   f o r   e a c h   r e l e a s e   r o l e .   I f   i t ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/new-features/",
    "id": "k8s_00160_section_3_2824"
  },
  {
    "question": "What is Feature tracking sheet?",
    "answer": "T h e   f e a t u r e   t r a c k i n g   s h e e t   f o r   a   g i v e n   K u b e r n e t e s   r e l e a s e   l i s t s   e a c h   f e a t u r e   t h a t   i s   p l a n n e d   f o r   a   r e l e a s e .   E a c h   l i n e   i t e m   i n c l u d e s   t h e   n a m e   o f   t h e   f e a t u r e ,   a   l i n k   t o   t h e   f e a t u r e ' s   m a i n   G i t H u b   i s s u e ,   i t s   s t a b i l i t y   l e v e l   ( A l p h a ,   B e t a ,   o r   S t a b l e ) ,   t h e   S I G   a n d   i n d i v i d u a l   r e s p o n s i b l e   f o r   i m p l e m e n t i n g   i t ,   w h e t h e r   i t   n e e d s   d o c s ,   a   d r a f t   r e l e a s e   n o t e   f o r   t h e   f e a t u r e ,   a n d   w h e t h e r   i t   h a s   b e e n   m e r g e d .   K e e p   t h e   f o l l o w i n g   i n   m i n d :   B e t a   a n d   S t a b l e   f e a t u r e s   a r e   g e n e r a l l y   a   h i g h e r   d o c u m e n t a t i o n   p r i o r i t y   t h a n   A l p h a   f e a t u r e s . I t ' s   h a r d   t o   t e s t   ( a n d   t h e r e f o r e   t o   d o c u m e n t )   a   f e a t u r e   t h a t   h a s n ' t   b e e n   m e r g e d ,   o r   i s   a t   l e a s t   c o n s i d e r e d   f e a t u r e - c o m p l e t e   i n   i t s   P R . D e t e r m i n i n g   w h e t h e r   a   f e a t u r e   n e e d s   d o c u m e n t a t i o n   i s   a   m a n u a l   p r o c e s s .   E v e n   i f   a   f e a t u r e   i s   n o t   m a r k e d   a s   n e e d i n g   d o c s ,   y o u   m a y   n e e d   t o   d o c u m e n t   t h e   f e a t u r e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/new-features/",
    "id": "k8s_00160_section_3_2825"
  },
  {
    "question": "What is For developers or other SIG members?",
    "answer": "T h i s   s e c t i o n   i s   i n f o r m a t i o n   f o r   m e m b e r s   o f   o t h e r   K u b e r n e t e s   S I G s   d o c u m e n t i n g   n e w   f e a t u r e s   f o r   a   r e l e a s e .   I f   y o u   a r e   a   m e m b e r   o f   a   S I G   d e v e l o p i n g   a   n e w   f e a t u r e   f o r   K u b e r n e t e s ,   y o u   n e e d   t o   w o r k   w i t h   S I G   D o c s   t o   b e   s u r e   y o u r   f e a t u r e   i s   d o c u m e n t e d   i n   t i m e   f o r   t h e   r e l e a s e .   C h e c k   t h e   f e a t u r e   t r a c k i n g   s p r e a d s h e e t   o r   c h e c k   i n   t h e   # s i g - r e l e a s e   K u b e r n e t e s   S l a c k   c h a n n e l   t o   v e r i f y   s c h e d u l i n g   d e t a i l s   a n d   d e a d l i n e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/new-features/",
    "id": "k8s_00160_section_2_2826"
  },
  {
    "question": "What is Open a placeholder PR?",
    "answer": "O p e n   a   d r a f t   p u l l   r e q u e s t   a g a i n s t   t h e   d e v - 1 . 3 5   b r a n c h   i n   t h e   k u b e r n e t e s / w e b s i t e   r e p o s i t o r y ,   w i t h   a   s m a l l   c o m m i t   t h a t   y o u   w i l l   a m e n d   l a t e r .   T o   c r e a t e   a   d r a f t   p u l l   r e q u e s t ,   u s e   t h e   C r e a t e   P u l l   R e q u e s t   d r o p - d o w n   a n d   s e l e c t   C r e a t e   D r a f t   P u l l   R e q u e s t ,   t h e n   c l i c k   D r a f t   P u l l   R e q u e s t . E d i t   t h e   p u l l   r e q u e s t   d e s c r i p t i o n   t o   i n c l u d e   l i n k s   t o   k u b e r n e t e s / k u b e r n e t e s   P R ( s )   a n d   k u b e r n e t e s / e n h a n c e m e n t s   i s s u e ( s ) . L e a v e   a   c o m m e n t   o n   t h e   r e l a t e d   k u b e r n e t e s / e n h a n c e m e n t s   i s s u e   w i t h   a   l i n k   t o   t h e   P R   t o   n o t i f y   t h e   d o c s   p e r s o n   m a n a g i n g   t h i s   r e l e a s e   t h a t   t h e   f e a t u r e   d o c s   a r e   c o m i n g   a n d   s h o u l d   b e   t r a c k e d   f o r   t h e   r e l e a s e .   I f   y o u r   f e a t u r e   d o e s   n o t   n e e d   a n y   d o c u m e n t a t i o n   c h a n g e s ,   m a k e   s u r e   t h e   s i g - r e l e a s e   t e a m   k n o w s   t h i s ,   b y   m e n t i o n i n g   i t   i n   t h e   # s i g - r e l e a s e   S l a c k   c h a n n e l .   I f   t h e   f e a t u r e   d o e s   n e e d   d o c u m e n t a t i o n   b u t   t h e   P R   i s   n o t   c r e a t e d ,   t h e   f e a t u r e   m a y   b e   r e m o v e d   f r o m   t h e   m i l e s t o n e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/new-features/",
    "id": "k8s_00160_section_3_2827"
  },
  {
    "question": "What is PR ready for review?",
    "answer": "W h e n   r e a d y ,   p o p u l a t e   y o u r   p l a c e h o l d e r   P R   w i t h   f e a t u r e   d o c u m e n t a t i o n   a n d   c h a n g e   t h e   s t a t e   o f   t h e   P R   f r o m   d r a f t   t o   r e a d y   f o r   r e v i e w .   T o   m a r k   a   p u l l   r e q u e s t   a s   r e a d y   f o r   r e v i e w ,   n a v i g a t e   t o   t h e   m e r g e   b o x   a n d   c l i c k   R e a d y   f o r   r e v i e w .   D o   y o u r   b e s t   t o   d e s c r i b e   y o u r   f e a t u r e   a n d   h o w   t o   u s e   i t .   I f   y o u   n e e d   h e l p   s t r u c t u r i n g   y o u r   d o c u m e n t a t i o n ,   a s k   i n   t h e   # s i g - d o c s   S l a c k   c h a n n e l .   W h e n   y o u   c o m p l e t e   y o u r   c o n t e n t ,   t h e   d o c u m e n t a t i o n   p e r s o n   a s s i g n e d   t o   y o u r   f e a t u r e   r e v i e w s   i t .   T o   e n s u r e   t e c h n i c a l   a c c u r a c y ,   t h e   c o n t e n t   m a y   a l s o   r e q u i r e   a   t e c h n i c a l   r e v i e w   f r o m   c o r r e s p o n d i n g   S I G ( s ) .   U s e   t h e i r   s u g g e s t i o n s   t o   g e t   t h e   c o n t e n t   t o   a   r e l e a s e   r e a d y   s t a t e .   I f   y o u r   f e a t u r e   n e e d s   d o c u m e n t a t i o n   a n d   t h e   f i r s t   d r a f t   c o n t e n t   i s   n o t   r e c e i v e d ,   t h e   f e a t u r e   m a y   b e   r e m o v e d   f r o m   t h e   m i l e s t o n e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/new-features/",
    "id": "k8s_00160_section_3_2828"
  },
  {
    "question": "What is Feature gates?",
    "answer": "I f   y o u r   f e a t u r e   i s   a n   A l p h a   o r   B e t a   f e a t u r e   a n d   i s   b e h i n d   a   f e a t u r e   g a t e ,   y o u   n e e d   a   f e a t u r e   g a t e   f i l e   f o r   i t   i n s i d e   c o n t e n t / e n / d o c s / r e f e r e n c e / c o m m a n d - l i n e - t o o l s - r e f e r e n c e / f e a t u r e - g a t e s / .   T h e   n a m e   o f   t h e   f i l e   s h o u l d   b e   t h e   n a m e   o f   t h e   f e a t u r e   g a t e   w i t h   . m d   a s   t h e   s u f f i x .   Y o u   c a n   l o o k   a t   o t h e r   f i l e s   a l r e a d y   i n   t h e   s a m e   d i r e c t o r y   f o r   a   h i n t   a b o u t   w h a t   y o u r s   s h o u l d   l o o k   l i k e .   U s u a l l y   a   s i n g l e   p a r a g r a p h   i s   e n o u g h ;   f o r   l o n g e r   e x p l a n a t i o n s ,   a d d   d o c u m e n t a t i o n   e l s e w h e r e   a n d   l i n k   t o   t h a t .   A l s o ,   t o   e n s u r e   y o u r   f e a t u r e   g a t e   a p p e a r s   i n   t h e   A l p h a / B e t a   F e a t u r e   g a t e s   t a b l e ,   i n c l u d e   t h e   f o l l o w i n g   d e t a i l s   i n   t h e   f r o n t   m a t t e r   o f   y o u r   M a r k d o w n   d e s c r i p t i o n   f i l e :   s t a g e s :   -   s t a g e :   < a l p h a / b e t a / s t a b l e / d e p r e c a t e d >   #   S p e c i f y   t h e   d e v e l o p m e n t   s t a g e   o f   t h e   f e a t u r e   g a t e   d e f a u l t V a l u e :   < t r u e   o r   f a l s e >   #   S e t   t o   t r u e   i f   e n a b l e d   b y   d e f a u l t ,   f a l s e   o t h e r w i s e   f r o m V e r s i o n :   < V e r s i o n >   #   V e r s i o n   f r o m   w h i c h   t h e   f e a t u r e   g a t e   i s   a v a i l a b l e   t o V e r s i o n :   < V e r s i o n >   #   ( O p t i o n a l )   T h e   v e r s i o n   u n t i l   w h i c h   t h e   f e a t u r e   g a t e   i s   a v a i l a b l e   W i t h ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/new-features/",
    "id": "k8s_00160_section_4_2829"
  },
  {
    "question": "What is All PRs reviewed and ready to merge?",
    "answer": "I f   y o u r   P R   h a s   n o t   y e t   b e e n   m e r g e d   i n t o   t h e   d e v - 1 . 3 5   b r a n c h   b y   t h e   r e l e a s e   d e a d l i n e ,   w o r k   w i t h   t h e   d o c s   p e r s o n   m a n a g i n g   t h e   r e l e a s e   t o   g e t   i t   i n   b y   t h e   d e a d l i n e .   I f   y o u r   f e a t u r e   n e e d s   d o c u m e n t a t i o n   a n d   t h e   d o c s   a r e   n o t   r e a d y ,   t h e   f e a t u r e   m a y   b e   r e m o v e d   f r o m   t h e   m i l e s t o n e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/new-features/",
    "id": "k8s_00160_section_3_2830"
  },
  {
    "question": "What is CronJob?",
    "answer": "CronJobA CronJob starts one-time Jobs on a repeating schedule.FEATURE STATE: Kubernetes v1.21 [stable]A CronJob creates Jobs on a repeating schedule.CronJob is meant for performing regular scheduled actions such as backups, report generation, and so on. One CronJob object is like one line of a crontab (cron table) file on a Unix system. It runs a Job periodically on a given schedule, written in Cron format.CronJobs have limitations and idiosyncrasies. For example, in certain circumstances, a single CronJob can create multiple concurrent Jobs. See the limitations below.When the control plane creates new Jobs and (indirectly) Pods for a CronJob, the .metadata.name of the CronJob is part of the basis for naming those Pods. The name of a CronJob must be a valid DNS subdomain value, but this can produce unexpected results for the Pod hostnames. For best compatibility, the name should follow the more restrictive rules for a DNS label. Even when the name is a DNS subdomain, the name must be no longer than 52 characters. This is because the CronJob controller will automatically append 11 characters to the name you provide and there is a constraint that the length of a Job name is no more than 63 characters.ExampleThis example CronJob manifest prints the current time and a hello message every minute:application/job/cronjob.yaml apiVersion: batch/v1 kind: CronJob metadata: name: hello spec: schedule: \"* * * * *\" jobTemplate: spec: template: spec: containers: - name: hello image: busybox:1.28 imagePullPolicy: IfNotPresent command: - /bin/sh - -c - date; echo Hello from the Kubernetes cluster restartPolicy: OnFailure (Running Automated Tasks with a CronJob takes you through this example in more detail).Writing a CronJob specSchedule syntaxThe .spec.schedule field is required. The value of that field follows the Cron syntax:# ┌───────────── minute (0 - 59) # │ ┌───────────── hour (0 - 23) # │ │ ┌───────────── day of the month (1 - 31) # │ │ │ ┌───────────── month (1 - 12) # │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday) # │ │ │ │ │ OR sun, mon, tue, wed, thu, fri, sat # │ │ │ │ │ # │ │ │ │ │ # * * * * * For example, 0 3 * * 1 means this task is scheduled to run weekly on a Monday at 3 AM.The format also includes extended \"Vixie cron\" step values. As explained in the FreeBSD manual:Step values can be used in conjunction with ranges. Following a range with /<number> specifies skips of the number's value through the range. For example, 0-23/2 can be used in the hours field to specify command execution every other hour (the alternative in the V7 standard is 0,2,4,6,8,10,12,14,16,18,20,22). Steps are also permitted after an asterisk, so if you want to say \"every two hours\", just use */2.Note:A question mark (?) in the schedule has the same meaning as an asterisk *, that is, it stands for any of available value for a given field.Other than the standard syntax, some macros like @monthly can also be used:EntryDescriptionEquivalent to@yearly (or @",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/",
    "id": "k8s_00161_qa_2831"
  },
  {
    "question": "How does CronJob work?",
    "answer": "CronJobA CronJob starts one-time Jobs on a repeating schedule.FEATURE STATE: Kubernetes v1.21 [stable]A CronJob creates Jobs on a repeating schedule.CronJob is meant for performing regular scheduled actions such as backups, report generation, and so on. One CronJob object is like one line of a crontab (cron table) file on a Unix system. It runs a Job periodically on a given schedule, written in Cron format.CronJobs have limitations and idiosyncrasies. For example, in certain circumstances, a single CronJob can create multiple concurrent Jobs. See the limitations below.When the control plane creates new Jobs and (indirectly) Pods for a CronJob, the .metadata.name of the CronJob is part of the basis for naming those Pods. The name of a CronJob must be a valid DNS subdomain value, but this can produce unexpected results for the Pod hostnames. For best compatibility, the name should follow the more restrictive rules for a DNS label. Even when the name is a DNS subdomain, the name must be no longer than 52 characters. This is because the CronJob controller will automatically append 11 characters to the name you provide and there is a constraint that the length of a Job name is no more than 63 characters.ExampleThis example CronJob manifest prints the current time and a hello message every minute:application/job/cronjob.yaml apiVersion: batch/v1 kind: CronJob metadata: name: hello spec: schedule: \"* * * * *\" jobTemplate: spec: template: spec: containers: - name: hello image: busybox:1.28 imagePullPolicy: IfNotPresent command: - /bin/sh - -c - date; echo Hello from the Kubernetes cluster restartPolicy: OnFailure (Running Automated Tasks with a CronJob takes you through this example in more detail).Writing a CronJob specSchedule syntaxThe .spec.schedule field is required. The value of that field follows the Cron syntax:# ┌───────────── minute (0 - 59) # │ ┌───────────── hour (0 - 23) # │ │ ┌───────────── day of the month (1 - 31) # │ │ │ ┌───────────── month (1 - 12) # │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday) # │ │ │ │ │ OR sun, mon, tue, wed, thu, fri, sat # │ │ │ │ │ # │ │ │ │ │ # * * * * * For example, 0 3 * * 1 means this task is scheduled to run weekly on a Monday at 3 AM.The format also includes extended \"Vixie cron\" step values. As explained in the FreeBSD manual:Step values can be used in conjunction with ranges. Following a range with /<number> specifies skips of the number's value through the range. For example, 0-23/2 can be used in the hours field to specify command execution every other hour (the alternative in the V7 standard is 0,2,4,6,8,10,12,14,16,18,20,22). Steps are also permitted after an asterisk, so if you want to say \"every two hours\", just use */2.Note:A question mark (?) in the schedule has the same meaning as an asterisk *, that is, it stands for any of available value for a given field.Other than the standard syntax, some macros like @monthly can also be used:EntryDescriptionEquivalent to@yearly (or @",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/",
    "id": "k8s_00161_qa_2832"
  },
  {
    "question": "When would you use CronJob?",
    "answer": "CronJobA CronJob starts one-time Jobs on a repeating schedule.FEATURE STATE: Kubernetes v1.21 [stable]A CronJob creates Jobs on a repeating schedule.CronJob is meant for performing regular scheduled actions such as backups, report generation, and so on. One CronJob object is like one line of a crontab (cron table) file on a Unix system. It runs a Job periodically on a given schedule, written in Cron format.CronJobs have limitations and idiosyncrasies. For example, in certain circumstances, a single CronJob can create multiple concurrent Jobs. See the limitations below.When the control plane creates new Jobs and (indirectly) Pods for a CronJob, the .metadata.name of the CronJob is part of the basis for naming those Pods. The name of a CronJob must be a valid DNS subdomain value, but this can produce unexpected results for the Pod hostnames. For best compatibility, the name should follow the more restrictive rules for a DNS label. Even when the name is a DNS subdomain, the name must be no longer than 52 characters. This is because the CronJob controller will automatically append 11 characters to the name you provide and there is a constraint that the length of a Job name is no more than 63 characters.ExampleThis example CronJob manifest prints the current time and a hello message every minute:application/job/cronjob.yaml apiVersion: batch/v1 kind: CronJob metadata: name: hello spec: schedule: \"* * * * *\" jobTemplate: spec: template: spec: containers: - name: hello image: busybox:1.28 imagePullPolicy: IfNotPresent command: - /bin/sh - -c - date; echo Hello from the Kubernetes cluster restartPolicy: OnFailure (Running Automated Tasks with a CronJob takes you through this example in more detail).Writing a CronJob specSchedule syntaxThe .spec.schedule field is required. The value of that field follows the Cron syntax:# ┌───────────── minute (0 - 59) # │ ┌───────────── hour (0 - 23) # │ │ ┌───────────── day of the month (1 - 31) # │ │ │ ┌───────────── month (1 - 12) # │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday) # │ │ │ │ │ OR sun, mon, tue, wed, thu, fri, sat # │ │ │ │ │ # │ │ │ │ │ # * * * * * For example, 0 3 * * 1 means this task is scheduled to run weekly on a Monday at 3 AM.The format also includes extended \"Vixie cron\" step values. As explained in the FreeBSD manual:Step values can be used in conjunction with ranges. Following a range with /<number> specifies skips of the number's value through the range. For example, 0-23/2 can be used in the hours field to specify command execution every other hour (the alternative in the V7 standard is 0,2,4,6,8,10,12,14,16,18,20,22). Steps are also permitted after an asterisk, so if you want to say \"every two hours\", just use */2.Note:A question mark (?) in the schedule has the same meaning as an asterisk *, that is, it stands for any of available value for a given field.Other than the standard syntax, some macros like @monthly can also be used:EntryDescriptionEquivalent to@yearly (or @",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/",
    "id": "k8s_00161_qa_2833"
  },
  {
    "question": "What are the benefits of CronJob?",
    "answer": "CronJobA CronJob starts one-time Jobs on a repeating schedule.FEATURE STATE: Kubernetes v1.21 [stable]A CronJob creates Jobs on a repeating schedule.CronJob is meant for performing regular scheduled actions such as backups, report generation, and so on. One CronJob object is like one line of a crontab (cron table) file on a Unix system. It runs a Job periodically on a given schedule, written in Cron format.CronJobs have limitations and idiosyncrasies. For example, in certain circumstances, a single CronJob can create multiple concurrent Jobs. See the limitations below.When the control plane creates new Jobs and (indirectly) Pods for a CronJob, the .metadata.name of the CronJob is part of the basis for naming those Pods. The name of a CronJob must be a valid DNS subdomain value, but this can produce unexpected results for the Pod hostnames. For best compatibility, the name should follow the more restrictive rules for a DNS label. Even when the name is a DNS subdomain, the name must be no longer than 52 characters. This is because the CronJob controller will automatically append 11 characters to the name you provide and there is a constraint that the length of a Job name is no more than 63 characters.ExampleThis example CronJob manifest prints the current time and a hello message every minute:application/job/cronjob.yaml apiVersion: batch/v1 kind: CronJob metadata: name: hello spec: schedule: \"* * * * *\" jobTemplate: spec: template: spec: containers: - name: hello image: busybox:1.28 imagePullPolicy: IfNotPresent command: - /bin/sh - -c - date; echo Hello from the Kubernetes cluster restartPolicy: OnFailure (Running Automated Tasks with a CronJob takes you through this example in more detail).Writing a CronJob specSchedule syntaxThe .spec.schedule field is required. The value of that field follows the Cron syntax:# ┌───────────── minute (0 - 59) # │ ┌───────────── hour (0 - 23) # │ │ ┌───────────── day of the month (1 - 31) # │ │ │ ┌───────────── month (1 - 12) # │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday) # │ │ │ │ │ OR sun, mon, tue, wed, thu, fri, sat # │ │ │ │ │ # │ │ │ │ │ # * * * * * For example, 0 3 * * 1 means this task is scheduled to run weekly on a Monday at 3 AM.The format also includes extended \"Vixie cron\" step values. As explained in the FreeBSD manual:Step values can be used in conjunction with ranges. Following a range with /<number> specifies skips of the number's value through the range. For example, 0-23/2 can be used in the hours field to specify command execution every other hour (the alternative in the V7 standard is 0,2,4,6,8,10,12,14,16,18,20,22). Steps are also permitted after an asterisk, so if you want to say \"every two hours\", just use */2.Note:A question mark (?) in the schedule has the same meaning as an asterisk *, that is, it stands for any of available value for a given field.Other than the standard syntax, some macros like @monthly can also be used:EntryDescriptionEquivalent to@yearly (or @",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/",
    "id": "k8s_00161_qa_2834"
  },
  {
    "question": "What is CronJob?",
    "answer": "A   C r o n J o b   c r e a t e s   J o b s   o n   a   r e p e a t i n g   s c h e d u l e .   C r o n J o b   i s   m e a n t   f o r   p e r f o r m i n g   r e g u l a r   s c h e d u l e d   a c t i o n s   s u c h   a s   b a c k u p s ,   r e p o r t   g e n e r a t i o n ,   a n d   s o   o n .   O n e   C r o n J o b   o b j e c t   i s   l i k e   o n e   l i n e   o f   a   c r o n t a b   ( c r o n   t a b l e )   f i l e   o n   a   U n i x   s y s t e m .   I t   r u n s   a   J o b   p e r i o d i c a l l y   o n   a   g i v e n   s c h e d u l e ,   w r i t t e n   i n   C r o n   f o r m a t .   C r o n J o b s   h a v e   l i m i t a t i o n s   a n d   i d i o s y n c r a s i e s .   F o r   e x a m p l e ,   i n   c e r t a i n   c i r c u m s t a n c e s ,   a   s i n g l e   C r o n J o b   c a n   c r e a t e   m u l t i p l e   c o n c u r r e n t   J o b s .   S e e   t h e   l i m i t a t i o n s   b e l o w .   W h e n   t h e   c o n t r o l   p l a n e   c r e a t e s   n e w   J o b s   a n d   ( i n d i r e c t l y )   P o d s   f o r   a   C r o n J o b ,   t h e   . m e t a d a t a . n a m e   o f   t h e   C r o n J o b   i s   p a r t   o f   t h e   b a s i s   f o r   n a m i n g   t h o s e   P o d s .   T h e   n a m e   o f   a   C r o n J o b   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   v a l u e ,   b u t   t h i s   c a n   p r o d u c e   u n e x p e c t e d   r e s u l t s   f o r   t h e   P o d   h o s t n a m e s .   F o r   b e s t   c o m p a t i b i l i t y ,   t h e   n a m e   s h o u l d   f o l l o w   t h e   m o r e   r e s t r i c t i v e   r u l e s   f o r   a   D N S   l a b e l .   E v e n   w h e n   t h e   n a m e   i s   a   D N S   s u b d o m a i n ,   t h e   n a m e   m u s t   b e   n o   l o n g e r   t h a n   5 2   c h a r a c t e r s .   T h i s   i s   b e c a u s e   t h e   C r o n J o b   c o n t r o l l e r   w i l l   a u t o m a t i c a l l y   a p p e n d   1 1   c h ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/",
    "id": "k8s_00161_section_1_2835"
  },
  {
    "question": "What is Example?",
    "answer": "T h i s   e x a m p l e   C r o n J o b   m a n i f e s t   p r i n t s   t h e   c u r r e n t   t i m e   a n d   a   h e l l o   m e s s a g e   e v e r y   m i n u t e :   a p i V e r s i o n :   b a t c h / v 1   k i n d :   C r o n J o b   m e t a d a t a :   n a m e :   h e l l o   s p e c :   s c h e d u l e :   \" *   *   *   *   * \"   j o b T e m p l a t e :   s p e c :   t e m p l a t e :   s p e c :   c o n t a i n e r s :   -   n a m e :   h e l l o   i m a g e :   b u s y b o x : 1 . 2 8   i m a g e P u l l P o l i c y :   I f N o t P r e s e n t   c o m m a n d :   -   / b i n / s h   -   - c   -   d a t e ;   e c h o   H e l l o   f r o m   t h e   K u b e r n e t e s   c l u s t e r   r e s t a r t P o l i c y :   O n F a i l u r e   ( R u n n i n g   A u t o m a t e d   T a s k s   w i t h   a   C r o n J o b   t a k e s   y o u   t h r o u g h   t h i s   e x a m p l e   i n   m o r e   d e t a i l ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/",
    "id": "k8s_00161_section_2_2836"
  },
  {
    "question": "What is Schedule syntax?",
    "answer": "T h e   . s p e c . s c h e d u l e   f i e l d   i s   r e q u i r e d .   T h e   v a l u e   o f   t h a t   f i e l d   f o l l o w s   t h e   C r o n   s y n t a x :   #   ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─   m i n u t e   ( 0   -   5 9 )   #   │   ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─   h o u r   ( 0   -   2 3 )   #   │   │   ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─   d a y   o f   t h e   m o n t h   ( 1   -   3 1 )   #   │   │   │   ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─   m o n t h   ( 1   -   1 2 )   #   │   │   │   │   ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─   d a y   o f   t h e   w e e k   ( 0   -   6 )   ( S u n d a y   t o   S a t u r d a y )   #   │   │   │   │   │   O R   s u n ,   m o n ,   t u e ,   w e d ,   t h u ,   f r i ,   s a t   #   │   │   │   │   │   #   │   │   │   │   │   #   *   *   *   *   *   F o r   e x a m p l e ,   0   3   *   *   1   m e a n s   t h i s   t a s k   i s   s c h e d u l e d   t o   r u n   w e e k l y   o n   a   M o n d a y   a t   3   A M .   T h e   f o r m a t   a l s o   i n c l u d e s   e x t e n d e d   \" V i x i e   c r o n \"   s t e p   v a l u e s .   A s   e x p l a i n e d   i n   t h e   F r e e B S D   m a n u a l :   S t e p   v a l u e s   c a n   b e   u s e d   i n   c o n j u n c t i o n   w i t h   r a n g e s .   F o l l o w i n g   a   r a n g e   w i t h   / < n u m b e r >   s p e c i f i e s   s k i p s   o f   t h e   n u m b e r ' s   v a l u e   t h r o u g h   t h e   r a n g e .   F o r   e x a m p l e ,   0 - 2 3 / 2   c a n   b e   u s e d   i n   t h e   h o u r s   f i e l d   t o   s p e c i f y   c o m m a n d   e x e c u t i o n   e v e r y   o t h e r   h o u r   ( t h e   a l t e r n a t i v e   i n   t h e   V 7   s t a n d a r d   i s   0 , 2 , 4 , 6 , 8 , 1 0 , 1 2 , 1 4 , 1 6 , 1 8 , 2 0 , 2 2 ) .   S t e p s   a r e   a l s o   p e r m i t t e d   a f t e r   a n   a s t e r i s k ,   s o   i f   y o u   w a n t   t o   s a y   \" e v e r y   t w o   h o u r s \" ,   j u s t   u s e   * / 2 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/",
    "id": "k8s_00161_section_3_2837"
  },
  {
    "question": "What is Note:?",
    "answer": "O t h e r   t h a n   t h e   s t a n d a r d   s y n t a x ,   s o m e   m a c r o s   l i k e   @ m o n t h l y   c a n   a l s o   b e   u s e d :   T o   g e n e r a t e   C r o n J o b   s c h e d u l e   e x p r e s s i o n s ,   y o u   c a n   a l s o   u s e   w e b   t o o l s   l i k e   c r o n t a b . g u r u .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/",
    "id": "k8s_00161_section_4_2838"
  },
  {
    "question": "What is Job template?",
    "answer": "T h e   . s p e c . j o b T e m p l a t e   d e f i n e s   a   t e m p l a t e   f o r   t h e   J o b s   t h a t   t h e   C r o n J o b   c r e a t e s ,   a n d   i t   i s   r e q u i r e d .   I t   h a s   e x a c t l y   t h e   s a m e   s c h e m a   a s   a   J o b ,   e x c e p t   t h a t   i t   i s   n e s t e d   a n d   d o e s   n o t   h a v e   a n   a p i V e r s i o n   o r   k i n d .   Y o u   c a n   s p e c i f y   c o m m o n   m e t a d a t a   f o r   t h e   t e m p l a t e d   J o b s ,   s u c h   a s   l a b e l s   o r   a n n o t a t i o n s .   F o r   i n f o r m a t i o n   a b o u t   w r i t i n g   a   J o b   . s p e c ,   s e e   W r i t i n g   a   J o b   S p e c .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/",
    "id": "k8s_00161_section_3_2839"
  },
  {
    "question": "What is Deadline for delayed Job start?",
    "answer": "T h e   . s p e c . s t a r t i n g D e a d l i n e S e c o n d s   f i e l d   i s   o p t i o n a l .   T h i s   f i e l d   d e f i n e s   a   d e a d l i n e   ( i n   w h o l e   s e c o n d s )   f o r   s t a r t i n g   t h e   J o b ,   i f   t h a t   J o b   m i s s e s   i t s   s c h e d u l e d   t i m e   f o r   a n y   r e a s o n .   A f t e r   m i s s i n g   t h e   d e a d l i n e ,   t h e   C r o n J o b   s k i p s   t h a t   i n s t a n c e   o f   t h e   J o b   ( f u t u r e   o c c u r r e n c e s   a r e   s t i l l   s c h e d u l e d ) .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   b a c k u p   J o b   t h a t   r u n s   t w i c e   a   d a y ,   y o u   m i g h t   a l l o w   i t   t o   s t a r t   u p   t o   8   h o u r s   l a t e ,   b u t   n o   l a t e r ,   b e c a u s e   a   b a c k u p   t a k e n   a n y   l a t e r   w o u l d n ' t   b e   u s e f u l :   y o u   w o u l d   i n s t e a d   p r e f e r   t o   w a i t   f o r   t h e   n e x t   s c h e d u l e d   r u n .   F o r   J o b s   t h a t   m i s s   t h e i r   c o n f i g u r e d   d e a d l i n e ,   K u b e r n e t e s   t r e a t s   t h e m   a s   f a i l e d   J o b s .   I f   y o u   d o n ' t   s p e c i f y   s t a r t i n g D e a d l i n e S e c o n d s   f o r   a   C r o n J o b ,   t h e   J o b   o c c u r r e n c e s   h a v e   n o   d e a d l i n e .   I f   t h e   . s p e c . s t a r t i n g D e a d l i n e S e c o n d s   f i e l d   i s   s e t   ( n o t   n u l l ) ,   t h e   C r o n J o b   c o n t r o l l e r   m e a s u r e s   t h e   t i m e   b e t w e e n   w h e n   a   J o b   i s   e x p e c t e d   t o   b e   c r e a t e d   a n d   n o w .   I f   t h e   d i f f e r e n c e   i s   h i g h e r   t h a n   t h a t   l i m i t ,   i t   w i l l   s k i p   t h i s   e x e c u t i o n .   F o r   e x a m p l e ,   i f   i t   i s   s e t   t o   2 0 0 ,   i t   a l l o w s   a   J o b   t o   b e   c r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/",
    "id": "k8s_00161_section_3_2840"
  },
  {
    "question": "What is Concurrency policy?",
    "answer": "T h e   . s p e c . c o n c u r r e n c y P o l i c y   f i e l d   i s   a l s o   o p t i o n a l .   I t   s p e c i f i e s   h o w   t o   t r e a t   c o n c u r r e n t   e x e c u t i o n s   o f   a   J o b   t h a t   i s   c r e a t e d   b y   t h i s   C r o n J o b .   T h e   s p e c   m a y   s p e c i f y   o n l y   o n e   o f   t h e   f o l l o w i n g   c o n c u r r e n c y   p o l i c i e s :   A l l o w   ( d e f a u l t ) :   T h e   C r o n J o b   a l l o w s   c o n c u r r e n t l y   r u n n i n g   J o b s F o r b i d :   T h e   C r o n J o b   d o e s   n o t   a l l o w   c o n c u r r e n t   r u n s ;   i f   i t   i s   t i m e   f o r   a   n e w   J o b   r u n   a n d   t h e   p r e v i o u s   J o b   r u n   h a s n ' t   f i n i s h e d   y e t ,   t h e   C r o n J o b   s k i p s   t h e   n e w   J o b   r u n .   A l s o   n o t e   t h a t   w h e n   t h e   p r e v i o u s   J o b   r u n   f i n i s h e s ,   . s p e c . s t a r t i n g D e a d l i n e S e c o n d s   i s   s t i l l   t a k e n   i n t o   a c c o u n t   a n d   m a y   r e s u l t   i n   a   n e w   J o b   r u n . R e p l a c e :   I f   i t   i s   t i m e   f o r   a   n e w   J o b   r u n   a n d   t h e   p r e v i o u s   J o b   r u n   h a s n ' t   f i n i s h e d   y e t ,   t h e   C r o n J o b   r e p l a c e s   t h e   c u r r e n t l y   r u n n i n g   J o b   r u n   w i t h   a   n e w   J o b   r u n   N o t e   t h a t   c o n c u r r e n c y   p o l i c y   o n l y   a p p l i e s   t o   t h e   J o b s   c r e a t e d   b y   t h e   s a m e   C r o n J o b .   I f   t h e r e   a r e   m u l t i p l e   C r o n J o b s ,   t h e i r   r e s p e c t i v e   J o b s   a r e   a l w a y s   a l l o w e d   t o   r u n   c o n c u r r e n t l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/",
    "id": "k8s_00161_section_3_2841"
  },
  {
    "question": "What is Schedule suspension?",
    "answer": "Y o u   c a n   s u s p e n d   e x e c u t i o n   o f   J o b s   f o r   a   C r o n J o b ,   b y   s e t t i n g   t h e   o p t i o n a l   . s p e c . s u s p e n d   f i e l d   t o   t r u e .   T h e   f i e l d   d e f a u l t s   t o   f a l s e .   T h i s   s e t t i n g   d o e s   n o t   a f f e c t   J o b s   t h a t   t h e   C r o n J o b   h a s   a l r e a d y   s t a r t e d .   I f   y o u   d o   s e t   t h a t   f i e l d   t o   t r u e ,   a l l   s u b s e q u e n t   e x e c u t i o n s   a r e   s u s p e n d e d   ( t h e y   r e m a i n   s c h e d u l e d ,   b u t   t h e   C r o n J o b   c o n t r o l l e r   d o e s   n o t   s t a r t   t h e   J o b s   t o   r u n   t h e   t a s k s )   u n t i l   y o u   u n s u s p e n d   t h e   C r o n J o b .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/",
    "id": "k8s_00161_section_3_2842"
  },
  {
    "question": "What is Jobs history limits?",
    "answer": "T h e   . s p e c . s u c c e s s f u l J o b s H i s t o r y L i m i t   a n d   . s p e c . f a i l e d J o b s H i s t o r y L i m i t   f i e l d s   s p e c i f y   h o w   m a n y   c o m p l e t e d   a n d   f a i l e d   J o b s   s h o u l d   b e   k e p t .   B o t h   f i e l d s   a r e   o p t i o n a l .   . s p e c . s u c c e s s f u l J o b s H i s t o r y L i m i t :   T h i s   f i e l d   s p e c i f i e s   t h e   n u m b e r   o f   s u c c e s s f u l   f i n i s h e d   j o b s   t o   k e e p .   T h e   d e f a u l t   v a l u e   i s   3 .   S e t t i n g   t h i s   f i e l d   t o   0   w i l l   n o t   k e e p   a n y   s u c c e s s f u l   j o b s . . s p e c . f a i l e d J o b s H i s t o r y L i m i t :   T h i s   f i e l d   s p e c i f i e s   t h e   n u m b e r   o f   f a i l e d   f i n i s h e d   j o b s   t o   k e e p .   T h e   d e f a u l t   v a l u e   i s   1 .   S e t t i n g   t h i s   f i e l d   t o   0   w i l l   n o t   k e e p   a n y   f a i l e d   j o b s .   . s p e c . s u c c e s s f u l J o b s H i s t o r y L i m i t :   T h i s   f i e l d   s p e c i f i e s   t h e   n u m b e r   o f   s u c c e s s f u l   f i n i s h e d   j o b s   t o   k e e p .   T h e   d e f a u l t   v a l u e   i s   3 .   S e t t i n g   t h i s   f i e l d   t o   0   w i l l   n o t   k e e p   a n y   s u c c e s s f u l   j o b s .   . s p e c . f a i l e d J o b s H i s t o r y L i m i t :   T h i s   f i e l d   s p e c i f i e s   t h e   n u m b e r   o f   f a i l e d   f i n i s h e d   j o b s   t o   k e e p .   T h e   d e f a u l t   v a l u e   i s   1 .   S e t t i n g   t h i s   f i e l d   t o   0   w i l l   n o t   k e e p   a n y   f a i l e d   j o b s .   F o r   a n o t h e r   w a y   t o   c l e a n   u p   J o b s   a u t o m a t i c a l l y ,   s e e   C l e a n   u p   f i n i s h e d   J o b s   a u t o m a t i c a l l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/",
    "id": "k8s_00161_section_3_2843"
  },
  {
    "question": "What is Time zones?",
    "answer": "F o r   C r o n J o b s   w i t h   n o   t i m e   z o n e   s p e c i f i e d ,   t h e   k u b e - c o n t r o l l e r - m a n a g e r   i n t e r p r e t s   s c h e d u l e s   r e l a t i v e   t o   i t s   l o c a l   t i m e   z o n e .   Y o u   c a n   s p e c i f y   a   t i m e   z o n e   f o r   a   C r o n J o b   b y   s e t t i n g   . s p e c . t i m e Z o n e   t o   t h e   n a m e   o f   a   v a l i d   t i m e   z o n e .   F o r   e x a m p l e ,   s e t t i n g   . s p e c . t i m e Z o n e :   \" E t c / U T C \"   i n s t r u c t s   K u b e r n e t e s   t o   i n t e r p r e t   t h e   s c h e d u l e   r e l a t i v e   t o   C o o r d i n a t e d   U n i v e r s a l   T i m e .   A   t i m e   z o n e   d a t a b a s e   f r o m   t h e   G o   s t a n d a r d   l i b r a r y   i s   i n c l u d e d   i n   t h e   b i n a r i e s   a n d   u s e d   a s   a   f a l l b a c k   i n   c a s e   a n   e x t e r n a l   d a t a b a s e   i s   n o t   a v a i l a b l e   o n   t h e   s y s t e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/",
    "id": "k8s_00161_section_3_2844"
  },
  {
    "question": "What is Unsupported TimeZone specification?",
    "answer": "S p e c i f y i n g   a   t i m e z o n e   u s i n g   C R O N _ T Z   o r   T Z   v a r i a b l e s   i n s i d e   . s p e c . s c h e d u l e   i s   n o t   o f f i c i a l l y   s u p p o r t e d   ( a n d   n e v e r   h a s   b e e n ) .   I f   y o u   t r y   t o   s e t   a   s c h e d u l e   t h a t   i n c l u d e s   T Z   o r   C R O N _ T Z   t i m e z o n e   s p e c i f i c a t i o n ,   K u b e r n e t e s   w i l l   f a i l   t o   c r e a t e   o r   u p d a t e   t h e   r e s o u r c e   w i t h   a   v a l i d a t i o n   e r r o r .   Y o u   s h o u l d   s p e c i f y   t i m e   z o n e s   u s i n g   t h e   t i m e   z o n e   f i e l d ,   i n s t e a d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/",
    "id": "k8s_00161_section_3_2845"
  },
  {
    "question": "What is Modifying a CronJob?",
    "answer": "B y   d e s i g n ,   a   C r o n J o b   c o n t a i n s   a   t e m p l a t e   f o r   n e w   J o b s .   I f   y o u   m o d i f y   a n   e x i s t i n g   C r o n J o b ,   t h e   c h a n g e s   y o u   m a k e   w i l l   a p p l y   t o   n e w   J o b s   t h a t   s t a r t   t o   r u n   a f t e r   y o u r   m o d i f i c a t i o n   i s   c o m p l e t e .   J o b s   ( a n d   t h e i r   P o d s )   t h a t   h a v e   a l r e a d y   s t a r t e d   c o n t i n u e   t o   r u n   w i t h o u t   c h a n g e s .   T h a t   i s ,   t h e   C r o n J o b   d o e s   n o t   u p d a t e   e x i s t i n g   J o b s ,   e v e n   i f   t h o s e   r e m a i n   r u n n i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/",
    "id": "k8s_00161_section_3_2846"
  },
  {
    "question": "What is Job creation?",
    "answer": "A   C r o n J o b   c r e a t e s   a   J o b   o b j e c t   a p p r o x i m a t e l y   o n c e   p e r   e x e c u t i o n   t i m e   o f   i t s   s c h e d u l e .   T h e   s c h e d u l i n g   i s   a p p r o x i m a t e   b e c a u s e   t h e r e   a r e   c e r t a i n   c i r c u m s t a n c e s   w h e r e   t w o   J o b s   m i g h t   b e   c r e a t e d ,   o r   n o   J o b   m i g h t   b e   c r e a t e d .   K u b e r n e t e s   t r i e s   t o   a v o i d   t h o s e   s i t u a t i o n s ,   b u t   d o e s   n o t   c o m p l e t e l y   p r e v e n t   t h e m .   T h e r e f o r e ,   t h e   J o b s   t h a t   y o u   d e f i n e   s h o u l d   b e   i d e m p o t e n t .   S t a r t i n g   w i t h   K u b e r n e t e s   v 1 . 3 2 ,   C r o n J o b s   a p p l y   a n   a n n o t a t i o n   b a t c h . k u b e r n e t e s . i o / c r o n j o b - s c h e d u l e d - t i m e s t a m p   t o   t h e i r   c r e a t e d   J o b s .   T h i s   a n n o t a t i o n   i n d i c a t e s   t h e   o r i g i n a l l y   s c h e d u l e d   c r e a t i o n   t i m e   f o r   t h e   J o b   a n d   i s   f o r m a t t e d   i n   R F C 3 3 3 9 .   I f   s t a r t i n g D e a d l i n e S e c o n d s   i s   s e t   t o   a   l a r g e   v a l u e   o r   l e f t   u n s e t   ( t h e   d e f a u l t )   a n d   i f   c o n c u r r e n c y P o l i c y   i s   s e t   t o   A l l o w ,   t h e   J o b s   w i l l   a l w a y s   r u n   a t   l e a s t   o n c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/",
    "id": "k8s_00161_section_3_2847"
  },
  {
    "question": "What is Caution:?",
    "answer": "F o r   e v e r y   C r o n J o b ,   t h e   C r o n J o b   C o n t r o l l e r   c h e c k s   h o w   m a n y   s c h e d u l e s   i t   m i s s e d   i n   t h e   d u r a t i o n   f r o m   i t s   l a s t   s c h e d u l e d   t i m e   u n t i l   n o w .   I f   t h e r e   a r e   m o r e   t h a n   1 0 0   m i s s e d   s c h e d u l e s ,   t h e n   i t   d o e s   n o t   s t a r t   t h e   J o b   a n d   l o g s   t h e   e r r o r .   C a n n o t   d e t e r m i n e   i f   j o b   n e e d s   t o   b e   s t a r t e d .   T o o   m a n y   m i s s e d   s t a r t   t i m e   ( >   1 0 0 ) .   S e t   o r   d e c r e a s e   . s p e c . s t a r t i n g D e a d l i n e S e c o n d s   o r   c h e c k   c l o c k   s k e w .   I t   i s   i m p o r t a n t   t o   n o t e   t h a t   i f   t h e   s t a r t i n g D e a d l i n e S e c o n d s   f i e l d   i s   s e t   ( n o t   n i l ) ,   t h e   c o n t r o l l e r   c o u n t s   h o w   m a n y   m i s s e d   J o b s   o c c u r r e d   f r o m   t h e   v a l u e   o f   s t a r t i n g D e a d l i n e S e c o n d s   u n t i l   n o w   r a t h e r   t h a n   f r o m   t h e   l a s t   s c h e d u l e d   t i m e   u n t i l   n o w .   F o r   e x a m p l e ,   i f   s t a r t i n g D e a d l i n e S e c o n d s   i s   2 0 0 ,   t h e   c o n t r o l l e r   c o u n t s   h o w   m a n y   m i s s e d   J o b s   o c c u r r e d   i n   t h e   l a s t   2 0 0   s e c o n d s .   A   C r o n J o b   i s   c o u n t e d   a s   m i s s e d   i f   i t   h a s   f a i l e d   t o   b e   c r e a t e d   a t   i t s   s c h e d u l e d   t i m e .   F o r   e x a m p l e ,   i f   c o n c u r r e n c y P o l i c y   i s   s e t   t o   F o r b i d   a n d   a   C r o n J o b   w a s   a t t e m p t e d   t o   b e   s c h e d u l e d   w h e n   t h e r e   w a s   a   p r e v i o u s   s c h e d u l e   s t i l l   r u n n i n g ,   t h e n   i t   w o u l d   c o u n t   a s   m i s s ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/",
    "id": "k8s_00161_section_4_2848"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   P o d s   a n d   J o b s ,   t w o   c o n c e p t s   t h a t   C r o n J o b s   r e l y   u p o n . R e a d   a b o u t   t h e   d e t a i l e d   f o r m a t   o f   C r o n J o b   . s p e c . s c h e d u l e   f i e l d s . F o r   i n s t r u c t i o n s   o n   c r e a t i n g   a n d   w o r k i n g   w i t h   C r o n J o b s ,   a n d   f o r   a n   e x a m p l e   o f   a   C r o n J o b   m a n i f e s t ,   s e e   R u n n i n g   a u t o m a t e d   t a s k s   w i t h   C r o n J o b s . C r o n J o b   i s   p a r t   o f   t h e   K u b e r n e t e s   R E S T   A P I .   R e a d   t h e   C r o n J o b   A P I   r e f e r e n c e   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/",
    "id": "k8s_00161_section_2_2849"
  },
  {
    "question": "What is Configure Access to Multiple Clusters?",
    "answer": "Configure Access to Multiple ClustersThis page shows how to configure access to multiple clusters by using configuration files. After your clusters, users, and contexts are defined in one or more configuration files, you can quickly switch between clusters by using the kubectl config use-context command.Note:A file that is used to configure access to a cluster is sometimes called a kubeconfig file. This is a generic way of referring to configuration files. It does not mean that there is a file named kubeconfig.Warning:Only use kubeconfig files from trusted sources. Using a specially-crafted kubeconfig file could result in malicious code execution or file exposure. If you must use an untrusted kubeconfig file, inspect it carefully first, much as you would a shell script.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check that kubectl is installed, run kubectl version --client. The kubectl version should be within one minor version of your cluster's API server.Define clusters, users, and contextsSuppose you have two clusters, one for development work and one for test work. In the development cluster, your frontend developers work in a namespace called frontend, and your storage developers work in a namespace called storage. In your test cluster, developers work in the default namespace, or they create auxiliary namespaces as they see fit. Access to the development cluster requires authentication by certificate. Access to the test cluster requires authentication by username and password.Create a directory named config-exercise. In your config-exercise directory, create a file named config-demo with this content:apiVersion: v1 kind: Config preferences: {} clusters: - cluster: name: development - cluster: name: test users: - name: developer - name: experimenter contexts: - context: name: dev-frontend - context: name: dev-storage - context: name: exp-test A configuration file describes clusters, users, and contexts. Your config-demo file has the framework to describe two clusters, two users, and three contexts.Go to your config-exercise directory. Enter these commands to add cluster details to your configuration file:kubectl config --kubeconfig=config-demo set-cluster development --server=https://1.2.3.4 --certificate-authority=fake-ca-file kubectl config --kubeconfig=config-demo set-cluster test --server=https://5.6.7.8 --insecure-skip-tls-verify Add user details to your configuration file:Caution:Storing passwords in Kubernetes client config is risky. A better alternative would be to use a credential plugin and store them separately. See: client-go credential pl",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/",
    "id": "k8s_00162_qa_2850"
  },
  {
    "question": "How does Configure Access to Multiple Clusters work?",
    "answer": "Configure Access to Multiple ClustersThis page shows how to configure access to multiple clusters by using configuration files. After your clusters, users, and contexts are defined in one or more configuration files, you can quickly switch between clusters by using the kubectl config use-context command.Note:A file that is used to configure access to a cluster is sometimes called a kubeconfig file. This is a generic way of referring to configuration files. It does not mean that there is a file named kubeconfig.Warning:Only use kubeconfig files from trusted sources. Using a specially-crafted kubeconfig file could result in malicious code execution or file exposure. If you must use an untrusted kubeconfig file, inspect it carefully first, much as you would a shell script.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check that kubectl is installed, run kubectl version --client. The kubectl version should be within one minor version of your cluster's API server.Define clusters, users, and contextsSuppose you have two clusters, one for development work and one for test work. In the development cluster, your frontend developers work in a namespace called frontend, and your storage developers work in a namespace called storage. In your test cluster, developers work in the default namespace, or they create auxiliary namespaces as they see fit. Access to the development cluster requires authentication by certificate. Access to the test cluster requires authentication by username and password.Create a directory named config-exercise. In your config-exercise directory, create a file named config-demo with this content:apiVersion: v1 kind: Config preferences: {} clusters: - cluster: name: development - cluster: name: test users: - name: developer - name: experimenter contexts: - context: name: dev-frontend - context: name: dev-storage - context: name: exp-test A configuration file describes clusters, users, and contexts. Your config-demo file has the framework to describe two clusters, two users, and three contexts.Go to your config-exercise directory. Enter these commands to add cluster details to your configuration file:kubectl config --kubeconfig=config-demo set-cluster development --server=https://1.2.3.4 --certificate-authority=fake-ca-file kubectl config --kubeconfig=config-demo set-cluster test --server=https://5.6.7.8 --insecure-skip-tls-verify Add user details to your configuration file:Caution:Storing passwords in Kubernetes client config is risky. A better alternative would be to use a credential plugin and store them separately. See: client-go credential pl",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/",
    "id": "k8s_00162_qa_2851"
  },
  {
    "question": "When would you use Configure Access to Multiple Clusters?",
    "answer": "Configure Access to Multiple ClustersThis page shows how to configure access to multiple clusters by using configuration files. After your clusters, users, and contexts are defined in one or more configuration files, you can quickly switch between clusters by using the kubectl config use-context command.Note:A file that is used to configure access to a cluster is sometimes called a kubeconfig file. This is a generic way of referring to configuration files. It does not mean that there is a file named kubeconfig.Warning:Only use kubeconfig files from trusted sources. Using a specially-crafted kubeconfig file could result in malicious code execution or file exposure. If you must use an untrusted kubeconfig file, inspect it carefully first, much as you would a shell script.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check that kubectl is installed, run kubectl version --client. The kubectl version should be within one minor version of your cluster's API server.Define clusters, users, and contextsSuppose you have two clusters, one for development work and one for test work. In the development cluster, your frontend developers work in a namespace called frontend, and your storage developers work in a namespace called storage. In your test cluster, developers work in the default namespace, or they create auxiliary namespaces as they see fit. Access to the development cluster requires authentication by certificate. Access to the test cluster requires authentication by username and password.Create a directory named config-exercise. In your config-exercise directory, create a file named config-demo with this content:apiVersion: v1 kind: Config preferences: {} clusters: - cluster: name: development - cluster: name: test users: - name: developer - name: experimenter contexts: - context: name: dev-frontend - context: name: dev-storage - context: name: exp-test A configuration file describes clusters, users, and contexts. Your config-demo file has the framework to describe two clusters, two users, and three contexts.Go to your config-exercise directory. Enter these commands to add cluster details to your configuration file:kubectl config --kubeconfig=config-demo set-cluster development --server=https://1.2.3.4 --certificate-authority=fake-ca-file kubectl config --kubeconfig=config-demo set-cluster test --server=https://5.6.7.8 --insecure-skip-tls-verify Add user details to your configuration file:Caution:Storing passwords in Kubernetes client config is risky. A better alternative would be to use a credential plugin and store them separately. See: client-go credential pl",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/",
    "id": "k8s_00162_qa_2852"
  },
  {
    "question": "What are the benefits of Configure Access to Multiple Clusters?",
    "answer": "Configure Access to Multiple ClustersThis page shows how to configure access to multiple clusters by using configuration files. After your clusters, users, and contexts are defined in one or more configuration files, you can quickly switch between clusters by using the kubectl config use-context command.Note:A file that is used to configure access to a cluster is sometimes called a kubeconfig file. This is a generic way of referring to configuration files. It does not mean that there is a file named kubeconfig.Warning:Only use kubeconfig files from trusted sources. Using a specially-crafted kubeconfig file could result in malicious code execution or file exposure. If you must use an untrusted kubeconfig file, inspect it carefully first, much as you would a shell script.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check that kubectl is installed, run kubectl version --client. The kubectl version should be within one minor version of your cluster's API server.Define clusters, users, and contextsSuppose you have two clusters, one for development work and one for test work. In the development cluster, your frontend developers work in a namespace called frontend, and your storage developers work in a namespace called storage. In your test cluster, developers work in the default namespace, or they create auxiliary namespaces as they see fit. Access to the development cluster requires authentication by certificate. Access to the test cluster requires authentication by username and password.Create a directory named config-exercise. In your config-exercise directory, create a file named config-demo with this content:apiVersion: v1 kind: Config preferences: {} clusters: - cluster: name: development - cluster: name: test users: - name: developer - name: experimenter contexts: - context: name: dev-frontend - context: name: dev-storage - context: name: exp-test A configuration file describes clusters, users, and contexts. Your config-demo file has the framework to describe two clusters, two users, and three contexts.Go to your config-exercise directory. Enter these commands to add cluster details to your configuration file:kubectl config --kubeconfig=config-demo set-cluster development --server=https://1.2.3.4 --certificate-authority=fake-ca-file kubectl config --kubeconfig=config-demo set-cluster test --server=https://5.6.7.8 --insecure-skip-tls-verify Add user details to your configuration file:Caution:Storing passwords in Kubernetes client config is risky. A better alternative would be to use a credential plugin and store them separately. See: client-go credential pl",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/",
    "id": "k8s_00162_qa_2853"
  },
  {
    "question": "What is Configure Access to Multiple Clusters?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   a c c e s s   t o   m u l t i p l e   c l u s t e r s   b y   u s i n g   c o n f i g u r a t i o n   f i l e s .   A f t e r   y o u r   c l u s t e r s ,   u s e r s ,   a n d   c o n t e x t s   a r e   d e f i n e d   i n   o n e   o r   m o r e   c o n f i g u r a t i o n   f i l e s ,   y o u   c a n   q u i c k l y   s w i t c h   b e t w e e n   c l u s t e r s   b y   u s i n g   t h e   k u b e c t l   c o n f i g   u s e - c o n t e x t   c o m m a n d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/",
    "id": "k8s_00162_section_1_2854"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h a t   k u b e c t l   i s   i n s t a l l e d ,   r u n   k u b e c t l   v e r s i o n   - - c l i e n t .   T h e   k u b e c t l   v e r s i o n   s h o u l d   b e   w i t h i n   o n e   m i n o r   v e r s i o n   o f   y o u r   c l u s t e r ' s   A P I   s e r v e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/",
    "id": "k8s_00162_section_2_2855"
  },
  {
    "question": "What is Define clusters, users, and contexts?",
    "answer": "S u p p o s e   y o u   h a v e   t w o   c l u s t e r s ,   o n e   f o r   d e v e l o p m e n t   w o r k   a n d   o n e   f o r   t e s t   w o r k .   I n   t h e   d e v e l o p m e n t   c l u s t e r ,   y o u r   f r o n t e n d   d e v e l o p e r s   w o r k   i n   a   n a m e s p a c e   c a l l e d   f r o n t e n d ,   a n d   y o u r   s t o r a g e   d e v e l o p e r s   w o r k   i n   a   n a m e s p a c e   c a l l e d   s t o r a g e .   I n   y o u r   t e s t   c l u s t e r ,   d e v e l o p e r s   w o r k   i n   t h e   d e f a u l t   n a m e s p a c e ,   o r   t h e y   c r e a t e   a u x i l i a r y   n a m e s p a c e s   a s   t h e y   s e e   f i t .   A c c e s s   t o   t h e   d e v e l o p m e n t   c l u s t e r   r e q u i r e s   a u t h e n t i c a t i o n   b y   c e r t i f i c a t e .   A c c e s s   t o   t h e   t e s t   c l u s t e r   r e q u i r e s   a u t h e n t i c a t i o n   b y   u s e r n a m e   a n d   p a s s w o r d .   C r e a t e   a   d i r e c t o r y   n a m e d   c o n f i g - e x e r c i s e .   I n   y o u r   c o n f i g - e x e r c i s e   d i r e c t o r y ,   c r e a t e   a   f i l e   n a m e d   c o n f i g - d e m o   w i t h   t h i s   c o n t e n t :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g   p r e f e r e n c e s :   { }   c l u s t e r s :   -   c l u s t e r :   n a m e :   d e v e l o p m e n t   -   c l u s t e r :   n a m e :   t e s t   u s e r s :   -   n a m e :   d e v e l o p e r   -   n a m e :   e x p e r i m e n t e r   c o n t e x t s :   -   c o n t e x t :   n a m e :   d e v - f r o n t e n d   -   c o n t e x t :   n a m e :   d e v - s t o r a g e   -   c o n t e x t :   n a m e :   e x p - t e s t   A   c o n f i g u r a t i o n   f i l e   d e s c r i b e s   c l u s t e r s ,   u s e r s ,   a n d   c o n t e x t s .   Y o u r   c o n f i g - d e m o   f i l e   h a s   t h e   f r a m e w o r k   t o   d e s c r i b e   t w o   c l u s t e r ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/",
    "id": "k8s_00162_section_2_2856"
  },
  {
    "question": "What is Caution:?",
    "answer": "k u b e c t l   c o n f i g   - - k u b e c o n f i g = c o n f i g - d e m o   s e t - c r e d e n t i a l s   d e v e l o p e r   - - c l i e n t - c e r t i f i c a t e = f a k e - c e r t - f i l e   - - c l i e n t - k e y = f a k e - k e y - s e e f i l e   k u b e c t l   c o n f i g   - - k u b e c o n f i g = c o n f i g - d e m o   s e t - c r e d e n t i a l s   e x p e r i m e n t e r   - - u s e r n a m e = e x p   - - p a s s w o r d = s o m e - p a s s w o r d",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/",
    "id": "k8s_00162_section_4_2857"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   d e l e t e   a   u s e r   y o u   c a n   r u n   k u b e c t l   - - k u b e c o n f i g = c o n f i g - d e m o   c o n f i g   u n s e t   u s e r s . < n a m e > T o   r e m o v e   a   c l u s t e r ,   y o u   c a n   r u n   k u b e c t l   - - k u b e c o n f i g = c o n f i g - d e m o   c o n f i g   u n s e t   c l u s t e r s . < n a m e > T o   r e m o v e   a   c o n t e x t ,   y o u   c a n   r u n   k u b e c t l   - - k u b e c o n f i g = c o n f i g - d e m o   c o n f i g   u n s e t   c o n t e x t s . < n a m e >   A d d   c o n t e x t   d e t a i l s   t o   y o u r   c o n f i g u r a t i o n   f i l e :   k u b e c t l   c o n f i g   - - k u b e c o n f i g = c o n f i g - d e m o   s e t - c o n t e x t   d e v - f r o n t e n d   - - c l u s t e r = d e v e l o p m e n t   - - n a m e s p a c e = f r o n t e n d   - - u s e r = d e v e l o p e r   k u b e c t l   c o n f i g   - - k u b e c o n f i g = c o n f i g - d e m o   s e t - c o n t e x t   d e v - s t o r a g e   - - c l u s t e r = d e v e l o p m e n t   - - n a m e s p a c e = s t o r a g e   - - u s e r = d e v e l o p e r   k u b e c t l   c o n f i g   - - k u b e c o n f i g = c o n f i g - d e m o   s e t - c o n t e x t   e x p - t e s t   - - c l u s t e r = t e s t   - - n a m e s p a c e = d e f a u l t   - - u s e r = e x p e r i m e n t e r   O p e n   y o u r   c o n f i g - d e m o   f i l e   t o   s e e   t h e   a d d e d   d e t a i l s .   A s   a n   a l t e r n a t i v e   t o   o p e n i n g   t h e   c o n f i g - d e m o   f i l e ,   y o u   c a n   u s e   t h e   c o n f i g   v i e w   c o m m a n d .   k u b e c t l   c o n f i g   - - k u b e c o n f i g = c o n f i g - d e m o   v i e w   T h e   o u t p u t   s h o w s   t h e   t w o   c l u s t e r s ,   t w o   u s e r s ,   a n d   t h r e e   c o n t e x t s :   a p i V e r s i o n :   v 1   c l u s t e r s :   -   c l u s t e r :   c e r t i f i c a t e - a u t h o r i t y :   f ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/",
    "id": "k8s_00162_section_4_2858"
  },
  {
    "question": "What is Create a second configuration file?",
    "answer": "I n   y o u r   c o n f i g - e x e r c i s e   d i r e c t o r y ,   c r e a t e   a   f i l e   n a m e d   c o n f i g - d e m o - 2   w i t h   t h i s   c o n t e n t :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g   p r e f e r e n c e s :   { }   c o n t e x t s :   -   c o n t e x t :   c l u s t e r :   d e v e l o p m e n t   n a m e s p a c e :   r a m p   u s e r :   d e v e l o p e r   n a m e :   d e v - r a m p - u p   T h e   p r e c e d i n g   c o n f i g u r a t i o n   f i l e   d e f i n e s   a   n e w   c o n t e x t   n a m e d   d e v - r a m p - u p .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/",
    "id": "k8s_00162_section_2_2859"
  },
  {
    "question": "What is Set the KUBECONFIG environment variable?",
    "answer": "S e e   w h e t h e r   y o u   h a v e   a n   e n v i r o n m e n t   v a r i a b l e   n a m e d   K U B E C O N F I G .   I f   s o ,   s a v e   t h e   c u r r e n t   v a l u e   o f   y o u r   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e ,   s o   y o u   c a n   r e s t o r e   i t   l a t e r .   F o r   e x a m p l e :",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/",
    "id": "k8s_00162_section_2_2860"
  },
  {
    "question": "What is Linux?",
    "answer": "e x p o r t   K U B E C O N F I G _ S A V E D = \" $ K U B E C O N F I G \"",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/",
    "id": "k8s_00162_section_3_2861"
  },
  {
    "question": "What is Windows PowerShell?",
    "answer": "$ E n v : K U B E C O N F I G _ S A V E D = $ E N V : K U B E C O N F I G   T h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   i s   a   l i s t   o f   p a t h s   t o   c o n f i g u r a t i o n   f i l e s .   T h e   l i s t   i s   c o l o n - d e l i m i t e d   f o r   L i n u x   a n d   M a c ,   a n d   s e m i c o l o n - d e l i m i t e d   f o r   W i n d o w s .   I f   y o u   h a v e   a   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e ,   f a m i l i a r i z e   y o u r s e l f   w i t h   t h e   c o n f i g u r a t i o n   f i l e s   i n   t h e   l i s t .   T e m p o r a r i l y   a p p e n d   t w o   p a t h s   t o   y o u r   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e .   F o r   e x a m p l e :",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/",
    "id": "k8s_00162_section_3_2862"
  },
  {
    "question": "What is Linux?",
    "answer": "e x p o r t   K U B E C O N F I G = \" $ { K U B E C O N F I G } : c o n f i g - d e m o : c o n f i g - d e m o - 2 \"",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/",
    "id": "k8s_00162_section_3_2863"
  },
  {
    "question": "What is Windows PowerShell?",
    "answer": "$ E n v : K U B E C O N F I G = ( \" c o n f i g - d e m o ; c o n f i g - d e m o - 2 \" )   I n   y o u r   c o n f i g - e x e r c i s e   d i r e c t o r y ,   e n t e r   t h i s   c o m m a n d :   k u b e c t l   c o n f i g   v i e w   T h e   o u t p u t   s h o w s   m e r g e d   i n f o r m a t i o n   f r o m   a l l   t h e   f i l e s   l i s t e d   i n   y o u r   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e .   I n   p a r t i c u l a r ,   n o t i c e   t h a t   t h e   m e r g e d   i n f o r m a t i o n   h a s   t h e   d e v - r a m p - u p   c o n t e x t   f r o m   t h e   c o n f i g - d e m o - 2   f i l e   a n d   t h e   t h r e e   c o n t e x t s   f r o m   t h e   c o n f i g - d e m o   f i l e :   c o n t e x t s :   -   c o n t e x t :   c l u s t e r :   d e v e l o p m e n t   n a m e s p a c e :   f r o n t e n d   u s e r :   d e v e l o p e r   n a m e :   d e v - f r o n t e n d   -   c o n t e x t :   c l u s t e r :   d e v e l o p m e n t   n a m e s p a c e :   r a m p   u s e r :   d e v e l o p e r   n a m e :   d e v - r a m p - u p   -   c o n t e x t :   c l u s t e r :   d e v e l o p m e n t   n a m e s p a c e :   s t o r a g e   u s e r :   d e v e l o p e r   n a m e :   d e v - s t o r a g e   -   c o n t e x t :   c l u s t e r :   t e s t   n a m e s p a c e :   d e f a u l t   u s e r :   e x p e r i m e n t e r   n a m e :   e x p - t e s t   F o r   m o r e   i n f o r m a t i o n   a b o u t   h o w   k u b e c o n f i g   f i l e s   a r e   m e r g e d ,   s e e   O r g a n i z i n g   C l u s t e r   A c c e s s   U s i n g   k u b e c o n f i g   F i l e s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/",
    "id": "k8s_00162_section_3_2864"
  },
  {
    "question": "What is Explore the $HOME/.kube directory?",
    "answer": "I f   y o u   a l r e a d y   h a v e   a   c l u s t e r ,   a n d   y o u   c a n   u s e   k u b e c t l   t o   i n t e r a c t   w i t h   t h e   c l u s t e r ,   t h e n   y o u   p r o b a b l y   h a v e   a   f i l e   n a m e d   c o n f i g   i n   t h e   $ H O M E / . k u b e   d i r e c t o r y .   G o   t o   $ H O M E / . k u b e ,   a n d   s e e   w h a t   f i l e s   a r e   t h e r e .   T y p i c a l l y ,   t h e r e   i s   a   f i l e   n a m e d   c o n f i g .   T h e r e   m i g h t   a l s o   b e   o t h e r   c o n f i g u r a t i o n   f i l e s   i n   t h i s   d i r e c t o r y .   B r i e f l y   f a m i l i a r i z e   y o u r s e l f   w i t h   t h e   c o n t e n t s   o f   t h e s e   f i l e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/",
    "id": "k8s_00162_section_2_2865"
  },
  {
    "question": "What is Append $HOME/.kube/config to your KUBECONFIG environment variable?",
    "answer": "I f   y o u   h a v e   a   $ H O M E / . k u b e / c o n f i g   f i l e ,   a n d   i t ' s   n o t   a l r e a d y   l i s t e d   i n   y o u r   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e ,   a p p e n d   i t   t o   y o u r   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   n o w .   F o r   e x a m p l e :",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/",
    "id": "k8s_00162_section_2_2866"
  },
  {
    "question": "What is Linux?",
    "answer": "e x p o r t   K U B E C O N F I G = \" $ { K U B E C O N F I G } : $ { H O M E } / . k u b e / c o n f i g \"",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/",
    "id": "k8s_00162_section_3_2867"
  },
  {
    "question": "What is Windows Powershell?",
    "answer": "$ E n v : K U B E C O N F I G = \" $ E n v : K U B E C O N F I G ; $ H O M E \\ . k u b e \\ c o n f i g \"   V i e w   c o n f i g u r a t i o n   i n f o r m a t i o n   m e r g e d   f r o m   a l l   t h e   f i l e s   t h a t   a r e   n o w   l i s t e d   i n   y o u r   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e .   I n   y o u r   c o n f i g - e x e r c i s e   d i r e c t o r y ,   e n t e r :   k u b e c t l   c o n f i g   v i e w",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/",
    "id": "k8s_00162_section_3_2868"
  },
  {
    "question": "What is Clean up?",
    "answer": "R e t u r n   y o u r   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   t o   i t s   o r i g i n a l   v a l u e .   F o r   e x a m p l e :",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/",
    "id": "k8s_00162_section_2_2869"
  },
  {
    "question": "What is Linux?",
    "answer": "e x p o r t   K U B E C O N F I G = \" $ K U B E C O N F I G _ S A V E D \"",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/",
    "id": "k8s_00162_section_3_2870"
  },
  {
    "question": "What is Windows PowerShell?",
    "answer": "$ E n v : K U B E C O N F I G = $ E N V : K U B E C O N F I G _ S A V E D",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/",
    "id": "k8s_00162_section_3_2871"
  },
  {
    "question": "What is Check the subject represented by the kubeconfig?",
    "answer": "I t   i s   n o t   a l w a y s   o b v i o u s   w h a t   a t t r i b u t e s   ( u s e r n a m e ,   g r o u p s )   y o u   w i l l   g e t   a f t e r   a u t h e n t i c a t i n g   t o   t h e   c l u s t e r .   I t   c a n   b e   e v e n   m o r e   c h a l l e n g i n g   i f   y o u   a r e   m a n a g i n g   m o r e   t h a n   o n e   c l u s t e r   a t   t h e   s a m e   t i m e .   T h e r e   i s   a   k u b e c t l   s u b c o m m a n d   t o   c h e c k   s u b j e c t   a t t r i b u t e s ,   s u c h   a s   u s e r n a m e ,   f o r   y o u r   s e l e c t e d   K u b e r n e t e s   c l i e n t   c o n t e x t :   k u b e c t l   a u t h   w h o a m i .   R e a d   A P I   a c c e s s   t o   a u t h e n t i c a t i o n   i n f o r m a t i o n   f o r   a   c l i e n t   t o   l e a r n   a b o u t   t h i s   i n   m o r e   d e t a i l .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/",
    "id": "k8s_00162_section_2_2872"
  },
  {
    "question": "What is What's next?",
    "answer": "O r g a n i z i n g   C l u s t e r   A c c e s s   U s i n g   k u b e c o n f i g   F i l e s k u b e c t l   c o n f i g",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/",
    "id": "k8s_00162_section_2_2873"
  },
  {
    "question": "What is Pod?",
    "answer": "PodPod is a collection of containers that can run on a host.apiVersion: v1import \"k8s.io/api/core/v1\"PodPod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.apiVersion: v1kind: Podmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PodSpec)Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (PodStatus)Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusPodSpecPodSpec is a description of a pod.Containerscontainers ([]Container), requiredPatch strategy: merge on key nameMap: unique values on key name will be kept during a mergeList of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.initContainers ([]Container)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergeList of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ephemeralContainers ([]EphemeralContainer)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergeList of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource.imagePullSecrets ([]LocalObjectReference)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergeImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. More info: ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_qa_2874"
  },
  {
    "question": "How does Pod work?",
    "answer": "PodPod is a collection of containers that can run on a host.apiVersion: v1import \"k8s.io/api/core/v1\"PodPod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.apiVersion: v1kind: Podmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PodSpec)Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (PodStatus)Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusPodSpecPodSpec is a description of a pod.Containerscontainers ([]Container), requiredPatch strategy: merge on key nameMap: unique values on key name will be kept during a mergeList of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.initContainers ([]Container)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergeList of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ephemeralContainers ([]EphemeralContainer)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergeList of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource.imagePullSecrets ([]LocalObjectReference)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergeImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. More info: ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_qa_2875"
  },
  {
    "question": "When would you use Pod?",
    "answer": "PodPod is a collection of containers that can run on a host.apiVersion: v1import \"k8s.io/api/core/v1\"PodPod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.apiVersion: v1kind: Podmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PodSpec)Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (PodStatus)Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusPodSpecPodSpec is a description of a pod.Containerscontainers ([]Container), requiredPatch strategy: merge on key nameMap: unique values on key name will be kept during a mergeList of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.initContainers ([]Container)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergeList of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ephemeralContainers ([]EphemeralContainer)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergeList of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource.imagePullSecrets ([]LocalObjectReference)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergeImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. More info: ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_qa_2876"
  },
  {
    "question": "What are the benefits of Pod?",
    "answer": "PodPod is a collection of containers that can run on a host.apiVersion: v1import \"k8s.io/api/core/v1\"PodPod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.apiVersion: v1kind: Podmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PodSpec)Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (PodStatus)Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusPodSpecPodSpec is a description of a pod.Containerscontainers ([]Container), requiredPatch strategy: merge on key nameMap: unique values on key name will be kept during a mergeList of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.initContainers ([]Container)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergeList of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ephemeralContainers ([]EphemeralContainer)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergeList of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource.imagePullSecrets ([]LocalObjectReference)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergeImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. More info: ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_qa_2877"
  },
  {
    "question": "What is Pod?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_1_2878"
  },
  {
    "question": "What is Pod?",
    "answer": "P o d   i s   a   c o l l e c t i o n   o f   c o n t a i n e r s   t h a t   c a n   r u n   o n   a   h o s t .   T h i s   r e s o u r c e   i s   c r e a t e d   b y   c l i e n t s   a n d   s c h e d u l e d   o n t o   h o s t s .   a p i V e r s i o n :   v 1 k i n d :   P o d m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( P o d S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   p o d .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( P o d S t a t u s ) M o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   p o d .   T h i s   d a t a   m a y   n o t   b e   u p   t o   d a t e .   P o p u l a t e d   b y   t h e   s y s t e m .   R e a d - o n l y .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( P o d S p e c )   S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   p o d .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_2_2879"
  },
  {
    "question": "What is PodSpec?",
    "answer": "P o d S p e c   i s   a   d e s c r i p t i o n   o f   a   p o d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_2_2880"
  },
  {
    "question": "What is Containers?",
    "answer": "c o n t a i n e r s   ( [ ] C o n t a i n e r ) ,   r e q u i r e d P a t c h   s t r a t e g y :   m e r g e   o n   k e y   n a m e M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e L i s t   o f   c o n t a i n e r s   b e l o n g i n g   t o   t h e   p o d .   C o n t a i n e r s   c a n n o t   c u r r e n t l y   b e   a d d e d   o r   r e m o v e d .   T h e r e   m u s t   b e   a t   l e a s t   o n e   c o n t a i n e r   i n   a   P o d .   C a n n o t   b e   u p d a t e d . i n i t C o n t a i n e r s   ( [ ] C o n t a i n e r ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   n a m e M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e L i s t   o f   i n i t i a l i z a t i o n   c o n t a i n e r s   b e l o n g i n g   t o   t h e   p o d .   I n i t   c o n t a i n e r s   a r e   e x e c u t e d   i n   o r d e r   p r i o r   t o   c o n t a i n e r s   b e i n g   s t a r t e d .   I f   a n y   i n i t   c o n t a i n e r   f a i l s ,   t h e   p o d   i s   c o n s i d e r e d   t o   h a v e   f a i l e d   a n d   i s   h a n d l e d   a c c o r d i n g   t o   i t s   r e s t a r t P o l i c y .   T h e   n a m e   f o r   a n   i n i t   c o n t a i n e r   o r   n o r m a l   c o n t a i n e r   m u s t   b e   u n i q u e   a m o n g   a l l   c o n t a i n e r s .   I n i t   c o n t a i n e r s   m a y   n o t   h a v e   L i f e c y c l e   a c t i o n s ,   R e a d i n e s s   p r o b e s ,   L i v e n e s s   p r o b e s ,   o r   S t a r t u p   p r o b e s .   T h e   r e s o u r c e R e q u i r e m e n t s   o f   a n   i n i t   c o n t a i n e r   a r e   t a k e n   i n t o   a c c o u n t   d u r i n g   s c h e d u l i n g   b y   f i n d i n g   t h e   h i g h e s t   r e q u e s t / l i m i t   f o r   e a c h   r e s o u r c e   t y p e ,   a n d   t h e n   u s i n g   t h e   m a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2881"
  },
  {
    "question": "What is Volumes?",
    "answer": "v o l u m e s   ( [ ] V o l u m e ) P a t c h   s t r a t e g i e s :   r e t a i n K e y s ,   m e r g e   o n   k e y   n a m e M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e L i s t   o f   v o l u m e s   t h a t   c a n   b e   m o u n t e d   b y   c o n t a i n e r s   b e l o n g i n g   t o   t h e   p o d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s   v o l u m e s   ( [ ] V o l u m e )   P a t c h   s t r a t e g i e s :   r e t a i n K e y s ,   m e r g e   o n   k e y   n a m e   M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e   L i s t   o f   v o l u m e s   t h a t   c a n   b e   m o u n t e d   b y   c o n t a i n e r s   b e l o n g i n g   t o   t h e   p o d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2882"
  },
  {
    "question": "What is Scheduling?",
    "answer": "n o d e S e l e c t o r   ( m a p [ s t r i n g ] s t r i n g ) N o d e S e l e c t o r   i s   a   s e l e c t o r   w h i c h   m u s t   b e   t r u e   f o r   t h e   p o d   t o   f i t   o n   a   n o d e .   S e l e c t o r   w h i c h   m u s t   m a t c h   a   n o d e ' s   l a b e l s   f o r   t h e   p o d   t o   b e   s c h e d u l e d   o n   t h a t   n o d e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n f i g u r a t i o n / a s s i g n - p o d - n o d e / n o d e N a m e   ( s t r i n g ) N o d e N a m e   i n d i c a t e s   i n   w h i c h   n o d e   t h i s   p o d   i s   s c h e d u l e d .   I f   e m p t y ,   t h i s   p o d   i s   a   c a n d i d a t e   f o r   s c h e d u l i n g   b y   t h e   s c h e d u l e r   d e f i n e d   i n   s c h e d u l e r N a m e .   O n c e   t h i s   f i e l d   i s   s e t ,   t h e   k u b e l e t   f o r   t h i s   n o d e   b e c o m e s   r e s p o n s i b l e   f o r   t h e   l i f e c y c l e   o f   t h i s   p o d .   T h i s   f i e l d   s h o u l d   n o t   b e   u s e d   t o   e x p r e s s   a   d e s i r e   f o r   t h e   p o d   t o   b e   s c h e d u l e d   o n   a   s p e c i f i c   n o d e .   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s c h e d u l i n g - e v i c t i o n / a s s i g n - p o d - n o d e / # n o d e n a m e a f f i n i t y   ( A f f i n i t y ) I f   s p e c i f i e d ,   t h e   p o d ' s   s c h e d u l i n g   c o n s t r a i n t s A f f i n i t y   i s   a   g r o u p   o f   a f f i n i t y   s c h e d u l i n g   r u l e s . a f f i n i t y . n o d e A f f i n i t y   ( N o d e A f f i n i t y ) D e s c r i b e s   n o d e   a f f i n i t y   s c h e d u l i n g   r u l e s   f o r   t h e   p o d . a f f i n i t y . p o d A f f i n i t y   ( P o d A f f i n i t y ) D e s c r i b e s   p o d   a f f i n i t y   s c h e d u l i n g   r u l e s   ( e . g .   c o - ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2883"
  },
  {
    "question": "What is Lifecycle?",
    "answer": "r e s t a r t P o l i c y   ( s t r i n g ) R e s t a r t   p o l i c y   f o r   a l l   c o n t a i n e r s   w i t h i n   t h e   p o d .   O n e   o f   A l w a y s ,   O n F a i l u r e ,   N e v e r .   I n   s o m e   c o n t e x t s ,   o n l y   a   s u b s e t   o f   t h o s e   v a l u e s   m a y   b e   p e r m i t t e d .   D e f a u l t   t o   A l w a y s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / p o d s / p o d - l i f e c y c l e / # r e s t a r t - p o l i c y t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   ( i n t 6 4 ) O p t i o n a l   d u r a t i o n   i n   s e c o n d s   t h e   p o d   n e e d s   t o   t e r m i n a t e   g r a c e f u l l y .   M a y   b e   d e c r e a s e d   i n   d e l e t e   r e q u e s t .   V a l u e   m u s t   b e   n o n - n e g a t i v e   i n t e g e r .   T h e   v a l u e   z e r o   i n d i c a t e s   s t o p   i m m e d i a t e l y   v i a   t h e   k i l l   s i g n a l   ( n o   o p p o r t u n i t y   t o   s h u t   d o w n ) .   I f   t h i s   v a l u e   i s   n i l ,   t h e   d e f a u l t   g r a c e   p e r i o d   w i l l   b e   u s e d   i n s t e a d .   T h e   g r a c e   p e r i o d   i s   t h e   d u r a t i o n   i n   s e c o n d s   a f t e r   t h e   p r o c e s s e s   r u n n i n g   i n   t h e   p o d   a r e   s e n t   a   t e r m i n a t i o n   s i g n a l   a n d   t h e   t i m e   w h e n   t h e   p r o c e s s e s   a r e   f o r c i b l y   h a l t e d   w i t h   a   k i l l   s i g n a l .   S e t   t h i s   v a l u e   l o n g e r   t h a n   t h e   e x p e c t e d   c l e a n u p   t i m e   f o r   y o u r   p r o c e s s .   D e f a u l t s   t o   3 0   s e c o n d s . a c t i v e D e a d l i n e S e c o n d s   ( i n t 6 4 ) O p t i o n a l   d u r a t i o n   i n   s e c o n d s   t h e   p o d   m a y   b e   a c t i v e   o n   t h e   n o d e   r e l a t i v e   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2884"
  },
  {
    "question": "What is Hostname and Name resolution?",
    "answer": "h o s t n a m e   ( s t r i n g ) S p e c i f i e s   t h e   h o s t n a m e   o f   t h e   P o d   I f   n o t   s p e c i f i e d ,   t h e   p o d ' s   h o s t n a m e   w i l l   b e   s e t   t o   a   s y s t e m - d e f i n e d   v a l u e . h o s t n a m e O v e r r i d e   ( s t r i n g ) H o s t n a m e O v e r r i d e   s p e c i f i e s   a n   e x p l i c i t   o v e r r i d e   f o r   t h e   p o d ' s   h o s t n a m e   a s   p e r c e i v e d   b y   t h e   p o d .   T h i s   f i e l d   o n l y   s p e c i f i e s   t h e   p o d ' s   h o s t n a m e   a n d   d o e s   n o t   a f f e c t   i t s   D N S   r e c o r d s .   W h e n   t h i s   f i e l d   i s   s e t   t o   a   n o n - e m p t y   s t r i n g :   -   I t   t a k e s   p r e c e d e n c e   o v e r   t h e   v a l u e s   s e t   i n   h o s t n a m e   a n d   s u b d o m a i n .   -   T h e   P o d ' s   h o s t n a m e   w i l l   b e   s e t   t o   t h i s   v a l u e .   -   s e t H o s t n a m e A s F Q D N   m u s t   b e   n i l   o r   s e t   t o   f a l s e .   -   h o s t N e t w o r k   m u s t   b e   s e t   t o   f a l s e . T h i s   f i e l d   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   a s   d e f i n e d   i n   R F C   1 1 2 3   a n d   c o n t a i n   a t   m o s t   6 4   c h a r a c t e r s .   R e q u i r e s   t h e   H o s t n a m e O v e r r i d e   f e a t u r e   g a t e   t o   b e   e n a b l e d . s e t H o s t n a m e A s F Q D N   ( b o o l e a n ) I f   t r u e   t h e   p o d ' s   h o s t n a m e   w i l l   b e   c o n f i g u r e d   a s   t h e   p o d ' s   F Q D N ,   r a t h e r   t h a n   t h e   l e a f   n a m e   ( t h e   d e f a u l t ) .   I n   L i n u x   c o n t a i n e r s ,   t h i s   m e a n s   s e t t i n g   t h e   F Q D N   i n   t h e   h o s t n a m e   f i e l d   o f   t h e   k e r n e l   ( t h e   n o d e n a m e   f i e l d   o f   s t r u c t   u t s n a m e ) .   I n   W i n d o w s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2885"
  },
  {
    "question": "What is Hosts namespaces?",
    "answer": "h o s t N e t w o r k   ( b o o l e a n ) H o s t   n e t w o r k i n g   r e q u e s t e d   f o r   t h i s   p o d .   U s e   t h e   h o s t ' s   n e t w o r k   n a m e s p a c e .   W h e n   u s i n g   H o s t N e t w o r k   y o u   s h o u l d   s p e c i f y   p o r t s   s o   t h e   s c h e d u l e r   i s   a w a r e .   W h e n   h o s t N e t w o r k   i s   t r u e ,   s p e c i f i e d   h o s t P o r t   f i e l d s   i n   p o r t   d e f i n i t i o n s   m u s t   m a t c h   c o n t a i n e r P o r t ,   a n d   u n s p e c i f i e d   h o s t P o r t   f i e l d s   i n   p o r t   d e f i n i t i o n s   a r e   d e f a u l t e d   t o   m a t c h   c o n t a i n e r P o r t .   D e f a u l t   t o   f a l s e . h o s t P I D   ( b o o l e a n ) U s e   t h e   h o s t ' s   p i d   n a m e s p a c e .   O p t i o n a l :   D e f a u l t   t o   f a l s e . h o s t I P C   ( b o o l e a n ) U s e   t h e   h o s t ' s   i p c   n a m e s p a c e .   O p t i o n a l :   D e f a u l t   t o   f a l s e . s h a r e P r o c e s s N a m e s p a c e   ( b o o l e a n ) S h a r e   a   s i n g l e   p r o c e s s   n a m e s p a c e   b e t w e e n   a l l   o f   t h e   c o n t a i n e r s   i n   a   p o d .   W h e n   t h i s   i s   s e t   c o n t a i n e r s   w i l l   b e   a b l e   t o   v i e w   a n d   s i g n a l   p r o c e s s e s   f r o m   o t h e r   c o n t a i n e r s   i n   t h e   s a m e   p o d ,   a n d   t h e   f i r s t   p r o c e s s   i n   e a c h   c o n t a i n e r   w i l l   n o t   b e   a s s i g n e d   P I D   1 .   H o s t P I D   a n d   S h a r e P r o c e s s N a m e s p a c e   c a n n o t   b o t h   b e   s e t .   O p t i o n a l :   D e f a u l t   t o   f a l s e .   h o s t N e t w o r k   ( b o o l e a n )   H o s t   n e t w o r k i n g   r e q u e s t e d   f o r   t h i s   p o d .   U s e   t h e   h o s t ' s   n e t w o r k   n a m e s p a c e .   W h e n   u s i n g   H o s t N e t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2886"
  },
  {
    "question": "What is Service account?",
    "answer": "s e r v i c e A c c o u n t N a m e   ( s t r i n g ) S e r v i c e A c c o u n t N a m e   i s   t h e   n a m e   o f   t h e   S e r v i c e A c c o u n t   t o   u s e   t o   r u n   t h i s   p o d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g u r e - s e r v i c e - a c c o u n t / a u t o m o u n t S e r v i c e A c c o u n t T o k e n   ( b o o l e a n ) A u t o m o u n t S e r v i c e A c c o u n t T o k e n   i n d i c a t e s   w h e t h e r   a   s e r v i c e   a c c o u n t   t o k e n   s h o u l d   b e   a u t o m a t i c a l l y   m o u n t e d .   s e r v i c e A c c o u n t N a m e   ( s t r i n g )   S e r v i c e A c c o u n t N a m e   i s   t h e   n a m e   o f   t h e   S e r v i c e A c c o u n t   t o   u s e   t o   r u n   t h i s   p o d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g u r e - s e r v i c e - a c c o u n t /   a u t o m o u n t S e r v i c e A c c o u n t T o k e n   ( b o o l e a n )   A u t o m o u n t S e r v i c e A c c o u n t T o k e n   i n d i c a t e s   w h e t h e r   a   s e r v i c e   a c c o u n t   t o k e n   s h o u l d   b e   a u t o m a t i c a l l y   m o u n t e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2887"
  },
  {
    "question": "What is Security context?",
    "answer": "s e c u r i t y C o n t e x t   ( P o d S e c u r i t y C o n t e x t ) S e c u r i t y C o n t e x t   h o l d s   p o d - l e v e l   s e c u r i t y   a t t r i b u t e s   a n d   c o m m o n   c o n t a i n e r   s e t t i n g s .   O p t i o n a l :   D e f a u l t s   t o   e m p t y .   S e e   t y p e   d e s c r i p t i o n   f o r   d e f a u l t   v a l u e s   o f   e a c h   f i e l d . P o d S e c u r i t y C o n t e x t   h o l d s   p o d - l e v e l   s e c u r i t y   a t t r i b u t e s   a n d   c o m m o n   c o n t a i n e r   s e t t i n g s .   S o m e   f i e l d s   a r e   a l s o   p r e s e n t   i n   c o n t a i n e r . s e c u r i t y C o n t e x t .   F i e l d   v a l u e s   o f   c o n t a i n e r . s e c u r i t y C o n t e x t   t a k e   p r e c e d e n c e   o v e r   f i e l d   v a l u e s   o f   P o d S e c u r i t y C o n t e x t . s e c u r i t y C o n t e x t . a p p A r m o r P r o f i l e   ( A p p A r m o r P r o f i l e ) a p p A r m o r P r o f i l e   i s   t h e   A p p A r m o r   o p t i o n s   t o   u s e   b y   t h e   c o n t a i n e r s   i n   t h i s   p o d .   N o t e   t h a t   t h i s   f i e l d   c a n n o t   b e   s e t   w h e n   s p e c . o s . n a m e   i s   w i n d o w s . A p p A r m o r P r o f i l e   d e f i n e s   a   p o d   o r   c o n t a i n e r ' s   A p p A r m o r   s e t t i n g s . s e c u r i t y C o n t e x t . a p p A r m o r P r o f i l e . t y p e   ( s t r i n g ) ,   r e q u i r e d t y p e   i n d i c a t e s   w h i c h   k i n d   o f   A p p A r m o r   p r o f i l e   w i l l   b e   a p p l i e d .   V a l i d   o p t i o n s   a r e :   L o c a l h o s t   -   a   p r o f i l e   p r e - l o a d e d   o n   t h e   n o d e .   R u n t i m e D e f a u l t   -   t h e   c o n t a i n e r   r u n t i m e ' s   d e f a u l t   p r o f i l e .   U n c o n f i n e d   -   n o   A p p A r m o r   e n f o r c e m e n t . s e c u r i t y C o n t e x t . a p p A r m o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2888"
  },
  {
    "question": "What is Alpha level?",
    "answer": "h o s t U s e r s   ( b o o l e a n ) U s e   t h e   h o s t ' s   u s e r   n a m e s p a c e .   O p t i o n a l :   D e f a u l t   t o   t r u e .   I f   s e t   t o   t r u e   o r   n o t   p r e s e n t ,   t h e   p o d   w i l l   b e   r u n   i n   t h e   h o s t   u s e r   n a m e s p a c e ,   u s e f u l   f o r   w h e n   t h e   p o d   n e e d s   a   f e a t u r e   o n l y   a v a i l a b l e   t o   t h e   h o s t   u s e r   n a m e s p a c e ,   s u c h   a s   l o a d i n g   a   k e r n e l   m o d u l e   w i t h   C A P _ S Y S _ M O D U L E .   W h e n   s e t   t o   f a l s e ,   a   n e w   u s e r n s   i s   c r e a t e d   f o r   t h e   p o d .   S e t t i n g   f a l s e   i s   u s e f u l   f o r   m i t i g a t i n g   c o n t a i n e r   b r e a k o u t   v u l n e r a b i l i t i e s   e v e n   a l l o w i n g   u s e r s   t o   r u n   t h e i r   c o n t a i n e r s   a s   r o o t   w i t h o u t   a c t u a l l y   h a v i n g   r o o t   p r i v i l e g e s   o n   t h e   h o s t .   T h i s   f i e l d   i s   a l p h a - l e v e l   a n d   i s   o n l y   h o n o r e d   b y   s e r v e r s   t h a t   e n a b l e   t h e   U s e r N a m e s p a c e s S u p p o r t   f e a t u r e . r e s o u r c e s   ( R e s o u r c e R e q u i r e m e n t s ) R e s o u r c e s   i s   t h e   t o t a l   a m o u n t   o f   C P U   a n d   M e m o r y   r e s o u r c e s   r e q u i r e d   b y   a l l   c o n t a i n e r s   i n   t h e   p o d .   I t   s u p p o r t s   s p e c i f y i n g   R e q u e s t s   a n d   L i m i t s   f o r   \" c p u \" ,   \" m e m o r y \"   a n d   \" h u g e p a g e s - \"   r e s o u r c e   n a m e s   o n l y .   R e s o u r c e C l a i m s   a r e   n o t   s u p p o r t e d . T h i s   f i e l d   e n a b l e s   f i n e - g r a i n e d   c o n t r o l   o v e r   r e s o u r c e   a l l o c a t i o n   f o r   t h e   e n t i r e   p o d ,   a l l o w i n g   r e s o u r c e   s h a r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2889"
  },
  {
    "question": "What is Deprecated?",
    "answer": "s e r v i c e A c c o u n t   ( s t r i n g ) D e p r e c a t e d S e r v i c e A c c o u n t   i s   a   d e p r e c a t e d   a l i a s   f o r   S e r v i c e A c c o u n t N a m e .   D e p r e c a t e d :   U s e   s e r v i c e A c c o u n t N a m e   i n s t e a d .   s e r v i c e A c c o u n t   ( s t r i n g )   D e p r e c a t e d S e r v i c e A c c o u n t   i s   a   d e p r e c a t e d   a l i a s   f o r   S e r v i c e A c c o u n t N a m e .   D e p r e c a t e d :   U s e   s e r v i c e A c c o u n t N a m e   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2890"
  },
  {
    "question": "What is Container?",
    "answer": "A   s i n g l e   a p p l i c a t i o n   c o n t a i n e r   t h a t   y o u   w a n t   t o   r u n   w i t h i n   a   p o d .   n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   o f   t h e   c o n t a i n e r   s p e c i f i e d   a s   a   D N S _ L A B E L .   E a c h   c o n t a i n e r   i n   a   p o d   m u s t   h a v e   a   u n i q u e   n a m e   ( D N S _ L A B E L ) .   C a n n o t   b e   u p d a t e d .   n a m e   ( s t r i n g ) ,   r e q u i r e d   N a m e   o f   t h e   c o n t a i n e r   s p e c i f i e d   a s   a   D N S _ L A B E L .   E a c h   c o n t a i n e r   i n   a   p o d   m u s t   h a v e   a   u n i q u e   n a m e   ( D N S _ L A B E L ) .   C a n n o t   b e   u p d a t e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_2_2891"
  },
  {
    "question": "What is Image?",
    "answer": "i m a g e   ( s t r i n g ) C o n t a i n e r   i m a g e   n a m e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / i m a g e s   T h i s   f i e l d   i s   o p t i o n a l   t o   a l l o w   h i g h e r   l e v e l   c o n f i g   m a n a g e m e n t   t o   d e f a u l t   o r   o v e r r i d e   c o n t a i n e r   i m a g e s   i n   w o r k l o a d   c o n t r o l l e r s   l i k e   D e p l o y m e n t s   a n d   S t a t e f u l S e t s . i m a g e P u l l P o l i c y   ( s t r i n g ) I m a g e   p u l l   p o l i c y .   O n e   o f   A l w a y s ,   N e v e r ,   I f N o t P r e s e n t .   D e f a u l t s   t o   A l w a y s   i f   : l a t e s t   t a g   i s   s p e c i f i e d ,   o r   I f N o t P r e s e n t   o t h e r w i s e .   C a n n o t   b e   u p d a t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / i m a g e s # u p d a t i n g - i m a g e s   i m a g e   ( s t r i n g )   C o n t a i n e r   i m a g e   n a m e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / i m a g e s   T h i s   f i e l d   i s   o p t i o n a l   t o   a l l o w   h i g h e r   l e v e l   c o n f i g   m a n a g e m e n t   t o   d e f a u l t   o r   o v e r r i d e   c o n t a i n e r   i m a g e s   i n   w o r k l o a d   c o n t r o l l e r s   l i k e   D e p l o y m e n t s   a n d   S t a t e f u l S e t s .   i m a g e P u l l P o l i c y   ( s t r i n g )   I m a g e   p u l l   p o l i c y .   O n e   o f   A l w a y s ,   N e v e r ,   I f N o t P r e s e n t .   D e f a u l t s   t o   A l w a y s   i f   : l a t e s t   t a g   i s   s p e c i f i e d ,   o r   I f N o t P r e s e n t   o t h e r w i s e .   C a n n o t   b e   u p d a t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2892"
  },
  {
    "question": "What is Entrypoint?",
    "answer": "c o m m a n d   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e E n t r y p o i n t   a r r a y .   N o t   e x e c u t e d   w i t h i n   a   s h e l l .   T h e   c o n t a i n e r   i m a g e ' s   E N T R Y P O I N T   i s   u s e d   i f   t h i s   i s   n o t   p r o v i d e d .   V a r i a b l e   r e f e r e n c e s   $ ( V A R _ N A M E )   a r e   e x p a n d e d   u s i n g   t h e   c o n t a i n e r ' s   e n v i r o n m e n t .   I f   a   v a r i a b l e   c a n n o t   b e   r e s o l v e d ,   t h e   r e f e r e n c e   i n   t h e   i n p u t   s t r i n g   w i l l   b e   u n c h a n g e d .   D o u b l e   $ $   a r e   r e d u c e d   t o   a   s i n g l e   $ ,   w h i c h   a l l o w s   f o r   e s c a p i n g   t h e   $ ( V A R _ N A M E )   s y n t a x :   i . e .   \" $ $ ( V A R _ N A M E ) \"   w i l l   p r o d u c e   t h e   s t r i n g   l i t e r a l   \" $ ( V A R _ N A M E ) \" .   E s c a p e d   r e f e r e n c e s   w i l l   n e v e r   b e   e x p a n d e d ,   r e g a r d l e s s   o f   w h e t h e r   t h e   v a r i a b l e   e x i s t s   o r   n o t .   C a n n o t   b e   u p d a t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / i n j e c t - d a t a - a p p l i c a t i o n / d e f i n e - c o m m a n d - a r g u m e n t - c o n t a i n e r / # r u n n i n g - a - c o m m a n d - i n - a - s h e l l a r g s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A r g u m e n t s   t o   t h e   e n t r y p o i n t .   T h e   c o n t a i n e r   i m a g e ' s   C M D   i s   u s e d   i f   t h i s   i s   n o t   p r o v i d e d .   V a r i a b l e   r e f e r e n c e s   $ ( V A R _ N A M E )   a r e   e x p a n d e d   u s i n g   t h e   c o n t a i n e r ' s   e n v i r o n m e n t .   I f   a   v a r i a b l e   c a n n o t   b e   r e s o l v e d ,   t h e   r e f e r e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2893"
  },
  {
    "question": "What is Ports?",
    "answer": "p o r t s   ( [ ] C o n t a i n e r P o r t ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   c o n t a i n e r P o r t M a p :   u n i q u e   v a l u e s   o n   k e y s   c o n t a i n e r P o r t ,   p r o t o c o l   w i l l   b e   k e p t   d u r i n g   a   m e r g e L i s t   o f   p o r t s   t o   e x p o s e   f r o m   t h e   c o n t a i n e r .   N o t   s p e c i f y i n g   a   p o r t   h e r e   D O E S   N O T   p r e v e n t   t h a t   p o r t   f r o m   b e i n g   e x p o s e d .   A n y   p o r t   w h i c h   i s   l i s t e n i n g   o n   t h e   d e f a u l t   \" 0 . 0 . 0 . 0 \"   a d d r e s s   i n s i d e   a   c o n t a i n e r   w i l l   b e   a c c e s s i b l e   f r o m   t h e   n e t w o r k .   M o d i f y i n g   t h i s   a r r a y   w i t h   s t r a t e g i c   m e r g e   p a t c h   m a y   c o r r u p t   t h e   d a t a .   F o r   m o r e   i n f o r m a t i o n   S e e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k u b e r n e t e s / i s s u e s / 1 0 8 2 5 5 .   C a n n o t   b e   u p d a t e d . C o n t a i n e r P o r t   r e p r e s e n t s   a   n e t w o r k   p o r t   i n   a   s i n g l e   c o n t a i n e r . p o r t s . c o n t a i n e r P o r t   ( i n t 3 2 ) ,   r e q u i r e d N u m b e r   o f   p o r t   t o   e x p o s e   o n   t h e   p o d ' s   I P   a d d r e s s .   T h i s   m u s t   b e   a   v a l i d   p o r t   n u m b e r ,   0   <   x   <   6 5 5 3 6 . p o r t s . h o s t I P   ( s t r i n g ) W h a t   h o s t   I P   t o   b i n d   t h e   e x t e r n a l   p o r t   t o . p o r t s . h o s t P o r t   ( i n t 3 2 ) N u m b e r   o f   p o r t   t o   e x p o s e   o n   t h e   h o s t .   I f   s p e c i f i e d ,   t h i s   m u s t   b e   a   v a l i d   p o r t   n u m b e r ,   0   <   x   <   6 5 5 3 6 .   I f   H o s t N e t w o r k   i s   s p e c i f i e d ,   t h i s   m u s t   m a t c h   C o n t a i n e r P o r t .   M o s t   c o n t a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2894"
  },
  {
    "question": "What is Environment variables?",
    "answer": "e n v   ( [ ] E n v V a r ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   n a m e M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e L i s t   o f   e n v i r o n m e n t   v a r i a b l e s   t o   s e t   i n   t h e   c o n t a i n e r .   C a n n o t   b e   u p d a t e d . E n v V a r   r e p r e s e n t s   a n   e n v i r o n m e n t   v a r i a b l e   p r e s e n t   i n   a   C o n t a i n e r . e n v . n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   o f   t h e   e n v i r o n m e n t   v a r i a b l e .   M a y   c o n s i s t   o f   a n y   p r i n t a b l e   A S C I I   c h a r a c t e r s   e x c e p t   ' = ' . e n v . v a l u e   ( s t r i n g ) V a r i a b l e   r e f e r e n c e s   $ ( V A R _ N A M E )   a r e   e x p a n d e d   u s i n g   t h e   p r e v i o u s l y   d e f i n e d   e n v i r o n m e n t   v a r i a b l e s   i n   t h e   c o n t a i n e r   a n d   a n y   s e r v i c e   e n v i r o n m e n t   v a r i a b l e s .   I f   a   v a r i a b l e   c a n n o t   b e   r e s o l v e d ,   t h e   r e f e r e n c e   i n   t h e   i n p u t   s t r i n g   w i l l   b e   u n c h a n g e d .   D o u b l e   $ $   a r e   r e d u c e d   t o   a   s i n g l e   $ ,   w h i c h   a l l o w s   f o r   e s c a p i n g   t h e   $ ( V A R _ N A M E )   s y n t a x :   i . e .   \" $ $ ( V A R _ N A M E ) \"   w i l l   p r o d u c e   t h e   s t r i n g   l i t e r a l   \" $ ( V A R _ N A M E ) \" .   E s c a p e d   r e f e r e n c e s   w i l l   n e v e r   b e   e x p a n d e d ,   r e g a r d l e s s   o f   w h e t h e r   t h e   v a r i a b l e   e x i s t s   o r   n o t .   D e f a u l t s   t o   \" \" . e n v . v a l u e F r o m   ( E n v V a r S o u r c e ) S o u r c e   f o r   t h e   e n v i r o n m e n t   v a r i a b l e ' s   v a l u e .   C a n n o t   b e   u s e d   i f   v a l u e   i s   n o t   e m p t y . E n v V a r S o u r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2895"
  },
  {
    "question": "What is Volumes?",
    "answer": "v o l u m e M o u n t s   ( [ ] V o l u m e M o u n t ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   m o u n t P a t h M a p :   u n i q u e   v a l u e s   o n   k e y   m o u n t P a t h   w i l l   b e   k e p t   d u r i n g   a   m e r g e P o d   v o l u m e s   t o   m o u n t   i n t o   t h e   c o n t a i n e r ' s   f i l e s y s t e m .   C a n n o t   b e   u p d a t e d . V o l u m e M o u n t   d e s c r i b e s   a   m o u n t i n g   o f   a   V o l u m e   w i t h i n   a   c o n t a i n e r . v o l u m e M o u n t s . m o u n t P a t h   ( s t r i n g ) ,   r e q u i r e d P a t h   w i t h i n   t h e   c o n t a i n e r   a t   w h i c h   t h e   v o l u m e   s h o u l d   b e   m o u n t e d .   M u s t   n o t   c o n t a i n   ' : ' . v o l u m e M o u n t s . n a m e   ( s t r i n g ) ,   r e q u i r e d T h i s   m u s t   m a t c h   t h e   N a m e   o f   a   V o l u m e . v o l u m e M o u n t s . m o u n t P r o p a g a t i o n   ( s t r i n g ) m o u n t P r o p a g a t i o n   d e t e r m i n e s   h o w   m o u n t s   a r e   p r o p a g a t e d   f r o m   t h e   h o s t   t o   c o n t a i n e r   a n d   t h e   o t h e r   w a y   a r o u n d .   W h e n   n o t   s e t ,   M o u n t P r o p a g a t i o n N o n e   i s   u s e d .   T h i s   f i e l d   i s   b e t a   i n   1 . 1 0 .   W h e n   R e c u r s i v e R e a d O n l y   i s   s e t   t o   I f P o s s i b l e   o r   t o   E n a b l e d ,   M o u n t P r o p a g a t i o n   m u s t   b e   N o n e   o r   u n s p e c i f i e d   ( w h i c h   d e f a u l t s   t o   N o n e ) . v o l u m e M o u n t s . r e a d O n l y   ( b o o l e a n ) M o u n t e d   r e a d - o n l y   i f   t r u e ,   r e a d - w r i t e   o t h e r w i s e   ( f a l s e   o r   u n s p e c i f i e d ) .   D e f a u l t s   t o   f a l s e . v o l u m e M o u n t s . r e c u r s i v e R e a d O n l y   ( s t r i n g ) R e c u r s i v e R e a d O n l y   s p e c i f i e s   w ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2896"
  },
  {
    "question": "What is Resources?",
    "answer": "r e s o u r c e s   ( R e s o u r c e R e q u i r e m e n t s ) C o m p u t e   R e s o u r c e s   r e q u i r e d   b y   t h i s   c o n t a i n e r .   C a n n o t   b e   u p d a t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n f i g u r a t i o n / m a n a g e - r e s o u r c e s - c o n t a i n e r s / R e s o u r c e R e q u i r e m e n t s   d e s c r i b e s   t h e   c o m p u t e   r e s o u r c e   r e q u i r e m e n t s . r e s o u r c e s . c l a i m s   ( [ ] R e s o u r c e C l a i m ) M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e C l a i m s   l i s t s   t h e   n a m e s   o f   r e s o u r c e s ,   d e f i n e d   i n   s p e c . r e s o u r c e C l a i m s ,   t h a t   a r e   u s e d   b y   t h i s   c o n t a i n e r . T h i s   f i e l d   d e p e n d s   o n   t h e   D y n a m i c R e s o u r c e A l l o c a t i o n   f e a t u r e   g a t e . T h i s   f i e l d   i s   i m m u t a b l e .   I t   c a n   o n l y   b e   s e t   f o r   c o n t a i n e r s . R e s o u r c e C l a i m   r e f e r e n c e s   o n e   e n t r y   i n   P o d S p e c . R e s o u r c e C l a i m s . r e s o u r c e s . c l a i m s . n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   m u s t   m a t c h   t h e   n a m e   o f   o n e   e n t r y   i n   p o d . s p e c . r e s o u r c e C l a i m s   o f   t h e   P o d   w h e r e   t h i s   f i e l d   i s   u s e d .   I t   m a k e s   t h a t   r e s o u r c e   a v a i l a b l e   i n s i d e   a   c o n t a i n e r . r e s o u r c e s . c l a i m s . r e q u e s t   ( s t r i n g ) R e q u e s t   i s   t h e   n a m e   c h o s e n   f o r   a   r e q u e s t   i n   t h e   r e f e r e n c e d   c l a i m .   I f   e m p t y ,   e v e r y t h i n g   f r o m   t h e   c l a i m   i s   m a d e   a v a i l a b l e ,   o t h e r w i s e   o n l y   t h e   r e s u ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2897"
  },
  {
    "question": "What is Lifecycle?",
    "answer": "l i f e c y c l e   ( L i f e c y c l e ) A c t i o n s   t h a t   t h e   m a n a g e m e n t   s y s t e m   s h o u l d   t a k e   i n   r e s p o n s e   t o   c o n t a i n e r   l i f e c y c l e   e v e n t s .   C a n n o t   b e   u p d a t e d . L i f e c y c l e   d e s c r i b e s   a c t i o n s   t h a t   t h e   m a n a g e m e n t   s y s t e m   s h o u l d   t a k e   i n   r e s p o n s e   t o   c o n t a i n e r   l i f e c y c l e   e v e n t s .   F o r   t h e   P o s t S t a r t   a n d   P r e S t o p   l i f e c y c l e   h a n d l e r s ,   m a n a g e m e n t   o f   t h e   c o n t a i n e r   b l o c k s   u n t i l   t h e   a c t i o n   i s   c o m p l e t e ,   u n l e s s   t h e   c o n t a i n e r   p r o c e s s   f a i l s ,   i n   w h i c h   c a s e   t h e   h a n d l e r   i s   a b o r t e d . l i f e c y c l e . p o s t S t a r t   ( L i f e c y c l e H a n d l e r ) P o s t S t a r t   i s   c a l l e d   i m m e d i a t e l y   a f t e r   a   c o n t a i n e r   i s   c r e a t e d .   I f   t h e   h a n d l e r   f a i l s ,   t h e   c o n t a i n e r   i s   t e r m i n a t e d   a n d   r e s t a r t e d   a c c o r d i n g   t o   i t s   r e s t a r t   p o l i c y .   O t h e r   m a n a g e m e n t   o f   t h e   c o n t a i n e r   b l o c k s   u n t i l   t h e   h o o k   c o m p l e t e s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / c o n t a i n e r - l i f e c y c l e - h o o k s / # c o n t a i n e r - h o o k s l i f e c y c l e . p r e S t o p   ( L i f e c y c l e H a n d l e r ) P r e S t o p   i s   c a l l e d   i m m e d i a t e l y   b e f o r e   a   c o n t a i n e r   i s   t e r m i n a t e d   d u e   t o   a n   A P I   r e q u e s t   o r   m a n a g e m e n t   e v e n t   s u c h   a s   l i v e n e s s / s t a r t u p   p r o b e   f a i l u r e ,   p r e e m p t i o n ,   r e s o u r c e   c o n t e n t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2898"
  },
  {
    "question": "What is Security Context?",
    "answer": "s e c u r i t y C o n t e x t   ( S e c u r i t y C o n t e x t ) S e c u r i t y C o n t e x t   d e f i n e s   t h e   s e c u r i t y   o p t i o n s   t h e   c o n t a i n e r   s h o u l d   b e   r u n   w i t h .   I f   s e t ,   t h e   f i e l d s   o f   S e c u r i t y C o n t e x t   o v e r r i d e   t h e   e q u i v a l e n t   f i e l d s   o f   P o d S e c u r i t y C o n t e x t .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / c o n f i g u r e - p o d - c o n t a i n e r / s e c u r i t y - c o n t e x t / S e c u r i t y C o n t e x t   h o l d s   s e c u r i t y   c o n f i g u r a t i o n   t h a t   w i l l   b e   a p p l i e d   t o   a   c o n t a i n e r .   S o m e   f i e l d s   a r e   p r e s e n t   i n   b o t h   S e c u r i t y C o n t e x t   a n d   P o d S e c u r i t y C o n t e x t .   W h e n   b o t h   a r e   s e t ,   t h e   v a l u e s   i n   S e c u r i t y C o n t e x t   t a k e   p r e c e d e n c e . s e c u r i t y C o n t e x t . a l l o w P r i v i l e g e E s c a l a t i o n   ( b o o l e a n ) A l l o w P r i v i l e g e E s c a l a t i o n   c o n t r o l s   w h e t h e r   a   p r o c e s s   c a n   g a i n   m o r e   p r i v i l e g e s   t h a n   i t s   p a r e n t   p r o c e s s .   T h i s   b o o l   d i r e c t l y   c o n t r o l s   i f   t h e   n o _ n e w _ p r i v s   f l a g   w i l l   b e   s e t   o n   t h e   c o n t a i n e r   p r o c e s s .   A l l o w P r i v i l e g e E s c a l a t i o n   i s   t r u e   a l w a y s   w h e n   t h e   c o n t a i n e r   i s :   1 )   r u n   a s   P r i v i l e g e d   2 )   h a s   C A P _ S Y S _ A D M I N   N o t e   t h a t   t h i s   f i e l d   c a n n o t   b e   s e t   w h e n   s p e c . o s . n a m e   i s   w i n d o w s . s e c u r i t y C o n t e x t . a p p A r m o r P r o f i l e   ( A p p A r m o r P r o f i l e ) a p p A r m o r P r o f i l e   i s   t h e   A p p A r m o r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2899"
  },
  {
    "question": "What is Debugging?",
    "answer": "s t d i n   ( b o o l e a n ) W h e t h e r   t h i s   c o n t a i n e r   s h o u l d   a l l o c a t e   a   b u f f e r   f o r   s t d i n   i n   t h e   c o n t a i n e r   r u n t i m e .   I f   t h i s   i s   n o t   s e t ,   r e a d s   f r o m   s t d i n   i n   t h e   c o n t a i n e r   w i l l   a l w a y s   r e s u l t   i n   E O F .   D e f a u l t   i s   f a l s e . s t d i n O n c e   ( b o o l e a n ) W h e t h e r   t h e   c o n t a i n e r   r u n t i m e   s h o u l d   c l o s e   t h e   s t d i n   c h a n n e l   a f t e r   i t   h a s   b e e n   o p e n e d   b y   a   s i n g l e   a t t a c h .   W h e n   s t d i n   i s   t r u e   t h e   s t d i n   s t r e a m   w i l l   r e m a i n   o p e n   a c r o s s   m u l t i p l e   a t t a c h   s e s s i o n s .   I f   s t d i n O n c e   i s   s e t   t o   t r u e ,   s t d i n   i s   o p e n e d   o n   c o n t a i n e r   s t a r t ,   i s   e m p t y   u n t i l   t h e   f i r s t   c l i e n t   a t t a c h e s   t o   s t d i n ,   a n d   t h e n   r e m a i n s   o p e n   a n d   a c c e p t s   d a t a   u n t i l   t h e   c l i e n t   d i s c o n n e c t s ,   a t   w h i c h   t i m e   s t d i n   i s   c l o s e d   a n d   r e m a i n s   c l o s e d   u n t i l   t h e   c o n t a i n e r   i s   r e s t a r t e d .   I f   t h i s   f l a g   i s   f a l s e ,   a   c o n t a i n e r   p r o c e s s e s   t h a t   r e a d s   f r o m   s t d i n   w i l l   n e v e r   r e c e i v e   a n   E O F .   D e f a u l t   i s   f a l s e t t y   ( b o o l e a n ) W h e t h e r   t h i s   c o n t a i n e r   s h o u l d   a l l o c a t e   a   T T Y   f o r   i t s e l f ,   a l s o   r e q u i r e s   ' s t d i n '   t o   b e   t r u e .   D e f a u l t   i s   f a l s e .   s t d i n   ( b o o l e a n )   W h e t h e r   t h i s   c o n t a i n e r   s h o u l d   a l l o c a t e   a   b u f f e r   f o r   s t d i n   i n   t h e   c o n t a i n e r   r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2900"
  },
  {
    "question": "What is EphemeralContainer?",
    "answer": "A n   E p h e m e r a l C o n t a i n e r   i s   a   t e m p o r a r y   c o n t a i n e r   t h a t   y o u   m a y   a d d   t o   a n   e x i s t i n g   P o d   f o r   u s e r - i n i t i a t e d   a c t i v i t i e s   s u c h   a s   d e b u g g i n g .   E p h e m e r a l   c o n t a i n e r s   h a v e   n o   r e s o u r c e   o r   s c h e d u l i n g   g u a r a n t e e s ,   a n d   t h e y   w i l l   n o t   b e   r e s t a r t e d   w h e n   t h e y   e x i t   o r   w h e n   a   P o d   i s   r e m o v e d   o r   r e s t a r t e d .   T h e   k u b e l e t   m a y   e v i c t   a   P o d   i f   a n   e p h e m e r a l   c o n t a i n e r   c a u s e s   t h e   P o d   t o   e x c e e d   i t s   r e s o u r c e   a l l o c a t i o n .   T o   a d d   a n   e p h e m e r a l   c o n t a i n e r ,   u s e   t h e   e p h e m e r a l c o n t a i n e r s   s u b r e s o u r c e   o f   a n   e x i s t i n g   P o d .   E p h e m e r a l   c o n t a i n e r s   m a y   n o t   b e   r e m o v e d   o r   r e s t a r t e d .   n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   o f   t h e   e p h e m e r a l   c o n t a i n e r   s p e c i f i e d   a s   a   D N S _ L A B E L .   T h i s   n a m e   m u s t   b e   u n i q u e   a m o n g   a l l   c o n t a i n e r s ,   i n i t   c o n t a i n e r s   a n d   e p h e m e r a l   c o n t a i n e r s . t a r g e t C o n t a i n e r N a m e   ( s t r i n g ) I f   s e t ,   t h e   n a m e   o f   t h e   c o n t a i n e r   f r o m   P o d S p e c   t h a t   t h i s   e p h e m e r a l   c o n t a i n e r   t a r g e t s .   T h e   e p h e m e r a l   c o n t a i n e r   w i l l   b e   r u n   i n   t h e   n a m e s p a c e s   ( I P C ,   P I D ,   e t c )   o f   t h i s   c o n t a i n e r .   I f   n o t   s e t   t h e n   t h e   e p h e m e r a l   c o n t a i n e r   u s e s   t h e   n a m e s p a c e s   c o n f i g u r e d   i n   t h e   P o d   s p e c . T h e   c o n t a i n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_2_2901"
  },
  {
    "question": "What is Image?",
    "answer": "i m a g e   ( s t r i n g ) C o n t a i n e r   i m a g e   n a m e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / i m a g e s i m a g e P u l l P o l i c y   ( s t r i n g ) I m a g e   p u l l   p o l i c y .   O n e   o f   A l w a y s ,   N e v e r ,   I f N o t P r e s e n t .   D e f a u l t s   t o   A l w a y s   i f   : l a t e s t   t a g   i s   s p e c i f i e d ,   o r   I f N o t P r e s e n t   o t h e r w i s e .   C a n n o t   b e   u p d a t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / i m a g e s # u p d a t i n g - i m a g e s   i m a g e   ( s t r i n g )   C o n t a i n e r   i m a g e   n a m e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / i m a g e s   i m a g e P u l l P o l i c y   ( s t r i n g )   I m a g e   p u l l   p o l i c y .   O n e   o f   A l w a y s ,   N e v e r ,   I f N o t P r e s e n t .   D e f a u l t s   t o   A l w a y s   i f   : l a t e s t   t a g   i s   s p e c i f i e d ,   o r   I f N o t P r e s e n t   o t h e r w i s e .   C a n n o t   b e   u p d a t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / i m a g e s # u p d a t i n g - i m a g e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2902"
  },
  {
    "question": "What is Entrypoint?",
    "answer": "c o m m a n d   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e E n t r y p o i n t   a r r a y .   N o t   e x e c u t e d   w i t h i n   a   s h e l l .   T h e   i m a g e ' s   E N T R Y P O I N T   i s   u s e d   i f   t h i s   i s   n o t   p r o v i d e d .   V a r i a b l e   r e f e r e n c e s   $ ( V A R _ N A M E )   a r e   e x p a n d e d   u s i n g   t h e   c o n t a i n e r ' s   e n v i r o n m e n t .   I f   a   v a r i a b l e   c a n n o t   b e   r e s o l v e d ,   t h e   r e f e r e n c e   i n   t h e   i n p u t   s t r i n g   w i l l   b e   u n c h a n g e d .   D o u b l e   $ $   a r e   r e d u c e d   t o   a   s i n g l e   $ ,   w h i c h   a l l o w s   f o r   e s c a p i n g   t h e   $ ( V A R _ N A M E )   s y n t a x :   i . e .   \" $ $ ( V A R _ N A M E ) \"   w i l l   p r o d u c e   t h e   s t r i n g   l i t e r a l   \" $ ( V A R _ N A M E ) \" .   E s c a p e d   r e f e r e n c e s   w i l l   n e v e r   b e   e x p a n d e d ,   r e g a r d l e s s   o f   w h e t h e r   t h e   v a r i a b l e   e x i s t s   o r   n o t .   C a n n o t   b e   u p d a t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / i n j e c t - d a t a - a p p l i c a t i o n / d e f i n e - c o m m a n d - a r g u m e n t - c o n t a i n e r / # r u n n i n g - a - c o m m a n d - i n - a - s h e l l a r g s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A r g u m e n t s   t o   t h e   e n t r y p o i n t .   T h e   i m a g e ' s   C M D   i s   u s e d   i f   t h i s   i s   n o t   p r o v i d e d .   V a r i a b l e   r e f e r e n c e s   $ ( V A R _ N A M E )   a r e   e x p a n d e d   u s i n g   t h e   c o n t a i n e r ' s   e n v i r o n m e n t .   I f   a   v a r i a b l e   c a n n o t   b e   r e s o l v e d ,   t h e   r e f e r e n c e   i n   t h e   i n p u t   s t r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2903"
  },
  {
    "question": "What is Environment variables?",
    "answer": "e n v   ( [ ] E n v V a r ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   n a m e M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e L i s t   o f   e n v i r o n m e n t   v a r i a b l e s   t o   s e t   i n   t h e   c o n t a i n e r .   C a n n o t   b e   u p d a t e d . E n v V a r   r e p r e s e n t s   a n   e n v i r o n m e n t   v a r i a b l e   p r e s e n t   i n   a   C o n t a i n e r . e n v . n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   o f   t h e   e n v i r o n m e n t   v a r i a b l e .   M a y   c o n s i s t   o f   a n y   p r i n t a b l e   A S C I I   c h a r a c t e r s   e x c e p t   ' = ' . e n v . v a l u e   ( s t r i n g ) V a r i a b l e   r e f e r e n c e s   $ ( V A R _ N A M E )   a r e   e x p a n d e d   u s i n g   t h e   p r e v i o u s l y   d e f i n e d   e n v i r o n m e n t   v a r i a b l e s   i n   t h e   c o n t a i n e r   a n d   a n y   s e r v i c e   e n v i r o n m e n t   v a r i a b l e s .   I f   a   v a r i a b l e   c a n n o t   b e   r e s o l v e d ,   t h e   r e f e r e n c e   i n   t h e   i n p u t   s t r i n g   w i l l   b e   u n c h a n g e d .   D o u b l e   $ $   a r e   r e d u c e d   t o   a   s i n g l e   $ ,   w h i c h   a l l o w s   f o r   e s c a p i n g   t h e   $ ( V A R _ N A M E )   s y n t a x :   i . e .   \" $ $ ( V A R _ N A M E ) \"   w i l l   p r o d u c e   t h e   s t r i n g   l i t e r a l   \" $ ( V A R _ N A M E ) \" .   E s c a p e d   r e f e r e n c e s   w i l l   n e v e r   b e   e x p a n d e d ,   r e g a r d l e s s   o f   w h e t h e r   t h e   v a r i a b l e   e x i s t s   o r   n o t .   D e f a u l t s   t o   \" \" . e n v . v a l u e F r o m   ( E n v V a r S o u r c e ) S o u r c e   f o r   t h e   e n v i r o n m e n t   v a r i a b l e ' s   v a l u e .   C a n n o t   b e   u s e d   i f   v a l u e   i s   n o t   e m p t y . E n v V a r S o u r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2904"
  },
  {
    "question": "What is Volumes?",
    "answer": "v o l u m e M o u n t s   ( [ ] V o l u m e M o u n t ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   m o u n t P a t h M a p :   u n i q u e   v a l u e s   o n   k e y   m o u n t P a t h   w i l l   b e   k e p t   d u r i n g   a   m e r g e P o d   v o l u m e s   t o   m o u n t   i n t o   t h e   c o n t a i n e r ' s   f i l e s y s t e m .   S u b p a t h   m o u n t s   a r e   n o t   a l l o w e d   f o r   e p h e m e r a l   c o n t a i n e r s .   C a n n o t   b e   u p d a t e d . V o l u m e M o u n t   d e s c r i b e s   a   m o u n t i n g   o f   a   V o l u m e   w i t h i n   a   c o n t a i n e r . v o l u m e M o u n t s . m o u n t P a t h   ( s t r i n g ) ,   r e q u i r e d P a t h   w i t h i n   t h e   c o n t a i n e r   a t   w h i c h   t h e   v o l u m e   s h o u l d   b e   m o u n t e d .   M u s t   n o t   c o n t a i n   ' : ' . v o l u m e M o u n t s . n a m e   ( s t r i n g ) ,   r e q u i r e d T h i s   m u s t   m a t c h   t h e   N a m e   o f   a   V o l u m e . v o l u m e M o u n t s . m o u n t P r o p a g a t i o n   ( s t r i n g ) m o u n t P r o p a g a t i o n   d e t e r m i n e s   h o w   m o u n t s   a r e   p r o p a g a t e d   f r o m   t h e   h o s t   t o   c o n t a i n e r   a n d   t h e   o t h e r   w a y   a r o u n d .   W h e n   n o t   s e t ,   M o u n t P r o p a g a t i o n N o n e   i s   u s e d .   T h i s   f i e l d   i s   b e t a   i n   1 . 1 0 .   W h e n   R e c u r s i v e R e a d O n l y   i s   s e t   t o   I f P o s s i b l e   o r   t o   E n a b l e d ,   M o u n t P r o p a g a t i o n   m u s t   b e   N o n e   o r   u n s p e c i f i e d   ( w h i c h   d e f a u l t s   t o   N o n e ) . v o l u m e M o u n t s . r e a d O n l y   ( b o o l e a n ) M o u n t e d   r e a d - o n l y   i f   t r u e ,   r e a d - w r i t e   o t h e r w i s e   ( f a l s e   o r   u n s p e c i f i e d ) .   D e f a u l t s   t o   f a l s e . v o l u m e M o u n t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2905"
  },
  {
    "question": "What is Resources?",
    "answer": "r e s i z e P o l i c y   ( [ ] C o n t a i n e r R e s i z e P o l i c y ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e R e s o u r c e s   r e s i z e   p o l i c y   f o r   t h e   c o n t a i n e r . C o n t a i n e r R e s i z e P o l i c y   r e p r e s e n t s   r e s o u r c e   r e s i z e   p o l i c y   f o r   t h e   c o n t a i n e r . r e s i z e P o l i c y . r e s o u r c e N a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   o f   t h e   r e s o u r c e   t o   w h i c h   t h i s   r e s o u r c e   r e s i z e   p o l i c y   a p p l i e s .   S u p p o r t e d   v a l u e s :   c p u ,   m e m o r y . r e s i z e P o l i c y . r e s t a r t P o l i c y   ( s t r i n g ) ,   r e q u i r e d R e s t a r t   p o l i c y   t o   a p p l y   w h e n   s p e c i f i e d   r e s o u r c e   i s   r e s i z e d .   I f   n o t   s p e c i f i e d ,   i t   d e f a u l t s   t o   N o t R e q u i r e d .   r e s i z e P o l i c y   ( [ ] C o n t a i n e r R e s i z e P o l i c y )   A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e   R e s o u r c e s   r e s i z e   p o l i c y   f o r   t h e   c o n t a i n e r .   C o n t a i n e r R e s i z e P o l i c y   r e p r e s e n t s   r e s o u r c e   r e s i z e   p o l i c y   f o r   t h e   c o n t a i n e r .   r e s i z e P o l i c y . r e s o u r c e N a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   o f   t h e   r e s o u r c e   t o   w h i c h   t h i s   r e s o u r c e   r e s i z e   p o l i c y   a p p l i e s .   S u p p o r t e d   v a l u e s :   c p u ,   m e m o r y . r e s i z e P o l i c y . r e s t a r t P o l i c y   ( s t r i n g ) ,   r e q u i r e d R e s t a r t   p o l i c y   t o   a p p l y   w h e n   s p e c i f i e d   r e s o u r c e   i s   r e s i z e d .   I f   n o t   s p e c i f i e d ,   i t   d e f a u l t s   t o   N o t R e q u i r e d .   r e s i z e P o l i c y . r e s o u r c e N a m e   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2906"
  },
  {
    "question": "What is Lifecycle?",
    "answer": "t e r m i n a t i o n M e s s a g e P a t h   ( s t r i n g ) O p t i o n a l :   P a t h   a t   w h i c h   t h e   f i l e   t o   w h i c h   t h e   c o n t a i n e r ' s   t e r m i n a t i o n   m e s s a g e   w i l l   b e   w r i t t e n   i s   m o u n t e d   i n t o   t h e   c o n t a i n e r ' s   f i l e s y s t e m .   M e s s a g e   w r i t t e n   i s   i n t e n d e d   t o   b e   b r i e f   f i n a l   s t a t u s ,   s u c h   a s   a n   a s s e r t i o n   f a i l u r e   m e s s a g e .   W i l l   b e   t r u n c a t e d   b y   t h e   n o d e   i f   g r e a t e r   t h a n   4 0 9 6   b y t e s .   T h e   t o t a l   m e s s a g e   l e n g t h   a c r o s s   a l l   c o n t a i n e r s   w i l l   b e   l i m i t e d   t o   1 2 k b .   D e f a u l t s   t o   / d e v / t e r m i n a t i o n - l o g .   C a n n o t   b e   u p d a t e d . t e r m i n a t i o n M e s s a g e P o l i c y   ( s t r i n g ) I n d i c a t e   h o w   t h e   t e r m i n a t i o n   m e s s a g e   s h o u l d   b e   p o p u l a t e d .   F i l e   w i l l   u s e   t h e   c o n t e n t s   o f   t e r m i n a t i o n M e s s a g e P a t h   t o   p o p u l a t e   t h e   c o n t a i n e r   s t a t u s   m e s s a g e   o n   b o t h   s u c c e s s   a n d   f a i l u r e .   F a l l b a c k T o L o g s O n E r r o r   w i l l   u s e   t h e   l a s t   c h u n k   o f   c o n t a i n e r   l o g   o u t p u t   i f   t h e   t e r m i n a t i o n   m e s s a g e   f i l e   i s   e m p t y   a n d   t h e   c o n t a i n e r   e x i t e d   w i t h   a n   e r r o r .   T h e   l o g   o u t p u t   i s   l i m i t e d   t o   2 0 4 8   b y t e s   o r   8 0   l i n e s ,   w h i c h e v e r   i s   s m a l l e r .   D e f a u l t s   t o   F i l e .   C a n n o t   b e   u p d a t e d . r e s t a r t P o l i c y   ( s t r i n g ) R e s t a r t   p o l i c y   f o r   t h e   c o n t a i n e r   t o   m a n a g e   t h e   r e s t a r t   b e h a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2907"
  },
  {
    "question": "What is Debugging?",
    "answer": "s t d i n   ( b o o l e a n ) W h e t h e r   t h i s   c o n t a i n e r   s h o u l d   a l l o c a t e   a   b u f f e r   f o r   s t d i n   i n   t h e   c o n t a i n e r   r u n t i m e .   I f   t h i s   i s   n o t   s e t ,   r e a d s   f r o m   s t d i n   i n   t h e   c o n t a i n e r   w i l l   a l w a y s   r e s u l t   i n   E O F .   D e f a u l t   i s   f a l s e . s t d i n O n c e   ( b o o l e a n ) W h e t h e r   t h e   c o n t a i n e r   r u n t i m e   s h o u l d   c l o s e   t h e   s t d i n   c h a n n e l   a f t e r   i t   h a s   b e e n   o p e n e d   b y   a   s i n g l e   a t t a c h .   W h e n   s t d i n   i s   t r u e   t h e   s t d i n   s t r e a m   w i l l   r e m a i n   o p e n   a c r o s s   m u l t i p l e   a t t a c h   s e s s i o n s .   I f   s t d i n O n c e   i s   s e t   t o   t r u e ,   s t d i n   i s   o p e n e d   o n   c o n t a i n e r   s t a r t ,   i s   e m p t y   u n t i l   t h e   f i r s t   c l i e n t   a t t a c h e s   t o   s t d i n ,   a n d   t h e n   r e m a i n s   o p e n   a n d   a c c e p t s   d a t a   u n t i l   t h e   c l i e n t   d i s c o n n e c t s ,   a t   w h i c h   t i m e   s t d i n   i s   c l o s e d   a n d   r e m a i n s   c l o s e d   u n t i l   t h e   c o n t a i n e r   i s   r e s t a r t e d .   I f   t h i s   f l a g   i s   f a l s e ,   a   c o n t a i n e r   p r o c e s s e s   t h a t   r e a d s   f r o m   s t d i n   w i l l   n e v e r   r e c e i v e   a n   E O F .   D e f a u l t   i s   f a l s e t t y   ( b o o l e a n ) W h e t h e r   t h i s   c o n t a i n e r   s h o u l d   a l l o c a t e   a   T T Y   f o r   i t s e l f ,   a l s o   r e q u i r e s   ' s t d i n '   t o   b e   t r u e .   D e f a u l t   i s   f a l s e .   s t d i n   ( b o o l e a n )   W h e t h e r   t h i s   c o n t a i n e r   s h o u l d   a l l o c a t e   a   b u f f e r   f o r   s t d i n   i n   t h e   c o n t a i n e r   r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2908"
  },
  {
    "question": "What is Security context?",
    "answer": "s e c u r i t y C o n t e x t   ( S e c u r i t y C o n t e x t ) O p t i o n a l :   S e c u r i t y C o n t e x t   d e f i n e s   t h e   s e c u r i t y   o p t i o n s   t h e   e p h e m e r a l   c o n t a i n e r   s h o u l d   b e   r u n   w i t h .   I f   s e t ,   t h e   f i e l d s   o f   S e c u r i t y C o n t e x t   o v e r r i d e   t h e   e q u i v a l e n t   f i e l d s   o f   P o d S e c u r i t y C o n t e x t . S e c u r i t y C o n t e x t   h o l d s   s e c u r i t y   c o n f i g u r a t i o n   t h a t   w i l l   b e   a p p l i e d   t o   a   c o n t a i n e r .   S o m e   f i e l d s   a r e   p r e s e n t   i n   b o t h   S e c u r i t y C o n t e x t   a n d   P o d S e c u r i t y C o n t e x t .   W h e n   b o t h   a r e   s e t ,   t h e   v a l u e s   i n   S e c u r i t y C o n t e x t   t a k e   p r e c e d e n c e . s e c u r i t y C o n t e x t . a l l o w P r i v i l e g e E s c a l a t i o n   ( b o o l e a n ) A l l o w P r i v i l e g e E s c a l a t i o n   c o n t r o l s   w h e t h e r   a   p r o c e s s   c a n   g a i n   m o r e   p r i v i l e g e s   t h a n   i t s   p a r e n t   p r o c e s s .   T h i s   b o o l   d i r e c t l y   c o n t r o l s   i f   t h e   n o _ n e w _ p r i v s   f l a g   w i l l   b e   s e t   o n   t h e   c o n t a i n e r   p r o c e s s .   A l l o w P r i v i l e g e E s c a l a t i o n   i s   t r u e   a l w a y s   w h e n   t h e   c o n t a i n e r   i s :   1 )   r u n   a s   P r i v i l e g e d   2 )   h a s   C A P _ S Y S _ A D M I N   N o t e   t h a t   t h i s   f i e l d   c a n n o t   b e   s e t   w h e n   s p e c . o s . n a m e   i s   w i n d o w s . s e c u r i t y C o n t e x t . a p p A r m o r P r o f i l e   ( A p p A r m o r P r o f i l e ) a p p A r m o r P r o f i l e   i s   t h e   A p p A r m o r   o p t i o n s   t o   u s e   b y   t h i s   c o n t a i n e r .   I f   s e t ,   t h i s   p r o f i l e   o v e r r i d e s   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2909"
  },
  {
    "question": "What is Not allowed?",
    "answer": "p o r t s   ( [ ] C o n t a i n e r P o r t ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   c o n t a i n e r P o r t M a p :   u n i q u e   v a l u e s   o n   k e y s   c o n t a i n e r P o r t ,   p r o t o c o l   w i l l   b e   k e p t   d u r i n g   a   m e r g e P o r t s   a r e   n o t   a l l o w e d   f o r   e p h e m e r a l   c o n t a i n e r s . C o n t a i n e r P o r t   r e p r e s e n t s   a   n e t w o r k   p o r t   i n   a   s i n g l e   c o n t a i n e r . p o r t s . c o n t a i n e r P o r t   ( i n t 3 2 ) ,   r e q u i r e d N u m b e r   o f   p o r t   t o   e x p o s e   o n   t h e   p o d ' s   I P   a d d r e s s .   T h i s   m u s t   b e   a   v a l i d   p o r t   n u m b e r ,   0   <   x   <   6 5 5 3 6 . p o r t s . h o s t I P   ( s t r i n g ) W h a t   h o s t   I P   t o   b i n d   t h e   e x t e r n a l   p o r t   t o . p o r t s . h o s t P o r t   ( i n t 3 2 ) N u m b e r   o f   p o r t   t o   e x p o s e   o n   t h e   h o s t .   I f   s p e c i f i e d ,   t h i s   m u s t   b e   a   v a l i d   p o r t   n u m b e r ,   0   <   x   <   6 5 5 3 6 .   I f   H o s t N e t w o r k   i s   s p e c i f i e d ,   t h i s   m u s t   m a t c h   C o n t a i n e r P o r t .   M o s t   c o n t a i n e r s   d o   n o t   n e e d   t h i s . p o r t s . n a m e   ( s t r i n g ) I f   s p e c i f i e d ,   t h i s   m u s t   b e   a n   I A N A _ S V C _ N A M E   a n d   u n i q u e   w i t h i n   t h e   p o d .   E a c h   n a m e d   p o r t   i n   a   p o d   m u s t   h a v e   a   u n i q u e   n a m e .   N a m e   f o r   t h e   p o r t   t h a t   c a n   b e   r e f e r r e d   t o   b y   s e r v i c e s . p o r t s . p r o t o c o l   ( s t r i n g ) P r o t o c o l   f o r   p o r t .   M u s t   b e   U D P ,   T C P ,   o r   S C T P .   D e f a u l t s   t o   \" T C P \" . r e s o u r c e s   ( R e s o u r c e R e q u i r e m e n t s ) R e s o u r c e s   a r e   n o t   a l l ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_3_2910"
  },
  {
    "question": "What is LifecycleHandler?",
    "answer": "L i f e c y c l e H a n d l e r   d e f i n e s   a   s p e c i f i c   a c t i o n   t h a t   s h o u l d   b e   t a k e n   i n   a   l i f e c y c l e   h o o k .   O n e   a n d   o n l y   o n e   o f   t h e   f i e l d s ,   e x c e p t   T C P S o c k e t   m u s t   b e   s p e c i f i e d .   e x e c   ( E x e c A c t i o n ) E x e c   s p e c i f i e s   a   c o m m a n d   t o   e x e c u t e   i n   t h e   c o n t a i n e r . E x e c A c t i o n   d e s c r i b e s   a   \" r u n   i n   c o n t a i n e r \"   a c t i o n . e x e c . c o m m a n d   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e C o m m a n d   i s   t h e   c o m m a n d   l i n e   t o   e x e c u t e   i n s i d e   t h e   c o n t a i n e r ,   t h e   w o r k i n g   d i r e c t o r y   f o r   t h e   c o m m a n d   i s   r o o t   ( ' / ' )   i n   t h e   c o n t a i n e r ' s   f i l e s y s t e m .   T h e   c o m m a n d   i s   s i m p l y   e x e c ' d ,   i t   i s   n o t   r u n   i n s i d e   a   s h e l l ,   s o   t r a d i t i o n a l   s h e l l   i n s t r u c t i o n s   ( ' | ' ,   e t c )   w o n ' t   w o r k .   T o   u s e   a   s h e l l ,   y o u   n e e d   t o   e x p l i c i t l y   c a l l   o u t   t o   t h a t   s h e l l .   E x i t   s t a t u s   o f   0   i s   t r e a t e d   a s   l i v e / h e a l t h y   a n d   n o n - z e r o   i s   u n h e a l t h y . h t t p G e t   ( H T T P G e t A c t i o n ) H T T P G e t   s p e c i f i e s   a n   H T T P   G E T   r e q u e s t   t o   p e r f o r m . H T T P G e t A c t i o n   d e s c r i b e s   a n   a c t i o n   b a s e d   o n   H T T P   G e t   r e q u e s t s . h t t p G e t . p o r t   ( I n t O r S t r i n g ) ,   r e q u i r e d N a m e   o r   n u m b e r   o f   t h e   p o r t   t o   a c c e s s   o n   t h e   c o n t a i n e r .   N u m b e r   m u s t   b e   i n   t h e   r a n g e   1   t o   6 5 5 3 5 .   N a m e   m u s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_2_2911"
  },
  {
    "question": "What is NodeAffinity?",
    "answer": "N o d e   a f f i n i t y   i s   a   g r o u p   o f   n o d e   a f f i n i t y   s c h e d u l i n g   r u l e s .   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   ( [ ] P r e f e r r e d S c h e d u l i n g T e r m ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e T h e   s c h e d u l e r   w i l l   p r e f e r   t o   s c h e d u l e   p o d s   t o   n o d e s   t h a t   s a t i s f y   t h e   a f f i n i t y   e x p r e s s i o n s   s p e c i f i e d   b y   t h i s   f i e l d ,   b u t   i t   m a y   c h o o s e   a   n o d e   t h a t   v i o l a t e s   o n e   o r   m o r e   o f   t h e   e x p r e s s i o n s .   T h e   n o d e   t h a t   i s   m o s t   p r e f e r r e d   i s   t h e   o n e   w i t h   t h e   g r e a t e s t   s u m   o f   w e i g h t s ,   i . e .   f o r   e a c h   n o d e   t h a t   m e e t s   a l l   o f   t h e   s c h e d u l i n g   r e q u i r e m e n t s   ( r e s o u r c e   r e q u e s t ,   r e q u i r e d D u r i n g S c h e d u l i n g   a f f i n i t y   e x p r e s s i o n s ,   e t c . ) ,   c o m p u t e   a   s u m   b y   i t e r a t i n g   t h r o u g h   t h e   e l e m e n t s   o f   t h i s   f i e l d   a n d   a d d i n g   \" w e i g h t \"   t o   t h e   s u m   i f   t h e   n o d e   m a t c h e s   t h e   c o r r e s p o n d i n g   m a t c h E x p r e s s i o n s ;   t h e   n o d e ( s )   w i t h   t h e   h i g h e s t   s u m   a r e   t h e   m o s t   p r e f e r r e d . A n   e m p t y   p r e f e r r e d   s c h e d u l i n g   t e r m   m a t c h e s   a l l   o b j e c t s   w i t h   i m p l i c i t   w e i g h t   0   ( i . e .   i t ' s   a   n o - o p ) .   A   n u l l   p r e f e r r e d   s c h e d u l i n g   t e r m   m a t c h e s   n o   o b j e c t s   ( i . e .   i s   a l s o   a   n o - o p ) . p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_2_2912"
  },
  {
    "question": "What is PodAffinity?",
    "answer": "P o d   a f f i n i t y   i s   a   g r o u p   o f   i n t e r   p o d   a f f i n i t y   s c h e d u l i n g   r u l e s .   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   ( [ ] W e i g h t e d P o d A f f i n i t y T e r m ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e T h e   s c h e d u l e r   w i l l   p r e f e r   t o   s c h e d u l e   p o d s   t o   n o d e s   t h a t   s a t i s f y   t h e   a f f i n i t y   e x p r e s s i o n s   s p e c i f i e d   b y   t h i s   f i e l d ,   b u t   i t   m a y   c h o o s e   a   n o d e   t h a t   v i o l a t e s   o n e   o r   m o r e   o f   t h e   e x p r e s s i o n s .   T h e   n o d e   t h a t   i s   m o s t   p r e f e r r e d   i s   t h e   o n e   w i t h   t h e   g r e a t e s t   s u m   o f   w e i g h t s ,   i . e .   f o r   e a c h   n o d e   t h a t   m e e t s   a l l   o f   t h e   s c h e d u l i n g   r e q u i r e m e n t s   ( r e s o u r c e   r e q u e s t ,   r e q u i r e d D u r i n g S c h e d u l i n g   a f f i n i t y   e x p r e s s i o n s ,   e t c . ) ,   c o m p u t e   a   s u m   b y   i t e r a t i n g   t h r o u g h   t h e   e l e m e n t s   o f   t h i s   f i e l d   a n d   a d d i n g   \" w e i g h t \"   t o   t h e   s u m   i f   t h e   n o d e   h a s   p o d s   w h i c h   m a t c h e s   t h e   c o r r e s p o n d i n g   p o d A f f i n i t y T e r m ;   t h e   n o d e ( s )   w i t h   t h e   h i g h e s t   s u m   a r e   t h e   m o s t   p r e f e r r e d . T h e   w e i g h t s   o f   a l l   o f   t h e   m a t c h e d   W e i g h t e d P o d A f f i n i t y T e r m   f i e l d s   a r e   a d d e d   p e r - n o d e   t o   f i n d   t h e   m o s t   p r e f e r r e d   n o d e ( s ) p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n . p o d A f f i n i t y T e r m   ( P o d A f f i n i t y T e r m ) ,   r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_2_2913"
  },
  {
    "question": "What is PodAntiAffinity?",
    "answer": "P o d   a n t i   a f f i n i t y   i s   a   g r o u p   o f   i n t e r   p o d   a n t i   a f f i n i t y   s c h e d u l i n g   r u l e s .   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   ( [ ] W e i g h t e d P o d A f f i n i t y T e r m ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e T h e   s c h e d u l e r   w i l l   p r e f e r   t o   s c h e d u l e   p o d s   t o   n o d e s   t h a t   s a t i s f y   t h e   a n t i - a f f i n i t y   e x p r e s s i o n s   s p e c i f i e d   b y   t h i s   f i e l d ,   b u t   i t   m a y   c h o o s e   a   n o d e   t h a t   v i o l a t e s   o n e   o r   m o r e   o f   t h e   e x p r e s s i o n s .   T h e   n o d e   t h a t   i s   m o s t   p r e f e r r e d   i s   t h e   o n e   w i t h   t h e   g r e a t e s t   s u m   o f   w e i g h t s ,   i . e .   f o r   e a c h   n o d e   t h a t   m e e t s   a l l   o f   t h e   s c h e d u l i n g   r e q u i r e m e n t s   ( r e s o u r c e   r e q u e s t ,   r e q u i r e d D u r i n g S c h e d u l i n g   a n t i - a f f i n i t y   e x p r e s s i o n s ,   e t c . ) ,   c o m p u t e   a   s u m   b y   i t e r a t i n g   t h r o u g h   t h e   e l e m e n t s   o f   t h i s   f i e l d   a n d   s u b t r a c t i n g   \" w e i g h t \"   f r o m   t h e   s u m   i f   t h e   n o d e   h a s   p o d s   w h i c h   m a t c h e s   t h e   c o r r e s p o n d i n g   p o d A f f i n i t y T e r m ;   t h e   n o d e ( s )   w i t h   t h e   h i g h e s t   s u m   a r e   t h e   m o s t   p r e f e r r e d . T h e   w e i g h t s   o f   a l l   o f   t h e   m a t c h e d   W e i g h t e d P o d A f f i n i t y T e r m   f i e l d s   a r e   a d d e d   p e r - n o d e   t o   f i n d   t h e   m o s t   p r e f e r r e d   n o d e ( s ) p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n . p o d A f f i n i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_2_2914"
  },
  {
    "question": "What is Probe?",
    "answer": "P r o b e   d e s c r i b e s   a   h e a l t h   c h e c k   t o   b e   p e r f o r m e d   a g a i n s t   a   c o n t a i n e r   t o   d e t e r m i n e   w h e t h e r   i t   i s   a l i v e   o r   r e a d y   t o   r e c e i v e   t r a f f i c .   e x e c   ( E x e c A c t i o n ) E x e c   s p e c i f i e s   a   c o m m a n d   t o   e x e c u t e   i n   t h e   c o n t a i n e r . E x e c A c t i o n   d e s c r i b e s   a   \" r u n   i n   c o n t a i n e r \"   a c t i o n . e x e c . c o m m a n d   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e C o m m a n d   i s   t h e   c o m m a n d   l i n e   t o   e x e c u t e   i n s i d e   t h e   c o n t a i n e r ,   t h e   w o r k i n g   d i r e c t o r y   f o r   t h e   c o m m a n d   i s   r o o t   ( ' / ' )   i n   t h e   c o n t a i n e r ' s   f i l e s y s t e m .   T h e   c o m m a n d   i s   s i m p l y   e x e c ' d ,   i t   i s   n o t   r u n   i n s i d e   a   s h e l l ,   s o   t r a d i t i o n a l   s h e l l   i n s t r u c t i o n s   ( ' | ' ,   e t c )   w o n ' t   w o r k .   T o   u s e   a   s h e l l ,   y o u   n e e d   t o   e x p l i c i t l y   c a l l   o u t   t o   t h a t   s h e l l .   E x i t   s t a t u s   o f   0   i s   t r e a t e d   a s   l i v e / h e a l t h y   a n d   n o n - z e r o   i s   u n h e a l t h y . h t t p G e t   ( H T T P G e t A c t i o n ) H T T P G e t   s p e c i f i e s   a n   H T T P   G E T   r e q u e s t   t o   p e r f o r m . H T T P G e t A c t i o n   d e s c r i b e s   a n   a c t i o n   b a s e d   o n   H T T P   G e t   r e q u e s t s . h t t p G e t . p o r t   ( I n t O r S t r i n g ) ,   r e q u i r e d N a m e   o r   n u m b e r   o f   t h e   p o r t   t o   a c c e s s   o n   t h e   c o n t a i n e r .   N u m b e r   m u s t   b e   i n   t h e   r a n g e   1   t o   6 5 5 3 5 .   N a m e   m u s t   b e   a n   I A N A _ S V C _ N A M E . I n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_2_2915"
  },
  {
    "question": "What is PodStatus?",
    "answer": "P o d S t a t u s   r e p r e s e n t s   i n f o r m a t i o n   a b o u t   t h e   s t a t u s   o f   a   p o d .   S t a t u s   m a y   t r a i l   t h e   a c t u a l   s t a t e   o f   a   s y s t e m ,   e s p e c i a l l y   i f   t h e   n o d e   t h a t   h o s t s   t h e   p o d   c a n n o t   c o n t a c t   t h e   c o n t r o l   p l a n e .   n o m i n a t e d N o d e N a m e   ( s t r i n g ) n o m i n a t e d N o d e N a m e   i s   s e t   o n l y   w h e n   t h i s   p o d   p r e e m p t s   o t h e r   p o d s   o n   t h e   n o d e ,   b u t   i t   c a n n o t   b e   s c h e d u l e d   r i g h t   a w a y   a s   p r e e m p t i o n   v i c t i m s   r e c e i v e   t h e i r   g r a c e f u l   t e r m i n a t i o n   p e r i o d s .   T h i s   f i e l d   d o e s   n o t   g u a r a n t e e   t h a t   t h e   p o d   w i l l   b e   s c h e d u l e d   o n   t h i s   n o d e .   S c h e d u l e r   m a y   d e c i d e   t o   p l a c e   t h e   p o d   e l s e w h e r e   i f   o t h e r   n o d e s   b e c o m e   a v a i l a b l e   s o o n e r .   S c h e d u l e r   m a y   a l s o   d e c i d e   t o   g i v e   t h e   r e s o u r c e s   o n   t h i s   n o d e   t o   a   h i g h e r   p r i o r i t y   p o d   t h a t   i s   c r e a t e d   a f t e r   p r e e m p t i o n .   A s   a   r e s u l t ,   t h i s   f i e l d   m a y   b e   d i f f e r e n t   t h a n   P o d S p e c . n o d e N a m e   w h e n   t h e   p o d   i s   s c h e d u l e d . h o s t I P   ( s t r i n g ) h o s t I P   h o l d s   t h e   I P   a d d r e s s   o f   t h e   h o s t   t o   w h i c h   t h e   p o d   i s   a s s i g n e d .   E m p t y   i f   t h e   p o d   h a s   n o t   s t a r t e d   y e t .   A   p o d   c a n   b e   a s s i g n e d   t o   a   n o d e   t h a t   h a s   a   p r o b l e m   i n   k u b e l e t   w h i c h   i n   t u r n s   m e a n   t h a t   H o s t I P   w i l l   n o t   b e   u p d a t e d   e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_2_2916"
  },
  {
    "question": "What is PodList?",
    "answer": "P o d L i s t   i s   a   l i s t   o f   P o d s .   i t e m s   ( [ ] P o d ) ,   r e q u i r e d L i s t   o f   p o d s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] P o d ) ,   r e q u i r e d   L i s t   o f   p o d s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_2_2917"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2918"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2919"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2920"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / e p h e m e r a l c o n t a i n e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2921"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2922"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2923"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / l o g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2924"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e c o n t a i n e r   ( i n   q u e r y ) :   s t r i n g T h e   c o n t a i n e r   f o r   w h i c h   t o   s t r e a m   l o g s .   D e f a u l t s   t o   o n l y   c o n t a i n e r   i f   t h e r e   i s   o n e   c o n t a i n e r   i n   t h e   p o d . f o l l o w   ( i n   q u e r y ) :   b o o l e a n F o l l o w   t h e   l o g   s t r e a m   o f   t h e   p o d .   D e f a u l t s   t o   f a l s e . i n s e c u r e S k i p T L S V e r i f y B a c k e n d   ( i n   q u e r y ) :   b o o l e a n i n s e c u r e S k i p T L S V e r i f y B a c k e n d   i n d i c a t e s   t h a t   t h e   a p i s e r v e r   s h o u l d   n o t   c o n f i r m   t h e   v a l i d i t y   o f   t h e   s e r v i n g   c e r t i f i c a t e   o f   t h e   b a c k e n d   i t   i s   c o n n e c t i n g   t o .   T h i s   w i l l   m a k e   t h e   H T T P S   c o n n e c t i o n   b e t w e e n   t h e   a p i s e r v e r   a n d   t h e   b a c k e n d   i n s e c u r e .   T h i s   m e a n s   t h e   a p i s e r v e r   c a n n o t   v e r i f y   t h e   l o g   d a t a   i t   i s   r e c e i v i n g   c a m e   f r o m   t h e   r e a l   k u b e l e t .   I f   t h e   k u b e l e t   i s   c o n f i g u r e d   t o   v e r i f y   t h e   a p i s e r v e r ' s   T L S   c r e d e n t i a l s ,   i t   d o e s   n o t   m e a n   t h e   c o n n e c t i o n   t o   t h e   r e a l   k u b e l e t   i s   v u l n e r a b l e   t o   a   m a n   i n   t h e   m i d d l e   a t t a c k   ( e . g .   a n   a t t a c k e r   c o u l d   n o t   i n t e r c e p t   t h e   a c t u a l   l o g   d a t a   c o m i n g   f r o m   t h e   r e a l   k u b e l e t ) . l i m i t B y t e s   ( i n   q u e r y ) :   i n t e g e r I f   s e t ,   t h e   n u m b e r   o f   b y t e s   t o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2925"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( s t r i n g ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2926"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / r e s i z e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2927"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2928"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2929"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2930"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2931"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2932"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2933"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2934"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2935"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / p o d s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2936"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2937"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2938"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2939"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2940"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   2 0 2   ( P o d ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2941"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2942"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2943"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2944"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / e p h e m e r a l c o n t a i n e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2945"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2946"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2947"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / r e s i z e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2948"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2949"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2950"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2951"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2952"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2953"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2954"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2955"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2956"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / e p h e m e r a l c o n t a i n e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2957"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2958"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2959"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / r e s i z e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2960"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2961"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2962"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2963"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2964"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2965"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2966"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2967"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 2   ( P o d ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2968"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2969"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2970"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/",
    "id": "k8s_00163_section_4_2971"
  },
  {
    "question": "What is Kubelet Systemd Watchdog?",
    "answer": "Kubelet Systemd WatchdogFEATURE STATE: Kubernetes v1.32 [beta] (enabled by default: true)On Linux nodes, Kubernetes 1.34 supports integrating with systemd to allow the operating system supervisor to recover a failed kubelet. This integration is not enabled by default. It can be used as an alternative to periodically requesting the kubelet's /healthz endpoint for health checks. If the kubelet does not respond to the watchdog within the timeout period, the watchdog will kill the kubelet.The systemd watchdog works by requiring the service to periodically send a keep-alive signal to the systemd process. If the signal is not received within a specified timeout period, the service is considered unresponsive and is terminated. The service can then be restarted according to the configuration.ConfigurationUsing the systemd watchdog requires configuring the WatchdogSec parameter in the [Service] section of the kubelet service unit file:[Service] WatchdogSec=30s Setting WatchdogSec=30s indicates a service watchdog timeout of 30 seconds. Within the kubelet, the sd_notify() function is invoked, at intervals of \\( WatchdogSec \\div 2\\). to send WATCHDOG=1 (a keep-alive message). If the watchdog is not fed within the timeout period, the kubelet will be killed. Setting Restart to \"always\", \"on-failure\", \"on-watchdog\", or \"on-abnormal\" will ensure that the service is automatically restarted.Some details about the systemd configuration:If you set the systemd value for WatchdogSec to 0, or omit setting it, the systemd watchdog is not enabled for this unit.The kubelet supports a minimum watchdog period of 1.0 seconds; this is to prevent the kubelet from being killed unexpectedly. You can set the value of WatchdogSec in a systemd unit definition to a period shorter than 1 second, but Kubernetes does not support any shorter interval. The timeout does not have to be a whole integer number of seconds.The Kubernetes project suggests setting WatchdogSec to approximately a 15s period. Periods longer than 10 minutes are supported but explicitly not recommended.Example Configuration[Unit] Description=kubelet: The Kubernetes Node Agent Documentation=https://kubernetes.io/docs/home/ Wants=network-online.target After=network-online.target [Service] ExecStart=/usr/bin/kubelet # Configures the watchdog timeout WatchdogSec=30s Restart=on-failure StartLimitInterval=0 RestartSec=10 [Install] WantedBy=multi-user.target What's nextFor more details about systemd configuration, refer to the systemd documentation",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/systemd-watchdog/",
    "id": "k8s_00164_qa_2972"
  },
  {
    "question": "How does Kubelet Systemd Watchdog work?",
    "answer": "Kubelet Systemd WatchdogFEATURE STATE: Kubernetes v1.32 [beta] (enabled by default: true)On Linux nodes, Kubernetes 1.34 supports integrating with systemd to allow the operating system supervisor to recover a failed kubelet. This integration is not enabled by default. It can be used as an alternative to periodically requesting the kubelet's /healthz endpoint for health checks. If the kubelet does not respond to the watchdog within the timeout period, the watchdog will kill the kubelet.The systemd watchdog works by requiring the service to periodically send a keep-alive signal to the systemd process. If the signal is not received within a specified timeout period, the service is considered unresponsive and is terminated. The service can then be restarted according to the configuration.ConfigurationUsing the systemd watchdog requires configuring the WatchdogSec parameter in the [Service] section of the kubelet service unit file:[Service] WatchdogSec=30s Setting WatchdogSec=30s indicates a service watchdog timeout of 30 seconds. Within the kubelet, the sd_notify() function is invoked, at intervals of \\( WatchdogSec \\div 2\\). to send WATCHDOG=1 (a keep-alive message). If the watchdog is not fed within the timeout period, the kubelet will be killed. Setting Restart to \"always\", \"on-failure\", \"on-watchdog\", or \"on-abnormal\" will ensure that the service is automatically restarted.Some details about the systemd configuration:If you set the systemd value for WatchdogSec to 0, or omit setting it, the systemd watchdog is not enabled for this unit.The kubelet supports a minimum watchdog period of 1.0 seconds; this is to prevent the kubelet from being killed unexpectedly. You can set the value of WatchdogSec in a systemd unit definition to a period shorter than 1 second, but Kubernetes does not support any shorter interval. The timeout does not have to be a whole integer number of seconds.The Kubernetes project suggests setting WatchdogSec to approximately a 15s period. Periods longer than 10 minutes are supported but explicitly not recommended.Example Configuration[Unit] Description=kubelet: The Kubernetes Node Agent Documentation=https://kubernetes.io/docs/home/ Wants=network-online.target After=network-online.target [Service] ExecStart=/usr/bin/kubelet # Configures the watchdog timeout WatchdogSec=30s Restart=on-failure StartLimitInterval=0 RestartSec=10 [Install] WantedBy=multi-user.target What's nextFor more details about systemd configuration, refer to the systemd documentation",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/systemd-watchdog/",
    "id": "k8s_00164_qa_2973"
  },
  {
    "question": "When would you use Kubelet Systemd Watchdog?",
    "answer": "Kubelet Systemd WatchdogFEATURE STATE: Kubernetes v1.32 [beta] (enabled by default: true)On Linux nodes, Kubernetes 1.34 supports integrating with systemd to allow the operating system supervisor to recover a failed kubelet. This integration is not enabled by default. It can be used as an alternative to periodically requesting the kubelet's /healthz endpoint for health checks. If the kubelet does not respond to the watchdog within the timeout period, the watchdog will kill the kubelet.The systemd watchdog works by requiring the service to periodically send a keep-alive signal to the systemd process. If the signal is not received within a specified timeout period, the service is considered unresponsive and is terminated. The service can then be restarted according to the configuration.ConfigurationUsing the systemd watchdog requires configuring the WatchdogSec parameter in the [Service] section of the kubelet service unit file:[Service] WatchdogSec=30s Setting WatchdogSec=30s indicates a service watchdog timeout of 30 seconds. Within the kubelet, the sd_notify() function is invoked, at intervals of \\( WatchdogSec \\div 2\\). to send WATCHDOG=1 (a keep-alive message). If the watchdog is not fed within the timeout period, the kubelet will be killed. Setting Restart to \"always\", \"on-failure\", \"on-watchdog\", or \"on-abnormal\" will ensure that the service is automatically restarted.Some details about the systemd configuration:If you set the systemd value for WatchdogSec to 0, or omit setting it, the systemd watchdog is not enabled for this unit.The kubelet supports a minimum watchdog period of 1.0 seconds; this is to prevent the kubelet from being killed unexpectedly. You can set the value of WatchdogSec in a systemd unit definition to a period shorter than 1 second, but Kubernetes does not support any shorter interval. The timeout does not have to be a whole integer number of seconds.The Kubernetes project suggests setting WatchdogSec to approximately a 15s period. Periods longer than 10 minutes are supported but explicitly not recommended.Example Configuration[Unit] Description=kubelet: The Kubernetes Node Agent Documentation=https://kubernetes.io/docs/home/ Wants=network-online.target After=network-online.target [Service] ExecStart=/usr/bin/kubelet # Configures the watchdog timeout WatchdogSec=30s Restart=on-failure StartLimitInterval=0 RestartSec=10 [Install] WantedBy=multi-user.target What's nextFor more details about systemd configuration, refer to the systemd documentation",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/systemd-watchdog/",
    "id": "k8s_00164_qa_2974"
  },
  {
    "question": "What are the benefits of Kubelet Systemd Watchdog?",
    "answer": "Kubelet Systemd WatchdogFEATURE STATE: Kubernetes v1.32 [beta] (enabled by default: true)On Linux nodes, Kubernetes 1.34 supports integrating with systemd to allow the operating system supervisor to recover a failed kubelet. This integration is not enabled by default. It can be used as an alternative to periodically requesting the kubelet's /healthz endpoint for health checks. If the kubelet does not respond to the watchdog within the timeout period, the watchdog will kill the kubelet.The systemd watchdog works by requiring the service to periodically send a keep-alive signal to the systemd process. If the signal is not received within a specified timeout period, the service is considered unresponsive and is terminated. The service can then be restarted according to the configuration.ConfigurationUsing the systemd watchdog requires configuring the WatchdogSec parameter in the [Service] section of the kubelet service unit file:[Service] WatchdogSec=30s Setting WatchdogSec=30s indicates a service watchdog timeout of 30 seconds. Within the kubelet, the sd_notify() function is invoked, at intervals of \\( WatchdogSec \\div 2\\). to send WATCHDOG=1 (a keep-alive message). If the watchdog is not fed within the timeout period, the kubelet will be killed. Setting Restart to \"always\", \"on-failure\", \"on-watchdog\", or \"on-abnormal\" will ensure that the service is automatically restarted.Some details about the systemd configuration:If you set the systemd value for WatchdogSec to 0, or omit setting it, the systemd watchdog is not enabled for this unit.The kubelet supports a minimum watchdog period of 1.0 seconds; this is to prevent the kubelet from being killed unexpectedly. You can set the value of WatchdogSec in a systemd unit definition to a period shorter than 1 second, but Kubernetes does not support any shorter interval. The timeout does not have to be a whole integer number of seconds.The Kubernetes project suggests setting WatchdogSec to approximately a 15s period. Periods longer than 10 minutes are supported but explicitly not recommended.Example Configuration[Unit] Description=kubelet: The Kubernetes Node Agent Documentation=https://kubernetes.io/docs/home/ Wants=network-online.target After=network-online.target [Service] ExecStart=/usr/bin/kubelet # Configures the watchdog timeout WatchdogSec=30s Restart=on-failure StartLimitInterval=0 RestartSec=10 [Install] WantedBy=multi-user.target What's nextFor more details about systemd configuration, refer to the systemd documentation",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/systemd-watchdog/",
    "id": "k8s_00164_qa_2975"
  },
  {
    "question": "What is Kubelet Systemd Watchdog?",
    "answer": "O n   L i n u x   n o d e s ,   K u b e r n e t e s   1 . 3 4   s u p p o r t s   i n t e g r a t i n g   w i t h   s y s t e m d   t o   a l l o w   t h e   o p e r a t i n g   s y s t e m   s u p e r v i s o r   t o   r e c o v e r   a   f a i l e d   k u b e l e t .   T h i s   i n t e g r a t i o n   i s   n o t   e n a b l e d   b y   d e f a u l t .   I t   c a n   b e   u s e d   a s   a n   a l t e r n a t i v e   t o   p e r i o d i c a l l y   r e q u e s t i n g   t h e   k u b e l e t ' s   / h e a l t h z   e n d p o i n t   f o r   h e a l t h   c h e c k s .   I f   t h e   k u b e l e t   d o e s   n o t   r e s p o n d   t o   t h e   w a t c h d o g   w i t h i n   t h e   t i m e o u t   p e r i o d ,   t h e   w a t c h d o g   w i l l   k i l l   t h e   k u b e l e t .   T h e   s y s t e m d   w a t c h d o g   w o r k s   b y   r e q u i r i n g   t h e   s e r v i c e   t o   p e r i o d i c a l l y   s e n d   a   k e e p - a l i v e   s i g n a l   t o   t h e   s y s t e m d   p r o c e s s .   I f   t h e   s i g n a l   i s   n o t   r e c e i v e d   w i t h i n   a   s p e c i f i e d   t i m e o u t   p e r i o d ,   t h e   s e r v i c e   i s   c o n s i d e r e d   u n r e s p o n s i v e   a n d   i s   t e r m i n a t e d .   T h e   s e r v i c e   c a n   t h e n   b e   r e s t a r t e d   a c c o r d i n g   t o   t h e   c o n f i g u r a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/systemd-watchdog/",
    "id": "k8s_00164_section_1_2976"
  },
  {
    "question": "What is Configuration?",
    "answer": "U s i n g   t h e   s y s t e m d   w a t c h d o g   r e q u i r e s   c o n f i g u r i n g   t h e   W a t c h d o g S e c   p a r a m e t e r   i n   t h e   [ S e r v i c e ]   s e c t i o n   o f   t h e   k u b e l e t   s e r v i c e   u n i t   f i l e :   [ S e r v i c e ]   W a t c h d o g S e c = 3 0 s   S e t t i n g   W a t c h d o g S e c = 3 0 s   i n d i c a t e s   a   s e r v i c e   w a t c h d o g   t i m e o u t   o f   3 0   s e c o n d s .   W i t h i n   t h e   k u b e l e t ,   t h e   s d _ n o t i f y ( )   f u n c t i o n   i s   i n v o k e d ,   a t   i n t e r v a l s   o f   \\ (   W a t c h d o g S e c   \\ d i v   2 \\ ) .   t o   s e n d   W A T C H D O G = 1   ( a   k e e p - a l i v e   m e s s a g e ) .   I f   t h e   w a t c h d o g   i s   n o t   f e d   w i t h i n   t h e   t i m e o u t   p e r i o d ,   t h e   k u b e l e t   w i l l   b e   k i l l e d .   S e t t i n g   R e s t a r t   t o   \" a l w a y s \" ,   \" o n - f a i l u r e \" ,   \" o n - w a t c h d o g \" ,   o r   \" o n - a b n o r m a l \"   w i l l   e n s u r e   t h a t   t h e   s e r v i c e   i s   a u t o m a t i c a l l y   r e s t a r t e d .   S o m e   d e t a i l s   a b o u t   t h e   s y s t e m d   c o n f i g u r a t i o n :   I f   y o u   s e t   t h e   s y s t e m d   v a l u e   f o r   W a t c h d o g S e c   t o   0 ,   o r   o m i t   s e t t i n g   i t ,   t h e   s y s t e m d   w a t c h d o g   i s   n o t   e n a b l e d   f o r   t h i s   u n i t . T h e   k u b e l e t   s u p p o r t s   a   m i n i m u m   w a t c h d o g   p e r i o d   o f   1 . 0   s e c o n d s ;   t h i s   i s   t o   p r e v e n t   t h e   k u b e l e t   f r o m   b e i n g   k i l l e d   u n e x p e c t e d l y .   Y o u   c a n   s e t   t h e   v a l u e   o f   W a t c h d o g S e c   i n   a   s y s t e m d   u n i t   d e f i n i t i o n   t o   a   p e r i o d   s h o r t e r   t h a n   1   s e c o n d ,   b u t   K u b e r n e t e s   d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/systemd-watchdog/",
    "id": "k8s_00164_section_2_2977"
  },
  {
    "question": "What is Example Configuration?",
    "answer": "[ U n i t ]   D e s c r i p t i o n = k u b e l e t :   T h e   K u b e r n e t e s   N o d e   A g e n t   D o c u m e n t a t i o n = h t t p s : / / k u b e r n e t e s . i o / d o c s / h o m e /   W a n t s = n e t w o r k - o n l i n e . t a r g e t   A f t e r = n e t w o r k - o n l i n e . t a r g e t   [ S e r v i c e ]   E x e c S t a r t = / u s r / b i n / k u b e l e t   #   C o n f i g u r e s   t h e   w a t c h d o g   t i m e o u t   W a t c h d o g S e c = 3 0 s   R e s t a r t = o n - f a i l u r e   S t a r t L i m i t I n t e r v a l = 0   R e s t a r t S e c = 1 0   [ I n s t a l l ]   W a n t e d B y = m u l t i - u s e r . t a r g e t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/systemd-watchdog/",
    "id": "k8s_00164_section_3_2978"
  },
  {
    "question": "What is What's next?",
    "answer": "F o r   m o r e   d e t a i l s   a b o u t   s y s t e m d   c o n f i g u r a t i o n ,   r e f e r   t o   t h e   s y s t e m d   d o c u m e n t a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/systemd-watchdog/",
    "id": "k8s_00164_section_2_2979"
  },
  {
    "question": "What is kubectl create serviceaccount?",
    "answer": "kubectl create serviceaccountSynopsisCreate a service account with the specified name.kubectl create serviceaccount NAME [--dry-run=server|client|none] Examples # Create a new service account named my-service-account kubectl create serviceaccount my-service-account Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for serviceaccount-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certifi",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_serviceaccount/",
    "id": "k8s_00165_qa_2980"
  },
  {
    "question": "How does kubectl create serviceaccount work?",
    "answer": "kubectl create serviceaccountSynopsisCreate a service account with the specified name.kubectl create serviceaccount NAME [--dry-run=server|client|none] Examples # Create a new service account named my-service-account kubectl create serviceaccount my-service-account Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for serviceaccount-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certifi",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_serviceaccount/",
    "id": "k8s_00165_qa_2981"
  },
  {
    "question": "When would you use kubectl create serviceaccount?",
    "answer": "kubectl create serviceaccountSynopsisCreate a service account with the specified name.kubectl create serviceaccount NAME [--dry-run=server|client|none] Examples # Create a new service account named my-service-account kubectl create serviceaccount my-service-account Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for serviceaccount-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certifi",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_serviceaccount/",
    "id": "k8s_00165_qa_2982"
  },
  {
    "question": "What are the benefits of kubectl create serviceaccount?",
    "answer": "kubectl create serviceaccountSynopsisCreate a service account with the specified name.kubectl create serviceaccount NAME [--dry-run=server|client|none] Examples # Create a new service account named my-service-account kubectl create serviceaccount my-service-account Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for serviceaccount-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certifi",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_serviceaccount/",
    "id": "k8s_00165_qa_2983"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   s e r v i c e   a c c o u n t   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   s e r v i c e a c c o u n t   N A M E   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_serviceaccount/",
    "id": "k8s_00165_section_2_2984"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   s e r v i c e   a c c o u n t   n a m e d   m y - s e r v i c e - a c c o u n t   k u b e c t l   c r e a t e   s e r v i c e a c c o u n t   m y - s e r v i c e - a c c o u n t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_serviceaccount/",
    "id": "k8s_00165_section_2_2985"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   s e r v i c e a c c o u n t   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_serviceaccount/",
    "id": "k8s_00165_section_2_2986"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_serviceaccount/",
    "id": "k8s_00165_section_2_2987"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_serviceaccount/",
    "id": "k8s_00165_section_2_2988"
  },
  {
    "question": "What is Contributing to Kubernetes blogs?",
    "answer": "Contributing to Kubernetes blogsThere are two official Kubernetes blogs, and the CNCF has its own blog where you can cover Kubernetes too. For the main Kubernetes blog, we (the Kubernetes project) like to publish articles with different perspectives and special focuses, that have a link to Kubernetes.With only a few special case exceptions, we only publish content that hasn't been submitted or published anywhere else.Read the blog guidelines for more about that aspect.Official Kubernetes blogsMain blogThe main Kubernetes blog is used by the project to communicate new features, community reports, and any news that might be relevant to the Kubernetes community. This includes end users and developers. Most of the blog's content is about things happening in the core project, but Kubernetes as a project encourages you to submit about things happening elsewhere in the ecosystem too!Anyone can write a blog post and submit it for publication. With only a few special case exceptions, we only publish content that hasn't been submitted or published anywhere else.Contributor blogThe Kubernetes contributor blog is aimed at an audience of people who work on Kubernetes more than people who work with Kubernetes. The Kubernetes project deliberately publishes some articles to both blogs.Anyone can write a blog post and submit it for review.Article updates and maintenanceThe Kubernetes project does not maintain older articles for its blogs. This means that any published article more than one year old will normally not be eligible for issues or pull requests that ask for changes. To avoid establishing precedent, even technically correct pull requests are likely to be rejected.However, there are exceptions like the following:(updates to) articles marked as evergreenremoving or correcting articles giving advice that is now wrong and dangerous to followfixes to ensure that an existing article still renders correctlyFor any article that is over a year old and not marked as evergreen, the website automatically displays a notice that the content may be stale.Evergreen articlesYou can mark an article as evergreen by setting evergreen: true in the front matter.We only mark blog articles as maintained (evergreen: true in front matter) if the Kubernetes project can commit to maintaining them indefinitely. Some blog articles absolutely merit this; for example, the release comms team always marks official release announcements as evergreen.What's nextDiscover the official blogs:Kubernetes blogKubernetes contributor blogRead about reviewing blog pull requestsSubmitting articles to Kubernetes blogsBlog guidelinesBlog article mirroringPost-release communicationsHelping as a blog writing buddy",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/",
    "id": "k8s_00166_qa_2989"
  },
  {
    "question": "How does Contributing to Kubernetes blogs work?",
    "answer": "Contributing to Kubernetes blogsThere are two official Kubernetes blogs, and the CNCF has its own blog where you can cover Kubernetes too. For the main Kubernetes blog, we (the Kubernetes project) like to publish articles with different perspectives and special focuses, that have a link to Kubernetes.With only a few special case exceptions, we only publish content that hasn't been submitted or published anywhere else.Read the blog guidelines for more about that aspect.Official Kubernetes blogsMain blogThe main Kubernetes blog is used by the project to communicate new features, community reports, and any news that might be relevant to the Kubernetes community. This includes end users and developers. Most of the blog's content is about things happening in the core project, but Kubernetes as a project encourages you to submit about things happening elsewhere in the ecosystem too!Anyone can write a blog post and submit it for publication. With only a few special case exceptions, we only publish content that hasn't been submitted or published anywhere else.Contributor blogThe Kubernetes contributor blog is aimed at an audience of people who work on Kubernetes more than people who work with Kubernetes. The Kubernetes project deliberately publishes some articles to both blogs.Anyone can write a blog post and submit it for review.Article updates and maintenanceThe Kubernetes project does not maintain older articles for its blogs. This means that any published article more than one year old will normally not be eligible for issues or pull requests that ask for changes. To avoid establishing precedent, even technically correct pull requests are likely to be rejected.However, there are exceptions like the following:(updates to) articles marked as evergreenremoving or correcting articles giving advice that is now wrong and dangerous to followfixes to ensure that an existing article still renders correctlyFor any article that is over a year old and not marked as evergreen, the website automatically displays a notice that the content may be stale.Evergreen articlesYou can mark an article as evergreen by setting evergreen: true in the front matter.We only mark blog articles as maintained (evergreen: true in front matter) if the Kubernetes project can commit to maintaining them indefinitely. Some blog articles absolutely merit this; for example, the release comms team always marks official release announcements as evergreen.What's nextDiscover the official blogs:Kubernetes blogKubernetes contributor blogRead about reviewing blog pull requestsSubmitting articles to Kubernetes blogsBlog guidelinesBlog article mirroringPost-release communicationsHelping as a blog writing buddy",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/",
    "id": "k8s_00166_qa_2990"
  },
  {
    "question": "When would you use Contributing to Kubernetes blogs?",
    "answer": "Contributing to Kubernetes blogsThere are two official Kubernetes blogs, and the CNCF has its own blog where you can cover Kubernetes too. For the main Kubernetes blog, we (the Kubernetes project) like to publish articles with different perspectives and special focuses, that have a link to Kubernetes.With only a few special case exceptions, we only publish content that hasn't been submitted or published anywhere else.Read the blog guidelines for more about that aspect.Official Kubernetes blogsMain blogThe main Kubernetes blog is used by the project to communicate new features, community reports, and any news that might be relevant to the Kubernetes community. This includes end users and developers. Most of the blog's content is about things happening in the core project, but Kubernetes as a project encourages you to submit about things happening elsewhere in the ecosystem too!Anyone can write a blog post and submit it for publication. With only a few special case exceptions, we only publish content that hasn't been submitted or published anywhere else.Contributor blogThe Kubernetes contributor blog is aimed at an audience of people who work on Kubernetes more than people who work with Kubernetes. The Kubernetes project deliberately publishes some articles to both blogs.Anyone can write a blog post and submit it for review.Article updates and maintenanceThe Kubernetes project does not maintain older articles for its blogs. This means that any published article more than one year old will normally not be eligible for issues or pull requests that ask for changes. To avoid establishing precedent, even technically correct pull requests are likely to be rejected.However, there are exceptions like the following:(updates to) articles marked as evergreenremoving or correcting articles giving advice that is now wrong and dangerous to followfixes to ensure that an existing article still renders correctlyFor any article that is over a year old and not marked as evergreen, the website automatically displays a notice that the content may be stale.Evergreen articlesYou can mark an article as evergreen by setting evergreen: true in the front matter.We only mark blog articles as maintained (evergreen: true in front matter) if the Kubernetes project can commit to maintaining them indefinitely. Some blog articles absolutely merit this; for example, the release comms team always marks official release announcements as evergreen.What's nextDiscover the official blogs:Kubernetes blogKubernetes contributor blogRead about reviewing blog pull requestsSubmitting articles to Kubernetes blogsBlog guidelinesBlog article mirroringPost-release communicationsHelping as a blog writing buddy",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/",
    "id": "k8s_00166_qa_2991"
  },
  {
    "question": "What are the benefits of Contributing to Kubernetes blogs?",
    "answer": "Contributing to Kubernetes blogsThere are two official Kubernetes blogs, and the CNCF has its own blog where you can cover Kubernetes too. For the main Kubernetes blog, we (the Kubernetes project) like to publish articles with different perspectives and special focuses, that have a link to Kubernetes.With only a few special case exceptions, we only publish content that hasn't been submitted or published anywhere else.Read the blog guidelines for more about that aspect.Official Kubernetes blogsMain blogThe main Kubernetes blog is used by the project to communicate new features, community reports, and any news that might be relevant to the Kubernetes community. This includes end users and developers. Most of the blog's content is about things happening in the core project, but Kubernetes as a project encourages you to submit about things happening elsewhere in the ecosystem too!Anyone can write a blog post and submit it for publication. With only a few special case exceptions, we only publish content that hasn't been submitted or published anywhere else.Contributor blogThe Kubernetes contributor blog is aimed at an audience of people who work on Kubernetes more than people who work with Kubernetes. The Kubernetes project deliberately publishes some articles to both blogs.Anyone can write a blog post and submit it for review.Article updates and maintenanceThe Kubernetes project does not maintain older articles for its blogs. This means that any published article more than one year old will normally not be eligible for issues or pull requests that ask for changes. To avoid establishing precedent, even technically correct pull requests are likely to be rejected.However, there are exceptions like the following:(updates to) articles marked as evergreenremoving or correcting articles giving advice that is now wrong and dangerous to followfixes to ensure that an existing article still renders correctlyFor any article that is over a year old and not marked as evergreen, the website automatically displays a notice that the content may be stale.Evergreen articlesYou can mark an article as evergreen by setting evergreen: true in the front matter.We only mark blog articles as maintained (evergreen: true in front matter) if the Kubernetes project can commit to maintaining them indefinitely. Some blog articles absolutely merit this; for example, the release comms team always marks official release announcements as evergreen.What's nextDiscover the official blogs:Kubernetes blogKubernetes contributor blogRead about reviewing blog pull requestsSubmitting articles to Kubernetes blogsBlog guidelinesBlog article mirroringPost-release communicationsHelping as a blog writing buddy",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/",
    "id": "k8s_00166_qa_2992"
  },
  {
    "question": "What is Contributing to Kubernetes blogs?",
    "answer": "T h e r e   a r e   t w o   o f f i c i a l   K u b e r n e t e s   b l o g s ,   a n d   t h e   C N C F   h a s   i t s   o w n   b l o g   w h e r e   y o u   c a n   c o v e r   K u b e r n e t e s   t o o .   F o r   t h e   m a i n   K u b e r n e t e s   b l o g ,   w e   ( t h e   K u b e r n e t e s   p r o j e c t )   l i k e   t o   p u b l i s h   a r t i c l e s   w i t h   d i f f e r e n t   p e r s p e c t i v e s   a n d   s p e c i a l   f o c u s e s ,   t h a t   h a v e   a   l i n k   t o   K u b e r n e t e s .   W i t h   o n l y   a   f e w   s p e c i a l   c a s e   e x c e p t i o n s ,   w e   o n l y   p u b l i s h   c o n t e n t   t h a t   h a s n ' t   b e e n   s u b m i t t e d   o r   p u b l i s h e d   a n y w h e r e   e l s e .   R e a d   t h e   b l o g   g u i d e l i n e s   f o r   m o r e   a b o u t   t h a t   a s p e c t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/",
    "id": "k8s_00166_section_1_2993"
  },
  {
    "question": "What is Main blog?",
    "answer": "T h e   m a i n   K u b e r n e t e s   b l o g   i s   u s e d   b y   t h e   p r o j e c t   t o   c o m m u n i c a t e   n e w   f e a t u r e s ,   c o m m u n i t y   r e p o r t s ,   a n d   a n y   n e w s   t h a t   m i g h t   b e   r e l e v a n t   t o   t h e   K u b e r n e t e s   c o m m u n i t y .   T h i s   i n c l u d e s   e n d   u s e r s   a n d   d e v e l o p e r s .   M o s t   o f   t h e   b l o g ' s   c o n t e n t   i s   a b o u t   t h i n g s   h a p p e n i n g   i n   t h e   c o r e   p r o j e c t ,   b u t   K u b e r n e t e s   a s   a   p r o j e c t   e n c o u r a g e s   y o u   t o   s u b m i t   a b o u t   t h i n g s   h a p p e n i n g   e l s e w h e r e   i n   t h e   e c o s y s t e m   t o o !   A n y o n e   c a n   w r i t e   a   b l o g   p o s t   a n d   s u b m i t   i t   f o r   p u b l i c a t i o n .   W i t h   o n l y   a   f e w   s p e c i a l   c a s e   e x c e p t i o n s ,   w e   o n l y   p u b l i s h   c o n t e n t   t h a t   h a s n ' t   b e e n   s u b m i t t e d   o r   p u b l i s h e d   a n y w h e r e   e l s e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/",
    "id": "k8s_00166_section_3_2994"
  },
  {
    "question": "What is Contributor blog?",
    "answer": "T h e   K u b e r n e t e s   c o n t r i b u t o r   b l o g   i s   a i m e d   a t   a n   a u d i e n c e   o f   p e o p l e   w h o   w o r k   o n   K u b e r n e t e s   m o r e   t h a n   p e o p l e   w h o   w o r k   w i t h   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   d e l i b e r a t e l y   p u b l i s h e s   s o m e   a r t i c l e s   t o   b o t h   b l o g s .   A n y o n e   c a n   w r i t e   a   b l o g   p o s t   a n d   s u b m i t   i t   f o r   r e v i e w .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/",
    "id": "k8s_00166_section_3_2995"
  },
  {
    "question": "What is Article updates and maintenance?",
    "answer": "T h e   K u b e r n e t e s   p r o j e c t   d o e s   n o t   m a i n t a i n   o l d e r   a r t i c l e s   f o r   i t s   b l o g s .   T h i s   m e a n s   t h a t   a n y   p u b l i s h e d   a r t i c l e   m o r e   t h a n   o n e   y e a r   o l d   w i l l   n o r m a l l y   n o t   b e   e l i g i b l e   f o r   i s s u e s   o r   p u l l   r e q u e s t s   t h a t   a s k   f o r   c h a n g e s .   T o   a v o i d   e s t a b l i s h i n g   p r e c e d e n t ,   e v e n   t e c h n i c a l l y   c o r r e c t   p u l l   r e q u e s t s   a r e   l i k e l y   t o   b e   r e j e c t e d .   H o w e v e r ,   t h e r e   a r e   e x c e p t i o n s   l i k e   t h e   f o l l o w i n g :   ( u p d a t e s   t o )   a r t i c l e s   m a r k e d   a s   e v e r g r e e n r e m o v i n g   o r   c o r r e c t i n g   a r t i c l e s   g i v i n g   a d v i c e   t h a t   i s   n o w   w r o n g   a n d   d a n g e r o u s   t o   f o l l o w f i x e s   t o   e n s u r e   t h a t   a n   e x i s t i n g   a r t i c l e   s t i l l   r e n d e r s   c o r r e c t l y   F o r   a n y   a r t i c l e   t h a t   i s   o v e r   a   y e a r   o l d   a n d   n o t   m a r k e d   a s   e v e r g r e e n ,   t h e   w e b s i t e   a u t o m a t i c a l l y   d i s p l a y s   a   n o t i c e   t h a t   t h e   c o n t e n t   m a y   b e   s t a l e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/",
    "id": "k8s_00166_section_2_2996"
  },
  {
    "question": "What is Evergreen articles?",
    "answer": "Y o u   c a n   m a r k   a n   a r t i c l e   a s   e v e r g r e e n   b y   s e t t i n g   e v e r g r e e n :   t r u e   i n   t h e   f r o n t   m a t t e r .   W e   o n l y   m a r k   b l o g   a r t i c l e s   a s   m a i n t a i n e d   ( e v e r g r e e n :   t r u e   i n   f r o n t   m a t t e r )   i f   t h e   K u b e r n e t e s   p r o j e c t   c a n   c o m m i t   t o   m a i n t a i n i n g   t h e m   i n d e f i n i t e l y .   S o m e   b l o g   a r t i c l e s   a b s o l u t e l y   m e r i t   t h i s ;   f o r   e x a m p l e ,   t h e   r e l e a s e   c o m m s   t e a m   a l w a y s   m a r k s   o f f i c i a l   r e l e a s e   a n n o u n c e m e n t s   a s   e v e r g r e e n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/",
    "id": "k8s_00166_section_3_2997"
  },
  {
    "question": "What is What's next?",
    "answer": "D i s c o v e r   t h e   o f f i c i a l   b l o g s : K u b e r n e t e s   b l o g K u b e r n e t e s   c o n t r i b u t o r   b l o g R e a d   a b o u t   r e v i e w i n g   b l o g   p u l l   r e q u e s t s   D i s c o v e r   t h e   o f f i c i a l   b l o g s :   K u b e r n e t e s   b l o g K u b e r n e t e s   c o n t r i b u t o r   b l o g   R e a d   a b o u t   r e v i e w i n g   b l o g   p u l l   r e q u e s t s   S u b m i t t i n g   a r t i c l e s   t o   K u b e r n e t e s   b l o g s B l o g   g u i d e l i n e s B l o g   a r t i c l e   m i r r o r i n g P o s t - r e l e a s e   c o m m u n i c a t i o n s H e l p i n g   a s   a   b l o g   w r i t i n g   b u d d y",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/",
    "id": "k8s_00166_section_2_2998"
  },
  {
    "question": "What is Diagram Guide?",
    "answer": "Diagram GuideThis guide shows you how to create, edit and share diagrams using the Mermaid JavaScript library. Mermaid.js allows you to generate diagrams using a simple markdown-like syntax inside Markdown files. You can also use Mermaid to generate .svg or .png image files that you can add to your documentation.The target audience for this guide is anybody wishing to learn about Mermaid and/or how to create and add diagrams to Kubernetes documentation.Figure 1 outlines the topics covered in this section.flowchart LR subgraph m[Mermaid.js] direction TB S[ ]-.- C[builddiagramswith markdown] --> D[on-linelive editor] end A[Why are diagramsuseful?] --> m m --> N[3 x methodsfor creatingdiagrams] N --> T[Examples] T --> X[Stylingandcaptions] X --> V[Tips] classDef box fill:#fff,stroke:#000,stroke-width:1px,color:#000; classDef spacewhite fill:#ffffff,stroke:#fff,stroke-width:0px,color:#000 class A,C,D,N,X,m,T,V box class S spacewhite %% you can hyperlink Mermaid diagram nodes to a URL using click statements click A \"https://mermaid-js.github.io/mermaid-live-editor/edit/#eyJjb2RlIjoiZmxvd2NoYXJ0IExSXG4gICAgc3ViZ3JhcGggbVtNZXJtYWlkLmpzXVxuICAgIGRpcmVjdGlvbiBUQlxuICAgICAgICBTWyBdLS4tXG4gICAgICAgIENbYnVpbGQ8YnI-ZGlhZ3JhbXM8YnI-d2l0aCBtYXJrZG93bl0gLS0-XG4gICAgICAgIERbb24tbGluZTxicj5saXZlIGVkaXRvcl1cbiAgICBlbmRcbiAgICBBW1doeSBhcmUgZGlhZ3JhbXM8YnI-dXNlZnVsP10gLS0-IG1cbiAgICBtIC0tPiBOWzMgeCBtZXRob2RzPGJyPmZvciBjcmVhdGluZzxicj5kaWFncmFtc11cbiAgICBOIC0tPiBUW0V4YW1wbGVzXVxuICAgIFQgLS0-IFhbU3R5bGluZzxicj5hbmQ8YnI-Y2FwdGlvbnNdXG4gICAgWCAtLT4gVltUaXBzXVxuICAgIFxuIFxuICAgIGNsYXNzRGVmIGJveCBmaWxsOiNmZmYsc3Ryb2tlOiMwMDAsc3Ryb2tlLXdpZHRoOjFweCxjb2xvcjojMDAwO1xuICAgIGNsYXNzRGVmIHNwYWNld2hpdGUgZmlsbDojZmZmZmZmLHN0cm9rZTojZmZmLHN0cm9rZS13aWR0aDowcHgsY29sb3I6IzAwMFxuICAgIGNsYXNzIEEsQyxELE4sWCxtLFQsViBib3hcbiAgICBjbGFzcyBTIHNwYWNld2hpdGUiLCJtZXJtYWlkIjoie1xuICBcInRoZW1lXCI6IFwiZGVmYXVsdFwiXG59IiwidXBkYXRlRWRpdG9yIjpmYWxzZSwiYXV0b1N5bmMiOnRydWUsInVwZGF0ZURpYWdyYW0iOnRydWV9\" _blank click C \"https://mermaid-js.github.io/mermaid-live-editor/edit/#eyJjb2RlIjoiZmxvd2NoYXJ0IExSXG4gICAgc3ViZ3JhcGggbVtNZXJtYWlkLmpzXVxuICAgIGRpcmVjdGlvbiBUQlxuICAgICAgICBTWyBdLS4tXG4gICAgICAgIENbYnVpbGQ8YnI-ZGlhZ3JhbXM8YnI-d2l0aCBtYXJrZG93bl0gLS0-XG4gICAgICAgIERbb24tbGluZTxicj5saXZlIGVkaXRvcl1cbiAgICBlbmRcbiAgICBBW1doeSBhcmUgZGlhZ3JhbXM8YnI-dXNlZnVsP10gLS0-IG1cbiAgICBtIC0tPiBOWzMgeCBtZXRob2RzPGJyPmZvciBjcmVhdGluZzxicj5kaWFncmFtc11cbiAgICBOIC0tPiBUW0V4YW1wbGVzXVxuICAgIFQgLS0-IFhbU3R5bGluZzxicj5hbmQ8YnI-Y2FwdGlvbnNdXG4gICAgWCAtLT4gVltUaXBzXVxuICAgIFxuIFxuICAgIGNsYXNzRGVmIGJveCBmaWxsOiNmZmYsc3Ryb2tlOiMwMDAsc3Ryb2tlLXdpZHRoOjFweCxjb2xvcjojMDAwO1xuICAgIGNsYXNzRGVmIHNwYWNld2hpdGUgZmlsbDojZmZmZmZmLHN0cm9rZTojZmZmLHN0cm9rZS13aWR0aDowcHgsY29sb3I6IzAwMFxuICAgIGNsYXNzIEEsQyxELE4sWCxtLFQsViBib3hcbiAgICBjbGFzcyBTIHNwYWNld2hpdGUiLCJtZXJtYWlkIjoie1xuICBcInRoZW1lXCI6IFwiZGVmYXVsdFwiXG59IiwidXBkYXRlRWRpdG9yIjpmYWxzZSwiYXV0b1N5bmMiOnRydWUsInVwZGF0ZURpYWdyYW0iOnRydWV9\" _blank click D \"https://mermaid-js.github.io/mermai",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/diagram-guide/",
    "id": "k8s_00167_qa_2999"
  },
  {
    "question": "How does Diagram Guide work?",
    "answer": "Diagram GuideThis guide shows you how to create, edit and share diagrams using the Mermaid JavaScript library. Mermaid.js allows you to generate diagrams using a simple markdown-like syntax inside Markdown files. You can also use Mermaid to generate .svg or .png image files that you can add to your documentation.The target audience for this guide is anybody wishing to learn about Mermaid and/or how to create and add diagrams to Kubernetes documentation.Figure 1 outlines the topics covered in this section.flowchart LR subgraph m[Mermaid.js] direction TB S[ ]-.- C[builddiagramswith markdown] --> D[on-linelive editor] end A[Why are diagramsuseful?] --> m m --> N[3 x methodsfor creatingdiagrams] N --> T[Examples] T --> X[Stylingandcaptions] X --> V[Tips] classDef box fill:#fff,stroke:#000,stroke-width:1px,color:#000; classDef spacewhite fill:#ffffff,stroke:#fff,stroke-width:0px,color:#000 class A,C,D,N,X,m,T,V box class S spacewhite %% you can hyperlink Mermaid diagram nodes to a URL using click statements click A \"https://mermaid-js.github.io/mermaid-live-editor/edit/#eyJjb2RlIjoiZmxvd2NoYXJ0IExSXG4gICAgc3ViZ3JhcGggbVtNZXJtYWlkLmpzXVxuICAgIGRpcmVjdGlvbiBUQlxuICAgICAgICBTWyBdLS4tXG4gICAgICAgIENbYnVpbGQ8YnI-ZGlhZ3JhbXM8YnI-d2l0aCBtYXJrZG93bl0gLS0-XG4gICAgICAgIERbb24tbGluZTxicj5saXZlIGVkaXRvcl1cbiAgICBlbmRcbiAgICBBW1doeSBhcmUgZGlhZ3JhbXM8YnI-dXNlZnVsP10gLS0-IG1cbiAgICBtIC0tPiBOWzMgeCBtZXRob2RzPGJyPmZvciBjcmVhdGluZzxicj5kaWFncmFtc11cbiAgICBOIC0tPiBUW0V4YW1wbGVzXVxuICAgIFQgLS0-IFhbU3R5bGluZzxicj5hbmQ8YnI-Y2FwdGlvbnNdXG4gICAgWCAtLT4gVltUaXBzXVxuICAgIFxuIFxuICAgIGNsYXNzRGVmIGJveCBmaWxsOiNmZmYsc3Ryb2tlOiMwMDAsc3Ryb2tlLXdpZHRoOjFweCxjb2xvcjojMDAwO1xuICAgIGNsYXNzRGVmIHNwYWNld2hpdGUgZmlsbDojZmZmZmZmLHN0cm9rZTojZmZmLHN0cm9rZS13aWR0aDowcHgsY29sb3I6IzAwMFxuICAgIGNsYXNzIEEsQyxELE4sWCxtLFQsViBib3hcbiAgICBjbGFzcyBTIHNwYWNld2hpdGUiLCJtZXJtYWlkIjoie1xuICBcInRoZW1lXCI6IFwiZGVmYXVsdFwiXG59IiwidXBkYXRlRWRpdG9yIjpmYWxzZSwiYXV0b1N5bmMiOnRydWUsInVwZGF0ZURpYWdyYW0iOnRydWV9\" _blank click C \"https://mermaid-js.github.io/mermaid-live-editor/edit/#eyJjb2RlIjoiZmxvd2NoYXJ0IExSXG4gICAgc3ViZ3JhcGggbVtNZXJtYWlkLmpzXVxuICAgIGRpcmVjdGlvbiBUQlxuICAgICAgICBTWyBdLS4tXG4gICAgICAgIENbYnVpbGQ8YnI-ZGlhZ3JhbXM8YnI-d2l0aCBtYXJrZG93bl0gLS0-XG4gICAgICAgIERbb24tbGluZTxicj5saXZlIGVkaXRvcl1cbiAgICBlbmRcbiAgICBBW1doeSBhcmUgZGlhZ3JhbXM8YnI-dXNlZnVsP10gLS0-IG1cbiAgICBtIC0tPiBOWzMgeCBtZXRob2RzPGJyPmZvciBjcmVhdGluZzxicj5kaWFncmFtc11cbiAgICBOIC0tPiBUW0V4YW1wbGVzXVxuICAgIFQgLS0-IFhbU3R5bGluZzxicj5hbmQ8YnI-Y2FwdGlvbnNdXG4gICAgWCAtLT4gVltUaXBzXVxuICAgIFxuIFxuICAgIGNsYXNzRGVmIGJveCBmaWxsOiNmZmYsc3Ryb2tlOiMwMDAsc3Ryb2tlLXdpZHRoOjFweCxjb2xvcjojMDAwO1xuICAgIGNsYXNzRGVmIHNwYWNld2hpdGUgZmlsbDojZmZmZmZmLHN0cm9rZTojZmZmLHN0cm9rZS13aWR0aDowcHgsY29sb3I6IzAwMFxuICAgIGNsYXNzIEEsQyxELE4sWCxtLFQsViBib3hcbiAgICBjbGFzcyBTIHNwYWNld2hpdGUiLCJtZXJtYWlkIjoie1xuICBcInRoZW1lXCI6IFwiZGVmYXVsdFwiXG59IiwidXBkYXRlRWRpdG9yIjpmYWxzZSwiYXV0b1N5bmMiOnRydWUsInVwZGF0ZURpYWdyYW0iOnRydWV9\" _blank click D \"https://mermaid-js.github.io/mermai",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/diagram-guide/",
    "id": "k8s_00167_qa_3000"
  },
  {
    "question": "When would you use Diagram Guide?",
    "answer": "Diagram GuideThis guide shows you how to create, edit and share diagrams using the Mermaid JavaScript library. Mermaid.js allows you to generate diagrams using a simple markdown-like syntax inside Markdown files. You can also use Mermaid to generate .svg or .png image files that you can add to your documentation.The target audience for this guide is anybody wishing to learn about Mermaid and/or how to create and add diagrams to Kubernetes documentation.Figure 1 outlines the topics covered in this section.flowchart LR subgraph m[Mermaid.js] direction TB S[ ]-.- C[builddiagramswith markdown] --> D[on-linelive editor] end A[Why are diagramsuseful?] --> m m --> N[3 x methodsfor creatingdiagrams] N --> T[Examples] T --> X[Stylingandcaptions] X --> V[Tips] classDef box fill:#fff,stroke:#000,stroke-width:1px,color:#000; classDef spacewhite fill:#ffffff,stroke:#fff,stroke-width:0px,color:#000 class A,C,D,N,X,m,T,V box class S spacewhite %% you can hyperlink Mermaid diagram nodes to a URL using click statements click A \"https://mermaid-js.github.io/mermaid-live-editor/edit/#eyJjb2RlIjoiZmxvd2NoYXJ0IExSXG4gICAgc3ViZ3JhcGggbVtNZXJtYWlkLmpzXVxuICAgIGRpcmVjdGlvbiBUQlxuICAgICAgICBTWyBdLS4tXG4gICAgICAgIENbYnVpbGQ8YnI-ZGlhZ3JhbXM8YnI-d2l0aCBtYXJrZG93bl0gLS0-XG4gICAgICAgIERbb24tbGluZTxicj5saXZlIGVkaXRvcl1cbiAgICBlbmRcbiAgICBBW1doeSBhcmUgZGlhZ3JhbXM8YnI-dXNlZnVsP10gLS0-IG1cbiAgICBtIC0tPiBOWzMgeCBtZXRob2RzPGJyPmZvciBjcmVhdGluZzxicj5kaWFncmFtc11cbiAgICBOIC0tPiBUW0V4YW1wbGVzXVxuICAgIFQgLS0-IFhbU3R5bGluZzxicj5hbmQ8YnI-Y2FwdGlvbnNdXG4gICAgWCAtLT4gVltUaXBzXVxuICAgIFxuIFxuICAgIGNsYXNzRGVmIGJveCBmaWxsOiNmZmYsc3Ryb2tlOiMwMDAsc3Ryb2tlLXdpZHRoOjFweCxjb2xvcjojMDAwO1xuICAgIGNsYXNzRGVmIHNwYWNld2hpdGUgZmlsbDojZmZmZmZmLHN0cm9rZTojZmZmLHN0cm9rZS13aWR0aDowcHgsY29sb3I6IzAwMFxuICAgIGNsYXNzIEEsQyxELE4sWCxtLFQsViBib3hcbiAgICBjbGFzcyBTIHNwYWNld2hpdGUiLCJtZXJtYWlkIjoie1xuICBcInRoZW1lXCI6IFwiZGVmYXVsdFwiXG59IiwidXBkYXRlRWRpdG9yIjpmYWxzZSwiYXV0b1N5bmMiOnRydWUsInVwZGF0ZURpYWdyYW0iOnRydWV9\" _blank click C \"https://mermaid-js.github.io/mermaid-live-editor/edit/#eyJjb2RlIjoiZmxvd2NoYXJ0IExSXG4gICAgc3ViZ3JhcGggbVtNZXJtYWlkLmpzXVxuICAgIGRpcmVjdGlvbiBUQlxuICAgICAgICBTWyBdLS4tXG4gICAgICAgIENbYnVpbGQ8YnI-ZGlhZ3JhbXM8YnI-d2l0aCBtYXJrZG93bl0gLS0-XG4gICAgICAgIERbb24tbGluZTxicj5saXZlIGVkaXRvcl1cbiAgICBlbmRcbiAgICBBW1doeSBhcmUgZGlhZ3JhbXM8YnI-dXNlZnVsP10gLS0-IG1cbiAgICBtIC0tPiBOWzMgeCBtZXRob2RzPGJyPmZvciBjcmVhdGluZzxicj5kaWFncmFtc11cbiAgICBOIC0tPiBUW0V4YW1wbGVzXVxuICAgIFQgLS0-IFhbU3R5bGluZzxicj5hbmQ8YnI-Y2FwdGlvbnNdXG4gICAgWCAtLT4gVltUaXBzXVxuICAgIFxuIFxuICAgIGNsYXNzRGVmIGJveCBmaWxsOiNmZmYsc3Ryb2tlOiMwMDAsc3Ryb2tlLXdpZHRoOjFweCxjb2xvcjojMDAwO1xuICAgIGNsYXNzRGVmIHNwYWNld2hpdGUgZmlsbDojZmZmZmZmLHN0cm9rZTojZmZmLHN0cm9rZS13aWR0aDowcHgsY29sb3I6IzAwMFxuICAgIGNsYXNzIEEsQyxELE4sWCxtLFQsViBib3hcbiAgICBjbGFzcyBTIHNwYWNld2hpdGUiLCJtZXJtYWlkIjoie1xuICBcInRoZW1lXCI6IFwiZGVmYXVsdFwiXG59IiwidXBkYXRlRWRpdG9yIjpmYWxzZSwiYXV0b1N5bmMiOnRydWUsInVwZGF0ZURpYWdyYW0iOnRydWV9\" _blank click D \"https://mermaid-js.github.io/mermai",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/diagram-guide/",
    "id": "k8s_00167_qa_3001"
  },
  {
    "question": "What are the benefits of Diagram Guide?",
    "answer": "Diagram GuideThis guide shows you how to create, edit and share diagrams using the Mermaid JavaScript library. Mermaid.js allows you to generate diagrams using a simple markdown-like syntax inside Markdown files. You can also use Mermaid to generate .svg or .png image files that you can add to your documentation.The target audience for this guide is anybody wishing to learn about Mermaid and/or how to create and add diagrams to Kubernetes documentation.Figure 1 outlines the topics covered in this section.flowchart LR subgraph m[Mermaid.js] direction TB S[ ]-.- C[builddiagramswith markdown] --> D[on-linelive editor] end A[Why are diagramsuseful?] --> m m --> N[3 x methodsfor creatingdiagrams] N --> T[Examples] T --> X[Stylingandcaptions] X --> V[Tips] classDef box fill:#fff,stroke:#000,stroke-width:1px,color:#000; classDef spacewhite fill:#ffffff,stroke:#fff,stroke-width:0px,color:#000 class A,C,D,N,X,m,T,V box class S spacewhite %% you can hyperlink Mermaid diagram nodes to a URL using click statements click A \"https://mermaid-js.github.io/mermaid-live-editor/edit/#eyJjb2RlIjoiZmxvd2NoYXJ0IExSXG4gICAgc3ViZ3JhcGggbVtNZXJtYWlkLmpzXVxuICAgIGRpcmVjdGlvbiBUQlxuICAgICAgICBTWyBdLS4tXG4gICAgICAgIENbYnVpbGQ8YnI-ZGlhZ3JhbXM8YnI-d2l0aCBtYXJrZG93bl0gLS0-XG4gICAgICAgIERbb24tbGluZTxicj5saXZlIGVkaXRvcl1cbiAgICBlbmRcbiAgICBBW1doeSBhcmUgZGlhZ3JhbXM8YnI-dXNlZnVsP10gLS0-IG1cbiAgICBtIC0tPiBOWzMgeCBtZXRob2RzPGJyPmZvciBjcmVhdGluZzxicj5kaWFncmFtc11cbiAgICBOIC0tPiBUW0V4YW1wbGVzXVxuICAgIFQgLS0-IFhbU3R5bGluZzxicj5hbmQ8YnI-Y2FwdGlvbnNdXG4gICAgWCAtLT4gVltUaXBzXVxuICAgIFxuIFxuICAgIGNsYXNzRGVmIGJveCBmaWxsOiNmZmYsc3Ryb2tlOiMwMDAsc3Ryb2tlLXdpZHRoOjFweCxjb2xvcjojMDAwO1xuICAgIGNsYXNzRGVmIHNwYWNld2hpdGUgZmlsbDojZmZmZmZmLHN0cm9rZTojZmZmLHN0cm9rZS13aWR0aDowcHgsY29sb3I6IzAwMFxuICAgIGNsYXNzIEEsQyxELE4sWCxtLFQsViBib3hcbiAgICBjbGFzcyBTIHNwYWNld2hpdGUiLCJtZXJtYWlkIjoie1xuICBcInRoZW1lXCI6IFwiZGVmYXVsdFwiXG59IiwidXBkYXRlRWRpdG9yIjpmYWxzZSwiYXV0b1N5bmMiOnRydWUsInVwZGF0ZURpYWdyYW0iOnRydWV9\" _blank click C \"https://mermaid-js.github.io/mermaid-live-editor/edit/#eyJjb2RlIjoiZmxvd2NoYXJ0IExSXG4gICAgc3ViZ3JhcGggbVtNZXJtYWlkLmpzXVxuICAgIGRpcmVjdGlvbiBUQlxuICAgICAgICBTWyBdLS4tXG4gICAgICAgIENbYnVpbGQ8YnI-ZGlhZ3JhbXM8YnI-d2l0aCBtYXJrZG93bl0gLS0-XG4gICAgICAgIERbb24tbGluZTxicj5saXZlIGVkaXRvcl1cbiAgICBlbmRcbiAgICBBW1doeSBhcmUgZGlhZ3JhbXM8YnI-dXNlZnVsP10gLS0-IG1cbiAgICBtIC0tPiBOWzMgeCBtZXRob2RzPGJyPmZvciBjcmVhdGluZzxicj5kaWFncmFtc11cbiAgICBOIC0tPiBUW0V4YW1wbGVzXVxuICAgIFQgLS0-IFhbU3R5bGluZzxicj5hbmQ8YnI-Y2FwdGlvbnNdXG4gICAgWCAtLT4gVltUaXBzXVxuICAgIFxuIFxuICAgIGNsYXNzRGVmIGJveCBmaWxsOiNmZmYsc3Ryb2tlOiMwMDAsc3Ryb2tlLXdpZHRoOjFweCxjb2xvcjojMDAwO1xuICAgIGNsYXNzRGVmIHNwYWNld2hpdGUgZmlsbDojZmZmZmZmLHN0cm9rZTojZmZmLHN0cm9rZS13aWR0aDowcHgsY29sb3I6IzAwMFxuICAgIGNsYXNzIEEsQyxELE4sWCxtLFQsViBib3hcbiAgICBjbGFzcyBTIHNwYWNld2hpdGUiLCJtZXJtYWlkIjoie1xuICBcInRoZW1lXCI6IFwiZGVmYXVsdFwiXG59IiwidXBkYXRlRWRpdG9yIjpmYWxzZSwiYXV0b1N5bmMiOnRydWUsInVwZGF0ZURpYWdyYW0iOnRydWV9\" _blank click D \"https://mermaid-js.github.io/mermai",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/diagram-guide/",
    "id": "k8s_00167_qa_3002"
  },
  {
    "question": "What is Diagram Guide?",
    "answer": "T h i s   g u i d e   s h o w s   y o u   h o w   t o   c r e a t e ,   e d i t   a n d   s h a r e   d i a g r a m s   u s i n g   t h e   M e r m a i d   J a v a S c r i p t   l i b r a r y .   M e r m a i d . j s   a l l o w s   y o u   t o   g e n e r a t e   d i a g r a m s   u s i n g   a   s i m p l e   m a r k d o w n - l i k e   s y n t a x   i n s i d e   M a r k d o w n   f i l e s .   Y o u   c a n   a l s o   u s e   M e r m a i d   t o   g e n e r a t e   . s v g   o r   . p n g   i m a g e   f i l e s   t h a t   y o u   c a n   a d d   t o   y o u r   d o c u m e n t a t i o n .   T h e   t a r g e t   a u d i e n c e   f o r   t h i s   g u i d e   i s   a n y b o d y   w i s h i n g   t o   l e a r n   a b o u t   M e r m a i d   a n d / o r   h o w   t o   c r e a t e   a n d   a d d   d i a g r a m s   t o   K u b e r n e t e s   d o c u m e n t a t i o n .   F i g u r e   1   o u t l i n e s   t h e   t o p i c s   c o v e r e d   i n   t h i s   s e c t i o n .   F i g u r e   1 .   T o p i c s   c o v e r e d   i n   t h i s   s e c t i o n .   A l l   y o u   n e e d   t o   b e g i n   w o r k i n g   w i t h   M e r m a i d   i s   t h e   f o l l o w i n g :   B a s i c   u n d e r s t a n d i n g   o f   m a r k d o w n . U s i n g   t h e   M e r m a i d   l i v e   e d i t o r . U s i n g   H u g o   s h o r t c o d e s . U s i n g   t h e   H u g o   { { <   f i g u r e   > } }   s h o r t c o d e . P e r f o r m i n g   H u g o   l o c a l   p r e v i e w s . F a m i l i a r   w i t h   t h e   C o n t r i b u t i n g   n e w   c o n t e n t   p r o c e s s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/diagram-guide/",
    "id": "k8s_00167_section_1_3003"
  },
  {
    "question": "What is Why you should use diagrams in documentation?",
    "answer": "D i a g r a m s   i m p r o v e   d o c u m e n t a t i o n   c l a r i t y   a n d   c o m p r e h e n s i o n .   T h e r e   a r e   a d v a n t a g e s   f o r   b o t h   t h e   u s e r   a n d   t h e   c o n t r i b u t o r .   T h e   u s e r   b e n e f i t s   i n c l u d e :   F r i e n d l y   l a n d i n g   s p o t .   A   d e t a i l e d   t e x t - o n l y   g r e e t i n g   p a g e   c o u l d   i n t i m i d a t e   u s e r s ,   i n   p a r t i c u l a r ,   f i r s t - t i m e   K u b e r n e t e s   u s e r s . F a s t e r   g r a s p   o f   c o n c e p t s .   A   d i a g r a m   c a n   h e l p   u s e r s   u n d e r s t a n d   t h e   k e y   p o i n t s   o f   a   c o m p l e x   t o p i c .   Y o u r   d i a g r a m   c a n   s e r v e   a s   a   v i s u a l   l e a r n i n g   g u i d e   t o   d i v e   i n t o   t h e   t o p i c   d e t a i l s . B e t t e r   r e t e n t i o n .   F o r   s o m e ,   i t   i s   e a s i e r   t o   r e c a l l   p i c t u r e s   r a t h e r   t h a n   t e x t .   T h e   c o n t r i b u t o r   b e n e f i t s   i n c l u d e :   A s s i s t   i n   d e v e l o p i n g   t h e   s t r u c t u r e   a n d   c o n t e n t   o f   y o u r   c o n t r i b u t i o n .   F o r   e x a m p l e ,   y o u   c a n   s t a r t   w i t h   a   s i m p l e   d i a g r a m   c o v e r i n g   t h e   h i g h - l e v e l   p o i n t s   a n d   t h e n   d i v e   i n t o   d e t a i l s . E x p a n d   a n d   g r o w   t h e   u s e r   c o m m u n i t y .   E a s i l y   c o n s u m e d   d o c u m e n t a t i o n   a u g m e n t e d   w i t h   d i a g r a m s   a t t r a c t s   n e w   u s e r s   w h o   m i g h t   p r e v i o u s l y   h a v e   b e e n   r e l u c t a n t   t o   e n g a g e   d u e   t o   p e r c e i v e d   c o m p l e x i t i e s .   Y o u   s h o u l d   c o n s i d e r   y o u r   t a r g e t   a u d i e n c e .   I n   a d d i t i o n   t o   e x p e r i e n c e d   K 8 s   ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/diagram-guide/",
    "id": "k8s_00167_section_2_3004"
  },
  {
    "question": "What is Mermaid?",
    "answer": "M e r m a i d   i s   a n   o p e n   s o u r c e   J a v a S c r i p t   l i b r a r y   t h a t   a l l o w s   y o u   t o   c r e a t e ,   e d i t   a n d   e a s i l y   s h a r e   d i a g r a m s   u s i n g   a   s i m p l e ,   m a r k d o w n - l i k e   s y n t a x   c o n f i g u r e d   i n l i n e   i n   M a r k d o w n   f i l e s .   T h e   f o l l o w i n g   l i s t s   f e a t u r e s   o f   M e r m a i d :   S i m p l e   c o d e   s y n t a x . I n c l u d e s   a   w e b - b a s e d   t o o l   a l l o w i n g   y o u   t o   c o d e   a n d   p r e v i e w   y o u r   d i a g r a m s . S u p p o r t s   m u l t i p l e   f o r m a t s   i n c l u d i n g   f l o w c h a r t ,   s t a t e   a n d   s e q u e n c e . E a s y   c o l l a b o r a t i o n   w i t h   c o l l e a g u e s   b y   s h a r i n g   a   p e r - d i a g r a m   U R L . B r o a d   s e l e c t i o n   o f   s h a p e s ,   l i n e s ,   t h e m e s   a n d   s t y l i n g .   T h e   f o l l o w i n g   l i s t s   a d v a n t a g e s   o f   u s i n g   M e r m a i d :   N o   n e e d   f o r   s e p a r a t e ,   n o n - M e r m a i d   d i a g r a m   t o o l s . A d h e r e s   t o   e x i s t i n g   P R   w o r k f l o w .   Y o u   c a n   t h i n k   o f   M e r m a i d   c o d e   a s   j u s t   M a r k d o w n   t e x t   i n c l u d e d   i n   y o u r   P R . S i m p l e   t o o l   b u i l d s   s i m p l e   d i a g r a m s .   Y o u   d o n ' t   w a n t   t o   g e t   b o g g e d   d o w n   ( r e ) c r a f t i n g   a n   o v e r l y   c o m p l e x   a n d   d e t a i l e d   p i c t u r e .   K e e p   i t   s i m p l e !   M e r m a i d   p r o v i d e s   a   s i m p l e ,   o p e n   a n d   t r a n s p a r e n t   m e t h o d   f o r   t h e   S I G   c o m m u n i t i e s   t o   a d d ,   e d i t   a n d   c o l l a b o r a t e   o n   d i a g r a m s   f o r   n e w   o r   e x i s t i n g   d o c u m e n t a t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/diagram-guide/",
    "id": "k8s_00167_section_2_3005"
  },
  {
    "question": "What is Live editor?",
    "answer": "T h e   M e r m a i d   l i v e   e d i t o r   i s   a   w e b - b a s e d   t o o l   t h a t   e n a b l e s   y o u   t o   c r e a t e ,   e d i t   a n d   r e v i e w   d i a g r a m s .   T h e   f o l l o w i n g   l i s t s   l i v e   e d i t o r   f u n c t i o n s :   D i s p l a y s   M e r m a i d   c o d e   a n d   r e n d e r e d   d i a g r a m . G e n e r a t e s   a   U R L   f o r   e a c h   s a v e d   d i a g r a m .   T h e   U R L   i s   d i s p l a y e d   i n   t h e   U R L   f i e l d   o f   y o u r   b r o w s e r .   Y o u   c a n   s h a r e   t h e   U R L   w i t h   c o l l e a g u e s   w h o   c a n   a c c e s s   a n d   m o d i f y   t h e   d i a g r a m . O p t i o n   t o   d o w n l o a d   . s v g   o r   . p n g   f i l e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/diagram-guide/",
    "id": "k8s_00167_section_3_3006"
  },
  {
    "question": "What is Methods for creating diagrams?",
    "answer": "F i g u r e   2   o u t l i n e s   t h e   t h r e e   m e t h o d s   t o   g e n e r a t e   a n d   a d d   d i a g r a m s .   F i g u r e   2 .   M e t h o d s   t o   c r e a t e   d i a g r a m s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/diagram-guide/",
    "id": "k8s_00167_section_2_3007"
  },
  {
    "question": "What is Inline?",
    "answer": "F i g u r e   3   o u t l i n e s   t h e   s t e p s   t o   f o l l o w   f o r   a d d i n g   a   d i a g r a m   u s i n g   t h e   I n l i n e   m e t h o d .   F i g u r e   3 .   I n l i n e   M e t h o d   s t e p s .   T h e   f o l l o w i n g   l i s t s   t h e   s t e p s   y o u   s h o u l d   f o l l o w   f o r   a d d i n g   a   d i a g r a m   u s i n g   t h e   I n l i n e   m e t h o d :   C r e a t e   y o u r   d i a g r a m   u s i n g   t h e   l i v e   e d i t o r . S t o r e   t h e   d i a g r a m   U R L   s o m e w h e r e   f o r   l a t e r   a c c e s s . C o p y   t h e   m e r m a i d   c o d e   t o   t h e   l o c a t i o n   i n   y o u r   . m d   f i l e   w h e r e   y o u   w a n t   t h e   d i a g r a m   t o   a p p e a r . A d d   a   c a p t i o n   b e l o w   t h e   d i a g r a m   u s i n g   M a r k d o w n   t e x t .   A   H u g o   b u i l d   r u n s   t h e   M e r m a i d   c o d e   a n d   t u r n s   i t   i n t o   a   d i a g r a m .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/diagram-guide/",
    "id": "k8s_00167_section_3_3008"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e   i s   a   s a m p l e   c o d e   s n i p p e t   c o n t a i n e d   i n   a n   . m d   f i l e :   - - -   t i t l e :   M y   P R   - - -   F i g u r e   1 7   s h o w s   a   s i m p l e   A   t o   B   p r o c e s s .   s o m e   m a r k d o w n   t e x t   . . .   { { <   m e r m a i d   > } }   g r a p h   T B   A   - - >   B   { { <   / m e r m a i d   > } }   F i g u r e   1 7 .   A   t o   B   m o r e   t e x t",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/diagram-guide/",
    "id": "k8s_00167_section_4_3009"
  },
  {
    "question": "What is Note:?",
    "answer": "F o r   m o r e   d e t a i l s   o n   d i a g r a m   c a p t i o n s ,   s e e   H o w   t o   u s e   c a p t i o n s .   T h e   f o l l o w i n g   l i s t s   a d v a n t a g e s   o f   t h e   I n l i n e   m e t h o d :   L i v e   e d i t o r   t o o l . E a s y   t o   c o p y   M e r m a i d   c o d e   t o   a n d   f r o m   t h e   l i v e   e d i t o r   a n d   y o u r   . m d   f i l e . N o   n e e d   f o r   s e p a r a t e   . s v g   i m a g e   f i l e   h a n d l i n g . C o n t e n t   t e x t ,   d i a g r a m   c o d e   a n d   d i a g r a m   c a p t i o n   c o n t a i n e d   i n   t h e   s a m e   . m d   f i l e .   Y o u   s h o u l d   u s e   t h e   l o c a l   a n d   N e t l i f y   p r e v i e w s   t o   v e r i f y   t h e   d i a g r a m   i s   p r o p e r l y   r e n d e r e d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/diagram-guide/",
    "id": "k8s_00167_section_4_3010"
  },
  {
    "question": "What is Mermaid+SVG?",
    "answer": "F i g u r e   4   o u t l i n e s   t h e   s t e p s   t o   f o l l o w   f o r   a d d i n g   a   d i a g r a m   u s i n g   t h e   M e r m a i d + S V G   m e t h o d .   F i g u r e   4 .   M e r m a i d + S V G   m e t h o d   s t e p s .   T h e   f o l l o w i n g   l i s t s   t h e   s t e p s   y o u   s h o u l d   f o l l o w   f o r   a d d i n g   a   d i a g r a m   u s i n g   t h e   M e r m a i d + S V G   m e t h o d :   C r e a t e   y o u r   d i a g r a m   u s i n g   t h e   l i v e   e d i t o r . S t o r e   t h e   d i a g r a m   U R L   s o m e w h e r e   f o r   l a t e r   a c c e s s . G e n e r a t e   a n   . s v g   i m a g e   f i l e   f o r   t h e   d i a g r a m   a n d   d o w n l o a d   i t   t o   t h e   a p p r o p r i a t e   i m a g e s /   f o l d e r . U s e   t h e   { { <   f i g u r e   > } }   s h o r t c o d e   t o   r e f e r e n c e   t h e   d i a g r a m   i n   t h e   . m d   f i l e . A d d   a   c a p t i o n   u s i n g   t h e   { { <   f i g u r e   > } }   s h o r t c o d e ' s   c a p t i o n   p a r a m e t e r .   F o r   e x a m p l e ,   u s e   t h e   l i v e   e d i t o r   t o   c r e a t e   a   d i a g r a m   c a l l e d   b o x n e t .   S t o r e   t h e   d i a g r a m   U R L   s o m e w h e r e   f o r   l a t e r   a c c e s s .   G e n e r a t e   a n d   d o w n l o a d   a   b o x n e t . s v g   f i l e   t o   t h e   a p p r o p r i a t e   . . / i m a g e s /   f o l d e r .   U s e   t h e   { { <   f i g u r e   > } }   s h o r t c o d e   i n   y o u r   P R ' s   . m d   f i l e   t o   r e f e r e n c e   t h e   . s v g   i m a g e   f i l e   a n d   a d d   a   c a p t i o n .   { { <   f i g u r e   s r c = \" / s t a t i c / i m a g e s / b o x n e t . s v g \"   a l t = \" B o x n e t   f i g u r e \"   c l a s s = \" d i a g r a m - l a r g e \"   c a p t i o n = \" F i g u r e   1 4 .   B o x n e t   c a p t i o n \"   > } }   F o r   m o r e   d e t a i l s   o n ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/diagram-guide/",
    "id": "k8s_00167_section_3_3011"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   s h o u l d   a d d   t h e   l i v e   e d i t o r   U R L   a s   a   c o m m e n t   b l o c k   i n   t h e   . s v g   i m a g e   f i l e   u s i n g   a   t e x t   e d i t o r .   F o r   e x a m p l e ,   y o u   w o u l d   i n c l u d e   t h e   f o l l o w i n g   a t   t h e   b e g i n n i n g   o f   t h e   . s v g   i m a g e   f i l e :   < ! - -   T o   v i e w   o r   e d i t   t h e   m e r m a i d   c o d e ,   u s e   t h e   f o l l o w i n g   U R L :   - - >   < ! - -   h t t p s : / / m e r m a i d - j s . g i t h u b . i o / m e r m a i d - l i v e - e d i t o r / e d i t / # e y J j b   . . .   < r e m a i n d e r   o f   t h e   U R L >   - - >   T h e   f o l l o w i n g   l i s t s   a d v a n t a g e s   o f   t h e   M e r m a i d + S V G   m e t h o d :   L i v e   e d i t o r   t o o l . L i v e   e d i t o r   t o o l   s u p p o r t s   t h e   m o s t   c u r r e n t   M e r m a i d   f e a t u r e   s e t . E m p l o y   e x i s t i n g   k u b e r n e t e s / w e b s i t e   m e t h o d s   f o r   h a n d l i n g   . s v g   i m a g e   f i l e s . E n v i r o n m e n t   d o e s n ' t   r e q u i r e   M e r m a i d   s u p p o r t .   B e   s u r e   t o   c h e c k   t h a t   y o u r   d i a g r a m   r e n d e r s   p r o p e r l y   u s i n g   t h e   l o c a l   a n d   N e t l i f y   p r e v i e w s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/diagram-guide/",
    "id": "k8s_00167_section_4_3012"
  },
  {
    "question": "What is External tool?",
    "answer": "F i g u r e   5   o u t l i n e s   t h e   s t e p s   t o   f o l l o w   f o r   a d d i n g   a   d i a g r a m   u s i n g   t h e   E x t e r n a l   T o o l   m e t h o d .   F i r s t ,   u s e   y o u r   e x t e r n a l   t o o l   t o   c r e a t e   t h e   d i a g r a m   a n d   s a v e   i t   a s   a n   . s v g   o r   . p n g   i m a g e   f i l e .   A f t e r   t h a t ,   u s e   t h e   s a m e   s t e p s   a s   t h e   M e r m a i d + S V G   m e t h o d   f o r   a d d i n g   . s v g   i m a g e   f i l e s .   F i g u r e   5 .   E x t e r n a l   T o o l   m e t h o d   s t e p s   T h e   f o l l o w i n g   l i s t s   t h e   s t e p s   y o u   s h o u l d   f o l l o w   f o r   a d d i n g   a   d i a g r a m   u s i n g   t h e   E x t e r n a l   T o o l   m e t h o d :   U s e   y o u r   e x t e r n a l   t o o l   t o   c r e a t e   a   d i a g r a m . S a v e   t h e   d i a g r a m   c o o r d i n a t e s   f o r   c o n t r i b u t o r   a c c e s s .   F o r   e x a m p l e ,   y o u r   t o o l   m a y   o f f e r   a   l i n k   t o   t h e   d i a g r a m   i m a g e ,   o r   y o u   c o u l d   p l a c e   t h e   s o u r c e   c o d e   f i l e ,   s u c h   a s   a n   . x m l   f i l e ,   i n   a   p u b l i c   r e p o s i t o r y   f o r   l a t e r   c o n t r i b u t o r   a c c e s s . G e n e r a t e   a n d   s a v e   t h e   d i a g r a m   a s   a n   . s v g   o r   . p n g   i m a g e   f i l e .   D o w n l o a d   t h i s   f i l e   t o   t h e   a p p r o p r i a t e   . . / i m a g e s /   f o l d e r . U s e   t h e   { { <   f i g u r e   > } }   s h o r t c o d e   t o   r e f e r e n c e   t h e   d i a g r a m   i n   t h e   . m d   f i l e . A d d   a   c a p t i o n   u s i n g   t h e   { { <   f i g u r e   > } }   s h o r t c o d e ' s   c a p t i o n   p a r a m e t e r .   H e r e   i s   t h e   { { <   f i g u r e   > } }   s h o r t c o d e   f o r   t h e   i m a g e s / a p p l ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/diagram-guide/",
    "id": "k8s_00167_section_3_3013"
  },
  {
    "question": "What is Examples?",
    "answer": "T h i s   s e c t i o n   s h o w s   s e v e r a l   e x a m p l e s   o f   M e r m a i d   d i a g r a m s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/diagram-guide/",
    "id": "k8s_00167_section_2_3014"
  },
  {
    "question": "What is Example 1 - Pod topology spread constraints?",
    "answer": "F i g u r e   6   s h o w s   t h e   d i a g r a m   a p p e a r i n g   i n   t h e   P o d   t o p o l o g y   s p r e a d   c o n s t r a i n t s   p a g e .   F i g u r e   6 .   P o d   T o p o l o g y   S p r e a d   C o n s t r a i n t s .   C o d e   b l o c k :   g r a p h   T B   s u b g r a p h   \" z o n e B \"   n 3 ( N o d e 3 )   n 4 ( N o d e 4 )   e n d   s u b g r a p h   \" z o n e A \"   n 1 ( N o d e 1 )   n 2 ( N o d e 2 )   e n d   c l a s s D e f   p l a i n   f i l l : # d d d , s t r o k e : # f f f , s t r o k e - w i d t h : 4 p x , c o l o r : # 0 0 0 ;   c l a s s D e f   k 8 s   f i l l : # 3 2 6 c e 5 , s t r o k e : # f f f , s t r o k e - w i d t h : 4 p x , c o l o r : # f f f ;   c l a s s D e f   c l u s t e r   f i l l : # f f f , s t r o k e : # b b b , s t r o k e - w i d t h : 2 p x , c o l o r : # 3 2 6 c e 5 ;   c l a s s   n 1 , n 2 , n 3 , n 4   k 8 s ;   c l a s s   z o n e A , z o n e B   c l u s t e r ;",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/diagram-guide/",
    "id": "k8s_00167_section_3_3015"
  },
  {
    "question": "What is Example 2 - Ingress?",
    "answer": "F i g u r e   7   s h o w s   t h e   d i a g r a m   a p p e a r i n g   i n   t h e   W h a t   i s   I n g r e s s   p a g e .   g r a p h   L R ;   c l i e n t ( [ c l i e n t ] ) - .   I n g r e s s - m a n a g e d l o a d   b a l a n c e r   . - > i n g r e s s [ I n g r e s s ] ;   i n g r e s s - - > | r o u t i n g   r u l e | s e r v i c e [ S e r v i c e ] ;   s u b g r a p h   c l u s t e r   i n g r e s s ;   s e r v i c e - - > p o d 1 [ P o d ] ;   s e r v i c e - - > p o d 2 [ P o d ] ;   e n d   c l a s s D e f   p l a i n   f i l l : # d d d , s t r o k e : # f f f , s t r o k e - w i d t h : 4 p x , c o l o r : # 0 0 0 ;   c l a s s D e f   k 8 s   f i l l : # 3 2 6 c e 5 , s t r o k e : # f f f , s t r o k e - w i d t h : 4 p x , c o l o r : # f f f ;   c l a s s D e f   c l u s t e r   f i l l : # f f f , s t r o k e : # b b b , s t r o k e - w i d t h : 2 p x , c o l o r : # 3 2 6 c e 5 ;   c l a s s   i n g r e s s , s e r v i c e , p o d 1 , p o d 2   k 8 s ;   c l a s s   c l i e n t   p l a i n ;   c l a s s   c l u s t e r   c l u s t e r ;   c l i c k   c l i e n t   \" h t t p s : / / m e r m a i d - j s . g i t h u b . i o / m e r m a i d - l i v e - e d i t o r / e d i t / # e y J j b 2 R l I j o i Z 3 J h c G g g I E x S X G 4 g I G N s a W V u d C h b Y 2 x p Z W 5 0 X S k t L i B J b m d y Z X N z L W 1 h b m F n Z W Q g P G J y P i B s b 2 F k I G J h b G F u Y 2 V y I C 4 t P m l u Z 3 J l c 3 N b S W 5 n c m V z c 1 0 7 X G 4 g I G l u Z 3 J l c 3 M t L T 5 8 c m 9 1 d G l u Z y B y d W x l f H N l c n Z p Y 2 V b U 2 V y d m l j Z V 0 7 X G 4 g I H N 1 Y m d y Y X B o I G N s d X N 0 Z X J c b i A g a W 5 n c m V z c z t c b i A g c 2 V y d m l j Z S 0 t P n B v Z D F b U G 9 k X T t c b i A g c 2 V y d m l j Z S 0 t P n B v Z D J b U G 9 k X T t c b i A g Z W 5 k X G 4 g I G N s Y X N z R G V m I H B s Y W l u I G Z p b G w 6 I 2 R k Z C x z d H J v a 2 U 6 I 2 Z m Z i x z d H J v a 2 U t d 2 l k d G g 6 N H B 4 L G N v b G 9 y ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/diagram-guide/",
    "id": "k8s_00167_section_3_3016"
  },
  {
    "question": "What is Example 3 - K8s system flow?",
    "answer": "F i g u r e   8   d e p i c t s   a   M e r m a i d   s e q u e n c e   d i a g r a m   s h o w i n g   t h e   s y s t e m   f l o w   b e t w e e n   K 8 s   c o m p o n e n t s   t o   s t a r t   a   c o n t a i n e r .   F i g u r e   8 .   K 8 s   s y s t e m   f l o w   d i a g r a m   C o d e   b l o c k :   % % { i n i t : { \" t h e m e \" : \" n e u t r a l \" } } % %   s e q u e n c e D i a g r a m   a c t o r   m e   p a r t i c i p a n t   a p i S r v   a s   c o n t r o l   p l a n e < b r > < b r > a p i - s e r v e r   p a r t i c i p a n t   e t c d   a s   c o n t r o l   p l a n e < b r > < b r > e t c d   d a t a s t o r e   p a r t i c i p a n t   c n t r l M g r   a s   c o n t r o l   p l a n e < b r > < b r > c o n t r o l l e r < b r > m a n a g e r   p a r t i c i p a n t   s c h e d   a s   c o n t r o l   p l a n e < b r > < b r > s c h e d u l e r   p a r t i c i p a n t   k u b e l e t   a s   n o d e < b r > < b r > k u b e l e t   p a r t i c i p a n t   c o n t a i n e r   a s   n o d e < b r > < b r > c o n t a i n e r < b r > r u n t i m e   m e - > > a p i S r v :   1 .   k u b e c t l   c r e a t e   - f   p o d . y a m l   a p i S r v - - > > e t c d :   2 .   s a v e   n e w   s t a t e   c n t r l M g r - > > a p i S r v :   3 .   c h e c k   f o r   c h a n g e s   s c h e d - > > a p i S r v :   4 .   w a t c h   f o r   u n a s s i g n e d   p o d s ( s )   a p i S r v - > > s c h e d :   5 .   n o t i f y   a b o u t   p o d   w   n o d e n a m e = \"   \"   s c h e d - > > a p i S r v :   6 .   a s s i g n   p o d   t o   n o d e   a p i S r v - - > > e t c d :   7 .   s a v e   n e w   s t a t e   k u b e l e t - > > a p i S r v :   8 .   l o o k   f o r   n e w l y   a s s i g n e d   p o d ( s )   a p i S r v - > > k u b e l e t :   9 .   b i n d   p o d   t o   n o d e   k u b e l e t - > > c o n t a i n e r :   1 0 .   s t a r t   c o n t a i n e r   k u b e l e t - > > a p i S r v :   1 1 .   u p d a t e   p o d   s t a ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/diagram-guide/",
    "id": "k8s_00167_section_3_3017"
  },
  {
    "question": "What is How to style diagrams?",
    "answer": "Y o u   c a n   s t y l e   o n e   o r   m o r e   d i a g r a m   e l e m e n t s   u s i n g   w e l l - k n o w n   C S S   n o m e n c l a t u r e .   Y o u   a c c o m p l i s h   t h i s   u s i n g   t w o   t y p e s   o f   s t a t e m e n t s   i n   t h e   M e r m a i d   c o d e .   c l a s s D e f   d e f i n e s   a   c l a s s   o f   s t y l e   a t t r i b u t e s . c l a s s   d e f i n e s   o n e   o r   m o r e   e l e m e n t s   t o   a p p l y   t h e   c l a s s   t o .   I n   t h e   c o d e   f o r   f i g u r e   7 ,   y o u   c a n   s e e   e x a m p l e s   o f   b o t h .   c l a s s D e f   k 8 s   f i l l : # 3 2 6 c e 5 , s t r o k e : # f f f , s t r o k e - w i d t h : 4 p x , c o l o r : # f f f ;   / /   d e f i n e s   s t y l e   f o r   t h e   k 8 s   c l a s s   c l a s s   i n g r e s s , s e r v i c e , p o d 1 , p o d 2   k 8 s ;   / /   k 8 s   c l a s s   i s   a p p l i e d   t o   e l e m e n t s   i n g r e s s ,   s e r v i c e ,   p o d 1   a n d   p o d 2 .   Y o u   c a n   i n c l u d e   o n e   o r   m u l t i p l e   c l a s s D e f   a n d   c l a s s   s t a t e m e n t s   i n   y o u r   d i a g r a m .   Y o u   c a n   a l s o   u s e   t h e   o f f i c i a l   K 8 s   # 3 2 6 c e 5   h e x   c o l o r   c o d e   f o r   K 8 s   c o m p o n e n t s   i n   y o u r   d i a g r a m .   F o r   m o r e   i n f o r m a t i o n   o n   s t y l i n g   a n d   c l a s s e s ,   s e e   M e r m a i d   S t y l i n g   a n d   c l a s s e s   d o c s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/diagram-guide/",
    "id": "k8s_00167_section_2_3018"
  },
  {
    "question": "What is How to use captions?",
    "answer": "A   c a p t i o n   i s   a   b r i e f   d e s c r i p t i o n   o f   a   d i a g r a m .   A   t i t l e   o r   a   s h o r t   d e s c r i p t i o n   o f   t h e   d i a g r a m   a r e   e x a m p l e s   o f   c a p t i o n s .   C a p t i o n s   a r e n ' t   m e a n t   t o   r e p l a c e   e x p l a n a t o r y   t e x t   y o u   h a v e   i n   y o u r   d o c u m e n t a t i o n .   R a t h e r ,   t h e y   s e r v e   a s   a   \" c o n t e x t   l i n k \"   b e t w e e n   t h a t   t e x t   a n d   y o u r   d i a g r a m .   T h e   c o m b i n a t i o n   o f   s o m e   t e x t   a n d   a   d i a g r a m   t i e d   t o g e t h e r   w i t h   a   c a p t i o n   h e l p   p r o v i d e   a   c o n c i s e   r e p r e s e n t a t i o n   o f   t h e   i n f o r m a t i o n   y o u   w i s h   t o   c o n v e y   t o   t h e   u s e r .   W i t h o u t   c a p t i o n s ,   y o u   a r e   a s k i n g   t h e   u s e r   t o   s c a n   t h e   t e x t   a b o v e   o r   b e l o w   t h e   d i a g r a m   t o   f i g u r e   o u t   a   m e a n i n g .   T h i s   c a n   b e   f r u s t r a t i n g   f o r   t h e   u s e r .   F i g u r e   9   l a y s   o u t   t h e   t h r e e   c o m p o n e n t s   f o r   p r o p e r   c a p t i o n i n g :   d i a g r a m ,   d i a g r a m   c a p t i o n   a n d   t h e   d i a g r a m   r e f e r r a l .   f l o w c h a r t   A [ D i a g r a m I n l i n e   M e r m a i d   o r S V G   i m a g e   f i l e s ]   B [ D i a g r a m   C a p t i o n A d d   F i g u r e   N u m b e r .   a n d C a p t i o n   T e x t ]   C [ D i a g r a m   R e f e r r a l R e f e r e n c e   F i g u r e   N u m b e r i n   t e x t ]   c l a s s D e f   b o x   f i l l : # f f f , s t r o k e : # 0 0 0 , s t r o k e - w i d t h : 1 p x , c o l o r : # 0 0 0 ;   c l a s s   A , B , C   b o x   c l i c k   A   \" h t t p s : / / m e r m a i d - j s . g i t h u b . i o / m e r m a i d - l i v e - e d i t o r / e d i t # e y ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/diagram-guide/",
    "id": "k8s_00167_section_2_3019"
  },
  {
    "question": "What is Note:?",
    "answer": "D i a g r a m   T h e   M e r m a i d + S V G   a n d   E x t e r n a l   T o o l   m e t h o d s   g e n e r a t e   . s v g   i m a g e   f i l e s .   H e r e   i s   t h e   { { <   f i g u r e   > } }   s h o r t c o d e   f o r   t h e   d i a g r a m   d e f i n e d   i n   a n   . s v g   i m a g e   f i l e   s a v e d   t o   / i m a g e s / d o c s / c o m p o n e n t s - o f - k u b e r n e t e s . s v g :   { { <   f i g u r e   s r c = \" / i m a g e s / d o c s / c o m p o n e n t s - o f - k u b e r n e t e s . s v g \"   a l t = \" K u b e r n e t e s   p o d   r u n n i n g   i n s i d e   a   c l u s t e r \"   c l a s s = \" d i a g r a m - l a r g e \"   c a p t i o n = \" F i g u r e   4 .   K u b e r n e t e s   A r c h i t e c t u r e   C o m p o n e n t s \"   > } }   Y o u   s h o u l d   p a s s   t h e   s r c ,   a l t ,   c l a s s   a n d   c a p t i o n   v a l u e s   i n t o   t h e   { { <   f i g u r e   > } }   s h o r t c o d e .   Y o u   c a n   a d j u s t   t h e   s i z e   o f   t h e   d i a g r a m   u s i n g   d i a g r a m - l a r g e ,   d i a g r a m - m e d i u m   a n d   d i a g r a m - s m a l l   c l a s s e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/diagram-guide/",
    "id": "k8s_00167_section_4_3020"
  },
  {
    "question": "What is Note:?",
    "answer": "S e e   M e t h o d s   f o r   c r e a t i n g   d i a g r a m s   f o r   m o r e   i n f o r m a t i o n   o n   t h e   d i f f e r e n t   m e t h o d s   f o r   c r e a t i n g   d i a g r a m s .   D i a g r a m   C a p t i o n   N e x t ,   a d d   a   d i a g r a m   c a p t i o n .   I f   y o u   d e f i n e   y o u r   d i a g r a m   i n   a n   . s v g   i m a g e   f i l e ,   t h e n   y o u   s h o u l d   u s e   t h e   { { <   f i g u r e   > } }   s h o r t c o d e ' s   c a p t i o n   p a r a m e t e r .   { { <   f i g u r e   s r c = \" / i m a g e s / d o c s / c o m p o n e n t s - o f - k u b e r n e t e s . s v g \"   a l t = \" K u b e r n e t e s   p o d   r u n n i n g   i n s i d e   a   c l u s t e r \"   c l a s s = \" d i a g r a m - l a r g e \"   c a p t i o n = \" F i g u r e   4 .   K u b e r n e t e s   A r c h i t e c t u r e   C o m p o n e n t s \"   > } }   I f   y o u   d e f i n e   y o u r   d i a g r a m   u s i n g   i n l i n e   M e r m a i d   c o d e ,   t h e n   y o u   s h o u l d   u s e   M a r k d o w n   t e x t .   F i g u r e   4 .   K u b e r n e t e s   A r c h i t e c t u r e   C o m p o n e n t s   T h e   f o l l o w i n g   l i s t s   s e v e r a l   i t e m s   t o   c o n s i d e r   w h e n   a d d i n g   d i a g r a m   c a p t i o n s :   U s e   t h e   { { <   f i g u r e   > } }   s h o r t c o d e   t o   a d d   a   d i a g r a m   c a p t i o n   f o r   M e r m a i d + S V G   a n d   E x t e r n a l   T o o l   d i a g r a m s . U s e   s i m p l e   M a r k d o w n   t e x t   t o   a d d   a   d i a g r a m   c a p t i o n   f o r   t h e   I n l i n e   m e t h o d . P r e p e n d   y o u r   d i a g r a m   c a p t i o n   w i t h   F i g u r e   N U M B E R . .   Y o u   m u s t   u s e   F i g u r e   a n d   t h e   n u m b e r   m u s t   b e   u n i q u e   f o r   e a c h   d i a g r a m   i n   y o u r   d o c u m e n t a t i o n   p a g e .   A d d   a   p e r i o d   a f t e r ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/diagram-guide/",
    "id": "k8s_00167_section_4_3021"
  },
  {
    "question": "What is Tips?",
    "answer": "A l w a y s   u s e   t h e   l i v e   e d i t o r   t o   c r e a t e / e d i t   y o u r   d i a g r a m . A l w a y s   u s e   H u g o   l o c a l   a n d   N e t l i f y   p r e v i e w s   t o   c h e c k   o u t   h o w   t h e   d i a g r a m   a p p e a r s   i n   t h e   d o c u m e n t a t i o n . I n c l u d e   d i a g r a m   s o u r c e   p o i n t e r s   s u c h   a s   a   U R L ,   s o u r c e   c o d e   l o c a t i o n ,   o r   i n d i c a t e   t h e   c o d e   i s   s e l f - d o c u m e n t i n g . A l w a y s   u s e   d i a g r a m   c a p t i o n s . V e r y   h e l p f u l   t o   i n c l u d e   t h e   d i a g r a m   . s v g   o r   . p n g   i m a g e   a n d / o r   M e r m a i d   s o u r c e   c o d e   i n   i s s u e s   a n d   P R s . W i t h   t h e   M e r m a i d + S V G   a n d   E x t e r n a l   T o o l   m e t h o d s ,   u s e   . s v g   i m a g e   f i l e s   b e c a u s e   t h e y   s t a y   s h a r p   w h e n   y o u   z o o m   i n   o n   t h e   d i a g r a m . B e s t   p r a c t i c e   f o r   . s v g   f i l e s   i s   t o   l o a d   i t   i n t o   a n   S V G   e d i t i n g   t o o l   a n d   u s e   t h e   \" C o n v e r t   t e x t   t o   p a t h s \"   f u n c t i o n .   T h i s   e n s u r e s   t h a t   t h e   d i a g r a m   r e n d e r s   t h e   s a m e   o n   a l l   s y s t e m s ,   r e g a r d l e s s   o f   f o n t   a v a i l a b i l i t y   a n d   f o n t   r e n d e r i n g   s u p p o r t . N o   M e r m a i d   s u p p o r t   f o r   a d d i t i o n a l   i c o n s   o r   a r t w o r k . H u g o   M e r m a i d   s h o r t c o d e s   d o n ' t   w o r k   i n   t h e   l i v e   e d i t o r . A n y   t i m e   y o u   m o d i f y   a   d i a g r a m   i n   t h e   l i v e   e d i t o r ,   y o u   m u s t   s a v e   i t   t o   g e n e r a t e   a   n e w   U R L   f o r   t h e   d i a g r a m . C l i c k   o n   t h e   d i a g r a m s   i n   t h i s   s e c t i ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/diagram-guide/",
    "id": "k8s_00167_section_2_3022"
  },
  {
    "question": "What is kubectl config?",
    "answer": "kubectl configSynopsisModify kubeconfig files using subcommands like \"kubectl config set current-context my-context\".The loading order follows these rules:If the --kubeconfig flag is set, then only that file is loaded. The flag may only be set once and no merging takes place.If $KUBECONFIG environment variable is set, then it is used as a list of paths (normal path delimiting rules for your system). These paths are merged. When a value is modified, it is modified in the file that defines the stanza. When a value is created, it is created in the first file that exists. If no files in the chain exist, then it creates the last file in the list.Otherwise, ${HOME}/.kube/config is used and no merging takes place.kubectl config SUBCOMMAND Options-h, --helphelp for config--kubeconfig stringuse a particular kubeconfig fileParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/",
    "id": "k8s_00168_qa_3023"
  },
  {
    "question": "How does kubectl config work?",
    "answer": "kubectl configSynopsisModify kubeconfig files using subcommands like \"kubectl config set current-context my-context\".The loading order follows these rules:If the --kubeconfig flag is set, then only that file is loaded. The flag may only be set once and no merging takes place.If $KUBECONFIG environment variable is set, then it is used as a list of paths (normal path delimiting rules for your system). These paths are merged. When a value is modified, it is modified in the file that defines the stanza. When a value is created, it is created in the first file that exists. If no files in the chain exist, then it creates the last file in the list.Otherwise, ${HOME}/.kube/config is used and no merging takes place.kubectl config SUBCOMMAND Options-h, --helphelp for config--kubeconfig stringuse a particular kubeconfig fileParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/",
    "id": "k8s_00168_qa_3024"
  },
  {
    "question": "When would you use kubectl config?",
    "answer": "kubectl configSynopsisModify kubeconfig files using subcommands like \"kubectl config set current-context my-context\".The loading order follows these rules:If the --kubeconfig flag is set, then only that file is loaded. The flag may only be set once and no merging takes place.If $KUBECONFIG environment variable is set, then it is used as a list of paths (normal path delimiting rules for your system). These paths are merged. When a value is modified, it is modified in the file that defines the stanza. When a value is created, it is created in the first file that exists. If no files in the chain exist, then it creates the last file in the list.Otherwise, ${HOME}/.kube/config is used and no merging takes place.kubectl config SUBCOMMAND Options-h, --helphelp for config--kubeconfig stringuse a particular kubeconfig fileParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/",
    "id": "k8s_00168_qa_3025"
  },
  {
    "question": "What are the benefits of kubectl config?",
    "answer": "kubectl configSynopsisModify kubeconfig files using subcommands like \"kubectl config set current-context my-context\".The loading order follows these rules:If the --kubeconfig flag is set, then only that file is loaded. The flag may only be set once and no merging takes place.If $KUBECONFIG environment variable is set, then it is used as a list of paths (normal path delimiting rules for your system). These paths are merged. When a value is modified, it is modified in the file that defines the stanza. When a value is created, it is created in the first file that exists. If no files in the chain exist, then it creates the last file in the list.Otherwise, ${HOME}/.kube/config is used and no merging takes place.kubectl config SUBCOMMAND Options-h, --helphelp for config--kubeconfig stringuse a particular kubeconfig fileParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/",
    "id": "k8s_00168_qa_3026"
  },
  {
    "question": "What is Synopsis?",
    "answer": "M o d i f y   k u b e c o n f i g   f i l e s   u s i n g   s u b c o m m a n d s   l i k e   \" k u b e c t l   c o n f i g   s e t   c u r r e n t - c o n t e x t   m y - c o n t e x t \" .   T h e   l o a d i n g   o r d e r   f o l l o w s   t h e s e   r u l e s :   I f   t h e   - - k u b e c o n f i g   f l a g   i s   s e t ,   t h e n   o n l y   t h a t   f i l e   i s   l o a d e d .   T h e   f l a g   m a y   o n l y   b e   s e t   o n c e   a n d   n o   m e r g i n g   t a k e s   p l a c e . I f   $ K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   i s   s e t ,   t h e n   i t   i s   u s e d   a s   a   l i s t   o f   p a t h s   ( n o r m a l   p a t h   d e l i m i t i n g   r u l e s   f o r   y o u r   s y s t e m ) .   T h e s e   p a t h s   a r e   m e r g e d .   W h e n   a   v a l u e   i s   m o d i f i e d ,   i t   i s   m o d i f i e d   i n   t h e   f i l e   t h a t   d e f i n e s   t h e   s t a n z a .   W h e n   a   v a l u e   i s   c r e a t e d ,   i t   i s   c r e a t e d   i n   t h e   f i r s t   f i l e   t h a t   e x i s t s .   I f   n o   f i l e s   i n   t h e   c h a i n   e x i s t ,   t h e n   i t   c r e a t e s   t h e   l a s t   f i l e   i n   t h e   l i s t . O t h e r w i s e ,   $ { H O M E } / . k u b e / c o n f i g   i s   u s e d   a n d   n o   m e r g i n g   t a k e s   p l a c e .   k u b e c t l   c o n f i g   S U B C O M M A N D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/",
    "id": "k8s_00168_section_2_3027"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c o n f i g   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/",
    "id": "k8s_00168_section_2_3028"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e r   N a m e   o f   p r o f i l e   t o   c a p t u r e .   O n e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/",
    "id": "k8s_00168_section_2_3029"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   c o n f i g   c u r r e n t - c o n t e x t   -   D i s p l a y   t h e   c u r r e n t - c o n t e x t k u b e c t l   c o n f i g   d e l e t e - c l u s t e r   -   D e l e t e   t h e   s p e c i f i e d   c l u s t e r   f r o m   t h e   k u b e c o n f i g k u b e c t l   c o n f i g   d e l e t e - c o n t e x t   -   D e l e t e   t h e   s p e c i f i e d   c o n t e x t   f r o m   t h e   k u b e c o n f i g k u b e c t l   c o n f i g   d e l e t e - u s e r   -   D e l e t e   t h e   s p e c i f i e d   u s e r   f r o m   t h e   k u b e c o n f i g k u b e c t l   c o n f i g   g e t - c l u s t e r s   -   D i s p l a y   c l u s t e r s   d e f i n e d   i n   t h e   k u b e c o n f i g k u b e c t l   c o n f i g   g e t - c o n t e x t s   -   D e s c r i b e   o n e   o r   m a n y   c o n t e x t s k u b e c t l   c o n f i g   g e t - u s e r s   -   D i s p l a y   u s e r s   d e f i n e d   i n   t h e   k u b e c o n f i g k u b e c t l   c o n f i g   r e n a m e - c o n t e x t   -   R e n a m e   a   c o n t e x t   f r o m   t h e   k u b e c o n f i g   f i l e k u b e c t l   c o n f i g   s e t   -   S e t   a n   i n d i v i d u a l   v a l u e   i n   a   k u b e c o n f i g   f i l e k u b e c t l   c o n f i g   s e t - c l u s t e r   -   S e t   a   c l u s t e r   e n t r y   i n   k u b e c o n f i g k u b e c t l   c o n f i g   s e t - c o n t e x t   -   S e t   a   c o n t e x t   e n t r y   i n   k u b e c o n f i g k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   -   S e t   a   u s e r   e n t r y   i n   k u b e c o n f i g k u b e c t l   c o n f i g   u n s e t   -   U n s e t   a n   i n d i v i d u a l   v a l u e   i n   a   k u b e c o n f i g   f i l e k u b e c t l   c o n f i g   u s e - c o n t e x t   -   S e t   t h e   c u r r e n t - c o n t e x t   i n   a   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/",
    "id": "k8s_00168_section_2_3030"
  },
  {
    "question": "What is kubectl taint?",
    "answer": "kubectl taintSynopsisUpdate the taints on one or more nodes.A taint consists of a key, value, and effect. As an argument here, it is expressed as key=value:effect.The key must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to 253 characters.Optionally, the key can begin with a DNS subdomain prefix and a single '/', like example.com/my-app.The value is optional. If given, it must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to 63 characters.The effect must be NoSchedule, PreferNoSchedule or NoExecute.Currently taint can only apply to node.kubectl taint NODE NAME KEY_1=VAL_1:TAINT_EFFECT_1 ... KEY_N=VAL_N:TAINT_EFFECT_N Examples # Update node 'foo' with a taint with key 'dedicated' and value 'special-user' and effect 'NoSchedule' # If a taint with that key and effect already exists, its value is replaced as specified kubectl taint nodes foo dedicated=special-user:NoSchedule # Remove from node 'foo' the taint with key 'dedicated' and effect 'NoSchedule' if one exists kubectl taint nodes foo dedicated:NoSchedule- # Remove from node 'foo' all the taints with key 'dedicated' kubectl taint nodes foo dedicated- # Add a taint with key 'dedicated' on nodes having label myLabel=X kubectl taint node -l myLabel=X dedicated=foo:PreferNoSchedule # Add to node 'foo' a taint with key 'bar' and no value kubectl taint nodes foo bar:NoSchedule Options--allSelect all nodes in the cluster--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-taint\"Name of the manager used to track field ownership.-h, --helphelp for taint-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--overwriteIf true, allow taints to be overwritten, otherwise reject taint updates that overwrite existing taints.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the inp",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_taint/",
    "id": "k8s_00169_qa_3031"
  },
  {
    "question": "How does kubectl taint work?",
    "answer": "kubectl taintSynopsisUpdate the taints on one or more nodes.A taint consists of a key, value, and effect. As an argument here, it is expressed as key=value:effect.The key must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to 253 characters.Optionally, the key can begin with a DNS subdomain prefix and a single '/', like example.com/my-app.The value is optional. If given, it must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to 63 characters.The effect must be NoSchedule, PreferNoSchedule or NoExecute.Currently taint can only apply to node.kubectl taint NODE NAME KEY_1=VAL_1:TAINT_EFFECT_1 ... KEY_N=VAL_N:TAINT_EFFECT_N Examples # Update node 'foo' with a taint with key 'dedicated' and value 'special-user' and effect 'NoSchedule' # If a taint with that key and effect already exists, its value is replaced as specified kubectl taint nodes foo dedicated=special-user:NoSchedule # Remove from node 'foo' the taint with key 'dedicated' and effect 'NoSchedule' if one exists kubectl taint nodes foo dedicated:NoSchedule- # Remove from node 'foo' all the taints with key 'dedicated' kubectl taint nodes foo dedicated- # Add a taint with key 'dedicated' on nodes having label myLabel=X kubectl taint node -l myLabel=X dedicated=foo:PreferNoSchedule # Add to node 'foo' a taint with key 'bar' and no value kubectl taint nodes foo bar:NoSchedule Options--allSelect all nodes in the cluster--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-taint\"Name of the manager used to track field ownership.-h, --helphelp for taint-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--overwriteIf true, allow taints to be overwritten, otherwise reject taint updates that overwrite existing taints.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the inp",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_taint/",
    "id": "k8s_00169_qa_3032"
  },
  {
    "question": "When would you use kubectl taint?",
    "answer": "kubectl taintSynopsisUpdate the taints on one or more nodes.A taint consists of a key, value, and effect. As an argument here, it is expressed as key=value:effect.The key must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to 253 characters.Optionally, the key can begin with a DNS subdomain prefix and a single '/', like example.com/my-app.The value is optional. If given, it must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to 63 characters.The effect must be NoSchedule, PreferNoSchedule or NoExecute.Currently taint can only apply to node.kubectl taint NODE NAME KEY_1=VAL_1:TAINT_EFFECT_1 ... KEY_N=VAL_N:TAINT_EFFECT_N Examples # Update node 'foo' with a taint with key 'dedicated' and value 'special-user' and effect 'NoSchedule' # If a taint with that key and effect already exists, its value is replaced as specified kubectl taint nodes foo dedicated=special-user:NoSchedule # Remove from node 'foo' the taint with key 'dedicated' and effect 'NoSchedule' if one exists kubectl taint nodes foo dedicated:NoSchedule- # Remove from node 'foo' all the taints with key 'dedicated' kubectl taint nodes foo dedicated- # Add a taint with key 'dedicated' on nodes having label myLabel=X kubectl taint node -l myLabel=X dedicated=foo:PreferNoSchedule # Add to node 'foo' a taint with key 'bar' and no value kubectl taint nodes foo bar:NoSchedule Options--allSelect all nodes in the cluster--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-taint\"Name of the manager used to track field ownership.-h, --helphelp for taint-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--overwriteIf true, allow taints to be overwritten, otherwise reject taint updates that overwrite existing taints.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the inp",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_taint/",
    "id": "k8s_00169_qa_3033"
  },
  {
    "question": "What are the benefits of kubectl taint?",
    "answer": "kubectl taintSynopsisUpdate the taints on one or more nodes.A taint consists of a key, value, and effect. As an argument here, it is expressed as key=value:effect.The key must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to 253 characters.Optionally, the key can begin with a DNS subdomain prefix and a single '/', like example.com/my-app.The value is optional. If given, it must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to 63 characters.The effect must be NoSchedule, PreferNoSchedule or NoExecute.Currently taint can only apply to node.kubectl taint NODE NAME KEY_1=VAL_1:TAINT_EFFECT_1 ... KEY_N=VAL_N:TAINT_EFFECT_N Examples # Update node 'foo' with a taint with key 'dedicated' and value 'special-user' and effect 'NoSchedule' # If a taint with that key and effect already exists, its value is replaced as specified kubectl taint nodes foo dedicated=special-user:NoSchedule # Remove from node 'foo' the taint with key 'dedicated' and effect 'NoSchedule' if one exists kubectl taint nodes foo dedicated:NoSchedule- # Remove from node 'foo' all the taints with key 'dedicated' kubectl taint nodes foo dedicated- # Add a taint with key 'dedicated' on nodes having label myLabel=X kubectl taint node -l myLabel=X dedicated=foo:PreferNoSchedule # Add to node 'foo' a taint with key 'bar' and no value kubectl taint nodes foo bar:NoSchedule Options--allSelect all nodes in the cluster--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-taint\"Name of the manager used to track field ownership.-h, --helphelp for taint-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--overwriteIf true, allow taints to be overwritten, otherwise reject taint updates that overwrite existing taints.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the inp",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_taint/",
    "id": "k8s_00169_qa_3034"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e   t h e   t a i n t s   o n   o n e   o r   m o r e   n o d e s .   A   t a i n t   c o n s i s t s   o f   a   k e y ,   v a l u e ,   a n d   e f f e c t .   A s   a n   a r g u m e n t   h e r e ,   i t   i s   e x p r e s s e d   a s   k e y = v a l u e : e f f e c t . T h e   k e y   m u s t   b e g i n   w i t h   a   l e t t e r   o r   n u m b e r ,   a n d   m a y   c o n t a i n   l e t t e r s ,   n u m b e r s ,   h y p h e n s ,   d o t s ,   a n d   u n d e r s c o r e s ,   u p   t o   2 5 3   c h a r a c t e r s . O p t i o n a l l y ,   t h e   k e y   c a n   b e g i n   w i t h   a   D N S   s u b d o m a i n   p r e f i x   a n d   a   s i n g l e   ' / ' ,   l i k e   e x a m p l e . c o m / m y - a p p . T h e   v a l u e   i s   o p t i o n a l .   I f   g i v e n ,   i t   m u s t   b e g i n   w i t h   a   l e t t e r   o r   n u m b e r ,   a n d   m a y   c o n t a i n   l e t t e r s ,   n u m b e r s ,   h y p h e n s ,   d o t s ,   a n d   u n d e r s c o r e s ,   u p   t o   6 3   c h a r a c t e r s . T h e   e f f e c t   m u s t   b e   N o S c h e d u l e ,   P r e f e r N o S c h e d u l e   o r   N o E x e c u t e . C u r r e n t l y   t a i n t   c a n   o n l y   a p p l y   t o   n o d e .   k u b e c t l   t a i n t   N O D E   N A M E   K E Y _ 1 = V A L _ 1 : T A I N T _ E F F E C T _ 1   . . .   K E Y _ N = V A L _ N : T A I N T _ E F F E C T _ N",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_taint/",
    "id": "k8s_00169_section_2_3035"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U p d a t e   n o d e   ' f o o '   w i t h   a   t a i n t   w i t h   k e y   ' d e d i c a t e d '   a n d   v a l u e   ' s p e c i a l - u s e r '   a n d   e f f e c t   ' N o S c h e d u l e '   #   I f   a   t a i n t   w i t h   t h a t   k e y   a n d   e f f e c t   a l r e a d y   e x i s t s ,   i t s   v a l u e   i s   r e p l a c e d   a s   s p e c i f i e d   k u b e c t l   t a i n t   n o d e s   f o o   d e d i c a t e d = s p e c i a l - u s e r : N o S c h e d u l e   #   R e m o v e   f r o m   n o d e   ' f o o '   t h e   t a i n t   w i t h   k e y   ' d e d i c a t e d '   a n d   e f f e c t   ' N o S c h e d u l e '   i f   o n e   e x i s t s   k u b e c t l   t a i n t   n o d e s   f o o   d e d i c a t e d : N o S c h e d u l e -   #   R e m o v e   f r o m   n o d e   ' f o o '   a l l   t h e   t a i n t s   w i t h   k e y   ' d e d i c a t e d '   k u b e c t l   t a i n t   n o d e s   f o o   d e d i c a t e d -   #   A d d   a   t a i n t   w i t h   k e y   ' d e d i c a t e d '   o n   n o d e s   h a v i n g   l a b e l   m y L a b e l = X   k u b e c t l   t a i n t   n o d e   - l   m y L a b e l = X   d e d i c a t e d = f o o : P r e f e r N o S c h e d u l e   #   A d d   t o   n o d e   ' f o o '   a   t a i n t   w i t h   k e y   ' b a r '   a n d   n o   v a l u e   k u b e c t l   t a i n t   n o d e s   f o o   b a r : N o S c h e d u l e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_taint/",
    "id": "k8s_00169_section_2_3036"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   n o d e s   i n   t h e   c l u s t e r   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   t a i n t   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   a l l o w   t a i n t s   t o   b e   o v e r w r i t t e n ,   o t h e r w i s e   r e j e c t   t a i n t   u p d a t e s   t h a t   o v e r w r i t e   e x i s t i n g   t a i n t s .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_taint/",
    "id": "k8s_00169_section_2_3037"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_taint/",
    "id": "k8s_00169_section_2_3038"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_taint/",
    "id": "k8s_00169_section_2_3039"
  },
  {
    "question": "What is Logging Architecture?",
    "answer": "Logging ArchitectureApplication logs can help you understand what is happening inside your application. The logs are particularly useful for debugging problems and monitoring cluster activity. Most modern applications have some kind of logging mechanism. Likewise, container engines are designed to support logging. The easiest and most adopted logging method for containerized applications is writing to standard output and standard error streams.However, the native functionality provided by a container engine or runtime is usually not enough for a complete logging solution.For example, you may want to access your application's logs if a container crashes, a pod gets evicted, or a node dies.In a cluster, logs should have a separate storage and lifecycle independent of nodes, pods, or containers. This concept is called cluster-level logging.Cluster-level logging architectures require a separate backend to store, analyze, and query logs. Kubernetes does not provide a native storage solution for log data. Instead, there are many logging solutions that integrate with Kubernetes. The following sections describe how to handle and store logs on nodes.Pod and container logsKubernetes captures logs from each container in a running Pod.This example uses a manifest for a Pod with a container that writes text to the standard output stream, once per second.debug/counter-pod.yaml apiVersion: v1 kind: Pod metadata: name: counter spec: containers: - name: count image: busybox:1.28 args: [/bin/sh, -c, 'i=0; while true; do echo \"$i: $(date)\"; i=$((i+1)); sleep 1; done'] To run this pod, use the following command:kubectl apply -f https://k8s.io/examples/debug/counter-pod.yaml The output is:pod/counter created To fetch the logs, use the kubectl logs command, as follows:kubectl logs counter The output is similar to:0: Fri Apr 1 11:42:23 UTC 2022 1: Fri Apr 1 11:42:24 UTC 2022 2: Fri Apr 1 11:42:25 UTC 2022 You can use kubectl logs --previous to retrieve logs from a previous instantiation of a container. If your pod has multiple containers, specify which container's logs you want to access by appending a container name to the command, with a -c flag, like so:kubectl logs counter -c count Container log streamsFEATURE STATE: Kubernetes v1.32 [alpha] (enabled by default: false)As an alpha feature, the kubelet can split out the logs from the two standard streams produced by a container: standard output and standard error. To use this behavior, you must enable the PodLogsQuerySplitStreams feature gate. With that feature gate enabled, Kubernetes 1.34 allows access to these log streams directly via the Pod API. You can fetch a specific stream by specifying the stream name (either Stdout or Stderr), using the stream query string. You must have access to read the log subresource of that Pod.To demonstrate this feature, you can create a Pod that periodically writes text to both the standard output and error stream.debug/counter-pod-err.yaml apiVersion: v1 kind: Pod metadata: name:",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/logging/",
    "id": "k8s_00170_qa_3040"
  },
  {
    "question": "How does Logging Architecture work?",
    "answer": "Logging ArchitectureApplication logs can help you understand what is happening inside your application. The logs are particularly useful for debugging problems and monitoring cluster activity. Most modern applications have some kind of logging mechanism. Likewise, container engines are designed to support logging. The easiest and most adopted logging method for containerized applications is writing to standard output and standard error streams.However, the native functionality provided by a container engine or runtime is usually not enough for a complete logging solution.For example, you may want to access your application's logs if a container crashes, a pod gets evicted, or a node dies.In a cluster, logs should have a separate storage and lifecycle independent of nodes, pods, or containers. This concept is called cluster-level logging.Cluster-level logging architectures require a separate backend to store, analyze, and query logs. Kubernetes does not provide a native storage solution for log data. Instead, there are many logging solutions that integrate with Kubernetes. The following sections describe how to handle and store logs on nodes.Pod and container logsKubernetes captures logs from each container in a running Pod.This example uses a manifest for a Pod with a container that writes text to the standard output stream, once per second.debug/counter-pod.yaml apiVersion: v1 kind: Pod metadata: name: counter spec: containers: - name: count image: busybox:1.28 args: [/bin/sh, -c, 'i=0; while true; do echo \"$i: $(date)\"; i=$((i+1)); sleep 1; done'] To run this pod, use the following command:kubectl apply -f https://k8s.io/examples/debug/counter-pod.yaml The output is:pod/counter created To fetch the logs, use the kubectl logs command, as follows:kubectl logs counter The output is similar to:0: Fri Apr 1 11:42:23 UTC 2022 1: Fri Apr 1 11:42:24 UTC 2022 2: Fri Apr 1 11:42:25 UTC 2022 You can use kubectl logs --previous to retrieve logs from a previous instantiation of a container. If your pod has multiple containers, specify which container's logs you want to access by appending a container name to the command, with a -c flag, like so:kubectl logs counter -c count Container log streamsFEATURE STATE: Kubernetes v1.32 [alpha] (enabled by default: false)As an alpha feature, the kubelet can split out the logs from the two standard streams produced by a container: standard output and standard error. To use this behavior, you must enable the PodLogsQuerySplitStreams feature gate. With that feature gate enabled, Kubernetes 1.34 allows access to these log streams directly via the Pod API. You can fetch a specific stream by specifying the stream name (either Stdout or Stderr), using the stream query string. You must have access to read the log subresource of that Pod.To demonstrate this feature, you can create a Pod that periodically writes text to both the standard output and error stream.debug/counter-pod-err.yaml apiVersion: v1 kind: Pod metadata: name:",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/logging/",
    "id": "k8s_00170_qa_3041"
  },
  {
    "question": "When would you use Logging Architecture?",
    "answer": "Logging ArchitectureApplication logs can help you understand what is happening inside your application. The logs are particularly useful for debugging problems and monitoring cluster activity. Most modern applications have some kind of logging mechanism. Likewise, container engines are designed to support logging. The easiest and most adopted logging method for containerized applications is writing to standard output and standard error streams.However, the native functionality provided by a container engine or runtime is usually not enough for a complete logging solution.For example, you may want to access your application's logs if a container crashes, a pod gets evicted, or a node dies.In a cluster, logs should have a separate storage and lifecycle independent of nodes, pods, or containers. This concept is called cluster-level logging.Cluster-level logging architectures require a separate backend to store, analyze, and query logs. Kubernetes does not provide a native storage solution for log data. Instead, there are many logging solutions that integrate with Kubernetes. The following sections describe how to handle and store logs on nodes.Pod and container logsKubernetes captures logs from each container in a running Pod.This example uses a manifest for a Pod with a container that writes text to the standard output stream, once per second.debug/counter-pod.yaml apiVersion: v1 kind: Pod metadata: name: counter spec: containers: - name: count image: busybox:1.28 args: [/bin/sh, -c, 'i=0; while true; do echo \"$i: $(date)\"; i=$((i+1)); sleep 1; done'] To run this pod, use the following command:kubectl apply -f https://k8s.io/examples/debug/counter-pod.yaml The output is:pod/counter created To fetch the logs, use the kubectl logs command, as follows:kubectl logs counter The output is similar to:0: Fri Apr 1 11:42:23 UTC 2022 1: Fri Apr 1 11:42:24 UTC 2022 2: Fri Apr 1 11:42:25 UTC 2022 You can use kubectl logs --previous to retrieve logs from a previous instantiation of a container. If your pod has multiple containers, specify which container's logs you want to access by appending a container name to the command, with a -c flag, like so:kubectl logs counter -c count Container log streamsFEATURE STATE: Kubernetes v1.32 [alpha] (enabled by default: false)As an alpha feature, the kubelet can split out the logs from the two standard streams produced by a container: standard output and standard error. To use this behavior, you must enable the PodLogsQuerySplitStreams feature gate. With that feature gate enabled, Kubernetes 1.34 allows access to these log streams directly via the Pod API. You can fetch a specific stream by specifying the stream name (either Stdout or Stderr), using the stream query string. You must have access to read the log subresource of that Pod.To demonstrate this feature, you can create a Pod that periodically writes text to both the standard output and error stream.debug/counter-pod-err.yaml apiVersion: v1 kind: Pod metadata: name:",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/logging/",
    "id": "k8s_00170_qa_3042"
  },
  {
    "question": "What are the benefits of Logging Architecture?",
    "answer": "Logging ArchitectureApplication logs can help you understand what is happening inside your application. The logs are particularly useful for debugging problems and monitoring cluster activity. Most modern applications have some kind of logging mechanism. Likewise, container engines are designed to support logging. The easiest and most adopted logging method for containerized applications is writing to standard output and standard error streams.However, the native functionality provided by a container engine or runtime is usually not enough for a complete logging solution.For example, you may want to access your application's logs if a container crashes, a pod gets evicted, or a node dies.In a cluster, logs should have a separate storage and lifecycle independent of nodes, pods, or containers. This concept is called cluster-level logging.Cluster-level logging architectures require a separate backend to store, analyze, and query logs. Kubernetes does not provide a native storage solution for log data. Instead, there are many logging solutions that integrate with Kubernetes. The following sections describe how to handle and store logs on nodes.Pod and container logsKubernetes captures logs from each container in a running Pod.This example uses a manifest for a Pod with a container that writes text to the standard output stream, once per second.debug/counter-pod.yaml apiVersion: v1 kind: Pod metadata: name: counter spec: containers: - name: count image: busybox:1.28 args: [/bin/sh, -c, 'i=0; while true; do echo \"$i: $(date)\"; i=$((i+1)); sleep 1; done'] To run this pod, use the following command:kubectl apply -f https://k8s.io/examples/debug/counter-pod.yaml The output is:pod/counter created To fetch the logs, use the kubectl logs command, as follows:kubectl logs counter The output is similar to:0: Fri Apr 1 11:42:23 UTC 2022 1: Fri Apr 1 11:42:24 UTC 2022 2: Fri Apr 1 11:42:25 UTC 2022 You can use kubectl logs --previous to retrieve logs from a previous instantiation of a container. If your pod has multiple containers, specify which container's logs you want to access by appending a container name to the command, with a -c flag, like so:kubectl logs counter -c count Container log streamsFEATURE STATE: Kubernetes v1.32 [alpha] (enabled by default: false)As an alpha feature, the kubelet can split out the logs from the two standard streams produced by a container: standard output and standard error. To use this behavior, you must enable the PodLogsQuerySplitStreams feature gate. With that feature gate enabled, Kubernetes 1.34 allows access to these log streams directly via the Pod API. You can fetch a specific stream by specifying the stream name (either Stdout or Stderr), using the stream query string. You must have access to read the log subresource of that Pod.To demonstrate this feature, you can create a Pod that periodically writes text to both the standard output and error stream.debug/counter-pod-err.yaml apiVersion: v1 kind: Pod metadata: name:",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/logging/",
    "id": "k8s_00170_qa_3043"
  },
  {
    "question": "What is Logging Architecture?",
    "answer": "A p p l i c a t i o n   l o g s   c a n   h e l p   y o u   u n d e r s t a n d   w h a t   i s   h a p p e n i n g   i n s i d e   y o u r   a p p l i c a t i o n .   T h e   l o g s   a r e   p a r t i c u l a r l y   u s e f u l   f o r   d e b u g g i n g   p r o b l e m s   a n d   m o n i t o r i n g   c l u s t e r   a c t i v i t y .   M o s t   m o d e r n   a p p l i c a t i o n s   h a v e   s o m e   k i n d   o f   l o g g i n g   m e c h a n i s m .   L i k e w i s e ,   c o n t a i n e r   e n g i n e s   a r e   d e s i g n e d   t o   s u p p o r t   l o g g i n g .   T h e   e a s i e s t   a n d   m o s t   a d o p t e d   l o g g i n g   m e t h o d   f o r   c o n t a i n e r i z e d   a p p l i c a t i o n s   i s   w r i t i n g   t o   s t a n d a r d   o u t p u t   a n d   s t a n d a r d   e r r o r   s t r e a m s .   H o w e v e r ,   t h e   n a t i v e   f u n c t i o n a l i t y   p r o v i d e d   b y   a   c o n t a i n e r   e n g i n e   o r   r u n t i m e   i s   u s u a l l y   n o t   e n o u g h   f o r   a   c o m p l e t e   l o g g i n g   s o l u t i o n .   F o r   e x a m p l e ,   y o u   m a y   w a n t   t o   a c c e s s   y o u r   a p p l i c a t i o n ' s   l o g s   i f   a   c o n t a i n e r   c r a s h e s ,   a   p o d   g e t s   e v i c t e d ,   o r   a   n o d e   d i e s .   I n   a   c l u s t e r ,   l o g s   s h o u l d   h a v e   a   s e p a r a t e   s t o r a g e   a n d   l i f e c y c l e   i n d e p e n d e n t   o f   n o d e s ,   p o d s ,   o r   c o n t a i n e r s .   T h i s   c o n c e p t   i s   c a l l e d   c l u s t e r - l e v e l   l o g g i n g .   C l u s t e r - l e v e l   l o g g i n g   a r c h i t e c t u r e s   r e q u i r e   a   s e p a r a t e   b a c k e n d   t o   s t o r e ,   a n a l y z e ,   a n d   q u e r y   l o g s .   K u b e r n e t e s   d o e s   n o t   p r o v i d e   a   n a t i v e   s t o r a g e   s o l u t i o n   f o r   l o g   d a t a .   I ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/logging/",
    "id": "k8s_00170_section_1_3044"
  },
  {
    "question": "What is Pod and container logs?",
    "answer": "K u b e r n e t e s   c a p t u r e s   l o g s   f r o m   e a c h   c o n t a i n e r   i n   a   r u n n i n g   P o d .   T h i s   e x a m p l e   u s e s   a   m a n i f e s t   f o r   a   P o d   w i t h   a   c o n t a i n e r   t h a t   w r i t e s   t e x t   t o   t h e   s t a n d a r d   o u t p u t   s t r e a m ,   o n c e   p e r   s e c o n d .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o u n t e r   s p e c :   c o n t a i n e r s :   -   n a m e :   c o u n t   i m a g e :   b u s y b o x : 1 . 2 8   a r g s :   [ / b i n / s h ,   - c ,   ' i = 0 ;   w h i l e   t r u e ;   d o   e c h o   \" $ i :   $ ( d a t e ) \" ;   i = $ ( ( i + 1 ) ) ;   s l e e p   1 ;   d o n e ' ]   T o   r u n   t h i s   p o d ,   u s e   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d e b u g / c o u n t e r - p o d . y a m l   T h e   o u t p u t   i s :   p o d / c o u n t e r   c r e a t e d   T o   f e t c h   t h e   l o g s ,   u s e   t h e   k u b e c t l   l o g s   c o m m a n d ,   a s   f o l l o w s :   k u b e c t l   l o g s   c o u n t e r   T h e   o u t p u t   i s   s i m i l a r   t o :   0 :   F r i   A p r   1   1 1 : 4 2 : 2 3   U T C   2 0 2 2   1 :   F r i   A p r   1   1 1 : 4 2 : 2 4   U T C   2 0 2 2   2 :   F r i   A p r   1   1 1 : 4 2 : 2 5   U T C   2 0 2 2   Y o u   c a n   u s e   k u b e c t l   l o g s   - - p r e v i o u s   t o   r e t r i e v e   l o g s   f r o m   a   p r e v i o u s   i n s t a n t i a t i o n   o f   a   c o n t a i n e r .   I f   y o u r   p o d   h a s   m u l t i p l e   c o n t a i n e r s ,   s p e c i f y   w h i c h   c o n t a i n e r ' s   l o g s   y o u   w a n t   t o   a c c e s s   b y   a p p e n d i n g   a   c o n t a i n e r   n a m e   t o   t h e   c o m m a n d ,   w i t h   a   - c   f l a g ,   l i k e   s o :   k u b e c t l   l o g s   c o u n t e r   - c   c ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/logging/",
    "id": "k8s_00170_section_2_3045"
  },
  {
    "question": "What is Container log streams?",
    "answer": "A s   a n   a l p h a   f e a t u r e ,   t h e   k u b e l e t   c a n   s p l i t   o u t   t h e   l o g s   f r o m   t h e   t w o   s t a n d a r d   s t r e a m s   p r o d u c e d   b y   a   c o n t a i n e r :   s t a n d a r d   o u t p u t   a n d   s t a n d a r d   e r r o r .   T o   u s e   t h i s   b e h a v i o r ,   y o u   m u s t   e n a b l e   t h e   P o d L o g s Q u e r y S p l i t S t r e a m s   f e a t u r e   g a t e .   W i t h   t h a t   f e a t u r e   g a t e   e n a b l e d ,   K u b e r n e t e s   1 . 3 4   a l l o w s   a c c e s s   t o   t h e s e   l o g   s t r e a m s   d i r e c t l y   v i a   t h e   P o d   A P I .   Y o u   c a n   f e t c h   a   s p e c i f i c   s t r e a m   b y   s p e c i f y i n g   t h e   s t r e a m   n a m e   ( e i t h e r   S t d o u t   o r   S t d e r r ) ,   u s i n g   t h e   s t r e a m   q u e r y   s t r i n g .   Y o u   m u s t   h a v e   a c c e s s   t o   r e a d   t h e   l o g   s u b r e s o u r c e   o f   t h a t   P o d .   T o   d e m o n s t r a t e   t h i s   f e a t u r e ,   y o u   c a n   c r e a t e   a   P o d   t h a t   p e r i o d i c a l l y   w r i t e s   t e x t   t o   b o t h   t h e   s t a n d a r d   o u t p u t   a n d   e r r o r   s t r e a m .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o u n t e r - e r r   s p e c :   c o n t a i n e r s :   -   n a m e :   c o u n t   i m a g e :   b u s y b o x : 1 . 2 8   a r g s :   [ / b i n / s h ,   - c ,   ' i = 0 ;   w h i l e   t r u e ;   d o   e c h o   \" $ i :   $ ( d a t e ) \" ;   e c h o   \" $ i :   e r r \"   > & 2   ;   i = $ ( ( i + 1 ) ) ;   s l e e p   1 ;   d o n e ' ]   T o   r u n   t h i s   p o d ,   u s e   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d e b u g / c o u n t e r - p o d - e r r . y a m l   T o   f e t c h   o n l y   t h e   s t d e r r   l o g ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/logging/",
    "id": "k8s_00170_section_3_3046"
  },
  {
    "question": "What is How nodes handle container logs?",
    "answer": "A   c o n t a i n e r   r u n t i m e   h a n d l e s   a n d   r e d i r e c t s   a n y   o u t p u t   g e n e r a t e d   t o   a   c o n t a i n e r i z e d   a p p l i c a t i o n ' s   s t d o u t   a n d   s t d e r r   s t r e a m s .   D i f f e r e n t   c o n t a i n e r   r u n t i m e s   i m p l e m e n t   t h i s   i n   d i f f e r e n t   w a y s ;   h o w e v e r ,   t h e   i n t e g r a t i o n   w i t h   t h e   k u b e l e t   i s   s t a n d a r d i z e d   a s   t h e   C R I   l o g g i n g   f o r m a t .   B y   d e f a u l t ,   i f   a   c o n t a i n e r   r e s t a r t s ,   t h e   k u b e l e t   k e e p s   o n e   t e r m i n a t e d   c o n t a i n e r   w i t h   i t s   l o g s .   I f   a   p o d   i s   e v i c t e d   f r o m   t h e   n o d e ,   a l l   c o r r e s p o n d i n g   c o n t a i n e r s   a r e   a l s o   e v i c t e d ,   a l o n g   w i t h   t h e i r   l o g s .   T h e   k u b e l e t   m a k e s   l o g s   a v a i l a b l e   t o   c l i e n t s   v i a   a   s p e c i a l   f e a t u r e   o f   t h e   K u b e r n e t e s   A P I .   T h e   u s u a l   w a y   t o   a c c e s s   t h i s   i s   b y   r u n n i n g   k u b e c t l   l o g s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/logging/",
    "id": "k8s_00170_section_3_3047"
  },
  {
    "question": "What is Log rotation?",
    "answer": "T h e   k u b e l e t   i s   r e s p o n s i b l e   f o r   r o t a t i n g   c o n t a i n e r   l o g s   a n d   m a n a g i n g   t h e   l o g g i n g   d i r e c t o r y   s t r u c t u r e .   T h e   k u b e l e t   s e n d s   t h i s   i n f o r m a t i o n   t o   t h e   c o n t a i n e r   r u n t i m e   ( u s i n g   C R I ) ,   a n d   t h e   r u n t i m e   w r i t e s   t h e   c o n t a i n e r   l o g s   t o   t h e   g i v e n   l o c a t i o n .   Y o u   c a n   c o n f i g u r e   t w o   k u b e l e t   c o n f i g u r a t i o n   s e t t i n g s ,   c o n t a i n e r L o g M a x S i z e   ( d e f a u l t   1 0 M i )   a n d   c o n t a i n e r L o g M a x F i l e s   ( d e f a u l t   5 ) ,   u s i n g   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e .   T h e s e   s e t t i n g s   l e t   y o u   c o n f i g u r e   t h e   m a x i m u m   s i z e   f o r   e a c h   l o g   f i l e   a n d   t h e   m a x i m u m   n u m b e r   o f   f i l e s   a l l o w e d   f o r   e a c h   c o n t a i n e r   r e s p e c t i v e l y .   I n   o r d e r   t o   p e r f o r m   a n   e f f i c i e n t   l o g   r o t a t i o n   i n   c l u s t e r s   w h e r e   t h e   v o l u m e   o f   t h e   l o g s   g e n e r a t e d   b y   t h e   w o r k l o a d   i s   l a r g e ,   k u b e l e t   a l s o   p r o v i d e s   a   m e c h a n i s m   t o   t u n e   h o w   t h e   l o g s   a r e   r o t a t e d   i n   t e r m s   o f   h o w   m a n y   c o n c u r r e n t   l o g   r o t a t i o n s   c a n   b e   p e r f o r m e d   a n d   t h e   i n t e r v a l   a t   w h i c h   t h e   l o g s   a r e   m o n i t o r e d   a n d   r o t a t e d   a s   r e q u i r e d .   Y o u   c a n   c o n f i g u r e   t w o   k u b e l e t   c o n f i g u r a t i o n   s e t t i n g s ,   c o n t a i n e r L o g M a x W o r k e r s   a n d   c o n t a i n e r L o g M o n i t o r I n t e r v a l   u s i n g   t h e   k u b e l e t   c ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/logging/",
    "id": "k8s_00170_section_3_3048"
  },
  {
    "question": "What is Note:?",
    "answer": "O n l y   t h e   c o n t e n t s   o f   t h e   l a t e s t   l o g   f i l e   a r e   a v a i l a b l e   t h r o u g h   k u b e c t l   l o g s .   F o r   e x a m p l e ,   i f   a   P o d   w r i t e s   4 0   M i B   o f   l o g s   a n d   t h e   k u b e l e t   r o t a t e s   l o g s   a f t e r   1 0   M i B ,   r u n n i n g   k u b e c t l   l o g s   r e t u r n s   a t   m o s t   1 0 M i B   o f   d a t a .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/logging/",
    "id": "k8s_00170_section_4_3049"
  },
  {
    "question": "What is System component logs?",
    "answer": "T h e r e   a r e   t w o   t y p e s   o f   s y s t e m   c o m p o n e n t s :   t h o s e   t h a t   t y p i c a l l y   r u n   i n   a   c o n t a i n e r ,   a n d   t h o s e   c o m p o n e n t s   d i r e c t l y   i n v o l v e d   i n   r u n n i n g   c o n t a i n e r s .   F o r   e x a m p l e :   T h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   d o   n o t   r u n   i n   c o n t a i n e r s .   T h e   k u b e l e t   r u n s   y o u r   c o n t a i n e r s   ( g r o u p e d   t o g e t h e r   i n   p o d s ) T h e   K u b e r n e t e s   s c h e d u l e r ,   c o n t r o l l e r   m a n a g e r ,   a n d   A P I   s e r v e r   r u n   w i t h i n   p o d s   ( u s u a l l y   s t a t i c   P o d s ) .   T h e   e t c d   c o m p o n e n t   r u n s   i n   t h e   c o n t r o l   p l a n e ,   a n d   m o s t   c o m m o n l y   a l s o   a s   a   s t a t i c   p o d .   I f   y o u r   c l u s t e r   u s e s   k u b e - p r o x y ,   y o u   t y p i c a l l y   r u n   t h i s   a s   a   D a e m o n S e t .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/logging/",
    "id": "k8s_00170_section_2_3050"
  },
  {
    "question": "What is Log locations?",
    "answer": "T h e   w a y   t h a t   t h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   w r i t e   l o g s   d e p e n d s   o n   t h e   o p e r a t i n g   s y s t e m   t h a t   t h e   n o d e   u s e s :   O n   L i n u x   n o d e s   t h a t   u s e   s y s t e m d ,   t h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   w r i t e   t o   j o u r n a l d   b y   d e f a u l t .   Y o u   u s e   j o u r n a l c t l   t o   r e a d   t h e   s y s t e m d   j o u r n a l ;   f o r   e x a m p l e :   j o u r n a l c t l   - u   k u b e l e t . I f   s y s t e m d   i s   n o t   p r e s e n t ,   t h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   w r i t e   t o   . l o g   f i l e s   i n   t h e   / v a r / l o g   d i r e c t o r y .   I f   y o u   w a n t   t o   h a v e   l o g s   w r i t t e n   e l s e w h e r e ,   y o u   c a n   i n d i r e c t l y   r u n   t h e   k u b e l e t   v i a   a   h e l p e r   t o o l ,   k u b e - l o g - r u n n e r ,   a n d   u s e   t h a t   t o o l   t o   r e d i r e c t   k u b e l e t   l o g s   t o   a   d i r e c t o r y   t h a t   y o u   c h o o s e . B y   d e f a u l t ,   k u b e l e t   d i r e c t s   y o u r   c o n t a i n e r   r u n t i m e   t o   w r i t e   l o g s   i n t o   d i r e c t o r i e s   w i t h i n   / v a r / l o g / p o d s . F o r   m o r e   i n f o r m a t i o n   o n   k u b e - l o g - r u n n e r ,   r e a d   S y s t e m   L o g s .   O n   L i n u x   n o d e s   t h a t   u s e   s y s t e m d ,   t h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   w r i t e   t o   j o u r n a l d   b y   d e f a u l t .   Y o u   u s e   j o u r n a l c t l   t o   r e a d   t h e   s y s t e m d   j o u r n a l ;   f o r   e x a m p l e :   j o u r n a l c t l   - u   k u b e l e t .   I f   s y s t e m d   i s   n o t   p r e s e n t ,   t h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   w r i t e   t o   ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/logging/",
    "id": "k8s_00170_section_3_3051"
  },
  {
    "question": "What is Caution:?",
    "answer": "I t ' s   i m p o r t a n t   t o   n o t e   t h a t   t h e   d e f a u l t   l o c a t i o n   / v a r / l o g / p o d s   h a s   b e e n   i n   u s e   f o r   a n   e x t e n d e d   p e r i o d   a n d   c e r t a i n   p r o c e s s e s   m i g h t   i m p l i c i t l y   a s s u m e   t h i s   p a t h .   T h e r e f o r e ,   a l t e r i n g   t h i s   p a r a m e t e r   m u s t   b e   a p p r o a c h e d   w i t h   c a u t i o n   a n d   a t   y o u r   o w n   r i s k .   A n o t h e r   c a v e a t   t o   k e e p   i n   m i n d   i s   t h a t   t h e   k u b e l e t   s u p p o r t s   t h e   l o c a t i o n   b e i n g   o n   t h e   s a m e   d i s k   a s   / v a r .   O t h e r w i s e ,   i f   t h e   l o g s   a r e   o n   a   s e p a r a t e   f i l e s y s t e m   f r o m   / v a r ,   t h e n   t h e   k u b e l e t   w i l l   n o t   t r a c k   t h a t   f i l e s y s t e m ' s   u s a g e ,   p o t e n t i a l l y   l e a d i n g   t o   i s s u e s   i f   i t   f i l l s   u p .   F o r   d e t a i l s   a b o u t   e t c d   a n d   i t s   l o g s ,   v i e w   t h e   e t c d   d o c u m e n t a t i o n .   A g a i n ,   y o u   c a n   u s e   K u b e r n e t e s '   s t o r a g e   m e c h a n i s m s   t o   m a p   p e r s i s t e n t   s t o r a g e   i n t o   t h e   c o n t a i n e r   t h a t   r u n s   t h e   c o m p o n e n t .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/logging/",
    "id": "k8s_00170_section_4_3052"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   d e p l o y   K u b e r n e t e s   c l u s t e r   c o m p o n e n t s   ( s u c h   a s   t h e   s c h e d u l e r )   t o   l o g   t o   a   v o l u m e   s h a r e d   f r o m   t h e   p a r e n t   n o d e ,   y o u   n e e d   t o   c o n s i d e r   a n d   e n s u r e   t h a t   t h o s e   l o g s   a r e   r o t a t e d .   K u b e r n e t e s   d o e s   n o t   m a n a g e   t h a t   l o g   r o t a t i o n .   Y o u r   o p e r a t i n g   s y s t e m   m a y   a u t o m a t i c a l l y   i m p l e m e n t   s o m e   l o g   r o t a t i o n   -   f o r   e x a m p l e ,   i f   y o u   s h a r e   t h e   d i r e c t o r y   / v a r / l o g   i n t o   a   s t a t i c   P o d   f o r   a   c o m p o n e n t ,   n o d e - l e v e l   l o g   r o t a t i o n   t r e a t s   a   f i l e   i n   t h a t   d i r e c t o r y   t h e   s a m e   a s   a   f i l e   w r i t t e n   b y   a n y   c o m p o n e n t   o u t s i d e   K u b e r n e t e s .   S o m e   d e p l o y   t o o l s   a c c o u n t   f o r   t h a t   l o g   r o t a t i o n   a n d   a u t o m a t e   i t ;   o t h e r s   l e a v e   t h i s   a s   y o u r   r e s p o n s i b i l i t y .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/logging/",
    "id": "k8s_00170_section_4_3053"
  },
  {
    "question": "What is Cluster-level logging architectures?",
    "answer": "W h i l e   K u b e r n e t e s   d o e s   n o t   p r o v i d e   a   n a t i v e   s o l u t i o n   f o r   c l u s t e r - l e v e l   l o g g i n g ,   t h e r e   a r e   s e v e r a l   c o m m o n   a p p r o a c h e s   y o u   c a n   c o n s i d e r .   H e r e   a r e   s o m e   o p t i o n s :   U s e   a   n o d e - l e v e l   l o g g i n g   a g e n t   t h a t   r u n s   o n   e v e r y   n o d e . I n c l u d e   a   d e d i c a t e d   s i d e c a r   c o n t a i n e r   f o r   l o g g i n g   i n   a n   a p p l i c a t i o n   p o d . P u s h   l o g s   d i r e c t l y   t o   a   b a c k e n d   f r o m   w i t h i n   a n   a p p l i c a t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/logging/",
    "id": "k8s_00170_section_2_3054"
  },
  {
    "question": "What is Using a node logging agent?",
    "answer": "Y o u   c a n   i m p l e m e n t   c l u s t e r - l e v e l   l o g g i n g   b y   i n c l u d i n g   a   n o d e - l e v e l   l o g g i n g   a g e n t   o n   e a c h   n o d e .   T h e   l o g g i n g   a g e n t   i s   a   d e d i c a t e d   t o o l   t h a t   e x p o s e s   l o g s   o r   p u s h e s   l o g s   t o   a   b a c k e n d .   C o m m o n l y ,   t h e   l o g g i n g   a g e n t   i s   a   c o n t a i n e r   t h a t   h a s   a c c e s s   t o   a   d i r e c t o r y   w i t h   l o g   f i l e s   f r o m   a l l   o f   t h e   a p p l i c a t i o n   c o n t a i n e r s   o n   t h a t   n o d e .   B e c a u s e   t h e   l o g g i n g   a g e n t   m u s t   r u n   o n   e v e r y   n o d e ,   i t   i s   r e c o m m e n d e d   t o   r u n   t h e   a g e n t   a s   a   D a e m o n S e t .   N o d e - l e v e l   l o g g i n g   c r e a t e s   o n l y   o n e   a g e n t   p e r   n o d e   a n d   d o e s n ' t   r e q u i r e   a n y   c h a n g e s   t o   t h e   a p p l i c a t i o n s   r u n n i n g   o n   t h e   n o d e .   C o n t a i n e r s   w r i t e   t o   s t d o u t   a n d   s t d e r r ,   b u t   w i t h   n o   a g r e e d   f o r m a t .   A   n o d e - l e v e l   a g e n t   c o l l e c t s   t h e s e   l o g s   a n d   f o r w a r d s   t h e m   f o r   a g g r e g a t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/logging/",
    "id": "k8s_00170_section_3_3055"
  },
  {
    "question": "What is Using a sidecar container with the logging agent?",
    "answer": "Y o u   c a n   u s e   a   s i d e c a r   c o n t a i n e r   i n   o n e   o f   t h e   f o l l o w i n g   w a y s :   T h e   s i d e c a r   c o n t a i n e r   s t r e a m s   a p p l i c a t i o n   l o g s   t o   i t s   o w n   s t d o u t . T h e   s i d e c a r   c o n t a i n e r   r u n s   a   l o g g i n g   a g e n t ,   w h i c h   i s   c o n f i g u r e d   t o   p i c k   u p   l o g s   f r o m   a n   a p p l i c a t i o n   c o n t a i n e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/logging/",
    "id": "k8s_00170_section_3_3056"
  },
  {
    "question": "What is Streaming sidecar container?",
    "answer": "B y   h a v i n g   y o u r   s i d e c a r   c o n t a i n e r s   w r i t e   t o   t h e i r   o w n   s t d o u t   a n d   s t d e r r   s t r e a m s ,   y o u   c a n   t a k e   a d v a n t a g e   o f   t h e   k u b e l e t   a n d   t h e   l o g g i n g   a g e n t   t h a t   a l r e a d y   r u n   o n   e a c h   n o d e .   T h e   s i d e c a r   c o n t a i n e r s   r e a d   l o g s   f r o m   a   f i l e ,   a   s o c k e t ,   o r   j o u r n a l d .   E a c h   s i d e c a r   c o n t a i n e r   p r i n t s   a   l o g   t o   i t s   o w n   s t d o u t   o r   s t d e r r   s t r e a m .   T h i s   a p p r o a c h   a l l o w s   y o u   t o   s e p a r a t e   s e v e r a l   l o g   s t r e a m s   f r o m   d i f f e r e n t   p a r t s   o f   y o u r   a p p l i c a t i o n ,   s o m e   o f   w h i c h   c a n   l a c k   s u p p o r t   f o r   w r i t i n g   t o   s t d o u t   o r   s t d e r r .   T h e   l o g i c   b e h i n d   r e d i r e c t i n g   l o g s   i s   m i n i m a l ,   s o   i t ' s   n o t   a   s i g n i f i c a n t   o v e r h e a d .   A d d i t i o n a l l y ,   b e c a u s e   s t d o u t   a n d   s t d e r r   a r e   h a n d l e d   b y   t h e   k u b e l e t ,   y o u   c a n   u s e   b u i l t - i n   t o o l s   l i k e   k u b e c t l   l o g s .   F o r   e x a m p l e ,   a   p o d   r u n s   a   s i n g l e   c o n t a i n e r ,   a n d   t h e   c o n t a i n e r   w r i t e s   t o   t w o   d i f f e r e n t   l o g   f i l e s   u s i n g   t w o   d i f f e r e n t   f o r m a t s .   H e r e ' s   a   m a n i f e s t   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o u n t e r   s p e c :   c o n t a i n e r s :   -   n a m e :   c o u n t   i m a g e :   b u s y b o x : 1 . 2 8   a r g s :   -   / b i n / s h   -   - c   -   >   i = 0 ;   w h i l e   t r u e ;   d o   e c h o   \" $ i :   $ ( d a t e ) \"   > >   / v a r / ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/logging/",
    "id": "k8s_00170_section_4_3057"
  },
  {
    "question": "What is Sidecar container with a logging agent?",
    "answer": "I f   t h e   n o d e - l e v e l   l o g g i n g   a g e n t   i s   n o t   f l e x i b l e   e n o u g h   f o r   y o u r   s i t u a t i o n ,   y o u   c a n   c r e a t e   a   s i d e c a r   c o n t a i n e r   w i t h   a   s e p a r a t e   l o g g i n g   a g e n t   t h a t   y o u   h a v e   c o n f i g u r e d   s p e c i f i c a l l y   t o   r u n   w i t h   y o u r   a p p l i c a t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/logging/",
    "id": "k8s_00170_section_4_3058"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e   a r e   t w o   e x a m p l e   m a n i f e s t s   t h a t   y o u   c a n   u s e   t o   i m p l e m e n t   a   s i d e c a r   c o n t a i n e r   w i t h   a   l o g g i n g   a g e n t .   T h e   f i r s t   m a n i f e s t   c o n t a i n s   a   C o n f i g M a p   t o   c o n f i g u r e   f l u e n t d .   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   f l u e n t d - c o n f i g   d a t a :   f l u e n t d . c o n f :   |   < s o u r c e >   t y p e   t a i l   f o r m a t   n o n e   p a t h   / v a r / l o g / 1 . l o g   p o s _ f i l e   / v a r / l o g / 1 . l o g . p o s   t a g   c o u n t . f o r m a t 1   < / s o u r c e >   < s o u r c e >   t y p e   t a i l   f o r m a t   n o n e   p a t h   / v a r / l o g / 2 . l o g   p o s _ f i l e   / v a r / l o g / 2 . l o g . p o s   t a g   c o u n t . f o r m a t 2   < / s o u r c e >   < m a t c h   * * >   t y p e   g o o g l e _ c l o u d   < / m a t c h >",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/logging/",
    "id": "k8s_00170_section_4_3059"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   s e c o n d   m a n i f e s t   d e s c r i b e s   a   p o d   t h a t   h a s   a   s i d e c a r   c o n t a i n e r   r u n n i n g   f l u e n t d .   T h e   p o d   m o u n t s   a   v o l u m e   w h e r e   f l u e n t d   c a n   p i c k   u p   i t s   c o n f i g u r a t i o n   d a t a .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o u n t e r   s p e c :   c o n t a i n e r s :   -   n a m e :   c o u n t   i m a g e :   b u s y b o x : 1 . 2 8   a r g s :   -   / b i n / s h   -   - c   -   >   i = 0 ;   w h i l e   t r u e ;   d o   e c h o   \" $ i :   $ ( d a t e ) \"   > >   / v a r / l o g / 1 . l o g ;   e c h o   \" $ ( d a t e )   I N F O   $ i \"   > >   / v a r / l o g / 2 . l o g ;   i = $ ( ( i + 1 ) ) ;   s l e e p   1 ;   d o n e   v o l u m e M o u n t s :   -   n a m e :   v a r l o g   m o u n t P a t h :   / v a r / l o g   -   n a m e :   c o u n t - a g e n t   i m a g e :   r e g i s t r y . k 8 s . i o / f l u e n t d - g c p : 1 . 3 0   e n v :   -   n a m e :   F L U E N T D _ A R G S   v a l u e :   - c   / e t c / f l u e n t d - c o n f i g / f l u e n t d . c o n f   v o l u m e M o u n t s :   -   n a m e :   v a r l o g   m o u n t P a t h :   / v a r / l o g   -   n a m e :   c o n f i g - v o l u m e   m o u n t P a t h :   / e t c / f l u e n t d - c o n f i g   v o l u m e s :   -   n a m e :   v a r l o g   e m p t y D i r :   { }   -   n a m e :   c o n f i g - v o l u m e   c o n f i g M a p :   n a m e :   f l u e n t d - c o n f i g",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/logging/",
    "id": "k8s_00170_section_4_3060"
  },
  {
    "question": "What is Exposing logs directly from the application?",
    "answer": "C l u s t e r - l o g g i n g   t h a t   e x p o s e s   o r   p u s h e s   l o g s   d i r e c t l y   f r o m   e v e r y   a p p l i c a t i o n   i s   o u t s i d e   t h e   s c o p e   o f   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/logging/",
    "id": "k8s_00170_section_3_3061"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   K u b e r n e t e s   s y s t e m   l o g s L e a r n   a b o u t   T r a c e s   F o r   K u b e r n e t e s   S y s t e m   C o m p o n e n t s L e a r n   h o w   t o   c u s t o m i s e   t h e   t e r m i n a t i o n   m e s s a g e   t h a t   K u b e r n e t e s   r e c o r d s   w h e n   a   P o d   f a i l s",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/logging/",
    "id": "k8s_00170_section_2_3062"
  },
  {
    "question": "What is Cluster Administration?",
    "answer": "Cluster AdministrationLower-level detail relevant to creating or administering a Kubernetes cluster.The cluster administration overview is for anyone creating or administering a Kubernetes cluster. It assumes some familiarity with core Kubernetes concepts.Planning a clusterSee the guides in Setup for examples of how to plan, set up, and configure Kubernetes clusters. The solutions listed in this article are called distros.Note:Not all distros are actively maintained. Choose distros which have been tested with a recent version of Kubernetes.Before choosing a guide, here are some considerations:Do you want to try out Kubernetes on your computer, or do you want to build a high-availability, multi-node cluster? Choose distros best suited for your needs.Will you be using a hosted Kubernetes cluster, such as Google Kubernetes Engine, or hosting your own cluster?Will your cluster be on-premises, or in the cloud (IaaS)? Kubernetes does not directly support hybrid clusters. Instead, you can set up multiple clusters.If you are configuring Kubernetes on-premises, consider which networking model fits best.Will you be running Kubernetes on \"bare metal\" hardware or on virtual machines (VMs)?Do you want to run a cluster, or do you expect to do active development of Kubernetes project code? If the latter, choose an actively-developed distro. Some distros only use binary releases, but offer a greater variety of choices.Familiarize yourself with the components needed to run a cluster.Managing a clusterLearn how to manage nodes.Read about Node autoscaling.Learn how to set up and manage the resource quota for shared clusters.Securing a clusterGenerate Certificates describes the steps to generate certificates using different tool chains.Kubernetes Container Environment describes the environment for Kubelet managed containers on a Kubernetes node.Controlling Access to the Kubernetes API describes how Kubernetes implements access control for its own API.Authenticating explains authentication in Kubernetes, including the various authentication options.Authorization is separate from authentication, and controls how HTTP calls are handled.Using Admission Controllers explains plug-ins which intercepts requests to the Kubernetes API server after authentication and authorization.Admission Webhook Good Practices provides good practices and considerations when designing mutating admission webhooks and validating admission webhooks.Using Sysctls in a Kubernetes Cluster describes to an administrator how to use the sysctl command-line tool to set kernel parameters .Auditing describes how to interact with Kubernetes' audit logs.Securing the kubeletControl Plane-Node communicationTLS bootstrappingKubelet authentication/authorizationOptional Cluster ServicesDNS Integration describes how to resolve a DNS name directly to a Kubernetes service.Logging and Monitoring Cluster Activity explains how logging in Kubernetes works and how to implement it.",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/",
    "id": "k8s_00171_qa_3063"
  },
  {
    "question": "How does Cluster Administration work?",
    "answer": "Cluster AdministrationLower-level detail relevant to creating or administering a Kubernetes cluster.The cluster administration overview is for anyone creating or administering a Kubernetes cluster. It assumes some familiarity with core Kubernetes concepts.Planning a clusterSee the guides in Setup for examples of how to plan, set up, and configure Kubernetes clusters. The solutions listed in this article are called distros.Note:Not all distros are actively maintained. Choose distros which have been tested with a recent version of Kubernetes.Before choosing a guide, here are some considerations:Do you want to try out Kubernetes on your computer, or do you want to build a high-availability, multi-node cluster? Choose distros best suited for your needs.Will you be using a hosted Kubernetes cluster, such as Google Kubernetes Engine, or hosting your own cluster?Will your cluster be on-premises, or in the cloud (IaaS)? Kubernetes does not directly support hybrid clusters. Instead, you can set up multiple clusters.If you are configuring Kubernetes on-premises, consider which networking model fits best.Will you be running Kubernetes on \"bare metal\" hardware or on virtual machines (VMs)?Do you want to run a cluster, or do you expect to do active development of Kubernetes project code? If the latter, choose an actively-developed distro. Some distros only use binary releases, but offer a greater variety of choices.Familiarize yourself with the components needed to run a cluster.Managing a clusterLearn how to manage nodes.Read about Node autoscaling.Learn how to set up and manage the resource quota for shared clusters.Securing a clusterGenerate Certificates describes the steps to generate certificates using different tool chains.Kubernetes Container Environment describes the environment for Kubelet managed containers on a Kubernetes node.Controlling Access to the Kubernetes API describes how Kubernetes implements access control for its own API.Authenticating explains authentication in Kubernetes, including the various authentication options.Authorization is separate from authentication, and controls how HTTP calls are handled.Using Admission Controllers explains plug-ins which intercepts requests to the Kubernetes API server after authentication and authorization.Admission Webhook Good Practices provides good practices and considerations when designing mutating admission webhooks and validating admission webhooks.Using Sysctls in a Kubernetes Cluster describes to an administrator how to use the sysctl command-line tool to set kernel parameters .Auditing describes how to interact with Kubernetes' audit logs.Securing the kubeletControl Plane-Node communicationTLS bootstrappingKubelet authentication/authorizationOptional Cluster ServicesDNS Integration describes how to resolve a DNS name directly to a Kubernetes service.Logging and Monitoring Cluster Activity explains how logging in Kubernetes works and how to implement it.",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/",
    "id": "k8s_00171_qa_3064"
  },
  {
    "question": "When would you use Cluster Administration?",
    "answer": "Cluster AdministrationLower-level detail relevant to creating or administering a Kubernetes cluster.The cluster administration overview is for anyone creating or administering a Kubernetes cluster. It assumes some familiarity with core Kubernetes concepts.Planning a clusterSee the guides in Setup for examples of how to plan, set up, and configure Kubernetes clusters. The solutions listed in this article are called distros.Note:Not all distros are actively maintained. Choose distros which have been tested with a recent version of Kubernetes.Before choosing a guide, here are some considerations:Do you want to try out Kubernetes on your computer, or do you want to build a high-availability, multi-node cluster? Choose distros best suited for your needs.Will you be using a hosted Kubernetes cluster, such as Google Kubernetes Engine, or hosting your own cluster?Will your cluster be on-premises, or in the cloud (IaaS)? Kubernetes does not directly support hybrid clusters. Instead, you can set up multiple clusters.If you are configuring Kubernetes on-premises, consider which networking model fits best.Will you be running Kubernetes on \"bare metal\" hardware or on virtual machines (VMs)?Do you want to run a cluster, or do you expect to do active development of Kubernetes project code? If the latter, choose an actively-developed distro. Some distros only use binary releases, but offer a greater variety of choices.Familiarize yourself with the components needed to run a cluster.Managing a clusterLearn how to manage nodes.Read about Node autoscaling.Learn how to set up and manage the resource quota for shared clusters.Securing a clusterGenerate Certificates describes the steps to generate certificates using different tool chains.Kubernetes Container Environment describes the environment for Kubelet managed containers on a Kubernetes node.Controlling Access to the Kubernetes API describes how Kubernetes implements access control for its own API.Authenticating explains authentication in Kubernetes, including the various authentication options.Authorization is separate from authentication, and controls how HTTP calls are handled.Using Admission Controllers explains plug-ins which intercepts requests to the Kubernetes API server after authentication and authorization.Admission Webhook Good Practices provides good practices and considerations when designing mutating admission webhooks and validating admission webhooks.Using Sysctls in a Kubernetes Cluster describes to an administrator how to use the sysctl command-line tool to set kernel parameters .Auditing describes how to interact with Kubernetes' audit logs.Securing the kubeletControl Plane-Node communicationTLS bootstrappingKubelet authentication/authorizationOptional Cluster ServicesDNS Integration describes how to resolve a DNS name directly to a Kubernetes service.Logging and Monitoring Cluster Activity explains how logging in Kubernetes works and how to implement it.",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/",
    "id": "k8s_00171_qa_3065"
  },
  {
    "question": "What are the benefits of Cluster Administration?",
    "answer": "Cluster AdministrationLower-level detail relevant to creating or administering a Kubernetes cluster.The cluster administration overview is for anyone creating or administering a Kubernetes cluster. It assumes some familiarity with core Kubernetes concepts.Planning a clusterSee the guides in Setup for examples of how to plan, set up, and configure Kubernetes clusters. The solutions listed in this article are called distros.Note:Not all distros are actively maintained. Choose distros which have been tested with a recent version of Kubernetes.Before choosing a guide, here are some considerations:Do you want to try out Kubernetes on your computer, or do you want to build a high-availability, multi-node cluster? Choose distros best suited for your needs.Will you be using a hosted Kubernetes cluster, such as Google Kubernetes Engine, or hosting your own cluster?Will your cluster be on-premises, or in the cloud (IaaS)? Kubernetes does not directly support hybrid clusters. Instead, you can set up multiple clusters.If you are configuring Kubernetes on-premises, consider which networking model fits best.Will you be running Kubernetes on \"bare metal\" hardware or on virtual machines (VMs)?Do you want to run a cluster, or do you expect to do active development of Kubernetes project code? If the latter, choose an actively-developed distro. Some distros only use binary releases, but offer a greater variety of choices.Familiarize yourself with the components needed to run a cluster.Managing a clusterLearn how to manage nodes.Read about Node autoscaling.Learn how to set up and manage the resource quota for shared clusters.Securing a clusterGenerate Certificates describes the steps to generate certificates using different tool chains.Kubernetes Container Environment describes the environment for Kubelet managed containers on a Kubernetes node.Controlling Access to the Kubernetes API describes how Kubernetes implements access control for its own API.Authenticating explains authentication in Kubernetes, including the various authentication options.Authorization is separate from authentication, and controls how HTTP calls are handled.Using Admission Controllers explains plug-ins which intercepts requests to the Kubernetes API server after authentication and authorization.Admission Webhook Good Practices provides good practices and considerations when designing mutating admission webhooks and validating admission webhooks.Using Sysctls in a Kubernetes Cluster describes to an administrator how to use the sysctl command-line tool to set kernel parameters .Auditing describes how to interact with Kubernetes' audit logs.Securing the kubeletControl Plane-Node communicationTLS bootstrappingKubelet authentication/authorizationOptional Cluster ServicesDNS Integration describes how to resolve a DNS name directly to a Kubernetes service.Logging and Monitoring Cluster Activity explains how logging in Kubernetes works and how to implement it.",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/",
    "id": "k8s_00171_qa_3066"
  },
  {
    "question": "What is Cluster Administration?",
    "answer": "T h e   c l u s t e r   a d m i n i s t r a t i o n   o v e r v i e w   i s   f o r   a n y o n e   c r e a t i n g   o r   a d m i n i s t e r i n g   a   K u b e r n e t e s   c l u s t e r .   I t   a s s u m e s   s o m e   f a m i l i a r i t y   w i t h   c o r e   K u b e r n e t e s   c o n c e p t s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/",
    "id": "k8s_00171_section_1_3067"
  },
  {
    "question": "What is Planning a cluster?",
    "answer": "S e e   t h e   g u i d e s   i n   S e t u p   f o r   e x a m p l e s   o f   h o w   t o   p l a n ,   s e t   u p ,   a n d   c o n f i g u r e   K u b e r n e t e s   c l u s t e r s .   T h e   s o l u t i o n s   l i s t e d   i n   t h i s   a r t i c l e   a r e   c a l l e d   d i s t r o s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/",
    "id": "k8s_00171_section_2_3068"
  },
  {
    "question": "What is Note:?",
    "answer": "B e f o r e   c h o o s i n g   a   g u i d e ,   h e r e   a r e   s o m e   c o n s i d e r a t i o n s :   D o   y o u   w a n t   t o   t r y   o u t   K u b e r n e t e s   o n   y o u r   c o m p u t e r ,   o r   d o   y o u   w a n t   t o   b u i l d   a   h i g h - a v a i l a b i l i t y ,   m u l t i - n o d e   c l u s t e r ?   C h o o s e   d i s t r o s   b e s t   s u i t e d   f o r   y o u r   n e e d s . W i l l   y o u   b e   u s i n g   a   h o s t e d   K u b e r n e t e s   c l u s t e r ,   s u c h   a s   G o o g l e   K u b e r n e t e s   E n g i n e ,   o r   h o s t i n g   y o u r   o w n   c l u s t e r ? W i l l   y o u r   c l u s t e r   b e   o n - p r e m i s e s ,   o r   i n   t h e   c l o u d   ( I a a S ) ?   K u b e r n e t e s   d o e s   n o t   d i r e c t l y   s u p p o r t   h y b r i d   c l u s t e r s .   I n s t e a d ,   y o u   c a n   s e t   u p   m u l t i p l e   c l u s t e r s . I f   y o u   a r e   c o n f i g u r i n g   K u b e r n e t e s   o n - p r e m i s e s ,   c o n s i d e r   w h i c h   n e t w o r k i n g   m o d e l   f i t s   b e s t . W i l l   y o u   b e   r u n n i n g   K u b e r n e t e s   o n   \" b a r e   m e t a l \"   h a r d w a r e   o r   o n   v i r t u a l   m a c h i n e s   ( V M s ) ? D o   y o u   w a n t   t o   r u n   a   c l u s t e r ,   o r   d o   y o u   e x p e c t   t o   d o   a c t i v e   d e v e l o p m e n t   o f   K u b e r n e t e s   p r o j e c t   c o d e ?   I f   t h e   l a t t e r ,   c h o o s e   a n   a c t i v e l y - d e v e l o p e d   d i s t r o .   S o m e   d i s t r o s   o n l y   u s e   b i n a r y   r e l e a s e s ,   b u t   o f f e r   a   g r e a t e r   v a r i e t y   o f   c h o i c e s . F a m i l i a r i z e   y o u r s e l f   w i t h   t h e   c o m p o n e n t s   n e e d e d   t o   r u n   a   c l u s t e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/",
    "id": "k8s_00171_section_4_3069"
  },
  {
    "question": "What is Managing a cluster?",
    "answer": "L e a r n   h o w   t o   m a n a g e   n o d e s . R e a d   a b o u t   N o d e   a u t o s c a l i n g . L e a r n   h o w   t o   s e t   u p   a n d   m a n a g e   t h e   r e s o u r c e   q u o t a   f o r   s h a r e d   c l u s t e r s .   L e a r n   h o w   t o   m a n a g e   n o d e s .   R e a d   a b o u t   N o d e   a u t o s c a l i n g .   L e a r n   h o w   t o   s e t   u p   a n d   m a n a g e   t h e   r e s o u r c e   q u o t a   f o r   s h a r e d   c l u s t e r s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/",
    "id": "k8s_00171_section_2_3070"
  },
  {
    "question": "What is Securing a cluster?",
    "answer": "G e n e r a t e   C e r t i f i c a t e s   d e s c r i b e s   t h e   s t e p s   t o   g e n e r a t e   c e r t i f i c a t e s   u s i n g   d i f f e r e n t   t o o l   c h a i n s . K u b e r n e t e s   C o n t a i n e r   E n v i r o n m e n t   d e s c r i b e s   t h e   e n v i r o n m e n t   f o r   K u b e l e t   m a n a g e d   c o n t a i n e r s   o n   a   K u b e r n e t e s   n o d e . C o n t r o l l i n g   A c c e s s   t o   t h e   K u b e r n e t e s   A P I   d e s c r i b e s   h o w   K u b e r n e t e s   i m p l e m e n t s   a c c e s s   c o n t r o l   f o r   i t s   o w n   A P I . A u t h e n t i c a t i n g   e x p l a i n s   a u t h e n t i c a t i o n   i n   K u b e r n e t e s ,   i n c l u d i n g   t h e   v a r i o u s   a u t h e n t i c a t i o n   o p t i o n s . A u t h o r i z a t i o n   i s   s e p a r a t e   f r o m   a u t h e n t i c a t i o n ,   a n d   c o n t r o l s   h o w   H T T P   c a l l s   a r e   h a n d l e d . U s i n g   A d m i s s i o n   C o n t r o l l e r s   e x p l a i n s   p l u g - i n s   w h i c h   i n t e r c e p t s   r e q u e s t s   t o   t h e   K u b e r n e t e s   A P I   s e r v e r   a f t e r   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n . A d m i s s i o n   W e b h o o k   G o o d   P r a c t i c e s   p r o v i d e s   g o o d   p r a c t i c e s   a n d   c o n s i d e r a t i o n s   w h e n   d e s i g n i n g   m u t a t i n g   a d m i s s i o n   w e b h o o k s   a n d   v a l i d a t i n g   a d m i s s i o n   w e b h o o k s . U s i n g   S y s c t l s   i n   a   K u b e r n e t e s   C l u s t e r   d e s c r i b e s   t o   a n   a d m i n i s t r a t o r   h o w   t o   u s e   t h e   s y s c t l   c o m m a n d - l i n e   t o o l   t o   s e t   k e r n e l   p a r a m e t e r s   . A u d i t i n g   d e s c r i b e s   h o w   t o   i n t e r a c t   w i t h   K u b e r n e t e s '   a u d i t   l o g s .   G e n e r a t e   ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/",
    "id": "k8s_00171_section_2_3071"
  },
  {
    "question": "What is Securing the kubelet?",
    "answer": "C o n t r o l   P l a n e - N o d e   c o m m u n i c a t i o n T L S   b o o t s t r a p p i n g K u b e l e t   a u t h e n t i c a t i o n / a u t h o r i z a t i o n",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/",
    "id": "k8s_00171_section_3_3072"
  },
  {
    "question": "What is Optional Cluster Services?",
    "answer": "D N S   I n t e g r a t i o n   d e s c r i b e s   h o w   t o   r e s o l v e   a   D N S   n a m e   d i r e c t l y   t o   a   K u b e r n e t e s   s e r v i c e . L o g g i n g   a n d   M o n i t o r i n g   C l u s t e r   A c t i v i t y   e x p l a i n s   h o w   l o g g i n g   i n   K u b e r n e t e s   w o r k s   a n d   h o w   t o   i m p l e m e n t   i t .   D N S   I n t e g r a t i o n   d e s c r i b e s   h o w   t o   r e s o l v e   a   D N S   n a m e   d i r e c t l y   t o   a   K u b e r n e t e s   s e r v i c e .   L o g g i n g   a n d   M o n i t o r i n g   C l u s t e r   A c t i v i t y   e x p l a i n s   h o w   l o g g i n g   i n   K u b e r n e t e s   w o r k s   a n d   h o w   t o   i m p l e m e n t   i t .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/",
    "id": "k8s_00171_section_2_3073"
  },
  {
    "question": "What is Network Policies?",
    "answer": "Network PoliciesIf you want to control traffic flow at the IP address or port level (OSI layer 3 or 4), NetworkPolicies allow you to specify rules for traffic flow within your cluster, and also between Pods and the outside world. Your cluster must use a network plugin that supports NetworkPolicy enforcement.If you want to control traffic flow at the IP address or port level for TCP, UDP, and SCTP protocols, then you might consider using Kubernetes NetworkPolicies for particular applications in your cluster. NetworkPolicies are an application-centric construct which allow you to specify how a pod is allowed to communicate with various network \"entities\" (we use the word \"entity\" here to avoid overloading the more common terms such as \"endpoints\" and \"services\", which have specific Kubernetes connotations) over the network. NetworkPolicies apply to a connection with a pod on one or both ends, and are not relevant to other connections.The entities that a Pod can communicate with are identified through a combination of the following three identifiers:Other pods that are allowed (exception: a pod cannot block access to itself)Namespaces that are allowedIP blocks (exception: traffic to and from the node where a Pod is running is always allowed, regardless of the IP address of the Pod or the node)When defining a pod- or namespace-based NetworkPolicy, you use a selector to specify what traffic is allowed to and from the Pod(s) that match the selector.Meanwhile, when IP-based NetworkPolicies are created, we define policies based on IP blocks (CIDR ranges).PrerequisitesNetwork policies are implemented by the network plugin. To use network policies, you must be using a networking solution which supports NetworkPolicy. Creating a NetworkPolicy resource without a controller that implements it will have no effect.The two sorts of pod isolationThere are two sorts of isolation for a pod: isolation for egress, and isolation for ingress. They concern what connections may be established. \"Isolation\" here is not absolute, rather it means \"some restrictions apply\". The alternative, \"non-isolated for $direction\", means that no restrictions apply in the stated direction. The two sorts of isolation (or not) are declared independently, and are both relevant for a connection from one pod to another.By default, a pod is non-isolated for egress; all outbound connections are allowed. A pod is isolated for egress if there is any NetworkPolicy that both selects the pod and has \"Egress\" in its policyTypes; we say that such a policy applies to the pod for egress. When a pod is isolated for egress, the only allowed connections from the pod are those allowed by the egress list of some NetworkPolicy that applies to the pod for egress. Reply traffic for those allowed connections will also be implicitly allowed. The effects of those egress lists combine additively.By default, a pod is non-isolated for ingress; all inbound connections are allowed. A pod is isolated for ingress if ther",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/network-policies/",
    "id": "k8s_00172_qa_3074"
  },
  {
    "question": "How does Network Policies work?",
    "answer": "Network PoliciesIf you want to control traffic flow at the IP address or port level (OSI layer 3 or 4), NetworkPolicies allow you to specify rules for traffic flow within your cluster, and also between Pods and the outside world. Your cluster must use a network plugin that supports NetworkPolicy enforcement.If you want to control traffic flow at the IP address or port level for TCP, UDP, and SCTP protocols, then you might consider using Kubernetes NetworkPolicies for particular applications in your cluster. NetworkPolicies are an application-centric construct which allow you to specify how a pod is allowed to communicate with various network \"entities\" (we use the word \"entity\" here to avoid overloading the more common terms such as \"endpoints\" and \"services\", which have specific Kubernetes connotations) over the network. NetworkPolicies apply to a connection with a pod on one or both ends, and are not relevant to other connections.The entities that a Pod can communicate with are identified through a combination of the following three identifiers:Other pods that are allowed (exception: a pod cannot block access to itself)Namespaces that are allowedIP blocks (exception: traffic to and from the node where a Pod is running is always allowed, regardless of the IP address of the Pod or the node)When defining a pod- or namespace-based NetworkPolicy, you use a selector to specify what traffic is allowed to and from the Pod(s) that match the selector.Meanwhile, when IP-based NetworkPolicies are created, we define policies based on IP blocks (CIDR ranges).PrerequisitesNetwork policies are implemented by the network plugin. To use network policies, you must be using a networking solution which supports NetworkPolicy. Creating a NetworkPolicy resource without a controller that implements it will have no effect.The two sorts of pod isolationThere are two sorts of isolation for a pod: isolation for egress, and isolation for ingress. They concern what connections may be established. \"Isolation\" here is not absolute, rather it means \"some restrictions apply\". The alternative, \"non-isolated for $direction\", means that no restrictions apply in the stated direction. The two sorts of isolation (or not) are declared independently, and are both relevant for a connection from one pod to another.By default, a pod is non-isolated for egress; all outbound connections are allowed. A pod is isolated for egress if there is any NetworkPolicy that both selects the pod and has \"Egress\" in its policyTypes; we say that such a policy applies to the pod for egress. When a pod is isolated for egress, the only allowed connections from the pod are those allowed by the egress list of some NetworkPolicy that applies to the pod for egress. Reply traffic for those allowed connections will also be implicitly allowed. The effects of those egress lists combine additively.By default, a pod is non-isolated for ingress; all inbound connections are allowed. A pod is isolated for ingress if ther",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/network-policies/",
    "id": "k8s_00172_qa_3075"
  },
  {
    "question": "When would you use Network Policies?",
    "answer": "Network PoliciesIf you want to control traffic flow at the IP address or port level (OSI layer 3 or 4), NetworkPolicies allow you to specify rules for traffic flow within your cluster, and also between Pods and the outside world. Your cluster must use a network plugin that supports NetworkPolicy enforcement.If you want to control traffic flow at the IP address or port level for TCP, UDP, and SCTP protocols, then you might consider using Kubernetes NetworkPolicies for particular applications in your cluster. NetworkPolicies are an application-centric construct which allow you to specify how a pod is allowed to communicate with various network \"entities\" (we use the word \"entity\" here to avoid overloading the more common terms such as \"endpoints\" and \"services\", which have specific Kubernetes connotations) over the network. NetworkPolicies apply to a connection with a pod on one or both ends, and are not relevant to other connections.The entities that a Pod can communicate with are identified through a combination of the following three identifiers:Other pods that are allowed (exception: a pod cannot block access to itself)Namespaces that are allowedIP blocks (exception: traffic to and from the node where a Pod is running is always allowed, regardless of the IP address of the Pod or the node)When defining a pod- or namespace-based NetworkPolicy, you use a selector to specify what traffic is allowed to and from the Pod(s) that match the selector.Meanwhile, when IP-based NetworkPolicies are created, we define policies based on IP blocks (CIDR ranges).PrerequisitesNetwork policies are implemented by the network plugin. To use network policies, you must be using a networking solution which supports NetworkPolicy. Creating a NetworkPolicy resource without a controller that implements it will have no effect.The two sorts of pod isolationThere are two sorts of isolation for a pod: isolation for egress, and isolation for ingress. They concern what connections may be established. \"Isolation\" here is not absolute, rather it means \"some restrictions apply\". The alternative, \"non-isolated for $direction\", means that no restrictions apply in the stated direction. The two sorts of isolation (or not) are declared independently, and are both relevant for a connection from one pod to another.By default, a pod is non-isolated for egress; all outbound connections are allowed. A pod is isolated for egress if there is any NetworkPolicy that both selects the pod and has \"Egress\" in its policyTypes; we say that such a policy applies to the pod for egress. When a pod is isolated for egress, the only allowed connections from the pod are those allowed by the egress list of some NetworkPolicy that applies to the pod for egress. Reply traffic for those allowed connections will also be implicitly allowed. The effects of those egress lists combine additively.By default, a pod is non-isolated for ingress; all inbound connections are allowed. A pod is isolated for ingress if ther",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/network-policies/",
    "id": "k8s_00172_qa_3076"
  },
  {
    "question": "What are the benefits of Network Policies?",
    "answer": "Network PoliciesIf you want to control traffic flow at the IP address or port level (OSI layer 3 or 4), NetworkPolicies allow you to specify rules for traffic flow within your cluster, and also between Pods and the outside world. Your cluster must use a network plugin that supports NetworkPolicy enforcement.If you want to control traffic flow at the IP address or port level for TCP, UDP, and SCTP protocols, then you might consider using Kubernetes NetworkPolicies for particular applications in your cluster. NetworkPolicies are an application-centric construct which allow you to specify how a pod is allowed to communicate with various network \"entities\" (we use the word \"entity\" here to avoid overloading the more common terms such as \"endpoints\" and \"services\", which have specific Kubernetes connotations) over the network. NetworkPolicies apply to a connection with a pod on one or both ends, and are not relevant to other connections.The entities that a Pod can communicate with are identified through a combination of the following three identifiers:Other pods that are allowed (exception: a pod cannot block access to itself)Namespaces that are allowedIP blocks (exception: traffic to and from the node where a Pod is running is always allowed, regardless of the IP address of the Pod or the node)When defining a pod- or namespace-based NetworkPolicy, you use a selector to specify what traffic is allowed to and from the Pod(s) that match the selector.Meanwhile, when IP-based NetworkPolicies are created, we define policies based on IP blocks (CIDR ranges).PrerequisitesNetwork policies are implemented by the network plugin. To use network policies, you must be using a networking solution which supports NetworkPolicy. Creating a NetworkPolicy resource without a controller that implements it will have no effect.The two sorts of pod isolationThere are two sorts of isolation for a pod: isolation for egress, and isolation for ingress. They concern what connections may be established. \"Isolation\" here is not absolute, rather it means \"some restrictions apply\". The alternative, \"non-isolated for $direction\", means that no restrictions apply in the stated direction. The two sorts of isolation (or not) are declared independently, and are both relevant for a connection from one pod to another.By default, a pod is non-isolated for egress; all outbound connections are allowed. A pod is isolated for egress if there is any NetworkPolicy that both selects the pod and has \"Egress\" in its policyTypes; we say that such a policy applies to the pod for egress. When a pod is isolated for egress, the only allowed connections from the pod are those allowed by the egress list of some NetworkPolicy that applies to the pod for egress. Reply traffic for those allowed connections will also be implicitly allowed. The effects of those egress lists combine additively.By default, a pod is non-isolated for ingress; all inbound connections are allowed. A pod is isolated for ingress if ther",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/network-policies/",
    "id": "k8s_00172_qa_3077"
  },
  {
    "question": "What is Network Policies?",
    "answer": "I f   y o u   w a n t   t o   c o n t r o l   t r a f f i c   f l o w   a t   t h e   I P   a d d r e s s   o r   p o r t   l e v e l   f o r   T C P ,   U D P ,   a n d   S C T P   p r o t o c o l s ,   t h e n   y o u   m i g h t   c o n s i d e r   u s i n g   K u b e r n e t e s   N e t w o r k P o l i c i e s   f o r   p a r t i c u l a r   a p p l i c a t i o n s   i n   y o u r   c l u s t e r .   N e t w o r k P o l i c i e s   a r e   a n   a p p l i c a t i o n - c e n t r i c   c o n s t r u c t   w h i c h   a l l o w   y o u   t o   s p e c i f y   h o w   a   p o d   i s   a l l o w e d   t o   c o m m u n i c a t e   w i t h   v a r i o u s   n e t w o r k   \" e n t i t i e s \"   ( w e   u s e   t h e   w o r d   \" e n t i t y \"   h e r e   t o   a v o i d   o v e r l o a d i n g   t h e   m o r e   c o m m o n   t e r m s   s u c h   a s   \" e n d p o i n t s \"   a n d   \" s e r v i c e s \" ,   w h i c h   h a v e   s p e c i f i c   K u b e r n e t e s   c o n n o t a t i o n s )   o v e r   t h e   n e t w o r k .   N e t w o r k P o l i c i e s   a p p l y   t o   a   c o n n e c t i o n   w i t h   a   p o d   o n   o n e   o r   b o t h   e n d s ,   a n d   a r e   n o t   r e l e v a n t   t o   o t h e r   c o n n e c t i o n s .   T h e   e n t i t i e s   t h a t   a   P o d   c a n   c o m m u n i c a t e   w i t h   a r e   i d e n t i f i e d   t h r o u g h   a   c o m b i n a t i o n   o f   t h e   f o l l o w i n g   t h r e e   i d e n t i f i e r s :   O t h e r   p o d s   t h a t   a r e   a l l o w e d   ( e x c e p t i o n :   a   p o d   c a n n o t   b l o c k   a c c e s s   t o   i t s e l f ) N a m e s p a c e s   t h a t   a r e   a l l o w e d I P   b l o c k s   ( e x c e p t i o n :   t r a f f i c   t o   a n d   f r o m   t h e   n o d e   w h e r e   a   P o d   i s   r u n n i n g   i s   a l w a y s   a l l o w e d ,   r e g a r d l e s s   o f   t h e   I P   a d d r e s s   o f   t h e   P o d   o r   t h e   n ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/network-policies/",
    "id": "k8s_00172_section_1_3078"
  },
  {
    "question": "What is Prerequisites?",
    "answer": "N e t w o r k   p o l i c i e s   a r e   i m p l e m e n t e d   b y   t h e   n e t w o r k   p l u g i n .   T o   u s e   n e t w o r k   p o l i c i e s ,   y o u   m u s t   b e   u s i n g   a   n e t w o r k i n g   s o l u t i o n   w h i c h   s u p p o r t s   N e t w o r k P o l i c y .   C r e a t i n g   a   N e t w o r k P o l i c y   r e s o u r c e   w i t h o u t   a   c o n t r o l l e r   t h a t   i m p l e m e n t s   i t   w i l l   h a v e   n o   e f f e c t .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/network-policies/",
    "id": "k8s_00172_section_2_3079"
  },
  {
    "question": "What is The two sorts of pod isolation?",
    "answer": "T h e r e   a r e   t w o   s o r t s   o f   i s o l a t i o n   f o r   a   p o d :   i s o l a t i o n   f o r   e g r e s s ,   a n d   i s o l a t i o n   f o r   i n g r e s s .   T h e y   c o n c e r n   w h a t   c o n n e c t i o n s   m a y   b e   e s t a b l i s h e d .   \" I s o l a t i o n \"   h e r e   i s   n o t   a b s o l u t e ,   r a t h e r   i t   m e a n s   \" s o m e   r e s t r i c t i o n s   a p p l y \" .   T h e   a l t e r n a t i v e ,   \" n o n - i s o l a t e d   f o r   $ d i r e c t i o n \" ,   m e a n s   t h a t   n o   r e s t r i c t i o n s   a p p l y   i n   t h e   s t a t e d   d i r e c t i o n .   T h e   t w o   s o r t s   o f   i s o l a t i o n   ( o r   n o t )   a r e   d e c l a r e d   i n d e p e n d e n t l y ,   a n d   a r e   b o t h   r e l e v a n t   f o r   a   c o n n e c t i o n   f r o m   o n e   p o d   t o   a n o t h e r .   B y   d e f a u l t ,   a   p o d   i s   n o n - i s o l a t e d   f o r   e g r e s s ;   a l l   o u t b o u n d   c o n n e c t i o n s   a r e   a l l o w e d .   A   p o d   i s   i s o l a t e d   f o r   e g r e s s   i f   t h e r e   i s   a n y   N e t w o r k P o l i c y   t h a t   b o t h   s e l e c t s   t h e   p o d   a n d   h a s   \" E g r e s s \"   i n   i t s   p o l i c y T y p e s ;   w e   s a y   t h a t   s u c h   a   p o l i c y   a p p l i e s   t o   t h e   p o d   f o r   e g r e s s .   W h e n   a   p o d   i s   i s o l a t e d   f o r   e g r e s s ,   t h e   o n l y   a l l o w e d   c o n n e c t i o n s   f r o m   t h e   p o d   a r e   t h o s e   a l l o w e d   b y   t h e   e g r e s s   l i s t   o f   s o m e   N e t w o r k P o l i c y   t h a t   a p p l i e s   t o   t h e   p o d   f o r   e g r e s s .   R e p l y   t r a f f i c   f o r   t h o s e   a l l o w e d   c o n n e c t i o n s   w i l l   a l s o   b e   i m p l i c i t l y   a l l o w e d .   T h e   e f f e c t s   o f   t h o s e   e g r e s s   l i s t s   ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/network-policies/",
    "id": "k8s_00172_section_2_3080"
  },
  {
    "question": "What is The NetworkPolicy resource?",
    "answer": "S e e   t h e   N e t w o r k P o l i c y   r e f e r e n c e   f o r   a   f u l l   d e f i n i t i o n   o f   t h e   r e s o u r c e .   A n   e x a m p l e   N e t w o r k P o l i c y   m i g h t   l o o k   l i k e   t h i s :   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a :   n a m e :   t e s t - n e t w o r k - p o l i c y   n a m e s p a c e :   d e f a u l t   s p e c :   p o d S e l e c t o r :   m a t c h L a b e l s :   r o l e :   d b   p o l i c y T y p e s :   -   I n g r e s s   -   E g r e s s   i n g r e s s :   -   f r o m :   -   i p B l o c k :   c i d r :   1 7 2 . 1 7 . 0 . 0 / 1 6   e x c e p t :   -   1 7 2 . 1 7 . 1 . 0 / 2 4   -   n a m e s p a c e S e l e c t o r :   m a t c h L a b e l s :   p r o j e c t :   m y p r o j e c t   -   p o d S e l e c t o r :   m a t c h L a b e l s :   r o l e :   f r o n t e n d   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   6 3 7 9   e g r e s s :   -   t o :   -   i p B l o c k :   c i d r :   1 0 . 0 . 0 . 0 / 2 4   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   5 9 7 8",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/network-policies/",
    "id": "k8s_00172_section_2_3081"
  },
  {
    "question": "What is Note:?",
    "answer": "M a n d a t o r y   F i e l d s :   A s   w i t h   a l l   o t h e r   K u b e r n e t e s   c o n f i g ,   a   N e t w o r k P o l i c y   n e e d s   a p i V e r s i o n ,   k i n d ,   a n d   m e t a d a t a   f i e l d s .   F o r   g e n e r a l   i n f o r m a t i o n   a b o u t   w o r k i n g   w i t h   c o n f i g   f i l e s ,   s e e   C o n f i g u r e   a   P o d   t o   U s e   a   C o n f i g M a p ,   a n d   O b j e c t   M a n a g e m e n t .   s p e c :   N e t w o r k P o l i c y   s p e c   h a s   a l l   t h e   i n f o r m a t i o n   n e e d e d   t o   d e f i n e   a   p a r t i c u l a r   n e t w o r k   p o l i c y   i n   t h e   g i v e n   n a m e s p a c e .   p o d S e l e c t o r :   E a c h   N e t w o r k P o l i c y   i n c l u d e s   a   p o d S e l e c t o r   w h i c h   s e l e c t s   t h e   g r o u p i n g   o f   p o d s   t o   w h i c h   t h e   p o l i c y   a p p l i e s .   T h e   e x a m p l e   p o l i c y   s e l e c t s   p o d s   w i t h   t h e   l a b e l   \" r o l e = d b \" .   A n   e m p t y   p o d S e l e c t o r   s e l e c t s   a l l   p o d s   i n   t h e   n a m e s p a c e .   p o l i c y T y p e s :   E a c h   N e t w o r k P o l i c y   i n c l u d e s   a   p o l i c y T y p e s   l i s t   w h i c h   m a y   i n c l u d e   e i t h e r   I n g r e s s ,   E g r e s s ,   o r   b o t h .   T h e   p o l i c y T y p e s   f i e l d   i n d i c a t e s   w h e t h e r   o r   n o t   t h e   g i v e n   p o l i c y   a p p l i e s   t o   i n g r e s s   t r a f f i c   t o   s e l e c t e d   p o d ,   e g r e s s   t r a f f i c   f r o m   s e l e c t e d   p o d s ,   o r   b o t h .   I f   n o   p o l i c y T y p e s   a r e   s p e c i f i e d   o n   a   N e t w o r k P o l i c y   t h e n   b y   d e f a u l t   I n g r e s s   w i l l   a l w a y s   b e   s e t   a n d   E g r e s s   w i l l   b e   s e t   i f   t h e   N e t w o r k P o l i c y   h a s   a n y   e g r e ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/network-policies/",
    "id": "k8s_00172_section_4_3082"
  },
  {
    "question": "What is Behavior of to and from selectors?",
    "answer": "T h e r e   a r e   f o u r   k i n d s   o f   s e l e c t o r s   t h a t   c a n   b e   s p e c i f i e d   i n   a n   i n g r e s s   f r o m   s e c t i o n   o r   e g r e s s   t o   s e c t i o n :   p o d S e l e c t o r :   T h i s   s e l e c t s   p a r t i c u l a r   P o d s   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   N e t w o r k P o l i c y   w h i c h   s h o u l d   b e   a l l o w e d   a s   i n g r e s s   s o u r c e s   o r   e g r e s s   d e s t i n a t i o n s .   n a m e s p a c e S e l e c t o r :   T h i s   s e l e c t s   p a r t i c u l a r   n a m e s p a c e s   f o r   w h i c h   a l l   P o d s   s h o u l d   b e   a l l o w e d   a s   i n g r e s s   s o u r c e s   o r   e g r e s s   d e s t i n a t i o n s .   n a m e s p a c e S e l e c t o r   a n d   p o d S e l e c t o r :   A   s i n g l e   t o / f r o m   e n t r y   t h a t   s p e c i f i e s   b o t h   n a m e s p a c e S e l e c t o r   a n d   p o d S e l e c t o r   s e l e c t s   p a r t i c u l a r   P o d s   w i t h i n   p a r t i c u l a r   n a m e s p a c e s .   B e   c a r e f u l   t o   u s e   c o r r e c t   Y A M L   s y n t a x .   F o r   e x a m p l e :   . . .   i n g r e s s :   -   f r o m :   -   n a m e s p a c e S e l e c t o r :   m a t c h L a b e l s :   u s e r :   a l i c e   p o d S e l e c t o r :   m a t c h L a b e l s :   r o l e :   c l i e n t   . . .   T h i s   p o l i c y   c o n t a i n s   a   s i n g l e   f r o m   e l e m e n t   a l l o w i n g   c o n n e c t i o n s   f r o m   P o d s   w i t h   t h e   l a b e l   r o l e = c l i e n t   i n   n a m e s p a c e s   w i t h   t h e   l a b e l   u s e r = a l i c e .   B u t   t h e   f o l l o w i n g   p o l i c y   i s   d i f f e r e n t :   . . .   i n g r e s s :   -   f r o m :   -   n a m e s p a c e S e l e c t o r :   m a t c h L a b e l s :   u s e r :   a l i c e   -   p o d S e l e c t o r :   m a t c h L a b e l s :   r o l e : ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/network-policies/",
    "id": "k8s_00172_section_2_3083"
  },
  {
    "question": "What is Default policies?",
    "answer": "B y   d e f a u l t ,   i f   n o   p o l i c i e s   e x i s t   i n   a   n a m e s p a c e ,   t h e n   a l l   i n g r e s s   a n d   e g r e s s   t r a f f i c   i s   a l l o w e d   t o   a n d   f r o m   p o d s   i n   t h a t   n a m e s p a c e .   T h e   f o l l o w i n g   e x a m p l e s   l e t   y o u   c h a n g e   t h e   d e f a u l t   b e h a v i o r   i n   t h a t   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/network-policies/",
    "id": "k8s_00172_section_2_3084"
  },
  {
    "question": "What is Default deny all ingress traffic?",
    "answer": "Y o u   c a n   c r e a t e   a   \" d e f a u l t \"   i n g r e s s   i s o l a t i o n   p o l i c y   f o r   a   n a m e s p a c e   b y   c r e a t i n g   a   N e t w o r k P o l i c y   t h a t   s e l e c t s   a l l   p o d s   b u t   d o e s   n o t   a l l o w   a n y   i n g r e s s   t r a f f i c   t o   t h o s e   p o d s .   - - -   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a :   n a m e :   d e f a u l t - d e n y - i n g r e s s   s p e c :   p o d S e l e c t o r :   { }   p o l i c y T y p e s :   -   I n g r e s s   T h i s   e n s u r e s   t h a t   e v e n   p o d s   t h a t   a r e n ' t   s e l e c t e d   b y   a n y   o t h e r   N e t w o r k P o l i c y   w i l l   s t i l l   b e   i s o l a t e d   f o r   i n g r e s s .   T h i s   p o l i c y   d o e s   n o t   a f f e c t   i s o l a t i o n   f o r   e g r e s s   f r o m   a n y   p o d .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/network-policies/",
    "id": "k8s_00172_section_3_3085"
  },
  {
    "question": "What is Allow all ingress traffic?",
    "answer": "I f   y o u   w a n t   t o   a l l o w   a l l   i n c o m i n g   c o n n e c t i o n s   t o   a l l   p o d s   i n   a   n a m e s p a c e ,   y o u   c a n   c r e a t e   a   p o l i c y   t h a t   e x p l i c i t l y   a l l o w s   t h a t .   - - -   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a :   n a m e :   a l l o w - a l l - i n g r e s s   s p e c :   p o d S e l e c t o r :   { }   i n g r e s s :   -   { }   p o l i c y T y p e s :   -   I n g r e s s   W i t h   t h i s   p o l i c y   i n   p l a c e ,   n o   a d d i t i o n a l   p o l i c y   o r   p o l i c i e s   c a n   c a u s e   a n y   i n c o m i n g   c o n n e c t i o n   t o   t h o s e   p o d s   t o   b e   d e n i e d .   T h i s   p o l i c y   h a s   n o   e f f e c t   o n   i s o l a t i o n   f o r   e g r e s s   f r o m   a n y   p o d .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/network-policies/",
    "id": "k8s_00172_section_3_3086"
  },
  {
    "question": "What is Default deny all egress traffic?",
    "answer": "Y o u   c a n   c r e a t e   a   \" d e f a u l t \"   e g r e s s   i s o l a t i o n   p o l i c y   f o r   a   n a m e s p a c e   b y   c r e a t i n g   a   N e t w o r k P o l i c y   t h a t   s e l e c t s   a l l   p o d s   b u t   d o e s   n o t   a l l o w   a n y   e g r e s s   t r a f f i c   f r o m   t h o s e   p o d s .   - - -   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a :   n a m e :   d e f a u l t - d e n y - e g r e s s   s p e c :   p o d S e l e c t o r :   { }   p o l i c y T y p e s :   -   E g r e s s   T h i s   e n s u r e s   t h a t   e v e n   p o d s   t h a t   a r e n ' t   s e l e c t e d   b y   a n y   o t h e r   N e t w o r k P o l i c y   w i l l   n o t   b e   a l l o w e d   e g r e s s   t r a f f i c .   T h i s   p o l i c y   d o e s   n o t   c h a n g e   t h e   i n g r e s s   i s o l a t i o n   b e h a v i o r   o f   a n y   p o d .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/network-policies/",
    "id": "k8s_00172_section_3_3087"
  },
  {
    "question": "What is Allow all egress traffic?",
    "answer": "I f   y o u   w a n t   t o   a l l o w   a l l   c o n n e c t i o n s   f r o m   a l l   p o d s   i n   a   n a m e s p a c e ,   y o u   c a n   c r e a t e   a   p o l i c y   t h a t   e x p l i c i t l y   a l l o w s   a l l   o u t g o i n g   c o n n e c t i o n s   f r o m   p o d s   i n   t h a t   n a m e s p a c e .   - - -   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a :   n a m e :   a l l o w - a l l - e g r e s s   s p e c :   p o d S e l e c t o r :   { }   e g r e s s :   -   { }   p o l i c y T y p e s :   -   E g r e s s   W i t h   t h i s   p o l i c y   i n   p l a c e ,   n o   a d d i t i o n a l   p o l i c y   o r   p o l i c i e s   c a n   c a u s e   a n y   o u t g o i n g   c o n n e c t i o n   f r o m   t h o s e   p o d s   t o   b e   d e n i e d .   T h i s   p o l i c y   h a s   n o   e f f e c t   o n   i s o l a t i o n   f o r   i n g r e s s   t o   a n y   p o d .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/network-policies/",
    "id": "k8s_00172_section_3_3088"
  },
  {
    "question": "What is Default deny all ingress and all egress traffic?",
    "answer": "Y o u   c a n   c r e a t e   a   \" d e f a u l t \"   p o l i c y   f o r   a   n a m e s p a c e   w h i c h   p r e v e n t s   a l l   i n g r e s s   A N D   e g r e s s   t r a f f i c   b y   c r e a t i n g   t h e   f o l l o w i n g   N e t w o r k P o l i c y   i n   t h a t   n a m e s p a c e .   - - -   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a :   n a m e :   d e f a u l t - d e n y - a l l   s p e c :   p o d S e l e c t o r :   { }   p o l i c y T y p e s :   -   I n g r e s s   -   E g r e s s   T h i s   e n s u r e s   t h a t   e v e n   p o d s   t h a t   a r e n ' t   s e l e c t e d   b y   a n y   o t h e r   N e t w o r k P o l i c y   w i l l   n o t   b e   a l l o w e d   i n g r e s s   o r   e g r e s s   t r a f f i c .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/network-policies/",
    "id": "k8s_00172_section_3_3089"
  },
  {
    "question": "What is Network traffic filtering?",
    "answer": "N e t w o r k P o l i c y   i s   d e f i n e d   f o r   l a y e r   4   c o n n e c t i o n s   ( T C P ,   U D P ,   a n d   o p t i o n a l l y   S C T P ) .   F o r   a l l   t h e   o t h e r   p r o t o c o l s ,   t h e   b e h a v i o u r   m a y   v a r y   a c r o s s   n e t w o r k   p l u g i n s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/network-policies/",
    "id": "k8s_00172_section_2_3090"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   a   d e n y   a l l   n e t w o r k   p o l i c y   i s   d e f i n e d ,   i t   i s   o n l y   g u a r a n t e e d   t o   d e n y   T C P ,   U D P   a n d   S C T P   c o n n e c t i o n s .   F o r   o t h e r   p r o t o c o l s ,   s u c h   a s   A R P   o r   I C M P ,   t h e   b e h a v i o u r   i s   u n d e f i n e d .   T h e   s a m e   a p p l i e s   t o   a l l o w   r u l e s :   w h e n   a   s p e c i f i c   p o d   i s   a l l o w e d   a s   i n g r e s s   s o u r c e   o r   e g r e s s   d e s t i n a t i o n ,   i t   i s   u n d e f i n e d   w h a t   h a p p e n s   w i t h   ( f o r   e x a m p l e )   I C M P   p a c k e t s .   P r o t o c o l s   s u c h   a s   I C M P   m a y   b e   a l l o w e d   b y   s o m e   n e t w o r k   p l u g i n s   a n d   d e n i e d   b y   o t h e r s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/network-policies/",
    "id": "k8s_00172_section_4_3091"
  },
  {
    "question": "What is Targeting a range of ports?",
    "answer": "W h e n   w r i t i n g   a   N e t w o r k P o l i c y ,   y o u   c a n   t a r g e t   a   r a n g e   o f   p o r t s   i n s t e a d   o f   a   s i n g l e   p o r t .   T h i s   i s   a c h i e v a b l e   w i t h   t h e   u s a g e   o f   t h e   e n d P o r t   f i e l d ,   a s   t h e   f o l l o w i n g   e x a m p l e :   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a :   n a m e :   m u l t i - p o r t - e g r e s s   n a m e s p a c e :   d e f a u l t   s p e c :   p o d S e l e c t o r :   m a t c h L a b e l s :   r o l e :   d b   p o l i c y T y p e s :   -   E g r e s s   e g r e s s :   -   t o :   -   i p B l o c k :   c i d r :   1 0 . 0 . 0 . 0 / 2 4   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   3 2 0 0 0   e n d P o r t :   3 2 7 6 8   T h e   a b o v e   r u l e   a l l o w s   a n y   P o d   w i t h   l a b e l   r o l e = d b   o n   t h e   n a m e s p a c e   d e f a u l t   t o   c o m m u n i c a t e   w i t h   a n y   I P   w i t h i n   t h e   r a n g e   1 0 . 0 . 0 . 0 / 2 4   o v e r   T C P ,   p r o v i d e d   t h a t   t h e   t a r g e t   p o r t   i s   b e t w e e n   t h e   r a n g e   3 2 0 0 0   a n d   3 2 7 6 8 .   T h e   f o l l o w i n g   r e s t r i c t i o n s   a p p l y   w h e n   u s i n g   t h i s   f i e l d :   T h e   e n d P o r t   f i e l d   m u s t   b e   e q u a l   t o   o r   g r e a t e r   t h a n   t h e   p o r t   f i e l d . e n d P o r t   c a n   o n l y   b e   d e f i n e d   i f   p o r t   i s   a l s o   d e f i n e d . B o t h   p o r t s   m u s t   b e   n u m e r i c .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/network-policies/",
    "id": "k8s_00172_section_2_3092"
  },
  {
    "question": "What is Targeting multiple namespaces by label?",
    "answer": "I n   t h i s   s c e n a r i o ,   y o u r   E g r e s s   N e t w o r k P o l i c y   t a r g e t s   m o r e   t h a n   o n e   n a m e s p a c e   u s i n g   t h e i r   l a b e l   n a m e s .   F o r   t h i s   t o   w o r k ,   y o u   n e e d   t o   l a b e l   t h e   t a r g e t   n a m e s p a c e s .   F o r   e x a m p l e :   k u b e c t l   l a b e l   n a m e s p a c e   f r o n t e n d   n a m e s p a c e = f r o n t e n d   k u b e c t l   l a b e l   n a m e s p a c e   b a c k e n d   n a m e s p a c e = b a c k e n d   A d d   t h e   l a b e l s   u n d e r   n a m e s p a c e S e l e c t o r   i n   y o u r   N e t w o r k P o l i c y   d o c u m e n t .   F o r   e x a m p l e :   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a :   n a m e :   e g r e s s - n a m e s p a c e s   s p e c :   p o d S e l e c t o r :   m a t c h L a b e l s :   a p p :   m y a p p   p o l i c y T y p e s :   -   E g r e s s   e g r e s s :   -   t o :   -   n a m e s p a c e S e l e c t o r :   m a t c h E x p r e s s i o n s :   -   k e y :   n a m e s p a c e   o p e r a t o r :   I n   v a l u e s :   [ \" f r o n t e n d \" ,   \" b a c k e n d \" ]",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/network-policies/",
    "id": "k8s_00172_section_2_3093"
  },
  {
    "question": "What is Targeting a Namespace by its name?",
    "answer": "T h e   K u b e r n e t e s   c o n t r o l   p l a n e   s e t s   a n   i m m u t a b l e   l a b e l   k u b e r n e t e s . i o / m e t a d a t a . n a m e   o n   a l l   n a m e s p a c e s ,   t h e   v a l u e   o f   t h e   l a b e l   i s   t h e   n a m e s p a c e   n a m e .   W h i l e   N e t w o r k P o l i c y   c a n n o t   t a r g e t   a   n a m e s p a c e   b y   i t s   n a m e   w i t h   s o m e   o b j e c t   f i e l d ,   y o u   c a n   u s e   t h e   s t a n d a r d i z e d   l a b e l   t o   t a r g e t   a   s p e c i f i c   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/network-policies/",
    "id": "k8s_00172_section_2_3094"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   a   n e w   N e t w o r k P o l i c y   o b j e c t   i s   c r e a t e d ,   i t   m a y   t a k e   s o m e   t i m e   f o r   a   n e t w o r k   p l u g i n   t o   h a n d l e   t h e   n e w   o b j e c t .   I f   a   p o d   t h a t   i s   a f f e c t e d   b y   a   N e t w o r k P o l i c y   i s   c r e a t e d   b e f o r e   t h e   n e t w o r k   p l u g i n   h a s   c o m p l e t e d   N e t w o r k P o l i c y   h a n d l i n g ,   t h a t   p o d   m a y   b e   s t a r t e d   u n p r o t e c t e d ,   a n d   i s o l a t i o n   r u l e s   w i l l   b e   a p p l i e d   w h e n   t h e   N e t w o r k P o l i c y   h a n d l i n g   i s   c o m p l e t e d .   O n c e   t h e   N e t w o r k P o l i c y   i s   h a n d l e d   b y   a   n e t w o r k   p l u g i n ,   A l l   n e w l y   c r e a t e d   p o d s   a f f e c t e d   b y   a   g i v e n   N e t w o r k P o l i c y   w i l l   b e   i s o l a t e d   b e f o r e   t h e y   a r e   s t a r t e d .   I m p l e m e n t a t i o n s   o f   N e t w o r k P o l i c y   m u s t   e n s u r e   t h a t   f i l t e r i n g   i s   e f f e c t i v e   t h r o u g h o u t   t h e   P o d   l i f e c y c l e ,   e v e n   f r o m   t h e   v e r y   f i r s t   i n s t a n t   t h a t   a n y   c o n t a i n e r   i n   t h a t   P o d   i s   s t a r t e d .   B e c a u s e   t h e y   a r e   a p p l i e d   a t   P o d   l e v e l ,   N e t w o r k P o l i c i e s   a p p l y   e q u a l l y   t o   i n i t   c o n t a i n e r s ,   s i d e c a r   c o n t a i n e r s ,   a n d   r e g u l a r   c o n t a i n e r s . A l l o w   r u l e s   w i l l   b e   a p p l i e d   e v e n t u a l l y   a f t e r   t h e   i s o l a t i o n   r u l e s   ( o r   m a y   b e   a p p l i e d   a t   t h e   s a m e   t i m e ) .   I n   t h e   w o r s t   c a s e ,   a   n e w l y   c r e a t e d   p o d   m a y   h a v e   n o   n e t w o r k   c o n n e c t i v i t y   a t   a l l   w ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/network-policies/",
    "id": "k8s_00172_section_4_3095"
  },
  {
    "question": "What is NetworkPolicy and hostNetwork pods?",
    "answer": "N e t w o r k P o l i c y   b e h a v i o u r   f o r   h o s t N e t w o r k   p o d s   i s   u n d e f i n e d ,   b u t   i t   s h o u l d   b e   l i m i t e d   t o   2   p o s s i b i l i t i e s :   T h e   n e t w o r k   p l u g i n   c a n   d i s t i n g u i s h   h o s t N e t w o r k   p o d   t r a f f i c   f r o m   a l l   o t h e r   t r a f f i c   ( i n c l u d i n g   b e i n g   a b l e   t o   d i s t i n g u i s h   t r a f f i c   f r o m   d i f f e r e n t   h o s t N e t w o r k   p o d s   o n   t h e   s a m e   n o d e ) ,   a n d   w i l l   a p p l y   N e t w o r k P o l i c y   t o   h o s t N e t w o r k   p o d s   j u s t   l i k e   i t   d o e s   t o   p o d - n e t w o r k   p o d s . T h e   n e t w o r k   p l u g i n   c a n n o t   p r o p e r l y   d i s t i n g u i s h   h o s t N e t w o r k   p o d   t r a f f i c ,   a n d   s o   i t   i g n o r e s   h o s t N e t w o r k   p o d s   w h e n   m a t c h i n g   p o d S e l e c t o r   a n d   n a m e s p a c e S e l e c t o r .   T r a f f i c   t o / f r o m   h o s t N e t w o r k   p o d s   i s   t r e a t e d   t h e   s a m e   a s   a l l   o t h e r   t r a f f i c   t o / f r o m   t h e   n o d e   I P .   ( T h i s   i s   t h e   m o s t   c o m m o n   i m p l e m e n t a t i o n . )   T h i s   a p p l i e s   w h e n   a   h o s t N e t w o r k   p o d   i s   s e l e c t e d   b y   s p e c . p o d S e l e c t o r .   . . .   s p e c :   p o d S e l e c t o r :   m a t c h L a b e l s :   r o l e :   c l i e n t   . . .   a   h o s t N e t w o r k   p o d   i s   s e l e c t e d   b y   a   p o d S e l e c t o r   o r   n a m e s p a c e S e l e c t o r   i n   a n   i n g r e s s   o r   e g r e s s   r u l e .   . . .   i n g r e s s :   -   f r o m :   -   p o d S e l e c t o r :   m a t c h L a b e l s :   r o l e :   c l i e n t   . . .   a   h o s t N e t w o r k   p o d   i s   s e l e c t e d   b y   s p e c . p o d S e l e c t o r .   . ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/network-policies/",
    "id": "k8s_00172_section_2_3096"
  },
  {
    "question": "What is What you can't do with network policies (at least, not yet)?",
    "answer": "A s   o f   K u b e r n e t e s   1 . 3 4 ,   t h e   f o l l o w i n g   f u n c t i o n a l i t y   d o e s   n o t   e x i s t   i n   t h e   N e t w o r k P o l i c y   A P I ,   b u t   y o u   m i g h t   b e   a b l e   t o   i m p l e m e n t   w o r k a r o u n d s   u s i n g   O p e r a t i n g   S y s t e m   c o m p o n e n t s   ( s u c h   a s   S E L i n u x ,   O p e n V S w i t c h ,   I P T a b l e s ,   a n d   s o   o n )   o r   L a y e r   7   t e c h n o l o g i e s   ( I n g r e s s   c o n t r o l l e r s ,   S e r v i c e   M e s h   i m p l e m e n t a t i o n s )   o r   a d m i s s i o n   c o n t r o l l e r s .   I n   c a s e   y o u   a r e   n e w   t o   n e t w o r k   s e c u r i t y   i n   K u b e r n e t e s ,   i t s   w o r t h   n o t i n g   t h a t   t h e   f o l l o w i n g   U s e r   S t o r i e s   c a n n o t   ( y e t )   b e   i m p l e m e n t e d   u s i n g   t h e   N e t w o r k P o l i c y   A P I .   F o r c i n g   i n t e r n a l   c l u s t e r   t r a f f i c   t o   g o   t h r o u g h   a   c o m m o n   g a t e w a y   ( t h i s   m i g h t   b e   b e s t   s e r v e d   w i t h   a   s e r v i c e   m e s h   o r   o t h e r   p r o x y ) . A n y t h i n g   T L S   r e l a t e d   ( u s e   a   s e r v i c e   m e s h   o r   i n g r e s s   c o n t r o l l e r   f o r   t h i s ) . N o d e   s p e c i f i c   p o l i c i e s   ( y o u   c a n   u s e   C I D R   n o t a t i o n   f o r   t h e s e ,   b u t   y o u   c a n n o t   t a r g e t   n o d e s   b y   t h e i r   K u b e r n e t e s   i d e n t i t i e s   s p e c i f i c a l l y ) . T a r g e t i n g   o f   s e r v i c e s   b y   n a m e   ( y o u   c a n ,   h o w e v e r ,   t a r g e t   p o d s   o r   n a m e s p a c e s   b y   t h e i r   l a b e l s ,   w h i c h   i s   o f t e n   a   v i a b l e   w o r k a r o u n d ) . C r e a t i o n   o r   m a n a g e m e n t   o f   \" P o l i c y   r e q u e s t s \"   t h a t   a ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/network-policies/",
    "id": "k8s_00172_section_2_3097"
  },
  {
    "question": "What is NetworkPolicy's impact on existing connections?",
    "answer": "W h e n   t h e   s e t   o f   N e t w o r k P o l i c i e s   t h a t   a p p l i e s   t o   a n   e x i s t i n g   c o n n e c t i o n   c h a n g e s   -   t h i s   c o u l d   h a p p e n   e i t h e r   d u e   t o   a   c h a n g e   i n   N e t w o r k P o l i c i e s   o r   i f   t h e   r e l e v a n t   l a b e l s   o f   t h e   n a m e s p a c e s / p o d s   s e l e c t e d   b y   t h e   p o l i c y   ( b o t h   s u b j e c t   a n d   p e e r s )   a r e   c h a n g e d   i n   t h e   m i d d l e   o f   a n   e x i s t i n g   c o n n e c t i o n   -   i t   i s   i m p l e m e n t a t i o n   d e f i n e d   a s   t o   w h e t h e r   t h e   c h a n g e   w i l l   t a k e   e f f e c t   f o r   t h a t   e x i s t i n g   c o n n e c t i o n   o r   n o t .   E x a m p l e :   A   p o l i c y   i s   c r e a t e d   t h a t   l e a d s   t o   d e n y i n g   a   p r e v i o u s l y   a l l o w e d   c o n n e c t i o n ,   t h e   u n d e r l y i n g   n e t w o r k   p l u g i n   i m p l e m e n t a t i o n   i s   r e s p o n s i b l e   f o r   d e f i n i n g   i f   t h a t   n e w   p o l i c y   w i l l   c l o s e   t h e   e x i s t i n g   c o n n e c t i o n s   o r   n o t .   I t   i s   r e c o m m e n d e d   n o t   t o   m o d i f y   p o l i c i e s / p o d s / n a m e s p a c e s   i n   w a y s   t h a t   m i g h t   a f f e c t   e x i s t i n g   c o n n e c t i o n s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/network-policies/",
    "id": "k8s_00172_section_2_3098"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   t h e   D e c l a r e   N e t w o r k   P o l i c y   w a l k t h r o u g h   f o r   f u r t h e r   e x a m p l e s . S e e   m o r e   r e c i p e s   f o r   c o m m o n   s c e n a r i o s   e n a b l e d   b y   t h e   N e t w o r k P o l i c y   r e s o u r c e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/network-policies/",
    "id": "k8s_00172_section_2_3099"
  },
  {
    "question": "What is Using Node Authorization?",
    "answer": "Using Node AuthorizationNode authorization is a special-purpose authorization mode that specifically authorizes API requests made by kubelets.OverviewThe Node authorizer allows a kubelet to perform API operations. This includes:Read operations:servicesendpointsnodespodssecrets, configmaps, persistent volume claims and persistent volumes related to pods bound to the kubelet's nodeFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)Kubelets are limited to reading their own Node objects, and only reading pods bound to their node.Write operations:nodes and node status (enable the NodeRestriction admission plugin to limit a kubelet to modify its own node)pods and pod status (enable the NodeRestriction admission plugin to limit a kubelet to modify pods bound to itself)eventsAuth-related operations:read/write access to the CertificateSigningRequests API for TLS bootstrappingthe ability to create TokenReviews and SubjectAccessReviews for delegated authentication/authorization checksIn future releases, the node authorizer may add or remove permissions to ensure kubelets have the minimal set of permissions required to operate correctly.In order to be authorized by the Node authorizer, kubelets must use a credential that identifies them as being in the system:nodes group, with a username of system:node:<nodeName>. This group and user name format match the identity created for each kubelet as part of kubelet TLS bootstrapping.The value of <nodeName> must match precisely the name of the node as registered by the kubelet. By default, this is the host name as provided by hostname, or overridden via the kubelet option --hostname-override. However, when using the --cloud-provider kubelet option, the specific hostname may be determined by the cloud provider, ignoring the local hostname and the --hostname-override option. For specifics about how the kubelet determines the hostname, see the kubelet options reference.To enable the Node authorizer, start the API server with the --authorization-config flag set to a file that includes the Node authorizer; for example:apiVersion: apiserver.config.k8s.io/v1 kind: AuthorizationConfiguration authorizers: ... - type: Node ... Or, start the API server with the --authorization-mode flag set to a comma-separated list that includes Node; for example:kube-apiserver --authorization-mode=...,Node --other-options --more-options To limit the API objects kubelets are able to write, enable the NodeRestriction admission plugin by starting the apiserver with --enable-admission-plugins=...,NodeRestriction,...Migration considerationsKubelets outside the system:nodes groupKubelets outside the system:nodes group would not be authorized by the Node authorization mode, and would need to continue to be authorized via whatever mechanism currently authorizes them. The node admission plugin would not restrict requests from these kubelets.Kubelets with undifferentiated usernamesIn some deployments, kubelets have credentials that plac",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/node/",
    "id": "k8s_00173_qa_3100"
  },
  {
    "question": "How does Using Node Authorization work?",
    "answer": "Using Node AuthorizationNode authorization is a special-purpose authorization mode that specifically authorizes API requests made by kubelets.OverviewThe Node authorizer allows a kubelet to perform API operations. This includes:Read operations:servicesendpointsnodespodssecrets, configmaps, persistent volume claims and persistent volumes related to pods bound to the kubelet's nodeFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)Kubelets are limited to reading their own Node objects, and only reading pods bound to their node.Write operations:nodes and node status (enable the NodeRestriction admission plugin to limit a kubelet to modify its own node)pods and pod status (enable the NodeRestriction admission plugin to limit a kubelet to modify pods bound to itself)eventsAuth-related operations:read/write access to the CertificateSigningRequests API for TLS bootstrappingthe ability to create TokenReviews and SubjectAccessReviews for delegated authentication/authorization checksIn future releases, the node authorizer may add or remove permissions to ensure kubelets have the minimal set of permissions required to operate correctly.In order to be authorized by the Node authorizer, kubelets must use a credential that identifies them as being in the system:nodes group, with a username of system:node:<nodeName>. This group and user name format match the identity created for each kubelet as part of kubelet TLS bootstrapping.The value of <nodeName> must match precisely the name of the node as registered by the kubelet. By default, this is the host name as provided by hostname, or overridden via the kubelet option --hostname-override. However, when using the --cloud-provider kubelet option, the specific hostname may be determined by the cloud provider, ignoring the local hostname and the --hostname-override option. For specifics about how the kubelet determines the hostname, see the kubelet options reference.To enable the Node authorizer, start the API server with the --authorization-config flag set to a file that includes the Node authorizer; for example:apiVersion: apiserver.config.k8s.io/v1 kind: AuthorizationConfiguration authorizers: ... - type: Node ... Or, start the API server with the --authorization-mode flag set to a comma-separated list that includes Node; for example:kube-apiserver --authorization-mode=...,Node --other-options --more-options To limit the API objects kubelets are able to write, enable the NodeRestriction admission plugin by starting the apiserver with --enable-admission-plugins=...,NodeRestriction,...Migration considerationsKubelets outside the system:nodes groupKubelets outside the system:nodes group would not be authorized by the Node authorization mode, and would need to continue to be authorized via whatever mechanism currently authorizes them. The node admission plugin would not restrict requests from these kubelets.Kubelets with undifferentiated usernamesIn some deployments, kubelets have credentials that plac",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/node/",
    "id": "k8s_00173_qa_3101"
  },
  {
    "question": "When would you use Using Node Authorization?",
    "answer": "Using Node AuthorizationNode authorization is a special-purpose authorization mode that specifically authorizes API requests made by kubelets.OverviewThe Node authorizer allows a kubelet to perform API operations. This includes:Read operations:servicesendpointsnodespodssecrets, configmaps, persistent volume claims and persistent volumes related to pods bound to the kubelet's nodeFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)Kubelets are limited to reading their own Node objects, and only reading pods bound to their node.Write operations:nodes and node status (enable the NodeRestriction admission plugin to limit a kubelet to modify its own node)pods and pod status (enable the NodeRestriction admission plugin to limit a kubelet to modify pods bound to itself)eventsAuth-related operations:read/write access to the CertificateSigningRequests API for TLS bootstrappingthe ability to create TokenReviews and SubjectAccessReviews for delegated authentication/authorization checksIn future releases, the node authorizer may add or remove permissions to ensure kubelets have the minimal set of permissions required to operate correctly.In order to be authorized by the Node authorizer, kubelets must use a credential that identifies them as being in the system:nodes group, with a username of system:node:<nodeName>. This group and user name format match the identity created for each kubelet as part of kubelet TLS bootstrapping.The value of <nodeName> must match precisely the name of the node as registered by the kubelet. By default, this is the host name as provided by hostname, or overridden via the kubelet option --hostname-override. However, when using the --cloud-provider kubelet option, the specific hostname may be determined by the cloud provider, ignoring the local hostname and the --hostname-override option. For specifics about how the kubelet determines the hostname, see the kubelet options reference.To enable the Node authorizer, start the API server with the --authorization-config flag set to a file that includes the Node authorizer; for example:apiVersion: apiserver.config.k8s.io/v1 kind: AuthorizationConfiguration authorizers: ... - type: Node ... Or, start the API server with the --authorization-mode flag set to a comma-separated list that includes Node; for example:kube-apiserver --authorization-mode=...,Node --other-options --more-options To limit the API objects kubelets are able to write, enable the NodeRestriction admission plugin by starting the apiserver with --enable-admission-plugins=...,NodeRestriction,...Migration considerationsKubelets outside the system:nodes groupKubelets outside the system:nodes group would not be authorized by the Node authorization mode, and would need to continue to be authorized via whatever mechanism currently authorizes them. The node admission plugin would not restrict requests from these kubelets.Kubelets with undifferentiated usernamesIn some deployments, kubelets have credentials that plac",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/node/",
    "id": "k8s_00173_qa_3102"
  },
  {
    "question": "What are the benefits of Using Node Authorization?",
    "answer": "Using Node AuthorizationNode authorization is a special-purpose authorization mode that specifically authorizes API requests made by kubelets.OverviewThe Node authorizer allows a kubelet to perform API operations. This includes:Read operations:servicesendpointsnodespodssecrets, configmaps, persistent volume claims and persistent volumes related to pods bound to the kubelet's nodeFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)Kubelets are limited to reading their own Node objects, and only reading pods bound to their node.Write operations:nodes and node status (enable the NodeRestriction admission plugin to limit a kubelet to modify its own node)pods and pod status (enable the NodeRestriction admission plugin to limit a kubelet to modify pods bound to itself)eventsAuth-related operations:read/write access to the CertificateSigningRequests API for TLS bootstrappingthe ability to create TokenReviews and SubjectAccessReviews for delegated authentication/authorization checksIn future releases, the node authorizer may add or remove permissions to ensure kubelets have the minimal set of permissions required to operate correctly.In order to be authorized by the Node authorizer, kubelets must use a credential that identifies them as being in the system:nodes group, with a username of system:node:<nodeName>. This group and user name format match the identity created for each kubelet as part of kubelet TLS bootstrapping.The value of <nodeName> must match precisely the name of the node as registered by the kubelet. By default, this is the host name as provided by hostname, or overridden via the kubelet option --hostname-override. However, when using the --cloud-provider kubelet option, the specific hostname may be determined by the cloud provider, ignoring the local hostname and the --hostname-override option. For specifics about how the kubelet determines the hostname, see the kubelet options reference.To enable the Node authorizer, start the API server with the --authorization-config flag set to a file that includes the Node authorizer; for example:apiVersion: apiserver.config.k8s.io/v1 kind: AuthorizationConfiguration authorizers: ... - type: Node ... Or, start the API server with the --authorization-mode flag set to a comma-separated list that includes Node; for example:kube-apiserver --authorization-mode=...,Node --other-options --more-options To limit the API objects kubelets are able to write, enable the NodeRestriction admission plugin by starting the apiserver with --enable-admission-plugins=...,NodeRestriction,...Migration considerationsKubelets outside the system:nodes groupKubelets outside the system:nodes group would not be authorized by the Node authorization mode, and would need to continue to be authorized via whatever mechanism currently authorizes them. The node admission plugin would not restrict requests from these kubelets.Kubelets with undifferentiated usernamesIn some deployments, kubelets have credentials that plac",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/node/",
    "id": "k8s_00173_qa_3103"
  },
  {
    "question": "What is Using Node Authorization?",
    "answer": "N o d e   a u t h o r i z a t i o n   i s   a   s p e c i a l - p u r p o s e   a u t h o r i z a t i o n   m o d e   t h a t   s p e c i f i c a l l y   a u t h o r i z e s   A P I   r e q u e s t s   m a d e   b y   k u b e l e t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/node/",
    "id": "k8s_00173_section_1_3104"
  },
  {
    "question": "What is Overview?",
    "answer": "T h e   N o d e   a u t h o r i z e r   a l l o w s   a   k u b e l e t   t o   p e r f o r m   A P I   o p e r a t i o n s .   T h i s   i n c l u d e s :   R e a d   o p e r a t i o n s :   s e r v i c e s e n d p o i n t s n o d e s p o d s s e c r e t s ,   c o n f i g m a p s ,   p e r s i s t e n t   v o l u m e   c l a i m s   a n d   p e r s i s t e n t   v o l u m e s   r e l a t e d   t o   p o d s   b o u n d   t o   t h e   k u b e l e t ' s   n o d e   K u b e l e t s   a r e   l i m i t e d   t o   r e a d i n g   t h e i r   o w n   N o d e   o b j e c t s ,   a n d   o n l y   r e a d i n g   p o d s   b o u n d   t o   t h e i r   n o d e .   W r i t e   o p e r a t i o n s :   n o d e s   a n d   n o d e   s t a t u s   ( e n a b l e   t h e   N o d e R e s t r i c t i o n   a d m i s s i o n   p l u g i n   t o   l i m i t   a   k u b e l e t   t o   m o d i f y   i t s   o w n   n o d e ) p o d s   a n d   p o d   s t a t u s   ( e n a b l e   t h e   N o d e R e s t r i c t i o n   a d m i s s i o n   p l u g i n   t o   l i m i t   a   k u b e l e t   t o   m o d i f y   p o d s   b o u n d   t o   i t s e l f ) e v e n t s   A u t h - r e l a t e d   o p e r a t i o n s :   r e a d / w r i t e   a c c e s s   t o   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t s   A P I   f o r   T L S   b o o t s t r a p p i n g t h e   a b i l i t y   t o   c r e a t e   T o k e n R e v i e w s   a n d   S u b j e c t A c c e s s R e v i e w s   f o r   d e l e g a t e d   a u t h e n t i c a t i o n / a u t h o r i z a t i o n   c h e c k s   I n   f u t u r e   r e l e a s e s ,   t h e   n o d e   a u t h o r i z e r   m a y   a d d   o r   r e m o v e   p e r m i s s i o n s   t o   e n s u r e   k u b e l e t s   h a v e   t h e   m i n i m a l   s e t   o f   p e r m i s s i o n s   r e q u i r e d   t o   o p e r a t e   c o r r e c t l y .   I n   o r d e r   t o   b e   a u t h o r i z e d   b y   t h e   N o d e   a u t h o r i z e r , ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/node/",
    "id": "k8s_00173_section_2_3105"
  },
  {
    "question": "What is Kubelets outside the system:nodes group?",
    "answer": "K u b e l e t s   o u t s i d e   t h e   s y s t e m : n o d e s   g r o u p   w o u l d   n o t   b e   a u t h o r i z e d   b y   t h e   N o d e   a u t h o r i z a t i o n   m o d e ,   a n d   w o u l d   n e e d   t o   c o n t i n u e   t o   b e   a u t h o r i z e d   v i a   w h a t e v e r   m e c h a n i s m   c u r r e n t l y   a u t h o r i z e s   t h e m .   T h e   n o d e   a d m i s s i o n   p l u g i n   w o u l d   n o t   r e s t r i c t   r e q u e s t s   f r o m   t h e s e   k u b e l e t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/node/",
    "id": "k8s_00173_section_3_3106"
  },
  {
    "question": "What is Kubelets with undifferentiated usernames?",
    "answer": "I n   s o m e   d e p l o y m e n t s ,   k u b e l e t s   h a v e   c r e d e n t i a l s   t h a t   p l a c e   t h e m   i n   t h e   s y s t e m : n o d e s   g r o u p ,   b u t   d o   n o t   i d e n t i f y   t h e   p a r t i c u l a r   n o d e   t h e y   a r e   a s s o c i a t e d   w i t h ,   b e c a u s e   t h e y   d o   n o t   h a v e   a   u s e r n a m e   i n   t h e   s y s t e m : n o d e : . . .   f o r m a t .   T h e s e   k u b e l e t s   w o u l d   n o t   b e   a u t h o r i z e d   b y   t h e   N o d e   a u t h o r i z a t i o n   m o d e ,   a n d   w o u l d   n e e d   t o   c o n t i n u e   t o   b e   a u t h o r i z e d   v i a   w h a t e v e r   m e c h a n i s m   c u r r e n t l y   a u t h o r i z e s   t h e m .   T h e   N o d e R e s t r i c t i o n   a d m i s s i o n   p l u g i n   w o u l d   i g n o r e   r e q u e s t s   f r o m   t h e s e   k u b e l e t s ,   s i n c e   t h e   d e f a u l t   n o d e   i d e n t i f i e r   i m p l e m e n t a t i o n   w o u l d   n o t   c o n s i d e r   t h a t   a   n o d e   i d e n t i t y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/node/",
    "id": "k8s_00173_section_3_3107"
  },
  {
    "question": "What is Generating Reference Documentation for the Kubernetes API?",
    "answer": "Generating Reference Documentation for the Kubernetes APIThis page shows how to update the Kubernetes API reference documentation.The Kubernetes API reference documentation is built from the Kubernetes OpenAPI spec using the kubernetes-sigs/reference-docs generation code.If you find bugs in the generated documentation, you need to fix them upstream.If you need only to regenerate the reference documentation from the OpenAPI spec, continue reading this page.Before you beginRequirements:You need a machine that is running Linux or macOS.You need to have these tools installed:Python v3.7.x+GitGolang version 1.13+Pip used to install PyYAMLPyYAML v5.1.2makegcc compiler/linkerDocker (Required only for kubectl command reference)Your PATH environment variable must include the required build tools, such as the Go binary and python.You need to know how to create a pull request to a GitHub repository. This involves creating your own fork of the repository. For more information, see Work from a local clone.Set up the local repositoriesCreate a local workspace and set your GOPATH:mkdir -p $HOME/<workspace> export GOPATH=$HOME/<workspace> Get a local clone of the following repositories:go get -u github.com/kubernetes-sigs/reference-docs go get -u github.com/go-openapi/loads go get -u github.com/go-openapi/spec If you don't already have the kubernetes/website repository, get it now:git clone https://github.com/<your-username>/website $GOPATH/src/github.com/<your-username>/website Get a clone of the kubernetes/kubernetes repository as k8s.io/kubernetes:git clone https://github.com/kubernetes/kubernetes $GOPATH/src/k8s.io/kubernetes The base directory of your clone of the kubernetes/kubernetes repository is $GOPATH/src/k8s.io/kubernetes. The remaining steps refer to your base directory as <k8s-base>.The base directory of your clone of the kubernetes/website repository is $GOPATH/src/github.com/<your username>/website. The remaining steps refer to your base directory as <web-base>.The base directory of your clone of the kubernetes-sigs/reference-docs repository is $GOPATH/src/github.com/kubernetes-sigs/reference-docs. The remaining steps refer to your base directory as <rdocs-base>.Generate the API reference docsThis section shows how to generate the published Kubernetes API reference documentation.Set build variablesSet K8S_ROOT to <k8s-base>.Set K8S_WEBROOT to <web-base>.Set K8S_RELEASE to the version of the docs you want to build. For example, if you want to build docs for Kubernetes 1.17.0, set K8S_RELEASE to 1.17.0.For example:export K8S_WEBROOT=${GOPATH}/src/github.com/<your-username>/website export K8S_ROOT=${GOPATH}/src/k8s.io/kubernetes export K8S_RELEASE=1.17.0 Create versioned directory and fetch Open API specThe updateapispec build target creates the versioned build directory. After the directory is created, the Open API spec is fetched from the <k8s-base> repository. These steps ensure that the version of the configuration files and Kubernetes Open API ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubernetes-api/",
    "id": "k8s_00174_qa_3108"
  },
  {
    "question": "How does Generating Reference Documentation for the Kubernetes API work?",
    "answer": "Generating Reference Documentation for the Kubernetes APIThis page shows how to update the Kubernetes API reference documentation.The Kubernetes API reference documentation is built from the Kubernetes OpenAPI spec using the kubernetes-sigs/reference-docs generation code.If you find bugs in the generated documentation, you need to fix them upstream.If you need only to regenerate the reference documentation from the OpenAPI spec, continue reading this page.Before you beginRequirements:You need a machine that is running Linux or macOS.You need to have these tools installed:Python v3.7.x+GitGolang version 1.13+Pip used to install PyYAMLPyYAML v5.1.2makegcc compiler/linkerDocker (Required only for kubectl command reference)Your PATH environment variable must include the required build tools, such as the Go binary and python.You need to know how to create a pull request to a GitHub repository. This involves creating your own fork of the repository. For more information, see Work from a local clone.Set up the local repositoriesCreate a local workspace and set your GOPATH:mkdir -p $HOME/<workspace> export GOPATH=$HOME/<workspace> Get a local clone of the following repositories:go get -u github.com/kubernetes-sigs/reference-docs go get -u github.com/go-openapi/loads go get -u github.com/go-openapi/spec If you don't already have the kubernetes/website repository, get it now:git clone https://github.com/<your-username>/website $GOPATH/src/github.com/<your-username>/website Get a clone of the kubernetes/kubernetes repository as k8s.io/kubernetes:git clone https://github.com/kubernetes/kubernetes $GOPATH/src/k8s.io/kubernetes The base directory of your clone of the kubernetes/kubernetes repository is $GOPATH/src/k8s.io/kubernetes. The remaining steps refer to your base directory as <k8s-base>.The base directory of your clone of the kubernetes/website repository is $GOPATH/src/github.com/<your username>/website. The remaining steps refer to your base directory as <web-base>.The base directory of your clone of the kubernetes-sigs/reference-docs repository is $GOPATH/src/github.com/kubernetes-sigs/reference-docs. The remaining steps refer to your base directory as <rdocs-base>.Generate the API reference docsThis section shows how to generate the published Kubernetes API reference documentation.Set build variablesSet K8S_ROOT to <k8s-base>.Set K8S_WEBROOT to <web-base>.Set K8S_RELEASE to the version of the docs you want to build. For example, if you want to build docs for Kubernetes 1.17.0, set K8S_RELEASE to 1.17.0.For example:export K8S_WEBROOT=${GOPATH}/src/github.com/<your-username>/website export K8S_ROOT=${GOPATH}/src/k8s.io/kubernetes export K8S_RELEASE=1.17.0 Create versioned directory and fetch Open API specThe updateapispec build target creates the versioned build directory. After the directory is created, the Open API spec is fetched from the <k8s-base> repository. These steps ensure that the version of the configuration files and Kubernetes Open API ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubernetes-api/",
    "id": "k8s_00174_qa_3109"
  },
  {
    "question": "When would you use Generating Reference Documentation for the Kubernetes API?",
    "answer": "Generating Reference Documentation for the Kubernetes APIThis page shows how to update the Kubernetes API reference documentation.The Kubernetes API reference documentation is built from the Kubernetes OpenAPI spec using the kubernetes-sigs/reference-docs generation code.If you find bugs in the generated documentation, you need to fix them upstream.If you need only to regenerate the reference documentation from the OpenAPI spec, continue reading this page.Before you beginRequirements:You need a machine that is running Linux or macOS.You need to have these tools installed:Python v3.7.x+GitGolang version 1.13+Pip used to install PyYAMLPyYAML v5.1.2makegcc compiler/linkerDocker (Required only for kubectl command reference)Your PATH environment variable must include the required build tools, such as the Go binary and python.You need to know how to create a pull request to a GitHub repository. This involves creating your own fork of the repository. For more information, see Work from a local clone.Set up the local repositoriesCreate a local workspace and set your GOPATH:mkdir -p $HOME/<workspace> export GOPATH=$HOME/<workspace> Get a local clone of the following repositories:go get -u github.com/kubernetes-sigs/reference-docs go get -u github.com/go-openapi/loads go get -u github.com/go-openapi/spec If you don't already have the kubernetes/website repository, get it now:git clone https://github.com/<your-username>/website $GOPATH/src/github.com/<your-username>/website Get a clone of the kubernetes/kubernetes repository as k8s.io/kubernetes:git clone https://github.com/kubernetes/kubernetes $GOPATH/src/k8s.io/kubernetes The base directory of your clone of the kubernetes/kubernetes repository is $GOPATH/src/k8s.io/kubernetes. The remaining steps refer to your base directory as <k8s-base>.The base directory of your clone of the kubernetes/website repository is $GOPATH/src/github.com/<your username>/website. The remaining steps refer to your base directory as <web-base>.The base directory of your clone of the kubernetes-sigs/reference-docs repository is $GOPATH/src/github.com/kubernetes-sigs/reference-docs. The remaining steps refer to your base directory as <rdocs-base>.Generate the API reference docsThis section shows how to generate the published Kubernetes API reference documentation.Set build variablesSet K8S_ROOT to <k8s-base>.Set K8S_WEBROOT to <web-base>.Set K8S_RELEASE to the version of the docs you want to build. For example, if you want to build docs for Kubernetes 1.17.0, set K8S_RELEASE to 1.17.0.For example:export K8S_WEBROOT=${GOPATH}/src/github.com/<your-username>/website export K8S_ROOT=${GOPATH}/src/k8s.io/kubernetes export K8S_RELEASE=1.17.0 Create versioned directory and fetch Open API specThe updateapispec build target creates the versioned build directory. After the directory is created, the Open API spec is fetched from the <k8s-base> repository. These steps ensure that the version of the configuration files and Kubernetes Open API ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubernetes-api/",
    "id": "k8s_00174_qa_3110"
  },
  {
    "question": "What are the benefits of Generating Reference Documentation for the Kubernetes API?",
    "answer": "Generating Reference Documentation for the Kubernetes APIThis page shows how to update the Kubernetes API reference documentation.The Kubernetes API reference documentation is built from the Kubernetes OpenAPI spec using the kubernetes-sigs/reference-docs generation code.If you find bugs in the generated documentation, you need to fix them upstream.If you need only to regenerate the reference documentation from the OpenAPI spec, continue reading this page.Before you beginRequirements:You need a machine that is running Linux or macOS.You need to have these tools installed:Python v3.7.x+GitGolang version 1.13+Pip used to install PyYAMLPyYAML v5.1.2makegcc compiler/linkerDocker (Required only for kubectl command reference)Your PATH environment variable must include the required build tools, such as the Go binary and python.You need to know how to create a pull request to a GitHub repository. This involves creating your own fork of the repository. For more information, see Work from a local clone.Set up the local repositoriesCreate a local workspace and set your GOPATH:mkdir -p $HOME/<workspace> export GOPATH=$HOME/<workspace> Get a local clone of the following repositories:go get -u github.com/kubernetes-sigs/reference-docs go get -u github.com/go-openapi/loads go get -u github.com/go-openapi/spec If you don't already have the kubernetes/website repository, get it now:git clone https://github.com/<your-username>/website $GOPATH/src/github.com/<your-username>/website Get a clone of the kubernetes/kubernetes repository as k8s.io/kubernetes:git clone https://github.com/kubernetes/kubernetes $GOPATH/src/k8s.io/kubernetes The base directory of your clone of the kubernetes/kubernetes repository is $GOPATH/src/k8s.io/kubernetes. The remaining steps refer to your base directory as <k8s-base>.The base directory of your clone of the kubernetes/website repository is $GOPATH/src/github.com/<your username>/website. The remaining steps refer to your base directory as <web-base>.The base directory of your clone of the kubernetes-sigs/reference-docs repository is $GOPATH/src/github.com/kubernetes-sigs/reference-docs. The remaining steps refer to your base directory as <rdocs-base>.Generate the API reference docsThis section shows how to generate the published Kubernetes API reference documentation.Set build variablesSet K8S_ROOT to <k8s-base>.Set K8S_WEBROOT to <web-base>.Set K8S_RELEASE to the version of the docs you want to build. For example, if you want to build docs for Kubernetes 1.17.0, set K8S_RELEASE to 1.17.0.For example:export K8S_WEBROOT=${GOPATH}/src/github.com/<your-username>/website export K8S_ROOT=${GOPATH}/src/k8s.io/kubernetes export K8S_RELEASE=1.17.0 Create versioned directory and fetch Open API specThe updateapispec build target creates the versioned build directory. After the directory is created, the Open API spec is fetched from the <k8s-base> repository. These steps ensure that the version of the configuration files and Kubernetes Open API ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubernetes-api/",
    "id": "k8s_00174_qa_3111"
  },
  {
    "question": "What is Generating Reference Documentation for the Kubernetes API?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u p d a t e   t h e   K u b e r n e t e s   A P I   r e f e r e n c e   d o c u m e n t a t i o n .   T h e   K u b e r n e t e s   A P I   r e f e r e n c e   d o c u m e n t a t i o n   i s   b u i l t   f r o m   t h e   K u b e r n e t e s   O p e n A P I   s p e c   u s i n g   t h e   k u b e r n e t e s - s i g s / r e f e r e n c e - d o c s   g e n e r a t i o n   c o d e .   I f   y o u   f i n d   b u g s   i n   t h e   g e n e r a t e d   d o c u m e n t a t i o n ,   y o u   n e e d   t o   f i x   t h e m   u p s t r e a m .   I f   y o u   n e e d   o n l y   t o   r e g e n e r a t e   t h e   r e f e r e n c e   d o c u m e n t a t i o n   f r o m   t h e   O p e n A P I   s p e c ,   c o n t i n u e   r e a d i n g   t h i s   p a g e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubernetes-api/",
    "id": "k8s_00174_section_1_3112"
  },
  {
    "question": "What is Requirements:?",
    "answer": "Y o u   n e e d   a   m a c h i n e   t h a t   i s   r u n n i n g   L i n u x   o r   m a c O S . Y o u   n e e d   t o   h a v e   t h e s e   t o o l s   i n s t a l l e d : P y t h o n   v 3 . 7 . x + G i t G o l a n g   v e r s i o n   1 . 1 3 + P i p   u s e d   t o   i n s t a l l   P y Y A M L P y Y A M L   v 5 . 1 . 2 m a k e g c c   c o m p i l e r / l i n k e r D o c k e r   ( R e q u i r e d   o n l y   f o r   k u b e c t l   c o m m a n d   r e f e r e n c e ) Y o u r   P A T H   e n v i r o n m e n t   v a r i a b l e   m u s t   i n c l u d e   t h e   r e q u i r e d   b u i l d   t o o l s ,   s u c h   a s   t h e   G o   b i n a r y   a n d   p y t h o n . Y o u   n e e d   t o   k n o w   h o w   t o   c r e a t e   a   p u l l   r e q u e s t   t o   a   G i t H u b   r e p o s i t o r y .   T h i s   i n v o l v e s   c r e a t i n g   y o u r   o w n   f o r k   o f   t h e   r e p o s i t o r y .   F o r   m o r e   i n f o r m a t i o n ,   s e e   W o r k   f r o m   a   l o c a l   c l o n e .   Y o u   n e e d   a   m a c h i n e   t h a t   i s   r u n n i n g   L i n u x   o r   m a c O S .   Y o u   n e e d   t o   h a v e   t h e s e   t o o l s   i n s t a l l e d :   P y t h o n   v 3 . 7 . x + G i t G o l a n g   v e r s i o n   1 . 1 3 + P i p   u s e d   t o   i n s t a l l   P y Y A M L P y Y A M L   v 5 . 1 . 2 m a k e g c c   c o m p i l e r / l i n k e r D o c k e r   ( R e q u i r e d   o n l y   f o r   k u b e c t l   c o m m a n d   r e f e r e n c e )   Y o u r   P A T H   e n v i r o n m e n t   v a r i a b l e   m u s t   i n c l u d e   t h e   r e q u i r e d   b u i l d   t o o l s ,   s u c h   a s   t h e   G o   b i n a r y   a n d   p y t h o n .   Y o u   n e e d   t o   k n o w   h o w   t o   c r e a t e   a   p u l l   r e q u e s t   t o   a   G i t H u b   r e p o s i t o r y .   T h i s   i n v o l v e s   c r e a t i n g   y o u r   o w n   f o r k   o f   t h e   r e p o s i t o r y .   F o r   m o r ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubernetes-api/",
    "id": "k8s_00174_section_3_3113"
  },
  {
    "question": "What is Set up the local repositories?",
    "answer": "C r e a t e   a   l o c a l   w o r k s p a c e   a n d   s e t   y o u r   G O P A T H :   m k d i r   - p   $ H O M E / < w o r k s p a c e >   e x p o r t   G O P A T H = $ H O M E / < w o r k s p a c e >   G e t   a   l o c a l   c l o n e   o f   t h e   f o l l o w i n g   r e p o s i t o r i e s :   g o   g e t   - u   g i t h u b . c o m / k u b e r n e t e s - s i g s / r e f e r e n c e - d o c s   g o   g e t   - u   g i t h u b . c o m / g o - o p e n a p i / l o a d s   g o   g e t   - u   g i t h u b . c o m / g o - o p e n a p i / s p e c   I f   y o u   d o n ' t   a l r e a d y   h a v e   t h e   k u b e r n e t e s / w e b s i t e   r e p o s i t o r y ,   g e t   i t   n o w :   g i t   c l o n e   h t t p s : / / g i t h u b . c o m / < y o u r - u s e r n a m e > / w e b s i t e   $ G O P A T H / s r c / g i t h u b . c o m / < y o u r - u s e r n a m e > / w e b s i t e   G e t   a   c l o n e   o f   t h e   k u b e r n e t e s / k u b e r n e t e s   r e p o s i t o r y   a s   k 8 s . i o / k u b e r n e t e s :   g i t   c l o n e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k u b e r n e t e s   $ G O P A T H / s r c / k 8 s . i o / k u b e r n e t e s   T h e   b a s e   d i r e c t o r y   o f   y o u r   c l o n e   o f   t h e   k u b e r n e t e s / k u b e r n e t e s   r e p o s i t o r y   i s   $ G O P A T H / s r c / k 8 s . i o / k u b e r n e t e s .   T h e   r e m a i n i n g   s t e p s   r e f e r   t o   y o u r   b a s e   d i r e c t o r y   a s   < k 8 s - b a s e > . T h e   b a s e   d i r e c t o r y   o f   y o u r   c l o n e   o f   t h e   k u b e r n e t e s / w e b s i t e   r e p o s i t o r y   i s   $ G O P A T H / s r c / g i t h u b . c o m / < y o u r   u s e r n a m e > / w e b s i t e .   T h e   r e m a i n i n g   s t e p s   r e f e r   t o   y o u r   b a s e   d i r e c t o r y   a s   < w e b - b a s e > . T h e   b a s e   d i r e c t o r y   o f   y o u r   c l o n e   o f   t ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubernetes-api/",
    "id": "k8s_00174_section_2_3114"
  },
  {
    "question": "What is Generate the API reference docs?",
    "answer": "T h i s   s e c t i o n   s h o w s   h o w   t o   g e n e r a t e   t h e   p u b l i s h e d   K u b e r n e t e s   A P I   r e f e r e n c e   d o c u m e n t a t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubernetes-api/",
    "id": "k8s_00174_section_2_3115"
  },
  {
    "question": "What is Set build variables?",
    "answer": "S e t   K 8 S _ R O O T   t o   < k 8 s - b a s e > . S e t   K 8 S _ W E B R O O T   t o   < w e b - b a s e > . S e t   K 8 S _ R E L E A S E   t o   t h e   v e r s i o n   o f   t h e   d o c s   y o u   w a n t   t o   b u i l d .   F o r   e x a m p l e ,   i f   y o u   w a n t   t o   b u i l d   d o c s   f o r   K u b e r n e t e s   1 . 1 7 . 0 ,   s e t   K 8 S _ R E L E A S E   t o   1 . 1 7 . 0 .   F o r   e x a m p l e :   e x p o r t   K 8 S _ W E B R O O T = $ { G O P A T H } / s r c / g i t h u b . c o m / < y o u r - u s e r n a m e > / w e b s i t e   e x p o r t   K 8 S _ R O O T = $ { G O P A T H } / s r c / k 8 s . i o / k u b e r n e t e s   e x p o r t   K 8 S _ R E L E A S E = 1 . 1 7 . 0",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubernetes-api/",
    "id": "k8s_00174_section_3_3116"
  },
  {
    "question": "What is Create versioned directory and fetch Open API spec?",
    "answer": "T h e   u p d a t e a p i s p e c   b u i l d   t a r g e t   c r e a t e s   t h e   v e r s i o n e d   b u i l d   d i r e c t o r y .   A f t e r   t h e   d i r e c t o r y   i s   c r e a t e d ,   t h e   O p e n   A P I   s p e c   i s   f e t c h e d   f r o m   t h e   < k 8 s - b a s e >   r e p o s i t o r y .   T h e s e   s t e p s   e n s u r e   t h a t   t h e   v e r s i o n   o f   t h e   c o n f i g u r a t i o n   f i l e s   a n d   K u b e r n e t e s   O p e n   A P I   s p e c   m a t c h   t h e   r e l e a s e   v e r s i o n .   T h e   v e r s i o n e d   d i r e c t o r y   n a m e   f o l l o w s   t h e   p a t t e r n   o f   v < m a j o r > _ < m i n o r > .   I n   t h e   < r d o c s - b a s e >   d i r e c t o r y ,   r u n   t h e   f o l l o w i n g   b u i l d   t a r g e t :   c d   < r d o c s - b a s e >   m a k e   u p d a t e a p i s p e c",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubernetes-api/",
    "id": "k8s_00174_section_3_3117"
  },
  {
    "question": "What is Build the API reference docs?",
    "answer": "T h e   c o p y a p i   t a r g e t   b u i l d s   t h e   A P I   r e f e r e n c e   a n d   c o p i e s   t h e   g e n e r a t e d   f i l e s   t o   d i r e c t o r i e s   i n   < w e b - b a s e > .   R u n   t h e   f o l l o w i n g   c o m m a n d   i n   < r d o c s - b a s e > :   c d   < r d o c s - b a s e >   m a k e   c o p y a p i   V e r i f y   t h a t   t h e s e   t w o   f i l e s   h a v e   b e e n   g e n e r a t e d :   [   - e   \" < r d o c s - b a s e > / g e n - a p i d o c s / b u i l d / i n d e x . h t m l \"   ]   & &   e c h o   \" i n d e x . h t m l   b u i l t \"   | |   e c h o   \" n o   i n d e x . h t m l \"   [   - e   \" < r d o c s - b a s e > / g e n - a p i d o c s / b u i l d / n a v D a t a . j s \"   ]   & &   e c h o   \" n a v D a t a . j s   b u i l t \"   | |   e c h o   \" n o   n a v D a t a . j s \"   G o   t o   t h e   b a s e   o f   y o u r   l o c a l   < w e b - b a s e > ,   a n d   v i e w   w h i c h   f i l e s   h a v e   b e e n   m o d i f i e d :   c d   < w e b - b a s e >   g i t   s t a t u s   T h e   o u t p u t   i s   s i m i l a r   t o :   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e r n e t e s - a p i / v 1 . 3 4 / c s s / b o o t s t r a p . m i n . c s s   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e r n e t e s - a p i / v 1 . 3 4 / c s s / f o n t - a w e s o m e . m i n . c s s   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e r n e t e s - a p i / v 1 . 3 4 / c s s / s t y l e s h e e t . c s s   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e r n e t e s - a p i / v 1 . 3 4 / f o n t s / F o n t A w e s o m e . o t f   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e r n e t e s - a p i / v 1 . 3 4 / f o n t s / f o n t a w e s o m e - w e b f o n t . e o t   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e r n e t e s - a p i / v 1 . 3 4 / f ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubernetes-api/",
    "id": "k8s_00174_section_3_3118"
  },
  {
    "question": "What is Update the API reference index pages?",
    "answer": "W h e n   g e n e r a t i n g   r e f e r e n c e   d o c u m e n t a t i o n   f o r   a   n e w   r e l e a s e ,   u p d a t e   t h e   f i l e ,   < w e b - b a s e > / c o n t e n t / e n / d o c s / r e f e r e n c e / k u b e r n e t e s - a p i / a p i - i n d e x . m d   w i t h   t h e   n e w   v e r s i o n   n u m b e r .   O p e n   < w e b - b a s e > / c o n t e n t / e n / d o c s / r e f e r e n c e / k u b e r n e t e s - a p i / a p i - i n d e x . m d   f o r   e d i t i n g ,   a n d   u p d a t e   t h e   A P I   r e f e r e n c e   v e r s i o n   n u m b e r .   F o r   e x a m p l e : - - -   t i t l e :   v 1 . 1 7   - - -   [ K u b e r n e t e s   A P I   v 1 . 1 7 ] ( / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e r n e t e s - a p i / v 1 . 1 7 / )   O p e n   < w e b - b a s e > / c o n t e n t / e n / d o c s / r e f e r e n c e / _ i n d e x . m d   f o r   e d i t i n g ,   a n d   a d d   a   n e w   l i n k   f o r   t h e   l a t e s t   A P I   r e f e r e n c e .   R e m o v e   t h e   o l d e s t   A P I   r e f e r e n c e   v e r s i o n .   T h e r e   s h o u l d   b e   f i v e   l i n k s   t o   t h e   m o s t   r e c e n t   A P I   r e f e r e n c e s .   O p e n   < w e b - b a s e > / c o n t e n t / e n / d o c s / r e f e r e n c e / k u b e r n e t e s - a p i / a p i - i n d e x . m d   f o r   e d i t i n g ,   a n d   u p d a t e   t h e   A P I   r e f e r e n c e   v e r s i o n   n u m b e r .   F o r   e x a m p l e :   - - -   t i t l e :   v 1 . 1 7   - - -   [ K u b e r n e t e s   A P I   v 1 . 1 7 ] ( / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e r n e t e s - a p i / v 1 . 1 7 / )   O p e n   < w e b - b a s e > / c o n t e n t / e n / d o c s / r e f e r e n c e / _ i n d e x . m d   f o r   e d i t i n g ,   a n d   a d d   a   n e w   l i n k   f o r   t h e   l a t e s t   A P I   r e f e r e n c e .   R e m o v e   t h e   o l d e s t   A P I   r e f e r e n c e   ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubernetes-api/",
    "id": "k8s_00174_section_2_3119"
  },
  {
    "question": "What is Locally test the API reference?",
    "answer": "P u b l i s h   a   l o c a l   v e r s i o n   o f   t h e   A P I   r e f e r e n c e .   V e r i f y   t h e   l o c a l   p r e v i e w .   c d   < w e b - b a s e >   g i t   s u b m o d u l e   u p d a t e   - - i n i t   - - r e c u r s i v e   - - d e p t h   1   #   i f   n o t   a l r e a d y   d o n e   m a k e   c o n t a i n e r - s e r v e",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubernetes-api/",
    "id": "k8s_00174_section_2_3120"
  },
  {
    "question": "What is Commit the changes?",
    "answer": "I n   < w e b - b a s e > ,   r u n   g i t   a d d   a n d   g i t   c o m m i t   t o   c o m m i t   t h e   c h a n g e .   S u b m i t   y o u r   c h a n g e s   a s   a   p u l l   r e q u e s t   t o   t h e   k u b e r n e t e s / w e b s i t e   r e p o s i t o r y .   M o n i t o r   y o u r   p u l l   r e q u e s t ,   a n d   r e s p o n d   t o   r e v i e w e r   c o m m e n t s   a s   n e e d e d .   C o n t i n u e   t o   m o n i t o r   y o u r   p u l l   r e q u e s t   u n t i l   i t   h a s   b e e n   m e r g e d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubernetes-api/",
    "id": "k8s_00174_section_2_3121"
  },
  {
    "question": "What is What's next?",
    "answer": "G e n e r a t i n g   R e f e r e n c e   D o c u m e n t a t i o n   Q u i c k s t a r t G e n e r a t i n g   R e f e r e n c e   D o c s   f o r   K u b e r n e t e s   C o m p o n e n t s   a n d   T o o l s G e n e r a t i n g   R e f e r e n c e   D o c u m e n t a t i o n   f o r   k u b e c t l   C o m m a n d s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubernetes-api/",
    "id": "k8s_00174_section_2_3122"
  },
  {
    "question": "What is Protocols for Services?",
    "answer": "Protocols for ServicesIf you configure a Service, you can select from any network protocol that Kubernetes supports.Kubernetes supports the following protocols with Services:SCTPTCP (the default)UDPWhen you define a Service, you can also specify the application protocol that it uses.This document details some special cases, all of them typically using TCP as a transport protocol:HTTP and HTTPSPROXY protocolTLS termination at the load balancerSupported protocolsThere are 3 valid values for the protocol of a port for a Service:SCTPFEATURE STATE: Kubernetes v1.20 [stable]When using a network plugin that supports SCTP traffic, you can use SCTP for most Services. For type: LoadBalancer Services, SCTP support depends on the cloud provider offering this facility. (Most do not).SCTP is not supported on nodes that run Windows.Support for multihomed SCTP associationsThe support of multihomed SCTP associations requires that the CNI plugin can support the assignment of multiple interfaces and IP addresses to a Pod.NAT for multihomed SCTP associations requires special logic in the corresponding kernel modules.TCPYou can use TCP for any kind of Service, and it's the default network protocol.UDPYou can use UDP for most Services. For type: LoadBalancer Services, UDP support depends on the cloud provider offering this facility.Special casesHTTPIf your cloud provider supports it, you can use a Service in LoadBalancer mode to configure a load balancer outside of your Kubernetes cluster, in a special mode where your cloud provider's load balancer implements HTTP / HTTPS reverse proxying, with traffic forwarded to the backend endpoints for that Service.Typically, you set the protocol for the Service to TCP and add an annotation (usually specific to your cloud provider) that configures the load balancer to handle traffic at the HTTP level. This configuration might also include serving HTTPS (HTTP over TLS) and reverse-proxying plain HTTP to your workload.Note:You can also use an Ingress to expose HTTP/HTTPS Services.You might additionally want to specify that the application protocol of the connection is http or https. Use http if the session from the load balancer to your workload is HTTP without TLS, and use https if the session from the load balancer to your workload uses TLS encryption.PROXY protocolIf your cloud provider supports it, you can use a Service set to type: LoadBalancer to configure a load balancer outside of Kubernetes itself, that will forward connections wrapped with the PROXY protocol.The load balancer then sends an initial series of octets describing the incoming connection, similar to this example (PROXY protocol v1):PROXY TCP4 192.0.2.202 10.0.42.7 12345 7\\r\\n The data after the proxy protocol preamble are the original data from the client. When either side closes the connection, the load balancer also triggers a connection close and sends any remaining data where feasible.Typically, you define a Service with the protocol to TCP. You also set an",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/service-protocols/",
    "id": "k8s_00175_qa_3123"
  },
  {
    "question": "How does Protocols for Services work?",
    "answer": "Protocols for ServicesIf you configure a Service, you can select from any network protocol that Kubernetes supports.Kubernetes supports the following protocols with Services:SCTPTCP (the default)UDPWhen you define a Service, you can also specify the application protocol that it uses.This document details some special cases, all of them typically using TCP as a transport protocol:HTTP and HTTPSPROXY protocolTLS termination at the load balancerSupported protocolsThere are 3 valid values for the protocol of a port for a Service:SCTPFEATURE STATE: Kubernetes v1.20 [stable]When using a network plugin that supports SCTP traffic, you can use SCTP for most Services. For type: LoadBalancer Services, SCTP support depends on the cloud provider offering this facility. (Most do not).SCTP is not supported on nodes that run Windows.Support for multihomed SCTP associationsThe support of multihomed SCTP associations requires that the CNI plugin can support the assignment of multiple interfaces and IP addresses to a Pod.NAT for multihomed SCTP associations requires special logic in the corresponding kernel modules.TCPYou can use TCP for any kind of Service, and it's the default network protocol.UDPYou can use UDP for most Services. For type: LoadBalancer Services, UDP support depends on the cloud provider offering this facility.Special casesHTTPIf your cloud provider supports it, you can use a Service in LoadBalancer mode to configure a load balancer outside of your Kubernetes cluster, in a special mode where your cloud provider's load balancer implements HTTP / HTTPS reverse proxying, with traffic forwarded to the backend endpoints for that Service.Typically, you set the protocol for the Service to TCP and add an annotation (usually specific to your cloud provider) that configures the load balancer to handle traffic at the HTTP level. This configuration might also include serving HTTPS (HTTP over TLS) and reverse-proxying plain HTTP to your workload.Note:You can also use an Ingress to expose HTTP/HTTPS Services.You might additionally want to specify that the application protocol of the connection is http or https. Use http if the session from the load balancer to your workload is HTTP without TLS, and use https if the session from the load balancer to your workload uses TLS encryption.PROXY protocolIf your cloud provider supports it, you can use a Service set to type: LoadBalancer to configure a load balancer outside of Kubernetes itself, that will forward connections wrapped with the PROXY protocol.The load balancer then sends an initial series of octets describing the incoming connection, similar to this example (PROXY protocol v1):PROXY TCP4 192.0.2.202 10.0.42.7 12345 7\\r\\n The data after the proxy protocol preamble are the original data from the client. When either side closes the connection, the load balancer also triggers a connection close and sends any remaining data where feasible.Typically, you define a Service with the protocol to TCP. You also set an",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/service-protocols/",
    "id": "k8s_00175_qa_3124"
  },
  {
    "question": "When would you use Protocols for Services?",
    "answer": "Protocols for ServicesIf you configure a Service, you can select from any network protocol that Kubernetes supports.Kubernetes supports the following protocols with Services:SCTPTCP (the default)UDPWhen you define a Service, you can also specify the application protocol that it uses.This document details some special cases, all of them typically using TCP as a transport protocol:HTTP and HTTPSPROXY protocolTLS termination at the load balancerSupported protocolsThere are 3 valid values for the protocol of a port for a Service:SCTPFEATURE STATE: Kubernetes v1.20 [stable]When using a network plugin that supports SCTP traffic, you can use SCTP for most Services. For type: LoadBalancer Services, SCTP support depends on the cloud provider offering this facility. (Most do not).SCTP is not supported on nodes that run Windows.Support for multihomed SCTP associationsThe support of multihomed SCTP associations requires that the CNI plugin can support the assignment of multiple interfaces and IP addresses to a Pod.NAT for multihomed SCTP associations requires special logic in the corresponding kernel modules.TCPYou can use TCP for any kind of Service, and it's the default network protocol.UDPYou can use UDP for most Services. For type: LoadBalancer Services, UDP support depends on the cloud provider offering this facility.Special casesHTTPIf your cloud provider supports it, you can use a Service in LoadBalancer mode to configure a load balancer outside of your Kubernetes cluster, in a special mode where your cloud provider's load balancer implements HTTP / HTTPS reverse proxying, with traffic forwarded to the backend endpoints for that Service.Typically, you set the protocol for the Service to TCP and add an annotation (usually specific to your cloud provider) that configures the load balancer to handle traffic at the HTTP level. This configuration might also include serving HTTPS (HTTP over TLS) and reverse-proxying plain HTTP to your workload.Note:You can also use an Ingress to expose HTTP/HTTPS Services.You might additionally want to specify that the application protocol of the connection is http or https. Use http if the session from the load balancer to your workload is HTTP without TLS, and use https if the session from the load balancer to your workload uses TLS encryption.PROXY protocolIf your cloud provider supports it, you can use a Service set to type: LoadBalancer to configure a load balancer outside of Kubernetes itself, that will forward connections wrapped with the PROXY protocol.The load balancer then sends an initial series of octets describing the incoming connection, similar to this example (PROXY protocol v1):PROXY TCP4 192.0.2.202 10.0.42.7 12345 7\\r\\n The data after the proxy protocol preamble are the original data from the client. When either side closes the connection, the load balancer also triggers a connection close and sends any remaining data where feasible.Typically, you define a Service with the protocol to TCP. You also set an",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/service-protocols/",
    "id": "k8s_00175_qa_3125"
  },
  {
    "question": "What are the benefits of Protocols for Services?",
    "answer": "Protocols for ServicesIf you configure a Service, you can select from any network protocol that Kubernetes supports.Kubernetes supports the following protocols with Services:SCTPTCP (the default)UDPWhen you define a Service, you can also specify the application protocol that it uses.This document details some special cases, all of them typically using TCP as a transport protocol:HTTP and HTTPSPROXY protocolTLS termination at the load balancerSupported protocolsThere are 3 valid values for the protocol of a port for a Service:SCTPFEATURE STATE: Kubernetes v1.20 [stable]When using a network plugin that supports SCTP traffic, you can use SCTP for most Services. For type: LoadBalancer Services, SCTP support depends on the cloud provider offering this facility. (Most do not).SCTP is not supported on nodes that run Windows.Support for multihomed SCTP associationsThe support of multihomed SCTP associations requires that the CNI plugin can support the assignment of multiple interfaces and IP addresses to a Pod.NAT for multihomed SCTP associations requires special logic in the corresponding kernel modules.TCPYou can use TCP for any kind of Service, and it's the default network protocol.UDPYou can use UDP for most Services. For type: LoadBalancer Services, UDP support depends on the cloud provider offering this facility.Special casesHTTPIf your cloud provider supports it, you can use a Service in LoadBalancer mode to configure a load balancer outside of your Kubernetes cluster, in a special mode where your cloud provider's load balancer implements HTTP / HTTPS reverse proxying, with traffic forwarded to the backend endpoints for that Service.Typically, you set the protocol for the Service to TCP and add an annotation (usually specific to your cloud provider) that configures the load balancer to handle traffic at the HTTP level. This configuration might also include serving HTTPS (HTTP over TLS) and reverse-proxying plain HTTP to your workload.Note:You can also use an Ingress to expose HTTP/HTTPS Services.You might additionally want to specify that the application protocol of the connection is http or https. Use http if the session from the load balancer to your workload is HTTP without TLS, and use https if the session from the load balancer to your workload uses TLS encryption.PROXY protocolIf your cloud provider supports it, you can use a Service set to type: LoadBalancer to configure a load balancer outside of Kubernetes itself, that will forward connections wrapped with the PROXY protocol.The load balancer then sends an initial series of octets describing the incoming connection, similar to this example (PROXY protocol v1):PROXY TCP4 192.0.2.202 10.0.42.7 12345 7\\r\\n The data after the proxy protocol preamble are the original data from the client. When either side closes the connection, the load balancer also triggers a connection close and sends any remaining data where feasible.Typically, you define a Service with the protocol to TCP. You also set an",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/service-protocols/",
    "id": "k8s_00175_qa_3126"
  },
  {
    "question": "What is Protocols for Services?",
    "answer": "I f   y o u   c o n f i g u r e   a   S e r v i c e ,   y o u   c a n   s e l e c t   f r o m   a n y   n e t w o r k   p r o t o c o l   t h a t   K u b e r n e t e s   s u p p o r t s .   K u b e r n e t e s   s u p p o r t s   t h e   f o l l o w i n g   p r o t o c o l s   w i t h   S e r v i c e s :   S C T P T C P   ( t h e   d e f a u l t ) U D P   W h e n   y o u   d e f i n e   a   S e r v i c e ,   y o u   c a n   a l s o   s p e c i f y   t h e   a p p l i c a t i o n   p r o t o c o l   t h a t   i t   u s e s .   T h i s   d o c u m e n t   d e t a i l s   s o m e   s p e c i a l   c a s e s ,   a l l   o f   t h e m   t y p i c a l l y   u s i n g   T C P   a s   a   t r a n s p o r t   p r o t o c o l :   H T T P   a n d   H T T P S P R O X Y   p r o t o c o l T L S   t e r m i n a t i o n   a t   t h e   l o a d   b a l a n c e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/service-protocols/",
    "id": "k8s_00175_section_1_3127"
  },
  {
    "question": "What is Supported protocols?",
    "answer": "T h e r e   a r e   3   v a l i d   v a l u e s   f o r   t h e   p r o t o c o l   o f   a   p o r t   f o r   a   S e r v i c e :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/service-protocols/",
    "id": "k8s_00175_section_2_3128"
  },
  {
    "question": "What is SCTP?",
    "answer": "W h e n   u s i n g   a   n e t w o r k   p l u g i n   t h a t   s u p p o r t s   S C T P   t r a f f i c ,   y o u   c a n   u s e   S C T P   f o r   m o s t   S e r v i c e s .   F o r   t y p e :   L o a d B a l a n c e r   S e r v i c e s ,   S C T P   s u p p o r t   d e p e n d s   o n   t h e   c l o u d   p r o v i d e r   o f f e r i n g   t h i s   f a c i l i t y .   ( M o s t   d o   n o t ) .   S C T P   i s   n o t   s u p p o r t e d   o n   n o d e s   t h a t   r u n   W i n d o w s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/service-protocols/",
    "id": "k8s_00175_section_3_3129"
  },
  {
    "question": "What is Support for multihomed SCTP associations?",
    "answer": "T h e   s u p p o r t   o f   m u l t i h o m e d   S C T P   a s s o c i a t i o n s   r e q u i r e s   t h a t   t h e   C N I   p l u g i n   c a n   s u p p o r t   t h e   a s s i g n m e n t   o f   m u l t i p l e   i n t e r f a c e s   a n d   I P   a d d r e s s e s   t o   a   P o d .   N A T   f o r   m u l t i h o m e d   S C T P   a s s o c i a t i o n s   r e q u i r e s   s p e c i a l   l o g i c   i n   t h e   c o r r e s p o n d i n g   k e r n e l   m o d u l e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/service-protocols/",
    "id": "k8s_00175_section_4_3130"
  },
  {
    "question": "What is TCP?",
    "answer": "Y o u   c a n   u s e   T C P   f o r   a n y   k i n d   o f   S e r v i c e ,   a n d   i t ' s   t h e   d e f a u l t   n e t w o r k   p r o t o c o l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/service-protocols/",
    "id": "k8s_00175_section_3_3131"
  },
  {
    "question": "What is UDP?",
    "answer": "Y o u   c a n   u s e   U D P   f o r   m o s t   S e r v i c e s .   F o r   t y p e :   L o a d B a l a n c e r   S e r v i c e s ,   U D P   s u p p o r t   d e p e n d s   o n   t h e   c l o u d   p r o v i d e r   o f f e r i n g   t h i s   f a c i l i t y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/service-protocols/",
    "id": "k8s_00175_section_3_3132"
  },
  {
    "question": "What is HTTP?",
    "answer": "I f   y o u r   c l o u d   p r o v i d e r   s u p p o r t s   i t ,   y o u   c a n   u s e   a   S e r v i c e   i n   L o a d B a l a n c e r   m o d e   t o   c o n f i g u r e   a   l o a d   b a l a n c e r   o u t s i d e   o f   y o u r   K u b e r n e t e s   c l u s t e r ,   i n   a   s p e c i a l   m o d e   w h e r e   y o u r   c l o u d   p r o v i d e r ' s   l o a d   b a l a n c e r   i m p l e m e n t s   H T T P   /   H T T P S   r e v e r s e   p r o x y i n g ,   w i t h   t r a f f i c   f o r w a r d e d   t o   t h e   b a c k e n d   e n d p o i n t s   f o r   t h a t   S e r v i c e .   T y p i c a l l y ,   y o u   s e t   t h e   p r o t o c o l   f o r   t h e   S e r v i c e   t o   T C P   a n d   a d d   a n   a n n o t a t i o n   ( u s u a l l y   s p e c i f i c   t o   y o u r   c l o u d   p r o v i d e r )   t h a t   c o n f i g u r e s   t h e   l o a d   b a l a n c e r   t o   h a n d l e   t r a f f i c   a t   t h e   H T T P   l e v e l .   T h i s   c o n f i g u r a t i o n   m i g h t   a l s o   i n c l u d e   s e r v i n g   H T T P S   ( H T T P   o v e r   T L S )   a n d   r e v e r s e - p r o x y i n g   p l a i n   H T T P   t o   y o u r   w o r k l o a d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/service-protocols/",
    "id": "k8s_00175_section_3_3133"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   m i g h t   a d d i t i o n a l l y   w a n t   t o   s p e c i f y   t h a t   t h e   a p p l i c a t i o n   p r o t o c o l   o f   t h e   c o n n e c t i o n   i s   h t t p   o r   h t t p s .   U s e   h t t p   i f   t h e   s e s s i o n   f r o m   t h e   l o a d   b a l a n c e r   t o   y o u r   w o r k l o a d   i s   H T T P   w i t h o u t   T L S ,   a n d   u s e   h t t p s   i f   t h e   s e s s i o n   f r o m   t h e   l o a d   b a l a n c e r   t o   y o u r   w o r k l o a d   u s e s   T L S   e n c r y p t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/service-protocols/",
    "id": "k8s_00175_section_4_3134"
  },
  {
    "question": "What is PROXY protocol?",
    "answer": "I f   y o u r   c l o u d   p r o v i d e r   s u p p o r t s   i t ,   y o u   c a n   u s e   a   S e r v i c e   s e t   t o   t y p e :   L o a d B a l a n c e r   t o   c o n f i g u r e   a   l o a d   b a l a n c e r   o u t s i d e   o f   K u b e r n e t e s   i t s e l f ,   t h a t   w i l l   f o r w a r d   c o n n e c t i o n s   w r a p p e d   w i t h   t h e   P R O X Y   p r o t o c o l .   T h e   l o a d   b a l a n c e r   t h e n   s e n d s   a n   i n i t i a l   s e r i e s   o f   o c t e t s   d e s c r i b i n g   t h e   i n c o m i n g   c o n n e c t i o n ,   s i m i l a r   t o   t h i s   e x a m p l e   ( P R O X Y   p r o t o c o l   v 1 ) :   P R O X Y   T C P 4   1 9 2 . 0 . 2 . 2 0 2   1 0 . 0 . 4 2 . 7   1 2 3 4 5   7 \\ r \\ n   T h e   d a t a   a f t e r   t h e   p r o x y   p r o t o c o l   p r e a m b l e   a r e   t h e   o r i g i n a l   d a t a   f r o m   t h e   c l i e n t .   W h e n   e i t h e r   s i d e   c l o s e s   t h e   c o n n e c t i o n ,   t h e   l o a d   b a l a n c e r   a l s o   t r i g g e r s   a   c o n n e c t i o n   c l o s e   a n d   s e n d s   a n y   r e m a i n i n g   d a t a   w h e r e   f e a s i b l e .   T y p i c a l l y ,   y o u   d e f i n e   a   S e r v i c e   w i t h   t h e   p r o t o c o l   t o   T C P .   Y o u   a l s o   s e t   a n   a n n o t a t i o n ,   s p e c i f i c   t o   y o u r   c l o u d   p r o v i d e r ,   t h a t   c o n f i g u r e s   t h e   l o a d   b a l a n c e r   t o   w r a p   e a c h   i n c o m i n g   c o n n e c t i o n   i n   t h e   P R O X Y   p r o t o c o l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/service-protocols/",
    "id": "k8s_00175_section_3_3135"
  },
  {
    "question": "What is TLS?",
    "answer": "I f   y o u r   c l o u d   p r o v i d e r   s u p p o r t s   i t ,   y o u   c a n   u s e   a   S e r v i c e   s e t   t o   t y p e :   L o a d B a l a n c e r   a s   a   w a y   t o   s e t   u p   e x t e r n a l   r e v e r s e   p r o x y i n g ,   w h e r e   t h e   c o n n e c t i o n   f r o m   c l i e n t   t o   l o a d   b a l a n c e r   i s   T L S   e n c r y p t e d   a n d   t h e   l o a d   b a l a n c e r   i s   t h e   T L S   s e r v e r   p e e r .   T h e   c o n n e c t i o n   f r o m   t h e   l o a d   b a l a n c e r   t o   y o u r   w o r k l o a d   c a n   a l s o   b e   T L S ,   o r   m i g h t   b e   p l a i n   t e x t .   T h e   e x a c t   o p t i o n s   a v a i l a b l e   t o   y o u   d e p e n d   o n   y o u r   c l o u d   p r o v i d e r   o r   c u s t o m   S e r v i c e   i m p l e m e n t a t i o n .   T y p i c a l l y ,   y o u   s e t   t h e   p r o t o c o l   t o   T C P   a n d   s e t   a n   a n n o t a t i o n   ( u s u a l l y   s p e c i f i c   t o   y o u r   c l o u d   p r o v i d e r )   t h a t   c o n f i g u r e s   t h e   l o a d   b a l a n c e r   t o   a c t   a s   a   T L S   s e r v e r .   Y o u   w o u l d   c o n f i g u r e   t h e   T L S   i d e n t i t y   ( a s   s e r v e r ,   a n d   p o s s i b l y   a l s o   a s   a   c l i e n t   t h a t   c o n n e c t s   t o   y o u r   w o r k l o a d )   u s i n g   m e c h a n i s m s   t h a t   a r e   s p e c i f i c   t o   y o u r   c l o u d   p r o v i d e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/service-protocols/",
    "id": "k8s_00175_section_3_3136"
  },
  {
    "question": "What is Cloud Native Security and Kubernetes?",
    "answer": "Cloud Native Security and KubernetesConcepts for keeping your cloud-native workload secure.Kubernetes is based on a cloud-native architecture, and draws on advice from the CNCF about good practice for cloud native information security.Read on through this page for an overview of how Kubernetes is designed to help you deploy a secure cloud native platform.Cloud native information securityThe CNCF white paper on cloud native security defines security controls and practices that are appropriate to different lifecycle phases.Develop lifecycle phaseEnsure the integrity of development environments.Design applications following good practice for information security, appropriate for your context.Consider end user security as part of solution design.To achieve this, you can:Adopt an architecture, such as zero trust, that minimizes attack surfaces, even for internal threats.Define a code review process that considers security concerns.Build a threat model of your system or application that identifies trust boundaries. Use that to model to identify risks and to help find ways to treat those risks.Incorporate advanced security automation, such as fuzzing and security chaos engineering, where it's justified.Distribute lifecycle phaseEnsure the security of the supply chain for container images you execute.Ensure the security of the supply chain for the cluster and other components that execute your application. An example of another component might be an external database that your cloud-native application uses for persistence.To achieve this, you can:Scan container images and other artifacts for known vulnerabilities.Ensure that software distribution uses encryption in transit, with a chain of trust for the software source.Adopt and follow processes to update dependencies when updates are available, especially in response to security announcements.Use validation mechanisms such as digital certificates for supply chain assurance.Subscribe to feeds and other mechanisms to alert you to security risks.Restrict access to artifacts. Place container images in a private registry that only allows authorized clients to pull images.Deploy lifecycle phaseEnsure appropriate restrictions on what can be deployed, who can deploy it, and where it can be deployed to. You can enforce measures from the distribute phase, such as verifying the cryptographic identity of container image artifacts.You can deploy different applications and cluster components into different namespaces. Containers themselves, and namespaces, both provide isolation mechanisms that are relevant to information security.When you deploy Kubernetes, you also set the foundation for your applications' runtime environment: a Kubernetes cluster (or multiple clusters). That IT infrastructure must provide the security guarantees that higher layers expect.Runtime lifecycle phaseThe Runtime phase comprises three critical areas: access, compute, and storage.Runtime protection: accessThe Kubernetes API is what makes y",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/cloud-native-security/",
    "id": "k8s_00176_qa_3137"
  },
  {
    "question": "How does Cloud Native Security and Kubernetes work?",
    "answer": "Cloud Native Security and KubernetesConcepts for keeping your cloud-native workload secure.Kubernetes is based on a cloud-native architecture, and draws on advice from the CNCF about good practice for cloud native information security.Read on through this page for an overview of how Kubernetes is designed to help you deploy a secure cloud native platform.Cloud native information securityThe CNCF white paper on cloud native security defines security controls and practices that are appropriate to different lifecycle phases.Develop lifecycle phaseEnsure the integrity of development environments.Design applications following good practice for information security, appropriate for your context.Consider end user security as part of solution design.To achieve this, you can:Adopt an architecture, such as zero trust, that minimizes attack surfaces, even for internal threats.Define a code review process that considers security concerns.Build a threat model of your system or application that identifies trust boundaries. Use that to model to identify risks and to help find ways to treat those risks.Incorporate advanced security automation, such as fuzzing and security chaos engineering, where it's justified.Distribute lifecycle phaseEnsure the security of the supply chain for container images you execute.Ensure the security of the supply chain for the cluster and other components that execute your application. An example of another component might be an external database that your cloud-native application uses for persistence.To achieve this, you can:Scan container images and other artifacts for known vulnerabilities.Ensure that software distribution uses encryption in transit, with a chain of trust for the software source.Adopt and follow processes to update dependencies when updates are available, especially in response to security announcements.Use validation mechanisms such as digital certificates for supply chain assurance.Subscribe to feeds and other mechanisms to alert you to security risks.Restrict access to artifacts. Place container images in a private registry that only allows authorized clients to pull images.Deploy lifecycle phaseEnsure appropriate restrictions on what can be deployed, who can deploy it, and where it can be deployed to. You can enforce measures from the distribute phase, such as verifying the cryptographic identity of container image artifacts.You can deploy different applications and cluster components into different namespaces. Containers themselves, and namespaces, both provide isolation mechanisms that are relevant to information security.When you deploy Kubernetes, you also set the foundation for your applications' runtime environment: a Kubernetes cluster (or multiple clusters). That IT infrastructure must provide the security guarantees that higher layers expect.Runtime lifecycle phaseThe Runtime phase comprises three critical areas: access, compute, and storage.Runtime protection: accessThe Kubernetes API is what makes y",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/cloud-native-security/",
    "id": "k8s_00176_qa_3138"
  },
  {
    "question": "When would you use Cloud Native Security and Kubernetes?",
    "answer": "Cloud Native Security and KubernetesConcepts for keeping your cloud-native workload secure.Kubernetes is based on a cloud-native architecture, and draws on advice from the CNCF about good practice for cloud native information security.Read on through this page for an overview of how Kubernetes is designed to help you deploy a secure cloud native platform.Cloud native information securityThe CNCF white paper on cloud native security defines security controls and practices that are appropriate to different lifecycle phases.Develop lifecycle phaseEnsure the integrity of development environments.Design applications following good practice for information security, appropriate for your context.Consider end user security as part of solution design.To achieve this, you can:Adopt an architecture, such as zero trust, that minimizes attack surfaces, even for internal threats.Define a code review process that considers security concerns.Build a threat model of your system or application that identifies trust boundaries. Use that to model to identify risks and to help find ways to treat those risks.Incorporate advanced security automation, such as fuzzing and security chaos engineering, where it's justified.Distribute lifecycle phaseEnsure the security of the supply chain for container images you execute.Ensure the security of the supply chain for the cluster and other components that execute your application. An example of another component might be an external database that your cloud-native application uses for persistence.To achieve this, you can:Scan container images and other artifacts for known vulnerabilities.Ensure that software distribution uses encryption in transit, with a chain of trust for the software source.Adopt and follow processes to update dependencies when updates are available, especially in response to security announcements.Use validation mechanisms such as digital certificates for supply chain assurance.Subscribe to feeds and other mechanisms to alert you to security risks.Restrict access to artifacts. Place container images in a private registry that only allows authorized clients to pull images.Deploy lifecycle phaseEnsure appropriate restrictions on what can be deployed, who can deploy it, and where it can be deployed to. You can enforce measures from the distribute phase, such as verifying the cryptographic identity of container image artifacts.You can deploy different applications and cluster components into different namespaces. Containers themselves, and namespaces, both provide isolation mechanisms that are relevant to information security.When you deploy Kubernetes, you also set the foundation for your applications' runtime environment: a Kubernetes cluster (or multiple clusters). That IT infrastructure must provide the security guarantees that higher layers expect.Runtime lifecycle phaseThe Runtime phase comprises three critical areas: access, compute, and storage.Runtime protection: accessThe Kubernetes API is what makes y",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/cloud-native-security/",
    "id": "k8s_00176_qa_3139"
  },
  {
    "question": "What are the benefits of Cloud Native Security and Kubernetes?",
    "answer": "Cloud Native Security and KubernetesConcepts for keeping your cloud-native workload secure.Kubernetes is based on a cloud-native architecture, and draws on advice from the CNCF about good practice for cloud native information security.Read on through this page for an overview of how Kubernetes is designed to help you deploy a secure cloud native platform.Cloud native information securityThe CNCF white paper on cloud native security defines security controls and practices that are appropriate to different lifecycle phases.Develop lifecycle phaseEnsure the integrity of development environments.Design applications following good practice for information security, appropriate for your context.Consider end user security as part of solution design.To achieve this, you can:Adopt an architecture, such as zero trust, that minimizes attack surfaces, even for internal threats.Define a code review process that considers security concerns.Build a threat model of your system or application that identifies trust boundaries. Use that to model to identify risks and to help find ways to treat those risks.Incorporate advanced security automation, such as fuzzing and security chaos engineering, where it's justified.Distribute lifecycle phaseEnsure the security of the supply chain for container images you execute.Ensure the security of the supply chain for the cluster and other components that execute your application. An example of another component might be an external database that your cloud-native application uses for persistence.To achieve this, you can:Scan container images and other artifacts for known vulnerabilities.Ensure that software distribution uses encryption in transit, with a chain of trust for the software source.Adopt and follow processes to update dependencies when updates are available, especially in response to security announcements.Use validation mechanisms such as digital certificates for supply chain assurance.Subscribe to feeds and other mechanisms to alert you to security risks.Restrict access to artifacts. Place container images in a private registry that only allows authorized clients to pull images.Deploy lifecycle phaseEnsure appropriate restrictions on what can be deployed, who can deploy it, and where it can be deployed to. You can enforce measures from the distribute phase, such as verifying the cryptographic identity of container image artifacts.You can deploy different applications and cluster components into different namespaces. Containers themselves, and namespaces, both provide isolation mechanisms that are relevant to information security.When you deploy Kubernetes, you also set the foundation for your applications' runtime environment: a Kubernetes cluster (or multiple clusters). That IT infrastructure must provide the security guarantees that higher layers expect.Runtime lifecycle phaseThe Runtime phase comprises three critical areas: access, compute, and storage.Runtime protection: accessThe Kubernetes API is what makes y",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/cloud-native-security/",
    "id": "k8s_00176_qa_3140"
  },
  {
    "question": "What is Cloud Native Security and Kubernetes?",
    "answer": "K u b e r n e t e s   i s   b a s e d   o n   a   c l o u d - n a t i v e   a r c h i t e c t u r e ,   a n d   d r a w s   o n   a d v i c e   f r o m   t h e   C N C F   a b o u t   g o o d   p r a c t i c e   f o r   c l o u d   n a t i v e   i n f o r m a t i o n   s e c u r i t y .   R e a d   o n   t h r o u g h   t h i s   p a g e   f o r   a n   o v e r v i e w   o f   h o w   K u b e r n e t e s   i s   d e s i g n e d   t o   h e l p   y o u   d e p l o y   a   s e c u r e   c l o u d   n a t i v e   p l a t f o r m .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/cloud-native-security/",
    "id": "k8s_00176_section_1_3141"
  },
  {
    "question": "What is Cloud native information security?",
    "answer": "T h e   C N C F   w h i t e   p a p e r   o n   c l o u d   n a t i v e   s e c u r i t y   d e f i n e s   s e c u r i t y   c o n t r o l s   a n d   p r a c t i c e s   t h a t   a r e   a p p r o p r i a t e   t o   d i f f e r e n t   l i f e c y c l e   p h a s e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/cloud-native-security/",
    "id": "k8s_00176_section_2_3142"
  },
  {
    "question": "What is Develop lifecycle phase?",
    "answer": "E n s u r e   t h e   i n t e g r i t y   o f   d e v e l o p m e n t   e n v i r o n m e n t s . D e s i g n   a p p l i c a t i o n s   f o l l o w i n g   g o o d   p r a c t i c e   f o r   i n f o r m a t i o n   s e c u r i t y ,   a p p r o p r i a t e   f o r   y o u r   c o n t e x t . C o n s i d e r   e n d   u s e r   s e c u r i t y   a s   p a r t   o f   s o l u t i o n   d e s i g n .   T o   a c h i e v e   t h i s ,   y o u   c a n :   A d o p t   a n   a r c h i t e c t u r e ,   s u c h   a s   z e r o   t r u s t ,   t h a t   m i n i m i z e s   a t t a c k   s u r f a c e s ,   e v e n   f o r   i n t e r n a l   t h r e a t s . D e f i n e   a   c o d e   r e v i e w   p r o c e s s   t h a t   c o n s i d e r s   s e c u r i t y   c o n c e r n s . B u i l d   a   t h r e a t   m o d e l   o f   y o u r   s y s t e m   o r   a p p l i c a t i o n   t h a t   i d e n t i f i e s   t r u s t   b o u n d a r i e s .   U s e   t h a t   t o   m o d e l   t o   i d e n t i f y   r i s k s   a n d   t o   h e l p   f i n d   w a y s   t o   t r e a t   t h o s e   r i s k s . I n c o r p o r a t e   a d v a n c e d   s e c u r i t y   a u t o m a t i o n ,   s u c h   a s   f u z z i n g   a n d   s e c u r i t y   c h a o s   e n g i n e e r i n g ,   w h e r e   i t ' s   j u s t i f i e d .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/cloud-native-security/",
    "id": "k8s_00176_section_2_3143"
  },
  {
    "question": "What is Distribute lifecycle phase?",
    "answer": "E n s u r e   t h e   s e c u r i t y   o f   t h e   s u p p l y   c h a i n   f o r   c o n t a i n e r   i m a g e s   y o u   e x e c u t e . E n s u r e   t h e   s e c u r i t y   o f   t h e   s u p p l y   c h a i n   f o r   t h e   c l u s t e r   a n d   o t h e r   c o m p o n e n t s   t h a t   e x e c u t e   y o u r   a p p l i c a t i o n .   A n   e x a m p l e   o f   a n o t h e r   c o m p o n e n t   m i g h t   b e   a n   e x t e r n a l   d a t a b a s e   t h a t   y o u r   c l o u d - n a t i v e   a p p l i c a t i o n   u s e s   f o r   p e r s i s t e n c e .   T o   a c h i e v e   t h i s ,   y o u   c a n :   S c a n   c o n t a i n e r   i m a g e s   a n d   o t h e r   a r t i f a c t s   f o r   k n o w n   v u l n e r a b i l i t i e s . E n s u r e   t h a t   s o f t w a r e   d i s t r i b u t i o n   u s e s   e n c r y p t i o n   i n   t r a n s i t ,   w i t h   a   c h a i n   o f   t r u s t   f o r   t h e   s o f t w a r e   s o u r c e . A d o p t   a n d   f o l l o w   p r o c e s s e s   t o   u p d a t e   d e p e n d e n c i e s   w h e n   u p d a t e s   a r e   a v a i l a b l e ,   e s p e c i a l l y   i n   r e s p o n s e   t o   s e c u r i t y   a n n o u n c e m e n t s . U s e   v a l i d a t i o n   m e c h a n i s m s   s u c h   a s   d i g i t a l   c e r t i f i c a t e s   f o r   s u p p l y   c h a i n   a s s u r a n c e . S u b s c r i b e   t o   f e e d s   a n d   o t h e r   m e c h a n i s m s   t o   a l e r t   y o u   t o   s e c u r i t y   r i s k s . R e s t r i c t   a c c e s s   t o   a r t i f a c t s .   P l a c e   c o n t a i n e r   i m a g e s   i n   a   p r i v a t e   r e g i s t r y   t h a t   o n l y   a l l o w s   a u t h o r i z e d   c l i e n t s   t o   p u l l   i m a g e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/cloud-native-security/",
    "id": "k8s_00176_section_2_3144"
  },
  {
    "question": "What is Deploy lifecycle phase?",
    "answer": "E n s u r e   a p p r o p r i a t e   r e s t r i c t i o n s   o n   w h a t   c a n   b e   d e p l o y e d ,   w h o   c a n   d e p l o y   i t ,   a n d   w h e r e   i t   c a n   b e   d e p l o y e d   t o .   Y o u   c a n   e n f o r c e   m e a s u r e s   f r o m   t h e   d i s t r i b u t e   p h a s e ,   s u c h   a s   v e r i f y i n g   t h e   c r y p t o g r a p h i c   i d e n t i t y   o f   c o n t a i n e r   i m a g e   a r t i f a c t s .   Y o u   c a n   d e p l o y   d i f f e r e n t   a p p l i c a t i o n s   a n d   c l u s t e r   c o m p o n e n t s   i n t o   d i f f e r e n t   n a m e s p a c e s .   C o n t a i n e r s   t h e m s e l v e s ,   a n d   n a m e s p a c e s ,   b o t h   p r o v i d e   i s o l a t i o n   m e c h a n i s m s   t h a t   a r e   r e l e v a n t   t o   i n f o r m a t i o n   s e c u r i t y .   W h e n   y o u   d e p l o y   K u b e r n e t e s ,   y o u   a l s o   s e t   t h e   f o u n d a t i o n   f o r   y o u r   a p p l i c a t i o n s '   r u n t i m e   e n v i r o n m e n t :   a   K u b e r n e t e s   c l u s t e r   ( o r   m u l t i p l e   c l u s t e r s ) .   T h a t   I T   i n f r a s t r u c t u r e   m u s t   p r o v i d e   t h e   s e c u r i t y   g u a r a n t e e s   t h a t   h i g h e r   l a y e r s   e x p e c t .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/cloud-native-security/",
    "id": "k8s_00176_section_2_3145"
  },
  {
    "question": "What is Runtime lifecycle phase?",
    "answer": "T h e   R u n t i m e   p h a s e   c o m p r i s e s   t h r e e   c r i t i c a l   a r e a s :   a c c e s s ,   c o m p u t e ,   a n d   s t o r a g e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/cloud-native-security/",
    "id": "k8s_00176_section_2_3146"
  },
  {
    "question": "What is Runtime protection: access?",
    "answer": "T h e   K u b e r n e t e s   A P I   i s   w h a t   m a k e s   y o u r   c l u s t e r   w o r k .   P r o t e c t i n g   t h i s   A P I   i s   k e y   t o   p r o v i d i n g   e f f e c t i v e   c l u s t e r   s e c u r i t y .   O t h e r   p a g e s   i n   t h e   K u b e r n e t e s   d o c u m e n t a t i o n   h a v e   m o r e   d e t a i l   a b o u t   h o w   t o   s e t   u p   s p e c i f i c   a s p e c t s   o f   a c c e s s   c o n t r o l .   T h e   s e c u r i t y   c h e c k l i s t   h a s   a   s e t   o f   s u g g e s t e d   b a s i c   c h e c k s   f o r   y o u r   c l u s t e r .   B e y o n d   t h a t ,   s e c u r i n g   y o u r   c l u s t e r   m e a n s   i m p l e m e n t i n g   e f f e c t i v e   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n   f o r   A P I   a c c e s s .   U s e   S e r v i c e A c c o u n t s   t o   p r o v i d e   a n d   m a n a g e   s e c u r i t y   i d e n t i t i e s   f o r   w o r k l o a d s   a n d   c l u s t e r   c o m p o n e n t s .   K u b e r n e t e s   u s e s   T L S   t o   p r o t e c t   A P I   t r a f f i c ;   m a k e   s u r e   t o   d e p l o y   t h e   c l u s t e r   u s i n g   T L S   ( i n c l u d i n g   f o r   t r a f f i c   b e t w e e n   n o d e s   a n d   t h e   c o n t r o l   p l a n e ) ,   a n d   p r o t e c t   t h e   e n c r y p t i o n   k e y s .   I f   y o u   u s e   K u b e r n e t e s '   o w n   A P I   f o r   C e r t i f i c a t e S i g n i n g R e q u e s t s ,   p a y   s p e c i a l   a t t e n t i o n   t o   r e s t r i c t i n g   m i s u s e   t h e r e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/cloud-native-security/",
    "id": "k8s_00176_section_3_3147"
  },
  {
    "question": "What is Runtime protection: compute?",
    "answer": "C o n t a i n e r s   p r o v i d e   t w o   t h i n g s :   i s o l a t i o n   b e t w e e n   d i f f e r e n t   a p p l i c a t i o n s ,   a n d   a   m e c h a n i s m   t o   c o m b i n e   t h o s e   i s o l a t e d   a p p l i c a t i o n s   t o   r u n   o n   t h e   s a m e   h o s t   c o m p u t e r .   T h o s e   t w o   a s p e c t s ,   i s o l a t i o n   a n d   a g g r e g a t i o n ,   m e a n   t h a t   r u n t i m e   s e c u r i t y   i n v o l v e s   i d e n t i f y i n g   t r a d e - o f f s   a n d   f i n d i n g   a n   a p p r o p r i a t e   b a l a n c e .   K u b e r n e t e s   r e l i e s   o n   a   c o n t a i n e r   r u n t i m e   t o   a c t u a l l y   s e t   u p   a n d   r u n   c o n t a i n e r s .   T h e   K u b e r n e t e s   p r o j e c t   d o e s   n o t   r e c o m m e n d   a   s p e c i f i c   c o n t a i n e r   r u n t i m e   a n d   y o u   s h o u l d   m a k e   s u r e   t h a t   t h e   r u n t i m e ( s )   t h a t   y o u   c h o o s e   m e e t   y o u r   i n f o r m a t i o n   s e c u r i t y   n e e d s .   T o   p r o t e c t   y o u r   c o m p u t e   a t   r u n t i m e ,   y o u   c a n :   E n f o r c e   P o d   s e c u r i t y   s t a n d a r d s   f o r   a p p l i c a t i o n s ,   t o   h e l p   e n s u r e   t h e y   r u n   w i t h   o n l y   t h e   n e c e s s a r y   p r i v i l e g e s . R u n   a   s p e c i a l i z e d   o p e r a t i n g   s y s t e m   o n   y o u r   n o d e s   t h a t   i s   d e s i g n e d   s p e c i f i c a l l y   f o r   r u n n i n g   c o n t a i n e r i z e d   w o r k l o a d s .   T h i s   i s   t y p i c a l l y   b a s e d   o n   a   r e a d - o n l y   o p e r a t i n g   s y s t e m   ( i m m u t a b l e   i m a g e )   t h a t   p r o v i d e s   o n l y   t h e   s e r v i c e s   e s s e n t i a l   f o r   r u n n i n g   c o n t a i n e r s . C o n t a i n e r - s p e c i f i c   o p e r a t i n g   s y s t e m s   h e ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/cloud-native-security/",
    "id": "k8s_00176_section_3_3148"
  },
  {
    "question": "What is Runtime protection: storage?",
    "answer": "T o   p r o t e c t   s t o r a g e   f o r   y o u r   c l u s t e r   a n d   t h e   a p p l i c a t i o n s   t h a t   r u n   t h e r e ,   y o u   c a n :   I n t e g r a t e   y o u r   c l u s t e r   w i t h   a n   e x t e r n a l   s t o r a g e   p l u g i n   t h a t   p r o v i d e s   e n c r y p t i o n   a t   r e s t   f o r   v o l u m e s . E n a b l e   e n c r y p t i o n   a t   r e s t   f o r   A P I   o b j e c t s . P r o t e c t   d a t a   d u r a b i l i t y   u s i n g   b a c k u p s .   V e r i f y   t h a t   y o u   c a n   r e s t o r e   t h e s e ,   w h e n e v e r   y o u   n e e d   t o . A u t h e n t i c a t e   c o n n e c t i o n s   b e t w e e n   c l u s t e r   n o d e s   a n d   a n y   n e t w o r k   s t o r a g e   t h e y   r e l y   u p o n . I m p l e m e n t   d a t a   e n c r y p t i o n   w i t h i n   y o u r   o w n   a p p l i c a t i o n .   F o r   e n c r y p t i o n   k e y s ,   g e n e r a t i n g   t h e s e   w i t h i n   s p e c i a l i z e d   h a r d w a r e   p r o v i d e s   t h e   b e s t   p r o t e c t i o n   a g a i n s t   d i s c l o s u r e   r i s k s .   A   h a r d w a r e   s e c u r i t y   m o d u l e   c a n   l e t   y o u   p e r f o r m   c r y p t o g r a p h i c   o p e r a t i o n s   w i t h o u t   a l l o w i n g   t h e   s e c u r i t y   k e y   t o   b e   c o p i e d   e l s e w h e r e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/cloud-native-security/",
    "id": "k8s_00176_section_3_3149"
  },
  {
    "question": "What is Networking and security?",
    "answer": "Y o u   s h o u l d   a l s o   c o n s i d e r   n e t w o r k   s e c u r i t y   m e a s u r e s ,   s u c h   a s   N e t w o r k P o l i c y   o r   a   s e r v i c e   m e s h .   S o m e   n e t w o r k   p l u g i n s   f o r   K u b e r n e t e s   p r o v i d e   e n c r y p t i o n   f o r   y o u r   c l u s t e r   n e t w o r k ,   u s i n g   t e c h n o l o g i e s   s u c h   a s   a   v i r t u a l   p r i v a t e   n e t w o r k   ( V P N )   o v e r l a y .   B y   d e s i g n ,   K u b e r n e t e s   l e t s   y o u   u s e   y o u r   o w n   n e t w o r k i n g   p l u g i n   f o r   y o u r   c l u s t e r   ( i f   y o u   u s e   m a n a g e d   K u b e r n e t e s ,   t h e   p e r s o n   o r   o r g a n i z a t i o n   m a n a g i n g   y o u r   c l u s t e r   m a y   h a v e   c h o s e n   a   n e t w o r k   p l u g i n   f o r   y o u ) .   T h e   n e t w o r k   p l u g i n   y o u   c h o o s e   a n d   t h e   w a y   y o u   i n t e g r a t e   i t   c a n   h a v e   a   s t r o n g   i m p a c t   o n   t h e   s e c u r i t y   o f   i n f o r m a t i o n   i n   t r a n s i t .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/cloud-native-security/",
    "id": "k8s_00176_section_3_3150"
  },
  {
    "question": "What is Observability and runtime security?",
    "answer": "K u b e r n e t e s   l e t s   y o u   e x t e n d   y o u r   c l u s t e r   w i t h   e x t r a   t o o l i n g .   Y o u   c a n   s e t   u p   t h i r d   p a r t y   s o l u t i o n s   t o   h e l p   y o u   m o n i t o r   o r   t r o u b l e s h o o t   y o u r   a p p l i c a t i o n s   a n d   t h e   c l u s t e r s   t h e y   a r e   r u n n i n g .   Y o u   a l s o   g e t   s o m e   b a s i c   o b s e r v a b i l i t y   f e a t u r e s   b u i l t   i n   t o   K u b e r n e t e s   i t s e l f .   Y o u r   c o d e   r u n n i n g   i n   c o n t a i n e r s   c a n   g e n e r a t e   l o g s ,   p u b l i s h   m e t r i c s   o r   p r o v i d e   o t h e r   o b s e r v a b i l i t y   d a t a ;   a t   d e p l o y   t i m e ,   y o u   n e e d   t o   m a k e   s u r e   y o u r   c l u s t e r   p r o v i d e s   a n   a p p r o p r i a t e   l e v e l   o f   p r o t e c t i o n   t h e r e .   I f   y o u   s e t   u p   a   m e t r i c s   d a s h b o a r d   o r   s o m e t h i n g   s i m i l a r ,   r e v i e w   t h e   c h a i n   o f   c o m p o n e n t s   t h a t   p o p u l a t e   d a t a   i n t o   t h a t   d a s h b o a r d ,   a s   w e l l   a s   t h e   d a s h b o a r d   i t s e l f .   M a k e   s u r e   t h a t   t h e   w h o l e   c h a i n   i s   d e s i g n e d   w i t h   e n o u g h   r e s i l i e n c e   a n d   e n o u g h   i n t e g r i t y   p r o t e c t i o n   t h a t   y o u   c a n   r e l y   o n   i t   e v e n   d u r i n g   a n   i n c i d e n t   w h e r e   y o u r   c l u s t e r   m i g h t   b e   d e g r a d e d .   W h e r e   a p p r o p r i a t e ,   d e p l o y   s e c u r i t y   m e a s u r e s   b e l o w   t h e   l e v e l   o f   K u b e r n e t e s   i t s e l f ,   s u c h   a s   c r y p t o g r a p h i c a l l y   m e a s u r e d   b o o t ,   o r   a u t h e n t i c a t e d   d i s t r i b u t i o n   o f   t i m e   ( w h i c h   h e l p s   e n s u r e   t h e   f ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/cloud-native-security/",
    "id": "k8s_00176_section_3_3151"
  },
  {
    "question": "What is Cloud native security?",
    "answer": "C N C F   w h i t e   p a p e r   o n   c l o u d   n a t i v e   s e c u r i t y . C N C F   w h i t e   p a p e r   o n   g o o d   p r a c t i c e s   f o r   s e c u r i n g   a   s o f t w a r e   s u p p l y   c h a i n . F i x i n g   t h e   K u b e r n e t e s   c l u s t e r f * * k :   U n d e r s t a n d i n g   s e c u r i t y   f r o m   t h e   k e r n e l   u p   ( F O S D E M   2 0 2 0 ) K u b e r n e t e s   S e c u r i t y   B e s t   P r a c t i c e s   ( K u b e r n e t e s   F o r u m   S e o u l   2 0 1 9 ) T o w a r d s   M e a s u r e d   B o o t   O u t   o f   t h e   B o x   ( L i n u x   S e c u r i t y   S u m m i t   2 0 1 6 )",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/cloud-native-security/",
    "id": "k8s_00176_section_3_3152"
  },
  {
    "question": "What is Kubernetes and information security?",
    "answer": "K u b e r n e t e s   s e c u r i t y S e c u r i n g   y o u r   c l u s t e r D a t a   e n c r y p t i o n   i n   t r a n s i t   f o r   t h e   c o n t r o l   p l a n e D a t a   e n c r y p t i o n   a t   r e s t S e c r e t s   i n   K u b e r n e t e s C o n t r o l l i n g   A c c e s s   t o   t h e   K u b e r n e t e s   A P I N e t w o r k   p o l i c i e s   f o r   P o d s P o d   s e c u r i t y   s t a n d a r d s R u n t i m e C l a s s e s",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/cloud-native-security/",
    "id": "k8s_00176_section_3_3153"
  },
  {
    "question": "What is Deprecated API Migration Guide?",
    "answer": "Deprecated API Migration GuideAs the Kubernetes API evolves, APIs are periodically reorganized or upgraded. When APIs evolve, the old API is deprecated and eventually removed. This page contains information you need to know when migrating from deprecated API versions to newer and more stable API versions.Removed APIs by releasev1.32The v1.32 release stopped serving the following deprecated API versions:Flow control resourcesThe flowcontrol.apiserver.k8s.io/v1beta3 API version of FlowSchema and PriorityLevelConfiguration is no longer served as of v1.32.Migrate manifests and API clients to use the flowcontrol.apiserver.k8s.io/v1 API version, available since v1.29.All existing persisted objects are accessible via the new APINotable changes in flowcontrol.apiserver.k8s.io/v1:The PriorityLevelConfiguration spec.limited.nominalConcurrencyShares field only defaults to 30 when unspecified, and an explicit value of 0 is not changed to 30.v1.29The v1.29 release stopped serving the following deprecated API versions:Flow control resourcesThe flowcontrol.apiserver.k8s.io/v1beta2 API version of FlowSchema and PriorityLevelConfiguration is no longer served as of v1.29.Migrate manifests and API clients to use the flowcontrol.apiserver.k8s.io/v1 API version, available since v1.29, or the flowcontrol.apiserver.k8s.io/v1beta3 API version, available since v1.26.All existing persisted objects are accessible via the new APINotable changes in flowcontrol.apiserver.k8s.io/v1:The PriorityLevelConfiguration spec.limited.assuredConcurrencyShares field is renamed to spec.limited.nominalConcurrencyShares and only defaults to 30 when unspecified, and an explicit value of 0 is not changed to 30.Notable changes in flowcontrol.apiserver.k8s.io/v1beta3:The PriorityLevelConfiguration spec.limited.assuredConcurrencyShares field is renamed to spec.limited.nominalConcurrencySharesv1.27The v1.27 release stopped serving the following deprecated API versions:CSIStorageCapacityThe storage.k8s.io/v1beta1 API version of CSIStorageCapacity is no longer served as of v1.27.Migrate manifests and API clients to use the storage.k8s.io/v1 API version, available since v1.24.All existing persisted objects are accessible via the new APINo notable changesv1.26The v1.26 release stopped serving the following deprecated API versions:Flow control resourcesThe flowcontrol.apiserver.k8s.io/v1beta1 API version of FlowSchema and PriorityLevelConfiguration is no longer served as of v1.26.Migrate manifests and API clients to use the flowcontrol.apiserver.k8s.io/v1beta2 API version.All existing persisted objects are accessible via the new APINo notable changesHorizontalPodAutoscalerThe autoscaling/v2beta2 API version of HorizontalPodAutoscaler is no longer served as of v1.26.Migrate manifests and API clients to use the autoscaling/v2 API version, available since v1.23.All existing persisted objects are accessible via the new APINotable changes:targetAverageUtilization is replaced with target.averageUtilization ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_qa_3154"
  },
  {
    "question": "How does Deprecated API Migration Guide work?",
    "answer": "Deprecated API Migration GuideAs the Kubernetes API evolves, APIs are periodically reorganized or upgraded. When APIs evolve, the old API is deprecated and eventually removed. This page contains information you need to know when migrating from deprecated API versions to newer and more stable API versions.Removed APIs by releasev1.32The v1.32 release stopped serving the following deprecated API versions:Flow control resourcesThe flowcontrol.apiserver.k8s.io/v1beta3 API version of FlowSchema and PriorityLevelConfiguration is no longer served as of v1.32.Migrate manifests and API clients to use the flowcontrol.apiserver.k8s.io/v1 API version, available since v1.29.All existing persisted objects are accessible via the new APINotable changes in flowcontrol.apiserver.k8s.io/v1:The PriorityLevelConfiguration spec.limited.nominalConcurrencyShares field only defaults to 30 when unspecified, and an explicit value of 0 is not changed to 30.v1.29The v1.29 release stopped serving the following deprecated API versions:Flow control resourcesThe flowcontrol.apiserver.k8s.io/v1beta2 API version of FlowSchema and PriorityLevelConfiguration is no longer served as of v1.29.Migrate manifests and API clients to use the flowcontrol.apiserver.k8s.io/v1 API version, available since v1.29, or the flowcontrol.apiserver.k8s.io/v1beta3 API version, available since v1.26.All existing persisted objects are accessible via the new APINotable changes in flowcontrol.apiserver.k8s.io/v1:The PriorityLevelConfiguration spec.limited.assuredConcurrencyShares field is renamed to spec.limited.nominalConcurrencyShares and only defaults to 30 when unspecified, and an explicit value of 0 is not changed to 30.Notable changes in flowcontrol.apiserver.k8s.io/v1beta3:The PriorityLevelConfiguration spec.limited.assuredConcurrencyShares field is renamed to spec.limited.nominalConcurrencySharesv1.27The v1.27 release stopped serving the following deprecated API versions:CSIStorageCapacityThe storage.k8s.io/v1beta1 API version of CSIStorageCapacity is no longer served as of v1.27.Migrate manifests and API clients to use the storage.k8s.io/v1 API version, available since v1.24.All existing persisted objects are accessible via the new APINo notable changesv1.26The v1.26 release stopped serving the following deprecated API versions:Flow control resourcesThe flowcontrol.apiserver.k8s.io/v1beta1 API version of FlowSchema and PriorityLevelConfiguration is no longer served as of v1.26.Migrate manifests and API clients to use the flowcontrol.apiserver.k8s.io/v1beta2 API version.All existing persisted objects are accessible via the new APINo notable changesHorizontalPodAutoscalerThe autoscaling/v2beta2 API version of HorizontalPodAutoscaler is no longer served as of v1.26.Migrate manifests and API clients to use the autoscaling/v2 API version, available since v1.23.All existing persisted objects are accessible via the new APINotable changes:targetAverageUtilization is replaced with target.averageUtilization ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_qa_3155"
  },
  {
    "question": "When would you use Deprecated API Migration Guide?",
    "answer": "Deprecated API Migration GuideAs the Kubernetes API evolves, APIs are periodically reorganized or upgraded. When APIs evolve, the old API is deprecated and eventually removed. This page contains information you need to know when migrating from deprecated API versions to newer and more stable API versions.Removed APIs by releasev1.32The v1.32 release stopped serving the following deprecated API versions:Flow control resourcesThe flowcontrol.apiserver.k8s.io/v1beta3 API version of FlowSchema and PriorityLevelConfiguration is no longer served as of v1.32.Migrate manifests and API clients to use the flowcontrol.apiserver.k8s.io/v1 API version, available since v1.29.All existing persisted objects are accessible via the new APINotable changes in flowcontrol.apiserver.k8s.io/v1:The PriorityLevelConfiguration spec.limited.nominalConcurrencyShares field only defaults to 30 when unspecified, and an explicit value of 0 is not changed to 30.v1.29The v1.29 release stopped serving the following deprecated API versions:Flow control resourcesThe flowcontrol.apiserver.k8s.io/v1beta2 API version of FlowSchema and PriorityLevelConfiguration is no longer served as of v1.29.Migrate manifests and API clients to use the flowcontrol.apiserver.k8s.io/v1 API version, available since v1.29, or the flowcontrol.apiserver.k8s.io/v1beta3 API version, available since v1.26.All existing persisted objects are accessible via the new APINotable changes in flowcontrol.apiserver.k8s.io/v1:The PriorityLevelConfiguration spec.limited.assuredConcurrencyShares field is renamed to spec.limited.nominalConcurrencyShares and only defaults to 30 when unspecified, and an explicit value of 0 is not changed to 30.Notable changes in flowcontrol.apiserver.k8s.io/v1beta3:The PriorityLevelConfiguration spec.limited.assuredConcurrencyShares field is renamed to spec.limited.nominalConcurrencySharesv1.27The v1.27 release stopped serving the following deprecated API versions:CSIStorageCapacityThe storage.k8s.io/v1beta1 API version of CSIStorageCapacity is no longer served as of v1.27.Migrate manifests and API clients to use the storage.k8s.io/v1 API version, available since v1.24.All existing persisted objects are accessible via the new APINo notable changesv1.26The v1.26 release stopped serving the following deprecated API versions:Flow control resourcesThe flowcontrol.apiserver.k8s.io/v1beta1 API version of FlowSchema and PriorityLevelConfiguration is no longer served as of v1.26.Migrate manifests and API clients to use the flowcontrol.apiserver.k8s.io/v1beta2 API version.All existing persisted objects are accessible via the new APINo notable changesHorizontalPodAutoscalerThe autoscaling/v2beta2 API version of HorizontalPodAutoscaler is no longer served as of v1.26.Migrate manifests and API clients to use the autoscaling/v2 API version, available since v1.23.All existing persisted objects are accessible via the new APINotable changes:targetAverageUtilization is replaced with target.averageUtilization ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_qa_3156"
  },
  {
    "question": "What are the benefits of Deprecated API Migration Guide?",
    "answer": "Deprecated API Migration GuideAs the Kubernetes API evolves, APIs are periodically reorganized or upgraded. When APIs evolve, the old API is deprecated and eventually removed. This page contains information you need to know when migrating from deprecated API versions to newer and more stable API versions.Removed APIs by releasev1.32The v1.32 release stopped serving the following deprecated API versions:Flow control resourcesThe flowcontrol.apiserver.k8s.io/v1beta3 API version of FlowSchema and PriorityLevelConfiguration is no longer served as of v1.32.Migrate manifests and API clients to use the flowcontrol.apiserver.k8s.io/v1 API version, available since v1.29.All existing persisted objects are accessible via the new APINotable changes in flowcontrol.apiserver.k8s.io/v1:The PriorityLevelConfiguration spec.limited.nominalConcurrencyShares field only defaults to 30 when unspecified, and an explicit value of 0 is not changed to 30.v1.29The v1.29 release stopped serving the following deprecated API versions:Flow control resourcesThe flowcontrol.apiserver.k8s.io/v1beta2 API version of FlowSchema and PriorityLevelConfiguration is no longer served as of v1.29.Migrate manifests and API clients to use the flowcontrol.apiserver.k8s.io/v1 API version, available since v1.29, or the flowcontrol.apiserver.k8s.io/v1beta3 API version, available since v1.26.All existing persisted objects are accessible via the new APINotable changes in flowcontrol.apiserver.k8s.io/v1:The PriorityLevelConfiguration spec.limited.assuredConcurrencyShares field is renamed to spec.limited.nominalConcurrencyShares and only defaults to 30 when unspecified, and an explicit value of 0 is not changed to 30.Notable changes in flowcontrol.apiserver.k8s.io/v1beta3:The PriorityLevelConfiguration spec.limited.assuredConcurrencyShares field is renamed to spec.limited.nominalConcurrencySharesv1.27The v1.27 release stopped serving the following deprecated API versions:CSIStorageCapacityThe storage.k8s.io/v1beta1 API version of CSIStorageCapacity is no longer served as of v1.27.Migrate manifests and API clients to use the storage.k8s.io/v1 API version, available since v1.24.All existing persisted objects are accessible via the new APINo notable changesv1.26The v1.26 release stopped serving the following deprecated API versions:Flow control resourcesThe flowcontrol.apiserver.k8s.io/v1beta1 API version of FlowSchema and PriorityLevelConfiguration is no longer served as of v1.26.Migrate manifests and API clients to use the flowcontrol.apiserver.k8s.io/v1beta2 API version.All existing persisted objects are accessible via the new APINo notable changesHorizontalPodAutoscalerThe autoscaling/v2beta2 API version of HorizontalPodAutoscaler is no longer served as of v1.26.Migrate manifests and API clients to use the autoscaling/v2 API version, available since v1.23.All existing persisted objects are accessible via the new APINotable changes:targetAverageUtilization is replaced with target.averageUtilization ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_qa_3157"
  },
  {
    "question": "What is Deprecated API Migration Guide?",
    "answer": "A s   t h e   K u b e r n e t e s   A P I   e v o l v e s ,   A P I s   a r e   p e r i o d i c a l l y   r e o r g a n i z e d   o r   u p g r a d e d .   W h e n   A P I s   e v o l v e ,   t h e   o l d   A P I   i s   d e p r e c a t e d   a n d   e v e n t u a l l y   r e m o v e d .   T h i s   p a g e   c o n t a i n s   i n f o r m a t i o n   y o u   n e e d   t o   k n o w   w h e n   m i g r a t i n g   f r o m   d e p r e c a t e d   A P I   v e r s i o n s   t o   n e w e r   a n d   m o r e   s t a b l e   A P I   v e r s i o n s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_1_3158"
  },
  {
    "question": "What is v1.32?",
    "answer": "T h e   v 1 . 3 2   r e l e a s e   s t o p p e d   s e r v i n g   t h e   f o l l o w i n g   d e p r e c a t e d   A P I   v e r s i o n s :",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_3_3159"
  },
  {
    "question": "What is Flow control resources?",
    "answer": "T h e   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 b e t a 3   A P I   v e r s i o n   o f   F l o w S c h e m a   a n d   P r i o r i t y L e v e l C o n f i g u r a t i o n   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 3 2 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 2 9 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s   i n   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 : T h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   s p e c . l i m i t e d . n o m i n a l C o n c u r r e n c y S h a r e s   f i e l d   o n l y   d e f a u l t s   t o   3 0   w h e n   u n s p e c i f i e d ,   a n d   a n   e x p l i c i t   v a l u e   o f   0   i s   n o t   c h a n g e d   t o   3 0 .   T h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   s p e c . l i m i t e d . n o m i n a l C o n c u r r e n c y S h a r e s   f i e l d   o n l y   d e f a u l t s   t o   3 0   w h e n   u n s p e c i f i e d ,   a n d   a n   e x p l i c i t   v a l u e   o f   0   i s   n o t   c h a n g e d   t o   3 0 .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3160"
  },
  {
    "question": "What is v1.29?",
    "answer": "T h e   v 1 . 2 9   r e l e a s e   s t o p p e d   s e r v i n g   t h e   f o l l o w i n g   d e p r e c a t e d   A P I   v e r s i o n s :",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_3_3161"
  },
  {
    "question": "What is Flow control resources?",
    "answer": "T h e   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 b e t a 2   A P I   v e r s i o n   o f   F l o w S c h e m a   a n d   P r i o r i t y L e v e l C o n f i g u r a t i o n   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 9 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 2 9 ,   o r   t h e   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 b e t a 3   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 2 6 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s   i n   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 : T h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   s p e c . l i m i t e d . a s s u r e d C o n c u r r e n c y S h a r e s   f i e l d   i s   r e n a m e d   t o   s p e c . l i m i t e d . n o m i n a l C o n c u r r e n c y S h a r e s   a n d   o n l y   d e f a u l t s   t o   3 0   w h e n   u n s p e c i f i e d ,   a n d   a n   e x p l i c i t   v a l u e   o f   0   i s   n o t   c h a n g e d   t o   3 0 . N o t a b l e   c h a n g e s   i n   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 b e t a 3 : T h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   s p e c . l i m i t e d . a s s u r e d C o n c u r r e n c y S h a r e s   f i e l d   i s   r e n a m e d   t o   s p e c . l i m i t e d . n o m i n a l C o n c u r r e n c y S h a r e s   T h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   s p e c . l i m i t e d . a s s u r e d C o n c u r r e n c y S h a r e s   f i e l d   i s   r e n a m e d   t o   s p e c . l i m i t e d . n o m i n a l C o n c u r r e n c y S h a r e s   a n d   o n l y   d e f a u l t s   t o   3 0   w h e n   u n s p e c i f i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3162"
  },
  {
    "question": "What is v1.27?",
    "answer": "T h e   v 1 . 2 7   r e l e a s e   s t o p p e d   s e r v i n g   t h e   f o l l o w i n g   d e p r e c a t e d   A P I   v e r s i o n s :",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_3_3163"
  },
  {
    "question": "What is CSIStorageCapacity?",
    "answer": "T h e   s t o r a g e . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   C S I S t o r a g e C a p a c i t y   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 7 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   s t o r a g e . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 2 4 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o   n o t a b l e   c h a n g e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3164"
  },
  {
    "question": "What is v1.26?",
    "answer": "T h e   v 1 . 2 6   r e l e a s e   s t o p p e d   s e r v i n g   t h e   f o l l o w i n g   d e p r e c a t e d   A P I   v e r s i o n s :",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_3_3165"
  },
  {
    "question": "What is Flow control resources?",
    "answer": "T h e   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   F l o w S c h e m a   a n d   P r i o r i t y L e v e l C o n f i g u r a t i o n   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 6 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 b e t a 2   A P I   v e r s i o n . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o   n o t a b l e   c h a n g e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3166"
  },
  {
    "question": "What is HorizontalPodAutoscaler?",
    "answer": "T h e   a u t o s c a l i n g / v 2 b e t a 2   A P I   v e r s i o n   o f   H o r i z o n t a l P o d A u t o s c a l e r   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 6 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   a u t o s c a l i n g / v 2   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 2 3 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s : t a r g e t A v e r a g e U t i l i z a t i o n   i s   r e p l a c e d   w i t h   t a r g e t . a v e r a g e U t i l i z a t i o n   a n d   t a r g e t . t y p e :   U t i l i z a t i o n .   S e e   A u t o s c a l i n g   o n   m u l t i p l e   m e t r i c s   a n d   c u s t o m   m e t r i c s .   t a r g e t A v e r a g e U t i l i z a t i o n   i s   r e p l a c e d   w i t h   t a r g e t . a v e r a g e U t i l i z a t i o n   a n d   t a r g e t . t y p e :   U t i l i z a t i o n .   S e e   A u t o s c a l i n g   o n   m u l t i p l e   m e t r i c s   a n d   c u s t o m   m e t r i c s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3167"
  },
  {
    "question": "What is v1.25?",
    "answer": "T h e   v 1 . 2 5   r e l e a s e   s t o p p e d   s e r v i n g   t h e   f o l l o w i n g   d e p r e c a t e d   A P I   v e r s i o n s :",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_3_3168"
  },
  {
    "question": "What is CronJob?",
    "answer": "T h e   b a t c h / v 1 b e t a 1   A P I   v e r s i o n   o f   C r o n J o b   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 5 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   b a t c h / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 2 1 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o   n o t a b l e   c h a n g e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3169"
  },
  {
    "question": "What is EndpointSlice?",
    "answer": "T h e   d i s c o v e r y . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   E n d p o i n t S l i c e   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 5 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   d i s c o v e r y . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 2 1 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s   i n   d i s c o v e r y . k 8 s . i o / v 1 : u s e   p e r   E n d p o i n t   n o d e N a m e   f i e l d   i n s t e a d   o f   d e p r e c a t e d   t o p o l o g y [ \" k u b e r n e t e s . i o / h o s t n a m e \" ]   f i e l d u s e   p e r   E n d p o i n t   z o n e   f i e l d   i n s t e a d   o f   d e p r e c a t e d   t o p o l o g y [ \" t o p o l o g y . k u b e r n e t e s . i o / z o n e \" ]   f i e l d t o p o l o g y   i s   r e p l a c e d   w i t h   t h e   d e p r e c a t e d T o p o l o g y   f i e l d   w h i c h   i s   n o t   w r i t a b l e   i n   v 1   u s e   p e r   E n d p o i n t   n o d e N a m e   f i e l d   i n s t e a d   o f   d e p r e c a t e d   t o p o l o g y [ \" k u b e r n e t e s . i o / h o s t n a m e \" ]   f i e l d u s e   p e r   E n d p o i n t   z o n e   f i e l d   i n s t e a d   o f   d e p r e c a t e d   t o p o l o g y [ \" t o p o l o g y . k u b e r n e t e s . i o / z o n e \" ]   f i e l d t o p o l o g y   i s   r e p l a c e d   w i t h   t h e   d e p r e c a t e d T o p o l o g y   f i e l d   w h i c h   i s   n o t   w r i t a b l e   i n   v 1",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3170"
  },
  {
    "question": "What is Event?",
    "answer": "T h e   e v e n t s . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   E v e n t   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 5 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   e v e n t s . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 1 9 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s   i n   e v e n t s . k 8 s . i o / v 1 : t y p e   i s   l i m i t e d   t o   N o r m a l   a n d   W a r n i n g i n v o l v e d O b j e c t   i s   r e n a m e d   t o   r e g a r d i n g a c t i o n ,   r e a s o n ,   r e p o r t i n g C o n t r o l l e r ,   a n d   r e p o r t i n g I n s t a n c e   a r e   r e q u i r e d   w h e n   c r e a t i n g   n e w   e v e n t s . k 8 s . i o / v 1   E v e n t s u s e   e v e n t T i m e   i n s t e a d   o f   t h e   d e p r e c a t e d   f i r s t T i m e s t a m p   f i e l d   ( w h i c h   i s   r e n a m e d   t o   d e p r e c a t e d F i r s t T i m e s t a m p   a n d   n o t   p e r m i t t e d   i n   n e w   e v e n t s . k 8 s . i o / v 1   E v e n t s ) u s e   s e r i e s . l a s t O b s e r v e d T i m e   i n s t e a d   o f   t h e   d e p r e c a t e d   l a s t T i m e s t a m p   f i e l d   ( w h i c h   i s   r e n a m e d   t o   d e p r e c a t e d L a s t T i m e s t a m p   a n d   n o t   p e r m i t t e d   i n   n e w   e v e n t s . k 8 s . i o / v 1   E v e n t s ) u s e   s e r i e s . c o u n t   i n s t e a d   o f   t h e   d e p r e c a t e d   c o u n t   f i e l d   ( w h i c h   i s   r e n a m e d   t o   d e p r e c a t e d C o u n t   a n d   n o t   p e r m i t t e d   i n   n e w   e v e n t s . k 8 s . i o / v 1   E v e n t s ) u s e   r e p o r t i n g C o n t r o l l e r   i n s t e a d   o f   t h e   d e p r e c a t e d   s o u r c e . c o m p o n e n t   f i e l d   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3171"
  },
  {
    "question": "What is HorizontalPodAutoscaler?",
    "answer": "T h e   a u t o s c a l i n g / v 2 b e t a 1   A P I   v e r s i o n   o f   H o r i z o n t a l P o d A u t o s c a l e r   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 5 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   a u t o s c a l i n g / v 2   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 2 3 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s : t a r g e t A v e r a g e U t i l i z a t i o n   i s   r e p l a c e d   w i t h   t a r g e t . a v e r a g e U t i l i z a t i o n   a n d   t a r g e t . t y p e :   U t i l i z a t i o n .   S e e   A u t o s c a l i n g   o n   m u l t i p l e   m e t r i c s   a n d   c u s t o m   m e t r i c s .   t a r g e t A v e r a g e U t i l i z a t i o n   i s   r e p l a c e d   w i t h   t a r g e t . a v e r a g e U t i l i z a t i o n   a n d   t a r g e t . t y p e :   U t i l i z a t i o n .   S e e   A u t o s c a l i n g   o n   m u l t i p l e   m e t r i c s   a n d   c u s t o m   m e t r i c s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3172"
  },
  {
    "question": "What is PodDisruptionBudget?",
    "answer": "T h e   p o l i c y / v 1 b e t a 1   A P I   v e r s i o n   o f   P o d D i s r u p t i o n B u d g e t   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 5 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   p o l i c y / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 2 1 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s   i n   p o l i c y / v 1 : a n   e m p t y   s p e c . s e l e c t o r   ( { } )   w r i t t e n   t o   a   p o l i c y / v 1   P o d D i s r u p t i o n B u d g e t   s e l e c t s   a l l   p o d s   i n   t h e   n a m e s p a c e   ( i n   p o l i c y / v 1 b e t a 1   a n   e m p t y   s p e c . s e l e c t o r   s e l e c t e d   n o   p o d s ) .   A n   u n s e t   s p e c . s e l e c t o r   s e l e c t s   n o   p o d s   i n   e i t h e r   A P I   v e r s i o n .   a n   e m p t y   s p e c . s e l e c t o r   ( { } )   w r i t t e n   t o   a   p o l i c y / v 1   P o d D i s r u p t i o n B u d g e t   s e l e c t s   a l l   p o d s   i n   t h e   n a m e s p a c e   ( i n   p o l i c y / v 1 b e t a 1   a n   e m p t y   s p e c . s e l e c t o r   s e l e c t e d   n o   p o d s ) .   A n   u n s e t   s p e c . s e l e c t o r   s e l e c t s   n o   p o d s   i n   e i t h e r   A P I   v e r s i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3173"
  },
  {
    "question": "What is PodSecurityPolicy?",
    "answer": "P o d S e c u r i t y P o l i c y   i n   t h e   p o l i c y / v 1 b e t a 1   A P I   v e r s i o n   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 5 ,   a n d   t h e   P o d S e c u r i t y P o l i c y   a d m i s s i o n   c o n t r o l l e r   w i l l   b e   r e m o v e d .   M i g r a t e   t o   P o d   S e c u r i t y   A d m i s s i o n   o r   a   3 r d   p a r t y   a d m i s s i o n   w e b h o o k .   F o r   a   m i g r a t i o n   g u i d e ,   s e e   M i g r a t e   f r o m   P o d S e c u r i t y P o l i c y   t o   t h e   B u i l t - I n   P o d S e c u r i t y   A d m i s s i o n   C o n t r o l l e r .   F o r   m o r e   i n f o r m a t i o n   o n   t h e   d e p r e c a t i o n ,   s e e   P o d S e c u r i t y P o l i c y   D e p r e c a t i o n :   P a s t ,   P r e s e n t ,   a n d   F u t u r e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3174"
  },
  {
    "question": "What is RuntimeClass?",
    "answer": "R u n t i m e C l a s s   i n   t h e   n o d e . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 5 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   n o d e . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 2 0 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o   n o t a b l e   c h a n g e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3175"
  },
  {
    "question": "What is v1.22?",
    "answer": "T h e   v 1 . 2 2   r e l e a s e   s t o p p e d   s e r v i n g   t h e   f o l l o w i n g   d e p r e c a t e d   A P I   v e r s i o n s :",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_3_3176"
  },
  {
    "question": "What is Webhook resources?",
    "answer": "T h e   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   a n d   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 2 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 1 6 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I s N o t a b l e   c h a n g e s : w e b h o o k s [ * ] . f a i l u r e P o l i c y   d e f a u l t   c h a n g e d   f r o m   I g n o r e   t o   F a i l   f o r   v 1 w e b h o o k s [ * ] . m a t c h P o l i c y   d e f a u l t   c h a n g e d   f r o m   E x a c t   t o   E q u i v a l e n t   f o r   v 1 w e b h o o k s [ * ] . t i m e o u t S e c o n d s   d e f a u l t   c h a n g e d   f r o m   3 0 s   t o   1 0 s   f o r   v 1 w e b h o o k s [ * ] . s i d e E f f e c t s   d e f a u l t   v a l u e   i s   r e m o v e d ,   a n d   t h e   f i e l d   m a d e   r e q u i r e d ,   a n d   o n l y   N o n e   a n d   N o n e O n D r y R u n   a r e   p e r m i t t e d   f o r   v 1 w e b h o o k s [ * ] . a d m i s s i o n R e v i e w V e r s i o n s   d e f a u l t   v a l u e   i s   r e m o v e d   a n d   t h e   f i e l d   m a d e   r e q u i r e d   f o r   v 1   ( s u p p o r t e d   v e r s i o n s   f o r   A d m i s s i o n R e v i e w   a r e   v 1   a n d   v 1 b e t a 1 ) w e b h o o k s [ * ] . n a m e   m u s t   b e   u n i q u e   i n   t h e   l i s t   f o r   o b j e c t s   c r e a t e d   v i a   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   w e b h o o k s [ * ] . f a i l u r e P o l i c y   d e f a u l t   c h a n g e d   f r o m   I g n o r e   t o   F a i l   f o r   v 1 ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3177"
  },
  {
    "question": "What is CustomResourceDefinition?",
    "answer": "T h e   a p i e x t e n s i o n s . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   C u s t o m R e s o u r c e D e f i n i t i o n   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 2 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   a p i e x t e n s i o n s . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 1 6 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s : s p e c . s c o p e   i s   n o   l o n g e r   d e f a u l t e d   t o   N a m e s p a c e d   a n d   m u s t   b e   e x p l i c i t l y   s p e c i f i e d s p e c . v e r s i o n   i s   r e m o v e d   i n   v 1 ;   u s e   s p e c . v e r s i o n s   i n s t e a d s p e c . v a l i d a t i o n   i s   r e m o v e d   i n   v 1 ;   u s e   s p e c . v e r s i o n s [ * ] . s c h e m a   i n s t e a d s p e c . s u b r e s o u r c e s   i s   r e m o v e d   i n   v 1 ;   u s e   s p e c . v e r s i o n s [ * ] . s u b r e s o u r c e s   i n s t e a d s p e c . a d d i t i o n a l P r i n t e r C o l u m n s   i s   r e m o v e d   i n   v 1 ;   u s e   s p e c . v e r s i o n s [ * ] . a d d i t i o n a l P r i n t e r C o l u m n s   i n s t e a d s p e c . c o n v e r s i o n . w e b h o o k C l i e n t C o n f i g   i s   m o v e d   t o   s p e c . c o n v e r s i o n . w e b h o o k . c l i e n t C o n f i g   i n   v 1 s p e c . c o n v e r s i o n . c o n v e r s i o n R e v i e w V e r s i o n s   i s   m o v e d   t o   s p e c . c o n v e r s i o n . w e b h o o k . c o n v e r s i o n R e v i e w V e r s i o n s   i n   v 1 s p e c . v e r s i o n s [ * ] . s c h e m a . o p e n A P I V 3 S c h e m a   i s   n o w   r e q u i r e d   w h e n   c r e a t i n g   v 1   C u s t o m R e s o u r c e D e f i n i t i o n   o b j e c t s ,   a n d   m u s t   b e   a   s t r u c t u r a l   s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3178"
  },
  {
    "question": "What is APIService?",
    "answer": "T h e   a p i r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   A P I S e r v i c e   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 2 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   a p i r e g i s t r a t i o n . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 1 0 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o   n o t a b l e   c h a n g e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3179"
  },
  {
    "question": "What is TokenReview?",
    "answer": "T h e   a u t h e n t i c a t i o n . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   T o k e n R e v i e w   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 2 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   a u t h e n t i c a t i o n . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 6 . N o   n o t a b l e   c h a n g e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3180"
  },
  {
    "question": "What is SubjectAccessReview resources?",
    "answer": "T h e   a u t h o r i z a t i o n . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   L o c a l S u b j e c t A c c e s s R e v i e w ,   S e l f S u b j e c t A c c e s s R e v i e w ,   S u b j e c t A c c e s s R e v i e w ,   a n d   S e l f S u b j e c t R u l e s R e v i e w   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 2 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   a u t h o r i z a t i o n . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 6 . N o t a b l e   c h a n g e s : s p e c . g r o u p   w a s   r e n a m e d   t o   s p e c . g r o u p s   i n   v 1   ( f i x e s   # 3 2 7 0 9 )   s p e c . g r o u p   w a s   r e n a m e d   t o   s p e c . g r o u p s   i n   v 1   ( f i x e s   # 3 2 7 0 9 )",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3181"
  },
  {
    "question": "What is CertificateSigningRequest?",
    "answer": "T h e   c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   C e r t i f i c a t e S i g n i n g R e q u e s t   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 2 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   c e r t i f i c a t e s . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 1 9 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s   i n   c e r t i f i c a t e s . k 8 s . i o / v 1 : F o r   A P I   c l i e n t s   r e q u e s t i n g   c e r t i f i c a t e s : s p e c . s i g n e r N a m e   i s   n o w   r e q u i r e d   ( s e e   k n o w n   K u b e r n e t e s   s i g n e r s ) ,   a n d   r e q u e s t s   f o r   k u b e r n e t e s . i o / l e g a c y - u n k n o w n   a r e   n o t   a l l o w e d   t o   b e   c r e a t e d   v i a   t h e   c e r t i f i c a t e s . k 8 s . i o / v 1   A P I s p e c . u s a g e s   i s   n o w   r e q u i r e d ,   m a y   n o t   c o n t a i n   d u p l i c a t e   v a l u e s ,   a n d   m u s t   o n l y   c o n t a i n   k n o w n   u s a g e s F o r   A P I   c l i e n t s   a p p r o v i n g   o r   s i g n i n g   c e r t i f i c a t e s : s t a t u s . c o n d i t i o n s   m a y   n o t   c o n t a i n   d u p l i c a t e   t y p e s s t a t u s . c o n d i t i o n s [ * ] . s t a t u s   i s   n o w   r e q u i r e d s t a t u s . c e r t i f i c a t e   m u s t   b e   P E M - e n c o d e d ,   a n d   c o n t a i n   o n l y   C E R T I F I C A T E   b l o c k s   F o r   A P I   c l i e n t s   r e q u e s t i n g   c e r t i f i c a t e s : s p e c . s i g n e r N a m e   i s   n o w   r e q u i r e d   ( s e e   k n o w n   K u b e r n e t e s   s i g n e r s ) ,   a n d   r e q u e s t s   f o r   k u b e r n e t e s . i o / l e g a c y - u n k n o w n   a r e   n o t   a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3182"
  },
  {
    "question": "What is Lease?",
    "answer": "T h e   c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   L e a s e   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 2 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   c o o r d i n a t i o n . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 1 4 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o   n o t a b l e   c h a n g e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3183"
  },
  {
    "question": "What is Ingress?",
    "answer": "T h e   e x t e n s i o n s / v 1 b e t a 1   a n d   n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n s   o f   I n g r e s s   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 2 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   n e t w o r k i n g . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 1 9 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s : s p e c . b a c k e n d   i s   r e n a m e d   t o   s p e c . d e f a u l t B a c k e n d T h e   b a c k e n d   s e r v i c e N a m e   f i e l d   i s   r e n a m e d   t o   s e r v i c e . n a m e N u m e r i c   b a c k e n d   s e r v i c e P o r t   f i e l d s   a r e   r e n a m e d   t o   s e r v i c e . p o r t . n u m b e r S t r i n g   b a c k e n d   s e r v i c e P o r t   f i e l d s   a r e   r e n a m e d   t o   s e r v i c e . p o r t . n a m e p a t h T y p e   i s   n o w   r e q u i r e d   f o r   e a c h   s p e c i f i e d   p a t h .   O p t i o n s   a r e   P r e f i x ,   E x a c t ,   a n d   I m p l e m e n t a t i o n S p e c i f i c .   T o   m a t c h   t h e   u n d e f i n e d   v 1 b e t a 1   b e h a v i o r ,   u s e   I m p l e m e n t a t i o n S p e c i f i c .   s p e c . b a c k e n d   i s   r e n a m e d   t o   s p e c . d e f a u l t B a c k e n d T h e   b a c k e n d   s e r v i c e N a m e   f i e l d   i s   r e n a m e d   t o   s e r v i c e . n a m e N u m e r i c   b a c k e n d   s e r v i c e P o r t   f i e l d s   a r e   r e n a m e d   t o   s e r v i c e . p o r t . n u m b e r S t r i n g   b a c k e n d   s e r v i c e P o r t   f i e l d s   a r e   r e n a m e d   t o   s e r v i c e . p o r t . n a m e p a t h T y p e   i s   n o w   r e q u i r e d   f o r   e a c h   s p e c i f i e d   p a t h .   O p t i o n s   a r e   P r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3184"
  },
  {
    "question": "What is IngressClass?",
    "answer": "T h e   n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   I n g r e s s C l a s s   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 2 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   n e t w o r k i n g . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 1 9 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o   n o t a b l e   c h a n g e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3185"
  },
  {
    "question": "What is RBAC resources?",
    "answer": "T h e   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   C l u s t e r R o l e ,   C l u s t e r R o l e B i n d i n g ,   R o l e ,   a n d   R o l e B i n d i n g   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 2 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 8 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I s N o   n o t a b l e   c h a n g e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3186"
  },
  {
    "question": "What is PriorityClass?",
    "answer": "T h e   s c h e d u l i n g . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   P r i o r i t y C l a s s   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 2 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   s c h e d u l i n g . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 1 4 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o   n o t a b l e   c h a n g e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3187"
  },
  {
    "question": "What is Storage resources?",
    "answer": "T h e   s t o r a g e . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   C S I D r i v e r ,   C S I N o d e ,   S t o r a g e C l a s s ,   a n d   V o l u m e A t t a c h m e n t   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 2 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   s t o r a g e . k 8 s . i o / v 1   A P I   v e r s i o n C S I D r i v e r   i s   a v a i l a b l e   i n   s t o r a g e . k 8 s . i o / v 1   s i n c e   v 1 . 1 9 . C S I N o d e   i s   a v a i l a b l e   i n   s t o r a g e . k 8 s . i o / v 1   s i n c e   v 1 . 1 7 S t o r a g e C l a s s   i s   a v a i l a b l e   i n   s t o r a g e . k 8 s . i o / v 1   s i n c e   v 1 . 6 V o l u m e A t t a c h m e n t   i s   a v a i l a b l e   i n   s t o r a g e . k 8 s . i o / v 1   v 1 . 1 3 A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I s N o   n o t a b l e   c h a n g e s   C S I D r i v e r   i s   a v a i l a b l e   i n   s t o r a g e . k 8 s . i o / v 1   s i n c e   v 1 . 1 9 . C S I N o d e   i s   a v a i l a b l e   i n   s t o r a g e . k 8 s . i o / v 1   s i n c e   v 1 . 1 7 S t o r a g e C l a s s   i s   a v a i l a b l e   i n   s t o r a g e . k 8 s . i o / v 1   s i n c e   v 1 . 6 V o l u m e A t t a c h m e n t   i s   a v a i l a b l e   i n   s t o r a g e . k 8 s . i o / v 1   v 1 . 1 3",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3188"
  },
  {
    "question": "What is v1.16?",
    "answer": "T h e   v 1 . 1 6   r e l e a s e   s t o p p e d   s e r v i n g   t h e   f o l l o w i n g   d e p r e c a t e d   A P I   v e r s i o n s :",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_3_3189"
  },
  {
    "question": "What is NetworkPolicy?",
    "answer": "T h e   e x t e n s i o n s / v 1 b e t a 1   A P I   v e r s i o n   o f   N e t w o r k P o l i c y   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 1 6 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   n e t w o r k i n g . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 8 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3190"
  },
  {
    "question": "What is DaemonSet?",
    "answer": "T h e   e x t e n s i o n s / v 1 b e t a 1   a n d   a p p s / v 1 b e t a 2   A P I   v e r s i o n s   o f   D a e m o n S e t   a r e   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 1 6 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   a p p s / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 9 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s : s p e c . t e m p l a t e G e n e r a t i o n   i s   r e m o v e d s p e c . s e l e c t o r   i s   n o w   r e q u i r e d   a n d   i m m u t a b l e   a f t e r   c r e a t i o n ;   u s e   t h e   e x i s t i n g   t e m p l a t e   l a b e l s   a s   t h e   s e l e c t o r   f o r   s e a m l e s s   u p g r a d e s s p e c . u p d a t e S t r a t e g y . t y p e   n o w   d e f a u l t s   t o   R o l l i n g U p d a t e   ( t h e   d e f a u l t   i n   e x t e n s i o n s / v 1 b e t a 1   w a s   O n D e l e t e )   s p e c . t e m p l a t e G e n e r a t i o n   i s   r e m o v e d s p e c . s e l e c t o r   i s   n o w   r e q u i r e d   a n d   i m m u t a b l e   a f t e r   c r e a t i o n ;   u s e   t h e   e x i s t i n g   t e m p l a t e   l a b e l s   a s   t h e   s e l e c t o r   f o r   s e a m l e s s   u p g r a d e s s p e c . u p d a t e S t r a t e g y . t y p e   n o w   d e f a u l t s   t o   R o l l i n g U p d a t e   ( t h e   d e f a u l t   i n   e x t e n s i o n s / v 1 b e t a 1   w a s   O n D e l e t e )",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3191"
  },
  {
    "question": "What is Deployment?",
    "answer": "T h e   e x t e n s i o n s / v 1 b e t a 1 ,   a p p s / v 1 b e t a 1 ,   a n d   a p p s / v 1 b e t a 2   A P I   v e r s i o n s   o f   D e p l o y m e n t   a r e   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 1 6 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   a p p s / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 9 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s : s p e c . r o l l b a c k T o   i s   r e m o v e d s p e c . s e l e c t o r   i s   n o w   r e q u i r e d   a n d   i m m u t a b l e   a f t e r   c r e a t i o n ;   u s e   t h e   e x i s t i n g   t e m p l a t e   l a b e l s   a s   t h e   s e l e c t o r   f o r   s e a m l e s s   u p g r a d e s s p e c . p r o g r e s s D e a d l i n e S e c o n d s   n o w   d e f a u l t s   t o   6 0 0   s e c o n d s   ( t h e   d e f a u l t   i n   e x t e n s i o n s / v 1 b e t a 1   w a s   n o   d e a d l i n e ) s p e c . r e v i s i o n H i s t o r y L i m i t   n o w   d e f a u l t s   t o   1 0   ( t h e   d e f a u l t   i n   a p p s / v 1 b e t a 1   w a s   2 ,   t h e   d e f a u l t   i n   e x t e n s i o n s / v 1 b e t a 1   w a s   t o   r e t a i n   a l l ) m a x S u r g e   a n d   m a x U n a v a i l a b l e   n o w   d e f a u l t   t o   2 5 %   ( t h e   d e f a u l t   i n   e x t e n s i o n s / v 1 b e t a 1   w a s   1 )   s p e c . r o l l b a c k T o   i s   r e m o v e d s p e c . s e l e c t o r   i s   n o w   r e q u i r e d   a n d   i m m u t a b l e   a f t e r   c r e a t i o n ;   u s e   t h e   e x i s t i n g   t e m p l a t e   l a b e l s   a s   t h e   s e l e c t o r   f o r   s e a m l e s s   u p g r a d e s s p e c . p r o g r e s s D e a d l i n e S e c o n d s   n o w   d e f a u l t s   t o   6 0 0   s e c o n d s   ( t h e   d e f a u l t   i n   e x t e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3192"
  },
  {
    "question": "What is StatefulSet?",
    "answer": "T h e   a p p s / v 1 b e t a 1   a n d   a p p s / v 1 b e t a 2   A P I   v e r s i o n s   o f   S t a t e f u l S e t   a r e   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 1 6 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   a p p s / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 9 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s : s p e c . s e l e c t o r   i s   n o w   r e q u i r e d   a n d   i m m u t a b l e   a f t e r   c r e a t i o n ;   u s e   t h e   e x i s t i n g   t e m p l a t e   l a b e l s   a s   t h e   s e l e c t o r   f o r   s e a m l e s s   u p g r a d e s s p e c . u p d a t e S t r a t e g y . t y p e   n o w   d e f a u l t s   t o   R o l l i n g U p d a t e   ( t h e   d e f a u l t   i n   a p p s / v 1 b e t a 1   w a s   O n D e l e t e )   s p e c . s e l e c t o r   i s   n o w   r e q u i r e d   a n d   i m m u t a b l e   a f t e r   c r e a t i o n ;   u s e   t h e   e x i s t i n g   t e m p l a t e   l a b e l s   a s   t h e   s e l e c t o r   f o r   s e a m l e s s   u p g r a d e s s p e c . u p d a t e S t r a t e g y . t y p e   n o w   d e f a u l t s   t o   R o l l i n g U p d a t e   ( t h e   d e f a u l t   i n   a p p s / v 1 b e t a 1   w a s   O n D e l e t e )",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3193"
  },
  {
    "question": "What is ReplicaSet?",
    "answer": "T h e   e x t e n s i o n s / v 1 b e t a 1 ,   a p p s / v 1 b e t a 1 ,   a n d   a p p s / v 1 b e t a 2   A P I   v e r s i o n s   o f   R e p l i c a S e t   a r e   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 1 6 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   a p p s / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 9 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s : s p e c . s e l e c t o r   i s   n o w   r e q u i r e d   a n d   i m m u t a b l e   a f t e r   c r e a t i o n ;   u s e   t h e   e x i s t i n g   t e m p l a t e   l a b e l s   a s   t h e   s e l e c t o r   f o r   s e a m l e s s   u p g r a d e s   s p e c . s e l e c t o r   i s   n o w   r e q u i r e d   a n d   i m m u t a b l e   a f t e r   c r e a t i o n ;   u s e   t h e   e x i s t i n g   t e m p l a t e   l a b e l s   a s   t h e   s e l e c t o r   f o r   s e a m l e s s   u p g r a d e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3194"
  },
  {
    "question": "What is PodSecurityPolicy?",
    "answer": "T h e   e x t e n s i o n s / v 1 b e t a 1   A P I   v e r s i o n   o f   P o d S e c u r i t y P o l i c y   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 1 6 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t   t o   u s e   t h e   p o l i c y / v 1 b e t a 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 1 0 . N o t e   t h a t   t h e   p o l i c y / v 1 b e t a 1   A P I   v e r s i o n   o f   P o d S e c u r i t y P o l i c y   w i l l   b e   r e m o v e d   i n   v 1 . 2 5 .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3195"
  },
  {
    "question": "What is Test with deprecated APIs disabled?",
    "answer": "Y o u   c a n   t e s t   y o u r   c l u s t e r s   b y   s t a r t i n g   a n   A P I   s e r v e r   w i t h   s p e c i f i c   A P I   v e r s i o n s   d i s a b l e d   t o   s i m u l a t e   u p c o m i n g   r e m o v a l s .   A d d   t h e   f o l l o w i n g   f l a g   t o   t h e   A P I   s e r v e r   s t a r t u p   a r g u m e n t s :   - - r u n t i m e - c o n f i g = < g r o u p > / < v e r s i o n > = f a l s e   F o r   e x a m p l e :   - - r u n t i m e - c o n f i g = a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 = f a l s e , a p i e x t e n s i o n s . k 8 s . i o / v 1 b e t a 1 , . . .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_3_3196"
  },
  {
    "question": "What is Locate use of deprecated APIs?",
    "answer": "U s e   c l i e n t   w a r n i n g s ,   m e t r i c s ,   a n d   a u d i t   i n f o r m a t i o n   a v a i l a b l e   i n   1 . 1 9 +   t o   l o c a t e   u s e   o f   d e p r e c a t e d   A P I s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_3_3197"
  },
  {
    "question": "What is Migrate to non-deprecated APIs?",
    "answer": "U p d a t e   c u s t o m   i n t e g r a t i o n s   a n d   c o n t r o l l e r s   t o   c a l l   t h e   n o n - d e p r e c a t e d   A P I s C h a n g e   Y A M L   f i l e s   t o   r e f e r e n c e   t h e   n o n - d e p r e c a t e d   A P I s Y o u   c a n   u s e   t h e   k u b e c t l   c o n v e r t   c o m m a n d   t o   a u t o m a t i c a l l y   c o n v e r t   a n   e x i s t i n g   o b j e c t : k u b e c t l   c o n v e r t   - f   < f i l e >   - - o u t p u t - v e r s i o n   < g r o u p > / < v e r s i o n > . F o r   e x a m p l e ,   t o   c o n v e r t   a n   o l d e r   D e p l o y m e n t   t o   a p p s / v 1 ,   y o u   c a n   r u n : k u b e c t l   c o n v e r t   - f   . / m y - d e p l o y m e n t . y a m l   - - o u t p u t - v e r s i o n   a p p s / v 1 T h i s   c o n v e r s i o n   m a y   u s e   n o n - i d e a l   d e f a u l t   v a l u e s .   T o   l e a r n   m o r e   a b o u t   a   s p e c i f i c   r e s o u r c e ,   c h e c k   t h e   K u b e r n e t e s   A P I   r e f e r e n c e . N o t e : T h e   k u b e c t l   c o n v e r t   t o o l   i s   n o t   i n s t a l l e d   b y   d e f a u l t ,   a l t h o u g h   i n   f a c t   i t   o n c e   w a s   p a r t   o f   k u b e c t l   i t s e l f .   F o r   m o r e   d e t a i l s ,   y o u   c a n   r e a d   t h e   d e p r e c a t i o n   a n d   r e m o v a l   i s s u e   f o r   t h e   b u i l t - i n   s u b c o m m a n d . T o   l e a r n   h o w   t o   s e t   u p   k u b e c t l   c o n v e r t   o n   y o u r   c o m p u t e r ,   v i s i t   t h e   p a g e   t h a t   i s   r i g h t   f o r   y o u r   o p e r a t i n g   s y s t e m :   L i n u x ,   m a c O S ,   o r   W i n d o w s .   U p d a t e   c u s t o m   i n t e g r a t i o n s   a n d   c o n t r o l l e r s   t o   c a l l   t h e   n o n - d e p r e c a t e d   A P I s   C h a n g e   Y A M L   f i l e s   t o   r e f e r e n c e   t h e   n o n - d e p r e c a t e d   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_3_3198"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   k u b e c t l   c o n v e r t   t o o l   i s   n o t   i n s t a l l e d   b y   d e f a u l t ,   a l t h o u g h   i n   f a c t   i t   o n c e   w a s   p a r t   o f   k u b e c t l   i t s e l f .   F o r   m o r e   d e t a i l s ,   y o u   c a n   r e a d   t h e   d e p r e c a t i o n   a n d   r e m o v a l   i s s u e   f o r   t h e   b u i l t - i n   s u b c o m m a n d .   T o   l e a r n   h o w   t o   s e t   u p   k u b e c t l   c o n v e r t   o n   y o u r   c o m p u t e r ,   v i s i t   t h e   p a g e   t h a t   i s   r i g h t   f o r   y o u r   o p e r a t i n g   s y s t e m :   L i n u x ,   m a c O S ,   o r   W i n d o w s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
    "id": "k8s_00177_section_4_3199"
  },
  {
    "question": "What is Articles on dockershim Removal and on Using CRI-compatible Runtimes?",
    "answer": "Articles on dockershim Removal and on Using CRI-compatible RuntimesThis is a list of articles and other pages that are either about the Kubernetes' deprecation and removal of dockershim, or about using CRI-compatible container runtimes, in connection with that removal.Kubernetes projectKubernetes blog: Dockershim Removal FAQ (originally published 2020/12/02)Kubernetes blog: Updated: Dockershim Removal FAQ (updated published 2022/02/17)Kubernetes blog: Kubernetes is Moving on From Dockershim: Commitments and Next Steps (published 2022/01/07)Kubernetes blog: Dockershim removal is coming. Are you ready? (published 2021/11/12)Kubernetes documentation: Migrating from dockershimKubernetes documentation: Container RuntimesKubernetes enhancement proposal: KEP-2221: Removing dockershim from kubeletKubernetes enhancement proposal issue: Removing dockershim from kubelet (k/enhancements#2221)You can provide",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/topics-on-dockershim-and-cri-compatible-runtimes/",
    "id": "k8s_00178_qa_3200"
  },
  {
    "question": "How does Articles on dockershim Removal and on Using CRI-compatible Runtimes work?",
    "answer": "Articles on dockershim Removal and on Using CRI-compatible RuntimesThis is a list of articles and other pages that are either about the Kubernetes' deprecation and removal of dockershim, or about using CRI-compatible container runtimes, in connection with that removal.Kubernetes projectKubernetes blog: Dockershim Removal FAQ (originally published 2020/12/02)Kubernetes blog: Updated: Dockershim Removal FAQ (updated published 2022/02/17)Kubernetes blog: Kubernetes is Moving on From Dockershim: Commitments and Next Steps (published 2022/01/07)Kubernetes blog: Dockershim removal is coming. Are you ready? (published 2021/11/12)Kubernetes documentation: Migrating from dockershimKubernetes documentation: Container RuntimesKubernetes enhancement proposal: KEP-2221: Removing dockershim from kubeletKubernetes enhancement proposal issue: Removing dockershim from kubelet (k/enhancements#2221)You can provide",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/topics-on-dockershim-and-cri-compatible-runtimes/",
    "id": "k8s_00178_qa_3201"
  },
  {
    "question": "When would you use Articles on dockershim Removal and on Using CRI-compatible Runtimes?",
    "answer": "Articles on dockershim Removal and on Using CRI-compatible RuntimesThis is a list of articles and other pages that are either about the Kubernetes' deprecation and removal of dockershim, or about using CRI-compatible container runtimes, in connection with that removal.Kubernetes projectKubernetes blog: Dockershim Removal FAQ (originally published 2020/12/02)Kubernetes blog: Updated: Dockershim Removal FAQ (updated published 2022/02/17)Kubernetes blog: Kubernetes is Moving on From Dockershim: Commitments and Next Steps (published 2022/01/07)Kubernetes blog: Dockershim removal is coming. Are you ready? (published 2021/11/12)Kubernetes documentation: Migrating from dockershimKubernetes documentation: Container RuntimesKubernetes enhancement proposal: KEP-2221: Removing dockershim from kubeletKubernetes enhancement proposal issue: Removing dockershim from kubelet (k/enhancements#2221)You can provide",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/topics-on-dockershim-and-cri-compatible-runtimes/",
    "id": "k8s_00178_qa_3202"
  },
  {
    "question": "What are the benefits of Articles on dockershim Removal and on Using CRI-compatible Runtimes?",
    "answer": "Articles on dockershim Removal and on Using CRI-compatible RuntimesThis is a list of articles and other pages that are either about the Kubernetes' deprecation and removal of dockershim, or about using CRI-compatible container runtimes, in connection with that removal.Kubernetes projectKubernetes blog: Dockershim Removal FAQ (originally published 2020/12/02)Kubernetes blog: Updated: Dockershim Removal FAQ (updated published 2022/02/17)Kubernetes blog: Kubernetes is Moving on From Dockershim: Commitments and Next Steps (published 2022/01/07)Kubernetes blog: Dockershim removal is coming. Are you ready? (published 2021/11/12)Kubernetes documentation: Migrating from dockershimKubernetes documentation: Container RuntimesKubernetes enhancement proposal: KEP-2221: Removing dockershim from kubeletKubernetes enhancement proposal issue: Removing dockershim from kubelet (k/enhancements#2221)You can provide",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/topics-on-dockershim-and-cri-compatible-runtimes/",
    "id": "k8s_00178_qa_3203"
  },
  {
    "question": "What is Articles on dockershim Removal and on Using CRI-compatible Runtimes?",
    "answer": "T h i s   i s   a   l i s t   o f   a r t i c l e s   a n d   o t h e r   p a g e s   t h a t   a r e   e i t h e r   a b o u t   t h e   K u b e r n e t e s '   d e p r e c a t i o n   a n d   r e m o v a l   o f   d o c k e r s h i m ,   o r   a b o u t   u s i n g   C R I - c o m p a t i b l e   c o n t a i n e r   r u n t i m e s ,   i n   c o n n e c t i o n   w i t h   t h a t   r e m o v a l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/topics-on-dockershim-and-cri-compatible-runtimes/",
    "id": "k8s_00178_section_1_3204"
  },
  {
    "question": "What is Kubernetes project?",
    "answer": "K u b e r n e t e s   b l o g :   D o c k e r s h i m   R e m o v a l   F A Q   ( o r i g i n a l l y   p u b l i s h e d   2 0 2 0 / 1 2 / 0 2 ) K u b e r n e t e s   b l o g :   U p d a t e d :   D o c k e r s h i m   R e m o v a l   F A Q   ( u p d a t e d   p u b l i s h e d   2 0 2 2 / 0 2 / 1 7 ) K u b e r n e t e s   b l o g :   K u b e r n e t e s   i s   M o v i n g   o n   F r o m   D o c k e r s h i m :   C o m m i t m e n t s   a n d   N e x t   S t e p s   ( p u b l i s h e d   2 0 2 2 / 0 1 / 0 7 ) K u b e r n e t e s   b l o g :   D o c k e r s h i m   r e m o v a l   i s   c o m i n g .   A r e   y o u   r e a d y ?   ( p u b l i s h e d   2 0 2 1 / 1 1 / 1 2 ) K u b e r n e t e s   d o c u m e n t a t i o n :   M i g r a t i n g   f r o m   d o c k e r s h i m K u b e r n e t e s   d o c u m e n t a t i o n :   C o n t a i n e r   R u n t i m e s K u b e r n e t e s   e n h a n c e m e n t   p r o p o s a l :   K E P - 2 2 2 1 :   R e m o v i n g   d o c k e r s h i m   f r o m   k u b e l e t K u b e r n e t e s   e n h a n c e m e n t   p r o p o s a l   i s s u e :   R e m o v i n g   d o c k e r s h i m   f r o m   k u b e l e t   ( k / e n h a n c e m e n t s # 2 2 2 1 )   K u b e r n e t e s   b l o g :   D o c k e r s h i m   R e m o v a l   F A Q   ( o r i g i n a l l y   p u b l i s h e d   2 0 2 0 / 1 2 / 0 2 )   K u b e r n e t e s   b l o g :   U p d a t e d :   D o c k e r s h i m   R e m o v a l   F A Q   ( u p d a t e d   p u b l i s h e d   2 0 2 2 / 0 2 / 1 7 )   K u b e r n e t e s   b l o g :   K u b e r n e t e s   i s   M o v i n g   o n   F r o m   D o c k e r s h i m :   C o m m i t m e n t s   a n d   N e x t   S t e p s   ( p u b l i s h e d   2 0 2 2 / 0 1 / 0 7 )   K u b e r n e t e s   b l o g :   D o c k e r s h i m   r e m o v a l   i s   c o m i n g .   A r e   y o u   r e a d y ?   ( p u b l i s h e d   2 0 2 1 / 1 1 / 1 2 )   K u b e r n e t e s   d o c u m e n t a t i o n :   M i g r a t i n g   f r o m   d o c k e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/topics-on-dockershim-and-cri-compatible-runtimes/",
    "id": "k8s_00178_section_2_3205"
  },
  {
    "question": "What is External sources?",
    "answer": "A m a z o n   W e b   S e r v i c e s   E K S   d o c u m e n t a t i o n :   A m a z o n   E K S   i s   e n d i n g   s u p p o r t   f o r   D o c k e r s h i m C N C F   c o n f e r e n c e   v i d e o :   L e s s o n s   L e a r n e d   M i g r a t i n g   K u b e r n e t e s   f r o m   D o c k e r   t o   c o n t a i n e r d   R u n t i m e   ( A n a   C a y l i n ,   a t   K u b e C o n   E u r o p e   2 0 1 9 ) D o c k e r . c o m   b l o g :   W h a t   d e v e l o p e r s   n e e d   t o   k n o w   a b o u t   D o c k e r ,   D o c k e r   E n g i n e ,   a n d   K u b e r n e t e s   v 1 . 2 0   ( p u b l i s h e d   2 0 2 0 / 1 2 / 0 4 ) \" G o o g l e   O p e n   S o u r c e \"   c h a n n e l   o n   Y o u T u b e :   L e a r n   K u b e r n e t e s   w i t h   G o o g l e   -   M i g r a t i n g   f r o m   D o c k e r s h i m   t o   C o n t a i n e r d M i c r o s o f t   A p p s   o n   A z u r e   b l o g :   D o c k e r s h i m   d e p r e c a t i o n   a n d   A K S   ( p u b l i s h e d   2 0 2 2 / 0 1 / 2 1 ) M i r a n t i s   b l o g :   T h e   F u t u r e   o f   D o c k e r s h i m   i s   c r i - d o c k e r d   ( p u b l i s h e d   2 0 2 1 / 0 4 / 2 1 ) M i r a n t i s :   M i r a n t i s / c r i - d o c k e r d   O f f i c i a l   D o c u m e n t a t i o n T r i p w i r e :   H o w   D o c k e r s h i m ’ s   F o r t h c o m i n g   D e p r e c a t i o n   A f f e c t s   Y o u r   K u b e r n e t e s   ( p u b l i s h e d   2 0 2 1 / 0 7 / 0 1 )   A m a z o n   W e b   S e r v i c e s   E K S   d o c u m e n t a t i o n :   A m a z o n   E K S   i s   e n d i n g   s u p p o r t   f o r   D o c k e r s h i m   C N C F   c o n f e r e n c e   v i d e o :   L e s s o n s   L e a r n e d   M i g r a t i n g   K u b e r n e t e s   f r o m   D o c k e r   t o   c o n t a i n e r d   R u n t i m e   ( A n a   C a y l i n ,   a t   K u b e C o n   E u r o p e   2 0 1 9 )   D o c k e r . c o m   b l o g :   W h a t   d e v e l o p e r s   n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/topics-on-dockershim-and-cri-compatible-runtimes/",
    "id": "k8s_00178_section_2_3206"
  },
  {
    "question": "What is kubectl auth reconcile?",
    "answer": "kubectl auth reconcileSynopsisReconciles rules for RBAC role, role binding, cluster role, and cluster role binding objects.Missing objects are created, and the containing namespace is created for namespaced objects, if required.Existing roles are updated to include the permissions in the input objects, and remove extra permissions if --remove-extra-permissions is specified.Existing bindings are updated to include the subjects in the input objects, and remove extra subjects if --remove-extra-subjects is specified.This is preferred to 'apply' for RBAC resources so that semantically-aware merging of rules and subjects is done.kubectl auth reconcile -f FILENAME Examples # Reconcile RBAC resources from a file kubectl auth reconcile -f my-rbac-rules.yaml Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-f, --filename stringsFilename, directory, or URL to files identifying the resource to reconcile.-h, --helphelp for reconcile-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--remove-extra-permissionsIf true, removes extra permissions added to roles--remove-extra-subjectsIf true, removes extra subjects added to rolebindings--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verif",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_reconcile/",
    "id": "k8s_00179_qa_3207"
  },
  {
    "question": "How does kubectl auth reconcile work?",
    "answer": "kubectl auth reconcileSynopsisReconciles rules for RBAC role, role binding, cluster role, and cluster role binding objects.Missing objects are created, and the containing namespace is created for namespaced objects, if required.Existing roles are updated to include the permissions in the input objects, and remove extra permissions if --remove-extra-permissions is specified.Existing bindings are updated to include the subjects in the input objects, and remove extra subjects if --remove-extra-subjects is specified.This is preferred to 'apply' for RBAC resources so that semantically-aware merging of rules and subjects is done.kubectl auth reconcile -f FILENAME Examples # Reconcile RBAC resources from a file kubectl auth reconcile -f my-rbac-rules.yaml Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-f, --filename stringsFilename, directory, or URL to files identifying the resource to reconcile.-h, --helphelp for reconcile-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--remove-extra-permissionsIf true, removes extra permissions added to roles--remove-extra-subjectsIf true, removes extra subjects added to rolebindings--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verif",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_reconcile/",
    "id": "k8s_00179_qa_3208"
  },
  {
    "question": "When would you use kubectl auth reconcile?",
    "answer": "kubectl auth reconcileSynopsisReconciles rules for RBAC role, role binding, cluster role, and cluster role binding objects.Missing objects are created, and the containing namespace is created for namespaced objects, if required.Existing roles are updated to include the permissions in the input objects, and remove extra permissions if --remove-extra-permissions is specified.Existing bindings are updated to include the subjects in the input objects, and remove extra subjects if --remove-extra-subjects is specified.This is preferred to 'apply' for RBAC resources so that semantically-aware merging of rules and subjects is done.kubectl auth reconcile -f FILENAME Examples # Reconcile RBAC resources from a file kubectl auth reconcile -f my-rbac-rules.yaml Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-f, --filename stringsFilename, directory, or URL to files identifying the resource to reconcile.-h, --helphelp for reconcile-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--remove-extra-permissionsIf true, removes extra permissions added to roles--remove-extra-subjectsIf true, removes extra subjects added to rolebindings--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verif",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_reconcile/",
    "id": "k8s_00179_qa_3209"
  },
  {
    "question": "What are the benefits of kubectl auth reconcile?",
    "answer": "kubectl auth reconcileSynopsisReconciles rules for RBAC role, role binding, cluster role, and cluster role binding objects.Missing objects are created, and the containing namespace is created for namespaced objects, if required.Existing roles are updated to include the permissions in the input objects, and remove extra permissions if --remove-extra-permissions is specified.Existing bindings are updated to include the subjects in the input objects, and remove extra subjects if --remove-extra-subjects is specified.This is preferred to 'apply' for RBAC resources so that semantically-aware merging of rules and subjects is done.kubectl auth reconcile -f FILENAME Examples # Reconcile RBAC resources from a file kubectl auth reconcile -f my-rbac-rules.yaml Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-f, --filename stringsFilename, directory, or URL to files identifying the resource to reconcile.-h, --helphelp for reconcile-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--remove-extra-permissionsIf true, removes extra permissions added to roles--remove-extra-subjectsIf true, removes extra subjects added to rolebindings--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verif",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_reconcile/",
    "id": "k8s_00179_qa_3210"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e c o n c i l e s   r u l e s   f o r   R B A C   r o l e ,   r o l e   b i n d i n g ,   c l u s t e r   r o l e ,   a n d   c l u s t e r   r o l e   b i n d i n g   o b j e c t s .   M i s s i n g   o b j e c t s   a r e   c r e a t e d ,   a n d   t h e   c o n t a i n i n g   n a m e s p a c e   i s   c r e a t e d   f o r   n a m e s p a c e d   o b j e c t s ,   i f   r e q u i r e d .   E x i s t i n g   r o l e s   a r e   u p d a t e d   t o   i n c l u d e   t h e   p e r m i s s i o n s   i n   t h e   i n p u t   o b j e c t s ,   a n d   r e m o v e   e x t r a   p e r m i s s i o n s   i f   - - r e m o v e - e x t r a - p e r m i s s i o n s   i s   s p e c i f i e d .   E x i s t i n g   b i n d i n g s   a r e   u p d a t e d   t o   i n c l u d e   t h e   s u b j e c t s   i n   t h e   i n p u t   o b j e c t s ,   a n d   r e m o v e   e x t r a   s u b j e c t s   i f   - - r e m o v e - e x t r a - s u b j e c t s   i s   s p e c i f i e d .   T h i s   i s   p r e f e r r e d   t o   ' a p p l y '   f o r   R B A C   r e s o u r c e s   s o   t h a t   s e m a n t i c a l l y - a w a r e   m e r g i n g   o f   r u l e s   a n d   s u b j e c t s   i s   d o n e .   k u b e c t l   a u t h   r e c o n c i l e   - f   F I L E N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_reconcile/",
    "id": "k8s_00179_section_2_3211"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R e c o n c i l e   R B A C   r e s o u r c e s   f r o m   a   f i l e   k u b e c t l   a u t h   r e c o n c i l e   - f   m y - r b a c - r u l e s . y a m l",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_reconcile/",
    "id": "k8s_00179_section_2_3212"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   r e c o n c i l e .   h e l p   f o r   r e c o n c i l e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   I f   t r u e ,   r e m o v e s   e x t r a   p e r m i s s i o n s   a d d e d   t o   r o l e s   I f   t r u e ,   r e m o v e s   e x t r a   s u b j e c t s   a d d e d   t o   r o l e b i n d i n g s   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_reconcile/",
    "id": "k8s_00179_section_2_3213"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_reconcile/",
    "id": "k8s_00179_section_2_3214"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   a u t h   -   I n s p e c t   a u t h o r i z a t i o n   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_reconcile/",
    "id": "k8s_00179_section_2_3215"
  },
  {
    "question": "What is Inject Data Into Applications?",
    "answer": "Inject Data Into ApplicationsSpecify configuration and other data for the Pods that run your workload.Define a Command and Arguments for a ContainerDefine Dependent Environment VariablesDefine Environment Variables for a ContainerDefine Environment Variable Values Using An Init ContainerExpose Pod Information to Containers Through Environment VariablesExpose Pod Information to Containers Through FilesDistribute Credentials Securely Using Secrets",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/",
    "id": "k8s_00180_qa_3216"
  },
  {
    "question": "How does Inject Data Into Applications work?",
    "answer": "Inject Data Into ApplicationsSpecify configuration and other data for the Pods that run your workload.Define a Command and Arguments for a ContainerDefine Dependent Environment VariablesDefine Environment Variables for a ContainerDefine Environment Variable Values Using An Init ContainerExpose Pod Information to Containers Through Environment VariablesExpose Pod Information to Containers Through FilesDistribute Credentials Securely Using Secrets",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/",
    "id": "k8s_00180_qa_3217"
  },
  {
    "question": "When would you use Inject Data Into Applications?",
    "answer": "Inject Data Into ApplicationsSpecify configuration and other data for the Pods that run your workload.Define a Command and Arguments for a ContainerDefine Dependent Environment VariablesDefine Environment Variables for a ContainerDefine Environment Variable Values Using An Init ContainerExpose Pod Information to Containers Through Environment VariablesExpose Pod Information to Containers Through FilesDistribute Credentials Securely Using Secrets",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/",
    "id": "k8s_00180_qa_3218"
  },
  {
    "question": "What are the benefits of Inject Data Into Applications?",
    "answer": "Inject Data Into ApplicationsSpecify configuration and other data for the Pods that run your workload.Define a Command and Arguments for a ContainerDefine Dependent Environment VariablesDefine Environment Variables for a ContainerDefine Environment Variable Values Using An Init ContainerExpose Pod Information to Containers Through Environment VariablesExpose Pod Information to Containers Through FilesDistribute Credentials Securely Using Secrets",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/",
    "id": "k8s_00180_qa_3219"
  },
  {
    "question": "What is Configure RunAsUserName for Windows pods and containers?",
    "answer": "Configure RunAsUserName for Windows pods and containersFEATURE STATE: Kubernetes v1.18 [stable]This page shows how to use the runAsUserName setting for Pods and containers that will run on Windows nodes. This is roughly equivalent of the Linux-specific runAsUser setting, allowing you to run applications in a container as a different username than the default.Before you beginYou need to have a Kubernetes cluster and the kubectl command-line tool must be configured to communicate with your cluster. The cluster is expected to have Windows worker nodes where pods with containers running Windows workloads will get scheduled.Set the Username for a PodTo specify the username with which to execute the Pod's container processes, include the securityContext field (PodSecurityContext) in the Pod specification, and within it, the windowsOptions (WindowsSecurityContextOptions) field containing the runAsUserName field.The Windows security context options that you specify for a Pod apply to all Containers and init Containers in the Pod.Here is a configuration file for a Windows Pod that has the runAsUserName field set:windows/run-as-username-pod.yaml apiVersion: v1 kind: Pod metadata: name: run-as-username-pod-demo spec: securityContext: windowsOptions: runAsUserName: \"ContainerUser\" containers: - name: run-as-username-demo image: mcr.microsoft.com/windows/servercore:ltsc2019 command: [\"ping\", \"-t\", \"localhost\"] nodeSelector: kubernetes.io/os: windows Create the Pod:kubectl apply -f https://k8s.io/examples/windows/run-as-username-pod.yaml Verify that the Pod's Container is running:kubectl get pod run-as-username-pod-demo Get a shell to the running Container:kubectl exec -it run-as-username-pod-demo -- powershell Check that the shell is running user the correct username:echo $env:USERNAME The output should be:ContainerUser Set the Username for a ContainerTo specify the username with which to execute a Container's processes, include the securityContext field (SecurityContext) in the Container manifest, and within it, the windowsOptions (WindowsSecurityContextOptions) field containing the runAsUserName field.The Windows security context options that you specify for a Container apply only to that individual Container, and they override the settings made at the Pod level.Here is the configuration file for a Pod that has one Container, and the runAsUserName field is set at the Pod level and the Container level:windows/run-as-username-container.yaml apiVersion: v1 kind: Pod metadata: name: run-as-username-container-demo spec: securityContext: windowsOptions: runAsUserName: \"ContainerUser\" containers: - name: run-as-username-demo image: mcr.microsoft.com/windows/servercore:ltsc2019 command: [\"ping\", \"-t\", \"localhost\"] securityContext: windowsOptions: runAsUserName: \"ContainerAdministrator\" nodeSelector: kubernetes.io/os: windows Create the Pod:kubectl apply -f https://k8s.io/examples/windows/run-as-username-container.yaml Verify that the Pod's Container is running:kube",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-runasusername/",
    "id": "k8s_00181_qa_3220"
  },
  {
    "question": "How does Configure RunAsUserName for Windows pods and containers work?",
    "answer": "Configure RunAsUserName for Windows pods and containersFEATURE STATE: Kubernetes v1.18 [stable]This page shows how to use the runAsUserName setting for Pods and containers that will run on Windows nodes. This is roughly equivalent of the Linux-specific runAsUser setting, allowing you to run applications in a container as a different username than the default.Before you beginYou need to have a Kubernetes cluster and the kubectl command-line tool must be configured to communicate with your cluster. The cluster is expected to have Windows worker nodes where pods with containers running Windows workloads will get scheduled.Set the Username for a PodTo specify the username with which to execute the Pod's container processes, include the securityContext field (PodSecurityContext) in the Pod specification, and within it, the windowsOptions (WindowsSecurityContextOptions) field containing the runAsUserName field.The Windows security context options that you specify for a Pod apply to all Containers and init Containers in the Pod.Here is a configuration file for a Windows Pod that has the runAsUserName field set:windows/run-as-username-pod.yaml apiVersion: v1 kind: Pod metadata: name: run-as-username-pod-demo spec: securityContext: windowsOptions: runAsUserName: \"ContainerUser\" containers: - name: run-as-username-demo image: mcr.microsoft.com/windows/servercore:ltsc2019 command: [\"ping\", \"-t\", \"localhost\"] nodeSelector: kubernetes.io/os: windows Create the Pod:kubectl apply -f https://k8s.io/examples/windows/run-as-username-pod.yaml Verify that the Pod's Container is running:kubectl get pod run-as-username-pod-demo Get a shell to the running Container:kubectl exec -it run-as-username-pod-demo -- powershell Check that the shell is running user the correct username:echo $env:USERNAME The output should be:ContainerUser Set the Username for a ContainerTo specify the username with which to execute a Container's processes, include the securityContext field (SecurityContext) in the Container manifest, and within it, the windowsOptions (WindowsSecurityContextOptions) field containing the runAsUserName field.The Windows security context options that you specify for a Container apply only to that individual Container, and they override the settings made at the Pod level.Here is the configuration file for a Pod that has one Container, and the runAsUserName field is set at the Pod level and the Container level:windows/run-as-username-container.yaml apiVersion: v1 kind: Pod metadata: name: run-as-username-container-demo spec: securityContext: windowsOptions: runAsUserName: \"ContainerUser\" containers: - name: run-as-username-demo image: mcr.microsoft.com/windows/servercore:ltsc2019 command: [\"ping\", \"-t\", \"localhost\"] securityContext: windowsOptions: runAsUserName: \"ContainerAdministrator\" nodeSelector: kubernetes.io/os: windows Create the Pod:kubectl apply -f https://k8s.io/examples/windows/run-as-username-container.yaml Verify that the Pod's Container is running:kube",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-runasusername/",
    "id": "k8s_00181_qa_3221"
  },
  {
    "question": "When would you use Configure RunAsUserName for Windows pods and containers?",
    "answer": "Configure RunAsUserName for Windows pods and containersFEATURE STATE: Kubernetes v1.18 [stable]This page shows how to use the runAsUserName setting for Pods and containers that will run on Windows nodes. This is roughly equivalent of the Linux-specific runAsUser setting, allowing you to run applications in a container as a different username than the default.Before you beginYou need to have a Kubernetes cluster and the kubectl command-line tool must be configured to communicate with your cluster. The cluster is expected to have Windows worker nodes where pods with containers running Windows workloads will get scheduled.Set the Username for a PodTo specify the username with which to execute the Pod's container processes, include the securityContext field (PodSecurityContext) in the Pod specification, and within it, the windowsOptions (WindowsSecurityContextOptions) field containing the runAsUserName field.The Windows security context options that you specify for a Pod apply to all Containers and init Containers in the Pod.Here is a configuration file for a Windows Pod that has the runAsUserName field set:windows/run-as-username-pod.yaml apiVersion: v1 kind: Pod metadata: name: run-as-username-pod-demo spec: securityContext: windowsOptions: runAsUserName: \"ContainerUser\" containers: - name: run-as-username-demo image: mcr.microsoft.com/windows/servercore:ltsc2019 command: [\"ping\", \"-t\", \"localhost\"] nodeSelector: kubernetes.io/os: windows Create the Pod:kubectl apply -f https://k8s.io/examples/windows/run-as-username-pod.yaml Verify that the Pod's Container is running:kubectl get pod run-as-username-pod-demo Get a shell to the running Container:kubectl exec -it run-as-username-pod-demo -- powershell Check that the shell is running user the correct username:echo $env:USERNAME The output should be:ContainerUser Set the Username for a ContainerTo specify the username with which to execute a Container's processes, include the securityContext field (SecurityContext) in the Container manifest, and within it, the windowsOptions (WindowsSecurityContextOptions) field containing the runAsUserName field.The Windows security context options that you specify for a Container apply only to that individual Container, and they override the settings made at the Pod level.Here is the configuration file for a Pod that has one Container, and the runAsUserName field is set at the Pod level and the Container level:windows/run-as-username-container.yaml apiVersion: v1 kind: Pod metadata: name: run-as-username-container-demo spec: securityContext: windowsOptions: runAsUserName: \"ContainerUser\" containers: - name: run-as-username-demo image: mcr.microsoft.com/windows/servercore:ltsc2019 command: [\"ping\", \"-t\", \"localhost\"] securityContext: windowsOptions: runAsUserName: \"ContainerAdministrator\" nodeSelector: kubernetes.io/os: windows Create the Pod:kubectl apply -f https://k8s.io/examples/windows/run-as-username-container.yaml Verify that the Pod's Container is running:kube",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-runasusername/",
    "id": "k8s_00181_qa_3222"
  },
  {
    "question": "What are the benefits of Configure RunAsUserName for Windows pods and containers?",
    "answer": "Configure RunAsUserName for Windows pods and containersFEATURE STATE: Kubernetes v1.18 [stable]This page shows how to use the runAsUserName setting for Pods and containers that will run on Windows nodes. This is roughly equivalent of the Linux-specific runAsUser setting, allowing you to run applications in a container as a different username than the default.Before you beginYou need to have a Kubernetes cluster and the kubectl command-line tool must be configured to communicate with your cluster. The cluster is expected to have Windows worker nodes where pods with containers running Windows workloads will get scheduled.Set the Username for a PodTo specify the username with which to execute the Pod's container processes, include the securityContext field (PodSecurityContext) in the Pod specification, and within it, the windowsOptions (WindowsSecurityContextOptions) field containing the runAsUserName field.The Windows security context options that you specify for a Pod apply to all Containers and init Containers in the Pod.Here is a configuration file for a Windows Pod that has the runAsUserName field set:windows/run-as-username-pod.yaml apiVersion: v1 kind: Pod metadata: name: run-as-username-pod-demo spec: securityContext: windowsOptions: runAsUserName: \"ContainerUser\" containers: - name: run-as-username-demo image: mcr.microsoft.com/windows/servercore:ltsc2019 command: [\"ping\", \"-t\", \"localhost\"] nodeSelector: kubernetes.io/os: windows Create the Pod:kubectl apply -f https://k8s.io/examples/windows/run-as-username-pod.yaml Verify that the Pod's Container is running:kubectl get pod run-as-username-pod-demo Get a shell to the running Container:kubectl exec -it run-as-username-pod-demo -- powershell Check that the shell is running user the correct username:echo $env:USERNAME The output should be:ContainerUser Set the Username for a ContainerTo specify the username with which to execute a Container's processes, include the securityContext field (SecurityContext) in the Container manifest, and within it, the windowsOptions (WindowsSecurityContextOptions) field containing the runAsUserName field.The Windows security context options that you specify for a Container apply only to that individual Container, and they override the settings made at the Pod level.Here is the configuration file for a Pod that has one Container, and the runAsUserName field is set at the Pod level and the Container level:windows/run-as-username-container.yaml apiVersion: v1 kind: Pod metadata: name: run-as-username-container-demo spec: securityContext: windowsOptions: runAsUserName: \"ContainerUser\" containers: - name: run-as-username-demo image: mcr.microsoft.com/windows/servercore:ltsc2019 command: [\"ping\", \"-t\", \"localhost\"] securityContext: windowsOptions: runAsUserName: \"ContainerAdministrator\" nodeSelector: kubernetes.io/os: windows Create the Pod:kubectl apply -f https://k8s.io/examples/windows/run-as-username-container.yaml Verify that the Pod's Container is running:kube",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-runasusername/",
    "id": "k8s_00181_qa_3223"
  },
  {
    "question": "What is Configure RunAsUserName for Windows pods and containers?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   t h e   r u n A s U s e r N a m e   s e t t i n g   f o r   P o d s   a n d   c o n t a i n e r s   t h a t   w i l l   r u n   o n   W i n d o w s   n o d e s .   T h i s   i s   r o u g h l y   e q u i v a l e n t   o f   t h e   L i n u x - s p e c i f i c   r u n A s U s e r   s e t t i n g ,   a l l o w i n g   y o u   t o   r u n   a p p l i c a t i o n s   i n   a   c o n t a i n e r   a s   a   d i f f e r e n t   u s e r n a m e   t h a n   t h e   d e f a u l t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-runasusername/",
    "id": "k8s_00181_section_1_3224"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   T h e   c l u s t e r   i s   e x p e c t e d   t o   h a v e   W i n d o w s   w o r k e r   n o d e s   w h e r e   p o d s   w i t h   c o n t a i n e r s   r u n n i n g   W i n d o w s   w o r k l o a d s   w i l l   g e t   s c h e d u l e d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-runasusername/",
    "id": "k8s_00181_section_2_3225"
  },
  {
    "question": "What is Set the Username for a Pod?",
    "answer": "T o   s p e c i f y   t h e   u s e r n a m e   w i t h   w h i c h   t o   e x e c u t e   t h e   P o d ' s   c o n t a i n e r   p r o c e s s e s ,   i n c l u d e   t h e   s e c u r i t y C o n t e x t   f i e l d   ( P o d S e c u r i t y C o n t e x t )   i n   t h e   P o d   s p e c i f i c a t i o n ,   a n d   w i t h i n   i t ,   t h e   w i n d o w s O p t i o n s   ( W i n d o w s S e c u r i t y C o n t e x t O p t i o n s )   f i e l d   c o n t a i n i n g   t h e   r u n A s U s e r N a m e   f i e l d .   T h e   W i n d o w s   s e c u r i t y   c o n t e x t   o p t i o n s   t h a t   y o u   s p e c i f y   f o r   a   P o d   a p p l y   t o   a l l   C o n t a i n e r s   a n d   i n i t   C o n t a i n e r s   i n   t h e   P o d .   H e r e   i s   a   c o n f i g u r a t i o n   f i l e   f o r   a   W i n d o w s   P o d   t h a t   h a s   t h e   r u n A s U s e r N a m e   f i e l d   s e t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   r u n - a s - u s e r n a m e - p o d - d e m o   s p e c :   s e c u r i t y C o n t e x t :   w i n d o w s O p t i o n s :   r u n A s U s e r N a m e :   \" C o n t a i n e r U s e r \"   c o n t a i n e r s :   -   n a m e :   r u n - a s - u s e r n a m e - d e m o   i m a g e :   m c r . m i c r o s o f t . c o m / w i n d o w s / s e r v e r c o r e : l t s c 2 0 1 9   c o m m a n d :   [ \" p i n g \" ,   \" - t \" ,   \" l o c a l h o s t \" ]   n o d e S e l e c t o r :   k u b e r n e t e s . i o / o s :   w i n d o w s   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / w i n d o w s / r u n - a s - u s e r n a m e - p o d . y a m l   V e r i f y   t h a t   t h e   P o d ' s   C o n t a i n e r   i s   r u n n i n g :   k u b e c t l   g e t   p o d   r u n - a s - u s e r n a m e - p o d - d e m o   G e t   a   s h e l l   t o   t h e   r u n n i n g   C o n t a i n e r :   k u b e c t l   e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-runasusername/",
    "id": "k8s_00181_section_2_3226"
  },
  {
    "question": "What is Set the Username for a Container?",
    "answer": "T o   s p e c i f y   t h e   u s e r n a m e   w i t h   w h i c h   t o   e x e c u t e   a   C o n t a i n e r ' s   p r o c e s s e s ,   i n c l u d e   t h e   s e c u r i t y C o n t e x t   f i e l d   ( S e c u r i t y C o n t e x t )   i n   t h e   C o n t a i n e r   m a n i f e s t ,   a n d   w i t h i n   i t ,   t h e   w i n d o w s O p t i o n s   ( W i n d o w s S e c u r i t y C o n t e x t O p t i o n s )   f i e l d   c o n t a i n i n g   t h e   r u n A s U s e r N a m e   f i e l d .   T h e   W i n d o w s   s e c u r i t y   c o n t e x t   o p t i o n s   t h a t   y o u   s p e c i f y   f o r   a   C o n t a i n e r   a p p l y   o n l y   t o   t h a t   i n d i v i d u a l   C o n t a i n e r ,   a n d   t h e y   o v e r r i d e   t h e   s e t t i n g s   m a d e   a t   t h e   P o d   l e v e l .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r ,   a n d   t h e   r u n A s U s e r N a m e   f i e l d   i s   s e t   a t   t h e   P o d   l e v e l   a n d   t h e   C o n t a i n e r   l e v e l :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   r u n - a s - u s e r n a m e - c o n t a i n e r - d e m o   s p e c :   s e c u r i t y C o n t e x t :   w i n d o w s O p t i o n s :   r u n A s U s e r N a m e :   \" C o n t a i n e r U s e r \"   c o n t a i n e r s :   -   n a m e :   r u n - a s - u s e r n a m e - d e m o   i m a g e :   m c r . m i c r o s o f t . c o m / w i n d o w s / s e r v e r c o r e : l t s c 2 0 1 9   c o m m a n d :   [ \" p i n g \" ,   \" - t \" ,   \" l o c a l h o s t \" ]   s e c u r i t y C o n t e x t :   w i n d o w s O p t i o n s :   r u n A s U s e r N a m e :   \" C o n t a i n e r A d m i n i s t r a t o r \"   n o d e S e l e c t o r :   k u b e r n e t e s . i o / o s :   w i n d o w s   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-runasusername/",
    "id": "k8s_00181_section_2_3227"
  },
  {
    "question": "What is Windows Username limitations?",
    "answer": "I n   o r d e r   t o   u s e   t h i s   f e a t u r e ,   t h e   v a l u e   s e t   i n   t h e   r u n A s U s e r N a m e   f i e l d   m u s t   b e   a   v a l i d   u s e r n a m e .   I t   m u s t   h a v e   t h e   f o l l o w i n g   f o r m a t :   D O M A I N \\ U S E R ,   w h e r e   D O M A I N \\   i s   o p t i o n a l .   W i n d o w s   u s e r   n a m e s   a r e   c a s e   i n s e n s i t i v e .   A d d i t i o n a l l y ,   t h e r e   a r e   s o m e   r e s t r i c t i o n s   r e g a r d i n g   t h e   D O M A I N   a n d   U S E R :   T h e   r u n A s U s e r N a m e   f i e l d   c a n n o t   b e   e m p t y ,   a n d   i t   c a n n o t   c o n t a i n   c o n t r o l   c h a r a c t e r s   ( A S C I I   v a l u e s :   0 x 0 0 - 0 x 1 F ,   0 x 7 F ) T h e   D O M A I N   m u s t   b e   e i t h e r   a   N e t B i o s   n a m e ,   o r   a   D N S   n a m e ,   e a c h   w i t h   t h e i r   o w n   r e s t r i c t i o n s : N e t B i o s   n a m e s :   m a x i m u m   1 5   c h a r a c t e r s ,   c a n n o t   s t a r t   w i t h   .   ( d o t ) ,   a n d   c a n n o t   c o n t a i n   t h e   f o l l o w i n g   c h a r a c t e r s :   \\   /   :   *   ?   \"   <   >   | D N S   n a m e s :   m a x i m u m   2 5 5   c h a r a c t e r s ,   c o n t a i n s   o n l y   a l p h a n u m e r i c   c h a r a c t e r s ,   d o t s ,   a n d   d a s h e s ,   a n d   i t   c a n n o t   s t a r t   o r   e n d   w i t h   a   .   ( d o t )   o r   -   ( d a s h ) . T h e   U S E R   m u s t   h a v e   a t   m o s t   2 0   c h a r a c t e r s ,   i t   c a n n o t   c o n t a i n   o n l y   d o t s   o r   s p a c e s ,   a n d   i t   c a n n o t   c o n t a i n   t h e   f o l l o w i n g   c h a r a c t e r s :   \"   /   \\   [   ]   :   ;   |   =   ,   +   *   ?   <   >   @ .   N e t B i o s   n a m e s :   m a x i m u m   1 5   c h a r a c t e r s ,   c a n n o t   s t a r t   w i t h   .   ( d o t ) ,   a n d   c a n n o t   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-runasusername/",
    "id": "k8s_00181_section_2_3228"
  },
  {
    "question": "What is What's next?",
    "answer": "G u i d e   f o r   s c h e d u l i n g   W i n d o w s   c o n t a i n e r s   i n   K u b e r n e t e s M a n a g i n g   W o r k l o a d   I d e n t i t y   w i t h   G r o u p   M a n a g e d   S e r v i c e   A c c o u n t s   ( G M S A ) C o n f i g u r e   G M S A   f o r   W i n d o w s   p o d s   a n d   c o n t a i n e r s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-runasusername/",
    "id": "k8s_00181_section_2_3229"
  },
  {
    "question": "What is DaemonSet?",
    "answer": "DaemonSetA DaemonSet defines Pods that provide node-local facilities. These might be fundamental to the operation of your cluster, such as a networking helper tool, or be part of an add-on.A DaemonSet ensures that all (or some) Nodes run a copy of a Pod. As nodes are added to the cluster, Pods are added to them. As nodes are removed from the cluster, those Pods are garbage collected. Deleting a DaemonSet will clean up the Pods it created.Some typical uses of a DaemonSet are:running a cluster storage daemon on every noderunning a logs collection daemon on every noderunning a node monitoring daemon on every nodeIn a simple case, one DaemonSet, covering all nodes, would be used for each type of daemon. A more complex setup might use multiple DaemonSets for a single type of daemon, but with different flags and/or different memory and cpu requests for different hardware types.Writing a DaemonSet SpecCreate a DaemonSetYou can describe a DaemonSet in a YAML file. For example, the daemonset.yaml file below describes a DaemonSet that runs the fluentd-elasticsearch Docker image:controllers/daemonset.yaml apiVersion: apps/v1 kind: DaemonSet metadata: name: fluentd-elasticsearch namespace: kube-system labels: k8s-app: fluentd-logging spec: selector: matchLabels: name: fluentd-elasticsearch template: metadata: labels: name: fluentd-elasticsearch spec: tolerations: # these tolerations are to have the daemonset runnable on control plane nodes # remove them if your control plane nodes should not run pods - key: node-role.kubernetes.io/control-plane operator: Exists effect: NoSchedule - key: node-role.kubernetes.io/master operator: Exists effect: NoSchedule containers: - name: fluentd-elasticsearch image: quay.io/fluentd_elasticsearch/fluentd:v5.0.1 resources: limits: memory: 200Mi requests: cpu: 100m memory: 200Mi volumeMounts: - name: varlog mountPath: /var/log # it may be desirable to set a high priority class to ensure that a DaemonSet Pod # preempts running Pods # priorityClassName: important terminationGracePeriodSeconds: 30 volumes: - name: varlog hostPath: path: /var/log Create a DaemonSet based on the YAML file:kubectl apply -f https://k8s.io/examples/controllers/daemonset.yaml Required FieldsAs with all other Kubernetes config, a DaemonSet needs apiVersion, kind, and metadata fields. For general information about working with config files, see running stateless applications and object management using kubectl.The name of a DaemonSet object must be a valid DNS subdomain name.A DaemonSet also needs a .spec section.Pod TemplateThe .spec.template is one of the required fields in .spec.The .spec.template is a pod template. It has exactly the same schema as a Pod, except it is nested and does not have an apiVersion or kind.In addition to required fields for a Pod, a Pod template in a DaemonSet has to specify appropriate labels (see pod selector).A Pod Template in a DaemonSet must have a RestartPolicy equal to Always, or be unspecified, which defaults to Alway",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/",
    "id": "k8s_00182_qa_3230"
  },
  {
    "question": "How does DaemonSet work?",
    "answer": "DaemonSetA DaemonSet defines Pods that provide node-local facilities. These might be fundamental to the operation of your cluster, such as a networking helper tool, or be part of an add-on.A DaemonSet ensures that all (or some) Nodes run a copy of a Pod. As nodes are added to the cluster, Pods are added to them. As nodes are removed from the cluster, those Pods are garbage collected. Deleting a DaemonSet will clean up the Pods it created.Some typical uses of a DaemonSet are:running a cluster storage daemon on every noderunning a logs collection daemon on every noderunning a node monitoring daemon on every nodeIn a simple case, one DaemonSet, covering all nodes, would be used for each type of daemon. A more complex setup might use multiple DaemonSets for a single type of daemon, but with different flags and/or different memory and cpu requests for different hardware types.Writing a DaemonSet SpecCreate a DaemonSetYou can describe a DaemonSet in a YAML file. For example, the daemonset.yaml file below describes a DaemonSet that runs the fluentd-elasticsearch Docker image:controllers/daemonset.yaml apiVersion: apps/v1 kind: DaemonSet metadata: name: fluentd-elasticsearch namespace: kube-system labels: k8s-app: fluentd-logging spec: selector: matchLabels: name: fluentd-elasticsearch template: metadata: labels: name: fluentd-elasticsearch spec: tolerations: # these tolerations are to have the daemonset runnable on control plane nodes # remove them if your control plane nodes should not run pods - key: node-role.kubernetes.io/control-plane operator: Exists effect: NoSchedule - key: node-role.kubernetes.io/master operator: Exists effect: NoSchedule containers: - name: fluentd-elasticsearch image: quay.io/fluentd_elasticsearch/fluentd:v5.0.1 resources: limits: memory: 200Mi requests: cpu: 100m memory: 200Mi volumeMounts: - name: varlog mountPath: /var/log # it may be desirable to set a high priority class to ensure that a DaemonSet Pod # preempts running Pods # priorityClassName: important terminationGracePeriodSeconds: 30 volumes: - name: varlog hostPath: path: /var/log Create a DaemonSet based on the YAML file:kubectl apply -f https://k8s.io/examples/controllers/daemonset.yaml Required FieldsAs with all other Kubernetes config, a DaemonSet needs apiVersion, kind, and metadata fields. For general information about working with config files, see running stateless applications and object management using kubectl.The name of a DaemonSet object must be a valid DNS subdomain name.A DaemonSet also needs a .spec section.Pod TemplateThe .spec.template is one of the required fields in .spec.The .spec.template is a pod template. It has exactly the same schema as a Pod, except it is nested and does not have an apiVersion or kind.In addition to required fields for a Pod, a Pod template in a DaemonSet has to specify appropriate labels (see pod selector).A Pod Template in a DaemonSet must have a RestartPolicy equal to Always, or be unspecified, which defaults to Alway",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/",
    "id": "k8s_00182_qa_3231"
  },
  {
    "question": "When would you use DaemonSet?",
    "answer": "DaemonSetA DaemonSet defines Pods that provide node-local facilities. These might be fundamental to the operation of your cluster, such as a networking helper tool, or be part of an add-on.A DaemonSet ensures that all (or some) Nodes run a copy of a Pod. As nodes are added to the cluster, Pods are added to them. As nodes are removed from the cluster, those Pods are garbage collected. Deleting a DaemonSet will clean up the Pods it created.Some typical uses of a DaemonSet are:running a cluster storage daemon on every noderunning a logs collection daemon on every noderunning a node monitoring daemon on every nodeIn a simple case, one DaemonSet, covering all nodes, would be used for each type of daemon. A more complex setup might use multiple DaemonSets for a single type of daemon, but with different flags and/or different memory and cpu requests for different hardware types.Writing a DaemonSet SpecCreate a DaemonSetYou can describe a DaemonSet in a YAML file. For example, the daemonset.yaml file below describes a DaemonSet that runs the fluentd-elasticsearch Docker image:controllers/daemonset.yaml apiVersion: apps/v1 kind: DaemonSet metadata: name: fluentd-elasticsearch namespace: kube-system labels: k8s-app: fluentd-logging spec: selector: matchLabels: name: fluentd-elasticsearch template: metadata: labels: name: fluentd-elasticsearch spec: tolerations: # these tolerations are to have the daemonset runnable on control plane nodes # remove them if your control plane nodes should not run pods - key: node-role.kubernetes.io/control-plane operator: Exists effect: NoSchedule - key: node-role.kubernetes.io/master operator: Exists effect: NoSchedule containers: - name: fluentd-elasticsearch image: quay.io/fluentd_elasticsearch/fluentd:v5.0.1 resources: limits: memory: 200Mi requests: cpu: 100m memory: 200Mi volumeMounts: - name: varlog mountPath: /var/log # it may be desirable to set a high priority class to ensure that a DaemonSet Pod # preempts running Pods # priorityClassName: important terminationGracePeriodSeconds: 30 volumes: - name: varlog hostPath: path: /var/log Create a DaemonSet based on the YAML file:kubectl apply -f https://k8s.io/examples/controllers/daemonset.yaml Required FieldsAs with all other Kubernetes config, a DaemonSet needs apiVersion, kind, and metadata fields. For general information about working with config files, see running stateless applications and object management using kubectl.The name of a DaemonSet object must be a valid DNS subdomain name.A DaemonSet also needs a .spec section.Pod TemplateThe .spec.template is one of the required fields in .spec.The .spec.template is a pod template. It has exactly the same schema as a Pod, except it is nested and does not have an apiVersion or kind.In addition to required fields for a Pod, a Pod template in a DaemonSet has to specify appropriate labels (see pod selector).A Pod Template in a DaemonSet must have a RestartPolicy equal to Always, or be unspecified, which defaults to Alway",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/",
    "id": "k8s_00182_qa_3232"
  },
  {
    "question": "What are the benefits of DaemonSet?",
    "answer": "DaemonSetA DaemonSet defines Pods that provide node-local facilities. These might be fundamental to the operation of your cluster, such as a networking helper tool, or be part of an add-on.A DaemonSet ensures that all (or some) Nodes run a copy of a Pod. As nodes are added to the cluster, Pods are added to them. As nodes are removed from the cluster, those Pods are garbage collected. Deleting a DaemonSet will clean up the Pods it created.Some typical uses of a DaemonSet are:running a cluster storage daemon on every noderunning a logs collection daemon on every noderunning a node monitoring daemon on every nodeIn a simple case, one DaemonSet, covering all nodes, would be used for each type of daemon. A more complex setup might use multiple DaemonSets for a single type of daemon, but with different flags and/or different memory and cpu requests for different hardware types.Writing a DaemonSet SpecCreate a DaemonSetYou can describe a DaemonSet in a YAML file. For example, the daemonset.yaml file below describes a DaemonSet that runs the fluentd-elasticsearch Docker image:controllers/daemonset.yaml apiVersion: apps/v1 kind: DaemonSet metadata: name: fluentd-elasticsearch namespace: kube-system labels: k8s-app: fluentd-logging spec: selector: matchLabels: name: fluentd-elasticsearch template: metadata: labels: name: fluentd-elasticsearch spec: tolerations: # these tolerations are to have the daemonset runnable on control plane nodes # remove them if your control plane nodes should not run pods - key: node-role.kubernetes.io/control-plane operator: Exists effect: NoSchedule - key: node-role.kubernetes.io/master operator: Exists effect: NoSchedule containers: - name: fluentd-elasticsearch image: quay.io/fluentd_elasticsearch/fluentd:v5.0.1 resources: limits: memory: 200Mi requests: cpu: 100m memory: 200Mi volumeMounts: - name: varlog mountPath: /var/log # it may be desirable to set a high priority class to ensure that a DaemonSet Pod # preempts running Pods # priorityClassName: important terminationGracePeriodSeconds: 30 volumes: - name: varlog hostPath: path: /var/log Create a DaemonSet based on the YAML file:kubectl apply -f https://k8s.io/examples/controllers/daemonset.yaml Required FieldsAs with all other Kubernetes config, a DaemonSet needs apiVersion, kind, and metadata fields. For general information about working with config files, see running stateless applications and object management using kubectl.The name of a DaemonSet object must be a valid DNS subdomain name.A DaemonSet also needs a .spec section.Pod TemplateThe .spec.template is one of the required fields in .spec.The .spec.template is a pod template. It has exactly the same schema as a Pod, except it is nested and does not have an apiVersion or kind.In addition to required fields for a Pod, a Pod template in a DaemonSet has to specify appropriate labels (see pod selector).A Pod Template in a DaemonSet must have a RestartPolicy equal to Always, or be unspecified, which defaults to Alway",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/",
    "id": "k8s_00182_qa_3233"
  },
  {
    "question": "What is DaemonSet?",
    "answer": "A   D a e m o n S e t   e n s u r e s   t h a t   a l l   ( o r   s o m e )   N o d e s   r u n   a   c o p y   o f   a   P o d .   A s   n o d e s   a r e   a d d e d   t o   t h e   c l u s t e r ,   P o d s   a r e   a d d e d   t o   t h e m .   A s   n o d e s   a r e   r e m o v e d   f r o m   t h e   c l u s t e r ,   t h o s e   P o d s   a r e   g a r b a g e   c o l l e c t e d .   D e l e t i n g   a   D a e m o n S e t   w i l l   c l e a n   u p   t h e   P o d s   i t   c r e a t e d .   S o m e   t y p i c a l   u s e s   o f   a   D a e m o n S e t   a r e :   r u n n i n g   a   c l u s t e r   s t o r a g e   d a e m o n   o n   e v e r y   n o d e r u n n i n g   a   l o g s   c o l l e c t i o n   d a e m o n   o n   e v e r y   n o d e r u n n i n g   a   n o d e   m o n i t o r i n g   d a e m o n   o n   e v e r y   n o d e   I n   a   s i m p l e   c a s e ,   o n e   D a e m o n S e t ,   c o v e r i n g   a l l   n o d e s ,   w o u l d   b e   u s e d   f o r   e a c h   t y p e   o f   d a e m o n .   A   m o r e   c o m p l e x   s e t u p   m i g h t   u s e   m u l t i p l e   D a e m o n S e t s   f o r   a   s i n g l e   t y p e   o f   d a e m o n ,   b u t   w i t h   d i f f e r e n t   f l a g s   a n d / o r   d i f f e r e n t   m e m o r y   a n d   c p u   r e q u e s t s   f o r   d i f f e r e n t   h a r d w a r e   t y p e s .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/",
    "id": "k8s_00182_section_1_3234"
  },
  {
    "question": "What is Create a DaemonSet?",
    "answer": "Y o u   c a n   d e s c r i b e   a   D a e m o n S e t   i n   a   Y A M L   f i l e .   F o r   e x a m p l e ,   t h e   d a e m o n s e t . y a m l   f i l e   b e l o w   d e s c r i b e s   a   D a e m o n S e t   t h a t   r u n s   t h e   f l u e n t d - e l a s t i c s e a r c h   D o c k e r   i m a g e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D a e m o n S e t   m e t a d a t a :   n a m e :   f l u e n t d - e l a s t i c s e a r c h   n a m e s p a c e :   k u b e - s y s t e m   l a b e l s :   k 8 s - a p p :   f l u e n t d - l o g g i n g   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   n a m e :   f l u e n t d - e l a s t i c s e a r c h   t e m p l a t e :   m e t a d a t a :   l a b e l s :   n a m e :   f l u e n t d - e l a s t i c s e a r c h   s p e c :   t o l e r a t i o n s :   #   t h e s e   t o l e r a t i o n s   a r e   t o   h a v e   t h e   d a e m o n s e t   r u n n a b l e   o n   c o n t r o l   p l a n e   n o d e s   #   r e m o v e   t h e m   i f   y o u r   c o n t r o l   p l a n e   n o d e s   s h o u l d   n o t   r u n   p o d s   -   k e y :   n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e   o p e r a t o r :   E x i s t s   e f f e c t :   N o S c h e d u l e   -   k e y :   n o d e - r o l e . k u b e r n e t e s . i o / m a s t e r   o p e r a t o r :   E x i s t s   e f f e c t :   N o S c h e d u l e   c o n t a i n e r s :   -   n a m e :   f l u e n t d - e l a s t i c s e a r c h   i m a g e :   q u a y . i o / f l u e n t d _ e l a s t i c s e a r c h / f l u e n t d : v 5 . 0 . 1   r e s o u r c e s :   l i m i t s :   m e m o r y :   2 0 0 M i   r e q u e s t s :   c p u :   1 0 0 m   m e m o r y :   2 0 0 M i   v o l u m e M o u n t s :   -   n a m e :   v a r l o g   m o u n t P a t h :   / v a r / l o g   #   i t   m a y   b e   d e s i r a b l e   t o   s e t   a   h i g h   p r i o r i t y   c l a s s   t o   e n s u r e   t h a t   a   D a e m o ",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/",
    "id": "k8s_00182_section_3_3235"
  },
  {
    "question": "What is Required Fields?",
    "answer": "A s   w i t h   a l l   o t h e r   K u b e r n e t e s   c o n f i g ,   a   D a e m o n S e t   n e e d s   a p i V e r s i o n ,   k i n d ,   a n d   m e t a d a t a   f i e l d s .   F o r   g e n e r a l   i n f o r m a t i o n   a b o u t   w o r k i n g   w i t h   c o n f i g   f i l e s ,   s e e   r u n n i n g   s t a t e l e s s   a p p l i c a t i o n s   a n d   o b j e c t   m a n a g e m e n t   u s i n g   k u b e c t l .   T h e   n a m e   o f   a   D a e m o n S e t   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   A   D a e m o n S e t   a l s o   n e e d s   a   . s p e c   s e c t i o n .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/",
    "id": "k8s_00182_section_3_3236"
  },
  {
    "question": "What is Pod Template?",
    "answer": "T h e   . s p e c . t e m p l a t e   i s   o n e   o f   t h e   r e q u i r e d   f i e l d s   i n   . s p e c .   T h e   . s p e c . t e m p l a t e   i s   a   p o d   t e m p l a t e .   I t   h a s   e x a c t l y   t h e   s a m e   s c h e m a   a s   a   P o d ,   e x c e p t   i t   i s   n e s t e d   a n d   d o e s   n o t   h a v e   a n   a p i V e r s i o n   o r   k i n d .   I n   a d d i t i o n   t o   r e q u i r e d   f i e l d s   f o r   a   P o d ,   a   P o d   t e m p l a t e   i n   a   D a e m o n S e t   h a s   t o   s p e c i f y   a p p r o p r i a t e   l a b e l s   ( s e e   p o d   s e l e c t o r ) .   A   P o d   T e m p l a t e   i n   a   D a e m o n S e t   m u s t   h a v e   a   R e s t a r t P o l i c y   e q u a l   t o   A l w a y s ,   o r   b e   u n s p e c i f i e d ,   w h i c h   d e f a u l t s   t o   A l w a y s .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/",
    "id": "k8s_00182_section_3_3237"
  },
  {
    "question": "What is Pod Selector?",
    "answer": "T h e   . s p e c . s e l e c t o r   f i e l d   i s   a   p o d   s e l e c t o r .   I t   w o r k s   t h e   s a m e   a s   t h e   . s p e c . s e l e c t o r   o f   a   J o b .   Y o u   m u s t   s p e c i f y   a   p o d   s e l e c t o r   t h a t   m a t c h e s   t h e   l a b e l s   o f   t h e   . s p e c . t e m p l a t e .   A l s o ,   o n c e   a   D a e m o n S e t   i s   c r e a t e d ,   i t s   . s p e c . s e l e c t o r   c a n   n o t   b e   m u t a t e d .   M u t a t i n g   t h e   p o d   s e l e c t o r   c a n   l e a d   t o   t h e   u n i n t e n t i o n a l   o r p h a n i n g   o f   P o d s ,   a n d   i t   w a s   f o u n d   t o   b e   c o n f u s i n g   t o   u s e r s .   T h e   . s p e c . s e l e c t o r   i s   a n   o b j e c t   c o n s i s t i n g   o f   t w o   f i e l d s :   m a t c h L a b e l s   -   w o r k s   t h e   s a m e   a s   t h e   . s p e c . s e l e c t o r   o f   a   R e p l i c a t i o n C o n t r o l l e r . m a t c h E x p r e s s i o n s   -   a l l o w s   t o   b u i l d   m o r e   s o p h i s t i c a t e d   s e l e c t o r s   b y   s p e c i f y i n g   k e y ,   l i s t   o f   v a l u e s   a n d   a n   o p e r a t o r   t h a t   r e l a t e s   t h e   k e y   a n d   v a l u e s .   W h e n   t h e   t w o   a r e   s p e c i f i e d   t h e   r e s u l t   i s   A N D e d .   T h e   . s p e c . s e l e c t o r   m u s t   m a t c h   t h e   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s .   C o n f i g   w i t h   t h e s e   t w o   n o t   m a t c h i n g   w i l l   b e   r e j e c t e d   b y   t h e   A P I .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/",
    "id": "k8s_00182_section_3_3238"
  },
  {
    "question": "What is Running Pods on select Nodes?",
    "answer": "I f   y o u   s p e c i f y   a   . s p e c . t e m p l a t e . s p e c . n o d e S e l e c t o r ,   t h e n   t h e   D a e m o n S e t   c o n t r o l l e r   w i l l   c r e a t e   P o d s   o n   n o d e s   w h i c h   m a t c h   t h a t   n o d e   s e l e c t o r .   L i k e w i s e   i f   y o u   s p e c i f y   a   . s p e c . t e m p l a t e . s p e c . a f f i n i t y ,   t h e n   D a e m o n S e t   c o n t r o l l e r   w i l l   c r e a t e   P o d s   o n   n o d e s   w h i c h   m a t c h   t h a t   n o d e   a f f i n i t y .   I f   y o u   d o   n o t   s p e c i f y   e i t h e r ,   t h e n   t h e   D a e m o n S e t   c o n t r o l l e r   w i l l   c r e a t e   P o d s   o n   a l l   n o d e s .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/",
    "id": "k8s_00182_section_3_3239"
  },
  {
    "question": "What is How Daemon Pods are scheduled?",
    "answer": "A   D a e m o n S e t   c a n   b e   u s e d   t o   e n s u r e   t h a t   a l l   e l i g i b l e   n o d e s   r u n   a   c o p y   o f   a   P o d .   T h e   D a e m o n S e t   c o n t r o l l e r   c r e a t e s   a   P o d   f o r   e a c h   e l i g i b l e   n o d e   a n d   a d d s   t h e   s p e c . a f f i n i t y . n o d e A f f i n i t y   f i e l d   o f   t h e   P o d   t o   m a t c h   t h e   t a r g e t   h o s t .   A f t e r   t h e   P o d   i s   c r e a t e d ,   t h e   d e f a u l t   s c h e d u l e r   t y p i c a l l y   t a k e s   o v e r   a n d   t h e n   b i n d s   t h e   P o d   t o   t h e   t a r g e t   h o s t   b y   s e t t i n g   t h e   . s p e c . n o d e N a m e   f i e l d .   I f   t h e   n e w   P o d   c a n n o t   f i t   o n   t h e   n o d e ,   t h e   d e f a u l t   s c h e d u l e r   m a y   p r e e m p t   ( e v i c t )   s o m e   o f   t h e   e x i s t i n g   P o d s   b a s e d   o n   t h e   p r i o r i t y   o f   t h e   n e w   P o d .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/",
    "id": "k8s_00182_section_2_3240"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   u s e r   c a n   s p e c i f y   a   d i f f e r e n t   s c h e d u l e r   f o r   t h e   P o d s   o f   t h e   D a e m o n S e t ,   b y   s e t t i n g   t h e   . s p e c . t e m p l a t e . s p e c . s c h e d u l e r N a m e   f i e l d   o f   t h e   D a e m o n S e t .   T h e   o r i g i n a l   n o d e   a f f i n i t y   s p e c i f i e d   a t   t h e   . s p e c . t e m p l a t e . s p e c . a f f i n i t y . n o d e A f f i n i t y   f i e l d   ( i f   s p e c i f i e d )   i s   t a k e n   i n t o   c o n s i d e r a t i o n   b y   t h e   D a e m o n S e t   c o n t r o l l e r   w h e n   e v a l u a t i n g   t h e   e l i g i b l e   n o d e s ,   b u t   i s   r e p l a c e d   o n   t h e   c r e a t e d   P o d   w i t h   t h e   n o d e   a f f i n i t y   t h a t   m a t c h e s   t h e   n a m e   o f   t h e   e l i g i b l e   n o d e .   n o d e A f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   n o d e S e l e c t o r T e r m s :   -   m a t c h F i e l d s :   -   k e y :   m e t a d a t a . n a m e   o p e r a t o r :   I n   v a l u e s :   -   t a r g e t - h o s t - n a m e",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/",
    "id": "k8s_00182_section_4_3241"
  },
  {
    "question": "What is Taints and tolerations?",
    "answer": "T h e   D a e m o n S e t   c o n t r o l l e r   a u t o m a t i c a l l y   a d d s   a   s e t   o f   t o l e r a t i o n s   t o   D a e m o n S e t   P o d s :   Y o u   c a n   a d d   y o u r   o w n   t o l e r a t i o n s   t o   t h e   P o d s   o f   a   D a e m o n S e t   a s   w e l l ,   b y   d e f i n i n g   t h e s e   i n   t h e   P o d   t e m p l a t e   o f   t h e   D a e m o n S e t .   B e c a u s e   t h e   D a e m o n S e t   c o n t r o l l e r   s e t s   t h e   n o d e . k u b e r n e t e s . i o / u n s c h e d u l a b l e : N o S c h e d u l e   t o l e r a t i o n   a u t o m a t i c a l l y ,   K u b e r n e t e s   c a n   r u n   D a e m o n S e t   P o d s   o n   n o d e s   t h a t   a r e   m a r k e d   a s   u n s c h e d u l a b l e .   I f   y o u   u s e   a   D a e m o n S e t   t o   p r o v i d e   a n   i m p o r t a n t   n o d e - l e v e l   f u n c t i o n ,   s u c h   a s   c l u s t e r   n e t w o r k i n g ,   i t   i s   h e l p f u l   t h a t   K u b e r n e t e s   p l a c e s   D a e m o n S e t   P o d s   o n   n o d e s   b e f o r e   t h e y   a r e   r e a d y .   F o r   e x a m p l e ,   w i t h o u t   t h a t   s p e c i a l   t o l e r a t i o n ,   y o u   c o u l d   e n d   u p   i n   a   d e a d l o c k   s i t u a t i o n   w h e r e   t h e   n o d e   i s   n o t   m a r k e d   a s   r e a d y   b e c a u s e   t h e   n e t w o r k   p l u g i n   i s   n o t   r u n n i n g   t h e r e ,   a n d   a t   t h e   s a m e   t i m e   t h e   n e t w o r k   p l u g i n   i s   n o t   r u n n i n g   o n   t h a t   n o d e   b e c a u s e   t h e   n o d e   i s   n o t   y e t   r e a d y .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/",
    "id": "k8s_00182_section_3_3242"
  },
  {
    "question": "What is Communicating with Daemon Pods?",
    "answer": "S o m e   p o s s i b l e   p a t t e r n s   f o r   c o m m u n i c a t i n g   w i t h   P o d s   i n   a   D a e m o n S e t   a r e :   P u s h :   P o d s   i n   t h e   D a e m o n S e t   a r e   c o n f i g u r e d   t o   s e n d   u p d a t e s   t o   a n o t h e r   s e r v i c e ,   s u c h   a s   a   s t a t s   d a t a b a s e .   T h e y   d o   n o t   h a v e   c l i e n t s . N o d e I P   a n d   K n o w n   P o r t :   P o d s   i n   t h e   D a e m o n S e t   c a n   u s e   a   h o s t P o r t ,   s o   t h a t   t h e   p o d s   a r e   r e a c h a b l e   v i a   t h e   n o d e   I P s .   C l i e n t s   k n o w   t h e   l i s t   o f   n o d e   I P s   s o m e h o w ,   a n d   k n o w   t h e   p o r t   b y   c o n v e n t i o n . D N S :   C r e a t e   a   h e a d l e s s   s e r v i c e   w i t h   t h e   s a m e   p o d   s e l e c t o r ,   a n d   t h e n   d i s c o v e r   D a e m o n S e t s   u s i n g   t h e   e n d p o i n t s   r e s o u r c e   o r   r e t r i e v e   m u l t i p l e   A   r e c o r d s   f r o m   D N S . S e r v i c e :   C r e a t e   a   s e r v i c e   w i t h   t h e   s a m e   P o d   s e l e c t o r ,   a n d   u s e   t h e   s e r v i c e   t o   r e a c h   a   d a e m o n   o n   a   r a n d o m   n o d e .   U s e   S e r v i c e   I n t e r n a l   T r a f f i c   P o l i c y   t o   l i m i t   t o   p o d s   o n   t h e   s a m e   n o d e .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/",
    "id": "k8s_00182_section_2_3243"
  },
  {
    "question": "What is Updating a DaemonSet?",
    "answer": "I f   n o d e   l a b e l s   a r e   c h a n g e d ,   t h e   D a e m o n S e t   w i l l   p r o m p t l y   a d d   P o d s   t o   n e w l y   m a t c h i n g   n o d e s   a n d   d e l e t e   P o d s   f r o m   n e w l y   n o t - m a t c h i n g   n o d e s .   Y o u   c a n   m o d i f y   t h e   P o d s   t h a t   a   D a e m o n S e t   c r e a t e s .   H o w e v e r ,   P o d s   d o   n o t   a l l o w   a l l   f i e l d s   t o   b e   u p d a t e d .   A l s o ,   t h e   D a e m o n S e t   c o n t r o l l e r   w i l l   u s e   t h e   o r i g i n a l   t e m p l a t e   t h e   n e x t   t i m e   a   n o d e   ( e v e n   w i t h   t h e   s a m e   n a m e )   i s   c r e a t e d .   Y o u   c a n   d e l e t e   a   D a e m o n S e t .   I f   y o u   s p e c i f y   - - c a s c a d e = o r p h a n   w i t h   k u b e c t l ,   t h e n   t h e   P o d s   w i l l   b e   l e f t   o n   t h e   n o d e s .   I f   y o u   s u b s e q u e n t l y   c r e a t e   a   n e w   D a e m o n S e t   w i t h   t h e   s a m e   s e l e c t o r ,   t h e   n e w   D a e m o n S e t   a d o p t s   t h e   e x i s t i n g   P o d s .   I f   a n y   P o d s   n e e d   r e p l a c i n g   t h e   D a e m o n S e t   r e p l a c e s   t h e m   a c c o r d i n g   t o   i t s   u p d a t e S t r a t e g y .   Y o u   c a n   p e r f o r m   a   r o l l i n g   u p d a t e   o n   a   D a e m o n S e t .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/",
    "id": "k8s_00182_section_2_3244"
  },
  {
    "question": "What is Init scripts?",
    "answer": "I t   i s   c e r t a i n l y   p o s s i b l e   t o   r u n   d a e m o n   p r o c e s s e s   b y   d i r e c t l y   s t a r t i n g   t h e m   o n   a   n o d e   ( e . g .   u s i n g   i n i t ,   u p s t a r t d ,   o r   s y s t e m d ) .   T h i s   i s   p e r f e c t l y   f i n e .   H o w e v e r ,   t h e r e   a r e   s e v e r a l   a d v a n t a g e s   t o   r u n n i n g   s u c h   p r o c e s s e s   v i a   a   D a e m o n S e t :   A b i l i t y   t o   m o n i t o r   a n d   m a n a g e   l o g s   f o r   d a e m o n s   i n   t h e   s a m e   w a y   a s   a p p l i c a t i o n s . S a m e   c o n f i g   l a n g u a g e   a n d   t o o l s   ( e . g .   P o d   t e m p l a t e s ,   k u b e c t l )   f o r   d a e m o n s   a n d   a p p l i c a t i o n s . R u n n i n g   d a e m o n s   i n   c o n t a i n e r s   w i t h   r e s o u r c e   l i m i t s   i n c r e a s e s   i s o l a t i o n   b e t w e e n   d a e m o n s   f r o m   a p p   c o n t a i n e r s .   H o w e v e r ,   t h i s   c a n   a l s o   b e   a c c o m p l i s h e d   b y   r u n n i n g   t h e   d a e m o n s   i n   a   c o n t a i n e r   b u t   n o t   i n   a   P o d .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/",
    "id": "k8s_00182_section_3_3245"
  },
  {
    "question": "What is Bare Pods?",
    "answer": "I t   i s   p o s s i b l e   t o   c r e a t e   P o d s   d i r e c t l y   w h i c h   s p e c i f y   a   p a r t i c u l a r   n o d e   t o   r u n   o n .   H o w e v e r ,   a   D a e m o n S e t   r e p l a c e s   P o d s   t h a t   a r e   d e l e t e d   o r   t e r m i n a t e d   f o r   a n y   r e a s o n ,   s u c h   a s   i n   t h e   c a s e   o f   n o d e   f a i l u r e   o r   d i s r u p t i v e   n o d e   m a i n t e n a n c e ,   s u c h   a s   a   k e r n e l   u p g r a d e .   F o r   t h i s   r e a s o n ,   y o u   s h o u l d   u s e   a   D a e m o n S e t   r a t h e r   t h a n   c r e a t i n g   i n d i v i d u a l   P o d s .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/",
    "id": "k8s_00182_section_3_3246"
  },
  {
    "question": "What is Static Pods?",
    "answer": "I t   i s   p o s s i b l e   t o   c r e a t e   P o d s   b y   w r i t i n g   a   f i l e   t o   a   c e r t a i n   d i r e c t o r y   w a t c h e d   b y   K u b e l e t .   T h e s e   a r e   c a l l e d   s t a t i c   p o d s .   U n l i k e   D a e m o n S e t ,   s t a t i c   P o d s   c a n n o t   b e   m a n a g e d   w i t h   k u b e c t l   o r   o t h e r   K u b e r n e t e s   A P I   c l i e n t s .   S t a t i c   P o d s   d o   n o t   d e p e n d   o n   t h e   a p i s e r v e r ,   m a k i n g   t h e m   u s e f u l   i n   c l u s t e r   b o o t s t r a p p i n g   c a s e s .   A l s o ,   s t a t i c   P o d s   m a y   b e   d e p r e c a t e d   i n   t h e   f u t u r e .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/",
    "id": "k8s_00182_section_3_3247"
  },
  {
    "question": "What is Deployments?",
    "answer": "D a e m o n S e t s   a r e   s i m i l a r   t o   D e p l o y m e n t s   i n   t h a t   t h e y   b o t h   c r e a t e   P o d s ,   a n d   t h o s e   P o d s   h a v e   p r o c e s s e s   w h i c h   a r e   n o t   e x p e c t e d   t o   t e r m i n a t e   ( e . g .   w e b   s e r v e r s ,   s t o r a g e   s e r v e r s ) .   U s e   a   D e p l o y m e n t   f o r   s t a t e l e s s   s e r v i c e s ,   l i k e   f r o n t e n d s ,   w h e r e   s c a l i n g   u p   a n d   d o w n   t h e   n u m b e r   o f   r e p l i c a s   a n d   r o l l i n g   o u t   u p d a t e s   a r e   m o r e   i m p o r t a n t   t h a n   c o n t r o l l i n g   e x a c t l y   w h i c h   h o s t   t h e   P o d   r u n s   o n .   U s e   a   D a e m o n S e t   w h e n   i t   i s   i m p o r t a n t   t h a t   a   c o p y   o f   a   P o d   a l w a y s   r u n   o n   a l l   o r   c e r t a i n   h o s t s ,   i f   t h e   D a e m o n S e t   p r o v i d e s   n o d e - l e v e l   f u n c t i o n a l i t y   t h a t   a l l o w s   o t h e r   P o d s   t o   r u n   c o r r e c t l y   o n   t h a t   p a r t i c u l a r   n o d e .   F o r   e x a m p l e ,   n e t w o r k   p l u g i n s   o f t e n   i n c l u d e   a   c o m p o n e n t   t h a t   r u n s   a s   a   D a e m o n S e t .   T h e   D a e m o n S e t   c o m p o n e n t   m a k e s   s u r e   t h a t   t h e   n o d e   w h e r e   i t ' s   r u n n i n g   h a s   w o r k i n g   c l u s t e r   n e t w o r k i n g .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/",
    "id": "k8s_00182_section_3_3248"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   P o d s . L e a r n   a b o u t   s t a t i c   P o d s ,   w h i c h   a r e   u s e f u l   f o r   r u n n i n g   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t s . F i n d   o u t   h o w   t o   u s e   D a e m o n S e t s P e r f o r m   a   r o l l i n g   u p d a t e   o n   a   D a e m o n S e t P e r f o r m   a   r o l l b a c k   o n   a   D a e m o n S e t   ( f o r   e x a m p l e ,   i f   a   r o l l   o u t   d i d n ' t   w o r k   h o w   y o u   e x p e c t e d ) . U n d e r s t a n d   h o w   K u b e r n e t e s   a s s i g n s   P o d s   t o   N o d e s . L e a r n   a b o u t   d e v i c e   p l u g i n s   a n d   a d d   o n s ,   w h i c h   o f t e n   r u n   a s   D a e m o n S e t s . D a e m o n S e t   i s   a   t o p - l e v e l   r e s o u r c e   i n   t h e   K u b e r n e t e s   R E S T   A P I .   R e a d   t h e   D a e m o n S e t   o b j e c t   d e f i n i t i o n   t o   u n d e r s t a n d   t h e   A P I   f o r   d a e m o n   s e t s .   L e a r n   a b o u t   s t a t i c   P o d s ,   w h i c h   a r e   u s e f u l   f o r   r u n n i n g   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t s .   P e r f o r m   a   r o l l i n g   u p d a t e   o n   a   D a e m o n S e t P e r f o r m   a   r o l l b a c k   o n   a   D a e m o n S e t   ( f o r   e x a m p l e ,   i f   a   r o l l   o u t   d i d n ' t   w o r k   h o w   y o u   e x p e c t e d ) .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/",
    "id": "k8s_00182_section_2_3249"
  },
  {
    "question": "What is Configure a Pod to Use a PersistentVolume for Storage?",
    "answer": "Configure a Pod to Use a PersistentVolume for StorageThis page shows you how to configure a Pod to use a PersistentVolumeClaim for storage. Here is a summary of the process:You, as cluster administrator, create a PersistentVolume backed by physical storage. You do not associate the volume with any Pod.You, now taking the role of a developer / cluster user, create a PersistentVolumeClaim that is automatically bound to a suitable PersistentVolume.You create a Pod that uses the above PersistentVolumeClaim for storage.Before you beginYou need to have a Kubernetes cluster that has only one Node, and the kubectl command-line tool must be configured to communicate with your cluster. If you do not already have a single-node cluster, you can create one by using Minikube.Familiarize yourself with the material in Persistent Volumes.Create an index.html file on your NodeOpen a shell to the single Node in your cluster. How you open a shell depends on how you set up your cluster. For example, if you are using Minikube, you can open a shell to your Node by entering minikube ssh.In your shell on that Node, create a /mnt/data directory:# This assumes that your Node uses \"sudo\" to run commands # as the superuser sudo mkdir /mnt/data In the /mnt/data directory, create an index.html file:# This again assumes that your Node uses \"sudo\" to run commands # as the superuser sudo sh -c \"echo 'Hello from Kubernetes storage' > /mnt/data/index.html\" Note:If your Node uses a tool for superuser access other than sudo, you can usually make this work if you replace sudo with the name of the other tool.Test that the index.html file exists:cat /mnt/data/index.html The output should be:Hello from Kubernetes storage You can now close the shell to your Node.Create a PersistentVolumeIn this exercise, you create a hostPath PersistentVolume. Kubernetes supports hostPath for development and testing on a single-node cluster. A hostPath PersistentVolume uses a file or directory on the Node to emulate network-attached storage.In a production cluster, you would not use hostPath. Instead a cluster administrator would provision a network resource like a Google Compute Engine persistent disk, an NFS share, or an Amazon Elastic Block Store volume. Cluster administrators can also use StorageClasses to set up dynamic provisioning.Here is the configuration file for the hostPath PersistentVolume:pods/storage/pv-volume.yaml apiVersion: v1 kind: PersistentVolume metadata: name: task-pv-volume labels: type: local spec: storageClassName: manual capacity: storage: 10Gi accessModes: - ReadWriteOnce hostPath: path: \"/mnt/data\" The configuration file specifies that the volume is at /mnt/data on the cluster's Node. The configuration also specifies a size of 10 gibibytes and an access mode of ReadWriteOnce, which means the volume can be mounted as read-write by a single Node. It defines the StorageClass name manual for the PersistentVolume, which will be used to bind PersistentVolumeClaim requests to this Per",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/",
    "id": "k8s_00183_qa_3250"
  },
  {
    "question": "How does Configure a Pod to Use a PersistentVolume for Storage work?",
    "answer": "Configure a Pod to Use a PersistentVolume for StorageThis page shows you how to configure a Pod to use a PersistentVolumeClaim for storage. Here is a summary of the process:You, as cluster administrator, create a PersistentVolume backed by physical storage. You do not associate the volume with any Pod.You, now taking the role of a developer / cluster user, create a PersistentVolumeClaim that is automatically bound to a suitable PersistentVolume.You create a Pod that uses the above PersistentVolumeClaim for storage.Before you beginYou need to have a Kubernetes cluster that has only one Node, and the kubectl command-line tool must be configured to communicate with your cluster. If you do not already have a single-node cluster, you can create one by using Minikube.Familiarize yourself with the material in Persistent Volumes.Create an index.html file on your NodeOpen a shell to the single Node in your cluster. How you open a shell depends on how you set up your cluster. For example, if you are using Minikube, you can open a shell to your Node by entering minikube ssh.In your shell on that Node, create a /mnt/data directory:# This assumes that your Node uses \"sudo\" to run commands # as the superuser sudo mkdir /mnt/data In the /mnt/data directory, create an index.html file:# This again assumes that your Node uses \"sudo\" to run commands # as the superuser sudo sh -c \"echo 'Hello from Kubernetes storage' > /mnt/data/index.html\" Note:If your Node uses a tool for superuser access other than sudo, you can usually make this work if you replace sudo with the name of the other tool.Test that the index.html file exists:cat /mnt/data/index.html The output should be:Hello from Kubernetes storage You can now close the shell to your Node.Create a PersistentVolumeIn this exercise, you create a hostPath PersistentVolume. Kubernetes supports hostPath for development and testing on a single-node cluster. A hostPath PersistentVolume uses a file or directory on the Node to emulate network-attached storage.In a production cluster, you would not use hostPath. Instead a cluster administrator would provision a network resource like a Google Compute Engine persistent disk, an NFS share, or an Amazon Elastic Block Store volume. Cluster administrators can also use StorageClasses to set up dynamic provisioning.Here is the configuration file for the hostPath PersistentVolume:pods/storage/pv-volume.yaml apiVersion: v1 kind: PersistentVolume metadata: name: task-pv-volume labels: type: local spec: storageClassName: manual capacity: storage: 10Gi accessModes: - ReadWriteOnce hostPath: path: \"/mnt/data\" The configuration file specifies that the volume is at /mnt/data on the cluster's Node. The configuration also specifies a size of 10 gibibytes and an access mode of ReadWriteOnce, which means the volume can be mounted as read-write by a single Node. It defines the StorageClass name manual for the PersistentVolume, which will be used to bind PersistentVolumeClaim requests to this Per",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/",
    "id": "k8s_00183_qa_3251"
  },
  {
    "question": "When would you use Configure a Pod to Use a PersistentVolume for Storage?",
    "answer": "Configure a Pod to Use a PersistentVolume for StorageThis page shows you how to configure a Pod to use a PersistentVolumeClaim for storage. Here is a summary of the process:You, as cluster administrator, create a PersistentVolume backed by physical storage. You do not associate the volume with any Pod.You, now taking the role of a developer / cluster user, create a PersistentVolumeClaim that is automatically bound to a suitable PersistentVolume.You create a Pod that uses the above PersistentVolumeClaim for storage.Before you beginYou need to have a Kubernetes cluster that has only one Node, and the kubectl command-line tool must be configured to communicate with your cluster. If you do not already have a single-node cluster, you can create one by using Minikube.Familiarize yourself with the material in Persistent Volumes.Create an index.html file on your NodeOpen a shell to the single Node in your cluster. How you open a shell depends on how you set up your cluster. For example, if you are using Minikube, you can open a shell to your Node by entering minikube ssh.In your shell on that Node, create a /mnt/data directory:# This assumes that your Node uses \"sudo\" to run commands # as the superuser sudo mkdir /mnt/data In the /mnt/data directory, create an index.html file:# This again assumes that your Node uses \"sudo\" to run commands # as the superuser sudo sh -c \"echo 'Hello from Kubernetes storage' > /mnt/data/index.html\" Note:If your Node uses a tool for superuser access other than sudo, you can usually make this work if you replace sudo with the name of the other tool.Test that the index.html file exists:cat /mnt/data/index.html The output should be:Hello from Kubernetes storage You can now close the shell to your Node.Create a PersistentVolumeIn this exercise, you create a hostPath PersistentVolume. Kubernetes supports hostPath for development and testing on a single-node cluster. A hostPath PersistentVolume uses a file or directory on the Node to emulate network-attached storage.In a production cluster, you would not use hostPath. Instead a cluster administrator would provision a network resource like a Google Compute Engine persistent disk, an NFS share, or an Amazon Elastic Block Store volume. Cluster administrators can also use StorageClasses to set up dynamic provisioning.Here is the configuration file for the hostPath PersistentVolume:pods/storage/pv-volume.yaml apiVersion: v1 kind: PersistentVolume metadata: name: task-pv-volume labels: type: local spec: storageClassName: manual capacity: storage: 10Gi accessModes: - ReadWriteOnce hostPath: path: \"/mnt/data\" The configuration file specifies that the volume is at /mnt/data on the cluster's Node. The configuration also specifies a size of 10 gibibytes and an access mode of ReadWriteOnce, which means the volume can be mounted as read-write by a single Node. It defines the StorageClass name manual for the PersistentVolume, which will be used to bind PersistentVolumeClaim requests to this Per",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/",
    "id": "k8s_00183_qa_3252"
  },
  {
    "question": "What are the benefits of Configure a Pod to Use a PersistentVolume for Storage?",
    "answer": "Configure a Pod to Use a PersistentVolume for StorageThis page shows you how to configure a Pod to use a PersistentVolumeClaim for storage. Here is a summary of the process:You, as cluster administrator, create a PersistentVolume backed by physical storage. You do not associate the volume with any Pod.You, now taking the role of a developer / cluster user, create a PersistentVolumeClaim that is automatically bound to a suitable PersistentVolume.You create a Pod that uses the above PersistentVolumeClaim for storage.Before you beginYou need to have a Kubernetes cluster that has only one Node, and the kubectl command-line tool must be configured to communicate with your cluster. If you do not already have a single-node cluster, you can create one by using Minikube.Familiarize yourself with the material in Persistent Volumes.Create an index.html file on your NodeOpen a shell to the single Node in your cluster. How you open a shell depends on how you set up your cluster. For example, if you are using Minikube, you can open a shell to your Node by entering minikube ssh.In your shell on that Node, create a /mnt/data directory:# This assumes that your Node uses \"sudo\" to run commands # as the superuser sudo mkdir /mnt/data In the /mnt/data directory, create an index.html file:# This again assumes that your Node uses \"sudo\" to run commands # as the superuser sudo sh -c \"echo 'Hello from Kubernetes storage' > /mnt/data/index.html\" Note:If your Node uses a tool for superuser access other than sudo, you can usually make this work if you replace sudo with the name of the other tool.Test that the index.html file exists:cat /mnt/data/index.html The output should be:Hello from Kubernetes storage You can now close the shell to your Node.Create a PersistentVolumeIn this exercise, you create a hostPath PersistentVolume. Kubernetes supports hostPath for development and testing on a single-node cluster. A hostPath PersistentVolume uses a file or directory on the Node to emulate network-attached storage.In a production cluster, you would not use hostPath. Instead a cluster administrator would provision a network resource like a Google Compute Engine persistent disk, an NFS share, or an Amazon Elastic Block Store volume. Cluster administrators can also use StorageClasses to set up dynamic provisioning.Here is the configuration file for the hostPath PersistentVolume:pods/storage/pv-volume.yaml apiVersion: v1 kind: PersistentVolume metadata: name: task-pv-volume labels: type: local spec: storageClassName: manual capacity: storage: 10Gi accessModes: - ReadWriteOnce hostPath: path: \"/mnt/data\" The configuration file specifies that the volume is at /mnt/data on the cluster's Node. The configuration also specifies a size of 10 gibibytes and an access mode of ReadWriteOnce, which means the volume can be mounted as read-write by a single Node. It defines the StorageClass name manual for the PersistentVolume, which will be used to bind PersistentVolumeClaim requests to this Per",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/",
    "id": "k8s_00183_qa_3253"
  },
  {
    "question": "What is Configure a Pod to Use a PersistentVolume for Storage?",
    "answer": "T h i s   p a g e   s h o w s   y o u   h o w   t o   c o n f i g u r e   a   P o d   t o   u s e   a   P e r s i s t e n t V o l u m e C l a i m   f o r   s t o r a g e .   H e r e   i s   a   s u m m a r y   o f   t h e   p r o c e s s :   Y o u ,   a s   c l u s t e r   a d m i n i s t r a t o r ,   c r e a t e   a   P e r s i s t e n t V o l u m e   b a c k e d   b y   p h y s i c a l   s t o r a g e .   Y o u   d o   n o t   a s s o c i a t e   t h e   v o l u m e   w i t h   a n y   P o d . Y o u ,   n o w   t a k i n g   t h e   r o l e   o f   a   d e v e l o p e r   /   c l u s t e r   u s e r ,   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   t h a t   i s   a u t o m a t i c a l l y   b o u n d   t o   a   s u i t a b l e   P e r s i s t e n t V o l u m e . Y o u   c r e a t e   a   P o d   t h a t   u s e s   t h e   a b o v e   P e r s i s t e n t V o l u m e C l a i m   f o r   s t o r a g e .   Y o u ,   a s   c l u s t e r   a d m i n i s t r a t o r ,   c r e a t e   a   P e r s i s t e n t V o l u m e   b a c k e d   b y   p h y s i c a l   s t o r a g e .   Y o u   d o   n o t   a s s o c i a t e   t h e   v o l u m e   w i t h   a n y   P o d .   Y o u ,   n o w   t a k i n g   t h e   r o l e   o f   a   d e v e l o p e r   /   c l u s t e r   u s e r ,   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   t h a t   i s   a u t o m a t i c a l l y   b o u n d   t o   a   s u i t a b l e   P e r s i s t e n t V o l u m e .   Y o u   c r e a t e   a   P o d   t h a t   u s e s   t h e   a b o v e   P e r s i s t e n t V o l u m e C l a i m   f o r   s t o r a g e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/",
    "id": "k8s_00183_section_1_3254"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r   t h a t   h a s   o n l y   o n e   N o d e ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   s i n g l e - n o d e   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   M i n i k u b e . F a m i l i a r i z e   y o u r s e l f   w i t h   t h e   m a t e r i a l   i n   P e r s i s t e n t   V o l u m e s .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r   t h a t   h a s   o n l y   o n e   N o d e ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   s i n g l e - n o d e   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   M i n i k u b e .   F a m i l i a r i z e   y o u r s e l f   w i t h   t h e   m a t e r i a l   i n   P e r s i s t e n t   V o l u m e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/",
    "id": "k8s_00183_section_2_3255"
  },
  {
    "question": "What is Create an index.html file on your Node?",
    "answer": "O p e n   a   s h e l l   t o   t h e   s i n g l e   N o d e   i n   y o u r   c l u s t e r .   H o w   y o u   o p e n   a   s h e l l   d e p e n d s   o n   h o w   y o u   s e t   u p   y o u r   c l u s t e r .   F o r   e x a m p l e ,   i f   y o u   a r e   u s i n g   M i n i k u b e ,   y o u   c a n   o p e n   a   s h e l l   t o   y o u r   N o d e   b y   e n t e r i n g   m i n i k u b e   s s h .   I n   y o u r   s h e l l   o n   t h a t   N o d e ,   c r e a t e   a   / m n t / d a t a   d i r e c t o r y :   #   T h i s   a s s u m e s   t h a t   y o u r   N o d e   u s e s   \" s u d o \"   t o   r u n   c o m m a n d s   #   a s   t h e   s u p e r u s e r   s u d o   m k d i r   / m n t / d a t a   I n   t h e   / m n t / d a t a   d i r e c t o r y ,   c r e a t e   a n   i n d e x . h t m l   f i l e :   #   T h i s   a g a i n   a s s u m e s   t h a t   y o u r   N o d e   u s e s   \" s u d o \"   t o   r u n   c o m m a n d s   #   a s   t h e   s u p e r u s e r   s u d o   s h   - c   \" e c h o   ' H e l l o   f r o m   K u b e r n e t e s   s t o r a g e '   >   / m n t / d a t a / i n d e x . h t m l \"",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/",
    "id": "k8s_00183_section_2_3256"
  },
  {
    "question": "What is Note:?",
    "answer": "T e s t   t h a t   t h e   i n d e x . h t m l   f i l e   e x i s t s :   c a t   / m n t / d a t a / i n d e x . h t m l   T h e   o u t p u t   s h o u l d   b e :   H e l l o   f r o m   K u b e r n e t e s   s t o r a g e   Y o u   c a n   n o w   c l o s e   t h e   s h e l l   t o   y o u r   N o d e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/",
    "id": "k8s_00183_section_4_3257"
  },
  {
    "question": "What is Create a PersistentVolume?",
    "answer": "I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   h o s t P a t h   P e r s i s t e n t V o l u m e .   K u b e r n e t e s   s u p p o r t s   h o s t P a t h   f o r   d e v e l o p m e n t   a n d   t e s t i n g   o n   a   s i n g l e - n o d e   c l u s t e r .   A   h o s t P a t h   P e r s i s t e n t V o l u m e   u s e s   a   f i l e   o r   d i r e c t o r y   o n   t h e   N o d e   t o   e m u l a t e   n e t w o r k - a t t a c h e d   s t o r a g e .   I n   a   p r o d u c t i o n   c l u s t e r ,   y o u   w o u l d   n o t   u s e   h o s t P a t h .   I n s t e a d   a   c l u s t e r   a d m i n i s t r a t o r   w o u l d   p r o v i s i o n   a   n e t w o r k   r e s o u r c e   l i k e   a   G o o g l e   C o m p u t e   E n g i n e   p e r s i s t e n t   d i s k ,   a n   N F S   s h a r e ,   o r   a n   A m a z o n   E l a s t i c   B l o c k   S t o r e   v o l u m e .   C l u s t e r   a d m i n i s t r a t o r s   c a n   a l s o   u s e   S t o r a g e C l a s s e s   t o   s e t   u p   d y n a m i c   p r o v i s i o n i n g .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   h o s t P a t h   P e r s i s t e n t V o l u m e :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e   m e t a d a t a :   n a m e :   t a s k - p v - v o l u m e   l a b e l s :   t y p e :   l o c a l   s p e c :   s t o r a g e C l a s s N a m e :   m a n u a l   c a p a c i t y :   s t o r a g e :   1 0 G i   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   h o s t P a t h :   p a t h :   \" / m n t / d a t a \"   T h e   c o n f i g u r a t i o n   f i l e   s p e c i f i e s   t h a t   t h e   v o l u m e   i s   a t   / m n t / d a t a   o n   t h e   c l u s t e r ' s   N o d e .   T h e   c o n f i g u r a t i o n   a l s o   s p e c i f i e s   a   s i z e   o f   1 0   g i b i b y t e s   a n d   a n   a c c e s s   m o d e   o f   R e a d W r i t e O n c e ,   w h i c h ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/",
    "id": "k8s_00183_section_2_3258"
  },
  {
    "question": "What is Note:?",
    "answer": "C r e a t e   t h e   P e r s i s t e n t V o l u m e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s t o r a g e / p v - v o l u m e . y a m l   V i e w   i n f o r m a t i o n   a b o u t   t h e   P e r s i s t e n t V o l u m e :   k u b e c t l   g e t   p v   t a s k - p v - v o l u m e   T h e   o u t p u t   s h o w s   t h a t   t h e   P e r s i s t e n t V o l u m e   h a s   a   S T A T U S   o f   A v a i l a b l e .   T h i s   m e a n s   i t   h a s   n o t   y e t   b e e n   b o u n d   t o   a   P e r s i s t e n t V o l u m e C l a i m .   N A M E   C A P A C I T Y   A C C E S S M O D E S   R E C L A I M P O L I C Y   S T A T U S   C L A I M   S T O R A G E C L A S S   R E A S O N   A G E   t a s k - p v - v o l u m e   1 0 G i   R W O   R e t a i n   A v a i l a b l e   m a n u a l   4 s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/",
    "id": "k8s_00183_section_4_3259"
  },
  {
    "question": "What is Create a PersistentVolumeClaim?",
    "answer": "T h e   n e x t   s t e p   i s   t o   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m .   P o d s   u s e   P e r s i s t e n t V o l u m e C l a i m s   t o   r e q u e s t   p h y s i c a l   s t o r a g e .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   t h a t   r e q u e s t s   a   v o l u m e   o f   a t   l e a s t   t h r e e   g i b i b y t e s   t h a t   c a n   p r o v i d e   r e a d - w r i t e   a c c e s s   f o r   a t   m o s t   o n e   N o d e   a t   a   t i m e .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P e r s i s t e n t V o l u m e C l a i m :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   t a s k - p v - c l a i m   s p e c :   s t o r a g e C l a s s N a m e :   m a n u a l   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   3 G i   C r e a t e   t h e   P e r s i s t e n t V o l u m e C l a i m :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s t o r a g e / p v - c l a i m . y a m l   A f t e r   y o u   c r e a t e   t h e   P e r s i s t e n t V o l u m e C l a i m ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   l o o k s   f o r   a   P e r s i s t e n t V o l u m e   t h a t   s a t i s f i e s   t h e   c l a i m ' s   r e q u i r e m e n t s .   I f   t h e   c o n t r o l   p l a n e   f i n d s   a   s u i t a b l e   P e r s i s t e n t V o l u m e   w i t h   t h e   s a m e   S t o r a g e C l a s s ,   i t   b i n d s   t h e   c l a i m   t o   t h e   v o l u m e .   L o o k   a g a i n   a t   t h e   P e r s i s t e n t V o l u m e :   k u b e c t l   g e t   p v   t a s k - p v - v o l u m e   N o w   t h e   o u t p u t   s h o w s   a   S T A T U S   o f   B o u n d .   N A M E   C A P A C I T Y   A C C E S ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/",
    "id": "k8s_00183_section_2_3260"
  },
  {
    "question": "What is Create a Pod?",
    "answer": "T h e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/",
    "id": "k8s_00183_section_2_3261"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   t h e   P o d :   k u b e c t l   d e l e t e   p o d   t a s k - p v - p o d",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/",
    "id": "k8s_00183_section_2_3262"
  },
  {
    "question": "What is Mounting the same PersistentVolume in two places?",
    "answer": "Y o u   h a v e   u n d e r s t o o d   h o w   t o   c r e a t e   a   P e r s i s t e n t V o l u m e   &   P e r s i s t e n t V o l u m e C l a i m ,   a n d   h o w   t o   m o u n t   t h e   v o l u m e   t o   a   s i n g l e   l o c a t i o n   i n   a   c o n t a i n e r .   L e t ' s   e x p l o r e   h o w   y o u   c a n   m o u n t   t h e   s a m e   P e r s i s t e n t V o l u m e   a t   t w o   d i f f e r e n t   l o c a t i o n s   i n   a   c o n t a i n e r .   B e l o w   i s   a n   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t   i m a g e :   n g i n x   v o l u m e M o u n t s :   #   a   m o u n t   f o r   s i t e - d a t a   -   n a m e :   c o n f i g   m o u n t P a t h :   / u s r / s h a r e / n g i n x / h t m l   s u b P a t h :   h t m l   #   a n o t h e r   m o u n t   f o r   n g i n x   c o n f i g   -   n a m e :   c o n f i g   m o u n t P a t h :   / e t c / n g i n x / n g i n x . c o n f   s u b P a t h :   n g i n x . c o n f   v o l u m e s :   -   n a m e :   c o n f i g   p e r s i s t e n t V o l u m e C l a i m :   c l a i m N a m e :   t a s k - p v - s t o r a g e   H e r e :   s u b P a t h :   T h i s   f i e l d   a l l o w s   s p e c i f i c   f i l e s   o r   d i r e c t o r i e s   f r o m   t h e   m o u n t e d   P e r s i s t e n t V o l u m e   t o   b e   e x p o s e d   a t   d i f f e r e n t   l o c a t i o n s   w i t h i n   t h e   c o n t a i n e r .   I n   t h i s   e x a m p l e : s u b P a t h :   h t m l   m o u n t s   t h e   h t m l   d i r e c t o r y . s u b P a t h :   n g i n x . c o n f   m o u n t s   a   s p e c i f i c   f i l e ,   n g i n x . c o n f .   s u b P a t h :   h t m l   m o u n t s   t h e   h t m l   d i r e c t o r y . s u b P a t h :   n g i n x . c o n f   m o u n t s   a   s p e c i f i c   f i l e ,   n g i n x . c o n f .   S i n c e   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/",
    "id": "k8s_00183_section_2_3263"
  },
  {
    "question": "What is Move the index.html file on your Node to a new folder?",
    "answer": "T h e   i n d e x . h t m l   f i l e   m e n t i o n e d   h e r e   r e f e r s   t o   t h e   o n e   c r e a t e d   i n   t h e   \" C r e a t e   a n   i n d e x . h t m l   f i l e   o n   y o u r   N o d e \"   s e c t i o n .   O p e n   a   s h e l l   t o   t h e   s i n g l e   N o d e   i n   y o u r   c l u s t e r .   H o w   y o u   o p e n   a   s h e l l   d e p e n d s   o n   h o w   y o u   s e t   u p   y o u r   c l u s t e r .   F o r   e x a m p l e ,   i f   y o u   a r e   u s i n g   M i n i k u b e ,   y o u   c a n   o p e n   a   s h e l l   t o   y o u r   N o d e   b y   e n t e r i n g   m i n i k u b e   s s h .   C r e a t e   a   / m n t / d a t a / h t m l   d i r e c t o r y :   #   T h i s   a s s u m e s   t h a t   y o u r   N o d e   u s e s   \" s u d o \"   t o   r u n   c o m m a n d s   #   a s   t h e   s u p e r u s e r   s u d o   m k d i r   / m n t / d a t a / h t m l   M o v e   i n d e x . h t m l   i n t o   t h e   d i r e c t o r y :   #   M o v e   i n d e x . h t m l   f r o m   i t s   c u r r e n t   l o c a t i o n   t o   t h e   h t m l   s u b - d i r e c t o r y   s u d o   m v   / m n t / d a t a / i n d e x . h t m l   h t m l",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/",
    "id": "k8s_00183_section_3_3264"
  },
  {
    "question": "What is Create a new nginx.conf file?",
    "answer": "u s e r   n g i n x ;   w o r k e r _ p r o c e s s e s   a u t o ;   e r r o r _ l o g   / v a r / l o g / n g i n x / e r r o r . l o g   n o t i c e ;   p i d   / v a r / r u n / n g i n x . p i d ;   e v e n t s   {   w o r k e r _ c o n n e c t i o n s   1 0 2 4 ;   }   h t t p   {   i n c l u d e   / e t c / n g i n x / m i m e . t y p e s ;   d e f a u l t _ t y p e   a p p l i c a t i o n / o c t e t - s t r e a m ;   l o g _ f o r m a t   m a i n   & # 3 9 ; $ r e m o t e _ a d d r   -   $ r e m o t e _ u s e r   [ $ t i m e _ l o c a l ]   & # 3 4 ; $ r e q u e s t & # 3 4 ;   & # 3 9 ;   & # 3 9 ; $ s t a t u s   $ b o d y _ b y t e s _ s e n t   & # 3 4 ; $ h t t p _ r e f e r e r & # 3 4 ;   & # 3 9 ;   & # 3 9 ; & # 3 4 ; $ h t t p _ u s e r _ a g e n t & # 3 4 ;   & # 3 4 ; $ h t t p _ x _ f o r w a r d e d _ f o r & # 3 4 ; & # 3 9 ; ;   a c c e s s _ l o g   / v a r / l o g / n g i n x / a c c e s s . l o g   m a i n ;   s e n d f i l e   o n ;   # t c p _ n o p u s h   o n ;   k e e p a l i v e _ t i m e o u t   6 0 ;   # g z i p   o n ;   i n c l u d e   / e t c / n g i n x / c o n f . d / * . c o n f ;   }   e r r o r _ l o g   / v a r / l o g / n g i n x / e r r o r . l o g   n o t i c e ;   p i d   / v a r / r u n / n g i n x . p i d ;   e v e n t s   {   w o r k e r _ c o n n e c t i o n s   1 0 2 4 ;   }   h t t p   {   i n c l u d e   / e t c / n g i n x / m i m e . t y p e s ;   d e f a u l t _ t y p e   a p p l i c a t i o n / o c t e t - s t r e a m ;   l o g _ f o r m a t   m a i n   & # 3 9 ; $ r e m o t e _ a d d r   -   $ r e m o t e _ u s e r   [ $ t i m e _ l o c a l ]   & # 3 4 ; $ r e q u e s t & # 3 4 ;   & # 3 9 ;   & # 3 9 ; $ s t a t u s   $ b o d y _ b y t e s _ s e n t   & # 3 4 ; $ h t t p _ r e f e r e r & # 3 4 ;   & # 3 9 ;   & # 3 9 ; & # 3 4 ; $ h t t p _ u s e r _ a g e n t & # 3 4 ;   & # 3 4 ; $ h t t p _ x _ f o r w a r d e d _ f o r & # 3 4 ; & # 3 9 ; ;   a c c e s s _ l o g   / v a r / l o g / n g i n x / a c c ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/",
    "id": "k8s_00183_section_3_3265"
  },
  {
    "question": "What is Create a Pod?",
    "answer": "H e r e   w e   w i l l   c r e a t e   a   p o d   t h a t   u s e s   t h e   e x i s t i n g   p e r s i s t e n t V o l u m e   a n d   p e r s i s t e n t V o l u m e C l a i m .   H o w e v e r ,   t h e   p o d   m o u n t s   o n l y   a   s p e c i f i c   f i l e ,   n g i n x . c o n f ,   a n d   d i r e c t o r y ,   h t m l ,   t o   t h e   c o n t a i n e r .   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s t o r a g e / p v - d u p l i c a t e . y a m l   V e r i f y   t h a t   t h e   c o n t a i n e r   i n   t h e   P o d   i s   r u n n i n g :   k u b e c t l   g e t   p o d   t e s t   G e t   a   s h e l l   t o   t h e   c o n t a i n e r   r u n n i n g   i n   y o u r   P o d :   k u b e c t l   e x e c   - i t   t e s t   - -   / b i n / b a s h   I n   y o u r   s h e l l ,   v e r i f y   t h a t   n g i n x   i s   s e r v i n g   t h e   i n d e x . h t m l   f i l e   f r o m   t h e   h o s t P a t h   v o l u m e :   #   B e   s u r e   t o   r u n   t h e s e   3   c o m m a n d s   i n s i d e   t h e   r o o t   s h e l l   t h a t   c o m e s   f r o m   #   r u n n i n g   \" k u b e c t l   e x e c \"   i n   t h e   p r e v i o u s   s t e p   a p t   u p d a t e   a p t   i n s t a l l   c u r l   c u r l   h t t p : / / l o c a l h o s t /   T h e   o u t p u t   s h o w s   t h e   t e x t   t h a t   y o u   w r o t e   t o   t h e   i n d e x . h t m l   f i l e   o n   t h e   h o s t P a t h   v o l u m e :   H e l l o   f r o m   K u b e r n e t e s   s t o r a g e   I n   y o u r   s h e l l ,   a l s o   v e r i f y   t h a t   n g i n x   i s   s e r v i n g   t h e   n g i n x . c o n f   f i l e   f r o m   t h e   h o s t P a t h   v o l u m e :   #   B e   s u r e   t o   r u n   t h e s e   c o m m a n d s   i n s i d e   t h e   r o o t   s h e l l   t h a t   c o m e s   f r o m   #   r u n n i n g   \" k u b e c t l   e x e c \"   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/",
    "id": "k8s_00183_section_3_3266"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   t h e   P o d :   k u b e c t l   d e l e t e   p o d   t e s t   k u b e c t l   d e l e t e   p v c   t a s k - p v - c l a i m   k u b e c t l   d e l e t e   p v   t a s k - p v - v o l u m e   I f   y o u   d o n ' t   a l r e a d y   h a v e   a   s h e l l   o p e n   t o   t h e   N o d e   i n   y o u r   c l u s t e r ,   o p e n   a   n e w   s h e l l   t h e   s a m e   w a y   t h a t   y o u   d i d   e a r l i e r .   I n   t h e   s h e l l   o n   y o u r   N o d e ,   r e m o v e   t h e   f i l e   a n d   d i r e c t o r y   t h a t   y o u   c r e a t e d :   #   T h i s   a s s u m e s   t h a t   y o u r   N o d e   u s e s   \" s u d o \"   t o   r u n   c o m m a n d s   #   a s   t h e   s u p e r u s e r   s u d o   r m   / m n t / d a t a / h t m l / i n d e x . h t m l   s u d o   r m   / m n t / d a t a / n g i n x . c o n f   s u d o   r m d i r   / m n t / d a t a   Y o u   c a n   n o w   c l o s e   t h e   s h e l l   t o   y o u r   N o d e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/",
    "id": "k8s_00183_section_2_3267"
  },
  {
    "question": "What is Access control?",
    "answer": "S t o r a g e   c o n f i g u r e d   w i t h   a   g r o u p   I D   ( G I D )   a l l o w s   w r i t i n g   o n l y   b y   P o d s   u s i n g   t h e   s a m e   G I D .   M i s m a t c h e d   o r   m i s s i n g   G I D s   c a u s e   p e r m i s s i o n   d e n i e d   e r r o r s .   T o   r e d u c e   t h e   n e e d   f o r   c o o r d i n a t i o n   w i t h   u s e r s ,   a n   a d m i n i s t r a t o r   c a n   a n n o t a t e   a   P e r s i s t e n t V o l u m e   w i t h   a   G I D .   T h e n   t h e   G I D   i s   a u t o m a t i c a l l y   a d d e d   t o   a n y   P o d   t h a t   u s e s   t h e   P e r s i s t e n t V o l u m e .   U s e   t h e   p v . b e t a . k u b e r n e t e s . i o / g i d   a n n o t a t i o n   a s   f o l l o w s :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e   m e t a d a t a :   n a m e :   p v 1   a n n o t a t i o n s :   p v . b e t a . k u b e r n e t e s . i o / g i d :   \" 1 2 3 4 \"   W h e n   a   P o d   c o n s u m e s   a   P e r s i s t e n t V o l u m e   t h a t   h a s   a   G I D   a n n o t a t i o n ,   t h e   a n n o t a t e d   G I D   i s   a p p l i e d   t o   a l l   c o n t a i n e r s   i n   t h e   P o d   i n   t h e   s a m e   w a y   t h a t   G I D s   s p e c i f i e d   i n   t h e   P o d ' s   s e c u r i t y   c o n t e x t   a r e .   E v e r y   G I D ,   w h e t h e r   i t   o r i g i n a t e s   f r o m   a   P e r s i s t e n t V o l u m e   a n n o t a t i o n   o r   t h e   P o d ' s   s p e c i f i c a t i o n ,   i s   a p p l i e d   t o   t h e   f i r s t   p r o c e s s   r u n   i n   e a c h   c o n t a i n e r .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/",
    "id": "k8s_00183_section_2_3268"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   P e r s i s t e n t V o l u m e s . R e a d   t h e   P e r s i s t e n t   S t o r a g e   d e s i g n   d o c u m e n t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/",
    "id": "k8s_00183_section_2_3269"
  },
  {
    "question": "What is Reference?",
    "answer": "P e r s i s t e n t V o l u m e P e r s i s t e n t V o l u m e S p e c P e r s i s t e n t V o l u m e C l a i m P e r s i s t e n t V o l u m e C l a i m S p e c",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/",
    "id": "k8s_00183_section_3_3270"
  },
  {
    "question": "What is Volume?",
    "answer": "VolumeVolume represents a named volume in a pod that may be accessed by any container in the pod.import \"k8s.io/api/core/v1\"VolumeVolume represents a named volume in a pod that may be accessed by any container in the pod.name (string), requiredname of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesExposed Persistent volumespersistentVolumeClaim (PersistentVolumeClaimVolumeSource)persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaimsPersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).persistentVolumeClaim.claimName (string), requiredclaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaimspersistentVolumeClaim.readOnly (boolean)readOnly Will force the ReadOnly setting in VolumeMounts. Default false.ProjectionsconfigMap (ConfigMapVolumeSource)configMap represents a configMap that should populate this volume*Adapts a ConfigMap into a volume.The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.*configMap.name (string)Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesconfigMap.optional (boolean)optional specify whether the ConfigMap or its keys must be definedconfigMap.defaultMode (int32)defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.configMap.items ([]KeyToPath)Atomic: will be replaced during a mergeitems if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume/",
    "id": "k8s_00184_qa_3271"
  },
  {
    "question": "How does Volume work?",
    "answer": "VolumeVolume represents a named volume in a pod that may be accessed by any container in the pod.import \"k8s.io/api/core/v1\"VolumeVolume represents a named volume in a pod that may be accessed by any container in the pod.name (string), requiredname of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesExposed Persistent volumespersistentVolumeClaim (PersistentVolumeClaimVolumeSource)persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaimsPersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).persistentVolumeClaim.claimName (string), requiredclaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaimspersistentVolumeClaim.readOnly (boolean)readOnly Will force the ReadOnly setting in VolumeMounts. Default false.ProjectionsconfigMap (ConfigMapVolumeSource)configMap represents a configMap that should populate this volume*Adapts a ConfigMap into a volume.The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.*configMap.name (string)Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesconfigMap.optional (boolean)optional specify whether the ConfigMap or its keys must be definedconfigMap.defaultMode (int32)defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.configMap.items ([]KeyToPath)Atomic: will be replaced during a mergeitems if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume/",
    "id": "k8s_00184_qa_3272"
  },
  {
    "question": "When would you use Volume?",
    "answer": "VolumeVolume represents a named volume in a pod that may be accessed by any container in the pod.import \"k8s.io/api/core/v1\"VolumeVolume represents a named volume in a pod that may be accessed by any container in the pod.name (string), requiredname of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesExposed Persistent volumespersistentVolumeClaim (PersistentVolumeClaimVolumeSource)persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaimsPersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).persistentVolumeClaim.claimName (string), requiredclaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaimspersistentVolumeClaim.readOnly (boolean)readOnly Will force the ReadOnly setting in VolumeMounts. Default false.ProjectionsconfigMap (ConfigMapVolumeSource)configMap represents a configMap that should populate this volume*Adapts a ConfigMap into a volume.The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.*configMap.name (string)Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesconfigMap.optional (boolean)optional specify whether the ConfigMap or its keys must be definedconfigMap.defaultMode (int32)defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.configMap.items ([]KeyToPath)Atomic: will be replaced during a mergeitems if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume/",
    "id": "k8s_00184_qa_3273"
  },
  {
    "question": "What are the benefits of Volume?",
    "answer": "VolumeVolume represents a named volume in a pod that may be accessed by any container in the pod.import \"k8s.io/api/core/v1\"VolumeVolume represents a named volume in a pod that may be accessed by any container in the pod.name (string), requiredname of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesExposed Persistent volumespersistentVolumeClaim (PersistentVolumeClaimVolumeSource)persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaimsPersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).persistentVolumeClaim.claimName (string), requiredclaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaimspersistentVolumeClaim.readOnly (boolean)readOnly Will force the ReadOnly setting in VolumeMounts. Default false.ProjectionsconfigMap (ConfigMapVolumeSource)configMap represents a configMap that should populate this volume*Adapts a ConfigMap into a volume.The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.*configMap.name (string)Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesconfigMap.optional (boolean)optional specify whether the ConfigMap or its keys must be definedconfigMap.defaultMode (int32)defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.configMap.items ([]KeyToPath)Atomic: will be replaced during a mergeitems if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume/",
    "id": "k8s_00184_qa_3274"
  },
  {
    "question": "What is Volume?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume/",
    "id": "k8s_00184_section_1_3275"
  },
  {
    "question": "What is Volume?",
    "answer": "V o l u m e   r e p r e s e n t s   a   n a m e d   v o l u m e   i n   a   p o d   t h a t   m a y   b e   a c c e s s e d   b y   a n y   c o n t a i n e r   i n   t h e   p o d .   n a m e   ( s t r i n g ) ,   r e q u i r e d n a m e   o f   t h e   v o l u m e .   M u s t   b e   a   D N S _ L A B E L   a n d   u n i q u e   w i t h i n   t h e   p o d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s / # n a m e s   n a m e   ( s t r i n g ) ,   r e q u i r e d   n a m e   o f   t h e   v o l u m e .   M u s t   b e   a   D N S _ L A B E L   a n d   u n i q u e   w i t h i n   t h e   p o d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s / # n a m e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume/",
    "id": "k8s_00184_section_2_3276"
  },
  {
    "question": "What is Exposed Persistent volumes?",
    "answer": "p e r s i s t e n t V o l u m e C l a i m   ( P e r s i s t e n t V o l u m e C l a i m V o l u m e S o u r c e ) p e r s i s t e n t V o l u m e C l a i m V o l u m e S o u r c e   r e p r e s e n t s   a   r e f e r e n c e   t o   a   P e r s i s t e n t V o l u m e C l a i m   i n   t h e   s a m e   n a m e s p a c e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p e r s i s t e n t v o l u m e c l a i m s P e r s i s t e n t V o l u m e C l a i m V o l u m e S o u r c e   r e f e r e n c e s   t h e   u s e r ' s   P V C   i n   t h e   s a m e   n a m e s p a c e .   T h i s   v o l u m e   f i n d s   t h e   b o u n d   P V   a n d   m o u n t s   t h a t   v o l u m e   f o r   t h e   p o d .   A   P e r s i s t e n t V o l u m e C l a i m V o l u m e S o u r c e   i s ,   e s s e n t i a l l y ,   a   w r a p p e r   a r o u n d   a n o t h e r   t y p e   o f   v o l u m e   t h a t   i s   o w n e d   b y   s o m e o n e   e l s e   ( t h e   s y s t e m ) . p e r s i s t e n t V o l u m e C l a i m . c l a i m N a m e   ( s t r i n g ) ,   r e q u i r e d c l a i m N a m e   i s   t h e   n a m e   o f   a   P e r s i s t e n t V o l u m e C l a i m   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   p o d   u s i n g   t h i s   v o l u m e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p e r s i s t e n t v o l u m e c l a i m s p e r s i s t e n t V o l u m e C l a i m . r e a d O n l y   ( b o o l e a n ) r e a d O n l y   W i l l   f o r c e   t h e   R e a d O n l y   s e t t i n g   i n   V o l u m e M o u n t s .   D e f a u l t   f a l s e .   p e r s i s t e n t V o l u m e C l a i m   ( P e r s i s t e n t V o l u m e C l a i m V o l u m e S o u r c e )   p e r s i s t e n t V o l u m e C l a i m V o l u m e S o u r c e   r e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume/",
    "id": "k8s_00184_section_3_3277"
  },
  {
    "question": "What is Projections?",
    "answer": "c o n f i g M a p   ( C o n f i g M a p V o l u m e S o u r c e ) c o n f i g M a p   r e p r e s e n t s   a   c o n f i g M a p   t h a t   s h o u l d   p o p u l a t e   t h i s   v o l u m e * A d a p t s   a   C o n f i g M a p   i n t o   a   v o l u m e . T h e   c o n t e n t s   o f   t h e   t a r g e t   C o n f i g M a p ' s   D a t a   f i e l d   w i l l   b e   p r e s e n t e d   i n   a   v o l u m e   a s   f i l e s   u s i n g   t h e   k e y s   i n   t h e   D a t a   f i e l d   a s   t h e   f i l e   n a m e s ,   u n l e s s   t h e   i t e m s   e l e m e n t   i s   p o p u l a t e d   w i t h   s p e c i f i c   m a p p i n g s   o f   k e y s   t o   p a t h s .   C o n f i g M a p   v o l u m e s   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a n d   S E L i n u x   r e l a b e l i n g . * c o n f i g M a p . n a m e   ( s t r i n g ) N a m e   o f   t h e   r e f e r e n t .   T h i s   f i e l d   i s   e f f e c t i v e l y   r e q u i r e d ,   b u t   d u e   t o   b a c k w a r d s   c o m p a t i b i l i t y   i s   a l l o w e d   t o   b e   e m p t y .   I n s t a n c e s   o f   t h i s   t y p e   w i t h   a n   e m p t y   v a l u e   h e r e   a r e   a l m o s t   c e r t a i n l y   w r o n g .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s / # n a m e s c o n f i g M a p . o p t i o n a l   ( b o o l e a n ) o p t i o n a l   s p e c i f y   w h e t h e r   t h e   C o n f i g M a p   o r   i t s   k e y s   m u s t   b e   d e f i n e d c o n f i g M a p . d e f a u l t M o d e   ( i n t 3 2 ) d e f a u l t M o d e   i s   o p t i o n a l :   m o d e   b i t s   u s e d   t o   s e t   p e r m i s s i o n s   o n   c r e a t e d   f i l e s   b y   d e f a u l t .   M u s t   b e   a n   o c t a l   v a l u e   b e t w e e n   0 0 0 0   a n d   0 7 7 7   o r   a   d e c i m a l   v a l ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume/",
    "id": "k8s_00184_section_3_3278"
  },
  {
    "question": "What is Local / Temporary Directory?",
    "answer": "e m p t y D i r   ( E m p t y D i r V o l u m e S o u r c e ) e m p t y D i r   r e p r e s e n t s   a   t e m p o r a r y   d i r e c t o r y   t h a t   s h a r e s   a   p o d ' s   l i f e t i m e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # e m p t y d i r R e p r e s e n t s   a n   e m p t y   d i r e c t o r y   f o r   a   p o d .   E m p t y   d i r e c t o r y   v o l u m e s   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a n d   S E L i n u x   r e l a b e l i n g . e m p t y D i r . m e d i u m   ( s t r i n g ) m e d i u m   r e p r e s e n t s   w h a t   t y p e   o f   s t o r a g e   m e d i u m   s h o u l d   b a c k   t h i s   d i r e c t o r y .   T h e   d e f a u l t   i s   \" \"   w h i c h   m e a n s   t o   u s e   t h e   n o d e ' s   d e f a u l t   m e d i u m .   M u s t   b e   a n   e m p t y   s t r i n g   ( d e f a u l t )   o r   M e m o r y .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # e m p t y d i r e m p t y D i r . s i z e L i m i t   ( Q u a n t i t y ) s i z e L i m i t   i s   t h e   t o t a l   a m o u n t   o f   l o c a l   s t o r a g e   r e q u i r e d   f o r   t h i s   E m p t y D i r   v o l u m e .   T h e   s i z e   l i m i t   i s   a l s o   a p p l i c a b l e   f o r   m e m o r y   m e d i u m .   T h e   m a x i m u m   u s a g e   o n   m e m o r y   m e d i u m   E m p t y D i r   w o u l d   b e   t h e   m i n i m u m   v a l u e   b e t w e e n   t h e   S i z e L i m i t   s p e c i f i e d   h e r e   a n d   t h e   s u m   o f   m e m o r y   l i m i t s   o f   a l l   c o n t a i n e r s   i n   a   p o d .   T h e   d e f a u l t   i s   n i l   w h i c h   m e a n s   t h a t   t h e   l i m i t   i s   u n d e f i n e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume/",
    "id": "k8s_00184_section_3_3279"
  },
  {
    "question": "What is Persistent volumes?",
    "answer": "a w s E l a s t i c B l o c k S t o r e   ( A W S E l a s t i c B l o c k S t o r e V o l u m e S o u r c e ) a w s E l a s t i c B l o c k S t o r e   r e p r e s e n t s   a n   A W S   D i s k   r e s o u r c e   t h a t   i s   a t t a c h e d   t o   a   k u b e l e t ' s   h o s t   m a c h i n e   a n d   t h e n   e x p o s e d   t o   t h e   p o d .   D e p r e c a t e d :   A W S E l a s t i c B l o c k S t o r e   i s   d e p r e c a t e d .   A l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   a w s E l a s t i c B l o c k S t o r e   t y p e   a r e   r e d i r e c t e d   t o   t h e   e b s . c s i . a w s . c o m   C S I   d r i v e r .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # a w s e l a s t i c b l o c k s t o r e * R e p r e s e n t s   a   P e r s i s t e n t   D i s k   r e s o u r c e   i n   A W S . A n   A W S   E B S   d i s k   m u s t   e x i s t   b e f o r e   m o u n t i n g   t o   a   c o n t a i n e r .   T h e   d i s k   m u s t   a l s o   b e   i n   t h e   s a m e   A W S   z o n e   a s   t h e   k u b e l e t .   A n   A W S   E B S   d i s k   c a n   o n l y   b e   m o u n t e d   a s   r e a d / w r i t e   o n c e .   A W S   E B S   v o l u m e s   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a n d   S E L i n u x   r e l a b e l i n g . * a w s E l a s t i c B l o c k S t o r e . v o l u m e I D   ( s t r i n g ) ,   r e q u i r e d v o l u m e I D   i s   u n i q u e   I D   o f   t h e   p e r s i s t e n t   d i s k   r e s o u r c e   i n   A W S   ( A m a z o n   E B S   v o l u m e ) .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # a w s e l a s t i c b l o c k s t o r e a w s E l a s t i c B l o c k S t o r e . f s T y p e   ( s t r i n g ) f s T y p e   i s   t h e   f i l e s y s t e m   t y p e   o f   t h e   v o l u m ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume/",
    "id": "k8s_00184_section_3_3280"
  },
  {
    "question": "What is Deprecated?",
    "answer": "g i t R e p o   ( G i t R e p o V o l u m e S o u r c e ) g i t R e p o   r e p r e s e n t s   a   g i t   r e p o s i t o r y   a t   a   p a r t i c u l a r   r e v i s i o n .   D e p r e c a t e d :   G i t R e p o   i s   d e p r e c a t e d .   T o   p r o v i s i o n   a   c o n t a i n e r   w i t h   a   g i t   r e p o ,   m o u n t   a n   E m p t y D i r   i n t o   a n   I n i t C o n t a i n e r   t h a t   c l o n e s   t h e   r e p o   u s i n g   g i t ,   t h e n   m o u n t   t h e   E m p t y D i r   i n t o   t h e   P o d ' s   c o n t a i n e r . * R e p r e s e n t s   a   v o l u m e   t h a t   i s   p o p u l a t e d   w i t h   t h e   c o n t e n t s   o f   a   g i t   r e p o s i t o r y .   G i t   r e p o   v o l u m e s   d o   n o t   s u p p o r t   o w n e r s h i p   m a n a g e m e n t .   G i t   r e p o   v o l u m e s   s u p p o r t   S E L i n u x   r e l a b e l i n g . D E P R E C A T E D :   G i t R e p o   i s   d e p r e c a t e d .   T o   p r o v i s i o n   a   c o n t a i n e r   w i t h   a   g i t   r e p o ,   m o u n t   a n   E m p t y D i r   i n t o   a n   I n i t C o n t a i n e r   t h a t   c l o n e s   t h e   r e p o   u s i n g   g i t ,   t h e n   m o u n t   t h e   E m p t y D i r   i n t o   t h e   P o d ' s   c o n t a i n e r . * g i t R e p o . r e p o s i t o r y   ( s t r i n g ) ,   r e q u i r e d r e p o s i t o r y   i s   t h e   U R L g i t R e p o . d i r e c t o r y   ( s t r i n g ) d i r e c t o r y   i s   t h e   t a r g e t   d i r e c t o r y   n a m e .   M u s t   n o t   c o n t a i n   o r   s t a r t   w i t h   ' . . ' .   I f   ' . '   i s   s u p p l i e d ,   t h e   v o l u m e   d i r e c t o r y   w i l l   b e   t h e   g i t   r e p o s i t o r y .   O t h e r w i s e ,   i f   s p e c i f i e d ,   t h e   v o l u m e   w i l l   c o n t a i n   t h e   g i t   r e p o s i t o r y   i n   t h e   s u b d i r e c t o r y   w i t h   t h e   g i v e n   n a m ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume/",
    "id": "k8s_00184_section_3_3281"
  },
  {
    "question": "What is DownwardAPIVolumeFile?",
    "answer": "D o w n w a r d A P I V o l u m e F i l e   r e p r e s e n t s   i n f o r m a t i o n   t o   c r e a t e   t h e   f i l e   c o n t a i n i n g   t h e   p o d   f i e l d   p a t h   ( s t r i n g ) ,   r e q u i r e d R e q u i r e d :   P a t h   i s   t h e   r e l a t i v e   p a t h   n a m e   o f   t h e   f i l e   t o   b e   c r e a t e d .   M u s t   n o t   b e   a b s o l u t e   o r   c o n t a i n   t h e   ' . . '   p a t h .   M u s t   b e   u t f - 8   e n c o d e d .   T h e   f i r s t   i t e m   o f   t h e   r e l a t i v e   p a t h   m u s t   n o t   s t a r t   w i t h   ' . . ' f i e l d R e f   ( O b j e c t F i e l d S e l e c t o r ) R e q u i r e d :   S e l e c t s   a   f i e l d   o f   t h e   p o d :   o n l y   a n n o t a t i o n s ,   l a b e l s ,   n a m e ,   n a m e s p a c e   a n d   u i d   a r e   s u p p o r t e d . m o d e   ( i n t 3 2 ) O p t i o n a l :   m o d e   b i t s   u s e d   t o   s e t   p e r m i s s i o n s   o n   t h i s   f i l e ,   m u s t   b e   a n   o c t a l   v a l u e   b e t w e e n   0 0 0 0   a n d   0 7 7 7   o r   a   d e c i m a l   v a l u e   b e t w e e n   0   a n d   5 1 1 .   Y A M L   a c c e p t s   b o t h   o c t a l   a n d   d e c i m a l   v a l u e s ,   J S O N   r e q u i r e s   d e c i m a l   v a l u e s   f o r   m o d e   b i t s .   I f   n o t   s p e c i f i e d ,   t h e   v o l u m e   d e f a u l t M o d e   w i l l   b e   u s e d .   T h i s   m i g h t   b e   i n   c o n f l i c t   w i t h   o t h e r   o p t i o n s   t h a t   a f f e c t   t h e   f i l e   m o d e ,   l i k e   f s G r o u p ,   a n d   t h e   r e s u l t   c a n   b e   o t h e r   m o d e   b i t s   s e t . r e s o u r c e F i e l d R e f   ( R e s o u r c e F i e l d S e l e c t o r ) S e l e c t s   a   r e s o u r c e   o f   t h e   c o n t a i n e r :   o n l y   r e s o u r c e s   l i m i t s   a n d   r e q u e s t s   ( l i m i t s . c p u ,   l i m i t s . m e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume/",
    "id": "k8s_00184_section_2_3282"
  },
  {
    "question": "What is KeyToPath?",
    "answer": "M a p s   a   s t r i n g   k e y   t o   a   p a t h   w i t h i n   a   v o l u m e .   k e y   ( s t r i n g ) ,   r e q u i r e d k e y   i s   t h e   k e y   t o   p r o j e c t . p a t h   ( s t r i n g ) ,   r e q u i r e d p a t h   i s   t h e   r e l a t i v e   p a t h   o f   t h e   f i l e   t o   m a p   t h e   k e y   t o .   M a y   n o t   b e   a n   a b s o l u t e   p a t h .   M a y   n o t   c o n t a i n   t h e   p a t h   e l e m e n t   ' . . ' .   M a y   n o t   s t a r t   w i t h   t h e   s t r i n g   ' . . ' . m o d e   ( i n t 3 2 ) m o d e   i s   O p t i o n a l :   m o d e   b i t s   u s e d   t o   s e t   p e r m i s s i o n s   o n   t h i s   f i l e .   M u s t   b e   a n   o c t a l   v a l u e   b e t w e e n   0 0 0 0   a n d   0 7 7 7   o r   a   d e c i m a l   v a l u e   b e t w e e n   0   a n d   5 1 1 .   Y A M L   a c c e p t s   b o t h   o c t a l   a n d   d e c i m a l   v a l u e s ,   J S O N   r e q u i r e s   d e c i m a l   v a l u e s   f o r   m o d e   b i t s .   I f   n o t   s p e c i f i e d ,   t h e   v o l u m e   d e f a u l t M o d e   w i l l   b e   u s e d .   T h i s   m i g h t   b e   i n   c o n f l i c t   w i t h   o t h e r   o p t i o n s   t h a t   a f f e c t   t h e   f i l e   m o d e ,   l i k e   f s G r o u p ,   a n d   t h e   r e s u l t   c a n   b e   o t h e r   m o d e   b i t s   s e t .   k e y   ( s t r i n g ) ,   r e q u i r e d   k e y   i s   t h e   k e y   t o   p r o j e c t .   p a t h   ( s t r i n g ) ,   r e q u i r e d   p a t h   i s   t h e   r e l a t i v e   p a t h   o f   t h e   f i l e   t o   m a p   t h e   k e y   t o .   M a y   n o t   b e   a n   a b s o l u t e   p a t h .   M a y   n o t   c o n t a i n   t h e   p a t h   e l e m e n t   ' . . ' .   M a y   n o t   s t a r t   w i t h   t h e   s t r i n g   ' . . ' .   m o d e   ( i n t 3 2 )   m o d e   i s   O p t i o n a l :   m o d e   b i t s   u s e d   t o   s e t   p e r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume/",
    "id": "k8s_00184_section_2_3283"
  },
  {
    "question": "What is Multi-tenancy?",
    "answer": "Multi-tenancyThis page provides an overview of available configuration options and best practices for cluster multi-tenancy.Sharing clusters saves costs and simplifies administration. However, sharing clusters also presents challenges such as security, fairness, and managing noisy neighbors.Clusters can be shared in many ways. In some cases, different applications may run in the same cluster. In other cases, multiple instances of the same application may run in the same cluster, one for each end user. All these types of sharing are frequently described using the umbrella term multi-tenancy.While Kubernetes does not have first-class concepts of end users or tenants, it provides several features to help manage different tenancy requirements. These are discussed below.Use casesThe first step to determining how to share your cluster is understanding your use case, so you can evaluate the patterns and tools available. In general, multi-tenancy in Kubernetes clusters falls into two broad categories, though many variations and hybrids are also possible.Multiple teamsA common form of multi-tenancy is to share a cluster between multiple teams within an organization, each of whom may operate one or more workloads. These workloads frequently need to communicate with each other, and with other workloads located on the same or different clusters.In this scenario, members of the teams often have direct access to Kubernetes resources via tools such as kubectl, or indirect access through GitOps controllers or other types of release automation tools. There is often some level of trust between members of different teams, but Kubernetes policies such as RBAC, quotas, and network policies are essential to safely and fairly share clusters.Multiple customersThe other major form of multi-tenancy frequently involves a Software-as-a-Service (SaaS) vendor running multiple instances of a workload for customers. This business model is so strongly associated with this deployment style that many people call it \"SaaS tenancy.\" However, a better term might be \"multi-customer tenancy,\" since SaaS vendors may also use other deployment models, and this deployment model can also be used outside of SaaS.In this scenario, the customers do not have access to the cluster; Kubernetes is invisible from their perspective and is only used by the vendor to manage the workloads. Cost optimization is frequently a critical concern, and Kubernetes policies are used to ensure that the workloads are strongly isolated from each other.TerminologyTenantsWhen discussing multi-tenancy in Kubernetes, there is no single definition for a \"tenant\". Rather, the definition of a tenant will vary depending on whether multi-team or multi-customer tenancy is being discussed.In multi-team usage, a tenant is typically a team, where each team typically deploys a small number of workloads that scales with the complexity of the service. However, the definition of \"team\" may itself be fuzzy, as teams may be organized",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_qa_3284"
  },
  {
    "question": "How does Multi-tenancy work?",
    "answer": "Multi-tenancyThis page provides an overview of available configuration options and best practices for cluster multi-tenancy.Sharing clusters saves costs and simplifies administration. However, sharing clusters also presents challenges such as security, fairness, and managing noisy neighbors.Clusters can be shared in many ways. In some cases, different applications may run in the same cluster. In other cases, multiple instances of the same application may run in the same cluster, one for each end user. All these types of sharing are frequently described using the umbrella term multi-tenancy.While Kubernetes does not have first-class concepts of end users or tenants, it provides several features to help manage different tenancy requirements. These are discussed below.Use casesThe first step to determining how to share your cluster is understanding your use case, so you can evaluate the patterns and tools available. In general, multi-tenancy in Kubernetes clusters falls into two broad categories, though many variations and hybrids are also possible.Multiple teamsA common form of multi-tenancy is to share a cluster between multiple teams within an organization, each of whom may operate one or more workloads. These workloads frequently need to communicate with each other, and with other workloads located on the same or different clusters.In this scenario, members of the teams often have direct access to Kubernetes resources via tools such as kubectl, or indirect access through GitOps controllers or other types of release automation tools. There is often some level of trust between members of different teams, but Kubernetes policies such as RBAC, quotas, and network policies are essential to safely and fairly share clusters.Multiple customersThe other major form of multi-tenancy frequently involves a Software-as-a-Service (SaaS) vendor running multiple instances of a workload for customers. This business model is so strongly associated with this deployment style that many people call it \"SaaS tenancy.\" However, a better term might be \"multi-customer tenancy,\" since SaaS vendors may also use other deployment models, and this deployment model can also be used outside of SaaS.In this scenario, the customers do not have access to the cluster; Kubernetes is invisible from their perspective and is only used by the vendor to manage the workloads. Cost optimization is frequently a critical concern, and Kubernetes policies are used to ensure that the workloads are strongly isolated from each other.TerminologyTenantsWhen discussing multi-tenancy in Kubernetes, there is no single definition for a \"tenant\". Rather, the definition of a tenant will vary depending on whether multi-team or multi-customer tenancy is being discussed.In multi-team usage, a tenant is typically a team, where each team typically deploys a small number of workloads that scales with the complexity of the service. However, the definition of \"team\" may itself be fuzzy, as teams may be organized",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_qa_3285"
  },
  {
    "question": "When would you use Multi-tenancy?",
    "answer": "Multi-tenancyThis page provides an overview of available configuration options and best practices for cluster multi-tenancy.Sharing clusters saves costs and simplifies administration. However, sharing clusters also presents challenges such as security, fairness, and managing noisy neighbors.Clusters can be shared in many ways. In some cases, different applications may run in the same cluster. In other cases, multiple instances of the same application may run in the same cluster, one for each end user. All these types of sharing are frequently described using the umbrella term multi-tenancy.While Kubernetes does not have first-class concepts of end users or tenants, it provides several features to help manage different tenancy requirements. These are discussed below.Use casesThe first step to determining how to share your cluster is understanding your use case, so you can evaluate the patterns and tools available. In general, multi-tenancy in Kubernetes clusters falls into two broad categories, though many variations and hybrids are also possible.Multiple teamsA common form of multi-tenancy is to share a cluster between multiple teams within an organization, each of whom may operate one or more workloads. These workloads frequently need to communicate with each other, and with other workloads located on the same or different clusters.In this scenario, members of the teams often have direct access to Kubernetes resources via tools such as kubectl, or indirect access through GitOps controllers or other types of release automation tools. There is often some level of trust between members of different teams, but Kubernetes policies such as RBAC, quotas, and network policies are essential to safely and fairly share clusters.Multiple customersThe other major form of multi-tenancy frequently involves a Software-as-a-Service (SaaS) vendor running multiple instances of a workload for customers. This business model is so strongly associated with this deployment style that many people call it \"SaaS tenancy.\" However, a better term might be \"multi-customer tenancy,\" since SaaS vendors may also use other deployment models, and this deployment model can also be used outside of SaaS.In this scenario, the customers do not have access to the cluster; Kubernetes is invisible from their perspective and is only used by the vendor to manage the workloads. Cost optimization is frequently a critical concern, and Kubernetes policies are used to ensure that the workloads are strongly isolated from each other.TerminologyTenantsWhen discussing multi-tenancy in Kubernetes, there is no single definition for a \"tenant\". Rather, the definition of a tenant will vary depending on whether multi-team or multi-customer tenancy is being discussed.In multi-team usage, a tenant is typically a team, where each team typically deploys a small number of workloads that scales with the complexity of the service. However, the definition of \"team\" may itself be fuzzy, as teams may be organized",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_qa_3286"
  },
  {
    "question": "What are the benefits of Multi-tenancy?",
    "answer": "Multi-tenancyThis page provides an overview of available configuration options and best practices for cluster multi-tenancy.Sharing clusters saves costs and simplifies administration. However, sharing clusters also presents challenges such as security, fairness, and managing noisy neighbors.Clusters can be shared in many ways. In some cases, different applications may run in the same cluster. In other cases, multiple instances of the same application may run in the same cluster, one for each end user. All these types of sharing are frequently described using the umbrella term multi-tenancy.While Kubernetes does not have first-class concepts of end users or tenants, it provides several features to help manage different tenancy requirements. These are discussed below.Use casesThe first step to determining how to share your cluster is understanding your use case, so you can evaluate the patterns and tools available. In general, multi-tenancy in Kubernetes clusters falls into two broad categories, though many variations and hybrids are also possible.Multiple teamsA common form of multi-tenancy is to share a cluster between multiple teams within an organization, each of whom may operate one or more workloads. These workloads frequently need to communicate with each other, and with other workloads located on the same or different clusters.In this scenario, members of the teams often have direct access to Kubernetes resources via tools such as kubectl, or indirect access through GitOps controllers or other types of release automation tools. There is often some level of trust between members of different teams, but Kubernetes policies such as RBAC, quotas, and network policies are essential to safely and fairly share clusters.Multiple customersThe other major form of multi-tenancy frequently involves a Software-as-a-Service (SaaS) vendor running multiple instances of a workload for customers. This business model is so strongly associated with this deployment style that many people call it \"SaaS tenancy.\" However, a better term might be \"multi-customer tenancy,\" since SaaS vendors may also use other deployment models, and this deployment model can also be used outside of SaaS.In this scenario, the customers do not have access to the cluster; Kubernetes is invisible from their perspective and is only used by the vendor to manage the workloads. Cost optimization is frequently a critical concern, and Kubernetes policies are used to ensure that the workloads are strongly isolated from each other.TerminologyTenantsWhen discussing multi-tenancy in Kubernetes, there is no single definition for a \"tenant\". Rather, the definition of a tenant will vary depending on whether multi-team or multi-customer tenancy is being discussed.In multi-team usage, a tenant is typically a team, where each team typically deploys a small number of workloads that scales with the complexity of the service. However, the definition of \"team\" may itself be fuzzy, as teams may be organized",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_qa_3287"
  },
  {
    "question": "What is Multi-tenancy?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   o f   a v a i l a b l e   c o n f i g u r a t i o n   o p t i o n s   a n d   b e s t   p r a c t i c e s   f o r   c l u s t e r   m u l t i - t e n a n c y .   S h a r i n g   c l u s t e r s   s a v e s   c o s t s   a n d   s i m p l i f i e s   a d m i n i s t r a t i o n .   H o w e v e r ,   s h a r i n g   c l u s t e r s   a l s o   p r e s e n t s   c h a l l e n g e s   s u c h   a s   s e c u r i t y ,   f a i r n e s s ,   a n d   m a n a g i n g   n o i s y   n e i g h b o r s .   C l u s t e r s   c a n   b e   s h a r e d   i n   m a n y   w a y s .   I n   s o m e   c a s e s ,   d i f f e r e n t   a p p l i c a t i o n s   m a y   r u n   i n   t h e   s a m e   c l u s t e r .   I n   o t h e r   c a s e s ,   m u l t i p l e   i n s t a n c e s   o f   t h e   s a m e   a p p l i c a t i o n   m a y   r u n   i n   t h e   s a m e   c l u s t e r ,   o n e   f o r   e a c h   e n d   u s e r .   A l l   t h e s e   t y p e s   o f   s h a r i n g   a r e   f r e q u e n t l y   d e s c r i b e d   u s i n g   t h e   u m b r e l l a   t e r m   m u l t i - t e n a n c y .   W h i l e   K u b e r n e t e s   d o e s   n o t   h a v e   f i r s t - c l a s s   c o n c e p t s   o f   e n d   u s e r s   o r   t e n a n t s ,   i t   p r o v i d e s   s e v e r a l   f e a t u r e s   t o   h e l p   m a n a g e   d i f f e r e n t   t e n a n c y   r e q u i r e m e n t s .   T h e s e   a r e   d i s c u s s e d   b e l o w .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_section_1_3288"
  },
  {
    "question": "What is Use cases?",
    "answer": "T h e   f i r s t   s t e p   t o   d e t e r m i n i n g   h o w   t o   s h a r e   y o u r   c l u s t e r   i s   u n d e r s t a n d i n g   y o u r   u s e   c a s e ,   s o   y o u   c a n   e v a l u a t e   t h e   p a t t e r n s   a n d   t o o l s   a v a i l a b l e .   I n   g e n e r a l ,   m u l t i - t e n a n c y   i n   K u b e r n e t e s   c l u s t e r s   f a l l s   i n t o   t w o   b r o a d   c a t e g o r i e s ,   t h o u g h   m a n y   v a r i a t i o n s   a n d   h y b r i d s   a r e   a l s o   p o s s i b l e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_section_2_3289"
  },
  {
    "question": "What is Multiple teams?",
    "answer": "A   c o m m o n   f o r m   o f   m u l t i - t e n a n c y   i s   t o   s h a r e   a   c l u s t e r   b e t w e e n   m u l t i p l e   t e a m s   w i t h i n   a n   o r g a n i z a t i o n ,   e a c h   o f   w h o m   m a y   o p e r a t e   o n e   o r   m o r e   w o r k l o a d s .   T h e s e   w o r k l o a d s   f r e q u e n t l y   n e e d   t o   c o m m u n i c a t e   w i t h   e a c h   o t h e r ,   a n d   w i t h   o t h e r   w o r k l o a d s   l o c a t e d   o n   t h e   s a m e   o r   d i f f e r e n t   c l u s t e r s .   I n   t h i s   s c e n a r i o ,   m e m b e r s   o f   t h e   t e a m s   o f t e n   h a v e   d i r e c t   a c c e s s   t o   K u b e r n e t e s   r e s o u r c e s   v i a   t o o l s   s u c h   a s   k u b e c t l ,   o r   i n d i r e c t   a c c e s s   t h r o u g h   G i t O p s   c o n t r o l l e r s   o r   o t h e r   t y p e s   o f   r e l e a s e   a u t o m a t i o n   t o o l s .   T h e r e   i s   o f t e n   s o m e   l e v e l   o f   t r u s t   b e t w e e n   m e m b e r s   o f   d i f f e r e n t   t e a m s ,   b u t   K u b e r n e t e s   p o l i c i e s   s u c h   a s   R B A C ,   q u o t a s ,   a n d   n e t w o r k   p o l i c i e s   a r e   e s s e n t i a l   t o   s a f e l y   a n d   f a i r l y   s h a r e   c l u s t e r s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_section_3_3290"
  },
  {
    "question": "What is Multiple customers?",
    "answer": "T h e   o t h e r   m a j o r   f o r m   o f   m u l t i - t e n a n c y   f r e q u e n t l y   i n v o l v e s   a   S o f t w a r e - a s - a - S e r v i c e   ( S a a S )   v e n d o r   r u n n i n g   m u l t i p l e   i n s t a n c e s   o f   a   w o r k l o a d   f o r   c u s t o m e r s .   T h i s   b u s i n e s s   m o d e l   i s   s o   s t r o n g l y   a s s o c i a t e d   w i t h   t h i s   d e p l o y m e n t   s t y l e   t h a t   m a n y   p e o p l e   c a l l   i t   \" S a a S   t e n a n c y . \"   H o w e v e r ,   a   b e t t e r   t e r m   m i g h t   b e   \" m u l t i - c u s t o m e r   t e n a n c y , \"   s i n c e   S a a S   v e n d o r s   m a y   a l s o   u s e   o t h e r   d e p l o y m e n t   m o d e l s ,   a n d   t h i s   d e p l o y m e n t   m o d e l   c a n   a l s o   b e   u s e d   o u t s i d e   o f   S a a S .   I n   t h i s   s c e n a r i o ,   t h e   c u s t o m e r s   d o   n o t   h a v e   a c c e s s   t o   t h e   c l u s t e r ;   K u b e r n e t e s   i s   i n v i s i b l e   f r o m   t h e i r   p e r s p e c t i v e   a n d   i s   o n l y   u s e d   b y   t h e   v e n d o r   t o   m a n a g e   t h e   w o r k l o a d s .   C o s t   o p t i m i z a t i o n   i s   f r e q u e n t l y   a   c r i t i c a l   c o n c e r n ,   a n d   K u b e r n e t e s   p o l i c i e s   a r e   u s e d   t o   e n s u r e   t h a t   t h e   w o r k l o a d s   a r e   s t r o n g l y   i s o l a t e d   f r o m   e a c h   o t h e r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_section_3_3291"
  },
  {
    "question": "What is Tenants?",
    "answer": "W h e n   d i s c u s s i n g   m u l t i - t e n a n c y   i n   K u b e r n e t e s ,   t h e r e   i s   n o   s i n g l e   d e f i n i t i o n   f o r   a   \" t e n a n t \" .   R a t h e r ,   t h e   d e f i n i t i o n   o f   a   t e n a n t   w i l l   v a r y   d e p e n d i n g   o n   w h e t h e r   m u l t i - t e a m   o r   m u l t i - c u s t o m e r   t e n a n c y   i s   b e i n g   d i s c u s s e d .   I n   m u l t i - t e a m   u s a g e ,   a   t e n a n t   i s   t y p i c a l l y   a   t e a m ,   w h e r e   e a c h   t e a m   t y p i c a l l y   d e p l o y s   a   s m a l l   n u m b e r   o f   w o r k l o a d s   t h a t   s c a l e s   w i t h   t h e   c o m p l e x i t y   o f   t h e   s e r v i c e .   H o w e v e r ,   t h e   d e f i n i t i o n   o f   \" t e a m \"   m a y   i t s e l f   b e   f u z z y ,   a s   t e a m s   m a y   b e   o r g a n i z e d   i n t o   h i g h e r - l e v e l   d i v i s i o n s   o r   s u b d i v i d e d   i n t o   s m a l l e r   t e a m s .   B y   c o n t r a s t ,   i f   e a c h   t e a m   d e p l o y s   d e d i c a t e d   w o r k l o a d s   f o r   e a c h   n e w   c l i e n t ,   t h e y   a r e   u s i n g   a   m u l t i - c u s t o m e r   m o d e l   o f   t e n a n c y .   I n   t h i s   c a s e ,   a   \" t e n a n t \"   i s   s i m p l y   a   g r o u p   o f   u s e r s   w h o   s h a r e   a   s i n g l e   w o r k l o a d .   T h i s   m a y   b e   a s   l a r g e   a s   a n   e n t i r e   c o m p a n y ,   o r   a s   s m a l l   a s   a   s i n g l e   t e a m   a t   t h a t   c o m p a n y .   I n   m a n y   c a s e s ,   t h e   s a m e   o r g a n i z a t i o n   m a y   u s e   b o t h   d e f i n i t i o n s   o f   \" t e n a n t s \"   i n   d i f f e r e n t   c o n t e x t s .   F o r   e x a m p l e ,   a   p l a t f o r m   t e a m   m a y   o f f e r   s h a r e d   s e r v i c e s   s u c h   a s   s e c u r i t y   t o o l s   a n d   d a t a b a s ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_section_3_3292"
  },
  {
    "question": "What is Isolation?",
    "answer": "T h e r e   a r e   s e v e r a l   w a y s   t o   d e s i g n   a n d   b u i l d   m u l t i - t e n a n t   s o l u t i o n s   w i t h   K u b e r n e t e s .   E a c h   o f   t h e s e   m e t h o d s   c o m e s   w i t h   i t s   o w n   s e t   o f   t r a d e o f f s   t h a t   i m p a c t   t h e   i s o l a t i o n   l e v e l ,   i m p l e m e n t a t i o n   e f f o r t ,   o p e r a t i o n a l   c o m p l e x i t y ,   a n d   c o s t   o f   s e r v i c e .   A   K u b e r n e t e s   c l u s t e r   c o n s i s t s   o f   a   c o n t r o l   p l a n e   w h i c h   r u n s   K u b e r n e t e s   s o f t w a r e ,   a n d   a   d a t a   p l a n e   c o n s i s t i n g   o f   w o r k e r   n o d e s   w h e r e   t e n a n t   w o r k l o a d s   a r e   e x e c u t e d   a s   p o d s .   T e n a n t   i s o l a t i o n   c a n   b e   a p p l i e d   i n   b o t h   t h e   c o n t r o l   p l a n e   a n d   t h e   d a t a   p l a n e   b a s e d   o n   o r g a n i z a t i o n a l   r e q u i r e m e n t s .   T h e   l e v e l   o f   i s o l a t i o n   o f f e r e d   i s   s o m e t i m e s   d e s c r i b e d   u s i n g   t e r m s   l i k e   “ h a r d ”   m u l t i - t e n a n c y ,   w h i c h   i m p l i e s   s t r o n g   i s o l a t i o n ,   a n d   “ s o f t ”   m u l t i - t e n a n c y ,   w h i c h   i m p l i e s   w e a k e r   i s o l a t i o n .   I n   p a r t i c u l a r ,   \" h a r d \"   m u l t i - t e n a n c y   i s   o f t e n   u s e d   t o   d e s c r i b e   c a s e s   w h e r e   t h e   t e n a n t s   d o   n o t   t r u s t   e a c h   o t h e r ,   o f t e n   f r o m   s e c u r i t y   a n d   r e s o u r c e   s h a r i n g   p e r s p e c t i v e s   ( e . g .   g u a r d i n g   a g a i n s t   a t t a c k s   s u c h   a s   d a t a   e x f i l t r a t i o n   o r   D o S ) .   S i n c e   d a t a   p l a n e s   t y p i c a l l y   h a v e   m u c h   l a r g e r   a t t a c k   s u r f a c e ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_section_3_3293"
  },
  {
    "question": "What is Control plane isolation?",
    "answer": "C o n t r o l   p l a n e   i s o l a t i o n   e n s u r e s   t h a t   d i f f e r e n t   t e n a n t s   c a n n o t   a c c e s s   o r   a f f e c t   e a c h   o t h e r s '   K u b e r n e t e s   A P I   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_section_2_3294"
  },
  {
    "question": "What is Namespaces?",
    "answer": "I n   K u b e r n e t e s ,   a   N a m e s p a c e   p r o v i d e s   a   m e c h a n i s m   f o r   i s o l a t i n g   g r o u p s   o f   A P I   r e s o u r c e s   w i t h i n   a   s i n g l e   c l u s t e r .   T h i s   i s o l a t i o n   h a s   t w o   k e y   d i m e n s i o n s :   O b j e c t   n a m e s   w i t h i n   a   n a m e s p a c e   c a n   o v e r l a p   w i t h   n a m e s   i n   o t h e r   n a m e s p a c e s ,   s i m i l a r   t o   f i l e s   i n   f o l d e r s .   T h i s   a l l o w s   t e n a n t s   t o   n a m e   t h e i r   r e s o u r c e s   w i t h o u t   h a v i n g   t o   c o n s i d e r   w h a t   o t h e r   t e n a n t s   a r e   d o i n g . M a n y   K u b e r n e t e s   s e c u r i t y   p o l i c i e s   a r e   s c o p e d   t o   n a m e s p a c e s .   F o r   e x a m p l e ,   R B A C   R o l e s   a n d   N e t w o r k   P o l i c i e s   a r e   n a m e s p a c e - s c o p e d   r e s o u r c e s .   U s i n g   R B A C ,   U s e r s   a n d   S e r v i c e   A c c o u n t s   c a n   b e   r e s t r i c t e d   t o   a   n a m e s p a c e .   O b j e c t   n a m e s   w i t h i n   a   n a m e s p a c e   c a n   o v e r l a p   w i t h   n a m e s   i n   o t h e r   n a m e s p a c e s ,   s i m i l a r   t o   f i l e s   i n   f o l d e r s .   T h i s   a l l o w s   t e n a n t s   t o   n a m e   t h e i r   r e s o u r c e s   w i t h o u t   h a v i n g   t o   c o n s i d e r   w h a t   o t h e r   t e n a n t s   a r e   d o i n g .   M a n y   K u b e r n e t e s   s e c u r i t y   p o l i c i e s   a r e   s c o p e d   t o   n a m e s p a c e s .   F o r   e x a m p l e ,   R B A C   R o l e s   a n d   N e t w o r k   P o l i c i e s   a r e   n a m e s p a c e - s c o p e d   r e s o u r c e s .   U s i n g   R B A C ,   U s e r s   a n d   S e r v i c e   A c c o u n t s   c a n   b e   r e s t r i c t e d   t o   a   n a m e s p a c e .   I n   a   m u l t i - t e n a n t   e ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_section_3_3295"
  },
  {
    "question": "What is Access controls?",
    "answer": "T h e   m o s t   i m p o r t a n t   t y p e   o f   i s o l a t i o n   f o r   t h e   c o n t r o l   p l a n e   i s   a u t h o r i z a t i o n .   I f   t e a m s   o r   t h e i r   w o r k l o a d s   c a n   a c c e s s   o r   m o d i f y   e a c h   o t h e r s '   A P I   r e s o u r c e s ,   t h e y   c a n   c h a n g e   o r   d i s a b l e   a l l   o t h e r   t y p e s   o f   p o l i c i e s   t h e r e b y   n e g a t i n g   a n y   p r o t e c t i o n   t h o s e   p o l i c i e s   m a y   o f f e r .   A s   a   r e s u l t ,   i t   i s   c r i t i c a l   t o   e n s u r e   t h a t   e a c h   t e n a n t   h a s   t h e   a p p r o p r i a t e   a c c e s s   t o   o n l y   t h e   n a m e s p a c e s   t h e y   n e e d ,   a n d   n o   m o r e .   T h i s   i s   k n o w n   a s   t h e   \" P r i n c i p l e   o f   L e a s t   P r i v i l e g e . \"   R o l e - b a s e d   a c c e s s   c o n t r o l   ( R B A C )   i s   c o m m o n l y   u s e d   t o   e n f o r c e   a u t h o r i z a t i o n   i n   t h e   K u b e r n e t e s   c o n t r o l   p l a n e ,   f o r   b o t h   u s e r s   a n d   w o r k l o a d s   ( s e r v i c e   a c c o u n t s ) .   R o l e s   a n d   R o l e B i n d i n g s   a r e   K u b e r n e t e s   o b j e c t s   t h a t   a r e   u s e d   a t   a   n a m e s p a c e   l e v e l   t o   e n f o r c e   a c c e s s   c o n t r o l   i n   y o u r   a p p l i c a t i o n ;   s i m i l a r   o b j e c t s   e x i s t   f o r   a u t h o r i z i n g   a c c e s s   t o   c l u s t e r - l e v e l   o b j e c t s ,   t h o u g h   t h e s e   a r e   l e s s   u s e f u l   f o r   m u l t i - t e n a n t   c l u s t e r s .   I n   a   m u l t i - t e a m   e n v i r o n m e n t ,   R B A C   m u s t   b e   u s e d   t o   r e s t r i c t   t e n a n t s '   a c c e s s   t o   t h e   a p p r o p r i a t e   n a m e s p a c e s ,   a n d   e n s u r e   t h a t   c l u s t e r - w i d e   r e s o ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_section_3_3296"
  },
  {
    "question": "What is Quotas?",
    "answer": "K u b e r n e t e s   w o r k l o a d s   c o n s u m e   n o d e   r e s o u r c e s ,   l i k e   C P U   a n d   m e m o r y .   I n   a   m u l t i - t e n a n t   e n v i r o n m e n t ,   y o u   c a n   u s e   R e s o u r c e   Q u o t a s   t o   m a n a g e   r e s o u r c e   u s a g e   o f   t e n a n t   w o r k l o a d s .   F o r   t h e   m u l t i p l e   t e a m s   u s e   c a s e ,   w h e r e   t e n a n t s   h a v e   a c c e s s   t o   t h e   K u b e r n e t e s   A P I ,   y o u   c a n   u s e   r e s o u r c e   q u o t a s   t o   l i m i t   t h e   n u m b e r   o f   A P I   r e s o u r c e s   ( f o r   e x a m p l e :   t h e   n u m b e r   o f   P o d s ,   o r   t h e   n u m b e r   o f   C o n f i g M a p s )   t h a t   a   t e n a n t   c a n   c r e a t e .   L i m i t s   o n   o b j e c t   c o u n t   e n s u r e   f a i r n e s s   a n d   a i m   t o   a v o i d   n o i s y   n e i g h b o r   i s s u e s   f r o m   a f f e c t i n g   o t h e r   t e n a n t s   t h a t   s h a r e   a   c o n t r o l   p l a n e .   R e s o u r c e   q u o t a s   a r e   n a m e s p a c e d   o b j e c t s .   B y   m a p p i n g   t e n a n t s   t o   n a m e s p a c e s ,   c l u s t e r   a d m i n s   c a n   u s e   q u o t a s   t o   e n s u r e   t h a t   a   t e n a n t   c a n n o t   m o n o p o l i z e   a   c l u s t e r ' s   r e s o u r c e s   o r   o v e r w h e l m   i t s   c o n t r o l   p l a n e .   N a m e s p a c e   m a n a g e m e n t   t o o l s   s i m p l i f y   t h e   a d m i n i s t r a t i o n   o f   q u o t a s .   I n   a d d i t i o n ,   w h i l e   K u b e r n e t e s   q u o t a s   o n l y   a p p l y   w i t h i n   a   s i n g l e   n a m e s p a c e ,   s o m e   n a m e s p a c e   m a n a g e m e n t   t o o l s   a l l o w   g r o u p s   o f   n a m e s p a c e s   t o   s h a r e   q u o t a s ,   g i v i n g   a d m i n i s t r a t o r s   f a r   m o r e   f l e x i b i l i t ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_section_3_3297"
  },
  {
    "question": "What is Data Plane Isolation?",
    "answer": "D a t a   p l a n e   i s o l a t i o n   e n s u r e s   t h a t   p o d s   a n d   w o r k l o a d s   f o r   d i f f e r e n t   t e n a n t s   a r e   s u f f i c i e n t l y   i s o l a t e d .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_section_2_3298"
  },
  {
    "question": "What is Network isolation?",
    "answer": "B y   d e f a u l t ,   a l l   p o d s   i n   a   K u b e r n e t e s   c l u s t e r   a r e   a l l o w e d   t o   c o m m u n i c a t e   w i t h   e a c h   o t h e r ,   a n d   a l l   n e t w o r k   t r a f f i c   i s   u n e n c r y p t e d .   T h i s   c a n   l e a d   t o   s e c u r i t y   v u l n e r a b i l i t i e s   w h e r e   t r a f f i c   i s   a c c i d e n t a l l y   o r   m a l i c i o u s l y   s e n t   t o   a n   u n i n t e n d e d   d e s t i n a t i o n ,   o r   i s   i n t e r c e p t e d   b y   a   w o r k l o a d   o n   a   c o m p r o m i s e d   n o d e .   P o d - t o - p o d   c o m m u n i c a t i o n   c a n   b e   c o n t r o l l e d   u s i n g   N e t w o r k   P o l i c i e s ,   w h i c h   r e s t r i c t   c o m m u n i c a t i o n   b e t w e e n   p o d s   u s i n g   n a m e s p a c e   l a b e l s   o r   I P   a d d r e s s   r a n g e s .   I n   a   m u l t i - t e n a n t   e n v i r o n m e n t   w h e r e   s t r i c t   n e t w o r k   i s o l a t i o n   b e t w e e n   t e n a n t s   i s   r e q u i r e d ,   s t a r t i n g   w i t h   a   d e f a u l t   p o l i c y   t h a t   d e n i e s   c o m m u n i c a t i o n   b e t w e e n   p o d s   i s   r e c o m m e n d e d   w i t h   a n o t h e r   r u l e   t h a t   a l l o w s   a l l   p o d s   t o   q u e r y   t h e   D N S   s e r v e r   f o r   n a m e   r e s o l u t i o n .   W i t h   s u c h   a   d e f a u l t   p o l i c y   i n   p l a c e ,   y o u   c a n   b e g i n   a d d i n g   m o r e   p e r m i s s i v e   r u l e s   t h a t   a l l o w   f o r   c o m m u n i c a t i o n   w i t h i n   a   n a m e s p a c e .   I t   i s   a l s o   r e c o m m e n d e d   n o t   t o   u s e   e m p t y   l a b e l   s e l e c t o r   ' { } '   f o r   n a m e s p a c e S e l e c t o r   f i e l d   i n   n e t w o r k   p o l i c y   d e f i n i t i o n ,   i n   c a s e   t r a f f i c   n e e d   t o   b e   a l l o w e d ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_section_3_3299"
  },
  {
    "question": "What is Warning:?",
    "answer": "M o r e   a d v a n c e d   n e t w o r k   i s o l a t i o n   m a y   b e   p r o v i d e d   b y   s e r v i c e   m e s h e s ,   w h i c h   p r o v i d e   O S I   L a y e r   7   p o l i c i e s   b a s e d   o n   w o r k l o a d   i d e n t i t y ,   i n   a d d i t i o n   t o   n a m e s p a c e s .   T h e s e   h i g h e r - l e v e l   p o l i c i e s   c a n   m a k e   i t   e a s i e r   t o   m a n a g e   n a m e s p a c e - b a s e d   m u l t i - t e n a n c y ,   e s p e c i a l l y   w h e n   m u l t i p l e   n a m e s p a c e s   a r e   d e d i c a t e d   t o   a   s i n g l e   t e n a n t .   T h e y   f r e q u e n t l y   a l s o   o f f e r   e n c r y p t i o n   u s i n g   m u t u a l   T L S ,   p r o t e c t i n g   y o u r   d a t a   e v e n   i n   t h e   p r e s e n c e   o f   a   c o m p r o m i s e d   n o d e ,   a n d   w o r k   a c r o s s   d e d i c a t e d   o r   v i r t u a l   c l u s t e r s .   H o w e v e r ,   t h e y   c a n   b e   s i g n i f i c a n t l y   m o r e   c o m p l e x   t o   m a n a g e   a n d   m a y   n o t   b e   a p p r o p r i a t e   f o r   a l l   u s e r s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_section_4_3300"
  },
  {
    "question": "What is Storage isolation?",
    "answer": "K u b e r n e t e s   o f f e r s   s e v e r a l   t y p e s   o f   v o l u m e s   t h a t   c a n   b e   u s e d   a s   p e r s i s t e n t   s t o r a g e   f o r   w o r k l o a d s .   F o r   s e c u r i t y   a n d   d a t a - i s o l a t i o n ,   d y n a m i c   v o l u m e   p r o v i s i o n i n g   i s   r e c o m m e n d e d   a n d   v o l u m e   t y p e s   t h a t   u s e   n o d e   r e s o u r c e s   s h o u l d   b e   a v o i d e d .   S t o r a g e C l a s s e s   a l l o w   y o u   t o   d e s c r i b e   c u s t o m   \" c l a s s e s \"   o f   s t o r a g e   o f f e r e d   b y   y o u r   c l u s t e r ,   b a s e d   o n   q u a l i t y - o f - s e r v i c e   l e v e l s ,   b a c k u p   p o l i c i e s ,   o r   c u s t o m   p o l i c i e s   d e t e r m i n e d   b y   t h e   c l u s t e r   a d m i n i s t r a t o r s .   P o d s   c a n   r e q u e s t   s t o r a g e   u s i n g   a   P e r s i s t e n t V o l u m e C l a i m .   A   P e r s i s t e n t V o l u m e C l a i m   i s   a   n a m e s p a c e d   r e s o u r c e ,   w h i c h   e n a b l e s   i s o l a t i n g   p o r t i o n s   o f   t h e   s t o r a g e   s y s t e m   a n d   d e d i c a t i n g   i t   t o   t e n a n t s   w i t h i n   t h e   s h a r e d   K u b e r n e t e s   c l u s t e r .   H o w e v e r ,   i t   i s   i m p o r t a n t   t o   n o t e   t h a t   a   P e r s i s t e n t V o l u m e   i s   a   c l u s t e r - w i d e   r e s o u r c e   a n d   h a s   a   l i f e c y c l e   i n d e p e n d e n t   o f   w o r k l o a d s   a n d   n a m e s p a c e s .   F o r   e x a m p l e ,   y o u   c a n   c o n f i g u r e   a   s e p a r a t e   S t o r a g e C l a s s   f o r   e a c h   t e n a n t   a n d   u s e   t h i s   t o   s t r e n g t h e n   i s o l a t i o n .   I f   a   S t o r a g e C l a s s   i s   s h a r e d ,   y o u   s h o u l d   s e t   a   r e c l a i m   p o l i c y   o f   D e l e t e   t o   e n s u r e   ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_section_3_3301"
  },
  {
    "question": "What is Sandboxing containers?",
    "answer": "K u b e r n e t e s   p o d s   a r e   c o m p o s e d   o f   o n e   o r   m o r e   c o n t a i n e r s   t h a t   e x e c u t e   o n   w o r k e r   n o d e s .   C o n t a i n e r s   u t i l i z e   O S - l e v e l   v i r t u a l i z a t i o n   a n d   h e n c e   o f f e r   a   w e a k e r   i s o l a t i o n   b o u n d a r y   t h a n   v i r t u a l   m a c h i n e s   t h a t   u t i l i z e   h a r d w a r e - b a s e d   v i r t u a l i z a t i o n .   I n   a   s h a r e d   e n v i r o n m e n t ,   u n p a t c h e d   v u l n e r a b i l i t i e s   i n   t h e   a p p l i c a t i o n   a n d   s y s t e m   l a y e r s   c a n   b e   e x p l o i t e d   b y   a t t a c k e r s   f o r   c o n t a i n e r   b r e a k o u t s   a n d   r e m o t e   c o d e   e x e c u t i o n   t h a t   a l l o w   a c c e s s   t o   h o s t   r e s o u r c e s .   I n   s o m e   a p p l i c a t i o n s ,   l i k e   a   C o n t e n t   M a n a g e m e n t   S y s t e m   ( C M S ) ,   c u s t o m e r s   m a y   b e   a l l o w e d   t h e   a b i l i t y   t o   u p l o a d   a n d   e x e c u t e   u n t r u s t e d   s c r i p t s   o r   c o d e .   I n   e i t h e r   c a s e ,   m e c h a n i s m s   t o   f u r t h e r   i s o l a t e   a n d   p r o t e c t   w o r k l o a d s   u s i n g   s t r o n g   i s o l a t i o n   a r e   d e s i r a b l e .   S a n d b o x i n g   p r o v i d e s   a   w a y   t o   i s o l a t e   w o r k l o a d s   r u n n i n g   i n   a   s h a r e d   c l u s t e r .   I t   t y p i c a l l y   i n v o l v e s   r u n n i n g   e a c h   p o d   i n   a   s e p a r a t e   e x e c u t i o n   e n v i r o n m e n t   s u c h   a s   a   v i r t u a l   m a c h i n e   o r   a   u s e r s p a c e   k e r n e l .   S a n d b o x i n g   i s   o f t e n   r e c o m m e n d e d   w h e n   y o u   a r e   r u n n i n g   u n t r u s t e d   c o d e ,   w h e r e   w o r k l o a d s   a r e   a s s u m e d   t o   b e   ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_section_3_3302"
  },
  {
    "question": "What is Node Isolation?",
    "answer": "N o d e   i s o l a t i o n   i s   a n o t h e r   t e c h n i q u e   t h a t   y o u   c a n   u s e   t o   i s o l a t e   t e n a n t   w o r k l o a d s   f r o m   e a c h   o t h e r .   W i t h   n o d e   i s o l a t i o n ,   a   s e t   o f   n o d e s   i s   d e d i c a t e d   t o   r u n n i n g   p o d s   f r o m   a   p a r t i c u l a r   t e n a n t   a n d   c o - m i n g l i n g   o f   t e n a n t   p o d s   i s   p r o h i b i t e d .   T h i s   c o n f i g u r a t i o n   r e d u c e s   t h e   n o i s y   t e n a n t   i s s u e ,   a s   a l l   p o d s   r u n n i n g   o n   a   n o d e   w i l l   b e l o n g   t o   a   s i n g l e   t e n a n t .   T h e   r i s k   o f   i n f o r m a t i o n   d i s c l o s u r e   i s   s l i g h t l y   l o w e r   w i t h   n o d e   i s o l a t i o n   b e c a u s e   a n   a t t a c k e r   t h a t   m a n a g e s   t o   e s c a p e   f r o m   a   c o n t a i n e r   w i l l   o n l y   h a v e   a c c e s s   t o   t h e   c o n t a i n e r s   a n d   v o l u m e s   m o u n t e d   t o   t h a t   n o d e .   A l t h o u g h   w o r k l o a d s   f r o m   d i f f e r e n t   t e n a n t s   a r e   r u n n i n g   o n   d i f f e r e n t   n o d e s ,   i t   i s   i m p o r t a n t   t o   b e   a w a r e   t h a t   t h e   k u b e l e t   a n d   ( u n l e s s   u s i n g   v i r t u a l   c o n t r o l   p l a n e s )   t h e   A P I   s e r v i c e   a r e   s t i l l   s h a r e d   s e r v i c e s .   A   s k i l l e d   a t t a c k e r   c o u l d   u s e   t h e   p e r m i s s i o n s   a s s i g n e d   t o   t h e   k u b e l e t   o r   o t h e r   p o d s   r u n n i n g   o n   t h e   n o d e   t o   m o v e   l a t e r a l l y   w i t h i n   t h e   c l u s t e r   a n d   g a i n   a c c e s s   t o   t e n a n t   w o r k l o a d s   r u n n i n g   o n   o t h e r   n o d e s .   I f   t h i s   i s   a   m a j o r   c o n c e r n ,   c o n s i d e r   i m p l e ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_section_3_3303"
  },
  {
    "question": "What is Additional Considerations?",
    "answer": "T h i s   s e c t i o n   d i s c u s s e s   o t h e r   K u b e r n e t e s   c o n s t r u c t s   a n d   p a t t e r n s   t h a t   a r e   r e l e v a n t   f o r   m u l t i - t e n a n c y .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_section_2_3304"
  },
  {
    "question": "What is API Priority and Fairness?",
    "answer": "A P I   p r i o r i t y   a n d   f a i r n e s s   i s   a   K u b e r n e t e s   f e a t u r e   t h a t   a l l o w s   y o u   t o   a s s i g n   a   p r i o r i t y   t o   c e r t a i n   p o d s   r u n n i n g   w i t h i n   t h e   c l u s t e r .   W h e n   a n   a p p l i c a t i o n   c a l l s   t h e   K u b e r n e t e s   A P I ,   t h e   A P I   s e r v e r   e v a l u a t e s   t h e   p r i o r i t y   a s s i g n e d   t o   p o d .   C a l l s   f r o m   p o d s   w i t h   h i g h e r   p r i o r i t y   a r e   f u l f i l l e d   b e f o r e   t h o s e   w i t h   a   l o w e r   p r i o r i t y .   W h e n   c o n t e n t i o n   i s   h i g h ,   l o w e r   p r i o r i t y   c a l l s   c a n   b e   q u e u e d   u n t i l   t h e   s e r v e r   i s   l e s s   b u s y   o r   y o u   c a n   r e j e c t   t h e   r e q u e s t s .   U s i n g   A P I   p r i o r i t y   a n d   f a i r n e s s   w i l l   n o t   b e   v e r y   c o m m o n   i n   S a a S   e n v i r o n m e n t s   u n l e s s   y o u   a r e   a l l o w i n g   c u s t o m e r s   t o   r u n   a p p l i c a t i o n s   t h a t   i n t e r f a c e   w i t h   t h e   K u b e r n e t e s   A P I ,   f o r   e x a m p l e ,   a   c o n t r o l l e r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_section_3_3305"
  },
  {
    "question": "What is Quality-of-Service (QoS)?",
    "answer": "W h e n   y o u ’ r e   r u n n i n g   a   S a a S   a p p l i c a t i o n ,   y o u   m a y   w a n t   t h e   a b i l i t y   t o   o f f e r   d i f f e r e n t   Q u a l i t y - o f - S e r v i c e   ( Q o S )   t i e r s   o f   s e r v i c e   t o   d i f f e r e n t   t e n a n t s .   F o r   e x a m p l e ,   y o u   m a y   h a v e   f r e e m i u m   s e r v i c e   t h a t   c o m e s   w i t h   f e w e r   p e r f o r m a n c e   g u a r a n t e e s   a n d   f e a t u r e s   a n d   a   f o r - f e e   s e r v i c e   t i e r   w i t h   s p e c i f i c   p e r f o r m a n c e   g u a r a n t e e s .   F o r t u n a t e l y ,   t h e r e   a r e   s e v e r a l   K u b e r n e t e s   c o n s t r u c t s   t h a t   c a n   h e l p   y o u   a c c o m p l i s h   t h i s   w i t h i n   a   s h a r e d   c l u s t e r ,   i n c l u d i n g   n e t w o r k   Q o S ,   s t o r a g e   c l a s s e s ,   a n d   p o d   p r i o r i t y   a n d   p r e e m p t i o n .   T h e   i d e a   w i t h   e a c h   o f   t h e s e   i s   t o   p r o v i d e   t e n a n t s   w i t h   t h e   q u a l i t y   o f   s e r v i c e   t h a t   t h e y   p a i d   f o r .   L e t ’ s   s t a r t   b y   l o o k i n g   a t   n e t w o r k i n g   Q o S .   T y p i c a l l y ,   a l l   p o d s   o n   a   n o d e   s h a r e   a   n e t w o r k   i n t e r f a c e .   W i t h o u t   n e t w o r k   Q o S ,   s o m e   p o d s   m a y   c o n s u m e   a n   u n f a i r   s h a r e   o f   t h e   a v a i l a b l e   b a n d w i d t h   a t   t h e   e x p e n s e   o f   o t h e r   p o d s .   T h e   K u b e r n e t e s   b a n d w i d t h   p l u g i n   c r e a t e s   a n   e x t e n d e d   r e s o u r c e   f o r   n e t w o r k i n g   t h a t   a l l o w s   y o u   t o   u s e   K u b e r n e t e s   r e s o u r c e s   c o n s t r u c t s ,   i . e .   r e q u e s t s / l i m i t s ,   t o   a p p l y   r a t e   l i m i t s   t o   p o d s   b y   u s ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_section_3_3306"
  },
  {
    "question": "What is DNS?",
    "answer": "K u b e r n e t e s   c l u s t e r s   i n c l u d e   a   D o m a i n   N a m e   S y s t e m   ( D N S )   s e r v i c e   t o   p r o v i d e   t r a n s l a t i o n s   f r o m   n a m e s   t o   I P   a d d r e s s e s ,   f o r   a l l   S e r v i c e s   a n d   P o d s .   B y   d e f a u l t ,   t h e   K u b e r n e t e s   D N S   s e r v i c e   a l l o w s   l o o k u p s   a c r o s s   a l l   n a m e s p a c e s   i n   t h e   c l u s t e r .   I n   m u l t i - t e n a n t   e n v i r o n m e n t s   w h e r e   t e n a n t s   c a n   a c c e s s   p o d s   a n d   o t h e r   K u b e r n e t e s   r e s o u r c e s ,   o r   w h e r e   s t r o n g e r   i s o l a t i o n   i s   r e q u i r e d ,   i t   m a y   b e   n e c e s s a r y   t o   p r e v e n t   p o d s   f r o m   l o o k i n g   u p   s e r v i c e s   i n   o t h e r   N a m e s p a c e s .   Y o u   c a n   r e s t r i c t   c r o s s - n a m e s p a c e   D N S   l o o k u p s   b y   c o n f i g u r i n g   s e c u r i t y   r u l e s   f o r   t h e   D N S   s e r v i c e .   F o r   e x a m p l e ,   C o r e D N S   ( t h e   d e f a u l t   D N S   s e r v i c e   f o r   K u b e r n e t e s )   c a n   l e v e r a g e   K u b e r n e t e s   m e t a d a t a   t o   r e s t r i c t   q u e r i e s   t o   P o d s   a n d   S e r v i c e s   w i t h i n   a   n a m e s p a c e .   F o r   m o r e   i n f o r m a t i o n ,   r e a d   a n   e x a m p l e   o f   c o n f i g u r i n g   t h i s   w i t h i n   t h e   C o r e D N S   d o c u m e n t a t i o n .   W h e n   a   V i r t u a l   C o n t r o l   P l a n e   p e r   t e n a n t   m o d e l   i s   u s e d ,   a   D N S   s e r v i c e   m u s t   b e   c o n f i g u r e d   p e r   t e n a n t   o r   a   m u l t i - t e n a n t   D N S   s e r v i c e   m u s t   b e   u s e d .   H e r e   i s   a n   e x a m p l e   o f   a   c u s t o m i z e d   v e r s i o n   o f   C o r e D N S   t h a t   s u p p o r ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_section_3_3307"
  },
  {
    "question": "What is Operators?",
    "answer": "O p e r a t o r s   a r e   K u b e r n e t e s   c o n t r o l l e r s   t h a t   m a n a g e   a p p l i c a t i o n s .   O p e r a t o r s   c a n   s i m p l i f y   t h e   m a n a g e m e n t   o f   m u l t i p l e   i n s t a n c e s   o f   a n   a p p l i c a t i o n ,   l i k e   a   d a t a b a s e   s e r v i c e ,   w h i c h   m a k e s   t h e m   a   c o m m o n   b u i l d i n g   b l o c k   i n   t h e   m u l t i - c o n s u m e r   ( S a a S )   m u l t i - t e n a n c y   u s e   c a s e .   O p e r a t o r s   u s e d   i n   a   m u l t i - t e n a n t   e n v i r o n m e n t   s h o u l d   f o l l o w   a   s t r i c t e r   s e t   o f   g u i d e l i n e s .   S p e c i f i c a l l y ,   t h e   O p e r a t o r   s h o u l d :   S u p p o r t   c r e a t i n g   r e s o u r c e s   w i t h i n   d i f f e r e n t   t e n a n t   n a m e s p a c e s ,   r a t h e r   t h a n   j u s t   i n   t h e   n a m e s p a c e   i n   w h i c h   t h e   O p e r a t o r   i s   d e p l o y e d . E n s u r e   t h a t   t h e   P o d s   a r e   c o n f i g u r e d   w i t h   r e s o u r c e   r e q u e s t s   a n d   l i m i t s ,   t o   e n s u r e   s c h e d u l i n g   a n d   f a i r n e s s . S u p p o r t   c o n f i g u r a t i o n   o f   P o d s   f o r   d a t a - p l a n e   i s o l a t i o n   t e c h n i q u e s   s u c h   a s   n o d e   i s o l a t i o n   a n d   s a n d b o x e d   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_section_3_3308"
  },
  {
    "question": "What is Implementations?",
    "answer": "T h e r e   a r e   t w o   p r i m a r y   w a y s   t o   s h a r e   a   K u b e r n e t e s   c l u s t e r   f o r   m u l t i - t e n a n c y :   u s i n g   N a m e s p a c e s   ( t h a t   i s ,   a   N a m e s p a c e   p e r   t e n a n t )   o r   b y   v i r t u a l i z i n g   t h e   c o n t r o l   p l a n e   ( t h a t   i s ,   v i r t u a l   c o n t r o l   p l a n e   p e r   t e n a n t ) .   I n   b o t h   c a s e s ,   d a t a   p l a n e   i s o l a t i o n ,   a n d   m a n a g e m e n t   o f   a d d i t i o n a l   c o n s i d e r a t i o n s   s u c h   a s   A P I   P r i o r i t y   a n d   F a i r n e s s ,   i s   a l s o   r e c o m m e n d e d .   N a m e s p a c e   i s o l a t i o n   i s   w e l l - s u p p o r t e d   b y   K u b e r n e t e s ,   h a s   a   n e g l i g i b l e   r e s o u r c e   c o s t ,   a n d   p r o v i d e s   m e c h a n i s m s   t o   a l l o w   t e n a n t s   t o   i n t e r a c t   a p p r o p r i a t e l y ,   s u c h   a s   b y   a l l o w i n g   s e r v i c e - t o - s e r v i c e   c o m m u n i c a t i o n .   H o w e v e r ,   i t   c a n   b e   d i f f i c u l t   t o   c o n f i g u r e ,   a n d   d o e s n ' t   a p p l y   t o   K u b e r n e t e s   r e s o u r c e s   t h a t   c a n ' t   b e   n a m e s p a c e d ,   s u c h   a s   C u s t o m   R e s o u r c e   D e f i n i t i o n s ,   S t o r a g e   C l a s s e s ,   a n d   W e b h o o k s .   C o n t r o l   p l a n e   v i r t u a l i z a t i o n   a l l o w s   f o r   i s o l a t i o n   o f   n o n - n a m e s p a c e d   r e s o u r c e s   a t   t h e   c o s t   o f   s o m e w h a t   h i g h e r   r e s o u r c e   u s a g e   a n d   m o r e   d i f f i c u l t   c r o s s - t e n a n t   s h a r i n g .   I t   i s   a   g o o d   o p t i o n   w h e n   n a m e s p a c e   i s o l a t i o n   i s   i n s u f f i c i e n t   b u t   d e d i c a t e d   c l u s t e r s   a r e   u n d e s i r a b l e ,   d u ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_section_2_3309"
  },
  {
    "question": "What is Namespace per tenant?",
    "answer": "A s   p r e v i o u s l y   m e n t i o n e d ,   y o u   s h o u l d   c o n s i d e r   i s o l a t i n g   e a c h   w o r k l o a d   i n   i t s   o w n   n a m e s p a c e ,   e v e n   i f   y o u   a r e   u s i n g   d e d i c a t e d   c l u s t e r s   o r   v i r t u a l i z e d   c o n t r o l   p l a n e s .   T h i s   e n s u r e s   t h a t   e a c h   w o r k l o a d   o n l y   h a s   a c c e s s   t o   i t s   o w n   r e s o u r c e s ,   s u c h   a s   C o n f i g M a p s   a n d   S e c r e t s ,   a n d   a l l o w s   y o u   t o   t a i l o r   d e d i c a t e d   s e c u r i t y   p o l i c i e s   f o r   e a c h   w o r k l o a d .   I n   a d d i t i o n ,   i t   i s   a   b e s t   p r a c t i c e   t o   g i v e   e a c h   n a m e s p a c e   n a m e s   t h a t   a r e   u n i q u e   a c r o s s   y o u r   e n t i r e   f l e e t   ( t h a t   i s ,   e v e n   i f   t h e y   a r e   i n   s e p a r a t e   c l u s t e r s ) ,   a s   t h i s   g i v e s   y o u   t h e   f l e x i b i l i t y   t o   s w i t c h   b e t w e e n   d e d i c a t e d   a n d   s h a r e d   c l u s t e r s   i n   t h e   f u t u r e ,   o r   t o   u s e   m u l t i - c l u s t e r   t o o l i n g   s u c h   a s   s e r v i c e   m e s h e s .   C o n v e r s e l y ,   t h e r e   a r e   a l s o   a d v a n t a g e s   t o   a s s i g n i n g   n a m e s p a c e s   a t   t h e   t e n a n t   l e v e l ,   n o t   j u s t   t h e   w o r k l o a d   l e v e l ,   s i n c e   t h e r e   a r e   o f t e n   p o l i c i e s   t h a t   a p p l y   t o   a l l   w o r k l o a d s   o w n e d   b y   a   s i n g l e   t e n a n t .   H o w e v e r ,   t h i s   r a i s e s   i t s   o w n   p r o b l e m s .   F i r s t l y ,   t h i s   m a k e s   i t   d i f f i c u l t   o r   i m p o s s i b l e   t o   c u s t o m i z e   p o l i c i e s   t o   i n d i v i d u a l   w o r k l o a d s ,   a n d   s e c o n d l y ,   i t   m a y   b e   c ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_section_3_3310"
  },
  {
    "question": "What is Virtual control plane per tenant?",
    "answer": "A n o t h e r   f o r m   o f   c o n t r o l - p l a n e   i s o l a t i o n   i s   t o   u s e   K u b e r n e t e s   e x t e n s i o n s   t o   p r o v i d e   e a c h   t e n a n t   a   v i r t u a l   c o n t r o l - p l a n e   t h a t   e n a b l e s   s e g m e n t a t i o n   o f   c l u s t e r - w i d e   A P I   r e s o u r c e s .   D a t a   p l a n e   i s o l a t i o n   t e c h n i q u e s   c a n   b e   u s e d   w i t h   t h i s   m o d e l   t o   s e c u r e l y   m a n a g e   w o r k e r   n o d e s   a c r o s s   t e n a n t s .   T h e   v i r t u a l   c o n t r o l   p l a n e   b a s e d   m u l t i - t e n a n c y   m o d e l   e x t e n d s   n a m e s p a c e - b a s e d   m u l t i - t e n a n c y   b y   p r o v i d i n g   e a c h   t e n a n t   w i t h   d e d i c a t e d   c o n t r o l   p l a n e   c o m p o n e n t s ,   a n d   h e n c e   c o m p l e t e   c o n t r o l   o v e r   c l u s t e r - w i d e   r e s o u r c e s   a n d   a d d - o n   s e r v i c e s .   W o r k e r   n o d e s   a r e   s h a r e d   a c r o s s   a l l   t e n a n t s ,   a n d   a r e   m a n a g e d   b y   a   K u b e r n e t e s   c l u s t e r   t h a t   i s   n o r m a l l y   i n a c c e s s i b l e   t o   t e n a n t s .   T h i s   c l u s t e r   i s   o f t e n   r e f e r r e d   t o   a s   a   s u p e r - c l u s t e r   ( o r   s o m e t i m e s   a s   a   h o s t - c l u s t e r ) .   S i n c e   a   t e n a n t ’ s   c o n t r o l - p l a n e   i s   n o t   d i r e c t l y   a s s o c i a t e d   w i t h   u n d e r l y i n g   c o m p u t e   r e s o u r c e s   i t   i s   r e f e r r e d   t o   a s   a   v i r t u a l   c o n t r o l   p l a n e .   A   v i r t u a l   c o n t r o l   p l a n e   t y p i c a l l y   c o n s i s t s   o f   t h e   K u b e r n e t e s   A P I   s e r v e r ,   t h e   c o n t r o l l e r   m a n a g e r ,   a n d   t h e   e t c d   d a t a   s t o r e .   I t   i n t e r a c t ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/multi-tenancy/",
    "id": "k8s_00185_section_3_3311"
  },
  {
    "question": "What is Security?",
    "answer": "SecuritySecurity is an important concern for most organizations and people who run Kubernetes clusters. You can find a basic security checklist elsewhere in the Kubernetes documentation.To learn how to deploy and manage security aspects of Kubernetes, you can follow the tutorials in this section.Apply Pod Security Standards at the Cluster LevelApply Pod Security Standards at the Namespace LevelRestrict a Container's Access to Resources with AppArmorRestrict a Container's Syscalls with seccomp",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/",
    "id": "k8s_00186_qa_3312"
  },
  {
    "question": "How does Security work?",
    "answer": "SecuritySecurity is an important concern for most organizations and people who run Kubernetes clusters. You can find a basic security checklist elsewhere in the Kubernetes documentation.To learn how to deploy and manage security aspects of Kubernetes, you can follow the tutorials in this section.Apply Pod Security Standards at the Cluster LevelApply Pod Security Standards at the Namespace LevelRestrict a Container's Access to Resources with AppArmorRestrict a Container's Syscalls with seccomp",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/",
    "id": "k8s_00186_qa_3313"
  },
  {
    "question": "When would you use Security?",
    "answer": "SecuritySecurity is an important concern for most organizations and people who run Kubernetes clusters. You can find a basic security checklist elsewhere in the Kubernetes documentation.To learn how to deploy and manage security aspects of Kubernetes, you can follow the tutorials in this section.Apply Pod Security Standards at the Cluster LevelApply Pod Security Standards at the Namespace LevelRestrict a Container's Access to Resources with AppArmorRestrict a Container's Syscalls with seccomp",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/",
    "id": "k8s_00186_qa_3314"
  },
  {
    "question": "What are the benefits of Security?",
    "answer": "SecuritySecurity is an important concern for most organizations and people who run Kubernetes clusters. You can find a basic security checklist elsewhere in the Kubernetes documentation.To learn how to deploy and manage security aspects of Kubernetes, you can follow the tutorials in this section.Apply Pod Security Standards at the Cluster LevelApply Pod Security Standards at the Namespace LevelRestrict a Container's Access to Resources with AppArmorRestrict a Container's Syscalls with seccomp",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/",
    "id": "k8s_00186_qa_3315"
  },
  {
    "question": "What is Security?",
    "answer": "S e c u r i t y   i s   a n   i m p o r t a n t   c o n c e r n   f o r   m o s t   o r g a n i z a t i o n s   a n d   p e o p l e   w h o   r u n   K u b e r n e t e s   c l u s t e r s .   Y o u   c a n   f i n d   a   b a s i c   s e c u r i t y   c h e c k l i s t   e l s e w h e r e   i n   t h e   K u b e r n e t e s   d o c u m e n t a t i o n .   T o   l e a r n   h o w   t o   d e p l o y   a n d   m a n a g e   s e c u r i t y   a s p e c t s   o f   K u b e r n e t e s ,   y o u   c a n   f o l l o w   t h e   t u t o r i a l s   i n   t h i s   s e c t i o n .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/",
    "id": "k8s_00186_section_1_3316"
  },
  {
    "question": "What is Overprovision Node Capacity For A Cluster?",
    "answer": "Overprovision Node Capacity For A ClusterThis page guides you through configuring Node overprovisioning in your Kubernetes cluster. Node overprovisioning is a strategy that proactively reserves a portion of your cluster's compute resources. This reservation helps reduce the time required to schedule new pods during scaling events, enhancing your cluster's responsiveness to sudden spikes in traffic or workload demands.By maintaining some unused capacity, you ensure that resources are immediately available when new pods are created, preventing them from entering a pending state while the cluster scales up.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster.You should already have a basic understanding of Deployments, Pod priority, and PriorityClasses.Your cluster must be set up with an autoscaler that manages nodes based on demand.Create a PriorityClassBegin by defining a PriorityClass for the placeholder Pods. First, create a PriorityClass with a negative priority value, that you will shortly assign to the placeholder pods. Later, you will set up a Deployment that uses this PriorityClasspriorityclass/low-priority-class.yaml apiVersion: scheduling.k8s.io/v1 kind: PriorityClass metadata: name: placeholder # these Pods represent placeholder capacity value: -1000 globalDefault: false description: \"Negative priority for placeholder pods to enable overprovisioning.\"Then create the PriorityClass:kubectl apply -f https://k8s.io/examples/priorityclass/low-priority-class.yaml You will next define a Deployment that uses the negative-priority PriorityClass and runs a minimal container. When you add this to your cluster, Kubernetes runs those placeholder pods to reserve capacity. Any time there is a capacity shortage, the control plane will pick one these placeholder pods as the first candidate to preempt.Run Pods that request node capacityReview the sample manifest:deployments/deployment-with-capacity-reservation.yaml apiVersion: apps/v1 kind: Deployment metadata: name: capacity-reservation # You should decide what namespace to deploy this into spec: replicas: 1 selector: matchLabels: app.kubernetes.io/name: capacity-placeholder template: metadata: labels: app.kubernetes.io/name: capacity-placeholder annotations: kubernetes.io/description: \"Capacity reservation\" spec: priorityClassName: placeholder affinity: # Try to place these overhead Pods on different nodes # if possible podAntiAffinity: preferredDuringSchedulingIgnoredDuringExecution: - weight: 100 podAffinityTerm: labelSelector: matchLabels: app.kubernetes.io/name: capacity-placeholder topologyKey: topology.kubernetes.io/hostname containers: - name: pause image: registry.k8s.io/pause:3.6 resources: requests: cpu: \"50m\" memory: \"512Mi\" limits: memory: \"512Mi\" Pick a namespace for the placeholder podsYou should select, or create, a namespace that the placeholder Pods will go into.Create the placeholder deploymentCreat",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/node-overprovisioning/",
    "id": "k8s_00187_qa_3317"
  },
  {
    "question": "How does Overprovision Node Capacity For A Cluster work?",
    "answer": "Overprovision Node Capacity For A ClusterThis page guides you through configuring Node overprovisioning in your Kubernetes cluster. Node overprovisioning is a strategy that proactively reserves a portion of your cluster's compute resources. This reservation helps reduce the time required to schedule new pods during scaling events, enhancing your cluster's responsiveness to sudden spikes in traffic or workload demands.By maintaining some unused capacity, you ensure that resources are immediately available when new pods are created, preventing them from entering a pending state while the cluster scales up.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster.You should already have a basic understanding of Deployments, Pod priority, and PriorityClasses.Your cluster must be set up with an autoscaler that manages nodes based on demand.Create a PriorityClassBegin by defining a PriorityClass for the placeholder Pods. First, create a PriorityClass with a negative priority value, that you will shortly assign to the placeholder pods. Later, you will set up a Deployment that uses this PriorityClasspriorityclass/low-priority-class.yaml apiVersion: scheduling.k8s.io/v1 kind: PriorityClass metadata: name: placeholder # these Pods represent placeholder capacity value: -1000 globalDefault: false description: \"Negative priority for placeholder pods to enable overprovisioning.\"Then create the PriorityClass:kubectl apply -f https://k8s.io/examples/priorityclass/low-priority-class.yaml You will next define a Deployment that uses the negative-priority PriorityClass and runs a minimal container. When you add this to your cluster, Kubernetes runs those placeholder pods to reserve capacity. Any time there is a capacity shortage, the control plane will pick one these placeholder pods as the first candidate to preempt.Run Pods that request node capacityReview the sample manifest:deployments/deployment-with-capacity-reservation.yaml apiVersion: apps/v1 kind: Deployment metadata: name: capacity-reservation # You should decide what namespace to deploy this into spec: replicas: 1 selector: matchLabels: app.kubernetes.io/name: capacity-placeholder template: metadata: labels: app.kubernetes.io/name: capacity-placeholder annotations: kubernetes.io/description: \"Capacity reservation\" spec: priorityClassName: placeholder affinity: # Try to place these overhead Pods on different nodes # if possible podAntiAffinity: preferredDuringSchedulingIgnoredDuringExecution: - weight: 100 podAffinityTerm: labelSelector: matchLabels: app.kubernetes.io/name: capacity-placeholder topologyKey: topology.kubernetes.io/hostname containers: - name: pause image: registry.k8s.io/pause:3.6 resources: requests: cpu: \"50m\" memory: \"512Mi\" limits: memory: \"512Mi\" Pick a namespace for the placeholder podsYou should select, or create, a namespace that the placeholder Pods will go into.Create the placeholder deploymentCreat",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/node-overprovisioning/",
    "id": "k8s_00187_qa_3318"
  },
  {
    "question": "When would you use Overprovision Node Capacity For A Cluster?",
    "answer": "Overprovision Node Capacity For A ClusterThis page guides you through configuring Node overprovisioning in your Kubernetes cluster. Node overprovisioning is a strategy that proactively reserves a portion of your cluster's compute resources. This reservation helps reduce the time required to schedule new pods during scaling events, enhancing your cluster's responsiveness to sudden spikes in traffic or workload demands.By maintaining some unused capacity, you ensure that resources are immediately available when new pods are created, preventing them from entering a pending state while the cluster scales up.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster.You should already have a basic understanding of Deployments, Pod priority, and PriorityClasses.Your cluster must be set up with an autoscaler that manages nodes based on demand.Create a PriorityClassBegin by defining a PriorityClass for the placeholder Pods. First, create a PriorityClass with a negative priority value, that you will shortly assign to the placeholder pods. Later, you will set up a Deployment that uses this PriorityClasspriorityclass/low-priority-class.yaml apiVersion: scheduling.k8s.io/v1 kind: PriorityClass metadata: name: placeholder # these Pods represent placeholder capacity value: -1000 globalDefault: false description: \"Negative priority for placeholder pods to enable overprovisioning.\"Then create the PriorityClass:kubectl apply -f https://k8s.io/examples/priorityclass/low-priority-class.yaml You will next define a Deployment that uses the negative-priority PriorityClass and runs a minimal container. When you add this to your cluster, Kubernetes runs those placeholder pods to reserve capacity. Any time there is a capacity shortage, the control plane will pick one these placeholder pods as the first candidate to preempt.Run Pods that request node capacityReview the sample manifest:deployments/deployment-with-capacity-reservation.yaml apiVersion: apps/v1 kind: Deployment metadata: name: capacity-reservation # You should decide what namespace to deploy this into spec: replicas: 1 selector: matchLabels: app.kubernetes.io/name: capacity-placeholder template: metadata: labels: app.kubernetes.io/name: capacity-placeholder annotations: kubernetes.io/description: \"Capacity reservation\" spec: priorityClassName: placeholder affinity: # Try to place these overhead Pods on different nodes # if possible podAntiAffinity: preferredDuringSchedulingIgnoredDuringExecution: - weight: 100 podAffinityTerm: labelSelector: matchLabels: app.kubernetes.io/name: capacity-placeholder topologyKey: topology.kubernetes.io/hostname containers: - name: pause image: registry.k8s.io/pause:3.6 resources: requests: cpu: \"50m\" memory: \"512Mi\" limits: memory: \"512Mi\" Pick a namespace for the placeholder podsYou should select, or create, a namespace that the placeholder Pods will go into.Create the placeholder deploymentCreat",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/node-overprovisioning/",
    "id": "k8s_00187_qa_3319"
  },
  {
    "question": "What are the benefits of Overprovision Node Capacity For A Cluster?",
    "answer": "Overprovision Node Capacity For A ClusterThis page guides you through configuring Node overprovisioning in your Kubernetes cluster. Node overprovisioning is a strategy that proactively reserves a portion of your cluster's compute resources. This reservation helps reduce the time required to schedule new pods during scaling events, enhancing your cluster's responsiveness to sudden spikes in traffic or workload demands.By maintaining some unused capacity, you ensure that resources are immediately available when new pods are created, preventing them from entering a pending state while the cluster scales up.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster.You should already have a basic understanding of Deployments, Pod priority, and PriorityClasses.Your cluster must be set up with an autoscaler that manages nodes based on demand.Create a PriorityClassBegin by defining a PriorityClass for the placeholder Pods. First, create a PriorityClass with a negative priority value, that you will shortly assign to the placeholder pods. Later, you will set up a Deployment that uses this PriorityClasspriorityclass/low-priority-class.yaml apiVersion: scheduling.k8s.io/v1 kind: PriorityClass metadata: name: placeholder # these Pods represent placeholder capacity value: -1000 globalDefault: false description: \"Negative priority for placeholder pods to enable overprovisioning.\"Then create the PriorityClass:kubectl apply -f https://k8s.io/examples/priorityclass/low-priority-class.yaml You will next define a Deployment that uses the negative-priority PriorityClass and runs a minimal container. When you add this to your cluster, Kubernetes runs those placeholder pods to reserve capacity. Any time there is a capacity shortage, the control plane will pick one these placeholder pods as the first candidate to preempt.Run Pods that request node capacityReview the sample manifest:deployments/deployment-with-capacity-reservation.yaml apiVersion: apps/v1 kind: Deployment metadata: name: capacity-reservation # You should decide what namespace to deploy this into spec: replicas: 1 selector: matchLabels: app.kubernetes.io/name: capacity-placeholder template: metadata: labels: app.kubernetes.io/name: capacity-placeholder annotations: kubernetes.io/description: \"Capacity reservation\" spec: priorityClassName: placeholder affinity: # Try to place these overhead Pods on different nodes # if possible podAntiAffinity: preferredDuringSchedulingIgnoredDuringExecution: - weight: 100 podAffinityTerm: labelSelector: matchLabels: app.kubernetes.io/name: capacity-placeholder topologyKey: topology.kubernetes.io/hostname containers: - name: pause image: registry.k8s.io/pause:3.6 resources: requests: cpu: \"50m\" memory: \"512Mi\" limits: memory: \"512Mi\" Pick a namespace for the placeholder podsYou should select, or create, a namespace that the placeholder Pods will go into.Create the placeholder deploymentCreat",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/node-overprovisioning/",
    "id": "k8s_00187_qa_3320"
  },
  {
    "question": "What is Overprovision Node Capacity For A Cluster?",
    "answer": "T h i s   p a g e   g u i d e s   y o u   t h r o u g h   c o n f i g u r i n g   N o d e   o v e r p r o v i s i o n i n g   i n   y o u r   K u b e r n e t e s   c l u s t e r .   N o d e   o v e r p r o v i s i o n i n g   i s   a   s t r a t e g y   t h a t   p r o a c t i v e l y   r e s e r v e s   a   p o r t i o n   o f   y o u r   c l u s t e r ' s   c o m p u t e   r e s o u r c e s .   T h i s   r e s e r v a t i o n   h e l p s   r e d u c e   t h e   t i m e   r e q u i r e d   t o   s c h e d u l e   n e w   p o d s   d u r i n g   s c a l i n g   e v e n t s ,   e n h a n c i n g   y o u r   c l u s t e r ' s   r e s p o n s i v e n e s s   t o   s u d d e n   s p i k e s   i n   t r a f f i c   o r   w o r k l o a d   d e m a n d s .   B y   m a i n t a i n i n g   s o m e   u n u s e d   c a p a c i t y ,   y o u   e n s u r e   t h a t   r e s o u r c e s   a r e   i m m e d i a t e l y   a v a i l a b l e   w h e n   n e w   p o d s   a r e   c r e a t e d ,   p r e v e n t i n g   t h e m   f r o m   e n t e r i n g   a   p e n d i n g   s t a t e   w h i l e   t h e   c l u s t e r   s c a l e s   u p .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/node-overprovisioning/",
    "id": "k8s_00187_section_1_3321"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r . Y o u   s h o u l d   a l r e a d y   h a v e   a   b a s i c   u n d e r s t a n d i n g   o f   D e p l o y m e n t s ,   P o d   p r i o r i t y ,   a n d   P r i o r i t y C l a s s e s . Y o u r   c l u s t e r   m u s t   b e   s e t   u p   w i t h   a n   a u t o s c a l e r   t h a t   m a n a g e s   n o d e s   b a s e d   o n   d e m a n d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/node-overprovisioning/",
    "id": "k8s_00187_section_2_3322"
  },
  {
    "question": "What is Create a PriorityClass?",
    "answer": "B e g i n   b y   d e f i n i n g   a   P r i o r i t y C l a s s   f o r   t h e   p l a c e h o l d e r   P o d s .   F i r s t ,   c r e a t e   a   P r i o r i t y C l a s s   w i t h   a   n e g a t i v e   p r i o r i t y   v a l u e ,   t h a t   y o u   w i l l   s h o r t l y   a s s i g n   t o   t h e   p l a c e h o l d e r   p o d s .   L a t e r ,   y o u   w i l l   s e t   u p   a   D e p l o y m e n t   t h a t   u s e s   t h i s   P r i o r i t y C l a s s   a p i V e r s i o n :   s c h e d u l i n g . k 8 s . i o / v 1   k i n d :   P r i o r i t y C l a s s   m e t a d a t a :   n a m e :   p l a c e h o l d e r   #   t h e s e   P o d s   r e p r e s e n t   p l a c e h o l d e r   c a p a c i t y   v a l u e :   - 1 0 0 0   g l o b a l D e f a u l t :   f a l s e   d e s c r i p t i o n :   \" N e g a t i v e   p r i o r i t y   f o r   p l a c e h o l d e r   p o d s   t o   e n a b l e   o v e r p r o v i s i o n i n g . \"   T h e n   c r e a t e   t h e   P r i o r i t y C l a s s :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p r i o r i t y c l a s s / l o w - p r i o r i t y - c l a s s . y a m l   Y o u   w i l l   n e x t   d e f i n e   a   D e p l o y m e n t   t h a t   u s e s   t h e   n e g a t i v e - p r i o r i t y   P r i o r i t y C l a s s   a n d   r u n s   a   m i n i m a l   c o n t a i n e r .   W h e n   y o u   a d d   t h i s   t o   y o u r   c l u s t e r ,   K u b e r n e t e s   r u n s   t h o s e   p l a c e h o l d e r   p o d s   t o   r e s e r v e   c a p a c i t y .   A n y   t i m e   t h e r e   i s   a   c a p a c i t y   s h o r t a g e ,   t h e   c o n t r o l   p l a n e   w i l l   p i c k   o n e   t h e s e   p l a c e h o l d e r   p o d s   a s   t h e   f i r s t   c a n d i d a t e   t o   p r e e m p t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/node-overprovisioning/",
    "id": "k8s_00187_section_2_3323"
  },
  {
    "question": "What is Run Pods that request node capacity?",
    "answer": "R e v i e w   t h e   s a m p l e   m a n i f e s t :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   c a p a c i t y - r e s e r v a t i o n   #   Y o u   s h o u l d   d e c i d e   w h a t   n a m e s p a c e   t o   d e p l o y   t h i s   i n t o   s p e c :   r e p l i c a s :   1   s e l e c t o r :   m a t c h L a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   c a p a c i t y - p l a c e h o l d e r   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   c a p a c i t y - p l a c e h o l d e r   a n n o t a t i o n s :   k u b e r n e t e s . i o / d e s c r i p t i o n :   \" C a p a c i t y   r e s e r v a t i o n \"   s p e c :   p r i o r i t y C l a s s N a m e :   p l a c e h o l d e r   a f f i n i t y :   #   T r y   t o   p l a c e   t h e s e   o v e r h e a d   P o d s   o n   d i f f e r e n t   n o d e s   #   i f   p o s s i b l e   p o d A n t i A f f i n i t y :   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   -   w e i g h t :   1 0 0   p o d A f f i n i t y T e r m :   l a b e l S e l e c t o r :   m a t c h L a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   c a p a c i t y - p l a c e h o l d e r   t o p o l o g y K e y :   t o p o l o g y . k u b e r n e t e s . i o / h o s t n a m e   c o n t a i n e r s :   -   n a m e :   p a u s e   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 6   r e s o u r c e s :   r e q u e s t s :   c p u :   \" 5 0 m \"   m e m o r y :   \" 5 1 2 M i \"   l i m i t s :   m e m o r y :   \" 5 1 2 M i \"",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/node-overprovisioning/",
    "id": "k8s_00187_section_2_3324"
  },
  {
    "question": "What is Pick a namespace for the placeholder pods?",
    "answer": "Y o u   s h o u l d   s e l e c t ,   o r   c r e a t e ,   a   n a m e s p a c e   t h a t   t h e   p l a c e h o l d e r   P o d s   w i l l   g o   i n t o .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/node-overprovisioning/",
    "id": "k8s_00187_section_3_3325"
  },
  {
    "question": "What is Create the placeholder deployment?",
    "answer": "C r e a t e   a   D e p l o y m e n t   b a s e d   o n   t h a t   m a n i f e s t :   #   C h a n g e   t h e   n a m e s p a c e   n a m e   \" e x a m p l e \"   k u b e c t l   - - n a m e s p a c e   e x a m p l e   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d e p l o y m e n t s / d e p l o y m e n t - w i t h - c a p a c i t y - r e s e r v a t i o n . y a m l",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/node-overprovisioning/",
    "id": "k8s_00187_section_3_3326"
  },
  {
    "question": "What is Adjust placeholder resource requests?",
    "answer": "C o n f i g u r e   t h e   r e s o u r c e   r e q u e s t s   a n d   l i m i t s   f o r   t h e   p l a c e h o l d e r   p o d s   t o   d e f i n e   t h e   a m o u n t   o f   o v e r p r o v i s i o n e d   r e s o u r c e s   y o u   w a n t   t o   m a i n t a i n .   T h i s   r e s e r v a t i o n   e n s u r e s   t h a t   a   s p e c i f i c   a m o u n t   o f   C P U   a n d   m e m o r y   i s   k e p t   a v a i l a b l e   f o r   n e w   p o d s .   T o   e d i t   t h e   D e p l o y m e n t ,   m o d i f y   t h e   r e s o u r c e s   s e c t i o n   i n   t h e   D e p l o y m e n t   m a n i f e s t   f i l e   t o   s e t   a p p r o p r i a t e   r e q u e s t s   a n d   l i m i t s .   Y o u   c a n   d o w n l o a d   t h a t   f i l e   l o c a l l y   a n d   t h e n   e d i t   i t   w i t h   w h i c h e v e r   t e x t   e d i t o r   y o u   p r e f e r .   Y o u   c a n   a l s o   e d i t   t h e   D e p l o y m e n t   u s i n g   k u b e c t l :   k u b e c t l   e d i t   d e p l o y m e n t   c a p a c i t y - r e s e r v a t i o n   F o r   e x a m p l e ,   t o   r e s e r v e   a   t o t a l   o f   a   0 . 5   C P U   a n d   1 G i B   o f   m e m o r y   a c r o s s   5   p l a c e h o l d e r   p o d s ,   d e f i n e   t h e   r e s o u r c e   r e q u e s t s   a n d   l i m i t s   f o r   a   s i n g l e   p l a c e h o l d e r   p o d   a s   f o l l o w s :   r e s o u r c e s :   r e q u e s t s :   c p u :   \" 1 0 0 m \"   m e m o r y :   \" 2 0 0 M i \"   l i m i t s :   c p u :   \" 1 0 0 m \"",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/node-overprovisioning/",
    "id": "k8s_00187_section_2_3327"
  },
  {
    "question": "What is Calculate the total reserved resources?",
    "answer": "F o r   e x a m p l e ,   w i t h   5   r e p l i c a s   e a c h   r e s e r v i n g   0 . 1   C P U   a n d   2 0 0 M i B   o f   m e m o r y : T o t a l   C P U   r e s e r v e d :   5   ×   0 . 1   =   0 . 5   ( i n   t h e   P o d   s p e c i f i c a t i o n ,   y o u ' l l   w r i t e   t h e   q u a n t i t y   5 0 0 m ) T o t a l   m e m o r y   r e s e r v e d :   5   ×   2 0 0 M i B   =   1 G i B   ( i n   t h e   P o d   s p e c i f i c a t i o n ,   y o u ' l l   w r i t e   1   G i )   T o   s c a l e   t h e   D e p l o y m e n t ,   a d j u s t   t h e   n u m b e r   o f   r e p l i c a s   b a s e d   o n   y o u r   c l u s t e r ' s   s i z e   a n d   e x p e c t e d   w o r k l o a d :   k u b e c t l   s c a l e   d e p l o y m e n t   c a p a c i t y - r e s e r v a t i o n   - - r e p l i c a s = 5   V e r i f y   t h e   s c a l i n g :   k u b e c t l   g e t   d e p l o y m e n t   c a p a c i t y - r e s e r v a t i o n   T h e   o u t p u t   s h o u l d   r e f l e c t   t h e   u p d a t e d   n u m b e r   o f   r e p l i c a s :   N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   c a p a c i t y - r e s e r v a t i o n   5 / 5   5   5   2 m",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/node-overprovisioning/",
    "id": "k8s_00187_section_3_3328"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   P r i o r i t y C l a s s e s   a n d   h o w   t h e y   a f f e c t   p o d   s c h e d u l i n g . E x p l o r e   n o d e   a u t o s c a l i n g   t o   d y n a m i c a l l y   a d j u s t   y o u r   c l u s t e r ' s   s i z e   b a s e d   o n   w o r k l o a d   d e m a n d s . U n d e r s t a n d   P o d   p r e e m p t i o n ,   a   k e y   m e c h a n i s m   f o r   K u b e r n e t e s   t o   h a n d l e   r e s o u r c e   c o n t e n t i o n .   T h e   s a m e   p a g e   c o v e r s   e v i c t i o n ,   w h i c h   i s   l e s s   r e l e v a n t   t o   t h e   p l a c e h o l d e r   P o d   a p p r o a c h ,   b u t   i s   a l s o   a   m e c h a n i s m   f o r   K u b e r n e t e s   t o   r e a c t   w h e n   r e s o u r c e s   a r e   c o n t e n d e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/node-overprovisioning/",
    "id": "k8s_00187_section_2_3329"
  },
  {
    "question": "What is Role?",
    "answer": "RoleRole is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.apiVersion: rbac.authorization.k8s.io/v1import \"k8s.io/api/rbac/v1\"RoleRole is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.apiVersion: rbac.authorization.k8s.io/v1kind: Rolemetadata (ObjectMeta)Standard object's metadata.rules ([]PolicyRule)Atomic: will be replaced during a mergeRules holds all the PolicyRules for this RolePolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.rules.apiGroups ([]string)Atomic: will be replaced during a mergeAPIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups.rules.resources ([]string)Atomic: will be replaced during a mergeResources is a list of resources this rule applies to. '*' represents all resources.rules.verbs ([]string), requiredAtomic: will be replaced during a mergeVerbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.rules.resourceNames ([]string)Atomic: will be replaced during a mergeResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.rules.nonResourceURLs ([]string)Atomic: will be replaced during a mergeNonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.RoleListRoleList is a collection of RolesapiVersion: rbac.authorization.k8s.io/v1kind: RoleListmetadata (ListMeta)Standard object's metadata.items ([]Role), requiredItems is a list of RolesOperationsget read the specified RoleHTTP RequestGET /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}Parametersname (in path): string, requiredname of the Rolenamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (Role): OK401: Unauthorizedlist list or watch objects of kind RoleHTTP RequestGET /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolesParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in quer",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_qa_3330"
  },
  {
    "question": "How does Role work?",
    "answer": "RoleRole is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.apiVersion: rbac.authorization.k8s.io/v1import \"k8s.io/api/rbac/v1\"RoleRole is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.apiVersion: rbac.authorization.k8s.io/v1kind: Rolemetadata (ObjectMeta)Standard object's metadata.rules ([]PolicyRule)Atomic: will be replaced during a mergeRules holds all the PolicyRules for this RolePolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.rules.apiGroups ([]string)Atomic: will be replaced during a mergeAPIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups.rules.resources ([]string)Atomic: will be replaced during a mergeResources is a list of resources this rule applies to. '*' represents all resources.rules.verbs ([]string), requiredAtomic: will be replaced during a mergeVerbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.rules.resourceNames ([]string)Atomic: will be replaced during a mergeResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.rules.nonResourceURLs ([]string)Atomic: will be replaced during a mergeNonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.RoleListRoleList is a collection of RolesapiVersion: rbac.authorization.k8s.io/v1kind: RoleListmetadata (ListMeta)Standard object's metadata.items ([]Role), requiredItems is a list of RolesOperationsget read the specified RoleHTTP RequestGET /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}Parametersname (in path): string, requiredname of the Rolenamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (Role): OK401: Unauthorizedlist list or watch objects of kind RoleHTTP RequestGET /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolesParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in quer",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_qa_3331"
  },
  {
    "question": "When would you use Role?",
    "answer": "RoleRole is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.apiVersion: rbac.authorization.k8s.io/v1import \"k8s.io/api/rbac/v1\"RoleRole is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.apiVersion: rbac.authorization.k8s.io/v1kind: Rolemetadata (ObjectMeta)Standard object's metadata.rules ([]PolicyRule)Atomic: will be replaced during a mergeRules holds all the PolicyRules for this RolePolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.rules.apiGroups ([]string)Atomic: will be replaced during a mergeAPIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups.rules.resources ([]string)Atomic: will be replaced during a mergeResources is a list of resources this rule applies to. '*' represents all resources.rules.verbs ([]string), requiredAtomic: will be replaced during a mergeVerbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.rules.resourceNames ([]string)Atomic: will be replaced during a mergeResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.rules.nonResourceURLs ([]string)Atomic: will be replaced during a mergeNonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.RoleListRoleList is a collection of RolesapiVersion: rbac.authorization.k8s.io/v1kind: RoleListmetadata (ListMeta)Standard object's metadata.items ([]Role), requiredItems is a list of RolesOperationsget read the specified RoleHTTP RequestGET /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}Parametersname (in path): string, requiredname of the Rolenamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (Role): OK401: Unauthorizedlist list or watch objects of kind RoleHTTP RequestGET /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolesParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in quer",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_qa_3332"
  },
  {
    "question": "What are the benefits of Role?",
    "answer": "RoleRole is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.apiVersion: rbac.authorization.k8s.io/v1import \"k8s.io/api/rbac/v1\"RoleRole is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.apiVersion: rbac.authorization.k8s.io/v1kind: Rolemetadata (ObjectMeta)Standard object's metadata.rules ([]PolicyRule)Atomic: will be replaced during a mergeRules holds all the PolicyRules for this RolePolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.rules.apiGroups ([]string)Atomic: will be replaced during a mergeAPIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups.rules.resources ([]string)Atomic: will be replaced during a mergeResources is a list of resources this rule applies to. '*' represents all resources.rules.verbs ([]string), requiredAtomic: will be replaced during a mergeVerbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.rules.resourceNames ([]string)Atomic: will be replaced during a mergeResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.rules.nonResourceURLs ([]string)Atomic: will be replaced during a mergeNonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.RoleListRoleList is a collection of RolesapiVersion: rbac.authorization.k8s.io/v1kind: RoleListmetadata (ListMeta)Standard object's metadata.items ([]Role), requiredItems is a list of RolesOperationsget read the specified RoleHTTP RequestGET /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}Parametersname (in path): string, requiredname of the Rolenamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (Role): OK401: Unauthorizedlist list or watch objects of kind RoleHTTP RequestGET /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolesParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in quer",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_qa_3333"
  },
  {
    "question": "What is Role?",
    "answer": "a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / r b a c / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_1_3334"
  },
  {
    "question": "What is Role?",
    "answer": "R o l e   i s   a   n a m e s p a c e d ,   l o g i c a l   g r o u p i n g   o f   P o l i c y R u l e s   t h a t   c a n   b e   r e f e r e n c e d   a s   a   u n i t   b y   a   R o l e B i n d i n g .   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   R o l e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . r u l e s   ( [ ] P o l i c y R u l e ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e R u l e s   h o l d s   a l l   t h e   P o l i c y R u l e s   f o r   t h i s   R o l e P o l i c y R u l e   h o l d s   i n f o r m a t i o n   t h a t   d e s c r i b e s   a   p o l i c y   r u l e ,   b u t   d o e s   n o t   c o n t a i n   i n f o r m a t i o n   a b o u t   w h o   t h e   r u l e   a p p l i e s   t o   o r   w h i c h   n a m e s p a c e   t h e   r u l e   a p p l i e s   t o . r u l e s . a p i G r o u p s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A P I G r o u p s   i s   t h e   n a m e   o f   t h e   A P I G r o u p   t h a t   c o n t a i n s   t h e   r e s o u r c e s .   I f   m u l t i p l e   A P I   g r o u p s   a r e   s p e c i f i e d ,   a n y   a c t i o n   r e q u e s t e d   a g a i n s t   o n e   o f   t h e   e n u m e r a t e d   r e s o u r c e s   i n   a n y   A P I   g r o u p   w i l l   b e   a l l o w e d .   \" \"   r e p r e s e n t s   t h e   c o r e   A P I   g r o u p   a n d   \" * \"   r e p r e s e n t s   a l l   A P I   g r o u p s . r u l e s . r e s o u r c e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e R e s o u r c e s   i s   a   l i s t   o f   r e s o u r c e s   t h i s   r u l e   a p p l i e s   t o .   ' * '   r e p r e s e n t s   a l l   r e s o u r c e s . r u l e s . v e r b s   ( [ ] s t r i n g ) ,   r e q u i r e d A t o m i c :   w i l l   b e   r e p ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_2_3335"
  },
  {
    "question": "What is RoleList?",
    "answer": "R o l e L i s t   i s   a   c o l l e c t i o n   o f   R o l e s   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   R o l e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . i t e m s   ( [ ] R o l e ) ,   r e q u i r e d I t e m s   i s   a   l i s t   o f   R o l e s   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   R o l e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   i t e m s   ( [ ] R o l e ) ,   r e q u i r e d   I t e m s   i s   a   l i s t   o f   R o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_2_3336"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_4_3337"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R o l e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R o l e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_4_3338"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_4_3339"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_4_3340"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_4_3341"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_4_3342"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / r o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_4_3343"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_4_3344"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_4_3345"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_4_3346"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R o l e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R o l e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_4_3347"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e ) :   O K   2 0 1   ( R o l e ) :   C r e a t e d   2 0 2   ( R o l e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_4_3348"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_4_3349"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R o l e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R o l e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R o l e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R o l e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_4_3350"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e ) :   O K   2 0 1   ( R o l e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_4_3351"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_4_3352"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R o l e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R o l e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_4_3353"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e ) :   O K   2 0 1   ( R o l e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_4_3354"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_4_3355"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R o l e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R o l e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_4_3356"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_4_3357"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_4_3358"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_4_3359"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-v1/",
    "id": "k8s_00188_section_4_3360"
  },
  {
    "question": "What is Debug Running Pods?",
    "answer": "Debug Running PodsThis page explains how to debug Pods running (or crashing) on a Node.Before you beginYour Pod should already be scheduled and running. If your Pod is not yet running, start with Debugging Pods.For some of the advanced debugging steps you need to know on which Node the Pod is running and have shell access to run commands on that Node. You don't need that access to run the standard debug steps that use kubectl.Using kubectl describe pod to fetch details about podsFor this example we'll use a Deployment to create two pods, similar to the earlier example.application/nginx-with-request.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment spec: selector: matchLabels: app: nginx replicas: 2 template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx resources: limits: memory: \"128Mi\" cpu: \"500m\" ports: - containerPort: 80 Create deployment by running following command:kubectl apply -f https://k8s.io/examples/application/nginx-with-request.yaml deployment.apps/nginx-deployment created Check pod status by following command:kubectl get pods NAME READY STATUS RESTARTS AGE nginx-deployment-67d4bdd6f5-cx2nz 1/1 Running 0 13s nginx-deployment-67d4bdd6f5-w6kd7 1/1 Running 0 13s We can retrieve a lot more information about each of these pods using kubectl describe pod. For example:kubectl describe pod nginx-deployment-67d4bdd6f5-w6kd7 Name: nginx-deployment-67d4bdd6f5-w6kd7 Namespace: default Priority: 0 Node: kube-worker-1/192.168.0.113 Start Time: Thu, 17 Feb 2022 16:51:01 -0500 Labels: app=nginx pod-template-hash=67d4bdd6f5 Annotations: <none> Status: Running IP: 10.88.0.3 IPs: IP: 10.88.0.3 IP: 2001:db8::1 Controlled By: ReplicaSet/nginx-deployment-67d4bdd6f5 Containers: nginx: Container ID: containerd://5403af59a2b46ee5a23fb0ae4b1e077f7ca5c5fb7af16e1ab21c00e0e616462a Image: nginx Image ID: docker.io/library/nginx@sha256:2834dc507516af02784808c5f48b7cbe38b8ed5d0f4837f16e78d00deb7e7767 Port: 80/TCP Host Port: 0/TCP State: Running Started: Thu, 17 Feb 2022 16:51:05 -0500 Ready: True Restart Count: 0 Limits: cpu: 500m memory: 128Mi Requests: cpu: 500m memory: 128Mi Environment: <none> Mounts: /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-bgsgp (ro) Conditions: Type Status Initialized True Ready True ContainersReady True PodScheduled True Volumes: kube-api-access-bgsgp: Type: Projected (a volume that contains injected data from multiple sources) TokenExpirationSeconds: 3607 ConfigMapName: kube-root-ca.crt ConfigMapOptional: <nil> DownwardAPI: true QoS Class: Guaranteed Node-Selectors: <none> Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s node.kubernetes.io/unreachable:NoExecute op=Exists for 300s Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 34s default-scheduler Successfully assigned default/nginx-deployment-67d4bdd6f5-w6kd7 to kube-worker-1 Normal Pulling 31s kubelet Pulling image \"nginx\" Normal Pulled 30s kubelet S",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/",
    "id": "k8s_00189_qa_3361"
  },
  {
    "question": "How does Debug Running Pods work?",
    "answer": "Debug Running PodsThis page explains how to debug Pods running (or crashing) on a Node.Before you beginYour Pod should already be scheduled and running. If your Pod is not yet running, start with Debugging Pods.For some of the advanced debugging steps you need to know on which Node the Pod is running and have shell access to run commands on that Node. You don't need that access to run the standard debug steps that use kubectl.Using kubectl describe pod to fetch details about podsFor this example we'll use a Deployment to create two pods, similar to the earlier example.application/nginx-with-request.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment spec: selector: matchLabels: app: nginx replicas: 2 template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx resources: limits: memory: \"128Mi\" cpu: \"500m\" ports: - containerPort: 80 Create deployment by running following command:kubectl apply -f https://k8s.io/examples/application/nginx-with-request.yaml deployment.apps/nginx-deployment created Check pod status by following command:kubectl get pods NAME READY STATUS RESTARTS AGE nginx-deployment-67d4bdd6f5-cx2nz 1/1 Running 0 13s nginx-deployment-67d4bdd6f5-w6kd7 1/1 Running 0 13s We can retrieve a lot more information about each of these pods using kubectl describe pod. For example:kubectl describe pod nginx-deployment-67d4bdd6f5-w6kd7 Name: nginx-deployment-67d4bdd6f5-w6kd7 Namespace: default Priority: 0 Node: kube-worker-1/192.168.0.113 Start Time: Thu, 17 Feb 2022 16:51:01 -0500 Labels: app=nginx pod-template-hash=67d4bdd6f5 Annotations: <none> Status: Running IP: 10.88.0.3 IPs: IP: 10.88.0.3 IP: 2001:db8::1 Controlled By: ReplicaSet/nginx-deployment-67d4bdd6f5 Containers: nginx: Container ID: containerd://5403af59a2b46ee5a23fb0ae4b1e077f7ca5c5fb7af16e1ab21c00e0e616462a Image: nginx Image ID: docker.io/library/nginx@sha256:2834dc507516af02784808c5f48b7cbe38b8ed5d0f4837f16e78d00deb7e7767 Port: 80/TCP Host Port: 0/TCP State: Running Started: Thu, 17 Feb 2022 16:51:05 -0500 Ready: True Restart Count: 0 Limits: cpu: 500m memory: 128Mi Requests: cpu: 500m memory: 128Mi Environment: <none> Mounts: /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-bgsgp (ro) Conditions: Type Status Initialized True Ready True ContainersReady True PodScheduled True Volumes: kube-api-access-bgsgp: Type: Projected (a volume that contains injected data from multiple sources) TokenExpirationSeconds: 3607 ConfigMapName: kube-root-ca.crt ConfigMapOptional: <nil> DownwardAPI: true QoS Class: Guaranteed Node-Selectors: <none> Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s node.kubernetes.io/unreachable:NoExecute op=Exists for 300s Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 34s default-scheduler Successfully assigned default/nginx-deployment-67d4bdd6f5-w6kd7 to kube-worker-1 Normal Pulling 31s kubelet Pulling image \"nginx\" Normal Pulled 30s kubelet S",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/",
    "id": "k8s_00189_qa_3362"
  },
  {
    "question": "When would you use Debug Running Pods?",
    "answer": "Debug Running PodsThis page explains how to debug Pods running (or crashing) on a Node.Before you beginYour Pod should already be scheduled and running. If your Pod is not yet running, start with Debugging Pods.For some of the advanced debugging steps you need to know on which Node the Pod is running and have shell access to run commands on that Node. You don't need that access to run the standard debug steps that use kubectl.Using kubectl describe pod to fetch details about podsFor this example we'll use a Deployment to create two pods, similar to the earlier example.application/nginx-with-request.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment spec: selector: matchLabels: app: nginx replicas: 2 template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx resources: limits: memory: \"128Mi\" cpu: \"500m\" ports: - containerPort: 80 Create deployment by running following command:kubectl apply -f https://k8s.io/examples/application/nginx-with-request.yaml deployment.apps/nginx-deployment created Check pod status by following command:kubectl get pods NAME READY STATUS RESTARTS AGE nginx-deployment-67d4bdd6f5-cx2nz 1/1 Running 0 13s nginx-deployment-67d4bdd6f5-w6kd7 1/1 Running 0 13s We can retrieve a lot more information about each of these pods using kubectl describe pod. For example:kubectl describe pod nginx-deployment-67d4bdd6f5-w6kd7 Name: nginx-deployment-67d4bdd6f5-w6kd7 Namespace: default Priority: 0 Node: kube-worker-1/192.168.0.113 Start Time: Thu, 17 Feb 2022 16:51:01 -0500 Labels: app=nginx pod-template-hash=67d4bdd6f5 Annotations: <none> Status: Running IP: 10.88.0.3 IPs: IP: 10.88.0.3 IP: 2001:db8::1 Controlled By: ReplicaSet/nginx-deployment-67d4bdd6f5 Containers: nginx: Container ID: containerd://5403af59a2b46ee5a23fb0ae4b1e077f7ca5c5fb7af16e1ab21c00e0e616462a Image: nginx Image ID: docker.io/library/nginx@sha256:2834dc507516af02784808c5f48b7cbe38b8ed5d0f4837f16e78d00deb7e7767 Port: 80/TCP Host Port: 0/TCP State: Running Started: Thu, 17 Feb 2022 16:51:05 -0500 Ready: True Restart Count: 0 Limits: cpu: 500m memory: 128Mi Requests: cpu: 500m memory: 128Mi Environment: <none> Mounts: /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-bgsgp (ro) Conditions: Type Status Initialized True Ready True ContainersReady True PodScheduled True Volumes: kube-api-access-bgsgp: Type: Projected (a volume that contains injected data from multiple sources) TokenExpirationSeconds: 3607 ConfigMapName: kube-root-ca.crt ConfigMapOptional: <nil> DownwardAPI: true QoS Class: Guaranteed Node-Selectors: <none> Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s node.kubernetes.io/unreachable:NoExecute op=Exists for 300s Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 34s default-scheduler Successfully assigned default/nginx-deployment-67d4bdd6f5-w6kd7 to kube-worker-1 Normal Pulling 31s kubelet Pulling image \"nginx\" Normal Pulled 30s kubelet S",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/",
    "id": "k8s_00189_qa_3363"
  },
  {
    "question": "What are the benefits of Debug Running Pods?",
    "answer": "Debug Running PodsThis page explains how to debug Pods running (or crashing) on a Node.Before you beginYour Pod should already be scheduled and running. If your Pod is not yet running, start with Debugging Pods.For some of the advanced debugging steps you need to know on which Node the Pod is running and have shell access to run commands on that Node. You don't need that access to run the standard debug steps that use kubectl.Using kubectl describe pod to fetch details about podsFor this example we'll use a Deployment to create two pods, similar to the earlier example.application/nginx-with-request.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment spec: selector: matchLabels: app: nginx replicas: 2 template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx resources: limits: memory: \"128Mi\" cpu: \"500m\" ports: - containerPort: 80 Create deployment by running following command:kubectl apply -f https://k8s.io/examples/application/nginx-with-request.yaml deployment.apps/nginx-deployment created Check pod status by following command:kubectl get pods NAME READY STATUS RESTARTS AGE nginx-deployment-67d4bdd6f5-cx2nz 1/1 Running 0 13s nginx-deployment-67d4bdd6f5-w6kd7 1/1 Running 0 13s We can retrieve a lot more information about each of these pods using kubectl describe pod. For example:kubectl describe pod nginx-deployment-67d4bdd6f5-w6kd7 Name: nginx-deployment-67d4bdd6f5-w6kd7 Namespace: default Priority: 0 Node: kube-worker-1/192.168.0.113 Start Time: Thu, 17 Feb 2022 16:51:01 -0500 Labels: app=nginx pod-template-hash=67d4bdd6f5 Annotations: <none> Status: Running IP: 10.88.0.3 IPs: IP: 10.88.0.3 IP: 2001:db8::1 Controlled By: ReplicaSet/nginx-deployment-67d4bdd6f5 Containers: nginx: Container ID: containerd://5403af59a2b46ee5a23fb0ae4b1e077f7ca5c5fb7af16e1ab21c00e0e616462a Image: nginx Image ID: docker.io/library/nginx@sha256:2834dc507516af02784808c5f48b7cbe38b8ed5d0f4837f16e78d00deb7e7767 Port: 80/TCP Host Port: 0/TCP State: Running Started: Thu, 17 Feb 2022 16:51:05 -0500 Ready: True Restart Count: 0 Limits: cpu: 500m memory: 128Mi Requests: cpu: 500m memory: 128Mi Environment: <none> Mounts: /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-bgsgp (ro) Conditions: Type Status Initialized True Ready True ContainersReady True PodScheduled True Volumes: kube-api-access-bgsgp: Type: Projected (a volume that contains injected data from multiple sources) TokenExpirationSeconds: 3607 ConfigMapName: kube-root-ca.crt ConfigMapOptional: <nil> DownwardAPI: true QoS Class: Guaranteed Node-Selectors: <none> Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s node.kubernetes.io/unreachable:NoExecute op=Exists for 300s Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 34s default-scheduler Successfully assigned default/nginx-deployment-67d4bdd6f5-w6kd7 to kube-worker-1 Normal Pulling 31s kubelet Pulling image \"nginx\" Normal Pulled 30s kubelet S",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/",
    "id": "k8s_00189_qa_3364"
  },
  {
    "question": "What is Debug Running Pods?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   t o   d e b u g   P o d s   r u n n i n g   ( o r   c r a s h i n g )   o n   a   N o d e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/",
    "id": "k8s_00189_section_1_3365"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u r   P o d   s h o u l d   a l r e a d y   b e   s c h e d u l e d   a n d   r u n n i n g .   I f   y o u r   P o d   i s   n o t   y e t   r u n n i n g ,   s t a r t   w i t h   D e b u g g i n g   P o d s . F o r   s o m e   o f   t h e   a d v a n c e d   d e b u g g i n g   s t e p s   y o u   n e e d   t o   k n o w   o n   w h i c h   N o d e   t h e   P o d   i s   r u n n i n g   a n d   h a v e   s h e l l   a c c e s s   t o   r u n   c o m m a n d s   o n   t h a t   N o d e .   Y o u   d o n ' t   n e e d   t h a t   a c c e s s   t o   r u n   t h e   s t a n d a r d   d e b u g   s t e p s   t h a t   u s e   k u b e c t l .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/",
    "id": "k8s_00189_section_2_3366"
  },
  {
    "question": "What is Using kubectl describe pod to fetch details about pods?",
    "answer": "F o r   t h i s   e x a m p l e   w e ' l l   u s e   a   D e p l o y m e n t   t o   c r e a t e   t w o   p o d s ,   s i m i l a r   t o   t h e   e a r l i e r   e x a m p l e .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   r e p l i c a s :   2   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 1 2 8 M i \"   c p u :   \" 5 0 0 m \"   p o r t s :   -   c o n t a i n e r P o r t :   8 0   C r e a t e   d e p l o y m e n t   b y   r u n n i n g   f o l l o w i n g   c o m m a n d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / n g i n x - w i t h - r e q u e s t . y a m l   d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   c r e a t e d   C h e c k   p o d   s t a t u s   b y   f o l l o w i n g   c o m m a n d :   k u b e c t l   g e t   p o d s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   n g i n x - d e p l o y m e n t - 6 7 d 4 b d d 6 f 5 - c x 2 n z   1 / 1   R u n n i n g   0   1 3 s   n g i n x - d e p l o y m e n t - 6 7 d 4 b d d 6 f 5 - w 6 k d 7   1 / 1   R u n n i n g   0   1 3 s   W e   c a n   r e t r i e v e   a   l o t   m o r e   i n f o r m a t i o n   a b o u t   e a c h   o f   t h e s e   p o d s   u s i n g   k u b e c t l   d e s c r i b e   p o d .   F o r   e x a m p l e :   k u b e c t l   d e s c r i b e   p o d   n g i n x - d e p l o y m e n t - 6 7 d 4 b d d 6 f 5 - w 6 k d 7   N a m e :   n g i n x - d e p l o y m e n t - 6 7 d 4 b d d 6 f 5 - w 6 k d 7   N a m e s p a c e :   d e f a u l t   P r i o r i t y :   0   N o d e :   k u b e - w o r k e r - 1 / 1 9 2 . 1 6 8 . 0 . 1 1 3   S t a r t   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/",
    "id": "k8s_00189_section_2_3367"
  },
  {
    "question": "What is Example: debugging Pending Pods?",
    "answer": "A   c o m m o n   s c e n a r i o   t h a t   y o u   c a n   d e t e c t   u s i n g   e v e n t s   i s   w h e n   y o u ' v e   c r e a t e d   a   P o d   t h a t   w o n ' t   f i t   o n   a n y   n o d e .   F o r   e x a m p l e ,   t h e   P o d   m i g h t   r e q u e s t   m o r e   r e s o u r c e s   t h a n   a r e   f r e e   o n   a n y   n o d e ,   o r   i t   m i g h t   s p e c i f y   a   l a b e l   s e l e c t o r   t h a t   d o e s n ' t   m a t c h   a n y   n o d e s .   L e t ' s   s a y   w e   c r e a t e d   t h e   p r e v i o u s   D e p l o y m e n t   w i t h   5   r e p l i c a s   ( i n s t e a d   o f   2 )   a n d   r e q u e s t i n g   6 0 0   m i l l i c o r e s   i n s t e a d   o f   5 0 0 ,   o n   a   f o u r - n o d e   c l u s t e r   w h e r e   e a c h   ( v i r t u a l )   m a c h i n e   h a s   1   C P U .   I n   t h a t   c a s e   o n e   o f   t h e   P o d s   w i l l   n o t   b e   a b l e   t o   s c h e d u l e .   ( N o t e   t h a t   b e c a u s e   o f   t h e   c l u s t e r   a d d o n   p o d s   s u c h   a s   f l u e n t d ,   s k y d n s ,   e t c . ,   t h a t   r u n   o n   e a c h   n o d e ,   i f   w e   r e q u e s t e d   1 0 0 0   m i l l i c o r e s   t h e n   n o n e   o f   t h e   P o d s   w o u l d   b e   a b l e   t o   s c h e d u l e . )   k u b e c t l   g e t   p o d s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   n g i n x - d e p l o y m e n t - 1 0 0 6 2 3 0 8 1 4 - 6 w i n p   1 / 1   R u n n i n g   0   7 m   n g i n x - d e p l o y m e n t - 1 0 0 6 2 3 0 8 1 4 - f m g u 3   1 / 1   R u n n i n g   0   7 m   n g i n x - d e p l o y m e n t - 1 3 7 0 8 0 7 5 8 7 - 6 e k b w   1 / 1   R u n n i n g   0   1 m   n g i n x - d e p l o y m e n t - 1 3 7 0 8 0 7 5 8 7 - f g 1 7 2   0 / 1   P e n d i n g   0   1 m   n g i n x - d e p l o y m e n t - 1 3 7 0 8 0 7 5 8 7 - f z 9 s d   0 / 1   P e n d i n g   0   1 m   T o   f i n d   o u t   w h y   t h e   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/",
    "id": "k8s_00189_section_2_3368"
  },
  {
    "question": "What is Examining pod logs?",
    "answer": "F i r s t ,   l o o k   a t   t h e   l o g s   o f   t h e   a f f e c t e d   c o n t a i n e r :   k u b e c t l   l o g s   $ { P O D _ N A M E }   $ { C O N T A I N E R _ N A M E }   I f   y o u r   c o n t a i n e r   h a s   p r e v i o u s l y   c r a s h e d ,   y o u   c a n   a c c e s s   t h e   p r e v i o u s   c o n t a i n e r ' s   c r a s h   l o g   w i t h :   k u b e c t l   l o g s   - - p r e v i o u s   $ { P O D _ N A M E }   $ { C O N T A I N E R _ N A M E }",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/",
    "id": "k8s_00189_section_2_3369"
  },
  {
    "question": "What is Debugging with container exec?",
    "answer": "I f   t h e   c o n t a i n e r   i m a g e   i n c l u d e s   d e b u g g i n g   u t i l i t i e s ,   a s   i s   t h e   c a s e   w i t h   i m a g e s   b u i l t   f r o m   L i n u x   a n d   W i n d o w s   O S   b a s e   i m a g e s ,   y o u   c a n   r u n   c o m m a n d s   i n s i d e   a   s p e c i f i c   c o n t a i n e r   w i t h   k u b e c t l   e x e c :   k u b e c t l   e x e c   $ { P O D _ N A M E }   - c   $ { C O N T A I N E R _ N A M E }   - -   $ { C M D }   $ { A R G 1 }   $ { A R G 2 }   . . .   $ { A R G N }",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/",
    "id": "k8s_00189_section_2_3370"
  },
  {
    "question": "What is Note:?",
    "answer": "A s   a n   e x a m p l e ,   t o   l o o k   a t   t h e   l o g s   f r o m   a   r u n n i n g   C a s s a n d r a   p o d ,   y o u   m i g h t   r u n   k u b e c t l   e x e c   c a s s a n d r a   - -   c a t   / v a r / l o g / c a s s a n d r a / s y s t e m . l o g   Y o u   c a n   r u n   a   s h e l l   t h a t ' s   c o n n e c t e d   t o   y o u r   t e r m i n a l   u s i n g   t h e   - i   a n d   - t   a r g u m e n t s   t o   k u b e c t l   e x e c ,   f o r   e x a m p l e :   k u b e c t l   e x e c   - i t   c a s s a n d r a   - -   s h   F o r   m o r e   d e t a i l s ,   s e e   G e t   a   S h e l l   t o   a   R u n n i n g   C o n t a i n e r .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/",
    "id": "k8s_00189_section_4_3371"
  },
  {
    "question": "What is Debugging with an ephemeral debug container?",
    "answer": "E p h e m e r a l   c o n t a i n e r s   a r e   u s e f u l   f o r   i n t e r a c t i v e   t r o u b l e s h o o t i n g   w h e n   k u b e c t l   e x e c   i s   i n s u f f i c i e n t   b e c a u s e   a   c o n t a i n e r   h a s   c r a s h e d   o r   a   c o n t a i n e r   i m a g e   d o e s n ' t   i n c l u d e   d e b u g g i n g   u t i l i t i e s ,   s u c h   a s   w i t h   d i s t r o l e s s   i m a g e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/",
    "id": "k8s_00189_section_2_3372"
  },
  {
    "question": "What is Example debugging using ephemeral containers?",
    "answer": "Y o u   c a n   u s e   t h e   k u b e c t l   d e b u g   c o m m a n d   t o   a d d   e p h e m e r a l   c o n t a i n e r s   t o   a   r u n n i n g   P o d .   F i r s t ,   c r e a t e   a   p o d   f o r   t h e   e x a m p l e :   k u b e c t l   r u n   e p h e m e r a l - d e m o   - - i m a g e = r e g i s t r y . k 8 s . i o / p a u s e : 3 . 1   - - r e s t a r t = N e v e r   T h e   e x a m p l e s   i n   t h i s   s e c t i o n   u s e   t h e   p a u s e   c o n t a i n e r   i m a g e   b e c a u s e   i t   d o e s   n o t   c o n t a i n   d e b u g g i n g   u t i l i t i e s ,   b u t   t h i s   m e t h o d   w o r k s   w i t h   a l l   c o n t a i n e r   i m a g e s .   I f   y o u   a t t e m p t   t o   u s e   k u b e c t l   e x e c   t o   c r e a t e   a   s h e l l   y o u   w i l l   s e e   a n   e r r o r   b e c a u s e   t h e r e   i s   n o   s h e l l   i n   t h i s   c o n t a i n e r   i m a g e .   k u b e c t l   e x e c   - i t   e p h e m e r a l - d e m o   - -   s h   O C I   r u n t i m e   e x e c   f a i l e d :   e x e c   f a i l e d :   c o n t a i n e r _ l i n u x . g o : 3 4 6 :   s t a r t i n g   c o n t a i n e r   p r o c e s s   c a u s e d   \" e x e c :   \\ \" s h \\ \" :   e x e c u t a b l e   f i l e   n o t   f o u n d   i n   $ P A T H \" :   u n k n o w n   Y o u   c a n   i n s t e a d   a d d   a   d e b u g g i n g   c o n t a i n e r   u s i n g   k u b e c t l   d e b u g .   I f   y o u   s p e c i f y   t h e   - i / - - i n t e r a c t i v e   a r g u m e n t ,   k u b e c t l   w i l l   a u t o m a t i c a l l y   a t t a c h   t o   t h e   c o n s o l e   o f   t h e   E p h e m e r a l   C o n t a i n e r .   k u b e c t l   d e b u g   - i t   e p h e m e r a l - d e m o   - - i m a g e = b u s y b o x : 1 . 2 8   - - t a r g e t = e p h e m e r a l - d e m o   D e f a u l t i n g   d e b u g   c o n t a i n e r   n a m e   t o   d e b u g g e r - 8 x z r l .   I f   y o u   d o n ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/",
    "id": "k8s_00189_section_3_3373"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   v i e w   t h e   s t a t e   o f   t h e   n e w l y   c r e a t e d   e p h e m e r a l   c o n t a i n e r   u s i n g   k u b e c t l   d e s c r i b e :   k u b e c t l   d e s c r i b e   p o d   e p h e m e r a l - d e m o   . . .   E p h e m e r a l   C o n t a i n e r s :   d e b u g g e r - 8 x z r l :   C o n t a i n e r   I D :   d o c k e r : / / b 8 8 8 f 9 a d f d 1 5 b d 5 7 3 9 f e f a a 3 9 e 1 d f 4 d d 3 c 6 1 7 b 9 9 0 2 0 8 2 b 1 c f d c 2 9 c 4 0 2 8 f f b 2 e b   I m a g e :   b u s y b o x   I m a g e   I D :   d o c k e r - p u l l a b l e : / / b u s y b o x @ s h a 2 5 6 : 1 8 2 8 e d d 6 0 c 5 e f d 3 4 b 2 b f 5 d d 3 2 8 2 e c 0 c c 0 4 d 4 7 b 2 f f 9 c a a 0 b 6 d 4 f 0 7 a 2 1 d 1 c 0 8 0 8 4   P o r t :   < n o n e >   H o s t   P o r t :   < n o n e >   S t a t e :   R u n n i n g   S t a r t e d :   W e d ,   1 2   F e b   2 0 2 0   1 4 : 2 5 : 4 2   + 0 1 0 0   R e a d y :   F a l s e   R e s t a r t   C o u n t :   0   E n v i r o n m e n t :   < n o n e >   M o u n t s :   < n o n e >   . . .   U s e   k u b e c t l   d e l e t e   t o   r e m o v e   t h e   P o d   w h e n   y o u ' r e   f i n i s h e d :   k u b e c t l   d e l e t e   p o d   e p h e m e r a l - d e m o",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/",
    "id": "k8s_00189_section_4_3374"
  },
  {
    "question": "What is Debugging using a copy of the Pod?",
    "answer": "S o m e t i m e s   P o d   c o n f i g u r a t i o n   o p t i o n s   m a k e   i t   d i f f i c u l t   t o   t r o u b l e s h o o t   i n   c e r t a i n   s i t u a t i o n s .   F o r   e x a m p l e ,   y o u   c a n ' t   r u n   k u b e c t l   e x e c   t o   t r o u b l e s h o o t   y o u r   c o n t a i n e r   i f   y o u r   c o n t a i n e r   i m a g e   d o e s   n o t   i n c l u d e   a   s h e l l   o r   i f   y o u r   a p p l i c a t i o n   c r a s h e s   o n   s t a r t u p .   I n   t h e s e   s i t u a t i o n s   y o u   c a n   u s e   k u b e c t l   d e b u g   t o   c r e a t e   a   c o p y   o f   t h e   P o d   w i t h   c o n f i g u r a t i o n   v a l u e s   c h a n g e d   t o   a i d   d e b u g g i n g .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/",
    "id": "k8s_00189_section_2_3375"
  },
  {
    "question": "What is Copying a Pod while adding a new container?",
    "answer": "A d d i n g   a   n e w   c o n t a i n e r   c a n   b e   u s e f u l   w h e n   y o u r   a p p l i c a t i o n   i s   r u n n i n g   b u t   n o t   b e h a v i n g   a s   y o u   e x p e c t   a n d   y o u ' d   l i k e   t o   a d d   a d d i t i o n a l   t r o u b l e s h o o t i n g   u t i l i t i e s   t o   t h e   P o d .   F o r   e x a m p l e ,   m a y b e   y o u r   a p p l i c a t i o n ' s   c o n t a i n e r   i m a g e s   a r e   b u i l t   o n   b u s y b o x   b u t   y o u   n e e d   d e b u g g i n g   u t i l i t i e s   n o t   i n c l u d e d   i n   b u s y b o x .   Y o u   c a n   s i m u l a t e   t h i s   s c e n a r i o   u s i n g   k u b e c t l   r u n :   k u b e c t l   r u n   m y a p p   - - i m a g e = b u s y b o x : 1 . 2 8   - - r e s t a r t = N e v e r   - -   s l e e p   1 d   R u n   t h i s   c o m m a n d   t o   c r e a t e   a   c o p y   o f   m y a p p   n a m e d   m y a p p - d e b u g   t h a t   a d d s   a   n e w   U b u n t u   c o n t a i n e r   f o r   d e b u g g i n g :   k u b e c t l   d e b u g   m y a p p   - i t   - - i m a g e = u b u n t u   - - s h a r e - p r o c e s s e s   - - c o p y - t o = m y a p p - d e b u g   D e f a u l t i n g   d e b u g   c o n t a i n e r   n a m e   t o   d e b u g g e r - w 7 x m f .   I f   y o u   d o n ' t   s e e   a   c o m m a n d   p r o m p t ,   t r y   p r e s s i n g   e n t e r .   r o o t @ m y a p p - d e b u g : / #",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/",
    "id": "k8s_00189_section_3_3376"
  },
  {
    "question": "What is Note:?",
    "answer": "k u b e c t l   d e b u g   a u t o m a t i c a l l y   g e n e r a t e s   a   c o n t a i n e r   n a m e   i f   y o u   d o n ' t   c h o o s e   o n e   u s i n g   t h e   - - c o n t a i n e r   f l a g . T h e   - i   f l a g   c a u s e s   k u b e c t l   d e b u g   t o   a t t a c h   t o   t h e   n e w   c o n t a i n e r   b y   d e f a u l t .   Y o u   c a n   p r e v e n t   t h i s   b y   s p e c i f y i n g   - - a t t a c h = f a l s e .   I f   y o u r   s e s s i o n   b e c o m e s   d i s c o n n e c t e d   y o u   c a n   r e a t t a c h   u s i n g   k u b e c t l   a t t a c h . T h e   - - s h a r e - p r o c e s s e s   a l l o w s   t h e   c o n t a i n e r s   i n   t h i s   P o d   t o   s e e   p r o c e s s e s   f r o m   t h e   o t h e r   c o n t a i n e r s   i n   t h e   P o d .   F o r   m o r e   i n f o r m a t i o n   a b o u t   h o w   t h i s   w o r k s ,   s e e   S h a r e   P r o c e s s   N a m e s p a c e   b e t w e e n   C o n t a i n e r s   i n   a   P o d .   D o n ' t   f o r g e t   t o   c l e a n   u p   t h e   d e b u g g i n g   P o d   w h e n   y o u ' r e   f i n i s h e d   w i t h   i t :   k u b e c t l   d e l e t e   p o d   m y a p p   m y a p p - d e b u g",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/",
    "id": "k8s_00189_section_4_3377"
  },
  {
    "question": "What is Copying a Pod while changing its command?",
    "answer": "S o m e t i m e s   i t ' s   u s e f u l   t o   c h a n g e   t h e   c o m m a n d   f o r   a   c o n t a i n e r ,   f o r   e x a m p l e   t o   a d d   a   d e b u g g i n g   f l a g   o r   b e c a u s e   t h e   a p p l i c a t i o n   i s   c r a s h i n g .   T o   s i m u l a t e   a   c r a s h i n g   a p p l i c a t i o n ,   u s e   k u b e c t l   r u n   t o   c r e a t e   a   c o n t a i n e r   t h a t   i m m e d i a t e l y   e x i t s :   k u b e c t l   r u n   - - i m a g e = b u s y b o x : 1 . 2 8   m y a p p   - -   f a l s e   Y o u   c a n   s e e   u s i n g   k u b e c t l   d e s c r i b e   p o d   m y a p p   t h a t   t h i s   c o n t a i n e r   i s   c r a s h i n g :   C o n t a i n e r s :   m y a p p :   I m a g e :   b u s y b o x   . . .   A r g s :   f a l s e   S t a t e :   W a i t i n g   R e a s o n :   C r a s h L o o p B a c k O f f   L a s t   S t a t e :   T e r m i n a t e d   R e a s o n :   E r r o r   E x i t   C o d e :   1   Y o u   c a n   u s e   k u b e c t l   d e b u g   t o   c r e a t e   a   c o p y   o f   t h i s   P o d   w i t h   t h e   c o m m a n d   c h a n g e d   t o   a n   i n t e r a c t i v e   s h e l l :   k u b e c t l   d e b u g   m y a p p   - i t   - - c o p y - t o = m y a p p - d e b u g   - - c o n t a i n e r = m y a p p   - -   s h   I f   y o u   d o n ' t   s e e   a   c o m m a n d   p r o m p t ,   t r y   p r e s s i n g   e n t e r .   /   #   N o w   y o u   h a v e   a n   i n t e r a c t i v e   s h e l l   t h a t   y o u   c a n   u s e   t o   p e r f o r m   t a s k s   l i k e   c h e c k i n g   f i l e s y s t e m   p a t h s   o r   r u n n i n g   t h e   c o n t a i n e r   c o m m a n d   m a n u a l l y .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/",
    "id": "k8s_00189_section_3_3378"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   c h a n g e   t h e   c o m m a n d   o f   a   s p e c i f i c   c o n t a i n e r   y o u   m u s t   s p e c i f y   i t s   n a m e   u s i n g   - - c o n t a i n e r   o r   k u b e c t l   d e b u g   w i l l   i n s t e a d   c r e a t e   a   n e w   c o n t a i n e r   t o   r u n   t h e   c o m m a n d   y o u   s p e c i f i e d . T h e   - i   f l a g   c a u s e s   k u b e c t l   d e b u g   t o   a t t a c h   t o   t h e   c o n t a i n e r   b y   d e f a u l t .   Y o u   c a n   p r e v e n t   t h i s   b y   s p e c i f y i n g   - - a t t a c h = f a l s e .   I f   y o u r   s e s s i o n   b e c o m e s   d i s c o n n e c t e d   y o u   c a n   r e a t t a c h   u s i n g   k u b e c t l   a t t a c h .   D o n ' t   f o r g e t   t o   c l e a n   u p   t h e   d e b u g g i n g   P o d   w h e n   y o u ' r e   f i n i s h e d   w i t h   i t :   k u b e c t l   d e l e t e   p o d   m y a p p   m y a p p - d e b u g",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/",
    "id": "k8s_00189_section_4_3379"
  },
  {
    "question": "What is Copying a Pod while changing container images?",
    "answer": "I n   s o m e   s i t u a t i o n s   y o u   m a y   w a n t   t o   c h a n g e   a   m i s b e h a v i n g   P o d   f r o m   i t s   n o r m a l   p r o d u c t i o n   c o n t a i n e r   i m a g e s   t o   a n   i m a g e   c o n t a i n i n g   a   d e b u g g i n g   b u i l d   o r   a d d i t i o n a l   u t i l i t i e s .   A s   a n   e x a m p l e ,   c r e a t e   a   P o d   u s i n g   k u b e c t l   r u n :   k u b e c t l   r u n   m y a p p   - - i m a g e = b u s y b o x : 1 . 2 8   - - r e s t a r t = N e v e r   - -   s l e e p   1 d   N o w   u s e   k u b e c t l   d e b u g   t o   m a k e   a   c o p y   a n d   c h a n g e   i t s   c o n t a i n e r   i m a g e   t o   u b u n t u :   k u b e c t l   d e b u g   m y a p p   - - c o p y - t o = m y a p p - d e b u g   - - s e t - i m a g e = * = u b u n t u   T h e   s y n t a x   o f   - - s e t - i m a g e   u s e s   t h e   s a m e   c o n t a i n e r _ n a m e = i m a g e   s y n t a x   a s   k u b e c t l   s e t   i m a g e .   * = u b u n t u   m e a n s   c h a n g e   t h e   i m a g e   o f   a l l   c o n t a i n e r s   t o   u b u n t u .   D o n ' t   f o r g e t   t o   c l e a n   u p   t h e   d e b u g g i n g   P o d   w h e n   y o u ' r e   f i n i s h e d   w i t h   i t :   k u b e c t l   d e l e t e   p o d   m y a p p   m y a p p - d e b u g",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/",
    "id": "k8s_00189_section_3_3380"
  },
  {
    "question": "What is Debugging via a shell on the node?",
    "answer": "I f   n o n e   o f   t h e s e   a p p r o a c h e s   w o r k ,   y o u   c a n   f i n d   t h e   N o d e   o n   w h i c h   t h e   P o d   i s   r u n n i n g   a n d   c r e a t e   a   P o d   r u n n i n g   o n   t h e   N o d e .   T o   c r e a t e   a n   i n t e r a c t i v e   s h e l l   o n   a   N o d e   u s i n g   k u b e c t l   d e b u g ,   r u n :   k u b e c t l   d e b u g   n o d e / m y n o d e   - i t   - - i m a g e = u b u n t u   C r e a t i n g   d e b u g g i n g   p o d   n o d e - d e b u g g e r - m y n o d e - p d x 8 4   w i t h   c o n t a i n e r   d e b u g g e r   o n   n o d e   m y n o d e .   I f   y o u   d o n ' t   s e e   a   c o m m a n d   p r o m p t ,   t r y   p r e s s i n g   e n t e r .   r o o t @ e k 8 s : / #   W h e n   c r e a t i n g   a   d e b u g g i n g   s e s s i o n   o n   a   n o d e ,   k e e p   i n   m i n d   t h a t :   k u b e c t l   d e b u g   a u t o m a t i c a l l y   g e n e r a t e s   t h e   n a m e   o f   t h e   n e w   P o d   b a s e d   o n   t h e   n a m e   o f   t h e   N o d e . T h e   r o o t   f i l e s y s t e m   o f   t h e   N o d e   w i l l   b e   m o u n t e d   a t   / h o s t . T h e   c o n t a i n e r   r u n s   i n   t h e   h o s t   I P C ,   N e t w o r k ,   a n d   P I D   n a m e s p a c e s ,   a l t h o u g h   t h e   p o d   i s n ' t   p r i v i l e g e d ,   s o   r e a d i n g   s o m e   p r o c e s s   i n f o r m a t i o n   m a y   f a i l ,   a n d   c h r o o t   / h o s t   m a y   f a i l . I f   y o u   n e e d   a   p r i v i l e g e d   p o d ,   c r e a t e   i t   m a n u a l l y   o r   u s e   t h e   - - p r o f i l e = s y s a d m i n   f l a g .   D o n ' t   f o r g e t   t o   c l e a n   u p   t h e   d e b u g g i n g   P o d   w h e n   y o u ' r e   f i n i s h e d   w i t h   i t :   k u b e c t l   d e l e t e   p o d   n o d e - d e b u g g e r - m y n o d e - p d x 8 4",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/",
    "id": "k8s_00189_section_2_3381"
  },
  {
    "question": "What is Debugging a Pod or Node while applying a profile?",
    "answer": "W h e n   u s i n g   k u b e c t l   d e b u g   t o   d e b u g   a   n o d e   v i a   a   d e b u g g i n g   P o d ,   a   P o d   v i a   a n   e p h e m e r a l   c o n t a i n e r ,   o r   a   c o p i e d   P o d ,   y o u   c a n   a p p l y   a   p r o f i l e   t o   t h e m .   B y   a p p l y i n g   a   p r o f i l e ,   s p e c i f i c   p r o p e r t i e s   s u c h   a s   s e c u r i t y C o n t e x t   a r e   s e t ,   a l l o w i n g   f o r   a d a p t a t i o n   t o   v a r i o u s   s c e n a r i o s .   T h e r e   a r e   t w o   t y p e s   o f   p r o f i l e s ,   s t a t i c   p r o f i l e   a n d   c u s t o m   p r o f i l e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/",
    "id": "k8s_00189_section_2_3382"
  },
  {
    "question": "What is Applying a Static Profile?",
    "answer": "A   s t a t i c   p r o f i l e   i s   a   s e t   o f   p r e d e f i n e d   p r o p e r t i e s ,   a n d   y o u   c a n   a p p l y   t h e m   u s i n g   t h e   - - p r o f i l e   f l a g .   T h e   a v a i l a b l e   p r o f i l e s   a r e   a s   f o l l o w s :",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/",
    "id": "k8s_00189_section_3_3383"
  },
  {
    "question": "What is Note:?",
    "answer": "A s s u m e   t h a t   y o u   c r e a t e   a   P o d   a n d   d e b u g   i t .   F i r s t ,   c r e a t e   a   P o d   n a m e d   m y a p p   a s   a n   e x a m p l e :   k u b e c t l   r u n   m y a p p   - - i m a g e = b u s y b o x : 1 . 2 8   - - r e s t a r t = N e v e r   - -   s l e e p   1 d   T h e n ,   d e b u g   t h e   P o d   u s i n g   a n   e p h e m e r a l   c o n t a i n e r .   I f   t h e   e p h e m e r a l   c o n t a i n e r   n e e d s   t o   h a v e   p r i v i l e g e ,   y o u   c a n   u s e   t h e   s y s a d m i n   p r o f i l e :   k u b e c t l   d e b u g   - i t   m y a p p   - - i m a g e = b u s y b o x : 1 . 2 8   - - t a r g e t = m y a p p   - - p r o f i l e = s y s a d m i n   T a r g e t i n g   c o n t a i n e r   \" m y a p p \" .   I f   y o u   d o n ' t   s e e   p r o c e s s e s   f r o m   t h i s   c o n t a i n e r   i t   m a y   b e   b e c a u s e   t h e   c o n t a i n e r   r u n t i m e   d o e s n ' t   s u p p o r t   t h i s   f e a t u r e .   D e f a u l t i n g   d e b u g   c o n t a i n e r   n a m e   t o   d e b u g g e r - 6 k g 4 x .   I f   y o u   d o n ' t   s e e   a   c o m m a n d   p r o m p t ,   t r y   p r e s s i n g   e n t e r .   /   #   C h e c k   t h e   c a p a b i l i t i e s   o f   t h e   e p h e m e r a l   c o n t a i n e r   p r o c e s s   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d   i n s i d e   t h e   c o n t a i n e r :   /   #   g r e p   C a p   / p r o c / $ $ / s t a t u s   . . .   C a p P r m :   0 0 0 0 0 1 f f f f f f f f f f   C a p E f f :   0 0 0 0 0 1 f f f f f f f f f f   . . .   T h i s   m e a n s   t h e   c o n t a i n e r   p r o c e s s   i s   g r a n t e d   f u l l   c a p a b i l i t i e s   a s   a   p r i v i l e g e d   c o n t a i n e r   b y   a p p l y i n g   s y s a d m i n   p r o f i l e .   S e e   m o r e   d e t a i l s   a b o u t   c a p a b i l i t i e s .   Y o u   c a n   a l s o   c h e c ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/",
    "id": "k8s_00189_section_4_3384"
  },
  {
    "question": "What is Applying Custom Profile?",
    "answer": "Y o u   c a n   d e f i n e   a   p a r t i a l   c o n t a i n e r   s p e c   f o r   d e b u g g i n g   a s   a   c u s t o m   p r o f i l e   i n   e i t h e r   Y A M L   o r   J S O N   f o r m a t ,   a n d   a p p l y   i t   u s i n g   t h e   - - c u s t o m   f l a g .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/",
    "id": "k8s_00189_section_3_3385"
  },
  {
    "question": "What is Note:?",
    "answer": "C r e a t e   a   P o d   n a m e d   m y a p p   a s   a n   e x a m p l e :   k u b e c t l   r u n   m y a p p   - - i m a g e = b u s y b o x : 1 . 2 8   - - r e s t a r t = N e v e r   - -   s l e e p   1 d   C r e a t e   a   c u s t o m   p r o f i l e   i n   Y A M L   o r   J S O N   f o r m a t .   H e r e ,   c r e a t e   a   Y A M L   f o r m a t   f i l e   n a m e d   c u s t o m - p r o f i l e . y a m l :   e n v :   -   n a m e :   E N V _ V A R _ 1   v a l u e :   v a l u e _ 1   -   n a m e :   E N V _ V A R _ 2   v a l u e :   v a l u e _ 2   s e c u r i t y C o n t e x t :   c a p a b i l i t i e s :   a d d :   -   N E T _ A D M I N   -   S Y S _ T I M E   R u n   t h i s   c o m m a n d   t o   d e b u g   t h e   P o d   u s i n g   a n   e p h e m e r a l   c o n t a i n e r   w i t h   t h e   c u s t o m   p r o f i l e :   k u b e c t l   d e b u g   - i t   m y a p p   - - i m a g e = b u s y b o x : 1 . 2 8   - - t a r g e t = m y a p p   - - p r o f i l e = g e n e r a l   - - c u s t o m = c u s t o m - p r o f i l e . y a m l   Y o u   c a n   c h e c k   t h a t   t h e   e p h e m e r a l   c o n t a i n e r   h a s   b e e n   a d d e d   t o   t h e   t a r g e t   P o d   w i t h   t h e   c u s t o m   p r o f i l e   a p p l i e d :   k u b e c t l   g e t   p o d   m y a p p   - o   j s o n p a t h = ' { . s p e c . e p h e m e r a l C o n t a i n e r s [ 0 ] . e n v } '   [ { \" n a m e \" : \" E N V _ V A R _ 1 \" , \" v a l u e \" : \" v a l u e _ 1 \" } , { \" n a m e \" : \" E N V _ V A R _ 2 \" , \" v a l u e \" : \" v a l u e _ 2 \" } ]   k u b e c t l   g e t   p o d   m y a p p   - o   j s o n p a t h = ' { . s p e c . e p h e m e r a l C o n t a i n e r s [ 0 ] . s e c u r i t y C o n t e x t } '   { \" c a p a b i l i t i e s \" : { \" a d d \" : [ \" N E T _ A D M I N \" , \" S Y S _ T I M E \" ] } }   C l e a n   u p   t h e   P o d   w h e n   y o u ' r e   f i n i s h e d   w i t h   i t :   k u b e c t l   d e l e t e   p o d   m y ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/",
    "id": "k8s_00189_section_4_3386"
  },
  {
    "question": "What is IPAddress?",
    "answer": "IPAddressIPAddress represents a single IP of a single IP Family.apiVersion: networking.k8s.io/v1import \"k8s.io/api/networking/v1\"IPAddressIPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1apiVersion: networking.k8s.io/v1kind: IPAddressmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (IPAddressSpec)spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusIPAddressSpecIPAddressSpec describe the attributes in an IP Address.parentRef (ParentReference), requiredParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object.ParentReference describes a reference to a parent object.parentRef.name (string), requiredName is the name of the object being referenced.parentRef.resource (string), requiredResource is the resource of the object being referenced.parentRef.group (string)Group is the group of the object being referenced.parentRef.namespace (string)Namespace is the namespace of the object being referenced.IPAddressListIPAddressList contains a list of IPAddress.apiVersion: networking.k8s.io/v1kind: IPAddressListmetadata (ListMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]IPAddress), requireditems is the list of IPAddresses.Operationsget read the specified IPAddressHTTP RequestGET /apis/networking.k8s.io/v1/ipaddresses/{name}Parametersname (in path): string, requiredname of the IPAddresspretty (in query): stringprettyResponse200 (IPAddress): OK401: Unauthorizedlist list or watch objects of kind IPAddressHTTP RequestGET /apis/networking.k8s.io/v1/ipaddressesParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (IPAddressList): OK401: Unauthorizedcreate create an IPAddressHTTP RequestPOST /apis/networking.k8s.io/v1/ipaddressesPar",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_qa_3387"
  },
  {
    "question": "How does IPAddress work?",
    "answer": "IPAddressIPAddress represents a single IP of a single IP Family.apiVersion: networking.k8s.io/v1import \"k8s.io/api/networking/v1\"IPAddressIPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1apiVersion: networking.k8s.io/v1kind: IPAddressmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (IPAddressSpec)spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusIPAddressSpecIPAddressSpec describe the attributes in an IP Address.parentRef (ParentReference), requiredParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object.ParentReference describes a reference to a parent object.parentRef.name (string), requiredName is the name of the object being referenced.parentRef.resource (string), requiredResource is the resource of the object being referenced.parentRef.group (string)Group is the group of the object being referenced.parentRef.namespace (string)Namespace is the namespace of the object being referenced.IPAddressListIPAddressList contains a list of IPAddress.apiVersion: networking.k8s.io/v1kind: IPAddressListmetadata (ListMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]IPAddress), requireditems is the list of IPAddresses.Operationsget read the specified IPAddressHTTP RequestGET /apis/networking.k8s.io/v1/ipaddresses/{name}Parametersname (in path): string, requiredname of the IPAddresspretty (in query): stringprettyResponse200 (IPAddress): OK401: Unauthorizedlist list or watch objects of kind IPAddressHTTP RequestGET /apis/networking.k8s.io/v1/ipaddressesParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (IPAddressList): OK401: Unauthorizedcreate create an IPAddressHTTP RequestPOST /apis/networking.k8s.io/v1/ipaddressesPar",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_qa_3388"
  },
  {
    "question": "When would you use IPAddress?",
    "answer": "IPAddressIPAddress represents a single IP of a single IP Family.apiVersion: networking.k8s.io/v1import \"k8s.io/api/networking/v1\"IPAddressIPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1apiVersion: networking.k8s.io/v1kind: IPAddressmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (IPAddressSpec)spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusIPAddressSpecIPAddressSpec describe the attributes in an IP Address.parentRef (ParentReference), requiredParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object.ParentReference describes a reference to a parent object.parentRef.name (string), requiredName is the name of the object being referenced.parentRef.resource (string), requiredResource is the resource of the object being referenced.parentRef.group (string)Group is the group of the object being referenced.parentRef.namespace (string)Namespace is the namespace of the object being referenced.IPAddressListIPAddressList contains a list of IPAddress.apiVersion: networking.k8s.io/v1kind: IPAddressListmetadata (ListMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]IPAddress), requireditems is the list of IPAddresses.Operationsget read the specified IPAddressHTTP RequestGET /apis/networking.k8s.io/v1/ipaddresses/{name}Parametersname (in path): string, requiredname of the IPAddresspretty (in query): stringprettyResponse200 (IPAddress): OK401: Unauthorizedlist list or watch objects of kind IPAddressHTTP RequestGET /apis/networking.k8s.io/v1/ipaddressesParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (IPAddressList): OK401: Unauthorizedcreate create an IPAddressHTTP RequestPOST /apis/networking.k8s.io/v1/ipaddressesPar",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_qa_3389"
  },
  {
    "question": "What are the benefits of IPAddress?",
    "answer": "IPAddressIPAddress represents a single IP of a single IP Family.apiVersion: networking.k8s.io/v1import \"k8s.io/api/networking/v1\"IPAddressIPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1apiVersion: networking.k8s.io/v1kind: IPAddressmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (IPAddressSpec)spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusIPAddressSpecIPAddressSpec describe the attributes in an IP Address.parentRef (ParentReference), requiredParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object.ParentReference describes a reference to a parent object.parentRef.name (string), requiredName is the name of the object being referenced.parentRef.resource (string), requiredResource is the resource of the object being referenced.parentRef.group (string)Group is the group of the object being referenced.parentRef.namespace (string)Namespace is the namespace of the object being referenced.IPAddressListIPAddressList contains a list of IPAddress.apiVersion: networking.k8s.io/v1kind: IPAddressListmetadata (ListMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]IPAddress), requireditems is the list of IPAddresses.Operationsget read the specified IPAddressHTTP RequestGET /apis/networking.k8s.io/v1/ipaddresses/{name}Parametersname (in path): string, requiredname of the IPAddresspretty (in query): stringprettyResponse200 (IPAddress): OK401: Unauthorizedlist list or watch objects of kind IPAddressHTTP RequestGET /apis/networking.k8s.io/v1/ipaddressesParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (IPAddressList): OK401: Unauthorizedcreate create an IPAddressHTTP RequestPOST /apis/networking.k8s.io/v1/ipaddressesPar",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_qa_3390"
  },
  {
    "question": "What is IPAddress?",
    "answer": "a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / n e t w o r k i n g / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_section_1_3391"
  },
  {
    "question": "What is IPAddress?",
    "answer": "I P A d d r e s s   r e p r e s e n t s   a   s i n g l e   I P   o f   a   s i n g l e   I P   F a m i l y .   T h e   o b j e c t   i s   d e s i g n e d   t o   b e   u s e d   b y   A P I s   t h a t   o p e r a t e   o n   I P   a d d r e s s e s .   T h e   o b j e c t   i s   u s e d   b y   t h e   S e r v i c e   c o r e   A P I   f o r   a l l o c a t i o n   o f   I P   a d d r e s s e s .   A n   I P   a d d r e s s   c a n   b e   r e p r e s e n t e d   i n   d i f f e r e n t   f o r m a t s ,   t o   g u a r a n t e e   t h e   u n i q u e n e s s   o f   t h e   I P ,   t h e   n a m e   o f   t h e   o b j e c t   i s   t h e   I P   a d d r e s s   i n   c a n o n i c a l   f o r m a t ,   f o u r   d e c i m a l   d i g i t s   s e p a r a t e d   b y   d o t s   s u p p r e s s i n g   l e a d i n g   z e r o s   f o r   I P v 4   a n d   t h e   r e p r e s e n t a t i o n   d e f i n e d   b y   R F C   5 9 5 2   f o r   I P v 6 .   V a l i d :   1 9 2 . 1 6 8 . 1 . 5   o r   2 0 0 1 : d b 8 : : 1   o r   2 0 0 1 : d b 8 : a a a a : b b b b : c c c c : d d d d : e e e e : 1   I n v a l i d :   1 0 . 0 1 . 2 . 3   o r   2 0 0 1 : d b 8 : 0 : 0 : 0 : : 1   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   I P A d d r e s s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( I P A d d r e s s S p e c ) s p e c   i s   t h e   d e s i r e d   s t a t e   o f   t h e   I P A d d r e s s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_section_2_3392"
  },
  {
    "question": "What is IPAddressSpec?",
    "answer": "I P A d d r e s s S p e c   d e s c r i b e   t h e   a t t r i b u t e s   i n   a n   I P   A d d r e s s .   p a r e n t R e f   ( P a r e n t R e f e r e n c e ) ,   r e q u i r e d P a r e n t R e f   r e f e r e n c e s   t h e   r e s o u r c e   t h a t   a n   I P A d d r e s s   i s   a t t a c h e d   t o .   A n   I P A d d r e s s   m u s t   r e f e r e n c e   a   p a r e n t   o b j e c t . P a r e n t R e f e r e n c e   d e s c r i b e s   a   r e f e r e n c e   t o   a   p a r e n t   o b j e c t . p a r e n t R e f . n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   i s   t h e   n a m e   o f   t h e   o b j e c t   b e i n g   r e f e r e n c e d . p a r e n t R e f . r e s o u r c e   ( s t r i n g ) ,   r e q u i r e d R e s o u r c e   i s   t h e   r e s o u r c e   o f   t h e   o b j e c t   b e i n g   r e f e r e n c e d . p a r e n t R e f . g r o u p   ( s t r i n g ) G r o u p   i s   t h e   g r o u p   o f   t h e   o b j e c t   b e i n g   r e f e r e n c e d . p a r e n t R e f . n a m e s p a c e   ( s t r i n g ) N a m e s p a c e   i s   t h e   n a m e s p a c e   o f   t h e   o b j e c t   b e i n g   r e f e r e n c e d .   p a r e n t R e f   ( P a r e n t R e f e r e n c e ) ,   r e q u i r e d   P a r e n t R e f   r e f e r e n c e s   t h e   r e s o u r c e   t h a t   a n   I P A d d r e s s   i s   a t t a c h e d   t o .   A n   I P A d d r e s s   m u s t   r e f e r e n c e   a   p a r e n t   o b j e c t .   P a r e n t R e f e r e n c e   d e s c r i b e s   a   r e f e r e n c e   t o   a   p a r e n t   o b j e c t .   p a r e n t R e f . n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   i s   t h e   n a m e   o f   t h e   o b j e c t   b e i n g   r e f e r e n c e d . p a r e n t R e f . r e s o u r c e   ( s t r i n g ) ,   r e q u i r e d R e s o u r c e   i s   t h e   r e s o u r c e   o f   t h e   o b j e c t   b e i n g   r e f e r e n c e d . p a r e n t R e f . g r o u p   ( s t r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_section_2_3393"
  },
  {
    "question": "What is IPAddressList?",
    "answer": "I P A d d r e s s L i s t   c o n t a i n s   a   l i s t   o f   I P A d d r e s s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   I P A d d r e s s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] I P A d d r e s s ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   I P A d d r e s s e s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I P A d d r e s s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] I P A d d r e s s ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   I P A d d r e s s e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_section_2_3394"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_section_4_3395"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I P A d d r e s s p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I P A d d r e s s   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_section_4_3396"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I P A d d r e s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_section_4_3397"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_section_4_3398"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_section_4_3399"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I P A d d r e s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_section_4_3400"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_section_4_3401"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   I P A d d r e s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   I P A d d r e s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_section_4_3402"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I P A d d r e s s ) :   O K   2 0 1   ( I P A d d r e s s ) :   C r e a t e d   2 0 2   ( I P A d d r e s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_section_4_3403"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_section_4_3404"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I P A d d r e s s b o d y :   I P A d d r e s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I P A d d r e s s   b o d y :   I P A d d r e s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_section_4_3405"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I P A d d r e s s ) :   O K   2 0 1   ( I P A d d r e s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_section_4_3406"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_section_4_3407"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I P A d d r e s s b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I P A d d r e s s   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_section_4_3408"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I P A d d r e s s ) :   O K   2 0 1   ( I P A d d r e s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_section_4_3409"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_section_4_3410"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I P A d d r e s s b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I P A d d r e s s   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_section_4_3411"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_section_4_3412"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_section_4_3413"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_section_4_3414"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/ip-address-v1/",
    "id": "k8s_00190_section_4_3415"
  },
  {
    "question": "What is ObjectReference?",
    "answer": "ObjectReferenceObjectReference contains enough information to let you inspect or modify the referred object.import \"k8s.io/api/core/v1\"ObjectReference contains enough information to let you inspect or modify the referred object.apiVersion (string)API version of the referent.fieldPath (string)If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.kind (string)Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsname (string)Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesnamespace (string)Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/resourceVersion (string)Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistencyuid (string)UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uidsThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/object-reference/",
    "id": "k8s_00191_qa_3416"
  },
  {
    "question": "How does ObjectReference work?",
    "answer": "ObjectReferenceObjectReference contains enough information to let you inspect or modify the referred object.import \"k8s.io/api/core/v1\"ObjectReference contains enough information to let you inspect or modify the referred object.apiVersion (string)API version of the referent.fieldPath (string)If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.kind (string)Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsname (string)Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesnamespace (string)Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/resourceVersion (string)Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistencyuid (string)UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uidsThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/object-reference/",
    "id": "k8s_00191_qa_3417"
  },
  {
    "question": "When would you use ObjectReference?",
    "answer": "ObjectReferenceObjectReference contains enough information to let you inspect or modify the referred object.import \"k8s.io/api/core/v1\"ObjectReference contains enough information to let you inspect or modify the referred object.apiVersion (string)API version of the referent.fieldPath (string)If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.kind (string)Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsname (string)Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesnamespace (string)Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/resourceVersion (string)Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistencyuid (string)UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uidsThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/object-reference/",
    "id": "k8s_00191_qa_3418"
  },
  {
    "question": "What are the benefits of ObjectReference?",
    "answer": "ObjectReferenceObjectReference contains enough information to let you inspect or modify the referred object.import \"k8s.io/api/core/v1\"ObjectReference contains enough information to let you inspect or modify the referred object.apiVersion (string)API version of the referent.fieldPath (string)If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.kind (string)Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsname (string)Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesnamespace (string)Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/resourceVersion (string)Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistencyuid (string)UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uidsThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/object-reference/",
    "id": "k8s_00191_qa_3419"
  },
  {
    "question": "What is ObjectReference?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"   O b j e c t R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   i n s p e c t   o r   m o d i f y   t h e   r e f e r r e d   o b j e c t .   a p i V e r s i o n   ( s t r i n g ) A P I   v e r s i o n   o f   t h e   r e f e r e n t . f i e l d P a t h   ( s t r i n g ) I f   r e f e r r i n g   t o   a   p i e c e   o f   a n   o b j e c t   i n s t e a d   o f   a n   e n t i r e   o b j e c t ,   t h i s   s t r i n g   s h o u l d   c o n t a i n   a   v a l i d   J S O N / G o   f i e l d   a c c e s s   s t a t e m e n t ,   s u c h   a s   d e s i r e d S t a t e . m a n i f e s t . c o n t a i n e r s [ 2 ] .   F o r   e x a m p l e ,   i f   t h e   o b j e c t   r e f e r e n c e   i s   t o   a   c o n t a i n e r   w i t h i n   a   p o d ,   t h i s   w o u l d   t a k e   o n   a   v a l u e   l i k e :   \" s p e c . c o n t a i n e r s { n a m e } \"   ( w h e r e   \" n a m e \"   r e f e r s   t o   t h e   n a m e   o f   t h e   c o n t a i n e r   t h a t   t r i g g e r e d   t h e   e v e n t )   o r   i f   n o   c o n t a i n e r   n a m e   i s   s p e c i f i e d   \" s p e c . c o n t a i n e r s [ 2 ] \"   ( c o n t a i n e r   w i t h   i n d e x   2   i n   t h i s   p o d ) .   T h i s   s y n t a x   i s   c h o s e n   o n l y   t o   h a v e   s o m e   w e l l - d e f i n e d   w a y   o f   r e f e r e n c i n g   a   p a r t   o f   a n   o b j e c t . k i n d   ( s t r i n g ) K i n d   o f   t h e   r e f e r e n t .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s n a m e   ( s t r i n g ) N a m e   o f   t h e   r e f e r e n t .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/object-reference/",
    "id": "k8s_00191_section_1_3420"
  },
  {
    "question": "What is Objects In Kubernetes?",
    "answer": "Objects In KubernetesKubernetes objects are persistent entities in the Kubernetes system. Kubernetes uses these entities to represent the state of your cluster. Learn about the Kubernetes object model and how to work with these objects.This page explains how Kubernetes objects are represented in the Kubernetes API, and how you can express them in .yaml format.Understanding Kubernetes objectsKubernetes objects are persistent entities in the Kubernetes system. Kubernetes uses these entities to represent the state of your cluster. Specifically, they can describe:What containerized applications are running (and on which nodes)The resources available to those applicationsThe policies around how those applications behave, such as restart policies, upgrades, and fault-toleranceA Kubernetes object is a \"record of intent\"--once you create the object, the Kubernetes system will constantly work to ensure that the object exists. By creating an object, you're effectively telling the Kubernetes system what you want your cluster's workload to look like; this is your cluster's desired state.To work with Kubernetes objects—whether to create, modify, or delete them—you'll need to use the Kubernetes API. When you use the kubectl command-line interface, for example, the CLI makes the necessary Kubernetes API calls for you. You can also use the Kubernetes API directly in your own programs using one of the Client Libraries.Object spec and statusAlmost every Kubernetes object includes two nested object fields that govern the object's configuration: the object spec and the object status. For objects that have a spec, you have to set this when you create the object, providing a description of the characteristics you want the resource to have: its desired state.The status describes the current state of the object, supplied and updated by the Kubernetes system and its components. The Kubernetes control plane continually and actively manages every object's actual state to match the desired state you supplied.For example: in Kubernetes, a Deployment is an object that can represent an application running on your cluster. When you create the Deployment, you might set the Deployment spec to specify that you want three replicas of the application to be running. The Kubernetes system reads the Deployment spec and starts three instances of your desired application--updating the status to match your spec. If any of those instances should fail (a status change), the Kubernetes system responds to the difference between spec and status by making a correction--in this case, starting a replacement instance.For more information on the object spec, status, and metadata, see the Kubernetes API Conventions.Describing a Kubernetes objectWhen you create an object in Kubernetes, you must provide the object spec that describes its desired state, as well as some basic information about the object (such as a name). When you use the Kubernetes API to create the object (either directly or via kubec",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/",
    "id": "k8s_00192_qa_3421"
  },
  {
    "question": "How does Objects In Kubernetes work?",
    "answer": "Objects In KubernetesKubernetes objects are persistent entities in the Kubernetes system. Kubernetes uses these entities to represent the state of your cluster. Learn about the Kubernetes object model and how to work with these objects.This page explains how Kubernetes objects are represented in the Kubernetes API, and how you can express them in .yaml format.Understanding Kubernetes objectsKubernetes objects are persistent entities in the Kubernetes system. Kubernetes uses these entities to represent the state of your cluster. Specifically, they can describe:What containerized applications are running (and on which nodes)The resources available to those applicationsThe policies around how those applications behave, such as restart policies, upgrades, and fault-toleranceA Kubernetes object is a \"record of intent\"--once you create the object, the Kubernetes system will constantly work to ensure that the object exists. By creating an object, you're effectively telling the Kubernetes system what you want your cluster's workload to look like; this is your cluster's desired state.To work with Kubernetes objects—whether to create, modify, or delete them—you'll need to use the Kubernetes API. When you use the kubectl command-line interface, for example, the CLI makes the necessary Kubernetes API calls for you. You can also use the Kubernetes API directly in your own programs using one of the Client Libraries.Object spec and statusAlmost every Kubernetes object includes two nested object fields that govern the object's configuration: the object spec and the object status. For objects that have a spec, you have to set this when you create the object, providing a description of the characteristics you want the resource to have: its desired state.The status describes the current state of the object, supplied and updated by the Kubernetes system and its components. The Kubernetes control plane continually and actively manages every object's actual state to match the desired state you supplied.For example: in Kubernetes, a Deployment is an object that can represent an application running on your cluster. When you create the Deployment, you might set the Deployment spec to specify that you want three replicas of the application to be running. The Kubernetes system reads the Deployment spec and starts three instances of your desired application--updating the status to match your spec. If any of those instances should fail (a status change), the Kubernetes system responds to the difference between spec and status by making a correction--in this case, starting a replacement instance.For more information on the object spec, status, and metadata, see the Kubernetes API Conventions.Describing a Kubernetes objectWhen you create an object in Kubernetes, you must provide the object spec that describes its desired state, as well as some basic information about the object (such as a name). When you use the Kubernetes API to create the object (either directly or via kubec",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/",
    "id": "k8s_00192_qa_3422"
  },
  {
    "question": "When would you use Objects In Kubernetes?",
    "answer": "Objects In KubernetesKubernetes objects are persistent entities in the Kubernetes system. Kubernetes uses these entities to represent the state of your cluster. Learn about the Kubernetes object model and how to work with these objects.This page explains how Kubernetes objects are represented in the Kubernetes API, and how you can express them in .yaml format.Understanding Kubernetes objectsKubernetes objects are persistent entities in the Kubernetes system. Kubernetes uses these entities to represent the state of your cluster. Specifically, they can describe:What containerized applications are running (and on which nodes)The resources available to those applicationsThe policies around how those applications behave, such as restart policies, upgrades, and fault-toleranceA Kubernetes object is a \"record of intent\"--once you create the object, the Kubernetes system will constantly work to ensure that the object exists. By creating an object, you're effectively telling the Kubernetes system what you want your cluster's workload to look like; this is your cluster's desired state.To work with Kubernetes objects—whether to create, modify, or delete them—you'll need to use the Kubernetes API. When you use the kubectl command-line interface, for example, the CLI makes the necessary Kubernetes API calls for you. You can also use the Kubernetes API directly in your own programs using one of the Client Libraries.Object spec and statusAlmost every Kubernetes object includes two nested object fields that govern the object's configuration: the object spec and the object status. For objects that have a spec, you have to set this when you create the object, providing a description of the characteristics you want the resource to have: its desired state.The status describes the current state of the object, supplied and updated by the Kubernetes system and its components. The Kubernetes control plane continually and actively manages every object's actual state to match the desired state you supplied.For example: in Kubernetes, a Deployment is an object that can represent an application running on your cluster. When you create the Deployment, you might set the Deployment spec to specify that you want three replicas of the application to be running. The Kubernetes system reads the Deployment spec and starts three instances of your desired application--updating the status to match your spec. If any of those instances should fail (a status change), the Kubernetes system responds to the difference between spec and status by making a correction--in this case, starting a replacement instance.For more information on the object spec, status, and metadata, see the Kubernetes API Conventions.Describing a Kubernetes objectWhen you create an object in Kubernetes, you must provide the object spec that describes its desired state, as well as some basic information about the object (such as a name). When you use the Kubernetes API to create the object (either directly or via kubec",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/",
    "id": "k8s_00192_qa_3423"
  },
  {
    "question": "What are the benefits of Objects In Kubernetes?",
    "answer": "Objects In KubernetesKubernetes objects are persistent entities in the Kubernetes system. Kubernetes uses these entities to represent the state of your cluster. Learn about the Kubernetes object model and how to work with these objects.This page explains how Kubernetes objects are represented in the Kubernetes API, and how you can express them in .yaml format.Understanding Kubernetes objectsKubernetes objects are persistent entities in the Kubernetes system. Kubernetes uses these entities to represent the state of your cluster. Specifically, they can describe:What containerized applications are running (and on which nodes)The resources available to those applicationsThe policies around how those applications behave, such as restart policies, upgrades, and fault-toleranceA Kubernetes object is a \"record of intent\"--once you create the object, the Kubernetes system will constantly work to ensure that the object exists. By creating an object, you're effectively telling the Kubernetes system what you want your cluster's workload to look like; this is your cluster's desired state.To work with Kubernetes objects—whether to create, modify, or delete them—you'll need to use the Kubernetes API. When you use the kubectl command-line interface, for example, the CLI makes the necessary Kubernetes API calls for you. You can also use the Kubernetes API directly in your own programs using one of the Client Libraries.Object spec and statusAlmost every Kubernetes object includes two nested object fields that govern the object's configuration: the object spec and the object status. For objects that have a spec, you have to set this when you create the object, providing a description of the characteristics you want the resource to have: its desired state.The status describes the current state of the object, supplied and updated by the Kubernetes system and its components. The Kubernetes control plane continually and actively manages every object's actual state to match the desired state you supplied.For example: in Kubernetes, a Deployment is an object that can represent an application running on your cluster. When you create the Deployment, you might set the Deployment spec to specify that you want three replicas of the application to be running. The Kubernetes system reads the Deployment spec and starts three instances of your desired application--updating the status to match your spec. If any of those instances should fail (a status change), the Kubernetes system responds to the difference between spec and status by making a correction--in this case, starting a replacement instance.For more information on the object spec, status, and metadata, see the Kubernetes API Conventions.Describing a Kubernetes objectWhen you create an object in Kubernetes, you must provide the object spec that describes its desired state, as well as some basic information about the object (such as a name). When you use the Kubernetes API to create the object (either directly or via kubec",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/",
    "id": "k8s_00192_qa_3424"
  },
  {
    "question": "What is Objects In Kubernetes?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   K u b e r n e t e s   o b j e c t s   a r e   r e p r e s e n t e d   i n   t h e   K u b e r n e t e s   A P I ,   a n d   h o w   y o u   c a n   e x p r e s s   t h e m   i n   . y a m l   f o r m a t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/",
    "id": "k8s_00192_section_1_3425"
  },
  {
    "question": "What is Understanding Kubernetes objects?",
    "answer": "K u b e r n e t e s   o b j e c t s   a r e   p e r s i s t e n t   e n t i t i e s   i n   t h e   K u b e r n e t e s   s y s t e m .   K u b e r n e t e s   u s e s   t h e s e   e n t i t i e s   t o   r e p r e s e n t   t h e   s t a t e   o f   y o u r   c l u s t e r .   S p e c i f i c a l l y ,   t h e y   c a n   d e s c r i b e :   W h a t   c o n t a i n e r i z e d   a p p l i c a t i o n s   a r e   r u n n i n g   ( a n d   o n   w h i c h   n o d e s ) T h e   r e s o u r c e s   a v a i l a b l e   t o   t h o s e   a p p l i c a t i o n s T h e   p o l i c i e s   a r o u n d   h o w   t h o s e   a p p l i c a t i o n s   b e h a v e ,   s u c h   a s   r e s t a r t   p o l i c i e s ,   u p g r a d e s ,   a n d   f a u l t - t o l e r a n c e   A   K u b e r n e t e s   o b j e c t   i s   a   \" r e c o r d   o f   i n t e n t \" - - o n c e   y o u   c r e a t e   t h e   o b j e c t ,   t h e   K u b e r n e t e s   s y s t e m   w i l l   c o n s t a n t l y   w o r k   t o   e n s u r e   t h a t   t h e   o b j e c t   e x i s t s .   B y   c r e a t i n g   a n   o b j e c t ,   y o u ' r e   e f f e c t i v e l y   t e l l i n g   t h e   K u b e r n e t e s   s y s t e m   w h a t   y o u   w a n t   y o u r   c l u s t e r ' s   w o r k l o a d   t o   l o o k   l i k e ;   t h i s   i s   y o u r   c l u s t e r ' s   d e s i r e d   s t a t e .   T o   w o r k   w i t h   K u b e r n e t e s   o b j e c t s — w h e t h e r   t o   c r e a t e ,   m o d i f y ,   o r   d e l e t e   t h e m — y o u ' l l   n e e d   t o   u s e   t h e   K u b e r n e t e s   A P I .   W h e n   y o u   u s e   t h e   k u b e c t l   c o m m a n d - l i n e   i n t e r f a c e ,   f o r   e x a m p l e ,   t h e   C L I   m a k e s   t h e   n e c e s s a r y   K u b e r n e t e s   A P I   c a l l s   f o r   y o u .   Y o u   c a n   a l s o   u s e   t h e   K u b e r n e t e s   A P I   d i r e c t l y   i n   y o u r   o w n   p r o g r a m s   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/",
    "id": "k8s_00192_section_2_3426"
  },
  {
    "question": "What is Object spec and status?",
    "answer": "A l m o s t   e v e r y   K u b e r n e t e s   o b j e c t   i n c l u d e s   t w o   n e s t e d   o b j e c t   f i e l d s   t h a t   g o v e r n   t h e   o b j e c t ' s   c o n f i g u r a t i o n :   t h e   o b j e c t   s p e c   a n d   t h e   o b j e c t   s t a t u s .   F o r   o b j e c t s   t h a t   h a v e   a   s p e c ,   y o u   h a v e   t o   s e t   t h i s   w h e n   y o u   c r e a t e   t h e   o b j e c t ,   p r o v i d i n g   a   d e s c r i p t i o n   o f   t h e   c h a r a c t e r i s t i c s   y o u   w a n t   t h e   r e s o u r c e   t o   h a v e :   i t s   d e s i r e d   s t a t e .   T h e   s t a t u s   d e s c r i b e s   t h e   c u r r e n t   s t a t e   o f   t h e   o b j e c t ,   s u p p l i e d   a n d   u p d a t e d   b y   t h e   K u b e r n e t e s   s y s t e m   a n d   i t s   c o m p o n e n t s .   T h e   K u b e r n e t e s   c o n t r o l   p l a n e   c o n t i n u a l l y   a n d   a c t i v e l y   m a n a g e s   e v e r y   o b j e c t ' s   a c t u a l   s t a t e   t o   m a t c h   t h e   d e s i r e d   s t a t e   y o u   s u p p l i e d .   F o r   e x a m p l e :   i n   K u b e r n e t e s ,   a   D e p l o y m e n t   i s   a n   o b j e c t   t h a t   c a n   r e p r e s e n t   a n   a p p l i c a t i o n   r u n n i n g   o n   y o u r   c l u s t e r .   W h e n   y o u   c r e a t e   t h e   D e p l o y m e n t ,   y o u   m i g h t   s e t   t h e   D e p l o y m e n t   s p e c   t o   s p e c i f y   t h a t   y o u   w a n t   t h r e e   r e p l i c a s   o f   t h e   a p p l i c a t i o n   t o   b e   r u n n i n g .   T h e   K u b e r n e t e s   s y s t e m   r e a d s   t h e   D e p l o y m e n t   s p e c   a n d   s t a r t s   t h r e e   i n s t a n c e s   o f   y o u r   d e s i r e d   a p p l i c a t i o n - - u p d a t i n g   t h e   s t a t u s   t o   m a t c h   y o u r   s p e c .   I f   a n y   o f   t h o s e   i n s t a n c e s   s h o u l d ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/",
    "id": "k8s_00192_section_3_3427"
  },
  {
    "question": "What is Describing a Kubernetes object?",
    "answer": "W h e n   y o u   c r e a t e   a n   o b j e c t   i n   K u b e r n e t e s ,   y o u   m u s t   p r o v i d e   t h e   o b j e c t   s p e c   t h a t   d e s c r i b e s   i t s   d e s i r e d   s t a t e ,   a s   w e l l   a s   s o m e   b a s i c   i n f o r m a t i o n   a b o u t   t h e   o b j e c t   ( s u c h   a s   a   n a m e ) .   W h e n   y o u   u s e   t h e   K u b e r n e t e s   A P I   t o   c r e a t e   t h e   o b j e c t   ( e i t h e r   d i r e c t l y   o r   v i a   k u b e c t l ) ,   t h a t   A P I   r e q u e s t   m u s t   i n c l u d e   t h a t   i n f o r m a t i o n   a s   J S O N   i n   t h e   r e q u e s t   b o d y .   M o s t   o f t e n ,   y o u   p r o v i d e   t h e   i n f o r m a t i o n   t o   k u b e c t l   i n   a   f i l e   k n o w n   a s   a   m a n i f e s t .   B y   c o n v e n t i o n ,   m a n i f e s t s   a r e   Y A M L   ( y o u   c o u l d   a l s o   u s e   J S O N   f o r m a t ) .   T o o l s   s u c h   a s   k u b e c t l   c o n v e r t   t h e   i n f o r m a t i o n   f r o m   a   m a n i f e s t   i n t o   J S O N   o r   a n o t h e r   s u p p o r t e d   s e r i a l i z a t i o n   f o r m a t   w h e n   m a k i n g   t h e   A P I   r e q u e s t   o v e r   H T T P .   H e r e ' s   a n   e x a m p l e   m a n i f e s t   t h a t   s h o w s   t h e   r e q u i r e d   f i e l d s   a n d   o b j e c t   s p e c   f o r   a   K u b e r n e t e s   D e p l o y m e n t :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   r e p l i c a s :   2   #   t e l l s   d e p l o y m e n t   t o   r u n   2   p o d s   m a t c h i n g   t h e   t e m p l a t e   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e : ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/",
    "id": "k8s_00192_section_3_3428"
  },
  {
    "question": "What is Required fields?",
    "answer": "I n   t h e   m a n i f e s t   ( Y A M L   o r   J S O N   f i l e )   f o r   t h e   K u b e r n e t e s   o b j e c t   y o u   w a n t   t o   c r e a t e ,   y o u ' l l   n e e d   t o   s e t   v a l u e s   f o r   t h e   f o l l o w i n g   f i e l d s :   a p i V e r s i o n   -   W h i c h   v e r s i o n   o f   t h e   K u b e r n e t e s   A P I   y o u ' r e   u s i n g   t o   c r e a t e   t h i s   o b j e c t k i n d   -   W h a t   k i n d   o f   o b j e c t   y o u   w a n t   t o   c r e a t e m e t a d a t a   -   D a t a   t h a t   h e l p s   u n i q u e l y   i d e n t i f y   t h e   o b j e c t ,   i n c l u d i n g   a   n a m e   s t r i n g ,   U I D ,   a n d   o p t i o n a l   n a m e s p a c e s p e c   -   W h a t   s t a t e   y o u   d e s i r e   f o r   t h e   o b j e c t   T h e   p r e c i s e   f o r m a t   o f   t h e   o b j e c t   s p e c   i s   d i f f e r e n t   f o r   e v e r y   K u b e r n e t e s   o b j e c t ,   a n d   c o n t a i n s   n e s t e d   f i e l d s   s p e c i f i c   t o   t h a t   o b j e c t .   T h e   K u b e r n e t e s   A P I   R e f e r e n c e   c a n   h e l p   y o u   f i n d   t h e   s p e c   f o r m a t   f o r   a l l   o f   t h e   o b j e c t s   y o u   c a n   c r e a t e   u s i n g   K u b e r n e t e s .   F o r   e x a m p l e ,   s e e   t h e   s p e c   f i e l d   f o r   t h e   P o d   A P I   r e f e r e n c e .   F o r   e a c h   P o d ,   t h e   . s p e c   f i e l d   s p e c i f i e s   t h e   p o d   a n d   i t s   d e s i r e d   s t a t e   ( s u c h   a s   t h e   c o n t a i n e r   i m a g e   n a m e   f o r   e a c h   c o n t a i n e r   w i t h i n   t h a t   p o d ) .   A n o t h e r   e x a m p l e   o f   a n   o b j e c t   s p e c i f i c a t i o n   i s   t h e   s p e c   f i e l d   f o r   t h e   S t a t e f u l S e t   A P I .   F o r   S t a t e f u l S e t ,   t h e   . s p e c   f i e l d   s p e c i f i e s   t h e   S ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/",
    "id": "k8s_00192_section_3_3429"
  },
  {
    "question": "What is Server side field validation?",
    "answer": "S t a r t i n g   w i t h   K u b e r n e t e s   v 1 . 2 5 ,   t h e   A P I   s e r v e r   o f f e r s   s e r v e r   s i d e   f i e l d   v a l i d a t i o n   t h a t   d e t e c t s   u n r e c o g n i z e d   o r   d u p l i c a t e   f i e l d s   i n   a n   o b j e c t .   I t   p r o v i d e s   a l l   t h e   f u n c t i o n a l i t y   o f   k u b e c t l   - - v a l i d a t e   o n   t h e   s e r v e r   s i d e .   T h e   k u b e c t l   t o o l   u s e s   t h e   - - v a l i d a t e   f l a g   t o   s e t   t h e   l e v e l   o f   f i e l d   v a l i d a t i o n .   I t   a c c e p t s   t h e   v a l u e s   i g n o r e ,   w a r n ,   a n d   s t r i c t   w h i l e   a l s o   a c c e p t i n g   t h e   v a l u e s   t r u e   ( e q u i v a l e n t   t o   s t r i c t )   a n d   f a l s e   ( e q u i v a l e n t   t o   i g n o r e ) .   T h e   d e f a u l t   v a l i d a t i o n   s e t t i n g   f o r   k u b e c t l   i s   - - v a l i d a t e = t r u e .   W h e n   k u b e c t l   c a n n o t   c o n n e c t   t o   a n   A P I   s e r v e r   t h a t   s u p p o r t s   f i e l d   v a l i d a t i o n   i t   w i l l   f a l l   b a c k   t o   u s i n g   c l i e n t - s i d e   v a l i d a t i o n .   K u b e r n e t e s   1 . 2 7   a n d   l a t e r   v e r s i o n s   a l w a y s   o f f e r   f i e l d   v a l i d a t i o n ;   o l d e r   K u b e r n e t e s   r e l e a s e s   m i g h t   n o t .   I f   y o u r   c l u s t e r   i s   o l d e r   t h a n   v 1 . 2 7 ,   c h e c k   t h e   d o c u m e n t a t i o n   f o r   y o u r   v e r s i o n   o f   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/",
    "id": "k8s_00192_section_2_3430"
  },
  {
    "question": "What is What's next?",
    "answer": "I f   y o u ' r e   n e w   t o   K u b e r n e t e s ,   r e a d   m o r e   a b o u t   t h e   f o l l o w i n g :   P o d s   w h i c h   a r e   t h e   m o s t   i m p o r t a n t   b a s i c   K u b e r n e t e s   o b j e c t s . D e p l o y m e n t   o b j e c t s . C o n t r o l l e r s   i n   K u b e r n e t e s . k u b e c t l   a n d   k u b e c t l   c o m m a n d s .   K u b e r n e t e s   O b j e c t   M a n a g e m e n t   e x p l a i n s   h o w   t o   u s e   k u b e c t l   t o   m a n a g e   o b j e c t s .   Y o u   m i g h t   n e e d   t o   i n s t a l l   k u b e c t l   i f   y o u   d o n ' t   a l r e a d y   h a v e   i t   a v a i l a b l e .   T o   l e a r n   a b o u t   t h e   K u b e r n e t e s   A P I   i n   g e n e r a l ,   v i s i t :   K u b e r n e t e s   A P I   o v e r v i e w   T o   l e a r n   a b o u t   o b j e c t s   i n   K u b e r n e t e s   i n   m o r e   d e p t h ,   r e a d   o t h e r   p a g e s   i n   t h i s   s e c t i o n :   K u b e r n e t e s   O b j e c t   M a n a g e m e n t O b j e c t   N a m e s   a n d   I D s L a b e l s   a n d   S e l e c t o r s N a m e s p a c e s A n n o t a t i o n s F i e l d   S e l e c t o r s F i n a l i z e r s O w n e r s   a n d   D e p e n d e n t s R e c o m m e n d e d   L a b e l s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/",
    "id": "k8s_00192_section_2_3431"
  },
  {
    "question": "What is kube-apiserver Configuration (v1)?",
    "answer": "kube-apiserver Configuration (v1)Package v1 is the v1 version of the API.Resource TypesAdmissionConfigurationAuthorizationConfigurationEncryptionConfigurationAdmissionConfigurationAdmissionConfiguration provides versioned configuration for admission controllers.FieldDescriptionapiVersionstringapiserver.config.k8s.io/v1kindstringAdmissionConfigurationplugins[]AdmissionPluginConfigurationPlugins allows specifying a configuration per admission control plugin.AuthorizationConfigurationFieldDescriptionapiVersionstringapiserver.config.k8s.io/v1kindstringAuthorizationConfigurationauthorizers [Required][]AuthorizerConfigurationAuthorizers is an ordered list of authorizers to authorize requests against. This is similar to the --authorization-modes kube-apiserver flag Must be at least one.EncryptionConfigurationEncryptionConfiguration stores the complete configuration for encryption providers. It also allows the use of wildcards to specify the resources that should be encrypted. Use '*.<group>' to encrypt all resources within a group or '*.*' to encrypt all resources. '*.' can be used to encrypt all resource in the core group. '*.*' will encrypt all resources, even custom resources that are added after API server start. Use of wildcards that overlap within the same resource list or across multiple entries are not allowed since part of the configuration would be ineffective. Resource lists are processed in order, with earlier lists taking precedence.Example:kind: EncryptionConfiguration apiVersion: apiserver.config.k8s.io/v1 resources: - resources: - events providers: - identity: {} # do not encrypt events even though *.* is specified below - resources: - secrets - configmaps - pandas.awesome.bears.example providers: - aescbc: keys: - name: key1 secret: c2VjcmV0IGlzIHNlY3VyZQ== - resources: - '*.apps' providers: - aescbc: keys: - name: key2 secret: c2VjcmV0IGlzIHNlY3VyZSwgb3IgaXMgaXQ/Cg== - resources: - '*.*' providers: - aescbc: keys: - name: key3 secret: c2VjcmV0IGlzIHNlY3VyZSwgSSB0aGluaw== FieldDescriptionapiVersionstringapiserver.config.k8s.io/v1kindstringEncryptionConfigurationresources [Required][]ResourceConfigurationresources is a list containing resources, and their corresponding encryption providers.AESConfigurationAppears in:ProviderConfigurationAESConfiguration contains the API configuration for an AES transformer.FieldDescriptionkeys [Required][]Keykeys is a list of keys to be used for creating the AES transformer. Each key has to be 32 bytes long for AES-CBC and 16, 24 or 32 bytes for AES-GCM.AdmissionPluginConfigurationAppears in:AdmissionConfigurationAdmissionPluginConfiguration provides the configuration for a single plug-in.FieldDescriptionname [Required]stringName is the name of the admission controller. It must match the registered admission plugin name.pathstringPath is the path to a configuration file that contains the plugin's configurationconfigurationk8s.io/apimachinery/pkg/runtime.UnknownConfiguration is an embedded configuration o",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1/",
    "id": "k8s_00193_qa_3432"
  },
  {
    "question": "How does kube-apiserver Configuration (v1) work?",
    "answer": "kube-apiserver Configuration (v1)Package v1 is the v1 version of the API.Resource TypesAdmissionConfigurationAuthorizationConfigurationEncryptionConfigurationAdmissionConfigurationAdmissionConfiguration provides versioned configuration for admission controllers.FieldDescriptionapiVersionstringapiserver.config.k8s.io/v1kindstringAdmissionConfigurationplugins[]AdmissionPluginConfigurationPlugins allows specifying a configuration per admission control plugin.AuthorizationConfigurationFieldDescriptionapiVersionstringapiserver.config.k8s.io/v1kindstringAuthorizationConfigurationauthorizers [Required][]AuthorizerConfigurationAuthorizers is an ordered list of authorizers to authorize requests against. This is similar to the --authorization-modes kube-apiserver flag Must be at least one.EncryptionConfigurationEncryptionConfiguration stores the complete configuration for encryption providers. It also allows the use of wildcards to specify the resources that should be encrypted. Use '*.<group>' to encrypt all resources within a group or '*.*' to encrypt all resources. '*.' can be used to encrypt all resource in the core group. '*.*' will encrypt all resources, even custom resources that are added after API server start. Use of wildcards that overlap within the same resource list or across multiple entries are not allowed since part of the configuration would be ineffective. Resource lists are processed in order, with earlier lists taking precedence.Example:kind: EncryptionConfiguration apiVersion: apiserver.config.k8s.io/v1 resources: - resources: - events providers: - identity: {} # do not encrypt events even though *.* is specified below - resources: - secrets - configmaps - pandas.awesome.bears.example providers: - aescbc: keys: - name: key1 secret: c2VjcmV0IGlzIHNlY3VyZQ== - resources: - '*.apps' providers: - aescbc: keys: - name: key2 secret: c2VjcmV0IGlzIHNlY3VyZSwgb3IgaXMgaXQ/Cg== - resources: - '*.*' providers: - aescbc: keys: - name: key3 secret: c2VjcmV0IGlzIHNlY3VyZSwgSSB0aGluaw== FieldDescriptionapiVersionstringapiserver.config.k8s.io/v1kindstringEncryptionConfigurationresources [Required][]ResourceConfigurationresources is a list containing resources, and their corresponding encryption providers.AESConfigurationAppears in:ProviderConfigurationAESConfiguration contains the API configuration for an AES transformer.FieldDescriptionkeys [Required][]Keykeys is a list of keys to be used for creating the AES transformer. Each key has to be 32 bytes long for AES-CBC and 16, 24 or 32 bytes for AES-GCM.AdmissionPluginConfigurationAppears in:AdmissionConfigurationAdmissionPluginConfiguration provides the configuration for a single plug-in.FieldDescriptionname [Required]stringName is the name of the admission controller. It must match the registered admission plugin name.pathstringPath is the path to a configuration file that contains the plugin's configurationconfigurationk8s.io/apimachinery/pkg/runtime.UnknownConfiguration is an embedded configuration o",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1/",
    "id": "k8s_00193_qa_3433"
  },
  {
    "question": "When would you use kube-apiserver Configuration (v1)?",
    "answer": "kube-apiserver Configuration (v1)Package v1 is the v1 version of the API.Resource TypesAdmissionConfigurationAuthorizationConfigurationEncryptionConfigurationAdmissionConfigurationAdmissionConfiguration provides versioned configuration for admission controllers.FieldDescriptionapiVersionstringapiserver.config.k8s.io/v1kindstringAdmissionConfigurationplugins[]AdmissionPluginConfigurationPlugins allows specifying a configuration per admission control plugin.AuthorizationConfigurationFieldDescriptionapiVersionstringapiserver.config.k8s.io/v1kindstringAuthorizationConfigurationauthorizers [Required][]AuthorizerConfigurationAuthorizers is an ordered list of authorizers to authorize requests against. This is similar to the --authorization-modes kube-apiserver flag Must be at least one.EncryptionConfigurationEncryptionConfiguration stores the complete configuration for encryption providers. It also allows the use of wildcards to specify the resources that should be encrypted. Use '*.<group>' to encrypt all resources within a group or '*.*' to encrypt all resources. '*.' can be used to encrypt all resource in the core group. '*.*' will encrypt all resources, even custom resources that are added after API server start. Use of wildcards that overlap within the same resource list or across multiple entries are not allowed since part of the configuration would be ineffective. Resource lists are processed in order, with earlier lists taking precedence.Example:kind: EncryptionConfiguration apiVersion: apiserver.config.k8s.io/v1 resources: - resources: - events providers: - identity: {} # do not encrypt events even though *.* is specified below - resources: - secrets - configmaps - pandas.awesome.bears.example providers: - aescbc: keys: - name: key1 secret: c2VjcmV0IGlzIHNlY3VyZQ== - resources: - '*.apps' providers: - aescbc: keys: - name: key2 secret: c2VjcmV0IGlzIHNlY3VyZSwgb3IgaXMgaXQ/Cg== - resources: - '*.*' providers: - aescbc: keys: - name: key3 secret: c2VjcmV0IGlzIHNlY3VyZSwgSSB0aGluaw== FieldDescriptionapiVersionstringapiserver.config.k8s.io/v1kindstringEncryptionConfigurationresources [Required][]ResourceConfigurationresources is a list containing resources, and their corresponding encryption providers.AESConfigurationAppears in:ProviderConfigurationAESConfiguration contains the API configuration for an AES transformer.FieldDescriptionkeys [Required][]Keykeys is a list of keys to be used for creating the AES transformer. Each key has to be 32 bytes long for AES-CBC and 16, 24 or 32 bytes for AES-GCM.AdmissionPluginConfigurationAppears in:AdmissionConfigurationAdmissionPluginConfiguration provides the configuration for a single plug-in.FieldDescriptionname [Required]stringName is the name of the admission controller. It must match the registered admission plugin name.pathstringPath is the path to a configuration file that contains the plugin's configurationconfigurationk8s.io/apimachinery/pkg/runtime.UnknownConfiguration is an embedded configuration o",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1/",
    "id": "k8s_00193_qa_3434"
  },
  {
    "question": "What are the benefits of kube-apiserver Configuration (v1)?",
    "answer": "kube-apiserver Configuration (v1)Package v1 is the v1 version of the API.Resource TypesAdmissionConfigurationAuthorizationConfigurationEncryptionConfigurationAdmissionConfigurationAdmissionConfiguration provides versioned configuration for admission controllers.FieldDescriptionapiVersionstringapiserver.config.k8s.io/v1kindstringAdmissionConfigurationplugins[]AdmissionPluginConfigurationPlugins allows specifying a configuration per admission control plugin.AuthorizationConfigurationFieldDescriptionapiVersionstringapiserver.config.k8s.io/v1kindstringAuthorizationConfigurationauthorizers [Required][]AuthorizerConfigurationAuthorizers is an ordered list of authorizers to authorize requests against. This is similar to the --authorization-modes kube-apiserver flag Must be at least one.EncryptionConfigurationEncryptionConfiguration stores the complete configuration for encryption providers. It also allows the use of wildcards to specify the resources that should be encrypted. Use '*.<group>' to encrypt all resources within a group or '*.*' to encrypt all resources. '*.' can be used to encrypt all resource in the core group. '*.*' will encrypt all resources, even custom resources that are added after API server start. Use of wildcards that overlap within the same resource list or across multiple entries are not allowed since part of the configuration would be ineffective. Resource lists are processed in order, with earlier lists taking precedence.Example:kind: EncryptionConfiguration apiVersion: apiserver.config.k8s.io/v1 resources: - resources: - events providers: - identity: {} # do not encrypt events even though *.* is specified below - resources: - secrets - configmaps - pandas.awesome.bears.example providers: - aescbc: keys: - name: key1 secret: c2VjcmV0IGlzIHNlY3VyZQ== - resources: - '*.apps' providers: - aescbc: keys: - name: key2 secret: c2VjcmV0IGlzIHNlY3VyZSwgb3IgaXMgaXQ/Cg== - resources: - '*.*' providers: - aescbc: keys: - name: key3 secret: c2VjcmV0IGlzIHNlY3VyZSwgSSB0aGluaw== FieldDescriptionapiVersionstringapiserver.config.k8s.io/v1kindstringEncryptionConfigurationresources [Required][]ResourceConfigurationresources is a list containing resources, and their corresponding encryption providers.AESConfigurationAppears in:ProviderConfigurationAESConfiguration contains the API configuration for an AES transformer.FieldDescriptionkeys [Required][]Keykeys is a list of keys to be used for creating the AES transformer. Each key has to be 32 bytes long for AES-CBC and 16, 24 or 32 bytes for AES-GCM.AdmissionPluginConfigurationAppears in:AdmissionConfigurationAdmissionPluginConfiguration provides the configuration for a single plug-in.FieldDescriptionname [Required]stringName is the name of the admission controller. It must match the registered admission plugin name.pathstringPath is the path to a configuration file that contains the plugin's configurationconfigurationk8s.io/apimachinery/pkg/runtime.UnknownConfiguration is an embedded configuration o",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1/",
    "id": "k8s_00193_qa_3435"
  },
  {
    "question": "What is kube-apiserver Configuration (v1)?",
    "answer": "P a c k a g e   v 1   i s   t h e   v 1   v e r s i o n   o f   t h e   A P I .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1/",
    "id": "k8s_00193_section_1_3436"
  },
  {
    "question": "What is Resource Types?",
    "answer": "A d m i s s i o n C o n f i g u r a t i o n A u t h o r i z a t i o n C o n f i g u r a t i o n E n c r y p t i o n C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1/",
    "id": "k8s_00193_section_2_3437"
  },
  {
    "question": "What is AdmissionConfiguration?",
    "answer": "A d m i s s i o n C o n f i g u r a t i o n   p r o v i d e s   v e r s i o n e d   c o n f i g u r a t i o n   f o r   a d m i s s i o n   c o n t r o l l e r s .   P l u g i n s   a l l o w s   s p e c i f y i n g   a   c o n f i g u r a t i o n   p e r   a d m i s s i o n   c o n t r o l   p l u g i n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1/",
    "id": "k8s_00193_section_2_3438"
  },
  {
    "question": "What is AuthorizationConfiguration?",
    "answer": "A u t h o r i z e r s   i s   a n   o r d e r e d   l i s t   o f   a u t h o r i z e r s   t o   a u t h o r i z e   r e q u e s t s   a g a i n s t .   T h i s   i s   s i m i l a r   t o   t h e   - - a u t h o r i z a t i o n - m o d e s   k u b e - a p i s e r v e r   f l a g   M u s t   b e   a t   l e a s t   o n e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1/",
    "id": "k8s_00193_section_2_3439"
  },
  {
    "question": "What is EncryptionConfiguration?",
    "answer": "E n c r y p t i o n C o n f i g u r a t i o n   s t o r e s   t h e   c o m p l e t e   c o n f i g u r a t i o n   f o r   e n c r y p t i o n   p r o v i d e r s .   I t   a l s o   a l l o w s   t h e   u s e   o f   w i l d c a r d s   t o   s p e c i f y   t h e   r e s o u r c e s   t h a t   s h o u l d   b e   e n c r y p t e d .   U s e   ' * . < g r o u p > '   t o   e n c r y p t   a l l   r e s o u r c e s   w i t h i n   a   g r o u p   o r   ' * . * '   t o   e n c r y p t   a l l   r e s o u r c e s .   ' * . '   c a n   b e   u s e d   t o   e n c r y p t   a l l   r e s o u r c e   i n   t h e   c o r e   g r o u p .   ' * . * '   w i l l   e n c r y p t   a l l   r e s o u r c e s ,   e v e n   c u s t o m   r e s o u r c e s   t h a t   a r e   a d d e d   a f t e r   A P I   s e r v e r   s t a r t .   U s e   o f   w i l d c a r d s   t h a t   o v e r l a p   w i t h i n   t h e   s a m e   r e s o u r c e   l i s t   o r   a c r o s s   m u l t i p l e   e n t r i e s   a r e   n o t   a l l o w e d   s i n c e   p a r t   o f   t h e   c o n f i g u r a t i o n   w o u l d   b e   i n e f f e c t i v e .   R e s o u r c e   l i s t s   a r e   p r o c e s s e d   i n   o r d e r ,   w i t h   e a r l i e r   l i s t s   t a k i n g   p r e c e d e n c e .   E x a m p l e :   k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   r e s o u r c e s :   -   r e s o u r c e s :   -   e v e n t s   p r o v i d e r s :   -   i d e n t i t y :   { }   #   d o   n o t   e n c r y p t   e v e n t s   e v e n   t h o u g h   * . *   i s   s p e c i f i e d   b e l o w   -   r e s o u r c e s :   -   s e c r e t s   -   c o n f i g m a p s   -   p a n d a s . a w e s o m e . b e a r s . e x a m p l e   p r o v i d e r s :   -   a e s c b c :   k e y s :   -   n a m e :   k e y 1   s e c r e t :   c 2 V j c m V 0 I G l z I H N l Y 3 V y Z Q = =   -   r e s o u r c e s :   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1/",
    "id": "k8s_00193_section_2_3440"
  },
  {
    "question": "What is AESConfiguration?",
    "answer": "A p p e a r s   i n :   P r o v i d e r C o n f i g u r a t i o n   A E S C o n f i g u r a t i o n   c o n t a i n s   t h e   A P I   c o n f i g u r a t i o n   f o r   a n   A E S   t r a n s f o r m e r .   k e y s   i s   a   l i s t   o f   k e y s   t o   b e   u s e d   f o r   c r e a t i n g   t h e   A E S   t r a n s f o r m e r .   E a c h   k e y   h a s   t o   b e   3 2   b y t e s   l o n g   f o r   A E S - C B C   a n d   1 6 ,   2 4   o r   3 2   b y t e s   f o r   A E S - G C M .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1/",
    "id": "k8s_00193_section_2_3441"
  },
  {
    "question": "What is AdmissionPluginConfiguration?",
    "answer": "A p p e a r s   i n :   A d m i s s i o n C o n f i g u r a t i o n   A d m i s s i o n P l u g i n C o n f i g u r a t i o n   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   p l u g - i n .   N a m e   i s   t h e   n a m e   o f   t h e   a d m i s s i o n   c o n t r o l l e r .   I t   m u s t   m a t c h   t h e   r e g i s t e r e d   a d m i s s i o n   p l u g i n   n a m e .   P a t h   i s   t h e   p a t h   t o   a   c o n f i g u r a t i o n   f i l e   t h a t   c o n t a i n s   t h e   p l u g i n ' s   c o n f i g u r a t i o n   C o n f i g u r a t i o n   i s   a n   e m b e d d e d   c o n f i g u r a t i o n   o b j e c t   t o   b e   u s e d   a s   t h e   p l u g i n ' s   c o n f i g u r a t i o n .   I f   p r e s e n t ,   i t   w i l l   b e   u s e d   i n s t e a d   o f   t h e   p a t h   t o   t h e   c o n f i g u r a t i o n   f i l e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1/",
    "id": "k8s_00193_section_2_3442"
  },
  {
    "question": "What is AuthorizerConfiguration?",
    "answer": "A p p e a r s   i n :   A u t h o r i z a t i o n C o n f i g u r a t i o n   T y p e   r e f e r s   t o   t h e   t y p e   o f   t h e   a u t h o r i z e r   \" W e b h o o k \"   i s   s u p p o r t e d   i n   t h e   g e n e r i c   A P I   s e r v e r   O t h e r   A P I   s e r v e r s   m a y   s u p p o r t   a d d i t i o n a l   a u t h o r i z e r   t y p e s   l i k e   N o d e ,   R B A C ,   A B A C ,   e t c .   N a m e   u s e d   t o   d e s c r i b e   t h e   w e b h o o k   T h i s   i s   e x p l i c i t l y   u s e d   i n   m o n i t o r i n g   m a c h i n e r y   f o r   m e t r i c s   N o t e :   N a m e s   m u s t   b e   D N S 1 1 2 3   l a b e l s   l i k e   m y a u t h o r i z e r n a m e   o r   s u b d o m a i n s   l i k e   m y a u t h o r i z e r . e x a m p l e . d o m a i n   R e q u i r e d ,   w i t h   n o   d e f a u l t   W e b h o o k   d e f i n e s   t h e   c o n f i g u r a t i o n   f o r   a   W e b h o o k   a u t h o r i z e r   M u s t   b e   d e f i n e d   w h e n   T y p e = W e b h o o k   M u s t   n o t   b e   d e f i n e d   w h e n   T y p e ! = W e b h o o k",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1/",
    "id": "k8s_00193_section_2_3443"
  },
  {
    "question": "What is IdentityConfiguration?",
    "answer": "A p p e a r s   i n :   P r o v i d e r C o n f i g u r a t i o n   I d e n t i t y C o n f i g u r a t i o n   i s   a n   e m p t y   s t r u c t   t o   a l l o w   i d e n t i t y   t r a n s f o r m e r   i n   p r o v i d e r   c o n f i g u r a t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1/",
    "id": "k8s_00193_section_2_3444"
  },
  {
    "question": "What is KMSConfiguration?",
    "answer": "A p p e a r s   i n :   P r o v i d e r C o n f i g u r a t i o n   K M S C o n f i g u r a t i o n   c o n t a i n s   t h e   n a m e ,   c a c h e   s i z e   a n d   p a t h   t o   c o n f i g u r a t i o n   f i l e   f o r   a   K M S   b a s e d   e n v e l o p e   t r a n s f o r m e r .   a p i V e r s i o n   o f   K e y M a n a g e m e n t S e r v i c e   n a m e   i s   t h e   n a m e   o f   t h e   K M S   p l u g i n   t o   b e   u s e d .   c a c h e s i z e   i s   t h e   m a x i m u m   n u m b e r   o f   s e c r e t s   w h i c h   a r e   c a c h e d   i n   m e m o r y .   T h e   d e f a u l t   v a l u e   i s   1 0 0 0 .   S e t   t o   a   n e g a t i v e   v a l u e   t o   d i s a b l e   c a c h i n g .   T h i s   f i e l d   i s   o n l y   a l l o w e d   f o r   K M S   v 1   p r o v i d e r s .   e n d p o i n t   i s   t h e   g R P C   s e r v e r   l i s t e n i n g   a d d r e s s ,   f o r   e x a m p l e   \" u n i x : / / / v a r / r u n / k m s - p r o v i d e r . s o c k \" .   t i m e o u t   f o r   g R P C   c a l l s   t o   k m s - p l u g i n   ( e x .   5 s ) .   T h e   d e f a u l t   i s   3   s e c o n d s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1/",
    "id": "k8s_00193_section_2_3445"
  },
  {
    "question": "What is Key?",
    "answer": "A p p e a r s   i n :   A E S C o n f i g u r a t i o n S e c r e t b o x C o n f i g u r a t i o n   A E S C o n f i g u r a t i o n   S e c r e t b o x C o n f i g u r a t i o n   K e y   c o n t a i n s   n a m e   a n d   s e c r e t   o f   t h e   p r o v i d e d   k e y   f o r   a   t r a n s f o r m e r .   n a m e   i s   t h e   n a m e   o f   t h e   k e y   t o   b e   u s e d   w h i l e   s t o r i n g   d a t a   t o   d i s k .   s e c r e t   i s   t h e   a c t u a l   k e y ,   e n c o d e d   i n   b a s e 6 4 .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1/",
    "id": "k8s_00193_section_2_3446"
  },
  {
    "question": "What is ProviderConfiguration?",
    "answer": "A p p e a r s   i n :   R e s o u r c e C o n f i g u r a t i o n   P r o v i d e r C o n f i g u r a t i o n   s t o r e s   t h e   p r o v i d e d   c o n f i g u r a t i o n   f o r   a n   e n c r y p t i o n   p r o v i d e r .   a e s g c m   i s   t h e   c o n f i g u r a t i o n   f o r   t h e   A E S - G C M   t r a n s f o r m e r .   a e s c b c   i s   t h e   c o n f i g u r a t i o n   f o r   t h e   A E S - C B C   t r a n s f o r m e r .   s e c r e t b o x   i s   t h e   c o n f i g u r a t i o n   f o r   t h e   S e c r e t b o x   b a s e d   t r a n s f o r m e r .   i d e n t i t y   i s   t h e   ( e m p t y )   c o n f i g u r a t i o n   f o r   t h e   i d e n t i t y   t r a n s f o r m e r .   k m s   c o n t a i n s   t h e   n a m e ,   c a c h e   s i z e   a n d   p a t h   t o   c o n f i g u r a t i o n   f i l e   f o r   a   K M S   b a s e d   e n v e l o p e   t r a n s f o r m e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1/",
    "id": "k8s_00193_section_2_3447"
  },
  {
    "question": "What is ResourceConfiguration?",
    "answer": "A p p e a r s   i n :   E n c r y p t i o n C o n f i g u r a t i o n   R e s o u r c e C o n f i g u r a t i o n   s t o r e s   p e r   r e s o u r c e   c o n f i g u r a t i o n .   r e s o u r c e s   i s   a   l i s t   o f   k u b e r n e t e s   r e s o u r c e s   w h i c h   h a v e   t o   b e   e n c r y p t e d .   T h e   r e s o u r c e   n a m e s   a r e   d e r i v e d   f r o m   r e s o u r c e   o r   r e s o u r c e . g r o u p   o f   t h e   g r o u p / v e r s i o n / r e s o u r c e .   e g :   p a n d a s . a w e s o m e . b e a r s . e x a m p l e   i s   a   c u s t o m   r e s o u r c e   w i t h   ' g r o u p ' :   a w e s o m e . b e a r s . e x a m p l e ,   ' r e s o u r c e ' :   p a n d a s .   U s e   ' * . * '   t o   e n c r y p t   a l l   r e s o u r c e s   a n d   ' * . < g r o u p > '   t o   e n c r y p t   a l l   r e s o u r c e s   i n   a   s p e c i f i c   g r o u p .   e g :   ' * . a w e s o m e . b e a r s . e x a m p l e '   w i l l   e n c r y p t   a l l   r e s o u r c e s   i n   t h e   g r o u p   ' a w e s o m e . b e a r s . e x a m p l e ' .   e g :   ' * . '   w i l l   e n c r y p t   a l l   r e s o u r c e s   i n   t h e   c o r e   g r o u p   ( s u c h   a s   p o d s ,   c o n f i g m a p s ,   e t c ) .   p r o v i d e r s   i s   a   l i s t   o f   t r a n s f o r m e r s   t o   b e   u s e d   f o r   r e a d i n g   a n d   w r i t i n g   t h e   r e s o u r c e s   t o   d i s k .   e g :   a e s g c m ,   a e s c b c ,   s e c r e t b o x ,   i d e n t i t y ,   k m s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1/",
    "id": "k8s_00193_section_2_3448"
  },
  {
    "question": "What is SecretboxConfiguration?",
    "answer": "A p p e a r s   i n :   P r o v i d e r C o n f i g u r a t i o n   S e c r e t b o x C o n f i g u r a t i o n   c o n t a i n s   t h e   A P I   c o n f i g u r a t i o n   f o r   a n   S e c r e t b o x   t r a n s f o r m e r .   k e y s   i s   a   l i s t   o f   k e y s   t o   b e   u s e d   f o r   c r e a t i n g   t h e   S e c r e t b o x   t r a n s f o r m e r .   E a c h   k e y   h a s   t o   b e   3 2   b y t e s   l o n g .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1/",
    "id": "k8s_00193_section_2_3449"
  },
  {
    "question": "What is WebhookConfiguration?",
    "answer": "A p p e a r s   i n :   A u t h o r i z e r C o n f i g u r a t i o n   T h e   d u r a t i o n   t o   c a c h e   ' a u t h o r i z e d '   r e s p o n s e s   f r o m   t h e   w e b h o o k   a u t h o r i z e r .   S a m e   a s   s e t t i n g   - - a u t h o r i z a t i o n - w e b h o o k - c a c h e - a u t h o r i z e d - t t l   f l a g   D e f a u l t :   5 m 0 s   T h e   d u r a t i o n   t o   c a c h e   ' u n a u t h o r i z e d '   r e s p o n s e s   f r o m   t h e   w e b h o o k   a u t h o r i z e r .   S a m e   a s   s e t t i n g   - - a u t h o r i z a t i o n - w e b h o o k - c a c h e - u n a u t h o r i z e d - t t l   f l a g   D e f a u l t :   3 0 s   T i m e o u t   f o r   t h e   w e b h o o k   r e q u e s t   M a x i m u m   a l l o w e d   v a l u e   i s   3 0 s .   R e q u i r e d ,   n o   d e f a u l t   v a l u e .   T h e   A P I   v e r s i o n   o f   t h e   a u t h o r i z a t i o n . k 8 s . i o   S u b j e c t A c c e s s R e v i e w   t o   s e n d   t o   a n d   e x p e c t   f r o m   t h e   w e b h o o k .   S a m e   a s   s e t t i n g   - - a u t h o r i z a t i o n - w e b h o o k - v e r s i o n   f l a g   V a l i d   v a l u e s :   v 1 b e t a 1 ,   v 1   R e q u i r e d ,   n o   d e f a u l t   v a l u e   M a t c h C o n d i t i o n S u b j e c t A c c e s s R e v i e w V e r s i o n   s p e c i f i e s   t h e   S u b j e c t A c c e s s R e v i e w   v e r s i o n   t h e   C E L   e x p r e s s i o n s   a r e   e v a l u a t e d   a g a i n s t   V a l i d   v a l u e s :   v 1   R e q u i r e d ,   n o   d e f a u l t   v a l u e   C o n t r o l s   t h e   a u t h o r i z a t i o n   d e c i s i o n   w h e n   a   w e b h o o k   r e q u e s t   f a i l s   t o   c o m p l e t e   o r   r e t u r n s   a   m a l f o r m e d   r e s p o n s e   o r   e r r o r s   e v a l u a t i n g   m a t c h C o n d i t i o n s .   V a l i d   v a l u e s :   N o O p i n i o n :   c o n t i n u e   t o   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1/",
    "id": "k8s_00193_section_2_3450"
  },
  {
    "question": "What is WebhookConnectionInfo?",
    "answer": "A p p e a r s   i n :   W e b h o o k C o n f i g u r a t i o n   C o n t r o l s   h o w   t h e   w e b h o o k   s h o u l d   c o m m u n i c a t e   w i t h   t h e   s e r v e r .   V a l i d   v a l u e s :   K u b e C o n f i g F i l e :   u s e   t h e   f i l e   s p e c i f i e d   i n   k u b e C o n f i g F i l e   t o   l o c a t e   t h e   s e r v e r . I n C l u s t e r C o n f i g :   u s e   t h e   i n - c l u s t e r   c o n f i g u r a t i o n   t o   c a l l   t h e   S u b j e c t A c c e s s R e v i e w   A P I   h o s t e d   b y   k u b e - a p i s e r v e r .   T h i s   m o d e   i s   n o t   a l l o w e d   f o r   k u b e - a p i s e r v e r .   P a t h   t o   K u b e C o n f i g F i l e   f o r   c o n n e c t i o n   i n f o   R e q u i r e d ,   i f   c o n n e c t i o n I n f o . T y p e   i s   K u b e C o n f i g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1/",
    "id": "k8s_00193_section_2_3451"
  },
  {
    "question": "What is WebhookMatchCondition?",
    "answer": "A p p e a r s   i n :   W e b h o o k C o n f i g u r a t i o n   e x p r e s s i o n   r e p r e s e n t s   t h e   e x p r e s s i o n   w h i c h   w i l l   b e   e v a l u a t e d   b y   C E L .   M u s t   e v a l u a t e   t o   b o o l .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   t h e   S u b j e c t A c c e s s R e v i e w   i n   v 1   v e r s i o n .   I f   v e r s i o n   s p e c i f i e d   b y   s u b j e c t A c c e s s R e v i e w V e r s i o n   i n   t h e   r e q u e s t   v a r i a b l e   i s   v 1 b e t a 1 ,   t h e   c o n t e n t s   w o u l d   b e   c o n v e r t e d   t o   t h e   v 1   v e r s i o n   b e f o r e   e v a l u a t i n g   t h e   C E L   e x p r e s s i o n .   ' r e s o u r c e A t t r i b u t e s '   d e s c r i b e s   i n f o r m a t i o n   f o r   a   r e s o u r c e   a c c e s s   r e q u e s t   a n d   i s   u n s e t   f o r   n o n - r e s o u r c e   r e q u e s t s .   e . g .   h a s ( r e q u e s t . r e s o u r c e A t t r i b u t e s )   & &   r e q u e s t . r e s o u r c e A t t r i b u t e s . n a m e s p a c e   = =   ' d e f a u l t ' ' n o n R e s o u r c e A t t r i b u t e s '   d e s c r i b e s   i n f o r m a t i o n   f o r   a   n o n - r e s o u r c e   a c c e s s   r e q u e s t   a n d   i s   u n s e t   f o r   r e s o u r c e   r e q u e s t s .   e . g .   h a s ( r e q u e s t . n o n R e s o u r c e A t t r i b u t e s )   & &   r e q u e s t . n o n R e s o u r c e A t t r i b u t e s . p a t h   = =   ' / h e a l t h z ' . ' u s e r '   i s   t h e   u s e r   t o   t e s t   f o r .   e . g .   r e q u e s t . u s e r   = =   ' a l i c e ' ' g r o u p s '   i s   t h e   g r o u p s   t o   t e s t   f o r .   e . g .   ( ' g r o u p 1 '   i n   r e q u e s t . g r o u p s ) ' e x t r a '   c o r r e s p o n d s   t o   t h e   u s e r . I n f o . G e t E x t r a ( )   m e t h o d   f r o m   t h e   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1/",
    "id": "k8s_00193_section_2_3452"
  },
  {
    "question": "What is Running Pods on Only Some Nodes?",
    "answer": "Running Pods on Only Some NodesThis page demonstrates how can you run Pods on only some Nodes as part of a DaemonSetBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesRunning Pods on only some NodesImagine that you want to run a DaemonSet, but you only need to run those daemon pods on nodes that have local solid state (SSD) storage. For example, the Pod might provide cache service to the node, and the cache is only useful when low-latency local storage is available.Step 1: Add labels to your nodesAdd the label ssd=true to the nodes which have SSDs.kubectl label nodes example-node-1 example-node-2 ssd=true Step 2: Create the manifestLet's create a DaemonSet which will provision the daemon pods on the SSD labeled nodes only.Next, use a nodeSelector to ensure that the DaemonSet only runs Pods on nodes with the ssd label set to \"true\".controllers/daemonset-label-selector.yaml apiVersion: apps/v1 kind: DaemonSet metadata: name: ssd-driver labels: app: nginx spec: selector: matchLabels: app: ssd-driver-pod template: metadata: labels: app: ssd-driver-pod spec: nodeSelector: ssd: \"true\" containers: - name: example-container image: example-imageStep 3: Create the DaemonSetCreate the DaemonSet from the manifest by using kubectl create or kubectl applyLet's label another node as ssd=true.kubectl label nodes example-node-3 ssd=true Labelling the node automatically triggers the control plane (specifically, the DaemonSet controller) to run a new daemon pod on that node.kubectl get pods -o wide The output is similar to:NAME READY STATUS RESTARTS AGE IP NODE <daemonset-name><some-hash-01> 1/1 Running 0 13s ..... example-node-1 <daemonset-name><some-hash-02> 1/1 Running 0 13s ..... example-node-2 <daemonset-name><some-hash-03> 1/1 Running 0 5s ..... example-node-3",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/pods-some-nodes/",
    "id": "k8s_00194_qa_3453"
  },
  {
    "question": "How does Running Pods on Only Some Nodes work?",
    "answer": "Running Pods on Only Some NodesThis page demonstrates how can you run Pods on only some Nodes as part of a DaemonSetBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesRunning Pods on only some NodesImagine that you want to run a DaemonSet, but you only need to run those daemon pods on nodes that have local solid state (SSD) storage. For example, the Pod might provide cache service to the node, and the cache is only useful when low-latency local storage is available.Step 1: Add labels to your nodesAdd the label ssd=true to the nodes which have SSDs.kubectl label nodes example-node-1 example-node-2 ssd=true Step 2: Create the manifestLet's create a DaemonSet which will provision the daemon pods on the SSD labeled nodes only.Next, use a nodeSelector to ensure that the DaemonSet only runs Pods on nodes with the ssd label set to \"true\".controllers/daemonset-label-selector.yaml apiVersion: apps/v1 kind: DaemonSet metadata: name: ssd-driver labels: app: nginx spec: selector: matchLabels: app: ssd-driver-pod template: metadata: labels: app: ssd-driver-pod spec: nodeSelector: ssd: \"true\" containers: - name: example-container image: example-imageStep 3: Create the DaemonSetCreate the DaemonSet from the manifest by using kubectl create or kubectl applyLet's label another node as ssd=true.kubectl label nodes example-node-3 ssd=true Labelling the node automatically triggers the control plane (specifically, the DaemonSet controller) to run a new daemon pod on that node.kubectl get pods -o wide The output is similar to:NAME READY STATUS RESTARTS AGE IP NODE <daemonset-name><some-hash-01> 1/1 Running 0 13s ..... example-node-1 <daemonset-name><some-hash-02> 1/1 Running 0 13s ..... example-node-2 <daemonset-name><some-hash-03> 1/1 Running 0 5s ..... example-node-3",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/pods-some-nodes/",
    "id": "k8s_00194_qa_3454"
  },
  {
    "question": "When would you use Running Pods on Only Some Nodes?",
    "answer": "Running Pods on Only Some NodesThis page demonstrates how can you run Pods on only some Nodes as part of a DaemonSetBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesRunning Pods on only some NodesImagine that you want to run a DaemonSet, but you only need to run those daemon pods on nodes that have local solid state (SSD) storage. For example, the Pod might provide cache service to the node, and the cache is only useful when low-latency local storage is available.Step 1: Add labels to your nodesAdd the label ssd=true to the nodes which have SSDs.kubectl label nodes example-node-1 example-node-2 ssd=true Step 2: Create the manifestLet's create a DaemonSet which will provision the daemon pods on the SSD labeled nodes only.Next, use a nodeSelector to ensure that the DaemonSet only runs Pods on nodes with the ssd label set to \"true\".controllers/daemonset-label-selector.yaml apiVersion: apps/v1 kind: DaemonSet metadata: name: ssd-driver labels: app: nginx spec: selector: matchLabels: app: ssd-driver-pod template: metadata: labels: app: ssd-driver-pod spec: nodeSelector: ssd: \"true\" containers: - name: example-container image: example-imageStep 3: Create the DaemonSetCreate the DaemonSet from the manifest by using kubectl create or kubectl applyLet's label another node as ssd=true.kubectl label nodes example-node-3 ssd=true Labelling the node automatically triggers the control plane (specifically, the DaemonSet controller) to run a new daemon pod on that node.kubectl get pods -o wide The output is similar to:NAME READY STATUS RESTARTS AGE IP NODE <daemonset-name><some-hash-01> 1/1 Running 0 13s ..... example-node-1 <daemonset-name><some-hash-02> 1/1 Running 0 13s ..... example-node-2 <daemonset-name><some-hash-03> 1/1 Running 0 5s ..... example-node-3",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/pods-some-nodes/",
    "id": "k8s_00194_qa_3455"
  },
  {
    "question": "What are the benefits of Running Pods on Only Some Nodes?",
    "answer": "Running Pods on Only Some NodesThis page demonstrates how can you run Pods on only some Nodes as part of a DaemonSetBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesRunning Pods on only some NodesImagine that you want to run a DaemonSet, but you only need to run those daemon pods on nodes that have local solid state (SSD) storage. For example, the Pod might provide cache service to the node, and the cache is only useful when low-latency local storage is available.Step 1: Add labels to your nodesAdd the label ssd=true to the nodes which have SSDs.kubectl label nodes example-node-1 example-node-2 ssd=true Step 2: Create the manifestLet's create a DaemonSet which will provision the daemon pods on the SSD labeled nodes only.Next, use a nodeSelector to ensure that the DaemonSet only runs Pods on nodes with the ssd label set to \"true\".controllers/daemonset-label-selector.yaml apiVersion: apps/v1 kind: DaemonSet metadata: name: ssd-driver labels: app: nginx spec: selector: matchLabels: app: ssd-driver-pod template: metadata: labels: app: ssd-driver-pod spec: nodeSelector: ssd: \"true\" containers: - name: example-container image: example-imageStep 3: Create the DaemonSetCreate the DaemonSet from the manifest by using kubectl create or kubectl applyLet's label another node as ssd=true.kubectl label nodes example-node-3 ssd=true Labelling the node automatically triggers the control plane (specifically, the DaemonSet controller) to run a new daemon pod on that node.kubectl get pods -o wide The output is similar to:NAME READY STATUS RESTARTS AGE IP NODE <daemonset-name><some-hash-01> 1/1 Running 0 13s ..... example-node-1 <daemonset-name><some-hash-02> 1/1 Running 0 13s ..... example-node-2 <daemonset-name><some-hash-03> 1/1 Running 0 5s ..... example-node-3",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/pods-some-nodes/",
    "id": "k8s_00194_qa_3456"
  },
  {
    "question": "What is Running Pods on Only Some Nodes?",
    "answer": "T h i s   p a g e   d e m o n s t r a t e s   h o w   c a n   y o u   r u n   P o d s   o n   o n l y   s o m e   N o d e s   a s   p a r t   o f   a   D a e m o n S e t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/pods-some-nodes/",
    "id": "k8s_00194_section_1_3457"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/pods-some-nodes/",
    "id": "k8s_00194_section_2_3458"
  },
  {
    "question": "What is Running Pods on only some Nodes?",
    "answer": "I m a g i n e   t h a t   y o u   w a n t   t o   r u n   a   D a e m o n S e t ,   b u t   y o u   o n l y   n e e d   t o   r u n   t h o s e   d a e m o n   p o d s   o n   n o d e s   t h a t   h a v e   l o c a l   s o l i d   s t a t e   ( S S D )   s t o r a g e .   F o r   e x a m p l e ,   t h e   P o d   m i g h t   p r o v i d e   c a c h e   s e r v i c e   t o   t h e   n o d e ,   a n d   t h e   c a c h e   i s   o n l y   u s e f u l   w h e n   l o w - l a t e n c y   l o c a l   s t o r a g e   i s   a v a i l a b l e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/pods-some-nodes/",
    "id": "k8s_00194_section_2_3459"
  },
  {
    "question": "What is Step 1: Add labels to your nodes?",
    "answer": "A d d   t h e   l a b e l   s s d = t r u e   t o   t h e   n o d e s   w h i c h   h a v e   S S D s .   k u b e c t l   l a b e l   n o d e s   e x a m p l e - n o d e - 1   e x a m p l e - n o d e - 2   s s d = t r u e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/pods-some-nodes/",
    "id": "k8s_00194_section_3_3460"
  },
  {
    "question": "What is Step 2: Create the manifest?",
    "answer": "L e t ' s   c r e a t e   a   D a e m o n S e t   w h i c h   w i l l   p r o v i s i o n   t h e   d a e m o n   p o d s   o n   t h e   S S D   l a b e l e d   n o d e s   o n l y .   N e x t ,   u s e   a   n o d e S e l e c t o r   t o   e n s u r e   t h a t   t h e   D a e m o n S e t   o n l y   r u n s   P o d s   o n   n o d e s   w i t h   t h e   s s d   l a b e l   s e t   t o   \" t r u e \" .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D a e m o n S e t   m e t a d a t a :   n a m e :   s s d - d r i v e r   l a b e l s :   a p p :   n g i n x   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   s s d - d r i v e r - p o d   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   s s d - d r i v e r - p o d   s p e c :   n o d e S e l e c t o r :   s s d :   \" t r u e \"   c o n t a i n e r s :   -   n a m e :   e x a m p l e - c o n t a i n e r   i m a g e :   e x a m p l e - i m a g e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/pods-some-nodes/",
    "id": "k8s_00194_section_3_3461"
  },
  {
    "question": "What is Step 3: Create the DaemonSet?",
    "answer": "C r e a t e   t h e   D a e m o n S e t   f r o m   t h e   m a n i f e s t   b y   u s i n g   k u b e c t l   c r e a t e   o r   k u b e c t l   a p p l y   L e t ' s   l a b e l   a n o t h e r   n o d e   a s   s s d = t r u e .   k u b e c t l   l a b e l   n o d e s   e x a m p l e - n o d e - 3   s s d = t r u e   L a b e l l i n g   t h e   n o d e   a u t o m a t i c a l l y   t r i g g e r s   t h e   c o n t r o l   p l a n e   ( s p e c i f i c a l l y ,   t h e   D a e m o n S e t   c o n t r o l l e r )   t o   r u n   a   n e w   d a e m o n   p o d   o n   t h a t   n o d e .   k u b e c t l   g e t   p o d s   - o   w i d e   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   < d a e m o n s e t - n a m e > < s o m e - h a s h - 0 1 >   1 / 1   R u n n i n g   0   1 3 s   . . . . .   e x a m p l e - n o d e - 1   < d a e m o n s e t - n a m e > < s o m e - h a s h - 0 2 >   1 / 1   R u n n i n g   0   1 3 s   . . . . .   e x a m p l e - n o d e - 2   < d a e m o n s e t - n a m e > < s o m e - h a s h - 0 3 >   1 / 1   R u n n i n g   0   5 s   . . . . .   e x a m p l e - n o d e - 3",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/pods-some-nodes/",
    "id": "k8s_00194_section_3_3462"
  },
  {
    "question": "What is Manage HugePages?",
    "answer": "Manage HugePagesConfigure and manage huge pages as a schedulable resource in a cluster.FEATURE STATE: Kubernetes v1.14 [stable] (enabled by default: true)Kubernetes supports the allocation and consumption of pre-allocated huge pages by applications in a Pod. This page describes how users can consume huge pages.Before you beginKubernetes nodes must pre-allocate huge pages in order for the node to report its huge page capacity.A node can pre-allocate huge pages for multiple sizes, for instance, the following line in /etc/default/grub allocates 2*1GiB of 1 GiB and 512*2 MiB of 2 MiB pages:GRUB_CMDLINE_LINUX=\"hugepagesz=1G hugepages=2 hugepagesz=2M hugepages=512\" The nodes will automatically discover and report all huge page resources as schedulable resources.When you describe the Node, you should see something similar to the following in the following in the Capacity and Allocatable sections:Capacity: cpu: ... ephemeral-storage: ... hugepages-1Gi: 2Gi hugepages-2Mi: 1Gi memory: ... pods: ... Allocatable: cpu: ... ephemeral-storage: ... hugepages-1Gi: 2Gi hugepages-2Mi: 1Gi memory: ... pods: ... Note:For dynamically allocated pages (after boot), the Kubelet needs to be restarted for the new allocations to be refrelected.APIHuge pages can be consumed via container level resource requirements using the resource name hugepages-<size>, where <size> is the most compact binary notation using integer values supported on a particular node. For example, if a node supports 2048KiB and 1048576KiB page sizes, it will expose a schedulable resources hugepages-2Mi and hugepages-1Gi. Unlike CPU or memory, huge pages do not support overcommit. Note that when requesting hugepage resources, either memory or CPU resources must be requested as well.A pod may consume multiple huge page sizes in a single pod spec. In this case it must use medium: HugePages-<hugepagesize> notation for all volume mounts.apiVersion: v1 kind: Pod metadata: name: huge-pages-example spec: containers: - name: example image: fedora:latest command: - sleep - inf volumeMounts: - mountPath: /hugepages-2Mi name: hugepage-2mi - mountPath: /hugepages-1Gi name: hugepage-1gi resources: limits: hugepages-2Mi: 100Mi hugepages-1Gi: 2Gi memory: 100Mi requests: memory: 100Mi volumes: - name: hugepage-2mi emptyDir: medium: HugePages-2Mi - name: hugepage-1gi emptyDir: medium: HugePages-1Gi A pod may use medium: HugePages only if it requests huge pages of one size.apiVersion: v1 kind: Pod metadata: name: huge-pages-example spec: containers: - name: example image: fedora:latest command: - sleep - inf volumeMounts: - mountPath: /hugepages name: hugepage resources: limits: hugepages-2Mi: 100Mi memory: 100Mi requests: memory: 100Mi volumes: - name: hugepage emptyDir: medium: HugePages Huge page requests must equal the limits. This is the default if limits are specified, but requests are not.Huge pages are isolated at a container scope, so each container has own limit on their cgroup sandbox as requested in a containe",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-hugepages/scheduling-hugepages/",
    "id": "k8s_00195_qa_3463"
  },
  {
    "question": "How does Manage HugePages work?",
    "answer": "Manage HugePagesConfigure and manage huge pages as a schedulable resource in a cluster.FEATURE STATE: Kubernetes v1.14 [stable] (enabled by default: true)Kubernetes supports the allocation and consumption of pre-allocated huge pages by applications in a Pod. This page describes how users can consume huge pages.Before you beginKubernetes nodes must pre-allocate huge pages in order for the node to report its huge page capacity.A node can pre-allocate huge pages for multiple sizes, for instance, the following line in /etc/default/grub allocates 2*1GiB of 1 GiB and 512*2 MiB of 2 MiB pages:GRUB_CMDLINE_LINUX=\"hugepagesz=1G hugepages=2 hugepagesz=2M hugepages=512\" The nodes will automatically discover and report all huge page resources as schedulable resources.When you describe the Node, you should see something similar to the following in the following in the Capacity and Allocatable sections:Capacity: cpu: ... ephemeral-storage: ... hugepages-1Gi: 2Gi hugepages-2Mi: 1Gi memory: ... pods: ... Allocatable: cpu: ... ephemeral-storage: ... hugepages-1Gi: 2Gi hugepages-2Mi: 1Gi memory: ... pods: ... Note:For dynamically allocated pages (after boot), the Kubelet needs to be restarted for the new allocations to be refrelected.APIHuge pages can be consumed via container level resource requirements using the resource name hugepages-<size>, where <size> is the most compact binary notation using integer values supported on a particular node. For example, if a node supports 2048KiB and 1048576KiB page sizes, it will expose a schedulable resources hugepages-2Mi and hugepages-1Gi. Unlike CPU or memory, huge pages do not support overcommit. Note that when requesting hugepage resources, either memory or CPU resources must be requested as well.A pod may consume multiple huge page sizes in a single pod spec. In this case it must use medium: HugePages-<hugepagesize> notation for all volume mounts.apiVersion: v1 kind: Pod metadata: name: huge-pages-example spec: containers: - name: example image: fedora:latest command: - sleep - inf volumeMounts: - mountPath: /hugepages-2Mi name: hugepage-2mi - mountPath: /hugepages-1Gi name: hugepage-1gi resources: limits: hugepages-2Mi: 100Mi hugepages-1Gi: 2Gi memory: 100Mi requests: memory: 100Mi volumes: - name: hugepage-2mi emptyDir: medium: HugePages-2Mi - name: hugepage-1gi emptyDir: medium: HugePages-1Gi A pod may use medium: HugePages only if it requests huge pages of one size.apiVersion: v1 kind: Pod metadata: name: huge-pages-example spec: containers: - name: example image: fedora:latest command: - sleep - inf volumeMounts: - mountPath: /hugepages name: hugepage resources: limits: hugepages-2Mi: 100Mi memory: 100Mi requests: memory: 100Mi volumes: - name: hugepage emptyDir: medium: HugePages Huge page requests must equal the limits. This is the default if limits are specified, but requests are not.Huge pages are isolated at a container scope, so each container has own limit on their cgroup sandbox as requested in a containe",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-hugepages/scheduling-hugepages/",
    "id": "k8s_00195_qa_3464"
  },
  {
    "question": "When would you use Manage HugePages?",
    "answer": "Manage HugePagesConfigure and manage huge pages as a schedulable resource in a cluster.FEATURE STATE: Kubernetes v1.14 [stable] (enabled by default: true)Kubernetes supports the allocation and consumption of pre-allocated huge pages by applications in a Pod. This page describes how users can consume huge pages.Before you beginKubernetes nodes must pre-allocate huge pages in order for the node to report its huge page capacity.A node can pre-allocate huge pages for multiple sizes, for instance, the following line in /etc/default/grub allocates 2*1GiB of 1 GiB and 512*2 MiB of 2 MiB pages:GRUB_CMDLINE_LINUX=\"hugepagesz=1G hugepages=2 hugepagesz=2M hugepages=512\" The nodes will automatically discover and report all huge page resources as schedulable resources.When you describe the Node, you should see something similar to the following in the following in the Capacity and Allocatable sections:Capacity: cpu: ... ephemeral-storage: ... hugepages-1Gi: 2Gi hugepages-2Mi: 1Gi memory: ... pods: ... Allocatable: cpu: ... ephemeral-storage: ... hugepages-1Gi: 2Gi hugepages-2Mi: 1Gi memory: ... pods: ... Note:For dynamically allocated pages (after boot), the Kubelet needs to be restarted for the new allocations to be refrelected.APIHuge pages can be consumed via container level resource requirements using the resource name hugepages-<size>, where <size> is the most compact binary notation using integer values supported on a particular node. For example, if a node supports 2048KiB and 1048576KiB page sizes, it will expose a schedulable resources hugepages-2Mi and hugepages-1Gi. Unlike CPU or memory, huge pages do not support overcommit. Note that when requesting hugepage resources, either memory or CPU resources must be requested as well.A pod may consume multiple huge page sizes in a single pod spec. In this case it must use medium: HugePages-<hugepagesize> notation for all volume mounts.apiVersion: v1 kind: Pod metadata: name: huge-pages-example spec: containers: - name: example image: fedora:latest command: - sleep - inf volumeMounts: - mountPath: /hugepages-2Mi name: hugepage-2mi - mountPath: /hugepages-1Gi name: hugepage-1gi resources: limits: hugepages-2Mi: 100Mi hugepages-1Gi: 2Gi memory: 100Mi requests: memory: 100Mi volumes: - name: hugepage-2mi emptyDir: medium: HugePages-2Mi - name: hugepage-1gi emptyDir: medium: HugePages-1Gi A pod may use medium: HugePages only if it requests huge pages of one size.apiVersion: v1 kind: Pod metadata: name: huge-pages-example spec: containers: - name: example image: fedora:latest command: - sleep - inf volumeMounts: - mountPath: /hugepages name: hugepage resources: limits: hugepages-2Mi: 100Mi memory: 100Mi requests: memory: 100Mi volumes: - name: hugepage emptyDir: medium: HugePages Huge page requests must equal the limits. This is the default if limits are specified, but requests are not.Huge pages are isolated at a container scope, so each container has own limit on their cgroup sandbox as requested in a containe",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-hugepages/scheduling-hugepages/",
    "id": "k8s_00195_qa_3465"
  },
  {
    "question": "What are the benefits of Manage HugePages?",
    "answer": "Manage HugePagesConfigure and manage huge pages as a schedulable resource in a cluster.FEATURE STATE: Kubernetes v1.14 [stable] (enabled by default: true)Kubernetes supports the allocation and consumption of pre-allocated huge pages by applications in a Pod. This page describes how users can consume huge pages.Before you beginKubernetes nodes must pre-allocate huge pages in order for the node to report its huge page capacity.A node can pre-allocate huge pages for multiple sizes, for instance, the following line in /etc/default/grub allocates 2*1GiB of 1 GiB and 512*2 MiB of 2 MiB pages:GRUB_CMDLINE_LINUX=\"hugepagesz=1G hugepages=2 hugepagesz=2M hugepages=512\" The nodes will automatically discover and report all huge page resources as schedulable resources.When you describe the Node, you should see something similar to the following in the following in the Capacity and Allocatable sections:Capacity: cpu: ... ephemeral-storage: ... hugepages-1Gi: 2Gi hugepages-2Mi: 1Gi memory: ... pods: ... Allocatable: cpu: ... ephemeral-storage: ... hugepages-1Gi: 2Gi hugepages-2Mi: 1Gi memory: ... pods: ... Note:For dynamically allocated pages (after boot), the Kubelet needs to be restarted for the new allocations to be refrelected.APIHuge pages can be consumed via container level resource requirements using the resource name hugepages-<size>, where <size> is the most compact binary notation using integer values supported on a particular node. For example, if a node supports 2048KiB and 1048576KiB page sizes, it will expose a schedulable resources hugepages-2Mi and hugepages-1Gi. Unlike CPU or memory, huge pages do not support overcommit. Note that when requesting hugepage resources, either memory or CPU resources must be requested as well.A pod may consume multiple huge page sizes in a single pod spec. In this case it must use medium: HugePages-<hugepagesize> notation for all volume mounts.apiVersion: v1 kind: Pod metadata: name: huge-pages-example spec: containers: - name: example image: fedora:latest command: - sleep - inf volumeMounts: - mountPath: /hugepages-2Mi name: hugepage-2mi - mountPath: /hugepages-1Gi name: hugepage-1gi resources: limits: hugepages-2Mi: 100Mi hugepages-1Gi: 2Gi memory: 100Mi requests: memory: 100Mi volumes: - name: hugepage-2mi emptyDir: medium: HugePages-2Mi - name: hugepage-1gi emptyDir: medium: HugePages-1Gi A pod may use medium: HugePages only if it requests huge pages of one size.apiVersion: v1 kind: Pod metadata: name: huge-pages-example spec: containers: - name: example image: fedora:latest command: - sleep - inf volumeMounts: - mountPath: /hugepages name: hugepage resources: limits: hugepages-2Mi: 100Mi memory: 100Mi requests: memory: 100Mi volumes: - name: hugepage emptyDir: medium: HugePages Huge page requests must equal the limits. This is the default if limits are specified, but requests are not.Huge pages are isolated at a container scope, so each container has own limit on their cgroup sandbox as requested in a containe",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-hugepages/scheduling-hugepages/",
    "id": "k8s_00195_qa_3466"
  },
  {
    "question": "What is Manage HugePages?",
    "answer": "K u b e r n e t e s   s u p p o r t s   t h e   a l l o c a t i o n   a n d   c o n s u m p t i o n   o f   p r e - a l l o c a t e d   h u g e   p a g e s   b y   a p p l i c a t i o n s   i n   a   P o d .   T h i s   p a g e   d e s c r i b e s   h o w   u s e r s   c a n   c o n s u m e   h u g e   p a g e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-hugepages/scheduling-hugepages/",
    "id": "k8s_00195_section_1_3467"
  },
  {
    "question": "What is Before you begin?",
    "answer": "K u b e r n e t e s   n o d e s   m u s t   p r e - a l l o c a t e   h u g e   p a g e s   i n   o r d e r   f o r   t h e   n o d e   t o   r e p o r t   i t s   h u g e   p a g e   c a p a c i t y .   A   n o d e   c a n   p r e - a l l o c a t e   h u g e   p a g e s   f o r   m u l t i p l e   s i z e s ,   f o r   i n s t a n c e ,   t h e   f o l l o w i n g   l i n e   i n   / e t c / d e f a u l t / g r u b   a l l o c a t e s   2 * 1 G i B   o f   1   G i B   a n d   5 1 2 * 2   M i B   o f   2   M i B   p a g e s :   G R U B _ C M D L I N E _ L I N U X = \" h u g e p a g e s z = 1 G   h u g e p a g e s = 2   h u g e p a g e s z = 2 M   h u g e p a g e s = 5 1 2 \"   T h e   n o d e s   w i l l   a u t o m a t i c a l l y   d i s c o v e r   a n d   r e p o r t   a l l   h u g e   p a g e   r e s o u r c e s   a s   s c h e d u l a b l e   r e s o u r c e s .   W h e n   y o u   d e s c r i b e   t h e   N o d e ,   y o u   s h o u l d   s e e   s o m e t h i n g   s i m i l a r   t o   t h e   f o l l o w i n g   i n   t h e   f o l l o w i n g   i n   t h e   C a p a c i t y   a n d   A l l o c a t a b l e   s e c t i o n s :   C a p a c i t y :   c p u :   . . .   e p h e m e r a l - s t o r a g e :   . . .   h u g e p a g e s - 1 G i :   2 G i   h u g e p a g e s - 2 M i :   1 G i   m e m o r y :   . . .   p o d s :   . . .   A l l o c a t a b l e :   c p u :   . . .   e p h e m e r a l - s t o r a g e :   . . .   h u g e p a g e s - 1 G i :   2 G i   h u g e p a g e s - 2 M i :   1 G i   m e m o r y :   . . .   p o d s :   . . .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-hugepages/scheduling-hugepages/",
    "id": "k8s_00195_section_2_3468"
  },
  {
    "question": "What is API?",
    "answer": "H u g e   p a g e s   c a n   b e   c o n s u m e d   v i a   c o n t a i n e r   l e v e l   r e s o u r c e   r e q u i r e m e n t s   u s i n g   t h e   r e s o u r c e   n a m e   h u g e p a g e s - < s i z e > ,   w h e r e   < s i z e >   i s   t h e   m o s t   c o m p a c t   b i n a r y   n o t a t i o n   u s i n g   i n t e g e r   v a l u e s   s u p p o r t e d   o n   a   p a r t i c u l a r   n o d e .   F o r   e x a m p l e ,   i f   a   n o d e   s u p p o r t s   2 0 4 8 K i B   a n d   1 0 4 8 5 7 6 K i B   p a g e   s i z e s ,   i t   w i l l   e x p o s e   a   s c h e d u l a b l e   r e s o u r c e s   h u g e p a g e s - 2 M i   a n d   h u g e p a g e s - 1 G i .   U n l i k e   C P U   o r   m e m o r y ,   h u g e   p a g e s   d o   n o t   s u p p o r t   o v e r c o m m i t .   N o t e   t h a t   w h e n   r e q u e s t i n g   h u g e p a g e   r e s o u r c e s ,   e i t h e r   m e m o r y   o r   C P U   r e s o u r c e s   m u s t   b e   r e q u e s t e d   a s   w e l l .   A   p o d   m a y   c o n s u m e   m u l t i p l e   h u g e   p a g e   s i z e s   i n   a   s i n g l e   p o d   s p e c .   I n   t h i s   c a s e   i t   m u s t   u s e   m e d i u m :   H u g e P a g e s - < h u g e p a g e s i z e >   n o t a t i o n   f o r   a l l   v o l u m e   m o u n t s .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   h u g e - p a g e s - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   e x a m p l e   i m a g e :   f e d o r a : l a t e s t   c o m m a n d :   -   s l e e p   -   i n f   v o l u m e M o u n t s :   -   m o u n t P a t h :   / h u g e p a g e s - 2 M i   n a m e :   h u g e p a g e - 2 m i   -   m o u n t P a t h :   / h u g e p a g e s - 1 G i   n a m e :   h u g e p a g e - 1 g i   r e s o u r c e s :   l i m i t s :   h u g e p a g e s - 2 M i :   1 0 0 M i   h u g e p a g e s - 1 G i :   2 G i   m e m o r y :   1 0 0 M i   r e q u e s t s :   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-hugepages/scheduling-hugepages/",
    "id": "k8s_00195_section_2_3469"
  },
  {
    "question": "What is Pod Quality of Service Classes?",
    "answer": "Pod Quality of Service ClassesThis page introduces Quality of Service (QoS) classes in Kubernetes, and explains how Kubernetes assigns a QoS class to each Pod as a consequence of the resource constraints that you specify for the containers in that Pod. Kubernetes relies on this classification to make decisions about which Pods to evict when there are not enough available resources on a Node.Quality of Service classesKubernetes classifies the Pods that you run and allocates each Pod into a specific quality of service (QoS) class. Kubernetes uses that classification to influence how different pods are handled. Kubernetes does this classification based on the resource requests of the Containers in that Pod, along with how those requests relate to resource limits. This is known as Quality of Service (QoS) class. Kubernetes assigns every Pod a QoS class based on the resource requests and limits of its component Containers. QoS classes are used by Kubernetes to decide which Pods to evict from a Node experiencing Node Pressure. The possible QoS classes are Guaranteed, Burstable, and BestEffort. When a Node runs out of resources, Kubernetes will first evict BestEffort Pods running on that Node, followed by Burstable and finally Guaranteed Pods. When this eviction is due to resource pressure, only Pods exceeding resource requests are candidates for eviction.GuaranteedPods that are Guaranteed have the strictest resource limits and are least likely to face eviction. They are guaranteed not to be killed until they exceed their limits or there are no lower-priority Pods that can be preempted from the Node. They may not acquire resources beyond their specified limits. These Pods can also make use of exclusive CPUs using the static CPU management policy.CriteriaFor a Pod to be given a QoS class of Guaranteed:Every Container in the Pod must have a memory limit and a memory request.For every Container in the Pod, the memory limit must equal the memory request.Every Container in the Pod must have a CPU limit and a CPU request.For every Container in the Pod, the CPU limit must equal the CPU request.BurstablePods that are Burstable have some lower-bound resource guarantees based on the request, but do not require a specific limit. If a limit is not specified, it defaults to a limit equivalent to the capacity of the Node, which allows the Pods to flexibly increase their resources if resources are available. In the event of Pod eviction due to Node resource pressure, these Pods are evicted only after all BestEffort Pods are evicted. Because a Burstable Pod can include a Container that has no resource limits or requests, a Pod that is Burstable can try to use any amount of node resources.CriteriaA Pod is given a QoS class of Burstable if:The Pod does not meet the criteria for QoS class Guaranteed.At least one Container in the Pod has a memory or CPU request or limit.BestEffortPods in the BestEffort QoS class can use node resources that aren't specifically assigned to P",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/",
    "id": "k8s_00196_qa_3470"
  },
  {
    "question": "How does Pod Quality of Service Classes work?",
    "answer": "Pod Quality of Service ClassesThis page introduces Quality of Service (QoS) classes in Kubernetes, and explains how Kubernetes assigns a QoS class to each Pod as a consequence of the resource constraints that you specify for the containers in that Pod. Kubernetes relies on this classification to make decisions about which Pods to evict when there are not enough available resources on a Node.Quality of Service classesKubernetes classifies the Pods that you run and allocates each Pod into a specific quality of service (QoS) class. Kubernetes uses that classification to influence how different pods are handled. Kubernetes does this classification based on the resource requests of the Containers in that Pod, along with how those requests relate to resource limits. This is known as Quality of Service (QoS) class. Kubernetes assigns every Pod a QoS class based on the resource requests and limits of its component Containers. QoS classes are used by Kubernetes to decide which Pods to evict from a Node experiencing Node Pressure. The possible QoS classes are Guaranteed, Burstable, and BestEffort. When a Node runs out of resources, Kubernetes will first evict BestEffort Pods running on that Node, followed by Burstable and finally Guaranteed Pods. When this eviction is due to resource pressure, only Pods exceeding resource requests are candidates for eviction.GuaranteedPods that are Guaranteed have the strictest resource limits and are least likely to face eviction. They are guaranteed not to be killed until they exceed their limits or there are no lower-priority Pods that can be preempted from the Node. They may not acquire resources beyond their specified limits. These Pods can also make use of exclusive CPUs using the static CPU management policy.CriteriaFor a Pod to be given a QoS class of Guaranteed:Every Container in the Pod must have a memory limit and a memory request.For every Container in the Pod, the memory limit must equal the memory request.Every Container in the Pod must have a CPU limit and a CPU request.For every Container in the Pod, the CPU limit must equal the CPU request.BurstablePods that are Burstable have some lower-bound resource guarantees based on the request, but do not require a specific limit. If a limit is not specified, it defaults to a limit equivalent to the capacity of the Node, which allows the Pods to flexibly increase their resources if resources are available. In the event of Pod eviction due to Node resource pressure, these Pods are evicted only after all BestEffort Pods are evicted. Because a Burstable Pod can include a Container that has no resource limits or requests, a Pod that is Burstable can try to use any amount of node resources.CriteriaA Pod is given a QoS class of Burstable if:The Pod does not meet the criteria for QoS class Guaranteed.At least one Container in the Pod has a memory or CPU request or limit.BestEffortPods in the BestEffort QoS class can use node resources that aren't specifically assigned to P",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/",
    "id": "k8s_00196_qa_3471"
  },
  {
    "question": "When would you use Pod Quality of Service Classes?",
    "answer": "Pod Quality of Service ClassesThis page introduces Quality of Service (QoS) classes in Kubernetes, and explains how Kubernetes assigns a QoS class to each Pod as a consequence of the resource constraints that you specify for the containers in that Pod. Kubernetes relies on this classification to make decisions about which Pods to evict when there are not enough available resources on a Node.Quality of Service classesKubernetes classifies the Pods that you run and allocates each Pod into a specific quality of service (QoS) class. Kubernetes uses that classification to influence how different pods are handled. Kubernetes does this classification based on the resource requests of the Containers in that Pod, along with how those requests relate to resource limits. This is known as Quality of Service (QoS) class. Kubernetes assigns every Pod a QoS class based on the resource requests and limits of its component Containers. QoS classes are used by Kubernetes to decide which Pods to evict from a Node experiencing Node Pressure. The possible QoS classes are Guaranteed, Burstable, and BestEffort. When a Node runs out of resources, Kubernetes will first evict BestEffort Pods running on that Node, followed by Burstable and finally Guaranteed Pods. When this eviction is due to resource pressure, only Pods exceeding resource requests are candidates for eviction.GuaranteedPods that are Guaranteed have the strictest resource limits and are least likely to face eviction. They are guaranteed not to be killed until they exceed their limits or there are no lower-priority Pods that can be preempted from the Node. They may not acquire resources beyond their specified limits. These Pods can also make use of exclusive CPUs using the static CPU management policy.CriteriaFor a Pod to be given a QoS class of Guaranteed:Every Container in the Pod must have a memory limit and a memory request.For every Container in the Pod, the memory limit must equal the memory request.Every Container in the Pod must have a CPU limit and a CPU request.For every Container in the Pod, the CPU limit must equal the CPU request.BurstablePods that are Burstable have some lower-bound resource guarantees based on the request, but do not require a specific limit. If a limit is not specified, it defaults to a limit equivalent to the capacity of the Node, which allows the Pods to flexibly increase their resources if resources are available. In the event of Pod eviction due to Node resource pressure, these Pods are evicted only after all BestEffort Pods are evicted. Because a Burstable Pod can include a Container that has no resource limits or requests, a Pod that is Burstable can try to use any amount of node resources.CriteriaA Pod is given a QoS class of Burstable if:The Pod does not meet the criteria for QoS class Guaranteed.At least one Container in the Pod has a memory or CPU request or limit.BestEffortPods in the BestEffort QoS class can use node resources that aren't specifically assigned to P",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/",
    "id": "k8s_00196_qa_3472"
  },
  {
    "question": "What are the benefits of Pod Quality of Service Classes?",
    "answer": "Pod Quality of Service ClassesThis page introduces Quality of Service (QoS) classes in Kubernetes, and explains how Kubernetes assigns a QoS class to each Pod as a consequence of the resource constraints that you specify for the containers in that Pod. Kubernetes relies on this classification to make decisions about which Pods to evict when there are not enough available resources on a Node.Quality of Service classesKubernetes classifies the Pods that you run and allocates each Pod into a specific quality of service (QoS) class. Kubernetes uses that classification to influence how different pods are handled. Kubernetes does this classification based on the resource requests of the Containers in that Pod, along with how those requests relate to resource limits. This is known as Quality of Service (QoS) class. Kubernetes assigns every Pod a QoS class based on the resource requests and limits of its component Containers. QoS classes are used by Kubernetes to decide which Pods to evict from a Node experiencing Node Pressure. The possible QoS classes are Guaranteed, Burstable, and BestEffort. When a Node runs out of resources, Kubernetes will first evict BestEffort Pods running on that Node, followed by Burstable and finally Guaranteed Pods. When this eviction is due to resource pressure, only Pods exceeding resource requests are candidates for eviction.GuaranteedPods that are Guaranteed have the strictest resource limits and are least likely to face eviction. They are guaranteed not to be killed until they exceed their limits or there are no lower-priority Pods that can be preempted from the Node. They may not acquire resources beyond their specified limits. These Pods can also make use of exclusive CPUs using the static CPU management policy.CriteriaFor a Pod to be given a QoS class of Guaranteed:Every Container in the Pod must have a memory limit and a memory request.For every Container in the Pod, the memory limit must equal the memory request.Every Container in the Pod must have a CPU limit and a CPU request.For every Container in the Pod, the CPU limit must equal the CPU request.BurstablePods that are Burstable have some lower-bound resource guarantees based on the request, but do not require a specific limit. If a limit is not specified, it defaults to a limit equivalent to the capacity of the Node, which allows the Pods to flexibly increase their resources if resources are available. In the event of Pod eviction due to Node resource pressure, these Pods are evicted only after all BestEffort Pods are evicted. Because a Burstable Pod can include a Container that has no resource limits or requests, a Pod that is Burstable can try to use any amount of node resources.CriteriaA Pod is given a QoS class of Burstable if:The Pod does not meet the criteria for QoS class Guaranteed.At least one Container in the Pod has a memory or CPU request or limit.BestEffortPods in the BestEffort QoS class can use node resources that aren't specifically assigned to P",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/",
    "id": "k8s_00196_qa_3473"
  },
  {
    "question": "What is Pod Quality of Service Classes?",
    "answer": "T h i s   p a g e   i n t r o d u c e s   Q u a l i t y   o f   S e r v i c e   ( Q o S )   c l a s s e s   i n   K u b e r n e t e s ,   a n d   e x p l a i n s   h o w   K u b e r n e t e s   a s s i g n s   a   Q o S   c l a s s   t o   e a c h   P o d   a s   a   c o n s e q u e n c e   o f   t h e   r e s o u r c e   c o n s t r a i n t s   t h a t   y o u   s p e c i f y   f o r   t h e   c o n t a i n e r s   i n   t h a t   P o d .   K u b e r n e t e s   r e l i e s   o n   t h i s   c l a s s i f i c a t i o n   t o   m a k e   d e c i s i o n s   a b o u t   w h i c h   P o d s   t o   e v i c t   w h e n   t h e r e   a r e   n o t   e n o u g h   a v a i l a b l e   r e s o u r c e s   o n   a   N o d e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/",
    "id": "k8s_00196_section_1_3474"
  },
  {
    "question": "What is Quality of Service classes?",
    "answer": "K u b e r n e t e s   c l a s s i f i e s   t h e   P o d s   t h a t   y o u   r u n   a n d   a l l o c a t e s   e a c h   P o d   i n t o   a   s p e c i f i c   q u a l i t y   o f   s e r v i c e   ( Q o S )   c l a s s .   K u b e r n e t e s   u s e s   t h a t   c l a s s i f i c a t i o n   t o   i n f l u e n c e   h o w   d i f f e r e n t   p o d s   a r e   h a n d l e d .   K u b e r n e t e s   d o e s   t h i s   c l a s s i f i c a t i o n   b a s e d   o n   t h e   r e s o u r c e   r e q u e s t s   o f   t h e   C o n t a i n e r s   i n   t h a t   P o d ,   a l o n g   w i t h   h o w   t h o s e   r e q u e s t s   r e l a t e   t o   r e s o u r c e   l i m i t s .   T h i s   i s   k n o w n   a s   Q u a l i t y   o f   S e r v i c e   ( Q o S )   c l a s s .   K u b e r n e t e s   a s s i g n s   e v e r y   P o d   a   Q o S   c l a s s   b a s e d   o n   t h e   r e s o u r c e   r e q u e s t s   a n d   l i m i t s   o f   i t s   c o m p o n e n t   C o n t a i n e r s .   Q o S   c l a s s e s   a r e   u s e d   b y   K u b e r n e t e s   t o   d e c i d e   w h i c h   P o d s   t o   e v i c t   f r o m   a   N o d e   e x p e r i e n c i n g   N o d e   P r e s s u r e .   T h e   p o s s i b l e   Q o S   c l a s s e s   a r e   G u a r a n t e e d ,   B u r s t a b l e ,   a n d   B e s t E f f o r t .   W h e n   a   N o d e   r u n s   o u t   o f   r e s o u r c e s ,   K u b e r n e t e s   w i l l   f i r s t   e v i c t   B e s t E f f o r t   P o d s   r u n n i n g   o n   t h a t   N o d e ,   f o l l o w e d   b y   B u r s t a b l e   a n d   f i n a l l y   G u a r a n t e e d   P o d s .   W h e n   t h i s   e v i c t i o n   i s   d u e   t o   r e s o u r c e   p r e s s u r e ,   o n l y   P o d s   e x c e e d i n g   r e s o u r c e   r e q u e s t s   a r e   c a n d i d a t e s   f o r   e v i c t i o n .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/",
    "id": "k8s_00196_section_2_3475"
  },
  {
    "question": "What is Guaranteed?",
    "answer": "P o d s   t h a t   a r e   G u a r a n t e e d   h a v e   t h e   s t r i c t e s t   r e s o u r c e   l i m i t s   a n d   a r e   l e a s t   l i k e l y   t o   f a c e   e v i c t i o n .   T h e y   a r e   g u a r a n t e e d   n o t   t o   b e   k i l l e d   u n t i l   t h e y   e x c e e d   t h e i r   l i m i t s   o r   t h e r e   a r e   n o   l o w e r - p r i o r i t y   P o d s   t h a t   c a n   b e   p r e e m p t e d   f r o m   t h e   N o d e .   T h e y   m a y   n o t   a c q u i r e   r e s o u r c e s   b e y o n d   t h e i r   s p e c i f i e d   l i m i t s .   T h e s e   P o d s   c a n   a l s o   m a k e   u s e   o f   e x c l u s i v e   C P U s   u s i n g   t h e   s t a t i c   C P U   m a n a g e m e n t   p o l i c y .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/",
    "id": "k8s_00196_section_3_3476"
  },
  {
    "question": "What is Criteria?",
    "answer": "F o r   a   P o d   t o   b e   g i v e n   a   Q o S   c l a s s   o f   G u a r a n t e e d :   E v e r y   C o n t a i n e r   i n   t h e   P o d   m u s t   h a v e   a   m e m o r y   l i m i t   a n d   a   m e m o r y   r e q u e s t . F o r   e v e r y   C o n t a i n e r   i n   t h e   P o d ,   t h e   m e m o r y   l i m i t   m u s t   e q u a l   t h e   m e m o r y   r e q u e s t . E v e r y   C o n t a i n e r   i n   t h e   P o d   m u s t   h a v e   a   C P U   l i m i t   a n d   a   C P U   r e q u e s t . F o r   e v e r y   C o n t a i n e r   i n   t h e   P o d ,   t h e   C P U   l i m i t   m u s t   e q u a l   t h e   C P U   r e q u e s t .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/",
    "id": "k8s_00196_section_4_3477"
  },
  {
    "question": "What is Burstable?",
    "answer": "P o d s   t h a t   a r e   B u r s t a b l e   h a v e   s o m e   l o w e r - b o u n d   r e s o u r c e   g u a r a n t e e s   b a s e d   o n   t h e   r e q u e s t ,   b u t   d o   n o t   r e q u i r e   a   s p e c i f i c   l i m i t .   I f   a   l i m i t   i s   n o t   s p e c i f i e d ,   i t   d e f a u l t s   t o   a   l i m i t   e q u i v a l e n t   t o   t h e   c a p a c i t y   o f   t h e   N o d e ,   w h i c h   a l l o w s   t h e   P o d s   t o   f l e x i b l y   i n c r e a s e   t h e i r   r e s o u r c e s   i f   r e s o u r c e s   a r e   a v a i l a b l e .   I n   t h e   e v e n t   o f   P o d   e v i c t i o n   d u e   t o   N o d e   r e s o u r c e   p r e s s u r e ,   t h e s e   P o d s   a r e   e v i c t e d   o n l y   a f t e r   a l l   B e s t E f f o r t   P o d s   a r e   e v i c t e d .   B e c a u s e   a   B u r s t a b l e   P o d   c a n   i n c l u d e   a   C o n t a i n e r   t h a t   h a s   n o   r e s o u r c e   l i m i t s   o r   r e q u e s t s ,   a   P o d   t h a t   i s   B u r s t a b l e   c a n   t r y   t o   u s e   a n y   a m o u n t   o f   n o d e   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/",
    "id": "k8s_00196_section_3_3478"
  },
  {
    "question": "What is Criteria?",
    "answer": "A   P o d   i s   g i v e n   a   Q o S   c l a s s   o f   B u r s t a b l e   i f :   T h e   P o d   d o e s   n o t   m e e t   t h e   c r i t e r i a   f o r   Q o S   c l a s s   G u a r a n t e e d . A t   l e a s t   o n e   C o n t a i n e r   i n   t h e   P o d   h a s   a   m e m o r y   o r   C P U   r e q u e s t   o r   l i m i t .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/",
    "id": "k8s_00196_section_4_3479"
  },
  {
    "question": "What is BestEffort?",
    "answer": "P o d s   i n   t h e   B e s t E f f o r t   Q o S   c l a s s   c a n   u s e   n o d e   r e s o u r c e s   t h a t   a r e n ' t   s p e c i f i c a l l y   a s s i g n e d   t o   P o d s   i n   o t h e r   Q o S   c l a s s e s .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   n o d e   w i t h   1 6   C P U   c o r e s   a v a i l a b l e   t o   t h e   k u b e l e t ,   a n d   y o u   a s s i g n   4   C P U   c o r e s   t o   a   G u a r a n t e e d   P o d ,   t h e n   a   P o d   i n   t h e   B e s t E f f o r t   Q o S   c l a s s   c a n   t r y   t o   u s e   a n y   a m o u n t   o f   t h e   r e m a i n i n g   1 2   C P U   c o r e s .   T h e   k u b e l e t   p r e f e r s   t o   e v i c t   B e s t E f f o r t   P o d s   i f   t h e   n o d e   c o m e s   u n d e r   r e s o u r c e   p r e s s u r e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/",
    "id": "k8s_00196_section_3_3480"
  },
  {
    "question": "What is Criteria?",
    "answer": "A   P o d   h a s   a   Q o S   c l a s s   o f   B e s t E f f o r t   i f   i t   d o e s n ' t   m e e t   t h e   c r i t e r i a   f o r   e i t h e r   G u a r a n t e e d   o r   B u r s t a b l e .   I n   o t h e r   w o r d s ,   a   P o d   i s   B e s t E f f o r t   o n l y   i f   n o n e   o f   t h e   C o n t a i n e r s   i n   t h e   P o d   h a v e   a   m e m o r y   l i m i t   o r   a   m e m o r y   r e q u e s t ,   a n d   n o n e   o f   t h e   C o n t a i n e r s   i n   t h e   P o d   h a v e   a   C P U   l i m i t   o r   a   C P U   r e q u e s t .   C o n t a i n e r s   i n   a   P o d   c a n   r e q u e s t   o t h e r   r e s o u r c e s   ( n o t   C P U   o r   m e m o r y )   a n d   s t i l l   b e   c l a s s i f i e d   a s   B e s t E f f o r t .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/",
    "id": "k8s_00196_section_4_3481"
  },
  {
    "question": "What is Memory QoS with cgroup v2?",
    "answer": "M e m o r y   Q o S   u s e s   t h e   m e m o r y   c o n t r o l l e r   o f   c g r o u p   v 2   t o   g u a r a n t e e   m e m o r y   r e s o u r c e s   i n   K u b e r n e t e s .   M e m o r y   r e q u e s t s   a n d   l i m i t s   o f   c o n t a i n e r s   i n   p o d   a r e   u s e d   t o   s e t   s p e c i f i c   i n t e r f a c e s   m e m o r y . m i n   a n d   m e m o r y . h i g h   p r o v i d e d   b y   t h e   m e m o r y   c o n t r o l l e r .   W h e n   m e m o r y . m i n   i s   s e t   t o   m e m o r y   r e q u e s t s ,   m e m o r y   r e s o u r c e s   a r e   r e s e r v e d   a n d   n e v e r   r e c l a i m e d   b y   t h e   k e r n e l ;   t h i s   i s   h o w   M e m o r y   Q o S   e n s u r e s   m e m o r y   a v a i l a b i l i t y   f o r   K u b e r n e t e s   p o d s .   A n d   i f   m e m o r y   l i m i t s   a r e   s e t   i n   t h e   c o n t a i n e r ,   t h i s   m e a n s   t h a t   t h e   s y s t e m   n e e d s   t o   l i m i t   c o n t a i n e r   m e m o r y   u s a g e ;   M e m o r y   Q o S   u s e s   m e m o r y . h i g h   t o   t h r o t t l e   w o r k l o a d   a p p r o a c h i n g   i t s   m e m o r y   l i m i t ,   e n s u r i n g   t h a t   t h e   s y s t e m   i s   n o t   o v e r w h e l m e d   b y   i n s t a n t a n e o u s   m e m o r y   a l l o c a t i o n .   M e m o r y   Q o S   r e l i e s   o n   Q o S   c l a s s   t o   d e t e r m i n e   w h i c h   s e t t i n g s   t o   a p p l y ;   h o w e v e r ,   t h e s e   a r e   d i f f e r e n t   m e c h a n i s m s   t h a t   b o t h   p r o v i d e   c o n t r o l s   o v e r   q u a l i t y   o f   s e r v i c e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/",
    "id": "k8s_00196_section_2_3482"
  },
  {
    "question": "What is Some behavior is independent of QoS class?",
    "answer": "C e r t a i n   b e h a v i o r   i s   i n d e p e n d e n t   o f   t h e   Q o S   c l a s s   a s s i g n e d   b y   K u b e r n e t e s .   F o r   e x a m p l e :   A n y   C o n t a i n e r   e x c e e d i n g   a   r e s o u r c e   l i m i t   w i l l   b e   k i l l e d   a n d   r e s t a r t e d   b y   t h e   k u b e l e t   w i t h o u t   a f f e c t i n g   o t h e r   C o n t a i n e r s   i n   t h a t   P o d . I f   a   C o n t a i n e r   e x c e e d s   i t s   r e s o u r c e   r e q u e s t   a n d   t h e   n o d e   i t   r u n s   o n   f a c e s   r e s o u r c e   p r e s s u r e ,   t h e   P o d   i t   i s   i n   b e c o m e s   a   c a n d i d a t e   f o r   e v i c t i o n .   I f   t h i s   o c c u r s ,   a l l   C o n t a i n e r s   i n   t h e   P o d   w i l l   b e   t e r m i n a t e d .   K u b e r n e t e s   m a y   c r e a t e   a   r e p l a c e m e n t   P o d ,   u s u a l l y   o n   a   d i f f e r e n t   n o d e . T h e   r e s o u r c e   r e q u e s t   o f   a   P o d   i s   e q u a l   t o   t h e   s u m   o f   t h e   r e s o u r c e   r e q u e s t s   o f   i t s   c o m p o n e n t   C o n t a i n e r s ,   a n d   t h e   r e s o u r c e   l i m i t   o f   a   P o d   i s   e q u a l   t o   t h e   s u m   o f   t h e   r e s o u r c e   l i m i t s   o f   i t s   c o m p o n e n t   C o n t a i n e r s . T h e   k u b e - s c h e d u l e r   d o e s   n o t   c o n s i d e r   Q o S   c l a s s   w h e n   s e l e c t i n g   w h i c h   P o d s   t o   p r e e m p t .   P r e e m p t i o n   c a n   o c c u r   w h e n   a   c l u s t e r   d o e s   n o t   h a v e   e n o u g h   r e s o u r c e s   t o   r u n   a l l   t h e   P o d s   y o u   d e f i n e d .   A n y   C o n t a i n e r   e x c e e d i n g   a   r e s o u r c e   l i m i t   w i l l   b e   k i l l e d   a n d   r e s t a r t e d   b y   t h e   k u b e l e t   w i t h o u t   a f f e c t i n g   o t h e r   C o n t a i ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/",
    "id": "k8s_00196_section_2_3483"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   r e s o u r c e   m a n a g e m e n t   f o r   P o d s   a n d   C o n t a i n e r s . L e a r n   a b o u t   N o d e - p r e s s u r e   e v i c t i o n . L e a r n   a b o u t   P o d   p r i o r i t y   a n d   p r e e m p t i o n . L e a r n   a b o u t   P o d   d i s r u p t i o n s . L e a r n   h o w   t o   a s s i g n   m e m o r y   r e s o u r c e s   t o   c o n t a i n e r s   a n d   p o d s . L e a r n   h o w   t o   a s s i g n   C P U   r e s o u r c e s   t o   c o n t a i n e r s   a n d   p o d s . L e a r n   h o w   t o   c o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/",
    "id": "k8s_00196_section_2_3484"
  },
  {
    "question": "What is Troubleshooting Applications?",
    "answer": "Troubleshooting ApplicationsDebugging common containerized application issues.This doc contains a set of resources for fixing issues with containerized applications. It covers things like common issues with Kubernetes resources (like Pods, Services, or StatefulSets), advice on making sense of container termination messages, and ways to debug running containers.Debug PodsDebug ServicesDebug a StatefulSetDetermine the Reason for Pod FailureDebug Init ContainersDebug Running PodsGet a Shell to a Running Container",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/",
    "id": "k8s_00197_qa_3485"
  },
  {
    "question": "How does Troubleshooting Applications work?",
    "answer": "Troubleshooting ApplicationsDebugging common containerized application issues.This doc contains a set of resources for fixing issues with containerized applications. It covers things like common issues with Kubernetes resources (like Pods, Services, or StatefulSets), advice on making sense of container termination messages, and ways to debug running containers.Debug PodsDebug ServicesDebug a StatefulSetDetermine the Reason for Pod FailureDebug Init ContainersDebug Running PodsGet a Shell to a Running Container",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/",
    "id": "k8s_00197_qa_3486"
  },
  {
    "question": "When would you use Troubleshooting Applications?",
    "answer": "Troubleshooting ApplicationsDebugging common containerized application issues.This doc contains a set of resources for fixing issues with containerized applications. It covers things like common issues with Kubernetes resources (like Pods, Services, or StatefulSets), advice on making sense of container termination messages, and ways to debug running containers.Debug PodsDebug ServicesDebug a StatefulSetDetermine the Reason for Pod FailureDebug Init ContainersDebug Running PodsGet a Shell to a Running Container",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/",
    "id": "k8s_00197_qa_3487"
  },
  {
    "question": "What are the benefits of Troubleshooting Applications?",
    "answer": "Troubleshooting ApplicationsDebugging common containerized application issues.This doc contains a set of resources for fixing issues with containerized applications. It covers things like common issues with Kubernetes resources (like Pods, Services, or StatefulSets), advice on making sense of container termination messages, and ways to debug running containers.Debug PodsDebug ServicesDebug a StatefulSetDetermine the Reason for Pod FailureDebug Init ContainersDebug Running PodsGet a Shell to a Running Container",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/",
    "id": "k8s_00197_qa_3488"
  },
  {
    "question": "What is Troubleshooting Applications?",
    "answer": "T h i s   d o c   c o n t a i n s   a   s e t   o f   r e s o u r c e s   f o r   f i x i n g   i s s u e s   w i t h   c o n t a i n e r i z e d   a p p l i c a t i o n s .   I t   c o v e r s   t h i n g s   l i k e   c o m m o n   i s s u e s   w i t h   K u b e r n e t e s   r e s o u r c e s   ( l i k e   P o d s ,   S e r v i c e s ,   o r   S t a t e f u l S e t s ) ,   a d v i c e   o n   m a k i n g   s e n s e   o f   c o n t a i n e r   t e r m i n a t i o n   m e s s a g e s ,   a n d   w a y s   t o   d e b u g   r u n n i n g   c o n t a i n e r s .",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/",
    "id": "k8s_00197_section_1_3489"
  },
  {
    "question": "What is Hardening Guide - Authentication Mechanisms?",
    "answer": "Hardening Guide - Authentication MechanismsInformation on authentication options in Kubernetes and their security properties.Selecting the appropriate authentication mechanism(s) is a crucial aspect of securing your cluster. Kubernetes provides several built-in mechanisms, each with its own strengths and weaknesses that should be carefully considered when choosing the best authentication mechanism for your cluster.In general, it is recommended to enable as few authentication mechanisms as possible to simplify user management and prevent cases where users retain access to a cluster that is no longer required.It is important to note that Kubernetes does not have an in-built user database within the cluster. Instead, it takes user information from the configured authentication system and uses that to make authorization decisions. Therefore, to audit user access, you need to review credentials from every configured authentication source.For production clusters with multiple users directly accessing the Kubernetes API, it is recommended to use external authentication sources such as OIDC. The internal authentication mechanisms, such as client certificates and service account tokens, described below, are not suitable for this use case.X.509 client certificate authenticationKubernetes leverages X.509 client certificate authentication for system components, such as when the kubelet authenticates to the API Server. While this mechanism can also be used for user authentication, it might not be suitable for production use due to several restrictions:Client certificates cannot be individually revoked. Once compromised, a certificate can be used by an attacker until it expires. To mitigate this risk, it is recommended to configure short lifetimes for user authentication credentials created using client certificates.If a certificate needs to be invalidated, the certificate authority must be re-keyed, which can introduce availability risks to the cluster.There is no permanent record of client certificates created in the cluster. Therefore, all issued certificates must be recorded if you need to keep track of them.Private keys used for client certificate authentication cannot be password-protected. Anyone who can read the file containing the key will be able to make use of it.Using client certificate authentication requires a direct connection from the client to the API server without any intervening TLS termination points, which can complicate network architectures.Group data is embedded in the O value of the client certificate, which means the user's group memberships cannot be changed for the lifetime of the certificate.Static token fileAlthough Kubernetes allows you to load credentials from a static token file located on the control plane node disks, this approach is not recommended for production servers due to several reasons:Credentials are stored in clear text on control plane node disks, which can be a security risk.Changing any credential requires a re",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/hardening-guide/authentication-mechanisms/",
    "id": "k8s_00198_qa_3490"
  },
  {
    "question": "How does Hardening Guide - Authentication Mechanisms work?",
    "answer": "Hardening Guide - Authentication MechanismsInformation on authentication options in Kubernetes and their security properties.Selecting the appropriate authentication mechanism(s) is a crucial aspect of securing your cluster. Kubernetes provides several built-in mechanisms, each with its own strengths and weaknesses that should be carefully considered when choosing the best authentication mechanism for your cluster.In general, it is recommended to enable as few authentication mechanisms as possible to simplify user management and prevent cases where users retain access to a cluster that is no longer required.It is important to note that Kubernetes does not have an in-built user database within the cluster. Instead, it takes user information from the configured authentication system and uses that to make authorization decisions. Therefore, to audit user access, you need to review credentials from every configured authentication source.For production clusters with multiple users directly accessing the Kubernetes API, it is recommended to use external authentication sources such as OIDC. The internal authentication mechanisms, such as client certificates and service account tokens, described below, are not suitable for this use case.X.509 client certificate authenticationKubernetes leverages X.509 client certificate authentication for system components, such as when the kubelet authenticates to the API Server. While this mechanism can also be used for user authentication, it might not be suitable for production use due to several restrictions:Client certificates cannot be individually revoked. Once compromised, a certificate can be used by an attacker until it expires. To mitigate this risk, it is recommended to configure short lifetimes for user authentication credentials created using client certificates.If a certificate needs to be invalidated, the certificate authority must be re-keyed, which can introduce availability risks to the cluster.There is no permanent record of client certificates created in the cluster. Therefore, all issued certificates must be recorded if you need to keep track of them.Private keys used for client certificate authentication cannot be password-protected. Anyone who can read the file containing the key will be able to make use of it.Using client certificate authentication requires a direct connection from the client to the API server without any intervening TLS termination points, which can complicate network architectures.Group data is embedded in the O value of the client certificate, which means the user's group memberships cannot be changed for the lifetime of the certificate.Static token fileAlthough Kubernetes allows you to load credentials from a static token file located on the control plane node disks, this approach is not recommended for production servers due to several reasons:Credentials are stored in clear text on control plane node disks, which can be a security risk.Changing any credential requires a re",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/hardening-guide/authentication-mechanisms/",
    "id": "k8s_00198_qa_3491"
  },
  {
    "question": "When would you use Hardening Guide - Authentication Mechanisms?",
    "answer": "Hardening Guide - Authentication MechanismsInformation on authentication options in Kubernetes and their security properties.Selecting the appropriate authentication mechanism(s) is a crucial aspect of securing your cluster. Kubernetes provides several built-in mechanisms, each with its own strengths and weaknesses that should be carefully considered when choosing the best authentication mechanism for your cluster.In general, it is recommended to enable as few authentication mechanisms as possible to simplify user management and prevent cases where users retain access to a cluster that is no longer required.It is important to note that Kubernetes does not have an in-built user database within the cluster. Instead, it takes user information from the configured authentication system and uses that to make authorization decisions. Therefore, to audit user access, you need to review credentials from every configured authentication source.For production clusters with multiple users directly accessing the Kubernetes API, it is recommended to use external authentication sources such as OIDC. The internal authentication mechanisms, such as client certificates and service account tokens, described below, are not suitable for this use case.X.509 client certificate authenticationKubernetes leverages X.509 client certificate authentication for system components, such as when the kubelet authenticates to the API Server. While this mechanism can also be used for user authentication, it might not be suitable for production use due to several restrictions:Client certificates cannot be individually revoked. Once compromised, a certificate can be used by an attacker until it expires. To mitigate this risk, it is recommended to configure short lifetimes for user authentication credentials created using client certificates.If a certificate needs to be invalidated, the certificate authority must be re-keyed, which can introduce availability risks to the cluster.There is no permanent record of client certificates created in the cluster. Therefore, all issued certificates must be recorded if you need to keep track of them.Private keys used for client certificate authentication cannot be password-protected. Anyone who can read the file containing the key will be able to make use of it.Using client certificate authentication requires a direct connection from the client to the API server without any intervening TLS termination points, which can complicate network architectures.Group data is embedded in the O value of the client certificate, which means the user's group memberships cannot be changed for the lifetime of the certificate.Static token fileAlthough Kubernetes allows you to load credentials from a static token file located on the control plane node disks, this approach is not recommended for production servers due to several reasons:Credentials are stored in clear text on control plane node disks, which can be a security risk.Changing any credential requires a re",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/hardening-guide/authentication-mechanisms/",
    "id": "k8s_00198_qa_3492"
  },
  {
    "question": "What are the benefits of Hardening Guide - Authentication Mechanisms?",
    "answer": "Hardening Guide - Authentication MechanismsInformation on authentication options in Kubernetes and their security properties.Selecting the appropriate authentication mechanism(s) is a crucial aspect of securing your cluster. Kubernetes provides several built-in mechanisms, each with its own strengths and weaknesses that should be carefully considered when choosing the best authentication mechanism for your cluster.In general, it is recommended to enable as few authentication mechanisms as possible to simplify user management and prevent cases where users retain access to a cluster that is no longer required.It is important to note that Kubernetes does not have an in-built user database within the cluster. Instead, it takes user information from the configured authentication system and uses that to make authorization decisions. Therefore, to audit user access, you need to review credentials from every configured authentication source.For production clusters with multiple users directly accessing the Kubernetes API, it is recommended to use external authentication sources such as OIDC. The internal authentication mechanisms, such as client certificates and service account tokens, described below, are not suitable for this use case.X.509 client certificate authenticationKubernetes leverages X.509 client certificate authentication for system components, such as when the kubelet authenticates to the API Server. While this mechanism can also be used for user authentication, it might not be suitable for production use due to several restrictions:Client certificates cannot be individually revoked. Once compromised, a certificate can be used by an attacker until it expires. To mitigate this risk, it is recommended to configure short lifetimes for user authentication credentials created using client certificates.If a certificate needs to be invalidated, the certificate authority must be re-keyed, which can introduce availability risks to the cluster.There is no permanent record of client certificates created in the cluster. Therefore, all issued certificates must be recorded if you need to keep track of them.Private keys used for client certificate authentication cannot be password-protected. Anyone who can read the file containing the key will be able to make use of it.Using client certificate authentication requires a direct connection from the client to the API server without any intervening TLS termination points, which can complicate network architectures.Group data is embedded in the O value of the client certificate, which means the user's group memberships cannot be changed for the lifetime of the certificate.Static token fileAlthough Kubernetes allows you to load credentials from a static token file located on the control plane node disks, this approach is not recommended for production servers due to several reasons:Credentials are stored in clear text on control plane node disks, which can be a security risk.Changing any credential requires a re",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/hardening-guide/authentication-mechanisms/",
    "id": "k8s_00198_qa_3493"
  },
  {
    "question": "What is Hardening Guide - Authentication Mechanisms?",
    "answer": "S e l e c t i n g   t h e   a p p r o p r i a t e   a u t h e n t i c a t i o n   m e c h a n i s m ( s )   i s   a   c r u c i a l   a s p e c t   o f   s e c u r i n g   y o u r   c l u s t e r .   K u b e r n e t e s   p r o v i d e s   s e v e r a l   b u i l t - i n   m e c h a n i s m s ,   e a c h   w i t h   i t s   o w n   s t r e n g t h s   a n d   w e a k n e s s e s   t h a t   s h o u l d   b e   c a r e f u l l y   c o n s i d e r e d   w h e n   c h o o s i n g   t h e   b e s t   a u t h e n t i c a t i o n   m e c h a n i s m   f o r   y o u r   c l u s t e r .   I n   g e n e r a l ,   i t   i s   r e c o m m e n d e d   t o   e n a b l e   a s   f e w   a u t h e n t i c a t i o n   m e c h a n i s m s   a s   p o s s i b l e   t o   s i m p l i f y   u s e r   m a n a g e m e n t   a n d   p r e v e n t   c a s e s   w h e r e   u s e r s   r e t a i n   a c c e s s   t o   a   c l u s t e r   t h a t   i s   n o   l o n g e r   r e q u i r e d .   I t   i s   i m p o r t a n t   t o   n o t e   t h a t   K u b e r n e t e s   d o e s   n o t   h a v e   a n   i n - b u i l t   u s e r   d a t a b a s e   w i t h i n   t h e   c l u s t e r .   I n s t e a d ,   i t   t a k e s   u s e r   i n f o r m a t i o n   f r o m   t h e   c o n f i g u r e d   a u t h e n t i c a t i o n   s y s t e m   a n d   u s e s   t h a t   t o   m a k e   a u t h o r i z a t i o n   d e c i s i o n s .   T h e r e f o r e ,   t o   a u d i t   u s e r   a c c e s s ,   y o u   n e e d   t o   r e v i e w   c r e d e n t i a l s   f r o m   e v e r y   c o n f i g u r e d   a u t h e n t i c a t i o n   s o u r c e .   F o r   p r o d u c t i o n   c l u s t e r s   w i t h   m u l t i p l e   u s e r s   d i r e c t l y   a c c e s s i n g   t h e   K u b e r n e t e s   A P I ,   i t   i s   r e c o m m e n d e d   t o   u s e   e x t e r n a l   a u t h e n t i c a t i o n   s o u r c e s   s u c h   a s   O I D C .   T h e   i n t e r n a l   a u t h e n t i ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/hardening-guide/authentication-mechanisms/",
    "id": "k8s_00198_section_1_3494"
  },
  {
    "question": "What is X.509 client certificate authentication?",
    "answer": "K u b e r n e t e s   l e v e r a g e s   X . 5 0 9   c l i e n t   c e r t i f i c a t e   a u t h e n t i c a t i o n   f o r   s y s t e m   c o m p o n e n t s ,   s u c h   a s   w h e n   t h e   k u b e l e t   a u t h e n t i c a t e s   t o   t h e   A P I   S e r v e r .   W h i l e   t h i s   m e c h a n i s m   c a n   a l s o   b e   u s e d   f o r   u s e r   a u t h e n t i c a t i o n ,   i t   m i g h t   n o t   b e   s u i t a b l e   f o r   p r o d u c t i o n   u s e   d u e   t o   s e v e r a l   r e s t r i c t i o n s :   C l i e n t   c e r t i f i c a t e s   c a n n o t   b e   i n d i v i d u a l l y   r e v o k e d .   O n c e   c o m p r o m i s e d ,   a   c e r t i f i c a t e   c a n   b e   u s e d   b y   a n   a t t a c k e r   u n t i l   i t   e x p i r e s .   T o   m i t i g a t e   t h i s   r i s k ,   i t   i s   r e c o m m e n d e d   t o   c o n f i g u r e   s h o r t   l i f e t i m e s   f o r   u s e r   a u t h e n t i c a t i o n   c r e d e n t i a l s   c r e a t e d   u s i n g   c l i e n t   c e r t i f i c a t e s . I f   a   c e r t i f i c a t e   n e e d s   t o   b e   i n v a l i d a t e d ,   t h e   c e r t i f i c a t e   a u t h o r i t y   m u s t   b e   r e - k e y e d ,   w h i c h   c a n   i n t r o d u c e   a v a i l a b i l i t y   r i s k s   t o   t h e   c l u s t e r . T h e r e   i s   n o   p e r m a n e n t   r e c o r d   o f   c l i e n t   c e r t i f i c a t e s   c r e a t e d   i n   t h e   c l u s t e r .   T h e r e f o r e ,   a l l   i s s u e d   c e r t i f i c a t e s   m u s t   b e   r e c o r d e d   i f   y o u   n e e d   t o   k e e p   t r a c k   o f   t h e m . P r i v a t e   k e y s   u s e d   f o r   c l i e n t   c e r t i f i c a t e   a u t h e n t i c a t i o n   c a n n o t   b e   p a s s w o r d - p r o t e c t e d .   A n y o n e   w h o   c a n   r e a d   t h e   f i l e   c o n t a i n i n g   t h e   k e y   w i l l   b e   a b l e   t o   m ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/hardening-guide/authentication-mechanisms/",
    "id": "k8s_00198_section_2_3495"
  },
  {
    "question": "What is Static token file?",
    "answer": "A l t h o u g h   K u b e r n e t e s   a l l o w s   y o u   t o   l o a d   c r e d e n t i a l s   f r o m   a   s t a t i c   t o k e n   f i l e   l o c a t e d   o n   t h e   c o n t r o l   p l a n e   n o d e   d i s k s ,   t h i s   a p p r o a c h   i s   n o t   r e c o m m e n d e d   f o r   p r o d u c t i o n   s e r v e r s   d u e   t o   s e v e r a l   r e a s o n s :   C r e d e n t i a l s   a r e   s t o r e d   i n   c l e a r   t e x t   o n   c o n t r o l   p l a n e   n o d e   d i s k s ,   w h i c h   c a n   b e   a   s e c u r i t y   r i s k . C h a n g i n g   a n y   c r e d e n t i a l   r e q u i r e s   a   r e s t a r t   o f   t h e   A P I   s e r v e r   p r o c e s s   t o   t a k e   e f f e c t ,   w h i c h   c a n   i m p a c t   a v a i l a b i l i t y . T h e r e   i s   n o   m e c h a n i s m   a v a i l a b l e   t o   a l l o w   u s e r s   t o   r o t a t e   t h e i r   c r e d e n t i a l s .   T o   r o t a t e   a   c r e d e n t i a l ,   a   c l u s t e r   a d m i n i s t r a t o r   m u s t   m o d i f y   t h e   t o k e n   o n   d i s k   a n d   d i s t r i b u t e   i t   t o   t h e   u s e r s . T h e r e   i s   n o   l o c k o u t   m e c h a n i s m   a v a i l a b l e   t o   p r e v e n t   b r u t e - f o r c e   a t t a c k s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/hardening-guide/authentication-mechanisms/",
    "id": "k8s_00198_section_2_3496"
  },
  {
    "question": "What is Bootstrap tokens?",
    "answer": "B o o t s t r a p   t o k e n s   a r e   u s e d   f o r   j o i n i n g   n o d e s   t o   c l u s t e r s   a n d   a r e   n o t   r e c o m m e n d e d   f o r   u s e r   a u t h e n t i c a t i o n   d u e   t o   s e v e r a l   r e a s o n s :   T h e y   h a v e   h a r d - c o d e d   g r o u p   m e m b e r s h i p s   t h a t   a r e   n o t   s u i t a b l e   f o r   g e n e r a l   u s e ,   m a k i n g   t h e m   u n s u i t a b l e   f o r   a u t h e n t i c a t i o n   p u r p o s e s . M a n u a l l y   g e n e r a t i n g   b o o t s t r a p   t o k e n s   c a n   l e a d   t o   w e a k   t o k e n s   t h a t   c a n   b e   g u e s s e d   b y   a n   a t t a c k e r ,   w h i c h   c a n   b e   a   s e c u r i t y   r i s k . T h e r e   i s   n o   l o c k o u t   m e c h a n i s m   a v a i l a b l e   t o   p r e v e n t   b r u t e - f o r c e   a t t a c k s ,   m a k i n g   i t   e a s i e r   f o r   a t t a c k e r s   t o   g u e s s   o r   c r a c k   t h e   t o k e n .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/hardening-guide/authentication-mechanisms/",
    "id": "k8s_00198_section_2_3497"
  },
  {
    "question": "What is ServiceAccount secret tokens?",
    "answer": "S e r v i c e   a c c o u n t   s e c r e t s   a r e   a v a i l a b l e   a s   a n   o p t i o n   t o   a l l o w   w o r k l o a d s   r u n n i n g   i n   t h e   c l u s t e r   t o   a u t h e n t i c a t e   t o   t h e   A P I   s e r v e r .   I n   K u b e r n e t e s   <   1 . 2 3 ,   t h e s e   w e r e   t h e   d e f a u l t   o p t i o n ,   h o w e v e r ,   t h e y   a r e   b e i n g   r e p l a c e d   w i t h   T o k e n R e q u e s t   A P I   t o k e n s .   W h i l e   t h e s e   s e c r e t s   c o u l d   b e   u s e d   f o r   u s e r   a u t h e n t i c a t i o n ,   t h e y   a r e   g e n e r a l l y   u n s u i t a b l e   f o r   a   n u m b e r   o f   r e a s o n s :   T h e y   c a n n o t   b e   s e t   w i t h   a n   e x p i r y   a n d   w i l l   r e m a i n   v a l i d   u n t i l   t h e   a s s o c i a t e d   s e r v i c e   a c c o u n t   i s   d e l e t e d . T h e   a u t h e n t i c a t i o n   t o k e n s   a r e   v i s i b l e   t o   a n y   c l u s t e r   u s e r   w h o   c a n   r e a d   s e c r e t s   i n   t h e   n a m e s p a c e   t h a t   t h e y   a r e   d e f i n e d   i n . S e r v i c e   a c c o u n t s   c a n n o t   b e   a d d e d   t o   a r b i t r a r y   g r o u p s   c o m p l i c a t i n g   R B A C   m a n a g e m e n t   w h e r e   t h e y   a r e   u s e d .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/hardening-guide/authentication-mechanisms/",
    "id": "k8s_00198_section_2_3498"
  },
  {
    "question": "What is TokenRequest API tokens?",
    "answer": "T h e   T o k e n R e q u e s t   A P I   i s   a   u s e f u l   t o o l   f o r   g e n e r a t i n g   s h o r t - l i v e d   c r e d e n t i a l s   f o r   s e r v i c e   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e r   o r   t h i r d - p a r t y   s y s t e m s .   H o w e v e r ,   i t   i s   n o t   g e n e r a l l y   r e c o m m e n d e d   f o r   u s e r   a u t h e n t i c a t i o n   a s   t h e r e   i s   n o   r e v o c a t i o n   m e t h o d   a v a i l a b l e ,   a n d   d i s t r i b u t i n g   c r e d e n t i a l s   t o   u s e r s   i n   a   s e c u r e   m a n n e r   c a n   b e   c h a l l e n g i n g .   W h e n   u s i n g   T o k e n R e q u e s t   t o k e n s   f o r   s e r v i c e   a u t h e n t i c a t i o n ,   i t   i s   r e c o m m e n d e d   t o   i m p l e m e n t   a   s h o r t   l i f e s p a n   t o   r e d u c e   t h e   i m p a c t   o f   c o m p r o m i s e d   t o k e n s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/hardening-guide/authentication-mechanisms/",
    "id": "k8s_00198_section_2_3499"
  },
  {
    "question": "What is OpenID Connect token authentication?",
    "answer": "K u b e r n e t e s   s u p p o r t s   i n t e g r a t i n g   e x t e r n a l   a u t h e n t i c a t i o n   s e r v i c e s   w i t h   t h e   K u b e r n e t e s   A P I   u s i n g   O p e n I D   C o n n e c t   ( O I D C ) .   T h e r e   i s   a   w i d e   v a r i e t y   o f   s o f t w a r e   t h a t   c a n   b e   u s e d   t o   i n t e g r a t e   K u b e r n e t e s   w i t h   a n   i d e n t i t y   p r o v i d e r .   H o w e v e r ,   w h e n   u s i n g   O I D C   a u t h e n t i c a t i o n   i n   K u b e r n e t e s ,   i t   i s   i m p o r t a n t   t o   c o n s i d e r   t h e   f o l l o w i n g   h a r d e n i n g   m e a s u r e s :   T h e   s o f t w a r e   i n s t a l l e d   i n   t h e   c l u s t e r   t o   s u p p o r t   O I D C   a u t h e n t i c a t i o n   s h o u l d   b e   i s o l a t e d   f r o m   g e n e r a l   w o r k l o a d s   a s   i t   w i l l   r u n   w i t h   h i g h   p r i v i l e g e s . S o m e   K u b e r n e t e s   m a n a g e d   s e r v i c e s   a r e   l i m i t e d   i n   t h e   O I D C   p r o v i d e r s   t h a t   c a n   b e   u s e d . A s   w i t h   T o k e n R e q u e s t   t o k e n s ,   O I D C   t o k e n s   s h o u l d   h a v e   a   s h o r t   l i f e s p a n   t o   r e d u c e   t h e   i m p a c t   o f   c o m p r o m i s e d   t o k e n s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/hardening-guide/authentication-mechanisms/",
    "id": "k8s_00198_section_2_3500"
  },
  {
    "question": "What is Webhook token authentication?",
    "answer": "W e b h o o k   t o k e n   a u t h e n t i c a t i o n   i s   a n o t h e r   o p t i o n   f o r   i n t e g r a t i n g   e x t e r n a l   a u t h e n t i c a t i o n   p r o v i d e r s   i n t o   K u b e r n e t e s .   T h i s   m e c h a n i s m   a l l o w s   f o r   a n   a u t h e n t i c a t i o n   s e r v i c e ,   e i t h e r   r u n n i n g   i n s i d e   t h e   c l u s t e r   o r   e x t e r n a l l y ,   t o   b e   c o n t a c t e d   f o r   a n   a u t h e n t i c a t i o n   d e c i s i o n   o v e r   a   w e b h o o k .   I t   i s   i m p o r t a n t   t o   n o t e   t h a t   t h e   s u i t a b i l i t y   o f   t h i s   m e c h a n i s m   w i l l   l i k e l y   d e p e n d   o n   t h e   s o f t w a r e   u s e d   f o r   t h e   a u t h e n t i c a t i o n   s e r v i c e ,   a n d   t h e r e   a r e   s o m e   K u b e r n e t e s - s p e c i f i c   c o n s i d e r a t i o n s   t o   t a k e   i n t o   a c c o u n t .   T o   c o n f i g u r e   W e b h o o k   a u t h e n t i c a t i o n ,   a c c e s s   t o   c o n t r o l   p l a n e   s e r v e r   f i l e s y s t e m s   i s   r e q u i r e d .   T h i s   m e a n s   t h a t   i t   w i l l   n o t   b e   p o s s i b l e   w i t h   M a n a g e d   K u b e r n e t e s   u n l e s s   t h e   p r o v i d e r   s p e c i f i c a l l y   m a k e s   i t   a v a i l a b l e .   A d d i t i o n a l l y ,   a n y   s o f t w a r e   i n s t a l l e d   i n   t h e   c l u s t e r   t o   s u p p o r t   t h i s   a c c e s s   s h o u l d   b e   i s o l a t e d   f r o m   g e n e r a l   w o r k l o a d s ,   a s   i t   w i l l   r u n   w i t h   h i g h   p r i v i l e g e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/hardening-guide/authentication-mechanisms/",
    "id": "k8s_00198_section_2_3501"
  },
  {
    "question": "What is Authenticating proxy?",
    "answer": "A n o t h e r   o p t i o n   f o r   i n t e g r a t i n g   e x t e r n a l   a u t h e n t i c a t i o n   s y s t e m s   i n t o   K u b e r n e t e s   i s   t o   u s e   a n   a u t h e n t i c a t i n g   p r o x y .   W i t h   t h i s   m e c h a n i s m ,   K u b e r n e t e s   e x p e c t s   t o   r e c e i v e   r e q u e s t s   f r o m   t h e   p r o x y   w i t h   s p e c i f i c   h e a d e r   v a l u e s   s e t ,   i n d i c a t i n g   t h e   u s e r n a m e   a n d   g r o u p   m e m b e r s h i p s   t o   a s s i g n   f o r   a u t h o r i z a t i o n   p u r p o s e s .   I t   i s   i m p o r t a n t   t o   n o t e   t h a t   t h e r e   a r e   s p e c i f i c   c o n s i d e r a t i o n s   t o   t a k e   i n t o   a c c o u n t   w h e n   u s i n g   t h i s   m e c h a n i s m .   F i r s t l y ,   s e c u r e l y   c o n f i g u r e d   T L S   m u s t   b e   u s e d   b e t w e e n   t h e   p r o x y   a n d   K u b e r n e t e s   A P I   s e r v e r   t o   m i t i g a t e   t h e   r i s k   o f   t r a f f i c   i n t e r c e p t i o n   o r   s n i f f i n g   a t t a c k s .   T h i s   e n s u r e s   t h a t   t h e   c o m m u n i c a t i o n   b e t w e e n   t h e   p r o x y   a n d   K u b e r n e t e s   A P I   s e r v e r   i s   s e c u r e .   S e c o n d l y ,   i t   i s   i m p o r t a n t   t o   b e   a w a r e   t h a t   a n   a t t a c k e r   w h o   i s   a b l e   t o   m o d i f y   t h e   h e a d e r s   o f   t h e   r e q u e s t   m a y   b e   a b l e   t o   g a i n   u n a u t h o r i z e d   a c c e s s   t o   K u b e r n e t e s   r e s o u r c e s .   A s   s u c h ,   i t   i s   i m p o r t a n t   t o   e n s u r e   t h a t   t h e   h e a d e r s   a r e   p r o p e r l y   s e c u r e d   a n d   c a n n o t   b e   t a m p e r e d   w i t h .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/hardening-guide/authentication-mechanisms/",
    "id": "k8s_00198_section_2_3502"
  },
  {
    "question": "What is What's next?",
    "answer": "U s e r   A u t h e n t i c a t i o n A u t h e n t i c a t i n g   w i t h   B o o t s t r a p   T o k e n s k u b e l e t   A u t h e n t i c a t i o n A u t h e n t i c a t i n g   w i t h   S e r v i c e   A c c o u n t   T o k e n s",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/hardening-guide/authentication-mechanisms/",
    "id": "k8s_00198_section_2_3503"
  },
  {
    "question": "What is Use a Service to Access an Application in a Cluster?",
    "answer": "Use a Service to Access an Application in a ClusterThis page shows how to create a Kubernetes Service object that external clients can use to access an application running in a cluster. The Service provides load balancing for an application that has two running instances.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesObjectivesRun two instances of a Hello World application.Create a Service object that exposes a node port.Use the Service object to access the running application.Creating a service for an application running in two podsHere is the configuration file for the application Deployment:service/access/hello-application.yaml apiVersion: apps/v1 kind: Deployment metadata: name: hello-world spec: selector: matchLabels: run: load-balancer-example replicas: 2 template: metadata: labels: run: load-balancer-example spec: containers: - name: hello-world image: us-docker.pkg.dev/google-samples/containers/gke/hello-app:2.0 ports: - containerPort: 8080 protocol: TCP Run a Hello World application in your cluster: Create the application Deployment using the file above:kubectl apply -f https://k8s.io/examples/service/access/hello-application.yaml The preceding command creates a Deployment and an associated ReplicaSet. The ReplicaSet has two Pods each of which runs the Hello World application.Display information about the Deployment:kubectl get deployments hello-world kubectl describe deployments hello-world Display information about your ReplicaSet objects:kubectl get replicasets kubectl describe replicasets Create a Service object that exposes the deployment:kubectl expose deployment hello-world --type=NodePort --name=example-service Display information about the Service:kubectl describe services example-service The output is similar to this:Name: example-service Namespace: default Labels: run=load-balancer-example Annotations: <none> Selector: run=load-balancer-example Type: NodePort IP: 10.32.0.16 Port: <unset> 8080/TCP TargetPort: 8080/TCP NodePort: <unset> 31496/TCP Endpoints: 10.200.1.4:8080,10.200.2.5:8080 Session Affinity: None Events: <none> Make a note of the NodePort value for the Service. For example, in the preceding output, the NodePort value is 31496.List the pods that are running the Hello World application:kubectl get pods --selector=\"run=load-balancer-example\" --output=wide The output is similar to this:NAME READY STATUS ... IP NODE hello-world-2895499144-bsbk5 1/1 Running ... 10.200.1.4 worker1 hello-world-2895499144-m1pwt 1/1 Running ... 10.200.2.5 worker2 Get the public IP address of one of your nodes that is running a Hello World pod. How you get ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/service-access-application-cluster/",
    "id": "k8s_00199_qa_3504"
  },
  {
    "question": "How does Use a Service to Access an Application in a Cluster work?",
    "answer": "Use a Service to Access an Application in a ClusterThis page shows how to create a Kubernetes Service object that external clients can use to access an application running in a cluster. The Service provides load balancing for an application that has two running instances.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesObjectivesRun two instances of a Hello World application.Create a Service object that exposes a node port.Use the Service object to access the running application.Creating a service for an application running in two podsHere is the configuration file for the application Deployment:service/access/hello-application.yaml apiVersion: apps/v1 kind: Deployment metadata: name: hello-world spec: selector: matchLabels: run: load-balancer-example replicas: 2 template: metadata: labels: run: load-balancer-example spec: containers: - name: hello-world image: us-docker.pkg.dev/google-samples/containers/gke/hello-app:2.0 ports: - containerPort: 8080 protocol: TCP Run a Hello World application in your cluster: Create the application Deployment using the file above:kubectl apply -f https://k8s.io/examples/service/access/hello-application.yaml The preceding command creates a Deployment and an associated ReplicaSet. The ReplicaSet has two Pods each of which runs the Hello World application.Display information about the Deployment:kubectl get deployments hello-world kubectl describe deployments hello-world Display information about your ReplicaSet objects:kubectl get replicasets kubectl describe replicasets Create a Service object that exposes the deployment:kubectl expose deployment hello-world --type=NodePort --name=example-service Display information about the Service:kubectl describe services example-service The output is similar to this:Name: example-service Namespace: default Labels: run=load-balancer-example Annotations: <none> Selector: run=load-balancer-example Type: NodePort IP: 10.32.0.16 Port: <unset> 8080/TCP TargetPort: 8080/TCP NodePort: <unset> 31496/TCP Endpoints: 10.200.1.4:8080,10.200.2.5:8080 Session Affinity: None Events: <none> Make a note of the NodePort value for the Service. For example, in the preceding output, the NodePort value is 31496.List the pods that are running the Hello World application:kubectl get pods --selector=\"run=load-balancer-example\" --output=wide The output is similar to this:NAME READY STATUS ... IP NODE hello-world-2895499144-bsbk5 1/1 Running ... 10.200.1.4 worker1 hello-world-2895499144-m1pwt 1/1 Running ... 10.200.2.5 worker2 Get the public IP address of one of your nodes that is running a Hello World pod. How you get ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/service-access-application-cluster/",
    "id": "k8s_00199_qa_3505"
  },
  {
    "question": "When would you use Use a Service to Access an Application in a Cluster?",
    "answer": "Use a Service to Access an Application in a ClusterThis page shows how to create a Kubernetes Service object that external clients can use to access an application running in a cluster. The Service provides load balancing for an application that has two running instances.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesObjectivesRun two instances of a Hello World application.Create a Service object that exposes a node port.Use the Service object to access the running application.Creating a service for an application running in two podsHere is the configuration file for the application Deployment:service/access/hello-application.yaml apiVersion: apps/v1 kind: Deployment metadata: name: hello-world spec: selector: matchLabels: run: load-balancer-example replicas: 2 template: metadata: labels: run: load-balancer-example spec: containers: - name: hello-world image: us-docker.pkg.dev/google-samples/containers/gke/hello-app:2.0 ports: - containerPort: 8080 protocol: TCP Run a Hello World application in your cluster: Create the application Deployment using the file above:kubectl apply -f https://k8s.io/examples/service/access/hello-application.yaml The preceding command creates a Deployment and an associated ReplicaSet. The ReplicaSet has two Pods each of which runs the Hello World application.Display information about the Deployment:kubectl get deployments hello-world kubectl describe deployments hello-world Display information about your ReplicaSet objects:kubectl get replicasets kubectl describe replicasets Create a Service object that exposes the deployment:kubectl expose deployment hello-world --type=NodePort --name=example-service Display information about the Service:kubectl describe services example-service The output is similar to this:Name: example-service Namespace: default Labels: run=load-balancer-example Annotations: <none> Selector: run=load-balancer-example Type: NodePort IP: 10.32.0.16 Port: <unset> 8080/TCP TargetPort: 8080/TCP NodePort: <unset> 31496/TCP Endpoints: 10.200.1.4:8080,10.200.2.5:8080 Session Affinity: None Events: <none> Make a note of the NodePort value for the Service. For example, in the preceding output, the NodePort value is 31496.List the pods that are running the Hello World application:kubectl get pods --selector=\"run=load-balancer-example\" --output=wide The output is similar to this:NAME READY STATUS ... IP NODE hello-world-2895499144-bsbk5 1/1 Running ... 10.200.1.4 worker1 hello-world-2895499144-m1pwt 1/1 Running ... 10.200.2.5 worker2 Get the public IP address of one of your nodes that is running a Hello World pod. How you get ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/service-access-application-cluster/",
    "id": "k8s_00199_qa_3506"
  },
  {
    "question": "What are the benefits of Use a Service to Access an Application in a Cluster?",
    "answer": "Use a Service to Access an Application in a ClusterThis page shows how to create a Kubernetes Service object that external clients can use to access an application running in a cluster. The Service provides load balancing for an application that has two running instances.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesObjectivesRun two instances of a Hello World application.Create a Service object that exposes a node port.Use the Service object to access the running application.Creating a service for an application running in two podsHere is the configuration file for the application Deployment:service/access/hello-application.yaml apiVersion: apps/v1 kind: Deployment metadata: name: hello-world spec: selector: matchLabels: run: load-balancer-example replicas: 2 template: metadata: labels: run: load-balancer-example spec: containers: - name: hello-world image: us-docker.pkg.dev/google-samples/containers/gke/hello-app:2.0 ports: - containerPort: 8080 protocol: TCP Run a Hello World application in your cluster: Create the application Deployment using the file above:kubectl apply -f https://k8s.io/examples/service/access/hello-application.yaml The preceding command creates a Deployment and an associated ReplicaSet. The ReplicaSet has two Pods each of which runs the Hello World application.Display information about the Deployment:kubectl get deployments hello-world kubectl describe deployments hello-world Display information about your ReplicaSet objects:kubectl get replicasets kubectl describe replicasets Create a Service object that exposes the deployment:kubectl expose deployment hello-world --type=NodePort --name=example-service Display information about the Service:kubectl describe services example-service The output is similar to this:Name: example-service Namespace: default Labels: run=load-balancer-example Annotations: <none> Selector: run=load-balancer-example Type: NodePort IP: 10.32.0.16 Port: <unset> 8080/TCP TargetPort: 8080/TCP NodePort: <unset> 31496/TCP Endpoints: 10.200.1.4:8080,10.200.2.5:8080 Session Affinity: None Events: <none> Make a note of the NodePort value for the Service. For example, in the preceding output, the NodePort value is 31496.List the pods that are running the Hello World application:kubectl get pods --selector=\"run=load-balancer-example\" --output=wide The output is similar to this:NAME READY STATUS ... IP NODE hello-world-2895499144-bsbk5 1/1 Running ... 10.200.1.4 worker1 hello-world-2895499144-m1pwt 1/1 Running ... 10.200.2.5 worker2 Get the public IP address of one of your nodes that is running a Hello World pod. How you get ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/service-access-application-cluster/",
    "id": "k8s_00199_qa_3507"
  },
  {
    "question": "What is Use a Service to Access an Application in a Cluster?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c r e a t e   a   K u b e r n e t e s   S e r v i c e   o b j e c t   t h a t   e x t e r n a l   c l i e n t s   c a n   u s e   t o   a c c e s s   a n   a p p l i c a t i o n   r u n n i n g   i n   a   c l u s t e r .   T h e   S e r v i c e   p r o v i d e s   l o a d   b a l a n c i n g   f o r   a n   a p p l i c a t i o n   t h a t   h a s   t w o   r u n n i n g   i n s t a n c e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/service-access-application-cluster/",
    "id": "k8s_00199_section_1_3508"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/service-access-application-cluster/",
    "id": "k8s_00199_section_2_3509"
  },
  {
    "question": "What is Objectives?",
    "answer": "R u n   t w o   i n s t a n c e s   o f   a   H e l l o   W o r l d   a p p l i c a t i o n . C r e a t e   a   S e r v i c e   o b j e c t   t h a t   e x p o s e s   a   n o d e   p o r t . U s e   t h e   S e r v i c e   o b j e c t   t o   a c c e s s   t h e   r u n n i n g   a p p l i c a t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/service-access-application-cluster/",
    "id": "k8s_00199_section_2_3510"
  },
  {
    "question": "What is Creating a service for an application running in two pods?",
    "answer": "H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   a p p l i c a t i o n   D e p l o y m e n t :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   h e l l o - w o r l d   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   r u n :   l o a d - b a l a n c e r - e x a m p l e   r e p l i c a s :   2   t e m p l a t e :   m e t a d a t a :   l a b e l s :   r u n :   l o a d - b a l a n c e r - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   h e l l o - w o r l d   i m a g e :   u s - d o c k e r . p k g . d e v / g o o g l e - s a m p l e s / c o n t a i n e r s / g k e / h e l l o - a p p : 2 . 0   p o r t s :   -   c o n t a i n e r P o r t :   8 0 8 0   p r o t o c o l :   T C P   R u n   a   H e l l o   W o r l d   a p p l i c a t i o n   i n   y o u r   c l u s t e r :   C r e a t e   t h e   a p p l i c a t i o n   D e p l o y m e n t   u s i n g   t h e   f i l e   a b o v e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / s e r v i c e / a c c e s s / h e l l o - a p p l i c a t i o n . y a m l   T h e   p r e c e d i n g   c o m m a n d   c r e a t e s   a   D e p l o y m e n t   a n d   a n   a s s o c i a t e d   R e p l i c a S e t .   T h e   R e p l i c a S e t   h a s   t w o   P o d s   e a c h   o f   w h i c h   r u n s   t h e   H e l l o   W o r l d   a p p l i c a t i o n . D i s p l a y   i n f o r m a t i o n   a b o u t   t h e   D e p l o y m e n t : k u b e c t l   g e t   d e p l o y m e n t s   h e l l o - w o r l d   k u b e c t l   d e s c r i b e   d e p l o y m e n t s   h e l l o - w o r l d   D i s p l a y   i n f o r m a t i o n   a b o u t   y o u r   R e p l i c a S e t   o b j e c t s : k u b e c t l   g e t   r e p l i c a s e t s   k u b e c t l   d e s c r i b e   r e p l i c a s e t s   C r e a t e   a   S e r v i c e   o b j e c t   t h a t   e x p o s e s   t h e   d e p l o y m e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/service-access-application-cluster/",
    "id": "k8s_00199_section_2_3511"
  },
  {
    "question": "What is Using a service configuration file?",
    "answer": "A s   a n   a l t e r n a t i v e   t o   u s i n g   k u b e c t l   e x p o s e ,   y o u   c a n   u s e   a   s e r v i c e   c o n f i g u r a t i o n   f i l e   t o   c r e a t e   a   S e r v i c e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/service-access-application-cluster/",
    "id": "k8s_00199_section_2_3512"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "T o   d e l e t e   t h e   S e r v i c e ,   e n t e r   t h i s   c o m m a n d :   k u b e c t l   d e l e t e   s e r v i c e s   e x a m p l e - s e r v i c e   T o   d e l e t e   t h e   D e p l o y m e n t ,   t h e   R e p l i c a S e t ,   a n d   t h e   P o d s   t h a t   a r e   r u n n i n g   t h e   H e l l o   W o r l d   a p p l i c a t i o n ,   e n t e r   t h i s   c o m m a n d :   k u b e c t l   d e l e t e   d e p l o y m e n t   h e l l o - w o r l d",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/service-access-application-cluster/",
    "id": "k8s_00199_section_2_3513"
  },
  {
    "question": "What is What's next?",
    "answer": "F o l l o w   t h e   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s   t u t o r i a l .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/service-access-application-cluster/",
    "id": "k8s_00199_section_2_3514"
  },
  {
    "question": "What is Custom Hugo Shortcodes?",
    "answer": "Custom Hugo ShortcodesThis page explains the custom Hugo shortcodes that can be used in Kubernetes Markdown documentation.Read more about shortcodes in the Hugo documentation.Feature stateIn a Markdown page (.md file) on this site, you can add a shortcode to display version and state of the documented feature.Feature state demoBelow is a demo of the feature state snippet, which displays the feature as stable in the latest Kubernetes version.{{< feature-state state=\"stable\" >}} Renders to:FEATURE STATE: Kubernetes v1.34 [stable]The valid values for state are:alphabetadeprecatedstableFeature state codeThe displayed Kubernetes version defaults to that of the page or the site. You can change the feature state version by passing the for_k8s_version shortcode parameter. For example:{{< feature-state for_k8s_version=\"v1.10\" state=\"beta\" >}} Renders to:FEATURE STATE: Kubernetes v1.10 [beta]Feature state retrieval from description fileTo dynamically determine the state of the feature, make use of the feature_gate_name shortcode parameter. The feature state details will be extracted from the corresponding feature gate description file located in content/en/docs/reference/command-line-tools-reference/feature-gates/. For example:{{< feature-state feature_gate_name=\"NodeSwap\" >}} Renders to:FEATURE STATE: Kubernetes v1.30 [beta] (enabled by default: true)Feature gate descriptionIn a Markdown page (.md file) on this site, you can add a shortcode to display the description for a shortcode.Feature gate description demoBelow is a demo of the feature state snippet, which displays the feature as stable in the latest Kubernetes version.{{< feature-gate-description name=\"DryRun\" >}} Renders to:DryRun: Enable server-side dry run requests so that validation, merging, and mutation can be tested without committing.GlossaryThere are two glossary shortcodes: glossary_tooltip and glossary_definition.You can reference glossary terms with an inclusion that automatically updates and replaces content with the relevant links from our glossary. When the glossary term is moused-over, the glossary entry displays a tooltip. The glossary term also displays as a link.As well as inclusions with tooltips, you can reuse the definitions from the glossary in page content.The raw data for glossary terms is stored at the glossary directory, with a content file for each glossary term.Glossary demoFor example, the following include within the Markdown renders to cluster with a tooltip:{{< glossary_tooltip text=\"cluster\" term_id=\"cluster\" >}} Here's a short glossary definition:{{< glossary_definition prepend=\"A cluster is\" term_id=\"cluster\" length=\"short\" >}} which renders as:A cluster is a set of worker machines, called nodes, that run containerized applications. Every cluster has at least one worker node.You can also include a full definition:{{< glossary_definition term_id=\"cluster\" length=\"all\" >}} which renders as:A set of worker machines, called nodes, that run containerized applications.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_qa_3515"
  },
  {
    "question": "How does Custom Hugo Shortcodes work?",
    "answer": "Custom Hugo ShortcodesThis page explains the custom Hugo shortcodes that can be used in Kubernetes Markdown documentation.Read more about shortcodes in the Hugo documentation.Feature stateIn a Markdown page (.md file) on this site, you can add a shortcode to display version and state of the documented feature.Feature state demoBelow is a demo of the feature state snippet, which displays the feature as stable in the latest Kubernetes version.{{< feature-state state=\"stable\" >}} Renders to:FEATURE STATE: Kubernetes v1.34 [stable]The valid values for state are:alphabetadeprecatedstableFeature state codeThe displayed Kubernetes version defaults to that of the page or the site. You can change the feature state version by passing the for_k8s_version shortcode parameter. For example:{{< feature-state for_k8s_version=\"v1.10\" state=\"beta\" >}} Renders to:FEATURE STATE: Kubernetes v1.10 [beta]Feature state retrieval from description fileTo dynamically determine the state of the feature, make use of the feature_gate_name shortcode parameter. The feature state details will be extracted from the corresponding feature gate description file located in content/en/docs/reference/command-line-tools-reference/feature-gates/. For example:{{< feature-state feature_gate_name=\"NodeSwap\" >}} Renders to:FEATURE STATE: Kubernetes v1.30 [beta] (enabled by default: true)Feature gate descriptionIn a Markdown page (.md file) on this site, you can add a shortcode to display the description for a shortcode.Feature gate description demoBelow is a demo of the feature state snippet, which displays the feature as stable in the latest Kubernetes version.{{< feature-gate-description name=\"DryRun\" >}} Renders to:DryRun: Enable server-side dry run requests so that validation, merging, and mutation can be tested without committing.GlossaryThere are two glossary shortcodes: glossary_tooltip and glossary_definition.You can reference glossary terms with an inclusion that automatically updates and replaces content with the relevant links from our glossary. When the glossary term is moused-over, the glossary entry displays a tooltip. The glossary term also displays as a link.As well as inclusions with tooltips, you can reuse the definitions from the glossary in page content.The raw data for glossary terms is stored at the glossary directory, with a content file for each glossary term.Glossary demoFor example, the following include within the Markdown renders to cluster with a tooltip:{{< glossary_tooltip text=\"cluster\" term_id=\"cluster\" >}} Here's a short glossary definition:{{< glossary_definition prepend=\"A cluster is\" term_id=\"cluster\" length=\"short\" >}} which renders as:A cluster is a set of worker machines, called nodes, that run containerized applications. Every cluster has at least one worker node.You can also include a full definition:{{< glossary_definition term_id=\"cluster\" length=\"all\" >}} which renders as:A set of worker machines, called nodes, that run containerized applications.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_qa_3516"
  },
  {
    "question": "When would you use Custom Hugo Shortcodes?",
    "answer": "Custom Hugo ShortcodesThis page explains the custom Hugo shortcodes that can be used in Kubernetes Markdown documentation.Read more about shortcodes in the Hugo documentation.Feature stateIn a Markdown page (.md file) on this site, you can add a shortcode to display version and state of the documented feature.Feature state demoBelow is a demo of the feature state snippet, which displays the feature as stable in the latest Kubernetes version.{{< feature-state state=\"stable\" >}} Renders to:FEATURE STATE: Kubernetes v1.34 [stable]The valid values for state are:alphabetadeprecatedstableFeature state codeThe displayed Kubernetes version defaults to that of the page or the site. You can change the feature state version by passing the for_k8s_version shortcode parameter. For example:{{< feature-state for_k8s_version=\"v1.10\" state=\"beta\" >}} Renders to:FEATURE STATE: Kubernetes v1.10 [beta]Feature state retrieval from description fileTo dynamically determine the state of the feature, make use of the feature_gate_name shortcode parameter. The feature state details will be extracted from the corresponding feature gate description file located in content/en/docs/reference/command-line-tools-reference/feature-gates/. For example:{{< feature-state feature_gate_name=\"NodeSwap\" >}} Renders to:FEATURE STATE: Kubernetes v1.30 [beta] (enabled by default: true)Feature gate descriptionIn a Markdown page (.md file) on this site, you can add a shortcode to display the description for a shortcode.Feature gate description demoBelow is a demo of the feature state snippet, which displays the feature as stable in the latest Kubernetes version.{{< feature-gate-description name=\"DryRun\" >}} Renders to:DryRun: Enable server-side dry run requests so that validation, merging, and mutation can be tested without committing.GlossaryThere are two glossary shortcodes: glossary_tooltip and glossary_definition.You can reference glossary terms with an inclusion that automatically updates and replaces content with the relevant links from our glossary. When the glossary term is moused-over, the glossary entry displays a tooltip. The glossary term also displays as a link.As well as inclusions with tooltips, you can reuse the definitions from the glossary in page content.The raw data for glossary terms is stored at the glossary directory, with a content file for each glossary term.Glossary demoFor example, the following include within the Markdown renders to cluster with a tooltip:{{< glossary_tooltip text=\"cluster\" term_id=\"cluster\" >}} Here's a short glossary definition:{{< glossary_definition prepend=\"A cluster is\" term_id=\"cluster\" length=\"short\" >}} which renders as:A cluster is a set of worker machines, called nodes, that run containerized applications. Every cluster has at least one worker node.You can also include a full definition:{{< glossary_definition term_id=\"cluster\" length=\"all\" >}} which renders as:A set of worker machines, called nodes, that run containerized applications.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_qa_3517"
  },
  {
    "question": "What are the benefits of Custom Hugo Shortcodes?",
    "answer": "Custom Hugo ShortcodesThis page explains the custom Hugo shortcodes that can be used in Kubernetes Markdown documentation.Read more about shortcodes in the Hugo documentation.Feature stateIn a Markdown page (.md file) on this site, you can add a shortcode to display version and state of the documented feature.Feature state demoBelow is a demo of the feature state snippet, which displays the feature as stable in the latest Kubernetes version.{{< feature-state state=\"stable\" >}} Renders to:FEATURE STATE: Kubernetes v1.34 [stable]The valid values for state are:alphabetadeprecatedstableFeature state codeThe displayed Kubernetes version defaults to that of the page or the site. You can change the feature state version by passing the for_k8s_version shortcode parameter. For example:{{< feature-state for_k8s_version=\"v1.10\" state=\"beta\" >}} Renders to:FEATURE STATE: Kubernetes v1.10 [beta]Feature state retrieval from description fileTo dynamically determine the state of the feature, make use of the feature_gate_name shortcode parameter. The feature state details will be extracted from the corresponding feature gate description file located in content/en/docs/reference/command-line-tools-reference/feature-gates/. For example:{{< feature-state feature_gate_name=\"NodeSwap\" >}} Renders to:FEATURE STATE: Kubernetes v1.30 [beta] (enabled by default: true)Feature gate descriptionIn a Markdown page (.md file) on this site, you can add a shortcode to display the description for a shortcode.Feature gate description demoBelow is a demo of the feature state snippet, which displays the feature as stable in the latest Kubernetes version.{{< feature-gate-description name=\"DryRun\" >}} Renders to:DryRun: Enable server-side dry run requests so that validation, merging, and mutation can be tested without committing.GlossaryThere are two glossary shortcodes: glossary_tooltip and glossary_definition.You can reference glossary terms with an inclusion that automatically updates and replaces content with the relevant links from our glossary. When the glossary term is moused-over, the glossary entry displays a tooltip. The glossary term also displays as a link.As well as inclusions with tooltips, you can reuse the definitions from the glossary in page content.The raw data for glossary terms is stored at the glossary directory, with a content file for each glossary term.Glossary demoFor example, the following include within the Markdown renders to cluster with a tooltip:{{< glossary_tooltip text=\"cluster\" term_id=\"cluster\" >}} Here's a short glossary definition:{{< glossary_definition prepend=\"A cluster is\" term_id=\"cluster\" length=\"short\" >}} which renders as:A cluster is a set of worker machines, called nodes, that run containerized applications. Every cluster has at least one worker node.You can also include a full definition:{{< glossary_definition term_id=\"cluster\" length=\"all\" >}} which renders as:A set of worker machines, called nodes, that run containerized applications.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_qa_3518"
  },
  {
    "question": "What is Custom Hugo Shortcodes?",
    "answer": "T h i s   p a g e   e x p l a i n s   t h e   c u s t o m   H u g o   s h o r t c o d e s   t h a t   c a n   b e   u s e d   i n   K u b e r n e t e s   M a r k d o w n   d o c u m e n t a t i o n .   R e a d   m o r e   a b o u t   s h o r t c o d e s   i n   t h e   H u g o   d o c u m e n t a t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_1_3519"
  },
  {
    "question": "What is Feature state?",
    "answer": "I n   a   M a r k d o w n   p a g e   ( . m d   f i l e )   o n   t h i s   s i t e ,   y o u   c a n   a d d   a   s h o r t c o d e   t o   d i s p l a y   v e r s i o n   a n d   s t a t e   o f   t h e   d o c u m e n t e d   f e a t u r e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_2_3520"
  },
  {
    "question": "What is Feature state demo?",
    "answer": "B e l o w   i s   a   d e m o   o f   t h e   f e a t u r e   s t a t e   s n i p p e t ,   w h i c h   d i s p l a y s   t h e   f e a t u r e   a s   s t a b l e   i n   t h e   l a t e s t   K u b e r n e t e s   v e r s i o n .   { { <   f e a t u r e - s t a t e   s t a t e = \" s t a b l e \"   > } }   R e n d e r s   t o :   T h e   v a l i d   v a l u e s   f o r   s t a t e   a r e :   a l p h a b e t a d e p r e c a t e d s t a b l e",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_3_3521"
  },
  {
    "question": "What is Feature state code?",
    "answer": "T h e   d i s p l a y e d   K u b e r n e t e s   v e r s i o n   d e f a u l t s   t o   t h a t   o f   t h e   p a g e   o r   t h e   s i t e .   Y o u   c a n   c h a n g e   t h e   f e a t u r e   s t a t e   v e r s i o n   b y   p a s s i n g   t h e   f o r _ k 8 s _ v e r s i o n   s h o r t c o d e   p a r a m e t e r .   F o r   e x a m p l e :   { { <   f e a t u r e - s t a t e   f o r _ k 8 s _ v e r s i o n = \" v 1 . 1 0 \"   s t a t e = \" b e t a \"   > } }   R e n d e r s   t o :",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_3_3522"
  },
  {
    "question": "What is Feature state retrieval from description file?",
    "answer": "T o   d y n a m i c a l l y   d e t e r m i n e   t h e   s t a t e   o f   t h e   f e a t u r e ,   m a k e   u s e   o f   t h e   f e a t u r e _ g a t e _ n a m e   s h o r t c o d e   p a r a m e t e r .   T h e   f e a t u r e   s t a t e   d e t a i l s   w i l l   b e   e x t r a c t e d   f r o m   t h e   c o r r e s p o n d i n g   f e a t u r e   g a t e   d e s c r i p t i o n   f i l e   l o c a t e d   i n   c o n t e n t / e n / d o c s / r e f e r e n c e / c o m m a n d - l i n e - t o o l s - r e f e r e n c e / f e a t u r e - g a t e s / .   F o r   e x a m p l e :   { { <   f e a t u r e - s t a t e   f e a t u r e _ g a t e _ n a m e = \" N o d e S w a p \"   > } }   R e n d e r s   t o :",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_3_3523"
  },
  {
    "question": "What is Feature gate description?",
    "answer": "I n   a   M a r k d o w n   p a g e   ( . m d   f i l e )   o n   t h i s   s i t e ,   y o u   c a n   a d d   a   s h o r t c o d e   t o   d i s p l a y   t h e   d e s c r i p t i o n   f o r   a   s h o r t c o d e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_2_3524"
  },
  {
    "question": "What is Feature gate description demo?",
    "answer": "B e l o w   i s   a   d e m o   o f   t h e   f e a t u r e   s t a t e   s n i p p e t ,   w h i c h   d i s p l a y s   t h e   f e a t u r e   a s   s t a b l e   i n   t h e   l a t e s t   K u b e r n e t e s   v e r s i o n .   { { <   f e a t u r e - g a t e - d e s c r i p t i o n   n a m e = \" D r y R u n \"   > } }   R e n d e r s   t o :   D r y R u n :   E n a b l e   s e r v e r - s i d e   d r y   r u n   r e q u e s t s   s o   t h a t   v a l i d a t i o n ,   m e r g i n g ,   a n d   m u t a t i o n   c a n   b e   t e s t e d   w i t h o u t   c o m m i t t i n g .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_3_3525"
  },
  {
    "question": "What is Glossary?",
    "answer": "T h e r e   a r e   t w o   g l o s s a r y   s h o r t c o d e s :   g l o s s a r y _ t o o l t i p   a n d   g l o s s a r y _ d e f i n i t i o n .   Y o u   c a n   r e f e r e n c e   g l o s s a r y   t e r m s   w i t h   a n   i n c l u s i o n   t h a t   a u t o m a t i c a l l y   u p d a t e s   a n d   r e p l a c e s   c o n t e n t   w i t h   t h e   r e l e v a n t   l i n k s   f r o m   o u r   g l o s s a r y .   W h e n   t h e   g l o s s a r y   t e r m   i s   m o u s e d - o v e r ,   t h e   g l o s s a r y   e n t r y   d i s p l a y s   a   t o o l t i p .   T h e   g l o s s a r y   t e r m   a l s o   d i s p l a y s   a s   a   l i n k .   A s   w e l l   a s   i n c l u s i o n s   w i t h   t o o l t i p s ,   y o u   c a n   r e u s e   t h e   d e f i n i t i o n s   f r o m   t h e   g l o s s a r y   i n   p a g e   c o n t e n t .   T h e   r a w   d a t a   f o r   g l o s s a r y   t e r m s   i s   s t o r e d   a t   t h e   g l o s s a r y   d i r e c t o r y ,   w i t h   a   c o n t e n t   f i l e   f o r   e a c h   g l o s s a r y   t e r m .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_2_3526"
  },
  {
    "question": "What is Glossary demo?",
    "answer": "F o r   e x a m p l e ,   t h e   f o l l o w i n g   i n c l u d e   w i t h i n   t h e   M a r k d o w n   r e n d e r s   t o   c l u s t e r   w i t h   a   t o o l t i p :   { { <   g l o s s a r y _ t o o l t i p   t e x t = \" c l u s t e r \"   t e r m _ i d = \" c l u s t e r \"   > } }   H e r e ' s   a   s h o r t   g l o s s a r y   d e f i n i t i o n :   { { <   g l o s s a r y _ d e f i n i t i o n   p r e p e n d = \" A   c l u s t e r   i s \"   t e r m _ i d = \" c l u s t e r \"   l e n g t h = \" s h o r t \"   > } }   w h i c h   r e n d e r s   a s : A   c l u s t e r   i s   a   s e t   o f   w o r k e r   m a c h i n e s ,   c a l l e d   n o d e s ,   t h a t   r u n   c o n t a i n e r i z e d   a p p l i c a t i o n s .   E v e r y   c l u s t e r   h a s   a t   l e a s t   o n e   w o r k e r   n o d e .   A   c l u s t e r   i s   a   s e t   o f   w o r k e r   m a c h i n e s ,   c a l l e d   n o d e s ,   t h a t   r u n   c o n t a i n e r i z e d   a p p l i c a t i o n s .   E v e r y   c l u s t e r   h a s   a t   l e a s t   o n e   w o r k e r   n o d e .   Y o u   c a n   a l s o   i n c l u d e   a   f u l l   d e f i n i t i o n :   { { <   g l o s s a r y _ d e f i n i t i o n   t e r m _ i d = \" c l u s t e r \"   l e n g t h = \" a l l \"   > } }   w h i c h   r e n d e r s   a s : A   s e t   o f   w o r k e r   m a c h i n e s ,   c a l l e d   n o d e s ,   t h a t   r u n   c o n t a i n e r i z e d   a p p l i c a t i o n s .   E v e r y   c l u s t e r   h a s   a t   l e a s t   o n e   w o r k e r   n o d e . T h e   w o r k e r   n o d e ( s )   h o s t   t h e   P o d s   t h a t   a r e   t h e   c o m p o n e n t s   o f   t h e   a p p l i c a t i o n   w o r k l o a d .   T h e   c o n t r o l   p l a n e   m a n a g e s   t h e   w o r k e r   n o d e s   a n d   t h e   P o d s   i n   t h e   c l u s t e r .   I n   p r o d u c t i o n   e n v i r o n m e n t s ,   t h e   c o n t r o l   p l a n e   u s u a l l y ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_3_3527"
  },
  {
    "question": "What is Links to API Reference?",
    "answer": "Y o u   c a n   l i n k   t o   a   p a g e   o f   t h e   K u b e r n e t e s   A P I   r e f e r e n c e   u s i n g   t h e   a p i - r e f e r e n c e   s h o r t c o d e ,   f o r   e x a m p l e   t o   t h e   P o d   r e f e r e n c e :   { { <   a p i - r e f e r e n c e   p a g e = \" w o r k l o a d - r e s o u r c e s / p o d - v 1 \"   > } }   T h e   c o n t e n t   o f   t h e   p a g e   p a r a m e t e r   i s   t h e   s u f f i x   o f   t h e   U R L   o f   t h e   A P I   r e f e r e n c e   p a g e .   Y o u   c a n   l i n k   t o   a   s p e c i f i c   p l a c e   i n t o   a   p a g e   b y   s p e c i f y i n g   a n   a n c h o r   p a r a m e t e r ,   f o r   e x a m p l e   t o   t h e   P o d S p e c   r e f e r e n c e   o r   t h e   e n v i r o n m e n t - v a r i a b l e s   s e c t i o n   o f   t h e   p a g e :   { { <   a p i - r e f e r e n c e   p a g e = \" w o r k l o a d - r e s o u r c e s / p o d - v 1 \"   a n c h o r = \" P o d S p e c \"   > } }   { { <   a p i - r e f e r e n c e   p a g e = \" w o r k l o a d - r e s o u r c e s / p o d - v 1 \"   a n c h o r = \" e n v i r o n m e n t - v a r i a b l e s \"   > } }   Y o u   c a n   c h a n g e   t h e   t e x t   o f   t h e   l i n k   b y   s p e c i f y i n g   a   t e x t   p a r a m e t e r ,   f o r   e x a m p l e   b y   l i n k i n g   t o   t h e   E n v i r o n m e n t   V a r i a b l e s   s e c t i o n   o f   t h e   p a g e :   { { <   a p i - r e f e r e n c e   p a g e = \" w o r k l o a d - r e s o u r c e s / p o d - v 1 \"   a n c h o r = \" e n v i r o n m e n t - v a r i a b l e s \"   t e x t = \" E n v i r o n m e n t   V a r i a b l e \"   > } }",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_2_3528"
  },
  {
    "question": "What is Table captions?",
    "answer": "Y o u   c a n   m a k e   t a b l e s   m o r e   a c c e s s i b l e   t o   s c r e e n   r e a d e r s   b y   a d d i n g   a   t a b l e   c a p t i o n .   T o   a d d   a   c a p t i o n   t o   a   t a b l e ,   e n c l o s e   t h e   t a b l e   w i t h   a   t a b l e   s h o r t c o d e   a n d   s p e c i f y   t h e   c a p t i o n   w i t h   t h e   c a p t i o n   p a r a m e t e r .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_2_3529"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e ' s   a n   e x a m p l e :   { { <   t a b l e   c a p t i o n = \" C o n f i g u r a t i o n   p a r a m e t e r s \"   > } }   P a r a m e t e r   |   D e s c r i p t i o n   |   D e f a u l t   : - - - - - - - - - | : - - - - - - - - - - - - | : - - - - - - -   ` t i m e o u t `   |   T h e   t i m e o u t   f o r   r e q u e s t s   |   ` 3 0 s `   ` l o g L e v e l `   |   T h e   l o g   l e v e l   f o r   l o g   o u t p u t   |   ` I N F O `   { { <   / t a b l e   > } }   T h e   r e n d e r e d   t a b l e   l o o k s   l i k e   t h i s :   I f   y o u   i n s p e c t   t h e   H T M L   f o r   t h e   t a b l e ,   y o u   s h o u l d   s e e   t h i s   e l e m e n t   i m m e d i a t e l y   a f t e r   t h e   o p e n i n g   < t a b l e >   e l e m e n t :   < c a p t i o n   s t y l e = \" d i s p l a y :   n o n e ; \" > C o n f i g u r a t i o n   p a r a m e t e r s < / c a p t i o n >",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_4_3530"
  },
  {
    "question": "What is Tabs?",
    "answer": "I n   a   m a r k d o w n   p a g e   ( . m d   f i l e )   o n   t h i s   s i t e ,   y o u   c a n   a d d   a   t a b   s e t   t o   d i s p l a y   m u l t i p l e   f l a v o r s   o f   a   g i v e n   s o l u t i o n .   T h e   t a b s   s h o r t c o d e   t a k e s   t h e s e   p a r a m e t e r s :   n a m e :   T h e   n a m e   a s   s h o w n   o n   t h e   t a b . c o d e l a n g :   I f   y o u   p r o v i d e   i n n e r   c o n t e n t   t o   t h e   t a b   s h o r t c o d e ,   y o u   c a n   t e l l   H u g o   w h a t   c o d e   l a n g u a g e   t o   u s e   f o r   h i g h l i g h t i n g . i n c l u d e :   T h e   f i l e   t o   i n c l u d e   i n   t h e   t a b .   I f   t h e   t a b   l i v e s   i n   a   H u g o   l e a f   b u n d l e ,   t h e   f i l e   - -   w h i c h   c a n   b e   a n y   M I M E   t y p e   s u p p o r t e d   b y   H u g o   - -   i s   l o o k e d   u p   i n   t h e   b u n d l e   i t s e l f .   I f   n o t ,   t h e   c o n t e n t   p a g e   t h a t   n e e d s   t o   b e   i n c l u d e d   i s   l o o k e d   u p   r e l a t i v e   t o   t h e   c u r r e n t   p a g e .   N o t e   t h a t   w i t h   t h e   i n c l u d e ,   y o u   d o   n o t   h a v e   a n y   s h o r t c o d e   i n n e r   c o n t e n t   a n d   m u s t   u s e   t h e   s e l f - c l o s i n g   s y n t a x .   F o r   e x a m p l e ,   { { <   t a b   n a m e = \" C o n t e n t   F i l e   # 1 \"   i n c l u d e = \" e x a m p l e 1 \"   / > } } .   T h e   l a n g u a g e   n e e d s   t o   b e   s p e c i f i e d   u n d e r   c o d e l a n g   o r   t h e   l a n g u a g e   i s   t a k e n   b a s e d   o n   t h e   f i l e   n a m e .   N o n - c o n t e n t   f i l e s   a r e   c o d e - h i g h l i g h t e d   b y   d e f a u l t . I f   y o u r   i n n e r   c o n t e n t   i s   m a r k d o w n ,   y o u   m u s t   u s e   t h e   % - d e l i m i t e r   t o   s u r r o u n d   t h e   t a b .   F o ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_2_3531"
  },
  {
    "question": "What is Tabs demo: Code highlighting?",
    "answer": "{ { <   t a b s   n a m e = \" t a b _ w i t h _ c o d e \"   > } }   { { <   t a b   n a m e = \" T a b   1 \"   c o d e l a n g = \" b a s h \"   > } }   e c h o   \" T h i s   i s   t a b   1 . \"   { { <   / t a b   > } }   { { <   t a b   n a m e = \" T a b   2 \"   c o d e l a n g = \" g o \"   > } }   p r i n t l n   \" T h i s   i s   t a b   2 . \"   { { <   / t a b   > } }   { { <   / t a b s   > } }   R e n d e r s   t o :   e c h o   \" T h i s   i s   t a b   1 . \"   e c h o   \" T h i s   i s   t a b   1 . \"   p r i n t l n   \" T h i s   i s   t a b   2 . \"   p r i n t l n   \" T h i s   i s   t a b   2 . \"",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_3_3532"
  },
  {
    "question": "What is Tabs demo: Inline Markdown and HTML?",
    "answer": "{ { <   t a b s   n a m e = \" t a b _ w i t h _ m d \"   > } }   { { %   t a b   n a m e = \" M a r k d o w n \"   % } }   T h i s   i s   * * s o m e   m a r k d o w n . * *   { { <   n o t e   > } }   I t   c a n   e v e n   c o n t a i n   s h o r t c o d e s .   { { <   / n o t e   > } }   { { %   / t a b   % } }   { { <   t a b   n a m e = \" H T M L \"   > } }   < d i v >   < h 3 > P l a i n   H T M L < / h 3 >   < p > T h i s   i s   s o m e   < i > p l a i n < / i >   H T M L . < / p >   < / d i v >   { { <   / t a b   > } }   { { <   / t a b s   > } }   R e n d e r s   t o :   T h i s   i s   s o m e   m a r k d o w n . N o t e : I t   c a n   e v e n   c o n t a i n   s h o r t c o d e s .   T h i s   i s   s o m e   m a r k d o w n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_3_3533"
  },
  {
    "question": "What is Note:?",
    "answer": "P l a i n   H T M L T h i s   i s   s o m e   p l a i n   H T M L .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_4_3534"
  },
  {
    "question": "What is Plain HTML?",
    "answer": "T h i s   i s   s o m e   p l a i n   H T M L .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_3_3535"
  },
  {
    "question": "What is Tabs demo: File include?",
    "answer": "{ { <   t a b s   n a m e = \" t a b _ w i t h _ f i l e _ i n c l u d e \"   > } }   { { <   t a b   n a m e = \" C o n t e n t   F i l e   # 1 \"   i n c l u d e = \" e x a m p l e 1 \"   / > } }   { { <   t a b   n a m e = \" C o n t e n t   F i l e   # 2 \"   i n c l u d e = \" e x a m p l e 2 \"   / > } }   { { <   t a b   n a m e = \" J S O N   F i l e \"   i n c l u d e = \" p o d t e m p l a t e \"   / > } }   { { <   / t a b s   > } }   R e n d e r s   t o :   T h i s   i s   a n   e x a m p l e   c o n t e n t   f i l e   i n s i d e   t h e   i n c l u d e s   l e a f   b u n d l e . N o t e : I n c l u d e d   c o n t e n t   f i l e s   c a n   a l s o   c o n t a i n   s h o r t c o d e s .   T h i s   i s   a n   e x a m p l e   c o n t e n t   f i l e   i n s i d e   t h e   i n c l u d e s   l e a f   b u n d l e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_3_3536"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   i s   a n o t h e r   e x a m p l e   c o n t e n t   f i l e   i n s i d e   t h e   i n c l u d e s   l e a f   b u n d l e .   T h i s   i s   a n o t h e r   e x a m p l e   c o n t e n t   f i l e   i n s i d e   t h e   i n c l u d e s   l e a f   b u n d l e .   {   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" k i n d \" :   \" P o d T e m p l a t e \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" n g i n x \"   } ,   \" t e m p l a t e \" :   {   \" m e t a d a t a \" :   {   \" l a b e l s \" :   {   \" n a m e \" :   \" n g i n x \"   } ,   \" g e n e r a t e N a m e \" :   \" n g i n x - \"   } ,   \" s p e c \" :   {   \" c o n t a i n e r s \" :   [ {   \" n a m e \" :   \" n g i n x \" ,   \" i m a g e \" :   \" d o c k e r f i l e / n g i n x \" ,   \" p o r t s \" :   [ { \" c o n t a i n e r P o r t \" :   8 0 } ]   } ]   }   }   }   {   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" k i n d \" :   \" P o d T e m p l a t e \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" n g i n x \"   } ,   \" t e m p l a t e \" :   {   \" m e t a d a t a \" :   {   \" l a b e l s \" :   {   \" n a m e \" :   \" n g i n x \"   } ,   \" g e n e r a t e N a m e \" :   \" n g i n x - \"   } ,   \" s p e c \" :   {   \" c o n t a i n e r s \" :   [ {   \" n a m e \" :   \" n g i n x \" ,   \" i m a g e \" :   \" d o c k e r f i l e / n g i n x \" ,   \" p o r t s \" :   [ { \" c o n t a i n e r P o r t \" :   8 0 } ]   } ]   }   }   }",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_4_3537"
  },
  {
    "question": "What is Source code files?",
    "answer": "Y o u   c a n   u s e   t h e   { { %   c o d e _ s a m p l e   % } }   s h o r t c o d e   t o   e m b e d   t h e   c o n t e n t s   o f   f i l e   i n   a   c o d e   b l o c k   t o   a l l o w   u s e r s   t o   d o w n l o a d   o r   c o p y   i t s   c o n t e n t   t o   t h e i r   c l i p b o a r d .   T h i s   s h o r t c o d e   i s   u s e d   w h e n   t h e   c o n t e n t s   o f   t h e   s a m p l e   f i l e   i s   g e n e r i c   a n d   r e u s a b l e ,   a n d   y o u   w a n t   t h e   u s e r s   t o   t r y   i t   o u t   t h e m s e l v e s .   T h i s   s h o r t c o d e   t a k e s   i n   t w o   n a m e d   p a r a m e t e r s :   l a n g u a g e   a n d   f i l e .   T h e   m a n d a t o r y   p a r a m e t e r   f i l e   i s   u s e d   t o   s p e c i f y   t h e   p a t h   t o   t h e   f i l e   b e i n g   d i s p l a y e d .   T h e   o p t i o n a l   p a r a m e t e r   l a n g u a g e   i s   u s e d   t o   s p e c i f y   t h e   p r o g r a m m i n g   l a n g u a g e   o f   t h e   f i l e .   I f   t h e   l a n g u a g e   p a r a m e t e r   i s   n o t   p r o v i d e d ,   t h e   s h o r t c o d e   w i l l   a t t e m p t   t o   g u e s s   t h e   l a n g u a g e   b a s e d   o n   t h e   f i l e   e x t e n s i o n .   F o r   e x a m p l e :   { { %   c o d e _ s a m p l e   l a n g u a g e = \" y a m l \"   f i l e = \" a p p l i c a t i o n / d e p l o y m e n t - s c a l e . y a m l \"   % } }   T h e   o u t p u t   i s :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   r e p l i c a s :   4   #   U p d a t e   t h e   r e p l i c a s   f r o m   2   t o   4   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_2_3538"
  },
  {
    "question": "What is Third party content marker?",
    "answer": "R u n n i n g   K u b e r n e t e s   r e q u i r e s   t h i r d - p a r t y   s o f t w a r e .   F o r   e x a m p l e :   y o u   u s u a l l y   n e e d   t o   a d d   a   D N S   s e r v e r   t o   y o u r   c l u s t e r   s o   t h a t   n a m e   r e s o l u t i o n   w o r k s .   W h e n   w e   l i n k   t o   t h i r d - p a r t y   s o f t w a r e ,   o r   o t h e r w i s e   m e n t i o n   i t ,   w e   f o l l o w   t h e   c o n t e n t   g u i d e   a n d   w e   a l s o   m a r k   t h o s e   t h i r d   p a r t y   i t e m s .   U s i n g   t h e s e   s h o r t c o d e s   a d d s   a   d i s c l a i m e r   t o   a n y   d o c u m e n t a t i o n   p a g e   t h a t   u s e s   t h e m .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_2_3539"
  },
  {
    "question": "What is Lists?",
    "answer": "F o r   a   l i s t   o f   s e v e r a l   t h i r d - p a r t y   i t e m s ,   a d d :   { { %   t h i r d p a r t y - c o n t e n t   % } }   j u s t   b e l o w   t h e   h e a d i n g   f o r   t h e   s e c t i o n   t h a t   i n c l u d e s   a l l   i t e m s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_3_3540"
  },
  {
    "question": "What is Items?",
    "answer": "I f   y o u   h a v e   a   l i s t   w h e r e   m o s t   o f   t h e   i t e m s   r e f e r   t o   i n - p r o j e c t   s o f t w a r e   ( f o r   e x a m p l e :   K u b e r n e t e s   i t s e l f ,   a n d   t h e   s e p a r a t e   D e s c h e d u l e r   c o m p o n e n t ) ,   t h e n   t h e r e   i s   a   d i f f e r e n t   f o r m   t o   u s e .   A d d   t h e   s h o r t c o d e :   { { %   t h i r d p a r t y - c o n t e n t   s i n g l e = \" t r u e \"   % } }   b e f o r e   t h e   i t e m ,   o r   j u s t   b e l o w   t h e   h e a d i n g   f o r   t h e   s p e c i f i c   i t e m .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_3_3541"
  },
  {
    "question": "What is Details?",
    "answer": "Y o u   c a n   r e n d e r   a   < d e t a i l s >   H T M L   e l e m e n t   u s i n g   a   s h o r t c o d e :   { { <   d e t a i l s   s u m m a r y = \" M o r e   a b o u t   w i d g e t s \"   > } }   T h e   f r o b n i c a t o r   e x t e n s i o n   A P I   i m p l e m e n t s   _ w i d g e t s _   u s i n g   e x a m p l e   r u n n i n g   t e x t .   N e q u e   p o r r o   q u i s q u a m   e s t ,   q u i   d o l o r e m   i p s u m   q u i a   d o l o r   s i t   a m e t ,   c o n s e c t e t u r ,   a d i p i s c i   v e l i t ,   s e d   q u i a   n o n   n u m q u a m   e i u s   m o d i   t e m p o r a   i n c i d u n t   u t   l a b o r e   e t   d o l o r e   m a g n a m   a l i q u a m   q u a e r a t   v o l u p t a t e m .   { { <   / d e t a i l s   > } }   T h i s   r e n d e r s   a s : M o r e   a b o u t   w i d g e t s T h e   f r o b n i c a t o r   e x t e n s i o n   A P I   i m p l e m e n t s   w i d g e t s   u s i n g   e x a m p l e   r u n n i n g   t e x t . N e q u e   p o r r o   q u i s q u a m   e s t ,   q u i   d o l o r e m   i p s u m   q u i a   d o l o r   s i t   a m e t ,   c o n s e c t e t u r ,   a d i p i s c i   v e l i t ,   s e d   q u i a   n o n   n u m q u a m   e i u s   m o d i   t e m p o r a   i n c i d u n t   u t   l a b o r e   e t   d o l o r e   m a g n a m   a l i q u a m   q u a e r a t   v o l u p t a t e m .   T h e   f r o b n i c a t o r   e x t e n s i o n   A P I   i m p l e m e n t s   w i d g e t s   u s i n g   e x a m p l e   r u n n i n g   t e x t .   N e q u e   p o r r o   q u i s q u a m   e s t ,   q u i   d o l o r e m   i p s u m   q u i a   d o l o r   s i t   a m e t ,   c o n s e c t e t u r ,   a d i p i s c i   v e l i t ,   s e d   q u i a   n o n   n u m q u a m   e i u s   m o d i   t e m p o r a   i n c i d u n t   u t   l a b o r e   e t   d o l o r e   m a g n a m   a l i q u a m   q u a e r a t   v o l u p t a t e m .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_2_3542"
  },
  {
    "question": "What is Version strings?",
    "answer": "T o   g e n e r a t e   a   v e r s i o n   s t r i n g   f o r   i n c l u s i o n   i n   t h e   d o c u m e n t a t i o n ,   y o u   c a n   c h o o s e   f r o m   s e v e r a l   v e r s i o n   s h o r t c o d e s .   E a c h   v e r s i o n   s h o r t c o d e   d i s p l a y s   a   v e r s i o n   s t r i n g   d e r i v e d   f r o m   t h e   v a l u e   o f   a   v e r s i o n   p a r a m e t e r   f o u n d   i n   t h e   s i t e   c o n f i g u r a t i o n   f i l e ,   h u g o . t o m l .   T h e   t w o   m o s t   c o m m o n l y   u s e d   v e r s i o n   p a r a m e t e r s   a r e   l a t e s t   a n d   v e r s i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_2_3543"
  },
  {
    "question": "What is {{< param \"version\" >}}?",
    "answer": "T h e   { { <   p a r a m   \" v e r s i o n \"   > } }   s h o r t c o d e   g e n e r a t e s   t h e   v a l u e   o f   t h e   c u r r e n t   v e r s i o n   o f   t h e   K u b e r n e t e s   d o c u m e n t a t i o n   f r o m   t h e   v e r s i o n   s i t e   p a r a m e t e r .   T h e   p a r a m   s h o r t c o d e   a c c e p t s   t h e   n a m e   o f   o n e   s i t e   p a r a m e t e r ,   i n   t h i s   c a s e :   v e r s i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_3_3544"
  },
  {
    "question": "What is Note:?",
    "answer": "R e n d e r s   t o :",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_4_3545"
  },
  {
    "question": "What is {{< latest-version >}}?",
    "answer": "T h e   { { <   l a t e s t - v e r s i o n   > } }   s h o r t c o d e   r e t u r n s   t h e   v a l u e   o f   t h e   l a t e s t   s i t e   p a r a m e t e r .   T h e   l a t e s t   s i t e   p a r a m e t e r   i s   u p d a t e d   w h e n   a   n e w   v e r s i o n   o f   t h e   d o c u m e n t a t i o n   i s   r e l e a s e d .   T h i s   p a r a m e t e r   d o e s   n o t   a l w a y s   m a t c h   t h e   v a l u e   o f   v e r s i o n   i n   a   d o c u m e n t a t i o n   s e t .   R e n d e r s   t o :",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_3_3546"
  },
  {
    "question": "What is {{< latest-semver >}}?",
    "answer": "T h e   { { <   l a t e s t - s e m v e r   > } }   s h o r t c o d e   g e n e r a t e s   t h e   v a l u e   o f   l a t e s t   w i t h o u t   t h e   \" v \"   p r e f i x .   R e n d e r s   t o :",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_3_3547"
  },
  {
    "question": "What is {{< version-check >}}?",
    "answer": "T h e   { { <   v e r s i o n - c h e c k   > } }   s h o r t c o d e   c h e c k s   i f   t h e   m i n - k u b e r n e t e s - s e r v e r - v e r s i o n   p a g e   p a r a m e t e r   i s   p r e s e n t   a n d   t h e n   u s e s   t h i s   v a l u e   t o   c o m p a r e   t o   v e r s i o n .   R e n d e r s   t o :   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_3_3548"
  },
  {
    "question": "What is {{< latest-release-notes >}}?",
    "answer": "T h e   { { <   l a t e s t - r e l e a s e - n o t e s   > } }   s h o r t c o d e   g e n e r a t e s   a   v e r s i o n   s t r i n g   f r o m   l a t e s t   a n d   r e m o v e s   t h e   \" v \"   p r e f i x .   T h e   s h o r t c o d e   p r i n t s   a   n e w   U R L   f o r   t h e   r e l e a s e   n o t e   C H A N G E L O G   p a g e   w i t h   t h e   m o d i f i e d   v e r s i o n   s t r i n g .   R e n d e r s   t o :",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_3_3549"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   H u g o . L e a r n   a b o u t   w r i t i n g   a   n e w   t o p i c . L e a r n   a b o u t   p a g e   c o n t e n t   t y p e s . L e a r n   a b o u t   o p e n i n g   a   p u l l   r e q u e s t . L e a r n   a b o u t   a d v a n c e d   c o n t r i b u t i n g .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/hugo-shortcodes/",
    "id": "k8s_00200_section_2_3550"
  },
  {
    "question": "What is kubectl set serviceaccount?",
    "answer": "kubectl set serviceaccountSynopsisUpdate the service account of pod template resources.Possible resources (case insensitive) can be:replicationcontroller (rc), deployment (deploy), daemonset (ds), job, replicaset (rs), statefulsetkubectl set serviceaccount (-f FILENAME | TYPE NAME) SERVICE_ACCOUNT Examples # Set deployment nginx-deployment's service account to serviceaccount1 kubectl set serviceaccount deployment nginx-deployment serviceaccount1 # Print the result (in YAML format) of updated nginx deployment with the service account from local file, without hitting the API server kubectl set sa -f nginx-deployment.yaml serviceaccount1 --local --dry-run=client -o yaml Options--allSelect all resources, in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-set\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for serviceaccount-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--localIf true, set serviceaccount will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the ser",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_serviceaccount/",
    "id": "k8s_00201_qa_3551"
  },
  {
    "question": "How does kubectl set serviceaccount work?",
    "answer": "kubectl set serviceaccountSynopsisUpdate the service account of pod template resources.Possible resources (case insensitive) can be:replicationcontroller (rc), deployment (deploy), daemonset (ds), job, replicaset (rs), statefulsetkubectl set serviceaccount (-f FILENAME | TYPE NAME) SERVICE_ACCOUNT Examples # Set deployment nginx-deployment's service account to serviceaccount1 kubectl set serviceaccount deployment nginx-deployment serviceaccount1 # Print the result (in YAML format) of updated nginx deployment with the service account from local file, without hitting the API server kubectl set sa -f nginx-deployment.yaml serviceaccount1 --local --dry-run=client -o yaml Options--allSelect all resources, in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-set\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for serviceaccount-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--localIf true, set serviceaccount will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the ser",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_serviceaccount/",
    "id": "k8s_00201_qa_3552"
  },
  {
    "question": "When would you use kubectl set serviceaccount?",
    "answer": "kubectl set serviceaccountSynopsisUpdate the service account of pod template resources.Possible resources (case insensitive) can be:replicationcontroller (rc), deployment (deploy), daemonset (ds), job, replicaset (rs), statefulsetkubectl set serviceaccount (-f FILENAME | TYPE NAME) SERVICE_ACCOUNT Examples # Set deployment nginx-deployment's service account to serviceaccount1 kubectl set serviceaccount deployment nginx-deployment serviceaccount1 # Print the result (in YAML format) of updated nginx deployment with the service account from local file, without hitting the API server kubectl set sa -f nginx-deployment.yaml serviceaccount1 --local --dry-run=client -o yaml Options--allSelect all resources, in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-set\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for serviceaccount-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--localIf true, set serviceaccount will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the ser",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_serviceaccount/",
    "id": "k8s_00201_qa_3553"
  },
  {
    "question": "What are the benefits of kubectl set serviceaccount?",
    "answer": "kubectl set serviceaccountSynopsisUpdate the service account of pod template resources.Possible resources (case insensitive) can be:replicationcontroller (rc), deployment (deploy), daemonset (ds), job, replicaset (rs), statefulsetkubectl set serviceaccount (-f FILENAME | TYPE NAME) SERVICE_ACCOUNT Examples # Set deployment nginx-deployment's service account to serviceaccount1 kubectl set serviceaccount deployment nginx-deployment serviceaccount1 # Print the result (in YAML format) of updated nginx deployment with the service account from local file, without hitting the API server kubectl set sa -f nginx-deployment.yaml serviceaccount1 --local --dry-run=client -o yaml Options--allSelect all resources, in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-set\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for serviceaccount-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--localIf true, set serviceaccount will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the ser",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_serviceaccount/",
    "id": "k8s_00201_qa_3554"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e   t h e   s e r v i c e   a c c o u n t   o f   p o d   t e m p l a t e   r e s o u r c e s .   P o s s i b l e   r e s o u r c e s   ( c a s e   i n s e n s i t i v e )   c a n   b e :   r e p l i c a t i o n c o n t r o l l e r   ( r c ) ,   d e p l o y m e n t   ( d e p l o y ) ,   d a e m o n s e t   ( d s ) ,   j o b ,   r e p l i c a s e t   ( r s ) ,   s t a t e f u l s e t   k u b e c t l   s e t   s e r v i c e a c c o u n t   ( - f   F I L E N A M E   |   T Y P E   N A M E )   S E R V I C E _ A C C O U N T",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_serviceaccount/",
    "id": "k8s_00201_section_2_3555"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   d e p l o y m e n t   n g i n x - d e p l o y m e n t ' s   s e r v i c e   a c c o u n t   t o   s e r v i c e a c c o u n t 1   k u b e c t l   s e t   s e r v i c e a c c o u n t   d e p l o y m e n t   n g i n x - d e p l o y m e n t   s e r v i c e a c c o u n t 1   #   P r i n t   t h e   r e s u l t   ( i n   Y A M L   f o r m a t )   o f   u p d a t e d   n g i n x   d e p l o y m e n t   w i t h   t h e   s e r v i c e   a c c o u n t   f r o m   l o c a l   f i l e ,   w i t h o u t   h i t t i n g   t h e   A P I   s e r v e r   k u b e c t l   s e t   s a   - f   n g i n x - d e p l o y m e n t . y a m l   s e r v i c e a c c o u n t 1   - - l o c a l   - - d r y - r u n = c l i e n t   - o   y a m l",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_serviceaccount/",
    "id": "k8s_00201_section_2_3556"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s ,   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   s e r v i c e a c c o u n t   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   I f   t r u e ,   s e t   s e r v i c e a c c o u n t   w i l l   N O T   c o n t a c t   a p i - s e r v e r   b u t   r u n   l o c a l l y .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_serviceaccount/",
    "id": "k8s_00201_section_2_3557"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_serviceaccount/",
    "id": "k8s_00201_section_2_3558"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   s e t   -   S e t   s p e c i f i c   f e a t u r e s   o n   o b j e c t s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_serviceaccount/",
    "id": "k8s_00201_section_2_3559"
  },
  {
    "question": "What is Generating Reference Documentation for Metrics?",
    "answer": "Generating Reference Documentation for MetricsThis page demonstrates the generation of metrics reference documentation.Before you beginRequirements:You need a machine that is running Linux or macOS.You need to have these tools installed:Python v3.7.x+GitGolang version 1.13+Pip used to install PyYAMLPyYAML v5.1.2makegcc compiler/linkerDocker (Required only for kubectl command reference)Your PATH environment variable must include the required build tools, such as the Go binary and python.You need to know how to create a pull request to a GitHub repository. This involves creating your own fork of the repository. For more information, see Work from a local clone.Clone the Kubernetes repositoryThe metric generation happens in the Kubernetes repository. To clone the repository, change directories to where you want the clone to exist.Then, execute the following command:git clone https://www.github.com/kubernetes/kubernetes This creates a kubernetes folder in your current working directory.Generate the metricsInside the cloned Kubernetes repository, locate the test/instrumentation/documentation directory. The metrics documentation is generated in this directory.With each release, new metrics are added. After you run the metrics documentation generator script, copy the metrics documentation to the Kubernetes website and publish the updated metrics documentation.To generate the latest metrics, make sure you are in the root of the cloned Kubernetes directory. Then, execute the following command:./test/instrumentation/update-documentation.sh To check for changes, execute:git status The output is similar to:./test/instrumentation/documentation/documentation.md ./test/instrumentation/documentation/documentation-list.yaml Copy the generated metrics documentation file to the Kubernetes website repositorySet the Kubernetes website root environment variable.Execute the following command to set the website root:export WEBSITE_ROOT=<path to website root> Copy the generated metrics file to the Kubernetes website repository.cp ./test/instrumentation/documentation/documentation.md \"${WEBSITE_ROOT}/content/en/docs/reference/instrumentation/metrics.md\" Note:If you get an error, check that you have permission to copy the file. You can use chown to change the file ownership back to your own user.Create a pull requestTo create a pull request, follow the instructions in Opening a pull request.What's nextContribute-upstreamGenerating Reference Docs for Kubernetes Components and ToolsGenerating Reference Documentation for kubectl Commands",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/metrics-reference/",
    "id": "k8s_00202_qa_3560"
  },
  {
    "question": "How does Generating Reference Documentation for Metrics work?",
    "answer": "Generating Reference Documentation for MetricsThis page demonstrates the generation of metrics reference documentation.Before you beginRequirements:You need a machine that is running Linux or macOS.You need to have these tools installed:Python v3.7.x+GitGolang version 1.13+Pip used to install PyYAMLPyYAML v5.1.2makegcc compiler/linkerDocker (Required only for kubectl command reference)Your PATH environment variable must include the required build tools, such as the Go binary and python.You need to know how to create a pull request to a GitHub repository. This involves creating your own fork of the repository. For more information, see Work from a local clone.Clone the Kubernetes repositoryThe metric generation happens in the Kubernetes repository. To clone the repository, change directories to where you want the clone to exist.Then, execute the following command:git clone https://www.github.com/kubernetes/kubernetes This creates a kubernetes folder in your current working directory.Generate the metricsInside the cloned Kubernetes repository, locate the test/instrumentation/documentation directory. The metrics documentation is generated in this directory.With each release, new metrics are added. After you run the metrics documentation generator script, copy the metrics documentation to the Kubernetes website and publish the updated metrics documentation.To generate the latest metrics, make sure you are in the root of the cloned Kubernetes directory. Then, execute the following command:./test/instrumentation/update-documentation.sh To check for changes, execute:git status The output is similar to:./test/instrumentation/documentation/documentation.md ./test/instrumentation/documentation/documentation-list.yaml Copy the generated metrics documentation file to the Kubernetes website repositorySet the Kubernetes website root environment variable.Execute the following command to set the website root:export WEBSITE_ROOT=<path to website root> Copy the generated metrics file to the Kubernetes website repository.cp ./test/instrumentation/documentation/documentation.md \"${WEBSITE_ROOT}/content/en/docs/reference/instrumentation/metrics.md\" Note:If you get an error, check that you have permission to copy the file. You can use chown to change the file ownership back to your own user.Create a pull requestTo create a pull request, follow the instructions in Opening a pull request.What's nextContribute-upstreamGenerating Reference Docs for Kubernetes Components and ToolsGenerating Reference Documentation for kubectl Commands",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/metrics-reference/",
    "id": "k8s_00202_qa_3561"
  },
  {
    "question": "When would you use Generating Reference Documentation for Metrics?",
    "answer": "Generating Reference Documentation for MetricsThis page demonstrates the generation of metrics reference documentation.Before you beginRequirements:You need a machine that is running Linux or macOS.You need to have these tools installed:Python v3.7.x+GitGolang version 1.13+Pip used to install PyYAMLPyYAML v5.1.2makegcc compiler/linkerDocker (Required only for kubectl command reference)Your PATH environment variable must include the required build tools, such as the Go binary and python.You need to know how to create a pull request to a GitHub repository. This involves creating your own fork of the repository. For more information, see Work from a local clone.Clone the Kubernetes repositoryThe metric generation happens in the Kubernetes repository. To clone the repository, change directories to where you want the clone to exist.Then, execute the following command:git clone https://www.github.com/kubernetes/kubernetes This creates a kubernetes folder in your current working directory.Generate the metricsInside the cloned Kubernetes repository, locate the test/instrumentation/documentation directory. The metrics documentation is generated in this directory.With each release, new metrics are added. After you run the metrics documentation generator script, copy the metrics documentation to the Kubernetes website and publish the updated metrics documentation.To generate the latest metrics, make sure you are in the root of the cloned Kubernetes directory. Then, execute the following command:./test/instrumentation/update-documentation.sh To check for changes, execute:git status The output is similar to:./test/instrumentation/documentation/documentation.md ./test/instrumentation/documentation/documentation-list.yaml Copy the generated metrics documentation file to the Kubernetes website repositorySet the Kubernetes website root environment variable.Execute the following command to set the website root:export WEBSITE_ROOT=<path to website root> Copy the generated metrics file to the Kubernetes website repository.cp ./test/instrumentation/documentation/documentation.md \"${WEBSITE_ROOT}/content/en/docs/reference/instrumentation/metrics.md\" Note:If you get an error, check that you have permission to copy the file. You can use chown to change the file ownership back to your own user.Create a pull requestTo create a pull request, follow the instructions in Opening a pull request.What's nextContribute-upstreamGenerating Reference Docs for Kubernetes Components and ToolsGenerating Reference Documentation for kubectl Commands",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/metrics-reference/",
    "id": "k8s_00202_qa_3562"
  },
  {
    "question": "What are the benefits of Generating Reference Documentation for Metrics?",
    "answer": "Generating Reference Documentation for MetricsThis page demonstrates the generation of metrics reference documentation.Before you beginRequirements:You need a machine that is running Linux or macOS.You need to have these tools installed:Python v3.7.x+GitGolang version 1.13+Pip used to install PyYAMLPyYAML v5.1.2makegcc compiler/linkerDocker (Required only for kubectl command reference)Your PATH environment variable must include the required build tools, such as the Go binary and python.You need to know how to create a pull request to a GitHub repository. This involves creating your own fork of the repository. For more information, see Work from a local clone.Clone the Kubernetes repositoryThe metric generation happens in the Kubernetes repository. To clone the repository, change directories to where you want the clone to exist.Then, execute the following command:git clone https://www.github.com/kubernetes/kubernetes This creates a kubernetes folder in your current working directory.Generate the metricsInside the cloned Kubernetes repository, locate the test/instrumentation/documentation directory. The metrics documentation is generated in this directory.With each release, new metrics are added. After you run the metrics documentation generator script, copy the metrics documentation to the Kubernetes website and publish the updated metrics documentation.To generate the latest metrics, make sure you are in the root of the cloned Kubernetes directory. Then, execute the following command:./test/instrumentation/update-documentation.sh To check for changes, execute:git status The output is similar to:./test/instrumentation/documentation/documentation.md ./test/instrumentation/documentation/documentation-list.yaml Copy the generated metrics documentation file to the Kubernetes website repositorySet the Kubernetes website root environment variable.Execute the following command to set the website root:export WEBSITE_ROOT=<path to website root> Copy the generated metrics file to the Kubernetes website repository.cp ./test/instrumentation/documentation/documentation.md \"${WEBSITE_ROOT}/content/en/docs/reference/instrumentation/metrics.md\" Note:If you get an error, check that you have permission to copy the file. You can use chown to change the file ownership back to your own user.Create a pull requestTo create a pull request, follow the instructions in Opening a pull request.What's nextContribute-upstreamGenerating Reference Docs for Kubernetes Components and ToolsGenerating Reference Documentation for kubectl Commands",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/metrics-reference/",
    "id": "k8s_00202_qa_3563"
  },
  {
    "question": "What is Generating Reference Documentation for Metrics?",
    "answer": "T h i s   p a g e   d e m o n s t r a t e s   t h e   g e n e r a t i o n   o f   m e t r i c s   r e f e r e n c e   d o c u m e n t a t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/metrics-reference/",
    "id": "k8s_00202_section_1_3564"
  },
  {
    "question": "What is Requirements:?",
    "answer": "Y o u   n e e d   a   m a c h i n e   t h a t   i s   r u n n i n g   L i n u x   o r   m a c O S . Y o u   n e e d   t o   h a v e   t h e s e   t o o l s   i n s t a l l e d : P y t h o n   v 3 . 7 . x + G i t G o l a n g   v e r s i o n   1 . 1 3 + P i p   u s e d   t o   i n s t a l l   P y Y A M L P y Y A M L   v 5 . 1 . 2 m a k e g c c   c o m p i l e r / l i n k e r D o c k e r   ( R e q u i r e d   o n l y   f o r   k u b e c t l   c o m m a n d   r e f e r e n c e ) Y o u r   P A T H   e n v i r o n m e n t   v a r i a b l e   m u s t   i n c l u d e   t h e   r e q u i r e d   b u i l d   t o o l s ,   s u c h   a s   t h e   G o   b i n a r y   a n d   p y t h o n . Y o u   n e e d   t o   k n o w   h o w   t o   c r e a t e   a   p u l l   r e q u e s t   t o   a   G i t H u b   r e p o s i t o r y .   T h i s   i n v o l v e s   c r e a t i n g   y o u r   o w n   f o r k   o f   t h e   r e p o s i t o r y .   F o r   m o r e   i n f o r m a t i o n ,   s e e   W o r k   f r o m   a   l o c a l   c l o n e .   Y o u   n e e d   a   m a c h i n e   t h a t   i s   r u n n i n g   L i n u x   o r   m a c O S .   Y o u   n e e d   t o   h a v e   t h e s e   t o o l s   i n s t a l l e d :   P y t h o n   v 3 . 7 . x + G i t G o l a n g   v e r s i o n   1 . 1 3 + P i p   u s e d   t o   i n s t a l l   P y Y A M L P y Y A M L   v 5 . 1 . 2 m a k e g c c   c o m p i l e r / l i n k e r D o c k e r   ( R e q u i r e d   o n l y   f o r   k u b e c t l   c o m m a n d   r e f e r e n c e )   Y o u r   P A T H   e n v i r o n m e n t   v a r i a b l e   m u s t   i n c l u d e   t h e   r e q u i r e d   b u i l d   t o o l s ,   s u c h   a s   t h e   G o   b i n a r y   a n d   p y t h o n .   Y o u   n e e d   t o   k n o w   h o w   t o   c r e a t e   a   p u l l   r e q u e s t   t o   a   G i t H u b   r e p o s i t o r y .   T h i s   i n v o l v e s   c r e a t i n g   y o u r   o w n   f o r k   o f   t h e   r e p o s i t o r y .   F o r   m o r ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/metrics-reference/",
    "id": "k8s_00202_section_3_3565"
  },
  {
    "question": "What is Clone the Kubernetes repository?",
    "answer": "T h e   m e t r i c   g e n e r a t i o n   h a p p e n s   i n   t h e   K u b e r n e t e s   r e p o s i t o r y .   T o   c l o n e   t h e   r e p o s i t o r y ,   c h a n g e   d i r e c t o r i e s   t o   w h e r e   y o u   w a n t   t h e   c l o n e   t o   e x i s t .   T h e n ,   e x e c u t e   t h e   f o l l o w i n g   c o m m a n d :   g i t   c l o n e   h t t p s : / / w w w . g i t h u b . c o m / k u b e r n e t e s / k u b e r n e t e s   T h i s   c r e a t e s   a   k u b e r n e t e s   f o l d e r   i n   y o u r   c u r r e n t   w o r k i n g   d i r e c t o r y .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/metrics-reference/",
    "id": "k8s_00202_section_2_3566"
  },
  {
    "question": "What is Generate the metrics?",
    "answer": "I n s i d e   t h e   c l o n e d   K u b e r n e t e s   r e p o s i t o r y ,   l o c a t e   t h e   t e s t / i n s t r u m e n t a t i o n / d o c u m e n t a t i o n   d i r e c t o r y .   T h e   m e t r i c s   d o c u m e n t a t i o n   i s   g e n e r a t e d   i n   t h i s   d i r e c t o r y .   W i t h   e a c h   r e l e a s e ,   n e w   m e t r i c s   a r e   a d d e d .   A f t e r   y o u   r u n   t h e   m e t r i c s   d o c u m e n t a t i o n   g e n e r a t o r   s c r i p t ,   c o p y   t h e   m e t r i c s   d o c u m e n t a t i o n   t o   t h e   K u b e r n e t e s   w e b s i t e   a n d   p u b l i s h   t h e   u p d a t e d   m e t r i c s   d o c u m e n t a t i o n .   T o   g e n e r a t e   t h e   l a t e s t   m e t r i c s ,   m a k e   s u r e   y o u   a r e   i n   t h e   r o o t   o f   t h e   c l o n e d   K u b e r n e t e s   d i r e c t o r y .   T h e n ,   e x e c u t e   t h e   f o l l o w i n g   c o m m a n d :   . / t e s t / i n s t r u m e n t a t i o n / u p d a t e - d o c u m e n t a t i o n . s h   T o   c h e c k   f o r   c h a n g e s ,   e x e c u t e :   g i t   s t a t u s   T h e   o u t p u t   i s   s i m i l a r   t o :   . / t e s t / i n s t r u m e n t a t i o n / d o c u m e n t a t i o n / d o c u m e n t a t i o n . m d   . / t e s t / i n s t r u m e n t a t i o n / d o c u m e n t a t i o n / d o c u m e n t a t i o n - l i s t . y a m l",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/metrics-reference/",
    "id": "k8s_00202_section_2_3567"
  },
  {
    "question": "What is Copy the generated metrics documentation file to the Kubernetes website repository?",
    "answer": "S e t   t h e   K u b e r n e t e s   w e b s i t e   r o o t   e n v i r o n m e n t   v a r i a b l e . E x e c u t e   t h e   f o l l o w i n g   c o m m a n d   t o   s e t   t h e   w e b s i t e   r o o t : e x p o r t   W E B S I T E _ R O O T = < p a t h   t o   w e b s i t e   r o o t >   C o p y   t h e   g e n e r a t e d   m e t r i c s   f i l e   t o   t h e   K u b e r n e t e s   w e b s i t e   r e p o s i t o r y . c p   . / t e s t / i n s t r u m e n t a t i o n / d o c u m e n t a t i o n / d o c u m e n t a t i o n . m d   \" $ { W E B S I T E _ R O O T } / c o n t e n t / e n / d o c s / r e f e r e n c e / i n s t r u m e n t a t i o n / m e t r i c s . m d \"   N o t e : I f   y o u   g e t   a n   e r r o r ,   c h e c k   t h a t   y o u   h a v e   p e r m i s s i o n   t o   c o p y   t h e   f i l e .   Y o u   c a n   u s e   c h o w n   t o   c h a n g e   t h e   f i l e   o w n e r s h i p   b a c k   t o   y o u r   o w n   u s e r .   S e t   t h e   K u b e r n e t e s   w e b s i t e   r o o t   e n v i r o n m e n t   v a r i a b l e .   E x e c u t e   t h e   f o l l o w i n g   c o m m a n d   t o   s e t   t h e   w e b s i t e   r o o t :   e x p o r t   W E B S I T E _ R O O T = < p a t h   t o   w e b s i t e   r o o t >   C o p y   t h e   g e n e r a t e d   m e t r i c s   f i l e   t o   t h e   K u b e r n e t e s   w e b s i t e   r e p o s i t o r y .   c p   . / t e s t / i n s t r u m e n t a t i o n / d o c u m e n t a t i o n / d o c u m e n t a t i o n . m d   \" $ { W E B S I T E _ R O O T } / c o n t e n t / e n / d o c s / r e f e r e n c e / i n s t r u m e n t a t i o n / m e t r i c s . m d \"",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/metrics-reference/",
    "id": "k8s_00202_section_2_3568"
  },
  {
    "question": "What is Create a pull request?",
    "answer": "T o   c r e a t e   a   p u l l   r e q u e s t ,   f o l l o w   t h e   i n s t r u c t i o n s   i n   O p e n i n g   a   p u l l   r e q u e s t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/metrics-reference/",
    "id": "k8s_00202_section_2_3569"
  },
  {
    "question": "What is What's next?",
    "answer": "C o n t r i b u t e - u p s t r e a m G e n e r a t i n g   R e f e r e n c e   D o c s   f o r   K u b e r n e t e s   C o m p o n e n t s   a n d   T o o l s G e n e r a t i n g   R e f e r e n c e   D o c u m e n t a t i o n   f o r   k u b e c t l   C o m m a n d s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/metrics-reference/",
    "id": "k8s_00202_section_2_3570"
  },
  {
    "question": "What is Liveness, Readiness, and Startup Probes?",
    "answer": "Liveness, Readiness, and Startup ProbesKubernetes has various types of probes:Liveness probeReadiness probeStartup probeLiveness probeLiveness probes determine when to restart a container. For example, liveness probes could catch a deadlock when an application is running but unable to make progress.If a container fails its liveness probe repeatedly, the kubelet restarts the container.Liveness probes do not wait for readiness probes to succeed. If you want to wait before executing a liveness probe, you can either define initialDelaySeconds or use a startup probe.Readiness probeReadiness probes determine when a container is ready to accept traffic. This is useful when waiting for an application to perform time-consuming initial tasks that depend on its backing services; for example: establishing network connections, loading files, and warming caches. Readiness probes can also be useful later in the container’s lifecycle, for example, when recovering from temporary faults or overloads.If the readiness probe returns a failed state, Kubernetes removes the pod from all matching service endpoints.Readiness probes run on the container during its whole lifecycle.Startup probeA startup probe verifies whether the application within a container is started. This can be used to adopt liveness checks on slow starting containers, avoiding them getting killed by the kubelet before they are up and running.If such a probe is configured, it disables liveness and readiness checks until it succeeds.This type of probe is only executed at startup, unlike liveness and readiness probes, which are run periodically.Read more about the Configure Liveness, Readiness and Startup Probes.",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/liveness-readiness-startup-probes/",
    "id": "k8s_00203_qa_3571"
  },
  {
    "question": "How does Liveness, Readiness, and Startup Probes work?",
    "answer": "Liveness, Readiness, and Startup ProbesKubernetes has various types of probes:Liveness probeReadiness probeStartup probeLiveness probeLiveness probes determine when to restart a container. For example, liveness probes could catch a deadlock when an application is running but unable to make progress.If a container fails its liveness probe repeatedly, the kubelet restarts the container.Liveness probes do not wait for readiness probes to succeed. If you want to wait before executing a liveness probe, you can either define initialDelaySeconds or use a startup probe.Readiness probeReadiness probes determine when a container is ready to accept traffic. This is useful when waiting for an application to perform time-consuming initial tasks that depend on its backing services; for example: establishing network connections, loading files, and warming caches. Readiness probes can also be useful later in the container’s lifecycle, for example, when recovering from temporary faults or overloads.If the readiness probe returns a failed state, Kubernetes removes the pod from all matching service endpoints.Readiness probes run on the container during its whole lifecycle.Startup probeA startup probe verifies whether the application within a container is started. This can be used to adopt liveness checks on slow starting containers, avoiding them getting killed by the kubelet before they are up and running.If such a probe is configured, it disables liveness and readiness checks until it succeeds.This type of probe is only executed at startup, unlike liveness and readiness probes, which are run periodically.Read more about the Configure Liveness, Readiness and Startup Probes.",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/liveness-readiness-startup-probes/",
    "id": "k8s_00203_qa_3572"
  },
  {
    "question": "When would you use Liveness, Readiness, and Startup Probes?",
    "answer": "Liveness, Readiness, and Startup ProbesKubernetes has various types of probes:Liveness probeReadiness probeStartup probeLiveness probeLiveness probes determine when to restart a container. For example, liveness probes could catch a deadlock when an application is running but unable to make progress.If a container fails its liveness probe repeatedly, the kubelet restarts the container.Liveness probes do not wait for readiness probes to succeed. If you want to wait before executing a liveness probe, you can either define initialDelaySeconds or use a startup probe.Readiness probeReadiness probes determine when a container is ready to accept traffic. This is useful when waiting for an application to perform time-consuming initial tasks that depend on its backing services; for example: establishing network connections, loading files, and warming caches. Readiness probes can also be useful later in the container’s lifecycle, for example, when recovering from temporary faults or overloads.If the readiness probe returns a failed state, Kubernetes removes the pod from all matching service endpoints.Readiness probes run on the container during its whole lifecycle.Startup probeA startup probe verifies whether the application within a container is started. This can be used to adopt liveness checks on slow starting containers, avoiding them getting killed by the kubelet before they are up and running.If such a probe is configured, it disables liveness and readiness checks until it succeeds.This type of probe is only executed at startup, unlike liveness and readiness probes, which are run periodically.Read more about the Configure Liveness, Readiness and Startup Probes.",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/liveness-readiness-startup-probes/",
    "id": "k8s_00203_qa_3573"
  },
  {
    "question": "What are the benefits of Liveness, Readiness, and Startup Probes?",
    "answer": "Liveness, Readiness, and Startup ProbesKubernetes has various types of probes:Liveness probeReadiness probeStartup probeLiveness probeLiveness probes determine when to restart a container. For example, liveness probes could catch a deadlock when an application is running but unable to make progress.If a container fails its liveness probe repeatedly, the kubelet restarts the container.Liveness probes do not wait for readiness probes to succeed. If you want to wait before executing a liveness probe, you can either define initialDelaySeconds or use a startup probe.Readiness probeReadiness probes determine when a container is ready to accept traffic. This is useful when waiting for an application to perform time-consuming initial tasks that depend on its backing services; for example: establishing network connections, loading files, and warming caches. Readiness probes can also be useful later in the container’s lifecycle, for example, when recovering from temporary faults or overloads.If the readiness probe returns a failed state, Kubernetes removes the pod from all matching service endpoints.Readiness probes run on the container during its whole lifecycle.Startup probeA startup probe verifies whether the application within a container is started. This can be used to adopt liveness checks on slow starting containers, avoiding them getting killed by the kubelet before they are up and running.If such a probe is configured, it disables liveness and readiness checks until it succeeds.This type of probe is only executed at startup, unlike liveness and readiness probes, which are run periodically.Read more about the Configure Liveness, Readiness and Startup Probes.",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/liveness-readiness-startup-probes/",
    "id": "k8s_00203_qa_3574"
  },
  {
    "question": "What is Liveness, Readiness, and Startup Probes?",
    "answer": "K u b e r n e t e s   h a s   v a r i o u s   t y p e s   o f   p r o b e s :   L i v e n e s s   p r o b e R e a d i n e s s   p r o b e S t a r t u p   p r o b e",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/liveness-readiness-startup-probes/",
    "id": "k8s_00203_section_1_3575"
  },
  {
    "question": "What is Liveness probe?",
    "answer": "L i v e n e s s   p r o b e s   d e t e r m i n e   w h e n   t o   r e s t a r t   a   c o n t a i n e r .   F o r   e x a m p l e ,   l i v e n e s s   p r o b e s   c o u l d   c a t c h   a   d e a d l o c k   w h e n   a n   a p p l i c a t i o n   i s   r u n n i n g   b u t   u n a b l e   t o   m a k e   p r o g r e s s .   I f   a   c o n t a i n e r   f a i l s   i t s   l i v e n e s s   p r o b e   r e p e a t e d l y ,   t h e   k u b e l e t   r e s t a r t s   t h e   c o n t a i n e r .   L i v e n e s s   p r o b e s   d o   n o t   w a i t   f o r   r e a d i n e s s   p r o b e s   t o   s u c c e e d .   I f   y o u   w a n t   t o   w a i t   b e f o r e   e x e c u t i n g   a   l i v e n e s s   p r o b e ,   y o u   c a n   e i t h e r   d e f i n e   i n i t i a l D e l a y S e c o n d s   o r   u s e   a   s t a r t u p   p r o b e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/liveness-readiness-startup-probes/",
    "id": "k8s_00203_section_2_3576"
  },
  {
    "question": "What is Readiness probe?",
    "answer": "R e a d i n e s s   p r o b e s   d e t e r m i n e   w h e n   a   c o n t a i n e r   i s   r e a d y   t o   a c c e p t   t r a f f i c .   T h i s   i s   u s e f u l   w h e n   w a i t i n g   f o r   a n   a p p l i c a t i o n   t o   p e r f o r m   t i m e - c o n s u m i n g   i n i t i a l   t a s k s   t h a t   d e p e n d   o n   i t s   b a c k i n g   s e r v i c e s ;   f o r   e x a m p l e :   e s t a b l i s h i n g   n e t w o r k   c o n n e c t i o n s ,   l o a d i n g   f i l e s ,   a n d   w a r m i n g   c a c h e s .   R e a d i n e s s   p r o b e s   c a n   a l s o   b e   u s e f u l   l a t e r   i n   t h e   c o n t a i n e r ’ s   l i f e c y c l e ,   f o r   e x a m p l e ,   w h e n   r e c o v e r i n g   f r o m   t e m p o r a r y   f a u l t s   o r   o v e r l o a d s .   I f   t h e   r e a d i n e s s   p r o b e   r e t u r n s   a   f a i l e d   s t a t e ,   K u b e r n e t e s   r e m o v e s   t h e   p o d   f r o m   a l l   m a t c h i n g   s e r v i c e   e n d p o i n t s .   R e a d i n e s s   p r o b e s   r u n   o n   t h e   c o n t a i n e r   d u r i n g   i t s   w h o l e   l i f e c y c l e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/liveness-readiness-startup-probes/",
    "id": "k8s_00203_section_2_3577"
  },
  {
    "question": "What is Startup probe?",
    "answer": "A   s t a r t u p   p r o b e   v e r i f i e s   w h e t h e r   t h e   a p p l i c a t i o n   w i t h i n   a   c o n t a i n e r   i s   s t a r t e d .   T h i s   c a n   b e   u s e d   t o   a d o p t   l i v e n e s s   c h e c k s   o n   s l o w   s t a r t i n g   c o n t a i n e r s ,   a v o i d i n g   t h e m   g e t t i n g   k i l l e d   b y   t h e   k u b e l e t   b e f o r e   t h e y   a r e   u p   a n d   r u n n i n g .   I f   s u c h   a   p r o b e   i s   c o n f i g u r e d ,   i t   d i s a b l e s   l i v e n e s s   a n d   r e a d i n e s s   c h e c k s   u n t i l   i t   s u c c e e d s .   T h i s   t y p e   o f   p r o b e   i s   o n l y   e x e c u t e d   a t   s t a r t u p ,   u n l i k e   l i v e n e s s   a n d   r e a d i n e s s   p r o b e s ,   w h i c h   a r e   r u n   p e r i o d i c a l l y .   R e a d   m o r e   a b o u t   t h e   C o n f i g u r e   L i v e n e s s ,   R e a d i n e s s   a n d   S t a r t u p   P r o b e s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/liveness-readiness-startup-probes/",
    "id": "k8s_00203_section_2_3578"
  },
  {
    "question": "What is kubectl config current-context?",
    "answer": "kubectl config current-contextSynopsisDisplay the current-context.kubectl config current-context [flags] Examples # Display the current-context kubectl config current-context Options-h, --helphelp for current-contextParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_current-context/",
    "id": "k8s_00204_qa_3579"
  },
  {
    "question": "How does kubectl config current-context work?",
    "answer": "kubectl config current-contextSynopsisDisplay the current-context.kubectl config current-context [flags] Examples # Display the current-context kubectl config current-context Options-h, --helphelp for current-contextParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_current-context/",
    "id": "k8s_00204_qa_3580"
  },
  {
    "question": "When would you use kubectl config current-context?",
    "answer": "kubectl config current-contextSynopsisDisplay the current-context.kubectl config current-context [flags] Examples # Display the current-context kubectl config current-context Options-h, --helphelp for current-contextParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_current-context/",
    "id": "k8s_00204_qa_3581"
  },
  {
    "question": "What are the benefits of kubectl config current-context?",
    "answer": "kubectl config current-contextSynopsisDisplay the current-context.kubectl config current-context [flags] Examples # Display the current-context kubectl config current-context Options-h, --helphelp for current-contextParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_current-context/",
    "id": "k8s_00204_qa_3582"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   t h e   c u r r e n t - c o n t e x t .   k u b e c t l   c o n f i g   c u r r e n t - c o n t e x t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_current-context/",
    "id": "k8s_00204_section_2_3583"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D i s p l a y   t h e   c u r r e n t - c o n t e x t   k u b e c t l   c o n f i g   c u r r e n t - c o n t e x t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_current-context/",
    "id": "k8s_00204_section_2_3584"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c u r r e n t - c o n t e x t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_current-context/",
    "id": "k8s_00204_section_2_3585"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_current-context/",
    "id": "k8s_00204_section_2_3586"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_current-context/",
    "id": "k8s_00204_section_2_3587"
  },
  {
    "question": "What is Dual-stack support with kubeadm?",
    "answer": "Dual-stack support with kubeadmFEATURE STATE: Kubernetes v1.23 [stable]Your Kubernetes cluster includes dual-stack networking, which means that cluster networking lets you use either address family. In a cluster, the control plane can assign both an IPv4 address and an IPv6 address to a single Pod or a Service.Before you beginYou need to have installed the kubeadm tool, following the steps from Installing kubeadm.For each server that you want to use as a node, make sure it allows IPv6 forwarding.Enable IPv6 packet forwardingTo check if IPv6 packet forwarding is enabled:sysctl net.ipv6.conf.all.forwarding If the output is net.ipv6.conf.all.forwarding = 1 it is already enabled. Otherwise it is not enabled yet.To manually enable IPv6 packet forwarding:# sysctl params required by setup, params persist across reboots cat <<EOF | sudo tee -a /etc/sysctl.d/k8s.conf net.ipv6.conf.all.forwarding = 1 EOF # Apply sysctl params without reboot sudo sysctl --system You need to have an IPv4 and and IPv6 address range to use. Cluster operators typically use private address ranges for IPv4. For IPv6, a cluster operator typically chooses a global unicast address block from within 2000::/3, using a range that is assigned to the operator. You don't have to route the cluster's IP address ranges to the public internet.The size of the IP address allocations should be suitable for the number of Pods and Services that you are planning to run.Note:If you are upgrading an existing cluster with the kubeadm upgrade command, kubeadm does not support making modifications to the pod IP address range (“cluster CIDR”) nor to the cluster's Service address range (“Service CIDR”).Create a dual-stack clusterTo create a dual-stack cluster with kubeadm init you can pass command line arguments similar to the following example:# These address ranges are examples kubeadm init --pod-network-cidr=10.244.0.0/16,2001:db8:42:0::/56 --service-cidr=10.96.0.0/16,2001:db8:42:1::/112 To make things clearer, here is an example kubeadm configuration file kubeadm-config.yaml for the primary dual-stack control plane node.--- apiVersion: kubeadm.k8s.io/v1beta4 kind: ClusterConfiguration networking: podSubnet: 10.244.0.0/16,2001:db8:42:0::/56 serviceSubnet: 10.96.0.0/16,2001:db8:42:1::/112 --- apiVersion: kubeadm.k8s.io/v1beta4 kind: InitConfiguration localAPIEndpoint: advertiseAddress: \"10.100.0.1\" bindPort: 6443 nodeRegistration: kubeletExtraArgs: - name: \"node-ip\" value: \"10.100.0.2,fd00:1:2:3::2\" advertiseAddress in InitConfiguration specifies the IP address that the API Server will advertise it is listening on. The value of advertiseAddress equals the --apiserver-advertise-address flag of kubeadm init.Run kubeadm to initiate the dual-stack control plane node:kubeadm init --config=kubeadm-config.yaml The kube-controller-manager flags --node-cidr-mask-size-ipv4|--node-cidr-mask-size-ipv6 are set with default values. See configure IPv4/IPv6 dual stack.Note:The --apiserver-advertise-address flag does no",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/dual-stack-support/",
    "id": "k8s_00205_qa_3588"
  },
  {
    "question": "How does Dual-stack support with kubeadm work?",
    "answer": "Dual-stack support with kubeadmFEATURE STATE: Kubernetes v1.23 [stable]Your Kubernetes cluster includes dual-stack networking, which means that cluster networking lets you use either address family. In a cluster, the control plane can assign both an IPv4 address and an IPv6 address to a single Pod or a Service.Before you beginYou need to have installed the kubeadm tool, following the steps from Installing kubeadm.For each server that you want to use as a node, make sure it allows IPv6 forwarding.Enable IPv6 packet forwardingTo check if IPv6 packet forwarding is enabled:sysctl net.ipv6.conf.all.forwarding If the output is net.ipv6.conf.all.forwarding = 1 it is already enabled. Otherwise it is not enabled yet.To manually enable IPv6 packet forwarding:# sysctl params required by setup, params persist across reboots cat <<EOF | sudo tee -a /etc/sysctl.d/k8s.conf net.ipv6.conf.all.forwarding = 1 EOF # Apply sysctl params without reboot sudo sysctl --system You need to have an IPv4 and and IPv6 address range to use. Cluster operators typically use private address ranges for IPv4. For IPv6, a cluster operator typically chooses a global unicast address block from within 2000::/3, using a range that is assigned to the operator. You don't have to route the cluster's IP address ranges to the public internet.The size of the IP address allocations should be suitable for the number of Pods and Services that you are planning to run.Note:If you are upgrading an existing cluster with the kubeadm upgrade command, kubeadm does not support making modifications to the pod IP address range (“cluster CIDR”) nor to the cluster's Service address range (“Service CIDR”).Create a dual-stack clusterTo create a dual-stack cluster with kubeadm init you can pass command line arguments similar to the following example:# These address ranges are examples kubeadm init --pod-network-cidr=10.244.0.0/16,2001:db8:42:0::/56 --service-cidr=10.96.0.0/16,2001:db8:42:1::/112 To make things clearer, here is an example kubeadm configuration file kubeadm-config.yaml for the primary dual-stack control plane node.--- apiVersion: kubeadm.k8s.io/v1beta4 kind: ClusterConfiguration networking: podSubnet: 10.244.0.0/16,2001:db8:42:0::/56 serviceSubnet: 10.96.0.0/16,2001:db8:42:1::/112 --- apiVersion: kubeadm.k8s.io/v1beta4 kind: InitConfiguration localAPIEndpoint: advertiseAddress: \"10.100.0.1\" bindPort: 6443 nodeRegistration: kubeletExtraArgs: - name: \"node-ip\" value: \"10.100.0.2,fd00:1:2:3::2\" advertiseAddress in InitConfiguration specifies the IP address that the API Server will advertise it is listening on. The value of advertiseAddress equals the --apiserver-advertise-address flag of kubeadm init.Run kubeadm to initiate the dual-stack control plane node:kubeadm init --config=kubeadm-config.yaml The kube-controller-manager flags --node-cidr-mask-size-ipv4|--node-cidr-mask-size-ipv6 are set with default values. See configure IPv4/IPv6 dual stack.Note:The --apiserver-advertise-address flag does no",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/dual-stack-support/",
    "id": "k8s_00205_qa_3589"
  },
  {
    "question": "When would you use Dual-stack support with kubeadm?",
    "answer": "Dual-stack support with kubeadmFEATURE STATE: Kubernetes v1.23 [stable]Your Kubernetes cluster includes dual-stack networking, which means that cluster networking lets you use either address family. In a cluster, the control plane can assign both an IPv4 address and an IPv6 address to a single Pod or a Service.Before you beginYou need to have installed the kubeadm tool, following the steps from Installing kubeadm.For each server that you want to use as a node, make sure it allows IPv6 forwarding.Enable IPv6 packet forwardingTo check if IPv6 packet forwarding is enabled:sysctl net.ipv6.conf.all.forwarding If the output is net.ipv6.conf.all.forwarding = 1 it is already enabled. Otherwise it is not enabled yet.To manually enable IPv6 packet forwarding:# sysctl params required by setup, params persist across reboots cat <<EOF | sudo tee -a /etc/sysctl.d/k8s.conf net.ipv6.conf.all.forwarding = 1 EOF # Apply sysctl params without reboot sudo sysctl --system You need to have an IPv4 and and IPv6 address range to use. Cluster operators typically use private address ranges for IPv4. For IPv6, a cluster operator typically chooses a global unicast address block from within 2000::/3, using a range that is assigned to the operator. You don't have to route the cluster's IP address ranges to the public internet.The size of the IP address allocations should be suitable for the number of Pods and Services that you are planning to run.Note:If you are upgrading an existing cluster with the kubeadm upgrade command, kubeadm does not support making modifications to the pod IP address range (“cluster CIDR”) nor to the cluster's Service address range (“Service CIDR”).Create a dual-stack clusterTo create a dual-stack cluster with kubeadm init you can pass command line arguments similar to the following example:# These address ranges are examples kubeadm init --pod-network-cidr=10.244.0.0/16,2001:db8:42:0::/56 --service-cidr=10.96.0.0/16,2001:db8:42:1::/112 To make things clearer, here is an example kubeadm configuration file kubeadm-config.yaml for the primary dual-stack control plane node.--- apiVersion: kubeadm.k8s.io/v1beta4 kind: ClusterConfiguration networking: podSubnet: 10.244.0.0/16,2001:db8:42:0::/56 serviceSubnet: 10.96.0.0/16,2001:db8:42:1::/112 --- apiVersion: kubeadm.k8s.io/v1beta4 kind: InitConfiguration localAPIEndpoint: advertiseAddress: \"10.100.0.1\" bindPort: 6443 nodeRegistration: kubeletExtraArgs: - name: \"node-ip\" value: \"10.100.0.2,fd00:1:2:3::2\" advertiseAddress in InitConfiguration specifies the IP address that the API Server will advertise it is listening on. The value of advertiseAddress equals the --apiserver-advertise-address flag of kubeadm init.Run kubeadm to initiate the dual-stack control plane node:kubeadm init --config=kubeadm-config.yaml The kube-controller-manager flags --node-cidr-mask-size-ipv4|--node-cidr-mask-size-ipv6 are set with default values. See configure IPv4/IPv6 dual stack.Note:The --apiserver-advertise-address flag does no",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/dual-stack-support/",
    "id": "k8s_00205_qa_3590"
  },
  {
    "question": "What are the benefits of Dual-stack support with kubeadm?",
    "answer": "Dual-stack support with kubeadmFEATURE STATE: Kubernetes v1.23 [stable]Your Kubernetes cluster includes dual-stack networking, which means that cluster networking lets you use either address family. In a cluster, the control plane can assign both an IPv4 address and an IPv6 address to a single Pod or a Service.Before you beginYou need to have installed the kubeadm tool, following the steps from Installing kubeadm.For each server that you want to use as a node, make sure it allows IPv6 forwarding.Enable IPv6 packet forwardingTo check if IPv6 packet forwarding is enabled:sysctl net.ipv6.conf.all.forwarding If the output is net.ipv6.conf.all.forwarding = 1 it is already enabled. Otherwise it is not enabled yet.To manually enable IPv6 packet forwarding:# sysctl params required by setup, params persist across reboots cat <<EOF | sudo tee -a /etc/sysctl.d/k8s.conf net.ipv6.conf.all.forwarding = 1 EOF # Apply sysctl params without reboot sudo sysctl --system You need to have an IPv4 and and IPv6 address range to use. Cluster operators typically use private address ranges for IPv4. For IPv6, a cluster operator typically chooses a global unicast address block from within 2000::/3, using a range that is assigned to the operator. You don't have to route the cluster's IP address ranges to the public internet.The size of the IP address allocations should be suitable for the number of Pods and Services that you are planning to run.Note:If you are upgrading an existing cluster with the kubeadm upgrade command, kubeadm does not support making modifications to the pod IP address range (“cluster CIDR”) nor to the cluster's Service address range (“Service CIDR”).Create a dual-stack clusterTo create a dual-stack cluster with kubeadm init you can pass command line arguments similar to the following example:# These address ranges are examples kubeadm init --pod-network-cidr=10.244.0.0/16,2001:db8:42:0::/56 --service-cidr=10.96.0.0/16,2001:db8:42:1::/112 To make things clearer, here is an example kubeadm configuration file kubeadm-config.yaml for the primary dual-stack control plane node.--- apiVersion: kubeadm.k8s.io/v1beta4 kind: ClusterConfiguration networking: podSubnet: 10.244.0.0/16,2001:db8:42:0::/56 serviceSubnet: 10.96.0.0/16,2001:db8:42:1::/112 --- apiVersion: kubeadm.k8s.io/v1beta4 kind: InitConfiguration localAPIEndpoint: advertiseAddress: \"10.100.0.1\" bindPort: 6443 nodeRegistration: kubeletExtraArgs: - name: \"node-ip\" value: \"10.100.0.2,fd00:1:2:3::2\" advertiseAddress in InitConfiguration specifies the IP address that the API Server will advertise it is listening on. The value of advertiseAddress equals the --apiserver-advertise-address flag of kubeadm init.Run kubeadm to initiate the dual-stack control plane node:kubeadm init --config=kubeadm-config.yaml The kube-controller-manager flags --node-cidr-mask-size-ipv4|--node-cidr-mask-size-ipv6 are set with default values. See configure IPv4/IPv6 dual stack.Note:The --apiserver-advertise-address flag does no",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/dual-stack-support/",
    "id": "k8s_00205_qa_3591"
  },
  {
    "question": "What is Dual-stack support with kubeadm?",
    "answer": "Y o u r   K u b e r n e t e s   c l u s t e r   i n c l u d e s   d u a l - s t a c k   n e t w o r k i n g ,   w h i c h   m e a n s   t h a t   c l u s t e r   n e t w o r k i n g   l e t s   y o u   u s e   e i t h e r   a d d r e s s   f a m i l y .   I n   a   c l u s t e r ,   t h e   c o n t r o l   p l a n e   c a n   a s s i g n   b o t h   a n   I P v 4   a d d r e s s   a n d   a n   I P v 6   a d d r e s s   t o   a   s i n g l e   P o d   o r   a   S e r v i c e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/dual-stack-support/",
    "id": "k8s_00205_section_1_3592"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   i n s t a l l e d   t h e   k u b e a d m   t o o l ,   f o l l o w i n g   t h e   s t e p s   f r o m   I n s t a l l i n g   k u b e a d m .   F o r   e a c h   s e r v e r   t h a t   y o u   w a n t   t o   u s e   a s   a   n o d e ,   m a k e   s u r e   i t   a l l o w s   I P v 6   f o r w a r d i n g .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/dual-stack-support/",
    "id": "k8s_00205_section_2_3593"
  },
  {
    "question": "What is Enable IPv6 packet forwarding?",
    "answer": "T o   c h e c k   i f   I P v 6   p a c k e t   f o r w a r d i n g   i s   e n a b l e d :   s y s c t l   n e t . i p v 6 . c o n f . a l l . f o r w a r d i n g   I f   t h e   o u t p u t   i s   n e t . i p v 6 . c o n f . a l l . f o r w a r d i n g   =   1   i t   i s   a l r e a d y   e n a b l e d .   O t h e r w i s e   i t   i s   n o t   e n a b l e d   y e t .   T o   m a n u a l l y   e n a b l e   I P v 6   p a c k e t   f o r w a r d i n g :   #   s y s c t l   p a r a m s   r e q u i r e d   b y   s e t u p ,   p a r a m s   p e r s i s t   a c r o s s   r e b o o t s   c a t   < < E O F   |   s u d o   t e e   - a   / e t c / s y s c t l . d / k 8 s . c o n f   n e t . i p v 6 . c o n f . a l l . f o r w a r d i n g   =   1   E O F   #   A p p l y   s y s c t l   p a r a m s   w i t h o u t   r e b o o t   s u d o   s y s c t l   - - s y s t e m   Y o u   n e e d   t o   h a v e   a n   I P v 4   a n d   a n d   I P v 6   a d d r e s s   r a n g e   t o   u s e .   C l u s t e r   o p e r a t o r s   t y p i c a l l y   u s e   p r i v a t e   a d d r e s s   r a n g e s   f o r   I P v 4 .   F o r   I P v 6 ,   a   c l u s t e r   o p e r a t o r   t y p i c a l l y   c h o o s e s   a   g l o b a l   u n i c a s t   a d d r e s s   b l o c k   f r o m   w i t h i n   2 0 0 0 : : / 3 ,   u s i n g   a   r a n g e   t h a t   i s   a s s i g n e d   t o   t h e   o p e r a t o r .   Y o u   d o n ' t   h a v e   t o   r o u t e   t h e   c l u s t e r ' s   I P   a d d r e s s   r a n g e s   t o   t h e   p u b l i c   i n t e r n e t .   T h e   s i z e   o f   t h e   I P   a d d r e s s   a l l o c a t i o n s   s h o u l d   b e   s u i t a b l e   f o r   t h e   n u m b e r   o f   P o d s   a n d   S e r v i c e s   t h a t   y o u   a r e   p l a n n i n g   t o   r u n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/dual-stack-support/",
    "id": "k8s_00205_section_3_3594"
  },
  {
    "question": "What is Create a dual-stack cluster?",
    "answer": "T o   c r e a t e   a   d u a l - s t a c k   c l u s t e r   w i t h   k u b e a d m   i n i t   y o u   c a n   p a s s   c o m m a n d   l i n e   a r g u m e n t s   s i m i l a r   t o   t h e   f o l l o w i n g   e x a m p l e :   #   T h e s e   a d d r e s s   r a n g e s   a r e   e x a m p l e s   k u b e a d m   i n i t   - - p o d - n e t w o r k - c i d r = 1 0 . 2 4 4 . 0 . 0 / 1 6 , 2 0 0 1 : d b 8 : 4 2 : 0 : : / 5 6   - - s e r v i c e - c i d r = 1 0 . 9 6 . 0 . 0 / 1 6 , 2 0 0 1 : d b 8 : 4 2 : 1 : : / 1 1 2   T o   m a k e   t h i n g s   c l e a r e r ,   h e r e   i s   a n   e x a m p l e   k u b e a d m   c o n f i g u r a t i o n   f i l e   k u b e a d m - c o n f i g . y a m l   f o r   t h e   p r i m a r y   d u a l - s t a c k   c o n t r o l   p l a n e   n o d e .   - - -   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   C l u s t e r C o n f i g u r a t i o n   n e t w o r k i n g :   p o d S u b n e t :   1 0 . 2 4 4 . 0 . 0 / 1 6 , 2 0 0 1 : d b 8 : 4 2 : 0 : : / 5 6   s e r v i c e S u b n e t :   1 0 . 9 6 . 0 . 0 / 1 6 , 2 0 0 1 : d b 8 : 4 2 : 1 : : / 1 1 2   - - -   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   I n i t C o n f i g u r a t i o n   l o c a l A P I E n d p o i n t :   a d v e r t i s e A d d r e s s :   \" 1 0 . 1 0 0 . 0 . 1 \"   b i n d P o r t :   6 4 4 3   n o d e R e g i s t r a t i o n :   k u b e l e t E x t r a A r g s :   -   n a m e :   \" n o d e - i p \"   v a l u e :   \" 1 0 . 1 0 0 . 0 . 2 , f d 0 0 : 1 : 2 : 3 : : 2 \"   a d v e r t i s e A d d r e s s   i n   I n i t C o n f i g u r a t i o n   s p e c i f i e s   t h e   I P   a d d r e s s   t h a t   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t   i s   l i s t e n i n g   o n .   T h e   v a l u e   o f   a d v e r t i s e A d d r e s s   e q u a l s   t h e   - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   f l a g   o f   k u b e a d m   i n i t . ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/dual-stack-support/",
    "id": "k8s_00205_section_3_3595"
  },
  {
    "question": "What is Join a node to dual-stack cluster?",
    "answer": "B e f o r e   j o i n i n g   a   n o d e ,   m a k e   s u r e   t h a t   t h e   n o d e   h a s   I P v 6   r o u t a b l e   n e t w o r k   i n t e r f a c e   a n d   a l l o w s   I P v 6   f o r w a r d i n g .   H e r e   i s   a n   e x a m p l e   k u b e a d m   c o n f i g u r a t i o n   f i l e   k u b e a d m - c o n f i g . y a m l   f o r   j o i n i n g   a   w o r k e r   n o d e   t o   t h e   c l u s t e r .   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   J o i n C o n f i g u r a t i o n   d i s c o v e r y :   b o o t s t r a p T o k e n :   a p i S e r v e r E n d p o i n t :   1 0 . 1 0 0 . 0 . 1 : 6 4 4 3   t o k e n :   \" c l v l d h . v j j w g 1 6 u c n h p 9 4 q r \"   c a C e r t H a s h e s :   -   \" s h a 2 5 6 : a 4 8 6 3 c d e 7 0 6 c f c 5 8 0 a 4 3 9 f 8 4 2 c c 6 5 d 5 e f 1 1 2 b 7 b 2 b e 3 1 6 2 8 5 1 3 a 9 8 8 1 c f 0 d 9 f e 0 e \"   #   c h a n g e   a u t h   i n f o   a b o v e   t o   m a t c h   t h e   a c t u a l   t o k e n   a n d   C A   c e r t i f i c a t e   h a s h   f o r   y o u r   c l u s t e r   n o d e R e g i s t r a t i o n :   k u b e l e t E x t r a A r g s :   -   n a m e :   \" n o d e - i p \"   v a l u e :   \" 1 0 . 1 0 0 . 0 . 2 , f d 0 0 : 1 : 2 : 3 : : 3 \"   A l s o ,   h e r e   i s   a n   e x a m p l e   k u b e a d m   c o n f i g u r a t i o n   f i l e   k u b e a d m - c o n f i g . y a m l   f o r   j o i n i n g   a n o t h e r   c o n t r o l   p l a n e   n o d e   t o   t h e   c l u s t e r .   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   J o i n C o n f i g u r a t i o n   c o n t r o l P l a n e :   l o c a l A P I E n d p o i n t :   a d v e r t i s e A d d r e s s :   \" 1 0 . 1 0 0 . 0 . 2 \"   b i n d P o r t :   6 4 4 3   d i s c o v e r y :   b o o t s t r a p T o k e n :   a p i S e r v e r E n d p o i n t :   1 0 . 1 0 0 . 0 . 1 : 6 4 4 3   t o k e n :   \" c l v l d h . v j j w g 1 6 u c n h p 9 4 q r ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/dual-stack-support/",
    "id": "k8s_00205_section_3_3596"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   m a k e   t h i n g s   m o r e   c l e a r ,   h e r e   i s   a n   e x a m p l e   k u b e a d m   c o n f i g u r a t i o n   f i l e   k u b e a d m - c o n f i g . y a m l   f o r   t h e   s i n g l e - s t a c k   c o n t r o l   p l a n e   n o d e .   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   C l u s t e r C o n f i g u r a t i o n   n e t w o r k i n g :   p o d S u b n e t :   1 0 . 2 4 4 . 0 . 0 / 1 6   s e r v i c e S u b n e t :   1 0 . 9 6 . 0 . 0 / 1 6",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/dual-stack-support/",
    "id": "k8s_00205_section_4_3597"
  },
  {
    "question": "What is What's next?",
    "answer": "V a l i d a t e   I P v 4 / I P v 6   d u a l - s t a c k   n e t w o r k i n g R e a d   a b o u t   D u a l - s t a c k   c l u s t e r   n e t w o r k i n g L e a r n   m o r e   a b o u t   t h e   k u b e a d m   c o n f i g u r a t i o n   f o r m a t",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/dual-stack-support/",
    "id": "k8s_00205_section_2_3598"
  },
  {
    "question": "What is Deployments?",
    "answer": "DeploymentsA Deployment manages a set of Pods to run an application workload, usually one that doesn't maintain state.A Deployment provides declarative updates for Pods and ReplicaSets.You describe a desired state in a Deployment, and the Deployment Controller changes the actual state to the desired state at a controlled rate. You can define Deployments to create new ReplicaSets, or to remove existing Deployments and adopt all their resources with new Deployments.Note:Do not manage ReplicaSets owned by a Deployment. Consider opening an issue in the main Kubernetes repository if your use case is not covered below.Use CaseThe following are typical use cases for Deployments:Create a Deployment to rollout a ReplicaSet. The ReplicaSet creates Pods in the background. Check the status of the rollout to see if it succeeds or not.Declare the new state of the Pods by updating the PodTemplateSpec of the Deployment. A new ReplicaSet is created, and the Deployment gradually scales it up while scaling down the old ReplicaSet, ensuring Pods are replaced at a controlled rate. Each new ReplicaSet updates the revision of the Deployment.Rollback to an earlier Deployment revision if the current state of the Deployment is not stable. Each rollback updates the revision of the Deployment.Scale up the Deployment to facilitate more load.Pause the rollout of a Deployment to apply multiple fixes to its PodTemplateSpec and then resume it to start a new rollout.Use the status of the Deployment as an indicator that a rollout has stuck.Clean up older ReplicaSets that you don't need anymore.Creating a DeploymentThe following is an example of a Deployment. It creates a ReplicaSet to bring up three nginx Pods:controllers/nginx-deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment labels: app: nginx spec: replicas: 3 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx:1.14.2 ports: - containerPort: 80 In this example:A Deployment named nginx-deployment is created, indicated by the .metadata.name field. This name will become the basis for the ReplicaSets and Pods which are created later. See Writing a Deployment Spec for more details.The Deployment creates a ReplicaSet that creates three replicated Pods, indicated by the .spec.replicas field.The .spec.selector field defines how the created ReplicaSet finds which Pods to manage. In this case, you select a label that is defined in the Pod template (app: nginx). However, more sophisticated selection rules are possible, as long as the Pod template itself satisfies the rule.Note:The .spec.selector.matchLabels field is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". All of the requirements, from both matchLabels and matchExpressions, must be satisfied in order to match.The .spec.",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_qa_3599"
  },
  {
    "question": "How does Deployments work?",
    "answer": "DeploymentsA Deployment manages a set of Pods to run an application workload, usually one that doesn't maintain state.A Deployment provides declarative updates for Pods and ReplicaSets.You describe a desired state in a Deployment, and the Deployment Controller changes the actual state to the desired state at a controlled rate. You can define Deployments to create new ReplicaSets, or to remove existing Deployments and adopt all their resources with new Deployments.Note:Do not manage ReplicaSets owned by a Deployment. Consider opening an issue in the main Kubernetes repository if your use case is not covered below.Use CaseThe following are typical use cases for Deployments:Create a Deployment to rollout a ReplicaSet. The ReplicaSet creates Pods in the background. Check the status of the rollout to see if it succeeds or not.Declare the new state of the Pods by updating the PodTemplateSpec of the Deployment. A new ReplicaSet is created, and the Deployment gradually scales it up while scaling down the old ReplicaSet, ensuring Pods are replaced at a controlled rate. Each new ReplicaSet updates the revision of the Deployment.Rollback to an earlier Deployment revision if the current state of the Deployment is not stable. Each rollback updates the revision of the Deployment.Scale up the Deployment to facilitate more load.Pause the rollout of a Deployment to apply multiple fixes to its PodTemplateSpec and then resume it to start a new rollout.Use the status of the Deployment as an indicator that a rollout has stuck.Clean up older ReplicaSets that you don't need anymore.Creating a DeploymentThe following is an example of a Deployment. It creates a ReplicaSet to bring up three nginx Pods:controllers/nginx-deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment labels: app: nginx spec: replicas: 3 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx:1.14.2 ports: - containerPort: 80 In this example:A Deployment named nginx-deployment is created, indicated by the .metadata.name field. This name will become the basis for the ReplicaSets and Pods which are created later. See Writing a Deployment Spec for more details.The Deployment creates a ReplicaSet that creates three replicated Pods, indicated by the .spec.replicas field.The .spec.selector field defines how the created ReplicaSet finds which Pods to manage. In this case, you select a label that is defined in the Pod template (app: nginx). However, more sophisticated selection rules are possible, as long as the Pod template itself satisfies the rule.Note:The .spec.selector.matchLabels field is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". All of the requirements, from both matchLabels and matchExpressions, must be satisfied in order to match.The .spec.",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_qa_3600"
  },
  {
    "question": "When would you use Deployments?",
    "answer": "DeploymentsA Deployment manages a set of Pods to run an application workload, usually one that doesn't maintain state.A Deployment provides declarative updates for Pods and ReplicaSets.You describe a desired state in a Deployment, and the Deployment Controller changes the actual state to the desired state at a controlled rate. You can define Deployments to create new ReplicaSets, or to remove existing Deployments and adopt all their resources with new Deployments.Note:Do not manage ReplicaSets owned by a Deployment. Consider opening an issue in the main Kubernetes repository if your use case is not covered below.Use CaseThe following are typical use cases for Deployments:Create a Deployment to rollout a ReplicaSet. The ReplicaSet creates Pods in the background. Check the status of the rollout to see if it succeeds or not.Declare the new state of the Pods by updating the PodTemplateSpec of the Deployment. A new ReplicaSet is created, and the Deployment gradually scales it up while scaling down the old ReplicaSet, ensuring Pods are replaced at a controlled rate. Each new ReplicaSet updates the revision of the Deployment.Rollback to an earlier Deployment revision if the current state of the Deployment is not stable. Each rollback updates the revision of the Deployment.Scale up the Deployment to facilitate more load.Pause the rollout of a Deployment to apply multiple fixes to its PodTemplateSpec and then resume it to start a new rollout.Use the status of the Deployment as an indicator that a rollout has stuck.Clean up older ReplicaSets that you don't need anymore.Creating a DeploymentThe following is an example of a Deployment. It creates a ReplicaSet to bring up three nginx Pods:controllers/nginx-deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment labels: app: nginx spec: replicas: 3 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx:1.14.2 ports: - containerPort: 80 In this example:A Deployment named nginx-deployment is created, indicated by the .metadata.name field. This name will become the basis for the ReplicaSets and Pods which are created later. See Writing a Deployment Spec for more details.The Deployment creates a ReplicaSet that creates three replicated Pods, indicated by the .spec.replicas field.The .spec.selector field defines how the created ReplicaSet finds which Pods to manage. In this case, you select a label that is defined in the Pod template (app: nginx). However, more sophisticated selection rules are possible, as long as the Pod template itself satisfies the rule.Note:The .spec.selector.matchLabels field is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". All of the requirements, from both matchLabels and matchExpressions, must be satisfied in order to match.The .spec.",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_qa_3601"
  },
  {
    "question": "What are the benefits of Deployments?",
    "answer": "DeploymentsA Deployment manages a set of Pods to run an application workload, usually one that doesn't maintain state.A Deployment provides declarative updates for Pods and ReplicaSets.You describe a desired state in a Deployment, and the Deployment Controller changes the actual state to the desired state at a controlled rate. You can define Deployments to create new ReplicaSets, or to remove existing Deployments and adopt all their resources with new Deployments.Note:Do not manage ReplicaSets owned by a Deployment. Consider opening an issue in the main Kubernetes repository if your use case is not covered below.Use CaseThe following are typical use cases for Deployments:Create a Deployment to rollout a ReplicaSet. The ReplicaSet creates Pods in the background. Check the status of the rollout to see if it succeeds or not.Declare the new state of the Pods by updating the PodTemplateSpec of the Deployment. A new ReplicaSet is created, and the Deployment gradually scales it up while scaling down the old ReplicaSet, ensuring Pods are replaced at a controlled rate. Each new ReplicaSet updates the revision of the Deployment.Rollback to an earlier Deployment revision if the current state of the Deployment is not stable. Each rollback updates the revision of the Deployment.Scale up the Deployment to facilitate more load.Pause the rollout of a Deployment to apply multiple fixes to its PodTemplateSpec and then resume it to start a new rollout.Use the status of the Deployment as an indicator that a rollout has stuck.Clean up older ReplicaSets that you don't need anymore.Creating a DeploymentThe following is an example of a Deployment. It creates a ReplicaSet to bring up three nginx Pods:controllers/nginx-deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment labels: app: nginx spec: replicas: 3 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx:1.14.2 ports: - containerPort: 80 In this example:A Deployment named nginx-deployment is created, indicated by the .metadata.name field. This name will become the basis for the ReplicaSets and Pods which are created later. See Writing a Deployment Spec for more details.The Deployment creates a ReplicaSet that creates three replicated Pods, indicated by the .spec.replicas field.The .spec.selector field defines how the created ReplicaSet finds which Pods to manage. In this case, you select a label that is defined in the Pod template (app: nginx). However, more sophisticated selection rules are possible, as long as the Pod template itself satisfies the rule.Note:The .spec.selector.matchLabels field is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". All of the requirements, from both matchLabels and matchExpressions, must be satisfied in order to match.The .spec.",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_qa_3602"
  },
  {
    "question": "What is Deployments?",
    "answer": "A   D e p l o y m e n t   p r o v i d e s   d e c l a r a t i v e   u p d a t e s   f o r   P o d s   a n d   R e p l i c a S e t s .   Y o u   d e s c r i b e   a   d e s i r e d   s t a t e   i n   a   D e p l o y m e n t ,   a n d   t h e   D e p l o y m e n t   C o n t r o l l e r   c h a n g e s   t h e   a c t u a l   s t a t e   t o   t h e   d e s i r e d   s t a t e   a t   a   c o n t r o l l e d   r a t e .   Y o u   c a n   d e f i n e   D e p l o y m e n t s   t o   c r e a t e   n e w   R e p l i c a S e t s ,   o r   t o   r e m o v e   e x i s t i n g   D e p l o y m e n t s   a n d   a d o p t   a l l   t h e i r   r e s o u r c e s   w i t h   n e w   D e p l o y m e n t s .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_1_3603"
  },
  {
    "question": "What is Use Case?",
    "answer": "T h e   f o l l o w i n g   a r e   t y p i c a l   u s e   c a s e s   f o r   D e p l o y m e n t s :   C r e a t e   a   D e p l o y m e n t   t o   r o l l o u t   a   R e p l i c a S e t .   T h e   R e p l i c a S e t   c r e a t e s   P o d s   i n   t h e   b a c k g r o u n d .   C h e c k   t h e   s t a t u s   o f   t h e   r o l l o u t   t o   s e e   i f   i t   s u c c e e d s   o r   n o t . D e c l a r e   t h e   n e w   s t a t e   o f   t h e   P o d s   b y   u p d a t i n g   t h e   P o d T e m p l a t e S p e c   o f   t h e   D e p l o y m e n t .   A   n e w   R e p l i c a S e t   i s   c r e a t e d ,   a n d   t h e   D e p l o y m e n t   g r a d u a l l y   s c a l e s   i t   u p   w h i l e   s c a l i n g   d o w n   t h e   o l d   R e p l i c a S e t ,   e n s u r i n g   P o d s   a r e   r e p l a c e d   a t   a   c o n t r o l l e d   r a t e .   E a c h   n e w   R e p l i c a S e t   u p d a t e s   t h e   r e v i s i o n   o f   t h e   D e p l o y m e n t . R o l l b a c k   t o   a n   e a r l i e r   D e p l o y m e n t   r e v i s i o n   i f   t h e   c u r r e n t   s t a t e   o f   t h e   D e p l o y m e n t   i s   n o t   s t a b l e .   E a c h   r o l l b a c k   u p d a t e s   t h e   r e v i s i o n   o f   t h e   D e p l o y m e n t . S c a l e   u p   t h e   D e p l o y m e n t   t o   f a c i l i t a t e   m o r e   l o a d . P a u s e   t h e   r o l l o u t   o f   a   D e p l o y m e n t   t o   a p p l y   m u l t i p l e   f i x e s   t o   i t s   P o d T e m p l a t e S p e c   a n d   t h e n   r e s u m e   i t   t o   s t a r t   a   n e w   r o l l o u t . U s e   t h e   s t a t u s   o f   t h e   D e p l o y m e n t   a s   a n   i n d i c a t o r   t h a t   a   r o l l o u t   h a s   s t u c k . C l e a n   u p   o l d e r   R e p l i c a S e t s   t h a t   y o u   d o n ' t   n e e d   a n y m o r e .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_2_3604"
  },
  {
    "question": "What is Creating a Deployment?",
    "answer": "T h e   f o l l o w i n g   i s   a n   e x a m p l e   o f   a   D e p l o y m e n t .   I t   c r e a t e s   a   R e p l i c a S e t   t o   b r i n g   u p   t h r e e   n g i n x   P o d s :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   l a b e l s :   a p p :   n g i n x   s p e c :   r e p l i c a s :   3   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0   I n   t h i s   e x a m p l e :   A   D e p l o y m e n t   n a m e d   n g i n x - d e p l o y m e n t   i s   c r e a t e d ,   i n d i c a t e d   b y   t h e   . m e t a d a t a . n a m e   f i e l d .   T h i s   n a m e   w i l l   b e c o m e   t h e   b a s i s   f o r   t h e   R e p l i c a S e t s   a n d   P o d s   w h i c h   a r e   c r e a t e d   l a t e r .   S e e   W r i t i n g   a   D e p l o y m e n t   S p e c   f o r   m o r e   d e t a i l s . T h e   D e p l o y m e n t   c r e a t e s   a   R e p l i c a S e t   t h a t   c r e a t e s   t h r e e   r e p l i c a t e d   P o d s ,   i n d i c a t e d   b y   t h e   . s p e c . r e p l i c a s   f i e l d . T h e   . s p e c . s e l e c t o r   f i e l d   d e f i n e s   h o w   t h e   c r e a t e d   R e p l i c a S e t   f i n d s   w h i c h   P o d s   t o   m a n a g e .   I n   t h i s   c a s e ,   y o u   s e l e c t   a   l a b e l   t h a t   i s   d e f i n e d   i n   t h e   P o d   t e m p l a t e   ( a p p :   n g i n x ) .   H o w e v e r ,   m o r e   s o p h i s t i c a t e d   s e l e c t i o n   r u l e s   a r e   p o s s i b l e ,   a s   l o n g   a s   t h e   P o d   t e m p l a t e   i t s e l f   s a t i s f i e s   t h e   r u l e . N o t e : T h e   . s p ",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_2_3605"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   . s p e c . t e m p l a t e   f i e l d   c o n t a i n s   t h e   f o l l o w i n g   s u b - f i e l d s :   T h e   P o d s   a r e   l a b e l e d   a p p :   n g i n x u s i n g   t h e   . m e t a d a t a . l a b e l s   f i e l d . T h e   P o d   t e m p l a t e ' s   s p e c i f i c a t i o n ,   o r   . s p e c   f i e l d ,   i n d i c a t e s   t h a t   t h e   P o d s   r u n   o n e   c o n t a i n e r ,   n g i n x ,   w h i c h   r u n s   t h e   n g i n x   D o c k e r   H u b   i m a g e   a t   v e r s i o n   1 . 1 4 . 2 . C r e a t e   o n e   c o n t a i n e r   a n d   n a m e   i t   n g i n x   u s i n g   t h e   . s p e c . c o n t a i n e r s [ 0 ] . n a m e   f i e l d .   B e f o r e   y o u   b e g i n ,   m a k e   s u r e   y o u r   K u b e r n e t e s   c l u s t e r   i s   u p   a n d   r u n n i n g .   F o l l o w   t h e   s t e p s   g i v e n   b e l o w   t o   c r e a t e   t h e   a b o v e   D e p l o y m e n t :   C r e a t e   t h e   D e p l o y m e n t   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / c o n t r o l l e r s / n g i n x - d e p l o y m e n t . y a m l   R u n   k u b e c t l   g e t   d e p l o y m e n t s   t o   c h e c k   i f   t h e   D e p l o y m e n t   w a s   c r e a t e d . I f   t h e   D e p l o y m e n t   i s   s t i l l   b e i n g   c r e a t e d ,   t h e   o u t p u t   i s   s i m i l a r   t o   t h e   f o l l o w i n g : N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   n g i n x - d e p l o y m e n t   0 / 3   0   0   1 s   W h e n   y o u   i n s p e c t   t h e   D e p l o y m e n t s   i n   y o u r   c l u s t e r ,   t h e   f o l l o w i n g   f i e l d s   a r e   d i s p l a y e d : N A M E   l i s t s   t h e   n a m e s   o f   t h e   D e p l o y m e n t s   i n   t h e   n a m e s p a c e . R E A D Y   d i s p l a y s   h o w   m a n y ",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_4_3606"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   m u s t   s p e c i f y   a n   a p p r o p r i a t e   s e l e c t o r   a n d   P o d   t e m p l a t e   l a b e l s   i n   a   D e p l o y m e n t   ( i n   t h i s   c a s e ,   a p p :   n g i n x ) .   D o   n o t   o v e r l a p   l a b e l s   o r   s e l e c t o r s   w i t h   o t h e r   c o n t r o l l e r s   ( i n c l u d i n g   o t h e r   D e p l o y m e n t s   a n d   S t a t e f u l S e t s ) .   K u b e r n e t e s   d o e s n ' t   s t o p   y o u   f r o m   o v e r l a p p i n g ,   a n d   i f   m u l t i p l e   c o n t r o l l e r s   h a v e   o v e r l a p p i n g   s e l e c t o r s   t h o s e   c o n t r o l l e r s   m i g h t   c o n f l i c t   a n d   b e h a v e   u n e x p e c t e d l y .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_4_3607"
  },
  {
    "question": "What is Caution:?",
    "answer": "T h e   p o d - t e m p l a t e - h a s h   l a b e l   i s   a d d e d   b y   t h e   D e p l o y m e n t   c o n t r o l l e r   t o   e v e r y   R e p l i c a S e t   t h a t   a   D e p l o y m e n t   c r e a t e s   o r   a d o p t s .   T h i s   l a b e l   e n s u r e s   t h a t   c h i l d   R e p l i c a S e t s   o f   a   D e p l o y m e n t   d o   n o t   o v e r l a p .   I t   i s   g e n e r a t e d   b y   h a s h i n g   t h e   P o d T e m p l a t e   o f   t h e   R e p l i c a S e t   a n d   u s i n g   t h e   r e s u l t i n g   h a s h   a s   t h e   l a b e l   v a l u e   t h a t   i s   a d d e d   t o   t h e   R e p l i c a S e t   s e l e c t o r ,   P o d   t e m p l a t e   l a b e l s ,   a n d   i n   a n y   e x i s t i n g   P o d s   t h a t   t h e   R e p l i c a S e t   m i g h t   h a v e .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_4_3608"
  },
  {
    "question": "What is Note:?",
    "answer": "F o l l o w   t h e   s t e p s   g i v e n   b e l o w   t o   u p d a t e   y o u r   D e p l o y m e n t :   L e t ' s   u p d a t e   t h e   n g i n x   P o d s   t o   u s e   t h e   n g i n x : 1 . 1 6 . 1   i m a g e   i n s t e a d   o f   t h e   n g i n x : 1 . 1 4 . 2   i m a g e . k u b e c t l   s e t   i m a g e   d e p l o y m e n t . v 1 . a p p s / n g i n x - d e p l o y m e n t   n g i n x = n g i n x : 1 . 1 6 . 1   o r   u s e   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   s e t   i m a g e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   n g i n x = n g i n x : 1 . 1 6 . 1   w h e r e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   i n d i c a t e s   t h e   D e p l o y m e n t ,   n g i n x   i n d i c a t e s   t h e   C o n t a i n e r   t h e   u p d a t e   w i l l   t a k e   p l a c e   a n d   n g i n x : 1 . 1 6 . 1   i n d i c a t e s   t h e   n e w   i m a g e   a n d   i t s   t a g . T h e   o u t p u t   i s   s i m i l a r   t o : d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   i m a g e   u p d a t e d   A l t e r n a t i v e l y ,   y o u   c a n   e d i t   t h e   D e p l o y m e n t   a n d   c h a n g e   . s p e c . t e m p l a t e . s p e c . c o n t a i n e r s [ 0 ] . i m a g e   f r o m   n g i n x : 1 . 1 4 . 2   t o   n g i n x : 1 . 1 6 . 1 : k u b e c t l   e d i t   d e p l o y m e n t / n g i n x - d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o : d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   e d i t e d   T o   s e e   t h e   r o l l o u t   s t a t u s ,   r u n : k u b e c t l   r o l l o u t   s t a t u s   d e p l o y m e n t / n g i n x - d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : W a i t i n g   f o r   r o l l o u t   t o   f i n i s h :   2   o u t   o f   3   n e w   r e p l i c a s   h a v e   b e e n   u p d a t e d . . .   o r d e p l o y m e n t   \" n g i n x - d ",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_4_3609"
  },
  {
    "question": "What is Rollover (aka multiple updates in-flight)?",
    "answer": "E a c h   t i m e   a   n e w   D e p l o y m e n t   i s   o b s e r v e d   b y   t h e   D e p l o y m e n t   c o n t r o l l e r ,   a   R e p l i c a S e t   i s   c r e a t e d   t o   b r i n g   u p   t h e   d e s i r e d   P o d s .   I f   t h e   D e p l o y m e n t   i s   u p d a t e d ,   t h e   e x i s t i n g   R e p l i c a S e t   t h a t   c o n t r o l s   P o d s   w h o s e   l a b e l s   m a t c h   . s p e c . s e l e c t o r   b u t   w h o s e   t e m p l a t e   d o e s   n o t   m a t c h   . s p e c . t e m p l a t e   a r e   s c a l e d   d o w n .   E v e n t u a l l y ,   t h e   n e w   R e p l i c a S e t   i s   s c a l e d   t o   . s p e c . r e p l i c a s   a n d   a l l   o l d   R e p l i c a S e t s   i s   s c a l e d   t o   0 .   I f   y o u   u p d a t e   a   D e p l o y m e n t   w h i l e   a n   e x i s t i n g   r o l l o u t   i s   i n   p r o g r e s s ,   t h e   D e p l o y m e n t   c r e a t e s   a   n e w   R e p l i c a S e t   a s   p e r   t h e   u p d a t e   a n d   s t a r t   s c a l i n g   t h a t   u p ,   a n d   r o l l s   o v e r   t h e   R e p l i c a S e t   t h a t   i t   w a s   s c a l i n g   u p   p r e v i o u s l y   - -   i t   w i l l   a d d   i t   t o   i t s   l i s t   o f   o l d   R e p l i c a S e t s   a n d   s t a r t   s c a l i n g   i t   d o w n .   F o r   e x a m p l e ,   s u p p o s e   y o u   c r e a t e   a   D e p l o y m e n t   t o   c r e a t e   5   r e p l i c a s   o f   n g i n x : 1 . 1 4 . 2 ,   b u t   t h e n   u p d a t e   t h e   D e p l o y m e n t   t o   c r e a t e   5   r e p l i c a s   o f   n g i n x : 1 . 1 6 . 1 ,   w h e n   o n l y   3   r e p l i c a s   o f   n g i n x : 1 . 1 4 . 2   h a d   b e e n   c r e a t e d .   I n   t h a t   c a s e ,   t h e   D e p l o y m e n t   i m m e d i a t e l y   s t a r t s   k i l l i n g   t h e   3   n g i n x : 1 . 1 4 . 2   P o d s   t h a t   i t   h a d   c r e a t e d ,   a n d ",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_3_3610"
  },
  {
    "question": "What is Label selector updates?",
    "answer": "I t   i s   g e n e r a l l y   d i s c o u r a g e d   t o   m a k e   l a b e l   s e l e c t o r   u p d a t e s   a n d   i t   i s   s u g g e s t e d   t o   p l a n   y o u r   s e l e c t o r s   u p   f r o n t .   I n   a n y   c a s e ,   i f   y o u   n e e d   t o   p e r f o r m   a   l a b e l   s e l e c t o r   u p d a t e ,   e x e r c i s e   g r e a t   c a u t i o n   a n d   m a k e   s u r e   y o u   h a v e   g r a s p e d   a l l   o f   t h e   i m p l i c a t i o n s .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_3_3611"
  },
  {
    "question": "What is Note:?",
    "answer": "S e l e c t o r   a d d i t i o n s   r e q u i r e   t h e   P o d   t e m p l a t e   l a b e l s   i n   t h e   D e p l o y m e n t   s p e c   t o   b e   u p d a t e d   w i t h   t h e   n e w   l a b e l   t o o ,   o t h e r w i s e   a   v a l i d a t i o n   e r r o r   i s   r e t u r n e d .   T h i s   c h a n g e   i s   a   n o n - o v e r l a p p i n g   o n e ,   m e a n i n g   t h a t   t h e   n e w   s e l e c t o r   d o e s   n o t   s e l e c t   R e p l i c a S e t s   a n d   P o d s   c r e a t e d   w i t h   t h e   o l d   s e l e c t o r ,   r e s u l t i n g   i n   o r p h a n i n g   a l l   o l d   R e p l i c a S e t s   a n d   c r e a t i n g   a   n e w   R e p l i c a S e t . S e l e c t o r   u p d a t e s   c h a n g e s   t h e   e x i s t i n g   v a l u e   i n   a   s e l e c t o r   k e y   - -   r e s u l t   i n   t h e   s a m e   b e h a v i o r   a s   a d d i t i o n s . S e l e c t o r   r e m o v a l s   r e m o v e s   a n   e x i s t i n g   k e y   f r o m   t h e   D e p l o y m e n t   s e l e c t o r   - -   d o   n o t   r e q u i r e   a n y   c h a n g e s   i n   t h e   P o d   t e m p l a t e   l a b e l s .   E x i s t i n g   R e p l i c a S e t s   a r e   n o t   o r p h a n e d ,   a n d   a   n e w   R e p l i c a S e t   i s   n o t   c r e a t e d ,   b u t   n o t e   t h a t   t h e   r e m o v e d   l a b e l   s t i l l   e x i s t s   i n   a n y   e x i s t i n g   P o d s   a n d   R e p l i c a S e t s .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_4_3612"
  },
  {
    "question": "What is Rolling Back a Deployment?",
    "answer": "S o m e t i m e s ,   y o u   m a y   w a n t   t o   r o l l b a c k   a   D e p l o y m e n t ;   f o r   e x a m p l e ,   w h e n   t h e   D e p l o y m e n t   i s   n o t   s t a b l e ,   s u c h   a s   c r a s h   l o o p i n g .   B y   d e f a u l t ,   a l l   o f   t h e   D e p l o y m e n t ' s   r o l l o u t   h i s t o r y   i s   k e p t   i n   t h e   s y s t e m   s o   t h a t   y o u   c a n   r o l l b a c k   a n y t i m e   y o u   w a n t   ( y o u   c a n   c h a n g e   t h a t   b y   m o d i f y i n g   r e v i s i o n   h i s t o r y   l i m i t ) .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_2_3613"
  },
  {
    "question": "What is Note:?",
    "answer": "S u p p o s e   t h a t   y o u   m a d e   a   t y p o   w h i l e   u p d a t i n g   t h e   D e p l o y m e n t ,   b y   p u t t i n g   t h e   i m a g e   n a m e   a s   n g i n x : 1 . 1 6 1   i n s t e a d   o f   n g i n x : 1 . 1 6 . 1 : k u b e c t l   s e t   i m a g e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   n g i n x = n g i n x : 1 . 1 6 1   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   i m a g e   u p d a t e d   T h e   r o l l o u t   g e t s   s t u c k .   Y o u   c a n   v e r i f y   i t   b y   c h e c k i n g   t h e   r o l l o u t   s t a t u s : k u b e c t l   r o l l o u t   s t a t u s   d e p l o y m e n t / n g i n x - d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : W a i t i n g   f o r   r o l l o u t   t o   f i n i s h :   1   o u t   o f   3   n e w   r e p l i c a s   h a v e   b e e n   u p d a t e d . . .   P r e s s   C t r l - C   t o   s t o p   t h e   a b o v e   r o l l o u t   s t a t u s   w a t c h .   F o r   m o r e   i n f o r m a t i o n   o n   s t u c k   r o l l o u t s ,   r e a d   m o r e   h e r e . Y o u   s e e   t h a t   t h e   n u m b e r   o f   o l d   r e p l i c a s   ( a d d i n g   t h e   r e p l i c a   c o u n t   f r o m   n g i n x - d e p l o y m e n t - 1 5 6 4 1 8 0 3 6 5   a n d   n g i n x - d e p l o y m e n t - 2 0 3 5 3 8 4 2 1 1 )   i s   3 ,   a n d   t h e   n u m b e r   o f   n e w   r e p l i c a s   ( f r o m   n g i n x - d e p l o y m e n t - 3 0 6 6 7 2 4 1 9 1 )   i s   1 . k u b e c t l   g e t   r s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   D E S I R E D   C U R R E N T   R E A D Y   A G E   n g i n x - d e p l o y m e n t - 1 5 6 4 1 8 0 3 6 5   3   3   3   2 5 s   n g i n x - d e p l o y m e n t - 2 0 3 5 3 8 4 2 1 1   0   0   0   3 6 s   n g i n x - d e p l o y m e n t - 3 0 6 6 7 2 4 1 9 1   1   1   0   6 ",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_4_3614"
  },
  {
    "question": "What is Note:?",
    "answer": "G e t   t h e   d e s c r i p t i o n   o f   t h e   D e p l o y m e n t :   k u b e c t l   d e s c r i b e   d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N a m e :   n g i n x - d e p l o y m e n t   N a m e s p a c e :   d e f a u l t   C r e a t i o n T i m e s t a m p :   T u e ,   1 5   M a r   2 0 1 6   1 4 : 4 8 : 0 4   - 0 7 0 0   L a b e l s :   a p p = n g i n x   S e l e c t o r :   a p p = n g i n x   R e p l i c a s :   3   d e s i r e d   |   1   u p d a t e d   |   4   t o t a l   |   3   a v a i l a b l e   |   1   u n a v a i l a b l e   S t r a t e g y T y p e :   R o l l i n g U p d a t e   M i n R e a d y S e c o n d s :   0   R o l l i n g U p d a t e S t r a t e g y :   2 5 %   m a x   u n a v a i l a b l e ,   2 5 %   m a x   s u r g e   P o d   T e m p l a t e :   L a b e l s :   a p p = n g i n x   C o n t a i n e r s :   n g i n x :   I m a g e :   n g i n x : 1 . 1 6 1   P o r t :   8 0 / T C P   H o s t   P o r t :   0 / T C P   E n v i r o n m e n t :   < n o n e >   M o u n t s :   < n o n e >   V o l u m e s :   < n o n e >   C o n d i t i o n s :   T y p e   S t a t u s   R e a s o n   - - - -   - - - - - -   - - - - - -   A v a i l a b l e   T r u e   M i n i m u m R e p l i c a s A v a i l a b l e   P r o g r e s s i n g   T r u e   R e p l i c a S e t U p d a t e d   O l d R e p l i c a S e t s :   n g i n x - d e p l o y m e n t - 1 5 6 4 1 8 0 3 6 5   ( 3 / 3   r e p l i c a s   c r e a t e d )   N e w R e p l i c a S e t :   n g i n x - d e p l o y m e n t - 3 0 6 6 7 2 4 1 9 1   ( 1 / 1   r e p l i c a s   c r e a t e d )   E v e n t s :   F i r s t S e e n   L a s t S e e n   C o u n t   F r o m   S u b O b j e c t P a t h   T y p e   R e a s o n   M e s s a g e   - - - - - - - - -   - - - - - - - -   - - - - -   - - - -   - - - - - - - - - - - - -   - - - - - - - -   - - - - - -   - - - - - - -   1 m   1 m   1   { d e p l o y m e n t - c o n t r o l l e r   }   N o r m a l   S c a l i ",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_4_3615"
  },
  {
    "question": "What is Checking Rollout History of a Deployment?",
    "answer": "F o l l o w   t h e   s t e p s   g i v e n   b e l o w   t o   c h e c k   t h e   r o l l o u t   h i s t o r y :   F i r s t ,   c h e c k   t h e   r e v i s i o n s   o f   t h i s   D e p l o y m e n t : k u b e c t l   r o l l o u t   h i s t o r y   d e p l o y m e n t / n g i n x - d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : d e p l o y m e n t s   \" n g i n x - d e p l o y m e n t \"   R E V I S I O N   C H A N G E - C A U S E   1   k u b e c t l   a p p l y   - - f i l e n a m e = h t t p s : / / k 8 s . i o / e x a m p l e s / c o n t r o l l e r s / n g i n x - d e p l o y m e n t . y a m l   2   k u b e c t l   s e t   i m a g e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   n g i n x = n g i n x : 1 . 1 6 . 1   3   k u b e c t l   s e t   i m a g e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   n g i n x = n g i n x : 1 . 1 6 1   C H A N G E - C A U S E   i s   c o p i e d   f r o m   t h e   D e p l o y m e n t   a n n o t a t i o n   k u b e r n e t e s . i o / c h a n g e - c a u s e   t o   i t s   r e v i s i o n s   u p o n   c r e a t i o n .   Y o u   c a n   s p e c i f y   t h e C H A N G E - C A U S E   m e s s a g e   b y : A n n o t a t i n g   t h e   D e p l o y m e n t   w i t h   k u b e c t l   a n n o t a t e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   k u b e r n e t e s . i o / c h a n g e - c a u s e = \" i m a g e   u p d a t e d   t o   1 . 1 6 . 1 \" M a n u a l l y   e d i t i n g   t h e   m a n i f e s t   o f   t h e   r e s o u r c e . T o   s e e   t h e   d e t a i l s   o f   e a c h   r e v i s i o n ,   r u n : k u b e c t l   r o l l o u t   h i s t o r y   d e p l o y m e n t / n g i n x - d e p l o y m e n t   - - r e v i s i o n = 2   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : d e p l o y m e n t s   \" n g i n x - d e p l o y m e n t \"   r e v i s i o n   2   L a b e l s :   a p p = n g i n x   p o d - t e m p l a t e - h a s ",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_3_3616"
  },
  {
    "question": "What is Rolling Back to a Previous Revision?",
    "answer": "F o l l o w   t h e   s t e p s   g i v e n   b e l o w   t o   r o l l b a c k   t h e   D e p l o y m e n t   f r o m   t h e   c u r r e n t   v e r s i o n   t o   t h e   p r e v i o u s   v e r s i o n ,   w h i c h   i s   v e r s i o n   2 .   N o w   y o u ' v e   d e c i d e d   t o   u n d o   t h e   c u r r e n t   r o l l o u t   a n d   r o l l b a c k   t o   t h e   p r e v i o u s   r e v i s i o n : k u b e c t l   r o l l o u t   u n d o   d e p l o y m e n t / n g i n x - d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   r o l l e d   b a c k   A l t e r n a t i v e l y ,   y o u   c a n   r o l l b a c k   t o   a   s p e c i f i c   r e v i s i o n   b y   s p e c i f y i n g   i t   w i t h   - - t o - r e v i s i o n : k u b e c t l   r o l l o u t   u n d o   d e p l o y m e n t / n g i n x - d e p l o y m e n t   - - t o - r e v i s i o n = 2   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   r o l l e d   b a c k   F o r   m o r e   d e t a i l s   a b o u t   r o l l o u t   r e l a t e d   c o m m a n d s ,   r e a d   k u b e c t l   r o l l o u t . T h e   D e p l o y m e n t   i s   n o w   r o l l e d   b a c k   t o   a   p r e v i o u s   s t a b l e   r e v i s i o n .   A s   y o u   c a n   s e e ,   a   D e p l o y m e n t R o l l b a c k   e v e n t   f o r   r o l l i n g   b a c k   t o   r e v i s i o n   2   i s   g e n e r a t e d   f r o m   D e p l o y m e n t   c o n t r o l l e r . C h e c k   i f   t h e   r o l l b a c k   w a s   s u c c e s s f u l   a n d   t h e   D e p l o y m e n t   i s   r u n n i n g   a s   e x p e c t e d ,   r u n : k u b e c t l   g e t   d e p l o y m e n t   n g i n x - d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E ",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_3_3617"
  },
  {
    "question": "What is Scaling a Deployment?",
    "answer": "Y o u   c a n   s c a l e   a   D e p l o y m e n t   b y   u s i n g   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   s c a l e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   - - r e p l i c a s = 1 0   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   s c a l e d   A s s u m i n g   h o r i z o n t a l   P o d   a u t o s c a l i n g   i s   e n a b l e d   i n   y o u r   c l u s t e r ,   y o u   c a n   s e t   u p   a n   a u t o s c a l e r   f o r   y o u r   D e p l o y m e n t   a n d   c h o o s e   t h e   m i n i m u m   a n d   m a x i m u m   n u m b e r   o f   P o d s   y o u   w a n t   t o   r u n   b a s e d   o n   t h e   C P U   u t i l i z a t i o n   o f   y o u r   e x i s t i n g   P o d s .   k u b e c t l   a u t o s c a l e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   - - m i n = 1 0   - - m a x = 1 5   - - c p u - p e r c e n t = 8 0   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   s c a l e d",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_2_3618"
  },
  {
    "question": "What is Proportional scaling?",
    "answer": "R o l l i n g U p d a t e   D e p l o y m e n t s   s u p p o r t   r u n n i n g   m u l t i p l e   v e r s i o n s   o f   a n   a p p l i c a t i o n   a t   t h e   s a m e   t i m e .   W h e n   y o u   o r   a n   a u t o s c a l e r   s c a l e s   a   R o l l i n g U p d a t e   D e p l o y m e n t   t h a t   i s   i n   t h e   m i d d l e   o f   a   r o l l o u t   ( e i t h e r   i n   p r o g r e s s   o r   p a u s e d ) ,   t h e   D e p l o y m e n t   c o n t r o l l e r   b a l a n c e s   t h e   a d d i t i o n a l   r e p l i c a s   i n   t h e   e x i s t i n g   a c t i v e   R e p l i c a S e t s   ( R e p l i c a S e t s   w i t h   P o d s )   i n   o r d e r   t o   m i t i g a t e   r i s k .   T h i s   i s   c a l l e d   p r o p o r t i o n a l   s c a l i n g .   F o r   e x a m p l e ,   y o u   a r e   r u n n i n g   a   D e p l o y m e n t   w i t h   1 0   r e p l i c a s ,   m a x S u r g e = 3 ,   a n d   m a x U n a v a i l a b l e = 2 .   E n s u r e   t h a t   t h e   1 0   r e p l i c a s   i n   y o u r   D e p l o y m e n t   a r e   r u n n i n g . k u b e c t l   g e t   d e p l o y   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   D E S I R E D   C U R R E N T   U P - T O - D A T E   A V A I L A B L E   A G E   n g i n x - d e p l o y m e n t   1 0   1 0   1 0   1 0   5 0 s   Y o u   u p d a t e   t o   a   n e w   i m a g e   w h i c h   h a p p e n s   t o   b e   u n r e s o l v a b l e   f r o m   i n s i d e   t h e   c l u s t e r . k u b e c t l   s e t   i m a g e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   n g i n x = n g i n x : s o m e t a g   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   i m a g e   u p d a t e d   T h e   i m a g e   u p d a t e   s t a r t s   a   n e w   r o l l o u t   w i t h   R e p l i c a S e t   n g i n x - d e p l o y m e n t - 1 9 8 9 1 9 8 1 9 1 ,   b u t   i ",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_3_3619"
  },
  {
    "question": "What is Pausing and Resuming a rollout of a Deployment?",
    "answer": "W h e n   y o u   u p d a t e   a   D e p l o y m e n t ,   o r   p l a n   t o ,   y o u   c a n   p a u s e   r o l l o u t s   f o r   t h a t   D e p l o y m e n t   b e f o r e   y o u   t r i g g e r   o n e   o r   m o r e   u p d a t e s .   W h e n   y o u ' r e   r e a d y   t o   a p p l y   t h o s e   c h a n g e s ,   y o u   r e s u m e   r o l l o u t s   f o r   t h e   D e p l o y m e n t .   T h i s   a p p r o a c h   a l l o w s   y o u   t o   a p p l y   m u l t i p l e   f i x e s   i n   b e t w e e n   p a u s i n g   a n d   r e s u m i n g   w i t h o u t   t r i g g e r i n g   u n n e c e s s a r y   r o l l o u t s .   F o r   e x a m p l e ,   w i t h   a   D e p l o y m e n t   t h a t   w a s   c r e a t e d : G e t   t h e   D e p l o y m e n t   d e t a i l s : k u b e c t l   g e t   d e p l o y   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   D E S I R E D   C U R R E N T   U P - T O - D A T E   A V A I L A B L E   A G E   n g i n x   3   3   3   3   1 m   G e t   t h e   r o l l o u t   s t a t u s : k u b e c t l   g e t   r s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   D E S I R E D   C U R R E N T   R E A D Y   A G E   n g i n x - 2 1 4 2 1 1 6 3 2 1   3   3   3   1 m   P a u s e   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   r o l l o u t   p a u s e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   p a u s e d   T h e n   u p d a t e   t h e   i m a g e   o f   t h e   D e p l o y m e n t : k u b e c t l   s e t   i m a g e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   n g i n x = n g i n x : 1 . 1 6 . 1   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   i m a g e   u p d a t e d   N o t i c e   t h a t   n o   n e w ",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_2_3620"
  },
  {
    "question": "What is Deployment status?",
    "answer": "A   D e p l o y m e n t   e n t e r s   v a r i o u s   s t a t e s   d u r i n g   i t s   l i f e c y c l e .   I t   c a n   b e   p r o g r e s s i n g   w h i l e   r o l l i n g   o u t   a   n e w   R e p l i c a S e t ,   i t   c a n   b e   c o m p l e t e ,   o r   i t   c a n   f a i l   t o   p r o g r e s s .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_2_3621"
  },
  {
    "question": "What is Progressing Deployment?",
    "answer": "K u b e r n e t e s   m a r k s   a   D e p l o y m e n t   a s   p r o g r e s s i n g   w h e n   o n e   o f   t h e   f o l l o w i n g   t a s k s   i s   p e r f o r m e d :   T h e   D e p l o y m e n t   c r e a t e s   a   n e w   R e p l i c a S e t . T h e   D e p l o y m e n t   i s   s c a l i n g   u p   i t s   n e w e s t   R e p l i c a S e t . T h e   D e p l o y m e n t   i s   s c a l i n g   d o w n   i t s   o l d e r   R e p l i c a S e t ( s ) . N e w   P o d s   b e c o m e   r e a d y   o r   a v a i l a b l e   ( r e a d y   f o r   a t   l e a s t   M i n R e a d y S e c o n d s ) .   W h e n   t h e   r o l l o u t   b e c o m e s   “ p r o g r e s s i n g ” ,   t h e   D e p l o y m e n t   c o n t r o l l e r   a d d s   a   c o n d i t i o n   w i t h   t h e   f o l l o w i n g   a t t r i b u t e s   t o   t h e   D e p l o y m e n t ' s   . s t a t u s . c o n d i t i o n s :   t y p e :   P r o g r e s s i n g s t a t u s :   \" T r u e \" r e a s o n :   N e w R e p l i c a S e t C r e a t e d   |   r e a s o n :   F o u n d N e w R e p l i c a S e t   |   r e a s o n :   R e p l i c a S e t U p d a t e d   Y o u   c a n   m o n i t o r   t h e   p r o g r e s s   f o r   a   D e p l o y m e n t   b y   u s i n g   k u b e c t l   r o l l o u t   s t a t u s .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_3_3622"
  },
  {
    "question": "What is Complete Deployment?",
    "answer": "K u b e r n e t e s   m a r k s   a   D e p l o y m e n t   a s   c o m p l e t e   w h e n   i t   h a s   t h e   f o l l o w i n g   c h a r a c t e r i s t i c s :   A l l   o f   t h e   r e p l i c a s   a s s o c i a t e d   w i t h   t h e   D e p l o y m e n t   h a v e   b e e n   u p d a t e d   t o   t h e   l a t e s t   v e r s i o n   y o u ' v e   s p e c i f i e d ,   m e a n i n g   a n y   u p d a t e s   y o u ' v e   r e q u e s t e d   h a v e   b e e n   c o m p l e t e d . A l l   o f   t h e   r e p l i c a s   a s s o c i a t e d   w i t h   t h e   D e p l o y m e n t   a r e   a v a i l a b l e . N o   o l d   r e p l i c a s   f o r   t h e   D e p l o y m e n t   a r e   r u n n i n g .   W h e n   t h e   r o l l o u t   b e c o m e s   “ c o m p l e t e ” ,   t h e   D e p l o y m e n t   c o n t r o l l e r   s e t s   a   c o n d i t i o n   w i t h   t h e   f o l l o w i n g   a t t r i b u t e s   t o   t h e   D e p l o y m e n t ' s   . s t a t u s . c o n d i t i o n s :   t y p e :   P r o g r e s s i n g s t a t u s :   \" T r u e \" r e a s o n :   N e w R e p l i c a S e t A v a i l a b l e   T h i s   P r o g r e s s i n g   c o n d i t i o n   w i l l   r e t a i n   a   s t a t u s   v a l u e   o f   \" T r u e \"   u n t i l   a   n e w   r o l l o u t   i s   i n i t i a t e d .   T h e   c o n d i t i o n   h o l d s   e v e n   w h e n   a v a i l a b i l i t y   o f   r e p l i c a s   c h a n g e s   ( w h i c h   d o e s   i n s t e a d   a f f e c t   t h e   A v a i l a b l e   c o n d i t i o n ) .   Y o u   c a n   c h e c k   i f   a   D e p l o y m e n t   h a s   c o m p l e t e d   b y   u s i n g   k u b e c t l   r o l l o u t   s t a t u s .   I f   t h e   r o l l o u t   c o m p l e t e d   s u c c e s s f u l l y ,   k u b e c t l   r o l l o u t   s t a t u s   r e t u r n s   a   z e r o   e x i t   c o d e .   k u b e c t l   r o l l o u t   s t a t u s   d e p l o y m e n t / n g i n x - d e p l o ",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_3_3623"
  },
  {
    "question": "What is Failed Deployment?",
    "answer": "Y o u r   D e p l o y m e n t   m a y   g e t   s t u c k   t r y i n g   t o   d e p l o y   i t s   n e w e s t   R e p l i c a S e t   w i t h o u t   e v e r   c o m p l e t i n g .   T h i s   c a n   o c c u r   d u e   t o   s o m e   o f   t h e   f o l l o w i n g   f a c t o r s :   I n s u f f i c i e n t   q u o t a R e a d i n e s s   p r o b e   f a i l u r e s I m a g e   p u l l   e r r o r s I n s u f f i c i e n t   p e r m i s s i o n s L i m i t   r a n g e s A p p l i c a t i o n   r u n t i m e   m i s c o n f i g u r a t i o n   O n e   w a y   y o u   c a n   d e t e c t   t h i s   c o n d i t i o n   i s   t o   s p e c i f y   a   d e a d l i n e   p a r a m e t e r   i n   y o u r   D e p l o y m e n t   s p e c :   ( . s p e c . p r o g r e s s D e a d l i n e S e c o n d s ) .   . s p e c . p r o g r e s s D e a d l i n e S e c o n d s   d e n o t e s   t h e   n u m b e r   o f   s e c o n d s   t h e   D e p l o y m e n t   c o n t r o l l e r   w a i t s   b e f o r e   i n d i c a t i n g   ( i n   t h e   D e p l o y m e n t   s t a t u s )   t h a t   t h e   D e p l o y m e n t   p r o g r e s s   h a s   s t a l l e d .   T h e   f o l l o w i n g   k u b e c t l   c o m m a n d   s e t s   t h e   s p e c   w i t h   p r o g r e s s D e a d l i n e S e c o n d s   t o   m a k e   t h e   c o n t r o l l e r   r e p o r t   l a c k   o f   p r o g r e s s   o f   a   r o l l o u t   f o r   a   D e p l o y m e n t   a f t e r   1 0   m i n u t e s :   k u b e c t l   p a t c h   d e p l o y m e n t / n g i n x - d e p l o y m e n t   - p   ' { \" s p e c \" : { \" p r o g r e s s D e a d l i n e S e c o n d s \" : 6 0 0 } } '   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   p a t c h e d   O n c e   t h e   d e a d l i n e   h a s   b e e n   e x c e e d e d ,   t h e   D e p l o y m e n t   c o n t r o l l e r   a d d s   a   D e p l o y m e n t C o n ",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_3_3624"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   m a y   e x p e r i e n c e   t r a n s i e n t   e r r o r s   w i t h   y o u r   D e p l o y m e n t s ,   e i t h e r   d u e   t o   a   l o w   t i m e o u t   t h a t   y o u   h a v e   s e t   o r   d u e   t o   a n y   o t h e r   k i n d   o f   e r r o r   t h a t   c a n   b e   t r e a t e d   a s   t r a n s i e n t .   F o r   e x a m p l e ,   l e t ' s   s u p p o s e   y o u   h a v e   i n s u f f i c i e n t   q u o t a .   I f   y o u   d e s c r i b e   t h e   D e p l o y m e n t   y o u   w i l l   n o t i c e   t h e   f o l l o w i n g   s e c t i o n :   k u b e c t l   d e s c r i b e   d e p l o y m e n t   n g i n x - d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   < . . . >   C o n d i t i o n s :   T y p e   S t a t u s   R e a s o n   - - - -   - - - - - -   - - - - - -   A v a i l a b l e   T r u e   M i n i m u m R e p l i c a s A v a i l a b l e   P r o g r e s s i n g   T r u e   R e p l i c a S e t U p d a t e d   R e p l i c a F a i l u r e   T r u e   F a i l e d C r e a t e   < . . . >   I f   y o u   r u n   k u b e c t l   g e t   d e p l o y m e n t   n g i n x - d e p l o y m e n t   - o   y a m l ,   t h e   D e p l o y m e n t   s t a t u s   i s   s i m i l a r   t o   t h i s :   s t a t u s :   a v a i l a b l e R e p l i c a s :   2   c o n d i t i o n s :   -   l a s t T r a n s i t i o n T i m e :   2 0 1 6 - 1 0 - 0 4 T 1 2 : 2 5 : 3 9 Z   l a s t U p d a t e T i m e :   2 0 1 6 - 1 0 - 0 4 T 1 2 : 2 5 : 3 9 Z   m e s s a g e :   R e p l i c a   s e t   \" n g i n x - d e p l o y m e n t - 4 2 6 2 1 8 2 7 8 0 \"   i s   p r o g r e s s i n g .   r e a s o n :   R e p l i c a S e t U p d a t e d   s t a t u s :   \" T r u e \"   t y p e :   P r o g r e s s i n g   -   l a s t T r a n s i t i o n T i m e :   2 0 1 6 - 1 0 - 0 4 T 1 2 : 2 5 : 4 2 Z   l a s t U p d a t e T i m e :   2 0 1 6 - 1 0 - 0 4 T 1 2 : 2 5 : 4 2 Z   m e s s a g e :   D e p l o y m e n t   h a s   m i ",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_4_3625"
  },
  {
    "question": "What is Operating on a failed deployment?",
    "answer": "A l l   a c t i o n s   t h a t   a p p l y   t o   a   c o m p l e t e   D e p l o y m e n t   a l s o   a p p l y   t o   a   f a i l e d   D e p l o y m e n t .   Y o u   c a n   s c a l e   i t   u p / d o w n ,   r o l l   b a c k   t o   a   p r e v i o u s   r e v i s i o n ,   o r   e v e n   p a u s e   i t   i f   y o u   n e e d   t o   a p p l y   m u l t i p l e   t w e a k s   i n   t h e   D e p l o y m e n t   P o d   t e m p l a t e .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_3_3626"
  },
  {
    "question": "What is Clean up Policy?",
    "answer": "Y o u   c a n   s e t   . s p e c . r e v i s i o n H i s t o r y L i m i t   f i e l d   i n   a   D e p l o y m e n t   t o   s p e c i f y   h o w   m a n y   o l d   R e p l i c a S e t s   f o r   t h i s   D e p l o y m e n t   y o u   w a n t   t o   r e t a i n .   T h e   r e s t   w i l l   b e   g a r b a g e - c o l l e c t e d   i n   t h e   b a c k g r o u n d .   B y   d e f a u l t ,   i t   i s   1 0 .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_2_3627"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   c l e a n u p   o n l y   s t a r t s   a f t e r   a   D e p l o y m e n t   r e a c h e s   a   c o m p l e t e   s t a t e .   I f   y o u   s e t   . s p e c . r e v i s i o n H i s t o r y L i m i t   t o   0 ,   a n y   r o l l o u t   n o n e t h e l e s s   t r i g g e r s   c r e a t i o n   o f   a   n e w   R e p l i c a S e t   b e f o r e   K u b e r n e t e s   r e m o v e s   t h e   o l d   o n e .   E v e n   w i t h   a   n o n - z e r o   r e v i s i o n   h i s t o r y   l i m i t ,   y o u   c a n   h a v e   m o r e   R e p l i c a S e t s   t h a n   t h e   l i m i t   y o u   c o n f i g u r e .   F o r   e x a m p l e ,   i f   p o d s   a r e   c r a s h   l o o p i n g ,   a n d   t h e r e   a r e   m u l t i p l e   r o l l i n g   u p d a t e s   e v e n t s   t r i g g e r e d   o v e r   t i m e ,   y o u   m i g h t   e n d   u p   w i t h   m o r e   R e p l i c a S e t s   t h a n   t h e   . s p e c . r e v i s i o n H i s t o r y L i m i t   b e c a u s e   t h e   D e p l o y m e n t   n e v e r   r e a c h e s   a   c o m p l e t e   s t a t e .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_4_3628"
  },
  {
    "question": "What is Canary Deployment?",
    "answer": "I f   y o u   w a n t   t o   r o l l   o u t   r e l e a s e s   t o   a   s u b s e t   o f   u s e r s   o r   s e r v e r s   u s i n g   t h e   D e p l o y m e n t ,   y o u   c a n   c r e a t e   m u l t i p l e   D e p l o y m e n t s ,   o n e   f o r   e a c h   r e l e a s e ,   f o l l o w i n g   t h e   c a n a r y   p a t t e r n   d e s c r i b e d   i n   m a n a g i n g   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_2_3629"
  },
  {
    "question": "What is Writing a Deployment Spec?",
    "answer": "A s   w i t h   a l l   o t h e r   K u b e r n e t e s   c o n f i g s ,   a   D e p l o y m e n t   n e e d s   . a p i V e r s i o n ,   . k i n d ,   a n d   . m e t a d a t a   f i e l d s .   F o r   g e n e r a l   i n f o r m a t i o n   a b o u t   w o r k i n g   w i t h   c o n f i g   f i l e s ,   s e e   d e p l o y i n g   a p p l i c a t i o n s ,   c o n f i g u r i n g   c o n t a i n e r s ,   a n d   u s i n g   k u b e c t l   t o   m a n a g e   r e s o u r c e s   d o c u m e n t s .   W h e n   t h e   c o n t r o l   p l a n e   c r e a t e s   n e w   P o d s   f o r   a   D e p l o y m e n t ,   t h e   . m e t a d a t a . n a m e   o f   t h e   D e p l o y m e n t   i s   p a r t   o f   t h e   b a s i s   f o r   n a m i n g   t h o s e   P o d s .   T h e   n a m e   o f   a   D e p l o y m e n t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   v a l u e ,   b u t   t h i s   c a n   p r o d u c e   u n e x p e c t e d   r e s u l t s   f o r   t h e   P o d   h o s t n a m e s .   F o r   b e s t   c o m p a t i b i l i t y ,   t h e   n a m e   s h o u l d   f o l l o w   t h e   m o r e   r e s t r i c t i v e   r u l e s   f o r   a   D N S   l a b e l .   A   D e p l o y m e n t   a l s o   n e e d s   a   . s p e c   s e c t i o n .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_2_3630"
  },
  {
    "question": "What is Pod Template?",
    "answer": "T h e   . s p e c . t e m p l a t e   a n d   . s p e c . s e l e c t o r   a r e   t h e   o n l y   r e q u i r e d   f i e l d s   o f   t h e   . s p e c .   T h e   . s p e c . t e m p l a t e   i s   a   P o d   t e m p l a t e .   I t   h a s   e x a c t l y   t h e   s a m e   s c h e m a   a s   a   P o d ,   e x c e p t   i t   i s   n e s t e d   a n d   d o e s   n o t   h a v e   a n   a p i V e r s i o n   o r   k i n d .   I n   a d d i t i o n   t o   r e q u i r e d   f i e l d s   f o r   a   P o d ,   a   P o d   t e m p l a t e   i n   a   D e p l o y m e n t   m u s t   s p e c i f y   a p p r o p r i a t e   l a b e l s   a n d   a n   a p p r o p r i a t e   r e s t a r t   p o l i c y .   F o r   l a b e l s ,   m a k e   s u r e   n o t   t o   o v e r l a p   w i t h   o t h e r   c o n t r o l l e r s .   S e e   s e l e c t o r .   O n l y   a   . s p e c . t e m p l a t e . s p e c . r e s t a r t P o l i c y   e q u a l   t o   A l w a y s   i s   a l l o w e d ,   w h i c h   i s   t h e   d e f a u l t   i f   n o t   s p e c i f i e d .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_3_3631"
  },
  {
    "question": "What is Replicas?",
    "answer": ". s p e c . r e p l i c a s   i s   a n   o p t i o n a l   f i e l d   t h a t   s p e c i f i e s   t h e   n u m b e r   o f   d e s i r e d   P o d s .   I t   d e f a u l t s   t o   1 .   S h o u l d   y o u   m a n u a l l y   s c a l e   a   D e p l o y m e n t ,   e x a m p l e   v i a   k u b e c t l   s c a l e   d e p l o y m e n t   d e p l o y m e n t   - - r e p l i c a s = X ,   a n d   t h e n   y o u   u p d a t e   t h a t   D e p l o y m e n t   b a s e d   o n   a   m a n i f e s t   ( f o r   e x a m p l e :   b y   r u n n i n g   k u b e c t l   a p p l y   - f   d e p l o y m e n t . y a m l ) ,   t h e n   a p p l y i n g   t h a t   m a n i f e s t   o v e r w r i t e s   t h e   m a n u a l   s c a l i n g   t h a t   y o u   p r e v i o u s l y   d i d .   I f   a   H o r i z o n t a l P o d A u t o s c a l e r   ( o r   a n y   s i m i l a r   A P I   f o r   h o r i z o n t a l   s c a l i n g )   i s   m a n a g i n g   s c a l i n g   f o r   a   D e p l o y m e n t ,   d o n ' t   s e t   . s p e c . r e p l i c a s .   I n s t e a d ,   a l l o w   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   t o   m a n a g e   t h e   . s p e c . r e p l i c a s   f i e l d   a u t o m a t i c a l l y .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_3_3632"
  },
  {
    "question": "What is Selector?",
    "answer": ". s p e c . s e l e c t o r   i s   a   r e q u i r e d   f i e l d   t h a t   s p e c i f i e s   a   l a b e l   s e l e c t o r   f o r   t h e   P o d s   t a r g e t e d   b y   t h i s   D e p l o y m e n t .   . s p e c . s e l e c t o r   m u s t   m a t c h   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s ,   o r   i t   w i l l   b e   r e j e c t e d   b y   t h e   A P I .   I n   A P I   v e r s i o n   a p p s / v 1 ,   . s p e c . s e l e c t o r   a n d   . m e t a d a t a . l a b e l s   d o   n o t   d e f a u l t   t o   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s   i f   n o t   s e t .   S o   t h e y   m u s t   b e   s e t   e x p l i c i t l y .   A l s o   n o t e   t h a t   . s p e c . s e l e c t o r   i s   i m m u t a b l e   a f t e r   c r e a t i o n   o f   t h e   D e p l o y m e n t   i n   a p p s / v 1 .   A   D e p l o y m e n t   m a y   t e r m i n a t e   P o d s   w h o s e   l a b e l s   m a t c h   t h e   s e l e c t o r   i f   t h e i r   t e m p l a t e   i s   d i f f e r e n t   f r o m   . s p e c . t e m p l a t e   o r   i f   t h e   t o t a l   n u m b e r   o f   s u c h   P o d s   e x c e e d s   . s p e c . r e p l i c a s .   I t   b r i n g s   u p   n e w   P o d s   w i t h   . s p e c . t e m p l a t e   i f   t h e   n u m b e r   o f   P o d s   i s   l e s s   t h a n   t h e   d e s i r e d   n u m b e r .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_3_3633"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   h a v e   m u l t i p l e   c o n t r o l l e r s   t h a t   h a v e   o v e r l a p p i n g   s e l e c t o r s ,   t h e   c o n t r o l l e r s   w i l l   f i g h t   w i t h   e a c h   o t h e r   a n d   w o n ' t   b e h a v e   c o r r e c t l y .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_4_3634"
  },
  {
    "question": "What is Strategy?",
    "answer": ". s p e c . s t r a t e g y   s p e c i f i e s   t h e   s t r a t e g y   u s e d   t o   r e p l a c e   o l d   P o d s   b y   n e w   o n e s .   . s p e c . s t r a t e g y . t y p e   c a n   b e   \" R e c r e a t e \"   o r   \" R o l l i n g U p d a t e \" .   \" R o l l i n g U p d a t e \"   i s   t h e   d e f a u l t   v a l u e .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_3_3635"
  },
  {
    "question": "What is Recreate Deployment?",
    "answer": "A l l   e x i s t i n g   P o d s   a r e   k i l l e d   b e f o r e   n e w   o n e s   a r e   c r e a t e d   w h e n   . s p e c . s t r a t e g y . t y p e = = R e c r e a t e .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_4_3636"
  },
  {
    "question": "What is Rolling Update Deployment?",
    "answer": "T h e   D e p l o y m e n t   u p d a t e s   P o d s   i n   a   r o l l i n g   u p d a t e   f a s h i o n   ( g r a d u a l l y   s c a l e   d o w n   t h e   o l d   R e p l i c a S e t s   a n d   s c a l e   u p   t h e   n e w   o n e )   w h e n   . s p e c . s t r a t e g y . t y p e = = R o l l i n g U p d a t e .   Y o u   c a n   s p e c i f y   m a x U n a v a i l a b l e   a n d   m a x S u r g e   t o   c o n t r o l   t h e   r o l l i n g   u p d a t e   p r o c e s s .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_4_3637"
  },
  {
    "question": "What is Max Unavailable?",
    "answer": ". s p e c . s t r a t e g y . r o l l i n g U p d a t e . m a x U n a v a i l a b l e   i s   a n   o p t i o n a l   f i e l d   t h a t   s p e c i f i e s   t h e   m a x i m u m   n u m b e r   o f   P o d s   t h a t   c a n   b e   u n a v a i l a b l e   d u r i n g   t h e   u p d a t e   p r o c e s s .   T h e   v a l u e   c a n   b e   a n   a b s o l u t e   n u m b e r   ( f o r   e x a m p l e ,   5 )   o r   a   p e r c e n t a g e   o f   d e s i r e d   P o d s   ( f o r   e x a m p l e ,   1 0 % ) .   T h e   a b s o l u t e   n u m b e r   i s   c a l c u l a t e d   f r o m   p e r c e n t a g e   b y   r o u n d i n g   d o w n .   T h e   v a l u e   c a n n o t   b e   0   i f   . s p e c . s t r a t e g y . r o l l i n g U p d a t e . m a x S u r g e   i s   0 .   T h e   d e f a u l t   v a l u e   i s   2 5 % .   F o r   e x a m p l e ,   w h e n   t h i s   v a l u e   i s   s e t   t o   3 0 % ,   t h e   o l d   R e p l i c a S e t   c a n   b e   s c a l e d   d o w n   t o   7 0 %   o f   d e s i r e d   P o d s   i m m e d i a t e l y   w h e n   t h e   r o l l i n g   u p d a t e   s t a r t s .   O n c e   n e w   P o d s   a r e   r e a d y ,   o l d   R e p l i c a S e t   c a n   b e   s c a l e d   d o w n   f u r t h e r ,   f o l l o w e d   b y   s c a l i n g   u p   t h e   n e w   R e p l i c a S e t ,   e n s u r i n g   t h a t   t h e   t o t a l   n u m b e r   o f   P o d s   a v a i l a b l e   a t   a l l   t i m e s   d u r i n g   t h e   u p d a t e   i s   a t   l e a s t   7 0 %   o f   t h e   d e s i r e d   P o d s .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_5_3638"
  },
  {
    "question": "What is Max Surge?",
    "answer": ". s p e c . s t r a t e g y . r o l l i n g U p d a t e . m a x S u r g e   i s   a n   o p t i o n a l   f i e l d   t h a t   s p e c i f i e s   t h e   m a x i m u m   n u m b e r   o f   P o d s   t h a t   c a n   b e   c r e a t e d   o v e r   t h e   d e s i r e d   n u m b e r   o f   P o d s .   T h e   v a l u e   c a n   b e   a n   a b s o l u t e   n u m b e r   ( f o r   e x a m p l e ,   5 )   o r   a   p e r c e n t a g e   o f   d e s i r e d   P o d s   ( f o r   e x a m p l e ,   1 0 % ) .   T h e   v a l u e   c a n n o t   b e   0   i f   m a x U n a v a i l a b l e   i s   0 .   T h e   a b s o l u t e   n u m b e r   i s   c a l c u l a t e d   f r o m   t h e   p e r c e n t a g e   b y   r o u n d i n g   u p .   T h e   d e f a u l t   v a l u e   i s   2 5 % .   F o r   e x a m p l e ,   w h e n   t h i s   v a l u e   i s   s e t   t o   3 0 % ,   t h e   n e w   R e p l i c a S e t   c a n   b e   s c a l e d   u p   i m m e d i a t e l y   w h e n   t h e   r o l l i n g   u p d a t e   s t a r t s ,   s u c h   t h a t   t h e   t o t a l   n u m b e r   o f   o l d   a n d   n e w   P o d s   d o e s   n o t   e x c e e d   1 3 0 %   o f   d e s i r e d   P o d s .   O n c e   o l d   P o d s   h a v e   b e e n   k i l l e d ,   t h e   n e w   R e p l i c a S e t   c a n   b e   s c a l e d   u p   f u r t h e r ,   e n s u r i n g   t h a t   t h e   t o t a l   n u m b e r   o f   P o d s   r u n n i n g   a t   a n y   t i m e   d u r i n g   t h e   u p d a t e   i s   a t   m o s t   1 3 0 %   o f   d e s i r e d   P o d s .   H e r e   a r e   s o m e   R o l l i n g   U p d a t e   D e p l o y m e n t   e x a m p l e s   t h a t   u s e   t h e   m a x U n a v a i l a b l e   a n d   m a x S u r g e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   l a b e l s :   a p p :   n g i n x   s p e c :   r e p l i c a s :   3   s e l e c ",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_5_3639"
  },
  {
    "question": "What is Progress Deadline Seconds?",
    "answer": ". s p e c . p r o g r e s s D e a d l i n e S e c o n d s   i s   a n   o p t i o n a l   f i e l d   t h a t   s p e c i f i e s   t h e   n u m b e r   o f   s e c o n d s   y o u   w a n t   t o   w a i t   f o r   y o u r   D e p l o y m e n t   t o   p r o g r e s s   b e f o r e   t h e   s y s t e m   r e p o r t s   b a c k   t h a t   t h e   D e p l o y m e n t   h a s   f a i l e d   p r o g r e s s i n g   -   s u r f a c e d   a s   a   c o n d i t i o n   w i t h   t y p e :   P r o g r e s s i n g ,   s t a t u s :   \" F a l s e \" .   a n d   r e a s o n :   P r o g r e s s D e a d l i n e E x c e e d e d   i n   t h e   s t a t u s   o f   t h e   r e s o u r c e .   T h e   D e p l o y m e n t   c o n t r o l l e r   w i l l   k e e p   r e t r y i n g   t h e   D e p l o y m e n t .   T h i s   d e f a u l t s   t o   6 0 0 .   I n   t h e   f u t u r e ,   o n c e   a u t o m a t i c   r o l l b a c k   w i l l   b e   i m p l e m e n t e d ,   t h e   D e p l o y m e n t   c o n t r o l l e r   w i l l   r o l l   b a c k   a   D e p l o y m e n t   a s   s o o n   a s   i t   o b s e r v e s   s u c h   a   c o n d i t i o n .   I f   s p e c i f i e d ,   t h i s   f i e l d   n e e d s   t o   b e   g r e a t e r   t h a n   . s p e c . m i n R e a d y S e c o n d s .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_3_3640"
  },
  {
    "question": "What is Min Ready Seconds?",
    "answer": ". s p e c . m i n R e a d y S e c o n d s   i s   a n   o p t i o n a l   f i e l d   t h a t   s p e c i f i e s   t h e   m i n i m u m   n u m b e r   o f   s e c o n d s   f o r   w h i c h   a   n e w l y   c r e a t e d   P o d   s h o u l d   b e   r e a d y   w i t h o u t   a n y   o f   i t s   c o n t a i n e r s   c r a s h i n g ,   f o r   i t   t o   b e   c o n s i d e r e d   a v a i l a b l e .   T h i s   d e f a u l t s   t o   0   ( t h e   P o d   w i l l   b e   c o n s i d e r e d   a v a i l a b l e   a s   s o o n   a s   i t   i s   r e a d y ) .   T o   l e a r n   m o r e   a b o u t   w h e n   a   P o d   i s   c o n s i d e r e d   r e a d y ,   s e e   C o n t a i n e r   P r o b e s .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_3_3641"
  },
  {
    "question": "What is Terminating Pods?",
    "answer": "Y o u   c a n   e n a b l e   t h i s   f e a t u r e   b y   s e t t i n g   t h e   D e p l o y m e n t R e p l i c a S e t T e r m i n a t i n g R e p l i c a s   f e a t u r e   g a t e   o n   t h e   A P I   s e r v e r   a n d   o n   t h e   k u b e - c o n t r o l l e r - m a n a g e r   P o d s   t h a t   b e c o m e   t e r m i n a t i n g   d u e   t o   d e l e t i o n   o r   s c a l e   d o w n   m a y   t a k e   a   l o n g   t i m e   t o   t e r m i n a t e ,   a n d   m a y   c o n s u m e   a d d i t i o n a l   r e s o u r c e s   d u r i n g   t h a t   p e r i o d .   A s   a   r e s u l t ,   t h e   t o t a l   n u m b e r   o f   a l l   p o d s   c a n   t e m p o r a r i l y   e x c e e d   . s p e c . r e p l i c a s .   T e r m i n a t i n g   p o d s   c a n   b e   t r a c k e d   u s i n g   t h e   . s t a t u s . t e r m i n a t i n g R e p l i c a s   f i e l d   o f   t h e   D e p l o y m e n t .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_3_3642"
  },
  {
    "question": "What is Revision History Limit?",
    "answer": "A   D e p l o y m e n t ' s   r e v i s i o n   h i s t o r y   i s   s t o r e d   i n   t h e   R e p l i c a S e t s   i t   c o n t r o l s .   . s p e c . r e v i s i o n H i s t o r y L i m i t   i s   a n   o p t i o n a l   f i e l d   t h a t   s p e c i f i e s   t h e   n u m b e r   o f   o l d   R e p l i c a S e t s   t o   r e t a i n   t o   a l l o w   r o l l b a c k .   T h e s e   o l d   R e p l i c a S e t s   c o n s u m e   r e s o u r c e s   i n   e t c d   a n d   c r o w d   t h e   o u t p u t   o f   k u b e c t l   g e t   r s .   T h e   c o n f i g u r a t i o n   o f   e a c h   D e p l o y m e n t   r e v i s i o n   i s   s t o r e d   i n   i t s   R e p l i c a S e t s ;   t h e r e f o r e ,   o n c e   a n   o l d   R e p l i c a S e t   i s   d e l e t e d ,   y o u   l o s e   t h e   a b i l i t y   t o   r o l l b a c k   t o   t h a t   r e v i s i o n   o f   D e p l o y m e n t .   B y   d e f a u l t ,   1 0   o l d   R e p l i c a S e t s   w i l l   b e   k e p t ,   h o w e v e r   i t s   i d e a l   v a l u e   d e p e n d s   o n   t h e   f r e q u e n c y   a n d   s t a b i l i t y   o f   n e w   D e p l o y m e n t s .   M o r e   s p e c i f i c a l l y ,   s e t t i n g   t h i s   f i e l d   t o   z e r o   m e a n s   t h a t   a l l   o l d   R e p l i c a S e t s   w i t h   0   r e p l i c a s   w i l l   b e   c l e a n e d   u p .   I n   t h i s   c a s e ,   a   n e w   D e p l o y m e n t   r o l l o u t   c a n n o t   b e   u n d o n e ,   s i n c e   i t s   r e v i s i o n   h i s t o r y   i s   c l e a n e d   u p .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_3_3643"
  },
  {
    "question": "What is Paused?",
    "answer": ". s p e c . p a u s e d   i s   a n   o p t i o n a l   b o o l e a n   f i e l d   f o r   p a u s i n g   a n d   r e s u m i n g   a   D e p l o y m e n t .   T h e   o n l y   d i f f e r e n c e   b e t w e e n   a   p a u s e d   D e p l o y m e n t   a n d   o n e   t h a t   i s   n o t   p a u s e d ,   i s   t h a t   a n y   c h a n g e s   i n t o   t h e   P o d T e m p l a t e S p e c   o f   t h e   p a u s e d   D e p l o y m e n t   w i l l   n o t   t r i g g e r   n e w   r o l l o u t s   a s   l o n g   a s   i t   i s   p a u s e d .   A   D e p l o y m e n t   i s   n o t   p a u s e d   b y   d e f a u l t   w h e n   i t   i s   c r e a t e d .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_3_3644"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   P o d s . R u n   a   s t a t e l e s s   a p p l i c a t i o n   u s i n g   a   D e p l o y m e n t . R e a d   t h e   D e p l o y m e n t   t o   u n d e r s t a n d   t h e   D e p l o y m e n t   A P I . R e a d   a b o u t   P o d D i s r u p t i o n B u d g e t   a n d   h o w   y o u   c a n   u s e   i t   t o   m a n a g e   a p p l i c a t i o n   a v a i l a b i l i t y   d u r i n g   d i s r u p t i o n s . U s e   k u b e c t l   t o   c r e a t e   a   D e p l o y m e n t .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/deployment/",
    "id": "k8s_00206_section_2_3645"
  },
  {
    "question": "What is kubectl config set-cluster?",
    "answer": "kubectl config set-clusterSynopsisSet a cluster entry in kubeconfig.Specifying a name that already exists will merge new fields on top of existing values for those fields.kubectl config set-cluster NAME [--server=server] [--certificate-authority=path/to/certificate/authority] [--insecure-skip-tls-verify=true] [--tls-server-name=example.com] Examples # Set only the server field on the e2e cluster entry without touching other values kubectl config set-cluster e2e --server=https://1.2.3.4 # Embed certificate authority data for the e2e cluster entry kubectl config set-cluster e2e --embed-certs --certificate-authority=~/.kube/e2e/kubernetes.ca.crt # Disable cert checking for the e2e cluster entry kubectl config set-cluster e2e --insecure-skip-tls-verify=true # Set the custom TLS server name to use for validation for the e2e cluster entry kubectl config set-cluster e2e --tls-server-name=my-cluster-name # Set the proxy URL for the e2e cluster entry kubectl config set-cluster e2e --proxy-url=https://1.2.3.4 Options--certificate-authority stringPath to certificate-authority file for the cluster entry in kubeconfig--embed-certs tristate[=true]embed-certs for the cluster entry in kubeconfig-h, --helphelp for set-cluster--insecure-skip-tls-verify tristate[=true]insecure-skip-tls-verify for the cluster entry in kubeconfig--proxy-url stringproxy-url for the cluster entry in kubeconfig--server stringserver for the cluster entry in kubeconfig--tls-server-name stringtls-server-name for the cluster entry in kubeconfigParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contai",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-cluster/",
    "id": "k8s_00207_qa_3646"
  },
  {
    "question": "How does kubectl config set-cluster work?",
    "answer": "kubectl config set-clusterSynopsisSet a cluster entry in kubeconfig.Specifying a name that already exists will merge new fields on top of existing values for those fields.kubectl config set-cluster NAME [--server=server] [--certificate-authority=path/to/certificate/authority] [--insecure-skip-tls-verify=true] [--tls-server-name=example.com] Examples # Set only the server field on the e2e cluster entry without touching other values kubectl config set-cluster e2e --server=https://1.2.3.4 # Embed certificate authority data for the e2e cluster entry kubectl config set-cluster e2e --embed-certs --certificate-authority=~/.kube/e2e/kubernetes.ca.crt # Disable cert checking for the e2e cluster entry kubectl config set-cluster e2e --insecure-skip-tls-verify=true # Set the custom TLS server name to use for validation for the e2e cluster entry kubectl config set-cluster e2e --tls-server-name=my-cluster-name # Set the proxy URL for the e2e cluster entry kubectl config set-cluster e2e --proxy-url=https://1.2.3.4 Options--certificate-authority stringPath to certificate-authority file for the cluster entry in kubeconfig--embed-certs tristate[=true]embed-certs for the cluster entry in kubeconfig-h, --helphelp for set-cluster--insecure-skip-tls-verify tristate[=true]insecure-skip-tls-verify for the cluster entry in kubeconfig--proxy-url stringproxy-url for the cluster entry in kubeconfig--server stringserver for the cluster entry in kubeconfig--tls-server-name stringtls-server-name for the cluster entry in kubeconfigParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contai",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-cluster/",
    "id": "k8s_00207_qa_3647"
  },
  {
    "question": "When would you use kubectl config set-cluster?",
    "answer": "kubectl config set-clusterSynopsisSet a cluster entry in kubeconfig.Specifying a name that already exists will merge new fields on top of existing values for those fields.kubectl config set-cluster NAME [--server=server] [--certificate-authority=path/to/certificate/authority] [--insecure-skip-tls-verify=true] [--tls-server-name=example.com] Examples # Set only the server field on the e2e cluster entry without touching other values kubectl config set-cluster e2e --server=https://1.2.3.4 # Embed certificate authority data for the e2e cluster entry kubectl config set-cluster e2e --embed-certs --certificate-authority=~/.kube/e2e/kubernetes.ca.crt # Disable cert checking for the e2e cluster entry kubectl config set-cluster e2e --insecure-skip-tls-verify=true # Set the custom TLS server name to use for validation for the e2e cluster entry kubectl config set-cluster e2e --tls-server-name=my-cluster-name # Set the proxy URL for the e2e cluster entry kubectl config set-cluster e2e --proxy-url=https://1.2.3.4 Options--certificate-authority stringPath to certificate-authority file for the cluster entry in kubeconfig--embed-certs tristate[=true]embed-certs for the cluster entry in kubeconfig-h, --helphelp for set-cluster--insecure-skip-tls-verify tristate[=true]insecure-skip-tls-verify for the cluster entry in kubeconfig--proxy-url stringproxy-url for the cluster entry in kubeconfig--server stringserver for the cluster entry in kubeconfig--tls-server-name stringtls-server-name for the cluster entry in kubeconfigParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contai",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-cluster/",
    "id": "k8s_00207_qa_3648"
  },
  {
    "question": "What are the benefits of kubectl config set-cluster?",
    "answer": "kubectl config set-clusterSynopsisSet a cluster entry in kubeconfig.Specifying a name that already exists will merge new fields on top of existing values for those fields.kubectl config set-cluster NAME [--server=server] [--certificate-authority=path/to/certificate/authority] [--insecure-skip-tls-verify=true] [--tls-server-name=example.com] Examples # Set only the server field on the e2e cluster entry without touching other values kubectl config set-cluster e2e --server=https://1.2.3.4 # Embed certificate authority data for the e2e cluster entry kubectl config set-cluster e2e --embed-certs --certificate-authority=~/.kube/e2e/kubernetes.ca.crt # Disable cert checking for the e2e cluster entry kubectl config set-cluster e2e --insecure-skip-tls-verify=true # Set the custom TLS server name to use for validation for the e2e cluster entry kubectl config set-cluster e2e --tls-server-name=my-cluster-name # Set the proxy URL for the e2e cluster entry kubectl config set-cluster e2e --proxy-url=https://1.2.3.4 Options--certificate-authority stringPath to certificate-authority file for the cluster entry in kubeconfig--embed-certs tristate[=true]embed-certs for the cluster entry in kubeconfig-h, --helphelp for set-cluster--insecure-skip-tls-verify tristate[=true]insecure-skip-tls-verify for the cluster entry in kubeconfig--proxy-url stringproxy-url for the cluster entry in kubeconfig--server stringserver for the cluster entry in kubeconfig--tls-server-name stringtls-server-name for the cluster entry in kubeconfigParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contai",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-cluster/",
    "id": "k8s_00207_qa_3649"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S e t   a   c l u s t e r   e n t r y   i n   k u b e c o n f i g .   S p e c i f y i n g   a   n a m e   t h a t   a l r e a d y   e x i s t s   w i l l   m e r g e   n e w   f i e l d s   o n   t o p   o f   e x i s t i n g   v a l u e s   f o r   t h o s e   f i e l d s .   k u b e c t l   c o n f i g   s e t - c l u s t e r   N A M E   [ - - s e r v e r = s e r v e r ]   [ - - c e r t i f i c a t e - a u t h o r i t y = p a t h / t o / c e r t i f i c a t e / a u t h o r i t y ]   [ - - i n s e c u r e - s k i p - t l s - v e r i f y = t r u e ]   [ - - t l s - s e r v e r - n a m e = e x a m p l e . c o m ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-cluster/",
    "id": "k8s_00207_section_2_3650"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   o n l y   t h e   s e r v e r   f i e l d   o n   t h e   e 2 e   c l u s t e r   e n t r y   w i t h o u t   t o u c h i n g   o t h e r   v a l u e s   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - s e r v e r = h t t p s : / / 1 . 2 . 3 . 4   #   E m b e d   c e r t i f i c a t e   a u t h o r i t y   d a t a   f o r   t h e   e 2 e   c l u s t e r   e n t r y   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - e m b e d - c e r t s   - - c e r t i f i c a t e - a u t h o r i t y = ~ / . k u b e / e 2 e / k u b e r n e t e s . c a . c r t   #   D i s a b l e   c e r t   c h e c k i n g   f o r   t h e   e 2 e   c l u s t e r   e n t r y   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - i n s e c u r e - s k i p - t l s - v e r i f y = t r u e   #   S e t   t h e   c u s t o m   T L S   s e r v e r   n a m e   t o   u s e   f o r   v a l i d a t i o n   f o r   t h e   e 2 e   c l u s t e r   e n t r y   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - t l s - s e r v e r - n a m e = m y - c l u s t e r - n a m e   #   S e t   t h e   p r o x y   U R L   f o r   t h e   e 2 e   c l u s t e r   e n t r y   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - p r o x y - u r l = h t t p s : / / 1 . 2 . 3 . 4",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-cluster/",
    "id": "k8s_00207_section_2_3651"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   c e r t i f i c a t e - a u t h o r i t y   f i l e   f o r   t h e   c l u s t e r   e n t r y   i n   k u b e c o n f i g   e m b e d - c e r t s   f o r   t h e   c l u s t e r   e n t r y   i n   k u b e c o n f i g   h e l p   f o r   s e t - c l u s t e r   i n s e c u r e - s k i p - t l s - v e r i f y   f o r   t h e   c l u s t e r   e n t r y   i n   k u b e c o n f i g   p r o x y - u r l   f o r   t h e   c l u s t e r   e n t r y   i n   k u b e c o n f i g   s e r v e r   f o r   t h e   c l u s t e r   e n t r y   i n   k u b e c o n f i g   t l s - s e r v e r - n a m e   f o r   t h e   c l u s t e r   e n t r y   i n   k u b e c o n f i g",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-cluster/",
    "id": "k8s_00207_section_2_3652"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e r   N a m e   o f   p r o f i l e   t o   c a p t u r e .   O n e   o f   ( n o n e | c p u | h e a p | g o r o u t i n e | t h r e a d c r e a t e | b l o c k | m u t e x )   N a m e   o f   t h e   f i l e   t o   w r i t e   t h e   p r o f i l e   t o   T h e   l e n g t h   o f   t i m e   t o   w a i t   b e f o r e   g i ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-cluster/",
    "id": "k8s_00207_section_2_3653"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-cluster/",
    "id": "k8s_00207_section_2_3654"
  },
  {
    "question": "What is ConfigMaps?",
    "answer": "ConfigMapsA ConfigMap is an API object used to store non-confidential data in key-value pairs. Pods can consume ConfigMaps as environment variables, command-line arguments, or as configuration files in a volume.A ConfigMap allows you to decouple environment-specific configuration from your container images, so that your applications are easily portable.Caution:ConfigMap does not provide secrecy or encryption. If the data you want to store are confidential, use a Secret rather than a ConfigMap, or use additional (third party) tools to keep your data private.MotivationUse a ConfigMap for setting configuration data separately from application code.For example, imagine that you are developing an application that you can run on your own computer (for development) and in the cloud (to handle real traffic). You write the code to look in an environment variable named DATABASE_HOST. Locally, you set that variable to localhost. In the cloud, you set it to refer to a Kubernetes Service that exposes the database component to your cluster. This lets you fetch a container image running in the cloud and debug the exact same code locally if needed.Note:A ConfigMap is not designed to hold large chunks of data. The data stored in a ConfigMap cannot exceed 1 MiB. If you need to store settings that are larger than this limit, you may want to consider mounting a volume or use a separate database or file service.ConfigMap objectA ConfigMap is an API object that lets you store configuration for other objects to use. Unlike most Kubernetes objects that have a spec, a ConfigMap has data and binaryData fields. These fields accept key-value pairs as their values. Both the data field and the binaryData are optional. The data field is designed to contain UTF-8 strings while the binaryData field is designed to contain binary data as base64-encoded strings.The name of a ConfigMap must be a valid DNS subdomain name.Each key under the data or the binaryData field must consist of alphanumeric characters, -, _ or .. The keys stored in data must not overlap with the keys in the binaryData field.Starting from v1.19, you can add an immutable field to a ConfigMap definition to create an immutable ConfigMap.ConfigMaps and PodsYou can write a Pod spec that refers to a ConfigMap and configures the container(s) in that Pod based on the data in the ConfigMap. The Pod and the ConfigMap must be in the same namespace.Note:The spec of a static Pod cannot refer to a ConfigMap or any other API objects.Here's an example ConfigMap that has some keys with single values, and other keys where the value looks like a fragment of a configuration format.apiVersion: v1 kind: ConfigMap metadata: name: game-demo data: # property-like keys; each key maps to a simple value player_initial_lives: \"3\" ui_properties_file_name: \"user-interface.properties\" # file-like keys game.properties: | enemy.types=aliens,monsters player.maximum-lives=5 user-interface.properties: | color.good=purple color.bad=yellow allow.text",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/configmap/",
    "id": "k8s_00208_qa_3655"
  },
  {
    "question": "How does ConfigMaps work?",
    "answer": "ConfigMapsA ConfigMap is an API object used to store non-confidential data in key-value pairs. Pods can consume ConfigMaps as environment variables, command-line arguments, or as configuration files in a volume.A ConfigMap allows you to decouple environment-specific configuration from your container images, so that your applications are easily portable.Caution:ConfigMap does not provide secrecy or encryption. If the data you want to store are confidential, use a Secret rather than a ConfigMap, or use additional (third party) tools to keep your data private.MotivationUse a ConfigMap for setting configuration data separately from application code.For example, imagine that you are developing an application that you can run on your own computer (for development) and in the cloud (to handle real traffic). You write the code to look in an environment variable named DATABASE_HOST. Locally, you set that variable to localhost. In the cloud, you set it to refer to a Kubernetes Service that exposes the database component to your cluster. This lets you fetch a container image running in the cloud and debug the exact same code locally if needed.Note:A ConfigMap is not designed to hold large chunks of data. The data stored in a ConfigMap cannot exceed 1 MiB. If you need to store settings that are larger than this limit, you may want to consider mounting a volume or use a separate database or file service.ConfigMap objectA ConfigMap is an API object that lets you store configuration for other objects to use. Unlike most Kubernetes objects that have a spec, a ConfigMap has data and binaryData fields. These fields accept key-value pairs as their values. Both the data field and the binaryData are optional. The data field is designed to contain UTF-8 strings while the binaryData field is designed to contain binary data as base64-encoded strings.The name of a ConfigMap must be a valid DNS subdomain name.Each key under the data or the binaryData field must consist of alphanumeric characters, -, _ or .. The keys stored in data must not overlap with the keys in the binaryData field.Starting from v1.19, you can add an immutable field to a ConfigMap definition to create an immutable ConfigMap.ConfigMaps and PodsYou can write a Pod spec that refers to a ConfigMap and configures the container(s) in that Pod based on the data in the ConfigMap. The Pod and the ConfigMap must be in the same namespace.Note:The spec of a static Pod cannot refer to a ConfigMap or any other API objects.Here's an example ConfigMap that has some keys with single values, and other keys where the value looks like a fragment of a configuration format.apiVersion: v1 kind: ConfigMap metadata: name: game-demo data: # property-like keys; each key maps to a simple value player_initial_lives: \"3\" ui_properties_file_name: \"user-interface.properties\" # file-like keys game.properties: | enemy.types=aliens,monsters player.maximum-lives=5 user-interface.properties: | color.good=purple color.bad=yellow allow.text",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/configmap/",
    "id": "k8s_00208_qa_3656"
  },
  {
    "question": "When would you use ConfigMaps?",
    "answer": "ConfigMapsA ConfigMap is an API object used to store non-confidential data in key-value pairs. Pods can consume ConfigMaps as environment variables, command-line arguments, or as configuration files in a volume.A ConfigMap allows you to decouple environment-specific configuration from your container images, so that your applications are easily portable.Caution:ConfigMap does not provide secrecy or encryption. If the data you want to store are confidential, use a Secret rather than a ConfigMap, or use additional (third party) tools to keep your data private.MotivationUse a ConfigMap for setting configuration data separately from application code.For example, imagine that you are developing an application that you can run on your own computer (for development) and in the cloud (to handle real traffic). You write the code to look in an environment variable named DATABASE_HOST. Locally, you set that variable to localhost. In the cloud, you set it to refer to a Kubernetes Service that exposes the database component to your cluster. This lets you fetch a container image running in the cloud and debug the exact same code locally if needed.Note:A ConfigMap is not designed to hold large chunks of data. The data stored in a ConfigMap cannot exceed 1 MiB. If you need to store settings that are larger than this limit, you may want to consider mounting a volume or use a separate database or file service.ConfigMap objectA ConfigMap is an API object that lets you store configuration for other objects to use. Unlike most Kubernetes objects that have a spec, a ConfigMap has data and binaryData fields. These fields accept key-value pairs as their values. Both the data field and the binaryData are optional. The data field is designed to contain UTF-8 strings while the binaryData field is designed to contain binary data as base64-encoded strings.The name of a ConfigMap must be a valid DNS subdomain name.Each key under the data or the binaryData field must consist of alphanumeric characters, -, _ or .. The keys stored in data must not overlap with the keys in the binaryData field.Starting from v1.19, you can add an immutable field to a ConfigMap definition to create an immutable ConfigMap.ConfigMaps and PodsYou can write a Pod spec that refers to a ConfigMap and configures the container(s) in that Pod based on the data in the ConfigMap. The Pod and the ConfigMap must be in the same namespace.Note:The spec of a static Pod cannot refer to a ConfigMap or any other API objects.Here's an example ConfigMap that has some keys with single values, and other keys where the value looks like a fragment of a configuration format.apiVersion: v1 kind: ConfigMap metadata: name: game-demo data: # property-like keys; each key maps to a simple value player_initial_lives: \"3\" ui_properties_file_name: \"user-interface.properties\" # file-like keys game.properties: | enemy.types=aliens,monsters player.maximum-lives=5 user-interface.properties: | color.good=purple color.bad=yellow allow.text",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/configmap/",
    "id": "k8s_00208_qa_3657"
  },
  {
    "question": "What are the benefits of ConfigMaps?",
    "answer": "ConfigMapsA ConfigMap is an API object used to store non-confidential data in key-value pairs. Pods can consume ConfigMaps as environment variables, command-line arguments, or as configuration files in a volume.A ConfigMap allows you to decouple environment-specific configuration from your container images, so that your applications are easily portable.Caution:ConfigMap does not provide secrecy or encryption. If the data you want to store are confidential, use a Secret rather than a ConfigMap, or use additional (third party) tools to keep your data private.MotivationUse a ConfigMap for setting configuration data separately from application code.For example, imagine that you are developing an application that you can run on your own computer (for development) and in the cloud (to handle real traffic). You write the code to look in an environment variable named DATABASE_HOST. Locally, you set that variable to localhost. In the cloud, you set it to refer to a Kubernetes Service that exposes the database component to your cluster. This lets you fetch a container image running in the cloud and debug the exact same code locally if needed.Note:A ConfigMap is not designed to hold large chunks of data. The data stored in a ConfigMap cannot exceed 1 MiB. If you need to store settings that are larger than this limit, you may want to consider mounting a volume or use a separate database or file service.ConfigMap objectA ConfigMap is an API object that lets you store configuration for other objects to use. Unlike most Kubernetes objects that have a spec, a ConfigMap has data and binaryData fields. These fields accept key-value pairs as their values. Both the data field and the binaryData are optional. The data field is designed to contain UTF-8 strings while the binaryData field is designed to contain binary data as base64-encoded strings.The name of a ConfigMap must be a valid DNS subdomain name.Each key under the data or the binaryData field must consist of alphanumeric characters, -, _ or .. The keys stored in data must not overlap with the keys in the binaryData field.Starting from v1.19, you can add an immutable field to a ConfigMap definition to create an immutable ConfigMap.ConfigMaps and PodsYou can write a Pod spec that refers to a ConfigMap and configures the container(s) in that Pod based on the data in the ConfigMap. The Pod and the ConfigMap must be in the same namespace.Note:The spec of a static Pod cannot refer to a ConfigMap or any other API objects.Here's an example ConfigMap that has some keys with single values, and other keys where the value looks like a fragment of a configuration format.apiVersion: v1 kind: ConfigMap metadata: name: game-demo data: # property-like keys; each key maps to a simple value player_initial_lives: \"3\" ui_properties_file_name: \"user-interface.properties\" # file-like keys game.properties: | enemy.types=aliens,monsters player.maximum-lives=5 user-interface.properties: | color.good=purple color.bad=yellow allow.text",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/configmap/",
    "id": "k8s_00208_qa_3658"
  },
  {
    "question": "What is ConfigMaps?",
    "answer": "A   C o n f i g M a p   i s   a n   A P I   o b j e c t   u s e d   t o   s t o r e   n o n - c o n f i d e n t i a l   d a t a   i n   k e y - v a l u e   p a i r s .   P o d s   c a n   c o n s u m e   C o n f i g M a p s   a s   e n v i r o n m e n t   v a r i a b l e s ,   c o m m a n d - l i n e   a r g u m e n t s ,   o r   a s   c o n f i g u r a t i o n   f i l e s   i n   a   v o l u m e .   A   C o n f i g M a p   i s   a n   A P I   o b j e c t   u s e d   t o   s t o r e   n o n - c o n f i d e n t i a l   d a t a   i n   k e y - v a l u e   p a i r s .   P o d s   c a n   c o n s u m e   C o n f i g M a p s   a s   e n v i r o n m e n t   v a r i a b l e s ,   c o m m a n d - l i n e   a r g u m e n t s ,   o r   a s   c o n f i g u r a t i o n   f i l e s   i n   a   v o l u m e .   A   C o n f i g M a p   a l l o w s   y o u   t o   d e c o u p l e   e n v i r o n m e n t - s p e c i f i c   c o n f i g u r a t i o n   f r o m   y o u r   c o n t a i n e r   i m a g e s ,   s o   t h a t   y o u r   a p p l i c a t i o n s   a r e   e a s i l y   p o r t a b l e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/configmap/",
    "id": "k8s_00208_section_1_3659"
  },
  {
    "question": "What is Motivation?",
    "answer": "U s e   a   C o n f i g M a p   f o r   s e t t i n g   c o n f i g u r a t i o n   d a t a   s e p a r a t e l y   f r o m   a p p l i c a t i o n   c o d e .   F o r   e x a m p l e ,   i m a g i n e   t h a t   y o u   a r e   d e v e l o p i n g   a n   a p p l i c a t i o n   t h a t   y o u   c a n   r u n   o n   y o u r   o w n   c o m p u t e r   ( f o r   d e v e l o p m e n t )   a n d   i n   t h e   c l o u d   ( t o   h a n d l e   r e a l   t r a f f i c ) .   Y o u   w r i t e   t h e   c o d e   t o   l o o k   i n   a n   e n v i r o n m e n t   v a r i a b l e   n a m e d   D A T A B A S E _ H O S T .   L o c a l l y ,   y o u   s e t   t h a t   v a r i a b l e   t o   l o c a l h o s t .   I n   t h e   c l o u d ,   y o u   s e t   i t   t o   r e f e r   t o   a   K u b e r n e t e s   S e r v i c e   t h a t   e x p o s e s   t h e   d a t a b a s e   c o m p o n e n t   t o   y o u r   c l u s t e r .   T h i s   l e t s   y o u   f e t c h   a   c o n t a i n e r   i m a g e   r u n n i n g   i n   t h e   c l o u d   a n d   d e b u g   t h e   e x a c t   s a m e   c o d e   l o c a l l y   i f   n e e d e d .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/configmap/",
    "id": "k8s_00208_section_2_3660"
  },
  {
    "question": "What is ConfigMap object?",
    "answer": "A   C o n f i g M a p   i s   a n   A P I   o b j e c t   t h a t   l e t s   y o u   s t o r e   c o n f i g u r a t i o n   f o r   o t h e r   o b j e c t s   t o   u s e .   U n l i k e   m o s t   K u b e r n e t e s   o b j e c t s   t h a t   h a v e   a   s p e c ,   a   C o n f i g M a p   h a s   d a t a   a n d   b i n a r y D a t a   f i e l d s .   T h e s e   f i e l d s   a c c e p t   k e y - v a l u e   p a i r s   a s   t h e i r   v a l u e s .   B o t h   t h e   d a t a   f i e l d   a n d   t h e   b i n a r y D a t a   a r e   o p t i o n a l .   T h e   d a t a   f i e l d   i s   d e s i g n e d   t o   c o n t a i n   U T F - 8   s t r i n g s   w h i l e   t h e   b i n a r y D a t a   f i e l d   i s   d e s i g n e d   t o   c o n t a i n   b i n a r y   d a t a   a s   b a s e 6 4 - e n c o d e d   s t r i n g s .   T h e   n a m e   o f   a   C o n f i g M a p   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   E a c h   k e y   u n d e r   t h e   d a t a   o r   t h e   b i n a r y D a t a   f i e l d   m u s t   c o n s i s t   o f   a l p h a n u m e r i c   c h a r a c t e r s ,   - ,   _   o r   . .   T h e   k e y s   s t o r e d   i n   d a t a   m u s t   n o t   o v e r l a p   w i t h   t h e   k e y s   i n   t h e   b i n a r y D a t a   f i e l d .   S t a r t i n g   f r o m   v 1 . 1 9 ,   y o u   c a n   a d d   a n   i m m u t a b l e   f i e l d   t o   a   C o n f i g M a p   d e f i n i t i o n   t o   c r e a t e   a n   i m m u t a b l e   C o n f i g M a p .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/configmap/",
    "id": "k8s_00208_section_2_3661"
  },
  {
    "question": "What is ConfigMaps and Pods?",
    "answer": "Y o u   c a n   w r i t e   a   P o d   s p e c   t h a t   r e f e r s   t o   a   C o n f i g M a p   a n d   c o n f i g u r e s   t h e   c o n t a i n e r ( s )   i n   t h a t   P o d   b a s e d   o n   t h e   d a t a   i n   t h e   C o n f i g M a p .   T h e   P o d   a n d   t h e   C o n f i g M a p   m u s t   b e   i n   t h e   s a m e   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/configmap/",
    "id": "k8s_00208_section_2_3662"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e ' s   a n   e x a m p l e   C o n f i g M a p   t h a t   h a s   s o m e   k e y s   w i t h   s i n g l e   v a l u e s ,   a n d   o t h e r   k e y s   w h e r e   t h e   v a l u e   l o o k s   l i k e   a   f r a g m e n t   o f   a   c o n f i g u r a t i o n   f o r m a t .   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   g a m e - d e m o   d a t a :   #   p r o p e r t y - l i k e   k e y s ;   e a c h   k e y   m a p s   t o   a   s i m p l e   v a l u e   p l a y e r _ i n i t i a l _ l i v e s :   \" 3 \"   u i _ p r o p e r t i e s _ f i l e _ n a m e :   \" u s e r - i n t e r f a c e . p r o p e r t i e s \"   #   f i l e - l i k e   k e y s   g a m e . p r o p e r t i e s :   |   e n e m y . t y p e s = a l i e n s , m o n s t e r s   p l a y e r . m a x i m u m - l i v e s = 5   u s e r - i n t e r f a c e . p r o p e r t i e s :   |   c o l o r . g o o d = p u r p l e   c o l o r . b a d = y e l l o w   a l l o w . t e x t m o d e = t r u e   T h e r e   a r e   f o u r   d i f f e r e n t   w a y s   t h a t   y o u   c a n   u s e   a   C o n f i g M a p   t o   c o n f i g u r e   a   c o n t a i n e r   i n s i d e   a   P o d :   I n s i d e   a   c o n t a i n e r   c o m m a n d   a n d   a r g s E n v i r o n m e n t   v a r i a b l e s   f o r   a   c o n t a i n e r A d d   a   f i l e   i n   r e a d - o n l y   v o l u m e ,   f o r   t h e   a p p l i c a t i o n   t o   r e a d W r i t e   c o d e   t o   r u n   i n s i d e   t h e   P o d   t h a t   u s e s   t h e   K u b e r n e t e s   A P I   t o   r e a d   a   C o n f i g M a p   T h e s e   d i f f e r e n t   m e t h o d s   l e n d   t h e m s e l v e s   t o   d i f f e r e n t   w a y s   o f   m o d e l i n g   t h e   d a t a   b e i n g   c o n s u m e d .   F o r   t h e   f i r s t   t h r e e   m e t h o d s ,   t h e   k u b e l e t   u s e s   t h e   d a t a   f r o m   t h e   C o n f i g M a p   w h e n   i ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/configmap/",
    "id": "k8s_00208_section_4_3663"
  },
  {
    "question": "What is Using ConfigMaps?",
    "answer": "C o n f i g M a p s   c a n   b e   m o u n t e d   a s   d a t a   v o l u m e s .   C o n f i g M a p s   c a n   a l s o   b e   u s e d   b y   o t h e r   p a r t s   o f   t h e   s y s t e m ,   w i t h o u t   b e i n g   d i r e c t l y   e x p o s e d   t o   t h e   P o d .   F o r   e x a m p l e ,   C o n f i g M a p s   c a n   h o l d   d a t a   t h a t   o t h e r   p a r t s   o f   t h e   s y s t e m   s h o u l d   u s e   f o r   c o n f i g u r a t i o n .   T h e   m o s t   c o m m o n   w a y   t o   u s e   C o n f i g M a p s   i s   t o   c o n f i g u r e   s e t t i n g s   f o r   c o n t a i n e r s   r u n n i n g   i n   a   P o d   i n   t h e   s a m e   n a m e s p a c e .   Y o u   c a n   a l s o   u s e   a   C o n f i g M a p   s e p a r a t e l y .   F o r   e x a m p l e ,   y o u   m i g h t   e n c o u n t e r   a d d o n s   o r   o p e r a t o r s   t h a t   a d j u s t   t h e i r   b e h a v i o r   b a s e d   o n   a   C o n f i g M a p .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/configmap/",
    "id": "k8s_00208_section_2_3664"
  },
  {
    "question": "What is Using ConfigMaps as files from a Pod?",
    "answer": "T o   c o n s u m e   a   C o n f i g M a p   i n   a   v o l u m e   i n   a   P o d :   C r e a t e   a   C o n f i g M a p   o r   u s e   a n   e x i s t i n g   o n e .   M u l t i p l e   P o d s   c a n   r e f e r e n c e   t h e   s a m e   C o n f i g M a p . M o d i f y   y o u r   P o d   d e f i n i t i o n   t o   a d d   a   v o l u m e   u n d e r   . s p e c . v o l u m e s [ ] .   N a m e   t h e   v o l u m e   a n y t h i n g ,   a n d   h a v e   a   . s p e c . v o l u m e s [ ] . c o n f i g M a p . n a m e   f i e l d   s e t   t o   r e f e r e n c e   y o u r   C o n f i g M a p   o b j e c t . A d d   a   . s p e c . c o n t a i n e r s [ ] . v o l u m e M o u n t s [ ]   t o   e a c h   c o n t a i n e r   t h a t   n e e d s   t h e   C o n f i g M a p .   S p e c i f y   . s p e c . c o n t a i n e r s [ ] . v o l u m e M o u n t s [ ] . r e a d O n l y   =   t r u e   a n d   . s p e c . c o n t a i n e r s [ ] . v o l u m e M o u n t s [ ] . m o u n t P a t h   t o   a n   u n u s e d   d i r e c t o r y   n a m e   w h e r e   y o u   w o u l d   l i k e   t h e   C o n f i g M a p   t o   a p p e a r . M o d i f y   y o u r   i m a g e   o r   c o m m a n d   l i n e   s o   t h a t   t h e   p r o g r a m   l o o k s   f o r   f i l e s   i n   t h a t   d i r e c t o r y .   E a c h   k e y   i n   t h e   C o n f i g M a p   d a t a   m a p   b e c o m e s   t h e   f i l e n a m e   u n d e r   m o u n t P a t h .   T h i s   i s   a n   e x a m p l e   o f   a   P o d   t h a t   m o u n t s   a   C o n f i g M a p   i n   a   v o l u m e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   m y p o d   i m a g e :   r e d i s   v o l u m e M o u n t s :   -   n a m e :   f o o   m o u n t P a t h :   \" / e t c / f o o \"   r e a d O n l y :   t r u e   v o l u m e s :   -   n a m e :   f o o   c o n f i g M a p :   n a m e :   m y c ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/configmap/",
    "id": "k8s_00208_section_3_3665"
  },
  {
    "question": "What is Mounted ConfigMaps are updated automatically?",
    "answer": "W h e n   a   C o n f i g M a p   c u r r e n t l y   c o n s u m e d   i n   a   v o l u m e   i s   u p d a t e d ,   p r o j e c t e d   k e y s   a r e   e v e n t u a l l y   u p d a t e d   a s   w e l l .   T h e   k u b e l e t   c h e c k s   w h e t h e r   t h e   m o u n t e d   C o n f i g M a p   i s   f r e s h   o n   e v e r y   p e r i o d i c   s y n c .   H o w e v e r ,   t h e   k u b e l e t   u s e s   i t s   l o c a l   c a c h e   f o r   g e t t i n g   t h e   c u r r e n t   v a l u e   o f   t h e   C o n f i g M a p .   T h e   t y p e   o f   t h e   c a c h e   i s   c o n f i g u r a b l e   u s i n g   t h e   c o n f i g M a p A n d S e c r e t C h a n g e D e t e c t i o n S t r a t e g y   f i e l d   i n   t h e   K u b e l e t C o n f i g u r a t i o n   s t r u c t .   A   C o n f i g M a p   c a n   b e   e i t h e r   p r o p a g a t e d   b y   w a t c h   ( d e f a u l t ) ,   t t l - b a s e d ,   o r   b y   r e d i r e c t i n g   a l l   r e q u e s t s   d i r e c t l y   t o   t h e   A P I   s e r v e r .   A s   a   r e s u l t ,   t h e   t o t a l   d e l a y   f r o m   t h e   m o m e n t   w h e n   t h e   C o n f i g M a p   i s   u p d a t e d   t o   t h e   m o m e n t   w h e n   n e w   k e y s   a r e   p r o j e c t e d   t o   t h e   P o d   c a n   b e   a s   l o n g   a s   t h e   k u b e l e t   s y n c   p e r i o d   +   c a c h e   p r o p a g a t i o n   d e l a y ,   w h e r e   t h e   c a c h e   p r o p a g a t i o n   d e l a y   d e p e n d s   o n   t h e   c h o s e n   c a c h e   t y p e   ( i t   e q u a l s   t o   w a t c h   p r o p a g a t i o n   d e l a y ,   t t l   o f   c a c h e ,   o r   z e r o   c o r r e s p o n d i n g l y ) .   C o n f i g M a p s   c o n s u m e d   a s   e n v i r o n m e n t   v a r i a b l e s   a r e   n o t   u p d a t e d   a u t o m a t i c a l l y   a n d   r e q u i r e   a   p o d   r e s t a r t .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/configmap/",
    "id": "k8s_00208_section_4_3666"
  },
  {
    "question": "What is Using Configmaps as environment variables?",
    "answer": "T o   u s e   a   C o n f i g m a p   i n   a n   e n v i r o n m e n t   v a r i a b l e   i n   a   P o d :   F o r   e a c h   c o n t a i n e r   i n   y o u r   P o d   s p e c i f i c a t i o n ,   a d d   a n   e n v i r o n m e n t   v a r i a b l e   f o r   e a c h   C o n f i g m a p   k e y   t h a t   y o u   w a n t   t o   u s e   t o   t h e   e n v [ ] . v a l u e F r o m . c o n f i g M a p K e y R e f   f i e l d . M o d i f y   y o u r   i m a g e   a n d / o r   c o m m a n d   l i n e   s o   t h a t   t h e   p r o g r a m   l o o k s   f o r   v a l u e s   i n   t h e   s p e c i f i e d   e n v i r o n m e n t   v a r i a b l e s .   T h i s   i s   a n   e x a m p l e   o f   d e f i n i n g   a   C o n f i g M a p   a s   a   p o d   e n v i r o n m e n t   v a r i a b l e :   T h e   f o l l o w i n g   C o n f i g M a p   ( m y c o n f i g m a p . y a m l )   s t o r e s   t w o   p r o p e r t i e s :   u s e r n a m e   a n d   a c c e s s _ l e v e l :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   m y c o n f i g m a p   d a t a :   u s e r n a m e :   k 8 s - a d m i n   a c c e s s _ l e v e l :   \" 1 \"   T h e   f o l l o w i n g   c o m m a n d   w i l l   c r e a t e   t h e   C o n f i g M a p   o b j e c t :   k u b e c t l   a p p l y   - f   m y c o n f i g m a p . y a m l   T h e   f o l l o w i n g   P o d   c o n s u m e s   t h e   c o n t e n t   o f   t h e   C o n f i g M a p   a s   e n v i r o n m e n t   v a r i a b l e s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e n v - c o n f i g m a p   s p e c :   c o n t a i n e r s :   -   n a m e :   a p p   c o m m a n d :   [ \" / b i n / s h \" ,   \" - c \" ,   \" p r i n t e n v \" ]   i m a g e :   b u s y b o x : l a t e s t   e n v F r o m :   -   c o n f i g M a p R e f :   n a m e :   m y c o n f i g m a p   T h e   e n v F r o m   f i e l d   i n s t r u c t s   K u b e r n e ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/configmap/",
    "id": "k8s_00208_section_3_3667"
  },
  {
    "question": "What is Immutable ConfigMaps?",
    "answer": "T h e   K u b e r n e t e s   f e a t u r e   I m m u t a b l e   S e c r e t s   a n d   C o n f i g M a p s   p r o v i d e s   a n   o p t i o n   t o   s e t   i n d i v i d u a l   S e c r e t s   a n d   C o n f i g M a p s   a s   i m m u t a b l e .   F o r   c l u s t e r s   t h a t   e x t e n s i v e l y   u s e   C o n f i g M a p s   ( a t   l e a s t   t e n s   o f   t h o u s a n d s   o f   u n i q u e   C o n f i g M a p   t o   P o d   m o u n t s ) ,   p r e v e n t i n g   c h a n g e s   t o   t h e i r   d a t a   h a s   t h e   f o l l o w i n g   a d v a n t a g e s :   p r o t e c t s   y o u   f r o m   a c c i d e n t a l   ( o r   u n w a n t e d )   u p d a t e s   t h a t   c o u l d   c a u s e   a p p l i c a t i o n s   o u t a g e s i m p r o v e s   p e r f o r m a n c e   o f   y o u r   c l u s t e r   b y   s i g n i f i c a n t l y   r e d u c i n g   l o a d   o n   k u b e - a p i s e r v e r ,   b y   c l o s i n g   w a t c h e s   f o r   C o n f i g M a p s   m a r k e d   a s   i m m u t a b l e .   Y o u   c a n   c r e a t e   a n   i m m u t a b l e   C o n f i g M a p   b y   s e t t i n g   t h e   i m m u t a b l e   f i e l d   t o   t r u e .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   . . .   d a t a :   . . .   i m m u t a b l e :   t r u e   O n c e   a   C o n f i g M a p   i s   m a r k e d   a s   i m m u t a b l e ,   i t   i s   n o t   p o s s i b l e   t o   r e v e r t   t h i s   c h a n g e   n o r   t o   m u t a t e   t h e   c o n t e n t s   o f   t h e   d a t a   o r   t h e   b i n a r y D a t a   f i e l d .   Y o u   c a n   o n l y   d e l e t e   a n d   r e c r e a t e   t h e   C o n f i g M a p .   B e c a u s e   e x i s t i n g   P o d s   m a i n t a i n   a   m o u n t   p o i n t   t o   t h e   d e l e t e d   C o n f i g M a p ,   i t   i s   r e c o m m e n d e d   t o   r e c r e a t e   t h e s e   p o d s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/configmap/",
    "id": "k8s_00208_section_2_3668"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   S e c r e t s . R e a d   C o n f i g u r e   a   P o d   t o   U s e   a   C o n f i g M a p . R e a d   a b o u t   c h a n g i n g   a   C o n f i g M a p   ( o r   a n y   o t h e r   K u b e r n e t e s   o b j e c t ) R e a d   T h e   T w e l v e - F a c t o r   A p p   t o   u n d e r s t a n d   t h e   m o t i v a t i o n   f o r   s e p a r a t i n g   c o d e   f r o m   c o n f i g u r a t i o n .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/configmap/",
    "id": "k8s_00208_section_2_3669"
  },
  {
    "question": "What is Sidecar Containers?",
    "answer": "Sidecar ContainersFEATURE STATE: Kubernetes v1.33 [stable] (enabled by default: true)Sidecar containers are the secondary containers that run along with the main application container within the same Pod. These containers are used to enhance or to extend the functionality of the primary app container by providing additional services, or functionality such as logging, monitoring, security, or data synchronization, without directly altering the primary application code.Typically, you only have one app container in a Pod. For example, if you have a web application that requires a local webserver, the local webserver is a sidecar and the web application itself is the app container.Sidecar containers in KubernetesKubernetes implements sidecar containers as a special case of init containers; sidecar containers remain running after Pod startup. This document uses the term regular init containers to clearly refer to containers that only run during Pod startup.Provided that your cluster has the SidecarContainers feature gate enabled (the feature is active by default since Kubernetes v1.29), you can specify a restartPolicy for containers listed in a Pod's initContainers field. These restartable sidecar containers are independent from other init containers and from the main application container(s) within the same pod. These can be started, stopped, or restarted without affecting the main application container and other init containers.You can also run a Pod with multiple containers that are not marked as init or sidecar containers. This is appropriate if the containers within the Pod are required for the Pod to work overall, but you don't need to control which containers start or stop first. You could also do this if you need to support older versions of Kubernetes that don't support a container-level restartPolicy field.Example applicationHere's an example of a Deployment with two containers, one of which is a sidecar:application/deployment-sidecar.yaml apiVersion: apps/v1 kind: Deployment metadata: name: myapp labels: app: myapp spec: replicas: 1 selector: matchLabels: app: myapp template: metadata: labels: app: myapp spec: containers: - name: myapp image: alpine:latest command: ['sh', '-c', 'while true; do echo \"logging\" >> /opt/logs.txt; sleep 1; done'] volumeMounts: - name: data mountPath: /opt initContainers: - name: logshipper image: alpine:latest restartPolicy: Always command: ['sh', '-c', 'tail -F /opt/logs.txt'] volumeMounts: - name: data mountPath: /opt volumes: - name: data emptyDir: {}Sidecar containers and Pod lifecycleIf an init container is created with its restartPolicy set to Always, it will start and remain running during the entire life of the Pod. This can be helpful for running supporting services separated from the main application containers.If a readinessProbe is specified for this init container, its result will be used to determine the ready state of the Pod.Since these containers are defined as init containers, they benefit from",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/",
    "id": "k8s_00209_qa_3670"
  },
  {
    "question": "How does Sidecar Containers work?",
    "answer": "Sidecar ContainersFEATURE STATE: Kubernetes v1.33 [stable] (enabled by default: true)Sidecar containers are the secondary containers that run along with the main application container within the same Pod. These containers are used to enhance or to extend the functionality of the primary app container by providing additional services, or functionality such as logging, monitoring, security, or data synchronization, without directly altering the primary application code.Typically, you only have one app container in a Pod. For example, if you have a web application that requires a local webserver, the local webserver is a sidecar and the web application itself is the app container.Sidecar containers in KubernetesKubernetes implements sidecar containers as a special case of init containers; sidecar containers remain running after Pod startup. This document uses the term regular init containers to clearly refer to containers that only run during Pod startup.Provided that your cluster has the SidecarContainers feature gate enabled (the feature is active by default since Kubernetes v1.29), you can specify a restartPolicy for containers listed in a Pod's initContainers field. These restartable sidecar containers are independent from other init containers and from the main application container(s) within the same pod. These can be started, stopped, or restarted without affecting the main application container and other init containers.You can also run a Pod with multiple containers that are not marked as init or sidecar containers. This is appropriate if the containers within the Pod are required for the Pod to work overall, but you don't need to control which containers start or stop first. You could also do this if you need to support older versions of Kubernetes that don't support a container-level restartPolicy field.Example applicationHere's an example of a Deployment with two containers, one of which is a sidecar:application/deployment-sidecar.yaml apiVersion: apps/v1 kind: Deployment metadata: name: myapp labels: app: myapp spec: replicas: 1 selector: matchLabels: app: myapp template: metadata: labels: app: myapp spec: containers: - name: myapp image: alpine:latest command: ['sh', '-c', 'while true; do echo \"logging\" >> /opt/logs.txt; sleep 1; done'] volumeMounts: - name: data mountPath: /opt initContainers: - name: logshipper image: alpine:latest restartPolicy: Always command: ['sh', '-c', 'tail -F /opt/logs.txt'] volumeMounts: - name: data mountPath: /opt volumes: - name: data emptyDir: {}Sidecar containers and Pod lifecycleIf an init container is created with its restartPolicy set to Always, it will start and remain running during the entire life of the Pod. This can be helpful for running supporting services separated from the main application containers.If a readinessProbe is specified for this init container, its result will be used to determine the ready state of the Pod.Since these containers are defined as init containers, they benefit from",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/",
    "id": "k8s_00209_qa_3671"
  },
  {
    "question": "When would you use Sidecar Containers?",
    "answer": "Sidecar ContainersFEATURE STATE: Kubernetes v1.33 [stable] (enabled by default: true)Sidecar containers are the secondary containers that run along with the main application container within the same Pod. These containers are used to enhance or to extend the functionality of the primary app container by providing additional services, or functionality such as logging, monitoring, security, or data synchronization, without directly altering the primary application code.Typically, you only have one app container in a Pod. For example, if you have a web application that requires a local webserver, the local webserver is a sidecar and the web application itself is the app container.Sidecar containers in KubernetesKubernetes implements sidecar containers as a special case of init containers; sidecar containers remain running after Pod startup. This document uses the term regular init containers to clearly refer to containers that only run during Pod startup.Provided that your cluster has the SidecarContainers feature gate enabled (the feature is active by default since Kubernetes v1.29), you can specify a restartPolicy for containers listed in a Pod's initContainers field. These restartable sidecar containers are independent from other init containers and from the main application container(s) within the same pod. These can be started, stopped, or restarted without affecting the main application container and other init containers.You can also run a Pod with multiple containers that are not marked as init or sidecar containers. This is appropriate if the containers within the Pod are required for the Pod to work overall, but you don't need to control which containers start or stop first. You could also do this if you need to support older versions of Kubernetes that don't support a container-level restartPolicy field.Example applicationHere's an example of a Deployment with two containers, one of which is a sidecar:application/deployment-sidecar.yaml apiVersion: apps/v1 kind: Deployment metadata: name: myapp labels: app: myapp spec: replicas: 1 selector: matchLabels: app: myapp template: metadata: labels: app: myapp spec: containers: - name: myapp image: alpine:latest command: ['sh', '-c', 'while true; do echo \"logging\" >> /opt/logs.txt; sleep 1; done'] volumeMounts: - name: data mountPath: /opt initContainers: - name: logshipper image: alpine:latest restartPolicy: Always command: ['sh', '-c', 'tail -F /opt/logs.txt'] volumeMounts: - name: data mountPath: /opt volumes: - name: data emptyDir: {}Sidecar containers and Pod lifecycleIf an init container is created with its restartPolicy set to Always, it will start and remain running during the entire life of the Pod. This can be helpful for running supporting services separated from the main application containers.If a readinessProbe is specified for this init container, its result will be used to determine the ready state of the Pod.Since these containers are defined as init containers, they benefit from",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/",
    "id": "k8s_00209_qa_3672"
  },
  {
    "question": "What are the benefits of Sidecar Containers?",
    "answer": "Sidecar ContainersFEATURE STATE: Kubernetes v1.33 [stable] (enabled by default: true)Sidecar containers are the secondary containers that run along with the main application container within the same Pod. These containers are used to enhance or to extend the functionality of the primary app container by providing additional services, or functionality such as logging, monitoring, security, or data synchronization, without directly altering the primary application code.Typically, you only have one app container in a Pod. For example, if you have a web application that requires a local webserver, the local webserver is a sidecar and the web application itself is the app container.Sidecar containers in KubernetesKubernetes implements sidecar containers as a special case of init containers; sidecar containers remain running after Pod startup. This document uses the term regular init containers to clearly refer to containers that only run during Pod startup.Provided that your cluster has the SidecarContainers feature gate enabled (the feature is active by default since Kubernetes v1.29), you can specify a restartPolicy for containers listed in a Pod's initContainers field. These restartable sidecar containers are independent from other init containers and from the main application container(s) within the same pod. These can be started, stopped, or restarted without affecting the main application container and other init containers.You can also run a Pod with multiple containers that are not marked as init or sidecar containers. This is appropriate if the containers within the Pod are required for the Pod to work overall, but you don't need to control which containers start or stop first. You could also do this if you need to support older versions of Kubernetes that don't support a container-level restartPolicy field.Example applicationHere's an example of a Deployment with two containers, one of which is a sidecar:application/deployment-sidecar.yaml apiVersion: apps/v1 kind: Deployment metadata: name: myapp labels: app: myapp spec: replicas: 1 selector: matchLabels: app: myapp template: metadata: labels: app: myapp spec: containers: - name: myapp image: alpine:latest command: ['sh', '-c', 'while true; do echo \"logging\" >> /opt/logs.txt; sleep 1; done'] volumeMounts: - name: data mountPath: /opt initContainers: - name: logshipper image: alpine:latest restartPolicy: Always command: ['sh', '-c', 'tail -F /opt/logs.txt'] volumeMounts: - name: data mountPath: /opt volumes: - name: data emptyDir: {}Sidecar containers and Pod lifecycleIf an init container is created with its restartPolicy set to Always, it will start and remain running during the entire life of the Pod. This can be helpful for running supporting services separated from the main application containers.If a readinessProbe is specified for this init container, its result will be used to determine the ready state of the Pod.Since these containers are defined as init containers, they benefit from",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/",
    "id": "k8s_00209_qa_3673"
  },
  {
    "question": "What is Sidecar Containers?",
    "answer": "S i d e c a r   c o n t a i n e r s   a r e   t h e   s e c o n d a r y   c o n t a i n e r s   t h a t   r u n   a l o n g   w i t h   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r   w i t h i n   t h e   s a m e   P o d .   T h e s e   c o n t a i n e r s   a r e   u s e d   t o   e n h a n c e   o r   t o   e x t e n d   t h e   f u n c t i o n a l i t y   o f   t h e   p r i m a r y   a p p   c o n t a i n e r   b y   p r o v i d i n g   a d d i t i o n a l   s e r v i c e s ,   o r   f u n c t i o n a l i t y   s u c h   a s   l o g g i n g ,   m o n i t o r i n g ,   s e c u r i t y ,   o r   d a t a   s y n c h r o n i z a t i o n ,   w i t h o u t   d i r e c t l y   a l t e r i n g   t h e   p r i m a r y   a p p l i c a t i o n   c o d e .   T y p i c a l l y ,   y o u   o n l y   h a v e   o n e   a p p   c o n t a i n e r   i n   a   P o d .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   w e b   a p p l i c a t i o n   t h a t   r e q u i r e s   a   l o c a l   w e b s e r v e r ,   t h e   l o c a l   w e b s e r v e r   i s   a   s i d e c a r   a n d   t h e   w e b   a p p l i c a t i o n   i t s e l f   i s   t h e   a p p   c o n t a i n e r .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/",
    "id": "k8s_00209_section_1_3674"
  },
  {
    "question": "What is Sidecar containers in Kubernetes?",
    "answer": "K u b e r n e t e s   i m p l e m e n t s   s i d e c a r   c o n t a i n e r s   a s   a   s p e c i a l   c a s e   o f   i n i t   c o n t a i n e r s ;   s i d e c a r   c o n t a i n e r s   r e m a i n   r u n n i n g   a f t e r   P o d   s t a r t u p .   T h i s   d o c u m e n t   u s e s   t h e   t e r m   r e g u l a r   i n i t   c o n t a i n e r s   t o   c l e a r l y   r e f e r   t o   c o n t a i n e r s   t h a t   o n l y   r u n   d u r i n g   P o d   s t a r t u p .   P r o v i d e d   t h a t   y o u r   c l u s t e r   h a s   t h e   S i d e c a r C o n t a i n e r s   f e a t u r e   g a t e   e n a b l e d   ( t h e   f e a t u r e   i s   a c t i v e   b y   d e f a u l t   s i n c e   K u b e r n e t e s   v 1 . 2 9 ) ,   y o u   c a n   s p e c i f y   a   r e s t a r t P o l i c y   f o r   c o n t a i n e r s   l i s t e d   i n   a   P o d ' s   i n i t C o n t a i n e r s   f i e l d .   T h e s e   r e s t a r t a b l e   s i d e c a r   c o n t a i n e r s   a r e   i n d e p e n d e n t   f r o m   o t h e r   i n i t   c o n t a i n e r s   a n d   f r o m   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r ( s )   w i t h i n   t h e   s a m e   p o d .   T h e s e   c a n   b e   s t a r t e d ,   s t o p p e d ,   o r   r e s t a r t e d   w i t h o u t   a f f e c t i n g   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r   a n d   o t h e r   i n i t   c o n t a i n e r s .   Y o u   c a n   a l s o   r u n   a   P o d   w i t h   m u l t i p l e   c o n t a i n e r s   t h a t   a r e   n o t   m a r k e d   a s   i n i t   o r   s i d e c a r   c o n t a i n e r s .   T h i s   i s   a p p r o p r i a t e   i f   t h e   c o n t a i n e r s   w i t h i n   t h e   P o d   a r e   r e q u i r e d   f o r   t h e   P o d   t o   w o r k   o v e r a l l ,   b u t   y o u   d o n ' t   n e e d   t o   c o n t r o l   w h i c h   c o n t a i n e r s   s t a r t   o r   s t o p   f i r s t .   Y o u   c ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/",
    "id": "k8s_00209_section_2_3675"
  },
  {
    "question": "What is Example application?",
    "answer": "H e r e ' s   a n   e x a m p l e   o f   a   D e p l o y m e n t   w i t h   t w o   c o n t a i n e r s ,   o n e   o f   w h i c h   i s   a   s i d e c a r :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   m y a p p   l a b e l s :   a p p :   m y a p p   s p e c :   r e p l i c a s :   1   s e l e c t o r :   m a t c h L a b e l s :   a p p :   m y a p p   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   m y a p p   s p e c :   c o n t a i n e r s :   -   n a m e :   m y a p p   i m a g e :   a l p i n e : l a t e s t   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   ' w h i l e   t r u e ;   d o   e c h o   \" l o g g i n g \"   > >   / o p t / l o g s . t x t ;   s l e e p   1 ;   d o n e ' ]   v o l u m e M o u n t s :   -   n a m e :   d a t a   m o u n t P a t h :   / o p t   i n i t C o n t a i n e r s :   -   n a m e :   l o g s h i p p e r   i m a g e :   a l p i n e : l a t e s t   r e s t a r t P o l i c y :   A l w a y s   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   ' t a i l   - F   / o p t / l o g s . t x t ' ]   v o l u m e M o u n t s :   -   n a m e :   d a t a   m o u n t P a t h :   / o p t   v o l u m e s :   -   n a m e :   d a t a   e m p t y D i r :   { }",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/",
    "id": "k8s_00209_section_3_3676"
  },
  {
    "question": "What is Sidecar containers and Pod lifecycle?",
    "answer": "I f   a n   i n i t   c o n t a i n e r   i s   c r e a t e d   w i t h   i t s   r e s t a r t P o l i c y   s e t   t o   A l w a y s ,   i t   w i l l   s t a r t   a n d   r e m a i n   r u n n i n g   d u r i n g   t h e   e n t i r e   l i f e   o f   t h e   P o d .   T h i s   c a n   b e   h e l p f u l   f o r   r u n n i n g   s u p p o r t i n g   s e r v i c e s   s e p a r a t e d   f r o m   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r s .   I f   a   r e a d i n e s s P r o b e   i s   s p e c i f i e d   f o r   t h i s   i n i t   c o n t a i n e r ,   i t s   r e s u l t   w i l l   b e   u s e d   t o   d e t e r m i n e   t h e   r e a d y   s t a t e   o f   t h e   P o d .   S i n c e   t h e s e   c o n t a i n e r s   a r e   d e f i n e d   a s   i n i t   c o n t a i n e r s ,   t h e y   b e n e f i t   f r o m   t h e   s a m e   o r d e r i n g   a n d   s e q u e n t i a l   g u a r a n t e e s   a s   r e g u l a r   i n i t   c o n t a i n e r s ,   a l l o w i n g   y o u   t o   m i x   s i d e c a r   c o n t a i n e r s   w i t h   r e g u l a r   i n i t   c o n t a i n e r s   f o r   c o m p l e x   P o d   i n i t i a l i z a t i o n   f l o w s .   C o m p a r e d   t o   r e g u l a r   i n i t   c o n t a i n e r s ,   s i d e c a r s   d e f i n e d   w i t h i n   i n i t C o n t a i n e r s   c o n t i n u e   t o   r u n   a f t e r   t h e y   h a v e   s t a r t e d .   T h i s   i s   i m p o r t a n t   w h e n   t h e r e   i s   m o r e   t h a n   o n e   e n t r y   i n s i d e   . s p e c . i n i t C o n t a i n e r s   f o r   a   P o d .   A f t e r   a   s i d e c a r - s t y l e   i n i t   c o n t a i n e r   i s   r u n n i n g   ( t h e   k u b e l e t   h a s   s e t   t h e   s t a r t e d   s t a t u s   f o r   t h a t   i n i t   c o n t a i n e r   t o   t r u e ) ,   t h e   k u b e l e t   t h e n   s t a r t s   t h e   n e x t   i n i t   c o n t a i n e r   f r o m   t h e   o ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/",
    "id": "k8s_00209_section_2_3677"
  },
  {
    "question": "What is Jobs with sidecar containers?",
    "answer": "I f   y o u   d e f i n e   a   J o b   t h a t   u s e s   s i d e c a r   u s i n g   K u b e r n e t e s - s t y l e   i n i t   c o n t a i n e r s ,   t h e   s i d e c a r   c o n t a i n e r   i n   e a c h   P o d   d o e s   n o t   p r e v e n t   t h e   J o b   f r o m   c o m p l e t i n g   a f t e r   t h e   m a i n   c o n t a i n e r   h a s   f i n i s h e d .   H e r e ' s   a n   e x a m p l e   o f   a   J o b   w i t h   t w o   c o n t a i n e r s ,   o n e   o f   w h i c h   i s   a   s i d e c a r :   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   m y j o b   s p e c :   t e m p l a t e :   s p e c :   c o n t a i n e r s :   -   n a m e :   m y j o b   i m a g e :   a l p i n e : l a t e s t   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   ' e c h o   \" l o g g i n g \"   >   / o p t / l o g s . t x t ' ]   v o l u m e M o u n t s :   -   n a m e :   d a t a   m o u n t P a t h :   / o p t   i n i t C o n t a i n e r s :   -   n a m e :   l o g s h i p p e r   i m a g e :   a l p i n e : l a t e s t   r e s t a r t P o l i c y :   A l w a y s   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   ' t a i l   - F   / o p t / l o g s . t x t ' ]   v o l u m e M o u n t s :   -   n a m e :   d a t a   m o u n t P a t h :   / o p t   r e s t a r t P o l i c y :   N e v e r   v o l u m e s :   -   n a m e :   d a t a   e m p t y D i r :   { }",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/",
    "id": "k8s_00209_section_3_3678"
  },
  {
    "question": "What is Differences from application containers?",
    "answer": "S i d e c a r   c o n t a i n e r s   r u n   a l o n g s i d e   a p p   c o n t a i n e r s   i n   t h e   s a m e   p o d .   H o w e v e r ,   t h e y   d o   n o t   e x e c u t e   t h e   p r i m a r y   a p p l i c a t i o n   l o g i c ;   i n s t e a d ,   t h e y   p r o v i d e   s u p p o r t i n g   f u n c t i o n a l i t y   t o   t h e   m a i n   a p p l i c a t i o n .   S i d e c a r   c o n t a i n e r s   h a v e   t h e i r   o w n   i n d e p e n d e n t   l i f e c y c l e s .   T h e y   c a n   b e   s t a r t e d ,   s t o p p e d ,   a n d   r e s t a r t e d   i n d e p e n d e n t l y   o f   a p p   c o n t a i n e r s .   T h i s   m e a n s   y o u   c a n   u p d a t e ,   s c a l e ,   o r   m a i n t a i n   s i d e c a r   c o n t a i n e r s   w i t h o u t   a f f e c t i n g   t h e   p r i m a r y   a p p l i c a t i o n .   S i d e c a r   c o n t a i n e r s   s h a r e   t h e   s a m e   n e t w o r k   a n d   s t o r a g e   n a m e s p a c e s   w i t h   t h e   p r i m a r y   c o n t a i n e r .   T h i s   c o - l o c a t i o n   a l l o w s   t h e m   t o   i n t e r a c t   c l o s e l y   a n d   s h a r e   r e s o u r c e s .   F r o m   a   K u b e r n e t e s   p e r s p e c t i v e ,   t h e   s i d e c a r   c o n t a i n e r ' s   g r a c e f u l   t e r m i n a t i o n   i s   l e s s   i m p o r t a n t .   W h e n   o t h e r   c o n t a i n e r s   t a k e   a l l   a l l o t t e d   g r a c e f u l   t e r m i n a t i o n   t i m e ,   t h e   s i d e c a r   c o n t a i n e r s   w i l l   r e c e i v e   t h e   S I G T E R M   s i g n a l ,   f o l l o w e d   b y   t h e   S I G K I L L   s i g n a l ,   b e f o r e   t h e y   h a v e   t i m e   t o   t e r m i n a t e   g r a c e f u l l y .   S o   e x i t   c o d e s   d i f f e r e n t   f r o m   0   ( 0   i n d i c a t e s   s u c c e s s f u l   e x i t ) ,   f o r   s i d e c a r   c o n t a i n e r s   a r e   n o r m a l   o n   P ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/",
    "id": "k8s_00209_section_2_3679"
  },
  {
    "question": "What is Differences from init containers?",
    "answer": "S i d e c a r   c o n t a i n e r s   w o r k   a l o n g s i d e   t h e   m a i n   c o n t a i n e r ,   e x t e n d i n g   i t s   f u n c t i o n a l i t y   a n d   p r o v i d i n g   a d d i t i o n a l   s e r v i c e s .   S i d e c a r   c o n t a i n e r s   r u n   c o n c u r r e n t l y   w i t h   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r .   T h e y   a r e   a c t i v e   t h r o u g h o u t   t h e   l i f e c y c l e   o f   t h e   p o d   a n d   c a n   b e   s t a r t e d   a n d   s t o p p e d   i n d e p e n d e n t l y   o f   t h e   m a i n   c o n t a i n e r .   U n l i k e   i n i t   c o n t a i n e r s ,   s i d e c a r   c o n t a i n e r s   s u p p o r t   p r o b e s   t o   c o n t r o l   t h e i r   l i f e c y c l e .   S i d e c a r   c o n t a i n e r s   c a n   i n t e r a c t   d i r e c t l y   w i t h   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r s ,   b e c a u s e   l i k e   i n i t   c o n t a i n e r s   t h e y   a l w a y s   s h a r e   t h e   s a m e   n e t w o r k ,   a n d   c a n   o p t i o n a l l y   a l s o   s h a r e   v o l u m e s   ( f i l e s y s t e m s ) .   I n i t   c o n t a i n e r s   s t o p   b e f o r e   t h e   m a i n   c o n t a i n e r s   s t a r t   u p ,   s o   i n i t   c o n t a i n e r s   c a n n o t   e x c h a n g e   m e s s a g e s   w i t h   t h e   a p p   c o n t a i n e r   i n   a   P o d .   A n y   d a t a   p a s s i n g   i s   o n e - w a y   ( f o r   e x a m p l e ,   a n   i n i t   c o n t a i n e r   c a n   p u t   i n f o r m a t i o n   i n s i d e   a n   e m p t y D i r   v o l u m e ) .   C h a n g i n g   t h e   i m a g e   o f   a   s i d e c a r   c o n t a i n e r   w i l l   n o t   c a u s e   t h e   P o d   t o   r e s t a r t ,   b u t   w i l l   t r i g g e r   a   c o n t a i n e r   r e s t a r t .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/",
    "id": "k8s_00209_section_2_3680"
  },
  {
    "question": "What is Resource sharing within containers?",
    "answer": "G i v e n   t h e   o r d e r   o f   e x e c u t i o n   f o r   i n i t ,   s i d e c a r   a n d   a p p   c o n t a i n e r s ,   t h e   f o l l o w i n g   r u l e s   f o r   r e s o u r c e   u s a g e   a p p l y :   T h e   h i g h e s t   o f   a n y   p a r t i c u l a r   r e s o u r c e   r e q u e s t   o r   l i m i t   d e f i n e d   o n   a l l   i n i t   c o n t a i n e r s   i s   t h e   e f f e c t i v e   i n i t   r e q u e s t / l i m i t .   I f   a n y   r e s o u r c e   h a s   n o   r e s o u r c e   l i m i t   s p e c i f i e d   t h i s   i s   c o n s i d e r e d   a s   t h e   h i g h e s t   l i m i t . T h e   P o d ' s   e f f e c t i v e   r e q u e s t / l i m i t   f o r   a   r e s o u r c e   i s   t h e   s u m   o f   p o d   o v e r h e a d   a n d   t h e   h i g h e r   o f : t h e   s u m   o f   a l l   n o n - i n i t   c o n t a i n e r s ( a p p   a n d   s i d e c a r   c o n t a i n e r s )   r e q u e s t / l i m i t   f o r   a   r e s o u r c e t h e   e f f e c t i v e   i n i t   r e q u e s t / l i m i t   f o r   a   r e s o u r c e S c h e d u l i n g   i s   d o n e   b a s e d   o n   e f f e c t i v e   r e q u e s t s / l i m i t s ,   w h i c h   m e a n s   i n i t   c o n t a i n e r s   c a n   r e s e r v e   r e s o u r c e s   f o r   i n i t i a l i z a t i o n   t h a t   a r e   n o t   u s e d   d u r i n g   t h e   l i f e   o f   t h e   P o d . T h e   Q o S   ( q u a l i t y   o f   s e r v i c e )   t i e r   o f   t h e   P o d ' s   e f f e c t i v e   Q o S   t i e r   i s   t h e   Q o S   t i e r   f o r   a l l   i n i t ,   s i d e c a r   a n d   a p p   c o n t a i n e r s   a l i k e .   t h e   s u m   o f   a l l   n o n - i n i t   c o n t a i n e r s ( a p p   a n d   s i d e c a r   c o n t a i n e r s )   r e q u e s t / l i m i t   f o r   a   r e s o u r c e t h e   e f f e c t i v e   i n i t   r e q u e s t / l i m i t   f o r   a   r e s o u r c e   Q u o t a ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/",
    "id": "k8s_00209_section_2_3681"
  },
  {
    "question": "What is Sidecar containers and Linux cgroups?",
    "answer": "O n   L i n u x ,   r e s o u r c e   a l l o c a t i o n s   f o r   P o d   l e v e l   c o n t r o l   g r o u p s   ( c g r o u p s )   a r e   b a s e d   o n   t h e   e f f e c t i v e   P o d   r e q u e s t   a n d   l i m i t ,   t h e   s a m e   a s   t h e   s c h e d u l e r .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/",
    "id": "k8s_00209_section_3_3682"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   A d o p t   S i d e c a r   C o n t a i n e r s R e a d   a   b l o g   p o s t   o n   n a t i v e   s i d e c a r   c o n t a i n e r s . R e a d   a b o u t   c r e a t i n g   a   P o d   t h a t   h a s   a n   i n i t   c o n t a i n e r . L e a r n   a b o u t   t h e   t y p e s   o f   p r o b e s :   l i v e n e s s ,   r e a d i n e s s ,   s t a r t u p   p r o b e . L e a r n   a b o u t   p o d   o v e r h e a d .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/",
    "id": "k8s_00209_section_2_3683"
  },
  {
    "question": "What is kubectl rollout resume?",
    "answer": "kubectl rollout resumeSynopsisResume a paused resource.Paused resources will not be reconciled by a controller. By resuming a resource, we allow it to be reconciled again. Currently only deployments support being resumed.kubectl rollout resume RESOURCE Examples # Resume an already paused deployment kubectl rollout resume deployment/nginx Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--field-manager string Default: \"kubectl-rollout\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for resume-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI req",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_resume/",
    "id": "k8s_00210_qa_3684"
  },
  {
    "question": "How does kubectl rollout resume work?",
    "answer": "kubectl rollout resumeSynopsisResume a paused resource.Paused resources will not be reconciled by a controller. By resuming a resource, we allow it to be reconciled again. Currently only deployments support being resumed.kubectl rollout resume RESOURCE Examples # Resume an already paused deployment kubectl rollout resume deployment/nginx Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--field-manager string Default: \"kubectl-rollout\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for resume-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI req",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_resume/",
    "id": "k8s_00210_qa_3685"
  },
  {
    "question": "When would you use kubectl rollout resume?",
    "answer": "kubectl rollout resumeSynopsisResume a paused resource.Paused resources will not be reconciled by a controller. By resuming a resource, we allow it to be reconciled again. Currently only deployments support being resumed.kubectl rollout resume RESOURCE Examples # Resume an already paused deployment kubectl rollout resume deployment/nginx Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--field-manager string Default: \"kubectl-rollout\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for resume-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI req",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_resume/",
    "id": "k8s_00210_qa_3686"
  },
  {
    "question": "What are the benefits of kubectl rollout resume?",
    "answer": "kubectl rollout resumeSynopsisResume a paused resource.Paused resources will not be reconciled by a controller. By resuming a resource, we allow it to be reconciled again. Currently only deployments support being resumed.kubectl rollout resume RESOURCE Examples # Resume an already paused deployment kubectl rollout resume deployment/nginx Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--field-manager string Default: \"kubectl-rollout\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for resume-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI req",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_resume/",
    "id": "k8s_00210_qa_3687"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e s u m e   a   p a u s e d   r e s o u r c e .   P a u s e d   r e s o u r c e s   w i l l   n o t   b e   r e c o n c i l e d   b y   a   c o n t r o l l e r .   B y   r e s u m i n g   a   r e s o u r c e ,   w e   a l l o w   i t   t o   b e   r e c o n c i l e d   a g a i n .   C u r r e n t l y   o n l y   d e p l o y m e n t s   s u p p o r t   b e i n g   r e s u m e d .   k u b e c t l   r o l l o u t   r e s u m e   R E S O U R C E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_resume/",
    "id": "k8s_00210_section_2_3688"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R e s u m e   a n   a l r e a d y   p a u s e d   d e p l o y m e n t   k u b e c t l   r o l l o u t   r e s u m e   d e p l o y m e n t / n g i n x",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_resume/",
    "id": "k8s_00210_section_2_3689"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   r e s u m e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_resume/",
    "id": "k8s_00210_section_2_3690"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_resume/",
    "id": "k8s_00210_section_2_3691"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   r o l l o u t   -   M a n a g e   t h e   r o l l o u t   o f   a   r e s o u r c e   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_resume/",
    "id": "k8s_00210_section_2_3692"
  },
  {
    "question": "What is Create a Windows HostProcess Pod?",
    "answer": "Create a Windows HostProcess PodFEATURE STATE: Kubernetes v1.26 [stable]Windows HostProcess containers enable you to run containerized workloads on a Windows host. These containers operate as normal processes but have access to the host network namespace, storage, and devices when given the appropriate user privileges. HostProcess containers can be used to deploy network plugins, storage configurations, device plugins, kube-proxy, and other components to Windows nodes without the need for dedicated proxies or the direct installation of host services.Administrative tasks such as installation of security patches, event log collection, and more can be performed without requiring cluster operators to log onto each Windows node. HostProcess containers can run as any user that is available on the host or is in the domain of the host machine, allowing administrators to restrict resource access through user permissions. While neither filesystem or process isolation are supported, a new volume is created on the host upon starting the container to give it a clean and consolidated workspace. HostProcess containers can also be built on top of existing Windows base images and do not inherit the same compatibility requirements as Windows server containers, meaning that the version of the base images does not need to match that of the host. It is, however, recommended that you use the same base image version as your Windows Server container workloads to ensure you do not have any unused images taking up space on the node. HostProcess containers also support volume mounts within the container volume.When should I use a Windows HostProcess container?When you need to perform tasks which require the networking namespace of the host. HostProcess containers have access to the host's network interfaces and IP addresses.You need access to resources on the host such as the filesystem, event logs, etc.Installation of specific device drivers or Windows services.Consolidation of administrative tasks and security policies. This reduces the degree of privileges needed by Windows nodes.Before you beginThis task guide is specific to Kubernetes v1.34. If you are not running Kubernetes v1.34, check the documentation for that version of Kubernetes.In Kubernetes 1.34, the HostProcess container feature is enabled by default. The kubelet will communicate with containerd directly by passing the hostprocess flag via CRI. You can use the latest version of containerd (v1.6+) to run HostProcess containers. How to install containerd.LimitationsThese limitations are relevant for Kubernetes v1.34:HostProcess containers require containerd 1.6 or higher container runtime and containerd 1.7 is recommended.HostProcess pods can only contain HostProcess containers. This is a current limitation of the Windows OS; non-privileged Windows containers cannot share a vNIC with the host IP namespace.HostProcess containers run as a process on the host and do not have any degree of isolation other than res",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/create-hostprocess-pod/",
    "id": "k8s_00211_qa_3693"
  },
  {
    "question": "How does Create a Windows HostProcess Pod work?",
    "answer": "Create a Windows HostProcess PodFEATURE STATE: Kubernetes v1.26 [stable]Windows HostProcess containers enable you to run containerized workloads on a Windows host. These containers operate as normal processes but have access to the host network namespace, storage, and devices when given the appropriate user privileges. HostProcess containers can be used to deploy network plugins, storage configurations, device plugins, kube-proxy, and other components to Windows nodes without the need for dedicated proxies or the direct installation of host services.Administrative tasks such as installation of security patches, event log collection, and more can be performed without requiring cluster operators to log onto each Windows node. HostProcess containers can run as any user that is available on the host or is in the domain of the host machine, allowing administrators to restrict resource access through user permissions. While neither filesystem or process isolation are supported, a new volume is created on the host upon starting the container to give it a clean and consolidated workspace. HostProcess containers can also be built on top of existing Windows base images and do not inherit the same compatibility requirements as Windows server containers, meaning that the version of the base images does not need to match that of the host. It is, however, recommended that you use the same base image version as your Windows Server container workloads to ensure you do not have any unused images taking up space on the node. HostProcess containers also support volume mounts within the container volume.When should I use a Windows HostProcess container?When you need to perform tasks which require the networking namespace of the host. HostProcess containers have access to the host's network interfaces and IP addresses.You need access to resources on the host such as the filesystem, event logs, etc.Installation of specific device drivers or Windows services.Consolidation of administrative tasks and security policies. This reduces the degree of privileges needed by Windows nodes.Before you beginThis task guide is specific to Kubernetes v1.34. If you are not running Kubernetes v1.34, check the documentation for that version of Kubernetes.In Kubernetes 1.34, the HostProcess container feature is enabled by default. The kubelet will communicate with containerd directly by passing the hostprocess flag via CRI. You can use the latest version of containerd (v1.6+) to run HostProcess containers. How to install containerd.LimitationsThese limitations are relevant for Kubernetes v1.34:HostProcess containers require containerd 1.6 or higher container runtime and containerd 1.7 is recommended.HostProcess pods can only contain HostProcess containers. This is a current limitation of the Windows OS; non-privileged Windows containers cannot share a vNIC with the host IP namespace.HostProcess containers run as a process on the host and do not have any degree of isolation other than res",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/create-hostprocess-pod/",
    "id": "k8s_00211_qa_3694"
  },
  {
    "question": "When would you use Create a Windows HostProcess Pod?",
    "answer": "Create a Windows HostProcess PodFEATURE STATE: Kubernetes v1.26 [stable]Windows HostProcess containers enable you to run containerized workloads on a Windows host. These containers operate as normal processes but have access to the host network namespace, storage, and devices when given the appropriate user privileges. HostProcess containers can be used to deploy network plugins, storage configurations, device plugins, kube-proxy, and other components to Windows nodes without the need for dedicated proxies or the direct installation of host services.Administrative tasks such as installation of security patches, event log collection, and more can be performed without requiring cluster operators to log onto each Windows node. HostProcess containers can run as any user that is available on the host or is in the domain of the host machine, allowing administrators to restrict resource access through user permissions. While neither filesystem or process isolation are supported, a new volume is created on the host upon starting the container to give it a clean and consolidated workspace. HostProcess containers can also be built on top of existing Windows base images and do not inherit the same compatibility requirements as Windows server containers, meaning that the version of the base images does not need to match that of the host. It is, however, recommended that you use the same base image version as your Windows Server container workloads to ensure you do not have any unused images taking up space on the node. HostProcess containers also support volume mounts within the container volume.When should I use a Windows HostProcess container?When you need to perform tasks which require the networking namespace of the host. HostProcess containers have access to the host's network interfaces and IP addresses.You need access to resources on the host such as the filesystem, event logs, etc.Installation of specific device drivers or Windows services.Consolidation of administrative tasks and security policies. This reduces the degree of privileges needed by Windows nodes.Before you beginThis task guide is specific to Kubernetes v1.34. If you are not running Kubernetes v1.34, check the documentation for that version of Kubernetes.In Kubernetes 1.34, the HostProcess container feature is enabled by default. The kubelet will communicate with containerd directly by passing the hostprocess flag via CRI. You can use the latest version of containerd (v1.6+) to run HostProcess containers. How to install containerd.LimitationsThese limitations are relevant for Kubernetes v1.34:HostProcess containers require containerd 1.6 or higher container runtime and containerd 1.7 is recommended.HostProcess pods can only contain HostProcess containers. This is a current limitation of the Windows OS; non-privileged Windows containers cannot share a vNIC with the host IP namespace.HostProcess containers run as a process on the host and do not have any degree of isolation other than res",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/create-hostprocess-pod/",
    "id": "k8s_00211_qa_3695"
  },
  {
    "question": "What are the benefits of Create a Windows HostProcess Pod?",
    "answer": "Create a Windows HostProcess PodFEATURE STATE: Kubernetes v1.26 [stable]Windows HostProcess containers enable you to run containerized workloads on a Windows host. These containers operate as normal processes but have access to the host network namespace, storage, and devices when given the appropriate user privileges. HostProcess containers can be used to deploy network plugins, storage configurations, device plugins, kube-proxy, and other components to Windows nodes without the need for dedicated proxies or the direct installation of host services.Administrative tasks such as installation of security patches, event log collection, and more can be performed without requiring cluster operators to log onto each Windows node. HostProcess containers can run as any user that is available on the host or is in the domain of the host machine, allowing administrators to restrict resource access through user permissions. While neither filesystem or process isolation are supported, a new volume is created on the host upon starting the container to give it a clean and consolidated workspace. HostProcess containers can also be built on top of existing Windows base images and do not inherit the same compatibility requirements as Windows server containers, meaning that the version of the base images does not need to match that of the host. It is, however, recommended that you use the same base image version as your Windows Server container workloads to ensure you do not have any unused images taking up space on the node. HostProcess containers also support volume mounts within the container volume.When should I use a Windows HostProcess container?When you need to perform tasks which require the networking namespace of the host. HostProcess containers have access to the host's network interfaces and IP addresses.You need access to resources on the host such as the filesystem, event logs, etc.Installation of specific device drivers or Windows services.Consolidation of administrative tasks and security policies. This reduces the degree of privileges needed by Windows nodes.Before you beginThis task guide is specific to Kubernetes v1.34. If you are not running Kubernetes v1.34, check the documentation for that version of Kubernetes.In Kubernetes 1.34, the HostProcess container feature is enabled by default. The kubelet will communicate with containerd directly by passing the hostprocess flag via CRI. You can use the latest version of containerd (v1.6+) to run HostProcess containers. How to install containerd.LimitationsThese limitations are relevant for Kubernetes v1.34:HostProcess containers require containerd 1.6 or higher container runtime and containerd 1.7 is recommended.HostProcess pods can only contain HostProcess containers. This is a current limitation of the Windows OS; non-privileged Windows containers cannot share a vNIC with the host IP namespace.HostProcess containers run as a process on the host and do not have any degree of isolation other than res",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/create-hostprocess-pod/",
    "id": "k8s_00211_qa_3696"
  },
  {
    "question": "What is Create a Windows HostProcess Pod?",
    "answer": "W i n d o w s   H o s t P r o c e s s   c o n t a i n e r s   e n a b l e   y o u   t o   r u n   c o n t a i n e r i z e d   w o r k l o a d s   o n   a   W i n d o w s   h o s t .   T h e s e   c o n t a i n e r s   o p e r a t e   a s   n o r m a l   p r o c e s s e s   b u t   h a v e   a c c e s s   t o   t h e   h o s t   n e t w o r k   n a m e s p a c e ,   s t o r a g e ,   a n d   d e v i c e s   w h e n   g i v e n   t h e   a p p r o p r i a t e   u s e r   p r i v i l e g e s .   H o s t P r o c e s s   c o n t a i n e r s   c a n   b e   u s e d   t o   d e p l o y   n e t w o r k   p l u g i n s ,   s t o r a g e   c o n f i g u r a t i o n s ,   d e v i c e   p l u g i n s ,   k u b e - p r o x y ,   a n d   o t h e r   c o m p o n e n t s   t o   W i n d o w s   n o d e s   w i t h o u t   t h e   n e e d   f o r   d e d i c a t e d   p r o x i e s   o r   t h e   d i r e c t   i n s t a l l a t i o n   o f   h o s t   s e r v i c e s .   A d m i n i s t r a t i v e   t a s k s   s u c h   a s   i n s t a l l a t i o n   o f   s e c u r i t y   p a t c h e s ,   e v e n t   l o g   c o l l e c t i o n ,   a n d   m o r e   c a n   b e   p e r f o r m e d   w i t h o u t   r e q u i r i n g   c l u s t e r   o p e r a t o r s   t o   l o g   o n t o   e a c h   W i n d o w s   n o d e .   H o s t P r o c e s s   c o n t a i n e r s   c a n   r u n   a s   a n y   u s e r   t h a t   i s   a v a i l a b l e   o n   t h e   h o s t   o r   i s   i n   t h e   d o m a i n   o f   t h e   h o s t   m a c h i n e ,   a l l o w i n g   a d m i n i s t r a t o r s   t o   r e s t r i c t   r e s o u r c e   a c c e s s   t h r o u g h   u s e r   p e r m i s s i o n s .   W h i l e   n e i t h e r   f i l e s y s t e m   o r   p r o c e s s   i s o l a t i o n   a r e   s u p p o r t e d ,   a   n e w   v o l u m e   i s   c r e a t e d   o n   t h e   h o s t   u p o n   s t a r t i n g   t h e   c o n t a i n e r   t o   g i v e   i t   a   c l e a n   a ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/create-hostprocess-pod/",
    "id": "k8s_00211_section_1_3697"
  },
  {
    "question": "What is When should I use a Windows HostProcess container??",
    "answer": "W h e n   y o u   n e e d   t o   p e r f o r m   t a s k s   w h i c h   r e q u i r e   t h e   n e t w o r k i n g   n a m e s p a c e   o f   t h e   h o s t .   H o s t P r o c e s s   c o n t a i n e r s   h a v e   a c c e s s   t o   t h e   h o s t ' s   n e t w o r k   i n t e r f a c e s   a n d   I P   a d d r e s s e s . Y o u   n e e d   a c c e s s   t o   r e s o u r c e s   o n   t h e   h o s t   s u c h   a s   t h e   f i l e s y s t e m ,   e v e n t   l o g s ,   e t c . I n s t a l l a t i o n   o f   s p e c i f i c   d e v i c e   d r i v e r s   o r   W i n d o w s   s e r v i c e s . C o n s o l i d a t i o n   o f   a d m i n i s t r a t i v e   t a s k s   a n d   s e c u r i t y   p o l i c i e s .   T h i s   r e d u c e s   t h e   d e g r e e   o f   p r i v i l e g e s   n e e d e d   b y   W i n d o w s   n o d e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/create-hostprocess-pod/",
    "id": "k8s_00211_section_3_3698"
  },
  {
    "question": "What is Before you begin?",
    "answer": "T h i s   t a s k   g u i d e   i s   s p e c i f i c   t o   K u b e r n e t e s   v 1 . 3 4 .   I f   y o u   a r e   n o t   r u n n i n g   K u b e r n e t e s   v 1 . 3 4 ,   c h e c k   t h e   d o c u m e n t a t i o n   f o r   t h a t   v e r s i o n   o f   K u b e r n e t e s .   I n   K u b e r n e t e s   1 . 3 4 ,   t h e   H o s t P r o c e s s   c o n t a i n e r   f e a t u r e   i s   e n a b l e d   b y   d e f a u l t .   T h e   k u b e l e t   w i l l   c o m m u n i c a t e   w i t h   c o n t a i n e r d   d i r e c t l y   b y   p a s s i n g   t h e   h o s t p r o c e s s   f l a g   v i a   C R I .   Y o u   c a n   u s e   t h e   l a t e s t   v e r s i o n   o f   c o n t a i n e r d   ( v 1 . 6 + )   t o   r u n   H o s t P r o c e s s   c o n t a i n e r s .   H o w   t o   i n s t a l l   c o n t a i n e r d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/create-hostprocess-pod/",
    "id": "k8s_00211_section_2_3699"
  },
  {
    "question": "What is Limitations?",
    "answer": "T h e s e   l i m i t a t i o n s   a r e   r e l e v a n t   f o r   K u b e r n e t e s   v 1 . 3 4 :   H o s t P r o c e s s   c o n t a i n e r s   r e q u i r e   c o n t a i n e r d   1 . 6   o r   h i g h e r   c o n t a i n e r   r u n t i m e   a n d   c o n t a i n e r d   1 . 7   i s   r e c o m m e n d e d . H o s t P r o c e s s   p o d s   c a n   o n l y   c o n t a i n   H o s t P r o c e s s   c o n t a i n e r s .   T h i s   i s   a   c u r r e n t   l i m i t a t i o n   o f   t h e   W i n d o w s   O S ;   n o n - p r i v i l e g e d   W i n d o w s   c o n t a i n e r s   c a n n o t   s h a r e   a   v N I C   w i t h   t h e   h o s t   I P   n a m e s p a c e . H o s t P r o c e s s   c o n t a i n e r s   r u n   a s   a   p r o c e s s   o n   t h e   h o s t   a n d   d o   n o t   h a v e   a n y   d e g r e e   o f   i s o l a t i o n   o t h e r   t h a n   r e s o u r c e   c o n s t r a i n t s   i m p o s e d   o n   t h e   H o s t P r o c e s s   u s e r   a c c o u n t .   N e i t h e r   f i l e s y s t e m   o r   H y p e r - V   i s o l a t i o n   a r e   s u p p o r t e d   f o r   H o s t P r o c e s s   c o n t a i n e r s . V o l u m e   m o u n t s   a r e   s u p p o r t e d   a n d   a r e   m o u n t e d   u n d e r   t h e   c o n t a i n e r   v o l u m e .   S e e   V o l u m e   M o u n t s A   l i m i t e d   s e t   o f   h o s t   u s e r   a c c o u n t s   a r e   a v a i l a b l e   f o r   H o s t P r o c e s s   c o n t a i n e r s   b y   d e f a u l t .   S e e   C h o o s i n g   a   U s e r   A c c o u n t . R e s o u r c e   l i m i t s   ( d i s k ,   m e m o r y ,   c p u   c o u n t )   a r e   s u p p o r t e d   i n   t h e   s a m e   f a s h i o n   a s   p r o c e s s e s   o n   t h e   h o s t . B o t h   N a m e d   p i p e   m o u n t s   a n d   U n i x   d o m a i n   s o c k e t s   a r e   n o t   s u p p o r t e d   a n d   s h o u l d   i n s t e a d   b e   a c c e s s e d   v i a ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/create-hostprocess-pod/",
    "id": "k8s_00211_section_2_3700"
  },
  {
    "question": "What is HostProcess Pod configuration requirements?",
    "answer": "E n a b l i n g   a   W i n d o w s   H o s t P r o c e s s   p o d   r e q u i r e s   s e t t i n g   t h e   r i g h t   c o n f i g u r a t i o n s   i n   t h e   p o d   s e c u r i t y   c o n f i g u r a t i o n .   O f   t h e   p o l i c i e s   d e f i n e d   i n   t h e   P o d   S e c u r i t y   S t a n d a r d s   H o s t P r o c e s s   p o d s   a r e   d i s a l l o w e d   b y   t h e   b a s e l i n e   a n d   r e s t r i c t e d   p o l i c i e s .   I t   i s   t h e r e f o r e   r e c o m m e n d e d   t h a t   H o s t P r o c e s s   p o d s   r u n   i n   a l i g n m e n t   w i t h   t h e   p r i v i l e g e d   p r o f i l e .   W h e n   r u n n i n g   u n d e r   t h e   p r i v i l e g e d   p o l i c y ,   h e r e   a r e   t h e   c o n f i g u r a t i o n s   w h i c h   n e e d   t o   b e   s e t   t o   e n a b l e   t h e   c r e a t i o n   o f   a   H o s t P r o c e s s   p o d :   W i n d o w s   p o d s   o f f e r   t h e   a b i l i t y   t o   r u n   H o s t P r o c e s s   c o n t a i n e r s   w h i c h   e n a b l e s   p r i v i l e g e d   a c c e s s   t o   t h e   W i n d o w s   n o d e .   A l l o w e d   V a l u e s   t r u e   P o d s   c o n t a i n e r   H o s t P r o c e s s   c o n t a i n e r s   m u s t   u s e   t h e   h o s t ' s   n e t w o r k   n a m e s p a c e .   A l l o w e d   V a l u e s   t r u e   S p e c i f i c a t i o n   o f   w h i c h   u s e r   t h e   H o s t P r o c e s s   c o n t a i n e r   s h o u l d   r u n   a s   i s   r e q u i r e d   f o r   t h e   p o d   s p e c .   A l l o w e d   V a l u e s   N T   A U T H O R I T Y \\ S Y S T E M N T   A U T H O R I T Y \\ L o c a l   s e r v i c e N T   A U T H O R I T Y \\ N e t w o r k S e r v i c e L o c a l   u s e r g r o u p   n a m e s   ( s e e   b e l o w )   B e c a u s e   H o s t P r o c e s s   c o n t a i n e r s   h a v e   p r i v i l e g e d   a c c e s s   t o   t h e   h o s t ,   t h e   r u n A s N o n ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/create-hostprocess-pod/",
    "id": "k8s_00211_section_2_3701"
  },
  {
    "question": "What is Example manifest (excerpt)?",
    "answer": "s p e c :   s e c u r i t y C o n t e x t :   w i n d o w s O p t i o n s :   h o s t P r o c e s s :   t r u e   r u n A s U s e r N a m e :   \" N T   A U T H O R I T Y \\ \\ L o c a l   s e r v i c e \"   h o s t N e t w o r k :   t r u e   c o n t a i n e r s :   -   n a m e :   t e s t   i m a g e :   i m a g e 1 : l a t e s t   c o m m a n d :   -   p i n g   -   - t   -   1 2 7 . 0 . 0 . 1   n o d e S e l e c t o r :   \" k u b e r n e t e s . i o / o s \" :   w i n d o w s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/create-hostprocess-pod/",
    "id": "k8s_00211_section_3_3702"
  },
  {
    "question": "What is Volume mounts?",
    "answer": "H o s t P r o c e s s   c o n t a i n e r s   s u p p o r t   t h e   a b i l i t y   t o   m o u n t   v o l u m e s   w i t h i n   t h e   c o n t a i n e r   v o l u m e   s p a c e .   V o l u m e   m o u n t   b e h a v i o r   d i f f e r s   d e p e n d i n g   o n   t h e   v e r s i o n   o f   c o n t a i n e r d   r u n t i m e   u s e d   b y   o n   t h e   n o d e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/create-hostprocess-pod/",
    "id": "k8s_00211_section_2_3703"
  },
  {
    "question": "What is Containerd v1.6?",
    "answer": "A p p l i c a t i o n s   r u n n i n g   i n s i d e   t h e   c o n t a i n e r   c a n   a c c e s s   v o l u m e   m o u n t s   d i r e c t l y   v i a   r e l a t i v e   o r   a b s o l u t e   p a t h s .   A n   e n v i r o n m e n t   v a r i a b l e   $ C O N T A I N E R _ S A N D B O X _ M O U N T _ P O I N T   i s   s e t   u p o n   c o n t a i n e r   c r e a t i o n   a n d   p r o v i d e s   t h e   a b s o l u t e   h o s t   p a t h   t o   t h e   c o n t a i n e r   v o l u m e .   R e l a t i v e   p a t h s   a r e   b a s e d   u p o n   t h e   . s p e c . c o n t a i n e r s . v o l u m e M o u n t s . m o u n t P a t h   c o n f i g u r a t i o n .   T o   a c c e s s   s e r v i c e   a c c o u n t   t o k e n s   ( f o r   e x a m p l e )   t h e   f o l l o w i n g   p a t h   s t r u c t u r e s   a r e   s u p p o r t e d   w i t h i n   t h e   c o n t a i n e r :   . \\ v a r \\ r u n \\ s e c r e t s \\ k u b e r n e t e s . i o \\ s e r v i c e a c c o u n t \\ $ C O N T A I N E R _ S A N D B O X _ M O U N T _ P O I N T \\ v a r \\ r u n \\ s e c r e t s \\ k u b e r n e t e s . i o \\ s e r v i c e a c c o u n t \\",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/create-hostprocess-pod/",
    "id": "k8s_00211_section_3_3704"
  },
  {
    "question": "What is Containerd v1.7 (and greater)?",
    "answer": "A p p l i c a t i o n s   r u n n i n g   i n s i d e   t h e   c o n t a i n e r   c a n   a c c e s s   v o l u m e   m o u n t s   d i r e c t l y   v i a   t h e   v o l u m e M o u n t ' s   s p e c i f i e d   m o u n t P a t h   ( j u s t   l i k e   L i n u x   a n d   n o n - H o s t P r o c e s s   W i n d o w s   c o n t a i n e r s ) .   F o r   b a c k w a r d s   c o m p a t i b i l i t y   v o l u m e s   c a n   a l s o   b e   a c c e s s e d   v i a   u s i n g   t h e   s a m e   r e l a t i v e   p a t h s   c o n f i g u r e d   b y   c o n t a i n e r d   v 1 . 6 .   A s   a n   e x a m p l e ,   t o   a c c e s s   s e r v i c e   a c c o u n t   t o k e n s   w i t h i n   t h e   c o n t a i n e r   y o u   w o u l d   u s e   o n e   o f   t h e   f o l l o w i n g   p a t h s :   c : \\ v a r \\ r u n \\ s e c r e t s \\ k u b e r n e t e s . i o \\ s e r v i c e a c c o u n t / v a r / r u n / s e c r e t s / k u b e r n e t e s . i o / s e r v i c e a c c o u n t / $ C O N T A I N E R _ S A N D B O X _ M O U N T _ P O I N T \\ v a r \\ r u n \\ s e c r e t s \\ k u b e r n e t e s . i o \\ s e r v i c e a c c o u n t \\",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/create-hostprocess-pod/",
    "id": "k8s_00211_section_3_3705"
  },
  {
    "question": "What is Resource limits?",
    "answer": "R e s o u r c e   l i m i t s   ( d i s k ,   m e m o r y ,   c p u   c o u n t )   a r e   a p p l i e d   t o   t h e   j o b   a n d   a r e   j o b   w i d e .   F o r   e x a m p l e ,   w i t h   a   l i m i t   o f   1 0 M B   s e t ,   t h e   m e m o r y   a l l o c a t e d   f o r   a n y   H o s t P r o c e s s   j o b   o b j e c t   w i l l   b e   c a p p e d   a t   1 0 M B .   T h i s   i s   t h e   s a m e   b e h a v i o r   a s   o t h e r   W i n d o w s   c o n t a i n e r   t y p e s .   T h e s e   l i m i t s   w o u l d   b e   s p e c i f i e d   t h e   s a m e   w a y   t h e y   a r e   c u r r e n t l y   f o r   w h a t e v e r   o r c h e s t r a t o r   o r   r u n t i m e   i s   b e i n g   u s e d .   T h e   o n l y   d i f f e r e n c e   i s   i n   t h e   d i s k   r e s o u r c e   u s a g e   c a l c u l a t i o n   u s e d   f o r   r e s o u r c e   t r a c k i n g   d u e   t o   t h e   d i f f e r e n c e   i n   h o w   H o s t P r o c e s s   c o n t a i n e r s   a r e   b o o t s t r a p p e d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/create-hostprocess-pod/",
    "id": "k8s_00211_section_2_3706"
  },
  {
    "question": "What is System accounts?",
    "answer": "B y   d e f a u l t ,   H o s t P r o c e s s   c o n t a i n e r s   s u p p o r t   t h e   a b i l i t y   t o   r u n   a s   o n e   o f   t h r e e   s u p p o r t e d   W i n d o w s   s e r v i c e   a c c o u n t s :   L o c a l S y s t e m L o c a l S e r v i c e N e t w o r k S e r v i c e   Y o u   s h o u l d   s e l e c t   a n   a p p r o p r i a t e   W i n d o w s   s e r v i c e   a c c o u n t   f o r   e a c h   H o s t P r o c e s s   c o n t a i n e r ,   a i m i n g   t o   l i m i t   t h e   d e g r e e   o f   p r i v i l e g e s   s o   a s   t o   a v o i d   a c c i d e n t a l   ( o r   e v e n   m a l i c i o u s )   d a m a g e   t o   t h e   h o s t .   T h e   L o c a l S y s t e m   s e r v i c e   a c c o u n t   h a s   t h e   h i g h e s t   l e v e l   o f   p r i v i l e g e   o f   t h e   t h r e e   a n d   s h o u l d   b e   u s e d   o n l y   i f   a b s o l u t e l y   n e c e s s a r y .   W h e r e   p o s s i b l e ,   u s e   t h e   L o c a l S e r v i c e   s e r v i c e   a c c o u n t   a s   i t   i s   t h e   l e a s t   p r i v i l e g e d   o f   t h e   t h r e e   o p t i o n s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/create-hostprocess-pod/",
    "id": "k8s_00211_section_3_3707"
  },
  {
    "question": "What is Local accounts?",
    "answer": "I f   c o n f i g u r e d ,   H o s t P r o c e s s   c o n t a i n e r s   c a n   a l s o   r u n   a s   l o c a l   u s e r   a c c o u n t s   w h i c h   a l l o w s   f o r   n o d e   o p e r a t o r s   t o   g i v e   f i n e - g r a i n e d   a c c e s s   t o   w o r k l o a d s .   T o   r u n   H o s t P r o c e s s   c o n t a i n e r s   a s   a   l o c a l   u s e r ;   A   l o c a l   u s e r g r o u p   m u s t   f i r s t   b e   c r e a t e d   o n   t h e   n o d e   a n d   t h e   n a m e   o f   t h a t   l o c a l   u s e r g r o u p   m u s t   b e   s p e c i f i e d   i n   t h e   r u n A s U s e r N a m e   f i e l d   i n   t h e   d e p l o y m e n t .   P r i o r   t o   i n i t i a l i z i n g   t h e   H o s t P r o c e s s   c o n t a i n e r ,   a   n e w   e p h e m e r a l   l o c a l   u s e r   a c c o u n t   t o   b e   c r e a t e d   a n d   j o i n e d   t o   t h e   s p e c i f i e d   u s e r g r o u p ,   f r o m   w h i c h   t h e   c o n t a i n e r   i s   r u n .   T h i s   p r o v i d e s   a   n u m b e r   a   b e n e f i t s   i n c l u d i n g   e l i m i n a t i n g   t h e   n e e d   t o   m a n a g e   p a s s w o r d s   f o r   l o c a l   u s e r   a c c o u n t s .   A n   i n i t i a l   H o s t P r o c e s s   c o n t a i n e r   r u n n i n g   a s   a   s e r v i c e   a c c o u n t   c a n   b e   u s e d   t o   p r e p a r e   t h e   u s e r   g r o u p s   f o r   l a t e r   H o s t P r o c e s s   c o n t a i n e r s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/create-hostprocess-pod/",
    "id": "k8s_00211_section_3_3708"
  },
  {
    "question": "What is Note:?",
    "answer": "E x a m p l e :   C r e a t e   a   l o c a l   u s e r   g r o u p   o n   t h e   n o d e   ( t h i s   c a n   b e   d o n e   i n   a n o t h e r   H o s t P r o c e s s   c o n t a i n e r ) . n e t   l o c a l g r o u p   h p c - l o c a l g r o u p   / a d d   G r a n t   a c c e s s   t o   d e s i r e d   r e s o u r c e s   o n   t h e   n o d e   t o   t h e   l o c a l   u s e r g r o u p .   T h i s   c a n   b e   d o n e   w i t h   t o o l s   l i k e   i c a c l s . S e t   r u n A s U s e r N a m e   t o   t h e   n a m e   o f   t h e   l o c a l   u s e r g r o u p   f o r   t h e   p o d   o r   i n d i v i d u a l   c o n t a i n e r s . s e c u r i t y C o n t e x t :   w i n d o w s O p t i o n s :   h o s t P r o c e s s :   t r u e   r u n A s U s e r N a m e :   h p c - l o c a l g r o u p   S c h e d u l e   t h e   p o d !   C r e a t e   a   l o c a l   u s e r   g r o u p   o n   t h e   n o d e   ( t h i s   c a n   b e   d o n e   i n   a n o t h e r   H o s t P r o c e s s   c o n t a i n e r ) .   n e t   l o c a l g r o u p   h p c - l o c a l g r o u p   / a d d   G r a n t   a c c e s s   t o   d e s i r e d   r e s o u r c e s   o n   t h e   n o d e   t o   t h e   l o c a l   u s e r g r o u p .   T h i s   c a n   b e   d o n e   w i t h   t o o l s   l i k e   i c a c l s .   S e t   r u n A s U s e r N a m e   t o   t h e   n a m e   o f   t h e   l o c a l   u s e r g r o u p   f o r   t h e   p o d   o r   i n d i v i d u a l   c o n t a i n e r s .   s e c u r i t y C o n t e x t :   w i n d o w s O p t i o n s :   h o s t P r o c e s s :   t r u e   r u n A s U s e r N a m e :   h p c - l o c a l g r o u p   S c h e d u l e   t h e   p o d !",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/create-hostprocess-pod/",
    "id": "k8s_00211_section_4_3709"
  },
  {
    "question": "What is Base Image for HostProcess Containers?",
    "answer": "H o s t P r o c e s s   c o n t a i n e r s   c a n   b e   b u i l t   f r o m   a n y   o f   t h e   e x i s t i n g   W i n d o w s   C o n t a i n e r   b a s e   i m a g e s .   A d d i t i o n a l l y   a   n e w   b a s e   m a g e   h a s   b e e n   c r e a t e d   j u s t   f o r   H o s t P r o c e s s   c o n t a i n e r s !   F o r   m o r e   i n f o r m a t i o n   p l e a s e   c h e c k   o u t   t h e   w i n d o w s - h o s t - p r o c e s s - c o n t a i n e r s - b a s e - i m a g e   g i t h u b   p r o j e c t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/create-hostprocess-pod/",
    "id": "k8s_00211_section_2_3710"
  },
  {
    "question": "What is Troubleshooting HostProcess containers?",
    "answer": "H o s t P r o c e s s   c o n t a i n e r s   f a i l   t o   s t a r t   w i t h   f a i l e d   t o   c r e a t e   u s e r   p r o c e s s   t o k e n :   f a i l e d   t o   l o g o n   u s e r :   A c c e s s   i s   d e n i e d . :   u n k n o w n E n s u r e   c o n t a i n e r d   i s   r u n n i n g   a s   L o c a l S y s t e m   o r   L o c a l S e r v i c e   s e r v i c e   a c c o u n t s .   U s e r   a c c o u n t s   ( e v e n   A d m i n i s t r a t o r   a c c o u n t s )   d o   n o t   h a v e   p e r m i s s i o n s   t o   c r e a t e   l o g o n   t o k e n s   f o r   a n y   o f   t h e   s u p p o r t e d   u s e r   a c c o u n t s .   H o s t P r o c e s s   c o n t a i n e r s   f a i l   t o   s t a r t   w i t h   f a i l e d   t o   c r e a t e   u s e r   p r o c e s s   t o k e n :   f a i l e d   t o   l o g o n   u s e r :   A c c e s s   i s   d e n i e d . :   u n k n o w n   E n s u r e   c o n t a i n e r d   i s   r u n n i n g   a s   L o c a l S y s t e m   o r   L o c a l S e r v i c e   s e r v i c e   a c c o u n t s .   U s e r   a c c o u n t s   ( e v e n   A d m i n i s t r a t o r   a c c o u n t s )   d o   n o t   h a v e   p e r m i s s i o n s   t o   c r e a t e   l o g o n   t o k e n s   f o r   a n y   o f   t h e   s u p p o r t e d   u s e r   a c c o u n t s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/create-hostprocess-pod/",
    "id": "k8s_00211_section_2_3711"
  },
  {
    "question": "What is Ports and Protocols?",
    "answer": "Ports and ProtocolsWhen running Kubernetes in an environment with strict network boundaries, such as on-premises datacenter with physical network firewalls or Virtual Networks in Public Cloud, it is useful to be aware of the ports and protocols used by Kubernetes components.Control planeProtocolDirectionPort RangePurposeUsed ByTCPInbound6443Kubernetes API serverAllTCPInbound2379-2380etcd server client APIkube-apiserver, etcdTCPInbound10250Kubelet APISelf, Control planeTCPInbound10259kube-schedulerSelfTCPInbound10257kube-controller-managerSelfAlthough etcd ports are included in control plane section, you can also host your own etcd cluster externally or on custom ports.Worker node(s)ProtocolDirectionPort RangePurposeUsed ByTCPInbound10250Kubelet APISelf, Control planeTCPInbound10256kube-proxySelf, Load balancersTCPInbound30000-32767NodePort Services†AllUDPInbound30000-32767NodePort Services†All† Default port range for NodePort Services.All default port numbers can be overridden. When custom ports are used those ports need to be open instead of defaults mentioned here.One common example is API server port that is sometimes switched to 443. Alternatively, the default port is kept as is and API server is put behind a load balancer that listens on 443 and routes the requests to API server on the default port.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/ports-and-protocols/",
    "id": "k8s_00212_qa_3712"
  },
  {
    "question": "How does Ports and Protocols work?",
    "answer": "Ports and ProtocolsWhen running Kubernetes in an environment with strict network boundaries, such as on-premises datacenter with physical network firewalls or Virtual Networks in Public Cloud, it is useful to be aware of the ports and protocols used by Kubernetes components.Control planeProtocolDirectionPort RangePurposeUsed ByTCPInbound6443Kubernetes API serverAllTCPInbound2379-2380etcd server client APIkube-apiserver, etcdTCPInbound10250Kubelet APISelf, Control planeTCPInbound10259kube-schedulerSelfTCPInbound10257kube-controller-managerSelfAlthough etcd ports are included in control plane section, you can also host your own etcd cluster externally or on custom ports.Worker node(s)ProtocolDirectionPort RangePurposeUsed ByTCPInbound10250Kubelet APISelf, Control planeTCPInbound10256kube-proxySelf, Load balancersTCPInbound30000-32767NodePort Services†AllUDPInbound30000-32767NodePort Services†All† Default port range for NodePort Services.All default port numbers can be overridden. When custom ports are used those ports need to be open instead of defaults mentioned here.One common example is API server port that is sometimes switched to 443. Alternatively, the default port is kept as is and API server is put behind a load balancer that listens on 443 and routes the requests to API server on the default port.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/ports-and-protocols/",
    "id": "k8s_00212_qa_3713"
  },
  {
    "question": "When would you use Ports and Protocols?",
    "answer": "Ports and ProtocolsWhen running Kubernetes in an environment with strict network boundaries, such as on-premises datacenter with physical network firewalls or Virtual Networks in Public Cloud, it is useful to be aware of the ports and protocols used by Kubernetes components.Control planeProtocolDirectionPort RangePurposeUsed ByTCPInbound6443Kubernetes API serverAllTCPInbound2379-2380etcd server client APIkube-apiserver, etcdTCPInbound10250Kubelet APISelf, Control planeTCPInbound10259kube-schedulerSelfTCPInbound10257kube-controller-managerSelfAlthough etcd ports are included in control plane section, you can also host your own etcd cluster externally or on custom ports.Worker node(s)ProtocolDirectionPort RangePurposeUsed ByTCPInbound10250Kubelet APISelf, Control planeTCPInbound10256kube-proxySelf, Load balancersTCPInbound30000-32767NodePort Services†AllUDPInbound30000-32767NodePort Services†All† Default port range for NodePort Services.All default port numbers can be overridden. When custom ports are used those ports need to be open instead of defaults mentioned here.One common example is API server port that is sometimes switched to 443. Alternatively, the default port is kept as is and API server is put behind a load balancer that listens on 443 and routes the requests to API server on the default port.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/ports-and-protocols/",
    "id": "k8s_00212_qa_3714"
  },
  {
    "question": "What are the benefits of Ports and Protocols?",
    "answer": "Ports and ProtocolsWhen running Kubernetes in an environment with strict network boundaries, such as on-premises datacenter with physical network firewalls or Virtual Networks in Public Cloud, it is useful to be aware of the ports and protocols used by Kubernetes components.Control planeProtocolDirectionPort RangePurposeUsed ByTCPInbound6443Kubernetes API serverAllTCPInbound2379-2380etcd server client APIkube-apiserver, etcdTCPInbound10250Kubelet APISelf, Control planeTCPInbound10259kube-schedulerSelfTCPInbound10257kube-controller-managerSelfAlthough etcd ports are included in control plane section, you can also host your own etcd cluster externally or on custom ports.Worker node(s)ProtocolDirectionPort RangePurposeUsed ByTCPInbound10250Kubelet APISelf, Control planeTCPInbound10256kube-proxySelf, Load balancersTCPInbound30000-32767NodePort Services†AllUDPInbound30000-32767NodePort Services†All† Default port range for NodePort Services.All default port numbers can be overridden. When custom ports are used those ports need to be open instead of defaults mentioned here.One common example is API server port that is sometimes switched to 443. Alternatively, the default port is kept as is and API server is put behind a load balancer that listens on 443 and routes the requests to API server on the default port.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/ports-and-protocols/",
    "id": "k8s_00212_qa_3715"
  },
  {
    "question": "What is Ports and Protocols?",
    "answer": "W h e n   r u n n i n g   K u b e r n e t e s   i n   a n   e n v i r o n m e n t   w i t h   s t r i c t   n e t w o r k   b o u n d a r i e s ,   s u c h   a s   o n - p r e m i s e s   d a t a c e n t e r   w i t h   p h y s i c a l   n e t w o r k   f i r e w a l l s   o r   V i r t u a l   N e t w o r k s   i n   P u b l i c   C l o u d ,   i t   i s   u s e f u l   t o   b e   a w a r e   o f   t h e   p o r t s   a n d   p r o t o c o l s   u s e d   b y   K u b e r n e t e s   c o m p o n e n t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/ports-and-protocols/",
    "id": "k8s_00212_section_1_3716"
  },
  {
    "question": "What is Control plane?",
    "answer": "A l t h o u g h   e t c d   p o r t s   a r e   i n c l u d e d   i n   c o n t r o l   p l a n e   s e c t i o n ,   y o u   c a n   a l s o   h o s t   y o u r   o w n   e t c d   c l u s t e r   e x t e r n a l l y   o r   o n   c u s t o m   p o r t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/ports-and-protocols/",
    "id": "k8s_00212_section_2_3717"
  },
  {
    "question": "What is Worker node(s)?",
    "answer": "†   D e f a u l t   p o r t   r a n g e   f o r   N o d e P o r t   S e r v i c e s .   A l l   d e f a u l t   p o r t   n u m b e r s   c a n   b e   o v e r r i d d e n .   W h e n   c u s t o m   p o r t s   a r e   u s e d   t h o s e   p o r t s   n e e d   t o   b e   o p e n   i n s t e a d   o f   d e f a u l t s   m e n t i o n e d   h e r e .   O n e   c o m m o n   e x a m p l e   i s   A P I   s e r v e r   p o r t   t h a t   i s   s o m e t i m e s   s w i t c h e d   t o   4 4 3 .   A l t e r n a t i v e l y ,   t h e   d e f a u l t   p o r t   i s   k e p t   a s   i s   a n d   A P I   s e r v e r   i s   p u t   b e h i n d   a   l o a d   b a l a n c e r   t h a t   l i s t e n s   o n   4 4 3   a n d   r o u t e s   t h e   r e q u e s t s   t o   A P I   s e r v e r   o n   t h e   d e f a u l t   p o r t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/ports-and-protocols/",
    "id": "k8s_00212_section_2_3718"
  },
  {
    "question": "What is Secrets?",
    "answer": "SecretsA Secret is an object that contains a small amount of sensitive data such as a password, a token, or a key. Such information might otherwise be put in a Pod specification or in a container image. Using a Secret means that you don't need to include confidential data in your application code.Because Secrets can be created independently of the Pods that use them, there is less risk of the Secret (and its data) being exposed during the workflow of creating, viewing, and editing Pods. Kubernetes, and applications that run in your cluster, can also take additional precautions with Secrets, such as avoiding writing sensitive data to nonvolatile storage.Secrets are similar to ConfigMaps but are specifically intended to hold confidential data.Caution:Kubernetes Secrets are, by default, stored unencrypted in the API server's underlying data store (etcd). Anyone with API access can retrieve or modify a Secret, and so can anyone with access to etcd. Additionally, anyone who is authorized to create a Pod in a namespace can use that access to read any Secret in that namespace; this includes indirect access such as the ability to create a Deployment.In order to safely use Secrets, take at least the following steps:Enable Encryption at Rest for Secrets.Enable or configure RBAC rules with least-privilege access to Secrets.Restrict Secret access to specific containers.Consider using external Secret store providers.For more guidelines to manage and improve the security of your Secrets, refer to Good practices for Kubernetes Secrets.See Information security for Secrets for more details.Uses for SecretsYou can use Secrets for purposes such as the following:Set environment variables for a container.Provide credentials such as SSH keys or passwords to Pods.Allow the kubelet to pull container images from private registries.The Kubernetes control plane also uses Secrets; for example, bootstrap token Secrets are a mechanism to help automate node registration.Use case: dotfiles in a secret volumeYou can make your data \"hidden\" by defining a key that begins with a dot. This key represents a dotfile or \"hidden\" file. For example, when the following Secret is mounted into a volume, secret-volume, the volume will contain a single file, called .secret-file, and the dotfile-test-container will have this file present at the path /etc/secret-volume/.secret-file.Note:Files beginning with dot characters are hidden from the output of ls -l; you must use ls -la to see them when listing directory contents.secret/dotfile-secret.yaml apiVersion: v1 kind: Secret metadata: name: dotfile-secret data: .secret-file: dmFsdWUtMg0KDQo= --- apiVersion: v1 kind: Pod metadata: name: secret-dotfiles-pod spec: volumes: - name: secret-volume secret: secretName: dotfile-secret containers: - name: dotfile-test-container image: registry.k8s.io/busybox command: - ls - \"-l\" - \"/etc/secret-volume\" volumeMounts: - name: secret-volume readOnly: true mountPath: \"/etc/secret-volume\"Use case: Secret visib",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_qa_3719"
  },
  {
    "question": "How does Secrets work?",
    "answer": "SecretsA Secret is an object that contains a small amount of sensitive data such as a password, a token, or a key. Such information might otherwise be put in a Pod specification or in a container image. Using a Secret means that you don't need to include confidential data in your application code.Because Secrets can be created independently of the Pods that use them, there is less risk of the Secret (and its data) being exposed during the workflow of creating, viewing, and editing Pods. Kubernetes, and applications that run in your cluster, can also take additional precautions with Secrets, such as avoiding writing sensitive data to nonvolatile storage.Secrets are similar to ConfigMaps but are specifically intended to hold confidential data.Caution:Kubernetes Secrets are, by default, stored unencrypted in the API server's underlying data store (etcd). Anyone with API access can retrieve or modify a Secret, and so can anyone with access to etcd. Additionally, anyone who is authorized to create a Pod in a namespace can use that access to read any Secret in that namespace; this includes indirect access such as the ability to create a Deployment.In order to safely use Secrets, take at least the following steps:Enable Encryption at Rest for Secrets.Enable or configure RBAC rules with least-privilege access to Secrets.Restrict Secret access to specific containers.Consider using external Secret store providers.For more guidelines to manage and improve the security of your Secrets, refer to Good practices for Kubernetes Secrets.See Information security for Secrets for more details.Uses for SecretsYou can use Secrets for purposes such as the following:Set environment variables for a container.Provide credentials such as SSH keys or passwords to Pods.Allow the kubelet to pull container images from private registries.The Kubernetes control plane also uses Secrets; for example, bootstrap token Secrets are a mechanism to help automate node registration.Use case: dotfiles in a secret volumeYou can make your data \"hidden\" by defining a key that begins with a dot. This key represents a dotfile or \"hidden\" file. For example, when the following Secret is mounted into a volume, secret-volume, the volume will contain a single file, called .secret-file, and the dotfile-test-container will have this file present at the path /etc/secret-volume/.secret-file.Note:Files beginning with dot characters are hidden from the output of ls -l; you must use ls -la to see them when listing directory contents.secret/dotfile-secret.yaml apiVersion: v1 kind: Secret metadata: name: dotfile-secret data: .secret-file: dmFsdWUtMg0KDQo= --- apiVersion: v1 kind: Pod metadata: name: secret-dotfiles-pod spec: volumes: - name: secret-volume secret: secretName: dotfile-secret containers: - name: dotfile-test-container image: registry.k8s.io/busybox command: - ls - \"-l\" - \"/etc/secret-volume\" volumeMounts: - name: secret-volume readOnly: true mountPath: \"/etc/secret-volume\"Use case: Secret visib",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_qa_3720"
  },
  {
    "question": "When would you use Secrets?",
    "answer": "SecretsA Secret is an object that contains a small amount of sensitive data such as a password, a token, or a key. Such information might otherwise be put in a Pod specification or in a container image. Using a Secret means that you don't need to include confidential data in your application code.Because Secrets can be created independently of the Pods that use them, there is less risk of the Secret (and its data) being exposed during the workflow of creating, viewing, and editing Pods. Kubernetes, and applications that run in your cluster, can also take additional precautions with Secrets, such as avoiding writing sensitive data to nonvolatile storage.Secrets are similar to ConfigMaps but are specifically intended to hold confidential data.Caution:Kubernetes Secrets are, by default, stored unencrypted in the API server's underlying data store (etcd). Anyone with API access can retrieve or modify a Secret, and so can anyone with access to etcd. Additionally, anyone who is authorized to create a Pod in a namespace can use that access to read any Secret in that namespace; this includes indirect access such as the ability to create a Deployment.In order to safely use Secrets, take at least the following steps:Enable Encryption at Rest for Secrets.Enable or configure RBAC rules with least-privilege access to Secrets.Restrict Secret access to specific containers.Consider using external Secret store providers.For more guidelines to manage and improve the security of your Secrets, refer to Good practices for Kubernetes Secrets.See Information security for Secrets for more details.Uses for SecretsYou can use Secrets for purposes such as the following:Set environment variables for a container.Provide credentials such as SSH keys or passwords to Pods.Allow the kubelet to pull container images from private registries.The Kubernetes control plane also uses Secrets; for example, bootstrap token Secrets are a mechanism to help automate node registration.Use case: dotfiles in a secret volumeYou can make your data \"hidden\" by defining a key that begins with a dot. This key represents a dotfile or \"hidden\" file. For example, when the following Secret is mounted into a volume, secret-volume, the volume will contain a single file, called .secret-file, and the dotfile-test-container will have this file present at the path /etc/secret-volume/.secret-file.Note:Files beginning with dot characters are hidden from the output of ls -l; you must use ls -la to see them when listing directory contents.secret/dotfile-secret.yaml apiVersion: v1 kind: Secret metadata: name: dotfile-secret data: .secret-file: dmFsdWUtMg0KDQo= --- apiVersion: v1 kind: Pod metadata: name: secret-dotfiles-pod spec: volumes: - name: secret-volume secret: secretName: dotfile-secret containers: - name: dotfile-test-container image: registry.k8s.io/busybox command: - ls - \"-l\" - \"/etc/secret-volume\" volumeMounts: - name: secret-volume readOnly: true mountPath: \"/etc/secret-volume\"Use case: Secret visib",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_qa_3721"
  },
  {
    "question": "What are the benefits of Secrets?",
    "answer": "SecretsA Secret is an object that contains a small amount of sensitive data such as a password, a token, or a key. Such information might otherwise be put in a Pod specification or in a container image. Using a Secret means that you don't need to include confidential data in your application code.Because Secrets can be created independently of the Pods that use them, there is less risk of the Secret (and its data) being exposed during the workflow of creating, viewing, and editing Pods. Kubernetes, and applications that run in your cluster, can also take additional precautions with Secrets, such as avoiding writing sensitive data to nonvolatile storage.Secrets are similar to ConfigMaps but are specifically intended to hold confidential data.Caution:Kubernetes Secrets are, by default, stored unencrypted in the API server's underlying data store (etcd). Anyone with API access can retrieve or modify a Secret, and so can anyone with access to etcd. Additionally, anyone who is authorized to create a Pod in a namespace can use that access to read any Secret in that namespace; this includes indirect access such as the ability to create a Deployment.In order to safely use Secrets, take at least the following steps:Enable Encryption at Rest for Secrets.Enable or configure RBAC rules with least-privilege access to Secrets.Restrict Secret access to specific containers.Consider using external Secret store providers.For more guidelines to manage and improve the security of your Secrets, refer to Good practices for Kubernetes Secrets.See Information security for Secrets for more details.Uses for SecretsYou can use Secrets for purposes such as the following:Set environment variables for a container.Provide credentials such as SSH keys or passwords to Pods.Allow the kubelet to pull container images from private registries.The Kubernetes control plane also uses Secrets; for example, bootstrap token Secrets are a mechanism to help automate node registration.Use case: dotfiles in a secret volumeYou can make your data \"hidden\" by defining a key that begins with a dot. This key represents a dotfile or \"hidden\" file. For example, when the following Secret is mounted into a volume, secret-volume, the volume will contain a single file, called .secret-file, and the dotfile-test-container will have this file present at the path /etc/secret-volume/.secret-file.Note:Files beginning with dot characters are hidden from the output of ls -l; you must use ls -la to see them when listing directory contents.secret/dotfile-secret.yaml apiVersion: v1 kind: Secret metadata: name: dotfile-secret data: .secret-file: dmFsdWUtMg0KDQo= --- apiVersion: v1 kind: Pod metadata: name: secret-dotfiles-pod spec: volumes: - name: secret-volume secret: secretName: dotfile-secret containers: - name: dotfile-test-container image: registry.k8s.io/busybox command: - ls - \"-l\" - \"/etc/secret-volume\" volumeMounts: - name: secret-volume readOnly: true mountPath: \"/etc/secret-volume\"Use case: Secret visib",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_qa_3722"
  },
  {
    "question": "What is Secrets?",
    "answer": "A   S e c r e t   i s   a n   o b j e c t   t h a t   c o n t a i n s   a   s m a l l   a m o u n t   o f   s e n s i t i v e   d a t a   s u c h   a s   a   p a s s w o r d ,   a   t o k e n ,   o r   a   k e y .   S u c h   i n f o r m a t i o n   m i g h t   o t h e r w i s e   b e   p u t   i n   a   P o d   s p e c i f i c a t i o n   o r   i n   a   c o n t a i n e r   i m a g e .   U s i n g   a   S e c r e t   m e a n s   t h a t   y o u   d o n ' t   n e e d   t o   i n c l u d e   c o n f i d e n t i a l   d a t a   i n   y o u r   a p p l i c a t i o n   c o d e .   B e c a u s e   S e c r e t s   c a n   b e   c r e a t e d   i n d e p e n d e n t l y   o f   t h e   P o d s   t h a t   u s e   t h e m ,   t h e r e   i s   l e s s   r i s k   o f   t h e   S e c r e t   ( a n d   i t s   d a t a )   b e i n g   e x p o s e d   d u r i n g   t h e   w o r k f l o w   o f   c r e a t i n g ,   v i e w i n g ,   a n d   e d i t i n g   P o d s .   K u b e r n e t e s ,   a n d   a p p l i c a t i o n s   t h a t   r u n   i n   y o u r   c l u s t e r ,   c a n   a l s o   t a k e   a d d i t i o n a l   p r e c a u t i o n s   w i t h   S e c r e t s ,   s u c h   a s   a v o i d i n g   w r i t i n g   s e n s i t i v e   d a t a   t o   n o n v o l a t i l e   s t o r a g e .   S e c r e t s   a r e   s i m i l a r   t o   C o n f i g M a p s   b u t   a r e   s p e c i f i c a l l y   i n t e n d e d   t o   h o l d   c o n f i d e n t i a l   d a t a .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_1_3723"
  },
  {
    "question": "What is Caution:?",
    "answer": "K u b e r n e t e s   S e c r e t s   a r e ,   b y   d e f a u l t ,   s t o r e d   u n e n c r y p t e d   i n   t h e   A P I   s e r v e r ' s   u n d e r l y i n g   d a t a   s t o r e   ( e t c d ) .   A n y o n e   w i t h   A P I   a c c e s s   c a n   r e t r i e v e   o r   m o d i f y   a   S e c r e t ,   a n d   s o   c a n   a n y o n e   w i t h   a c c e s s   t o   e t c d .   A d d i t i o n a l l y ,   a n y o n e   w h o   i s   a u t h o r i z e d   t o   c r e a t e   a   P o d   i n   a   n a m e s p a c e   c a n   u s e   t h a t   a c c e s s   t o   r e a d   a n y   S e c r e t   i n   t h a t   n a m e s p a c e ;   t h i s   i n c l u d e s   i n d i r e c t   a c c e s s   s u c h   a s   t h e   a b i l i t y   t o   c r e a t e   a   D e p l o y m e n t .   I n   o r d e r   t o   s a f e l y   u s e   S e c r e t s ,   t a k e   a t   l e a s t   t h e   f o l l o w i n g   s t e p s :   E n a b l e   E n c r y p t i o n   a t   R e s t   f o r   S e c r e t s . E n a b l e   o r   c o n f i g u r e   R B A C   r u l e s   w i t h   l e a s t - p r i v i l e g e   a c c e s s   t o   S e c r e t s . R e s t r i c t   S e c r e t   a c c e s s   t o   s p e c i f i c   c o n t a i n e r s . C o n s i d e r   u s i n g   e x t e r n a l   S e c r e t   s t o r e   p r o v i d e r s .   F o r   m o r e   g u i d e l i n e s   t o   m a n a g e   a n d   i m p r o v e   t h e   s e c u r i t y   o f   y o u r   S e c r e t s ,   r e f e r   t o   G o o d   p r a c t i c e s   f o r   K u b e r n e t e s   S e c r e t s .   S e e   I n f o r m a t i o n   s e c u r i t y   f o r   S e c r e t s   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_4_3724"
  },
  {
    "question": "What is Uses for Secrets?",
    "answer": "Y o u   c a n   u s e   S e c r e t s   f o r   p u r p o s e s   s u c h   a s   t h e   f o l l o w i n g :   S e t   e n v i r o n m e n t   v a r i a b l e s   f o r   a   c o n t a i n e r . P r o v i d e   c r e d e n t i a l s   s u c h   a s   S S H   k e y s   o r   p a s s w o r d s   t o   P o d s . A l l o w   t h e   k u b e l e t   t o   p u l l   c o n t a i n e r   i m a g e s   f r o m   p r i v a t e   r e g i s t r i e s .   T h e   K u b e r n e t e s   c o n t r o l   p l a n e   a l s o   u s e s   S e c r e t s ;   f o r   e x a m p l e ,   b o o t s t r a p   t o k e n   S e c r e t s   a r e   a   m e c h a n i s m   t o   h e l p   a u t o m a t e   n o d e   r e g i s t r a t i o n .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_2_3725"
  },
  {
    "question": "What is Use case: dotfiles in a secret volume?",
    "answer": "Y o u   c a n   m a k e   y o u r   d a t a   \" h i d d e n \"   b y   d e f i n i n g   a   k e y   t h a t   b e g i n s   w i t h   a   d o t .   T h i s   k e y   r e p r e s e n t s   a   d o t f i l e   o r   \" h i d d e n \"   f i l e .   F o r   e x a m p l e ,   w h e n   t h e   f o l l o w i n g   S e c r e t   i s   m o u n t e d   i n t o   a   v o l u m e ,   s e c r e t - v o l u m e ,   t h e   v o l u m e   w i l l   c o n t a i n   a   s i n g l e   f i l e ,   c a l l e d   . s e c r e t - f i l e ,   a n d   t h e   d o t f i l e - t e s t - c o n t a i n e r   w i l l   h a v e   t h i s   f i l e   p r e s e n t   a t   t h e   p a t h   / e t c / s e c r e t - v o l u m e / . s e c r e t - f i l e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_3_3726"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   d o t f i l e - s e c r e t   d a t a :   . s e c r e t - f i l e :   d m F s d W U t M g 0 K D Q o =   - - -   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s e c r e t - d o t f i l e s - p o d   s p e c :   v o l u m e s :   -   n a m e :   s e c r e t - v o l u m e   s e c r e t :   s e c r e t N a m e :   d o t f i l e - s e c r e t   c o n t a i n e r s :   -   n a m e :   d o t f i l e - t e s t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x   c o m m a n d :   -   l s   -   \" - l \"   -   \" / e t c / s e c r e t - v o l u m e \"   v o l u m e M o u n t s :   -   n a m e :   s e c r e t - v o l u m e   r e a d O n l y :   t r u e   m o u n t P a t h :   \" / e t c / s e c r e t - v o l u m e \"",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_4_3727"
  },
  {
    "question": "What is Use case: Secret visible to one container in a Pod?",
    "answer": "C o n s i d e r   a   p r o g r a m   t h a t   n e e d s   t o   h a n d l e   H T T P   r e q u e s t s ,   d o   s o m e   c o m p l e x   b u s i n e s s   l o g i c ,   a n d   t h e n   s i g n   s o m e   m e s s a g e s   w i t h   a n   H M A C .   B e c a u s e   i t   h a s   c o m p l e x   a p p l i c a t i o n   l o g i c ,   t h e r e   m i g h t   b e   a n   u n n o t i c e d   r e m o t e   f i l e   r e a d i n g   e x p l o i t   i n   t h e   s e r v e r ,   w h i c h   c o u l d   e x p o s e   t h e   p r i v a t e   k e y   t o   a n   a t t a c k e r .   T h i s   c o u l d   b e   d i v i d e d   i n t o   t w o   p r o c e s s e s   i n   t w o   c o n t a i n e r s :   a   f r o n t e n d   c o n t a i n e r   w h i c h   h a n d l e s   u s e r   i n t e r a c t i o n   a n d   b u s i n e s s   l o g i c ,   b u t   w h i c h   c a n n o t   s e e   t h e   p r i v a t e   k e y ;   a n d   a   s i g n e r   c o n t a i n e r   t h a t   c a n   s e e   t h e   p r i v a t e   k e y ,   a n d   r e s p o n d s   t o   s i m p l e   s i g n i n g   r e q u e s t s   f r o m   t h e   f r o n t e n d   ( f o r   e x a m p l e ,   o v e r   l o c a l h o s t   n e t w o r k i n g ) .   W i t h   t h i s   p a r t i t i o n e d   a p p r o a c h ,   a n   a t t a c k e r   n o w   h a s   t o   t r i c k   t h e   a p p l i c a t i o n   s e r v e r   i n t o   d o i n g   s o m e t h i n g   r a t h e r   a r b i t r a r y ,   w h i c h   m a y   b e   h a r d e r   t h a n   g e t t i n g   i t   t o   r e a d   a   f i l e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_3_3728"
  },
  {
    "question": "What is Alternatives to Secrets?",
    "answer": "R a t h e r   t h a n   u s i n g   a   S e c r e t   t o   p r o t e c t   c o n f i d e n t i a l   d a t a ,   y o u   c a n   p i c k   f r o m   a l t e r n a t i v e s .   H e r e   a r e   s o m e   o f   y o u r   o p t i o n s :   I f   y o u r   c l o u d - n a t i v e   c o m p o n e n t   n e e d s   t o   a u t h e n t i c a t e   t o   a n o t h e r   a p p l i c a t i o n   t h a t   y o u   k n o w   i s   r u n n i n g   w i t h i n   t h e   s a m e   K u b e r n e t e s   c l u s t e r ,   y o u   c a n   u s e   a   S e r v i c e A c c o u n t   a n d   i t s   t o k e n s   t o   i d e n t i f y   y o u r   c l i e n t . T h e r e   a r e   t h i r d - p a r t y   t o o l s   t h a t   y o u   c a n   r u n ,   e i t h e r   w i t h i n   o r   o u t s i d e   y o u r   c l u s t e r ,   t h a t   m a n a g e   s e n s i t i v e   d a t a .   F o r   e x a m p l e ,   a   s e r v i c e   t h a t   P o d s   a c c e s s   o v e r   H T T P S ,   t h a t   r e v e a l s   a   S e c r e t   i f   t h e   c l i e n t   c o r r e c t l y   a u t h e n t i c a t e s   ( f o r   e x a m p l e ,   w i t h   a   S e r v i c e A c c o u n t   t o k e n ) . F o r   a u t h e n t i c a t i o n ,   y o u   c a n   i m p l e m e n t   a   c u s t o m   s i g n e r   f o r   X . 5 0 9   c e r t i f i c a t e s ,   a n d   u s e   C e r t i f i c a t e S i g n i n g R e q u e s t s   t o   l e t   t h a t   c u s t o m   s i g n e r   i s s u e   c e r t i f i c a t e s   t o   P o d s   t h a t   n e e d   t h e m . Y o u   c a n   u s e   a   d e v i c e   p l u g i n   t o   e x p o s e   n o d e - l o c a l   e n c r y p t i o n   h a r d w a r e   t o   a   s p e c i f i c   P o d .   F o r   e x a m p l e ,   y o u   c a n   s c h e d u l e   t r u s t e d   P o d s   o n t o   n o d e s   t h a t   p r o v i d e   a   T r u s t e d   P l a t f o r m   M o d u l e ,   c o n f i g u r e d   o u t - o f - b a n d .   Y o u   c a n   a l s o   c o m b i n e ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_3_3729"
  },
  {
    "question": "What is Types of Secret?",
    "answer": "W h e n   c r e a t i n g   a   S e c r e t ,   y o u   c a n   s p e c i f y   i t s   t y p e   u s i n g   t h e   t y p e   f i e l d   o f   t h e   S e c r e t   r e s o u r c e ,   o r   c e r t a i n   e q u i v a l e n t   k u b e c t l   c o m m a n d   l i n e   f l a g s   ( i f   a v a i l a b l e ) .   T h e   S e c r e t   t y p e   i s   u s e d   t o   f a c i l i t a t e   p r o g r a m m a t i c   h a n d l i n g   o f   t h e   S e c r e t   d a t a .   K u b e r n e t e s   p r o v i d e s   s e v e r a l   b u i l t - i n   t y p e s   f o r   s o m e   c o m m o n   u s a g e   s c e n a r i o s .   T h e s e   t y p e s   v a r y   i n   t e r m s   o f   t h e   v a l i d a t i o n s   p e r f o r m e d   a n d   t h e   c o n s t r a i n t s   K u b e r n e t e s   i m p o s e s   o n   t h e m .   Y o u   c a n   d e f i n e   a n d   u s e   y o u r   o w n   S e c r e t   t y p e   b y   a s s i g n i n g   a   n o n - e m p t y   s t r i n g   a s   t h e   t y p e   v a l u e   f o r   a   S e c r e t   o b j e c t   ( a n   e m p t y   s t r i n g   i s   t r e a t e d   a s   a n   O p a q u e   t y p e ) .   K u b e r n e t e s   d o e s n ' t   i m p o s e   a n y   c o n s t r a i n t s   o n   t h e   t y p e   n a m e .   H o w e v e r ,   i f   y o u   a r e   u s i n g   o n e   o f   t h e   b u i l t - i n   t y p e s ,   y o u   m u s t   m e e t   a l l   t h e   r e q u i r e m e n t s   d e f i n e d   f o r   t h a t   t y p e .   I f   y o u   a r e   d e f i n i n g   a   t y p e   o f   S e c r e t   t h a t ' s   f o r   p u b l i c   u s e ,   f o l l o w   t h e   c o n v e n t i o n   a n d   s t r u c t u r e   t h e   S e c r e t   t y p e   t o   h a v e   y o u r   d o m a i n   n a m e   b e f o r e   t h e   n a m e ,   s e p a r a t e d   b y   a   / .   F o r   e x a m p l e :   c l o u d - h o s t i n g . e x a m p l e . n e t / c l o u d - a p i - c r e d e n t i a l s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_2_3730"
  },
  {
    "question": "What is Opaque Secrets?",
    "answer": "O p a q u e   i s   t h e   d e f a u l t   S e c r e t   t y p e   i f   y o u   d o n ' t   e x p l i c i t l y   s p e c i f y   a   t y p e   i n   a   S e c r e t   m a n i f e s t .   W h e n   y o u   c r e a t e   a   S e c r e t   u s i n g   k u b e c t l ,   y o u   m u s t   u s e   t h e   g e n e r i c   s u b c o m m a n d   t o   i n d i c a t e   a n   O p a q u e   S e c r e t   t y p e .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   c o m m a n d   c r e a t e s   a n   e m p t y   S e c r e t   o f   t y p e   O p a q u e :   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   e m p t y - s e c r e t   k u b e c t l   g e t   s e c r e t   e m p t y - s e c r e t   T h e   o u t p u t   l o o k s   l i k e :   N A M E   T Y P E   D A T A   A G E   e m p t y - s e c r e t   O p a q u e   0   2 m 6 s   T h e   D A T A   c o l u m n   s h o w s   t h e   n u m b e r   o f   d a t a   i t e m s   s t o r e d   i n   t h e   S e c r e t .   I n   t h i s   c a s e ,   0   m e a n s   y o u   h a v e   c r e a t e d   a n   e m p t y   S e c r e t .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_3_3731"
  },
  {
    "question": "What is ServiceAccount token Secrets?",
    "answer": "A   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n   t y p e   o f   S e c r e t   i s   u s e d   t o   s t o r e   a   t o k e n   c r e d e n t i a l   t h a t   i d e n t i f i e s   a   S e r v i c e A c c o u n t .   T h i s   i s   a   l e g a c y   m e c h a n i s m   t h a t   p r o v i d e s   l o n g - l i v e d   S e r v i c e A c c o u n t   c r e d e n t i a l s   t o   P o d s .   I n   K u b e r n e t e s   v 1 . 2 2   a n d   l a t e r ,   t h e   r e c o m m e n d e d   a p p r o a c h   i s   t o   o b t a i n   a   s h o r t - l i v e d ,   a u t o m a t i c a l l y   r o t a t i n g   S e r v i c e A c c o u n t   t o k e n   b y   u s i n g   t h e   T o k e n R e q u e s t   A P I   i n s t e a d .   Y o u   c a n   g e t   t h e s e   s h o r t - l i v e d   t o k e n s   u s i n g   t h e   f o l l o w i n g   m e t h o d s :   C a l l   t h e   T o k e n R e q u e s t   A P I   e i t h e r   d i r e c t l y   o r   b y   u s i n g   a n   A P I   c l i e n t   l i k e   k u b e c t l .   F o r   e x a m p l e ,   y o u   c a n   u s e   t h e   k u b e c t l   c r e a t e   t o k e n   c o m m a n d . R e q u e s t   a   m o u n t e d   t o k e n   i n   a   p r o j e c t e d   v o l u m e   i n   y o u r   P o d   m a n i f e s t .   K u b e r n e t e s   c r e a t e s   t h e   t o k e n   a n d   m o u n t s   i t   i n   t h e   P o d .   T h e   t o k e n   i s   a u t o m a t i c a l l y   i n v a l i d a t e d   w h e n   t h e   P o d   t h a t   i t ' s   m o u n t e d   i n   i s   d e l e t e d .   F o r   d e t a i l s ,   s e e   L a u n c h   a   P o d   u s i n g   s e r v i c e   a c c o u n t   t o k e n   p r o j e c t i o n .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_3_3732"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   u s i n g   t h i s   S e c r e t   t y p e ,   y o u   n e e d   t o   e n s u r e   t h a t   t h e   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . n a m e   a n n o t a t i o n   i s   s e t   t o   a n   e x i s t i n g   S e r v i c e A c c o u n t   n a m e .   I f   y o u   a r e   c r e a t i n g   b o t h   t h e   S e r v i c e A c c o u n t   a n d   t h e   S e c r e t   o b j e c t s ,   y o u   s h o u l d   c r e a t e   t h e   S e r v i c e A c c o u n t   o b j e c t   f i r s t .   A f t e r   t h e   S e c r e t   i s   c r e a t e d ,   a   K u b e r n e t e s   c o n t r o l l e r   f i l l s   i n   s o m e   o t h e r   f i e l d s   s u c h   a s   t h e   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . u i d   a n n o t a t i o n ,   a n d   t h e   t o k e n   k e y   i n   t h e   d a t a   f i e l d ,   w h i c h   i s   p o p u l a t e d   w i t h   a n   a u t h e n t i c a t i o n   t o k e n .   T h e   f o l l o w i n g   e x a m p l e   c o n f i g u r a t i o n   d e c l a r e s   a   S e r v i c e A c c o u n t   t o k e n   S e c r e t :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   s e c r e t - s a - s a m p l e   a n n o t a t i o n s :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . n a m e :   \" s a - n a m e \"   t y p e :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n   d a t a :   e x t r a :   Y m F y C g = =   A f t e r   c r e a t i n g   t h e   S e c r e t ,   w a i t   f o r   K u b e r n e t e s   t o   p o p u l a t e   t h e   t o k e n   k e y   i n   t h e   d a t a   f i e l d .   S e e   t h e   S e r v i c e A c c o u n t   d o c u m e n t a t i o n   f o r   m o r e   i n f o r m a t i o n   o n   h o w   S e r v i c e A c c o u n t s   w o r k .   Y o u   c a n   a l s o   c h e c k   t h e   a u t o m o u n t S e r v i c e A c c o u n t T o k e n   f i e l d   a n d   t h e   s e r v i c ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_4_3733"
  },
  {
    "question": "What is Docker config Secrets?",
    "answer": "I f   y o u   a r e   c r e a t i n g   a   S e c r e t   t o   s t o r e   c r e d e n t i a l s   f o r   a c c e s s i n g   a   c o n t a i n e r   i m a g e   r e g i s t r y ,   y o u   m u s t   u s e   o n e   o f   t h e   f o l l o w i n g   t y p e   v a l u e s   f o r   t h a t   S e c r e t :   k u b e r n e t e s . i o / d o c k e r c f g :   s t o r e   a   s e r i a l i z e d   ~ / . d o c k e r c f g   w h i c h   i s   t h e   l e g a c y   f o r m a t   f o r   c o n f i g u r i n g   D o c k e r   c o m m a n d   l i n e .   T h e   S e c r e t   d a t a   f i e l d   c o n t a i n s   a   . d o c k e r c f g   k e y   w h o s e   v a l u e   i s   t h e   c o n t e n t   o f   a   b a s e 6 4   e n c o d e d   ~ / . d o c k e r c f g   f i l e . k u b e r n e t e s . i o / d o c k e r c o n f i g j s o n :   s t o r e   a   s e r i a l i z e d   J S O N   t h a t   f o l l o w s   t h e   s a m e   f o r m a t   r u l e s   a s   t h e   ~ / . d o c k e r / c o n f i g . j s o n   f i l e ,   w h i c h   i s   a   n e w   f o r m a t   f o r   ~ / . d o c k e r c f g .   T h e   S e c r e t   d a t a   f i e l d   m u s t   c o n t a i n   a   . d o c k e r c o n f i g j s o n   k e y   f o r   w h i c h   t h e   v a l u e   i s   t h e   c o n t e n t   o f   a   b a s e 6 4   e n c o d e d   ~ / . d o c k e r / c o n f i g . j s o n   f i l e .   B e l o w   i s   a n   e x a m p l e   f o r   a   k u b e r n e t e s . i o / d o c k e r c f g   t y p e   o f   S e c r e t :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   s e c r e t - d o c k e r c f g   t y p e :   k u b e r n e t e s . i o / d o c k e r c f g   d a t a :   . d o c k e r c f g :   |   e y J h d X R o c y I 6 e y J o d H R w c z o v L 2 V 4 Y W 1 w b G U v d j E v I j p 7 I m F 1 d G g i O i J v c G V u c 2 V z Y W 1 l I n 1 9 f Q o =",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_3_3734"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   y o u   c r e a t e   D o c k e r   c o n f i g   S e c r e t s   u s i n g   a   m a n i f e s t ,   t h e   A P I   s e r v e r   c h e c k s   w h e t h e r   t h e   e x p e c t e d   k e y   e x i s t s   i n   t h e   d a t a   f i e l d ,   a n d   i t   v e r i f i e s   i f   t h e   v a l u e   p r o v i d e d   c a n   b e   p a r s e d   a s   a   v a l i d   J S O N .   T h e   A P I   s e r v e r   d o e s n ' t   v a l i d a t e   i f   t h e   J S O N   a c t u a l l y   i s   a   D o c k e r   c o n f i g   f i l e .   Y o u   c a n   a l s o   u s e   k u b e c t l   t o   c r e a t e   a   S e c r e t   f o r   a c c e s s i n g   a   c o n t a i n e r   r e g i s t r y ,   s u c h   a s   w h e n   y o u   d o n ' t   h a v e   a   D o c k e r   c o n f i g u r a t i o n   f i l e :   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   s e c r e t - t i g e r - d o c k e r   \\   - - d o c k e r - e m a i l = t i g e r @ a c m e . e x a m p l e   \\   - - d o c k e r - u s e r n a m e = t i g e r   \\   - - d o c k e r - p a s s w o r d = p a s s 1 2 3 4   \\   - - d o c k e r - s e r v e r = m y - r e g i s t r y . e x a m p l e : 5 0 0 0   T h i s   c o m m a n d   c r e a t e s   a   S e c r e t   o f   t y p e   k u b e r n e t e s . i o / d o c k e r c o n f i g j s o n .   R e t r i e v e   t h e   . d a t a . d o c k e r c o n f i g j s o n   f i e l d   f r o m   t h a t   n e w   S e c r e t   a n d   d e c o d e   t h e   d a t a :   k u b e c t l   g e t   s e c r e t   s e c r e t - t i g e r - d o c k e r   - o   j s o n p a t h = ' { . d a t a . * } '   |   b a s e 6 4   - d   T h e   o u t p u t   i s   e q u i v a l e n t   t o   t h e   f o l l o w i n g   J S O N   d o c u m e n t   ( w h i c h   i s   a l s o   a   v a l i d   D o c k e r   c o n f i g u r a t i o n   f i l e ) :   {   \" a u t h s \" :   {   \" m y - r e g i s t r y . e x a m p l e : 5 0 0 0 \" :   {   \" u s e r n a m e \" :   \" t i g ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_4_3735"
  },
  {
    "question": "What is Caution:?",
    "answer": "T h e   a u t h   v a l u e   t h e r e   i s   b a s e 6 4   e n c o d e d ;   i t   i s   o b s c u r e d   b u t   n o t   s e c r e t .   A n y o n e   w h o   c a n   r e a d   t h a t   S e c r e t   c a n   l e a r n   t h e   r e g i s t r y   a c c e s s   b e a r e r   t o k e n .   I t   i s   s u g g e s t e d   t o   u s e   c r e d e n t i a l   p r o v i d e r s   t o   d y n a m i c a l l y   a n d   s e c u r e l y   p r o v i d e   p u l l   s e c r e t s   o n - d e m a n d .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_4_3736"
  },
  {
    "question": "What is Basic authentication Secret?",
    "answer": "T h e   k u b e r n e t e s . i o / b a s i c - a u t h   t y p e   i s   p r o v i d e d   f o r   s t o r i n g   c r e d e n t i a l s   n e e d e d   f o r   b a s i c   a u t h e n t i c a t i o n .   W h e n   u s i n g   t h i s   S e c r e t   t y p e ,   t h e   d a t a   f i e l d   o f   t h e   S e c r e t   m u s t   c o n t a i n   o n e   o f   t h e   f o l l o w i n g   t w o   k e y s :   u s e r n a m e :   t h e   u s e r   n a m e   f o r   a u t h e n t i c a t i o n p a s s w o r d :   t h e   p a s s w o r d   o r   t o k e n   f o r   a u t h e n t i c a t i o n   B o t h   v a l u e s   f o r   t h e   a b o v e   t w o   k e y s   a r e   b a s e 6 4   e n c o d e d   s t r i n g s .   Y o u   c a n   a l t e r n a t i v e l y   p r o v i d e   t h e   c l e a r   t e x t   c o n t e n t   u s i n g   t h e   s t r i n g D a t a   f i e l d   i n   t h e   S e c r e t   m a n i f e s t .   T h e   f o l l o w i n g   m a n i f e s t   i s   a n   e x a m p l e   o f   a   b a s i c   a u t h e n t i c a t i o n   S e c r e t :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   s e c r e t - b a s i c - a u t h   t y p e :   k u b e r n e t e s . i o / b a s i c - a u t h   s t r i n g D a t a :   u s e r n a m e :   a d m i n   #   r e q u i r e d   f i e l d   f o r   k u b e r n e t e s . i o / b a s i c - a u t h   p a s s w o r d :   t 0 p - S e c r e t   #   r e q u i r e d   f i e l d   f o r   k u b e r n e t e s . i o / b a s i c - a u t h",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_3_3737"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   b a s i c   a u t h e n t i c a t i o n   S e c r e t   t y p e   i s   p r o v i d e d   o n l y   f o r   c o n v e n i e n c e .   Y o u   c a n   c r e a t e   a n   O p a q u e   t y p e   f o r   c r e d e n t i a l s   u s e d   f o r   b a s i c   a u t h e n t i c a t i o n .   H o w e v e r ,   u s i n g   t h e   d e f i n e d   a n d   p u b l i c   S e c r e t   t y p e   ( k u b e r n e t e s . i o / b a s i c - a u t h )   h e l p s   o t h e r   p e o p l e   t o   u n d e r s t a n d   t h e   p u r p o s e   o f   y o u r   S e c r e t ,   a n d   s e t s   a   c o n v e n t i o n   f o r   w h a t   k e y   n a m e s   t o   e x p e c t .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_4_3738"
  },
  {
    "question": "What is SSH authentication Secrets?",
    "answer": "T h e   b u i l t i n   t y p e   k u b e r n e t e s . i o / s s h - a u t h   i s   p r o v i d e d   f o r   s t o r i n g   d a t a   u s e d   i n   S S H   a u t h e n t i c a t i o n .   W h e n   u s i n g   t h i s   S e c r e t   t y p e ,   y o u   w i l l   h a v e   t o   s p e c i f y   a   s s h - p r i v a t e k e y   k e y - v a l u e   p a i r   i n   t h e   d a t a   ( o r   s t r i n g D a t a )   f i e l d   a s   t h e   S S H   c r e d e n t i a l   t o   u s e .   T h e   f o l l o w i n g   m a n i f e s t   i s   a n   e x a m p l e   o f   a   S e c r e t   u s e d   f o r   S S H   p u b l i c / p r i v a t e   k e y   a u t h e n t i c a t i o n :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   s e c r e t - s s h - a u t h   t y p e :   k u b e r n e t e s . i o / s s h - a u t h   d a t a :   #   t h e   d a t a   i s   a b b r e v i a t e d   i n   t h i s   e x a m p l e   s s h - p r i v a t e k e y :   |   U G 9 1 c m l u Z z Y l R W 1 v d G l j b 2 4 l U 2 N 1 Y m E =   T h e   S S H   a u t h e n t i c a t i o n   S e c r e t   t y p e   i s   p r o v i d e d   o n l y   f o r   c o n v e n i e n c e .   Y o u   c a n   c r e a t e   a n   O p a q u e   t y p e   f o r   c r e d e n t i a l s   u s e d   f o r   S S H   a u t h e n t i c a t i o n .   H o w e v e r ,   u s i n g   t h e   d e f i n e d   a n d   p u b l i c   S e c r e t   t y p e   ( k u b e r n e t e s . i o / s s h - a u t h )   h e l p s   o t h e r   p e o p l e   t o   u n d e r s t a n d   t h e   p u r p o s e   o f   y o u r   S e c r e t ,   a n d   s e t s   a   c o n v e n t i o n   f o r   w h a t   k e y   n a m e s   t o   e x p e c t .   T h e   K u b e r n e t e s   A P I   v e r i f i e s   t h a t   t h e   r e q u i r e d   k e y s   a r e   s e t   f o r   a   S e c r e t   o f   t h i s   t y p e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_3_3739"
  },
  {
    "question": "What is TLS Secrets?",
    "answer": "T h e   k u b e r n e t e s . i o / t l s   S e c r e t   t y p e   i s   f o r   s t o r i n g   a   c e r t i f i c a t e   a n d   i t s   a s s o c i a t e d   k e y   t h a t   a r e   t y p i c a l l y   u s e d   f o r   T L S .   O n e   c o m m o n   u s e   f o r   T L S   S e c r e t s   i s   t o   c o n f i g u r e   e n c r y p t i o n   i n   t r a n s i t   f o r   a n   I n g r e s s ,   b u t   y o u   c a n   a l s o   u s e   i t   w i t h   o t h e r   r e s o u r c e s   o r   d i r e c t l y   i n   y o u r   w o r k l o a d .   W h e n   u s i n g   t h i s   t y p e   o f   S e c r e t ,   t h e   t l s . k e y   a n d   t h e   t l s . c r t   k e y   m u s t   b e   p r o v i d e d   i n   t h e   d a t a   ( o r   s t r i n g D a t a )   f i e l d   o f   t h e   S e c r e t   c o n f i g u r a t i o n ,   a l t h o u g h   t h e   A P I   s e r v e r   d o e s n ' t   a c t u a l l y   v a l i d a t e   t h e   v a l u e s   f o r   e a c h   k e y .   A s   a n   a l t e r n a t i v e   t o   u s i n g   s t r i n g D a t a ,   y o u   c a n   u s e   t h e   d a t a   f i e l d   t o   p r o v i d e   t h e   b a s e 6 4   e n c o d e d   c e r t i f i c a t e   a n d   p r i v a t e   k e y .   F o r   d e t a i l s ,   s e e   C o n s t r a i n t s   o n   S e c r e t   n a m e s   a n d   d a t a .   T h e   f o l l o w i n g   Y A M L   c o n t a i n s   a n   e x a m p l e   c o n f i g   f o r   a   T L S   S e c r e t :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   s e c r e t - t l s   t y p e :   k u b e r n e t e s . i o / t l s   d a t a :   #   v a l u e s   a r e   b a s e 6 4   e n c o d e d ,   w h i c h   o b s c u r e s   t h e m   b u t   d o e s   N O T   p r o v i d e   #   a n y   u s e f u l   l e v e l   o f   c o n f i d e n t i a l i t y   #   R e p l a c e   t h e   f o l l o w i n g   v a l u e s   w i t h   y o u r   o w n   b a s e 6 4 - e n c o d e d   c e r t i ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_3_3740"
  },
  {
    "question": "What is Bootstrap token Secrets?",
    "answer": "T h e   b o o t s t r a p . k u b e r n e t e s . i o / t o k e n   S e c r e t   t y p e   i s   f o r   t o k e n s   u s e d   d u r i n g   t h e   n o d e   b o o t s t r a p   p r o c e s s .   I t   s t o r e s   t o k e n s   u s e d   t o   s i g n   w e l l - k n o w n   C o n f i g M a p s .   A   b o o t s t r a p   t o k e n   S e c r e t   i s   u s u a l l y   c r e a t e d   i n   t h e   k u b e - s y s t e m   n a m e s p a c e   a n d   n a m e d   i n   t h e   f o r m   b o o t s t r a p - t o k e n - < t o k e n - i d >   w h e r e   < t o k e n - i d >   i s   a   6   c h a r a c t e r   s t r i n g   o f   t h e   t o k e n   I D .   A s   a   K u b e r n e t e s   m a n i f e s t ,   a   b o o t s t r a p   t o k e n   S e c r e t   m i g h t   l o o k   l i k e   t h e   f o l l o w i n g :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   b o o t s t r a p - t o k e n - 5 e m i t j   n a m e s p a c e :   k u b e - s y s t e m   t y p e :   b o o t s t r a p . k u b e r n e t e s . i o / t o k e n   d a t a :   a u t h - e x t r a - g r o u p s :   c 3 l z d G V t O m J v b 3 R z d H J h c H B l c n M 6 a 3 V i Z W F k b T p k Z W Z h d W x 0 L W 5 v Z G U t d G 9 r Z W 4 =   e x p i r a t i o n :   M j A y M C 0 w O S 0 x M 1 Q w N D o z O T o x M F o =   t o k e n - i d :   N W V t a X R q   t o k e n - s e c r e t :   a 3 E 0 Z 2 l o d n N 6 e m d u M X A w c g = =   u s a g e - b o o t s t r a p - a u t h e n t i c a t i o n :   d H J 1 Z Q = =   u s a g e - b o o t s t r a p - s i g n i n g :   d H J 1 Z Q = =   A   b o o t s t r a p   t o k e n   S e c r e t   h a s   t h e   f o l l o w i n g   k e y s   s p e c i f i e d   u n d e r   d a t a :   t o k e n - i d :   A   r a n d o m   6   c h a r a c t e r   s t r i n g   a s   t h e   t o k e n   i d e n t i f i e r .   R e q u i r e d . t o k e n - s e c r e t :   A   r a n d o m   1 6   c h a r a c t e r   s t r i n g   a s   t h e   a c t ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_3_3741"
  },
  {
    "question": "What is Creating a Secret?",
    "answer": "T h e r e   a r e   s e v e r a l   o p t i o n s   t o   c r e a t e   a   S e c r e t :   U s e   k u b e c t l U s e   a   c o n f i g u r a t i o n   f i l e U s e   t h e   K u s t o m i z e   t o o l",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_3_3742"
  },
  {
    "question": "What is Constraints on Secret names and data?",
    "answer": "T h e   n a m e   o f   a   S e c r e t   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   Y o u   c a n   s p e c i f y   t h e   d a t a   a n d / o r   t h e   s t r i n g D a t a   f i e l d   w h e n   c r e a t i n g   a   c o n f i g u r a t i o n   f i l e   f o r   a   S e c r e t .   T h e   d a t a   a n d   t h e   s t r i n g D a t a   f i e l d s   a r e   o p t i o n a l .   T h e   v a l u e s   f o r   a l l   k e y s   i n   t h e   d a t a   f i e l d   h a v e   t o   b e   b a s e 6 4 - e n c o d e d   s t r i n g s .   I f   t h e   c o n v e r s i o n   t o   b a s e 6 4   s t r i n g   i s   n o t   d e s i r a b l e ,   y o u   c a n   c h o o s e   t o   s p e c i f y   t h e   s t r i n g D a t a   f i e l d   i n s t e a d ,   w h i c h   a c c e p t s   a r b i t r a r y   s t r i n g s   a s   v a l u e s .   T h e   k e y s   o f   d a t a   a n d   s t r i n g D a t a   m u s t   c o n s i s t   o f   a l p h a n u m e r i c   c h a r a c t e r s ,   - ,   _   o r   . .   A l l   k e y - v a l u e   p a i r s   i n   t h e   s t r i n g D a t a   f i e l d   a r e   i n t e r n a l l y   m e r g e d   i n t o   t h e   d a t a   f i e l d .   I f   a   k e y   a p p e a r s   i n   b o t h   t h e   d a t a   a n d   t h e   s t r i n g D a t a   f i e l d ,   t h e   v a l u e   s p e c i f i e d   i n   t h e   s t r i n g D a t a   f i e l d   t a k e s   p r e c e d e n c e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_4_3743"
  },
  {
    "question": "What is Size limit?",
    "answer": "I n d i v i d u a l   S e c r e t s   a r e   l i m i t e d   t o   1 M i B   i n   s i z e .   T h i s   i s   t o   d i s c o u r a g e   c r e a t i o n   o f   v e r y   l a r g e   S e c r e t s   t h a t   c o u l d   e x h a u s t   t h e   A P I   s e r v e r   a n d   k u b e l e t   m e m o r y .   H o w e v e r ,   c r e a t i o n   o f   m a n y   s m a l l e r   S e c r e t s   c o u l d   a l s o   e x h a u s t   m e m o r y .   Y o u   c a n   u s e   a   r e s o u r c e   q u o t a   t o   l i m i t   t h e   n u m b e r   o f   S e c r e t s   ( o r   o t h e r   r e s o u r c e s )   i n   a   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_4_3744"
  },
  {
    "question": "What is Editing a Secret?",
    "answer": "Y o u   c a n   e d i t   a n   e x i s t i n g   S e c r e t   u n l e s s   i t   i s   i m m u t a b l e .   T o   e d i t   a   S e c r e t ,   u s e   o n e   o f   t h e   f o l l o w i n g   m e t h o d s :   U s e   k u b e c t l U s e   a   c o n f i g u r a t i o n   f i l e   Y o u   c a n   a l s o   e d i t   t h e   d a t a   i n   a   S e c r e t   u s i n g   t h e   K u s t o m i z e   t o o l .   H o w e v e r ,   t h i s   m e t h o d   c r e a t e s   a   n e w   S e c r e t   o b j e c t   w i t h   t h e   e d i t e d   d a t a .   D e p e n d i n g   o n   h o w   y o u   c r e a t e d   t h e   S e c r e t ,   a s   w e l l   a s   h o w   t h e   S e c r e t   i s   u s e d   i n   y o u r   P o d s ,   u p d a t e s   t o   e x i s t i n g   S e c r e t   o b j e c t s   a r e   p r o p a g a t e d   a u t o m a t i c a l l y   t o   P o d s   t h a t   u s e   t h e   d a t a .   F o r   m o r e   i n f o r m a t i o n ,   r e f e r   t o   U s i n g   S e c r e t s   a s   f i l e s   f r o m   a   P o d   s e c t i o n .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_3_3745"
  },
  {
    "question": "What is Using a Secret?",
    "answer": "S e c r e t s   c a n   b e   m o u n t e d   a s   d a t a   v o l u m e s   o r   e x p o s e d   a s   e n v i r o n m e n t   v a r i a b l e s   t o   b e   u s e d   b y   a   c o n t a i n e r   i n   a   P o d .   S e c r e t s   c a n   a l s o   b e   u s e d   b y   o t h e r   p a r t s   o f   t h e   s y s t e m ,   w i t h o u t   b e i n g   d i r e c t l y   e x p o s e d   t o   t h e   P o d .   F o r   e x a m p l e ,   S e c r e t s   c a n   h o l d   c r e d e n t i a l s   t h a t   o t h e r   p a r t s   o f   t h e   s y s t e m   s h o u l d   u s e   t o   i n t e r a c t   w i t h   e x t e r n a l   s y s t e m s   o n   y o u r   b e h a l f .   S e c r e t   v o l u m e   s o u r c e s   a r e   v a l i d a t e d   t o   e n s u r e   t h a t   t h e   s p e c i f i e d   o b j e c t   r e f e r e n c e   a c t u a l l y   p o i n t s   t o   a n   o b j e c t   o f   t y p e   S e c r e t .   T h e r e f o r e ,   a   S e c r e t   n e e d s   t o   b e   c r e a t e d   b e f o r e   a n y   P o d s   t h a t   d e p e n d   o n   i t .   I f   t h e   S e c r e t   c a n n o t   b e   f e t c h e d   ( p e r h a p s   b e c a u s e   i t   d o e s   n o t   e x i s t ,   o r   d u e   t o   a   t e m p o r a r y   l a c k   o f   c o n n e c t i o n   t o   t h e   A P I   s e r v e r )   t h e   k u b e l e t   p e r i o d i c a l l y   r e t r i e s   r u n n i n g   t h a t   P o d .   T h e   k u b e l e t   a l s o   r e p o r t s   a n   E v e n t   f o r   t h a t   P o d ,   i n c l u d i n g   d e t a i l s   o f   t h e   p r o b l e m   f e t c h i n g   t h e   S e c r e t .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_3_3746"
  },
  {
    "question": "What is Optional Secrets?",
    "answer": "W h e n   y o u   r e f e r e n c e   a   S e c r e t   i n   a   P o d ,   y o u   c a n   m a r k   t h e   S e c r e t   a s   o p t i o n a l ,   s u c h   a s   i n   t h e   f o l l o w i n g   e x a m p l e .   I f   a n   o p t i o n a l   S e c r e t   d o e s n ' t   e x i s t ,   K u b e r n e t e s   i g n o r e s   i t .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   m y p o d   i m a g e :   r e d i s   v o l u m e M o u n t s :   -   n a m e :   f o o   m o u n t P a t h :   \" / e t c / f o o \"   r e a d O n l y :   t r u e   v o l u m e s :   -   n a m e :   f o o   s e c r e t :   s e c r e t N a m e :   m y s e c r e t   o p t i o n a l :   t r u e   B y   d e f a u l t ,   S e c r e t s   a r e   r e q u i r e d .   N o n e   o f   a   P o d ' s   c o n t a i n e r s   w i l l   s t a r t   u n t i l   a l l   n o n - o p t i o n a l   S e c r e t s   a r e   a v a i l a b l e .   I f   a   P o d   r e f e r e n c e s   a   s p e c i f i c   k e y   i n   a   n o n - o p t i o n a l   S e c r e t   a n d   t h a t   S e c r e t   d o e s   e x i s t ,   b u t   i s   m i s s i n g   t h e   n a m e d   k e y ,   t h e   P o d   f a i l s   d u r i n g   s t a r t u p .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_4_3747"
  },
  {
    "question": "What is Using Secrets as files from a Pod?",
    "answer": "I f   y o u   w a n t   t o   a c c e s s   d a t a   f r o m   a   S e c r e t   i n   a   P o d ,   o n e   w a y   t o   d o   t h a t   i s   t o   h a v e   K u b e r n e t e s   m a k e   t h e   v a l u e   o f   t h a t   S e c r e t   b e   a v a i l a b l e   a s   a   f i l e   i n s i d e   t h e   f i l e s y s t e m   o f   o n e   o r   m o r e   o f   t h e   P o d ' s   c o n t a i n e r s .   F o r   i n s t r u c t i o n s ,   r e f e r   t o   C r e a t e   a   P o d   t h a t   h a s   a c c e s s   t o   t h e   s e c r e t   d a t a   t h r o u g h   a   V o l u m e .   W h e n   a   v o l u m e   c o n t a i n s   d a t a   f r o m   a   S e c r e t ,   a n d   t h a t   S e c r e t   i s   u p d a t e d ,   K u b e r n e t e s   t r a c k s   t h i s   a n d   u p d a t e s   t h e   d a t a   i n   t h e   v o l u m e ,   u s i n g   a n   e v e n t u a l l y - c o n s i s t e n t   a p p r o a c h .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_3_3748"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   k u b e l e t   k e e p s   a   c a c h e   o f   t h e   c u r r e n t   k e y s   a n d   v a l u e s   f o r   t h e   S e c r e t s   t h a t   a r e   u s e d   i n   v o l u m e s   f o r   p o d s   o n   t h a t   n o d e .   Y o u   c a n   c o n f i g u r e   t h e   w a y   t h a t   t h e   k u b e l e t   d e t e c t s   c h a n g e s   f r o m   t h e   c a c h e d   v a l u e s .   T h e   c o n f i g M a p A n d S e c r e t C h a n g e D e t e c t i o n S t r a t e g y   f i e l d   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   c o n t r o l s   w h i c h   s t r a t e g y   t h e   k u b e l e t   u s e s .   T h e   d e f a u l t   s t r a t e g y   i s   W a t c h .   U p d a t e s   t o   S e c r e t s   c a n   b e   e i t h e r   p r o p a g a t e d   b y   a n   A P I   w a t c h   m e c h a n i s m   ( t h e   d e f a u l t ) ,   b a s e d   o n   a   c a c h e   w i t h   a   d e f i n e d   t i m e - t o - l i v e ,   o r   p o l l e d   f r o m   t h e   c l u s t e r   A P I   s e r v e r   o n   e a c h   k u b e l e t   s y n c h r o n i s a t i o n   l o o p .   A s   a   r e s u l t ,   t h e   t o t a l   d e l a y   f r o m   t h e   m o m e n t   w h e n   t h e   S e c r e t   i s   u p d a t e d   t o   t h e   m o m e n t   w h e n   n e w   k e y s   a r e   p r o j e c t e d   t o   t h e   P o d   c a n   b e   a s   l o n g   a s   t h e   k u b e l e t   s y n c   p e r i o d   +   c a c h e   p r o p a g a t i o n   d e l a y ,   w h e r e   t h e   c a c h e   p r o p a g a t i o n   d e l a y   d e p e n d s   o n   t h e   c h o s e n   c a c h e   t y p e   ( f o l l o w i n g   t h e   s a m e   o r d e r   l i s t e d   i n   t h e   p r e v i o u s   p a r a g r a p h ,   t h e s e   a r e :   w a t c h   p r o p a g a t i o n   d e l a y ,   t h e   c o n f i g u r e d   c a c h e   T T L ,   o r   z e r o   f o r   d i r e c t   p o l l i n g ) .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_4_3749"
  },
  {
    "question": "What is Using Secrets as environment variables?",
    "answer": "T o   u s e   a   S e c r e t   i n   a n   e n v i r o n m e n t   v a r i a b l e   i n   a   P o d :   F o r   e a c h   c o n t a i n e r   i n   y o u r   P o d   s p e c i f i c a t i o n ,   a d d   a n   e n v i r o n m e n t   v a r i a b l e   f o r   e a c h   S e c r e t   k e y   t h a t   y o u   w a n t   t o   u s e   t o   t h e   e n v [ ] . v a l u e F r o m . s e c r e t K e y R e f   f i e l d . M o d i f y   y o u r   i m a g e   a n d / o r   c o m m a n d   l i n e   s o   t h a t   t h e   p r o g r a m   l o o k s   f o r   v a l u e s   i n   t h e   s p e c i f i e d   e n v i r o n m e n t   v a r i a b l e s .   F o r   i n s t r u c t i o n s ,   r e f e r   t o   D e f i n e   c o n t a i n e r   e n v i r o n m e n t   v a r i a b l e s   u s i n g   S e c r e t   d a t a .   I t ' s   i m p o r t a n t   t o   n o t e   t h a t   t h e   r a n g e   o f   c h a r a c t e r s   a l l o w e d   f o r   e n v i r o n m e n t   v a r i a b l e   n a m e s   i n   p o d s   i s   r e s t r i c t e d .   I f   a n y   k e y s   d o   n o t   m e e t   t h e   r u l e s ,   t h o s e   k e y s   a r e   n o t   m a d e   a v a i l a b l e   t o   y o u r   c o n t a i n e r ,   t h o u g h   t h e   P o d   i s   a l l o w e d   t o   s t a r t .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_3_3750"
  },
  {
    "question": "What is Container image pull Secrets?",
    "answer": "I f   y o u   w a n t   t o   f e t c h   c o n t a i n e r   i m a g e s   f r o m   a   p r i v a t e   r e p o s i t o r y ,   y o u   n e e d   a   w a y   f o r   t h e   k u b e l e t   o n   e a c h   n o d e   t o   a u t h e n t i c a t e   t o   t h a t   r e p o s i t o r y .   Y o u   c a n   c o n f i g u r e   i m a g e   p u l l   S e c r e t s   t o   m a k e   t h i s   p o s s i b l e .   T h e s e   S e c r e t s   a r e   c o n f i g u r e d   a t   t h e   P o d   l e v e l .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_3_3751"
  },
  {
    "question": "What is Using imagePullSecrets?",
    "answer": "T h e   i m a g e P u l l S e c r e t s   f i e l d   i s   a   l i s t   o f   r e f e r e n c e s   t o   S e c r e t s   i n   t h e   s a m e   n a m e s p a c e .   Y o u   c a n   u s e   a n   i m a g e P u l l S e c r e t s   t o   p a s s   a   S e c r e t   t h a t   c o n t a i n s   a   D o c k e r   ( o r   o t h e r )   i m a g e   r e g i s t r y   p a s s w o r d   t o   t h e   k u b e l e t .   T h e   k u b e l e t   u s e s   t h i s   i n f o r m a t i o n   t o   p u l l   a   p r i v a t e   i m a g e   o n   b e h a l f   o f   y o u r   P o d .   S e e   t h e   P o d S p e c   A P I   f o r   m o r e   i n f o r m a t i o n   a b o u t   t h e   i m a g e P u l l S e c r e t s   f i e l d .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_4_3752"
  },
  {
    "question": "What is Manually specifying an imagePullSecret?",
    "answer": "Y o u   c a n   l e a r n   h o w   t o   s p e c i f y   i m a g e P u l l S e c r e t s   f r o m   t h e   c o n t a i n e r   i m a g e s   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_5_3753"
  },
  {
    "question": "What is Arranging for imagePullSecrets to be automatically attached?",
    "answer": "Y o u   c a n   m a n u a l l y   c r e a t e   i m a g e P u l l S e c r e t s ,   a n d   r e f e r e n c e   t h e s e   f r o m   a   S e r v i c e A c c o u n t .   A n y   P o d s   c r e a t e d   w i t h   t h a t   S e r v i c e A c c o u n t   o r   c r e a t e d   w i t h   t h a t   S e r v i c e A c c o u n t   b y   d e f a u l t ,   w i l l   g e t   t h e i r   i m a g e P u l l S e c r e t s   f i e l d   s e t   t o   t h a t   o f   t h e   s e r v i c e   a c c o u n t .   S e e   A d d   I m a g e P u l l S e c r e t s   t o   a   s e r v i c e   a c c o u n t   f o r   a   d e t a i l e d   e x p l a n a t i o n   o f   t h a t   p r o c e s s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_5_3754"
  },
  {
    "question": "What is Using Secrets with static Pods?",
    "answer": "Y o u   c a n n o t   u s e   C o n f i g M a p s   o r   S e c r e t s   w i t h   s t a t i c   P o d s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_3_3755"
  },
  {
    "question": "What is Immutable Secrets?",
    "answer": "K u b e r n e t e s   l e t s   y o u   m a r k   s p e c i f i c   S e c r e t s   ( a n d   C o n f i g M a p s )   a s   i m m u t a b l e .   P r e v e n t i n g   c h a n g e s   t o   t h e   d a t a   o f   a n   e x i s t i n g   S e c r e t   h a s   t h e   f o l l o w i n g   b e n e f i t s :   p r o t e c t s   y o u   f r o m   a c c i d e n t a l   ( o r   u n w a n t e d )   u p d a t e s   t h a t   c o u l d   c a u s e   a p p l i c a t i o n s   o u t a g e s ( f o r   c l u s t e r s   t h a t   e x t e n s i v e l y   u s e   S e c r e t s   -   a t   l e a s t   t e n s   o f   t h o u s a n d s   o f   u n i q u e   S e c r e t   t o   P o d   m o u n t s ) ,   s w i t c h i n g   t o   i m m u t a b l e   S e c r e t s   i m p r o v e s   t h e   p e r f o r m a n c e   o f   y o u r   c l u s t e r   b y   s i g n i f i c a n t l y   r e d u c i n g   l o a d   o n   k u b e - a p i s e r v e r .   T h e   k u b e l e t   d o e s   n o t   n e e d   t o   m a i n t a i n   a   [ w a t c h ]   o n   a n y   S e c r e t s   t h a t   a r e   m a r k e d   a s   i m m u t a b l e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_2_3756"
  },
  {
    "question": "What is Marking a Secret as immutable?",
    "answer": "Y o u   c a n   c r e a t e   a n   i m m u t a b l e   S e c r e t   b y   s e t t i n g   t h e   i m m u t a b l e   f i e l d   t o   t r u e .   F o r   e x a m p l e ,   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   . . .   d a t a :   . . .   i m m u t a b l e :   t r u e   Y o u   c a n   a l s o   u p d a t e   a n y   e x i s t i n g   m u t a b l e   S e c r e t   t o   m a k e   i t   i m m u t a b l e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_3_3757"
  },
  {
    "question": "What is Information security for Secrets?",
    "answer": "A l t h o u g h   C o n f i g M a p   a n d   S e c r e t   w o r k   s i m i l a r l y ,   K u b e r n e t e s   a p p l i e s   s o m e   a d d i t i o n a l   p r o t e c t i o n   f o r   S e c r e t   o b j e c t s .   S e c r e t s   o f t e n   h o l d   v a l u e s   t h a t   s p a n   a   s p e c t r u m   o f   i m p o r t a n c e ,   m a n y   o f   w h i c h   c a n   c a u s e   e s c a l a t i o n s   w i t h i n   K u b e r n e t e s   ( e . g .   s e r v i c e   a c c o u n t   t o k e n s )   a n d   t o   e x t e r n a l   s y s t e m s .   E v e n   i f   a n   i n d i v i d u a l   a p p   c a n   r e a s o n   a b o u t   t h e   p o w e r   o f   t h e   S e c r e t s   i t   e x p e c t s   t o   i n t e r a c t   w i t h ,   o t h e r   a p p s   w i t h i n   t h e   s a m e   n a m e s p a c e   c a n   r e n d e r   t h o s e   a s s u m p t i o n s   i n v a l i d .   A   S e c r e t   i s   o n l y   s e n t   t o   a   n o d e   i f   a   P o d   o n   t h a t   n o d e   r e q u i r e s   i t .   F o r   m o u n t i n g   S e c r e t s   i n t o   P o d s ,   t h e   k u b e l e t   s t o r e s   a   c o p y   o f   t h e   d a t a   i n t o   a   t m p f s   s o   t h a t   t h e   c o n f i d e n t i a l   d a t a   i s   n o t   w r i t t e n   t o   d u r a b l e   s t o r a g e .   O n c e   t h e   P o d   t h a t   d e p e n d s   o n   t h e   S e c r e t   i s   d e l e t e d ,   t h e   k u b e l e t   d e l e t e s   i t s   l o c a l   c o p y   o f   t h e   c o n f i d e n t i a l   d a t a   f r o m   t h e   S e c r e t .   T h e r e   m a y   b e   s e v e r a l   c o n t a i n e r s   i n   a   P o d .   B y   d e f a u l t ,   c o n t a i n e r s   y o u   d e f i n e   o n l y   h a v e   a c c e s s   t o   t h e   d e f a u l t   S e r v i c e A c c o u n t   a n d   i t s   r e l a t e d   S e c r e t .   Y o u   m u s t   e x p l i c i t l y   d e f i n e   e n v i r o n m e n t   v a r i a b l e s   o r   m a ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_2_3758"
  },
  {
    "question": "What is Configure least-privilege access to Secrets?",
    "answer": "T o   e n h a n c e   t h e   s e c u r i t y   m e a s u r e s   a r o u n d   S e c r e t s ,   u s e   s e p a r a t e   n a m e s p a c e s   t o   i s o l a t e   a c c e s s   t o   m o u n t e d   s e c r e t s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_3_3759"
  },
  {
    "question": "What is What's next?",
    "answer": "F o r   g u i d e l i n e s   t o   m a n a g e   a n d   i m p r o v e   t h e   s e c u r i t y   o f   y o u r   S e c r e t s ,   r e f e r   t o   G o o d   p r a c t i c e s   f o r   K u b e r n e t e s   S e c r e t s . L e a r n   h o w   t o   m a n a g e   S e c r e t s   u s i n g   k u b e c t l L e a r n   h o w   t o   m a n a g e   S e c r e t s   u s i n g   c o n f i g   f i l e L e a r n   h o w   t o   m a n a g e   S e c r e t s   u s i n g   k u s t o m i z e R e a d   t h e   A P I   r e f e r e n c e   f o r   S e c r e t",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/secret/",
    "id": "k8s_00213_section_2_3760"
  },
  {
    "question": "What is Virtual IPs and Service Proxies?",
    "answer": "Virtual IPs and Service ProxiesEvery node in a Kubernetes cluster runs a kube-proxy (unless you have deployed your own alternative component in place of kube-proxy).The kube-proxy component is responsible for implementing a virtual IP mechanism for Services of type other than ExternalName. Each instance of kube-proxy watches the Kubernetes control plane for the addition and removal of Service and EndpointSlice objects. For each Service, kube-proxy calls appropriate APIs (depending on the kube-proxy mode) to configure the node to capture traffic to the Service's clusterIP and port, and redirect that traffic to one of the Service's endpoints (usually a Pod, but possibly an arbitrary user-provided IP address). A control loop ensures that the rules on each node are reliably synchronized with the Service and EndpointSlice state as indicated by the API server.Virtual IP mechanism for Services, using iptables modeA question that pops up every now and then is why Kubernetes relies on proxying to forward inbound traffic to backends. What about other approaches? For example, would it be possible to configure DNS records that have multiple A values (or AAAA for IPv6), and rely on round-robin name resolution?There are a few reasons for using proxying for Services:There is a long history of DNS implementations not respecting record TTLs, and caching the results of name lookups after they should have expired.Some apps do DNS lookups only once and cache the results indefinitely.Even if apps and libraries did proper re-resolution, the low or zero TTLs on the DNS records could impose a high load on DNS that then becomes difficult to manage.Later in this page you can read about how various kube-proxy implementations work. Overall, you should note that, when running kube-proxy, kernel level rules may be modified (for example, iptables rules might get created), which won't get cleaned up, in some cases until you reboot. Thus, running kube-proxy is something that should only be done by an administrator who understands the consequences of having a low level, privileged network proxying service on a computer. Although the kube-proxy executable supports a cleanup function, this function is not an official feature and thus is only available to use as-is.Some of the details in this reference refer to an example: the backend Pods for a stateless image-processing workloads, running with three replicas. Those replicas are fungible—frontends do not care which backend they use. While the actual Pods that compose the backend set may change, the frontend clients should not need to be aware of that, nor should they need to keep track of the set of backends themselves.Proxy modesThe kube-proxy starts up in different modes, which are determined by its configuration.On Linux nodes, the available modes for kube-proxy are:iptablesA mode where the kube-proxy configures packet forwarding rules using iptables.ipvsa mode where the kube-proxy configures packet forwarding rules using ipvs.n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_qa_3761"
  },
  {
    "question": "How does Virtual IPs and Service Proxies work?",
    "answer": "Virtual IPs and Service ProxiesEvery node in a Kubernetes cluster runs a kube-proxy (unless you have deployed your own alternative component in place of kube-proxy).The kube-proxy component is responsible for implementing a virtual IP mechanism for Services of type other than ExternalName. Each instance of kube-proxy watches the Kubernetes control plane for the addition and removal of Service and EndpointSlice objects. For each Service, kube-proxy calls appropriate APIs (depending on the kube-proxy mode) to configure the node to capture traffic to the Service's clusterIP and port, and redirect that traffic to one of the Service's endpoints (usually a Pod, but possibly an arbitrary user-provided IP address). A control loop ensures that the rules on each node are reliably synchronized with the Service and EndpointSlice state as indicated by the API server.Virtual IP mechanism for Services, using iptables modeA question that pops up every now and then is why Kubernetes relies on proxying to forward inbound traffic to backends. What about other approaches? For example, would it be possible to configure DNS records that have multiple A values (or AAAA for IPv6), and rely on round-robin name resolution?There are a few reasons for using proxying for Services:There is a long history of DNS implementations not respecting record TTLs, and caching the results of name lookups after they should have expired.Some apps do DNS lookups only once and cache the results indefinitely.Even if apps and libraries did proper re-resolution, the low or zero TTLs on the DNS records could impose a high load on DNS that then becomes difficult to manage.Later in this page you can read about how various kube-proxy implementations work. Overall, you should note that, when running kube-proxy, kernel level rules may be modified (for example, iptables rules might get created), which won't get cleaned up, in some cases until you reboot. Thus, running kube-proxy is something that should only be done by an administrator who understands the consequences of having a low level, privileged network proxying service on a computer. Although the kube-proxy executable supports a cleanup function, this function is not an official feature and thus is only available to use as-is.Some of the details in this reference refer to an example: the backend Pods for a stateless image-processing workloads, running with three replicas. Those replicas are fungible—frontends do not care which backend they use. While the actual Pods that compose the backend set may change, the frontend clients should not need to be aware of that, nor should they need to keep track of the set of backends themselves.Proxy modesThe kube-proxy starts up in different modes, which are determined by its configuration.On Linux nodes, the available modes for kube-proxy are:iptablesA mode where the kube-proxy configures packet forwarding rules using iptables.ipvsa mode where the kube-proxy configures packet forwarding rules using ipvs.n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_qa_3762"
  },
  {
    "question": "When would you use Virtual IPs and Service Proxies?",
    "answer": "Virtual IPs and Service ProxiesEvery node in a Kubernetes cluster runs a kube-proxy (unless you have deployed your own alternative component in place of kube-proxy).The kube-proxy component is responsible for implementing a virtual IP mechanism for Services of type other than ExternalName. Each instance of kube-proxy watches the Kubernetes control plane for the addition and removal of Service and EndpointSlice objects. For each Service, kube-proxy calls appropriate APIs (depending on the kube-proxy mode) to configure the node to capture traffic to the Service's clusterIP and port, and redirect that traffic to one of the Service's endpoints (usually a Pod, but possibly an arbitrary user-provided IP address). A control loop ensures that the rules on each node are reliably synchronized with the Service and EndpointSlice state as indicated by the API server.Virtual IP mechanism for Services, using iptables modeA question that pops up every now and then is why Kubernetes relies on proxying to forward inbound traffic to backends. What about other approaches? For example, would it be possible to configure DNS records that have multiple A values (or AAAA for IPv6), and rely on round-robin name resolution?There are a few reasons for using proxying for Services:There is a long history of DNS implementations not respecting record TTLs, and caching the results of name lookups after they should have expired.Some apps do DNS lookups only once and cache the results indefinitely.Even if apps and libraries did proper re-resolution, the low or zero TTLs on the DNS records could impose a high load on DNS that then becomes difficult to manage.Later in this page you can read about how various kube-proxy implementations work. Overall, you should note that, when running kube-proxy, kernel level rules may be modified (for example, iptables rules might get created), which won't get cleaned up, in some cases until you reboot. Thus, running kube-proxy is something that should only be done by an administrator who understands the consequences of having a low level, privileged network proxying service on a computer. Although the kube-proxy executable supports a cleanup function, this function is not an official feature and thus is only available to use as-is.Some of the details in this reference refer to an example: the backend Pods for a stateless image-processing workloads, running with three replicas. Those replicas are fungible—frontends do not care which backend they use. While the actual Pods that compose the backend set may change, the frontend clients should not need to be aware of that, nor should they need to keep track of the set of backends themselves.Proxy modesThe kube-proxy starts up in different modes, which are determined by its configuration.On Linux nodes, the available modes for kube-proxy are:iptablesA mode where the kube-proxy configures packet forwarding rules using iptables.ipvsa mode where the kube-proxy configures packet forwarding rules using ipvs.n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_qa_3763"
  },
  {
    "question": "What are the benefits of Virtual IPs and Service Proxies?",
    "answer": "Virtual IPs and Service ProxiesEvery node in a Kubernetes cluster runs a kube-proxy (unless you have deployed your own alternative component in place of kube-proxy).The kube-proxy component is responsible for implementing a virtual IP mechanism for Services of type other than ExternalName. Each instance of kube-proxy watches the Kubernetes control plane for the addition and removal of Service and EndpointSlice objects. For each Service, kube-proxy calls appropriate APIs (depending on the kube-proxy mode) to configure the node to capture traffic to the Service's clusterIP and port, and redirect that traffic to one of the Service's endpoints (usually a Pod, but possibly an arbitrary user-provided IP address). A control loop ensures that the rules on each node are reliably synchronized with the Service and EndpointSlice state as indicated by the API server.Virtual IP mechanism for Services, using iptables modeA question that pops up every now and then is why Kubernetes relies on proxying to forward inbound traffic to backends. What about other approaches? For example, would it be possible to configure DNS records that have multiple A values (or AAAA for IPv6), and rely on round-robin name resolution?There are a few reasons for using proxying for Services:There is a long history of DNS implementations not respecting record TTLs, and caching the results of name lookups after they should have expired.Some apps do DNS lookups only once and cache the results indefinitely.Even if apps and libraries did proper re-resolution, the low or zero TTLs on the DNS records could impose a high load on DNS that then becomes difficult to manage.Later in this page you can read about how various kube-proxy implementations work. Overall, you should note that, when running kube-proxy, kernel level rules may be modified (for example, iptables rules might get created), which won't get cleaned up, in some cases until you reboot. Thus, running kube-proxy is something that should only be done by an administrator who understands the consequences of having a low level, privileged network proxying service on a computer. Although the kube-proxy executable supports a cleanup function, this function is not an official feature and thus is only available to use as-is.Some of the details in this reference refer to an example: the backend Pods for a stateless image-processing workloads, running with three replicas. Those replicas are fungible—frontends do not care which backend they use. While the actual Pods that compose the backend set may change, the frontend clients should not need to be aware of that, nor should they need to keep track of the set of backends themselves.Proxy modesThe kube-proxy starts up in different modes, which are determined by its configuration.On Linux nodes, the available modes for kube-proxy are:iptablesA mode where the kube-proxy configures packet forwarding rules using iptables.ipvsa mode where the kube-proxy configures packet forwarding rules using ipvs.n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_qa_3764"
  },
  {
    "question": "What is Virtual IPs and Service Proxies?",
    "answer": "E v e r y   n o d e   i n   a   K u b e r n e t e s   c l u s t e r   r u n s   a   k u b e - p r o x y   ( u n l e s s   y o u   h a v e   d e p l o y e d   y o u r   o w n   a l t e r n a t i v e   c o m p o n e n t   i n   p l a c e   o f   k u b e - p r o x y ) .   T h e   k u b e - p r o x y   c o m p o n e n t   i s   r e s p o n s i b l e   f o r   i m p l e m e n t i n g   a   v i r t u a l   I P   m e c h a n i s m   f o r   S e r v i c e s   o f   t y p e   o t h e r   t h a n   E x t e r n a l N a m e .   E a c h   i n s t a n c e   o f   k u b e - p r o x y   w a t c h e s   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   f o r   t h e   a d d i t i o n   a n d   r e m o v a l   o f   S e r v i c e   a n d   E n d p o i n t S l i c e   o b j e c t s .   F o r   e a c h   S e r v i c e ,   k u b e - p r o x y   c a l l s   a p p r o p r i a t e   A P I s   ( d e p e n d i n g   o n   t h e   k u b e - p r o x y   m o d e )   t o   c o n f i g u r e   t h e   n o d e   t o   c a p t u r e   t r a f f i c   t o   t h e   S e r v i c e ' s   c l u s t e r I P   a n d   p o r t ,   a n d   r e d i r e c t   t h a t   t r a f f i c   t o   o n e   o f   t h e   S e r v i c e ' s   e n d p o i n t s   ( u s u a l l y   a   P o d ,   b u t   p o s s i b l y   a n   a r b i t r a r y   u s e r - p r o v i d e d   I P   a d d r e s s ) .   A   c o n t r o l   l o o p   e n s u r e s   t h a t   t h e   r u l e s   o n   e a c h   n o d e   a r e   r e l i a b l y   s y n c h r o n i z e d   w i t h   t h e   S e r v i c e   a n d   E n d p o i n t S l i c e   s t a t e   a s   i n d i c a t e d   b y   t h e   A P I   s e r v e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_1_3765"
  },
  {
    "question": "What is Virtual IP mechanism for Services, using iptables mode?",
    "answer": "A   q u e s t i o n   t h a t   p o p s   u p   e v e r y   n o w   a n d   t h e n   i s   w h y   K u b e r n e t e s   r e l i e s   o n   p r o x y i n g   t o   f o r w a r d   i n b o u n d   t r a f f i c   t o   b a c k e n d s .   W h a t   a b o u t   o t h e r   a p p r o a c h e s ?   F o r   e x a m p l e ,   w o u l d   i t   b e   p o s s i b l e   t o   c o n f i g u r e   D N S   r e c o r d s   t h a t   h a v e   m u l t i p l e   A   v a l u e s   ( o r   A A A A   f o r   I P v 6 ) ,   a n d   r e l y   o n   r o u n d - r o b i n   n a m e   r e s o l u t i o n ?   T h e r e   a r e   a   f e w   r e a s o n s   f o r   u s i n g   p r o x y i n g   f o r   S e r v i c e s :   T h e r e   i s   a   l o n g   h i s t o r y   o f   D N S   i m p l e m e n t a t i o n s   n o t   r e s p e c t i n g   r e c o r d   T T L s ,   a n d   c a c h i n g   t h e   r e s u l t s   o f   n a m e   l o o k u p s   a f t e r   t h e y   s h o u l d   h a v e   e x p i r e d . S o m e   a p p s   d o   D N S   l o o k u p s   o n l y   o n c e   a n d   c a c h e   t h e   r e s u l t s   i n d e f i n i t e l y . E v e n   i f   a p p s   a n d   l i b r a r i e s   d i d   p r o p e r   r e - r e s o l u t i o n ,   t h e   l o w   o r   z e r o   T T L s   o n   t h e   D N S   r e c o r d s   c o u l d   i m p o s e   a   h i g h   l o a d   o n   D N S   t h a t   t h e n   b e c o m e s   d i f f i c u l t   t o   m a n a g e .   L a t e r   i n   t h i s   p a g e   y o u   c a n   r e a d   a b o u t   h o w   v a r i o u s   k u b e - p r o x y   i m p l e m e n t a t i o n s   w o r k .   O v e r a l l ,   y o u   s h o u l d   n o t e   t h a t ,   w h e n   r u n n i n g   k u b e - p r o x y ,   k e r n e l   l e v e l   r u l e s   m a y   b e   m o d i f i e d   ( f o r   e x a m p l e ,   i p t a b l e s   r u l e s   m i g h t   g e t   c r e a t e d ) ,   w h i c h   w o n ' t   g e t   c l e a n e d   u p ,   i n   s o m e   c a s e s   u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_4_3766"
  },
  {
    "question": "What is Proxy modes?",
    "answer": "T h e   k u b e - p r o x y   s t a r t s   u p   i n   d i f f e r e n t   m o d e s ,   w h i c h   a r e   d e t e r m i n e d   b y   i t s   c o n f i g u r a t i o n .   O n   L i n u x   n o d e s ,   t h e   a v a i l a b l e   m o d e s   f o r   k u b e - p r o x y   a r e :   T h e r e   i s   o n l y   o n e   m o d e   a v a i l a b l e   f o r   k u b e - p r o x y   o n   W i n d o w s :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_2_3767"
  },
  {
    "question": "What is iptables proxy mode?",
    "answer": "T h i s   p r o x y   m o d e   i s   o n l y   a v a i l a b l e   o n   L i n u x   n o d e s .   I n   t h i s   m o d e ,   k u b e - p r o x y   c o n f i g u r e s   p a c k e t   f o r w a r d i n g   r u l e s   u s i n g   t h e   i p t a b l e s   A P I   o f   t h e   k e r n e l   n e t f i l t e r   s u b s y s t e m .   F o r   e a c h   e n d p o i n t ,   i t   i n s t a l l s   i p t a b l e s   r u l e s   w h i c h ,   b y   d e f a u l t ,   s e l e c t   a   b a c k e n d   P o d   a t   r a n d o m .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_3_3768"
  },
  {
    "question": "What is Example?",
    "answer": "A s   a n   e x a m p l e ,   c o n s i d e r   t h e   i m a g e   p r o c e s s i n g   a p p l i c a t i o n   d e s c r i b e d   e a r l i e r   i n   t h e   p a g e .   W h e n   t h e   b a c k e n d   S e r v i c e   i s   c r e a t e d ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   a s s i g n s   a   v i r t u a l   I P   a d d r e s s ,   f o r   e x a m p l e   1 0 . 0 . 0 . 1 .   F o r   t h i s   e x a m p l e ,   a s s u m e   t h a t   t h e   S e r v i c e   p o r t   i s   1 2 3 4 .   A l l   o f   t h e   k u b e - p r o x y   i n s t a n c e s   i n   t h e   c l u s t e r   o b s e r v e   t h e   c r e a t i o n   o f   t h e   n e w   S e r v i c e .   W h e n   k u b e - p r o x y   o n   a   n o d e   s e e s   a   n e w   S e r v i c e ,   i t   i n s t a l l s   a   s e r i e s   o f   i p t a b l e s   r u l e s   w h i c h   r e d i r e c t   f r o m   t h e   v i r t u a l   I P   a d d r e s s   t o   m o r e   i p t a b l e s   r u l e s ,   d e f i n e d   p e r   S e r v i c e .   T h e   p e r - S e r v i c e   r u l e s   l i n k   t o   f u r t h e r   r u l e s   f o r   e a c h   b a c k e n d   e n d p o i n t ,   a n d   t h e   p e r -   e n d p o i n t   r u l e s   r e d i r e c t   t r a f f i c   ( u s i n g   d e s t i n a t i o n   N A T )   t o   t h e   b a c k e n d s .   W h e n   a   c l i e n t   c o n n e c t s   t o   t h e   S e r v i c e ' s   v i r t u a l   I P   a d d r e s s   t h e   i p t a b l e s   r u l e   k i c k s   i n .   A   b a c k e n d   i s   c h o s e n   ( e i t h e r   b a s e d   o n   s e s s i o n   a f f i n i t y   o r   r a n d o m l y )   a n d   p a c k e t s   a r e   r e d i r e c t e d   t o   t h e   b a c k e n d   w i t h o u t   r e w r i t i n g   t h e   c l i e n t   I P   a d d r e s s .   T h i s   s a m e   b a s i c   f l o w   e x e c u t e s   w h e n   t r a f f i c   c o m e s   i n   t h r o u g h   a   t y p e :   N o d e P o r t   S e r v i c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_4_3769"
  },
  {
    "question": "What is Optimizing iptables mode performance?",
    "answer": "I n   i p t a b l e s   m o d e ,   k u b e - p r o x y   c r e a t e s   a   f e w   i p t a b l e s   r u l e s   f o r   e v e r y   S e r v i c e ,   a n d   a   f e w   i p t a b l e s   r u l e s   f o r   e a c h   e n d p o i n t   I P   a d d r e s s .   I n   c l u s t e r s   w i t h   t e n s   o f   t h o u s a n d s   o f   P o d s   a n d   S e r v i c e s ,   t h i s   m e a n s   t e n s   o f   t h o u s a n d s   o f   i p t a b l e s   r u l e s ,   a n d   k u b e - p r o x y   m a y   t a k e   a   l o n g   t i m e   t o   u p d a t e   t h e   r u l e s   i n   t h e   k e r n e l   w h e n   S e r v i c e s   ( o r   t h e i r   E n d p o i n t S l i c e s )   c h a n g e .   Y o u   c a n   a d j u s t   t h e   s y n c i n g   b e h a v i o r   o f   k u b e - p r o x y   v i a   o p t i o n s   i n   t h e   i p t a b l e s   s e c t i o n   o f   t h e   k u b e - p r o x y   c o n f i g u r a t i o n   f i l e   ( w h i c h   y o u   s p e c i f y   v i a   k u b e - p r o x y   - - c o n f i g   < p a t h > ) :   . . .   i p t a b l e s :   m i n S y n c P e r i o d :   1 s   s y n c P e r i o d :   3 0 s   . . .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_4_3770"
  },
  {
    "question": "What is minSyncPeriod?",
    "answer": "T h e   m i n S y n c P e r i o d   p a r a m e t e r   s e t s   t h e   m i n i m u m   d u r a t i o n   b e t w e e n   a t t e m p t s   t o   r e s y n c h r o n i z e   i p t a b l e s   r u l e s   w i t h   t h e   k e r n e l .   I f   i t   i s   0 s ,   t h e n   k u b e - p r o x y   w i l l   a l w a y s   i m m e d i a t e l y   s y n c h r o n i z e   t h e   r u l e s   e v e r y   t i m e   a n y   S e r v i c e   o r   E n d p o i n t S l i c e   c h a n g e s .   T h i s   w o r k s   f i n e   i n   v e r y   s m a l l   c l u s t e r s ,   b u t   i t   r e s u l t s   i n   a   l o t   o f   r e d u n d a n t   w o r k   w h e n   l o t s   o f   t h i n g s   c h a n g e   i n   a   s m a l l   t i m e   p e r i o d .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   S e r v i c e   b a c k e d   b y   a   D e p l o y m e n t   w i t h   1 0 0   p o d s ,   a n d   y o u   d e l e t e   t h e   D e p l o y m e n t ,   t h e n   w i t h   m i n S y n c P e r i o d :   0 s ,   k u b e - p r o x y   w o u l d   e n d   u p   r e m o v i n g   t h e   S e r v i c e ' s   e n d p o i n t s   f r o m   t h e   i p t a b l e s   r u l e s   o n e   b y   o n e ,   r e s u l t i n g   i n   a   t o t a l   o f   1 0 0   u p d a t e s .   W i t h   a   l a r g e r   m i n S y n c P e r i o d ,   m u l t i p l e   P o d   d e l e t i o n   e v e n t s   w o u l d   g e t   a g g r e g a t e d   t o g e t h e r ,   s o   k u b e - p r o x y   m i g h t   i n s t e a d   e n d   u p   m a k i n g ,   s a y ,   5   u p d a t e s ,   e a c h   r e m o v i n g   2 0   e n d p o i n t s ,   w h i c h   w i l l   b e   m u c h   m o r e   e f f i c i e n t   i n   t e r m s   o f   C P U ,   a n d   r e s u l t   i n   t h e   f u l l   s e t   o f   c h a n g e s   b e i n g   s y n c h r o n i z e d   f a s t e r .   T h e   l a r g e r   t h e   v a l u e   o f   m i n S y n c P e r i o d ,   t h e   m o r e   w o r k   t h a t   c a n   b e   a g g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_5_3771"
  },
  {
    "question": "What is Updating legacy minSyncPeriod configuration?",
    "answer": "O l d e r   v e r s i o n s   o f   k u b e - p r o x y   u p d a t e d   a l l   t h e   r u l e s   f o r   a l l   S e r v i c e s   o n   e v e r y   s y n c ;   t h i s   l e d   t o   p e r f o r m a n c e   i s s u e s   ( u p d a t e   l a g )   i n   l a r g e   c l u s t e r s ,   a n d   t h e   r e c o m m e n d e d   s o l u t i o n   w a s   t o   s e t   a   l a r g e r   m i n S y n c P e r i o d .   S i n c e   K u b e r n e t e s   v 1 . 2 8 ,   t h e   i p t a b l e s   m o d e   o f   k u b e - p r o x y   u s e s   a   m o r e   m i n i m a l   a p p r o a c h ,   o n l y   m a k i n g   u p d a t e s   w h e r e   S e r v i c e s   o r   E n d p o i n t S l i c e s   h a v e   a c t u a l l y   c h a n g e d .   I f   y o u   w e r e   p r e v i o u s l y   o v e r r i d i n g   m i n S y n c P e r i o d ,   y o u   s h o u l d   t r y   r e m o v i n g   t h a t   o v e r r i d e   a n d   l e t t i n g   k u b e - p r o x y   u s e   t h e   d e f a u l t   v a l u e   ( 1 s )   o r   a t   l e a s t   a   s m a l l e r   v a l u e   t h a n   y o u   w e r e   u s i n g   b e f o r e   u p g r a d i n g .   I f   y o u   a r e   n o t   r u n n i n g   k u b e - p r o x y   f r o m   K u b e r n e t e s   1 . 3 4 ,   c h e c k   t h e   b e h a v i o r   a n d   a s s o c i a t e d   a d v i c e   f o r   t h e   v e r s i o n   t h a t   y o u   a r e   a c t u a l l y   r u n n i n g .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_5_3772"
  },
  {
    "question": "What is syncPeriod?",
    "answer": "T h e   s y n c P e r i o d   p a r a m e t e r   c o n t r o l s   a   h a n d f u l   o f   s y n c h r o n i z a t i o n   o p e r a t i o n s   t h a t   a r e   n o t   d i r e c t l y   r e l a t e d   t o   c h a n g e s   i n   i n d i v i d u a l   S e r v i c e s   a n d   E n d p o i n t S l i c e s .   I n   p a r t i c u l a r ,   i t   c o n t r o l s   h o w   q u i c k l y   k u b e - p r o x y   n o t i c e s   i f   a n   e x t e r n a l   c o m p o n e n t   h a s   i n t e r f e r e d   w i t h   k u b e - p r o x y ' s   i p t a b l e s   r u l e s .   I n   l a r g e   c l u s t e r s ,   k u b e - p r o x y   a l s o   o n l y   p e r f o r m s   c e r t a i n   c l e a n u p   o p e r a t i o n s   o n c e   e v e r y   s y n c P e r i o d   t o   a v o i d   u n n e c e s s a r y   w o r k .   F o r   t h e   m o s t   p a r t ,   i n c r e a s i n g   s y n c P e r i o d   i s   n o t   e x p e c t e d   t o   h a v e   m u c h   i m p a c t   o n   p e r f o r m a n c e ,   b u t   i n   t h e   p a s t ,   i t   w a s   s o m e t i m e s   u s e f u l   t o   s e t   i t   t o   a   v e r y   l a r g e   v a l u e   ( e g ,   1 h ) .   T h i s   i s   n o   l o n g e r   r e c o m m e n d e d ,   a n d   i s   l i k e l y   t o   h u r t   f u n c t i o n a l i t y   m o r e   t h a n   i t   i m p r o v e s   p e r f o r m a n c e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_5_3773"
  },
  {
    "question": "What is IPVS proxy mode?",
    "answer": "T h i s   p r o x y   m o d e   i s   o n l y   a v a i l a b l e   o n   L i n u x   n o d e s .   I n   i p v s   m o d e ,   k u b e - p r o x y   u s e s   t h e   k e r n e l   I P V S   a n d   i p t a b l e s   A P I s   t o   c r e a t e   r u l e s   t o   r e d i r e c t   t r a f f i c   f r o m   S e r v i c e   I P s   t o   e n d p o i n t   I P s .   T h e   I P V S   p r o x y   m o d e   i s   b a s e d   o n   n e t f i l t e r   h o o k   f u n c t i o n   t h a t   i s   s i m i l a r   t o   i p t a b l e s   m o d e ,   b u t   u s e s   a   h a s h   t a b l e   a s   t h e   u n d e r l y i n g   d a t a   s t r u c t u r e   a n d   w o r k s   i n   t h e   k e r n e l   s p a c e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_3_3774"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   i p v s   p r o x y   m o d e   w a s   a n   e x p e r i m e n t   i n   p r o v i d i n g   a   L i n u x   k u b e - p r o x y   b a c k e n d   w i t h   b e t t e r   r u l e - s y n c h r o n i z i n g   p e r f o r m a n c e   a n d   h i g h e r   n e t w o r k - t r a f f i c   t h r o u g h p u t   t h a n   t h e   i p t a b l e s   m o d e .   W h i l e   i t   s u c c e e d e d   i n   t h o s e   g o a l s ,   t h e   k e r n e l   I P V S   A P I   t u r n e d   o u t   t o   b e   a   b a d   m a t c h   f o r   t h e   K u b e r n e t e s   S e r v i c e s   A P I ,   a n d   t h e   i p v s   b a c k e n d   w a s   n e v e r   a b l e   t o   i m p l e m e n t   a l l   o f   t h e   e d g e   c a s e s   o f   K u b e r n e t e s   S e r v i c e   f u n c t i o n a l i t y   c o r r e c t l y .   A t   s o m e   p o i n t   i n   t h e   f u t u r e ,   i t   i s   e x p e c t e d   t o   b e   f o r m a l l y   d e p r e c a t e d   a s   a   f e a t u r e .   T h e   n f t a b l e s   p r o x y   m o d e   ( d e s c r i b e d   b e l o w )   i s   e s s e n t i a l l y   a   r e p l a c e m e n t   f o r   b o t h   t h e   i p t a b l e s   a n d   i p v s   m o d e s ,   w i t h   b e t t e r   p e r f o r m a n c e   t h a n   e i t h e r   o f   t h e m ,   a n d   i s   r e c o m m e n d e d   a s   a   r e p l a c e m e n t   f o r   i p v s .   I f   y o u   a r e   d e p l o y i n g   o n t o   L i n u x   s y s t e m s   t h a t   a r e   t o o   o l d   t o   r u n   t h e   n f t a b l e s   p r o x y   m o d e ,   y o u   s h o u l d   a l s o   c o n s i d e r   t r y i n g   t h e   i p t a b l e s   m o d e   r a t h e r   t h a n   i p v s ,   s i n c e   t h e   p e r f o r m a n c e   o f   i p t a b l e s   m o d e   h a s   i m p r o v e d   g r e a t l y   s i n c e   t h e   i p v s   m o d e   w a s   f i r s t   i n t r o d u c e d .   I P V S   p r o v i d e s   m o r e   o p t i o n s   f o r   b a l a n c i n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_4_3775"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   r u n   k u b e - p r o x y   i n   I P V S   m o d e ,   y o u   m u s t   m a k e   I P V S   a v a i l a b l e   o n   t h e   n o d e   b e f o r e   s t a r t i n g   k u b e - p r o x y .   W h e n   k u b e - p r o x y   s t a r t s   i n   I P V S   p r o x y   m o d e ,   i t   v e r i f i e s   w h e t h e r   I P V S   k e r n e l   m o d u l e s   a r e   a v a i l a b l e .   I f   t h e   I P V S   k e r n e l   m o d u l e s   a r e   n o t   d e t e c t e d ,   t h e n   k u b e - p r o x y   e x i t s   w i t h   a n   e r r o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_4_3776"
  },
  {
    "question": "What is nftables proxy mode?",
    "answer": "T h i s   p r o x y   m o d e   i s   o n l y   a v a i l a b l e   o n   L i n u x   n o d e s ,   a n d   r e q u i r e s   k e r n e l   5 . 1 3   o r   l a t e r .   I n   t h i s   m o d e ,   k u b e - p r o x y   c o n f i g u r e s   p a c k e t   f o r w a r d i n g   r u l e s   u s i n g   t h e   n f t a b l e s   A P I   o f   t h e   k e r n e l   n e t f i l t e r   s u b s y s t e m .   F o r   e a c h   e n d p o i n t ,   i t   i n s t a l l s   n f t a b l e s   r u l e s   w h i c h ,   b y   d e f a u l t ,   s e l e c t   a   b a c k e n d   P o d   a t   r a n d o m .   T h e   n f t a b l e s   A P I   i s   t h e   s u c c e s s o r   t o   t h e   i p t a b l e s   A P I   a n d   i s   d e s i g n e d   t o   p r o v i d e   b e t t e r   p e r f o r m a n c e   a n d   s c a l a b i l i t y   t h a n   i p t a b l e s .   T h e   n f t a b l e s   p r o x y   m o d e   i s   a b l e   t o   p r o c e s s   c h a n g e s   t o   s e r v i c e   e n d p o i n t s   f a s t e r   a n d   m o r e   e f f i c i e n t l y   t h a n   t h e   i p t a b l e s   m o d e ,   a n d   i s   a l s o   a b l e   t o   m o r e   e f f i c i e n t l y   p r o c e s s   p a c k e t s   i n   t h e   k e r n e l   ( t h o u g h   t h i s   o n l y   b e c o m e s   n o t i c e a b l e   i n   c l u s t e r s   w i t h   t e n s   o f   t h o u s a n d s   o f   s e r v i c e s ) .   A s   o f   K u b e r n e t e s   1 . 3 4 ,   t h e   n f t a b l e s   m o d e   i s   s t i l l   r e l a t i v e l y   n e w ,   a n d   m a y   n o t   b e   c o m p a t i b l e   w i t h   a l l   n e t w o r k   p l u g i n s ;   c o n s u l t   t h e   d o c u m e n t a t i o n   f o r   y o u r   n e t w o r k   p l u g i n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_3_3777"
  },
  {
    "question": "What is Migrating from iptables mode to nftables?",
    "answer": "U s e r s   w h o   w a n t   t o   s w i t c h   f r o m   t h e   d e f a u l t   i p t a b l e s   m o d e   t o   t h e   n f t a b l e s   m o d e   s h o u l d   b e   a w a r e   t h a t   s o m e   f e a t u r e s   w o r k   s l i g h t l y   d i f f e r e n t l y   t h e   n f t a b l e s   m o d e :   N o d e P o r t   i n t e r f a c e s :   I n   i p t a b l e s   m o d e ,   b y   d e f a u l t ,   N o d e P o r t   s e r v i c e s   a r e   r e a c h a b l e   o n   a l l   l o c a l   I P   a d d r e s s e s .   T h i s   i s   u s u a l l y   n o t   w h a t   u s e r s   w a n t ,   s o   t h e   n f t a b l e s   m o d e   d e f a u l t s   t o   - - n o d e p o r t - a d d r e s s e s   p r i m a r y ,   m e a n i n g   S e r v i c e s   u s i n g   t y p e :   N o d e P o r t   a r e   o n l y   r e a c h a b l e   o n   t h e   n o d e ' s   p r i m a r y   I P v 4   a n d / o r   I P v 6   a d d r e s s e s .   Y o u   c a n   o v e r r i d e   t h i s   b y   s p e c i f y i n g   a n   e x p l i c i t   v a l u e   f o r   t h a t   o p t i o n :   e . g . ,   - - n o d e p o r t - a d d r e s s e s   0 . 0 . 0 . 0 / 0   t o   l i s t e n   o n   a l l   ( l o c a l )   I P v 4   I P s . t y p e :   N o d e P o r t   S e r v i c e s   o n   1 2 7 . 0 . 0 . 1 :   I n   i p t a b l e s   m o d e ,   i f   t h e   - - n o d e p o r t - a d d r e s s e s   r a n g e   i n c l u d e s   1 2 7 . 0 . 0 . 1   ( a n d   t h e   o p t i o n   - - i p t a b l e s - l o c a l h o s t - n o d e p o r t s   f a l s e   o p t i o n   i s   n o t   p a s s e d ) ,   t h e n   S e r v i c e s   o f   t y p e :   N o d e P o r t   a r e   r e a c h a b l e   e v e n   o n   \" l o c a l h o s t \"   ( 1 2 7 . 0 . 0 . 1 ) .   I n   n f t a b l e s   m o d e   ( a n d   i p v s   m o d e ) ,   t h i s   w i l l   n o t   w o r k .   I f   y o u   a r e   n o t   s u r e   i f   y o u   a r e   d e p e n d i n g   o n   t h i s   f u n c t i o n a l i t y ,   y o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_4_3778"
  },
  {
    "question": "What is kernelspace proxy mode?",
    "answer": "T h i s   p r o x y   m o d e   i s   o n l y   a v a i l a b l e   o n   W i n d o w s   n o d e s .   T h e   k u b e - p r o x y   c o n f i g u r e s   p a c k e t   f i l t e r i n g   r u l e s   i n   t h e   W i n d o w s   V i r t u a l   F i l t e r i n g   P l a t f o r m   ( V F P ) ,   a n   e x t e n s i o n   t o   W i n d o w s   v S w i t c h .   T h e s e   r u l e s   p r o c e s s   e n c a p s u l a t e d   p a c k e t s   w i t h i n   t h e   n o d e - l e v e l   v i r t u a l   n e t w o r k s ,   a n d   r e w r i t e   p a c k e t s   s o   t h a t   t h e   d e s t i n a t i o n   I P   a d d r e s s   ( a n d   l a y e r   2   i n f o r m a t i o n )   i s   c o r r e c t   f o r   g e t t i n g   t h e   p a c k e t   r o u t e d   t o   t h e   c o r r e c t   d e s t i n a t i o n .   T h e   W i n d o w s   V F P   i s   a n a l o g o u s   t o   t o o l s   s u c h   a s   L i n u x   n f t a b l e s   o r   i p t a b l e s .   T h e   W i n d o w s   V F P   e x t e n d s   t h e   H y p e r - V   S w i t c h ,   w h i c h   w a s   i n i t i a l l y   i m p l e m e n t e d   t o   s u p p o r t   v i r t u a l   m a c h i n e   n e t w o r k i n g .   W h e n   a   P o d   o n   a   n o d e   s e n d s   t r a f f i c   t o   a   v i r t u a l   I P   a d d r e s s ,   a n d   t h e   k u b e - p r o x y   s e l e c t s   a   P o d   o n   a   d i f f e r e n t   n o d e   a s   t h e   l o a d   b a l a n c i n g   t a r g e t ,   t h e   k e r n e l s p a c e   p r o x y   m o d e   r e w r i t e s   t h a t   p a c k e t   t o   b e   d e s t i n e d   t o   t h e   t a r g e t   b a c k e n d   P o d .   T h e   W i n d o w s   H o s t   N e t w o r k i n g   S e r v i c e   ( H N S )   e n s u r e s   t h a t   p a c k e t   r e w r i t i n g   r u l e s   a r e   c o n f i g u r e d   s o   t h a t   t h e   r e t u r n   t r a f f i c   a p p e a r s   t o   c o m e   f r o m   t h e   v i r t u a l   I P   a d d r e s s   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_3_3779"
  },
  {
    "question": "What is Direct server return for kernelspace mode?",
    "answer": "A s   a n   a l t e r n a t i v e   t o   t h e   b a s i c   o p e r a t i o n ,   a   n o d e   t h a t   h o s t s   t h e   b a c k e n d   P o d   f o r   a   S e r v i c e   c a n   a p p l y   t h e   p a c k e t   r e w r i t i n g   d i r e c t l y ,   r a t h e r   t h a n   p l a c i n g   t h i s   b u r d e n   o n   t h e   n o d e   w h e r e   t h e   c l i e n t   P o d   i s   r u n n i n g .   T h i s   i s   c a l l e d   d i r e c t   s e r v e r   r e t u r n .   T o   u s e   t h i s ,   y o u   m u s t   r u n   k u b e - p r o x y   w i t h   t h e   - - e n a b l e - d s r   c o m m a n d   l i n e   a r g u m e n t   a n d   e n a b l e   t h e   W i n D S R   f e a t u r e   g a t e .   D i r e c t   s e r v e r   r e t u r n   a l s o   o p t i m i z e s   t h e   c a s e   f o r   P o d   r e t u r n   t r a f f i c   e v e n   w h e n   b o t h   P o d s   a r e   r u n n i n g   o n   t h e   s a m e   n o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_4_3780"
  },
  {
    "question": "What is Session affinity?",
    "answer": "I n   t h e s e   p r o x y   m o d e l s ,   t h e   t r a f f i c   b o u n d   f o r   t h e   S e r v i c e ' s   I P : P o r t   i s   p r o x i e d   t o   a n   a p p r o p r i a t e   b a c k e n d   w i t h o u t   t h e   c l i e n t s   k n o w i n g   a n y t h i n g   a b o u t   K u b e r n e t e s   o r   S e r v i c e s   o r   P o d s .   I f   y o u   w a n t   t o   m a k e   s u r e   t h a t   c o n n e c t i o n s   f r o m   a   p a r t i c u l a r   c l i e n t   a r e   p a s s e d   t o   t h e   s a m e   P o d   e a c h   t i m e ,   y o u   c a n   s e l e c t   t h e   s e s s i o n   a f f i n i t y   b a s e d   o n   t h e   c l i e n t ' s   I P   a d d r e s s e s   b y   s e t t i n g   . s p e c . s e s s i o n A f f i n i t y   t o   C l i e n t I P   f o r   a   S e r v i c e   ( t h e   d e f a u l t   i s   N o n e ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_2_3781"
  },
  {
    "question": "What is Session stickiness timeout?",
    "answer": "Y o u   c a n   a l s o   s e t   t h e   m a x i m u m   s e s s i o n   s t i c k y   t i m e   b y   s e t t i n g   . s p e c . s e s s i o n A f f i n i t y C o n f i g . c l i e n t I P . t i m e o u t S e c o n d s   a p p r o p r i a t e l y   f o r   a   S e r v i c e .   ( t h e   d e f a u l t   v a l u e   i s   1 0 8 0 0 ,   w h i c h   w o r k s   o u t   t o   b e   3   h o u r s ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_3_3782"
  },
  {
    "question": "What is IP address assignment to Services?",
    "answer": "U n l i k e   P o d   I P   a d d r e s s e s ,   w h i c h   a c t u a l l y   r o u t e   t o   a   f i x e d   d e s t i n a t i o n ,   S e r v i c e   I P s   a r e   n o t   a c t u a l l y   a n s w e r e d   b y   a   s i n g l e   h o s t .   I n s t e a d ,   k u b e - p r o x y   u s e s   p a c k e t   p r o c e s s i n g   l o g i c   ( s u c h   a s   L i n u x   i p t a b l e s )   t o   d e f i n e   v i r t u a l   I P   a d d r e s s e s   w h i c h   a r e   t r a n s p a r e n t l y   r e d i r e c t e d   a s   n e e d e d .   W h e n   c l i e n t s   c o n n e c t   t o   t h e   V I P ,   t h e i r   t r a f f i c   i s   a u t o m a t i c a l l y   t r a n s p o r t e d   t o   a n   a p p r o p r i a t e   e n d p o i n t .   T h e   e n v i r o n m e n t   v a r i a b l e s   a n d   D N S   f o r   S e r v i c e s   a r e   a c t u a l l y   p o p u l a t e d   i n   t e r m s   o f   t h e   S e r v i c e ' s   v i r t u a l   I P   a d d r e s s   ( a n d   p o r t ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_2_3783"
  },
  {
    "question": "What is Avoiding collisions?",
    "answer": "O n e   o f   t h e   p r i m a r y   p h i l o s o p h i e s   o f   K u b e r n e t e s   i s   t h a t   y o u   s h o u l d   n o t   b e   e x p o s e d   t o   s i t u a t i o n s   t h a t   c o u l d   c a u s e   y o u r   a c t i o n s   t o   f a i l   t h r o u g h   n o   f a u l t   o f   y o u r   o w n .   F o r   t h e   d e s i g n   o f   t h e   S e r v i c e   r e s o u r c e ,   t h i s   m e a n s   n o t   m a k i n g   y o u   c h o o s e   y o u r   o w n   I P   a d d r e s s   i f   t h a t   c h o i c e   m i g h t   c o l l i d e   w i t h   s o m e o n e   e l s e ' s   c h o i c e .   T h a t   i s   a n   i s o l a t i o n   f a i l u r e .   I n   o r d e r   t o   a l l o w   y o u   t o   c h o o s e   a n   I P   a d d r e s s   f o r   y o u r   S e r v i c e s ,   w e   m u s t   e n s u r e   t h a t   n o   t w o   S e r v i c e s   c a n   c o l l i d e .   K u b e r n e t e s   d o e s   t h a t   b y   a l l o c a t i n g   e a c h   S e r v i c e   i t s   o w n   I P   a d d r e s s   f r o m   w i t h i n   t h e   s e r v i c e - c l u s t e r - i p - r a n g e   C I D R   r a n g e   t h a t   i s   c o n f i g u r e d   f o r   t h e   A P I   S e r v e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_3_3784"
  },
  {
    "question": "What is IP address allocation tracking?",
    "answer": "T o   e n s u r e   e a c h   S e r v i c e   r e c e i v e s   a   u n i q u e   I P   a d d r e s s ,   a n   i n t e r n a l   a l l o c a t o r   a t o m i c a l l y   u p d a t e s   a   g l o b a l   a l l o c a t i o n   m a p   i n   e t c d   p r i o r   t o   c r e a t i n g   e a c h   S e r v i c e .   T h e   m a p   o b j e c t   m u s t   e x i s t   i n   t h e   r e g i s t r y   f o r   S e r v i c e s   t o   g e t   I P   a d d r e s s   a s s i g n m e n t s ,   o t h e r w i s e   c r e a t i o n s   w i l l   f a i l   w i t h   a   m e s s a g e   i n d i c a t i n g   a n   I P   a d d r e s s   c o u l d   n o t   b e   a l l o c a t e d .   I n   t h e   c o n t r o l   p l a n e ,   a   b a c k g r o u n d   c o n t r o l l e r   i s   r e s p o n s i b l e   f o r   c r e a t i n g   t h a t   m a p   ( n e e d e d   t o   s u p p o r t   m i g r a t i n g   f r o m   o l d e r   v e r s i o n s   o f   K u b e r n e t e s   t h a t   u s e d   i n - m e m o r y   l o c k i n g ) .   K u b e r n e t e s   a l s o   u s e s   c o n t r o l l e r s   t o   c h e c k   f o r   i n v a l i d   a s s i g n m e n t s   ( f o r   e x a m p l e :   d u e   t o   a d m i n i s t r a t o r   i n t e r v e n t i o n )   a n d   f o r   c l e a n i n g   u p   a l l o c a t e d   I P   a d d r e s s e s   t h a t   a r e   n o   l o n g e r   u s e d   b y   a n y   S e r v i c e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_3_3785"
  },
  {
    "question": "What is IP address allocation tracking using the Kubernetes API?",
    "answer": "T h e   c o n t r o l   p l a n e   r e p l a c e s   t h e   e x i s t i n g   e t c d   a l l o c a t o r   w i t h   a   r e v i s e d   i m p l e m e n t a t i o n   t h a t   u s e s   I P A d d r e s s   a n d   S e r v i c e C I D R   o b j e c t s   i n s t e a d   o f   a n   i n t e r n a l   g l o b a l   a l l o c a t i o n   m a p .   E a c h   c l u s t e r   I P   a d d r e s s   a s s o c i a t e d   t o   a   S e r v i c e   t h e n   r e f e r e n c e s   a n   I P A d d r e s s   o b j e c t .   E n a b l i n g   t h e   f e a t u r e   g a t e   a l s o   r e p l a c e s   a   b a c k g r o u n d   c o n t r o l l e r   w i t h   a n   a l t e r n a t i v e   t h a t   h a n d l e s   t h e   I P A d d r e s s   o b j e c t s   a n d   s u p p o r t s   m i g r a t i o n   f r o m   t h e   o l d   a l l o c a t o r   m o d e l .   K u b e r n e t e s   1 . 3 4   d o e s   n o t   s u p p o r t   m i g r a t i n g   f r o m   I P A d d r e s s   o b j e c t s   t o   t h e   i n t e r n a l   a l l o c a t i o n   m a p .   O n e   o f   t h e   m a i n   b e n e f i t s   o f   t h e   r e v i s e d   a l l o c a t o r   i s   t h a t   i t   r e m o v e s   t h e   s i z e   l i m i t a t i o n s   f o r   t h e   I P   a d d r e s s   r a n g e   t h a t   c a n   b e   u s e d   f o r   t h e   c l u s t e r   I P   a d d r e s s   o f   S e r v i c e s .   W i t h   M u l t i C I D R S e r v i c e A l l o c a t o r   e n a b l e d ,   t h e r e   a r e   n o   l i m i t a t i o n s   f o r   I P v 4 ,   a n d   f o r   I P v 6   y o u   c a n   u s e   I P   a d d r e s s   n e t m a s k s   t h a t   a r e   a   / 6 4   o r   s m a l l e r   ( a s   o p p o s e d   t o   / 1 0 8   w i t h   t h e   l e g a c y   i m p l e m e n t a t i o n ) .   M a k i n g   I P   a d d r e s s   a l l o c a t i o n s   a v a i l a b l e   v i a   t h e   A P I   m e a n s   t h a t   y o u   a s   a   c l u s t e r   a d m i n i s t r a t o r   c a n   a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_4_3786"
  },
  {
    "question": "What is IP address ranges for Service virtual IP addresses?",
    "answer": "K u b e r n e t e s   d i v i d e s   t h e   C l u s t e r I P   r a n g e   i n t o   t w o   b a n d s ,   b a s e d   o n   t h e   s i z e   o f   t h e   c o n f i g u r e d   s e r v i c e - c l u s t e r - i p - r a n g e   b y   u s i n g   t h e   f o l l o w i n g   f o r m u l a   m i n ( m a x ( 1 6 ,   c i d r S i z e   /   1 6 ) ,   2 5 6 ) .   T h a t   f o r m u l a   m e a n s   t h e   r e s u l t   i s   n e v e r   l e s s   t h a n   1 6   o r   m o r e   t h a n   2 5 6 ,   w i t h   a   g r a d u a t e d   s t e p   f u n c t i o n   b e t w e e n   t h e m .   K u b e r n e t e s   p r e f e r s   t o   a l l o c a t e   d y n a m i c   I P   a d d r e s s e s   t o   S e r v i c e s   b y   c h o o s i n g   f r o m   t h e   u p p e r   b a n d ,   w h i c h   m e a n s   t h a t   i f   y o u   w a n t   t o   a s s i g n   a   s p e c i f i c   I P   a d d r e s s   t o   a   t y p e :   C l u s t e r I P   S e r v i c e ,   y o u   s h o u l d   m a n u a l l y   a s s i g n   a n   I P   a d d r e s s   f r o m   t h e   l o w e r   b a n d .   T h a t   a p p r o a c h   r e d u c e s   t h e   r i s k   o f   a   c o n f l i c t   o v e r   a l l o c a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_3_3787"
  },
  {
    "question": "What is Traffic policies?",
    "answer": "Y o u   c a n   s e t   t h e   . s p e c . i n t e r n a l T r a f f i c P o l i c y   a n d   . s p e c . e x t e r n a l T r a f f i c P o l i c y   f i e l d s   t o   c o n t r o l   h o w   K u b e r n e t e s   r o u t e s   t r a f f i c   t o   h e a l t h y   ( “ r e a d y ” )   b a c k e n d s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_2_3788"
  },
  {
    "question": "What is Internal traffic policy?",
    "answer": "Y o u   c a n   s e t   t h e   . s p e c . i n t e r n a l T r a f f i c P o l i c y   f i e l d   t o   c o n t r o l   h o w   t r a f f i c   f r o m   i n t e r n a l   s o u r c e s   i s   r o u t e d .   V a l i d   v a l u e s   a r e   C l u s t e r   a n d   L o c a l .   S e t   t h e   f i e l d   t o   C l u s t e r   t o   r o u t e   i n t e r n a l   t r a f f i c   t o   a l l   r e a d y   e n d p o i n t s   a n d   L o c a l   t o   o n l y   r o u t e   t o   r e a d y   n o d e - l o c a l   e n d p o i n t s .   I f   t h e   t r a f f i c   p o l i c y   i s   L o c a l   a n d   t h e r e   a r e   n o   n o d e - l o c a l   e n d p o i n t s ,   t r a f f i c   i s   d r o p p e d   b y   k u b e - p r o x y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_3_3789"
  },
  {
    "question": "What is External traffic policy?",
    "answer": "Y o u   c a n   s e t   t h e   . s p e c . e x t e r n a l T r a f f i c P o l i c y   f i e l d   t o   c o n t r o l   h o w   t r a f f i c   f r o m   e x t e r n a l   s o u r c e s   i s   r o u t e d .   V a l i d   v a l u e s   a r e   C l u s t e r   a n d   L o c a l .   S e t   t h e   f i e l d   t o   C l u s t e r   t o   r o u t e   e x t e r n a l   t r a f f i c   t o   a l l   r e a d y   e n d p o i n t s   a n d   L o c a l   t o   o n l y   r o u t e   t o   r e a d y   n o d e - l o c a l   e n d p o i n t s .   I f   t h e   t r a f f i c   p o l i c y   i s   L o c a l   a n d   t h e r e   a r e   n o   n o d e - l o c a l   e n d p o i n t s ,   t h e   k u b e - p r o x y   d o e s   n o t   f o r w a r d   a n y   t r a f f i c   f o r   t h e   r e l e v a n t   S e r v i c e .   I f   C l u s t e r   i s   s p e c i f i e d ,   a l l   n o d e s   a r e   e l i g i b l e   l o a d   b a l a n c i n g   t a r g e t s   a s   l o n g   a s   t h e   n o d e   i s   n o t   b e i n g   d e l e t e d   a n d   k u b e - p r o x y   i s   h e a l t h y .   I n   t h i s   m o d e :   l o a d   b a l a n c e r   h e a l t h   c h e c k s   a r e   c o n f i g u r e d   t o   t a r g e t   t h e   s e r v i c e   p r o x y ' s   r e a d i n e s s   p o r t   a n d   p a t h .   I n   t h e   c a s e   o f   k u b e - p r o x y   t h i s   e v a l u a t e s   t o :   $ { N O D E _ I P } : 1 0 2 5 6 / h e a l t h z .   k u b e - p r o x y   w i l l   r e t u r n   e i t h e r   a n   H T T P   c o d e   2 0 0   o r   5 0 3 .   k u b e - p r o x y ' s   l o a d   b a l a n c e r   h e a l t h   c h e c k   e n d p o i n t   r e t u r n s   2 0 0   i f :   k u b e - p r o x y   i s   h e a l t h y ,   m e a n i n g : i t ' s   a b l e   t o   p r o g r e s s   p r o g r a m m i n g   t h e   n e t w o r k   a n d   i s n ' t   t i m i n g   o u t   w h i l e   d o i n g   s o   ( t h e   t i m e o u t   i s   d e f i n e d   t o   b e :   2   × ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_3_3790"
  },
  {
    "question": "What is Traffic to terminating endpoints?",
    "answer": "I f   t h e   P r o x y T e r m i n a t i n g E n d p o i n t s   f e a t u r e   g a t e   i s   e n a b l e d   i n   k u b e - p r o x y   a n d   t h e   t r a f f i c   p o l i c y   i s   L o c a l ,   t h a t   n o d e ' s   k u b e - p r o x y   u s e s   a   m o r e   c o m p l i c a t e d   a l g o r i t h m   t o   s e l e c t   e n d p o i n t s   f o r   a   S e r v i c e .   W i t h   t h e   f e a t u r e   e n a b l e d ,   k u b e - p r o x y   c h e c k s   i f   t h e   n o d e   h a s   l o c a l   e n d p o i n t s   a n d   w h e t h e r   o r   n o t   a l l   t h e   l o c a l   e n d p o i n t s   a r e   m a r k e d   a s   t e r m i n a t i n g .   I f   t h e r e   a r e   l o c a l   e n d p o i n t s   a n d   a l l   o f   t h e m   a r e   t e r m i n a t i n g ,   t h e n   k u b e - p r o x y   w i l l   f o r w a r d   t r a f f i c   t o   t h o s e   t e r m i n a t i n g   e n d p o i n t s .   O t h e r w i s e ,   k u b e - p r o x y   w i l l   a l w a y s   p r e f e r   f o r w a r d i n g   t r a f f i c   t o   e n d p o i n t s   t h a t   a r e   n o t   t e r m i n a t i n g .   T h i s   f o r w a r d i n g   b e h a v i o r   f o r   t e r m i n a t i n g   e n d p o i n t s   e x i s t s   t o   a l l o w   N o d e P o r t   a n d   L o a d B a l a n c e r   S e r v i c e s   t o   g r a c e f u l l y   d r a i n   c o n n e c t i o n s   w h e n   u s i n g   e x t e r n a l T r a f f i c P o l i c y :   L o c a l .   A s   a   d e p l o y m e n t   g o e s   t h r o u g h   a   r o l l i n g   u p d a t e ,   n o d e s   b a c k i n g   a   l o a d   b a l a n c e r   m a y   t r a n s i t i o n   f r o m   N   t o   0   r e p l i c a s   o f   t h a t   d e p l o y m e n t .   I n   s o m e   c a s e s ,   e x t e r n a l   l o a d   b a l a n c e r s   c a n   s e n d   t r a f f i c   t o   a   n o d e   w i t h   0   r e p l i c a s   i n   b e t w e e n   h e a l t h   c h e c k   p r o b e s .   R o u t i n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_3_3791"
  },
  {
    "question": "What is Traffic Distribution?",
    "answer": "T h e   s p e c . t r a f f i c D i s t r i b u t i o n   f i e l d   w i t h i n   a   K u b e r n e t e s   S e r v i c e   a l l o w s   y o u   t o   e x p r e s s   p r e f e r e n c e s   f o r   h o w   t r a f f i c   s h o u l d   b e   r o u t e d   t o   S e r v i c e   e n d p o i n t s .   I n   K u b e r n e t e s   1 . 3 4 ,   t w o   a d d i t i o n a l   v a l u e s   a r e   a v a i l a b l e   ( u n l e s s   t h e   P r e f e r S a m e T r a f f i c D i s t r i b u t i o n   f e a t u r e   g a t e   i s   d i s a b l e d ) :   I n   t h e   a b s e n c e   o f   a n y   v a l u e   f o r   t r a f f i c D i s t r i b u t i o n ,   t h e   d e f a u l t   s t r a t e g y   i s   t o   d i s t r i b u t e   t r a f f i c   e v e n l y   t o   a l l   e n d p o i n t s   i n   t h e   c l u s t e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_2_3792"
  },
  {
    "question": "What is Comparison with service.kubernetes.io/topology-mode: Auto?",
    "answer": "T h e   t r a f f i c D i s t r i b u t i o n   f i e l d   w i t h   P r e f e r C l o s e / P r e f e r S a m e Z o n e ,   a n d   t h e   o l d e r   \" T o p o l o g y - A w a r e   R o u t i n g \"   f e a t u r e   u s i n g   t h e   s e r v i c e . k u b e r n e t e s . i o / t o p o l o g y - m o d e :   A u t o   a n n o t a t i o n   b o t h   a i m   t o   p r i o r i t i z e   s a m e - z o n e   t r a f f i c .   H o w e v e r ,   t h e r e   i s   a   k e y   d i f f e r e n c e   i n   t h e i r   a p p r o a c h e s :   s e r v i c e . k u b e r n e t e s . i o / t o p o l o g y - m o d e :   A u t o   a t t e m p t s   t o   d i s t r i b u t e   t r a f f i c   p r o p o r t i o n a l l y   a c r o s s   z o n e s   b a s e d   o n   a l l o c a t a b l e   C P U   r e s o u r c e s .   T h i s   h e u r i s t i c   i n c l u d e s   s a f e g u a r d s   ( s u c h   a s   t h e   f a l l b a c k   b e h a v i o r   f o r   s m a l l   n u m b e r s   o f   e n d p o i n t s ) ,   s a c r i f i c i n g   s o m e   p r e d i c t a b i l i t y   i n   f a v o r   o f   p o t e n t i a l l y   b e t t e r   l o a d   b a l a n c i n g . t r a f f i c D i s t r i b u t i o n :   P r e f e r C l o s e   a i m s   t o   b e   s i m p l e r   a n d   m o r e   p r e d i c t a b l e :   \" I f   t h e r e   a r e   e n d p o i n t s   i n   t h e   z o n e ,   t h e y   w i l l   r e c e i v e   a l l   t r a f f i c   f o r   t h a t   z o n e ,   i f   t h e r e   a r e   n o   e n d p o i n t s   i n   a   z o n e ,   t h e   t r a f f i c   w i l l   b e   d i s t r i b u t e d   t o   o t h e r   z o n e s \" .   T h i s   a p p r o a c h   o f f e r s   m o r e   p r e d i c t a b i l i t y ,   b u t   i t   m e a n s   t h a t   y o u   a r e   r e s p o n s i b l e   f o r   a v o i d i n g   e n d p o i n t   o v e r l o a d .   s e r v i c e . k u b e r n e t e s . i o / t o p o l o g y - m o d e :   A u t o   a t t e m p t s   t o   d i s t r i b ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_3_3793"
  },
  {
    "question": "What is Interaction with Traffic Policies?",
    "answer": "W h e n   c o m p a r e d   t o   t h e   t r a f f i c D i s t r i b u t i o n   f i e l d ,   t h e   t r a f f i c   p o l i c y   f i e l d s   ( e x t e r n a l T r a f f i c P o l i c y   a n d   i n t e r n a l T r a f f i c P o l i c y )   a r e   m e a n t   t o   o f f e r   a   s t r i c t e r   t r a f f i c   l o c a l i t y   r e q u i r e m e n t s .   H e r e ' s   h o w   t r a f f i c D i s t r i b u t i o n   i n t e r a c t s   w i t h   t h e m :   P r e c e d e n c e   o f   T r a f f i c   P o l i c i e s :   F o r   a   g i v e n   S e r v i c e ,   i f   a   t r a f f i c   p o l i c y   ( e x t e r n a l T r a f f i c P o l i c y   o r   i n t e r n a l T r a f f i c P o l i c y )   i s   s e t   t o   L o c a l ,   i t   t a k e s   p r e c e d e n c e   o v e r   t r a f f i c D i s t r i b u t i o n   f o r   t h e   c o r r e s p o n d i n g   t r a f f i c   t y p e   ( e x t e r n a l   o r   i n t e r n a l ,   r e s p e c t i v e l y ) . t r a f f i c D i s t r i b u t i o n   I n f l u e n c e :   F o r   a   g i v e n   S e r v i c e ,   i f   a   t r a f f i c   p o l i c y   ( e x t e r n a l T r a f f i c P o l i c y   o r   i n t e r n a l T r a f f i c P o l i c y )   i s   s e t   t o   C l u s t e r   ( t h e   d e f a u l t ) ,   o r   i f   t h e   f i e l d s   a r e   n o t   s e t ,   t h e n   t r a f f i c D i s t r i b u t i o n   g u i d e s   t h e   r o u t i n g   b e h a v i o r   f o r   t h e   c o r r e s p o n d i n g   t r a f f i c   t y p e   ( e x t e r n a l   o r   i n t e r n a l ,   r e s p e c t i v e l y ) .   T h i s   m e a n s   t h a t   a n   a t t e m p t   w i l l   b e   m a d e   t o   r o u t e   t r a f f i c   t o   a n   e n d p o i n t   t h a t   i s   i n   t h e   s a m e   z o n e   a s   t h e   c l i e n t .   P r e c e d e n c e   o f   T r a f f i c   P o l i c i e s :   F o r   a   g i v e n   S e r v i c e ,   i f   a   t r a f f i c   p o l i c y   ( e x t e r n a l T r a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_3_3794"
  },
  {
    "question": "What is Considerations for using traffic distribution control?",
    "answer": "A   S e r v i c e   u s i n g   t r a f f i c D i s t r i b u t i o n   w i l l   a t t e m p t   t o   r o u t e   t r a f f i c   t o   ( h e a l t h y )   e n d p o i n t s   w i t h i n   t h e   a p p r o p r i a t e   t o p o l o g y ,   e v e n   i f   t h i s   m e a n s   t h a t   s o m e   e n d p o i n t s   r e c e i v e   m u c h   m o r e   t r a f f i c   t h a n   o t h e r   e n d p o i n t s .   I f   y o u   d o   n o t   h a v e   a   s u f f i c i e n t   n u m b e r   o f   e n d p o i n t s   w i t h i n   t h e   s a m e   t o p o l o g y   ( \" s a m e   z o n e \" ,   \" s a m e   n o d e \" ,   e t c . )   a s   t h e   c l i e n t s ,   t h e n   e n d p o i n t s   m a y   b e c o m e   o v e r l o a d e d .   T h i s   i s   e s p e c i a l l y   l i k e l y   i f   i n c o m i n g   t r a f f i c   i s   n o t   p r o p o r t i o n a l l y   d i s t r i b u t e d   a c r o s s   t h e   t o p o l o g y .   T o   m i t i g a t e   t h i s ,   c o n s i d e r   t h e   f o l l o w i n g   s t r a t e g i e s :   P o d   T o p o l o g y   S p r e a d   C o n s t r a i n t s :   U s e   P o d   T o p o l o g y   S p r e a d   C o n s t r a i n t s   t o   d i s t r i b u t e   y o u r   p o d s   e v e n l y   a c r o s s   z o n e s   o r   n o d e s . Z o n e - s p e c i f i c   D e p l o y m e n t s :   I f   y o u   a r e   u s i n g   \" s a m e   z o n e \"   t r a f f i c   d i s t r i b u t i o n ,   b u t   e x p e c t   t o   s e e   d i f f e r e n t   t r a f f i c   p a t t e r n s   i n   d i f f e r e n t   z o n e s ,   y o u   c a n   c r e a t e   a   s e p a r a t e   D e p l o y m e n t   f o r   e a c h   z o n e .   T h i s   a p p r o a c h   a l l o w s   t h e   s e p a r a t e   w o r k l o a d s   t o   s c a l e   i n d e p e n d e n t l y .   T h e r e   a r e   a l s o   w o r k l o a d   m a n a g e m e n t   a d d o n s   a v a i l a b l e   f r o m   t h e   e c o s y s t e m ,   o u t s i d e   t h e   K u b e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_3_3795"
  },
  {
    "question": "What is What's next?",
    "answer": "T o   l e a r n   m o r e   a b o u t   S e r v i c e s ,   r e a d   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s .   Y o u   c a n   a l s o :   R e a d   a b o u t   S e r v i c e s   a s   a   c o n c e p t R e a d   a b o u t   I n g r e s s e s   a s   a   c o n c e p t R e a d   t h e   A P I   r e f e r e n c e   f o r   t h e   S e r v i c e   A P I",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/networking/virtual-ips/",
    "id": "k8s_00214_section_2_3796"
  },
  {
    "question": "What is Common Expression Language in Kubernetes?",
    "answer": "Common Expression Language in KubernetesThe Common Expression Language (CEL) is used in the Kubernetes API to declare validation rules, policy rules, and other constraints or conditions.CEL expressions are evaluated directly in the API server, making CEL a convenient alternative to out-of-process mechanisms, such as webhooks, for many extensibility use cases. Your CEL expressions continue to execute so long as the control plane's API server component remains available.Language overviewThe CEL language has a straightforward syntax that is similar to the expressions in C, C++, Java, JavaScript and Go.CEL was designed to be embedded into applications. Each CEL \"program\" is a single expression that evaluates to a single value. CEL expressions are typically short \"one-liners\" that inline well into the string fields of Kubernetes API resources.Inputs to a CEL program are \"variables\". Each Kubernetes API field that contains CEL declares in the API documentation which variables are available to use for that field. For example, in the x-kubernetes-validations[i].rules field of CustomResourceDefinitions, the self and oldSelf variables are available and refer to the previous and current state of the custom resource data to be validated by the CEL expression. Other Kubernetes API fields may declare different variables. See the API documentation of the API fields to learn which variables are available for that field.Example CEL expressions:Examples of CEL expressions and the purpose of eachRulePurposeself.minReplicas <= self.replicas && self.replicas <= self.maxReplicasValidate that the three fields defining replicas are ordered appropriately'Available' in self.stateCountsValidate that an entry with the 'Available' key exists in a map(self.list1.size() == 0) != (self.list2.size() == 0)Validate that one of two lists is non-empty, but not bothself.envars.filter(e, e.name = 'MY_ENV').all(e, e.value.matches('^[a-zA-Z]*$'))Validate the 'value' field of a listMap entry where key field 'name' is 'MY_ENV'has(self.expired) && self.created + self.ttl < self.expiredValidate that 'expired' date is after a 'create' date plus a 'ttl' durationself.health.startsWith('ok')Validate a 'health' string field has the prefix 'ok'self.widgets.exists(w, w.key == 'x' && w.foo < 10)Validate that the 'foo' property of a listMap item with a key 'x' is less than 10type(self) == string ? self == '99%' : self == 42Validate an int-or-string field for both the int and string casesself.metadata.name == 'singleton'Validate that an object's name matches a specific value (making it a singleton)self.set1.all(e, !(e in self.set2))Validate that two listSets are disjointself.names.size() == self.details.size() && self.names.all(n, n in self.details)Validate the 'details' map is keyed by the items in the 'names' listSetself.details.all(key, key.matches('^[a-zA-Z]*$'))Validate the keys of the 'details' mapself.details.all(key, self.details[key].matches('^[a-zA-Z]*$'))Validate the values of the 'details",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/cel/",
    "id": "k8s_00215_qa_3797"
  },
  {
    "question": "How does Common Expression Language in Kubernetes work?",
    "answer": "Common Expression Language in KubernetesThe Common Expression Language (CEL) is used in the Kubernetes API to declare validation rules, policy rules, and other constraints or conditions.CEL expressions are evaluated directly in the API server, making CEL a convenient alternative to out-of-process mechanisms, such as webhooks, for many extensibility use cases. Your CEL expressions continue to execute so long as the control plane's API server component remains available.Language overviewThe CEL language has a straightforward syntax that is similar to the expressions in C, C++, Java, JavaScript and Go.CEL was designed to be embedded into applications. Each CEL \"program\" is a single expression that evaluates to a single value. CEL expressions are typically short \"one-liners\" that inline well into the string fields of Kubernetes API resources.Inputs to a CEL program are \"variables\". Each Kubernetes API field that contains CEL declares in the API documentation which variables are available to use for that field. For example, in the x-kubernetes-validations[i].rules field of CustomResourceDefinitions, the self and oldSelf variables are available and refer to the previous and current state of the custom resource data to be validated by the CEL expression. Other Kubernetes API fields may declare different variables. See the API documentation of the API fields to learn which variables are available for that field.Example CEL expressions:Examples of CEL expressions and the purpose of eachRulePurposeself.minReplicas <= self.replicas && self.replicas <= self.maxReplicasValidate that the three fields defining replicas are ordered appropriately'Available' in self.stateCountsValidate that an entry with the 'Available' key exists in a map(self.list1.size() == 0) != (self.list2.size() == 0)Validate that one of two lists is non-empty, but not bothself.envars.filter(e, e.name = 'MY_ENV').all(e, e.value.matches('^[a-zA-Z]*$'))Validate the 'value' field of a listMap entry where key field 'name' is 'MY_ENV'has(self.expired) && self.created + self.ttl < self.expiredValidate that 'expired' date is after a 'create' date plus a 'ttl' durationself.health.startsWith('ok')Validate a 'health' string field has the prefix 'ok'self.widgets.exists(w, w.key == 'x' && w.foo < 10)Validate that the 'foo' property of a listMap item with a key 'x' is less than 10type(self) == string ? self == '99%' : self == 42Validate an int-or-string field for both the int and string casesself.metadata.name == 'singleton'Validate that an object's name matches a specific value (making it a singleton)self.set1.all(e, !(e in self.set2))Validate that two listSets are disjointself.names.size() == self.details.size() && self.names.all(n, n in self.details)Validate the 'details' map is keyed by the items in the 'names' listSetself.details.all(key, key.matches('^[a-zA-Z]*$'))Validate the keys of the 'details' mapself.details.all(key, self.details[key].matches('^[a-zA-Z]*$'))Validate the values of the 'details",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/cel/",
    "id": "k8s_00215_qa_3798"
  },
  {
    "question": "When would you use Common Expression Language in Kubernetes?",
    "answer": "Common Expression Language in KubernetesThe Common Expression Language (CEL) is used in the Kubernetes API to declare validation rules, policy rules, and other constraints or conditions.CEL expressions are evaluated directly in the API server, making CEL a convenient alternative to out-of-process mechanisms, such as webhooks, for many extensibility use cases. Your CEL expressions continue to execute so long as the control plane's API server component remains available.Language overviewThe CEL language has a straightforward syntax that is similar to the expressions in C, C++, Java, JavaScript and Go.CEL was designed to be embedded into applications. Each CEL \"program\" is a single expression that evaluates to a single value. CEL expressions are typically short \"one-liners\" that inline well into the string fields of Kubernetes API resources.Inputs to a CEL program are \"variables\". Each Kubernetes API field that contains CEL declares in the API documentation which variables are available to use for that field. For example, in the x-kubernetes-validations[i].rules field of CustomResourceDefinitions, the self and oldSelf variables are available and refer to the previous and current state of the custom resource data to be validated by the CEL expression. Other Kubernetes API fields may declare different variables. See the API documentation of the API fields to learn which variables are available for that field.Example CEL expressions:Examples of CEL expressions and the purpose of eachRulePurposeself.minReplicas <= self.replicas && self.replicas <= self.maxReplicasValidate that the three fields defining replicas are ordered appropriately'Available' in self.stateCountsValidate that an entry with the 'Available' key exists in a map(self.list1.size() == 0) != (self.list2.size() == 0)Validate that one of two lists is non-empty, but not bothself.envars.filter(e, e.name = 'MY_ENV').all(e, e.value.matches('^[a-zA-Z]*$'))Validate the 'value' field of a listMap entry where key field 'name' is 'MY_ENV'has(self.expired) && self.created + self.ttl < self.expiredValidate that 'expired' date is after a 'create' date plus a 'ttl' durationself.health.startsWith('ok')Validate a 'health' string field has the prefix 'ok'self.widgets.exists(w, w.key == 'x' && w.foo < 10)Validate that the 'foo' property of a listMap item with a key 'x' is less than 10type(self) == string ? self == '99%' : self == 42Validate an int-or-string field for both the int and string casesself.metadata.name == 'singleton'Validate that an object's name matches a specific value (making it a singleton)self.set1.all(e, !(e in self.set2))Validate that two listSets are disjointself.names.size() == self.details.size() && self.names.all(n, n in self.details)Validate the 'details' map is keyed by the items in the 'names' listSetself.details.all(key, key.matches('^[a-zA-Z]*$'))Validate the keys of the 'details' mapself.details.all(key, self.details[key].matches('^[a-zA-Z]*$'))Validate the values of the 'details",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/cel/",
    "id": "k8s_00215_qa_3799"
  },
  {
    "question": "What are the benefits of Common Expression Language in Kubernetes?",
    "answer": "Common Expression Language in KubernetesThe Common Expression Language (CEL) is used in the Kubernetes API to declare validation rules, policy rules, and other constraints or conditions.CEL expressions are evaluated directly in the API server, making CEL a convenient alternative to out-of-process mechanisms, such as webhooks, for many extensibility use cases. Your CEL expressions continue to execute so long as the control plane's API server component remains available.Language overviewThe CEL language has a straightforward syntax that is similar to the expressions in C, C++, Java, JavaScript and Go.CEL was designed to be embedded into applications. Each CEL \"program\" is a single expression that evaluates to a single value. CEL expressions are typically short \"one-liners\" that inline well into the string fields of Kubernetes API resources.Inputs to a CEL program are \"variables\". Each Kubernetes API field that contains CEL declares in the API documentation which variables are available to use for that field. For example, in the x-kubernetes-validations[i].rules field of CustomResourceDefinitions, the self and oldSelf variables are available and refer to the previous and current state of the custom resource data to be validated by the CEL expression. Other Kubernetes API fields may declare different variables. See the API documentation of the API fields to learn which variables are available for that field.Example CEL expressions:Examples of CEL expressions and the purpose of eachRulePurposeself.minReplicas <= self.replicas && self.replicas <= self.maxReplicasValidate that the three fields defining replicas are ordered appropriately'Available' in self.stateCountsValidate that an entry with the 'Available' key exists in a map(self.list1.size() == 0) != (self.list2.size() == 0)Validate that one of two lists is non-empty, but not bothself.envars.filter(e, e.name = 'MY_ENV').all(e, e.value.matches('^[a-zA-Z]*$'))Validate the 'value' field of a listMap entry where key field 'name' is 'MY_ENV'has(self.expired) && self.created + self.ttl < self.expiredValidate that 'expired' date is after a 'create' date plus a 'ttl' durationself.health.startsWith('ok')Validate a 'health' string field has the prefix 'ok'self.widgets.exists(w, w.key == 'x' && w.foo < 10)Validate that the 'foo' property of a listMap item with a key 'x' is less than 10type(self) == string ? self == '99%' : self == 42Validate an int-or-string field for both the int and string casesself.metadata.name == 'singleton'Validate that an object's name matches a specific value (making it a singleton)self.set1.all(e, !(e in self.set2))Validate that two listSets are disjointself.names.size() == self.details.size() && self.names.all(n, n in self.details)Validate the 'details' map is keyed by the items in the 'names' listSetself.details.all(key, key.matches('^[a-zA-Z]*$'))Validate the keys of the 'details' mapself.details.all(key, self.details[key].matches('^[a-zA-Z]*$'))Validate the values of the 'details",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/cel/",
    "id": "k8s_00215_qa_3800"
  },
  {
    "question": "What is Common Expression Language in Kubernetes?",
    "answer": "T h e   C o m m o n   E x p r e s s i o n   L a n g u a g e   ( C E L )   i s   u s e d   i n   t h e   K u b e r n e t e s   A P I   t o   d e c l a r e   v a l i d a t i o n   r u l e s ,   p o l i c y   r u l e s ,   a n d   o t h e r   c o n s t r a i n t s   o r   c o n d i t i o n s .   C E L   e x p r e s s i o n s   a r e   e v a l u a t e d   d i r e c t l y   i n   t h e   A P I   s e r v e r ,   m a k i n g   C E L   a   c o n v e n i e n t   a l t e r n a t i v e   t o   o u t - o f - p r o c e s s   m e c h a n i s m s ,   s u c h   a s   w e b h o o k s ,   f o r   m a n y   e x t e n s i b i l i t y   u s e   c a s e s .   Y o u r   C E L   e x p r e s s i o n s   c o n t i n u e   t o   e x e c u t e   s o   l o n g   a s   t h e   c o n t r o l   p l a n e ' s   A P I   s e r v e r   c o m p o n e n t   r e m a i n s   a v a i l a b l e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/cel/",
    "id": "k8s_00215_section_1_3801"
  },
  {
    "question": "What is Language overview?",
    "answer": "T h e   C E L   l a n g u a g e   h a s   a   s t r a i g h t f o r w a r d   s y n t a x   t h a t   i s   s i m i l a r   t o   t h e   e x p r e s s i o n s   i n   C ,   C + + ,   J a v a ,   J a v a S c r i p t   a n d   G o .   C E L   w a s   d e s i g n e d   t o   b e   e m b e d d e d   i n t o   a p p l i c a t i o n s .   E a c h   C E L   \" p r o g r a m \"   i s   a   s i n g l e   e x p r e s s i o n   t h a t   e v a l u a t e s   t o   a   s i n g l e   v a l u e .   C E L   e x p r e s s i o n s   a r e   t y p i c a l l y   s h o r t   \" o n e - l i n e r s \"   t h a t   i n l i n e   w e l l   i n t o   t h e   s t r i n g   f i e l d s   o f   K u b e r n e t e s   A P I   r e s o u r c e s .   I n p u t s   t o   a   C E L   p r o g r a m   a r e   \" v a r i a b l e s \" .   E a c h   K u b e r n e t e s   A P I   f i e l d   t h a t   c o n t a i n s   C E L   d e c l a r e s   i n   t h e   A P I   d o c u m e n t a t i o n   w h i c h   v a r i a b l e s   a r e   a v a i l a b l e   t o   u s e   f o r   t h a t   f i e l d .   F o r   e x a m p l e ,   i n   t h e   x - k u b e r n e t e s - v a l i d a t i o n s [ i ] . r u l e s   f i e l d   o f   C u s t o m R e s o u r c e D e f i n i t i o n s ,   t h e   s e l f   a n d   o l d S e l f   v a r i a b l e s   a r e   a v a i l a b l e   a n d   r e f e r   t o   t h e   p r e v i o u s   a n d   c u r r e n t   s t a t e   o f   t h e   c u s t o m   r e s o u r c e   d a t a   t o   b e   v a l i d a t e d   b y   t h e   C E L   e x p r e s s i o n .   O t h e r   K u b e r n e t e s   A P I   f i e l d s   m a y   d e c l a r e   d i f f e r e n t   v a r i a b l e s .   S e e   t h e   A P I   d o c u m e n t a t i o n   o f   t h e   A P I   f i e l d s   t o   l e a r n   w h i c h   v a r i a b l e s   a r e   a v a i l a b l e   f o r   t h a t   f i e l d .   E x a m p l e   C E L   e x p r e s s i o n s :",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/cel/",
    "id": "k8s_00215_section_2_3802"
  },
  {
    "question": "What is CEL options, language features, and libraries?",
    "answer": "C E L   i s   c o n f i g u r e d   w i t h   t h e   f o l l o w i n g   o p t i o n s ,   l i b r a r i e s   a n d   l a n g u a g e   f e a t u r e s ,   i n t r o d u c e d   a t   t h e   s p e c i f i e d   K u b e r n e t e s   v e r s i o n s :   C E L   f u n c t i o n s ,   f e a t u r e s   a n d   l a n g u a g e   s e t t i n g s   s u p p o r t   K u b e r n e t e s   c o n t r o l   p l a n e   r o l l b a c k s .   F o r   e x a m p l e ,   C E L   O p t i o n a l   V a l u e s   w a s   i n t r o d u c e d   a t   K u b e r n e t e s   1 . 2 9   a n d   s o   o n l y   A P I   s e r v e r s   a t   t h a t   v e r s i o n   o r   n e w e r   w i l l   a c c e p t   w r i t e   r e q u e s t s   t o   C E L   e x p r e s s i o n s   t h a t   u s e   C E L   O p t i o n a l   V a l u e s .   H o w e v e r ,   w h e n   a   c l u s t e r   i s   r o l l e d   b a c k   t o   K u b e r n e t e s   1 . 2 8   C E L   e x p r e s s i o n s   u s i n g   \" C E L   O p t i o n a l   V a l u e s \"   t h a t   a r e   a l r e a d y   s t o r e d   i n   A P I   r e s o u r c e s   w i l l   c o n t i n u e   t o   e v a l u a t e   c o r r e c t l y .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/cel/",
    "id": "k8s_00215_section_2_3803"
  },
  {
    "question": "What is Kubernetes CEL libraries?",
    "answer": "I n   a d d i t i o n a l   t o   t h e   C E L   c o m m u n i t y   l i b r a r i e s ,   K u b e r n e t e s   i n c l u d e s   C E L   l i b r a r i e s   t h a t   a r e   a v a i l a b l e   e v e r y w h e r e   C E L   i s   u s e d   i n   K u b e r n e t e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/cel/",
    "id": "k8s_00215_section_2_3804"
  },
  {
    "question": "What is Kubernetes list library?",
    "answer": "T h e   l i s t   l i b r a r y   i n c l u d e s   i n d e x O f   a n d   l a s t I n d e x O f ,   w h i c h   w o r k   s i m i l a r   t o   t h e   s t r i n g s   f u n c t i o n s   o f   t h e   s a m e   n a m e s .   T h e s e   f u n c t i o n s   e i t h e r   t h e   f i r s t   o r   l a s t   p o s i t i o n a l   i n d e x   o f   t h e   p r o v i d e d   e l e m e n t   i n   t h e   l i s t .   T h e   l i s t   l i b r a r y   a l s o   i n c l u d e s   m i n ,   m a x   a n d   s u m .   S u m   i s   s u p p o r t e d   o n   a l l   n u m b e r   t y p e s   a s   w e l l   a s   t h e   d u r a t i o n   t y p e .   M i n   a n d   m a x   a r e   s u p p o r t e d   o n   a l l   c o m p a r a b l e   t y p e s .   i s S o r t e d   i s   a l s o   p r o v i d e d   a s   a   c o n v e n i e n c e   f u n c t i o n   a n d   i s   s u p p o r t e d   o n   a l l   c o m p a r a b l e   t y p e s .   E x a m p l e s :   S e e   t h e   K u b e r n e t e s   L i s t   L i b r a r y   g o d o c   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/cel/",
    "id": "k8s_00215_section_3_3805"
  },
  {
    "question": "What is Kubernetes regex library?",
    "answer": "I n   a d d i t i o n   t o   t h e   m a t c h e s   f u n c t i o n   p r o v i d e d   b y   t h e   C E L   s t a n d a r d   l i b r a r y ,   t h e   r e g e x   l i b r a r y   p r o v i d e s   f i n d   a n d   f i n d A l l ,   e n a b l i n g   a   m u c h   w i d e r   r a n g e   o f   r e g e x   o p e r a t i o n s .   E x a m p l e s :   S e e   t h e   K u b e r n e t e s   r e g e x   l i b r a r y   g o d o c   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/cel/",
    "id": "k8s_00215_section_3_3806"
  },
  {
    "question": "What is Kubernetes URL library?",
    "answer": "T o   m a k e   i t   e a s i e r   a n d   s a f e r   t o   p r o c e s s   U R L s ,   t h e   f o l l o w i n g   f u n c t i o n s   h a v e   b e e n   a d d e d :   i s U R L ( s t r i n g )   c h e c k s   i f   a   s t r i n g   i s   a   v a l i d   U R L   a c c o r d i n g   t o   t h e   G o ' s   n e t / u r l   p a c k a g e .   T h e   s t r i n g   m u s t   b e   a n   a b s o l u t e   U R L . u r l ( s t r i n g )   U R L   c o n v e r t s   a   s t r i n g   t o   a   U R L   o r   r e s u l t s   i n   a n   e r r o r   i f   t h e   s t r i n g   i s   n o t   a   v a l i d   U R L .   O n c e   p a r s e d   v i a   t h e   u r l   f u n c t i o n ,   t h e   r e s u l t i n g   U R L   o b j e c t   h a s   g e t S c h e m e ,   g e t H o s t ,   g e t H o s t n a m e ,   g e t P o r t ,   g e t E s c a p e d P a t h   a n d   g e t Q u e r y   a c c e s s o r s .   E x a m p l e s :   S e e   t h e   K u b e r n e t e s   U R L   l i b r a r y   g o d o c   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/cel/",
    "id": "k8s_00215_section_3_3807"
  },
  {
    "question": "What is Kubernetes IP address library?",
    "answer": "T o   m a k e   i t   e a s i e r   a n d   s a f e r   t o   p r o c e s s   I P   a d d r e s s e s ,   t h e   f o l l o w i n g   f u n c t i o n s   h a v e   b e e n   a d d e d :   i s I P ( s t r i n g )   c h e c k s   i f   a   s t r i n g   i s   a   v a l i d   I P   a d d r e s s . i p ( s t r i n g )   I P   c o n v e r t s   a   s t r i n g   t o   a n   I P   a d d r e s s   o b j e c t   o r   r e s u l t s   i n   a n   e r r o r   i f   t h e   s t r i n g   i s   n o t   a   v a l i d   I P   a d d r e s s .   F o r   b o t h   f u n c t i o n s ,   t h e   I P   a d d r e s s   m u s t   b e   a n   I P v 4   o r   I P v 6   a d d r e s s .   I P v 4 - m a p p e d   I P v 6   a d d r e s s e s   ( e . g .   : : f f f f : 1 . 2 . 3 . 4 )   a r e   n o t   a l l o w e d .   I P   a d d r e s s e s   w i t h   z o n e s   ( e . g .   f e 8 0 : : 1 % e t h 0 )   a r e   n o t   a l l o w e d .   L e a d i n g   z e r o s   i n   I P v 4   a d d r e s s   o c t e t s   a r e   n o t   a l l o w e d .   O n c e   p a r s e d   v i a   t h e   i p   f u n c t i o n ,   t h e   r e s u l t i n g   I P   o b j e c t   h a s   t h e   f o l l o w i n g   l i b r a r y   o f   m e m b e r   f u n c t i o n s :   E x a m p l e s :   S e e   t h e   K u b e r n e t e s   I P   a d d r e s s   l i b r a r y   g o d o c   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/cel/",
    "id": "k8s_00215_section_3_3808"
  },
  {
    "question": "What is Kubernetes CIDR library?",
    "answer": "C I D R   p r o v i d e s   a   C E L   f u n c t i o n   l i b r a r y   e x t e n s i o n   o f   C I D R   n o t a t i o n   p a r s i n g   f u n c t i o n s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/cel/",
    "id": "k8s_00215_section_3_3809"
  },
  {
    "question": "What is cidr?",
    "answer": "C o n v e r t s   a   s t r i n g   i n   C I D R   n o t a t i o n   t o   a   n e t w o r k   a d d r e s s   r e p r e s e n t a t i o n   o r   r e s u l t s   i n   a n   e r r o r   i f   t h e   s t r i n g   i s   n o t   a   v a l i d   C I D R   n o t a t i o n .   T h e   C I D R   m u s t   b e   a n   I P v 4   o r   I P v 6   s u b n e t   a d d r e s s   w i t h   a   m a s k .   L e a d i n g   z e r o s   i n   I P v 4   a d d r e s s   o c t e t s   a r e   n o t   a l l o w e d .   I P v 4 - m a p p e d   I P v 6   a d d r e s s e s   ( e . g .   : : f f f f : 1 . 2 . 3 . 4 / 2 4 )   a r e   n o t   a l l o w e d .   c i d r ( < s t r i n g > )   < C I D R >   E x a m p l e s :   c i d r ( ' 1 9 2 . 1 6 8 . 0 . 0 / 1 6 ' )   / /   r e t u r n s   a n   I P v 4   a d d r e s s   w i t h   a   C I D R   m a s k   c i d r ( ' : : 1 / 1 2 8 ' )   / /   r e t u r n s   a n   I P v 6   a d d r e s s   w i t h   a   C I D R   m a s k   c i d r ( ' 1 9 2 . 1 6 8 . 0 . 0 / 3 3 ' )   / /   e r r o r   c i d r ( ' : : 1 / 1 2 9 ' )   / /   e r r o r   c i d r ( ' 1 9 2 . 1 6 8 . 0 . 1 / 1 6 ' )   / /   e r r o r ,   b e c a u s e   t h e r e   a r e   n o n - 0   b i t s   a f t e r   t h e   p r e f i x",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/cel/",
    "id": "k8s_00215_section_4_3810"
  },
  {
    "question": "What is isCIDR?",
    "answer": "R e t u r n s   t r u e   i f   a   s t r i n g   i s   a   v a l i d   C I D R   n o t a t i o n   r e p r e s e n t a t i o n   o f   a   s u b n e t   w i t h   m a s k .   T h e   C I D R   m u s t   b e   a n   I P v 4   o r   I P v 6   s u b n e t   a d d r e s s   w i t h   a   m a s k .   L e a d i n g   z e r o s   i n   I P v 4   a d d r e s s   o c t e t s   a r e   n o t   a l l o w e d .   I P v 4 - m a p p e d   I P v 6   a d d r e s s e s   ( e . g .   : : f f f f : 1 . 2 . 3 . 4 / 2 4 )   a r e   n o t   a l l o w e d .   i s C I D R ( < s t r i n g > )   < b o o l >   E x a m p l e s :   i s C I D R ( ' 1 9 2 . 1 6 8 . 0 . 0 / 1 6 ' )   / /   r e t u r n s   t r u e   i s C I D R ( ' : : 1 / 1 2 8 ' )   / /   r e t u r n s   t r u e   i s C I D R ( ' 1 9 2 . 1 6 8 . 0 . 0 / 3 3 ' )   / /   r e t u r n s   f a l s e   i s C I D R ( ' : : 1 / 1 2 9 ' )   / /   r e t u r n s   f a l s e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/cel/",
    "id": "k8s_00215_section_4_3811"
  },
  {
    "question": "What is containsIP / containsCIDR / ip / masked / prefixLength?",
    "answer": "c o n t a i n s I P :   R e t u r n s   t r u e   i f   a   t h e   C I D R   c o n t a i n s   t h e   g i v e n   I P   a d d r e s s .   T h e   I P   a d d r e s s   m u s t   b e   a n   I P v 4   o r   I P v 6   a d d r e s s .   M a y   t a k e   e i t h e r   a   s t r i n g   o r   I P   a d d r e s s   a s   a n   a r g u m e n t . c o n t a i n s C I D R :   R e t u r n s   t r u e   i f   a   t h e   C I D R   c o n t a i n s   t h e   g i v e n   C I D R .   T h e   C I D R   m u s t   b e   a n   I P v 4   o r   I P v 6   s u b n e t   a d d r e s s   w i t h   a   m a s k .   M a y   t a k e   e i t h e r   a   s t r i n g   o r   C I D R   a s   a n   a r g u m e n t . i p :   R e t u r n s   t h e   I P   a d d r e s s   r e p r e s e n t a t i o n   o f   t h e   C I D R . m a s k e d :   R e t u r n s   t h e   C I D R   r e p r e s e n t a t i o n   o f   t h e   n e t w o r k   a d d r e s s   w i t h   a   m a s k e d   p r e f i x .   T h i s   c a n   b e   u s e d   t o   r e t u r n   t h e   c a n o n i c a l   f o r m   o f   t h e   C I D R   n e t w o r k . p r e f i x L e n g t h :   R e t u r n s   t h e   p r e f i x   l e n g t h   o f   t h e   C I D R   i n   b i t s .   T h i s   i s   t h e   n u m b e r   o f   b i t s   i n   t h e   m a s k .   c o n t a i n s I P :   R e t u r n s   t r u e   i f   a   t h e   C I D R   c o n t a i n s   t h e   g i v e n   I P   a d d r e s s .   T h e   I P   a d d r e s s   m u s t   b e   a n   I P v 4   o r   I P v 6   a d d r e s s .   M a y   t a k e   e i t h e r   a   s t r i n g   o r   I P   a d d r e s s   a s   a n   a r g u m e n t .   c o n t a i n s C I D R :   R e t u r n s   t r u e   i f   a   t h e   C I D R   c o n t a i n s   t h e   g i v e n   C I D R .   T h e   C I D R   m u s t   b e   a n   I P v 4   o r   I P v 6   s u b n e t   a d d r e s s   w i t h   a   m a s k .   M a y   t a k e   e i t h e r   a   s t r i n g   o r   C I D R   a s   a n   a r g u m e n t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/cel/",
    "id": "k8s_00215_section_4_3812"
  },
  {
    "question": "What is Kubernetes authorizer library?",
    "answer": "F o r   C E L   e x p r e s s i o n s   i n   t h e   A P I   w h e r e   a   v a r i a b l e   o f   t y p e   A u t h o r i z e r   i s   a v a i l a b l e ,   t h e   a u t h o r i z e r   m a y   b e   u s e d   t o   p e r f o r m   a u t h o r i z a t i o n   c h e c k s   f o r   t h e   p r i n c i p a l   ( a u t h e n t i c a t e d   u s e r )   o f   t h e   r e q u e s t .   A P I   r e s o u r c e   c h e c k s   a r e   p e r f o r m e d   a s   f o l l o w s :   S p e c i f y   t h e   g r o u p   a n d   r e s o u r c e   t o   c h e c k :   A u t h o r i z e r . g r o u p ( s t r i n g ) . r e s o u r c e ( s t r i n g )   R e s o u r c e C h e c k O p t i o n a l l y   c a l l   a n y   c o m b i n a t i o n   o f   t h e   f o l l o w i n g   b u i l d e r   f u n c t i o n s   t o   f u r t h e r   n a r r o w   t h e   a u t h o r i z a t i o n   c h e c k .   N o t e   t h a t   t h e s e   f u n c t i o n s   r e t u r n   t h e   r e c e i v e r   t y p e   a n d   c a n   b e   c h a i n e d : R e s o u r c e C h e c k . s u b r e s o u r c e ( s t r i n g )   R e s o u r c e C h e c k R e s o u r c e C h e c k . n a m e s p a c e ( s t r i n g )   R e s o u r c e C h e c k R e s o u r c e C h e c k . n a m e ( s t r i n g )   R e s o u r c e C h e c k C a l l   R e s o u r c e C h e c k . c h e c k ( v e r b   s t r i n g )   D e c i s i o n   t o   p e r f o r m   t h e   a u t h o r i z a t i o n   c h e c k . C a l l   a l l o w e d ( )   b o o l   o r   r e a s o n ( )   s t r i n g   t o   i n s p e c t   t h e   r e s u l t   o f   t h e   a u t h o r i z a t i o n   c h e c k .   R e s o u r c e C h e c k . s u b r e s o u r c e ( s t r i n g )   R e s o u r c e C h e c k R e s o u r c e C h e c k . n a m e s p a c e ( s t r i n g )   R e s o u r c e C h e c k R e s o u r c e C h e c k . n a m e ( s t r i n g )   R e s o u r c e C h e c k   N o n - r e s o u r c e   a u t h o r i z a t i o n   p e r f o r m e d   a r e   u s e d   a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/cel/",
    "id": "k8s_00215_section_3_3813"
  },
  {
    "question": "What is Kubernetes format library?",
    "answer": "T h e   f o r m a t   l i b r a r y   p r o v i d e s   f u n c t i o n s   f o r   v a l i d a t i n g   c o m m o n   K u b e r n e t e s   s t r i n g   f o r m a t s .   T h i s   c a n   b e   u s e f u l   i n   t h e   m e s s a g e E x p r e s s i o n   o f   v a l i d a t i o n   r u l e s   t o   p r o v i d e   m o r e   s p e c i f i c   e r r o r   m e s s a g e s .   T h e   l i b r a r y   p r o v i d e s   f o r m a t ( )   f u n c t i o n s   f o r   e a c h   n a m e d   f o r m a t ,   a n d   a   g e n e r i c   f o r m a t . n a m e d ( )   f u n c t i o n .   f o r m a t . n a m e d ( s t r i n g )   →   ? F o r m a t :   R e t u r n s   t h e   F o r m a t   o b j e c t   f o r   t h e   g i v e n   f o r m a t   n a m e ,   i f   i t   e x i s t s .   O t h e r w i s e ,   r e t u r n s   o p t i o n a l . n o n e . f o r m a t . < f o r m a t N a m e > ( )   - >   F o r m a t :   C o n v e n i e n c e   f u n c t i o n s   f o r   a l l   t h e   n a m e d   f o r m a t s   a r e   a l s o   a v a i l a b l e .   F o r   e x a m p l e ,   f o r m a t . d n s 1 1 2 3 L a b e l ( )   r e t u r n s   t h e   F o r m a t   o b j e c t   f o r   D N S - 1 1 2 3   l a b e l s . < F o r m a t > . v a l i d a t e ( s t r i n g )   - >   l i s t < s t r i n g > ? :   V a l i d a t e s   t h e   g i v e n   s t r i n g   a g a i n s t   t h e   f o r m a t .   R e t u r n s   o p t i o n a l . n o n e   i f   t h e   s t r i n g   i s   v a l i d ,   o t h e r w i s e   a n   o p t i o n a l   c o n t a i n i n g   a   l i s t   o f   v a l i d a t i o n   e r r o r   s t r i n g s .   A v a i l a b l e   F o r m a t s :   T h e   f o l l o w i n g   f o r m a t   n a m e s   a r e   s u p p o r t e d :   E x a m p l e s :   S e e   t h e   K u b e r n e t e s   F o r m a t   l i b r a r y   g o d o c   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/cel/",
    "id": "k8s_00215_section_3_3814"
  },
  {
    "question": "What is Kubernetes quantity library?",
    "answer": "K u b e r n e t e s   1 . 2 8   a d d s   s u p p o r t   f o r   m a n i p u l a t i n g   q u a n t i t y   s t r i n g s   ( e x   1 . 5 G ,   5 1 2 k ,   2 0 M i )   i s Q u a n t i t y ( s t r i n g )   c h e c k s   i f   a   s t r i n g   i s   a   v a l i d   Q u a n t i t y   a c c o r d i n g   t o   K u b e r n e t e s '   r e s o u r c e . Q u a n t i t y . q u a n t i t y ( s t r i n g )   Q u a n t i t y   c o n v e r t s   a   s t r i n g   t o   a   Q u a n t i t y   o r   r e s u l t s   i n   a n   e r r o r   i f   t h e   s t r i n g   i s   n o t   a   v a l i d   q u a n t i t y .   O n c e   p a r s e d   v i a   t h e   q u a n t i t y   f u n c t i o n ,   t h e   r e s u l t i n g   Q u a n t i t y   o b j e c t   h a s   t h e   f o l l o w i n g   l i b r a r y   o f   m e m b e r   f u n c t i o n s :   E x a m p l e s :",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/cel/",
    "id": "k8s_00215_section_3_3815"
  },
  {
    "question": "What is Kubernetes semver library?",
    "answer": "K u b e r n e t e s   v 1 . 3 4   a d d s   s u p p o r t   f o r   p a r s i n g   a n d   c o m p a r i n g   s t r i n g s   t h a t   f o l l o w   t h e   S e m a n t i c   V e r s i o n i n g   2 . 0 . 0   s p e c i f i c a t i o n .   R e f e r   t o   t h e   s e m v e r . o r g   d o c u m e n t a t i o n   f o r   i n f o r m a t i o n   o n   a c c e p t e d   p a t t e r n s .   i s S e m v e r ( s t r i n g )   c h e c k s   i f   a   s t r i n g   i s   a   v a l i d   s e m a n t i c   v e r s i o n . s e m v e r ( s t r i n g )   c o n v e r t s   a   s t r i n g   t o   a   S e m v e r   o b j e c t   o r   r e s u l t s   i n   a n   e r r o r .   A n   o p t i o n a l   b o o l e a n   n o r m a l i z e   a r g u m e n t   c a n   b e   p a s s e d   t o   i s S e m v e r   a n d   s e m v e r .   I f   t r u e ,   n o r m a l i z a t i o n   r e m o v e s   a n y   \" v \"   p r e f i x ,   a d d s   a   0   m i n o r   a n d   p a t c h   n u m b e r s   t o   v e r s i o n s   w i t h   o n l y   m a j o r   o r   m a j o r . m i n o r   c o m p o n e n t s   s p e c i f i e d ,   a n d   r e m o v e s   a n y   l e a d i n g   0 s .   O n c e   p a r s e d   v i a   t h e   s e m v e r   f u n c t i o n ,   t h e   r e s u l t i n g   S e m v e r   o b j e c t   h a s   t h e   f o l l o w i n g   l i b r a r y   o f   m e m b e r   f u n c t i o n s :   E x a m p l e s :   S e e   t h e   K u b e r n e t e s   S e m v e r   l i b r a r y   g o d o c   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/cel/",
    "id": "k8s_00215_section_3_3816"
  },
  {
    "question": "What is Type checking?",
    "answer": "C E L   i s   a   g r a d u a l l y   t y p e d   l a n g u a g e .   S o m e   K u b e r n e t e s   A P I   f i e l d s   c o n t a i n   f u l l y   t y p e   c h e c k e d   C E L   e x p r e s s i o n s .   F o r   e x a m p l e ,   C u s t o m R e s o u r c e D e f i n i t i o n s   V a l i d a t i o n   R u l e s   a r e   f u l l y   t y p e   c h e c k e d .   S o m e   K u b e r n e t e s   A P I   f i e l d s   c o n t a i n   p a r t i a l l y   t y p e   c h e c k e d   C E L   e x p r e s s i o n s .   A   p a r t i a l l y   t y p e   c h e c k e d   e x p r e s s i o n   i s   a n   e x p r e s s i o n s   w h e r e   s o m e   o f   t h e   v a r i a b l e s   a r e   s t a t i c a l l y   t y p e d   b u t   o t h e r s   a r e   d y n a m i c a l l y   t y p e d .   F o r   e x a m p l e ,   i n   t h e   C E L   e x p r e s s i o n s   o f   V a l i d a t i n g A d m i s s i o n P o l i c i e s   t h e   r e q u e s t   v a r i a b l e   i s   t y p e d ,   b u t   t h e   o b j e c t   v a r i a b l e   i s   d y n a m i c a l l y   t y p e d .   A s   a   r e s u l t ,   a n   e x p r e s s i o n   c o n t a i n i n g   r e q u e s t . n a m e x   w o u l d   f a i l   t y p e   c h e c k i n g   b e c a u s e   t h e   n a m e x   f i e l d   i s   n o t   d e f i n e d .   H o w e v e r ,   o b j e c t . n a m e x   w o u l d   p a s s   t y p e   c h e c k i n g   e v e n   w h e n   t h e   n a m e x   f i e l d   i s   n o t   d e f i n e d   f o r   t h e   r e s o u r c e   k i n d s   t h a t   o b j e c t   r e f e r s   t o ,   b e c a u s e   o b j e c t   i s   d y n a m i c a l l y   t y p e d .   T h e   h a s ( )   m a c r o   i n   C E L   m a y   b e   u s e d   i n   C E L   e x p r e s s i o n s   t o   c h e c k   i f   a   f i e l d   o f   a   d y n a m i c a l l y   t y p e d   v a r i a b l e   i s   a c c e s s i b l e   b e f o r e   a t t e m p t i n g   t o   a c c e s s   t h e   f i e l d ' s   v a l u e .   F o r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/cel/",
    "id": "k8s_00215_section_2_3817"
  },
  {
    "question": "What is Type system integration?",
    "answer": "A l s o   s e e :   C E L   t y p e s ,   O p e n A P I   t y p e s ,   K u b e r n e t e s   S t r u c t u r a l   S c h e m a s .   E q u a l i t y   c o m p a r i s o n   f o r   a r r a y s   w i t h   x - k u b e r n e t e s - l i s t - t y p e   o f   s e t   o r   m a p   i g n o r e s   e l e m e n t   o r d e r .   F o r   e x a m p l e   [ 1 ,   2 ]   = =   [ 2 ,   1 ]   i f   t h e   a r r a y s   r e p r e s e n t   K u b e r n e t e s   s e t   v a l u e s .   C o n c a t e n a t i o n   o n   a r r a y s   w i t h   x - k u b e r n e t e s - l i s t - t y p e   u s e   t h e   s e m a n t i c s   o f   t h e   l i s t   t y p e :",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/cel/",
    "id": "k8s_00215_section_2_3818"
  },
  {
    "question": "What is Escaping?",
    "answer": "O n l y   K u b e r n e t e s   r e s o u r c e   p r o p e r t y   n a m e s   o f   t h e   f o r m   [ a - z A - Z _ . - / ] [ a - z A - Z 0 - 9 _ . - / ] *   a r e   a c c e s s i b l e   f r o m   C E L .   A c c e s s i b l e   p r o p e r t y   n a m e s   a r e   e s c a p e d   a c c o r d i n g   t o   t h e   f o l l o w i n g   r u l e s   w h e n   a c c e s s e d   i n   t h e   e x p r e s s i o n :   W h e n   y o u   e s c a p e   a n y   o f   C E L ' s   R E S E R V E D   k e y w o r d s   y o u   n e e d   t o   m a t c h   t h e   e x a c t   p r o p e r t y   n a m e   u s e   t h e   u n d e r s c o r e   e s c a p i n g   ( f o r   e x a m p l e ,   i n t   i n   t h e   w o r d   s p r i n t   w o u l d   n o t   b e   e s c a p e d   a n d   n o r   w o u l d   i t   n e e d   t o   b e ) .   E x a m p l e s   o n   e s c a p i n g :",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/cel/",
    "id": "k8s_00215_section_2_3819"
  },
  {
    "question": "What is Resource constraints?",
    "answer": "C E L   i s   n o n - T u r i n g   c o m p l e t e   a n d   o f f e r s   a   v a r i e t y   o f   p r o d u c t i o n   s a f e t y   c o n t r o l s   t o   l i m i t   e x e c u t i o n   t i m e .   C E L ' s   r e s o u r c e   c o n s t r a i n t   f e a t u r e s   p r o v i d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/cel/",
    "id": "k8s_00215_section_2_3820"
  },
  {
    "question": "What is Runtime cost budget?",
    "answer": "A l l   C E L   e x p r e s s i o n s   e v a l u a t e d   b y   K u b e r n e t e s   a r e   c o n s t r a i n e d   b y   a   r u n t i m e   c o s t   b u d g e t .   T h e   r u n t i m e   c o s t   b u d g e t   i s   a n   e s t i m a t e   o f   a c t u a l   C P U   u t i l i z a t i o n   c o m p u t e d   b y   i n c r e m e n t i n g   a   c o s t   u n i t   c o u n t e r   w h i l e   i n t e r p r e t i n g   a   C E L   e x p r e s s i o n .   I f   t h e   C E L   i n t e r p r e t e r   e x e c u t e s   t o o   m a n y   i n s t r u c t i o n s ,   t h e   r u n t i m e   c o s t   b u d g e t   w i l l   b e   e x c e e d e d ,   e x e c u t i o n   o f   t h e   e x p r e s s i o n s   w i l l   b e   h a l t e d ,   a n d   a n   e r r o r   w i l l   r e s u l t .   S o m e   K u b e r n e t e s   r e s o u r c e s   d e f i n e   a n   a d d i t i o n a l   r u n t i m e   c o s t   b u d g e t   t h a t   b o u n d s   t h e   e x e c u t i o n   o f   m u l t i p l e   e x p r e s s i o n s .   I f   t h e   s u m   t o t a l   o f   t h e   c o s t   o f   e x p r e s s i o n s   e x c e e d   t h e   b u d g e t ,   e x e c u t i o n   o f   t h e   e x p r e s s i o n s   w i l l   b e   h a l t e d ,   a n d   a n   e r r o r   w i l l   r e s u l t .   F o r   e x a m p l e   t h e   v a l i d a t i o n   o f   a   c u s t o m   r e s o u r c e   h a s   a   p e r - v a l i d a t i o n   r u n t i m e   c o s t   b u d g e t   f o r   a l l   V a l i d a t i o n   R u l e s   e v a l u a t e d   t o   v a l i d a t e   t h e   c u s t o m   r e s o u r c e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/cel/",
    "id": "k8s_00215_section_3_3821"
  },
  {
    "question": "What is Estimated cost limits?",
    "answer": "F o r   s o m e   K u b e r n e t e s   r e s o u r c e s ,   t h e   A P I   s e r v e r   m a y   a l s o   c h e c k   i f   w o r s t   c a s e   e s t i m a t e d   r u n n i n g   t i m e   o f   C E L   e x p r e s s i o n s   w o u l d   b e   p r o h i b i t i v e l y   e x p e n s i v e   t o   e x e c u t e .   I f   s o ,   t h e   A P I   s e r v e r   p r e v e n t   t h e   C E L   e x p r e s s i o n   f r o m   b e i n g   w r i t t e n   t o   A P I   r e s o u r c e s   b y   r e j e c t i n g   c r e a t e   o r   u p d a t e   o p e r a t i o n s   c o n t a i n i n g   t h e   C E L   e x p r e s s i o n   t o   t h e   A P I   r e s o u r c e s .   T h i s   f e a t u r e   o f f e r s   a   s t r o n g e r   a s s u r a n c e   t h a t   C E L   e x p r e s s i o n s   w r i t t e n   t o   t h e   A P I   r e s o u r c e   w i l l   b e   e v a l u a t e d   a t   r u n t i m e   w i t h o u t   e x c e e d i n g   t h e   r u n t i m e   c o s t   b u d g e t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/cel/",
    "id": "k8s_00215_section_3_3822"
  },
  {
    "question": "What is SelfSubjectRulesReview?",
    "answer": "SelfSubjectRulesReviewSelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace.apiVersion: authorization.k8s.io/v1import \"k8s.io/api/authorization/v1\"SelfSubjectRulesReviewSelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.apiVersion: authorization.k8s.io/v1kind: SelfSubjectRulesReviewmetadata (ObjectMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (SelfSubjectRulesReviewSpec), requiredSpec holds information about the request being evaluated.status (SubjectRulesReviewStatus)Status is filled in by the server and indicates the set of actions a user can perform.SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.status.incomplete (boolean), requiredIncomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.status.nonResourceRules ([]NonResourceRule), requiredAtomic: will be replaced during a mergeNonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.NonResourceRule holds information that describes a rule for the non-resourcestatus.nonResourceRules.verbs ([]string), requiredAtomic: will be replaced during a mergeVerb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all.status.nonResourceRules.nonResourceURLs ([]string)Atomic: will be replaced during a mergeNonResourceURLs is a set of partial urls that a user should have access to. s are allowed, but only as the full, final step in the path. \"\" means all.status.resourceRules ([]ResourceRule), requiredAtomic: will be replaced during a mergeResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.ResourceRule is the list of actions the subject is allowed to per",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/self-subject-rules-review-v1/",
    "id": "k8s_00216_qa_3823"
  },
  {
    "question": "How does SelfSubjectRulesReview work?",
    "answer": "SelfSubjectRulesReviewSelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace.apiVersion: authorization.k8s.io/v1import \"k8s.io/api/authorization/v1\"SelfSubjectRulesReviewSelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.apiVersion: authorization.k8s.io/v1kind: SelfSubjectRulesReviewmetadata (ObjectMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (SelfSubjectRulesReviewSpec), requiredSpec holds information about the request being evaluated.status (SubjectRulesReviewStatus)Status is filled in by the server and indicates the set of actions a user can perform.SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.status.incomplete (boolean), requiredIncomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.status.nonResourceRules ([]NonResourceRule), requiredAtomic: will be replaced during a mergeNonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.NonResourceRule holds information that describes a rule for the non-resourcestatus.nonResourceRules.verbs ([]string), requiredAtomic: will be replaced during a mergeVerb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all.status.nonResourceRules.nonResourceURLs ([]string)Atomic: will be replaced during a mergeNonResourceURLs is a set of partial urls that a user should have access to. s are allowed, but only as the full, final step in the path. \"\" means all.status.resourceRules ([]ResourceRule), requiredAtomic: will be replaced during a mergeResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.ResourceRule is the list of actions the subject is allowed to per",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/self-subject-rules-review-v1/",
    "id": "k8s_00216_qa_3824"
  },
  {
    "question": "When would you use SelfSubjectRulesReview?",
    "answer": "SelfSubjectRulesReviewSelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace.apiVersion: authorization.k8s.io/v1import \"k8s.io/api/authorization/v1\"SelfSubjectRulesReviewSelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.apiVersion: authorization.k8s.io/v1kind: SelfSubjectRulesReviewmetadata (ObjectMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (SelfSubjectRulesReviewSpec), requiredSpec holds information about the request being evaluated.status (SubjectRulesReviewStatus)Status is filled in by the server and indicates the set of actions a user can perform.SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.status.incomplete (boolean), requiredIncomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.status.nonResourceRules ([]NonResourceRule), requiredAtomic: will be replaced during a mergeNonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.NonResourceRule holds information that describes a rule for the non-resourcestatus.nonResourceRules.verbs ([]string), requiredAtomic: will be replaced during a mergeVerb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all.status.nonResourceRules.nonResourceURLs ([]string)Atomic: will be replaced during a mergeNonResourceURLs is a set of partial urls that a user should have access to. s are allowed, but only as the full, final step in the path. \"\" means all.status.resourceRules ([]ResourceRule), requiredAtomic: will be replaced during a mergeResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.ResourceRule is the list of actions the subject is allowed to per",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/self-subject-rules-review-v1/",
    "id": "k8s_00216_qa_3825"
  },
  {
    "question": "What are the benefits of SelfSubjectRulesReview?",
    "answer": "SelfSubjectRulesReviewSelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace.apiVersion: authorization.k8s.io/v1import \"k8s.io/api/authorization/v1\"SelfSubjectRulesReviewSelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.apiVersion: authorization.k8s.io/v1kind: SelfSubjectRulesReviewmetadata (ObjectMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (SelfSubjectRulesReviewSpec), requiredSpec holds information about the request being evaluated.status (SubjectRulesReviewStatus)Status is filled in by the server and indicates the set of actions a user can perform.SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.status.incomplete (boolean), requiredIncomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.status.nonResourceRules ([]NonResourceRule), requiredAtomic: will be replaced during a mergeNonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.NonResourceRule holds information that describes a rule for the non-resourcestatus.nonResourceRules.verbs ([]string), requiredAtomic: will be replaced during a mergeVerb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all.status.nonResourceRules.nonResourceURLs ([]string)Atomic: will be replaced during a mergeNonResourceURLs is a set of partial urls that a user should have access to. s are allowed, but only as the full, final step in the path. \"\" means all.status.resourceRules ([]ResourceRule), requiredAtomic: will be replaced during a mergeResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.ResourceRule is the list of actions the subject is allowed to per",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/self-subject-rules-review-v1/",
    "id": "k8s_00216_qa_3826"
  },
  {
    "question": "What is SelfSubjectRulesReview?",
    "answer": "a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a u t h o r i z a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/self-subject-rules-review-v1/",
    "id": "k8s_00216_section_1_3827"
  },
  {
    "question": "What is SelfSubjectRulesReview?",
    "answer": "S e l f S u b j e c t R u l e s R e v i e w   e n u m e r a t e s   t h e   s e t   o f   a c t i o n s   t h e   c u r r e n t   u s e r   c a n   p e r f o r m   w i t h i n   a   n a m e s p a c e .   T h e   r e t u r n e d   l i s t   o f   a c t i o n s   m a y   b e   i n c o m p l e t e   d e p e n d i n g   o n   t h e   s e r v e r ' s   a u t h o r i z a t i o n   m o d e ,   a n d   a n y   e r r o r s   e x p e r i e n c e d   d u r i n g   t h e   e v a l u a t i o n .   S e l f S u b j e c t R u l e s R e v i e w   s h o u l d   b e   u s e d   b y   U I s   t o   s h o w / h i d e   a c t i o n s ,   o r   t o   q u i c k l y   l e t   a n   e n d   u s e r   r e a s o n   a b o u t   t h e i r   p e r m i s s i o n s .   I t   s h o u l d   N O T   B e   u s e d   b y   e x t e r n a l   s y s t e m s   t o   d r i v e   a u t h o r i z a t i o n   d e c i s i o n s   a s   t h i s   r a i s e s   c o n f u s e d   d e p u t y ,   c a c h e   l i f e t i m e / r e v o c a t i o n ,   a n d   c o r r e c t n e s s   c o n c e r n s .   S u b j e c t A c c e s s R e v i e w ,   a n d   L o c a l A c c e s s R e v i e w   a r e   t h e   c o r r e c t   w a y   t o   d e f e r   a u t h o r i z a t i o n   d e c i s i o n s   t o   t h e   A P I   s e r v e r .   a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   S e l f S u b j e c t R u l e s R e v i e w m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( S e l f S u b j e c t R u l e s R e v i e w S p e c ) ,   r e q u i r e d S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d . s t a t u s   ( S u b j e c t R u l e s R e v i e w S t a t u s ) S t a t u s   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/self-subject-rules-review-v1/",
    "id": "k8s_00216_section_2_3828"
  },
  {
    "question": "What is SelfSubjectRulesReviewSpec?",
    "answer": "S e l f S u b j e c t R u l e s R e v i e w S p e c   d e f i n e s   t h e   s p e c i f i c a t i o n   f o r   S e l f S u b j e c t R u l e s R e v i e w .   n a m e s p a c e   ( s t r i n g ) N a m e s p a c e   t o   e v a l u a t e   r u l e s   f o r .   R e q u i r e d .   n a m e s p a c e   ( s t r i n g )   N a m e s p a c e   t o   e v a l u a t e   r u l e s   f o r .   R e q u i r e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/self-subject-rules-review-v1/",
    "id": "k8s_00216_section_2_3829"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t h o r i z a t i o n . k 8 s . i o / v 1 / s e l f s u b j e c t r u l e s r e v i e w s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/self-subject-rules-review-v1/",
    "id": "k8s_00216_section_4_3830"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   S e l f S u b j e c t R u l e s R e v i e w ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   S e l f S u b j e c t R u l e s R e v i e w ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/self-subject-rules-review-v1/",
    "id": "k8s_00216_section_4_3831"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e l f S u b j e c t R u l e s R e v i e w ) :   O K   2 0 1   ( S e l f S u b j e c t R u l e s R e v i e w ) :   C r e a t e d   2 0 2   ( S e l f S u b j e c t R u l e s R e v i e w ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/self-subject-rules-review-v1/",
    "id": "k8s_00216_section_4_3832"
  },
  {
    "question": "What is kubectl create namespace?",
    "answer": "kubectl create namespaceSynopsisCreate a namespace with the specified name.kubectl create namespace NAME [--dry-run=server|client|none] Examples # Create a new namespace named my-namespace kubectl create namespace my-namespace Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for namespace-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_namespace/",
    "id": "k8s_00217_qa_3833"
  },
  {
    "question": "How does kubectl create namespace work?",
    "answer": "kubectl create namespaceSynopsisCreate a namespace with the specified name.kubectl create namespace NAME [--dry-run=server|client|none] Examples # Create a new namespace named my-namespace kubectl create namespace my-namespace Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for namespace-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_namespace/",
    "id": "k8s_00217_qa_3834"
  },
  {
    "question": "When would you use kubectl create namespace?",
    "answer": "kubectl create namespaceSynopsisCreate a namespace with the specified name.kubectl create namespace NAME [--dry-run=server|client|none] Examples # Create a new namespace named my-namespace kubectl create namespace my-namespace Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for namespace-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_namespace/",
    "id": "k8s_00217_qa_3835"
  },
  {
    "question": "What are the benefits of kubectl create namespace?",
    "answer": "kubectl create namespaceSynopsisCreate a namespace with the specified name.kubectl create namespace NAME [--dry-run=server|client|none] Examples # Create a new namespace named my-namespace kubectl create namespace my-namespace Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for namespace-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_namespace/",
    "id": "k8s_00217_qa_3836"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   n a m e s p a c e   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   n a m e s p a c e   N A M E   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_namespace/",
    "id": "k8s_00217_section_2_3837"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   n a m e s p a c e   n a m e d   m y - n a m e s p a c e   k u b e c t l   c r e a t e   n a m e s p a c e   m y - n a m e s p a c e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_namespace/",
    "id": "k8s_00217_section_2_3838"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   n a m e s p a c e   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_namespace/",
    "id": "k8s_00217_section_2_3839"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_namespace/",
    "id": "k8s_00217_section_2_3840"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_namespace/",
    "id": "k8s_00217_section_2_3841"
  },
  {
    "question": "What is Install and Set Up kubectl on Linux?",
    "answer": "Install and Set Up kubectl on LinuxBefore you beginYou must use a kubectl version that is within one minor version difference of your cluster. For example, a v1.34 client can communicate with v1.33, v1.34, and v1.35 control planes. Using the latest compatible version of kubectl helps avoid unforeseen issues.Install kubectl on LinuxThe following methods exist for installing kubectl on Linux:Install kubectl binary with curl on LinuxInstall using native package managementInstall using other package managementInstall kubectl binary with curl on LinuxDownload the latest release with the command: curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl\" curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/arm64/kubectl\" Note:To download a specific version, replace the $(curl -L -s https://dl.k8s.io/release/stable.txt) portion of the command with the specific version.For example, to download version 1.34.0 on Linux x86-64, type:curl -LO https://dl.k8s.io/release/v1.34.0/bin/linux/amd64/kubectl And for Linux ARM64, type:curl -LO https://dl.k8s.io/release/v1.34.0/bin/linux/arm64/kubectl Validate the binary (optional)Download the kubectl checksum file: curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256\" curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/arm64/kubectl.sha256\" Validate the kubectl binary against the checksum file:echo \"$(cat kubectl.sha256) kubectl\" | sha256sum --check If valid, the output is:kubectl: OK If the check fails, sha256 exits with nonzero status and prints output similar to:kubectl: FAILED sha256sum: WARNING: 1 computed checksum did NOT match Note:Download the same version of the binary and checksum.Install kubectlsudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl Note:If you do not have root access on the target system, you can still install kubectl to the ~/.local/bin directory:chmod +x kubectl mkdir -p ~/.local/bin mv ./kubectl ~/.local/bin/kubectl # and then append (or prepend) ~/.local/bin to $PATH Test to ensure the version you installed is up-to-date:kubectl version --client Or use this for detailed view of version:kubectl version --client --output=yaml Install using native package managementUpdate the apt package index and install packages needed to use the Kubernetes apt repository:sudo apt-get update # apt-transport-https may be a dummy package; if so, you can skip that package sudo apt-get install -y apt-transport-https ca-certificates curl gnupg Download the public signing key for the Kubernetes package repositories. The same signing key is used for all repositories so you can disregard the version in the URL:# If the folder `/etc/apt/keyrings` does not exist, it should be created before the curl command, read the note below. # sudo mkdir -p -m 755 /etc/apt/keyrings curl -fsSL https://pkgs.k8s.i",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_qa_3842"
  },
  {
    "question": "How does Install and Set Up kubectl on Linux work?",
    "answer": "Install and Set Up kubectl on LinuxBefore you beginYou must use a kubectl version that is within one minor version difference of your cluster. For example, a v1.34 client can communicate with v1.33, v1.34, and v1.35 control planes. Using the latest compatible version of kubectl helps avoid unforeseen issues.Install kubectl on LinuxThe following methods exist for installing kubectl on Linux:Install kubectl binary with curl on LinuxInstall using native package managementInstall using other package managementInstall kubectl binary with curl on LinuxDownload the latest release with the command: curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl\" curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/arm64/kubectl\" Note:To download a specific version, replace the $(curl -L -s https://dl.k8s.io/release/stable.txt) portion of the command with the specific version.For example, to download version 1.34.0 on Linux x86-64, type:curl -LO https://dl.k8s.io/release/v1.34.0/bin/linux/amd64/kubectl And for Linux ARM64, type:curl -LO https://dl.k8s.io/release/v1.34.0/bin/linux/arm64/kubectl Validate the binary (optional)Download the kubectl checksum file: curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256\" curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/arm64/kubectl.sha256\" Validate the kubectl binary against the checksum file:echo \"$(cat kubectl.sha256) kubectl\" | sha256sum --check If valid, the output is:kubectl: OK If the check fails, sha256 exits with nonzero status and prints output similar to:kubectl: FAILED sha256sum: WARNING: 1 computed checksum did NOT match Note:Download the same version of the binary and checksum.Install kubectlsudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl Note:If you do not have root access on the target system, you can still install kubectl to the ~/.local/bin directory:chmod +x kubectl mkdir -p ~/.local/bin mv ./kubectl ~/.local/bin/kubectl # and then append (or prepend) ~/.local/bin to $PATH Test to ensure the version you installed is up-to-date:kubectl version --client Or use this for detailed view of version:kubectl version --client --output=yaml Install using native package managementUpdate the apt package index and install packages needed to use the Kubernetes apt repository:sudo apt-get update # apt-transport-https may be a dummy package; if so, you can skip that package sudo apt-get install -y apt-transport-https ca-certificates curl gnupg Download the public signing key for the Kubernetes package repositories. The same signing key is used for all repositories so you can disregard the version in the URL:# If the folder `/etc/apt/keyrings` does not exist, it should be created before the curl command, read the note below. # sudo mkdir -p -m 755 /etc/apt/keyrings curl -fsSL https://pkgs.k8s.i",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_qa_3843"
  },
  {
    "question": "When would you use Install and Set Up kubectl on Linux?",
    "answer": "Install and Set Up kubectl on LinuxBefore you beginYou must use a kubectl version that is within one minor version difference of your cluster. For example, a v1.34 client can communicate with v1.33, v1.34, and v1.35 control planes. Using the latest compatible version of kubectl helps avoid unforeseen issues.Install kubectl on LinuxThe following methods exist for installing kubectl on Linux:Install kubectl binary with curl on LinuxInstall using native package managementInstall using other package managementInstall kubectl binary with curl on LinuxDownload the latest release with the command: curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl\" curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/arm64/kubectl\" Note:To download a specific version, replace the $(curl -L -s https://dl.k8s.io/release/stable.txt) portion of the command with the specific version.For example, to download version 1.34.0 on Linux x86-64, type:curl -LO https://dl.k8s.io/release/v1.34.0/bin/linux/amd64/kubectl And for Linux ARM64, type:curl -LO https://dl.k8s.io/release/v1.34.0/bin/linux/arm64/kubectl Validate the binary (optional)Download the kubectl checksum file: curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256\" curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/arm64/kubectl.sha256\" Validate the kubectl binary against the checksum file:echo \"$(cat kubectl.sha256) kubectl\" | sha256sum --check If valid, the output is:kubectl: OK If the check fails, sha256 exits with nonzero status and prints output similar to:kubectl: FAILED sha256sum: WARNING: 1 computed checksum did NOT match Note:Download the same version of the binary and checksum.Install kubectlsudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl Note:If you do not have root access on the target system, you can still install kubectl to the ~/.local/bin directory:chmod +x kubectl mkdir -p ~/.local/bin mv ./kubectl ~/.local/bin/kubectl # and then append (or prepend) ~/.local/bin to $PATH Test to ensure the version you installed is up-to-date:kubectl version --client Or use this for detailed view of version:kubectl version --client --output=yaml Install using native package managementUpdate the apt package index and install packages needed to use the Kubernetes apt repository:sudo apt-get update # apt-transport-https may be a dummy package; if so, you can skip that package sudo apt-get install -y apt-transport-https ca-certificates curl gnupg Download the public signing key for the Kubernetes package repositories. The same signing key is used for all repositories so you can disregard the version in the URL:# If the folder `/etc/apt/keyrings` does not exist, it should be created before the curl command, read the note below. # sudo mkdir -p -m 755 /etc/apt/keyrings curl -fsSL https://pkgs.k8s.i",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_qa_3844"
  },
  {
    "question": "What are the benefits of Install and Set Up kubectl on Linux?",
    "answer": "Install and Set Up kubectl on LinuxBefore you beginYou must use a kubectl version that is within one minor version difference of your cluster. For example, a v1.34 client can communicate with v1.33, v1.34, and v1.35 control planes. Using the latest compatible version of kubectl helps avoid unforeseen issues.Install kubectl on LinuxThe following methods exist for installing kubectl on Linux:Install kubectl binary with curl on LinuxInstall using native package managementInstall using other package managementInstall kubectl binary with curl on LinuxDownload the latest release with the command: curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl\" curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/arm64/kubectl\" Note:To download a specific version, replace the $(curl -L -s https://dl.k8s.io/release/stable.txt) portion of the command with the specific version.For example, to download version 1.34.0 on Linux x86-64, type:curl -LO https://dl.k8s.io/release/v1.34.0/bin/linux/amd64/kubectl And for Linux ARM64, type:curl -LO https://dl.k8s.io/release/v1.34.0/bin/linux/arm64/kubectl Validate the binary (optional)Download the kubectl checksum file: curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256\" curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/arm64/kubectl.sha256\" Validate the kubectl binary against the checksum file:echo \"$(cat kubectl.sha256) kubectl\" | sha256sum --check If valid, the output is:kubectl: OK If the check fails, sha256 exits with nonzero status and prints output similar to:kubectl: FAILED sha256sum: WARNING: 1 computed checksum did NOT match Note:Download the same version of the binary and checksum.Install kubectlsudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl Note:If you do not have root access on the target system, you can still install kubectl to the ~/.local/bin directory:chmod +x kubectl mkdir -p ~/.local/bin mv ./kubectl ~/.local/bin/kubectl # and then append (or prepend) ~/.local/bin to $PATH Test to ensure the version you installed is up-to-date:kubectl version --client Or use this for detailed view of version:kubectl version --client --output=yaml Install using native package managementUpdate the apt package index and install packages needed to use the Kubernetes apt repository:sudo apt-get update # apt-transport-https may be a dummy package; if so, you can skip that package sudo apt-get install -y apt-transport-https ca-certificates curl gnupg Download the public signing key for the Kubernetes package repositories. The same signing key is used for all repositories so you can disregard the version in the URL:# If the folder `/etc/apt/keyrings` does not exist, it should be created before the curl command, read the note below. # sudo mkdir -p -m 755 /etc/apt/keyrings curl -fsSL https://pkgs.k8s.i",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_qa_3845"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   m u s t   u s e   a   k u b e c t l   v e r s i o n   t h a t   i s   w i t h i n   o n e   m i n o r   v e r s i o n   d i f f e r e n c e   o f   y o u r   c l u s t e r .   F o r   e x a m p l e ,   a   v 1 . 3 4   c l i e n t   c a n   c o m m u n i c a t e   w i t h   v 1 . 3 3 ,   v 1 . 3 4 ,   a n d   v 1 . 3 5   c o n t r o l   p l a n e s .   U s i n g   t h e   l a t e s t   c o m p a t i b l e   v e r s i o n   o f   k u b e c t l   h e l p s   a v o i d   u n f o r e s e e n   i s s u e s .",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_section_2_3846"
  },
  {
    "question": "What is Install kubectl on Linux?",
    "answer": "T h e   f o l l o w i n g   m e t h o d s   e x i s t   f o r   i n s t a l l i n g   k u b e c t l   o n   L i n u x :   I n s t a l l   k u b e c t l   b i n a r y   w i t h   c u r l   o n   L i n u x I n s t a l l   u s i n g   n a t i v e   p a c k a g e   m a n a g e m e n t I n s t a l l   u s i n g   o t h e r   p a c k a g e   m a n a g e m e n t",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_section_2_3847"
  },
  {
    "question": "What is Install kubectl binary with curl on Linux?",
    "answer": "D o w n l o a d   t h e   l a t e s t   r e l e a s e   w i t h   t h e   c o m m a n d :   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a m d 6 4 / k u b e c t l \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a r m 6 4 / k u b e c t l \"   N o t e : T o   d o w n l o a d   a   s p e c i f i c   v e r s i o n ,   r e p l a c e   t h e   $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t )   p o r t i o n   o f   t h e   c o m m a n d   w i t h   t h e   s p e c i f i c   v e r s i o n . F o r   e x a m p l e ,   t o   d o w n l o a d   v e r s i o n   1 . 3 4 . 0   o n   L i n u x   x 8 6 - 6 4 ,   t y p e : c u r l   - L O   h t t p s : / / d l . k 8 s . i o / r e l e a s e / v 1 . 3 4 . 0 / b i n / l i n u x / a m d 6 4 / k u b e c t l   A n d   f o r   L i n u x   A R M 6 4 ,   t y p e : c u r l   - L O   h t t p s : / / d l . k 8 s . i o / r e l e a s e / v 1 . 3 4 . 0 / b i n / l i n u x / a r m 6 4 / k u b e c t l   V a l i d a t e   t h e   b i n a r y   ( o p t i o n a l ) D o w n l o a d   t h e   k u b e c t l   c h e c k s u m   f i l e :   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a m d 6 4 / k u b e c t l . s h a 2 5 6 \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a r m 6 4 / k u b e c t l . s h a 2 5 6 \"   V a l i d a t e   t h e   k u b e c t l   b i n a r y   a g a i n s t   t h e   c h e c k s u m   f i l e : e ",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_section_3_3848"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   d o w n l o a d   a   s p e c i f i c   v e r s i o n ,   r e p l a c e   t h e   $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t )   p o r t i o n   o f   t h e   c o m m a n d   w i t h   t h e   s p e c i f i c   v e r s i o n .   F o r   e x a m p l e ,   t o   d o w n l o a d   v e r s i o n   1 . 3 4 . 0   o n   L i n u x   x 8 6 - 6 4 ,   t y p e :   c u r l   - L O   h t t p s : / / d l . k 8 s . i o / r e l e a s e / v 1 . 3 4 . 0 / b i n / l i n u x / a m d 6 4 / k u b e c t l   A n d   f o r   L i n u x   A R M 6 4 ,   t y p e :   c u r l   - L O   h t t p s : / / d l . k 8 s . i o / r e l e a s e / v 1 . 3 4 . 0 / b i n / l i n u x / a r m 6 4 / k u b e c t l   V a l i d a t e   t h e   b i n a r y   ( o p t i o n a l )   D o w n l o a d   t h e   k u b e c t l   c h e c k s u m   f i l e :   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a m d 6 4 / k u b e c t l . s h a 2 5 6 \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a m d 6 4 / k u b e c t l . s h a 2 5 6 \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a r m 6 4 / k u b e c t l . s h a 2 5 6 \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a r m 6 4 / k u b e c t l . s h a 2 5 6 \"   V a l i d a t e   t h e   k u b e c t l   b i n a r y   a g a i n s t   t h e   c h e c k s u m   f i l e :   e c h o   \" $ ( c a t   k u b e c t l . s h a 2 5 6 )   k u b e c ",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_section_4_3849"
  },
  {
    "question": "What is Note:?",
    "answer": "I n s t a l l   k u b e c t l   s u d o   i n s t a l l   - o   r o o t   - g   r o o t   - m   0 7 5 5   k u b e c t l   / u s r / l o c a l / b i n / k u b e c t l",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_section_4_3850"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   d o   n o t   h a v e   r o o t   a c c e s s   o n   t h e   t a r g e t   s y s t e m ,   y o u   c a n   s t i l l   i n s t a l l   k u b e c t l   t o   t h e   ~ / . l o c a l / b i n   d i r e c t o r y :   c h m o d   + x   k u b e c t l   m k d i r   - p   ~ / . l o c a l / b i n   m v   . / k u b e c t l   ~ / . l o c a l / b i n / k u b e c t l   #   a n d   t h e n   a p p e n d   ( o r   p r e p e n d )   ~ / . l o c a l / b i n   t o   $ P A T H   T e s t   t o   e n s u r e   t h e   v e r s i o n   y o u   i n s t a l l e d   i s   u p - t o - d a t e :   k u b e c t l   v e r s i o n   - - c l i e n t   O r   u s e   t h i s   f o r   d e t a i l e d   v i e w   o f   v e r s i o n :   k u b e c t l   v e r s i o n   - - c l i e n t   - - o u t p u t = y a m l",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_section_4_3851"
  },
  {
    "question": "What is Install using native package management?",
    "answer": "U p d a t e   t h e   a p t   p a c k a g e   i n d e x   a n d   i n s t a l l   p a c k a g e s   n e e d e d   t o   u s e   t h e   K u b e r n e t e s   a p t   r e p o s i t o r y : s u d o   a p t - g e t   u p d a t e   #   a p t - t r a n s p o r t - h t t p s   m a y   b e   a   d u m m y   p a c k a g e ;   i f   s o ,   y o u   c a n   s k i p   t h a t   p a c k a g e   s u d o   a p t - g e t   i n s t a l l   - y   a p t - t r a n s p o r t - h t t p s   c a - c e r t i f i c a t e s   c u r l   g n u p g   D o w n l o a d   t h e   p u b l i c   s i g n i n g   k e y   f o r   t h e   K u b e r n e t e s   p a c k a g e   r e p o s i t o r i e s .   T h e   s a m e   s i g n i n g   k e y   i s   u s e d   f o r   a l l   r e p o s i t o r i e s   s o   y o u   c a n   d i s r e g a r d   t h e   v e r s i o n   i n   t h e   U R L : #   I f   t h e   f o l d e r   ` / e t c / a p t / k e y r i n g s `   d o e s   n o t   e x i s t ,   i t   s h o u l d   b e   c r e a t e d   b e f o r e   t h e   c u r l   c o m m a n d ,   r e a d   t h e   n o t e   b e l o w .   #   s u d o   m k d i r   - p   - m   7 5 5   / e t c / a p t / k e y r i n g s   c u r l   - f s S L   h t t p s : / / p k g s . k 8 s . i o / c o r e : / s t a b l e : / v 1 . 3 4 / d e b / R e l e a s e . k e y   |   s u d o   g p g   - - d e a r m o r   - o   / e t c / a p t / k e y r i n g s / k u b e r n e t e s - a p t - k e y r i n g . g p g   s u d o   c h m o d   6 4 4   / e t c / a p t / k e y r i n g s / k u b e r n e t e s - a p t - k e y r i n g . g p g   #   a l l o w   u n p r i v i l e g e d   A P T   p r o g r a m s   t o   r e a d   t h i s   k e y r i n g   N o t e : I n   r e l e a s e s   o l d e r   t h a n   D e b i a n   1 2   a n d   U b u n t u   2 2 . 0 4 ,   f o l d e r   / e t c / a p t / k e y r i n g s   d o e s   n o t   e x i s t   b y   d e f a u l t ,   a n d   i t   s h o u l d   b e   c r e a t e d   b e f o r e   t h e   c u r l   c o m m a n d . A ",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_section_3_3852"
  },
  {
    "question": "What is Note:?",
    "answer": "A d d   t h e   a p p r o p r i a t e   K u b e r n e t e s   a p t   r e p o s i t o r y .   I f   y o u   w a n t   t o   u s e   K u b e r n e t e s   v e r s i o n   d i f f e r e n t   t h a n   v 1 . 3 4 ,   r e p l a c e   v 1 . 3 4   w i t h   t h e   d e s i r e d   m i n o r   v e r s i o n   i n   t h e   c o m m a n d   b e l o w : #   T h i s   o v e r w r i t e s   a n y   e x i s t i n g   c o n f i g u r a t i o n   i n   / e t c / a p t / s o u r c e s . l i s t . d / k u b e r n e t e s . l i s t   e c h o   ' d e b   [ s i g n e d - b y = / e t c / a p t / k e y r i n g s / k u b e r n e t e s - a p t - k e y r i n g . g p g ]   h t t p s : / / p k g s . k 8 s . i o / c o r e : / s t a b l e : / v 1 . 3 4 / d e b /   / '   |   s u d o   t e e   / e t c / a p t / s o u r c e s . l i s t . d / k u b e r n e t e s . l i s t   s u d o   c h m o d   6 4 4   / e t c / a p t / s o u r c e s . l i s t . d / k u b e r n e t e s . l i s t   #   h e l p s   t o o l s   s u c h   a s   c o m m a n d - n o t - f o u n d   t o   w o r k   c o r r e c t l y   A d d   t h e   a p p r o p r i a t e   K u b e r n e t e s   a p t   r e p o s i t o r y .   I f   y o u   w a n t   t o   u s e   K u b e r n e t e s   v e r s i o n   d i f f e r e n t   t h a n   v 1 . 3 4 ,   r e p l a c e   v 1 . 3 4   w i t h   t h e   d e s i r e d   m i n o r   v e r s i o n   i n   t h e   c o m m a n d   b e l o w :   #   T h i s   o v e r w r i t e s   a n y   e x i s t i n g   c o n f i g u r a t i o n   i n   / e t c / a p t / s o u r c e s . l i s t . d / k u b e r n e t e s . l i s t   e c h o   ' d e b   [ s i g n e d - b y = / e t c / a p t / k e y r i n g s / k u b e r n e t e s - a p t - k e y r i n g . g p g ]   h t t p s : / / p k g s . k 8 s . i o / c o r e : / s t a b l e : / v 1 . 3 4 / d e b /   / '   |   s u d o   t e e   / e t c / a p t / s o u r c e s . l i s t . d / k u b e r n e t e s . l i s t   s u d o   c h m o d   6 4 4   / e t c / a p t / s o u r c e s . ",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_section_4_3853"
  },
  {
    "question": "What is Note:?",
    "answer": "U p d a t e   a p t   p a c k a g e   i n d e x ,   t h e n   i n s t a l l   k u b e c t l : s u d o   a p t - g e t   u p d a t e   s u d o   a p t - g e t   i n s t a l l   - y   k u b e c t l   U p d a t e   a p t   p a c k a g e   i n d e x ,   t h e n   i n s t a l l   k u b e c t l :   s u d o   a p t - g e t   u p d a t e   s u d o   a p t - g e t   i n s t a l l   - y   k u b e c t l   A d d   t h e   K u b e r n e t e s   y u m   r e p o s i t o r y .   I f   y o u   w a n t   t o   u s e   K u b e r n e t e s   v e r s i o n   d i f f e r e n t   t h a n   v 1 . 3 4 ,   r e p l a c e   v 1 . 3 4   w i t h   t h e   d e s i r e d   m i n o r   v e r s i o n   i n   t h e   c o m m a n d   b e l o w . #   T h i s   o v e r w r i t e s   a n y   e x i s t i n g   c o n f i g u r a t i o n   i n   / e t c / y u m . r e p o s . d / k u b e r n e t e s . r e p o   c a t   < < E O F   |   s u d o   t e e   / e t c / y u m . r e p o s . d / k u b e r n e t e s . r e p o   [ k u b e r n e t e s ]   n a m e = K u b e r n e t e s   b a s e u r l = h t t p s : / / p k g s . k 8 s . i o / c o r e : / s t a b l e : / v 1 . 3 4 / r p m /   e n a b l e d = 1   g p g c h e c k = 1   g p g k e y = h t t p s : / / p k g s . k 8 s . i o / c o r e : / s t a b l e : / v 1 . 3 4 / r p m / r e p o d a t a / r e p o m d . x m l . k e y   E O F   N o t e : T o   u p g r a d e   k u b e c t l   t o   a n o t h e r   m i n o r   r e l e a s e ,   y o u ' l l   n e e d   t o   b u m p   t h e   v e r s i o n   i n   / e t c / y u m . r e p o s . d / k u b e r n e t e s . r e p o   b e f o r e   r u n n i n g   y u m   u p d a t e .   T h i s   p r o c e d u r e   i s   d e s c r i b e d   i n   m o r e   d e t a i l   i n   C h a n g i n g   T h e   K u b e r n e t e s   P a c k a g e   R e p o s i t o r y . I n s t a l l   k u b e c t l   u s i n g   y u m : s u d o   y u m   i n s t a l l   - y   k u b e c t l   A d d   t h e   K u b e r n e t e s   y u m   r e p o s i t o r y .   ",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_section_4_3854"
  },
  {
    "question": "What is Note:?",
    "answer": "I n s t a l l   k u b e c t l   u s i n g   y u m : s u d o   y u m   i n s t a l l   - y   k u b e c t l   I n s t a l l   k u b e c t l   u s i n g   y u m :   s u d o   y u m   i n s t a l l   - y   k u b e c t l   A d d   t h e   K u b e r n e t e s   z y p p e r   r e p o s i t o r y .   I f   y o u   w a n t   t o   u s e   K u b e r n e t e s   v e r s i o n   d i f f e r e n t   t h a n   v 1 . 3 4 ,   r e p l a c e   v 1 . 3 4   w i t h   t h e   d e s i r e d   m i n o r   v e r s i o n   i n   t h e   c o m m a n d   b e l o w . #   T h i s   o v e r w r i t e s   a n y   e x i s t i n g   c o n f i g u r a t i o n   i n   / e t c / z y p p / r e p o s . d / k u b e r n e t e s . r e p o   c a t   < < E O F   |   s u d o   t e e   / e t c / z y p p / r e p o s . d / k u b e r n e t e s . r e p o   [ k u b e r n e t e s ]   n a m e = K u b e r n e t e s   b a s e u r l = h t t p s : / / p k g s . k 8 s . i o / c o r e : / s t a b l e : / v 1 . 3 4 / r p m /   e n a b l e d = 1   g p g c h e c k = 1   g p g k e y = h t t p s : / / p k g s . k 8 s . i o / c o r e : / s t a b l e : / v 1 . 3 4 / r p m / r e p o d a t a / r e p o m d . x m l . k e y   E O F   N o t e : T o   u p g r a d e   k u b e c t l   t o   a n o t h e r   m i n o r   r e l e a s e ,   y o u ' l l   n e e d   t o   b u m p   t h e   v e r s i o n   i n   / e t c / z y p p / r e p o s . d / k u b e r n e t e s . r e p o   b e f o r e   r u n n i n g   z y p p e r   u p d a t e .   T h i s   p r o c e d u r e   i s   d e s c r i b e d   i n   m o r e   d e t a i l   i n   C h a n g i n g   T h e   K u b e r n e t e s   P a c k a g e   R e p o s i t o r y . U p d a t e   z y p p e r   a n d   c o n f i r m   t h e   n e w   r e p o   a d d i t i o n : s u d o   z y p p e r   u p d a t e   W h e n   t h i s   m e s s a g e   a p p e a r s ,   p r e s s   ' t '   o r   ' a ' : N e w   r e p o s i t o r y   o r   p a c k a g e   s i g n i n g   k e y   r e c e i v e d :   R e p o s i t o r y : ",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_section_4_3855"
  },
  {
    "question": "What is Note:?",
    "answer": "U p d a t e   z y p p e r   a n d   c o n f i r m   t h e   n e w   r e p o   a d d i t i o n : s u d o   z y p p e r   u p d a t e   W h e n   t h i s   m e s s a g e   a p p e a r s ,   p r e s s   ' t '   o r   ' a ' : N e w   r e p o s i t o r y   o r   p a c k a g e   s i g n i n g   k e y   r e c e i v e d :   R e p o s i t o r y :   K u b e r n e t e s   K e y   F i n g e r p r i n t :   1 1 1 1   2 2 2 2   3 3 3 3   4 4 4 4   5 5 5 5   6 6 6 6   7 7 7 7   8 8 8 8   9 9 9 9   A A A A   K e y   N a m e :   i s v : k u b e r n e t e s   O B S   P r o j e c t   < i s v : k u b e r n e t e s @ b u i l d . o p e n s u s e . o r g >   K e y   A l g o r i t h m :   R S A   2 0 4 8   K e y   C r e a t e d :   T h u   2 5   A u g   2 0 2 2   0 1 : 2 1 : 1 1   P M   - 0 3   K e y   E x p i r e s :   S a t   0 2   N o v   2 0 2 4   0 1 : 2 1 : 1 1   P M   - 0 3   ( e x p i r e s   i n   8 5   d a y s )   R p m   N a m e :   g p g - p u b k e y - 9 a 2 9 6 4 3 6 - 6 3 0 7 a 1 7 7   N o t e :   S i g n i n g   d a t a   e n a b l e s   t h e   r e c i p i e n t   t o   v e r i f y   t h a t   n o   m o d i f i c a t i o n s   o c c u r r e d   a f t e r   t h e   d a t a   w e r e   s i g n e d .   A c c e p t i n g   d a t a   w i t h   n o ,   w r o n g   o r   u n k n o w n   s i g n a t u r e   c a n   l e a d   t o   a   c o r r u p t e d   s y s t e m   a n d   i n   e x t r e m e   c a s e s   e v e n   t o   a   s y s t e m   c o m p r o m i s e .   N o t e :   A   G P G   p u b k e y   i s   c l e a r l y   i d e n t i f i e d   b y   i t s   f i n g e r p r i n t .   D o   n o t   r e l y   o n   t h e   k e y ' s   n a m e .   I f   y o u   a r e   n o t   s u r e   w h e t h e r   t h e   p r e s e n t e d   k e y   i s   a u t h e n t i c ,   a s k   t h e   r e p o s i t o r y   p r o v i d e r   o r   c h e c k   t h e i r   w e b   s i t e .   M a n y   p r o v i d e r s   m a i n t a i n   a   w e b   p a g e   s h o w i n g   t h e   f i n g e r p r i n ",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_section_4_3856"
  },
  {
    "question": "What is Install using other package management?",
    "answer": "I f   y o u   a r e   o n   U b u n t u   o r   a n o t h e r   L i n u x   d i s t r i b u t i o n   t h a t   s u p p o r t s   t h e   s n a p   p a c k a g e   m a n a g e r ,   k u b e c t l   i s   a v a i l a b l e   a s   a   s n a p   a p p l i c a t i o n . s n a p   i n s t a l l   k u b e c t l   - - c l a s s i c   k u b e c t l   v e r s i o n   - - c l i e n t   I f   y o u   a r e   o n   U b u n t u   o r   a n o t h e r   L i n u x   d i s t r i b u t i o n   t h a t   s u p p o r t s   t h e   s n a p   p a c k a g e   m a n a g e r ,   k u b e c t l   i s   a v a i l a b l e   a s   a   s n a p   a p p l i c a t i o n .   s n a p   i n s t a l l   k u b e c t l   - - c l a s s i c   k u b e c t l   v e r s i o n   - - c l i e n t   I f   y o u   a r e   o n   L i n u x   a n d   u s i n g   H o m e b r e w   p a c k a g e   m a n a g e r ,   k u b e c t l   i s   a v a i l a b l e   f o r   i n s t a l l a t i o n . b r e w   i n s t a l l   k u b e c t l   k u b e c t l   v e r s i o n   - - c l i e n t   I f   y o u   a r e   o n   L i n u x   a n d   u s i n g   H o m e b r e w   p a c k a g e   m a n a g e r ,   k u b e c t l   i s   a v a i l a b l e   f o r   i n s t a l l a t i o n .   b r e w   i n s t a l l   k u b e c t l   k u b e c t l   v e r s i o n   - - c l i e n t",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_section_3_3857"
  },
  {
    "question": "What is Verify kubectl configuration?",
    "answer": "I n   o r d e r   f o r   k u b e c t l   t o   f i n d   a n d   a c c e s s   a   K u b e r n e t e s   c l u s t e r ,   i t   n e e d s   a   k u b e c o n f i g   f i l e ,   w h i c h   i s   c r e a t e d   a u t o m a t i c a l l y   w h e n   y o u   c r e a t e   a   c l u s t e r   u s i n g   k u b e - u p . s h   o r   s u c c e s s f u l l y   d e p l o y   a   M i n i k u b e   c l u s t e r .   B y   d e f a u l t ,   k u b e c t l   c o n f i g u r a t i o n   i s   l o c a t e d   a t   ~ / . k u b e / c o n f i g .   C h e c k   t h a t   k u b e c t l   i s   p r o p e r l y   c o n f i g u r e d   b y   g e t t i n g   t h e   c l u s t e r   s t a t e :   k u b e c t l   c l u s t e r - i n f o   I f   y o u   s e e   a   U R L   r e s p o n s e ,   k u b e c t l   i s   c o r r e c t l y   c o n f i g u r e d   t o   a c c e s s   y o u r   c l u s t e r .   I f   y o u   s e e   a   m e s s a g e   s i m i l a r   t o   t h e   f o l l o w i n g ,   k u b e c t l   i s   n o t   c o n f i g u r e d   c o r r e c t l y   o r   i s   n o t   a b l e   t o   c o n n e c t   t o   a   K u b e r n e t e s   c l u s t e r .   T h e   c o n n e c t i o n   t o   t h e   s e r v e r   < s e r v e r - n a m e : p o r t >   w a s   r e f u s e d   -   d i d   y o u   s p e c i f y   t h e   r i g h t   h o s t   o r   p o r t ?   F o r   e x a m p l e ,   i f   y o u   a r e   i n t e n d i n g   t o   r u n   a   K u b e r n e t e s   c l u s t e r   o n   y o u r   l a p t o p   ( l o c a l l y ) ,   y o u   w i l l   n e e d   a   t o o l   l i k e   M i n i k u b e   t o   b e   i n s t a l l e d   f i r s t   a n d   t h e n   r e - r u n   t h e   c o m m a n d s   s t a t e d   a b o v e .   I f   k u b e c t l   c l u s t e r - i n f o   r e t u r n s   t h e   u r l   r e s p o n s e   b u t   y o u   c a n ' t   a c c e s s   y o u r   c l u s t e r ,   t o   c h e c k   w h e t h e r   i t   i s   c o n f i g u r e d   p r o p e r l y ,   u ",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_section_2_3858"
  },
  {
    "question": "What is Troubleshooting the 'No Auth Provider Found' error message?",
    "answer": "I n   K u b e r n e t e s   1 . 2 6 ,   k u b e c t l   r e m o v e d   t h e   b u i l t - i n   a u t h e n t i c a t i o n   f o r   t h e   f o l l o w i n g   c l o u d   p r o v i d e r s '   m a n a g e d   K u b e r n e t e s   o f f e r i n g s .   T h e s e   p r o v i d e r s   h a v e   r e l e a s e d   k u b e c t l   p l u g i n s   t o   p r o v i d e   t h e   c l o u d - s p e c i f i c   a u t h e n t i c a t i o n .   F o r   i n s t r u c t i o n s ,   r e f e r   t o   t h e   f o l l o w i n g   p r o v i d e r   d o c u m e n t a t i o n :   A z u r e   A K S :   k u b e l o g i n   p l u g i n G o o g l e   K u b e r n e t e s   E n g i n e :   g k e - g c l o u d - a u t h - p l u g i n   ( T h e r e   c o u l d   a l s o   b e   o t h e r   r e a s o n s   t o   s e e   t h e   s a m e   e r r o r   m e s s a g e ,   u n r e l a t e d   t o   t h a t   c h a n g e . )",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_section_3_3859"
  },
  {
    "question": "What is Enable shell autocompletion?",
    "answer": "k u b e c t l   p r o v i d e s   a u t o c o m p l e t i o n   s u p p o r t   f o r   B a s h ,   Z s h ,   F i s h ,   a n d   P o w e r S h e l l ,   w h i c h   c a n   s a v e   y o u   a   l o t   o f   t y p i n g .   B e l o w   a r e   t h e   p r o c e d u r e s   t o   s e t   u p   a u t o c o m p l e t i o n   f o r   B a s h ,   F i s h ,   a n d   Z s h .   I n t r o d u c t i o n T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   f o r   B a s h   c a n   b e   g e n e r a t e d   w i t h   t h e   c o m m a n d   k u b e c t l   c o m p l e t i o n   b a s h .   S o u r c i n g   t h e   c o m p l e t i o n   s c r i p t   i n   y o u r   s h e l l   e n a b l e s   k u b e c t l   a u t o c o m p l e t i o n . H o w e v e r ,   t h e   c o m p l e t i o n   s c r i p t   d e p e n d s   o n   b a s h - c o m p l e t i o n ,   w h i c h   m e a n s   t h a t   y o u   h a v e   t o   i n s t a l l   t h i s   s o f t w a r e   f i r s t   ( y o u   c a n   t e s t   i f   y o u   h a v e   b a s h - c o m p l e t i o n   a l r e a d y   i n s t a l l e d   b y   r u n n i n g   t y p e   _ i n i t _ c o m p l e t i o n ) . I n s t a l l   b a s h - c o m p l e t i o n b a s h - c o m p l e t i o n   i s   p r o v i d e d   b y   m a n y   p a c k a g e   m a n a g e r s   ( s e e   h e r e ) .   Y o u   c a n   i n s t a l l   i t   w i t h   a p t - g e t   i n s t a l l   b a s h - c o m p l e t i o n   o r   y u m   i n s t a l l   b a s h - c o m p l e t i o n ,   e t c . T h e   a b o v e   c o m m a n d s   c r e a t e   / u s r / s h a r e / b a s h - c o m p l e t i o n / b a s h _ c o m p l e t i o n ,   w h i c h   i s   t h e   m a i n   s c r i p t   o f   b a s h - c o m p l e t i o n .   D e p e n d i n g   o n   y o u r   p a c k a g e   m a n a g e r ,   y o u   h a v e   t o   m a n u a l l y   s o u r c e   t h i s   f i l e   i n   y o u r   ~ / . b a s h r c   f i l e . T o   f i n d   o u t ,   r e l o a d   y o u r   ",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_section_3_3860"
  },
  {
    "question": "What is Introduction?",
    "answer": "T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   f o r   B a s h   c a n   b e   g e n e r a t e d   w i t h   t h e   c o m m a n d   k u b e c t l   c o m p l e t i o n   b a s h .   S o u r c i n g   t h e   c o m p l e t i o n   s c r i p t   i n   y o u r   s h e l l   e n a b l e s   k u b e c t l   a u t o c o m p l e t i o n .   H o w e v e r ,   t h e   c o m p l e t i o n   s c r i p t   d e p e n d s   o n   b a s h - c o m p l e t i o n ,   w h i c h   m e a n s   t h a t   y o u   h a v e   t o   i n s t a l l   t h i s   s o f t w a r e   f i r s t   ( y o u   c a n   t e s t   i f   y o u   h a v e   b a s h - c o m p l e t i o n   a l r e a d y   i n s t a l l e d   b y   r u n n i n g   t y p e   _ i n i t _ c o m p l e t i o n ) .",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_section_3_3861"
  },
  {
    "question": "What is Install bash-completion?",
    "answer": "b a s h - c o m p l e t i o n   i s   p r o v i d e d   b y   m a n y   p a c k a g e   m a n a g e r s   ( s e e   h e r e ) .   Y o u   c a n   i n s t a l l   i t   w i t h   a p t - g e t   i n s t a l l   b a s h - c o m p l e t i o n   o r   y u m   i n s t a l l   b a s h - c o m p l e t i o n ,   e t c .   T h e   a b o v e   c o m m a n d s   c r e a t e   / u s r / s h a r e / b a s h - c o m p l e t i o n / b a s h _ c o m p l e t i o n ,   w h i c h   i s   t h e   m a i n   s c r i p t   o f   b a s h - c o m p l e t i o n .   D e p e n d i n g   o n   y o u r   p a c k a g e   m a n a g e r ,   y o u   h a v e   t o   m a n u a l l y   s o u r c e   t h i s   f i l e   i n   y o u r   ~ / . b a s h r c   f i l e .   T o   f i n d   o u t ,   r e l o a d   y o u r   s h e l l   a n d   r u n   t y p e   _ i n i t _ c o m p l e t i o n .   I f   t h e   c o m m a n d   s u c c e e d s ,   y o u ' r e   a l r e a d y   s e t ,   o t h e r w i s e   a d d   t h e   f o l l o w i n g   t o   y o u r   ~ / . b a s h r c   f i l e :   s o u r c e   / u s r / s h a r e / b a s h - c o m p l e t i o n / b a s h _ c o m p l e t i o n   R e l o a d   y o u r   s h e l l   a n d   v e r i f y   t h a t   b a s h - c o m p l e t i o n   i s   c o r r e c t l y   i n s t a l l e d   b y   t y p i n g   t y p e   _ i n i t _ c o m p l e t i o n .",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_section_3_3862"
  },
  {
    "question": "What is Bash?",
    "answer": "Y o u   n o w   n e e d   t o   e n s u r e   t h a t   t h e   k u b e c t l   c o m p l e t i o n   s c r i p t   g e t s   s o u r c e d   i n   a l l   y o u r   s h e l l   s e s s i o n s .   T h e r e   a r e   t w o   w a y s   i n   w h i c h   y o u   c a n   d o   t h i s :   e c h o   ' s o u r c e   < ( k u b e c t l   c o m p l e t i o n   b a s h ) '   > > ~ / . b a s h r c   e c h o   ' s o u r c e   < ( k u b e c t l   c o m p l e t i o n   b a s h ) '   > > ~ / . b a s h r c   k u b e c t l   c o m p l e t i o n   b a s h   |   s u d o   t e e   / e t c / b a s h _ c o m p l e t i o n . d / k u b e c t l   >   / d e v / n u l l   s u d o   c h m o d   a + r   / e t c / b a s h _ c o m p l e t i o n . d / k u b e c t l   k u b e c t l   c o m p l e t i o n   b a s h   |   s u d o   t e e   / e t c / b a s h _ c o m p l e t i o n . d / k u b e c t l   >   / d e v / n u l l   s u d o   c h m o d   a + r   / e t c / b a s h _ c o m p l e t i o n . d / k u b e c t l   I f   y o u   h a v e   a n   a l i a s   f o r   k u b e c t l ,   y o u   c a n   e x t e n d   s h e l l   c o m p l e t i o n   t o   w o r k   w i t h   t h a t   a l i a s :   e c h o   ' a l i a s   k = k u b e c t l '   > > ~ / . b a s h r c   e c h o   ' c o m p l e t e   - o   d e f a u l t   - F   _ _ s t a r t _ k u b e c t l   k '   > > ~ / . b a s h r c",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_section_4_3863"
  },
  {
    "question": "What is Note:?",
    "answer": "B o t h   a p p r o a c h e s   a r e   e q u i v a l e n t .   A f t e r   r e l o a d i n g   y o u r   s h e l l ,   k u b e c t l   a u t o c o m p l e t i o n   s h o u l d   b e   w o r k i n g .   T o   e n a b l e   b a s h   a u t o c o m p l e t i o n   i n   c u r r e n t   s e s s i o n   o f   s h e l l ,   s o u r c e   t h e   ~ / . b a s h r c   f i l e :   s o u r c e   ~ / . b a s h r c   N o t e : A u t o c o m p l e t e   f o r   F i s h   r e q u i r e s   k u b e c t l   1 . 2 3   o r   l a t e r . T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   f o r   F i s h   c a n   b e   g e n e r a t e d   w i t h   t h e   c o m m a n d   k u b e c t l   c o m p l e t i o n   f i s h .   S o u r c i n g   t h e   c o m p l e t i o n   s c r i p t   i n   y o u r   s h e l l   e n a b l e s   k u b e c t l   a u t o c o m p l e t i o n . T o   d o   s o   i n   a l l   y o u r   s h e l l   s e s s i o n s ,   a d d   t h e   f o l l o w i n g   l i n e   t o   y o u r   ~ / . c o n f i g / f i s h / c o n f i g . f i s h   f i l e : k u b e c t l   c o m p l e t i o n   f i s h   |   s o u r c e   A f t e r   r e l o a d i n g   y o u r   s h e l l ,   k u b e c t l   a u t o c o m p l e t i o n   s h o u l d   b e   w o r k i n g .",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_section_4_3864"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   f o r   F i s h   c a n   b e   g e n e r a t e d   w i t h   t h e   c o m m a n d   k u b e c t l   c o m p l e t i o n   f i s h .   S o u r c i n g   t h e   c o m p l e t i o n   s c r i p t   i n   y o u r   s h e l l   e n a b l e s   k u b e c t l   a u t o c o m p l e t i o n .   T o   d o   s o   i n   a l l   y o u r   s h e l l   s e s s i o n s ,   a d d   t h e   f o l l o w i n g   l i n e   t o   y o u r   ~ / . c o n f i g / f i s h / c o n f i g . f i s h   f i l e :   k u b e c t l   c o m p l e t i o n   f i s h   |   s o u r c e   A f t e r   r e l o a d i n g   y o u r   s h e l l ,   k u b e c t l   a u t o c o m p l e t i o n   s h o u l d   b e   w o r k i n g .   T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   f o r   Z s h   c a n   b e   g e n e r a t e d   w i t h   t h e   c o m m a n d   k u b e c t l   c o m p l e t i o n   z s h .   S o u r c i n g   t h e   c o m p l e t i o n   s c r i p t   i n   y o u r   s h e l l   e n a b l e s   k u b e c t l   a u t o c o m p l e t i o n . T o   d o   s o   i n   a l l   y o u r   s h e l l   s e s s i o n s ,   a d d   t h e   f o l l o w i n g   t o   y o u r   ~ / . z s h r c   f i l e : s o u r c e   < ( k u b e c t l   c o m p l e t i o n   z s h )   I f   y o u   h a v e   a n   a l i a s   f o r   k u b e c t l ,   k u b e c t l   a u t o c o m p l e t i o n   w i l l   a u t o m a t i c a l l y   w o r k   w i t h   i t . A f t e r   r e l o a d i n g   y o u r   s h e l l ,   k u b e c t l   a u t o c o m p l e t i o n   s h o u l d   b e   w o r k i n g . I f   y o u   g e t   a n   e r r o r   l i k e   2 :   c o m m a n d   n o t   f o u n d :   c o m p d e f ,   t h e n   a d d   t h e   f o l l o w i n g   t o   t h e   b e g i n n i n g   o f   y o u r   ~ / . z s h r c   f i l e : a u t o l o a d   - U z   c o m p i n i t   c o m p i n i t   T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   f o ",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_section_4_3865"
  },
  {
    "question": "What is Configure kuberc?",
    "answer": "S e e   k u b e r c   f o r   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_section_3_3866"
  },
  {
    "question": "What is Install kubectl convert plugin?",
    "answer": "A   p l u g i n   f o r   K u b e r n e t e s   c o m m a n d - l i n e   t o o l   k u b e c t l ,   w h i c h   a l l o w s   y o u   t o   c o n v e r t   m a n i f e s t s   b e t w e e n   d i f f e r e n t   A P I   v e r s i o n s .   T h i s   c a n   b e   p a r t i c u l a r l y   h e l p f u l   t o   m i g r a t e   m a n i f e s t s   t o   a   n o n - d e p r e c a t e d   a p i   v e r s i o n   w i t h   n e w e r   K u b e r n e t e s   r e l e a s e .   F o r   m o r e   i n f o ,   v i s i t   m i g r a t e   t o   n o n   d e p r e c a t e d   a p i s   D o w n l o a d   t h e   l a t e s t   r e l e a s e   w i t h   t h e   c o m m a n d :   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a m d 6 4 / k u b e c t l - c o n v e r t \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a r m 6 4 / k u b e c t l - c o n v e r t \"   V a l i d a t e   t h e   b i n a r y   ( o p t i o n a l ) D o w n l o a d   t h e   k u b e c t l - c o n v e r t   c h e c k s u m   f i l e :   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a m d 6 4 / k u b e c t l - c o n v e r t . s h a 2 5 6 \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a r m 6 4 / k u b e c t l - c o n v e r t . s h a 2 5 6 \"   V a l i d a t e   t h e   k u b e c t l - c o n v e r t   b i n a r y   a g a i n s t   t h e   c h e c k s u m   f i l e : e c h o   \" $ ( c a t   k u b e c t l - c o n v e r t . s h a 2 5 6 ",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_section_3_3867"
  },
  {
    "question": "What is Note:?",
    "answer": "I n s t a l l   k u b e c t l - c o n v e r t   s u d o   i n s t a l l   - o   r o o t   - g   r o o t   - m   0 7 5 5   k u b e c t l - c o n v e r t   / u s r / l o c a l / b i n / k u b e c t l - c o n v e r t   V e r i f y   p l u g i n   i s   s u c c e s s f u l l y   i n s t a l l e d   k u b e c t l   c o n v e r t   - - h e l p   I f   y o u   d o   n o t   s e e   a n   e r r o r ,   i t   m e a n s   t h e   p l u g i n   i s   s u c c e s s f u l l y   i n s t a l l e d .   A f t e r   i n s t a l l i n g   t h e   p l u g i n ,   c l e a n   u p   t h e   i n s t a l l a t i o n   f i l e s :   r m   k u b e c t l - c o n v e r t   k u b e c t l - c o n v e r t . s h a 2 5 6",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_section_4_3868"
  },
  {
    "question": "What is What's next?",
    "answer": "I n s t a l l   M i n i k u b e S e e   t h e   g e t t i n g   s t a r t e d   g u i d e s   f o r   m o r e   a b o u t   c r e a t i n g   c l u s t e r s . L e a r n   h o w   t o   l a u n c h   a n d   e x p o s e   y o u r   a p p l i c a t i o n . I f   y o u   n e e d   a c c e s s   t o   a   c l u s t e r   y o u   d i d n ' t   c r e a t e ,   s e e   t h e   S h a r i n g   C l u s t e r   A c c e s s   d o c u m e n t . R e a d   t h e   k u b e c t l   r e f e r e n c e   d o c s",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/",
    "id": "k8s_00218_section_2_3869"
  },
  {
    "question": "What is Configure Minimum and Maximum Memory Constraints for a Namespace?",
    "answer": "Configure Minimum and Maximum Memory Constraints for a NamespaceDefine a range of valid memory resource limits for a namespace, so that every new Pod in that namespace falls within the range you configure.This page shows how to set minimum and maximum values for memory used by containers running in a namespace. You specify minimum and maximum memory values in a LimitRange object. If a Pod does not meet the constraints imposed by the LimitRange, it cannot be created in the namespace.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou must have access to create namespaces in your cluster.Each node in your cluster must have at least 1 GiB of memory available for Pods.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace constraints-mem-example Create a LimitRange and a PodHere's an example manifest for a LimitRange:admin/resource/memory-constraints.yaml apiVersion: v1 kind: LimitRange metadata: name: mem-min-max-demo-lr spec: limits: - max: memory: 1Gi min: memory: 500Mi type: Container Create the LimitRange:kubectl apply -f https://k8s.io/examples/admin/resource/memory-constraints.yaml --namespace=constraints-mem-example View detailed information about the LimitRange:kubectl get limitrange mem-min-max-demo-lr --namespace=constraints-mem-example --output=yaml The output shows the minimum and maximum memory constraints as expected. But notice that even though you didn't specify default values in the configuration file for the LimitRange, they were created automatically. limits: - default: memory: 1Gi defaultRequest: memory: 1Gi max: memory: 1Gi min: memory: 500Mi type: Container Now whenever you define a Pod within the constraints-mem-example namespace, Kubernetes performs these steps:If any container in that Pod does not specify its own memory request and limit, the control plane assigns the default memory request and limit to that container.Verify that every container in that Pod requests at least 500 MiB of memory.Verify that every container in that Pod requests no more than 1024 MiB (1 GiB) of memory.Here's a manifest for a Pod that has one container. Within the Pod spec, the sole container specifies a memory request of 600 MiB and a memory limit of 800 MiB. These satisfy the minimum and maximum memory constraints imposed by the LimitRange.admin/resource/memory-constraints-pod.yaml apiVersion: v1 kind: Pod metadata: name: constraints-mem-demo spec: containers: - name: constraints-mem-demo-ctr image: nginx resources: limits: memory: \"800Mi\" requests: memory: \"600Mi",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-constraint-namespace/",
    "id": "k8s_00219_qa_3870"
  },
  {
    "question": "How does Configure Minimum and Maximum Memory Constraints for a Namespace work?",
    "answer": "Configure Minimum and Maximum Memory Constraints for a NamespaceDefine a range of valid memory resource limits for a namespace, so that every new Pod in that namespace falls within the range you configure.This page shows how to set minimum and maximum values for memory used by containers running in a namespace. You specify minimum and maximum memory values in a LimitRange object. If a Pod does not meet the constraints imposed by the LimitRange, it cannot be created in the namespace.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou must have access to create namespaces in your cluster.Each node in your cluster must have at least 1 GiB of memory available for Pods.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace constraints-mem-example Create a LimitRange and a PodHere's an example manifest for a LimitRange:admin/resource/memory-constraints.yaml apiVersion: v1 kind: LimitRange metadata: name: mem-min-max-demo-lr spec: limits: - max: memory: 1Gi min: memory: 500Mi type: Container Create the LimitRange:kubectl apply -f https://k8s.io/examples/admin/resource/memory-constraints.yaml --namespace=constraints-mem-example View detailed information about the LimitRange:kubectl get limitrange mem-min-max-demo-lr --namespace=constraints-mem-example --output=yaml The output shows the minimum and maximum memory constraints as expected. But notice that even though you didn't specify default values in the configuration file for the LimitRange, they were created automatically. limits: - default: memory: 1Gi defaultRequest: memory: 1Gi max: memory: 1Gi min: memory: 500Mi type: Container Now whenever you define a Pod within the constraints-mem-example namespace, Kubernetes performs these steps:If any container in that Pod does not specify its own memory request and limit, the control plane assigns the default memory request and limit to that container.Verify that every container in that Pod requests at least 500 MiB of memory.Verify that every container in that Pod requests no more than 1024 MiB (1 GiB) of memory.Here's a manifest for a Pod that has one container. Within the Pod spec, the sole container specifies a memory request of 600 MiB and a memory limit of 800 MiB. These satisfy the minimum and maximum memory constraints imposed by the LimitRange.admin/resource/memory-constraints-pod.yaml apiVersion: v1 kind: Pod metadata: name: constraints-mem-demo spec: containers: - name: constraints-mem-demo-ctr image: nginx resources: limits: memory: \"800Mi\" requests: memory: \"600Mi",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-constraint-namespace/",
    "id": "k8s_00219_qa_3871"
  },
  {
    "question": "When would you use Configure Minimum and Maximum Memory Constraints for a Namespace?",
    "answer": "Configure Minimum and Maximum Memory Constraints for a NamespaceDefine a range of valid memory resource limits for a namespace, so that every new Pod in that namespace falls within the range you configure.This page shows how to set minimum and maximum values for memory used by containers running in a namespace. You specify minimum and maximum memory values in a LimitRange object. If a Pod does not meet the constraints imposed by the LimitRange, it cannot be created in the namespace.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou must have access to create namespaces in your cluster.Each node in your cluster must have at least 1 GiB of memory available for Pods.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace constraints-mem-example Create a LimitRange and a PodHere's an example manifest for a LimitRange:admin/resource/memory-constraints.yaml apiVersion: v1 kind: LimitRange metadata: name: mem-min-max-demo-lr spec: limits: - max: memory: 1Gi min: memory: 500Mi type: Container Create the LimitRange:kubectl apply -f https://k8s.io/examples/admin/resource/memory-constraints.yaml --namespace=constraints-mem-example View detailed information about the LimitRange:kubectl get limitrange mem-min-max-demo-lr --namespace=constraints-mem-example --output=yaml The output shows the minimum and maximum memory constraints as expected. But notice that even though you didn't specify default values in the configuration file for the LimitRange, they were created automatically. limits: - default: memory: 1Gi defaultRequest: memory: 1Gi max: memory: 1Gi min: memory: 500Mi type: Container Now whenever you define a Pod within the constraints-mem-example namespace, Kubernetes performs these steps:If any container in that Pod does not specify its own memory request and limit, the control plane assigns the default memory request and limit to that container.Verify that every container in that Pod requests at least 500 MiB of memory.Verify that every container in that Pod requests no more than 1024 MiB (1 GiB) of memory.Here's a manifest for a Pod that has one container. Within the Pod spec, the sole container specifies a memory request of 600 MiB and a memory limit of 800 MiB. These satisfy the minimum and maximum memory constraints imposed by the LimitRange.admin/resource/memory-constraints-pod.yaml apiVersion: v1 kind: Pod metadata: name: constraints-mem-demo spec: containers: - name: constraints-mem-demo-ctr image: nginx resources: limits: memory: \"800Mi\" requests: memory: \"600Mi",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-constraint-namespace/",
    "id": "k8s_00219_qa_3872"
  },
  {
    "question": "What are the benefits of Configure Minimum and Maximum Memory Constraints for a Namespace?",
    "answer": "Configure Minimum and Maximum Memory Constraints for a NamespaceDefine a range of valid memory resource limits for a namespace, so that every new Pod in that namespace falls within the range you configure.This page shows how to set minimum and maximum values for memory used by containers running in a namespace. You specify minimum and maximum memory values in a LimitRange object. If a Pod does not meet the constraints imposed by the LimitRange, it cannot be created in the namespace.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou must have access to create namespaces in your cluster.Each node in your cluster must have at least 1 GiB of memory available for Pods.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace constraints-mem-example Create a LimitRange and a PodHere's an example manifest for a LimitRange:admin/resource/memory-constraints.yaml apiVersion: v1 kind: LimitRange metadata: name: mem-min-max-demo-lr spec: limits: - max: memory: 1Gi min: memory: 500Mi type: Container Create the LimitRange:kubectl apply -f https://k8s.io/examples/admin/resource/memory-constraints.yaml --namespace=constraints-mem-example View detailed information about the LimitRange:kubectl get limitrange mem-min-max-demo-lr --namespace=constraints-mem-example --output=yaml The output shows the minimum and maximum memory constraints as expected. But notice that even though you didn't specify default values in the configuration file for the LimitRange, they were created automatically. limits: - default: memory: 1Gi defaultRequest: memory: 1Gi max: memory: 1Gi min: memory: 500Mi type: Container Now whenever you define a Pod within the constraints-mem-example namespace, Kubernetes performs these steps:If any container in that Pod does not specify its own memory request and limit, the control plane assigns the default memory request and limit to that container.Verify that every container in that Pod requests at least 500 MiB of memory.Verify that every container in that Pod requests no more than 1024 MiB (1 GiB) of memory.Here's a manifest for a Pod that has one container. Within the Pod spec, the sole container specifies a memory request of 600 MiB and a memory limit of 800 MiB. These satisfy the minimum and maximum memory constraints imposed by the LimitRange.admin/resource/memory-constraints-pod.yaml apiVersion: v1 kind: Pod metadata: name: constraints-mem-demo spec: containers: - name: constraints-mem-demo-ctr image: nginx resources: limits: memory: \"800Mi\" requests: memory: \"600Mi",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-constraint-namespace/",
    "id": "k8s_00219_qa_3873"
  },
  {
    "question": "What is Configure Minimum and Maximum Memory Constraints for a Namespace?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   s e t   m i n i m u m   a n d   m a x i m u m   v a l u e s   f o r   m e m o r y   u s e d   b y   c o n t a i n e r s   r u n n i n g   i n   a   n a m e s p a c e .   Y o u   s p e c i f y   m i n i m u m   a n d   m a x i m u m   m e m o r y   v a l u e s   i n   a   L i m i t R a n g e   o b j e c t .   I f   a   P o d   d o e s   n o t   m e e t   t h e   c o n s t r a i n t s   i m p o s e d   b y   t h e   L i m i t R a n g e ,   i t   c a n n o t   b e   c r e a t e d   i n   t h e   n a m e s p a c e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-constraint-namespace/",
    "id": "k8s_00219_section_1_3874"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   m u s t   h a v e   a c c e s s   t o   c r e a t e   n a m e s p a c e s   i n   y o u r   c l u s t e r .   E a c h   n o d e   i n   y o u r   c l u s t e r   m u s t   h a v e   a t   l e a s t   1   G i B   o f   m e m o r y   a v a i l a b l e   f o r   P o d s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-constraint-namespace/",
    "id": "k8s_00219_section_2_3875"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   n a m e s p a c e   s o   t h a t   t h e   r e s o u r c e s   y o u   c r e a t e   i n   t h i s   e x e r c i s e   a r e   i s o l a t e d   f r o m   t h e   r e s t   o f   y o u r   c l u s t e r .   k u b e c t l   c r e a t e   n a m e s p a c e   c o n s t r a i n t s - m e m - e x a m p l e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-constraint-namespace/",
    "id": "k8s_00219_section_2_3876"
  },
  {
    "question": "What is Create a LimitRange and a Pod?",
    "answer": "H e r e ' s   a n   e x a m p l e   m a n i f e s t   f o r   a   L i m i t R a n g e :   a p i V e r s i o n :   v 1   k i n d :   L i m i t R a n g e   m e t a d a t a :   n a m e :   m e m - m i n - m a x - d e m o - l r   s p e c :   l i m i t s :   -   m a x :   m e m o r y :   1 G i   m i n :   m e m o r y :   5 0 0 M i   t y p e :   C o n t a i n e r   C r e a t e   t h e   L i m i t R a n g e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / m e m o r y - c o n s t r a i n t s . y a m l   - - n a m e s p a c e = c o n s t r a i n t s - m e m - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   L i m i t R a n g e :   k u b e c t l   g e t   l i m i t r a n g e   m e m - m i n - m a x - d e m o - l r   - - n a m e s p a c e = c o n s t r a i n t s - m e m - e x a m p l e   - - o u t p u t = y a m l   T h e   o u t p u t   s h o w s   t h e   m i n i m u m   a n d   m a x i m u m   m e m o r y   c o n s t r a i n t s   a s   e x p e c t e d .   B u t   n o t i c e   t h a t   e v e n   t h o u g h   y o u   d i d n ' t   s p e c i f y   d e f a u l t   v a l u e s   i n   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   L i m i t R a n g e ,   t h e y   w e r e   c r e a t e d   a u t o m a t i c a l l y .   l i m i t s :   -   d e f a u l t :   m e m o r y :   1 G i   d e f a u l t R e q u e s t :   m e m o r y :   1 G i   m a x :   m e m o r y :   1 G i   m i n :   m e m o r y :   5 0 0 M i   t y p e :   C o n t a i n e r   N o w   w h e n e v e r   y o u   d e f i n e   a   P o d   w i t h i n   t h e   c o n s t r a i n t s - m e m - e x a m p l e   n a m e s p a c e ,   K u b e r n e t e s   p e r f o r m s   t h e s e   s t e p s :   I f   a n y   c o n t a i n e r   i n   t h a t   P o d   d o e s   n o t   s p e c i f y   i t s   o w n   m e m o r y   r e q u e s t   a n d   l i m i t ,   t h e   c o n t r o l   p l a n e   a s s i g n s ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-constraint-namespace/",
    "id": "k8s_00219_section_2_3877"
  },
  {
    "question": "What is Attempt to create a Pod that exceeds the maximum memory constraint?",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   s p e c i f i e s   a   m e m o r y   r e q u e s t   o f   8 0 0   M i B   a n d   a   m e m o r y   l i m i t   o f   1 . 5   G i B .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o n s t r a i n t s - m e m - d e m o - 2   s p e c :   c o n t a i n e r s :   -   n a m e :   c o n s t r a i n t s - m e m - d e m o - 2 - c t r   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 1 . 5 G i \"   r e q u e s t s :   m e m o r y :   \" 8 0 0 M i \"   A t t e m p t   t o   c r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / m e m o r y - c o n s t r a i n t s - p o d - 2 . y a m l   - - n a m e s p a c e = c o n s t r a i n t s - m e m - e x a m p l e   T h e   o u t p u t   s h o w s   t h a t   t h e   P o d   d o e s   n o t   g e t   c r e a t e d ,   b e c a u s e   i t   d e f i n e s   a   c o n t a i n e r   t h a t   r e q u e s t s   m o r e   m e m o r y   t h a n   i s   a l l o w e d :   E r r o r   f r o m   s e r v e r   ( F o r b i d d e n ) :   e r r o r   w h e n   c r e a t i n g   \" e x a m p l e s / a d m i n / r e s o u r c e / m e m o r y - c o n s t r a i n t s - p o d - 2 . y a m l \" :   p o d s   \" c o n s t r a i n t s - m e m - d e m o - 2 \"   i s   f o r b i d d e n :   m a x i m u m   m e m o r y   u s a g e   p e r   C o n t a i n e r   i s   1 G i ,   b u t   l i m i t   i s   1 5 3 6 M i .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-constraint-namespace/",
    "id": "k8s_00219_section_2_3878"
  },
  {
    "question": "What is Attempt to create a Pod that does not meet the minimum memory request?",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h a t   c o n t a i n e r   s p e c i f i e s   a   m e m o r y   r e q u e s t   o f   1 0 0   M i B   a n d   a   m e m o r y   l i m i t   o f   8 0 0   M i B .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o n s t r a i n t s - m e m - d e m o - 3   s p e c :   c o n t a i n e r s :   -   n a m e :   c o n s t r a i n t s - m e m - d e m o - 3 - c t r   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 8 0 0 M i \"   r e q u e s t s :   m e m o r y :   \" 1 0 0 M i \"   A t t e m p t   t o   c r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / m e m o r y - c o n s t r a i n t s - p o d - 3 . y a m l   - - n a m e s p a c e = c o n s t r a i n t s - m e m - e x a m p l e   T h e   o u t p u t   s h o w s   t h a t   t h e   P o d   d o e s   n o t   g e t   c r e a t e d ,   b e c a u s e   i t   d e f i n e s   a   c o n t a i n e r   t h a t   r e q u e s t s   l e s s   m e m o r y   t h a n   t h e   e n f o r c e d   m i n i m u m :   E r r o r   f r o m   s e r v e r   ( F o r b i d d e n ) :   e r r o r   w h e n   c r e a t i n g   \" e x a m p l e s / a d m i n / r e s o u r c e / m e m o r y - c o n s t r a i n t s - p o d - 3 . y a m l \" :   p o d s   \" c o n s t r a i n t s - m e m - d e m o - 3 \"   i s   f o r b i d d e n :   m i n i m u m   m e m o r y   u s a g e   p e r   C o n t a i n e r   i s   5 0 0 M i ,   b u t   r e q u e s t   i s   1 0 0 M i .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-constraint-namespace/",
    "id": "k8s_00219_section_2_3879"
  },
  {
    "question": "What is Create a Pod that does not specify any memory request or limit?",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   d o e s   n o t   s p e c i f y   a   m e m o r y   r e q u e s t ,   a n d   i t   d o e s   n o t   s p e c i f y   a   m e m o r y   l i m i t .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o n s t r a i n t s - m e m - d e m o - 4   s p e c :   c o n t a i n e r s :   -   n a m e :   c o n s t r a i n t s - m e m - d e m o - 4 - c t r   i m a g e :   n g i n x   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / m e m o r y - c o n s t r a i n t s - p o d - 4 . y a m l   - - n a m e s p a c e = c o n s t r a i n t s - m e m - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   P o d :   k u b e c t l   g e t   p o d   c o n s t r a i n t s - m e m - d e m o - 4   - - n a m e s p a c e = c o n s t r a i n t s - m e m - e x a m p l e   - - o u t p u t = y a m l   T h e   o u t p u t   s h o w s   t h a t   t h e   P o d ' s   o n l y   c o n t a i n e r   h a s   a   m e m o r y   r e q u e s t   o f   1   G i B   a n d   a   m e m o r y   l i m i t   o f   1   G i B .   H o w   d i d   t h a t   c o n t a i n e r   g e t   t h o s e   v a l u e s ?   r e s o u r c e s :   l i m i t s :   m e m o r y :   1 G i   r e q u e s t s :   m e m o r y :   1 G i   B e c a u s e   y o u r   P o d   d i d   n o t   d e f i n e   a n y   m e m o r y   r e q u e s t   a n d   l i m i t   f o r   t h a t   c o n t a i n e r ,   t h e   c l u s t e r   a p p l i e d   a   d e f a u l t   m e m o r y   r e q u e s t   a n d   l i m i t   f r o m   t h e   L i m i t R a n g e .   T h i s   m e a n s   t h a t   t h e   d e f i n i t i o n   o f   t h a t   P o d   s h o w s   t h o s e   v a l u e s .   Y o u   c a n   c h e c k   i t   u s i n g   k u b e c t l   d e s c r i b e :   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-constraint-namespace/",
    "id": "k8s_00219_section_2_3880"
  },
  {
    "question": "What is Enforcement of minimum and maximum memory constraints?",
    "answer": "T h e   m a x i m u m   a n d   m i n i m u m   m e m o r y   c o n s t r a i n t s   i m p o s e d   o n   a   n a m e s p a c e   b y   a   L i m i t R a n g e   a r e   e n f o r c e d   o n l y   w h e n   a   P o d   i s   c r e a t e d   o r   u p d a t e d .   I f   y o u   c h a n g e   t h e   L i m i t R a n g e ,   i t   d o e s   n o t   a f f e c t   P o d s   t h a t   w e r e   c r e a t e d   p r e v i o u s l y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-constraint-namespace/",
    "id": "k8s_00219_section_2_3881"
  },
  {
    "question": "What is Motivation for minimum and maximum memory constraints?",
    "answer": "A s   a   c l u s t e r   a d m i n i s t r a t o r ,   y o u   m i g h t   w a n t   t o   i m p o s e   r e s t r i c t i o n s   o n   t h e   a m o u n t   o f   m e m o r y   t h a t   P o d s   c a n   u s e .   F o r   e x a m p l e :   E a c h   N o d e   i n   a   c l u s t e r   h a s   2   G i B   o f   m e m o r y .   Y o u   d o   n o t   w a n t   t o   a c c e p t   a n y   P o d   t h a t   r e q u e s t s   m o r e   t h a n   2   G i B   o f   m e m o r y ,   b e c a u s e   n o   N o d e   i n   t h e   c l u s t e r   c a n   s u p p o r t   t h e   r e q u e s t . A   c l u s t e r   i s   s h a r e d   b y   y o u r   p r o d u c t i o n   a n d   d e v e l o p m e n t   d e p a r t m e n t s .   Y o u   w a n t   t o   a l l o w   p r o d u c t i o n   w o r k l o a d s   t o   c o n s u m e   u p   t o   8   G i B   o f   m e m o r y ,   b u t   y o u   w a n t   d e v e l o p m e n t   w o r k l o a d s   t o   b e   l i m i t e d   t o   5 1 2   M i B .   Y o u   c r e a t e   s e p a r a t e   n a m e s p a c e s   f o r   p r o d u c t i o n   a n d   d e v e l o p m e n t ,   a n d   y o u   a p p l y   m e m o r y   c o n s t r a i n t s   t o   e a c h   n a m e s p a c e .   E a c h   N o d e   i n   a   c l u s t e r   h a s   2   G i B   o f   m e m o r y .   Y o u   d o   n o t   w a n t   t o   a c c e p t   a n y   P o d   t h a t   r e q u e s t s   m o r e   t h a n   2   G i B   o f   m e m o r y ,   b e c a u s e   n o   N o d e   i n   t h e   c l u s t e r   c a n   s u p p o r t   t h e   r e q u e s t .   A   c l u s t e r   i s   s h a r e d   b y   y o u r   p r o d u c t i o n   a n d   d e v e l o p m e n t   d e p a r t m e n t s .   Y o u   w a n t   t o   a l l o w   p r o d u c t i o n   w o r k l o a d s   t o   c o n s u m e   u p   t o   8   G i B   o f   m e m o r y ,   b u t   y o u   w a n t   d e v e l o p m e n t   w o r k l o a d s   t o   b e   l i m i t e d   t o   5 1 2   M i B .   Y o u   c r e a t e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-constraint-namespace/",
    "id": "k8s_00219_section_2_3882"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   n a m e s p a c e :   k u b e c t l   d e l e t e   n a m e s p a c e   c o n s t r a i n t s - m e m - e x a m p l e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-constraint-namespace/",
    "id": "k8s_00219_section_2_3883"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e   C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-constraint-namespace/",
    "id": "k8s_00219_section_3_3884"
  },
  {
    "question": "What is For app developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s   C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-constraint-namespace/",
    "id": "k8s_00219_section_3_3885"
  },
  {
    "question": "What is Running ZooKeeper, A Distributed System Coordinator?",
    "answer": "Running ZooKeeper, A Distributed System CoordinatorThis tutorial demonstrates running Apache Zookeeper on Kubernetes using StatefulSets, PodDisruptionBudgets, and PodAntiAffinity.Before you beginBefore starting this tutorial, you should be familiar with the following Kubernetes concepts:PodsCluster DNSHeadless ServicesPersistentVolumesPersistentVolume ProvisioningStatefulSetsPodDisruptionBudgetsPodAntiAffinitykubectl CLIYou must have a cluster with at least four nodes, and each node requires at least 2 CPUs and 4 GiB of memory. In this tutorial you will cordon and drain the cluster's nodes. This means that the cluster will terminate and evict all Pods on its nodes, and the nodes will temporarily become unschedulable. You should use a dedicated cluster for this tutorial, or you should ensure that the disruption you cause will not interfere with other tenants.This tutorial assumes that you have configured your cluster to dynamically provision PersistentVolumes. If your cluster is not configured to do so, you will have to manually provision three 20 GiB volumes before starting this tutorial.ObjectivesAfter this tutorial, you will know the following.How to deploy a ZooKeeper ensemble using StatefulSet.How to consistently configure the ensemble.How to spread the deployment of ZooKeeper servers in the ensemble.How to use PodDisruptionBudgets to ensure service availability during planned maintenance.ZooKeeperApache ZooKeeper is a distributed, open-source coordination service for distributed applications. ZooKeeper allows you to read, write, and observe updates to data. Data are organized in a file system like hierarchy and replicated to all ZooKeeper servers in the ensemble (a set of ZooKeeper servers). All operations on data are atomic and sequentially consistent. ZooKeeper ensures this by using the Zab consensus protocol to replicate a state machine across all servers in the ensemble.The ensemble uses the Zab protocol to elect a leader, and the ensemble cannot write data until that election is complete. Once complete, the ensemble uses Zab to ensure that it replicates all writes to a quorum before it acknowledges and makes them visible to clients. Without respect to weighted quorums, a quorum is a majority component of the ensemble containing the current leader. For instance, if the ensemble has three servers, a component that contains the leader and one other server constitutes a quorum. If the ensemble can not achieve a quorum, the ensemble cannot write data.ZooKeeper servers keep their entire state machine in memory, and write every mutation to a durable WAL (Write Ahead Log) on storage media. When a server crashes, it can recover its previous state by replaying the WAL. To prevent the WAL from growing without bound, ZooKeeper servers will periodically snapshot them in memory state to storage media. These snapshots can be loaded directly into memory, and all WAL entries that preceded the snapshot may be discarded.Creating a ZooKeeper ensembleThe ma",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/",
    "id": "k8s_00220_qa_3886"
  },
  {
    "question": "How does Running ZooKeeper, A Distributed System Coordinator work?",
    "answer": "Running ZooKeeper, A Distributed System CoordinatorThis tutorial demonstrates running Apache Zookeeper on Kubernetes using StatefulSets, PodDisruptionBudgets, and PodAntiAffinity.Before you beginBefore starting this tutorial, you should be familiar with the following Kubernetes concepts:PodsCluster DNSHeadless ServicesPersistentVolumesPersistentVolume ProvisioningStatefulSetsPodDisruptionBudgetsPodAntiAffinitykubectl CLIYou must have a cluster with at least four nodes, and each node requires at least 2 CPUs and 4 GiB of memory. In this tutorial you will cordon and drain the cluster's nodes. This means that the cluster will terminate and evict all Pods on its nodes, and the nodes will temporarily become unschedulable. You should use a dedicated cluster for this tutorial, or you should ensure that the disruption you cause will not interfere with other tenants.This tutorial assumes that you have configured your cluster to dynamically provision PersistentVolumes. If your cluster is not configured to do so, you will have to manually provision three 20 GiB volumes before starting this tutorial.ObjectivesAfter this tutorial, you will know the following.How to deploy a ZooKeeper ensemble using StatefulSet.How to consistently configure the ensemble.How to spread the deployment of ZooKeeper servers in the ensemble.How to use PodDisruptionBudgets to ensure service availability during planned maintenance.ZooKeeperApache ZooKeeper is a distributed, open-source coordination service for distributed applications. ZooKeeper allows you to read, write, and observe updates to data. Data are organized in a file system like hierarchy and replicated to all ZooKeeper servers in the ensemble (a set of ZooKeeper servers). All operations on data are atomic and sequentially consistent. ZooKeeper ensures this by using the Zab consensus protocol to replicate a state machine across all servers in the ensemble.The ensemble uses the Zab protocol to elect a leader, and the ensemble cannot write data until that election is complete. Once complete, the ensemble uses Zab to ensure that it replicates all writes to a quorum before it acknowledges and makes them visible to clients. Without respect to weighted quorums, a quorum is a majority component of the ensemble containing the current leader. For instance, if the ensemble has three servers, a component that contains the leader and one other server constitutes a quorum. If the ensemble can not achieve a quorum, the ensemble cannot write data.ZooKeeper servers keep their entire state machine in memory, and write every mutation to a durable WAL (Write Ahead Log) on storage media. When a server crashes, it can recover its previous state by replaying the WAL. To prevent the WAL from growing without bound, ZooKeeper servers will periodically snapshot them in memory state to storage media. These snapshots can be loaded directly into memory, and all WAL entries that preceded the snapshot may be discarded.Creating a ZooKeeper ensembleThe ma",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/",
    "id": "k8s_00220_qa_3887"
  },
  {
    "question": "When would you use Running ZooKeeper, A Distributed System Coordinator?",
    "answer": "Running ZooKeeper, A Distributed System CoordinatorThis tutorial demonstrates running Apache Zookeeper on Kubernetes using StatefulSets, PodDisruptionBudgets, and PodAntiAffinity.Before you beginBefore starting this tutorial, you should be familiar with the following Kubernetes concepts:PodsCluster DNSHeadless ServicesPersistentVolumesPersistentVolume ProvisioningStatefulSetsPodDisruptionBudgetsPodAntiAffinitykubectl CLIYou must have a cluster with at least four nodes, and each node requires at least 2 CPUs and 4 GiB of memory. In this tutorial you will cordon and drain the cluster's nodes. This means that the cluster will terminate and evict all Pods on its nodes, and the nodes will temporarily become unschedulable. You should use a dedicated cluster for this tutorial, or you should ensure that the disruption you cause will not interfere with other tenants.This tutorial assumes that you have configured your cluster to dynamically provision PersistentVolumes. If your cluster is not configured to do so, you will have to manually provision three 20 GiB volumes before starting this tutorial.ObjectivesAfter this tutorial, you will know the following.How to deploy a ZooKeeper ensemble using StatefulSet.How to consistently configure the ensemble.How to spread the deployment of ZooKeeper servers in the ensemble.How to use PodDisruptionBudgets to ensure service availability during planned maintenance.ZooKeeperApache ZooKeeper is a distributed, open-source coordination service for distributed applications. ZooKeeper allows you to read, write, and observe updates to data. Data are organized in a file system like hierarchy and replicated to all ZooKeeper servers in the ensemble (a set of ZooKeeper servers). All operations on data are atomic and sequentially consistent. ZooKeeper ensures this by using the Zab consensus protocol to replicate a state machine across all servers in the ensemble.The ensemble uses the Zab protocol to elect a leader, and the ensemble cannot write data until that election is complete. Once complete, the ensemble uses Zab to ensure that it replicates all writes to a quorum before it acknowledges and makes them visible to clients. Without respect to weighted quorums, a quorum is a majority component of the ensemble containing the current leader. For instance, if the ensemble has three servers, a component that contains the leader and one other server constitutes a quorum. If the ensemble can not achieve a quorum, the ensemble cannot write data.ZooKeeper servers keep their entire state machine in memory, and write every mutation to a durable WAL (Write Ahead Log) on storage media. When a server crashes, it can recover its previous state by replaying the WAL. To prevent the WAL from growing without bound, ZooKeeper servers will periodically snapshot them in memory state to storage media. These snapshots can be loaded directly into memory, and all WAL entries that preceded the snapshot may be discarded.Creating a ZooKeeper ensembleThe ma",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/",
    "id": "k8s_00220_qa_3888"
  },
  {
    "question": "What are the benefits of Running ZooKeeper, A Distributed System Coordinator?",
    "answer": "Running ZooKeeper, A Distributed System CoordinatorThis tutorial demonstrates running Apache Zookeeper on Kubernetes using StatefulSets, PodDisruptionBudgets, and PodAntiAffinity.Before you beginBefore starting this tutorial, you should be familiar with the following Kubernetes concepts:PodsCluster DNSHeadless ServicesPersistentVolumesPersistentVolume ProvisioningStatefulSetsPodDisruptionBudgetsPodAntiAffinitykubectl CLIYou must have a cluster with at least four nodes, and each node requires at least 2 CPUs and 4 GiB of memory. In this tutorial you will cordon and drain the cluster's nodes. This means that the cluster will terminate and evict all Pods on its nodes, and the nodes will temporarily become unschedulable. You should use a dedicated cluster for this tutorial, or you should ensure that the disruption you cause will not interfere with other tenants.This tutorial assumes that you have configured your cluster to dynamically provision PersistentVolumes. If your cluster is not configured to do so, you will have to manually provision three 20 GiB volumes before starting this tutorial.ObjectivesAfter this tutorial, you will know the following.How to deploy a ZooKeeper ensemble using StatefulSet.How to consistently configure the ensemble.How to spread the deployment of ZooKeeper servers in the ensemble.How to use PodDisruptionBudgets to ensure service availability during planned maintenance.ZooKeeperApache ZooKeeper is a distributed, open-source coordination service for distributed applications. ZooKeeper allows you to read, write, and observe updates to data. Data are organized in a file system like hierarchy and replicated to all ZooKeeper servers in the ensemble (a set of ZooKeeper servers). All operations on data are atomic and sequentially consistent. ZooKeeper ensures this by using the Zab consensus protocol to replicate a state machine across all servers in the ensemble.The ensemble uses the Zab protocol to elect a leader, and the ensemble cannot write data until that election is complete. Once complete, the ensemble uses Zab to ensure that it replicates all writes to a quorum before it acknowledges and makes them visible to clients. Without respect to weighted quorums, a quorum is a majority component of the ensemble containing the current leader. For instance, if the ensemble has three servers, a component that contains the leader and one other server constitutes a quorum. If the ensemble can not achieve a quorum, the ensemble cannot write data.ZooKeeper servers keep their entire state machine in memory, and write every mutation to a durable WAL (Write Ahead Log) on storage media. When a server crashes, it can recover its previous state by replaying the WAL. To prevent the WAL from growing without bound, ZooKeeper servers will periodically snapshot them in memory state to storage media. These snapshots can be loaded directly into memory, and all WAL entries that preceded the snapshot may be discarded.Creating a ZooKeeper ensembleThe ma",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/",
    "id": "k8s_00220_qa_3889"
  },
  {
    "question": "What is Running ZooKeeper, A Distributed System Coordinator?",
    "answer": "T h i s   t u t o r i a l   d e m o n s t r a t e s   r u n n i n g   A p a c h e   Z o o k e e p e r   o n   K u b e r n e t e s   u s i n g   S t a t e f u l S e t s ,   P o d D i s r u p t i o n B u d g e t s ,   a n d   P o d A n t i A f f i n i t y .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/",
    "id": "k8s_00220_section_1_3890"
  },
  {
    "question": "What is Before you begin?",
    "answer": "B e f o r e   s t a r t i n g   t h i s   t u t o r i a l ,   y o u   s h o u l d   b e   f a m i l i a r   w i t h   t h e   f o l l o w i n g   K u b e r n e t e s   c o n c e p t s :   P o d s C l u s t e r   D N S H e a d l e s s   S e r v i c e s P e r s i s t e n t V o l u m e s P e r s i s t e n t V o l u m e   P r o v i s i o n i n g S t a t e f u l S e t s P o d D i s r u p t i o n B u d g e t s P o d A n t i A f f i n i t y k u b e c t l   C L I   Y o u   m u s t   h a v e   a   c l u s t e r   w i t h   a t   l e a s t   f o u r   n o d e s ,   a n d   e a c h   n o d e   r e q u i r e s   a t   l e a s t   2   C P U s   a n d   4   G i B   o f   m e m o r y .   I n   t h i s   t u t o r i a l   y o u   w i l l   c o r d o n   a n d   d r a i n   t h e   c l u s t e r ' s   n o d e s .   T h i s   m e a n s   t h a t   t h e   c l u s t e r   w i l l   t e r m i n a t e   a n d   e v i c t   a l l   P o d s   o n   i t s   n o d e s ,   a n d   t h e   n o d e s   w i l l   t e m p o r a r i l y   b e c o m e   u n s c h e d u l a b l e .   Y o u   s h o u l d   u s e   a   d e d i c a t e d   c l u s t e r   f o r   t h i s   t u t o r i a l ,   o r   y o u   s h o u l d   e n s u r e   t h a t   t h e   d i s r u p t i o n   y o u   c a u s e   w i l l   n o t   i n t e r f e r e   w i t h   o t h e r   t e n a n t s .   T h i s   t u t o r i a l   a s s u m e s   t h a t   y o u   h a v e   c o n f i g u r e d   y o u r   c l u s t e r   t o   d y n a m i c a l l y   p r o v i s i o n   P e r s i s t e n t V o l u m e s .   I f   y o u r   c l u s t e r   i s   n o t   c o n f i g u r e d   t o   d o   s o ,   y o u   w i l l   h a v e   t o   m a n u a l l y   p r o v i s i o n   t h r e e   2 0   G i B   v o l u m e s   b e f o r e   s t a r t i n g   t h i s   t u t o r i a l .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/",
    "id": "k8s_00220_section_2_3891"
  },
  {
    "question": "What is Objectives?",
    "answer": "A f t e r   t h i s   t u t o r i a l ,   y o u   w i l l   k n o w   t h e   f o l l o w i n g .   H o w   t o   d e p l o y   a   Z o o K e e p e r   e n s e m b l e   u s i n g   S t a t e f u l S e t . H o w   t o   c o n s i s t e n t l y   c o n f i g u r e   t h e   e n s e m b l e . H o w   t o   s p r e a d   t h e   d e p l o y m e n t   o f   Z o o K e e p e r   s e r v e r s   i n   t h e   e n s e m b l e . H o w   t o   u s e   P o d D i s r u p t i o n B u d g e t s   t o   e n s u r e   s e r v i c e   a v a i l a b i l i t y   d u r i n g   p l a n n e d   m a i n t e n a n c e .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/",
    "id": "k8s_00220_section_2_3892"
  },
  {
    "question": "What is ZooKeeper?",
    "answer": "A p a c h e   Z o o K e e p e r   i s   a   d i s t r i b u t e d ,   o p e n - s o u r c e   c o o r d i n a t i o n   s e r v i c e   f o r   d i s t r i b u t e d   a p p l i c a t i o n s .   Z o o K e e p e r   a l l o w s   y o u   t o   r e a d ,   w r i t e ,   a n d   o b s e r v e   u p d a t e s   t o   d a t a .   D a t a   a r e   o r g a n i z e d   i n   a   f i l e   s y s t e m   l i k e   h i e r a r c h y   a n d   r e p l i c a t e d   t o   a l l   Z o o K e e p e r   s e r v e r s   i n   t h e   e n s e m b l e   ( a   s e t   o f   Z o o K e e p e r   s e r v e r s ) .   A l l   o p e r a t i o n s   o n   d a t a   a r e   a t o m i c   a n d   s e q u e n t i a l l y   c o n s i s t e n t .   Z o o K e e p e r   e n s u r e s   t h i s   b y   u s i n g   t h e   Z a b   c o n s e n s u s   p r o t o c o l   t o   r e p l i c a t e   a   s t a t e   m a c h i n e   a c r o s s   a l l   s e r v e r s   i n   t h e   e n s e m b l e .   T h e   e n s e m b l e   u s e s   t h e   Z a b   p r o t o c o l   t o   e l e c t   a   l e a d e r ,   a n d   t h e   e n s e m b l e   c a n n o t   w r i t e   d a t a   u n t i l   t h a t   e l e c t i o n   i s   c o m p l e t e .   O n c e   c o m p l e t e ,   t h e   e n s e m b l e   u s e s   Z a b   t o   e n s u r e   t h a t   i t   r e p l i c a t e s   a l l   w r i t e s   t o   a   q u o r u m   b e f o r e   i t   a c k n o w l e d g e s   a n d   m a k e s   t h e m   v i s i b l e   t o   c l i e n t s .   W i t h o u t   r e s p e c t   t o   w e i g h t e d   q u o r u m s ,   a   q u o r u m   i s   a   m a j o r i t y   c o m p o n e n t   o f   t h e   e n s e m b l e   c o n t a i n i n g   t h e   c u r r e n t   l e a d e r .   F o r   i n s t a n c e ,   i f   t h e   e n s e m b l e   h a s   t h r e e   s e r v e r s ,   a   c o m p o n e n t   t h a t   c o n t a i n s   t h e   l e a d e r   a n d   o n e   o t h e r   s e r v e r   c o n s t i t u t e s   a   q u o r u ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/",
    "id": "k8s_00220_section_3_3893"
  },
  {
    "question": "What is Creating a ZooKeeper ensemble?",
    "answer": "T h e   m a n i f e s t   b e l o w   c o n t a i n s   a   H e a d l e s s   S e r v i c e ,   a   S e r v i c e ,   a   P o d D i s r u p t i o n B u d g e t ,   a n d   a   S t a t e f u l S e t .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   z k - h s   l a b e l s :   a p p :   z k   s p e c :   p o r t s :   -   p o r t :   2 8 8 8   n a m e :   s e r v e r   -   p o r t :   3 8 8 8   n a m e :   l e a d e r - e l e c t i o n   c l u s t e r I P :   N o n e   s e l e c t o r :   a p p :   z k   - - -   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   z k - c s   l a b e l s :   a p p :   z k   s p e c :   p o r t s :   -   p o r t :   2 1 8 1   n a m e :   c l i e n t   s e l e c t o r :   a p p :   z k   - - -   a p i V e r s i o n :   p o l i c y / v 1   k i n d :   P o d D i s r u p t i o n B u d g e t   m e t a d a t a :   n a m e :   z k - p d b   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   z k   m a x U n a v a i l a b l e :   1   - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a :   n a m e :   z k   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   z k   s e r v i c e N a m e :   z k - h s   r e p l i c a s :   3   u p d a t e S t r a t e g y :   t y p e :   R o l l i n g U p d a t e   p o d M a n a g e m e n t P o l i c y :   O r d e r e d R e a d y   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   z k   s p e c :   a f f i n i t y :   p o d A n t i A f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   -   l a b e l S e l e c t o r :   m a t c h E x p r e s s i o n s :   -   k e y :   \" a p p \"   o p e r a t o r :   I n   v a l u e s :   -   z k   t o p o l o g y K e y :   \" k u b e r n e t e s . i o / h o s t n a m e \"   c o n t a i n e r s :   -   n a m e :   k u b e r n e t e s - z o o k e e p ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/",
    "id": "k8s_00220_section_2_3894"
  },
  {
    "question": "What is Facilitating leader election?",
    "answer": "B e c a u s e   t h e r e   i s   n o   t e r m i n a t i n g   a l g o r i t h m   f o r   e l e c t i n g   a   l e a d e r   i n   a n   a n o n y m o u s   n e t w o r k ,   Z a b   r e q u i r e s   e x p l i c i t   m e m b e r s h i p   c o n f i g u r a t i o n   t o   p e r f o r m   l e a d e r   e l e c t i o n .   E a c h   s e r v e r   i n   t h e   e n s e m b l e   n e e d s   t o   h a v e   a   u n i q u e   i d e n t i f i e r ,   a l l   s e r v e r s   n e e d   t o   k n o w   t h e   g l o b a l   s e t   o f   i d e n t i f i e r s ,   a n d   e a c h   i d e n t i f i e r   n e e d s   t o   b e   a s s o c i a t e d   w i t h   a   n e t w o r k   a d d r e s s .   U s e   k u b e c t l   e x e c   t o   g e t   t h e   h o s t n a m e s   o f   t h e   P o d s   i n   t h e   z k   S t a t e f u l S e t .   f o r   i   i n   0   1   2 ;   d o   k u b e c t l   e x e c   z k - $ i   - -   h o s t n a m e ;   d o n e   T h e   S t a t e f u l S e t   c o n t r o l l e r   p r o v i d e s   e a c h   P o d   w i t h   a   u n i q u e   h o s t n a m e   b a s e d   o n   i t s   o r d i n a l   i n d e x .   T h e   h o s t n a m e s   t a k e   t h e   f o r m   o f   < s t a t e f u l s e t   n a m e > - < o r d i n a l   i n d e x > .   B e c a u s e   t h e   r e p l i c a s   f i e l d   o f   t h e   z k   S t a t e f u l S e t   i s   s e t   t o   3 ,   t h e   S e t ' s   c o n t r o l l e r   c r e a t e s   t h r e e   P o d s   w i t h   t h e i r   h o s t n a m e s   s e t   t o   z k - 0 ,   z k - 1 ,   a n d   z k - 2 .   z k - 0   z k - 1   z k - 2   T h e   s e r v e r s   i n   a   Z o o K e e p e r   e n s e m b l e   u s e   n a t u r a l   n u m b e r s   a s   u n i q u e   i d e n t i f i e r s ,   a n d   s t o r e   e a c h   s e r v e r ' s   i d e n t i f i e r   i n   a   f i l e   c a l l e d   m y i d   i n   t h e   s e r v e r ' s   d a t a   d i r e c t o r y .   T o   e x a m i n e   t h e   c o n t e n t s ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/",
    "id": "k8s_00220_section_3_3895"
  },
  {
    "question": "What is Achieving consensus?",
    "answer": "C o n s e n s u s   p r o t o c o l s   r e q u i r e   t h a t   t h e   i d e n t i f i e r s   o f   e a c h   p a r t i c i p a n t   b e   u n i q u e .   N o   t w o   p a r t i c i p a n t s   i n   t h e   Z a b   p r o t o c o l   s h o u l d   c l a i m   t h e   s a m e   u n i q u e   i d e n t i f i e r .   T h i s   i s   n e c e s s a r y   t o   a l l o w   t h e   p r o c e s s e s   i n   t h e   s y s t e m   t o   a g r e e   o n   w h i c h   p r o c e s s e s   h a v e   c o m m i t t e d   w h i c h   d a t a .   I f   t w o   P o d s   a r e   l a u n c h e d   w i t h   t h e   s a m e   o r d i n a l ,   t w o   Z o o K e e p e r   s e r v e r s   w o u l d   b o t h   i d e n t i f y   t h e m s e l v e s   a s   t h e   s a m e   s e r v e r .   k u b e c t l   g e t   p o d s   - w   - l   a p p = z k   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   z k - 0   0 / 1   P e n d i n g   0   0 s   z k - 0   0 / 1   P e n d i n g   0   0 s   z k - 0   0 / 1   C o n t a i n e r C r e a t i n g   0   0 s   z k - 0   0 / 1   R u n n i n g   0   1 9 s   z k - 0   1 / 1   R u n n i n g   0   4 0 s   z k - 1   0 / 1   P e n d i n g   0   0 s   z k - 1   0 / 1   P e n d i n g   0   0 s   z k - 1   0 / 1   C o n t a i n e r C r e a t i n g   0   0 s   z k - 1   0 / 1   R u n n i n g   0   1 8 s   z k - 1   1 / 1   R u n n i n g   0   4 0 s   z k - 2   0 / 1   P e n d i n g   0   0 s   z k - 2   0 / 1   P e n d i n g   0   0 s   z k - 2   0 / 1   C o n t a i n e r C r e a t i n g   0   0 s   z k - 2   0 / 1   R u n n i n g   0   1 9 s   z k - 2   1 / 1   R u n n i n g   0   4 0 s   T h e   A   r e c o r d s   f o r   e a c h   P o d   a r e   e n t e r e d   w h e n   t h e   P o d   b e c o m e s   R e a d y .   T h e r e f o r e ,   t h e   F Q D N s   o f   t h e   Z o o K e e p e r   s e r v e r s   w i l l   r e s o l v e   t o   a   s i n g l e   e n d p o i n t ,   a n d   t h a t   e n d p o i n t   w i l l   b e   t h e   u n i ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/",
    "id": "k8s_00220_section_3_3896"
  },
  {
    "question": "What is Sanity testing the ensemble?",
    "answer": "T h e   m o s t   b a s i c   s a n i t y   t e s t   i s   t o   w r i t e   d a t a   t o   o n e   Z o o K e e p e r   s e r v e r   a n d   t o   r e a d   t h e   d a t a   f r o m   a n o t h e r .   T h e   c o m m a n d   b e l o w   e x e c u t e s   t h e   z k C l i . s h   s c r i p t   t o   w r i t e   w o r l d   t o   t h e   p a t h   / h e l l o   o n   t h e   z k - 0   P o d   i n   t h e   e n s e m b l e .   k u b e c t l   e x e c   z k - 0   - -   z k C l i . s h   c r e a t e   / h e l l o   w o r l d   W A T C H E R : :   W a t c h e d E v e n t   s t a t e : S y n c C o n n e c t e d   t y p e : N o n e   p a t h : n u l l   C r e a t e d   / h e l l o   T o   g e t   t h e   d a t a   f r o m   t h e   z k - 1   P o d   u s e   t h e   f o l l o w i n g   c o m m a n d .   k u b e c t l   e x e c   z k - 1   - -   z k C l i . s h   g e t   / h e l l o   T h e   d a t a   t h a t   y o u   c r e a t e d   o n   z k - 0   i s   a v a i l a b l e   o n   a l l   t h e   s e r v e r s   i n   t h e   e n s e m b l e .   W A T C H E R : :   W a t c h e d E v e n t   s t a t e : S y n c C o n n e c t e d   t y p e : N o n e   p a t h : n u l l   w o r l d   c Z x i d   =   0 x 1 0 0 0 0 0 0 0 2   c t i m e   =   T h u   D e c   0 8   1 5 : 1 3 : 3 0   U T C   2 0 1 6   m Z x i d   =   0 x 1 0 0 0 0 0 0 0 2   m t i m e   =   T h u   D e c   0 8   1 5 : 1 3 : 3 0   U T C   2 0 1 6   p Z x i d   =   0 x 1 0 0 0 0 0 0 0 2   c v e r s i o n   =   0   d a t a V e r s i o n   =   0   a c l V e r s i o n   =   0   e p h e m e r a l O w n e r   =   0 x 0   d a t a L e n g t h   =   5   n u m C h i l d r e n   =   0",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/",
    "id": "k8s_00220_section_3_3897"
  },
  {
    "question": "What is Providing durable storage?",
    "answer": "A s   m e n t i o n e d   i n   t h e   Z o o K e e p e r   B a s i c s   s e c t i o n ,   Z o o K e e p e r   c o m m i t s   a l l   e n t r i e s   t o   a   d u r a b l e   W A L ,   a n d   p e r i o d i c a l l y   w r i t e s   s n a p s h o t s   i n   m e m o r y   s t a t e ,   t o   s t o r a g e   m e d i a .   U s i n g   W A L s   t o   p r o v i d e   d u r a b i l i t y   i s   a   c o m m o n   t e c h n i q u e   f o r   a p p l i c a t i o n s   t h a t   u s e   c o n s e n s u s   p r o t o c o l s   t o   a c h i e v e   a   r e p l i c a t e d   s t a t e   m a c h i n e .   U s e   t h e   k u b e c t l   d e l e t e   c o m m a n d   t o   d e l e t e   t h e   z k   S t a t e f u l S e t .   k u b e c t l   d e l e t e   s t a t e f u l s e t   z k   s t a t e f u l s e t . a p p s   \" z k \"   d e l e t e d   W a t c h   t h e   t e r m i n a t i o n   o f   t h e   P o d s   i n   t h e   S t a t e f u l S e t .   k u b e c t l   g e t   p o d s   - w   - l   a p p = z k   W h e n   z k - 0   i f   f u l l y   t e r m i n a t e d ,   u s e   C T R L - C   t o   t e r m i n a t e   k u b e c t l .   z k - 2   1 / 1   T e r m i n a t i n g   0   9 m   z k - 0   1 / 1   T e r m i n a t i n g   0   1 1 m   z k - 1   1 / 1   T e r m i n a t i n g   0   1 0 m   z k - 2   0 / 1   T e r m i n a t i n g   0   9 m   z k - 2   0 / 1   T e r m i n a t i n g   0   9 m   z k - 2   0 / 1   T e r m i n a t i n g   0   9 m   z k - 1   0 / 1   T e r m i n a t i n g   0   1 0 m   z k - 1   0 / 1   T e r m i n a t i n g   0   1 0 m   z k - 1   0 / 1   T e r m i n a t i n g   0   1 0 m   z k - 0   0 / 1   T e r m i n a t i n g   0   1 1 m   z k - 0   0 / 1   T e r m i n a t i n g   0   1 1 m   z k - 0   0 / 1   T e r m i n a t i n g   0   1 1 m   R e a p p l y   t h e   m a n i f e s t   i n   z o o k e e p e r . y a m l .   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / z o o k e e p e r / z o o k e ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/",
    "id": "k8s_00220_section_3_3898"
  },
  {
    "question": "What is Ensuring consistent configuration?",
    "answer": "A s   n o t e d   i n   t h e   F a c i l i t a t i n g   L e a d e r   E l e c t i o n   a n d   A c h i e v i n g   C o n s e n s u s   s e c t i o n s ,   t h e   s e r v e r s   i n   a   Z o o K e e p e r   e n s e m b l e   r e q u i r e   c o n s i s t e n t   c o n f i g u r a t i o n   t o   e l e c t   a   l e a d e r   a n d   f o r m   a   q u o r u m .   T h e y   a l s o   r e q u i r e   c o n s i s t e n t   c o n f i g u r a t i o n   o f   t h e   Z a b   p r o t o c o l   i n   o r d e r   f o r   t h e   p r o t o c o l   t o   w o r k   c o r r e c t l y   o v e r   a   n e t w o r k .   I n   o u r   e x a m p l e   w e   a c h i e v e   c o n s i s t e n t   c o n f i g u r a t i o n   b y   e m b e d d i n g   t h e   c o n f i g u r a t i o n   d i r e c t l y   i n t o   t h e   m a n i f e s t .   G e t   t h e   z k   S t a t e f u l S e t .   k u b e c t l   g e t   s t s   z k   - o   y a m l   …   c o m m a n d :   -   s h   -   - c   -   \" s t a r t - z o o k e e p e r   \\   - - s e r v e r s = 3   \\   - - d a t a _ d i r = / v a r / l i b / z o o k e e p e r / d a t a   \\   - - d a t a _ l o g _ d i r = / v a r / l i b / z o o k e e p e r / d a t a / l o g   \\   - - c o n f _ d i r = / o p t / z o o k e e p e r / c o n f   \\   - - c l i e n t _ p o r t = 2 1 8 1   \\   - - e l e c t i o n _ p o r t = 3 8 8 8   \\   - - s e r v e r _ p o r t = 2 8 8 8   \\   - - t i c k _ t i m e = 2 0 0 0   \\   - - i n i t _ l i m i t = 1 0   \\   - - s y n c _ l i m i t = 5   \\   - - h e a p = 5 1 2 M   \\   - - m a x _ c l i e n t _ c n x n s = 6 0   \\   - - s n a p _ r e t a i n _ c o u n t = 3   \\   - - p u r g e _ i n t e r v a l = 1 2   \\   - - m a x _ s e s s i o n _ t i m e o u t = 4 0 0 0 0   \\   - - m i n _ s e s s i o n _ t i m e o u t = 4 0 0 0   \\   - - l o g _ l e v e l = I N F O \"   …   T h e   c o m m a n d   u s e d   t o   s t a r t   t h e   Z o o K e e p e r   s e r v e r s   p a s s e d   t h e   c o n f i g u r a t i o n   a s   c o ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/",
    "id": "k8s_00220_section_2_3899"
  },
  {
    "question": "What is Configuring logging?",
    "answer": "O n e   o f   t h e   f i l e s   g e n e r a t e d   b y   t h e   z k G e n C o n f i g . s h   s c r i p t   c o n t r o l s   Z o o K e e p e r ' s   l o g g i n g .   Z o o K e e p e r   u s e s   L o g 4 j ,   a n d ,   b y   d e f a u l t ,   i t   u s e s   a   t i m e   a n d   s i z e   b a s e d   r o l l i n g   f i l e   a p p e n d e r   f o r   i t s   l o g g i n g   c o n f i g u r a t i o n .   U s e   t h e   c o m m a n d   b e l o w   t o   g e t   t h e   l o g g i n g   c o n f i g u r a t i o n   f r o m   o n e   o f   P o d s   i n   t h e   z k   S t a t e f u l S e t .   k u b e c t l   e x e c   z k - 0   c a t   / u s r / e t c / z o o k e e p e r / l o g 4 j . p r o p e r t i e s   T h e   l o g g i n g   c o n f i g u r a t i o n   b e l o w   w i l l   c a u s e   t h e   Z o o K e e p e r   p r o c e s s   t o   w r i t e   a l l   o f   i t s   l o g s   t o   t h e   s t a n d a r d   o u t p u t   f i l e   s t r e a m .   z o o k e e p e r . r o o t . l o g g e r = C O N S O L E   z o o k e e p e r . c o n s o l e . t h r e s h o l d = I N F O   l o g 4 j . r o o t L o g g e r = $ { z o o k e e p e r . r o o t . l o g g e r }   l o g 4 j . a p p e n d e r . C O N S O L E = o r g . a p a c h e . l o g 4 j . C o n s o l e A p p e n d e r   l o g 4 j . a p p e n d e r . C O N S O L E . T h r e s h o l d = $ { z o o k e e p e r . c o n s o l e . t h r e s h o l d }   l o g 4 j . a p p e n d e r . C O N S O L E . l a y o u t = o r g . a p a c h e . l o g 4 j . P a t t e r n L a y o u t   l o g 4 j . a p p e n d e r . C O N S O L E . l a y o u t . C o n v e r s i o n P a t t e r n = % d { I S O 8 6 0 1 }   [ m y i d : % X { m y i d } ]   -   % - 5 p   [ % t : % C { 1 } @ % L ]   -   % m % n   T h i s   i s   t h e   s i m p l e s t   p o s s i b l e   w a y   t o   s a f e l y   l o g   i n s i d e   t h e   c o n t a i n e r .   B e c a u s e   t h e   a p p l i c a t i o n s   w r i t e   l o g s   t o   s t a n d a r d   o u t ,   ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/",
    "id": "k8s_00220_section_3_3900"
  },
  {
    "question": "What is Configuring a non-privileged user?",
    "answer": "T h e   b e s t   p r a c t i c e s   t o   a l l o w   a n   a p p l i c a t i o n   t o   r u n   a s   a   p r i v i l e g e d   u s e r   i n s i d e   o f   a   c o n t a i n e r   a r e   a   m a t t e r   o f   d e b a t e .   I f   y o u r   o r g a n i z a t i o n   r e q u i r e s   t h a t   a p p l i c a t i o n s   r u n   a s   a   n o n - p r i v i l e g e d   u s e r   y o u   c a n   u s e   a   S e c u r i t y C o n t e x t   t o   c o n t r o l   t h e   u s e r   t h a t   t h e   e n t r y   p o i n t   r u n s   a s .   T h e   z k   S t a t e f u l S e t ' s   P o d   t e m p l a t e   c o n t a i n s   a   S e c u r i t y C o n t e x t .   s e c u r i t y C o n t e x t :   r u n A s U s e r :   1 0 0 0   f s G r o u p :   1 0 0 0   I n   t h e   P o d s '   c o n t a i n e r s ,   U I D   1 0 0 0   c o r r e s p o n d s   t o   t h e   z o o k e e p e r   u s e r   a n d   G I D   1 0 0 0   c o r r e s p o n d s   t o   t h e   z o o k e e p e r   g r o u p .   G e t   t h e   Z o o K e e p e r   p r o c e s s   i n f o r m a t i o n   f r o m   t h e   z k - 0   P o d .   k u b e c t l   e x e c   z k - 0   - -   p s   - e l f   A s   t h e   r u n A s U s e r   f i e l d   o f   t h e   s e c u r i t y C o n t e x t   o b j e c t   i s   s e t   t o   1 0 0 0 ,   i n s t e a d   o f   r u n n i n g   a s   r o o t ,   t h e   Z o o K e e p e r   p r o c e s s   r u n s   a s   t h e   z o o k e e p e r   u s e r .   F   S   U I D   P I D   P P I D   C   P R I   N I   A D D R   S Z   W C H A N   S T I M E   T T Y   T I M E   C M D   4   S   z o o k e e p +   1   0   0   8 0   0   -   1 1 2 7   -   2 0 : 4 6   ?   0 0 : 0 0 : 0 0   s h   - c   z k G e n C o n f i g . s h   & &   z k S e r v e r . s h   s t a r t - f o r e g r o u n d   0   S   z o o k e e p +   2 7   1   0   8 0   0   -   1 1 5 5 5 5 6   -   2 0 : 4 6   ?   0 0 : 0 0 : 1 9   / u s r / l i b / j v m / j a v a - 8 - o p e n j d k - a m d 6 4 / b i n / j a v a   - D z o o k e e ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/",
    "id": "k8s_00220_section_3_3901"
  },
  {
    "question": "What is Managing the ZooKeeper process?",
    "answer": "T h e   Z o o K e e p e r   d o c u m e n t a t i o n   m e n t i o n s   t h a t   \" Y o u   w i l l   w a n t   t o   h a v e   a   s u p e r v i s o r y   p r o c e s s   t h a t   m a n a g e s   e a c h   o f   y o u r   Z o o K e e p e r   s e r v e r   p r o c e s s e s   ( J V M ) . \"   U t i l i z i n g   a   w a t c h d o g   ( s u p e r v i s o r y   p r o c e s s )   t o   r e s t a r t   f a i l e d   p r o c e s s e s   i n   a   d i s t r i b u t e d   s y s t e m   i s   a   c o m m o n   p a t t e r n .   W h e n   d e p l o y i n g   a n   a p p l i c a t i o n   i n   K u b e r n e t e s ,   r a t h e r   t h a n   u s i n g   a n   e x t e r n a l   u t i l i t y   a s   a   s u p e r v i s o r y   p r o c e s s ,   y o u   s h o u l d   u s e   K u b e r n e t e s   a s   t h e   w a t c h d o g   f o r   y o u r   a p p l i c a t i o n .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/",
    "id": "k8s_00220_section_2_3902"
  },
  {
    "question": "What is Updating the ensemble?",
    "answer": "T h e   z k   S t a t e f u l S e t   i s   c o n f i g u r e d   t o   u s e   t h e   R o l l i n g U p d a t e   u p d a t e   s t r a t e g y .   Y o u   c a n   u s e   k u b e c t l   p a t c h   t o   u p d a t e   t h e   n u m b e r   o f   c p u s   a l l o c a t e d   t o   t h e   s e r v e r s .   k u b e c t l   p a t c h   s t s   z k   - - t y p e = ' j s o n '   - p = ' [ { \" o p \" :   \" r e p l a c e \" ,   \" p a t h \" :   \" / s p e c / t e m p l a t e / s p e c / c o n t a i n e r s / 0 / r e s o u r c e s / r e q u e s t s / c p u \" ,   \" v a l u e \" : \" 0 . 3 \" } ] '   s t a t e f u l s e t . a p p s / z k   p a t c h e d   U s e   k u b e c t l   r o l l o u t   s t a t u s   t o   w a t c h   t h e   s t a t u s   o f   t h e   u p d a t e .   k u b e c t l   r o l l o u t   s t a t u s   s t s / z k   w a i t i n g   f o r   s t a t e f u l s e t   r o l l i n g   u p d a t e   t o   c o m p l e t e   0   p o d s   a t   r e v i s i o n   z k - 5 d b 4 4 9 9 6 6 4 . . .   W a i t i n g   f o r   1   p o d s   t o   b e   r e a d y . . .   W a i t i n g   f o r   1   p o d s   t o   b e   r e a d y . . .   w a i t i n g   f o r   s t a t e f u l s e t   r o l l i n g   u p d a t e   t o   c o m p l e t e   1   p o d s   a t   r e v i s i o n   z k - 5 d b 4 4 9 9 6 6 4 . . .   W a i t i n g   f o r   1   p o d s   t o   b e   r e a d y . . .   W a i t i n g   f o r   1   p o d s   t o   b e   r e a d y . . .   w a i t i n g   f o r   s t a t e f u l s e t   r o l l i n g   u p d a t e   t o   c o m p l e t e   2   p o d s   a t   r e v i s i o n   z k - 5 d b 4 4 9 9 6 6 4 . . .   W a i t i n g   f o r   1   p o d s   t o   b e   r e a d y . . .   W a i t i n g   f o r   1   p o d s   t o   b e   r e a d y . . .   s t a t e f u l s e t   r o l l i n g   u p d a t e   c o m p l e t e   3   p o d s   a t   r e v i s i o n   z k - 5 d b 4 4 9 9 6 6 4 . . .   T h i s   t e r m i n a t e s   t h e   P o d s ,   o n e   a t   a   t i m e ,   i n   r ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/",
    "id": "k8s_00220_section_3_3903"
  },
  {
    "question": "What is Handling process failure?",
    "answer": "R e s t a r t   P o l i c i e s   c o n t r o l   h o w   K u b e r n e t e s   h a n d l e s   p r o c e s s   f a i l u r e s   f o r   t h e   e n t r y   p o i n t   o f   t h e   c o n t a i n e r   i n   a   P o d .   F o r   P o d s   i n   a   S t a t e f u l S e t ,   t h e   o n l y   a p p r o p r i a t e   R e s t a r t P o l i c y   i s   A l w a y s ,   a n d   t h i s   i s   t h e   d e f a u l t   v a l u e .   F o r   s t a t e f u l   a p p l i c a t i o n s   y o u   s h o u l d   n e v e r   o v e r r i d e   t h e   d e f a u l t   p o l i c y .   U s e   t h e   f o l l o w i n g   c o m m a n d   t o   e x a m i n e   t h e   p r o c e s s   t r e e   f o r   t h e   Z o o K e e p e r   s e r v e r   r u n n i n g   i n   t h e   z k - 0   P o d .   k u b e c t l   e x e c   z k - 0   - -   p s   - e f   T h e   c o m m a n d   u s e d   a s   t h e   c o n t a i n e r ' s   e n t r y   p o i n t   h a s   P I D   1 ,   a n d   t h e   Z o o K e e p e r   p r o c e s s ,   a   c h i l d   o f   t h e   e n t r y   p o i n t ,   h a s   P I D   2 7 .   U I D   P I D   P P I D   C   S T I M E   T T Y   T I M E   C M D   z o o k e e p +   1   0   0   1 5 : 0 3   ?   0 0 : 0 0 : 0 0   s h   - c   z k G e n C o n f i g . s h   & &   z k S e r v e r . s h   s t a r t - f o r e g r o u n d   z o o k e e p +   2 7   1   0   1 5 : 0 3   ?   0 0 : 0 0 : 0 3   / u s r / l i b / j v m / j a v a - 8 - o p e n j d k - a m d 6 4 / b i n / j a v a   - D z o o k e e p e r . l o g . d i r = / v a r / l o g / z o o k e e p e r   - D z o o k e e p e r . r o o t . l o g g e r = I N F O , C O N S O L E   - c p   / u s r / b i n / . . / b u i l d / c l a s s e s : / u s r / b i n / . . / b u i l d / l i b / * . j a r : / u s r / b i n / . . / s h a r e / z o o k e e p e r / z o o k e e p e r - 3 . 4 . 9 . j a r : / u s r / b i n / . . / s h a r e / z o o k e e p e r / s l f 4 j - l o g 4 j 1 2 - 1 . 6 . 1 . j a r : / u s r / b i n / . . / s h a r e / z o o k e e p ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/",
    "id": "k8s_00220_section_3_3904"
  },
  {
    "question": "What is Testing for liveness?",
    "answer": "C o n f i g u r i n g   y o u r   a p p l i c a t i o n   t o   r e s t a r t   f a i l e d   p r o c e s s e s   i s   n o t   e n o u g h   t o   k e e p   a   d i s t r i b u t e d   s y s t e m   h e a l t h y .   T h e r e   a r e   s c e n a r i o s   w h e r e   a   s y s t e m ' s   p r o c e s s e s   c a n   b e   b o t h   a l i v e   a n d   u n r e s p o n s i v e ,   o r   o t h e r w i s e   u n h e a l t h y .   Y o u   s h o u l d   u s e   l i v e n e s s   p r o b e s   t o   n o t i f y   K u b e r n e t e s   t h a t   y o u r   a p p l i c a t i o n ' s   p r o c e s s e s   a r e   u n h e a l t h y   a n d   i t   s h o u l d   r e s t a r t   t h e m .   T h e   P o d   t e m p l a t e   f o r   t h e   z k   S t a t e f u l S e t   s p e c i f i e s   a   l i v e n e s s   p r o b e .   l i v e n e s s P r o b e :   e x e c :   c o m m a n d :   -   s h   -   - c   -   \" z o o k e e p e r - r e a d y   2 1 8 1 \"   i n i t i a l D e l a y S e c o n d s :   1 5   t i m e o u t S e c o n d s :   5   T h e   p r o b e   c a l l s   a   b a s h   s c r i p t   t h a t   u s e s   t h e   Z o o K e e p e r   r u o k   f o u r   l e t t e r   w o r d   t o   t e s t   t h e   s e r v e r ' s   h e a l t h .   O K = $ ( e c h o   r u o k   |   n c   1 2 7 . 0 . 0 . 1   $ 1 )   i f   [   \" $ O K \"   = =   \" i m o k \"   ] ;   t h e n   e x i t   0   e l s e   e x i t   1   f i   I n   o n e   t e r m i n a l   w i n d o w ,   u s e   t h e   f o l l o w i n g   c o m m a n d   t o   w a t c h   t h e   P o d s   i n   t h e   z k   S t a t e f u l S e t .   k u b e c t l   g e t   p o d   - w   - l   a p p = z k   I n   a n o t h e r   w i n d o w ,   u s i n g   t h e   f o l l o w i n g   c o m m a n d   t o   d e l e t e   t h e   z o o k e e p e r - r e a d y   s c r i p t   f r o m   t h e   f i l e   s y s t e m   o f   P o d   z k - 0 .   k u b e c t l   e x e c   z k - 0   - -   r m   / o p t / z o o k e e p e r / b i n / z o o k e e p e r - ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/",
    "id": "k8s_00220_section_3_3905"
  },
  {
    "question": "What is Testing for readiness?",
    "answer": "R e a d i n e s s   i s   n o t   t h e   s a m e   a s   l i v e n e s s .   I f   a   p r o c e s s   i s   a l i v e ,   i t   i s   s c h e d u l e d   a n d   h e a l t h y .   I f   a   p r o c e s s   i s   r e a d y ,   i t   i s   a b l e   t o   p r o c e s s   i n p u t .   L i v e n e s s   i s   a   n e c e s s a r y ,   b u t   n o t   s u f f i c i e n t ,   c o n d i t i o n   f o r   r e a d i n e s s .   T h e r e   a r e   c a s e s ,   p a r t i c u l a r l y   d u r i n g   i n i t i a l i z a t i o n   a n d   t e r m i n a t i o n ,   w h e n   a   p r o c e s s   c a n   b e   a l i v e   b u t   n o t   r e a d y .   I f   y o u   s p e c i f y   a   r e a d i n e s s   p r o b e ,   K u b e r n e t e s   w i l l   e n s u r e   t h a t   y o u r   a p p l i c a t i o n ' s   p r o c e s s e s   w i l l   n o t   r e c e i v e   n e t w o r k   t r a f f i c   u n t i l   t h e i r   r e a d i n e s s   c h e c k s   p a s s .   F o r   a   Z o o K e e p e r   s e r v e r ,   l i v e n e s s   i m p l i e s   r e a d i n e s s .   T h e r e f o r e ,   t h e   r e a d i n e s s   p r o b e   f r o m   t h e   z o o k e e p e r . y a m l   m a n i f e s t   i s   i d e n t i c a l   t o   t h e   l i v e n e s s   p r o b e .   r e a d i n e s s P r o b e :   e x e c :   c o m m a n d :   -   s h   -   - c   -   \" z o o k e e p e r - r e a d y   2 1 8 1 \"   i n i t i a l D e l a y S e c o n d s :   1 5   t i m e o u t S e c o n d s :   5   E v e n   t h o u g h   t h e   l i v e n e s s   a n d   r e a d i n e s s   p r o b e s   a r e   i d e n t i c a l ,   i t   i s   i m p o r t a n t   t o   s p e c i f y   b o t h .   T h i s   e n s u r e s   t h a t   o n l y   h e a l t h y   s e r v e r s   i n   t h e   Z o o K e e p e r   e n s e m b l e   r e c e i v e   n e t w o r k   t r a f f i c .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/",
    "id": "k8s_00220_section_3_3906"
  },
  {
    "question": "What is Tolerating Node failure?",
    "answer": "Z o o K e e p e r   n e e d s   a   q u o r u m   o f   s e r v e r s   t o   s u c c e s s f u l l y   c o m m i t   m u t a t i o n s   t o   d a t a .   F o r   a   t h r e e   s e r v e r   e n s e m b l e ,   t w o   s e r v e r s   m u s t   b e   h e a l t h y   f o r   w r i t e s   t o   s u c c e e d .   I n   q u o r u m   b a s e d   s y s t e m s ,   m e m b e r s   a r e   d e p l o y e d   a c r o s s   f a i l u r e   d o m a i n s   t o   e n s u r e   a v a i l a b i l i t y .   T o   a v o i d   a n   o u t a g e ,   d u e   t o   t h e   l o s s   o f   a n   i n d i v i d u a l   m a c h i n e ,   b e s t   p r a c t i c e s   p r e c l u d e   c o - l o c a t i n g   m u l t i p l e   i n s t a n c e s   o f   t h e   a p p l i c a t i o n   o n   t h e   s a m e   m a c h i n e .   B y   d e f a u l t ,   K u b e r n e t e s   m a y   c o - l o c a t e   P o d s   i n   a   S t a t e f u l S e t   o n   t h e   s a m e   n o d e .   F o r   t h e   t h r e e   s e r v e r   e n s e m b l e   y o u   c r e a t e d ,   i f   t w o   s e r v e r s   a r e   o n   t h e   s a m e   n o d e ,   a n d   t h a t   n o d e   f a i l s ,   t h e   c l i e n t s   o f   y o u r   Z o o K e e p e r   s e r v i c e   w i l l   e x p e r i e n c e   a n   o u t a g e   u n t i l   a t   l e a s t   o n e   o f   t h e   P o d s   c a n   b e   r e s c h e d u l e d .   Y o u   s h o u l d   a l w a y s   p r o v i s i o n   a d d i t i o n a l   c a p a c i t y   t o   a l l o w   t h e   p r o c e s s e s   o f   c r i t i c a l   s y s t e m s   t o   b e   r e s c h e d u l e d   i n   t h e   e v e n t   o f   n o d e   f a i l u r e s .   I f   y o u   d o   s o ,   t h e n   t h e   o u t a g e   w i l l   o n l y   l a s t   u n t i l   t h e   K u b e r n e t e s   s c h e d u l e r   r e s c h e d u l e s   o n e   o f   t h e   Z o o K e e p e r   s e r v e r s .   H o w e v e r ,   i f   y o u   w a n t   y o u r   s e r v i c e   t o   t o l e ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/",
    "id": "k8s_00220_section_2_3907"
  },
  {
    "question": "What is Surviving maintenance?",
    "answer": "I n   t h i s   s e c t i o n   y o u   w i l l   c o r d o n   a n d   d r a i n   n o d e s .   I f   y o u   a r e   u s i n g   t h i s   t u t o r i a l   o n   a   s h a r e d   c l u s t e r ,   b e   s u r e   t h a t   t h i s   w i l l   n o t   a d v e r s e l y   a f f e c t   o t h e r   t e n a n t s .   T h e   p r e v i o u s   s e c t i o n   s h o w e d   y o u   h o w   t o   s p r e a d   y o u r   P o d s   a c r o s s   n o d e s   t o   s u r v i v e   u n p l a n n e d   n o d e   f a i l u r e s ,   b u t   y o u   a l s o   n e e d   t o   p l a n   f o r   t e m p o r a r y   n o d e   f a i l u r e s   t h a t   o c c u r   d u e   t o   p l a n n e d   m a i n t e n a n c e .   U s e   t h i s   c o m m a n d   t o   g e t   t h e   n o d e s   i n   y o u r   c l u s t e r .   k u b e c t l   g e t   n o d e s   T h i s   t u t o r i a l   a s s u m e s   a   c l u s t e r   w i t h   a t   l e a s t   f o u r   n o d e s .   I f   t h e   c l u s t e r   h a s   m o r e   t h a n   f o u r ,   u s e   k u b e c t l   c o r d o n   t o   c o r d o n   a l l   b u t   f o u r   n o d e s .   C o n s t r a i n i n g   t o   f o u r   n o d e s   w i l l   e n s u r e   K u b e r n e t e s   e n c o u n t e r s   a f f i n i t y   a n d   P o d D i s r u p t i o n B u d g e t   c o n s t r a i n t s   w h e n   s c h e d u l i n g   z o o k e e p e r   P o d s   i n   t h e   f o l l o w i n g   m a i n t e n a n c e   s i m u l a t i o n .   k u b e c t l   c o r d o n   < n o d e - n a m e >   U s e   t h i s   c o m m a n d   t o   g e t   t h e   z k - p d b   P o d D i s r u p t i o n B u d g e t .   k u b e c t l   g e t   p d b   z k - p d b   T h e   m a x - u n a v a i l a b l e   f i e l d   i n d i c a t e s   t o   K u b e r n e t e s   t h a t   a t   m o s t   o n e   P o d   f r o m   z k   S t a t e f u l S e t   c a n   b e   u n a v a i l a b l e   a t   a n y   t i m e .   N A M E   M I N - A V A I L A B L E   M A X - U ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/",
    "id": "k8s_00220_section_2_3908"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "U s e   k u b e c t l   u n c o r d o n   t o   u n c o r d o n   a l l   t h e   n o d e s   i n   y o u r   c l u s t e r . Y o u   m u s t   d e l e t e   t h e   p e r s i s t e n t   s t o r a g e   m e d i a   f o r   t h e   P e r s i s t e n t V o l u m e s   u s e d   i n   t h i s   t u t o r i a l .   F o l l o w   t h e   n e c e s s a r y   s t e p s ,   b a s e d   o n   y o u r   e n v i r o n m e n t ,   s t o r a g e   c o n f i g u r a t i o n ,   a n d   p r o v i s i o n i n g   m e t h o d ,   t o   e n s u r e   t h a t   a l l   s t o r a g e   i s   r e c l a i m e d .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/",
    "id": "k8s_00220_section_2_3909"
  },
  {
    "question": "What is Configuration?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.ConfigurationResources that Kubernetes provides for configuring Pods.1: Configuration Best Practices2: ConfigMaps3: Secrets4: Liveness, Readiness, and Startup Probes5: Resource Management for Pods and Containers6: Organizing Cluster Access Using kubeconfig Files7: Resource Management for Windows nodes1 - Configuration Best PracticesThis document highlights and consolidates configuration best practices that are introduced throughout the user guide, Getting Started documentation, and examples.This is a living document. If you think of something that is not on this list but might be useful to others, please don't hesitate to file an issue or submit a PR.General Configuration TipsWhen defining configurations, specify the latest stable API version.Configuration files should be stored in version control before being pushed to the cluster. This allows you to quickly roll back a configuration change if necessary. It also aids cluster re-creation and restoration.Write your configuration files using YAML rather than JSON. Though these formats can be used interchangeably in almost all scenarios, YAML tends to be more user-friendly.Group related objects into a single file whenever it makes sense. One file is often easier to manage than several. See the guestbook-all-in-one.yaml file as an example of this syntax.Note also that many kubectl commands can be called on a directory. For example, you can call kubectl apply on a directory of config files.Don't specify default values unnecessarily: simple, minimal configuration will make errors less likely.Put object descriptions in annotations, to allow better introspection.Note:There is a breaking change introduced in the YAML 1.2 boolean values specification with respect to YAML 1.1. This is a known issue in Kubernetes. YAML 1.2 only recognizes true and false as valid booleans, while YAML 1.1 also accepts yes, no, on, and off as booleans. However, Kubernetes uses YAML parsers that are mostly compatible with YAML 1.1, which means that using yes or no instead of true or false in a YAML manifest may cause unexpected errors or behaviors. To avoid this issue, it is recommended to always use true or false for boolean values in YAML manifests, and to quote any strings that may be confused with booleans, such as \"yes\" or \"no\".Besides booleans, there are additional specifications changes between YAML versions. Please refer to the YAML Specification Changes documentation for a comprehensive list.\"Naked\" Pods versus ReplicaSets, Deployments, and JobsDon't use naked Pods (that is, Pods not bound to a ReplicaSet or Deployment) if you can avoid it. Naked Pods will not be rescheduled in the event of a node failure.A Deployment, which both creates a ReplicaSet to ensure that the desired number of Pods is always available, and specifies a strategy to replace Pods (such as RollingUpdate), is almost always preferable to",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_qa_3910"
  },
  {
    "question": "How does Configuration work?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.ConfigurationResources that Kubernetes provides for configuring Pods.1: Configuration Best Practices2: ConfigMaps3: Secrets4: Liveness, Readiness, and Startup Probes5: Resource Management for Pods and Containers6: Organizing Cluster Access Using kubeconfig Files7: Resource Management for Windows nodes1 - Configuration Best PracticesThis document highlights and consolidates configuration best practices that are introduced throughout the user guide, Getting Started documentation, and examples.This is a living document. If you think of something that is not on this list but might be useful to others, please don't hesitate to file an issue or submit a PR.General Configuration TipsWhen defining configurations, specify the latest stable API version.Configuration files should be stored in version control before being pushed to the cluster. This allows you to quickly roll back a configuration change if necessary. It also aids cluster re-creation and restoration.Write your configuration files using YAML rather than JSON. Though these formats can be used interchangeably in almost all scenarios, YAML tends to be more user-friendly.Group related objects into a single file whenever it makes sense. One file is often easier to manage than several. See the guestbook-all-in-one.yaml file as an example of this syntax.Note also that many kubectl commands can be called on a directory. For example, you can call kubectl apply on a directory of config files.Don't specify default values unnecessarily: simple, minimal configuration will make errors less likely.Put object descriptions in annotations, to allow better introspection.Note:There is a breaking change introduced in the YAML 1.2 boolean values specification with respect to YAML 1.1. This is a known issue in Kubernetes. YAML 1.2 only recognizes true and false as valid booleans, while YAML 1.1 also accepts yes, no, on, and off as booleans. However, Kubernetes uses YAML parsers that are mostly compatible with YAML 1.1, which means that using yes or no instead of true or false in a YAML manifest may cause unexpected errors or behaviors. To avoid this issue, it is recommended to always use true or false for boolean values in YAML manifests, and to quote any strings that may be confused with booleans, such as \"yes\" or \"no\".Besides booleans, there are additional specifications changes between YAML versions. Please refer to the YAML Specification Changes documentation for a comprehensive list.\"Naked\" Pods versus ReplicaSets, Deployments, and JobsDon't use naked Pods (that is, Pods not bound to a ReplicaSet or Deployment) if you can avoid it. Naked Pods will not be rescheduled in the event of a node failure.A Deployment, which both creates a ReplicaSet to ensure that the desired number of Pods is always available, and specifies a strategy to replace Pods (such as RollingUpdate), is almost always preferable to",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_qa_3911"
  },
  {
    "question": "When would you use Configuration?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.ConfigurationResources that Kubernetes provides for configuring Pods.1: Configuration Best Practices2: ConfigMaps3: Secrets4: Liveness, Readiness, and Startup Probes5: Resource Management for Pods and Containers6: Organizing Cluster Access Using kubeconfig Files7: Resource Management for Windows nodes1 - Configuration Best PracticesThis document highlights and consolidates configuration best practices that are introduced throughout the user guide, Getting Started documentation, and examples.This is a living document. If you think of something that is not on this list but might be useful to others, please don't hesitate to file an issue or submit a PR.General Configuration TipsWhen defining configurations, specify the latest stable API version.Configuration files should be stored in version control before being pushed to the cluster. This allows you to quickly roll back a configuration change if necessary. It also aids cluster re-creation and restoration.Write your configuration files using YAML rather than JSON. Though these formats can be used interchangeably in almost all scenarios, YAML tends to be more user-friendly.Group related objects into a single file whenever it makes sense. One file is often easier to manage than several. See the guestbook-all-in-one.yaml file as an example of this syntax.Note also that many kubectl commands can be called on a directory. For example, you can call kubectl apply on a directory of config files.Don't specify default values unnecessarily: simple, minimal configuration will make errors less likely.Put object descriptions in annotations, to allow better introspection.Note:There is a breaking change introduced in the YAML 1.2 boolean values specification with respect to YAML 1.1. This is a known issue in Kubernetes. YAML 1.2 only recognizes true and false as valid booleans, while YAML 1.1 also accepts yes, no, on, and off as booleans. However, Kubernetes uses YAML parsers that are mostly compatible with YAML 1.1, which means that using yes or no instead of true or false in a YAML manifest may cause unexpected errors or behaviors. To avoid this issue, it is recommended to always use true or false for boolean values in YAML manifests, and to quote any strings that may be confused with booleans, such as \"yes\" or \"no\".Besides booleans, there are additional specifications changes between YAML versions. Please refer to the YAML Specification Changes documentation for a comprehensive list.\"Naked\" Pods versus ReplicaSets, Deployments, and JobsDon't use naked Pods (that is, Pods not bound to a ReplicaSet or Deployment) if you can avoid it. Naked Pods will not be rescheduled in the event of a node failure.A Deployment, which both creates a ReplicaSet to ensure that the desired number of Pods is always available, and specifies a strategy to replace Pods (such as RollingUpdate), is almost always preferable to",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_qa_3912"
  },
  {
    "question": "What are the benefits of Configuration?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.ConfigurationResources that Kubernetes provides for configuring Pods.1: Configuration Best Practices2: ConfigMaps3: Secrets4: Liveness, Readiness, and Startup Probes5: Resource Management for Pods and Containers6: Organizing Cluster Access Using kubeconfig Files7: Resource Management for Windows nodes1 - Configuration Best PracticesThis document highlights and consolidates configuration best practices that are introduced throughout the user guide, Getting Started documentation, and examples.This is a living document. If you think of something that is not on this list but might be useful to others, please don't hesitate to file an issue or submit a PR.General Configuration TipsWhen defining configurations, specify the latest stable API version.Configuration files should be stored in version control before being pushed to the cluster. This allows you to quickly roll back a configuration change if necessary. It also aids cluster re-creation and restoration.Write your configuration files using YAML rather than JSON. Though these formats can be used interchangeably in almost all scenarios, YAML tends to be more user-friendly.Group related objects into a single file whenever it makes sense. One file is often easier to manage than several. See the guestbook-all-in-one.yaml file as an example of this syntax.Note also that many kubectl commands can be called on a directory. For example, you can call kubectl apply on a directory of config files.Don't specify default values unnecessarily: simple, minimal configuration will make errors less likely.Put object descriptions in annotations, to allow better introspection.Note:There is a breaking change introduced in the YAML 1.2 boolean values specification with respect to YAML 1.1. This is a known issue in Kubernetes. YAML 1.2 only recognizes true and false as valid booleans, while YAML 1.1 also accepts yes, no, on, and off as booleans. However, Kubernetes uses YAML parsers that are mostly compatible with YAML 1.1, which means that using yes or no instead of true or false in a YAML manifest may cause unexpected errors or behaviors. To avoid this issue, it is recommended to always use true or false for boolean values in YAML manifests, and to quote any strings that may be confused with booleans, such as \"yes\" or \"no\".Besides booleans, there are additional specifications changes between YAML versions. Please refer to the YAML Specification Changes documentation for a comprehensive list.\"Naked\" Pods versus ReplicaSets, Deployments, and JobsDon't use naked Pods (that is, Pods not bound to a ReplicaSet or Deployment) if you can avoid it. Naked Pods will not be rescheduled in the event of a node failure.A Deployment, which both creates a ReplicaSet to ensure that the desired number of Pods is always available, and specifies a strategy to replace Pods (such as RollingUpdate), is almost always preferable to",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_qa_3913"
  },
  {
    "question": "What is Configuration?",
    "answer": "1 :   C o n f i g u r a t i o n   B e s t   P r a c t i c e s 2 :   C o n f i g M a p s 3 :   S e c r e t s 4 :   L i v e n e s s ,   R e a d i n e s s ,   a n d   S t a r t u p   P r o b e s 5 :   R e s o u r c e   M a n a g e m e n t   f o r   P o d s   a n d   C o n t a i n e r s 6 :   O r g a n i z i n g   C l u s t e r   A c c e s s   U s i n g   k u b e c o n f i g   F i l e s 7 :   R e s o u r c e   M a n a g e m e n t   f o r   W i n d o w s   n o d e s",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_1_3914"
  },
  {
    "question": "What is 1 - Configuration Best Practices?",
    "answer": "T h i s   d o c u m e n t   h i g h l i g h t s   a n d   c o n s o l i d a t e s   c o n f i g u r a t i o n   b e s t   p r a c t i c e s   t h a t   a r e   i n t r o d u c e d   t h r o u g h o u t   t h e   u s e r   g u i d e ,   G e t t i n g   S t a r t e d   d o c u m e n t a t i o n ,   a n d   e x a m p l e s .   T h i s   i s   a   l i v i n g   d o c u m e n t .   I f   y o u   t h i n k   o f   s o m e t h i n g   t h a t   i s   n o t   o n   t h i s   l i s t   b u t   m i g h t   b e   u s e f u l   t o   o t h e r s ,   p l e a s e   d o n ' t   h e s i t a t e   t o   f i l e   a n   i s s u e   o r   s u b m i t   a   P R .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_1_3915"
  },
  {
    "question": "What is General Configuration Tips?",
    "answer": "W h e n   d e f i n i n g   c o n f i g u r a t i o n s ,   s p e c i f y   t h e   l a t e s t   s t a b l e   A P I   v e r s i o n . C o n f i g u r a t i o n   f i l e s   s h o u l d   b e   s t o r e d   i n   v e r s i o n   c o n t r o l   b e f o r e   b e i n g   p u s h e d   t o   t h e   c l u s t e r .   T h i s   a l l o w s   y o u   t o   q u i c k l y   r o l l   b a c k   a   c o n f i g u r a t i o n   c h a n g e   i f   n e c e s s a r y .   I t   a l s o   a i d s   c l u s t e r   r e - c r e a t i o n   a n d   r e s t o r a t i o n . W r i t e   y o u r   c o n f i g u r a t i o n   f i l e s   u s i n g   Y A M L   r a t h e r   t h a n   J S O N .   T h o u g h   t h e s e   f o r m a t s   c a n   b e   u s e d   i n t e r c h a n g e a b l y   i n   a l m o s t   a l l   s c e n a r i o s ,   Y A M L   t e n d s   t o   b e   m o r e   u s e r - f r i e n d l y . G r o u p   r e l a t e d   o b j e c t s   i n t o   a   s i n g l e   f i l e   w h e n e v e r   i t   m a k e s   s e n s e .   O n e   f i l e   i s   o f t e n   e a s i e r   t o   m a n a g e   t h a n   s e v e r a l .   S e e   t h e   g u e s t b o o k - a l l - i n - o n e . y a m l   f i l e   a s   a n   e x a m p l e   o f   t h i s   s y n t a x . N o t e   a l s o   t h a t   m a n y   k u b e c t l   c o m m a n d s   c a n   b e   c a l l e d   o n   a   d i r e c t o r y .   F o r   e x a m p l e ,   y o u   c a n   c a l l   k u b e c t l   a p p l y   o n   a   d i r e c t o r y   o f   c o n f i g   f i l e s . D o n ' t   s p e c i f y   d e f a u l t   v a l u e s   u n n e c e s s a r i l y :   s i m p l e ,   m i n i m a l   c o n f i g u r a t i o n   w i l l   m a k e   e r r o r s   l e s s   l i k e l y . P u t   o b j e c t   d e s c r i p t i o n s   i n   a n n o t a t i o n s ,   t o   a l l o w   b e t t e r   i n t r o s p e c t i o n .   W h e n   d e f i n i n g   c o n f i g u r a t i o n s ,   s p e c i f y   t h e   l a t e s t   s t a ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3916"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e r e   i s   a   b r e a k i n g   c h a n g e   i n t r o d u c e d   i n   t h e   Y A M L   1 . 2   b o o l e a n   v a l u e s   s p e c i f i c a t i o n   w i t h   r e s p e c t   t o   Y A M L   1 . 1 .   T h i s   i s   a   k n o w n   i s s u e   i n   K u b e r n e t e s .   Y A M L   1 . 2   o n l y   r e c o g n i z e s   t r u e   a n d   f a l s e   a s   v a l i d   b o o l e a n s ,   w h i l e   Y A M L   1 . 1   a l s o   a c c e p t s   y e s ,   n o ,   o n ,   a n d   o f f   a s   b o o l e a n s .   H o w e v e r ,   K u b e r n e t e s   u s e s   Y A M L   p a r s e r s   t h a t   a r e   m o s t l y   c o m p a t i b l e   w i t h   Y A M L   1 . 1 ,   w h i c h   m e a n s   t h a t   u s i n g   y e s   o r   n o   i n s t e a d   o f   t r u e   o r   f a l s e   i n   a   Y A M L   m a n i f e s t   m a y   c a u s e   u n e x p e c t e d   e r r o r s   o r   b e h a v i o r s .   T o   a v o i d   t h i s   i s s u e ,   i t   i s   r e c o m m e n d e d   t o   a l w a y s   u s e   t r u e   o r   f a l s e   f o r   b o o l e a n   v a l u e s   i n   Y A M L   m a n i f e s t s ,   a n d   t o   q u o t e   a n y   s t r i n g s   t h a t   m a y   b e   c o n f u s e d   w i t h   b o o l e a n s ,   s u c h   a s   \" y e s \"   o r   \" n o \" .   B e s i d e s   b o o l e a n s ,   t h e r e   a r e   a d d i t i o n a l   s p e c i f i c a t i o n s   c h a n g e s   b e t w e e n   Y A M L   v e r s i o n s .   P l e a s e   r e f e r   t o   t h e   Y A M L   S p e c i f i c a t i o n   C h a n g e s   d o c u m e n t a t i o n   f o r   a   c o m p r e h e n s i v e   l i s t .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_3917"
  },
  {
    "question": "What is \"Naked\" Pods versus ReplicaSets, Deployments, and Jobs?",
    "answer": "D o n ' t   u s e   n a k e d   P o d s   ( t h a t   i s ,   P o d s   n o t   b o u n d   t o   a   R e p l i c a S e t   o r   D e p l o y m e n t )   i f   y o u   c a n   a v o i d   i t .   N a k e d   P o d s   w i l l   n o t   b e   r e s c h e d u l e d   i n   t h e   e v e n t   o f   a   n o d e   f a i l u r e . A   D e p l o y m e n t ,   w h i c h   b o t h   c r e a t e s   a   R e p l i c a S e t   t o   e n s u r e   t h a t   t h e   d e s i r e d   n u m b e r   o f   P o d s   i s   a l w a y s   a v a i l a b l e ,   a n d   s p e c i f i e s   a   s t r a t e g y   t o   r e p l a c e   P o d s   ( s u c h   a s   R o l l i n g U p d a t e ) ,   i s   a l m o s t   a l w a y s   p r e f e r a b l e   t o   c r e a t i n g   P o d s   d i r e c t l y ,   e x c e p t   f o r   s o m e   e x p l i c i t   r e s t a r t P o l i c y :   N e v e r   s c e n a r i o s .   A   J o b   m a y   a l s o   b e   a p p r o p r i a t e .   D o n ' t   u s e   n a k e d   P o d s   ( t h a t   i s ,   P o d s   n o t   b o u n d   t o   a   R e p l i c a S e t   o r   D e p l o y m e n t )   i f   y o u   c a n   a v o i d   i t .   N a k e d   P o d s   w i l l   n o t   b e   r e s c h e d u l e d   i n   t h e   e v e n t   o f   a   n o d e   f a i l u r e .   A   D e p l o y m e n t ,   w h i c h   b o t h   c r e a t e s   a   R e p l i c a S e t   t o   e n s u r e   t h a t   t h e   d e s i r e d   n u m b e r   o f   P o d s   i s   a l w a y s   a v a i l a b l e ,   a n d   s p e c i f i e s   a   s t r a t e g y   t o   r e p l a c e   P o d s   ( s u c h   a s   R o l l i n g U p d a t e ) ,   i s   a l m o s t   a l w a y s   p r e f e r a b l e   t o   c r e a t i n g   P o d s   d i r e c t l y ,   e x c e p t   f o r   s o m e   e x p l i c i t   r e s t a r t P o l i c y :   N e v e r   s c e n a r i o s .   A   J o b   m a y   a l s o   b e   a p p r o p r i a t e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3918"
  },
  {
    "question": "What is Services?",
    "answer": "C r e a t e   a   S e r v i c e   b e f o r e   i t s   c o r r e s p o n d i n g   b a c k e n d   w o r k l o a d s   ( D e p l o y m e n t s   o r   R e p l i c a S e t s ) ,   a n d   b e f o r e   a n y   w o r k l o a d s   t h a t   n e e d   t o   a c c e s s   i t .   W h e n   K u b e r n e t e s   s t a r t s   a   c o n t a i n e r ,   i t   p r o v i d e s   e n v i r o n m e n t   v a r i a b l e s   p o i n t i n g   t o   a l l   t h e   S e r v i c e s   w h i c h   w e r e   r u n n i n g   w h e n   t h e   c o n t a i n e r   w a s   s t a r t e d .   F o r   e x a m p l e ,   i f   a   S e r v i c e   n a m e d   f o o   e x i s t s ,   a l l   c o n t a i n e r s   w i l l   g e t   t h e   f o l l o w i n g   v a r i a b l e s   i n   t h e i r   i n i t i a l   e n v i r o n m e n t : F O O _ S E R V I C E _ H O S T = < t h e   h o s t   t h e   S e r v i c e   i s   r u n n i n g   o n >   F O O _ S E R V I C E _ P O R T = < t h e   p o r t   t h e   S e r v i c e   i s   r u n n i n g   o n >   T h i s   d o e s   i m p l y   a n   o r d e r i n g   r e q u i r e m e n t   -   a n y   S e r v i c e   t h a t   a   P o d   w a n t s   t o   a c c e s s   m u s t   b e   c r e a t e d   b e f o r e   t h e   P o d   i t s e l f ,   o r   e l s e   t h e   e n v i r o n m e n t   v a r i a b l e s   w i l l   n o t   b e   p o p u l a t e d .   D N S   d o e s   n o t   h a v e   t h i s   r e s t r i c t i o n . A n   o p t i o n a l   ( t h o u g h   s t r o n g l y   r e c o m m e n d e d )   c l u s t e r   a d d - o n   i s   a   D N S   s e r v e r .   T h e   D N S   s e r v e r   w a t c h e s   t h e   K u b e r n e t e s   A P I   f o r   n e w   S e r v i c e s   a n d   c r e a t e s   a   s e t   o f   D N S   r e c o r d s   f o r   e a c h .   I f   D N S   h a s   b e e n   e n a b l e d   t h r o u g h o u t   t h e   c l u s t e r   t h e n   a l l   P o d s   s h o u l d   b e   a b l e   t o   d o   n a m e   r e s o l u t ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3919"
  },
  {
    "question": "What is Using Labels?",
    "answer": "D e f i n e   a n d   u s e   l a b e l s   t h a t   i d e n t i f y   s e m a n t i c   a t t r i b u t e s   o f   y o u r   a p p l i c a t i o n   o r   D e p l o y m e n t ,   s u c h   a s   {   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p ,   t i e r :   f r o n t e n d ,   p h a s e :   t e s t ,   d e p l o y m e n t :   v 3   } .   Y o u   c a n   u s e   t h e s e   l a b e l s   t o   s e l e c t   t h e   a p p r o p r i a t e   P o d s   f o r   o t h e r   r e s o u r c e s ;   f o r   e x a m p l e ,   a   S e r v i c e   t h a t   s e l e c t s   a l l   t i e r :   f r o n t e n d   P o d s ,   o r   a l l   p h a s e :   t e s t   c o m p o n e n t s   o f   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p .   S e e   t h e   g u e s t b o o k   a p p   f o r   e x a m p l e s   o f   t h i s   a p p r o a c h . A   S e r v i c e   c a n   b e   m a d e   t o   s p a n   m u l t i p l e   D e p l o y m e n t s   b y   o m i t t i n g   r e l e a s e - s p e c i f i c   l a b e l s   f r o m   i t s   s e l e c t o r .   W h e n   y o u   n e e d   t o   u p d a t e   a   r u n n i n g   s e r v i c e   w i t h o u t   d o w n t i m e ,   u s e   a   D e p l o y m e n t . A   d e s i r e d   s t a t e   o f   a n   o b j e c t   i s   d e s c r i b e d   b y   a   D e p l o y m e n t ,   a n d   i f   c h a n g e s   t o   t h a t   s p e c   a r e   a p p l i e d ,   t h e   d e p l o y m e n t   c o n t r o l l e r   c h a n g e s   t h e   a c t u a l   s t a t e   t o   t h e   d e s i r e d   s t a t e   a t   a   c o n t r o l l e d   r a t e . U s e   t h e   K u b e r n e t e s   c o m m o n   l a b e l s   f o r   c o m m o n   u s e   c a s e s .   T h e s e   s t a n d a r d i z e d   l a b e l s   e n r i c h   t h e   m e t a d a t a   i n   a   w a y   t h a t   a l l o w s   t o o l s ,   i n c l u d i n g   k u b e c t l   a n d   d a s h b o a r d ,   t o   w o r k   i n   a n   i n t e r o p e r a b l e   w ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3920"
  },
  {
    "question": "What is Using kubectl?",
    "answer": "U s e   k u b e c t l   a p p l y   - f   < d i r e c t o r y > .   T h i s   l o o k s   f o r   K u b e r n e t e s   c o n f i g u r a t i o n   i n   a l l   . y a m l ,   . y m l ,   a n d   . j s o n   f i l e s   i n   < d i r e c t o r y >   a n d   p a s s e s   i t   t o   a p p l y . U s e   l a b e l   s e l e c t o r s   f o r   g e t   a n d   d e l e t e   o p e r a t i o n s   i n s t e a d   o f   s p e c i f i c   o b j e c t   n a m e s .   S e e   t h e   s e c t i o n s   o n   l a b e l   s e l e c t o r s   a n d   u s i n g   l a b e l s   e f f e c t i v e l y . U s e   k u b e c t l   c r e a t e   d e p l o y m e n t   a n d   k u b e c t l   e x p o s e   t o   q u i c k l y   c r e a t e   s i n g l e - c o n t a i n e r   D e p l o y m e n t s   a n d   S e r v i c e s .   S e e   U s e   a   S e r v i c e   t o   A c c e s s   a n   A p p l i c a t i o n   i n   a   C l u s t e r   f o r   a n   e x a m p l e .   U s e   k u b e c t l   a p p l y   - f   < d i r e c t o r y > .   T h i s   l o o k s   f o r   K u b e r n e t e s   c o n f i g u r a t i o n   i n   a l l   . y a m l ,   . y m l ,   a n d   . j s o n   f i l e s   i n   < d i r e c t o r y >   a n d   p a s s e s   i t   t o   a p p l y .   U s e   l a b e l   s e l e c t o r s   f o r   g e t   a n d   d e l e t e   o p e r a t i o n s   i n s t e a d   o f   s p e c i f i c   o b j e c t   n a m e s .   S e e   t h e   s e c t i o n s   o n   l a b e l   s e l e c t o r s   a n d   u s i n g   l a b e l s   e f f e c t i v e l y .   U s e   k u b e c t l   c r e a t e   d e p l o y m e n t   a n d   k u b e c t l   e x p o s e   t o   q u i c k l y   c r e a t e   s i n g l e - c o n t a i n e r   D e p l o y m e n t s   a n d   S e r v i c e s .   S e e   U s e   a   S e r v i c e   t o   A c c e s s   a n   A p p l i c a t i o n   i n   a   C l u s t e r   f o r   a n   e x a m p l e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3921"
  },
  {
    "question": "What is 2 - ConfigMaps?",
    "answer": "A   C o n f i g M a p   i s   a n   A P I   o b j e c t   u s e d   t o   s t o r e   n o n - c o n f i d e n t i a l   d a t a   i n   k e y - v a l u e   p a i r s .   P o d s   c a n   c o n s u m e   C o n f i g M a p s   a s   e n v i r o n m e n t   v a r i a b l e s ,   c o m m a n d - l i n e   a r g u m e n t s ,   o r   a s   c o n f i g u r a t i o n   f i l e s   i n   a   v o l u m e .   A   C o n f i g M a p   i s   a n   A P I   o b j e c t   u s e d   t o   s t o r e   n o n - c o n f i d e n t i a l   d a t a   i n   k e y - v a l u e   p a i r s .   P o d s   c a n   c o n s u m e   C o n f i g M a p s   a s   e n v i r o n m e n t   v a r i a b l e s ,   c o m m a n d - l i n e   a r g u m e n t s ,   o r   a s   c o n f i g u r a t i o n   f i l e s   i n   a   v o l u m e .   A   C o n f i g M a p   a l l o w s   y o u   t o   d e c o u p l e   e n v i r o n m e n t - s p e c i f i c   c o n f i g u r a t i o n   f r o m   y o u r   c o n t a i n e r   i m a g e s ,   s o   t h a t   y o u r   a p p l i c a t i o n s   a r e   e a s i l y   p o r t a b l e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_1_3922"
  },
  {
    "question": "What is Motivation?",
    "answer": "U s e   a   C o n f i g M a p   f o r   s e t t i n g   c o n f i g u r a t i o n   d a t a   s e p a r a t e l y   f r o m   a p p l i c a t i o n   c o d e .   F o r   e x a m p l e ,   i m a g i n e   t h a t   y o u   a r e   d e v e l o p i n g   a n   a p p l i c a t i o n   t h a t   y o u   c a n   r u n   o n   y o u r   o w n   c o m p u t e r   ( f o r   d e v e l o p m e n t )   a n d   i n   t h e   c l o u d   ( t o   h a n d l e   r e a l   t r a f f i c ) .   Y o u   w r i t e   t h e   c o d e   t o   l o o k   i n   a n   e n v i r o n m e n t   v a r i a b l e   n a m e d   D A T A B A S E _ H O S T .   L o c a l l y ,   y o u   s e t   t h a t   v a r i a b l e   t o   l o c a l h o s t .   I n   t h e   c l o u d ,   y o u   s e t   i t   t o   r e f e r   t o   a   K u b e r n e t e s   S e r v i c e   t h a t   e x p o s e s   t h e   d a t a b a s e   c o m p o n e n t   t o   y o u r   c l u s t e r .   T h i s   l e t s   y o u   f e t c h   a   c o n t a i n e r   i m a g e   r u n n i n g   i n   t h e   c l o u d   a n d   d e b u g   t h e   e x a c t   s a m e   c o d e   l o c a l l y   i f   n e e d e d .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3923"
  },
  {
    "question": "What is ConfigMap object?",
    "answer": "A   C o n f i g M a p   i s   a n   A P I   o b j e c t   t h a t   l e t s   y o u   s t o r e   c o n f i g u r a t i o n   f o r   o t h e r   o b j e c t s   t o   u s e .   U n l i k e   m o s t   K u b e r n e t e s   o b j e c t s   t h a t   h a v e   a   s p e c ,   a   C o n f i g M a p   h a s   d a t a   a n d   b i n a r y D a t a   f i e l d s .   T h e s e   f i e l d s   a c c e p t   k e y - v a l u e   p a i r s   a s   t h e i r   v a l u e s .   B o t h   t h e   d a t a   f i e l d   a n d   t h e   b i n a r y D a t a   a r e   o p t i o n a l .   T h e   d a t a   f i e l d   i s   d e s i g n e d   t o   c o n t a i n   U T F - 8   s t r i n g s   w h i l e   t h e   b i n a r y D a t a   f i e l d   i s   d e s i g n e d   t o   c o n t a i n   b i n a r y   d a t a   a s   b a s e 6 4 - e n c o d e d   s t r i n g s .   T h e   n a m e   o f   a   C o n f i g M a p   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   E a c h   k e y   u n d e r   t h e   d a t a   o r   t h e   b i n a r y D a t a   f i e l d   m u s t   c o n s i s t   o f   a l p h a n u m e r i c   c h a r a c t e r s ,   - ,   _   o r   . .   T h e   k e y s   s t o r e d   i n   d a t a   m u s t   n o t   o v e r l a p   w i t h   t h e   k e y s   i n   t h e   b i n a r y D a t a   f i e l d .   S t a r t i n g   f r o m   v 1 . 1 9 ,   y o u   c a n   a d d   a n   i m m u t a b l e   f i e l d   t o   a   C o n f i g M a p   d e f i n i t i o n   t o   c r e a t e   a n   i m m u t a b l e   C o n f i g M a p .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3924"
  },
  {
    "question": "What is ConfigMaps and Pods?",
    "answer": "Y o u   c a n   w r i t e   a   P o d   s p e c   t h a t   r e f e r s   t o   a   C o n f i g M a p   a n d   c o n f i g u r e s   t h e   c o n t a i n e r ( s )   i n   t h a t   P o d   b a s e d   o n   t h e   d a t a   i n   t h e   C o n f i g M a p .   T h e   P o d   a n d   t h e   C o n f i g M a p   m u s t   b e   i n   t h e   s a m e   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3925"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e ' s   a n   e x a m p l e   C o n f i g M a p   t h a t   h a s   s o m e   k e y s   w i t h   s i n g l e   v a l u e s ,   a n d   o t h e r   k e y s   w h e r e   t h e   v a l u e   l o o k s   l i k e   a   f r a g m e n t   o f   a   c o n f i g u r a t i o n   f o r m a t .   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   g a m e - d e m o   d a t a :   #   p r o p e r t y - l i k e   k e y s ;   e a c h   k e y   m a p s   t o   a   s i m p l e   v a l u e   p l a y e r _ i n i t i a l _ l i v e s :   \" 3 \"   u i _ p r o p e r t i e s _ f i l e _ n a m e :   \" u s e r - i n t e r f a c e . p r o p e r t i e s \"   #   f i l e - l i k e   k e y s   g a m e . p r o p e r t i e s :   |   e n e m y . t y p e s = a l i e n s , m o n s t e r s   p l a y e r . m a x i m u m - l i v e s = 5   u s e r - i n t e r f a c e . p r o p e r t i e s :   |   c o l o r . g o o d = p u r p l e   c o l o r . b a d = y e l l o w   a l l o w . t e x t m o d e = t r u e   T h e r e   a r e   f o u r   d i f f e r e n t   w a y s   t h a t   y o u   c a n   u s e   a   C o n f i g M a p   t o   c o n f i g u r e   a   c o n t a i n e r   i n s i d e   a   P o d :   I n s i d e   a   c o n t a i n e r   c o m m a n d   a n d   a r g s E n v i r o n m e n t   v a r i a b l e s   f o r   a   c o n t a i n e r A d d   a   f i l e   i n   r e a d - o n l y   v o l u m e ,   f o r   t h e   a p p l i c a t i o n   t o   r e a d W r i t e   c o d e   t o   r u n   i n s i d e   t h e   P o d   t h a t   u s e s   t h e   K u b e r n e t e s   A P I   t o   r e a d   a   C o n f i g M a p   T h e s e   d i f f e r e n t   m e t h o d s   l e n d   t h e m s e l v e s   t o   d i f f e r e n t   w a y s   o f   m o d e l i n g   t h e   d a t a   b e i n g   c o n s u m e d .   F o r   t h e   f i r s t   t h r e e   m e t h o d s ,   t h e   k u b e l e t   u s e s   t h e   d a t a   f r o m   t h e   C o n f i g M a p   w h e n   i ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_3926"
  },
  {
    "question": "What is Using ConfigMaps?",
    "answer": "C o n f i g M a p s   c a n   b e   m o u n t e d   a s   d a t a   v o l u m e s .   C o n f i g M a p s   c a n   a l s o   b e   u s e d   b y   o t h e r   p a r t s   o f   t h e   s y s t e m ,   w i t h o u t   b e i n g   d i r e c t l y   e x p o s e d   t o   t h e   P o d .   F o r   e x a m p l e ,   C o n f i g M a p s   c a n   h o l d   d a t a   t h a t   o t h e r   p a r t s   o f   t h e   s y s t e m   s h o u l d   u s e   f o r   c o n f i g u r a t i o n .   T h e   m o s t   c o m m o n   w a y   t o   u s e   C o n f i g M a p s   i s   t o   c o n f i g u r e   s e t t i n g s   f o r   c o n t a i n e r s   r u n n i n g   i n   a   P o d   i n   t h e   s a m e   n a m e s p a c e .   Y o u   c a n   a l s o   u s e   a   C o n f i g M a p   s e p a r a t e l y .   F o r   e x a m p l e ,   y o u   m i g h t   e n c o u n t e r   a d d o n s   o r   o p e r a t o r s   t h a t   a d j u s t   t h e i r   b e h a v i o r   b a s e d   o n   a   C o n f i g M a p .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3927"
  },
  {
    "question": "What is Using ConfigMaps as files from a Pod?",
    "answer": "T o   c o n s u m e   a   C o n f i g M a p   i n   a   v o l u m e   i n   a   P o d :   C r e a t e   a   C o n f i g M a p   o r   u s e   a n   e x i s t i n g   o n e .   M u l t i p l e   P o d s   c a n   r e f e r e n c e   t h e   s a m e   C o n f i g M a p . M o d i f y   y o u r   P o d   d e f i n i t i o n   t o   a d d   a   v o l u m e   u n d e r   . s p e c . v o l u m e s [ ] .   N a m e   t h e   v o l u m e   a n y t h i n g ,   a n d   h a v e   a   . s p e c . v o l u m e s [ ] . c o n f i g M a p . n a m e   f i e l d   s e t   t o   r e f e r e n c e   y o u r   C o n f i g M a p   o b j e c t . A d d   a   . s p e c . c o n t a i n e r s [ ] . v o l u m e M o u n t s [ ]   t o   e a c h   c o n t a i n e r   t h a t   n e e d s   t h e   C o n f i g M a p .   S p e c i f y   . s p e c . c o n t a i n e r s [ ] . v o l u m e M o u n t s [ ] . r e a d O n l y   =   t r u e   a n d   . s p e c . c o n t a i n e r s [ ] . v o l u m e M o u n t s [ ] . m o u n t P a t h   t o   a n   u n u s e d   d i r e c t o r y   n a m e   w h e r e   y o u   w o u l d   l i k e   t h e   C o n f i g M a p   t o   a p p e a r . M o d i f y   y o u r   i m a g e   o r   c o m m a n d   l i n e   s o   t h a t   t h e   p r o g r a m   l o o k s   f o r   f i l e s   i n   t h a t   d i r e c t o r y .   E a c h   k e y   i n   t h e   C o n f i g M a p   d a t a   m a p   b e c o m e s   t h e   f i l e n a m e   u n d e r   m o u n t P a t h .   T h i s   i s   a n   e x a m p l e   o f   a   P o d   t h a t   m o u n t s   a   C o n f i g M a p   i n   a   v o l u m e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   m y p o d   i m a g e :   r e d i s   v o l u m e M o u n t s :   -   n a m e :   f o o   m o u n t P a t h :   \" / e t c / f o o \"   r e a d O n l y :   t r u e   v o l u m e s :   -   n a m e :   f o o   c o n f i g M a p :   n a m e :   m y c ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3928"
  },
  {
    "question": "What is Mounted ConfigMaps are updated automatically?",
    "answer": "W h e n   a   C o n f i g M a p   c u r r e n t l y   c o n s u m e d   i n   a   v o l u m e   i s   u p d a t e d ,   p r o j e c t e d   k e y s   a r e   e v e n t u a l l y   u p d a t e d   a s   w e l l .   T h e   k u b e l e t   c h e c k s   w h e t h e r   t h e   m o u n t e d   C o n f i g M a p   i s   f r e s h   o n   e v e r y   p e r i o d i c   s y n c .   H o w e v e r ,   t h e   k u b e l e t   u s e s   i t s   l o c a l   c a c h e   f o r   g e t t i n g   t h e   c u r r e n t   v a l u e   o f   t h e   C o n f i g M a p .   T h e   t y p e   o f   t h e   c a c h e   i s   c o n f i g u r a b l e   u s i n g   t h e   c o n f i g M a p A n d S e c r e t C h a n g e D e t e c t i o n S t r a t e g y   f i e l d   i n   t h e   K u b e l e t C o n f i g u r a t i o n   s t r u c t .   A   C o n f i g M a p   c a n   b e   e i t h e r   p r o p a g a t e d   b y   w a t c h   ( d e f a u l t ) ,   t t l - b a s e d ,   o r   b y   r e d i r e c t i n g   a l l   r e q u e s t s   d i r e c t l y   t o   t h e   A P I   s e r v e r .   A s   a   r e s u l t ,   t h e   t o t a l   d e l a y   f r o m   t h e   m o m e n t   w h e n   t h e   C o n f i g M a p   i s   u p d a t e d   t o   t h e   m o m e n t   w h e n   n e w   k e y s   a r e   p r o j e c t e d   t o   t h e   P o d   c a n   b e   a s   l o n g   a s   t h e   k u b e l e t   s y n c   p e r i o d   +   c a c h e   p r o p a g a t i o n   d e l a y ,   w h e r e   t h e   c a c h e   p r o p a g a t i o n   d e l a y   d e p e n d s   o n   t h e   c h o s e n   c a c h e   t y p e   ( i t   e q u a l s   t o   w a t c h   p r o p a g a t i o n   d e l a y ,   t t l   o f   c a c h e ,   o r   z e r o   c o r r e s p o n d i n g l y ) .   C o n f i g M a p s   c o n s u m e d   a s   e n v i r o n m e n t   v a r i a b l e s   a r e   n o t   u p d a t e d   a u t o m a t i c a l l y   a n d   r e q u i r e   a   p o d   r e s t a r t .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_3929"
  },
  {
    "question": "What is Using Configmaps as environment variables?",
    "answer": "T o   u s e   a   C o n f i g m a p   i n   a n   e n v i r o n m e n t   v a r i a b l e   i n   a   P o d :   F o r   e a c h   c o n t a i n e r   i n   y o u r   P o d   s p e c i f i c a t i o n ,   a d d   a n   e n v i r o n m e n t   v a r i a b l e   f o r   e a c h   C o n f i g m a p   k e y   t h a t   y o u   w a n t   t o   u s e   t o   t h e   e n v [ ] . v a l u e F r o m . c o n f i g M a p K e y R e f   f i e l d . M o d i f y   y o u r   i m a g e   a n d / o r   c o m m a n d   l i n e   s o   t h a t   t h e   p r o g r a m   l o o k s   f o r   v a l u e s   i n   t h e   s p e c i f i e d   e n v i r o n m e n t   v a r i a b l e s .   T h i s   i s   a n   e x a m p l e   o f   d e f i n i n g   a   C o n f i g M a p   a s   a   p o d   e n v i r o n m e n t   v a r i a b l e :   T h e   f o l l o w i n g   C o n f i g M a p   ( m y c o n f i g m a p . y a m l )   s t o r e s   t w o   p r o p e r t i e s :   u s e r n a m e   a n d   a c c e s s _ l e v e l :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   m y c o n f i g m a p   d a t a :   u s e r n a m e :   k 8 s - a d m i n   a c c e s s _ l e v e l :   \" 1 \"   T h e   f o l l o w i n g   c o m m a n d   w i l l   c r e a t e   t h e   C o n f i g M a p   o b j e c t :   k u b e c t l   a p p l y   - f   m y c o n f i g m a p . y a m l   T h e   f o l l o w i n g   P o d   c o n s u m e s   t h e   c o n t e n t   o f   t h e   C o n f i g M a p   a s   e n v i r o n m e n t   v a r i a b l e s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e n v - c o n f i g m a p   s p e c :   c o n t a i n e r s :   -   n a m e :   a p p   c o m m a n d :   [ \" / b i n / s h \" ,   \" - c \" ,   \" p r i n t e n v \" ]   i m a g e :   b u s y b o x : l a t e s t   e n v F r o m :   -   c o n f i g M a p R e f :   n a m e :   m y c o n f i g m a p   T h e   e n v F r o m   f i e l d   i n s t r u c t s   K u b e r n e ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3930"
  },
  {
    "question": "What is Immutable ConfigMaps?",
    "answer": "T h e   K u b e r n e t e s   f e a t u r e   I m m u t a b l e   S e c r e t s   a n d   C o n f i g M a p s   p r o v i d e s   a n   o p t i o n   t o   s e t   i n d i v i d u a l   S e c r e t s   a n d   C o n f i g M a p s   a s   i m m u t a b l e .   F o r   c l u s t e r s   t h a t   e x t e n s i v e l y   u s e   C o n f i g M a p s   ( a t   l e a s t   t e n s   o f   t h o u s a n d s   o f   u n i q u e   C o n f i g M a p   t o   P o d   m o u n t s ) ,   p r e v e n t i n g   c h a n g e s   t o   t h e i r   d a t a   h a s   t h e   f o l l o w i n g   a d v a n t a g e s :   p r o t e c t s   y o u   f r o m   a c c i d e n t a l   ( o r   u n w a n t e d )   u p d a t e s   t h a t   c o u l d   c a u s e   a p p l i c a t i o n s   o u t a g e s i m p r o v e s   p e r f o r m a n c e   o f   y o u r   c l u s t e r   b y   s i g n i f i c a n t l y   r e d u c i n g   l o a d   o n   k u b e - a p i s e r v e r ,   b y   c l o s i n g   w a t c h e s   f o r   C o n f i g M a p s   m a r k e d   a s   i m m u t a b l e .   Y o u   c a n   c r e a t e   a n   i m m u t a b l e   C o n f i g M a p   b y   s e t t i n g   t h e   i m m u t a b l e   f i e l d   t o   t r u e .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   . . .   d a t a :   . . .   i m m u t a b l e :   t r u e   O n c e   a   C o n f i g M a p   i s   m a r k e d   a s   i m m u t a b l e ,   i t   i s   n o t   p o s s i b l e   t o   r e v e r t   t h i s   c h a n g e   n o r   t o   m u t a t e   t h e   c o n t e n t s   o f   t h e   d a t a   o r   t h e   b i n a r y D a t a   f i e l d .   Y o u   c a n   o n l y   d e l e t e   a n d   r e c r e a t e   t h e   C o n f i g M a p .   B e c a u s e   e x i s t i n g   P o d s   m a i n t a i n   a   m o u n t   p o i n t   t o   t h e   d e l e t e d   C o n f i g M a p ,   i t   i s   r e c o m m e n d e d   t o   r e c r e a t e   t h e s e   p o d s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3931"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   S e c r e t s . R e a d   C o n f i g u r e   a   P o d   t o   U s e   a   C o n f i g M a p . R e a d   a b o u t   c h a n g i n g   a   C o n f i g M a p   ( o r   a n y   o t h e r   K u b e r n e t e s   o b j e c t ) R e a d   T h e   T w e l v e - F a c t o r   A p p   t o   u n d e r s t a n d   t h e   m o t i v a t i o n   f o r   s e p a r a t i n g   c o d e   f r o m   c o n f i g u r a t i o n .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3932"
  },
  {
    "question": "What is 3 - Secrets?",
    "answer": "A   S e c r e t   i s   a n   o b j e c t   t h a t   c o n t a i n s   a   s m a l l   a m o u n t   o f   s e n s i t i v e   d a t a   s u c h   a s   a   p a s s w o r d ,   a   t o k e n ,   o r   a   k e y .   S u c h   i n f o r m a t i o n   m i g h t   o t h e r w i s e   b e   p u t   i n   a   P o d   s p e c i f i c a t i o n   o r   i n   a   c o n t a i n e r   i m a g e .   U s i n g   a   S e c r e t   m e a n s   t h a t   y o u   d o n ' t   n e e d   t o   i n c l u d e   c o n f i d e n t i a l   d a t a   i n   y o u r   a p p l i c a t i o n   c o d e .   B e c a u s e   S e c r e t s   c a n   b e   c r e a t e d   i n d e p e n d e n t l y   o f   t h e   P o d s   t h a t   u s e   t h e m ,   t h e r e   i s   l e s s   r i s k   o f   t h e   S e c r e t   ( a n d   i t s   d a t a )   b e i n g   e x p o s e d   d u r i n g   t h e   w o r k f l o w   o f   c r e a t i n g ,   v i e w i n g ,   a n d   e d i t i n g   P o d s .   K u b e r n e t e s ,   a n d   a p p l i c a t i o n s   t h a t   r u n   i n   y o u r   c l u s t e r ,   c a n   a l s o   t a k e   a d d i t i o n a l   p r e c a u t i o n s   w i t h   S e c r e t s ,   s u c h   a s   a v o i d i n g   w r i t i n g   s e n s i t i v e   d a t a   t o   n o n v o l a t i l e   s t o r a g e .   S e c r e t s   a r e   s i m i l a r   t o   C o n f i g M a p s   b u t   a r e   s p e c i f i c a l l y   i n t e n d e d   t o   h o l d   c o n f i d e n t i a l   d a t a .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_1_3933"
  },
  {
    "question": "What is Caution:?",
    "answer": "K u b e r n e t e s   S e c r e t s   a r e ,   b y   d e f a u l t ,   s t o r e d   u n e n c r y p t e d   i n   t h e   A P I   s e r v e r ' s   u n d e r l y i n g   d a t a   s t o r e   ( e t c d ) .   A n y o n e   w i t h   A P I   a c c e s s   c a n   r e t r i e v e   o r   m o d i f y   a   S e c r e t ,   a n d   s o   c a n   a n y o n e   w i t h   a c c e s s   t o   e t c d .   A d d i t i o n a l l y ,   a n y o n e   w h o   i s   a u t h o r i z e d   t o   c r e a t e   a   P o d   i n   a   n a m e s p a c e   c a n   u s e   t h a t   a c c e s s   t o   r e a d   a n y   S e c r e t   i n   t h a t   n a m e s p a c e ;   t h i s   i n c l u d e s   i n d i r e c t   a c c e s s   s u c h   a s   t h e   a b i l i t y   t o   c r e a t e   a   D e p l o y m e n t .   I n   o r d e r   t o   s a f e l y   u s e   S e c r e t s ,   t a k e   a t   l e a s t   t h e   f o l l o w i n g   s t e p s :   E n a b l e   E n c r y p t i o n   a t   R e s t   f o r   S e c r e t s . E n a b l e   o r   c o n f i g u r e   R B A C   r u l e s   w i t h   l e a s t - p r i v i l e g e   a c c e s s   t o   S e c r e t s . R e s t r i c t   S e c r e t   a c c e s s   t o   s p e c i f i c   c o n t a i n e r s . C o n s i d e r   u s i n g   e x t e r n a l   S e c r e t   s t o r e   p r o v i d e r s .   F o r   m o r e   g u i d e l i n e s   t o   m a n a g e   a n d   i m p r o v e   t h e   s e c u r i t y   o f   y o u r   S e c r e t s ,   r e f e r   t o   G o o d   p r a c t i c e s   f o r   K u b e r n e t e s   S e c r e t s .   S e e   I n f o r m a t i o n   s e c u r i t y   f o r   S e c r e t s   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_3934"
  },
  {
    "question": "What is Uses for Secrets?",
    "answer": "Y o u   c a n   u s e   S e c r e t s   f o r   p u r p o s e s   s u c h   a s   t h e   f o l l o w i n g :   S e t   e n v i r o n m e n t   v a r i a b l e s   f o r   a   c o n t a i n e r . P r o v i d e   c r e d e n t i a l s   s u c h   a s   S S H   k e y s   o r   p a s s w o r d s   t o   P o d s . A l l o w   t h e   k u b e l e t   t o   p u l l   c o n t a i n e r   i m a g e s   f r o m   p r i v a t e   r e g i s t r i e s .   T h e   K u b e r n e t e s   c o n t r o l   p l a n e   a l s o   u s e s   S e c r e t s ;   f o r   e x a m p l e ,   b o o t s t r a p   t o k e n   S e c r e t s   a r e   a   m e c h a n i s m   t o   h e l p   a u t o m a t e   n o d e   r e g i s t r a t i o n .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3935"
  },
  {
    "question": "What is Use case: dotfiles in a secret volume?",
    "answer": "Y o u   c a n   m a k e   y o u r   d a t a   \" h i d d e n \"   b y   d e f i n i n g   a   k e y   t h a t   b e g i n s   w i t h   a   d o t .   T h i s   k e y   r e p r e s e n t s   a   d o t f i l e   o r   \" h i d d e n \"   f i l e .   F o r   e x a m p l e ,   w h e n   t h e   f o l l o w i n g   S e c r e t   i s   m o u n t e d   i n t o   a   v o l u m e ,   s e c r e t - v o l u m e ,   t h e   v o l u m e   w i l l   c o n t a i n   a   s i n g l e   f i l e ,   c a l l e d   . s e c r e t - f i l e ,   a n d   t h e   d o t f i l e - t e s t - c o n t a i n e r   w i l l   h a v e   t h i s   f i l e   p r e s e n t   a t   t h e   p a t h   / e t c / s e c r e t - v o l u m e / . s e c r e t - f i l e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3936"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   d o t f i l e - s e c r e t   d a t a :   . s e c r e t - f i l e :   d m F s d W U t M g 0 K D Q o =   - - -   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s e c r e t - d o t f i l e s - p o d   s p e c :   v o l u m e s :   -   n a m e :   s e c r e t - v o l u m e   s e c r e t :   s e c r e t N a m e :   d o t f i l e - s e c r e t   c o n t a i n e r s :   -   n a m e :   d o t f i l e - t e s t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x   c o m m a n d :   -   l s   -   \" - l \"   -   \" / e t c / s e c r e t - v o l u m e \"   v o l u m e M o u n t s :   -   n a m e :   s e c r e t - v o l u m e   r e a d O n l y :   t r u e   m o u n t P a t h :   \" / e t c / s e c r e t - v o l u m e \"",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_3937"
  },
  {
    "question": "What is Use case: Secret visible to one container in a Pod?",
    "answer": "C o n s i d e r   a   p r o g r a m   t h a t   n e e d s   t o   h a n d l e   H T T P   r e q u e s t s ,   d o   s o m e   c o m p l e x   b u s i n e s s   l o g i c ,   a n d   t h e n   s i g n   s o m e   m e s s a g e s   w i t h   a n   H M A C .   B e c a u s e   i t   h a s   c o m p l e x   a p p l i c a t i o n   l o g i c ,   t h e r e   m i g h t   b e   a n   u n n o t i c e d   r e m o t e   f i l e   r e a d i n g   e x p l o i t   i n   t h e   s e r v e r ,   w h i c h   c o u l d   e x p o s e   t h e   p r i v a t e   k e y   t o   a n   a t t a c k e r .   T h i s   c o u l d   b e   d i v i d e d   i n t o   t w o   p r o c e s s e s   i n   t w o   c o n t a i n e r s :   a   f r o n t e n d   c o n t a i n e r   w h i c h   h a n d l e s   u s e r   i n t e r a c t i o n   a n d   b u s i n e s s   l o g i c ,   b u t   w h i c h   c a n n o t   s e e   t h e   p r i v a t e   k e y ;   a n d   a   s i g n e r   c o n t a i n e r   t h a t   c a n   s e e   t h e   p r i v a t e   k e y ,   a n d   r e s p o n d s   t o   s i m p l e   s i g n i n g   r e q u e s t s   f r o m   t h e   f r o n t e n d   ( f o r   e x a m p l e ,   o v e r   l o c a l h o s t   n e t w o r k i n g ) .   W i t h   t h i s   p a r t i t i o n e d   a p p r o a c h ,   a n   a t t a c k e r   n o w   h a s   t o   t r i c k   t h e   a p p l i c a t i o n   s e r v e r   i n t o   d o i n g   s o m e t h i n g   r a t h e r   a r b i t r a r y ,   w h i c h   m a y   b e   h a r d e r   t h a n   g e t t i n g   i t   t o   r e a d   a   f i l e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3938"
  },
  {
    "question": "What is Alternatives to Secrets?",
    "answer": "R a t h e r   t h a n   u s i n g   a   S e c r e t   t o   p r o t e c t   c o n f i d e n t i a l   d a t a ,   y o u   c a n   p i c k   f r o m   a l t e r n a t i v e s .   H e r e   a r e   s o m e   o f   y o u r   o p t i o n s :   I f   y o u r   c l o u d - n a t i v e   c o m p o n e n t   n e e d s   t o   a u t h e n t i c a t e   t o   a n o t h e r   a p p l i c a t i o n   t h a t   y o u   k n o w   i s   r u n n i n g   w i t h i n   t h e   s a m e   K u b e r n e t e s   c l u s t e r ,   y o u   c a n   u s e   a   S e r v i c e A c c o u n t   a n d   i t s   t o k e n s   t o   i d e n t i f y   y o u r   c l i e n t . T h e r e   a r e   t h i r d - p a r t y   t o o l s   t h a t   y o u   c a n   r u n ,   e i t h e r   w i t h i n   o r   o u t s i d e   y o u r   c l u s t e r ,   t h a t   m a n a g e   s e n s i t i v e   d a t a .   F o r   e x a m p l e ,   a   s e r v i c e   t h a t   P o d s   a c c e s s   o v e r   H T T P S ,   t h a t   r e v e a l s   a   S e c r e t   i f   t h e   c l i e n t   c o r r e c t l y   a u t h e n t i c a t e s   ( f o r   e x a m p l e ,   w i t h   a   S e r v i c e A c c o u n t   t o k e n ) . F o r   a u t h e n t i c a t i o n ,   y o u   c a n   i m p l e m e n t   a   c u s t o m   s i g n e r   f o r   X . 5 0 9   c e r t i f i c a t e s ,   a n d   u s e   C e r t i f i c a t e S i g n i n g R e q u e s t s   t o   l e t   t h a t   c u s t o m   s i g n e r   i s s u e   c e r t i f i c a t e s   t o   P o d s   t h a t   n e e d   t h e m . Y o u   c a n   u s e   a   d e v i c e   p l u g i n   t o   e x p o s e   n o d e - l o c a l   e n c r y p t i o n   h a r d w a r e   t o   a   s p e c i f i c   P o d .   F o r   e x a m p l e ,   y o u   c a n   s c h e d u l e   t r u s t e d   P o d s   o n t o   n o d e s   t h a t   p r o v i d e   a   T r u s t e d   P l a t f o r m   M o d u l e ,   c o n f i g u r e d   o u t - o f - b a n d .   Y o u   c a n   a l s o   c o m b i n e ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3939"
  },
  {
    "question": "What is Types of Secret?",
    "answer": "W h e n   c r e a t i n g   a   S e c r e t ,   y o u   c a n   s p e c i f y   i t s   t y p e   u s i n g   t h e   t y p e   f i e l d   o f   t h e   S e c r e t   r e s o u r c e ,   o r   c e r t a i n   e q u i v a l e n t   k u b e c t l   c o m m a n d   l i n e   f l a g s   ( i f   a v a i l a b l e ) .   T h e   S e c r e t   t y p e   i s   u s e d   t o   f a c i l i t a t e   p r o g r a m m a t i c   h a n d l i n g   o f   t h e   S e c r e t   d a t a .   K u b e r n e t e s   p r o v i d e s   s e v e r a l   b u i l t - i n   t y p e s   f o r   s o m e   c o m m o n   u s a g e   s c e n a r i o s .   T h e s e   t y p e s   v a r y   i n   t e r m s   o f   t h e   v a l i d a t i o n s   p e r f o r m e d   a n d   t h e   c o n s t r a i n t s   K u b e r n e t e s   i m p o s e s   o n   t h e m .   Y o u   c a n   d e f i n e   a n d   u s e   y o u r   o w n   S e c r e t   t y p e   b y   a s s i g n i n g   a   n o n - e m p t y   s t r i n g   a s   t h e   t y p e   v a l u e   f o r   a   S e c r e t   o b j e c t   ( a n   e m p t y   s t r i n g   i s   t r e a t e d   a s   a n   O p a q u e   t y p e ) .   K u b e r n e t e s   d o e s n ' t   i m p o s e   a n y   c o n s t r a i n t s   o n   t h e   t y p e   n a m e .   H o w e v e r ,   i f   y o u   a r e   u s i n g   o n e   o f   t h e   b u i l t - i n   t y p e s ,   y o u   m u s t   m e e t   a l l   t h e   r e q u i r e m e n t s   d e f i n e d   f o r   t h a t   t y p e .   I f   y o u   a r e   d e f i n i n g   a   t y p e   o f   S e c r e t   t h a t ' s   f o r   p u b l i c   u s e ,   f o l l o w   t h e   c o n v e n t i o n   a n d   s t r u c t u r e   t h e   S e c r e t   t y p e   t o   h a v e   y o u r   d o m a i n   n a m e   b e f o r e   t h e   n a m e ,   s e p a r a t e d   b y   a   / .   F o r   e x a m p l e :   c l o u d - h o s t i n g . e x a m p l e . n e t / c l o u d - a p i - c r e d e n t i a l s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3940"
  },
  {
    "question": "What is Opaque Secrets?",
    "answer": "O p a q u e   i s   t h e   d e f a u l t   S e c r e t   t y p e   i f   y o u   d o n ' t   e x p l i c i t l y   s p e c i f y   a   t y p e   i n   a   S e c r e t   m a n i f e s t .   W h e n   y o u   c r e a t e   a   S e c r e t   u s i n g   k u b e c t l ,   y o u   m u s t   u s e   t h e   g e n e r i c   s u b c o m m a n d   t o   i n d i c a t e   a n   O p a q u e   S e c r e t   t y p e .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   c o m m a n d   c r e a t e s   a n   e m p t y   S e c r e t   o f   t y p e   O p a q u e :   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   e m p t y - s e c r e t   k u b e c t l   g e t   s e c r e t   e m p t y - s e c r e t   T h e   o u t p u t   l o o k s   l i k e :   N A M E   T Y P E   D A T A   A G E   e m p t y - s e c r e t   O p a q u e   0   2 m 6 s   T h e   D A T A   c o l u m n   s h o w s   t h e   n u m b e r   o f   d a t a   i t e m s   s t o r e d   i n   t h e   S e c r e t .   I n   t h i s   c a s e ,   0   m e a n s   y o u   h a v e   c r e a t e d   a n   e m p t y   S e c r e t .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3941"
  },
  {
    "question": "What is ServiceAccount token Secrets?",
    "answer": "A   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n   t y p e   o f   S e c r e t   i s   u s e d   t o   s t o r e   a   t o k e n   c r e d e n t i a l   t h a t   i d e n t i f i e s   a   S e r v i c e A c c o u n t .   T h i s   i s   a   l e g a c y   m e c h a n i s m   t h a t   p r o v i d e s   l o n g - l i v e d   S e r v i c e A c c o u n t   c r e d e n t i a l s   t o   P o d s .   I n   K u b e r n e t e s   v 1 . 2 2   a n d   l a t e r ,   t h e   r e c o m m e n d e d   a p p r o a c h   i s   t o   o b t a i n   a   s h o r t - l i v e d ,   a u t o m a t i c a l l y   r o t a t i n g   S e r v i c e A c c o u n t   t o k e n   b y   u s i n g   t h e   T o k e n R e q u e s t   A P I   i n s t e a d .   Y o u   c a n   g e t   t h e s e   s h o r t - l i v e d   t o k e n s   u s i n g   t h e   f o l l o w i n g   m e t h o d s :   C a l l   t h e   T o k e n R e q u e s t   A P I   e i t h e r   d i r e c t l y   o r   b y   u s i n g   a n   A P I   c l i e n t   l i k e   k u b e c t l .   F o r   e x a m p l e ,   y o u   c a n   u s e   t h e   k u b e c t l   c r e a t e   t o k e n   c o m m a n d . R e q u e s t   a   m o u n t e d   t o k e n   i n   a   p r o j e c t e d   v o l u m e   i n   y o u r   P o d   m a n i f e s t .   K u b e r n e t e s   c r e a t e s   t h e   t o k e n   a n d   m o u n t s   i t   i n   t h e   P o d .   T h e   t o k e n   i s   a u t o m a t i c a l l y   i n v a l i d a t e d   w h e n   t h e   P o d   t h a t   i t ' s   m o u n t e d   i n   i s   d e l e t e d .   F o r   d e t a i l s ,   s e e   L a u n c h   a   P o d   u s i n g   s e r v i c e   a c c o u n t   t o k e n   p r o j e c t i o n .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3942"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   u s i n g   t h i s   S e c r e t   t y p e ,   y o u   n e e d   t o   e n s u r e   t h a t   t h e   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . n a m e   a n n o t a t i o n   i s   s e t   t o   a n   e x i s t i n g   S e r v i c e A c c o u n t   n a m e .   I f   y o u   a r e   c r e a t i n g   b o t h   t h e   S e r v i c e A c c o u n t   a n d   t h e   S e c r e t   o b j e c t s ,   y o u   s h o u l d   c r e a t e   t h e   S e r v i c e A c c o u n t   o b j e c t   f i r s t .   A f t e r   t h e   S e c r e t   i s   c r e a t e d ,   a   K u b e r n e t e s   c o n t r o l l e r   f i l l s   i n   s o m e   o t h e r   f i e l d s   s u c h   a s   t h e   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . u i d   a n n o t a t i o n ,   a n d   t h e   t o k e n   k e y   i n   t h e   d a t a   f i e l d ,   w h i c h   i s   p o p u l a t e d   w i t h   a n   a u t h e n t i c a t i o n   t o k e n .   T h e   f o l l o w i n g   e x a m p l e   c o n f i g u r a t i o n   d e c l a r e s   a   S e r v i c e A c c o u n t   t o k e n   S e c r e t :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   s e c r e t - s a - s a m p l e   a n n o t a t i o n s :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . n a m e :   \" s a - n a m e \"   t y p e :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n   d a t a :   e x t r a :   Y m F y C g = =   A f t e r   c r e a t i n g   t h e   S e c r e t ,   w a i t   f o r   K u b e r n e t e s   t o   p o p u l a t e   t h e   t o k e n   k e y   i n   t h e   d a t a   f i e l d .   S e e   t h e   S e r v i c e A c c o u n t   d o c u m e n t a t i o n   f o r   m o r e   i n f o r m a t i o n   o n   h o w   S e r v i c e A c c o u n t s   w o r k .   Y o u   c a n   a l s o   c h e c k   t h e   a u t o m o u n t S e r v i c e A c c o u n t T o k e n   f i e l d   a n d   t h e   s e r v i c ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_3943"
  },
  {
    "question": "What is Docker config Secrets?",
    "answer": "I f   y o u   a r e   c r e a t i n g   a   S e c r e t   t o   s t o r e   c r e d e n t i a l s   f o r   a c c e s s i n g   a   c o n t a i n e r   i m a g e   r e g i s t r y ,   y o u   m u s t   u s e   o n e   o f   t h e   f o l l o w i n g   t y p e   v a l u e s   f o r   t h a t   S e c r e t :   k u b e r n e t e s . i o / d o c k e r c f g :   s t o r e   a   s e r i a l i z e d   ~ / . d o c k e r c f g   w h i c h   i s   t h e   l e g a c y   f o r m a t   f o r   c o n f i g u r i n g   D o c k e r   c o m m a n d   l i n e .   T h e   S e c r e t   d a t a   f i e l d   c o n t a i n s   a   . d o c k e r c f g   k e y   w h o s e   v a l u e   i s   t h e   c o n t e n t   o f   a   b a s e 6 4   e n c o d e d   ~ / . d o c k e r c f g   f i l e . k u b e r n e t e s . i o / d o c k e r c o n f i g j s o n :   s t o r e   a   s e r i a l i z e d   J S O N   t h a t   f o l l o w s   t h e   s a m e   f o r m a t   r u l e s   a s   t h e   ~ / . d o c k e r / c o n f i g . j s o n   f i l e ,   w h i c h   i s   a   n e w   f o r m a t   f o r   ~ / . d o c k e r c f g .   T h e   S e c r e t   d a t a   f i e l d   m u s t   c o n t a i n   a   . d o c k e r c o n f i g j s o n   k e y   f o r   w h i c h   t h e   v a l u e   i s   t h e   c o n t e n t   o f   a   b a s e 6 4   e n c o d e d   ~ / . d o c k e r / c o n f i g . j s o n   f i l e .   B e l o w   i s   a n   e x a m p l e   f o r   a   k u b e r n e t e s . i o / d o c k e r c f g   t y p e   o f   S e c r e t :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   s e c r e t - d o c k e r c f g   t y p e :   k u b e r n e t e s . i o / d o c k e r c f g   d a t a :   . d o c k e r c f g :   |   e y J h d X R o c y I 6 e y J o d H R w c z o v L 2 V 4 Y W 1 w b G U v d j E v I j p 7 I m F 1 d G g i O i J v c G V u c 2 V z Y W 1 l I n 1 9 f Q o =",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3944"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   y o u   c r e a t e   D o c k e r   c o n f i g   S e c r e t s   u s i n g   a   m a n i f e s t ,   t h e   A P I   s e r v e r   c h e c k s   w h e t h e r   t h e   e x p e c t e d   k e y   e x i s t s   i n   t h e   d a t a   f i e l d ,   a n d   i t   v e r i f i e s   i f   t h e   v a l u e   p r o v i d e d   c a n   b e   p a r s e d   a s   a   v a l i d   J S O N .   T h e   A P I   s e r v e r   d o e s n ' t   v a l i d a t e   i f   t h e   J S O N   a c t u a l l y   i s   a   D o c k e r   c o n f i g   f i l e .   Y o u   c a n   a l s o   u s e   k u b e c t l   t o   c r e a t e   a   S e c r e t   f o r   a c c e s s i n g   a   c o n t a i n e r   r e g i s t r y ,   s u c h   a s   w h e n   y o u   d o n ' t   h a v e   a   D o c k e r   c o n f i g u r a t i o n   f i l e :   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   s e c r e t - t i g e r - d o c k e r   \\   - - d o c k e r - e m a i l = t i g e r @ a c m e . e x a m p l e   \\   - - d o c k e r - u s e r n a m e = t i g e r   \\   - - d o c k e r - p a s s w o r d = p a s s 1 2 3 4   \\   - - d o c k e r - s e r v e r = m y - r e g i s t r y . e x a m p l e : 5 0 0 0   T h i s   c o m m a n d   c r e a t e s   a   S e c r e t   o f   t y p e   k u b e r n e t e s . i o / d o c k e r c o n f i g j s o n .   R e t r i e v e   t h e   . d a t a . d o c k e r c o n f i g j s o n   f i e l d   f r o m   t h a t   n e w   S e c r e t   a n d   d e c o d e   t h e   d a t a :   k u b e c t l   g e t   s e c r e t   s e c r e t - t i g e r - d o c k e r   - o   j s o n p a t h = ' { . d a t a . * } '   |   b a s e 6 4   - d   T h e   o u t p u t   i s   e q u i v a l e n t   t o   t h e   f o l l o w i n g   J S O N   d o c u m e n t   ( w h i c h   i s   a l s o   a   v a l i d   D o c k e r   c o n f i g u r a t i o n   f i l e ) :   {   \" a u t h s \" :   {   \" m y - r e g i s t r y . e x a m p l e : 5 0 0 0 \" :   {   \" u s e r n a m e \" :   \" t i g ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_3945"
  },
  {
    "question": "What is Caution:?",
    "answer": "T h e   a u t h   v a l u e   t h e r e   i s   b a s e 6 4   e n c o d e d ;   i t   i s   o b s c u r e d   b u t   n o t   s e c r e t .   A n y o n e   w h o   c a n   r e a d   t h a t   S e c r e t   c a n   l e a r n   t h e   r e g i s t r y   a c c e s s   b e a r e r   t o k e n .   I t   i s   s u g g e s t e d   t o   u s e   c r e d e n t i a l   p r o v i d e r s   t o   d y n a m i c a l l y   a n d   s e c u r e l y   p r o v i d e   p u l l   s e c r e t s   o n - d e m a n d .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_3946"
  },
  {
    "question": "What is Basic authentication Secret?",
    "answer": "T h e   k u b e r n e t e s . i o / b a s i c - a u t h   t y p e   i s   p r o v i d e d   f o r   s t o r i n g   c r e d e n t i a l s   n e e d e d   f o r   b a s i c   a u t h e n t i c a t i o n .   W h e n   u s i n g   t h i s   S e c r e t   t y p e ,   t h e   d a t a   f i e l d   o f   t h e   S e c r e t   m u s t   c o n t a i n   o n e   o f   t h e   f o l l o w i n g   t w o   k e y s :   u s e r n a m e :   t h e   u s e r   n a m e   f o r   a u t h e n t i c a t i o n p a s s w o r d :   t h e   p a s s w o r d   o r   t o k e n   f o r   a u t h e n t i c a t i o n   B o t h   v a l u e s   f o r   t h e   a b o v e   t w o   k e y s   a r e   b a s e 6 4   e n c o d e d   s t r i n g s .   Y o u   c a n   a l t e r n a t i v e l y   p r o v i d e   t h e   c l e a r   t e x t   c o n t e n t   u s i n g   t h e   s t r i n g D a t a   f i e l d   i n   t h e   S e c r e t   m a n i f e s t .   T h e   f o l l o w i n g   m a n i f e s t   i s   a n   e x a m p l e   o f   a   b a s i c   a u t h e n t i c a t i o n   S e c r e t :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   s e c r e t - b a s i c - a u t h   t y p e :   k u b e r n e t e s . i o / b a s i c - a u t h   s t r i n g D a t a :   u s e r n a m e :   a d m i n   #   r e q u i r e d   f i e l d   f o r   k u b e r n e t e s . i o / b a s i c - a u t h   p a s s w o r d :   t 0 p - S e c r e t   #   r e q u i r e d   f i e l d   f o r   k u b e r n e t e s . i o / b a s i c - a u t h",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3947"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   b a s i c   a u t h e n t i c a t i o n   S e c r e t   t y p e   i s   p r o v i d e d   o n l y   f o r   c o n v e n i e n c e .   Y o u   c a n   c r e a t e   a n   O p a q u e   t y p e   f o r   c r e d e n t i a l s   u s e d   f o r   b a s i c   a u t h e n t i c a t i o n .   H o w e v e r ,   u s i n g   t h e   d e f i n e d   a n d   p u b l i c   S e c r e t   t y p e   ( k u b e r n e t e s . i o / b a s i c - a u t h )   h e l p s   o t h e r   p e o p l e   t o   u n d e r s t a n d   t h e   p u r p o s e   o f   y o u r   S e c r e t ,   a n d   s e t s   a   c o n v e n t i o n   f o r   w h a t   k e y   n a m e s   t o   e x p e c t .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_3948"
  },
  {
    "question": "What is SSH authentication Secrets?",
    "answer": "T h e   b u i l t i n   t y p e   k u b e r n e t e s . i o / s s h - a u t h   i s   p r o v i d e d   f o r   s t o r i n g   d a t a   u s e d   i n   S S H   a u t h e n t i c a t i o n .   W h e n   u s i n g   t h i s   S e c r e t   t y p e ,   y o u   w i l l   h a v e   t o   s p e c i f y   a   s s h - p r i v a t e k e y   k e y - v a l u e   p a i r   i n   t h e   d a t a   ( o r   s t r i n g D a t a )   f i e l d   a s   t h e   S S H   c r e d e n t i a l   t o   u s e .   T h e   f o l l o w i n g   m a n i f e s t   i s   a n   e x a m p l e   o f   a   S e c r e t   u s e d   f o r   S S H   p u b l i c / p r i v a t e   k e y   a u t h e n t i c a t i o n :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   s e c r e t - s s h - a u t h   t y p e :   k u b e r n e t e s . i o / s s h - a u t h   d a t a :   #   t h e   d a t a   i s   a b b r e v i a t e d   i n   t h i s   e x a m p l e   s s h - p r i v a t e k e y :   |   U G 9 1 c m l u Z z Y l R W 1 v d G l j b 2 4 l U 2 N 1 Y m E =   T h e   S S H   a u t h e n t i c a t i o n   S e c r e t   t y p e   i s   p r o v i d e d   o n l y   f o r   c o n v e n i e n c e .   Y o u   c a n   c r e a t e   a n   O p a q u e   t y p e   f o r   c r e d e n t i a l s   u s e d   f o r   S S H   a u t h e n t i c a t i o n .   H o w e v e r ,   u s i n g   t h e   d e f i n e d   a n d   p u b l i c   S e c r e t   t y p e   ( k u b e r n e t e s . i o / s s h - a u t h )   h e l p s   o t h e r   p e o p l e   t o   u n d e r s t a n d   t h e   p u r p o s e   o f   y o u r   S e c r e t ,   a n d   s e t s   a   c o n v e n t i o n   f o r   w h a t   k e y   n a m e s   t o   e x p e c t .   T h e   K u b e r n e t e s   A P I   v e r i f i e s   t h a t   t h e   r e q u i r e d   k e y s   a r e   s e t   f o r   a   S e c r e t   o f   t h i s   t y p e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3949"
  },
  {
    "question": "What is TLS Secrets?",
    "answer": "T h e   k u b e r n e t e s . i o / t l s   S e c r e t   t y p e   i s   f o r   s t o r i n g   a   c e r t i f i c a t e   a n d   i t s   a s s o c i a t e d   k e y   t h a t   a r e   t y p i c a l l y   u s e d   f o r   T L S .   O n e   c o m m o n   u s e   f o r   T L S   S e c r e t s   i s   t o   c o n f i g u r e   e n c r y p t i o n   i n   t r a n s i t   f o r   a n   I n g r e s s ,   b u t   y o u   c a n   a l s o   u s e   i t   w i t h   o t h e r   r e s o u r c e s   o r   d i r e c t l y   i n   y o u r   w o r k l o a d .   W h e n   u s i n g   t h i s   t y p e   o f   S e c r e t ,   t h e   t l s . k e y   a n d   t h e   t l s . c r t   k e y   m u s t   b e   p r o v i d e d   i n   t h e   d a t a   ( o r   s t r i n g D a t a )   f i e l d   o f   t h e   S e c r e t   c o n f i g u r a t i o n ,   a l t h o u g h   t h e   A P I   s e r v e r   d o e s n ' t   a c t u a l l y   v a l i d a t e   t h e   v a l u e s   f o r   e a c h   k e y .   A s   a n   a l t e r n a t i v e   t o   u s i n g   s t r i n g D a t a ,   y o u   c a n   u s e   t h e   d a t a   f i e l d   t o   p r o v i d e   t h e   b a s e 6 4   e n c o d e d   c e r t i f i c a t e   a n d   p r i v a t e   k e y .   F o r   d e t a i l s ,   s e e   C o n s t r a i n t s   o n   S e c r e t   n a m e s   a n d   d a t a .   T h e   f o l l o w i n g   Y A M L   c o n t a i n s   a n   e x a m p l e   c o n f i g   f o r   a   T L S   S e c r e t :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   s e c r e t - t l s   t y p e :   k u b e r n e t e s . i o / t l s   d a t a :   #   v a l u e s   a r e   b a s e 6 4   e n c o d e d ,   w h i c h   o b s c u r e s   t h e m   b u t   d o e s   N O T   p r o v i d e   #   a n y   u s e f u l   l e v e l   o f   c o n f i d e n t i a l i t y   #   R e p l a c e   t h e   f o l l o w i n g   v a l u e s   w i t h   y o u r   o w n   b a s e 6 4 - e n c o d e d   c e r t i ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3950"
  },
  {
    "question": "What is Bootstrap token Secrets?",
    "answer": "T h e   b o o t s t r a p . k u b e r n e t e s . i o / t o k e n   S e c r e t   t y p e   i s   f o r   t o k e n s   u s e d   d u r i n g   t h e   n o d e   b o o t s t r a p   p r o c e s s .   I t   s t o r e s   t o k e n s   u s e d   t o   s i g n   w e l l - k n o w n   C o n f i g M a p s .   A   b o o t s t r a p   t o k e n   S e c r e t   i s   u s u a l l y   c r e a t e d   i n   t h e   k u b e - s y s t e m   n a m e s p a c e   a n d   n a m e d   i n   t h e   f o r m   b o o t s t r a p - t o k e n - < t o k e n - i d >   w h e r e   < t o k e n - i d >   i s   a   6   c h a r a c t e r   s t r i n g   o f   t h e   t o k e n   I D .   A s   a   K u b e r n e t e s   m a n i f e s t ,   a   b o o t s t r a p   t o k e n   S e c r e t   m i g h t   l o o k   l i k e   t h e   f o l l o w i n g :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   b o o t s t r a p - t o k e n - 5 e m i t j   n a m e s p a c e :   k u b e - s y s t e m   t y p e :   b o o t s t r a p . k u b e r n e t e s . i o / t o k e n   d a t a :   a u t h - e x t r a - g r o u p s :   c 3 l z d G V t O m J v b 3 R z d H J h c H B l c n M 6 a 3 V i Z W F k b T p k Z W Z h d W x 0 L W 5 v Z G U t d G 9 r Z W 4 =   e x p i r a t i o n :   M j A y M C 0 w O S 0 x M 1 Q w N D o z O T o x M F o =   t o k e n - i d :   N W V t a X R q   t o k e n - s e c r e t :   a 3 E 0 Z 2 l o d n N 6 e m d u M X A w c g = =   u s a g e - b o o t s t r a p - a u t h e n t i c a t i o n :   d H J 1 Z Q = =   u s a g e - b o o t s t r a p - s i g n i n g :   d H J 1 Z Q = =   A   b o o t s t r a p   t o k e n   S e c r e t   h a s   t h e   f o l l o w i n g   k e y s   s p e c i f i e d   u n d e r   d a t a :   t o k e n - i d :   A   r a n d o m   6   c h a r a c t e r   s t r i n g   a s   t h e   t o k e n   i d e n t i f i e r .   R e q u i r e d . t o k e n - s e c r e t :   A   r a n d o m   1 6   c h a r a c t e r   s t r i n g   a s   t h e   a c t ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3951"
  },
  {
    "question": "What is Creating a Secret?",
    "answer": "T h e r e   a r e   s e v e r a l   o p t i o n s   t o   c r e a t e   a   S e c r e t :   U s e   k u b e c t l U s e   a   c o n f i g u r a t i o n   f i l e U s e   t h e   K u s t o m i z e   t o o l",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3952"
  },
  {
    "question": "What is Constraints on Secret names and data?",
    "answer": "T h e   n a m e   o f   a   S e c r e t   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   Y o u   c a n   s p e c i f y   t h e   d a t a   a n d / o r   t h e   s t r i n g D a t a   f i e l d   w h e n   c r e a t i n g   a   c o n f i g u r a t i o n   f i l e   f o r   a   S e c r e t .   T h e   d a t a   a n d   t h e   s t r i n g D a t a   f i e l d s   a r e   o p t i o n a l .   T h e   v a l u e s   f o r   a l l   k e y s   i n   t h e   d a t a   f i e l d   h a v e   t o   b e   b a s e 6 4 - e n c o d e d   s t r i n g s .   I f   t h e   c o n v e r s i o n   t o   b a s e 6 4   s t r i n g   i s   n o t   d e s i r a b l e ,   y o u   c a n   c h o o s e   t o   s p e c i f y   t h e   s t r i n g D a t a   f i e l d   i n s t e a d ,   w h i c h   a c c e p t s   a r b i t r a r y   s t r i n g s   a s   v a l u e s .   T h e   k e y s   o f   d a t a   a n d   s t r i n g D a t a   m u s t   c o n s i s t   o f   a l p h a n u m e r i c   c h a r a c t e r s ,   - ,   _   o r   . .   A l l   k e y - v a l u e   p a i r s   i n   t h e   s t r i n g D a t a   f i e l d   a r e   i n t e r n a l l y   m e r g e d   i n t o   t h e   d a t a   f i e l d .   I f   a   k e y   a p p e a r s   i n   b o t h   t h e   d a t a   a n d   t h e   s t r i n g D a t a   f i e l d ,   t h e   v a l u e   s p e c i f i e d   i n   t h e   s t r i n g D a t a   f i e l d   t a k e s   p r e c e d e n c e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_3953"
  },
  {
    "question": "What is Size limit?",
    "answer": "I n d i v i d u a l   S e c r e t s   a r e   l i m i t e d   t o   1 M i B   i n   s i z e .   T h i s   i s   t o   d i s c o u r a g e   c r e a t i o n   o f   v e r y   l a r g e   S e c r e t s   t h a t   c o u l d   e x h a u s t   t h e   A P I   s e r v e r   a n d   k u b e l e t   m e m o r y .   H o w e v e r ,   c r e a t i o n   o f   m a n y   s m a l l e r   S e c r e t s   c o u l d   a l s o   e x h a u s t   m e m o r y .   Y o u   c a n   u s e   a   r e s o u r c e   q u o t a   t o   l i m i t   t h e   n u m b e r   o f   S e c r e t s   ( o r   o t h e r   r e s o u r c e s )   i n   a   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_3954"
  },
  {
    "question": "What is Editing a Secret?",
    "answer": "Y o u   c a n   e d i t   a n   e x i s t i n g   S e c r e t   u n l e s s   i t   i s   i m m u t a b l e .   T o   e d i t   a   S e c r e t ,   u s e   o n e   o f   t h e   f o l l o w i n g   m e t h o d s :   U s e   k u b e c t l U s e   a   c o n f i g u r a t i o n   f i l e   Y o u   c a n   a l s o   e d i t   t h e   d a t a   i n   a   S e c r e t   u s i n g   t h e   K u s t o m i z e   t o o l .   H o w e v e r ,   t h i s   m e t h o d   c r e a t e s   a   n e w   S e c r e t   o b j e c t   w i t h   t h e   e d i t e d   d a t a .   D e p e n d i n g   o n   h o w   y o u   c r e a t e d   t h e   S e c r e t ,   a s   w e l l   a s   h o w   t h e   S e c r e t   i s   u s e d   i n   y o u r   P o d s ,   u p d a t e s   t o   e x i s t i n g   S e c r e t   o b j e c t s   a r e   p r o p a g a t e d   a u t o m a t i c a l l y   t o   P o d s   t h a t   u s e   t h e   d a t a .   F o r   m o r e   i n f o r m a t i o n ,   r e f e r   t o   U s i n g   S e c r e t s   a s   f i l e s   f r o m   a   P o d   s e c t i o n .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3955"
  },
  {
    "question": "What is Using a Secret?",
    "answer": "S e c r e t s   c a n   b e   m o u n t e d   a s   d a t a   v o l u m e s   o r   e x p o s e d   a s   e n v i r o n m e n t   v a r i a b l e s   t o   b e   u s e d   b y   a   c o n t a i n e r   i n   a   P o d .   S e c r e t s   c a n   a l s o   b e   u s e d   b y   o t h e r   p a r t s   o f   t h e   s y s t e m ,   w i t h o u t   b e i n g   d i r e c t l y   e x p o s e d   t o   t h e   P o d .   F o r   e x a m p l e ,   S e c r e t s   c a n   h o l d   c r e d e n t i a l s   t h a t   o t h e r   p a r t s   o f   t h e   s y s t e m   s h o u l d   u s e   t o   i n t e r a c t   w i t h   e x t e r n a l   s y s t e m s   o n   y o u r   b e h a l f .   S e c r e t   v o l u m e   s o u r c e s   a r e   v a l i d a t e d   t o   e n s u r e   t h a t   t h e   s p e c i f i e d   o b j e c t   r e f e r e n c e   a c t u a l l y   p o i n t s   t o   a n   o b j e c t   o f   t y p e   S e c r e t .   T h e r e f o r e ,   a   S e c r e t   n e e d s   t o   b e   c r e a t e d   b e f o r e   a n y   P o d s   t h a t   d e p e n d   o n   i t .   I f   t h e   S e c r e t   c a n n o t   b e   f e t c h e d   ( p e r h a p s   b e c a u s e   i t   d o e s   n o t   e x i s t ,   o r   d u e   t o   a   t e m p o r a r y   l a c k   o f   c o n n e c t i o n   t o   t h e   A P I   s e r v e r )   t h e   k u b e l e t   p e r i o d i c a l l y   r e t r i e s   r u n n i n g   t h a t   P o d .   T h e   k u b e l e t   a l s o   r e p o r t s   a n   E v e n t   f o r   t h a t   P o d ,   i n c l u d i n g   d e t a i l s   o f   t h e   p r o b l e m   f e t c h i n g   t h e   S e c r e t .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3956"
  },
  {
    "question": "What is Optional Secrets?",
    "answer": "W h e n   y o u   r e f e r e n c e   a   S e c r e t   i n   a   P o d ,   y o u   c a n   m a r k   t h e   S e c r e t   a s   o p t i o n a l ,   s u c h   a s   i n   t h e   f o l l o w i n g   e x a m p l e .   I f   a n   o p t i o n a l   S e c r e t   d o e s n ' t   e x i s t ,   K u b e r n e t e s   i g n o r e s   i t .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   m y p o d   i m a g e :   r e d i s   v o l u m e M o u n t s :   -   n a m e :   f o o   m o u n t P a t h :   \" / e t c / f o o \"   r e a d O n l y :   t r u e   v o l u m e s :   -   n a m e :   f o o   s e c r e t :   s e c r e t N a m e :   m y s e c r e t   o p t i o n a l :   t r u e   B y   d e f a u l t ,   S e c r e t s   a r e   r e q u i r e d .   N o n e   o f   a   P o d ' s   c o n t a i n e r s   w i l l   s t a r t   u n t i l   a l l   n o n - o p t i o n a l   S e c r e t s   a r e   a v a i l a b l e .   I f   a   P o d   r e f e r e n c e s   a   s p e c i f i c   k e y   i n   a   n o n - o p t i o n a l   S e c r e t   a n d   t h a t   S e c r e t   d o e s   e x i s t ,   b u t   i s   m i s s i n g   t h e   n a m e d   k e y ,   t h e   P o d   f a i l s   d u r i n g   s t a r t u p .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_3957"
  },
  {
    "question": "What is Using Secrets as files from a Pod?",
    "answer": "I f   y o u   w a n t   t o   a c c e s s   d a t a   f r o m   a   S e c r e t   i n   a   P o d ,   o n e   w a y   t o   d o   t h a t   i s   t o   h a v e   K u b e r n e t e s   m a k e   t h e   v a l u e   o f   t h a t   S e c r e t   b e   a v a i l a b l e   a s   a   f i l e   i n s i d e   t h e   f i l e s y s t e m   o f   o n e   o r   m o r e   o f   t h e   P o d ' s   c o n t a i n e r s .   F o r   i n s t r u c t i o n s ,   r e f e r   t o   C r e a t e   a   P o d   t h a t   h a s   a c c e s s   t o   t h e   s e c r e t   d a t a   t h r o u g h   a   V o l u m e .   W h e n   a   v o l u m e   c o n t a i n s   d a t a   f r o m   a   S e c r e t ,   a n d   t h a t   S e c r e t   i s   u p d a t e d ,   K u b e r n e t e s   t r a c k s   t h i s   a n d   u p d a t e s   t h e   d a t a   i n   t h e   v o l u m e ,   u s i n g   a n   e v e n t u a l l y - c o n s i s t e n t   a p p r o a c h .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3958"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   k u b e l e t   k e e p s   a   c a c h e   o f   t h e   c u r r e n t   k e y s   a n d   v a l u e s   f o r   t h e   S e c r e t s   t h a t   a r e   u s e d   i n   v o l u m e s   f o r   p o d s   o n   t h a t   n o d e .   Y o u   c a n   c o n f i g u r e   t h e   w a y   t h a t   t h e   k u b e l e t   d e t e c t s   c h a n g e s   f r o m   t h e   c a c h e d   v a l u e s .   T h e   c o n f i g M a p A n d S e c r e t C h a n g e D e t e c t i o n S t r a t e g y   f i e l d   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   c o n t r o l s   w h i c h   s t r a t e g y   t h e   k u b e l e t   u s e s .   T h e   d e f a u l t   s t r a t e g y   i s   W a t c h .   U p d a t e s   t o   S e c r e t s   c a n   b e   e i t h e r   p r o p a g a t e d   b y   a n   A P I   w a t c h   m e c h a n i s m   ( t h e   d e f a u l t ) ,   b a s e d   o n   a   c a c h e   w i t h   a   d e f i n e d   t i m e - t o - l i v e ,   o r   p o l l e d   f r o m   t h e   c l u s t e r   A P I   s e r v e r   o n   e a c h   k u b e l e t   s y n c h r o n i s a t i o n   l o o p .   A s   a   r e s u l t ,   t h e   t o t a l   d e l a y   f r o m   t h e   m o m e n t   w h e n   t h e   S e c r e t   i s   u p d a t e d   t o   t h e   m o m e n t   w h e n   n e w   k e y s   a r e   p r o j e c t e d   t o   t h e   P o d   c a n   b e   a s   l o n g   a s   t h e   k u b e l e t   s y n c   p e r i o d   +   c a c h e   p r o p a g a t i o n   d e l a y ,   w h e r e   t h e   c a c h e   p r o p a g a t i o n   d e l a y   d e p e n d s   o n   t h e   c h o s e n   c a c h e   t y p e   ( f o l l o w i n g   t h e   s a m e   o r d e r   l i s t e d   i n   t h e   p r e v i o u s   p a r a g r a p h ,   t h e s e   a r e :   w a t c h   p r o p a g a t i o n   d e l a y ,   t h e   c o n f i g u r e d   c a c h e   T T L ,   o r   z e r o   f o r   d i r e c t   p o l l i n g ) .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_3959"
  },
  {
    "question": "What is Using Secrets as environment variables?",
    "answer": "T o   u s e   a   S e c r e t   i n   a n   e n v i r o n m e n t   v a r i a b l e   i n   a   P o d :   F o r   e a c h   c o n t a i n e r   i n   y o u r   P o d   s p e c i f i c a t i o n ,   a d d   a n   e n v i r o n m e n t   v a r i a b l e   f o r   e a c h   S e c r e t   k e y   t h a t   y o u   w a n t   t o   u s e   t o   t h e   e n v [ ] . v a l u e F r o m . s e c r e t K e y R e f   f i e l d . M o d i f y   y o u r   i m a g e   a n d / o r   c o m m a n d   l i n e   s o   t h a t   t h e   p r o g r a m   l o o k s   f o r   v a l u e s   i n   t h e   s p e c i f i e d   e n v i r o n m e n t   v a r i a b l e s .   F o r   i n s t r u c t i o n s ,   r e f e r   t o   D e f i n e   c o n t a i n e r   e n v i r o n m e n t   v a r i a b l e s   u s i n g   S e c r e t   d a t a .   I t ' s   i m p o r t a n t   t o   n o t e   t h a t   t h e   r a n g e   o f   c h a r a c t e r s   a l l o w e d   f o r   e n v i r o n m e n t   v a r i a b l e   n a m e s   i n   p o d s   i s   r e s t r i c t e d .   I f   a n y   k e y s   d o   n o t   m e e t   t h e   r u l e s ,   t h o s e   k e y s   a r e   n o t   m a d e   a v a i l a b l e   t o   y o u r   c o n t a i n e r ,   t h o u g h   t h e   P o d   i s   a l l o w e d   t o   s t a r t .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3960"
  },
  {
    "question": "What is Container image pull Secrets?",
    "answer": "I f   y o u   w a n t   t o   f e t c h   c o n t a i n e r   i m a g e s   f r o m   a   p r i v a t e   r e p o s i t o r y ,   y o u   n e e d   a   w a y   f o r   t h e   k u b e l e t   o n   e a c h   n o d e   t o   a u t h e n t i c a t e   t o   t h a t   r e p o s i t o r y .   Y o u   c a n   c o n f i g u r e   i m a g e   p u l l   S e c r e t s   t o   m a k e   t h i s   p o s s i b l e .   T h e s e   S e c r e t s   a r e   c o n f i g u r e d   a t   t h e   P o d   l e v e l .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3961"
  },
  {
    "question": "What is Using imagePullSecrets?",
    "answer": "T h e   i m a g e P u l l S e c r e t s   f i e l d   i s   a   l i s t   o f   r e f e r e n c e s   t o   S e c r e t s   i n   t h e   s a m e   n a m e s p a c e .   Y o u   c a n   u s e   a n   i m a g e P u l l S e c r e t s   t o   p a s s   a   S e c r e t   t h a t   c o n t a i n s   a   D o c k e r   ( o r   o t h e r )   i m a g e   r e g i s t r y   p a s s w o r d   t o   t h e   k u b e l e t .   T h e   k u b e l e t   u s e s   t h i s   i n f o r m a t i o n   t o   p u l l   a   p r i v a t e   i m a g e   o n   b e h a l f   o f   y o u r   P o d .   S e e   t h e   P o d S p e c   A P I   f o r   m o r e   i n f o r m a t i o n   a b o u t   t h e   i m a g e P u l l S e c r e t s   f i e l d .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_3962"
  },
  {
    "question": "What is Manually specifying an imagePullSecret?",
    "answer": "Y o u   c a n   l e a r n   h o w   t o   s p e c i f y   i m a g e P u l l S e c r e t s   f r o m   t h e   c o n t a i n e r   i m a g e s   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_5_3963"
  },
  {
    "question": "What is Arranging for imagePullSecrets to be automatically attached?",
    "answer": "Y o u   c a n   m a n u a l l y   c r e a t e   i m a g e P u l l S e c r e t s ,   a n d   r e f e r e n c e   t h e s e   f r o m   a   S e r v i c e A c c o u n t .   A n y   P o d s   c r e a t e d   w i t h   t h a t   S e r v i c e A c c o u n t   o r   c r e a t e d   w i t h   t h a t   S e r v i c e A c c o u n t   b y   d e f a u l t ,   w i l l   g e t   t h e i r   i m a g e P u l l S e c r e t s   f i e l d   s e t   t o   t h a t   o f   t h e   s e r v i c e   a c c o u n t .   S e e   A d d   I m a g e P u l l S e c r e t s   t o   a   s e r v i c e   a c c o u n t   f o r   a   d e t a i l e d   e x p l a n a t i o n   o f   t h a t   p r o c e s s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_5_3964"
  },
  {
    "question": "What is Using Secrets with static Pods?",
    "answer": "Y o u   c a n n o t   u s e   C o n f i g M a p s   o r   S e c r e t s   w i t h   s t a t i c   P o d s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3965"
  },
  {
    "question": "What is Immutable Secrets?",
    "answer": "K u b e r n e t e s   l e t s   y o u   m a r k   s p e c i f i c   S e c r e t s   ( a n d   C o n f i g M a p s )   a s   i m m u t a b l e .   P r e v e n t i n g   c h a n g e s   t o   t h e   d a t a   o f   a n   e x i s t i n g   S e c r e t   h a s   t h e   f o l l o w i n g   b e n e f i t s :   p r o t e c t s   y o u   f r o m   a c c i d e n t a l   ( o r   u n w a n t e d )   u p d a t e s   t h a t   c o u l d   c a u s e   a p p l i c a t i o n s   o u t a g e s ( f o r   c l u s t e r s   t h a t   e x t e n s i v e l y   u s e   S e c r e t s   -   a t   l e a s t   t e n s   o f   t h o u s a n d s   o f   u n i q u e   S e c r e t   t o   P o d   m o u n t s ) ,   s w i t c h i n g   t o   i m m u t a b l e   S e c r e t s   i m p r o v e s   t h e   p e r f o r m a n c e   o f   y o u r   c l u s t e r   b y   s i g n i f i c a n t l y   r e d u c i n g   l o a d   o n   k u b e - a p i s e r v e r .   T h e   k u b e l e t   d o e s   n o t   n e e d   t o   m a i n t a i n   a   [ w a t c h ]   o n   a n y   S e c r e t s   t h a t   a r e   m a r k e d   a s   i m m u t a b l e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3966"
  },
  {
    "question": "What is Marking a Secret as immutable?",
    "answer": "Y o u   c a n   c r e a t e   a n   i m m u t a b l e   S e c r e t   b y   s e t t i n g   t h e   i m m u t a b l e   f i e l d   t o   t r u e .   F o r   e x a m p l e ,   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   . . .   d a t a :   . . .   i m m u t a b l e :   t r u e   Y o u   c a n   a l s o   u p d a t e   a n y   e x i s t i n g   m u t a b l e   S e c r e t   t o   m a k e   i t   i m m u t a b l e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3967"
  },
  {
    "question": "What is Information security for Secrets?",
    "answer": "A l t h o u g h   C o n f i g M a p   a n d   S e c r e t   w o r k   s i m i l a r l y ,   K u b e r n e t e s   a p p l i e s   s o m e   a d d i t i o n a l   p r o t e c t i o n   f o r   S e c r e t   o b j e c t s .   S e c r e t s   o f t e n   h o l d   v a l u e s   t h a t   s p a n   a   s p e c t r u m   o f   i m p o r t a n c e ,   m a n y   o f   w h i c h   c a n   c a u s e   e s c a l a t i o n s   w i t h i n   K u b e r n e t e s   ( e . g .   s e r v i c e   a c c o u n t   t o k e n s )   a n d   t o   e x t e r n a l   s y s t e m s .   E v e n   i f   a n   i n d i v i d u a l   a p p   c a n   r e a s o n   a b o u t   t h e   p o w e r   o f   t h e   S e c r e t s   i t   e x p e c t s   t o   i n t e r a c t   w i t h ,   o t h e r   a p p s   w i t h i n   t h e   s a m e   n a m e s p a c e   c a n   r e n d e r   t h o s e   a s s u m p t i o n s   i n v a l i d .   A   S e c r e t   i s   o n l y   s e n t   t o   a   n o d e   i f   a   P o d   o n   t h a t   n o d e   r e q u i r e s   i t .   F o r   m o u n t i n g   S e c r e t s   i n t o   P o d s ,   t h e   k u b e l e t   s t o r e s   a   c o p y   o f   t h e   d a t a   i n t o   a   t m p f s   s o   t h a t   t h e   c o n f i d e n t i a l   d a t a   i s   n o t   w r i t t e n   t o   d u r a b l e   s t o r a g e .   O n c e   t h e   P o d   t h a t   d e p e n d s   o n   t h e   S e c r e t   i s   d e l e t e d ,   t h e   k u b e l e t   d e l e t e s   i t s   l o c a l   c o p y   o f   t h e   c o n f i d e n t i a l   d a t a   f r o m   t h e   S e c r e t .   T h e r e   m a y   b e   s e v e r a l   c o n t a i n e r s   i n   a   P o d .   B y   d e f a u l t ,   c o n t a i n e r s   y o u   d e f i n e   o n l y   h a v e   a c c e s s   t o   t h e   d e f a u l t   S e r v i c e A c c o u n t   a n d   i t s   r e l a t e d   S e c r e t .   Y o u   m u s t   e x p l i c i t l y   d e f i n e   e n v i r o n m e n t   v a r i a b l e s   o r   m a ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3968"
  },
  {
    "question": "What is Configure least-privilege access to Secrets?",
    "answer": "T o   e n h a n c e   t h e   s e c u r i t y   m e a s u r e s   a r o u n d   S e c r e t s ,   u s e   s e p a r a t e   n a m e s p a c e s   t o   i s o l a t e   a c c e s s   t o   m o u n t e d   s e c r e t s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3969"
  },
  {
    "question": "What is What's next?",
    "answer": "F o r   g u i d e l i n e s   t o   m a n a g e   a n d   i m p r o v e   t h e   s e c u r i t y   o f   y o u r   S e c r e t s ,   r e f e r   t o   G o o d   p r a c t i c e s   f o r   K u b e r n e t e s   S e c r e t s . L e a r n   h o w   t o   m a n a g e   S e c r e t s   u s i n g   k u b e c t l L e a r n   h o w   t o   m a n a g e   S e c r e t s   u s i n g   c o n f i g   f i l e L e a r n   h o w   t o   m a n a g e   S e c r e t s   u s i n g   k u s t o m i z e R e a d   t h e   A P I   r e f e r e n c e   f o r   S e c r e t",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3970"
  },
  {
    "question": "What is 4 - Liveness, Readiness, and Startup Probes?",
    "answer": "K u b e r n e t e s   h a s   v a r i o u s   t y p e s   o f   p r o b e s :   L i v e n e s s   p r o b e R e a d i n e s s   p r o b e S t a r t u p   p r o b e",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_1_3971"
  },
  {
    "question": "What is Liveness probe?",
    "answer": "L i v e n e s s   p r o b e s   d e t e r m i n e   w h e n   t o   r e s t a r t   a   c o n t a i n e r .   F o r   e x a m p l e ,   l i v e n e s s   p r o b e s   c o u l d   c a t c h   a   d e a d l o c k   w h e n   a n   a p p l i c a t i o n   i s   r u n n i n g   b u t   u n a b l e   t o   m a k e   p r o g r e s s .   I f   a   c o n t a i n e r   f a i l s   i t s   l i v e n e s s   p r o b e   r e p e a t e d l y ,   t h e   k u b e l e t   r e s t a r t s   t h e   c o n t a i n e r .   L i v e n e s s   p r o b e s   d o   n o t   w a i t   f o r   r e a d i n e s s   p r o b e s   t o   s u c c e e d .   I f   y o u   w a n t   t o   w a i t   b e f o r e   e x e c u t i n g   a   l i v e n e s s   p r o b e ,   y o u   c a n   e i t h e r   d e f i n e   i n i t i a l D e l a y S e c o n d s   o r   u s e   a   s t a r t u p   p r o b e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3972"
  },
  {
    "question": "What is Readiness probe?",
    "answer": "R e a d i n e s s   p r o b e s   d e t e r m i n e   w h e n   a   c o n t a i n e r   i s   r e a d y   t o   a c c e p t   t r a f f i c .   T h i s   i s   u s e f u l   w h e n   w a i t i n g   f o r   a n   a p p l i c a t i o n   t o   p e r f o r m   t i m e - c o n s u m i n g   i n i t i a l   t a s k s   t h a t   d e p e n d   o n   i t s   b a c k i n g   s e r v i c e s ;   f o r   e x a m p l e :   e s t a b l i s h i n g   n e t w o r k   c o n n e c t i o n s ,   l o a d i n g   f i l e s ,   a n d   w a r m i n g   c a c h e s .   R e a d i n e s s   p r o b e s   c a n   a l s o   b e   u s e f u l   l a t e r   i n   t h e   c o n t a i n e r ’ s   l i f e c y c l e ,   f o r   e x a m p l e ,   w h e n   r e c o v e r i n g   f r o m   t e m p o r a r y   f a u l t s   o r   o v e r l o a d s .   I f   t h e   r e a d i n e s s   p r o b e   r e t u r n s   a   f a i l e d   s t a t e ,   K u b e r n e t e s   r e m o v e s   t h e   p o d   f r o m   a l l   m a t c h i n g   s e r v i c e   e n d p o i n t s .   R e a d i n e s s   p r o b e s   r u n   o n   t h e   c o n t a i n e r   d u r i n g   i t s   w h o l e   l i f e c y c l e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3973"
  },
  {
    "question": "What is Startup probe?",
    "answer": "A   s t a r t u p   p r o b e   v e r i f i e s   w h e t h e r   t h e   a p p l i c a t i o n   w i t h i n   a   c o n t a i n e r   i s   s t a r t e d .   T h i s   c a n   b e   u s e d   t o   a d o p t   l i v e n e s s   c h e c k s   o n   s l o w   s t a r t i n g   c o n t a i n e r s ,   a v o i d i n g   t h e m   g e t t i n g   k i l l e d   b y   t h e   k u b e l e t   b e f o r e   t h e y   a r e   u p   a n d   r u n n i n g .   I f   s u c h   a   p r o b e   i s   c o n f i g u r e d ,   i t   d i s a b l e s   l i v e n e s s   a n d   r e a d i n e s s   c h e c k s   u n t i l   i t   s u c c e e d s .   T h i s   t y p e   o f   p r o b e   i s   o n l y   e x e c u t e d   a t   s t a r t u p ,   u n l i k e   l i v e n e s s   a n d   r e a d i n e s s   p r o b e s ,   w h i c h   a r e   r u n   p e r i o d i c a l l y .   R e a d   m o r e   a b o u t   t h e   C o n f i g u r e   L i v e n e s s ,   R e a d i n e s s   a n d   S t a r t u p   P r o b e s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3974"
  },
  {
    "question": "What is 5 - Resource Management for Pods and Containers?",
    "answer": "W h e n   y o u   s p e c i f y   a   P o d ,   y o u   c a n   o p t i o n a l l y   s p e c i f y   h o w   m u c h   o f   e a c h   r e s o u r c e   a   c o n t a i n e r   n e e d s .   T h e   m o s t   c o m m o n   r e s o u r c e s   t o   s p e c i f y   a r e   C P U   a n d   m e m o r y   ( R A M ) ;   t h e r e   a r e   o t h e r s .   W h e n   y o u   s p e c i f y   t h e   r e s o u r c e   r e q u e s t   f o r   c o n t a i n e r s   i n   a   P o d ,   t h e   k u b e - s c h e d u l e r   u s e s   t h i s   i n f o r m a t i o n   t o   d e c i d e   w h i c h   n o d e   t o   p l a c e   t h e   P o d   o n .   W h e n   y o u   s p e c i f y   a   r e s o u r c e   l i m i t   f o r   a   c o n t a i n e r ,   t h e   k u b e l e t   e n f o r c e s   t h o s e   l i m i t s   s o   t h a t   t h e   r u n n i n g   c o n t a i n e r   i s   n o t   a l l o w e d   t o   u s e   m o r e   o f   t h a t   r e s o u r c e   t h a n   t h e   l i m i t   y o u   s e t .   T h e   k u b e l e t   a l s o   r e s e r v e s   a t   l e a s t   t h e   r e q u e s t   a m o u n t   o f   t h a t   s y s t e m   r e s o u r c e   s p e c i f i c a l l y   f o r   t h a t   c o n t a i n e r   t o   u s e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_1_3975"
  },
  {
    "question": "What is Requests and limits?",
    "answer": "I f   t h e   n o d e   w h e r e   a   P o d   i s   r u n n i n g   h a s   e n o u g h   o f   a   r e s o u r c e   a v a i l a b l e ,   i t ' s   p o s s i b l e   ( a n d   a l l o w e d )   f o r   a   c o n t a i n e r   t o   u s e   m o r e   r e s o u r c e   t h a n   i t s   r e q u e s t   f o r   t h a t   r e s o u r c e   s p e c i f i e s .   F o r   e x a m p l e ,   i f   y o u   s e t   a   m e m o r y   r e q u e s t   o f   2 5 6   M i B   f o r   a   c o n t a i n e r ,   a n d   t h a t   c o n t a i n e r   i s   i n   a   P o d   s c h e d u l e d   t o   a   N o d e   w i t h   8 G i B   o f   m e m o r y   a n d   n o   o t h e r   P o d s ,   t h e n   t h e   c o n t a i n e r   c a n   t r y   t o   u s e   m o r e   R A M .   L i m i t s   a r e   a   d i f f e r e n t   s t o r y .   B o t h   c p u   a n d   m e m o r y   l i m i t s   a r e   a p p l i e d   b y   t h e   k u b e l e t   ( a n d   c o n t a i n e r   r u n t i m e ) ,   a n d   a r e   u l t i m a t e l y   e n f o r c e d   b y   t h e   k e r n e l .   O n   L i n u x   n o d e s ,   t h e   L i n u x   k e r n e l   e n f o r c e s   l i m i t s   w i t h   c g r o u p s .   T h e   b e h a v i o r   o f   c p u   a n d   m e m o r y   l i m i t   e n f o r c e m e n t   i s   s l i g h t l y   d i f f e r e n t .   c p u   l i m i t s   a r e   e n f o r c e d   b y   C P U   t h r o t t l i n g .   W h e n   a   c o n t a i n e r   a p p r o a c h e s   i t s   c p u   l i m i t ,   t h e   k e r n e l   w i l l   r e s t r i c t   a c c e s s   t o   t h e   C P U   c o r r e s p o n d i n g   t o   t h e   c o n t a i n e r ' s   l i m i t .   T h u s ,   a   c p u   l i m i t   i s   a   h a r d   l i m i t   t h e   k e r n e l   e n f o r c e s .   C o n t a i n e r s   m a y   n o t   u s e   m o r e   C P U   t h a n   i s   s p e c i f i e d   i n   t h e i r   c p u   l i m i t .   m e m o r y   l i m i t s   a r e   e n f o r c e d   b y   t h e   ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3976"
  },
  {
    "question": "What is Resource types?",
    "answer": "C P U   a n d   m e m o r y   a r e   e a c h   a   r e s o u r c e   t y p e .   A   r e s o u r c e   t y p e   h a s   a   b a s e   u n i t .   C P U   r e p r e s e n t s   c o m p u t e   p r o c e s s i n g   a n d   i s   s p e c i f i e d   i n   u n i t s   o f   K u b e r n e t e s   C P U s .   M e m o r y   i s   s p e c i f i e d   i n   u n i t s   o f   b y t e s .   F o r   L i n u x   w o r k l o a d s ,   y o u   c a n   s p e c i f y   h u g e   p a g e   r e s o u r c e s .   H u g e   p a g e s   a r e   a   L i n u x - s p e c i f i c   f e a t u r e   w h e r e   t h e   n o d e   k e r n e l   a l l o c a t e s   b l o c k s   o f   m e m o r y   t h a t   a r e   m u c h   l a r g e r   t h a n   t h e   d e f a u l t   p a g e   s i z e .   F o r   e x a m p l e ,   o n   a   s y s t e m   w h e r e   t h e   d e f a u l t   p a g e   s i z e   i s   4 K i B ,   y o u   c o u l d   s p e c i f y   a   l i m i t ,   h u g e p a g e s - 2 M i :   8 0 M i .   I f   t h e   c o n t a i n e r   t r i e s   a l l o c a t i n g   o v e r   4 0   2 M i B   h u g e   p a g e s   ( a   t o t a l   o f   8 0   M i B ) ,   t h a t   a l l o c a t i o n   f a i l s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3977"
  },
  {
    "question": "What is Note:?",
    "answer": "C P U   a n d   m e m o r y   a r e   c o l l e c t i v e l y   r e f e r r e d   t o   a s   c o m p u t e   r e s o u r c e s ,   o r   r e s o u r c e s .   C o m p u t e   r e s o u r c e s   a r e   m e a s u r a b l e   q u a n t i t i e s   t h a t   c a n   b e   r e q u e s t e d ,   a l l o c a t e d ,   a n d   c o n s u m e d .   T h e y   a r e   d i s t i n c t   f r o m   A P I   r e s o u r c e s .   A P I   r e s o u r c e s ,   s u c h   a s   P o d s   a n d   S e r v i c e s   a r e   o b j e c t s   t h a t   c a n   b e   r e a d   a n d   m o d i f i e d   t h r o u g h   t h e   K u b e r n e t e s   A P I   s e r v e r .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_3978"
  },
  {
    "question": "What is Resource requests and limits of Pod and container?",
    "answer": "F o r   e a c h   c o n t a i n e r ,   y o u   c a n   s p e c i f y   r e s o u r c e   l i m i t s   a n d   r e q u e s t s ,   i n c l u d i n g   t h e   f o l l o w i n g :   s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . l i m i t s . c p u s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . l i m i t s . m e m o r y s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . l i m i t s . h u g e p a g e s - < s i z e > s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . r e q u e s t s . c p u s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . r e q u e s t s . m e m o r y s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . r e q u e s t s . h u g e p a g e s - < s i z e >   A l t h o u g h   y o u   c a n   o n l y   s p e c i f y   r e q u e s t s   a n d   l i m i t s   f o r   i n d i v i d u a l   c o n t a i n e r s ,   i t   i s   a l s o   u s e f u l   t o   t h i n k   a b o u t   t h e   o v e r a l l   r e s o u r c e   r e q u e s t s   a n d   l i m i t s   f o r   a   P o d .   F o r   a   p a r t i c u l a r   r e s o u r c e ,   a   P o d   r e s o u r c e   r e q u e s t / l i m i t   i s   t h e   s u m   o f   t h e   r e s o u r c e   r e q u e s t s / l i m i t s   o f   t h a t   t y p e   f o r   e a c h   c o n t a i n e r   i n   t h e   P o d .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3979"
  },
  {
    "question": "What is Pod-level resource specification?",
    "answer": "P r o v i d e d   y o u r   c l u s t e r   h a s   t h e   P o d L e v e l R e s o u r c e s   f e a t u r e   g a t e   e n a b l e d ,   y o u   c a n   s p e c i f y   r e s o u r c e   r e q u e s t s   a n d   l i m i t s   a t   t h e   P o d   l e v e l .   A t   t h e   P o d   l e v e l ,   K u b e r n e t e s   1 . 3 4   o n l y   s u p p o r t s   r e s o u r c e   r e q u e s t s   o r   l i m i t s   f o r   s p e c i f i c   r e s o u r c e   t y p e s :   c p u   a n d   /   o r   m e m o r y   a n d   /   o r   h u g e p a g e s .   W i t h   t h i s   f e a t u r e ,   K u b e r n e t e s   a l l o w s   y o u   t o   d e c l a r e   a n   o v e r a l l   r e s o u r c e   b u d g e t   f o r   t h e   P o d ,   w h i c h   i s   e s p e c i a l l y   h e l p f u l   w h e n   d e a l i n g   w i t h   a   l a r g e   n u m b e r   o f   c o n t a i n e r s   w h e r e   i t   c a n   b e   d i f f i c u l t   t o   a c c u r a t e l y   g a u g e   i n d i v i d u a l   r e s o u r c e   n e e d s .   A d d i t i o n a l l y ,   i t   e n a b l e s   c o n t a i n e r s   w i t h i n   a   P o d   t o   s h a r e   i d l e   r e s o u r c e s   w i t h   e a c h   o t h e r ,   i m p r o v i n g   r e s o u r c e   u t i l i z a t i o n .   F o r   a   P o d ,   y o u   c a n   s p e c i f y   r e s o u r c e   l i m i t s   a n d   r e q u e s t s   f o r   C P U   a n d   m e m o r y   b y   i n c l u d i n g   t h e   f o l l o w i n g :   s p e c . r e s o u r c e s . l i m i t s . c p u s p e c . r e s o u r c e s . l i m i t s . m e m o r y s p e c . r e s o u r c e s . l i m i t s . h u g e p a g e s - < s i z e > s p e c . r e s o u r c e s . r e q u e s t s . c p u s p e c . r e s o u r c e s . r e q u e s t s . m e m o r y s p e c . r e s o u r c e s . r e q u e s t s . h u g e p a g e s - < s i z e >",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3980"
  },
  {
    "question": "What is CPU resource units?",
    "answer": "L i m i t s   a n d   r e q u e s t s   f o r   C P U   r e s o u r c e s   a r e   m e a s u r e d   i n   c p u   u n i t s .   I n   K u b e r n e t e s ,   1   C P U   u n i t   i s   e q u i v a l e n t   t o   1   p h y s i c a l   C P U   c o r e ,   o r   1   v i r t u a l   c o r e ,   d e p e n d i n g   o n   w h e t h e r   t h e   n o d e   i s   a   p h y s i c a l   h o s t   o r   a   v i r t u a l   m a c h i n e   r u n n i n g   i n s i d e   a   p h y s i c a l   m a c h i n e .   F r a c t i o n a l   r e q u e s t s   a r e   a l l o w e d .   W h e n   y o u   d e f i n e   a   c o n t a i n e r   w i t h   s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . r e q u e s t s . c p u   s e t   t o   0 . 5 ,   y o u   a r e   r e q u e s t i n g   h a l f   a s   m u c h   C P U   t i m e   c o m p a r e d   t o   i f   y o u   a s k e d   f o r   1 . 0   C P U .   F o r   C P U   r e s o u r c e   u n i t s ,   t h e   q u a n t i t y   e x p r e s s i o n   0 . 1   i s   e q u i v a l e n t   t o   t h e   e x p r e s s i o n   1 0 0 m ,   w h i c h   c a n   b e   r e a d   a s   \" o n e   h u n d r e d   m i l l i c p u \" .   S o m e   p e o p l e   s a y   \" o n e   h u n d r e d   m i l l i c o r e s \" ,   a n d   t h i s   i s   u n d e r s t o o d   t o   m e a n   t h e   s a m e   t h i n g .   C P U   r e s o u r c e   i s   a l w a y s   s p e c i f i e d   a s   a n   a b s o l u t e   a m o u n t   o f   r e s o u r c e ,   n e v e r   a s   a   r e l a t i v e   a m o u n t .   F o r   e x a m p l e ,   5 0 0 m   C P U   r e p r e s e n t s   t h e   r o u g h l y   s a m e   a m o u n t   o f   c o m p u t i n g   p o w e r   w h e t h e r   t h a t   c o n t a i n e r   r u n s   o n   a   s i n g l e - c o r e ,   d u a l - c o r e ,   o r   4 8 - c o r e   m a c h i n e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3981"
  },
  {
    "question": "What is Note:?",
    "answer": "K u b e r n e t e s   d o e s n ' t   a l l o w   y o u   t o   s p e c i f y   C P U   r e s o u r c e s   w i t h   a   p r e c i s i o n   f i n e r   t h a n   1 m   o r   0 . 0 0 1   C P U .   T o   a v o i d   a c c i d e n t a l l y   u s i n g   a n   i n v a l i d   C P U   q u a n t i t y ,   i t ' s   u s e f u l   t o   s p e c i f y   C P U   u n i t s   u s i n g   t h e   m i l l i C P U   f o r m   i n s t e a d   o f   t h e   d e c i m a l   f o r m   w h e n   u s i n g   l e s s   t h a n   1   C P U   u n i t .   F o r   e x a m p l e ,   y o u   h a v e   a   P o d   t h a t   u s e s   5 m   o r   0 . 0 0 5   C P U   a n d   w o u l d   l i k e   t o   d e c r e a s e   i t s   C P U   r e s o u r c e s .   B y   u s i n g   t h e   d e c i m a l   f o r m ,   i t ' s   h a r d e r   t o   s p o t   t h a t   0 . 0 0 0 5   C P U   i s   a n   i n v a l i d   v a l u e ,   w h i l e   b y   u s i n g   t h e   m i l l i C P U   f o r m ,   i t ' s   e a s i e r   t o   s p o t   t h a t   0 . 5 m   i s   a n   i n v a l i d   v a l u e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_3982"
  },
  {
    "question": "What is Memory resource units?",
    "answer": "L i m i t s   a n d   r e q u e s t s   f o r   m e m o r y   a r e   m e a s u r e d   i n   b y t e s .   Y o u   c a n   e x p r e s s   m e m o r y   a s   a   p l a i n   i n t e g e r   o r   a s   a   f i x e d - p o i n t   n u m b e r   u s i n g   o n e   o f   t h e s e   q u a n t i t y   s u f f i x e s :   E ,   P ,   T ,   G ,   M ,   k .   Y o u   c a n   a l s o   u s e   t h e   p o w e r - o f - t w o   e q u i v a l e n t s :   E i ,   P i ,   T i ,   G i ,   M i ,   K i .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   r e p r e s e n t   r o u g h l y   t h e   s a m e   v a l u e :   1 2 8 9 7 4 8 4 8 ,   1 2 9 e 6 ,   1 2 9 M ,   1 2 8 9 7 4 8 4 8 0 0 0 m ,   1 2 3 M i   P a y   a t t e n t i o n   t o   t h e   c a s e   o f   t h e   s u f f i x e s .   I f   y o u   r e q u e s t   4 0 0 m   o f   m e m o r y ,   t h i s   i s   a   r e q u e s t   f o r   0 . 4   b y t e s .   S o m e o n e   w h o   t y p e s   t h a t   p r o b a b l y   m e a n t   t o   a s k   f o r   4 0 0   m e b i b y t e s   ( 4 0 0 M i )   o r   4 0 0   m e g a b y t e s   ( 4 0 0 M ) .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3983"
  },
  {
    "question": "What is Container resources example?",
    "answer": "T h e   f o l l o w i n g   P o d   h a s   t w o   c o n t a i n e r s .   B o t h   c o n t a i n e r s   a r e   d e f i n e d   w i t h   a   r e q u e s t   f o r   0 . 2 5   C P U   a n d   6 4 M i B   ( 2 2 6   b y t e s )   o f   m e m o r y .   E a c h   c o n t a i n e r   h a s   a   l i m i t   o f   0 . 5   C P U   a n d   1 2 8 M i B   o f   m e m o r y .   Y o u   c a n   s a y   t h e   P o d   h a s   a   r e q u e s t   o f   0 . 5   C P U   a n d   1 2 8   M i B   o f   m e m o r y ,   a n d   a   l i m i t   o f   1   C P U   a n d   2 5 6 M i B   o f   m e m o r y .   - - -   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   f r o n t e n d   s p e c :   c o n t a i n e r s :   -   n a m e :   a p p   i m a g e :   i m a g e s . m y - c o m p a n y . e x a m p l e / a p p : v 4   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 6 4 M i \"   c p u :   \" 2 5 0 m \"   l i m i t s :   m e m o r y :   \" 1 2 8 M i \"   c p u :   \" 5 0 0 m \"   -   n a m e :   l o g - a g g r e g a t o r   i m a g e :   i m a g e s . m y - c o m p a n y . e x a m p l e / l o g - a g g r e g a t o r : v 6   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 6 4 M i \"   c p u :   \" 2 5 0 m \"   l i m i t s :   m e m o r y :   \" 1 2 8 M i \"   c p u :   \" 5 0 0 m \"",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3984"
  },
  {
    "question": "What is Pod resources example?",
    "answer": "T h i s   f e a t u r e   c a n   b e   e n a b l e d   b y   s e t t i n g   t h e   P o d L e v e l R e s o u r c e s   f e a t u r e   g a t e .   T h e   f o l l o w i n g   P o d   h a s   a n   e x p l i c i t   r e q u e s t   o f   1   C P U   a n d   1 0 0   M i B   o f   m e m o r y ,   a n d   a n   e x p l i c i t   l i m i t   o f   1   C P U   a n d   2 0 0   M i B   o f   m e m o r y .   T h e   p o d - r e s o u r c e s - d e m o - c t r - 1   c o n t a i n e r   h a s   e x p l i c i t   r e q u e s t s   a n d   l i m i t s   s e t .   H o w e v e r ,   t h e   p o d - r e s o u r c e s - d e m o - c t r - 2   c o n t a i n e r   w i l l   s i m p l y   s h a r e   t h e   r e s o u r c e s   a v a i l a b l e   w i t h i n   t h e   P o d   r e s o u r c e   b o u n d a r i e s ,   a s   i t   d o e s   n o t   h a v e   e x p l i c i t   r e q u e s t s   a n d   l i m i t s   s e t .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p o d - r e s o u r c e s - d e m o   n a m e s p a c e :   p o d - r e s o u r c e s - e x a m p l e   s p e c :   r e s o u r c e s :   l i m i t s :   c p u :   \" 1 \"   m e m o r y :   \" 2 0 0 M i \"   r e q u e s t s :   c p u :   \" 1 \"   m e m o r y :   \" 1 0 0 M i \"   c o n t a i n e r s :   -   n a m e :   p o d - r e s o u r c e s - d e m o - c t r - 1   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   c p u :   \" 0 . 5 \"   m e m o r y :   \" 1 0 0 M i \"   r e q u e s t s :   c p u :   \" 0 . 5 \"   m e m o r y :   \" 5 0 M i \"   -   n a m e :   p o d - r e s o u r c e s - d e m o - c t r - 2   i m a g e :   f e d o r a   c o m m a n d :   -   s l e e p   -   i n f",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3985"
  },
  {
    "question": "What is How Pods with resource requests are scheduled?",
    "answer": "W h e n   y o u   c r e a t e   a   P o d ,   t h e   K u b e r n e t e s   s c h e d u l e r   s e l e c t s   a   n o d e   f o r   t h e   P o d   t o   r u n   o n .   E a c h   n o d e   h a s   a   m a x i m u m   c a p a c i t y   f o r   e a c h   o f   t h e   r e s o u r c e   t y p e s :   t h e   a m o u n t   o f   C P U   a n d   m e m o r y   i t   c a n   p r o v i d e   f o r   P o d s .   T h e   s c h e d u l e r   e n s u r e s   t h a t ,   f o r   e a c h   r e s o u r c e   t y p e ,   t h e   s u m   o f   t h e   r e s o u r c e   r e q u e s t s   o f   t h e   s c h e d u l e d   c o n t a i n e r s   i s   l e s s   t h a n   t h e   c a p a c i t y   o f   t h e   n o d e .   N o t e   t h a t   a l t h o u g h   a c t u a l   m e m o r y   o r   C P U   r e s o u r c e   u s a g e   o n   n o d e s   i s   v e r y   l o w ,   t h e   s c h e d u l e r   s t i l l   r e f u s e s   t o   p l a c e   a   P o d   o n   a   n o d e   i f   t h e   c a p a c i t y   c h e c k   f a i l s .   T h i s   p r o t e c t s   a g a i n s t   a   r e s o u r c e   s h o r t a g e   o n   a   n o d e   w h e n   r e s o u r c e   u s a g e   l a t e r   i n c r e a s e s ,   f o r   e x a m p l e ,   d u r i n g   a   d a i l y   p e a k   i n   r e q u e s t   r a t e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3986"
  },
  {
    "question": "What is How Kubernetes applies resource requests and limits?",
    "answer": "W h e n   t h e   k u b e l e t   s t a r t s   a   c o n t a i n e r   a s   p a r t   o f   a   P o d ,   t h e   k u b e l e t   p a s s e s   t h a t   c o n t a i n e r ' s   r e q u e s t s   a n d   l i m i t s   f o r   m e m o r y   a n d   C P U   t o   t h e   c o n t a i n e r   r u n t i m e .   O n   L i n u x ,   t h e   c o n t a i n e r   r u n t i m e   t y p i c a l l y   c o n f i g u r e s   k e r n e l   c g r o u p s   t h a t   a p p l y   a n d   e n f o r c e   t h e   l i m i t s   y o u   d e f i n e d .   T h e   C P U   l i m i t   d e f i n e s   a   h a r d   c e i l i n g   o n   h o w   m u c h   C P U   t i m e   t h e   c o n t a i n e r   c a n   u s e .   D u r i n g   e a c h   s c h e d u l i n g   i n t e r v a l   ( t i m e   s l i c e ) ,   t h e   L i n u x   k e r n e l   c h e c k s   t o   s e e   i f   t h i s   l i m i t   i s   e x c e e d e d ;   i f   s o ,   t h e   k e r n e l   w a i t s   b e f o r e   a l l o w i n g   t h a t   c g r o u p   t o   r e s u m e   e x e c u t i o n . T h e   C P U   r e q u e s t   t y p i c a l l y   d e f i n e s   a   w e i g h t i n g .   I f   s e v e r a l   d i f f e r e n t   c o n t a i n e r s   ( c g r o u p s )   w a n t   t o   r u n   o n   a   c o n t e n d e d   s y s t e m ,   w o r k l o a d s   w i t h   l a r g e r   C P U   r e q u e s t s   a r e   a l l o c a t e d   m o r e   C P U   t i m e   t h a n   w o r k l o a d s   w i t h   s m a l l   r e q u e s t s . T h e   m e m o r y   r e q u e s t   i s   m a i n l y   u s e d   d u r i n g   ( K u b e r n e t e s )   P o d   s c h e d u l i n g .   O n   a   n o d e   t h a t   u s e s   c g r o u p s   v 2 ,   t h e   c o n t a i n e r   r u n t i m e   m i g h t   u s e   t h e   m e m o r y   r e q u e s t   a s   a   h i n t   t o   s e t   m e m o r y . m i n   a n d   m e m o r y . l o w . T h e   m e m o r y   l i m i t   d e f i n e s   a   m e m o r y   l i m i t   f o r   t h a t   c g r o u p ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3987"
  },
  {
    "question": "What is Monitoring compute & memory resource usage?",
    "answer": "T h e   k u b e l e t   r e p o r t s   t h e   r e s o u r c e   u s a g e   o f   a   P o d   a s   p a r t   o f   t h e   P o d   s t a t u s .   I f   o p t i o n a l   t o o l s   f o r   m o n i t o r i n g   a r e   a v a i l a b l e   i n   y o u r   c l u s t e r ,   t h e n   P o d   r e s o u r c e   u s a g e   c a n   b e   r e t r i e v e d   e i t h e r   f r o m   t h e   M e t r i c s   A P I   d i r e c t l y   o r   f r o m   y o u r   m o n i t o r i n g   t o o l s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3988"
  },
  {
    "question": "What is Caution:?",
    "answer": "F r o m   t h e   p e r s p e c t i v e   o f   m e m o r y   m a n a g e m e n t ,   t h e r e   a r e   s o m e   s i m i l a r i t i e s   b e t w e e n   w h e n   a   p r o c e s s   u s e s   m e m o r y   a s   a   w o r k   a r e a   a n d   w h e n   u s i n g   m e m o r y - b a c k e d   e m p t y D i r .   B u t   w h e n   u s i n g   m e m o r y   a s   a   v o l u m e ,   l i k e   m e m o r y - b a c k e d   e m p t y D i r ,   t h e r e   a r e   a d d i t i o n a l   p o i n t s   b e l o w   t h a t   y o u   s h o u l d   b e   c a r e f u l   o f :   F i l e s   s t o r e d   o n   a   m e m o r y - b a c k e d   v o l u m e   a r e   a l m o s t   e n t i r e l y   m a n a g e d   b y   t h e   u s e r   a p p l i c a t i o n .   U n l i k e   w h e n   u s e d   a s   a   w o r k   a r e a   f o r   a   p r o c e s s ,   y o u   c a n   n o t   r e l y   o n   t h i n g s   l i k e   l a n g u a g e - l e v e l   g a r b a g e   c o l l e c t i o n . T h e   p u r p o s e   o f   w r i t i n g   f i l e s   t o   a   v o l u m e   i s   t o   s a v e   d a t a   o r   p a s s   i t   b e t w e e n   a p p l i c a t i o n s .   N e i t h e r   K u b e r n e t e s   n o r   t h e   O S   m a y   a u t o m a t i c a l l y   d e l e t e   f i l e s   f r o m   a   v o l u m e ,   s o   m e m o r y   u s e d   b y   t h o s e   f i l e s   c a n   n o t   b e   r e c l a i m e d   w h e n   t h e   s y s t e m   o r   t h e   p o d   a r e   u n d e r   m e m o r y   p r e s s u r e . A   m e m o r y - b a c k e d   e m p t y D i r   i s   u s e f u l   b e c a u s e   o f   i t s   p e r f o r m a n c e ,   b u t   m e m o r y   i s   g e n e r a l l y   m u c h   s m a l l e r   i n   s i z e   a n d   m u c h   h i g h e r   i n   c o s t   t h a n   o t h e r   s t o r a g e   m e d i a ,   s u c h   a s   d i s k s   o r   S S D s .   U s i n g   l a r g e   a m o u n t s   o f   m e m o r y   f o r   e m p t y D i r   v o l u m e s   m a y   ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_3989"
  },
  {
    "question": "What is Local ephemeral storage?",
    "answer": "N o d e s   h a v e   l o c a l   e p h e m e r a l   s t o r a g e ,   b a c k e d   b y   l o c a l l y - a t t a c h e d   w r i t e a b l e   d e v i c e s   o r ,   s o m e t i m e s ,   b y   R A M .   \" E p h e m e r a l \"   m e a n s   t h a t   t h e r e   i s   n o   l o n g - t e r m   g u a r a n t e e   a b o u t   d u r a b i l i t y .   P o d s   u s e   e p h e m e r a l   l o c a l   s t o r a g e   f o r   s c r a t c h   s p a c e ,   c a c h i n g ,   a n d   f o r   l o g s .   T h e   k u b e l e t   c a n   p r o v i d e   s c r a t c h   s p a c e   t o   P o d s   u s i n g   l o c a l   e p h e m e r a l   s t o r a g e   t o   m o u n t   e m p t y D i r   v o l u m e s   i n t o   c o n t a i n e r s .   T h e   k u b e l e t   a l s o   u s e s   t h i s   k i n d   o f   s t o r a g e   t o   h o l d   n o d e - l e v e l   c o n t a i n e r   l o g s ,   c o n t a i n e r   i m a g e s ,   a n d   t h e   w r i t a b l e   l a y e r s   o f   r u n n i n g   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3990"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   m a k e   t h e   r e s o u r c e   q u o t a   w o r k   o n   e p h e m e r a l - s t o r a g e ,   t w o   t h i n g s   n e e d   t o   b e   d o n e :   A n   a d m i n   s e t s   t h e   r e s o u r c e   q u o t a   f o r   e p h e m e r a l - s t o r a g e   i n   a   n a m e s p a c e . A   u s e r   n e e d s   t o   s p e c i f y   l i m i t s   f o r   t h e   e p h e m e r a l - s t o r a g e   r e s o u r c e   i n   t h e   P o d   s p e c .   I f   t h e   u s e r   d o e s n ' t   s p e c i f y   t h e   e p h e m e r a l - s t o r a g e   r e s o u r c e   l i m i t   i n   t h e   P o d   s p e c ,   t h e   r e s o u r c e   q u o t a   i s   n o t   e n f o r c e d   o n   e p h e m e r a l - s t o r a g e .   K u b e r n e t e s   l e t s   y o u   t r a c k ,   r e s e r v e   a n d   l i m i t   t h e   a m o u n t   o f   e p h e m e r a l   l o c a l   s t o r a g e   a   P o d   c a n   c o n s u m e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_3991"
  },
  {
    "question": "What is Configurations for local ephemeral storage?",
    "answer": "K u b e r n e t e s   s u p p o r t s   t w o   w a y s   t o   c o n f i g u r e   l o c a l   e p h e m e r a l   s t o r a g e   o n   a   n o d e : I n   t h i s   c o n f i g u r a t i o n ,   y o u   p l a c e   a l l   d i f f e r e n t   k i n d s   o f   e p h e m e r a l   l o c a l   d a t a   ( e m p t y D i r   v o l u m e s ,   w r i t e a b l e   l a y e r s ,   c o n t a i n e r   i m a g e s ,   l o g s )   i n t o   o n e   f i l e s y s t e m .   T h e   m o s t   e f f e c t i v e   w a y   t o   c o n f i g u r e   t h e   k u b e l e t   m e a n s   d e d i c a t i n g   t h i s   f i l e s y s t e m   t o   K u b e r n e t e s   ( k u b e l e t )   d a t a . T h e   k u b e l e t   a l s o   w r i t e s   n o d e - l e v e l   c o n t a i n e r   l o g s   a n d   t r e a t s   t h e s e   s i m i l a r l y   t o   e p h e m e r a l   l o c a l   s t o r a g e . T h e   k u b e l e t   w r i t e s   l o g s   t o   f i l e s   i n s i d e   i t s   c o n f i g u r e d   l o g   d i r e c t o r y   ( / v a r / l o g   b y   d e f a u l t ) ;   a n d   h a s   a   b a s e   d i r e c t o r y   f o r   o t h e r   l o c a l l y   s t o r e d   d a t a   ( / v a r / l i b / k u b e l e t   b y   d e f a u l t ) . T y p i c a l l y ,   b o t h   / v a r / l i b / k u b e l e t   a n d   / v a r / l o g   a r e   o n   t h e   s y s t e m   r o o t   f i l e s y s t e m ,   a n d   t h e   k u b e l e t   i s   d e s i g n e d   w i t h   t h a t   l a y o u t   i n   m i n d . Y o u r   n o d e   c a n   h a v e   a s   m a n y   o t h e r   f i l e s y s t e m s ,   n o t   u s e d   f o r   K u b e r n e t e s ,   a s   y o u   l i k e . Y o u   h a v e   a   f i l e s y s t e m   o n   t h e   n o d e   t h a t   y o u ' r e   u s i n g   f o r   e p h e m e r a l   d a t a   t h a t   c o m e s   f r o m   r u n n i n g   P o d s :   l o g s ,   a n d   e m p t y D i r   v o l u m e s .   Y o u   c a n   u s e   t h i s   f i l e s y s t e m   ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3992"
  },
  {
    "question": "What is Setting requests and limits for local ephemeral storage?",
    "answer": "Y o u   c a n   s p e c i f y   e p h e m e r a l - s t o r a g e   f o r   m a n a g i n g   l o c a l   e p h e m e r a l   s t o r a g e .   E a c h   c o n t a i n e r   o f   a   P o d   c a n   s p e c i f y   e i t h e r   o r   b o t h   o f   t h e   f o l l o w i n g :   s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . l i m i t s . e p h e m e r a l - s t o r a g e s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . r e q u e s t s . e p h e m e r a l - s t o r a g e   L i m i t s   a n d   r e q u e s t s   f o r   e p h e m e r a l - s t o r a g e   a r e   m e a s u r e d   i n   b y t e   q u a n t i t i e s .   Y o u   c a n   e x p r e s s   s t o r a g e   a s   a   p l a i n   i n t e g e r   o r   a s   a   f i x e d - p o i n t   n u m b e r   u s i n g   o n e   o f   t h e s e   s u f f i x e s :   E ,   P ,   T ,   G ,   M ,   k .   Y o u   c a n   a l s o   u s e   t h e   p o w e r - o f - t w o   e q u i v a l e n t s :   E i ,   P i ,   T i ,   G i ,   M i ,   K i .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   q u a n t i t i e s   a l l   r e p r e s e n t   r o u g h l y   t h e   s a m e   v a l u e :   1 2 8 9 7 4 8 4 8 1 2 9 e 6 1 2 9 M 1 2 3 M i   P a y   a t t e n t i o n   t o   t h e   c a s e   o f   t h e   s u f f i x e s .   I f   y o u   r e q u e s t   4 0 0 m   o f   e p h e m e r a l - s t o r a g e ,   t h i s   i s   a   r e q u e s t   f o r   0 . 4   b y t e s .   S o m e o n e   w h o   t y p e s   t h a t   p r o b a b l y   m e a n t   t o   a s k   f o r   4 0 0   m e b i b y t e s   ( 4 0 0 M i )   o r   4 0 0   m e g a b y t e s   ( 4 0 0 M ) .   I n   t h e   f o l l o w i n g   e x a m p l e ,   t h e   P o d   h a s   t w o   c o n t a i n e r s .   E a c h   c o n t a i n e r   h a s   a   r e q u e s t   o f   2 G i B   o f   l o c a l   e p h e m e r a l   s t o r a g e .   E a c h   c o n t a i n e r   h a s   a   l i m i t   o f   4 G i B   o f   l o c a l   e p h e m e r a l   s t ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3993"
  },
  {
    "question": "What is How Pods with ephemeral-storage requests are scheduled?",
    "answer": "W h e n   y o u   c r e a t e   a   P o d ,   t h e   K u b e r n e t e s   s c h e d u l e r   s e l e c t s   a   n o d e   f o r   t h e   P o d   t o   r u n   o n .   E a c h   n o d e   h a s   a   m a x i m u m   a m o u n t   o f   l o c a l   e p h e m e r a l   s t o r a g e   i t   c a n   p r o v i d e   f o r   P o d s .   F o r   m o r e   i n f o r m a t i o n ,   s e e   N o d e   A l l o c a t a b l e .   T h e   s c h e d u l e r   e n s u r e s   t h a t   t h e   s u m   o f   t h e   r e s o u r c e   r e q u e s t s   o f   t h e   s c h e d u l e d   c o n t a i n e r s   i s   l e s s   t h a n   t h e   c a p a c i t y   o f   t h e   n o d e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3994"
  },
  {
    "question": "What is Ephemeral storage consumption management?",
    "answer": "I f   t h e   k u b e l e t   i s   m a n a g i n g   l o c a l   e p h e m e r a l   s t o r a g e   a s   a   r e s o u r c e ,   t h e n   t h e   k u b e l e t   m e a s u r e s   s t o r a g e   u s e   i n :   e m p t y D i r   v o l u m e s ,   e x c e p t   t m p f s   e m p t y D i r   v o l u m e s d i r e c t o r i e s   h o l d i n g   n o d e - l e v e l   l o g s w r i t e a b l e   c o n t a i n e r   l a y e r s   I f   a   P o d   i s   u s i n g   m o r e   e p h e m e r a l   s t o r a g e   t h a n   y o u   a l l o w   i t   t o ,   t h e   k u b e l e t   s e t s   a n   e v i c t i o n   s i g n a l   t h a t   t r i g g e r s   P o d   e v i c t i o n .   F o r   c o n t a i n e r - l e v e l   i s o l a t i o n ,   i f   a   c o n t a i n e r ' s   w r i t a b l e   l a y e r   a n d   l o g   u s a g e   e x c e e d s   i t s   s t o r a g e   l i m i t ,   t h e   k u b e l e t   m a r k s   t h e   P o d   f o r   e v i c t i o n .   F o r   p o d - l e v e l   i s o l a t i o n   t h e   k u b e l e t   w o r k s   o u t   a n   o v e r a l l   P o d   s t o r a g e   l i m i t   b y   s u m m i n g   t h e   l i m i t s   f o r   t h e   c o n t a i n e r s   i n   t h a t   P o d .   I n   t h i s   c a s e ,   i f   t h e   s u m   o f   t h e   l o c a l   e p h e m e r a l   s t o r a g e   u s a g e   f r o m   a l l   c o n t a i n e r s   a n d   a l s o   t h e   P o d ' s   e m p t y D i r   v o l u m e s   e x c e e d s   t h e   o v e r a l l   P o d   s t o r a g e   l i m i t ,   t h e n   t h e   k u b e l e t   a l s o   m a r k s   t h e   P o d   f o r   e v i c t i o n .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_3995"
  },
  {
    "question": "What is Caution:?",
    "answer": "I f   t h e   k u b e l e t   i s   n o t   m e a s u r i n g   l o c a l   e p h e m e r a l   s t o r a g e ,   t h e n   a   P o d   t h a t   e x c e e d s   i t s   l o c a l   s t o r a g e   l i m i t   w i l l   n o t   b e   e v i c t e d   f o r   b r e a c h i n g   l o c a l   s t o r a g e   r e s o u r c e   l i m i t s .   H o w e v e r ,   i f   t h e   f i l e s y s t e m   s p a c e   f o r   w r i t e a b l e   c o n t a i n e r   l a y e r s ,   n o d e - l e v e l   l o g s ,   o r   e m p t y D i r   v o l u m e s   f a l l s   l o w ,   t h e   n o d e   t a i n t s   i t s e l f   a s   s h o r t   o n   l o c a l   s t o r a g e   a n d   t h i s   t a i n t   t r i g g e r s   e v i c t i o n   f o r   a n y   P o d s   t h a t   d o n ' t   s p e c i f i c a l l y   t o l e r a t e   t h e   t a i n t .   S e e   t h e   s u p p o r t e d   c o n f i g u r a t i o n s   f o r   e p h e m e r a l   l o c a l   s t o r a g e .   T h e   k u b e l e t   s u p p o r t s   d i f f e r e n t   w a y s   t o   m e a s u r e   P o d   s t o r a g e   u s e :   T h e   k u b e l e t   p e r f o r m s   r e g u l a r ,   s c h e d u l e d   c h e c k s   t h a t   s c a n   e a c h   e m p t y D i r   v o l u m e ,   c o n t a i n e r   l o g   d i r e c t o r y ,   a n d   w r i t e a b l e   c o n t a i n e r   l a y e r . T h e   s c a n   m e a s u r e s   h o w   m u c h   s p a c e   i s   u s e d . N o t e : I n   t h i s   m o d e ,   t h e   k u b e l e t   d o e s   n o t   t r a c k   o p e n   f i l e   d e s c r i p t o r s   f o r   d e l e t e d   f i l e s . I f   y o u   ( o r   a   c o n t a i n e r )   c r e a t e   a   f i l e   i n s i d e   a n   e m p t y D i r   v o l u m e ,   s o m e t h i n g   t h e n   o p e n s   t h a t   f i l e ,   a n d   y o u   d e l e t e   t h e   f i l e   w h i l e   i t   i s   s t i l l   o p e n ,   t h e n   t h e   i n o d e   f o r   t h e   d e l e t e d   f i l e   s t a y s   u n t i ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_3996"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   t h i s   m o d e ,   t h e   k u b e l e t   d o e s   n o t   t r a c k   o p e n   f i l e   d e s c r i p t o r s   f o r   d e l e t e d   f i l e s .   I f   y o u   ( o r   a   c o n t a i n e r )   c r e a t e   a   f i l e   i n s i d e   a n   e m p t y D i r   v o l u m e ,   s o m e t h i n g   t h e n   o p e n s   t h a t   f i l e ,   a n d   y o u   d e l e t e   t h e   f i l e   w h i l e   i t   i s   s t i l l   o p e n ,   t h e n   t h e   i n o d e   f o r   t h e   d e l e t e d   f i l e   s t a y s   u n t i l   y o u   c l o s e   t h a t   f i l e   b u t   t h e   k u b e l e t   d o e s   n o t   c a t e g o r i z e   t h e   s p a c e   a s   i n   u s e .   F E A T U R E   S T A T E :   K u b e r n e t e s   v 1 . 3 1   [ b e t a ]   ( e n a b l e d   b y   d e f a u l t :   f a l s e ) P r o j e c t   q u o t a s   a r e   a n   o p e r a t i n g - s y s t e m   l e v e l   f e a t u r e   f o r   m a n a g i n g   s t o r a g e   u s e   o n   f i l e s y s t e m s .   W i t h   K u b e r n e t e s ,   y o u   c a n   e n a b l e   p r o j e c t   q u o t a s   f o r   m o n i t o r i n g   s t o r a g e   u s e .   M a k e   s u r e   t h a t   t h e   f i l e s y s t e m   b a c k i n g   t h e   e m p t y D i r   v o l u m e s ,   o n   t h e   n o d e ,   p r o v i d e s   p r o j e c t   q u o t a   s u p p o r t .   F o r   e x a m p l e ,   X F S   a n d   e x t 4 f s   o f f e r   p r o j e c t   q u o t a s . N o t e : P r o j e c t   q u o t a s   l e t   y o u   m o n i t o r   s t o r a g e   u s e ;   t h e y   d o   n o t   e n f o r c e   l i m i t s . K u b e r n e t e s   u s e s   p r o j e c t   I D s   s t a r t i n g   f r o m   1 0 4 8 5 7 6 .   T h e   I D s   i n   u s e   a r e   r e g i s t e r e d   i n   / e t c / p r o j e c t s   a n d   / e t c / p r o j i d .   I f   p r o j e c t   I D s   i n   t h i s   r a n g e   a r e   u s e d   f o r   o t h e r   p u r p o s e s   o n   t h e   s y s t ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_3997"
  },
  {
    "question": "What is Note:?",
    "answer": "K u b e r n e t e s   u s e s   p r o j e c t   I D s   s t a r t i n g   f r o m   1 0 4 8 5 7 6 .   T h e   I D s   i n   u s e   a r e   r e g i s t e r e d   i n   / e t c / p r o j e c t s   a n d   / e t c / p r o j i d .   I f   p r o j e c t   I D s   i n   t h i s   r a n g e   a r e   u s e d   f o r   o t h e r   p u r p o s e s   o n   t h e   s y s t e m ,   t h o s e   p r o j e c t   I D s   m u s t   b e   r e g i s t e r e d   i n   / e t c / p r o j e c t s   a n d   / e t c / p r o j i d   s o   t h a t   K u b e r n e t e s   d o e s   n o t   u s e   t h e m .   Q u o t a s   a r e   f a s t e r   a n d   m o r e   a c c u r a t e   t h a n   d i r e c t o r y   s c a n n i n g .   W h e n   a   d i r e c t o r y   i s   a s s i g n e d   t o   a   p r o j e c t ,   a l l   f i l e s   c r e a t e d   u n d e r   a   d i r e c t o r y   a r e   c r e a t e d   i n   t h a t   p r o j e c t ,   a n d   t h e   k e r n e l   m e r e l y   h a s   t o   k e e p   t r a c k   o f   h o w   m a n y   b l o c k s   a r e   i n   u s e   b y   f i l e s   i n   t h a t   p r o j e c t .   I f   a   f i l e   i s   c r e a t e d   a n d   d e l e t e d ,   b u t   h a s   a n   o p e n   f i l e   d e s c r i p t o r ,   i t   c o n t i n u e s   t o   c o n s u m e   s p a c e .   Q u o t a   t r a c k i n g   r e c o r d s   t h a t   s p a c e   a c c u r a t e l y   w h e r e a s   d i r e c t o r y   s c a n s   o v e r l o o k   t h e   s t o r a g e   u s e d   b y   d e l e t e d   f i l e s .   T o   u s e   q u o t a s   t o   t r a c k   a   p o d ' s   r e s o u r c e   u s a g e ,   t h e   p o d   m u s t   b e   i n   a   u s e r   n a m e s p a c e .   W i t h i n   u s e r   n a m e s p a c e s ,   t h e   k e r n e l   r e s t r i c t s   c h a n g e s   t o   p r o j e c t I D s   o n   t h e   f i l e s y s t e m ,   e n s u r i n g   t h e   r e l i a b i l i t y   o f   s t o r a g e   m e t r i c s   c a l c u l a t e d   b y   q ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_3998"
  },
  {
    "question": "What is Extended resources?",
    "answer": "E x t e n d e d   r e s o u r c e s   a r e   f u l l y - q u a l i f i e d   r e s o u r c e   n a m e s   o u t s i d e   t h e   k u b e r n e t e s . i o   d o m a i n .   T h e y   a l l o w   c l u s t e r   o p e r a t o r s   t o   a d v e r t i s e   a n d   u s e r s   t o   c o n s u m e   t h e   n o n - K u b e r n e t e s - b u i l t - i n   r e s o u r c e s .   T h e r e   a r e   t w o   s t e p s   r e q u i r e d   t o   u s e   E x t e n d e d   R e s o u r c e s .   F i r s t ,   t h e   c l u s t e r   o p e r a t o r   m u s t   a d v e r t i s e   a n   E x t e n d e d   R e s o u r c e .   S e c o n d ,   u s e r s   m u s t   r e q u e s t   t h e   E x t e n d e d   R e s o u r c e   i n   P o d s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_3999"
  },
  {
    "question": "What is Node-level extended resources?",
    "answer": "N o d e - l e v e l   e x t e n d e d   r e s o u r c e s   a r e   t i e d   t o   n o d e s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_4000"
  },
  {
    "question": "What is Device plugin managed resources?",
    "answer": "S e e   D e v i c e   P l u g i n   f o r   h o w   t o   a d v e r t i s e   d e v i c e   p l u g i n   m a n a g e d   r e s o u r c e s   o n   e a c h   n o d e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_5_4001"
  },
  {
    "question": "What is Other resources?",
    "answer": "T o   a d v e r t i s e   a   n e w   n o d e - l e v e l   e x t e n d e d   r e s o u r c e ,   t h e   c l u s t e r   o p e r a t o r   c a n   s u b m i t   a   P A T C H   H T T P   r e q u e s t   t o   t h e   A P I   s e r v e r   t o   s p e c i f y   t h e   a v a i l a b l e   q u a n t i t y   i n   t h e   s t a t u s . c a p a c i t y   f o r   a   n o d e   i n   t h e   c l u s t e r .   A f t e r   t h i s   o p e r a t i o n ,   t h e   n o d e ' s   s t a t u s . c a p a c i t y   w i l l   i n c l u d e   a   n e w   r e s o u r c e .   T h e   s t a t u s . a l l o c a t a b l e   f i e l d   i s   u p d a t e d   a u t o m a t i c a l l y   w i t h   t h e   n e w   r e s o u r c e   a s y n c h r o n o u s l y   b y   t h e   k u b e l e t .   B e c a u s e   t h e   s c h e d u l e r   u s e s   t h e   n o d e ' s   s t a t u s . a l l o c a t a b l e   v a l u e   w h e n   e v a l u a t i n g   P o d   f i t n e s s ,   t h e   s c h e d u l e r   o n l y   t a k e s   a c c o u n t   o f   t h e   n e w   v a l u e   a f t e r   t h a t   a s y n c h r o n o u s   u p d a t e .   T h e r e   m a y   b e   a   s h o r t   d e l a y   b e t w e e n   p a t c h i n g   t h e   n o d e   c a p a c i t y   w i t h   a   n e w   r e s o u r c e   a n d   t h e   t i m e   w h e n   t h e   f i r s t   P o d   t h a t   r e q u e s t s   t h e   r e s o u r c e   c a n   b e   s c h e d u l e d   o n   t h a t   n o d e .   E x a m p l e :   H e r e   i s   a n   e x a m p l e   s h o w i n g   h o w   t o   u s e   c u r l   t o   f o r m   a n   H T T P   r e q u e s t   t h a t   a d v e r t i s e s   f i v e   \" e x a m p l e . c o m / f o o \"   r e s o u r c e s   o n   n o d e   k 8 s - n o d e - 1   w h o s e   m a s t e r   i s   k 8 s - m a s t e r .   c u r l   - - h e a d e r   \" C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n - p a t c h + j s o n \"   \\   - - r e q u e s t   P A T C H   \\   - - d a t a   ' [ { \" o p \" : ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_5_4002"
  },
  {
    "question": "What is Cluster-level extended resources?",
    "answer": "C l u s t e r - l e v e l   e x t e n d e d   r e s o u r c e s   a r e   n o t   t i e d   t o   n o d e s .   T h e y   a r e   u s u a l l y   m a n a g e d   b y   s c h e d u l e r   e x t e n d e r s ,   w h i c h   h a n d l e   t h e   r e s o u r c e   c o n s u m p t i o n   a n d   r e s o u r c e   q u o t a .   Y o u   c a n   s p e c i f y   t h e   e x t e n d e d   r e s o u r c e s   t h a t   a r e   h a n d l e d   b y   s c h e d u l e r   e x t e n d e r s   i n   s c h e d u l e r   c o n f i g u r a t i o n   E x a m p l e :   T h e   f o l l o w i n g   c o n f i g u r a t i o n   f o r   a   s c h e d u l e r   p o l i c y   i n d i c a t e s   t h a t   t h e   c l u s t e r - l e v e l   e x t e n d e d   r e s o u r c e   \" e x a m p l e . c o m / f o o \"   i s   h a n d l e d   b y   t h e   s c h e d u l e r   e x t e n d e r .   T h e   s c h e d u l e r   s e n d s   a   P o d   t o   t h e   s c h e d u l e r   e x t e n d e r   o n l y   i f   t h e   P o d   r e q u e s t s   \" e x a m p l e . c o m / f o o \" . T h e   i g n o r e d B y S c h e d u l e r   f i e l d   s p e c i f i e s   t h a t   t h e   s c h e d u l e r   d o e s   n o t   c h e c k   t h e   \" e x a m p l e . c o m / f o o \"   r e s o u r c e   i n   i t s   P o d F i t s R e s o u r c e s   p r e d i c a t e .   {   \" k i n d \" :   \" P o l i c y \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" e x t e n d e r s \" :   [   {   \" u r l P r e f i x \" : \" < e x t e n d e r - e n d p o i n t > \" ,   \" b i n d V e r b \" :   \" b i n d \" ,   \" m a n a g e d R e s o u r c e s \" :   [   {   \" n a m e \" :   \" e x a m p l e . c o m / f o o \" ,   \" i g n o r e d B y S c h e d u l e r \" :   t r u e   }   ]   }   ]   }",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_4003"
  },
  {
    "question": "What is Extended resources allocation by DRA?",
    "answer": "E x t e n d e d   r e s o u r c e s   a l l o c a t i o n   b y   D R A   a l l o w s   c l u s t e r   a d m i n i s t r a t o r s   t o   s p e c i f y   a n   e x t e n d e d R e s o u r c e N a m e   i n   D e v i c e C l a s s ,   t h e n   t h e   d e v i c e s   m a t c h i n g   t h e   D e v i c e C l a s s   c a n   b e   r e q u e s t e d   f r o m   a   p o d ' s   e x t e n d e d   r e s o u r c e   r e q u e s t s .   R e a d   m o r e   a b o u t   E x t e n d e d   R e s o u r c e   a l l o c a t i o n   b y   D R A .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_4004"
  },
  {
    "question": "What is Consuming extended resources?",
    "answer": "U s e r s   c a n   c o n s u m e   e x t e n d e d   r e s o u r c e s   i n   P o d   s p e c s   l i k e   C P U   a n d   m e m o r y .   T h e   s c h e d u l e r   t a k e s   c a r e   o f   t h e   r e s o u r c e   a c c o u n t i n g   s o   t h a t   n o   m o r e   t h a n   t h e   a v a i l a b l e   a m o u n t   i s   s i m u l t a n e o u s l y   a l l o c a t e d   t o   P o d s .   T h e   A P I   s e r v e r   r e s t r i c t s   q u a n t i t i e s   o f   e x t e n d e d   r e s o u r c e s   t o   w h o l e   n u m b e r s .   E x a m p l e s   o f   v a l i d   q u a n t i t i e s   a r e   3 ,   3 0 0 0 m   a n d   3 K i .   E x a m p l e s   o f   i n v a l i d   q u a n t i t i e s   a r e   0 . 5   a n d   1 5 0 0 m   ( b e c a u s e   1 5 0 0 m   w o u l d   r e s u l t   i n   1 . 5 ) .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_4005"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   c o n s u m e   a n   e x t e n d e d   r e s o u r c e   i n   a   P o d ,   i n c l u d e   t h e   r e s o u r c e   n a m e   a s   a   k e y   i n   t h e   s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . l i m i t s   m a p   i n   t h e   c o n t a i n e r   s p e c .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_4006"
  },
  {
    "question": "What is Note:?",
    "answer": "A   P o d   i s   s c h e d u l e d   o n l y   i f   a l l   o f   t h e   r e s o u r c e   r e q u e s t s   a r e   s a t i s f i e d ,   i n c l u d i n g   C P U ,   m e m o r y   a n d   a n y   e x t e n d e d   r e s o u r c e s .   T h e   P o d   r e m a i n s   i n   t h e   P E N D I N G   s t a t e   a s   l o n g   a s   t h e   r e s o u r c e   r e q u e s t   c a n n o t   b e   s a t i s f i e d .   E x a m p l e :   T h e   P o d   b e l o w   r e q u e s t s   2   C P U s   a n d   1   \" e x a m p l e . c o m / f o o \"   ( a n   e x t e n d e d   r e s o u r c e ) .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   m y - c o n t a i n e r   i m a g e :   m y i m a g e   r e s o u r c e s :   r e q u e s t s :   c p u :   2   e x a m p l e . c o m / f o o :   1   l i m i t s :   e x a m p l e . c o m / f o o :   1",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_4007"
  },
  {
    "question": "What is PID limiting?",
    "answer": "P r o c e s s   I D   ( P I D )   l i m i t s   a l l o w   f o r   t h e   c o n f i g u r a t i o n   o f   a   k u b e l e t   t o   l i m i t   t h e   n u m b e r   o f   P I D s   t h a t   a   g i v e n   P o d   c a n   c o n s u m e .   S e e   P I D   L i m i t i n g   f o r   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_4008"
  },
  {
    "question": "What is My Pods are pending with event message FailedScheduling?",
    "answer": "I f   t h e   s c h e d u l e r   c a n n o t   f i n d   a n y   n o d e   w h e r e   a   P o d   c a n   f i t ,   t h e   P o d   r e m a i n s   u n s c h e d u l e d   u n t i l   a   p l a c e   c a n   b e   f o u n d .   A n   E v e n t   i s   p r o d u c e d   e a c h   t i m e   t h e   s c h e d u l e r   f a i l s   t o   f i n d   a   p l a c e   f o r   t h e   P o d .   Y o u   c a n   u s e   k u b e c t l   t o   v i e w   t h e   e v e n t s   f o r   a   P o d ;   f o r   e x a m p l e :   k u b e c t l   d e s c r i b e   p o d   f r o n t e n d   |   g r e p   - A   9 9 9 9 9 9 9 9 9 9   E v e n t s   E v e n t s :   T y p e   R e a s o n   A g e   F r o m   M e s s a g e   - - - -   - - - - - -   - - - -   - - - -   - - - - - - -   W a r n i n g   F a i l e d S c h e d u l i n g   2 3 s   d e f a u l t - s c h e d u l e r   0 / 4 2   n o d e s   a v a i l a b l e :   i n s u f f i c i e n t   c p u   I n   t h e   p r e c e d i n g   e x a m p l e ,   t h e   P o d   n a m e d   \" f r o n t e n d \"   f a i l s   t o   b e   s c h e d u l e d   d u e   t o   i n s u f f i c i e n t   C P U   r e s o u r c e   o n   a n y   n o d e .   S i m i l a r   e r r o r   m e s s a g e s   c a n   a l s o   s u g g e s t   f a i l u r e   d u e   t o   i n s u f f i c i e n t   m e m o r y   ( P o d E x c e e d s F r e e M e m o r y ) .   I n   g e n e r a l ,   i f   a   P o d   i s   p e n d i n g   w i t h   a   m e s s a g e   o f   t h i s   t y p e ,   t h e r e   a r e   s e v e r a l   t h i n g s   t o   t r y :   A d d   m o r e   n o d e s   t o   t h e   c l u s t e r . T e r m i n a t e   u n n e e d e d   P o d s   t o   m a k e   r o o m   f o r   p e n d i n g   P o d s . C h e c k   t h a t   t h e   P o d   i s   n o t   l a r g e r   t h a n   a l l   t h e   n o d e s .   F o r   e x a m p l e ,   i f   a l l   t h e   n o d e s   h a v e   a   c a p a c i t y   o f   c p u :   1 ,   t h e n   a   P o d   w i t h   a   r e q u e s t ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_4009"
  },
  {
    "question": "What is My container is terminated?",
    "answer": "Y o u r   c o n t a i n e r   m i g h t   g e t   t e r m i n a t e d   b e c a u s e   i t   i s   r e s o u r c e - s t a r v e d .   T o   c h e c k   w h e t h e r   a   c o n t a i n e r   i s   b e i n g   k i l l e d   b e c a u s e   i t   i s   h i t t i n g   a   r e s o u r c e   l i m i t ,   c a l l   k u b e c t l   d e s c r i b e   p o d   o n   t h e   P o d   o f   i n t e r e s t :   k u b e c t l   d e s c r i b e   p o d   s i m m e m l e a k - h r a 9 9   T h e   o u t p u t   i s   s i m i l a r   t o :   N a m e :   s i m m e m l e a k - h r a 9 9   N a m e s p a c e :   d e f a u l t   I m a g e ( s ) :   s a a d a l i / s i m m e m l e a k   N o d e :   k u b e r n e t e s - n o d e - t f 0 f / 1 0 . 2 4 0 . 2 1 6 . 6 6   L a b e l s :   n a m e = s i m m e m l e a k   S t a t u s :   R u n n i n g   R e a s o n :   M e s s a g e :   I P :   1 0 . 2 4 4 . 2 . 7 5   C o n t a i n e r s :   s i m m e m l e a k :   I m a g e :   s a a d a l i / s i m m e m l e a k : l a t e s t   L i m i t s :   c p u :   1 0 0 m   m e m o r y :   5 0 M i   S t a t e :   R u n n i n g   S t a r t e d :   T u e ,   0 7   J u l   2 0 1 9   1 2 : 5 4 : 4 1   - 0 7 0 0   L a s t   S t a t e :   T e r m i n a t e d   R e a s o n :   O O M K i l l e d   E x i t   C o d e :   1 3 7   S t a r t e d :   F r i ,   0 7   J u l   2 0 1 9   1 2 : 5 4 : 3 0   - 0 7 0 0   F i n i s h e d :   F r i ,   0 7   J u l   2 0 1 9   1 2 : 5 4 : 3 3   - 0 7 0 0   R e a d y :   F a l s e   R e s t a r t   C o u n t :   5   C o n d i t i o n s :   T y p e   S t a t u s   R e a d y   F a l s e   E v e n t s :   T y p e   R e a s o n   A g e   F r o m   M e s s a g e   - - - -   - - - - - -   - - - -   - - - -   - - - - - - -   N o r m a l   S c h e d u l e d   4 2 s   d e f a u l t - s c h e d u l e r   S u c c e s s f u l l y   a s s i g n e d   s i m m e m l e a k - h r a 9 9   t o   k u b e r n e t e s - n o d e - t f 0 f   N o r m a l   P u l l e d   4 1 s   k u b e l e t   C o n t ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_3_4010"
  },
  {
    "question": "What is What's next?",
    "answer": "G e t   h a n d s - o n   e x p e r i e n c e   a s s i g n i n g   M e m o r y   r e s o u r c e s   t o   c o n t a i n e r s   a n d   P o d s . G e t   h a n d s - o n   e x p e r i e n c e   a s s i g n i n g   C P U   r e s o u r c e s   t o   c o n t a i n e r s   a n d   P o d s . R e a d   h o w   t h e   A P I   r e f e r e n c e   d e f i n e s   a   c o n t a i n e r   a n d   i t s   r e s o u r c e   r e q u i r e m e n t s R e a d   a b o u t   p r o j e c t   q u o t a s   i n   X F S R e a d   m o r e   a b o u t   t h e   k u b e - s c h e d u l e r   c o n f i g u r a t i o n   r e f e r e n c e   ( v 1 ) R e a d   m o r e   a b o u t   Q u a l i t y   o f   S e r v i c e   c l a s s e s   f o r   P o d s R e a d   m o r e   a b o u t   E x t e n d e d   R e s o u r c e   a l l o c a t i o n   b y   D R A",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_4011"
  },
  {
    "question": "What is 6 - Organizing Cluster Access Using kubeconfig Files?",
    "answer": "U s e   k u b e c o n f i g   f i l e s   t o   o r g a n i z e   i n f o r m a t i o n   a b o u t   c l u s t e r s ,   u s e r s ,   n a m e s p a c e s ,   a n d   a u t h e n t i c a t i o n   m e c h a n i s m s .   T h e   k u b e c t l   c o m m a n d - l i n e   t o o l   u s e s   k u b e c o n f i g   f i l e s   t o   f i n d   t h e   i n f o r m a t i o n   i t   n e e d s   t o   c h o o s e   a   c l u s t e r   a n d   c o m m u n i c a t e   w i t h   t h e   A P I   s e r v e r   o f   a   c l u s t e r .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_1_4012"
  },
  {
    "question": "What is Warning:?",
    "answer": "B y   d e f a u l t ,   k u b e c t l   l o o k s   f o r   a   f i l e   n a m e d   c o n f i g   i n   t h e   $ H O M E / . k u b e   d i r e c t o r y .   Y o u   c a n   s p e c i f y   o t h e r   k u b e c o n f i g   f i l e s   b y   s e t t i n g   t h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   o r   b y   s e t t i n g   t h e   - - k u b e c o n f i g   f l a g .   F o r   s t e p - b y - s t e p   i n s t r u c t i o n s   o n   c r e a t i n g   a n d   s p e c i f y i n g   k u b e c o n f i g   f i l e s ,   s e e   C o n f i g u r e   A c c e s s   t o   M u l t i p l e   C l u s t e r s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_4013"
  },
  {
    "question": "What is Supporting multiple clusters, users, and authentication mechanisms?",
    "answer": "S u p p o s e   y o u   h a v e   s e v e r a l   c l u s t e r s ,   a n d   y o u r   u s e r s   a n d   c o m p o n e n t s   a u t h e n t i c a t e   i n   a   v a r i e t y   o f   w a y s .   F o r   e x a m p l e :   A   r u n n i n g   k u b e l e t   m i g h t   a u t h e n t i c a t e   u s i n g   c e r t i f i c a t e s . A   u s e r   m i g h t   a u t h e n t i c a t e   u s i n g   t o k e n s . A d m i n i s t r a t o r s   m i g h t   h a v e   s e t s   o f   c e r t i f i c a t e s   t h a t   t h e y   p r o v i d e   t o   i n d i v i d u a l   u s e r s .   W i t h   k u b e c o n f i g   f i l e s ,   y o u   c a n   o r g a n i z e   y o u r   c l u s t e r s ,   u s e r s ,   a n d   n a m e s p a c e s .   Y o u   c a n   a l s o   d e f i n e   c o n t e x t s   t o   q u i c k l y   a n d   e a s i l y   s w i t c h   b e t w e e n   c l u s t e r s   a n d   n a m e s p a c e s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_4014"
  },
  {
    "question": "What is Context?",
    "answer": "A   c o n t e x t   e l e m e n t   i n   a   k u b e c o n f i g   f i l e   i s   u s e d   t o   g r o u p   a c c e s s   p a r a m e t e r s   u n d e r   a   c o n v e n i e n t   n a m e .   E a c h   c o n t e x t   h a s   t h r e e   p a r a m e t e r s :   c l u s t e r ,   n a m e s p a c e ,   a n d   u s e r .   B y   d e f a u l t ,   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   u s e s   p a r a m e t e r s   f r o m   t h e   c u r r e n t   c o n t e x t   t o   c o m m u n i c a t e   w i t h   t h e   c l u s t e r .   T o   c h o o s e   t h e   c u r r e n t   c o n t e x t :   k u b e c t l   c o n f i g   u s e - c o n t e x t",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_4015"
  },
  {
    "question": "What is The KUBECONFIG environment variable?",
    "answer": "T h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   h o l d s   a   l i s t   o f   k u b e c o n f i g   f i l e s .   F o r   L i n u x   a n d   M a c ,   t h e   l i s t   i s   c o l o n - d e l i m i t e d .   F o r   W i n d o w s ,   t h e   l i s t   i s   s e m i c o l o n - d e l i m i t e d .   T h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   i s   n o t   r e q u i r e d .   I f   t h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   d o e s n ' t   e x i s t ,   k u b e c t l   u s e s   t h e   d e f a u l t   k u b e c o n f i g   f i l e ,   $ H O M E / . k u b e / c o n f i g .   I f   t h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   d o e s   e x i s t ,   k u b e c t l   u s e s   a n   e f f e c t i v e   c o n f i g u r a t i o n   t h a t   i s   t h e   r e s u l t   o f   m e r g i n g   t h e   f i l e s   l i s t e d   i n   t h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_4016"
  },
  {
    "question": "What is Merging kubeconfig files?",
    "answer": "T o   s e e   y o u r   c o n f i g u r a t i o n ,   e n t e r   t h i s   c o m m a n d :   k u b e c t l   c o n f i g   v i e w   A s   d e s c r i b e d   p r e v i o u s l y ,   t h e   o u t p u t   m i g h t   b e   f r o m   a   s i n g l e   k u b e c o n f i g   f i l e ,   o r   i t   m i g h t   b e   t h e   r e s u l t   o f   m e r g i n g   s e v e r a l   k u b e c o n f i g   f i l e s .   H e r e   a r e   t h e   r u l e s   t h a t   k u b e c t l   u s e s   w h e n   i t   m e r g e s   k u b e c o n f i g   f i l e s :   I f   t h e   - - k u b e c o n f i g   f l a g   i s   s e t ,   u s e   o n l y   t h e   s p e c i f i e d   f i l e .   D o   n o t   m e r g e .   O n l y   o n e   i n s t a n c e   o f   t h i s   f l a g   i s   a l l o w e d . O t h e r w i s e ,   i f   t h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   i s   s e t ,   u s e   i t   a s   a   l i s t   o f   f i l e s   t h a t   s h o u l d   b e   m e r g e d .   M e r g e   t h e   f i l e s   l i s t e d   i n   t h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   a c c o r d i n g   t o   t h e s e   r u l e s : I g n o r e   e m p t y   f i l e n a m e s . P r o d u c e   e r r o r s   f o r   f i l e s   w i t h   c o n t e n t   t h a t   c a n n o t   b e   d e s e r i a l i z e d . T h e   f i r s t   f i l e   t o   s e t   a   p a r t i c u l a r   v a l u e   o r   m a p   k e y   w i n s . N e v e r   c h a n g e   t h e   v a l u e   o r   m a p   k e y .   E x a m p l e :   P r e s e r v e   t h e   c o n t e x t   o f   t h e   f i r s t   f i l e   t o   s e t   c u r r e n t - c o n t e x t .   E x a m p l e :   I f   t w o   f i l e s   s p e c i f y   a   r e d - u s e r ,   u s e   o n l y   v a l u e s   f r o m   t h e   f i r s t   f i l e ' s   r e d - u s e r .   E v e n   i f   t h e   s e c o n d   f i l e   h a s   n o n - c o n f l i c t i n g   e n t r i e s   u n d e r   r e d - u s e r ,   d ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_4017"
  },
  {
    "question": "What is File references?",
    "answer": "F i l e   a n d   p a t h   r e f e r e n c e s   i n   a   k u b e c o n f i g   f i l e   a r e   r e l a t i v e   t o   t h e   l o c a t i o n   o f   t h e   k u b e c o n f i g   f i l e .   F i l e   r e f e r e n c e s   o n   t h e   c o m m a n d   l i n e   a r e   r e l a t i v e   t o   t h e   c u r r e n t   w o r k i n g   d i r e c t o r y .   I n   $ H O M E / . k u b e / c o n f i g ,   r e l a t i v e   p a t h s   a r e   s t o r e d   r e l a t i v e l y ,   a n d   a b s o l u t e   p a t h s   a r e   s t o r e d   a b s o l u t e l y .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_4018"
  },
  {
    "question": "What is Proxy?",
    "answer": "Y o u   c a n   c o n f i g u r e   k u b e c t l   t o   u s e   a   p r o x y   p e r   c l u s t e r   u s i n g   p r o x y - u r l   i n   y o u r   k u b e c o n f i g   f i l e ,   l i k e   t h i s :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g   c l u s t e r s :   -   c l u s t e r :   p r o x y - u r l :   h t t p : / / p r o x y . e x a m p l e . o r g : 3 1 2 8   s e r v e r :   h t t p s : / / k 8 s . e x a m p l e . o r g / k 8 s / c l u s t e r s / c - x x y y z z   n a m e :   d e v e l o p m e n t   u s e r s :   -   n a m e :   d e v e l o p e r   c o n t e x t s :   -   c o n t e x t :   n a m e :   d e v e l o p m e n t",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_4019"
  },
  {
    "question": "What is What's next?",
    "answer": "C o n f i g u r e   A c c e s s   t o   M u l t i p l e   C l u s t e r s k u b e c t l   c o n f i g",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_4020"
  },
  {
    "question": "What is 7 - Resource Management for Windows nodes?",
    "answer": "T h i s   p a g e   o u t l i n e s   t h e   d i f f e r e n c e s   i n   h o w   r e s o u r c e s   a r e   m a n a g e d   b e t w e e n   L i n u x   a n d   W i n d o w s .   O n   L i n u x   n o d e s ,   c g r o u p s   a r e   u s e d   a s   a   p o d   b o u n d a r y   f o r   r e s o u r c e   c o n t r o l .   C o n t a i n e r s   a r e   c r e a t e d   w i t h i n   t h a t   b o u n d a r y   f o r   n e t w o r k ,   p r o c e s s   a n d   f i l e   s y s t e m   i s o l a t i o n .   T h e   L i n u x   c g r o u p   A P I s   c a n   b e   u s e d   t o   g a t h e r   C P U ,   I / O ,   a n d   m e m o r y   u s e   s t a t i s t i c s .   I n   c o n t r a s t ,   W i n d o w s   u s e s   a   j o b   o b j e c t   p e r   c o n t a i n e r   w i t h   a   s y s t e m   n a m e s p a c e   f i l t e r   t o   c o n t a i n   a l l   p r o c e s s e s   i n   a   c o n t a i n e r   a n d   p r o v i d e   l o g i c a l   i s o l a t i o n   f r o m   t h e   h o s t .   ( J o b   o b j e c t s   a r e   a   W i n d o w s   p r o c e s s   i s o l a t i o n   m e c h a n i s m   a n d   a r e   d i f f e r e n t   f r o m   w h a t   K u b e r n e t e s   r e f e r s   t o   a s   a   J o b ) .   T h e r e   i s   n o   w a y   t o   r u n   a   W i n d o w s   c o n t a i n e r   w i t h o u t   t h e   n a m e s p a c e   f i l t e r i n g   i n   p l a c e .   T h i s   m e a n s   t h a t   s y s t e m   p r i v i l e g e s   c a n n o t   b e   a s s e r t e d   i n   t h e   c o n t e x t   o f   t h e   h o s t ,   a n d   t h u s   p r i v i l e g e d   c o n t a i n e r s   a r e   n o t   a v a i l a b l e   o n   W i n d o w s .   C o n t a i n e r s   c a n n o t   a s s u m e   a n   i d e n t i t y   f r o m   t h e   h o s t   b e c a u s e   t h e   S e c u r i t y   A c c o u n t   M a n a g e r   ( S A M )   i s   s e p a r a t e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_1_4021"
  },
  {
    "question": "What is Memory management?",
    "answer": "W i n d o w s   d o e s   n o t   h a v e   a n   o u t - o f - m e m o r y   p r o c e s s   k i l l e r   a s   L i n u x   d o e s .   W i n d o w s   a l w a y s   t r e a t s   a l l   u s e r - m o d e   m e m o r y   a l l o c a t i o n s   a s   v i r t u a l ,   a n d   p a g e f i l e s   a r e   m a n d a t o r y .   W i n d o w s   n o d e s   d o   n o t   o v e r c o m m i t   m e m o r y   f o r   p r o c e s s e s .   T h e   n e t   e f f e c t   i s   t h a t   W i n d o w s   w o n ' t   r e a c h   o u t   o f   m e m o r y   c o n d i t i o n s   t h e   s a m e   w a y   L i n u x   d o e s ,   a n d   p r o c e s s e s   p a g e   t o   d i s k   i n s t e a d   o f   b e i n g   s u b j e c t   t o   o u t   o f   m e m o r y   ( O O M )   t e r m i n a t i o n .   I f   m e m o r y   i s   o v e r - p r o v i s i o n e d   a n d   a l l   p h y s i c a l   m e m o r y   i s   e x h a u s t e d ,   t h e n   p a g i n g   c a n   s l o w   d o w n   p e r f o r m a n c e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_4022"
  },
  {
    "question": "What is CPU management?",
    "answer": "W i n d o w s   c a n   l i m i t   t h e   a m o u n t   o f   C P U   t i m e   a l l o c a t e d   f o r   d i f f e r e n t   p r o c e s s e s   b u t   c a n n o t   g u a r a n t e e   a   m i n i m u m   a m o u n t   o f   C P U   t i m e .   O n   W i n d o w s ,   t h e   k u b e l e t   s u p p o r t s   a   c o m m a n d - l i n e   f l a g   t o   s e t   t h e   s c h e d u l i n g   p r i o r i t y   o f   t h e   k u b e l e t   p r o c e s s :   - - w i n d o w s - p r i o r i t y c l a s s .   T h i s   f l a g   a l l o w s   t h e   k u b e l e t   p r o c e s s   t o   g e t   m o r e   C P U   t i m e   s l i c e s   w h e n   c o m p a r e d   t o   o t h e r   p r o c e s s e s   r u n n i n g   o n   t h e   W i n d o w s   h o s t .   M o r e   i n f o r m a t i o n   o n   t h e   a l l o w a b l e   v a l u e s   a n d   t h e i r   m e a n i n g   i s   a v a i l a b l e   a t   W i n d o w s   P r i o r i t y   C l a s s e s .   T o   e n s u r e   t h a t   r u n n i n g   P o d s   d o   n o t   s t a r v e   t h e   k u b e l e t   o f   C P U   c y c l e s ,   s e t   t h i s   f l a g   t o   A B O V E _ N O R M A L _ P R I O R I T Y _ C L A S S   o r   a b o v e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_4023"
  },
  {
    "question": "What is Resource reservation?",
    "answer": "T o   a c c o u n t   f o r   m e m o r y   a n d   C P U   u s e d   b y   t h e   o p e r a t i n g   s y s t e m ,   t h e   c o n t a i n e r   r u n t i m e ,   a n d   b y   K u b e r n e t e s   h o s t   p r o c e s s e s   s u c h   a s   t h e   k u b e l e t ,   y o u   c a n   ( a n d   s h o u l d )   r e s e r v e   m e m o r y   a n d   C P U   r e s o u r c e s   w i t h   t h e   - - k u b e - r e s e r v e d   a n d / o r   - - s y s t e m - r e s e r v e d   k u b e l e t   f l a g s .   O n   W i n d o w s   t h e s e   v a l u e s   a r e   o n l y   u s e d   t o   c a l c u l a t e   t h e   n o d e ' s   a l l o c a t a b l e   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_2_4024"
  },
  {
    "question": "What is Caution:?",
    "answer": "A s   y o u   d e p l o y   w o r k l o a d s ,   s e t   r e s o u r c e   m e m o r y   a n d   C P U   l i m i t s   o n   c o n t a i n e r s .   T h i s   a l s o   s u b t r a c t s   f r o m   N o d e A l l o c a t a b l e   a n d   h e l p s   t h e   c l u s t e r - w i d e   s c h e d u l e r   i n   d e t e r m i n i n g   w h i c h   p o d s   t o   p l a c e   o n   w h i c h   n o d e s .   S c h e d u l i n g   p o d s   w i t h o u t   l i m i t s   m a y   o v e r - p r o v i s i o n   t h e   W i n d o w s   n o d e s   a n d   i n   e x t r e m e   c a s e s   c a n   c a u s e   t h e   n o d e s   t o   b e c o m e   u n h e a l t h y .   O n   W i n d o w s ,   a   g o o d   p r a c t i c e   i s   t o   r e s e r v e   a t   l e a s t   2 G i B   o f   m e m o r y .   T o   d e t e r m i n e   h o w   m u c h   C P U   t o   r e s e r v e ,   i d e n t i f y   t h e   m a x i m u m   p o d   d e n s i t y   f o r   e a c h   n o d e   a n d   m o n i t o r   t h e   C P U   u s a g e   o f   t h e   s y s t e m   s e r v i c e s   r u n n i n g   t h e r e ,   t h e n   c h o o s e   a   v a l u e   t h a t   m e e t s   y o u r   w o r k l o a d   n e e d s .   ©   2 0 2 5   T h e   K u b e r n e t e s   A u t h o r s   |   D o c u m e n t a t i o n   D i s t r i b u t e d   u n d e r   C C   B Y   4 . 0   ©   2 0 2 5   T h e   L i n u x   F o u n d a t i o n   ® .   A l l   r i g h t s   r e s e r v e d .   T h e   L i n u x   F o u n d a t i o n   h a s   r e g i s t e r e d   t r a d e m a r k s   a n d   u s e s   t r a d e m a r k s .   F o r   a   l i s t   o f   t r a d e m a r k s   o f   T h e   L i n u x   F o u n d a t i o n ,   p l e a s e   s e e   o u r   T r a d e m a r k   U s a g e   p a g e   I C P   l i c e n s e :   京 I C P 备 1 7 0 7 4 2 6 6 号 - 3",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/_print/",
    "id": "k8s_00221_section_4_4025"
  },
  {
    "question": "What is kubectl for Docker Users?",
    "answer": "kubectl for Docker UsersYou can use the Kubernetes command line tool kubectl to interact with the API Server. Using kubectl is straightforward if you are familiar with the Docker command line tool. However, there are a few differences between the Docker commands and the kubectl commands. The following sections show a Docker sub-command and describe the equivalent kubectl command.docker runTo run an nginx Deployment and expose the Deployment, see kubectl create deployment.docker:docker run -d --restart=always -e DOMAIN=cluster --name nginx-app -p 80:80 nginx 55c103fa129692154a7652490236fee9be47d70a8dd562281ae7d2f9a339a6db docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 55c103fa1296 nginx \"nginx -g 'daemon of…\" 9 seconds ago Up 9 seconds 0.0.0.0:80->80/tcp nginx-app kubectl:# start the pod running nginx kubectl create deployment --image=nginx nginx-app deployment.apps/nginx-app created # add env to nginx-app kubectl set env deployment/nginx-app DOMAIN=cluster deployment.apps/nginx-app env updated Note:kubectl commands print the type and name of the resource created or mutated, which can then be used in subsequent commands. You can expose a new Service after a Deployment is created.# expose a port through with a service kubectl expose deployment nginx-app --port=80 --name=nginx-http service \"nginx-http\" exposed By using kubectl, you can create a Deployment to ensure that N pods are running nginx, where N is the number of replicas stated in the spec and defaults to 1. You can also create a service with a selector that matches the pod labels. For more information, see Use a Service to Access an Application in a Cluster.By default images run in the background, similar to docker run -d .... To run things in the foreground, use kubectl run to create pod:kubectl run [-i] [--tty] --attach <name> --image=<image> Unlike docker run ..., if you specify --attach, then you attach stdin, stdout and stderr. You cannot control which streams are attached (docker -a ...). To detach from the container, you can type the escape sequence Ctrl+P followed by Ctrl+Q.docker psTo list what is currently running, see kubectl get.docker:docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 14636241935f ubuntu:16.04 \"echo test\" 5 seconds ago Exited (0) 5 seconds ago cocky_fermi 55c103fa1296 nginx \"nginx -g 'daemon of…\" About a minute ago Up About a minute 0.0.0.0:80->80/tcp nginx-app kubectl:kubectl get po NAME READY STATUS RESTARTS AGE nginx-app-8df569cb7-4gd89 1/1 Running 0 3m ubuntu 0/1 Completed 0 20s docker attachTo attach a process that is already running in a container, see kubectl attach.docker:docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 55c103fa1296 nginx \"nginx -g 'daemon of…\" 5 minutes ago Up 5 minutes 0.0.0.0:80->80/tcp nginx-app docker attach 55c103fa1296 ... kubectl:kubectl get pods NAME READY STATUS RESTARTS AGE nginx-app-5jyvm 1/1 Running 0 10m kubectl attach -it nginx-app-5jyvm ... To detach from the container, you",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/docker-cli-to-kubectl/",
    "id": "k8s_00222_qa_4026"
  },
  {
    "question": "How does kubectl for Docker Users work?",
    "answer": "kubectl for Docker UsersYou can use the Kubernetes command line tool kubectl to interact with the API Server. Using kubectl is straightforward if you are familiar with the Docker command line tool. However, there are a few differences between the Docker commands and the kubectl commands. The following sections show a Docker sub-command and describe the equivalent kubectl command.docker runTo run an nginx Deployment and expose the Deployment, see kubectl create deployment.docker:docker run -d --restart=always -e DOMAIN=cluster --name nginx-app -p 80:80 nginx 55c103fa129692154a7652490236fee9be47d70a8dd562281ae7d2f9a339a6db docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 55c103fa1296 nginx \"nginx -g 'daemon of…\" 9 seconds ago Up 9 seconds 0.0.0.0:80->80/tcp nginx-app kubectl:# start the pod running nginx kubectl create deployment --image=nginx nginx-app deployment.apps/nginx-app created # add env to nginx-app kubectl set env deployment/nginx-app DOMAIN=cluster deployment.apps/nginx-app env updated Note:kubectl commands print the type and name of the resource created or mutated, which can then be used in subsequent commands. You can expose a new Service after a Deployment is created.# expose a port through with a service kubectl expose deployment nginx-app --port=80 --name=nginx-http service \"nginx-http\" exposed By using kubectl, you can create a Deployment to ensure that N pods are running nginx, where N is the number of replicas stated in the spec and defaults to 1. You can also create a service with a selector that matches the pod labels. For more information, see Use a Service to Access an Application in a Cluster.By default images run in the background, similar to docker run -d .... To run things in the foreground, use kubectl run to create pod:kubectl run [-i] [--tty] --attach <name> --image=<image> Unlike docker run ..., if you specify --attach, then you attach stdin, stdout and stderr. You cannot control which streams are attached (docker -a ...). To detach from the container, you can type the escape sequence Ctrl+P followed by Ctrl+Q.docker psTo list what is currently running, see kubectl get.docker:docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 14636241935f ubuntu:16.04 \"echo test\" 5 seconds ago Exited (0) 5 seconds ago cocky_fermi 55c103fa1296 nginx \"nginx -g 'daemon of…\" About a minute ago Up About a minute 0.0.0.0:80->80/tcp nginx-app kubectl:kubectl get po NAME READY STATUS RESTARTS AGE nginx-app-8df569cb7-4gd89 1/1 Running 0 3m ubuntu 0/1 Completed 0 20s docker attachTo attach a process that is already running in a container, see kubectl attach.docker:docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 55c103fa1296 nginx \"nginx -g 'daemon of…\" 5 minutes ago Up 5 minutes 0.0.0.0:80->80/tcp nginx-app docker attach 55c103fa1296 ... kubectl:kubectl get pods NAME READY STATUS RESTARTS AGE nginx-app-5jyvm 1/1 Running 0 10m kubectl attach -it nginx-app-5jyvm ... To detach from the container, you",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/docker-cli-to-kubectl/",
    "id": "k8s_00222_qa_4027"
  },
  {
    "question": "When would you use kubectl for Docker Users?",
    "answer": "kubectl for Docker UsersYou can use the Kubernetes command line tool kubectl to interact with the API Server. Using kubectl is straightforward if you are familiar with the Docker command line tool. However, there are a few differences between the Docker commands and the kubectl commands. The following sections show a Docker sub-command and describe the equivalent kubectl command.docker runTo run an nginx Deployment and expose the Deployment, see kubectl create deployment.docker:docker run -d --restart=always -e DOMAIN=cluster --name nginx-app -p 80:80 nginx 55c103fa129692154a7652490236fee9be47d70a8dd562281ae7d2f9a339a6db docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 55c103fa1296 nginx \"nginx -g 'daemon of…\" 9 seconds ago Up 9 seconds 0.0.0.0:80->80/tcp nginx-app kubectl:# start the pod running nginx kubectl create deployment --image=nginx nginx-app deployment.apps/nginx-app created # add env to nginx-app kubectl set env deployment/nginx-app DOMAIN=cluster deployment.apps/nginx-app env updated Note:kubectl commands print the type and name of the resource created or mutated, which can then be used in subsequent commands. You can expose a new Service after a Deployment is created.# expose a port through with a service kubectl expose deployment nginx-app --port=80 --name=nginx-http service \"nginx-http\" exposed By using kubectl, you can create a Deployment to ensure that N pods are running nginx, where N is the number of replicas stated in the spec and defaults to 1. You can also create a service with a selector that matches the pod labels. For more information, see Use a Service to Access an Application in a Cluster.By default images run in the background, similar to docker run -d .... To run things in the foreground, use kubectl run to create pod:kubectl run [-i] [--tty] --attach <name> --image=<image> Unlike docker run ..., if you specify --attach, then you attach stdin, stdout and stderr. You cannot control which streams are attached (docker -a ...). To detach from the container, you can type the escape sequence Ctrl+P followed by Ctrl+Q.docker psTo list what is currently running, see kubectl get.docker:docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 14636241935f ubuntu:16.04 \"echo test\" 5 seconds ago Exited (0) 5 seconds ago cocky_fermi 55c103fa1296 nginx \"nginx -g 'daemon of…\" About a minute ago Up About a minute 0.0.0.0:80->80/tcp nginx-app kubectl:kubectl get po NAME READY STATUS RESTARTS AGE nginx-app-8df569cb7-4gd89 1/1 Running 0 3m ubuntu 0/1 Completed 0 20s docker attachTo attach a process that is already running in a container, see kubectl attach.docker:docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 55c103fa1296 nginx \"nginx -g 'daemon of…\" 5 minutes ago Up 5 minutes 0.0.0.0:80->80/tcp nginx-app docker attach 55c103fa1296 ... kubectl:kubectl get pods NAME READY STATUS RESTARTS AGE nginx-app-5jyvm 1/1 Running 0 10m kubectl attach -it nginx-app-5jyvm ... To detach from the container, you",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/docker-cli-to-kubectl/",
    "id": "k8s_00222_qa_4028"
  },
  {
    "question": "What are the benefits of kubectl for Docker Users?",
    "answer": "kubectl for Docker UsersYou can use the Kubernetes command line tool kubectl to interact with the API Server. Using kubectl is straightforward if you are familiar with the Docker command line tool. However, there are a few differences between the Docker commands and the kubectl commands. The following sections show a Docker sub-command and describe the equivalent kubectl command.docker runTo run an nginx Deployment and expose the Deployment, see kubectl create deployment.docker:docker run -d --restart=always -e DOMAIN=cluster --name nginx-app -p 80:80 nginx 55c103fa129692154a7652490236fee9be47d70a8dd562281ae7d2f9a339a6db docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 55c103fa1296 nginx \"nginx -g 'daemon of…\" 9 seconds ago Up 9 seconds 0.0.0.0:80->80/tcp nginx-app kubectl:# start the pod running nginx kubectl create deployment --image=nginx nginx-app deployment.apps/nginx-app created # add env to nginx-app kubectl set env deployment/nginx-app DOMAIN=cluster deployment.apps/nginx-app env updated Note:kubectl commands print the type and name of the resource created or mutated, which can then be used in subsequent commands. You can expose a new Service after a Deployment is created.# expose a port through with a service kubectl expose deployment nginx-app --port=80 --name=nginx-http service \"nginx-http\" exposed By using kubectl, you can create a Deployment to ensure that N pods are running nginx, where N is the number of replicas stated in the spec and defaults to 1. You can also create a service with a selector that matches the pod labels. For more information, see Use a Service to Access an Application in a Cluster.By default images run in the background, similar to docker run -d .... To run things in the foreground, use kubectl run to create pod:kubectl run [-i] [--tty] --attach <name> --image=<image> Unlike docker run ..., if you specify --attach, then you attach stdin, stdout and stderr. You cannot control which streams are attached (docker -a ...). To detach from the container, you can type the escape sequence Ctrl+P followed by Ctrl+Q.docker psTo list what is currently running, see kubectl get.docker:docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 14636241935f ubuntu:16.04 \"echo test\" 5 seconds ago Exited (0) 5 seconds ago cocky_fermi 55c103fa1296 nginx \"nginx -g 'daemon of…\" About a minute ago Up About a minute 0.0.0.0:80->80/tcp nginx-app kubectl:kubectl get po NAME READY STATUS RESTARTS AGE nginx-app-8df569cb7-4gd89 1/1 Running 0 3m ubuntu 0/1 Completed 0 20s docker attachTo attach a process that is already running in a container, see kubectl attach.docker:docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 55c103fa1296 nginx \"nginx -g 'daemon of…\" 5 minutes ago Up 5 minutes 0.0.0.0:80->80/tcp nginx-app docker attach 55c103fa1296 ... kubectl:kubectl get pods NAME READY STATUS RESTARTS AGE nginx-app-5jyvm 1/1 Running 0 10m kubectl attach -it nginx-app-5jyvm ... To detach from the container, you",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/docker-cli-to-kubectl/",
    "id": "k8s_00222_qa_4029"
  },
  {
    "question": "What is kubectl for Docker Users?",
    "answer": "Y o u   c a n   u s e   t h e   K u b e r n e t e s   c o m m a n d   l i n e   t o o l   k u b e c t l   t o   i n t e r a c t   w i t h   t h e   A P I   S e r v e r .   U s i n g   k u b e c t l   i s   s t r a i g h t f o r w a r d   i f   y o u   a r e   f a m i l i a r   w i t h   t h e   D o c k e r   c o m m a n d   l i n e   t o o l .   H o w e v e r ,   t h e r e   a r e   a   f e w   d i f f e r e n c e s   b e t w e e n   t h e   D o c k e r   c o m m a n d s   a n d   t h e   k u b e c t l   c o m m a n d s .   T h e   f o l l o w i n g   s e c t i o n s   s h o w   a   D o c k e r   s u b - c o m m a n d   a n d   d e s c r i b e   t h e   e q u i v a l e n t   k u b e c t l   c o m m a n d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/docker-cli-to-kubectl/",
    "id": "k8s_00222_section_1_4030"
  },
  {
    "question": "What is docker run?",
    "answer": "T o   r u n   a n   n g i n x   D e p l o y m e n t   a n d   e x p o s e   t h e   D e p l o y m e n t ,   s e e   k u b e c t l   c r e a t e   d e p l o y m e n t .   d o c k e r :   d o c k e r   r u n   - d   - - r e s t a r t = a l w a y s   - e   D O M A I N = c l u s t e r   - - n a m e   n g i n x - a p p   - p   8 0 : 8 0   n g i n x   5 5 c 1 0 3 f a 1 2 9 6 9 2 1 5 4 a 7 6 5 2 4 9 0 2 3 6 f e e 9 b e 4 7 d 7 0 a 8 d d 5 6 2 2 8 1 a e 7 d 2 f 9 a 3 3 9 a 6 d b   d o c k e r   p s   C O N T A I N E R   I D   I M A G E   C O M M A N D   C R E A T E D   S T A T U S   P O R T S   N A M E S   5 5 c 1 0 3 f a 1 2 9 6   n g i n x   \" n g i n x   - g   ' d a e m o n   o f … \"   9   s e c o n d s   a g o   U p   9   s e c o n d s   0 . 0 . 0 . 0 : 8 0 - > 8 0 / t c p   n g i n x - a p p   k u b e c t l :   #   s t a r t   t h e   p o d   r u n n i n g   n g i n x   k u b e c t l   c r e a t e   d e p l o y m e n t   - - i m a g e = n g i n x   n g i n x - a p p   d e p l o y m e n t . a p p s / n g i n x - a p p   c r e a t e d   #   a d d   e n v   t o   n g i n x - a p p   k u b e c t l   s e t   e n v   d e p l o y m e n t / n g i n x - a p p   D O M A I N = c l u s t e r   d e p l o y m e n t . a p p s / n g i n x - a p p   e n v   u p d a t e d",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/docker-cli-to-kubectl/",
    "id": "k8s_00222_section_2_4031"
  },
  {
    "question": "What is Note:?",
    "answer": "#   e x p o s e   a   p o r t   t h r o u g h   w i t h   a   s e r v i c e   k u b e c t l   e x p o s e   d e p l o y m e n t   n g i n x - a p p   - - p o r t = 8 0   - - n a m e = n g i n x - h t t p   s e r v i c e   \" n g i n x - h t t p \"   e x p o s e d   B y   u s i n g   k u b e c t l ,   y o u   c a n   c r e a t e   a   D e p l o y m e n t   t o   e n s u r e   t h a t   N   p o d s   a r e   r u n n i n g   n g i n x ,   w h e r e   N   i s   t h e   n u m b e r   o f   r e p l i c a s   s t a t e d   i n   t h e   s p e c   a n d   d e f a u l t s   t o   1 .   Y o u   c a n   a l s o   c r e a t e   a   s e r v i c e   w i t h   a   s e l e c t o r   t h a t   m a t c h e s   t h e   p o d   l a b e l s .   F o r   m o r e   i n f o r m a t i o n ,   s e e   U s e   a   S e r v i c e   t o   A c c e s s   a n   A p p l i c a t i o n   i n   a   C l u s t e r .   B y   d e f a u l t   i m a g e s   r u n   i n   t h e   b a c k g r o u n d ,   s i m i l a r   t o   d o c k e r   r u n   - d   . . . .   T o   r u n   t h i n g s   i n   t h e   f o r e g r o u n d ,   u s e   k u b e c t l   r u n   t o   c r e a t e   p o d :   k u b e c t l   r u n   [ - i ]   [ - - t t y ]   - - a t t a c h   < n a m e >   - - i m a g e = < i m a g e >   U n l i k e   d o c k e r   r u n   . . . ,   i f   y o u   s p e c i f y   - - a t t a c h ,   t h e n   y o u   a t t a c h   s t d i n ,   s t d o u t   a n d   s t d e r r .   Y o u   c a n n o t   c o n t r o l   w h i c h   s t r e a m s   a r e   a t t a c h e d   ( d o c k e r   - a   . . . ) .   T o   d e t a c h   f r o m   t h e   c o n t a i n e r ,   y o u   c a n   t y p e   t h e   e s c a p e   s e q u e n c e   C t r l + P   f o l l o w e d   b y   C t r l + Q .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/docker-cli-to-kubectl/",
    "id": "k8s_00222_section_4_4032"
  },
  {
    "question": "What is docker ps?",
    "answer": "T o   l i s t   w h a t   i s   c u r r e n t l y   r u n n i n g ,   s e e   k u b e c t l   g e t .   d o c k e r :   d o c k e r   p s   - a   C O N T A I N E R   I D   I M A G E   C O M M A N D   C R E A T E D   S T A T U S   P O R T S   N A M E S   1 4 6 3 6 2 4 1 9 3 5 f   u b u n t u : 1 6 . 0 4   \" e c h o   t e s t \"   5   s e c o n d s   a g o   E x i t e d   ( 0 )   5   s e c o n d s   a g o   c o c k y _ f e r m i   5 5 c 1 0 3 f a 1 2 9 6   n g i n x   \" n g i n x   - g   ' d a e m o n   o f … \"   A b o u t   a   m i n u t e   a g o   U p   A b o u t   a   m i n u t e   0 . 0 . 0 . 0 : 8 0 - > 8 0 / t c p   n g i n x - a p p   k u b e c t l :   k u b e c t l   g e t   p o   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   n g i n x - a p p - 8 d f 5 6 9 c b 7 - 4 g d 8 9   1 / 1   R u n n i n g   0   3 m   u b u n t u   0 / 1   C o m p l e t e d   0   2 0 s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/docker-cli-to-kubectl/",
    "id": "k8s_00222_section_2_4033"
  },
  {
    "question": "What is docker attach?",
    "answer": "T o   a t t a c h   a   p r o c e s s   t h a t   i s   a l r e a d y   r u n n i n g   i n   a   c o n t a i n e r ,   s e e   k u b e c t l   a t t a c h .   d o c k e r :   d o c k e r   p s   C O N T A I N E R   I D   I M A G E   C O M M A N D   C R E A T E D   S T A T U S   P O R T S   N A M E S   5 5 c 1 0 3 f a 1 2 9 6   n g i n x   \" n g i n x   - g   ' d a e m o n   o f … \"   5   m i n u t e s   a g o   U p   5   m i n u t e s   0 . 0 . 0 . 0 : 8 0 - > 8 0 / t c p   n g i n x - a p p   d o c k e r   a t t a c h   5 5 c 1 0 3 f a 1 2 9 6   . . .   k u b e c t l :   k u b e c t l   g e t   p o d s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   n g i n x - a p p - 5 j y v m   1 / 1   R u n n i n g   0   1 0 m   k u b e c t l   a t t a c h   - i t   n g i n x - a p p - 5 j y v m   . . .   T o   d e t a c h   f r o m   t h e   c o n t a i n e r ,   y o u   c a n   t y p e   t h e   e s c a p e   s e q u e n c e   C t r l + P   f o l l o w e d   b y   C t r l + Q .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/docker-cli-to-kubectl/",
    "id": "k8s_00222_section_2_4034"
  },
  {
    "question": "What is docker exec?",
    "answer": "T o   e x e c u t e   a   c o m m a n d   i n   a   c o n t a i n e r ,   s e e   k u b e c t l   e x e c .   d o c k e r :   d o c k e r   p s   C O N T A I N E R   I D   I M A G E   C O M M A N D   C R E A T E D   S T A T U S   P O R T S   N A M E S   5 5 c 1 0 3 f a 1 2 9 6   n g i n x   \" n g i n x   - g   ' d a e m o n   o f … \"   6   m i n u t e s   a g o   U p   6   m i n u t e s   0 . 0 . 0 . 0 : 8 0 - > 8 0 / t c p   n g i n x - a p p   d o c k e r   e x e c   5 5 c 1 0 3 f a 1 2 9 6   c a t   / e t c / h o s t n a m e   5 5 c 1 0 3 f a 1 2 9 6   k u b e c t l :   k u b e c t l   g e t   p o   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   n g i n x - a p p - 5 j y v m   1 / 1   R u n n i n g   0   1 0 m   k u b e c t l   e x e c   n g i n x - a p p - 5 j y v m   - -   c a t   / e t c / h o s t n a m e   n g i n x - a p p - 5 j y v m   T o   u s e   i n t e r a c t i v e   c o m m a n d s .   d o c k e r :   d o c k e r   e x e c   - t i   5 5 c 1 0 3 f a 1 2 9 6   / b i n / s h   #   e x i t   k u b e c t l :   k u b e c t l   e x e c   - t i   n g i n x - a p p - 5 j y v m   - -   / b i n / s h   #   e x i t   F o r   m o r e   i n f o r m a t i o n ,   s e e   G e t   a   S h e l l   t o   a   R u n n i n g   C o n t a i n e r .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/docker-cli-to-kubectl/",
    "id": "k8s_00222_section_2_4035"
  },
  {
    "question": "What is docker logs?",
    "answer": "T o   f o l l o w   s t d o u t / s t d e r r   o f   a   p r o c e s s   t h a t   i s   r u n n i n g ,   s e e   k u b e c t l   l o g s .   d o c k e r :   d o c k e r   l o g s   - f   a 9 e   1 9 2 . 1 6 8 . 9 . 1   -   -   [ 1 4 / J u l / 2 0 1 5 : 0 1 : 0 4 : 0 2   + 0 0 0 0 ]   \" G E T   /   H T T P / 1 . 1 \"   2 0 0   6 1 2   \" - \"   \" c u r l / 7 . 3 5 . 0 \"   \" - \"   1 9 2 . 1 6 8 . 9 . 1   -   -   [ 1 4 / J u l / 2 0 1 5 : 0 1 : 0 4 : 0 3   + 0 0 0 0 ]   \" G E T   /   H T T P / 1 . 1 \"   2 0 0   6 1 2   \" - \"   \" c u r l / 7 . 3 5 . 0 \"   \" - \"   k u b e c t l :   k u b e c t l   l o g s   - f   n g i n x - a p p - z i b v s   1 0 . 2 4 0 . 6 3 . 1 1 0   -   -   [ 1 4 / J u l / 2 0 1 5 : 0 1 : 0 9 : 0 1   + 0 0 0 0 ]   \" G E T   /   H T T P / 1 . 1 \"   2 0 0   6 1 2   \" - \"   \" c u r l / 7 . 2 6 . 0 \"   \" - \"   1 0 . 2 4 0 . 6 3 . 1 1 0   -   -   [ 1 4 / J u l / 2 0 1 5 : 0 1 : 0 9 : 0 2   + 0 0 0 0 ]   \" G E T   /   H T T P / 1 . 1 \"   2 0 0   6 1 2   \" - \"   \" c u r l / 7 . 2 6 . 0 \"   \" - \"   T h e r e   i s   a   s l i g h t   d i f f e r e n c e   b e t w e e n   p o d s   a n d   c o n t a i n e r s ;   b y   d e f a u l t   p o d s   d o   n o t   t e r m i n a t e   i f   t h e i r   p r o c e s s e s   e x i t .   I n s t e a d   t h e   p o d s   r e s t a r t   t h e   p r o c e s s .   T h i s   i s   s i m i l a r   t o   t h e   d o c k e r   r u n   o p t i o n   - - r e s t a r t = a l w a y s   w i t h   o n e   m a j o r   d i f f e r e n c e .   I n   d o c k e r ,   t h e   o u t p u t   f o r   e a c h   i n v o c a t i o n   o f   t h e   p r o c e s s   i s   c o n c a t e n a t e d ,   b u t   f o r   K u b e r n e t e s ,   e a c h   i n v o c a t i o n   i s   s e p a r a t e .   T o   s e e   t h e   o u t p u t   f r o m   a   p r e v i o u s   r u n   i n   K u b e r n e t e s ,   d o   t h i s :   k u b e c t l   l o g s   - - p r e v i o u s   n g i n x - a p p - z i b v s   1 0 . 2 4 0 . 6 3 . 1 1 0   -   -   [ 1 4 / J u ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/docker-cli-to-kubectl/",
    "id": "k8s_00222_section_2_4036"
  },
  {
    "question": "What is docker stop and docker rm?",
    "answer": "T o   s t o p   a n d   d e l e t e   a   r u n n i n g   p r o c e s s ,   s e e   k u b e c t l   d e l e t e .   d o c k e r :   d o c k e r   p s   C O N T A I N E R   I D   I M A G E   C O M M A N D   C R E A T E D   S T A T U S   P O R T S   N A M E S   a 9 e c 3 4 d 9 8 7 8 7   n g i n x   \" n g i n x   - g   ' d a e m o n   o f \"   2 2   h o u r s   a g o   U p   2 2   h o u r s   0 . 0 . 0 . 0 : 8 0 - > 8 0 / t c p ,   4 4 3 / t c p   n g i n x - a p p   d o c k e r   s t o p   a 9 e c 3 4 d 9 8 7 8 7   a 9 e c 3 4 d 9 8 7 8 7   d o c k e r   r m   a 9 e c 3 4 d 9 8 7 8 7   a 9 e c 3 4 d 9 8 7 8 7   k u b e c t l :   k u b e c t l   g e t   d e p l o y m e n t   n g i n x - a p p   N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   n g i n x - a p p   1 / 1   1   1   2 m   k u b e c t l   g e t   p o   - l   a p p = n g i n x - a p p   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   n g i n x - a p p - 2 8 8 3 1 6 4 6 3 3 - a k l f 7   1 / 1   R u n n i n g   0   2 m   k u b e c t l   d e l e t e   d e p l o y m e n t   n g i n x - a p p   d e p l o y m e n t   \" n g i n x - a p p \"   d e l e t e d   k u b e c t l   g e t   p o   - l   a p p = n g i n x - a p p   #   R e t u r n   n o t h i n g",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/docker-cli-to-kubectl/",
    "id": "k8s_00222_section_2_4037"
  },
  {
    "question": "What is docker login?",
    "answer": "T h e r e   i s   n o   d i r e c t   a n a l o g   o f   d o c k e r   l o g i n   i n   k u b e c t l .   I f   y o u   a r e   i n t e r e s t e d   i n   u s i n g   K u b e r n e t e s   w i t h   a   p r i v a t e   r e g i s t r y ,   s e e   U s i n g   a   P r i v a t e   R e g i s t r y .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/docker-cli-to-kubectl/",
    "id": "k8s_00222_section_2_4038"
  },
  {
    "question": "What is docker version?",
    "answer": "T o   g e t   t h e   v e r s i o n   o f   c l i e n t   a n d   s e r v e r ,   s e e   k u b e c t l   v e r s i o n .   d o c k e r :   d o c k e r   v e r s i o n   C l i e n t   v e r s i o n :   1 . 7 . 0   C l i e n t   A P I   v e r s i o n :   1 . 1 9   G o   v e r s i o n   ( c l i e n t ) :   g o 1 . 4 . 2   G i t   c o m m i t   ( c l i e n t ) :   0 b a f 6 0 9   O S / A r c h   ( c l i e n t ) :   l i n u x / a m d 6 4   S e r v e r   v e r s i o n :   1 . 7 . 0   S e r v e r   A P I   v e r s i o n :   1 . 1 9   G o   v e r s i o n   ( s e r v e r ) :   g o 1 . 4 . 2   G i t   c o m m i t   ( s e r v e r ) :   0 b a f 6 0 9   O S / A r c h   ( s e r v e r ) :   l i n u x / a m d 6 4   k u b e c t l :   k u b e c t l   v e r s i o n   C l i e n t   V e r s i o n :   v e r s i o n . I n f o { M a j o r : \" 1 \" ,   M i n o r : \" 6 \" ,   G i t V e r s i o n : \" v 1 . 6 . 9 + a 3 d 1 d f a 6 f 4 3 3 5 \" ,   G i t C o m m i t : \" 9 b 7 7 f e d 1 1 a 9 8 4 3 c e 3 7 8 0 f 7 0 d d 2 5 1 e 9 2 9 0 1 c 4 3 0 7 2 \" ,   G i t T r e e S t a t e : \" d i r t y \" ,   B u i l d D a t e : \" 2 0 1 7 - 0 8 - 2 9 T 2 0 : 3 2 : 5 8 Z \" ,   O p e n P a a s K u b e r n e t e s V e r s i o n : \" v 1 . 0 3 . 0 2 \" ,   G o V e r s i o n : \" g o 1 . 7 . 5 \" ,   C o m p i l e r : \" g c \" ,   P l a t f o r m : \" l i n u x / a m d 6 4 \" }   S e r v e r   V e r s i o n :   v e r s i o n . I n f o { M a j o r : \" 1 \" ,   M i n o r : \" 6 \" ,   G i t V e r s i o n : \" v 1 . 6 . 9 + a 3 d 1 d f a 6 f 4 3 3 5 \" ,   G i t C o m m i t : \" 9 b 7 7 f e d 1 1 a 9 8 4 3 c e 3 7 8 0 f 7 0 d d 2 5 1 e 9 2 9 0 1 c 4 3 0 7 2 \" ,   G i t T r e e S t a t e : \" d i r t y \" ,   B u i l d D a t e : \" 2 0 1 7 - 0 8 - 2 9 T 2 0 : 3 2 : 5 8 Z \" ,   O p e n P a a s K u b e r n e t e s V e r s i o n : \" v 1 . 0 3 . 0 2 \" ,   G o V e r s i o n : \" g o 1 . 7 . 5 \" ,   C o m p i l e r : \" g c \" ,   P l a t f o r m : \" l i n u x / a m d 6 4 \" }",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/docker-cli-to-kubectl/",
    "id": "k8s_00222_section_2_4039"
  },
  {
    "question": "What is docker info?",
    "answer": "T o   g e t   m i s c e l l a n e o u s   i n f o r m a t i o n   a b o u t   t h e   e n v i r o n m e n t   a n d   c o n f i g u r a t i o n ,   s e e   k u b e c t l   c l u s t e r - i n f o .   d o c k e r :   d o c k e r   i n f o   C o n t a i n e r s :   4 0   I m a g e s :   1 6 8   S t o r a g e   D r i v e r :   a u f s   R o o t   D i r :   / u s r / l o c a l / g o o g l e / d o c k e r / a u f s   B a c k i n g   F i l e s y s t e m :   e x t f s   D i r s :   2 4 8   D i r p e r m 1   S u p p o r t e d :   f a l s e   E x e c u t i o n   D r i v e r :   n a t i v e - 0 . 2   L o g g i n g   D r i v e r :   j s o n - f i l e   K e r n e l   V e r s i o n :   3 . 1 3 . 0 - 5 3 - g e n e r i c   O p e r a t i n g   S y s t e m :   U b u n t u   1 4 . 0 4 . 2   L T S   C P U s :   1 2   T o t a l   M e m o r y :   3 1 . 3 2   G i B   N a m e :   k 8 s - i s - f u n . m t v . c o r p . g o o g l e . c o m   I D :   A D U V : G C Y R : B 3 V J : H M P O : L N P Q : K D 5 S : Y K F Q : 7 6 V N : I A N Z : 7 T F V : Z B F 4 : B Y J O   W A R N I N G :   N o   s w a p   l i m i t   s u p p o r t   k u b e c t l :   k u b e c t l   c l u s t e r - i n f o   K u b e r n e t e s   m a s t e r   i s   r u n n i n g   a t   h t t p s : / / 2 0 3 . 0 . 1 1 3 . 1 4 1   K u b e D N S   i s   r u n n i n g   a t   h t t p s : / / 2 0 3 . 0 . 1 1 3 . 1 4 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / k u b e - d n s / p r o x y   k u b e r n e t e s - d a s h b o a r d   i s   r u n n i n g   a t   h t t p s : / / 2 0 3 . 0 . 1 1 3 . 1 4 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / k u b e r n e t e s - d a s h b o a r d / p r o x y   G r a f a n a   i s   r u n n i n g   a t   h t t p s : / / 2 0 3 . 0 . 1 1 3 . 1 4 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / m o n i t o r i n g - g r a f a n a / p r o x y   H e a p s t e r   i s   r u n n i n g   a t   h t t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/docker-cli-to-kubectl/",
    "id": "k8s_00222_section_2_4040"
  },
  {
    "question": "What is ValidatingAdmissionPolicyBinding?",
    "answer": "ValidatingAdmissionPolicyBindingValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources.apiVersion: admissionregistration.k8s.io/v1import \"k8s.io/api/admissionregistration/v1\"ValidatingAdmissionPolicyBindingValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.apiVersion: admissionregistration.k8s.io/v1kind: ValidatingAdmissionPolicyBindingmetadata (ObjectMeta)Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.spec (ValidatingAdmissionPolicyBindingSpec)Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.spec.matchResources (MatchResources)MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)spec.matchResources.excludeResourceRules ([]NamedRuleWithOperations)Atomic: will be replaced during a mergeExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.spec.matchResources.excludeResourceRules.apiGroups ([]string)Atomic: will be replaced during a mergeAPIGroups is the API groups the resources belong to. '' is all groups. If '' is present, the length of the slice must be one. Required.spec.matchResources.excludeResourceRules.apiVersions ([]string)Atomic: will b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_qa_4041"
  },
  {
    "question": "How does ValidatingAdmissionPolicyBinding work?",
    "answer": "ValidatingAdmissionPolicyBindingValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources.apiVersion: admissionregistration.k8s.io/v1import \"k8s.io/api/admissionregistration/v1\"ValidatingAdmissionPolicyBindingValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.apiVersion: admissionregistration.k8s.io/v1kind: ValidatingAdmissionPolicyBindingmetadata (ObjectMeta)Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.spec (ValidatingAdmissionPolicyBindingSpec)Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.spec.matchResources (MatchResources)MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)spec.matchResources.excludeResourceRules ([]NamedRuleWithOperations)Atomic: will be replaced during a mergeExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.spec.matchResources.excludeResourceRules.apiGroups ([]string)Atomic: will be replaced during a mergeAPIGroups is the API groups the resources belong to. '' is all groups. If '' is present, the length of the slice must be one. Required.spec.matchResources.excludeResourceRules.apiVersions ([]string)Atomic: will b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_qa_4042"
  },
  {
    "question": "When would you use ValidatingAdmissionPolicyBinding?",
    "answer": "ValidatingAdmissionPolicyBindingValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources.apiVersion: admissionregistration.k8s.io/v1import \"k8s.io/api/admissionregistration/v1\"ValidatingAdmissionPolicyBindingValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.apiVersion: admissionregistration.k8s.io/v1kind: ValidatingAdmissionPolicyBindingmetadata (ObjectMeta)Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.spec (ValidatingAdmissionPolicyBindingSpec)Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.spec.matchResources (MatchResources)MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)spec.matchResources.excludeResourceRules ([]NamedRuleWithOperations)Atomic: will be replaced during a mergeExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.spec.matchResources.excludeResourceRules.apiGroups ([]string)Atomic: will be replaced during a mergeAPIGroups is the API groups the resources belong to. '' is all groups. If '' is present, the length of the slice must be one. Required.spec.matchResources.excludeResourceRules.apiVersions ([]string)Atomic: will b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_qa_4043"
  },
  {
    "question": "What are the benefits of ValidatingAdmissionPolicyBinding?",
    "answer": "ValidatingAdmissionPolicyBindingValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources.apiVersion: admissionregistration.k8s.io/v1import \"k8s.io/api/admissionregistration/v1\"ValidatingAdmissionPolicyBindingValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.apiVersion: admissionregistration.k8s.io/v1kind: ValidatingAdmissionPolicyBindingmetadata (ObjectMeta)Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.spec (ValidatingAdmissionPolicyBindingSpec)Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.spec.matchResources (MatchResources)MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)spec.matchResources.excludeResourceRules ([]NamedRuleWithOperations)Atomic: will be replaced during a mergeExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.spec.matchResources.excludeResourceRules.apiGroups ([]string)Atomic: will be replaced during a mergeAPIGroups is the API groups the resources belong to. '' is all groups. If '' is present, the length of the slice must be one. Required.spec.matchResources.excludeResourceRules.apiVersions ([]string)Atomic: will b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_qa_4044"
  },
  {
    "question": "What is ValidatingAdmissionPolicyBinding?",
    "answer": "a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a d m i s s i o n r e g i s t r a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_section_1_4045"
  },
  {
    "question": "What is ValidatingAdmissionPolicyBinding?",
    "answer": "V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   b i n d s   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   w i t h   p a r a m e r i z e d   r e s o u r c e s .   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   a n d   p a r a m e t e r   C R D s   t o g e t h e r   d e f i n e   h o w   c l u s t e r   a d m i n i s t r a t o r s   c o n f i g u r e   p o l i c i e s   f o r   c l u s t e r s .   F o r   a   g i v e n   a d m i s s i o n   r e q u e s t ,   e a c h   b i n d i n g   w i l l   c a u s e   i t s   p o l i c y   t o   b e   e v a l u a t e d   N   t i m e s ,   w h e r e   N   i s   1   f o r   p o l i c i e s / b i n d i n g s   t h a t   d o n ' t   u s e   p a r a m s ,   o t h e r w i s e   N   i s   t h e   n u m b e r   o f   p a r a m e t e r s   s e l e c t e d   b y   t h e   b i n d i n g .   T h e   C E L   e x p r e s s i o n s   o f   a   p o l i c y   m u s t   h a v e   a   c o m p u t e d   C E L   c o s t   b e l o w   t h e   m a x i m u m   C E L   b u d g e t .   E a c h   e v a l u a t i o n   o f   t h e   p o l i c y   i s   g i v e n   a n   i n d e p e n d e n t   C E L   c o s t   b u d g e t .   A d d i n g / r e m o v i n g   p o l i c i e s ,   b i n d i n g s ,   o r   p a r a m s   c a n   n o t   a f f e c t   w h e t h e r   a   g i v e n   ( p o l i c y ,   b i n d i n g ,   p a r a m )   c o m b i n a t i o n   i s   w i t h i n   i t s   o w n   C E L   b u d g e t .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a . s p e c   ( V a l i d a t i n g A d m i s s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_section_2_4046"
  },
  {
    "question": "What is ValidatingAdmissionPolicy?",
    "answer": "V a l i d a t i n g A d m i s s i o n P o l i c y   d e s c r i b e s   t h e   d e f i n i t i o n   o f   a n   a d m i s s i o n   v a l i d a t i o n   p o l i c y   t h a t   a c c e p t s   o r   r e j e c t s   a n   o b j e c t   w i t h o u t   c h a n g i n g   i t .   a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a . s p e c   ( V a l i d a t i n g A d m i s s i o n P o l i c y S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   V a l i d a t i n g A d m i s s i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_section_2_4047"
  },
  {
    "question": "What is ValidatingAdmissionPolicyBindingList?",
    "answer": "V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g L i s t   i s   a   l i s t   o f   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g .   i t e m s   ( [ ] V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) ,   r e q u i r e d L i s t   o f   P o l i c y B i n d i n g . a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) ,   r e q u i r e d   L i s t   o f   P o l i c y B i n d i n g .   a p i V e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_section_2_4048"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_section_4_4049"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_section_4_4050"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_section_4_4051"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_section_4_4052"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_section_4_4053"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_section_4_4054"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_section_4_4055"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_section_4_4056"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   O K   2 0 1   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   C r e a t e d   2 0 2   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_section_4_4057"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_section_4_4058"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_section_4_4059"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   O K   2 0 1   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_section_4_4060"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_section_4_4061"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_section_4_4062"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   O K   2 0 1   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_section_4_4063"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_section_4_4064"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_section_4_4065"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_section_4_4066"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_section_4_4067"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_section_4_4068"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-binding-v1/",
    "id": "k8s_00223_section_4_4069"
  },
  {
    "question": "What is Security?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.SecurityConcepts for keeping your cloud-native workload secure.1: Cloud Native Security and Kubernetes2: Pod Security Standards3: Pod Security Admission4: Service Accounts5: Pod Security Policies6: Security For Linux Nodes7: Security For Windows Nodes8: Controlling Access to the Kubernetes API9: Role Based Access Control Good Practices10: Good practices for Kubernetes Secrets11: Multi-tenancy12: Hardening Guide - Authentication Mechanisms13: Hardening Guide - Scheduler Configuration14: Kubernetes API Server Bypass Risks15: Linux kernel security constraints for Pods and containers16: Security Checklist17: Application Security ChecklistThis section of the Kubernetes documentation aims to help you learn to run workloads more securely, and about the essential aspects of keeping a Kubernetes cluster secure.Kubernetes is based on a cloud-native architecture, and draws on advice from the CNCF about good practice for cloud native information security.Read Cloud Native Security and Kubernetes for the broader context about how to secure your cluster and the applications that you're running on it.Kubernetes security mechanismsKubernetes includes several APIs and security controls, as well as ways to define policies that can form part of how you manage information security.Control plane protectionA key security mechanism for any Kubernetes cluster is to control access to the Kubernetes API.Kubernetes expects you to configure and use TLS to provide data encryption in transit within the control plane, and between the control plane and its clients. You can also enable encryption at rest for the data stored within Kubernetes control plane; this is separate from using encryption at rest for your own workloads' data, which might also be a good idea.SecretsThe Secret API provides basic protection for configuration values that require confidentiality.Workload protectionEnforce Pod security standards to ensure that Pods and their containers are isolated appropriately. You can also use RuntimeClasses to define custom isolation if you need it.Network policies let you control network traffic between Pods, or between Pods and the network outside your cluster.You can deploy security controls from the wider ecosystem to implement preventative or detective controls around Pods, their containers, and the images that run in them.Admission controlAdmission controllers are plugins that intercept Kubernetes API requests and can validate or mutate the requests based on specific fields in the request. Thoughtfully designing these controllers helps to avoid unintended disruptions as Kubernetes APIs change across version updates. For design considerations, see Admission Webhook Good Practices.AuditingKubernetes audit logging provides a security-relevant, chronological set of records documenting the sequence of actions in a cluster. The cluster audits the activities gene",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_qa_4070"
  },
  {
    "question": "How does Security work?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.SecurityConcepts for keeping your cloud-native workload secure.1: Cloud Native Security and Kubernetes2: Pod Security Standards3: Pod Security Admission4: Service Accounts5: Pod Security Policies6: Security For Linux Nodes7: Security For Windows Nodes8: Controlling Access to the Kubernetes API9: Role Based Access Control Good Practices10: Good practices for Kubernetes Secrets11: Multi-tenancy12: Hardening Guide - Authentication Mechanisms13: Hardening Guide - Scheduler Configuration14: Kubernetes API Server Bypass Risks15: Linux kernel security constraints for Pods and containers16: Security Checklist17: Application Security ChecklistThis section of the Kubernetes documentation aims to help you learn to run workloads more securely, and about the essential aspects of keeping a Kubernetes cluster secure.Kubernetes is based on a cloud-native architecture, and draws on advice from the CNCF about good practice for cloud native information security.Read Cloud Native Security and Kubernetes for the broader context about how to secure your cluster and the applications that you're running on it.Kubernetes security mechanismsKubernetes includes several APIs and security controls, as well as ways to define policies that can form part of how you manage information security.Control plane protectionA key security mechanism for any Kubernetes cluster is to control access to the Kubernetes API.Kubernetes expects you to configure and use TLS to provide data encryption in transit within the control plane, and between the control plane and its clients. You can also enable encryption at rest for the data stored within Kubernetes control plane; this is separate from using encryption at rest for your own workloads' data, which might also be a good idea.SecretsThe Secret API provides basic protection for configuration values that require confidentiality.Workload protectionEnforce Pod security standards to ensure that Pods and their containers are isolated appropriately. You can also use RuntimeClasses to define custom isolation if you need it.Network policies let you control network traffic between Pods, or between Pods and the network outside your cluster.You can deploy security controls from the wider ecosystem to implement preventative or detective controls around Pods, their containers, and the images that run in them.Admission controlAdmission controllers are plugins that intercept Kubernetes API requests and can validate or mutate the requests based on specific fields in the request. Thoughtfully designing these controllers helps to avoid unintended disruptions as Kubernetes APIs change across version updates. For design considerations, see Admission Webhook Good Practices.AuditingKubernetes audit logging provides a security-relevant, chronological set of records documenting the sequence of actions in a cluster. The cluster audits the activities gene",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_qa_4071"
  },
  {
    "question": "When would you use Security?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.SecurityConcepts for keeping your cloud-native workload secure.1: Cloud Native Security and Kubernetes2: Pod Security Standards3: Pod Security Admission4: Service Accounts5: Pod Security Policies6: Security For Linux Nodes7: Security For Windows Nodes8: Controlling Access to the Kubernetes API9: Role Based Access Control Good Practices10: Good practices for Kubernetes Secrets11: Multi-tenancy12: Hardening Guide - Authentication Mechanisms13: Hardening Guide - Scheduler Configuration14: Kubernetes API Server Bypass Risks15: Linux kernel security constraints for Pods and containers16: Security Checklist17: Application Security ChecklistThis section of the Kubernetes documentation aims to help you learn to run workloads more securely, and about the essential aspects of keeping a Kubernetes cluster secure.Kubernetes is based on a cloud-native architecture, and draws on advice from the CNCF about good practice for cloud native information security.Read Cloud Native Security and Kubernetes for the broader context about how to secure your cluster and the applications that you're running on it.Kubernetes security mechanismsKubernetes includes several APIs and security controls, as well as ways to define policies that can form part of how you manage information security.Control plane protectionA key security mechanism for any Kubernetes cluster is to control access to the Kubernetes API.Kubernetes expects you to configure and use TLS to provide data encryption in transit within the control plane, and between the control plane and its clients. You can also enable encryption at rest for the data stored within Kubernetes control plane; this is separate from using encryption at rest for your own workloads' data, which might also be a good idea.SecretsThe Secret API provides basic protection for configuration values that require confidentiality.Workload protectionEnforce Pod security standards to ensure that Pods and their containers are isolated appropriately. You can also use RuntimeClasses to define custom isolation if you need it.Network policies let you control network traffic between Pods, or between Pods and the network outside your cluster.You can deploy security controls from the wider ecosystem to implement preventative or detective controls around Pods, their containers, and the images that run in them.Admission controlAdmission controllers are plugins that intercept Kubernetes API requests and can validate or mutate the requests based on specific fields in the request. Thoughtfully designing these controllers helps to avoid unintended disruptions as Kubernetes APIs change across version updates. For design considerations, see Admission Webhook Good Practices.AuditingKubernetes audit logging provides a security-relevant, chronological set of records documenting the sequence of actions in a cluster. The cluster audits the activities gene",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_qa_4072"
  },
  {
    "question": "What are the benefits of Security?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.SecurityConcepts for keeping your cloud-native workload secure.1: Cloud Native Security and Kubernetes2: Pod Security Standards3: Pod Security Admission4: Service Accounts5: Pod Security Policies6: Security For Linux Nodes7: Security For Windows Nodes8: Controlling Access to the Kubernetes API9: Role Based Access Control Good Practices10: Good practices for Kubernetes Secrets11: Multi-tenancy12: Hardening Guide - Authentication Mechanisms13: Hardening Guide - Scheduler Configuration14: Kubernetes API Server Bypass Risks15: Linux kernel security constraints for Pods and containers16: Security Checklist17: Application Security ChecklistThis section of the Kubernetes documentation aims to help you learn to run workloads more securely, and about the essential aspects of keeping a Kubernetes cluster secure.Kubernetes is based on a cloud-native architecture, and draws on advice from the CNCF about good practice for cloud native information security.Read Cloud Native Security and Kubernetes for the broader context about how to secure your cluster and the applications that you're running on it.Kubernetes security mechanismsKubernetes includes several APIs and security controls, as well as ways to define policies that can form part of how you manage information security.Control plane protectionA key security mechanism for any Kubernetes cluster is to control access to the Kubernetes API.Kubernetes expects you to configure and use TLS to provide data encryption in transit within the control plane, and between the control plane and its clients. You can also enable encryption at rest for the data stored within Kubernetes control plane; this is separate from using encryption at rest for your own workloads' data, which might also be a good idea.SecretsThe Secret API provides basic protection for configuration values that require confidentiality.Workload protectionEnforce Pod security standards to ensure that Pods and their containers are isolated appropriately. You can also use RuntimeClasses to define custom isolation if you need it.Network policies let you control network traffic between Pods, or between Pods and the network outside your cluster.You can deploy security controls from the wider ecosystem to implement preventative or detective controls around Pods, their containers, and the images that run in them.Admission controlAdmission controllers are plugins that intercept Kubernetes API requests and can validate or mutate the requests based on specific fields in the request. Thoughtfully designing these controllers helps to avoid unintended disruptions as Kubernetes APIs change across version updates. For design considerations, see Admission Webhook Good Practices.AuditingKubernetes audit logging provides a security-relevant, chronological set of records documenting the sequence of actions in a cluster. The cluster audits the activities gene",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_qa_4073"
  },
  {
    "question": "What is Security?",
    "answer": "1 :   C l o u d   N a t i v e   S e c u r i t y   a n d   K u b e r n e t e s 2 :   P o d   S e c u r i t y   S t a n d a r d s 3 :   P o d   S e c u r i t y   A d m i s s i o n 4 :   S e r v i c e   A c c o u n t s 5 :   P o d   S e c u r i t y   P o l i c i e s 6 :   S e c u r i t y   F o r   L i n u x   N o d e s 7 :   S e c u r i t y   F o r   W i n d o w s   N o d e s 8 :   C o n t r o l l i n g   A c c e s s   t o   t h e   K u b e r n e t e s   A P I 9 :   R o l e   B a s e d   A c c e s s   C o n t r o l   G o o d   P r a c t i c e s 1 0 :   G o o d   p r a c t i c e s   f o r   K u b e r n e t e s   S e c r e t s 1 1 :   M u l t i - t e n a n c y 1 2 :   H a r d e n i n g   G u i d e   -   A u t h e n t i c a t i o n   M e c h a n i s m s 1 3 :   H a r d e n i n g   G u i d e   -   S c h e d u l e r   C o n f i g u r a t i o n 1 4 :   K u b e r n e t e s   A P I   S e r v e r   B y p a s s   R i s k s 1 5 :   L i n u x   k e r n e l   s e c u r i t y   c o n s t r a i n t s   f o r   P o d s   a n d   c o n t a i n e r s 1 6 :   S e c u r i t y   C h e c k l i s t 1 7 :   A p p l i c a t i o n   S e c u r i t y   C h e c k l i s t   T h i s   s e c t i o n   o f   t h e   K u b e r n e t e s   d o c u m e n t a t i o n   a i m s   t o   h e l p   y o u   l e a r n   t o   r u n   w o r k l o a d s   m o r e   s e c u r e l y ,   a n d   a b o u t   t h e   e s s e n t i a l   a s p e c t s   o f   k e e p i n g   a   K u b e r n e t e s   c l u s t e r   s e c u r e .   K u b e r n e t e s   i s   b a s e d   o n   a   c l o u d - n a t i v e   a r c h i t e c t u r e ,   a n d   d r a w s   o n   a d v i c e   f r o m   t h e   C N C F   a b o u t   g o o d   p r a c t i c e   f o r   c l o u d   n a t i v e   i n f o r m a t i o n   s e c u r i t y .   R e a d   C l o u d   N a t i v e   S e c u r i t y   a n d   K u b e r n e t e s   f o r   t h e   b r o a d e r   c o n t e x t   a b o u t   h o w   t o   s e c u r e   y o u r   c l u s t e r   a n d   ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_1_4074"
  },
  {
    "question": "What is Kubernetes security mechanisms?",
    "answer": "K u b e r n e t e s   i n c l u d e s   s e v e r a l   A P I s   a n d   s e c u r i t y   c o n t r o l s ,   a s   w e l l   a s   w a y s   t o   d e f i n e   p o l i c i e s   t h a t   c a n   f o r m   p a r t   o f   h o w   y o u   m a n a g e   i n f o r m a t i o n   s e c u r i t y .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4075"
  },
  {
    "question": "What is Control plane protection?",
    "answer": "A   k e y   s e c u r i t y   m e c h a n i s m   f o r   a n y   K u b e r n e t e s   c l u s t e r   i s   t o   c o n t r o l   a c c e s s   t o   t h e   K u b e r n e t e s   A P I .   K u b e r n e t e s   e x p e c t s   y o u   t o   c o n f i g u r e   a n d   u s e   T L S   t o   p r o v i d e   d a t a   e n c r y p t i o n   i n   t r a n s i t   w i t h i n   t h e   c o n t r o l   p l a n e ,   a n d   b e t w e e n   t h e   c o n t r o l   p l a n e   a n d   i t s   c l i e n t s .   Y o u   c a n   a l s o   e n a b l e   e n c r y p t i o n   a t   r e s t   f o r   t h e   d a t a   s t o r e d   w i t h i n   K u b e r n e t e s   c o n t r o l   p l a n e ;   t h i s   i s   s e p a r a t e   f r o m   u s i n g   e n c r y p t i o n   a t   r e s t   f o r   y o u r   o w n   w o r k l o a d s '   d a t a ,   w h i c h   m i g h t   a l s o   b e   a   g o o d   i d e a .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4076"
  },
  {
    "question": "What is Secrets?",
    "answer": "T h e   S e c r e t   A P I   p r o v i d e s   b a s i c   p r o t e c t i o n   f o r   c o n f i g u r a t i o n   v a l u e s   t h a t   r e q u i r e   c o n f i d e n t i a l i t y .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4077"
  },
  {
    "question": "What is Workload protection?",
    "answer": "E n f o r c e   P o d   s e c u r i t y   s t a n d a r d s   t o   e n s u r e   t h a t   P o d s   a n d   t h e i r   c o n t a i n e r s   a r e   i s o l a t e d   a p p r o p r i a t e l y .   Y o u   c a n   a l s o   u s e   R u n t i m e C l a s s e s   t o   d e f i n e   c u s t o m   i s o l a t i o n   i f   y o u   n e e d   i t .   N e t w o r k   p o l i c i e s   l e t   y o u   c o n t r o l   n e t w o r k   t r a f f i c   b e t w e e n   P o d s ,   o r   b e t w e e n   P o d s   a n d   t h e   n e t w o r k   o u t s i d e   y o u r   c l u s t e r .   Y o u   c a n   d e p l o y   s e c u r i t y   c o n t r o l s   f r o m   t h e   w i d e r   e c o s y s t e m   t o   i m p l e m e n t   p r e v e n t a t i v e   o r   d e t e c t i v e   c o n t r o l s   a r o u n d   P o d s ,   t h e i r   c o n t a i n e r s ,   a n d   t h e   i m a g e s   t h a t   r u n   i n   t h e m .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4078"
  },
  {
    "question": "What is Admission control?",
    "answer": "A d m i s s i o n   c o n t r o l l e r s   a r e   p l u g i n s   t h a t   i n t e r c e p t   K u b e r n e t e s   A P I   r e q u e s t s   a n d   c a n   v a l i d a t e   o r   m u t a t e   t h e   r e q u e s t s   b a s e d   o n   s p e c i f i c   f i e l d s   i n   t h e   r e q u e s t .   T h o u g h t f u l l y   d e s i g n i n g   t h e s e   c o n t r o l l e r s   h e l p s   t o   a v o i d   u n i n t e n d e d   d i s r u p t i o n s   a s   K u b e r n e t e s   A P I s   c h a n g e   a c r o s s   v e r s i o n   u p d a t e s .   F o r   d e s i g n   c o n s i d e r a t i o n s ,   s e e   A d m i s s i o n   W e b h o o k   G o o d   P r a c t i c e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4079"
  },
  {
    "question": "What is Auditing?",
    "answer": "K u b e r n e t e s   a u d i t   l o g g i n g   p r o v i d e s   a   s e c u r i t y - r e l e v a n t ,   c h r o n o l o g i c a l   s e t   o f   r e c o r d s   d o c u m e n t i n g   t h e   s e q u e n c e   o f   a c t i o n s   i n   a   c l u s t e r .   T h e   c l u s t e r   a u d i t s   t h e   a c t i v i t i e s   g e n e r a t e d   b y   u s e r s ,   b y   a p p l i c a t i o n s   t h a t   u s e   t h e   K u b e r n e t e s   A P I ,   a n d   b y   t h e   c o n t r o l   p l a n e   i t s e l f .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4080"
  },
  {
    "question": "What is Cloud provider security?",
    "answer": "I f   y o u   a r e   r u n n i n g   a   K u b e r n e t e s   c l u s t e r   o n   y o u r   o w n   h a r d w a r e   o r   a   d i f f e r e n t   c l o u d   p r o v i d e r ,   c o n s u l t   y o u r   d o c u m e n t a t i o n   f o r   s e c u r i t y   b e s t   p r a c t i c e s .   H e r e   a r e   l i n k s   t o   s o m e   o f   t h e   p o p u l a r   c l o u d   p r o v i d e r s '   s e c u r i t y   d o c u m e n t a t i o n :",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4081"
  },
  {
    "question": "What is Policies?",
    "answer": "Y o u   c a n   d e f i n e   s e c u r i t y   p o l i c i e s   u s i n g   K u b e r n e t e s - n a t i v e   m e c h a n i s m s ,   s u c h   a s   N e t w o r k P o l i c y   ( d e c l a r a t i v e   c o n t r o l   o v e r   n e t w o r k   p a c k e t   f i l t e r i n g )   o r   V a l i d a t i n g A d m i s s i o n P o l i c y   ( d e c l a r a t i v e   r e s t r i c t i o n s   o n   w h a t   c h a n g e s   s o m e o n e   c a n   m a k e   u s i n g   t h e   K u b e r n e t e s   A P I ) .   H o w e v e r ,   y o u   c a n   a l s o   r e l y   o n   p o l i c y   i m p l e m e n t a t i o n s   f r o m   t h e   w i d e r   e c o s y s t e m   a r o u n d   K u b e r n e t e s .   K u b e r n e t e s   p r o v i d e s   e x t e n s i o n   m e c h a n i s m s   t o   l e t   t h o s e   e c o s y s t e m   p r o j e c t s   i m p l e m e n t   t h e i r   o w n   p o l i c y   c o n t r o l s   o n   s o u r c e   c o d e   r e v i e w ,   c o n t a i n e r   i m a g e   a p p r o v a l ,   A P I   a c c e s s   c o n t r o l s ,   n e t w o r k i n g ,   a n d   m o r e .   F o r   m o r e   i n f o r m a t i o n   a b o u t   p o l i c y   m e c h a n i s m s   a n d   K u b e r n e t e s ,   r e a d   P o l i c i e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4082"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   r e l a t e d   K u b e r n e t e s   s e c u r i t y   t o p i c s :   S e c u r i n g   y o u r   c l u s t e r K n o w n   v u l n e r a b i l i t i e s   i n   K u b e r n e t e s   ( a n d   l i n k s   t o   f u r t h e r   i n f o r m a t i o n ) D a t a   e n c r y p t i o n   i n   t r a n s i t   f o r   t h e   c o n t r o l   p l a n e D a t a   e n c r y p t i o n   a t   r e s t C o n t r o l l i n g   A c c e s s   t o   t h e   K u b e r n e t e s   A P I N e t w o r k   p o l i c i e s   f o r   P o d s S e c r e t s   i n   K u b e r n e t e s P o d   s e c u r i t y   s t a n d a r d s R u n t i m e C l a s s e s   L e a r n   t h e   c o n t e x t :   C l o u d   N a t i v e   S e c u r i t y   a n d   K u b e r n e t e s   G e t   c e r t i f i e d :   C e r t i f i e d   K u b e r n e t e s   S e c u r i t y   S p e c i a l i s t   c e r t i f i c a t i o n   a n d   o f f i c i a l   t r a i n i n g   c o u r s e .   R e a d   m o r e   i n   t h i s   s e c t i o n :",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4083"
  },
  {
    "question": "What is 1 - Cloud Native Security and Kubernetes?",
    "answer": "K u b e r n e t e s   i s   b a s e d   o n   a   c l o u d - n a t i v e   a r c h i t e c t u r e ,   a n d   d r a w s   o n   a d v i c e   f r o m   t h e   C N C F   a b o u t   g o o d   p r a c t i c e   f o r   c l o u d   n a t i v e   i n f o r m a t i o n   s e c u r i t y .   R e a d   o n   t h r o u g h   t h i s   p a g e   f o r   a n   o v e r v i e w   o f   h o w   K u b e r n e t e s   i s   d e s i g n e d   t o   h e l p   y o u   d e p l o y   a   s e c u r e   c l o u d   n a t i v e   p l a t f o r m .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_1_4084"
  },
  {
    "question": "What is Cloud native information security?",
    "answer": "T h e   C N C F   w h i t e   p a p e r   o n   c l o u d   n a t i v e   s e c u r i t y   d e f i n e s   s e c u r i t y   c o n t r o l s   a n d   p r a c t i c e s   t h a t   a r e   a p p r o p r i a t e   t o   d i f f e r e n t   l i f e c y c l e   p h a s e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4085"
  },
  {
    "question": "What is Develop lifecycle phase?",
    "answer": "E n s u r e   t h e   i n t e g r i t y   o f   d e v e l o p m e n t   e n v i r o n m e n t s . D e s i g n   a p p l i c a t i o n s   f o l l o w i n g   g o o d   p r a c t i c e   f o r   i n f o r m a t i o n   s e c u r i t y ,   a p p r o p r i a t e   f o r   y o u r   c o n t e x t . C o n s i d e r   e n d   u s e r   s e c u r i t y   a s   p a r t   o f   s o l u t i o n   d e s i g n .   T o   a c h i e v e   t h i s ,   y o u   c a n :   A d o p t   a n   a r c h i t e c t u r e ,   s u c h   a s   z e r o   t r u s t ,   t h a t   m i n i m i z e s   a t t a c k   s u r f a c e s ,   e v e n   f o r   i n t e r n a l   t h r e a t s . D e f i n e   a   c o d e   r e v i e w   p r o c e s s   t h a t   c o n s i d e r s   s e c u r i t y   c o n c e r n s . B u i l d   a   t h r e a t   m o d e l   o f   y o u r   s y s t e m   o r   a p p l i c a t i o n   t h a t   i d e n t i f i e s   t r u s t   b o u n d a r i e s .   U s e   t h a t   t o   m o d e l   t o   i d e n t i f y   r i s k s   a n d   t o   h e l p   f i n d   w a y s   t o   t r e a t   t h o s e   r i s k s . I n c o r p o r a t e   a d v a n c e d   s e c u r i t y   a u t o m a t i o n ,   s u c h   a s   f u z z i n g   a n d   s e c u r i t y   c h a o s   e n g i n e e r i n g ,   w h e r e   i t ' s   j u s t i f i e d .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4086"
  },
  {
    "question": "What is Distribute lifecycle phase?",
    "answer": "E n s u r e   t h e   s e c u r i t y   o f   t h e   s u p p l y   c h a i n   f o r   c o n t a i n e r   i m a g e s   y o u   e x e c u t e . E n s u r e   t h e   s e c u r i t y   o f   t h e   s u p p l y   c h a i n   f o r   t h e   c l u s t e r   a n d   o t h e r   c o m p o n e n t s   t h a t   e x e c u t e   y o u r   a p p l i c a t i o n .   A n   e x a m p l e   o f   a n o t h e r   c o m p o n e n t   m i g h t   b e   a n   e x t e r n a l   d a t a b a s e   t h a t   y o u r   c l o u d - n a t i v e   a p p l i c a t i o n   u s e s   f o r   p e r s i s t e n c e .   T o   a c h i e v e   t h i s ,   y o u   c a n :   S c a n   c o n t a i n e r   i m a g e s   a n d   o t h e r   a r t i f a c t s   f o r   k n o w n   v u l n e r a b i l i t i e s . E n s u r e   t h a t   s o f t w a r e   d i s t r i b u t i o n   u s e s   e n c r y p t i o n   i n   t r a n s i t ,   w i t h   a   c h a i n   o f   t r u s t   f o r   t h e   s o f t w a r e   s o u r c e . A d o p t   a n d   f o l l o w   p r o c e s s e s   t o   u p d a t e   d e p e n d e n c i e s   w h e n   u p d a t e s   a r e   a v a i l a b l e ,   e s p e c i a l l y   i n   r e s p o n s e   t o   s e c u r i t y   a n n o u n c e m e n t s . U s e   v a l i d a t i o n   m e c h a n i s m s   s u c h   a s   d i g i t a l   c e r t i f i c a t e s   f o r   s u p p l y   c h a i n   a s s u r a n c e . S u b s c r i b e   t o   f e e d s   a n d   o t h e r   m e c h a n i s m s   t o   a l e r t   y o u   t o   s e c u r i t y   r i s k s . R e s t r i c t   a c c e s s   t o   a r t i f a c t s .   P l a c e   c o n t a i n e r   i m a g e s   i n   a   p r i v a t e   r e g i s t r y   t h a t   o n l y   a l l o w s   a u t h o r i z e d   c l i e n t s   t o   p u l l   i m a g e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4087"
  },
  {
    "question": "What is Deploy lifecycle phase?",
    "answer": "E n s u r e   a p p r o p r i a t e   r e s t r i c t i o n s   o n   w h a t   c a n   b e   d e p l o y e d ,   w h o   c a n   d e p l o y   i t ,   a n d   w h e r e   i t   c a n   b e   d e p l o y e d   t o .   Y o u   c a n   e n f o r c e   m e a s u r e s   f r o m   t h e   d i s t r i b u t e   p h a s e ,   s u c h   a s   v e r i f y i n g   t h e   c r y p t o g r a p h i c   i d e n t i t y   o f   c o n t a i n e r   i m a g e   a r t i f a c t s .   Y o u   c a n   d e p l o y   d i f f e r e n t   a p p l i c a t i o n s   a n d   c l u s t e r   c o m p o n e n t s   i n t o   d i f f e r e n t   n a m e s p a c e s .   C o n t a i n e r s   t h e m s e l v e s ,   a n d   n a m e s p a c e s ,   b o t h   p r o v i d e   i s o l a t i o n   m e c h a n i s m s   t h a t   a r e   r e l e v a n t   t o   i n f o r m a t i o n   s e c u r i t y .   W h e n   y o u   d e p l o y   K u b e r n e t e s ,   y o u   a l s o   s e t   t h e   f o u n d a t i o n   f o r   y o u r   a p p l i c a t i o n s '   r u n t i m e   e n v i r o n m e n t :   a   K u b e r n e t e s   c l u s t e r   ( o r   m u l t i p l e   c l u s t e r s ) .   T h a t   I T   i n f r a s t r u c t u r e   m u s t   p r o v i d e   t h e   s e c u r i t y   g u a r a n t e e s   t h a t   h i g h e r   l a y e r s   e x p e c t .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4088"
  },
  {
    "question": "What is Runtime lifecycle phase?",
    "answer": "T h e   R u n t i m e   p h a s e   c o m p r i s e s   t h r e e   c r i t i c a l   a r e a s :   a c c e s s ,   c o m p u t e ,   a n d   s t o r a g e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4089"
  },
  {
    "question": "What is Runtime protection: access?",
    "answer": "T h e   K u b e r n e t e s   A P I   i s   w h a t   m a k e s   y o u r   c l u s t e r   w o r k .   P r o t e c t i n g   t h i s   A P I   i s   k e y   t o   p r o v i d i n g   e f f e c t i v e   c l u s t e r   s e c u r i t y .   O t h e r   p a g e s   i n   t h e   K u b e r n e t e s   d o c u m e n t a t i o n   h a v e   m o r e   d e t a i l   a b o u t   h o w   t o   s e t   u p   s p e c i f i c   a s p e c t s   o f   a c c e s s   c o n t r o l .   T h e   s e c u r i t y   c h e c k l i s t   h a s   a   s e t   o f   s u g g e s t e d   b a s i c   c h e c k s   f o r   y o u r   c l u s t e r .   B e y o n d   t h a t ,   s e c u r i n g   y o u r   c l u s t e r   m e a n s   i m p l e m e n t i n g   e f f e c t i v e   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n   f o r   A P I   a c c e s s .   U s e   S e r v i c e A c c o u n t s   t o   p r o v i d e   a n d   m a n a g e   s e c u r i t y   i d e n t i t i e s   f o r   w o r k l o a d s   a n d   c l u s t e r   c o m p o n e n t s .   K u b e r n e t e s   u s e s   T L S   t o   p r o t e c t   A P I   t r a f f i c ;   m a k e   s u r e   t o   d e p l o y   t h e   c l u s t e r   u s i n g   T L S   ( i n c l u d i n g   f o r   t r a f f i c   b e t w e e n   n o d e s   a n d   t h e   c o n t r o l   p l a n e ) ,   a n d   p r o t e c t   t h e   e n c r y p t i o n   k e y s .   I f   y o u   u s e   K u b e r n e t e s '   o w n   A P I   f o r   C e r t i f i c a t e S i g n i n g R e q u e s t s ,   p a y   s p e c i a l   a t t e n t i o n   t o   r e s t r i c t i n g   m i s u s e   t h e r e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4090"
  },
  {
    "question": "What is Runtime protection: compute?",
    "answer": "C o n t a i n e r s   p r o v i d e   t w o   t h i n g s :   i s o l a t i o n   b e t w e e n   d i f f e r e n t   a p p l i c a t i o n s ,   a n d   a   m e c h a n i s m   t o   c o m b i n e   t h o s e   i s o l a t e d   a p p l i c a t i o n s   t o   r u n   o n   t h e   s a m e   h o s t   c o m p u t e r .   T h o s e   t w o   a s p e c t s ,   i s o l a t i o n   a n d   a g g r e g a t i o n ,   m e a n   t h a t   r u n t i m e   s e c u r i t y   i n v o l v e s   i d e n t i f y i n g   t r a d e - o f f s   a n d   f i n d i n g   a n   a p p r o p r i a t e   b a l a n c e .   K u b e r n e t e s   r e l i e s   o n   a   c o n t a i n e r   r u n t i m e   t o   a c t u a l l y   s e t   u p   a n d   r u n   c o n t a i n e r s .   T h e   K u b e r n e t e s   p r o j e c t   d o e s   n o t   r e c o m m e n d   a   s p e c i f i c   c o n t a i n e r   r u n t i m e   a n d   y o u   s h o u l d   m a k e   s u r e   t h a t   t h e   r u n t i m e ( s )   t h a t   y o u   c h o o s e   m e e t   y o u r   i n f o r m a t i o n   s e c u r i t y   n e e d s .   T o   p r o t e c t   y o u r   c o m p u t e   a t   r u n t i m e ,   y o u   c a n :   E n f o r c e   P o d   s e c u r i t y   s t a n d a r d s   f o r   a p p l i c a t i o n s ,   t o   h e l p   e n s u r e   t h e y   r u n   w i t h   o n l y   t h e   n e c e s s a r y   p r i v i l e g e s . R u n   a   s p e c i a l i z e d   o p e r a t i n g   s y s t e m   o n   y o u r   n o d e s   t h a t   i s   d e s i g n e d   s p e c i f i c a l l y   f o r   r u n n i n g   c o n t a i n e r i z e d   w o r k l o a d s .   T h i s   i s   t y p i c a l l y   b a s e d   o n   a   r e a d - o n l y   o p e r a t i n g   s y s t e m   ( i m m u t a b l e   i m a g e )   t h a t   p r o v i d e s   o n l y   t h e   s e r v i c e s   e s s e n t i a l   f o r   r u n n i n g   c o n t a i n e r s . C o n t a i n e r - s p e c i f i c   o p e r a t i n g   s y s t e m s   h e ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4091"
  },
  {
    "question": "What is Runtime protection: storage?",
    "answer": "T o   p r o t e c t   s t o r a g e   f o r   y o u r   c l u s t e r   a n d   t h e   a p p l i c a t i o n s   t h a t   r u n   t h e r e ,   y o u   c a n :   I n t e g r a t e   y o u r   c l u s t e r   w i t h   a n   e x t e r n a l   s t o r a g e   p l u g i n   t h a t   p r o v i d e s   e n c r y p t i o n   a t   r e s t   f o r   v o l u m e s . E n a b l e   e n c r y p t i o n   a t   r e s t   f o r   A P I   o b j e c t s . P r o t e c t   d a t a   d u r a b i l i t y   u s i n g   b a c k u p s .   V e r i f y   t h a t   y o u   c a n   r e s t o r e   t h e s e ,   w h e n e v e r   y o u   n e e d   t o . A u t h e n t i c a t e   c o n n e c t i o n s   b e t w e e n   c l u s t e r   n o d e s   a n d   a n y   n e t w o r k   s t o r a g e   t h e y   r e l y   u p o n . I m p l e m e n t   d a t a   e n c r y p t i o n   w i t h i n   y o u r   o w n   a p p l i c a t i o n .   F o r   e n c r y p t i o n   k e y s ,   g e n e r a t i n g   t h e s e   w i t h i n   s p e c i a l i z e d   h a r d w a r e   p r o v i d e s   t h e   b e s t   p r o t e c t i o n   a g a i n s t   d i s c l o s u r e   r i s k s .   A   h a r d w a r e   s e c u r i t y   m o d u l e   c a n   l e t   y o u   p e r f o r m   c r y p t o g r a p h i c   o p e r a t i o n s   w i t h o u t   a l l o w i n g   t h e   s e c u r i t y   k e y   t o   b e   c o p i e d   e l s e w h e r e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4092"
  },
  {
    "question": "What is Networking and security?",
    "answer": "Y o u   s h o u l d   a l s o   c o n s i d e r   n e t w o r k   s e c u r i t y   m e a s u r e s ,   s u c h   a s   N e t w o r k P o l i c y   o r   a   s e r v i c e   m e s h .   S o m e   n e t w o r k   p l u g i n s   f o r   K u b e r n e t e s   p r o v i d e   e n c r y p t i o n   f o r   y o u r   c l u s t e r   n e t w o r k ,   u s i n g   t e c h n o l o g i e s   s u c h   a s   a   v i r t u a l   p r i v a t e   n e t w o r k   ( V P N )   o v e r l a y .   B y   d e s i g n ,   K u b e r n e t e s   l e t s   y o u   u s e   y o u r   o w n   n e t w o r k i n g   p l u g i n   f o r   y o u r   c l u s t e r   ( i f   y o u   u s e   m a n a g e d   K u b e r n e t e s ,   t h e   p e r s o n   o r   o r g a n i z a t i o n   m a n a g i n g   y o u r   c l u s t e r   m a y   h a v e   c h o s e n   a   n e t w o r k   p l u g i n   f o r   y o u ) .   T h e   n e t w o r k   p l u g i n   y o u   c h o o s e   a n d   t h e   w a y   y o u   i n t e g r a t e   i t   c a n   h a v e   a   s t r o n g   i m p a c t   o n   t h e   s e c u r i t y   o f   i n f o r m a t i o n   i n   t r a n s i t .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4093"
  },
  {
    "question": "What is Observability and runtime security?",
    "answer": "K u b e r n e t e s   l e t s   y o u   e x t e n d   y o u r   c l u s t e r   w i t h   e x t r a   t o o l i n g .   Y o u   c a n   s e t   u p   t h i r d   p a r t y   s o l u t i o n s   t o   h e l p   y o u   m o n i t o r   o r   t r o u b l e s h o o t   y o u r   a p p l i c a t i o n s   a n d   t h e   c l u s t e r s   t h e y   a r e   r u n n i n g .   Y o u   a l s o   g e t   s o m e   b a s i c   o b s e r v a b i l i t y   f e a t u r e s   b u i l t   i n   t o   K u b e r n e t e s   i t s e l f .   Y o u r   c o d e   r u n n i n g   i n   c o n t a i n e r s   c a n   g e n e r a t e   l o g s ,   p u b l i s h   m e t r i c s   o r   p r o v i d e   o t h e r   o b s e r v a b i l i t y   d a t a ;   a t   d e p l o y   t i m e ,   y o u   n e e d   t o   m a k e   s u r e   y o u r   c l u s t e r   p r o v i d e s   a n   a p p r o p r i a t e   l e v e l   o f   p r o t e c t i o n   t h e r e .   I f   y o u   s e t   u p   a   m e t r i c s   d a s h b o a r d   o r   s o m e t h i n g   s i m i l a r ,   r e v i e w   t h e   c h a i n   o f   c o m p o n e n t s   t h a t   p o p u l a t e   d a t a   i n t o   t h a t   d a s h b o a r d ,   a s   w e l l   a s   t h e   d a s h b o a r d   i t s e l f .   M a k e   s u r e   t h a t   t h e   w h o l e   c h a i n   i s   d e s i g n e d   w i t h   e n o u g h   r e s i l i e n c e   a n d   e n o u g h   i n t e g r i t y   p r o t e c t i o n   t h a t   y o u   c a n   r e l y   o n   i t   e v e n   d u r i n g   a n   i n c i d e n t   w h e r e   y o u r   c l u s t e r   m i g h t   b e   d e g r a d e d .   W h e r e   a p p r o p r i a t e ,   d e p l o y   s e c u r i t y   m e a s u r e s   b e l o w   t h e   l e v e l   o f   K u b e r n e t e s   i t s e l f ,   s u c h   a s   c r y p t o g r a p h i c a l l y   m e a s u r e d   b o o t ,   o r   a u t h e n t i c a t e d   d i s t r i b u t i o n   o f   t i m e   ( w h i c h   h e l p s   e n s u r e   t h e   f ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4094"
  },
  {
    "question": "What is Cloud native security?",
    "answer": "C N C F   w h i t e   p a p e r   o n   c l o u d   n a t i v e   s e c u r i t y . C N C F   w h i t e   p a p e r   o n   g o o d   p r a c t i c e s   f o r   s e c u r i n g   a   s o f t w a r e   s u p p l y   c h a i n . F i x i n g   t h e   K u b e r n e t e s   c l u s t e r f * * k :   U n d e r s t a n d i n g   s e c u r i t y   f r o m   t h e   k e r n e l   u p   ( F O S D E M   2 0 2 0 ) K u b e r n e t e s   S e c u r i t y   B e s t   P r a c t i c e s   ( K u b e r n e t e s   F o r u m   S e o u l   2 0 1 9 ) T o w a r d s   M e a s u r e d   B o o t   O u t   o f   t h e   B o x   ( L i n u x   S e c u r i t y   S u m m i t   2 0 1 6 )",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4095"
  },
  {
    "question": "What is Kubernetes and information security?",
    "answer": "K u b e r n e t e s   s e c u r i t y S e c u r i n g   y o u r   c l u s t e r D a t a   e n c r y p t i o n   i n   t r a n s i t   f o r   t h e   c o n t r o l   p l a n e D a t a   e n c r y p t i o n   a t   r e s t S e c r e t s   i n   K u b e r n e t e s C o n t r o l l i n g   A c c e s s   t o   t h e   K u b e r n e t e s   A P I N e t w o r k   p o l i c i e s   f o r   P o d s P o d   s e c u r i t y   s t a n d a r d s R u n t i m e C l a s s e s",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4096"
  },
  {
    "question": "What is 2 - Pod Security Standards?",
    "answer": "T h e   P o d   S e c u r i t y   S t a n d a r d s   d e f i n e   t h r e e   d i f f e r e n t   p o l i c i e s   t o   b r o a d l y   c o v e r   t h e   s e c u r i t y   s p e c t r u m .   T h e s e   p o l i c i e s   a r e   c u m u l a t i v e   a n d   r a n g e   f r o m   h i g h l y - p e r m i s s i v e   t o   h i g h l y - r e s t r i c t i v e .   T h i s   g u i d e   o u t l i n e s   t h e   r e q u i r e m e n t s   o f   e a c h   p o l i c y .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_1_4097"
  },
  {
    "question": "What is Privileged?",
    "answer": "T h e   P r i v i l e g e d   p o l i c y   i s   p u r p o s e l y - o p e n ,   a n d   e n t i r e l y   u n r e s t r i c t e d .   T h i s   t y p e   o f   p o l i c y   i s   t y p i c a l l y   a i m e d   a t   s y s t e m -   a n d   i n f r a s t r u c t u r e - l e v e l   w o r k l o a d s   m a n a g e d   b y   p r i v i l e g e d ,   t r u s t e d   u s e r s .   T h e   P r i v i l e g e d   p o l i c y   i s   d e f i n e d   b y   a n   a b s e n c e   o f   r e s t r i c t i o n s .   I f   y o u   d e f i n e   a   P o d   w h e r e   t h e   P r i v i l e g e d   s e c u r i t y   p o l i c y   a p p l i e s ,   t h e   P o d   y o u   d e f i n e   i s   a b l e   t o   b y p a s s   t y p i c a l   c o n t a i n e r   i s o l a t i o n   m e c h a n i s m s .   F o r   e x a m p l e ,   y o u   c a n   d e f i n e   a   P o d   t h a t   h a s   a c c e s s   t o   t h e   n o d e ' s   h o s t   n e t w o r k .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4098"
  },
  {
    "question": "What is Baseline?",
    "answer": "T h e   B a s e l i n e   p o l i c y   i s   a i m e d   a t   e a s e   o f   a d o p t i o n   f o r   c o m m o n   c o n t a i n e r i z e d   w o r k l o a d s   w h i l e   p r e v e n t i n g   k n o w n   p r i v i l e g e   e s c a l a t i o n s .   T h i s   p o l i c y   i s   t a r g e t e d   a t   a p p l i c a t i o n   o p e r a t o r s   a n d   d e v e l o p e r s   o f   n o n - c r i t i c a l   a p p l i c a t i o n s .   T h e   f o l l o w i n g   l i s t e d   c o n t r o l s   s h o u l d   b e   e n f o r c e d / d i s a l l o w e d :",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4099"
  },
  {
    "question": "What is Note:?",
    "answer": "W i n d o w s   P o d s   o f f e r   t h e   a b i l i t y   t o   r u n   H o s t P r o c e s s   c o n t a i n e r s   w h i c h   e n a b l e s   p r i v i l e g e d   a c c e s s   t o   t h e   W i n d o w s   h o s t   m a c h i n e .   P r i v i l e g e d   a c c e s s   t o   t h e   h o s t   i s   d i s a l l o w e d   i n   t h e   B a s e l i n e   p o l i c y . F E A T U R E   S T A T E :   K u b e r n e t e s   v 1 . 2 6   [ s t a b l e ]   R e s t r i c t e d   F i e l d s   s p e c . s e c u r i t y C o n t e x t . w i n d o w s O p t i o n s . h o s t P r o c e s s s p e c . c o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . w i n d o w s O p t i o n s . h o s t P r o c e s s s p e c . i n i t C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . w i n d o w s O p t i o n s . h o s t P r o c e s s s p e c . e p h e m e r a l C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . w i n d o w s O p t i o n s . h o s t P r o c e s s   A l l o w e d   V a l u e s   U n d e f i n e d / n i l f a l s e   S h a r i n g   t h e   h o s t   n a m e s p a c e s   m u s t   b e   d i s a l l o w e d .   R e s t r i c t e d   F i e l d s   s p e c . h o s t N e t w o r k s p e c . h o s t P I D s p e c . h o s t I P C   A l l o w e d   V a l u e s   U n d e f i n e d / n i l f a l s e   P r i v i l e g e d   P o d s   d i s a b l e   m o s t   s e c u r i t y   m e c h a n i s m s   a n d   m u s t   b e   d i s a l l o w e d .   R e s t r i c t e d   F i e l d s   s p e c . c o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . p r i v i l e g e d s p e c . i n i t C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . p r i v i l e g e d s p e c . e p h e m e r a l C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . p r i v i l e g e d   A l l o w e d   V a l u e s   U n d e f i n e d / n i l f a l s e   A d d i n g   a d d i t i o n a l   c a p a b i l i t i e s   b e y o n d   t h o s e   l i s t e d   b e l o w   m u ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_4_4100"
  },
  {
    "question": "What is Restricted?",
    "answer": "T h e   R e s t r i c t e d   p o l i c y   i s   a i m e d   a t   e n f o r c i n g   c u r r e n t   P o d   h a r d e n i n g   b e s t   p r a c t i c e s ,   a t   t h e   e x p e n s e   o f   s o m e   c o m p a t i b i l i t y .   I t   i s   t a r g e t e d   a t   o p e r a t o r s   a n d   d e v e l o p e r s   o f   s e c u r i t y - c r i t i c a l   a p p l i c a t i o n s ,   a s   w e l l   a s   l o w e r - t r u s t   u s e r s .   T h e   f o l l o w i n g   l i s t e d   c o n t r o l s   s h o u l d   b e   e n f o r c e d / d i s a l l o w e d :",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4101"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   R e s t r i c t e d   p o l i c y   o n l y   p e r m i t s   t h e   f o l l o w i n g   v o l u m e   t y p e s .   R e s t r i c t e d   F i e l d s   s p e c . v o l u m e s [ * ]   A l l o w e d   V a l u e s   s p e c . v o l u m e s [ * ] . c o n f i g M a p s p e c . v o l u m e s [ * ] . c s i s p e c . v o l u m e s [ * ] . d o w n w a r d A P I s p e c . v o l u m e s [ * ] . e m p t y D i r s p e c . v o l u m e s [ * ] . e p h e m e r a l s p e c . v o l u m e s [ * ] . p e r s i s t e n t V o l u m e C l a i m s p e c . v o l u m e s [ * ] . p r o j e c t e d s p e c . v o l u m e s [ * ] . s e c r e t   P r i v i l e g e   e s c a l a t i o n   ( s u c h   a s   v i a   s e t - u s e r - I D   o r   s e t - g r o u p - I D   f i l e   m o d e )   s h o u l d   n o t   b e   a l l o w e d .   T h i s   i s   L i n u x   o n l y   p o l i c y   i n   v 1 . 2 5 +   ( s p e c . o s . n a m e   ! =   w i n d o w s )   R e s t r i c t e d   F i e l d s   s p e c . c o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . a l l o w P r i v i l e g e E s c a l a t i o n s p e c . i n i t C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . a l l o w P r i v i l e g e E s c a l a t i o n s p e c . e p h e m e r a l C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . a l l o w P r i v i l e g e E s c a l a t i o n   A l l o w e d   V a l u e s   f a l s e   C o n t a i n e r s   m u s t   b e   r e q u i r e d   t o   r u n   a s   n o n - r o o t   u s e r s .   R e s t r i c t e d   F i e l d s   s p e c . s e c u r i t y C o n t e x t . r u n A s N o n R o o t s p e c . c o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . r u n A s N o n R o o t s p e c . i n i t C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . r u n A s N o n R o o t s p e c . e p h e m e r a l C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . r u n A s N o n R o o t   A l l o w e d   V a l u e s   t r u e   C o n t a i n e r s   m u s t ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_4_4102"
  },
  {
    "question": "What is Policy Instantiation?",
    "answer": "D e c o u p l i n g   p o l i c y   d e f i n i t i o n   f r o m   p o l i c y   i n s t a n t i a t i o n   a l l o w s   f o r   a   c o m m o n   u n d e r s t a n d i n g   a n d   c o n s i s t e n t   l a n g u a g e   o f   p o l i c i e s   a c r o s s   c l u s t e r s ,   i n d e p e n d e n t   o f   t h e   u n d e r l y i n g   e n f o r c e m e n t   m e c h a n i s m .   A s   m e c h a n i s m s   m a t u r e ,   t h e y   w i l l   b e   d e f i n e d   b e l o w   o n   a   p e r - p o l i c y   b a s i s .   T h e   m e t h o d s   o f   e n f o r c e m e n t   o f   i n d i v i d u a l   p o l i c i e s   a r e   n o t   d e f i n e d   h e r e .   P o d   S e c u r i t y   A d m i s s i o n   C o n t r o l l e r   P r i v i l e g e d   n a m e s p a c e B a s e l i n e   n a m e s p a c e R e s t r i c t e d   n a m e s p a c e",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4103"
  },
  {
    "question": "What is Alternatives?",
    "answer": "O t h e r   a l t e r n a t i v e s   f o r   e n f o r c i n g   p o l i c i e s   a r e   b e i n g   d e v e l o p e d   i n   t h e   K u b e r n e t e s   e c o s y s t e m ,   s u c h   a s :   K u b e w a r d e n K y v e r n o O P A   G a t e k e e p e r",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4104"
  },
  {
    "question": "What is Pod OS field?",
    "answer": "K u b e r n e t e s   l e t s   y o u   u s e   n o d e s   t h a t   r u n   e i t h e r   L i n u x   o r   W i n d o w s .   Y o u   c a n   m i x   b o t h   k i n d s   o f   n o d e   i n   o n e   c l u s t e r .   W i n d o w s   i n   K u b e r n e t e s   h a s   s o m e   l i m i t a t i o n s   a n d   d i f f e r e n t i a t o r s   f r o m   L i n u x - b a s e d   w o r k l o a d s .   S p e c i f i c a l l y ,   m a n y   o f   t h e   P o d   s e c u r i t y C o n t e x t   f i e l d s   h a v e   n o   e f f e c t   o n   W i n d o w s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4105"
  },
  {
    "question": "What is Restricted Pod Security Standard changes?",
    "answer": "A n o t h e r   i m p o r t a n t   c h a n g e ,   m a d e   i n   K u b e r n e t e s   v 1 . 2 5   i s   t h a t   t h e   R e s t r i c t e d   p o l i c y   h a s   b e e n   u p d a t e d   t o   u s e   t h e   p o d . s p e c . o s . n a m e   f i e l d .   B a s e d   o n   t h e   O S   n a m e ,   c e r t a i n   p o l i c i e s   t h a t   a r e   s p e c i f i c   t o   a   p a r t i c u l a r   O S   c a n   b e   r e l a x e d   f o r   t h e   o t h e r   O S .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4106"
  },
  {
    "question": "What is OS-specific policy controls?",
    "answer": "R e s t r i c t i o n s   o n   t h e   f o l l o w i n g   c o n t r o l s   a r e   o n l y   r e q u i r e d   i f   . s p e c . o s . n a m e   i s   n o t   w i n d o w s :   P r i v i l e g e   E s c a l a t i o n S e c c o m p L i n u x   C a p a b i l i t i e s",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_4_4107"
  },
  {
    "question": "What is User namespaces?",
    "answer": "U s e r   N a m e s p a c e s   a r e   a   L i n u x - o n l y   f e a t u r e   t o   r u n   w o r k l o a d s   w i t h   i n c r e a s e d   i s o l a t i o n .   H o w   t h e y   w o r k   t o g e t h e r   w i t h   P o d   S e c u r i t y   S t a n d a r d s   i s   d e s c r i b e d   i n   t h e   d o c u m e n t a t i o n   f o r   P o d s   t h a t   u s e   u s e r   n a m e s p a c e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4108"
  },
  {
    "question": "What is Why isn't there a profile between Privileged and Baseline??",
    "answer": "T h e   t h r e e   p r o f i l e s   d e f i n e d   h e r e   h a v e   a   c l e a r   l i n e a r   p r o g r e s s i o n   f r o m   m o s t   s e c u r e   ( R e s t r i c t e d )   t o   l e a s t   s e c u r e   ( P r i v i l e g e d ) ,   a n d   c o v e r   a   b r o a d   s e t   o f   w o r k l o a d s .   P r i v i l e g e s   r e q u i r e d   a b o v e   t h e   B a s e l i n e   p o l i c y   a r e   t y p i c a l l y   v e r y   a p p l i c a t i o n   s p e c i f i c ,   s o   w e   d o   n o t   o f f e r   a   s t a n d a r d   p r o f i l e   i n   t h i s   n i c h e .   T h i s   i s   n o t   t o   s a y   t h a t   t h e   p r i v i l e g e d   p r o f i l e   s h o u l d   a l w a y s   b e   u s e d   i n   t h i s   c a s e ,   b u t   t h a t   p o l i c i e s   i n   t h i s   s p a c e   n e e d   t o   b e   d e f i n e d   o n   a   c a s e - b y - c a s e   b a s i s .   S I G   A u t h   m a y   r e c o n s i d e r   t h i s   p o s i t i o n   i n   t h e   f u t u r e ,   s h o u l d   a   c l e a r   n e e d   f o r   o t h e r   p r o f i l e s   a r i s e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4109"
  },
  {
    "question": "What is What's the difference between a security profile and a security context??",
    "answer": "S e c u r i t y   C o n t e x t s   c o n f i g u r e   P o d s   a n d   C o n t a i n e r s   a t   r u n t i m e .   S e c u r i t y   c o n t e x t s   a r e   d e f i n e d   a s   p a r t   o f   t h e   P o d   a n d   c o n t a i n e r   s p e c i f i c a t i o n s   i n   t h e   P o d   m a n i f e s t ,   a n d   r e p r e s e n t   p a r a m e t e r s   t o   t h e   c o n t a i n e r   r u n t i m e .   S e c u r i t y   p r o f i l e s   a r e   c o n t r o l   p l a n e   m e c h a n i s m s   t o   e n f o r c e   s p e c i f i c   s e t t i n g s   i n   t h e   S e c u r i t y   C o n t e x t ,   a s   w e l l   a s   o t h e r   r e l a t e d   p a r a m e t e r s   o u t s i d e   t h e   S e c u r i t y   C o n t e x t .   A s   o f   J u l y   2 0 2 1 ,   P o d   S e c u r i t y   P o l i c i e s   a r e   d e p r e c a t e d   i n   f a v o r   o f   t h e   b u i l t - i n   P o d   S e c u r i t y   A d m i s s i o n   C o n t r o l l e r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4110"
  },
  {
    "question": "What is What about sandboxed Pods??",
    "answer": "T h e r e   i s   c u r r e n t l y   n o   A P I   s t a n d a r d   t h a t   c o n t r o l s   w h e t h e r   a   P o d   i s   c o n s i d e r e d   s a n d b o x e d   o r   n o t .   S a n d b o x   P o d s   m a y   b e   i d e n t i f i e d   b y   t h e   u s e   o f   a   s a n d b o x e d   r u n t i m e   ( s u c h   a s   g V i s o r   o r   K a t a   C o n t a i n e r s ) ,   b u t   t h e r e   i s   n o   s t a n d a r d   d e f i n i t i o n   o f   w h a t   a   s a n d b o x e d   r u n t i m e   i s .   T h e   p r o t e c t i o n s   n e c e s s a r y   f o r   s a n d b o x e d   w o r k l o a d s   c a n   d i f f e r   f r o m   o t h e r s .   F o r   e x a m p l e ,   t h e   n e e d   t o   r e s t r i c t   p r i v i l e g e d   p e r m i s s i o n s   i s   l e s s e n e d   w h e n   t h e   w o r k l o a d   i s   i s o l a t e d   f r o m   t h e   u n d e r l y i n g   k e r n e l .   T h i s   a l l o w s   f o r   w o r k l o a d s   r e q u i r i n g   h e i g h t e n e d   p e r m i s s i o n s   t o   s t i l l   b e   i s o l a t e d .   A d d i t i o n a l l y ,   t h e   p r o t e c t i o n   o f   s a n d b o x e d   w o r k l o a d s   i s   h i g h l y   d e p e n d e n t   o n   t h e   m e t h o d   o f   s a n d b o x i n g .   A s   s u c h ,   n o   s i n g l e   r e c o m m e n d e d   p r o f i l e   i s   r e c o m m e n d e d   f o r   a l l   s a n d b o x e d   w o r k l o a d s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4111"
  },
  {
    "question": "What is 3 - Pod Security Admission?",
    "answer": "T h e   K u b e r n e t e s   P o d   S e c u r i t y   S t a n d a r d s   d e f i n e   d i f f e r e n t   i s o l a t i o n   l e v e l s   f o r   P o d s .   T h e s e   s t a n d a r d s   l e t   y o u   d e f i n e   h o w   y o u   w a n t   t o   r e s t r i c t   t h e   b e h a v i o r   o f   p o d s   i n   a   c l e a r ,   c o n s i s t e n t   f a s h i o n .   K u b e r n e t e s   o f f e r s   a   b u i l t - i n   P o d   S e c u r i t y   a d m i s s i o n   c o n t r o l l e r   t o   e n f o r c e   t h e   P o d   S e c u r i t y   S t a n d a r d s .   P o d   s e c u r i t y   r e s t r i c t i o n s   a r e   a p p l i e d   a t   t h e   n a m e s p a c e   l e v e l   w h e n   p o d s   a r e   c r e a t e d .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_1_4112"
  },
  {
    "question": "What is Built-in Pod Security admission enforcement?",
    "answer": "T h i s   p a g e   i s   p a r t   o f   t h e   d o c u m e n t a t i o n   f o r   K u b e r n e t e s   v 1 . 3 4 .   I f   y o u   a r e   r u n n i n g   a   d i f f e r e n t   v e r s i o n   o f   K u b e r n e t e s ,   c o n s u l t   t h e   d o c u m e n t a t i o n   f o r   t h a t   r e l e a s e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4113"
  },
  {
    "question": "What is Pod Security levels?",
    "answer": "P o d   S e c u r i t y   a d m i s s i o n   p l a c e s   r e q u i r e m e n t s   o n   a   P o d ' s   S e c u r i t y   C o n t e x t   a n d   o t h e r   r e l a t e d   f i e l d s   a c c o r d i n g   t o   t h e   t h r e e   l e v e l s   d e f i n e d   b y   t h e   P o d   S e c u r i t y   S t a n d a r d s :   p r i v i l e g e d ,   b a s e l i n e ,   a n d   r e s t r i c t e d .   R e f e r   t o   t h e   P o d   S e c u r i t y   S t a n d a r d s   p a g e   f o r   a n   i n - d e p t h   l o o k   a t   t h o s e   r e q u i r e m e n t s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4114"
  },
  {
    "question": "What is Pod Security Admission labels for namespaces?",
    "answer": "O n c e   t h e   f e a t u r e   i s   e n a b l e d   o r   t h e   w e b h o o k   i s   i n s t a l l e d ,   y o u   c a n   c o n f i g u r e   n a m e s p a c e s   t o   d e f i n e   t h e   a d m i s s i o n   c o n t r o l   m o d e   y o u   w a n t   t o   u s e   f o r   p o d   s e c u r i t y   i n   e a c h   n a m e s p a c e .   K u b e r n e t e s   d e f i n e s   a   s e t   o f   l a b e l s   t h a t   y o u   c a n   s e t   t o   d e f i n e   w h i c h   o f   t h e   p r e d e f i n e d   P o d   S e c u r i t y   S t a n d a r d   l e v e l s   y o u   w a n t   t o   u s e   f o r   a   n a m e s p a c e .   T h e   l a b e l   y o u   s e l e c t   d e f i n e s   w h a t   a c t i o n   t h e   c o n t r o l   p l a n e   t a k e s   i f   a   p o t e n t i a l   v i o l a t i o n   i s   d e t e c t e d :   A   n a m e s p a c e   c a n   c o n f i g u r e   a n y   o r   a l l   m o d e s ,   o r   e v e n   s e t   a   d i f f e r e n t   l e v e l   f o r   d i f f e r e n t   m o d e s .   F o r   e a c h   m o d e ,   t h e r e   a r e   t w o   l a b e l s   t h a t   d e t e r m i n e   t h e   p o l i c y   u s e d :   #   T h e   p e r - m o d e   l e v e l   l a b e l   i n d i c a t e s   w h i c h   p o l i c y   l e v e l   t o   a p p l y   f o r   t h e   m o d e .   #   #   M O D E   m u s t   b e   o n e   o f   ` e n f o r c e ` ,   ` a u d i t ` ,   o r   ` w a r n ` .   #   L E V E L   m u s t   b e   o n e   o f   ` p r i v i l e g e d ` ,   ` b a s e l i n e ` ,   o r   ` r e s t r i c t e d ` .   p o d - s e c u r i t y . k u b e r n e t e s . i o / < M O D E > :   < L E V E L >   #   O p t i o n a l :   p e r - m o d e   v e r s i o n   l a b e l   t h a t   c a n   b e   u s e d   t o   p i n   t h e   p o l i c y   t o   t h e   #   v e r s i o n   t h a t   s h i p p e d   w i t h   a   g i v e n   K u b e r n e t e s   m i n o r   v e r s i o n   ( f o r   e x a m p l e   v 1 . 3 4 ) .   #   #   M O D E   ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4115"
  },
  {
    "question": "What is Workload resources and Pod templates?",
    "answer": "P o d s   a r e   o f t e n   c r e a t e d   i n d i r e c t l y ,   b y   c r e a t i n g   a   w o r k l o a d   o b j e c t   s u c h   a s   a   D e p l o y m e n t   o r   J o b .   T h e   w o r k l o a d   o b j e c t   d e f i n e s   a   P o d   t e m p l a t e   a n d   a   c o n t r o l l e r   f o r   t h e   w o r k l o a d   r e s o u r c e   c r e a t e s   P o d s   b a s e d   o n   t h a t   t e m p l a t e .   T o   h e l p   c a t c h   v i o l a t i o n s   e a r l y ,   b o t h   t h e   a u d i t   a n d   w a r n i n g   m o d e s   a r e   a p p l i e d   t o   t h e   w o r k l o a d   r e s o u r c e s .   H o w e v e r ,   e n f o r c e   m o d e   i s   n o t   a p p l i e d   t o   w o r k l o a d   r e s o u r c e s ,   o n l y   t o   t h e   r e s u l t i n g   p o d   o b j e c t s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4116"
  },
  {
    "question": "What is Exemptions?",
    "answer": "Y o u   c a n   d e f i n e   e x e m p t i o n s   f r o m   p o d   s e c u r i t y   e n f o r c e m e n t   i n   o r d e r   t o   a l l o w   t h e   c r e a t i o n   o f   p o d s   t h a t   w o u l d   h a v e   o t h e r w i s e   b e e n   p r o h i b i t e d   d u e   t o   t h e   p o l i c y   a s s o c i a t e d   w i t h   a   g i v e n   n a m e s p a c e .   E x e m p t i o n s   c a n   b e   s t a t i c a l l y   c o n f i g u r e d   i n   t h e   A d m i s s i o n   C o n t r o l l e r   c o n f i g u r a t i o n .   E x e m p t i o n s   m u s t   b e   e x p l i c i t l y   e n u m e r a t e d .   R e q u e s t s   m e e t i n g   e x e m p t i o n   c r i t e r i a   a r e   i g n o r e d   b y   t h e   A d m i s s i o n   C o n t r o l l e r   ( a l l   e n f o r c e ,   a u d i t   a n d   w a r n   b e h a v i o r s   a r e   s k i p p e d ) .   E x e m p t i o n   d i m e n s i o n s   i n c l u d e :   U s e r n a m e s :   r e q u e s t s   f r o m   u s e r s   w i t h   a n   e x e m p t   a u t h e n t i c a t e d   ( o r   i m p e r s o n a t e d )   u s e r n a m e   a r e   i g n o r e d . R u n t i m e C l a s s N a m e s :   p o d s   a n d   w o r k l o a d   r e s o u r c e s   s p e c i f y i n g   a n   e x e m p t   r u n t i m e   c l a s s   n a m e   a r e   i g n o r e d . N a m e s p a c e s :   p o d s   a n d   w o r k l o a d   r e s o u r c e s   i n   a n   e x e m p t   n a m e s p a c e   a r e   i g n o r e d .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4117"
  },
  {
    "question": "What is Caution:?",
    "answer": "U p d a t e s   t o   t h e   f o l l o w i n g   p o d   f i e l d s   a r e   e x e m p t   f r o m   p o l i c y   c h e c k s ,   m e a n i n g   t h a t   i f   a   p o d   u p d a t e   r e q u e s t   o n l y   c h a n g e s   t h e s e   f i e l d s ,   i t   w i l l   n o t   b e   d e n i e d   e v e n   i f   t h e   p o d   i s   i n   v i o l a t i o n   o f   t h e   c u r r e n t   p o l i c y   l e v e l :   A n y   m e t a d a t a   u p d a t e s   e x c e p t   c h a n g e s   t o   t h e   s e c c o m p   o r   A p p A r m o r   a n n o t a t i o n s : s e c c o m p . s e c u r i t y . a l p h a . k u b e r n e t e s . i o / p o d   ( d e p r e c a t e d ) c o n t a i n e r . s e c c o m p . s e c u r i t y . a l p h a . k u b e r n e t e s . i o / *   ( d e p r e c a t e d ) c o n t a i n e r . a p p a r m o r . s e c u r i t y . b e t a . k u b e r n e t e s . i o / *   ( d e p r e c a t e d ) V a l i d   u p d a t e s   t o   . s p e c . a c t i v e D e a d l i n e S e c o n d s V a l i d   u p d a t e s   t o   . s p e c . t o l e r a t i o n s   s e c c o m p . s e c u r i t y . a l p h a . k u b e r n e t e s . i o / p o d   ( d e p r e c a t e d ) c o n t a i n e r . s e c c o m p . s e c u r i t y . a l p h a . k u b e r n e t e s . i o / *   ( d e p r e c a t e d ) c o n t a i n e r . a p p a r m o r . s e c u r i t y . b e t a . k u b e r n e t e s . i o / *   ( d e p r e c a t e d )",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_4_4118"
  },
  {
    "question": "What is Metrics?",
    "answer": "H e r e   a r e   t h e   P r o m e t h e u s   m e t r i c s   e x p o s e d   b y   k u b e - a p i s e r v e r :   p o d _ s e c u r i t y _ e r r o r s _ t o t a l :   T h i s   m e t r i c   i n d i c a t e s   t h e   n u m b e r   o f   e r r o r s   p r e v e n t i n g   n o r m a l   e v a l u a t i o n .   N o n - f a t a l   e r r o r s   m a y   r e s u l t   i n   t h e   l a t e s t   r e s t r i c t e d   p r o f i l e   b e i n g   u s e d   f o r   e n f o r c e m e n t . p o d _ s e c u r i t y _ e v a l u a t i o n s _ t o t a l :   T h i s   m e t r i c   i n d i c a t e s   t h e   n u m b e r   o f   p o l i c y   e v a l u a t i o n s   t h a t   h a v e   o c c u r r e d ,   n o t   c o u n t i n g   i g n o r e d   o r   e x e m p t   r e q u e s t s   d u r i n g   e x p o r t i n g . p o d _ s e c u r i t y _ e x e m p t i o n s _ t o t a l :   T h i s   m e t r i c   i n d i c a t e s   t h e   n u m b e r   o f   e x e m p t   r e q u e s t s ,   n o t   c o u n t i n g   i g n o r e d   o r   o u t   o f   s c o p e   r e q u e s t s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4119"
  },
  {
    "question": "What is What's next?",
    "answer": "P o d   S e c u r i t y   S t a n d a r d s E n f o r c i n g   P o d   S e c u r i t y   S t a n d a r d s E n f o r c e   P o d   S e c u r i t y   S t a n d a r d s   b y   C o n f i g u r i n g   t h e   B u i l t - i n   A d m i s s i o n   C o n t r o l l e r E n f o r c e   P o d   S e c u r i t y   S t a n d a r d s   w i t h   N a m e s p a c e   L a b e l s   I f   y o u   a r e   r u n n i n g   a n   o l d e r   v e r s i o n   o f   K u b e r n e t e s   a n d   w a n t   t o   u p g r a d e   t o   a   v e r s i o n   o f   K u b e r n e t e s   t h a t   d o e s   n o t   i n c l u d e   P o d S e c u r i t y P o l i c i e s ,   r e a d   m i g r a t e   f r o m   P o d S e c u r i t y P o l i c y   t o   t h e   B u i l t - I n   P o d S e c u r i t y   A d m i s s i o n   C o n t r o l l e r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4120"
  },
  {
    "question": "What is 4 - Service Accounts?",
    "answer": "T h i s   p a g e   i n t r o d u c e s   t h e   S e r v i c e A c c o u n t   o b j e c t   i n   K u b e r n e t e s ,   p r o v i d i n g   i n f o r m a t i o n   a b o u t   h o w   s e r v i c e   a c c o u n t s   w o r k ,   u s e   c a s e s ,   l i m i t a t i o n s ,   a l t e r n a t i v e s ,   a n d   l i n k s   t o   r e s o u r c e s   f o r   a d d i t i o n a l   g u i d a n c e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_1_4121"
  },
  {
    "question": "What is What are service accounts??",
    "answer": "A   s e r v i c e   a c c o u n t   i s   a   t y p e   o f   n o n - h u m a n   a c c o u n t   t h a t ,   i n   K u b e r n e t e s ,   p r o v i d e s   a   d i s t i n c t   i d e n t i t y   i n   a   K u b e r n e t e s   c l u s t e r .   A p p l i c a t i o n   P o d s ,   s y s t e m   c o m p o n e n t s ,   a n d   e n t i t i e s   i n s i d e   a n d   o u t s i d e   t h e   c l u s t e r   c a n   u s e   a   s p e c i f i c   S e r v i c e A c c o u n t ' s   c r e d e n t i a l s   t o   i d e n t i f y   a s   t h a t   S e r v i c e A c c o u n t .   T h i s   i d e n t i t y   i s   u s e f u l   i n   v a r i o u s   s i t u a t i o n s ,   i n c l u d i n g   a u t h e n t i c a t i n g   t o   t h e   A P I   s e r v e r   o r   i m p l e m e n t i n g   i d e n t i t y - b a s e d   s e c u r i t y   p o l i c i e s .   S e r v i c e   a c c o u n t s   e x i s t   a s   S e r v i c e A c c o u n t   o b j e c t s   i n   t h e   A P I   s e r v e r .   S e r v i c e   a c c o u n t s   h a v e   t h e   f o l l o w i n g   p r o p e r t i e s :   N a m e s p a c e d :   E a c h   s e r v i c e   a c c o u n t   i s   b o u n d   t o   a   K u b e r n e t e s   n a m e s p a c e .   E v e r y   n a m e s p a c e   g e t s   a   d e f a u l t   S e r v i c e A c c o u n t   u p o n   c r e a t i o n . L i g h t w e i g h t :   S e r v i c e   a c c o u n t s   e x i s t   i n   t h e   c l u s t e r   a n d   a r e   d e f i n e d   i n   t h e   K u b e r n e t e s   A P I .   Y o u   c a n   q u i c k l y   c r e a t e   s e r v i c e   a c c o u n t s   t o   e n a b l e   s p e c i f i c   t a s k s . P o r t a b l e :   A   c o n f i g u r a t i o n   b u n d l e   f o r   a   c o m p l e x   c o n t a i n e r i z e d   w o r k l o a d   m i g h t   i n c l u d e   s e r v i c e   a c c o u n t   d e f i n i t i o n s   f o r   t h e   s y s t e m ' s   c o m p o n e n t s .   T h e   l i g h t w e i g h t   n a t u r e   o f   s e r v ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4122"
  },
  {
    "question": "What is Default service accounts?",
    "answer": "W h e n   y o u   c r e a t e   a   c l u s t e r ,   K u b e r n e t e s   a u t o m a t i c a l l y   c r e a t e s   a   S e r v i c e A c c o u n t   o b j e c t   n a m e d   d e f a u l t   f o r   e v e r y   n a m e s p a c e   i n   y o u r   c l u s t e r .   T h e   d e f a u l t   s e r v i c e   a c c o u n t s   i n   e a c h   n a m e s p a c e   g e t   n o   p e r m i s s i o n s   b y   d e f a u l t   o t h e r   t h a n   t h e   d e f a u l t   A P I   d i s c o v e r y   p e r m i s s i o n s   t h a t   K u b e r n e t e s   g r a n t s   t o   a l l   a u t h e n t i c a t e d   p r i n c i p a l s   i f   r o l e - b a s e d   a c c e s s   c o n t r o l   ( R B A C )   i s   e n a b l e d .   I f   y o u   d e l e t e   t h e   d e f a u l t   S e r v i c e A c c o u n t   o b j e c t   i n   a   n a m e s p a c e ,   t h e   c o n t r o l   p l a n e   r e p l a c e s   i t   w i t h   a   n e w   o n e .   I f   y o u   d e p l o y   a   P o d   i n   a   n a m e s p a c e ,   a n d   y o u   d o n ' t   m a n u a l l y   a s s i g n   a   S e r v i c e A c c o u n t   t o   t h e   P o d ,   K u b e r n e t e s   a s s i g n s   t h e   d e f a u l t   S e r v i c e A c c o u n t   f o r   t h a t   n a m e s p a c e   t o   t h e   P o d .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4123"
  },
  {
    "question": "What is Use cases for Kubernetes service accounts?",
    "answer": "A s   a   g e n e r a l   g u i d e l i n e ,   y o u   c a n   u s e   s e r v i c e   a c c o u n t s   t o   p r o v i d e   i d e n t i t i e s   i n   t h e   f o l l o w i n g   s c e n a r i o s :   Y o u r   P o d s   n e e d   t o   c o m m u n i c a t e   w i t h   t h e   K u b e r n e t e s   A P I   s e r v e r ,   f o r   e x a m p l e   i n   s i t u a t i o n s   s u c h   a s   t h e   f o l l o w i n g : P r o v i d i n g   r e a d - o n l y   a c c e s s   t o   s e n s i t i v e   i n f o r m a t i o n   s t o r e d   i n   S e c r e t s . G r a n t i n g   c r o s s - n a m e s p a c e   a c c e s s ,   s u c h   a s   a l l o w i n g   a   P o d   i n   n a m e s p a c e   e x a m p l e   t o   r e a d ,   l i s t ,   a n d   w a t c h   f o r   L e a s e   o b j e c t s   i n   t h e   k u b e - n o d e - l e a s e   n a m e s p a c e . Y o u r   P o d s   n e e d   t o   c o m m u n i c a t e   w i t h   a n   e x t e r n a l   s e r v i c e .   F o r   e x a m p l e ,   a   w o r k l o a d   P o d   r e q u i r e s   a n   i d e n t i t y   f o r   a   c o m m e r c i a l l y   a v a i l a b l e   c l o u d   A P I ,   a n d   t h e   c o m m e r c i a l   p r o v i d e r   a l l o w s   c o n f i g u r i n g   a   s u i t a b l e   t r u s t   r e l a t i o n s h i p . A u t h e n t i c a t i n g   t o   a   p r i v a t e   i m a g e   r e g i s t r y   u s i n g   a n   i m a g e P u l l S e c r e t . A n   e x t e r n a l   s e r v i c e   n e e d s   t o   c o m m u n i c a t e   w i t h   t h e   K u b e r n e t e s   A P I   s e r v e r .   F o r   e x a m p l e ,   a u t h e n t i c a t i n g   t o   t h e   c l u s t e r   a s   p a r t   o f   a   C I / C D   p i p e l i n e . Y o u   u s e   t h i r d - p a r t y   s e c u r i t y   s o f t w a r e   i n   y o u r   c l u s t e r   t h a t   r e l i e s   o n   t h e   S e r v i c e A c c o u n t   i d e n t i t y   o f   d i f f e r e n t   P o d s   t o   g r o u p   t h o s e   ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4124"
  },
  {
    "question": "What is How to use service accounts?",
    "answer": "T o   u s e   a   K u b e r n e t e s   s e r v i c e   a c c o u n t ,   y o u   d o   t h e   f o l l o w i n g :   C r e a t e   a   S e r v i c e A c c o u n t   o b j e c t   u s i n g   a   K u b e r n e t e s   c l i e n t   l i k e   k u b e c t l   o r   a   m a n i f e s t   t h a t   d e f i n e s   t h e   o b j e c t . G r a n t   p e r m i s s i o n s   t o   t h e   S e r v i c e A c c o u n t   o b j e c t   u s i n g   a n   a u t h o r i z a t i o n   m e c h a n i s m   s u c h   a s   R B A C . A s s i g n   t h e   S e r v i c e A c c o u n t   o b j e c t   t o   P o d s   d u r i n g   P o d   c r e a t i o n . I f   y o u ' r e   u s i n g   t h e   i d e n t i t y   f r o m   a n   e x t e r n a l   s e r v i c e ,   r e t r i e v e   t h e   S e r v i c e A c c o u n t   t o k e n   a n d   u s e   i t   f r o m   t h a t   s e r v i c e   i n s t e a d .   C r e a t e   a   S e r v i c e A c c o u n t   o b j e c t   u s i n g   a   K u b e r n e t e s   c l i e n t   l i k e   k u b e c t l   o r   a   m a n i f e s t   t h a t   d e f i n e s   t h e   o b j e c t .   G r a n t   p e r m i s s i o n s   t o   t h e   S e r v i c e A c c o u n t   o b j e c t   u s i n g   a n   a u t h o r i z a t i o n   m e c h a n i s m   s u c h   a s   R B A C .   A s s i g n   t h e   S e r v i c e A c c o u n t   o b j e c t   t o   P o d s   d u r i n g   P o d   c r e a t i o n .   I f   y o u ' r e   u s i n g   t h e   i d e n t i t y   f r o m   a n   e x t e r n a l   s e r v i c e ,   r e t r i e v e   t h e   S e r v i c e A c c o u n t   t o k e n   a n d   u s e   i t   f r o m   t h a t   s e r v i c e   i n s t e a d .   F o r   i n s t r u c t i o n s ,   r e f e r   t o   C o n f i g u r e   S e r v i c e   A c c o u n t s   f o r   P o d s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4125"
  },
  {
    "question": "What is Grant permissions to a ServiceAccount?",
    "answer": "Y o u   c a n   u s e   t h e   b u i l t - i n   K u b e r n e t e s   r o l e - b a s e d   a c c e s s   c o n t r o l   ( R B A C )   m e c h a n i s m   t o   g r a n t   t h e   m i n i m u m   p e r m i s s i o n s   r e q u i r e d   b y   e a c h   s e r v i c e   a c c o u n t .   Y o u   c r e a t e   a   r o l e ,   w h i c h   g r a n t s   a c c e s s ,   a n d   t h e n   b i n d   t h e   r o l e   t o   y o u r   S e r v i c e A c c o u n t .   R B A C   l e t s   y o u   d e f i n e   a   m i n i m u m   s e t   o f   p e r m i s s i o n s   s o   t h a t   t h e   s e r v i c e   a c c o u n t   p e r m i s s i o n s   f o l l o w   t h e   p r i n c i p l e   o f   l e a s t   p r i v i l e g e .   P o d s   t h a t   u s e   t h a t   s e r v i c e   a c c o u n t   d o n ' t   g e t   m o r e   p e r m i s s i o n s   t h a n   a r e   r e q u i r e d   t o   f u n c t i o n   c o r r e c t l y .   F o r   i n s t r u c t i o n s ,   r e f e r   t o   S e r v i c e A c c o u n t   p e r m i s s i o n s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4126"
  },
  {
    "question": "What is Cross-namespace access using a ServiceAccount?",
    "answer": "Y o u   c a n   u s e   R B A C   t o   a l l o w   s e r v i c e   a c c o u n t s   i n   o n e   n a m e s p a c e   t o   p e r f o r m   a c t i o n s   o n   r e s o u r c e s   i n   a   d i f f e r e n t   n a m e s p a c e   i n   t h e   c l u s t e r .   F o r   e x a m p l e ,   c o n s i d e r   a   s c e n a r i o   w h e r e   y o u   h a v e   a   s e r v i c e   a c c o u n t   a n d   P o d   i n   t h e   d e v   n a m e s p a c e   a n d   y o u   w a n t   y o u r   P o d   t o   s e e   J o b s   r u n n i n g   i n   t h e   m a i n t e n a n c e   n a m e s p a c e .   Y o u   c o u l d   c r e a t e   a   R o l e   o b j e c t   t h a t   g r a n t s   p e r m i s s i o n s   t o   l i s t   J o b   o b j e c t s .   T h e n ,   y o u ' d   c r e a t e   a   R o l e B i n d i n g   o b j e c t   i n   t h e   m a i n t e n a n c e   n a m e s p a c e   t o   b i n d   t h e   R o l e   t o   t h e   S e r v i c e A c c o u n t   o b j e c t .   N o w ,   P o d s   i n   t h e   d e v   n a m e s p a c e   c a n   l i s t   J o b   o b j e c t s   i n   t h e   m a i n t e n a n c e   n a m e s p a c e   u s i n g   t h a t   s e r v i c e   a c c o u n t .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_4_4127"
  },
  {
    "question": "What is Assign a ServiceAccount to a Pod?",
    "answer": "T o   a s s i g n   a   S e r v i c e A c c o u n t   t o   a   P o d ,   y o u   s e t   t h e   s p e c . s e r v i c e A c c o u n t N a m e   f i e l d   i n   t h e   P o d   s p e c i f i c a t i o n .   K u b e r n e t e s   t h e n   a u t o m a t i c a l l y   p r o v i d e s   t h e   c r e d e n t i a l s   f o r   t h a t   S e r v i c e A c c o u n t   t o   t h e   P o d .   I n   v 1 . 2 2   a n d   l a t e r ,   K u b e r n e t e s   g e t s   a   s h o r t - l i v e d ,   a u t o m a t i c a l l y   r o t a t i n g   t o k e n   u s i n g   t h e   T o k e n R e q u e s t   A P I   a n d   m o u n t s   t h e   t o k e n   a s   a   p r o j e c t e d   v o l u m e .   B y   d e f a u l t ,   K u b e r n e t e s   p r o v i d e s   t h e   P o d   w i t h   t h e   c r e d e n t i a l s   f o r   a n   a s s i g n e d   S e r v i c e A c c o u n t ,   w h e t h e r   t h a t   i s   t h e   d e f a u l t   S e r v i c e A c c o u n t   o r   a   c u s t o m   S e r v i c e A c c o u n t   t h a t   y o u   s p e c i f y .   T o   p r e v e n t   K u b e r n e t e s   f r o m   a u t o m a t i c a l l y   i n j e c t i n g   c r e d e n t i a l s   f o r   a   s p e c i f i e d   S e r v i c e A c c o u n t   o r   t h e   d e f a u l t   S e r v i c e A c c o u n t ,   s e t   t h e   a u t o m o u n t S e r v i c e A c c o u n t T o k e n   f i e l d   i n   y o u r   P o d   s p e c i f i c a t i o n   t o   f a l s e .   I n   v e r s i o n s   e a r l i e r   t h a n   1 . 2 2 ,   K u b e r n e t e s   p r o v i d e s   a   l o n g - l i v e d ,   s t a t i c   t o k e n   t o   t h e   P o d   a s   a   S e c r e t .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4128"
  },
  {
    "question": "What is Manually retrieve ServiceAccount credentials?",
    "answer": "I f   y o u   n e e d   t h e   c r e d e n t i a l s   f o r   a   S e r v i c e A c c o u n t   t o   m o u n t   i n   a   n o n - s t a n d a r d   l o c a t i o n ,   o r   f o r   a n   a u d i e n c e   t h a t   i s n ' t   t h e   A P I   s e r v e r ,   u s e   o n e   o f   t h e   f o l l o w i n g   m e t h o d s :   T o k e n R e q u e s t   A P I   ( r e c o m m e n d e d ) :   R e q u e s t   a   s h o r t - l i v e d   s e r v i c e   a c c o u n t   t o k e n   f r o m   w i t h i n   y o u r   o w n   a p p l i c a t i o n   c o d e .   T h e   t o k e n   e x p i r e s   a u t o m a t i c a l l y   a n d   c a n   r o t a t e   u p o n   e x p i r a t i o n .   I f   y o u   h a v e   a   l e g a c y   a p p l i c a t i o n   t h a t   i s   n o t   a w a r e   o f   K u b e r n e t e s ,   y o u   c o u l d   u s e   a   s i d e c a r   c o n t a i n e r   w i t h i n   t h e   s a m e   p o d   t o   f e t c h   t h e s e   t o k e n s   a n d   m a k e   t h e m   a v a i l a b l e   t o   t h e   a p p l i c a t i o n   w o r k l o a d . T o k e n   V o l u m e   P r o j e c t i o n   ( a l s o   r e c o m m e n d e d ) :   I n   K u b e r n e t e s   v 1 . 2 0   a n d   l a t e r ,   u s e   t h e   P o d   s p e c i f i c a t i o n   t o   t e l l   t h e   k u b e l e t   t o   a d d   t h e   s e r v i c e   a c c o u n t   t o k e n   t o   t h e   P o d   a s   a   p r o j e c t e d   v o l u m e .   P r o j e c t e d   t o k e n s   e x p i r e   a u t o m a t i c a l l y ,   a n d   t h e   k u b e l e t   r o t a t e s   t h e   t o k e n   b e f o r e   i t   e x p i r e s . S e r v i c e   A c c o u n t   T o k e n   S e c r e t s   ( n o t   r e c o m m e n d e d ) :   Y o u   c a n   m o u n t   s e r v i c e   a c c o u n t   t o k e n s   a s   K u b e r n e t e s   S e c r e t s   i n   P o d s .   T h e s e   t o k e n s   d o n ' t   e x p i r e   a n d   d o n ' t   r o t a t e .   I n   v e r s i o n s   p r i o r   t o   ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_4_4129"
  },
  {
    "question": "What is Note:?",
    "answer": "F o r   a p p l i c a t i o n s   r u n n i n g   o u t s i d e   y o u r   K u b e r n e t e s   c l u s t e r ,   y o u   m i g h t   b e   c o n s i d e r i n g   c r e a t i n g   a   l o n g - l i v e d   S e r v i c e A c c o u n t   t o k e n   t h a t   i s   s t o r e d   i n   a   S e c r e t .   T h i s   a l l o w s   a u t h e n t i c a t i o n ,   b u t   t h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   y o u   a v o i d   t h i s   a p p r o a c h .   L o n g - l i v e d   b e a r e r   t o k e n s   r e p r e s e n t   a   s e c u r i t y   r i s k   a s ,   o n c e   d i s c l o s e d ,   t h e   t o k e n   c a n   b e   m i s u s e d .   I n s t e a d ,   c o n s i d e r   u s i n g   a n   a l t e r n a t i v e .   F o r   e x a m p l e ,   y o u r   e x t e r n a l   a p p l i c a t i o n   c a n   a u t h e n t i c a t e   u s i n g   a   w e l l - p r o t e c t e d   p r i v a t e   k e y   a n d   a   c e r t i f i c a t e ,   o r   u s i n g   a   c u s t o m   m e c h a n i s m   s u c h   a s   a n   a u t h e n t i c a t i o n   w e b h o o k   t h a t   y o u   i m p l e m e n t   y o u r s e l f .   Y o u   c a n   a l s o   u s e   T o k e n R e q u e s t   t o   o b t a i n   s h o r t - l i v e d   t o k e n s   f o r   y o u r   e x t e r n a l   a p p l i c a t i o n .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_4_4130"
  },
  {
    "question": "What is Note:?",
    "answer": "K u b e r n e t e s   p r o v i d e s   a n   a n n o t a t i o n   c a l l e d   k u b e r n e t e s . i o / e n f o r c e - m o u n t a b l e - s e c r e t s   t h a t   y o u   c a n   a d d   t o   y o u r   S e r v i c e A c c o u n t s .   W h e n   t h i s   a n n o t a t i o n   i s   a p p l i e d ,   t h e   S e r v i c e A c c o u n t ' s   s e c r e t s   c a n   o n l y   b e   m o u n t e d   o n   s p e c i f i e d   t y p e s   o f   r e s o u r c e s ,   e n h a n c i n g   t h e   s e c u r i t y   p o s t u r e   o f   y o u r   c l u s t e r .   Y o u   c a n   a d d   t h e   a n n o t a t i o n   t o   a   S e r v i c e A c c o u n t   u s i n g   a   m a n i f e s t :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   a n n o t a t i o n s :   k u b e r n e t e s . i o / e n f o r c e - m o u n t a b l e - s e c r e t s :   \" t r u e \"   n a m e :   m y - s e r v i c e a c c o u n t   n a m e s p a c e :   m y - n a m e s p a c e   W h e n   t h i s   a n n o t a t i o n   i s   s e t   t o   \" t r u e \" ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   e n s u r e s   t h a t   t h e   S e c r e t s   f r o m   t h i s   S e r v i c e A c c o u n t   a r e   s u b j e c t   t o   c e r t a i n   m o u n t i n g   r e s t r i c t i o n s .   T h e   n a m e   o f   e a c h   S e c r e t   t h a t   i s   m o u n t e d   a s   a   v o l u m e   i n   a   P o d   m u s t   a p p e a r   i n   t h e   s e c r e t s   f i e l d   o f   t h e   P o d ' s   S e r v i c e A c c o u n t . T h e   n a m e   o f   e a c h   S e c r e t   r e f e r e n c e d   u s i n g   e n v F r o m   i n   a   P o d   m u s t   a l s o   a p p e a r   i n   t h e   s e c r e t s   f i e l d   o f   t h e   P o d ' s   S e r v i c e A c c o u n t . T h e   n a m e   o f   e a c h   S e c r e t   r e f e r e n c e d   u s i n g   i m a g e P u l l S e c r e t s   i n   a   P o d   m u s t   a l s o   a p p e a r   ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_4_4131"
  },
  {
    "question": "What is Authenticating service account credentials?",
    "answer": "S e r v i c e A c c o u n t s   u s e   s i g n e d   J S O N   W e b   T o k e n s   ( J W T s )   t o   a u t h e n t i c a t e   t o   t h e   K u b e r n e t e s   A P I   s e r v e r ,   a n d   t o   a n y   o t h e r   s y s t e m   w h e r e   a   t r u s t   r e l a t i o n s h i p   e x i s t s .   D e p e n d i n g   o n   h o w   t h e   t o k e n   w a s   i s s u e d   ( e i t h e r   t i m e - l i m i t e d   u s i n g   a   T o k e n R e q u e s t   o r   u s i n g   a   l e g a c y   m e c h a n i s m   w i t h   a   S e c r e t ) ,   a   S e r v i c e A c c o u n t   t o k e n   m i g h t   a l s o   h a v e   a n   e x p i r y   t i m e ,   a n   a u d i e n c e ,   a n d   a   t i m e   a f t e r   w h i c h   t h e   t o k e n   s t a r t s   b e i n g   v a l i d .   W h e n   a   c l i e n t   t h a t   i s   a c t i n g   a s   a   S e r v i c e A c c o u n t   t r i e s   t o   c o m m u n i c a t e   w i t h   t h e   K u b e r n e t e s   A P I   s e r v e r ,   t h e   c l i e n t   i n c l u d e s   a n   A u t h o r i z a t i o n :   B e a r e r   < t o k e n >   h e a d e r   w i t h   t h e   H T T P   r e q u e s t .   T h e   A P I   s e r v e r   c h e c k s   t h e   v a l i d i t y   o f   t h a t   b e a r e r   t o k e n   a s   f o l l o w s :   C h e c k s   t h e   t o k e n   s i g n a t u r e . C h e c k s   w h e t h e r   t h e   t o k e n   h a s   e x p i r e d . C h e c k s   w h e t h e r   o b j e c t   r e f e r e n c e s   i n   t h e   t o k e n   c l a i m s   a r e   c u r r e n t l y   v a l i d . C h e c k s   w h e t h e r   t h e   t o k e n   i s   c u r r e n t l y   v a l i d . C h e c k s   t h e   a u d i e n c e   c l a i m s .   T h e   T o k e n R e q u e s t   A P I   p r o d u c e s   b o u n d   t o k e n s   f o r   a   S e r v i c e A c c o u n t .   T h i s   b i n d i n g   i s   l i n k e d   t o   t h e   l i f e t i m e   o f   t h e   c l i e n t ,   s u c h   a s   a   P o d ,   t h a t ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4132"
  },
  {
    "question": "What is Authenticating service account credentials in your own code?",
    "answer": "I f   y o u   h a v e   s e r v i c e s   o f   y o u r   o w n   t h a t   n e e d   t o   v a l i d a t e   K u b e r n e t e s   s e r v i c e   a c c o u n t   c r e d e n t i a l s ,   y o u   c a n   u s e   t h e   f o l l o w i n g   m e t h o d s :   T o k e n R e v i e w   A P I   ( r e c o m m e n d e d ) O I D C   d i s c o v e r y   T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   t h a t   y o u   u s e   t h e   T o k e n R e v i e w   A P I ,   b e c a u s e   t h i s   m e t h o d   i n v a l i d a t e s   t o k e n s   t h a t   a r e   b o u n d   t o   A P I   o b j e c t s   s u c h   a s   S e c r e t s ,   S e r v i c e A c c o u n t s ,   P o d s   o r   N o d e s   w h e n   t h o s e   o b j e c t s   a r e   d e l e t e d .   F o r   e x a m p l e ,   i f   y o u   d e l e t e   t h e   P o d   t h a t   c o n t a i n s   a   p r o j e c t e d   S e r v i c e A c c o u n t   t o k e n ,   t h e   c l u s t e r   i n v a l i d a t e s   t h a t   t o k e n   i m m e d i a t e l y   a n d   a   T o k e n R e v i e w   i m m e d i a t e l y   f a i l s .   I f   y o u   u s e   O I D C   v a l i d a t i o n   i n s t e a d ,   y o u r   c l i e n t s   c o n t i n u e   t o   t r e a t   t h e   t o k e n   a s   v a l i d   u n t i l   t h e   t o k e n   r e a c h e s   i t s   e x p i r a t i o n   t i m e s t a m p .   Y o u r   a p p l i c a t i o n   s h o u l d   a l w a y s   d e f i n e   t h e   a u d i e n c e   t h a t   i t   a c c e p t s ,   a n d   s h o u l d   c h e c k   t h a t   t h e   t o k e n ' s   a u d i e n c e s   m a t c h   t h e   a u d i e n c e s   t h a t   t h e   a p p l i c a t i o n   e x p e c t s .   T h i s   h e l p s   t o   m i n i m i z e   t h e   s c o p e   o f   t h e   t o k e n   s o   t h a t   i t   c a n   o n l y   b e   u s e d   i n   y o u r   a p p l i c a t i o n   a n d   n o w h e r e   e l s e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4133"
  },
  {
    "question": "What is Alternatives?",
    "answer": "I s s u e   y o u r   o w n   t o k e n s   u s i n g   a n o t h e r   m e c h a n i s m ,   a n d   t h e n   u s e   W e b h o o k   T o k e n   A u t h e n t i c a t i o n   t o   v a l i d a t e   b e a r e r   t o k e n s   u s i n g   y o u r   o w n   v a l i d a t i o n   s e r v i c e . P r o v i d e   y o u r   o w n   i d e n t i t i e s   t o   P o d s . U s e   t h e   S P I F F E   C S I   d r i v e r   p l u g i n   t o   p r o v i d e   S P I F F E   S V I D s   a s   X . 5 0 9   c e r t i f i c a t e   p a i r s   t o   P o d s . 🛇   T h i s   i t e m   l i n k s   t o   a   t h i r d   p a r t y   p r o j e c t   o r   p r o d u c t   t h a t   i s   n o t   p a r t   o f   K u b e r n e t e s   i t s e l f .   M o r e   i n f o r m a t i o n U s e   a   s e r v i c e   m e s h   s u c h   a s   I s t i o   t o   p r o v i d e   c e r t i f i c a t e s   t o   P o d s . A u t h e n t i c a t e   f r o m   o u t s i d e   t h e   c l u s t e r   t o   t h e   A P I   s e r v e r   w i t h o u t   u s i n g   s e r v i c e   a c c o u n t   t o k e n s : C o n f i g u r e   t h e   A P I   s e r v e r   t o   a c c e p t   O p e n I D   C o n n e c t   ( O I D C )   t o k e n s   f r o m   y o u r   i d e n t i t y   p r o v i d e r . U s e   s e r v i c e   a c c o u n t s   o r   u s e r   a c c o u n t s   c r e a t e d   u s i n g   a n   e x t e r n a l   I d e n t i t y   a n d   A c c e s s   M a n a g e m e n t   ( I A M )   s e r v i c e ,   s u c h   a s   f r o m   a   c l o u d   p r o v i d e r ,   t o   a u t h e n t i c a t e   t o   y o u r   c l u s t e r . U s e   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   A P I   w i t h   c l i e n t   c e r t i f i c a t e s . C o n f i g u r e   t h e   k u b e l e t   t o   r e t r i e v e   c r e d e n t i a l s   f r o m   a n   i m a g e   r e g i s t r y . U s e   a   D e v i c e   P l u g i n   t o   a c c e s s   a   v i r t u a l   T r u s t e d   P l a t f o r m   M o ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4134"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   m a n a g e   y o u r   S e r v i c e A c c o u n t s   a s   a   c l u s t e r   a d m i n i s t r a t o r . L e a r n   h o w   t o   a s s i g n   a   S e r v i c e A c c o u n t   t o   a   P o d . R e a d   t h e   S e r v i c e A c c o u n t   A P I   r e f e r e n c e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4135"
  },
  {
    "question": "What is Removed feature?",
    "answer": "I n s t e a d   o f   u s i n g   P o d S e c u r i t y P o l i c y ,   y o u   c a n   e n f o r c e   s i m i l a r   r e s t r i c t i o n s   o n   P o d s   u s i n g   e i t h e r   o r   b o t h :   P o d   S e c u r i t y   A d m i s s i o n a   3 r d   p a r t y   a d m i s s i o n   p l u g i n ,   t h a t   y o u   d e p l o y   a n d   c o n f i g u r e   y o u r s e l f   F o r   a   m i g r a t i o n   g u i d e ,   s e e   M i g r a t e   f r o m   P o d S e c u r i t y P o l i c y   t o   t h e   B u i l t - I n   P o d S e c u r i t y   A d m i s s i o n   C o n t r o l l e r .   F o r   m o r e   i n f o r m a t i o n   o n   t h e   r e m o v a l   o f   t h i s   A P I ,   s e e   P o d S e c u r i t y P o l i c y   D e p r e c a t i o n :   P a s t ,   P r e s e n t ,   a n d   F u t u r e .   I f   y o u   a r e   n o t   r u n n i n g   K u b e r n e t e s   v 1 . 3 4 ,   c h e c k   t h e   d o c u m e n t a t i o n   f o r   y o u r   v e r s i o n   o f   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_4_4136"
  },
  {
    "question": "What is 6 - Security For Linux Nodes?",
    "answer": "T h i s   p a g e   d e s c r i b e s   s e c u r i t y   c o n s i d e r a t i o n s   a n d   b e s t   p r a c t i c e s   s p e c i f i c   t o   t h e   L i n u x   o p e r a t i n g   s y s t e m .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_1_4137"
  },
  {
    "question": "What is Protection for Secret data on nodes?",
    "answer": "O n   L i n u x   n o d e s ,   m e m o r y - b a c k e d   v o l u m e s   ( s u c h   a s   s e c r e t   v o l u m e   m o u n t s ,   o r   e m p t y D i r   w i t h   m e d i u m :   M e m o r y )   a r e   i m p l e m e n t e d   w i t h   a   t m p f s   f i l e s y s t e m .   I f   y o u   h a v e   s w a p   c o n f i g u r e d   a n d   u s e   a n   o l d e r   L i n u x   k e r n e l   ( o r   a   c u r r e n t   k e r n e l   a n d   a n   u n s u p p o r t e d   c o n f i g u r a t i o n   o f   K u b e r n e t e s ) ,   m e m o r y   b a c k e d   v o l u m e s   c a n   h a v e   d a t a   w r i t t e n   t o   p e r s i s t e n t   s t o r a g e .   T h e   L i n u x   k e r n e l   o f f i c i a l l y   s u p p o r t s   t h e   n o s w a p   o p t i o n   f r o m   v e r s i o n   6 . 3 ,   t h e r e f o r e   i t   i s   r e c o m m e n d e d   t h e   u s e d   k e r n e l   v e r s i o n   i s   6 . 3   o r   l a t e r ,   o r   s u p p o r t s   t h e   n o s w a p   o p t i o n   v i a   a   b a c k p o r t ,   i f   s w a p   i s   e n a b l e d   o n   t h e   n o d e .   R e a d   s w a p   m e m o r y   m a n a g e m e n t   f o r   m o r e   i n f o .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4138"
  },
  {
    "question": "What is 7 - Security For Windows Nodes?",
    "answer": "T h i s   p a g e   d e s c r i b e s   s e c u r i t y   c o n s i d e r a t i o n s   a n d   b e s t   p r a c t i c e s   s p e c i f i c   t o   t h e   W i n d o w s   o p e r a t i n g   s y s t e m .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_1_4139"
  },
  {
    "question": "What is Protection for Secret data on nodes?",
    "answer": "O n   W i n d o w s ,   d a t a   f r o m   S e c r e t s   a r e   w r i t t e n   o u t   i n   c l e a r   t e x t   o n t o   t h e   n o d e ' s   l o c a l   s t o r a g e   ( a s   c o m p a r e d   t o   u s i n g   t m p f s   /   i n - m e m o r y   f i l e s y s t e m s   o n   L i n u x ) .   A s   a   c l u s t e r   o p e r a t o r ,   y o u   s h o u l d   t a k e   b o t h   o f   t h e   f o l l o w i n g   a d d i t i o n a l   m e a s u r e s :   U s e   f i l e   A C L s   t o   s e c u r e   t h e   S e c r e t s '   f i l e   l o c a t i o n . A p p l y   v o l u m e - l e v e l   e n c r y p t i o n   u s i n g   B i t L o c k e r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4140"
  },
  {
    "question": "What is Container users?",
    "answer": "R u n A s U s e r n a m e   c a n   b e   s p e c i f i e d   f o r   W i n d o w s   P o d s   o r   c o n t a i n e r s   t o   e x e c u t e   t h e   c o n t a i n e r   p r o c e s s e s   a s   s p e c i f i c   u s e r .   T h i s   i s   r o u g h l y   e q u i v a l e n t   t o   R u n A s U s e r .   W i n d o w s   c o n t a i n e r s   o f f e r   t w o   d e f a u l t   u s e r   a c c o u n t s ,   C o n t a i n e r U s e r   a n d   C o n t a i n e r A d m i n i s t r a t o r .   T h e   d i f f e r e n c e s   b e t w e e n   t h e s e   t w o   u s e r   a c c o u n t s   a r e   c o v e r e d   i n   W h e n   t o   u s e   C o n t a i n e r A d m i n   a n d   C o n t a i n e r U s e r   u s e r   a c c o u n t s   w i t h i n   M i c r o s o f t ' s   S e c u r e   W i n d o w s   c o n t a i n e r s   d o c u m e n t a t i o n .   L o c a l   u s e r s   c a n   b e   a d d e d   t o   c o n t a i n e r   i m a g e s   d u r i n g   t h e   c o n t a i n e r   b u i l d   p r o c e s s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4141"
  },
  {
    "question": "What is Note:?",
    "answer": "N a n o   S e r v e r   b a s e d   i m a g e s   r u n   a s   C o n t a i n e r U s e r   b y   d e f a u l t S e r v e r   C o r e   b a s e d   i m a g e s   r u n   a s   C o n t a i n e r A d m i n i s t r a t o r   b y   d e f a u l t   W i n d o w s   c o n t a i n e r s   c a n   a l s o   r u n   a s   A c t i v e   D i r e c t o r y   i d e n t i t i e s   b y   u t i l i z i n g   G r o u p   M a n a g e d   S e r v i c e   A c c o u n t s",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_4_4142"
  },
  {
    "question": "What is Pod-level security isolation?",
    "answer": "L i n u x - s p e c i f i c   p o d   s e c u r i t y   c o n t e x t   m e c h a n i s m s   ( s u c h   a s   S E L i n u x ,   A p p A r m o r ,   S e c c o m p ,   o r   c u s t o m   P O S I X   c a p a b i l i t i e s )   a r e   n o t   s u p p o r t e d   o n   W i n d o w s   n o d e s .   P r i v i l e g e d   c o n t a i n e r s   a r e   n o t   s u p p o r t e d   o n   W i n d o w s .   I n s t e a d   H o s t P r o c e s s   c o n t a i n e r s   c a n   b e   u s e d   o n   W i n d o w s   t o   p e r f o r m   m a n y   o f   t h e   t a s k s   p e r f o r m e d   b y   p r i v i l e g e d   c o n t a i n e r s   o n   L i n u x .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4143"
  },
  {
    "question": "What is 8 - Controlling Access to the Kubernetes API?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   o f   c o n t r o l l i n g   a c c e s s   t o   t h e   K u b e r n e t e s   A P I .   U s e r s   a c c e s s   t h e   K u b e r n e t e s   A P I   u s i n g   k u b e c t l ,   c l i e n t   l i b r a r i e s ,   o r   b y   m a k i n g   R E S T   r e q u e s t s .   B o t h   h u m a n   u s e r s   a n d   K u b e r n e t e s   s e r v i c e   a c c o u n t s   c a n   b e   a u t h o r i z e d   f o r   A P I   a c c e s s .   W h e n   a   r e q u e s t   r e a c h e s   t h e   A P I ,   i t   g o e s   t h r o u g h   s e v e r a l   s t a g e s ,   i l l u s t r a t e d   i n   t h e   f o l l o w i n g   d i a g r a m :",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_1_4144"
  },
  {
    "question": "What is Transport security?",
    "answer": "B y   d e f a u l t ,   t h e   K u b e r n e t e s   A P I   s e r v e r   l i s t e n s   o n   p o r t   6 4 4 3   o n   t h e   f i r s t   n o n - l o c a l h o s t   n e t w o r k   i n t e r f a c e ,   p r o t e c t e d   b y   T L S .   I n   a   t y p i c a l   p r o d u c t i o n   K u b e r n e t e s   c l u s t e r ,   t h e   A P I   s e r v e s   o n   p o r t   4 4 3 .   T h e   p o r t   c a n   b e   c h a n g e d   w i t h   t h e   - - s e c u r e - p o r t ,   a n d   t h e   l i s t e n i n g   I P   a d d r e s s   w i t h   t h e   - - b i n d - a d d r e s s   f l a g .   T h e   A P I   s e r v e r   p r e s e n t s   a   c e r t i f i c a t e .   T h i s   c e r t i f i c a t e   m a y   b e   s i g n e d   u s i n g   a   p r i v a t e   c e r t i f i c a t e   a u t h o r i t y   ( C A ) ,   o r   b a s e d   o n   a   p u b l i c   k e y   i n f r a s t r u c t u r e   l i n k e d   t o   a   g e n e r a l l y   r e c o g n i z e d   C A .   T h e   c e r t i f i c a t e   a n d   c o r r e s p o n d i n g   p r i v a t e   k e y   c a n   b e   s e t   b y   u s i n g   t h e   - - t l s - c e r t - f i l e   a n d   - - t l s - p r i v a t e - k e y - f i l e   f l a g s .   I f   y o u r   c l u s t e r   u s e s   a   p r i v a t e   c e r t i f i c a t e   a u t h o r i t y ,   y o u   n e e d   a   c o p y   o f   t h a t   C A   c e r t i f i c a t e   c o n f i g u r e d   i n t o   y o u r   ~ / . k u b e / c o n f i g   o n   t h e   c l i e n t ,   s o   t h a t   y o u   c a n   t r u s t   t h e   c o n n e c t i o n   a n d   b e   c o n f i d e n t   i t   w a s   n o t   i n t e r c e p t e d .   Y o u r   c l i e n t   c a n   p r e s e n t   a   T L S   c l i e n t   c e r t i f i c a t e   a t   t h i s   s t a g e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4145"
  },
  {
    "question": "What is Authentication?",
    "answer": "O n c e   T L S   i s   e s t a b l i s h e d ,   t h e   H T T P   r e q u e s t   m o v e s   t o   t h e   A u t h e n t i c a t i o n   s t e p .   T h i s   i s   s h o w n   a s   s t e p   1   i n   t h e   d i a g r a m .   T h e   c l u s t e r   c r e a t i o n   s c r i p t   o r   c l u s t e r   a d m i n   c o n f i g u r e s   t h e   A P I   s e r v e r   t o   r u n   o n e   o r   m o r e   A u t h e n t i c a t o r   m o d u l e s .   A u t h e n t i c a t o r s   a r e   d e s c r i b e d   i n   m o r e   d e t a i l   i n   A u t h e n t i c a t i o n .   T h e   i n p u t   t o   t h e   a u t h e n t i c a t i o n   s t e p   i s   t h e   e n t i r e   H T T P   r e q u e s t ;   h o w e v e r ,   i t   t y p i c a l l y   e x a m i n e s   t h e   h e a d e r s   a n d / o r   c l i e n t   c e r t i f i c a t e .   A u t h e n t i c a t i o n   m o d u l e s   i n c l u d e   c l i e n t   c e r t i f i c a t e s ,   p a s s w o r d ,   a n d   p l a i n   t o k e n s ,   b o o t s t r a p   t o k e n s ,   a n d   J S O N   W e b   T o k e n s   ( u s e d   f o r   s e r v i c e   a c c o u n t s ) .   M u l t i p l e   a u t h e n t i c a t i o n   m o d u l e s   c a n   b e   s p e c i f i e d ,   i n   w h i c h   c a s e   e a c h   o n e   i s   t r i e d   i n   s e q u e n c e ,   u n t i l   o n e   o f   t h e m   s u c c e e d s .   I f   t h e   r e q u e s t   c a n n o t   b e   a u t h e n t i c a t e d ,   i t   i s   r e j e c t e d   w i t h   H T T P   s t a t u s   c o d e   4 0 1 .   O t h e r w i s e ,   t h e   u s e r   i s   a u t h e n t i c a t e d   a s   a   s p e c i f i c   u s e r n a m e ,   a n d   t h e   u s e r   n a m e   i s   a v a i l a b l e   t o   s u b s e q u e n t   s t e p s   t o   u s e   i n   t h e i r   d e c i s i o n s .   S o m e   a u t h e n t i c a t o r s   a l s o   p r o v i d e   t h e   g r o u p   m e m b e r s h i p s   o f   t h e   u s e r ,   w h i l e   o t h e r   a u ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4146"
  },
  {
    "question": "What is Authorization?",
    "answer": "A f t e r   t h e   r e q u e s t   i s   a u t h e n t i c a t e d   a s   c o m i n g   f r o m   a   s p e c i f i c   u s e r ,   t h e   r e q u e s t   m u s t   b e   a u t h o r i z e d .   T h i s   i s   s h o w n   a s   s t e p   2   i n   t h e   d i a g r a m .   A   r e q u e s t   m u s t   i n c l u d e   t h e   u s e r n a m e   o f   t h e   r e q u e s t e r ,   t h e   r e q u e s t e d   a c t i o n ,   a n d   t h e   o b j e c t   a f f e c t e d   b y   t h e   a c t i o n .   T h e   r e q u e s t   i s   a u t h o r i z e d   i f   a n   e x i s t i n g   p o l i c y   d e c l a r e s   t h a t   t h e   u s e r   h a s   p e r m i s s i o n s   t o   c o m p l e t e   t h e   r e q u e s t e d   a c t i o n .   F o r   e x a m p l e ,   i f   B o b   h a s   t h e   p o l i c y   b e l o w ,   t h e n   h e   c a n   r e a d   p o d s   o n l y   i n   t h e   n a m e s p a c e   p r o j e c t C a r i b o u :   {   \" a p i V e r s i o n \" :   \" a b a c . a u t h o r i z a t i o n . k u b e r n e t e s . i o / v 1 b e t a 1 \" ,   \" k i n d \" :   \" P o l i c y \" ,   \" s p e c \" :   {   \" u s e r \" :   \" b o b \" ,   \" n a m e s p a c e \" :   \" p r o j e c t C a r i b o u \" ,   \" r e s o u r c e \" :   \" p o d s \" ,   \" r e a d o n l y \" :   t r u e   }   }   I f   B o b   m a k e s   t h e   f o l l o w i n g   r e q u e s t ,   t h e   r e q u e s t   i s   a u t h o r i z e d   b e c a u s e   h e   i s   a l l o w e d   t o   r e a d   o b j e c t s   i n   t h e   p r o j e c t C a r i b o u   n a m e s p a c e :   {   \" a p i V e r s i o n \" :   \" a u t h o r i z a t i o n . k 8 s . i o / v 1 b e t a 1 \" ,   \" k i n d \" :   \" S u b j e c t A c c e s s R e v i e w \" ,   \" s p e c \" :   {   \" r e s o u r c e A t t r i b u t e s \" :   {   \" n a m e s p a c e \" :   \" p r o j e c t C a r i b o u \" ,   \" v e r b \" :   \" g e t \" ,   \" g r o u p \" :   \" u n i c o r n . e x a m p l e . o r g \" ,   \" r e s o u r c e \" :   \" p o d s \"   }   }   } ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4147"
  },
  {
    "question": "What is Admission control?",
    "answer": "A d m i s s i o n   C o n t r o l   m o d u l e s   a r e   s o f t w a r e   m o d u l e s   t h a t   c a n   m o d i f y   o r   r e j e c t   r e q u e s t s .   I n   a d d i t i o n   t o   t h e   a t t r i b u t e s   a v a i l a b l e   t o   A u t h o r i z a t i o n   m o d u l e s ,   A d m i s s i o n   C o n t r o l   m o d u l e s   c a n   a c c e s s   t h e   c o n t e n t s   o f   t h e   o b j e c t   t h a t   i s   b e i n g   c r e a t e d   o r   m o d i f i e d .   A d m i s s i o n   c o n t r o l l e r s   a c t   o n   r e q u e s t s   t h a t   c r e a t e ,   m o d i f y ,   d e l e t e ,   o r   c o n n e c t   t o   ( p r o x y )   a n   o b j e c t .   A d m i s s i o n   c o n t r o l l e r s   d o   n o t   a c t   o n   r e q u e s t s   t h a t   m e r e l y   r e a d   o b j e c t s .   W h e n   m u l t i p l e   a d m i s s i o n   c o n t r o l l e r s   a r e   c o n f i g u r e d ,   t h e y   a r e   c a l l e d   i n   o r d e r .   T h i s   i s   s h o w n   a s   s t e p   3   i n   t h e   d i a g r a m .   U n l i k e   A u t h e n t i c a t i o n   a n d   A u t h o r i z a t i o n   m o d u l e s ,   i f   a n y   a d m i s s i o n   c o n t r o l l e r   m o d u l e   r e j e c t s ,   t h e n   t h e   r e q u e s t   i s   i m m e d i a t e l y   r e j e c t e d .   I n   a d d i t i o n   t o   r e j e c t i n g   o b j e c t s ,   a d m i s s i o n   c o n t r o l l e r s   c a n   a l s o   s e t   c o m p l e x   d e f a u l t s   f o r   f i e l d s .   T h e   a v a i l a b l e   A d m i s s i o n   C o n t r o l   m o d u l e s   a r e   d e s c r i b e d   i n   A d m i s s i o n   C o n t r o l l e r s .   O n c e   a   r e q u e s t   p a s s e s   a l l   a d m i s s i o n   c o n t r o l l e r s ,   i t   i s   v a l i d a t e d   u s i n g   t h e   v a l i d a t i o n   r o u t i n e s   f o r   t h e   c o r r e s p o n d i n g   A P I   o b j e c t ,   a n d   t h e n   w r i t t e n   t o   t ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4148"
  },
  {
    "question": "What is Auditing?",
    "answer": "K u b e r n e t e s   a u d i t i n g   p r o v i d e s   a   s e c u r i t y - r e l e v a n t ,   c h r o n o l o g i c a l   s e t   o f   r e c o r d s   d o c u m e n t i n g   t h e   s e q u e n c e   o f   a c t i o n s   i n   a   c l u s t e r .   T h e   c l u s t e r   a u d i t s   t h e   a c t i v i t i e s   g e n e r a t e d   b y   u s e r s ,   b y   a p p l i c a t i o n s   t h a t   u s e   t h e   K u b e r n e t e s   A P I ,   a n d   b y   t h e   c o n t r o l   p l a n e   i t s e l f .   F o r   m o r e   i n f o r m a t i o n ,   s e e   A u d i t i n g .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4149"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   m o r e   d o c u m e n t a t i o n   o n   a u t h e n t i c a t i o n ,   a u t h o r i z a t i o n   a n d   A P I   a c c e s s   c o n t r o l :   A u t h e n t i c a t i n g A u t h e n t i c a t i n g   w i t h   B o o t s t r a p   T o k e n s A d m i s s i o n   C o n t r o l l e r s D y n a m i c   A d m i s s i o n   C o n t r o l A u t h o r i z a t i o n R o l e   B a s e d   A c c e s s   C o n t r o l A t t r i b u t e   B a s e d   A c c e s s   C o n t r o l N o d e   A u t h o r i z a t i o n W e b h o o k   A u t h o r i z a t i o n C e r t i f i c a t e   S i g n i n g   R e q u e s t s i n c l u d i n g   C S R   a p p r o v a l   a n d   c e r t i f i c a t e   s i g n i n g S e r v i c e   a c c o u n t s D e v e l o p e r   g u i d e A d m i n i s t r a t i o n   A u t h e n t i c a t i n g   w i t h   B o o t s t r a p   T o k e n s   D y n a m i c   A d m i s s i o n   C o n t r o l   R o l e   B a s e d   A c c e s s   C o n t r o l A t t r i b u t e   B a s e d   A c c e s s   C o n t r o l N o d e   A u t h o r i z a t i o n W e b h o o k   A u t h o r i z a t i o n   i n c l u d i n g   C S R   a p p r o v a l   a n d   c e r t i f i c a t e   s i g n i n g   D e v e l o p e r   g u i d e A d m i n i s t r a t i o n   Y o u   c a n   l e a r n   a b o u t :   h o w   P o d s   c a n   u s e   S e c r e t s   t o   o b t a i n   A P I   c r e d e n t i a l s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4150"
  },
  {
    "question": "What is 9 - Role Based Access Control Good Practices?",
    "answer": "K u b e r n e t e s   R B A C   i s   a   k e y   s e c u r i t y   c o n t r o l   t o   e n s u r e   t h a t   c l u s t e r   u s e r s   a n d   w o r k l o a d s   h a v e   o n l y   t h e   a c c e s s   t o   r e s o u r c e s   r e q u i r e d   t o   e x e c u t e   t h e i r   r o l e s .   I t   i s   i m p o r t a n t   t o   e n s u r e   t h a t ,   w h e n   d e s i g n i n g   p e r m i s s i o n s   f o r   c l u s t e r   u s e r s ,   t h e   c l u s t e r   a d m i n i s t r a t o r   u n d e r s t a n d s   t h e   a r e a s   w h e r e   p r i v i l e g e   e s c a l a t i o n   c o u l d   o c c u r ,   t o   r e d u c e   t h e   r i s k   o f   e x c e s s i v e   a c c e s s   l e a d i n g   t o   s e c u r i t y   i n c i d e n t s .   T h e   g o o d   p r a c t i c e s   l a i d   o u t   h e r e   s h o u l d   b e   r e a d   i n   c o n j u n c t i o n   w i t h   t h e   g e n e r a l   R B A C   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_1_4151"
  },
  {
    "question": "What is Least privilege?",
    "answer": "I d e a l l y ,   m i n i m a l   R B A C   r i g h t s   s h o u l d   b e   a s s i g n e d   t o   u s e r s   a n d   s e r v i c e   a c c o u n t s .   O n l y   p e r m i s s i o n s   e x p l i c i t l y   r e q u i r e d   f o r   t h e i r   o p e r a t i o n   s h o u l d   b e   u s e d .   W h i l e   e a c h   c l u s t e r   w i l l   b e   d i f f e r e n t ,   s o m e   g e n e r a l   r u l e s   t h a t   c a n   b e   a p p l i e d   a r e   :   A s s i g n   p e r m i s s i o n s   a t   t h e   n a m e s p a c e   l e v e l   w h e r e   p o s s i b l e .   U s e   R o l e B i n d i n g s   a s   o p p o s e d   t o   C l u s t e r R o l e B i n d i n g s   t o   g i v e   u s e r s   r i g h t s   o n l y   w i t h i n   a   s p e c i f i c   n a m e s p a c e . A v o i d   p r o v i d i n g   w i l d c a r d   p e r m i s s i o n s   w h e n   p o s s i b l e ,   e s p e c i a l l y   t o   a l l   r e s o u r c e s .   A s   K u b e r n e t e s   i s   a n   e x t e n s i b l e   s y s t e m ,   p r o v i d i n g   w i l d c a r d   a c c e s s   g i v e s   r i g h t s   n o t   j u s t   t o   a l l   o b j e c t   t y p e s   t h a t   c u r r e n t l y   e x i s t   i n   t h e   c l u s t e r ,   b u t   a l s o   t o   a l l   o b j e c t   t y p e s   w h i c h   a r e   c r e a t e d   i n   t h e   f u t u r e . A d m i n i s t r a t o r s   s h o u l d   n o t   u s e   c l u s t e r - a d m i n   a c c o u n t s   e x c e p t   w h e r e   s p e c i f i c a l l y   n e e d e d .   P r o v i d i n g   a   l o w   p r i v i l e g e d   a c c o u n t   w i t h   i m p e r s o n a t i o n   r i g h t s   c a n   a v o i d   a c c i d e n t a l   m o d i f i c a t i o n   o f   c l u s t e r   r e s o u r c e s . A v o i d   a d d i n g   u s e r s   t o   t h e   s y s t e m : m a s t e r s   g r o u p .   A n y   u s e r   w h o   i s   a   m e m b e r   o f   t h i s   g r o u p   b y p a s s e s   a l l   R B A C   r i g h t s   c ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4152"
  },
  {
    "question": "What is Minimize distribution of privileged tokens?",
    "answer": "I d e a l l y ,   p o d s   s h o u l d n ' t   b e   a s s i g n e d   s e r v i c e   a c c o u n t s   t h a t   h a v e   b e e n   g r a n t e d   p o w e r f u l   p e r m i s s i o n s   ( f o r   e x a m p l e ,   a n y   o f   t h e   r i g h t s   l i s t e d   u n d e r   p r i v i l e g e   e s c a l a t i o n   r i s k s ) .   I n   c a s e s   w h e r e   a   w o r k l o a d   r e q u i r e s   p o w e r f u l   p e r m i s s i o n s ,   c o n s i d e r   t h e   f o l l o w i n g   p r a c t i c e s :   L i m i t   t h e   n u m b e r   o f   n o d e s   r u n n i n g   p o w e r f u l   p o d s .   E n s u r e   t h a t   a n y   D a e m o n S e t s   y o u   r u n   a r e   n e c e s s a r y   a n d   a r e   r u n   w i t h   l e a s t   p r i v i l e g e   t o   l i m i t   t h e   b l a s t   r a d i u s   o f   c o n t a i n e r   e s c a p e s . A v o i d   r u n n i n g   p o w e r f u l   p o d s   a l o n g s i d e   u n t r u s t e d   o r   p u b l i c l y - e x p o s e d   o n e s .   C o n s i d e r   u s i n g   T a i n t s   a n d   T o l e r a t i o n ,   N o d e A f f i n i t y ,   o r   P o d A n t i A f f i n i t y   t o   e n s u r e   p o d s   d o n ' t   r u n   a l o n g s i d e   u n t r u s t e d   o r   l e s s - t r u s t e d   P o d s .   P a y   s p e c i a l   a t t e n t i o n   t o   s i t u a t i o n s   w h e r e   l e s s - t r u s t w o r t h y   P o d s   a r e   n o t   m e e t i n g   t h e   R e s t r i c t e d   P o d   S e c u r i t y   S t a n d a r d .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4153"
  },
  {
    "question": "What is Hardening?",
    "answer": "K u b e r n e t e s   d e f a u l t s   t o   p r o v i d i n g   a c c e s s   w h i c h   m a y   n o t   b e   r e q u i r e d   i n   e v e r y   c l u s t e r .   R e v i e w i n g   t h e   R B A C   r i g h t s   p r o v i d e d   b y   d e f a u l t   c a n   p r o v i d e   o p p o r t u n i t i e s   f o r   s e c u r i t y   h a r d e n i n g .   I n   g e n e r a l ,   c h a n g e s   s h o u l d   n o t   b e   m a d e   t o   r i g h t s   p r o v i d e d   t o   s y s t e m :   a c c o u n t s   s o m e   o p t i o n s   t o   h a r d e n   c l u s t e r   r i g h t s   e x i s t :   R e v i e w   b i n d i n g s   f o r   t h e   s y s t e m : u n a u t h e n t i c a t e d   g r o u p   a n d   r e m o v e   t h e m   w h e r e   p o s s i b l e ,   a s   t h i s   g i v e s   a c c e s s   t o   a n y o n e   w h o   c a n   c o n t a c t   t h e   A P I   s e r v e r   a t   a   n e t w o r k   l e v e l . A v o i d   t h e   d e f a u l t   a u t o - m o u n t i n g   o f   s e r v i c e   a c c o u n t   t o k e n s   b y   s e t t i n g   a u t o m o u n t S e r v i c e A c c o u n t T o k e n :   f a l s e .   F o r   m o r e   d e t a i l s ,   s e e   u s i n g   d e f a u l t   s e r v i c e   a c c o u n t   t o k e n .   S e t t i n g   t h i s   v a l u e   f o r   a   P o d   w i l l   o v e r w r i t e   t h e   s e r v i c e   a c c o u n t   s e t t i n g ,   w o r k l o a d s   w h i c h   r e q u i r e   s e r v i c e   a c c o u n t   t o k e n s   c a n   s t i l l   m o u n t   t h e m .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4154"
  },
  {
    "question": "What is Periodic review?",
    "answer": "I t   i s   v i t a l   t o   p e r i o d i c a l l y   r e v i e w   t h e   K u b e r n e t e s   R B A C   s e t t i n g s   f o r   r e d u n d a n t   e n t r i e s   a n d   p o s s i b l e   p r i v i l e g e   e s c a l a t i o n s .   I f   a n   a t t a c k e r   i s   a b l e   t o   c r e a t e   a   u s e r   a c c o u n t   w i t h   t h e   s a m e   n a m e   a s   a   d e l e t e d   u s e r ,   t h e y   c a n   a u t o m a t i c a l l y   i n h e r i t   a l l   t h e   r i g h t s   o f   t h e   d e l e t e d   u s e r ,   e s p e c i a l l y   t h e   r i g h t s   a s s i g n e d   t o   t h a t   u s e r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4155"
  },
  {
    "question": "What is Kubernetes RBAC - privilege escalation risks?",
    "answer": "W i t h i n   K u b e r n e t e s   R B A C   t h e r e   a r e   a   n u m b e r   o f   p r i v i l e g e s   w h i c h ,   i f   g r a n t e d ,   c a n   a l l o w   a   u s e r   o r   a   s e r v i c e   a c c o u n t   t o   e s c a l a t e   t h e i r   p r i v i l e g e s   i n   t h e   c l u s t e r   o r   a f f e c t   s y s t e m s   o u t s i d e   t h e   c l u s t e r .   T h i s   s e c t i o n   i s   i n t e n d e d   t o   p r o v i d e   v i s i b i l i t y   o f   t h e   a r e a s   w h e r e   c l u s t e r   o p e r a t o r s   s h o u l d   t a k e   c a r e ,   t o   e n s u r e   t h a t   t h e y   d o   n o t   i n a d v e r t e n t l y   a l l o w   f o r   m o r e   a c c e s s   t o   c l u s t e r s   t h a n   i n t e n d e d .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4156"
  },
  {
    "question": "What is Listing secrets?",
    "answer": "I t   i s   g e n e r a l l y   c l e a r   t h a t   a l l o w i n g   g e t   a c c e s s   o n   S e c r e t s   w i l l   a l l o w   a   u s e r   t o   r e a d   t h e i r   c o n t e n t s .   I t   i s   a l s o   i m p o r t a n t   t o   n o t e   t h a t   l i s t   a n d   w a t c h   a c c e s s   a l s o   e f f e c t i v e l y   a l l o w   f o r   u s e r s   t o   r e v e a l   t h e   S e c r e t   c o n t e n t s .   F o r   e x a m p l e ,   w h e n   a   L i s t   r e s p o n s e   i s   r e t u r n e d   ( f o r   e x a m p l e ,   v i a   k u b e c t l   g e t   s e c r e t s   - A   - o   y a m l ) ,   t h e   r e s p o n s e   i n c l u d e s   t h e   c o n t e n t s   o f   a l l   S e c r e t s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4157"
  },
  {
    "question": "What is Workload creation?",
    "answer": "P e r m i s s i o n   t o   c r e a t e   w o r k l o a d s   ( e i t h e r   P o d s ,   o r   w o r k l o a d   r e s o u r c e s   t h a t   m a n a g e   P o d s )   i n   a   n a m e s p a c e   i m p l i c i t l y   g r a n t s   a c c e s s   t o   m a n y   o t h e r   r e s o u r c e s   i n   t h a t   n a m e s p a c e ,   s u c h   a s   S e c r e t s ,   C o n f i g M a p s ,   a n d   P e r s i s t e n t V o l u m e s   t h a t   c a n   b e   m o u n t e d   i n   P o d s .   A d d i t i o n a l l y ,   s i n c e   P o d s   c a n   r u n   a s   a n y   S e r v i c e A c c o u n t ,   g r a n t i n g   p e r m i s s i o n   t o   c r e a t e   w o r k l o a d s   a l s o   i m p l i c i t l y   g r a n t s   t h e   A P I   a c c e s s   l e v e l s   o f   a n y   s e r v i c e   a c c o u n t   i n   t h a t   n a m e s p a c e .   U s e r s   w h o   c a n   r u n   p r i v i l e g e d   P o d s   c a n   u s e   t h a t   a c c e s s   t o   g a i n   n o d e   a c c e s s   a n d   p o t e n t i a l l y   t o   f u r t h e r   e l e v a t e   t h e i r   p r i v i l e g e s .   W h e r e   y o u   d o   n o t   f u l l y   t r u s t   a   u s e r   o r   o t h e r   p r i n c i p a l   w i t h   t h e   a b i l i t y   t o   c r e a t e   s u i t a b l y   s e c u r e   a n d   i s o l a t e d   P o d s ,   y o u   s h o u l d   e n f o r c e   e i t h e r   t h e   B a s e l i n e   o r   R e s t r i c t e d   P o d   S e c u r i t y   S t a n d a r d .   Y o u   c a n   u s e   P o d   S e c u r i t y   a d m i s s i o n   o r   o t h e r   ( t h i r d   p a r t y )   m e c h a n i s m s   t o   i m p l e m e n t   t h a t   e n f o r c e m e n t .   F o r   t h e s e   r e a s o n s ,   n a m e s p a c e s   s h o u l d   b e   u s e d   t o   s e p a r a t e   r e s o u r c e s   r e q u i r i n g   d i f f e r e n t   l e v e l s   o f   t r u s t   o r   t e n a n c y .   I t   i s   s t i l l   c o n s i d e r e d   b e s t   p r a c t i ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4158"
  },
  {
    "question": "What is Persistent volume creation?",
    "answer": "I f   s o m e o n e   -   o r   s o m e   a p p l i c a t i o n   -   i s   a l l o w e d   t o   c r e a t e   a r b i t r a r y   P e r s i s t e n t V o l u m e s ,   t h a t   a c c e s s   i n c l u d e s   t h e   c r e a t i o n   o f   h o s t P a t h   v o l u m e s ,   w h i c h   t h e n   m e a n s   t h a t   a   P o d   w o u l d   g e t   a c c e s s   t o   t h e   u n d e r l y i n g   h o s t   f i l e s y s t e m ( s )   o n   t h e   a s s o c i a t e d   n o d e .   G r a n t i n g   t h a t   a b i l i t y   i s   a   s e c u r i t y   r i s k .   T h e r e   a r e   m a n y   w a y s   a   c o n t a i n e r   w i t h   u n r e s t r i c t e d   a c c e s s   t o   t h e   h o s t   f i l e s y s t e m   c a n   e s c a l a t e   p r i v i l e g e s ,   i n c l u d i n g   r e a d i n g   d a t a   f r o m   o t h e r   c o n t a i n e r s ,   a n d   a b u s i n g   t h e   c r e d e n t i a l s   o f   s y s t e m   s e r v i c e s ,   s u c h   a s   K u b e l e t .   Y o u   s h o u l d   o n l y   a l l o w   a c c e s s   t o   c r e a t e   P e r s i s t e n t V o l u m e   o b j e c t s   f o r :   U s e r s   ( c l u s t e r   o p e r a t o r s )   t h a t   n e e d   t h i s   a c c e s s   f o r   t h e i r   w o r k ,   a n d   w h o   y o u   t r u s t . T h e   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t s   w h i c h   c r e a t e s   P e r s i s t e n t V o l u m e s   b a s e d   o n   P e r s i s t e n t V o l u m e C l a i m s   t h a t   a r e   c o n f i g u r e d   f o r   a u t o m a t i c   p r o v i s i o n i n g .   T h i s   i s   u s u a l l y   s e t u p   b y   t h e   K u b e r n e t e s   p r o v i d e r   o r   b y   t h e   o p e r a t o r   w h e n   i n s t a l l i n g   a   C S I   d r i v e r .   W h e r e   a c c e s s   t o   p e r s i s t e n t   s t o r a g e   i s   r e q u i r e d   t r u s t e d   a d m i n i s t r a t o r s   s h o u l d   c r e a t e   P e r s i s t e n t V ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4159"
  },
  {
    "question": "What is Access to proxy subresource of Nodes?",
    "answer": "U s e r s   w i t h   a c c e s s   t o   t h e   p r o x y   s u b - r e s o u r c e   o f   n o d e   o b j e c t s   h a v e   r i g h t s   t o   t h e   K u b e l e t   A P I ,   w h i c h   a l l o w s   f o r   c o m m a n d   e x e c u t i o n   o n   e v e r y   p o d   o n   t h e   n o d e ( s )   t o   w h i c h   t h e y   h a v e   r i g h t s .   T h i s   a c c e s s   b y p a s s e s   a u d i t   l o g g i n g   a n d   a d m i s s i o n   c o n t r o l ,   s o   c a r e   s h o u l d   b e   t a k e n   b e f o r e   g r a n t i n g   r i g h t s   t o   t h i s   r e s o u r c e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4160"
  },
  {
    "question": "What is Escalate verb?",
    "answer": "G e n e r a l l y ,   t h e   R B A C   s y s t e m   p r e v e n t s   u s e r s   f r o m   c r e a t i n g   c l u s t e r r o l e s   w i t h   m o r e   r i g h t s   t h a n   t h e   u s e r   p o s s e s s e s .   T h e   e x c e p t i o n   t o   t h i s   i s   t h e   e s c a l a t e   v e r b .   A s   n o t e d   i n   t h e   R B A C   d o c u m e n t a t i o n ,   u s e r s   w i t h   t h i s   r i g h t   c a n   e f f e c t i v e l y   e s c a l a t e   t h e i r   p r i v i l e g e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4161"
  },
  {
    "question": "What is Bind verb?",
    "answer": "S i m i l a r   t o   t h e   e s c a l a t e   v e r b ,   g r a n t i n g   u s e r s   t h i s   r i g h t   a l l o w s   f o r   t h e   b y p a s s   o f   K u b e r n e t e s   i n - b u i l t   p r o t e c t i o n s   a g a i n s t   p r i v i l e g e   e s c a l a t i o n ,   a l l o w i n g   u s e r s   t o   c r e a t e   b i n d i n g s   t o   r o l e s   w i t h   r i g h t s   t h e y   d o   n o t   a l r e a d y   h a v e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4162"
  },
  {
    "question": "What is Impersonate verb?",
    "answer": "T h i s   v e r b   a l l o w s   u s e r s   t o   i m p e r s o n a t e   a n d   g a i n   t h e   r i g h t s   o f   o t h e r   u s e r s   i n   t h e   c l u s t e r .   C a r e   s h o u l d   b e   t a k e n   w h e n   g r a n t i n g   i t ,   t o   e n s u r e   t h a t   e x c e s s i v e   p e r m i s s i o n s   c a n n o t   b e   g a i n e d   v i a   o n e   o f   t h e   i m p e r s o n a t e d   a c c o u n t s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4163"
  },
  {
    "question": "What is CSRs and certificate issuing?",
    "answer": "T h e   C S R   A P I   a l l o w s   f o r   u s e r s   w i t h   c r e a t e   r i g h t s   t o   C S R s   a n d   u p d a t e   r i g h t s   o n   c e r t i f i c a t e s i g n i n g r e q u e s t s / a p p r o v a l   w h e r e   t h e   s i g n e r   i s   k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t   t o   c r e a t e   n e w   c l i e n t   c e r t i f i c a t e s   w h i c h   a l l o w   u s e r s   t o   a u t h e n t i c a t e   t o   t h e   c l u s t e r .   T h o s e   c l i e n t   c e r t i f i c a t e s   c a n   h a v e   a r b i t r a r y   n a m e s   i n c l u d i n g   d u p l i c a t e s   o f   K u b e r n e t e s   s y s t e m   c o m p o n e n t s .   T h i s   w i l l   e f f e c t i v e l y   a l l o w   f o r   p r i v i l e g e   e s c a l a t i o n .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4164"
  },
  {
    "question": "What is Token request?",
    "answer": "U s e r s   w i t h   c r e a t e   r i g h t s   o n   s e r v i c e a c c o u n t s / t o k e n   c a n   c r e a t e   T o k e n R e q u e s t s   t o   i s s u e   t o k e n s   f o r   e x i s t i n g   s e r v i c e   a c c o u n t s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4165"
  },
  {
    "question": "What is Control admission webhooks?",
    "answer": "U s e r s   w i t h   c o n t r o l   o v e r   v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s   o r   m u t a t i n g w e b h o o k c o n f i g u r a t i o n s   c a n   c o n t r o l   w e b h o o k s   t h a t   c a n   r e a d   a n y   o b j e c t   a d m i t t e d   t o   t h e   c l u s t e r ,   a n d   i n   t h e   c a s e   o f   m u t a t i n g   w e b h o o k s ,   a l s o   m u t a t e   a d m i t t e d   o b j e c t s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4166"
  },
  {
    "question": "What is Namespace modification?",
    "answer": "U s e r s   w h o   c a n   p e r f o r m   p a t c h   o p e r a t i o n s   o n   N a m e s p a c e   o b j e c t s   ( t h r o u g h   a   n a m e s p a c e d   R o l e B i n d i n g   t o   a   R o l e   w i t h   t h a t   a c c e s s )   c a n   m o d i f y   l a b e l s   o n   t h a t   n a m e s p a c e .   I n   c l u s t e r s   w h e r e   P o d   S e c u r i t y   A d m i s s i o n   i s   u s e d ,   t h i s   m a y   a l l o w   a   u s e r   t o   c o n f i g u r e   t h e   n a m e s p a c e   f o r   a   m o r e   p e r m i s s i v e   p o l i c y   t h a n   i n t e n d e d   b y   t h e   a d m i n i s t r a t o r s .   F o r   c l u s t e r s   w h e r e   N e t w o r k P o l i c y   i s   u s e d ,   u s e r s   m a y   b e   s e t   l a b e l s   t h a t   i n d i r e c t l y   a l l o w   a c c e s s   t o   s e r v i c e s   t h a t   a n   a d m i n i s t r a t o r   d i d   n o t   i n t e n d   t o   a l l o w .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4167"
  },
  {
    "question": "What is Object creation denial-of-service?",
    "answer": "U s e r s   w h o   h a v e   r i g h t s   t o   c r e a t e   o b j e c t s   i n   a   c l u s t e r   m a y   b e   a b l e   t o   c r e a t e   s u f f i c i e n t   l a r g e   o b j e c t s   t o   c r e a t e   a   d e n i a l   o f   s e r v i c e   c o n d i t i o n   e i t h e r   b a s e d   o n   t h e   s i z e   o r   n u m b e r   o f   o b j e c t s ,   a s   d i s c u s s e d   i n   e t c d   u s e d   b y   K u b e r n e t e s   i s   v u l n e r a b l e   t o   O O M   a t t a c k .   T h i s   m a y   b e   s p e c i f i c a l l y   r e l e v a n t   i n   m u l t i - t e n a n t   c l u s t e r s   i f   s e m i - t r u s t e d   o r   u n t r u s t e d   u s e r s   a r e   a l l o w e d   l i m i t e d   a c c e s s   t o   a   s y s t e m .   O n e   o p t i o n   f o r   m i t i g a t i o n   o f   t h i s   i s s u e   w o u l d   b e   t o   u s e   r e s o u r c e   q u o t a s   t o   l i m i t   t h e   q u a n t i t y   o f   o b j e c t s   w h i c h   c a n   b e   c r e a t e d .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4168"
  },
  {
    "question": "What is What's next?",
    "answer": "T o   l e a r n   m o r e   a b o u t   R B A C ,   s e e   t h e   R B A C   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4169"
  },
  {
    "question": "What is 10 - Good practices for Kubernetes Secrets?",
    "answer": "I n   K u b e r n e t e s ,   a   S e c r e t   i s   a n   o b j e c t   t h a t   s t o r e s   s e n s i t i v e   i n f o r m a t i o n ,   s u c h   a s   p a s s w o r d s ,   O A u t h   t o k e n s ,   a n d   S S H   k e y s .   I n   K u b e r n e t e s ,   a   S e c r e t   i s   a n   o b j e c t   t h a t   s t o r e s   s e n s i t i v e   i n f o r m a t i o n ,   s u c h   a s   p a s s w o r d s ,   O A u t h   t o k e n s ,   a n d   S S H   k e y s .   S e c r e t s   g i v e   y o u   m o r e   c o n t r o l   o v e r   h o w   s e n s i t i v e   i n f o r m a t i o n   i s   u s e d   a n d   r e d u c e s   t h e   r i s k   o f   a c c i d e n t a l   e x p o s u r e .   S e c r e t   v a l u e s   a r e   e n c o d e d   a s   b a s e 6 4   s t r i n g s   a n d   a r e   s t o r e d   u n e n c r y p t e d   b y   d e f a u l t ,   b u t   c a n   b e   c o n f i g u r e d   t o   b e   e n c r y p t e d   a t   r e s t .   A   P o d   c a n   r e f e r e n c e   t h e   S e c r e t   i n   a   v a r i e t y   o f   w a y s ,   s u c h   a s   i n   a   v o l u m e   m o u n t   o r   a s   a n   e n v i r o n m e n t   v a r i a b l e .   S e c r e t s   a r e   d e s i g n e d   f o r   c o n f i d e n t i a l   d a t a   a n d   C o n f i g M a p s   a r e   d e s i g n e d   f o r   n o n - c o n f i d e n t i a l   d a t a .   T h e   f o l l o w i n g   g o o d   p r a c t i c e s   a r e   i n t e n d e d   f o r   b o t h   c l u s t e r   a d m i n i s t r a t o r s   a n d   a p p l i c a t i o n   d e v e l o p e r s .   U s e   t h e s e   g u i d e l i n e s   t o   i m p r o v e   t h e   s e c u r i t y   o f   y o u r   s e n s i t i v e   i n f o r m a t i o n   i n   S e c r e t   o b j e c t s ,   a s   w e l l   a s   t o   m o r e   e f f e c t i v e l y   m a n a g e   y o u r   S e c r e t s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_1_4170"
  },
  {
    "question": "What is Cluster administrators?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   g o o d   p r a c t i c e s   t h a t   c l u s t e r   a d m i n i s t r a t o r s   c a n   u s e   t o   i m p r o v e   t h e   s e c u r i t y   o f   c o n f i d e n t i a l   i n f o r m a t i o n   i n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4171"
  },
  {
    "question": "What is Configure encryption at rest?",
    "answer": "B y   d e f a u l t ,   S e c r e t   o b j e c t s   a r e   s t o r e d   u n e n c r y p t e d   i n   e t c d .   Y o u   s h o u l d   c o n f i g u r e   e n c r y p t i o n   o f   y o u r   S e c r e t   d a t a   i n   e t c d .   F o r   i n s t r u c t i o n s ,   r e f e r   t o   E n c r y p t   S e c r e t   D a t a   a t   R e s t .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4172"
  },
  {
    "question": "What is Configure least-privilege access to Secrets?",
    "answer": "W h e n   p l a n n i n g   y o u r   a c c e s s   c o n t r o l   m e c h a n i s m ,   s u c h   a s   K u b e r n e t e s   R o l e - b a s e d   A c c e s s   C o n t r o l   ( R B A C ) ,   c o n s i d e r   t h e   f o l l o w i n g   g u i d e l i n e s   f o r   a c c e s s   t o   S e c r e t   o b j e c t s .   Y o u   s h o u l d   a l s o   f o l l o w   t h e   o t h e r   g u i d e l i n e s   i n   R B A C   g o o d   p r a c t i c e s .   C o m p o n e n t s :   R e s t r i c t   w a t c h   o r   l i s t   a c c e s s   t o   o n l y   t h e   m o s t   p r i v i l e g e d ,   s y s t e m - l e v e l   c o m p o n e n t s .   O n l y   g r a n t   g e t   a c c e s s   f o r   S e c r e t s   i f   t h e   c o m p o n e n t ' s   n o r m a l   b e h a v i o r   r e q u i r e s   i t . H u m a n s :   R e s t r i c t   g e t ,   w a t c h ,   o r   l i s t   a c c e s s   t o   S e c r e t s .   O n l y   a l l o w   c l u s t e r   a d m i n i s t r a t o r s   t o   a c c e s s   e t c d .   T h i s   i n c l u d e s   r e a d - o n l y   a c c e s s .   F o r   m o r e   c o m p l e x   a c c e s s   c o n t r o l ,   s u c h   a s   r e s t r i c t i n g   a c c e s s   t o   S e c r e t s   w i t h   s p e c i f i c   a n n o t a t i o n s ,   c o n s i d e r   u s i n g   t h i r d - p a r t y   a u t h o r i z a t i o n   m e c h a n i s m s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4173"
  },
  {
    "question": "What is Caution:?",
    "answer": "A   u s e r   w h o   c a n   c r e a t e   a   P o d   t h a t   u s e s   a   S e c r e t   c a n   a l s o   s e e   t h e   v a l u e   o f   t h a t   S e c r e t .   E v e n   i f   c l u s t e r   p o l i c i e s   d o   n o t   a l l o w   a   u s e r   t o   r e a d   t h e   S e c r e t   d i r e c t l y ,   t h e   s a m e   u s e r   c o u l d   h a v e   a c c e s s   t o   r u n   a   P o d   t h a t   t h e n   e x p o s e s   t h e   S e c r e t .   Y o u   c a n   d e t e c t   o r   l i m i t   t h e   i m p a c t   c a u s e d   b y   S e c r e t   d a t a   b e i n g   e x p o s e d ,   e i t h e r   i n t e n t i o n a l l y   o r   u n i n t e n t i o n a l l y ,   b y   a   u s e r   w i t h   t h i s   a c c e s s .   S o m e   r e c o m m e n d a t i o n s   i n c l u d e :   U s e   s h o r t - l i v e d   S e c r e t s I m p l e m e n t   a u d i t   r u l e s   t h a t   a l e r t   o n   s p e c i f i c   e v e n t s ,   s u c h   a s   c o n c u r r e n t   r e a d i n g   o f   m u l t i p l e   S e c r e t s   b y   a   s i n g l e   u s e r",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_4_4174"
  },
  {
    "question": "What is Restrict Access for Secrets?",
    "answer": "U s e   s e p a r a t e   n a m e s p a c e s   t o   i s o l a t e   a c c e s s   t o   m o u n t e d   s e c r e t s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_4_4175"
  },
  {
    "question": "What is Improve etcd management policies?",
    "answer": "C o n s i d e r   w i p i n g   o r   s h r e d d i n g   t h e   d u r a b l e   s t o r a g e   u s e d   b y   e t c d   o n c e   i t   i s   n o   l o n g e r   i n   u s e .   I f   t h e r e   a r e   m u l t i p l e   e t c d   i n s t a n c e s ,   c o n f i g u r e   e n c r y p t e d   S S L / T L S   c o m m u n i c a t i o n   b e t w e e n   t h e   i n s t a n c e s   t o   p r o t e c t   t h e   S e c r e t   d a t a   i n   t r a n s i t .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4176"
  },
  {
    "question": "What is Configure access to external Secrets?",
    "answer": "Y o u   c a n   u s e   t h i r d - p a r t y   S e c r e t s   s t o r e   p r o v i d e r s   t o   k e e p   y o u r   c o n f i d e n t i a l   d a t a   o u t s i d e   y o u r   c l u s t e r   a n d   t h e n   c o n f i g u r e   P o d s   t o   a c c e s s   t h a t   i n f o r m a t i o n .   T h e   K u b e r n e t e s   S e c r e t s   S t o r e   C S I   D r i v e r   i s   a   D a e m o n S e t   t h a t   l e t s   t h e   k u b e l e t   r e t r i e v e   S e c r e t s   f r o m   e x t e r n a l   s t o r e s ,   a n d   m o u n t   t h e   S e c r e t s   a s   a   v o l u m e   i n t o   s p e c i f i c   P o d s   t h a t   y o u   a u t h o r i z e   t o   a c c e s s   t h e   d a t a .   F o r   a   l i s t   o f   s u p p o r t e d   p r o v i d e r s ,   r e f e r   t o   P r o v i d e r s   f o r   t h e   S e c r e t   S t o r e   C S I   D r i v e r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4177"
  },
  {
    "question": "What is Good practices for using swap memory?",
    "answer": "F o r   b e s t   p r a c t i c e s   f o r   s e t t i n g   s w a p   m e m o r y   f o r   L i n u x   n o d e s ,   p l e a s e   r e f e r   t o   s w a p   m e m o r y   m a n a g e m e n t .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4178"
  },
  {
    "question": "What is Developers?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   g o o d   p r a c t i c e s   f o r   d e v e l o p e r s   t o   u s e   t o   i m p r o v e   t h e   s e c u r i t y   o f   c o n f i d e n t i a l   d a t a   w h e n   b u i l d i n g   a n d   d e p l o y i n g   K u b e r n e t e s   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4179"
  },
  {
    "question": "What is Restrict Secret access to specific containers?",
    "answer": "I f   y o u   a r e   d e f i n i n g   m u l t i p l e   c o n t a i n e r s   i n   a   P o d ,   a n d   o n l y   o n e   o f   t h o s e   c o n t a i n e r s   n e e d s   a c c e s s   t o   a   S e c r e t ,   d e f i n e   t h e   v o l u m e   m o u n t   o r   e n v i r o n m e n t   v a r i a b l e   c o n f i g u r a t i o n   s o   t h a t   t h e   o t h e r   c o n t a i n e r s   d o   n o t   h a v e   a c c e s s   t o   t h a t   S e c r e t .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4180"
  },
  {
    "question": "What is Protect Secret data after reading?",
    "answer": "A p p l i c a t i o n s   s t i l l   n e e d   t o   p r o t e c t   t h e   v a l u e   o f   c o n f i d e n t i a l   i n f o r m a t i o n   a f t e r   r e a d i n g   i t   f r o m   a n   e n v i r o n m e n t   v a r i a b l e   o r   v o l u m e .   F o r   e x a m p l e ,   y o u r   a p p l i c a t i o n   m u s t   a v o i d   l o g g i n g   t h e   s e c r e t   d a t a   i n   t h e   c l e a r   o r   t r a n s m i t t i n g   i t   t o   a n   u n t r u s t e d   p a r t y .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4181"
  },
  {
    "question": "What is Avoid sharing Secret manifests?",
    "answer": "I f   y o u   c o n f i g u r e   a   S e c r e t   t h r o u g h   a   m a n i f e s t ,   w i t h   t h e   s e c r e t   d a t a   e n c o d e d   a s   b a s e 6 4 ,   s h a r i n g   t h i s   f i l e   o r   c h e c k i n g   i t   i n   t o   a   s o u r c e   r e p o s i t o r y   m e a n s   t h e   s e c r e t   i s   a v a i l a b l e   t o   e v e r y o n e   w h o   c a n   r e a d   t h e   m a n i f e s t .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4182"
  },
  {
    "question": "What is 11 - Multi-tenancy?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   o f   a v a i l a b l e   c o n f i g u r a t i o n   o p t i o n s   a n d   b e s t   p r a c t i c e s   f o r   c l u s t e r   m u l t i - t e n a n c y .   S h a r i n g   c l u s t e r s   s a v e s   c o s t s   a n d   s i m p l i f i e s   a d m i n i s t r a t i o n .   H o w e v e r ,   s h a r i n g   c l u s t e r s   a l s o   p r e s e n t s   c h a l l e n g e s   s u c h   a s   s e c u r i t y ,   f a i r n e s s ,   a n d   m a n a g i n g   n o i s y   n e i g h b o r s .   C l u s t e r s   c a n   b e   s h a r e d   i n   m a n y   w a y s .   I n   s o m e   c a s e s ,   d i f f e r e n t   a p p l i c a t i o n s   m a y   r u n   i n   t h e   s a m e   c l u s t e r .   I n   o t h e r   c a s e s ,   m u l t i p l e   i n s t a n c e s   o f   t h e   s a m e   a p p l i c a t i o n   m a y   r u n   i n   t h e   s a m e   c l u s t e r ,   o n e   f o r   e a c h   e n d   u s e r .   A l l   t h e s e   t y p e s   o f   s h a r i n g   a r e   f r e q u e n t l y   d e s c r i b e d   u s i n g   t h e   u m b r e l l a   t e r m   m u l t i - t e n a n c y .   W h i l e   K u b e r n e t e s   d o e s   n o t   h a v e   f i r s t - c l a s s   c o n c e p t s   o f   e n d   u s e r s   o r   t e n a n t s ,   i t   p r o v i d e s   s e v e r a l   f e a t u r e s   t o   h e l p   m a n a g e   d i f f e r e n t   t e n a n c y   r e q u i r e m e n t s .   T h e s e   a r e   d i s c u s s e d   b e l o w .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_1_4183"
  },
  {
    "question": "What is Use cases?",
    "answer": "T h e   f i r s t   s t e p   t o   d e t e r m i n i n g   h o w   t o   s h a r e   y o u r   c l u s t e r   i s   u n d e r s t a n d i n g   y o u r   u s e   c a s e ,   s o   y o u   c a n   e v a l u a t e   t h e   p a t t e r n s   a n d   t o o l s   a v a i l a b l e .   I n   g e n e r a l ,   m u l t i - t e n a n c y   i n   K u b e r n e t e s   c l u s t e r s   f a l l s   i n t o   t w o   b r o a d   c a t e g o r i e s ,   t h o u g h   m a n y   v a r i a t i o n s   a n d   h y b r i d s   a r e   a l s o   p o s s i b l e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4184"
  },
  {
    "question": "What is Multiple teams?",
    "answer": "A   c o m m o n   f o r m   o f   m u l t i - t e n a n c y   i s   t o   s h a r e   a   c l u s t e r   b e t w e e n   m u l t i p l e   t e a m s   w i t h i n   a n   o r g a n i z a t i o n ,   e a c h   o f   w h o m   m a y   o p e r a t e   o n e   o r   m o r e   w o r k l o a d s .   T h e s e   w o r k l o a d s   f r e q u e n t l y   n e e d   t o   c o m m u n i c a t e   w i t h   e a c h   o t h e r ,   a n d   w i t h   o t h e r   w o r k l o a d s   l o c a t e d   o n   t h e   s a m e   o r   d i f f e r e n t   c l u s t e r s .   I n   t h i s   s c e n a r i o ,   m e m b e r s   o f   t h e   t e a m s   o f t e n   h a v e   d i r e c t   a c c e s s   t o   K u b e r n e t e s   r e s o u r c e s   v i a   t o o l s   s u c h   a s   k u b e c t l ,   o r   i n d i r e c t   a c c e s s   t h r o u g h   G i t O p s   c o n t r o l l e r s   o r   o t h e r   t y p e s   o f   r e l e a s e   a u t o m a t i o n   t o o l s .   T h e r e   i s   o f t e n   s o m e   l e v e l   o f   t r u s t   b e t w e e n   m e m b e r s   o f   d i f f e r e n t   t e a m s ,   b u t   K u b e r n e t e s   p o l i c i e s   s u c h   a s   R B A C ,   q u o t a s ,   a n d   n e t w o r k   p o l i c i e s   a r e   e s s e n t i a l   t o   s a f e l y   a n d   f a i r l y   s h a r e   c l u s t e r s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4185"
  },
  {
    "question": "What is Multiple customers?",
    "answer": "T h e   o t h e r   m a j o r   f o r m   o f   m u l t i - t e n a n c y   f r e q u e n t l y   i n v o l v e s   a   S o f t w a r e - a s - a - S e r v i c e   ( S a a S )   v e n d o r   r u n n i n g   m u l t i p l e   i n s t a n c e s   o f   a   w o r k l o a d   f o r   c u s t o m e r s .   T h i s   b u s i n e s s   m o d e l   i s   s o   s t r o n g l y   a s s o c i a t e d   w i t h   t h i s   d e p l o y m e n t   s t y l e   t h a t   m a n y   p e o p l e   c a l l   i t   \" S a a S   t e n a n c y . \"   H o w e v e r ,   a   b e t t e r   t e r m   m i g h t   b e   \" m u l t i - c u s t o m e r   t e n a n c y , \"   s i n c e   S a a S   v e n d o r s   m a y   a l s o   u s e   o t h e r   d e p l o y m e n t   m o d e l s ,   a n d   t h i s   d e p l o y m e n t   m o d e l   c a n   a l s o   b e   u s e d   o u t s i d e   o f   S a a S .   I n   t h i s   s c e n a r i o ,   t h e   c u s t o m e r s   d o   n o t   h a v e   a c c e s s   t o   t h e   c l u s t e r ;   K u b e r n e t e s   i s   i n v i s i b l e   f r o m   t h e i r   p e r s p e c t i v e   a n d   i s   o n l y   u s e d   b y   t h e   v e n d o r   t o   m a n a g e   t h e   w o r k l o a d s .   C o s t   o p t i m i z a t i o n   i s   f r e q u e n t l y   a   c r i t i c a l   c o n c e r n ,   a n d   K u b e r n e t e s   p o l i c i e s   a r e   u s e d   t o   e n s u r e   t h a t   t h e   w o r k l o a d s   a r e   s t r o n g l y   i s o l a t e d   f r o m   e a c h   o t h e r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4186"
  },
  {
    "question": "What is Tenants?",
    "answer": "W h e n   d i s c u s s i n g   m u l t i - t e n a n c y   i n   K u b e r n e t e s ,   t h e r e   i s   n o   s i n g l e   d e f i n i t i o n   f o r   a   \" t e n a n t \" .   R a t h e r ,   t h e   d e f i n i t i o n   o f   a   t e n a n t   w i l l   v a r y   d e p e n d i n g   o n   w h e t h e r   m u l t i - t e a m   o r   m u l t i - c u s t o m e r   t e n a n c y   i s   b e i n g   d i s c u s s e d .   I n   m u l t i - t e a m   u s a g e ,   a   t e n a n t   i s   t y p i c a l l y   a   t e a m ,   w h e r e   e a c h   t e a m   t y p i c a l l y   d e p l o y s   a   s m a l l   n u m b e r   o f   w o r k l o a d s   t h a t   s c a l e s   w i t h   t h e   c o m p l e x i t y   o f   t h e   s e r v i c e .   H o w e v e r ,   t h e   d e f i n i t i o n   o f   \" t e a m \"   m a y   i t s e l f   b e   f u z z y ,   a s   t e a m s   m a y   b e   o r g a n i z e d   i n t o   h i g h e r - l e v e l   d i v i s i o n s   o r   s u b d i v i d e d   i n t o   s m a l l e r   t e a m s .   B y   c o n t r a s t ,   i f   e a c h   t e a m   d e p l o y s   d e d i c a t e d   w o r k l o a d s   f o r   e a c h   n e w   c l i e n t ,   t h e y   a r e   u s i n g   a   m u l t i - c u s t o m e r   m o d e l   o f   t e n a n c y .   I n   t h i s   c a s e ,   a   \" t e n a n t \"   i s   s i m p l y   a   g r o u p   o f   u s e r s   w h o   s h a r e   a   s i n g l e   w o r k l o a d .   T h i s   m a y   b e   a s   l a r g e   a s   a n   e n t i r e   c o m p a n y ,   o r   a s   s m a l l   a s   a   s i n g l e   t e a m   a t   t h a t   c o m p a n y .   I n   m a n y   c a s e s ,   t h e   s a m e   o r g a n i z a t i o n   m a y   u s e   b o t h   d e f i n i t i o n s   o f   \" t e n a n t s \"   i n   d i f f e r e n t   c o n t e x t s .   F o r   e x a m p l e ,   a   p l a t f o r m   t e a m   m a y   o f f e r   s h a r e d   s e r v i c e s   s u c h   a s   s e c u r i t y   t o o l s   a n d   d a t a b a s ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4187"
  },
  {
    "question": "What is Isolation?",
    "answer": "T h e r e   a r e   s e v e r a l   w a y s   t o   d e s i g n   a n d   b u i l d   m u l t i - t e n a n t   s o l u t i o n s   w i t h   K u b e r n e t e s .   E a c h   o f   t h e s e   m e t h o d s   c o m e s   w i t h   i t s   o w n   s e t   o f   t r a d e o f f s   t h a t   i m p a c t   t h e   i s o l a t i o n   l e v e l ,   i m p l e m e n t a t i o n   e f f o r t ,   o p e r a t i o n a l   c o m p l e x i t y ,   a n d   c o s t   o f   s e r v i c e .   A   K u b e r n e t e s   c l u s t e r   c o n s i s t s   o f   a   c o n t r o l   p l a n e   w h i c h   r u n s   K u b e r n e t e s   s o f t w a r e ,   a n d   a   d a t a   p l a n e   c o n s i s t i n g   o f   w o r k e r   n o d e s   w h e r e   t e n a n t   w o r k l o a d s   a r e   e x e c u t e d   a s   p o d s .   T e n a n t   i s o l a t i o n   c a n   b e   a p p l i e d   i n   b o t h   t h e   c o n t r o l   p l a n e   a n d   t h e   d a t a   p l a n e   b a s e d   o n   o r g a n i z a t i o n a l   r e q u i r e m e n t s .   T h e   l e v e l   o f   i s o l a t i o n   o f f e r e d   i s   s o m e t i m e s   d e s c r i b e d   u s i n g   t e r m s   l i k e   “ h a r d ”   m u l t i - t e n a n c y ,   w h i c h   i m p l i e s   s t r o n g   i s o l a t i o n ,   a n d   “ s o f t ”   m u l t i - t e n a n c y ,   w h i c h   i m p l i e s   w e a k e r   i s o l a t i o n .   I n   p a r t i c u l a r ,   \" h a r d \"   m u l t i - t e n a n c y   i s   o f t e n   u s e d   t o   d e s c r i b e   c a s e s   w h e r e   t h e   t e n a n t s   d o   n o t   t r u s t   e a c h   o t h e r ,   o f t e n   f r o m   s e c u r i t y   a n d   r e s o u r c e   s h a r i n g   p e r s p e c t i v e s   ( e . g .   g u a r d i n g   a g a i n s t   a t t a c k s   s u c h   a s   d a t a   e x f i l t r a t i o n   o r   D o S ) .   S i n c e   d a t a   p l a n e s   t y p i c a l l y   h a v e   m u c h   l a r g e r   a t t a c k   s u r f a c e ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4188"
  },
  {
    "question": "What is Control plane isolation?",
    "answer": "C o n t r o l   p l a n e   i s o l a t i o n   e n s u r e s   t h a t   d i f f e r e n t   t e n a n t s   c a n n o t   a c c e s s   o r   a f f e c t   e a c h   o t h e r s '   K u b e r n e t e s   A P I   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4189"
  },
  {
    "question": "What is Namespaces?",
    "answer": "I n   K u b e r n e t e s ,   a   N a m e s p a c e   p r o v i d e s   a   m e c h a n i s m   f o r   i s o l a t i n g   g r o u p s   o f   A P I   r e s o u r c e s   w i t h i n   a   s i n g l e   c l u s t e r .   T h i s   i s o l a t i o n   h a s   t w o   k e y   d i m e n s i o n s :   O b j e c t   n a m e s   w i t h i n   a   n a m e s p a c e   c a n   o v e r l a p   w i t h   n a m e s   i n   o t h e r   n a m e s p a c e s ,   s i m i l a r   t o   f i l e s   i n   f o l d e r s .   T h i s   a l l o w s   t e n a n t s   t o   n a m e   t h e i r   r e s o u r c e s   w i t h o u t   h a v i n g   t o   c o n s i d e r   w h a t   o t h e r   t e n a n t s   a r e   d o i n g . M a n y   K u b e r n e t e s   s e c u r i t y   p o l i c i e s   a r e   s c o p e d   t o   n a m e s p a c e s .   F o r   e x a m p l e ,   R B A C   R o l e s   a n d   N e t w o r k   P o l i c i e s   a r e   n a m e s p a c e - s c o p e d   r e s o u r c e s .   U s i n g   R B A C ,   U s e r s   a n d   S e r v i c e   A c c o u n t s   c a n   b e   r e s t r i c t e d   t o   a   n a m e s p a c e .   O b j e c t   n a m e s   w i t h i n   a   n a m e s p a c e   c a n   o v e r l a p   w i t h   n a m e s   i n   o t h e r   n a m e s p a c e s ,   s i m i l a r   t o   f i l e s   i n   f o l d e r s .   T h i s   a l l o w s   t e n a n t s   t o   n a m e   t h e i r   r e s o u r c e s   w i t h o u t   h a v i n g   t o   c o n s i d e r   w h a t   o t h e r   t e n a n t s   a r e   d o i n g .   M a n y   K u b e r n e t e s   s e c u r i t y   p o l i c i e s   a r e   s c o p e d   t o   n a m e s p a c e s .   F o r   e x a m p l e ,   R B A C   R o l e s   a n d   N e t w o r k   P o l i c i e s   a r e   n a m e s p a c e - s c o p e d   r e s o u r c e s .   U s i n g   R B A C ,   U s e r s   a n d   S e r v i c e   A c c o u n t s   c a n   b e   r e s t r i c t e d   t o   a   n a m e s p a c e .   I n   a   m u l t i - t e n a n t   e ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4190"
  },
  {
    "question": "What is Access controls?",
    "answer": "T h e   m o s t   i m p o r t a n t   t y p e   o f   i s o l a t i o n   f o r   t h e   c o n t r o l   p l a n e   i s   a u t h o r i z a t i o n .   I f   t e a m s   o r   t h e i r   w o r k l o a d s   c a n   a c c e s s   o r   m o d i f y   e a c h   o t h e r s '   A P I   r e s o u r c e s ,   t h e y   c a n   c h a n g e   o r   d i s a b l e   a l l   o t h e r   t y p e s   o f   p o l i c i e s   t h e r e b y   n e g a t i n g   a n y   p r o t e c t i o n   t h o s e   p o l i c i e s   m a y   o f f e r .   A s   a   r e s u l t ,   i t   i s   c r i t i c a l   t o   e n s u r e   t h a t   e a c h   t e n a n t   h a s   t h e   a p p r o p r i a t e   a c c e s s   t o   o n l y   t h e   n a m e s p a c e s   t h e y   n e e d ,   a n d   n o   m o r e .   T h i s   i s   k n o w n   a s   t h e   \" P r i n c i p l e   o f   L e a s t   P r i v i l e g e . \"   R o l e - b a s e d   a c c e s s   c o n t r o l   ( R B A C )   i s   c o m m o n l y   u s e d   t o   e n f o r c e   a u t h o r i z a t i o n   i n   t h e   K u b e r n e t e s   c o n t r o l   p l a n e ,   f o r   b o t h   u s e r s   a n d   w o r k l o a d s   ( s e r v i c e   a c c o u n t s ) .   R o l e s   a n d   R o l e B i n d i n g s   a r e   K u b e r n e t e s   o b j e c t s   t h a t   a r e   u s e d   a t   a   n a m e s p a c e   l e v e l   t o   e n f o r c e   a c c e s s   c o n t r o l   i n   y o u r   a p p l i c a t i o n ;   s i m i l a r   o b j e c t s   e x i s t   f o r   a u t h o r i z i n g   a c c e s s   t o   c l u s t e r - l e v e l   o b j e c t s ,   t h o u g h   t h e s e   a r e   l e s s   u s e f u l   f o r   m u l t i - t e n a n t   c l u s t e r s .   I n   a   m u l t i - t e a m   e n v i r o n m e n t ,   R B A C   m u s t   b e   u s e d   t o   r e s t r i c t   t e n a n t s '   a c c e s s   t o   t h e   a p p r o p r i a t e   n a m e s p a c e s ,   a n d   e n s u r e   t h a t   c l u s t e r - w i d e   r e s o ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4191"
  },
  {
    "question": "What is Quotas?",
    "answer": "K u b e r n e t e s   w o r k l o a d s   c o n s u m e   n o d e   r e s o u r c e s ,   l i k e   C P U   a n d   m e m o r y .   I n   a   m u l t i - t e n a n t   e n v i r o n m e n t ,   y o u   c a n   u s e   R e s o u r c e   Q u o t a s   t o   m a n a g e   r e s o u r c e   u s a g e   o f   t e n a n t   w o r k l o a d s .   F o r   t h e   m u l t i p l e   t e a m s   u s e   c a s e ,   w h e r e   t e n a n t s   h a v e   a c c e s s   t o   t h e   K u b e r n e t e s   A P I ,   y o u   c a n   u s e   r e s o u r c e   q u o t a s   t o   l i m i t   t h e   n u m b e r   o f   A P I   r e s o u r c e s   ( f o r   e x a m p l e :   t h e   n u m b e r   o f   P o d s ,   o r   t h e   n u m b e r   o f   C o n f i g M a p s )   t h a t   a   t e n a n t   c a n   c r e a t e .   L i m i t s   o n   o b j e c t   c o u n t   e n s u r e   f a i r n e s s   a n d   a i m   t o   a v o i d   n o i s y   n e i g h b o r   i s s u e s   f r o m   a f f e c t i n g   o t h e r   t e n a n t s   t h a t   s h a r e   a   c o n t r o l   p l a n e .   R e s o u r c e   q u o t a s   a r e   n a m e s p a c e d   o b j e c t s .   B y   m a p p i n g   t e n a n t s   t o   n a m e s p a c e s ,   c l u s t e r   a d m i n s   c a n   u s e   q u o t a s   t o   e n s u r e   t h a t   a   t e n a n t   c a n n o t   m o n o p o l i z e   a   c l u s t e r ' s   r e s o u r c e s   o r   o v e r w h e l m   i t s   c o n t r o l   p l a n e .   N a m e s p a c e   m a n a g e m e n t   t o o l s   s i m p l i f y   t h e   a d m i n i s t r a t i o n   o f   q u o t a s .   I n   a d d i t i o n ,   w h i l e   K u b e r n e t e s   q u o t a s   o n l y   a p p l y   w i t h i n   a   s i n g l e   n a m e s p a c e ,   s o m e   n a m e s p a c e   m a n a g e m e n t   t o o l s   a l l o w   g r o u p s   o f   n a m e s p a c e s   t o   s h a r e   q u o t a s ,   g i v i n g   a d m i n i s t r a t o r s   f a r   m o r e   f l e x i b i l i t ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4192"
  },
  {
    "question": "What is Data Plane Isolation?",
    "answer": "D a t a   p l a n e   i s o l a t i o n   e n s u r e s   t h a t   p o d s   a n d   w o r k l o a d s   f o r   d i f f e r e n t   t e n a n t s   a r e   s u f f i c i e n t l y   i s o l a t e d .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4193"
  },
  {
    "question": "What is Network isolation?",
    "answer": "B y   d e f a u l t ,   a l l   p o d s   i n   a   K u b e r n e t e s   c l u s t e r   a r e   a l l o w e d   t o   c o m m u n i c a t e   w i t h   e a c h   o t h e r ,   a n d   a l l   n e t w o r k   t r a f f i c   i s   u n e n c r y p t e d .   T h i s   c a n   l e a d   t o   s e c u r i t y   v u l n e r a b i l i t i e s   w h e r e   t r a f f i c   i s   a c c i d e n t a l l y   o r   m a l i c i o u s l y   s e n t   t o   a n   u n i n t e n d e d   d e s t i n a t i o n ,   o r   i s   i n t e r c e p t e d   b y   a   w o r k l o a d   o n   a   c o m p r o m i s e d   n o d e .   P o d - t o - p o d   c o m m u n i c a t i o n   c a n   b e   c o n t r o l l e d   u s i n g   N e t w o r k   P o l i c i e s ,   w h i c h   r e s t r i c t   c o m m u n i c a t i o n   b e t w e e n   p o d s   u s i n g   n a m e s p a c e   l a b e l s   o r   I P   a d d r e s s   r a n g e s .   I n   a   m u l t i - t e n a n t   e n v i r o n m e n t   w h e r e   s t r i c t   n e t w o r k   i s o l a t i o n   b e t w e e n   t e n a n t s   i s   r e q u i r e d ,   s t a r t i n g   w i t h   a   d e f a u l t   p o l i c y   t h a t   d e n i e s   c o m m u n i c a t i o n   b e t w e e n   p o d s   i s   r e c o m m e n d e d   w i t h   a n o t h e r   r u l e   t h a t   a l l o w s   a l l   p o d s   t o   q u e r y   t h e   D N S   s e r v e r   f o r   n a m e   r e s o l u t i o n .   W i t h   s u c h   a   d e f a u l t   p o l i c y   i n   p l a c e ,   y o u   c a n   b e g i n   a d d i n g   m o r e   p e r m i s s i v e   r u l e s   t h a t   a l l o w   f o r   c o m m u n i c a t i o n   w i t h i n   a   n a m e s p a c e .   I t   i s   a l s o   r e c o m m e n d e d   n o t   t o   u s e   e m p t y   l a b e l   s e l e c t o r   ' { } '   f o r   n a m e s p a c e S e l e c t o r   f i e l d   i n   n e t w o r k   p o l i c y   d e f i n i t i o n ,   i n   c a s e   t r a f f i c   n e e d   t o   b e   a l l o w e d ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4194"
  },
  {
    "question": "What is Warning:?",
    "answer": "M o r e   a d v a n c e d   n e t w o r k   i s o l a t i o n   m a y   b e   p r o v i d e d   b y   s e r v i c e   m e s h e s ,   w h i c h   p r o v i d e   O S I   L a y e r   7   p o l i c i e s   b a s e d   o n   w o r k l o a d   i d e n t i t y ,   i n   a d d i t i o n   t o   n a m e s p a c e s .   T h e s e   h i g h e r - l e v e l   p o l i c i e s   c a n   m a k e   i t   e a s i e r   t o   m a n a g e   n a m e s p a c e - b a s e d   m u l t i - t e n a n c y ,   e s p e c i a l l y   w h e n   m u l t i p l e   n a m e s p a c e s   a r e   d e d i c a t e d   t o   a   s i n g l e   t e n a n t .   T h e y   f r e q u e n t l y   a l s o   o f f e r   e n c r y p t i o n   u s i n g   m u t u a l   T L S ,   p r o t e c t i n g   y o u r   d a t a   e v e n   i n   t h e   p r e s e n c e   o f   a   c o m p r o m i s e d   n o d e ,   a n d   w o r k   a c r o s s   d e d i c a t e d   o r   v i r t u a l   c l u s t e r s .   H o w e v e r ,   t h e y   c a n   b e   s i g n i f i c a n t l y   m o r e   c o m p l e x   t o   m a n a g e   a n d   m a y   n o t   b e   a p p r o p r i a t e   f o r   a l l   u s e r s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_4_4195"
  },
  {
    "question": "What is Storage isolation?",
    "answer": "K u b e r n e t e s   o f f e r s   s e v e r a l   t y p e s   o f   v o l u m e s   t h a t   c a n   b e   u s e d   a s   p e r s i s t e n t   s t o r a g e   f o r   w o r k l o a d s .   F o r   s e c u r i t y   a n d   d a t a - i s o l a t i o n ,   d y n a m i c   v o l u m e   p r o v i s i o n i n g   i s   r e c o m m e n d e d   a n d   v o l u m e   t y p e s   t h a t   u s e   n o d e   r e s o u r c e s   s h o u l d   b e   a v o i d e d .   S t o r a g e C l a s s e s   a l l o w   y o u   t o   d e s c r i b e   c u s t o m   \" c l a s s e s \"   o f   s t o r a g e   o f f e r e d   b y   y o u r   c l u s t e r ,   b a s e d   o n   q u a l i t y - o f - s e r v i c e   l e v e l s ,   b a c k u p   p o l i c i e s ,   o r   c u s t o m   p o l i c i e s   d e t e r m i n e d   b y   t h e   c l u s t e r   a d m i n i s t r a t o r s .   P o d s   c a n   r e q u e s t   s t o r a g e   u s i n g   a   P e r s i s t e n t V o l u m e C l a i m .   A   P e r s i s t e n t V o l u m e C l a i m   i s   a   n a m e s p a c e d   r e s o u r c e ,   w h i c h   e n a b l e s   i s o l a t i n g   p o r t i o n s   o f   t h e   s t o r a g e   s y s t e m   a n d   d e d i c a t i n g   i t   t o   t e n a n t s   w i t h i n   t h e   s h a r e d   K u b e r n e t e s   c l u s t e r .   H o w e v e r ,   i t   i s   i m p o r t a n t   t o   n o t e   t h a t   a   P e r s i s t e n t V o l u m e   i s   a   c l u s t e r - w i d e   r e s o u r c e   a n d   h a s   a   l i f e c y c l e   i n d e p e n d e n t   o f   w o r k l o a d s   a n d   n a m e s p a c e s .   F o r   e x a m p l e ,   y o u   c a n   c o n f i g u r e   a   s e p a r a t e   S t o r a g e C l a s s   f o r   e a c h   t e n a n t   a n d   u s e   t h i s   t o   s t r e n g t h e n   i s o l a t i o n .   I f   a   S t o r a g e C l a s s   i s   s h a r e d ,   y o u   s h o u l d   s e t   a   r e c l a i m   p o l i c y   o f   D e l e t e   t o   e n s u r e   ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4196"
  },
  {
    "question": "What is Sandboxing containers?",
    "answer": "K u b e r n e t e s   p o d s   a r e   c o m p o s e d   o f   o n e   o r   m o r e   c o n t a i n e r s   t h a t   e x e c u t e   o n   w o r k e r   n o d e s .   C o n t a i n e r s   u t i l i z e   O S - l e v e l   v i r t u a l i z a t i o n   a n d   h e n c e   o f f e r   a   w e a k e r   i s o l a t i o n   b o u n d a r y   t h a n   v i r t u a l   m a c h i n e s   t h a t   u t i l i z e   h a r d w a r e - b a s e d   v i r t u a l i z a t i o n .   I n   a   s h a r e d   e n v i r o n m e n t ,   u n p a t c h e d   v u l n e r a b i l i t i e s   i n   t h e   a p p l i c a t i o n   a n d   s y s t e m   l a y e r s   c a n   b e   e x p l o i t e d   b y   a t t a c k e r s   f o r   c o n t a i n e r   b r e a k o u t s   a n d   r e m o t e   c o d e   e x e c u t i o n   t h a t   a l l o w   a c c e s s   t o   h o s t   r e s o u r c e s .   I n   s o m e   a p p l i c a t i o n s ,   l i k e   a   C o n t e n t   M a n a g e m e n t   S y s t e m   ( C M S ) ,   c u s t o m e r s   m a y   b e   a l l o w e d   t h e   a b i l i t y   t o   u p l o a d   a n d   e x e c u t e   u n t r u s t e d   s c r i p t s   o r   c o d e .   I n   e i t h e r   c a s e ,   m e c h a n i s m s   t o   f u r t h e r   i s o l a t e   a n d   p r o t e c t   w o r k l o a d s   u s i n g   s t r o n g   i s o l a t i o n   a r e   d e s i r a b l e .   S a n d b o x i n g   p r o v i d e s   a   w a y   t o   i s o l a t e   w o r k l o a d s   r u n n i n g   i n   a   s h a r e d   c l u s t e r .   I t   t y p i c a l l y   i n v o l v e s   r u n n i n g   e a c h   p o d   i n   a   s e p a r a t e   e x e c u t i o n   e n v i r o n m e n t   s u c h   a s   a   v i r t u a l   m a c h i n e   o r   a   u s e r s p a c e   k e r n e l .   S a n d b o x i n g   i s   o f t e n   r e c o m m e n d e d   w h e n   y o u   a r e   r u n n i n g   u n t r u s t e d   c o d e ,   w h e r e   w o r k l o a d s   a r e   a s s u m e d   t o   b e   ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4197"
  },
  {
    "question": "What is Node Isolation?",
    "answer": "N o d e   i s o l a t i o n   i s   a n o t h e r   t e c h n i q u e   t h a t   y o u   c a n   u s e   t o   i s o l a t e   t e n a n t   w o r k l o a d s   f r o m   e a c h   o t h e r .   W i t h   n o d e   i s o l a t i o n ,   a   s e t   o f   n o d e s   i s   d e d i c a t e d   t o   r u n n i n g   p o d s   f r o m   a   p a r t i c u l a r   t e n a n t   a n d   c o - m i n g l i n g   o f   t e n a n t   p o d s   i s   p r o h i b i t e d .   T h i s   c o n f i g u r a t i o n   r e d u c e s   t h e   n o i s y   t e n a n t   i s s u e ,   a s   a l l   p o d s   r u n n i n g   o n   a   n o d e   w i l l   b e l o n g   t o   a   s i n g l e   t e n a n t .   T h e   r i s k   o f   i n f o r m a t i o n   d i s c l o s u r e   i s   s l i g h t l y   l o w e r   w i t h   n o d e   i s o l a t i o n   b e c a u s e   a n   a t t a c k e r   t h a t   m a n a g e s   t o   e s c a p e   f r o m   a   c o n t a i n e r   w i l l   o n l y   h a v e   a c c e s s   t o   t h e   c o n t a i n e r s   a n d   v o l u m e s   m o u n t e d   t o   t h a t   n o d e .   A l t h o u g h   w o r k l o a d s   f r o m   d i f f e r e n t   t e n a n t s   a r e   r u n n i n g   o n   d i f f e r e n t   n o d e s ,   i t   i s   i m p o r t a n t   t o   b e   a w a r e   t h a t   t h e   k u b e l e t   a n d   ( u n l e s s   u s i n g   v i r t u a l   c o n t r o l   p l a n e s )   t h e   A P I   s e r v i c e   a r e   s t i l l   s h a r e d   s e r v i c e s .   A   s k i l l e d   a t t a c k e r   c o u l d   u s e   t h e   p e r m i s s i o n s   a s s i g n e d   t o   t h e   k u b e l e t   o r   o t h e r   p o d s   r u n n i n g   o n   t h e   n o d e   t o   m o v e   l a t e r a l l y   w i t h i n   t h e   c l u s t e r   a n d   g a i n   a c c e s s   t o   t e n a n t   w o r k l o a d s   r u n n i n g   o n   o t h e r   n o d e s .   I f   t h i s   i s   a   m a j o r   c o n c e r n ,   c o n s i d e r   i m p l e ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4198"
  },
  {
    "question": "What is Additional Considerations?",
    "answer": "T h i s   s e c t i o n   d i s c u s s e s   o t h e r   K u b e r n e t e s   c o n s t r u c t s   a n d   p a t t e r n s   t h a t   a r e   r e l e v a n t   f o r   m u l t i - t e n a n c y .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4199"
  },
  {
    "question": "What is API Priority and Fairness?",
    "answer": "A P I   p r i o r i t y   a n d   f a i r n e s s   i s   a   K u b e r n e t e s   f e a t u r e   t h a t   a l l o w s   y o u   t o   a s s i g n   a   p r i o r i t y   t o   c e r t a i n   p o d s   r u n n i n g   w i t h i n   t h e   c l u s t e r .   W h e n   a n   a p p l i c a t i o n   c a l l s   t h e   K u b e r n e t e s   A P I ,   t h e   A P I   s e r v e r   e v a l u a t e s   t h e   p r i o r i t y   a s s i g n e d   t o   p o d .   C a l l s   f r o m   p o d s   w i t h   h i g h e r   p r i o r i t y   a r e   f u l f i l l e d   b e f o r e   t h o s e   w i t h   a   l o w e r   p r i o r i t y .   W h e n   c o n t e n t i o n   i s   h i g h ,   l o w e r   p r i o r i t y   c a l l s   c a n   b e   q u e u e d   u n t i l   t h e   s e r v e r   i s   l e s s   b u s y   o r   y o u   c a n   r e j e c t   t h e   r e q u e s t s .   U s i n g   A P I   p r i o r i t y   a n d   f a i r n e s s   w i l l   n o t   b e   v e r y   c o m m o n   i n   S a a S   e n v i r o n m e n t s   u n l e s s   y o u   a r e   a l l o w i n g   c u s t o m e r s   t o   r u n   a p p l i c a t i o n s   t h a t   i n t e r f a c e   w i t h   t h e   K u b e r n e t e s   A P I ,   f o r   e x a m p l e ,   a   c o n t r o l l e r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4200"
  },
  {
    "question": "What is Quality-of-Service (QoS)?",
    "answer": "W h e n   y o u ’ r e   r u n n i n g   a   S a a S   a p p l i c a t i o n ,   y o u   m a y   w a n t   t h e   a b i l i t y   t o   o f f e r   d i f f e r e n t   Q u a l i t y - o f - S e r v i c e   ( Q o S )   t i e r s   o f   s e r v i c e   t o   d i f f e r e n t   t e n a n t s .   F o r   e x a m p l e ,   y o u   m a y   h a v e   f r e e m i u m   s e r v i c e   t h a t   c o m e s   w i t h   f e w e r   p e r f o r m a n c e   g u a r a n t e e s   a n d   f e a t u r e s   a n d   a   f o r - f e e   s e r v i c e   t i e r   w i t h   s p e c i f i c   p e r f o r m a n c e   g u a r a n t e e s .   F o r t u n a t e l y ,   t h e r e   a r e   s e v e r a l   K u b e r n e t e s   c o n s t r u c t s   t h a t   c a n   h e l p   y o u   a c c o m p l i s h   t h i s   w i t h i n   a   s h a r e d   c l u s t e r ,   i n c l u d i n g   n e t w o r k   Q o S ,   s t o r a g e   c l a s s e s ,   a n d   p o d   p r i o r i t y   a n d   p r e e m p t i o n .   T h e   i d e a   w i t h   e a c h   o f   t h e s e   i s   t o   p r o v i d e   t e n a n t s   w i t h   t h e   q u a l i t y   o f   s e r v i c e   t h a t   t h e y   p a i d   f o r .   L e t ’ s   s t a r t   b y   l o o k i n g   a t   n e t w o r k i n g   Q o S .   T y p i c a l l y ,   a l l   p o d s   o n   a   n o d e   s h a r e   a   n e t w o r k   i n t e r f a c e .   W i t h o u t   n e t w o r k   Q o S ,   s o m e   p o d s   m a y   c o n s u m e   a n   u n f a i r   s h a r e   o f   t h e   a v a i l a b l e   b a n d w i d t h   a t   t h e   e x p e n s e   o f   o t h e r   p o d s .   T h e   K u b e r n e t e s   b a n d w i d t h   p l u g i n   c r e a t e s   a n   e x t e n d e d   r e s o u r c e   f o r   n e t w o r k i n g   t h a t   a l l o w s   y o u   t o   u s e   K u b e r n e t e s   r e s o u r c e s   c o n s t r u c t s ,   i . e .   r e q u e s t s / l i m i t s ,   t o   a p p l y   r a t e   l i m i t s   t o   p o d s   b y   u s ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4201"
  },
  {
    "question": "What is DNS?",
    "answer": "K u b e r n e t e s   c l u s t e r s   i n c l u d e   a   D o m a i n   N a m e   S y s t e m   ( D N S )   s e r v i c e   t o   p r o v i d e   t r a n s l a t i o n s   f r o m   n a m e s   t o   I P   a d d r e s s e s ,   f o r   a l l   S e r v i c e s   a n d   P o d s .   B y   d e f a u l t ,   t h e   K u b e r n e t e s   D N S   s e r v i c e   a l l o w s   l o o k u p s   a c r o s s   a l l   n a m e s p a c e s   i n   t h e   c l u s t e r .   I n   m u l t i - t e n a n t   e n v i r o n m e n t s   w h e r e   t e n a n t s   c a n   a c c e s s   p o d s   a n d   o t h e r   K u b e r n e t e s   r e s o u r c e s ,   o r   w h e r e   s t r o n g e r   i s o l a t i o n   i s   r e q u i r e d ,   i t   m a y   b e   n e c e s s a r y   t o   p r e v e n t   p o d s   f r o m   l o o k i n g   u p   s e r v i c e s   i n   o t h e r   N a m e s p a c e s .   Y o u   c a n   r e s t r i c t   c r o s s - n a m e s p a c e   D N S   l o o k u p s   b y   c o n f i g u r i n g   s e c u r i t y   r u l e s   f o r   t h e   D N S   s e r v i c e .   F o r   e x a m p l e ,   C o r e D N S   ( t h e   d e f a u l t   D N S   s e r v i c e   f o r   K u b e r n e t e s )   c a n   l e v e r a g e   K u b e r n e t e s   m e t a d a t a   t o   r e s t r i c t   q u e r i e s   t o   P o d s   a n d   S e r v i c e s   w i t h i n   a   n a m e s p a c e .   F o r   m o r e   i n f o r m a t i o n ,   r e a d   a n   e x a m p l e   o f   c o n f i g u r i n g   t h i s   w i t h i n   t h e   C o r e D N S   d o c u m e n t a t i o n .   W h e n   a   V i r t u a l   C o n t r o l   P l a n e   p e r   t e n a n t   m o d e l   i s   u s e d ,   a   D N S   s e r v i c e   m u s t   b e   c o n f i g u r e d   p e r   t e n a n t   o r   a   m u l t i - t e n a n t   D N S   s e r v i c e   m u s t   b e   u s e d .   H e r e   i s   a n   e x a m p l e   o f   a   c u s t o m i z e d   v e r s i o n   o f   C o r e D N S   t h a t   s u p p o r ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4202"
  },
  {
    "question": "What is Operators?",
    "answer": "O p e r a t o r s   a r e   K u b e r n e t e s   c o n t r o l l e r s   t h a t   m a n a g e   a p p l i c a t i o n s .   O p e r a t o r s   c a n   s i m p l i f y   t h e   m a n a g e m e n t   o f   m u l t i p l e   i n s t a n c e s   o f   a n   a p p l i c a t i o n ,   l i k e   a   d a t a b a s e   s e r v i c e ,   w h i c h   m a k e s   t h e m   a   c o m m o n   b u i l d i n g   b l o c k   i n   t h e   m u l t i - c o n s u m e r   ( S a a S )   m u l t i - t e n a n c y   u s e   c a s e .   O p e r a t o r s   u s e d   i n   a   m u l t i - t e n a n t   e n v i r o n m e n t   s h o u l d   f o l l o w   a   s t r i c t e r   s e t   o f   g u i d e l i n e s .   S p e c i f i c a l l y ,   t h e   O p e r a t o r   s h o u l d :   S u p p o r t   c r e a t i n g   r e s o u r c e s   w i t h i n   d i f f e r e n t   t e n a n t   n a m e s p a c e s ,   r a t h e r   t h a n   j u s t   i n   t h e   n a m e s p a c e   i n   w h i c h   t h e   O p e r a t o r   i s   d e p l o y e d . E n s u r e   t h a t   t h e   P o d s   a r e   c o n f i g u r e d   w i t h   r e s o u r c e   r e q u e s t s   a n d   l i m i t s ,   t o   e n s u r e   s c h e d u l i n g   a n d   f a i r n e s s . S u p p o r t   c o n f i g u r a t i o n   o f   P o d s   f o r   d a t a - p l a n e   i s o l a t i o n   t e c h n i q u e s   s u c h   a s   n o d e   i s o l a t i o n   a n d   s a n d b o x e d   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4203"
  },
  {
    "question": "What is Implementations?",
    "answer": "T h e r e   a r e   t w o   p r i m a r y   w a y s   t o   s h a r e   a   K u b e r n e t e s   c l u s t e r   f o r   m u l t i - t e n a n c y :   u s i n g   N a m e s p a c e s   ( t h a t   i s ,   a   N a m e s p a c e   p e r   t e n a n t )   o r   b y   v i r t u a l i z i n g   t h e   c o n t r o l   p l a n e   ( t h a t   i s ,   v i r t u a l   c o n t r o l   p l a n e   p e r   t e n a n t ) .   I n   b o t h   c a s e s ,   d a t a   p l a n e   i s o l a t i o n ,   a n d   m a n a g e m e n t   o f   a d d i t i o n a l   c o n s i d e r a t i o n s   s u c h   a s   A P I   P r i o r i t y   a n d   F a i r n e s s ,   i s   a l s o   r e c o m m e n d e d .   N a m e s p a c e   i s o l a t i o n   i s   w e l l - s u p p o r t e d   b y   K u b e r n e t e s ,   h a s   a   n e g l i g i b l e   r e s o u r c e   c o s t ,   a n d   p r o v i d e s   m e c h a n i s m s   t o   a l l o w   t e n a n t s   t o   i n t e r a c t   a p p r o p r i a t e l y ,   s u c h   a s   b y   a l l o w i n g   s e r v i c e - t o - s e r v i c e   c o m m u n i c a t i o n .   H o w e v e r ,   i t   c a n   b e   d i f f i c u l t   t o   c o n f i g u r e ,   a n d   d o e s n ' t   a p p l y   t o   K u b e r n e t e s   r e s o u r c e s   t h a t   c a n ' t   b e   n a m e s p a c e d ,   s u c h   a s   C u s t o m   R e s o u r c e   D e f i n i t i o n s ,   S t o r a g e   C l a s s e s ,   a n d   W e b h o o k s .   C o n t r o l   p l a n e   v i r t u a l i z a t i o n   a l l o w s   f o r   i s o l a t i o n   o f   n o n - n a m e s p a c e d   r e s o u r c e s   a t   t h e   c o s t   o f   s o m e w h a t   h i g h e r   r e s o u r c e   u s a g e   a n d   m o r e   d i f f i c u l t   c r o s s - t e n a n t   s h a r i n g .   I t   i s   a   g o o d   o p t i o n   w h e n   n a m e s p a c e   i s o l a t i o n   i s   i n s u f f i c i e n t   b u t   d e d i c a t e d   c l u s t e r s   a r e   u n d e s i r a b l e ,   d u ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4204"
  },
  {
    "question": "What is Namespace per tenant?",
    "answer": "A s   p r e v i o u s l y   m e n t i o n e d ,   y o u   s h o u l d   c o n s i d e r   i s o l a t i n g   e a c h   w o r k l o a d   i n   i t s   o w n   n a m e s p a c e ,   e v e n   i f   y o u   a r e   u s i n g   d e d i c a t e d   c l u s t e r s   o r   v i r t u a l i z e d   c o n t r o l   p l a n e s .   T h i s   e n s u r e s   t h a t   e a c h   w o r k l o a d   o n l y   h a s   a c c e s s   t o   i t s   o w n   r e s o u r c e s ,   s u c h   a s   C o n f i g M a p s   a n d   S e c r e t s ,   a n d   a l l o w s   y o u   t o   t a i l o r   d e d i c a t e d   s e c u r i t y   p o l i c i e s   f o r   e a c h   w o r k l o a d .   I n   a d d i t i o n ,   i t   i s   a   b e s t   p r a c t i c e   t o   g i v e   e a c h   n a m e s p a c e   n a m e s   t h a t   a r e   u n i q u e   a c r o s s   y o u r   e n t i r e   f l e e t   ( t h a t   i s ,   e v e n   i f   t h e y   a r e   i n   s e p a r a t e   c l u s t e r s ) ,   a s   t h i s   g i v e s   y o u   t h e   f l e x i b i l i t y   t o   s w i t c h   b e t w e e n   d e d i c a t e d   a n d   s h a r e d   c l u s t e r s   i n   t h e   f u t u r e ,   o r   t o   u s e   m u l t i - c l u s t e r   t o o l i n g   s u c h   a s   s e r v i c e   m e s h e s .   C o n v e r s e l y ,   t h e r e   a r e   a l s o   a d v a n t a g e s   t o   a s s i g n i n g   n a m e s p a c e s   a t   t h e   t e n a n t   l e v e l ,   n o t   j u s t   t h e   w o r k l o a d   l e v e l ,   s i n c e   t h e r e   a r e   o f t e n   p o l i c i e s   t h a t   a p p l y   t o   a l l   w o r k l o a d s   o w n e d   b y   a   s i n g l e   t e n a n t .   H o w e v e r ,   t h i s   r a i s e s   i t s   o w n   p r o b l e m s .   F i r s t l y ,   t h i s   m a k e s   i t   d i f f i c u l t   o r   i m p o s s i b l e   t o   c u s t o m i z e   p o l i c i e s   t o   i n d i v i d u a l   w o r k l o a d s ,   a n d   s e c o n d l y ,   i t   m a y   b e   c ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4205"
  },
  {
    "question": "What is Virtual control plane per tenant?",
    "answer": "A n o t h e r   f o r m   o f   c o n t r o l - p l a n e   i s o l a t i o n   i s   t o   u s e   K u b e r n e t e s   e x t e n s i o n s   t o   p r o v i d e   e a c h   t e n a n t   a   v i r t u a l   c o n t r o l - p l a n e   t h a t   e n a b l e s   s e g m e n t a t i o n   o f   c l u s t e r - w i d e   A P I   r e s o u r c e s .   D a t a   p l a n e   i s o l a t i o n   t e c h n i q u e s   c a n   b e   u s e d   w i t h   t h i s   m o d e l   t o   s e c u r e l y   m a n a g e   w o r k e r   n o d e s   a c r o s s   t e n a n t s .   T h e   v i r t u a l   c o n t r o l   p l a n e   b a s e d   m u l t i - t e n a n c y   m o d e l   e x t e n d s   n a m e s p a c e - b a s e d   m u l t i - t e n a n c y   b y   p r o v i d i n g   e a c h   t e n a n t   w i t h   d e d i c a t e d   c o n t r o l   p l a n e   c o m p o n e n t s ,   a n d   h e n c e   c o m p l e t e   c o n t r o l   o v e r   c l u s t e r - w i d e   r e s o u r c e s   a n d   a d d - o n   s e r v i c e s .   W o r k e r   n o d e s   a r e   s h a r e d   a c r o s s   a l l   t e n a n t s ,   a n d   a r e   m a n a g e d   b y   a   K u b e r n e t e s   c l u s t e r   t h a t   i s   n o r m a l l y   i n a c c e s s i b l e   t o   t e n a n t s .   T h i s   c l u s t e r   i s   o f t e n   r e f e r r e d   t o   a s   a   s u p e r - c l u s t e r   ( o r   s o m e t i m e s   a s   a   h o s t - c l u s t e r ) .   S i n c e   a   t e n a n t ’ s   c o n t r o l - p l a n e   i s   n o t   d i r e c t l y   a s s o c i a t e d   w i t h   u n d e r l y i n g   c o m p u t e   r e s o u r c e s   i t   i s   r e f e r r e d   t o   a s   a   v i r t u a l   c o n t r o l   p l a n e .   A   v i r t u a l   c o n t r o l   p l a n e   t y p i c a l l y   c o n s i s t s   o f   t h e   K u b e r n e t e s   A P I   s e r v e r ,   t h e   c o n t r o l l e r   m a n a g e r ,   a n d   t h e   e t c d   d a t a   s t o r e .   I t   i n t e r a c t ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4206"
  },
  {
    "question": "What is 12 - Hardening Guide - Authentication Mechanisms?",
    "answer": "S e l e c t i n g   t h e   a p p r o p r i a t e   a u t h e n t i c a t i o n   m e c h a n i s m ( s )   i s   a   c r u c i a l   a s p e c t   o f   s e c u r i n g   y o u r   c l u s t e r .   K u b e r n e t e s   p r o v i d e s   s e v e r a l   b u i l t - i n   m e c h a n i s m s ,   e a c h   w i t h   i t s   o w n   s t r e n g t h s   a n d   w e a k n e s s e s   t h a t   s h o u l d   b e   c a r e f u l l y   c o n s i d e r e d   w h e n   c h o o s i n g   t h e   b e s t   a u t h e n t i c a t i o n   m e c h a n i s m   f o r   y o u r   c l u s t e r .   I n   g e n e r a l ,   i t   i s   r e c o m m e n d e d   t o   e n a b l e   a s   f e w   a u t h e n t i c a t i o n   m e c h a n i s m s   a s   p o s s i b l e   t o   s i m p l i f y   u s e r   m a n a g e m e n t   a n d   p r e v e n t   c a s e s   w h e r e   u s e r s   r e t a i n   a c c e s s   t o   a   c l u s t e r   t h a t   i s   n o   l o n g e r   r e q u i r e d .   I t   i s   i m p o r t a n t   t o   n o t e   t h a t   K u b e r n e t e s   d o e s   n o t   h a v e   a n   i n - b u i l t   u s e r   d a t a b a s e   w i t h i n   t h e   c l u s t e r .   I n s t e a d ,   i t   t a k e s   u s e r   i n f o r m a t i o n   f r o m   t h e   c o n f i g u r e d   a u t h e n t i c a t i o n   s y s t e m   a n d   u s e s   t h a t   t o   m a k e   a u t h o r i z a t i o n   d e c i s i o n s .   T h e r e f o r e ,   t o   a u d i t   u s e r   a c c e s s ,   y o u   n e e d   t o   r e v i e w   c r e d e n t i a l s   f r o m   e v e r y   c o n f i g u r e d   a u t h e n t i c a t i o n   s o u r c e .   F o r   p r o d u c t i o n   c l u s t e r s   w i t h   m u l t i p l e   u s e r s   d i r e c t l y   a c c e s s i n g   t h e   K u b e r n e t e s   A P I ,   i t   i s   r e c o m m e n d e d   t o   u s e   e x t e r n a l   a u t h e n t i c a t i o n   s o u r c e s   s u c h   a s   O I D C .   T h e   i n t e r n a l   a u t h e n t i ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_1_4207"
  },
  {
    "question": "What is X.509 client certificate authentication?",
    "answer": "K u b e r n e t e s   l e v e r a g e s   X . 5 0 9   c l i e n t   c e r t i f i c a t e   a u t h e n t i c a t i o n   f o r   s y s t e m   c o m p o n e n t s ,   s u c h   a s   w h e n   t h e   k u b e l e t   a u t h e n t i c a t e s   t o   t h e   A P I   S e r v e r .   W h i l e   t h i s   m e c h a n i s m   c a n   a l s o   b e   u s e d   f o r   u s e r   a u t h e n t i c a t i o n ,   i t   m i g h t   n o t   b e   s u i t a b l e   f o r   p r o d u c t i o n   u s e   d u e   t o   s e v e r a l   r e s t r i c t i o n s :   C l i e n t   c e r t i f i c a t e s   c a n n o t   b e   i n d i v i d u a l l y   r e v o k e d .   O n c e   c o m p r o m i s e d ,   a   c e r t i f i c a t e   c a n   b e   u s e d   b y   a n   a t t a c k e r   u n t i l   i t   e x p i r e s .   T o   m i t i g a t e   t h i s   r i s k ,   i t   i s   r e c o m m e n d e d   t o   c o n f i g u r e   s h o r t   l i f e t i m e s   f o r   u s e r   a u t h e n t i c a t i o n   c r e d e n t i a l s   c r e a t e d   u s i n g   c l i e n t   c e r t i f i c a t e s . I f   a   c e r t i f i c a t e   n e e d s   t o   b e   i n v a l i d a t e d ,   t h e   c e r t i f i c a t e   a u t h o r i t y   m u s t   b e   r e - k e y e d ,   w h i c h   c a n   i n t r o d u c e   a v a i l a b i l i t y   r i s k s   t o   t h e   c l u s t e r . T h e r e   i s   n o   p e r m a n e n t   r e c o r d   o f   c l i e n t   c e r t i f i c a t e s   c r e a t e d   i n   t h e   c l u s t e r .   T h e r e f o r e ,   a l l   i s s u e d   c e r t i f i c a t e s   m u s t   b e   r e c o r d e d   i f   y o u   n e e d   t o   k e e p   t r a c k   o f   t h e m . P r i v a t e   k e y s   u s e d   f o r   c l i e n t   c e r t i f i c a t e   a u t h e n t i c a t i o n   c a n n o t   b e   p a s s w o r d - p r o t e c t e d .   A n y o n e   w h o   c a n   r e a d   t h e   f i l e   c o n t a i n i n g   t h e   k e y   w i l l   b e   a b l e   t o   m ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4208"
  },
  {
    "question": "What is Static token file?",
    "answer": "A l t h o u g h   K u b e r n e t e s   a l l o w s   y o u   t o   l o a d   c r e d e n t i a l s   f r o m   a   s t a t i c   t o k e n   f i l e   l o c a t e d   o n   t h e   c o n t r o l   p l a n e   n o d e   d i s k s ,   t h i s   a p p r o a c h   i s   n o t   r e c o m m e n d e d   f o r   p r o d u c t i o n   s e r v e r s   d u e   t o   s e v e r a l   r e a s o n s :   C r e d e n t i a l s   a r e   s t o r e d   i n   c l e a r   t e x t   o n   c o n t r o l   p l a n e   n o d e   d i s k s ,   w h i c h   c a n   b e   a   s e c u r i t y   r i s k . C h a n g i n g   a n y   c r e d e n t i a l   r e q u i r e s   a   r e s t a r t   o f   t h e   A P I   s e r v e r   p r o c e s s   t o   t a k e   e f f e c t ,   w h i c h   c a n   i m p a c t   a v a i l a b i l i t y . T h e r e   i s   n o   m e c h a n i s m   a v a i l a b l e   t o   a l l o w   u s e r s   t o   r o t a t e   t h e i r   c r e d e n t i a l s .   T o   r o t a t e   a   c r e d e n t i a l ,   a   c l u s t e r   a d m i n i s t r a t o r   m u s t   m o d i f y   t h e   t o k e n   o n   d i s k   a n d   d i s t r i b u t e   i t   t o   t h e   u s e r s . T h e r e   i s   n o   l o c k o u t   m e c h a n i s m   a v a i l a b l e   t o   p r e v e n t   b r u t e - f o r c e   a t t a c k s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4209"
  },
  {
    "question": "What is Bootstrap tokens?",
    "answer": "B o o t s t r a p   t o k e n s   a r e   u s e d   f o r   j o i n i n g   n o d e s   t o   c l u s t e r s   a n d   a r e   n o t   r e c o m m e n d e d   f o r   u s e r   a u t h e n t i c a t i o n   d u e   t o   s e v e r a l   r e a s o n s :   T h e y   h a v e   h a r d - c o d e d   g r o u p   m e m b e r s h i p s   t h a t   a r e   n o t   s u i t a b l e   f o r   g e n e r a l   u s e ,   m a k i n g   t h e m   u n s u i t a b l e   f o r   a u t h e n t i c a t i o n   p u r p o s e s . M a n u a l l y   g e n e r a t i n g   b o o t s t r a p   t o k e n s   c a n   l e a d   t o   w e a k   t o k e n s   t h a t   c a n   b e   g u e s s e d   b y   a n   a t t a c k e r ,   w h i c h   c a n   b e   a   s e c u r i t y   r i s k . T h e r e   i s   n o   l o c k o u t   m e c h a n i s m   a v a i l a b l e   t o   p r e v e n t   b r u t e - f o r c e   a t t a c k s ,   m a k i n g   i t   e a s i e r   f o r   a t t a c k e r s   t o   g u e s s   o r   c r a c k   t h e   t o k e n .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4210"
  },
  {
    "question": "What is ServiceAccount secret tokens?",
    "answer": "S e r v i c e   a c c o u n t   s e c r e t s   a r e   a v a i l a b l e   a s   a n   o p t i o n   t o   a l l o w   w o r k l o a d s   r u n n i n g   i n   t h e   c l u s t e r   t o   a u t h e n t i c a t e   t o   t h e   A P I   s e r v e r .   I n   K u b e r n e t e s   <   1 . 2 3 ,   t h e s e   w e r e   t h e   d e f a u l t   o p t i o n ,   h o w e v e r ,   t h e y   a r e   b e i n g   r e p l a c e d   w i t h   T o k e n R e q u e s t   A P I   t o k e n s .   W h i l e   t h e s e   s e c r e t s   c o u l d   b e   u s e d   f o r   u s e r   a u t h e n t i c a t i o n ,   t h e y   a r e   g e n e r a l l y   u n s u i t a b l e   f o r   a   n u m b e r   o f   r e a s o n s :   T h e y   c a n n o t   b e   s e t   w i t h   a n   e x p i r y   a n d   w i l l   r e m a i n   v a l i d   u n t i l   t h e   a s s o c i a t e d   s e r v i c e   a c c o u n t   i s   d e l e t e d . T h e   a u t h e n t i c a t i o n   t o k e n s   a r e   v i s i b l e   t o   a n y   c l u s t e r   u s e r   w h o   c a n   r e a d   s e c r e t s   i n   t h e   n a m e s p a c e   t h a t   t h e y   a r e   d e f i n e d   i n . S e r v i c e   a c c o u n t s   c a n n o t   b e   a d d e d   t o   a r b i t r a r y   g r o u p s   c o m p l i c a t i n g   R B A C   m a n a g e m e n t   w h e r e   t h e y   a r e   u s e d .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4211"
  },
  {
    "question": "What is TokenRequest API tokens?",
    "answer": "T h e   T o k e n R e q u e s t   A P I   i s   a   u s e f u l   t o o l   f o r   g e n e r a t i n g   s h o r t - l i v e d   c r e d e n t i a l s   f o r   s e r v i c e   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e r   o r   t h i r d - p a r t y   s y s t e m s .   H o w e v e r ,   i t   i s   n o t   g e n e r a l l y   r e c o m m e n d e d   f o r   u s e r   a u t h e n t i c a t i o n   a s   t h e r e   i s   n o   r e v o c a t i o n   m e t h o d   a v a i l a b l e ,   a n d   d i s t r i b u t i n g   c r e d e n t i a l s   t o   u s e r s   i n   a   s e c u r e   m a n n e r   c a n   b e   c h a l l e n g i n g .   W h e n   u s i n g   T o k e n R e q u e s t   t o k e n s   f o r   s e r v i c e   a u t h e n t i c a t i o n ,   i t   i s   r e c o m m e n d e d   t o   i m p l e m e n t   a   s h o r t   l i f e s p a n   t o   r e d u c e   t h e   i m p a c t   o f   c o m p r o m i s e d   t o k e n s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4212"
  },
  {
    "question": "What is OpenID Connect token authentication?",
    "answer": "K u b e r n e t e s   s u p p o r t s   i n t e g r a t i n g   e x t e r n a l   a u t h e n t i c a t i o n   s e r v i c e s   w i t h   t h e   K u b e r n e t e s   A P I   u s i n g   O p e n I D   C o n n e c t   ( O I D C ) .   T h e r e   i s   a   w i d e   v a r i e t y   o f   s o f t w a r e   t h a t   c a n   b e   u s e d   t o   i n t e g r a t e   K u b e r n e t e s   w i t h   a n   i d e n t i t y   p r o v i d e r .   H o w e v e r ,   w h e n   u s i n g   O I D C   a u t h e n t i c a t i o n   i n   K u b e r n e t e s ,   i t   i s   i m p o r t a n t   t o   c o n s i d e r   t h e   f o l l o w i n g   h a r d e n i n g   m e a s u r e s :   T h e   s o f t w a r e   i n s t a l l e d   i n   t h e   c l u s t e r   t o   s u p p o r t   O I D C   a u t h e n t i c a t i o n   s h o u l d   b e   i s o l a t e d   f r o m   g e n e r a l   w o r k l o a d s   a s   i t   w i l l   r u n   w i t h   h i g h   p r i v i l e g e s . S o m e   K u b e r n e t e s   m a n a g e d   s e r v i c e s   a r e   l i m i t e d   i n   t h e   O I D C   p r o v i d e r s   t h a t   c a n   b e   u s e d . A s   w i t h   T o k e n R e q u e s t   t o k e n s ,   O I D C   t o k e n s   s h o u l d   h a v e   a   s h o r t   l i f e s p a n   t o   r e d u c e   t h e   i m p a c t   o f   c o m p r o m i s e d   t o k e n s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4213"
  },
  {
    "question": "What is Webhook token authentication?",
    "answer": "W e b h o o k   t o k e n   a u t h e n t i c a t i o n   i s   a n o t h e r   o p t i o n   f o r   i n t e g r a t i n g   e x t e r n a l   a u t h e n t i c a t i o n   p r o v i d e r s   i n t o   K u b e r n e t e s .   T h i s   m e c h a n i s m   a l l o w s   f o r   a n   a u t h e n t i c a t i o n   s e r v i c e ,   e i t h e r   r u n n i n g   i n s i d e   t h e   c l u s t e r   o r   e x t e r n a l l y ,   t o   b e   c o n t a c t e d   f o r   a n   a u t h e n t i c a t i o n   d e c i s i o n   o v e r   a   w e b h o o k .   I t   i s   i m p o r t a n t   t o   n o t e   t h a t   t h e   s u i t a b i l i t y   o f   t h i s   m e c h a n i s m   w i l l   l i k e l y   d e p e n d   o n   t h e   s o f t w a r e   u s e d   f o r   t h e   a u t h e n t i c a t i o n   s e r v i c e ,   a n d   t h e r e   a r e   s o m e   K u b e r n e t e s - s p e c i f i c   c o n s i d e r a t i o n s   t o   t a k e   i n t o   a c c o u n t .   T o   c o n f i g u r e   W e b h o o k   a u t h e n t i c a t i o n ,   a c c e s s   t o   c o n t r o l   p l a n e   s e r v e r   f i l e s y s t e m s   i s   r e q u i r e d .   T h i s   m e a n s   t h a t   i t   w i l l   n o t   b e   p o s s i b l e   w i t h   M a n a g e d   K u b e r n e t e s   u n l e s s   t h e   p r o v i d e r   s p e c i f i c a l l y   m a k e s   i t   a v a i l a b l e .   A d d i t i o n a l l y ,   a n y   s o f t w a r e   i n s t a l l e d   i n   t h e   c l u s t e r   t o   s u p p o r t   t h i s   a c c e s s   s h o u l d   b e   i s o l a t e d   f r o m   g e n e r a l   w o r k l o a d s ,   a s   i t   w i l l   r u n   w i t h   h i g h   p r i v i l e g e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4214"
  },
  {
    "question": "What is Authenticating proxy?",
    "answer": "A n o t h e r   o p t i o n   f o r   i n t e g r a t i n g   e x t e r n a l   a u t h e n t i c a t i o n   s y s t e m s   i n t o   K u b e r n e t e s   i s   t o   u s e   a n   a u t h e n t i c a t i n g   p r o x y .   W i t h   t h i s   m e c h a n i s m ,   K u b e r n e t e s   e x p e c t s   t o   r e c e i v e   r e q u e s t s   f r o m   t h e   p r o x y   w i t h   s p e c i f i c   h e a d e r   v a l u e s   s e t ,   i n d i c a t i n g   t h e   u s e r n a m e   a n d   g r o u p   m e m b e r s h i p s   t o   a s s i g n   f o r   a u t h o r i z a t i o n   p u r p o s e s .   I t   i s   i m p o r t a n t   t o   n o t e   t h a t   t h e r e   a r e   s p e c i f i c   c o n s i d e r a t i o n s   t o   t a k e   i n t o   a c c o u n t   w h e n   u s i n g   t h i s   m e c h a n i s m .   F i r s t l y ,   s e c u r e l y   c o n f i g u r e d   T L S   m u s t   b e   u s e d   b e t w e e n   t h e   p r o x y   a n d   K u b e r n e t e s   A P I   s e r v e r   t o   m i t i g a t e   t h e   r i s k   o f   t r a f f i c   i n t e r c e p t i o n   o r   s n i f f i n g   a t t a c k s .   T h i s   e n s u r e s   t h a t   t h e   c o m m u n i c a t i o n   b e t w e e n   t h e   p r o x y   a n d   K u b e r n e t e s   A P I   s e r v e r   i s   s e c u r e .   S e c o n d l y ,   i t   i s   i m p o r t a n t   t o   b e   a w a r e   t h a t   a n   a t t a c k e r   w h o   i s   a b l e   t o   m o d i f y   t h e   h e a d e r s   o f   t h e   r e q u e s t   m a y   b e   a b l e   t o   g a i n   u n a u t h o r i z e d   a c c e s s   t o   K u b e r n e t e s   r e s o u r c e s .   A s   s u c h ,   i t   i s   i m p o r t a n t   t o   e n s u r e   t h a t   t h e   h e a d e r s   a r e   p r o p e r l y   s e c u r e d   a n d   c a n n o t   b e   t a m p e r e d   w i t h .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4215"
  },
  {
    "question": "What is What's next?",
    "answer": "U s e r   A u t h e n t i c a t i o n A u t h e n t i c a t i n g   w i t h   B o o t s t r a p   T o k e n s k u b e l e t   A u t h e n t i c a t i o n A u t h e n t i c a t i n g   w i t h   S e r v i c e   A c c o u n t   T o k e n s",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4216"
  },
  {
    "question": "What is 13 - Hardening Guide - Scheduler Configuration?",
    "answer": "T h e   K u b e r n e t e s   s c h e d u l e r   i s   o n e   o f   t h e   c r i t i c a l   c o m p o n e n t s   o f   t h e   c o n t r o l   p l a n e .   T h i s   d o c u m e n t   c o v e r s   h o w   t o   i m p r o v e   t h e   s e c u r i t y   p o s t u r e   o f   t h e   S c h e d u l e r .   A   m i s c o n f i g u r e d   s c h e d u l e r   c a n   h a v e   s e c u r i t y   i m p l i c a t i o n s .   S u c h   a   s c h e d u l e r   c a n   t a r g e t   s p e c i f i c   n o d e s   a n d   e v i c t   t h e   w o r k l o a d s   o r   a p p l i c a t i o n s   t h a t   a r e   s h a r i n g   t h e   n o d e   a n d   i t s   r e s o u r c e s .   T h i s   c a n   a i d   a n   a t t a c k e r   w i t h   a   Y o - Y o   a t t a c k :   a n   a t t a c k   o n   a   v u l n e r a b l e   a u t o s c a l e r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_1_4217"
  },
  {
    "question": "What is Scheduler authentication & authorization command line options?",
    "answer": "W h e n   s e t t i n g   u p   a u t h e n t i c a t i o n   c o n f i g u r a t i o n ,   i t   s h o u l d   b e   m a d e   s u r e   t h a t   k u b e - s c h e d u l e r ' s   a u t h e n t i c a t i o n   r e m a i n s   c o n s i s t e n t   w i t h   k u b e - a p i - s e r v e r ' s   a u t h e n t i c a t i o n .   I f   a n y   r e q u e s t   h a s   m i s s i n g   a u t h e n t i c a t i o n   h e a d e r s ,   t h e   a u t h e n t i c a t i o n   s h o u l d   h a p p e n   t h r o u g h   t h e   k u b e - a p i - s e r v e r   a l l o w i n g   a l l   a u t h e n t i c a t i o n   t o   b e   c o n s i s t e n t   i n   t h e   c l u s t e r .   a u t h e n t i c a t i o n - k u b e c o n f i g :   M a k e   s u r e   t o   p r o v i d e   a   p r o p e r   k u b e c o n f i g   s o   t h a t   t h e   s c h e d u l e r   c a n   r e t r i e v e   a u t h e n t i c a t i o n   c o n f i g u r a t i o n   o p t i o n s   f r o m   t h e   A P I   S e r v e r .   T h i s   k u b e c o n f i g   f i l e   s h o u l d   b e   p r o t e c t e d   w i t h   s t r i c t   f i l e   p e r m i s s i o n s . a u t h e n t i c a t i o n - t o l e r a t e - l o o k u p - f a i l u r e :   S e t   t h i s   t o   f a l s e   t o   m a k e   s u r e   t h e   s c h e d u l e r   a l w a y s   l o o k s   u p   i t s   a u t h e n t i c a t i o n   c o n f i g u r a t i o n   f r o m   t h e   A P I   s e r v e r . a u t h e n t i c a t i o n - s k i p - l o o k u p :   S e t   t h i s   t o   f a l s e   t o   m a k e   s u r e   t h e   s c h e d u l e r   a l w a y s   l o o k s   u p   i t s   a u t h e n t i c a t i o n   c o n f i g u r a t i o n   f r o m   t h e   A P I   s e r v e r . a u t h o r i z a t i o n - a l w a y s - a l l o w - p a t h s :   T h e s e   p a t h s   s h o u l d   r e s p o n d   w i t h   d a t a   t h a t   i s   a p p r o p r i a t e   f o r   a n o n y m o u s   a u t h o r i z a t i o n .   D e f a u l t s   t o   / h e a ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4218"
  },
  {
    "question": "What is Scheduler networking command line options?",
    "answer": "b i n d - a d d r e s s :   I n   m o s t   c a s e s ,   t h e   k u b e - s c h e d u l e r   d o e s   n o t   n e e d   t o   b e   e x t e r n a l l y   a c c e s s i b l e .   S e t t i n g   t h e   b i n d   a d d r e s s   t o   l o c a l h o s t   i s   a   s e c u r e   p r a c t i c e . p e r m i t - a d d r e s s - s h a r i n g :   S e t   t h i s   t o   f a l s e   t o   d i s a b l e   c o n n e c t i o n   s h a r i n g   t h r o u g h   S O _ R E U S E A D D R .   S O _ R E U S E A D D R   c a n   l e a d   t o   r e u s e   o f   t e r m i n a t e d   c o n n e c t i o n s   t h a t   a r e   i n   T I M E _ W A I T   s t a t e . p e r m i t - p o r t - s h a r i n g :   D e f a u l t   f a l s e .   U s e   t h e   d e f a u l t   u n l e s s   y o u   a r e   c o n f i d e n t   y o u   u n d e r s t a n d   t h e   s e c u r i t y   i m p l i c a t i o n s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4219"
  },
  {
    "question": "What is Scheduler TLS command line options?",
    "answer": "t l s - c i p h e r - s u i t e s :   A l w a y s   p r o v i d e   a   l i s t   o f   p r e f e r r e d   c i p h e r   s u i t e s .   T h i s   e n s u r e s   e n c r y p t i o n   n e v e r   h a p p e n s   w i t h   i n s e c u r e   c i p h e r   s u i t e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4220"
  },
  {
    "question": "What is Scheduling configurations for custom schedulers?",
    "answer": "W h e n   u s i n g   c u s t o m   s c h e d u l e r s   b a s e d   o n   t h e   K u b e r n e t e s   s c h e d u l i n g   c o d e ,   c l u s t e r   a d m i n i s t r a t o r s   n e e d   t o   b e   c a r e f u l   w i t h   p l u g i n s   t h a t   u s e   t h e   q u e u e S o r t ,   p r e f i l t e r ,   f i l t e r ,   o r   p e r m i t   e x t e n s i o n   p o i n t s .   T h e s e   e x t e n s i o n   p o i n t s   c o n t r o l   v a r i o u s   s t a g e s   o f   a   s c h e d u l i n g   p r o c e s s ,   a n d   t h e   w r o n g   c o n f i g u r a t i o n   c a n   i m p a c t   t h e   k u b e - s c h e d u l e r ' s   b e h a v i o r   i n   y o u r   c l u s t e r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4221"
  },
  {
    "question": "What is Key considerations?",
    "answer": "E x a c t l y   o n e   p l u g i n   t h a t   u s e s   t h e   q u e u e S o r t   e x t e n s i o n   p o i n t   c a n   b e   e n a b l e d   a t   a   t i m e .   A n y   p l u g i n s   t h a t   u s e   q u e u e S o r t   s h o u l d   b e   s c r u t i n i z e d . P l u g i n s   t h a t   i m p l e m e n t   t h e   p r e f i l t e r   o r   f i l t e r   e x t e n s i o n   p o i n t   c a n   p o t e n t i a l l y   m a r k   a l l   n o d e s   a s   u n s c h e d u l a b l e .   T h i s   c a n   b r i n g   s c h e d u l i n g   o f   n e w   p o d s   t o   a   h a l t . P l u g i n s   t h a t   i m p l e m e n t   t h e   p e r m i t   e x t e n s i o n   p o i n t   c a n   p r e v e n t   o r   d e l a y   t h e   b i n d i n g   o f   a   P o d .   S u c h   p l u g i n s   s h o u l d   b e   t h o r o u g h l y   r e v i e w e d   b y   t h e   c l u s t e r   a d m i n i s t r a t o r .   W h e n   u s i n g   a   p l u g i n   t h a t   i s   n o t   o n e   o f   t h e   d e f a u l t   p l u g i n s ,   c o n s i d e r   d i s a b l i n g   t h e   q u e u e S o r t ,   f i l t e r   a n d   p e r m i t   e x t e n s i o n   p o i n t s   a s   f o l l o w s :   a p i V e r s i o n :   k u b e s c h e d u l e r . c o n f i g . k 8 s . i o / v 1   k i n d :   K u b e S c h e d u l e r C o n f i g u r a t i o n   p r o f i l e s :   -   s c h e d u l e r N a m e :   m y - s c h e d u l e r   p l u g i n s :   #   D i s a b l e   s p e c i f i c   p l u g i n s   f o r   d i f f e r e n t   e x t e n s i o n   p o i n t s   #   Y o u   c a n   d i s a b l e   a l l   p l u g i n s   f o r   a n   e x t e n s i o n   p o i n t   u s i n g   \" * \"   q u e u e S o r t :   d i s a b l e d :   -   n a m e :   \" * \"   #   D i s a b l e   a l l   q u e u e S o r t   p l u g i n s   #   -   n a m e :   \" P r i o r i t y S o r t \"   #   D i s a b l e   s p e c i f i c   q u e u e S o r t   p l u g i n   f i l t e r :   d i s a b l e d :   -   n a m ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4222"
  },
  {
    "question": "What is Disallow labeling nodes?",
    "answer": "A   c l u s t e r   a d m i n i s t r a t o r   s h o u l d   e n s u r e   t h a t   c l u s t e r   u s e r s   c a n n o t   l a b e l   t h e   n o d e s .   A   m a l i c i o u s   a c t o r   c a n   u s e   n o d e S e l e c t o r   t o   s c h e d u l e   w o r k l o a d s   o n   n o d e s   w h e r e   t h o s e   w o r k l o a d s   s h o u l d   n o t   b e   p r e s e n t .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4223"
  },
  {
    "question": "What is 14 - Kubernetes API Server Bypass Risks?",
    "answer": "T h e   K u b e r n e t e s   A P I   s e r v e r   i s   t h e   m a i n   p o i n t   o f   e n t r y   t o   a   c l u s t e r   f o r   e x t e r n a l   p a r t i e s   ( u s e r s   a n d   s e r v i c e s )   i n t e r a c t i n g   w i t h   i t .   A s   p a r t   o f   t h i s   r o l e ,   t h e   A P I   s e r v e r   h a s   s e v e r a l   k e y   b u i l t - i n   s e c u r i t y   c o n t r o l s ,   s u c h   a s   a u d i t   l o g g i n g   a n d   a d m i s s i o n   c o n t r o l l e r s .   H o w e v e r ,   t h e r e   a r e   w a y s   t o   m o d i f y   t h e   c o n f i g u r a t i o n   o r   c o n t e n t   o f   t h e   c l u s t e r   t h a t   b y p a s s   t h e s e   c o n t r o l s .   T h i s   p a g e   d e s c r i b e s   t h e   w a y s   i n   w h i c h   t h e   s e c u r i t y   c o n t r o l s   b u i l t   i n t o   t h e   K u b e r n e t e s   A P I   s e r v e r   c a n   b e   b y p a s s e d ,   s o   t h a t   c l u s t e r   o p e r a t o r s   a n d   s e c u r i t y   a r c h i t e c t s   c a n   e n s u r e   t h a t   t h e s e   b y p a s s e s   a r e   a p p r o p r i a t e l y   r e s t r i c t e d .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_1_4224"
  },
  {
    "question": "What is Static Pods?",
    "answer": "T h e   k u b e l e t   o n   e a c h   n o d e   l o a d s   a n d   d i r e c t l y   m a n a g e s   a n y   m a n i f e s t s   t h a t   a r e   s t o r e d   i n   a   n a m e d   d i r e c t o r y   o r   f e t c h e d   f r o m   a   s p e c i f i c   U R L   a s   s t a t i c   P o d s   i n   y o u r   c l u s t e r .   T h e   A P I   s e r v e r   d o e s n ' t   m a n a g e   t h e s e   s t a t i c   P o d s .   A n   a t t a c k e r   w i t h   w r i t e   a c c e s s   t o   t h i s   l o c a t i o n   c o u l d   m o d i f y   t h e   c o n f i g u r a t i o n   o f   s t a t i c   p o d s   l o a d e d   f r o m   t h a t   s o u r c e ,   o r   c o u l d   i n t r o d u c e   n e w   s t a t i c   P o d s .   S t a t i c   P o d s   a r e   r e s t r i c t e d   f r o m   a c c e s s i n g   o t h e r   o b j e c t s   i n   t h e   K u b e r n e t e s   A P I .   F o r   e x a m p l e ,   y o u   c a n ' t   c o n f i g u r e   a   s t a t i c   P o d   t o   m o u n t   a   S e c r e t   f r o m   t h e   c l u s t e r .   H o w e v e r ,   t h e s e   P o d s   c a n   t a k e   o t h e r   s e c u r i t y   s e n s i t i v e   a c t i o n s ,   s u c h   a s   u s i n g   h o s t P a t h   m o u n t s   f r o m   t h e   u n d e r l y i n g   n o d e .   B y   d e f a u l t ,   t h e   k u b e l e t   c r e a t e s   a   m i r r o r   p o d   s o   t h a t   t h e   s t a t i c   P o d s   a r e   v i s i b l e   i n   t h e   K u b e r n e t e s   A P I .   H o w e v e r ,   i f   t h e   a t t a c k e r   u s e s   a n   i n v a l i d   n a m e s p a c e   n a m e   w h e n   c r e a t i n g   t h e   P o d ,   i t   w i l l   n o t   b e   v i s i b l e   i n   t h e   K u b e r n e t e s   A P I   a n d   c a n   o n l y   b e   d i s c o v e r e d   b y   t o o l i n g   t h a t   h a s   a c c e s s   t o   t h e   a f f e c t e d   h o s t ( s ) .   I f   a   s t a t i c   P o d   f a i l s   a d m i s s i o n   c o n t r o l ,   t h e ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4225"
  },
  {
    "question": "What is Mitigations?",
    "answer": "O n l y   e n a b l e   t h e   k u b e l e t   s t a t i c   P o d   m a n i f e s t   f u n c t i o n a l i t y   i f   r e q u i r e d   b y   t h e   n o d e . I f   a   n o d e   u s e s   t h e   s t a t i c   P o d   f u n c t i o n a l i t y ,   r e s t r i c t   f i l e s y s t e m   a c c e s s   t o   t h e   s t a t i c   P o d   m a n i f e s t   d i r e c t o r y   o r   U R L   t o   u s e r s   w h o   n e e d   t h e   a c c e s s . R e s t r i c t   a c c e s s   t o   k u b e l e t   c o n f i g u r a t i o n   p a r a m e t e r s   a n d   f i l e s   t o   p r e v e n t   a n   a t t a c k e r   s e t t i n g   a   s t a t i c   P o d   p a t h   o r   U R L . R e g u l a r l y   a u d i t   a n d   c e n t r a l l y   r e p o r t   a l l   a c c e s s   t o   d i r e c t o r i e s   o r   w e b   s t o r a g e   l o c a t i o n s   t h a t   h o s t   s t a t i c   P o d   m a n i f e s t s   a n d   k u b e l e t   c o n f i g u r a t i o n   f i l e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4226"
  },
  {
    "question": "What is The kubelet API?",
    "answer": "T h e   k u b e l e t   p r o v i d e s   a n   H T T P   A P I   t h a t   i s   t y p i c a l l y   e x p o s e d   o n   T C P   p o r t   1 0 2 5 0   o n   c l u s t e r   w o r k e r   n o d e s .   T h e   A P I   m i g h t   a l s o   b e   e x p o s e d   o n   c o n t r o l   p l a n e   n o d e s   d e p e n d i n g   o n   t h e   K u b e r n e t e s   d i s t r i b u t i o n   i n   u s e .   D i r e c t   a c c e s s   t o   t h e   A P I   a l l o w s   f o r   d i s c l o s u r e   o f   i n f o r m a t i o n   a b o u t   t h e   p o d s   r u n n i n g   o n   a   n o d e ,   t h e   l o g s   f r o m   t h o s e   p o d s ,   a n d   e x e c u t i o n   o f   c o m m a n d s   i n   e v e r y   c o n t a i n e r   r u n n i n g   o n   t h e   n o d e .   W h e n   K u b e r n e t e s   c l u s t e r   u s e r s   h a v e   R B A C   a c c e s s   t o   N o d e   o b j e c t   s u b - r e s o u r c e s ,   t h a t   a c c e s s   s e r v e s   a s   a u t h o r i z a t i o n   t o   i n t e r a c t   w i t h   t h e   k u b e l e t   A P I .   T h e   e x a c t   a c c e s s   d e p e n d s   o n   w h i c h   s u b - r e s o u r c e   a c c e s s   h a s   b e e n   g r a n t e d ,   a s   d e t a i l e d   i n   k u b e l e t   a u t h o r i z a t i o n .   D i r e c t   a c c e s s   t o   t h e   k u b e l e t   A P I   i s   n o t   s u b j e c t   t o   a d m i s s i o n   c o n t r o l   a n d   i s   n o t   l o g g e d   b y   K u b e r n e t e s   a u d i t   l o g g i n g .   A n   a t t a c k e r   w i t h   d i r e c t   a c c e s s   t o   t h i s   A P I   m a y   b e   a b l e   t o   b y p a s s   c o n t r o l s   t h a t   d e t e c t   o r   p r e v e n t   c e r t a i n   a c t i o n s .   T h e   k u b e l e t   A P I   c a n   b e   c o n f i g u r e d   t o   a u t h e n t i c a t e   r e q u e s t s   i n   a   n u m b e r   o f   w a y s .   B y   d e f a u l t ,   t h e   k u b e l e t   c o n f i g u r a t i o n   a l l ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4227"
  },
  {
    "question": "What is Mitigations?",
    "answer": "R e s t r i c t   a c c e s s   t o   s u b - r e s o u r c e s   o f   t h e   n o d e s   A P I   o b j e c t   u s i n g   m e c h a n i s m s   s u c h   a s   R B A C .   O n l y   g r a n t   t h i s   a c c e s s   w h e n   r e q u i r e d ,   s u c h   a s   b y   m o n i t o r i n g   s e r v i c e s . R e s t r i c t   a c c e s s   t o   t h e   k u b e l e t   p o r t .   O n l y   a l l o w   s p e c i f i e d   a n d   t r u s t e d   I P   a d d r e s s   r a n g e s   t o   a c c e s s   t h e   p o r t . E n s u r e   t h a t   k u b e l e t   a u t h e n t i c a t i o n .   i s   s e t   t o   w e b h o o k   o r   c e r t i f i c a t e   m o d e . E n s u r e   t h a t   t h e   u n a u t h e n t i c a t e d   \" r e a d - o n l y \"   K u b e l e t   p o r t   i s   n o t   e n a b l e d   o n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4228"
  },
  {
    "question": "What is The etcd API?",
    "answer": "K u b e r n e t e s   c l u s t e r s   u s e   e t c d   a s   a   d a t a s t o r e .   T h e   e t c d   s e r v i c e   l i s t e n s   o n   T C P   p o r t   2 3 7 9 .   T h e   o n l y   c l i e n t s   t h a t   n e e d   a c c e s s   a r e   t h e   K u b e r n e t e s   A P I   s e r v e r   a n d   a n y   b a c k u p   t o o l i n g   t h a t   y o u   u s e .   D i r e c t   a c c e s s   t o   t h i s   A P I   a l l o w s   f o r   d i s c l o s u r e   o r   m o d i f i c a t i o n   o f   a n y   d a t a   h e l d   i n   t h e   c l u s t e r .   A c c e s s   t o   t h e   e t c d   A P I   i s   t y p i c a l l y   m a n a g e d   b y   c l i e n t   c e r t i f i c a t e   a u t h e n t i c a t i o n .   A n y   c e r t i f i c a t e   i s s u e d   b y   a   c e r t i f i c a t e   a u t h o r i t y   t h a t   e t c d   t r u s t s   a l l o w s   f u l l   a c c e s s   t o   t h e   d a t a   s t o r e d   i n s i d e   e t c d .   D i r e c t   a c c e s s   t o   e t c d   i s   n o t   s u b j e c t   t o   K u b e r n e t e s   a d m i s s i o n   c o n t r o l   a n d   i s   n o t   l o g g e d   b y   K u b e r n e t e s   a u d i t   l o g g i n g .   A n   a t t a c k e r   w h o   h a s   r e a d   a c c e s s   t o   t h e   A P I   s e r v e r ' s   e t c d   c l i e n t   c e r t i f i c a t e   p r i v a t e   k e y   ( o r   c a n   c r e a t e   a   n e w   t r u s t e d   c l i e n t   c e r t i f i c a t e )   c a n   g a i n   c l u s t e r   a d m i n   r i g h t s   b y   a c c e s s i n g   c l u s t e r   s e c r e t s   o r   m o d i f y i n g   a c c e s s   r u l e s .   E v e n   w i t h o u t   e l e v a t i n g   t h e i r   K u b e r n e t e s   R B A C   p r i v i l e g e s ,   a n   a t t a c k e r   w h o   c a n   m o d i f y   e t c d   c a n   r e t r i e v e   a n y   A P I   o b j e c t   o r   c r e a t e   n e w   w o r k l o a d s   i n s i d e   t h e   c l u s t e r .   M a n y   K u b e r n e t e ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4229"
  },
  {
    "question": "What is Mitigations?",
    "answer": "E n s u r e   t h a t   t h e   c e r t i f i c a t e   a u t h o r i t y   t r u s t e d   b y   e t c d   i s   u s e d   o n l y   f o r   t h e   p u r p o s e s   o f   a u t h e n t i c a t i o n   t o   t h a t   s e r v i c e . C o n t r o l   a c c e s s   t o   t h e   p r i v a t e   k e y   f o r   t h e   e t c d   s e r v e r   c e r t i f i c a t e ,   a n d   t o   t h e   A P I   s e r v e r ' s   c l i e n t   c e r t i f i c a t e   a n d   k e y . C o n s i d e r   r e s t r i c t i n g   a c c e s s   t o   t h e   e t c d   p o r t   a t   a   n e t w o r k   l e v e l ,   t o   o n l y   a l l o w   a c c e s s   f r o m   s p e c i f i e d   a n d   t r u s t e d   I P   a d d r e s s   r a n g e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4230"
  },
  {
    "question": "What is Container runtime socket?",
    "answer": "O n   e a c h   n o d e   i n   a   K u b e r n e t e s   c l u s t e r ,   a c c e s s   t o   i n t e r a c t   w i t h   c o n t a i n e r s   i s   c o n t r o l l e d   b y   t h e   c o n t a i n e r   r u n t i m e   ( o r   r u n t i m e s ,   i f   y o u   h a v e   c o n f i g u r e d   m o r e   t h a n   o n e ) .   T y p i c a l l y ,   t h e   c o n t a i n e r   r u n t i m e   e x p o s e s   a   U n i x   s o c k e t   t h a t   t h e   k u b e l e t   c a n   a c c e s s .   A n   a t t a c k e r   w i t h   a c c e s s   t o   t h i s   s o c k e t   c a n   l a u n c h   n e w   c o n t a i n e r s   o r   i n t e r a c t   w i t h   r u n n i n g   c o n t a i n e r s .   A t   t h e   c l u s t e r   l e v e l ,   t h e   i m p a c t   o f   t h i s   a c c e s s   d e p e n d s   o n   w h e t h e r   t h e   c o n t a i n e r s   t h a t   r u n   o n   t h e   c o m p r o m i s e d   n o d e   h a v e   a c c e s s   t o   S e c r e t s   o r   o t h e r   c o n f i d e n t i a l   d a t a   t h a t   a n   a t t a c k e r   c o u l d   u s e   t o   e s c a l a t e   p r i v i l e g e s   t o   o t h e r   w o r k e r   n o d e s   o r   t o   c o n t r o l   p l a n e   c o m p o n e n t s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4231"
  },
  {
    "question": "What is Mitigations?",
    "answer": "E n s u r e   t h a t   y o u   t i g h t l y   c o n t r o l   f i l e s y s t e m   a c c e s s   t o   c o n t a i n e r   r u n t i m e   s o c k e t s .   W h e n   p o s s i b l e ,   r e s t r i c t   t h i s   a c c e s s   t o   t h e   r o o t   u s e r . I s o l a t e   t h e   k u b e l e t   f r o m   o t h e r   c o m p o n e n t s   r u n n i n g   o n   t h e   n o d e ,   u s i n g   m e c h a n i s m s   s u c h   a s   L i n u x   k e r n e l   n a m e s p a c e s . E n s u r e   t h a t   y o u   r e s t r i c t   o r   f o r b i d   t h e   u s e   o f   h o s t P a t h   m o u n t s   t h a t   i n c l u d e   t h e   c o n t a i n e r   r u n t i m e   s o c k e t ,   e i t h e r   d i r e c t l y   o r   b y   m o u n t i n g   a   p a r e n t   d i r e c t o r y .   A l s o   h o s t P a t h   m o u n t s   m u s t   b e   s e t   a s   r e a d - o n l y   t o   m i t i g a t e   r i s k s   o f   a t t a c k e r s   b y p a s s i n g   d i r e c t o r y   r e s t r i c t i o n s . R e s t r i c t   u s e r   a c c e s s   t o   n o d e s ,   a n d   e s p e c i a l l y   r e s t r i c t   s u p e r u s e r   a c c e s s   t o   n o d e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4232"
  },
  {
    "question": "What is 15 - Linux kernel security constraints for Pods and containers?",
    "answer": "T h i s   p a g e   d e s c r i b e s   s o m e   o f   t h e   s e c u r i t y   f e a t u r e s   t h a t   a r e   b u i l t   i n t o   t h e   L i n u x   k e r n e l   t h a t   y o u   c a n   u s e   i n   y o u r   K u b e r n e t e s   w o r k l o a d s .   T o   l e a r n   h o w   t o   a p p l y   t h e s e   f e a t u r e s   t o   y o u r   P o d s   a n d   c o n t a i n e r s ,   r e f e r   t o   C o n f i g u r e   a   S e c u r i t y C o n t e x t   f o r   a   P o d   o r   C o n t a i n e r .   Y o u   s h o u l d   a l r e a d y   b e   f a m i l i a r   w i t h   L i n u x   a n d   w i t h   t h e   b a s i c s   o f   K u b e r n e t e s   w o r k l o a d s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_1_4233"
  },
  {
    "question": "What is Run workloads without root privileges?",
    "answer": "W h e n   y o u   d e p l o y   a   w o r k l o a d   i n   K u b e r n e t e s ,   u s e   t h e   P o d   s p e c i f i c a t i o n   t o   r e s t r i c t   t h a t   w o r k l o a d   f r o m   r u n n i n g   a s   t h e   r o o t   u s e r   o n   t h e   n o d e .   Y o u   c a n   u s e   t h e   P o d   s e c u r i t y C o n t e x t   t o   d e f i n e   t h e   s p e c i f i c   L i n u x   u s e r   a n d   g r o u p   f o r   t h e   p r o c e s s e s   i n   t h e   P o d ,   a n d   e x p l i c i t l y   r e s t r i c t   c o n t a i n e r s   f r o m   r u n n i n g   a s   r o o t   u s e r s .   S e t t i n g   t h e s e   v a l u e s   i n   t h e   P o d   m a n i f e s t   t a k e s   p r e c e d e n c e   o v e r   s i m i l a r   v a l u e s   i n   t h e   c o n t a i n e r   i m a g e ,   w h i c h   i s   e s p e c i a l l y   u s e f u l   i f   y o u ' r e   r u n n i n g   i m a g e s   t h a t   y o u   d o n ' t   o w n .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4234"
  },
  {
    "question": "What is Caution:?",
    "answer": "C o n f i g u r i n g   t h e   k e r n e l   s e c u r i t y   f e a t u r e s   o n   t h i s   p a g e   p r o v i d e s   f i n e - g r a i n e d   c o n t r o l   o v e r   t h e   a c t i o n s   t h a t   p r o c e s s e s   i n   y o u r   c l u s t e r   c a n   t a k e ,   b u t   m a n a g i n g   t h e s e   c o n f i g u r a t i o n s   c a n   b e   c h a l l e n g i n g   a t   s c a l e .   R u n n i n g   c o n t a i n e r s   a s   n o n - r o o t ,   o r   i n   u s e r   n a m e s p a c e s   i f   y o u   n e e d   r o o t   p r i v i l e g e s ,   h e l p s   t o   r e d u c e   t h e   c h a n c e   t h a t   y o u ' l l   n e e d   t o   e n f o r c e   y o u r   c o n f i g u r e d   k e r n e l   s e c u r i t y   c a p a b i l i t i e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_4_4235"
  },
  {
    "question": "What is Security features in the Linux kernel?",
    "answer": "K u b e r n e t e s   l e t s   y o u   c o n f i g u r e   a n d   u s e   L i n u x   k e r n e l   f e a t u r e s   t o   i m p r o v e   i s o l a t i o n   a n d   h a r d e n   y o u r   c o n t a i n e r i z e d   w o r k l o a d s .   C o m m o n   f e a t u r e s   i n c l u d e   t h e   f o l l o w i n g :   S e c u r e   c o m p u t i n g   m o d e   ( s e c c o m p ) :   F i l t e r   w h i c h   s y s t e m   c a l l s   a   p r o c e s s   c a n   m a k e A p p A r m o r :   R e s t r i c t   t h e   a c c e s s   p r i v i l e g e s   o f   i n d i v i d u a l   p r o g r a m s S e c u r i t y   E n h a n c e d   L i n u x   ( S E L i n u x ) :   A s s i g n   s e c u r i t y   l a b e l s   t o   o b j e c t s   f o r   m o r e   m a n a g e a b l e   s e c u r i t y   p o l i c y   e n f o r c e m e n t   T o   c o n f i g u r e   s e t t i n g s   f o r   o n e   o f   t h e s e   f e a t u r e s ,   t h e   o p e r a t i n g   s y s t e m   t h a t   y o u   c h o o s e   f o r   y o u r   n o d e s   m u s t   e n a b l e   t h e   f e a t u r e   i n   t h e   k e r n e l .   F o r   e x a m p l e ,   U b u n t u   7 . 1 0   a n d   l a t e r   e n a b l e   A p p A r m o r   b y   d e f a u l t .   T o   l e a r n   w h e t h e r   y o u r   O S   e n a b l e s   a   s p e c i f i c   f e a t u r e ,   c o n s u l t   t h e   O S   d o c u m e n t a t i o n .   Y o u   u s e   t h e   s e c u r i t y C o n t e x t   f i e l d   i n   y o u r   P o d   s p e c i f i c a t i o n   t o   d e f i n e   t h e   c o n s t r a i n t s   t h a t   a p p l y   t o   t h o s e   p r o c e s s e s .   T h e   s e c u r i t y C o n t e x t   f i e l d   a l s o   s u p p o r t s   o t h e r   s e c u r i t y   s e t t i n g s ,   s u c h   a s   s p e c i f i c   L i n u x   c a p a b i l i t i e s   o r   f i l e   a c c e s s   p e r m i s s i o n s   u s i n g   U I D s   a n d   G I D s .   T o   l e a r n   m o r e ,   r e f e r   t o   C o n f i g ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4236"
  },
  {
    "question": "What is seccomp?",
    "answer": "S o m e   o f   y o u r   w o r k l o a d s   m i g h t   n e e d   p r i v i l e g e s   t o   p e r f o r m   s p e c i f i c   a c t i o n s   a s   t h e   r o o t   u s e r   o n   y o u r   n o d e ' s   h o s t   m a c h i n e .   L i n u x   u s e s   c a p a b i l i t i e s   t o   d i v i d e   t h e   a v a i l a b l e   p r i v i l e g e s   i n t o   c a t e g o r i e s ,   s o   t h a t   p r o c e s s e s   c a n   g e t   t h e   p r i v i l e g e s   r e q u i r e d   t o   p e r f o r m   s p e c i f i c   a c t i o n s   w i t h o u t   b e i n g   g r a n t e d   a l l   p r i v i l e g e s .   E a c h   c a p a b i l i t y   h a s   a   s e t   o f   s y s t e m   c a l l s   ( s y s c a l l s )   t h a t   a   p r o c e s s   c a n   m a k e .   s e c c o m p   l e t s   y o u   r e s t r i c t   t h e s e   i n d i v i d u a l   s y s c a l l s .   I t   c a n   b e   u s e d   t o   s a n d b o x   t h e   p r i v i l e g e s   o f   a   p r o c e s s ,   r e s t r i c t i n g   t h e   c a l l s   i t   i s   a b l e   t o   m a k e   f r o m   u s e r s p a c e   i n t o   t h e   k e r n e l .   I n   K u b e r n e t e s ,   y o u   u s e   a   c o n t a i n e r   r u n t i m e   o n   e a c h   n o d e   t o   r u n   y o u r   c o n t a i n e r s .   E x a m p l e   r u n t i m e s   i n c l u d e   C R I - O ,   D o c k e r ,   o r   c o n t a i n e r d .   E a c h   r u n t i m e   a l l o w s   o n l y   a   s u b s e t   o f   L i n u x   c a p a b i l i t i e s   b y   d e f a u l t .   Y o u   c a n   f u r t h e r   l i m i t   t h e   a l l o w e d   s y s c a l l s   i n d i v i d u a l l y   b y   u s i n g   a   s e c c o m p   p r o f i l e .   C o n t a i n e r   r u n t i m e s   u s u a l l y   i n c l u d e   a   d e f a u l t   s e c c o m p   p r o f i l e .   K u b e r n e t e s   l e t s   y o u   a u t o m a t i c a l l y   a p p l y   s e c c o m p   p r o f i l e s   l o a d e d   o n t o   a   n o d e   t o   y o ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4237"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   l e a r n   h o w   t o   i m p l e m e n t   s e c c o m p   i n   K u b e r n e t e s ,   r e f e r   t o   R e s t r i c t   a   C o n t a i n e r ' s   S y s c a l l s   w i t h   s e c c o m p   o r   t h e   S e c c o m p   n o d e   r e f e r e n c e   T o   l e a r n   m o r e   a b o u t   s e c c o m p ,   s e e   S e c c o m p   B P F   i n   t h e   L i n u x   k e r n e l   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_4_4238"
  },
  {
    "question": "What is Considerations for seccomp?",
    "answer": "s e c c o m p   i s   a   l o w - l e v e l   s e c u r i t y   c o n f i g u r a t i o n   t h a t   y o u   s h o u l d   o n l y   c o n f i g u r e   y o u r s e l f   i f   y o u   r e q u i r e   f i n e - g r a i n e d   c o n t r o l   o v e r   L i n u x   s y s c a l l s .   U s i n g   s e c c o m p ,   e s p e c i a l l y   a t   s c a l e ,   h a s   t h e   f o l l o w i n g   r i s k s :   C o n f i g u r a t i o n s   m i g h t   b r e a k   d u r i n g   a p p l i c a t i o n   u p d a t e s A t t a c k e r s   c a n   s t i l l   u s e   a l l o w e d   s y s c a l l s   t o   e x p l o i t   v u l n e r a b i l i t i e s P r o f i l e   m a n a g e m e n t   f o r   i n d i v i d u a l   a p p l i c a t i o n s   b e c o m e s   c h a l l e n g i n g   a t   s c a l e   R e c o m m e n d a t i o n :   U s e   t h e   d e f a u l t   s e c c o m p   p r o f i l e   t h a t ' s   b u n d l e d   w i t h   y o u r   c o n t a i n e r   r u n t i m e .   I f   y o u   n e e d   a   m o r e   i s o l a t e d   e n v i r o n m e n t ,   c o n s i d e r   u s i n g   a   s a n d b o x ,   s u c h   a s   g V i s o r .   S a n d b o x e s   s o l v e   t h e   p r e c e d i n g   r i s k s   w i t h   c u s t o m   s e c c o m p   p r o f i l e s ,   b u t   r e q u i r e   m o r e   c o m p u t e   r e s o u r c e s   o n   y o u r   n o d e s   a n d   m i g h t   h a v e   c o m p a t i b i l i t y   i s s u e s   w i t h   G P U s   a n d   o t h e r   s p e c i a l i z e d   h a r d w a r e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_4_4239"
  },
  {
    "question": "What is AppArmor and SELinux: policy-based mandatory access control?",
    "answer": "Y o u   c a n   u s e   L i n u x   p o l i c y - b a s e d   m a n d a t o r y   a c c e s s   c o n t r o l   ( M A C )   m e c h a n i s m s ,   s u c h   a s   A p p A r m o r   a n d   S E L i n u x ,   t o   h a r d e n   y o u r   K u b e r n e t e s   w o r k l o a d s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4240"
  },
  {
    "question": "What is AppArmor?",
    "answer": "A p p A r m o r   i s   a   L i n u x   k e r n e l   s e c u r i t y   m o d u l e   t h a t   s u p p l e m e n t s   t h e   s t a n d a r d   L i n u x   u s e r   a n d   g r o u p   b a s e d   p e r m i s s i o n s   t o   c o n f i n e   p r o g r a m s   t o   a   l i m i t e d   s e t   o f   r e s o u r c e s .   A p p A r m o r   c a n   b e   c o n f i g u r e d   f o r   a n y   a p p l i c a t i o n   t o   r e d u c e   i t s   p o t e n t i a l   a t t a c k   s u r f a c e   a n d   p r o v i d e   g r e a t e r   i n - d e p t h   d e f e n s e .   I t   i s   c o n f i g u r e d   t h r o u g h   p r o f i l e s   t u n e d   t o   a l l o w   t h e   a c c e s s   n e e d e d   b y   a   s p e c i f i c   p r o g r a m   o r   c o n t a i n e r ,   s u c h   a s   L i n u x   c a p a b i l i t i e s ,   n e t w o r k   a c c e s s ,   a n d   f i l e   p e r m i s s i o n s .   E a c h   p r o f i l e   c a n   b e   r u n   i n   e i t h e r   e n f o r c i n g   m o d e ,   w h i c h   b l o c k s   a c c e s s   t o   d i s a l l o w e d   r e s o u r c e s ,   o r   c o m p l a i n   m o d e ,   w h i c h   o n l y   r e p o r t s   v i o l a t i o n s .   A p p A r m o r   c a n   h e l p   y o u   t o   r u n   a   m o r e   s e c u r e   d e p l o y m e n t   b y   r e s t r i c t i n g   w h a t   c o n t a i n e r s   a r e   a l l o w e d   t o   d o ,   a n d / o r   p r o v i d e   b e t t e r   a u d i t i n g   t h r o u g h   s y s t e m   l o g s .   T h e   c o n t a i n e r   r u n t i m e   t h a t   y o u   u s e   m i g h t   s h i p   w i t h   a   d e f a u l t   A p p A r m o r   p r o f i l e ,   o r   y o u   c a n   u s e   a   c u s t o m   p r o f i l e .   T o   l e a r n   h o w   t o   u s e   A p p A r m o r   i n   K u b e r n e t e s ,   r e f e r   t o   R e s t r i c t   a   C o n t a i n e r ' s   A c c e s s   t o   R e s o u r c e s   w i t h   A p p A r m o r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_4_4241"
  },
  {
    "question": "What is SELinux?",
    "answer": "S E L i n u x   i s   a   L i n u x   k e r n e l   s e c u r i t y   m o d u l e   t h a t   l e t s   y o u   r e s t r i c t   t h e   a c c e s s   t h a t   a   s p e c i f i c   s u b j e c t ,   s u c h   a s   a   p r o c e s s ,   h a s   t o   t h e   f i l e s   o n   y o u r   s y s t e m .   Y o u   d e f i n e   s e c u r i t y   p o l i c i e s   t h a t   a p p l y   t o   s u b j e c t s   t h a t   h a v e   s p e c i f i c   S E L i n u x   l a b e l s .   W h e n   a   p r o c e s s   t h a t   h a s   a n   S E L i n u x   l a b e l   a t t e m p t s   t o   a c c e s s   a   f i l e ,   t h e   S E L i n u x   s e r v e r   c h e c k s   w h e t h e r   t h a t   p r o c e s s '   s e c u r i t y   p o l i c y   a l l o w s   t h e   a c c e s s   a n d   m a k e s   a n   a u t h o r i z a t i o n   d e c i s i o n .   I n   K u b e r n e t e s ,   y o u   c a n   s e t   a n   S E L i n u x   l a b e l   i n   t h e   s e c u r i t y C o n t e x t   f i e l d   o f   y o u r   m a n i f e s t .   T h e   s p e c i f i e d   l a b e l s   a r e   a s s i g n e d   t o   t h o s e   p r o c e s s e s .   I f   y o u   h a v e   c o n f i g u r e d   s e c u r i t y   p o l i c i e s   t h a t   a f f e c t   t h o s e   l a b e l s ,   t h e   h o s t   O S   k e r n e l   e n f o r c e s   t h e s e   p o l i c i e s .   T o   l e a r n   h o w   t o   u s e   S E L i n u x   i n   K u b e r n e t e s ,   r e f e r   t o   A s s i g n   S E L i n u x   l a b e l s   t o   a   c o n t a i n e r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_4_4242"
  },
  {
    "question": "What is Differences between AppArmor and SELinux?",
    "answer": "T h e   o p e r a t i n g   s y s t e m   o n   y o u r   L i n u x   n o d e s   u s u a l l y   i n c l u d e s   o n e   o f   e i t h e r   A p p A r m o r   o r   S E L i n u x .   B o t h   m e c h a n i s m s   p r o v i d e   s i m i l a r   t y p e s   o f   p r o t e c t i o n ,   b u t   h a v e   d i f f e r e n c e s   s u c h   a s   t h e   f o l l o w i n g :   C o n f i g u r a t i o n :   A p p A r m o r   u s e s   p r o f i l e s   t o   d e f i n e   a c c e s s   t o   r e s o u r c e s .   S E L i n u x   u s e s   p o l i c i e s   t h a t   a p p l y   t o   s p e c i f i c   l a b e l s . P o l i c y   a p p l i c a t i o n :   I n   A p p A r m o r ,   y o u   d e f i n e   r e s o u r c e s   u s i n g   f i l e   p a t h s .   S E L i n u x   u s e s   t h e   i n d e x   n o d e   ( i n o d e )   o f   a   r e s o u r c e   t o   i d e n t i f y   t h e   r e s o u r c e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_4_4243"
  },
  {
    "question": "What is Summary of features?",
    "answer": "T h e   f o l l o w i n g   t a b l e   d e s c r i b e s   t h e   u s e   c a s e s   a n d   s c o p e   o f   e a c h   s e c u r i t y   c o n t r o l .   Y o u   c a n   u s e   a l l   o f   t h e s e   c o n t r o l s   t o g e t h e r   t o   b u i l d   a   m o r e   h a r d e n e d   s y s t e m .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4244"
  },
  {
    "question": "What is Considerations for managing custom configurations?",
    "answer": "s e c c o m p ,   A p p A r m o r ,   a n d   S E L i n u x   u s u a l l y   h a v e   a   d e f a u l t   c o n f i g u r a t i o n   t h a t   o f f e r s   b a s i c   p r o t e c t i o n s .   Y o u   c a n   a l s o   c r e a t e   c u s t o m   p r o f i l e s   a n d   p o l i c i e s   t h a t   m e e t   t h e   r e q u i r e m e n t s   o f   y o u r   w o r k l o a d s .   M a n a g i n g   a n d   d i s t r i b u t i n g   t h e s e   c u s t o m   c o n f i g u r a t i o n s   a t   s c a l e   m i g h t   b e   c h a l l e n g i n g ,   e s p e c i a l l y   i f   y o u   u s e   a l l   t h r e e   f e a t u r e s   t o g e t h e r .   T o   h e l p   y o u   t o   m a n a g e   t h e s e   c o n f i g u r a t i o n s   a t   s c a l e ,   u s e   a   t o o l   l i k e   t h e   K u b e r n e t e s   S e c u r i t y   P r o f i l e s   O p e r a t o r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4245"
  },
  {
    "question": "What is Kernel-level security features and privileged containers?",
    "answer": "K u b e r n e t e s   l e t s   y o u   s p e c i f y   t h a t   s o m e   t r u s t e d   c o n t a i n e r s   c a n   r u n   i n   p r i v i l e g e d   m o d e .   A n y   c o n t a i n e r   i n   a   P o d   c a n   r u n   i n   p r i v i l e g e d   m o d e   t o   u s e   o p e r a t i n g   s y s t e m   a d m i n i s t r a t i v e   c a p a b i l i t i e s   t h a t   w o u l d   o t h e r w i s e   b e   i n a c c e s s i b l e .   T h i s   i s   a v a i l a b l e   f o r   b o t h   W i n d o w s   a n d   L i n u x .   P r i v i l e g e d   c o n t a i n e r s   e x p l i c i t l y   o v e r r i d e   s o m e   o f   t h e   L i n u x   k e r n e l   c o n s t r a i n t s   t h a t   y o u   m i g h t   u s e   i n   y o u r   w o r k l o a d s ,   a s   f o l l o w s :   s e c c o m p :   P r i v i l e g e d   c o n t a i n e r s   r u n   a s   t h e   U n c o n f i n e d   s e c c o m p   p r o f i l e ,   o v e r r i d i n g   a n y   s e c c o m p   p r o f i l e   t h a t   y o u   s p e c i f i e d   i n   y o u r   m a n i f e s t . A p p A r m o r :   P r i v i l e g e d   c o n t a i n e r s   i g n o r e   a n y   a p p l i e d   A p p A r m o r   p r o f i l e s . S E L i n u x :   P r i v i l e g e d   c o n t a i n e r s   r u n   a s   t h e   u n c o n f i n e d _ t   d o m a i n .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4246"
  },
  {
    "question": "What is Privileged containers?",
    "answer": "A n y   c o n t a i n e r   i n   a   P o d   c a n   e n a b l e   P r i v i l e g e d   m o d e   i f   y o u   s e t   t h e   p r i v i l e g e d :   t r u e   f i e l d   i n   t h e   s e c u r i t y C o n t e x t   f i e l d   f o r   t h e   c o n t a i n e r .   P r i v i l e g e d   c o n t a i n e r s   o v e r r i d e   o r   u n d o   m a n y   o t h e r   h a r d e n i n g   s e t t i n g s   s u c h   a s   t h e   a p p l i e d   s e c c o m p   p r o f i l e ,   A p p A r m o r   p r o f i l e ,   o r   S E L i n u x   c o n s t r a i n t s .   P r i v i l e g e d   c o n t a i n e r s   a r e   g i v e n   a l l   L i n u x   c a p a b i l i t i e s ,   i n c l u d i n g   c a p a b i l i t i e s   t h a t   t h e y   d o n ' t   r e q u i r e .   F o r   e x a m p l e ,   a   r o o t   u s e r   i n   a   p r i v i l e g e d   c o n t a i n e r   m i g h t   b e   a b l e   t o   u s e   t h e   C A P _ S Y S _ A D M I N   a n d   C A P _ N E T _ A D M I N   c a p a b i l i t i e s   o n   t h e   n o d e ,   b y p a s s i n g   t h e   r u n t i m e   s e c c o m p   c o n f i g u r a t i o n   a n d   o t h e r   r e s t r i c t i o n s .   I n   m o s t   c a s e s ,   y o u   s h o u l d   a v o i d   u s i n g   p r i v i l e g e d   c o n t a i n e r s ,   a n d   i n s t e a d   g r a n t   t h e   s p e c i f i c   c a p a b i l i t i e s   r e q u i r e d   b y   y o u r   c o n t a i n e r   u s i n g   t h e   c a p a b i l i t i e s   f i e l d   i n   t h e   s e c u r i t y C o n t e x t   f i e l d .   O n l y   u s e   p r i v i l e g e d   m o d e   i f   y o u   h a v e   a   c a p a b i l i t y   t h a t   y o u   c a n ' t   g r a n t   w i t h   t h e   s e c u r i t y C o n t e x t .   T h i s   i s   u s e f u l   f o r   c o n t a i n e r s   t h a t   w a n t   t o   u s e   o p e r a t i n g   s y s t e m   a d m i n i s t r a t i v e   c a p a b i l i t i e s   s u c h   a s   m a n i p u l a t i n g   t h e   n e t w o ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4247"
  },
  {
    "question": "What is Recommendations and best practices?",
    "answer": "B e f o r e   c o n f i g u r i n g   k e r n e l - l e v e l   s e c u r i t y   c a p a b i l i t i e s ,   y o u   s h o u l d   c o n s i d e r   i m p l e m e n t i n g   n e t w o r k - l e v e l   i s o l a t i o n .   F o r   m o r e   i n f o r m a t i o n ,   r e a d   t h e   S e c u r i t y   C h e c k l i s t . U n l e s s   n e c e s s a r y ,   r u n   L i n u x   w o r k l o a d s   a s   n o n - r o o t   b y   s e t t i n g   s p e c i f i c   u s e r   a n d   g r o u p   I D s   i n   y o u r   P o d   m a n i f e s t   a n d   b y   s p e c i f y i n g   r u n A s N o n R o o t :   t r u e .   A d d i t i o n a l l y ,   y o u   c a n   r u n   w o r k l o a d s   i n   u s e r   n a m e s p a c e s   b y   s e t t i n g   h o s t U s e r s :   f a l s e   i n   y o u r   P o d   m a n i f e s t .   T h i s   l e t s   y o u   r u n   c o n t a i n e r s   a s   r o o t   u s e r s   i n   t h e   u s e r   n a m e s p a c e ,   b u t   a s   n o n - r o o t   u s e r s   i n   t h e   h o s t   n a m e s p a c e   o n   t h e   n o d e .   T h i s   i s   s t i l l   i n   e a r l y   s t a g e s   o f   d e v e l o p m e n t   a n d   m i g h t   n o t   h a v e   t h e   l e v e l   o f   s u p p o r t   t h a t   y o u   n e e d .   F o r   i n s t r u c t i o n s ,   r e f e r   t o   U s e   a   U s e r   N a m e s p a c e   W i t h   a   P o d .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4248"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   u s e   A p p A r m o r L e a r n   h o w   t o   u s e   s e c c o m p L e a r n   h o w   t o   u s e   S E L i n u x S e c c o m p   N o d e   R e f e r e n c e",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4249"
  },
  {
    "question": "What is 16 - Security Checklist?",
    "answer": "T h i s   c h e c k l i s t   a i m s   a t   p r o v i d i n g   a   b a s i c   l i s t   o f   g u i d a n c e   w i t h   l i n k s   t o   m o r e   c o m p r e h e n s i v e   d o c u m e n t a t i o n   o n   e a c h   t o p i c .   I t   d o e s   n o t   c l a i m   t o   b e   e x h a u s t i v e   a n d   i s   m e a n t   t o   e v o l v e .   O n   h o w   t o   r e a d   a n d   u s e   t h i s   d o c u m e n t :   T h e   o r d e r   o f   t o p i c s   d o e s   n o t   r e f l e c t   a n   o r d e r   o f   p r i o r i t y . S o m e   c h e c k l i s t   i t e m s   a r e   d e t a i l e d   i n   t h e   p a r a g r a p h   b e l o w   t h e   l i s t   o f   e a c h   s e c t i o n .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_1_4250"
  },
  {
    "question": "What is Authentication & Authorization?",
    "answer": "s y s t e m : m a s t e r s   g r o u p   i s   n o t   u s e d   f o r   u s e r   o r   c o m p o n e n t   a u t h e n t i c a t i o n   a f t e r   b o o t s t r a p p i n g .   T h e   k u b e - c o n t r o l l e r - m a n a g e r   i s   r u n n i n g   w i t h   - - u s e - s e r v i c e - a c c o u n t - c r e d e n t i a l s   e n a b l e d .   T h e   r o o t   c e r t i f i c a t e   i s   p r o t e c t e d   ( e i t h e r   a n   o f f l i n e   C A ,   o r   a   m a n a g e d   o n l i n e   C A   w i t h   e f f e c t i v e   a c c e s s   c o n t r o l s ) .   I n t e r m e d i a t e   a n d   l e a f   c e r t i f i c a t e s   h a v e   a n   e x p i r y   d a t e   n o   m o r e   t h a n   3   y e a r s   i n   t h e   f u t u r e .   A   p r o c e s s   e x i s t s   f o r   p e r i o d i c   a c c e s s   r e v i e w ,   a n d   r e v i e w s   o c c u r   n o   m o r e   t h a n   2 4   m o n t h s   a p a r t .   T h e   R o l e   B a s e d   A c c e s s   C o n t r o l   G o o d   P r a c t i c e s   a r e   f o l l o w e d   f o r   g u i d a n c e   r e l a t e d   t o   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n .   A f t e r   b o o t s t r a p p i n g ,   n e i t h e r   u s e r s   n o r   c o m p o n e n t s   s h o u l d   a u t h e n t i c a t e   t o   t h e   K u b e r n e t e s   A P I   a s   s y s t e m : m a s t e r s .   S i m i l a r l y ,   r u n n i n g   a l l   o f   k u b e - c o n t r o l l e r - m a n a g e r   a s   s y s t e m : m a s t e r s   s h o u l d   b e   a v o i d e d .   I n   f a c t ,   s y s t e m : m a s t e r s   s h o u l d   o n l y   b e   u s e d   a s   a   b r e a k - g l a s s   m e c h a n i s m ,   a s   o p p o s e d   t o   a n   a d m i n   u s e r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4251"
  },
  {
    "question": "What is Network security?",
    "answer": "C N I   p l u g i n s   i n   u s e   s u p p o r t   n e t w o r k   p o l i c i e s .   I n g r e s s   a n d   e g r e s s   n e t w o r k   p o l i c i e s   a r e   a p p l i e d   t o   a l l   w o r k l o a d s   i n   t h e   c l u s t e r .   D e f a u l t   n e t w o r k   p o l i c i e s   w i t h i n   e a c h   n a m e s p a c e ,   s e l e c t i n g   a l l   p o d s ,   d e n y i n g   e v e r y t h i n g ,   a r e   i n   p l a c e .   I f   a p p r o p r i a t e ,   a   s e r v i c e   m e s h   i s   u s e d   t o   e n c r y p t   a l l   c o m m u n i c a t i o n s   i n s i d e   o f   t h e   c l u s t e r .   T h e   K u b e r n e t e s   A P I ,   k u b e l e t   A P I   a n d   e t c d   a r e   n o t   e x p o s e d   p u b l i c l y   o n   I n t e r n e t .   A c c e s s   f r o m   t h e   w o r k l o a d s   t o   t h e   c l o u d   m e t a d a t a   A P I   i s   f i l t e r e d .   U s e   o f   L o a d B a l a n c e r   a n d   E x t e r n a l I P s   i s   r e s t r i c t e d .   A   n u m b e r   o f   C o n t a i n e r   N e t w o r k   I n t e r f a c e   ( C N I )   p l u g i n s   p l u g i n s   p r o v i d e   t h e   f u n c t i o n a l i t y   t o   r e s t r i c t   n e t w o r k   r e s o u r c e s   t h a t   p o d s   m a y   c o m m u n i c a t e   w i t h .   T h i s   i s   m o s t   c o m m o n l y   d o n e   t h r o u g h   N e t w o r k   P o l i c i e s   w h i c h   p r o v i d e   a   n a m e s p a c e d   r e s o u r c e   t o   d e f i n e   r u l e s .   D e f a u l t   n e t w o r k   p o l i c i e s   t h a t   b l o c k   a l l   e g r e s s   a n d   i n g r e s s ,   i n   e a c h   n a m e s p a c e ,   s e l e c t i n g   a l l   p o d s ,   c a n   b e   u s e f u l   t o   a d o p t   a n   a l l o w   l i s t   a p p r o a c h   t o   e n s u r e   t h a t   n o   w o r k l o a d s   a r e   m i s s e d .   N o t   a l l   C N I   p l u g i n s   p r o v i d e   e n c r y p t i o n   i n   t r a ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4252"
  },
  {
    "question": "What is Pod security?",
    "answer": "R B A C   r i g h t s   t o   c r e a t e ,   u p d a t e ,   p a t c h ,   d e l e t e   w o r k l o a d s   i s   o n l y   g r a n t e d   i f   n e c e s s a r y .   A p p r o p r i a t e   P o d   S e c u r i t y   S t a n d a r d s   p o l i c y   i s   a p p l i e d   f o r   a l l   n a m e s p a c e s   a n d   e n f o r c e d .   M e m o r y   l i m i t   i s   s e t   f o r   t h e   w o r k l o a d s   w i t h   a   l i m i t   e q u a l   o r   i n f e r i o r   t o   t h e   r e q u e s t .   C P U   l i m i t   m i g h t   b e   s e t   o n   s e n s i t i v e   w o r k l o a d s .   F o r   n o d e s   t h a t   s u p p o r t   i t ,   S e c c o m p   i s   e n a b l e d   w i t h   a p p r o p r i a t e   s y s c a l l s   p r o f i l e   f o r   p r o g r a m s .   F o r   n o d e s   t h a t   s u p p o r t   i t ,   A p p A r m o r   o r   S E L i n u x   i s   e n a b l e d   w i t h   a p p r o p r i a t e   p r o f i l e   f o r   p r o g r a m s .   R B A C   a u t h o r i z a t i o n   i s   c r u c i a l   b u t   c a n n o t   b e   g r a n u l a r   e n o u g h   t o   h a v e   a u t h o r i z a t i o n   o n   t h e   P o d s '   r e s o u r c e s   ( o r   o n   a n y   r e s o u r c e   t h a t   m a n a g e s   P o d s ) .   T h e   o n l y   g r a n u l a r i t y   i s   t h e   A P I   v e r b s   o n   t h e   r e s o u r c e   i t s e l f ,   f o r   e x a m p l e ,   c r e a t e   o n   P o d s .   W i t h o u t   a d d i t i o n a l   a d m i s s i o n ,   t h e   a u t h o r i z a t i o n   t o   c r e a t e   t h e s e   r e s o u r c e s   a l l o w s   d i r e c t   u n r e s t r i c t e d   a c c e s s   t o   t h e   s c h e d u l a b l e   n o d e s   o f   a   c l u s t e r .   T h e   P o d   S e c u r i t y   S t a n d a r d s   d e f i n e   t h r e e   d i f f e r e n t   p o l i c i e s ,   p r i v i l e g e d ,   b a s e l i n e   a n d   r e s t r i c t e d   t h a t   l i m i t   h o w   f i e l d s   c a n   b ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4253"
  },
  {
    "question": "What is Enabling Seccomp?",
    "answer": "S e c c o m p   s t a n d s   f o r   s e c u r e   c o m p u t i n g   m o d e   a n d   h a s   b e e n   a   f e a t u r e   o f   t h e   L i n u x   k e r n e l   s i n c e   v e r s i o n   2 . 6 . 1 2 .   I t   c a n   b e   u s e d   t o   s a n d b o x   t h e   p r i v i l e g e s   o f   a   p r o c e s s ,   r e s t r i c t i n g   t h e   c a l l s   i t   i s   a b l e   t o   m a k e   f r o m   u s e r s p a c e   i n t o   t h e   k e r n e l .   K u b e r n e t e s   l e t s   y o u   a u t o m a t i c a l l y   a p p l y   s e c c o m p   p r o f i l e s   l o a d e d   o n t o   a   n o d e   t o   y o u r   P o d s   a n d   c o n t a i n e r s .   S e c c o m p   c a n   i m p r o v e   t h e   s e c u r i t y   o f   y o u r   w o r k l o a d s   b y   r e d u c i n g   t h e   L i n u x   k e r n e l   s y s c a l l   a t t a c k   s u r f a c e   a v a i l a b l e   i n s i d e   c o n t a i n e r s .   T h e   s e c c o m p   f i l t e r   m o d e   l e v e r a g e s   B P F   t o   c r e a t e   a n   a l l o w   o r   d e n y   l i s t   o f   s p e c i f i c   s y s c a l l s ,   n a m e d   p r o f i l e s .   S i n c e   K u b e r n e t e s   1 . 2 7 ,   y o u   c a n   e n a b l e   t h e   u s e   o f   R u n t i m e D e f a u l t   a s   t h e   d e f a u l t   s e c c o m p   p r o f i l e   f o r   a l l   w o r k l o a d s .   A   s e c u r i t y   t u t o r i a l   i s   a v a i l a b l e   o n   t h i s   t o p i c .   I n   a d d i t i o n ,   t h e   K u b e r n e t e s   S e c u r i t y   P r o f i l e s   O p e r a t o r   i s   a   p r o j e c t   t h a t   f a c i l i t a t e s   t h e   m a n a g e m e n t   a n d   u s e   o f   s e c c o m p   i n   c l u s t e r s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4254"
  },
  {
    "question": "What is AppArmor?",
    "answer": "A p p A r m o r   i s   a   L i n u x   k e r n e l   s e c u r i t y   m o d u l e   t h a t   c a n   p r o v i d e   a n   e a s y   w a y   t o   i m p l e m e n t   M a n d a t o r y   A c c e s s   C o n t r o l   ( M A C )   a n d   b e t t e r   a u d i t i n g   t h r o u g h   s y s t e m   l o g s .   A   d e f a u l t   A p p A r m o r   p r o f i l e   i s   e n f o r c e d   o n   n o d e s   t h a t   s u p p o r t   i t ,   o r   a   c u s t o m   p r o f i l e   c a n   b e   c o n f i g u r e d .   L i k e   s e c c o m p ,   A p p A r m o r   i s   a l s o   c o n f i g u r e d   t h r o u g h   p r o f i l e s ,   w h e r e   e a c h   p r o f i l e   i s   e i t h e r   r u n n i n g   i n   e n f o r c i n g   m o d e ,   w h i c h   b l o c k s   a c c e s s   t o   d i s a l l o w e d   r e s o u r c e s   o r   c o m p l a i n   m o d e ,   w h i c h   o n l y   r e p o r t s   v i o l a t i o n s .   A p p A r m o r   p r o f i l e s   a r e   e n f o r c e d   o n   a   p e r - c o n t a i n e r   b a s i s ,   w i t h   a n   a n n o t a t i o n ,   a l l o w i n g   f o r   p r o c e s s e s   t o   g a i n   j u s t   t h e   r i g h t   p r i v i l e g e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_4_4255"
  },
  {
    "question": "What is SELinux?",
    "answer": "S E L i n u x   i s   a l s o   a   L i n u x   k e r n e l   s e c u r i t y   m o d u l e   t h a t   c a n   p r o v i d e   a   m e c h a n i s m   f o r   s u p p o r t i n g   a c c e s s   c o n t r o l   s e c u r i t y   p o l i c i e s ,   i n c l u d i n g   M a n d a t o r y   A c c e s s   C o n t r o l s   ( M A C ) .   S E L i n u x   l a b e l s   c a n   b e   a s s i g n e d   t o   c o n t a i n e r s   o r   p o d s   v i a   t h e i r   s e c u r i t y C o n t e x t   s e c t i o n .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_4_4256"
  },
  {
    "question": "What is Logs and auditing?",
    "answer": "A u d i t   l o g s ,   i f   e n a b l e d ,   a r e   p r o t e c t e d   f r o m   g e n e r a l   a c c e s s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4257"
  },
  {
    "question": "What is Pod placement?",
    "answer": "P o d   p l a c e m e n t   i s   d o n e   i n   a c c o r d a n c e   w i t h   t h e   t i e r s   o f   s e n s i t i v i t y   o f   t h e   a p p l i c a t i o n .   S e n s i t i v e   a p p l i c a t i o n s   a r e   r u n n i n g   i s o l a t e d   o n   n o d e s   o r   w i t h   s p e c i f i c   s a n d b o x e d   r u n t i m e s .   P o d s   t h a t   a r e   o n   d i f f e r e n t   t i e r s   o f   s e n s i t i v i t y ,   f o r   e x a m p l e ,   a n   a p p l i c a t i o n   p o d   a n d   t h e   K u b e r n e t e s   A P I   s e r v e r ,   s h o u l d   b e   d e p l o y e d   o n t o   s e p a r a t e   n o d e s .   T h e   p u r p o s e   o f   n o d e   i s o l a t i o n   i s   t o   p r e v e n t   a n   a p p l i c a t i o n   c o n t a i n e r   b r e a k o u t   t o   d i r e c t l y   p r o v i d i n g   a c c e s s   t o   a p p l i c a t i o n s   w i t h   h i g h e r   l e v e l   o f   s e n s i t i v i t y   t o   e a s i l y   p i v o t   w i t h i n   t h e   c l u s t e r .   T h i s   s e p a r a t i o n   s h o u l d   b e   e n f o r c e d   t o   p r e v e n t   p o d s   a c c i d e n t a l l y   b e i n g   d e p l o y e d   o n t o   t h e   s a m e   n o d e .   T h i s   c o u l d   b e   e n f o r c e d   w i t h   t h e   f o l l o w i n g   f e a t u r e s :",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4258"
  },
  {
    "question": "What is Secrets?",
    "answer": "C o n f i g M a p s   a r e   n o t   u s e d   t o   h o l d   c o n f i d e n t i a l   d a t a .   E n c r y p t i o n   a t   r e s t   i s   c o n f i g u r e d   f o r   t h e   S e c r e t   A P I .   I f   a p p r o p r i a t e ,   a   m e c h a n i s m   t o   i n j e c t   s e c r e t s   s t o r e d   i n   t h i r d - p a r t y   s t o r a g e   i s   d e p l o y e d   a n d   a v a i l a b l e .   S e r v i c e   a c c o u n t   t o k e n s   a r e   n o t   m o u n t e d   i n   p o d s   t h a t   d o n ' t   r e q u i r e   t h e m .   B o u n d   s e r v i c e   a c c o u n t   t o k e n   v o l u m e   i s   i n - u s e   i n s t e a d   o f   n o n - e x p i r i n g   t o k e n s .   S e c r e t s   r e q u i r e d   f o r   p o d s   s h o u l d   b e   s t o r e d   w i t h i n   K u b e r n e t e s   S e c r e t s   a s   o p p o s e d   t o   a l t e r n a t i v e s   s u c h   a s   C o n f i g M a p .   S e c r e t   r e s o u r c e s   s t o r e d   w i t h i n   e t c d   s h o u l d   b e   e n c r y p t e d   a t   r e s t .   P o d s   n e e d i n g   s e c r e t s   s h o u l d   h a v e   t h e s e   a u t o m a t i c a l l y   m o u n t e d   t h r o u g h   v o l u m e s ,   p r e f e r a b l y   s t o r e d   i n   m e m o r y   l i k e   w i t h   t h e   e m p t y D i r . m e d i u m   o p t i o n .   M e c h a n i s m   c a n   b e   u s e d   t o   a l s o   i n j e c t   s e c r e t s   f r o m   t h i r d - p a r t y   s t o r a g e s   a s   v o l u m e ,   l i k e   t h e   S e c r e t s   S t o r e   C S I   D r i v e r .   T h i s   s h o u l d   b e   d o n e   p r e f e r e n t i a l l y   a s   c o m p a r e d   t o   p r o v i d i n g   t h e   p o d s   s e r v i c e   a c c o u n t   R B A C   a c c e s s   t o   s e c r e t s .   T h i s   w o u l d   a l l o w   a d d i n g   s e c r e t s   i n t o   t h e   p o d   a s   e n v i r o n m e n t   v a r i a b l e s   o r   f i l e s .   P l e a s e   n o t e   t h ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4259"
  },
  {
    "question": "What is Images?",
    "answer": "M i n i m i z e   u n n e c e s s a r y   c o n t e n t   i n   c o n t a i n e r   i m a g e s .   C o n t a i n e r   i m a g e s   a r e   c o n f i g u r e d   t o   b e   r u n   a s   u n p r i v i l e g e d   u s e r .   R e f e r e n c e s   t o   c o n t a i n e r   i m a g e s   a r e   m a d e   b y   s h a 2 5 6   d i g e s t s   ( r a t h e r   t h a n   t a g s )   o r   t h e   p r o v e n a n c e   o f   t h e   i m a g e   i s   v a l i d a t e d   b y   v e r i f y i n g   t h e   i m a g e ' s   d i g i t a l   s i g n a t u r e   a t   d e p l o y   t i m e   v i a   a d m i s s i o n   c o n t r o l .   C o n t a i n e r   i m a g e s   a r e   r e g u l a r l y   s c a n n e d   d u r i n g   c r e a t i o n   a n d   i n   d e p l o y m e n t ,   a n d   k n o w n   v u l n e r a b l e   s o f t w a r e   i s   p a t c h e d .   C o n t a i n e r   i m a g e   s h o u l d   c o n t a i n   t h e   b a r e   m i n i m u m   t o   r u n   t h e   p r o g r a m   t h e y   p a c k a g e .   P r e f e r a b l y ,   o n l y   t h e   p r o g r a m   a n d   i t s   d e p e n d e n c i e s ,   b u i l d i n g   t h e   i m a g e   f r o m   t h e   m i n i m a l   p o s s i b l e   b a s e .   I n   p a r t i c u l a r ,   i m a g e   u s e d   i n   p r o d u c t i o n   s h o u l d   n o t   c o n t a i n   s h e l l s   o r   d e b u g g i n g   u t i l i t i e s ,   a s   a n   e p h e m e r a l   d e b u g   c o n t a i n e r   c a n   b e   u s e d   f o r   t r o u b l e s h o o t i n g .   B u i l d   i m a g e s   t o   d i r e c t l y   s t a r t   w i t h   a n   u n p r i v i l e g e d   u s e r   b y   u s i n g   t h e   U S E R   i n s t r u c t i o n   i n   D o c k e r f i l e .   T h e   S e c u r i t y   C o n t e x t   a l l o w s   a   c o n t a i n e r   i m a g e   t o   b e   s t a r t e d   w i t h   a   s p e c i f i c   u s e r   a n d   g r o u p   w i t h   r u n A s U s e r   a n d   r u n A s G r o u p ,   e v e n   i ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4260"
  },
  {
    "question": "What is Admission controllers?",
    "answer": "A n   a p p r o p r i a t e   s e l e c t i o n   o f   a d m i s s i o n   c o n t r o l l e r s   i s   e n a b l e d .   A   p o d   s e c u r i t y   p o l i c y   i s   e n f o r c e d   b y   t h e   P o d   S e c u r i t y   A d m i s s i o n   o r / a n d   a   w e b h o o k   a d m i s s i o n   c o n t r o l l e r .   T h e   a d m i s s i o n   c h a i n   p l u g i n s   a n d   w e b h o o k s   a r e   s e c u r e l y   c o n f i g u r e d .   A d m i s s i o n   c o n t r o l l e r s   c a n   h e l p   i m p r o v e   t h e   s e c u r i t y   o f   t h e   c l u s t e r .   H o w e v e r ,   t h e y   c a n   p r e s e n t   r i s k s   t h e m s e l v e s   a s   t h e y   e x t e n d   t h e   A P I   s e r v e r   a n d   s h o u l d   b e   p r o p e r l y   s e c u r e d .   T h e   f o l l o w i n g   l i s t s   p r e s e n t   a   n u m b e r   o f   a d m i s s i o n   c o n t r o l l e r s   t h a t   c o u l d   b e   c o n s i d e r e d   t o   e n h a n c e   t h e   s e c u r i t y   p o s t u r e   o f   y o u r   c l u s t e r   a n d   a p p l i c a t i o n .   I t   i n c l u d e s   c o n t r o l l e r s   t h a t   m a y   b e   r e f e r e n c e d   i n   o t h e r   p a r t s   o f   t h i s   d o c u m e n t .   T h i s   f i r s t   g r o u p   o f   a d m i s s i o n   c o n t r o l l e r s   i n c l u d e s   p l u g i n s   e n a b l e d   b y   d e f a u l t ,   c o n s i d e r   t o   l e a v e   t h e m   e n a b l e d   u n l e s s   y o u   k n o w   w h a t   y o u   a r e   d o i n g :   T h e   s e c o n d   g r o u p   i n c l u d e s   p l u g i n s   t h a t   a r e   n o t   e n a b l e d   b y   d e f a u l t   b u t   a r e   i n   g e n e r a l   a v a i l a b i l i t y   s t a t e   a n d   a r e   r e c o m m e n d e d   t o   i m p r o v e   y o u r   s e c u r i t y   p o s t u r e :   T h e   t h i r d   g r o u p   i n c l u d e s   p l u g i n s   t h a t   a r e   n o t   e n a b l e d   b y   d e f ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4261"
  },
  {
    "question": "What is What's next?",
    "answer": "P r i v i l e g e   e s c a l a t i o n   v i a   P o d   c r e a t i o n   w a r n s   y o u   a b o u t   a   s p e c i f i c   a c c e s s   c o n t r o l   r i s k ;   c h e c k   h o w   y o u ' r e   m a n a g i n g   t h a t   t h r e a t . I f   y o u   u s e   K u b e r n e t e s   R B A C ,   r e a d   R B A C   G o o d   P r a c t i c e s   f o r   f u r t h e r   i n f o r m a t i o n   o n   a u t h o r i z a t i o n . S e c u r i n g   a   C l u s t e r   f o r   i n f o r m a t i o n   o n   p r o t e c t i n g   a   c l u s t e r   f r o m   a c c i d e n t a l   o r   m a l i c i o u s   a c c e s s . C l u s t e r   M u l t i - t e n a n c y   g u i d e   f o r   c o n f i g u r a t i o n   o p t i o n s   r e c o m m e n d a t i o n s   a n d   b e s t   p r a c t i c e s   o n   m u l t i - t e n a n c y . B l o g   p o s t   \" A   C l o s e r   L o o k   a t   N S A / C I S A   K u b e r n e t e s   H a r d e n i n g   G u i d a n c e \"   f o r   c o m p l e m e n t a r y   r e s o u r c e   o n   h a r d e n i n g   K u b e r n e t e s   c l u s t e r s .   I f   y o u   u s e   K u b e r n e t e s   R B A C ,   r e a d   R B A C   G o o d   P r a c t i c e s   f o r   f u r t h e r   i n f o r m a t i o n   o n   a u t h o r i z a t i o n .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4262"
  },
  {
    "question": "What is 17 - Application Security Checklist?",
    "answer": "T h i s   c h e c k l i s t   a i m s   t o   p r o v i d e   b a s i c   g u i d e l i n e s   o n   s e c u r i n g   a p p l i c a t i o n s   r u n n i n g   i n   K u b e r n e t e s   f r o m   a   d e v e l o p e r ' s   p e r s p e c t i v e .   T h i s   l i s t   i s   n o t   m e a n t   t o   b e   e x h a u s t i v e   a n d   i s   i n t e n d e d   t o   e v o l v e   o v e r   t i m e .   O n   h o w   t o   r e a d   a n d   u s e   t h i s   d o c u m e n t :   T h e   o r d e r   o f   t o p i c s   d o e s   n o t   r e f l e c t   a n   o r d e r   o f   p r i o r i t y . S o m e   c h e c k l i s t   i t e m s   a r e   d e t a i l e d   i n   t h e   p a r a g r a p h   b e l o w   t h e   l i s t   o f   e a c h   s e c t i o n . T h i s   c h e c k l i s t   a s s u m e s   t h a t   a   d e v e l o p e r   i s   a   K u b e r n e t e s   c l u s t e r   u s e r   w h o   i n t e r a c t s   w i t h   n a m e s p a c e d   s c o p e   o b j e c t s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_1_4263"
  },
  {
    "question": "What is Base security hardening?",
    "answer": "T h e   f o l l o w i n g   c h e c k l i s t   p r o v i d e s   b a s e   s e c u r i t y   h a r d e n i n g   r e c o m m e n d a t i o n s   t h a t   w o u l d   a p p l y   t o   m o s t   a p p l i c a t i o n s   d e p l o y i n g   t o   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4264"
  },
  {
    "question": "What is Application design?",
    "answer": "F o l l o w   t h e   r i g h t   s e c u r i t y   p r i n c i p l e s   w h e n   d e s i g n i n g   a p p l i c a t i o n s .   A p p l i c a t i o n   c o n f i g u r e d   w i t h   a p p r o p r i a t e   Q o S   c l a s s   t h r o u g h   r e s o u r c e   r e q u e s t   a n d   l i m i t s .   M e m o r y   l i m i t   i s   s e t   f o r   t h e   w o r k l o a d s   w i t h   a   l i m i t   e q u a l   t o   o r   g r e a t e r   t h a n   t h e   r e q u e s t .   C P U   l i m i t   m i g h t   b e   s e t   o n   s e n s i t i v e   w o r k l o a d s .   M e m o r y   l i m i t   i s   s e t   f o r   t h e   w o r k l o a d s   w i t h   a   l i m i t   e q u a l   t o   o r   g r e a t e r   t h a n   t h e   r e q u e s t .   C P U   l i m i t   m i g h t   b e   s e t   o n   s e n s i t i v e   w o r k l o a d s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4265"
  },
  {
    "question": "What is Service account?",
    "answer": "A v o i d   u s i n g   t h e   d e f a u l t   S e r v i c e A c c o u n t .   I n s t e a d ,   c r e a t e   S e r v i c e A c c o u n t s   f o r   e a c h   w o r k l o a d   o r   m i c r o s e r v i c e .   a u t o m o u n t S e r v i c e A c c o u n t T o k e n   s h o u l d   b e   s e t   t o   f a l s e   u n l e s s   t h e   p o d   s p e c i f i c a l l y   r e q u i r e s   a c c e s s   t o   t h e   K u b e r n e t e s   A P I   t o   o p e r a t e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4266"
  },
  {
    "question": "What is Pod-level securityContext recommendations?",
    "answer": "S e t   r u n A s N o n R o o t :   t r u e .   C o n f i g u r e   t h e   c o n t a i n e r   t o   e x e c u t e   a s   a   l e s s   p r i v i l e g e d   u s e r   ( f o r   e x a m p l e ,   u s i n g   r u n A s U s e r   a n d   r u n A s G r o u p ) ,   a n d   c o n f i g u r e   a p p r o p r i a t e   p e r m i s s i o n s   o n   f i l e s   o r   d i r e c t o r i e s   i n s i d e   t h e   c o n t a i n e r   i m a g e .   O p t i o n a l l y   a d d   a   s u p p l e m e n t a r y   g r o u p   w i t h   f s G r o u p   t o   a c c e s s   p e r s i s t e n t   v o l u m e s .   T h e   a p p l i c a t i o n   d e p l o y s   i n t o   a   n a m e s p a c e   t h a t   e n f o r c e s   a n   a p p r o p r i a t e   P o d   s e c u r i t y   s t a n d a r d .   I f   y o u   c a n n o t   c o n t r o l   t h i s   e n f o r c e m e n t   f o r   t h e   c l u s t e r ( s )   w h e r e   t h e   a p p l i c a t i o n   i s   d e p l o y e d ,   t a k e   t h i s   i n t o   a c c o u n t   e i t h e r   t h r o u g h   d o c u m e n t a t i o n   o r   a d d i t i o n a l   d e f e n s e   i n   d e p t h .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4267"
  },
  {
    "question": "What is Container-level securityContext recommendations?",
    "answer": "D i s a b l e   p r i v i l e g e   e s c a l a t i o n s   u s i n g   a l l o w P r i v i l e g e E s c a l a t i o n :   f a l s e .   C o n f i g u r e   t h e   r o o t   f i l e s y s t e m   t o   b e   r e a d - o n l y   w i t h   r e a d O n l y R o o t F i l e s y s t e m :   t r u e .   A v o i d   r u n n i n g   p r i v i l e g e d   c o n t a i n e r s   ( s e t   p r i v i l e g e d :   f a l s e ) .   D r o p   a l l   c a p a b i l i t i e s   f r o m   t h e   c o n t a i n e r s   a n d   a d d   b a c k   o n l y   s p e c i f i c   o n e s   t h a t   a r e   n e e d e d   f o r   o p e r a t i o n   o f   t h e   c o n t a i n e r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4268"
  },
  {
    "question": "What is Role Based Access Control (RBAC)?",
    "answer": "P e r m i s s i o n s   s u c h   a s   c r e a t e ,   p a t c h ,   u p d a t e   a n d   d e l e t e   s h o u l d   b e   o n l y   g r a n t e d   i f   n e c e s s a r y .   A v o i d   c r e a t i n g   R B A C   p e r m i s s i o n s   t o   c r e a t e   o r   u p d a t e   r o l e s   w h i c h   c a n   l e a d   t o   p r i v i l e g e   e s c a l a t i o n .   R e v i e w   b i n d i n g s   f o r   t h e   s y s t e m : u n a u t h e n t i c a t e d   g r o u p   a n d   r e m o v e   t h e m   w h e r e   p o s s i b l e ,   a s   t h i s   g i v e s   a c c e s s   t o   a n y o n e   w h o   c a n   c o n t a c t   t h e   A P I   s e r v e r   a t   a   n e t w o r k   l e v e l .   T h e   c r e a t e ,   u p d a t e   a n d   d e l e t e   v e r b s   s h o u l d   b e   p e r m i t t e d   j u d i c i o u s l y .   T h e   p a t c h   v e r b   i f   a l l o w e d   o n   a   N a m e s p a c e   c a n   a l l o w   u s e r s   t o   u p d a t e   l a b e l s   o n   t h e   n a m e s p a c e   o r   d e p l o y m e n t s   w h i c h   c a n   i n c r e a s e   t h e   a t t a c k   s u r f a c e .   F o r   s e n s i t i v e   w o r k l o a d s ,   c o n s i d e r   p r o v i d i n g   a   r e c o m m e n d e d   V a l i d a t i n g A d m i s s i o n P o l i c y   t h a t   f u r t h e r   r e s t r i c t s   t h e   p e r m i t t e d   w r i t e   a c t i o n s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4269"
  },
  {
    "question": "What is Image security?",
    "answer": "U s i n g   a n   i m a g e   s c a n n i n g   t o o l   t o   s c a n   a n   i m a g e   b e f o r e   d e p l o y i n g   c o n t a i n e r s   i n   t h e   K u b e r n e t e s   c l u s t e r .   U s e   c o n t a i n e r   s i g n i n g   t o   v a l i d a t e   t h e   c o n t a i n e r   i m a g e   s i g n a t u r e   b e f o r e   d e p l o y i n g   t o   t h e   K u b e r n e t e s   c l u s t e r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4270"
  },
  {
    "question": "What is Network policies?",
    "answer": "C o n f i g u r e   N e t w o r k P o l i c i e s   t o   o n l y   a l l o w   e x p e c t e d   i n g r e s s   a n d   e g r e s s   t r a f f i c   f r o m   t h e   p o d s .   M a k e   s u r e   t h a t   y o u r   c l u s t e r   p r o v i d e s   a n d   e n f o r c e s   N e t w o r k P o l i c y .   I f   y o u   a r e   w r i t i n g   a n   a p p l i c a t i o n   t h a t   u s e r s   w i l l   d e p l o y   t o   d i f f e r e n t   c l u s t e r s ,   c o n s i d e r   w h e t h e r   y o u   c a n   a s s u m e   t h a t   N e t w o r k P o l i c y   i s   a v a i l a b l e   a n d   e n f o r c e d .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4271"
  },
  {
    "question": "What is Advanced security hardening?",
    "answer": "T h i s   s e c t i o n   o f   t h i s   g u i d e   c o v e r s   s o m e   a d v a n c e d   s e c u r i t y   h a r d e n i n g   p o i n t s   w h i c h   m i g h t   b e   v a l u a b l e   b a s e d   o n   d i f f e r e n t   K u b e r n e t e s   e n v i r o n m e n t   s e t u p .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_2_4272"
  },
  {
    "question": "What is Linux container security?",
    "answer": "C o n f i g u r e   S e c u r i t y   C o n t e x t   f o r   t h e   p o d - c o n t a i n e r .   S e t   t h e   S e c c o m p   P r o f i l e   f o r   a   C o n t a i n e r .   R e s t r i c t   a   C o n t a i n e r ' s   A c c e s s   t o   R e s o u r c e s   w i t h   A p p A r m o r .   A s s i g n   S E L i n u x   L a b e l s   t o   a   C o n t a i n e r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4273"
  },
  {
    "question": "What is Runtime classes?",
    "answer": "C o n f i g u r e   a p p r o p r i a t e   r u n t i m e   c l a s s e s   f o r   c o n t a i n e r s .   S o m e   c o n t a i n e r s   m a y   r e q u i r e   a   d i f f e r e n t   i s o l a t i o n   l e v e l   f r o m   w h a t   i s   p r o v i d e d   b y   t h e   d e f a u l t   r u n t i m e   o f   t h e   c l u s t e r .   r u n t i m e C l a s s N a m e   c a n   b e   u s e d   i n   a   p o d s p e c   t o   d e f i n e   a   d i f f e r e n t   r u n t i m e   c l a s s .   F o r   s e n s i t i v e   w o r k l o a d s   c o n s i d e r   u s i n g   k e r n e l   e m u l a t i o n   t o o l s   l i k e   g V i s o r ,   o r   v i r t u a l i z e d   i s o l a t i o n   u s i n g   a   m e c h a n i s m   s u c h   a s   k a t a - c o n t a i n e r s .   I n   h i g h   t r u s t   e n v i r o n m e n t s ,   c o n s i d e r   u s i n g   c o n f i d e n t i a l   v i r t u a l   m a c h i n e s   t o   i m p r o v e   c l u s t e r   s e c u r i t y   e v e n   f u r t h e r .   ©   2 0 2 5   T h e   K u b e r n e t e s   A u t h o r s   |   D o c u m e n t a t i o n   D i s t r i b u t e d   u n d e r   C C   B Y   4 . 0   ©   2 0 2 5   T h e   L i n u x   F o u n d a t i o n   ® .   A l l   r i g h t s   r e s e r v e d .   T h e   L i n u x   F o u n d a t i o n   h a s   r e g i s t e r e d   t r a d e m a r k s   a n d   u s e s   t r a d e m a r k s .   F o r   a   l i s t   o f   t r a d e m a r k s   o f   T h e   L i n u x   F o u n d a t i o n ,   p l e a s e   s e e   o u r   T r a d e m a r k   U s a g e   p a g e   I C P   l i c e n s e :   京 I C P 备 1 7 0 7 4 2 6 6 号 - 3",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/_print/",
    "id": "k8s_00224_section_3_4274"
  },
  {
    "question": "What is Post-release communications?",
    "answer": "Post-release communicationsThe Kubernetes Release Comms team (part of SIG Release) looks after release announcements, which go onto the main project blog.After each release, the Release Comms team take over the main blog for a period and publish a series of additional articles to explain or announce changes related to that release. These additional articles are termed post-release comms.Opting in to post-release commsDuring a release cycle, as a contributor, you can opt in to post-release comms about an upcoming change to Kubernetes.To opt in you open a draft, placeholder pull request (PR) against k/website. Initially, this can be an empty commit. Mention the KEP issue or other Kubernetes improvement issue in the description of your placeholder PR.When you open the draft pull request, you open it against main as the base branch and not against the dev-1.35 branch. This is different from the process for upcoming release changes and new features.You should also leave a comment on the related kubernetes/enhancements issue with a link to the PR to notify the Release Comms team managing this release. Your comment helps the team see that the change needs announcing and that your SIG has opted in.As well as the above, you should ideally contact the Release Comms team via Slack (channel #release-comms) to let them know that you have done this and would like to opt in.Preparing the article contentYou should follow the usual article submission process to turn your placeholder PR into something ready for review. However, for post-release comms, you may not have a writing buddy; instead, the Release Comms team may assign a member of the team to help guide what you're doing.You should squash the commits in your pull request; if you're not sure how to, it's absolutely OK to ask Release Comms or the blog team for help.Provided that your article is flagged as a draft (draft: true) in the front matter, the PR can merge at any time during the release cycle.PublicationAhead of the actual release, the Release Comms team check what content is ready (if it's not ready by the deadline, and you didn't get an exception, then the announcement won't be included). They build a schedule for the articles that will go out and open new pull requests to turn those articles from draft to published.Caution:All these pull requests to actually publish post-release articles must be held (Prow command /hold) until the release has actually happened.The blog team approvers still provide final sign off on promoting the content from draft to accepted for publication. Ahead of release day, the PR (or PRs) for publishing these announcements should have LGTM (“looks good to me”) and approved labels, along with the do-not-merge/hold label to ensure the PR doesn't merge too early.Release Comms / the Release Team can then unhold that PR (or set of PRs) as soon as the website Git repository is unfrozen after the actual release.On the day each article is scheduled to publish, automation triggers ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/release-comms/",
    "id": "k8s_00225_qa_4275"
  },
  {
    "question": "How does Post-release communications work?",
    "answer": "Post-release communicationsThe Kubernetes Release Comms team (part of SIG Release) looks after release announcements, which go onto the main project blog.After each release, the Release Comms team take over the main blog for a period and publish a series of additional articles to explain or announce changes related to that release. These additional articles are termed post-release comms.Opting in to post-release commsDuring a release cycle, as a contributor, you can opt in to post-release comms about an upcoming change to Kubernetes.To opt in you open a draft, placeholder pull request (PR) against k/website. Initially, this can be an empty commit. Mention the KEP issue or other Kubernetes improvement issue in the description of your placeholder PR.When you open the draft pull request, you open it against main as the base branch and not against the dev-1.35 branch. This is different from the process for upcoming release changes and new features.You should also leave a comment on the related kubernetes/enhancements issue with a link to the PR to notify the Release Comms team managing this release. Your comment helps the team see that the change needs announcing and that your SIG has opted in.As well as the above, you should ideally contact the Release Comms team via Slack (channel #release-comms) to let them know that you have done this and would like to opt in.Preparing the article contentYou should follow the usual article submission process to turn your placeholder PR into something ready for review. However, for post-release comms, you may not have a writing buddy; instead, the Release Comms team may assign a member of the team to help guide what you're doing.You should squash the commits in your pull request; if you're not sure how to, it's absolutely OK to ask Release Comms or the blog team for help.Provided that your article is flagged as a draft (draft: true) in the front matter, the PR can merge at any time during the release cycle.PublicationAhead of the actual release, the Release Comms team check what content is ready (if it's not ready by the deadline, and you didn't get an exception, then the announcement won't be included). They build a schedule for the articles that will go out and open new pull requests to turn those articles from draft to published.Caution:All these pull requests to actually publish post-release articles must be held (Prow command /hold) until the release has actually happened.The blog team approvers still provide final sign off on promoting the content from draft to accepted for publication. Ahead of release day, the PR (or PRs) for publishing these announcements should have LGTM (“looks good to me”) and approved labels, along with the do-not-merge/hold label to ensure the PR doesn't merge too early.Release Comms / the Release Team can then unhold that PR (or set of PRs) as soon as the website Git repository is unfrozen after the actual release.On the day each article is scheduled to publish, automation triggers ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/release-comms/",
    "id": "k8s_00225_qa_4276"
  },
  {
    "question": "When would you use Post-release communications?",
    "answer": "Post-release communicationsThe Kubernetes Release Comms team (part of SIG Release) looks after release announcements, which go onto the main project blog.After each release, the Release Comms team take over the main blog for a period and publish a series of additional articles to explain or announce changes related to that release. These additional articles are termed post-release comms.Opting in to post-release commsDuring a release cycle, as a contributor, you can opt in to post-release comms about an upcoming change to Kubernetes.To opt in you open a draft, placeholder pull request (PR) against k/website. Initially, this can be an empty commit. Mention the KEP issue or other Kubernetes improvement issue in the description of your placeholder PR.When you open the draft pull request, you open it against main as the base branch and not against the dev-1.35 branch. This is different from the process for upcoming release changes and new features.You should also leave a comment on the related kubernetes/enhancements issue with a link to the PR to notify the Release Comms team managing this release. Your comment helps the team see that the change needs announcing and that your SIG has opted in.As well as the above, you should ideally contact the Release Comms team via Slack (channel #release-comms) to let them know that you have done this and would like to opt in.Preparing the article contentYou should follow the usual article submission process to turn your placeholder PR into something ready for review. However, for post-release comms, you may not have a writing buddy; instead, the Release Comms team may assign a member of the team to help guide what you're doing.You should squash the commits in your pull request; if you're not sure how to, it's absolutely OK to ask Release Comms or the blog team for help.Provided that your article is flagged as a draft (draft: true) in the front matter, the PR can merge at any time during the release cycle.PublicationAhead of the actual release, the Release Comms team check what content is ready (if it's not ready by the deadline, and you didn't get an exception, then the announcement won't be included). They build a schedule for the articles that will go out and open new pull requests to turn those articles from draft to published.Caution:All these pull requests to actually publish post-release articles must be held (Prow command /hold) until the release has actually happened.The blog team approvers still provide final sign off on promoting the content from draft to accepted for publication. Ahead of release day, the PR (or PRs) for publishing these announcements should have LGTM (“looks good to me”) and approved labels, along with the do-not-merge/hold label to ensure the PR doesn't merge too early.Release Comms / the Release Team can then unhold that PR (or set of PRs) as soon as the website Git repository is unfrozen after the actual release.On the day each article is scheduled to publish, automation triggers ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/release-comms/",
    "id": "k8s_00225_qa_4277"
  },
  {
    "question": "What are the benefits of Post-release communications?",
    "answer": "Post-release communicationsThe Kubernetes Release Comms team (part of SIG Release) looks after release announcements, which go onto the main project blog.After each release, the Release Comms team take over the main blog for a period and publish a series of additional articles to explain or announce changes related to that release. These additional articles are termed post-release comms.Opting in to post-release commsDuring a release cycle, as a contributor, you can opt in to post-release comms about an upcoming change to Kubernetes.To opt in you open a draft, placeholder pull request (PR) against k/website. Initially, this can be an empty commit. Mention the KEP issue or other Kubernetes improvement issue in the description of your placeholder PR.When you open the draft pull request, you open it against main as the base branch and not against the dev-1.35 branch. This is different from the process for upcoming release changes and new features.You should also leave a comment on the related kubernetes/enhancements issue with a link to the PR to notify the Release Comms team managing this release. Your comment helps the team see that the change needs announcing and that your SIG has opted in.As well as the above, you should ideally contact the Release Comms team via Slack (channel #release-comms) to let them know that you have done this and would like to opt in.Preparing the article contentYou should follow the usual article submission process to turn your placeholder PR into something ready for review. However, for post-release comms, you may not have a writing buddy; instead, the Release Comms team may assign a member of the team to help guide what you're doing.You should squash the commits in your pull request; if you're not sure how to, it's absolutely OK to ask Release Comms or the blog team for help.Provided that your article is flagged as a draft (draft: true) in the front matter, the PR can merge at any time during the release cycle.PublicationAhead of the actual release, the Release Comms team check what content is ready (if it's not ready by the deadline, and you didn't get an exception, then the announcement won't be included). They build a schedule for the articles that will go out and open new pull requests to turn those articles from draft to published.Caution:All these pull requests to actually publish post-release articles must be held (Prow command /hold) until the release has actually happened.The blog team approvers still provide final sign off on promoting the content from draft to accepted for publication. Ahead of release day, the PR (or PRs) for publishing these announcements should have LGTM (“looks good to me”) and approved labels, along with the do-not-merge/hold label to ensure the PR doesn't merge too early.Release Comms / the Release Team can then unhold that PR (or set of PRs) as soon as the website Git repository is unfrozen after the actual release.On the day each article is scheduled to publish, automation triggers ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/release-comms/",
    "id": "k8s_00225_qa_4278"
  },
  {
    "question": "What is Post-release communications?",
    "answer": "T h e   K u b e r n e t e s   R e l e a s e   C o m m s   t e a m   ( p a r t   o f   S I G   R e l e a s e )   l o o k s   a f t e r   r e l e a s e   a n n o u n c e m e n t s ,   w h i c h   g o   o n t o   t h e   m a i n   p r o j e c t   b l o g .   A f t e r   e a c h   r e l e a s e ,   t h e   R e l e a s e   C o m m s   t e a m   t a k e   o v e r   t h e   m a i n   b l o g   f o r   a   p e r i o d   a n d   p u b l i s h   a   s e r i e s   o f   a d d i t i o n a l   a r t i c l e s   t o   e x p l a i n   o r   a n n o u n c e   c h a n g e s   r e l a t e d   t o   t h a t   r e l e a s e .   T h e s e   a d d i t i o n a l   a r t i c l e s   a r e   t e r m e d   p o s t - r e l e a s e   c o m m s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/release-comms/",
    "id": "k8s_00225_section_1_4279"
  },
  {
    "question": "What is Opting in to post-release comms?",
    "answer": "D u r i n g   a   r e l e a s e   c y c l e ,   a s   a   c o n t r i b u t o r ,   y o u   c a n   o p t   i n   t o   p o s t - r e l e a s e   c o m m s   a b o u t   a n   u p c o m i n g   c h a n g e   t o   K u b e r n e t e s .   T o   o p t   i n   y o u   o p e n   a   d r a f t ,   p l a c e h o l d e r   p u l l   r e q u e s t   ( P R )   a g a i n s t   k / w e b s i t e .   I n i t i a l l y ,   t h i s   c a n   b e   a n   e m p t y   c o m m i t .   M e n t i o n   t h e   K E P   i s s u e   o r   o t h e r   K u b e r n e t e s   i m p r o v e m e n t   i s s u e   i n   t h e   d e s c r i p t i o n   o f   y o u r   p l a c e h o l d e r   P R .   W h e n   y o u   o p e n   t h e   d r a f t   p u l l   r e q u e s t ,   y o u   o p e n   i t   a g a i n s t   m a i n   a s   t h e   b a s e   b r a n c h   a n d   n o t   a g a i n s t   t h e   d e v - 1 . 3 5   b r a n c h .   T h i s   i s   d i f f e r e n t   f r o m   t h e   p r o c e s s   f o r   u p c o m i n g   r e l e a s e   c h a n g e s   a n d   n e w   f e a t u r e s .   Y o u   s h o u l d   a l s o   l e a v e   a   c o m m e n t   o n   t h e   r e l a t e d   k u b e r n e t e s / e n h a n c e m e n t s   i s s u e   w i t h   a   l i n k   t o   t h e   P R   t o   n o t i f y   t h e   R e l e a s e   C o m m s   t e a m   m a n a g i n g   t h i s   r e l e a s e .   Y o u r   c o m m e n t   h e l p s   t h e   t e a m   s e e   t h a t   t h e   c h a n g e   n e e d s   a n n o u n c i n g   a n d   t h a t   y o u r   S I G   h a s   o p t e d   i n .   A s   w e l l   a s   t h e   a b o v e ,   y o u   s h o u l d   i d e a l l y   c o n t a c t   t h e   R e l e a s e   C o m m s   t e a m   v i a   S l a c k   ( c h a n n e l   # r e l e a s e - c o m m s )   t o   l e t   t h e m   k n o w   t h a t   y o u   h a v e   d o n e   t h i s   a n d   w o u l d   l i k e   t o   o p t   i n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/release-comms/",
    "id": "k8s_00225_section_2_4280"
  },
  {
    "question": "What is Preparing the article content?",
    "answer": "Y o u   s h o u l d   f o l l o w   t h e   u s u a l   a r t i c l e   s u b m i s s i o n   p r o c e s s   t o   t u r n   y o u r   p l a c e h o l d e r   P R   i n t o   s o m e t h i n g   r e a d y   f o r   r e v i e w .   H o w e v e r ,   f o r   p o s t - r e l e a s e   c o m m s ,   y o u   m a y   n o t   h a v e   a   w r i t i n g   b u d d y ;   i n s t e a d ,   t h e   R e l e a s e   C o m m s   t e a m   m a y   a s s i g n   a   m e m b e r   o f   t h e   t e a m   t o   h e l p   g u i d e   w h a t   y o u ' r e   d o i n g .   Y o u   s h o u l d   s q u a s h   t h e   c o m m i t s   i n   y o u r   p u l l   r e q u e s t ;   i f   y o u ' r e   n o t   s u r e   h o w   t o ,   i t ' s   a b s o l u t e l y   O K   t o   a s k   R e l e a s e   C o m m s   o r   t h e   b l o g   t e a m   f o r   h e l p .   P r o v i d e d   t h a t   y o u r   a r t i c l e   i s   f l a g g e d   a s   a   d r a f t   ( d r a f t :   t r u e )   i n   t h e   f r o n t   m a t t e r ,   t h e   P R   c a n   m e r g e   a t   a n y   t i m e   d u r i n g   t h e   r e l e a s e   c y c l e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/release-comms/",
    "id": "k8s_00225_section_2_4281"
  },
  {
    "question": "What is Publication?",
    "answer": "A h e a d   o f   t h e   a c t u a l   r e l e a s e ,   t h e   R e l e a s e   C o m m s   t e a m   c h e c k   w h a t   c o n t e n t   i s   r e a d y   ( i f   i t ' s   n o t   r e a d y   b y   t h e   d e a d l i n e ,   a n d   y o u   d i d n ' t   g e t   a n   e x c e p t i o n ,   t h e n   t h e   a n n o u n c e m e n t   w o n ' t   b e   i n c l u d e d ) .   T h e y   b u i l d   a   s c h e d u l e   f o r   t h e   a r t i c l e s   t h a t   w i l l   g o   o u t   a n d   o p e n   n e w   p u l l   r e q u e s t s   t o   t u r n   t h o s e   a r t i c l e s   f r o m   d r a f t   t o   p u b l i s h e d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/release-comms/",
    "id": "k8s_00225_section_2_4282"
  },
  {
    "question": "What is Caution:?",
    "answer": "T h e   b l o g   t e a m   a p p r o v e r s   s t i l l   p r o v i d e   f i n a l   s i g n   o f f   o n   p r o m o t i n g   t h e   c o n t e n t   f r o m   d r a f t   t o   a c c e p t e d   f o r   p u b l i c a t i o n .   A h e a d   o f   r e l e a s e   d a y ,   t h e   P R   ( o r   P R s )   f o r   p u b l i s h i n g   t h e s e   a n n o u n c e m e n t s   s h o u l d   h a v e   L G T M   ( “ l o o k s   g o o d   t o   m e ” )   a n d   a p p r o v e d   l a b e l s ,   a l o n g   w i t h   t h e   d o - n o t - m e r g e / h o l d   l a b e l   t o   e n s u r e   t h e   P R   d o e s n ' t   m e r g e   t o o   e a r l y .   R e l e a s e   C o m m s   /   t h e   R e l e a s e   T e a m   c a n   t h e n   u n h o l d   t h a t   P R   ( o r   s e t   o f   P R s )   a s   s o o n   a s   t h e   w e b s i t e   G i t   r e p o s i t o r y   i s   u n f r o z e n   a f t e r   t h e   a c t u a l   r e l e a s e .   O n   t h e   d a y   e a c h   a r t i c l e   i s   s c h e d u l e d   t o   p u b l i s h ,   a u t o m a t i o n   t r i g g e r s   a   w e b s i t e   b u i l d   a n d   t h a t   a r t i c l e   b e c o m e s   v i s i b l e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/release-comms/",
    "id": "k8s_00225_section_4_4283"
  },
  {
    "question": "What is Translate a Docker Compose File to Kubernetes Resources?",
    "answer": "Translate a Docker Compose File to Kubernetes ResourcesWhat's Kompose? It's a conversion tool for all things compose (namely Docker Compose) to container orchestrators (Kubernetes or OpenShift).More information can be found on the Kompose website at https://kompose.io/.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Install KomposeWe have multiple ways to install Kompose. Our preferred method is downloading the binary from the latest GitHub release.Kompose is released via GitHub on a three-week cycle, you can see all current releases on the GitHub release page.# Linux curl -L https://github.com/kubernetes/kompose/releases/download/v1.34.0/kompose-linux-amd64 -o kompose # macOS curl -L https://github.com/kubernetes/kompose/releases/download/v1.34.0/kompose-darwin-amd64 -o kompose # Windows curl -L https://github.com/kubernetes/kompose/releases/download/v1.34.0/kompose-windows-amd64.exe -o kompose.exe chmod +x kompose sudo mv ./kompose /usr/local/bin/kompose Alternatively, you can download the tarball.Installing using go get pulls from the master branch with the latest development changes.go get -u github.com/kubernetes/kompose On macOS you can install the latest release via Homebrew:brew install kompose Use KomposeIn a few steps, we'll take you from Docker Compose to Kubernetes. All you need is an existing docker-compose.yml file.Go to the directory containing your docker-compose.yml file. If you don't have one, test using this one. services: redis-leader: container_name: redis-leader image: redis ports: - \"6379\" redis-replica: container_name: redis-replica image: redis ports: - \"6379\" command: redis-server --replicaof redis-leader 6379 --dir /tmp web: container_name: web image: quay.io/kompose/web ports: - \"8080:8080\" environment: - GET_HOSTS_FROM=dns labels: kompose.service.type: LoadBalancer To convert the docker-compose.yml file to files that you can use with kubectl, run kompose convert and then kubectl apply -f <output file>.kompose convert The output is similar to:INFO Kubernetes file \"redis-leader-service.yaml\" created INFO Kubernetes file \"redis-replica-service.yaml\" created INFO Kubernetes file \"web-tcp-service.yaml\" created INFO Kubernetes file \"redis-leader-deployment.yaml\" created INFO Kubernetes file \"redis-replica-deployment.yaml\" created INFO Kubernetes file \"web-deployment.yaml\" created kubectl apply -f web-tcp-service.yaml,redis-leader-service.yaml,redis-replica-service.yaml,web-deployment.yaml,redis-leader-deployment.yaml,redis-replica-deployment.yaml The output is similar to:deployment.apps/redis-lead",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/translate-compose-kubernetes/",
    "id": "k8s_00226_qa_4284"
  },
  {
    "question": "How does Translate a Docker Compose File to Kubernetes Resources work?",
    "answer": "Translate a Docker Compose File to Kubernetes ResourcesWhat's Kompose? It's a conversion tool for all things compose (namely Docker Compose) to container orchestrators (Kubernetes or OpenShift).More information can be found on the Kompose website at https://kompose.io/.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Install KomposeWe have multiple ways to install Kompose. Our preferred method is downloading the binary from the latest GitHub release.Kompose is released via GitHub on a three-week cycle, you can see all current releases on the GitHub release page.# Linux curl -L https://github.com/kubernetes/kompose/releases/download/v1.34.0/kompose-linux-amd64 -o kompose # macOS curl -L https://github.com/kubernetes/kompose/releases/download/v1.34.0/kompose-darwin-amd64 -o kompose # Windows curl -L https://github.com/kubernetes/kompose/releases/download/v1.34.0/kompose-windows-amd64.exe -o kompose.exe chmod +x kompose sudo mv ./kompose /usr/local/bin/kompose Alternatively, you can download the tarball.Installing using go get pulls from the master branch with the latest development changes.go get -u github.com/kubernetes/kompose On macOS you can install the latest release via Homebrew:brew install kompose Use KomposeIn a few steps, we'll take you from Docker Compose to Kubernetes. All you need is an existing docker-compose.yml file.Go to the directory containing your docker-compose.yml file. If you don't have one, test using this one. services: redis-leader: container_name: redis-leader image: redis ports: - \"6379\" redis-replica: container_name: redis-replica image: redis ports: - \"6379\" command: redis-server --replicaof redis-leader 6379 --dir /tmp web: container_name: web image: quay.io/kompose/web ports: - \"8080:8080\" environment: - GET_HOSTS_FROM=dns labels: kompose.service.type: LoadBalancer To convert the docker-compose.yml file to files that you can use with kubectl, run kompose convert and then kubectl apply -f <output file>.kompose convert The output is similar to:INFO Kubernetes file \"redis-leader-service.yaml\" created INFO Kubernetes file \"redis-replica-service.yaml\" created INFO Kubernetes file \"web-tcp-service.yaml\" created INFO Kubernetes file \"redis-leader-deployment.yaml\" created INFO Kubernetes file \"redis-replica-deployment.yaml\" created INFO Kubernetes file \"web-deployment.yaml\" created kubectl apply -f web-tcp-service.yaml,redis-leader-service.yaml,redis-replica-service.yaml,web-deployment.yaml,redis-leader-deployment.yaml,redis-replica-deployment.yaml The output is similar to:deployment.apps/redis-lead",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/translate-compose-kubernetes/",
    "id": "k8s_00226_qa_4285"
  },
  {
    "question": "When would you use Translate a Docker Compose File to Kubernetes Resources?",
    "answer": "Translate a Docker Compose File to Kubernetes ResourcesWhat's Kompose? It's a conversion tool for all things compose (namely Docker Compose) to container orchestrators (Kubernetes or OpenShift).More information can be found on the Kompose website at https://kompose.io/.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Install KomposeWe have multiple ways to install Kompose. Our preferred method is downloading the binary from the latest GitHub release.Kompose is released via GitHub on a three-week cycle, you can see all current releases on the GitHub release page.# Linux curl -L https://github.com/kubernetes/kompose/releases/download/v1.34.0/kompose-linux-amd64 -o kompose # macOS curl -L https://github.com/kubernetes/kompose/releases/download/v1.34.0/kompose-darwin-amd64 -o kompose # Windows curl -L https://github.com/kubernetes/kompose/releases/download/v1.34.0/kompose-windows-amd64.exe -o kompose.exe chmod +x kompose sudo mv ./kompose /usr/local/bin/kompose Alternatively, you can download the tarball.Installing using go get pulls from the master branch with the latest development changes.go get -u github.com/kubernetes/kompose On macOS you can install the latest release via Homebrew:brew install kompose Use KomposeIn a few steps, we'll take you from Docker Compose to Kubernetes. All you need is an existing docker-compose.yml file.Go to the directory containing your docker-compose.yml file. If you don't have one, test using this one. services: redis-leader: container_name: redis-leader image: redis ports: - \"6379\" redis-replica: container_name: redis-replica image: redis ports: - \"6379\" command: redis-server --replicaof redis-leader 6379 --dir /tmp web: container_name: web image: quay.io/kompose/web ports: - \"8080:8080\" environment: - GET_HOSTS_FROM=dns labels: kompose.service.type: LoadBalancer To convert the docker-compose.yml file to files that you can use with kubectl, run kompose convert and then kubectl apply -f <output file>.kompose convert The output is similar to:INFO Kubernetes file \"redis-leader-service.yaml\" created INFO Kubernetes file \"redis-replica-service.yaml\" created INFO Kubernetes file \"web-tcp-service.yaml\" created INFO Kubernetes file \"redis-leader-deployment.yaml\" created INFO Kubernetes file \"redis-replica-deployment.yaml\" created INFO Kubernetes file \"web-deployment.yaml\" created kubectl apply -f web-tcp-service.yaml,redis-leader-service.yaml,redis-replica-service.yaml,web-deployment.yaml,redis-leader-deployment.yaml,redis-replica-deployment.yaml The output is similar to:deployment.apps/redis-lead",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/translate-compose-kubernetes/",
    "id": "k8s_00226_qa_4286"
  },
  {
    "question": "What are the benefits of Translate a Docker Compose File to Kubernetes Resources?",
    "answer": "Translate a Docker Compose File to Kubernetes ResourcesWhat's Kompose? It's a conversion tool for all things compose (namely Docker Compose) to container orchestrators (Kubernetes or OpenShift).More information can be found on the Kompose website at https://kompose.io/.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Install KomposeWe have multiple ways to install Kompose. Our preferred method is downloading the binary from the latest GitHub release.Kompose is released via GitHub on a three-week cycle, you can see all current releases on the GitHub release page.# Linux curl -L https://github.com/kubernetes/kompose/releases/download/v1.34.0/kompose-linux-amd64 -o kompose # macOS curl -L https://github.com/kubernetes/kompose/releases/download/v1.34.0/kompose-darwin-amd64 -o kompose # Windows curl -L https://github.com/kubernetes/kompose/releases/download/v1.34.0/kompose-windows-amd64.exe -o kompose.exe chmod +x kompose sudo mv ./kompose /usr/local/bin/kompose Alternatively, you can download the tarball.Installing using go get pulls from the master branch with the latest development changes.go get -u github.com/kubernetes/kompose On macOS you can install the latest release via Homebrew:brew install kompose Use KomposeIn a few steps, we'll take you from Docker Compose to Kubernetes. All you need is an existing docker-compose.yml file.Go to the directory containing your docker-compose.yml file. If you don't have one, test using this one. services: redis-leader: container_name: redis-leader image: redis ports: - \"6379\" redis-replica: container_name: redis-replica image: redis ports: - \"6379\" command: redis-server --replicaof redis-leader 6379 --dir /tmp web: container_name: web image: quay.io/kompose/web ports: - \"8080:8080\" environment: - GET_HOSTS_FROM=dns labels: kompose.service.type: LoadBalancer To convert the docker-compose.yml file to files that you can use with kubectl, run kompose convert and then kubectl apply -f <output file>.kompose convert The output is similar to:INFO Kubernetes file \"redis-leader-service.yaml\" created INFO Kubernetes file \"redis-replica-service.yaml\" created INFO Kubernetes file \"web-tcp-service.yaml\" created INFO Kubernetes file \"redis-leader-deployment.yaml\" created INFO Kubernetes file \"redis-replica-deployment.yaml\" created INFO Kubernetes file \"web-deployment.yaml\" created kubectl apply -f web-tcp-service.yaml,redis-leader-service.yaml,redis-replica-service.yaml,web-deployment.yaml,redis-leader-deployment.yaml,redis-replica-deployment.yaml The output is similar to:deployment.apps/redis-lead",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/translate-compose-kubernetes/",
    "id": "k8s_00226_qa_4287"
  },
  {
    "question": "What is Translate a Docker Compose File to Kubernetes Resources?",
    "answer": "W h a t ' s   K o m p o s e ?   I t ' s   a   c o n v e r s i o n   t o o l   f o r   a l l   t h i n g s   c o m p o s e   ( n a m e l y   D o c k e r   C o m p o s e )   t o   c o n t a i n e r   o r c h e s t r a t o r s   ( K u b e r n e t e s   o r   O p e n S h i f t ) .   M o r e   i n f o r m a t i o n   c a n   b e   f o u n d   o n   t h e   K o m p o s e   w e b s i t e   a t   h t t p s : / / k o m p o s e . i o / .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/translate-compose-kubernetes/",
    "id": "k8s_00226_section_1_4288"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/translate-compose-kubernetes/",
    "id": "k8s_00226_section_2_4289"
  },
  {
    "question": "What is Install Kompose?",
    "answer": "W e   h a v e   m u l t i p l e   w a y s   t o   i n s t a l l   K o m p o s e .   O u r   p r e f e r r e d   m e t h o d   i s   d o w n l o a d i n g   t h e   b i n a r y   f r o m   t h e   l a t e s t   G i t H u b   r e l e a s e .   K o m p o s e   i s   r e l e a s e d   v i a   G i t H u b   o n   a   t h r e e - w e e k   c y c l e ,   y o u   c a n   s e e   a l l   c u r r e n t   r e l e a s e s   o n   t h e   G i t H u b   r e l e a s e   p a g e . #   L i n u x   c u r l   - L   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k o m p o s e / r e l e a s e s / d o w n l o a d / v 1 . 3 4 . 0 / k o m p o s e - l i n u x - a m d 6 4   - o   k o m p o s e   #   m a c O S   c u r l   - L   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k o m p o s e / r e l e a s e s / d o w n l o a d / v 1 . 3 4 . 0 / k o m p o s e - d a r w i n - a m d 6 4   - o   k o m p o s e   #   W i n d o w s   c u r l   - L   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k o m p o s e / r e l e a s e s / d o w n l o a d / v 1 . 3 4 . 0 / k o m p o s e - w i n d o w s - a m d 6 4 . e x e   - o   k o m p o s e . e x e   c h m o d   + x   k o m p o s e   s u d o   m v   . / k o m p o s e   / u s r / l o c a l / b i n / k o m p o s e   A l t e r n a t i v e l y ,   y o u   c a n   d o w n l o a d   t h e   t a r b a l l .   K o m p o s e   i s   r e l e a s e d   v i a   G i t H u b   o n   a   t h r e e - w e e k   c y c l e ,   y o u   c a n   s e e   a l l   c u r r e n t   r e l e a s e s   o n   t h e   G i t H u b   r e l e a s e   p a g e .   #   L i n u x   c u r l   - L   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k o m p o s e / r e l e a s e s / d o w n l o a d / v 1 . 3 4 . 0 / k o m p o s e - l i n u x - a m d 6 4   - o   k o m p o s e   #   m a c O S   c u r l   - L   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k o m p o s e / r e l e a s e s / d o w n l o a d / v 1 . 3 4 . 0 / k o m p o s e - d a ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/translate-compose-kubernetes/",
    "id": "k8s_00226_section_2_4290"
  },
  {
    "question": "What is Use Kompose?",
    "answer": "I n   a   f e w   s t e p s ,   w e ' l l   t a k e   y o u   f r o m   D o c k e r   C o m p o s e   t o   K u b e r n e t e s .   A l l   y o u   n e e d   i s   a n   e x i s t i n g   d o c k e r - c o m p o s e . y m l   f i l e .   G o   t o   t h e   d i r e c t o r y   c o n t a i n i n g   y o u r   d o c k e r - c o m p o s e . y m l   f i l e .   I f   y o u   d o n ' t   h a v e   o n e ,   t e s t   u s i n g   t h i s   o n e .   s e r v i c e s :   r e d i s - l e a d e r :   c o n t a i n e r _ n a m e :   r e d i s - l e a d e r   i m a g e :   r e d i s   p o r t s :   -   \" 6 3 7 9 \"   r e d i s - r e p l i c a :   c o n t a i n e r _ n a m e :   r e d i s - r e p l i c a   i m a g e :   r e d i s   p o r t s :   -   \" 6 3 7 9 \"   c o m m a n d :   r e d i s - s e r v e r   - - r e p l i c a o f   r e d i s - l e a d e r   6 3 7 9   - - d i r   / t m p   w e b :   c o n t a i n e r _ n a m e :   w e b   i m a g e :   q u a y . i o / k o m p o s e / w e b   p o r t s :   -   \" 8 0 8 0 : 8 0 8 0 \"   e n v i r o n m e n t :   -   G E T _ H O S T S _ F R O M = d n s   l a b e l s :   k o m p o s e . s e r v i c e . t y p e :   L o a d B a l a n c e r   T o   c o n v e r t   t h e   d o c k e r - c o m p o s e . y m l   f i l e   t o   f i l e s   t h a t   y o u   c a n   u s e   w i t h   k u b e c t l ,   r u n   k o m p o s e   c o n v e r t   a n d   t h e n   k u b e c t l   a p p l y   - f   < o u t p u t   f i l e > . k o m p o s e   c o n v e r t   T h e   o u t p u t   i s   s i m i l a r   t o : I N F O   K u b e r n e t e s   f i l e   \" r e d i s - l e a d e r - s e r v i c e . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" r e d i s - r e p l i c a - s e r v i c e . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" w e b - t c p - s e r v i c e . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" r e d i s - l e a d e r - d e p l o y m e n t . y a m l \"   c r e a t e d   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/translate-compose-kubernetes/",
    "id": "k8s_00226_section_2_4291"
  },
  {
    "question": "What is User Guide?",
    "answer": "C L I k o m p o s e   c o n v e r t D o c u m e n t a t i o n A l t e r n a t i v e   C o n v e r s i o n s L a b e l s R e s t a r t D o c k e r   C o m p o s e   V e r s i o n s   k o m p o s e   c o n v e r t   A l t e r n a t i v e   C o n v e r s i o n s L a b e l s R e s t a r t D o c k e r   C o m p o s e   V e r s i o n s   K o m p o s e   h a s   s u p p o r t   f o r   t w o   p r o v i d e r s :   O p e n S h i f t   a n d   K u b e r n e t e s .   Y o u   c a n   c h o o s e   a   t a r g e t e d   p r o v i d e r   u s i n g   g l o b a l   o p t i o n   - - p r o v i d e r .   I f   n o   p r o v i d e r   i s   s p e c i f i e d ,   K u b e r n e t e s   i s   s e t   b y   d e f a u l t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/translate-compose-kubernetes/",
    "id": "k8s_00226_section_2_4292"
  },
  {
    "question": "What is kompose convert?",
    "answer": "K o m p o s e   s u p p o r t s   c o n v e r s i o n   o f   V 1 ,   V 2 ,   a n d   V 3   D o c k e r   C o m p o s e   f i l e s   i n t o   K u b e r n e t e s   a n d   O p e n S h i f t   o b j e c t s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/translate-compose-kubernetes/",
    "id": "k8s_00226_section_2_4293"
  },
  {
    "question": "What is Kubernetes kompose convert example?",
    "answer": "k o m p o s e   - - f i l e   d o c k e r - v o t i n g . y m l   c o n v e r t   W A R N   U n s u p p o r t e d   k e y   n e t w o r k s   -   i g n o r i n g   W A R N   U n s u p p o r t e d   k e y   b u i l d   -   i g n o r i n g   I N F O   K u b e r n e t e s   f i l e   \" w o r k e r - s v c . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" d b - s v c . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" r e d i s - s v c . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" r e s u l t - s v c . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" v o t e - s v c . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" r e d i s - d e p l o y m e n t . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" r e s u l t - d e p l o y m e n t . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" v o t e - d e p l o y m e n t . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" w o r k e r - d e p l o y m e n t . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" d b - d e p l o y m e n t . y a m l \"   c r e a t e d   l s   d b - d e p l o y m e n t . y a m l   d o c k e r - c o m p o s e . y m l   d o c k e r - g i t l a b . y m l   r e d i s - d e p l o y m e n t . y a m l   r e s u l t - d e p l o y m e n t . y a m l   v o t e - d e p l o y m e n t . y a m l   w o r k e r - d e p l o y m e n t . y a m l   d b - s v c . y a m l   d o c k e r - v o t i n g . y m l   r e d i s - s v c . y a m l   r e s u l t - s v c . y a m l   v o t e - s v c . y a m l   w o r k e r - s v c . y a m l   Y o u   c a n   a l s o   p r o v i d e   m u l t i p l e   d o c k e r - c o m p o s e   f i l e s   a t   t h e   s a m e   t i m e :   k o m p o s e   - f   d o c k e r - c o m p o s e . y m l   - f   d o c k e r - g u e s t b o o k . y m l   c o n v e r t   I N F O   K u b e r n e t e s   f i l ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/translate-compose-kubernetes/",
    "id": "k8s_00226_section_3_4294"
  },
  {
    "question": "What is OpenShift kompose convert example?",
    "answer": "k o m p o s e   - - p r o v i d e r   o p e n s h i f t   - - f i l e   d o c k e r - v o t i n g . y m l   c o n v e r t   W A R N   [ w o r k e r ]   S e r v i c e   c a n n o t   b e   c r e a t e d   b e c a u s e   o f   m i s s i n g   p o r t .   I N F O   O p e n S h i f t   f i l e   \" v o t e - s e r v i c e . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" d b - s e r v i c e . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" r e d i s - s e r v i c e . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" r e s u l t - s e r v i c e . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" v o t e - d e p l o y m e n t c o n f i g . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" v o t e - i m a g e s t r e a m . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" w o r k e r - d e p l o y m e n t c o n f i g . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" w o r k e r - i m a g e s t r e a m . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" d b - d e p l o y m e n t c o n f i g . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" d b - i m a g e s t r e a m . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" r e d i s - d e p l o y m e n t c o n f i g . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" r e d i s - i m a g e s t r e a m . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" r e s u l t - d e p l o y m e n t c o n f i g . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" r e s u l t - i m a g e s t r e a m . y a m l \"   c r e a t e d   I t   a l s o   s u p p o r t s   c r e a t i n g   b u i l d c o n f i g   f o r   b u i l d   d i r e c t i v e   i n   a   s e r v i c e .   B y   d e f a u l t ,   i t   u s e s   t h e   r e m o t e   r e p o   f o r   t h e   c u r r e n t   g i t   b ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/translate-compose-kubernetes/",
    "id": "k8s_00226_section_3_4295"
  },
  {
    "question": "What is Alternative Conversions?",
    "answer": "T h e   d e f a u l t   k o m p o s e   t r a n s f o r m a t i o n   w i l l   g e n e r a t e   K u b e r n e t e s   D e p l o y m e n t s   a n d   S e r v i c e s ,   i n   y a m l   f o r m a t .   Y o u   h a v e   a l t e r n a t i v e   o p t i o n   t o   g e n e r a t e   j s o n   w i t h   - j .   A l s o ,   y o u   c a n   a l t e r n a t i v e l y   g e n e r a t e   R e p l i c a t i o n   C o n t r o l l e r s   o b j e c t s ,   D a e m o n   S e t s ,   o r   H e l m   c h a r t s .   k o m p o s e   c o n v e r t   - j   I N F O   K u b e r n e t e s   f i l e   \" r e d i s - s v c . j s o n \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" w e b - s v c . j s o n \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" r e d i s - d e p l o y m e n t . j s o n \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" w e b - d e p l o y m e n t . j s o n \"   c r e a t e d   T h e   * - d e p l o y m e n t . j s o n   f i l e s   c o n t a i n   t h e   D e p l o y m e n t   o b j e c t s .   k o m p o s e   c o n v e r t   - - r e p l i c a t i o n - c o n t r o l l e r   I N F O   K u b e r n e t e s   f i l e   \" r e d i s - s v c . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" w e b - s v c . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" r e d i s - r e p l i c a t i o n c o n t r o l l e r . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" w e b - r e p l i c a t i o n c o n t r o l l e r . y a m l \"   c r e a t e d   T h e   * - r e p l i c a t i o n c o n t r o l l e r . y a m l   f i l e s   c o n t a i n   t h e   R e p l i c a t i o n   C o n t r o l l e r   o b j e c t s .   I f   y o u   w a n t   t o   s p e c i f y   r e p l i c a s   ( d e f a u l t   i s   1 ) ,   u s e   - - r e p l i c a s   f l a g :   k o m p o s e   c o n v e r t   - - r e p l i c a t i o n - c o n t r o l l e r   - - r e p l i c a s   3 .   k o m p o s e   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/translate-compose-kubernetes/",
    "id": "k8s_00226_section_2_4296"
  },
  {
    "question": "What is Labels?",
    "answer": "k o m p o s e   s u p p o r t s   K o m p o s e - s p e c i f i c   l a b e l s   w i t h i n   t h e   d o c k e r - c o m p o s e . y m l   f i l e   i n   o r d e r   t o   e x p l i c i t l y   d e f i n e   a   s e r v i c e ' s   b e h a v i o r   u p o n   c o n v e r s i o n .   k o m p o s e . s e r v i c e . t y p e   d e f i n e s   t h e   t y p e   o f   s e r v i c e   t o   b e   c r e a t e d . F o r   e x a m p l e : v e r s i o n :   \" 2 \"   s e r v i c e s :   n g i n x :   i m a g e :   n g i n x   d o c k e r f i l e :   f o o b a r   b u i l d :   . / f o o b a r   c a p _ a d d :   -   A L L   c o n t a i n e r _ n a m e :   f o o b a r   l a b e l s :   k o m p o s e . s e r v i c e . t y p e :   n o d e p o r t   k o m p o s e . s e r v i c e . e x p o s e   d e f i n e s   i f   t h e   s e r v i c e   n e e d s   t o   b e   m a d e   a c c e s s i b l e   f r o m   o u t s i d e   t h e   c l u s t e r   o r   n o t .   I f   t h e   v a l u e   i s   s e t   t o   \" t r u e \" ,   t h e   p r o v i d e r   s e t s   t h e   e n d p o i n t   a u t o m a t i c a l l y ,   a n d   f o r   a n y   o t h e r   v a l u e ,   t h e   v a l u e   i s   s e t   a s   t h e   h o s t n a m e .   I f   m u l t i p l e   p o r t s   a r e   d e f i n e d   i n   a   s e r v i c e ,   t h e   f i r s t   o n e   i s   c h o s e n   t o   b e   t h e   e x p o s e d . F o r   t h e   K u b e r n e t e s   p r o v i d e r ,   a n   i n g r e s s   r e s o u r c e   i s   c r e a t e d   a n d   i t   i s   a s s u m e d   t h a t   a n   i n g r e s s   c o n t r o l l e r   h a s   a l r e a d y   b e e n   c o n f i g u r e d . F o r   t h e   O p e n S h i f t   p r o v i d e r ,   a   r o u t e   i s   c r e a t e d . F o r   e x a m p l e : v e r s i o n :   \" 2 \"   s e r v i c e s :   w e b :   i m a g e :   t u n a / d o c k e r - c o u n t e r 2 3   p o r t s :   -   \" 5 0 0 0 : 5 0 0 0 \"   l i n k s :   -   r e d i s   l a b e l s :   k o m p ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/translate-compose-kubernetes/",
    "id": "k8s_00226_section_2_4297"
  },
  {
    "question": "What is Restart?",
    "answer": "I f   y o u   w a n t   t o   c r e a t e   n o r m a l   p o d s   w i t h o u t   c o n t r o l l e r s   y o u   c a n   u s e   r e s t a r t   c o n s t r u c t   o f   d o c k e r - c o m p o s e   t o   d e f i n e   t h a t .   F o l l o w   t a b l e   b e l o w   t o   s e e   w h a t   h a p p e n s   o n   t h e   r e s t a r t   v a l u e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/translate-compose-kubernetes/",
    "id": "k8s_00226_section_2_4298"
  },
  {
    "question": "What is Note:?",
    "answer": "F o r   e x a m p l e ,   t h e   p i v a l   s e r v i c e   w i l l   b e c o m e   p o d   d o w n   h e r e .   T h i s   c o n t a i n e r   c a l c u l a t e d   v a l u e   o f   p i .   v e r s i o n :   ' 2 '   s e r v i c e s :   p i v a l :   i m a g e :   p e r l   c o m m a n d :   [ \" p e r l \" ,   \" - M b i g n u m = b p i \" ,   \" - w l e \" ,   \" p r i n t   b p i ( 2 0 0 0 ) \" ]   r e s t a r t :   \" o n - f a i l u r e \"",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/translate-compose-kubernetes/",
    "id": "k8s_00226_section_4_4299"
  },
  {
    "question": "What is Warning about Deployment Configurations?",
    "answer": "I f   t h e   D o c k e r   C o m p o s e   f i l e   h a s   a   v o l u m e   s p e c i f i e d   f o r   a   s e r v i c e ,   t h e   D e p l o y m e n t   ( K u b e r n e t e s )   o r   D e p l o y m e n t C o n f i g   ( O p e n S h i f t )   s t r a t e g y   i s   c h a n g e d   t o   \" R e c r e a t e \"   i n s t e a d   o f   \" R o l l i n g U p d a t e \"   ( d e f a u l t ) .   T h i s   i s   d o n e   t o   a v o i d   m u l t i p l e   i n s t a n c e s   o f   a   s e r v i c e   f r o m   a c c e s s i n g   a   v o l u m e   a t   t h e   s a m e   t i m e .   I f   t h e   D o c k e r   C o m p o s e   f i l e   h a s   s e r v i c e   n a m e   w i t h   _   i n   i t   ( f o r   e x a m p l e ,   w e b _ s e r v i c e ) ,   t h e n   i t   w i l l   b e   r e p l a c e d   b y   -   a n d   t h e   s e r v i c e   n a m e   w i l l   b e   r e n a m e d   a c c o r d i n g l y   ( f o r   e x a m p l e ,   w e b - s e r v i c e ) .   K o m p o s e   d o e s   t h i s   b e c a u s e   \" K u b e r n e t e s \"   d o e s n ' t   a l l o w   _   i n   o b j e c t   n a m e .   P l e a s e   n o t e   t h a t   c h a n g i n g   s e r v i c e   n a m e   m i g h t   b r e a k   s o m e   d o c k e r - c o m p o s e   f i l e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/translate-compose-kubernetes/",
    "id": "k8s_00226_section_3_4300"
  },
  {
    "question": "What is Docker Compose Versions?",
    "answer": "K o m p o s e   s u p p o r t s   D o c k e r   C o m p o s e   v e r s i o n s :   1 ,   2   a n d   3 .   W e   h a v e   l i m i t e d   s u p p o r t   o n   v e r s i o n s   2 . 1   a n d   3 . 2   d u e   t o   t h e i r   e x p e r i m e n t a l   n a t u r e .   A   f u l l   l i s t   o n   c o m p a t i b i l i t y   b e t w e e n   a l l   t h r e e   v e r s i o n s   i s   l i s t e d   i n   o u r   c o n v e r s i o n   d o c u m e n t   i n c l u d i n g   a   l i s t   o f   a l l   i n c o m p a t i b l e   D o c k e r   C o m p o s e   k e y s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/translate-compose-kubernetes/",
    "id": "k8s_00226_section_2_4301"
  },
  {
    "question": "What is Expose Pod Information to Containers Through Environment Variables?",
    "answer": "Expose Pod Information to Containers Through Environment VariablesThis page shows how a Pod can use environment variables to expose information about itself to containers running in the Pod, using the downward API. You can use environment variables to expose Pod fields, container fields, or both.In Kubernetes, there are two ways to expose Pod and container fields to a running container:Environment variables, as explained in this taskVolume filesTogether, these two ways of exposing Pod and container fields are called the downward API.As Services are the primary mode of communication between containerized applications managed by Kubernetes, it is helpful to be able to discover them at runtime.Read more about accessing Services here.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesUse Pod fields as values for environment variablesIn this part of exercise, you create a Pod that has one container, and you project Pod-level fields into the running container as environment variables.pods/inject/dapi-envars-pod.yaml apiVersion: v1 kind: Pod metadata: name: dapi-envars-fieldref spec: containers: - name: test-container image: registry.k8s.io/busybox:1.27.2 command: [ \"sh\", \"-c\"] args: - while true; do echo -en '\\n'; printenv MY_NODE_NAME MY_POD_NAME MY_POD_NAMESPACE; printenv MY_POD_IP MY_POD_SERVICE_ACCOUNT; sleep 10; done; env: - name: MY_NODE_NAME valueFrom: fieldRef: fieldPath: spec.nodeName - name: MY_POD_NAME valueFrom: fieldRef: fieldPath: metadata.name - name: MY_POD_NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace - name: MY_POD_IP valueFrom: fieldRef: fieldPath: status.podIP - name: MY_POD_SERVICE_ACCOUNT valueFrom: fieldRef: fieldPath: spec.serviceAccountName restartPolicy: Never In that manifest, you can see five environment variables. The env field is an array of environment variable definitions. The first element in the array specifies that the MY_NODE_NAME environment variable gets its value from the Pod's spec.nodeName field. Similarly, the other environment variables get their names from Pod fields.Note:The fields in this example are Pod fields. They are not fields of the container in the Pod.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/inject/dapi-envars-pod.yaml Verify that the container in the Pod is running:# If the new Pod isn't yet healthy, rerun this command a few times. kubectl get pods View the container's logs:kubectl logs dapi-envars-fieldref The output shows the values of selected environment variables:minikube dapi-envars-fieldref default 172.17.0.4 default To see why these values are in the log, look at the command ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/environment-variable-expose-pod-information/",
    "id": "k8s_00227_qa_4302"
  },
  {
    "question": "How does Expose Pod Information to Containers Through Environment Variables work?",
    "answer": "Expose Pod Information to Containers Through Environment VariablesThis page shows how a Pod can use environment variables to expose information about itself to containers running in the Pod, using the downward API. You can use environment variables to expose Pod fields, container fields, or both.In Kubernetes, there are two ways to expose Pod and container fields to a running container:Environment variables, as explained in this taskVolume filesTogether, these two ways of exposing Pod and container fields are called the downward API.As Services are the primary mode of communication between containerized applications managed by Kubernetes, it is helpful to be able to discover them at runtime.Read more about accessing Services here.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesUse Pod fields as values for environment variablesIn this part of exercise, you create a Pod that has one container, and you project Pod-level fields into the running container as environment variables.pods/inject/dapi-envars-pod.yaml apiVersion: v1 kind: Pod metadata: name: dapi-envars-fieldref spec: containers: - name: test-container image: registry.k8s.io/busybox:1.27.2 command: [ \"sh\", \"-c\"] args: - while true; do echo -en '\\n'; printenv MY_NODE_NAME MY_POD_NAME MY_POD_NAMESPACE; printenv MY_POD_IP MY_POD_SERVICE_ACCOUNT; sleep 10; done; env: - name: MY_NODE_NAME valueFrom: fieldRef: fieldPath: spec.nodeName - name: MY_POD_NAME valueFrom: fieldRef: fieldPath: metadata.name - name: MY_POD_NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace - name: MY_POD_IP valueFrom: fieldRef: fieldPath: status.podIP - name: MY_POD_SERVICE_ACCOUNT valueFrom: fieldRef: fieldPath: spec.serviceAccountName restartPolicy: Never In that manifest, you can see five environment variables. The env field is an array of environment variable definitions. The first element in the array specifies that the MY_NODE_NAME environment variable gets its value from the Pod's spec.nodeName field. Similarly, the other environment variables get their names from Pod fields.Note:The fields in this example are Pod fields. They are not fields of the container in the Pod.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/inject/dapi-envars-pod.yaml Verify that the container in the Pod is running:# If the new Pod isn't yet healthy, rerun this command a few times. kubectl get pods View the container's logs:kubectl logs dapi-envars-fieldref The output shows the values of selected environment variables:minikube dapi-envars-fieldref default 172.17.0.4 default To see why these values are in the log, look at the command ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/environment-variable-expose-pod-information/",
    "id": "k8s_00227_qa_4303"
  },
  {
    "question": "When would you use Expose Pod Information to Containers Through Environment Variables?",
    "answer": "Expose Pod Information to Containers Through Environment VariablesThis page shows how a Pod can use environment variables to expose information about itself to containers running in the Pod, using the downward API. You can use environment variables to expose Pod fields, container fields, or both.In Kubernetes, there are two ways to expose Pod and container fields to a running container:Environment variables, as explained in this taskVolume filesTogether, these two ways of exposing Pod and container fields are called the downward API.As Services are the primary mode of communication between containerized applications managed by Kubernetes, it is helpful to be able to discover them at runtime.Read more about accessing Services here.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesUse Pod fields as values for environment variablesIn this part of exercise, you create a Pod that has one container, and you project Pod-level fields into the running container as environment variables.pods/inject/dapi-envars-pod.yaml apiVersion: v1 kind: Pod metadata: name: dapi-envars-fieldref spec: containers: - name: test-container image: registry.k8s.io/busybox:1.27.2 command: [ \"sh\", \"-c\"] args: - while true; do echo -en '\\n'; printenv MY_NODE_NAME MY_POD_NAME MY_POD_NAMESPACE; printenv MY_POD_IP MY_POD_SERVICE_ACCOUNT; sleep 10; done; env: - name: MY_NODE_NAME valueFrom: fieldRef: fieldPath: spec.nodeName - name: MY_POD_NAME valueFrom: fieldRef: fieldPath: metadata.name - name: MY_POD_NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace - name: MY_POD_IP valueFrom: fieldRef: fieldPath: status.podIP - name: MY_POD_SERVICE_ACCOUNT valueFrom: fieldRef: fieldPath: spec.serviceAccountName restartPolicy: Never In that manifest, you can see five environment variables. The env field is an array of environment variable definitions. The first element in the array specifies that the MY_NODE_NAME environment variable gets its value from the Pod's spec.nodeName field. Similarly, the other environment variables get their names from Pod fields.Note:The fields in this example are Pod fields. They are not fields of the container in the Pod.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/inject/dapi-envars-pod.yaml Verify that the container in the Pod is running:# If the new Pod isn't yet healthy, rerun this command a few times. kubectl get pods View the container's logs:kubectl logs dapi-envars-fieldref The output shows the values of selected environment variables:minikube dapi-envars-fieldref default 172.17.0.4 default To see why these values are in the log, look at the command ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/environment-variable-expose-pod-information/",
    "id": "k8s_00227_qa_4304"
  },
  {
    "question": "What are the benefits of Expose Pod Information to Containers Through Environment Variables?",
    "answer": "Expose Pod Information to Containers Through Environment VariablesThis page shows how a Pod can use environment variables to expose information about itself to containers running in the Pod, using the downward API. You can use environment variables to expose Pod fields, container fields, or both.In Kubernetes, there are two ways to expose Pod and container fields to a running container:Environment variables, as explained in this taskVolume filesTogether, these two ways of exposing Pod and container fields are called the downward API.As Services are the primary mode of communication between containerized applications managed by Kubernetes, it is helpful to be able to discover them at runtime.Read more about accessing Services here.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesUse Pod fields as values for environment variablesIn this part of exercise, you create a Pod that has one container, and you project Pod-level fields into the running container as environment variables.pods/inject/dapi-envars-pod.yaml apiVersion: v1 kind: Pod metadata: name: dapi-envars-fieldref spec: containers: - name: test-container image: registry.k8s.io/busybox:1.27.2 command: [ \"sh\", \"-c\"] args: - while true; do echo -en '\\n'; printenv MY_NODE_NAME MY_POD_NAME MY_POD_NAMESPACE; printenv MY_POD_IP MY_POD_SERVICE_ACCOUNT; sleep 10; done; env: - name: MY_NODE_NAME valueFrom: fieldRef: fieldPath: spec.nodeName - name: MY_POD_NAME valueFrom: fieldRef: fieldPath: metadata.name - name: MY_POD_NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace - name: MY_POD_IP valueFrom: fieldRef: fieldPath: status.podIP - name: MY_POD_SERVICE_ACCOUNT valueFrom: fieldRef: fieldPath: spec.serviceAccountName restartPolicy: Never In that manifest, you can see five environment variables. The env field is an array of environment variable definitions. The first element in the array specifies that the MY_NODE_NAME environment variable gets its value from the Pod's spec.nodeName field. Similarly, the other environment variables get their names from Pod fields.Note:The fields in this example are Pod fields. They are not fields of the container in the Pod.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/inject/dapi-envars-pod.yaml Verify that the container in the Pod is running:# If the new Pod isn't yet healthy, rerun this command a few times. kubectl get pods View the container's logs:kubectl logs dapi-envars-fieldref The output shows the values of selected environment variables:minikube dapi-envars-fieldref default 172.17.0.4 default To see why these values are in the log, look at the command ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/environment-variable-expose-pod-information/",
    "id": "k8s_00227_qa_4305"
  },
  {
    "question": "What is Expose Pod Information to Containers Through Environment Variables?",
    "answer": "T h i s   p a g e   s h o w s   h o w   a   P o d   c a n   u s e   e n v i r o n m e n t   v a r i a b l e s   t o   e x p o s e   i n f o r m a t i o n   a b o u t   i t s e l f   t o   c o n t a i n e r s   r u n n i n g   i n   t h e   P o d ,   u s i n g   t h e   d o w n w a r d   A P I .   Y o u   c a n   u s e   e n v i r o n m e n t   v a r i a b l e s   t o   e x p o s e   P o d   f i e l d s ,   c o n t a i n e r   f i e l d s ,   o r   b o t h .   I n   K u b e r n e t e s ,   t h e r e   a r e   t w o   w a y s   t o   e x p o s e   P o d   a n d   c o n t a i n e r   f i e l d s   t o   a   r u n n i n g   c o n t a i n e r :   E n v i r o n m e n t   v a r i a b l e s ,   a s   e x p l a i n e d   i n   t h i s   t a s k V o l u m e   f i l e s   T o g e t h e r ,   t h e s e   t w o   w a y s   o f   e x p o s i n g   P o d   a n d   c o n t a i n e r   f i e l d s   a r e   c a l l e d   t h e   d o w n w a r d   A P I .   A s   S e r v i c e s   a r e   t h e   p r i m a r y   m o d e   o f   c o m m u n i c a t i o n   b e t w e e n   c o n t a i n e r i z e d   a p p l i c a t i o n s   m a n a g e d   b y   K u b e r n e t e s ,   i t   i s   h e l p f u l   t o   b e   a b l e   t o   d i s c o v e r   t h e m   a t   r u n t i m e .   R e a d   m o r e   a b o u t   a c c e s s i n g   S e r v i c e s   h e r e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/environment-variable-expose-pod-information/",
    "id": "k8s_00227_section_1_4306"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/environment-variable-expose-pod-information/",
    "id": "k8s_00227_section_2_4307"
  },
  {
    "question": "What is Use Pod fields as values for environment variables?",
    "answer": "I n   t h i s   p a r t   o f   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   o n e   c o n t a i n e r ,   a n d   y o u   p r o j e c t   P o d - l e v e l   f i e l d s   i n t o   t h e   r u n n i n g   c o n t a i n e r   a s   e n v i r o n m e n t   v a r i a b l e s .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d a p i - e n v a r s - f i e l d r e f   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   c o m m a n d :   [   \" s h \" ,   \" - c \" ]   a r g s :   -   w h i l e   t r u e ;   d o   e c h o   - e n   ' \\ n ' ;   p r i n t e n v   M Y _ N O D E _ N A M E   M Y _ P O D _ N A M E   M Y _ P O D _ N A M E S P A C E ;   p r i n t e n v   M Y _ P O D _ I P   M Y _ P O D _ S E R V I C E _ A C C O U N T ;   s l e e p   1 0 ;   d o n e ;   e n v :   -   n a m e :   M Y _ N O D E _ N A M E   v a l u e F r o m :   f i e l d R e f :   f i e l d P a t h :   s p e c . n o d e N a m e   -   n a m e :   M Y _ P O D _ N A M E   v a l u e F r o m :   f i e l d R e f :   f i e l d P a t h :   m e t a d a t a . n a m e   -   n a m e :   M Y _ P O D _ N A M E S P A C E   v a l u e F r o m :   f i e l d R e f :   f i e l d P a t h :   m e t a d a t a . n a m e s p a c e   -   n a m e :   M Y _ P O D _ I P   v a l u e F r o m :   f i e l d R e f :   f i e l d P a t h :   s t a t u s . p o d I P   -   n a m e :   M Y _ P O D _ S E R V I C E _ A C C O U N T   v a l u e F r o m :   f i e l d R e f :   f i e l d P a t h :   s p e c . s e r v i c e A c c o u n t N a m e   r e s t a r t P o l i c y :   N e v e r   I n   t h a t   m a n i f e s t ,   y o u   c a n   s e e   f i v e   e n v i r o n m e n t   v a r i a b l e s .   T h e   e n v   f i e l d   i s   a n   a r r a y   o f   e n v i r o n m e n t   v a r i a b l e   d e f i n i t i o n s .   T h e   f i r s t   e l e m e n t   i n   t h e   a r r ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/environment-variable-expose-pod-information/",
    "id": "k8s_00227_section_2_4308"
  },
  {
    "question": "What is Note:?",
    "answer": "C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i n j e c t / d a p i - e n v a r s - p o d . y a m l   V e r i f y   t h a t   t h e   c o n t a i n e r   i n   t h e   P o d   i s   r u n n i n g :   #   I f   t h e   n e w   P o d   i s n ' t   y e t   h e a l t h y ,   r e r u n   t h i s   c o m m a n d   a   f e w   t i m e s .   k u b e c t l   g e t   p o d s   V i e w   t h e   c o n t a i n e r ' s   l o g s :   k u b e c t l   l o g s   d a p i - e n v a r s - f i e l d r e f   T h e   o u t p u t   s h o w s   t h e   v a l u e s   o f   s e l e c t e d   e n v i r o n m e n t   v a r i a b l e s :   m i n i k u b e   d a p i - e n v a r s - f i e l d r e f   d e f a u l t   1 7 2 . 1 7 . 0 . 4   d e f a u l t   T o   s e e   w h y   t h e s e   v a l u e s   a r e   i n   t h e   l o g ,   l o o k   a t   t h e   c o m m a n d   a n d   a r g s   f i e l d s   i n   t h e   c o n f i g u r a t i o n   f i l e .   W h e n   t h e   c o n t a i n e r   s t a r t s ,   i t   w r i t e s   t h e   v a l u e s   o f   f i v e   e n v i r o n m e n t   v a r i a b l e s   t o   s t d o u t .   I t   r e p e a t s   t h i s   e v e r y   t e n   s e c o n d s .   N e x t ,   g e t   a   s h e l l   i n t o   t h e   c o n t a i n e r   t h a t   i s   r u n n i n g   i n   y o u r   P o d :   k u b e c t l   e x e c   - i t   d a p i - e n v a r s - f i e l d r e f   - -   s h   I n   y o u r   s h e l l ,   v i e w   t h e   e n v i r o n m e n t   v a r i a b l e s :   #   R u n   t h i s   i n   a   s h e l l   i n s i d e   t h e   c o n t a i n e r   p r i n t e n v   T h e   o u t p u t   s h o w s   t h a t   c e r t a i n   e n v i r o n m e n t   v a r i a b l e s   h a v e   b e e n   a s s i g n e d   t h e   v a l u e s   o f   P o d   f i e l d s :   M Y _ P O D _ S E R V I C E _ A C C O U N T = d e f a u l t   . . .   M Y _ P O D _ N A M E S P A C E = d e f a u l t   M Y ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/environment-variable-expose-pod-information/",
    "id": "k8s_00227_section_4_4309"
  },
  {
    "question": "What is Use container fields as values for environment variables?",
    "answer": "I n   t h e   p r e c e d i n g   e x e r c i s e ,   y o u   u s e d   i n f o r m a t i o n   f r o m   P o d - l e v e l   f i e l d s   a s   t h e   v a l u e s   f o r   e n v i r o n m e n t   v a r i a b l e s .   I n   t h i s   n e x t   e x e r c i s e ,   y o u   a r e   g o i n g   t o   p a s s   f i e l d s   t h a t   a r e   p a r t   o f   t h e   P o d   d e f i n i t i o n ,   b u t   t a k e n   f r o m   t h e   s p e c i f i c   c o n t a i n e r   r a t h e r   t h a n   f r o m   t h e   P o d   o v e r a l l .   H e r e   i s   a   m a n i f e s t   f o r   a n o t h e r   P o d   t h a t   a g a i n   h a s   j u s t   o n e   c o n t a i n e r :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d a p i - e n v a r s - r e s o u r c e f i e l d r e f   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   c o m m a n d :   [   \" s h \" ,   \" - c \" ]   a r g s :   -   w h i l e   t r u e ;   d o   e c h o   - e n   ' \\ n ' ;   p r i n t e n v   M Y _ C P U _ R E Q U E S T   M Y _ C P U _ L I M I T ;   p r i n t e n v   M Y _ M E M _ R E Q U E S T   M Y _ M E M _ L I M I T ;   s l e e p   1 0 ;   d o n e ;   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 3 2 M i \"   c p u :   \" 1 2 5 m \"   l i m i t s :   m e m o r y :   \" 6 4 M i \"   c p u :   \" 2 5 0 m \"   e n v :   -   n a m e :   M Y _ C P U _ R E Q U E S T   v a l u e F r o m :   r e s o u r c e F i e l d R e f :   c o n t a i n e r N a m e :   t e s t - c o n t a i n e r   r e s o u r c e :   r e q u e s t s . c p u   -   n a m e :   M Y _ C P U _ L I M I T   v a l u e F r o m :   r e s o u r c e F i e l d R e f :   c o n t a i n e r N a m e :   t e s t - c o n t a i n e r   r e s o u r c e :   l i m i t s . c p u   -   n a m e :   M Y _ M E M _ R E Q U E S T   v a l u e F r o m :   r e s o u r c e F i e l d R e f :   c o n t a i n e r N ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/environment-variable-expose-pod-information/",
    "id": "k8s_00227_section_2_4310"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   D e f i n i n g   E n v i r o n m e n t   V a r i a b l e s   f o r   a   C o n t a i n e r R e a d   t h e   s p e c   A P I   d e f i n i t i o n   f o r   P o d .   T h i s   i n c l u d e s   t h e   d e f i n i t i o n   o f   C o n t a i n e r   ( p a r t   o f   P o d ) . R e a d   t h e   l i s t   o f   a v a i l a b l e   f i e l d s   t h a t   y o u   c a n   e x p o s e   u s i n g   t h e   d o w n w a r d   A P I .   R e a d   a b o u t   P o d s ,   c o n t a i n e r s   a n d   e n v i r o n m e n t   v a r i a b l e s   i n   t h e   l e g a c y   A P I   r e f e r e n c e :   P o d S p e c C o n t a i n e r E n v V a r E n v V a r S o u r c e O b j e c t F i e l d S e l e c t o r R e s o u r c e F i e l d S e l e c t o r",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/environment-variable-expose-pod-information/",
    "id": "k8s_00227_section_2_4311"
  },
  {
    "question": "What is kubeadm reset phase?",
    "answer": "kubeadm reset phasekubeadm reset phase enables you to invoke atomic steps of the node reset process. Hence, you can let kubeadm do some of the work and you can fill in the gaps if you wish to apply customization.kubeadm reset phase is consistent with the kubeadm reset workflow, and behind the scene both use the same code.kubeadm reset phaseSynopsisUse this command to invoke single phase of the \"reset\" workflowkubeadm reset phase [flags] Options-h, --helphelp for phaseOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm reset phase preflightUsing this phase you can execute preflight checks on a node that is being reset.Run reset pre-flight checksSynopsisRun pre-flight checks for kubeadm reset.kubeadm reset phase preflight [flags] Options--dry-runDon't apply any changes; just output what would be done.-f, --forceReset the node without prompting for confirmation.-h, --helphelp for preflight--ignore-preflight-errors stringsA list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm reset phase remove-etcd-memberUsing this phase you can remove this control-plane node's etcd member from the etcd cluster.SynopsisRemove a local etcd member for a control plane node.kubeadm reset phase remove-etcd-member [flags] Options--dry-runDon't apply any changes; just output what would be done.-h, --helphelp for remove-etcd-member--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm reset phase cleanup-nodeUsing this phase you can perform cleanup on this node.SynopsisRun cleanup node.kubeadm reset phase cleanup-node [flags] Options--cert-dir string Default: \"/etc/kubernetes/pki\"The path to the directory where the certificates are stored. If specified, clean this directory.--cleanup-tmp-dirCleanup the \"/etc/kubernetes/tmp\" directory--cri-socket stringPath to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.--dry-runDon't apply any changes; just output what would be done.-h, --helphelp for cleanup-nodeOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.What's nextkubeadm init to bootstrap a Kubernetes control-plane nodekubeadm join to connect a node to the clusterkubeadm reset to rev",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset-phase/",
    "id": "k8s_00228_qa_4312"
  },
  {
    "question": "How does kubeadm reset phase work?",
    "answer": "kubeadm reset phasekubeadm reset phase enables you to invoke atomic steps of the node reset process. Hence, you can let kubeadm do some of the work and you can fill in the gaps if you wish to apply customization.kubeadm reset phase is consistent with the kubeadm reset workflow, and behind the scene both use the same code.kubeadm reset phaseSynopsisUse this command to invoke single phase of the \"reset\" workflowkubeadm reset phase [flags] Options-h, --helphelp for phaseOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm reset phase preflightUsing this phase you can execute preflight checks on a node that is being reset.Run reset pre-flight checksSynopsisRun pre-flight checks for kubeadm reset.kubeadm reset phase preflight [flags] Options--dry-runDon't apply any changes; just output what would be done.-f, --forceReset the node without prompting for confirmation.-h, --helphelp for preflight--ignore-preflight-errors stringsA list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm reset phase remove-etcd-memberUsing this phase you can remove this control-plane node's etcd member from the etcd cluster.SynopsisRemove a local etcd member for a control plane node.kubeadm reset phase remove-etcd-member [flags] Options--dry-runDon't apply any changes; just output what would be done.-h, --helphelp for remove-etcd-member--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm reset phase cleanup-nodeUsing this phase you can perform cleanup on this node.SynopsisRun cleanup node.kubeadm reset phase cleanup-node [flags] Options--cert-dir string Default: \"/etc/kubernetes/pki\"The path to the directory where the certificates are stored. If specified, clean this directory.--cleanup-tmp-dirCleanup the \"/etc/kubernetes/tmp\" directory--cri-socket stringPath to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.--dry-runDon't apply any changes; just output what would be done.-h, --helphelp for cleanup-nodeOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.What's nextkubeadm init to bootstrap a Kubernetes control-plane nodekubeadm join to connect a node to the clusterkubeadm reset to rev",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset-phase/",
    "id": "k8s_00228_qa_4313"
  },
  {
    "question": "When would you use kubeadm reset phase?",
    "answer": "kubeadm reset phasekubeadm reset phase enables you to invoke atomic steps of the node reset process. Hence, you can let kubeadm do some of the work and you can fill in the gaps if you wish to apply customization.kubeadm reset phase is consistent with the kubeadm reset workflow, and behind the scene both use the same code.kubeadm reset phaseSynopsisUse this command to invoke single phase of the \"reset\" workflowkubeadm reset phase [flags] Options-h, --helphelp for phaseOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm reset phase preflightUsing this phase you can execute preflight checks on a node that is being reset.Run reset pre-flight checksSynopsisRun pre-flight checks for kubeadm reset.kubeadm reset phase preflight [flags] Options--dry-runDon't apply any changes; just output what would be done.-f, --forceReset the node without prompting for confirmation.-h, --helphelp for preflight--ignore-preflight-errors stringsA list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm reset phase remove-etcd-memberUsing this phase you can remove this control-plane node's etcd member from the etcd cluster.SynopsisRemove a local etcd member for a control plane node.kubeadm reset phase remove-etcd-member [flags] Options--dry-runDon't apply any changes; just output what would be done.-h, --helphelp for remove-etcd-member--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm reset phase cleanup-nodeUsing this phase you can perform cleanup on this node.SynopsisRun cleanup node.kubeadm reset phase cleanup-node [flags] Options--cert-dir string Default: \"/etc/kubernetes/pki\"The path to the directory where the certificates are stored. If specified, clean this directory.--cleanup-tmp-dirCleanup the \"/etc/kubernetes/tmp\" directory--cri-socket stringPath to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.--dry-runDon't apply any changes; just output what would be done.-h, --helphelp for cleanup-nodeOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.What's nextkubeadm init to bootstrap a Kubernetes control-plane nodekubeadm join to connect a node to the clusterkubeadm reset to rev",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset-phase/",
    "id": "k8s_00228_qa_4314"
  },
  {
    "question": "What are the benefits of kubeadm reset phase?",
    "answer": "kubeadm reset phasekubeadm reset phase enables you to invoke atomic steps of the node reset process. Hence, you can let kubeadm do some of the work and you can fill in the gaps if you wish to apply customization.kubeadm reset phase is consistent with the kubeadm reset workflow, and behind the scene both use the same code.kubeadm reset phaseSynopsisUse this command to invoke single phase of the \"reset\" workflowkubeadm reset phase [flags] Options-h, --helphelp for phaseOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm reset phase preflightUsing this phase you can execute preflight checks on a node that is being reset.Run reset pre-flight checksSynopsisRun pre-flight checks for kubeadm reset.kubeadm reset phase preflight [flags] Options--dry-runDon't apply any changes; just output what would be done.-f, --forceReset the node without prompting for confirmation.-h, --helphelp for preflight--ignore-preflight-errors stringsA list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm reset phase remove-etcd-memberUsing this phase you can remove this control-plane node's etcd member from the etcd cluster.SynopsisRemove a local etcd member for a control plane node.kubeadm reset phase remove-etcd-member [flags] Options--dry-runDon't apply any changes; just output what would be done.-h, --helphelp for remove-etcd-member--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm reset phase cleanup-nodeUsing this phase you can perform cleanup on this node.SynopsisRun cleanup node.kubeadm reset phase cleanup-node [flags] Options--cert-dir string Default: \"/etc/kubernetes/pki\"The path to the directory where the certificates are stored. If specified, clean this directory.--cleanup-tmp-dirCleanup the \"/etc/kubernetes/tmp\" directory--cri-socket stringPath to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.--dry-runDon't apply any changes; just output what would be done.-h, --helphelp for cleanup-nodeOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.What's nextkubeadm init to bootstrap a Kubernetes control-plane nodekubeadm join to connect a node to the clusterkubeadm reset to rev",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset-phase/",
    "id": "k8s_00228_qa_4315"
  },
  {
    "question": "What is kubeadm reset phase?",
    "answer": "k u b e a d m   r e s e t   p h a s e   e n a b l e s   y o u   t o   i n v o k e   a t o m i c   s t e p s   o f   t h e   n o d e   r e s e t   p r o c e s s .   H e n c e ,   y o u   c a n   l e t   k u b e a d m   d o   s o m e   o f   t h e   w o r k   a n d   y o u   c a n   f i l l   i n   t h e   g a p s   i f   y o u   w i s h   t o   a p p l y   c u s t o m i z a t i o n .   k u b e a d m   r e s e t   p h a s e   i s   c o n s i s t e n t   w i t h   t h e   k u b e a d m   r e s e t   w o r k f l o w ,   a n d   b e h i n d   t h e   s c e n e   b o t h   u s e   t h e   s a m e   c o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset-phase/",
    "id": "k8s_00228_section_1_4316"
  },
  {
    "question": "What is kubeadm reset phase?",
    "answer": "S y n o p s i s U s e   t h i s   c o m m a n d   t o   i n v o k e   s i n g l e   p h a s e   o f   t h e   \" r e s e t \"   w o r k f l o w k u b e a d m   r e s e t   p h a s e   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   p h a s e O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset-phase/",
    "id": "k8s_00228_section_2_4317"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U s e   t h i s   c o m m a n d   t o   i n v o k e   s i n g l e   p h a s e   o f   t h e   \" r e s e t \"   w o r k f l o w   k u b e a d m   r e s e t   p h a s e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset-phase/",
    "id": "k8s_00228_section_3_4318"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   p h a s e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset-phase/",
    "id": "k8s_00228_section_3_4319"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset-phase/",
    "id": "k8s_00228_section_3_4320"
  },
  {
    "question": "What is kubeadm reset phase preflight?",
    "answer": "U s i n g   t h i s   p h a s e   y o u   c a n   e x e c u t e   p r e f l i g h t   c h e c k s   o n   a   n o d e   t h a t   i s   b e i n g   r e s e t .   R u n   r e s e t   p r e - f l i g h t   c h e c k s S y n o p s i s R u n   p r e - f l i g h t   c h e c k s   f o r   k u b e a d m   r e s e t . k u b e a d m   r e s e t   p h a s e   p r e f l i g h t   [ f l a g s ]   O p t i o n s - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - f ,   - - f o r c e R e s e t   t h e   n o d e   w i t h o u t   p r o m p t i n g   f o r   c o n f i r m a t i o n . - h ,   - - h e l p h e l p   f o r   p r e f l i g h t - - i g n o r e - p r e f l i g h t - e r r o r s   s t r i n g s A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   R u n   r e s e t   p r e - f l i g h t   c h e c k s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset-phase/",
    "id": "k8s_00228_section_2_4321"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   p r e - f l i g h t   c h e c k s   f o r   k u b e a d m   r e s e t .   k u b e a d m   r e s e t   p h a s e   p r e f l i g h t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset-phase/",
    "id": "k8s_00228_section_3_4322"
  },
  {
    "question": "What is Options?",
    "answer": "D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   R e s e t   t h e   n o d e   w i t h o u t   p r o m p t i n g   f o r   c o n f i r m a t i o n .   h e l p   f o r   p r e f l i g h t   A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset-phase/",
    "id": "k8s_00228_section_3_4323"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset-phase/",
    "id": "k8s_00228_section_3_4324"
  },
  {
    "question": "What is kubeadm reset phase remove-etcd-member?",
    "answer": "U s i n g   t h i s   p h a s e   y o u   c a n   r e m o v e   t h i s   c o n t r o l - p l a n e   n o d e ' s   e t c d   m e m b e r   f r o m   t h e   e t c d   c l u s t e r .   S y n o p s i s R e m o v e   a   l o c a l   e t c d   m e m b e r   f o r   a   c o n t r o l   p l a n e   n o d e . k u b e a d m   r e s e t   p h a s e   r e m o v e - e t c d - m e m b e r   [ f l a g s ]   O p t i o n s - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   r e m o v e - e t c d - m e m b e r - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset-phase/",
    "id": "k8s_00228_section_2_4325"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e m o v e   a   l o c a l   e t c d   m e m b e r   f o r   a   c o n t r o l   p l a n e   n o d e .   k u b e a d m   r e s e t   p h a s e   r e m o v e - e t c d - m e m b e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset-phase/",
    "id": "k8s_00228_section_3_4326"
  },
  {
    "question": "What is Options?",
    "answer": "D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   r e m o v e - e t c d - m e m b e r   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset-phase/",
    "id": "k8s_00228_section_3_4327"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset-phase/",
    "id": "k8s_00228_section_3_4328"
  },
  {
    "question": "What is kubeadm reset phase cleanup-node?",
    "answer": "U s i n g   t h i s   p h a s e   y o u   c a n   p e r f o r m   c l e a n u p   o n   t h i s   n o d e .   S y n o p s i s R u n   c l e a n u p   n o d e . k u b e a d m   r e s e t   p h a s e   c l e a n u p - n o d e   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   t o   t h e   d i r e c t o r y   w h e r e   t h e   c e r t i f i c a t e s   a r e   s t o r e d .   I f   s p e c i f i e d ,   c l e a n   t h i s   d i r e c t o r y . - - c l e a n u p - t m p - d i r C l e a n u p   t h e   \" / e t c / k u b e r n e t e s / t m p \"   d i r e c t o r y - - c r i - s o c k e t   s t r i n g P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   c l e a n u p - n o d e O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset-phase/",
    "id": "k8s_00228_section_2_4329"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   c l e a n u p   n o d e .   k u b e a d m   r e s e t   p h a s e   c l e a n u p - n o d e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset-phase/",
    "id": "k8s_00228_section_3_4330"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   t o   t h e   d i r e c t o r y   w h e r e   t h e   c e r t i f i c a t e s   a r e   s t o r e d .   I f   s p e c i f i e d ,   c l e a n   t h i s   d i r e c t o r y .   C l e a n u p   t h e   \" / e t c / k u b e r n e t e s / t m p \"   d i r e c t o r y   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   c l e a n u p - n o d e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset-phase/",
    "id": "k8s_00228_section_3_4331"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset-phase/",
    "id": "k8s_00228_section_3_4332"
  },
  {
    "question": "What is What's next?",
    "answer": "k u b e a d m   i n i t   t o   b o o t s t r a p   a   K u b e r n e t e s   c o n t r o l - p l a n e   n o d e k u b e a d m   j o i n   t o   c o n n e c t   a   n o d e   t o   t h e   c l u s t e r k u b e a d m   r e s e t   t o   r e v e r t   a n y   c h a n g e s   m a d e   t o   t h i s   h o s t   b y   k u b e a d m   i n i t   o r   k u b e a d m   j o i n k u b e a d m   a l p h a   t o   t r y   e x p e r i m e n t a l   f u n c t i o n a l i t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset-phase/",
    "id": "k8s_00228_section_2_4333"
  },
  {
    "question": "What is kube-apiserver Admission (v1)?",
    "answer": "kube-apiserver Admission (v1)Resource TypesAdmissionReviewAdmissionReviewAdmissionReview describes an admission review request/response.FieldDescriptionapiVersionstringadmission.k8s.io/v1kindstringAdmissionReviewrequestAdmissionRequestRequest describes the attributes for the admission request.responseAdmissionResponseResponse describes the attributes for the admission response.AdmissionRequestAppears in:AdmissionReviewAdmissionRequest describes the admission.Attributes for the admission request.FieldDescriptionuid [Required]k8s.io/apimachinery/pkg/types.UIDUID is an identifier for the individual request/response. It allows us to distinguish instances of requests which are otherwise identical (parallel requests, requests when earlier requests did not modify etc) The UID is meant to track the round trip (request/response) between the KAS and the WebHook, not the user request. It is suitable for correlating log entries between the webhook and apiserver, for either auditing or debugging.kind [Required]meta/v1.GroupVersionKindKind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)resource [Required]meta/v1.GroupVersionResourceResource is the fully-qualified resource being requested (for example, v1.pods)subResourcestringSubResource is the subresource being requested, if any (for example, \"status\" or \"scale\")requestKindmeta/v1.GroupVersionKindRequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale). If this is specified and differs from the value in \"kind\", an equivalent match and conversion was performed.For example, if deployments can be modified via apps/v1 and apps/v1beta1, and a webhook registered a rule of apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"] and matchPolicy: Equivalent, an API request to apps/v1beta1 deployments would be converted and sent to the webhook with kind: {group:\"apps\", version:\"v1\", kind:\"Deployment\"} (matching the rule the webhook registered for), and requestKind: {group:\"apps\", version:\"v1beta1\", kind:\"Deployment\"} (indicating the kind of the original API request).See documentation for the \"matchPolicy\" field in the webhook configuration type for more details.requestResourcemeta/v1.GroupVersionResourceRequestResource is the fully-qualified resource of the original API request (for example, v1.pods). If this is specified and differs from the value in \"resource\", an equivalent match and conversion was performed.For example, if deployments can be modified via apps/v1 and apps/v1beta1, and a webhook registered a rule of apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"] and matchPolicy: Equivalent, an API request to apps/v1beta1 deployments would be converted and sent to the webhook with resource: {group:\"apps\", version:\"v1\", resource:\"deployments\"} (matching the resource the webhook registered for), and requestResource: {group:\"apps\", version:\"v1beta1\", resource:\"deployments\"} (indicati",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-admission.v1/",
    "id": "k8s_00229_qa_4334"
  },
  {
    "question": "How does kube-apiserver Admission (v1) work?",
    "answer": "kube-apiserver Admission (v1)Resource TypesAdmissionReviewAdmissionReviewAdmissionReview describes an admission review request/response.FieldDescriptionapiVersionstringadmission.k8s.io/v1kindstringAdmissionReviewrequestAdmissionRequestRequest describes the attributes for the admission request.responseAdmissionResponseResponse describes the attributes for the admission response.AdmissionRequestAppears in:AdmissionReviewAdmissionRequest describes the admission.Attributes for the admission request.FieldDescriptionuid [Required]k8s.io/apimachinery/pkg/types.UIDUID is an identifier for the individual request/response. It allows us to distinguish instances of requests which are otherwise identical (parallel requests, requests when earlier requests did not modify etc) The UID is meant to track the round trip (request/response) between the KAS and the WebHook, not the user request. It is suitable for correlating log entries between the webhook and apiserver, for either auditing or debugging.kind [Required]meta/v1.GroupVersionKindKind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)resource [Required]meta/v1.GroupVersionResourceResource is the fully-qualified resource being requested (for example, v1.pods)subResourcestringSubResource is the subresource being requested, if any (for example, \"status\" or \"scale\")requestKindmeta/v1.GroupVersionKindRequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale). If this is specified and differs from the value in \"kind\", an equivalent match and conversion was performed.For example, if deployments can be modified via apps/v1 and apps/v1beta1, and a webhook registered a rule of apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"] and matchPolicy: Equivalent, an API request to apps/v1beta1 deployments would be converted and sent to the webhook with kind: {group:\"apps\", version:\"v1\", kind:\"Deployment\"} (matching the rule the webhook registered for), and requestKind: {group:\"apps\", version:\"v1beta1\", kind:\"Deployment\"} (indicating the kind of the original API request).See documentation for the \"matchPolicy\" field in the webhook configuration type for more details.requestResourcemeta/v1.GroupVersionResourceRequestResource is the fully-qualified resource of the original API request (for example, v1.pods). If this is specified and differs from the value in \"resource\", an equivalent match and conversion was performed.For example, if deployments can be modified via apps/v1 and apps/v1beta1, and a webhook registered a rule of apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"] and matchPolicy: Equivalent, an API request to apps/v1beta1 deployments would be converted and sent to the webhook with resource: {group:\"apps\", version:\"v1\", resource:\"deployments\"} (matching the resource the webhook registered for), and requestResource: {group:\"apps\", version:\"v1beta1\", resource:\"deployments\"} (indicati",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-admission.v1/",
    "id": "k8s_00229_qa_4335"
  },
  {
    "question": "When would you use kube-apiserver Admission (v1)?",
    "answer": "kube-apiserver Admission (v1)Resource TypesAdmissionReviewAdmissionReviewAdmissionReview describes an admission review request/response.FieldDescriptionapiVersionstringadmission.k8s.io/v1kindstringAdmissionReviewrequestAdmissionRequestRequest describes the attributes for the admission request.responseAdmissionResponseResponse describes the attributes for the admission response.AdmissionRequestAppears in:AdmissionReviewAdmissionRequest describes the admission.Attributes for the admission request.FieldDescriptionuid [Required]k8s.io/apimachinery/pkg/types.UIDUID is an identifier for the individual request/response. It allows us to distinguish instances of requests which are otherwise identical (parallel requests, requests when earlier requests did not modify etc) The UID is meant to track the round trip (request/response) between the KAS and the WebHook, not the user request. It is suitable for correlating log entries between the webhook and apiserver, for either auditing or debugging.kind [Required]meta/v1.GroupVersionKindKind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)resource [Required]meta/v1.GroupVersionResourceResource is the fully-qualified resource being requested (for example, v1.pods)subResourcestringSubResource is the subresource being requested, if any (for example, \"status\" or \"scale\")requestKindmeta/v1.GroupVersionKindRequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale). If this is specified and differs from the value in \"kind\", an equivalent match and conversion was performed.For example, if deployments can be modified via apps/v1 and apps/v1beta1, and a webhook registered a rule of apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"] and matchPolicy: Equivalent, an API request to apps/v1beta1 deployments would be converted and sent to the webhook with kind: {group:\"apps\", version:\"v1\", kind:\"Deployment\"} (matching the rule the webhook registered for), and requestKind: {group:\"apps\", version:\"v1beta1\", kind:\"Deployment\"} (indicating the kind of the original API request).See documentation for the \"matchPolicy\" field in the webhook configuration type for more details.requestResourcemeta/v1.GroupVersionResourceRequestResource is the fully-qualified resource of the original API request (for example, v1.pods). If this is specified and differs from the value in \"resource\", an equivalent match and conversion was performed.For example, if deployments can be modified via apps/v1 and apps/v1beta1, and a webhook registered a rule of apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"] and matchPolicy: Equivalent, an API request to apps/v1beta1 deployments would be converted and sent to the webhook with resource: {group:\"apps\", version:\"v1\", resource:\"deployments\"} (matching the resource the webhook registered for), and requestResource: {group:\"apps\", version:\"v1beta1\", resource:\"deployments\"} (indicati",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-admission.v1/",
    "id": "k8s_00229_qa_4336"
  },
  {
    "question": "What are the benefits of kube-apiserver Admission (v1)?",
    "answer": "kube-apiserver Admission (v1)Resource TypesAdmissionReviewAdmissionReviewAdmissionReview describes an admission review request/response.FieldDescriptionapiVersionstringadmission.k8s.io/v1kindstringAdmissionReviewrequestAdmissionRequestRequest describes the attributes for the admission request.responseAdmissionResponseResponse describes the attributes for the admission response.AdmissionRequestAppears in:AdmissionReviewAdmissionRequest describes the admission.Attributes for the admission request.FieldDescriptionuid [Required]k8s.io/apimachinery/pkg/types.UIDUID is an identifier for the individual request/response. It allows us to distinguish instances of requests which are otherwise identical (parallel requests, requests when earlier requests did not modify etc) The UID is meant to track the round trip (request/response) between the KAS and the WebHook, not the user request. It is suitable for correlating log entries between the webhook and apiserver, for either auditing or debugging.kind [Required]meta/v1.GroupVersionKindKind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)resource [Required]meta/v1.GroupVersionResourceResource is the fully-qualified resource being requested (for example, v1.pods)subResourcestringSubResource is the subresource being requested, if any (for example, \"status\" or \"scale\")requestKindmeta/v1.GroupVersionKindRequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale). If this is specified and differs from the value in \"kind\", an equivalent match and conversion was performed.For example, if deployments can be modified via apps/v1 and apps/v1beta1, and a webhook registered a rule of apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"] and matchPolicy: Equivalent, an API request to apps/v1beta1 deployments would be converted and sent to the webhook with kind: {group:\"apps\", version:\"v1\", kind:\"Deployment\"} (matching the rule the webhook registered for), and requestKind: {group:\"apps\", version:\"v1beta1\", kind:\"Deployment\"} (indicating the kind of the original API request).See documentation for the \"matchPolicy\" field in the webhook configuration type for more details.requestResourcemeta/v1.GroupVersionResourceRequestResource is the fully-qualified resource of the original API request (for example, v1.pods). If this is specified and differs from the value in \"resource\", an equivalent match and conversion was performed.For example, if deployments can be modified via apps/v1 and apps/v1beta1, and a webhook registered a rule of apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"] and matchPolicy: Equivalent, an API request to apps/v1beta1 deployments would be converted and sent to the webhook with resource: {group:\"apps\", version:\"v1\", resource:\"deployments\"} (matching the resource the webhook registered for), and requestResource: {group:\"apps\", version:\"v1beta1\", resource:\"deployments\"} (indicati",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-admission.v1/",
    "id": "k8s_00229_qa_4337"
  },
  {
    "question": "What is Resource Types?",
    "answer": "A d m i s s i o n R e v i e w",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-admission.v1/",
    "id": "k8s_00229_section_2_4338"
  },
  {
    "question": "What is AdmissionReview?",
    "answer": "A d m i s s i o n R e v i e w   d e s c r i b e s   a n   a d m i s s i o n   r e v i e w   r e q u e s t / r e s p o n s e .   R e q u e s t   d e s c r i b e s   t h e   a t t r i b u t e s   f o r   t h e   a d m i s s i o n   r e q u e s t .   R e s p o n s e   d e s c r i b e s   t h e   a t t r i b u t e s   f o r   t h e   a d m i s s i o n   r e s p o n s e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-admission.v1/",
    "id": "k8s_00229_section_2_4339"
  },
  {
    "question": "What is AdmissionRequest?",
    "answer": "A p p e a r s   i n :   A d m i s s i o n R e v i e w   A d m i s s i o n R e q u e s t   d e s c r i b e s   t h e   a d m i s s i o n . A t t r i b u t e s   f o r   t h e   a d m i s s i o n   r e q u e s t .   U I D   i s   a n   i d e n t i f i e r   f o r   t h e   i n d i v i d u a l   r e q u e s t / r e s p o n s e .   I t   a l l o w s   u s   t o   d i s t i n g u i s h   i n s t a n c e s   o f   r e q u e s t s   w h i c h   a r e   o t h e r w i s e   i d e n t i c a l   ( p a r a l l e l   r e q u e s t s ,   r e q u e s t s   w h e n   e a r l i e r   r e q u e s t s   d i d   n o t   m o d i f y   e t c )   T h e   U I D   i s   m e a n t   t o   t r a c k   t h e   r o u n d   t r i p   ( r e q u e s t / r e s p o n s e )   b e t w e e n   t h e   K A S   a n d   t h e   W e b H o o k ,   n o t   t h e   u s e r   r e q u e s t .   I t   i s   s u i t a b l e   f o r   c o r r e l a t i n g   l o g   e n t r i e s   b e t w e e n   t h e   w e b h o o k   a n d   a p i s e r v e r ,   f o r   e i t h e r   a u d i t i n g   o r   d e b u g g i n g .   K i n d   i s   t h e   f u l l y - q u a l i f i e d   t y p e   o f   o b j e c t   b e i n g   s u b m i t t e d   ( f o r   e x a m p l e ,   v 1 . P o d   o r   a u t o s c a l i n g . v 1 . S c a l e )   R e s o u r c e   i s   t h e   f u l l y - q u a l i f i e d   r e s o u r c e   b e i n g   r e q u e s t e d   ( f o r   e x a m p l e ,   v 1 . p o d s )   S u b R e s o u r c e   i s   t h e   s u b r e s o u r c e   b e i n g   r e q u e s t e d ,   i f   a n y   ( f o r   e x a m p l e ,   \" s t a t u s \"   o r   \" s c a l e \" )   R e q u e s t K i n d   i s   t h e   f u l l y - q u a l i f i e d   t y p e   o f   t h e   o r i g i n a l   A P I   r e q u e s t   ( f o r   e x a m p l e ,   v 1 . P o d   o r   a u t o s c a l i n g . v 1 . S c a l e ) .   I f   t h i s   i s   s p e c i f i e d   a n d   d i f f e r s   f r o m   t h e   v a l u e   i n   \" k i n d \" ,   a n   e q u i v ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-admission.v1/",
    "id": "k8s_00229_section_2_4340"
  },
  {
    "question": "What is AdmissionResponse?",
    "answer": "A p p e a r s   i n :   A d m i s s i o n R e v i e w   A d m i s s i o n R e s p o n s e   d e s c r i b e s   a n   a d m i s s i o n   r e s p o n s e .   U I D   i s   a n   i d e n t i f i e r   f o r   t h e   i n d i v i d u a l   r e q u e s t / r e s p o n s e .   T h i s   m u s t   b e   c o p i e d   o v e r   f r o m   t h e   c o r r e s p o n d i n g   A d m i s s i o n R e q u e s t .   A l l o w e d   i n d i c a t e s   w h e t h e r   o r   n o t   t h e   a d m i s s i o n   r e q u e s t   w a s   p e r m i t t e d .   R e s u l t   c o n t a i n s   e x t r a   d e t a i l s   i n t o   w h y   a n   a d m i s s i o n   r e q u e s t   w a s   d e n i e d .   T h i s   f i e l d   I S   N O T   c o n s u l t e d   i n   a n y   w a y   i f   \" A l l o w e d \"   i s   \" t r u e \" .   T h e   p a t c h   b o d y .   C u r r e n t l y   w e   o n l y   s u p p o r t   \" J S O N P a t c h \"   w h i c h   i m p l e m e n t s   R F C   6 9 0 2 .   T h e   t y p e   o f   P a t c h .   C u r r e n t l y   w e   o n l y   a l l o w   \" J S O N P a t c h \" .   A u d i t A n n o t a t i o n s   i s   a n   u n s t r u c t u r e d   k e y   v a l u e   m a p   s e t   b y   r e m o t e   a d m i s s i o n   c o n t r o l l e r   ( e . g .   e r r o r = i m a g e - b l a c k l i s t e d ) .   M u t a t i n g A d m i s s i o n W e b h o o k   a n d   V a l i d a t i n g A d m i s s i o n W e b h o o k   a d m i s s i o n   c o n t r o l l e r   w i l l   p r e f i x   t h e   k e y s   w i t h   a d m i s s i o n   w e b h o o k   n a m e   ( e . g .   i m a g e p o l i c y . e x a m p l e . c o m / e r r o r = i m a g e - b l a c k l i s t e d ) .   A u d i t A n n o t a t i o n s   w i l l   b e   p r o v i d e d   b y   t h e   a d m i s s i o n   w e b h o o k   t o   a d d   a d d i t i o n a l   c o n t e x t   t o   t h e   a u d i t   l o g   f o r   t h i s   r e q u e s t .   w a r n i n g s   i s   a   l i s t   o f   w a r n i n g   m e s s a g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-admission.v1/",
    "id": "k8s_00229_section_2_4341"
  },
  {
    "question": "What is Operation?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   A d m i s s i o n R e q u e s t   O p e r a t i o n   i s   t h e   t y p e   o f   r e s o u r c e   o p e r a t i o n   b e i n g   c h e c k e d   f o r   a d m i s s i o n   c o n t r o l",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-admission.v1/",
    "id": "k8s_00229_section_2_4342"
  },
  {
    "question": "What is PatchType?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   A d m i s s i o n R e s p o n s e   P a t c h T y p e   i s   t h e   t y p e   o f   p a t c h   b e i n g   u s e d   t o   r e p r e s e n t   t h e   m u t a t e d   o b j e c t   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-admission.v1/",
    "id": "k8s_00229_section_2_4343"
  },
  {
    "question": "What is VolumeAttachment?",
    "answer": "VolumeAttachmentVolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.apiVersion: storage.k8s.io/v1import \"k8s.io/api/storage/v1\"VolumeAttachmentVolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.VolumeAttachment objects are non-namespaced.apiVersion: storage.k8s.io/v1kind: VolumeAttachmentmetadata (ObjectMeta)Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (VolumeAttachmentSpec), requiredspec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.status (VolumeAttachmentStatus)status represents status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.VolumeAttachmentSpecVolumeAttachmentSpec is the specification of a VolumeAttachment request.attacher (string), requiredattacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().nodeName (string), requirednodeName represents the node that the volume should be attached to.source (VolumeAttachmentSource), requiredsource represents the volume that should be attached.VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.source.inlineVolumeSpec (PersistentVolumeSpec)inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature.source.persistentVolumeName (string)persistentVolumeName represents the name of the persistent volume to attach.VolumeAttachmentStatusVolumeAttachmentStatus is the status of a VolumeAttachment request.attached (boolean), requiredattached indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.attachError (VolumeError)attachError represents the last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.VolumeError captures an error encountered during a volume operation.attachError.errorCode (int32)errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.This is an optional, beta field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.attachError.message (string)message represents the error encountered during Attach or Detach operation. This string may be logged, so i",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_qa_4344"
  },
  {
    "question": "How does VolumeAttachment work?",
    "answer": "VolumeAttachmentVolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.apiVersion: storage.k8s.io/v1import \"k8s.io/api/storage/v1\"VolumeAttachmentVolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.VolumeAttachment objects are non-namespaced.apiVersion: storage.k8s.io/v1kind: VolumeAttachmentmetadata (ObjectMeta)Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (VolumeAttachmentSpec), requiredspec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.status (VolumeAttachmentStatus)status represents status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.VolumeAttachmentSpecVolumeAttachmentSpec is the specification of a VolumeAttachment request.attacher (string), requiredattacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().nodeName (string), requirednodeName represents the node that the volume should be attached to.source (VolumeAttachmentSource), requiredsource represents the volume that should be attached.VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.source.inlineVolumeSpec (PersistentVolumeSpec)inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature.source.persistentVolumeName (string)persistentVolumeName represents the name of the persistent volume to attach.VolumeAttachmentStatusVolumeAttachmentStatus is the status of a VolumeAttachment request.attached (boolean), requiredattached indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.attachError (VolumeError)attachError represents the last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.VolumeError captures an error encountered during a volume operation.attachError.errorCode (int32)errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.This is an optional, beta field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.attachError.message (string)message represents the error encountered during Attach or Detach operation. This string may be logged, so i",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_qa_4345"
  },
  {
    "question": "When would you use VolumeAttachment?",
    "answer": "VolumeAttachmentVolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.apiVersion: storage.k8s.io/v1import \"k8s.io/api/storage/v1\"VolumeAttachmentVolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.VolumeAttachment objects are non-namespaced.apiVersion: storage.k8s.io/v1kind: VolumeAttachmentmetadata (ObjectMeta)Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (VolumeAttachmentSpec), requiredspec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.status (VolumeAttachmentStatus)status represents status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.VolumeAttachmentSpecVolumeAttachmentSpec is the specification of a VolumeAttachment request.attacher (string), requiredattacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().nodeName (string), requirednodeName represents the node that the volume should be attached to.source (VolumeAttachmentSource), requiredsource represents the volume that should be attached.VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.source.inlineVolumeSpec (PersistentVolumeSpec)inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature.source.persistentVolumeName (string)persistentVolumeName represents the name of the persistent volume to attach.VolumeAttachmentStatusVolumeAttachmentStatus is the status of a VolumeAttachment request.attached (boolean), requiredattached indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.attachError (VolumeError)attachError represents the last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.VolumeError captures an error encountered during a volume operation.attachError.errorCode (int32)errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.This is an optional, beta field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.attachError.message (string)message represents the error encountered during Attach or Detach operation. This string may be logged, so i",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_qa_4346"
  },
  {
    "question": "What are the benefits of VolumeAttachment?",
    "answer": "VolumeAttachmentVolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.apiVersion: storage.k8s.io/v1import \"k8s.io/api/storage/v1\"VolumeAttachmentVolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.VolumeAttachment objects are non-namespaced.apiVersion: storage.k8s.io/v1kind: VolumeAttachmentmetadata (ObjectMeta)Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (VolumeAttachmentSpec), requiredspec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.status (VolumeAttachmentStatus)status represents status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.VolumeAttachmentSpecVolumeAttachmentSpec is the specification of a VolumeAttachment request.attacher (string), requiredattacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().nodeName (string), requirednodeName represents the node that the volume should be attached to.source (VolumeAttachmentSource), requiredsource represents the volume that should be attached.VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.source.inlineVolumeSpec (PersistentVolumeSpec)inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature.source.persistentVolumeName (string)persistentVolumeName represents the name of the persistent volume to attach.VolumeAttachmentStatusVolumeAttachmentStatus is the status of a VolumeAttachment request.attached (boolean), requiredattached indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.attachError (VolumeError)attachError represents the last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.VolumeError captures an error encountered during a volume operation.attachError.errorCode (int32)errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.This is an optional, beta field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.attachError.message (string)message represents the error encountered during Attach or Detach operation. This string may be logged, so i",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_qa_4347"
  },
  {
    "question": "What is VolumeAttachment?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / s t o r a g e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_1_4348"
  },
  {
    "question": "What is VolumeAttachment?",
    "answer": "V o l u m e A t t a c h m e n t   c a p t u r e s   t h e   i n t e n t   t o   a t t a c h   o r   d e t a c h   t h e   s p e c i f i e d   v o l u m e   t o / f r o m   t h e   s p e c i f i e d   n o d e .   V o l u m e A t t a c h m e n t   o b j e c t s   a r e   n o n - n a m e s p a c e d .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   V o l u m e A t t a c h m e n t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( V o l u m e A t t a c h m e n t S p e c ) ,   r e q u i r e d s p e c   r e p r e s e n t s   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   a t t a c h / d e t a c h   v o l u m e   b e h a v i o r .   P o p u l a t e d   b y   t h e   K u b e r n e t e s   s y s t e m . s t a t u s   ( V o l u m e A t t a c h m e n t S t a t u s ) s t a t u s   r e p r e s e n t s   s t a t u s   o f   t h e   V o l u m e A t t a c h m e n t   r e q u e s t .   P o p u l a t e d   b y   t h e   e n t i t y   c o m p l e t i n g   t h e   a t t a c h   o r   d e t a c h   o p e r a t i o n ,   i . e .   t h e   e x t e r n a l - a t t a c h e r .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e A t t a c h m e n t   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( V o l u m e A t t a c h m e n t S p e c ) ,   r e q u i r e d   s p e c   r e p r e s e n t s   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   a t t a c h / d e t a c h   v o l u m e   b e h a v i o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_2_4349"
  },
  {
    "question": "What is VolumeAttachmentSpec?",
    "answer": "V o l u m e A t t a c h m e n t S p e c   i s   t h e   s p e c i f i c a t i o n   o f   a   V o l u m e A t t a c h m e n t   r e q u e s t .   a t t a c h e r   ( s t r i n g ) ,   r e q u i r e d a t t a c h e r   i n d i c a t e s   t h e   n a m e   o f   t h e   v o l u m e   d r i v e r   t h a t   M U S T   h a n d l e   t h i s   r e q u e s t .   T h i s   i s   t h e   n a m e   r e t u r n e d   b y   G e t P l u g i n N a m e ( ) . n o d e N a m e   ( s t r i n g ) ,   r e q u i r e d n o d e N a m e   r e p r e s e n t s   t h e   n o d e   t h a t   t h e   v o l u m e   s h o u l d   b e   a t t a c h e d   t o . s o u r c e   ( V o l u m e A t t a c h m e n t S o u r c e ) ,   r e q u i r e d s o u r c e   r e p r e s e n t s   t h e   v o l u m e   t h a t   s h o u l d   b e   a t t a c h e d . V o l u m e A t t a c h m e n t S o u r c e   r e p r e s e n t s   a   v o l u m e   t h a t   s h o u l d   b e   a t t a c h e d .   R i g h t   n o w   o n l y   P e r s i s t e n t V o l u m e s   c a n   b e   a t t a c h e d   v i a   e x t e r n a l   a t t a c h e r ,   i n   t h e   f u t u r e   w e   m a y   a l l o w   a l s o   i n l i n e   v o l u m e s   i n   p o d s .   E x a c t l y   o n e   m e m b e r   c a n   b e   s e t . s o u r c e . i n l i n e V o l u m e S p e c   ( P e r s i s t e n t V o l u m e S p e c ) i n l i n e V o l u m e S p e c   c o n t a i n s   a l l   t h e   i n f o r m a t i o n   n e c e s s a r y   t o   a t t a c h   a   p e r s i s t e n t   v o l u m e   d e f i n e d   b y   a   p o d ' s   i n l i n e   V o l u m e S o u r c e .   T h i s   f i e l d   i s   p o p u l a t e d   o n l y   f o r   t h e   C S I M i g r a t i o n   f e a t u r e .   I t   c o n t a i n s   t r a n s l a t e d   f i e l d s   f r o m   a   p o d ' s   i n l i n e   V o l u m e S o u r c e   t o   a   P e r s i s t e n t V o l u m e S p e c .   T h i s   f i e l d   i s   b e t a - l e v e l   a n d   i s   o n l y   h o n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_2_4350"
  },
  {
    "question": "What is VolumeAttachmentStatus?",
    "answer": "V o l u m e A t t a c h m e n t S t a t u s   i s   t h e   s t a t u s   o f   a   V o l u m e A t t a c h m e n t   r e q u e s t .   a t t a c h e d   ( b o o l e a n ) ,   r e q u i r e d a t t a c h e d   i n d i c a t e s   t h e   v o l u m e   i s   s u c c e s s f u l l y   a t t a c h e d .   T h i s   f i e l d   m u s t   o n l y   b e   s e t   b y   t h e   e n t i t y   c o m p l e t i n g   t h e   a t t a c h   o p e r a t i o n ,   i . e .   t h e   e x t e r n a l - a t t a c h e r . a t t a c h E r r o r   ( V o l u m e E r r o r ) a t t a c h E r r o r   r e p r e s e n t s   t h e   l a s t   e r r o r   e n c o u n t e r e d   d u r i n g   a t t a c h   o p e r a t i o n ,   i f   a n y .   T h i s   f i e l d   m u s t   o n l y   b e   s e t   b y   t h e   e n t i t y   c o m p l e t i n g   t h e   a t t a c h   o p e r a t i o n ,   i . e .   t h e   e x t e r n a l - a t t a c h e r . V o l u m e E r r o r   c a p t u r e s   a n   e r r o r   e n c o u n t e r e d   d u r i n g   a   v o l u m e   o p e r a t i o n . a t t a c h E r r o r . e r r o r C o d e   ( i n t 3 2 ) e r r o r C o d e   i s   a   n u m e r i c   g R P C   c o d e   r e p r e s e n t i n g   t h e   e r r o r   e n c o u n t e r e d   d u r i n g   A t t a c h   o r   D e t a c h   o p e r a t i o n s . T h i s   i s   a n   o p t i o n a l ,   b e t a   f i e l d   t h a t   r e q u i r e s   t h e   M u t a b l e C S I N o d e A l l o c a t a b l e C o u n t   f e a t u r e   g a t e   b e i n g   e n a b l e d   t o   b e   s e t . a t t a c h E r r o r . m e s s a g e   ( s t r i n g ) m e s s a g e   r e p r e s e n t s   t h e   e r r o r   e n c o u n t e r e d   d u r i n g   A t t a c h   o r   D e t a c h   o p e r a t i o n .   T h i s   s t r i n g   m a y   b e   l o g g e d ,   s o   i t   s h o u l d   n o t   c o n t a i n   s e n s i t i v e   i n f o r m a t i o n . a t t a c h E r r o r . t i m e   ( T i m e ) t i m e   r e p r e s e n t s   t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_2_4351"
  },
  {
    "question": "What is VolumeAttachmentList?",
    "answer": "V o l u m e A t t a c h m e n t L i s t   i s   a   c o l l e c t i o n   o f   V o l u m e A t t a c h m e n t   o b j e c t s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   V o l u m e A t t a c h m e n t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] V o l u m e A t t a c h m e n t ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   V o l u m e A t t a c h m e n t s   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e A t t a c h m e n t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] V o l u m e A t t a c h m e n t ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   V o l u m e A t t a c h m e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_2_4352"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4353"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t a c h m e n t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t a c h m e n t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4354"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4355"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4356"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t a c h m e n t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t a c h m e n t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4357"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4358"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4359"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4360"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4361"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4362"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   V o l u m e A t t a c h m e n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   V o l u m e A t t a c h m e n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4363"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t ) :   O K   2 0 1   ( V o l u m e A t t a c h m e n t ) :   C r e a t e d   2 0 2   ( V o l u m e A t t a c h m e n t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4364"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4365"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t a c h m e n t b o d y :   V o l u m e A t t a c h m e n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t a c h m e n t   b o d y :   V o l u m e A t t a c h m e n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4366"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t ) :   O K   2 0 1   ( V o l u m e A t t a c h m e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4367"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4368"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t a c h m e n t b o d y :   V o l u m e A t t a c h m e n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t a c h m e n t   b o d y :   V o l u m e A t t a c h m e n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4369"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t ) :   O K   2 0 1   ( V o l u m e A t t a c h m e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4370"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4371"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t a c h m e n t b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t a c h m e n t   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4372"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t ) :   O K   2 0 1   ( V o l u m e A t t a c h m e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4373"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4374"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t a c h m e n t b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t a c h m e n t   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4375"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t ) :   O K   2 0 1   ( V o l u m e A t t a c h m e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4376"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4377"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t a c h m e n t b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t a c h m e n t   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4378"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t ) :   O K   2 0 2   ( V o l u m e A t t a c h m e n t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4379"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4380"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4381"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1/",
    "id": "k8s_00230_section_4_4382"
  },
  {
    "question": "What is SubjectAccessReview?",
    "answer": "SubjectAccessReviewSubjectAccessReview checks whether or not a user or group can perform an action.apiVersion: authorization.k8s.io/v1import \"k8s.io/api/authorization/v1\"SubjectAccessReviewSubjectAccessReview checks whether or not a user or group can perform an action.apiVersion: authorization.k8s.io/v1kind: SubjectAccessReviewmetadata (ObjectMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (SubjectAccessReviewSpec), requiredSpec holds information about the request being evaluatedstatus (SubjectAccessReviewStatus)Status is filled in by the server and indicates whether the request is allowed or notSubjectAccessReviewSpecSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be setextra (map[string][]string)Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.groups ([]string)Atomic: will be replaced during a mergeGroups is the groups you're testing for.nonResourceAttributes (NonResourceAttributes)NonResourceAttributes describes information for a non-resource access requestNonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interfacenonResourceAttributes.path (string)Path is the URL path of the requestnonResourceAttributes.verb (string)Verb is the standard HTTP verbresourceAttributes (ResourceAttributes)ResourceAuthorizationAttributes describes information for a resource access requestResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interfaceresourceAttributes.fieldSelector (FieldSelectorAttributes)fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it.*FieldSelectorAttributes indicates a field limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.resourceAttributes.fieldSelector.rawSelector (string)rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook imp",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/subject-access-review-v1/",
    "id": "k8s_00231_qa_4383"
  },
  {
    "question": "How does SubjectAccessReview work?",
    "answer": "SubjectAccessReviewSubjectAccessReview checks whether or not a user or group can perform an action.apiVersion: authorization.k8s.io/v1import \"k8s.io/api/authorization/v1\"SubjectAccessReviewSubjectAccessReview checks whether or not a user or group can perform an action.apiVersion: authorization.k8s.io/v1kind: SubjectAccessReviewmetadata (ObjectMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (SubjectAccessReviewSpec), requiredSpec holds information about the request being evaluatedstatus (SubjectAccessReviewStatus)Status is filled in by the server and indicates whether the request is allowed or notSubjectAccessReviewSpecSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be setextra (map[string][]string)Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.groups ([]string)Atomic: will be replaced during a mergeGroups is the groups you're testing for.nonResourceAttributes (NonResourceAttributes)NonResourceAttributes describes information for a non-resource access requestNonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interfacenonResourceAttributes.path (string)Path is the URL path of the requestnonResourceAttributes.verb (string)Verb is the standard HTTP verbresourceAttributes (ResourceAttributes)ResourceAuthorizationAttributes describes information for a resource access requestResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interfaceresourceAttributes.fieldSelector (FieldSelectorAttributes)fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it.*FieldSelectorAttributes indicates a field limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.resourceAttributes.fieldSelector.rawSelector (string)rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook imp",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/subject-access-review-v1/",
    "id": "k8s_00231_qa_4384"
  },
  {
    "question": "When would you use SubjectAccessReview?",
    "answer": "SubjectAccessReviewSubjectAccessReview checks whether or not a user or group can perform an action.apiVersion: authorization.k8s.io/v1import \"k8s.io/api/authorization/v1\"SubjectAccessReviewSubjectAccessReview checks whether or not a user or group can perform an action.apiVersion: authorization.k8s.io/v1kind: SubjectAccessReviewmetadata (ObjectMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (SubjectAccessReviewSpec), requiredSpec holds information about the request being evaluatedstatus (SubjectAccessReviewStatus)Status is filled in by the server and indicates whether the request is allowed or notSubjectAccessReviewSpecSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be setextra (map[string][]string)Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.groups ([]string)Atomic: will be replaced during a mergeGroups is the groups you're testing for.nonResourceAttributes (NonResourceAttributes)NonResourceAttributes describes information for a non-resource access requestNonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interfacenonResourceAttributes.path (string)Path is the URL path of the requestnonResourceAttributes.verb (string)Verb is the standard HTTP verbresourceAttributes (ResourceAttributes)ResourceAuthorizationAttributes describes information for a resource access requestResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interfaceresourceAttributes.fieldSelector (FieldSelectorAttributes)fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it.*FieldSelectorAttributes indicates a field limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.resourceAttributes.fieldSelector.rawSelector (string)rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook imp",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/subject-access-review-v1/",
    "id": "k8s_00231_qa_4385"
  },
  {
    "question": "What are the benefits of SubjectAccessReview?",
    "answer": "SubjectAccessReviewSubjectAccessReview checks whether or not a user or group can perform an action.apiVersion: authorization.k8s.io/v1import \"k8s.io/api/authorization/v1\"SubjectAccessReviewSubjectAccessReview checks whether or not a user or group can perform an action.apiVersion: authorization.k8s.io/v1kind: SubjectAccessReviewmetadata (ObjectMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (SubjectAccessReviewSpec), requiredSpec holds information about the request being evaluatedstatus (SubjectAccessReviewStatus)Status is filled in by the server and indicates whether the request is allowed or notSubjectAccessReviewSpecSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be setextra (map[string][]string)Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.groups ([]string)Atomic: will be replaced during a mergeGroups is the groups you're testing for.nonResourceAttributes (NonResourceAttributes)NonResourceAttributes describes information for a non-resource access requestNonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interfacenonResourceAttributes.path (string)Path is the URL path of the requestnonResourceAttributes.verb (string)Verb is the standard HTTP verbresourceAttributes (ResourceAttributes)ResourceAuthorizationAttributes describes information for a resource access requestResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interfaceresourceAttributes.fieldSelector (FieldSelectorAttributes)fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it.*FieldSelectorAttributes indicates a field limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.resourceAttributes.fieldSelector.rawSelector (string)rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook imp",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/subject-access-review-v1/",
    "id": "k8s_00231_qa_4386"
  },
  {
    "question": "What is SubjectAccessReview?",
    "answer": "a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a u t h o r i z a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/subject-access-review-v1/",
    "id": "k8s_00231_section_1_4387"
  },
  {
    "question": "What is SubjectAccessReview?",
    "answer": "S u b j e c t A c c e s s R e v i e w   c h e c k s   w h e t h e r   o r   n o t   a   u s e r   o r   g r o u p   c a n   p e r f o r m   a n   a c t i o n .   a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   S u b j e c t A c c e s s R e v i e w m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( S u b j e c t A c c e s s R e v i e w S p e c ) ,   r e q u i r e d S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d s t a t u s   ( S u b j e c t A c c e s s R e v i e w S t a t u s ) S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   a n d   i n d i c a t e s   w h e t h e r   t h e   r e q u e s t   i s   a l l o w e d   o r   n o t   a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   S u b j e c t A c c e s s R e v i e w   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( S u b j e c t A c c e s s R e v i e w S p e c ) ,   r e q u i r e d   S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d   s t a t u s   ( S u b j e c t A c c e s s R e v i e w S t a t u s )   S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   a n d   i n d i c a t e s   w h e t h e r   t h e   r e q u e s t   i s   a l l o w e d   o r   n o t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/subject-access-review-v1/",
    "id": "k8s_00231_section_2_4388"
  },
  {
    "question": "What is SubjectAccessReviewSpec?",
    "answer": "S u b j e c t A c c e s s R e v i e w S p e c   i s   a   d e s c r i p t i o n   o f   t h e   a c c e s s   r e q u e s t .   E x a c t l y   o n e   o f   R e s o u r c e A u t h o r i z a t i o n A t t r i b u t e s   a n d   N o n R e s o u r c e A u t h o r i z a t i o n A t t r i b u t e s   m u s t   b e   s e t   e x t r a   ( m a p [ s t r i n g ] [ ] s t r i n g ) E x t r a   c o r r e s p o n d s   t o   t h e   u s e r . I n f o . G e t E x t r a ( )   m e t h o d   f r o m   t h e   a u t h e n t i c a t o r .   S i n c e   t h a t   i s   i n p u t   t o   t h e   a u t h o r i z e r   i t   n e e d s   a   r e f l e c t i o n   h e r e . g r o u p s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e G r o u p s   i s   t h e   g r o u p s   y o u ' r e   t e s t i n g   f o r . n o n R e s o u r c e A t t r i b u t e s   ( N o n R e s o u r c e A t t r i b u t e s ) N o n R e s o u r c e A t t r i b u t e s   d e s c r i b e s   i n f o r m a t i o n   f o r   a   n o n - r e s o u r c e   a c c e s s   r e q u e s t N o n R e s o u r c e A t t r i b u t e s   i n c l u d e s   t h e   a u t h o r i z a t i o n   a t t r i b u t e s   a v a i l a b l e   f o r   n o n - r e s o u r c e   r e q u e s t s   t o   t h e   A u t h o r i z e r   i n t e r f a c e n o n R e s o u r c e A t t r i b u t e s . p a t h   ( s t r i n g ) P a t h   i s   t h e   U R L   p a t h   o f   t h e   r e q u e s t n o n R e s o u r c e A t t r i b u t e s . v e r b   ( s t r i n g ) V e r b   i s   t h e   s t a n d a r d   H T T P   v e r b r e s o u r c e A t t r i b u t e s   ( R e s o u r c e A t t r i b u t e s ) R e s o u r c e A u t h o r i z a t i o n A t t r i b u t e s   d e s c r i b e s   i n f o r m a t i o n   f o r   a   r e s o u r c e   a c c e s s   r e q u e s t R e s o u r c e A t t r i b u t e s   i n c l u d e s   t h e   a u t h o r i z a t i o n   a t t r i b u t e s   a v a i l a b l e   f o r   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/subject-access-review-v1/",
    "id": "k8s_00231_section_2_4389"
  },
  {
    "question": "What is SubjectAccessReviewStatus?",
    "answer": "S u b j e c t A c c e s s R e v i e w S t a t u s   a l l o w e d   ( b o o l e a n ) ,   r e q u i r e d A l l o w e d   i s   r e q u i r e d .   T r u e   i f   t h e   a c t i o n   w o u l d   b e   a l l o w e d ,   f a l s e   o t h e r w i s e . d e n i e d   ( b o o l e a n ) D e n i e d   i s   o p t i o n a l .   T r u e   i f   t h e   a c t i o n   w o u l d   b e   d e n i e d ,   o t h e r w i s e   f a l s e .   I f   b o t h   a l l o w e d   i s   f a l s e   a n d   d e n i e d   i s   f a l s e ,   t h e n   t h e   a u t h o r i z e r   h a s   n o   o p i n i o n   o n   w h e t h e r   t o   a u t h o r i z e   t h e   a c t i o n .   D e n i e d   m a y   n o t   b e   t r u e   i f   A l l o w e d   i s   t r u e . e v a l u a t i o n E r r o r   ( s t r i n g ) E v a l u a t i o n E r r o r   i s   a n   i n d i c a t i o n   t h a t   s o m e   e r r o r   o c c u r r e d   d u r i n g   t h e   a u t h o r i z a t i o n   c h e c k .   I t   i s   e n t i r e l y   p o s s i b l e   t o   g e t   a n   e r r o r   a n d   b e   a b l e   t o   c o n t i n u e   d e t e r m i n e   a u t h o r i z a t i o n   s t a t u s   i n   s p i t e   o f   i t .   F o r   i n s t a n c e ,   R B A C   c a n   b e   m i s s i n g   a   r o l e ,   b u t   e n o u g h   r o l e s   a r e   s t i l l   p r e s e n t   a n d   b o u n d   t o   r e a s o n   a b o u t   t h e   r e q u e s t . r e a s o n   ( s t r i n g ) R e a s o n   i s   o p t i o n a l .   I t   i n d i c a t e s   w h y   a   r e q u e s t   w a s   a l l o w e d   o r   d e n i e d .   a l l o w e d   ( b o o l e a n ) ,   r e q u i r e d   A l l o w e d   i s   r e q u i r e d .   T r u e   i f   t h e   a c t i o n   w o u l d   b e   a l l o w e d ,   f a l s e   o t h e r w i s e .   d e n i e d   ( b o o l e a n )   D e n i e d   i s   o p t i o n a l .   T r u e   i f   t h e   a c t i o n   w o u l d   b e   d e n i e d ,   o t h e r w i s e   f a l s e .   I f   b o t h ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/subject-access-review-v1/",
    "id": "k8s_00231_section_2_4390"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t h o r i z a t i o n . k 8 s . i o / v 1 / s u b j e c t a c c e s s r e v i e w s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/subject-access-review-v1/",
    "id": "k8s_00231_section_4_4391"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   S u b j e c t A c c e s s R e v i e w ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   S u b j e c t A c c e s s R e v i e w ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/subject-access-review-v1/",
    "id": "k8s_00231_section_4_4392"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S u b j e c t A c c e s s R e v i e w ) :   O K   2 0 1   ( S u b j e c t A c c e s s R e v i e w ) :   C r e a t e d   2 0 2   ( S u b j e c t A c c e s s R e v i e w ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/subject-access-review-v1/",
    "id": "k8s_00231_section_4_4393"
  },
  {
    "question": "What is PodCertificateRequest v1alpha1?",
    "answer": "PodCertificateRequest v1alpha1PodCertificateRequest encodes a pod requesting a certificate from a given signer.apiVersion: certificates.k8s.io/v1alpha1import \"k8s.io/api/certificates/v1alpha1\"PodCertificateRequestPodCertificateRequest encodes a pod requesting a certificate from a given signer.Kubelets use this API to implement podCertificate projected volumesapiVersion: certificates.k8s.io/v1alpha1kind: PodCertificateRequestmetadata (ObjectMeta)metadata contains the object metadata.spec (PodCertificateRequestSpec), requiredspec contains the details about the certificate being requested.status (PodCertificateRequestStatus)status contains the issued certificate, and a standard set of conditions.PodCertificateRequestSpecPodCertificateRequestSpec describes the certificate request. All fields are immutable after creation.nodeName (string), requirednodeName is the name of the node the pod is assigned to.nodeUID (string), requirednodeUID is the UID of the node the pod is assigned to.pkixPublicKey ([]byte), requiredpkixPublicKey is the PKIX-serialized public key the signer will issue the certificate to.The key must be one of RSA3072, RSA4096, ECDSAP256, ECDSAP384, ECDSAP521, or ED25519. Note that this list may be expanded in the future.Signer implementations do not need to support all key types supported by kube-apiserver and kubelet. If a signer does not support the key type used for a given PodCertificateRequest, it must deny the request by setting a status.conditions entry with a type of \"Denied\" and a reason of \"UnsupportedKeyType\". It may also suggest a key type that it does support in the message field.podName (string), requiredpodName is the name of the pod into which the certificate will be mounted.podUID (string), requiredpodUID is the UID of the pod into which the certificate will be mounted.proofOfPossession ([]byte), requiredproofOfPossession proves that the requesting kubelet holds the private key corresponding to pkixPublicKey.It is contructed by signing the ASCII bytes of the pod's UID using pkixPublicKey.kube-apiserver validates the proof of possession during creation of the PodCertificateRequest.If the key is an RSA key, then the signature is over the ASCII bytes of the pod UID, using RSASSA-PSS from RFC 8017 (as implemented by the golang function crypto/rsa.SignPSS with nil options).If the key is an ECDSA key, then the signature is as described by SEC 1, Version 2.0 (as implemented by the golang library function crypto/ecdsa.SignASN1)If the key is an ED25519 key, the the signature is as described by the ED25519 Specification (as implemented by the golang library crypto/ed25519.Sign).serviceAccountName (string), requiredserviceAccountName is the name of the service account the pod is running as.serviceAccountUID (string), requiredserviceAccountUID is the UID of the service account the pod is running as.signerName (string), requiredsignerName indicates the requested signer.All signer names beginning with kubernetes.io are reserved for use",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_qa_4394"
  },
  {
    "question": "How does PodCertificateRequest v1alpha1 work?",
    "answer": "PodCertificateRequest v1alpha1PodCertificateRequest encodes a pod requesting a certificate from a given signer.apiVersion: certificates.k8s.io/v1alpha1import \"k8s.io/api/certificates/v1alpha1\"PodCertificateRequestPodCertificateRequest encodes a pod requesting a certificate from a given signer.Kubelets use this API to implement podCertificate projected volumesapiVersion: certificates.k8s.io/v1alpha1kind: PodCertificateRequestmetadata (ObjectMeta)metadata contains the object metadata.spec (PodCertificateRequestSpec), requiredspec contains the details about the certificate being requested.status (PodCertificateRequestStatus)status contains the issued certificate, and a standard set of conditions.PodCertificateRequestSpecPodCertificateRequestSpec describes the certificate request. All fields are immutable after creation.nodeName (string), requirednodeName is the name of the node the pod is assigned to.nodeUID (string), requirednodeUID is the UID of the node the pod is assigned to.pkixPublicKey ([]byte), requiredpkixPublicKey is the PKIX-serialized public key the signer will issue the certificate to.The key must be one of RSA3072, RSA4096, ECDSAP256, ECDSAP384, ECDSAP521, or ED25519. Note that this list may be expanded in the future.Signer implementations do not need to support all key types supported by kube-apiserver and kubelet. If a signer does not support the key type used for a given PodCertificateRequest, it must deny the request by setting a status.conditions entry with a type of \"Denied\" and a reason of \"UnsupportedKeyType\". It may also suggest a key type that it does support in the message field.podName (string), requiredpodName is the name of the pod into which the certificate will be mounted.podUID (string), requiredpodUID is the UID of the pod into which the certificate will be mounted.proofOfPossession ([]byte), requiredproofOfPossession proves that the requesting kubelet holds the private key corresponding to pkixPublicKey.It is contructed by signing the ASCII bytes of the pod's UID using pkixPublicKey.kube-apiserver validates the proof of possession during creation of the PodCertificateRequest.If the key is an RSA key, then the signature is over the ASCII bytes of the pod UID, using RSASSA-PSS from RFC 8017 (as implemented by the golang function crypto/rsa.SignPSS with nil options).If the key is an ECDSA key, then the signature is as described by SEC 1, Version 2.0 (as implemented by the golang library function crypto/ecdsa.SignASN1)If the key is an ED25519 key, the the signature is as described by the ED25519 Specification (as implemented by the golang library crypto/ed25519.Sign).serviceAccountName (string), requiredserviceAccountName is the name of the service account the pod is running as.serviceAccountUID (string), requiredserviceAccountUID is the UID of the service account the pod is running as.signerName (string), requiredsignerName indicates the requested signer.All signer names beginning with kubernetes.io are reserved for use",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_qa_4395"
  },
  {
    "question": "When would you use PodCertificateRequest v1alpha1?",
    "answer": "PodCertificateRequest v1alpha1PodCertificateRequest encodes a pod requesting a certificate from a given signer.apiVersion: certificates.k8s.io/v1alpha1import \"k8s.io/api/certificates/v1alpha1\"PodCertificateRequestPodCertificateRequest encodes a pod requesting a certificate from a given signer.Kubelets use this API to implement podCertificate projected volumesapiVersion: certificates.k8s.io/v1alpha1kind: PodCertificateRequestmetadata (ObjectMeta)metadata contains the object metadata.spec (PodCertificateRequestSpec), requiredspec contains the details about the certificate being requested.status (PodCertificateRequestStatus)status contains the issued certificate, and a standard set of conditions.PodCertificateRequestSpecPodCertificateRequestSpec describes the certificate request. All fields are immutable after creation.nodeName (string), requirednodeName is the name of the node the pod is assigned to.nodeUID (string), requirednodeUID is the UID of the node the pod is assigned to.pkixPublicKey ([]byte), requiredpkixPublicKey is the PKIX-serialized public key the signer will issue the certificate to.The key must be one of RSA3072, RSA4096, ECDSAP256, ECDSAP384, ECDSAP521, or ED25519. Note that this list may be expanded in the future.Signer implementations do not need to support all key types supported by kube-apiserver and kubelet. If a signer does not support the key type used for a given PodCertificateRequest, it must deny the request by setting a status.conditions entry with a type of \"Denied\" and a reason of \"UnsupportedKeyType\". It may also suggest a key type that it does support in the message field.podName (string), requiredpodName is the name of the pod into which the certificate will be mounted.podUID (string), requiredpodUID is the UID of the pod into which the certificate will be mounted.proofOfPossession ([]byte), requiredproofOfPossession proves that the requesting kubelet holds the private key corresponding to pkixPublicKey.It is contructed by signing the ASCII bytes of the pod's UID using pkixPublicKey.kube-apiserver validates the proof of possession during creation of the PodCertificateRequest.If the key is an RSA key, then the signature is over the ASCII bytes of the pod UID, using RSASSA-PSS from RFC 8017 (as implemented by the golang function crypto/rsa.SignPSS with nil options).If the key is an ECDSA key, then the signature is as described by SEC 1, Version 2.0 (as implemented by the golang library function crypto/ecdsa.SignASN1)If the key is an ED25519 key, the the signature is as described by the ED25519 Specification (as implemented by the golang library crypto/ed25519.Sign).serviceAccountName (string), requiredserviceAccountName is the name of the service account the pod is running as.serviceAccountUID (string), requiredserviceAccountUID is the UID of the service account the pod is running as.signerName (string), requiredsignerName indicates the requested signer.All signer names beginning with kubernetes.io are reserved for use",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_qa_4396"
  },
  {
    "question": "What are the benefits of PodCertificateRequest v1alpha1?",
    "answer": "PodCertificateRequest v1alpha1PodCertificateRequest encodes a pod requesting a certificate from a given signer.apiVersion: certificates.k8s.io/v1alpha1import \"k8s.io/api/certificates/v1alpha1\"PodCertificateRequestPodCertificateRequest encodes a pod requesting a certificate from a given signer.Kubelets use this API to implement podCertificate projected volumesapiVersion: certificates.k8s.io/v1alpha1kind: PodCertificateRequestmetadata (ObjectMeta)metadata contains the object metadata.spec (PodCertificateRequestSpec), requiredspec contains the details about the certificate being requested.status (PodCertificateRequestStatus)status contains the issued certificate, and a standard set of conditions.PodCertificateRequestSpecPodCertificateRequestSpec describes the certificate request. All fields are immutable after creation.nodeName (string), requirednodeName is the name of the node the pod is assigned to.nodeUID (string), requirednodeUID is the UID of the node the pod is assigned to.pkixPublicKey ([]byte), requiredpkixPublicKey is the PKIX-serialized public key the signer will issue the certificate to.The key must be one of RSA3072, RSA4096, ECDSAP256, ECDSAP384, ECDSAP521, or ED25519. Note that this list may be expanded in the future.Signer implementations do not need to support all key types supported by kube-apiserver and kubelet. If a signer does not support the key type used for a given PodCertificateRequest, it must deny the request by setting a status.conditions entry with a type of \"Denied\" and a reason of \"UnsupportedKeyType\". It may also suggest a key type that it does support in the message field.podName (string), requiredpodName is the name of the pod into which the certificate will be mounted.podUID (string), requiredpodUID is the UID of the pod into which the certificate will be mounted.proofOfPossession ([]byte), requiredproofOfPossession proves that the requesting kubelet holds the private key corresponding to pkixPublicKey.It is contructed by signing the ASCII bytes of the pod's UID using pkixPublicKey.kube-apiserver validates the proof of possession during creation of the PodCertificateRequest.If the key is an RSA key, then the signature is over the ASCII bytes of the pod UID, using RSASSA-PSS from RFC 8017 (as implemented by the golang function crypto/rsa.SignPSS with nil options).If the key is an ECDSA key, then the signature is as described by SEC 1, Version 2.0 (as implemented by the golang library function crypto/ecdsa.SignASN1)If the key is an ED25519 key, the the signature is as described by the ED25519 Specification (as implemented by the golang library crypto/ed25519.Sign).serviceAccountName (string), requiredserviceAccountName is the name of the service account the pod is running as.serviceAccountUID (string), requiredserviceAccountUID is the UID of the service account the pod is running as.signerName (string), requiredsignerName indicates the requested signer.All signer names beginning with kubernetes.io are reserved for use",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_qa_4397"
  },
  {
    "question": "What is PodCertificateRequest v1alpha1?",
    "answer": "a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1   i m p o r t   \" k 8 s . i o / a p i / c e r t i f i c a t e s / v 1 a l p h a 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_1_4398"
  },
  {
    "question": "What is PodCertificateRequest?",
    "answer": "P o d C e r t i f i c a t e R e q u e s t   e n c o d e s   a   p o d   r e q u e s t i n g   a   c e r t i f i c a t e   f r o m   a   g i v e n   s i g n e r .   K u b e l e t s   u s e   t h i s   A P I   t o   i m p l e m e n t   p o d C e r t i f i c a t e   p r o j e c t e d   v o l u m e s   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 k i n d :   P o d C e r t i f i c a t e R e q u e s t m e t a d a t a   ( O b j e c t M e t a ) m e t a d a t a   c o n t a i n s   t h e   o b j e c t   m e t a d a t a . s p e c   ( P o d C e r t i f i c a t e R e q u e s t S p e c ) ,   r e q u i r e d s p e c   c o n t a i n s   t h e   d e t a i l s   a b o u t   t h e   c e r t i f i c a t e   b e i n g   r e q u e s t e d . s t a t u s   ( P o d C e r t i f i c a t e R e q u e s t S t a t u s ) s t a t u s   c o n t a i n s   t h e   i s s u e d   c e r t i f i c a t e ,   a n d   a   s t a n d a r d   s e t   o f   c o n d i t i o n s .   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1   k i n d :   P o d C e r t i f i c a t e R e q u e s t   m e t a d a t a   ( O b j e c t M e t a )   m e t a d a t a   c o n t a i n s   t h e   o b j e c t   m e t a d a t a .   s p e c   ( P o d C e r t i f i c a t e R e q u e s t S p e c ) ,   r e q u i r e d   s p e c   c o n t a i n s   t h e   d e t a i l s   a b o u t   t h e   c e r t i f i c a t e   b e i n g   r e q u e s t e d .   s t a t u s   ( P o d C e r t i f i c a t e R e q u e s t S t a t u s )   s t a t u s   c o n t a i n s   t h e   i s s u e d   c e r t i f i c a t e ,   a n d   a   s t a n d a r d   s e t   o f   c o n d i t i o n s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_2_4399"
  },
  {
    "question": "What is PodCertificateRequestSpec?",
    "answer": "P o d C e r t i f i c a t e R e q u e s t S p e c   d e s c r i b e s   t h e   c e r t i f i c a t e   r e q u e s t .   A l l   f i e l d s   a r e   i m m u t a b l e   a f t e r   c r e a t i o n .   n o d e N a m e   ( s t r i n g ) ,   r e q u i r e d n o d e N a m e   i s   t h e   n a m e   o f   t h e   n o d e   t h e   p o d   i s   a s s i g n e d   t o . n o d e U I D   ( s t r i n g ) ,   r e q u i r e d n o d e U I D   i s   t h e   U I D   o f   t h e   n o d e   t h e   p o d   i s   a s s i g n e d   t o . p k i x P u b l i c K e y   ( [ ] b y t e ) ,   r e q u i r e d p k i x P u b l i c K e y   i s   t h e   P K I X - s e r i a l i z e d   p u b l i c   k e y   t h e   s i g n e r   w i l l   i s s u e   t h e   c e r t i f i c a t e   t o . T h e   k e y   m u s t   b e   o n e   o f   R S A 3 0 7 2 ,   R S A 4 0 9 6 ,   E C D S A P 2 5 6 ,   E C D S A P 3 8 4 ,   E C D S A P 5 2 1 ,   o r   E D 2 5 5 1 9 .   N o t e   t h a t   t h i s   l i s t   m a y   b e   e x p a n d e d   i n   t h e   f u t u r e . S i g n e r   i m p l e m e n t a t i o n s   d o   n o t   n e e d   t o   s u p p o r t   a l l   k e y   t y p e s   s u p p o r t e d   b y   k u b e - a p i s e r v e r   a n d   k u b e l e t .   I f   a   s i g n e r   d o e s   n o t   s u p p o r t   t h e   k e y   t y p e   u s e d   f o r   a   g i v e n   P o d C e r t i f i c a t e R e q u e s t ,   i t   m u s t   d e n y   t h e   r e q u e s t   b y   s e t t i n g   a   s t a t u s . c o n d i t i o n s   e n t r y   w i t h   a   t y p e   o f   \" D e n i e d \"   a n d   a   r e a s o n   o f   \" U n s u p p o r t e d K e y T y p e \" .   I t   m a y   a l s o   s u g g e s t   a   k e y   t y p e   t h a t   i t   d o e s   s u p p o r t   i n   t h e   m e s s a g e   f i e l d . p o d N a m e   ( s t r i n g ) ,   r e q u i r e d p o d N a m e   i s   t h e   n a m e   o f   t h e   p o d   i n t o   w h i c h   t h e   c e r t i f i c a t e   w i l l   b e   m o u n t e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_2_4400"
  },
  {
    "question": "What is PodCertificateRequestStatus?",
    "answer": "P o d C e r t i f i c a t e R e q u e s t S t a t u s   d e s c r i b e s   t h e   s t a t u s   o f   t h e   r e q u e s t ,   a n d   h o l d s   t h e   c e r t i f i c a t e   d a t a   i f   t h e   r e q u e s t   i s   i s s u e d .   b e g i n R e f r e s h A t   ( T i m e ) b e g i n R e f r e s h A t   i s   t h e   t i m e   a t   w h i c h   t h e   k u b e l e t   s h o u l d   b e g i n   t r y i n g   t o   r e f r e s h   t h e   c e r t i f i c a t e .   T h i s   f i e l d   i s   s e t   v i a   t h e   / s t a t u s   s u b r e s o u r c e ,   a n d   m u s t   b e   s e t   a t   t h e   s a m e   t i m e   a s   c e r t i f i c a t e C h a i n .   O n c e   p o p u l a t e d ,   t h i s   f i e l d   i s   i m m u t a b l e . T h i s   f i e l d   i s   o n l y   a   h i n t .   K u b e l e t   m a y   s t a r t   r e f r e s h i n g   b e f o r e   o r   a f t e r   t h i s   t i m e   i f   n e c e s s a r y . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c e r t i f i c a t e C h a i n   ( s t r i n g ) c e r t i f i c a t e C h a i n   i s   p o p u l a t e d   w i t h   a n   i s s u e d   c e r t i f i c a t e   b y   t h e   s i g n e r .   T h i s   f i e l d   i s   s e t   v i a   t h e   / s t a t u s   s u b r e s o u r c e .   O n c e   p o p u l a t e d ,   t h i s   f i e l d   i s   i m m u t a b l e . I f   t h e   c e r t i f i c a t e   s i g n i n g   r e q u e s t   i s   d e n i e d ,   a   c o n d i t i o n   o f   t y p e   \" D e n i e d \"   i s   a d d e d   a n d   t h i s   f i e l d   r e m a i n s   e m p t y .   I f   t h e   s i g n e r   c a n n o t   i s s u e   t h e   c e r t i f i c a t e ,   a   c o n d i t i o n   o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_2_4401"
  },
  {
    "question": "What is PodCertificateRequestList?",
    "answer": "P o d C e r t i f i c a t e R e q u e s t L i s t   i s   a   c o l l e c t i o n   o f   P o d C e r t i f i c a t e R e q u e s t   o b j e c t s   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 k i n d :   P o d C e r t i f i c a t e R e q u e s t L i s t m e t a d a t a   ( L i s t M e t a ) m e t a d a t a   c o n t a i n s   t h e   l i s t   m e t a d a t a . i t e m s   ( [ ] P o d C e r t i f i c a t e R e q u e s t ) ,   r e q u i r e d i t e m s   i s   a   c o l l e c t i o n   o f   P o d C e r t i f i c a t e R e q u e s t   o b j e c t s   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1   k i n d :   P o d C e r t i f i c a t e R e q u e s t L i s t   m e t a d a t a   ( L i s t M e t a )   m e t a d a t a   c o n t a i n s   t h e   l i s t   m e t a d a t a .   i t e m s   ( [ ] P o d C e r t i f i c a t e R e q u e s t ) ,   r e q u i r e d   i t e m s   i s   a   c o l l e c t i o n   o f   P o d C e r t i f i c a t e R e q u e s t   o b j e c t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_2_4402"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4403"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4404"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4405"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4406"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4407"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4408"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4409"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4410"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4411"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / p o d c e r t i f i c a t e r e q u e s t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4412"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4413"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4414"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4415"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d C e r t i f i c a t e R e q u e s t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d C e r t i f i c a t e R e q u e s t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4416"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t ) :   O K   2 0 1   ( P o d C e r t i f i c a t e R e q u e s t ) :   C r e a t e d   2 0 2   ( P o d C e r t i f i c a t e R e q u e s t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4417"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4418"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d C e r t i f i c a t e R e q u e s t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d C e r t i f i c a t e R e q u e s t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4419"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t ) :   O K   2 0 1   ( P o d C e r t i f i c a t e R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4420"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4421"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d C e r t i f i c a t e R e q u e s t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d C e r t i f i c a t e R e q u e s t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4422"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t ) :   O K   2 0 1   ( P o d C e r t i f i c a t e R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4423"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4424"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4425"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t ) :   O K   2 0 1   ( P o d C e r t i f i c a t e R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4426"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4427"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4428"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t ) :   O K   2 0 1   ( P o d C e r t i f i c a t e R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4429"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4430"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4431"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4432"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4433"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4434"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1alpha1/",
    "id": "k8s_00232_section_4_4435"
  },
  {
    "question": "What is Container Runtimes?",
    "answer": "Container RuntimesNote: Dockershim has been removed from the Kubernetes project as of release 1.24. Read the Dockershim Removal FAQ for further details.You need to install a container runtime into each node in the cluster so that Pods can run there. This page outlines what is involved and describes related tasks for setting up nodes.Kubernetes 1.34 requires that you use a runtime that conforms with the Container Runtime Interface (CRI).See CRI version support for more information.This page provides an outline of how to use several common container runtimes with Kubernetes.containerdCRI-ODocker EngineMirantis Container RuntimeNote:Kubernetes releases before v1.24 included a direct integration with Docker Engine, using a component named dockershim. That special direct integration is no longer part of Kubernetes (this removal was announced as part of the v1.20 release). You can read Check whether Dockershim removal affects you to understand how this removal might affect you. To learn about migrating from using dockershim, see Migrating from dockershim.If you are running a version of Kubernetes other than v1.34, check the documentation for that version.Install and configure prerequisitesNetwork configurationBy default, the Linux kernel does not allow IPv4 packets to be routed between interfaces. Most Kubernetes cluster networking implementations will change this setting (if needed), but some might expect the administrator to do it for them. (Some might also expect other sysctl parameters to be set, kernel modules to be loaded, etc; consult the documentation for your specific network implementation.)Enable IPv4 packet forwardingTo manually enable IPv4 packet forwarding:# sysctl params required by setup, params persist across reboots cat <<EOF | sudo tee /etc/sysctl.d/k8s.conf net.ipv4.ip_forward = 1 EOF # Apply sysctl params without reboot sudo sysctl --system Verify that net.ipv4.ip_forward is set to 1 with:sysctl net.ipv4.ip_forward cgroup driversOn Linux, control groups are used to constrain resources that are allocated to processes.Both the kubelet and the underlying container runtime need to interface with control groups to enforce resource management for pods and containers and set resources such as cpu/memory requests and limits. To interface with control groups, the kubelet and the container runtime need to use a cgroup driver. It's critical that the kubelet and the container runtime use the same cgroup driver and are configured the same.There are two cgroup drivers available:cgroupfssystemdcgroupfs driverThe cgroupfs driver is the default cgroup driver in the kubelet. When the cgroupfs driver is used, the kubelet and the container runtime directly interface with the cgroup filesystem to configure cgroups.The cgroupfs driver is not recommended when systemd is the init system because systemd expects a single cgroup manager on the system. Additionally, if you use cgroup v2, use the systemd cgroup driver instead of cgroupfs.systemd cgroup driverW",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes/",
    "id": "k8s_00233_qa_4436"
  },
  {
    "question": "How does Container Runtimes work?",
    "answer": "Container RuntimesNote: Dockershim has been removed from the Kubernetes project as of release 1.24. Read the Dockershim Removal FAQ for further details.You need to install a container runtime into each node in the cluster so that Pods can run there. This page outlines what is involved and describes related tasks for setting up nodes.Kubernetes 1.34 requires that you use a runtime that conforms with the Container Runtime Interface (CRI).See CRI version support for more information.This page provides an outline of how to use several common container runtimes with Kubernetes.containerdCRI-ODocker EngineMirantis Container RuntimeNote:Kubernetes releases before v1.24 included a direct integration with Docker Engine, using a component named dockershim. That special direct integration is no longer part of Kubernetes (this removal was announced as part of the v1.20 release). You can read Check whether Dockershim removal affects you to understand how this removal might affect you. To learn about migrating from using dockershim, see Migrating from dockershim.If you are running a version of Kubernetes other than v1.34, check the documentation for that version.Install and configure prerequisitesNetwork configurationBy default, the Linux kernel does not allow IPv4 packets to be routed between interfaces. Most Kubernetes cluster networking implementations will change this setting (if needed), but some might expect the administrator to do it for them. (Some might also expect other sysctl parameters to be set, kernel modules to be loaded, etc; consult the documentation for your specific network implementation.)Enable IPv4 packet forwardingTo manually enable IPv4 packet forwarding:# sysctl params required by setup, params persist across reboots cat <<EOF | sudo tee /etc/sysctl.d/k8s.conf net.ipv4.ip_forward = 1 EOF # Apply sysctl params without reboot sudo sysctl --system Verify that net.ipv4.ip_forward is set to 1 with:sysctl net.ipv4.ip_forward cgroup driversOn Linux, control groups are used to constrain resources that are allocated to processes.Both the kubelet and the underlying container runtime need to interface with control groups to enforce resource management for pods and containers and set resources such as cpu/memory requests and limits. To interface with control groups, the kubelet and the container runtime need to use a cgroup driver. It's critical that the kubelet and the container runtime use the same cgroup driver and are configured the same.There are two cgroup drivers available:cgroupfssystemdcgroupfs driverThe cgroupfs driver is the default cgroup driver in the kubelet. When the cgroupfs driver is used, the kubelet and the container runtime directly interface with the cgroup filesystem to configure cgroups.The cgroupfs driver is not recommended when systemd is the init system because systemd expects a single cgroup manager on the system. Additionally, if you use cgroup v2, use the systemd cgroup driver instead of cgroupfs.systemd cgroup driverW",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes/",
    "id": "k8s_00233_qa_4437"
  },
  {
    "question": "When would you use Container Runtimes?",
    "answer": "Container RuntimesNote: Dockershim has been removed from the Kubernetes project as of release 1.24. Read the Dockershim Removal FAQ for further details.You need to install a container runtime into each node in the cluster so that Pods can run there. This page outlines what is involved and describes related tasks for setting up nodes.Kubernetes 1.34 requires that you use a runtime that conforms with the Container Runtime Interface (CRI).See CRI version support for more information.This page provides an outline of how to use several common container runtimes with Kubernetes.containerdCRI-ODocker EngineMirantis Container RuntimeNote:Kubernetes releases before v1.24 included a direct integration with Docker Engine, using a component named dockershim. That special direct integration is no longer part of Kubernetes (this removal was announced as part of the v1.20 release). You can read Check whether Dockershim removal affects you to understand how this removal might affect you. To learn about migrating from using dockershim, see Migrating from dockershim.If you are running a version of Kubernetes other than v1.34, check the documentation for that version.Install and configure prerequisitesNetwork configurationBy default, the Linux kernel does not allow IPv4 packets to be routed between interfaces. Most Kubernetes cluster networking implementations will change this setting (if needed), but some might expect the administrator to do it for them. (Some might also expect other sysctl parameters to be set, kernel modules to be loaded, etc; consult the documentation for your specific network implementation.)Enable IPv4 packet forwardingTo manually enable IPv4 packet forwarding:# sysctl params required by setup, params persist across reboots cat <<EOF | sudo tee /etc/sysctl.d/k8s.conf net.ipv4.ip_forward = 1 EOF # Apply sysctl params without reboot sudo sysctl --system Verify that net.ipv4.ip_forward is set to 1 with:sysctl net.ipv4.ip_forward cgroup driversOn Linux, control groups are used to constrain resources that are allocated to processes.Both the kubelet and the underlying container runtime need to interface with control groups to enforce resource management for pods and containers and set resources such as cpu/memory requests and limits. To interface with control groups, the kubelet and the container runtime need to use a cgroup driver. It's critical that the kubelet and the container runtime use the same cgroup driver and are configured the same.There are two cgroup drivers available:cgroupfssystemdcgroupfs driverThe cgroupfs driver is the default cgroup driver in the kubelet. When the cgroupfs driver is used, the kubelet and the container runtime directly interface with the cgroup filesystem to configure cgroups.The cgroupfs driver is not recommended when systemd is the init system because systemd expects a single cgroup manager on the system. Additionally, if you use cgroup v2, use the systemd cgroup driver instead of cgroupfs.systemd cgroup driverW",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes/",
    "id": "k8s_00233_qa_4438"
  },
  {
    "question": "What are the benefits of Container Runtimes?",
    "answer": "Container RuntimesNote: Dockershim has been removed from the Kubernetes project as of release 1.24. Read the Dockershim Removal FAQ for further details.You need to install a container runtime into each node in the cluster so that Pods can run there. This page outlines what is involved and describes related tasks for setting up nodes.Kubernetes 1.34 requires that you use a runtime that conforms with the Container Runtime Interface (CRI).See CRI version support for more information.This page provides an outline of how to use several common container runtimes with Kubernetes.containerdCRI-ODocker EngineMirantis Container RuntimeNote:Kubernetes releases before v1.24 included a direct integration with Docker Engine, using a component named dockershim. That special direct integration is no longer part of Kubernetes (this removal was announced as part of the v1.20 release). You can read Check whether Dockershim removal affects you to understand how this removal might affect you. To learn about migrating from using dockershim, see Migrating from dockershim.If you are running a version of Kubernetes other than v1.34, check the documentation for that version.Install and configure prerequisitesNetwork configurationBy default, the Linux kernel does not allow IPv4 packets to be routed between interfaces. Most Kubernetes cluster networking implementations will change this setting (if needed), but some might expect the administrator to do it for them. (Some might also expect other sysctl parameters to be set, kernel modules to be loaded, etc; consult the documentation for your specific network implementation.)Enable IPv4 packet forwardingTo manually enable IPv4 packet forwarding:# sysctl params required by setup, params persist across reboots cat <<EOF | sudo tee /etc/sysctl.d/k8s.conf net.ipv4.ip_forward = 1 EOF # Apply sysctl params without reboot sudo sysctl --system Verify that net.ipv4.ip_forward is set to 1 with:sysctl net.ipv4.ip_forward cgroup driversOn Linux, control groups are used to constrain resources that are allocated to processes.Both the kubelet and the underlying container runtime need to interface with control groups to enforce resource management for pods and containers and set resources such as cpu/memory requests and limits. To interface with control groups, the kubelet and the container runtime need to use a cgroup driver. It's critical that the kubelet and the container runtime use the same cgroup driver and are configured the same.There are two cgroup drivers available:cgroupfssystemdcgroupfs driverThe cgroupfs driver is the default cgroup driver in the kubelet. When the cgroupfs driver is used, the kubelet and the container runtime directly interface with the cgroup filesystem to configure cgroups.The cgroupfs driver is not recommended when systemd is the init system because systemd expects a single cgroup manager on the system. Additionally, if you use cgroup v2, use the systemd cgroup driver instead of cgroupfs.systemd cgroup driverW",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes/",
    "id": "k8s_00233_qa_4439"
  },
  {
    "question": "What is Container Runtimes?",
    "answer": "Y o u   n e e d   t o   i n s t a l l   a   c o n t a i n e r   r u n t i m e   i n t o   e a c h   n o d e   i n   t h e   c l u s t e r   s o   t h a t   P o d s   c a n   r u n   t h e r e .   T h i s   p a g e   o u t l i n e s   w h a t   i s   i n v o l v e d   a n d   d e s c r i b e s   r e l a t e d   t a s k s   f o r   s e t t i n g   u p   n o d e s .   K u b e r n e t e s   1 . 3 4   r e q u i r e s   t h a t   y o u   u s e   a   r u n t i m e   t h a t   c o n f o r m s   w i t h   t h e   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I ) .   S e e   C R I   v e r s i o n   s u p p o r t   f o r   m o r e   i n f o r m a t i o n .   T h i s   p a g e   p r o v i d e s   a n   o u t l i n e   o f   h o w   t o   u s e   s e v e r a l   c o m m o n   c o n t a i n e r   r u n t i m e s   w i t h   K u b e r n e t e s .   c o n t a i n e r d C R I - O D o c k e r   E n g i n e M i r a n t i s   C o n t a i n e r   R u n t i m e",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes/",
    "id": "k8s_00233_section_1_4440"
  },
  {
    "question": "What is Note:?",
    "answer": "K u b e r n e t e s   r e l e a s e s   b e f o r e   v 1 . 2 4   i n c l u d e d   a   d i r e c t   i n t e g r a t i o n   w i t h   D o c k e r   E n g i n e ,   u s i n g   a   c o m p o n e n t   n a m e d   d o c k e r s h i m .   T h a t   s p e c i a l   d i r e c t   i n t e g r a t i o n   i s   n o   l o n g e r   p a r t   o f   K u b e r n e t e s   ( t h i s   r e m o v a l   w a s   a n n o u n c e d   a s   p a r t   o f   t h e   v 1 . 2 0   r e l e a s e ) .   Y o u   c a n   r e a d   C h e c k   w h e t h e r   D o c k e r s h i m   r e m o v a l   a f f e c t s   y o u   t o   u n d e r s t a n d   h o w   t h i s   r e m o v a l   m i g h t   a f f e c t   y o u .   T o   l e a r n   a b o u t   m i g r a t i n g   f r o m   u s i n g   d o c k e r s h i m ,   s e e   M i g r a t i n g   f r o m   d o c k e r s h i m .   I f   y o u   a r e   r u n n i n g   a   v e r s i o n   o f   K u b e r n e t e s   o t h e r   t h a n   v 1 . 3 4 ,   c h e c k   t h e   d o c u m e n t a t i o n   f o r   t h a t   v e r s i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes/",
    "id": "k8s_00233_section_4_4441"
  },
  {
    "question": "What is Network configuration?",
    "answer": "B y   d e f a u l t ,   t h e   L i n u x   k e r n e l   d o e s   n o t   a l l o w   I P v 4   p a c k e t s   t o   b e   r o u t e d   b e t w e e n   i n t e r f a c e s .   M o s t   K u b e r n e t e s   c l u s t e r   n e t w o r k i n g   i m p l e m e n t a t i o n s   w i l l   c h a n g e   t h i s   s e t t i n g   ( i f   n e e d e d ) ,   b u t   s o m e   m i g h t   e x p e c t   t h e   a d m i n i s t r a t o r   t o   d o   i t   f o r   t h e m .   ( S o m e   m i g h t   a l s o   e x p e c t   o t h e r   s y s c t l   p a r a m e t e r s   t o   b e   s e t ,   k e r n e l   m o d u l e s   t o   b e   l o a d e d ,   e t c ;   c o n s u l t   t h e   d o c u m e n t a t i o n   f o r   y o u r   s p e c i f i c   n e t w o r k   i m p l e m e n t a t i o n . )",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes/",
    "id": "k8s_00233_section_3_4442"
  },
  {
    "question": "What is Enable IPv4 packet forwarding?",
    "answer": "T o   m a n u a l l y   e n a b l e   I P v 4   p a c k e t   f o r w a r d i n g :   #   s y s c t l   p a r a m s   r e q u i r e d   b y   s e t u p ,   p a r a m s   p e r s i s t   a c r o s s   r e b o o t s   c a t   < < E O F   |   s u d o   t e e   / e t c / s y s c t l . d / k 8 s . c o n f   n e t . i p v 4 . i p _ f o r w a r d   =   1   E O F   #   A p p l y   s y s c t l   p a r a m s   w i t h o u t   r e b o o t   s u d o   s y s c t l   - - s y s t e m   V e r i f y   t h a t   n e t . i p v 4 . i p _ f o r w a r d   i s   s e t   t o   1   w i t h :   s y s c t l   n e t . i p v 4 . i p _ f o r w a r d",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes/",
    "id": "k8s_00233_section_3_4443"
  },
  {
    "question": "What is cgroup drivers?",
    "answer": "O n   L i n u x ,   c o n t r o l   g r o u p s   a r e   u s e d   t o   c o n s t r a i n   r e s o u r c e s   t h a t   a r e   a l l o c a t e d   t o   p r o c e s s e s .   B o t h   t h e   k u b e l e t   a n d   t h e   u n d e r l y i n g   c o n t a i n e r   r u n t i m e   n e e d   t o   i n t e r f a c e   w i t h   c o n t r o l   g r o u p s   t o   e n f o r c e   r e s o u r c e   m a n a g e m e n t   f o r   p o d s   a n d   c o n t a i n e r s   a n d   s e t   r e s o u r c e s   s u c h   a s   c p u / m e m o r y   r e q u e s t s   a n d   l i m i t s .   T o   i n t e r f a c e   w i t h   c o n t r o l   g r o u p s ,   t h e   k u b e l e t   a n d   t h e   c o n t a i n e r   r u n t i m e   n e e d   t o   u s e   a   c g r o u p   d r i v e r .   I t ' s   c r i t i c a l   t h a t   t h e   k u b e l e t   a n d   t h e   c o n t a i n e r   r u n t i m e   u s e   t h e   s a m e   c g r o u p   d r i v e r   a n d   a r e   c o n f i g u r e d   t h e   s a m e .   T h e r e   a r e   t w o   c g r o u p   d r i v e r s   a v a i l a b l e :   c g r o u p f s s y s t e m d",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes/",
    "id": "k8s_00233_section_2_4444"
  },
  {
    "question": "What is cgroupfs driver?",
    "answer": "T h e   c g r o u p f s   d r i v e r   i s   t h e   d e f a u l t   c g r o u p   d r i v e r   i n   t h e   k u b e l e t .   W h e n   t h e   c g r o u p f s   d r i v e r   i s   u s e d ,   t h e   k u b e l e t   a n d   t h e   c o n t a i n e r   r u n t i m e   d i r e c t l y   i n t e r f a c e   w i t h   t h e   c g r o u p   f i l e s y s t e m   t o   c o n f i g u r e   c g r o u p s .   T h e   c g r o u p f s   d r i v e r   i s   n o t   r e c o m m e n d e d   w h e n   s y s t e m d   i s   t h e   i n i t   s y s t e m   b e c a u s e   s y s t e m d   e x p e c t s   a   s i n g l e   c g r o u p   m a n a g e r   o n   t h e   s y s t e m .   A d d i t i o n a l l y ,   i f   y o u   u s e   c g r o u p   v 2 ,   u s e   t h e   s y s t e m d   c g r o u p   d r i v e r   i n s t e a d   o f   c g r o u p f s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes/",
    "id": "k8s_00233_section_3_4445"
  },
  {
    "question": "What is systemd cgroup driver?",
    "answer": "W h e n   s y s t e m d   i s   c h o s e n   a s   t h e   i n i t   s y s t e m   f o r   a   L i n u x   d i s t r i b u t i o n ,   t h e   i n i t   p r o c e s s   g e n e r a t e s   a n d   c o n s u m e s   a   r o o t   c o n t r o l   g r o u p   ( c g r o u p )   a n d   a c t s   a s   a   c g r o u p   m a n a g e r .   s y s t e m d   h a s   a   t i g h t   i n t e g r a t i o n   w i t h   c g r o u p s   a n d   a l l o c a t e s   a   c g r o u p   p e r   s y s t e m d   u n i t .   A s   a   r e s u l t ,   i f   y o u   u s e   s y s t e m d   a s   t h e   i n i t   s y s t e m   w i t h   t h e   c g r o u p f s   d r i v e r ,   t h e   s y s t e m   g e t s   t w o   d i f f e r e n t   c g r o u p   m a n a g e r s .   T w o   c g r o u p   m a n a g e r s   r e s u l t   i n   t w o   v i e w s   o f   t h e   a v a i l a b l e   a n d   i n - u s e   r e s o u r c e s   i n   t h e   s y s t e m .   I n   s o m e   c a s e s ,   n o d e s   t h a t   a r e   c o n f i g u r e d   t o   u s e   c g r o u p f s   f o r   t h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e ,   b u t   u s e   s y s t e m d   f o r   t h e   r e s t   o f   t h e   p r o c e s s e s   b e c o m e   u n s t a b l e   u n d e r   r e s o u r c e   p r e s s u r e .   T h e   a p p r o a c h   t o   m i t i g a t e   t h i s   i n s t a b i l i t y   i s   t o   u s e   s y s t e m d   a s   t h e   c g r o u p   d r i v e r   f o r   t h e   k u b e l e t   a n d   t h e   c o n t a i n e r   r u n t i m e   w h e n   s y s t e m d   i s   t h e   s e l e c t e d   i n i t   s y s t e m .   T o   s e t   s y s t e m d   a s   t h e   c g r o u p   d r i v e r ,   e d i t   t h e   K u b e l e t C o n f i g u r a t i o n   o p t i o n   o f   c g r o u p D r i v e r   a n d   s e t   i t   t o   s y s t e m d .   F o r   e x a m p l e :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes/",
    "id": "k8s_00233_section_3_4446"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   c o n f i g u r e   s y s t e m d   a s   t h e   c g r o u p   d r i v e r   f o r   t h e   k u b e l e t ,   y o u   m u s t   a l s o   c o n f i g u r e   s y s t e m d   a s   t h e   c g r o u p   d r i v e r   f o r   t h e   c o n t a i n e r   r u n t i m e .   R e f e r   t o   t h e   d o c u m e n t a t i o n   f o r   y o u r   c o n t a i n e r   r u n t i m e   f o r   i n s t r u c t i o n s .   F o r   e x a m p l e :   c o n t a i n e r d C R I - O   I n   K u b e r n e t e s   1 . 3 4 ,   w i t h   t h e   K u b e l e t C g r o u p D r i v e r F r o m C R I   f e a t u r e   g a t e   e n a b l e d   a n d   a   c o n t a i n e r   r u n t i m e   t h a t   s u p p o r t s   t h e   R u n t i m e C o n f i g   C R I   R P C ,   t h e   k u b e l e t   a u t o m a t i c a l l y   d e t e c t s   t h e   a p p r o p r i a t e   c g r o u p   d r i v e r   f r o m   t h e   r u n t i m e ,   a n d   i g n o r e s   t h e   c g r o u p D r i v e r   s e t t i n g   w i t h i n   t h e   k u b e l e t   c o n f i g u r a t i o n .   H o w e v e r ,   o l d e r   v e r s i o n s   o f   c o n t a i n e r   r u n t i m e s   ( s p e c i f i c a l l y ,   c o n t a i n e r d   1 . y   a n d   b e l o w )   d o   n o t   s u p p o r t   t h e   R u n t i m e C o n f i g   C R I   R P C ,   a n d   m a y   n o t   r e s p o n d   c o r r e c t l y   t o   t h i s   q u e r y ,   a n d   t h u s   t h e   K u b e l e t   f a l l s   b a c k   t o   u s i n g   t h e   v a l u e   i n   i t s   o w n   - - c g r o u p - d r i v e r   f l a g .   I n   K u b e r n e t e s   1 . 3 6 ,   t h i s   f a l l b a c k   b e h a v i o r   w i l l   b e   d r o p p e d ,   a n d   o l d e r   v e r s i o n s   o f   c o n t a i n e r d   w i l l   f a i l   w i t h   n e w e r   k u b e l e t s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes/",
    "id": "k8s_00233_section_4_4447"
  },
  {
    "question": "What is Caution:?",
    "answer": "C h a n g i n g   t h e   c g r o u p   d r i v e r   o f   a   N o d e   t h a t   h a s   j o i n e d   a   c l u s t e r   i s   a   s e n s i t i v e   o p e r a t i o n .   I f   t h e   k u b e l e t   h a s   c r e a t e d   P o d s   u s i n g   t h e   s e m a n t i c s   o f   o n e   c g r o u p   d r i v e r ,   c h a n g i n g   t h e   c o n t a i n e r   r u n t i m e   t o   a n o t h e r   c g r o u p   d r i v e r   c a n   c a u s e   e r r o r s   w h e n   t r y i n g   t o   r e - c r e a t e   t h e   P o d   s a n d b o x   f o r   s u c h   e x i s t i n g   P o d s .   R e s t a r t i n g   t h e   k u b e l e t   m a y   n o t   s o l v e   s u c h   e r r o r s .   I f   y o u   h a v e   a u t o m a t i o n   t h a t   m a k e s   i t   f e a s i b l e ,   r e p l a c e   t h e   n o d e   w i t h   a n o t h e r   u s i n g   t h e   u p d a t e d   c o n f i g u r a t i o n ,   o r   r e i n s t a l l   i t   u s i n g   a u t o m a t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes/",
    "id": "k8s_00233_section_4_4448"
  },
  {
    "question": "What is Migrating to the systemd driver in kubeadm managed clusters?",
    "answer": "I f   y o u   w i s h   t o   m i g r a t e   t o   t h e   s y s t e m d   c g r o u p   d r i v e r   i n   e x i s t i n g   k u b e a d m   m a n a g e d   c l u s t e r s ,   f o l l o w   c o n f i g u r i n g   a   c g r o u p   d r i v e r .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes/",
    "id": "k8s_00233_section_3_4449"
  },
  {
    "question": "What is CRI version support?",
    "answer": "Y o u r   c o n t a i n e r   r u n t i m e   m u s t   s u p p o r t   a t   l e a s t   v 1 a l p h a 2   o f   t h e   c o n t a i n e r   r u n t i m e   i n t e r f a c e .   K u b e r n e t e s   s t a r t i n g   v 1 . 2 6   o n l y   w o r k s   w i t h   v 1   o f   t h e   C R I   A P I .   E a r l i e r   v e r s i o n s   d e f a u l t   t o   v 1   v e r s i o n ,   h o w e v e r   i f   a   c o n t a i n e r   r u n t i m e   d o e s   n o t   s u p p o r t   t h e   v 1   A P I ,   t h e   k u b e l e t   f a l l s   b a c k   t o   u s i n g   t h e   ( d e p r e c a t e d )   v 1 a l p h a 2   A P I   i n s t e a d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes/",
    "id": "k8s_00233_section_2_4450"
  },
  {
    "question": "What is containerd?",
    "answer": "T h i s   s e c t i o n   o u t l i n e s   t h e   n e c e s s a r y   s t e p s   t o   u s e   c o n t a i n e r d   a s   C R I   r u n t i m e .   T o   i n s t a l l   c o n t a i n e r d   o n   y o u r   s y s t e m ,   f o l l o w   t h e   i n s t r u c t i o n s   o n   g e t t i n g   s t a r t e d   w i t h   c o n t a i n e r d .   R e t u r n   t o   t h i s   s t e p   o n c e   y o u ' v e   c r e a t e d   a   v a l i d   c o n f i g . t o m l   c o n f i g u r a t i o n   f i l e .   Y o u   c a n   f i n d   t h i s   f i l e   u n d e r   t h e   p a t h   / e t c / c o n t a i n e r d / c o n f i g . t o m l .   Y o u   c a n   f i n d   t h i s   f i l e   u n d e r   t h e   p a t h   / e t c / c o n t a i n e r d / c o n f i g . t o m l .   Y o u   c a n   f i n d   t h i s   f i l e   u n d e r   t h e   p a t h   C : \\ P r o g r a m   F i l e s \\ c o n t a i n e r d \\ c o n f i g . t o m l .   Y o u   c a n   f i n d   t h i s   f i l e   u n d e r   t h e   p a t h   C : \\ P r o g r a m   F i l e s \\ c o n t a i n e r d \\ c o n f i g . t o m l .   O n   L i n u x   t h e   d e f a u l t   C R I   s o c k e t   f o r   c o n t a i n e r d   i s   / r u n / c o n t a i n e r d / c o n t a i n e r d . s o c k .   O n   W i n d o w s   t h e   d e f a u l t   C R I   e n d p o i n t   i s   n p i p e : / / . / p i p e / c o n t a i n e r d - c o n t a i n e r d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes/",
    "id": "k8s_00233_section_3_4451"
  },
  {
    "question": "What is Configuring the systemd cgroup driver?",
    "answer": "T o   u s e   t h e   s y s t e m d   c g r o u p   d r i v e r   i n   / e t c / c o n t a i n e r d / c o n f i g . t o m l   w i t h   r u n c ,   s e t   t h e   f o l l o w i n g   c o n f i g   b a s e d   o n   y o u r   C o n t a i n e r d   v e r s i o n   C o n t a i n e r d   v e r s i o n s   1 . x :   [ p l u g i n s . \" i o . c o n t a i n e r d . g r p c . v 1 . c r i \" . c o n t a i n e r d . r u n t i m e s . r u n c ]   . . .   [ p l u g i n s . \" i o . c o n t a i n e r d . g r p c . v 1 . c r i \" . c o n t a i n e r d . r u n t i m e s . r u n c . o p t i o n s ]   S y s t e m d C g r o u p   =   t r u e   C o n t a i n e r d   v e r s i o n s   2 . x :   [ p l u g i n s . ' i o . c o n t a i n e r d . c r i . v 1 . r u n t i m e ' . c o n t a i n e r d . r u n t i m e s . r u n c ]   . . .   [ p l u g i n s . ' i o . c o n t a i n e r d . c r i . v 1 . r u n t i m e ' . c o n t a i n e r d . r u n t i m e s . r u n c . o p t i o n s ]   S y s t e m d C g r o u p   =   t r u e   T h e   s y s t e m d   c g r o u p   d r i v e r   i s   r e c o m m e n d e d   i f   y o u   u s e   c g r o u p   v 2 .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes/",
    "id": "k8s_00233_section_4_4452"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   i n s t a l l e d   c o n t a i n e r d   f r o m   a   p a c k a g e   ( f o r   e x a m p l e ,   R P M   o r   . d e b ) ,   y o u   m a y   f i n d   t h a t   t h e   C R I   i n t e g r a t i o n   p l u g i n   i s   d i s a b l e d   b y   d e f a u l t .   Y o u   n e e d   C R I   s u p p o r t   e n a b l e d   t o   u s e   c o n t a i n e r d   w i t h   K u b e r n e t e s .   M a k e   s u r e   t h a t   c r i   i s   n o t   i n c l u d e d   i n   t h e d i s a b l e d _ p l u g i n s   l i s t   w i t h i n   / e t c / c o n t a i n e r d / c o n f i g . t o m l ;   i f   y o u   m a d e   c h a n g e s   t o   t h a t   f i l e ,   a l s o   r e s t a r t   c o n t a i n e r d .   I f   y o u   e x p e r i e n c e   c o n t a i n e r   c r a s h   l o o p s   a f t e r   t h e   i n i t i a l   c l u s t e r   i n s t a l l a t i o n   o r   a f t e r   i n s t a l l i n g   a   C N I ,   t h e   c o n t a i n e r d   c o n f i g u r a t i o n   p r o v i d e d   w i t h   t h e   p a c k a g e   m i g h t   c o n t a i n   i n c o m p a t i b l e   c o n f i g u r a t i o n   p a r a m e t e r s .   C o n s i d e r   r e s e t t i n g   t h e   c o n t a i n e r d   c o n f i g u r a t i o n   w i t h   c o n t a i n e r d   c o n f i g   d e f a u l t   >   / e t c / c o n t a i n e r d / c o n f i g . t o m l   a s   s p e c i f i e d   i n   g e t t i n g - s t a r t e d . m d   a n d   t h e n   s e t   t h e   c o n f i g u r a t i o n   p a r a m e t e r s   s p e c i f i e d   a b o v e   a c c o r d i n g l y .   I f   y o u   a p p l y   t h i s   c h a n g e ,   m a k e   s u r e   t o   r e s t a r t   c o n t a i n e r d :   s u d o   s y s t e m c t l   r e s t a r t   c o n t a i n e r d   W h e n   u s i n g   k u b e a d m ,   m a n u a l l y   c o n f i g u r e   t h e   c g r o u p   d r i v e r   f o r   k u b e l e t .   I n   K u b e r n e t e s   v 1 . 2 8 ,   y o u   c a n   e n a b l e   a u t o m a t i c   ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes/",
    "id": "k8s_00233_section_4_4453"
  },
  {
    "question": "What is Overriding the sandbox (pause) image?",
    "answer": "I n   y o u r   c o n t a i n e r d   c o n f i g   y o u   c a n   o v e r w r i t e   t h e   s a n d b o x   i m a g e   b y   s e t t i n g   t h e   f o l l o w i n g   c o n f i g :   [ p l u g i n s . \" i o . c o n t a i n e r d . g r p c . v 1 . c r i \" ]   s a n d b o x _ i m a g e   =   \" r e g i s t r y . k 8 s . i o / p a u s e : 3 . 1 0 \"   Y o u   m i g h t   n e e d   t o   r e s t a r t   c o n t a i n e r d   a s   w e l l   o n c e   y o u ' v e   u p d a t e d   t h e   c o n f i g   f i l e :   s y s t e m c t l   r e s t a r t   c o n t a i n e r d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes/",
    "id": "k8s_00233_section_4_4454"
  },
  {
    "question": "What is CRI-O?",
    "answer": "T h i s   s e c t i o n   c o n t a i n s   t h e   n e c e s s a r y   s t e p s   t o   i n s t a l l   C R I - O   a s   a   c o n t a i n e r   r u n t i m e .   T o   i n s t a l l   C R I - O ,   f o l l o w   C R I - O   I n s t a l l   I n s t r u c t i o n s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes/",
    "id": "k8s_00233_section_3_4455"
  },
  {
    "question": "What is cgroup driver?",
    "answer": "C R I - O   u s e s   t h e   s y s t e m d   c g r o u p   d r i v e r   p e r   d e f a u l t ,   w h i c h   i s   l i k e l y   t o   w o r k   f i n e   f o r   y o u .   T o   s w i t c h   t o   t h e   c g r o u p f s   c g r o u p   d r i v e r ,   e i t h e r   e d i t   / e t c / c r i o / c r i o . c o n f   o r   p l a c e   a   d r o p - i n   c o n f i g u r a t i o n   i n   / e t c / c r i o / c r i o . c o n f . d / 0 2 - c g r o u p - m a n a g e r . c o n f ,   f o r   e x a m p l e :   [ c r i o . r u n t i m e ]   c o n m o n _ c g r o u p   =   \" p o d \"   c g r o u p _ m a n a g e r   =   \" c g r o u p f s \"   Y o u   s h o u l d   a l s o   n o t e   t h e   c h a n g e d   c o n m o n _ c g r o u p ,   w h i c h   h a s   t o   b e   s e t   t o   t h e   v a l u e   p o d   w h e n   u s i n g   C R I - O   w i t h   c g r o u p f s .   I t   i s   g e n e r a l l y   n e c e s s a r y   t o   k e e p   t h e   c g r o u p   d r i v e r   c o n f i g u r a t i o n   o f   t h e   k u b e l e t   ( u s u a l l y   d o n e   v i a   k u b e a d m )   a n d   C R I - O   i n   s y n c .   I n   K u b e r n e t e s   v 1 . 2 8 ,   y o u   c a n   e n a b l e   a u t o m a t i c   d e t e c t i o n   o f   t h e   c g r o u p   d r i v e r   a s   a n   a l p h a   f e a t u r e .   S e e   s y s t e m d   c g r o u p   d r i v e r   f o r   m o r e   d e t a i l s .   F o r   C R I - O ,   t h e   C R I   s o c k e t   i s   / v a r / r u n / c r i o / c r i o . s o c k   b y   d e f a u l t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes/",
    "id": "k8s_00233_section_4_4456"
  },
  {
    "question": "What is Overriding the sandbox (pause) image?",
    "answer": "I n   y o u r   C R I - O   c o n f i g   y o u   c a n   s e t   t h e   f o l l o w i n g   c o n f i g   v a l u e :   [ c r i o . i m a g e ]   p a u s e _ i m a g e = \" r e g i s t r y . k 8 s . i o / p a u s e : 3 . 1 0 \"   T h i s   c o n f i g   o p t i o n   s u p p o r t s   l i v e   c o n f i g u r a t i o n   r e l o a d   t o   a p p l y   t h i s   c h a n g e :   s y s t e m c t l   r e l o a d   c r i o   o r   b y   s e n d i n g   S I G H U P   t o   t h e   c r i o   p r o c e s s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes/",
    "id": "k8s_00233_section_4_4457"
  },
  {
    "question": "What is Note:?",
    "answer": "O n   e a c h   o f   y o u r   n o d e s ,   i n s t a l l   D o c k e r   f o r   y o u r   L i n u x   d i s t r i b u t i o n   a s   p e r   I n s t a l l   D o c k e r   E n g i n e . I n s t a l l   c r i - d o c k e r d ,   f o l l o w i n g   t h e   d i r e c t i o n s   i n   t h e   i n s t a l l   s e c t i o n   o f   t h e   d o c u m e n t a t i o n .   O n   e a c h   o f   y o u r   n o d e s ,   i n s t a l l   D o c k e r   f o r   y o u r   L i n u x   d i s t r i b u t i o n   a s   p e r   I n s t a l l   D o c k e r   E n g i n e .   I n s t a l l   c r i - d o c k e r d ,   f o l l o w i n g   t h e   d i r e c t i o n s   i n   t h e   i n s t a l l   s e c t i o n   o f   t h e   d o c u m e n t a t i o n .   F o r   c r i - d o c k e r d ,   t h e   C R I   s o c k e t   i s   / r u n / c r i - d o c k e r d . s o c k   b y   d e f a u l t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes/",
    "id": "k8s_00233_section_4_4458"
  },
  {
    "question": "What is Mirantis Container Runtime?",
    "answer": "M i r a n t i s   C o n t a i n e r   R u n t i m e   ( M C R )   i s   a   c o m m e r c i a l l y   a v a i l a b l e   c o n t a i n e r   r u n t i m e   t h a t   w a s   f o r m e r l y   k n o w n   a s   D o c k e r   E n t e r p r i s e   E d i t i o n .   Y o u   c a n   u s e   M i r a n t i s   C o n t a i n e r   R u n t i m e   w i t h   K u b e r n e t e s   u s i n g   t h e   o p e n   s o u r c e   c r i - d o c k e r d   c o m p o n e n t ,   i n c l u d e d   w i t h   M C R .   T o   l e a r n   m o r e   a b o u t   h o w   t o   i n s t a l l   M i r a n t i s   C o n t a i n e r   R u n t i m e ,   v i s i t   M C R   D e p l o y m e n t   G u i d e .   C h e c k   t h e   s y s t e m d   u n i t   n a m e d   c r i - d o c k e r . s o c k e t   t o   f i n d   o u t   t h e   p a t h   t o   t h e   C R I   s o c k e t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes/",
    "id": "k8s_00233_section_3_4459"
  },
  {
    "question": "What is Overriding the sandbox (pause) image?",
    "answer": "T h e   c r i - d o c k e r d   a d a p t e r   a c c e p t s   a   c o m m a n d   l i n e   a r g u m e n t   f o r   s p e c i f y i n g   w h i c h   c o n t a i n e r   i m a g e   t o   u s e   a s   t h e   P o d   i n f r a s t r u c t u r e   c o n t a i n e r   ( “ p a u s e   i m a g e ” ) .   T h e   c o m m a n d   l i n e   a r g u m e n t   t o   u s e   i s   - - p o d - i n f r a - c o n t a i n e r - i m a g e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes/",
    "id": "k8s_00233_section_4_4460"
  },
  {
    "question": "What is What's next?",
    "answer": "A s   w e l l   a s   a   c o n t a i n e r   r u n t i m e ,   y o u r   c l u s t e r   w i l l   n e e d   a   w o r k i n g   n e t w o r k   p l u g i n .   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes/",
    "id": "k8s_00233_section_2_4461"
  },
  {
    "question": "What is Volume Snapshot Classes?",
    "answer": "Volume Snapshot ClassesThis document describes the concept of VolumeSnapshotClass in Kubernetes. Familiarity with volume snapshots and storage classes is suggested.IntroductionJust like StorageClass provides a way for administrators to describe the \"classes\" of storage they offer when provisioning a volume, VolumeSnapshotClass provides a way to describe the \"classes\" of storage when provisioning a volume snapshot.The VolumeSnapshotClass ResourceEach VolumeSnapshotClass contains the fields driver, deletionPolicy, and parameters, which are used when a VolumeSnapshot belonging to the class needs to be dynamically provisioned.The name of a VolumeSnapshotClass object is significant, and is how users can request a particular class. Administrators set the name and other parameters of a class when first creating VolumeSnapshotClass objects, and the objects cannot be updated once they are created.Note:Installation of the CRDs is the responsibility of the Kubernetes distribution. Without the required CRDs present, the creation of a VolumeSnapshotClass fails.apiVersion: snapshot.storage.k8s.io/v1 kind: VolumeSnapshotClass metadata: name: csi-hostpath-snapclass driver: hostpath.csi.k8s.io deletionPolicy: Delete parameters: Administrators can specify a default VolumeSnapshotClass for VolumeSnapshots that don't request any particular class to bind to by adding the snapshot.storage.kubernetes.io/is-default-class: \"true\" annotation:apiVersion: snapshot.storage.k8s.io/v1 kind: VolumeSnapshotClass metadata: name: csi-hostpath-snapclass annotations: snapshot.storage.kubernetes.io/is-default-class: \"true\" driver: hostpath.csi.k8s.io deletionPolicy: Delete parameters: If multiple CSI drivers exist, a default VolumeSnapshotClass can be specified for each of them.VolumeSnapshotClass dependenciesWhen you create a VolumeSnapshot without specifying a VolumeSnapshotClass, Kubernetes automatically selects a default VolumeSnapshotClass that has a CSI driver matching the CSI driver of the PVC’s StorageClass.This behavior allows multiple default VolumeSnapshotClass objects to coexist in a cluster, as long as each one is associated with a unique CSI driver.Always ensure that there is only one default VolumeSnapshotClass for each CSI driver. If multiple default VolumeSnapshotClass objects are created using the same CSI driver, a VolumeSnapshot creation will fail because Kubernetes cannot determine which one to use.DriverVolume snapshot classes have a driver that determines what CSI volume plugin is used for provisioning VolumeSnapshots. This field must be specified.DeletionPolicyVolume snapshot classes have a deletionPolicy. It enables you to configure what happens to a VolumeSnapshotContent when the VolumeSnapshot object it is bound to is to be deleted. The deletionPolicy of a volume snapshot class can either be Retain or Delete. This field must be specified.If the deletionPolicy is Delete, then the underlying storage snapshot will be deleted along with the VolumeSnapshotConten",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshot-classes/",
    "id": "k8s_00234_qa_4462"
  },
  {
    "question": "How does Volume Snapshot Classes work?",
    "answer": "Volume Snapshot ClassesThis document describes the concept of VolumeSnapshotClass in Kubernetes. Familiarity with volume snapshots and storage classes is suggested.IntroductionJust like StorageClass provides a way for administrators to describe the \"classes\" of storage they offer when provisioning a volume, VolumeSnapshotClass provides a way to describe the \"classes\" of storage when provisioning a volume snapshot.The VolumeSnapshotClass ResourceEach VolumeSnapshotClass contains the fields driver, deletionPolicy, and parameters, which are used when a VolumeSnapshot belonging to the class needs to be dynamically provisioned.The name of a VolumeSnapshotClass object is significant, and is how users can request a particular class. Administrators set the name and other parameters of a class when first creating VolumeSnapshotClass objects, and the objects cannot be updated once they are created.Note:Installation of the CRDs is the responsibility of the Kubernetes distribution. Without the required CRDs present, the creation of a VolumeSnapshotClass fails.apiVersion: snapshot.storage.k8s.io/v1 kind: VolumeSnapshotClass metadata: name: csi-hostpath-snapclass driver: hostpath.csi.k8s.io deletionPolicy: Delete parameters: Administrators can specify a default VolumeSnapshotClass for VolumeSnapshots that don't request any particular class to bind to by adding the snapshot.storage.kubernetes.io/is-default-class: \"true\" annotation:apiVersion: snapshot.storage.k8s.io/v1 kind: VolumeSnapshotClass metadata: name: csi-hostpath-snapclass annotations: snapshot.storage.kubernetes.io/is-default-class: \"true\" driver: hostpath.csi.k8s.io deletionPolicy: Delete parameters: If multiple CSI drivers exist, a default VolumeSnapshotClass can be specified for each of them.VolumeSnapshotClass dependenciesWhen you create a VolumeSnapshot without specifying a VolumeSnapshotClass, Kubernetes automatically selects a default VolumeSnapshotClass that has a CSI driver matching the CSI driver of the PVC’s StorageClass.This behavior allows multiple default VolumeSnapshotClass objects to coexist in a cluster, as long as each one is associated with a unique CSI driver.Always ensure that there is only one default VolumeSnapshotClass for each CSI driver. If multiple default VolumeSnapshotClass objects are created using the same CSI driver, a VolumeSnapshot creation will fail because Kubernetes cannot determine which one to use.DriverVolume snapshot classes have a driver that determines what CSI volume plugin is used for provisioning VolumeSnapshots. This field must be specified.DeletionPolicyVolume snapshot classes have a deletionPolicy. It enables you to configure what happens to a VolumeSnapshotContent when the VolumeSnapshot object it is bound to is to be deleted. The deletionPolicy of a volume snapshot class can either be Retain or Delete. This field must be specified.If the deletionPolicy is Delete, then the underlying storage snapshot will be deleted along with the VolumeSnapshotConten",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshot-classes/",
    "id": "k8s_00234_qa_4463"
  },
  {
    "question": "When would you use Volume Snapshot Classes?",
    "answer": "Volume Snapshot ClassesThis document describes the concept of VolumeSnapshotClass in Kubernetes. Familiarity with volume snapshots and storage classes is suggested.IntroductionJust like StorageClass provides a way for administrators to describe the \"classes\" of storage they offer when provisioning a volume, VolumeSnapshotClass provides a way to describe the \"classes\" of storage when provisioning a volume snapshot.The VolumeSnapshotClass ResourceEach VolumeSnapshotClass contains the fields driver, deletionPolicy, and parameters, which are used when a VolumeSnapshot belonging to the class needs to be dynamically provisioned.The name of a VolumeSnapshotClass object is significant, and is how users can request a particular class. Administrators set the name and other parameters of a class when first creating VolumeSnapshotClass objects, and the objects cannot be updated once they are created.Note:Installation of the CRDs is the responsibility of the Kubernetes distribution. Without the required CRDs present, the creation of a VolumeSnapshotClass fails.apiVersion: snapshot.storage.k8s.io/v1 kind: VolumeSnapshotClass metadata: name: csi-hostpath-snapclass driver: hostpath.csi.k8s.io deletionPolicy: Delete parameters: Administrators can specify a default VolumeSnapshotClass for VolumeSnapshots that don't request any particular class to bind to by adding the snapshot.storage.kubernetes.io/is-default-class: \"true\" annotation:apiVersion: snapshot.storage.k8s.io/v1 kind: VolumeSnapshotClass metadata: name: csi-hostpath-snapclass annotations: snapshot.storage.kubernetes.io/is-default-class: \"true\" driver: hostpath.csi.k8s.io deletionPolicy: Delete parameters: If multiple CSI drivers exist, a default VolumeSnapshotClass can be specified for each of them.VolumeSnapshotClass dependenciesWhen you create a VolumeSnapshot without specifying a VolumeSnapshotClass, Kubernetes automatically selects a default VolumeSnapshotClass that has a CSI driver matching the CSI driver of the PVC’s StorageClass.This behavior allows multiple default VolumeSnapshotClass objects to coexist in a cluster, as long as each one is associated with a unique CSI driver.Always ensure that there is only one default VolumeSnapshotClass for each CSI driver. If multiple default VolumeSnapshotClass objects are created using the same CSI driver, a VolumeSnapshot creation will fail because Kubernetes cannot determine which one to use.DriverVolume snapshot classes have a driver that determines what CSI volume plugin is used for provisioning VolumeSnapshots. This field must be specified.DeletionPolicyVolume snapshot classes have a deletionPolicy. It enables you to configure what happens to a VolumeSnapshotContent when the VolumeSnapshot object it is bound to is to be deleted. The deletionPolicy of a volume snapshot class can either be Retain or Delete. This field must be specified.If the deletionPolicy is Delete, then the underlying storage snapshot will be deleted along with the VolumeSnapshotConten",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshot-classes/",
    "id": "k8s_00234_qa_4464"
  },
  {
    "question": "What are the benefits of Volume Snapshot Classes?",
    "answer": "Volume Snapshot ClassesThis document describes the concept of VolumeSnapshotClass in Kubernetes. Familiarity with volume snapshots and storage classes is suggested.IntroductionJust like StorageClass provides a way for administrators to describe the \"classes\" of storage they offer when provisioning a volume, VolumeSnapshotClass provides a way to describe the \"classes\" of storage when provisioning a volume snapshot.The VolumeSnapshotClass ResourceEach VolumeSnapshotClass contains the fields driver, deletionPolicy, and parameters, which are used when a VolumeSnapshot belonging to the class needs to be dynamically provisioned.The name of a VolumeSnapshotClass object is significant, and is how users can request a particular class. Administrators set the name and other parameters of a class when first creating VolumeSnapshotClass objects, and the objects cannot be updated once they are created.Note:Installation of the CRDs is the responsibility of the Kubernetes distribution. Without the required CRDs present, the creation of a VolumeSnapshotClass fails.apiVersion: snapshot.storage.k8s.io/v1 kind: VolumeSnapshotClass metadata: name: csi-hostpath-snapclass driver: hostpath.csi.k8s.io deletionPolicy: Delete parameters: Administrators can specify a default VolumeSnapshotClass for VolumeSnapshots that don't request any particular class to bind to by adding the snapshot.storage.kubernetes.io/is-default-class: \"true\" annotation:apiVersion: snapshot.storage.k8s.io/v1 kind: VolumeSnapshotClass metadata: name: csi-hostpath-snapclass annotations: snapshot.storage.kubernetes.io/is-default-class: \"true\" driver: hostpath.csi.k8s.io deletionPolicy: Delete parameters: If multiple CSI drivers exist, a default VolumeSnapshotClass can be specified for each of them.VolumeSnapshotClass dependenciesWhen you create a VolumeSnapshot without specifying a VolumeSnapshotClass, Kubernetes automatically selects a default VolumeSnapshotClass that has a CSI driver matching the CSI driver of the PVC’s StorageClass.This behavior allows multiple default VolumeSnapshotClass objects to coexist in a cluster, as long as each one is associated with a unique CSI driver.Always ensure that there is only one default VolumeSnapshotClass for each CSI driver. If multiple default VolumeSnapshotClass objects are created using the same CSI driver, a VolumeSnapshot creation will fail because Kubernetes cannot determine which one to use.DriverVolume snapshot classes have a driver that determines what CSI volume plugin is used for provisioning VolumeSnapshots. This field must be specified.DeletionPolicyVolume snapshot classes have a deletionPolicy. It enables you to configure what happens to a VolumeSnapshotContent when the VolumeSnapshot object it is bound to is to be deleted. The deletionPolicy of a volume snapshot class can either be Retain or Delete. This field must be specified.If the deletionPolicy is Delete, then the underlying storage snapshot will be deleted along with the VolumeSnapshotConten",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshot-classes/",
    "id": "k8s_00234_qa_4465"
  },
  {
    "question": "What is Volume Snapshot Classes?",
    "answer": "T h i s   d o c u m e n t   d e s c r i b e s   t h e   c o n c e p t   o f   V o l u m e S n a p s h o t C l a s s   i n   K u b e r n e t e s .   F a m i l i a r i t y   w i t h   v o l u m e   s n a p s h o t s   a n d   s t o r a g e   c l a s s e s   i s   s u g g e s t e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshot-classes/",
    "id": "k8s_00234_section_1_4466"
  },
  {
    "question": "What is Introduction?",
    "answer": "J u s t   l i k e   S t o r a g e C l a s s   p r o v i d e s   a   w a y   f o r   a d m i n i s t r a t o r s   t o   d e s c r i b e   t h e   \" c l a s s e s \"   o f   s t o r a g e   t h e y   o f f e r   w h e n   p r o v i s i o n i n g   a   v o l u m e ,   V o l u m e S n a p s h o t C l a s s   p r o v i d e s   a   w a y   t o   d e s c r i b e   t h e   \" c l a s s e s \"   o f   s t o r a g e   w h e n   p r o v i s i o n i n g   a   v o l u m e   s n a p s h o t .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshot-classes/",
    "id": "k8s_00234_section_2_4467"
  },
  {
    "question": "What is The VolumeSnapshotClass Resource?",
    "answer": "E a c h   V o l u m e S n a p s h o t C l a s s   c o n t a i n s   t h e   f i e l d s   d r i v e r ,   d e l e t i o n P o l i c y ,   a n d   p a r a m e t e r s ,   w h i c h   a r e   u s e d   w h e n   a   V o l u m e S n a p s h o t   b e l o n g i n g   t o   t h e   c l a s s   n e e d s   t o   b e   d y n a m i c a l l y   p r o v i s i o n e d .   T h e   n a m e   o f   a   V o l u m e S n a p s h o t C l a s s   o b j e c t   i s   s i g n i f i c a n t ,   a n d   i s   h o w   u s e r s   c a n   r e q u e s t   a   p a r t i c u l a r   c l a s s .   A d m i n i s t r a t o r s   s e t   t h e   n a m e   a n d   o t h e r   p a r a m e t e r s   o f   a   c l a s s   w h e n   f i r s t   c r e a t i n g   V o l u m e S n a p s h o t C l a s s   o b j e c t s ,   a n d   t h e   o b j e c t s   c a n n o t   b e   u p d a t e d   o n c e   t h e y   a r e   c r e a t e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshot-classes/",
    "id": "k8s_00234_section_2_4468"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i V e r s i o n :   s n a p s h o t . s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e S n a p s h o t C l a s s   m e t a d a t a :   n a m e :   c s i - h o s t p a t h - s n a p c l a s s   d r i v e r :   h o s t p a t h . c s i . k 8 s . i o   d e l e t i o n P o l i c y :   D e l e t e   p a r a m e t e r s :   A d m i n i s t r a t o r s   c a n   s p e c i f y   a   d e f a u l t   V o l u m e S n a p s h o t C l a s s   f o r   V o l u m e S n a p s h o t s   t h a t   d o n ' t   r e q u e s t   a n y   p a r t i c u l a r   c l a s s   t o   b i n d   t o   b y   a d d i n g   t h e   s n a p s h o t . s t o r a g e . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s :   \" t r u e \"   a n n o t a t i o n :   a p i V e r s i o n :   s n a p s h o t . s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e S n a p s h o t C l a s s   m e t a d a t a :   n a m e :   c s i - h o s t p a t h - s n a p c l a s s   a n n o t a t i o n s :   s n a p s h o t . s t o r a g e . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s :   \" t r u e \"   d r i v e r :   h o s t p a t h . c s i . k 8 s . i o   d e l e t i o n P o l i c y :   D e l e t e   p a r a m e t e r s :   I f   m u l t i p l e   C S I   d r i v e r s   e x i s t ,   a   d e f a u l t   V o l u m e S n a p s h o t C l a s s   c a n   b e   s p e c i f i e d   f o r   e a c h   o f   t h e m .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshot-classes/",
    "id": "k8s_00234_section_4_4469"
  },
  {
    "question": "What is VolumeSnapshotClass dependencies?",
    "answer": "W h e n   y o u   c r e a t e   a   V o l u m e S n a p s h o t   w i t h o u t   s p e c i f y i n g   a   V o l u m e S n a p s h o t C l a s s ,   K u b e r n e t e s   a u t o m a t i c a l l y   s e l e c t s   a   d e f a u l t   V o l u m e S n a p s h o t C l a s s   t h a t   h a s   a   C S I   d r i v e r   m a t c h i n g   t h e   C S I   d r i v e r   o f   t h e   P V C ’ s   S t o r a g e C l a s s .   T h i s   b e h a v i o r   a l l o w s   m u l t i p l e   d e f a u l t   V o l u m e S n a p s h o t C l a s s   o b j e c t s   t o   c o e x i s t   i n   a   c l u s t e r ,   a s   l o n g   a s   e a c h   o n e   i s   a s s o c i a t e d   w i t h   a   u n i q u e   C S I   d r i v e r .   A l w a y s   e n s u r e   t h a t   t h e r e   i s   o n l y   o n e   d e f a u l t   V o l u m e S n a p s h o t C l a s s   f o r   e a c h   C S I   d r i v e r .   I f   m u l t i p l e   d e f a u l t   V o l u m e S n a p s h o t C l a s s   o b j e c t s   a r e   c r e a t e d   u s i n g   t h e   s a m e   C S I   d r i v e r ,   a   V o l u m e S n a p s h o t   c r e a t i o n   w i l l   f a i l   b e c a u s e   K u b e r n e t e s   c a n n o t   d e t e r m i n e   w h i c h   o n e   t o   u s e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshot-classes/",
    "id": "k8s_00234_section_3_4470"
  },
  {
    "question": "What is Driver?",
    "answer": "V o l u m e   s n a p s h o t   c l a s s e s   h a v e   a   d r i v e r   t h a t   d e t e r m i n e s   w h a t   C S I   v o l u m e   p l u g i n   i s   u s e d   f o r   p r o v i s i o n i n g   V o l u m e S n a p s h o t s .   T h i s   f i e l d   m u s t   b e   s p e c i f i e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshot-classes/",
    "id": "k8s_00234_section_3_4471"
  },
  {
    "question": "What is DeletionPolicy?",
    "answer": "V o l u m e   s n a p s h o t   c l a s s e s   h a v e   a   d e l e t i o n P o l i c y .   I t   e n a b l e s   y o u   t o   c o n f i g u r e   w h a t   h a p p e n s   t o   a   V o l u m e S n a p s h o t C o n t e n t   w h e n   t h e   V o l u m e S n a p s h o t   o b j e c t   i t   i s   b o u n d   t o   i s   t o   b e   d e l e t e d .   T h e   d e l e t i o n P o l i c y   o f   a   v o l u m e   s n a p s h o t   c l a s s   c a n   e i t h e r   b e   R e t a i n   o r   D e l e t e .   T h i s   f i e l d   m u s t   b e   s p e c i f i e d .   I f   t h e   d e l e t i o n P o l i c y   i s   D e l e t e ,   t h e n   t h e   u n d e r l y i n g   s t o r a g e   s n a p s h o t   w i l l   b e   d e l e t e d   a l o n g   w i t h   t h e   V o l u m e S n a p s h o t C o n t e n t   o b j e c t .   I f   t h e   d e l e t i o n P o l i c y   i s   R e t a i n ,   t h e n   b o t h   t h e   u n d e r l y i n g   s n a p s h o t   a n d   V o l u m e S n a p s h o t C o n t e n t   r e m a i n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshot-classes/",
    "id": "k8s_00234_section_3_4472"
  },
  {
    "question": "What is Parameters?",
    "answer": "V o l u m e   s n a p s h o t   c l a s s e s   h a v e   p a r a m e t e r s   t h a t   d e s c r i b e   v o l u m e   s n a p s h o t s   b e l o n g i n g   t o   t h e   v o l u m e   s n a p s h o t   c l a s s .   D i f f e r e n t   p a r a m e t e r s   m a y   b e   a c c e p t e d   d e p e n d i n g   o n   t h e   d r i v e r .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshot-classes/",
    "id": "k8s_00234_section_2_4473"
  },
  {
    "question": "What is Securing a Cluster?",
    "answer": "Securing a ClusterThis document covers topics related to protecting a cluster from accidental or malicious access and provides recommendations on overall security.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Controlling access to the Kubernetes APIAs Kubernetes is entirely API-driven, controlling and limiting who can access the cluster and what actions they are allowed to perform is the first line of defense.Use Transport Layer Security (TLS) for all API trafficKubernetes expects that all API communication in the cluster is encrypted by default with TLS, and the majority of installation methods will allow the necessary certificates to be created and distributed to the cluster components. Note that some components and installation methods may enable local ports over HTTP and administrators should familiarize themselves with the settings of each component to identify potentially unsecured traffic.API AuthenticationChoose an authentication mechanism for the API servers to use that matches the common access patterns when you install a cluster. For instance, small, single-user clusters may wish to use a simple certificate or static Bearer token approach. Larger clusters may wish to integrate an existing OIDC or LDAP server that allow users to be subdivided into groups.All API clients must be authenticated, even those that are part of the infrastructure like nodes, proxies, the scheduler, and volume plugins. These clients are typically service accounts or use x509 client certificates, and they are created automatically at cluster startup or are setup as part of the cluster installation.Consult the authentication reference document for more information.API AuthorizationOnce authenticated, every API call is also expected to pass an authorization check. Kubernetes ships an integrated Role-Based Access Control (RBAC) component that matches an incoming user or group to a set of permissions bundled into roles. These permissions combine verbs (get, create, delete) with resources (pods, services, nodes) and can be namespace-scoped or cluster-scoped. A set of out-of-the-box roles are provided that offer reasonable default separation of responsibility depending on what actions a client might want to perform. It is recommended that you use the Node and RBAC authorizers together, in combination with the NodeRestriction admission plugin.As with authentication, simple and broad roles may be appropriate for smaller clusters, but as more users interact with the cluster, it may become necessary to separate teams into separate namespaces wi",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_qa_4474"
  },
  {
    "question": "How does Securing a Cluster work?",
    "answer": "Securing a ClusterThis document covers topics related to protecting a cluster from accidental or malicious access and provides recommendations on overall security.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Controlling access to the Kubernetes APIAs Kubernetes is entirely API-driven, controlling and limiting who can access the cluster and what actions they are allowed to perform is the first line of defense.Use Transport Layer Security (TLS) for all API trafficKubernetes expects that all API communication in the cluster is encrypted by default with TLS, and the majority of installation methods will allow the necessary certificates to be created and distributed to the cluster components. Note that some components and installation methods may enable local ports over HTTP and administrators should familiarize themselves with the settings of each component to identify potentially unsecured traffic.API AuthenticationChoose an authentication mechanism for the API servers to use that matches the common access patterns when you install a cluster. For instance, small, single-user clusters may wish to use a simple certificate or static Bearer token approach. Larger clusters may wish to integrate an existing OIDC or LDAP server that allow users to be subdivided into groups.All API clients must be authenticated, even those that are part of the infrastructure like nodes, proxies, the scheduler, and volume plugins. These clients are typically service accounts or use x509 client certificates, and they are created automatically at cluster startup or are setup as part of the cluster installation.Consult the authentication reference document for more information.API AuthorizationOnce authenticated, every API call is also expected to pass an authorization check. Kubernetes ships an integrated Role-Based Access Control (RBAC) component that matches an incoming user or group to a set of permissions bundled into roles. These permissions combine verbs (get, create, delete) with resources (pods, services, nodes) and can be namespace-scoped or cluster-scoped. A set of out-of-the-box roles are provided that offer reasonable default separation of responsibility depending on what actions a client might want to perform. It is recommended that you use the Node and RBAC authorizers together, in combination with the NodeRestriction admission plugin.As with authentication, simple and broad roles may be appropriate for smaller clusters, but as more users interact with the cluster, it may become necessary to separate teams into separate namespaces wi",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_qa_4475"
  },
  {
    "question": "When would you use Securing a Cluster?",
    "answer": "Securing a ClusterThis document covers topics related to protecting a cluster from accidental or malicious access and provides recommendations on overall security.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Controlling access to the Kubernetes APIAs Kubernetes is entirely API-driven, controlling and limiting who can access the cluster and what actions they are allowed to perform is the first line of defense.Use Transport Layer Security (TLS) for all API trafficKubernetes expects that all API communication in the cluster is encrypted by default with TLS, and the majority of installation methods will allow the necessary certificates to be created and distributed to the cluster components. Note that some components and installation methods may enable local ports over HTTP and administrators should familiarize themselves with the settings of each component to identify potentially unsecured traffic.API AuthenticationChoose an authentication mechanism for the API servers to use that matches the common access patterns when you install a cluster. For instance, small, single-user clusters may wish to use a simple certificate or static Bearer token approach. Larger clusters may wish to integrate an existing OIDC or LDAP server that allow users to be subdivided into groups.All API clients must be authenticated, even those that are part of the infrastructure like nodes, proxies, the scheduler, and volume plugins. These clients are typically service accounts or use x509 client certificates, and they are created automatically at cluster startup or are setup as part of the cluster installation.Consult the authentication reference document for more information.API AuthorizationOnce authenticated, every API call is also expected to pass an authorization check. Kubernetes ships an integrated Role-Based Access Control (RBAC) component that matches an incoming user or group to a set of permissions bundled into roles. These permissions combine verbs (get, create, delete) with resources (pods, services, nodes) and can be namespace-scoped or cluster-scoped. A set of out-of-the-box roles are provided that offer reasonable default separation of responsibility depending on what actions a client might want to perform. It is recommended that you use the Node and RBAC authorizers together, in combination with the NodeRestriction admission plugin.As with authentication, simple and broad roles may be appropriate for smaller clusters, but as more users interact with the cluster, it may become necessary to separate teams into separate namespaces wi",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_qa_4476"
  },
  {
    "question": "What are the benefits of Securing a Cluster?",
    "answer": "Securing a ClusterThis document covers topics related to protecting a cluster from accidental or malicious access and provides recommendations on overall security.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Controlling access to the Kubernetes APIAs Kubernetes is entirely API-driven, controlling and limiting who can access the cluster and what actions they are allowed to perform is the first line of defense.Use Transport Layer Security (TLS) for all API trafficKubernetes expects that all API communication in the cluster is encrypted by default with TLS, and the majority of installation methods will allow the necessary certificates to be created and distributed to the cluster components. Note that some components and installation methods may enable local ports over HTTP and administrators should familiarize themselves with the settings of each component to identify potentially unsecured traffic.API AuthenticationChoose an authentication mechanism for the API servers to use that matches the common access patterns when you install a cluster. For instance, small, single-user clusters may wish to use a simple certificate or static Bearer token approach. Larger clusters may wish to integrate an existing OIDC or LDAP server that allow users to be subdivided into groups.All API clients must be authenticated, even those that are part of the infrastructure like nodes, proxies, the scheduler, and volume plugins. These clients are typically service accounts or use x509 client certificates, and they are created automatically at cluster startup or are setup as part of the cluster installation.Consult the authentication reference document for more information.API AuthorizationOnce authenticated, every API call is also expected to pass an authorization check. Kubernetes ships an integrated Role-Based Access Control (RBAC) component that matches an incoming user or group to a set of permissions bundled into roles. These permissions combine verbs (get, create, delete) with resources (pods, services, nodes) and can be namespace-scoped or cluster-scoped. A set of out-of-the-box roles are provided that offer reasonable default separation of responsibility depending on what actions a client might want to perform. It is recommended that you use the Node and RBAC authorizers together, in combination with the NodeRestriction admission plugin.As with authentication, simple and broad roles may be appropriate for smaller clusters, but as more users interact with the cluster, it may become necessary to separate teams into separate namespaces wi",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_qa_4477"
  },
  {
    "question": "What is Securing a Cluster?",
    "answer": "T h i s   d o c u m e n t   c o v e r s   t o p i c s   r e l a t e d   t o   p r o t e c t i n g   a   c l u s t e r   f r o m   a c c i d e n t a l   o r   m a l i c i o u s   a c c e s s   a n d   p r o v i d e s   r e c o m m e n d a t i o n s   o n   o v e r a l l   s e c u r i t y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_section_1_4478"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_section_2_4479"
  },
  {
    "question": "What is Controlling access to the Kubernetes API?",
    "answer": "A s   K u b e r n e t e s   i s   e n t i r e l y   A P I - d r i v e n ,   c o n t r o l l i n g   a n d   l i m i t i n g   w h o   c a n   a c c e s s   t h e   c l u s t e r   a n d   w h a t   a c t i o n s   t h e y   a r e   a l l o w e d   t o   p e r f o r m   i s   t h e   f i r s t   l i n e   o f   d e f e n s e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_section_2_4480"
  },
  {
    "question": "What is Use Transport Layer Security (TLS) for all API traffic?",
    "answer": "K u b e r n e t e s   e x p e c t s   t h a t   a l l   A P I   c o m m u n i c a t i o n   i n   t h e   c l u s t e r   i s   e n c r y p t e d   b y   d e f a u l t   w i t h   T L S ,   a n d   t h e   m a j o r i t y   o f   i n s t a l l a t i o n   m e t h o d s   w i l l   a l l o w   t h e   n e c e s s a r y   c e r t i f i c a t e s   t o   b e   c r e a t e d   a n d   d i s t r i b u t e d   t o   t h e   c l u s t e r   c o m p o n e n t s .   N o t e   t h a t   s o m e   c o m p o n e n t s   a n d   i n s t a l l a t i o n   m e t h o d s   m a y   e n a b l e   l o c a l   p o r t s   o v e r   H T T P   a n d   a d m i n i s t r a t o r s   s h o u l d   f a m i l i a r i z e   t h e m s e l v e s   w i t h   t h e   s e t t i n g s   o f   e a c h   c o m p o n e n t   t o   i d e n t i f y   p o t e n t i a l l y   u n s e c u r e d   t r a f f i c .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_section_3_4481"
  },
  {
    "question": "What is API Authentication?",
    "answer": "C h o o s e   a n   a u t h e n t i c a t i o n   m e c h a n i s m   f o r   t h e   A P I   s e r v e r s   t o   u s e   t h a t   m a t c h e s   t h e   c o m m o n   a c c e s s   p a t t e r n s   w h e n   y o u   i n s t a l l   a   c l u s t e r .   F o r   i n s t a n c e ,   s m a l l ,   s i n g l e - u s e r   c l u s t e r s   m a y   w i s h   t o   u s e   a   s i m p l e   c e r t i f i c a t e   o r   s t a t i c   B e a r e r   t o k e n   a p p r o a c h .   L a r g e r   c l u s t e r s   m a y   w i s h   t o   i n t e g r a t e   a n   e x i s t i n g   O I D C   o r   L D A P   s e r v e r   t h a t   a l l o w   u s e r s   t o   b e   s u b d i v i d e d   i n t o   g r o u p s .   A l l   A P I   c l i e n t s   m u s t   b e   a u t h e n t i c a t e d ,   e v e n   t h o s e   t h a t   a r e   p a r t   o f   t h e   i n f r a s t r u c t u r e   l i k e   n o d e s ,   p r o x i e s ,   t h e   s c h e d u l e r ,   a n d   v o l u m e   p l u g i n s .   T h e s e   c l i e n t s   a r e   t y p i c a l l y   s e r v i c e   a c c o u n t s   o r   u s e   x 5 0 9   c l i e n t   c e r t i f i c a t e s ,   a n d   t h e y   a r e   c r e a t e d   a u t o m a t i c a l l y   a t   c l u s t e r   s t a r t u p   o r   a r e   s e t u p   a s   p a r t   o f   t h e   c l u s t e r   i n s t a l l a t i o n .   C o n s u l t   t h e   a u t h e n t i c a t i o n   r e f e r e n c e   d o c u m e n t   f o r   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_section_3_4482"
  },
  {
    "question": "What is API Authorization?",
    "answer": "O n c e   a u t h e n t i c a t e d ,   e v e r y   A P I   c a l l   i s   a l s o   e x p e c t e d   t o   p a s s   a n   a u t h o r i z a t i o n   c h e c k .   K u b e r n e t e s   s h i p s   a n   i n t e g r a t e d   R o l e - B a s e d   A c c e s s   C o n t r o l   ( R B A C )   c o m p o n e n t   t h a t   m a t c h e s   a n   i n c o m i n g   u s e r   o r   g r o u p   t o   a   s e t   o f   p e r m i s s i o n s   b u n d l e d   i n t o   r o l e s .   T h e s e   p e r m i s s i o n s   c o m b i n e   v e r b s   ( g e t ,   c r e a t e ,   d e l e t e )   w i t h   r e s o u r c e s   ( p o d s ,   s e r v i c e s ,   n o d e s )   a n d   c a n   b e   n a m e s p a c e - s c o p e d   o r   c l u s t e r - s c o p e d .   A   s e t   o f   o u t - o f - t h e - b o x   r o l e s   a r e   p r o v i d e d   t h a t   o f f e r   r e a s o n a b l e   d e f a u l t   s e p a r a t i o n   o f   r e s p o n s i b i l i t y   d e p e n d i n g   o n   w h a t   a c t i o n s   a   c l i e n t   m i g h t   w a n t   t o   p e r f o r m .   I t   i s   r e c o m m e n d e d   t h a t   y o u   u s e   t h e   N o d e   a n d   R B A C   a u t h o r i z e r s   t o g e t h e r ,   i n   c o m b i n a t i o n   w i t h   t h e   N o d e R e s t r i c t i o n   a d m i s s i o n   p l u g i n .   A s   w i t h   a u t h e n t i c a t i o n ,   s i m p l e   a n d   b r o a d   r o l e s   m a y   b e   a p p r o p r i a t e   f o r   s m a l l e r   c l u s t e r s ,   b u t   a s   m o r e   u s e r s   i n t e r a c t   w i t h   t h e   c l u s t e r ,   i t   m a y   b e c o m e   n e c e s s a r y   t o   s e p a r a t e   t e a m s   i n t o   s e p a r a t e   n a m e s p a c e s   w i t h   m o r e   l i m i t e d   r o l e s .   W i t h   a u t h o r i z a t i o n ,   i t   i s   i m p o r t a n t   t o   u n d e r s t a n d   h o w   u p d a t e s   o n   o n e   o b j e c t   m a y   c a u s e   a c t i o n s   i n   o t h e r   p l ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_section_3_4483"
  },
  {
    "question": "What is Controlling access to the Kubelet?",
    "answer": "K u b e l e t s   e x p o s e   H T T P S   e n d p o i n t s   w h i c h   g r a n t   p o w e r f u l   c o n t r o l   o v e r   t h e   n o d e   a n d   c o n t a i n e r s .   B y   d e f a u l t   K u b e l e t s   a l l o w   u n a u t h e n t i c a t e d   a c c e s s   t o   t h i s   A P I .   P r o d u c t i o n   c l u s t e r s   s h o u l d   e n a b l e   K u b e l e t   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n .   C o n s u l t   t h e   K u b e l e t   a u t h e n t i c a t i o n / a u t h o r i z a t i o n   r e f e r e n c e   f o r   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_section_2_4484"
  },
  {
    "question": "What is Controlling the capabilities of a workload or user at runtime?",
    "answer": "A u t h o r i z a t i o n   i n   K u b e r n e t e s   i s   i n t e n t i o n a l l y   h i g h   l e v e l ,   f o c u s e d   o n   c o a r s e   a c t i o n s   o n   r e s o u r c e s .   M o r e   p o w e r f u l   c o n t r o l s   e x i s t   a s   p o l i c i e s   t o   l i m i t   b y   u s e   c a s e   h o w   t h o s e   o b j e c t s   a c t   o n   t h e   c l u s t e r ,   t h e m s e l v e s ,   a n d   o t h e r   r e s o u r c e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_section_2_4485"
  },
  {
    "question": "What is Limiting resource usage on a cluster?",
    "answer": "R e s o u r c e   q u o t a   l i m i t s   t h e   n u m b e r   o r   c a p a c i t y   o f   r e s o u r c e s   g r a n t e d   t o   a   n a m e s p a c e .   T h i s   i s   m o s t   o f t e n   u s e d   t o   l i m i t   t h e   a m o u n t   o f   C P U ,   m e m o r y ,   o r   p e r s i s t e n t   d i s k   a   n a m e s p a c e   c a n   a l l o c a t e ,   b u t   c a n   a l s o   c o n t r o l   h o w   m a n y   p o d s ,   s e r v i c e s ,   o r   v o l u m e s   e x i s t   i n   e a c h   n a m e s p a c e .   L i m i t   r a n g e s   r e s t r i c t   t h e   m a x i m u m   o r   m i n i m u m   s i z e   o f   s o m e   o f   t h e   r e s o u r c e s   a b o v e ,   t o   p r e v e n t   u s e r s   f r o m   r e q u e s t i n g   u n r e a s o n a b l y   h i g h   o r   l o w   v a l u e s   f o r   c o m m o n l y   r e s e r v e d   r e s o u r c e s   l i k e   m e m o r y ,   o r   t o   p r o v i d e   d e f a u l t   l i m i t s   w h e n   n o n e   a r e   s p e c i f i e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_section_3_4486"
  },
  {
    "question": "What is Controlling what privileges containers run with?",
    "answer": "A   p o d   d e f i n i t i o n   c o n t a i n s   a   s e c u r i t y   c o n t e x t   t h a t   a l l o w s   i t   t o   r e q u e s t   a c c e s s   t o   r u n   a s   a   s p e c i f i c   L i n u x   u s e r   o n   a   n o d e   ( l i k e   r o o t ) ,   a c c e s s   t o   r u n   p r i v i l e g e d   o r   a c c e s s   t h e   h o s t   n e t w o r k ,   a n d   o t h e r   c o n t r o l s   t h a t   w o u l d   o t h e r w i s e   a l l o w   i t   t o   r u n   u n f e t t e r e d   o n   a   h o s t i n g   n o d e .   Y o u   c a n   c o n f i g u r e   P o d   s e c u r i t y   a d m i s s i o n   t o   e n f o r c e   u s e   o f   a   p a r t i c u l a r   P o d   S e c u r i t y   S t a n d a r d   i n   a   n a m e s p a c e ,   o r   t o   d e t e c t   b r e a c h e s .   G e n e r a l l y ,   m o s t   a p p l i c a t i o n   w o r k l o a d s   n e e d   l i m i t e d   a c c e s s   t o   h o s t   r e s o u r c e s   s o   t h e y   c a n   s u c c e s s f u l l y   r u n   a s   a   r o o t   p r o c e s s   ( u i d   0 )   w i t h o u t   a c c e s s   t o   h o s t   i n f o r m a t i o n .   H o w e v e r ,   c o n s i d e r i n g   t h e   p r i v i l e g e s   a s s o c i a t e d   w i t h   t h e   r o o t   u s e r ,   y o u   s h o u l d   w r i t e   a p p l i c a t i o n   c o n t a i n e r s   t o   r u n   a s   a   n o n - r o o t   u s e r .   S i m i l a r l y ,   a d m i n i s t r a t o r s   w h o   w i s h   t o   p r e v e n t   c l i e n t   a p p l i c a t i o n s   f r o m   e s c a p i n g   t h e i r   c o n t a i n e r s   s h o u l d   a p p l y   t h e   B a s e l i n e   o r   R e s t r i c t e d   P o d   S e c u r i t y   S t a n d a r d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_section_3_4487"
  },
  {
    "question": "What is Preventing containers from loading unwanted kernel modules?",
    "answer": "T h e   L i n u x   k e r n e l   a u t o m a t i c a l l y   l o a d s   k e r n e l   m o d u l e s   f r o m   d i s k   i f   n e e d e d   i n   c e r t a i n   c i r c u m s t a n c e s ,   s u c h   a s   w h e n   a   p i e c e   o f   h a r d w a r e   i s   a t t a c h e d   o r   a   f i l e s y s t e m   i s   m o u n t e d .   O f   p a r t i c u l a r   r e l e v a n c e   t o   K u b e r n e t e s ,   e v e n   u n p r i v i l e g e d   p r o c e s s e s   c a n   c a u s e   c e r t a i n   n e t w o r k - p r o t o c o l - r e l a t e d   k e r n e l   m o d u l e s   t o   b e   l o a d e d ,   j u s t   b y   c r e a t i n g   a   s o c k e t   o f   t h e   a p p r o p r i a t e   t y p e .   T h i s   m a y   a l l o w   a n   a t t a c k e r   t o   e x p l o i t   a   s e c u r i t y   h o l e   i n   a   k e r n e l   m o d u l e   t h a t   t h e   a d m i n i s t r a t o r   a s s u m e d   w a s   n o t   i n   u s e .   T o   p r e v e n t   s p e c i f i c   m o d u l e s   f r o m   b e i n g   a u t o m a t i c a l l y   l o a d e d ,   y o u   c a n   u n i n s t a l l   t h e m   f r o m   t h e   n o d e ,   o r   a d d   r u l e s   t o   b l o c k   t h e m .   O n   m o s t   L i n u x   d i s t r i b u t i o n s ,   y o u   c a n   d o   t h a t   b y   c r e a t i n g   a   f i l e   s u c h   a s   / e t c / m o d p r o b e . d / k u b e r n e t e s - b l a c k l i s t . c o n f   w i t h   c o n t e n t s   l i k e :   #   D C C P   i s   u n l i k e l y   t o   b e   n e e d e d ,   h a s   h a d   m u l t i p l e   s e r i o u s   #   v u l n e r a b i l i t i e s ,   a n d   i s   n o t   w e l l - m a i n t a i n e d .   b l a c k l i s t   d c c p   #   S C T P   i s   n o t   u s e d   i n   m o s t   K u b e r n e t e s   c l u s t e r s ,   a n d   h a s   a l s o   h a d   #   v u l n e r a b i l i t i e s   i n   t h e   p a s t .   b l a c k l i s t   s c t p   T o   b l o c k   m o d u l e   l o a d i n g   m o r ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_section_3_4488"
  },
  {
    "question": "What is Restricting network access?",
    "answer": "T h e   n e t w o r k   p o l i c i e s   f o r   a   n a m e s p a c e   a l l o w s   a p p l i c a t i o n   a u t h o r s   t o   r e s t r i c t   w h i c h   p o d s   i n   o t h e r   n a m e s p a c e s   m a y   a c c e s s   p o d s   a n d   p o r t s   w i t h i n   t h e i r   n a m e s p a c e s .   M a n y   o f   t h e   s u p p o r t e d   K u b e r n e t e s   n e t w o r k i n g   p r o v i d e r s   n o w   r e s p e c t   n e t w o r k   p o l i c y .   Q u o t a   a n d   l i m i t   r a n g e s   c a n   a l s o   b e   u s e d   t o   c o n t r o l   w h e t h e r   u s e r s   m a y   r e q u e s t   n o d e   p o r t s   o r   l o a d - b a l a n c e d   s e r v i c e s ,   w h i c h   o n   m a n y   c l u s t e r s   c a n   c o n t r o l   w h e t h e r   t h o s e   u s e r s   a p p l i c a t i o n s   a r e   v i s i b l e   o u t s i d e   o f   t h e   c l u s t e r .   A d d i t i o n a l   p r o t e c t i o n s   m a y   b e   a v a i l a b l e   t h a t   c o n t r o l   n e t w o r k   r u l e s   o n   a   p e r - p l u g i n   o r   p e r -   e n v i r o n m e n t   b a s i s ,   s u c h   a s   p e r - n o d e   f i r e w a l l s ,   p h y s i c a l l y   s e p a r a t i n g   c l u s t e r   n o d e s   t o   p r e v e n t   c r o s s   t a l k ,   o r   a d v a n c e d   n e t w o r k i n g   p o l i c y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_section_3_4489"
  },
  {
    "question": "What is Restricting cloud metadata API access?",
    "answer": "C l o u d   p l a t f o r m s   ( A W S ,   A z u r e ,   G C E ,   e t c . )   o f t e n   e x p o s e   m e t a d a t a   s e r v i c e s   l o c a l l y   t o   i n s t a n c e s .   B y   d e f a u l t   t h e s e   A P I s   a r e   a c c e s s i b l e   b y   p o d s   r u n n i n g   o n   a n   i n s t a n c e   a n d   c a n   c o n t a i n   c l o u d   c r e d e n t i a l s   f o r   t h a t   n o d e ,   o r   p r o v i s i o n i n g   d a t a   s u c h   a s   k u b e l e t   c r e d e n t i a l s .   T h e s e   c r e d e n t i a l s   c a n   b e   u s e d   t o   e s c a l a t e   w i t h i n   t h e   c l u s t e r   o r   t o   o t h e r   c l o u d   s e r v i c e s   u n d e r   t h e   s a m e   a c c o u n t .   W h e n   r u n n i n g   K u b e r n e t e s   o n   a   c l o u d   p l a t f o r m ,   l i m i t   p e r m i s s i o n s   g i v e n   t o   i n s t a n c e   c r e d e n t i a l s ,   u s e   n e t w o r k   p o l i c i e s   t o   r e s t r i c t   p o d   a c c e s s   t o   t h e   m e t a d a t a   A P I ,   a n d   a v o i d   u s i n g   p r o v i s i o n i n g   d a t a   t o   d e l i v e r   s e c r e t s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_section_3_4490"
  },
  {
    "question": "What is Controlling which nodes pods may access?",
    "answer": "B y   d e f a u l t ,   t h e r e   a r e   n o   r e s t r i c t i o n s   o n   w h i c h   n o d e s   m a y   r u n   a   p o d .   K u b e r n e t e s   o f f e r s   a   r i c h   s e t   o f   p o l i c i e s   f o r   c o n t r o l l i n g   p l a c e m e n t   o f   p o d s   o n t o   n o d e s   a n d   t h e   t a i n t - b a s e d   p o d   p l a c e m e n t   a n d   e v i c t i o n   t h a t   a r e   a v a i l a b l e   t o   e n d   u s e r s .   F o r   m a n y   c l u s t e r s   u s e   o f   t h e s e   p o l i c i e s   t o   s e p a r a t e   w o r k l o a d s   c a n   b e   a   c o n v e n t i o n   t h a t   a u t h o r s   a d o p t   o r   e n f o r c e   v i a   t o o l i n g .   A s   a n   a d m i n i s t r a t o r ,   a   b e t a   a d m i s s i o n   p l u g i n   P o d N o d e S e l e c t o r   c a n   b e   u s e d   t o   f o r c e   p o d s   w i t h i n   a   n a m e s p a c e   t o   d e f a u l t   o r   r e q u i r e   a   s p e c i f i c   n o d e   s e l e c t o r ,   a n d   i f   e n d   u s e r s   c a n n o t   a l t e r   n a m e s p a c e s ,   t h i s   c a n   s t r o n g l y   l i m i t   t h e   p l a c e m e n t   o f   a l l   o f   t h e   p o d s   i n   a   s p e c i f i c   w o r k l o a d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_section_3_4491"
  },
  {
    "question": "What is Protecting cluster components from compromise?",
    "answer": "T h i s   s e c t i o n   d e s c r i b e s   s o m e   c o m m o n   p a t t e r n s   f o r   p r o t e c t i n g   c l u s t e r s   f r o m   c o m p r o m i s e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_section_2_4492"
  },
  {
    "question": "What is Restrict access to etcd?",
    "answer": "W r i t e   a c c e s s   t o   t h e   e t c d   b a c k e n d   f o r   t h e   A P I   i s   e q u i v a l e n t   t o   g a i n i n g   r o o t   o n   t h e   e n t i r e   c l u s t e r ,   a n d   r e a d   a c c e s s   c a n   b e   u s e d   t o   e s c a l a t e   f a i r l y   q u i c k l y .   A d m i n i s t r a t o r s   s h o u l d   a l w a y s   u s e   s t r o n g   c r e d e n t i a l s   f r o m   t h e   A P I   s e r v e r s   t o   t h e i r   e t c d   s e r v e r ,   s u c h   a s   m u t u a l   a u t h   v i a   T L S   c l i e n t   c e r t i f i c a t e s ,   a n d   i t   i s   o f t e n   r e c o m m e n d e d   t o   i s o l a t e   t h e   e t c d   s e r v e r s   b e h i n d   a   f i r e w a l l   t h a t   o n l y   t h e   A P I   s e r v e r s   m a y   a c c e s s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_section_3_4493"
  },
  {
    "question": "What is Enable audit logging?",
    "answer": "T h e   a u d i t   l o g g e r   i s   a   b e t a   f e a t u r e   t h a t   r e c o r d s   a c t i o n s   t a k e n   b y   t h e   A P I   f o r   l a t e r   a n a l y s i s   i n   t h e   e v e n t   o f   a   c o m p r o m i s e .   I t   i s   r e c o m m e n d e d   t o   e n a b l e   a u d i t   l o g g i n g   a n d   a r c h i v e   t h e   a u d i t   f i l e   o n   a   s e c u r e   s e r v e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_section_3_4494"
  },
  {
    "question": "What is Restrict access to alpha or beta features?",
    "answer": "A l p h a   a n d   b e t a   K u b e r n e t e s   f e a t u r e s   a r e   i n   a c t i v e   d e v e l o p m e n t   a n d   m a y   h a v e   l i m i t a t i o n s   o r   b u g s   t h a t   r e s u l t   i n   s e c u r i t y   v u l n e r a b i l i t i e s .   A l w a y s   a s s e s s   t h e   v a l u e   a n   a l p h a   o r   b e t a   f e a t u r e   m a y   p r o v i d e   a g a i n s t   t h e   p o s s i b l e   r i s k   t o   y o u r   s e c u r i t y   p o s t u r e .   W h e n   i n   d o u b t ,   d i s a b l e   f e a t u r e s   y o u   d o   n o t   u s e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_section_3_4495"
  },
  {
    "question": "What is Rotate infrastructure credentials frequently?",
    "answer": "T h e   s h o r t e r   t h e   l i f e t i m e   o f   a   s e c r e t   o r   c r e d e n t i a l   t h e   h a r d e r   i t   i s   f o r   a n   a t t a c k e r   t o   m a k e   u s e   o f   t h a t   c r e d e n t i a l .   S e t   s h o r t   l i f e t i m e s   o n   c e r t i f i c a t e s   a n d   a u t o m a t e   t h e i r   r o t a t i o n .   U s e   a n   a u t h e n t i c a t i o n   p r o v i d e r   t h a t   c a n   c o n t r o l   h o w   l o n g   i s s u e d   t o k e n s   a r e   a v a i l a b l e   a n d   u s e   s h o r t   l i f e t i m e s   w h e r e   p o s s i b l e .   I f   y o u   u s e   s e r v i c e - a c c o u n t   t o k e n s   i n   e x t e r n a l   i n t e g r a t i o n s ,   p l a n   t o   r o t a t e   t h o s e   t o k e n s   f r e q u e n t l y .   F o r   e x a m p l e ,   o n c e   t h e   b o o t s t r a p   p h a s e   i s   c o m p l e t e ,   a   b o o t s t r a p   t o k e n   u s e d   f o r   s e t t i n g   u p   n o d e s   s h o u l d   b e   r e v o k e d   o r   i t s   a u t h o r i z a t i o n   r e m o v e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_section_3_4496"
  },
  {
    "question": "What is Review third party integrations before enabling them?",
    "answer": "M a n y   t h i r d   p a r t y   i n t e g r a t i o n s   t o   K u b e r n e t e s   m a y   a l t e r   t h e   s e c u r i t y   p r o f i l e   o f   y o u r   c l u s t e r .   W h e n   e n a b l i n g   a n   i n t e g r a t i o n ,   a l w a y s   r e v i e w   t h e   p e r m i s s i o n s   t h a t   a n   e x t e n s i o n   r e q u e s t s   b e f o r e   g r a n t i n g   i t   a c c e s s .   F o r   e x a m p l e ,   m a n y   s e c u r i t y   i n t e g r a t i o n s   m a y   r e q u e s t   a c c e s s   t o   v i e w   a l l   s e c r e t s   o n   y o u r   c l u s t e r   w h i c h   i s   e f f e c t i v e l y   m a k i n g   t h a t   c o m p o n e n t   a   c l u s t e r   a d m i n .   W h e n   i n   d o u b t ,   r e s t r i c t   t h e   i n t e g r a t i o n   t o   f u n c t i o n i n g   i n   a   s i n g l e   n a m e s p a c e   i f   p o s s i b l e .   C o m p o n e n t s   t h a t   c r e a t e   p o d s   m a y   a l s o   b e   u n e x p e c t e d l y   p o w e r f u l   i f   t h e y   c a n   d o   s o   i n s i d e   n a m e s p a c e s   l i k e   t h e   k u b e - s y s t e m   n a m e s p a c e ,   b e c a u s e   t h o s e   p o d s   c a n   g a i n   a c c e s s   t o   s e r v i c e   a c c o u n t   s e c r e t s   o r   r u n   w i t h   e l e v a t e d   p e r m i s s i o n s   i f   t h o s e   s e r v i c e   a c c o u n t s   a r e   g r a n t e d   a c c e s s   t o   p e r m i s s i v e   P o d S e c u r i t y P o l i c i e s .   I f   y o u   u s e   P o d   S e c u r i t y   a d m i s s i o n   a n d   a l l o w   a n y   c o m p o n e n t   t o   c r e a t e   P o d s   w i t h i n   a   n a m e s p a c e   t h a t   p e r m i t s   p r i v i l e g e d   P o d s ,   t h o s e   P o d s   m a y   b e   a b l e   t o   e s c a p e   t h e i r   c o n t a i n e r s   a n d   u s e   t h i s   w i d e n e d   a c c e s s   t o   e l e v a t e   t h e i r   p r i v i l e g e s .   Y o u   s h o u l d   n o t   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_section_3_4497"
  },
  {
    "question": "What is Encrypt secrets at rest?",
    "answer": "I n   g e n e r a l ,   t h e   e t c d   d a t a b a s e   w i l l   c o n t a i n   a n y   i n f o r m a t i o n   a c c e s s i b l e   v i a   t h e   K u b e r n e t e s   A P I   a n d   m a y   g r a n t   a n   a t t a c k e r   s i g n i f i c a n t   v i s i b i l i t y   i n t o   t h e   s t a t e   o f   y o u r   c l u s t e r .   A l w a y s   e n c r y p t   y o u r   b a c k u p s   u s i n g   a   w e l l   r e v i e w e d   b a c k u p   a n d   e n c r y p t i o n   s o l u t i o n ,   a n d   c o n s i d e r   u s i n g   f u l l   d i s k   e n c r y p t i o n   w h e r e   p o s s i b l e .   K u b e r n e t e s   s u p p o r t s   o p t i o n a l   e n c r y p t i o n   a t   r e s t   f o r   i n f o r m a t i o n   i n   t h e   K u b e r n e t e s   A P I .   T h i s   l e t s   y o u   e n s u r e   t h a t   w h e n   K u b e r n e t e s   s t o r e s   d a t a   f o r   o b j e c t s   ( f o r   e x a m p l e ,   S e c r e t   o r   C o n f i g M a p   o b j e c t s ) ,   t h e   A P I   s e r v e r   w r i t e s   a n   e n c r y p t e d   r e p r e s e n t a t i o n   o f   t h e   o b j e c t .   T h a t   e n c r y p t i o n   m e a n s   t h a t   e v e n   s o m e o n e   w h o   h a s   a c c e s s   t o   e t c d   b a c k u p   d a t a   i s   u n a b l e   t o   v i e w   t h e   c o n t e n t   o f   t h o s e   o b j e c t s .   I n   K u b e r n e t e s   1 . 3 4   y o u   c a n   a l s o   e n c r y p t   c u s t o m   r e s o u r c e s ;   e n c r y p t i o n - a t - r e s t   f o r   e x t e n s i o n   A P I s   d e f i n e d   i n   C u s t o m R e s o u r c e D e f i n i t i o n s   w a s   a d d e d   t o   K u b e r n e t e s   a s   p a r t   o f   t h e   v 1 . 2 6   r e l e a s e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_section_3_4498"
  },
  {
    "question": "What is Receiving alerts for security updates and reporting vulnerabilities?",
    "answer": "J o i n   t h e   k u b e r n e t e s - a n n o u n c e   g r o u p   f o r   e m a i l s   a b o u t   s e c u r i t y   a n n o u n c e m e n t s .   S e e   t h e   s e c u r i t y   r e p o r t i n g   p a g e   f o r   m o r e   o n   h o w   t o   r e p o r t   v u l n e r a b i l i t i e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_section_3_4499"
  },
  {
    "question": "What is What's next?",
    "answer": "S e c u r i t y   C h e c k l i s t   f o r   a d d i t i o n a l   i n f o r m a t i o n   o n   K u b e r n e t e s   s e c u r i t y   g u i d a n c e . S e c c o m p   N o d e   R e f e r e n c e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/",
    "id": "k8s_00235_section_2_4500"
  },
  {
    "question": "What is Troubleshooting kubeadm?",
    "answer": "Troubleshooting kubeadmAs with any program, you might run into an error installing or running kubeadm. This page lists some common failure scenarios and have provided steps that can help you understand and fix the problem.If your problem is not listed below, please follow the following steps:If you think your problem is a bug with kubeadm:Go to github.com/kubernetes/kubeadm and search for existing issues.If no issue exists, please open one and follow the issue template.If you are unsure about how kubeadm works, you can ask on Slack in #kubeadm, or open a question on StackOverflow. Please include relevant tags like #kubernetes and #kubeadm so folks can help you.Not possible to join a v1.18 Node to a v1.17 cluster due to missing RBACIn v1.18 kubeadm added prevention for joining a Node in the cluster if a Node with the same name already exists. This required adding RBAC for the bootstrap-token user to be able to GET a Node object.However this causes an issue where kubeadm join from v1.18 cannot join a cluster created by kubeadm v1.17.To workaround the issue you have two options:Execute kubeadm init phase bootstrap-token on a control-plane node using kubeadm v1.18. Note that this enables the rest of the bootstrap-token permissions as well.orApply the following RBAC manually using kubectl apply -f ...:apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: kubeadm:get-nodes rules: - apiGroups: - \"\" resources: - nodes verbs: - get --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: kubeadm:get-nodes roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: kubeadm:get-nodes subjects: - apiGroup: rbac.authorization.k8s.io kind: Group name: system:bootstrappers:kubeadm:default-node-token ebtables or some similar executable not found during installationIf you see the following warnings while running kubeadm init[preflight] WARNING: ebtables not found in system path [preflight] WARNING: ethtool not found in system path Then you may be missing ebtables, ethtool or a similar executable on your node. You can install them with the following commands:For Ubuntu/Debian users, run apt install ebtables ethtool.For CentOS/Fedora users, run yum install ebtables ethtool.kubeadm blocks waiting for control plane during installationIf you notice that kubeadm init hangs after printing out the following line:[apiclient] Created API client, waiting for the control plane to become ready This may be caused by a number of problems. The most common are:network connection problems. Check that your machine has full network connectivity before continuing.the cgroup driver of the container runtime differs from that of the kubelet. To understand how to configure it properly, see Configuring a cgroup driver.control plane containers are crashlooping or hanging. You can check this by running docker ps and investigating each container by running docker logs. For other container runtime, see Debugging Kubernetes nodes with ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_qa_4501"
  },
  {
    "question": "How does Troubleshooting kubeadm work?",
    "answer": "Troubleshooting kubeadmAs with any program, you might run into an error installing or running kubeadm. This page lists some common failure scenarios and have provided steps that can help you understand and fix the problem.If your problem is not listed below, please follow the following steps:If you think your problem is a bug with kubeadm:Go to github.com/kubernetes/kubeadm and search for existing issues.If no issue exists, please open one and follow the issue template.If you are unsure about how kubeadm works, you can ask on Slack in #kubeadm, or open a question on StackOverflow. Please include relevant tags like #kubernetes and #kubeadm so folks can help you.Not possible to join a v1.18 Node to a v1.17 cluster due to missing RBACIn v1.18 kubeadm added prevention for joining a Node in the cluster if a Node with the same name already exists. This required adding RBAC for the bootstrap-token user to be able to GET a Node object.However this causes an issue where kubeadm join from v1.18 cannot join a cluster created by kubeadm v1.17.To workaround the issue you have two options:Execute kubeadm init phase bootstrap-token on a control-plane node using kubeadm v1.18. Note that this enables the rest of the bootstrap-token permissions as well.orApply the following RBAC manually using kubectl apply -f ...:apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: kubeadm:get-nodes rules: - apiGroups: - \"\" resources: - nodes verbs: - get --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: kubeadm:get-nodes roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: kubeadm:get-nodes subjects: - apiGroup: rbac.authorization.k8s.io kind: Group name: system:bootstrappers:kubeadm:default-node-token ebtables or some similar executable not found during installationIf you see the following warnings while running kubeadm init[preflight] WARNING: ebtables not found in system path [preflight] WARNING: ethtool not found in system path Then you may be missing ebtables, ethtool or a similar executable on your node. You can install them with the following commands:For Ubuntu/Debian users, run apt install ebtables ethtool.For CentOS/Fedora users, run yum install ebtables ethtool.kubeadm blocks waiting for control plane during installationIf you notice that kubeadm init hangs after printing out the following line:[apiclient] Created API client, waiting for the control plane to become ready This may be caused by a number of problems. The most common are:network connection problems. Check that your machine has full network connectivity before continuing.the cgroup driver of the container runtime differs from that of the kubelet. To understand how to configure it properly, see Configuring a cgroup driver.control plane containers are crashlooping or hanging. You can check this by running docker ps and investigating each container by running docker logs. For other container runtime, see Debugging Kubernetes nodes with ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_qa_4502"
  },
  {
    "question": "When would you use Troubleshooting kubeadm?",
    "answer": "Troubleshooting kubeadmAs with any program, you might run into an error installing or running kubeadm. This page lists some common failure scenarios and have provided steps that can help you understand and fix the problem.If your problem is not listed below, please follow the following steps:If you think your problem is a bug with kubeadm:Go to github.com/kubernetes/kubeadm and search for existing issues.If no issue exists, please open one and follow the issue template.If you are unsure about how kubeadm works, you can ask on Slack in #kubeadm, or open a question on StackOverflow. Please include relevant tags like #kubernetes and #kubeadm so folks can help you.Not possible to join a v1.18 Node to a v1.17 cluster due to missing RBACIn v1.18 kubeadm added prevention for joining a Node in the cluster if a Node with the same name already exists. This required adding RBAC for the bootstrap-token user to be able to GET a Node object.However this causes an issue where kubeadm join from v1.18 cannot join a cluster created by kubeadm v1.17.To workaround the issue you have two options:Execute kubeadm init phase bootstrap-token on a control-plane node using kubeadm v1.18. Note that this enables the rest of the bootstrap-token permissions as well.orApply the following RBAC manually using kubectl apply -f ...:apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: kubeadm:get-nodes rules: - apiGroups: - \"\" resources: - nodes verbs: - get --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: kubeadm:get-nodes roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: kubeadm:get-nodes subjects: - apiGroup: rbac.authorization.k8s.io kind: Group name: system:bootstrappers:kubeadm:default-node-token ebtables or some similar executable not found during installationIf you see the following warnings while running kubeadm init[preflight] WARNING: ebtables not found in system path [preflight] WARNING: ethtool not found in system path Then you may be missing ebtables, ethtool or a similar executable on your node. You can install them with the following commands:For Ubuntu/Debian users, run apt install ebtables ethtool.For CentOS/Fedora users, run yum install ebtables ethtool.kubeadm blocks waiting for control plane during installationIf you notice that kubeadm init hangs after printing out the following line:[apiclient] Created API client, waiting for the control plane to become ready This may be caused by a number of problems. The most common are:network connection problems. Check that your machine has full network connectivity before continuing.the cgroup driver of the container runtime differs from that of the kubelet. To understand how to configure it properly, see Configuring a cgroup driver.control plane containers are crashlooping or hanging. You can check this by running docker ps and investigating each container by running docker logs. For other container runtime, see Debugging Kubernetes nodes with ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_qa_4503"
  },
  {
    "question": "What are the benefits of Troubleshooting kubeadm?",
    "answer": "Troubleshooting kubeadmAs with any program, you might run into an error installing or running kubeadm. This page lists some common failure scenarios and have provided steps that can help you understand and fix the problem.If your problem is not listed below, please follow the following steps:If you think your problem is a bug with kubeadm:Go to github.com/kubernetes/kubeadm and search for existing issues.If no issue exists, please open one and follow the issue template.If you are unsure about how kubeadm works, you can ask on Slack in #kubeadm, or open a question on StackOverflow. Please include relevant tags like #kubernetes and #kubeadm so folks can help you.Not possible to join a v1.18 Node to a v1.17 cluster due to missing RBACIn v1.18 kubeadm added prevention for joining a Node in the cluster if a Node with the same name already exists. This required adding RBAC for the bootstrap-token user to be able to GET a Node object.However this causes an issue where kubeadm join from v1.18 cannot join a cluster created by kubeadm v1.17.To workaround the issue you have two options:Execute kubeadm init phase bootstrap-token on a control-plane node using kubeadm v1.18. Note that this enables the rest of the bootstrap-token permissions as well.orApply the following RBAC manually using kubectl apply -f ...:apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: kubeadm:get-nodes rules: - apiGroups: - \"\" resources: - nodes verbs: - get --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: kubeadm:get-nodes roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: kubeadm:get-nodes subjects: - apiGroup: rbac.authorization.k8s.io kind: Group name: system:bootstrappers:kubeadm:default-node-token ebtables or some similar executable not found during installationIf you see the following warnings while running kubeadm init[preflight] WARNING: ebtables not found in system path [preflight] WARNING: ethtool not found in system path Then you may be missing ebtables, ethtool or a similar executable on your node. You can install them with the following commands:For Ubuntu/Debian users, run apt install ebtables ethtool.For CentOS/Fedora users, run yum install ebtables ethtool.kubeadm blocks waiting for control plane during installationIf you notice that kubeadm init hangs after printing out the following line:[apiclient] Created API client, waiting for the control plane to become ready This may be caused by a number of problems. The most common are:network connection problems. Check that your machine has full network connectivity before continuing.the cgroup driver of the container runtime differs from that of the kubelet. To understand how to configure it properly, see Configuring a cgroup driver.control plane containers are crashlooping or hanging. You can check this by running docker ps and investigating each container by running docker logs. For other container runtime, see Debugging Kubernetes nodes with ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_qa_4504"
  },
  {
    "question": "What is Troubleshooting kubeadm?",
    "answer": "A s   w i t h   a n y   p r o g r a m ,   y o u   m i g h t   r u n   i n t o   a n   e r r o r   i n s t a l l i n g   o r   r u n n i n g   k u b e a d m .   T h i s   p a g e   l i s t s   s o m e   c o m m o n   f a i l u r e   s c e n a r i o s   a n d   h a v e   p r o v i d e d   s t e p s   t h a t   c a n   h e l p   y o u   u n d e r s t a n d   a n d   f i x   t h e   p r o b l e m .   I f   y o u r   p r o b l e m   i s   n o t   l i s t e d   b e l o w ,   p l e a s e   f o l l o w   t h e   f o l l o w i n g   s t e p s :   I f   y o u   t h i n k   y o u r   p r o b l e m   i s   a   b u g   w i t h   k u b e a d m : G o   t o   g i t h u b . c o m / k u b e r n e t e s / k u b e a d m   a n d   s e a r c h   f o r   e x i s t i n g   i s s u e s . I f   n o   i s s u e   e x i s t s ,   p l e a s e   o p e n   o n e   a n d   f o l l o w   t h e   i s s u e   t e m p l a t e . I f   y o u   a r e   u n s u r e   a b o u t   h o w   k u b e a d m   w o r k s ,   y o u   c a n   a s k   o n   S l a c k   i n   # k u b e a d m ,   o r   o p e n   a   q u e s t i o n   o n   S t a c k O v e r f l o w .   P l e a s e   i n c l u d e   r e l e v a n t   t a g s   l i k e   # k u b e r n e t e s   a n d   # k u b e a d m   s o   f o l k s   c a n   h e l p   y o u .   I f   y o u   t h i n k   y o u r   p r o b l e m   i s   a   b u g   w i t h   k u b e a d m :   G o   t o   g i t h u b . c o m / k u b e r n e t e s / k u b e a d m   a n d   s e a r c h   f o r   e x i s t i n g   i s s u e s . I f   n o   i s s u e   e x i s t s ,   p l e a s e   o p e n   o n e   a n d   f o l l o w   t h e   i s s u e   t e m p l a t e .   I f   y o u   a r e   u n s u r e   a b o u t   h o w   k u b e a d m   w o r k s ,   y o u   c a n   a s k   o n   S l a c k   i n   # k u b e a d m ,   o r   o p e n   a   q u e s t i o n   o n   S t a c k O v e r f l o w .   P l e a s e   i n c l u d e   r e l e v a n t   t a g s   l i k e   # k u b e r n e t e s   a n d   # k u b ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_section_1_4505"
  },
  {
    "question": "What is Not possible to join a v1.18 Node to a v1.17 cluster due to missing RBAC?",
    "answer": "I n   v 1 . 1 8   k u b e a d m   a d d e d   p r e v e n t i o n   f o r   j o i n i n g   a   N o d e   i n   t h e   c l u s t e r   i f   a   N o d e   w i t h   t h e   s a m e   n a m e   a l r e a d y   e x i s t s .   T h i s   r e q u i r e d   a d d i n g   R B A C   f o r   t h e   b o o t s t r a p - t o k e n   u s e r   t o   b e   a b l e   t o   G E T   a   N o d e   o b j e c t .   H o w e v e r   t h i s   c a u s e s   a n   i s s u e   w h e r e   k u b e a d m   j o i n   f r o m   v 1 . 1 8   c a n n o t   j o i n   a   c l u s t e r   c r e a t e d   b y   k u b e a d m   v 1 . 1 7 .   T o   w o r k a r o u n d   t h e   i s s u e   y o u   h a v e   t w o   o p t i o n s :   E x e c u t e   k u b e a d m   i n i t   p h a s e   b o o t s t r a p - t o k e n   o n   a   c o n t r o l - p l a n e   n o d e   u s i n g   k u b e a d m   v 1 . 1 8 .   N o t e   t h a t   t h i s   e n a b l e s   t h e   r e s t   o f   t h e   b o o t s t r a p - t o k e n   p e r m i s s i o n s   a s   w e l l .   o r   A p p l y   t h e   f o l l o w i n g   R B A C   m a n u a l l y   u s i n g   k u b e c t l   a p p l y   - f   . . . :   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   n a m e :   k u b e a d m : g e t - n o d e s   r u l e s :   -   a p i G r o u p s :   -   \" \"   r e s o u r c e s :   -   n o d e s   v e r b s :   -   g e t   - - -   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e B i n d i n g   m e t a d a t a :   n a m e :   k u b e a d m : g e t - n o d e s   r o l e R e f :   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o   k i n d :   C l u s t e r R o l e   n a m e :   k u b e a d m : g e t - n o d e s   s u b j e c t s :   -   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o   k i n d :   G r o u p   n a m e :   s y s t e m : b o o ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_section_2_4506"
  },
  {
    "question": "What is ebtables or some similar executable not found during installation?",
    "answer": "I f   y o u   s e e   t h e   f o l l o w i n g   w a r n i n g s   w h i l e   r u n n i n g   k u b e a d m   i n i t   [ p r e f l i g h t ]   W A R N I N G :   e b t a b l e s   n o t   f o u n d   i n   s y s t e m   p a t h   [ p r e f l i g h t ]   W A R N I N G :   e t h t o o l   n o t   f o u n d   i n   s y s t e m   p a t h   T h e n   y o u   m a y   b e   m i s s i n g   e b t a b l e s ,   e t h t o o l   o r   a   s i m i l a r   e x e c u t a b l e   o n   y o u r   n o d e .   Y o u   c a n   i n s t a l l   t h e m   w i t h   t h e   f o l l o w i n g   c o m m a n d s :   F o r   U b u n t u / D e b i a n   u s e r s ,   r u n   a p t   i n s t a l l   e b t a b l e s   e t h t o o l . F o r   C e n t O S / F e d o r a   u s e r s ,   r u n   y u m   i n s t a l l   e b t a b l e s   e t h t o o l .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_section_2_4507"
  },
  {
    "question": "What is kubeadm blocks waiting for control plane during installation?",
    "answer": "I f   y o u   n o t i c e   t h a t   k u b e a d m   i n i t   h a n g s   a f t e r   p r i n t i n g   o u t   t h e   f o l l o w i n g   l i n e :   [ a p i c l i e n t ]   C r e a t e d   A P I   c l i e n t ,   w a i t i n g   f o r   t h e   c o n t r o l   p l a n e   t o   b e c o m e   r e a d y   T h i s   m a y   b e   c a u s e d   b y   a   n u m b e r   o f   p r o b l e m s .   T h e   m o s t   c o m m o n   a r e :   n e t w o r k   c o n n e c t i o n   p r o b l e m s .   C h e c k   t h a t   y o u r   m a c h i n e   h a s   f u l l   n e t w o r k   c o n n e c t i v i t y   b e f o r e   c o n t i n u i n g . t h e   c g r o u p   d r i v e r   o f   t h e   c o n t a i n e r   r u n t i m e   d i f f e r s   f r o m   t h a t   o f   t h e   k u b e l e t .   T o   u n d e r s t a n d   h o w   t o   c o n f i g u r e   i t   p r o p e r l y ,   s e e   C o n f i g u r i n g   a   c g r o u p   d r i v e r . c o n t r o l   p l a n e   c o n t a i n e r s   a r e   c r a s h l o o p i n g   o r   h a n g i n g .   Y o u   c a n   c h e c k   t h i s   b y   r u n n i n g   d o c k e r   p s   a n d   i n v e s t i g a t i n g   e a c h   c o n t a i n e r   b y   r u n n i n g   d o c k e r   l o g s .   F o r   o t h e r   c o n t a i n e r   r u n t i m e ,   s e e   D e b u g g i n g   K u b e r n e t e s   n o d e s   w i t h   c r i c t l .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_section_2_4508"
  },
  {
    "question": "What is kubeadm blocks when removing managed containers?",
    "answer": "T h e   f o l l o w i n g   c o u l d   h a p p e n   i f   t h e   c o n t a i n e r   r u n t i m e   h a l t s   a n d   d o e s   n o t   r e m o v e   a n y   K u b e r n e t e s - m a n a g e d   c o n t a i n e r s :   s u d o   k u b e a d m   r e s e t   [ p r e f l i g h t ]   R u n n i n g   p r e - f l i g h t   c h e c k s   [ r e s e t ]   S t o p p i n g   t h e   k u b e l e t   s e r v i c e   [ r e s e t ]   U n m o u n t i n g   m o u n t e d   d i r e c t o r i e s   i n   \" / v a r / l i b / k u b e l e t \"   [ r e s e t ]   R e m o v i n g   k u b e r n e t e s - m a n a g e d   c o n t a i n e r s   ( b l o c k )   A   p o s s i b l e   s o l u t i o n   i s   t o   r e s t a r t   t h e   c o n t a i n e r   r u n t i m e   a n d   t h e n   r e - r u n   k u b e a d m   r e s e t .   Y o u   c a n   a l s o   u s e   c r i c t l   t o   d e b u g   t h e   s t a t e   o f   t h e   c o n t a i n e r   r u n t i m e .   S e e   D e b u g g i n g   K u b e r n e t e s   n o d e s   w i t h   c r i c t l .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_section_2_4509"
  },
  {
    "question": "What is Pods in RunContainerError, CrashLoopBackOff or Error state?",
    "answer": "R i g h t   a f t e r   k u b e a d m   i n i t   t h e r e   s h o u l d   n o t   b e   a n y   p o d s   i n   t h e s e   s t a t e s .   I f   t h e r e   a r e   p o d s   i n   o n e   o f   t h e s e   s t a t e s   r i g h t   a f t e r   k u b e a d m   i n i t ,   p l e a s e   o p e n   a n   i s s u e   i n   t h e   k u b e a d m   r e p o .   c o r e d n s   ( o r   k u b e - d n s )   s h o u l d   b e   i n   t h e   P e n d i n g   s t a t e   u n t i l   y o u   h a v e   d e p l o y e d   t h e   n e t w o r k   a d d - o n . I f   y o u   s e e   P o d s   i n   t h e   R u n C o n t a i n e r E r r o r ,   C r a s h L o o p B a c k O f f   o r   E r r o r   s t a t e   a f t e r   d e p l o y i n g   t h e   n e t w o r k   a d d - o n   a n d   n o t h i n g   h a p p e n s   t o   c o r e d n s   ( o r   k u b e - d n s ) ,   i t ' s   v e r y   l i k e l y   t h a t   t h e   P o d   N e t w o r k   a d d - o n   t h a t   y o u   i n s t a l l e d   i s   s o m e h o w   b r o k e n .   Y o u   m i g h t   h a v e   t o   g r a n t   i t   m o r e   R B A C   p r i v i l e g e s   o r   u s e   a   n e w e r   v e r s i o n .   P l e a s e   f i l e   a n   i s s u e   i n   t h e   P o d   N e t w o r k   p r o v i d e r s '   i s s u e   t r a c k e r   a n d   g e t   t h e   i s s u e   t r i a g e d   t h e r e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_section_2_4510"
  },
  {
    "question": "What is coredns is stuck in the Pending state?",
    "answer": "T h i s   i s   e x p e c t e d   a n d   p a r t   o f   t h e   d e s i g n .   k u b e a d m   i s   n e t w o r k   p r o v i d e r - a g n o s t i c ,   s o   t h e   a d m i n   s h o u l d   i n s t a l l   t h e   p o d   n e t w o r k   a d d - o n   o f   c h o i c e .   Y o u   h a v e   t o   i n s t a l l   a   P o d   N e t w o r k   b e f o r e   C o r e D N S   m a y   b e   d e p l o y e d   f u l l y .   H e n c e   t h e   P e n d i n g   s t a t e   b e f o r e   t h e   n e t w o r k   i s   s e t   u p .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_section_2_4511"
  },
  {
    "question": "What is HostPort services do not work?",
    "answer": "T h e   H o s t P o r t   a n d   H o s t I P   f u n c t i o n a l i t y   i s   a v a i l a b l e   d e p e n d i n g   o n   y o u r   P o d   N e t w o r k   p r o v i d e r .   P l e a s e   c o n t a c t   t h e   a u t h o r   o f   t h e   P o d   N e t w o r k   a d d - o n   t o   f i n d   o u t   w h e t h e r   H o s t P o r t   a n d   H o s t I P   f u n c t i o n a l i t y   a r e   a v a i l a b l e .   C a l i c o ,   C a n a l ,   a n d   F l a n n e l   C N I   p r o v i d e r s   a r e   v e r i f i e d   t o   s u p p o r t   H o s t P o r t .   F o r   m o r e   i n f o r m a t i o n ,   s e e   t h e   C N I   p o r t m a p   d o c u m e n t a t i o n .   I f   y o u r   n e t w o r k   p r o v i d e r   d o e s   n o t   s u p p o r t   t h e   p o r t m a p   C N I   p l u g i n ,   y o u   m a y   n e e d   t o   u s e   t h e   N o d e P o r t   f e a t u r e   o f   s e r v i c e s   o r   u s e   H o s t N e t w o r k = t r u e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_section_2_4512"
  },
  {
    "question": "What is Pods are not accessible via their Service IP?",
    "answer": "M a n y   n e t w o r k   a d d - o n s   d o   n o t   y e t   e n a b l e   h a i r p i n   m o d e   w h i c h   a l l o w s   p o d s   t o   a c c e s s   t h e m s e l v e s   v i a   t h e i r   S e r v i c e   I P .   T h i s   i s   a n   i s s u e   r e l a t e d   t o   C N I .   P l e a s e   c o n t a c t   t h e   n e t w o r k   a d d - o n   p r o v i d e r   t o   g e t   t h e   l a t e s t   s t a t u s   o f   t h e i r   s u p p o r t   f o r   h a i r p i n   m o d e . I f   y o u   a r e   u s i n g   V i r t u a l B o x   ( d i r e c t l y   o r   v i a   V a g r a n t ) ,   y o u   w i l l   n e e d   t o   e n s u r e   t h a t   h o s t n a m e   - i   r e t u r n s   a   r o u t a b l e   I P   a d d r e s s .   B y   d e f a u l t ,   t h e   f i r s t   i n t e r f a c e   i s   c o n n e c t e d   t o   a   n o n - r o u t a b l e   h o s t - o n l y   n e t w o r k .   A   w o r k   a r o u n d   i s   t o   m o d i f y   / e t c / h o s t s ,   s e e   t h i s   V a g r a n t f i l e   f o r   a n   e x a m p l e .   M a n y   n e t w o r k   a d d - o n s   d o   n o t   y e t   e n a b l e   h a i r p i n   m o d e   w h i c h   a l l o w s   p o d s   t o   a c c e s s   t h e m s e l v e s   v i a   t h e i r   S e r v i c e   I P .   T h i s   i s   a n   i s s u e   r e l a t e d   t o   C N I .   P l e a s e   c o n t a c t   t h e   n e t w o r k   a d d - o n   p r o v i d e r   t o   g e t   t h e   l a t e s t   s t a t u s   o f   t h e i r   s u p p o r t   f o r   h a i r p i n   m o d e .   I f   y o u   a r e   u s i n g   V i r t u a l B o x   ( d i r e c t l y   o r   v i a   V a g r a n t ) ,   y o u   w i l l   n e e d   t o   e n s u r e   t h a t   h o s t n a m e   - i   r e t u r n s   a   r o u t a b l e   I P   a d d r e s s .   B y   d e f a u l t ,   t h e   f i r s t   i n t e r f a c e   i s   c o n n e c t e d   t o   a   n o n - r o u t a b l e   h o s t - o n l y   n e t w o r k .   A   w o r k   a r ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_section_2_4513"
  },
  {
    "question": "What is TLS certificate errors?",
    "answer": "T h e   f o l l o w i n g   e r r o r   i n d i c a t e s   a   p o s s i b l e   c e r t i f i c a t e   m i s m a t c h .   #   k u b e c t l   g e t   p o d s   U n a b l e   t o   c o n n e c t   t o   t h e   s e r v e r :   x 5 0 9 :   c e r t i f i c a t e   s i g n e d   b y   u n k n o w n   a u t h o r i t y   ( p o s s i b l y   b e c a u s e   o f   \" c r y p t o / r s a :   v e r i f i c a t i o n   e r r o r \"   w h i l e   t r y i n g   t o   v e r i f y   c a n d i d a t e   a u t h o r i t y   c e r t i f i c a t e   \" k u b e r n e t e s \" )   V e r i f y   t h a t   t h e   $ H O M E / . k u b e / c o n f i g   f i l e   c o n t a i n s   a   v a l i d   c e r t i f i c a t e ,   a n d   r e g e n e r a t e   a   c e r t i f i c a t e   i f   n e c e s s a r y .   T h e   c e r t i f i c a t e s   i n   a   k u b e c o n f i g   f i l e   a r e   b a s e 6 4   e n c o d e d .   T h e   b a s e 6 4   - - d e c o d e   c o m m a n d   c a n   b e   u s e d   t o   d e c o d e   t h e   c e r t i f i c a t e   a n d   o p e n s s l   x 5 0 9   - t e x t   - n o o u t   c a n   b e   u s e d   f o r   v i e w i n g   t h e   c e r t i f i c a t e   i n f o r m a t i o n . U n s e t   t h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   u s i n g : u n s e t   K U B E C O N F I G   O r   s e t   i t   t o   t h e   d e f a u l t   K U B E C O N F I G   l o c a t i o n : e x p o r t   K U B E C O N F I G = / e t c / k u b e r n e t e s / a d m i n . c o n f   A n o t h e r   w o r k a r o u n d   i s   t o   o v e r w r i t e   t h e   e x i s t i n g   k u b e c o n f i g   f o r   t h e   \" a d m i n \"   u s e r : m v   $ H O M E / . k u b e   $ H O M E / . k u b e . b a k   m k d i r   $ H O M E / . k u b e   s u d o   c p   - i   / e t c / k u b e r n e t e s / a d m i n . c o n f   $ H O M E / . k u b e / c o n f i g   s u d o   c h o w n   $ ( i d   - u ) : $ ( i d   - g )   $ H O M E / . k u b e / c o n f i g   V e r i f y   t ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_section_2_4514"
  },
  {
    "question": "What is Kubelet client certificate rotation fails?",
    "answer": "B y   d e f a u l t ,   k u b e a d m   c o n f i g u r e s   a   k u b e l e t   w i t h   a u t o m a t i c   r o t a t i o n   o f   c l i e n t   c e r t i f i c a t e s   b y   u s i n g   t h e   / v a r / l i b / k u b e l e t / p k i / k u b e l e t - c l i e n t - c u r r e n t . p e m   s y m l i n k   s p e c i f i e d   i n   / e t c / k u b e r n e t e s / k u b e l e t . c o n f .   I f   t h i s   r o t a t i o n   p r o c e s s   f a i l s   y o u   m i g h t   s e e   e r r o r s   s u c h   a s   x 5 0 9 :   c e r t i f i c a t e   h a s   e x p i r e d   o r   i s   n o t   y e t   v a l i d   i n   k u b e - a p i s e r v e r   l o g s .   T o   f i x   t h e   i s s u e   y o u   m u s t   f o l l o w   t h e s e   s t e p s :   B a c k u p   a n d   d e l e t e   / e t c / k u b e r n e t e s / k u b e l e t . c o n f   a n d   / v a r / l i b / k u b e l e t / p k i / k u b e l e t - c l i e n t *   f r o m   t h e   f a i l e d   n o d e . F r o m   a   w o r k i n g   c o n t r o l   p l a n e   n o d e   i n   t h e   c l u s t e r   t h a t   h a s   / e t c / k u b e r n e t e s / p k i / c a . k e y   e x e c u t e   k u b e a d m   k u b e c o n f i g   u s e r   - - o r g   s y s t e m : n o d e s   - - c l i e n t - n a m e   s y s t e m : n o d e : $ N O D E   >   k u b e l e t . c o n f .   $ N O D E   m u s t   b e   s e t   t o   t h e   n a m e   o f   t h e   e x i s t i n g   f a i l e d   n o d e   i n   t h e   c l u s t e r .   M o d i f y   t h e   r e s u l t e d   k u b e l e t . c o n f   m a n u a l l y   t o   a d j u s t   t h e   c l u s t e r   n a m e   a n d   s e r v e r   e n d p o i n t ,   o r   p a s s   k u b e c o n f i g   u s e r   - - c o n f i g   ( s e e   G e n e r a t i n g   k u b e c o n f i g   f i l e s   f o r   a d d i t i o n a l   u s e r s ) .   I f   y o u r   c l u s t e r   d o e s   n o t   h a v e   t h e   c a . k e y   y o u   m u s t   s i g n   t h e   e m b e d d e d   c e r t i f ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_section_2_4515"
  },
  {
    "question": "What is Default NIC When using flannel as the pod network in Vagrant?",
    "answer": "T h e   f o l l o w i n g   e r r o r   m i g h t   i n d i c a t e   t h a t   s o m e t h i n g   w a s   w r o n g   i n   t h e   p o d   n e t w o r k :   E r r o r   f r o m   s e r v e r   ( N o t F o u n d ) :   t h e   s e r v e r   c o u l d   n o t   f i n d   t h e   r e q u e s t e d   r e s o u r c e   I f   y o u ' r e   u s i n g   f l a n n e l   a s   t h e   p o d   n e t w o r k   i n s i d e   V a g r a n t ,   t h e n   y o u   w i l l   h a v e   t o   s p e c i f y   t h e   d e f a u l t   i n t e r f a c e   n a m e   f o r   f l a n n e l . V a g r a n t   t y p i c a l l y   a s s i g n s   t w o   i n t e r f a c e s   t o   a l l   V M s .   T h e   f i r s t ,   f o r   w h i c h   a l l   h o s t s   a r e   a s s i g n e d   t h e   I P   a d d r e s s   1 0 . 0 . 2 . 1 5 ,   i s   f o r   e x t e r n a l   t r a f f i c   t h a t   g e t s   N A T e d . T h i s   m a y   l e a d   t o   p r o b l e m s   w i t h   f l a n n e l ,   w h i c h   d e f a u l t s   t o   t h e   f i r s t   i n t e r f a c e   o n   a   h o s t .   T h i s   l e a d s   t o   a l l   h o s t s   t h i n k i n g   t h e y   h a v e   t h e   s a m e   p u b l i c   I P   a d d r e s s .   T o   p r e v e n t   t h i s ,   p a s s   t h e   - - i f a c e   e t h 1   f l a g   t o   f l a n n e l   s o   t h a t   t h e   s e c o n d   i n t e r f a c e   i s   c h o s e n .   I f   y o u ' r e   u s i n g   f l a n n e l   a s   t h e   p o d   n e t w o r k   i n s i d e   V a g r a n t ,   t h e n   y o u   w i l l   h a v e   t o   s p e c i f y   t h e   d e f a u l t   i n t e r f a c e   n a m e   f o r   f l a n n e l .   V a g r a n t   t y p i c a l l y   a s s i g n s   t w o   i n t e r f a c e s   t o   a l l   V M s .   T h e   f i r s t ,   f o r   w h i c h   a l l   h o s t s   a r e   a s s i g n e d   t h e   I P   a d d r e s s   1 0 . 0 . 2 . 1 5 ,   i s   f o r   e x t e r n a l   t r a f f i c   t h a t   g e t s   N A T e d .   T h ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_section_2_4516"
  },
  {
    "question": "What is Non-public IP used for containers?",
    "answer": "I n   s o m e   s i t u a t i o n s   k u b e c t l   l o g s   a n d   k u b e c t l   r u n   c o m m a n d s   m a y   r e t u r n   w i t h   t h e   f o l l o w i n g   e r r o r s   i n   a n   o t h e r w i s e   f u n c t i o n a l   c l u s t e r :   E r r o r   f r o m   s e r v e r :   G e t   h t t p s : / / 1 0 . 1 9 . 0 . 4 1 : 1 0 2 5 0 / c o n t a i n e r L o g s / d e f a u l t / m y s q l - d d c 6 5 b 8 6 8 - g l c 5 m / m y s q l :   d i a l   t c p   1 0 . 1 9 . 0 . 4 1 : 1 0 2 5 0 :   g e t s o c k o p t :   n o   r o u t e   t o   h o s t   T h i s   m a y   b e   d u e   t o   K u b e r n e t e s   u s i n g   a n   I P   t h a t   c a n   n o t   c o m m u n i c a t e   w i t h   o t h e r   I P s   o n   t h e   s e e m i n g l y   s a m e   s u b n e t ,   p o s s i b l y   b y   p o l i c y   o f   t h e   m a c h i n e   p r o v i d e r . D i g i t a l O c e a n   a s s i g n s   a   p u b l i c   I P   t o   e t h 0   a s   w e l l   a s   a   p r i v a t e   o n e   t o   b e   u s e d   i n t e r n a l l y   a s   a n c h o r   f o r   t h e i r   f l o a t i n g   I P   f e a t u r e ,   y e t   k u b e l e t   w i l l   p i c k   t h e   l a t t e r   a s   t h e   n o d e ' s   I n t e r n a l I P   i n s t e a d   o f   t h e   p u b l i c   o n e . U s e   i p   a d d r   s h o w   t o   c h e c k   f o r   t h i s   s c e n a r i o   i n s t e a d   o f   i f c o n f i g   b e c a u s e   i f c o n f i g   w i l l   n o t   d i s p l a y   t h e   o f f e n d i n g   a l i a s   I P   a d d r e s s .   A l t e r n a t i v e l y   a n   A P I   e n d p o i n t   s p e c i f i c   t o   D i g i t a l O c e a n   a l l o w s   t o   q u e r y   f o r   t h e   a n c h o r   I P   f r o m   t h e   d r o p l e t : c u r l   h t t p : / / 1 6 9 . 2 5 4 . 1 6 9 . 2 5 4 / m e t a d a t a / v 1 / i n t e r f a c e s / p u b l i c / 0 / a n c h o r _ i p v 4 / a d d r e s s   T h e   w o r k a r o u n d   i s   t o   t e l l   k u b e l ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_section_2_4517"
  },
  {
    "question": "What is coredns pods have CrashLoopBackOff or Error state?",
    "answer": "I f   y o u   h a v e   n o d e s   t h a t   a r e   r u n n i n g   S E L i n u x   w i t h   a n   o l d e r   v e r s i o n   o f   D o c k e r ,   y o u   m i g h t   e x p e r i e n c e   a   s c e n a r i o   w h e r e   t h e   c o r e d n s   p o d s   a r e   n o t   s t a r t i n g .   T o   s o l v e   t h a t ,   y o u   c a n   t r y   o n e   o f   t h e   f o l l o w i n g   o p t i o n s :   U p g r a d e   t o   a   n e w e r   v e r s i o n   o f   D o c k e r . D i s a b l e   S E L i n u x . M o d i f y   t h e   c o r e d n s   d e p l o y m e n t   t o   s e t   a l l o w P r i v i l e g e E s c a l a t i o n   t o   t r u e :   U p g r a d e   t o   a   n e w e r   v e r s i o n   o f   D o c k e r .   D i s a b l e   S E L i n u x .   M o d i f y   t h e   c o r e d n s   d e p l o y m e n t   t o   s e t   a l l o w P r i v i l e g e E s c a l a t i o n   t o   t r u e :   k u b e c t l   - n   k u b e - s y s t e m   g e t   d e p l o y m e n t   c o r e d n s   - o   y a m l   |   \\   s e d   ' s / a l l o w P r i v i l e g e E s c a l a t i o n :   f a l s e / a l l o w P r i v i l e g e E s c a l a t i o n :   t r u e / g '   |   \\   k u b e c t l   a p p l y   - f   -   A n o t h e r   c a u s e   f o r   C o r e D N S   t o   h a v e   C r a s h L o o p B a c k O f f   i s   w h e n   a   C o r e D N S   P o d   d e p l o y e d   i n   K u b e r n e t e s   d e t e c t s   a   l o o p .   A   n u m b e r   o f   w o r k a r o u n d s   a r e   a v a i l a b l e   t o   a v o i d   K u b e r n e t e s   t r y i n g   t o   r e s t a r t   t h e   C o r e D N S   P o d   e v e r y   t i m e   C o r e D N S   d e t e c t s   t h e   l o o p   a n d   e x i t s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_section_2_4518"
  },
  {
    "question": "What is etcd pods restart continually?",
    "answer": "I f   y o u   e n c o u n t e r   t h e   f o l l o w i n g   e r r o r :   r p c   e r r o r :   c o d e   =   2   d e s c   =   o c i   r u n t i m e   e r r o r :   e x e c   f a i l e d :   c o n t a i n e r _ l i n u x . g o : 2 4 7 :   s t a r t i n g   c o n t a i n e r   p r o c e s s   c a u s e d   \" p r o c e s s _ l i n u x . g o : 1 1 0 :   d e c o d i n g   i n i t   e r r o r   f r o m   p i p e   c a u s e d   \\ \" r e a d   p a r e n t :   c o n n e c t i o n   r e s e t   b y   p e e r \\ \" \"   T h i s   i s s u e   a p p e a r s   i f   y o u   r u n   C e n t O S   7   w i t h   D o c k e r   1 . 1 3 . 1 . 8 4 .   T h i s   v e r s i o n   o f   D o c k e r   c a n   p r e v e n t   t h e   k u b e l e t   f r o m   e x e c u t i n g   i n t o   t h e   e t c d   c o n t a i n e r .   T o   w o r k   a r o u n d   t h e   i s s u e ,   c h o o s e   o n e   o f   t h e s e   o p t i o n s :   R o l l   b a c k   t o   a n   e a r l i e r   v e r s i o n   o f   D o c k e r ,   s u c h   a s   1 . 1 3 . 1 - 7 5 y u m   d o w n g r a d e   d o c k e r - 1 . 1 3 . 1 - 7 5 . g i t 8 6 3 3 8 7 0 . e l 7 . c e n t o s . x 8 6 _ 6 4   d o c k e r - c l i e n t - 1 . 1 3 . 1 - 7 5 . g i t 8 6 3 3 8 7 0 . e l 7 . c e n t o s . x 8 6 _ 6 4   d o c k e r - c o m m o n - 1 . 1 3 . 1 - 7 5 . g i t 8 6 3 3 8 7 0 . e l 7 . c e n t o s . x 8 6 _ 6 4   I n s t a l l   o n e   o f   t h e   m o r e   r e c e n t   r e c o m m e n d e d   v e r s i o n s ,   s u c h   a s   1 8 . 0 6 : s u d o   y u m - c o n f i g - m a n a g e r   - - a d d - r e p o   h t t p s : / / d o w n l o a d . d o c k e r . c o m / l i n u x / c e n t o s / d o c k e r - c e . r e p o   y u m   i n s t a l l   d o c k e r - c e - 1 8 . 0 6 . 1 . c e - 3 . e l 7 . x 8 6 _ 6 4   R o l l   b a c k   t o   a n   e a r l i e r   v e r s i o n   o f   D o c k e r ,   s u c h   a s   1 . 1 3 . 1 - 7 5   y u m   d o w n g r a d e   d o c k e r - 1 . 1 3 . 1 - 7 5 . g i t 8 6 3 3 8 7 0 . e l 7 . c ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_section_2_4519"
  },
  {
    "question": "What is Not possible to pass a comma separated list of values to arguments inside a --component-extra-args flag?",
    "answer": "k u b e a d m   i n i t   f l a g s   s u c h   a s   - - c o m p o n e n t - e x t r a - a r g s   a l l o w   y o u   t o   p a s s   c u s t o m   a r g u m e n t s   t o   a   c o n t r o l - p l a n e   c o m p o n e n t   l i k e   t h e   k u b e - a p i s e r v e r .   H o w e v e r ,   t h i s   m e c h a n i s m   i s   l i m i t e d   d u e   t o   t h e   u n d e r l y i n g   t y p e   u s e d   f o r   p a r s i n g   t h e   v a l u e s   ( m a p S t r i n g S t r i n g ) .   I f   y o u   d e c i d e   t o   p a s s   a n   a r g u m e n t   t h a t   s u p p o r t s   m u l t i p l e ,   c o m m a - s e p a r a t e d   v a l u e s   s u c h   a s   - - a p i s e r v e r - e x t r a - a r g s   \" e n a b l e - a d m i s s i o n - p l u g i n s = L i m i t R a n g e r , N a m e s p a c e E x i s t s \"   t h i s   f l a g   w i l l   f a i l   w i t h   f l a g :   m a l f o r m e d   p a i r ,   e x p e c t   s t r i n g = s t r i n g .   T h i s   h a p p e n s   b e c a u s e   t h e   l i s t   o f   a r g u m e n t s   f o r   - - a p i s e r v e r - e x t r a - a r g s   e x p e c t s   k e y = v a l u e   p a i r s   a n d   i n   t h i s   c a s e   N a m e s p a c e s E x i s t s   i s   c o n s i d e r e d   a s   a   k e y   t h a t   i s   m i s s i n g   a   v a l u e .   A l t e r n a t i v e l y ,   y o u   c a n   t r y   s e p a r a t i n g   t h e   k e y = v a l u e   p a i r s   l i k e   s o :   - - a p i s e r v e r - e x t r a - a r g s   \" e n a b l e - a d m i s s i o n - p l u g i n s = L i m i t R a n g e r , e n a b l e - a d m i s s i o n - p l u g i n s = N a m e s p a c e E x i s t s \"   b u t   t h i s   w i l l   r e s u l t   i n   t h e   k e y   e n a b l e - a d m i s s i o n - p l u g i n s   o n l y   h a v i n g   t h e   v a l u e   o f   N a m e s p a c e E x i s t s .   A   k n o w n   w o r k a r o u n d   i s   t o   u s e   t h e   k u b e a d m   c o n f i g u r a t i o n   f i l e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_section_2_4520"
  },
  {
    "question": "What is kube-proxy scheduled before node is initialized by cloud-controller-manager?",
    "answer": "I n   c l o u d   p r o v i d e r   s c e n a r i o s ,   k u b e - p r o x y   c a n   e n d   u p   b e i n g   s c h e d u l e d   o n   n e w   w o r k e r   n o d e s   b e f o r e   t h e   c l o u d - c o n t r o l l e r - m a n a g e r   h a s   i n i t i a l i z e d   t h e   n o d e   a d d r e s s e s .   T h i s   c a u s e s   k u b e - p r o x y   t o   f a i l   t o   p i c k   u p   t h e   n o d e ' s   I P   a d d r e s s   p r o p e r l y   a n d   h a s   k n o c k - o n   e f f e c t s   t o   t h e   p r o x y   f u n c t i o n   m a n a g i n g   l o a d   b a l a n c e r s .   T h e   f o l l o w i n g   e r r o r   c a n   b e   s e e n   i n   k u b e - p r o x y   P o d s :   s e r v e r . g o : 6 1 0 ]   F a i l e d   t o   r e t r i e v e   n o d e   I P :   h o s t   I P   u n k n o w n ;   k n o w n   a d d r e s s e s :   [ ]   p r o x i e r . g o : 3 4 0 ]   i n v a l i d   n o d e I P ,   i n i t i a l i z i n g   k u b e - p r o x y   w i t h   1 2 7 . 0 . 0 . 1   a s   n o d e I P   A   k n o w n   s o l u t i o n   i s   t o   p a t c h   t h e   k u b e - p r o x y   D a e m o n S e t   t o   a l l o w   s c h e d u l i n g   i t   o n   c o n t r o l - p l a n e   n o d e s   r e g a r d l e s s   o f   t h e i r   c o n d i t i o n s ,   k e e p i n g   i t   o f f   o f   o t h e r   n o d e s   u n t i l   t h e i r   i n i t i a l   g u a r d i n g   c o n d i t i o n s   a b a t e :   k u b e c t l   - n   k u b e - s y s t e m   p a t c h   d s   k u b e - p r o x y   - p = ' {   \" s p e c \" :   {   \" t e m p l a t e \" :   {   \" s p e c \" :   {   \" t o l e r a t i o n s \" :   [   {   \" k e y \" :   \" C r i t i c a l A d d o n s O n l y \" ,   \" o p e r a t o r \" :   \" E x i s t s \"   } ,   {   \" e f f e c t \" :   \" N o S c h e d u l e \" ,   \" k e y \" :   \" n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e \"   }   ]   }   }   }   } '   T h e   t r a c k i n g   i s s u e   f o r   t h i s   p r o b l ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_section_2_4521"
  },
  {
    "question": "What is /usr is mounted read-only on nodes?",
    "answer": "O n   L i n u x   d i s t r i b u t i o n s   s u c h   a s   F e d o r a   C o r e O S   o r   F l a t c a r   C o n t a i n e r   L i n u x ,   t h e   d i r e c t o r y   / u s r   i s   m o u n t e d   a s   a   r e a d - o n l y   f i l e s y s t e m .   F o r   f l e x - v o l u m e   s u p p o r t ,   K u b e r n e t e s   c o m p o n e n t s   l i k e   t h e   k u b e l e t   a n d   k u b e - c o n t r o l l e r - m a n a g e r   u s e   t h e   d e f a u l t   p a t h   o f   / u s r / l i b e x e c / k u b e r n e t e s / k u b e l e t - p l u g i n s / v o l u m e / e x e c / ,   y e t   t h e   f l e x - v o l u m e   d i r e c t o r y   m u s t   b e   w r i t e a b l e   f o r   t h e   f e a t u r e   t o   w o r k .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_section_2_4522"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   w o r k a r o u n d   t h i s   i s s u e ,   y o u   c a n   c o n f i g u r e   t h e   f l e x - v o l u m e   d i r e c t o r y   u s i n g   t h e   k u b e a d m   c o n f i g u r a t i o n   f i l e .   O n   t h e   p r i m a r y   c o n t r o l - p l a n e   N o d e   ( c r e a t e d   u s i n g   k u b e a d m   i n i t ) ,   p a s s   t h e   f o l l o w i n g   f i l e   u s i n g   - - c o n f i g :   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   I n i t C o n f i g u r a t i o n   n o d e R e g i s t r a t i o n :   k u b e l e t E x t r a A r g s :   -   n a m e :   \" v o l u m e - p l u g i n - d i r \"   v a l u e :   \" / o p t / l i b e x e c / k u b e r n e t e s / k u b e l e t - p l u g i n s / v o l u m e / e x e c / \"   - - -   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   C l u s t e r C o n f i g u r a t i o n   c o n t r o l l e r M a n a g e r :   e x t r a A r g s :   -   n a m e :   \" f l e x - v o l u m e - p l u g i n - d i r \"   v a l u e :   \" / o p t / l i b e x e c / k u b e r n e t e s / k u b e l e t - p l u g i n s / v o l u m e / e x e c / \"   O n   j o i n i n g   N o d e s :   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   J o i n C o n f i g u r a t i o n   n o d e R e g i s t r a t i o n :   k u b e l e t E x t r a A r g s :   -   n a m e :   \" v o l u m e - p l u g i n - d i r \"   v a l u e :   \" / o p t / l i b e x e c / k u b e r n e t e s / k u b e l e t - p l u g i n s / v o l u m e / e x e c / \"   A l t e r n a t i v e l y ,   y o u   c a n   m o d i f y   / e t c / f s t a b   t o   m a k e   t h e   / u s r   m o u n t   w r i t e a b l e ,   b u t   p l e a s e   b e   a d v i s e d   t h a t   t h i s   i s   m o d i f y i n g   a   d e s i g n   p r i n c i p l e   o f   t h e   L i n u x   d i s t r i b u t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_section_4_4523"
  },
  {
    "question": "What is kubeadm upgrade plan prints out context deadline exceeded error message?",
    "answer": "T h i s   e r r o r   m e s s a g e   i s   s h o w n   w h e n   u p g r a d i n g   a   K u b e r n e t e s   c l u s t e r   w i t h   k u b e a d m   i n   t h e   c a s e   o f   r u n n i n g   a n   e x t e r n a l   e t c d .   T h i s   i s   n o t   a   c r i t i c a l   b u g   a n d   h a p p e n s   b e c a u s e   o l d e r   v e r s i o n s   o f   k u b e a d m   p e r f o r m   a   v e r s i o n   c h e c k   o n   t h e   e x t e r n a l   e t c d   c l u s t e r .   Y o u   c a n   p r o c e e d   w i t h   k u b e a d m   u p g r a d e   a p p l y   . . . .   T h i s   i s s u e   i s   f i x e d   a s   o f   v e r s i o n   1 . 1 9 .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_section_2_4524"
  },
  {
    "question": "What is kubeadm reset unmounts /var/lib/kubelet?",
    "answer": "I f   / v a r / l i b / k u b e l e t   i s   b e i n g   m o u n t e d ,   p e r f o r m i n g   a   k u b e a d m   r e s e t   w i l l   e f f e c t i v e l y   u n m o u n t   i t .   T o   w o r k a r o u n d   t h e   i s s u e ,   r e - m o u n t   t h e   / v a r / l i b / k u b e l e t   d i r e c t o r y   a f t e r   p e r f o r m i n g   t h e   k u b e a d m   r e s e t   o p e r a t i o n .   T h i s   i s   a   r e g r e s s i o n   i n t r o d u c e d   i n   k u b e a d m   1 . 1 5 .   T h e   i s s u e   i s   f i x e d   i n   1 . 2 0 .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_section_2_4525"
  },
  {
    "question": "What is Cannot use the metrics-server securely in a kubeadm cluster?",
    "answer": "I n   a   k u b e a d m   c l u s t e r ,   t h e   m e t r i c s - s e r v e r   c a n   b e   u s e d   i n s e c u r e l y   b y   p a s s i n g   t h e   - - k u b e l e t - i n s e c u r e - t l s   t o   i t .   T h i s   i s   n o t   r e c o m m e n d e d   f o r   p r o d u c t i o n   c l u s t e r s .   I f   y o u   w a n t   t o   u s e   T L S   b e t w e e n   t h e   m e t r i c s - s e r v e r   a n d   t h e   k u b e l e t   t h e r e   i s   a   p r o b l e m ,   s i n c e   k u b e a d m   d e p l o y s   a   s e l f - s i g n e d   s e r v i n g   c e r t i f i c a t e   f o r   t h e   k u b e l e t .   T h i s   c a n   c a u s e   t h e   f o l l o w i n g   e r r o r s   o n   t h e   s i d e   o f   t h e   m e t r i c s - s e r v e r :   x 5 0 9 :   c e r t i f i c a t e   s i g n e d   b y   u n k n o w n   a u t h o r i t y   x 5 0 9 :   c e r t i f i c a t e   i s   v a l i d   f o r   I P - f o o   n o t   I P - b a r   S e e   E n a b l i n g   s i g n e d   k u b e l e t   s e r v i n g   c e r t i f i c a t e s   t o   u n d e r s t a n d   h o w   t o   c o n f i g u r e   t h e   k u b e l e t s   i n   a   k u b e a d m   c l u s t e r   t o   h a v e   p r o p e r l y   s i g n e d   s e r v i n g   c e r t i f i c a t e s .   A l s o   s e e   H o w   t o   r u n   t h e   m e t r i c s - s e r v e r   s e c u r e l y .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_section_2_4526"
  },
  {
    "question": "What is Upgrade fails due to etcd hash not changing?",
    "answer": "O n l y   a p p l i c a b l e   t o   u p g r a d i n g   a   c o n t r o l   p l a n e   n o d e   w i t h   a   k u b e a d m   b i n a r y   v 1 . 2 8 . 3   o r   l a t e r ,   w h e r e   t h e   n o d e   i s   c u r r e n t l y   m a n a g e d   b y   k u b e a d m   v e r s i o n s   v 1 . 2 8 . 0 ,   v 1 . 2 8 . 1   o r   v 1 . 2 8 . 2 .   H e r e   i s   t h e   e r r o r   m e s s a g e   y o u   m a y   e n c o u n t e r :   [ u p g r a d e / e t c d ]   F a i l e d   t o   u p g r a d e   e t c d :   c o u l d n ' t   u p g r a d e   c o n t r o l   p l a n e .   k u b e a d m   h a s   t r i e d   t o   r e c o v e r   e v e r y t h i n g   i n t o   t h e   e a r l i e r   s t a t e .   E r r o r s   f a c e d :   s t a t i c   P o d   h a s h   f o r   c o m p o n e n t   e t c d   o n   N o d e   k i n d e r - u p g r a d e - c o n t r o l - p l a n e - 1   d i d   n o t   c h a n g e   a f t e r   5 m 0 s :   t i m e d   o u t   w a i t i n g   f o r   t h e   c o n d i t i o n   [ u p g r a d e / e t c d ]   W a i t i n g   f o r   p r e v i o u s   e t c d   t o   b e c o m e   a v a i l a b l e   I 0 9 0 7   1 0 : 1 0 : 0 9 . 1 0 9 1 0 4   3 7 0 4   e t c d . g o : 5 8 8 ]   [ e t c d ]   a t t e m p t i n g   t o   s e e   i f   a l l   c l u s t e r   e n d p o i n t s   ( [ h t t p s : / / 1 7 2 . 1 7 . 0 . 6 : 2 3 7 9 /   h t t p s : / / 1 7 2 . 1 7 . 0 . 4 : 2 3 7 9 /   h t t p s : / / 1 7 2 . 1 7 . 0 . 3 : 2 3 7 9 / ] )   a r e   a v a i l a b l e   1 / 1 0   [ u p g r a d e / e t c d ]   E t c d   w a s   r o l l e d   b a c k   a n d   i s   n o w   a v a i l a b l e   s t a t i c   P o d   h a s h   f o r   c o m p o n e n t   e t c d   o n   N o d e   k i n d e r - u p g r a d e - c o n t r o l - p l a n e - 1   d i d   n o t   c h a n g e   a f t e r   5 m 0 s :   t i m e d   o u t   w a i t i n g   f o r   t h e   c o n d i t i o n   c o u l d n ' t   u p g r a d e   c o n t r o l   p l a n e .   k u b e a d m   h a s   t r i e d   t ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/",
    "id": "k8s_00236_section_2_4527"
  },
  {
    "question": "What is Manual Rotation of CA Certificates?",
    "answer": "Manual Rotation of CA CertificatesThis page shows how to manually rotate the certificate authority (CA) certificates.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesFor more information about authentication in Kubernetes, see Authenticating.For more information about best practices for CA certificates, see Single root CA.Rotate the CA certificates manuallyCaution:Make sure to back up your certificate directory along with configuration files and any other necessary files.This approach assumes operation of the Kubernetes control plane in a HA configuration with multiple API servers. Graceful termination of the API server is also assumed so clients can cleanly disconnect from one API server and reconnect to another.Configurations with a single API server will experience unavailability while the API server is being restarted.Distribute the new CA certificates and private keys (for example: ca.crt, ca.key, front-proxy-ca.crt, and front-proxy-ca.key) to all your control plane nodes in the Kubernetes certificates directory.Update the --root-ca-file flag for the kube-controller-manager to include both old and new CA, then restart the kube-controller-manager.Any ServiceAccount created after this point will get Secrets that include both old and new CAs.Note:The files specified by the kube-controller-manager flags --client-ca-file and --cluster-signing-cert-file cannot be CA bundles. If these flags and --root-ca-file point to the same ca.crt file which is now a bundle (includes both old and new CA) you will face an error. To workaround this problem you can copy the new CA to a separate file and make the flags --client-ca-file and --cluster-signing-cert-file point to the copy. Once ca.crt is no longer a bundle you can restore the problem flags to point to ca.crt and delete the copy.Issue 1350 for kubeadm tracks an bug with the kube-controller-manager being unable to accept a CA bundle.Wait for the controller manager to update ca.crt in the service account Secrets to include both old and new CA certificates.If any Pods are started before new CA is used by API servers, the new Pods get this update and will trust both old and new CAs.Restart all pods using in-cluster configurations (for example: kube-proxy, CoreDNS, etc) so they can use the updated certificate authority data from Secrets that link to ServiceAccounts.Make sure CoreDNS, kube-proxy and other Pods using in-cluster configurations are working as expected.Append the both old and new CA to the file against --client-ca-file and --kubelet-certificate-authority flag in the kube-apiserver configuration.Append the both old ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/tls/manual-rotation-of-ca-certificates/",
    "id": "k8s_00237_qa_4528"
  },
  {
    "question": "How does Manual Rotation of CA Certificates work?",
    "answer": "Manual Rotation of CA CertificatesThis page shows how to manually rotate the certificate authority (CA) certificates.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesFor more information about authentication in Kubernetes, see Authenticating.For more information about best practices for CA certificates, see Single root CA.Rotate the CA certificates manuallyCaution:Make sure to back up your certificate directory along with configuration files and any other necessary files.This approach assumes operation of the Kubernetes control plane in a HA configuration with multiple API servers. Graceful termination of the API server is also assumed so clients can cleanly disconnect from one API server and reconnect to another.Configurations with a single API server will experience unavailability while the API server is being restarted.Distribute the new CA certificates and private keys (for example: ca.crt, ca.key, front-proxy-ca.crt, and front-proxy-ca.key) to all your control plane nodes in the Kubernetes certificates directory.Update the --root-ca-file flag for the kube-controller-manager to include both old and new CA, then restart the kube-controller-manager.Any ServiceAccount created after this point will get Secrets that include both old and new CAs.Note:The files specified by the kube-controller-manager flags --client-ca-file and --cluster-signing-cert-file cannot be CA bundles. If these flags and --root-ca-file point to the same ca.crt file which is now a bundle (includes both old and new CA) you will face an error. To workaround this problem you can copy the new CA to a separate file and make the flags --client-ca-file and --cluster-signing-cert-file point to the copy. Once ca.crt is no longer a bundle you can restore the problem flags to point to ca.crt and delete the copy.Issue 1350 for kubeadm tracks an bug with the kube-controller-manager being unable to accept a CA bundle.Wait for the controller manager to update ca.crt in the service account Secrets to include both old and new CA certificates.If any Pods are started before new CA is used by API servers, the new Pods get this update and will trust both old and new CAs.Restart all pods using in-cluster configurations (for example: kube-proxy, CoreDNS, etc) so they can use the updated certificate authority data from Secrets that link to ServiceAccounts.Make sure CoreDNS, kube-proxy and other Pods using in-cluster configurations are working as expected.Append the both old and new CA to the file against --client-ca-file and --kubelet-certificate-authority flag in the kube-apiserver configuration.Append the both old ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/tls/manual-rotation-of-ca-certificates/",
    "id": "k8s_00237_qa_4529"
  },
  {
    "question": "When would you use Manual Rotation of CA Certificates?",
    "answer": "Manual Rotation of CA CertificatesThis page shows how to manually rotate the certificate authority (CA) certificates.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesFor more information about authentication in Kubernetes, see Authenticating.For more information about best practices for CA certificates, see Single root CA.Rotate the CA certificates manuallyCaution:Make sure to back up your certificate directory along with configuration files and any other necessary files.This approach assumes operation of the Kubernetes control plane in a HA configuration with multiple API servers. Graceful termination of the API server is also assumed so clients can cleanly disconnect from one API server and reconnect to another.Configurations with a single API server will experience unavailability while the API server is being restarted.Distribute the new CA certificates and private keys (for example: ca.crt, ca.key, front-proxy-ca.crt, and front-proxy-ca.key) to all your control plane nodes in the Kubernetes certificates directory.Update the --root-ca-file flag for the kube-controller-manager to include both old and new CA, then restart the kube-controller-manager.Any ServiceAccount created after this point will get Secrets that include both old and new CAs.Note:The files specified by the kube-controller-manager flags --client-ca-file and --cluster-signing-cert-file cannot be CA bundles. If these flags and --root-ca-file point to the same ca.crt file which is now a bundle (includes both old and new CA) you will face an error. To workaround this problem you can copy the new CA to a separate file and make the flags --client-ca-file and --cluster-signing-cert-file point to the copy. Once ca.crt is no longer a bundle you can restore the problem flags to point to ca.crt and delete the copy.Issue 1350 for kubeadm tracks an bug with the kube-controller-manager being unable to accept a CA bundle.Wait for the controller manager to update ca.crt in the service account Secrets to include both old and new CA certificates.If any Pods are started before new CA is used by API servers, the new Pods get this update and will trust both old and new CAs.Restart all pods using in-cluster configurations (for example: kube-proxy, CoreDNS, etc) so they can use the updated certificate authority data from Secrets that link to ServiceAccounts.Make sure CoreDNS, kube-proxy and other Pods using in-cluster configurations are working as expected.Append the both old and new CA to the file against --client-ca-file and --kubelet-certificate-authority flag in the kube-apiserver configuration.Append the both old ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/tls/manual-rotation-of-ca-certificates/",
    "id": "k8s_00237_qa_4530"
  },
  {
    "question": "What are the benefits of Manual Rotation of CA Certificates?",
    "answer": "Manual Rotation of CA CertificatesThis page shows how to manually rotate the certificate authority (CA) certificates.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesFor more information about authentication in Kubernetes, see Authenticating.For more information about best practices for CA certificates, see Single root CA.Rotate the CA certificates manuallyCaution:Make sure to back up your certificate directory along with configuration files and any other necessary files.This approach assumes operation of the Kubernetes control plane in a HA configuration with multiple API servers. Graceful termination of the API server is also assumed so clients can cleanly disconnect from one API server and reconnect to another.Configurations with a single API server will experience unavailability while the API server is being restarted.Distribute the new CA certificates and private keys (for example: ca.crt, ca.key, front-proxy-ca.crt, and front-proxy-ca.key) to all your control plane nodes in the Kubernetes certificates directory.Update the --root-ca-file flag for the kube-controller-manager to include both old and new CA, then restart the kube-controller-manager.Any ServiceAccount created after this point will get Secrets that include both old and new CAs.Note:The files specified by the kube-controller-manager flags --client-ca-file and --cluster-signing-cert-file cannot be CA bundles. If these flags and --root-ca-file point to the same ca.crt file which is now a bundle (includes both old and new CA) you will face an error. To workaround this problem you can copy the new CA to a separate file and make the flags --client-ca-file and --cluster-signing-cert-file point to the copy. Once ca.crt is no longer a bundle you can restore the problem flags to point to ca.crt and delete the copy.Issue 1350 for kubeadm tracks an bug with the kube-controller-manager being unable to accept a CA bundle.Wait for the controller manager to update ca.crt in the service account Secrets to include both old and new CA certificates.If any Pods are started before new CA is used by API servers, the new Pods get this update and will trust both old and new CAs.Restart all pods using in-cluster configurations (for example: kube-proxy, CoreDNS, etc) so they can use the updated certificate authority data from Secrets that link to ServiceAccounts.Make sure CoreDNS, kube-proxy and other Pods using in-cluster configurations are working as expected.Append the both old and new CA to the file against --client-ca-file and --kubelet-certificate-authority flag in the kube-apiserver configuration.Append the both old ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/tls/manual-rotation-of-ca-certificates/",
    "id": "k8s_00237_qa_4531"
  },
  {
    "question": "What is Manual Rotation of CA Certificates?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   m a n u a l l y   r o t a t e   t h e   c e r t i f i c a t e   a u t h o r i t y   ( C A )   c e r t i f i c a t e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/tls/manual-rotation-of-ca-certificates/",
    "id": "k8s_00237_section_1_4532"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   F o r   m o r e   i n f o r m a t i o n   a b o u t   a u t h e n t i c a t i o n   i n   K u b e r n e t e s ,   s e e   A u t h e n t i c a t i n g . F o r   m o r e   i n f o r m a t i o n   a b o u t   b e s t   p r a c t i c e s   f o r   C A   c e r t i f i c a t e s ,   s e e   S i n g l e   r o o t   C A .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/tls/manual-rotation-of-ca-certificates/",
    "id": "k8s_00237_section_2_4533"
  },
  {
    "question": "What is Caution:?",
    "answer": "M a k e   s u r e   t o   b a c k   u p   y o u r   c e r t i f i c a t e   d i r e c t o r y   a l o n g   w i t h   c o n f i g u r a t i o n   f i l e s   a n d   a n y   o t h e r   n e c e s s a r y   f i l e s .   T h i s   a p p r o a c h   a s s u m e s   o p e r a t i o n   o f   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   i n   a   H A   c o n f i g u r a t i o n   w i t h   m u l t i p l e   A P I   s e r v e r s .   G r a c e f u l   t e r m i n a t i o n   o f   t h e   A P I   s e r v e r   i s   a l s o   a s s u m e d   s o   c l i e n t s   c a n   c l e a n l y   d i s c o n n e c t   f r o m   o n e   A P I   s e r v e r   a n d   r e c o n n e c t   t o   a n o t h e r .   C o n f i g u r a t i o n s   w i t h   a   s i n g l e   A P I   s e r v e r   w i l l   e x p e r i e n c e   u n a v a i l a b i l i t y   w h i l e   t h e   A P I   s e r v e r   i s   b e i n g   r e s t a r t e d .   D i s t r i b u t e   t h e   n e w   C A   c e r t i f i c a t e s   a n d   p r i v a t e   k e y s   ( f o r   e x a m p l e :   c a . c r t ,   c a . k e y ,   f r o n t - p r o x y - c a . c r t ,   a n d   f r o n t - p r o x y - c a . k e y )   t o   a l l   y o u r   c o n t r o l   p l a n e   n o d e s   i n   t h e   K u b e r n e t e s   c e r t i f i c a t e s   d i r e c t o r y . U p d a t e   t h e   - - r o o t - c a - f i l e   f l a g   f o r   t h e   k u b e - c o n t r o l l e r - m a n a g e r   t o   i n c l u d e   b o t h   o l d   a n d   n e w   C A ,   t h e n   r e s t a r t   t h e   k u b e - c o n t r o l l e r - m a n a g e r . A n y   S e r v i c e A c c o u n t   c r e a t e d   a f t e r   t h i s   p o i n t   w i l l   g e t   S e c r e t s   t h a t   i n c l u d e   b o t h   o l d   a n d   n e w   C A s . N o t e : T h e   f i l e s   s p e c i f i e d   b y   t h e   k u b e - c o n t r o l l e r - m a n a g e r   f l a g s   - - c l i e n t - c a - f i l e   a n d   - - c l u s t e r - s i g n i n g ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/tls/manual-rotation-of-ca-certificates/",
    "id": "k8s_00237_section_4_4534"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   f i l e s   s p e c i f i e d   b y   t h e   k u b e - c o n t r o l l e r - m a n a g e r   f l a g s   - - c l i e n t - c a - f i l e   a n d   - - c l u s t e r - s i g n i n g - c e r t - f i l e   c a n n o t   b e   C A   b u n d l e s .   I f   t h e s e   f l a g s   a n d   - - r o o t - c a - f i l e   p o i n t   t o   t h e   s a m e   c a . c r t   f i l e   w h i c h   i s   n o w   a   b u n d l e   ( i n c l u d e s   b o t h   o l d   a n d   n e w   C A )   y o u   w i l l   f a c e   a n   e r r o r .   T o   w o r k a r o u n d   t h i s   p r o b l e m   y o u   c a n   c o p y   t h e   n e w   C A   t o   a   s e p a r a t e   f i l e   a n d   m a k e   t h e   f l a g s   - - c l i e n t - c a - f i l e   a n d   - - c l u s t e r - s i g n i n g - c e r t - f i l e   p o i n t   t o   t h e   c o p y .   O n c e   c a . c r t   i s   n o   l o n g e r   a   b u n d l e   y o u   c a n   r e s t o r e   t h e   p r o b l e m   f l a g s   t o   p o i n t   t o   c a . c r t   a n d   d e l e t e   t h e   c o p y .   I s s u e   1 3 5 0   f o r   k u b e a d m   t r a c k s   a n   b u g   w i t h   t h e   k u b e - c o n t r o l l e r - m a n a g e r   b e i n g   u n a b l e   t o   a c c e p t   a   C A   b u n d l e .   W a i t   f o r   t h e   c o n t r o l l e r   m a n a g e r   t o   u p d a t e   c a . c r t   i n   t h e   s e r v i c e   a c c o u n t   S e c r e t s   t o   i n c l u d e   b o t h   o l d   a n d   n e w   C A   c e r t i f i c a t e s .   I f   a n y   P o d s   a r e   s t a r t e d   b e f o r e   n e w   C A   i s   u s e d   b y   A P I   s e r v e r s ,   t h e   n e w   P o d s   g e t   t h i s   u p d a t e   a n d   w i l l   t r u s t   b o t h   o l d   a n d   n e w   C A s .   R e s t a r t   a l l   p o d s   u s i n g   i n - c l u s t e r   c o n f i g u r a t i o n s   ( f o r   e x a m p l e :   k u b e - p r o x y ,   C o r e D N S ,   e t c )   s o   t h e y   c a n   u s e   t h ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/tls/manual-rotation-of-ca-certificates/",
    "id": "k8s_00237_section_4_4535"
  },
  {
    "question": "What is Note:?",
    "answer": "F o l l o w   t h e   s t e p s   b e l o w   i n   a   r o l l i n g   f a s h i o n .   R e s t a r t   a n y   o t h e r   a g g r e g a t e d   A P I   s e r v e r s   o r   w e b h o o k   h a n d l e r s   t o   t r u s t   t h e   n e w   C A   c e r t i f i c a t e s . R e s t a r t   t h e   k u b e l e t   b y   u p d a t e   t h e   f i l e   a g a i n s t   c l i e n t C A F i l e   i n   k u b e l e t   c o n f i g u r a t i o n   a n d   c e r t i f i c a t e - a u t h o r i t y - d a t a   i n   k u b e l e t . c o n f   t o   u s e   b o t h   t h e   o l d   a n d   n e w   C A   o n   a l l   n o d e s . I f   y o u r   k u b e l e t   i s   n o t   u s i n g   c l i e n t   c e r t i f i c a t e   r o t a t i o n ,   u p d a t e   c l i e n t - c e r t i f i c a t e - d a t a   a n d   c l i e n t - k e y - d a t a   i n   k u b e l e t . c o n f   o n   a l l   n o d e s   a l o n g   w i t h   t h e   k u b e l e t   c l i e n t   c e r t i f i c a t e   f i l e   u s u a l l y   f o u n d   i n   / v a r / l i b / k u b e l e t / p k i . R e s t a r t   A P I   s e r v e r s   w i t h   t h e   c e r t i f i c a t e s   ( a p i s e r v e r . c r t ,   a p i s e r v e r - k u b e l e t - c l i e n t . c r t   a n d   f r o n t - p r o x y - c l i e n t . c r t )   s i g n e d   b y   n e w   C A .   Y o u   c a n   u s e   t h e   e x i s t i n g   p r i v a t e   k e y s   o r   n e w   p r i v a t e   k e y s .   I f   y o u   c h a n g e d   t h e   p r i v a t e   k e y s   t h e n   u p d a t e   t h e s e   i n   t h e   K u b e r n e t e s   c e r t i f i c a t e s   d i r e c t o r y   a s   w e l l . S i n c e   t h e   P o d s   i n   y o u r   c l u s t e r   t r u s t   b o t h   o l d   a n d   n e w   C A s ,   t h e r e   w i l l   b e   a   m o m e n t a r i l y   d i s c o n n e c t i o n   a f t e r   w h i c h   p o d s '   K u b e r n e t e s   c l i e n t s   r e c o n n e c t   t o   t h e   n e w   A P I   s e r v e r .   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/tls/manual-rotation-of-ca-certificates/",
    "id": "k8s_00237_section_4_4536"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   g e n e r a t e   c e r t i f i c a t e s   a n d   p r i v a t e   k e y s   f o r   y o u r   c l u s t e r   u s i n g   t h e   ` o p e n s s l `   c o m m a n d   l i n e   t o o l ,   s e e   [ C e r t i f i c a t e s   ( ` o p e n s s l ` ) ] ( / d o c s / t a s k s / a d m i n i s t e r - c l u s t e r / c e r t i f i c a t e s / # o p e n s s l ) .   Y o u   c a n   a l s o   u s e   [ ` c f s s l ` ] ( / d o c s / t a s k s / a d m i n i s t e r - c l u s t e r / c e r t i f i c a t e s / # c f s s l ) .   A n n o t a t e   a n y   D a e m o n S e t s   a n d   D e p l o y m e n t s   t o   t r i g g e r   p o d   r e p l a c e m e n t   i n   a   s a f e r   r o l l i n g   f a s h i o n .   f o r   n a m e s p a c e   i n   $ ( k u b e c t l   g e t   n a m e s p a c e   - o   j s o n p a t h = ' { . i t e m s [ * ] . m e t a d a t a . n a m e } ' ) ;   d o   f o r   n a m e   i n   $ ( k u b e c t l   g e t   d e p l o y m e n t s   - n   $ n a m e s p a c e   - o   j s o n p a t h = ' { . i t e m s [ * ] . m e t a d a t a . n a m e } ' ) ;   d o   k u b e c t l   p a t c h   d e p l o y m e n t   - n   $ { n a m e s p a c e }   $ { n a m e }   - p   ' { \" s p e c \" : { \" t e m p l a t e \" : { \" m e t a d a t a \" : { \" a n n o t a t i o n s \" : { \" c a - r o t a t i o n \" :   \" 1 \" } } } } } ' ;   d o n e   f o r   n a m e   i n   $ ( k u b e c t l   g e t   d a e m o n s e t   - n   $ n a m e s p a c e   - o   j s o n p a t h = ' { . i t e m s [ * ] . m e t a d a t a . n a m e } ' ) ;   d o   k u b e c t l   p a t c h   d a e m o n s e t   - n   $ { n a m e s p a c e }   $ { n a m e }   - p   ' { \" s p e c \" : { \" t e m p l a t e \" : { \" m e t a d a t a \" : { \" a n n o t a t i o n s \" : { \" c a - r o t a t i o n \" :   \" 1 \" } } } } } ' ;   d o n e   d o n e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/tls/manual-rotation-of-ca-certificates/",
    "id": "k8s_00237_section_4_4537"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   l i m i t   t h e   n u m b e r   o f   c o n c u r r e n t   d i s r u p t i o n s   t h a t   y o u r   a p p l i c a t i o n   e x p e r i e n c e s ,   s e e   [ c o n f i g u r e   p o d   d i s r u p t i o n   b u d g e t ] ( / d o c s / t a s k s / r u n - a p p l i c a t i o n / c o n f i g u r e - p d b / ) .   D e p e n d i n g   o n   h o w   y o u   u s e   S t a t e f u l S e t s   y o u   m a y   a l s o   n e e d   t o   p e r f o r m   s i m i l a r   r o l l i n g   r e p l a c e m e n t .   I f   y o u r   c l u s t e r   i s   u s i n g   b o o t s t r a p   t o k e n s   t o   j o i n   n o d e s ,   u p d a t e   t h e   C o n f i g M a p   c l u s t e r - i n f o   i n   t h e   k u b e - p u b l i c   n a m e s p a c e   w i t h   n e w   C A .   b a s e 6 4 _ e n c o d e d _ c a = \" $ ( b a s e 6 4   - w 0   / e t c / k u b e r n e t e s / p k i / c a . c r t ) \"   k u b e c t l   g e t   c m / c l u s t e r - i n f o   - - n a m e s p a c e   k u b e - p u b l i c   - o   y a m l   |   \\   / b i n / s e d   \" s / \\ ( c e r t i f i c a t e - a u t h o r i t y - d a t a : \\ ) . * / \\ 1   $ { b a s e 6 4 _ e n c o d e d _ c a } / \"   |   \\   k u b e c t l   a p p l y   - f   -   V e r i f y   t h e   c l u s t e r   f u n c t i o n a l i t y .   C h e c k   t h e   l o g s   f r o m   c o n t r o l   p l a n e   c o m p o n e n t s ,   a l o n g   w i t h   t h e   k u b e l e t   a n d   t h e   k u b e - p r o x y .   E n s u r e   t h o s e   c o m p o n e n t s   a r e   n o t   r e p o r t i n g   a n y   T L S   e r r o r s ;   s e e   l o o k i n g   a t   t h e   l o g s   f o r   m o r e   d e t a i l s . V a l i d a t e   l o g s   f r o m   a n y   a g g r e g a t e d   a p i   s e r v e r s   a n d   p o d s   u s i n g   i n - c l u s t e r   c o n f i g .   C h e c k   t h e   l o g s   f r o m   c o n t r o l   p l a n e   c o m p o n e n t s ,   a l o n g   w i t h   t h e   k u b e l e t   a n d   t h e   k u b e - p r o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/tls/manual-rotation-of-ca-certificates/",
    "id": "k8s_00237_section_4_4538"
  },
  {
    "question": "What is kubectl rollout pause?",
    "answer": "kubectl rollout pauseSynopsisMark the provided resource as paused.Paused resources will not be reconciled by a controller. Use \"kubectl rollout resume\" to resume a paused resource. Currently only deployments support being paused.kubectl rollout pause RESOURCE Examples # Mark the nginx deployment as paused # Any current state of the deployment will continue its function; new updates # to the deployment will not have an effect as long as the deployment is paused kubectl rollout pause deployment/nginx Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--field-manager string Default: \"kubectl-rollout\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for pause-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning of",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_pause/",
    "id": "k8s_00238_qa_4539"
  },
  {
    "question": "How does kubectl rollout pause work?",
    "answer": "kubectl rollout pauseSynopsisMark the provided resource as paused.Paused resources will not be reconciled by a controller. Use \"kubectl rollout resume\" to resume a paused resource. Currently only deployments support being paused.kubectl rollout pause RESOURCE Examples # Mark the nginx deployment as paused # Any current state of the deployment will continue its function; new updates # to the deployment will not have an effect as long as the deployment is paused kubectl rollout pause deployment/nginx Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--field-manager string Default: \"kubectl-rollout\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for pause-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning of",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_pause/",
    "id": "k8s_00238_qa_4540"
  },
  {
    "question": "When would you use kubectl rollout pause?",
    "answer": "kubectl rollout pauseSynopsisMark the provided resource as paused.Paused resources will not be reconciled by a controller. Use \"kubectl rollout resume\" to resume a paused resource. Currently only deployments support being paused.kubectl rollout pause RESOURCE Examples # Mark the nginx deployment as paused # Any current state of the deployment will continue its function; new updates # to the deployment will not have an effect as long as the deployment is paused kubectl rollout pause deployment/nginx Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--field-manager string Default: \"kubectl-rollout\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for pause-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning of",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_pause/",
    "id": "k8s_00238_qa_4541"
  },
  {
    "question": "What are the benefits of kubectl rollout pause?",
    "answer": "kubectl rollout pauseSynopsisMark the provided resource as paused.Paused resources will not be reconciled by a controller. Use \"kubectl rollout resume\" to resume a paused resource. Currently only deployments support being paused.kubectl rollout pause RESOURCE Examples # Mark the nginx deployment as paused # Any current state of the deployment will continue its function; new updates # to the deployment will not have an effect as long as the deployment is paused kubectl rollout pause deployment/nginx Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--field-manager string Default: \"kubectl-rollout\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for pause-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning of",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_pause/",
    "id": "k8s_00238_qa_4542"
  },
  {
    "question": "What is Synopsis?",
    "answer": "M a r k   t h e   p r o v i d e d   r e s o u r c e   a s   p a u s e d .   P a u s e d   r e s o u r c e s   w i l l   n o t   b e   r e c o n c i l e d   b y   a   c o n t r o l l e r .   U s e   \" k u b e c t l   r o l l o u t   r e s u m e \"   t o   r e s u m e   a   p a u s e d   r e s o u r c e .   C u r r e n t l y   o n l y   d e p l o y m e n t s   s u p p o r t   b e i n g   p a u s e d .   k u b e c t l   r o l l o u t   p a u s e   R E S O U R C E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_pause/",
    "id": "k8s_00238_section_2_4543"
  },
  {
    "question": "What is Examples?",
    "answer": "#   M a r k   t h e   n g i n x   d e p l o y m e n t   a s   p a u s e d   #   A n y   c u r r e n t   s t a t e   o f   t h e   d e p l o y m e n t   w i l l   c o n t i n u e   i t s   f u n c t i o n ;   n e w   u p d a t e s   #   t o   t h e   d e p l o y m e n t   w i l l   n o t   h a v e   a n   e f f e c t   a s   l o n g   a s   t h e   d e p l o y m e n t   i s   p a u s e d   k u b e c t l   r o l l o u t   p a u s e   d e p l o y m e n t / n g i n x",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_pause/",
    "id": "k8s_00238_section_2_4544"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   p a u s e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_pause/",
    "id": "k8s_00238_section_2_4545"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_pause/",
    "id": "k8s_00238_section_2_4546"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   r o l l o u t   -   M a n a g e   t h e   r o l l o u t   o f   a   r e s o u r c e   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_pause/",
    "id": "k8s_00238_section_2_4547"
  },
  {
    "question": "What is Declarative Management of Kubernetes Objects Using Kustomize?",
    "answer": "Declarative Management of Kubernetes Objects Using KustomizeKustomize is a standalone tool to customize Kubernetes objects through a kustomization file.Since 1.14, kubectl also supports the management of Kubernetes objects using a kustomization file. To view resources found in a directory containing a kustomization file, run the following command:kubectl kustomize <kustomization_directory> To apply those resources, run kubectl apply with --kustomize or -k flag:kubectl apply -k <kustomization_directory> Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Overview of KustomizeKustomize is a tool for customizing Kubernetes configurations. It has the following features to manage application configuration files:generating resources from other sourcessetting cross-cutting fields for resourcescomposing and customizing collections of resourcesGenerating ResourcesConfigMaps and Secrets hold configuration or sensitive data that are used by other Kubernetes objects, such as Pods. The source of truth of ConfigMaps or Secrets are usually external to a cluster, such as a .properties file or an SSH keyfile. Kustomize has secretGenerator and configMapGenerator, which generate Secret and ConfigMap from files or literals.configMapGeneratorTo generate a ConfigMap from a file, add an entry to the files list in configMapGenerator. Here is an example of generating a ConfigMap with a data item from a .properties file:# Create a application.properties file cat <<EOF >application.properties FOO=Bar EOF cat <<EOF >./kustomization.yaml configMapGenerator: - name: example-configmap-1 files: - application.properties EOF The generated ConfigMap can be examined with the following command:kubectl kustomize ./ The generated ConfigMap is:apiVersion: v1 data: application.properties: | FOO=Bar kind: ConfigMap metadata: name: example-configmap-1-8mbdf7882g To generate a ConfigMap from an env file, add an entry to the envs list in configMapGenerator. Here is an example of generating a ConfigMap with a data item from a .env file:# Create a .env file cat <<EOF >.env FOO=Bar EOF cat <<EOF >./kustomization.yaml configMapGenerator: - name: example-configmap-1 envs: - .env EOF The generated ConfigMap can be examined with the following command:kubectl kustomize ./ The generated ConfigMap is:apiVersion: v1 data: FOO: Bar kind: ConfigMap metadata: name: example-configmap-1-42cfbf598f Note:Each variable in the .env file becomes a separate key in the ConfigMap that you generate. This is different from the previous example which embeds a file named applicat",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/",
    "id": "k8s_00239_qa_4548"
  },
  {
    "question": "How does Declarative Management of Kubernetes Objects Using Kustomize work?",
    "answer": "Declarative Management of Kubernetes Objects Using KustomizeKustomize is a standalone tool to customize Kubernetes objects through a kustomization file.Since 1.14, kubectl also supports the management of Kubernetes objects using a kustomization file. To view resources found in a directory containing a kustomization file, run the following command:kubectl kustomize <kustomization_directory> To apply those resources, run kubectl apply with --kustomize or -k flag:kubectl apply -k <kustomization_directory> Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Overview of KustomizeKustomize is a tool for customizing Kubernetes configurations. It has the following features to manage application configuration files:generating resources from other sourcessetting cross-cutting fields for resourcescomposing and customizing collections of resourcesGenerating ResourcesConfigMaps and Secrets hold configuration or sensitive data that are used by other Kubernetes objects, such as Pods. The source of truth of ConfigMaps or Secrets are usually external to a cluster, such as a .properties file or an SSH keyfile. Kustomize has secretGenerator and configMapGenerator, which generate Secret and ConfigMap from files or literals.configMapGeneratorTo generate a ConfigMap from a file, add an entry to the files list in configMapGenerator. Here is an example of generating a ConfigMap with a data item from a .properties file:# Create a application.properties file cat <<EOF >application.properties FOO=Bar EOF cat <<EOF >./kustomization.yaml configMapGenerator: - name: example-configmap-1 files: - application.properties EOF The generated ConfigMap can be examined with the following command:kubectl kustomize ./ The generated ConfigMap is:apiVersion: v1 data: application.properties: | FOO=Bar kind: ConfigMap metadata: name: example-configmap-1-8mbdf7882g To generate a ConfigMap from an env file, add an entry to the envs list in configMapGenerator. Here is an example of generating a ConfigMap with a data item from a .env file:# Create a .env file cat <<EOF >.env FOO=Bar EOF cat <<EOF >./kustomization.yaml configMapGenerator: - name: example-configmap-1 envs: - .env EOF The generated ConfigMap can be examined with the following command:kubectl kustomize ./ The generated ConfigMap is:apiVersion: v1 data: FOO: Bar kind: ConfigMap metadata: name: example-configmap-1-42cfbf598f Note:Each variable in the .env file becomes a separate key in the ConfigMap that you generate. This is different from the previous example which embeds a file named applicat",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/",
    "id": "k8s_00239_qa_4549"
  },
  {
    "question": "When would you use Declarative Management of Kubernetes Objects Using Kustomize?",
    "answer": "Declarative Management of Kubernetes Objects Using KustomizeKustomize is a standalone tool to customize Kubernetes objects through a kustomization file.Since 1.14, kubectl also supports the management of Kubernetes objects using a kustomization file. To view resources found in a directory containing a kustomization file, run the following command:kubectl kustomize <kustomization_directory> To apply those resources, run kubectl apply with --kustomize or -k flag:kubectl apply -k <kustomization_directory> Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Overview of KustomizeKustomize is a tool for customizing Kubernetes configurations. It has the following features to manage application configuration files:generating resources from other sourcessetting cross-cutting fields for resourcescomposing and customizing collections of resourcesGenerating ResourcesConfigMaps and Secrets hold configuration or sensitive data that are used by other Kubernetes objects, such as Pods. The source of truth of ConfigMaps or Secrets are usually external to a cluster, such as a .properties file or an SSH keyfile. Kustomize has secretGenerator and configMapGenerator, which generate Secret and ConfigMap from files or literals.configMapGeneratorTo generate a ConfigMap from a file, add an entry to the files list in configMapGenerator. Here is an example of generating a ConfigMap with a data item from a .properties file:# Create a application.properties file cat <<EOF >application.properties FOO=Bar EOF cat <<EOF >./kustomization.yaml configMapGenerator: - name: example-configmap-1 files: - application.properties EOF The generated ConfigMap can be examined with the following command:kubectl kustomize ./ The generated ConfigMap is:apiVersion: v1 data: application.properties: | FOO=Bar kind: ConfigMap metadata: name: example-configmap-1-8mbdf7882g To generate a ConfigMap from an env file, add an entry to the envs list in configMapGenerator. Here is an example of generating a ConfigMap with a data item from a .env file:# Create a .env file cat <<EOF >.env FOO=Bar EOF cat <<EOF >./kustomization.yaml configMapGenerator: - name: example-configmap-1 envs: - .env EOF The generated ConfigMap can be examined with the following command:kubectl kustomize ./ The generated ConfigMap is:apiVersion: v1 data: FOO: Bar kind: ConfigMap metadata: name: example-configmap-1-42cfbf598f Note:Each variable in the .env file becomes a separate key in the ConfigMap that you generate. This is different from the previous example which embeds a file named applicat",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/",
    "id": "k8s_00239_qa_4550"
  },
  {
    "question": "What are the benefits of Declarative Management of Kubernetes Objects Using Kustomize?",
    "answer": "Declarative Management of Kubernetes Objects Using KustomizeKustomize is a standalone tool to customize Kubernetes objects through a kustomization file.Since 1.14, kubectl also supports the management of Kubernetes objects using a kustomization file. To view resources found in a directory containing a kustomization file, run the following command:kubectl kustomize <kustomization_directory> To apply those resources, run kubectl apply with --kustomize or -k flag:kubectl apply -k <kustomization_directory> Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Overview of KustomizeKustomize is a tool for customizing Kubernetes configurations. It has the following features to manage application configuration files:generating resources from other sourcessetting cross-cutting fields for resourcescomposing and customizing collections of resourcesGenerating ResourcesConfigMaps and Secrets hold configuration or sensitive data that are used by other Kubernetes objects, such as Pods. The source of truth of ConfigMaps or Secrets are usually external to a cluster, such as a .properties file or an SSH keyfile. Kustomize has secretGenerator and configMapGenerator, which generate Secret and ConfigMap from files or literals.configMapGeneratorTo generate a ConfigMap from a file, add an entry to the files list in configMapGenerator. Here is an example of generating a ConfigMap with a data item from a .properties file:# Create a application.properties file cat <<EOF >application.properties FOO=Bar EOF cat <<EOF >./kustomization.yaml configMapGenerator: - name: example-configmap-1 files: - application.properties EOF The generated ConfigMap can be examined with the following command:kubectl kustomize ./ The generated ConfigMap is:apiVersion: v1 data: application.properties: | FOO=Bar kind: ConfigMap metadata: name: example-configmap-1-8mbdf7882g To generate a ConfigMap from an env file, add an entry to the envs list in configMapGenerator. Here is an example of generating a ConfigMap with a data item from a .env file:# Create a .env file cat <<EOF >.env FOO=Bar EOF cat <<EOF >./kustomization.yaml configMapGenerator: - name: example-configmap-1 envs: - .env EOF The generated ConfigMap can be examined with the following command:kubectl kustomize ./ The generated ConfigMap is:apiVersion: v1 data: FOO: Bar kind: ConfigMap metadata: name: example-configmap-1-42cfbf598f Note:Each variable in the .env file becomes a separate key in the ConfigMap that you generate. This is different from the previous example which embeds a file named applicat",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/",
    "id": "k8s_00239_qa_4551"
  },
  {
    "question": "What is Declarative Management of Kubernetes Objects Using Kustomize?",
    "answer": "K u s t o m i z e   i s   a   s t a n d a l o n e   t o o l   t o   c u s t o m i z e   K u b e r n e t e s   o b j e c t s   t h r o u g h   a   k u s t o m i z a t i o n   f i l e .   S i n c e   1 . 1 4 ,   k u b e c t l   a l s o   s u p p o r t s   t h e   m a n a g e m e n t   o f   K u b e r n e t e s   o b j e c t s   u s i n g   a   k u s t o m i z a t i o n   f i l e .   T o   v i e w   r e s o u r c e s   f o u n d   i n   a   d i r e c t o r y   c o n t a i n i n g   a   k u s t o m i z a t i o n   f i l e ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   k u s t o m i z e   < k u s t o m i z a t i o n _ d i r e c t o r y >   T o   a p p l y   t h o s e   r e s o u r c e s ,   r u n   k u b e c t l   a p p l y   w i t h   - - k u s t o m i z e   o r   - k   f l a g :   k u b e c t l   a p p l y   - k   < k u s t o m i z a t i o n _ d i r e c t o r y >",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/",
    "id": "k8s_00239_section_1_4552"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n s t a l l   k u b e c t l .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/",
    "id": "k8s_00239_section_2_4553"
  },
  {
    "question": "What is Overview of Kustomize?",
    "answer": "K u s t o m i z e   i s   a   t o o l   f o r   c u s t o m i z i n g   K u b e r n e t e s   c o n f i g u r a t i o n s .   I t   h a s   t h e   f o l l o w i n g   f e a t u r e s   t o   m a n a g e   a p p l i c a t i o n   c o n f i g u r a t i o n   f i l e s :   g e n e r a t i n g   r e s o u r c e s   f r o m   o t h e r   s o u r c e s s e t t i n g   c r o s s - c u t t i n g   f i e l d s   f o r   r e s o u r c e s c o m p o s i n g   a n d   c u s t o m i z i n g   c o l l e c t i o n s   o f   r e s o u r c e s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/",
    "id": "k8s_00239_section_2_4554"
  },
  {
    "question": "What is Generating Resources?",
    "answer": "C o n f i g M a p s   a n d   S e c r e t s   h o l d   c o n f i g u r a t i o n   o r   s e n s i t i v e   d a t a   t h a t   a r e   u s e d   b y   o t h e r   K u b e r n e t e s   o b j e c t s ,   s u c h   a s   P o d s .   T h e   s o u r c e   o f   t r u t h   o f   C o n f i g M a p s   o r   S e c r e t s   a r e   u s u a l l y   e x t e r n a l   t o   a   c l u s t e r ,   s u c h   a s   a   . p r o p e r t i e s   f i l e   o r   a n   S S H   k e y f i l e .   K u s t o m i z e   h a s   s e c r e t G e n e r a t o r   a n d   c o n f i g M a p G e n e r a t o r ,   w h i c h   g e n e r a t e   S e c r e t   a n d   C o n f i g M a p   f r o m   f i l e s   o r   l i t e r a l s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/",
    "id": "k8s_00239_section_3_4555"
  },
  {
    "question": "What is configMapGenerator?",
    "answer": "T o   g e n e r a t e   a   C o n f i g M a p   f r o m   a   f i l e ,   a d d   a n   e n t r y   t o   t h e   f i l e s   l i s t   i n   c o n f i g M a p G e n e r a t o r .   H e r e   i s   a n   e x a m p l e   o f   g e n e r a t i n g   a   C o n f i g M a p   w i t h   a   d a t a   i t e m   f r o m   a   . p r o p e r t i e s   f i l e :   #   C r e a t e   a   a p p l i c a t i o n . p r o p e r t i e s   f i l e   c a t   < < E O F   > a p p l i c a t i o n . p r o p e r t i e s   F O O = B a r   E O F   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   c o n f i g M a p G e n e r a t o r :   -   n a m e :   e x a m p l e - c o n f i g m a p - 1   f i l e s :   -   a p p l i c a t i o n . p r o p e r t i e s   E O F   T h e   g e n e r a t e d   C o n f i g M a p   c a n   b e   e x a m i n e d   w i t h   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   k u s t o m i z e   . /   T h e   g e n e r a t e d   C o n f i g M a p   i s :   a p i V e r s i o n :   v 1   d a t a :   a p p l i c a t i o n . p r o p e r t i e s :   |   F O O = B a r   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   e x a m p l e - c o n f i g m a p - 1 - 8 m b d f 7 8 8 2 g   T o   g e n e r a t e   a   C o n f i g M a p   f r o m   a n   e n v   f i l e ,   a d d   a n   e n t r y   t o   t h e   e n v s   l i s t   i n   c o n f i g M a p G e n e r a t o r .   H e r e   i s   a n   e x a m p l e   o f   g e n e r a t i n g   a   C o n f i g M a p   w i t h   a   d a t a   i t e m   f r o m   a   . e n v   f i l e :   #   C r e a t e   a   . e n v   f i l e   c a t   < < E O F   > . e n v   F O O = B a r   E O F   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   c o n f i g M a p G e n e r a t o r :   -   n a m e :   e x a m p l e - c o n f i g m a p - 1   e n v s :   -   . e n v   E O F   T h e   g e n e r a t e d   C o n f i g M a p   c a n   b e   e x a m i n e d   w i t h   t h e   f o l l o w i n g   c o m m a n ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/",
    "id": "k8s_00239_section_4_4556"
  },
  {
    "question": "What is Note:?",
    "answer": "C o n f i g M a p s   c a n   a l s o   b e   g e n e r a t e d   f r o m   l i t e r a l   k e y - v a l u e   p a i r s .   T o   g e n e r a t e   a   C o n f i g M a p   f r o m   a   l i t e r a l   k e y - v a l u e   p a i r ,   a d d   a n   e n t r y   t o   t h e   l i t e r a l s   l i s t   i n   c o n f i g M a p G e n e r a t o r .   H e r e   i s   a n   e x a m p l e   o f   g e n e r a t i n g   a   C o n f i g M a p   w i t h   a   d a t a   i t e m   f r o m   a   k e y - v a l u e   p a i r :   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   c o n f i g M a p G e n e r a t o r :   -   n a m e :   e x a m p l e - c o n f i g m a p - 2   l i t e r a l s :   -   F O O = B a r   E O F   T h e   g e n e r a t e d   C o n f i g M a p   c a n   b e   c h e c k e d   b y   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   k u s t o m i z e   . /   T h e   g e n e r a t e d   C o n f i g M a p   i s :   a p i V e r s i o n :   v 1   d a t a :   F O O :   B a r   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   e x a m p l e - c o n f i g m a p - 2 - g 2 h d h f c 6 t k   T o   u s e   a   g e n e r a t e d   C o n f i g M a p   i n   a   D e p l o y m e n t ,   r e f e r e n c e   i t   b y   t h e   n a m e   o f   t h e   c o n f i g M a p G e n e r a t o r .   K u s t o m i z e   w i l l   a u t o m a t i c a l l y   r e p l a c e   t h i s   n a m e   w i t h   t h e   g e n e r a t e d   n a m e .   T h i s   i s   a n   e x a m p l e   d e p l o y m e n t   t h a t   u s e s   a   g e n e r a t e d   C o n f i g M a p :   #   C r e a t e   a n   a p p l i c a t i o n . p r o p e r t i e s   f i l e   c a t   < < E O F   > a p p l i c a t i o n . p r o p e r t i e s   F O O = B a r   E O F   c a t   < < E O F   > d e p l o y m e n t . y a m l   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   m y - a p p   l a b e l s :   a p p :   m y - a p p   s p e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/",
    "id": "k8s_00239_section_4_4557"
  },
  {
    "question": "What is secretGenerator?",
    "answer": "Y o u   c a n   g e n e r a t e   S e c r e t s   f r o m   f i l e s   o r   l i t e r a l   k e y - v a l u e   p a i r s .   T o   g e n e r a t e   a   S e c r e t   f r o m   a   f i l e ,   a d d   a n   e n t r y   t o   t h e   f i l e s   l i s t   i n   s e c r e t G e n e r a t o r .   H e r e   i s   a n   e x a m p l e   o f   g e n e r a t i n g   a   S e c r e t   w i t h   a   d a t a   i t e m   f r o m   a   f i l e :   #   C r e a t e   a   p a s s w o r d . t x t   f i l e   c a t   < < E O F   > . / p a s s w o r d . t x t   u s e r n a m e = a d m i n   p a s s w o r d = s e c r e t   E O F   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   s e c r e t G e n e r a t o r :   -   n a m e :   e x a m p l e - s e c r e t - 1   f i l e s :   -   p a s s w o r d . t x t   E O F   T h e   g e n e r a t e d   S e c r e t   i s   a s   f o l l o w s :   a p i V e r s i o n :   v 1   d a t a :   p a s s w o r d . t x t :   d X N l c m 5 h b W U 9 Y W R t a W 4 K c G F z c 3 d v c m Q 9 c 2 V j c m V 0 C g = =   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   e x a m p l e - s e c r e t - 1 - t 2 k t 6 5 h g t b   t y p e :   O p a q u e   T o   g e n e r a t e   a   S e c r e t   f r o m   a   l i t e r a l   k e y - v a l u e   p a i r ,   a d d   a n   e n t r y   t o   l i t e r a l s   l i s t   i n   s e c r e t G e n e r a t o r .   H e r e   i s   a n   e x a m p l e   o f   g e n e r a t i n g   a   S e c r e t   w i t h   a   d a t a   i t e m   f r o m   a   k e y - v a l u e   p a i r :   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   s e c r e t G e n e r a t o r :   -   n a m e :   e x a m p l e - s e c r e t - 2   l i t e r a l s :   -   u s e r n a m e = a d m i n   -   p a s s w o r d = s e c r e t   E O F   T h e   g e n e r a t e d   S e c r e t   i s   a s   f o l l o w s :   a p i V e r s i o n :   v 1   d a t a :   p a s s w o r d :   c 2 V j c m V 0   u s e r n a m e :   Y W R t a W 4 =   k ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/",
    "id": "k8s_00239_section_4_4558"
  },
  {
    "question": "What is generatorOptions?",
    "answer": "T h e   g e n e r a t e d   C o n f i g M a p s   a n d   S e c r e t s   h a v e   a   c o n t e n t   h a s h   s u f f i x   a p p e n d e d .   T h i s   e n s u r e s   t h a t   a   n e w   C o n f i g M a p   o r   S e c r e t   i s   g e n e r a t e d   w h e n   t h e   c o n t e n t s   a r e   c h a n g e d .   T o   d i s a b l e   t h e   b e h a v i o r   o f   a p p e n d i n g   a   s u f f i x ,   o n e   c a n   u s e   g e n e r a t o r O p t i o n s .   B e s i d e s   t h a t ,   i t   i s   a l s o   p o s s i b l e   t o   s p e c i f y   c r o s s - c u t t i n g   o p t i o n s   f o r   g e n e r a t e d   C o n f i g M a p s   a n d   S e c r e t s .   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   c o n f i g M a p G e n e r a t o r :   -   n a m e :   e x a m p l e - c o n f i g m a p - 3   l i t e r a l s :   -   F O O = B a r   g e n e r a t o r O p t i o n s :   d i s a b l e N a m e S u f f i x H a s h :   t r u e   l a b e l s :   t y p e :   g e n e r a t e d   a n n o t a t i o n s :   n o t e :   g e n e r a t e d   E O F   R u n k u b e c t l   k u s t o m i z e   . /   t o   v i e w   t h e   g e n e r a t e d   C o n f i g M a p :   a p i V e r s i o n :   v 1   d a t a :   F O O :   B a r   k i n d :   C o n f i g M a p   m e t a d a t a :   a n n o t a t i o n s :   n o t e :   g e n e r a t e d   l a b e l s :   t y p e :   g e n e r a t e d   n a m e :   e x a m p l e - c o n f i g m a p - 3",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/",
    "id": "k8s_00239_section_4_4559"
  },
  {
    "question": "What is Setting cross-cutting fields?",
    "answer": "I t   i s   q u i t e   c o m m o n   t o   s e t   c r o s s - c u t t i n g   f i e l d s   f o r   a l l   K u b e r n e t e s   r e s o u r c e s   i n   a   p r o j e c t .   S o m e   u s e   c a s e s   f o r   s e t t i n g   c r o s s - c u t t i n g   f i e l d s :   s e t t i n g   t h e   s a m e   n a m e s p a c e   f o r   a l l   r e s o u r c e s a d d i n g   t h e   s a m e   n a m e   p r e f i x   o r   s u f f i x a d d i n g   t h e   s a m e   s e t   o f   l a b e l s a d d i n g   t h e   s a m e   s e t   o f   a n n o t a t i o n s   H e r e   i s   a n   e x a m p l e :   #   C r e a t e   a   d e p l o y m e n t . y a m l   c a t   < < E O F   > . / d e p l o y m e n t . y a m l   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   l a b e l s :   a p p :   n g i n x   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   E O F   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   n a m e s p a c e :   m y - n a m e s p a c e   n a m e P r e f i x :   d e v -   n a m e S u f f i x :   \" - 0 0 1 \"   l a b e l s :   -   p a i r s :   a p p :   b i n g o   i n c l u d e S e l e c t o r s :   t r u e   c o m m o n A n n o t a t i o n s :   o n c a l l P a g e r :   8 0 0 - 5 5 5 - 1 2 1 2   r e s o u r c e s :   -   d e p l o y m e n t . y a m l   E O F   R u n   k u b e c t l   k u s t o m i z e   . /   t o   v i e w   t h o s e   f i e l d s   a r e   a l l   s e t   i n   t h e   D e p l o y m e n t   R e s o u r c e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   a n n o t a t i o n s :   o n c a l l P a g e r :   8 0 0 - 5 5 5 - 1 2 1 2   l a b e l s :   a p p :   b i n g o   n a m e :   d e v - n ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/",
    "id": "k8s_00239_section_3_4560"
  },
  {
    "question": "What is Composing and Customizing Resources?",
    "answer": "I t   i s   c o m m o n   t o   c o m p o s e   a   s e t   o f   r e s o u r c e s   i n   a   p r o j e c t   a n d   m a n a g e   t h e m   i n s i d e   t h e   s a m e   f i l e   o r   d i r e c t o r y .   K u s t o m i z e   o f f e r s   c o m p o s i n g   r e s o u r c e s   f r o m   d i f f e r e n t   f i l e s   a n d   a p p l y i n g   p a t c h e s   o r   o t h e r   c u s t o m i z a t i o n   t o   t h e m .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/",
    "id": "k8s_00239_section_3_4561"
  },
  {
    "question": "What is Composing?",
    "answer": "K u s t o m i z e   s u p p o r t s   c o m p o s i t i o n   o f   d i f f e r e n t   r e s o u r c e s .   T h e   r e s o u r c e s   f i e l d ,   i n   t h e   k u s t o m i z a t i o n . y a m l   f i l e ,   d e f i n e s   t h e   l i s t   o f   r e s o u r c e s   t o   i n c l u d e   i n   a   c o n f i g u r a t i o n .   S e t   t h e   p a t h   t o   a   r e s o u r c e ' s   c o n f i g u r a t i o n   f i l e   i n   t h e   r e s o u r c e s   l i s t .   H e r e   i s   a n   e x a m p l e   o f   a n   N G I N X   a p p l i c a t i o n   c o m p r i s e d   o f   a   D e p l o y m e n t   a n d   a   S e r v i c e :   #   C r e a t e   a   d e p l o y m e n t . y a m l   f i l e   c a t   < < E O F   >   d e p l o y m e n t . y a m l   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   m y - n g i n x   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   r u n :   m y - n g i n x   r e p l i c a s :   2   t e m p l a t e :   m e t a d a t a :   l a b e l s :   r u n :   m y - n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   m y - n g i n x   i m a g e :   n g i n x   p o r t s :   -   c o n t a i n e r P o r t :   8 0   E O F   #   C r e a t e   a   s e r v i c e . y a m l   f i l e   c a t   < < E O F   >   s e r v i c e . y a m l   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - n g i n x   l a b e l s :   r u n :   m y - n g i n x   s p e c :   p o r t s :   -   p o r t :   8 0   p r o t o c o l :   T C P   s e l e c t o r :   r u n :   m y - n g i n x   E O F   #   C r e a t e   a   k u s t o m i z a t i o n . y a m l   c o m p o s i n g   t h e m   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   r e s o u r c e s :   -   d e p l o y m e n t . y a m l   -   s e r v i c e . y a m l   E O F   T h e   r e s o u r c e s   f r o m   k u b e c t l   k u s t o m i z e   . /   c o n t a i n   b o t h   t h e   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/",
    "id": "k8s_00239_section_4_4562"
  },
  {
    "question": "What is Customizing?",
    "answer": "P a t c h e s   c a n   b e   u s e d   t o   a p p l y   d i f f e r e n t   c u s t o m i z a t i o n s   t o   r e s o u r c e s .   K u s t o m i z e   s u p p o r t s   d i f f e r e n t   p a t c h i n g   m e c h a n i s m s   t h r o u g h   S t r a t e g i c M e r g e   a n d   J s o n 6 9 0 2   u s i n g   t h e   p a t c h e s   f i e l d .   p a t c h e s   m a y   b e   a   f i l e   o r   a n   i n l i n e   s t r i n g ,   t a r g e t i n g   a   s i n g l e   o r   m u l t i p l e   r e s o u r c e s .   T h e   p a t c h e s   f i e l d   c o n t a i n s   a   l i s t   o f   p a t c h e s   a p p l i e d   i n   t h e   o r d e r   t h e y   a r e   s p e c i f i e d .   T h e   p a t c h   t a r g e t   s e l e c t s   r e s o u r c e s   b y   g r o u p ,   v e r s i o n ,   k i n d ,   n a m e ,   n a m e s p a c e ,   l a b e l S e l e c t o r   a n d   a n n o t a t i o n S e l e c t o r .   S m a l l   p a t c h e s   t h a t   d o   o n e   t h i n g   a r e   r e c o m m e n d e d .   F o r   e x a m p l e ,   c r e a t e   o n e   p a t c h   f o r   i n c r e a s i n g   t h e   d e p l o y m e n t   r e p l i c a   n u m b e r   a n d   a n o t h e r   p a t c h   f o r   s e t t i n g   t h e   m e m o r y   l i m i t .   T h e   t a r g e t   r e s o u r c e   i s   m a t c h e d   u s i n g   g r o u p ,   v e r s i o n ,   k i n d ,   a n d   n a m e   f i e l d s   f r o m   t h e   p a t c h   f i l e .   #   C r e a t e   a   d e p l o y m e n t . y a m l   f i l e   c a t   < < E O F   >   d e p l o y m e n t . y a m l   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   m y - n g i n x   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   r u n :   m y - n g i n x   r e p l i c a s :   2   t e m p l a t e :   m e t a d a t a :   l a b e l s :   r u n :   m y - n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   m y - n g i n x   i m a g e :   n g i n x   p ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/",
    "id": "k8s_00239_section_4_4563"
  },
  {
    "question": "What is Bases and Overlays?",
    "answer": "K u s t o m i z e   h a s   t h e   c o n c e p t s   o f   b a s e s   a n d   o v e r l a y s .   A   b a s e   i s   a   d i r e c t o r y   w i t h   a   k u s t o m i z a t i o n . y a m l ,   w h i c h   c o n t a i n s   a   s e t   o f   r e s o u r c e s   a n d   a s s o c i a t e d   c u s t o m i z a t i o n .   A   b a s e   c o u l d   b e   e i t h e r   a   l o c a l   d i r e c t o r y   o r   a   d i r e c t o r y   f r o m   a   r e m o t e   r e p o ,   a s   l o n g   a s   a   k u s t o m i z a t i o n . y a m l   i s   p r e s e n t   i n s i d e .   A n   o v e r l a y   i s   a   d i r e c t o r y   w i t h   a   k u s t o m i z a t i o n . y a m l   t h a t   r e f e r s   t o   o t h e r   k u s t o m i z a t i o n   d i r e c t o r i e s   a s   i t s   b a s e s .   A   b a s e   h a s   n o   k n o w l e d g e   o f   a n   o v e r l a y   a n d   c a n   b e   u s e d   i n   m u l t i p l e   o v e r l a y s .   T h e   k u s t o m i z a t i o n . y a m l   i n   a n   o v e r l a y   d i r e c t o r y   m a y   r e f e r   t o   m u l t i p l e   b a s e s ,   c o m b i n i n g   a l l   t h e   r e s o u r c e s   d e f i n e d   i n   t h e s e   b a s e s   i n t o   a   u n i f i e d   c o n f i g u r a t i o n .   A d d i t i o n a l l y ,   i t   c a n   a p p l y   c u s t o m i z a t i o n s   o n   t o p   o f   t h e s e   r e s o u r c e s   t o   m e e t   s p e c i f i c   r e q u i r e m e n t s .   H e r e   i s   a n   e x a m p l e   o f   a   b a s e :   #   C r e a t e   a   d i r e c t o r y   t o   h o l d   t h e   b a s e   m k d i r   b a s e   #   C r e a t e   a   b a s e / d e p l o y m e n t . y a m l   c a t   < < E O F   >   b a s e / d e p l o y m e n t . y a m l   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   m y - n g i n x   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   r u n :   m y - n g i n x   r e p l i c a s :   2   t e m p ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/",
    "id": "k8s_00239_section_2_4564"
  },
  {
    "question": "What is How to apply/view/delete objects using Kustomize?",
    "answer": "U s e   - - k u s t o m i z e   o r   - k   i n   k u b e c t l   c o m m a n d s   t o   r e c o g n i z e   r e s o u r c e s   m a n a g e d   b y   k u s t o m i z a t i o n . y a m l .   N o t e   t h a t   - k   s h o u l d   p o i n t   t o   a   k u s t o m i z a t i o n   d i r e c t o r y ,   s u c h   a s   k u b e c t l   a p p l y   - k   < k u s t o m i z a t i o n   d i r e c t o r y > /   G i v e n   t h e   f o l l o w i n g   k u s t o m i z a t i o n . y a m l ,   #   C r e a t e   a   d e p l o y m e n t . y a m l   f i l e   c a t   < < E O F   >   d e p l o y m e n t . y a m l   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   m y - n g i n x   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   r u n :   m y - n g i n x   r e p l i c a s :   2   t e m p l a t e :   m e t a d a t a :   l a b e l s :   r u n :   m y - n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   m y - n g i n x   i m a g e :   n g i n x   p o r t s :   -   c o n t a i n e r P o r t :   8 0   E O F   #   C r e a t e   a   k u s t o m i z a t i o n . y a m l   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   n a m e P r e f i x :   d e v -   l a b e l s :   -   p a i r s :   a p p :   m y - n g i n x   i n c l u d e S e l e c t o r s :   t r u e   r e s o u r c e s :   -   d e p l o y m e n t . y a m l   E O F   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   a p p l y   t h e   D e p l o y m e n t   o b j e c t   d e v - m y - n g i n x :   >   k u b e c t l   a p p l y   - k   . /   d e p l o y m e n t . a p p s / d e v - m y - n g i n x   c r e a t e d   R u n   o n e   o f   t h e   f o l l o w i n g   c o m m a n d s   t o   v i e w   t h e   D e p l o y m e n t   o b j e c t   d e v - m y - n g i n x :   k u b e c t l   g e t   - k   . /   k u b e c t l   d e s c r i b e   - k   . /   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   c o m p a r e   t h e   D e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/",
    "id": "k8s_00239_section_2_4565"
  },
  {
    "question": "What is What's next?",
    "answer": "K u s t o m i z e K u b e c t l   B o o k K u b e c t l   C o m m a n d   R e f e r e n c e K u b e r n e t e s   A P I   R e f e r e n c e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/",
    "id": "k8s_00239_section_2_4566"
  },
  {
    "question": "What is TLS bootstrapping?",
    "answer": "TLS bootstrappingIn a Kubernetes cluster, the components on the worker nodes - kubelet and kube-proxy - need to communicate with Kubernetes control plane components, specifically kube-apiserver. In order to ensure that communication is kept private, not interfered with, and ensure that each component of the cluster is talking to another trusted component, we strongly recommend using client TLS certificates on nodes.The normal process of bootstrapping these components, especially worker nodes that need certificates so they can communicate safely with kube-apiserver, can be a challenging process as it is often outside of the scope of Kubernetes and requires significant additional work. This in turn, can make it challenging to initialize or scale a cluster.In order to simplify the process, beginning in version 1.4, Kubernetes introduced a certificate request and signing API. The proposal can be found here.This document describes the process of node initialization, how to set up TLS client certificate bootstrapping for kubelets, and how it works.Initialization processWhen a worker node starts up, the kubelet does the following:Look for its kubeconfig fileRetrieve the URL of the API server and credentials, normally a TLS key and signed certificate from the kubeconfig fileAttempt to communicate with the API server using the credentials.Assuming that the kube-apiserver successfully validates the kubelet's credentials, it will treat the kubelet as a valid node, and begin to assign pods to it.Note that the above process depends upon:Existence of a key and certificate on the local host in the kubeconfigThe certificate having been signed by a Certificate Authority (CA) trusted by the kube-apiserverAll of the following are responsibilities of whoever sets up and manages the cluster:Creating the CA key and certificateDistributing the CA certificate to the control plane nodes, where kube-apiserver is runningCreating a key and certificate for each kubelet; strongly recommended to have a unique one, with a unique CN, for each kubeletSigning the kubelet certificate using the CA keyDistributing the kubelet key and signed certificate to the specific node on which the kubelet is runningThe TLS Bootstrapping described in this document is intended to simplify, and partially or even completely automate, steps 3 onwards, as these are the most common when initializing or scaling a cluster.Bootstrap initializationIn the bootstrap initialization process, the following occurs:kubelet beginskubelet sees that it does not have a kubeconfig filekubelet searches for and finds a bootstrap-kubeconfig filekubelet reads its bootstrap file, retrieving the URL of the API server and a limited usage \"token\"kubelet connects to the API server, authenticates using the tokenkubelet now has limited credentials to create and retrieve a certificate signing request (CSR)kubelet creates a CSR for itself with the signerName set to kubernetes.io/kube-apiserver-client-kubeletCSR is approved in one ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/",
    "id": "k8s_00240_qa_4567"
  },
  {
    "question": "How does TLS bootstrapping work?",
    "answer": "TLS bootstrappingIn a Kubernetes cluster, the components on the worker nodes - kubelet and kube-proxy - need to communicate with Kubernetes control plane components, specifically kube-apiserver. In order to ensure that communication is kept private, not interfered with, and ensure that each component of the cluster is talking to another trusted component, we strongly recommend using client TLS certificates on nodes.The normal process of bootstrapping these components, especially worker nodes that need certificates so they can communicate safely with kube-apiserver, can be a challenging process as it is often outside of the scope of Kubernetes and requires significant additional work. This in turn, can make it challenging to initialize or scale a cluster.In order to simplify the process, beginning in version 1.4, Kubernetes introduced a certificate request and signing API. The proposal can be found here.This document describes the process of node initialization, how to set up TLS client certificate bootstrapping for kubelets, and how it works.Initialization processWhen a worker node starts up, the kubelet does the following:Look for its kubeconfig fileRetrieve the URL of the API server and credentials, normally a TLS key and signed certificate from the kubeconfig fileAttempt to communicate with the API server using the credentials.Assuming that the kube-apiserver successfully validates the kubelet's credentials, it will treat the kubelet as a valid node, and begin to assign pods to it.Note that the above process depends upon:Existence of a key and certificate on the local host in the kubeconfigThe certificate having been signed by a Certificate Authority (CA) trusted by the kube-apiserverAll of the following are responsibilities of whoever sets up and manages the cluster:Creating the CA key and certificateDistributing the CA certificate to the control plane nodes, where kube-apiserver is runningCreating a key and certificate for each kubelet; strongly recommended to have a unique one, with a unique CN, for each kubeletSigning the kubelet certificate using the CA keyDistributing the kubelet key and signed certificate to the specific node on which the kubelet is runningThe TLS Bootstrapping described in this document is intended to simplify, and partially or even completely automate, steps 3 onwards, as these are the most common when initializing or scaling a cluster.Bootstrap initializationIn the bootstrap initialization process, the following occurs:kubelet beginskubelet sees that it does not have a kubeconfig filekubelet searches for and finds a bootstrap-kubeconfig filekubelet reads its bootstrap file, retrieving the URL of the API server and a limited usage \"token\"kubelet connects to the API server, authenticates using the tokenkubelet now has limited credentials to create and retrieve a certificate signing request (CSR)kubelet creates a CSR for itself with the signerName set to kubernetes.io/kube-apiserver-client-kubeletCSR is approved in one ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/",
    "id": "k8s_00240_qa_4568"
  },
  {
    "question": "When would you use TLS bootstrapping?",
    "answer": "TLS bootstrappingIn a Kubernetes cluster, the components on the worker nodes - kubelet and kube-proxy - need to communicate with Kubernetes control plane components, specifically kube-apiserver. In order to ensure that communication is kept private, not interfered with, and ensure that each component of the cluster is talking to another trusted component, we strongly recommend using client TLS certificates on nodes.The normal process of bootstrapping these components, especially worker nodes that need certificates so they can communicate safely with kube-apiserver, can be a challenging process as it is often outside of the scope of Kubernetes and requires significant additional work. This in turn, can make it challenging to initialize or scale a cluster.In order to simplify the process, beginning in version 1.4, Kubernetes introduced a certificate request and signing API. The proposal can be found here.This document describes the process of node initialization, how to set up TLS client certificate bootstrapping for kubelets, and how it works.Initialization processWhen a worker node starts up, the kubelet does the following:Look for its kubeconfig fileRetrieve the URL of the API server and credentials, normally a TLS key and signed certificate from the kubeconfig fileAttempt to communicate with the API server using the credentials.Assuming that the kube-apiserver successfully validates the kubelet's credentials, it will treat the kubelet as a valid node, and begin to assign pods to it.Note that the above process depends upon:Existence of a key and certificate on the local host in the kubeconfigThe certificate having been signed by a Certificate Authority (CA) trusted by the kube-apiserverAll of the following are responsibilities of whoever sets up and manages the cluster:Creating the CA key and certificateDistributing the CA certificate to the control plane nodes, where kube-apiserver is runningCreating a key and certificate for each kubelet; strongly recommended to have a unique one, with a unique CN, for each kubeletSigning the kubelet certificate using the CA keyDistributing the kubelet key and signed certificate to the specific node on which the kubelet is runningThe TLS Bootstrapping described in this document is intended to simplify, and partially or even completely automate, steps 3 onwards, as these are the most common when initializing or scaling a cluster.Bootstrap initializationIn the bootstrap initialization process, the following occurs:kubelet beginskubelet sees that it does not have a kubeconfig filekubelet searches for and finds a bootstrap-kubeconfig filekubelet reads its bootstrap file, retrieving the URL of the API server and a limited usage \"token\"kubelet connects to the API server, authenticates using the tokenkubelet now has limited credentials to create and retrieve a certificate signing request (CSR)kubelet creates a CSR for itself with the signerName set to kubernetes.io/kube-apiserver-client-kubeletCSR is approved in one ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/",
    "id": "k8s_00240_qa_4569"
  },
  {
    "question": "What are the benefits of TLS bootstrapping?",
    "answer": "TLS bootstrappingIn a Kubernetes cluster, the components on the worker nodes - kubelet and kube-proxy - need to communicate with Kubernetes control plane components, specifically kube-apiserver. In order to ensure that communication is kept private, not interfered with, and ensure that each component of the cluster is talking to another trusted component, we strongly recommend using client TLS certificates on nodes.The normal process of bootstrapping these components, especially worker nodes that need certificates so they can communicate safely with kube-apiserver, can be a challenging process as it is often outside of the scope of Kubernetes and requires significant additional work. This in turn, can make it challenging to initialize or scale a cluster.In order to simplify the process, beginning in version 1.4, Kubernetes introduced a certificate request and signing API. The proposal can be found here.This document describes the process of node initialization, how to set up TLS client certificate bootstrapping for kubelets, and how it works.Initialization processWhen a worker node starts up, the kubelet does the following:Look for its kubeconfig fileRetrieve the URL of the API server and credentials, normally a TLS key and signed certificate from the kubeconfig fileAttempt to communicate with the API server using the credentials.Assuming that the kube-apiserver successfully validates the kubelet's credentials, it will treat the kubelet as a valid node, and begin to assign pods to it.Note that the above process depends upon:Existence of a key and certificate on the local host in the kubeconfigThe certificate having been signed by a Certificate Authority (CA) trusted by the kube-apiserverAll of the following are responsibilities of whoever sets up and manages the cluster:Creating the CA key and certificateDistributing the CA certificate to the control plane nodes, where kube-apiserver is runningCreating a key and certificate for each kubelet; strongly recommended to have a unique one, with a unique CN, for each kubeletSigning the kubelet certificate using the CA keyDistributing the kubelet key and signed certificate to the specific node on which the kubelet is runningThe TLS Bootstrapping described in this document is intended to simplify, and partially or even completely automate, steps 3 onwards, as these are the most common when initializing or scaling a cluster.Bootstrap initializationIn the bootstrap initialization process, the following occurs:kubelet beginskubelet sees that it does not have a kubeconfig filekubelet searches for and finds a bootstrap-kubeconfig filekubelet reads its bootstrap file, retrieving the URL of the API server and a limited usage \"token\"kubelet connects to the API server, authenticates using the tokenkubelet now has limited credentials to create and retrieve a certificate signing request (CSR)kubelet creates a CSR for itself with the signerName set to kubernetes.io/kube-apiserver-client-kubeletCSR is approved in one ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/",
    "id": "k8s_00240_qa_4570"
  },
  {
    "question": "What is TLS bootstrapping?",
    "answer": "I n   a   K u b e r n e t e s   c l u s t e r ,   t h e   c o m p o n e n t s   o n   t h e   w o r k e r   n o d e s   -   k u b e l e t   a n d   k u b e - p r o x y   -   n e e d   t o   c o m m u n i c a t e   w i t h   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t s ,   s p e c i f i c a l l y   k u b e - a p i s e r v e r .   I n   o r d e r   t o   e n s u r e   t h a t   c o m m u n i c a t i o n   i s   k e p t   p r i v a t e ,   n o t   i n t e r f e r e d   w i t h ,   a n d   e n s u r e   t h a t   e a c h   c o m p o n e n t   o f   t h e   c l u s t e r   i s   t a l k i n g   t o   a n o t h e r   t r u s t e d   c o m p o n e n t ,   w e   s t r o n g l y   r e c o m m e n d   u s i n g   c l i e n t   T L S   c e r t i f i c a t e s   o n   n o d e s .   T h e   n o r m a l   p r o c e s s   o f   b o o t s t r a p p i n g   t h e s e   c o m p o n e n t s ,   e s p e c i a l l y   w o r k e r   n o d e s   t h a t   n e e d   c e r t i f i c a t e s   s o   t h e y   c a n   c o m m u n i c a t e   s a f e l y   w i t h   k u b e - a p i s e r v e r ,   c a n   b e   a   c h a l l e n g i n g   p r o c e s s   a s   i t   i s   o f t e n   o u t s i d e   o f   t h e   s c o p e   o f   K u b e r n e t e s   a n d   r e q u i r e s   s i g n i f i c a n t   a d d i t i o n a l   w o r k .   T h i s   i n   t u r n ,   c a n   m a k e   i t   c h a l l e n g i n g   t o   i n i t i a l i z e   o r   s c a l e   a   c l u s t e r .   I n   o r d e r   t o   s i m p l i f y   t h e   p r o c e s s ,   b e g i n n i n g   i n   v e r s i o n   1 . 4 ,   K u b e r n e t e s   i n t r o d u c e d   a   c e r t i f i c a t e   r e q u e s t   a n d   s i g n i n g   A P I .   T h e   p r o p o s a l   c a n   b e   f o u n d   h e r e .   T h i s   d o c u m e n t   d e s c r i b e s   t h e   p r o c e s s   o f   n o d e   i n i t i a l i z a t i o n ,   h o w   t o   s e t   u p   T L S   c l i e n t   c e r t i f i c a t e   b ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/",
    "id": "k8s_00240_section_1_4571"
  },
  {
    "question": "What is Initialization process?",
    "answer": "W h e n   a   w o r k e r   n o d e   s t a r t s   u p ,   t h e   k u b e l e t   d o e s   t h e   f o l l o w i n g :   L o o k   f o r   i t s   k u b e c o n f i g   f i l e R e t r i e v e   t h e   U R L   o f   t h e   A P I   s e r v e r   a n d   c r e d e n t i a l s ,   n o r m a l l y   a   T L S   k e y   a n d   s i g n e d   c e r t i f i c a t e   f r o m   t h e   k u b e c o n f i g   f i l e A t t e m p t   t o   c o m m u n i c a t e   w i t h   t h e   A P I   s e r v e r   u s i n g   t h e   c r e d e n t i a l s .   A s s u m i n g   t h a t   t h e   k u b e - a p i s e r v e r   s u c c e s s f u l l y   v a l i d a t e s   t h e   k u b e l e t ' s   c r e d e n t i a l s ,   i t   w i l l   t r e a t   t h e   k u b e l e t   a s   a   v a l i d   n o d e ,   a n d   b e g i n   t o   a s s i g n   p o d s   t o   i t .   N o t e   t h a t   t h e   a b o v e   p r o c e s s   d e p e n d s   u p o n :   E x i s t e n c e   o f   a   k e y   a n d   c e r t i f i c a t e   o n   t h e   l o c a l   h o s t   i n   t h e   k u b e c o n f i g T h e   c e r t i f i c a t e   h a v i n g   b e e n   s i g n e d   b y   a   C e r t i f i c a t e   A u t h o r i t y   ( C A )   t r u s t e d   b y   t h e   k u b e - a p i s e r v e r   A l l   o f   t h e   f o l l o w i n g   a r e   r e s p o n s i b i l i t i e s   o f   w h o e v e r   s e t s   u p   a n d   m a n a g e s   t h e   c l u s t e r :   C r e a t i n g   t h e   C A   k e y   a n d   c e r t i f i c a t e D i s t r i b u t i n g   t h e   C A   c e r t i f i c a t e   t o   t h e   c o n t r o l   p l a n e   n o d e s ,   w h e r e   k u b e - a p i s e r v e r   i s   r u n n i n g C r e a t i n g   a   k e y   a n d   c e r t i f i c a t e   f o r   e a c h   k u b e l e t ;   s t r o n g l y   r e c o m m e n d e d   t o   h a v e   a   u n i q u e   o n e ,   w i t h   a   u n i q u e   C N ,   f o r   e a c h   k u b e l e t S i g n i n g   t h e   k u b e l e t   c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/",
    "id": "k8s_00240_section_2_4572"
  },
  {
    "question": "What is Bootstrap initialization?",
    "answer": "I n   t h e   b o o t s t r a p   i n i t i a l i z a t i o n   p r o c e s s ,   t h e   f o l l o w i n g   o c c u r s :   k u b e l e t   b e g i n s k u b e l e t   s e e s   t h a t   i t   d o e s   n o t   h a v e   a   k u b e c o n f i g   f i l e k u b e l e t   s e a r c h e s   f o r   a n d   f i n d s   a   b o o t s t r a p - k u b e c o n f i g   f i l e k u b e l e t   r e a d s   i t s   b o o t s t r a p   f i l e ,   r e t r i e v i n g   t h e   U R L   o f   t h e   A P I   s e r v e r   a n d   a   l i m i t e d   u s a g e   \" t o k e n \" k u b e l e t   c o n n e c t s   t o   t h e   A P I   s e r v e r ,   a u t h e n t i c a t e s   u s i n g   t h e   t o k e n k u b e l e t   n o w   h a s   l i m i t e d   c r e d e n t i a l s   t o   c r e a t e   a n d   r e t r i e v e   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t   ( C S R ) k u b e l e t   c r e a t e s   a   C S R   f o r   i t s e l f   w i t h   t h e   s i g n e r N a m e   s e t   t o   k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t - k u b e l e t C S R   i s   a p p r o v e d   i n   o n e   o f   t w o   w a y s : I f   c o n f i g u r e d ,   k u b e - c o n t r o l l e r - m a n a g e r   a u t o m a t i c a l l y   a p p r o v e s   t h e   C S R I f   c o n f i g u r e d ,   a n   o u t s i d e   p r o c e s s ,   p o s s i b l y   a   p e r s o n ,   a p p r o v e s   t h e   C S R   u s i n g   t h e   K u b e r n e t e s   A P I   o r   v i a   k u b e c t l C e r t i f i c a t e   i s   c r e a t e d   f o r   t h e   k u b e l e t C e r t i f i c a t e   i s   i s s u e d   t o   t h e   k u b e l e t k u b e l e t   r e t r i e v e s   t h e   c e r t i f i c a t e k u b e l e t   c r e a t e s   a   p r o p e r   k u b e c o n f i g   w i t h   t h e   k e y   a n d   s i g n e d   c e r t i f i c a t e k u b e l e t   b e g i n s   n o r m a l   o p e r a t i o n O p t i o n a l :   i f   c o n f i g u r e d ,   k u b e l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/",
    "id": "k8s_00240_section_3_4573"
  },
  {
    "question": "What is Configuration?",
    "answer": "T o   c o n f i g u r e   f o r   T L S   b o o t s t r a p p i n g   a n d   o p t i o n a l   a u t o m a t i c   a p p r o v a l ,   y o u   m u s t   c o n f i g u r e   o p t i o n s   o n   t h e   f o l l o w i n g   c o m p o n e n t s :   k u b e - a p i s e r v e r k u b e - c o n t r o l l e r - m a n a g e r k u b e l e t i n - c l u s t e r   r e s o u r c e s :   C l u s t e r R o l e B i n d i n g   a n d   p o t e n t i a l l y   C l u s t e r R o l e   I n   a d d i t i o n ,   y o u   n e e d   y o u r   K u b e r n e t e s   C e r t i f i c a t e   A u t h o r i t y   ( C A ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/",
    "id": "k8s_00240_section_2_4574"
  },
  {
    "question": "What is Certificate Authority?",
    "answer": "A s   w i t h o u t   b o o t s t r a p p i n g ,   y o u   w i l l   n e e d   a   C e r t i f i c a t e   A u t h o r i t y   ( C A )   k e y   a n d   c e r t i f i c a t e .   A s   w i t h o u t   b o o t s t r a p p i n g ,   t h e s e   w i l l   b e   u s e d   t o   s i g n   t h e   k u b e l e t   c e r t i f i c a t e .   A s   b e f o r e ,   i t   i s   y o u r   r e s p o n s i b i l i t y   t o   d i s t r i b u t e   t h e m   t o   c o n t r o l   p l a n e   n o d e s .   F o r   t h e   p u r p o s e s   o f   t h i s   d o c u m e n t ,   w e   w i l l   a s s u m e   t h e s e   h a v e   b e e n   d i s t r i b u t e d   t o   c o n t r o l   p l a n e   n o d e s   a t   / v a r / l i b / k u b e r n e t e s / c a . p e m   ( c e r t i f i c a t e )   a n d   / v a r / l i b / k u b e r n e t e s / c a - k e y . p e m   ( k e y ) .   W e   w i l l   r e f e r   t o   t h e s e   a s   \" K u b e r n e t e s   C A   c e r t i f i c a t e   a n d   k e y \" .   A l l   K u b e r n e t e s   c o m p o n e n t s   t h a t   u s e   t h e s e   c e r t i f i c a t e s   -   k u b e l e t ,   k u b e - a p i s e r v e r ,   k u b e - c o n t r o l l e r - m a n a g e r   -   a s s u m e   t h e   k e y   a n d   c e r t i f i c a t e   t o   b e   P E M - e n c o d e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/",
    "id": "k8s_00240_section_2_4575"
  },
  {
    "question": "What is kube-apiserver configuration?",
    "answer": "T h e   k u b e - a p i s e r v e r   h a s   s e v e r a l   r e q u i r e m e n t s   t o   e n a b l e   T L S   b o o t s t r a p p i n g :   R e c o g n i z i n g   C A   t h a t   s i g n s   t h e   c l i e n t   c e r t i f i c a t e A u t h e n t i c a t i n g   t h e   b o o t s t r a p p i n g   k u b e l e t   t o   t h e   s y s t e m : b o o t s t r a p p e r s   g r o u p A u t h o r i z e   t h e   b o o t s t r a p p i n g   k u b e l e t   t o   c r e a t e   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t   ( C S R )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/",
    "id": "k8s_00240_section_2_4576"
  },
  {
    "question": "What is Recognizing client certificates?",
    "answer": "T h i s   i s   n o r m a l   f o r   a l l   c l i e n t   c e r t i f i c a t e   a u t h e n t i c a t i o n .   I f   n o t   a l r e a d y   s e t ,   a d d   t h e   - - c l i e n t - c a - f i l e = F I L E N A M E   f l a g   t o   t h e   k u b e - a p i s e r v e r   c o m m a n d   t o   e n a b l e   c l i e n t   c e r t i f i c a t e   a u t h e n t i c a t i o n ,   r e f e r e n c i n g   a   c e r t i f i c a t e   a u t h o r i t y   b u n d l e   c o n t a i n i n g   t h e   s i g n i n g   c e r t i f i c a t e ,   f o r   e x a m p l e   - - c l i e n t - c a - f i l e = / v a r / l i b / k u b e r n e t e s / c a . p e m .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/",
    "id": "k8s_00240_section_3_4577"
  },
  {
    "question": "What is Initial bootstrap authentication?",
    "answer": "I n   o r d e r   f o r   t h e   b o o t s t r a p p i n g   k u b e l e t   t o   c o n n e c t   t o   k u b e - a p i s e r v e r   a n d   r e q u e s t   a   c e r t i f i c a t e ,   i t   m u s t   f i r s t   a u t h e n t i c a t e   t o   t h e   s e r v e r .   Y o u   c a n   u s e   a n y   a u t h e n t i c a t o r   t h a t   c a n   a u t h e n t i c a t e   t h e   k u b e l e t .   W h i l e   a n y   a u t h e n t i c a t i o n   s t r a t e g y   c a n   b e   u s e d   f o r   t h e   k u b e l e t ' s   i n i t i a l   b o o t s t r a p   c r e d e n t i a l s ,   t h e   f o l l o w i n g   t w o   a u t h e n t i c a t o r s   a r e   r e c o m m e n d e d   f o r   e a s e   o f   p r o v i s i o n i n g .   B o o t s t r a p   T o k e n s T o k e n   a u t h e n t i c a t i o n   f i l e   U s i n g   b o o t s t r a p   t o k e n s   i s   a   s i m p l e r   a n d   m o r e   e a s i l y   m a n a g e d   m e t h o d   t o   a u t h e n t i c a t e   k u b e l e t s ,   a n d   d o e s   n o t   r e q u i r e   a n y   a d d i t i o n a l   f l a g s   w h e n   s t a r t i n g   k u b e - a p i s e r v e r .   W h i c h e v e r   m e t h o d   y o u   c h o o s e ,   t h e   r e q u i r e m e n t   i s   t h a t   t h e   k u b e l e t   b e   a b l e   t o   a u t h e n t i c a t e   a s   a   u s e r   w i t h   t h e   r i g h t s   t o :   c r e a t e   a n d   r e t r i e v e   C S R s b e   a u t o m a t i c a l l y   a p p r o v e d   t o   r e q u e s t   n o d e   c l i e n t   c e r t i f i c a t e s ,   i f   a u t o m a t i c   a p p r o v a l   i s   e n a b l e d .   A   k u b e l e t   a u t h e n t i c a t i n g   u s i n g   b o o t s t r a p   t o k e n s   i s   a u t h e n t i c a t e d   a s   a   u s e r   i n   t h e   g r o u p   s y s t e m : b o o t s t r a p p e r s ,   w h i c h   i s   t h e   s t a n d a r d   m e t h o d   t o   u s e .   A s   t h i s   f e a t u r e   m a t u r e s ,   y o u   s h o u l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/",
    "id": "k8s_00240_section_3_4578"
  },
  {
    "question": "What is Bootstrap tokens?",
    "answer": "B o o t s t r a p   t o k e n s   a r e   d e s c r i b e d   i n   d e t a i l   h e r e .   T h e s e   a r e   t o k e n s   t h a t   a r e   s t o r e d   a s   s e c r e t s   i n   t h e   K u b e r n e t e s   c l u s t e r ,   a n d   t h e n   i s s u e d   t o   t h e   i n d i v i d u a l   k u b e l e t .   Y o u   c a n   u s e   a   s i n g l e   t o k e n   f o r   a n   e n t i r e   c l u s t e r ,   o r   i s s u e   o n e   p e r   w o r k e r   n o d e .   T h e   p r o c e s s   i s   t w o - f o l d :   C r e a t e   a   K u b e r n e t e s   s e c r e t   w i t h   t h e   t o k e n   I D ,   s e c r e t   a n d   s c o p e ( s ) . I s s u e   t h e   t o k e n   t o   t h e   k u b e l e t   F r o m   t h e   k u b e l e t ' s   p e r s p e c t i v e ,   o n e   t o k e n   i s   l i k e   a n o t h e r   a n d   h a s   n o   s p e c i a l   m e a n i n g .   F r o m   t h e   k u b e - a p i s e r v e r ' s   p e r s p e c t i v e ,   h o w e v e r ,   t h e   b o o t s t r a p   t o k e n   i s   s p e c i a l .   D u e   t o   i t s   t y p e ,   n a m e s p a c e   a n d   n a m e ,   k u b e - a p i s e r v e r   r e c o g n i z e s   i t   a s   a   s p e c i a l   t o k e n ,   a n d   g r a n t s   a n y o n e   a u t h e n t i c a t i n g   w i t h   t h a t   t o k e n   s p e c i a l   b o o t s t r a p   r i g h t s ,   n o t a b l y   t r e a t i n g   t h e m   a s   a   m e m b e r   o f   t h e   s y s t e m : b o o t s t r a p p e r s   g r o u p .   T h i s   f u l f i l l s   a   b a s i c   r e q u i r e m e n t   f o r   T L S   b o o t s t r a p p i n g .   T h e   d e t a i l s   f o r   c r e a t i n g   t h e   s e c r e t   a r e   a v a i l a b l e   h e r e .   I f   y o u   w a n t   t o   u s e   b o o t s t r a p   t o k e n s ,   y o u   m u s t   e n a b l e   i t   o n   k u b e - a p i s e r v e r   w i t h   t h e   f l a g :   - - e n a b l e - b o o t s t r a p - t o k e n - a u t h = t r u e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/",
    "id": "k8s_00240_section_4_4579"
  },
  {
    "question": "What is Token authentication file?",
    "answer": "k u b e - a p i s e r v e r   h a s   t h e   a b i l i t y   t o   a c c e p t   t o k e n s   a s   a u t h e n t i c a t i o n .   T h e s e   t o k e n s   a r e   a r b i t r a r y   b u t   s h o u l d   r e p r e s e n t   a t   l e a s t   1 2 8   b i t s   o f   e n t r o p y   d e r i v e d   f r o m   a   s e c u r e   r a n d o m   n u m b e r   g e n e r a t o r   ( s u c h   a s   / d e v / u r a n d o m   o n   m o s t   m o d e r n   L i n u x   s y s t e m s ) .   T h e r e   a r e   m u l t i p l e   w a y s   y o u   c a n   g e n e r a t e   a   t o k e n .   F o r   e x a m p l e :   h e a d   - c   1 6   / d e v / u r a n d o m   |   o d   - A n   - t   x   |   t r   - d   '   '   T h i s   w i l l   g e n e r a t e   t o k e n s   t h a t   l o o k   l i k e   0 2 b 5 0 b 0 5 2 8 3 e 9 8 d d 0 f d 7 1 d b 4 9 6 e f 0 1 e 8 .   T h e   t o k e n   f i l e   s h o u l d   l o o k   l i k e   t h e   f o l l o w i n g   e x a m p l e ,   w h e r e   t h e   f i r s t   t h r e e   v a l u e s   c a n   b e   a n y t h i n g   a n d   t h e   q u o t e d   g r o u p   n a m e   s h o u l d   b e   a s   d e p i c t e d :   0 2 b 5 0 b 0 5 2 8 3 e 9 8 d d 0 f d 7 1 d b 4 9 6 e f 0 1 e 8 , k u b e l e t - b o o t s t r a p , 1 0 0 0 1 , \" s y s t e m : b o o t s t r a p p e r s \"   A d d   t h e   - - t o k e n - a u t h - f i l e = F I L E N A M E   f l a g   t o   t h e   k u b e - a p i s e r v e r   c o m m a n d   ( i n   y o u r   s y s t e m d   u n i t   f i l e   p e r h a p s )   t o   e n a b l e   t h e   t o k e n   f i l e .   S e e   d o c s   h e r e   f o r   f u r t h e r   d e t a i l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/",
    "id": "k8s_00240_section_4_4580"
  },
  {
    "question": "What is Authorize kubelet to create CSR?",
    "answer": "N o w   t h a t   t h e   b o o t s t r a p p i n g   n o d e   i s   a u t h e n t i c a t e d   a s   p a r t   o f   t h e   s y s t e m : b o o t s t r a p p e r s   g r o u p ,   i t   n e e d s   t o   b e   a u t h o r i z e d   t o   c r e a t e   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t   ( C S R )   a s   w e l l   a s   r e t r i e v e   i t   w h e n   d o n e .   F o r t u n a t e l y ,   K u b e r n e t e s   s h i p s   w i t h   a   C l u s t e r R o l e   w i t h   p r e c i s e l y   t h e s e   ( a n d   o n l y   t h e s e )   p e r m i s s i o n s ,   s y s t e m : n o d e - b o o t s t r a p p e r .   T o   d o   t h i s ,   y o u   o n l y   n e e d   t o   c r e a t e   a   C l u s t e r R o l e B i n d i n g   t h a t   b i n d s   t h e   s y s t e m : b o o t s t r a p p e r s   g r o u p   t o   t h e   c l u s t e r   r o l e   s y s t e m : n o d e - b o o t s t r a p p e r .   #   e n a b l e   b o o t s t r a p p i n g   n o d e s   t o   c r e a t e   C S R   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e B i n d i n g   m e t a d a t a :   n a m e :   c r e a t e - c s r s - f o r - b o o t s t r a p p i n g   s u b j e c t s :   -   k i n d :   G r o u p   n a m e :   s y s t e m : b o o t s t r a p p e r s   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o   r o l e R e f :   k i n d :   C l u s t e r R o l e   n a m e :   s y s t e m : n o d e - b o o t s t r a p p e r   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/",
    "id": "k8s_00240_section_3_4581"
  },
  {
    "question": "What is kube-controller-manager configuration?",
    "answer": "W h i l e   t h e   a p i s e r v e r   r e c e i v e s   t h e   r e q u e s t s   f o r   c e r t i f i c a t e s   f r o m   t h e   k u b e l e t   a n d   a u t h e n t i c a t e s   t h o s e   r e q u e s t s ,   t h e   c o n t r o l l e r - m a n a g e r   i s   r e s p o n s i b l e   f o r   i s s u i n g   a c t u a l   s i g n e d   c e r t i f i c a t e s .   T h e   c o n t r o l l e r - m a n a g e r   p e r f o r m s   t h i s   f u n c t i o n   v i a   a   c e r t i f i c a t e - i s s u i n g   c o n t r o l   l o o p .   T h i s   t a k e s   t h e   f o r m   o f   a   c f s s l   l o c a l   s i g n e r   u s i n g   a s s e t s   o n   d i s k .   C u r r e n t l y ,   a l l   c e r t i f i c a t e s   i s s u e d   h a v e   o n e   y e a r   v a l i d i t y   a n d   a   d e f a u l t   s e t   o f   k e y   u s a g e s .   I n   o r d e r   f o r   t h e   c o n t r o l l e r - m a n a g e r   t o   s i g n   c e r t i f i c a t e s ,   i t   n e e d s   t h e   f o l l o w i n g :   a c c e s s   t o   t h e   \" K u b e r n e t e s   C A   k e y   a n d   c e r t i f i c a t e \"   t h a t   y o u   c r e a t e d   a n d   d i s t r i b u t e d e n a b l i n g   C S R   s i g n i n g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/",
    "id": "k8s_00240_section_2_4582"
  },
  {
    "question": "What is Access to key and certificate?",
    "answer": "A s   d e s c r i b e d   e a r l i e r ,   y o u   n e e d   t o   c r e a t e   a   K u b e r n e t e s   C A   k e y   a n d   c e r t i f i c a t e ,   a n d   d i s t r i b u t e   i t   t o   t h e   c o n t r o l   p l a n e   n o d e s .   T h e s e   w i l l   b e   u s e d   b y   t h e   c o n t r o l l e r - m a n a g e r   t o   s i g n   t h e   k u b e l e t   c e r t i f i c a t e s .   S i n c e   t h e s e   s i g n e d   c e r t i f i c a t e s   w i l l ,   i n   t u r n ,   b e   u s e d   b y   t h e   k u b e l e t   t o   a u t h e n t i c a t e   a s   a   r e g u l a r   k u b e l e t   t o   k u b e - a p i s e r v e r ,   i t   i s   i m p o r t a n t   t h a t   t h e   C A   p r o v i d e d   t o   t h e   c o n t r o l l e r - m a n a g e r   a t   t h i s   s t a g e   a l s o   b e   t r u s t e d   b y   k u b e - a p i s e r v e r   f o r   a u t h e n t i c a t i o n .   T h i s   i s   p r o v i d e d   t o   k u b e - a p i s e r v e r   w i t h   t h e   f l a g   - - c l i e n t - c a - f i l e = F I L E N A M E   ( f o r   e x a m p l e ,   - - c l i e n t - c a - f i l e = / v a r / l i b / k u b e r n e t e s / c a . p e m ) ,   a s   d e s c r i b e d   i n   t h e   k u b e - a p i s e r v e r   c o n f i g u r a t i o n   s e c t i o n .   T o   p r o v i d e   t h e   K u b e r n e t e s   C A   k e y   a n d   c e r t i f i c a t e   t o   k u b e - c o n t r o l l e r - m a n a g e r ,   u s e   t h e   f o l l o w i n g   f l a g s :   - - c l u s t e r - s i g n i n g - c e r t - f i l e = \" / e t c / p a t h / t o / k u b e r n e t e s / c a / c a . c r t \"   - - c l u s t e r - s i g n i n g - k e y - f i l e = \" / e t c / p a t h / t o / k u b e r n e t e s / c a / c a . k e y \"   F o r   e x a m p l e :   - - c l u s t e r - s i g n i n g - c e r t - f i l e = \" / v a r / l i b / k u b e r n e t e s / c a . p e m \"   - - c l u s t e r - s i g n i n g - k e y - f i l e = \" / v a r / l i b / k u b e r n e t e s / ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/",
    "id": "k8s_00240_section_3_4583"
  },
  {
    "question": "What is Approval?",
    "answer": "I n   o r d e r   t o   a p p r o v e   C S R s ,   y o u   n e e d   t o   t e l l   t h e   c o n t r o l l e r - m a n a g e r   t h a t   i t   i s   a c c e p t a b l e   t o   a p p r o v e   t h e m .   T h i s   i s   d o n e   b y   g r a n t i n g   R B A C   p e r m i s s i o n s   t o   t h e   c o r r e c t   g r o u p .   T h e r e   a r e   t w o   d i s t i n c t   s e t s   o f   p e r m i s s i o n s :   n o d e c l i e n t :   I f   a   n o d e   i s   c r e a t i n g   a   n e w   c e r t i f i c a t e   f o r   a   n o d e ,   t h e n   i t   d o e s   n o t   h a v e   a   c e r t i f i c a t e   y e t .   I t   i s   a u t h e n t i c a t i n g   u s i n g   o n e   o f   t h e   t o k e n s   l i s t e d   a b o v e ,   a n d   t h u s   i s   p a r t   o f   t h e   g r o u p   s y s t e m : b o o t s t r a p p e r s . s e l f n o d e c l i e n t :   I f   a   n o d e   i s   r e n e w i n g   i t s   c e r t i f i c a t e ,   t h e n   i t   a l r e a d y   h a s   a   c e r t i f i c a t e   ( b y   d e f i n i t i o n ) ,   w h i c h   i t   u s e s   c o n t i n u o u s l y   t o   a u t h e n t i c a t e   a s   p a r t   o f   t h e   g r o u p   s y s t e m : n o d e s .   T o   e n a b l e   t h e   k u b e l e t   t o   r e q u e s t   a n d   r e c e i v e   a   n e w   c e r t i f i c a t e ,   c r e a t e   a   C l u s t e r R o l e B i n d i n g   t h a t   b i n d s   t h e   g r o u p   i n   w h i c h   t h e   b o o t s t r a p p i n g   n o d e   i s   a   m e m b e r   s y s t e m : b o o t s t r a p p e r s   t o   t h e   C l u s t e r R o l e   t h a t   g r a n t s   i t   p e r m i s s i o n ,   s y s t e m : c e r t i f i c a t e s . k 8 s . i o : c e r t i f i c a t e s i g n i n g r e q u e s t s : n o d e c l i e n t :   #   A p p r o v e   a l l   C S R s   f o r   t h e   g r o u p   \" s y s t e m : b o o t s t r a p p e r s \"   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/",
    "id": "k8s_00240_section_3_4584"
  },
  {
    "question": "What is kubelet configuration?",
    "answer": "F i n a l l y ,   w i t h   t h e   c o n t r o l   p l a n e   n o d e s   p r o p e r l y   s e t   u p   a n d   a l l   o f   t h e   n e c e s s a r y   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n   i n   p l a c e ,   w e   c a n   c o n f i g u r e   t h e   k u b e l e t .   T h e   k u b e l e t   r e q u i r e s   t h e   f o l l o w i n g   c o n f i g u r a t i o n   t o   b o o t s t r a p :   A   p a t h   t o   s t o r e   t h e   k e y   a n d   c e r t i f i c a t e   i t   g e n e r a t e s   ( o p t i o n a l ,   c a n   u s e   d e f a u l t ) A   p a t h   t o   a   k u b e c o n f i g   f i l e   t h a t   d o e s   n o t   y e t   e x i s t ;   i t   w i l l   p l a c e   t h e   b o o t s t r a p p e d   c o n f i g   f i l e   h e r e A   p a t h   t o   a   b o o t s t r a p   k u b e c o n f i g   f i l e   t o   p r o v i d e   t h e   U R L   f o r   t h e   s e r v e r   a n d   b o o t s t r a p   c r e d e n t i a l s ,   e . g .   a   b o o t s t r a p   t o k e n O p t i o n a l :   i n s t r u c t i o n s   t o   r o t a t e   c e r t i f i c a t e s   T h e   b o o t s t r a p   k u b e c o n f i g   s h o u l d   b e   i n   a   p a t h   a v a i l a b l e   t o   t h e   k u b e l e t ,   f o r   e x a m p l e   / v a r / l i b / k u b e l e t / b o o t s t r a p - k u b e c o n f i g .   I t s   f o r m a t   i s   i d e n t i c a l   t o   a   n o r m a l   k u b e c o n f i g   f i l e .   A   s a m p l e   f i l e   m i g h t   l o o k   a s   f o l l o w s :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g   c l u s t e r s :   -   c l u s t e r :   c e r t i f i c a t e - a u t h o r i t y :   / v a r / l i b / k u b e r n e t e s / c a . p e m   s e r v e r :   h t t p s : / / m y . s e r v e r . e x a m p l e . c o m : 6 4 4 3   n a m e :   b o o t s t r a p   c o n t e x t s :   -   c o n t e x t :   c l u s t e r :   b o o t s t r a p   u s e r :   k u b e l e t - b o o t s t r a p   n a m e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/",
    "id": "k8s_00240_section_2_4585"
  },
  {
    "question": "What is Client and serving certificates?",
    "answer": "A l l   o f   t h e   a b o v e   r e l a t e   t o   k u b e l e t   c l i e n t   c e r t i f i c a t e s ,   s p e c i f i c a l l y ,   t h e   c e r t i f i c a t e s   a   k u b e l e t   u s e s   t o   a u t h e n t i c a t e   t o   k u b e - a p i s e r v e r .   A   k u b e l e t   a l s o   c a n   u s e   s e r v i n g   c e r t i f i c a t e s .   T h e   k u b e l e t   i t s e l f   e x p o s e s   a n   h t t p s   e n d p o i n t   f o r   c e r t a i n   f e a t u r e s .   T o   s e c u r e   t h e s e ,   t h e   k u b e l e t   c a n   d o   o n e   o f :   u s e   p r o v i d e d   k e y   a n d   c e r t i f i c a t e ,   v i a   t h e   - - t l s - p r i v a t e - k e y - f i l e   a n d   - - t l s - c e r t - f i l e   f l a g s c r e a t e   s e l f - s i g n e d   k e y   a n d   c e r t i f i c a t e ,   i f   a   k e y   a n d   c e r t i f i c a t e   a r e   n o t   p r o v i d e d r e q u e s t   s e r v i n g   c e r t i f i c a t e s   f r o m   t h e   c l u s t e r   s e r v e r ,   v i a   t h e   C S R   A P I   T h e   c l i e n t   c e r t i f i c a t e   p r o v i d e d   b y   T L S   b o o t s t r a p p i n g   i s   s i g n e d ,   b y   d e f a u l t ,   f o r   c l i e n t   a u t h   o n l y ,   a n d   t h u s   c a n n o t   b e   u s e d   a s   s e r v i n g   c e r t i f i c a t e s ,   o r   s e r v e r   a u t h .   H o w e v e r ,   y o u   c a n   e n a b l e   i t s   s e r v e r   c e r t i f i c a t e ,   a t   l e a s t   p a r t i a l l y ,   v i a   c e r t i f i c a t e   r o t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/",
    "id": "k8s_00240_section_3_4586"
  },
  {
    "question": "What is Certificate rotation?",
    "answer": "K u b e r n e t e s   v 1 . 8   a n d   h i g h e r   k u b e l e t   i m p l e m e n t s   f e a t u r e s   f o r   e n a b l i n g   r o t a t i o n   o f   i t s   c l i e n t   a n d / o r   s e r v i n g   c e r t i f i c a t e s .   N o t e ,   r o t a t i o n   o f   s e r v i n g   c e r t i f i c a t e   i s   a   b e t a   f e a t u r e   a n d   r e q u i r e s   t h e   R o t a t e K u b e l e t S e r v e r C e r t i f i c a t e   f e a t u r e   f l a g   o n   t h e   k u b e l e t   ( e n a b l e d   b y   d e f a u l t ) .   Y o u   c a n   c o n f i g u r e   t h e   k u b e l e t   t o   r o t a t e   i t s   c l i e n t   c e r t i f i c a t e s   b y   c r e a t i n g   n e w   C S R s   a s   i t s   e x i s t i n g   c r e d e n t i a l s   e x p i r e .   T o   e n a b l e   t h i s   f e a t u r e ,   u s e   t h e   r o t a t e C e r t i f i c a t e s   f i e l d   o f   k u b e l e t   c o n f i g u r a t i o n   f i l e   o r   p a s s   t h e   f o l l o w i n g   c o m m a n d   l i n e   a r g u m e n t   t o   t h e   k u b e l e t   ( d e p r e c a t e d ) :   - - r o t a t e - c e r t i f i c a t e s   E n a b l i n g   R o t a t e K u b e l e t S e r v e r C e r t i f i c a t e   c a u s e s   t h e   k u b e l e t   b o t h   t o   r e q u e s t   a   s e r v i n g   c e r t i f i c a t e   a f t e r   b o o t s t r a p p i n g   i t s   c l i e n t   c r e d e n t i a l s   a n d   t o   r o t a t e   t h a t   c e r t i f i c a t e .   T o   e n a b l e   t h i s   b e h a v i o r ,   u s e   t h e   f i e l d   s e r v e r T L S B o o t s t r a p   o f   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e   o r   p a s s   t h e   f o l l o w i n g   c o m m a n d   l i n e   a r g u m e n t   t o   t h e   k u b e l e t   ( d e p r e c a t e d ) :   - - r o t a t e - s e r v e r - c e r t i f i c a t e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/",
    "id": "k8s_00240_section_3_4587"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   C S R   a p p r o v i n g   c o n t r o l l e r s   i m p l e m e n t e d   i n   c o r e   K u b e r n e t e s   d o   n o t   a p p r o v e   n o d e   s e r v i n g   c e r t i f i c a t e s   f o r   s e c u r i t y   r e a s o n s .   T o   u s e   R o t a t e K u b e l e t S e r v e r C e r t i f i c a t e   o p e r a t o r s   n e e d   t o   r u n   a   c u s t o m   a p p r o v i n g   c o n t r o l l e r ,   o r   m a n u a l l y   a p p r o v e   t h e   s e r v i n g   c e r t i f i c a t e   r e q u e s t s .   A   d e p l o y m e n t - s p e c i f i c   a p p r o v a l   p r o c e s s   f o r   k u b e l e t   s e r v i n g   c e r t i f i c a t e s   s h o u l d   t y p i c a l l y   o n l y   a p p r o v e   C S R s   w h i c h :   a r e   r e q u e s t e d   b y   n o d e s   ( e n s u r e   t h e   s p e c . u s e r n a m e   f i e l d   i s   o f   t h e   f o r m   s y s t e m : n o d e : < n o d e N a m e >   a n d   s p e c . g r o u p s   c o n t a i n s   s y s t e m : n o d e s ) r e q u e s t   u s a g e s   f o r   a   s e r v i n g   c e r t i f i c a t e   ( e n s u r e   s p e c . u s a g e s   c o n t a i n s   s e r v e r   a u t h ,   o p t i o n a l l y   c o n t a i n s   d i g i t a l   s i g n a t u r e   a n d   k e y   e n c i p h e r m e n t ,   a n d   c o n t a i n s   n o   o t h e r   u s a g e s ) o n l y   h a v e   I P   a n d   D N S   s u b j e c t A l t N a m e s   t h a t   b e l o n g   t o   t h e   r e q u e s t i n g   n o d e ,   a n d   h a v e   n o   U R I   a n d   E m a i l   s u b j e c t A l t N a m e s   ( p a r s e   t h e   x 5 0 9   C e r t i f i c a t e   S i g n i n g   R e q u e s t   i n   s p e c . r e q u e s t   t o   v e r i f y   s u b j e c t A l t N a m e s )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/",
    "id": "k8s_00240_section_4_4588"
  },
  {
    "question": "What is Other authenticating components?",
    "answer": "A l l   o f   T L S   b o o t s t r a p p i n g   d e s c r i b e d   i n   t h i s   d o c u m e n t   r e l a t e s   t o   t h e   k u b e l e t .   H o w e v e r ,   o t h e r   c o m p o n e n t s   m a y   n e e d   t o   c o m m u n i c a t e   d i r e c t l y   w i t h   k u b e - a p i s e r v e r .   N o t a b l e   i s   k u b e - p r o x y ,   w h i c h   i s   p a r t   o f   t h e   K u b e r n e t e s   n o d e   c o m p o n e n t s   a n d   r u n s   o n   e v e r y   n o d e ,   b u t   m a y   a l s o   i n c l u d e   o t h e r   c o m p o n e n t s   s u c h   a s   m o n i t o r i n g   o r   n e t w o r k i n g .   L i k e   t h e   k u b e l e t ,   t h e s e   o t h e r   c o m p o n e n t s   a l s o   r e q u i r e   a   m e t h o d   o f   a u t h e n t i c a t i n g   t o   k u b e - a p i s e r v e r .   Y o u   h a v e   s e v e r a l   o p t i o n s   f o r   g e n e r a t i n g   t h e s e   c r e d e n t i a l s :   T h e   o l d   w a y :   C r e a t e   a n d   d i s t r i b u t e   c e r t i f i c a t e s   t h e   s a m e   w a y   y o u   d i d   f o r   k u b e l e t   b e f o r e   T L S   b o o t s t r a p p i n g D a e m o n S e t :   S i n c e   t h e   k u b e l e t   i t s e l f   i s   l o a d e d   o n   e a c h   n o d e ,   a n d   i s   s u f f i c i e n t   t o   s t a r t   b a s e   s e r v i c e s ,   y o u   c a n   r u n   k u b e - p r o x y   a n d   o t h e r   n o d e - s p e c i f i c   s e r v i c e s   n o t   a s   a   s t a n d a l o n e   p r o c e s s ,   b u t   r a t h e r   a s   a   d a e m o n s e t   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   S i n c e   i t   w i l l   b e   i n - c l u s t e r ,   y o u   c a n   g i v e   i t   a   p r o p e r   s e r v i c e   a c c o u n t   w i t h   a p p r o p r i a t e   p e r m i s s i o n s   t o   p e r f o r m   i t s   a c t i v i t i e s .   T h i s   m a y   b e   t h e   s i m p l e s t   w a y   t o   c o n f i g u r e   s u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/",
    "id": "k8s_00240_section_2_4589"
  },
  {
    "question": "What is kubectl approval?",
    "answer": "C S R s   c a n   b e   a p p r o v e d   o u t s i d e   o f   t h e   a p p r o v a l   f l o w s   b u i l t   i n t o   t h e   c o n t r o l l e r   m a n a g e r .   T h e   s i g n i n g   c o n t r o l l e r   d o e s   n o t   i m m e d i a t e l y   s i g n   a l l   c e r t i f i c a t e   r e q u e s t s .   I n s t e a d ,   i t   w a i t s   u n t i l   t h e y   h a v e   b e e n   f l a g g e d   w i t h   a n   \" A p p r o v e d \"   s t a t u s   b y   a n   a p p r o p r i a t e l y - p r i v i l e g e d   u s e r .   T h i s   f l o w   i s   i n t e n d e d   t o   a l l o w   f o r   a u t o m a t e d   a p p r o v a l   h a n d l e d   b y   a n   e x t e r n a l   a p p r o v a l   c o n t r o l l e r   o r   t h e   a p p r o v a l   c o n t r o l l e r   i m p l e m e n t e d   i n   t h e   c o r e   c o n t r o l l e r - m a n a g e r .   H o w e v e r   c l u s t e r   a d m i n i s t r a t o r s   c a n   a l s o   m a n u a l l y   a p p r o v e   c e r t i f i c a t e   r e q u e s t s   u s i n g   k u b e c t l .   A n   a d m i n i s t r a t o r   c a n   l i s t   C S R s   w i t h   k u b e c t l   g e t   c s r   a n d   d e s c r i b e   o n e   i n   d e t a i l   w i t h   k u b e c t l   d e s c r i b e   c s r   < n a m e > .   A n   a d m i n i s t r a t o r   c a n   a p p r o v e   o r   d e n y   a   C S R   w i t h   k u b e c t l   c e r t i f i c a t e   a p p r o v e   < n a m e >   a n d   k u b e c t l   c e r t i f i c a t e   d e n y   < n a m e > .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/",
    "id": "k8s_00240_section_2_4590"
  },
  {
    "question": "What is DaemonSet?",
    "answer": "DaemonSetDaemonSet represents the configuration of a daemon set.apiVersion: apps/v1import \"k8s.io/api/apps/v1\"DaemonSetDaemonSet represents the configuration of a daemon set.apiVersion: apps/v1kind: DaemonSetmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (DaemonSetSpec)The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (DaemonSetStatus)The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusDaemonSetSpecDaemonSetSpec is the specification of a daemon set.selector (LabelSelector), requiredA label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectorstemplate (PodTemplateSpec), requiredAn object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). The only allowed template.spec.restartPolicy value is \"Always\". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-templateminReadySeconds (int32)The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).updateStrategy (DaemonSetUpdateStrategy)An update strategy to replace existing DaemonSet pods with new pods.DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.updateStrategy.type (string)Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate.updateStrategy.rollingUpdate (RollingUpdateDaemonSet)Rolling update config params. Present only if type = \"RollingUpdate\".Spec to control the desired behavior of daemon set rolling update.updateStrategy.rollingUpdate.maxSurge (IntOrString)The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. O",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_qa_4591"
  },
  {
    "question": "How does DaemonSet work?",
    "answer": "DaemonSetDaemonSet represents the configuration of a daemon set.apiVersion: apps/v1import \"k8s.io/api/apps/v1\"DaemonSetDaemonSet represents the configuration of a daemon set.apiVersion: apps/v1kind: DaemonSetmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (DaemonSetSpec)The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (DaemonSetStatus)The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusDaemonSetSpecDaemonSetSpec is the specification of a daemon set.selector (LabelSelector), requiredA label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectorstemplate (PodTemplateSpec), requiredAn object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). The only allowed template.spec.restartPolicy value is \"Always\". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-templateminReadySeconds (int32)The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).updateStrategy (DaemonSetUpdateStrategy)An update strategy to replace existing DaemonSet pods with new pods.DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.updateStrategy.type (string)Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate.updateStrategy.rollingUpdate (RollingUpdateDaemonSet)Rolling update config params. Present only if type = \"RollingUpdate\".Spec to control the desired behavior of daemon set rolling update.updateStrategy.rollingUpdate.maxSurge (IntOrString)The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. O",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_qa_4592"
  },
  {
    "question": "When would you use DaemonSet?",
    "answer": "DaemonSetDaemonSet represents the configuration of a daemon set.apiVersion: apps/v1import \"k8s.io/api/apps/v1\"DaemonSetDaemonSet represents the configuration of a daemon set.apiVersion: apps/v1kind: DaemonSetmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (DaemonSetSpec)The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (DaemonSetStatus)The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusDaemonSetSpecDaemonSetSpec is the specification of a daemon set.selector (LabelSelector), requiredA label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectorstemplate (PodTemplateSpec), requiredAn object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). The only allowed template.spec.restartPolicy value is \"Always\". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-templateminReadySeconds (int32)The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).updateStrategy (DaemonSetUpdateStrategy)An update strategy to replace existing DaemonSet pods with new pods.DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.updateStrategy.type (string)Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate.updateStrategy.rollingUpdate (RollingUpdateDaemonSet)Rolling update config params. Present only if type = \"RollingUpdate\".Spec to control the desired behavior of daemon set rolling update.updateStrategy.rollingUpdate.maxSurge (IntOrString)The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. O",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_qa_4593"
  },
  {
    "question": "What are the benefits of DaemonSet?",
    "answer": "DaemonSetDaemonSet represents the configuration of a daemon set.apiVersion: apps/v1import \"k8s.io/api/apps/v1\"DaemonSetDaemonSet represents the configuration of a daemon set.apiVersion: apps/v1kind: DaemonSetmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (DaemonSetSpec)The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (DaemonSetStatus)The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusDaemonSetSpecDaemonSetSpec is the specification of a daemon set.selector (LabelSelector), requiredA label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectorstemplate (PodTemplateSpec), requiredAn object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). The only allowed template.spec.restartPolicy value is \"Always\". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-templateminReadySeconds (int32)The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).updateStrategy (DaemonSetUpdateStrategy)An update strategy to replace existing DaemonSet pods with new pods.DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.updateStrategy.type (string)Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate.updateStrategy.rollingUpdate (RollingUpdateDaemonSet)Rolling update config params. Present only if type = \"RollingUpdate\".Spec to control the desired behavior of daemon set rolling update.updateStrategy.rollingUpdate.maxSurge (IntOrString)The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. O",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_qa_4594"
  },
  {
    "question": "What is DaemonSet?",
    "answer": "a p i V e r s i o n :   a p p s / v 1   i m p o r t   \" k 8 s . i o / a p i / a p p s / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_1_4595"
  },
  {
    "question": "What is DaemonSet?",
    "answer": "D a e m o n S e t   r e p r e s e n t s   t h e   c o n f i g u r a t i o n   o f   a   d a e m o n   s e t .   a p i V e r s i o n :   a p p s / v 1 k i n d :   D a e m o n S e t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( D a e m o n S e t S p e c ) T h e   d e s i r e d   b e h a v i o r   o f   t h i s   d a e m o n   s e t .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( D a e m o n S e t S t a t u s ) T h e   c u r r e n t   s t a t u s   o f   t h i s   d a e m o n   s e t .   T h i s   d a t a   m a y   b e   o u t   o f   d a t e   b y   s o m e   w i n d o w   o f   t i m e .   P o p u l a t e d   b y   t h e   s y s t e m .   R e a d - o n l y .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   a p p s / v 1   k i n d :   D a e m o n S e t   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( D a e m o n S e t S p e c )   T h e   d e s i r e d   b e h a v i o r   o f   t h i s   d a e m o n   s e t .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_2_4596"
  },
  {
    "question": "What is DaemonSetSpec?",
    "answer": "D a e m o n S e t S p e c   i s   t h e   s p e c i f i c a t i o n   o f   a   d a e m o n   s e t .   s e l e c t o r   ( L a b e l S e l e c t o r ) ,   r e q u i r e d A   l a b e l   q u e r y   o v e r   p o d s   t h a t   a r e   m a n a g e d   b y   t h e   d a e m o n   s e t .   M u s t   m a t c h   i n   o r d e r   t o   b e   c o n t r o l l e d .   I t   m u s t   m a t c h   t h e   p o d   t e m p l a t e ' s   l a b e l s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / l a b e l s / # l a b e l - s e l e c t o r s t e m p l a t e   ( P o d T e m p l a t e S p e c ) ,   r e q u i r e d A n   o b j e c t   t h a t   d e s c r i b e s   t h e   p o d   t h a t   w i l l   b e   c r e a t e d .   T h e   D a e m o n S e t   w i l l   c r e a t e   e x a c t l y   o n e   c o p y   o f   t h i s   p o d   o n   e v e r y   n o d e   t h a t   m a t c h e s   t h e   t e m p l a t e ' s   n o d e   s e l e c t o r   ( o r   o n   e v e r y   n o d e   i f   n o   n o d e   s e l e c t o r   i s   s p e c i f i e d ) .   T h e   o n l y   a l l o w e d   t e m p l a t e . s p e c . r e s t a r t P o l i c y   v a l u e   i s   \" A l w a y s \" .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a t i o n c o n t r o l l e r # p o d - t e m p l a t e m i n R e a d y S e c o n d s   ( i n t 3 2 ) T h e   m i n i m u m   n u m b e r   o f   s e c o n d s   f o r   w h i c h   a   n e w l y   c r e a t e d   D a e m o n S e t   p o d   s h o u l d   b e   r e a d y   w i t h o u t   a n y   o f   i t s   c o n t a i n e r   c r a s h i n g ,   f o r   i t   t o   b e   c o n s i d e r e d   a v a i l a b l e .   D e f a u l t s   t o   0   ( p o d   w i l l   b e   c o n s i d e r e d   a v a i l a b l e   a s   s o o n   a s   i t   i s   r e a d y ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_2_4597"
  },
  {
    "question": "What is DaemonSetStatus?",
    "answer": "D a e m o n S e t S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t u s   o f   a   d a e m o n   s e t .   n u m b e r R e a d y   ( i n t 3 2 ) ,   r e q u i r e d n u m b e r R e a d y   i s   t h e   n u m b e r   o f   n o d e s   t h a t   s h o u l d   b e   r u n n i n g   t h e   d a e m o n   p o d   a n d   h a v e   o n e   o r   m o r e   o f   t h e   d a e m o n   p o d   r u n n i n g   w i t h   a   R e a d y   C o n d i t i o n . n u m b e r A v a i l a b l e   ( i n t 3 2 ) T h e   n u m b e r   o f   n o d e s   t h a t   s h o u l d   b e   r u n n i n g   t h e   d a e m o n   p o d   a n d   h a v e   o n e   o r   m o r e   o f   t h e   d a e m o n   p o d   r u n n i n g   a n d   a v a i l a b l e   ( r e a d y   f o r   a t   l e a s t   s p e c . m i n R e a d y S e c o n d s ) n u m b e r U n a v a i l a b l e   ( i n t 3 2 ) T h e   n u m b e r   o f   n o d e s   t h a t   s h o u l d   b e   r u n n i n g   t h e   d a e m o n   p o d   a n d   h a v e   n o n e   o f   t h e   d a e m o n   p o d   r u n n i n g   a n d   a v a i l a b l e   ( r e a d y   f o r   a t   l e a s t   s p e c . m i n R e a d y S e c o n d s ) n u m b e r M i s s c h e d u l e d   ( i n t 3 2 ) ,   r e q u i r e d T h e   n u m b e r   o f   n o d e s   t h a t   a r e   r u n n i n g   t h e   d a e m o n   p o d ,   b u t   a r e   n o t   s u p p o s e d   t o   r u n   t h e   d a e m o n   p o d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / d a e m o n s e t / d e s i r e d N u m b e r S c h e d u l e d   ( i n t 3 2 ) ,   r e q u i r e d T h e   t o t a l   n u m b e r   o f   n o d e s   t h a t   s h o u l d   b e   r u n n i n g   t h e   d a e m o n   p o d   ( i n c l u d i n g   n o d e s   c o r r e c t l y   r u n n i n g   t h e   d a e m o n   p o d ) .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_2_4598"
  },
  {
    "question": "What is DaemonSetList?",
    "answer": "D a e m o n S e t L i s t   i s   a   c o l l e c t i o n   o f   d a e m o n   s e t s .   a p i V e r s i o n :   a p p s / v 1 k i n d :   D a e m o n S e t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] D a e m o n S e t ) ,   r e q u i r e d A   l i s t   o f   d a e m o n   s e t s .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D a e m o n S e t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] D a e m o n S e t ) ,   r e q u i r e d   A   l i s t   o f   d a e m o n   s e t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_2_4599"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4600"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D a e m o n S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D a e m o n S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4601"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4602"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4603"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D a e m o n S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D a e m o n S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4604"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4605"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4606"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4607"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4608"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / d a e m o n s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4609"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4610"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4611"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4612"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D a e m o n S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D a e m o n S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4613"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t ) :   O K   2 0 1   ( D a e m o n S e t ) :   C r e a t e d   2 0 2   ( D a e m o n S e t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4614"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4615"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D a e m o n S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D a e m o n S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D a e m o n S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D a e m o n S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4616"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t ) :   O K   2 0 1   ( D a e m o n S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4617"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4618"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D a e m o n S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D a e m o n S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D a e m o n S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D a e m o n S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4619"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t ) :   O K   2 0 1   ( D a e m o n S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4620"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4621"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D a e m o n S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D a e m o n S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4622"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t ) :   O K   2 0 1   ( D a e m o n S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4623"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4624"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D a e m o n S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D a e m o n S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4625"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t ) :   O K   2 0 1   ( D a e m o n S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4626"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4627"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D a e m o n S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D a e m o n S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4628"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4629"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4630"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4631"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/",
    "id": "k8s_00241_section_4_4632"
  },
  {
    "question": "What is CustomResourceDefinition?",
    "answer": "CustomResourceDefinitionCustomResourceDefinition represents a resource that should be exposed on the API server.apiVersion: apiextensions.k8s.io/v1import \"k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1\"CustomResourceDefinitionCustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.apiVersion: apiextensions.k8s.io/v1kind: CustomResourceDefinitionmetadata (ObjectMeta)Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (CustomResourceDefinitionSpec), requiredspec describes how the user wants the resources to appearstatus (CustomResourceDefinitionStatus)status indicates the actual state of the CustomResourceDefinitionCustomResourceDefinitionSpecCustomResourceDefinitionSpec describes how a user wants their resource to appeargroup (string), requiredgroup is the API group of the defined custom resource. The custom resources are served under /apis/\\<group>/.... Must match the name of the CustomResourceDefinition (in the form \\<names.plural>.\\<group>).names (CustomResourceDefinitionNames), requirednames specify the resource and kind names for the custom resource.CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinitionnames.kind (string), requiredkind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the kind attribute in API calls.names.plural (string), requiredplural is the plural name of the resource to serve. The custom resources are served under /apis/\\<group>/\\<version>/.../\\<plural>. Must match the name of the CustomResourceDefinition (in the form \\<names.plural>.\\<group>). Must be all lowercase.names.categories ([]string)Atomic: will be replaced during a mergecategories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like kubectl get all.names.listKind (string)listKind is the serialized kind of the list for this resource. Defaults to \"kindList\".names.shortNames ([]string)Atomic: will be replaced during a mergeshortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like kubectl get \\<shortname>. It must be all lowercase.names.singular (string)singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased kind.scope (string), requiredscope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are Cluster and Namespaced.versions ([]CustomResourceDefinitionVersion), requiredAtomic: will be replaced during a mergeversions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_qa_4633"
  },
  {
    "question": "How does CustomResourceDefinition work?",
    "answer": "CustomResourceDefinitionCustomResourceDefinition represents a resource that should be exposed on the API server.apiVersion: apiextensions.k8s.io/v1import \"k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1\"CustomResourceDefinitionCustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.apiVersion: apiextensions.k8s.io/v1kind: CustomResourceDefinitionmetadata (ObjectMeta)Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (CustomResourceDefinitionSpec), requiredspec describes how the user wants the resources to appearstatus (CustomResourceDefinitionStatus)status indicates the actual state of the CustomResourceDefinitionCustomResourceDefinitionSpecCustomResourceDefinitionSpec describes how a user wants their resource to appeargroup (string), requiredgroup is the API group of the defined custom resource. The custom resources are served under /apis/\\<group>/.... Must match the name of the CustomResourceDefinition (in the form \\<names.plural>.\\<group>).names (CustomResourceDefinitionNames), requirednames specify the resource and kind names for the custom resource.CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinitionnames.kind (string), requiredkind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the kind attribute in API calls.names.plural (string), requiredplural is the plural name of the resource to serve. The custom resources are served under /apis/\\<group>/\\<version>/.../\\<plural>. Must match the name of the CustomResourceDefinition (in the form \\<names.plural>.\\<group>). Must be all lowercase.names.categories ([]string)Atomic: will be replaced during a mergecategories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like kubectl get all.names.listKind (string)listKind is the serialized kind of the list for this resource. Defaults to \"kindList\".names.shortNames ([]string)Atomic: will be replaced during a mergeshortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like kubectl get \\<shortname>. It must be all lowercase.names.singular (string)singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased kind.scope (string), requiredscope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are Cluster and Namespaced.versions ([]CustomResourceDefinitionVersion), requiredAtomic: will be replaced during a mergeversions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_qa_4634"
  },
  {
    "question": "When would you use CustomResourceDefinition?",
    "answer": "CustomResourceDefinitionCustomResourceDefinition represents a resource that should be exposed on the API server.apiVersion: apiextensions.k8s.io/v1import \"k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1\"CustomResourceDefinitionCustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.apiVersion: apiextensions.k8s.io/v1kind: CustomResourceDefinitionmetadata (ObjectMeta)Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (CustomResourceDefinitionSpec), requiredspec describes how the user wants the resources to appearstatus (CustomResourceDefinitionStatus)status indicates the actual state of the CustomResourceDefinitionCustomResourceDefinitionSpecCustomResourceDefinitionSpec describes how a user wants their resource to appeargroup (string), requiredgroup is the API group of the defined custom resource. The custom resources are served under /apis/\\<group>/.... Must match the name of the CustomResourceDefinition (in the form \\<names.plural>.\\<group>).names (CustomResourceDefinitionNames), requirednames specify the resource and kind names for the custom resource.CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinitionnames.kind (string), requiredkind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the kind attribute in API calls.names.plural (string), requiredplural is the plural name of the resource to serve. The custom resources are served under /apis/\\<group>/\\<version>/.../\\<plural>. Must match the name of the CustomResourceDefinition (in the form \\<names.plural>.\\<group>). Must be all lowercase.names.categories ([]string)Atomic: will be replaced during a mergecategories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like kubectl get all.names.listKind (string)listKind is the serialized kind of the list for this resource. Defaults to \"kindList\".names.shortNames ([]string)Atomic: will be replaced during a mergeshortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like kubectl get \\<shortname>. It must be all lowercase.names.singular (string)singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased kind.scope (string), requiredscope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are Cluster and Namespaced.versions ([]CustomResourceDefinitionVersion), requiredAtomic: will be replaced during a mergeversions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_qa_4635"
  },
  {
    "question": "What are the benefits of CustomResourceDefinition?",
    "answer": "CustomResourceDefinitionCustomResourceDefinition represents a resource that should be exposed on the API server.apiVersion: apiextensions.k8s.io/v1import \"k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1\"CustomResourceDefinitionCustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.apiVersion: apiextensions.k8s.io/v1kind: CustomResourceDefinitionmetadata (ObjectMeta)Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (CustomResourceDefinitionSpec), requiredspec describes how the user wants the resources to appearstatus (CustomResourceDefinitionStatus)status indicates the actual state of the CustomResourceDefinitionCustomResourceDefinitionSpecCustomResourceDefinitionSpec describes how a user wants their resource to appeargroup (string), requiredgroup is the API group of the defined custom resource. The custom resources are served under /apis/\\<group>/.... Must match the name of the CustomResourceDefinition (in the form \\<names.plural>.\\<group>).names (CustomResourceDefinitionNames), requirednames specify the resource and kind names for the custom resource.CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinitionnames.kind (string), requiredkind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the kind attribute in API calls.names.plural (string), requiredplural is the plural name of the resource to serve. The custom resources are served under /apis/\\<group>/\\<version>/.../\\<plural>. Must match the name of the CustomResourceDefinition (in the form \\<names.plural>.\\<group>). Must be all lowercase.names.categories ([]string)Atomic: will be replaced during a mergecategories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like kubectl get all.names.listKind (string)listKind is the serialized kind of the list for this resource. Defaults to \"kindList\".names.shortNames ([]string)Atomic: will be replaced during a mergeshortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like kubectl get \\<shortname>. It must be all lowercase.names.singular (string)singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased kind.scope (string), requiredscope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are Cluster and Namespaced.versions ([]CustomResourceDefinitionVersion), requiredAtomic: will be replaced during a mergeversions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_qa_4636"
  },
  {
    "question": "What is CustomResourceDefinition?",
    "answer": "a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i e x t e n s i o n s - a p i s e r v e r / p k g / a p i s / a p i e x t e n s i o n s / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_1_4637"
  },
  {
    "question": "What is CustomResourceDefinition?",
    "answer": "C u s t o m R e s o u r c e D e f i n i t i o n   r e p r e s e n t s   a   r e s o u r c e   t h a t   s h o u l d   b e   e x p o s e d   o n   t h e   A P I   s e r v e r .   I t s   n a m e   M U S T   b e   i n   t h e   f o r m a t   < . s p e c . n a m e > . < . s p e c . g r o u p > .   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1 k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( C u s t o m R e s o u r c e D e f i n i t i o n S p e c ) ,   r e q u i r e d s p e c   d e s c r i b e s   h o w   t h e   u s e r   w a n t s   t h e   r e s o u r c e s   t o   a p p e a r s t a t u s   ( C u s t o m R e s o u r c e D e f i n i t i o n S t a t u s ) s t a t u s   i n d i c a t e s   t h e   a c t u a l   s t a t e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( C u s t o m R e s o u r c e D e f i n i t i o n S p e c ) ,   r e q u i r e d   s p e c   d e s c r i b e s   h o w   t h e   u s e r   w a n t s   t h e   r e s o u r c e s   t o   a p p e a r   s t a t u s   ( C u s t o m R e s o u r c e D e f i n i t i o n S t a t u s )   s t a t u s   i n d i c a t e s   t h e   a c t u a l   s t a t e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_2_4638"
  },
  {
    "question": "What is CustomResourceDefinitionSpec?",
    "answer": "C u s t o m R e s o u r c e D e f i n i t i o n S p e c   d e s c r i b e s   h o w   a   u s e r   w a n t s   t h e i r   r e s o u r c e   t o   a p p e a r   g r o u p   ( s t r i n g ) ,   r e q u i r e d g r o u p   i s   t h e   A P I   g r o u p   o f   t h e   d e f i n e d   c u s t o m   r e s o u r c e .   T h e   c u s t o m   r e s o u r c e s   a r e   s e r v e d   u n d e r   / a p i s / \\ < g r o u p > / . . . .   M u s t   m a t c h   t h e   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   ( i n   t h e   f o r m   \\ < n a m e s . p l u r a l > . \\ < g r o u p > ) . n a m e s   ( C u s t o m R e s o u r c e D e f i n i t i o n N a m e s ) ,   r e q u i r e d n a m e s   s p e c i f y   t h e   r e s o u r c e   a n d   k i n d   n a m e s   f o r   t h e   c u s t o m   r e s o u r c e . C u s t o m R e s o u r c e D e f i n i t i o n N a m e s   i n d i c a t e s   t h e   n a m e s   t o   s e r v e   t h i s   C u s t o m R e s o u r c e D e f i n i t i o n n a m e s . k i n d   ( s t r i n g ) ,   r e q u i r e d k i n d   i s   t h e   s e r i a l i z e d   k i n d   o f   t h e   r e s o u r c e .   I t   i s   n o r m a l l y   C a m e l C a s e   a n d   s i n g u l a r .   C u s t o m   r e s o u r c e   i n s t a n c e s   w i l l   u s e   t h i s   v a l u e   a s   t h e   k i n d   a t t r i b u t e   i n   A P I   c a l l s . n a m e s . p l u r a l   ( s t r i n g ) ,   r e q u i r e d p l u r a l   i s   t h e   p l u r a l   n a m e   o f   t h e   r e s o u r c e   t o   s e r v e .   T h e   c u s t o m   r e s o u r c e s   a r e   s e r v e d   u n d e r   / a p i s / \\ < g r o u p > / \\ < v e r s i o n > / . . . / \\ < p l u r a l > .   M u s t   m a t c h   t h e   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   ( i n   t h e   f o r m   \\ < n a m e s . p l u r a l > . \\ < g r o u p > ) .   M u s t   b e   a l l   l o w e r c a s e . n a m e s . c a t e g o r i e s   ( [ ] ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_2_4639"
  },
  {
    "question": "What is JSONSchemaProps?",
    "answer": "J S O N S c h e m a P r o p s   i s   a   J S O N - S c h e m a   f o l l o w i n g   S p e c i f i c a t i o n   D r a f t   4   ( h t t p : / / j s o n - s c h e m a . o r g / ) .   $ r e f   ( s t r i n g ) $ s c h e m a   ( s t r i n g ) a d d i t i o n a l I t e m s   ( J S O N S c h e m a P r o p s O r B o o l ) J S O N S c h e m a P r o p s O r B o o l   r e p r e s e n t s   J S O N S c h e m a P r o p s   o r   a   b o o l e a n   v a l u e .   D e f a u l t s   t o   t r u e   f o r   t h e   b o o l e a n   p r o p e r t y . a d d i t i o n a l P r o p e r t i e s   ( J S O N S c h e m a P r o p s O r B o o l ) J S O N S c h e m a P r o p s O r B o o l   r e p r e s e n t s   J S O N S c h e m a P r o p s   o r   a   b o o l e a n   v a l u e .   D e f a u l t s   t o   t r u e   f o r   t h e   b o o l e a n   p r o p e r t y . a l l O f   ( [ ] J S O N S c h e m a P r o p s ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e a n y O f   ( [ ] J S O N S c h e m a P r o p s ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e d e f a u l t   ( J S O N ) d e f a u l t   i s   a   d e f a u l t   v a l u e   f o r   u n d e f i n e d   o b j e c t   f i e l d s .   D e f a u l t i n g   i s   a   b e t a   f e a t u r e   u n d e r   t h e   C u s t o m R e s o u r c e D e f a u l t i n g   f e a t u r e   g a t e .   D e f a u l t i n g   r e q u i r e s   s p e c . p r e s e r v e U n k n o w n F i e l d s   t o   b e   f a l s e . J S O N   r e p r e s e n t s   a n y   v a l i d   J S O N   v a l u e .   T h e s e   t y p e s   a r e   s u p p o r t e d :   b o o l ,   i n t 6 4 ,   f l o a t 6 4 ,   s t r i n g ,   [ ] i n t e r f a c e { } ,   m a p [ s t r i n g ] i n t e r f a c e { }   a n d   n i l . d e f i n i t i o n s   ( m a p [ s t r i n g ] J S O N S c h e m a P r o p s ) d e p e n d e n c i e s   ( m a p [ s t r i n g ] J S O N S c h e m a P r o p s O r S t r i n g A r r a y ) J S O N ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_2_4640"
  },
  {
    "question": "What is CustomResourceDefinitionStatus?",
    "answer": "C u s t o m R e s o u r c e D e f i n i t i o n S t a t u s   i n d i c a t e s   t h e   s t a t e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   a c c e p t e d N a m e s   ( C u s t o m R e s o u r c e D e f i n i t i o n N a m e s ) a c c e p t e d N a m e s   a r e   t h e   n a m e s   t h a t   a r e   a c t u a l l y   b e i n g   u s e d   t o   s e r v e   d i s c o v e r y .   T h e y   m a y   b e   d i f f e r e n t   t h a n   t h e   n a m e s   i n   s p e c . C u s t o m R e s o u r c e D e f i n i t i o n N a m e s   i n d i c a t e s   t h e   n a m e s   t o   s e r v e   t h i s   C u s t o m R e s o u r c e D e f i n i t i o n a c c e p t e d N a m e s . k i n d   ( s t r i n g ) ,   r e q u i r e d k i n d   i s   t h e   s e r i a l i z e d   k i n d   o f   t h e   r e s o u r c e .   I t   i s   n o r m a l l y   C a m e l C a s e   a n d   s i n g u l a r .   C u s t o m   r e s o u r c e   i n s t a n c e s   w i l l   u s e   t h i s   v a l u e   a s   t h e   k i n d   a t t r i b u t e   i n   A P I   c a l l s . a c c e p t e d N a m e s . p l u r a l   ( s t r i n g ) ,   r e q u i r e d p l u r a l   i s   t h e   p l u r a l   n a m e   o f   t h e   r e s o u r c e   t o   s e r v e .   T h e   c u s t o m   r e s o u r c e s   a r e   s e r v e d   u n d e r   / a p i s / \\ < g r o u p > / \\ < v e r s i o n > / . . . / \\ < p l u r a l > .   M u s t   m a t c h   t h e   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   ( i n   t h e   f o r m   \\ < n a m e s . p l u r a l > . \\ < g r o u p > ) .   M u s t   b e   a l l   l o w e r c a s e . a c c e p t e d N a m e s . c a t e g o r i e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e c a t e g o r i e s   i s   a   l i s t   o f   g r o u p e d   r e s o u r c e s   t h i s   c u s t o m   r e s o u r c e   b e l o n g s   t o   ( e . g .   ' a l l ' ) .   T h i s   i s   p u b l i s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_2_4641"
  },
  {
    "question": "What is CustomResourceDefinitionList?",
    "answer": "C u s t o m R e s o u r c e D e f i n i t i o n L i s t   i s   a   l i s t   o f   C u s t o m R e s o u r c e D e f i n i t i o n   o b j e c t s .   i t e m s   ( [ ] C u s t o m R e s o u r c e D e f i n i t i o n ) ,   r e q u i r e d i t e m s   l i s t   i n d i v i d u a l   C u s t o m R e s o u r c e D e f i n i t i o n   o b j e c t s a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] C u s t o m R e s o u r c e D e f i n i t i o n ) ,   r e q u i r e d   i t e m s   l i s t   i n d i v i d u a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_2_4642"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4643"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4644"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4645"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4646"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4647"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4648"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4649"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4650"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C u s t o m R e s o u r c e D e f i n i t i o n L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4651"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4652"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   C u s t o m R e s o u r c e D e f i n i t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   C u s t o m R e s o u r c e D e f i n i t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4653"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   O K   2 0 1   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   C r e a t e d   2 0 2   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4654"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4655"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n b o d y :   C u s t o m R e s o u r c e D e f i n i t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   b o d y :   C u s t o m R e s o u r c e D e f i n i t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4656"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   O K   2 0 1   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4657"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4658"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n b o d y :   C u s t o m R e s o u r c e D e f i n i t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   b o d y :   C u s t o m R e s o u r c e D e f i n i t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4659"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   O K   2 0 1   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4660"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4661"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4662"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   O K   2 0 1   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4663"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4664"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4665"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   O K   2 0 1   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4666"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4667"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4668"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4669"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4670"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4671"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/custom-resource-definition-v1/",
    "id": "k8s_00242_section_4_4672"
  },
  {
    "question": "What is Overview?",
    "answer": "OverviewKubernetes is a portable, extensible, open source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available.This page is an overview of Kubernetes.The name Kubernetes originates from Greek, meaning helmsman or pilot. K8s as an abbreviation results from counting the eight letters between the \"K\" and the \"s\". Google open-sourced the Kubernetes project in 2014. Kubernetes combines over 15 years of Google's experience running production workloads at scale with best-of-breed ideas and practices from the community.Why you need Kubernetes and what it can doContainers are a good way to bundle and run your applications. In a production environment, you need to manage the containers that run the applications and ensure that there is no downtime. For example, if a container goes down, another container needs to start. Wouldn't it be easier if this behavior was handled by a system?That's how Kubernetes comes to the rescue! Kubernetes provides you with a framework to run distributed systems resiliently. It takes care of scaling and failover for your application, provides deployment patterns, and more. For example: Kubernetes can easily manage a canary deployment for your system.Kubernetes provides you with:Service discovery and load balancing Kubernetes can expose a container using the DNS name or using their own IP address. If traffic to a container is high, Kubernetes is able to load balance and distribute the network traffic so that the deployment is stable.Storage orchestration Kubernetes allows you to automatically mount a storage system of your choice, such as local storages, public cloud providers, and more.Automated rollouts and rollbacks You can describe the desired state for your deployed containers using Kubernetes, and it can change the actual state to the desired state at a controlled rate. For example, you can automate Kubernetes to create new containers for your deployment, remove existing containers and adopt all their resources to the new container.Automatic bin packing You provide Kubernetes with a cluster of nodes that it can use to run containerized tasks. You tell Kubernetes how much CPU and memory (RAM) each container needs. Kubernetes can fit containers onto your nodes to make the best use of your resources.Self-healing Kubernetes restarts containers that fail, replaces containers, kills containers that don't respond to your user-defined health check, and doesn't advertise them to clients until they are ready to serve.Secret and configuration management Kubernetes lets you store and manage sensitive information, such as passwords, OAuth tokens, and SSH keys. You can deploy and update secrets and application configuration without rebuilding your container images, and without exposing secrets in your stack configuration.Batch execution In addition to services, Kub",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/",
    "id": "k8s_00243_qa_4673"
  },
  {
    "question": "How does Overview work?",
    "answer": "OverviewKubernetes is a portable, extensible, open source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available.This page is an overview of Kubernetes.The name Kubernetes originates from Greek, meaning helmsman or pilot. K8s as an abbreviation results from counting the eight letters between the \"K\" and the \"s\". Google open-sourced the Kubernetes project in 2014. Kubernetes combines over 15 years of Google's experience running production workloads at scale with best-of-breed ideas and practices from the community.Why you need Kubernetes and what it can doContainers are a good way to bundle and run your applications. In a production environment, you need to manage the containers that run the applications and ensure that there is no downtime. For example, if a container goes down, another container needs to start. Wouldn't it be easier if this behavior was handled by a system?That's how Kubernetes comes to the rescue! Kubernetes provides you with a framework to run distributed systems resiliently. It takes care of scaling and failover for your application, provides deployment patterns, and more. For example: Kubernetes can easily manage a canary deployment for your system.Kubernetes provides you with:Service discovery and load balancing Kubernetes can expose a container using the DNS name or using their own IP address. If traffic to a container is high, Kubernetes is able to load balance and distribute the network traffic so that the deployment is stable.Storage orchestration Kubernetes allows you to automatically mount a storage system of your choice, such as local storages, public cloud providers, and more.Automated rollouts and rollbacks You can describe the desired state for your deployed containers using Kubernetes, and it can change the actual state to the desired state at a controlled rate. For example, you can automate Kubernetes to create new containers for your deployment, remove existing containers and adopt all their resources to the new container.Automatic bin packing You provide Kubernetes with a cluster of nodes that it can use to run containerized tasks. You tell Kubernetes how much CPU and memory (RAM) each container needs. Kubernetes can fit containers onto your nodes to make the best use of your resources.Self-healing Kubernetes restarts containers that fail, replaces containers, kills containers that don't respond to your user-defined health check, and doesn't advertise them to clients until they are ready to serve.Secret and configuration management Kubernetes lets you store and manage sensitive information, such as passwords, OAuth tokens, and SSH keys. You can deploy and update secrets and application configuration without rebuilding your container images, and without exposing secrets in your stack configuration.Batch execution In addition to services, Kub",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/",
    "id": "k8s_00243_qa_4674"
  },
  {
    "question": "When would you use Overview?",
    "answer": "OverviewKubernetes is a portable, extensible, open source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available.This page is an overview of Kubernetes.The name Kubernetes originates from Greek, meaning helmsman or pilot. K8s as an abbreviation results from counting the eight letters between the \"K\" and the \"s\". Google open-sourced the Kubernetes project in 2014. Kubernetes combines over 15 years of Google's experience running production workloads at scale with best-of-breed ideas and practices from the community.Why you need Kubernetes and what it can doContainers are a good way to bundle and run your applications. In a production environment, you need to manage the containers that run the applications and ensure that there is no downtime. For example, if a container goes down, another container needs to start. Wouldn't it be easier if this behavior was handled by a system?That's how Kubernetes comes to the rescue! Kubernetes provides you with a framework to run distributed systems resiliently. It takes care of scaling and failover for your application, provides deployment patterns, and more. For example: Kubernetes can easily manage a canary deployment for your system.Kubernetes provides you with:Service discovery and load balancing Kubernetes can expose a container using the DNS name or using their own IP address. If traffic to a container is high, Kubernetes is able to load balance and distribute the network traffic so that the deployment is stable.Storage orchestration Kubernetes allows you to automatically mount a storage system of your choice, such as local storages, public cloud providers, and more.Automated rollouts and rollbacks You can describe the desired state for your deployed containers using Kubernetes, and it can change the actual state to the desired state at a controlled rate. For example, you can automate Kubernetes to create new containers for your deployment, remove existing containers and adopt all their resources to the new container.Automatic bin packing You provide Kubernetes with a cluster of nodes that it can use to run containerized tasks. You tell Kubernetes how much CPU and memory (RAM) each container needs. Kubernetes can fit containers onto your nodes to make the best use of your resources.Self-healing Kubernetes restarts containers that fail, replaces containers, kills containers that don't respond to your user-defined health check, and doesn't advertise them to clients until they are ready to serve.Secret and configuration management Kubernetes lets you store and manage sensitive information, such as passwords, OAuth tokens, and SSH keys. You can deploy and update secrets and application configuration without rebuilding your container images, and without exposing secrets in your stack configuration.Batch execution In addition to services, Kub",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/",
    "id": "k8s_00243_qa_4675"
  },
  {
    "question": "What are the benefits of Overview?",
    "answer": "OverviewKubernetes is a portable, extensible, open source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available.This page is an overview of Kubernetes.The name Kubernetes originates from Greek, meaning helmsman or pilot. K8s as an abbreviation results from counting the eight letters between the \"K\" and the \"s\". Google open-sourced the Kubernetes project in 2014. Kubernetes combines over 15 years of Google's experience running production workloads at scale with best-of-breed ideas and practices from the community.Why you need Kubernetes and what it can doContainers are a good way to bundle and run your applications. In a production environment, you need to manage the containers that run the applications and ensure that there is no downtime. For example, if a container goes down, another container needs to start. Wouldn't it be easier if this behavior was handled by a system?That's how Kubernetes comes to the rescue! Kubernetes provides you with a framework to run distributed systems resiliently. It takes care of scaling and failover for your application, provides deployment patterns, and more. For example: Kubernetes can easily manage a canary deployment for your system.Kubernetes provides you with:Service discovery and load balancing Kubernetes can expose a container using the DNS name or using their own IP address. If traffic to a container is high, Kubernetes is able to load balance and distribute the network traffic so that the deployment is stable.Storage orchestration Kubernetes allows you to automatically mount a storage system of your choice, such as local storages, public cloud providers, and more.Automated rollouts and rollbacks You can describe the desired state for your deployed containers using Kubernetes, and it can change the actual state to the desired state at a controlled rate. For example, you can automate Kubernetes to create new containers for your deployment, remove existing containers and adopt all their resources to the new container.Automatic bin packing You provide Kubernetes with a cluster of nodes that it can use to run containerized tasks. You tell Kubernetes how much CPU and memory (RAM) each container needs. Kubernetes can fit containers onto your nodes to make the best use of your resources.Self-healing Kubernetes restarts containers that fail, replaces containers, kills containers that don't respond to your user-defined health check, and doesn't advertise them to clients until they are ready to serve.Secret and configuration management Kubernetes lets you store and manage sensitive information, such as passwords, OAuth tokens, and SSH keys. You can deploy and update secrets and application configuration without rebuilding your container images, and without exposing secrets in your stack configuration.Batch execution In addition to services, Kub",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/",
    "id": "k8s_00243_qa_4676"
  },
  {
    "question": "What is Overview?",
    "answer": "T h i s   p a g e   i s   a n   o v e r v i e w   o f   K u b e r n e t e s .   T h e   n a m e   K u b e r n e t e s   o r i g i n a t e s   f r o m   G r e e k ,   m e a n i n g   h e l m s m a n   o r   p i l o t .   K 8 s   a s   a n   a b b r e v i a t i o n   r e s u l t s   f r o m   c o u n t i n g   t h e   e i g h t   l e t t e r s   b e t w e e n   t h e   \" K \"   a n d   t h e   \" s \" .   G o o g l e   o p e n - s o u r c e d   t h e   K u b e r n e t e s   p r o j e c t   i n   2 0 1 4 .   K u b e r n e t e s   c o m b i n e s   o v e r   1 5   y e a r s   o f   G o o g l e ' s   e x p e r i e n c e   r u n n i n g   p r o d u c t i o n   w o r k l o a d s   a t   s c a l e   w i t h   b e s t - o f - b r e e d   i d e a s   a n d   p r a c t i c e s   f r o m   t h e   c o m m u n i t y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/",
    "id": "k8s_00243_section_1_4677"
  },
  {
    "question": "What is Why you need Kubernetes and what it can do?",
    "answer": "C o n t a i n e r s   a r e   a   g o o d   w a y   t o   b u n d l e   a n d   r u n   y o u r   a p p l i c a t i o n s .   I n   a   p r o d u c t i o n   e n v i r o n m e n t ,   y o u   n e e d   t o   m a n a g e   t h e   c o n t a i n e r s   t h a t   r u n   t h e   a p p l i c a t i o n s   a n d   e n s u r e   t h a t   t h e r e   i s   n o   d o w n t i m e .   F o r   e x a m p l e ,   i f   a   c o n t a i n e r   g o e s   d o w n ,   a n o t h e r   c o n t a i n e r   n e e d s   t o   s t a r t .   W o u l d n ' t   i t   b e   e a s i e r   i f   t h i s   b e h a v i o r   w a s   h a n d l e d   b y   a   s y s t e m ?   T h a t ' s   h o w   K u b e r n e t e s   c o m e s   t o   t h e   r e s c u e !   K u b e r n e t e s   p r o v i d e s   y o u   w i t h   a   f r a m e w o r k   t o   r u n   d i s t r i b u t e d   s y s t e m s   r e s i l i e n t l y .   I t   t a k e s   c a r e   o f   s c a l i n g   a n d   f a i l o v e r   f o r   y o u r   a p p l i c a t i o n ,   p r o v i d e s   d e p l o y m e n t   p a t t e r n s ,   a n d   m o r e .   F o r   e x a m p l e :   K u b e r n e t e s   c a n   e a s i l y   m a n a g e   a   c a n a r y   d e p l o y m e n t   f o r   y o u r   s y s t e m .   K u b e r n e t e s   p r o v i d e s   y o u   w i t h :   S e r v i c e   d i s c o v e r y   a n d   l o a d   b a l a n c i n g   K u b e r n e t e s   c a n   e x p o s e   a   c o n t a i n e r   u s i n g   t h e   D N S   n a m e   o r   u s i n g   t h e i r   o w n   I P   a d d r e s s .   I f   t r a f f i c   t o   a   c o n t a i n e r   i s   h i g h ,   K u b e r n e t e s   i s   a b l e   t o   l o a d   b a l a n c e   a n d   d i s t r i b u t e   t h e   n e t w o r k   t r a f f i c   s o   t h a t   t h e   d e p l o y m e n t   i s   s t a b l e . S t o r a g e   o r c h e s t r a t i o n   K u b e r n e t e s   a l l o w s   y o u   t o   a u t o m a t i c a l l y   m o u n t   a   s t o r a g e   s y s t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/",
    "id": "k8s_00243_section_2_4678"
  },
  {
    "question": "What is What Kubernetes is not?",
    "answer": "K u b e r n e t e s   i s   n o t   a   t r a d i t i o n a l ,   a l l - i n c l u s i v e   P a a S   ( P l a t f o r m   a s   a   S e r v i c e )   s y s t e m .   S i n c e   K u b e r n e t e s   o p e r a t e s   a t   t h e   c o n t a i n e r   l e v e l   r a t h e r   t h a n   a t   t h e   h a r d w a r e   l e v e l ,   i t   p r o v i d e s   s o m e   g e n e r a l l y   a p p l i c a b l e   f e a t u r e s   c o m m o n   t o   P a a S   o f f e r i n g s ,   s u c h   a s   d e p l o y m e n t ,   s c a l i n g ,   l o a d   b a l a n c i n g ,   a n d   l e t s   u s e r s   i n t e g r a t e   t h e i r   l o g g i n g ,   m o n i t o r i n g ,   a n d   a l e r t i n g   s o l u t i o n s .   H o w e v e r ,   K u b e r n e t e s   i s   n o t   m o n o l i t h i c ,   a n d   t h e s e   d e f a u l t   s o l u t i o n s   a r e   o p t i o n a l   a n d   p l u g g a b l e .   K u b e r n e t e s   p r o v i d e s   t h e   b u i l d i n g   b l o c k s   f o r   b u i l d i n g   d e v e l o p e r   p l a t f o r m s ,   b u t   p r e s e r v e s   u s e r   c h o i c e   a n d   f l e x i b i l i t y   w h e r e   i t   i s   i m p o r t a n t .   K u b e r n e t e s :   D o e s   n o t   l i m i t   t h e   t y p e s   o f   a p p l i c a t i o n s   s u p p o r t e d .   K u b e r n e t e s   a i m s   t o   s u p p o r t   a n   e x t r e m e l y   d i v e r s e   v a r i e t y   o f   w o r k l o a d s ,   i n c l u d i n g   s t a t e l e s s ,   s t a t e f u l ,   a n d   d a t a - p r o c e s s i n g   w o r k l o a d s .   I f   a n   a p p l i c a t i o n   c a n   r u n   i n   a   c o n t a i n e r ,   i t   s h o u l d   r u n   g r e a t   o n   K u b e r n e t e s . D o e s   n o t   d e p l o y   s o u r c e   c o d e   a n d   d o e s   n o t   b u i l d   y o u r   a p p l i c a t i o n .   C o n t i n u o u s   I n t e g r a t i o n ,   D e l i v e r y ,   a n d   D e p l o y m e n t   ( C I / C D )   w o r k f l o w s   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/",
    "id": "k8s_00243_section_2_4679"
  },
  {
    "question": "What is Historical context for Kubernetes?",
    "answer": "L e t ' s   t a k e   a   l o o k   a t   w h y   K u b e r n e t e s   i s   s o   u s e f u l   b y   g o i n g   b a c k   i n   t i m e .   T r a d i t i o n a l   d e p l o y m e n t   e r a :   E a r l y   o n ,   o r g a n i z a t i o n s   r a n   a p p l i c a t i o n s   o n   p h y s i c a l   s e r v e r s .   T h e r e   w a s   n o   w a y   t o   d e f i n e   r e s o u r c e   b o u n d a r i e s   f o r   a p p l i c a t i o n s   i n   a   p h y s i c a l   s e r v e r ,   a n d   t h i s   c a u s e d   r e s o u r c e   a l l o c a t i o n   i s s u e s .   F o r   e x a m p l e ,   i f   m u l t i p l e   a p p l i c a t i o n s   r u n   o n   a   p h y s i c a l   s e r v e r ,   t h e r e   c a n   b e   i n s t a n c e s   w h e r e   o n e   a p p l i c a t i o n   w o u l d   t a k e   u p   m o s t   o f   t h e   r e s o u r c e s ,   a n d   a s   a   r e s u l t ,   t h e   o t h e r   a p p l i c a t i o n s   w o u l d   u n d e r p e r f o r m .   A   s o l u t i o n   f o r   t h i s   w o u l d   b e   t o   r u n   e a c h   a p p l i c a t i o n   o n   a   d i f f e r e n t   p h y s i c a l   s e r v e r .   B u t   t h i s   d i d   n o t   s c a l e   a s   r e s o u r c e s   w e r e   u n d e r u t i l i z e d ,   a n d   i t   w a s   e x p e n s i v e   f o r   o r g a n i z a t i o n s   t o   m a i n t a i n   m a n y   p h y s i c a l   s e r v e r s .   V i r t u a l i z e d   d e p l o y m e n t   e r a :   A s   a   s o l u t i o n ,   v i r t u a l i z a t i o n   w a s   i n t r o d u c e d .   I t   a l l o w s   y o u   t o   r u n   m u l t i p l e   V i r t u a l   M a c h i n e s   ( V M s )   o n   a   s i n g l e   p h y s i c a l   s e r v e r ' s   C P U .   V i r t u a l i z a t i o n   a l l o w s   a p p l i c a t i o n s   t o   b e   i s o l a t e d   b e t w e e n   V M s   a n d   p r o v i d e s   a   l e v e l   o f   s e c u r i t y   a s   t h e   i n f o r m a t i o n   o f   o n e   a p p l ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/",
    "id": "k8s_00243_section_2_4680"
  },
  {
    "question": "What is What's next?",
    "answer": "T a k e   a   l o o k   a t   t h e   K u b e r n e t e s   C o m p o n e n t s T a k e   a   l o o k   a t   t h e   T h e   K u b e r n e t e s   A P I T a k e   a   l o o k   a t   t h e   C l u s t e r   A r c h i t e c t u r e R e a d y   t o   G e t   S t a r t e d ?",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/",
    "id": "k8s_00243_section_2_4681"
  },
  {
    "question": "What is Installing kubeadm?",
    "answer": "Installing kubeadm This page shows how to install the kubeadm toolbox. For information on how to create a cluster with kubeadm once you have performed this installation process, see the Creating a cluster with kubeadm page.This installation guide is for Kubernetes v1.34. If you want to use a different Kubernetes version, please refer to the following pages instead:Installing kubeadm (Kubernetes v1.33)Installing kubeadm (Kubernetes v1.32)Installing kubeadm (Kubernetes v1.31)Installing kubeadm (Kubernetes v1.30)Before you beginA compatible Linux host. The Kubernetes project provides generic instructions for Linux distributions based on Debian and Red Hat, and those distributions without a package manager.2 GB or more of RAM per machine (any less will leave little room for your apps).2 CPUs or more for control plane machines.Full network connectivity between all machines in the cluster (public or private network is fine).Unique hostname, MAC address, and product_uuid for every node. See here for more details.Certain ports are open on your machines. See here for more details.Note:The kubeadm installation is done via binaries that use dynamic linking and assumes that your target system provides glibc. This is a reasonable assumption on many Linux distributions (including Debian, Ubuntu, Fedora, CentOS, etc.) but it is not always the case with custom and lightweight distributions which don't include glibc by default, such as Alpine Linux. The expectation is that the distribution either includes glibc or a compatibility layer that provides the expected symbols.Check your OS versionNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.The kubeadm project supports LTS kernels. See List of LTS kernels.You can get the kernel version using the command uname -rFor more information, see Linux Kernel Requirements.The kubeadm project supports recent kernel versions. For a list of recent kernels, see Windows Server Release Information.You can get the kernel version (also called the OS version) using the command systeminfoFor more information, see Windows OS version compatibility.A Kubernetes cluster created by kubeadm depends on software that use kernel features. This software includes, but is not limited to the container runtime, the kubelet, and a Container Network Interface plugin.To help you avoid unexpected errors as a result of an unsupported kernel version, kubeadm runs the SystemVerification pre-flight check. This check fails if the kernel version is not supported.You may choose to skip the check, if you know that your kernel provides the required features, even though kubeadm does not support its version.Verify the MAC address and product_uuid are unique for every nodeYou can get the MAC address of the network ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/",
    "id": "k8s_00244_qa_4682"
  },
  {
    "question": "How does Installing kubeadm work?",
    "answer": "Installing kubeadm This page shows how to install the kubeadm toolbox. For information on how to create a cluster with kubeadm once you have performed this installation process, see the Creating a cluster with kubeadm page.This installation guide is for Kubernetes v1.34. If you want to use a different Kubernetes version, please refer to the following pages instead:Installing kubeadm (Kubernetes v1.33)Installing kubeadm (Kubernetes v1.32)Installing kubeadm (Kubernetes v1.31)Installing kubeadm (Kubernetes v1.30)Before you beginA compatible Linux host. The Kubernetes project provides generic instructions for Linux distributions based on Debian and Red Hat, and those distributions without a package manager.2 GB or more of RAM per machine (any less will leave little room for your apps).2 CPUs or more for control plane machines.Full network connectivity between all machines in the cluster (public or private network is fine).Unique hostname, MAC address, and product_uuid for every node. See here for more details.Certain ports are open on your machines. See here for more details.Note:The kubeadm installation is done via binaries that use dynamic linking and assumes that your target system provides glibc. This is a reasonable assumption on many Linux distributions (including Debian, Ubuntu, Fedora, CentOS, etc.) but it is not always the case with custom and lightweight distributions which don't include glibc by default, such as Alpine Linux. The expectation is that the distribution either includes glibc or a compatibility layer that provides the expected symbols.Check your OS versionNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.The kubeadm project supports LTS kernels. See List of LTS kernels.You can get the kernel version using the command uname -rFor more information, see Linux Kernel Requirements.The kubeadm project supports recent kernel versions. For a list of recent kernels, see Windows Server Release Information.You can get the kernel version (also called the OS version) using the command systeminfoFor more information, see Windows OS version compatibility.A Kubernetes cluster created by kubeadm depends on software that use kernel features. This software includes, but is not limited to the container runtime, the kubelet, and a Container Network Interface plugin.To help you avoid unexpected errors as a result of an unsupported kernel version, kubeadm runs the SystemVerification pre-flight check. This check fails if the kernel version is not supported.You may choose to skip the check, if you know that your kernel provides the required features, even though kubeadm does not support its version.Verify the MAC address and product_uuid are unique for every nodeYou can get the MAC address of the network ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/",
    "id": "k8s_00244_qa_4683"
  },
  {
    "question": "When would you use Installing kubeadm?",
    "answer": "Installing kubeadm This page shows how to install the kubeadm toolbox. For information on how to create a cluster with kubeadm once you have performed this installation process, see the Creating a cluster with kubeadm page.This installation guide is for Kubernetes v1.34. If you want to use a different Kubernetes version, please refer to the following pages instead:Installing kubeadm (Kubernetes v1.33)Installing kubeadm (Kubernetes v1.32)Installing kubeadm (Kubernetes v1.31)Installing kubeadm (Kubernetes v1.30)Before you beginA compatible Linux host. The Kubernetes project provides generic instructions for Linux distributions based on Debian and Red Hat, and those distributions without a package manager.2 GB or more of RAM per machine (any less will leave little room for your apps).2 CPUs or more for control plane machines.Full network connectivity between all machines in the cluster (public or private network is fine).Unique hostname, MAC address, and product_uuid for every node. See here for more details.Certain ports are open on your machines. See here for more details.Note:The kubeadm installation is done via binaries that use dynamic linking and assumes that your target system provides glibc. This is a reasonable assumption on many Linux distributions (including Debian, Ubuntu, Fedora, CentOS, etc.) but it is not always the case with custom and lightweight distributions which don't include glibc by default, such as Alpine Linux. The expectation is that the distribution either includes glibc or a compatibility layer that provides the expected symbols.Check your OS versionNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.The kubeadm project supports LTS kernels. See List of LTS kernels.You can get the kernel version using the command uname -rFor more information, see Linux Kernel Requirements.The kubeadm project supports recent kernel versions. For a list of recent kernels, see Windows Server Release Information.You can get the kernel version (also called the OS version) using the command systeminfoFor more information, see Windows OS version compatibility.A Kubernetes cluster created by kubeadm depends on software that use kernel features. This software includes, but is not limited to the container runtime, the kubelet, and a Container Network Interface plugin.To help you avoid unexpected errors as a result of an unsupported kernel version, kubeadm runs the SystemVerification pre-flight check. This check fails if the kernel version is not supported.You may choose to skip the check, if you know that your kernel provides the required features, even though kubeadm does not support its version.Verify the MAC address and product_uuid are unique for every nodeYou can get the MAC address of the network ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/",
    "id": "k8s_00244_qa_4684"
  },
  {
    "question": "What are the benefits of Installing kubeadm?",
    "answer": "Installing kubeadm This page shows how to install the kubeadm toolbox. For information on how to create a cluster with kubeadm once you have performed this installation process, see the Creating a cluster with kubeadm page.This installation guide is for Kubernetes v1.34. If you want to use a different Kubernetes version, please refer to the following pages instead:Installing kubeadm (Kubernetes v1.33)Installing kubeadm (Kubernetes v1.32)Installing kubeadm (Kubernetes v1.31)Installing kubeadm (Kubernetes v1.30)Before you beginA compatible Linux host. The Kubernetes project provides generic instructions for Linux distributions based on Debian and Red Hat, and those distributions without a package manager.2 GB or more of RAM per machine (any less will leave little room for your apps).2 CPUs or more for control plane machines.Full network connectivity between all machines in the cluster (public or private network is fine).Unique hostname, MAC address, and product_uuid for every node. See here for more details.Certain ports are open on your machines. See here for more details.Note:The kubeadm installation is done via binaries that use dynamic linking and assumes that your target system provides glibc. This is a reasonable assumption on many Linux distributions (including Debian, Ubuntu, Fedora, CentOS, etc.) but it is not always the case with custom and lightweight distributions which don't include glibc by default, such as Alpine Linux. The expectation is that the distribution either includes glibc or a compatibility layer that provides the expected symbols.Check your OS versionNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.The kubeadm project supports LTS kernels. See List of LTS kernels.You can get the kernel version using the command uname -rFor more information, see Linux Kernel Requirements.The kubeadm project supports recent kernel versions. For a list of recent kernels, see Windows Server Release Information.You can get the kernel version (also called the OS version) using the command systeminfoFor more information, see Windows OS version compatibility.A Kubernetes cluster created by kubeadm depends on software that use kernel features. This software includes, but is not limited to the container runtime, the kubelet, and a Container Network Interface plugin.To help you avoid unexpected errors as a result of an unsupported kernel version, kubeadm runs the SystemVerification pre-flight check. This check fails if the kernel version is not supported.You may choose to skip the check, if you know that your kernel provides the required features, even though kubeadm does not support its version.Verify the MAC address and product_uuid are unique for every nodeYou can get the MAC address of the network ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/",
    "id": "k8s_00244_qa_4685"
  },
  {
    "question": "What is Installing kubeadm?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   i n s t a l l   t h e   k u b e a d m   t o o l b o x .   F o r   i n f o r m a t i o n   o n   h o w   t o   c r e a t e   a   c l u s t e r   w i t h   k u b e a d m   o n c e   y o u   h a v e   p e r f o r m e d   t h i s   i n s t a l l a t i o n   p r o c e s s ,   s e e   t h e   C r e a t i n g   a   c l u s t e r   w i t h   k u b e a d m   p a g e .   T h i s   i n s t a l l a t i o n   g u i d e   i s   f o r   K u b e r n e t e s   v 1 . 3 4 .   I f   y o u   w a n t   t o   u s e   a   d i f f e r e n t   K u b e r n e t e s   v e r s i o n ,   p l e a s e   r e f e r   t o   t h e   f o l l o w i n g   p a g e s   i n s t e a d :   I n s t a l l i n g   k u b e a d m   ( K u b e r n e t e s   v 1 . 3 3 ) I n s t a l l i n g   k u b e a d m   ( K u b e r n e t e s   v 1 . 3 2 ) I n s t a l l i n g   k u b e a d m   ( K u b e r n e t e s   v 1 . 3 1 ) I n s t a l l i n g   k u b e a d m   ( K u b e r n e t e s   v 1 . 3 0 )",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/",
    "id": "k8s_00244_section_1_4686"
  },
  {
    "question": "What is Before you begin?",
    "answer": "A   c o m p a t i b l e   L i n u x   h o s t .   T h e   K u b e r n e t e s   p r o j e c t   p r o v i d e s   g e n e r i c   i n s t r u c t i o n s   f o r   L i n u x   d i s t r i b u t i o n s   b a s e d   o n   D e b i a n   a n d   R e d   H a t ,   a n d   t h o s e   d i s t r i b u t i o n s   w i t h o u t   a   p a c k a g e   m a n a g e r . 2   G B   o r   m o r e   o f   R A M   p e r   m a c h i n e   ( a n y   l e s s   w i l l   l e a v e   l i t t l e   r o o m   f o r   y o u r   a p p s ) . 2   C P U s   o r   m o r e   f o r   c o n t r o l   p l a n e   m a c h i n e s . F u l l   n e t w o r k   c o n n e c t i v i t y   b e t w e e n   a l l   m a c h i n e s   i n   t h e   c l u s t e r   ( p u b l i c   o r   p r i v a t e   n e t w o r k   i s   f i n e ) . U n i q u e   h o s t n a m e ,   M A C   a d d r e s s ,   a n d   p r o d u c t _ u u i d   f o r   e v e r y   n o d e .   S e e   h e r e   f o r   m o r e   d e t a i l s . C e r t a i n   p o r t s   a r e   o p e n   o n   y o u r   m a c h i n e s .   S e e   h e r e   f o r   m o r e   d e t a i l s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/",
    "id": "k8s_00244_section_2_4687"
  },
  {
    "question": "What is Check your OS version?",
    "answer": "T h e   k u b e a d m   p r o j e c t   s u p p o r t s   L T S   k e r n e l s .   S e e   L i s t   o f   L T S   k e r n e l s . Y o u   c a n   g e t   t h e   k e r n e l   v e r s i o n   u s i n g   t h e   c o m m a n d   u n a m e   - r F o r   m o r e   i n f o r m a t i o n ,   s e e   L i n u x   K e r n e l   R e q u i r e m e n t s .   T h e   k u b e a d m   p r o j e c t   s u p p o r t s   L T S   k e r n e l s .   S e e   L i s t   o f   L T S   k e r n e l s . Y o u   c a n   g e t   t h e   k e r n e l   v e r s i o n   u s i n g   t h e   c o m m a n d   u n a m e   - r   F o r   m o r e   i n f o r m a t i o n ,   s e e   L i n u x   K e r n e l   R e q u i r e m e n t s .   T h e   k u b e a d m   p r o j e c t   s u p p o r t s   r e c e n t   k e r n e l   v e r s i o n s .   F o r   a   l i s t   o f   r e c e n t   k e r n e l s ,   s e e   W i n d o w s   S e r v e r   R e l e a s e   I n f o r m a t i o n . Y o u   c a n   g e t   t h e   k e r n e l   v e r s i o n   ( a l s o   c a l l e d   t h e   O S   v e r s i o n )   u s i n g   t h e   c o m m a n d   s y s t e m i n f o F o r   m o r e   i n f o r m a t i o n ,   s e e   W i n d o w s   O S   v e r s i o n   c o m p a t i b i l i t y .   T h e   k u b e a d m   p r o j e c t   s u p p o r t s   r e c e n t   k e r n e l   v e r s i o n s .   F o r   a   l i s t   o f   r e c e n t   k e r n e l s ,   s e e   W i n d o w s   S e r v e r   R e l e a s e   I n f o r m a t i o n . Y o u   c a n   g e t   t h e   k e r n e l   v e r s i o n   ( a l s o   c a l l e d   t h e   O S   v e r s i o n )   u s i n g   t h e   c o m m a n d   s y s t e m i n f o   F o r   m o r e   i n f o r m a t i o n ,   s e e   W i n d o w s   O S   v e r s i o n   c o m p a t i b i l i t y .   A   K u b e r n e t e s   c l u s t e r   c r e a t e d   b y   k u b e a d m   d e p e n d s   o n   s o f t w a r e   t h a t   u s e   k e r n e l   f e a t u r e s .   T h i s   s o f t w a r e   i n c l u d ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/",
    "id": "k8s_00244_section_2_4688"
  },
  {
    "question": "What is Verify the MAC address and product_uuid are unique for every node?",
    "answer": "Y o u   c a n   g e t   t h e   M A C   a d d r e s s   o f   t h e   n e t w o r k   i n t e r f a c e s   u s i n g   t h e   c o m m a n d   i p   l i n k   o r   i f c o n f i g   - a T h e   p r o d u c t _ u u i d   c a n   b e   c h e c k e d   b y   u s i n g   t h e   c o m m a n d   s u d o   c a t   / s y s / c l a s s / d m i / i d / p r o d u c t _ u u i d   I t   i s   v e r y   l i k e l y   t h a t   h a r d w a r e   d e v i c e s   w i l l   h a v e   u n i q u e   a d d r e s s e s ,   a l t h o u g h   s o m e   v i r t u a l   m a c h i n e s   m a y   h a v e   i d e n t i c a l   v a l u e s .   K u b e r n e t e s   u s e s   t h e s e   v a l u e s   t o   u n i q u e l y   i d e n t i f y   t h e   n o d e s   i n   t h e   c l u s t e r .   I f   t h e s e   v a l u e s   a r e   n o t   u n i q u e   t o   e a c h   n o d e ,   t h e   i n s t a l l a t i o n   p r o c e s s   m a y   f a i l .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/",
    "id": "k8s_00244_section_2_4689"
  },
  {
    "question": "What is Check network adapters?",
    "answer": "I f   y o u   h a v e   m o r e   t h a n   o n e   n e t w o r k   a d a p t e r ,   a n d   y o u r   K u b e r n e t e s   c o m p o n e n t s   a r e   n o t   r e a c h a b l e   o n   t h e   d e f a u l t   r o u t e ,   w e   r e c o m m e n d   y o u   a d d   I P   r o u t e ( s )   s o   K u b e r n e t e s   c l u s t e r   a d d r e s s e s   g o   v i a   t h e   a p p r o p r i a t e   a d a p t e r .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/",
    "id": "k8s_00244_section_2_4690"
  },
  {
    "question": "What is Check required ports?",
    "answer": "T h e s e   r e q u i r e d   p o r t s   n e e d   t o   b e   o p e n   i n   o r d e r   f o r   K u b e r n e t e s   c o m p o n e n t s   t o   c o m m u n i c a t e   w i t h   e a c h   o t h e r .   Y o u   c a n   u s e   t o o l s   l i k e   n e t c a t   t o   c h e c k   i f   a   p o r t   i s   o p e n .   F o r   e x a m p l e :   n c   1 2 7 . 0 . 0 . 1   6 4 4 3   - z v   - w   2   T h e   p o d   n e t w o r k   p l u g i n   y o u   u s e   m a y   a l s o   r e q u i r e   c e r t a i n   p o r t s   t o   b e   o p e n .   S i n c e   t h i s   d i f f e r s   w i t h   e a c h   p o d   n e t w o r k   p l u g i n ,   p l e a s e   s e e   t h e   d o c u m e n t a t i o n   f o r   t h e   p l u g i n s   a b o u t   w h a t   p o r t ( s )   t h o s e   n e e d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/",
    "id": "k8s_00244_section_2_4691"
  },
  {
    "question": "What is Swap configuration?",
    "answer": "T h e   d e f a u l t   b e h a v i o r   o f   a   k u b e l e t   i s   t o   f a i l   t o   s t a r t   i f   s w a p   m e m o r y   i s   d e t e c t e d   o n   a   n o d e .   T h i s   m e a n s   t h a t   s w a p   s h o u l d   e i t h e r   b e   d i s a b l e d   o r   t o l e r a t e d   b y   k u b e l e t .   T o   t o l e r a t e   s w a p ,   a d d   f a i l S w a p O n :   f a l s e   t o   k u b e l e t   c o n f i g u r a t i o n   o r   a s   a   c o m m a n d   l i n e   a r g u m e n t .   N o t e :   e v e n   i f   f a i l S w a p O n :   f a l s e   i s   p r o v i d e d ,   w o r k l o a d s   w o u l d n ' t   h a v e   s w a p   a c c e s s   b y   d e f a u l t .   T h i s   c a n   b e   c h a n g e d   b y   s e t t i n g   a   s w a p B e h a v i o r ,   a g a i n   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e .   T o   u s e   s w a p ,   s e t   a   s w a p B e h a v i o r   o t h e r   t h a n   t h e   d e f a u l t   N o S w a p   s e t t i n g .   S e e   S w a p   m e m o r y   m a n a g e m e n t   f o r   m o r e   d e t a i l s . T o   d i s a b l e   s w a p ,   s u d o   s w a p o f f   - a   c a n   b e   u s e d   t o   d i s a b l e   s w a p p i n g   t e m p o r a r i l y .   T o   m a k e   t h i s   c h a n g e   p e r s i s t e n t   a c r o s s   r e b o o t s ,   m a k e   s u r e   s w a p   i s   d i s a b l e d   i n   c o n f i g   f i l e s   l i k e   / e t c / f s t a b ,   s y s t e m d . s w a p ,   d e p e n d i n g   h o w   i t   w a s   c o n f i g u r e d   o n   y o u r   s y s t e m .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/",
    "id": "k8s_00244_section_2_4692"
  },
  {
    "question": "What is Installing a container runtime?",
    "answer": "T o   r u n   c o n t a i n e r s   i n   P o d s ,   K u b e r n e t e s   u s e s   a   c o n t a i n e r   r u n t i m e .   B y   d e f a u l t ,   K u b e r n e t e s   u s e s   t h e   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I )   t o   i n t e r f a c e   w i t h   y o u r   c h o s e n   c o n t a i n e r   r u n t i m e .   I f   y o u   d o n ' t   s p e c i f y   a   r u n t i m e ,   k u b e a d m   a u t o m a t i c a l l y   t r i e s   t o   d e t e c t   a n   i n s t a l l e d   c o n t a i n e r   r u n t i m e   b y   s c a n n i n g   t h r o u g h   a   l i s t   o f   k n o w n   e n d p o i n t s .   I f   m u l t i p l e   o r   n o   c o n t a i n e r   r u n t i m e s   a r e   d e t e c t e d   k u b e a d m   w i l l   t h r o w   a n   e r r o r   a n d   w i l l   r e q u e s t   t h a t   y o u   s p e c i f y   w h i c h   o n e   y o u   w a n t   t o   u s e .   S e e   c o n t a i n e r   r u n t i m e s   f o r   m o r e   i n f o r m a t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/",
    "id": "k8s_00244_section_2_4693"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   t a b l e s   b e l o w   i n c l u d e   t h e   k n o w n   e n d p o i n t s   f o r   s u p p o r t e d   o p e r a t i n g   s y s t e m s :   L i n u x   c o n t a i n e r   r u n t i m e s R u n t i m e P a t h   t o   U n i x   d o m a i n   s o c k e t c o n t a i n e r d u n i x : / / / v a r / r u n / c o n t a i n e r d / c o n t a i n e r d . s o c k C R I - O u n i x : / / / v a r / r u n / c r i o / c r i o . s o c k D o c k e r   E n g i n e   ( u s i n g   c r i - d o c k e r d ) u n i x : / / / v a r / r u n / c r i - d o c k e r d . s o c k   W i n d o w s   c o n t a i n e r   r u n t i m e s R u n t i m e P a t h   t o   W i n d o w s   n a m e d   p i p e c o n t a i n e r d n p i p e : / / / / . / p i p e / c o n t a i n e r d - c o n t a i n e r d D o c k e r   E n g i n e   ( u s i n g   c r i - d o c k e r d ) n p i p e : / / / / . / p i p e / c r i - d o c k e r d",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/",
    "id": "k8s_00244_section_4_4694"
  },
  {
    "question": "What is Installing kubeadm, kubelet and kubectl?",
    "answer": "Y o u   w i l l   i n s t a l l   t h e s e   p a c k a g e s   o n   a l l   o f   y o u r   m a c h i n e s :   k u b e a d m :   t h e   c o m m a n d   t o   b o o t s t r a p   t h e   c l u s t e r . k u b e l e t :   t h e   c o m p o n e n t   t h a t   r u n s   o n   a l l   o f   t h e   m a c h i n e s   i n   y o u r   c l u s t e r   a n d   d o e s   t h i n g s   l i k e   s t a r t i n g   p o d s   a n d   c o n t a i n e r s . k u b e c t l :   t h e   c o m m a n d   l i n e   u t i l   t o   t a l k   t o   y o u r   c l u s t e r .   k u b e a d m :   t h e   c o m m a n d   t o   b o o t s t r a p   t h e   c l u s t e r .   k u b e l e t :   t h e   c o m p o n e n t   t h a t   r u n s   o n   a l l   o f   t h e   m a c h i n e s   i n   y o u r   c l u s t e r   a n d   d o e s   t h i n g s   l i k e   s t a r t i n g   p o d s   a n d   c o n t a i n e r s .   k u b e c t l :   t h e   c o m m a n d   l i n e   u t i l   t o   t a l k   t o   y o u r   c l u s t e r .   k u b e a d m   w i l l   n o t   i n s t a l l   o r   m a n a g e   k u b e l e t   o r   k u b e c t l   f o r   y o u ,   s o   y o u   w i l l   n e e d   t o   e n s u r e   t h e y   m a t c h   t h e   v e r s i o n   o f   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   y o u   w a n t   k u b e a d m   t o   i n s t a l l   f o r   y o u .   I f   y o u   d o   n o t ,   t h e r e   i s   a   r i s k   o f   a   v e r s i o n   s k e w   o c c u r r i n g   t h a t   c a n   l e a d   t o   u n e x p e c t e d ,   b u g g y   b e h a v i o u r .   H o w e v e r ,   o n e   m i n o r   v e r s i o n   s k e w   b e t w e e n   t h e   k u b e l e t   a n d   t h e   c o n t r o l   p l a n e   i s   s u p p o r t e d ,   b u t   t h e   k u b e l e t   v e r s i o n   m a y   n e v e r   e x c e e d   t h e   A P I   s e r v e r   v e r s i o n .   F o r   e x a m p l e ,   t h e   k u b e l e t   r u n n i n g   1 . 7 . 0   s h o u l d   b e   f u l l ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/",
    "id": "k8s_00244_section_2_4695"
  },
  {
    "question": "What is Warning:?",
    "answer": "F o r   m o r e   i n f o r m a t i o n   o n   v e r s i o n   s k e w s ,   s e e :   K u b e r n e t e s   v e r s i o n   a n d   v e r s i o n - s k e w   p o l i c y K u b e a d m - s p e c i f i c   v e r s i o n   s k e w   p o l i c y",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/",
    "id": "k8s_00244_section_4_4696"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e s e   i n s t r u c t i o n s   a r e   f o r   K u b e r n e t e s   v 1 . 3 4 . U p d a t e   t h e   a p t   p a c k a g e   i n d e x   a n d   i n s t a l l   p a c k a g e s   n e e d e d   t o   u s e   t h e   K u b e r n e t e s   a p t   r e p o s i t o r y : s u d o   a p t - g e t   u p d a t e   #   a p t - t r a n s p o r t - h t t p s   m a y   b e   a   d u m m y   p a c k a g e ;   i f   s o ,   y o u   c a n   s k i p   t h a t   p a c k a g e   s u d o   a p t - g e t   i n s t a l l   - y   a p t - t r a n s p o r t - h t t p s   c a - c e r t i f i c a t e s   c u r l   g p g   D o w n l o a d   t h e   p u b l i c   s i g n i n g   k e y   f o r   t h e   K u b e r n e t e s   p a c k a g e   r e p o s i t o r i e s .   T h e   s a m e   s i g n i n g   k e y   i s   u s e d   f o r   a l l   r e p o s i t o r i e s   s o   y o u   c a n   d i s r e g a r d   t h e   v e r s i o n   i n   t h e   U R L : #   I f   t h e   d i r e c t o r y   ` / e t c / a p t / k e y r i n g s `   d o e s   n o t   e x i s t ,   i t   s h o u l d   b e   c r e a t e d   b e f o r e   t h e   c u r l   c o m m a n d ,   r e a d   t h e   n o t e   b e l o w .   #   s u d o   m k d i r   - p   - m   7 5 5   / e t c / a p t / k e y r i n g s   c u r l   - f s S L   h t t p s : / / p k g s . k 8 s . i o / c o r e : / s t a b l e : / v 1 . 3 4 / d e b / R e l e a s e . k e y   |   s u d o   g p g   - - d e a r m o r   - o   / e t c / a p t / k e y r i n g s / k u b e r n e t e s - a p t - k e y r i n g . g p g   N o t e : I n   r e l e a s e s   o l d e r   t h a n   D e b i a n   1 2   a n d   U b u n t u   2 2 . 0 4 ,   d i r e c t o r y   / e t c / a p t / k e y r i n g s   d o e s   n o t   e x i s t   b y   d e f a u l t ,   a n d   i t   s h o u l d   b e   c r e a t e d   b e f o r e   t h e   c u r l   c o m m a n d . A d d   t h e   a p p r o p r i a t e   K u b e r n e t e s   a p t   r e p o s i t o r y .   P l e a s e   n o t e   t h a t   t h i s ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/",
    "id": "k8s_00244_section_4_4697"
  },
  {
    "question": "What is Note:?",
    "answer": "A d d   t h e   a p p r o p r i a t e   K u b e r n e t e s   a p t   r e p o s i t o r y .   P l e a s e   n o t e   t h a t   t h i s   r e p o s i t o r y   h a v e   p a c k a g e s   o n l y   f o r   K u b e r n e t e s   1 . 3 4 ;   f o r   o t h e r   K u b e r n e t e s   m i n o r   v e r s i o n s ,   y o u   n e e d   t o   c h a n g e   t h e   K u b e r n e t e s   m i n o r   v e r s i o n   i n   t h e   U R L   t o   m a t c h   y o u r   d e s i r e d   m i n o r   v e r s i o n   ( y o u   s h o u l d   a l s o   c h e c k   t h a t   y o u   a r e   r e a d i n g   t h e   d o c u m e n t a t i o n   f o r   t h e   v e r s i o n   o f   K u b e r n e t e s   t h a t   y o u   p l a n   t o   i n s t a l l ) . #   T h i s   o v e r w r i t e s   a n y   e x i s t i n g   c o n f i g u r a t i o n   i n   / e t c / a p t / s o u r c e s . l i s t . d / k u b e r n e t e s . l i s t   e c h o   ' d e b   [ s i g n e d - b y = / e t c / a p t / k e y r i n g s / k u b e r n e t e s - a p t - k e y r i n g . g p g ]   h t t p s : / / p k g s . k 8 s . i o / c o r e : / s t a b l e : / v 1 . 3 4 / d e b /   / '   |   s u d o   t e e   / e t c / a p t / s o u r c e s . l i s t . d / k u b e r n e t e s . l i s t   U p d a t e   t h e   a p t   p a c k a g e   i n d e x ,   i n s t a l l   k u b e l e t ,   k u b e a d m   a n d   k u b e c t l ,   a n d   p i n   t h e i r   v e r s i o n : s u d o   a p t - g e t   u p d a t e   s u d o   a p t - g e t   i n s t a l l   - y   k u b e l e t   k u b e a d m   k u b e c t l   s u d o   a p t - m a r k   h o l d   k u b e l e t   k u b e a d m   k u b e c t l   ( O p t i o n a l )   E n a b l e   t h e   k u b e l e t   s e r v i c e   b e f o r e   r u n n i n g   k u b e a d m : s u d o   s y s t e m c t l   e n a b l e   - - n o w   k u b e l e t   A d d   t h e   a p p r o p r i a t e   K u b e r n e t e s   a p t   r e p o s i t o r y .   P l e a s e   n o t e   t h a t   t h i s   r e p o s i t o r ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/",
    "id": "k8s_00244_section_4_4698"
  },
  {
    "question": "What is Caution:?",
    "answer": "S e t t i n g   S E L i n u x   i n   p e r m i s s i v e   m o d e   b y   r u n n i n g   s e t e n f o r c e   0   a n d   s e d   . . .   e f f e c t i v e l y   d i s a b l e s   i t .   T h i s   i s   r e q u i r e d   t o   a l l o w   c o n t a i n e r s   t o   a c c e s s   t h e   h o s t   f i l e s y s t e m ;   f o r   e x a m p l e ,   s o m e   c l u s t e r   n e t w o r k   p l u g i n s   r e q u i r e   t h a t .   Y o u   h a v e   t o   d o   t h i s   u n t i l   S E L i n u x   s u p p o r t   i s   i m p r o v e d   i n   t h e   k u b e l e t . Y o u   c a n   l e a v e   S E L i n u x   e n a b l e d   i f   y o u   k n o w   h o w   t o   c o n f i g u r e   i t   b u t   i t   m a y   r e q u i r e   s e t t i n g s   t h a t   a r e   n o t   s u p p o r t e d   b y   k u b e a d m .   A d d   t h e   K u b e r n e t e s   y u m   r e p o s i t o r y .   T h e   e x c l u d e   p a r a m e t e r   i n   t h e   r e p o s i t o r y   d e f i n i t i o n   e n s u r e s   t h a t   t h e   p a c k a g e s   r e l a t e d   t o   K u b e r n e t e s   a r e   n o t   u p g r a d e d   u p o n   r u n n i n g   y u m   u p d a t e   a s   t h e r e ' s   a   s p e c i a l   p r o c e d u r e   t h a t   m u s t   b e   f o l l o w e d   f o r   u p g r a d i n g   K u b e r n e t e s .   P l e a s e   n o t e   t h a t   t h i s   r e p o s i t o r y   h a v e   p a c k a g e s   o n l y   f o r   K u b e r n e t e s   1 . 3 4 ;   f o r   o t h e r   K u b e r n e t e s   m i n o r   v e r s i o n s ,   y o u   n e e d   t o   c h a n g e   t h e   K u b e r n e t e s   m i n o r   v e r s i o n   i n   t h e   U R L   t o   m a t c h   y o u r   d e s i r e d   m i n o r   v e r s i o n   ( y o u   s h o u l d   a l s o   c h e c k   t h a t   y o u   a r e   r e a d i n g   t h e   d o c u m e n t a t i o n   f o r   t h e   v e r s i o n   o f   K u b e r n e t e s   t h a t   y o u   p l a n   t o   i n s t a l l ) . #   T h i s   o v ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/",
    "id": "k8s_00244_section_4_4699"
  },
  {
    "question": "What is Note:?",
    "answer": "D O W N L O A D _ D I R = \" / u s r / l o c a l / b i n \"   s u d o   m k d i r   - p   \" $ D O W N L O A D _ D I R \"   O p t i o n a l l y   i n s t a l l   c r i c t l   ( r e q u i r e d   f o r   i n t e r a c t i o n   w i t h   t h e   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I ) ,   o p t i o n a l   f o r   k u b e a d m ) :   C R I C T L _ V E R S I O N = \" v 1 . 3 1 . 0 \"   A R C H = \" a m d 6 4 \"   c u r l   - L   \" h t t p s : / / g i t h u b . c o m / k u b e r n e t e s - s i g s / c r i - t o o l s / r e l e a s e s / d o w n l o a d / $ { C R I C T L _ V E R S I O N } / c r i c t l - $ { C R I C T L _ V E R S I O N } - l i n u x - $ { A R C H } . t a r . g z \"   |   s u d o   t a r   - C   $ D O W N L O A D _ D I R   - x z   I n s t a l l   k u b e a d m ,   k u b e l e t   a n d   a d d   a   k u b e l e t   s y s t e m d   s e r v i c e :   R E L E A S E = \" $ ( c u r l   - s S L   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) \"   A R C H = \" a m d 6 4 \"   c d   $ D O W N L O A D _ D I R   s u d o   c u r l   - L   - - r e m o t e - n a m e - a l l   h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ { R E L E A S E } / b i n / l i n u x / $ { A R C H } / { k u b e a d m , k u b e l e t }   s u d o   c h m o d   + x   { k u b e a d m , k u b e l e t }   R E L E A S E _ V E R S I O N = \" v 0 . 1 6 . 2 \"   c u r l   - s S L   \" h t t p s : / / r a w . g i t h u b u s e r c o n t e n t . c o m / k u b e r n e t e s / r e l e a s e / $ { R E L E A S E _ V E R S I O N } / c m d / k r e l / t e m p l a t e s / l a t e s t / k u b e l e t / k u b e l e t . s e r v i c e \"   |   s e d   \" s : / u s r / b i n : $ { D O W N L O A D _ D I R } : g \"   |   s u d o   t e e   / u s r / l i b / s y s t e m d / s y s t e m / k u b e l e t . s e r v i c e   s u d o   m k d i r   - p   / u s r / l i b / s y s t e m d / s y s t e m / k u b e l e t . s e r v i c e . d   c u r l   - s S L   \" h t t p s : / / r a w . g ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/",
    "id": "k8s_00244_section_4_4700"
  },
  {
    "question": "What is Note:?",
    "answer": "I n s t a l l   k u b e c t l   b y   f o l l o w i n g   t h e   i n s t r u c t i o n s   o n   I n s t a l l   T o o l s   p a g e .   O p t i o n a l l y ,   e n a b l e   t h e   k u b e l e t   s e r v i c e   b e f o r e   r u n n i n g   k u b e a d m :   s u d o   s y s t e m c t l   e n a b l e   - - n o w   k u b e l e t",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/",
    "id": "k8s_00244_section_4_4701"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   k u b e l e t   i s   n o w   r e s t a r t i n g   e v e r y   f e w   s e c o n d s ,   a s   i t   w a i t s   i n   a   c r a s h l o o p   f o r   k u b e a d m   t o   t e l l   i t   w h a t   t o   d o .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/",
    "id": "k8s_00244_section_4_4702"
  },
  {
    "question": "What is Configuring a cgroup driver?",
    "answer": "B o t h   t h e   c o n t a i n e r   r u n t i m e   a n d   t h e   k u b e l e t   h a v e   a   p r o p e r t y   c a l l e d   \" c g r o u p   d r i v e r \" ,   w h i c h   i s   i m p o r t a n t   f o r   t h e   m a n a g e m e n t   o f   c g r o u p s   o n   L i n u x   m a c h i n e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/",
    "id": "k8s_00244_section_2_4703"
  },
  {
    "question": "What is Warning:?",
    "answer": "M a t c h i n g   t h e   c o n t a i n e r   r u n t i m e   a n d   k u b e l e t   c g r o u p   d r i v e r s   i s   r e q u i r e d   o r   o t h e r w i s e   t h e   k u b e l e t   p r o c e s s   w i l l   f a i l .   S e e   C o n f i g u r i n g   a   c g r o u p   d r i v e r   f o r   m o r e   d e t a i l s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/",
    "id": "k8s_00244_section_4_4704"
  },
  {
    "question": "What is Troubleshooting?",
    "answer": "I f   y o u   a r e   r u n n i n g   i n t o   d i f f i c u l t i e s   w i t h   k u b e a d m ,   p l e a s e   c o n s u l t   o u r   t r o u b l e s h o o t i n g   d o c s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/",
    "id": "k8s_00244_section_2_4705"
  },
  {
    "question": "What is What's next?",
    "answer": "U s i n g   k u b e a d m   t o   C r e a t e   a   C l u s t e r   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/",
    "id": "k8s_00244_section_2_4706"
  },
  {
    "question": "What is Encrypting Confidential Data at Rest?",
    "answer": "Encrypting Confidential Data at RestAll of the APIs in Kubernetes that let you write persistent API resource data support at-rest encryption. For example, you can enable at-rest encryption for Secrets. This at-rest encryption is additional to any system-level encryption for the etcd cluster or for the filesystem(s) on hosts where you are running the kube-apiserver.This page shows how to enable and configure encryption of API data at rest.Note:This task covers encryption for resource data stored using the Kubernetes API. For example, you can encrypt Secret objects, including the key-value data they contain.If you want to encrypt data in filesystems that are mounted into containers, you instead need to either:use a storage integration that provides encrypted volumesencrypt the data within your own applicationBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesThis task assumes that you are running the Kubernetes API server as a static pod on each control plane node.Your cluster's control plane must use etcd v3.x (major version 3, any minor version).To encrypt a custom resource, your cluster must be running Kubernetes v1.26 or newer.To use a wildcard to match resources, your cluster must be running Kubernetes v1.27 or newer.To check the version, enter kubectl version.Determine whether encryption at rest is already enabledBy default, the API server stores plain-text representations of resources into etcd, with no at-rest encryption.The kube-apiserver process accepts an argument --encryption-provider-config that specifies a path to a configuration file. The contents of that file, if you specify one, control how Kubernetes API data is encrypted in etcd. If you are running the kube-apiserver without the --encryption-provider-config command line argument, you do not have encryption at rest enabled. If you are running the kube-apiserver with the --encryption-provider-config command line argument, and the file that it references specifies the identity provider as the first encryption provider in the list, then you do not have at-rest encryption enabled (the default identity provider does not provide any confidentiality protection.)If you are running the kube-apiserver with the --encryption-provider-config command line argument, and the file that it references specifies a provider other than identity as the first encryption provider in the list, then you already have at-rest encryption enabled. However, that check does not tell you whether a previous migration to encrypted storage has succeeded. If you are not sure, see ensure all relevant data are encrypted.Understanding the e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_qa_4707"
  },
  {
    "question": "How does Encrypting Confidential Data at Rest work?",
    "answer": "Encrypting Confidential Data at RestAll of the APIs in Kubernetes that let you write persistent API resource data support at-rest encryption. For example, you can enable at-rest encryption for Secrets. This at-rest encryption is additional to any system-level encryption for the etcd cluster or for the filesystem(s) on hosts where you are running the kube-apiserver.This page shows how to enable and configure encryption of API data at rest.Note:This task covers encryption for resource data stored using the Kubernetes API. For example, you can encrypt Secret objects, including the key-value data they contain.If you want to encrypt data in filesystems that are mounted into containers, you instead need to either:use a storage integration that provides encrypted volumesencrypt the data within your own applicationBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesThis task assumes that you are running the Kubernetes API server as a static pod on each control plane node.Your cluster's control plane must use etcd v3.x (major version 3, any minor version).To encrypt a custom resource, your cluster must be running Kubernetes v1.26 or newer.To use a wildcard to match resources, your cluster must be running Kubernetes v1.27 or newer.To check the version, enter kubectl version.Determine whether encryption at rest is already enabledBy default, the API server stores plain-text representations of resources into etcd, with no at-rest encryption.The kube-apiserver process accepts an argument --encryption-provider-config that specifies a path to a configuration file. The contents of that file, if you specify one, control how Kubernetes API data is encrypted in etcd. If you are running the kube-apiserver without the --encryption-provider-config command line argument, you do not have encryption at rest enabled. If you are running the kube-apiserver with the --encryption-provider-config command line argument, and the file that it references specifies the identity provider as the first encryption provider in the list, then you do not have at-rest encryption enabled (the default identity provider does not provide any confidentiality protection.)If you are running the kube-apiserver with the --encryption-provider-config command line argument, and the file that it references specifies a provider other than identity as the first encryption provider in the list, then you already have at-rest encryption enabled. However, that check does not tell you whether a previous migration to encrypted storage has succeeded. If you are not sure, see ensure all relevant data are encrypted.Understanding the e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_qa_4708"
  },
  {
    "question": "When would you use Encrypting Confidential Data at Rest?",
    "answer": "Encrypting Confidential Data at RestAll of the APIs in Kubernetes that let you write persistent API resource data support at-rest encryption. For example, you can enable at-rest encryption for Secrets. This at-rest encryption is additional to any system-level encryption for the etcd cluster or for the filesystem(s) on hosts where you are running the kube-apiserver.This page shows how to enable and configure encryption of API data at rest.Note:This task covers encryption for resource data stored using the Kubernetes API. For example, you can encrypt Secret objects, including the key-value data they contain.If you want to encrypt data in filesystems that are mounted into containers, you instead need to either:use a storage integration that provides encrypted volumesencrypt the data within your own applicationBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesThis task assumes that you are running the Kubernetes API server as a static pod on each control plane node.Your cluster's control plane must use etcd v3.x (major version 3, any minor version).To encrypt a custom resource, your cluster must be running Kubernetes v1.26 or newer.To use a wildcard to match resources, your cluster must be running Kubernetes v1.27 or newer.To check the version, enter kubectl version.Determine whether encryption at rest is already enabledBy default, the API server stores plain-text representations of resources into etcd, with no at-rest encryption.The kube-apiserver process accepts an argument --encryption-provider-config that specifies a path to a configuration file. The contents of that file, if you specify one, control how Kubernetes API data is encrypted in etcd. If you are running the kube-apiserver without the --encryption-provider-config command line argument, you do not have encryption at rest enabled. If you are running the kube-apiserver with the --encryption-provider-config command line argument, and the file that it references specifies the identity provider as the first encryption provider in the list, then you do not have at-rest encryption enabled (the default identity provider does not provide any confidentiality protection.)If you are running the kube-apiserver with the --encryption-provider-config command line argument, and the file that it references specifies a provider other than identity as the first encryption provider in the list, then you already have at-rest encryption enabled. However, that check does not tell you whether a previous migration to encrypted storage has succeeded. If you are not sure, see ensure all relevant data are encrypted.Understanding the e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_qa_4709"
  },
  {
    "question": "What are the benefits of Encrypting Confidential Data at Rest?",
    "answer": "Encrypting Confidential Data at RestAll of the APIs in Kubernetes that let you write persistent API resource data support at-rest encryption. For example, you can enable at-rest encryption for Secrets. This at-rest encryption is additional to any system-level encryption for the etcd cluster or for the filesystem(s) on hosts where you are running the kube-apiserver.This page shows how to enable and configure encryption of API data at rest.Note:This task covers encryption for resource data stored using the Kubernetes API. For example, you can encrypt Secret objects, including the key-value data they contain.If you want to encrypt data in filesystems that are mounted into containers, you instead need to either:use a storage integration that provides encrypted volumesencrypt the data within your own applicationBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesThis task assumes that you are running the Kubernetes API server as a static pod on each control plane node.Your cluster's control plane must use etcd v3.x (major version 3, any minor version).To encrypt a custom resource, your cluster must be running Kubernetes v1.26 or newer.To use a wildcard to match resources, your cluster must be running Kubernetes v1.27 or newer.To check the version, enter kubectl version.Determine whether encryption at rest is already enabledBy default, the API server stores plain-text representations of resources into etcd, with no at-rest encryption.The kube-apiserver process accepts an argument --encryption-provider-config that specifies a path to a configuration file. The contents of that file, if you specify one, control how Kubernetes API data is encrypted in etcd. If you are running the kube-apiserver without the --encryption-provider-config command line argument, you do not have encryption at rest enabled. If you are running the kube-apiserver with the --encryption-provider-config command line argument, and the file that it references specifies the identity provider as the first encryption provider in the list, then you do not have at-rest encryption enabled (the default identity provider does not provide any confidentiality protection.)If you are running the kube-apiserver with the --encryption-provider-config command line argument, and the file that it references specifies a provider other than identity as the first encryption provider in the list, then you already have at-rest encryption enabled. However, that check does not tell you whether a previous migration to encrypted storage has succeeded. If you are not sure, see ensure all relevant data are encrypted.Understanding the e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_qa_4710"
  },
  {
    "question": "What is Encrypting Confidential Data at Rest?",
    "answer": "A l l   o f   t h e   A P I s   i n   K u b e r n e t e s   t h a t   l e t   y o u   w r i t e   p e r s i s t e n t   A P I   r e s o u r c e   d a t a   s u p p o r t   a t - r e s t   e n c r y p t i o n .   F o r   e x a m p l e ,   y o u   c a n   e n a b l e   a t - r e s t   e n c r y p t i o n   f o r   S e c r e t s .   T h i s   a t - r e s t   e n c r y p t i o n   i s   a d d i t i o n a l   t o   a n y   s y s t e m - l e v e l   e n c r y p t i o n   f o r   t h e   e t c d   c l u s t e r   o r   f o r   t h e   f i l e s y s t e m ( s )   o n   h o s t s   w h e r e   y o u   a r e   r u n n i n g   t h e   k u b e - a p i s e r v e r .   T h i s   p a g e   s h o w s   h o w   t o   e n a b l e   a n d   c o n f i g u r e   e n c r y p t i o n   o f   A P I   d a t a   a t   r e s t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_1_4711"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   t a s k   c o v e r s   e n c r y p t i o n   f o r   r e s o u r c e   d a t a   s t o r e d   u s i n g   t h e   K u b e r n e t e s   A P I .   F o r   e x a m p l e ,   y o u   c a n   e n c r y p t   S e c r e t   o b j e c t s ,   i n c l u d i n g   t h e   k e y - v a l u e   d a t a   t h e y   c o n t a i n .   I f   y o u   w a n t   t o   e n c r y p t   d a t a   i n   f i l e s y s t e m s   t h a t   a r e   m o u n t e d   i n t o   c o n t a i n e r s ,   y o u   i n s t e a d   n e e d   t o   e i t h e r :   u s e   a   s t o r a g e   i n t e g r a t i o n   t h a t   p r o v i d e s   e n c r y p t e d   v o l u m e s e n c r y p t   t h e   d a t a   w i t h i n   y o u r   o w n   a p p l i c a t i o n",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_4_4712"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T h i s   t a s k   a s s u m e s   t h a t   y o u   a r e   r u n n i n g   t h e   K u b e r n e t e s   A P I   s e r v e r   a s   a   s t a t i c   p o d   o n   e a c h   c o n t r o l   p l a n e   n o d e . Y o u r   c l u s t e r ' s   c o n t r o l   p l a n e   m u s t   u s e   e t c d   v 3 . x   ( m a j o r   v e r s i o n   3 ,   a n y   m i n o r   v e r s i o n ) . T o   e n c r y p t   a   c u s t o m   r e s o u r c e ,   y o u r   c l u s t e r   m u s t   b e   r u n n i n g   K u b e r n e t e s   v 1 . 2 6   o r   n e w e r . T o   u s e   a   w i l d c a r d   t o   m a t c h   r e s o u r c e s ,   y o u r   c l u s t e r   m u s t   b e   r u n n i n g   K u b e r n e t e s   v 1 . 2 7   o r   n e w e r .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_2_4713"
  },
  {
    "question": "What is Determine whether encryption at rest is already enabled?",
    "answer": "B y   d e f a u l t ,   t h e   A P I   s e r v e r   s t o r e s   p l a i n - t e x t   r e p r e s e n t a t i o n s   o f   r e s o u r c e s   i n t o   e t c d ,   w i t h   n o   a t - r e s t   e n c r y p t i o n .   T h e   k u b e - a p i s e r v e r   p r o c e s s   a c c e p t s   a n   a r g u m e n t   - - e n c r y p t i o n - p r o v i d e r - c o n f i g   t h a t   s p e c i f i e s   a   p a t h   t o   a   c o n f i g u r a t i o n   f i l e .   T h e   c o n t e n t s   o f   t h a t   f i l e ,   i f   y o u   s p e c i f y   o n e ,   c o n t r o l   h o w   K u b e r n e t e s   A P I   d a t a   i s   e n c r y p t e d   i n   e t c d .   I f   y o u   a r e   r u n n i n g   t h e   k u b e - a p i s e r v e r   w i t h o u t   t h e   - - e n c r y p t i o n - p r o v i d e r - c o n f i g   c o m m a n d   l i n e   a r g u m e n t ,   y o u   d o   n o t   h a v e   e n c r y p t i o n   a t   r e s t   e n a b l e d .   I f   y o u   a r e   r u n n i n g   t h e   k u b e - a p i s e r v e r   w i t h   t h e   - - e n c r y p t i o n - p r o v i d e r - c o n f i g   c o m m a n d   l i n e   a r g u m e n t ,   a n d   t h e   f i l e   t h a t   i t   r e f e r e n c e s   s p e c i f i e s   t h e   i d e n t i t y   p r o v i d e r   a s   t h e   f i r s t   e n c r y p t i o n   p r o v i d e r   i n   t h e   l i s t ,   t h e n   y o u   d o   n o t   h a v e   a t - r e s t   e n c r y p t i o n   e n a b l e d   ( t h e   d e f a u l t   i d e n t i t y   p r o v i d e r   d o e s   n o t   p r o v i d e   a n y   c o n f i d e n t i a l i t y   p r o t e c t i o n . )   I f   y o u   a r e   r u n n i n g   t h e   k u b e - a p i s e r v e r   w i t h   t h e   - - e n c r y p t i o n - p r o v i d e r - c o n f i g   c o m m a n d   l i n e   a r g u m e n t ,   a n d   t h e   f i l e   t h a t   i t   r e f e r e n c e s   s p e c i f i e s   a   p r o v i d e r   o t h e r   t h a n   i d e n t i t y   a s   t h e   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_2_4714"
  },
  {
    "question": "What is Understanding the encryption at rest configuration?",
    "answer": "- - -   #   #   C A U T I O N :   t h i s   i s   a n   e x a m p l e   c o n f i g u r a t i o n .   #   D o   n o t   u s e   t h i s   f o r   y o u r   o w n   c l u s t e r !   #   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   r e s o u r c e s :   -   r e s o u r c e s :   -   s e c r e t s   -   c o n f i g m a p s   -   p a n d a s . a w e s o m e . b e a r s . e x a m p l e   #   a   c u s t o m   r e s o u r c e   A P I   p r o v i d e r s :   #   T h i s   c o n f i g u r a t i o n   d o e s   n o t   p r o v i d e   d a t a   c o n f i d e n t i a l i t y .   T h e   f i r s t   #   c o n f i g u r e d   p r o v i d e r   i s   s p e c i f y i n g   t h e   \" i d e n t i t y \"   m e c h a n i s m ,   w h i c h   #   s t o r e s   r e s o u r c e s   a s   p l a i n   t e x t .   #   -   i d e n t i t y :   { }   #   p l a i n   t e x t ,   i n   o t h e r   w o r d s   N O   e n c r y p t i o n   -   a e s g c m :   k e y s :   -   n a m e :   k e y 1   s e c r e t :   c 2 V j c m V 0 I G l z I H N l Y 3 V y Z Q = =   -   n a m e :   k e y 2   s e c r e t :   d G h p c y B p c y B w Y X N z d 2 9 y Z A = =   -   a e s c b c :   k e y s :   -   n a m e :   k e y 1   s e c r e t :   c 2 V j c m V 0 I G l z I H N l Y 3 V y Z Q = =   -   n a m e :   k e y 2   s e c r e t :   d G h p c y B p c y B w Y X N z d 2 9 y Z A = =   -   s e c r e t b o x :   k e y s :   -   n a m e :   k e y 1   s e c r e t :   Y W J j Z G V m Z 2 h p a m t s b W 5 v c H F y c 3 R 1 d n d 4 e X o x M j M 0 N T Y =   -   r e s o u r c e s :   -   e v e n t s   p r o v i d e r s :   -   i d e n t i t y :   { }   #   d o   n o t   e n c r y p t   E v e n t s   e v e n   t h o u g h   * . *   i s   s p e c i f i e d   b e l o w   -   r e s o u r c e s :   -   ' * . a p p s '   #   w i l d c a r d   m a t c h   r e q u i r e s   K u b e r n e t e s   1 . 2 7   o r   l a t e r   p r o v i d e r s : ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_2_4715"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   h a v e   a   w i l d c a r d   c o v e r i n g   r e s o u r c e s   a n d   w a n t   t o   o p t   o u t   o f   a t - r e s t   e n c r y p t i o n   f o r   a   p a r t i c u l a r   k i n d   o f   r e s o u r c e ,   y o u   a c h i e v e   t h a t   b y   a d d i n g   a   s e p a r a t e   r e s o u r c e s   a r r a y   i t e m   w i t h   t h e   n a m e   o f   t h e   r e s o u r c e   t h a t   y o u   w a n t   t o   e x e m p t ,   f o l l o w e d   b y   a   p r o v i d e r s   a r r a y   i t e m   w h e r e   y o u   s p e c i f y   t h e   i d e n t i t y   p r o v i d e r .   Y o u   a d d   t h i s   i t e m   t o   t h e   l i s t   s o   t h a t   i t   a p p e a r s   e a r l i e r   t h a n   t h e   c o n f i g u r a t i o n   w h e r e   y o u   d o   s p e c i f y   e n c r y p t i o n   ( a   p r o v i d e r   t h a t   i s   n o t   i d e n t i t y ) .   F o r   e x a m p l e ,   i f   ' * . * '   i s   e n a b l e d   a n d   y o u   w a n t   t o   o p t   o u t   o f   e n c r y p t i o n   f o r   E v e n t s   a n d   C o n f i g M a p s ,   a d d   a   n e w   e a r l i e r   i t e m   t o   t h e   r e s o u r c e s ,   f o l l o w e d   b y   t h e   p r o v i d e r s   a r r a y   i t e m   w i t h   i d e n t i t y   a s   t h e   p r o v i d e r .   T h e   m o r e   s p e c i f i c   e n t r y   m u s t   c o m e   b e f o r e   t h e   w i l d c a r d   e n t r y .   T h e   n e w   i t e m   w o u l d   l o o k   s i m i l a r   t o :   . . .   -   r e s o u r c e s :   -   c o n f i g m a p s .   #   s p e c i f i c a l l y   f r o m   t h e   c o r e   A P I   g r o u p ,   #   b e c a u s e   o f   t r a i l i n g   \" . \"   -   e v e n t s   p r o v i d e r s :   -   i d e n t i t y :   { }   #   a n d   t h e n   o t h e r   e n t r i e s   i n   r e s o u r c e s   E n s u r e   t h a t   t h e   e x e m p t i o n   i s   l i s t e d   b e f o r e   t h e   w i l d c a r d   ' * . * '   i t e m   i n   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_4_4716"
  },
  {
    "question": "What is Caution:?",
    "answer": "I f   a n y   r e s o u r c e   i s   n o t   r e a d a b l e   v i a   t h e   e n c r y p t i o n   c o n f i g u r a t i o n   ( b e c a u s e   k e y s   w e r e   c h a n g e d ) ,   a n d   y o u   c a n n o t   r e s t o r e   a   w o r k i n g   c o n f i g u r a t i o n ,   y o u r   o n l y   r e c o u r s e   i s   t o   d e l e t e   t h a t   e n t r y   f r o m   t h e   u n d e r l y i n g   e t c d   d i r e c t l y .   A n y   c a l l s   t o   t h e   K u b e r n e t e s   A P I   t h a t   a t t e m p t   t o   r e a d   t h a t   r e s o u r c e   w i l l   f a i l   u n t i l   i t   i s   d e l e t e d   o r   a   v a l i d   d e c r y p t i o n   k e y   i s   p r o v i d e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_4_4717"
  },
  {
    "question": "What is Available providers?",
    "answer": "B e f o r e   y o u   c o n f i g u r e   e n c r y p t i o n - a t - r e s t   f o r   d a t a   i n   y o u r   c l u s t e r ' s   K u b e r n e t e s   A P I ,   y o u   n e e d   t o   s e l e c t   w h i c h   p r o v i d e r ( s )   y o u   w i l l   u s e .   T h e   f o l l o w i n g   t a b l e   d e s c r i b e s   e a c h   a v a i l a b l e   p r o v i d e r .   T h e   i d e n t i t y   p r o v i d e r   i s   t h e   d e f a u l t   i f   y o u   d o   n o t   s p e c i f y   o t h e r w i s e .   T h e   i d e n t i t y   p r o v i d e r   d o e s   n o t   e n c r y p t   s t o r e d   d a t a   a n d   p r o v i d e s   n o   a d d i t i o n a l   c o n f i d e n t i a l i t y   p r o t e c t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_3_4718"
  },
  {
    "question": "What is Local key storage?",
    "answer": "E n c r y p t i n g   s e c r e t   d a t a   w i t h   a   l o c a l l y   m a n a g e d   k e y   p r o t e c t s   a g a i n s t   a n   e t c d   c o m p r o m i s e ,   b u t   i t   f a i l s   t o   p r o t e c t   a g a i n s t   a   h o s t   c o m p r o m i s e .   S i n c e   t h e   e n c r y p t i o n   k e y s   a r e   s t o r e d   o n   t h e   h o s t   i n   t h e   E n c r y p t i o n C o n f i g u r a t i o n   Y A M L   f i l e ,   a   s k i l l e d   a t t a c k e r   c a n   a c c e s s   t h a t   f i l e   a n d   e x t r a c t   t h e   e n c r y p t i o n   k e y s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_4_4719"
  },
  {
    "question": "What is Managed (KMS) key storage?",
    "answer": "T h e   K M S   p r o v i d e r   u s e s   e n v e l o p e   e n c r y p t i o n :   K u b e r n e t e s   e n c r y p t s   r e s o u r c e s   u s i n g   a   d a t a   k e y ,   a n d   t h e n   e n c r y p t s   t h a t   d a t a   k e y   u s i n g   t h e   m a n a g e d   e n c r y p t i o n   s e r v i c e .   K u b e r n e t e s   g e n e r a t e s   a   u n i q u e   d a t a   k e y   f o r   e a c h   r e s o u r c e .   T h e   A P I   s e r v e r   s t o r e s   a n   e n c r y p t e d   v e r s i o n   o f   t h e   d a t a   k e y   i n   e t c d   a l o n g s i d e   t h e   c i p h e r t e x t ;   w h e n   r e a d i n g   t h e   r e s o u r c e ,   t h e   A P I   s e r v e r   c a l l s   t h e   m a n a g e d   e n c r y p t i o n   s e r v i c e   a n d   p r o v i d e s   b o t h   t h e   c i p h e r t e x t   a n d   t h e   ( e n c r y p t e d )   d a t a   k e y .   W i t h i n   t h e   m a n a g e d   e n c r y p t i o n   s e r v i c e ,   t h e   p r o v i d e r   u s e   a   k e y   e n c r y p t i o n   k e y   t o   d e c i p h e r   t h e   d a t a   k e y ,   d e c i p h e r s   t h e   d a t a   k e y ,   a n d   f i n a l l y   r e c o v e r s   t h e   p l a i n   t e x t .   C o m m u n i c a t i o n   b e t w e e n   t h e   c o n t r o l   p l a n e   a n d   t h e   K M S   r e q u i r e s   i n - t r a n s i t   p r o t e c t i o n ,   s u c h   a s   T L S .   U s i n g   e n v e l o p e   e n c r y p t i o n   c r e a t e s   d e p e n d e n c e   o n   t h e   k e y   e n c r y p t i o n   k e y ,   w h i c h   i s   n o t   s t o r e d   i n   K u b e r n e t e s .   I n   t h e   K M S   c a s e ,   a n   a t t a c k e r   w h o   i n t e n d s   t o   g e t   u n a u t h o r i s e d   a c c e s s   t o   t h e   p l a i n t e x t   v a l u e s   w o u l d   n e e d   t o   c o m p r o m i s e   e t c d   a n d   t h e   t h i r d - p a r t y   K M S   p r o v i d e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_4_4720"
  },
  {
    "question": "What is Protection for encryption keys?",
    "answer": "Y o u   s h o u l d   t a k e   a p p r o p r i a t e   m e a s u r e s   t o   p r o t e c t   t h e   c o n f i d e n t i a l   i n f o r m a t i o n   t h a t   a l l o w s   d e c r y p t i o n ,   w h e t h e r   t h a t   i s   a   l o c a l   e n c r y p t i o n   k e y ,   o r   a n   a u t h e n t i c a t i o n   t o k e n   t h a t   a l l o w s   t h e   A P I   s e r v e r   t o   c a l l   K M S .   E v e n   w h e n   y o u   r e l y   o n   a   p r o v i d e r   t o   m a n a g e   t h e   u s e   a n d   l i f e c y c l e   o f   t h e   m a i n   e n c r y p t i o n   k e y   ( o r   k e y s ) ,   y o u   a r e   s t i l l   r e s p o n s i b l e   f o r   m a k i n g   s u r e   t h a t   a c c e s s   c o n t r o l s   a n d   o t h e r   s e c u r i t y   m e a s u r e s   f o r   t h e   m a n a g e d   e n c r y p t i o n   s e r v i c e   a r e   a p p r o p r i a t e   f o r   y o u r   s e c u r i t y   n e e d s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_3_4721"
  },
  {
    "question": "What is Generate the encryption key?",
    "answer": "T h e   f o l l o w i n g   s t e p s   a s s u m e   t h a t   y o u   a r e   n o t   u s i n g   K M S ,   a n d   t h e r e f o r e   t h e   s t e p s   a l s o   a s s u m e   t h a t   y o u   n e e d   t o   g e n e r a t e   a n   e n c r y p t i o n   k e y .   I f   y o u   a l r e a d y   h a v e   a n   e n c r y p t i o n   k e y ,   s k i p   t o   W r i t e   a n   e n c r y p t i o n   c o n f i g u r a t i o n   f i l e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_3_4722"
  },
  {
    "question": "What is Caution:?",
    "answer": "S t o r i n g   t h e   r a w   e n c r y p t i o n   k e y   i n   t h e   E n c r y p t i o n C o n f i g   o n l y   m o d e r a t e l y   i m p r o v e s   y o u r   s e c u r i t y   p o s t u r e ,   c o m p a r e d   t o   n o   e n c r y p t i o n .   F o r   a d d i t i o n a l   s e c r e c y ,   c o n s i d e r   u s i n g   t h e   k m s   p r o v i d e r   a s   t h i s   r e l i e s   o n   k e y s   h e l d   o u t s i d e   y o u r   K u b e r n e t e s   c l u s t e r .   I m p l e m e n t a t i o n s   o f   k m s   c a n   w o r k   w i t h   h a r d w a r e   s e c u r i t y   m o d u l e s   o r   w i t h   e n c r y p t i o n   s e r v i c e s   m a n a g e d   b y   y o u r   c l o u d   p r o v i d e r .   T o   l e a r n   a b o u t   s e t t i n g   u p   e n c r y p t i o n   a t   r e s t   u s i n g   K M S ,   s e e   U s i n g   a   K M S   p r o v i d e r   f o r   d a t a   e n c r y p t i o n .   T h e   K M S   p r o v i d e r   p l u g i n   t h a t   y o u   u s e   m a y   a l s o   c o m e   w i t h   a d d i t i o n a l   s p e c i f i c   d o c u m e n t a t i o n .   S t a r t   b y   g e n e r a t i n g   a   n e w   e n c r y p t i o n   k e y ,   a n d   t h e n   e n c o d e   i t   u s i n g   b a s e 6 4 :   G e n e r a t e   a   3 2 - b y t e   r a n d o m   k e y   a n d   b a s e 6 4   e n c o d e   i t .   Y o u   c a n   u s e   t h i s   c o m m a n d : h e a d   - c   3 2   / d e v / u r a n d o m   |   b a s e 6 4   Y o u   c a n   u s e   / d e v / h w r n g   i n s t e a d   o f   / d e v / u r a n d o m   i f   y o u   w a n t   t o   u s e   y o u r   P C ' s   b u i l t - i n   h a r d w a r e   e n t r o p y   s o u r c e .   N o t   a l l   L i n u x   d e v i c e s   p r o v i d e   a   h a r d w a r e   r a n d o m   g e n e r a t o r .   G e n e r a t e   a   3 2 - b y t e   r a n d o m   k e y   a n d   b a s e 6 4   e n c o d e   i t .   Y o u   c a n   u s e   t h i s   c o m m a n d :   h e a d   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_4_4723"
  },
  {
    "question": "What is Replicate the encryption key?",
    "answer": "U s i n g   a   s e c u r e   m e c h a n i s m   f o r   f i l e   t r a n s f e r ,   m a k e   a   c o p y   o f   t h a t   e n c r y p t i o n   k e y   a v a i l a b l e   t o   e v e r y   o t h e r   c o n t r o l   p l a n e   h o s t .   A t   a   m i n i m u m ,   u s e   e n c r y p t i o n   i n   t r a n s i t   -   f o r   e x a m p l e ,   s e c u r e   s h e l l   ( S S H ) .   F o r   m o r e   s e c u r i t y ,   u s e   a s y m m e t r i c   e n c r y p t i o n   b e t w e e n   h o s t s ,   o r   c h a n g e   t h e   a p p r o a c h   y o u   a r e   u s i n g   s o   t h a t   y o u ' r e   r e l y i n g   o n   K M S   e n c r y p t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_3_4724"
  },
  {
    "question": "What is Caution:?",
    "answer": "C r e a t e   a   n e w   e n c r y p t i o n   c o n f i g u r a t i o n   f i l e .   T h e   c o n t e n t s   s h o u l d   b e   s i m i l a r   t o :   - - -   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   r e s o u r c e s :   -   r e s o u r c e s :   -   s e c r e t s   -   c o n f i g m a p s   -   p a n d a s . a w e s o m e . b e a r s . e x a m p l e   p r o v i d e r s :   -   a e s c b c :   k e y s :   -   n a m e :   k e y 1   #   S e e   t h e   f o l l o w i n g   t e x t   f o r   m o r e   d e t a i l s   a b o u t   t h e   s e c r e t   v a l u e   s e c r e t :   < B A S E   6 4   E N C O D E D   S E C R E T >   -   i d e n t i t y :   { }   #   t h i s   f a l l b a c k   a l l o w s   r e a d i n g   u n e n c r y p t e d   s e c r e t s ;   #   f o r   e x a m p l e ,   d u r i n g   i n i t i a l   m i g r a t i o n   T o   c r e a t e   a   n e w   e n c r y p t i o n   k e y   ( t h a t   d o e s   n o t   u s e   K M S ) ,   s e e   G e n e r a t e   t h e   e n c r y p t i o n   k e y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_4_4725"
  },
  {
    "question": "What is Use the new encryption configuration file?",
    "answer": "Y o u   w i l l   n e e d   t o   m o u n t   t h e   n e w   e n c r y p t i o n   c o n f i g   f i l e   t o   t h e   k u b e - a p i s e r v e r   s t a t i c   p o d .   H e r e   i s   a n   e x a m p l e   o n   h o w   t o   d o   t h a t :   S a v e   t h e   n e w   e n c r y p t i o n   c o n f i g   f i l e   t o   / e t c / k u b e r n e t e s / e n c / e n c . y a m l   o n   t h e   c o n t r o l - p l a n e   n o d e . E d i t   t h e   m a n i f e s t   f o r   t h e   k u b e - a p i s e r v e r   s t a t i c   p o d :   / e t c / k u b e r n e t e s / m a n i f e s t s / k u b e - a p i s e r v e r . y a m l   s o   t h a t   i t   i s   s i m i l a r   t o : - - -   #   #   T h i s   i s   a   f r a g m e n t   o f   a   m a n i f e s t   f o r   a   s t a t i c   P o d .   #   C h e c k   w h e t h e r   t h i s   i s   c o r r e c t   f o r   y o u r   c l u s t e r   a n d   f o r   y o u r   A P I   s e r v e r .   #   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   a n n o t a t i o n s :   k u b e a d m . k u b e r n e t e s . i o / k u b e - a p i s e r v e r . a d v e r t i s e - a d d r e s s . e n d p o i n t :   1 0 . 2 0 . 3 0 . 4 0 : 4 4 3   c r e a t i o n T i m e s t a m p :   n u l l   l a b e l s :   a p p . k u b e r n e t e s . i o / c o m p o n e n t :   k u b e - a p i s e r v e r   t i e r :   c o n t r o l - p l a n e   n a m e :   k u b e - a p i s e r v e r   n a m e s p a c e :   k u b e - s y s t e m   s p e c :   c o n t a i n e r s :   -   c o m m a n d :   -   k u b e - a p i s e r v e r   . . .   -   - - e n c r y p t i o n - p r o v i d e r - c o n f i g = / e t c / k u b e r n e t e s / e n c / e n c . y a m l   #   a d d   t h i s   l i n e   v o l u m e M o u n t s :   . . .   -   n a m e :   e n c   #   a d d   t h i s   l i n e   m o u n t P a t h :   / e t c / k u b e r n e t e s / e n c   #   a d d   t h i s   l i n e   r e a d O n l y :   t r u e   #   a d d   t h i s   l i n e   . . ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_3_4726"
  },
  {
    "question": "What is Caution:?",
    "answer": "Y o u   n o w   h a v e   e n c r y p t i o n   i n   p l a c e   f o r   o n e   c o n t r o l   p l a n e   h o s t .   A   t y p i c a l   K u b e r n e t e s   c l u s t e r   h a s   m u l t i p l e   c o n t r o l   p l a n e   h o s t s ,   s o   t h e r e   i s   m o r e   t o   d o .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_4_4727"
  },
  {
    "question": "What is Reconfigure other control plane hosts?",
    "answer": "I f   y o u   h a v e   m u l t i p l e   A P I   s e r v e r s   i n   y o u r   c l u s t e r ,   y o u   s h o u l d   d e p l o y   t h e   c h a n g e s   i n   t u r n   t o   e a c h   A P I   s e r v e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_3_4728"
  },
  {
    "question": "What is Caution:?",
    "answer": "F o r   c l u s t e r   c o n f i g u r a t i o n s   w i t h   t w o   o r   m o r e   c o n t r o l   p l a n e   n o d e s ,   t h e   e n c r y p t i o n   c o n f i g u r a t i o n   s h o u l d   b e   i d e n t i c a l   a c r o s s   e a c h   c o n t r o l   p l a n e   n o d e .   I f   t h e r e   i s   a   d i f f e r e n c e   i n   t h e   e n c r y p t i o n   p r o v i d e r   c o n f i g u r a t i o n   b e t w e e n   c o n t r o l   p l a n e   n o d e s ,   t h i s   d i f f e r e n c e   m a y   m e a n   t h a t   t h e   k u b e - a p i s e r v e r   c a n ' t   d e c r y p t   d a t a .   W h e n   y o u   a r e   p l a n n i n g   t o   u p d a t e   t h e   e n c r y p t i o n   c o n f i g u r a t i o n   o f   y o u r   c l u s t e r ,   p l a n   t h i s   s o   t h a t   t h e   A P I   s e r v e r s   i n   y o u r   c o n t r o l   p l a n e   c a n   a l w a y s   d e c r y p t   t h e   s t o r e d   d a t a   ( e v e n   p a r t   w a y   t h r o u g h   r o l l i n g   o u t   t h e   c h a n g e ) .   M a k e   s u r e   t h a t   y o u   u s e   t h e   s a m e   e n c r y p t i o n   c o n f i g u r a t i o n   o n   e a c h   c o n t r o l   p l a n e   h o s t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_4_4729"
  },
  {
    "question": "What is Verify that newly written data is encrypted?",
    "answer": "D a t a   i s   e n c r y p t e d   w h e n   w r i t t e n   t o   e t c d .   A f t e r   r e s t a r t i n g   y o u r   k u b e - a p i s e r v e r ,   a n y   n e w l y   c r e a t e d   o r   u p d a t e d   S e c r e t   ( o r   o t h e r   r e s o u r c e   k i n d s   c o n f i g u r e d   i n   E n c r y p t i o n C o n f i g u r a t i o n )   s h o u l d   b e   e n c r y p t e d   w h e n   s t o r e d .   T o   c h e c k   t h i s ,   y o u   c a n   u s e   t h e   e t c d c t l   c o m m a n d   l i n e   p r o g r a m   t o   r e t r i e v e   t h e   c o n t e n t s   o f   y o u r   s e c r e t   d a t a .   T h i s   e x a m p l e   s h o w s   h o w   t o   c h e c k   t h i s   f o r   e n c r y p t i n g   t h e   S e c r e t   A P I .   C r e a t e   a   n e w   S e c r e t   c a l l e d   s e c r e t 1   i n   t h e   d e f a u l t   n a m e s p a c e : k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   s e c r e t 1   - n   d e f a u l t   - - f r o m - l i t e r a l = m y k e y = m y d a t a   U s i n g   t h e   e t c d c t l   c o m m a n d   l i n e   t o o l ,   r e a d   t h a t   S e c r e t   o u t   o f   e t c d : E T C D C T L _ A P I = 3   e t c d c t l   g e t   / r e g i s t r y / s e c r e t s / d e f a u l t / s e c r e t 1   [ . . . ]   |   h e x d u m p   - C   w h e r e   [ . . . ]   m u s t   b e   t h e   a d d i t i o n a l   a r g u m e n t s   f o r   c o n n e c t i n g   t o   t h e   e t c d   s e r v e r . F o r   e x a m p l e : E T C D C T L _ A P I = 3   e t c d c t l   \\   - - c a c e r t = / e t c / k u b e r n e t e s / p k i / e t c d / c a . c r t   \\   - - c e r t = / e t c / k u b e r n e t e s / p k i / e t c d / s e r v e r . c r t   \\   - - k e y = / e t c / k u b e r n e t e s / p k i / e t c d / s e r v e r . k e y   \\   g e t   / r e g i s t r y / s e c r e t s / d e f a u l t / s e c r e t 1   |   h e x d u m p   - C   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s   ( a b b r ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_3_4730"
  },
  {
    "question": "What is Ensure all relevant data are encrypted?",
    "answer": "I t ' s   o f t e n   n o t   e n o u g h   t o   m a k e   s u r e   t h a t   n e w   o b j e c t s   g e t   e n c r y p t e d :   y o u   a l s o   w a n t   t h a t   e n c r y p t i o n   t o   a p p l y   t o   t h e   o b j e c t s   t h a t   a r e   a l r e a d y   s t o r e d .   F o r   t h i s   e x a m p l e ,   y o u   h a v e   c o n f i g u r e d   y o u r   c l u s t e r   s o   t h a t   S e c r e t s   a r e   e n c r y p t e d   o n   w r i t e .   P e r f o r m i n g   a   r e p l a c e   o p e r a t i o n   f o r   e a c h   S e c r e t   w i l l   e n c r y p t   t h a t   c o n t e n t   a t   r e s t ,   w h e r e   t h e   o b j e c t s   a r e   u n c h a n g e d .   Y o u   c a n   m a k e   t h i s   c h a n g e   a c r o s s   a l l   S e c r e t s   i n   y o u r   c l u s t e r :   #   R u n   t h i s   a s   a n   a d m i n i s t r a t o r   t h a t   c a n   r e a d   a n d   w r i t e   a l l   S e c r e t s   k u b e c t l   g e t   s e c r e t s   - - a l l - n a m e s p a c e s   - o   j s o n   |   k u b e c t l   r e p l a c e   - f   -   T h e   c o m m a n d   a b o v e   r e a d s   a l l   S e c r e t s   a n d   t h e n   u p d a t e s   t h e m   w i t h   t h e   s a m e   d a t a ,   i n   o r d e r   t o   a p p l y   s e r v e r   s i d e   e n c r y p t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_3_4731"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   a n   e r r o r   o c c u r s   d u e   t o   a   c o n f l i c t i n g   w r i t e ,   r e t r y   t h e   c o m m a n d .   I t   i s   s a f e   t o   r u n   t h a t   c o m m a n d   m o r e   t h a n   o n c e .   F o r   l a r g e r   c l u s t e r s ,   y o u   m a y   w i s h   t o   s u b d i v i d e   t h e   S e c r e t s   b y   n a m e s p a c e ,   o r   s c r i p t   a n   u p d a t e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_4_4732"
  },
  {
    "question": "What is Prevent plain text retrieval?",
    "answer": "I f   y o u   w a n t   t o   m a k e   s u r e   t h a t   t h e   o n l y   a c c e s s   t o   a   p a r t i c u l a r   A P I   k i n d   i s   d o n e   u s i n g   e n c r y p t i o n ,   y o u   c a n   r e m o v e   t h e   A P I   s e r v e r ' s   a b i l i t y   t o   r e a d   t h a t   A P I ' s   b a c k i n g   d a t a   a s   p l a i n t e x t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_2_4733"
  },
  {
    "question": "What is Warning:?",
    "answer": "M a k i n g   t h i s   c h a n g e   p r e v e n t s   t h e   A P I   s e r v e r   f r o m   r e t r i e v i n g   r e s o u r c e s   t h a t   a r e   m a r k e d   a s   e n c r y p t e d   a t   r e s t ,   b u t   a r e   a c t u a l l y   s t o r e d   i n   t h e   c l e a r .   W h e n   y o u   h a v e   c o n f i g u r e d   e n c r y p t i o n   a t   r e s t   f o r   a n   A P I   ( f o r   e x a m p l e :   t h e   A P I   k i n d   S e c r e t ,   r e p r e s e n t i n g   s e c r e t s   r e s o u r c e s   i n   t h e   c o r e   A P I   g r o u p ) ,   y o u   m u s t   e n s u r e   t h a t   a l l   t h o s e   r e s o u r c e s   i n   t h i s   c l u s t e r   r e a l l y   a r e   e n c r y p t e d   a t   r e s t .   C h e c k   t h i s   b e f o r e   y o u   c a r r y   o n   w i t h   t h e   n e x t   s t e p s .   O n c e   a l l   S e c r e t s   i n   y o u r   c l u s t e r   a r e   e n c r y p t e d ,   y o u   c a n   r e m o v e   t h e   i d e n t i t y   p a r t   o f   t h e   e n c r y p t i o n   c o n f i g u r a t i o n .   F o r   e x a m p l e :   - - -   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   r e s o u r c e s :   -   r e s o u r c e s :   -   s e c r e t s   p r o v i d e r s :   -   a e s c b c :   k e y s :   -   n a m e :   k e y 1   s e c r e t :   < B A S E   6 4   E N C O D E D   S E C R E T >   -   i d e n t i t y :   { }   #   R E M O V E   T H I S   L I N E   … a n d   t h e n   r e s t a r t   e a c h   A P I   s e r v e r   i n   t u r n .   T h i s   c h a n g e   p r e v e n t s   t h e   A P I   s e r v e r   f r o m   a c c e s s i n g   a   p l a i n - t e x t   S e c r e t ,   e v e n   b y   a c c i d e n t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_4_4734"
  },
  {
    "question": "What is Rotate a decryption key?",
    "answer": "C h a n g i n g   a n   e n c r y p t i o n   k e y   f o r   K u b e r n e t e s   w i t h o u t   i n c u r r i n g   d o w n t i m e   r e q u i r e s   a   m u l t i - s t e p   o p e r a t i o n ,   e s p e c i a l l y   i n   t h e   p r e s e n c e   o f   a   h i g h l y - a v a i l a b l e   d e p l o y m e n t   w h e r e   m u l t i p l e   k u b e - a p i s e r v e r   p r o c e s s e s   a r e   r u n n i n g .   G e n e r a t e   a   n e w   k e y   a n d   a d d   i t   a s   t h e   s e c o n d   k e y   e n t r y   f o r   t h e   c u r r e n t   p r o v i d e r   o n   a l l   c o n t r o l   p l a n e   n o d e s . R e s t a r t   a l l   k u b e - a p i s e r v e r   p r o c e s s e s ,   t o   e n s u r e   e a c h   s e r v e r   c a n   d e c r y p t   a n y   d a t a   t h a t   a r e   e n c r y p t e d   w i t h   t h e   n e w   k e y . M a k e   a   s e c u r e   b a c k u p   o f   t h e   n e w   e n c r y p t i o n   k e y .   I f   y o u   l o s e   a l l   c o p i e s   o f   t h i s   k e y   y o u   w o u l d   n e e d   t o   d e l e t e   a l l   t h e   r e s o u r c e s   w e r e   e n c r y p t e d   u n d e r   t h e   l o s t   k e y ,   a n d   w o r k l o a d s   m a y   n o t   o p e r a t e   a s   e x p e c t e d   d u r i n g   t h e   t i m e   t h a t   a t - r e s t   e n c r y p t i o n   i s   b r o k e n . M a k e   t h e   n e w   k e y   t h e   f i r s t   e n t r y   i n   t h e   k e y s   a r r a y   s o   t h a t   i t   i s   u s e d   f o r   e n c r y p t i o n - a t - r e s t   f o r   n e w   w r i t e s R e s t a r t   a l l   k u b e - a p i s e r v e r   p r o c e s s e s   t o   e n s u r e   e a c h   c o n t r o l   p l a n e   h o s t   n o w   e n c r y p t s   u s i n g   t h e   n e w   k e y A s   a   p r i v i l e g e d   u s e r ,   r u n   k u b e c t l   g e t   s e c r e t s   - - a l l - n a m e s p a c e s   - o   j s o n   |   k u b e c t l   r e p l a c e   - f   -   t o   e n c r ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_2_4735"
  },
  {
    "question": "What is Decrypt all data?",
    "answer": "T h i s   e x a m p l e   s h o w s   h o w   t o   s t o p   e n c r y p t i n g   t h e   S e c r e t   A P I   a t   r e s t .   I f   y o u   a r e   e n c r y p t i n g   o t h e r   A P I   k i n d s ,   a d j u s t   t h e   s t e p s   t o   m a t c h .   T o   d i s a b l e   e n c r y p t i o n   a t   r e s t ,   p l a c e   t h e   i d e n t i t y   p r o v i d e r   a s   t h e   f i r s t   e n t r y   i n   y o u r   e n c r y p t i o n   c o n f i g u r a t i o n   f i l e :   - - -   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   r e s o u r c e s :   -   r e s o u r c e s :   -   s e c r e t s   #   l i s t   a n y   o t h e r   r e s o u r c e s   h e r e   t h a t   y o u   p r e v i o u s l y   w e r e   #   e n c r y p t i n g   a t   r e s t   p r o v i d e r s :   -   i d e n t i t y :   { }   #   a d d   t h i s   l i n e   -   a e s c b c :   k e y s :   -   n a m e :   k e y 1   s e c r e t :   < B A S E   6 4   E N C O D E D   S E C R E T >   #   k e e p   t h i s   i n   p l a c e   #   m a k e   s u r e   i t   c o m e s   a f t e r   \" i d e n t i t y \"   T h e n   r u n   t h e   f o l l o w i n g   c o m m a n d   t o   f o r c e   d e c r y p t i o n   o f   a l l   S e c r e t s :   k u b e c t l   g e t   s e c r e t s   - - a l l - n a m e s p a c e s   - o   j s o n   |   k u b e c t l   r e p l a c e   - f   -   O n c e   y o u   h a v e   r e p l a c e d   a l l   e x i s t i n g   e n c r y p t e d   r e s o u r c e s   w i t h   b a c k i n g   d a t a   t h a t   d o n ' t   u s e   e n c r y p t i o n ,   y o u   c a n   r e m o v e   t h e   e n c r y p t i o n   s e t t i n g s   f r o m   t h e   k u b e - a p i s e r v e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_2_4736"
  },
  {
    "question": "What is Configure automatic reloading?",
    "answer": "Y o u   c a n   c o n f i g u r e   a u t o m a t i c   r e l o a d i n g   o f   e n c r y p t i o n   p r o v i d e r   c o n f i g u r a t i o n .   T h a t   s e t t i n g   d e t e r m i n e s   w h e t h e r   t h e   A P I   s e r v e r   s h o u l d   l o a d   t h e   f i l e   y o u   s p e c i f y   f o r   - - e n c r y p t i o n - p r o v i d e r - c o n f i g   o n l y   o n c e   a t   s t a r t u p ,   o r   a u t o m a t i c a l l y   w h e n e v e r   y o u   c h a n g e   t h a t   f i l e .   E n a b l i n g   t h i s   o p t i o n   a l l o w s   y o u   t o   c h a n g e   t h e   k e y s   f o r   e n c r y p t i o n   a t   r e s t   w i t h o u t   r e s t a r t i n g   t h e   A P I   s e r v e r .   T o   a l l o w   a u t o m a t i c   r e l o a d i n g ,   c o n f i g u r e   t h e   A P I   s e r v e r   t o   r u n   w i t h :   - - e n c r y p t i o n - p r o v i d e r - c o n f i g - a u t o m a t i c - r e l o a d = t r u e .   W h e n   e n a b l e d ,   f i l e   c h a n g e s   a r e   p o l l e d   e v e r y   m i n u t e   t o   o b s e r v e   t h e   m o d i f i c a t i o n s .   T h e   a p i s e r v e r _ e n c r y p t i o n _ c o n f i g _ c o n t r o l l e r _ a u t o m a t i c _ r e l o a d _ l a s t _ t i m e s t a m p _ s e c o n d s   m e t r i c   i d e n t i f i e s   w h e n   t h e   n e w   c o n f i g   b e c o m e s   e f f e c t i v e .   T h i s   a l l o w s   e n c r y p t i o n   k e y s   t o   b e   r o t a t e d   w i t h o u t   r e s t a r t i n g   t h e   A P I   s e r v e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_2_4737"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   d e c r y p t i n g   d a t a   t h a t   a r e   a l r e a d y   s t o r e d   a t   r e s t L e a r n   m o r e   a b o u t   t h e   E n c r y p t i o n C o n f i g u r a t i o n   c o n f i g u r a t i o n   A P I   ( v 1 ) .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/",
    "id": "k8s_00245_section_2_4738"
  },
  {
    "question": "What is Migrate from PodSecurityPolicy to the Built-In PodSecurity Admission Controller?",
    "answer": "Migrate from PodSecurityPolicy to the Built-In PodSecurity Admission ControllerThis page describes the process of migrating from PodSecurityPolicies to the built-in PodSecurity admission controller. This can be done effectively using a combination of dry-run and audit and warn modes, although this becomes harder if mutating PSPs are used.Before you beginYour Kubernetes server must be at or later than version v1.22.To check the version, enter kubectl version.If you are currently running a version of Kubernetes other than 1.34, you may want to switch to viewing this page in the documentation for the version of Kubernetes that you are actually running.This page assumes you are already familiar with the basic Pod Security Admission concepts.Overall approachThere are multiple strategies you can take for migrating from PodSecurityPolicy to Pod Security Admission. The following steps are one possible migration path, with a goal of minimizing both the risks of a production outage and of a security gap.Decide whether Pod Security Admission is the right fit for your use case.Review namespace permissionsSimplify & standardize PodSecurityPoliciesUpdate namespacesIdentify an appropriate Pod Security levelVerify the Pod Security levelEnforce the Pod Security levelBypass PodSecurityPolicyReview namespace creation processesDisable PodSecurityPolicy0. Decide whether Pod Security Admission is right for youPod Security Admission was designed to meet the most common security needs out of the box, and to provide a standard set of security levels across clusters. However, it is less flexible than PodSecurityPolicy. Notably, the following features are supported by PodSecurityPolicy but not Pod Security Admission:Setting default security constraints - Pod Security Admission is a non-mutating admission controller, meaning it won't modify pods before validating them. If you were relying on this aspect of PSP, you will need to either modify your workloads to meet the Pod Security constraints, or use a Mutating Admission Webhook to make those changes. See Simplify & Standardize PodSecurityPolicies below for more detail.Fine-grained control over policy definition - Pod Security Admission only supports 3 standard levels. If you require more control over specific constraints, then you will need to use a Validating Admission Webhook to enforce those policies.Sub-namespace policy granularity - PodSecurityPolicy lets you bind different policies to different Service Accounts or users, even within a single namespace. This approach has many pitfalls and is not recommended, but if you require this feature anyway you will need to use a 3rd party webhook instead. The exception to this is if you only need to completely exempt specific users or RuntimeClasses, in which case Pod Security Admission does expose some static configuration for exemptions.Even if Pod Security Admission does not meet all of your needs it was designed to be complementary to other policy enforcement mechanisms, an",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/migrate-from-psp/",
    "id": "k8s_00246_qa_4739"
  },
  {
    "question": "How does Migrate from PodSecurityPolicy to the Built-In PodSecurity Admission Controller work?",
    "answer": "Migrate from PodSecurityPolicy to the Built-In PodSecurity Admission ControllerThis page describes the process of migrating from PodSecurityPolicies to the built-in PodSecurity admission controller. This can be done effectively using a combination of dry-run and audit and warn modes, although this becomes harder if mutating PSPs are used.Before you beginYour Kubernetes server must be at or later than version v1.22.To check the version, enter kubectl version.If you are currently running a version of Kubernetes other than 1.34, you may want to switch to viewing this page in the documentation for the version of Kubernetes that you are actually running.This page assumes you are already familiar with the basic Pod Security Admission concepts.Overall approachThere are multiple strategies you can take for migrating from PodSecurityPolicy to Pod Security Admission. The following steps are one possible migration path, with a goal of minimizing both the risks of a production outage and of a security gap.Decide whether Pod Security Admission is the right fit for your use case.Review namespace permissionsSimplify & standardize PodSecurityPoliciesUpdate namespacesIdentify an appropriate Pod Security levelVerify the Pod Security levelEnforce the Pod Security levelBypass PodSecurityPolicyReview namespace creation processesDisable PodSecurityPolicy0. Decide whether Pod Security Admission is right for youPod Security Admission was designed to meet the most common security needs out of the box, and to provide a standard set of security levels across clusters. However, it is less flexible than PodSecurityPolicy. Notably, the following features are supported by PodSecurityPolicy but not Pod Security Admission:Setting default security constraints - Pod Security Admission is a non-mutating admission controller, meaning it won't modify pods before validating them. If you were relying on this aspect of PSP, you will need to either modify your workloads to meet the Pod Security constraints, or use a Mutating Admission Webhook to make those changes. See Simplify & Standardize PodSecurityPolicies below for more detail.Fine-grained control over policy definition - Pod Security Admission only supports 3 standard levels. If you require more control over specific constraints, then you will need to use a Validating Admission Webhook to enforce those policies.Sub-namespace policy granularity - PodSecurityPolicy lets you bind different policies to different Service Accounts or users, even within a single namespace. This approach has many pitfalls and is not recommended, but if you require this feature anyway you will need to use a 3rd party webhook instead. The exception to this is if you only need to completely exempt specific users or RuntimeClasses, in which case Pod Security Admission does expose some static configuration for exemptions.Even if Pod Security Admission does not meet all of your needs it was designed to be complementary to other policy enforcement mechanisms, an",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/migrate-from-psp/",
    "id": "k8s_00246_qa_4740"
  },
  {
    "question": "When would you use Migrate from PodSecurityPolicy to the Built-In PodSecurity Admission Controller?",
    "answer": "Migrate from PodSecurityPolicy to the Built-In PodSecurity Admission ControllerThis page describes the process of migrating from PodSecurityPolicies to the built-in PodSecurity admission controller. This can be done effectively using a combination of dry-run and audit and warn modes, although this becomes harder if mutating PSPs are used.Before you beginYour Kubernetes server must be at or later than version v1.22.To check the version, enter kubectl version.If you are currently running a version of Kubernetes other than 1.34, you may want to switch to viewing this page in the documentation for the version of Kubernetes that you are actually running.This page assumes you are already familiar with the basic Pod Security Admission concepts.Overall approachThere are multiple strategies you can take for migrating from PodSecurityPolicy to Pod Security Admission. The following steps are one possible migration path, with a goal of minimizing both the risks of a production outage and of a security gap.Decide whether Pod Security Admission is the right fit for your use case.Review namespace permissionsSimplify & standardize PodSecurityPoliciesUpdate namespacesIdentify an appropriate Pod Security levelVerify the Pod Security levelEnforce the Pod Security levelBypass PodSecurityPolicyReview namespace creation processesDisable PodSecurityPolicy0. Decide whether Pod Security Admission is right for youPod Security Admission was designed to meet the most common security needs out of the box, and to provide a standard set of security levels across clusters. However, it is less flexible than PodSecurityPolicy. Notably, the following features are supported by PodSecurityPolicy but not Pod Security Admission:Setting default security constraints - Pod Security Admission is a non-mutating admission controller, meaning it won't modify pods before validating them. If you were relying on this aspect of PSP, you will need to either modify your workloads to meet the Pod Security constraints, or use a Mutating Admission Webhook to make those changes. See Simplify & Standardize PodSecurityPolicies below for more detail.Fine-grained control over policy definition - Pod Security Admission only supports 3 standard levels. If you require more control over specific constraints, then you will need to use a Validating Admission Webhook to enforce those policies.Sub-namespace policy granularity - PodSecurityPolicy lets you bind different policies to different Service Accounts or users, even within a single namespace. This approach has many pitfalls and is not recommended, but if you require this feature anyway you will need to use a 3rd party webhook instead. The exception to this is if you only need to completely exempt specific users or RuntimeClasses, in which case Pod Security Admission does expose some static configuration for exemptions.Even if Pod Security Admission does not meet all of your needs it was designed to be complementary to other policy enforcement mechanisms, an",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/migrate-from-psp/",
    "id": "k8s_00246_qa_4741"
  },
  {
    "question": "What are the benefits of Migrate from PodSecurityPolicy to the Built-In PodSecurity Admission Controller?",
    "answer": "Migrate from PodSecurityPolicy to the Built-In PodSecurity Admission ControllerThis page describes the process of migrating from PodSecurityPolicies to the built-in PodSecurity admission controller. This can be done effectively using a combination of dry-run and audit and warn modes, although this becomes harder if mutating PSPs are used.Before you beginYour Kubernetes server must be at or later than version v1.22.To check the version, enter kubectl version.If you are currently running a version of Kubernetes other than 1.34, you may want to switch to viewing this page in the documentation for the version of Kubernetes that you are actually running.This page assumes you are already familiar with the basic Pod Security Admission concepts.Overall approachThere are multiple strategies you can take for migrating from PodSecurityPolicy to Pod Security Admission. The following steps are one possible migration path, with a goal of minimizing both the risks of a production outage and of a security gap.Decide whether Pod Security Admission is the right fit for your use case.Review namespace permissionsSimplify & standardize PodSecurityPoliciesUpdate namespacesIdentify an appropriate Pod Security levelVerify the Pod Security levelEnforce the Pod Security levelBypass PodSecurityPolicyReview namespace creation processesDisable PodSecurityPolicy0. Decide whether Pod Security Admission is right for youPod Security Admission was designed to meet the most common security needs out of the box, and to provide a standard set of security levels across clusters. However, it is less flexible than PodSecurityPolicy. Notably, the following features are supported by PodSecurityPolicy but not Pod Security Admission:Setting default security constraints - Pod Security Admission is a non-mutating admission controller, meaning it won't modify pods before validating them. If you were relying on this aspect of PSP, you will need to either modify your workloads to meet the Pod Security constraints, or use a Mutating Admission Webhook to make those changes. See Simplify & Standardize PodSecurityPolicies below for more detail.Fine-grained control over policy definition - Pod Security Admission only supports 3 standard levels. If you require more control over specific constraints, then you will need to use a Validating Admission Webhook to enforce those policies.Sub-namespace policy granularity - PodSecurityPolicy lets you bind different policies to different Service Accounts or users, even within a single namespace. This approach has many pitfalls and is not recommended, but if you require this feature anyway you will need to use a 3rd party webhook instead. The exception to this is if you only need to completely exempt specific users or RuntimeClasses, in which case Pod Security Admission does expose some static configuration for exemptions.Even if Pod Security Admission does not meet all of your needs it was designed to be complementary to other policy enforcement mechanisms, an",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/migrate-from-psp/",
    "id": "k8s_00246_qa_4742"
  },
  {
    "question": "What is Migrate from PodSecurityPolicy to the Built-In PodSecurity Admission Controller?",
    "answer": "T h i s   p a g e   d e s c r i b e s   t h e   p r o c e s s   o f   m i g r a t i n g   f r o m   P o d S e c u r i t y P o l i c i e s   t o   t h e   b u i l t - i n   P o d S e c u r i t y   a d m i s s i o n   c o n t r o l l e r .   T h i s   c a n   b e   d o n e   e f f e c t i v e l y   u s i n g   a   c o m b i n a t i o n   o f   d r y - r u n   a n d   a u d i t   a n d   w a r n   m o d e s ,   a l t h o u g h   t h i s   b e c o m e s   h a r d e r   i f   m u t a t i n g   P S P s   a r e   u s e d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/migrate-from-psp/",
    "id": "k8s_00246_section_1_4743"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 2 2 .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   I f   y o u   a r e   c u r r e n t l y   r u n n i n g   a   v e r s i o n   o f   K u b e r n e t e s   o t h e r   t h a n   1 . 3 4 ,   y o u   m a y   w a n t   t o   s w i t c h   t o   v i e w i n g   t h i s   p a g e   i n   t h e   d o c u m e n t a t i o n   f o r   t h e   v e r s i o n   o f   K u b e r n e t e s   t h a t   y o u   a r e   a c t u a l l y   r u n n i n g .   T h i s   p a g e   a s s u m e s   y o u   a r e   a l r e a d y   f a m i l i a r   w i t h   t h e   b a s i c   P o d   S e c u r i t y   A d m i s s i o n   c o n c e p t s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/migrate-from-psp/",
    "id": "k8s_00246_section_2_4744"
  },
  {
    "question": "What is Overall approach?",
    "answer": "T h e r e   a r e   m u l t i p l e   s t r a t e g i e s   y o u   c a n   t a k e   f o r   m i g r a t i n g   f r o m   P o d S e c u r i t y P o l i c y   t o   P o d   S e c u r i t y   A d m i s s i o n .   T h e   f o l l o w i n g   s t e p s   a r e   o n e   p o s s i b l e   m i g r a t i o n   p a t h ,   w i t h   a   g o a l   o f   m i n i m i z i n g   b o t h   t h e   r i s k s   o f   a   p r o d u c t i o n   o u t a g e   a n d   o f   a   s e c u r i t y   g a p .   D e c i d e   w h e t h e r   P o d   S e c u r i t y   A d m i s s i o n   i s   t h e   r i g h t   f i t   f o r   y o u r   u s e   c a s e . R e v i e w   n a m e s p a c e   p e r m i s s i o n s S i m p l i f y   &   s t a n d a r d i z e   P o d S e c u r i t y P o l i c i e s U p d a t e   n a m e s p a c e s I d e n t i f y   a n   a p p r o p r i a t e   P o d   S e c u r i t y   l e v e l V e r i f y   t h e   P o d   S e c u r i t y   l e v e l E n f o r c e   t h e   P o d   S e c u r i t y   l e v e l B y p a s s   P o d S e c u r i t y P o l i c y R e v i e w   n a m e s p a c e   c r e a t i o n   p r o c e s s e s D i s a b l e   P o d S e c u r i t y P o l i c y   I d e n t i f y   a n   a p p r o p r i a t e   P o d   S e c u r i t y   l e v e l V e r i f y   t h e   P o d   S e c u r i t y   l e v e l E n f o r c e   t h e   P o d   S e c u r i t y   l e v e l B y p a s s   P o d S e c u r i t y P o l i c y",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/migrate-from-psp/",
    "id": "k8s_00246_section_2_4745"
  },
  {
    "question": "What is 0. Decide whether Pod Security Admission is right for you?",
    "answer": "P o d   S e c u r i t y   A d m i s s i o n   w a s   d e s i g n e d   t o   m e e t   t h e   m o s t   c o m m o n   s e c u r i t y   n e e d s   o u t   o f   t h e   b o x ,   a n d   t o   p r o v i d e   a   s t a n d a r d   s e t   o f   s e c u r i t y   l e v e l s   a c r o s s   c l u s t e r s .   H o w e v e r ,   i t   i s   l e s s   f l e x i b l e   t h a n   P o d S e c u r i t y P o l i c y .   N o t a b l y ,   t h e   f o l l o w i n g   f e a t u r e s   a r e   s u p p o r t e d   b y   P o d S e c u r i t y P o l i c y   b u t   n o t   P o d   S e c u r i t y   A d m i s s i o n :   S e t t i n g   d e f a u l t   s e c u r i t y   c o n s t r a i n t s   -   P o d   S e c u r i t y   A d m i s s i o n   i s   a   n o n - m u t a t i n g   a d m i s s i o n   c o n t r o l l e r ,   m e a n i n g   i t   w o n ' t   m o d i f y   p o d s   b e f o r e   v a l i d a t i n g   t h e m .   I f   y o u   w e r e   r e l y i n g   o n   t h i s   a s p e c t   o f   P S P ,   y o u   w i l l   n e e d   t o   e i t h e r   m o d i f y   y o u r   w o r k l o a d s   t o   m e e t   t h e   P o d   S e c u r i t y   c o n s t r a i n t s ,   o r   u s e   a   M u t a t i n g   A d m i s s i o n   W e b h o o k   t o   m a k e   t h o s e   c h a n g e s .   S e e   S i m p l i f y   &   S t a n d a r d i z e   P o d S e c u r i t y P o l i c i e s   b e l o w   f o r   m o r e   d e t a i l . F i n e - g r a i n e d   c o n t r o l   o v e r   p o l i c y   d e f i n i t i o n   -   P o d   S e c u r i t y   A d m i s s i o n   o n l y   s u p p o r t s   3   s t a n d a r d   l e v e l s .   I f   y o u   r e q u i r e   m o r e   c o n t r o l   o v e r   s p e c i f i c   c o n s t r a i n t s ,   t h e n   y o u   w i l l   n e e d   t o   u s e   a   V a l i d a t i n g   A d m i s s i o n   W e b h o o k   t o   e n f o r c e   t h o s e   p o l i c i e s . S u b - n a m e s p a c e   p o l i c y   g r a n u l a r i t y   -   P o d S e c ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/migrate-from-psp/",
    "id": "k8s_00246_section_2_4746"
  },
  {
    "question": "What is 1. Review namespace permissions?",
    "answer": "P o d   S e c u r i t y   A d m i s s i o n   i s   c o n t r o l l e d   b y   l a b e l s   o n   n a m e s p a c e s .   T h i s   m e a n s   t h a t   a n y o n e   w h o   c a n   u p d a t e   ( o r   p a t c h   o r   c r e a t e )   a   n a m e s p a c e   c a n   a l s o   m o d i f y   t h e   P o d   S e c u r i t y   l e v e l   f o r   t h a t   n a m e s p a c e ,   w h i c h   c o u l d   b e   u s e d   t o   b y p a s s   a   m o r e   r e s t r i c t i v e   p o l i c y .   B e f o r e   p r o c e e d i n g ,   e n s u r e   t h a t   o n l y   t r u s t e d ,   p r i v i l e g e d   u s e r s   h a v e   t h e s e   n a m e s p a c e   p e r m i s s i o n s .   I t   i s   n o t   r e c o m m e n d e d   t o   g r a n t   t h e s e   p o w e r f u l   p e r m i s s i o n s   t o   u s e r s   t h a t   s h o u l d n ' t   h a v e   e l e v a t e d   p e r m i s s i o n s ,   b u t   i f   y o u   m u s t   y o u   w i l l   n e e d   t o   u s e   a n   a d m i s s i o n   w e b h o o k   t o   p l a c e   a d d i t i o n a l   r e s t r i c t i o n s   o n   s e t t i n g   P o d   S e c u r i t y   l a b e l s   o n   N a m e s p a c e   o b j e c t s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/migrate-from-psp/",
    "id": "k8s_00246_section_2_4747"
  },
  {
    "question": "What is 2. Simplify & standardize PodSecurityPolicies?",
    "answer": "I n   t h i s   s e c t i o n ,   y o u   w i l l   r e d u c e   m u t a t i n g   P o d S e c u r i t y P o l i c i e s   a n d   r e m o v e   o p t i o n s   t h a t   a r e   o u t s i d e   t h e   s c o p e   o f   t h e   P o d   S e c u r i t y   S t a n d a r d s .   Y o u   s h o u l d   m a k e   t h e   c h a n g e s   r e c o m m e n d e d   h e r e   t o   a n   o f f l i n e   c o p y   o f   t h e   o r i g i n a l   P o d S e c u r i t y P o l i c y   b e i n g   m o d i f i e d .   T h e   c l o n e d   P S P   s h o u l d   h a v e   a   d i f f e r e n t   n a m e   t h a t   i s   a l p h a b e t i c a l l y   b e f o r e   t h e   o r i g i n a l   ( f o r   e x a m p l e ,   p r e p e n d   a   0   t o   i t ) .   D o   n o t   c r e a t e   t h e   n e w   p o l i c i e s   i n   K u b e r n e t e s   y e t   -   t h a t   w i l l   b e   c o v e r e d   i n   t h e   R o l l o u t   t h e   u p d a t e d   p o l i c i e s   s e c t i o n   b e l o w .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/migrate-from-psp/",
    "id": "k8s_00246_section_2_4748"
  },
  {
    "question": "What is 2.a. Eliminate purely mutating fields?",
    "answer": "I f   a   P o d S e c u r i t y P o l i c y   i s   m u t a t i n g   p o d s ,   t h e n   y o u   c o u l d   e n d   u p   w i t h   p o d s   t h a t   d o n ' t   m e e t   t h e   P o d   S e c u r i t y   l e v e l   r e q u i r e m e n t s   w h e n   y o u   f i n a l l y   t u r n   P o d S e c u r i t y P o l i c y   o f f .   I n   o r d e r   t o   a v o i d   t h i s ,   y o u   s h o u l d   e l i m i n a t e   a l l   P S P   m u t a t i o n   p r i o r   t o   s w i t c h i n g   o v e r .   U n f o r t u n a t e l y   P S P   d o e s   n o t   c l e a n l y   s e p a r a t e   m u t a t i n g   &   v a l i d a t i n g   f i e l d s ,   s o   t h i s   i s   n o t   a   s t r a i g h t f o r w a r d   m i g r a t i o n .   Y o u   c a n   s t a r t   b y   e l i m i n a t i n g   t h e   f i e l d s   t h a t   a r e   p u r e l y   m u t a t i n g ,   a n d   d o n ' t   h a v e   a n y   b e a r i n g   o n   t h e   v a l i d a t i n g   p o l i c y .   T h e s e   f i e l d s   ( a l s o   l i s t e d   i n   t h e   M a p p i n g   P o d S e c u r i t y P o l i c i e s   t o   P o d   S e c u r i t y   S t a n d a r d s   r e f e r e n c e )   a r e :   . s p e c . d e f a u l t A l l o w P r i v i l e g e E s c a l a t i o n . s p e c . r u n t i m e C l a s s . d e f a u l t R u n t i m e C l a s s N a m e . m e t a d a t a . a n n o t a t i o n s [ ' s e c c o m p . s e c u r i t y . a l p h a . k u b e r n e t e s . i o / d e f a u l t P r o f i l e N a m e ' ] . m e t a d a t a . a n n o t a t i o n s [ ' a p p a r m o r . s e c u r i t y . b e t a . k u b e r n e t e s . i o / d e f a u l t P r o f i l e N a m e ' ] . s p e c . d e f a u l t A d d C a p a b i l i t i e s   -   A l t h o u g h   t e c h n i c a l l y   a   m u t a t i n g   &   v a l i d a t i n g   f i e l d ,   t h e s e   s h o u l d   b e   m e r g e d   i n t o   . s p e c . a l l o w e d C a p a b i l i t i e s   w h i c h   p e r f o r m s   t h e   s a m e   v a l ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/migrate-from-psp/",
    "id": "k8s_00246_section_3_4749"
  },
  {
    "question": "What is 2.b. Eliminate options not covered by the Pod Security Standards?",
    "answer": "T h e r e   a r e   s e v e r a l   f i e l d s   i n   P o d S e c u r i t y P o l i c y   t h a t   a r e   n o t   c o v e r e d   b y   t h e   P o d   S e c u r i t y   S t a n d a r d s .   I f   y o u   m u s t   e n f o r c e   t h e s e   o p t i o n s ,   y o u   w i l l   n e e d   t o   s u p p l e m e n t   P o d   S e c u r i t y   A d m i s s i o n   w i t h   a n   a d m i s s i o n   w e b h o o k ,   w h i c h   i s   o u t s i d e   t h e   s c o p e   o f   t h i s   g u i d e .   F i r s t ,   y o u   c a n   r e m o v e   t h e   p u r e l y   v a l i d a t i n g   f i e l d s   t h a t   t h e   P o d   S e c u r i t y   S t a n d a r d s   d o   n o t   c o v e r .   T h e s e   f i e l d s   ( a l s o   l i s t e d   i n   t h e   M a p p i n g   P o d S e c u r i t y P o l i c i e s   t o   P o d   S e c u r i t y   S t a n d a r d s   r e f e r e n c e   w i t h   \" n o   o p i n i o n \" )   a r e :   . s p e c . a l l o w e d H o s t P a t h s . s p e c . a l l o w e d F l e x V o l u m e s . s p e c . a l l o w e d C S I D r i v e r s . s p e c . f o r b i d d e n S y s c t l s . s p e c . r u n t i m e C l a s s   Y o u   c a n   a l s o   r e m o v e   t h e   f o l l o w i n g   f i e l d s ,   t h a t   a r e   r e l a t e d   t o   P O S I X   /   U N I X   g r o u p   c o n t r o l s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/migrate-from-psp/",
    "id": "k8s_00246_section_3_4750"
  },
  {
    "question": "What is Caution:?",
    "answer": ". s p e c . r u n A s G r o u p . s p e c . s u p p l e m e n t a l G r o u p s . s p e c . f s G r o u p   T h e   r e m a i n i n g   m u t a t i n g   f i e l d s   a r e   r e q u i r e d   t o   p r o p e r l y   s u p p o r t   t h e   P o d   S e c u r i t y   S t a n d a r d s ,   a n d   w i l l   n e e d   t o   b e   h a n d l e d   o n   a   c a s e - b y - c a s e   b a s i s   l a t e r :   . s p e c . r e q u i r e d D r o p C a p a b i l i t i e s   -   R e q u i r e d   t o   d r o p   A L L   f o r   t h e   R e s t r i c t e d   p r o f i l e . . s p e c . s e L i n u x   -   ( O n l y   m u t a t i n g   w i t h   t h e   M u s t R u n A s   r u l e )   r e q u i r e d   t o   e n f o r c e   t h e   S E L i n u x   r e q u i r e m e n t s   o f   t h e   B a s e l i n e   &   R e s t r i c t e d   p r o f i l e s . . s p e c . r u n A s U s e r   -   ( N o n - m u t a t i n g   w i t h   t h e   R u n A s A n y   r u l e )   r e q u i r e d   t o   e n f o r c e   R u n A s N o n R o o t   f o r   t h e   R e s t r i c t e d   p r o f i l e . . s p e c . a l l o w P r i v i l e g e E s c a l a t i o n   -   ( O n l y   m u t a t i n g   i f   s e t   t o   f a l s e )   r e q u i r e d   f o r   t h e   R e s t r i c t e d   p r o f i l e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/migrate-from-psp/",
    "id": "k8s_00246_section_4_4751"
  },
  {
    "question": "What is 2.c. Rollout the updated PSPs?",
    "answer": "N e x t ,   y o u   c a n   r o l l o u t   t h e   u p d a t e d   p o l i c i e s   t o   y o u r   c l u s t e r .   Y o u   s h o u l d   p r o c e e d   w i t h   c a u t i o n ,   a s   r e m o v i n g   t h e   m u t a t i n g   o p t i o n s   m a y   r e s u l t   i n   w o r k l o a d s   m i s s i n g   r e q u i r e d   c o n f i g u r a t i o n .   F o r   e a c h   u p d a t e d   P o d S e c u r i t y P o l i c y :   I d e n t i f y   p o d s   r u n n i n g   u n d e r   t h e   o r i g i n a l   P S P .   T h i s   c a n   b e   d o n e   u s i n g   t h e   k u b e r n e t e s . i o / p s p   a n n o t a t i o n .   F o r   e x a m p l e ,   u s i n g   k u b e c t l : P S P _ N A M E = \" o r i g i n a l \"   #   S e t   t h e   n a m e   o f   t h e   P S P   y o u ' r e   c h e c k i n g   f o r   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s   - o   j s o n p a t h = \" { r a n g e   . i t e m s [ ? ( @ . m e t a d a t a . a n n o t a t i o n s . k u b e r n e t e s \\ . i o \\ / p s p = = ' $ P S P _ N A M E ' ) ] } { . m e t a d a t a . n a m e s p a c e }   { . m e t a d a t a . n a m e } { ' \\ n ' } { e n d } \"   C o m p a r e   t h e s e   r u n n i n g   p o d s   a g a i n s t   t h e   o r i g i n a l   p o d   s p e c   t o   d e t e r m i n e   w h e t h e r   P o d S e c u r i t y P o l i c y   h a s   m o d i f i e d   t h e   p o d .   F o r   p o d s   c r e a t e d   b y   a   w o r k l o a d   r e s o u r c e   y o u   c a n   c o m p a r e   t h e   p o d   w i t h   t h e   P o d T e m p l a t e   i n   t h e   c o n t r o l l e r   r e s o u r c e .   I f   a n y   c h a n g e s   a r e   i d e n t i f i e d ,   t h e   o r i g i n a l   P o d   o r   P o d T e m p l a t e   s h o u l d   b e   u p d a t e d   w i t h   t h e   d e s i r e d   c o n f i g u r a t i o n .   T h e   f i e l d s   t o   r e v i e w   a r e : . m e t a d a t a . a n n o t a t i o n s [ ' c o n t a i n e r . a p p a r m o r . s e c ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/migrate-from-psp/",
    "id": "k8s_00246_section_3_4752"
  },
  {
    "question": "What is 3. Update Namespaces?",
    "answer": "T h e   f o l l o w i n g   s t e p s   w i l l   n e e d   t o   b e   p e r f o r m e d   o n   e v e r y   n a m e s p a c e   i n   t h e   c l u s t e r .   C o m m a n d s   r e f e r e n c e d   i n   t h e s e   s t e p s   u s e   t h e   $ N A M E S P A C E   v a r i a b l e   t o   r e f e r   t o   t h e   n a m e s p a c e   b e i n g   u p d a t e d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/migrate-from-psp/",
    "id": "k8s_00246_section_2_4753"
  },
  {
    "question": "What is 3.a. Identify an appropriate Pod Security level?",
    "answer": "S t a r t   r e v i e w i n g   t h e   P o d   S e c u r i t y   S t a n d a r d s   a n d   f a m i l i a r i z i n g   y o u r s e l f   w i t h   t h e   3   d i f f e r e n t   l e v e l s .   T h e r e   a r e   s e v e r a l   w a y s   t o   c h o o s e   a   P o d   S e c u r i t y   l e v e l   f o r   y o u r   n a m e s p a c e :   B y   s e c u r i t y   r e q u i r e m e n t s   f o r   t h e   n a m e s p a c e   -   I f   y o u   a r e   f a m i l i a r   w i t h   t h e   e x p e c t e d   a c c e s s   l e v e l   f o r   t h e   n a m e s p a c e ,   y o u   c a n   c h o o s e   a n   a p p r o p r i a t e   l e v e l   b a s e d   o n   t h o s e   r e q u i r e m e n t s ,   s i m i l a r   t o   h o w   o n e   m i g h t   a p p r o a c h   t h i s   o n   a   n e w   c l u s t e r . B y   e x i s t i n g   P o d S e c u r i t y P o l i c i e s   -   U s i n g   t h e   M a p p i n g   P o d S e c u r i t y P o l i c i e s   t o   P o d   S e c u r i t y   S t a n d a r d s   r e f e r e n c e   y o u   c a n   m a p   e a c h   P S P   t o   a   P o d   S e c u r i t y   S t a n d a r d   l e v e l .   I f   y o u r   P S P s   a r e n ' t   b a s e d   o n   t h e   P o d   S e c u r i t y   S t a n d a r d s ,   y o u   m a y   n e e d   t o   d e c i d e   b e t w e e n   c h o o s i n g   a   l e v e l   t h a t   i s   a t   l e a s t   a s   p e r m i s s i v e   a s   t h e   P S P ,   a n d   a   l e v e l   t h a t   i s   a t   l e a s t   a s   r e s t r i c t i v e .   Y o u   c a n   s e e   w h i c h   P S P s   a r e   i n   u s e   f o r   p o d s   i n   a   g i v e n   n a m e s p a c e   w i t h   t h i s   c o m m a n d : k u b e c t l   g e t   p o d s   - n   $ N A M E S P A C E   - o   j s o n p a t h = \" { . i t e m s [ * ] . m e t a d a t a . a n n o t a t i o n s . k u b e r n e t e s \\ . i o \\ / p s p } \"   |   t r   \"   \"   \" \\ n \"   |   s o r t   - u   B y   e x i s t i n g   p o d s   -   U s i n g   t h e   s t ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/migrate-from-psp/",
    "id": "k8s_00246_section_3_4754"
  },
  {
    "question": "What is 3.b. Verify the Pod Security level?",
    "answer": "O n c e   y o u   h a v e   s e l e c t e d   a   P o d   S e c u r i t y   l e v e l   f o r   t h e   n a m e s p a c e   ( o r   i f   y o u ' r e   t r y i n g   s e v e r a l ) ,   i t ' s   a   g o o d   i d e a   t o   t e s t   i t   o u t   f i r s t   ( y o u   c a n   s k i p   t h i s   s t e p   i f   u s i n g   t h e   P r i v i l e g e d   l e v e l ) .   P o d   S e c u r i t y   i n c l u d e s   s e v e r a l   t o o l s   t o   h e l p   t e s t   a n d   s a f e l y   r o l l   o u t   p r o f i l e s .   F i r s t ,   y o u   c a n   d r y - r u n   t h e   p o l i c y ,   w h i c h   w i l l   e v a l u a t e   p o d s   c u r r e n t l y   r u n n i n g   i n   t h e   n a m e s p a c e   a g a i n s t   t h e   a p p l i e d   p o l i c y ,   w i t h o u t   m a k i n g   t h e   n e w   p o l i c y   t a k e   e f f e c t :   #   $ L E V E L   i s   t h e   l e v e l   t o   d r y - r u n ,   e i t h e r   \" b a s e l i n e \"   o r   \" r e s t r i c t e d \" .   k u b e c t l   l a b e l   - - d r y - r u n = s e r v e r   - - o v e r w r i t e   n s   $ N A M E S P A C E   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e = $ L E V E L   T h i s   c o m m a n d   w i l l   r e t u r n   a   w a r n i n g   f o r   a n y   e x i s t i n g   p o d s   t h a t   a r e   n o t   v a l i d   u n d e r   t h e   p r o p o s e d   l e v e l .   T h e   s e c o n d   o p t i o n   i s   b e t t e r   f o r   c a t c h i n g   w o r k l o a d s   t h a t   a r e   n o t   c u r r e n t l y   r u n n i n g :   a u d i t   m o d e .   W h e n   r u n n i n g   u n d e r   a u d i t - m o d e   ( a s   o p p o s e d   t o   e n f o r c i n g ) ,   p o d s   t h a t   v i o l a t e   t h e   p o l i c y   l e v e l   a r e   r e c o r d e d   i n   t h e   a u d i t   l o g s ,   w h i c h   c a n   b e   r e v i e w e d   l a t e r   a f t e r   s o m e   s o a k   t i m e ,   b u t   a r e   n o t   f o r b i d d e n .   W a r n i n ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/migrate-from-psp/",
    "id": "k8s_00246_section_3_4755"
  },
  {
    "question": "What is 3.c. Enforce the Pod Security level?",
    "answer": "W h e n   y o u   a r e   s a t i s f i e d   t h a t   t h e   c h o s e n   l e v e l   c a n   s a f e l y   b e   e n f o r c e d   o n   t h e   n a m e s p a c e ,   y o u   c a n   u p d a t e   t h e   n a m e s p a c e   t o   e n f o r c e   t h e   d e s i r e d   l e v e l :   k u b e c t l   l a b e l   - - o v e r w r i t e   n s   $ N A M E S P A C E   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e = $ L E V E L",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/migrate-from-psp/",
    "id": "k8s_00246_section_3_4756"
  },
  {
    "question": "What is 3.d. Bypass PodSecurityPolicy?",
    "answer": "F i n a l l y ,   y o u   c a n   e f f e c t i v e l y   b y p a s s   P o d S e c u r i t y P o l i c y   a t   t h e   n a m e s p a c e   l e v e l   b y   b i n d i n g   t h e   f u l l y   p r i v i l e g e d   P S P   t o   a l l   s e r v i c e   a c c o u n t s   i n   t h e   n a m e s p a c e .   #   T h e   f o l l o w i n g   c l u s t e r - s c o p e d   c o m m a n d s   a r e   o n l y   n e e d e d   o n c e .   k u b e c t l   a p p l y   - f   p r i v i l e g e d - p s p . y a m l   k u b e c t l   c r e a t e   c l u s t e r r o l e   p r i v i l e g e d - p s p   - - v e r b   u s e   - - r e s o u r c e   p o d s e c u r i t y p o l i c i e s . p o l i c y   - - r e s o u r c e - n a m e   p r i v i l e g e d   #   P e r - n a m e s p a c e   d i s a b l e   k u b e c t l   c r e a t e   - n   $ N A M E S P A C E   r o l e b i n d i n g   d i s a b l e - p s p   - - c l u s t e r r o l e   p r i v i l e g e d - p s p   - - g r o u p   s y s t e m : s e r v i c e a c c o u n t s : $ N A M E S P A C E   S i n c e   t h e   p r i v i l e g e d   P S P   i s   n o n - m u t a t i n g ,   a n d   t h e   P S P   a d m i s s i o n   c o n t r o l l e r   a l w a y s   p r e f e r s   n o n - m u t a t i n g   P S P s ,   t h i s   w i l l   e n s u r e   t h a t   p o d s   i n   t h i s   n a m e s p a c e   a r e   n o   l o n g e r   b e i n g   m o d i f i e d   o r   r e s t r i c t e d   b y   P o d S e c u r i t y P o l i c y .   T h e   a d v a n t a g e   t o   d i s a b l i n g   P o d S e c u r i t y P o l i c y   o n   a   p e r - n a m e s p a c e   b a s i s   l i k e   t h i s   i s   i f   a   p r o b l e m   a r i s e s   y o u   c a n   e a s i l y   r o l l   t h e   c h a n g e   b a c k   b y   d e l e t i n g   t h e   R o l e B i n d i n g .   J u s t   m a k e   s u r e   t h e   p r e - e x i s t i n g   P o d S e c u r i t y P o l i c i e s   a r e   s t i l l   i n   p l a c e !   #   U n d o   P o d S e c u r i t y P o l ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/migrate-from-psp/",
    "id": "k8s_00246_section_3_4757"
  },
  {
    "question": "What is 4. Review namespace creation processes?",
    "answer": "N o w   t h a t   e x i s t i n g   n a m e s p a c e s   h a v e   b e e n   u p d a t e d   t o   e n f o r c e   P o d   S e c u r i t y   A d m i s s i o n ,   y o u   s h o u l d   e n s u r e   t h a t   y o u r   p r o c e s s e s   a n d / o r   p o l i c i e s   f o r   c r e a t i n g   n e w   n a m e s p a c e s   a r e   u p d a t e d   t o   e n s u r e   t h a t   a n   a p p r o p r i a t e   P o d   S e c u r i t y   p r o f i l e   i s   a p p l i e d   t o   n e w   n a m e s p a c e s .   Y o u   c a n   a l s o   s t a t i c a l l y   c o n f i g u r e   t h e   P o d   S e c u r i t y   a d m i s s i o n   c o n t r o l l e r   t o   s e t   a   d e f a u l t   e n f o r c e ,   a u d i t ,   a n d / o r   w a r n   l e v e l   f o r   u n l a b e l e d   n a m e s p a c e s .   S e e   C o n f i g u r e   t h e   A d m i s s i o n   C o n t r o l l e r   f o r   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/migrate-from-psp/",
    "id": "k8s_00246_section_2_4758"
  },
  {
    "question": "What is 5. Disable PodSecurityPolicy?",
    "answer": "F i n a l l y ,   y o u ' r e   r e a d y   t o   d i s a b l e   P o d S e c u r i t y P o l i c y .   T o   d o   s o ,   y o u   w i l l   n e e d   t o   m o d i f y   t h e   a d m i s s i o n   c o n f i g u r a t i o n   o f   t h e   A P I   s e r v e r :   H o w   d o   I   t u r n   o f f   a n   a d m i s s i o n   c o n t r o l l e r ? .   T o   v e r i f y   t h a t   t h e   P o d S e c u r i t y P o l i c y   a d m i s s i o n   c o n t r o l l e r   i s   n o   l o n g e r   e n a b l e d ,   y o u   c a n   m a n u a l l y   r u n   a   t e s t   b y   i m p e r s o n a t i n g   a   u s e r   w i t h o u t   a c c e s s   t o   a n y   P o d S e c u r i t y P o l i c i e s   ( s e e   t h e   P o d S e c u r i t y P o l i c y   e x a m p l e ) ,   o r   b y   v e r i f y i n g   i n   t h e   A P I   s e r v e r   l o g s .   A t   s t a r t u p ,   t h e   A P I   s e r v e r   o u t p u t s   l o g   l i n e s   l i s t i n g   t h e   l o a d e d   a d m i s s i o n   c o n t r o l l e r   p l u g i n s :   I 0 2 1 8   0 0 : 5 9 : 4 4 . 9 0 3 3 2 9   1 3   p l u g i n s . g o : 1 5 8 ]   L o a d e d   1 6   m u t a t i n g   a d m i s s i o n   c o n t r o l l e r ( s )   s u c c e s s f u l l y   i n   t h e   f o l l o w i n g   o r d e r :   N a m e s p a c e L i f e c y c l e , L i m i t R a n g e r , S e r v i c e A c c o u n t , N o d e R e s t r i c t i o n , T a i n t N o d e s B y C o n d i t i o n , P r i o r i t y , D e f a u l t T o l e r a t i o n S e c o n d s , E x t e n d e d R e s o u r c e T o l e r a t i o n , P e r s i s t e n t V o l u m e L a b e l , D e f a u l t S t o r a g e C l a s s , S t o r a g e O b j e c t I n U s e P r o t e c t i o n , R u n t i m e C l a s s , D e f a u l t I n g r e s s C l a s s , M u t a t i n g A d m i s s i o n W e b h o o k .   I 0 2 1 8   0 0 : 5 9 : 4 4 . 9 0 3 3 5 0   1 3   p l u g i n s . g o : 1 6 1 ]   L o a d e d   1 4   v a l i d a t i n g   a d m i s s i o n   c o n t r o l l e r ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/migrate-from-psp/",
    "id": "k8s_00246_section_2_4759"
  },
  {
    "question": "What is Cluster Resources?",
    "answer": "Cluster ResourcesAPIServiceAPIService represents a server for a particular GroupVersion.ComponentStatusComponentStatus (and ComponentStatusList) holds the cluster validation info.EventEvent is a report of an event somewhere in the cluster.IPAddressIPAddress represents a single IP of a single IP Family.LeaseLease defines a lease concept.LeaseCandidate v1beta1LeaseCandidate defines a candidate for a Lease object.NamespaceNamespace provides a scope for Names.NodeNode is a worker node in Kubernetes.RuntimeClassRuntimeClass defines a class of container runtime supported in the cluster.ServiceCIDRServiceCIDR defines a range of IP addresses using CIDR format (e.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/",
    "id": "k8s_00247_qa_4760"
  },
  {
    "question": "How does Cluster Resources work?",
    "answer": "Cluster ResourcesAPIServiceAPIService represents a server for a particular GroupVersion.ComponentStatusComponentStatus (and ComponentStatusList) holds the cluster validation info.EventEvent is a report of an event somewhere in the cluster.IPAddressIPAddress represents a single IP of a single IP Family.LeaseLease defines a lease concept.LeaseCandidate v1beta1LeaseCandidate defines a candidate for a Lease object.NamespaceNamespace provides a scope for Names.NodeNode is a worker node in Kubernetes.RuntimeClassRuntimeClass defines a class of container runtime supported in the cluster.ServiceCIDRServiceCIDR defines a range of IP addresses using CIDR format (e.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/",
    "id": "k8s_00247_qa_4761"
  },
  {
    "question": "When would you use Cluster Resources?",
    "answer": "Cluster ResourcesAPIServiceAPIService represents a server for a particular GroupVersion.ComponentStatusComponentStatus (and ComponentStatusList) holds the cluster validation info.EventEvent is a report of an event somewhere in the cluster.IPAddressIPAddress represents a single IP of a single IP Family.LeaseLease defines a lease concept.LeaseCandidate v1beta1LeaseCandidate defines a candidate for a Lease object.NamespaceNamespace provides a scope for Names.NodeNode is a worker node in Kubernetes.RuntimeClassRuntimeClass defines a class of container runtime supported in the cluster.ServiceCIDRServiceCIDR defines a range of IP addresses using CIDR format (e.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/",
    "id": "k8s_00247_qa_4762"
  },
  {
    "question": "What are the benefits of Cluster Resources?",
    "answer": "Cluster ResourcesAPIServiceAPIService represents a server for a particular GroupVersion.ComponentStatusComponentStatus (and ComponentStatusList) holds the cluster validation info.EventEvent is a report of an event somewhere in the cluster.IPAddressIPAddress represents a single IP of a single IP Family.LeaseLease defines a lease concept.LeaseCandidate v1beta1LeaseCandidate defines a candidate for a Lease object.NamespaceNamespace provides a scope for Names.NodeNode is a worker node in Kubernetes.RuntimeClassRuntimeClass defines a class of container runtime supported in the cluster.ServiceCIDRServiceCIDR defines a range of IP addresses using CIDR format (e.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/",
    "id": "k8s_00247_qa_4763"
  },
  {
    "question": "What is APIService?",
    "answer": "A P I S e r v i c e   r e p r e s e n t s   a   s e r v e r   f o r   a   p a r t i c u l a r   G r o u p V e r s i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/",
    "id": "k8s_00247_section_5_4764"
  },
  {
    "question": "What is ComponentStatus?",
    "answer": "C o m p o n e n t S t a t u s   ( a n d   C o m p o n e n t S t a t u s L i s t )   h o l d s   t h e   c l u s t e r   v a l i d a t i o n   i n f o .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/",
    "id": "k8s_00247_section_5_4765"
  },
  {
    "question": "What is Event?",
    "answer": "E v e n t   i s   a   r e p o r t   o f   a n   e v e n t   s o m e w h e r e   i n   t h e   c l u s t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/",
    "id": "k8s_00247_section_5_4766"
  },
  {
    "question": "What is IPAddress?",
    "answer": "I P A d d r e s s   r e p r e s e n t s   a   s i n g l e   I P   o f   a   s i n g l e   I P   F a m i l y .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/",
    "id": "k8s_00247_section_5_4767"
  },
  {
    "question": "What is Lease?",
    "answer": "L e a s e   d e f i n e s   a   l e a s e   c o n c e p t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/",
    "id": "k8s_00247_section_5_4768"
  },
  {
    "question": "What is LeaseCandidate v1beta1?",
    "answer": "L e a s e C a n d i d a t e   d e f i n e s   a   c a n d i d a t e   f o r   a   L e a s e   o b j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/",
    "id": "k8s_00247_section_5_4769"
  },
  {
    "question": "What is Namespace?",
    "answer": "N a m e s p a c e   p r o v i d e s   a   s c o p e   f o r   N a m e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/",
    "id": "k8s_00247_section_5_4770"
  },
  {
    "question": "What is Node?",
    "answer": "N o d e   i s   a   w o r k e r   n o d e   i n   K u b e r n e t e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/",
    "id": "k8s_00247_section_5_4771"
  },
  {
    "question": "What is RuntimeClass?",
    "answer": "R u n t i m e C l a s s   d e f i n e s   a   c l a s s   o f   c o n t a i n e r   r u n t i m e   s u p p o r t e d   i n   t h e   c l u s t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/",
    "id": "k8s_00247_section_5_4772"
  },
  {
    "question": "What is ServiceCIDR?",
    "answer": "S e r v i c e C I D R   d e f i n e s   a   r a n g e   o f   I P   a d d r e s s e s   u s i n g   C I D R   f o r m a t   ( e .   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/",
    "id": "k8s_00247_section_5_4773"
  },
  {
    "question": "What is kubectl diff?",
    "answer": "kubectl diffSynopsisDiff configurations specified by file name or stdin between the current online configuration, and the configuration as it would be if applied.The output is always YAML.KUBECTL_EXTERNAL_DIFF environment variable can be used to select your own diff command. Users can use external commands with params too, example: KUBECTL_EXTERNAL_DIFF=\"colordiff -N -u\"By default, the \"diff\" command available in your path will be run with the \"-u\" (unified diff) and \"-N\" (treat absent files as empty) options.Exit status: 0 No differences were found. 1 Differences were found. >1 Kubectl or diff failed with an error.Note: KUBECTL_EXTERNAL_DIFF, if used, is expected to follow that convention.kubectl diff -f FILENAME Examples # Diff resources included in pod.json kubectl diff -f pod.json # Diff file read from stdin cat service.yaml | kubectl diff -f - Options--concurrency int Default: 1Number of objects to process in parallel when diffing against the live version. Larger number = faster, but more memory, I/O and CPU over that shorter period of time.--field-manager string Default: \"kubectl-client-side-apply\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files contains the configuration to diff--force-conflictsIf true, server-side apply will force the changes against conflicts.-h, --helphelp for diff-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--pruneInclude resources that would be deleted by pruning. Can be used with -l and default shows all resources would be pruned--prune-allowlist stringsOverwrite the default allowlist with <group/version/kind> for --prune-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--server-sideIf true, apply runs in the server instead of the client.--show-managed-fieldsIf true, include managed fields in the diff.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_diff/",
    "id": "k8s_00248_qa_4774"
  },
  {
    "question": "How does kubectl diff work?",
    "answer": "kubectl diffSynopsisDiff configurations specified by file name or stdin between the current online configuration, and the configuration as it would be if applied.The output is always YAML.KUBECTL_EXTERNAL_DIFF environment variable can be used to select your own diff command. Users can use external commands with params too, example: KUBECTL_EXTERNAL_DIFF=\"colordiff -N -u\"By default, the \"diff\" command available in your path will be run with the \"-u\" (unified diff) and \"-N\" (treat absent files as empty) options.Exit status: 0 No differences were found. 1 Differences were found. >1 Kubectl or diff failed with an error.Note: KUBECTL_EXTERNAL_DIFF, if used, is expected to follow that convention.kubectl diff -f FILENAME Examples # Diff resources included in pod.json kubectl diff -f pod.json # Diff file read from stdin cat service.yaml | kubectl diff -f - Options--concurrency int Default: 1Number of objects to process in parallel when diffing against the live version. Larger number = faster, but more memory, I/O and CPU over that shorter period of time.--field-manager string Default: \"kubectl-client-side-apply\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files contains the configuration to diff--force-conflictsIf true, server-side apply will force the changes against conflicts.-h, --helphelp for diff-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--pruneInclude resources that would be deleted by pruning. Can be used with -l and default shows all resources would be pruned--prune-allowlist stringsOverwrite the default allowlist with <group/version/kind> for --prune-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--server-sideIf true, apply runs in the server instead of the client.--show-managed-fieldsIf true, include managed fields in the diff.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_diff/",
    "id": "k8s_00248_qa_4775"
  },
  {
    "question": "When would you use kubectl diff?",
    "answer": "kubectl diffSynopsisDiff configurations specified by file name or stdin between the current online configuration, and the configuration as it would be if applied.The output is always YAML.KUBECTL_EXTERNAL_DIFF environment variable can be used to select your own diff command. Users can use external commands with params too, example: KUBECTL_EXTERNAL_DIFF=\"colordiff -N -u\"By default, the \"diff\" command available in your path will be run with the \"-u\" (unified diff) and \"-N\" (treat absent files as empty) options.Exit status: 0 No differences were found. 1 Differences were found. >1 Kubectl or diff failed with an error.Note: KUBECTL_EXTERNAL_DIFF, if used, is expected to follow that convention.kubectl diff -f FILENAME Examples # Diff resources included in pod.json kubectl diff -f pod.json # Diff file read from stdin cat service.yaml | kubectl diff -f - Options--concurrency int Default: 1Number of objects to process in parallel when diffing against the live version. Larger number = faster, but more memory, I/O and CPU over that shorter period of time.--field-manager string Default: \"kubectl-client-side-apply\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files contains the configuration to diff--force-conflictsIf true, server-side apply will force the changes against conflicts.-h, --helphelp for diff-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--pruneInclude resources that would be deleted by pruning. Can be used with -l and default shows all resources would be pruned--prune-allowlist stringsOverwrite the default allowlist with <group/version/kind> for --prune-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--server-sideIf true, apply runs in the server instead of the client.--show-managed-fieldsIf true, include managed fields in the diff.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_diff/",
    "id": "k8s_00248_qa_4776"
  },
  {
    "question": "What are the benefits of kubectl diff?",
    "answer": "kubectl diffSynopsisDiff configurations specified by file name or stdin between the current online configuration, and the configuration as it would be if applied.The output is always YAML.KUBECTL_EXTERNAL_DIFF environment variable can be used to select your own diff command. Users can use external commands with params too, example: KUBECTL_EXTERNAL_DIFF=\"colordiff -N -u\"By default, the \"diff\" command available in your path will be run with the \"-u\" (unified diff) and \"-N\" (treat absent files as empty) options.Exit status: 0 No differences were found. 1 Differences were found. >1 Kubectl or diff failed with an error.Note: KUBECTL_EXTERNAL_DIFF, if used, is expected to follow that convention.kubectl diff -f FILENAME Examples # Diff resources included in pod.json kubectl diff -f pod.json # Diff file read from stdin cat service.yaml | kubectl diff -f - Options--concurrency int Default: 1Number of objects to process in parallel when diffing against the live version. Larger number = faster, but more memory, I/O and CPU over that shorter period of time.--field-manager string Default: \"kubectl-client-side-apply\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files contains the configuration to diff--force-conflictsIf true, server-side apply will force the changes against conflicts.-h, --helphelp for diff-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--pruneInclude resources that would be deleted by pruning. Can be used with -l and default shows all resources would be pruned--prune-allowlist stringsOverwrite the default allowlist with <group/version/kind> for --prune-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--server-sideIf true, apply runs in the server instead of the client.--show-managed-fieldsIf true, include managed fields in the diff.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_diff/",
    "id": "k8s_00248_qa_4777"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i f f   c o n f i g u r a t i o n s   s p e c i f i e d   b y   f i l e   n a m e   o r   s t d i n   b e t w e e n   t h e   c u r r e n t   o n l i n e   c o n f i g u r a t i o n ,   a n d   t h e   c o n f i g u r a t i o n   a s   i t   w o u l d   b e   i f   a p p l i e d .   T h e   o u t p u t   i s   a l w a y s   Y A M L .   K U B E C T L _ E X T E R N A L _ D I F F   e n v i r o n m e n t   v a r i a b l e   c a n   b e   u s e d   t o   s e l e c t   y o u r   o w n   d i f f   c o m m a n d .   U s e r s   c a n   u s e   e x t e r n a l   c o m m a n d s   w i t h   p a r a m s   t o o ,   e x a m p l e :   K U B E C T L _ E X T E R N A L _ D I F F = \" c o l o r d i f f   - N   - u \"   B y   d e f a u l t ,   t h e   \" d i f f \"   c o m m a n d   a v a i l a b l e   i n   y o u r   p a t h   w i l l   b e   r u n   w i t h   t h e   \" - u \"   ( u n i f i e d   d i f f )   a n d   \" - N \"   ( t r e a t   a b s e n t   f i l e s   a s   e m p t y )   o p t i o n s .   E x i t   s t a t u s :   0   N o   d i f f e r e n c e s   w e r e   f o u n d .   1   D i f f e r e n c e s   w e r e   f o u n d .   > 1   K u b e c t l   o r   d i f f   f a i l e d   w i t h   a n   e r r o r .   N o t e :   K U B E C T L _ E X T E R N A L _ D I F F ,   i f   u s e d ,   i s   e x p e c t e d   t o   f o l l o w   t h a t   c o n v e n t i o n .   k u b e c t l   d i f f   - f   F I L E N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_diff/",
    "id": "k8s_00248_section_2_4778"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D i f f   r e s o u r c e s   i n c l u d e d   i n   p o d . j s o n   k u b e c t l   d i f f   - f   p o d . j s o n   #   D i f f   f i l e   r e a d   f r o m   s t d i n   c a t   s e r v i c e . y a m l   |   k u b e c t l   d i f f   - f   -",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_diff/",
    "id": "k8s_00248_section_2_4779"
  },
  {
    "question": "What is Options?",
    "answer": "N u m b e r   o f   o b j e c t s   t o   p r o c e s s   i n   p a r a l l e l   w h e n   d i f f i n g   a g a i n s t   t h e   l i v e   v e r s i o n .   L a r g e r   n u m b e r   =   f a s t e r ,   b u t   m o r e   m e m o r y ,   I / O   a n d   C P U   o v e r   t h a t   s h o r t e r   p e r i o d   o f   t i m e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   c o n t a i n s   t h e   c o n f i g u r a t i o n   t o   d i f f   I f   t r u e ,   s e r v e r - s i d e   a p p l y   w i l l   f o r c e   t h e   c h a n g e s   a g a i n s t   c o n f l i c t s .   h e l p   f o r   d i f f   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   I n c l u d e   r e s o u r c e s   t h a t   w o u l d   b e   d e l e t e d   b y   p r u n i n g .   C a n   b e   u s e d   w i t h   - l   a n d   d e f a u l t   s h o w s   a l l   r e s o u r c e s   w o u l d   b e   p r u n e d   O v e r w r i t e   t h e   d e f a u l t   a l l o w l i s t   w i t h   < g r o u p / v e r s i o n / k i n d >   f o r   - - p r u n e   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   I f   t r u e ,   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_diff/",
    "id": "k8s_00248_section_2_4780"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_diff/",
    "id": "k8s_00248_section_2_4781"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_diff/",
    "id": "k8s_00248_section_2_4782"
  },
  {
    "question": "What is Proxies in Kubernetes?",
    "answer": "Proxies in KubernetesThis page explains proxies used with Kubernetes.ProxiesThere are several different proxies you may encounter when using Kubernetes:The kubectl proxy:runs on a user's desktop or in a podproxies from a localhost address to the Kubernetes apiserverclient to proxy uses HTTPproxy to apiserver uses HTTPSlocates apiserveradds authentication headersThe apiserver proxy:is a bastion built into the apiserverconnects a user outside of the cluster to cluster IPs which otherwise might not be reachableruns in the apiserver processesclient to proxy uses HTTPS (or http if apiserver so configured)proxy to target may use HTTP or HTTPS as chosen by proxy using available informationcan be used to reach a Node, Pod, or Servicedoes load balancing when used to reach a ServiceThe kube proxy:runs on each nodeproxies UDP, TCP and SCTPdoes not understand HTTPprovides load balancingis only used to reach servicesA Proxy/Load-balancer in front of apiserver(s):existence and implementation varies from cluster to cluster (e.g. nginx)sits between all clients and one or more apiserversacts as load balancer if there are several apiservers.Cloud Load Balancers on external services:are provided by some cloud providers (e.g. AWS ELB, Google Cloud Load Balancer)are created automatically when the Kubernetes service has type LoadBalancerusually supports UDP/TCP onlySCTP support is up to the load balancer implementation of the cloud providerimplementation varies by cloud provider.Kubernetes users will typically not need to worry about anything other than the first two types. The cluster admin will typically ensure that the latter types are set up correctly.Requesting redirectsProxies have replaced redirect capabilities. Redirects have been deprecated.",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/proxies/",
    "id": "k8s_00249_qa_4783"
  },
  {
    "question": "How does Proxies in Kubernetes work?",
    "answer": "Proxies in KubernetesThis page explains proxies used with Kubernetes.ProxiesThere are several different proxies you may encounter when using Kubernetes:The kubectl proxy:runs on a user's desktop or in a podproxies from a localhost address to the Kubernetes apiserverclient to proxy uses HTTPproxy to apiserver uses HTTPSlocates apiserveradds authentication headersThe apiserver proxy:is a bastion built into the apiserverconnects a user outside of the cluster to cluster IPs which otherwise might not be reachableruns in the apiserver processesclient to proxy uses HTTPS (or http if apiserver so configured)proxy to target may use HTTP or HTTPS as chosen by proxy using available informationcan be used to reach a Node, Pod, or Servicedoes load balancing when used to reach a ServiceThe kube proxy:runs on each nodeproxies UDP, TCP and SCTPdoes not understand HTTPprovides load balancingis only used to reach servicesA Proxy/Load-balancer in front of apiserver(s):existence and implementation varies from cluster to cluster (e.g. nginx)sits between all clients and one or more apiserversacts as load balancer if there are several apiservers.Cloud Load Balancers on external services:are provided by some cloud providers (e.g. AWS ELB, Google Cloud Load Balancer)are created automatically when the Kubernetes service has type LoadBalancerusually supports UDP/TCP onlySCTP support is up to the load balancer implementation of the cloud providerimplementation varies by cloud provider.Kubernetes users will typically not need to worry about anything other than the first two types. The cluster admin will typically ensure that the latter types are set up correctly.Requesting redirectsProxies have replaced redirect capabilities. Redirects have been deprecated.",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/proxies/",
    "id": "k8s_00249_qa_4784"
  },
  {
    "question": "When would you use Proxies in Kubernetes?",
    "answer": "Proxies in KubernetesThis page explains proxies used with Kubernetes.ProxiesThere are several different proxies you may encounter when using Kubernetes:The kubectl proxy:runs on a user's desktop or in a podproxies from a localhost address to the Kubernetes apiserverclient to proxy uses HTTPproxy to apiserver uses HTTPSlocates apiserveradds authentication headersThe apiserver proxy:is a bastion built into the apiserverconnects a user outside of the cluster to cluster IPs which otherwise might not be reachableruns in the apiserver processesclient to proxy uses HTTPS (or http if apiserver so configured)proxy to target may use HTTP or HTTPS as chosen by proxy using available informationcan be used to reach a Node, Pod, or Servicedoes load balancing when used to reach a ServiceThe kube proxy:runs on each nodeproxies UDP, TCP and SCTPdoes not understand HTTPprovides load balancingis only used to reach servicesA Proxy/Load-balancer in front of apiserver(s):existence and implementation varies from cluster to cluster (e.g. nginx)sits between all clients and one or more apiserversacts as load balancer if there are several apiservers.Cloud Load Balancers on external services:are provided by some cloud providers (e.g. AWS ELB, Google Cloud Load Balancer)are created automatically when the Kubernetes service has type LoadBalancerusually supports UDP/TCP onlySCTP support is up to the load balancer implementation of the cloud providerimplementation varies by cloud provider.Kubernetes users will typically not need to worry about anything other than the first two types. The cluster admin will typically ensure that the latter types are set up correctly.Requesting redirectsProxies have replaced redirect capabilities. Redirects have been deprecated.",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/proxies/",
    "id": "k8s_00249_qa_4785"
  },
  {
    "question": "What are the benefits of Proxies in Kubernetes?",
    "answer": "Proxies in KubernetesThis page explains proxies used with Kubernetes.ProxiesThere are several different proxies you may encounter when using Kubernetes:The kubectl proxy:runs on a user's desktop or in a podproxies from a localhost address to the Kubernetes apiserverclient to proxy uses HTTPproxy to apiserver uses HTTPSlocates apiserveradds authentication headersThe apiserver proxy:is a bastion built into the apiserverconnects a user outside of the cluster to cluster IPs which otherwise might not be reachableruns in the apiserver processesclient to proxy uses HTTPS (or http if apiserver so configured)proxy to target may use HTTP or HTTPS as chosen by proxy using available informationcan be used to reach a Node, Pod, or Servicedoes load balancing when used to reach a ServiceThe kube proxy:runs on each nodeproxies UDP, TCP and SCTPdoes not understand HTTPprovides load balancingis only used to reach servicesA Proxy/Load-balancer in front of apiserver(s):existence and implementation varies from cluster to cluster (e.g. nginx)sits between all clients and one or more apiserversacts as load balancer if there are several apiservers.Cloud Load Balancers on external services:are provided by some cloud providers (e.g. AWS ELB, Google Cloud Load Balancer)are created automatically when the Kubernetes service has type LoadBalancerusually supports UDP/TCP onlySCTP support is up to the load balancer implementation of the cloud providerimplementation varies by cloud provider.Kubernetes users will typically not need to worry about anything other than the first two types. The cluster admin will typically ensure that the latter types are set up correctly.Requesting redirectsProxies have replaced redirect capabilities. Redirects have been deprecated.",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/proxies/",
    "id": "k8s_00249_qa_4786"
  },
  {
    "question": "What is Proxies in Kubernetes?",
    "answer": "T h i s   p a g e   e x p l a i n s   p r o x i e s   u s e d   w i t h   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/proxies/",
    "id": "k8s_00249_section_1_4787"
  },
  {
    "question": "What is Proxies?",
    "answer": "T h e r e   a r e   s e v e r a l   d i f f e r e n t   p r o x i e s   y o u   m a y   e n c o u n t e r   w h e n   u s i n g   K u b e r n e t e s :   T h e   k u b e c t l   p r o x y : r u n s   o n   a   u s e r ' s   d e s k t o p   o r   i n   a   p o d p r o x i e s   f r o m   a   l o c a l h o s t   a d d r e s s   t o   t h e   K u b e r n e t e s   a p i s e r v e r c l i e n t   t o   p r o x y   u s e s   H T T P p r o x y   t o   a p i s e r v e r   u s e s   H T T P S l o c a t e s   a p i s e r v e r a d d s   a u t h e n t i c a t i o n   h e a d e r s T h e   a p i s e r v e r   p r o x y : i s   a   b a s t i o n   b u i l t   i n t o   t h e   a p i s e r v e r c o n n e c t s   a   u s e r   o u t s i d e   o f   t h e   c l u s t e r   t o   c l u s t e r   I P s   w h i c h   o t h e r w i s e   m i g h t   n o t   b e   r e a c h a b l e r u n s   i n   t h e   a p i s e r v e r   p r o c e s s e s c l i e n t   t o   p r o x y   u s e s   H T T P S   ( o r   h t t p   i f   a p i s e r v e r   s o   c o n f i g u r e d ) p r o x y   t o   t a r g e t   m a y   u s e   H T T P   o r   H T T P S   a s   c h o s e n   b y   p r o x y   u s i n g   a v a i l a b l e   i n f o r m a t i o n c a n   b e   u s e d   t o   r e a c h   a   N o d e ,   P o d ,   o r   S e r v i c e d o e s   l o a d   b a l a n c i n g   w h e n   u s e d   t o   r e a c h   a   S e r v i c e T h e   k u b e   p r o x y : r u n s   o n   e a c h   n o d e p r o x i e s   U D P ,   T C P   a n d   S C T P d o e s   n o t   u n d e r s t a n d   H T T P p r o v i d e s   l o a d   b a l a n c i n g i s   o n l y   u s e d   t o   r e a c h   s e r v i c e s A   P r o x y / L o a d - b a l a n c e r   i n   f r o n t   o f   a p i s e r v e r ( s ) : e x i s t e n c e   a n d   i m p l e m e n t a t i o n   v a r i e s   f r o m   c l u s t e r   t o   c l u s t e r   ( e . g .   n g i n x ) s i t s   b e t w e e n   a l l   c l i e n t s   a n d   o n e   o r   m o r ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/proxies/",
    "id": "k8s_00249_section_2_4788"
  },
  {
    "question": "What is Requesting redirects?",
    "answer": "P r o x i e s   h a v e   r e p l a c e d   r e d i r e c t   c a p a b i l i t i e s .   R e d i r e c t s   h a v e   b e e n   d e p r e c a t e d .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/proxies/",
    "id": "k8s_00249_section_2_4789"
  },
  {
    "question": "What is ResourceFieldSelector?",
    "answer": "ResourceFieldSelectorResourceFieldSelector represents container resources (cpu, memory) and their output format.import \"k8s.io/api/core/v1\"ResourceFieldSelector represents container resources (cpu, memory) and their output formatresource (string), requiredRequired: resource to selectcontainerName (string)Container name: required for volumes, optional for env varsdivisor (Quantity)Specifies the output format of the exposed resources, defaults to \"1\"This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/resource-field-selector/",
    "id": "k8s_00250_qa_4790"
  },
  {
    "question": "How does ResourceFieldSelector work?",
    "answer": "ResourceFieldSelectorResourceFieldSelector represents container resources (cpu, memory) and their output format.import \"k8s.io/api/core/v1\"ResourceFieldSelector represents container resources (cpu, memory) and their output formatresource (string), requiredRequired: resource to selectcontainerName (string)Container name: required for volumes, optional for env varsdivisor (Quantity)Specifies the output format of the exposed resources, defaults to \"1\"This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/resource-field-selector/",
    "id": "k8s_00250_qa_4791"
  },
  {
    "question": "When would you use ResourceFieldSelector?",
    "answer": "ResourceFieldSelectorResourceFieldSelector represents container resources (cpu, memory) and their output format.import \"k8s.io/api/core/v1\"ResourceFieldSelector represents container resources (cpu, memory) and their output formatresource (string), requiredRequired: resource to selectcontainerName (string)Container name: required for volumes, optional for env varsdivisor (Quantity)Specifies the output format of the exposed resources, defaults to \"1\"This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/resource-field-selector/",
    "id": "k8s_00250_qa_4792"
  },
  {
    "question": "What are the benefits of ResourceFieldSelector?",
    "answer": "ResourceFieldSelectorResourceFieldSelector represents container resources (cpu, memory) and their output format.import \"k8s.io/api/core/v1\"ResourceFieldSelector represents container resources (cpu, memory) and their output formatresource (string), requiredRequired: resource to selectcontainerName (string)Container name: required for volumes, optional for env varsdivisor (Quantity)Specifies the output format of the exposed resources, defaults to \"1\"This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/resource-field-selector/",
    "id": "k8s_00250_qa_4793"
  },
  {
    "question": "What is ResourceFieldSelector?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"   R e s o u r c e F i e l d S e l e c t o r   r e p r e s e n t s   c o n t a i n e r   r e s o u r c e s   ( c p u ,   m e m o r y )   a n d   t h e i r   o u t p u t   f o r m a t   r e s o u r c e   ( s t r i n g ) ,   r e q u i r e d R e q u i r e d :   r e s o u r c e   t o   s e l e c t c o n t a i n e r N a m e   ( s t r i n g ) C o n t a i n e r   n a m e :   r e q u i r e d   f o r   v o l u m e s ,   o p t i o n a l   f o r   e n v   v a r s d i v i s o r   ( Q u a n t i t y ) S p e c i f i e s   t h e   o u t p u t   f o r m a t   o f   t h e   e x p o s e d   r e s o u r c e s ,   d e f a u l t s   t o   \" 1 \"   r e s o u r c e   ( s t r i n g ) ,   r e q u i r e d   R e q u i r e d :   r e s o u r c e   t o   s e l e c t   c o n t a i n e r N a m e   ( s t r i n g )   C o n t a i n e r   n a m e :   r e q u i r e d   f o r   v o l u m e s ,   o p t i o n a l   f o r   e n v   v a r s   d i v i s o r   ( Q u a n t i t y )   S p e c i f i e s   t h e   o u t p u t   f o r m a t   o f   t h e   e x p o s e d   r e s o u r c e s ,   d e f a u l t s   t o   \" 1 \"   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/resource-field-selector/",
    "id": "k8s_00250_section_1_4794"
  },
  {
    "question": "What is Scheduling, Preemption and Eviction?",
    "answer": "Scheduling, Preemption and EvictionIn Kubernetes, scheduling refers to making sure that Pods are matched to Nodes so that the kubelet can run them. Preemption is the process of terminating Pods with lower Priority so that Pods with higher Priority can schedule on Nodes. Eviction is the process of terminating one or more Pods on Nodes.SchedulingKubernetes SchedulerAssigning Pods to NodesPod OverheadPod Topology Spread ConstraintsTaints and TolerationsScheduling FrameworkDynamic Resource AllocationScheduler Performance TuningResource Bin Packing for Extended ResourcesPod Scheduling ReadinessDeschedulerPod DisruptionPod disruption is the process by which Pods on Nodes are terminated either voluntarily or involuntarily.Voluntary disruptions are started intentionally by application owners or cluster administrators. Involuntary disruptions are unintentional and can be triggered by unavoidable issues like Nodes running out of resources, or by accidental deletions.Pod Priority and PreemptionNode-pressure EvictionAPI-initiated Eviction",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/",
    "id": "k8s_00251_qa_4795"
  },
  {
    "question": "How does Scheduling, Preemption and Eviction work?",
    "answer": "Scheduling, Preemption and EvictionIn Kubernetes, scheduling refers to making sure that Pods are matched to Nodes so that the kubelet can run them. Preemption is the process of terminating Pods with lower Priority so that Pods with higher Priority can schedule on Nodes. Eviction is the process of terminating one or more Pods on Nodes.SchedulingKubernetes SchedulerAssigning Pods to NodesPod OverheadPod Topology Spread ConstraintsTaints and TolerationsScheduling FrameworkDynamic Resource AllocationScheduler Performance TuningResource Bin Packing for Extended ResourcesPod Scheduling ReadinessDeschedulerPod DisruptionPod disruption is the process by which Pods on Nodes are terminated either voluntarily or involuntarily.Voluntary disruptions are started intentionally by application owners or cluster administrators. Involuntary disruptions are unintentional and can be triggered by unavoidable issues like Nodes running out of resources, or by accidental deletions.Pod Priority and PreemptionNode-pressure EvictionAPI-initiated Eviction",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/",
    "id": "k8s_00251_qa_4796"
  },
  {
    "question": "When would you use Scheduling, Preemption and Eviction?",
    "answer": "Scheduling, Preemption and EvictionIn Kubernetes, scheduling refers to making sure that Pods are matched to Nodes so that the kubelet can run them. Preemption is the process of terminating Pods with lower Priority so that Pods with higher Priority can schedule on Nodes. Eviction is the process of terminating one or more Pods on Nodes.SchedulingKubernetes SchedulerAssigning Pods to NodesPod OverheadPod Topology Spread ConstraintsTaints and TolerationsScheduling FrameworkDynamic Resource AllocationScheduler Performance TuningResource Bin Packing for Extended ResourcesPod Scheduling ReadinessDeschedulerPod DisruptionPod disruption is the process by which Pods on Nodes are terminated either voluntarily or involuntarily.Voluntary disruptions are started intentionally by application owners or cluster administrators. Involuntary disruptions are unintentional and can be triggered by unavoidable issues like Nodes running out of resources, or by accidental deletions.Pod Priority and PreemptionNode-pressure EvictionAPI-initiated Eviction",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/",
    "id": "k8s_00251_qa_4797"
  },
  {
    "question": "What are the benefits of Scheduling, Preemption and Eviction?",
    "answer": "Scheduling, Preemption and EvictionIn Kubernetes, scheduling refers to making sure that Pods are matched to Nodes so that the kubelet can run them. Preemption is the process of terminating Pods with lower Priority so that Pods with higher Priority can schedule on Nodes. Eviction is the process of terminating one or more Pods on Nodes.SchedulingKubernetes SchedulerAssigning Pods to NodesPod OverheadPod Topology Spread ConstraintsTaints and TolerationsScheduling FrameworkDynamic Resource AllocationScheduler Performance TuningResource Bin Packing for Extended ResourcesPod Scheduling ReadinessDeschedulerPod DisruptionPod disruption is the process by which Pods on Nodes are terminated either voluntarily or involuntarily.Voluntary disruptions are started intentionally by application owners or cluster administrators. Involuntary disruptions are unintentional and can be triggered by unavoidable issues like Nodes running out of resources, or by accidental deletions.Pod Priority and PreemptionNode-pressure EvictionAPI-initiated Eviction",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/",
    "id": "k8s_00251_qa_4798"
  },
  {
    "question": "What is Scheduling, Preemption and Eviction?",
    "answer": "I n   K u b e r n e t e s ,   s c h e d u l i n g   r e f e r s   t o   m a k i n g   s u r e   t h a t   P o d s   a r e   m a t c h e d   t o   N o d e s   s o   t h a t   t h e   k u b e l e t   c a n   r u n   t h e m .   P r e e m p t i o n   i s   t h e   p r o c e s s   o f   t e r m i n a t i n g   P o d s   w i t h   l o w e r   P r i o r i t y   s o   t h a t   P o d s   w i t h   h i g h e r   P r i o r i t y   c a n   s c h e d u l e   o n   N o d e s .   E v i c t i o n   i s   t h e   p r o c e s s   o f   t e r m i n a t i n g   o n e   o r   m o r e   P o d s   o n   N o d e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/",
    "id": "k8s_00251_section_1_4799"
  },
  {
    "question": "What is Scheduling?",
    "answer": "K u b e r n e t e s   S c h e d u l e r A s s i g n i n g   P o d s   t o   N o d e s P o d   O v e r h e a d P o d   T o p o l o g y   S p r e a d   C o n s t r a i n t s T a i n t s   a n d   T o l e r a t i o n s S c h e d u l i n g   F r a m e w o r k D y n a m i c   R e s o u r c e   A l l o c a t i o n S c h e d u l e r   P e r f o r m a n c e   T u n i n g R e s o u r c e   B i n   P a c k i n g   f o r   E x t e n d e d   R e s o u r c e s P o d   S c h e d u l i n g   R e a d i n e s s D e s c h e d u l e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/",
    "id": "k8s_00251_section_2_4800"
  },
  {
    "question": "What is Pod Disruption?",
    "answer": "P o d   d i s r u p t i o n   i s   t h e   p r o c e s s   b y   w h i c h   P o d s   o n   N o d e s   a r e   t e r m i n a t e d   e i t h e r   v o l u n t a r i l y   o r   i n v o l u n t a r i l y .   V o l u n t a r y   d i s r u p t i o n s   a r e   s t a r t e d   i n t e n t i o n a l l y   b y   a p p l i c a t i o n   o w n e r s   o r   c l u s t e r   a d m i n i s t r a t o r s .   I n v o l u n t a r y   d i s r u p t i o n s   a r e   u n i n t e n t i o n a l   a n d   c a n   b e   t r i g g e r e d   b y   u n a v o i d a b l e   i s s u e s   l i k e   N o d e s   r u n n i n g   o u t   o f   r e s o u r c e s ,   o r   b y   a c c i d e n t a l   d e l e t i o n s .   P o d   P r i o r i t y   a n d   P r e e m p t i o n N o d e - p r e s s u r e   E v i c t i o n A P I - i n i t i a t e d   E v i c t i o n",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/",
    "id": "k8s_00251_section_2_4801"
  },
  {
    "question": "What is RuntimeClass?",
    "answer": "RuntimeClassRuntimeClass defines a class of container runtime supported in the cluster.apiVersion: node.k8s.io/v1import \"k8s.io/api/node/v1\"RuntimeClassRuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/apiVersion: node.k8s.io/v1kind: RuntimeClassmetadata (ObjectMeta)More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatahandler (string), requiredhandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.overhead (Overhead)overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/Overhead structure represents the resource overhead associated with running a pod.overhead.podFixed (map[string]Quantity)podFixed represents the fixed resource overhead associated with running a pod.scheduling (Scheduling)scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.scheduling.nodeSelector (map[string]string)nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission.scheduling.tolerations ([]Toleration)Atomic: will be replaced during a mergetolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator .scheduling.tolerations.key (string)Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator mus",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_qa_4802"
  },
  {
    "question": "How does RuntimeClass work?",
    "answer": "RuntimeClassRuntimeClass defines a class of container runtime supported in the cluster.apiVersion: node.k8s.io/v1import \"k8s.io/api/node/v1\"RuntimeClassRuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/apiVersion: node.k8s.io/v1kind: RuntimeClassmetadata (ObjectMeta)More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatahandler (string), requiredhandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.overhead (Overhead)overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/Overhead structure represents the resource overhead associated with running a pod.overhead.podFixed (map[string]Quantity)podFixed represents the fixed resource overhead associated with running a pod.scheduling (Scheduling)scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.scheduling.nodeSelector (map[string]string)nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission.scheduling.tolerations ([]Toleration)Atomic: will be replaced during a mergetolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator .scheduling.tolerations.key (string)Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator mus",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_qa_4803"
  },
  {
    "question": "When would you use RuntimeClass?",
    "answer": "RuntimeClassRuntimeClass defines a class of container runtime supported in the cluster.apiVersion: node.k8s.io/v1import \"k8s.io/api/node/v1\"RuntimeClassRuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/apiVersion: node.k8s.io/v1kind: RuntimeClassmetadata (ObjectMeta)More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatahandler (string), requiredhandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.overhead (Overhead)overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/Overhead structure represents the resource overhead associated with running a pod.overhead.podFixed (map[string]Quantity)podFixed represents the fixed resource overhead associated with running a pod.scheduling (Scheduling)scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.scheduling.nodeSelector (map[string]string)nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission.scheduling.tolerations ([]Toleration)Atomic: will be replaced during a mergetolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator .scheduling.tolerations.key (string)Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator mus",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_qa_4804"
  },
  {
    "question": "What are the benefits of RuntimeClass?",
    "answer": "RuntimeClassRuntimeClass defines a class of container runtime supported in the cluster.apiVersion: node.k8s.io/v1import \"k8s.io/api/node/v1\"RuntimeClassRuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/apiVersion: node.k8s.io/v1kind: RuntimeClassmetadata (ObjectMeta)More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatahandler (string), requiredhandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.overhead (Overhead)overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/Overhead structure represents the resource overhead associated with running a pod.overhead.podFixed (map[string]Quantity)podFixed represents the fixed resource overhead associated with running a pod.scheduling (Scheduling)scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.scheduling.nodeSelector (map[string]string)nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission.scheduling.tolerations ([]Toleration)Atomic: will be replaced during a mergetolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator .scheduling.tolerations.key (string)Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator mus",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_qa_4805"
  },
  {
    "question": "What is RuntimeClass?",
    "answer": "a p i V e r s i o n :   n o d e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / n o d e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_section_1_4806"
  },
  {
    "question": "What is RuntimeClass?",
    "answer": "R u n t i m e C l a s s   d e f i n e s   a   c l a s s   o f   c o n t a i n e r   r u n t i m e   s u p p o r t e d   i n   t h e   c l u s t e r .   T h e   R u n t i m e C l a s s   i s   u s e d   t o   d e t e r m i n e   w h i c h   c o n t a i n e r   r u n t i m e   i s   u s e d   t o   r u n   a l l   c o n t a i n e r s   i n   a   p o d .   R u n t i m e C l a s s e s   a r e   m a n u a l l y   d e f i n e d   b y   a   u s e r   o r   c l u s t e r   p r o v i s i o n e r ,   a n d   r e f e r e n c e d   i n   t h e   P o d S p e c .   T h e   K u b e l e t   i s   r e s p o n s i b l e   f o r   r e s o l v i n g   t h e   R u n t i m e C l a s s N a m e   r e f e r e n c e   b e f o r e   r u n n i n g   t h e   p o d .   F o r   m o r e   d e t a i l s ,   s e e   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / r u n t i m e - c l a s s /   a p i V e r s i o n :   n o d e . k 8 s . i o / v 1 k i n d :   R u n t i m e C l a s s m e t a d a t a   ( O b j e c t M e t a ) M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a h a n d l e r   ( s t r i n g ) ,   r e q u i r e d h a n d l e r   s p e c i f i e s   t h e   u n d e r l y i n g   r u n t i m e   a n d   c o n f i g u r a t i o n   t h a t   t h e   C R I   i m p l e m e n t a t i o n   w i l l   u s e   t o   h a n d l e   p o d s   o f   t h i s   c l a s s .   T h e   p o s s i b l e   v a l u e s   a r e   s p e c i f i c   t o   t h e   n o d e   &   C R I   c o n f i g u r a t i o n .   I t   i s   a s s u m e d   t h a t   a l l   h a n d l e r s   a r e   a v a i l a b l e   o n   e v e r y   n o d e ,   a n d   h a n d l e r s   o f   t h e   s a m e   n a m e   a r e   e q u i v a l e n t   o n   e v e r y   n o d e .   F o r   e x a m p l e ,   a   h a n d l e r   c a l l e d   \" r u n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_section_2_4807"
  },
  {
    "question": "What is RuntimeClassList?",
    "answer": "R u n t i m e C l a s s L i s t   i s   a   l i s t   o f   R u n t i m e C l a s s   o b j e c t s .   a p i V e r s i o n :   n o d e . k 8 s . i o / v 1 k i n d :   R u n t i m e C l a s s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] R u n t i m e C l a s s ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .   a p i V e r s i o n :   n o d e . k 8 s . i o / v 1   k i n d :   R u n t i m e C l a s s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] R u n t i m e C l a s s ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_section_2_4808"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_section_4_4809"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R u n t i m e C l a s s p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R u n t i m e C l a s s   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_section_4_4810"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R u n t i m e C l a s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_section_4_4811"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_section_4_4812"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_section_4_4813"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R u n t i m e C l a s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_section_4_4814"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_section_4_4815"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   R u n t i m e C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   R u n t i m e C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_section_4_4816"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R u n t i m e C l a s s ) :   O K   2 0 1   ( R u n t i m e C l a s s ) :   C r e a t e d   2 0 2   ( R u n t i m e C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_section_4_4817"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_section_4_4818"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R u n t i m e C l a s s b o d y :   R u n t i m e C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R u n t i m e C l a s s   b o d y :   R u n t i m e C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_section_4_4819"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R u n t i m e C l a s s ) :   O K   2 0 1   ( R u n t i m e C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_section_4_4820"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_section_4_4821"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R u n t i m e C l a s s b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R u n t i m e C l a s s   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_section_4_4822"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R u n t i m e C l a s s ) :   O K   2 0 1   ( R u n t i m e C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_section_4_4823"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_section_4_4824"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R u n t i m e C l a s s b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R u n t i m e C l a s s   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_section_4_4825"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_section_4_4826"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_section_4_4827"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_section_4_4828"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/runtime-class-v1/",
    "id": "k8s_00252_section_4_4829"
  },
  {
    "question": "What is kubectl create service?",
    "answer": "kubectl create serviceSynopsisCreate a service using a specified subcommand.kubectl create service [flags] Options-h, --helphelp for serviceParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=raw prints version information and quits; --version=vX.Y",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service/",
    "id": "k8s_00253_qa_4830"
  },
  {
    "question": "How does kubectl create service work?",
    "answer": "kubectl create serviceSynopsisCreate a service using a specified subcommand.kubectl create service [flags] Options-h, --helphelp for serviceParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=raw prints version information and quits; --version=vX.Y",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service/",
    "id": "k8s_00253_qa_4831"
  },
  {
    "question": "When would you use kubectl create service?",
    "answer": "kubectl create serviceSynopsisCreate a service using a specified subcommand.kubectl create service [flags] Options-h, --helphelp for serviceParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=raw prints version information and quits; --version=vX.Y",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service/",
    "id": "k8s_00253_qa_4832"
  },
  {
    "question": "What are the benefits of kubectl create service?",
    "answer": "kubectl create serviceSynopsisCreate a service using a specified subcommand.kubectl create service [flags] Options-h, --helphelp for serviceParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=raw prints version information and quits; --version=vX.Y",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service/",
    "id": "k8s_00253_qa_4833"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   s e r v i c e   u s i n g   a   s p e c i f i e d   s u b c o m m a n d .   k u b e c t l   c r e a t e   s e r v i c e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service/",
    "id": "k8s_00253_section_2_4834"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   s e r v i c e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service/",
    "id": "k8s_00253_section_2_4835"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service/",
    "id": "k8s_00253_section_2_4836"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   -   C r e a t e   a   C l u s t e r I P   s e r v i c e k u b e c t l   c r e a t e   s e r v i c e   e x t e r n a l n a m e   -   C r e a t e   a n   E x t e r n a l N a m e   s e r v i c e k u b e c t l   c r e a t e   s e r v i c e   l o a d b a l a n c e r   -   C r e a t e   a   L o a d B a l a n c e r   s e r v i c e k u b e c t l   c r e a t e   s e r v i c e   n o d e p o r t   -   C r e a t e   a   N o d e P o r t   s e r v i c e   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service/",
    "id": "k8s_00253_section_2_4837"
  },
  {
    "question": "What is Submitting articles to Kubernetes blogs?",
    "answer": "Submitting articles to Kubernetes blogsThere are two official Kubernetes blogs, and the CNCF has its own blog where you can cover Kubernetes too. For the main Kubernetes blog, we (the Kubernetes project) like to publish articles with different perspectives and special focuses, that have a link to Kubernetes.With only a few special case exceptions, we only publish content that hasn't been submitted or published anywhere else.Writing for the Kubernetes blog(s)As an author, you have three different routes towards publication.Recommended routeThe approach the Kubernetes project recommends is: pitch your article by contacting the blog team. You can do that via Kubernetes Slack (#sig-docs-blog). For articles that you want to publish to the contributor blog only, you can also pitch directly to SIG ContribEx comms.Unless there's a problem with your submission, the blog team / SIG ContribEx will pair you up with:a blog editoryour writing buddy (another blog author)When the team pairs you up with another author, the idea is that you both support each other by reviewing the other author's draft article. You don't need to be a subject matter expert; most of the people who read the article also won't be experts. We, the Kubernetes blog team, call the other author a writing buddy.The editor is there to help you along the journey from draft to publication. They will either be directly able to approve your article for publication, or can arrange for the approval to happen.Read authoring a blog article to learn more about the process.Starting with a pull requestThe second route to writing for our blogs is to start directly with a pull request in GitHub. The blog team actually don't recommend this; GitHub is quite useful for collaborating on code, but isn't an ideal fit for prose text.It's absolutely fine to open a placeholder pull request with just an empty commit, and then work elsewhere before returning to your placeholder PR.Similar to the recommended route, we'll try to pair you up with a writing buddy and a blog editor. They'll help you get the article ready for publication.Post-release blog article processThe third route is for blog articles about changes in Kubernetes relating to a release. Each time there is a release, the Release Comms team takes over the blog publication schedule. People adding features to a release, or who are planning other changes that the project needs to announce, can liaise with Release Comms to get their article planned, drafted, edited, and eventually published.Article schedulingFor the Kubernetes blog, the blog team usually schedules blog articles to publish on weekdays (Gregorian calendar, as used in the USA and other countries). When it's important to publish on a specific date that falls on a weekend, the blog team try to accommodate that.The section on authoring a blog article explains what to do:initially, don't specify a date for the articlehowever, do set the article as draft (put draft: true in the front matter)When the",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-submission/",
    "id": "k8s_00254_qa_4838"
  },
  {
    "question": "How does Submitting articles to Kubernetes blogs work?",
    "answer": "Submitting articles to Kubernetes blogsThere are two official Kubernetes blogs, and the CNCF has its own blog where you can cover Kubernetes too. For the main Kubernetes blog, we (the Kubernetes project) like to publish articles with different perspectives and special focuses, that have a link to Kubernetes.With only a few special case exceptions, we only publish content that hasn't been submitted or published anywhere else.Writing for the Kubernetes blog(s)As an author, you have three different routes towards publication.Recommended routeThe approach the Kubernetes project recommends is: pitch your article by contacting the blog team. You can do that via Kubernetes Slack (#sig-docs-blog). For articles that you want to publish to the contributor blog only, you can also pitch directly to SIG ContribEx comms.Unless there's a problem with your submission, the blog team / SIG ContribEx will pair you up with:a blog editoryour writing buddy (another blog author)When the team pairs you up with another author, the idea is that you both support each other by reviewing the other author's draft article. You don't need to be a subject matter expert; most of the people who read the article also won't be experts. We, the Kubernetes blog team, call the other author a writing buddy.The editor is there to help you along the journey from draft to publication. They will either be directly able to approve your article for publication, or can arrange for the approval to happen.Read authoring a blog article to learn more about the process.Starting with a pull requestThe second route to writing for our blogs is to start directly with a pull request in GitHub. The blog team actually don't recommend this; GitHub is quite useful for collaborating on code, but isn't an ideal fit for prose text.It's absolutely fine to open a placeholder pull request with just an empty commit, and then work elsewhere before returning to your placeholder PR.Similar to the recommended route, we'll try to pair you up with a writing buddy and a blog editor. They'll help you get the article ready for publication.Post-release blog article processThe third route is for blog articles about changes in Kubernetes relating to a release. Each time there is a release, the Release Comms team takes over the blog publication schedule. People adding features to a release, or who are planning other changes that the project needs to announce, can liaise with Release Comms to get their article planned, drafted, edited, and eventually published.Article schedulingFor the Kubernetes blog, the blog team usually schedules blog articles to publish on weekdays (Gregorian calendar, as used in the USA and other countries). When it's important to publish on a specific date that falls on a weekend, the blog team try to accommodate that.The section on authoring a blog article explains what to do:initially, don't specify a date for the articlehowever, do set the article as draft (put draft: true in the front matter)When the",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-submission/",
    "id": "k8s_00254_qa_4839"
  },
  {
    "question": "When would you use Submitting articles to Kubernetes blogs?",
    "answer": "Submitting articles to Kubernetes blogsThere are two official Kubernetes blogs, and the CNCF has its own blog where you can cover Kubernetes too. For the main Kubernetes blog, we (the Kubernetes project) like to publish articles with different perspectives and special focuses, that have a link to Kubernetes.With only a few special case exceptions, we only publish content that hasn't been submitted or published anywhere else.Writing for the Kubernetes blog(s)As an author, you have three different routes towards publication.Recommended routeThe approach the Kubernetes project recommends is: pitch your article by contacting the blog team. You can do that via Kubernetes Slack (#sig-docs-blog). For articles that you want to publish to the contributor blog only, you can also pitch directly to SIG ContribEx comms.Unless there's a problem with your submission, the blog team / SIG ContribEx will pair you up with:a blog editoryour writing buddy (another blog author)When the team pairs you up with another author, the idea is that you both support each other by reviewing the other author's draft article. You don't need to be a subject matter expert; most of the people who read the article also won't be experts. We, the Kubernetes blog team, call the other author a writing buddy.The editor is there to help you along the journey from draft to publication. They will either be directly able to approve your article for publication, or can arrange for the approval to happen.Read authoring a blog article to learn more about the process.Starting with a pull requestThe second route to writing for our blogs is to start directly with a pull request in GitHub. The blog team actually don't recommend this; GitHub is quite useful for collaborating on code, but isn't an ideal fit for prose text.It's absolutely fine to open a placeholder pull request with just an empty commit, and then work elsewhere before returning to your placeholder PR.Similar to the recommended route, we'll try to pair you up with a writing buddy and a blog editor. They'll help you get the article ready for publication.Post-release blog article processThe third route is for blog articles about changes in Kubernetes relating to a release. Each time there is a release, the Release Comms team takes over the blog publication schedule. People adding features to a release, or who are planning other changes that the project needs to announce, can liaise with Release Comms to get their article planned, drafted, edited, and eventually published.Article schedulingFor the Kubernetes blog, the blog team usually schedules blog articles to publish on weekdays (Gregorian calendar, as used in the USA and other countries). When it's important to publish on a specific date that falls on a weekend, the blog team try to accommodate that.The section on authoring a blog article explains what to do:initially, don't specify a date for the articlehowever, do set the article as draft (put draft: true in the front matter)When the",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-submission/",
    "id": "k8s_00254_qa_4840"
  },
  {
    "question": "What are the benefits of Submitting articles to Kubernetes blogs?",
    "answer": "Submitting articles to Kubernetes blogsThere are two official Kubernetes blogs, and the CNCF has its own blog where you can cover Kubernetes too. For the main Kubernetes blog, we (the Kubernetes project) like to publish articles with different perspectives and special focuses, that have a link to Kubernetes.With only a few special case exceptions, we only publish content that hasn't been submitted or published anywhere else.Writing for the Kubernetes blog(s)As an author, you have three different routes towards publication.Recommended routeThe approach the Kubernetes project recommends is: pitch your article by contacting the blog team. You can do that via Kubernetes Slack (#sig-docs-blog). For articles that you want to publish to the contributor blog only, you can also pitch directly to SIG ContribEx comms.Unless there's a problem with your submission, the blog team / SIG ContribEx will pair you up with:a blog editoryour writing buddy (another blog author)When the team pairs you up with another author, the idea is that you both support each other by reviewing the other author's draft article. You don't need to be a subject matter expert; most of the people who read the article also won't be experts. We, the Kubernetes blog team, call the other author a writing buddy.The editor is there to help you along the journey from draft to publication. They will either be directly able to approve your article for publication, or can arrange for the approval to happen.Read authoring a blog article to learn more about the process.Starting with a pull requestThe second route to writing for our blogs is to start directly with a pull request in GitHub. The blog team actually don't recommend this; GitHub is quite useful for collaborating on code, but isn't an ideal fit for prose text.It's absolutely fine to open a placeholder pull request with just an empty commit, and then work elsewhere before returning to your placeholder PR.Similar to the recommended route, we'll try to pair you up with a writing buddy and a blog editor. They'll help you get the article ready for publication.Post-release blog article processThe third route is for blog articles about changes in Kubernetes relating to a release. Each time there is a release, the Release Comms team takes over the blog publication schedule. People adding features to a release, or who are planning other changes that the project needs to announce, can liaise with Release Comms to get their article planned, drafted, edited, and eventually published.Article schedulingFor the Kubernetes blog, the blog team usually schedules blog articles to publish on weekdays (Gregorian calendar, as used in the USA and other countries). When it's important to publish on a specific date that falls on a weekend, the blog team try to accommodate that.The section on authoring a blog article explains what to do:initially, don't specify a date for the articlehowever, do set the article as draft (put draft: true in the front matter)When the",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-submission/",
    "id": "k8s_00254_qa_4841"
  },
  {
    "question": "What is Submitting articles to Kubernetes blogs?",
    "answer": "T h e r e   a r e   t w o   o f f i c i a l   K u b e r n e t e s   b l o g s ,   a n d   t h e   C N C F   h a s   i t s   o w n   b l o g   w h e r e   y o u   c a n   c o v e r   K u b e r n e t e s   t o o .   F o r   t h e   m a i n   K u b e r n e t e s   b l o g ,   w e   ( t h e   K u b e r n e t e s   p r o j e c t )   l i k e   t o   p u b l i s h   a r t i c l e s   w i t h   d i f f e r e n t   p e r s p e c t i v e s   a n d   s p e c i a l   f o c u s e s ,   t h a t   h a v e   a   l i n k   t o   K u b e r n e t e s .   W i t h   o n l y   a   f e w   s p e c i a l   c a s e   e x c e p t i o n s ,   w e   o n l y   p u b l i s h   c o n t e n t   t h a t   h a s n ' t   b e e n   s u b m i t t e d   o r   p u b l i s h e d   a n y w h e r e   e l s e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-submission/",
    "id": "k8s_00254_section_1_4842"
  },
  {
    "question": "What is Writing for the Kubernetes blog(s)?",
    "answer": "A s   a n   a u t h o r ,   y o u   h a v e   t h r e e   d i f f e r e n t   r o u t e s   t o w a r d s   p u b l i c a t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-submission/",
    "id": "k8s_00254_section_2_4843"
  },
  {
    "question": "What is Recommended route?",
    "answer": "T h e   a p p r o a c h   t h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   i s :   p i t c h   y o u r   a r t i c l e   b y   c o n t a c t i n g   t h e   b l o g   t e a m .   Y o u   c a n   d o   t h a t   v i a   K u b e r n e t e s   S l a c k   ( # s i g - d o c s - b l o g ) .   F o r   a r t i c l e s   t h a t   y o u   w a n t   t o   p u b l i s h   t o   t h e   c o n t r i b u t o r   b l o g   o n l y ,   y o u   c a n   a l s o   p i t c h   d i r e c t l y   t o   S I G   C o n t r i b E x   c o m m s .   U n l e s s   t h e r e ' s   a   p r o b l e m   w i t h   y o u r   s u b m i s s i o n ,   t h e   b l o g   t e a m   /   S I G   C o n t r i b E x   w i l l   p a i r   y o u   u p   w i t h :   a   b l o g   e d i t o r y o u r   w r i t i n g   b u d d y   ( a n o t h e r   b l o g   a u t h o r )   W h e n   t h e   t e a m   p a i r s   y o u   u p   w i t h   a n o t h e r   a u t h o r ,   t h e   i d e a   i s   t h a t   y o u   b o t h   s u p p o r t   e a c h   o t h e r   b y   r e v i e w i n g   t h e   o t h e r   a u t h o r ' s   d r a f t   a r t i c l e .   Y o u   d o n ' t   n e e d   t o   b e   a   s u b j e c t   m a t t e r   e x p e r t ;   m o s t   o f   t h e   p e o p l e   w h o   r e a d   t h e   a r t i c l e   a l s o   w o n ' t   b e   e x p e r t s .   W e ,   t h e   K u b e r n e t e s   b l o g   t e a m ,   c a l l   t h e   o t h e r   a u t h o r   a   w r i t i n g   b u d d y .   T h e   e d i t o r   i s   t h e r e   t o   h e l p   y o u   a l o n g   t h e   j o u r n e y   f r o m   d r a f t   t o   p u b l i c a t i o n .   T h e y   w i l l   e i t h e r   b e   d i r e c t l y   a b l e   t o   a p p r o v e   y o u r   a r t i c l e   f o r   p u b l i c a t i o n ,   o r   c a n   a r r a n g e   f o r   t h e   a p p r o v a l   t o   h a p p e n .   R e a d   a u t h o r i n g   a   b l o g   a r t i c l e   t o   l e a r n   m o r e   a b o u t   t h e   p r o c e ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-submission/",
    "id": "k8s_00254_section_3_4844"
  },
  {
    "question": "What is Starting with a pull request?",
    "answer": "T h e   s e c o n d   r o u t e   t o   w r i t i n g   f o r   o u r   b l o g s   i s   t o   s t a r t   d i r e c t l y   w i t h   a   p u l l   r e q u e s t   i n   G i t H u b .   T h e   b l o g   t e a m   a c t u a l l y   d o n ' t   r e c o m m e n d   t h i s ;   G i t H u b   i s   q u i t e   u s e f u l   f o r   c o l l a b o r a t i n g   o n   c o d e ,   b u t   i s n ' t   a n   i d e a l   f i t   f o r   p r o s e   t e x t .   I t ' s   a b s o l u t e l y   f i n e   t o   o p e n   a   p l a c e h o l d e r   p u l l   r e q u e s t   w i t h   j u s t   a n   e m p t y   c o m m i t ,   a n d   t h e n   w o r k   e l s e w h e r e   b e f o r e   r e t u r n i n g   t o   y o u r   p l a c e h o l d e r   P R .   S i m i l a r   t o   t h e   r e c o m m e n d e d   r o u t e ,   w e ' l l   t r y   t o   p a i r   y o u   u p   w i t h   a   w r i t i n g   b u d d y   a n d   a   b l o g   e d i t o r .   T h e y ' l l   h e l p   y o u   g e t   t h e   a r t i c l e   r e a d y   f o r   p u b l i c a t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-submission/",
    "id": "k8s_00254_section_3_4845"
  },
  {
    "question": "What is Post-release blog article process?",
    "answer": "T h e   t h i r d   r o u t e   i s   f o r   b l o g   a r t i c l e s   a b o u t   c h a n g e s   i n   K u b e r n e t e s   r e l a t i n g   t o   a   r e l e a s e .   E a c h   t i m e   t h e r e   i s   a   r e l e a s e ,   t h e   R e l e a s e   C o m m s   t e a m   t a k e s   o v e r   t h e   b l o g   p u b l i c a t i o n   s c h e d u l e .   P e o p l e   a d d i n g   f e a t u r e s   t o   a   r e l e a s e ,   o r   w h o   a r e   p l a n n i n g   o t h e r   c h a n g e s   t h a t   t h e   p r o j e c t   n e e d s   t o   a n n o u n c e ,   c a n   l i a i s e   w i t h   R e l e a s e   C o m m s   t o   g e t   t h e i r   a r t i c l e   p l a n n e d ,   d r a f t e d ,   e d i t e d ,   a n d   e v e n t u a l l y   p u b l i s h e d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-submission/",
    "id": "k8s_00254_section_3_4846"
  },
  {
    "question": "What is Article scheduling?",
    "answer": "F o r   t h e   K u b e r n e t e s   b l o g ,   t h e   b l o g   t e a m   u s u a l l y   s c h e d u l e s   b l o g   a r t i c l e s   t o   p u b l i s h   o n   w e e k d a y s   ( G r e g o r i a n   c a l e n d a r ,   a s   u s e d   i n   t h e   U S A   a n d   o t h e r   c o u n t r i e s ) .   W h e n   i t ' s   i m p o r t a n t   t o   p u b l i s h   o n   a   s p e c i f i c   d a t e   t h a t   f a l l s   o n   a   w e e k e n d ,   t h e   b l o g   t e a m   t r y   t o   a c c o m m o d a t e   t h a t .   T h e   s e c t i o n   o n   a u t h o r i n g   a   b l o g   a r t i c l e   e x p l a i n s   w h a t   t o   d o :   i n i t i a l l y ,   d o n ' t   s p e c i f y   a   d a t e   f o r   t h e   a r t i c l e h o w e v e r ,   d o   s e t   t h e   a r t i c l e   a s   d r a f t   ( p u t   d r a f t :   t r u e   i n   t h e   f r o n t   m a t t e r )   W h e n   t h e   P r o w   b o t   m e r g e s   t h e   P R   y o u   w r i t e ,   i t   w i l l   b e   a   d r a f t   a n d   w o n ' t   b e   s e t   t o   p u b l i s h .   A   K u b e r n e t e s   c o n t r i b u t o r   ( e i t h e r   y o u ,   y o u r   w r i t i n g   b u d d y   o r   s o m e o n e   f r o m   t h e   b l o g   t e a m )   t h e n   o p e n s   a   s m a l l   f o l l o w - u p   P R   t h a t   m a r k s   i t   f o r   p u b l i c a t i o n .   M e r g i n g   t h a t   s e c o n d   P R   r e l e a s e s   t h e   p r e v i o u s l y - d r a f t   a r t i c l e   s o   t h a t   i t   c a n   a u t o m a t i c a l l y   p u b l i s h .   O n   t h e   d a y   t h e   a r t i c l e   i s   s c h e d u l e d   t o   p u b l i s h ,   a u t o m a t i o n   t r i g g e r s   a   w e b s i t e   b u i l d   a n d   y o u r   a r t i c l e   b e c o m e s   v i s i b l e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-submission/",
    "id": "k8s_00254_section_2_4847"
  },
  {
    "question": "What is Authoring an article?",
    "answer": "A f t e r   y o u ' v e   p i t c h e d ,   w e ' l l   e n c o u r a g e   y o u   t o   u s e   e i t h e r   H a c k M D   ( a   w e b   M a r k d o w n   e d i t o r )   o r   a   G o o g l e   d o c ,   t o   s h a r e   a n   e d i t a b l e   v e r s i o n   o f   t h e   a r t i c l e   t e x t .   Y o u r   w r i t i n g   b u d d y   c a n   r e a d   y o u r   d r a f t   t e x t   a n d   t h e n   e i t h e r   d i r e c t l y   m a k e   s u g g e s t i o n s   o r   p r o v i d e   o t h e r",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-submission/",
    "id": "k8s_00254_section_2_4848"
  },
  {
    "question": "What is Initial administrative steps?",
    "answer": "Y o u   s h o u l d   s i g n   t h e   C L A   i f   y o u   h a v e   n o t   y e t   d o n e   s o .   I t   i s   b e s t   t o   m a k e   s u r e   y o u   s t a r t   t h i s   e a r l y   o n ;   i f   y o u   a r e   w r i t i n g   a s   p a r t   o f   y o u r   j o b ,   y o u   m a y   n e e d   t o   c h e c k   w i t h   t h e   w o r k p l a c e   l e g a l   t e a m   o r   w i t h   y o u r   m a n a g e r ,   t o   m a k e   s u r e   t h a t   y o u   a r e   a l l o w e d   t o   s i g n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-submission/",
    "id": "k8s_00254_section_3_4849"
  },
  {
    "question": "What is Initial drafting?",
    "answer": "T h e   b l o g   t e a m   r e c o m m e n d s   t h a t   y o u   e i t h e r   u s e   H a c k M D   ( a   w e b   M a r k d o w n   e d i t o r )   o r   a   G o o g l e   d o c ,   t o   p r e p a r e   a n d   s h a r e   a n   i n i t i a l ,   l i v e - e d i t a b l e   v e r s i o n   o f   t h e   a r t i c l e   t e x t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-submission/",
    "id": "k8s_00254_section_3_4850"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u r   w r i t i n g   b u d d y   c a n   p r o v i d e   c o m m e n t s   a n d   /   o r",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-submission/",
    "id": "k8s_00254_section_4_4851"
  },
  {
    "question": "What is Markdown for publication?",
    "answer": "H a v e   a   l o o k   a t   t h e   M a r k d o w n   f o r m a t   f o r   e x i s t i n g   b l o g   p o s t s   i n   t h e   w e b s i t e   r e p o s i t o r y   i n   G i t H u b .   I f   y o u ' r e   n o t   a l r e a d y   f a m i l i a r ,   r e a d   c o n t r i b u t i n g   b a s i c s .   T h i s   s e c t i o n   o f   t h e   p a g e   a s s u m e s   t h a t   y o u   d o n ' t   h a v e   a   l o c a l   c l o n e   o f   y o u r   f o r k   a n d   t h a t   y o u   a r e   w o r k i n g   w i t h i n   t h e   G i t H u b   w e b   U I .   Y o u   d o   n e e d   t o   m a k e   a   r e m o t e   f o r k   o f   t h e   w e b s i t e   r e p o s i t o r y   i f   y o u   h a v e n ' t   a l r e a d y   d o n e   s o .   I n   t h e   G i t H u b   r e p o s i t o r y ,   c l i c k   t h e   C r e a t e   n e w   f i l e   b u t t o n .   C o p y   y o u r   e x i s t i n g   c o n t e n t   f r o m   H a c k M D   o r   G o o g l e   D o c s ,   t h e n   p a s t e   i t   i n t o   t h e   e d i t o r .   T h e r e   a r e   m o r e   d e t a i l s   l a t e r   i n   t h e   s e c t i o n   a b o u t   w h a t   g o e s   i n t o   t h a t   f i l e .   N a m e   t h e   f i l e   t o   m a t c h   t h e   p r o p o s e d   t i t l e   o f   t h e   b l o g   p o s t ,   b u t   d o n ’ t   p u t   t h e   d a t e   i n   t h e   f i l e   n a m e .   T h e   b l o g   r e v i e w e r s   w i l l   w o r k   w i t h   y o u   t o   s e t   t h e   f i n a l   f i l e   n a m e   a n d   t h e   d a t e   w h e n   t h e   a r t i c l e   w i l l   b e   p u b l i s h e d .   W h e n   y o u   s a v e   t h e   f i l e ,   G i t H u b   w i l l   w a l k   y o u   t h r o u g h   t h e   p u l l   r e q u e s t   p r o c e s s . Y o u r   w r i t i n g   b u d d y   c a n   r e v i e w   y o u r   s u b m i s s i o n   a n d   w o r k   w i t h   y o u   o n",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-submission/",
    "id": "k8s_00254_section_3_4852"
  },
  {
    "question": "What is Front matter?",
    "answer": "T h e   M a r k d o w n   f i l e   y o u   w r i t e   s h o u l d   u s e   Y A M L - f o r m a t   H u g o   f r o n t   m a t t e r .   H e r e ' s   a n   e x a m p l e :   - - -   l a y o u t :   b l o g   t i t l e :   \" Y o u r   T i t l e   H e r e \"   d r a f t :   t r u e   #   w i l l   b e   c h a n g e d   t o   d a t e :   Y Y Y Y - M M - D D   b e f o r e   p u b l i c a t i o n   s l u g :   l o w e r c a s e - t e x t - f o r - l i n k - g o e s - h e r e - n o - s p a c e s   #   o p t i o n a l   a u t h o r :   >   A u t h o r - 1   ( A f f i l i a t i o n ) ,   A u t h o r - 2   ( A f f i l i a t i o n ) ,   A u t h o r - 3   ( A f f i l i a t i o n )   - - -   i n i t i a l l y ,   d o n ' t   s p e c i f y   a   d a t e   f o r   t h e   a r t i c l e h o w e v e r ,   d o   s e t   t h e   a r t i c l e   a s   d r a f t   ( p u t   d r a f t :   t r u e   i n   t h e   a r t i c l e   f r o n t   m a t t e r )",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-submission/",
    "id": "k8s_00254_section_4_4853"
  },
  {
    "question": "What is Article content?",
    "answer": "M a k e   s u r e   t o   u s e   s e c o n d - l e v e l   M a r k d o w n   h e a d i n g s   ( # #   n o t   # )   a s   t h e   t o p m o s t   h e a d i n g   l e v e l   i n   t h e   a r t i c l e .   T h e   t i t l e   y o u   s e t   i n   t h e   f r o n t   m a t t e r   b e c o m e s   t h e   f i r s t - l e v e l   h e a d i n g   f o r   t h a t   p a g e .   Y o u   s h o u l d   f o l l o w   t h e   s t y l e   g u i d e ,   b u t   w i t h   t h e   f o l l o w i n g   e x c e p t i o n s :   w e   a r e   O K   t o   h a v e   a u t h o r s   w r i t e   a n   a r t i c l e   i n   t h e i r   o w n   w r i t i n g   s t y l e ,   s o   l o n g   a s   m o s t   r e a d e r s   w o u l d   f o l l o w   t h e   p o i n t   b e i n g   m a d e i t   i s   O K   t o   u s e   “ w e “   i n   a   b l o g   a r t i c l e   t h a t   h a s   m u l t i p l e   a u t h o r s ,   o r   w h e r e   t h e   a r t i c l e   i n t r o d u c t i o n   c l e a r l y   i n d i c a t e s   t h a t   t h e   a u t h o r   i s   w r i t i n g   o n   b e h a l f   o f   a   s p e c i f i c   g r o u p .   A s   y o u ' l l   n o t i c e   f r o m   t h i s   s e c t i o n ,   a l t h o u g h   w e   a v o i d   u s i n g   “ w e ”   i n   o u r   d o c u m e n t a t i o n ,   i t ' s   O K   t o   m a k e   j u s t i f i a b l e   e x c e p t i o n s . w e   a v o i d   u s i n g   K u b e r n e t e s   s h o r t c o d e s   f o r   c a l l o u t s   ( s u c h   a s   { { <   c a u t i o n   > } } ) .   T h i s   i s   b e c a u s e   c a l l o u t s   a r e   a i m e d   a t   d o c u m e n t a t i o n   r e a d e r s ,   a n d   b l o g   a r t i c l e s   a r e n ' t   d o c u m e n t a t i o n . s t a t e m e n t s   a b o u t   t h e   f u t u r e   a r e   O K ,   a l b e i t   w e   u s e   t h e m   w i t h   c a r e   i n   o f f i c i a l   a n n o u n c e m e n t s   o n   b e h a l f   o f   K u b e r n e t e s c o d e   s a m p l e s   u s e d   i n ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-submission/",
    "id": "k8s_00254_section_4_4854"
  },
  {
    "question": "What is Diagrams and illustrations?",
    "answer": "F o r   i l l u s t r a t i o n s ,   d i a g r a m s   o r   c h a r t s ,   u s e   t h e   f i g u r e   s h o r t c o d e   c a n   b e   u s e d   w h e r e   f e a s i b l e .   Y o u   s h o u l d   s e t   a n   a l t   a t t r i b u t e   f o r   a c c e s s i b i l i t y .   F o r   i l l u s t r a t i o n s   a n d   t e c h n i c a l   d i a g r a m s ,   t r y   t o   u s e   v e c t o r   g r a p h i c s .   T h e   b l o g   t e a m   r e c o m m e n d   S V G   o v e r   r a s t e r   ( b i t m a p   /   p i x e l )   d i a g r a m   f o r m a t s ,   a n d   a l s o   r e c o m m e n d   S V G   r a t h e r   t h a n   M e r m a i d   ( y o u   c a n   s t i l l   c a p t u r e   t h e   M e r m a i d   s o u r c e   i n   a   c o m m e n t ) .   T h e   p r e f e r e n c e   f o r   S V G   o v e r   M e r m a i d   i s   b e c a u s e   w h e n   m a i n t a i n e r s   u p g r a d e   M e r m a i d   o r   m a k e   c h a n g e s   t o   d i a g r a m   r e n d e r i n g ,   t h e y   m a y   n o t   h a v e   a n   e a s y   w a y   t o   c o n t a c t   t h e   o r i g i n a l   b l o g   a r t i c l e   a u t h o r   t o   c h e c k   t h a t   t h e   c h a n g e s   a r e   O K .   T h e   d i a g r a m   g u i d e   i s   a i m e d   a t   K u b e r n e t e s   d o c u m e n t a t i o n ,   n o t   b l o g   a r t i c l e s .   I t   i s   s t i l l   g o o d   t o   a l i g n   w i t h   i t   b u t :   t h e r e   i s   n o   n e e d   t o   c a p t i o n   d i a g r a m s   a s   F i g u r e   1 ,   F i g u r e   2 ,   e t c .   T h e   r e q u i r e m e n t   f o r   s c a l a b l e   ( v e c t o r )   i m a n g e s   m a k e s   t h e   p r o c e s s   m o r e   d i f f i c u l t   f o r   l e s s - f a m i l i a r   f o l k s   t o   s u b m i t   a r t i c l e s ;   K u b e r n e t e s   S I G   D o c s   c o n t i n u e s   t o   l o o k   f o r   w a y s   t o   l o w e r   t h i s   b a r .   I f   y o u   h a v e   i d e a s   o ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-submission/",
    "id": "k8s_00254_section_4_4855"
  },
  {
    "question": "What is Commit messages?",
    "answer": "A t   t h e   p o i n t   y o u   m a r k   y o u r   p u l l   r e q u e s t   r e a d y   f o r   r e v i e w ,   e a c h   c o m m i t   m e s s a g e   s h o u l d   b e   a   s h o r t   s u m m a r y   o f   t h e   w o r k   b e i n g   d o n e .   T h e   f i r s t   c o m m i t   m e s s a g e   s h o u l d   m a k e   s e n s e   a s   a n   o v e r a l l   d e s c r i p t i o n   o f   t h e   b l o g   p o s t .   E x a m p l e s   o f   a   g o o d   c o m m i t   m e s s a g e :   A d d   b l o g   p o s t   o n   t h e   f o o   k u b e r n e t e s   f e a t u r e b l o g :   f o o b a r   a n n o u n c e m e n t   E x a m p l e s   o f   b a d   c o m m i t   m e s s a g e s :   P l a c e h o l d e r   c o m m i t   f o r   a n n o u n c e m e n t   a b o u t   f o o A d d   b l o g   p o s t a s d f i n i t i a l   c o m m i t d r a f t   p o s t",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-submission/",
    "id": "k8s_00254_section_4_4856"
  },
  {
    "question": "What is Squashing?",
    "answer": "O n c e   y o u   t h i n k   t h e   a r t i c l e   i s   r e a d y   t o   m e r g e ,   y o u   s h o u l d   s q u a s h   t h e   c o m m i t s   i n   y o u r   p u l l   r e q u e s t ;   i f   y o u ' r e   n o t   s u r e   h o w   t o ,   i t ' s   O K   t o   a s k   t h e   b l o g   t e a m   f o r   h e l p .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-submission/",
    "id": "k8s_00254_section_4_4857"
  },
  {
    "question": "What is Container Runtime Interface (CRI)?",
    "answer": "Container Runtime Interface (CRI)The CRI is a plugin interface which enables the kubelet to use a wide variety of container runtimes, without having a need to recompile the cluster components.You need a working container runtime on each Node in your cluster, so that the kubelet can launch Pods and their containers.The Container Runtime Interface (CRI) is the main protocol for the communication between the kubelet and Container Runtime.The Kubernetes Container Runtime Interface (CRI) defines the main gRPC protocol for the communication between the node components kubelet and container runtime.The APIFEATURE STATE: Kubernetes v1.23 [stable]The kubelet acts as a client when connecting to the container runtime via gRPC. The runtime and image service endpoints have to be available in the container runtime, which can be configured separately within the kubelet by using the --container-runtime-endpoint command line flag.For Kubernetes v1.26 and later, the kubelet requires that the container runtime supports the v1 CRI API. If a container runtime does not support the v1 API, the kubelet will not register the node.UpgradingWhen upgrading the Kubernetes version on a node, the kubelet restarts. If the container runtime does not support the v1 CRI API, the kubelet will fail to register and report an error. If a gRPC re-dial is required because the container runtime has been upgraded, the runtime must support the v1 CRI API for the connection to succeed. This might require a restart of the kubelet after the container runtime is correctly configured.What's nextLearn more about the CRI protocol definition",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/architecture/cri/",
    "id": "k8s_00255_qa_4858"
  },
  {
    "question": "How does Container Runtime Interface (CRI) work?",
    "answer": "Container Runtime Interface (CRI)The CRI is a plugin interface which enables the kubelet to use a wide variety of container runtimes, without having a need to recompile the cluster components.You need a working container runtime on each Node in your cluster, so that the kubelet can launch Pods and their containers.The Container Runtime Interface (CRI) is the main protocol for the communication between the kubelet and Container Runtime.The Kubernetes Container Runtime Interface (CRI) defines the main gRPC protocol for the communication between the node components kubelet and container runtime.The APIFEATURE STATE: Kubernetes v1.23 [stable]The kubelet acts as a client when connecting to the container runtime via gRPC. The runtime and image service endpoints have to be available in the container runtime, which can be configured separately within the kubelet by using the --container-runtime-endpoint command line flag.For Kubernetes v1.26 and later, the kubelet requires that the container runtime supports the v1 CRI API. If a container runtime does not support the v1 API, the kubelet will not register the node.UpgradingWhen upgrading the Kubernetes version on a node, the kubelet restarts. If the container runtime does not support the v1 CRI API, the kubelet will fail to register and report an error. If a gRPC re-dial is required because the container runtime has been upgraded, the runtime must support the v1 CRI API for the connection to succeed. This might require a restart of the kubelet after the container runtime is correctly configured.What's nextLearn more about the CRI protocol definition",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/architecture/cri/",
    "id": "k8s_00255_qa_4859"
  },
  {
    "question": "When would you use Container Runtime Interface (CRI)?",
    "answer": "Container Runtime Interface (CRI)The CRI is a plugin interface which enables the kubelet to use a wide variety of container runtimes, without having a need to recompile the cluster components.You need a working container runtime on each Node in your cluster, so that the kubelet can launch Pods and their containers.The Container Runtime Interface (CRI) is the main protocol for the communication between the kubelet and Container Runtime.The Kubernetes Container Runtime Interface (CRI) defines the main gRPC protocol for the communication between the node components kubelet and container runtime.The APIFEATURE STATE: Kubernetes v1.23 [stable]The kubelet acts as a client when connecting to the container runtime via gRPC. The runtime and image service endpoints have to be available in the container runtime, which can be configured separately within the kubelet by using the --container-runtime-endpoint command line flag.For Kubernetes v1.26 and later, the kubelet requires that the container runtime supports the v1 CRI API. If a container runtime does not support the v1 API, the kubelet will not register the node.UpgradingWhen upgrading the Kubernetes version on a node, the kubelet restarts. If the container runtime does not support the v1 CRI API, the kubelet will fail to register and report an error. If a gRPC re-dial is required because the container runtime has been upgraded, the runtime must support the v1 CRI API for the connection to succeed. This might require a restart of the kubelet after the container runtime is correctly configured.What's nextLearn more about the CRI protocol definition",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/architecture/cri/",
    "id": "k8s_00255_qa_4860"
  },
  {
    "question": "What are the benefits of Container Runtime Interface (CRI)?",
    "answer": "Container Runtime Interface (CRI)The CRI is a plugin interface which enables the kubelet to use a wide variety of container runtimes, without having a need to recompile the cluster components.You need a working container runtime on each Node in your cluster, so that the kubelet can launch Pods and their containers.The Container Runtime Interface (CRI) is the main protocol for the communication between the kubelet and Container Runtime.The Kubernetes Container Runtime Interface (CRI) defines the main gRPC protocol for the communication between the node components kubelet and container runtime.The APIFEATURE STATE: Kubernetes v1.23 [stable]The kubelet acts as a client when connecting to the container runtime via gRPC. The runtime and image service endpoints have to be available in the container runtime, which can be configured separately within the kubelet by using the --container-runtime-endpoint command line flag.For Kubernetes v1.26 and later, the kubelet requires that the container runtime supports the v1 CRI API. If a container runtime does not support the v1 API, the kubelet will not register the node.UpgradingWhen upgrading the Kubernetes version on a node, the kubelet restarts. If the container runtime does not support the v1 CRI API, the kubelet will fail to register and report an error. If a gRPC re-dial is required because the container runtime has been upgraded, the runtime must support the v1 CRI API for the connection to succeed. This might require a restart of the kubelet after the container runtime is correctly configured.What's nextLearn more about the CRI protocol definition",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/architecture/cri/",
    "id": "k8s_00255_qa_4861"
  },
  {
    "question": "What is Container Runtime Interface (CRI)?",
    "answer": "T h e   C R I   i s   a   p l u g i n   i n t e r f a c e   w h i c h   e n a b l e s   t h e   k u b e l e t   t o   u s e   a   w i d e   v a r i e t y   o f   c o n t a i n e r   r u n t i m e s ,   w i t h o u t   h a v i n g   a   n e e d   t o   r e c o m p i l e   t h e   c l u s t e r   c o m p o n e n t s .   Y o u   n e e d   a   w o r k i n g   c o n t a i n e r   r u n t i m e   o n   e a c h   N o d e   i n   y o u r   c l u s t e r ,   s o   t h a t   t h e   k u b e l e t   c a n   l a u n c h   P o d s   a n d   t h e i r   c o n t a i n e r s .   T h e   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I )   i s   t h e   m a i n   p r o t o c o l   f o r   t h e   c o m m u n i c a t i o n   b e t w e e n   t h e   k u b e l e t   a n d   C o n t a i n e r   R u n t i m e .   T h e   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I )   i s   t h e   m a i n   p r o t o c o l   f o r   t h e   c o m m u n i c a t i o n   b e t w e e n   t h e   k u b e l e t   a n d   C o n t a i n e r   R u n t i m e .   T h e   K u b e r n e t e s   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I )   d e f i n e s   t h e   m a i n   g R P C   p r o t o c o l   f o r   t h e   c o m m u n i c a t i o n   b e t w e e n   t h e   n o d e   c o m p o n e n t s   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/architecture/cri/",
    "id": "k8s_00255_section_1_4862"
  },
  {
    "question": "What is The API?",
    "answer": "T h e   k u b e l e t   a c t s   a s   a   c l i e n t   w h e n   c o n n e c t i n g   t o   t h e   c o n t a i n e r   r u n t i m e   v i a   g R P C .   T h e   r u n t i m e   a n d   i m a g e   s e r v i c e   e n d p o i n t s   h a v e   t o   b e   a v a i l a b l e   i n   t h e   c o n t a i n e r   r u n t i m e ,   w h i c h   c a n   b e   c o n f i g u r e d   s e p a r a t e l y   w i t h i n   t h e   k u b e l e t   b y   u s i n g   t h e   - - c o n t a i n e r - r u n t i m e - e n d p o i n t   c o m m a n d   l i n e   f l a g .   F o r   K u b e r n e t e s   v 1 . 2 6   a n d   l a t e r ,   t h e   k u b e l e t   r e q u i r e s   t h a t   t h e   c o n t a i n e r   r u n t i m e   s u p p o r t s   t h e   v 1   C R I   A P I .   I f   a   c o n t a i n e r   r u n t i m e   d o e s   n o t   s u p p o r t   t h e   v 1   A P I ,   t h e   k u b e l e t   w i l l   n o t   r e g i s t e r   t h e   n o d e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/architecture/cri/",
    "id": "k8s_00255_section_2_4863"
  },
  {
    "question": "What is Upgrading?",
    "answer": "W h e n   u p g r a d i n g   t h e   K u b e r n e t e s   v e r s i o n   o n   a   n o d e ,   t h e   k u b e l e t   r e s t a r t s .   I f   t h e   c o n t a i n e r   r u n t i m e   d o e s   n o t   s u p p o r t   t h e   v 1   C R I   A P I ,   t h e   k u b e l e t   w i l l   f a i l   t o   r e g i s t e r   a n d   r e p o r t   a n   e r r o r .   I f   a   g R P C   r e - d i a l   i s   r e q u i r e d   b e c a u s e   t h e   c o n t a i n e r   r u n t i m e   h a s   b e e n   u p g r a d e d ,   t h e   r u n t i m e   m u s t   s u p p o r t   t h e   v 1   C R I   A P I   f o r   t h e   c o n n e c t i o n   t o   s u c c e e d .   T h i s   m i g h t   r e q u i r e   a   r e s t a r t   o f   t h e   k u b e l e t   a f t e r   t h e   c o n t a i n e r   r u n t i m e   i s   c o r r e c t l y   c o n f i g u r e d .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/architecture/cri/",
    "id": "k8s_00255_section_2_4864"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   t h e   C R I   p r o t o c o l   d e f i n i t i o n",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/architecture/cri/",
    "id": "k8s_00255_section_2_4865"
  },
  {
    "question": "What is IngressClass?",
    "answer": "IngressClassIngressClass represents the class of the Ingress, referenced by the Ingress Spec.apiVersion: networking.k8s.io/v1import \"k8s.io/api/networking/v1\"IngressClassIngressClass represents the class of the Ingress, referenced by the Ingress Spec. The ingressclass.kubernetes.io/is-default-class annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.apiVersion: networking.k8s.io/v1kind: IngressClassmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (IngressClassSpec)spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusIngressClassSpecIngressClassSpec provides information about the class of an Ingress.controller (string)controller refers to the name of the controller that should handle this class. This allows for different \"flavors\" that are controlled by the same controller. For example, you may have different parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. \"acme.io/ingress-controller\". This field is immutable.parameters (IngressClassParametersReference)parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters.IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.parameters.kind (string), requiredkind is the type of resource being referenced.parameters.name (string), requiredname is the name of resource being referenced.parameters.apiGroup (string)apiGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.parameters.namespace (string)namespace is the namespace of the resource being referenced. This field is required when scope is set to \"Namespace\" and must be unset when scope is set to \"Cluster\".parameters.scope (string)scope represents if this refers to a cluster or namespace scoped resource. This may be set to \"Cluster\" (default) or \"Namespace\".IngressClassListIngressClassList is a collection of IngressClasses.apiVersion: networking.k8s.io/v1kind: IngressClassListmetadata (ListMeta)Standard list metadata.items ([]IngressClass), requireditems is the list of IngressClasses.Operationsget read the specified IngressClassHTTP RequestGET /apis/networking.k8s.io/v1/ingressclasses/{name}Parametersname (in path): string, requiredname of the IngressClasspretty (in query): stringprettyResponse200 (IngressClass): OK401: Unauthorizedlist list or watch objects of kind ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_qa_4866"
  },
  {
    "question": "How does IngressClass work?",
    "answer": "IngressClassIngressClass represents the class of the Ingress, referenced by the Ingress Spec.apiVersion: networking.k8s.io/v1import \"k8s.io/api/networking/v1\"IngressClassIngressClass represents the class of the Ingress, referenced by the Ingress Spec. The ingressclass.kubernetes.io/is-default-class annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.apiVersion: networking.k8s.io/v1kind: IngressClassmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (IngressClassSpec)spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusIngressClassSpecIngressClassSpec provides information about the class of an Ingress.controller (string)controller refers to the name of the controller that should handle this class. This allows for different \"flavors\" that are controlled by the same controller. For example, you may have different parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. \"acme.io/ingress-controller\". This field is immutable.parameters (IngressClassParametersReference)parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters.IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.parameters.kind (string), requiredkind is the type of resource being referenced.parameters.name (string), requiredname is the name of resource being referenced.parameters.apiGroup (string)apiGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.parameters.namespace (string)namespace is the namespace of the resource being referenced. This field is required when scope is set to \"Namespace\" and must be unset when scope is set to \"Cluster\".parameters.scope (string)scope represents if this refers to a cluster or namespace scoped resource. This may be set to \"Cluster\" (default) or \"Namespace\".IngressClassListIngressClassList is a collection of IngressClasses.apiVersion: networking.k8s.io/v1kind: IngressClassListmetadata (ListMeta)Standard list metadata.items ([]IngressClass), requireditems is the list of IngressClasses.Operationsget read the specified IngressClassHTTP RequestGET /apis/networking.k8s.io/v1/ingressclasses/{name}Parametersname (in path): string, requiredname of the IngressClasspretty (in query): stringprettyResponse200 (IngressClass): OK401: Unauthorizedlist list or watch objects of kind ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_qa_4867"
  },
  {
    "question": "When would you use IngressClass?",
    "answer": "IngressClassIngressClass represents the class of the Ingress, referenced by the Ingress Spec.apiVersion: networking.k8s.io/v1import \"k8s.io/api/networking/v1\"IngressClassIngressClass represents the class of the Ingress, referenced by the Ingress Spec. The ingressclass.kubernetes.io/is-default-class annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.apiVersion: networking.k8s.io/v1kind: IngressClassmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (IngressClassSpec)spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusIngressClassSpecIngressClassSpec provides information about the class of an Ingress.controller (string)controller refers to the name of the controller that should handle this class. This allows for different \"flavors\" that are controlled by the same controller. For example, you may have different parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. \"acme.io/ingress-controller\". This field is immutable.parameters (IngressClassParametersReference)parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters.IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.parameters.kind (string), requiredkind is the type of resource being referenced.parameters.name (string), requiredname is the name of resource being referenced.parameters.apiGroup (string)apiGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.parameters.namespace (string)namespace is the namespace of the resource being referenced. This field is required when scope is set to \"Namespace\" and must be unset when scope is set to \"Cluster\".parameters.scope (string)scope represents if this refers to a cluster or namespace scoped resource. This may be set to \"Cluster\" (default) or \"Namespace\".IngressClassListIngressClassList is a collection of IngressClasses.apiVersion: networking.k8s.io/v1kind: IngressClassListmetadata (ListMeta)Standard list metadata.items ([]IngressClass), requireditems is the list of IngressClasses.Operationsget read the specified IngressClassHTTP RequestGET /apis/networking.k8s.io/v1/ingressclasses/{name}Parametersname (in path): string, requiredname of the IngressClasspretty (in query): stringprettyResponse200 (IngressClass): OK401: Unauthorizedlist list or watch objects of kind ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_qa_4868"
  },
  {
    "question": "What are the benefits of IngressClass?",
    "answer": "IngressClassIngressClass represents the class of the Ingress, referenced by the Ingress Spec.apiVersion: networking.k8s.io/v1import \"k8s.io/api/networking/v1\"IngressClassIngressClass represents the class of the Ingress, referenced by the Ingress Spec. The ingressclass.kubernetes.io/is-default-class annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.apiVersion: networking.k8s.io/v1kind: IngressClassmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (IngressClassSpec)spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusIngressClassSpecIngressClassSpec provides information about the class of an Ingress.controller (string)controller refers to the name of the controller that should handle this class. This allows for different \"flavors\" that are controlled by the same controller. For example, you may have different parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. \"acme.io/ingress-controller\". This field is immutable.parameters (IngressClassParametersReference)parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters.IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.parameters.kind (string), requiredkind is the type of resource being referenced.parameters.name (string), requiredname is the name of resource being referenced.parameters.apiGroup (string)apiGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.parameters.namespace (string)namespace is the namespace of the resource being referenced. This field is required when scope is set to \"Namespace\" and must be unset when scope is set to \"Cluster\".parameters.scope (string)scope represents if this refers to a cluster or namespace scoped resource. This may be set to \"Cluster\" (default) or \"Namespace\".IngressClassListIngressClassList is a collection of IngressClasses.apiVersion: networking.k8s.io/v1kind: IngressClassListmetadata (ListMeta)Standard list metadata.items ([]IngressClass), requireditems is the list of IngressClasses.Operationsget read the specified IngressClassHTTP RequestGET /apis/networking.k8s.io/v1/ingressclasses/{name}Parametersname (in path): string, requiredname of the IngressClasspretty (in query): stringprettyResponse200 (IngressClass): OK401: Unauthorizedlist list or watch objects of kind ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_qa_4869"
  },
  {
    "question": "What is IngressClass?",
    "answer": "a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / n e t w o r k i n g / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_section_1_4870"
  },
  {
    "question": "What is IngressClass?",
    "answer": "I n g r e s s C l a s s   r e p r e s e n t s   t h e   c l a s s   o f   t h e   I n g r e s s ,   r e f e r e n c e d   b y   t h e   I n g r e s s   S p e c .   T h e   i n g r e s s c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s   a n n o t a t i o n   c a n   b e   u s e d   t o   i n d i c a t e   t h a t   a n   I n g r e s s C l a s s   s h o u l d   b e   c o n s i d e r e d   d e f a u l t .   W h e n   a   s i n g l e   I n g r e s s C l a s s   r e s o u r c e   h a s   t h i s   a n n o t a t i o n   s e t   t o   t r u e ,   n e w   I n g r e s s   r e s o u r c e s   w i t h o u t   a   c l a s s   s p e c i f i e d   w i l l   b e   a s s i g n e d   t h i s   d e f a u l t   c l a s s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   I n g r e s s C l a s s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( I n g r e s s C l a s s S p e c ) s p e c   i s   t h e   d e s i r e d   s t a t e   o f   t h e   I n g r e s s C l a s s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s C l a s s   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( I n g r e s s C l a s s S p e c )   s p e c   i s   t h e   d e s i r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_section_2_4871"
  },
  {
    "question": "What is IngressClassSpec?",
    "answer": "I n g r e s s C l a s s S p e c   p r o v i d e s   i n f o r m a t i o n   a b o u t   t h e   c l a s s   o f   a n   I n g r e s s .   c o n t r o l l e r   ( s t r i n g ) c o n t r o l l e r   r e f e r s   t o   t h e   n a m e   o f   t h e   c o n t r o l l e r   t h a t   s h o u l d   h a n d l e   t h i s   c l a s s .   T h i s   a l l o w s   f o r   d i f f e r e n t   \" f l a v o r s \"   t h a t   a r e   c o n t r o l l e d   b y   t h e   s a m e   c o n t r o l l e r .   F o r   e x a m p l e ,   y o u   m a y   h a v e   d i f f e r e n t   p a r a m e t e r s   f o r   t h e   s a m e   i m p l e m e n t i n g   c o n t r o l l e r .   T h i s   s h o u l d   b e   s p e c i f i e d   a s   a   d o m a i n - p r e f i x e d   p a t h   n o   m o r e   t h a n   2 5 0   c h a r a c t e r s   i n   l e n g t h ,   e . g .   \" a c m e . i o / i n g r e s s - c o n t r o l l e r \" .   T h i s   f i e l d   i s   i m m u t a b l e . p a r a m e t e r s   ( I n g r e s s C l a s s P a r a m e t e r s R e f e r e n c e ) p a r a m e t e r s   i s   a   l i n k   t o   a   c u s t o m   r e s o u r c e   c o n t a i n i n g   a d d i t i o n a l   c o n f i g u r a t i o n   f o r   t h e   c o n t r o l l e r .   T h i s   i s   o p t i o n a l   i f   t h e   c o n t r o l l e r   d o e s   n o t   r e q u i r e   e x t r a   p a r a m e t e r s . I n g r e s s C l a s s P a r a m e t e r s R e f e r e n c e   i d e n t i f i e s   a n   A P I   o b j e c t .   T h i s   c a n   b e   u s e d   t o   s p e c i f y   a   c l u s t e r   o r   n a m e s p a c e - s c o p e d   r e s o u r c e . p a r a m e t e r s . k i n d   ( s t r i n g ) ,   r e q u i r e d k i n d   i s   t h e   t y p e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d . p a r a m e t e r s . n a m e   ( s t r i n g ) ,   r e q u i r e d n a m e   i s   t h e   n a m e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d . p a r a m e t e r s . a p i G r o u p   ( s t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_section_2_4872"
  },
  {
    "question": "What is IngressClassList?",
    "answer": "I n g r e s s C l a s s L i s t   i s   a   c o l l e c t i o n   o f   I n g r e s s C l a s s e s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   I n g r e s s C l a s s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a . i t e m s   ( [ ] I n g r e s s C l a s s ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   I n g r e s s C l a s s e s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s C l a s s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   i t e m s   ( [ ] I n g r e s s C l a s s ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   I n g r e s s C l a s s e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_section_2_4873"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_section_4_4874"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s C l a s s p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s C l a s s   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_section_4_4875"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s C l a s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_section_4_4876"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_section_4_4877"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_section_4_4878"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s C l a s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_section_4_4879"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_section_4_4880"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   I n g r e s s C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   I n g r e s s C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_section_4_4881"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s C l a s s ) :   O K   2 0 1   ( I n g r e s s C l a s s ) :   C r e a t e d   2 0 2   ( I n g r e s s C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_section_4_4882"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_section_4_4883"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s C l a s s b o d y :   I n g r e s s C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s C l a s s   b o d y :   I n g r e s s C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_section_4_4884"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s C l a s s ) :   O K   2 0 1   ( I n g r e s s C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_section_4_4885"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_section_4_4886"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s C l a s s b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s C l a s s   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_section_4_4887"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s C l a s s ) :   O K   2 0 1   ( I n g r e s s C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_section_4_4888"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_section_4_4889"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s C l a s s b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s C l a s s   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_section_4_4890"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_section_4_4891"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_section_4_4892"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_section_4_4893"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-class-v1/",
    "id": "k8s_00256_section_4_4894"
  },
  {
    "question": "What is kubeconfig (v1)?",
    "answer": "kubeconfig (v1)Resource TypesConfigConfigConfig holds the information needed to build connect to remote kubernetes clusters as a given userFieldDescriptionapiVersionstring/v1kindstringConfigkindstringLegacy field from pkg/api/types.go TypeMeta. TODO(jlowdermilk): remove this after eliminating downstream dependencies.apiVersionstringLegacy field from pkg/api/types.go TypeMeta. TODO(jlowdermilk): remove this after eliminating downstream dependencies.preferences [Required]PreferencesPreferences holds general information to be use for cli interactionsclusters [Required][]NamedClusterClusters is a map of referenceable names to cluster configsusers [Required][]NamedAuthInfoAuthInfos is a map of referenceable names to user configscontexts [Required][]NamedContextContexts is a map of referenceable names to context configscurrent-context [Required]stringCurrentContext is the name of the context that you would like to use by defaultextensions[]NamedExtensionExtensions holds additional information. This is useful for extenders so that reads and writes don't clobber unknown fieldsAuthInfoAppears in:NamedAuthInfoAuthInfo contains information that describes identity information. This is use to tell the kubernetes cluster who you are.FieldDescriptionclient-certificatestringClientCertificate is the path to a client cert file for TLS.client-certificate-data[]byteClientCertificateData contains PEM-encoded data from a client cert file for TLS. Overrides ClientCertificateclient-keystringClientKey is the path to a client key file for TLS.client-key-data[]byteClientKeyData contains PEM-encoded data from a client key file for TLS. Overrides ClientKeytokenstringToken is the bearer token for authentication to the kubernetes cluster.tokenFilestringTokenFile is a pointer to a file that contains a bearer token (as described above). If both Token and TokenFile are present, Token takes precedence.asstringImpersonate is the username to impersonate. The name matches the flag.as-uidstringImpersonateUID is the uid to impersonate.as-groups[]stringImpersonateGroups is the groups to impersonate.as-user-extramap[string][]stringImpersonateUserExtra contains additional information for impersonated user.usernamestringUsername is the username for basic authentication to the kubernetes cluster.passwordstringPassword is the password for basic authentication to the kubernetes cluster.auth-providerAuthProviderConfigAuthProvider specifies a custom authentication plugin for the kubernetes cluster.execExecConfigExec specifies a custom exec-based authentication plugin for the kubernetes cluster.extensions[]NamedExtensionExtensions holds additional information. This is useful for extenders so that reads and writes don't clobber unknown fieldsAuthProviderConfigAppears in:AuthInfoAuthProviderConfig holds the configuration for a specified auth provider.FieldDescriptionname [Required]stringNo description provided.config [Required]map[string]stringNo description provided.ClusterAppears in:NamedCluster",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeconfig.v1/",
    "id": "k8s_00257_qa_4895"
  },
  {
    "question": "How does kubeconfig (v1) work?",
    "answer": "kubeconfig (v1)Resource TypesConfigConfigConfig holds the information needed to build connect to remote kubernetes clusters as a given userFieldDescriptionapiVersionstring/v1kindstringConfigkindstringLegacy field from pkg/api/types.go TypeMeta. TODO(jlowdermilk): remove this after eliminating downstream dependencies.apiVersionstringLegacy field from pkg/api/types.go TypeMeta. TODO(jlowdermilk): remove this after eliminating downstream dependencies.preferences [Required]PreferencesPreferences holds general information to be use for cli interactionsclusters [Required][]NamedClusterClusters is a map of referenceable names to cluster configsusers [Required][]NamedAuthInfoAuthInfos is a map of referenceable names to user configscontexts [Required][]NamedContextContexts is a map of referenceable names to context configscurrent-context [Required]stringCurrentContext is the name of the context that you would like to use by defaultextensions[]NamedExtensionExtensions holds additional information. This is useful for extenders so that reads and writes don't clobber unknown fieldsAuthInfoAppears in:NamedAuthInfoAuthInfo contains information that describes identity information. This is use to tell the kubernetes cluster who you are.FieldDescriptionclient-certificatestringClientCertificate is the path to a client cert file for TLS.client-certificate-data[]byteClientCertificateData contains PEM-encoded data from a client cert file for TLS. Overrides ClientCertificateclient-keystringClientKey is the path to a client key file for TLS.client-key-data[]byteClientKeyData contains PEM-encoded data from a client key file for TLS. Overrides ClientKeytokenstringToken is the bearer token for authentication to the kubernetes cluster.tokenFilestringTokenFile is a pointer to a file that contains a bearer token (as described above). If both Token and TokenFile are present, Token takes precedence.asstringImpersonate is the username to impersonate. The name matches the flag.as-uidstringImpersonateUID is the uid to impersonate.as-groups[]stringImpersonateGroups is the groups to impersonate.as-user-extramap[string][]stringImpersonateUserExtra contains additional information for impersonated user.usernamestringUsername is the username for basic authentication to the kubernetes cluster.passwordstringPassword is the password for basic authentication to the kubernetes cluster.auth-providerAuthProviderConfigAuthProvider specifies a custom authentication plugin for the kubernetes cluster.execExecConfigExec specifies a custom exec-based authentication plugin for the kubernetes cluster.extensions[]NamedExtensionExtensions holds additional information. This is useful for extenders so that reads and writes don't clobber unknown fieldsAuthProviderConfigAppears in:AuthInfoAuthProviderConfig holds the configuration for a specified auth provider.FieldDescriptionname [Required]stringNo description provided.config [Required]map[string]stringNo description provided.ClusterAppears in:NamedCluster",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeconfig.v1/",
    "id": "k8s_00257_qa_4896"
  },
  {
    "question": "When would you use kubeconfig (v1)?",
    "answer": "kubeconfig (v1)Resource TypesConfigConfigConfig holds the information needed to build connect to remote kubernetes clusters as a given userFieldDescriptionapiVersionstring/v1kindstringConfigkindstringLegacy field from pkg/api/types.go TypeMeta. TODO(jlowdermilk): remove this after eliminating downstream dependencies.apiVersionstringLegacy field from pkg/api/types.go TypeMeta. TODO(jlowdermilk): remove this after eliminating downstream dependencies.preferences [Required]PreferencesPreferences holds general information to be use for cli interactionsclusters [Required][]NamedClusterClusters is a map of referenceable names to cluster configsusers [Required][]NamedAuthInfoAuthInfos is a map of referenceable names to user configscontexts [Required][]NamedContextContexts is a map of referenceable names to context configscurrent-context [Required]stringCurrentContext is the name of the context that you would like to use by defaultextensions[]NamedExtensionExtensions holds additional information. This is useful for extenders so that reads and writes don't clobber unknown fieldsAuthInfoAppears in:NamedAuthInfoAuthInfo contains information that describes identity information. This is use to tell the kubernetes cluster who you are.FieldDescriptionclient-certificatestringClientCertificate is the path to a client cert file for TLS.client-certificate-data[]byteClientCertificateData contains PEM-encoded data from a client cert file for TLS. Overrides ClientCertificateclient-keystringClientKey is the path to a client key file for TLS.client-key-data[]byteClientKeyData contains PEM-encoded data from a client key file for TLS. Overrides ClientKeytokenstringToken is the bearer token for authentication to the kubernetes cluster.tokenFilestringTokenFile is a pointer to a file that contains a bearer token (as described above). If both Token and TokenFile are present, Token takes precedence.asstringImpersonate is the username to impersonate. The name matches the flag.as-uidstringImpersonateUID is the uid to impersonate.as-groups[]stringImpersonateGroups is the groups to impersonate.as-user-extramap[string][]stringImpersonateUserExtra contains additional information for impersonated user.usernamestringUsername is the username for basic authentication to the kubernetes cluster.passwordstringPassword is the password for basic authentication to the kubernetes cluster.auth-providerAuthProviderConfigAuthProvider specifies a custom authentication plugin for the kubernetes cluster.execExecConfigExec specifies a custom exec-based authentication plugin for the kubernetes cluster.extensions[]NamedExtensionExtensions holds additional information. This is useful for extenders so that reads and writes don't clobber unknown fieldsAuthProviderConfigAppears in:AuthInfoAuthProviderConfig holds the configuration for a specified auth provider.FieldDescriptionname [Required]stringNo description provided.config [Required]map[string]stringNo description provided.ClusterAppears in:NamedCluster",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeconfig.v1/",
    "id": "k8s_00257_qa_4897"
  },
  {
    "question": "What are the benefits of kubeconfig (v1)?",
    "answer": "kubeconfig (v1)Resource TypesConfigConfigConfig holds the information needed to build connect to remote kubernetes clusters as a given userFieldDescriptionapiVersionstring/v1kindstringConfigkindstringLegacy field from pkg/api/types.go TypeMeta. TODO(jlowdermilk): remove this after eliminating downstream dependencies.apiVersionstringLegacy field from pkg/api/types.go TypeMeta. TODO(jlowdermilk): remove this after eliminating downstream dependencies.preferences [Required]PreferencesPreferences holds general information to be use for cli interactionsclusters [Required][]NamedClusterClusters is a map of referenceable names to cluster configsusers [Required][]NamedAuthInfoAuthInfos is a map of referenceable names to user configscontexts [Required][]NamedContextContexts is a map of referenceable names to context configscurrent-context [Required]stringCurrentContext is the name of the context that you would like to use by defaultextensions[]NamedExtensionExtensions holds additional information. This is useful for extenders so that reads and writes don't clobber unknown fieldsAuthInfoAppears in:NamedAuthInfoAuthInfo contains information that describes identity information. This is use to tell the kubernetes cluster who you are.FieldDescriptionclient-certificatestringClientCertificate is the path to a client cert file for TLS.client-certificate-data[]byteClientCertificateData contains PEM-encoded data from a client cert file for TLS. Overrides ClientCertificateclient-keystringClientKey is the path to a client key file for TLS.client-key-data[]byteClientKeyData contains PEM-encoded data from a client key file for TLS. Overrides ClientKeytokenstringToken is the bearer token for authentication to the kubernetes cluster.tokenFilestringTokenFile is a pointer to a file that contains a bearer token (as described above). If both Token and TokenFile are present, Token takes precedence.asstringImpersonate is the username to impersonate. The name matches the flag.as-uidstringImpersonateUID is the uid to impersonate.as-groups[]stringImpersonateGroups is the groups to impersonate.as-user-extramap[string][]stringImpersonateUserExtra contains additional information for impersonated user.usernamestringUsername is the username for basic authentication to the kubernetes cluster.passwordstringPassword is the password for basic authentication to the kubernetes cluster.auth-providerAuthProviderConfigAuthProvider specifies a custom authentication plugin for the kubernetes cluster.execExecConfigExec specifies a custom exec-based authentication plugin for the kubernetes cluster.extensions[]NamedExtensionExtensions holds additional information. This is useful for extenders so that reads and writes don't clobber unknown fieldsAuthProviderConfigAppears in:AuthInfoAuthProviderConfig holds the configuration for a specified auth provider.FieldDescriptionname [Required]stringNo description provided.config [Required]map[string]stringNo description provided.ClusterAppears in:NamedCluster",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeconfig.v1/",
    "id": "k8s_00257_qa_4898"
  },
  {
    "question": "What is Resource Types?",
    "answer": "C o n f i g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeconfig.v1/",
    "id": "k8s_00257_section_2_4899"
  },
  {
    "question": "What is Config?",
    "answer": "C o n f i g   h o l d s   t h e   i n f o r m a t i o n   n e e d e d   t o   b u i l d   c o n n e c t   t o   r e m o t e   k u b e r n e t e s   c l u s t e r s   a s   a   g i v e n   u s e r   L e g a c y   f i e l d   f r o m   p k g / a p i / t y p e s . g o   T y p e M e t a .   T O D O ( j l o w d e r m i l k ) :   r e m o v e   t h i s   a f t e r   e l i m i n a t i n g   d o w n s t r e a m   d e p e n d e n c i e s .   L e g a c y   f i e l d   f r o m   p k g / a p i / t y p e s . g o   T y p e M e t a .   T O D O ( j l o w d e r m i l k ) :   r e m o v e   t h i s   a f t e r   e l i m i n a t i n g   d o w n s t r e a m   d e p e n d e n c i e s .   P r e f e r e n c e s   h o l d s   g e n e r a l   i n f o r m a t i o n   t o   b e   u s e   f o r   c l i   i n t e r a c t i o n s   C l u s t e r s   i s   a   m a p   o f   r e f e r e n c e a b l e   n a m e s   t o   c l u s t e r   c o n f i g s   A u t h I n f o s   i s   a   m a p   o f   r e f e r e n c e a b l e   n a m e s   t o   u s e r   c o n f i g s   C o n t e x t s   i s   a   m a p   o f   r e f e r e n c e a b l e   n a m e s   t o   c o n t e x t   c o n f i g s   C u r r e n t C o n t e x t   i s   t h e   n a m e   o f   t h e   c o n t e x t   t h a t   y o u   w o u l d   l i k e   t o   u s e   b y   d e f a u l t   E x t e n s i o n s   h o l d s   a d d i t i o n a l   i n f o r m a t i o n .   T h i s   i s   u s e f u l   f o r   e x t e n d e r s   s o   t h a t   r e a d s   a n d   w r i t e s   d o n ' t   c l o b b e r   u n k n o w n   f i e l d s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeconfig.v1/",
    "id": "k8s_00257_section_2_4900"
  },
  {
    "question": "What is AuthInfo?",
    "answer": "A p p e a r s   i n :   N a m e d A u t h I n f o   A u t h I n f o   c o n t a i n s   i n f o r m a t i o n   t h a t   d e s c r i b e s   i d e n t i t y   i n f o r m a t i o n .   T h i s   i s   u s e   t o   t e l l   t h e   k u b e r n e t e s   c l u s t e r   w h o   y o u   a r e .   C l i e n t C e r t i f i c a t e   i s   t h e   p a t h   t o   a   c l i e n t   c e r t   f i l e   f o r   T L S .   C l i e n t C e r t i f i c a t e D a t a   c o n t a i n s   P E M - e n c o d e d   d a t a   f r o m   a   c l i e n t   c e r t   f i l e   f o r   T L S .   O v e r r i d e s   C l i e n t C e r t i f i c a t e   C l i e n t K e y   i s   t h e   p a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S .   C l i e n t K e y D a t a   c o n t a i n s   P E M - e n c o d e d   d a t a   f r o m   a   c l i e n t   k e y   f i l e   f o r   T L S .   O v e r r i d e s   C l i e n t K e y   T o k e n   i s   t h e   b e a r e r   t o k e n   f o r   a u t h e n t i c a t i o n   t o   t h e   k u b e r n e t e s   c l u s t e r .   T o k e n F i l e   i s   a   p o i n t e r   t o   a   f i l e   t h a t   c o n t a i n s   a   b e a r e r   t o k e n   ( a s   d e s c r i b e d   a b o v e ) .   I f   b o t h   T o k e n   a n d   T o k e n F i l e   a r e   p r e s e n t ,   T o k e n   t a k e s   p r e c e d e n c e .   I m p e r s o n a t e   i s   t h e   u s e r n a m e   t o   i m p e r s o n a t e .   T h e   n a m e   m a t c h e s   t h e   f l a g .   I m p e r s o n a t e U I D   i s   t h e   u i d   t o   i m p e r s o n a t e .   I m p e r s o n a t e G r o u p s   i s   t h e   g r o u p s   t o   i m p e r s o n a t e .   I m p e r s o n a t e U s e r E x t r a   c o n t a i n s   a d d i t i o n a l   i n f o r m a t i o n   f o r   i m p e r s o n a t e d   u s e r .   U s e r n a m e   i s   t h e   u s e r n a m e   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   k u b e r n e t e s   c l u s t e r .   P a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeconfig.v1/",
    "id": "k8s_00257_section_2_4901"
  },
  {
    "question": "What is AuthProviderConfig?",
    "answer": "A p p e a r s   i n :   A u t h I n f o   A u t h P r o v i d e r C o n f i g   h o l d s   t h e   c o n f i g u r a t i o n   f o r   a   s p e c i f i e d   a u t h   p r o v i d e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeconfig.v1/",
    "id": "k8s_00257_section_2_4902"
  },
  {
    "question": "What is Cluster?",
    "answer": "A p p e a r s   i n :   N a m e d C l u s t e r   C l u s t e r   c o n t a i n s   i n f o r m a t i o n   a b o u t   h o w   t o   c o m m u n i c a t e   w i t h   a   k u b e r n e t e s   c l u s t e r   S e r v e r   i s   t h e   a d d r e s s   o f   t h e   k u b e r n e t e s   c l u s t e r   ( h t t p s : / / h o s t n a m e : p o r t ) .   T L S S e r v e r N a m e   i s   u s e d   t o   c h e c k   s e r v e r   c e r t i f i c a t e .   I f   T L S S e r v e r N a m e   i s   e m p t y ,   t h e   h o s t n a m e   u s e d   t o   c o n t a c t   t h e   s e r v e r   i s   u s e d .   I n s e c u r e S k i p T L S V e r i f y   s k i p s   t h e   v a l i d i t y   c h e c k   f o r   t h e   s e r v e r ' s   c e r t i f i c a t e .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e .   C e r t i f i c a t e A u t h o r i t y   i s   t h e   p a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y .   C e r t i f i c a t e A u t h o r i t y D a t a   c o n t a i n s   P E M - e n c o d e d   c e r t i f i c a t e   a u t h o r i t y   c e r t i f i c a t e s .   O v e r r i d e s   C e r t i f i c a t e A u t h o r i t y   P r o x y U R L   i s   t h e   U R L   t o   t h e   p r o x y   t o   b e   u s e d   f o r   a l l   r e q u e s t s   m a d e   b y   t h i s   c l i e n t .   U R L s   w i t h   \" h t t p \" ,   \" h t t p s \" ,   a n d   \" s o c k s 5 \"   s c h e m e s   a r e   s u p p o r t e d .   I f   t h i s   c o n f i g u r a t i o n   i s   n o t   p r o v i d e d   o r   t h e   e m p t y   s t r i n g ,   t h e   c l i e n t   a t t e m p t s   t o   c o n s t r u c t   a   p r o x y   c o n f i g u r a t i o n   f r o m   h t t p _ p r o x y   a n d   h t t p s _ p r o x y   e n v i r o n m e n t   v a r i a b l e s .   I f   t h e s e   e n v i r o n m e n t   v a r i a b l e s   a r e   n o t   s e t ,   t h e   c l i e n t   d o e s   n o t   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeconfig.v1/",
    "id": "k8s_00257_section_2_4903"
  },
  {
    "question": "What is Context?",
    "answer": "A p p e a r s   i n :   N a m e d C o n t e x t   C o n t e x t   i s   a   t u p l e   o f   r e f e r e n c e s   t o   a   c l u s t e r   ( h o w   d o   I   c o m m u n i c a t e   w i t h   a   k u b e r n e t e s   c l u s t e r ) ,   a   u s e r   ( h o w   d o   I   i d e n t i f y   m y s e l f ) ,   a n d   a   n a m e s p a c e   ( w h a t   s u b s e t   o f   r e s o u r c e s   d o   I   w a n t   t o   w o r k   w i t h )   C l u s t e r   i s   t h e   n a m e   o f   t h e   c l u s t e r   f o r   t h i s   c o n t e x t   A u t h I n f o   i s   t h e   n a m e   o f   t h e   a u t h I n f o   f o r   t h i s   c o n t e x t   N a m e s p a c e   i s   t h e   d e f a u l t   n a m e s p a c e   t o   u s e   o n   u n s p e c i f i e d   r e q u e s t s   E x t e n s i o n s   h o l d s   a d d i t i o n a l   i n f o r m a t i o n .   T h i s   i s   u s e f u l   f o r   e x t e n d e r s   s o   t h a t   r e a d s   a n d   w r i t e s   d o n ' t   c l o b b e r   u n k n o w n   f i e l d s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeconfig.v1/",
    "id": "k8s_00257_section_2_4904"
  },
  {
    "question": "What is ExecConfig?",
    "answer": "A p p e a r s   i n :   A u t h I n f o   E x e c C o n f i g   s p e c i f i e s   a   c o m m a n d   t o   p r o v i d e   c l i e n t   c r e d e n t i a l s .   T h e   c o m m a n d   i s   e x e c ' d   a n d   o u t p u t s   s t r u c t u r e d   s t d o u t   h o l d i n g   c r e d e n t i a l s .   S e e   t h e   c l i e n t . a u t h e n t i c a t i o n . k 8 s . i o   A P I   g r o u p   f o r   s p e c i f i c a t i o n s   o f   t h e   e x a c t   i n p u t   a n d   o u t p u t   f o r m a t   C o m m a n d   t o   e x e c u t e .   A r g u m e n t s   t o   p a s s   t o   t h e   c o m m a n d   w h e n   e x e c u t i n g   i t .   E n v   d e f i n e s   a d d i t i o n a l   e n v i r o n m e n t   v a r i a b l e s   t o   e x p o s e   t o   t h e   p r o c e s s .   T h e s e   a r e   u n i o n e d   w i t h   t h e   h o s t ' s   e n v i r o n m e n t ,   a s   w e l l   a s   v a r i a b l e s   c l i e n t - g o   u s e s   t o   p a s s   a r g u m e n t   t o   t h e   p l u g i n .   P r e f e r r e d   i n p u t   v e r s i o n   o f   t h e   E x e c I n f o .   T h e   r e t u r n e d   E x e c C r e d e n t i a l s   M U S T   u s e   t h e   s a m e   e n c o d i n g   v e r s i o n   a s   t h e   i n p u t .   T h i s   t e x t   i s   s h o w n   t o   t h e   u s e r   w h e n   t h e   e x e c u t a b l e   d o e s n ' t   s e e m   t o   b e   p r e s e n t .   F o r   e x a m p l e ,   b r e w   i n s t a l l   f o o - c l i   m i g h t   b e   a   g o o d   I n s t a l l H i n t   f o r   f o o - c l i   o n   M a c   O S   s y s t e m s .   P r o v i d e C l u s t e r I n f o   d e t e r m i n e s   w h e t h e r   o r   n o t   t o   p r o v i d e   c l u s t e r   i n f o r m a t i o n ,   w h i c h   c o u l d   p o t e n t i a l l y   c o n t a i n   v e r y   l a r g e   C A   d a t a ,   t o   t h i s   e x e c   p l u g i n   a s   a   p a r t   o f   t h e   K U B E R N E T E S _ E X E C _ I N F O   e n v i r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeconfig.v1/",
    "id": "k8s_00257_section_2_4905"
  },
  {
    "question": "What is ExecEnvVar?",
    "answer": "A p p e a r s   i n :   E x e c C o n f i g   E x e c E n v V a r   i s   u s e d   f o r   s e t t i n g   e n v i r o n m e n t   v a r i a b l e s   w h e n   e x e c u t i n g   a n   e x e c - b a s e d   c r e d e n t i a l   p l u g i n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeconfig.v1/",
    "id": "k8s_00257_section_2_4906"
  },
  {
    "question": "What is ExecInteractiveMode?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   E x e c C o n f i g   E x e c I n t e r a c t i v e M o d e   i s   a   s t r i n g   t h a t   d e s c r i b e s   a n   e x e c   p l u g i n ' s   r e l a t i o n s h i p   w i t h   s t a n d a r d   i n p u t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeconfig.v1/",
    "id": "k8s_00257_section_2_4907"
  },
  {
    "question": "What is NamedAuthInfo?",
    "answer": "A p p e a r s   i n :   C o n f i g   N a m e d A u t h I n f o   r e l a t e s   n i c k n a m e s   t o   a u t h   i n f o r m a t i o n   N a m e   i s   t h e   n i c k n a m e   f o r   t h i s   A u t h I n f o   A u t h I n f o   h o l d s   t h e   a u t h   i n f o r m a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeconfig.v1/",
    "id": "k8s_00257_section_2_4908"
  },
  {
    "question": "What is NamedCluster?",
    "answer": "A p p e a r s   i n :   C o n f i g   N a m e d C l u s t e r   r e l a t e s   n i c k n a m e s   t o   c l u s t e r   i n f o r m a t i o n   N a m e   i s   t h e   n i c k n a m e   f o r   t h i s   C l u s t e r   C l u s t e r   h o l d s   t h e   c l u s t e r   i n f o r m a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeconfig.v1/",
    "id": "k8s_00257_section_2_4909"
  },
  {
    "question": "What is NamedContext?",
    "answer": "A p p e a r s   i n :   C o n f i g   N a m e d C o n t e x t   r e l a t e s   n i c k n a m e s   t o   c o n t e x t   i n f o r m a t i o n   N a m e   i s   t h e   n i c k n a m e   f o r   t h i s   C o n t e x t   C o n t e x t   h o l d s   t h e   c o n t e x t   i n f o r m a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeconfig.v1/",
    "id": "k8s_00257_section_2_4910"
  },
  {
    "question": "What is NamedExtension?",
    "answer": "A p p e a r s   i n :   C o n f i g A u t h I n f o C l u s t e r C o n t e x t P r e f e r e n c e s   C o n f i g   A u t h I n f o   C l u s t e r   C o n t e x t   P r e f e r e n c e s   N a m e d E x t e n s i o n   r e l a t e s   n i c k n a m e s   t o   e x t e n s i o n   i n f o r m a t i o n   N a m e   i s   t h e   n i c k n a m e   f o r   t h i s   E x t e n s i o n   E x t e n s i o n   h o l d s   t h e   e x t e n s i o n   i n f o r m a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeconfig.v1/",
    "id": "k8s_00257_section_2_4911"
  },
  {
    "question": "What is Preferences?",
    "answer": "A p p e a r s   i n :   C o n f i g   E x t e n s i o n s   h o l d s   a d d i t i o n a l   i n f o r m a t i o n .   T h i s   i s   u s e f u l   f o r   e x t e n d e r s   s o   t h a t   r e a d s   a n d   w r i t e s   d o n ' t   c l o b b e r   u n k n o w n   f i e l d s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeconfig.v1/",
    "id": "k8s_00257_section_2_4912"
  },
  {
    "question": "What is kubectl create secret docker-registry?",
    "answer": "kubectl create secret docker-registrySynopsisCreate a new secret for use with Docker registries. Dockercfg secrets are used to authenticate against Docker registries. When using the Docker command line to push images, you can authenticate to a given registry by running: '$ docker login DOCKER_REGISTRY_SERVER --username=DOCKER_USER --password=DOCKER_PASSWORD --email=DOCKER_EMAIL'. That produces a ~/.dockercfg file that is used by subsequent 'docker push' and 'docker pull' commands to authenticate to the registry. The email address is optional. When creating applications, you may have a Docker registry that requires authentication. In order for the nodes to pull images on your behalf, they must have the credentials. You can provide this information by creating a dockercfg secret and attaching it to your service account. kubectl create secret docker-registry NAME --docker-username=user --docker-password=password --docker-email=email [--docker-server=string] [--from-file=[key=]source] [--dry-run=server|client|none] Examples # If you do not already have a .dockercfg file, create a dockercfg secret directly kubectl create secret docker-registry my-secret --docker-server=DOCKER_REGISTRY_SERVER --docker-username=DOCKER_USER --docker-password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL # Create a new secret named my-secret from ~/.docker/config.json kubectl create secret docker-registry my-secret --from-file=path/to/.docker/config.json Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--append-hashAppend a hash of the secret to its name.--docker-email stringEmail for Docker registry--docker-password stringPassword for Docker registry authentication--docker-server string Default: \"https://index.docker.io/v1/\"Server location for Docker registry--docker-username stringUsername for Docker registry authentication--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--from-file stringsKey files can be specified using their file path, in which case a default name of .dockerconfigjson will be given to them, or optionally with a name and file path, in which case the given name will be used. Specifying a directory will iterate each named file in the directory that is a valid secret key. For this command, the key should always be .dockerconfigjson.-h, --helphelp for docker-registry-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_docker-registry/",
    "id": "k8s_00258_qa_4913"
  },
  {
    "question": "How does kubectl create secret docker-registry work?",
    "answer": "kubectl create secret docker-registrySynopsisCreate a new secret for use with Docker registries. Dockercfg secrets are used to authenticate against Docker registries. When using the Docker command line to push images, you can authenticate to a given registry by running: '$ docker login DOCKER_REGISTRY_SERVER --username=DOCKER_USER --password=DOCKER_PASSWORD --email=DOCKER_EMAIL'. That produces a ~/.dockercfg file that is used by subsequent 'docker push' and 'docker pull' commands to authenticate to the registry. The email address is optional. When creating applications, you may have a Docker registry that requires authentication. In order for the nodes to pull images on your behalf, they must have the credentials. You can provide this information by creating a dockercfg secret and attaching it to your service account. kubectl create secret docker-registry NAME --docker-username=user --docker-password=password --docker-email=email [--docker-server=string] [--from-file=[key=]source] [--dry-run=server|client|none] Examples # If you do not already have a .dockercfg file, create a dockercfg secret directly kubectl create secret docker-registry my-secret --docker-server=DOCKER_REGISTRY_SERVER --docker-username=DOCKER_USER --docker-password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL # Create a new secret named my-secret from ~/.docker/config.json kubectl create secret docker-registry my-secret --from-file=path/to/.docker/config.json Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--append-hashAppend a hash of the secret to its name.--docker-email stringEmail for Docker registry--docker-password stringPassword for Docker registry authentication--docker-server string Default: \"https://index.docker.io/v1/\"Server location for Docker registry--docker-username stringUsername for Docker registry authentication--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--from-file stringsKey files can be specified using their file path, in which case a default name of .dockerconfigjson will be given to them, or optionally with a name and file path, in which case the given name will be used. Specifying a directory will iterate each named file in the directory that is a valid secret key. For this command, the key should always be .dockerconfigjson.-h, --helphelp for docker-registry-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_docker-registry/",
    "id": "k8s_00258_qa_4914"
  },
  {
    "question": "When would you use kubectl create secret docker-registry?",
    "answer": "kubectl create secret docker-registrySynopsisCreate a new secret for use with Docker registries. Dockercfg secrets are used to authenticate against Docker registries. When using the Docker command line to push images, you can authenticate to a given registry by running: '$ docker login DOCKER_REGISTRY_SERVER --username=DOCKER_USER --password=DOCKER_PASSWORD --email=DOCKER_EMAIL'. That produces a ~/.dockercfg file that is used by subsequent 'docker push' and 'docker pull' commands to authenticate to the registry. The email address is optional. When creating applications, you may have a Docker registry that requires authentication. In order for the nodes to pull images on your behalf, they must have the credentials. You can provide this information by creating a dockercfg secret and attaching it to your service account. kubectl create secret docker-registry NAME --docker-username=user --docker-password=password --docker-email=email [--docker-server=string] [--from-file=[key=]source] [--dry-run=server|client|none] Examples # If you do not already have a .dockercfg file, create a dockercfg secret directly kubectl create secret docker-registry my-secret --docker-server=DOCKER_REGISTRY_SERVER --docker-username=DOCKER_USER --docker-password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL # Create a new secret named my-secret from ~/.docker/config.json kubectl create secret docker-registry my-secret --from-file=path/to/.docker/config.json Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--append-hashAppend a hash of the secret to its name.--docker-email stringEmail for Docker registry--docker-password stringPassword for Docker registry authentication--docker-server string Default: \"https://index.docker.io/v1/\"Server location for Docker registry--docker-username stringUsername for Docker registry authentication--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--from-file stringsKey files can be specified using their file path, in which case a default name of .dockerconfigjson will be given to them, or optionally with a name and file path, in which case the given name will be used. Specifying a directory will iterate each named file in the directory that is a valid secret key. For this command, the key should always be .dockerconfigjson.-h, --helphelp for docker-registry-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_docker-registry/",
    "id": "k8s_00258_qa_4915"
  },
  {
    "question": "What are the benefits of kubectl create secret docker-registry?",
    "answer": "kubectl create secret docker-registrySynopsisCreate a new secret for use with Docker registries. Dockercfg secrets are used to authenticate against Docker registries. When using the Docker command line to push images, you can authenticate to a given registry by running: '$ docker login DOCKER_REGISTRY_SERVER --username=DOCKER_USER --password=DOCKER_PASSWORD --email=DOCKER_EMAIL'. That produces a ~/.dockercfg file that is used by subsequent 'docker push' and 'docker pull' commands to authenticate to the registry. The email address is optional. When creating applications, you may have a Docker registry that requires authentication. In order for the nodes to pull images on your behalf, they must have the credentials. You can provide this information by creating a dockercfg secret and attaching it to your service account. kubectl create secret docker-registry NAME --docker-username=user --docker-password=password --docker-email=email [--docker-server=string] [--from-file=[key=]source] [--dry-run=server|client|none] Examples # If you do not already have a .dockercfg file, create a dockercfg secret directly kubectl create secret docker-registry my-secret --docker-server=DOCKER_REGISTRY_SERVER --docker-username=DOCKER_USER --docker-password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL # Create a new secret named my-secret from ~/.docker/config.json kubectl create secret docker-registry my-secret --from-file=path/to/.docker/config.json Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--append-hashAppend a hash of the secret to its name.--docker-email stringEmail for Docker registry--docker-password stringPassword for Docker registry authentication--docker-server string Default: \"https://index.docker.io/v1/\"Server location for Docker registry--docker-username stringUsername for Docker registry authentication--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--from-file stringsKey files can be specified using their file path, in which case a default name of .dockerconfigjson will be given to them, or optionally with a name and file path, in which case the given name will be used. Specifying a directory will iterate each named file in the directory that is a valid secret key. For this command, the key should always be .dockerconfigjson.-h, --helphelp for docker-registry-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_docker-registry/",
    "id": "k8s_00258_qa_4916"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   n e w   s e c r e t   f o r   u s e   w i t h   D o c k e r   r e g i s t r i e s .   D o c k e r c f g   s e c r e t s   a r e   u s e d   t o   a u t h e n t i c a t e   a g a i n s t   D o c k e r   r e g i s t r i e s .   W h e n   u s i n g   t h e   D o c k e r   c o m m a n d   l i n e   t o   p u s h   i m a g e s ,   y o u   c a n   a u t h e n t i c a t e   t o   a   g i v e n   r e g i s t r y   b y   r u n n i n g :   ' $   d o c k e r   l o g i n   D O C K E R _ R E G I S T R Y _ S E R V E R   - - u s e r n a m e = D O C K E R _ U S E R   - - p a s s w o r d = D O C K E R _ P A S S W O R D   - - e m a i l = D O C K E R _ E M A I L ' .   T h a t   p r o d u c e s   a   ~ / . d o c k e r c f g   f i l e   t h a t   i s   u s e d   b y   s u b s e q u e n t   ' d o c k e r   p u s h '   a n d   ' d o c k e r   p u l l '   c o m m a n d s   t o   a u t h e n t i c a t e   t o   t h e   r e g i s t r y .   T h e   e m a i l   a d d r e s s   i s   o p t i o n a l .   W h e n   c r e a t i n g   a p p l i c a t i o n s ,   y o u   m a y   h a v e   a   D o c k e r   r e g i s t r y   t h a t   r e q u i r e s   a u t h e n t i c a t i o n .   I n   o r d e r   f o r   t h e   n o d e s   t o   p u l l   i m a g e s   o n   y o u r   b e h a l f ,   t h e y   m u s t   h a v e   t h e   c r e d e n t i a l s .   Y o u   c a n   p r o v i d e   t h i s   i n f o r m a t i o n   b y   c r e a t i n g   a   d o c k e r c f g   s e c r e t   a n d   a t t a c h i n g   i t   t o   y o u r   s e r v i c e   a c c o u n t .   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   N A M E   - - d o c k e r - u s e r n a m e = u s e r   - - d o c k e r - p a s s w o r d = p a s s w o r d   - - d o c k e r - e m a i l = e m a i l   [ - - d o c k e r - s e r v e r = s t r i n g ]   [ - - f r o m - f i l e = [ k e y = ] s o u r c e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_docker-registry/",
    "id": "k8s_00258_section_2_4917"
  },
  {
    "question": "What is Examples?",
    "answer": "#   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   . d o c k e r c f g   f i l e ,   c r e a t e   a   d o c k e r c f g   s e c r e t   d i r e c t l y   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   m y - s e c r e t   - - d o c k e r - s e r v e r = D O C K E R _ R E G I S T R Y _ S E R V E R   - - d o c k e r - u s e r n a m e = D O C K E R _ U S E R   - - d o c k e r - p a s s w o r d = D O C K E R _ P A S S W O R D   - - d o c k e r - e m a i l = D O C K E R _ E M A I L   #   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   f r o m   ~ / . d o c k e r / c o n f i g . j s o n   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   m y - s e c r e t   - - f r o m - f i l e = p a t h / t o / . d o c k e r / c o n f i g . j s o n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_docker-registry/",
    "id": "k8s_00258_section_2_4918"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   A p p e n d   a   h a s h   o f   t h e   s e c r e t   t o   i t s   n a m e .   E m a i l   f o r   D o c k e r   r e g i s t r y   P a s s w o r d   f o r   D o c k e r   r e g i s t r y   a u t h e n t i c a t i o n   S e r v e r   l o c a t i o n   f o r   D o c k e r   r e g i s t r y   U s e r n a m e   f o r   D o c k e r   r e g i s t r y   a u t h e n t i c a t i o n   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   K e y   f i l e s   c a n   b e   s p e c i f i e d   u s i n g   t h e i r   f i l e   p a t h ,   i n   w h i c h   c a s e   a   d e f a u l t   n a m e   o f   . d o c k e r c o n f i g j s o n   w i l l   b e   g i v e n   t o   t h e m ,   o r   o p t i o n a l l y   w i t h   a   n a m e   a n d   f i l e   p a t h ,   i n   w h i c h   c a s e   t h e   g i v e n   n a m e   w i l l   b e   u s e d .   S p e c i f y i n g   a   d i r e c t o r y   w i l l   i t e r a t e   e a c h   n a m e d   f i l e   i n   t h e   d i r e c t o r y   t h a t   i s   a   v a l i d   s e c r e t   k e y .   F o r   t h i s   c o m m a n d ,   t h e   k e y   s h o u l d   a l w a y s   b e   . d o c k e r c o n f i g j s o n .   h e l p   f o r   d o c k e r - r e g i s t r y   O u t p u t   f o r m a t .   O n e   o f : ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_docker-registry/",
    "id": "k8s_00258_section_2_4919"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_docker-registry/",
    "id": "k8s_00258_section_2_4920"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   s e c r e t   -   C r e a t e   a   s e c r e t   u s i n g   a   s p e c i f i e d   s u b c o m m a n d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_docker-registry/",
    "id": "k8s_00258_section_2_4921"
  },
  {
    "question": "What is ClusterTrustBundle v1beta1?",
    "answer": "ClusterTrustBundle v1beta1ClusterTrustBundle is a cluster-scoped container for X.apiVersion: certificates.k8s.io/v1beta1import \"k8s.io/api/certificates/v1beta1\"ClusterTrustBundleClusterTrustBundle is a cluster-scoped container for X.509 trust anchors (root certificates).ClusterTrustBundle objects are considered to be readable by any authenticated user in the cluster, because they can be mounted by pods using the clusterTrustBundle projection. All service accounts have read access to ClusterTrustBundles by default. Users who only have namespace-level access to a cluster can read ClusterTrustBundles by impersonating a serviceaccount that they have access to.It can be optionally associated with a particular assigner, in which case it contains one valid set of trust anchors for that signer. Signers may have multiple associated ClusterTrustBundles; each is an independent set of trust anchors for that signer. Admission control is used to enforce that only users with permissions on the signer can create or modify the corresponding bundle.apiVersion: certificates.k8s.io/v1beta1kind: ClusterTrustBundlemetadata (ObjectMeta)metadata contains the object metadata.spec (ClusterTrustBundleSpec), requiredspec contains the signer (if any) and trust anchors.ClusterTrustBundleSpecClusterTrustBundleSpec contains the signer and trust anchors.trustBundle (string), requiredtrustBundle contains the individual X.509 trust anchors for this bundle, as PEM bundle of PEM-wrapped, DER-formatted X.509 certificates.The data must consist only of PEM certificate blocks that parse as valid X.509 certificates. Each certificate must include a basic constraints extension with the CA bit set. The API server will reject objects that contain duplicate certificates, or that use PEM block headers.Users of ClusterTrustBundles, including Kubelet, are free to reorder and deduplicate certificate blocks in this file according to their own logic, as well as to drop PEM block headers and inter-block data.signerName (string)signerName indicates the associated signer, if any.In order to create or update a ClusterTrustBundle that sets signerName, you must have the following cluster-scoped permission: group=certificates.k8s.io resource=signers resourceName=<the signer name> verb=attest.If signerName is not empty, then the ClusterTrustBundle object must be named with the signer name as a prefix (translating slashes to colons). For example, for the signer name example.com/foo, valid ClusterTrustBundle object names include example.com:foo:abc and example.com:foo:v1.If signerName is empty, then the ClusterTrustBundle object's name must not have such a prefix.List/watch requests for ClusterTrustBundles can filter on this field using a spec.signerName=NAME field selector.ClusterTrustBundleListClusterTrustBundleList is a collection of ClusterTrustBundle objectsapiVersion: certificates.k8s.io/v1beta1kind: ClusterTrustBundleListmetadata (ListMeta)metadata contains the list metadata.items ([]ClusterTrustBundl",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_qa_4922"
  },
  {
    "question": "How does ClusterTrustBundle v1beta1 work?",
    "answer": "ClusterTrustBundle v1beta1ClusterTrustBundle is a cluster-scoped container for X.apiVersion: certificates.k8s.io/v1beta1import \"k8s.io/api/certificates/v1beta1\"ClusterTrustBundleClusterTrustBundle is a cluster-scoped container for X.509 trust anchors (root certificates).ClusterTrustBundle objects are considered to be readable by any authenticated user in the cluster, because they can be mounted by pods using the clusterTrustBundle projection. All service accounts have read access to ClusterTrustBundles by default. Users who only have namespace-level access to a cluster can read ClusterTrustBundles by impersonating a serviceaccount that they have access to.It can be optionally associated with a particular assigner, in which case it contains one valid set of trust anchors for that signer. Signers may have multiple associated ClusterTrustBundles; each is an independent set of trust anchors for that signer. Admission control is used to enforce that only users with permissions on the signer can create or modify the corresponding bundle.apiVersion: certificates.k8s.io/v1beta1kind: ClusterTrustBundlemetadata (ObjectMeta)metadata contains the object metadata.spec (ClusterTrustBundleSpec), requiredspec contains the signer (if any) and trust anchors.ClusterTrustBundleSpecClusterTrustBundleSpec contains the signer and trust anchors.trustBundle (string), requiredtrustBundle contains the individual X.509 trust anchors for this bundle, as PEM bundle of PEM-wrapped, DER-formatted X.509 certificates.The data must consist only of PEM certificate blocks that parse as valid X.509 certificates. Each certificate must include a basic constraints extension with the CA bit set. The API server will reject objects that contain duplicate certificates, or that use PEM block headers.Users of ClusterTrustBundles, including Kubelet, are free to reorder and deduplicate certificate blocks in this file according to their own logic, as well as to drop PEM block headers and inter-block data.signerName (string)signerName indicates the associated signer, if any.In order to create or update a ClusterTrustBundle that sets signerName, you must have the following cluster-scoped permission: group=certificates.k8s.io resource=signers resourceName=<the signer name> verb=attest.If signerName is not empty, then the ClusterTrustBundle object must be named with the signer name as a prefix (translating slashes to colons). For example, for the signer name example.com/foo, valid ClusterTrustBundle object names include example.com:foo:abc and example.com:foo:v1.If signerName is empty, then the ClusterTrustBundle object's name must not have such a prefix.List/watch requests for ClusterTrustBundles can filter on this field using a spec.signerName=NAME field selector.ClusterTrustBundleListClusterTrustBundleList is a collection of ClusterTrustBundle objectsapiVersion: certificates.k8s.io/v1beta1kind: ClusterTrustBundleListmetadata (ListMeta)metadata contains the list metadata.items ([]ClusterTrustBundl",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_qa_4923"
  },
  {
    "question": "When would you use ClusterTrustBundle v1beta1?",
    "answer": "ClusterTrustBundle v1beta1ClusterTrustBundle is a cluster-scoped container for X.apiVersion: certificates.k8s.io/v1beta1import \"k8s.io/api/certificates/v1beta1\"ClusterTrustBundleClusterTrustBundle is a cluster-scoped container for X.509 trust anchors (root certificates).ClusterTrustBundle objects are considered to be readable by any authenticated user in the cluster, because they can be mounted by pods using the clusterTrustBundle projection. All service accounts have read access to ClusterTrustBundles by default. Users who only have namespace-level access to a cluster can read ClusterTrustBundles by impersonating a serviceaccount that they have access to.It can be optionally associated with a particular assigner, in which case it contains one valid set of trust anchors for that signer. Signers may have multiple associated ClusterTrustBundles; each is an independent set of trust anchors for that signer. Admission control is used to enforce that only users with permissions on the signer can create or modify the corresponding bundle.apiVersion: certificates.k8s.io/v1beta1kind: ClusterTrustBundlemetadata (ObjectMeta)metadata contains the object metadata.spec (ClusterTrustBundleSpec), requiredspec contains the signer (if any) and trust anchors.ClusterTrustBundleSpecClusterTrustBundleSpec contains the signer and trust anchors.trustBundle (string), requiredtrustBundle contains the individual X.509 trust anchors for this bundle, as PEM bundle of PEM-wrapped, DER-formatted X.509 certificates.The data must consist only of PEM certificate blocks that parse as valid X.509 certificates. Each certificate must include a basic constraints extension with the CA bit set. The API server will reject objects that contain duplicate certificates, or that use PEM block headers.Users of ClusterTrustBundles, including Kubelet, are free to reorder and deduplicate certificate blocks in this file according to their own logic, as well as to drop PEM block headers and inter-block data.signerName (string)signerName indicates the associated signer, if any.In order to create or update a ClusterTrustBundle that sets signerName, you must have the following cluster-scoped permission: group=certificates.k8s.io resource=signers resourceName=<the signer name> verb=attest.If signerName is not empty, then the ClusterTrustBundle object must be named with the signer name as a prefix (translating slashes to colons). For example, for the signer name example.com/foo, valid ClusterTrustBundle object names include example.com:foo:abc and example.com:foo:v1.If signerName is empty, then the ClusterTrustBundle object's name must not have such a prefix.List/watch requests for ClusterTrustBundles can filter on this field using a spec.signerName=NAME field selector.ClusterTrustBundleListClusterTrustBundleList is a collection of ClusterTrustBundle objectsapiVersion: certificates.k8s.io/v1beta1kind: ClusterTrustBundleListmetadata (ListMeta)metadata contains the list metadata.items ([]ClusterTrustBundl",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_qa_4924"
  },
  {
    "question": "What are the benefits of ClusterTrustBundle v1beta1?",
    "answer": "ClusterTrustBundle v1beta1ClusterTrustBundle is a cluster-scoped container for X.apiVersion: certificates.k8s.io/v1beta1import \"k8s.io/api/certificates/v1beta1\"ClusterTrustBundleClusterTrustBundle is a cluster-scoped container for X.509 trust anchors (root certificates).ClusterTrustBundle objects are considered to be readable by any authenticated user in the cluster, because they can be mounted by pods using the clusterTrustBundle projection. All service accounts have read access to ClusterTrustBundles by default. Users who only have namespace-level access to a cluster can read ClusterTrustBundles by impersonating a serviceaccount that they have access to.It can be optionally associated with a particular assigner, in which case it contains one valid set of trust anchors for that signer. Signers may have multiple associated ClusterTrustBundles; each is an independent set of trust anchors for that signer. Admission control is used to enforce that only users with permissions on the signer can create or modify the corresponding bundle.apiVersion: certificates.k8s.io/v1beta1kind: ClusterTrustBundlemetadata (ObjectMeta)metadata contains the object metadata.spec (ClusterTrustBundleSpec), requiredspec contains the signer (if any) and trust anchors.ClusterTrustBundleSpecClusterTrustBundleSpec contains the signer and trust anchors.trustBundle (string), requiredtrustBundle contains the individual X.509 trust anchors for this bundle, as PEM bundle of PEM-wrapped, DER-formatted X.509 certificates.The data must consist only of PEM certificate blocks that parse as valid X.509 certificates. Each certificate must include a basic constraints extension with the CA bit set. The API server will reject objects that contain duplicate certificates, or that use PEM block headers.Users of ClusterTrustBundles, including Kubelet, are free to reorder and deduplicate certificate blocks in this file according to their own logic, as well as to drop PEM block headers and inter-block data.signerName (string)signerName indicates the associated signer, if any.In order to create or update a ClusterTrustBundle that sets signerName, you must have the following cluster-scoped permission: group=certificates.k8s.io resource=signers resourceName=<the signer name> verb=attest.If signerName is not empty, then the ClusterTrustBundle object must be named with the signer name as a prefix (translating slashes to colons). For example, for the signer name example.com/foo, valid ClusterTrustBundle object names include example.com:foo:abc and example.com:foo:v1.If signerName is empty, then the ClusterTrustBundle object's name must not have such a prefix.List/watch requests for ClusterTrustBundles can filter on this field using a spec.signerName=NAME field selector.ClusterTrustBundleListClusterTrustBundleList is a collection of ClusterTrustBundle objectsapiVersion: certificates.k8s.io/v1beta1kind: ClusterTrustBundleListmetadata (ListMeta)metadata contains the list metadata.items ([]ClusterTrustBundl",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_qa_4925"
  },
  {
    "question": "What is ClusterTrustBundle v1beta1?",
    "answer": "a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1   i m p o r t   \" k 8 s . i o / a p i / c e r t i f i c a t e s / v 1 b e t a 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_section_1_4926"
  },
  {
    "question": "What is ClusterTrustBundle?",
    "answer": "C l u s t e r T r u s t B u n d l e   i s   a   c l u s t e r - s c o p e d   c o n t a i n e r   f o r   X . 5 0 9   t r u s t   a n c h o r s   ( r o o t   c e r t i f i c a t e s ) .   C l u s t e r T r u s t B u n d l e   o b j e c t s   a r e   c o n s i d e r e d   t o   b e   r e a d a b l e   b y   a n y   a u t h e n t i c a t e d   u s e r   i n   t h e   c l u s t e r ,   b e c a u s e   t h e y   c a n   b e   m o u n t e d   b y   p o d s   u s i n g   t h e   c l u s t e r T r u s t B u n d l e   p r o j e c t i o n .   A l l   s e r v i c e   a c c o u n t s   h a v e   r e a d   a c c e s s   t o   C l u s t e r T r u s t B u n d l e s   b y   d e f a u l t .   U s e r s   w h o   o n l y   h a v e   n a m e s p a c e - l e v e l   a c c e s s   t o   a   c l u s t e r   c a n   r e a d   C l u s t e r T r u s t B u n d l e s   b y   i m p e r s o n a t i n g   a   s e r v i c e a c c o u n t   t h a t   t h e y   h a v e   a c c e s s   t o .   I t   c a n   b e   o p t i o n a l l y   a s s o c i a t e d   w i t h   a   p a r t i c u l a r   a s s i g n e r ,   i n   w h i c h   c a s e   i t   c o n t a i n s   o n e   v a l i d   s e t   o f   t r u s t   a n c h o r s   f o r   t h a t   s i g n e r .   S i g n e r s   m a y   h a v e   m u l t i p l e   a s s o c i a t e d   C l u s t e r T r u s t B u n d l e s ;   e a c h   i s   a n   i n d e p e n d e n t   s e t   o f   t r u s t   a n c h o r s   f o r   t h a t   s i g n e r .   A d m i s s i o n   c o n t r o l   i s   u s e d   t o   e n f o r c e   t h a t   o n l y   u s e r s   w i t h   p e r m i s s i o n s   o n   t h e   s i g n e r   c a n   c r e a t e   o r   m o d i f y   t h e   c o r r e s p o n d i n g   b u n d l e .   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 k i n d :   C l u s t e r T r u s t B u n d l e m e t a d a t a   ( O b j e c t M e t a ) m e t a d a t a   c o n t a i n s   t h e   o b j e c t   m e t a d a t a . s p e c   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_section_2_4927"
  },
  {
    "question": "What is ClusterTrustBundleSpec?",
    "answer": "C l u s t e r T r u s t B u n d l e S p e c   c o n t a i n s   t h e   s i g n e r   a n d   t r u s t   a n c h o r s .   t r u s t B u n d l e   ( s t r i n g ) ,   r e q u i r e d t r u s t B u n d l e   c o n t a i n s   t h e   i n d i v i d u a l   X . 5 0 9   t r u s t   a n c h o r s   f o r   t h i s   b u n d l e ,   a s   P E M   b u n d l e   o f   P E M - w r a p p e d ,   D E R - f o r m a t t e d   X . 5 0 9   c e r t i f i c a t e s . T h e   d a t a   m u s t   c o n s i s t   o n l y   o f   P E M   c e r t i f i c a t e   b l o c k s   t h a t   p a r s e   a s   v a l i d   X . 5 0 9   c e r t i f i c a t e s .   E a c h   c e r t i f i c a t e   m u s t   i n c l u d e   a   b a s i c   c o n s t r a i n t s   e x t e n s i o n   w i t h   t h e   C A   b i t   s e t .   T h e   A P I   s e r v e r   w i l l   r e j e c t   o b j e c t s   t h a t   c o n t a i n   d u p l i c a t e   c e r t i f i c a t e s ,   o r   t h a t   u s e   P E M   b l o c k   h e a d e r s . U s e r s   o f   C l u s t e r T r u s t B u n d l e s ,   i n c l u d i n g   K u b e l e t ,   a r e   f r e e   t o   r e o r d e r   a n d   d e d u p l i c a t e   c e r t i f i c a t e   b l o c k s   i n   t h i s   f i l e   a c c o r d i n g   t o   t h e i r   o w n   l o g i c ,   a s   w e l l   a s   t o   d r o p   P E M   b l o c k   h e a d e r s   a n d   i n t e r - b l o c k   d a t a . s i g n e r N a m e   ( s t r i n g ) s i g n e r N a m e   i n d i c a t e s   t h e   a s s o c i a t e d   s i g n e r ,   i f   a n y . I n   o r d e r   t o   c r e a t e   o r   u p d a t e   a   C l u s t e r T r u s t B u n d l e   t h a t   s e t s   s i g n e r N a m e ,   y o u   m u s t   h a v e   t h e   f o l l o w i n g   c l u s t e r - s c o p e d   p e r m i s s i o n :   g r o u p = c e r t i f i c a t e s . k 8 s . i o   r e s o u r c e = s i g n e r s   r e s o u r c e N a m e = < t h e   s i g n e r   n a m e >   v e r b = a t t e s t . I f   s i g n e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_section_2_4928"
  },
  {
    "question": "What is ClusterTrustBundleList?",
    "answer": "C l u s t e r T r u s t B u n d l e L i s t   i s   a   c o l l e c t i o n   o f   C l u s t e r T r u s t B u n d l e   o b j e c t s   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 k i n d :   C l u s t e r T r u s t B u n d l e L i s t m e t a d a t a   ( L i s t M e t a ) m e t a d a t a   c o n t a i n s   t h e   l i s t   m e t a d a t a . i t e m s   ( [ ] C l u s t e r T r u s t B u n d l e ) ,   r e q u i r e d i t e m s   i s   a   c o l l e c t i o n   o f   C l u s t e r T r u s t B u n d l e   o b j e c t s   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1   k i n d :   C l u s t e r T r u s t B u n d l e L i s t   m e t a d a t a   ( L i s t M e t a )   m e t a d a t a   c o n t a i n s   t h e   l i s t   m e t a d a t a .   i t e m s   ( [ ] C l u s t e r T r u s t B u n d l e ) ,   r e q u i r e d   i t e m s   i s   a   c o l l e c t i o n   o f   C l u s t e r T r u s t B u n d l e   o b j e c t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_section_2_4929"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_section_4_4930"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r T r u s t B u n d l e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r T r u s t B u n d l e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_section_4_4931"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r T r u s t B u n d l e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_section_4_4932"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_section_4_4933"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_section_4_4934"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r T r u s t B u n d l e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_section_4_4935"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_section_4_4936"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   C l u s t e r T r u s t B u n d l e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   C l u s t e r T r u s t B u n d l e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_section_4_4937"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r T r u s t B u n d l e ) :   O K   2 0 1   ( C l u s t e r T r u s t B u n d l e ) :   C r e a t e d   2 0 2   ( C l u s t e r T r u s t B u n d l e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_section_4_4938"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_section_4_4939"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r T r u s t B u n d l e b o d y :   C l u s t e r T r u s t B u n d l e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r T r u s t B u n d l e   b o d y :   C l u s t e r T r u s t B u n d l e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_section_4_4940"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r T r u s t B u n d l e ) :   O K   2 0 1   ( C l u s t e r T r u s t B u n d l e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_section_4_4941"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_section_4_4942"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r T r u s t B u n d l e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r T r u s t B u n d l e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_section_4_4943"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r T r u s t B u n d l e ) :   O K   2 0 1   ( C l u s t e r T r u s t B u n d l e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_section_4_4944"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_section_4_4945"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r T r u s t B u n d l e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r T r u s t B u n d l e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_section_4_4946"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_section_4_4947"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_section_4_4948"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_section_4_4949"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1/",
    "id": "k8s_00259_section_4_4950"
  },
  {
    "question": "What is kubectl certificate?",
    "answer": "kubectl certificateSynopsisModify certificate resources.kubectl certificate SUBCOMMAND Options-h, --helphelp for certificateParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate/",
    "id": "k8s_00260_qa_4951"
  },
  {
    "question": "How does kubectl certificate work?",
    "answer": "kubectl certificateSynopsisModify certificate resources.kubectl certificate SUBCOMMAND Options-h, --helphelp for certificateParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate/",
    "id": "k8s_00260_qa_4952"
  },
  {
    "question": "When would you use kubectl certificate?",
    "answer": "kubectl certificateSynopsisModify certificate resources.kubectl certificate SUBCOMMAND Options-h, --helphelp for certificateParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate/",
    "id": "k8s_00260_qa_4953"
  },
  {
    "question": "What are the benefits of kubectl certificate?",
    "answer": "kubectl certificateSynopsisModify certificate resources.kubectl certificate SUBCOMMAND Options-h, --helphelp for certificateParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate/",
    "id": "k8s_00260_qa_4954"
  },
  {
    "question": "What is Synopsis?",
    "answer": "M o d i f y   c e r t i f i c a t e   r e s o u r c e s .   k u b e c t l   c e r t i f i c a t e   S U B C O M M A N D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate/",
    "id": "k8s_00260_section_2_4955"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c e r t i f i c a t e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate/",
    "id": "k8s_00260_section_2_4956"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate/",
    "id": "k8s_00260_section_2_4957"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   c e r t i f i c a t e   a p p r o v e   -   A p p r o v e   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t k u b e c t l   c e r t i f i c a t e   d e n y   -   D e n y   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate/",
    "id": "k8s_00260_section_2_4958"
  },
  {
    "question": "What is kubectl expose?",
    "answer": "kubectl exposeSynopsisExpose a resource as a new Kubernetes service.Looks up a deployment, service, replica set, replication controller or pod by name and uses the selector for that resource as the selector for a new service on the specified port. A deployment or replica set will be exposed as a service only if its selector is convertible to a selector that service supports, i.e. when the selector contains only the matchLabels component. Note that if no port is specified via --port and the exposed resource has multiple ports, all will be re-used by the new service. Also if no labels are specified, the new service will re-use the labels from the resource it exposes.Possible resources include (case insensitive):pod (po), service (svc), replicationcontroller (rc), deployment (deploy), replicaset (rs)kubectl expose (-f FILENAME | TYPE NAME) [--port=port] [--protocol=TCP|UDP|SCTP] [--target-port=number-or-name] [--name=name] [--external-ip=external-ip-of-service] [--type=type] Examples # Create a service for a replicated nginx, which serves on port 80 and connects to the containers on port 8000 kubectl expose rc nginx --port=80 --target-port=8000 # Create a service for a replication controller identified by type and name specified in \"nginx-controller.yaml\", which serves on port 80 and connects to the containers on port 8000 kubectl expose -f nginx-controller.yaml --port=80 --target-port=8000 # Create a service for a pod valid-pod, which serves on port 444 with the name \"frontend\" kubectl expose pod valid-pod --port=444 --name=frontend # Create a second service based on the above service, exposing the container port 8443 as port 443 with the name \"nginx-https\" kubectl expose service nginx --port=443 --target-port=8443 --name=nginx-https # Create a service for a replicated streaming application on port 4100 balancing UDP traffic and named 'video-stream'. kubectl expose rc streamer --port=4100 --protocol=UDP --name=video-stream # Create a service for a replicated nginx using replica set, which serves on port 80 and connects to the containers on port 8000 kubectl expose rs nginx --port=80 --target-port=8000 # Create a service for an nginx deployment, which serves on port 80 and connects to the containers on port 8000 kubectl expose deployment nginx --port=80 --target-port=8000 Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--cluster-ip stringClusterIP to be assigned to the service. Leave empty to auto-allocate, or set to 'None' to create a headless service.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--external-ip stringAdditional external IP address (not managed by Kubernetes) to accept for the service. If this I",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_expose/",
    "id": "k8s_00261_qa_4959"
  },
  {
    "question": "How does kubectl expose work?",
    "answer": "kubectl exposeSynopsisExpose a resource as a new Kubernetes service.Looks up a deployment, service, replica set, replication controller or pod by name and uses the selector for that resource as the selector for a new service on the specified port. A deployment or replica set will be exposed as a service only if its selector is convertible to a selector that service supports, i.e. when the selector contains only the matchLabels component. Note that if no port is specified via --port and the exposed resource has multiple ports, all will be re-used by the new service. Also if no labels are specified, the new service will re-use the labels from the resource it exposes.Possible resources include (case insensitive):pod (po), service (svc), replicationcontroller (rc), deployment (deploy), replicaset (rs)kubectl expose (-f FILENAME | TYPE NAME) [--port=port] [--protocol=TCP|UDP|SCTP] [--target-port=number-or-name] [--name=name] [--external-ip=external-ip-of-service] [--type=type] Examples # Create a service for a replicated nginx, which serves on port 80 and connects to the containers on port 8000 kubectl expose rc nginx --port=80 --target-port=8000 # Create a service for a replication controller identified by type and name specified in \"nginx-controller.yaml\", which serves on port 80 and connects to the containers on port 8000 kubectl expose -f nginx-controller.yaml --port=80 --target-port=8000 # Create a service for a pod valid-pod, which serves on port 444 with the name \"frontend\" kubectl expose pod valid-pod --port=444 --name=frontend # Create a second service based on the above service, exposing the container port 8443 as port 443 with the name \"nginx-https\" kubectl expose service nginx --port=443 --target-port=8443 --name=nginx-https # Create a service for a replicated streaming application on port 4100 balancing UDP traffic and named 'video-stream'. kubectl expose rc streamer --port=4100 --protocol=UDP --name=video-stream # Create a service for a replicated nginx using replica set, which serves on port 80 and connects to the containers on port 8000 kubectl expose rs nginx --port=80 --target-port=8000 # Create a service for an nginx deployment, which serves on port 80 and connects to the containers on port 8000 kubectl expose deployment nginx --port=80 --target-port=8000 Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--cluster-ip stringClusterIP to be assigned to the service. Leave empty to auto-allocate, or set to 'None' to create a headless service.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--external-ip stringAdditional external IP address (not managed by Kubernetes) to accept for the service. If this I",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_expose/",
    "id": "k8s_00261_qa_4960"
  },
  {
    "question": "When would you use kubectl expose?",
    "answer": "kubectl exposeSynopsisExpose a resource as a new Kubernetes service.Looks up a deployment, service, replica set, replication controller or pod by name and uses the selector for that resource as the selector for a new service on the specified port. A deployment or replica set will be exposed as a service only if its selector is convertible to a selector that service supports, i.e. when the selector contains only the matchLabels component. Note that if no port is specified via --port and the exposed resource has multiple ports, all will be re-used by the new service. Also if no labels are specified, the new service will re-use the labels from the resource it exposes.Possible resources include (case insensitive):pod (po), service (svc), replicationcontroller (rc), deployment (deploy), replicaset (rs)kubectl expose (-f FILENAME | TYPE NAME) [--port=port] [--protocol=TCP|UDP|SCTP] [--target-port=number-or-name] [--name=name] [--external-ip=external-ip-of-service] [--type=type] Examples # Create a service for a replicated nginx, which serves on port 80 and connects to the containers on port 8000 kubectl expose rc nginx --port=80 --target-port=8000 # Create a service for a replication controller identified by type and name specified in \"nginx-controller.yaml\", which serves on port 80 and connects to the containers on port 8000 kubectl expose -f nginx-controller.yaml --port=80 --target-port=8000 # Create a service for a pod valid-pod, which serves on port 444 with the name \"frontend\" kubectl expose pod valid-pod --port=444 --name=frontend # Create a second service based on the above service, exposing the container port 8443 as port 443 with the name \"nginx-https\" kubectl expose service nginx --port=443 --target-port=8443 --name=nginx-https # Create a service for a replicated streaming application on port 4100 balancing UDP traffic and named 'video-stream'. kubectl expose rc streamer --port=4100 --protocol=UDP --name=video-stream # Create a service for a replicated nginx using replica set, which serves on port 80 and connects to the containers on port 8000 kubectl expose rs nginx --port=80 --target-port=8000 # Create a service for an nginx deployment, which serves on port 80 and connects to the containers on port 8000 kubectl expose deployment nginx --port=80 --target-port=8000 Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--cluster-ip stringClusterIP to be assigned to the service. Leave empty to auto-allocate, or set to 'None' to create a headless service.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--external-ip stringAdditional external IP address (not managed by Kubernetes) to accept for the service. If this I",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_expose/",
    "id": "k8s_00261_qa_4961"
  },
  {
    "question": "What are the benefits of kubectl expose?",
    "answer": "kubectl exposeSynopsisExpose a resource as a new Kubernetes service.Looks up a deployment, service, replica set, replication controller or pod by name and uses the selector for that resource as the selector for a new service on the specified port. A deployment or replica set will be exposed as a service only if its selector is convertible to a selector that service supports, i.e. when the selector contains only the matchLabels component. Note that if no port is specified via --port and the exposed resource has multiple ports, all will be re-used by the new service. Also if no labels are specified, the new service will re-use the labels from the resource it exposes.Possible resources include (case insensitive):pod (po), service (svc), replicationcontroller (rc), deployment (deploy), replicaset (rs)kubectl expose (-f FILENAME | TYPE NAME) [--port=port] [--protocol=TCP|UDP|SCTP] [--target-port=number-or-name] [--name=name] [--external-ip=external-ip-of-service] [--type=type] Examples # Create a service for a replicated nginx, which serves on port 80 and connects to the containers on port 8000 kubectl expose rc nginx --port=80 --target-port=8000 # Create a service for a replication controller identified by type and name specified in \"nginx-controller.yaml\", which serves on port 80 and connects to the containers on port 8000 kubectl expose -f nginx-controller.yaml --port=80 --target-port=8000 # Create a service for a pod valid-pod, which serves on port 444 with the name \"frontend\" kubectl expose pod valid-pod --port=444 --name=frontend # Create a second service based on the above service, exposing the container port 8443 as port 443 with the name \"nginx-https\" kubectl expose service nginx --port=443 --target-port=8443 --name=nginx-https # Create a service for a replicated streaming application on port 4100 balancing UDP traffic and named 'video-stream'. kubectl expose rc streamer --port=4100 --protocol=UDP --name=video-stream # Create a service for a replicated nginx using replica set, which serves on port 80 and connects to the containers on port 8000 kubectl expose rs nginx --port=80 --target-port=8000 # Create a service for an nginx deployment, which serves on port 80 and connects to the containers on port 8000 kubectl expose deployment nginx --port=80 --target-port=8000 Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--cluster-ip stringClusterIP to be assigned to the service. Leave empty to auto-allocate, or set to 'None' to create a headless service.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--external-ip stringAdditional external IP address (not managed by Kubernetes) to accept for the service. If this I",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_expose/",
    "id": "k8s_00261_qa_4962"
  },
  {
    "question": "What is Synopsis?",
    "answer": "E x p o s e   a   r e s o u r c e   a s   a   n e w   K u b e r n e t e s   s e r v i c e .   L o o k s   u p   a   d e p l o y m e n t ,   s e r v i c e ,   r e p l i c a   s e t ,   r e p l i c a t i o n   c o n t r o l l e r   o r   p o d   b y   n a m e   a n d   u s e s   t h e   s e l e c t o r   f o r   t h a t   r e s o u r c e   a s   t h e   s e l e c t o r   f o r   a   n e w   s e r v i c e   o n   t h e   s p e c i f i e d   p o r t .   A   d e p l o y m e n t   o r   r e p l i c a   s e t   w i l l   b e   e x p o s e d   a s   a   s e r v i c e   o n l y   i f   i t s   s e l e c t o r   i s   c o n v e r t i b l e   t o   a   s e l e c t o r   t h a t   s e r v i c e   s u p p o r t s ,   i . e .   w h e n   t h e   s e l e c t o r   c o n t a i n s   o n l y   t h e   m a t c h L a b e l s   c o m p o n e n t .   N o t e   t h a t   i f   n o   p o r t   i s   s p e c i f i e d   v i a   - - p o r t   a n d   t h e   e x p o s e d   r e s o u r c e   h a s   m u l t i p l e   p o r t s ,   a l l   w i l l   b e   r e - u s e d   b y   t h e   n e w   s e r v i c e .   A l s o   i f   n o   l a b e l s   a r e   s p e c i f i e d ,   t h e   n e w   s e r v i c e   w i l l   r e - u s e   t h e   l a b e l s   f r o m   t h e   r e s o u r c e   i t   e x p o s e s .   P o s s i b l e   r e s o u r c e s   i n c l u d e   ( c a s e   i n s e n s i t i v e ) :   p o d   ( p o ) ,   s e r v i c e   ( s v c ) ,   r e p l i c a t i o n c o n t r o l l e r   ( r c ) ,   d e p l o y m e n t   ( d e p l o y ) ,   r e p l i c a s e t   ( r s )   k u b e c t l   e x p o s e   ( - f   F I L E N A M E   |   T Y P E   N A M E )   [ - - p o r t = p o r t ]   [ - - p r o t o c o l = T C P | U D P | S C T P ]   [ - - t a r g e t - p o r t = n u m b e r - o r - n a m e ]   [ - - n a m e = n a m e ]   [ - - e x t e r n a l - i p = e x t e r n a l - i p - o f - s e r v i c e ]   [ - - t y p e = t y p e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_expose/",
    "id": "k8s_00261_section_2_4963"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   s e r v i c e   f o r   a   r e p l i c a t e d   n g i n x ,   w h i c h   s e r v e s   o n   p o r t   8 0   a n d   c o n n e c t s   t o   t h e   c o n t a i n e r s   o n   p o r t   8 0 0 0   k u b e c t l   e x p o s e   r c   n g i n x   - - p o r t = 8 0   - - t a r g e t - p o r t = 8 0 0 0   #   C r e a t e   a   s e r v i c e   f o r   a   r e p l i c a t i o n   c o n t r o l l e r   i d e n t i f i e d   b y   t y p e   a n d   n a m e   s p e c i f i e d   i n   \" n g i n x - c o n t r o l l e r . y a m l \" ,   w h i c h   s e r v e s   o n   p o r t   8 0   a n d   c o n n e c t s   t o   t h e   c o n t a i n e r s   o n   p o r t   8 0 0 0   k u b e c t l   e x p o s e   - f   n g i n x - c o n t r o l l e r . y a m l   - - p o r t = 8 0   - - t a r g e t - p o r t = 8 0 0 0   #   C r e a t e   a   s e r v i c e   f o r   a   p o d   v a l i d - p o d ,   w h i c h   s e r v e s   o n   p o r t   4 4 4   w i t h   t h e   n a m e   \" f r o n t e n d \"   k u b e c t l   e x p o s e   p o d   v a l i d - p o d   - - p o r t = 4 4 4   - - n a m e = f r o n t e n d   #   C r e a t e   a   s e c o n d   s e r v i c e   b a s e d   o n   t h e   a b o v e   s e r v i c e ,   e x p o s i n g   t h e   c o n t a i n e r   p o r t   8 4 4 3   a s   p o r t   4 4 3   w i t h   t h e   n a m e   \" n g i n x - h t t p s \"   k u b e c t l   e x p o s e   s e r v i c e   n g i n x   - - p o r t = 4 4 3   - - t a r g e t - p o r t = 8 4 4 3   - - n a m e = n g i n x - h t t p s   #   C r e a t e   a   s e r v i c e   f o r   a   r e p l i c a t e d   s t r e a m i n g   a p p l i c a t i o n   o n   p o r t   4 1 0 0   b a l a n c i n g   U D P   t r a f f i c   a n d   n a m e d   ' v i d e o - s t r e a m ' .   k u b e c t l   e x p o s e   r c   s t r e a m e r   - - p o r t = 4 1 0 0   - - p r o t o c o l = U D P   - - n a m e = v i d e o - s t r e a m   #   C r e a t e   a   s e r v i c e   f o r   a   r e p l i c a t e d   n g i n x ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_expose/",
    "id": "k8s_00261_section_2_4964"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   C l u s t e r I P   t o   b e   a s s i g n e d   t o   t h e   s e r v i c e .   L e a v e   e m p t y   t o   a u t o - a l l o c a t e ,   o r   s e t   t o   ' N o n e '   t o   c r e a t e   a   h e a d l e s s   s e r v i c e .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   A d d i t i o n a l   e x t e r n a l   I P   a d d r e s s   ( n o t   m a n a g e d   b y   K u b e r n e t e s )   t o   a c c e p t   f o r   t h e   s e r v i c e .   I f   t h i s   I P   i s   r o u t e d   t o   a   n o d e ,   t h e   s e r v i c e   c a n   b e   a c c e s s e d   b y   t h i s   I P   i n   a d d i t i o n   t o   i t s   g e n e r a t e d   s e r v i c e   I P .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   e x p o s e   a   s e r v i c e   h e l p   f o r   e x p o s e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   L a b e l s   t o   a p p l y   t o   t h e   s e r v i c e   c r e a t e d   b y   t h i s   c a l l .   I P   t o   a s s i g n   t o   t h e   L o a d B a l a n c e r .   I f   e m p t y ,   a n   e p h e m ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_expose/",
    "id": "k8s_00261_section_2_4965"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_expose/",
    "id": "k8s_00261_section_2_4966"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_expose/",
    "id": "k8s_00261_section_2_4967"
  },
  {
    "question": "What is Gateway API?",
    "answer": "Gateway APIGateway API is a family of API kinds that provide dynamic infrastructure provisioning and advanced traffic routing.Make network services available by using an extensible, role-oriented, protocol-aware configuration mechanism. Gateway API is an add-on containing API kinds that provide dynamic infrastructure provisioning and advanced traffic routing.Design principlesThe following principles shaped the design and architecture of Gateway API:Role-oriented: Gateway API kinds are modeled after organizational roles that are responsible for managing Kubernetes service networking:Infrastructure Provider: Manages infrastructure that allows multiple isolated clusters to serve multiple tenants, e.g. a cloud provider.Cluster Operator: Manages clusters and is typically concerned with policies, network access, application permissions, etc.Application Developer: Manages an application running in a cluster and is typically concerned with application-level configuration and Service composition.Portable: Gateway API specifications are defined as custom resources and are supported by many implementations.Expressive: Gateway API kinds support functionality for common traffic routing use cases such as header-based matching, traffic weighting, and others that were only possible in Ingress by using custom annotations.Extensible: Gateway allows for custom resources to be linked at various layers of the API. This makes granular customization possible at the appropriate places within the API structure.Resource modelGateway API has four stable API kinds:GatewayClass: Defines a set of gateways with common configuration and managed by a controller that implements the class.Gateway: Defines an instance of traffic handling infrastructure, such as cloud load balancer.HTTPRoute: Defines HTTP-specific rules for mapping traffic from a Gateway listener to a representation of backend network endpoints. These endpoints are often represented as a Service.GRPCRoute: Defines gRPC-specific rules for mapping traffic from a Gateway listener to a representation of backend network endpoints. These endpoints are often represented as a Service.Gateway API is organized into different API kinds that have interdependent relationships to support the role-oriented nature of organizations. A Gateway object is associated with exactly one GatewayClass; the GatewayClass describes the gateway controller responsible for managing Gateways of this class. One or more route kinds such as HTTPRoute, are then associated to Gateways. A Gateway can filter the routes that may be attached to its listeners, forming a bidirectional trust model with routes.The following figure illustrates the relationships of the three stable Gateway API kinds:GatewayClassGateways can be implemented by different controllers, often with different configurations. A Gateway must reference a GatewayClass that contains the name of the controller that implements the class.A minimal GatewayClass example:apiVersion: gateway.network",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/gateway/",
    "id": "k8s_00262_qa_4968"
  },
  {
    "question": "How does Gateway API work?",
    "answer": "Gateway APIGateway API is a family of API kinds that provide dynamic infrastructure provisioning and advanced traffic routing.Make network services available by using an extensible, role-oriented, protocol-aware configuration mechanism. Gateway API is an add-on containing API kinds that provide dynamic infrastructure provisioning and advanced traffic routing.Design principlesThe following principles shaped the design and architecture of Gateway API:Role-oriented: Gateway API kinds are modeled after organizational roles that are responsible for managing Kubernetes service networking:Infrastructure Provider: Manages infrastructure that allows multiple isolated clusters to serve multiple tenants, e.g. a cloud provider.Cluster Operator: Manages clusters and is typically concerned with policies, network access, application permissions, etc.Application Developer: Manages an application running in a cluster and is typically concerned with application-level configuration and Service composition.Portable: Gateway API specifications are defined as custom resources and are supported by many implementations.Expressive: Gateway API kinds support functionality for common traffic routing use cases such as header-based matching, traffic weighting, and others that were only possible in Ingress by using custom annotations.Extensible: Gateway allows for custom resources to be linked at various layers of the API. This makes granular customization possible at the appropriate places within the API structure.Resource modelGateway API has four stable API kinds:GatewayClass: Defines a set of gateways with common configuration and managed by a controller that implements the class.Gateway: Defines an instance of traffic handling infrastructure, such as cloud load balancer.HTTPRoute: Defines HTTP-specific rules for mapping traffic from a Gateway listener to a representation of backend network endpoints. These endpoints are often represented as a Service.GRPCRoute: Defines gRPC-specific rules for mapping traffic from a Gateway listener to a representation of backend network endpoints. These endpoints are often represented as a Service.Gateway API is organized into different API kinds that have interdependent relationships to support the role-oriented nature of organizations. A Gateway object is associated with exactly one GatewayClass; the GatewayClass describes the gateway controller responsible for managing Gateways of this class. One or more route kinds such as HTTPRoute, are then associated to Gateways. A Gateway can filter the routes that may be attached to its listeners, forming a bidirectional trust model with routes.The following figure illustrates the relationships of the three stable Gateway API kinds:GatewayClassGateways can be implemented by different controllers, often with different configurations. A Gateway must reference a GatewayClass that contains the name of the controller that implements the class.A minimal GatewayClass example:apiVersion: gateway.network",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/gateway/",
    "id": "k8s_00262_qa_4969"
  },
  {
    "question": "When would you use Gateway API?",
    "answer": "Gateway APIGateway API is a family of API kinds that provide dynamic infrastructure provisioning and advanced traffic routing.Make network services available by using an extensible, role-oriented, protocol-aware configuration mechanism. Gateway API is an add-on containing API kinds that provide dynamic infrastructure provisioning and advanced traffic routing.Design principlesThe following principles shaped the design and architecture of Gateway API:Role-oriented: Gateway API kinds are modeled after organizational roles that are responsible for managing Kubernetes service networking:Infrastructure Provider: Manages infrastructure that allows multiple isolated clusters to serve multiple tenants, e.g. a cloud provider.Cluster Operator: Manages clusters and is typically concerned with policies, network access, application permissions, etc.Application Developer: Manages an application running in a cluster and is typically concerned with application-level configuration and Service composition.Portable: Gateway API specifications are defined as custom resources and are supported by many implementations.Expressive: Gateway API kinds support functionality for common traffic routing use cases such as header-based matching, traffic weighting, and others that were only possible in Ingress by using custom annotations.Extensible: Gateway allows for custom resources to be linked at various layers of the API. This makes granular customization possible at the appropriate places within the API structure.Resource modelGateway API has four stable API kinds:GatewayClass: Defines a set of gateways with common configuration and managed by a controller that implements the class.Gateway: Defines an instance of traffic handling infrastructure, such as cloud load balancer.HTTPRoute: Defines HTTP-specific rules for mapping traffic from a Gateway listener to a representation of backend network endpoints. These endpoints are often represented as a Service.GRPCRoute: Defines gRPC-specific rules for mapping traffic from a Gateway listener to a representation of backend network endpoints. These endpoints are often represented as a Service.Gateway API is organized into different API kinds that have interdependent relationships to support the role-oriented nature of organizations. A Gateway object is associated with exactly one GatewayClass; the GatewayClass describes the gateway controller responsible for managing Gateways of this class. One or more route kinds such as HTTPRoute, are then associated to Gateways. A Gateway can filter the routes that may be attached to its listeners, forming a bidirectional trust model with routes.The following figure illustrates the relationships of the three stable Gateway API kinds:GatewayClassGateways can be implemented by different controllers, often with different configurations. A Gateway must reference a GatewayClass that contains the name of the controller that implements the class.A minimal GatewayClass example:apiVersion: gateway.network",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/gateway/",
    "id": "k8s_00262_qa_4970"
  },
  {
    "question": "What are the benefits of Gateway API?",
    "answer": "Gateway APIGateway API is a family of API kinds that provide dynamic infrastructure provisioning and advanced traffic routing.Make network services available by using an extensible, role-oriented, protocol-aware configuration mechanism. Gateway API is an add-on containing API kinds that provide dynamic infrastructure provisioning and advanced traffic routing.Design principlesThe following principles shaped the design and architecture of Gateway API:Role-oriented: Gateway API kinds are modeled after organizational roles that are responsible for managing Kubernetes service networking:Infrastructure Provider: Manages infrastructure that allows multiple isolated clusters to serve multiple tenants, e.g. a cloud provider.Cluster Operator: Manages clusters and is typically concerned with policies, network access, application permissions, etc.Application Developer: Manages an application running in a cluster and is typically concerned with application-level configuration and Service composition.Portable: Gateway API specifications are defined as custom resources and are supported by many implementations.Expressive: Gateway API kinds support functionality for common traffic routing use cases such as header-based matching, traffic weighting, and others that were only possible in Ingress by using custom annotations.Extensible: Gateway allows for custom resources to be linked at various layers of the API. This makes granular customization possible at the appropriate places within the API structure.Resource modelGateway API has four stable API kinds:GatewayClass: Defines a set of gateways with common configuration and managed by a controller that implements the class.Gateway: Defines an instance of traffic handling infrastructure, such as cloud load balancer.HTTPRoute: Defines HTTP-specific rules for mapping traffic from a Gateway listener to a representation of backend network endpoints. These endpoints are often represented as a Service.GRPCRoute: Defines gRPC-specific rules for mapping traffic from a Gateway listener to a representation of backend network endpoints. These endpoints are often represented as a Service.Gateway API is organized into different API kinds that have interdependent relationships to support the role-oriented nature of organizations. A Gateway object is associated with exactly one GatewayClass; the GatewayClass describes the gateway controller responsible for managing Gateways of this class. One or more route kinds such as HTTPRoute, are then associated to Gateways. A Gateway can filter the routes that may be attached to its listeners, forming a bidirectional trust model with routes.The following figure illustrates the relationships of the three stable Gateway API kinds:GatewayClassGateways can be implemented by different controllers, often with different configurations. A Gateway must reference a GatewayClass that contains the name of the controller that implements the class.A minimal GatewayClass example:apiVersion: gateway.network",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/gateway/",
    "id": "k8s_00262_qa_4971"
  },
  {
    "question": "What is Gateway API?",
    "answer": "M a k e   n e t w o r k   s e r v i c e s   a v a i l a b l e   b y   u s i n g   a n   e x t e n s i b l e ,   r o l e - o r i e n t e d ,   p r o t o c o l - a w a r e   c o n f i g u r a t i o n   m e c h a n i s m .   G a t e w a y   A P I   i s   a n   a d d - o n   c o n t a i n i n g   A P I   k i n d s   t h a t   p r o v i d e   d y n a m i c   i n f r a s t r u c t u r e   p r o v i s i o n i n g   a n d   a d v a n c e d   t r a f f i c   r o u t i n g .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/gateway/",
    "id": "k8s_00262_section_1_4972"
  },
  {
    "question": "What is Design principles?",
    "answer": "T h e   f o l l o w i n g   p r i n c i p l e s   s h a p e d   t h e   d e s i g n   a n d   a r c h i t e c t u r e   o f   G a t e w a y   A P I :   R o l e - o r i e n t e d :   G a t e w a y   A P I   k i n d s   a r e   m o d e l e d   a f t e r   o r g a n i z a t i o n a l   r o l e s   t h a t   a r e   r e s p o n s i b l e   f o r   m a n a g i n g   K u b e r n e t e s   s e r v i c e   n e t w o r k i n g : I n f r a s t r u c t u r e   P r o v i d e r :   M a n a g e s   i n f r a s t r u c t u r e   t h a t   a l l o w s   m u l t i p l e   i s o l a t e d   c l u s t e r s   t o   s e r v e   m u l t i p l e   t e n a n t s ,   e . g .   a   c l o u d   p r o v i d e r . C l u s t e r   O p e r a t o r :   M a n a g e s   c l u s t e r s   a n d   i s   t y p i c a l l y   c o n c e r n e d   w i t h   p o l i c i e s ,   n e t w o r k   a c c e s s ,   a p p l i c a t i o n   p e r m i s s i o n s ,   e t c . A p p l i c a t i o n   D e v e l o p e r :   M a n a g e s   a n   a p p l i c a t i o n   r u n n i n g   i n   a   c l u s t e r   a n d   i s   t y p i c a l l y   c o n c e r n e d   w i t h   a p p l i c a t i o n - l e v e l   c o n f i g u r a t i o n   a n d   S e r v i c e   c o m p o s i t i o n . P o r t a b l e :   G a t e w a y   A P I   s p e c i f i c a t i o n s   a r e   d e f i n e d   a s   c u s t o m   r e s o u r c e s   a n d   a r e   s u p p o r t e d   b y   m a n y   i m p l e m e n t a t i o n s . E x p r e s s i v e :   G a t e w a y   A P I   k i n d s   s u p p o r t   f u n c t i o n a l i t y   f o r   c o m m o n   t r a f f i c   r o u t i n g   u s e   c a s e s   s u c h   a s   h e a d e r - b a s e d   m a t c h i n g ,   t r a f f i c   w e i g h t i n g ,   a n d   o t h e r s   t h a t   w e r e   o n l y   p o s s i b l e   i n   I n g r e s s   b y   u s i n g   c u s t o m   a n n o t a t i o n s . E x t e n s i b l e :   G a t e w a y   a l l o w s   f o r   c u s t o m   r e s o u r c e s   t o   ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/gateway/",
    "id": "k8s_00262_section_2_4973"
  },
  {
    "question": "What is Resource model?",
    "answer": "G a t e w a y   A P I   h a s   f o u r   s t a b l e   A P I   k i n d s :   G a t e w a y C l a s s :   D e f i n e s   a   s e t   o f   g a t e w a y s   w i t h   c o m m o n   c o n f i g u r a t i o n   a n d   m a n a g e d   b y   a   c o n t r o l l e r   t h a t   i m p l e m e n t s   t h e   c l a s s . G a t e w a y :   D e f i n e s   a n   i n s t a n c e   o f   t r a f f i c   h a n d l i n g   i n f r a s t r u c t u r e ,   s u c h   a s   c l o u d   l o a d   b a l a n c e r . H T T P R o u t e :   D e f i n e s   H T T P - s p e c i f i c   r u l e s   f o r   m a p p i n g   t r a f f i c   f r o m   a   G a t e w a y   l i s t e n e r   t o   a   r e p r e s e n t a t i o n   o f   b a c k e n d   n e t w o r k   e n d p o i n t s .   T h e s e   e n d p o i n t s   a r e   o f t e n   r e p r e s e n t e d   a s   a   S e r v i c e . G R P C R o u t e :   D e f i n e s   g R P C - s p e c i f i c   r u l e s   f o r   m a p p i n g   t r a f f i c   f r o m   a   G a t e w a y   l i s t e n e r   t o   a   r e p r e s e n t a t i o n   o f   b a c k e n d   n e t w o r k   e n d p o i n t s .   T h e s e   e n d p o i n t s   a r e   o f t e n   r e p r e s e n t e d   a s   a   S e r v i c e .   G a t e w a y C l a s s :   D e f i n e s   a   s e t   o f   g a t e w a y s   w i t h   c o m m o n   c o n f i g u r a t i o n   a n d   m a n a g e d   b y   a   c o n t r o l l e r   t h a t   i m p l e m e n t s   t h e   c l a s s .   G a t e w a y :   D e f i n e s   a n   i n s t a n c e   o f   t r a f f i c   h a n d l i n g   i n f r a s t r u c t u r e ,   s u c h   a s   c l o u d   l o a d   b a l a n c e r .   H T T P R o u t e :   D e f i n e s   H T T P - s p e c i f i c   r u l e s   f o r   m a p p i n g   t r a f f i c   f r o m   a   G a t e w a y   l i s t e n e r   t o   a   r e p r e s e n t a t i o n   o f   b a c k e n d   n e t w o r k   e n d p o i n t s .   T h e s e   e n d p o i n t s   a r e   o f t e n   r e p r e ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/gateway/",
    "id": "k8s_00262_section_2_4974"
  },
  {
    "question": "What is GatewayClass?",
    "answer": "G a t e w a y s   c a n   b e   i m p l e m e n t e d   b y   d i f f e r e n t   c o n t r o l l e r s ,   o f t e n   w i t h   d i f f e r e n t   c o n f i g u r a t i o n s .   A   G a t e w a y   m u s t   r e f e r e n c e   a   G a t e w a y C l a s s   t h a t   c o n t a i n s   t h e   n a m e   o f   t h e   c o n t r o l l e r   t h a t   i m p l e m e n t s   t h e   c l a s s .   A   m i n i m a l   G a t e w a y C l a s s   e x a m p l e :   a p i V e r s i o n :   g a t e w a y . n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   G a t e w a y C l a s s   m e t a d a t a :   n a m e :   e x a m p l e - c l a s s   s p e c :   c o n t r o l l e r N a m e :   e x a m p l e . c o m / g a t e w a y - c o n t r o l l e r   I n   t h i s   e x a m p l e ,   a   c o n t r o l l e r   t h a t   h a s   i m p l e m e n t e d   G a t e w a y   A P I   i s   c o n f i g u r e d   t o   m a n a g e   G a t e w a y C l a s s e s   w i t h   t h e   c o n t r o l l e r   n a m e   e x a m p l e . c o m / g a t e w a y - c o n t r o l l e r .   G a t e w a y s   o f   t h i s   c l a s s   w i l l   b e   m a n a g e d   b y   t h e   i m p l e m e n t a t i o n ' s   c o n t r o l l e r .   S e e   t h e   G a t e w a y C l a s s   r e f e r e n c e   f o r   a   f u l l   d e f i n i t i o n   o f   t h i s   A P I   k i n d .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/gateway/",
    "id": "k8s_00262_section_3_4975"
  },
  {
    "question": "What is Gateway?",
    "answer": "A   G a t e w a y   d e s c r i b e s   a n   i n s t a n c e   o f   t r a f f i c   h a n d l i n g   i n f r a s t r u c t u r e .   I t   d e f i n e s   a   n e t w o r k   e n d p o i n t   t h a t   c a n   b e   u s e d   f o r   p r o c e s s i n g   t r a f f i c ,   i . e .   f i l t e r i n g ,   b a l a n c i n g ,   s p l i t t i n g ,   e t c .   f o r   b a c k e n d s   s u c h   a s   a   S e r v i c e .   F o r   e x a m p l e ,   a   G a t e w a y   m a y   r e p r e s e n t   a   c l o u d   l o a d   b a l a n c e r   o r   a n   i n - c l u s t e r   p r o x y   s e r v e r   t h a t   i s   c o n f i g u r e d   t o   a c c e p t   H T T P   t r a f f i c .   A   m i n i m a l   G a t e w a y   r e s o u r c e   e x a m p l e :   a p i V e r s i o n :   g a t e w a y . n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   G a t e w a y   m e t a d a t a :   n a m e :   e x a m p l e - g a t e w a y   s p e c :   g a t e w a y C l a s s N a m e :   e x a m p l e - c l a s s   l i s t e n e r s :   -   n a m e :   h t t p   p r o t o c o l :   H T T P   p o r t :   8 0   I n   t h i s   e x a m p l e ,   a n   i n s t a n c e   o f   t r a f f i c   h a n d l i n g   i n f r a s t r u c t u r e   i s   p r o g r a m m e d   t o   l i s t e n   f o r   H T T P   t r a f f i c   o n   p o r t   8 0 .   S i n c e   t h e   a d d r e s s e s   f i e l d   i s   u n s p e c i f i e d ,   a n   a d d r e s s   o r   h o s t n a m e   i s   a s s i g n e d   t o   t h e   G a t e w a y   b y   t h e   i m p l e m e n t a t i o n ' s   c o n t r o l l e r .   T h i s   a d d r e s s   i s   u s e d   a s   a   n e t w o r k   e n d p o i n t   f o r   p r o c e s s i n g   t r a f f i c   o f   b a c k e n d   n e t w o r k   e n d p o i n t s   d e f i n e d   i n   r o u t e s .   S e e   t h e   G a t e w a y   r e f e r e n c e   f o r   a   f u l l   d e f i n i t i o n   o f   t h i s   A P I   k i n d .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/gateway/",
    "id": "k8s_00262_section_3_4976"
  },
  {
    "question": "What is HTTPRoute?",
    "answer": "T h e   H T T P R o u t e   k i n d   s p e c i f i e s   r o u t i n g   b e h a v i o r   o f   H T T P   r e q u e s t s   f r o m   a   G a t e w a y   l i s t e n e r   t o   b a c k e n d   n e t w o r k   e n d p o i n t s .   F o r   a   S e r v i c e   b a c k e n d ,   a n   i m p l e m e n t a t i o n   m a y   r e p r e s e n t   t h e   b a c k e n d   n e t w o r k   e n d p o i n t   a s   a   S e r v i c e   I P   o r   t h e   b a c k i n g   E n d p o i n t S l i c e s   o f   t h e   S e r v i c e .   A n   H T T P R o u t e   r e p r e s e n t s   c o n f i g u r a t i o n   t h a t   i s   a p p l i e d   t o   t h e   u n d e r l y i n g   G a t e w a y   i m p l e m e n t a t i o n .   F o r   e x a m p l e ,   d e f i n i n g   a   n e w   H T T P R o u t e   m a y   r e s u l t   i n   c o n f i g u r i n g   a d d i t i o n a l   t r a f f i c   r o u t e s   i n   a   c l o u d   l o a d   b a l a n c e r   o r   i n - c l u s t e r   p r o x y   s e r v e r .   A   m i n i m a l   H T T P R o u t e   e x a m p l e :   a p i V e r s i o n :   g a t e w a y . n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   H T T P R o u t e   m e t a d a t a :   n a m e :   e x a m p l e - h t t p r o u t e   s p e c :   p a r e n t R e f s :   -   n a m e :   e x a m p l e - g a t e w a y   h o s t n a m e s :   -   \" w w w . e x a m p l e . c o m \"   r u l e s :   -   m a t c h e s :   -   p a t h :   t y p e :   P a t h P r e f i x   v a l u e :   / l o g i n   b a c k e n d R e f s :   -   n a m e :   e x a m p l e - s v c   p o r t :   8 0 8 0   I n   t h i s   e x a m p l e ,   H T T P   t r a f f i c   f r o m   G a t e w a y   e x a m p l e - g a t e w a y   w i t h   t h e   H o s t :   h e a d e r   s e t   t o   w w w . e x a m p l e . c o m   a n d   t h e   r e q u e s t   p a t h   s p e c i f i e d   a s   / l o g i n   w i l l   b e   r o u t e d   t o   S e r v i c e   e x a m p l e - s v c   o n   p o r t   8 0 8 0 .   S e e   t h e ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/gateway/",
    "id": "k8s_00262_section_3_4977"
  },
  {
    "question": "What is GRPCRoute?",
    "answer": "T h e   G R P C R o u t e   k i n d   s p e c i f i e s   r o u t i n g   b e h a v i o r   o f   g R P C   r e q u e s t s   f r o m   a   G a t e w a y   l i s t e n e r   t o   b a c k e n d   n e t w o r k   e n d p o i n t s .   F o r   a   S e r v i c e   b a c k e n d ,   a n   i m p l e m e n t a t i o n   m a y   r e p r e s e n t   t h e   b a c k e n d   n e t w o r k   e n d p o i n t   a s   a   S e r v i c e   I P   o r   t h e   b a c k i n g   E n d p o i n t S l i c e s   o f   t h e   S e r v i c e .   A   G R P C R o u t e   r e p r e s e n t s   c o n f i g u r a t i o n   t h a t   i s   a p p l i e d   t o   t h e   u n d e r l y i n g   G a t e w a y   i m p l e m e n t a t i o n .   F o r   e x a m p l e ,   d e f i n i n g   a   n e w   G R P C R o u t e   m a y   r e s u l t   i n   c o n f i g u r i n g   a d d i t i o n a l   t r a f f i c   r o u t e s   i n   a   c l o u d   l o a d   b a l a n c e r   o r   i n - c l u s t e r   p r o x y   s e r v e r .   G a t e w a y s   s u p p o r t i n g   G R P C R o u t e   a r e   r e q u i r e d   t o   s u p p o r t   H T T P / 2   w i t h o u t   a n   i n i t i a l   u p g r a d e   f r o m   H T T P / 1 ,   s o   g R P C   t r a f f i c   i s   g u a r a n t e e d   t o   f l o w   p r o p e r l y .   A   m i n i m a l   G R P C R o u t e   e x a m p l e :   a p i V e r s i o n :   g a t e w a y . n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   G R P C R o u t e   m e t a d a t a :   n a m e :   e x a m p l e - g r p c r o u t e   s p e c :   p a r e n t R e f s :   -   n a m e :   e x a m p l e - g a t e w a y   h o s t n a m e s :   -   \" s v c . e x a m p l e . c o m \"   r u l e s :   -   b a c k e n d R e f s :   -   n a m e :   e x a m p l e - s v c   p o r t :   5 0 0 5 1   I n   t h i s   e x a m p l e ,   g R P C   t r a f f i c   f r o m   G a t e w a y   e x a m p l e - g a t e w a y   w i t h   t h e   h o s t   s e t   t o   s v c . e x a m p l e . c o m   w i l l   b e ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/gateway/",
    "id": "k8s_00262_section_3_4978"
  },
  {
    "question": "What is Request flow?",
    "answer": "H e r e   i s   a   s i m p l e   e x a m p l e   o f   H T T P   t r a f f i c   b e i n g   r o u t e d   t o   a   S e r v i c e   b y   u s i n g   a   G a t e w a y   a n d   a n   H T T P R o u t e :   I n   t h i s   e x a m p l e ,   t h e   r e q u e s t   f l o w   f o r   a   G a t e w a y   i m p l e m e n t e d   a s   a   r e v e r s e   p r o x y   i s :   T h e   c l i e n t   s t a r t s   t o   p r e p a r e   a n   H T T P   r e q u e s t   f o r   t h e   U R L   h t t p : / / w w w . e x a m p l e . c o m T h e   c l i e n t ' s   D N S   r e s o l v e r   q u e r i e s   f o r   t h e   d e s t i n a t i o n   n a m e   a n d   l e a r n s   a   m a p p i n g   t o   o n e   o r   m o r e   I P   a d d r e s s e s   a s s o c i a t e d   w i t h   t h e   G a t e w a y . T h e   c l i e n t   s e n d s   a   r e q u e s t   t o   t h e   G a t e w a y   I P   a d d r e s s ;   t h e   r e v e r s e   p r o x y   r e c e i v e s   t h e   H T T P   r e q u e s t   a n d   u s e s   t h e   H o s t :   h e a d e r   t o   m a t c h   a   c o n f i g u r a t i o n   t h a t   w a s   d e r i v e d   f r o m   t h e   G a t e w a y   a n d   a t t a c h e d   H T T P R o u t e . O p t i o n a l l y ,   t h e   r e v e r s e   p r o x y   c a n   p e r f o r m   r e q u e s t   h e a d e r   a n d / o r   p a t h   m a t c h i n g   b a s e d   o n   m a t c h   r u l e s   o f   t h e   H T T P R o u t e . O p t i o n a l l y ,   t h e   r e v e r s e   p r o x y   c a n   m o d i f y   t h e   r e q u e s t ;   f o r   e x a m p l e ,   t o   a d d   o r   r e m o v e   h e a d e r s ,   b a s e d   o n   f i l t e r   r u l e s   o f   t h e   H T T P R o u t e . L a s t l y ,   t h e   r e v e r s e   p r o x y   f o r w a r d s   t h e   r e q u e s t   t o   o n e   o r   m o r e   b a c k e n d s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/gateway/",
    "id": "k8s_00262_section_2_4979"
  },
  {
    "question": "What is Conformance?",
    "answer": "G a t e w a y   A P I   c o v e r s   a   b r o a d   s e t   o f   f e a t u r e s   a n d   i s   w i d e l y   i m p l e m e n t e d .   T h i s   c o m b i n a t i o n   r e q u i r e s   c l e a r   c o n f o r m a n c e   d e f i n i t i o n s   a n d   t e s t s   t o   e n s u r e   t h a t   t h e   A P I   p r o v i d e s   a   c o n s i s t e n t   e x p e r i e n c e   w h e r e v e r   i t   i s   u s e d .   S e e   t h e   c o n f o r m a n c e   d o c u m e n t a t i o n   t o   u n d e r s t a n d   d e t a i l s   s u c h   a s   r e l e a s e   c h a n n e l s ,   s u p p o r t   l e v e l s ,   a n d   r u n n i n g   c o n f o r m a n c e   t e s t s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/gateway/",
    "id": "k8s_00262_section_2_4980"
  },
  {
    "question": "What is Migrating from Ingress?",
    "answer": "G a t e w a y   A P I   i s   t h e   s u c c e s s o r   t o   t h e   I n g r e s s   A P I .   H o w e v e r ,   i t   d o e s   n o t   i n c l u d e   t h e   I n g r e s s   k i n d .   A s   a   r e s u l t ,   a   o n e - t i m e   c o n v e r s i o n   f r o m   y o u r   e x i s t i n g   I n g r e s s   r e s o u r c e s   t o   G a t e w a y   A P I   r e s o u r c e s   i s   n e c e s s a r y .   R e f e r   t o   t h e   i n g r e s s   m i g r a t i o n   g u i d e   f o r   d e t a i l s   o n   m i g r a t i n g   I n g r e s s   r e s o u r c e s   t o   G a t e w a y   A P I   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/gateway/",
    "id": "k8s_00262_section_2_4981"
  },
  {
    "question": "What is What's next?",
    "answer": "I n s t e a d   o f   G a t e w a y   A P I   r e s o u r c e s   b e i n g   n a t i v e l y   i m p l e m e n t e d   b y   K u b e r n e t e s ,   t h e   s p e c i f i c a t i o n s   a r e   d e f i n e d   a s   C u s t o m   R e s o u r c e s   s u p p o r t e d   b y   a   w i d e   r a n g e   o f   i m p l e m e n t a t i o n s .   I n s t a l l   t h e   G a t e w a y   A P I   C R D s   o r   f o l l o w   t h e   i n s t a l l a t i o n   i n s t r u c t i o n s   o f   y o u r   s e l e c t e d   i m p l e m e n t a t i o n .   A f t e r   i n s t a l l i n g   a n   i m p l e m e n t a t i o n ,   u s e   t h e   G e t t i n g   S t a r t e d   g u i d e   t o   h e l p   y o u   q u i c k l y   s t a r t   w o r k i n g   w i t h   G a t e w a y   A P I .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/gateway/",
    "id": "k8s_00262_section_2_4982"
  },
  {
    "question": "What is Note:?",
    "answer": "R e f e r   t o   t h e   A P I   s p e c i f i c a t i o n   f o r   a d d i t i o n a l   d e t a i l s   o f   a l l   G a t e w a y   A P I   k i n d s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/gateway/",
    "id": "k8s_00262_section_4_4983"
  },
  {
    "question": "What is Kubernetes API Server Bypass Risks?",
    "answer": "Kubernetes API Server Bypass RisksSecurity architecture information relating to the API server and other componentsThe Kubernetes API server is the main point of entry to a cluster for external parties (users and services) interacting with it.As part of this role, the API server has several key built-in security controls, such as audit logging and admission controllers. However, there are ways to modify the configuration or content of the cluster that bypass these controls.This page describes the ways in which the security controls built into the Kubernetes API server can be bypassed, so that cluster operators and security architects can ensure that these bypasses are appropriately restricted.Static PodsThe kubelet on each node loads and directly manages any manifests that are stored in a named directory or fetched from a specific URL as static Pods in your cluster. The API server doesn't manage these static Pods. An attacker with write access to this location could modify the configuration of static pods loaded from that source, or could introduce new static Pods.Static Pods are restricted from accessing other objects in the Kubernetes API. For example, you can't configure a static Pod to mount a Secret from the cluster. However, these Pods can take other security sensitive actions, such as using hostPath mounts from the underlying node.By default, the kubelet creates a mirror pod so that the static Pods are visible in the Kubernetes API. However, if the attacker uses an invalid namespace name when creating the Pod, it will not be visible in the Kubernetes API and can only be discovered by tooling that has access to the affected host(s).If a static Pod fails admission control, the kubelet won't register the Pod with the API server. However, the Pod still runs on the node. For more information, refer to kubeadm issue #1541.MitigationsOnly enable the kubelet static Pod manifest functionality if required by the node.If a node uses the static Pod functionality, restrict filesystem access to the static Pod manifest directory or URL to users who need the access.Restrict access to kubelet configuration parameters and files to prevent an attacker setting a static Pod path or URL.Regularly audit and centrally report all access to directories or web storage locations that host static Pod manifests and kubelet configuration files.The kubelet APIThe kubelet provides an HTTP API that is typically exposed on TCP port 10250 on cluster worker nodes. The API might also be exposed on control plane nodes depending on the Kubernetes distribution in use. Direct access to the API allows for disclosure of information about the pods running on a node, the logs from those pods, and execution of commands in every container running on the node.When Kubernetes cluster users have RBAC access to Node object sub-resources, that access serves as authorization to interact with the kubelet API. The exact access depends on which sub-resource access has been granted, as detailed i",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/api-server-bypass-risks/",
    "id": "k8s_00263_qa_4984"
  },
  {
    "question": "How does Kubernetes API Server Bypass Risks work?",
    "answer": "Kubernetes API Server Bypass RisksSecurity architecture information relating to the API server and other componentsThe Kubernetes API server is the main point of entry to a cluster for external parties (users and services) interacting with it.As part of this role, the API server has several key built-in security controls, such as audit logging and admission controllers. However, there are ways to modify the configuration or content of the cluster that bypass these controls.This page describes the ways in which the security controls built into the Kubernetes API server can be bypassed, so that cluster operators and security architects can ensure that these bypasses are appropriately restricted.Static PodsThe kubelet on each node loads and directly manages any manifests that are stored in a named directory or fetched from a specific URL as static Pods in your cluster. The API server doesn't manage these static Pods. An attacker with write access to this location could modify the configuration of static pods loaded from that source, or could introduce new static Pods.Static Pods are restricted from accessing other objects in the Kubernetes API. For example, you can't configure a static Pod to mount a Secret from the cluster. However, these Pods can take other security sensitive actions, such as using hostPath mounts from the underlying node.By default, the kubelet creates a mirror pod so that the static Pods are visible in the Kubernetes API. However, if the attacker uses an invalid namespace name when creating the Pod, it will not be visible in the Kubernetes API and can only be discovered by tooling that has access to the affected host(s).If a static Pod fails admission control, the kubelet won't register the Pod with the API server. However, the Pod still runs on the node. For more information, refer to kubeadm issue #1541.MitigationsOnly enable the kubelet static Pod manifest functionality if required by the node.If a node uses the static Pod functionality, restrict filesystem access to the static Pod manifest directory or URL to users who need the access.Restrict access to kubelet configuration parameters and files to prevent an attacker setting a static Pod path or URL.Regularly audit and centrally report all access to directories or web storage locations that host static Pod manifests and kubelet configuration files.The kubelet APIThe kubelet provides an HTTP API that is typically exposed on TCP port 10250 on cluster worker nodes. The API might also be exposed on control plane nodes depending on the Kubernetes distribution in use. Direct access to the API allows for disclosure of information about the pods running on a node, the logs from those pods, and execution of commands in every container running on the node.When Kubernetes cluster users have RBAC access to Node object sub-resources, that access serves as authorization to interact with the kubelet API. The exact access depends on which sub-resource access has been granted, as detailed i",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/api-server-bypass-risks/",
    "id": "k8s_00263_qa_4985"
  },
  {
    "question": "When would you use Kubernetes API Server Bypass Risks?",
    "answer": "Kubernetes API Server Bypass RisksSecurity architecture information relating to the API server and other componentsThe Kubernetes API server is the main point of entry to a cluster for external parties (users and services) interacting with it.As part of this role, the API server has several key built-in security controls, such as audit logging and admission controllers. However, there are ways to modify the configuration or content of the cluster that bypass these controls.This page describes the ways in which the security controls built into the Kubernetes API server can be bypassed, so that cluster operators and security architects can ensure that these bypasses are appropriately restricted.Static PodsThe kubelet on each node loads and directly manages any manifests that are stored in a named directory or fetched from a specific URL as static Pods in your cluster. The API server doesn't manage these static Pods. An attacker with write access to this location could modify the configuration of static pods loaded from that source, or could introduce new static Pods.Static Pods are restricted from accessing other objects in the Kubernetes API. For example, you can't configure a static Pod to mount a Secret from the cluster. However, these Pods can take other security sensitive actions, such as using hostPath mounts from the underlying node.By default, the kubelet creates a mirror pod so that the static Pods are visible in the Kubernetes API. However, if the attacker uses an invalid namespace name when creating the Pod, it will not be visible in the Kubernetes API and can only be discovered by tooling that has access to the affected host(s).If a static Pod fails admission control, the kubelet won't register the Pod with the API server. However, the Pod still runs on the node. For more information, refer to kubeadm issue #1541.MitigationsOnly enable the kubelet static Pod manifest functionality if required by the node.If a node uses the static Pod functionality, restrict filesystem access to the static Pod manifest directory or URL to users who need the access.Restrict access to kubelet configuration parameters and files to prevent an attacker setting a static Pod path or URL.Regularly audit and centrally report all access to directories or web storage locations that host static Pod manifests and kubelet configuration files.The kubelet APIThe kubelet provides an HTTP API that is typically exposed on TCP port 10250 on cluster worker nodes. The API might also be exposed on control plane nodes depending on the Kubernetes distribution in use. Direct access to the API allows for disclosure of information about the pods running on a node, the logs from those pods, and execution of commands in every container running on the node.When Kubernetes cluster users have RBAC access to Node object sub-resources, that access serves as authorization to interact with the kubelet API. The exact access depends on which sub-resource access has been granted, as detailed i",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/api-server-bypass-risks/",
    "id": "k8s_00263_qa_4986"
  },
  {
    "question": "What are the benefits of Kubernetes API Server Bypass Risks?",
    "answer": "Kubernetes API Server Bypass RisksSecurity architecture information relating to the API server and other componentsThe Kubernetes API server is the main point of entry to a cluster for external parties (users and services) interacting with it.As part of this role, the API server has several key built-in security controls, such as audit logging and admission controllers. However, there are ways to modify the configuration or content of the cluster that bypass these controls.This page describes the ways in which the security controls built into the Kubernetes API server can be bypassed, so that cluster operators and security architects can ensure that these bypasses are appropriately restricted.Static PodsThe kubelet on each node loads and directly manages any manifests that are stored in a named directory or fetched from a specific URL as static Pods in your cluster. The API server doesn't manage these static Pods. An attacker with write access to this location could modify the configuration of static pods loaded from that source, or could introduce new static Pods.Static Pods are restricted from accessing other objects in the Kubernetes API. For example, you can't configure a static Pod to mount a Secret from the cluster. However, these Pods can take other security sensitive actions, such as using hostPath mounts from the underlying node.By default, the kubelet creates a mirror pod so that the static Pods are visible in the Kubernetes API. However, if the attacker uses an invalid namespace name when creating the Pod, it will not be visible in the Kubernetes API and can only be discovered by tooling that has access to the affected host(s).If a static Pod fails admission control, the kubelet won't register the Pod with the API server. However, the Pod still runs on the node. For more information, refer to kubeadm issue #1541.MitigationsOnly enable the kubelet static Pod manifest functionality if required by the node.If a node uses the static Pod functionality, restrict filesystem access to the static Pod manifest directory or URL to users who need the access.Restrict access to kubelet configuration parameters and files to prevent an attacker setting a static Pod path or URL.Regularly audit and centrally report all access to directories or web storage locations that host static Pod manifests and kubelet configuration files.The kubelet APIThe kubelet provides an HTTP API that is typically exposed on TCP port 10250 on cluster worker nodes. The API might also be exposed on control plane nodes depending on the Kubernetes distribution in use. Direct access to the API allows for disclosure of information about the pods running on a node, the logs from those pods, and execution of commands in every container running on the node.When Kubernetes cluster users have RBAC access to Node object sub-resources, that access serves as authorization to interact with the kubelet API. The exact access depends on which sub-resource access has been granted, as detailed i",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/api-server-bypass-risks/",
    "id": "k8s_00263_qa_4987"
  },
  {
    "question": "What is Kubernetes API Server Bypass Risks?",
    "answer": "T h e   K u b e r n e t e s   A P I   s e r v e r   i s   t h e   m a i n   p o i n t   o f   e n t r y   t o   a   c l u s t e r   f o r   e x t e r n a l   p a r t i e s   ( u s e r s   a n d   s e r v i c e s )   i n t e r a c t i n g   w i t h   i t .   A s   p a r t   o f   t h i s   r o l e ,   t h e   A P I   s e r v e r   h a s   s e v e r a l   k e y   b u i l t - i n   s e c u r i t y   c o n t r o l s ,   s u c h   a s   a u d i t   l o g g i n g   a n d   a d m i s s i o n   c o n t r o l l e r s .   H o w e v e r ,   t h e r e   a r e   w a y s   t o   m o d i f y   t h e   c o n f i g u r a t i o n   o r   c o n t e n t   o f   t h e   c l u s t e r   t h a t   b y p a s s   t h e s e   c o n t r o l s .   T h i s   p a g e   d e s c r i b e s   t h e   w a y s   i n   w h i c h   t h e   s e c u r i t y   c o n t r o l s   b u i l t   i n t o   t h e   K u b e r n e t e s   A P I   s e r v e r   c a n   b e   b y p a s s e d ,   s o   t h a t   c l u s t e r   o p e r a t o r s   a n d   s e c u r i t y   a r c h i t e c t s   c a n   e n s u r e   t h a t   t h e s e   b y p a s s e s   a r e   a p p r o p r i a t e l y   r e s t r i c t e d .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/api-server-bypass-risks/",
    "id": "k8s_00263_section_1_4988"
  },
  {
    "question": "What is Static Pods?",
    "answer": "T h e   k u b e l e t   o n   e a c h   n o d e   l o a d s   a n d   d i r e c t l y   m a n a g e s   a n y   m a n i f e s t s   t h a t   a r e   s t o r e d   i n   a   n a m e d   d i r e c t o r y   o r   f e t c h e d   f r o m   a   s p e c i f i c   U R L   a s   s t a t i c   P o d s   i n   y o u r   c l u s t e r .   T h e   A P I   s e r v e r   d o e s n ' t   m a n a g e   t h e s e   s t a t i c   P o d s .   A n   a t t a c k e r   w i t h   w r i t e   a c c e s s   t o   t h i s   l o c a t i o n   c o u l d   m o d i f y   t h e   c o n f i g u r a t i o n   o f   s t a t i c   p o d s   l o a d e d   f r o m   t h a t   s o u r c e ,   o r   c o u l d   i n t r o d u c e   n e w   s t a t i c   P o d s .   S t a t i c   P o d s   a r e   r e s t r i c t e d   f r o m   a c c e s s i n g   o t h e r   o b j e c t s   i n   t h e   K u b e r n e t e s   A P I .   F o r   e x a m p l e ,   y o u   c a n ' t   c o n f i g u r e   a   s t a t i c   P o d   t o   m o u n t   a   S e c r e t   f r o m   t h e   c l u s t e r .   H o w e v e r ,   t h e s e   P o d s   c a n   t a k e   o t h e r   s e c u r i t y   s e n s i t i v e   a c t i o n s ,   s u c h   a s   u s i n g   h o s t P a t h   m o u n t s   f r o m   t h e   u n d e r l y i n g   n o d e .   B y   d e f a u l t ,   t h e   k u b e l e t   c r e a t e s   a   m i r r o r   p o d   s o   t h a t   t h e   s t a t i c   P o d s   a r e   v i s i b l e   i n   t h e   K u b e r n e t e s   A P I .   H o w e v e r ,   i f   t h e   a t t a c k e r   u s e s   a n   i n v a l i d   n a m e s p a c e   n a m e   w h e n   c r e a t i n g   t h e   P o d ,   i t   w i l l   n o t   b e   v i s i b l e   i n   t h e   K u b e r n e t e s   A P I   a n d   c a n   o n l y   b e   d i s c o v e r e d   b y   t o o l i n g   t h a t   h a s   a c c e s s   t o   t h e   a f f e c t e d   h o s t ( s ) .   I f   a   s t a t i c   P o d   f a i l s   a d m i s s i o n   c o n t r o l ,   t h e ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/api-server-bypass-risks/",
    "id": "k8s_00263_section_2_4989"
  },
  {
    "question": "What is Mitigations?",
    "answer": "O n l y   e n a b l e   t h e   k u b e l e t   s t a t i c   P o d   m a n i f e s t   f u n c t i o n a l i t y   i f   r e q u i r e d   b y   t h e   n o d e . I f   a   n o d e   u s e s   t h e   s t a t i c   P o d   f u n c t i o n a l i t y ,   r e s t r i c t   f i l e s y s t e m   a c c e s s   t o   t h e   s t a t i c   P o d   m a n i f e s t   d i r e c t o r y   o r   U R L   t o   u s e r s   w h o   n e e d   t h e   a c c e s s . R e s t r i c t   a c c e s s   t o   k u b e l e t   c o n f i g u r a t i o n   p a r a m e t e r s   a n d   f i l e s   t o   p r e v e n t   a n   a t t a c k e r   s e t t i n g   a   s t a t i c   P o d   p a t h   o r   U R L . R e g u l a r l y   a u d i t   a n d   c e n t r a l l y   r e p o r t   a l l   a c c e s s   t o   d i r e c t o r i e s   o r   w e b   s t o r a g e   l o c a t i o n s   t h a t   h o s t   s t a t i c   P o d   m a n i f e s t s   a n d   k u b e l e t   c o n f i g u r a t i o n   f i l e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/api-server-bypass-risks/",
    "id": "k8s_00263_section_3_4990"
  },
  {
    "question": "What is The kubelet API?",
    "answer": "T h e   k u b e l e t   p r o v i d e s   a n   H T T P   A P I   t h a t   i s   t y p i c a l l y   e x p o s e d   o n   T C P   p o r t   1 0 2 5 0   o n   c l u s t e r   w o r k e r   n o d e s .   T h e   A P I   m i g h t   a l s o   b e   e x p o s e d   o n   c o n t r o l   p l a n e   n o d e s   d e p e n d i n g   o n   t h e   K u b e r n e t e s   d i s t r i b u t i o n   i n   u s e .   D i r e c t   a c c e s s   t o   t h e   A P I   a l l o w s   f o r   d i s c l o s u r e   o f   i n f o r m a t i o n   a b o u t   t h e   p o d s   r u n n i n g   o n   a   n o d e ,   t h e   l o g s   f r o m   t h o s e   p o d s ,   a n d   e x e c u t i o n   o f   c o m m a n d s   i n   e v e r y   c o n t a i n e r   r u n n i n g   o n   t h e   n o d e .   W h e n   K u b e r n e t e s   c l u s t e r   u s e r s   h a v e   R B A C   a c c e s s   t o   N o d e   o b j e c t   s u b - r e s o u r c e s ,   t h a t   a c c e s s   s e r v e s   a s   a u t h o r i z a t i o n   t o   i n t e r a c t   w i t h   t h e   k u b e l e t   A P I .   T h e   e x a c t   a c c e s s   d e p e n d s   o n   w h i c h   s u b - r e s o u r c e   a c c e s s   h a s   b e e n   g r a n t e d ,   a s   d e t a i l e d   i n   k u b e l e t   a u t h o r i z a t i o n .   D i r e c t   a c c e s s   t o   t h e   k u b e l e t   A P I   i s   n o t   s u b j e c t   t o   a d m i s s i o n   c o n t r o l   a n d   i s   n o t   l o g g e d   b y   K u b e r n e t e s   a u d i t   l o g g i n g .   A n   a t t a c k e r   w i t h   d i r e c t   a c c e s s   t o   t h i s   A P I   m a y   b e   a b l e   t o   b y p a s s   c o n t r o l s   t h a t   d e t e c t   o r   p r e v e n t   c e r t a i n   a c t i o n s .   T h e   k u b e l e t   A P I   c a n   b e   c o n f i g u r e d   t o   a u t h e n t i c a t e   r e q u e s t s   i n   a   n u m b e r   o f   w a y s .   B y   d e f a u l t ,   t h e   k u b e l e t   c o n f i g u r a t i o n   a l l ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/api-server-bypass-risks/",
    "id": "k8s_00263_section_2_4991"
  },
  {
    "question": "What is Mitigations?",
    "answer": "R e s t r i c t   a c c e s s   t o   s u b - r e s o u r c e s   o f   t h e   n o d e s   A P I   o b j e c t   u s i n g   m e c h a n i s m s   s u c h   a s   R B A C .   O n l y   g r a n t   t h i s   a c c e s s   w h e n   r e q u i r e d ,   s u c h   a s   b y   m o n i t o r i n g   s e r v i c e s . R e s t r i c t   a c c e s s   t o   t h e   k u b e l e t   p o r t .   O n l y   a l l o w   s p e c i f i e d   a n d   t r u s t e d   I P   a d d r e s s   r a n g e s   t o   a c c e s s   t h e   p o r t . E n s u r e   t h a t   k u b e l e t   a u t h e n t i c a t i o n .   i s   s e t   t o   w e b h o o k   o r   c e r t i f i c a t e   m o d e . E n s u r e   t h a t   t h e   u n a u t h e n t i c a t e d   \" r e a d - o n l y \"   K u b e l e t   p o r t   i s   n o t   e n a b l e d   o n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/api-server-bypass-risks/",
    "id": "k8s_00263_section_3_4992"
  },
  {
    "question": "What is The etcd API?",
    "answer": "K u b e r n e t e s   c l u s t e r s   u s e   e t c d   a s   a   d a t a s t o r e .   T h e   e t c d   s e r v i c e   l i s t e n s   o n   T C P   p o r t   2 3 7 9 .   T h e   o n l y   c l i e n t s   t h a t   n e e d   a c c e s s   a r e   t h e   K u b e r n e t e s   A P I   s e r v e r   a n d   a n y   b a c k u p   t o o l i n g   t h a t   y o u   u s e .   D i r e c t   a c c e s s   t o   t h i s   A P I   a l l o w s   f o r   d i s c l o s u r e   o r   m o d i f i c a t i o n   o f   a n y   d a t a   h e l d   i n   t h e   c l u s t e r .   A c c e s s   t o   t h e   e t c d   A P I   i s   t y p i c a l l y   m a n a g e d   b y   c l i e n t   c e r t i f i c a t e   a u t h e n t i c a t i o n .   A n y   c e r t i f i c a t e   i s s u e d   b y   a   c e r t i f i c a t e   a u t h o r i t y   t h a t   e t c d   t r u s t s   a l l o w s   f u l l   a c c e s s   t o   t h e   d a t a   s t o r e d   i n s i d e   e t c d .   D i r e c t   a c c e s s   t o   e t c d   i s   n o t   s u b j e c t   t o   K u b e r n e t e s   a d m i s s i o n   c o n t r o l   a n d   i s   n o t   l o g g e d   b y   K u b e r n e t e s   a u d i t   l o g g i n g .   A n   a t t a c k e r   w h o   h a s   r e a d   a c c e s s   t o   t h e   A P I   s e r v e r ' s   e t c d   c l i e n t   c e r t i f i c a t e   p r i v a t e   k e y   ( o r   c a n   c r e a t e   a   n e w   t r u s t e d   c l i e n t   c e r t i f i c a t e )   c a n   g a i n   c l u s t e r   a d m i n   r i g h t s   b y   a c c e s s i n g   c l u s t e r   s e c r e t s   o r   m o d i f y i n g   a c c e s s   r u l e s .   E v e n   w i t h o u t   e l e v a t i n g   t h e i r   K u b e r n e t e s   R B A C   p r i v i l e g e s ,   a n   a t t a c k e r   w h o   c a n   m o d i f y   e t c d   c a n   r e t r i e v e   a n y   A P I   o b j e c t   o r   c r e a t e   n e w   w o r k l o a d s   i n s i d e   t h e   c l u s t e r .   M a n y   K u b e r n e t e ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/api-server-bypass-risks/",
    "id": "k8s_00263_section_2_4993"
  },
  {
    "question": "What is Mitigations?",
    "answer": "E n s u r e   t h a t   t h e   c e r t i f i c a t e   a u t h o r i t y   t r u s t e d   b y   e t c d   i s   u s e d   o n l y   f o r   t h e   p u r p o s e s   o f   a u t h e n t i c a t i o n   t o   t h a t   s e r v i c e . C o n t r o l   a c c e s s   t o   t h e   p r i v a t e   k e y   f o r   t h e   e t c d   s e r v e r   c e r t i f i c a t e ,   a n d   t o   t h e   A P I   s e r v e r ' s   c l i e n t   c e r t i f i c a t e   a n d   k e y . C o n s i d e r   r e s t r i c t i n g   a c c e s s   t o   t h e   e t c d   p o r t   a t   a   n e t w o r k   l e v e l ,   t o   o n l y   a l l o w   a c c e s s   f r o m   s p e c i f i e d   a n d   t r u s t e d   I P   a d d r e s s   r a n g e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/api-server-bypass-risks/",
    "id": "k8s_00263_section_3_4994"
  },
  {
    "question": "What is Container runtime socket?",
    "answer": "O n   e a c h   n o d e   i n   a   K u b e r n e t e s   c l u s t e r ,   a c c e s s   t o   i n t e r a c t   w i t h   c o n t a i n e r s   i s   c o n t r o l l e d   b y   t h e   c o n t a i n e r   r u n t i m e   ( o r   r u n t i m e s ,   i f   y o u   h a v e   c o n f i g u r e d   m o r e   t h a n   o n e ) .   T y p i c a l l y ,   t h e   c o n t a i n e r   r u n t i m e   e x p o s e s   a   U n i x   s o c k e t   t h a t   t h e   k u b e l e t   c a n   a c c e s s .   A n   a t t a c k e r   w i t h   a c c e s s   t o   t h i s   s o c k e t   c a n   l a u n c h   n e w   c o n t a i n e r s   o r   i n t e r a c t   w i t h   r u n n i n g   c o n t a i n e r s .   A t   t h e   c l u s t e r   l e v e l ,   t h e   i m p a c t   o f   t h i s   a c c e s s   d e p e n d s   o n   w h e t h e r   t h e   c o n t a i n e r s   t h a t   r u n   o n   t h e   c o m p r o m i s e d   n o d e   h a v e   a c c e s s   t o   S e c r e t s   o r   o t h e r   c o n f i d e n t i a l   d a t a   t h a t   a n   a t t a c k e r   c o u l d   u s e   t o   e s c a l a t e   p r i v i l e g e s   t o   o t h e r   w o r k e r   n o d e s   o r   t o   c o n t r o l   p l a n e   c o m p o n e n t s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/api-server-bypass-risks/",
    "id": "k8s_00263_section_2_4995"
  },
  {
    "question": "What is Mitigations?",
    "answer": "E n s u r e   t h a t   y o u   t i g h t l y   c o n t r o l   f i l e s y s t e m   a c c e s s   t o   c o n t a i n e r   r u n t i m e   s o c k e t s .   W h e n   p o s s i b l e ,   r e s t r i c t   t h i s   a c c e s s   t o   t h e   r o o t   u s e r . I s o l a t e   t h e   k u b e l e t   f r o m   o t h e r   c o m p o n e n t s   r u n n i n g   o n   t h e   n o d e ,   u s i n g   m e c h a n i s m s   s u c h   a s   L i n u x   k e r n e l   n a m e s p a c e s . E n s u r e   t h a t   y o u   r e s t r i c t   o r   f o r b i d   t h e   u s e   o f   h o s t P a t h   m o u n t s   t h a t   i n c l u d e   t h e   c o n t a i n e r   r u n t i m e   s o c k e t ,   e i t h e r   d i r e c t l y   o r   b y   m o u n t i n g   a   p a r e n t   d i r e c t o r y .   A l s o   h o s t P a t h   m o u n t s   m u s t   b e   s e t   a s   r e a d - o n l y   t o   m i t i g a t e   r i s k s   o f   a t t a c k e r s   b y p a s s i n g   d i r e c t o r y   r e s t r i c t i o n s . R e s t r i c t   u s e r   a c c e s s   t o   n o d e s ,   a n d   e s p e c i a l l y   r e s t r i c t   s u p e r u s e r   a c c e s s   t o   n o d e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/api-server-bypass-risks/",
    "id": "k8s_00263_section_3_4996"
  },
  {
    "question": "What is Access Applications in a Cluster?",
    "answer": "Access Applications in a ClusterConfigure load balancing, port forwarding, or setup firewall or DNS configurations to access applications in a cluster.Deploy and Access the Kubernetes DashboardDeploy the web UI (Kubernetes Dashboard) and access it.Accessing ClustersConfigure Access to Multiple ClustersUse Port Forwarding to Access Applications in a ClusterUse a Service to Access an Application in a ClusterConnect a Frontend to a Backend Using ServicesCreate an External Load BalancerList All Container Images Running in a ClusterSet up Ingress on Minikube with the NGINX Ingress ControllerCommunicate Between Containers in the Same Pod Using a Shared VolumeConfigure DNS for a ClusterAccess Services Running on Clusters",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/",
    "id": "k8s_00264_qa_4997"
  },
  {
    "question": "How does Access Applications in a Cluster work?",
    "answer": "Access Applications in a ClusterConfigure load balancing, port forwarding, or setup firewall or DNS configurations to access applications in a cluster.Deploy and Access the Kubernetes DashboardDeploy the web UI (Kubernetes Dashboard) and access it.Accessing ClustersConfigure Access to Multiple ClustersUse Port Forwarding to Access Applications in a ClusterUse a Service to Access an Application in a ClusterConnect a Frontend to a Backend Using ServicesCreate an External Load BalancerList All Container Images Running in a ClusterSet up Ingress on Minikube with the NGINX Ingress ControllerCommunicate Between Containers in the Same Pod Using a Shared VolumeConfigure DNS for a ClusterAccess Services Running on Clusters",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/",
    "id": "k8s_00264_qa_4998"
  },
  {
    "question": "When would you use Access Applications in a Cluster?",
    "answer": "Access Applications in a ClusterConfigure load balancing, port forwarding, or setup firewall or DNS configurations to access applications in a cluster.Deploy and Access the Kubernetes DashboardDeploy the web UI (Kubernetes Dashboard) and access it.Accessing ClustersConfigure Access to Multiple ClustersUse Port Forwarding to Access Applications in a ClusterUse a Service to Access an Application in a ClusterConnect a Frontend to a Backend Using ServicesCreate an External Load BalancerList All Container Images Running in a ClusterSet up Ingress on Minikube with the NGINX Ingress ControllerCommunicate Between Containers in the Same Pod Using a Shared VolumeConfigure DNS for a ClusterAccess Services Running on Clusters",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/",
    "id": "k8s_00264_qa_4999"
  },
  {
    "question": "What are the benefits of Access Applications in a Cluster?",
    "answer": "Access Applications in a ClusterConfigure load balancing, port forwarding, or setup firewall or DNS configurations to access applications in a cluster.Deploy and Access the Kubernetes DashboardDeploy the web UI (Kubernetes Dashboard) and access it.Accessing ClustersConfigure Access to Multiple ClustersUse Port Forwarding to Access Applications in a ClusterUse a Service to Access an Application in a ClusterConnect a Frontend to a Backend Using ServicesCreate an External Load BalancerList All Container Images Running in a ClusterSet up Ingress on Minikube with the NGINX Ingress ControllerCommunicate Between Containers in the Same Pod Using a Shared VolumeConfigure DNS for a ClusterAccess Services Running on Clusters",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/",
    "id": "k8s_00264_qa_5000"
  },
  {
    "question": "What is Deploy and Access the Kubernetes Dashboard?",
    "answer": "D e p l o y   t h e   w e b   U I   ( K u b e r n e t e s   D a s h b o a r d )   a n d   a c c e s s   i t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/",
    "id": "k8s_00264_section_5_5001"
  },
  {
    "question": "What is Using a Service to Expose Your App?",
    "answer": "Using a Service to Expose Your AppObjectivesLearn about a Service in Kubernetes.Understand how labels and selectors relate to a Service.Expose an application outside a Kubernetes cluster.Overview of Kubernetes ServicesKubernetes Pods are mortal. Pods have a lifecycle. When a worker node dies, the Pods running on the Node are also lost. A Replicaset might then dynamically drive the cluster back to the desired state via the creation of new Pods to keep your application running. As another example, consider an image-processing backend with 3 replicas. Those replicas are exchangeable; the front-end system should not care about backend replicas or even if a Pod is lost and recreated. That said, each Pod in a Kubernetes cluster has a unique IP address, even Pods on the same Node, so there needs to be a way of automatically reconciling changes among Pods so that your applications continue to function.A Kubernetes Service is an abstraction layer which defines a logical set of Pods and enables external traffic exposure, load balancing and service discovery for those Pods.A Service in Kubernetes is an abstraction which defines a logical set of Pods and a policy by which to access them. Services enable a loose coupling between dependent Pods. A Service is defined using YAML or JSON, like all Kubernetes object manifests. The set of Pods targeted by a Service is usually determined by a label selector (see below for why you might want a Service without including a selector in the spec).Although each Pod has a unique IP address, those IPs are not exposed outside the cluster without a Service. Services allow your applications to receive traffic. Services can be exposed in different ways by specifying a type in the spec of the Service:ClusterIP (default) - Exposes the Service on an internal IP in the cluster. This type makes the Service only reachable from within the cluster.NodePort - Exposes the Service on the same port of each selected Node in the cluster using NAT. Makes a Service accessible from outside the cluster using NodeIP:NodePort. Superset of ClusterIP.LoadBalancer - Creates an external load balancer in the current cloud (if supported) and assigns a fixed, external IP to the Service. Superset of NodePort.ExternalName - Maps the Service to the contents of the externalName field (e.g. foo.bar.example.com), by returning a CNAME record with its value. No proxying of any kind is set up. This type requires v1.7 or higher of kube-dns, or CoreDNS version 0.0.8 or higher.More information about the different types of Services can be found in the Using Source IP tutorial. Also see Connecting Applications with Services.Additionally, note that there are some use cases with Services that involve not defining a selector in the spec. A Service created without selector will also not create the corresponding Endpoints object. This allows users to manually map a Service to specific endpoints. Another possibility why there may be no selector is you are strictly using typ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/",
    "id": "k8s_00265_qa_5002"
  },
  {
    "question": "How does Using a Service to Expose Your App work?",
    "answer": "Using a Service to Expose Your AppObjectivesLearn about a Service in Kubernetes.Understand how labels and selectors relate to a Service.Expose an application outside a Kubernetes cluster.Overview of Kubernetes ServicesKubernetes Pods are mortal. Pods have a lifecycle. When a worker node dies, the Pods running on the Node are also lost. A Replicaset might then dynamically drive the cluster back to the desired state via the creation of new Pods to keep your application running. As another example, consider an image-processing backend with 3 replicas. Those replicas are exchangeable; the front-end system should not care about backend replicas or even if a Pod is lost and recreated. That said, each Pod in a Kubernetes cluster has a unique IP address, even Pods on the same Node, so there needs to be a way of automatically reconciling changes among Pods so that your applications continue to function.A Kubernetes Service is an abstraction layer which defines a logical set of Pods and enables external traffic exposure, load balancing and service discovery for those Pods.A Service in Kubernetes is an abstraction which defines a logical set of Pods and a policy by which to access them. Services enable a loose coupling between dependent Pods. A Service is defined using YAML or JSON, like all Kubernetes object manifests. The set of Pods targeted by a Service is usually determined by a label selector (see below for why you might want a Service without including a selector in the spec).Although each Pod has a unique IP address, those IPs are not exposed outside the cluster without a Service. Services allow your applications to receive traffic. Services can be exposed in different ways by specifying a type in the spec of the Service:ClusterIP (default) - Exposes the Service on an internal IP in the cluster. This type makes the Service only reachable from within the cluster.NodePort - Exposes the Service on the same port of each selected Node in the cluster using NAT. Makes a Service accessible from outside the cluster using NodeIP:NodePort. Superset of ClusterIP.LoadBalancer - Creates an external load balancer in the current cloud (if supported) and assigns a fixed, external IP to the Service. Superset of NodePort.ExternalName - Maps the Service to the contents of the externalName field (e.g. foo.bar.example.com), by returning a CNAME record with its value. No proxying of any kind is set up. This type requires v1.7 or higher of kube-dns, or CoreDNS version 0.0.8 or higher.More information about the different types of Services can be found in the Using Source IP tutorial. Also see Connecting Applications with Services.Additionally, note that there are some use cases with Services that involve not defining a selector in the spec. A Service created without selector will also not create the corresponding Endpoints object. This allows users to manually map a Service to specific endpoints. Another possibility why there may be no selector is you are strictly using typ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/",
    "id": "k8s_00265_qa_5003"
  },
  {
    "question": "When would you use Using a Service to Expose Your App?",
    "answer": "Using a Service to Expose Your AppObjectivesLearn about a Service in Kubernetes.Understand how labels and selectors relate to a Service.Expose an application outside a Kubernetes cluster.Overview of Kubernetes ServicesKubernetes Pods are mortal. Pods have a lifecycle. When a worker node dies, the Pods running on the Node are also lost. A Replicaset might then dynamically drive the cluster back to the desired state via the creation of new Pods to keep your application running. As another example, consider an image-processing backend with 3 replicas. Those replicas are exchangeable; the front-end system should not care about backend replicas or even if a Pod is lost and recreated. That said, each Pod in a Kubernetes cluster has a unique IP address, even Pods on the same Node, so there needs to be a way of automatically reconciling changes among Pods so that your applications continue to function.A Kubernetes Service is an abstraction layer which defines a logical set of Pods and enables external traffic exposure, load balancing and service discovery for those Pods.A Service in Kubernetes is an abstraction which defines a logical set of Pods and a policy by which to access them. Services enable a loose coupling between dependent Pods. A Service is defined using YAML or JSON, like all Kubernetes object manifests. The set of Pods targeted by a Service is usually determined by a label selector (see below for why you might want a Service without including a selector in the spec).Although each Pod has a unique IP address, those IPs are not exposed outside the cluster without a Service. Services allow your applications to receive traffic. Services can be exposed in different ways by specifying a type in the spec of the Service:ClusterIP (default) - Exposes the Service on an internal IP in the cluster. This type makes the Service only reachable from within the cluster.NodePort - Exposes the Service on the same port of each selected Node in the cluster using NAT. Makes a Service accessible from outside the cluster using NodeIP:NodePort. Superset of ClusterIP.LoadBalancer - Creates an external load balancer in the current cloud (if supported) and assigns a fixed, external IP to the Service. Superset of NodePort.ExternalName - Maps the Service to the contents of the externalName field (e.g. foo.bar.example.com), by returning a CNAME record with its value. No proxying of any kind is set up. This type requires v1.7 or higher of kube-dns, or CoreDNS version 0.0.8 or higher.More information about the different types of Services can be found in the Using Source IP tutorial. Also see Connecting Applications with Services.Additionally, note that there are some use cases with Services that involve not defining a selector in the spec. A Service created without selector will also not create the corresponding Endpoints object. This allows users to manually map a Service to specific endpoints. Another possibility why there may be no selector is you are strictly using typ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/",
    "id": "k8s_00265_qa_5004"
  },
  {
    "question": "What are the benefits of Using a Service to Expose Your App?",
    "answer": "Using a Service to Expose Your AppObjectivesLearn about a Service in Kubernetes.Understand how labels and selectors relate to a Service.Expose an application outside a Kubernetes cluster.Overview of Kubernetes ServicesKubernetes Pods are mortal. Pods have a lifecycle. When a worker node dies, the Pods running on the Node are also lost. A Replicaset might then dynamically drive the cluster back to the desired state via the creation of new Pods to keep your application running. As another example, consider an image-processing backend with 3 replicas. Those replicas are exchangeable; the front-end system should not care about backend replicas or even if a Pod is lost and recreated. That said, each Pod in a Kubernetes cluster has a unique IP address, even Pods on the same Node, so there needs to be a way of automatically reconciling changes among Pods so that your applications continue to function.A Kubernetes Service is an abstraction layer which defines a logical set of Pods and enables external traffic exposure, load balancing and service discovery for those Pods.A Service in Kubernetes is an abstraction which defines a logical set of Pods and a policy by which to access them. Services enable a loose coupling between dependent Pods. A Service is defined using YAML or JSON, like all Kubernetes object manifests. The set of Pods targeted by a Service is usually determined by a label selector (see below for why you might want a Service without including a selector in the spec).Although each Pod has a unique IP address, those IPs are not exposed outside the cluster without a Service. Services allow your applications to receive traffic. Services can be exposed in different ways by specifying a type in the spec of the Service:ClusterIP (default) - Exposes the Service on an internal IP in the cluster. This type makes the Service only reachable from within the cluster.NodePort - Exposes the Service on the same port of each selected Node in the cluster using NAT. Makes a Service accessible from outside the cluster using NodeIP:NodePort. Superset of ClusterIP.LoadBalancer - Creates an external load balancer in the current cloud (if supported) and assigns a fixed, external IP to the Service. Superset of NodePort.ExternalName - Maps the Service to the contents of the externalName field (e.g. foo.bar.example.com), by returning a CNAME record with its value. No proxying of any kind is set up. This type requires v1.7 or higher of kube-dns, or CoreDNS version 0.0.8 or higher.More information about the different types of Services can be found in the Using Source IP tutorial. Also see Connecting Applications with Services.Additionally, note that there are some use cases with Services that involve not defining a selector in the spec. A Service created without selector will also not create the corresponding Endpoints object. This allows users to manually map a Service to specific endpoints. Another possibility why there may be no selector is you are strictly using typ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/",
    "id": "k8s_00265_qa_5005"
  },
  {
    "question": "What is Objectives?",
    "answer": "L e a r n   a b o u t   a   S e r v i c e   i n   K u b e r n e t e s . U n d e r s t a n d   h o w   l a b e l s   a n d   s e l e c t o r s   r e l a t e   t o   a   S e r v i c e . E x p o s e   a n   a p p l i c a t i o n   o u t s i d e   a   K u b e r n e t e s   c l u s t e r .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/",
    "id": "k8s_00265_section_2_5006"
  },
  {
    "question": "What is Overview of Kubernetes Services?",
    "answer": "K u b e r n e t e s   P o d s   a r e   m o r t a l .   P o d s   h a v e   a   l i f e c y c l e .   W h e n   a   w o r k e r   n o d e   d i e s ,   t h e   P o d s   r u n n i n g   o n   t h e   N o d e   a r e   a l s o   l o s t .   A   R e p l i c a s e t   m i g h t   t h e n   d y n a m i c a l l y   d r i v e   t h e   c l u s t e r   b a c k   t o   t h e   d e s i r e d   s t a t e   v i a   t h e   c r e a t i o n   o f   n e w   P o d s   t o   k e e p   y o u r   a p p l i c a t i o n   r u n n i n g .   A s   a n o t h e r   e x a m p l e ,   c o n s i d e r   a n   i m a g e - p r o c e s s i n g   b a c k e n d   w i t h   3   r e p l i c a s .   T h o s e   r e p l i c a s   a r e   e x c h a n g e a b l e ;   t h e   f r o n t - e n d   s y s t e m   s h o u l d   n o t   c a r e   a b o u t   b a c k e n d   r e p l i c a s   o r   e v e n   i f   a   P o d   i s   l o s t   a n d   r e c r e a t e d .   T h a t   s a i d ,   e a c h   P o d   i n   a   K u b e r n e t e s   c l u s t e r   h a s   a   u n i q u e   I P   a d d r e s s ,   e v e n   P o d s   o n   t h e   s a m e   N o d e ,   s o   t h e r e   n e e d s   t o   b e   a   w a y   o f   a u t o m a t i c a l l y   r e c o n c i l i n g   c h a n g e s   a m o n g   P o d s   s o   t h a t   y o u r   a p p l i c a t i o n s   c o n t i n u e   t o   f u n c t i o n .   A   S e r v i c e   i n   K u b e r n e t e s   i s   a n   a b s t r a c t i o n   w h i c h   d e f i n e s   a   l o g i c a l   s e t   o f   P o d s   a n d   a   p o l i c y   b y   w h i c h   t o   a c c e s s   t h e m .   S e r v i c e s   e n a b l e   a   l o o s e   c o u p l i n g   b e t w e e n   d e p e n d e n t   P o d s .   A   S e r v i c e   i s   d e f i n e d   u s i n g   Y A M L   o r   J S O N ,   l i k e   a l l   K u b e r n e t e s   o b j e c t   m a n i f e s t s .   T h e   s e t   o f   P o d s   t a r g e t e d   b y   a   S e r v i c e   i s   u s u a l l y   d e t e r m i n e ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/",
    "id": "k8s_00265_section_2_5007"
  },
  {
    "question": "What is Services and Labels?",
    "answer": "A   S e r v i c e   r o u t e s   t r a f f i c   a c r o s s   a   s e t   o f   P o d s .   S e r v i c e s   a r e   t h e   a b s t r a c t i o n   t h a t   a l l o w s   p o d s   t o   d i e   a n d   r e p l i c a t e   i n   K u b e r n e t e s   w i t h o u t   i m p a c t i n g   y o u r   a p p l i c a t i o n .   D i s c o v e r y   a n d   r o u t i n g   a m o n g   d e p e n d e n t   P o d s   ( s u c h   a s   t h e   f r o n t e n d   a n d   b a c k e n d   c o m p o n e n t s   i n   a n   a p p l i c a t i o n )   a r e   h a n d l e d   b y   K u b e r n e t e s   S e r v i c e s .   S e r v i c e s   m a t c h   a   s e t   o f   P o d s   u s i n g   l a b e l s   a n d   s e l e c t o r s ,   a   g r o u p i n g   p r i m i t i v e   t h a t   a l l o w s   l o g i c a l   o p e r a t i o n   o n   o b j e c t s   i n   K u b e r n e t e s .   L a b e l s   a r e   k e y / v a l u e   p a i r s   a t t a c h e d   t o   o b j e c t s   a n d   c a n   b e   u s e d   i n   a n y   n u m b e r   o f   w a y s :   D e s i g n a t e   o b j e c t s   f o r   d e v e l o p m e n t ,   t e s t ,   a n d   p r o d u c t i o n E m b e d   v e r s i o n   t a g s C l a s s i f y   a n   o b j e c t   u s i n g   t a g s   L a b e l s   c a n   b e   a t t a c h e d   t o   o b j e c t s   a t   c r e a t i o n   t i m e   o r   l a t e r   o n .   T h e y   c a n   b e   m o d i f i e d   a t   a n y   t i m e .   L e t ' s   e x p o s e   o u r   a p p l i c a t i o n   n o w   u s i n g   a   S e r v i c e   a n d   a p p l y   s o m e   l a b e l s .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/",
    "id": "k8s_00265_section_2_5008"
  },
  {
    "question": "What is Step 1: Creating a new Service?",
    "answer": "L e t ’ s   v e r i f y   t h a t   o u r   a p p l i c a t i o n   i s   r u n n i n g .   W e ’ l l   u s e   t h e   k u b e c t l   g e t   c o m m a n d   a n d   l o o k   f o r   e x i s t i n g   P o d s :   k u b e c t l   g e t   p o d s   I f   n o   P o d s   a r e   r u n n i n g   t h e n   i t   m e a n s   t h e   o b j e c t s   f r o m   t h e   p r e v i o u s   t u t o r i a l s   w e r e   c l e a n e d   u p .   I n   t h i s   c a s e ,   g o   b a c k   a n d   r e c r e a t e   t h e   d e p l o y m e n t   f r o m   t h e   U s i n g   k u b e c t l   t o   c r e a t e   a   D e p l o y m e n t   t u t o r i a l .   P l e a s e   w a i t   a   c o u p l e   o f   s e c o n d s   a n d   l i s t   t h e   P o d s   a g a i n .   Y o u   c a n   c o n t i n u e   o n c e   y o u   s e e   t h e   o n e   P o d   r u n n i n g .   N e x t ,   l e t ’ s   l i s t   t h e   c u r r e n t   S e r v i c e s   f r o m   o u r   c l u s t e r :   k u b e c t l   g e t   s e r v i c e s   T o   e x p o s e   t h e   d e p l o y m e n t   t o   e x t e r n a l   t r a f f i c ,   w e ' l l   u s e   t h e   k u b e c t l   e x p o s e   c o m m a n d   w i t h   t h e   - - t y p e = N o d e P o r t   o p t i o n :   k u b e c t l   e x p o s e   d e p l o y m e n t / k u b e r n e t e s - b o o t c a m p   - - t y p e = \" N o d e P o r t \"   - - p o r t   8 0 8 0   W e   h a v e   n o w   a   r u n n i n g   S e r v i c e   c a l l e d   k u b e r n e t e s - b o o t c a m p .   H e r e   w e   s e e   t h a t   t h e   S e r v i c e   r e c e i v e d   a   u n i q u e   c l u s t e r - I P ,   a n   i n t e r n a l   p o r t   a n d   a n   e x t e r n a l - I P   ( t h e   I P   o f   t h e   N o d e ) .   T o   f i n d   o u t   w h a t   p o r t   w a s   o p e n e d   e x t e r n a l l y   ( f o r   t h e   t y p e :   N o d e P o r t   S e r v i c e )   w e ’ l l   r u n   t h e   d e s c r i b e   s e r v i c e   s u b c o m m a n d :   k u b ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/",
    "id": "k8s_00265_section_3_5009"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u ' r e   r u n n i n g   m i n i k u b e   w i t h   D o c k e r   D e s k t o p   a s   t h e   c o n t a i n e r   d r i v e r ,   a   m i n i k u b e   t u n n e l   i s   n e e d e d .   T h i s   i s   b e c a u s e   c o n t a i n e r s   i n s i d e   D o c k e r   D e s k t o p   a r e   i s o l a t e d   f r o m   y o u r   h o s t   c o m p u t e r .   I n   a   s e p a r a t e   t e r m i n a l   w i n d o w ,   e x e c u t e :   m i n i k u b e   s e r v i c e   k u b e r n e t e s - b o o t c a m p   - - u r l   T h e   o u t p u t   l o o k s   l i k e   t h i s :   h t t p : / / 1 2 7 . 0 . 0 . 1 : 5 1 0 8 2   !   B e c a u s e   y o u   a r e   u s i n g   a   D o c k e r   d r i v e r   o n   d a r w i n ,   t h e   t e r m i n a l   n e e d s   t o   b e   o p e n   t o   r u n   i t .   T h e n   u s e   t h e   g i v e n   U R L   t o   a c c e s s   t h e   a p p :   c u r l   1 2 7 . 0 . 0 . 1 : 5 1 0 8 2   A n d   w e   g e t   a   r e s p o n s e   f r o m   t h e   s e r v e r .   T h e   S e r v i c e   i s   e x p o s e d .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/",
    "id": "k8s_00265_section_4_5010"
  },
  {
    "question": "What is Step 2: Using labels?",
    "answer": "T h e   D e p l o y m e n t   c r e a t e d   a u t o m a t i c a l l y   a   l a b e l   f o r   o u r   P o d .   W i t h   t h e   d e s c r i b e   d e p l o y m e n t   s u b c o m m a n d   y o u   c a n   s e e   t h e   n a m e   ( t h e   k e y )   o f   t h a t   l a b e l :   k u b e c t l   d e s c r i b e   d e p l o y m e n t   L e t ’ s   u s e   t h i s   l a b e l   t o   q u e r y   o u r   l i s t   o f   P o d s .   W e ’ l l   u s e   t h e   k u b e c t l   g e t   p o d s   c o m m a n d   w i t h   - l   a s   a   p a r a m e t e r ,   f o l l o w e d   b y   t h e   l a b e l   v a l u e s :   k u b e c t l   g e t   p o d s   - l   a p p = k u b e r n e t e s - b o o t c a m p   Y o u   c a n   d o   t h e   s a m e   t o   l i s t   t h e   e x i s t i n g   S e r v i c e s :   k u b e c t l   g e t   s e r v i c e s   - l   a p p = k u b e r n e t e s - b o o t c a m p   G e t   t h e   n a m e   o f   t h e   P o d   a n d   s t o r e   i t   i n   t h e   P O D _ N A M E   e n v i r o n m e n t   v a r i a b l e :   e x p o r t   P O D _ N A M E = \" $ ( k u b e c t l   g e t   p o d s   - o   g o - t e m p l a t e   - - t e m p l a t e   ' { { r a n g e   . i t e m s } } { { . m e t a d a t a . n a m e } } { { \" \\ n \" } } { { e n d } } ' ) \"   e c h o   \" N a m e   o f   t h e   P o d :   $ P O D _ N A M E \"   T o   a p p l y   a   n e w   l a b e l   w e   u s e   t h e   l a b e l   s u b c o m m a n d   f o l l o w e d   b y   t h e   o b j e c t   t y p e ,   o b j e c t   n a m e   a n d   t h e   n e w   l a b e l :   k u b e c t l   l a b e l   p o d s   \" $ P O D _ N A M E \"   v e r s i o n = v 1   T h i s   w i l l   a p p l y   a   n e w   l a b e l   t o   o u r   P o d   ( w e   p i n n e d   t h e   a p p l i c a t i o n   v e r s i o n   t o   t h e   P o d ) ,   a n d   w e   c a n   c h e c k   i t   w i t h   t h e   d e s c r i b e   p o d   c o m m a n d :   k u b e c t l   d e s c r i b e   p o d s   \" $ P O D _ N A ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/",
    "id": "k8s_00265_section_3_5011"
  },
  {
    "question": "What is Step 3: Deleting a service?",
    "answer": "T o   d e l e t e   S e r v i c e s   y o u   c a n   u s e   t h e   d e l e t e   s e r v i c e   s u b c o m m a n d .   L a b e l s   c a n   b e   u s e d   a l s o   h e r e :   k u b e c t l   d e l e t e   s e r v i c e   - l   a p p = k u b e r n e t e s - b o o t c a m p   C o n f i r m   t h a t   t h e   S e r v i c e   i s   g o n e :   k u b e c t l   g e t   s e r v i c e s   T h i s   c o n f i r m s   t h a t   o u r   S e r v i c e   w a s   r e m o v e d .   T o   c o n f i r m   t h a t   r o u t e   i s   n o t   e x p o s e d   a n y m o r e   y o u   c a n   c u r l   t h e   p r e v i o u s l y   e x p o s e d   I P   a n d   p o r t :   c u r l   h t t p : / / \" $ ( m i n i k u b e   i p ) : $ N O D E _ P O R T \"   T h i s   p r o v e s   t h a t   t h e   a p p l i c a t i o n   i s   n o t   r e a c h a b l e   a n y m o r e   f r o m   o u t s i d e   o f   t h e   c l u s t e r .   Y o u   c a n   c o n f i r m   t h a t   t h e   a p p   i s   s t i l l   r u n n i n g   w i t h   a   c u r l   f r o m   i n s i d e   t h e   p o d :   k u b e c t l   e x e c   - t i   $ P O D _ N A M E   - -   c u r l   h t t p : / / l o c a l h o s t : 8 0 8 0   W e   s e e   h e r e   t h a t   t h e   a p p l i c a t i o n   i s   u p .   T h i s   i s   b e c a u s e   t h e   D e p l o y m e n t   i s   m a n a g i n g   t h e   a p p l i c a t i o n .   T o   s h u t   d o w n   t h e   a p p l i c a t i o n ,   y o u   w o u l d   n e e d   t o   d e l e t e   t h e   D e p l o y m e n t   a s   w e l l .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/",
    "id": "k8s_00265_section_3_5012"
  },
  {
    "question": "What is What's next?",
    "answer": "T u t o r i a l   R u n n i n g   M u l t i p l e   I n s t a n c e s   o f   Y o u r   A p p . L e a r n   m o r e   a b o u t   S e r v i c e .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/",
    "id": "k8s_00265_section_2_5013"
  },
  {
    "question": "What is Assign Pod-level CPU and memory resources?",
    "answer": "Assign Pod-level CPU and memory resourcesFEATURE STATE: Kubernetes v1.34 [beta] (enabled by default: true)This page shows how to specify CPU and memory resources for a Pod at pod-level in addition to container-level resource specifications. A Kubernetes node allocates resources to a pod based on the pod's resource requests. These requests can be defined at the pod level or individually for containers within the pod. When both are present, the pod-level requests take precedence.Similarly, a pod's resource usage is restricted by limits, which can also be set at the pod-level or individually for containers within the pod. Again, pod-level limits are prioritized when both are present. This allows for flexible resource management, enabling you to control resource allocation at both the pod and container levels.In order to specify the resources at pod-level, it is required to enable PodLevelResources feature gate.For Pod Level Resources:Priority: When both pod-level and container-level resources are specified, pod-level resources take precedence.QoS: Pod-level resources take precedence in influencing the QoS class of the pod.OOM Score: The OOM score adjustment calculation considers both pod-level and container-level resources.Compatibility: Pod-level resources are designed to be compatible with existing features.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.34.To check the version, enter kubectl version.The PodLevelResources feature gate must be enabled for your control plane and for all nodes in your cluster.LimitationsFor Kubernetes 1.34, resizing pod-level resources has the following limitations:Resource Types: Only CPU, memory and hugepages resources can be specified at pod-level.Operating System: Pod-level resources are not supported for Windows pods.Resource Managers: The Topology Manager, Memory Manager and CPU Manager do not align pods and containers based on pod-level resources as these resource managers don't currently support pod-level resources.In-Place Resize: In-place resize of pod-level resources is not supported. Modifying the pod-level resource limits or requests on a pod result in a field.Forbidden error. The error message explicitly states, \"pods with pod-level resources cannot be resized.\"Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace pod-resources-example Create a pod with memory requests and limits at pod-levelTo specify memory requests for a Pod at pod-level, include the resources.",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pod-level-resources/",
    "id": "k8s_00266_qa_5014"
  },
  {
    "question": "How does Assign Pod-level CPU and memory resources work?",
    "answer": "Assign Pod-level CPU and memory resourcesFEATURE STATE: Kubernetes v1.34 [beta] (enabled by default: true)This page shows how to specify CPU and memory resources for a Pod at pod-level in addition to container-level resource specifications. A Kubernetes node allocates resources to a pod based on the pod's resource requests. These requests can be defined at the pod level or individually for containers within the pod. When both are present, the pod-level requests take precedence.Similarly, a pod's resource usage is restricted by limits, which can also be set at the pod-level or individually for containers within the pod. Again, pod-level limits are prioritized when both are present. This allows for flexible resource management, enabling you to control resource allocation at both the pod and container levels.In order to specify the resources at pod-level, it is required to enable PodLevelResources feature gate.For Pod Level Resources:Priority: When both pod-level and container-level resources are specified, pod-level resources take precedence.QoS: Pod-level resources take precedence in influencing the QoS class of the pod.OOM Score: The OOM score adjustment calculation considers both pod-level and container-level resources.Compatibility: Pod-level resources are designed to be compatible with existing features.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.34.To check the version, enter kubectl version.The PodLevelResources feature gate must be enabled for your control plane and for all nodes in your cluster.LimitationsFor Kubernetes 1.34, resizing pod-level resources has the following limitations:Resource Types: Only CPU, memory and hugepages resources can be specified at pod-level.Operating System: Pod-level resources are not supported for Windows pods.Resource Managers: The Topology Manager, Memory Manager and CPU Manager do not align pods and containers based on pod-level resources as these resource managers don't currently support pod-level resources.In-Place Resize: In-place resize of pod-level resources is not supported. Modifying the pod-level resource limits or requests on a pod result in a field.Forbidden error. The error message explicitly states, \"pods with pod-level resources cannot be resized.\"Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace pod-resources-example Create a pod with memory requests and limits at pod-levelTo specify memory requests for a Pod at pod-level, include the resources.",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pod-level-resources/",
    "id": "k8s_00266_qa_5015"
  },
  {
    "question": "When would you use Assign Pod-level CPU and memory resources?",
    "answer": "Assign Pod-level CPU and memory resourcesFEATURE STATE: Kubernetes v1.34 [beta] (enabled by default: true)This page shows how to specify CPU and memory resources for a Pod at pod-level in addition to container-level resource specifications. A Kubernetes node allocates resources to a pod based on the pod's resource requests. These requests can be defined at the pod level or individually for containers within the pod. When both are present, the pod-level requests take precedence.Similarly, a pod's resource usage is restricted by limits, which can also be set at the pod-level or individually for containers within the pod. Again, pod-level limits are prioritized when both are present. This allows for flexible resource management, enabling you to control resource allocation at both the pod and container levels.In order to specify the resources at pod-level, it is required to enable PodLevelResources feature gate.For Pod Level Resources:Priority: When both pod-level and container-level resources are specified, pod-level resources take precedence.QoS: Pod-level resources take precedence in influencing the QoS class of the pod.OOM Score: The OOM score adjustment calculation considers both pod-level and container-level resources.Compatibility: Pod-level resources are designed to be compatible with existing features.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.34.To check the version, enter kubectl version.The PodLevelResources feature gate must be enabled for your control plane and for all nodes in your cluster.LimitationsFor Kubernetes 1.34, resizing pod-level resources has the following limitations:Resource Types: Only CPU, memory and hugepages resources can be specified at pod-level.Operating System: Pod-level resources are not supported for Windows pods.Resource Managers: The Topology Manager, Memory Manager and CPU Manager do not align pods and containers based on pod-level resources as these resource managers don't currently support pod-level resources.In-Place Resize: In-place resize of pod-level resources is not supported. Modifying the pod-level resource limits or requests on a pod result in a field.Forbidden error. The error message explicitly states, \"pods with pod-level resources cannot be resized.\"Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace pod-resources-example Create a pod with memory requests and limits at pod-levelTo specify memory requests for a Pod at pod-level, include the resources.",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pod-level-resources/",
    "id": "k8s_00266_qa_5016"
  },
  {
    "question": "What are the benefits of Assign Pod-level CPU and memory resources?",
    "answer": "Assign Pod-level CPU and memory resourcesFEATURE STATE: Kubernetes v1.34 [beta] (enabled by default: true)This page shows how to specify CPU and memory resources for a Pod at pod-level in addition to container-level resource specifications. A Kubernetes node allocates resources to a pod based on the pod's resource requests. These requests can be defined at the pod level or individually for containers within the pod. When both are present, the pod-level requests take precedence.Similarly, a pod's resource usage is restricted by limits, which can also be set at the pod-level or individually for containers within the pod. Again, pod-level limits are prioritized when both are present. This allows for flexible resource management, enabling you to control resource allocation at both the pod and container levels.In order to specify the resources at pod-level, it is required to enable PodLevelResources feature gate.For Pod Level Resources:Priority: When both pod-level and container-level resources are specified, pod-level resources take precedence.QoS: Pod-level resources take precedence in influencing the QoS class of the pod.OOM Score: The OOM score adjustment calculation considers both pod-level and container-level resources.Compatibility: Pod-level resources are designed to be compatible with existing features.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.34.To check the version, enter kubectl version.The PodLevelResources feature gate must be enabled for your control plane and for all nodes in your cluster.LimitationsFor Kubernetes 1.34, resizing pod-level resources has the following limitations:Resource Types: Only CPU, memory and hugepages resources can be specified at pod-level.Operating System: Pod-level resources are not supported for Windows pods.Resource Managers: The Topology Manager, Memory Manager and CPU Manager do not align pods and containers based on pod-level resources as these resource managers don't currently support pod-level resources.In-Place Resize: In-place resize of pod-level resources is not supported. Modifying the pod-level resource limits or requests on a pod result in a field.Forbidden error. The error message explicitly states, \"pods with pod-level resources cannot be resized.\"Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace pod-resources-example Create a pod with memory requests and limits at pod-levelTo specify memory requests for a Pod at pod-level, include the resources.",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pod-level-resources/",
    "id": "k8s_00266_qa_5017"
  },
  {
    "question": "What is Assign Pod-level CPU and memory resources?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   s p e c i f y   C P U   a n d   m e m o r y   r e s o u r c e s   f o r   a   P o d   a t   p o d - l e v e l   i n   a d d i t i o n   t o   c o n t a i n e r - l e v e l   r e s o u r c e   s p e c i f i c a t i o n s .   A   K u b e r n e t e s   n o d e   a l l o c a t e s   r e s o u r c e s   t o   a   p o d   b a s e d   o n   t h e   p o d ' s   r e s o u r c e   r e q u e s t s .   T h e s e   r e q u e s t s   c a n   b e   d e f i n e d   a t   t h e   p o d   l e v e l   o r   i n d i v i d u a l l y   f o r   c o n t a i n e r s   w i t h i n   t h e   p o d .   W h e n   b o t h   a r e   p r e s e n t ,   t h e   p o d - l e v e l   r e q u e s t s   t a k e   p r e c e d e n c e .   S i m i l a r l y ,   a   p o d ' s   r e s o u r c e   u s a g e   i s   r e s t r i c t e d   b y   l i m i t s ,   w h i c h   c a n   a l s o   b e   s e t   a t   t h e   p o d - l e v e l   o r   i n d i v i d u a l l y   f o r   c o n t a i n e r s   w i t h i n   t h e   p o d .   A g a i n ,   p o d - l e v e l   l i m i t s   a r e   p r i o r i t i z e d   w h e n   b o t h   a r e   p r e s e n t .   T h i s   a l l o w s   f o r   f l e x i b l e   r e s o u r c e   m a n a g e m e n t ,   e n a b l i n g   y o u   t o   c o n t r o l   r e s o u r c e   a l l o c a t i o n   a t   b o t h   t h e   p o d   a n d   c o n t a i n e r   l e v e l s .   I n   o r d e r   t o   s p e c i f y   t h e   r e s o u r c e s   a t   p o d - l e v e l ,   i t   i s   r e q u i r e d   t o   e n a b l e   P o d L e v e l R e s o u r c e s   f e a t u r e   g a t e .   F o r   P o d   L e v e l   R e s o u r c e s :   P r i o r i t y :   W h e n   b o t h   p o d - l e v e l   a n d   c o n t a i n e r - l e v e l   r e s o u r c e s   a r e   s p e c i f i e d ,   p o d - l e v e l   r e s o u r c e s   t a k e   p r e c e d e n c e . Q o S :   P o d - l e v e l   r e s o u r c e s   t a k e   p r e c e d e n c e   i n   i n ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pod-level-resources/",
    "id": "k8s_00266_section_1_5018"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 3 4 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   T ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pod-level-resources/",
    "id": "k8s_00266_section_2_5019"
  },
  {
    "question": "What is Limitations?",
    "answer": "F o r   K u b e r n e t e s   1 . 3 4 ,   r e s i z i n g   p o d - l e v e l   r e s o u r c e s   h a s   t h e   f o l l o w i n g   l i m i t a t i o n s :   R e s o u r c e   T y p e s :   O n l y   C P U ,   m e m o r y   a n d   h u g e p a g e s   r e s o u r c e s   c a n   b e   s p e c i f i e d   a t   p o d - l e v e l . O p e r a t i n g   S y s t e m :   P o d - l e v e l   r e s o u r c e s   a r e   n o t   s u p p o r t e d   f o r   W i n d o w s   p o d s . R e s o u r c e   M a n a g e r s :   T h e   T o p o l o g y   M a n a g e r ,   M e m o r y   M a n a g e r   a n d   C P U   M a n a g e r   d o   n o t   a l i g n   p o d s   a n d   c o n t a i n e r s   b a s e d   o n   p o d - l e v e l   r e s o u r c e s   a s   t h e s e   r e s o u r c e   m a n a g e r s   d o n ' t   c u r r e n t l y   s u p p o r t   p o d - l e v e l   r e s o u r c e s . I n - P l a c e   R e s i z e :   I n - p l a c e   r e s i z e   o f   p o d - l e v e l   r e s o u r c e s   i s   n o t   s u p p o r t e d .   M o d i f y i n g   t h e   p o d - l e v e l   r e s o u r c e   l i m i t s   o r   r e q u e s t s   o n   a   p o d   r e s u l t   i n   a   f i e l d . F o r b i d d e n   e r r o r .   T h e   e r r o r   m e s s a g e   e x p l i c i t l y   s t a t e s ,   \" p o d s   w i t h   p o d - l e v e l   r e s o u r c e s   c a n n o t   b e   r e s i z e d . \"",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pod-level-resources/",
    "id": "k8s_00266_section_2_5020"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   n a m e s p a c e   s o   t h a t   t h e   r e s o u r c e s   y o u   c r e a t e   i n   t h i s   e x e r c i s e   a r e   i s o l a t e d   f r o m   t h e   r e s t   o f   y o u r   c l u s t e r .   k u b e c t l   c r e a t e   n a m e s p a c e   p o d - r e s o u r c e s - e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pod-level-resources/",
    "id": "k8s_00266_section_2_5021"
  },
  {
    "question": "What is Create a pod with memory requests and limits at pod-level?",
    "answer": "T o   s p e c i f y   m e m o r y   r e q u e s t s   f o r   a   P o d   a t   p o d - l e v e l ,   i n c l u d e   t h e   r e s o u r c e s . r e q u e s t s . m e m o r y   f i e l d   i n   t h e   P o d   s p e c   m a n i f e s t .   T o   s p e c i f y   a   m e m o r y   l i m i t ,   i n c l u d e   r e s o u r c e s . l i m i t s . m e m o r y .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   T h e   P o d   h a s   a   m e m o r y   r e q u e s t   o f   1 0 0   M i B   a n d   a   m e m o r y   l i m i t   o f   2 0 0   M i B .   H e r e ' s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m e m o r y - d e m o   n a m e s p a c e :   p o d - r e s o u r c e s - e x a m p l e   s p e c :   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 1 0 0 M i \"   l i m i t s :   m e m o r y :   \" 2 0 0 M i \"   c o n t a i n e r s :   -   n a m e :   m e m o r y - d e m o - c t r   i m a g e :   n g i n x   c o m m a n d :   [ \" s t r e s s \" ]   a r g s :   [ \" - - v m \" ,   \" 1 \" ,   \" - - v m - b y t e s \" ,   \" 1 5 0 M \" ,   \" - - v m - h a n g \" ,   \" 1 \" ]   T h e   a r g s   s e c t i o n   i n   t h e   m a n i f e s t   p r o v i d e s   a r g u m e n t s   f o r   t h e   c o n t a i n e r   w h e n   i t   s t a r t s .   T h e   \" - - v m - b y t e s \" ,   \" 1 5 0 M \"   a r g u m e n t s   t e l l   t h e   C o n t a i n e r   t o   a t t e m p t   t o   a l l o c a t e   1 5 0   M i B   o f   m e m o r y .   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / r e s o u r c e / p o d - l e v e l - m e m o r y - r e q u e s t - l i m i t . y a m l   - - n a m e s p a c e = p o d - r e s o u r c e s - e x a m p l e   V e r i f y   t h a t   t h e   P o d   i s   r u n n i n g :   k u b e c t l   g ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pod-level-resources/",
    "id": "k8s_00266_section_2_5022"
  },
  {
    "question": "What is Create a pod with CPU requests and limits at pod-level?",
    "answer": "T o   s p e c i f y   a   C P U   r e q u e s t   f o r   a   P o d ,   i n c l u d e   t h e   r e s o u r c e s . r e q u e s t s . c p u   f i e l d   i n   t h e   P o d   s p e c   m a n i f e s t .   T o   s p e c i f y   a   C P U   l i m i t ,   i n c l u d e   r e s o u r c e s . l i m i t s . c p u .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   P o d   h a s   a   r e q u e s t   o f   0 . 5   C P U   a n d   a   l i m i t   o f   1   C P U .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c p u - d e m o   n a m e s p a c e :   p o d - r e s o u r c e s - e x a m p l e   s p e c :   r e s o u r c e s :   l i m i t s :   c p u :   \" 1 \"   r e q u e s t s :   c p u :   \" 0 . 5 \"   c o n t a i n e r s :   -   n a m e :   c p u - d e m o - c t r   i m a g e :   v i s h / s t r e s s   a r g s :   -   - c p u s   -   \" 2 \"   T h e   a r g s   s e c t i o n   o f   t h e   c o n f i g u r a t i o n   f i l e   p r o v i d e s   a r g u m e n t s   f o r   t h e   c o n t a i n e r   w h e n   i t   s t a r t s .   T h e   - c p u s   \" 2 \"   a r g u m e n t   t e l l s   t h e   C o n t a i n e r   t o   a t t e m p t   t o   u s e   2   C P U s .   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / r e s o u r c e / p o d - l e v e l - c p u - r e q u e s t - l i m i t . y a m l   - - n a m e s p a c e = p o d - r e s o u r c e s - e x a m p l e   V e r i f y   t h a t   t h e   P o d   i s   r u n n i n g :   k u b e c t l   g e t   p o d   c p u - d e m o   - - n a m e s p a c e = p o d - r e s o u r c e s - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   P o d :   k u b e c t l   g e t   p o d   c p u - d e m o   - - o u t p u t = y a m l   - ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pod-level-resources/",
    "id": "k8s_00266_section_2_5023"
  },
  {
    "question": "What is Create a pod with resource requests and limits at both pod-level and container-level?",
    "answer": "T o   a s s i g n   C P U   a n d   m e m o r y   r e s o u r c e s   t o   a   P o d ,   y o u   c a n   s p e c i f y   t h e m   a t   b o t h   t h e   p o d   l e v e l   a n d   t h e   c o n t a i n e r   l e v e l .   I n c l u d e   t h e   r e s o u r c e s   f i e l d   i n   t h e   P o d   s p e c   t o   d e f i n e   r e s o u r c e s   f o r   t h e   e n t i r e   P o d .   A d d i t i o n a l l y ,   i n c l u d e   t h e   r e s o u r c e s   f i e l d   w i t h i n   c o n t a i n e r ' s   s p e c i f i c a t i o n   i n   t h e   P o d ' s   m a n i f e s t   t o   s e t   c o n t a i n e r - s p e c i f i c   r e s o u r c e   r e q u i r e m e n t s .   I n   t h i s   e x e r c i s e ,   y o u ' l l   c r e a t e   a   P o d   w i t h   t w o   c o n t a i n e r s   t o   e x p l o r e   t h e   i n t e r a c t i o n   o f   p o d - l e v e l   a n d   c o n t a i n e r - l e v e l   r e s o u r c e   s p e c i f i c a t i o n s .   T h e   P o d   i t s e l f   w i l l   h a v e   d e f i n e d   C P U   r e q u e s t s   a n d   l i m i t s ,   w h i l e   o n l y   o n e   o f   t h e   c o n t a i n e r s   w i l l   h a v e   i t s   o w n   e x p l i c i t   r e s o u r c e   r e q u e s t s   a n d   l i m i t s .   T h e   o t h e r   c o n t a i n e r   w i l l   i n h e r i t   t h e   r e s o u r c e   c o n s t r a i n t s   f r o m   t h e   p o d - l e v e l   s e t t i n g s .   H e r e ' s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p o d - r e s o u r c e s - d e m o   n a m e s p a c e :   p o d - r e s o u r c e s - e x a m p l e   s p e c :   r e s o u r c e s :   l i m i t s :   c p u :   \" 1 \"   m e m o r y :   \" 2 0 0 M i \"   r e q u e s t s :   c p u :   \" 1 \"   m e m o r y :   \" 1 0 0 M i \"   c o n t a i n e r s :   -   n a m e :   p o d - r e s o u r c e s - d e m o - c t r - 1   i m a g e :   n g i n x   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pod-level-resources/",
    "id": "k8s_00266_section_2_5024"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   n a m e s p a c e :   k u b e c t l   d e l e t e   n a m e s p a c e   p o d - r e s o u r c e s - e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pod-level-resources/",
    "id": "k8s_00266_section_2_5025"
  },
  {
    "question": "What is For application developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pod-level-resources/",
    "id": "k8s_00266_section_3_5026"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pod-level-resources/",
    "id": "k8s_00266_section_3_5027"
  },
  {
    "question": "What is Use an Image Volume With a Pod?",
    "answer": "Use an Image Volume With a PodFEATURE STATE: Kubernetes v1.33 [beta] (enabled by default: false)This page shows how to configure a pod using image volumes. This allows you to mount content from OCI registries inside containers.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.31.To check the version, enter kubectl version.The container runtime needs to support the image volumes featureYou need to exec commands in the hostYou need to be able to exec into podsYou need to enable the ImageVolume feature gateRun a Pod that uses an image volumeAn image volume for a pod is enabled by setting the volumes.[*].image field of .spec to a valid reference and consuming it in the volumeMounts of the container. For example:pods/image-volumes.yaml apiVersion: v1 kind: Pod metadata: name: image-volume spec: containers: - name: shell command: [\"sleep\", \"infinity\"] image: debian volumeMounts: - name: volume mountPath: /volume volumes: - name: volume image: reference: quay.io/crio/artifact:v2 pullPolicy: IfNotPresent Create the pod on your cluster:kubectl apply -f https://k8s.io/examples/pods/image-volumes.yaml Attach to the container:kubectl attach -it image-volume bash Check the content of a file in the volume:cat /volume/dir/file The output is similar to:1 You can also check another file in a different path:cat /volume/file The output is similar to:2 Use subPath (or subPathExpr)It is possible to utilize subPath or subPathExpr from Kubernetes v1.33 when using the image volume feature.pods/image-volumes-subpath.yaml apiVersion: v1 kind: Pod metadata: name: image-volume spec: containers: - name: shell command: [\"sleep\", \"infinity\"] image: debian volumeMounts: - name: volume mountPath: /volume subPath: dir volumes: - name: volume image: reference: quay.io/crio/artifact:v2 pullPolicy: IfNotPresent Create the pod on your cluster:kubectl apply -f https://k8s.io/examples/pods/image-volumes-subpath.yaml Attach to the container:kubectl attach -it image-volume bash Check the content of the file from the dir sub path in the volume:cat /volume/file The output is similar to:1 Further readingimage volumes",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/image-volumes/",
    "id": "k8s_00267_qa_5028"
  },
  {
    "question": "How does Use an Image Volume With a Pod work?",
    "answer": "Use an Image Volume With a PodFEATURE STATE: Kubernetes v1.33 [beta] (enabled by default: false)This page shows how to configure a pod using image volumes. This allows you to mount content from OCI registries inside containers.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.31.To check the version, enter kubectl version.The container runtime needs to support the image volumes featureYou need to exec commands in the hostYou need to be able to exec into podsYou need to enable the ImageVolume feature gateRun a Pod that uses an image volumeAn image volume for a pod is enabled by setting the volumes.[*].image field of .spec to a valid reference and consuming it in the volumeMounts of the container. For example:pods/image-volumes.yaml apiVersion: v1 kind: Pod metadata: name: image-volume spec: containers: - name: shell command: [\"sleep\", \"infinity\"] image: debian volumeMounts: - name: volume mountPath: /volume volumes: - name: volume image: reference: quay.io/crio/artifact:v2 pullPolicy: IfNotPresent Create the pod on your cluster:kubectl apply -f https://k8s.io/examples/pods/image-volumes.yaml Attach to the container:kubectl attach -it image-volume bash Check the content of a file in the volume:cat /volume/dir/file The output is similar to:1 You can also check another file in a different path:cat /volume/file The output is similar to:2 Use subPath (or subPathExpr)It is possible to utilize subPath or subPathExpr from Kubernetes v1.33 when using the image volume feature.pods/image-volumes-subpath.yaml apiVersion: v1 kind: Pod metadata: name: image-volume spec: containers: - name: shell command: [\"sleep\", \"infinity\"] image: debian volumeMounts: - name: volume mountPath: /volume subPath: dir volumes: - name: volume image: reference: quay.io/crio/artifact:v2 pullPolicy: IfNotPresent Create the pod on your cluster:kubectl apply -f https://k8s.io/examples/pods/image-volumes-subpath.yaml Attach to the container:kubectl attach -it image-volume bash Check the content of the file from the dir sub path in the volume:cat /volume/file The output is similar to:1 Further readingimage volumes",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/image-volumes/",
    "id": "k8s_00267_qa_5029"
  },
  {
    "question": "When would you use Use an Image Volume With a Pod?",
    "answer": "Use an Image Volume With a PodFEATURE STATE: Kubernetes v1.33 [beta] (enabled by default: false)This page shows how to configure a pod using image volumes. This allows you to mount content from OCI registries inside containers.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.31.To check the version, enter kubectl version.The container runtime needs to support the image volumes featureYou need to exec commands in the hostYou need to be able to exec into podsYou need to enable the ImageVolume feature gateRun a Pod that uses an image volumeAn image volume for a pod is enabled by setting the volumes.[*].image field of .spec to a valid reference and consuming it in the volumeMounts of the container. For example:pods/image-volumes.yaml apiVersion: v1 kind: Pod metadata: name: image-volume spec: containers: - name: shell command: [\"sleep\", \"infinity\"] image: debian volumeMounts: - name: volume mountPath: /volume volumes: - name: volume image: reference: quay.io/crio/artifact:v2 pullPolicy: IfNotPresent Create the pod on your cluster:kubectl apply -f https://k8s.io/examples/pods/image-volumes.yaml Attach to the container:kubectl attach -it image-volume bash Check the content of a file in the volume:cat /volume/dir/file The output is similar to:1 You can also check another file in a different path:cat /volume/file The output is similar to:2 Use subPath (or subPathExpr)It is possible to utilize subPath or subPathExpr from Kubernetes v1.33 when using the image volume feature.pods/image-volumes-subpath.yaml apiVersion: v1 kind: Pod metadata: name: image-volume spec: containers: - name: shell command: [\"sleep\", \"infinity\"] image: debian volumeMounts: - name: volume mountPath: /volume subPath: dir volumes: - name: volume image: reference: quay.io/crio/artifact:v2 pullPolicy: IfNotPresent Create the pod on your cluster:kubectl apply -f https://k8s.io/examples/pods/image-volumes-subpath.yaml Attach to the container:kubectl attach -it image-volume bash Check the content of the file from the dir sub path in the volume:cat /volume/file The output is similar to:1 Further readingimage volumes",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/image-volumes/",
    "id": "k8s_00267_qa_5030"
  },
  {
    "question": "What are the benefits of Use an Image Volume With a Pod?",
    "answer": "Use an Image Volume With a PodFEATURE STATE: Kubernetes v1.33 [beta] (enabled by default: false)This page shows how to configure a pod using image volumes. This allows you to mount content from OCI registries inside containers.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.31.To check the version, enter kubectl version.The container runtime needs to support the image volumes featureYou need to exec commands in the hostYou need to be able to exec into podsYou need to enable the ImageVolume feature gateRun a Pod that uses an image volumeAn image volume for a pod is enabled by setting the volumes.[*].image field of .spec to a valid reference and consuming it in the volumeMounts of the container. For example:pods/image-volumes.yaml apiVersion: v1 kind: Pod metadata: name: image-volume spec: containers: - name: shell command: [\"sleep\", \"infinity\"] image: debian volumeMounts: - name: volume mountPath: /volume volumes: - name: volume image: reference: quay.io/crio/artifact:v2 pullPolicy: IfNotPresent Create the pod on your cluster:kubectl apply -f https://k8s.io/examples/pods/image-volumes.yaml Attach to the container:kubectl attach -it image-volume bash Check the content of a file in the volume:cat /volume/dir/file The output is similar to:1 You can also check another file in a different path:cat /volume/file The output is similar to:2 Use subPath (or subPathExpr)It is possible to utilize subPath or subPathExpr from Kubernetes v1.33 when using the image volume feature.pods/image-volumes-subpath.yaml apiVersion: v1 kind: Pod metadata: name: image-volume spec: containers: - name: shell command: [\"sleep\", \"infinity\"] image: debian volumeMounts: - name: volume mountPath: /volume subPath: dir volumes: - name: volume image: reference: quay.io/crio/artifact:v2 pullPolicy: IfNotPresent Create the pod on your cluster:kubectl apply -f https://k8s.io/examples/pods/image-volumes-subpath.yaml Attach to the container:kubectl attach -it image-volume bash Check the content of the file from the dir sub path in the volume:cat /volume/file The output is similar to:1 Further readingimage volumes",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/image-volumes/",
    "id": "k8s_00267_qa_5031"
  },
  {
    "question": "What is Use an Image Volume With a Pod?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   a   p o d   u s i n g   i m a g e   v o l u m e s .   T h i s   a l l o w s   y o u   t o   m o u n t   c o n t e n t   f r o m   O C I   r e g i s t r i e s   i n s i d e   c o n t a i n e r s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/image-volumes/",
    "id": "k8s_00267_section_1_5032"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 3 1 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/image-volumes/",
    "id": "k8s_00267_section_2_5033"
  },
  {
    "question": "What is Run a Pod that uses an image volume?",
    "answer": "A n   i m a g e   v o l u m e   f o r   a   p o d   i s   e n a b l e d   b y   s e t t i n g   t h e   v o l u m e s . [ * ] . i m a g e   f i e l d   o f   . s p e c   t o   a   v a l i d   r e f e r e n c e   a n d   c o n s u m i n g   i t   i n   t h e   v o l u m e M o u n t s   o f   t h e   c o n t a i n e r .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   i m a g e - v o l u m e   s p e c :   c o n t a i n e r s :   -   n a m e :   s h e l l   c o m m a n d :   [ \" s l e e p \" ,   \" i n f i n i t y \" ]   i m a g e :   d e b i a n   v o l u m e M o u n t s :   -   n a m e :   v o l u m e   m o u n t P a t h :   / v o l u m e   v o l u m e s :   -   n a m e :   v o l u m e   i m a g e :   r e f e r e n c e :   q u a y . i o / c r i o / a r t i f a c t : v 2   p u l l P o l i c y :   I f N o t P r e s e n t   C r e a t e   t h e   p o d   o n   y o u r   c l u s t e r : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i m a g e - v o l u m e s . y a m l   A t t a c h   t o   t h e   c o n t a i n e r : k u b e c t l   a t t a c h   - i t   i m a g e - v o l u m e   b a s h   C h e c k   t h e   c o n t e n t   o f   a   f i l e   i n   t h e   v o l u m e : c a t   / v o l u m e / d i r / f i l e   T h e   o u t p u t   i s   s i m i l a r   t o : 1   Y o u   c a n   a l s o   c h e c k   a n o t h e r   f i l e   i n   a   d i f f e r e n t   p a t h : c a t   / v o l u m e / f i l e   T h e   o u t p u t   i s   s i m i l a r   t o : 2   C r e a t e   t h e   p o d   o n   y o u r   c l u s t e r :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i m a g e - v o l u m e s . y a m l   A t t a c h   t o   t h e   c o n t a i n e r :   k u b e c t l   a t t a c h   - i t   i m a g e - v o l u m e   b a s h   C h e c k   t h e   c o n t e n t   o f   a   f i l e   i n   t h e   v o l u m e :   c a t   / v o l u m ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/image-volumes/",
    "id": "k8s_00267_section_2_5034"
  },
  {
    "question": "What is Use subPath (or subPathExpr)?",
    "answer": "I t   i s   p o s s i b l e   t o   u t i l i z e   s u b P a t h   o r   s u b P a t h E x p r   f r o m   K u b e r n e t e s   v 1 . 3 3   w h e n   u s i n g   t h e   i m a g e   v o l u m e   f e a t u r e .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   i m a g e - v o l u m e   s p e c :   c o n t a i n e r s :   -   n a m e :   s h e l l   c o m m a n d :   [ \" s l e e p \" ,   \" i n f i n i t y \" ]   i m a g e :   d e b i a n   v o l u m e M o u n t s :   -   n a m e :   v o l u m e   m o u n t P a t h :   / v o l u m e   s u b P a t h :   d i r   v o l u m e s :   -   n a m e :   v o l u m e   i m a g e :   r e f e r e n c e :   q u a y . i o / c r i o / a r t i f a c t : v 2   p u l l P o l i c y :   I f N o t P r e s e n t   C r e a t e   t h e   p o d   o n   y o u r   c l u s t e r : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i m a g e - v o l u m e s - s u b p a t h . y a m l   A t t a c h   t o   t h e   c o n t a i n e r : k u b e c t l   a t t a c h   - i t   i m a g e - v o l u m e   b a s h   C h e c k   t h e   c o n t e n t   o f   t h e   f i l e   f r o m   t h e   d i r   s u b   p a t h   i n   t h e   v o l u m e : c a t   / v o l u m e / f i l e   T h e   o u t p u t   i s   s i m i l a r   t o : 1   C r e a t e   t h e   p o d   o n   y o u r   c l u s t e r :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i m a g e - v o l u m e s - s u b p a t h . y a m l   A t t a c h   t o   t h e   c o n t a i n e r :   k u b e c t l   a t t a c h   - i t   i m a g e - v o l u m e   b a s h   C h e c k   t h e   c o n t e n t   o f   t h e   f i l e   f r o m   t h e   d i r   s u b   p a t h   i n   t h e   v o l u m e :   c a t   / v o l u m e / f i l e   T h e   o u t p u t   i s   s i m i l a r   t o :   1",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/image-volumes/",
    "id": "k8s_00267_section_2_5035"
  },
  {
    "question": "What is Further reading?",
    "answer": "i m a g e   v o l u m e s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/image-volumes/",
    "id": "k8s_00267_section_2_5036"
  },
  {
    "question": "What is PodTemplate?",
    "answer": "PodTemplatePodTemplate describes a template for creating copies of a predefined pod.apiVersion: v1import \"k8s.io/api/core/v1\"PodTemplatePodTemplate describes a template for creating copies of a predefined pod.apiVersion: v1kind: PodTemplatemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatatemplate (PodTemplateSpec)Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusPodTemplateSpecPodTemplateSpec describes the data a pod should have when created from a templatemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PodSpec)Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusPodTemplateListPodTemplateList is a list of PodTemplates.apiVersion: v1kind: PodTemplateListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems ([]PodTemplate), requiredList of pod templatesOperationsget read the specified PodTemplateHTTP RequestGET /api/v1/namespaces/{namespace}/podtemplates/{name}Parametersname (in path): string, requiredname of the PodTemplatenamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (PodTemplate): OK401: Unauthorizedlist list or watch objects of kind PodTemplateHTTP RequestGET /api/v1/namespaces/{namespace}/podtemplatesParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (PodTemplateList): OK401: Unauthorizedlist list or watch objects of kind PodTemplateHTTP RequestGET /api/v1/podtemplatesParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (PodTemplateList): OK401: Unauthorizedcreate create a PodTemplateHTTP RequestPOST /api/v1/namespaces/{namespace}/pod",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_qa_5037"
  },
  {
    "question": "How does PodTemplate work?",
    "answer": "PodTemplatePodTemplate describes a template for creating copies of a predefined pod.apiVersion: v1import \"k8s.io/api/core/v1\"PodTemplatePodTemplate describes a template for creating copies of a predefined pod.apiVersion: v1kind: PodTemplatemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatatemplate (PodTemplateSpec)Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusPodTemplateSpecPodTemplateSpec describes the data a pod should have when created from a templatemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PodSpec)Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusPodTemplateListPodTemplateList is a list of PodTemplates.apiVersion: v1kind: PodTemplateListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems ([]PodTemplate), requiredList of pod templatesOperationsget read the specified PodTemplateHTTP RequestGET /api/v1/namespaces/{namespace}/podtemplates/{name}Parametersname (in path): string, requiredname of the PodTemplatenamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (PodTemplate): OK401: Unauthorizedlist list or watch objects of kind PodTemplateHTTP RequestGET /api/v1/namespaces/{namespace}/podtemplatesParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (PodTemplateList): OK401: Unauthorizedlist list or watch objects of kind PodTemplateHTTP RequestGET /api/v1/podtemplatesParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (PodTemplateList): OK401: Unauthorizedcreate create a PodTemplateHTTP RequestPOST /api/v1/namespaces/{namespace}/pod",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_qa_5038"
  },
  {
    "question": "When would you use PodTemplate?",
    "answer": "PodTemplatePodTemplate describes a template for creating copies of a predefined pod.apiVersion: v1import \"k8s.io/api/core/v1\"PodTemplatePodTemplate describes a template for creating copies of a predefined pod.apiVersion: v1kind: PodTemplatemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatatemplate (PodTemplateSpec)Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusPodTemplateSpecPodTemplateSpec describes the data a pod should have when created from a templatemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PodSpec)Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusPodTemplateListPodTemplateList is a list of PodTemplates.apiVersion: v1kind: PodTemplateListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems ([]PodTemplate), requiredList of pod templatesOperationsget read the specified PodTemplateHTTP RequestGET /api/v1/namespaces/{namespace}/podtemplates/{name}Parametersname (in path): string, requiredname of the PodTemplatenamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (PodTemplate): OK401: Unauthorizedlist list or watch objects of kind PodTemplateHTTP RequestGET /api/v1/namespaces/{namespace}/podtemplatesParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (PodTemplateList): OK401: Unauthorizedlist list or watch objects of kind PodTemplateHTTP RequestGET /api/v1/podtemplatesParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (PodTemplateList): OK401: Unauthorizedcreate create a PodTemplateHTTP RequestPOST /api/v1/namespaces/{namespace}/pod",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_qa_5039"
  },
  {
    "question": "What are the benefits of PodTemplate?",
    "answer": "PodTemplatePodTemplate describes a template for creating copies of a predefined pod.apiVersion: v1import \"k8s.io/api/core/v1\"PodTemplatePodTemplate describes a template for creating copies of a predefined pod.apiVersion: v1kind: PodTemplatemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatatemplate (PodTemplateSpec)Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusPodTemplateSpecPodTemplateSpec describes the data a pod should have when created from a templatemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PodSpec)Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusPodTemplateListPodTemplateList is a list of PodTemplates.apiVersion: v1kind: PodTemplateListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems ([]PodTemplate), requiredList of pod templatesOperationsget read the specified PodTemplateHTTP RequestGET /api/v1/namespaces/{namespace}/podtemplates/{name}Parametersname (in path): string, requiredname of the PodTemplatenamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (PodTemplate): OK401: Unauthorizedlist list or watch objects of kind PodTemplateHTTP RequestGET /api/v1/namespaces/{namespace}/podtemplatesParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (PodTemplateList): OK401: Unauthorizedlist list or watch objects of kind PodTemplateHTTP RequestGET /api/v1/podtemplatesParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (PodTemplateList): OK401: Unauthorizedcreate create a PodTemplateHTTP RequestPOST /api/v1/namespaces/{namespace}/pod",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_qa_5040"
  },
  {
    "question": "What is PodTemplate?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_1_5041"
  },
  {
    "question": "What is PodTemplate?",
    "answer": "P o d T e m p l a t e   d e s c r i b e s   a   t e m p l a t e   f o r   c r e a t i n g   c o p i e s   o f   a   p r e d e f i n e d   p o d .   a p i V e r s i o n :   v 1 k i n d :   P o d T e m p l a t e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a t e m p l a t e   ( P o d T e m p l a t e S p e c ) T e m p l a t e   d e f i n e s   t h e   p o d s   t h a t   w i l l   b e   c r e a t e d   f r o m   t h i s   p o d   t e m p l a t e .   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   v 1   k i n d :   P o d T e m p l a t e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   t e m p l a t e   ( P o d T e m p l a t e S p e c )   T e m p l a t e   d e f i n e s   t h e   p o d s   t h a t   w i l l   b e   c r e a t e d   f r o m   t h i s   p o d   t e m p l a t e .   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_2_5042"
  },
  {
    "question": "What is PodTemplateSpec?",
    "answer": "P o d T e m p l a t e S p e c   d e s c r i b e s   t h e   d a t a   a   p o d   s h o u l d   h a v e   w h e n   c r e a t e d   f r o m   a   t e m p l a t e   m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( P o d S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   p o d .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( P o d S p e c )   S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   p o d .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_2_5043"
  },
  {
    "question": "What is PodTemplateList?",
    "answer": "P o d T e m p l a t e L i s t   i s   a   l i s t   o f   P o d T e m p l a t e s .   a p i V e r s i o n :   v 1 k i n d :   P o d T e m p l a t e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] P o d T e m p l a t e ) ,   r e q u i r e d L i s t   o f   p o d   t e m p l a t e s   a p i V e r s i o n :   v 1   k i n d :   P o d T e m p l a t e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] P o d T e m p l a t e ) ,   r e q u i r e d   L i s t   o f   p o d   t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_2_5044"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_4_5045"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d T e m p l a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d T e m p l a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_4_5046"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d T e m p l a t e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_4_5047"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_4_5048"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_4_5049"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d T e m p l a t e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_4_5050"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / p o d t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_4_5051"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_4_5052"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d T e m p l a t e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_4_5053"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_4_5054"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d T e m p l a t e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d T e m p l a t e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_4_5055"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d T e m p l a t e ) :   O K   2 0 1   ( P o d T e m p l a t e ) :   C r e a t e d   2 0 2   ( P o d T e m p l a t e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_4_5056"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_4_5057"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d T e m p l a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d T e m p l a t e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d T e m p l a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d T e m p l a t e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_4_5058"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d T e m p l a t e ) :   O K   2 0 1   ( P o d T e m p l a t e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_4_5059"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_4_5060"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d T e m p l a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d T e m p l a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_4_5061"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d T e m p l a t e ) :   O K   2 0 1   ( P o d T e m p l a t e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_4_5062"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_4_5063"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d T e m p l a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d T e m p l a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_4_5064"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d T e m p l a t e ) :   O K   2 0 2   ( P o d T e m p l a t e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_4_5065"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_4_5066"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_4_5067"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/",
    "id": "k8s_00268_section_4_5068"
  },
  {
    "question": "What is Kubernetes Self-Healing?",
    "answer": "Kubernetes Self-HealingKubernetes is designed with self-healing capabilities that help maintain the health and availability of workloads. It automatically replaces failed containers, reschedules workloads when nodes become unavailable, and ensures that the desired state of the system is maintained.Self-Healing capabilitiesContainer-level restarts: If a container inside a Pod fails, Kubernetes restarts it based on the restartPolicy.Replica replacement: If a Pod in a Deployment or StatefulSet fails, Kubernetes creates a replacement Pod to maintain the specified number of replicas. If a Pod fails that is part of a DaemonSet fails, the control plane creates a replacement Pod to run on the same node.Persistent storage recovery: If a node is running a Pod with a PersistentVolume (PV) attached, and the node fails, Kubernetes can reattach the volume to a new Pod on a different node.Load balancing for Services: If a Pod behind a Service fails, Kubernetes automatically removes it from the Service's endpoints to route traffic only to healthy Pods.Here are some of the key components that provide Kubernetes self-healing:kubelet: Ensures that containers are running, and restarts those that fail.ReplicaSet, StatefulSet and DaemonSet controller: Maintains the desired number of Pod replicas.PersistentVolume controller: Manages volume attachment and detachment for stateful workloads.ConsiderationsStorage Failures: If a persistent volume becomes unavailable, recovery steps may be required.Application Errors: Kubernetes can restart containers, but underlying application issues must be addressed separately.What's nextRead more about PodsLearn about Kubernetes ControllersExplore PersistentVolumesRead about node autoscaling. Node autoscaling also provides automatic healing if or when nodes fail in your cluster.",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/self-healing/",
    "id": "k8s_00269_qa_5069"
  },
  {
    "question": "How does Kubernetes Self-Healing work?",
    "answer": "Kubernetes Self-HealingKubernetes is designed with self-healing capabilities that help maintain the health and availability of workloads. It automatically replaces failed containers, reschedules workloads when nodes become unavailable, and ensures that the desired state of the system is maintained.Self-Healing capabilitiesContainer-level restarts: If a container inside a Pod fails, Kubernetes restarts it based on the restartPolicy.Replica replacement: If a Pod in a Deployment or StatefulSet fails, Kubernetes creates a replacement Pod to maintain the specified number of replicas. If a Pod fails that is part of a DaemonSet fails, the control plane creates a replacement Pod to run on the same node.Persistent storage recovery: If a node is running a Pod with a PersistentVolume (PV) attached, and the node fails, Kubernetes can reattach the volume to a new Pod on a different node.Load balancing for Services: If a Pod behind a Service fails, Kubernetes automatically removes it from the Service's endpoints to route traffic only to healthy Pods.Here are some of the key components that provide Kubernetes self-healing:kubelet: Ensures that containers are running, and restarts those that fail.ReplicaSet, StatefulSet and DaemonSet controller: Maintains the desired number of Pod replicas.PersistentVolume controller: Manages volume attachment and detachment for stateful workloads.ConsiderationsStorage Failures: If a persistent volume becomes unavailable, recovery steps may be required.Application Errors: Kubernetes can restart containers, but underlying application issues must be addressed separately.What's nextRead more about PodsLearn about Kubernetes ControllersExplore PersistentVolumesRead about node autoscaling. Node autoscaling also provides automatic healing if or when nodes fail in your cluster.",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/self-healing/",
    "id": "k8s_00269_qa_5070"
  },
  {
    "question": "When would you use Kubernetes Self-Healing?",
    "answer": "Kubernetes Self-HealingKubernetes is designed with self-healing capabilities that help maintain the health and availability of workloads. It automatically replaces failed containers, reschedules workloads when nodes become unavailable, and ensures that the desired state of the system is maintained.Self-Healing capabilitiesContainer-level restarts: If a container inside a Pod fails, Kubernetes restarts it based on the restartPolicy.Replica replacement: If a Pod in a Deployment or StatefulSet fails, Kubernetes creates a replacement Pod to maintain the specified number of replicas. If a Pod fails that is part of a DaemonSet fails, the control plane creates a replacement Pod to run on the same node.Persistent storage recovery: If a node is running a Pod with a PersistentVolume (PV) attached, and the node fails, Kubernetes can reattach the volume to a new Pod on a different node.Load balancing for Services: If a Pod behind a Service fails, Kubernetes automatically removes it from the Service's endpoints to route traffic only to healthy Pods.Here are some of the key components that provide Kubernetes self-healing:kubelet: Ensures that containers are running, and restarts those that fail.ReplicaSet, StatefulSet and DaemonSet controller: Maintains the desired number of Pod replicas.PersistentVolume controller: Manages volume attachment and detachment for stateful workloads.ConsiderationsStorage Failures: If a persistent volume becomes unavailable, recovery steps may be required.Application Errors: Kubernetes can restart containers, but underlying application issues must be addressed separately.What's nextRead more about PodsLearn about Kubernetes ControllersExplore PersistentVolumesRead about node autoscaling. Node autoscaling also provides automatic healing if or when nodes fail in your cluster.",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/self-healing/",
    "id": "k8s_00269_qa_5071"
  },
  {
    "question": "What are the benefits of Kubernetes Self-Healing?",
    "answer": "Kubernetes Self-HealingKubernetes is designed with self-healing capabilities that help maintain the health and availability of workloads. It automatically replaces failed containers, reschedules workloads when nodes become unavailable, and ensures that the desired state of the system is maintained.Self-Healing capabilitiesContainer-level restarts: If a container inside a Pod fails, Kubernetes restarts it based on the restartPolicy.Replica replacement: If a Pod in a Deployment or StatefulSet fails, Kubernetes creates a replacement Pod to maintain the specified number of replicas. If a Pod fails that is part of a DaemonSet fails, the control plane creates a replacement Pod to run on the same node.Persistent storage recovery: If a node is running a Pod with a PersistentVolume (PV) attached, and the node fails, Kubernetes can reattach the volume to a new Pod on a different node.Load balancing for Services: If a Pod behind a Service fails, Kubernetes automatically removes it from the Service's endpoints to route traffic only to healthy Pods.Here are some of the key components that provide Kubernetes self-healing:kubelet: Ensures that containers are running, and restarts those that fail.ReplicaSet, StatefulSet and DaemonSet controller: Maintains the desired number of Pod replicas.PersistentVolume controller: Manages volume attachment and detachment for stateful workloads.ConsiderationsStorage Failures: If a persistent volume becomes unavailable, recovery steps may be required.Application Errors: Kubernetes can restart containers, but underlying application issues must be addressed separately.What's nextRead more about PodsLearn about Kubernetes ControllersExplore PersistentVolumesRead about node autoscaling. Node autoscaling also provides automatic healing if or when nodes fail in your cluster.",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/self-healing/",
    "id": "k8s_00269_qa_5072"
  },
  {
    "question": "What is Kubernetes Self-Healing?",
    "answer": "K u b e r n e t e s   i s   d e s i g n e d   w i t h   s e l f - h e a l i n g   c a p a b i l i t i e s   t h a t   h e l p   m a i n t a i n   t h e   h e a l t h   a n d   a v a i l a b i l i t y   o f   w o r k l o a d s .   I t   a u t o m a t i c a l l y   r e p l a c e s   f a i l e d   c o n t a i n e r s ,   r e s c h e d u l e s   w o r k l o a d s   w h e n   n o d e s   b e c o m e   u n a v a i l a b l e ,   a n d   e n s u r e s   t h a t   t h e   d e s i r e d   s t a t e   o f   t h e   s y s t e m   i s   m a i n t a i n e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/self-healing/",
    "id": "k8s_00269_section_1_5073"
  },
  {
    "question": "What is Self-Healing capabilities?",
    "answer": "C o n t a i n e r - l e v e l   r e s t a r t s :   I f   a   c o n t a i n e r   i n s i d e   a   P o d   f a i l s ,   K u b e r n e t e s   r e s t a r t s   i t   b a s e d   o n   t h e   r e s t a r t P o l i c y . R e p l i c a   r e p l a c e m e n t :   I f   a   P o d   i n   a   D e p l o y m e n t   o r   S t a t e f u l S e t   f a i l s ,   K u b e r n e t e s   c r e a t e s   a   r e p l a c e m e n t   P o d   t o   m a i n t a i n   t h e   s p e c i f i e d   n u m b e r   o f   r e p l i c a s .   I f   a   P o d   f a i l s   t h a t   i s   p a r t   o f   a   D a e m o n S e t   f a i l s ,   t h e   c o n t r o l   p l a n e   c r e a t e s   a   r e p l a c e m e n t   P o d   t o   r u n   o n   t h e   s a m e   n o d e . P e r s i s t e n t   s t o r a g e   r e c o v e r y :   I f   a   n o d e   i s   r u n n i n g   a   P o d   w i t h   a   P e r s i s t e n t V o l u m e   ( P V )   a t t a c h e d ,   a n d   t h e   n o d e   f a i l s ,   K u b e r n e t e s   c a n   r e a t t a c h   t h e   v o l u m e   t o   a   n e w   P o d   o n   a   d i f f e r e n t   n o d e . L o a d   b a l a n c i n g   f o r   S e r v i c e s :   I f   a   P o d   b e h i n d   a   S e r v i c e   f a i l s ,   K u b e r n e t e s   a u t o m a t i c a l l y   r e m o v e s   i t   f r o m   t h e   S e r v i c e ' s   e n d p o i n t s   t o   r o u t e   t r a f f i c   o n l y   t o   h e a l t h y   P o d s .   C o n t a i n e r - l e v e l   r e s t a r t s :   I f   a   c o n t a i n e r   i n s i d e   a   P o d   f a i l s ,   K u b e r n e t e s   r e s t a r t s   i t   b a s e d   o n   t h e   r e s t a r t P o l i c y .   R e p l i c a   r e p l a c e m e n t :   I f   a   P o d   i n   a   D e p l o y m e n t   o r   S t a t e f u l S e t   f a i l s ,   K u b e r n e t e s   c r e a t e s   a   r e p l a c e m e n t   P o d   t o   m a i n t a i n   t h e   s p e c i f i e d   n u m b e r   o f   r e p l i c a s .   I f   a   P o d ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/self-healing/",
    "id": "k8s_00269_section_2_5074"
  },
  {
    "question": "What is Considerations?",
    "answer": "S t o r a g e   F a i l u r e s :   I f   a   p e r s i s t e n t   v o l u m e   b e c o m e s   u n a v a i l a b l e ,   r e c o v e r y   s t e p s   m a y   b e   r e q u i r e d . A p p l i c a t i o n   E r r o r s :   K u b e r n e t e s   c a n   r e s t a r t   c o n t a i n e r s ,   b u t   u n d e r l y i n g   a p p l i c a t i o n   i s s u e s   m u s t   b e   a d d r e s s e d   s e p a r a t e l y .   S t o r a g e   F a i l u r e s :   I f   a   p e r s i s t e n t   v o l u m e   b e c o m e s   u n a v a i l a b l e ,   r e c o v e r y   s t e p s   m a y   b e   r e q u i r e d .   A p p l i c a t i o n   E r r o r s :   K u b e r n e t e s   c a n   r e s t a r t   c o n t a i n e r s ,   b u t   u n d e r l y i n g   a p p l i c a t i o n   i s s u e s   m u s t   b e   a d d r e s s e d   s e p a r a t e l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/self-healing/",
    "id": "k8s_00269_section_2_5075"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   m o r e   a b o u t   P o d s L e a r n   a b o u t   K u b e r n e t e s   C o n t r o l l e r s E x p l o r e   P e r s i s t e n t V o l u m e s R e a d   a b o u t   n o d e   a u t o s c a l i n g .   N o d e   a u t o s c a l i n g   a l s o   p r o v i d e s   a u t o m a t i c   h e a l i n g   i f   o r   w h e n   n o d e s   f a i l   i n   y o u r   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/self-healing/",
    "id": "k8s_00269_section_2_5076"
  },
  {
    "question": "What is Recommended Labels?",
    "answer": "Recommended LabelsYou can visualize and manage Kubernetes objects with more tools than kubectl and the dashboard. A common set of labels allows tools to work interoperably, describing objects in a common manner that all tools can understand.In addition to supporting tooling, the recommended labels describe applications in a way that can be queried.The metadata is organized around the concept of an application. Kubernetes is not a platform as a service (PaaS) and doesn't have or enforce a formal notion of an application. Instead, applications are informal and described with metadata. The definition of what an application contains is loose.Note:These are recommended labels. They make it easier to manage applications but aren't required for any core tooling.Shared labels and annotations share a common prefix: app.kubernetes.io. Labels without a prefix are private to users. The shared prefix ensures that shared labels do not interfere with custom user labels.LabelsIn order to take full advantage of using these labels, they should be applied on every resource object.KeyDescriptionExampleTypeapp.kubernetes.io/nameThe name of the applicationmysqlstringapp.kubernetes.io/instanceA unique name identifying the instance of an applicationmysql-abcxyzstringapp.kubernetes.io/versionThe current version of the application (e.g., a SemVer 1.0, revision hash, etc.)5.7.21stringapp.kubernetes.io/componentThe component within the architecturedatabasestringapp.kubernetes.io/part-ofThe name of a higher level application this one is part ofwordpressstringapp.kubernetes.io/managed-byThe tool being used to manage the operation of an applicationHelmstringTo illustrate these labels in action, consider the following StatefulSet object:# This is an excerpt apiVersion: apps/v1 kind: StatefulSet metadata: labels: app.kubernetes.io/name: mysql app.kubernetes.io/instance: mysql-abcxyz app.kubernetes.io/version: \"5.7.21\" app.kubernetes.io/component: database app.kubernetes.io/part-of: wordpress app.kubernetes.io/managed-by: Helm Applications And Instances Of ApplicationsAn application can be installed one or more times into a Kubernetes cluster and, in some cases, the same namespace. For example, WordPress can be installed more than once where different websites are different installations of WordPress.The name of an application and the instance name are recorded separately. For example, WordPress has a app.kubernetes.io/name of wordpress while it has an instance name, represented as app.kubernetes.io/instance with a value of wordpress-abcxyz. This enables the application and instance of the application to be identifiable. Every instance of an application must have a unique name.ExamplesTo illustrate different ways to use these labels the following examples have varying complexity.A Simple Stateless ServiceConsider the case for a simple stateless service deployed using Deployment and Service objects. The following two snippets represent how the labels could be used in their simples",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/",
    "id": "k8s_00270_qa_5077"
  },
  {
    "question": "How does Recommended Labels work?",
    "answer": "Recommended LabelsYou can visualize and manage Kubernetes objects with more tools than kubectl and the dashboard. A common set of labels allows tools to work interoperably, describing objects in a common manner that all tools can understand.In addition to supporting tooling, the recommended labels describe applications in a way that can be queried.The metadata is organized around the concept of an application. Kubernetes is not a platform as a service (PaaS) and doesn't have or enforce a formal notion of an application. Instead, applications are informal and described with metadata. The definition of what an application contains is loose.Note:These are recommended labels. They make it easier to manage applications but aren't required for any core tooling.Shared labels and annotations share a common prefix: app.kubernetes.io. Labels without a prefix are private to users. The shared prefix ensures that shared labels do not interfere with custom user labels.LabelsIn order to take full advantage of using these labels, they should be applied on every resource object.KeyDescriptionExampleTypeapp.kubernetes.io/nameThe name of the applicationmysqlstringapp.kubernetes.io/instanceA unique name identifying the instance of an applicationmysql-abcxyzstringapp.kubernetes.io/versionThe current version of the application (e.g., a SemVer 1.0, revision hash, etc.)5.7.21stringapp.kubernetes.io/componentThe component within the architecturedatabasestringapp.kubernetes.io/part-ofThe name of a higher level application this one is part ofwordpressstringapp.kubernetes.io/managed-byThe tool being used to manage the operation of an applicationHelmstringTo illustrate these labels in action, consider the following StatefulSet object:# This is an excerpt apiVersion: apps/v1 kind: StatefulSet metadata: labels: app.kubernetes.io/name: mysql app.kubernetes.io/instance: mysql-abcxyz app.kubernetes.io/version: \"5.7.21\" app.kubernetes.io/component: database app.kubernetes.io/part-of: wordpress app.kubernetes.io/managed-by: Helm Applications And Instances Of ApplicationsAn application can be installed one or more times into a Kubernetes cluster and, in some cases, the same namespace. For example, WordPress can be installed more than once where different websites are different installations of WordPress.The name of an application and the instance name are recorded separately. For example, WordPress has a app.kubernetes.io/name of wordpress while it has an instance name, represented as app.kubernetes.io/instance with a value of wordpress-abcxyz. This enables the application and instance of the application to be identifiable. Every instance of an application must have a unique name.ExamplesTo illustrate different ways to use these labels the following examples have varying complexity.A Simple Stateless ServiceConsider the case for a simple stateless service deployed using Deployment and Service objects. The following two snippets represent how the labels could be used in their simples",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/",
    "id": "k8s_00270_qa_5078"
  },
  {
    "question": "When would you use Recommended Labels?",
    "answer": "Recommended LabelsYou can visualize and manage Kubernetes objects with more tools than kubectl and the dashboard. A common set of labels allows tools to work interoperably, describing objects in a common manner that all tools can understand.In addition to supporting tooling, the recommended labels describe applications in a way that can be queried.The metadata is organized around the concept of an application. Kubernetes is not a platform as a service (PaaS) and doesn't have or enforce a formal notion of an application. Instead, applications are informal and described with metadata. The definition of what an application contains is loose.Note:These are recommended labels. They make it easier to manage applications but aren't required for any core tooling.Shared labels and annotations share a common prefix: app.kubernetes.io. Labels without a prefix are private to users. The shared prefix ensures that shared labels do not interfere with custom user labels.LabelsIn order to take full advantage of using these labels, they should be applied on every resource object.KeyDescriptionExampleTypeapp.kubernetes.io/nameThe name of the applicationmysqlstringapp.kubernetes.io/instanceA unique name identifying the instance of an applicationmysql-abcxyzstringapp.kubernetes.io/versionThe current version of the application (e.g., a SemVer 1.0, revision hash, etc.)5.7.21stringapp.kubernetes.io/componentThe component within the architecturedatabasestringapp.kubernetes.io/part-ofThe name of a higher level application this one is part ofwordpressstringapp.kubernetes.io/managed-byThe tool being used to manage the operation of an applicationHelmstringTo illustrate these labels in action, consider the following StatefulSet object:# This is an excerpt apiVersion: apps/v1 kind: StatefulSet metadata: labels: app.kubernetes.io/name: mysql app.kubernetes.io/instance: mysql-abcxyz app.kubernetes.io/version: \"5.7.21\" app.kubernetes.io/component: database app.kubernetes.io/part-of: wordpress app.kubernetes.io/managed-by: Helm Applications And Instances Of ApplicationsAn application can be installed one or more times into a Kubernetes cluster and, in some cases, the same namespace. For example, WordPress can be installed more than once where different websites are different installations of WordPress.The name of an application and the instance name are recorded separately. For example, WordPress has a app.kubernetes.io/name of wordpress while it has an instance name, represented as app.kubernetes.io/instance with a value of wordpress-abcxyz. This enables the application and instance of the application to be identifiable. Every instance of an application must have a unique name.ExamplesTo illustrate different ways to use these labels the following examples have varying complexity.A Simple Stateless ServiceConsider the case for a simple stateless service deployed using Deployment and Service objects. The following two snippets represent how the labels could be used in their simples",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/",
    "id": "k8s_00270_qa_5079"
  },
  {
    "question": "What are the benefits of Recommended Labels?",
    "answer": "Recommended LabelsYou can visualize and manage Kubernetes objects with more tools than kubectl and the dashboard. A common set of labels allows tools to work interoperably, describing objects in a common manner that all tools can understand.In addition to supporting tooling, the recommended labels describe applications in a way that can be queried.The metadata is organized around the concept of an application. Kubernetes is not a platform as a service (PaaS) and doesn't have or enforce a formal notion of an application. Instead, applications are informal and described with metadata. The definition of what an application contains is loose.Note:These are recommended labels. They make it easier to manage applications but aren't required for any core tooling.Shared labels and annotations share a common prefix: app.kubernetes.io. Labels without a prefix are private to users. The shared prefix ensures that shared labels do not interfere with custom user labels.LabelsIn order to take full advantage of using these labels, they should be applied on every resource object.KeyDescriptionExampleTypeapp.kubernetes.io/nameThe name of the applicationmysqlstringapp.kubernetes.io/instanceA unique name identifying the instance of an applicationmysql-abcxyzstringapp.kubernetes.io/versionThe current version of the application (e.g., a SemVer 1.0, revision hash, etc.)5.7.21stringapp.kubernetes.io/componentThe component within the architecturedatabasestringapp.kubernetes.io/part-ofThe name of a higher level application this one is part ofwordpressstringapp.kubernetes.io/managed-byThe tool being used to manage the operation of an applicationHelmstringTo illustrate these labels in action, consider the following StatefulSet object:# This is an excerpt apiVersion: apps/v1 kind: StatefulSet metadata: labels: app.kubernetes.io/name: mysql app.kubernetes.io/instance: mysql-abcxyz app.kubernetes.io/version: \"5.7.21\" app.kubernetes.io/component: database app.kubernetes.io/part-of: wordpress app.kubernetes.io/managed-by: Helm Applications And Instances Of ApplicationsAn application can be installed one or more times into a Kubernetes cluster and, in some cases, the same namespace. For example, WordPress can be installed more than once where different websites are different installations of WordPress.The name of an application and the instance name are recorded separately. For example, WordPress has a app.kubernetes.io/name of wordpress while it has an instance name, represented as app.kubernetes.io/instance with a value of wordpress-abcxyz. This enables the application and instance of the application to be identifiable. Every instance of an application must have a unique name.ExamplesTo illustrate different ways to use these labels the following examples have varying complexity.A Simple Stateless ServiceConsider the case for a simple stateless service deployed using Deployment and Service objects. The following two snippets represent how the labels could be used in their simples",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/",
    "id": "k8s_00270_qa_5080"
  },
  {
    "question": "What is Recommended Labels?",
    "answer": "Y o u   c a n   v i s u a l i z e   a n d   m a n a g e   K u b e r n e t e s   o b j e c t s   w i t h   m o r e   t o o l s   t h a n   k u b e c t l   a n d   t h e   d a s h b o a r d .   A   c o m m o n   s e t   o f   l a b e l s   a l l o w s   t o o l s   t o   w o r k   i n t e r o p e r a b l y ,   d e s c r i b i n g   o b j e c t s   i n   a   c o m m o n   m a n n e r   t h a t   a l l   t o o l s   c a n   u n d e r s t a n d .   I n   a d d i t i o n   t o   s u p p o r t i n g   t o o l i n g ,   t h e   r e c o m m e n d e d   l a b e l s   d e s c r i b e   a p p l i c a t i o n s   i n   a   w a y   t h a t   c a n   b e   q u e r i e d .   T h e   m e t a d a t a   i s   o r g a n i z e d   a r o u n d   t h e   c o n c e p t   o f   a n   a p p l i c a t i o n .   K u b e r n e t e s   i s   n o t   a   p l a t f o r m   a s   a   s e r v i c e   ( P a a S )   a n d   d o e s n ' t   h a v e   o r   e n f o r c e   a   f o r m a l   n o t i o n   o f   a n   a p p l i c a t i o n .   I n s t e a d ,   a p p l i c a t i o n s   a r e   i n f o r m a l   a n d   d e s c r i b e d   w i t h   m e t a d a t a .   T h e   d e f i n i t i o n   o f   w h a t   a n   a p p l i c a t i o n   c o n t a i n s   i s   l o o s e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/",
    "id": "k8s_00270_section_1_5081"
  },
  {
    "question": "What is Note:?",
    "answer": "S h a r e d   l a b e l s   a n d   a n n o t a t i o n s   s h a r e   a   c o m m o n   p r e f i x :   a p p . k u b e r n e t e s . i o .   L a b e l s   w i t h o u t   a   p r e f i x   a r e   p r i v a t e   t o   u s e r s .   T h e   s h a r e d   p r e f i x   e n s u r e s   t h a t   s h a r e d   l a b e l s   d o   n o t   i n t e r f e r e   w i t h   c u s t o m   u s e r   l a b e l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/",
    "id": "k8s_00270_section_4_5082"
  },
  {
    "question": "What is Labels?",
    "answer": "I n   o r d e r   t o   t a k e   f u l l   a d v a n t a g e   o f   u s i n g   t h e s e   l a b e l s ,   t h e y   s h o u l d   b e   a p p l i e d   o n   e v e r y   r e s o u r c e   o b j e c t .   T o   i l l u s t r a t e   t h e s e   l a b e l s   i n   a c t i o n ,   c o n s i d e r   t h e   f o l l o w i n g   S t a t e f u l S e t   o b j e c t :   #   T h i s   i s   a n   e x c e r p t   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   m y s q l   a p p . k u b e r n e t e s . i o / i n s t a n c e :   m y s q l - a b c x y z   a p p . k u b e r n e t e s . i o / v e r s i o n :   \" 5 . 7 . 2 1 \"   a p p . k u b e r n e t e s . i o / c o m p o n e n t :   d a t a b a s e   a p p . k u b e r n e t e s . i o / p a r t - o f :   w o r d p r e s s   a p p . k u b e r n e t e s . i o / m a n a g e d - b y :   H e l m",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/",
    "id": "k8s_00270_section_2_5083"
  },
  {
    "question": "What is Applications And Instances Of Applications?",
    "answer": "A n   a p p l i c a t i o n   c a n   b e   i n s t a l l e d   o n e   o r   m o r e   t i m e s   i n t o   a   K u b e r n e t e s   c l u s t e r   a n d ,   i n   s o m e   c a s e s ,   t h e   s a m e   n a m e s p a c e .   F o r   e x a m p l e ,   W o r d P r e s s   c a n   b e   i n s t a l l e d   m o r e   t h a n   o n c e   w h e r e   d i f f e r e n t   w e b s i t e s   a r e   d i f f e r e n t   i n s t a l l a t i o n s   o f   W o r d P r e s s .   T h e   n a m e   o f   a n   a p p l i c a t i o n   a n d   t h e   i n s t a n c e   n a m e   a r e   r e c o r d e d   s e p a r a t e l y .   F o r   e x a m p l e ,   W o r d P r e s s   h a s   a   a p p . k u b e r n e t e s . i o / n a m e   o f   w o r d p r e s s   w h i l e   i t   h a s   a n   i n s t a n c e   n a m e ,   r e p r e s e n t e d   a s   a p p . k u b e r n e t e s . i o / i n s t a n c e   w i t h   a   v a l u e   o f   w o r d p r e s s - a b c x y z .   T h i s   e n a b l e s   t h e   a p p l i c a t i o n   a n d   i n s t a n c e   o f   t h e   a p p l i c a t i o n   t o   b e   i d e n t i f i a b l e .   E v e r y   i n s t a n c e   o f   a n   a p p l i c a t i o n   m u s t   h a v e   a   u n i q u e   n a m e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/",
    "id": "k8s_00270_section_2_5084"
  },
  {
    "question": "What is Examples?",
    "answer": "T o   i l l u s t r a t e   d i f f e r e n t   w a y s   t o   u s e   t h e s e   l a b e l s   t h e   f o l l o w i n g   e x a m p l e s   h a v e   v a r y i n g   c o m p l e x i t y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/",
    "id": "k8s_00270_section_2_5085"
  },
  {
    "question": "What is A Simple Stateless Service?",
    "answer": "C o n s i d e r   t h e   c a s e   f o r   a   s i m p l e   s t a t e l e s s   s e r v i c e   d e p l o y e d   u s i n g   D e p l o y m e n t   a n d   S e r v i c e   o b j e c t s .   T h e   f o l l o w i n g   t w o   s n i p p e t s   r e p r e s e n t   h o w   t h e   l a b e l s   c o u l d   b e   u s e d   i n   t h e i r   s i m p l e s t   f o r m .   T h e   D e p l o y m e n t   i s   u s e d   t o   o v e r s e e   t h e   p o d s   r u n n i n g   t h e   a p p l i c a t i o n   i t s e l f .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   m y s e r v i c e   a p p . k u b e r n e t e s . i o / i n s t a n c e :   m y s e r v i c e - a b c x y z   . . .   T h e   S e r v i c e   i s   u s e d   t o   e x p o s e   t h e   a p p l i c a t i o n .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   m y s e r v i c e   a p p . k u b e r n e t e s . i o / i n s t a n c e :   m y s e r v i c e - a b c x y z   . . .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/",
    "id": "k8s_00270_section_3_5086"
  },
  {
    "question": "What is Web Application With A Database?",
    "answer": "C o n s i d e r   a   s l i g h t l y   m o r e   c o m p l i c a t e d   a p p l i c a t i o n :   a   w e b   a p p l i c a t i o n   ( W o r d P r e s s )   u s i n g   a   d a t a b a s e   ( M y S Q L ) ,   i n s t a l l e d   u s i n g   H e l m .   T h e   f o l l o w i n g   s n i p p e t s   i l l u s t r a t e   t h e   s t a r t   o f   o b j e c t s   u s e d   t o   d e p l o y   t h i s   a p p l i c a t i o n .   T h e   s t a r t   t o   t h e   f o l l o w i n g   D e p l o y m e n t   i s   u s e d   f o r   W o r d P r e s s :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   w o r d p r e s s   a p p . k u b e r n e t e s . i o / i n s t a n c e :   w o r d p r e s s - a b c x y z   a p p . k u b e r n e t e s . i o / v e r s i o n :   \" 4 . 9 . 4 \"   a p p . k u b e r n e t e s . i o / m a n a g e d - b y :   H e l m   a p p . k u b e r n e t e s . i o / c o m p o n e n t :   s e r v e r   a p p . k u b e r n e t e s . i o / p a r t - o f :   w o r d p r e s s   . . .   T h e   S e r v i c e   i s   u s e d   t o   e x p o s e   W o r d P r e s s :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   w o r d p r e s s   a p p . k u b e r n e t e s . i o / i n s t a n c e :   w o r d p r e s s - a b c x y z   a p p . k u b e r n e t e s . i o / v e r s i o n :   \" 4 . 9 . 4 \"   a p p . k u b e r n e t e s . i o / m a n a g e d - b y :   H e l m   a p p . k u b e r n e t e s . i o / c o m p o n e n t :   s e r v e r   a p p . k u b e r n e t e s . i o / p a r t - o f :   w o r d p r e s s   . . .   M y S Q L   i s   e x p o s e d   a s   a   S t a t e f u l S e t   w i t h   m e t a d a t a   f o r   b o t h   i t   a n d   t h e   l a r g e r   a p p l i c a t i o n   i t   b e l o n g s   t o :   a p i V e r s i o n :   a p p s / v 1   k i n d :   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/",
    "id": "k8s_00270_section_3_5087"
  },
  {
    "question": "What is Administer a Cluster?",
    "answer": "Administer a ClusterLearn common tasks for administering a cluster.Administration with kubeadmOverprovision Node Capacity For A ClusterMigrating from dockershimGenerate Certificates ManuallyManage Memory, CPU, and API ResourcesInstall a Network Policy ProviderAccess Clusters Using the Kubernetes APIAdvertise Extended Resources for a NodeAutoscale the DNS Service in a ClusterChange the Access Mode of a PersistentVolume to ReadWriteOncePodChange the default StorageClassSwitching from Polling to CRI Event-based Updates to Container StatusChange the Reclaim Policy of a PersistentVolumeCloud Controller Manager AdministrationConfigure a kubelet image credential providerConfigure Quotas for API ObjectsControl CPU Management Policies on the NodeControl Topology Management Policies on a nodeCustomizing DNS ServiceDebugging DNS ResolutionDeclare Network PolicyDeveloping Cloud Controller ManagerEnable Or Disable A Kubernetes APIEncrypting Confidential Data at RestDecrypt Confidential Data that is Already Encrypted at RestGuaranteed Scheduling For Critical Add-On PodsIP Masquerade Agent User GuideLimit Storage ConsumptionMigrate Replicated Control Plane To Use Cloud Controller ManagerOperating etcd clusters for KubernetesReserve Compute Resources for System DaemonsRunning Kubernetes Node Components as a Non-root UserSafely Drain a NodeSecuring a ClusterSet Kubelet Parameters Via A Configuration FileShare a Cluster with NamespacesUpgrade A ClusterUse Cascading Deletion in a ClusterUsing a KMS provider for data encryptionUsing CoreDNS for Service DiscoveryUsing NodeLocal DNSCache in Kubernetes ClustersUsing sysctls in a Kubernetes ClusterUtilizing the NUMA-aware Memory ManagerVerify Signed Kubernetes Artifacts",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/",
    "id": "k8s_00271_qa_5088"
  },
  {
    "question": "How does Administer a Cluster work?",
    "answer": "Administer a ClusterLearn common tasks for administering a cluster.Administration with kubeadmOverprovision Node Capacity For A ClusterMigrating from dockershimGenerate Certificates ManuallyManage Memory, CPU, and API ResourcesInstall a Network Policy ProviderAccess Clusters Using the Kubernetes APIAdvertise Extended Resources for a NodeAutoscale the DNS Service in a ClusterChange the Access Mode of a PersistentVolume to ReadWriteOncePodChange the default StorageClassSwitching from Polling to CRI Event-based Updates to Container StatusChange the Reclaim Policy of a PersistentVolumeCloud Controller Manager AdministrationConfigure a kubelet image credential providerConfigure Quotas for API ObjectsControl CPU Management Policies on the NodeControl Topology Management Policies on a nodeCustomizing DNS ServiceDebugging DNS ResolutionDeclare Network PolicyDeveloping Cloud Controller ManagerEnable Or Disable A Kubernetes APIEncrypting Confidential Data at RestDecrypt Confidential Data that is Already Encrypted at RestGuaranteed Scheduling For Critical Add-On PodsIP Masquerade Agent User GuideLimit Storage ConsumptionMigrate Replicated Control Plane To Use Cloud Controller ManagerOperating etcd clusters for KubernetesReserve Compute Resources for System DaemonsRunning Kubernetes Node Components as a Non-root UserSafely Drain a NodeSecuring a ClusterSet Kubelet Parameters Via A Configuration FileShare a Cluster with NamespacesUpgrade A ClusterUse Cascading Deletion in a ClusterUsing a KMS provider for data encryptionUsing CoreDNS for Service DiscoveryUsing NodeLocal DNSCache in Kubernetes ClustersUsing sysctls in a Kubernetes ClusterUtilizing the NUMA-aware Memory ManagerVerify Signed Kubernetes Artifacts",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/",
    "id": "k8s_00271_qa_5089"
  },
  {
    "question": "When would you use Administer a Cluster?",
    "answer": "Administer a ClusterLearn common tasks for administering a cluster.Administration with kubeadmOverprovision Node Capacity For A ClusterMigrating from dockershimGenerate Certificates ManuallyManage Memory, CPU, and API ResourcesInstall a Network Policy ProviderAccess Clusters Using the Kubernetes APIAdvertise Extended Resources for a NodeAutoscale the DNS Service in a ClusterChange the Access Mode of a PersistentVolume to ReadWriteOncePodChange the default StorageClassSwitching from Polling to CRI Event-based Updates to Container StatusChange the Reclaim Policy of a PersistentVolumeCloud Controller Manager AdministrationConfigure a kubelet image credential providerConfigure Quotas for API ObjectsControl CPU Management Policies on the NodeControl Topology Management Policies on a nodeCustomizing DNS ServiceDebugging DNS ResolutionDeclare Network PolicyDeveloping Cloud Controller ManagerEnable Or Disable A Kubernetes APIEncrypting Confidential Data at RestDecrypt Confidential Data that is Already Encrypted at RestGuaranteed Scheduling For Critical Add-On PodsIP Masquerade Agent User GuideLimit Storage ConsumptionMigrate Replicated Control Plane To Use Cloud Controller ManagerOperating etcd clusters for KubernetesReserve Compute Resources for System DaemonsRunning Kubernetes Node Components as a Non-root UserSafely Drain a NodeSecuring a ClusterSet Kubelet Parameters Via A Configuration FileShare a Cluster with NamespacesUpgrade A ClusterUse Cascading Deletion in a ClusterUsing a KMS provider for data encryptionUsing CoreDNS for Service DiscoveryUsing NodeLocal DNSCache in Kubernetes ClustersUsing sysctls in a Kubernetes ClusterUtilizing the NUMA-aware Memory ManagerVerify Signed Kubernetes Artifacts",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/",
    "id": "k8s_00271_qa_5090"
  },
  {
    "question": "What are the benefits of Administer a Cluster?",
    "answer": "Administer a ClusterLearn common tasks for administering a cluster.Administration with kubeadmOverprovision Node Capacity For A ClusterMigrating from dockershimGenerate Certificates ManuallyManage Memory, CPU, and API ResourcesInstall a Network Policy ProviderAccess Clusters Using the Kubernetes APIAdvertise Extended Resources for a NodeAutoscale the DNS Service in a ClusterChange the Access Mode of a PersistentVolume to ReadWriteOncePodChange the default StorageClassSwitching from Polling to CRI Event-based Updates to Container StatusChange the Reclaim Policy of a PersistentVolumeCloud Controller Manager AdministrationConfigure a kubelet image credential providerConfigure Quotas for API ObjectsControl CPU Management Policies on the NodeControl Topology Management Policies on a nodeCustomizing DNS ServiceDebugging DNS ResolutionDeclare Network PolicyDeveloping Cloud Controller ManagerEnable Or Disable A Kubernetes APIEncrypting Confidential Data at RestDecrypt Confidential Data that is Already Encrypted at RestGuaranteed Scheduling For Critical Add-On PodsIP Masquerade Agent User GuideLimit Storage ConsumptionMigrate Replicated Control Plane To Use Cloud Controller ManagerOperating etcd clusters for KubernetesReserve Compute Resources for System DaemonsRunning Kubernetes Node Components as a Non-root UserSafely Drain a NodeSecuring a ClusterSet Kubelet Parameters Via A Configuration FileShare a Cluster with NamespacesUpgrade A ClusterUse Cascading Deletion in a ClusterUsing a KMS provider for data encryptionUsing CoreDNS for Service DiscoveryUsing NodeLocal DNSCache in Kubernetes ClustersUsing sysctls in a Kubernetes ClusterUtilizing the NUMA-aware Memory ManagerVerify Signed Kubernetes Artifacts",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/",
    "id": "k8s_00271_qa_5091"
  },
  {
    "question": "What is Considerations for large clusters?",
    "answer": "Considerations for large clustersA cluster is a set of nodes (physical or virtual machines) running Kubernetes agents, managed by the control plane. Kubernetes v1.34 supports clusters with up to 5,000 nodes. More specifically, Kubernetes is designed to accommodate configurations that meet all of the following criteria:No more than 110 pods per nodeNo more than 5,000 nodesNo more than 150,000 total podsNo more than 300,000 total containersYou can scale your cluster by adding or removing nodes. The way you do this depends on how your cluster is deployed.Cloud provider resource quotasTo avoid running into cloud provider quota issues, when creating a cluster with many nodes, consider:Requesting a quota increase for cloud resources such as:Computer instancesCPUsStorage volumesIn-use IP addressesPacket filtering rule setsNumber of load balancersNetwork subnetsLog streamsGating the cluster scaling actions to bring up new nodes in batches, with a pause between batches, because some cloud providers rate limit the creation of new instances.Control plane componentsFor a large cluster, you need a control plane with sufficient compute and other resources.Typically you would run one or two control plane instances per failure zone, scaling those instances vertically first and then scaling horizontally after reaching the point of falling returns to (vertical) scale.You should run at least one instance per failure zone to provide fault-tolerance. Kubernetes nodes do not automatically steer traffic towards control-plane endpoints that are in the same failure zone; however, your cloud provider might have its own mechanisms to do this.For example, using a managed load balancer, you configure the load balancer to send traffic that originates from the kubelet and Pods in failure zone A, and direct that traffic only to the control plane hosts that are also in zone A. If a single control-plane host or endpoint failure zone A goes offline, that means that all the control-plane traffic for nodes in zone A is now being sent between zones. Running multiple control plane hosts in each zone makes that outcome less likely.etcd storageTo improve performance of large clusters, you can store Event objects in a separate dedicated etcd instance.When creating a cluster, you can (using custom tooling):start and configure additional etcd instanceconfigure the API server to use it for storing eventsSee Operating etcd clusters for Kubernetes and Set up a High Availability etcd cluster with kubeadm for details on configuring and managing etcd for a large cluster.Addon resourcesKubernetes resource limits help to minimize the impact of memory leaks and other ways that pods and containers can impact on other components. These resource limits apply to addon resources just as they apply to application workloads.For example, you can set CPU and memory limits for a logging component: ... containers: - name: fluentd-cloud-logging image: fluent/fluentd-kubernetes-daemonset:v1 resources: limits: c",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/cluster-large/",
    "id": "k8s_00272_qa_5092"
  },
  {
    "question": "How does Considerations for large clusters work?",
    "answer": "Considerations for large clustersA cluster is a set of nodes (physical or virtual machines) running Kubernetes agents, managed by the control plane. Kubernetes v1.34 supports clusters with up to 5,000 nodes. More specifically, Kubernetes is designed to accommodate configurations that meet all of the following criteria:No more than 110 pods per nodeNo more than 5,000 nodesNo more than 150,000 total podsNo more than 300,000 total containersYou can scale your cluster by adding or removing nodes. The way you do this depends on how your cluster is deployed.Cloud provider resource quotasTo avoid running into cloud provider quota issues, when creating a cluster with many nodes, consider:Requesting a quota increase for cloud resources such as:Computer instancesCPUsStorage volumesIn-use IP addressesPacket filtering rule setsNumber of load balancersNetwork subnetsLog streamsGating the cluster scaling actions to bring up new nodes in batches, with a pause between batches, because some cloud providers rate limit the creation of new instances.Control plane componentsFor a large cluster, you need a control plane with sufficient compute and other resources.Typically you would run one or two control plane instances per failure zone, scaling those instances vertically first and then scaling horizontally after reaching the point of falling returns to (vertical) scale.You should run at least one instance per failure zone to provide fault-tolerance. Kubernetes nodes do not automatically steer traffic towards control-plane endpoints that are in the same failure zone; however, your cloud provider might have its own mechanisms to do this.For example, using a managed load balancer, you configure the load balancer to send traffic that originates from the kubelet and Pods in failure zone A, and direct that traffic only to the control plane hosts that are also in zone A. If a single control-plane host or endpoint failure zone A goes offline, that means that all the control-plane traffic for nodes in zone A is now being sent between zones. Running multiple control plane hosts in each zone makes that outcome less likely.etcd storageTo improve performance of large clusters, you can store Event objects in a separate dedicated etcd instance.When creating a cluster, you can (using custom tooling):start and configure additional etcd instanceconfigure the API server to use it for storing eventsSee Operating etcd clusters for Kubernetes and Set up a High Availability etcd cluster with kubeadm for details on configuring and managing etcd for a large cluster.Addon resourcesKubernetes resource limits help to minimize the impact of memory leaks and other ways that pods and containers can impact on other components. These resource limits apply to addon resources just as they apply to application workloads.For example, you can set CPU and memory limits for a logging component: ... containers: - name: fluentd-cloud-logging image: fluent/fluentd-kubernetes-daemonset:v1 resources: limits: c",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/cluster-large/",
    "id": "k8s_00272_qa_5093"
  },
  {
    "question": "When would you use Considerations for large clusters?",
    "answer": "Considerations for large clustersA cluster is a set of nodes (physical or virtual machines) running Kubernetes agents, managed by the control plane. Kubernetes v1.34 supports clusters with up to 5,000 nodes. More specifically, Kubernetes is designed to accommodate configurations that meet all of the following criteria:No more than 110 pods per nodeNo more than 5,000 nodesNo more than 150,000 total podsNo more than 300,000 total containersYou can scale your cluster by adding or removing nodes. The way you do this depends on how your cluster is deployed.Cloud provider resource quotasTo avoid running into cloud provider quota issues, when creating a cluster with many nodes, consider:Requesting a quota increase for cloud resources such as:Computer instancesCPUsStorage volumesIn-use IP addressesPacket filtering rule setsNumber of load balancersNetwork subnetsLog streamsGating the cluster scaling actions to bring up new nodes in batches, with a pause between batches, because some cloud providers rate limit the creation of new instances.Control plane componentsFor a large cluster, you need a control plane with sufficient compute and other resources.Typically you would run one or two control plane instances per failure zone, scaling those instances vertically first and then scaling horizontally after reaching the point of falling returns to (vertical) scale.You should run at least one instance per failure zone to provide fault-tolerance. Kubernetes nodes do not automatically steer traffic towards control-plane endpoints that are in the same failure zone; however, your cloud provider might have its own mechanisms to do this.For example, using a managed load balancer, you configure the load balancer to send traffic that originates from the kubelet and Pods in failure zone A, and direct that traffic only to the control plane hosts that are also in zone A. If a single control-plane host or endpoint failure zone A goes offline, that means that all the control-plane traffic for nodes in zone A is now being sent between zones. Running multiple control plane hosts in each zone makes that outcome less likely.etcd storageTo improve performance of large clusters, you can store Event objects in a separate dedicated etcd instance.When creating a cluster, you can (using custom tooling):start and configure additional etcd instanceconfigure the API server to use it for storing eventsSee Operating etcd clusters for Kubernetes and Set up a High Availability etcd cluster with kubeadm for details on configuring and managing etcd for a large cluster.Addon resourcesKubernetes resource limits help to minimize the impact of memory leaks and other ways that pods and containers can impact on other components. These resource limits apply to addon resources just as they apply to application workloads.For example, you can set CPU and memory limits for a logging component: ... containers: - name: fluentd-cloud-logging image: fluent/fluentd-kubernetes-daemonset:v1 resources: limits: c",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/cluster-large/",
    "id": "k8s_00272_qa_5094"
  },
  {
    "question": "What are the benefits of Considerations for large clusters?",
    "answer": "Considerations for large clustersA cluster is a set of nodes (physical or virtual machines) running Kubernetes agents, managed by the control plane. Kubernetes v1.34 supports clusters with up to 5,000 nodes. More specifically, Kubernetes is designed to accommodate configurations that meet all of the following criteria:No more than 110 pods per nodeNo more than 5,000 nodesNo more than 150,000 total podsNo more than 300,000 total containersYou can scale your cluster by adding or removing nodes. The way you do this depends on how your cluster is deployed.Cloud provider resource quotasTo avoid running into cloud provider quota issues, when creating a cluster with many nodes, consider:Requesting a quota increase for cloud resources such as:Computer instancesCPUsStorage volumesIn-use IP addressesPacket filtering rule setsNumber of load balancersNetwork subnetsLog streamsGating the cluster scaling actions to bring up new nodes in batches, with a pause between batches, because some cloud providers rate limit the creation of new instances.Control plane componentsFor a large cluster, you need a control plane with sufficient compute and other resources.Typically you would run one or two control plane instances per failure zone, scaling those instances vertically first and then scaling horizontally after reaching the point of falling returns to (vertical) scale.You should run at least one instance per failure zone to provide fault-tolerance. Kubernetes nodes do not automatically steer traffic towards control-plane endpoints that are in the same failure zone; however, your cloud provider might have its own mechanisms to do this.For example, using a managed load balancer, you configure the load balancer to send traffic that originates from the kubelet and Pods in failure zone A, and direct that traffic only to the control plane hosts that are also in zone A. If a single control-plane host or endpoint failure zone A goes offline, that means that all the control-plane traffic for nodes in zone A is now being sent between zones. Running multiple control plane hosts in each zone makes that outcome less likely.etcd storageTo improve performance of large clusters, you can store Event objects in a separate dedicated etcd instance.When creating a cluster, you can (using custom tooling):start and configure additional etcd instanceconfigure the API server to use it for storing eventsSee Operating etcd clusters for Kubernetes and Set up a High Availability etcd cluster with kubeadm for details on configuring and managing etcd for a large cluster.Addon resourcesKubernetes resource limits help to minimize the impact of memory leaks and other ways that pods and containers can impact on other components. These resource limits apply to addon resources just as they apply to application workloads.For example, you can set CPU and memory limits for a logging component: ... containers: - name: fluentd-cloud-logging image: fluent/fluentd-kubernetes-daemonset:v1 resources: limits: c",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/cluster-large/",
    "id": "k8s_00272_qa_5095"
  },
  {
    "question": "What is Considerations for large clusters?",
    "answer": "A   c l u s t e r   i s   a   s e t   o f   n o d e s   ( p h y s i c a l   o r   v i r t u a l   m a c h i n e s )   r u n n i n g   K u b e r n e t e s   a g e n t s ,   m a n a g e d   b y   t h e   c o n t r o l   p l a n e .   K u b e r n e t e s   v 1 . 3 4   s u p p o r t s   c l u s t e r s   w i t h   u p   t o   5 , 0 0 0   n o d e s .   M o r e   s p e c i f i c a l l y ,   K u b e r n e t e s   i s   d e s i g n e d   t o   a c c o m m o d a t e   c o n f i g u r a t i o n s   t h a t   m e e t   a l l   o f   t h e   f o l l o w i n g   c r i t e r i a :   N o   m o r e   t h a n   1 1 0   p o d s   p e r   n o d e N o   m o r e   t h a n   5 , 0 0 0   n o d e s N o   m o r e   t h a n   1 5 0 , 0 0 0   t o t a l   p o d s N o   m o r e   t h a n   3 0 0 , 0 0 0   t o t a l   c o n t a i n e r s   Y o u   c a n   s c a l e   y o u r   c l u s t e r   b y   a d d i n g   o r   r e m o v i n g   n o d e s .   T h e   w a y   y o u   d o   t h i s   d e p e n d s   o n   h o w   y o u r   c l u s t e r   i s   d e p l o y e d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/cluster-large/",
    "id": "k8s_00272_section_1_5096"
  },
  {
    "question": "What is Cloud provider resource quotas?",
    "answer": "T o   a v o i d   r u n n i n g   i n t o   c l o u d   p r o v i d e r   q u o t a   i s s u e s ,   w h e n   c r e a t i n g   a   c l u s t e r   w i t h   m a n y   n o d e s ,   c o n s i d e r :   R e q u e s t i n g   a   q u o t a   i n c r e a s e   f o r   c l o u d   r e s o u r c e s   s u c h   a s : C o m p u t e r   i n s t a n c e s C P U s S t o r a g e   v o l u m e s I n - u s e   I P   a d d r e s s e s P a c k e t   f i l t e r i n g   r u l e   s e t s N u m b e r   o f   l o a d   b a l a n c e r s N e t w o r k   s u b n e t s L o g   s t r e a m s G a t i n g   t h e   c l u s t e r   s c a l i n g   a c t i o n s   t o   b r i n g   u p   n e w   n o d e s   i n   b a t c h e s ,   w i t h   a   p a u s e   b e t w e e n   b a t c h e s ,   b e c a u s e   s o m e   c l o u d   p r o v i d e r s   r a t e   l i m i t   t h e   c r e a t i o n   o f   n e w   i n s t a n c e s .   C o m p u t e r   i n s t a n c e s C P U s S t o r a g e   v o l u m e s I n - u s e   I P   a d d r e s s e s P a c k e t   f i l t e r i n g   r u l e   s e t s N u m b e r   o f   l o a d   b a l a n c e r s N e t w o r k   s u b n e t s L o g   s t r e a m s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/cluster-large/",
    "id": "k8s_00272_section_2_5097"
  },
  {
    "question": "What is Control plane components?",
    "answer": "F o r   a   l a r g e   c l u s t e r ,   y o u   n e e d   a   c o n t r o l   p l a n e   w i t h   s u f f i c i e n t   c o m p u t e   a n d   o t h e r   r e s o u r c e s .   T y p i c a l l y   y o u   w o u l d   r u n   o n e   o r   t w o   c o n t r o l   p l a n e   i n s t a n c e s   p e r   f a i l u r e   z o n e ,   s c a l i n g   t h o s e   i n s t a n c e s   v e r t i c a l l y   f i r s t   a n d   t h e n   s c a l i n g   h o r i z o n t a l l y   a f t e r   r e a c h i n g   t h e   p o i n t   o f   f a l l i n g   r e t u r n s   t o   ( v e r t i c a l )   s c a l e .   Y o u   s h o u l d   r u n   a t   l e a s t   o n e   i n s t a n c e   p e r   f a i l u r e   z o n e   t o   p r o v i d e   f a u l t - t o l e r a n c e .   K u b e r n e t e s   n o d e s   d o   n o t   a u t o m a t i c a l l y   s t e e r   t r a f f i c   t o w a r d s   c o n t r o l - p l a n e   e n d p o i n t s   t h a t   a r e   i n   t h e   s a m e   f a i l u r e   z o n e ;   h o w e v e r ,   y o u r   c l o u d   p r o v i d e r   m i g h t   h a v e   i t s   o w n   m e c h a n i s m s   t o   d o   t h i s .   F o r   e x a m p l e ,   u s i n g   a   m a n a g e d   l o a d   b a l a n c e r ,   y o u   c o n f i g u r e   t h e   l o a d   b a l a n c e r   t o   s e n d   t r a f f i c   t h a t   o r i g i n a t e s   f r o m   t h e   k u b e l e t   a n d   P o d s   i n   f a i l u r e   z o n e   A ,   a n d   d i r e c t   t h a t   t r a f f i c   o n l y   t o   t h e   c o n t r o l   p l a n e   h o s t s   t h a t   a r e   a l s o   i n   z o n e   A .   I f   a   s i n g l e   c o n t r o l - p l a n e   h o s t   o r   e n d p o i n t   f a i l u r e   z o n e   A   g o e s   o f f l i n e ,   t h a t   m e a n s   t h a t   a l l   t h e   c o n t r o l - p l a n e   t r a f f i c   f o r   n o d e s   i n   z o n e   A   i s   n o w   b e i n g   s e n t   b e t w e e n   z o n e s .   R u n n i n g   m u l t i p l e   c o ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/cluster-large/",
    "id": "k8s_00272_section_2_5098"
  },
  {
    "question": "What is etcd storage?",
    "answer": "T o   i m p r o v e   p e r f o r m a n c e   o f   l a r g e   c l u s t e r s ,   y o u   c a n   s t o r e   E v e n t   o b j e c t s   i n   a   s e p a r a t e   d e d i c a t e d   e t c d   i n s t a n c e .   W h e n   c r e a t i n g   a   c l u s t e r ,   y o u   c a n   ( u s i n g   c u s t o m   t o o l i n g ) :   s t a r t   a n d   c o n f i g u r e   a d d i t i o n a l   e t c d   i n s t a n c e c o n f i g u r e   t h e   A P I   s e r v e r   t o   u s e   i t   f o r   s t o r i n g   e v e n t s   S e e   O p e r a t i n g   e t c d   c l u s t e r s   f o r   K u b e r n e t e s   a n d   S e t   u p   a   H i g h   A v a i l a b i l i t y   e t c d   c l u s t e r   w i t h   k u b e a d m   f o r   d e t a i l s   o n   c o n f i g u r i n g   a n d   m a n a g i n g   e t c d   f o r   a   l a r g e   c l u s t e r .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/cluster-large/",
    "id": "k8s_00272_section_3_5099"
  },
  {
    "question": "What is Addon resources?",
    "answer": "K u b e r n e t e s   r e s o u r c e   l i m i t s   h e l p   t o   m i n i m i z e   t h e   i m p a c t   o f   m e m o r y   l e a k s   a n d   o t h e r   w a y s   t h a t   p o d s   a n d   c o n t a i n e r s   c a n   i m p a c t   o n   o t h e r   c o m p o n e n t s .   T h e s e   r e s o u r c e   l i m i t s   a p p l y   t o   a d d o n   r e s o u r c e s   j u s t   a s   t h e y   a p p l y   t o   a p p l i c a t i o n   w o r k l o a d s .   F o r   e x a m p l e ,   y o u   c a n   s e t   C P U   a n d   m e m o r y   l i m i t s   f o r   a   l o g g i n g   c o m p o n e n t :   . . .   c o n t a i n e r s :   -   n a m e :   f l u e n t d - c l o u d - l o g g i n g   i m a g e :   f l u e n t / f l u e n t d - k u b e r n e t e s - d a e m o n s e t : v 1   r e s o u r c e s :   l i m i t s :   c p u :   1 0 0 m   m e m o r y :   2 0 0 M i   A d d o n s '   d e f a u l t   l i m i t s   a r e   t y p i c a l l y   b a s e d   o n   d a t a   c o l l e c t e d   f r o m   e x p e r i e n c e   r u n n i n g   e a c h   a d d o n   o n   s m a l l   o r   m e d i u m   K u b e r n e t e s   c l u s t e r s .   W h e n   r u n n i n g   o n   l a r g e   c l u s t e r s ,   a d d o n s   o f t e n   c o n s u m e   m o r e   o f   s o m e   r e s o u r c e s   t h a n   t h e i r   d e f a u l t   l i m i t s .   I f   a   l a r g e   c l u s t e r   i s   d e p l o y e d   w i t h o u t   a d j u s t i n g   t h e s e   v a l u e s ,   t h e   a d d o n ( s )   m a y   c o n t i n u o u s l y   g e t   k i l l e d   b e c a u s e   t h e y   k e e p   h i t t i n g   t h e   m e m o r y   l i m i t .   A l t e r n a t i v e l y ,   t h e   a d d o n   m a y   r u n   b u t   w i t h   p o o r   p e r f o r m a n c e   d u e   t o   C P U   t i m e   s l i c e   r e s t r i c t i o n s .   T o   a v o i d   r u n n i n g   i n t o   c l u s t e r   a d d o n   r e s o u r c e   i s s u e s ,   w h e n   c r e a t i n g   a   c l u s t e r ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/cluster-large/",
    "id": "k8s_00272_section_2_5100"
  },
  {
    "question": "What is What's next?",
    "answer": "V e r t i c a l P o d A u t o s c a l e r   i s   a   c u s t o m   r e s o u r c e   t h a t   y o u   c a n   d e p l o y   i n t o   y o u r   c l u s t e r   t o   h e l p   y o u   m a n a g e   r e s o u r c e   r e q u e s t s   a n d   l i m i t s   f o r   p o d s . L e a r n   m o r e   a b o u t   V e r t i c a l   P o d   A u t o s c a l e r   a n d   h o w   y o u   c a n   u s e   i t   t o   s c a l e   c l u s t e r   c o m p o n e n t s ,   i n c l u d i n g   c l u s t e r - c r i t i c a l   a d d o n s . R e a d   a b o u t   N o d e   a u t o s c a l i n g T h e   a d d o n   r e s i z e r   h e l p s   y o u   i n   r e s i z i n g   t h e   a d d o n s   a u t o m a t i c a l l y   a s   y o u r   c l u s t e r ' s   s c a l e   c h a n g e s .   V e r t i c a l P o d A u t o s c a l e r   i s   a   c u s t o m   r e s o u r c e   t h a t   y o u   c a n   d e p l o y   i n t o   y o u r   c l u s t e r   t o   h e l p   y o u   m a n a g e   r e s o u r c e   r e q u e s t s   a n d   l i m i t s   f o r   p o d s . L e a r n   m o r e   a b o u t   V e r t i c a l   P o d   A u t o s c a l e r   a n d   h o w   y o u   c a n   u s e   i t   t o   s c a l e   c l u s t e r   c o m p o n e n t s ,   i n c l u d i n g   c l u s t e r - c r i t i c a l   a d d o n s .   R e a d   a b o u t   N o d e   a u t o s c a l i n g   T h e   a d d o n   r e s i z e r   h e l p s   y o u   i n   r e s i z i n g   t h e   a d d o n s   a u t o m a t i c a l l y   a s   y o u r   c l u s t e r ' s   s c a l e   c h a n g e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/cluster-large/",
    "id": "k8s_00272_section_2_5101"
  },
  {
    "question": "What is User Namespaces?",
    "answer": "User NamespacesFEATURE STATE: Kubernetes v1.30 [beta]This page explains how user namespaces are used in Kubernetes pods. A user namespace isolates the user running inside the container from the one in the host.A process running as root in a container can run as a different (non-root) user in the host; in other words, the process has full privileges for operations inside the user namespace, but is unprivileged for operations outside the namespace.You can use this feature to reduce the damage a compromised container can do to the host or other pods in the same node. There are several security vulnerabilities rated either HIGH or CRITICAL that were not exploitable when user namespaces is active. It is expected user namespace will mitigate some future vulnerabilities too.Before you beginNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.This is a Linux-only feature and support is needed in Linux for idmap mounts on the filesystems used. This means:On the node, the filesystem you use for /var/lib/kubelet/pods/, or the custom directory you configure for this, needs idmap mount support.All the filesystems used in the pod's volumes must support idmap mounts.In practice this means you need at least Linux 6.3, as tmpfs started supporting idmap mounts in that version. This is usually needed as several Kubernetes features use tmpfs (the service account token that is mounted by default uses a tmpfs, Secrets use a tmpfs, etc.)Some popular filesystems that support idmap mounts in Linux 6.3 are: btrfs, ext4, xfs, fat, tmpfs, overlayfs.In addition, the container runtime and its underlying OCI runtime must support user namespaces. The following OCI runtimes offer support:crun version 1.9 or greater (it's recommend version 1.13+).runc version 1.2 or greaterNote:Some OCI runtimes do not include the support needed for using user namespaces in Linux pods. If you use a managed Kubernetes, or have downloaded it from packages and set it up, it's possible that nodes in your cluster use a runtime that doesn't include this support.To use user namespaces with Kubernetes, you also need to use a CRI container runtime to use this feature with Kubernetes pods:containerd: version 2.0 (and later) supports user namespaces for containers.CRI-O: version 1.25 (and later) supports user namespaces for containers.You can see the status of user namespaces support in cri-dockerd tracked in an issue on GitHub.IntroductionUser namespaces is a Linux feature that allows to map users in the container to different users in the host. Furthermore, the capabilities granted to a pod in a user namespace are valid only in the namespace and void outside of it.A pod can opt-in to use user namespaces by setting the pod.spec.hostUsers field to false.The kubel",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/",
    "id": "k8s_00273_qa_5102"
  },
  {
    "question": "How does User Namespaces work?",
    "answer": "User NamespacesFEATURE STATE: Kubernetes v1.30 [beta]This page explains how user namespaces are used in Kubernetes pods. A user namespace isolates the user running inside the container from the one in the host.A process running as root in a container can run as a different (non-root) user in the host; in other words, the process has full privileges for operations inside the user namespace, but is unprivileged for operations outside the namespace.You can use this feature to reduce the damage a compromised container can do to the host or other pods in the same node. There are several security vulnerabilities rated either HIGH or CRITICAL that were not exploitable when user namespaces is active. It is expected user namespace will mitigate some future vulnerabilities too.Before you beginNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.This is a Linux-only feature and support is needed in Linux for idmap mounts on the filesystems used. This means:On the node, the filesystem you use for /var/lib/kubelet/pods/, or the custom directory you configure for this, needs idmap mount support.All the filesystems used in the pod's volumes must support idmap mounts.In practice this means you need at least Linux 6.3, as tmpfs started supporting idmap mounts in that version. This is usually needed as several Kubernetes features use tmpfs (the service account token that is mounted by default uses a tmpfs, Secrets use a tmpfs, etc.)Some popular filesystems that support idmap mounts in Linux 6.3 are: btrfs, ext4, xfs, fat, tmpfs, overlayfs.In addition, the container runtime and its underlying OCI runtime must support user namespaces. The following OCI runtimes offer support:crun version 1.9 or greater (it's recommend version 1.13+).runc version 1.2 or greaterNote:Some OCI runtimes do not include the support needed for using user namespaces in Linux pods. If you use a managed Kubernetes, or have downloaded it from packages and set it up, it's possible that nodes in your cluster use a runtime that doesn't include this support.To use user namespaces with Kubernetes, you also need to use a CRI container runtime to use this feature with Kubernetes pods:containerd: version 2.0 (and later) supports user namespaces for containers.CRI-O: version 1.25 (and later) supports user namespaces for containers.You can see the status of user namespaces support in cri-dockerd tracked in an issue on GitHub.IntroductionUser namespaces is a Linux feature that allows to map users in the container to different users in the host. Furthermore, the capabilities granted to a pod in a user namespace are valid only in the namespace and void outside of it.A pod can opt-in to use user namespaces by setting the pod.spec.hostUsers field to false.The kubel",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/",
    "id": "k8s_00273_qa_5103"
  },
  {
    "question": "When would you use User Namespaces?",
    "answer": "User NamespacesFEATURE STATE: Kubernetes v1.30 [beta]This page explains how user namespaces are used in Kubernetes pods. A user namespace isolates the user running inside the container from the one in the host.A process running as root in a container can run as a different (non-root) user in the host; in other words, the process has full privileges for operations inside the user namespace, but is unprivileged for operations outside the namespace.You can use this feature to reduce the damage a compromised container can do to the host or other pods in the same node. There are several security vulnerabilities rated either HIGH or CRITICAL that were not exploitable when user namespaces is active. It is expected user namespace will mitigate some future vulnerabilities too.Before you beginNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.This is a Linux-only feature and support is needed in Linux for idmap mounts on the filesystems used. This means:On the node, the filesystem you use for /var/lib/kubelet/pods/, or the custom directory you configure for this, needs idmap mount support.All the filesystems used in the pod's volumes must support idmap mounts.In practice this means you need at least Linux 6.3, as tmpfs started supporting idmap mounts in that version. This is usually needed as several Kubernetes features use tmpfs (the service account token that is mounted by default uses a tmpfs, Secrets use a tmpfs, etc.)Some popular filesystems that support idmap mounts in Linux 6.3 are: btrfs, ext4, xfs, fat, tmpfs, overlayfs.In addition, the container runtime and its underlying OCI runtime must support user namespaces. The following OCI runtimes offer support:crun version 1.9 or greater (it's recommend version 1.13+).runc version 1.2 or greaterNote:Some OCI runtimes do not include the support needed for using user namespaces in Linux pods. If you use a managed Kubernetes, or have downloaded it from packages and set it up, it's possible that nodes in your cluster use a runtime that doesn't include this support.To use user namespaces with Kubernetes, you also need to use a CRI container runtime to use this feature with Kubernetes pods:containerd: version 2.0 (and later) supports user namespaces for containers.CRI-O: version 1.25 (and later) supports user namespaces for containers.You can see the status of user namespaces support in cri-dockerd tracked in an issue on GitHub.IntroductionUser namespaces is a Linux feature that allows to map users in the container to different users in the host. Furthermore, the capabilities granted to a pod in a user namespace are valid only in the namespace and void outside of it.A pod can opt-in to use user namespaces by setting the pod.spec.hostUsers field to false.The kubel",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/",
    "id": "k8s_00273_qa_5104"
  },
  {
    "question": "What are the benefits of User Namespaces?",
    "answer": "User NamespacesFEATURE STATE: Kubernetes v1.30 [beta]This page explains how user namespaces are used in Kubernetes pods. A user namespace isolates the user running inside the container from the one in the host.A process running as root in a container can run as a different (non-root) user in the host; in other words, the process has full privileges for operations inside the user namespace, but is unprivileged for operations outside the namespace.You can use this feature to reduce the damage a compromised container can do to the host or other pods in the same node. There are several security vulnerabilities rated either HIGH or CRITICAL that were not exploitable when user namespaces is active. It is expected user namespace will mitigate some future vulnerabilities too.Before you beginNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.This is a Linux-only feature and support is needed in Linux for idmap mounts on the filesystems used. This means:On the node, the filesystem you use for /var/lib/kubelet/pods/, or the custom directory you configure for this, needs idmap mount support.All the filesystems used in the pod's volumes must support idmap mounts.In practice this means you need at least Linux 6.3, as tmpfs started supporting idmap mounts in that version. This is usually needed as several Kubernetes features use tmpfs (the service account token that is mounted by default uses a tmpfs, Secrets use a tmpfs, etc.)Some popular filesystems that support idmap mounts in Linux 6.3 are: btrfs, ext4, xfs, fat, tmpfs, overlayfs.In addition, the container runtime and its underlying OCI runtime must support user namespaces. The following OCI runtimes offer support:crun version 1.9 or greater (it's recommend version 1.13+).runc version 1.2 or greaterNote:Some OCI runtimes do not include the support needed for using user namespaces in Linux pods. If you use a managed Kubernetes, or have downloaded it from packages and set it up, it's possible that nodes in your cluster use a runtime that doesn't include this support.To use user namespaces with Kubernetes, you also need to use a CRI container runtime to use this feature with Kubernetes pods:containerd: version 2.0 (and later) supports user namespaces for containers.CRI-O: version 1.25 (and later) supports user namespaces for containers.You can see the status of user namespaces support in cri-dockerd tracked in an issue on GitHub.IntroductionUser namespaces is a Linux feature that allows to map users in the container to different users in the host. Furthermore, the capabilities granted to a pod in a user namespace are valid only in the namespace and void outside of it.A pod can opt-in to use user namespaces by setting the pod.spec.hostUsers field to false.The kubel",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/",
    "id": "k8s_00273_qa_5105"
  },
  {
    "question": "What is User Namespaces?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   u s e r   n a m e s p a c e s   a r e   u s e d   i n   K u b e r n e t e s   p o d s .   A   u s e r   n a m e s p a c e   i s o l a t e s   t h e   u s e r   r u n n i n g   i n s i d e   t h e   c o n t a i n e r   f r o m   t h e   o n e   i n   t h e   h o s t .   A   p r o c e s s   r u n n i n g   a s   r o o t   i n   a   c o n t a i n e r   c a n   r u n   a s   a   d i f f e r e n t   ( n o n - r o o t )   u s e r   i n   t h e   h o s t ;   i n   o t h e r   w o r d s ,   t h e   p r o c e s s   h a s   f u l l   p r i v i l e g e s   f o r   o p e r a t i o n s   i n s i d e   t h e   u s e r   n a m e s p a c e ,   b u t   i s   u n p r i v i l e g e d   f o r   o p e r a t i o n s   o u t s i d e   t h e   n a m e s p a c e .   Y o u   c a n   u s e   t h i s   f e a t u r e   t o   r e d u c e   t h e   d a m a g e   a   c o m p r o m i s e d   c o n t a i n e r   c a n   d o   t o   t h e   h o s t   o r   o t h e r   p o d s   i n   t h e   s a m e   n o d e .   T h e r e   a r e   s e v e r a l   s e c u r i t y   v u l n e r a b i l i t i e s   r a t e d   e i t h e r   H I G H   o r   C R I T I C A L   t h a t   w e r e   n o t   e x p l o i t a b l e   w h e n   u s e r   n a m e s p a c e s   i s   a c t i v e .   I t   i s   e x p e c t e d   u s e r   n a m e s p a c e   w i l l   m i t i g a t e   s o m e   f u t u r e   v u l n e r a b i l i t i e s   t o o .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/",
    "id": "k8s_00273_section_1_5106"
  },
  {
    "question": "What is Before you begin?",
    "answer": "T h i s   i s   a   L i n u x - o n l y   f e a t u r e   a n d   s u p p o r t   i s   n e e d e d   i n   L i n u x   f o r   i d m a p   m o u n t s   o n   t h e   f i l e s y s t e m s   u s e d .   T h i s   m e a n s :   O n   t h e   n o d e ,   t h e   f i l e s y s t e m   y o u   u s e   f o r   / v a r / l i b / k u b e l e t / p o d s / ,   o r   t h e   c u s t o m   d i r e c t o r y   y o u   c o n f i g u r e   f o r   t h i s ,   n e e d s   i d m a p   m o u n t   s u p p o r t . A l l   t h e   f i l e s y s t e m s   u s e d   i n   t h e   p o d ' s   v o l u m e s   m u s t   s u p p o r t   i d m a p   m o u n t s .   I n   p r a c t i c e   t h i s   m e a n s   y o u   n e e d   a t   l e a s t   L i n u x   6 . 3 ,   a s   t m p f s   s t a r t e d   s u p p o r t i n g   i d m a p   m o u n t s   i n   t h a t   v e r s i o n .   T h i s   i s   u s u a l l y   n e e d e d   a s   s e v e r a l   K u b e r n e t e s   f e a t u r e s   u s e   t m p f s   ( t h e   s e r v i c e   a c c o u n t   t o k e n   t h a t   i s   m o u n t e d   b y   d e f a u l t   u s e s   a   t m p f s ,   S e c r e t s   u s e   a   t m p f s ,   e t c . )   S o m e   p o p u l a r   f i l e s y s t e m s   t h a t   s u p p o r t   i d m a p   m o u n t s   i n   L i n u x   6 . 3   a r e :   b t r f s ,   e x t 4 ,   x f s ,   f a t ,   t m p f s ,   o v e r l a y f s .   I n   a d d i t i o n ,   t h e   c o n t a i n e r   r u n t i m e   a n d   i t s   u n d e r l y i n g   O C I   r u n t i m e   m u s t   s u p p o r t   u s e r   n a m e s p a c e s .   T h e   f o l l o w i n g   O C I   r u n t i m e s   o f f e r   s u p p o r t :   c r u n   v e r s i o n   1 . 9   o r   g r e a t e r   ( i t ' s   r e c o m m e n d   v e r s i o n   1 . 1 3 + ) . r u n c   v e r s i o n   1 . 2   o r   g r e a t e r",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/",
    "id": "k8s_00273_section_2_5107"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   u s e   u s e r   n a m e s p a c e s   w i t h   K u b e r n e t e s ,   y o u   a l s o   n e e d   t o   u s e   a   C R I   c o n t a i n e r   r u n t i m e   t o   u s e   t h i s   f e a t u r e   w i t h   K u b e r n e t e s   p o d s :   c o n t a i n e r d :   v e r s i o n   2 . 0   ( a n d   l a t e r )   s u p p o r t s   u s e r   n a m e s p a c e s   f o r   c o n t a i n e r s . C R I - O :   v e r s i o n   1 . 2 5   ( a n d   l a t e r )   s u p p o r t s   u s e r   n a m e s p a c e s   f o r   c o n t a i n e r s .   Y o u   c a n   s e e   t h e   s t a t u s   o f   u s e r   n a m e s p a c e s   s u p p o r t   i n   c r i - d o c k e r d   t r a c k e d   i n   a n   i s s u e   o n   G i t H u b .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/",
    "id": "k8s_00273_section_4_5108"
  },
  {
    "question": "What is Introduction?",
    "answer": "U s e r   n a m e s p a c e s   i s   a   L i n u x   f e a t u r e   t h a t   a l l o w s   t o   m a p   u s e r s   i n   t h e   c o n t a i n e r   t o   d i f f e r e n t   u s e r s   i n   t h e   h o s t .   F u r t h e r m o r e ,   t h e   c a p a b i l i t i e s   g r a n t e d   t o   a   p o d   i n   a   u s e r   n a m e s p a c e   a r e   v a l i d   o n l y   i n   t h e   n a m e s p a c e   a n d   v o i d   o u t s i d e   o f   i t .   A   p o d   c a n   o p t - i n   t o   u s e   u s e r   n a m e s p a c e s   b y   s e t t i n g   t h e   p o d . s p e c . h o s t U s e r s   f i e l d   t o   f a l s e .   T h e   k u b e l e t   w i l l   p i c k   h o s t   U I D s / G I D s   a   p o d   i s   m a p p e d   t o ,   a n d   w i l l   d o   s o   i n   a   w a y   t o   g u a r a n t e e   t h a t   n o   t w o   p o d s   o n   t h e   s a m e   n o d e   u s e   t h e   s a m e   m a p p i n g .   T h e   r u n A s U s e r ,   r u n A s G r o u p ,   f s G r o u p ,   e t c .   f i e l d s   i n   t h e   p o d . s p e c   a l w a y s   r e f e r   t o   t h e   u s e r   i n s i d e   t h e   c o n t a i n e r .   T h e s e   u s e r s   w i l l   b e   u s e d   f o r   v o l u m e   m o u n t s   ( s p e c i f i e d   i n   p o d . s p e c . v o l u m e s )   a n d   t h e r e f o r e   t h e   h o s t   U I D / G I D   w i l l   n o t   h a v e   a n y   e f f e c t   o n   w r i t e s / r e a d s   f r o m   v o l u m e s   t h e   p o d   c a n   m o u n t .   I n   o t h e r   w o r d s ,   t h e   i n o d e s   c r e a t e d / r e a d   i n   v o l u m e s   m o u n t e d   b y   t h e   p o d   w i l l   b e   t h e   s a m e   a s   i f   t h e   p o d   w a s n ' t   u s i n g   u s e r   n a m e s p a c e s .   T h i s   w a y ,   a   p o d   c a n   e a s i l y   e n a b l e   a n d   d i s a b l e   u s e r   n a m e s p a c e s   ( w i t h o u t   a f f e c t i n g   i t s   v o l u m e ' s   f i l e   o w n e r s h i ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/",
    "id": "k8s_00273_section_2_5109"
  },
  {
    "question": "What is Understanding user namespaces for pods?",
    "answer": "S e v e r a l   c o n t a i n e r   r u n t i m e s   w i t h   t h e i r   d e f a u l t   c o n f i g u r a t i o n   ( l i k e   D o c k e r   E n g i n e ,   c o n t a i n e r d ,   C R I - O )   u s e   L i n u x   n a m e s p a c e s   f o r   i s o l a t i o n .   O t h e r   t e c h n o l o g i e s   e x i s t   a n d   c a n   b e   u s e d   w i t h   t h o s e   r u n t i m e s   t o o   ( e . g .   K a t a   C o n t a i n e r s   u s e s   V M s   i n s t e a d   o f   L i n u x   n a m e s p a c e s ) .   T h i s   p a g e   i s   a p p l i c a b l e   f o r   c o n t a i n e r   r u n t i m e s   u s i n g   L i n u x   n a m e s p a c e s   f o r   i s o l a t i o n .   W h e n   c r e a t i n g   a   p o d ,   b y   d e f a u l t ,   s e v e r a l   n e w   n a m e s p a c e s   a r e   u s e d   f o r   i s o l a t i o n :   a   n e t w o r k   n a m e s p a c e   t o   i s o l a t e   t h e   n e t w o r k   o f   t h e   c o n t a i n e r ,   a   P I D   n a m e s p a c e   t o   i s o l a t e   t h e   v i e w   o f   p r o c e s s e s ,   e t c .   I f   a   u s e r   n a m e s p a c e   i s   u s e d ,   t h i s   w i l l   i s o l a t e   t h e   u s e r s   i n   t h e   c o n t a i n e r   f r o m   t h e   u s e r s   i n   t h e   n o d e .   T h i s   m e a n s   c o n t a i n e r s   c a n   r u n   a s   r o o t   a n d   b e   m a p p e d   t o   a   n o n - r o o t   u s e r   o n   t h e   h o s t .   I n s i d e   t h e   c o n t a i n e r   t h e   p r o c e s s   w i l l   t h i n k   i t   i s   r u n n i n g   a s   r o o t   ( a n d   t h e r e f o r e   t o o l s   l i k e   a p t ,   y u m ,   e t c .   w o r k   f i n e ) ,   w h i l e   i n   r e a l i t y   t h e   p r o c e s s   d o e s n ' t   h a v e   p r i v i l e g e s   o n   t h e   h o s t .   Y o u   c a n   v e r i f y   t h i s ,   f o r   e x a m p l e ,   i f   y o u   c h e c k   w h i c h   u s e r   t h e   c o n t a i n e r   p r o c e s s   i s   r u n ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/",
    "id": "k8s_00273_section_2_5110"
  },
  {
    "question": "What is Set up a node to support user namespaces?",
    "answer": "B y   d e f a u l t ,   t h e   k u b e l e t   a s s i g n s   p o d s   U I D s / G I D s   a b o v e   t h e   r a n g e   0 - 6 5 5 3 5 ,   b a s e d   o n   t h e   a s s u m p t i o n   t h a t   t h e   h o s t ' s   f i l e s   a n d   p r o c e s s e s   u s e   U I D s / G I D s   w i t h i n   t h i s   r a n g e ,   w h i c h   i s   s t a n d a r d   f o r   m o s t   L i n u x   d i s t r i b u t i o n s .   T h i s   a p p r o a c h   p r e v e n t s   a n y   o v e r l a p   b e t w e e n   t h e   U I D s / G I D s   o f   t h e   h o s t   a n d   t h o s e   o f   t h e   p o d s .   A v o i d i n g   t h e   o v e r l a p   i s   i m p o r t a n t   t o   m i t i g a t e   t h e   i m p a c t   o f   v u l n e r a b i l i t i e s   s u c h   a s   C V E - 2 0 2 1 - 2 5 7 4 1 ,   w h e r e   a   p o d   c a n   p o t e n t i a l l y   r e a d   a r b i t r a r y   f i l e s   i n   t h e   h o s t .   I f   t h e   U I D s / G I D s   o f   t h e   p o d   a n d   t h e   h o s t   d o n ' t   o v e r l a p ,   i t   i s   l i m i t e d   w h a t   a   p o d   w o u l d   b e   a b l e   t o   d o :   t h e   p o d   U I D / G I D   w o n ' t   m a t c h   t h e   h o s t ' s   f i l e   o w n e r / g r o u p .   T h e   k u b e l e t   c a n   u s e   a   c u s t o m   r a n g e   f o r   u s e r   I D s   a n d   g r o u p   I D s   f o r   p o d s .   T o   c o n f i g u r e   a   c u s t o m   r a n g e ,   t h e   n o d e   n e e d s   t o   h a v e :   A   u s e r   k u b e l e t   i n   t h e   s y s t e m   ( y o u   c a n n o t   u s e   a n y   o t h e r   u s e r n a m e   h e r e ) T h e   b i n a r y   g e t s u b i d s   i n s t a l l e d   ( p a r t   o f   s h a d o w - u t i l s )   a n d   i n   t h e   P A T H   f o r   t h e   k u b e l e t   b i n a r y . A   c o n f i g u r a t i o n   o f   s u b o r d i n a t e   U I D s / G I D s   f o r   t h e   k u b e l e t   u s e r   ( s e e   m a n   5   s u b u i d   a n d   m a n ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/",
    "id": "k8s_00273_section_2_5111"
  },
  {
    "question": "What is ID count for each of Pods?",
    "answer": "S t a r t i n g   w i t h   K u b e r n e t e s   v 1 . 3 3 ,   t h e   I D   c o u n t   f o r   e a c h   o f   P o d s   c a n   b e   s e t   i n   K u b e l e t C o n f i g u r a t i o n .   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   u s e r N a m e s p a c e s :   i d s P e r P o d :   1 0 4 8 5 7 6   T h e   v a l u e   o f   i d s P e r P o d   ( u i n t 3 2 )   m u s t   b e   a   m u l t i p l e   o f   6 5 5 3 6 .   T h e   d e f a u l t   v a l u e   i s   6 5 5 3 6 .   T h i s   v a l u e   o n l y   a p p l i e s   t o   c o n t a i n e r s   c r e a t e d   a f t e r   t h e   k u b e l e t   w a s   s t a r t e d   w i t h   t h i s   K u b e l e t C o n f i g u r a t i o n .   R u n n i n g   c o n t a i n e r s   a r e   n o t   a f f e c t e d   b y   t h i s   c o n f i g .   I n   K u b e r n e t e s   p r i o r   t o   v 1 . 3 3 ,   t h e   I D   c o u n t   f o r   e a c h   o f   P o d s   w a s   h a r d - c o d e d   t o   6 5 5 3 6 .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/",
    "id": "k8s_00273_section_2_5112"
  },
  {
    "question": "What is Integration with Pod security admission checks?",
    "answer": "F o r   L i n u x   P o d s   t h a t   e n a b l e   u s e r   n a m e s p a c e s ,   K u b e r n e t e s   r e l a x e s   t h e   a p p l i c a t i o n   o f   P o d   S e c u r i t y   S t a n d a r d s   i n   a   c o n t r o l l e d   w a y .   T h i s   b e h a v i o r   c a n   b e   c o n t r o l l e d   b y   t h e   f e a t u r e   g a t e   U s e r N a m e s p a c e s P o d S e c u r i t y S t a n d a r d s ,   w h i c h   a l l o w s   a n   e a r l y   o p t - i n   f o r   e n d   u s e r s .   A d m i n s   h a v e   t o   e n s u r e   t h a t   u s e r   n a m e s p a c e s   a r e   e n a b l e d   b y   a l l   n o d e s   w i t h i n   t h e   c l u s t e r   i f   u s i n g   t h e   f e a t u r e   g a t e .   I f   y o u   e n a b l e   t h e   a s s o c i a t e d   f e a t u r e   g a t e   a n d   c r e a t e   a   P o d   t h a t   u s e s   u s e r   n a m e s p a c e s ,   t h e   f o l l o w i n g   f i e l d s   w o n ' t   b e   c o n s t r a i n e d   e v e n   i n   c o n t e x t s   t h a t   e n f o r c e   t h e   B a s e l i n e   o r   R e s t r i c t e d   p o d   s e c u r i t y   s t a n d a r d .   T h i s   b e h a v i o r   d o e s   n o t   p r e s e n t   a   s e c u r i t y   c o n c e r n   b e c a u s e   r o o t   i n s i d e   a   P o d   w i t h   u s e r   n a m e s p a c e s   a c t u a l l y   r e f e r s   t o   t h e   u s e r   i n s i d e   t h e   c o n t a i n e r ,   t h a t   i s   n e v e r   m a p p e d   t o   a   p r i v i l e g e d   u s e r   o n   t h e   h o s t .   H e r e ' s   t h e   l i s t   o f   f i e l d s   t h a t   a r e   n o t   c h e c k s   f o r   P o d s   i n   t h o s e   c i r c u m s t a n c e s :   s p e c . s e c u r i t y C o n t e x t . r u n A s N o n R o o t s p e c . c o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . r u n A s N o n R o o t s p e c . i n i t C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . r u n A s N o n R o o t s p e c . e p h ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/",
    "id": "k8s_00273_section_2_5113"
  },
  {
    "question": "What is Limitations?",
    "answer": "W h e n   u s i n g   a   u s e r   n a m e s p a c e   f o r   t h e   p o d ,   i t   i s   d i s a l l o w e d   t o   u s e   o t h e r   h o s t   n a m e s p a c e s .   I n   p a r t i c u l a r ,   i f   y o u   s e t   h o s t U s e r s :   f a l s e   t h e n   y o u   a r e   n o t   a l l o w e d   t o   s e t   a n y   o f :   h o s t N e t w o r k :   t r u e h o s t I P C :   t r u e h o s t P I D :   t r u e   N o   c o n t a i n e r   c a n   u s e   v o l u m e D e v i c e s   ( r a w   b l o c k   v o l u m e s ,   l i k e   / d e v / s d a )   e i t h e r .   T h i s   i n c l u d e s   a l l   t h e   c o n t a i n e r   a r r a y s   i n   t h e   p o d   s p e c :   c o n t a i n e r s i n i t C o n t a i n e r s e p h e m e r a l C o n t a i n e r s",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/",
    "id": "k8s_00273_section_2_5114"
  },
  {
    "question": "What is Metrics and observability?",
    "answer": "T h e   k u b e l e t   e x p o r t s   t w o   p r o m e t h e u s   m e t r i c s   s p e c i f i c   t o   u s e r - n a m e s p a c e s :   s t a r t e d _ u s e r _ n a m e s p a c e d _ p o d s _ t o t a l :   a   c o u n t e r   t h a t   t r a c k s   t h e   n u m b e r   o f   u s e r   n a m e s p a c e d   p o d s   t h a t   a r e   a t t e m p t e d   t o   b e   c r e a t e d . s t a r t e d _ u s e r _ n a m e s p a c e d _ p o d s _ e r r o r s _ t o t a l :   a   c o u n t e r   t h a t   t r a c k s   t h e   n u m b e r   o f   e r r o r s   c r e a t i n g   u s e r   n a m e s p a c e d   p o d s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/",
    "id": "k8s_00273_section_2_5115"
  },
  {
    "question": "What is What's next?",
    "answer": "T a k e   a   l o o k   a t   U s e   a   U s e r   N a m e s p a c e   W i t h   a   P o d   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/",
    "id": "k8s_00273_section_2_5116"
  },
  {
    "question": "What is Security For Windows Nodes?",
    "answer": "Security For Windows NodesThis page describes security considerations and best practices specific to the Windows operating system.Protection for Secret data on nodesOn Windows, data from Secrets are written out in clear text onto the node's local storage (as compared to using tmpfs / in-memory filesystems on Linux). As a cluster operator, you should take both of the following additional measures:Use file ACLs to secure the Secrets' file location.Apply volume-level encryption using BitLocker.Container usersRunAsUsername can be specified for Windows Pods or containers to execute the container processes as specific user. This is roughly equivalent to RunAsUser.Windows containers offer two default user accounts, ContainerUser and ContainerAdministrator. The differences between these two user accounts are covered in When to use ContainerAdmin and ContainerUser user accounts within Microsoft's Secure Windows containers documentation.Local users can be added to container images during the container build process.Note:Nano Server based images run as ContainerUser by defaultServer Core based images run as ContainerAdministrator by defaultWindows containers can also run as Active Directory identities by utilizing Group Managed Service AccountsPod-level security isolationLinux-specific pod security context mechanisms (such as SELinux, AppArmor, Seccomp, or custom POSIX capabilities) are not supported on Windows nodes.Privileged containers are not supported on Windows. Instead HostProcess containers can be used on Windows to perform many of the tasks performed by privileged containers on Linux.",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/windows-security/",
    "id": "k8s_00274_qa_5117"
  },
  {
    "question": "How does Security For Windows Nodes work?",
    "answer": "Security For Windows NodesThis page describes security considerations and best practices specific to the Windows operating system.Protection for Secret data on nodesOn Windows, data from Secrets are written out in clear text onto the node's local storage (as compared to using tmpfs / in-memory filesystems on Linux). As a cluster operator, you should take both of the following additional measures:Use file ACLs to secure the Secrets' file location.Apply volume-level encryption using BitLocker.Container usersRunAsUsername can be specified for Windows Pods or containers to execute the container processes as specific user. This is roughly equivalent to RunAsUser.Windows containers offer two default user accounts, ContainerUser and ContainerAdministrator. The differences between these two user accounts are covered in When to use ContainerAdmin and ContainerUser user accounts within Microsoft's Secure Windows containers documentation.Local users can be added to container images during the container build process.Note:Nano Server based images run as ContainerUser by defaultServer Core based images run as ContainerAdministrator by defaultWindows containers can also run as Active Directory identities by utilizing Group Managed Service AccountsPod-level security isolationLinux-specific pod security context mechanisms (such as SELinux, AppArmor, Seccomp, or custom POSIX capabilities) are not supported on Windows nodes.Privileged containers are not supported on Windows. Instead HostProcess containers can be used on Windows to perform many of the tasks performed by privileged containers on Linux.",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/windows-security/",
    "id": "k8s_00274_qa_5118"
  },
  {
    "question": "When would you use Security For Windows Nodes?",
    "answer": "Security For Windows NodesThis page describes security considerations and best practices specific to the Windows operating system.Protection for Secret data on nodesOn Windows, data from Secrets are written out in clear text onto the node's local storage (as compared to using tmpfs / in-memory filesystems on Linux). As a cluster operator, you should take both of the following additional measures:Use file ACLs to secure the Secrets' file location.Apply volume-level encryption using BitLocker.Container usersRunAsUsername can be specified for Windows Pods or containers to execute the container processes as specific user. This is roughly equivalent to RunAsUser.Windows containers offer two default user accounts, ContainerUser and ContainerAdministrator. The differences between these two user accounts are covered in When to use ContainerAdmin and ContainerUser user accounts within Microsoft's Secure Windows containers documentation.Local users can be added to container images during the container build process.Note:Nano Server based images run as ContainerUser by defaultServer Core based images run as ContainerAdministrator by defaultWindows containers can also run as Active Directory identities by utilizing Group Managed Service AccountsPod-level security isolationLinux-specific pod security context mechanisms (such as SELinux, AppArmor, Seccomp, or custom POSIX capabilities) are not supported on Windows nodes.Privileged containers are not supported on Windows. Instead HostProcess containers can be used on Windows to perform many of the tasks performed by privileged containers on Linux.",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/windows-security/",
    "id": "k8s_00274_qa_5119"
  },
  {
    "question": "What are the benefits of Security For Windows Nodes?",
    "answer": "Security For Windows NodesThis page describes security considerations and best practices specific to the Windows operating system.Protection for Secret data on nodesOn Windows, data from Secrets are written out in clear text onto the node's local storage (as compared to using tmpfs / in-memory filesystems on Linux). As a cluster operator, you should take both of the following additional measures:Use file ACLs to secure the Secrets' file location.Apply volume-level encryption using BitLocker.Container usersRunAsUsername can be specified for Windows Pods or containers to execute the container processes as specific user. This is roughly equivalent to RunAsUser.Windows containers offer two default user accounts, ContainerUser and ContainerAdministrator. The differences between these two user accounts are covered in When to use ContainerAdmin and ContainerUser user accounts within Microsoft's Secure Windows containers documentation.Local users can be added to container images during the container build process.Note:Nano Server based images run as ContainerUser by defaultServer Core based images run as ContainerAdministrator by defaultWindows containers can also run as Active Directory identities by utilizing Group Managed Service AccountsPod-level security isolationLinux-specific pod security context mechanisms (such as SELinux, AppArmor, Seccomp, or custom POSIX capabilities) are not supported on Windows nodes.Privileged containers are not supported on Windows. Instead HostProcess containers can be used on Windows to perform many of the tasks performed by privileged containers on Linux.",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/windows-security/",
    "id": "k8s_00274_qa_5120"
  },
  {
    "question": "What is Security For Windows Nodes?",
    "answer": "T h i s   p a g e   d e s c r i b e s   s e c u r i t y   c o n s i d e r a t i o n s   a n d   b e s t   p r a c t i c e s   s p e c i f i c   t o   t h e   W i n d o w s   o p e r a t i n g   s y s t e m .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/windows-security/",
    "id": "k8s_00274_section_1_5121"
  },
  {
    "question": "What is Protection for Secret data on nodes?",
    "answer": "O n   W i n d o w s ,   d a t a   f r o m   S e c r e t s   a r e   w r i t t e n   o u t   i n   c l e a r   t e x t   o n t o   t h e   n o d e ' s   l o c a l   s t o r a g e   ( a s   c o m p a r e d   t o   u s i n g   t m p f s   /   i n - m e m o r y   f i l e s y s t e m s   o n   L i n u x ) .   A s   a   c l u s t e r   o p e r a t o r ,   y o u   s h o u l d   t a k e   b o t h   o f   t h e   f o l l o w i n g   a d d i t i o n a l   m e a s u r e s :   U s e   f i l e   A C L s   t o   s e c u r e   t h e   S e c r e t s '   f i l e   l o c a t i o n . A p p l y   v o l u m e - l e v e l   e n c r y p t i o n   u s i n g   B i t L o c k e r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/windows-security/",
    "id": "k8s_00274_section_2_5122"
  },
  {
    "question": "What is Container users?",
    "answer": "R u n A s U s e r n a m e   c a n   b e   s p e c i f i e d   f o r   W i n d o w s   P o d s   o r   c o n t a i n e r s   t o   e x e c u t e   t h e   c o n t a i n e r   p r o c e s s e s   a s   s p e c i f i c   u s e r .   T h i s   i s   r o u g h l y   e q u i v a l e n t   t o   R u n A s U s e r .   W i n d o w s   c o n t a i n e r s   o f f e r   t w o   d e f a u l t   u s e r   a c c o u n t s ,   C o n t a i n e r U s e r   a n d   C o n t a i n e r A d m i n i s t r a t o r .   T h e   d i f f e r e n c e s   b e t w e e n   t h e s e   t w o   u s e r   a c c o u n t s   a r e   c o v e r e d   i n   W h e n   t o   u s e   C o n t a i n e r A d m i n   a n d   C o n t a i n e r U s e r   u s e r   a c c o u n t s   w i t h i n   M i c r o s o f t ' s   S e c u r e   W i n d o w s   c o n t a i n e r s   d o c u m e n t a t i o n .   L o c a l   u s e r s   c a n   b e   a d d e d   t o   c o n t a i n e r   i m a g e s   d u r i n g   t h e   c o n t a i n e r   b u i l d   p r o c e s s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/windows-security/",
    "id": "k8s_00274_section_2_5123"
  },
  {
    "question": "What is Note:?",
    "answer": "N a n o   S e r v e r   b a s e d   i m a g e s   r u n   a s   C o n t a i n e r U s e r   b y   d e f a u l t S e r v e r   C o r e   b a s e d   i m a g e s   r u n   a s   C o n t a i n e r A d m i n i s t r a t o r   b y   d e f a u l t   W i n d o w s   c o n t a i n e r s   c a n   a l s o   r u n   a s   A c t i v e   D i r e c t o r y   i d e n t i t i e s   b y   u t i l i z i n g   G r o u p   M a n a g e d   S e r v i c e   A c c o u n t s",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/windows-security/",
    "id": "k8s_00274_section_4_5124"
  },
  {
    "question": "What is Pod-level security isolation?",
    "answer": "L i n u x - s p e c i f i c   p o d   s e c u r i t y   c o n t e x t   m e c h a n i s m s   ( s u c h   a s   S E L i n u x ,   A p p A r m o r ,   S e c c o m p ,   o r   c u s t o m   P O S I X   c a p a b i l i t i e s )   a r e   n o t   s u p p o r t e d   o n   W i n d o w s   n o d e s .   P r i v i l e g e d   c o n t a i n e r s   a r e   n o t   s u p p o r t e d   o n   W i n d o w s .   I n s t e a d   H o s t P r o c e s s   c o n t a i n e r s   c a n   b e   u s e d   o n   W i n d o w s   t o   p e r f o r m   m a n y   o f   t h e   t a s k s   p e r f o r m e d   b y   p r i v i l e g e d   c o n t a i n e r s   o n   L i n u x .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/windows-security/",
    "id": "k8s_00274_section_2_5125"
  },
  {
    "question": "What is Troubleshooting CNI plugin-related errors?",
    "answer": "Troubleshooting CNI plugin-related errorsTo avoid CNI plugin-related errors, verify that you are using or upgrading to a container runtime that has been tested to work correctly with your version of Kubernetes.About the \"Incompatible CNI versions\" and \"Failed to destroy network for sandbox\" errorsService issues exist for pod CNI network setup and tear down in containerd v1.6.0-v1.6.3 when the CNI plugins have not been upgraded and/or the CNI config version is not declared in the CNI config files. The containerd team reports, \"these issues are resolved in containerd v1.6.4.\"With containerd v1.6.0-v1.6.3, if you do not upgrade the CNI plugins and/or declare the CNI config version, you might encounter the following \"Incompatible CNI versions\" or \"Failed to destroy network for sandbox\" error conditions.Incompatible CNI versions errorIf the version of your CNI plugin does not correctly match the plugin version in the config because the config version is later than the plugin version, the containerd log will likely show an error message on startup of a pod similar to:incompatible CNI versions; config is \\\"1.0.0\\\", plugin supports [\\\"0.1.0\\\" \\\"0.2.0\\\" \\\"0.3.0\\\" \\\"0.3.1\\\" \\\"0.4.0\\\"]\" To fix this issue, update your CNI plugins and CNI config files.Failed to destroy network for sandbox errorIf the version of the plugin is missing in the CNI plugin config, the pod may run. However, stopping the pod generates an error similar to:ERROR[2022-04-26T00:43:24.518165483Z] StopPodSandbox for \"b\" failed error=\"failed to destroy network for sandbox \\\"bbc85f891eaf060c5a879e27bba9b6b06450210161dfdecfbb2732959fb6500a\\\": invalid version \\\"\\\": the version is empty\" This error leaves the pod in the not-ready state with a network namespace still attached. To recover from this problem, edit the CNI config file to add the missing version information. The next attempt to stop the pod should be successful.Updating your CNI plugins and CNI config filesIf you're using containerd v1.6.0-v1.6.3 and encountered \"Incompatible CNI versions\" or \"Failed to destroy network for sandbox\" errors, consider updating your CNI plugins and editing the CNI config files.Here's an overview of the typical steps for each node:Safely drain and cordon the node.After stopping your container runtime and kubelet services, perform the following upgrade operations:If you're running CNI plugins, upgrade them to the latest version.If you're using non-CNI plugins, replace them with CNI plugins. Use the latest version of the plugins.Update the plugin configuration file to specify or match a version of the CNI specification that the plugin supports, as shown in the following \"An example containerd configuration file\" section.For containerd, ensure that you have installed the latest version (v1.0.0 or later) of the CNI loopback plugin.Upgrade node components (for example, the kubelet) to Kubernetes v1.24Upgrade to or install the most current version of the container runtime.Bring the node back into your cluster b",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/troubleshooting-cni-plugin-related-errors/",
    "id": "k8s_00275_qa_5126"
  },
  {
    "question": "How does Troubleshooting CNI plugin-related errors work?",
    "answer": "Troubleshooting CNI plugin-related errorsTo avoid CNI plugin-related errors, verify that you are using or upgrading to a container runtime that has been tested to work correctly with your version of Kubernetes.About the \"Incompatible CNI versions\" and \"Failed to destroy network for sandbox\" errorsService issues exist for pod CNI network setup and tear down in containerd v1.6.0-v1.6.3 when the CNI plugins have not been upgraded and/or the CNI config version is not declared in the CNI config files. The containerd team reports, \"these issues are resolved in containerd v1.6.4.\"With containerd v1.6.0-v1.6.3, if you do not upgrade the CNI plugins and/or declare the CNI config version, you might encounter the following \"Incompatible CNI versions\" or \"Failed to destroy network for sandbox\" error conditions.Incompatible CNI versions errorIf the version of your CNI plugin does not correctly match the plugin version in the config because the config version is later than the plugin version, the containerd log will likely show an error message on startup of a pod similar to:incompatible CNI versions; config is \\\"1.0.0\\\", plugin supports [\\\"0.1.0\\\" \\\"0.2.0\\\" \\\"0.3.0\\\" \\\"0.3.1\\\" \\\"0.4.0\\\"]\" To fix this issue, update your CNI plugins and CNI config files.Failed to destroy network for sandbox errorIf the version of the plugin is missing in the CNI plugin config, the pod may run. However, stopping the pod generates an error similar to:ERROR[2022-04-26T00:43:24.518165483Z] StopPodSandbox for \"b\" failed error=\"failed to destroy network for sandbox \\\"bbc85f891eaf060c5a879e27bba9b6b06450210161dfdecfbb2732959fb6500a\\\": invalid version \\\"\\\": the version is empty\" This error leaves the pod in the not-ready state with a network namespace still attached. To recover from this problem, edit the CNI config file to add the missing version information. The next attempt to stop the pod should be successful.Updating your CNI plugins and CNI config filesIf you're using containerd v1.6.0-v1.6.3 and encountered \"Incompatible CNI versions\" or \"Failed to destroy network for sandbox\" errors, consider updating your CNI plugins and editing the CNI config files.Here's an overview of the typical steps for each node:Safely drain and cordon the node.After stopping your container runtime and kubelet services, perform the following upgrade operations:If you're running CNI plugins, upgrade them to the latest version.If you're using non-CNI plugins, replace them with CNI plugins. Use the latest version of the plugins.Update the plugin configuration file to specify or match a version of the CNI specification that the plugin supports, as shown in the following \"An example containerd configuration file\" section.For containerd, ensure that you have installed the latest version (v1.0.0 or later) of the CNI loopback plugin.Upgrade node components (for example, the kubelet) to Kubernetes v1.24Upgrade to or install the most current version of the container runtime.Bring the node back into your cluster b",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/troubleshooting-cni-plugin-related-errors/",
    "id": "k8s_00275_qa_5127"
  },
  {
    "question": "When would you use Troubleshooting CNI plugin-related errors?",
    "answer": "Troubleshooting CNI plugin-related errorsTo avoid CNI plugin-related errors, verify that you are using or upgrading to a container runtime that has been tested to work correctly with your version of Kubernetes.About the \"Incompatible CNI versions\" and \"Failed to destroy network for sandbox\" errorsService issues exist for pod CNI network setup and tear down in containerd v1.6.0-v1.6.3 when the CNI plugins have not been upgraded and/or the CNI config version is not declared in the CNI config files. The containerd team reports, \"these issues are resolved in containerd v1.6.4.\"With containerd v1.6.0-v1.6.3, if you do not upgrade the CNI plugins and/or declare the CNI config version, you might encounter the following \"Incompatible CNI versions\" or \"Failed to destroy network for sandbox\" error conditions.Incompatible CNI versions errorIf the version of your CNI plugin does not correctly match the plugin version in the config because the config version is later than the plugin version, the containerd log will likely show an error message on startup of a pod similar to:incompatible CNI versions; config is \\\"1.0.0\\\", plugin supports [\\\"0.1.0\\\" \\\"0.2.0\\\" \\\"0.3.0\\\" \\\"0.3.1\\\" \\\"0.4.0\\\"]\" To fix this issue, update your CNI plugins and CNI config files.Failed to destroy network for sandbox errorIf the version of the plugin is missing in the CNI plugin config, the pod may run. However, stopping the pod generates an error similar to:ERROR[2022-04-26T00:43:24.518165483Z] StopPodSandbox for \"b\" failed error=\"failed to destroy network for sandbox \\\"bbc85f891eaf060c5a879e27bba9b6b06450210161dfdecfbb2732959fb6500a\\\": invalid version \\\"\\\": the version is empty\" This error leaves the pod in the not-ready state with a network namespace still attached. To recover from this problem, edit the CNI config file to add the missing version information. The next attempt to stop the pod should be successful.Updating your CNI plugins and CNI config filesIf you're using containerd v1.6.0-v1.6.3 and encountered \"Incompatible CNI versions\" or \"Failed to destroy network for sandbox\" errors, consider updating your CNI plugins and editing the CNI config files.Here's an overview of the typical steps for each node:Safely drain and cordon the node.After stopping your container runtime and kubelet services, perform the following upgrade operations:If you're running CNI plugins, upgrade them to the latest version.If you're using non-CNI plugins, replace them with CNI plugins. Use the latest version of the plugins.Update the plugin configuration file to specify or match a version of the CNI specification that the plugin supports, as shown in the following \"An example containerd configuration file\" section.For containerd, ensure that you have installed the latest version (v1.0.0 or later) of the CNI loopback plugin.Upgrade node components (for example, the kubelet) to Kubernetes v1.24Upgrade to or install the most current version of the container runtime.Bring the node back into your cluster b",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/troubleshooting-cni-plugin-related-errors/",
    "id": "k8s_00275_qa_5128"
  },
  {
    "question": "What are the benefits of Troubleshooting CNI plugin-related errors?",
    "answer": "Troubleshooting CNI plugin-related errorsTo avoid CNI plugin-related errors, verify that you are using or upgrading to a container runtime that has been tested to work correctly with your version of Kubernetes.About the \"Incompatible CNI versions\" and \"Failed to destroy network for sandbox\" errorsService issues exist for pod CNI network setup and tear down in containerd v1.6.0-v1.6.3 when the CNI plugins have not been upgraded and/or the CNI config version is not declared in the CNI config files. The containerd team reports, \"these issues are resolved in containerd v1.6.4.\"With containerd v1.6.0-v1.6.3, if you do not upgrade the CNI plugins and/or declare the CNI config version, you might encounter the following \"Incompatible CNI versions\" or \"Failed to destroy network for sandbox\" error conditions.Incompatible CNI versions errorIf the version of your CNI plugin does not correctly match the plugin version in the config because the config version is later than the plugin version, the containerd log will likely show an error message on startup of a pod similar to:incompatible CNI versions; config is \\\"1.0.0\\\", plugin supports [\\\"0.1.0\\\" \\\"0.2.0\\\" \\\"0.3.0\\\" \\\"0.3.1\\\" \\\"0.4.0\\\"]\" To fix this issue, update your CNI plugins and CNI config files.Failed to destroy network for sandbox errorIf the version of the plugin is missing in the CNI plugin config, the pod may run. However, stopping the pod generates an error similar to:ERROR[2022-04-26T00:43:24.518165483Z] StopPodSandbox for \"b\" failed error=\"failed to destroy network for sandbox \\\"bbc85f891eaf060c5a879e27bba9b6b06450210161dfdecfbb2732959fb6500a\\\": invalid version \\\"\\\": the version is empty\" This error leaves the pod in the not-ready state with a network namespace still attached. To recover from this problem, edit the CNI config file to add the missing version information. The next attempt to stop the pod should be successful.Updating your CNI plugins and CNI config filesIf you're using containerd v1.6.0-v1.6.3 and encountered \"Incompatible CNI versions\" or \"Failed to destroy network for sandbox\" errors, consider updating your CNI plugins and editing the CNI config files.Here's an overview of the typical steps for each node:Safely drain and cordon the node.After stopping your container runtime and kubelet services, perform the following upgrade operations:If you're running CNI plugins, upgrade them to the latest version.If you're using non-CNI plugins, replace them with CNI plugins. Use the latest version of the plugins.Update the plugin configuration file to specify or match a version of the CNI specification that the plugin supports, as shown in the following \"An example containerd configuration file\" section.For containerd, ensure that you have installed the latest version (v1.0.0 or later) of the CNI loopback plugin.Upgrade node components (for example, the kubelet) to Kubernetes v1.24Upgrade to or install the most current version of the container runtime.Bring the node back into your cluster b",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/troubleshooting-cni-plugin-related-errors/",
    "id": "k8s_00275_qa_5129"
  },
  {
    "question": "What is Troubleshooting CNI plugin-related errors?",
    "answer": "T o   a v o i d   C N I   p l u g i n - r e l a t e d   e r r o r s ,   v e r i f y   t h a t   y o u   a r e   u s i n g   o r   u p g r a d i n g   t o   a   c o n t a i n e r   r u n t i m e   t h a t   h a s   b e e n   t e s t e d   t o   w o r k   c o r r e c t l y   w i t h   y o u r   v e r s i o n   o f   K u b e r n e t e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/troubleshooting-cni-plugin-related-errors/",
    "id": "k8s_00275_section_1_5130"
  },
  {
    "question": "What is About the \"Incompatible CNI versions\" and \"Failed to destroy network for sandbox\" errors?",
    "answer": "S e r v i c e   i s s u e s   e x i s t   f o r   p o d   C N I   n e t w o r k   s e t u p   a n d   t e a r   d o w n   i n   c o n t a i n e r d   v 1 . 6 . 0 - v 1 . 6 . 3   w h e n   t h e   C N I   p l u g i n s   h a v e   n o t   b e e n   u p g r a d e d   a n d / o r   t h e   C N I   c o n f i g   v e r s i o n   i s   n o t   d e c l a r e d   i n   t h e   C N I   c o n f i g   f i l e s .   T h e   c o n t a i n e r d   t e a m   r e p o r t s ,   \" t h e s e   i s s u e s   a r e   r e s o l v e d   i n   c o n t a i n e r d   v 1 . 6 . 4 . \"   W i t h   c o n t a i n e r d   v 1 . 6 . 0 - v 1 . 6 . 3 ,   i f   y o u   d o   n o t   u p g r a d e   t h e   C N I   p l u g i n s   a n d / o r   d e c l a r e   t h e   C N I   c o n f i g   v e r s i o n ,   y o u   m i g h t   e n c o u n t e r   t h e   f o l l o w i n g   \" I n c o m p a t i b l e   C N I   v e r s i o n s \"   o r   \" F a i l e d   t o   d e s t r o y   n e t w o r k   f o r   s a n d b o x \"   e r r o r   c o n d i t i o n s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/troubleshooting-cni-plugin-related-errors/",
    "id": "k8s_00275_section_2_5131"
  },
  {
    "question": "What is Incompatible CNI versions error?",
    "answer": "I f   t h e   v e r s i o n   o f   y o u r   C N I   p l u g i n   d o e s   n o t   c o r r e c t l y   m a t c h   t h e   p l u g i n   v e r s i o n   i n   t h e   c o n f i g   b e c a u s e   t h e   c o n f i g   v e r s i o n   i s   l a t e r   t h a n   t h e   p l u g i n   v e r s i o n ,   t h e   c o n t a i n e r d   l o g   w i l l   l i k e l y   s h o w   a n   e r r o r   m e s s a g e   o n   s t a r t u p   o f   a   p o d   s i m i l a r   t o :   i n c o m p a t i b l e   C N I   v e r s i o n s ;   c o n f i g   i s   \\ \" 1 . 0 . 0 \\ \" ,   p l u g i n   s u p p o r t s   [ \\ \" 0 . 1 . 0 \\ \"   \\ \" 0 . 2 . 0 \\ \"   \\ \" 0 . 3 . 0 \\ \"   \\ \" 0 . 3 . 1 \\ \"   \\ \" 0 . 4 . 0 \\ \" ] \"   T o   f i x   t h i s   i s s u e ,   u p d a t e   y o u r   C N I   p l u g i n s   a n d   C N I   c o n f i g   f i l e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/troubleshooting-cni-plugin-related-errors/",
    "id": "k8s_00275_section_3_5132"
  },
  {
    "question": "What is Failed to destroy network for sandbox error?",
    "answer": "I f   t h e   v e r s i o n   o f   t h e   p l u g i n   i s   m i s s i n g   i n   t h e   C N I   p l u g i n   c o n f i g ,   t h e   p o d   m a y   r u n .   H o w e v e r ,   s t o p p i n g   t h e   p o d   g e n e r a t e s   a n   e r r o r   s i m i l a r   t o :   E R R O R [ 2 0 2 2 - 0 4 - 2 6 T 0 0 : 4 3 : 2 4 . 5 1 8 1 6 5 4 8 3 Z ]   S t o p P o d S a n d b o x   f o r   \" b \"   f a i l e d   e r r o r = \" f a i l e d   t o   d e s t r o y   n e t w o r k   f o r   s a n d b o x   \\ \" b b c 8 5 f 8 9 1 e a f 0 6 0 c 5 a 8 7 9 e 2 7 b b a 9 b 6 b 0 6 4 5 0 2 1 0 1 6 1 d f d e c f b b 2 7 3 2 9 5 9 f b 6 5 0 0 a \\ \" :   i n v a l i d   v e r s i o n   \\ \" \\ \" :   t h e   v e r s i o n   i s   e m p t y \"   T h i s   e r r o r   l e a v e s   t h e   p o d   i n   t h e   n o t - r e a d y   s t a t e   w i t h   a   n e t w o r k   n a m e s p a c e   s t i l l   a t t a c h e d .   T o   r e c o v e r   f r o m   t h i s   p r o b l e m ,   e d i t   t h e   C N I   c o n f i g   f i l e   t o   a d d   t h e   m i s s i n g   v e r s i o n   i n f o r m a t i o n .   T h e   n e x t   a t t e m p t   t o   s t o p   t h e   p o d   s h o u l d   b e   s u c c e s s f u l .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/troubleshooting-cni-plugin-related-errors/",
    "id": "k8s_00275_section_3_5133"
  },
  {
    "question": "What is Updating your CNI plugins and CNI config files?",
    "answer": "I f   y o u ' r e   u s i n g   c o n t a i n e r d   v 1 . 6 . 0 - v 1 . 6 . 3   a n d   e n c o u n t e r e d   \" I n c o m p a t i b l e   C N I   v e r s i o n s \"   o r   \" F a i l e d   t o   d e s t r o y   n e t w o r k   f o r   s a n d b o x \"   e r r o r s ,   c o n s i d e r   u p d a t i n g   y o u r   C N I   p l u g i n s   a n d   e d i t i n g   t h e   C N I   c o n f i g   f i l e s .   H e r e ' s   a n   o v e r v i e w   o f   t h e   t y p i c a l   s t e p s   f o r   e a c h   n o d e :   S a f e l y   d r a i n   a n d   c o r d o n   t h e   n o d e . A f t e r   s t o p p i n g   y o u r   c o n t a i n e r   r u n t i m e   a n d   k u b e l e t   s e r v i c e s ,   p e r f o r m   t h e   f o l l o w i n g   u p g r a d e   o p e r a t i o n s : I f   y o u ' r e   r u n n i n g   C N I   p l u g i n s ,   u p g r a d e   t h e m   t o   t h e   l a t e s t   v e r s i o n . I f   y o u ' r e   u s i n g   n o n - C N I   p l u g i n s ,   r e p l a c e   t h e m   w i t h   C N I   p l u g i n s .   U s e   t h e   l a t e s t   v e r s i o n   o f   t h e   p l u g i n s . U p d a t e   t h e   p l u g i n   c o n f i g u r a t i o n   f i l e   t o   s p e c i f y   o r   m a t c h   a   v e r s i o n   o f   t h e   C N I   s p e c i f i c a t i o n   t h a t   t h e   p l u g i n   s u p p o r t s ,   a s   s h o w n   i n   t h e   f o l l o w i n g   \" A n   e x a m p l e   c o n t a i n e r d   c o n f i g u r a t i o n   f i l e \"   s e c t i o n . F o r   c o n t a i n e r d ,   e n s u r e   t h a t   y o u   h a v e   i n s t a l l e d   t h e   l a t e s t   v e r s i o n   ( v 1 . 0 . 0   o r   l a t e r )   o f   t h e   C N I   l o o p b a c k   p l u g i n . U p g r a d e   n o d e   c o m p o n e n t s   ( f o r   e x a m p l e ,   t h e   k u b e l e t )   t o   K u b e r n e t e s   v 1 . 2 4 U p g r a d e   t o   o r   i n s t a l l   t h e   m o s t   c u r r e n t   v e r s i o n   o f   t h e   c o n t a i n e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/troubleshooting-cni-plugin-related-errors/",
    "id": "k8s_00275_section_3_5134"
  },
  {
    "question": "What is An example containerd configuration file?",
    "answer": "T h e   f o l l o w i n g   e x a m p l e   s h o w s   a   c o n f i g u r a t i o n   f o r   c o n t a i n e r d   r u n t i m e   v 1 . 6 . x ,   w h i c h   s u p p o r t s   a   r e c e n t   v e r s i o n   o f   t h e   C N I   s p e c i f i c a t i o n   ( v 1 . 0 . 0 ) .   P l e a s e   s e e   t h e   d o c u m e n t a t i o n   f r o m   y o u r   p l u g i n   a n d   n e t w o r k i n g   p r o v i d e r   f o r   f u r t h e r   i n s t r u c t i o n s   o n   c o n f i g u r i n g   y o u r   s y s t e m .   O n   K u b e r n e t e s ,   c o n t a i n e r d   r u n t i m e   a d d s   a   l o o p b a c k   i n t e r f a c e ,   l o ,   t o   p o d s   a s   a   d e f a u l t   b e h a v i o r .   T h e   c o n t a i n e r d   r u n t i m e   c o n f i g u r e s   t h e   l o o p b a c k   i n t e r f a c e   v i a   a   C N I   p l u g i n ,   l o o p b a c k .   T h e   l o o p b a c k   p l u g i n   i s   d i s t r i b u t e d   a s   p a r t   o f   t h e   c o n t a i n e r d   r e l e a s e   p a c k a g e s   t h a t   h a v e   t h e   c n i   d e s i g n a t i o n .   c o n t a i n e r d   v 1 . 6 . 0   a n d   l a t e r   i n c l u d e s   a   C N I   v 1 . 0 . 0 - c o m p a t i b l e   l o o p b a c k   p l u g i n   a s   w e l l   a s   o t h e r   d e f a u l t   C N I   p l u g i n s .   T h e   c o n f i g u r a t i o n   f o r   t h e   l o o p b a c k   p l u g i n   i s   d o n e   i n t e r n a l l y   b y   c o n t a i n e r d ,   a n d   i s   s e t   t o   u s e   C N I   v 1 . 0 . 0 .   T h i s   a l s o   m e a n s   t h a t   t h e   v e r s i o n   o f   t h e   l o o p b a c k   p l u g i n   m u s t   b e   v 1 . 0 . 0   o r   l a t e r   w h e n   t h i s   n e w e r   v e r s i o n   c o n t a i n e r d   i s   s t a r t e d .   T h e   f o l l o w i n g   b a s h   c o m m a n d   g e n e r a t e s   a n   e x a m p l e   C N I   c o n f i g .   H e r e ,   t h e   1 . 0 . 0   v a l u e   f o r   t h e   c o n f i g   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/troubleshooting-cni-plugin-related-errors/",
    "id": "k8s_00275_section_2_5135"
  },
  {
    "question": "What is Indexed Job for Parallel Processing with Static Work Assignment?",
    "answer": "Indexed Job for Parallel Processing with Static Work AssignmentFEATURE STATE: Kubernetes v1.24 [stable]In this example, you will run a Kubernetes Job that uses multiple parallel worker processes. Each worker is a different container running in its own Pod. The Pods have an index number that the control plane sets automatically, which allows each Pod to identify which part of the overall task to work on.The pod index is available in the annotation batch.kubernetes.io/job-completion-index as a string representing its decimal value. In order for the containerized task process to obtain this index, you can publish the value of the annotation using the downward API mechanism. For convenience, the control plane automatically sets the downward API to expose the index in the JOB_COMPLETION_INDEX environment variable.Here is an overview of the steps in this example:Define a Job manifest using indexed completion. The downward API allows you to pass the pod index annotation as an environment variable or file to the container.Start an Indexed Job based on that manifest.Before you beginYou should already be familiar with the basic, non-parallel, use of Job.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.21.To check the version, enter kubectl version.Choose an approachTo access the work item from the worker program, you have a few options:Read the JOB_COMPLETION_INDEX environment variable. The Job controller automatically links this variable to the annotation containing the completion index.Read a file that contains the completion index.Assuming that you can't modify the program, you can wrap it with a script that reads the index using any of the methods above and converts it into something that the program can use as input.For this example, imagine that you chose option 3 and you want to run the rev utility. This program accepts a file as an argument and prints its content reversed.rev data.txt You'll use the rev tool from the busybox container image.As this is only an example, each Pod only does a tiny piece of work (reversing a short string). In a real workload you might, for example, create a Job that represents the task of producing 60 seconds of video based on scene data. Each work item in the video rendering Job would be to render a particular frame of that video clip. Indexed completion would mean that each Pod in the Job knows which frame to render and publish, by counting frames from the start of the clip.Define an Indexed JobHere is a sample Job manifest that uses Indexed completion mode:application/job/indexed-job.yaml api",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/indexed-parallel-processing-static/",
    "id": "k8s_00276_qa_5136"
  },
  {
    "question": "How does Indexed Job for Parallel Processing with Static Work Assignment work?",
    "answer": "Indexed Job for Parallel Processing with Static Work AssignmentFEATURE STATE: Kubernetes v1.24 [stable]In this example, you will run a Kubernetes Job that uses multiple parallel worker processes. Each worker is a different container running in its own Pod. The Pods have an index number that the control plane sets automatically, which allows each Pod to identify which part of the overall task to work on.The pod index is available in the annotation batch.kubernetes.io/job-completion-index as a string representing its decimal value. In order for the containerized task process to obtain this index, you can publish the value of the annotation using the downward API mechanism. For convenience, the control plane automatically sets the downward API to expose the index in the JOB_COMPLETION_INDEX environment variable.Here is an overview of the steps in this example:Define a Job manifest using indexed completion. The downward API allows you to pass the pod index annotation as an environment variable or file to the container.Start an Indexed Job based on that manifest.Before you beginYou should already be familiar with the basic, non-parallel, use of Job.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.21.To check the version, enter kubectl version.Choose an approachTo access the work item from the worker program, you have a few options:Read the JOB_COMPLETION_INDEX environment variable. The Job controller automatically links this variable to the annotation containing the completion index.Read a file that contains the completion index.Assuming that you can't modify the program, you can wrap it with a script that reads the index using any of the methods above and converts it into something that the program can use as input.For this example, imagine that you chose option 3 and you want to run the rev utility. This program accepts a file as an argument and prints its content reversed.rev data.txt You'll use the rev tool from the busybox container image.As this is only an example, each Pod only does a tiny piece of work (reversing a short string). In a real workload you might, for example, create a Job that represents the task of producing 60 seconds of video based on scene data. Each work item in the video rendering Job would be to render a particular frame of that video clip. Indexed completion would mean that each Pod in the Job knows which frame to render and publish, by counting frames from the start of the clip.Define an Indexed JobHere is a sample Job manifest that uses Indexed completion mode:application/job/indexed-job.yaml api",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/indexed-parallel-processing-static/",
    "id": "k8s_00276_qa_5137"
  },
  {
    "question": "When would you use Indexed Job for Parallel Processing with Static Work Assignment?",
    "answer": "Indexed Job for Parallel Processing with Static Work AssignmentFEATURE STATE: Kubernetes v1.24 [stable]In this example, you will run a Kubernetes Job that uses multiple parallel worker processes. Each worker is a different container running in its own Pod. The Pods have an index number that the control plane sets automatically, which allows each Pod to identify which part of the overall task to work on.The pod index is available in the annotation batch.kubernetes.io/job-completion-index as a string representing its decimal value. In order for the containerized task process to obtain this index, you can publish the value of the annotation using the downward API mechanism. For convenience, the control plane automatically sets the downward API to expose the index in the JOB_COMPLETION_INDEX environment variable.Here is an overview of the steps in this example:Define a Job manifest using indexed completion. The downward API allows you to pass the pod index annotation as an environment variable or file to the container.Start an Indexed Job based on that manifest.Before you beginYou should already be familiar with the basic, non-parallel, use of Job.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.21.To check the version, enter kubectl version.Choose an approachTo access the work item from the worker program, you have a few options:Read the JOB_COMPLETION_INDEX environment variable. The Job controller automatically links this variable to the annotation containing the completion index.Read a file that contains the completion index.Assuming that you can't modify the program, you can wrap it with a script that reads the index using any of the methods above and converts it into something that the program can use as input.For this example, imagine that you chose option 3 and you want to run the rev utility. This program accepts a file as an argument and prints its content reversed.rev data.txt You'll use the rev tool from the busybox container image.As this is only an example, each Pod only does a tiny piece of work (reversing a short string). In a real workload you might, for example, create a Job that represents the task of producing 60 seconds of video based on scene data. Each work item in the video rendering Job would be to render a particular frame of that video clip. Indexed completion would mean that each Pod in the Job knows which frame to render and publish, by counting frames from the start of the clip.Define an Indexed JobHere is a sample Job manifest that uses Indexed completion mode:application/job/indexed-job.yaml api",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/indexed-parallel-processing-static/",
    "id": "k8s_00276_qa_5138"
  },
  {
    "question": "What are the benefits of Indexed Job for Parallel Processing with Static Work Assignment?",
    "answer": "Indexed Job for Parallel Processing with Static Work AssignmentFEATURE STATE: Kubernetes v1.24 [stable]In this example, you will run a Kubernetes Job that uses multiple parallel worker processes. Each worker is a different container running in its own Pod. The Pods have an index number that the control plane sets automatically, which allows each Pod to identify which part of the overall task to work on.The pod index is available in the annotation batch.kubernetes.io/job-completion-index as a string representing its decimal value. In order for the containerized task process to obtain this index, you can publish the value of the annotation using the downward API mechanism. For convenience, the control plane automatically sets the downward API to expose the index in the JOB_COMPLETION_INDEX environment variable.Here is an overview of the steps in this example:Define a Job manifest using indexed completion. The downward API allows you to pass the pod index annotation as an environment variable or file to the container.Start an Indexed Job based on that manifest.Before you beginYou should already be familiar with the basic, non-parallel, use of Job.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.21.To check the version, enter kubectl version.Choose an approachTo access the work item from the worker program, you have a few options:Read the JOB_COMPLETION_INDEX environment variable. The Job controller automatically links this variable to the annotation containing the completion index.Read a file that contains the completion index.Assuming that you can't modify the program, you can wrap it with a script that reads the index using any of the methods above and converts it into something that the program can use as input.For this example, imagine that you chose option 3 and you want to run the rev utility. This program accepts a file as an argument and prints its content reversed.rev data.txt You'll use the rev tool from the busybox container image.As this is only an example, each Pod only does a tiny piece of work (reversing a short string). In a real workload you might, for example, create a Job that represents the task of producing 60 seconds of video based on scene data. Each work item in the video rendering Job would be to render a particular frame of that video clip. Indexed completion would mean that each Pod in the Job knows which frame to render and publish, by counting frames from the start of the clip.Define an Indexed JobHere is a sample Job manifest that uses Indexed completion mode:application/job/indexed-job.yaml api",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/indexed-parallel-processing-static/",
    "id": "k8s_00276_qa_5139"
  },
  {
    "question": "What is Indexed Job for Parallel Processing with Static Work Assignment?",
    "answer": "I n   t h i s   e x a m p l e ,   y o u   w i l l   r u n   a   K u b e r n e t e s   J o b   t h a t   u s e s   m u l t i p l e   p a r a l l e l   w o r k e r   p r o c e s s e s .   E a c h   w o r k e r   i s   a   d i f f e r e n t   c o n t a i n e r   r u n n i n g   i n   i t s   o w n   P o d .   T h e   P o d s   h a v e   a n   i n d e x   n u m b e r   t h a t   t h e   c o n t r o l   p l a n e   s e t s   a u t o m a t i c a l l y ,   w h i c h   a l l o w s   e a c h   P o d   t o   i d e n t i f y   w h i c h   p a r t   o f   t h e   o v e r a l l   t a s k   t o   w o r k   o n .   T h e   p o d   i n d e x   i s   a v a i l a b l e   i n   t h e   a n n o t a t i o n   b a t c h . k u b e r n e t e s . i o / j o b - c o m p l e t i o n - i n d e x   a s   a   s t r i n g   r e p r e s e n t i n g   i t s   d e c i m a l   v a l u e .   I n   o r d e r   f o r   t h e   c o n t a i n e r i z e d   t a s k   p r o c e s s   t o   o b t a i n   t h i s   i n d e x ,   y o u   c a n   p u b l i s h   t h e   v a l u e   o f   t h e   a n n o t a t i o n   u s i n g   t h e   d o w n w a r d   A P I   m e c h a n i s m .   F o r   c o n v e n i e n c e ,   t h e   c o n t r o l   p l a n e   a u t o m a t i c a l l y   s e t s   t h e   d o w n w a r d   A P I   t o   e x p o s e   t h e   i n d e x   i n   t h e   J O B _ C O M P L E T I O N _ I N D E X   e n v i r o n m e n t   v a r i a b l e .   H e r e   i s   a n   o v e r v i e w   o f   t h e   s t e p s   i n   t h i s   e x a m p l e :   D e f i n e   a   J o b   m a n i f e s t   u s i n g   i n d e x e d   c o m p l e t i o n .   T h e   d o w n w a r d   A P I   a l l o w s   y o u   t o   p a s s   t h e   p o d   i n d e x   a n n o t a t i o n   a s   a n   e n v i r o n m e n t   v a r i a b l e   o r   f i l e   t o   t h e   c o n t a i n e r . S t a r t   a n   I n d e x e d   J o b   b a s e d   o n   t h a t   m a n i f e s t .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/indexed-parallel-processing-static/",
    "id": "k8s_00276_section_1_5140"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   s h o u l d   a l r e a d y   b e   f a m i l i a r   w i t h   t h e   b a s i c ,   n o n - p a r a l l e l ,   u s e   o f   J o b .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 2 1 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/indexed-parallel-processing-static/",
    "id": "k8s_00276_section_2_5141"
  },
  {
    "question": "What is Choose an approach?",
    "answer": "T o   a c c e s s   t h e   w o r k   i t e m   f r o m   t h e   w o r k e r   p r o g r a m ,   y o u   h a v e   a   f e w   o p t i o n s :   R e a d   t h e   J O B _ C O M P L E T I O N _ I N D E X   e n v i r o n m e n t   v a r i a b l e .   T h e   J o b   c o n t r o l l e r   a u t o m a t i c a l l y   l i n k s   t h i s   v a r i a b l e   t o   t h e   a n n o t a t i o n   c o n t a i n i n g   t h e   c o m p l e t i o n   i n d e x . R e a d   a   f i l e   t h a t   c o n t a i n s   t h e   c o m p l e t i o n   i n d e x . A s s u m i n g   t h a t   y o u   c a n ' t   m o d i f y   t h e   p r o g r a m ,   y o u   c a n   w r a p   i t   w i t h   a   s c r i p t   t h a t   r e a d s   t h e   i n d e x   u s i n g   a n y   o f   t h e   m e t h o d s   a b o v e   a n d   c o n v e r t s   i t   i n t o   s o m e t h i n g   t h a t   t h e   p r o g r a m   c a n   u s e   a s   i n p u t .   F o r   t h i s   e x a m p l e ,   i m a g i n e   t h a t   y o u   c h o s e   o p t i o n   3   a n d   y o u   w a n t   t o   r u n   t h e   r e v   u t i l i t y .   T h i s   p r o g r a m   a c c e p t s   a   f i l e   a s   a n   a r g u m e n t   a n d   p r i n t s   i t s   c o n t e n t   r e v e r s e d .   r e v   d a t a . t x t   Y o u ' l l   u s e   t h e   r e v   t o o l   f r o m   t h e   b u s y b o x   c o n t a i n e r   i m a g e .   A s   t h i s   i s   o n l y   a n   e x a m p l e ,   e a c h   P o d   o n l y   d o e s   a   t i n y   p i e c e   o f   w o r k   ( r e v e r s i n g   a   s h o r t   s t r i n g ) .   I n   a   r e a l   w o r k l o a d   y o u   m i g h t ,   f o r   e x a m p l e ,   c r e a t e   a   J o b   t h a t   r e p r e s e n t s   t h e   t a s k   o f   p r o d u c i n g   6 0   s e c o n d s   o f   v i d e o   b a s e d   o n   s c e n e   d a t a .   E a c h   w o r k   i t e m   i n   t h e   v i d e o   r e n d e r i n g   J o b   w o u l d   b e   t o   r e n d e r   a   p a r t i ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/indexed-parallel-processing-static/",
    "id": "k8s_00276_section_2_5142"
  },
  {
    "question": "What is Define an Indexed Job?",
    "answer": "H e r e   i s   a   s a m p l e   J o b   m a n i f e s t   t h a t   u s e s   I n d e x e d   c o m p l e t i o n   m o d e :   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   ' i n d e x e d - j o b '   s p e c :   c o m p l e t i o n s :   5   p a r a l l e l i s m :   3   c o m p l e t i o n M o d e :   I n d e x e d   t e m p l a t e :   s p e c :   r e s t a r t P o l i c y :   N e v e r   i n i t C o n t a i n e r s :   -   n a m e :   ' i n p u t '   i m a g e :   ' d o c k e r . i o / l i b r a r y / b a s h '   c o m m a n d :   -   \" b a s h \"   -   \" - c \"   -   |   i t e m s = ( f o o   b a r   b a z   q u x   x y z )   e c h o   $ { i t e m s [ $ J O B _ C O M P L E T I O N _ I N D E X ] }   >   / i n p u t / d a t a . t x t   v o l u m e M o u n t s :   -   m o u n t P a t h :   / i n p u t   n a m e :   i n p u t   c o n t a i n e r s :   -   n a m e :   ' w o r k e r '   i m a g e :   ' d o c k e r . i o / l i b r a r y / b u s y b o x '   c o m m a n d :   -   \" r e v \"   -   \" / i n p u t / d a t a . t x t \"   v o l u m e M o u n t s :   -   m o u n t P a t h :   / i n p u t   n a m e :   i n p u t   v o l u m e s :   -   n a m e :   i n p u t   e m p t y D i r :   { }   I n   t h e   e x a m p l e   a b o v e ,   y o u   u s e   t h e   b u i l t i n   J O B _ C O M P L E T I O N _ I N D E X   e n v i r o n m e n t   v a r i a b l e   s e t   b y   t h e   J o b   c o n t r o l l e r   f o r   a l l   c o n t a i n e r s .   A n   i n i t   c o n t a i n e r   m a p s   t h e   i n d e x   t o   a   s t a t i c   v a l u e   a n d   w r i t e s   i t   t o   a   f i l e   t h a t   i s   s h a r e d   w i t h   t h e   c o n t a i n e r   r u n n i n g   t h e   w o r k e r   t h r o u g h   a n   e m p t y D i r   v o l u m e .   O p t i o n a l l y ,   y o u   c a n   d e f i n e   y o u r   o w n   e n v i r o n m e n t   v a r i a b l e   t h r o u g h   t h e   d o w n w a r d   A P I   t o   p ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/indexed-parallel-processing-static/",
    "id": "k8s_00276_section_2_5143"
  },
  {
    "question": "What is Running the Job?",
    "answer": "N o w   r u n   t h e   J o b :   #   T h i s   u s e s   t h e   f i r s t   a p p r o a c h   ( r e l y i n g   o n   $ J O B _ C O M P L E T I O N _ I N D E X )   k u b e c t l   a p p l y   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / a p p l i c a t i o n / j o b / i n d e x e d - j o b . y a m l   W h e n   y o u   c r e a t e   t h i s   J o b ,   t h e   c o n t r o l   p l a n e   c r e a t e s   a   s e r i e s   o f   P o d s ,   o n e   f o r   e a c h   i n d e x   y o u   s p e c i f i e d .   T h e   v a l u e   o f   . s p e c . p a r a l l e l i s m   d e t e r m i n e s   h o w   m a n y   c a n   r u n   a t   o n c e   w h e r e a s   . s p e c . c o m p l e t i o n s   d e t e r m i n e s   h o w   m a n y   P o d s   t h e   J o b   c r e a t e s   i n   t o t a l .   B e c a u s e   . s p e c . p a r a l l e l i s m   i s   l e s s   t h a n   . s p e c . c o m p l e t i o n s ,   t h e   c o n t r o l   p l a n e   w a i t s   f o r   s o m e   o f   t h e   f i r s t   P o d s   t o   c o m p l e t e   b e f o r e   s t a r t i n g   m o r e   o f   t h e m .   Y o u   c a n   w a i t   f o r   t h e   J o b   t o   s u c c e e d ,   w i t h   a   t i m e o u t :   #   T h e   c h e c k   f o r   c o n d i t i o n   n a m e   i s   c a s e   i n s e n s i t i v e   k u b e c t l   w a i t   - - f o r = c o n d i t i o n = c o m p l e t e   - - t i m e o u t = 3 0 0 s   j o b / i n d e x e d - j o b   N o w ,   d e s c r i b e   t h e   J o b   a n d   c h e c k   t h a t   i t   w a s   s u c c e s s f u l .   k u b e c t l   d e s c r i b e   j o b s / i n d e x e d - j o b   T h e   o u t p u t   i s   s i m i l a r   t o :   N a m e :   i n d e x e d - j o b   N a m e s p a c e :   d e f a u l t   S e l e c t o r :   c o n t r o l l e r - u i d = b f 8 6 5 e 0 4 - 0 b 6 7 - 4 8 3 b - 9 a 9 0 - 7 4 c f c 4 c 3 e 7 5 6   L a b e l s :   c o n t r o l l e r - u i d = b f 8 6 5 e 0 4 - 0 b 6 7 - 4 8 3 b - 9 a 9 0 - 7 4 ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/indexed-parallel-processing-static/",
    "id": "k8s_00276_section_2_5144"
  },
  {
    "question": "What is Pod Security Admission?",
    "answer": "Pod Security AdmissionAn overview of the Pod Security Admission Controller, which can enforce the Pod Security Standards.FEATURE STATE: Kubernetes v1.25 [stable]The Kubernetes Pod Security Standards define different isolation levels for Pods. These standards let you define how you want to restrict the behavior of pods in a clear, consistent fashion.Kubernetes offers a built-in Pod Security admission controller to enforce the Pod Security Standards. Pod security restrictions are applied at the namespace level when pods are created.Built-in Pod Security admission enforcementThis page is part of the documentation for Kubernetes v1.34. If you are running a different version of Kubernetes, consult the documentation for that release.Pod Security levelsPod Security admission places requirements on a Pod's Security Context and other related fields according to the three levels defined by the Pod Security Standards: privileged, baseline, and restricted. Refer to the Pod Security Standards page for an in-depth look at those requirements.Pod Security Admission labels for namespacesOnce the feature is enabled or the webhook is installed, you can configure namespaces to define the admission control mode you want to use for pod security in each namespace. Kubernetes defines a set of labels that you can set to define which of the predefined Pod Security Standard levels you want to use for a namespace. The label you select defines what action the control plane takes if a potential violation is detected:Pod Security Admission modesModeDescriptionenforcePolicy violations will cause the pod to be rejected.auditPolicy violations will trigger the addition of an audit annotation to the event recorded in the audit log, but are otherwise allowed.warnPolicy violations will trigger a user-facing warning, but are otherwise allowed.A namespace can configure any or all modes, or even set a different level for different modes.For each mode, there are two labels that determine the policy used:# The per-mode level label indicates which policy level to apply for the mode. # # MODE must be one of `enforce`, `audit`, or `warn`. # LEVEL must be one of `privileged`, `baseline`, or `restricted`. pod-security.kubernetes.io/<MODE>: <LEVEL> # Optional: per-mode version label that can be used to pin the policy to the # version that shipped with a given Kubernetes minor version (for example v1.34). # # MODE must be one of `enforce`, `audit`, or `warn`. # VERSION must be a valid Kubernetes minor version, or `latest`. pod-security.kubernetes.io/<MODE>-version: <VERSION> Check out Enforce Pod Security Standards with Namespace Labels to see example usage.Workload resources and Pod templatesPods are often created indirectly, by creating a workload object such as a Deployment or Job. The workload object defines a Pod template and a controller for the workload resource creates Pods based on that template. To help catch violations early, both the audit and warning modes are applied to the workloa",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-admission/",
    "id": "k8s_00277_qa_5145"
  },
  {
    "question": "How does Pod Security Admission work?",
    "answer": "Pod Security AdmissionAn overview of the Pod Security Admission Controller, which can enforce the Pod Security Standards.FEATURE STATE: Kubernetes v1.25 [stable]The Kubernetes Pod Security Standards define different isolation levels for Pods. These standards let you define how you want to restrict the behavior of pods in a clear, consistent fashion.Kubernetes offers a built-in Pod Security admission controller to enforce the Pod Security Standards. Pod security restrictions are applied at the namespace level when pods are created.Built-in Pod Security admission enforcementThis page is part of the documentation for Kubernetes v1.34. If you are running a different version of Kubernetes, consult the documentation for that release.Pod Security levelsPod Security admission places requirements on a Pod's Security Context and other related fields according to the three levels defined by the Pod Security Standards: privileged, baseline, and restricted. Refer to the Pod Security Standards page for an in-depth look at those requirements.Pod Security Admission labels for namespacesOnce the feature is enabled or the webhook is installed, you can configure namespaces to define the admission control mode you want to use for pod security in each namespace. Kubernetes defines a set of labels that you can set to define which of the predefined Pod Security Standard levels you want to use for a namespace. The label you select defines what action the control plane takes if a potential violation is detected:Pod Security Admission modesModeDescriptionenforcePolicy violations will cause the pod to be rejected.auditPolicy violations will trigger the addition of an audit annotation to the event recorded in the audit log, but are otherwise allowed.warnPolicy violations will trigger a user-facing warning, but are otherwise allowed.A namespace can configure any or all modes, or even set a different level for different modes.For each mode, there are two labels that determine the policy used:# The per-mode level label indicates which policy level to apply for the mode. # # MODE must be one of `enforce`, `audit`, or `warn`. # LEVEL must be one of `privileged`, `baseline`, or `restricted`. pod-security.kubernetes.io/<MODE>: <LEVEL> # Optional: per-mode version label that can be used to pin the policy to the # version that shipped with a given Kubernetes minor version (for example v1.34). # # MODE must be one of `enforce`, `audit`, or `warn`. # VERSION must be a valid Kubernetes minor version, or `latest`. pod-security.kubernetes.io/<MODE>-version: <VERSION> Check out Enforce Pod Security Standards with Namespace Labels to see example usage.Workload resources and Pod templatesPods are often created indirectly, by creating a workload object such as a Deployment or Job. The workload object defines a Pod template and a controller for the workload resource creates Pods based on that template. To help catch violations early, both the audit and warning modes are applied to the workloa",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-admission/",
    "id": "k8s_00277_qa_5146"
  },
  {
    "question": "When would you use Pod Security Admission?",
    "answer": "Pod Security AdmissionAn overview of the Pod Security Admission Controller, which can enforce the Pod Security Standards.FEATURE STATE: Kubernetes v1.25 [stable]The Kubernetes Pod Security Standards define different isolation levels for Pods. These standards let you define how you want to restrict the behavior of pods in a clear, consistent fashion.Kubernetes offers a built-in Pod Security admission controller to enforce the Pod Security Standards. Pod security restrictions are applied at the namespace level when pods are created.Built-in Pod Security admission enforcementThis page is part of the documentation for Kubernetes v1.34. If you are running a different version of Kubernetes, consult the documentation for that release.Pod Security levelsPod Security admission places requirements on a Pod's Security Context and other related fields according to the three levels defined by the Pod Security Standards: privileged, baseline, and restricted. Refer to the Pod Security Standards page for an in-depth look at those requirements.Pod Security Admission labels for namespacesOnce the feature is enabled or the webhook is installed, you can configure namespaces to define the admission control mode you want to use for pod security in each namespace. Kubernetes defines a set of labels that you can set to define which of the predefined Pod Security Standard levels you want to use for a namespace. The label you select defines what action the control plane takes if a potential violation is detected:Pod Security Admission modesModeDescriptionenforcePolicy violations will cause the pod to be rejected.auditPolicy violations will trigger the addition of an audit annotation to the event recorded in the audit log, but are otherwise allowed.warnPolicy violations will trigger a user-facing warning, but are otherwise allowed.A namespace can configure any or all modes, or even set a different level for different modes.For each mode, there are two labels that determine the policy used:# The per-mode level label indicates which policy level to apply for the mode. # # MODE must be one of `enforce`, `audit`, or `warn`. # LEVEL must be one of `privileged`, `baseline`, or `restricted`. pod-security.kubernetes.io/<MODE>: <LEVEL> # Optional: per-mode version label that can be used to pin the policy to the # version that shipped with a given Kubernetes minor version (for example v1.34). # # MODE must be one of `enforce`, `audit`, or `warn`. # VERSION must be a valid Kubernetes minor version, or `latest`. pod-security.kubernetes.io/<MODE>-version: <VERSION> Check out Enforce Pod Security Standards with Namespace Labels to see example usage.Workload resources and Pod templatesPods are often created indirectly, by creating a workload object such as a Deployment or Job. The workload object defines a Pod template and a controller for the workload resource creates Pods based on that template. To help catch violations early, both the audit and warning modes are applied to the workloa",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-admission/",
    "id": "k8s_00277_qa_5147"
  },
  {
    "question": "What are the benefits of Pod Security Admission?",
    "answer": "Pod Security AdmissionAn overview of the Pod Security Admission Controller, which can enforce the Pod Security Standards.FEATURE STATE: Kubernetes v1.25 [stable]The Kubernetes Pod Security Standards define different isolation levels for Pods. These standards let you define how you want to restrict the behavior of pods in a clear, consistent fashion.Kubernetes offers a built-in Pod Security admission controller to enforce the Pod Security Standards. Pod security restrictions are applied at the namespace level when pods are created.Built-in Pod Security admission enforcementThis page is part of the documentation for Kubernetes v1.34. If you are running a different version of Kubernetes, consult the documentation for that release.Pod Security levelsPod Security admission places requirements on a Pod's Security Context and other related fields according to the three levels defined by the Pod Security Standards: privileged, baseline, and restricted. Refer to the Pod Security Standards page for an in-depth look at those requirements.Pod Security Admission labels for namespacesOnce the feature is enabled or the webhook is installed, you can configure namespaces to define the admission control mode you want to use for pod security in each namespace. Kubernetes defines a set of labels that you can set to define which of the predefined Pod Security Standard levels you want to use for a namespace. The label you select defines what action the control plane takes if a potential violation is detected:Pod Security Admission modesModeDescriptionenforcePolicy violations will cause the pod to be rejected.auditPolicy violations will trigger the addition of an audit annotation to the event recorded in the audit log, but are otherwise allowed.warnPolicy violations will trigger a user-facing warning, but are otherwise allowed.A namespace can configure any or all modes, or even set a different level for different modes.For each mode, there are two labels that determine the policy used:# The per-mode level label indicates which policy level to apply for the mode. # # MODE must be one of `enforce`, `audit`, or `warn`. # LEVEL must be one of `privileged`, `baseline`, or `restricted`. pod-security.kubernetes.io/<MODE>: <LEVEL> # Optional: per-mode version label that can be used to pin the policy to the # version that shipped with a given Kubernetes minor version (for example v1.34). # # MODE must be one of `enforce`, `audit`, or `warn`. # VERSION must be a valid Kubernetes minor version, or `latest`. pod-security.kubernetes.io/<MODE>-version: <VERSION> Check out Enforce Pod Security Standards with Namespace Labels to see example usage.Workload resources and Pod templatesPods are often created indirectly, by creating a workload object such as a Deployment or Job. The workload object defines a Pod template and a controller for the workload resource creates Pods based on that template. To help catch violations early, both the audit and warning modes are applied to the workloa",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-admission/",
    "id": "k8s_00277_qa_5148"
  },
  {
    "question": "What is Pod Security Admission?",
    "answer": "T h e   K u b e r n e t e s   P o d   S e c u r i t y   S t a n d a r d s   d e f i n e   d i f f e r e n t   i s o l a t i o n   l e v e l s   f o r   P o d s .   T h e s e   s t a n d a r d s   l e t   y o u   d e f i n e   h o w   y o u   w a n t   t o   r e s t r i c t   t h e   b e h a v i o r   o f   p o d s   i n   a   c l e a r ,   c o n s i s t e n t   f a s h i o n .   K u b e r n e t e s   o f f e r s   a   b u i l t - i n   P o d   S e c u r i t y   a d m i s s i o n   c o n t r o l l e r   t o   e n f o r c e   t h e   P o d   S e c u r i t y   S t a n d a r d s .   P o d   s e c u r i t y   r e s t r i c t i o n s   a r e   a p p l i e d   a t   t h e   n a m e s p a c e   l e v e l   w h e n   p o d s   a r e   c r e a t e d .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-admission/",
    "id": "k8s_00277_section_1_5149"
  },
  {
    "question": "What is Built-in Pod Security admission enforcement?",
    "answer": "T h i s   p a g e   i s   p a r t   o f   t h e   d o c u m e n t a t i o n   f o r   K u b e r n e t e s   v 1 . 3 4 .   I f   y o u   a r e   r u n n i n g   a   d i f f e r e n t   v e r s i o n   o f   K u b e r n e t e s ,   c o n s u l t   t h e   d o c u m e n t a t i o n   f o r   t h a t   r e l e a s e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-admission/",
    "id": "k8s_00277_section_3_5150"
  },
  {
    "question": "What is Pod Security levels?",
    "answer": "P o d   S e c u r i t y   a d m i s s i o n   p l a c e s   r e q u i r e m e n t s   o n   a   P o d ' s   S e c u r i t y   C o n t e x t   a n d   o t h e r   r e l a t e d   f i e l d s   a c c o r d i n g   t o   t h e   t h r e e   l e v e l s   d e f i n e d   b y   t h e   P o d   S e c u r i t y   S t a n d a r d s :   p r i v i l e g e d ,   b a s e l i n e ,   a n d   r e s t r i c t e d .   R e f e r   t o   t h e   P o d   S e c u r i t y   S t a n d a r d s   p a g e   f o r   a n   i n - d e p t h   l o o k   a t   t h o s e   r e q u i r e m e n t s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-admission/",
    "id": "k8s_00277_section_2_5151"
  },
  {
    "question": "What is Pod Security Admission labels for namespaces?",
    "answer": "O n c e   t h e   f e a t u r e   i s   e n a b l e d   o r   t h e   w e b h o o k   i s   i n s t a l l e d ,   y o u   c a n   c o n f i g u r e   n a m e s p a c e s   t o   d e f i n e   t h e   a d m i s s i o n   c o n t r o l   m o d e   y o u   w a n t   t o   u s e   f o r   p o d   s e c u r i t y   i n   e a c h   n a m e s p a c e .   K u b e r n e t e s   d e f i n e s   a   s e t   o f   l a b e l s   t h a t   y o u   c a n   s e t   t o   d e f i n e   w h i c h   o f   t h e   p r e d e f i n e d   P o d   S e c u r i t y   S t a n d a r d   l e v e l s   y o u   w a n t   t o   u s e   f o r   a   n a m e s p a c e .   T h e   l a b e l   y o u   s e l e c t   d e f i n e s   w h a t   a c t i o n   t h e   c o n t r o l   p l a n e   t a k e s   i f   a   p o t e n t i a l   v i o l a t i o n   i s   d e t e c t e d :   A   n a m e s p a c e   c a n   c o n f i g u r e   a n y   o r   a l l   m o d e s ,   o r   e v e n   s e t   a   d i f f e r e n t   l e v e l   f o r   d i f f e r e n t   m o d e s .   F o r   e a c h   m o d e ,   t h e r e   a r e   t w o   l a b e l s   t h a t   d e t e r m i n e   t h e   p o l i c y   u s e d :   #   T h e   p e r - m o d e   l e v e l   l a b e l   i n d i c a t e s   w h i c h   p o l i c y   l e v e l   t o   a p p l y   f o r   t h e   m o d e .   #   #   M O D E   m u s t   b e   o n e   o f   ` e n f o r c e ` ,   ` a u d i t ` ,   o r   ` w a r n ` .   #   L E V E L   m u s t   b e   o n e   o f   ` p r i v i l e g e d ` ,   ` b a s e l i n e ` ,   o r   ` r e s t r i c t e d ` .   p o d - s e c u r i t y . k u b e r n e t e s . i o / < M O D E > :   < L E V E L >   #   O p t i o n a l :   p e r - m o d e   v e r s i o n   l a b e l   t h a t   c a n   b e   u s e d   t o   p i n   t h e   p o l i c y   t o   t h e   #   v e r s i o n   t h a t   s h i p p e d   w i t h   a   g i v e n   K u b e r n e t e s   m i n o r   v e r s i o n   ( f o r   e x a m p l e   v 1 . 3 4 ) .   #   #   M O D E   ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-admission/",
    "id": "k8s_00277_section_2_5152"
  },
  {
    "question": "What is Workload resources and Pod templates?",
    "answer": "P o d s   a r e   o f t e n   c r e a t e d   i n d i r e c t l y ,   b y   c r e a t i n g   a   w o r k l o a d   o b j e c t   s u c h   a s   a   D e p l o y m e n t   o r   J o b .   T h e   w o r k l o a d   o b j e c t   d e f i n e s   a   P o d   t e m p l a t e   a n d   a   c o n t r o l l e r   f o r   t h e   w o r k l o a d   r e s o u r c e   c r e a t e s   P o d s   b a s e d   o n   t h a t   t e m p l a t e .   T o   h e l p   c a t c h   v i o l a t i o n s   e a r l y ,   b o t h   t h e   a u d i t   a n d   w a r n i n g   m o d e s   a r e   a p p l i e d   t o   t h e   w o r k l o a d   r e s o u r c e s .   H o w e v e r ,   e n f o r c e   m o d e   i s   n o t   a p p l i e d   t o   w o r k l o a d   r e s o u r c e s ,   o n l y   t o   t h e   r e s u l t i n g   p o d   o b j e c t s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-admission/",
    "id": "k8s_00277_section_2_5153"
  },
  {
    "question": "What is Exemptions?",
    "answer": "Y o u   c a n   d e f i n e   e x e m p t i o n s   f r o m   p o d   s e c u r i t y   e n f o r c e m e n t   i n   o r d e r   t o   a l l o w   t h e   c r e a t i o n   o f   p o d s   t h a t   w o u l d   h a v e   o t h e r w i s e   b e e n   p r o h i b i t e d   d u e   t o   t h e   p o l i c y   a s s o c i a t e d   w i t h   a   g i v e n   n a m e s p a c e .   E x e m p t i o n s   c a n   b e   s t a t i c a l l y   c o n f i g u r e d   i n   t h e   A d m i s s i o n   C o n t r o l l e r   c o n f i g u r a t i o n .   E x e m p t i o n s   m u s t   b e   e x p l i c i t l y   e n u m e r a t e d .   R e q u e s t s   m e e t i n g   e x e m p t i o n   c r i t e r i a   a r e   i g n o r e d   b y   t h e   A d m i s s i o n   C o n t r o l l e r   ( a l l   e n f o r c e ,   a u d i t   a n d   w a r n   b e h a v i o r s   a r e   s k i p p e d ) .   E x e m p t i o n   d i m e n s i o n s   i n c l u d e :   U s e r n a m e s :   r e q u e s t s   f r o m   u s e r s   w i t h   a n   e x e m p t   a u t h e n t i c a t e d   ( o r   i m p e r s o n a t e d )   u s e r n a m e   a r e   i g n o r e d . R u n t i m e C l a s s N a m e s :   p o d s   a n d   w o r k l o a d   r e s o u r c e s   s p e c i f y i n g   a n   e x e m p t   r u n t i m e   c l a s s   n a m e   a r e   i g n o r e d . N a m e s p a c e s :   p o d s   a n d   w o r k l o a d   r e s o u r c e s   i n   a n   e x e m p t   n a m e s p a c e   a r e   i g n o r e d .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-admission/",
    "id": "k8s_00277_section_2_5154"
  },
  {
    "question": "What is Caution:?",
    "answer": "U p d a t e s   t o   t h e   f o l l o w i n g   p o d   f i e l d s   a r e   e x e m p t   f r o m   p o l i c y   c h e c k s ,   m e a n i n g   t h a t   i f   a   p o d   u p d a t e   r e q u e s t   o n l y   c h a n g e s   t h e s e   f i e l d s ,   i t   w i l l   n o t   b e   d e n i e d   e v e n   i f   t h e   p o d   i s   i n   v i o l a t i o n   o f   t h e   c u r r e n t   p o l i c y   l e v e l :   A n y   m e t a d a t a   u p d a t e s   e x c e p t   c h a n g e s   t o   t h e   s e c c o m p   o r   A p p A r m o r   a n n o t a t i o n s : s e c c o m p . s e c u r i t y . a l p h a . k u b e r n e t e s . i o / p o d   ( d e p r e c a t e d ) c o n t a i n e r . s e c c o m p . s e c u r i t y . a l p h a . k u b e r n e t e s . i o / *   ( d e p r e c a t e d ) c o n t a i n e r . a p p a r m o r . s e c u r i t y . b e t a . k u b e r n e t e s . i o / *   ( d e p r e c a t e d ) V a l i d   u p d a t e s   t o   . s p e c . a c t i v e D e a d l i n e S e c o n d s V a l i d   u p d a t e s   t o   . s p e c . t o l e r a t i o n s   s e c c o m p . s e c u r i t y . a l p h a . k u b e r n e t e s . i o / p o d   ( d e p r e c a t e d ) c o n t a i n e r . s e c c o m p . s e c u r i t y . a l p h a . k u b e r n e t e s . i o / *   ( d e p r e c a t e d ) c o n t a i n e r . a p p a r m o r . s e c u r i t y . b e t a . k u b e r n e t e s . i o / *   ( d e p r e c a t e d )",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-admission/",
    "id": "k8s_00277_section_4_5155"
  },
  {
    "question": "What is Metrics?",
    "answer": "H e r e   a r e   t h e   P r o m e t h e u s   m e t r i c s   e x p o s e d   b y   k u b e - a p i s e r v e r :   p o d _ s e c u r i t y _ e r r o r s _ t o t a l :   T h i s   m e t r i c   i n d i c a t e s   t h e   n u m b e r   o f   e r r o r s   p r e v e n t i n g   n o r m a l   e v a l u a t i o n .   N o n - f a t a l   e r r o r s   m a y   r e s u l t   i n   t h e   l a t e s t   r e s t r i c t e d   p r o f i l e   b e i n g   u s e d   f o r   e n f o r c e m e n t . p o d _ s e c u r i t y _ e v a l u a t i o n s _ t o t a l :   T h i s   m e t r i c   i n d i c a t e s   t h e   n u m b e r   o f   p o l i c y   e v a l u a t i o n s   t h a t   h a v e   o c c u r r e d ,   n o t   c o u n t i n g   i g n o r e d   o r   e x e m p t   r e q u e s t s   d u r i n g   e x p o r t i n g . p o d _ s e c u r i t y _ e x e m p t i o n s _ t o t a l :   T h i s   m e t r i c   i n d i c a t e s   t h e   n u m b e r   o f   e x e m p t   r e q u e s t s ,   n o t   c o u n t i n g   i g n o r e d   o r   o u t   o f   s c o p e   r e q u e s t s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-admission/",
    "id": "k8s_00277_section_2_5156"
  },
  {
    "question": "What is What's next?",
    "answer": "P o d   S e c u r i t y   S t a n d a r d s E n f o r c i n g   P o d   S e c u r i t y   S t a n d a r d s E n f o r c e   P o d   S e c u r i t y   S t a n d a r d s   b y   C o n f i g u r i n g   t h e   B u i l t - i n   A d m i s s i o n   C o n t r o l l e r E n f o r c e   P o d   S e c u r i t y   S t a n d a r d s   w i t h   N a m e s p a c e   L a b e l s   I f   y o u   a r e   r u n n i n g   a n   o l d e r   v e r s i o n   o f   K u b e r n e t e s   a n d   w a n t   t o   u p g r a d e   t o   a   v e r s i o n   o f   K u b e r n e t e s   t h a t   d o e s   n o t   i n c l u d e   P o d S e c u r i t y P o l i c i e s ,   r e a d   m i g r a t e   f r o m   P o d S e c u r i t y P o l i c y   t o   t h e   B u i l t - I n   P o d S e c u r i t y   A d m i s s i o n   C o n t r o l l e r .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-admission/",
    "id": "k8s_00277_section_2_5157"
  },
  {
    "question": "What is CSIDriver?",
    "answer": "CSIDriverCSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster.apiVersion: storage.k8s.io/v1import \"k8s.io/api/storage/v1\"CSIDriverCSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.apiVersion: storage.k8s.io/v1kind: CSIDrivermetadata (ObjectMeta)Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (CSIDriverSpec), requiredspec represents the specification of the CSI Driver.CSIDriverSpecCSIDriverSpec is the specification of a CSIDriver.attachRequired (boolean)attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.This field is immutable.fsGroupPolicy (string)fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.This field was immutable in Kubernetes < 1.29 and now is mutable.Defaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.nodeAllocatableUpdatePeriodSeconds (int64)nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.This is a beta feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.This field is mutable.podIn",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_qa_5158"
  },
  {
    "question": "How does CSIDriver work?",
    "answer": "CSIDriverCSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster.apiVersion: storage.k8s.io/v1import \"k8s.io/api/storage/v1\"CSIDriverCSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.apiVersion: storage.k8s.io/v1kind: CSIDrivermetadata (ObjectMeta)Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (CSIDriverSpec), requiredspec represents the specification of the CSI Driver.CSIDriverSpecCSIDriverSpec is the specification of a CSIDriver.attachRequired (boolean)attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.This field is immutable.fsGroupPolicy (string)fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.This field was immutable in Kubernetes < 1.29 and now is mutable.Defaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.nodeAllocatableUpdatePeriodSeconds (int64)nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.This is a beta feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.This field is mutable.podIn",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_qa_5159"
  },
  {
    "question": "When would you use CSIDriver?",
    "answer": "CSIDriverCSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster.apiVersion: storage.k8s.io/v1import \"k8s.io/api/storage/v1\"CSIDriverCSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.apiVersion: storage.k8s.io/v1kind: CSIDrivermetadata (ObjectMeta)Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (CSIDriverSpec), requiredspec represents the specification of the CSI Driver.CSIDriverSpecCSIDriverSpec is the specification of a CSIDriver.attachRequired (boolean)attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.This field is immutable.fsGroupPolicy (string)fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.This field was immutable in Kubernetes < 1.29 and now is mutable.Defaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.nodeAllocatableUpdatePeriodSeconds (int64)nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.This is a beta feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.This field is mutable.podIn",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_qa_5160"
  },
  {
    "question": "What are the benefits of CSIDriver?",
    "answer": "CSIDriverCSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster.apiVersion: storage.k8s.io/v1import \"k8s.io/api/storage/v1\"CSIDriverCSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.apiVersion: storage.k8s.io/v1kind: CSIDrivermetadata (ObjectMeta)Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (CSIDriverSpec), requiredspec represents the specification of the CSI Driver.CSIDriverSpecCSIDriverSpec is the specification of a CSIDriver.attachRequired (boolean)attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.This field is immutable.fsGroupPolicy (string)fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.This field was immutable in Kubernetes < 1.29 and now is mutable.Defaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.nodeAllocatableUpdatePeriodSeconds (int64)nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.This is a beta feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.This field is mutable.podIn",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_qa_5161"
  },
  {
    "question": "What is CSIDriver?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / s t o r a g e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_section_1_5162"
  },
  {
    "question": "What is CSIDriver?",
    "answer": "C S I D r i v e r   c a p t u r e s   i n f o r m a t i o n   a b o u t   a   C o n t a i n e r   S t o r a g e   I n t e r f a c e   ( C S I )   v o l u m e   d r i v e r   d e p l o y e d   o n   t h e   c l u s t e r .   K u b e r n e t e s   a t t a c h   d e t a c h   c o n t r o l l e r   u s e s   t h i s   o b j e c t   t o   d e t e r m i n e   w h e t h e r   a t t a c h   i s   r e q u i r e d .   K u b e l e t   u s e s   t h i s   o b j e c t   t o   d e t e r m i n e   w h e t h e r   p o d   i n f o r m a t i o n   n e e d s   t o   b e   p a s s e d   o n   m o u n t .   C S I D r i v e r   o b j e c t s   a r e   n o n - n a m e s p a c e d .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   C S I D r i v e r m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a .   m e t a d a t a . N a m e   i n d i c a t e s   t h e   n a m e   o f   t h e   C S I   d r i v e r   t h a t   t h i s   o b j e c t   r e f e r s   t o ;   i t   M U S T   b e   t h e   s a m e   n a m e   r e t u r n e d   b y   t h e   C S I   G e t P l u g i n N a m e ( )   c a l l   f o r   t h a t   d r i v e r .   T h e   d r i v e r   n a m e   m u s t   b e   6 3   c h a r a c t e r s   o r   l e s s ,   b e g i n n i n g   a n d   e n d i n g   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r   ( [ a - z 0 - 9 A - Z ] )   w i t h   d a s h e s   ( - ) ,   d o t s   ( . ) ,   a n d   a l p h a n u m e r i c s   b e t w e e n .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( C S I D r i v e r S p e c ) ,   r e q u i r e d s p e c   r e p r e s e n t s   t h e   s p e c i f i c a t i o n   o f   t h e   C S I   D r i v e r .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   C S I D r i v e r   m e t a d a t a   ( O b j ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_section_2_5163"
  },
  {
    "question": "What is CSIDriverSpec?",
    "answer": "C S I D r i v e r S p e c   i s   t h e   s p e c i f i c a t i o n   o f   a   C S I D r i v e r .   a t t a c h R e q u i r e d   ( b o o l e a n ) a t t a c h R e q u i r e d   i n d i c a t e s   t h i s   C S I   v o l u m e   d r i v e r   r e q u i r e s   a n   a t t a c h   o p e r a t i o n   ( b e c a u s e   i t   i m p l e m e n t s   t h e   C S I   C o n t r o l l e r P u b l i s h V o l u m e ( )   m e t h o d ) ,   a n d   t h a t   t h e   K u b e r n e t e s   a t t a c h   d e t a c h   c o n t r o l l e r   s h o u l d   c a l l   t h e   a t t a c h   v o l u m e   i n t e r f a c e   w h i c h   c h e c k s   t h e   v o l u m e a t t a c h m e n t   s t a t u s   a n d   w a i t s   u n t i l   t h e   v o l u m e   i s   a t t a c h e d   b e f o r e   p r o c e e d i n g   t o   m o u n t i n g .   T h e   C S I   e x t e r n a l - a t t a c h e r   c o o r d i n a t e s   w i t h   C S I   v o l u m e   d r i v e r   a n d   u p d a t e s   t h e   v o l u m e a t t a c h m e n t   s t a t u s   w h e n   t h e   a t t a c h   o p e r a t i o n   i s   c o m p l e t e .   I f   t h e   v a l u e   i s   s p e c i f i e d   t o   f a l s e ,   t h e   a t t a c h   o p e r a t i o n   w i l l   b e   s k i p p e d .   O t h e r w i s e   t h e   a t t a c h   o p e r a t i o n   w i l l   b e   c a l l e d . T h i s   f i e l d   i s   i m m u t a b l e . f s G r o u p P o l i c y   ( s t r i n g ) f s G r o u p P o l i c y   d e f i n e s   i f   t h e   u n d e r l y i n g   v o l u m e   s u p p o r t s   c h a n g i n g   o w n e r s h i p   a n d   p e r m i s s i o n   o f   t h e   v o l u m e   b e f o r e   b e i n g   m o u n t e d .   R e f e r   t o   t h e   s p e c i f i c   F S G r o u p P o l i c y   v a l u e s   f o r   a d d i t i o n a l   d e t a i l s . T h i s   f i e l d   w a s   i m m u t a b l e   i n   K u b e r n e t e s   <   1 . 2 9   a n d   n o w   i s   m u t a b l e . D e f a u l t s   t o   R e a d W r i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_section_2_5164"
  },
  {
    "question": "What is CSIDriverList?",
    "answer": "C S I D r i v e r L i s t   i s   a   c o l l e c t i o n   o f   C S I D r i v e r   o b j e c t s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   C S I D r i v e r L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] C S I D r i v e r ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   C S I D r i v e r   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   C S I D r i v e r L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] C S I D r i v e r ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   C S I D r i v e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_section_2_5165"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_section_4_5166"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I D r i v e r p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I D r i v e r   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_section_4_5167"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I D r i v e r ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_section_4_5168"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_section_4_5169"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_section_4_5170"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I D r i v e r L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_section_4_5171"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_section_4_5172"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   C S I D r i v e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   C S I D r i v e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_section_4_5173"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I D r i v e r ) :   O K   2 0 1   ( C S I D r i v e r ) :   C r e a t e d   2 0 2   ( C S I D r i v e r ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_section_4_5174"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_section_4_5175"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I D r i v e r b o d y :   C S I D r i v e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I D r i v e r   b o d y :   C S I D r i v e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_section_4_5176"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I D r i v e r ) :   O K   2 0 1   ( C S I D r i v e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_section_4_5177"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_section_4_5178"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I D r i v e r b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I D r i v e r   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_section_4_5179"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I D r i v e r ) :   O K   2 0 1   ( C S I D r i v e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_section_4_5180"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_section_4_5181"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I D r i v e r b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I D r i v e r   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_section_4_5182"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I D r i v e r ) :   O K   2 0 2   ( C S I D r i v e r ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_section_4_5183"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_section_4_5184"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_section_4_5185"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/",
    "id": "k8s_00278_section_4_5186"
  },
  {
    "question": "What is Use a SOCKS5 Proxy to Access the Kubernetes API?",
    "answer": "Use a SOCKS5 Proxy to Access the Kubernetes APIFEATURE STATE: Kubernetes v1.24 [stable]This page shows how to use a SOCKS5 proxy to access the API of a remote Kubernetes cluster. This is useful when the cluster you want to access does not expose its API directly on the public internet.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.24.To check the version, enter kubectl version.You need SSH client software (the ssh tool), and an SSH service running on the remote server. You must be able to log in to the SSH service on the remote server.Task contextNote:This example tunnels traffic using SSH, with the SSH client and server acting as a SOCKS proxy. You can instead use any other kind of SOCKS5 proxies.Figure 1 represents what you're going to achieve in this task.You have a client computer, referred to as local in the steps ahead, from where you're going to create requests to talk to the Kubernetes API.The Kubernetes server/API is hosted on a remote server.You will use SSH client and server software to create a secure SOCKS5 tunnel between the local and the remote server. The HTTPS traffic between the client and the Kubernetes API will flow over the SOCKS5 tunnel, which is itself tunnelled over SSH.graph LR; subgraph local[Local client machine] client([client])-. localtraffic .-> local_ssh[Local SSHSOCKS5 proxy]; end local_ssh[SSHSOCKS5proxy]-- SSH Tunnel -->sshd subgraph remote[Remote server] sshd[SSHserver]-- local traffic -->service1; end client([client])-. proxied HTTPs trafficgoing through the proxy .->service1[Kubernetes API]; classDef plain fill:#ddd,stroke:#fff,stroke-width:4px,color:#000; classDef k8s fill:#326ce5,stroke:#fff,stroke-width:4px,color:#fff; classDef cluster fill:#fff,stroke:#bbb,stroke-width:2px,color:#326ce5; class ingress,service1,service2,pod1,pod2,pod3,pod4 k8s; class client plain; class cluster cluster;JavaScript must be enabled to view this contentFigure 1. SOCKS5 tutorial componentsUsing ssh to create a SOCKS5 proxyThe following command starts a SOCKS5 proxy between your client machine and the remote SOCKS server:# The SSH tunnel continues running in the foreground after you run this ssh -D 1080 -q -N username@kubernetes-remote-server.example The SOCKS5 proxy lets you connect to your cluster's API server based on the following configuration:-D 1080: opens a SOCKS proxy on local port :1080.-q: quiet mode. Causes most warning and diagnostic messages to be suppressed.-N: Do not execute a remote command. Useful for just forwarding ports.username@kubernetes-remote-server.example: the ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/socks5-proxy-access-api/",
    "id": "k8s_00279_qa_5187"
  },
  {
    "question": "How does Use a SOCKS5 Proxy to Access the Kubernetes API work?",
    "answer": "Use a SOCKS5 Proxy to Access the Kubernetes APIFEATURE STATE: Kubernetes v1.24 [stable]This page shows how to use a SOCKS5 proxy to access the API of a remote Kubernetes cluster. This is useful when the cluster you want to access does not expose its API directly on the public internet.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.24.To check the version, enter kubectl version.You need SSH client software (the ssh tool), and an SSH service running on the remote server. You must be able to log in to the SSH service on the remote server.Task contextNote:This example tunnels traffic using SSH, with the SSH client and server acting as a SOCKS proxy. You can instead use any other kind of SOCKS5 proxies.Figure 1 represents what you're going to achieve in this task.You have a client computer, referred to as local in the steps ahead, from where you're going to create requests to talk to the Kubernetes API.The Kubernetes server/API is hosted on a remote server.You will use SSH client and server software to create a secure SOCKS5 tunnel between the local and the remote server. The HTTPS traffic between the client and the Kubernetes API will flow over the SOCKS5 tunnel, which is itself tunnelled over SSH.graph LR; subgraph local[Local client machine] client([client])-. localtraffic .-> local_ssh[Local SSHSOCKS5 proxy]; end local_ssh[SSHSOCKS5proxy]-- SSH Tunnel -->sshd subgraph remote[Remote server] sshd[SSHserver]-- local traffic -->service1; end client([client])-. proxied HTTPs trafficgoing through the proxy .->service1[Kubernetes API]; classDef plain fill:#ddd,stroke:#fff,stroke-width:4px,color:#000; classDef k8s fill:#326ce5,stroke:#fff,stroke-width:4px,color:#fff; classDef cluster fill:#fff,stroke:#bbb,stroke-width:2px,color:#326ce5; class ingress,service1,service2,pod1,pod2,pod3,pod4 k8s; class client plain; class cluster cluster;JavaScript must be enabled to view this contentFigure 1. SOCKS5 tutorial componentsUsing ssh to create a SOCKS5 proxyThe following command starts a SOCKS5 proxy between your client machine and the remote SOCKS server:# The SSH tunnel continues running in the foreground after you run this ssh -D 1080 -q -N username@kubernetes-remote-server.example The SOCKS5 proxy lets you connect to your cluster's API server based on the following configuration:-D 1080: opens a SOCKS proxy on local port :1080.-q: quiet mode. Causes most warning and diagnostic messages to be suppressed.-N: Do not execute a remote command. Useful for just forwarding ports.username@kubernetes-remote-server.example: the ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/socks5-proxy-access-api/",
    "id": "k8s_00279_qa_5188"
  },
  {
    "question": "When would you use Use a SOCKS5 Proxy to Access the Kubernetes API?",
    "answer": "Use a SOCKS5 Proxy to Access the Kubernetes APIFEATURE STATE: Kubernetes v1.24 [stable]This page shows how to use a SOCKS5 proxy to access the API of a remote Kubernetes cluster. This is useful when the cluster you want to access does not expose its API directly on the public internet.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.24.To check the version, enter kubectl version.You need SSH client software (the ssh tool), and an SSH service running on the remote server. You must be able to log in to the SSH service on the remote server.Task contextNote:This example tunnels traffic using SSH, with the SSH client and server acting as a SOCKS proxy. You can instead use any other kind of SOCKS5 proxies.Figure 1 represents what you're going to achieve in this task.You have a client computer, referred to as local in the steps ahead, from where you're going to create requests to talk to the Kubernetes API.The Kubernetes server/API is hosted on a remote server.You will use SSH client and server software to create a secure SOCKS5 tunnel between the local and the remote server. The HTTPS traffic between the client and the Kubernetes API will flow over the SOCKS5 tunnel, which is itself tunnelled over SSH.graph LR; subgraph local[Local client machine] client([client])-. localtraffic .-> local_ssh[Local SSHSOCKS5 proxy]; end local_ssh[SSHSOCKS5proxy]-- SSH Tunnel -->sshd subgraph remote[Remote server] sshd[SSHserver]-- local traffic -->service1; end client([client])-. proxied HTTPs trafficgoing through the proxy .->service1[Kubernetes API]; classDef plain fill:#ddd,stroke:#fff,stroke-width:4px,color:#000; classDef k8s fill:#326ce5,stroke:#fff,stroke-width:4px,color:#fff; classDef cluster fill:#fff,stroke:#bbb,stroke-width:2px,color:#326ce5; class ingress,service1,service2,pod1,pod2,pod3,pod4 k8s; class client plain; class cluster cluster;JavaScript must be enabled to view this contentFigure 1. SOCKS5 tutorial componentsUsing ssh to create a SOCKS5 proxyThe following command starts a SOCKS5 proxy between your client machine and the remote SOCKS server:# The SSH tunnel continues running in the foreground after you run this ssh -D 1080 -q -N username@kubernetes-remote-server.example The SOCKS5 proxy lets you connect to your cluster's API server based on the following configuration:-D 1080: opens a SOCKS proxy on local port :1080.-q: quiet mode. Causes most warning and diagnostic messages to be suppressed.-N: Do not execute a remote command. Useful for just forwarding ports.username@kubernetes-remote-server.example: the ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/socks5-proxy-access-api/",
    "id": "k8s_00279_qa_5189"
  },
  {
    "question": "What are the benefits of Use a SOCKS5 Proxy to Access the Kubernetes API?",
    "answer": "Use a SOCKS5 Proxy to Access the Kubernetes APIFEATURE STATE: Kubernetes v1.24 [stable]This page shows how to use a SOCKS5 proxy to access the API of a remote Kubernetes cluster. This is useful when the cluster you want to access does not expose its API directly on the public internet.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.24.To check the version, enter kubectl version.You need SSH client software (the ssh tool), and an SSH service running on the remote server. You must be able to log in to the SSH service on the remote server.Task contextNote:This example tunnels traffic using SSH, with the SSH client and server acting as a SOCKS proxy. You can instead use any other kind of SOCKS5 proxies.Figure 1 represents what you're going to achieve in this task.You have a client computer, referred to as local in the steps ahead, from where you're going to create requests to talk to the Kubernetes API.The Kubernetes server/API is hosted on a remote server.You will use SSH client and server software to create a secure SOCKS5 tunnel between the local and the remote server. The HTTPS traffic between the client and the Kubernetes API will flow over the SOCKS5 tunnel, which is itself tunnelled over SSH.graph LR; subgraph local[Local client machine] client([client])-. localtraffic .-> local_ssh[Local SSHSOCKS5 proxy]; end local_ssh[SSHSOCKS5proxy]-- SSH Tunnel -->sshd subgraph remote[Remote server] sshd[SSHserver]-- local traffic -->service1; end client([client])-. proxied HTTPs trafficgoing through the proxy .->service1[Kubernetes API]; classDef plain fill:#ddd,stroke:#fff,stroke-width:4px,color:#000; classDef k8s fill:#326ce5,stroke:#fff,stroke-width:4px,color:#fff; classDef cluster fill:#fff,stroke:#bbb,stroke-width:2px,color:#326ce5; class ingress,service1,service2,pod1,pod2,pod3,pod4 k8s; class client plain; class cluster cluster;JavaScript must be enabled to view this contentFigure 1. SOCKS5 tutorial componentsUsing ssh to create a SOCKS5 proxyThe following command starts a SOCKS5 proxy between your client machine and the remote SOCKS server:# The SSH tunnel continues running in the foreground after you run this ssh -D 1080 -q -N username@kubernetes-remote-server.example The SOCKS5 proxy lets you connect to your cluster's API server based on the following configuration:-D 1080: opens a SOCKS proxy on local port :1080.-q: quiet mode. Causes most warning and diagnostic messages to be suppressed.-N: Do not execute a remote command. Useful for just forwarding ports.username@kubernetes-remote-server.example: the ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/socks5-proxy-access-api/",
    "id": "k8s_00279_qa_5190"
  },
  {
    "question": "What is Use a SOCKS5 Proxy to Access the Kubernetes API?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   a   S O C K S 5   p r o x y   t o   a c c e s s   t h e   A P I   o f   a   r e m o t e   K u b e r n e t e s   c l u s t e r .   T h i s   i s   u s e f u l   w h e n   t h e   c l u s t e r   y o u   w a n t   t o   a c c e s s   d o e s   n o t   e x p o s e   i t s   A P I   d i r e c t l y   o n   t h e   p u b l i c   i n t e r n e t .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/socks5-proxy-access-api/",
    "id": "k8s_00279_section_1_5191"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 2 4 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/socks5-proxy-access-api/",
    "id": "k8s_00279_section_2_5192"
  },
  {
    "question": "What is Note:?",
    "answer": "F i g u r e   1   r e p r e s e n t s   w h a t   y o u ' r e   g o i n g   t o   a c h i e v e   i n   t h i s   t a s k .   Y o u   h a v e   a   c l i e n t   c o m p u t e r ,   r e f e r r e d   t o   a s   l o c a l   i n   t h e   s t e p s   a h e a d ,   f r o m   w h e r e   y o u ' r e   g o i n g   t o   c r e a t e   r e q u e s t s   t o   t a l k   t o   t h e   K u b e r n e t e s   A P I . T h e   K u b e r n e t e s   s e r v e r / A P I   i s   h o s t e d   o n   a   r e m o t e   s e r v e r . Y o u   w i l l   u s e   S S H   c l i e n t   a n d   s e r v e r   s o f t w a r e   t o   c r e a t e   a   s e c u r e   S O C K S 5   t u n n e l   b e t w e e n   t h e   l o c a l   a n d   t h e   r e m o t e   s e r v e r .   T h e   H T T P S   t r a f f i c   b e t w e e n   t h e   c l i e n t   a n d   t h e   K u b e r n e t e s   A P I   w i l l   f l o w   o v e r   t h e   S O C K S 5   t u n n e l ,   w h i c h   i s   i t s e l f   t u n n e l l e d   o v e r   S S H .   g r a p h   L R ;   s u b g r a p h   l o c a l [ L o c a l   c l i e n t   m a c h i n e ]   c l i e n t ( [ c l i e n t ] ) - .   l o c a l t r a f f i c   . - >   l o c a l _ s s h [ L o c a l   S S H S O C K S 5   p r o x y ] ;   e n d   l o c a l _ s s h [ S S H S O C K S 5 p r o x y ] - -   S S H   T u n n e l   - - > s s h d   s u b g r a p h   r e m o t e [ R e m o t e   s e r v e r ]   s s h d [ S S H s e r v e r ] - -   l o c a l   t r a f f i c   - - > s e r v i c e 1 ;   e n d   c l i e n t ( [ c l i e n t ] ) - .   p r o x i e d   H T T P s   t r a f f i c g o i n g   t h r o u g h   t h e   p r o x y   . - > s e r v i c e 1 [ K u b e r n e t e s   A P I ] ;   c l a s s D e f   p l a i n   f i l l : # d d d , s t r o k e : # f f f , s t r o k e - w i d t h : 4 p x , c o l o r : # 0 0 0 ;   c l a s s D e f   k 8 s   f i l l : # 3 2 6 c e 5 , s t r o k e : # f f f , s t r o k e - w i d t h : 4 p x , c o l o r : # f f f ;   c l a s s D e f   c l u s t e r   f ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/socks5-proxy-access-api/",
    "id": "k8s_00279_section_4_5193"
  },
  {
    "question": "What is Using ssh to create a SOCKS5 proxy?",
    "answer": "T h e   f o l l o w i n g   c o m m a n d   s t a r t s   a   S O C K S 5   p r o x y   b e t w e e n   y o u r   c l i e n t   m a c h i n e   a n d   t h e   r e m o t e   S O C K S   s e r v e r :   #   T h e   S S H   t u n n e l   c o n t i n u e s   r u n n i n g   i n   t h e   f o r e g r o u n d   a f t e r   y o u   r u n   t h i s   s s h   - D   1 0 8 0   - q   - N   u s e r n a m e @ k u b e r n e t e s - r e m o t e - s e r v e r . e x a m p l e   T h e   S O C K S 5   p r o x y   l e t s   y o u   c o n n e c t   t o   y o u r   c l u s t e r ' s   A P I   s e r v e r   b a s e d   o n   t h e   f o l l o w i n g   c o n f i g u r a t i o n :   - D   1 0 8 0 :   o p e n s   a   S O C K S   p r o x y   o n   l o c a l   p o r t   : 1 0 8 0 . - q :   q u i e t   m o d e .   C a u s e s   m o s t   w a r n i n g   a n d   d i a g n o s t i c   m e s s a g e s   t o   b e   s u p p r e s s e d . - N :   D o   n o t   e x e c u t e   a   r e m o t e   c o m m a n d .   U s e f u l   f o r   j u s t   f o r w a r d i n g   p o r t s . u s e r n a m e @ k u b e r n e t e s - r e m o t e - s e r v e r . e x a m p l e :   t h e   r e m o t e   S S H   s e r v e r   b e h i n d   w h i c h   t h e   K u b e r n e t e s   c l u s t e r   i s   r u n n i n g   ( e g :   a   b a s t i o n   h o s t ) .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/socks5-proxy-access-api/",
    "id": "k8s_00279_section_2_5194"
  },
  {
    "question": "What is Client configuration?",
    "answer": "T o   a c c e s s   t h e   K u b e r n e t e s   A P I   s e r v e r   t h r o u g h   t h e   p r o x y   y o u   m u s t   i n s t r u c t   k u b e c t l   t o   s e n d   q u e r i e s   t h r o u g h   t h e   S O C K S   p r o x y   w e   c r e a t e d   e a r l i e r .   D o   t h i s   b y   e i t h e r   s e t t i n g   t h e   a p p r o p r i a t e   e n v i r o n m e n t   v a r i a b l e ,   o r   v i a   t h e   p r o x y - u r l   a t t r i b u t e   i n   t h e   k u b e c o n f i g   f i l e .   U s i n g   a n   e n v i r o n m e n t   v a r i a b l e :   e x p o r t   H T T P S _ P R O X Y = s o c k s 5 : / / l o c a l h o s t : 1 0 8 0   T o   a l w a y s   u s e   t h i s   s e t t i n g   o n   a   s p e c i f i c   k u b e c t l   c o n t e x t ,   s p e c i f y   t h e   p r o x y - u r l   a t t r i b u t e   i n   t h e   r e l e v a n t   c l u s t e r   e n t r y   w i t h i n   t h e   ~ / . k u b e / c o n f i g   f i l e .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   c l u s t e r s :   -   c l u s t e r :   c e r t i f i c a t e - a u t h o r i t y - d a t a :   L R M E M M W 2   #   s h o r t e n e d   f o r   r e a d a b i l i t y   s e r v e r :   h t t p s : / / < A P I _ S E R V E R _ I P _ A D D R E S S > : 6 4 4 3   #   t h e   \" K u b e r n e t e s   A P I \"   s e r v e r ,   i n   o t h e r   w o r d s   t h e   I P   a d d r e s s   o f   k u b e r n e t e s - r e m o t e - s e r v e r . e x a m p l e   p r o x y - u r l :   s o c k s 5 : / / l o c a l h o s t : 1 0 8 0   #   t h e   \" S S H   S O C K S 5   p r o x y \"   i n   t h e   d i a g r a m   a b o v e   n a m e :   d e f a u l t   c o n t e x t s :   -   c o n t e x t :   c l u s t e r :   d e f a u l t   u s e r :   d e f a u l t   n a m e :   d e f a u l t   c u r r e n t - c o n t e x t :   d e f a u l t   k i n d :   C o n f i g   p r e f e r e n c e s :   { }   u s e r s :   -   n a m e :   d e f a u l t   u s e r :   c l i e n t - c e r t i f i c ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/socks5-proxy-access-api/",
    "id": "k8s_00279_section_2_5195"
  },
  {
    "question": "What is Note:?",
    "answer": "B e f o r e   k u b e c t l   1 . 2 4 ,   m o s t   k u b e c t l   c o m m a n d s   w o r k e d   w h e n   u s i n g   a   s o c k s   p r o x y ,   e x c e p t   k u b e c t l   e x e c . k u b e c t l   s u p p o r t s   b o t h   H T T P S _ P R O X Y   a n d   h t t p s _ p r o x y   e n v i r o n m e n t   v a r i a b l e s .   T h e s e   a r e   u s e d   b y   o t h e r   p r o g r a m s   t h a t   s u p p o r t   S O C K S ,   s u c h   a s   c u r l .   T h e r e f o r e   i n   s o m e   c a s e s   i t   w i l l   b e   b e t t e r   t o   d e f i n e   t h e   e n v i r o n m e n t   v a r i a b l e   o n   t h e   c o m m a n d   l i n e : H T T P S _ P R O X Y = s o c k s 5 : / / l o c a l h o s t : 1 0 8 0   k u b e c t l   g e t   p o d s   W h e n   u s i n g   p r o x y - u r l ,   t h e   p r o x y   i s   u s e d   o n l y   f o r   t h e   r e l e v a n t   k u b e c t l   c o n t e x t ,   w h e r e a s   t h e   e n v i r o n m e n t   v a r i a b l e   w i l l   a f f e c t   a l l   c o n t e x t s . T h e   k 8 s   A P I   s e r v e r   h o s t n a m e   c a n   b e   f u r t h e r   p r o t e c t e d   f r o m   D N S   l e a k a g e   b y   u s i n g   t h e   s o c k s 5 h   p r o t o c o l   n a m e   i n s t e a d   o f   t h e   m o r e   c o m m o n l y   k n o w n   s o c k s 5   p r o t o c o l   s h o w n   a b o v e .   I n   t h i s   c a s e ,   k u b e c t l   w i l l   a s k   t h e   p r o x y   s e r v e r   ( s u c h   a s   a n   s s h   b a s t i o n )   t o   r e s o l v e   t h e   k 8 s   A P I   s e r v e r   d o m a i n   n a m e ,   i n s t e a d   o f   r e s o l v i n g   i t   o n   t h e   s y s t e m   r u n n i n g   k u b e c t l .   N o t e   a l s o   t h a t   w i t h   s o c k s 5 h ,   a   k 8 s   A P I   s e r v e r   U R L   l i k e   h t t p s : / / l o c a l h o s t : 6 4 4 3 / a p i   d o e s   n o t   r e f e r   t o   y o u r   l o c a l   c l i e n t   c o m p u t e r .   I n s t e a d ,   ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/socks5-proxy-access-api/",
    "id": "k8s_00279_section_4_5196"
  },
  {
    "question": "What is Clean up?",
    "answer": "S t o p   t h e   s s h   p o r t - f o r w a r d i n g   p r o c e s s   b y   p r e s s i n g   C T R L + C   o n   t h e   t e r m i n a l   w h e r e   i t   i s   r u n n i n g .   T y p e   u n s e t   h t t p s _ p r o x y   i n   a   t e r m i n a l   t o   s t o p   f o r w a r d i n g   h t t p   t r a f f i c   t h r o u g h   t h e   p r o x y .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/socks5-proxy-access-api/",
    "id": "k8s_00279_section_2_5197"
  },
  {
    "question": "What is Further reading?",
    "answer": "O p e n S S H   r e m o t e   l o g i n   c l i e n t",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/socks5-proxy-access-api/",
    "id": "k8s_00279_section_2_5198"
  },
  {
    "question": "What is Authorization Resources?",
    "answer": "Authorization ResourcesLocalSubjectAccessReviewLocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace.SelfSubjectAccessReviewSelfSubjectAccessReview checks whether or the current user can perform an action.SelfSubjectRulesReviewSelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace.SubjectAccessReviewSubjectAccessReview checks whether or not a user or group can perform an action.ClusterRoleClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.ClusterRoleBindingClusterRoleBinding references a ClusterRole, but not contain it.RoleRole is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.RoleBindingRoleBinding references a role, but does not contain it.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/",
    "id": "k8s_00280_qa_5199"
  },
  {
    "question": "How does Authorization Resources work?",
    "answer": "Authorization ResourcesLocalSubjectAccessReviewLocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace.SelfSubjectAccessReviewSelfSubjectAccessReview checks whether or the current user can perform an action.SelfSubjectRulesReviewSelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace.SubjectAccessReviewSubjectAccessReview checks whether or not a user or group can perform an action.ClusterRoleClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.ClusterRoleBindingClusterRoleBinding references a ClusterRole, but not contain it.RoleRole is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.RoleBindingRoleBinding references a role, but does not contain it.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/",
    "id": "k8s_00280_qa_5200"
  },
  {
    "question": "When would you use Authorization Resources?",
    "answer": "Authorization ResourcesLocalSubjectAccessReviewLocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace.SelfSubjectAccessReviewSelfSubjectAccessReview checks whether or the current user can perform an action.SelfSubjectRulesReviewSelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace.SubjectAccessReviewSubjectAccessReview checks whether or not a user or group can perform an action.ClusterRoleClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.ClusterRoleBindingClusterRoleBinding references a ClusterRole, but not contain it.RoleRole is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.RoleBindingRoleBinding references a role, but does not contain it.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/",
    "id": "k8s_00280_qa_5201"
  },
  {
    "question": "What are the benefits of Authorization Resources?",
    "answer": "Authorization ResourcesLocalSubjectAccessReviewLocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace.SelfSubjectAccessReviewSelfSubjectAccessReview checks whether or the current user can perform an action.SelfSubjectRulesReviewSelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace.SubjectAccessReviewSubjectAccessReview checks whether or not a user or group can perform an action.ClusterRoleClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.ClusterRoleBindingClusterRoleBinding references a ClusterRole, but not contain it.RoleRole is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.RoleBindingRoleBinding references a role, but does not contain it.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/",
    "id": "k8s_00280_qa_5202"
  },
  {
    "question": "What is LocalSubjectAccessReview?",
    "answer": "L o c a l S u b j e c t A c c e s s R e v i e w   c h e c k s   w h e t h e r   o r   n o t   a   u s e r   o r   g r o u p   c a n   p e r f o r m   a n   a c t i o n   i n   a   g i v e n   n a m e s p a c e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/",
    "id": "k8s_00280_section_5_5203"
  },
  {
    "question": "What is SelfSubjectAccessReview?",
    "answer": "S e l f S u b j e c t A c c e s s R e v i e w   c h e c k s   w h e t h e r   o r   t h e   c u r r e n t   u s e r   c a n   p e r f o r m   a n   a c t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/",
    "id": "k8s_00280_section_5_5204"
  },
  {
    "question": "What is SelfSubjectRulesReview?",
    "answer": "S e l f S u b j e c t R u l e s R e v i e w   e n u m e r a t e s   t h e   s e t   o f   a c t i o n s   t h e   c u r r e n t   u s e r   c a n   p e r f o r m   w i t h i n   a   n a m e s p a c e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/",
    "id": "k8s_00280_section_5_5205"
  },
  {
    "question": "What is SubjectAccessReview?",
    "answer": "S u b j e c t A c c e s s R e v i e w   c h e c k s   w h e t h e r   o r   n o t   a   u s e r   o r   g r o u p   c a n   p e r f o r m   a n   a c t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/",
    "id": "k8s_00280_section_5_5206"
  },
  {
    "question": "What is ClusterRole?",
    "answer": "C l u s t e r R o l e   i s   a   c l u s t e r   l e v e l ,   l o g i c a l   g r o u p i n g   o f   P o l i c y R u l e s   t h a t   c a n   b e   r e f e r e n c e d   a s   a   u n i t   b y   a   R o l e B i n d i n g   o r   C l u s t e r R o l e B i n d i n g .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/",
    "id": "k8s_00280_section_5_5207"
  },
  {
    "question": "What is ClusterRoleBinding?",
    "answer": "C l u s t e r R o l e B i n d i n g   r e f e r e n c e s   a   C l u s t e r R o l e ,   b u t   n o t   c o n t a i n   i t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/",
    "id": "k8s_00280_section_5_5208"
  },
  {
    "question": "What is Role?",
    "answer": "R o l e   i s   a   n a m e s p a c e d ,   l o g i c a l   g r o u p i n g   o f   P o l i c y R u l e s   t h a t   c a n   b e   r e f e r e n c e d   a s   a   u n i t   b y   a   R o l e B i n d i n g .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/",
    "id": "k8s_00280_section_5_5209"
  },
  {
    "question": "What is RoleBinding?",
    "answer": "R o l e B i n d i n g   r e f e r e n c e s   a   r o l e ,   b u t   d o e s   n o t   c o n t a i n   i t .   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/",
    "id": "k8s_00280_section_5_5210"
  },
  {
    "question": "What is ResourceQuota?",
    "answer": "ResourceQuotaResourceQuota sets aggregate quota restrictions enforced per namespace.apiVersion: v1import \"k8s.io/api/core/v1\"ResourceQuotaResourceQuota sets aggregate quota restrictions enforced per namespaceapiVersion: v1kind: ResourceQuotametadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (ResourceQuotaSpec)Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (ResourceQuotaStatus)Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusResourceQuotaSpecResourceQuotaSpec defines the desired hard limits to enforce for Quota.hard (map[string]Quantity)hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/scopeSelector (ScopeSelector)scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched.A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.scopeSelector.matchExpressions ([]ScopedResourceSelectorRequirement)Atomic: will be replaced during a mergeA list of scope selector requirements by scope of the resources.A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.scopeSelector.matchExpressions.operator (string), requiredRepresents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.scopeSelector.matchExpressions.scopeName (string), requiredThe name of the scope that the selector applies to.scopeSelector.matchExpressions.values ([]string)Atomic: will be replaced during a mergeAn array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.scopes ([]string)Atomic: will be replaced during a mergeA collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.ResourceQuotaStatusResourceQuotaStatus defines the enforced hard limits and observed use.hard (map[string]Quantity)Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/used (map[string]Quantity)Used is the current observed total usage of the resource in the namespace.ResourceQuotaListResourceQuotaList is a list of ResourceQuota items.apiVersion: v1kind: ResourceQuotaListmetadata (ListMeta)Standard list metadata. More info: https://gi",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_qa_5211"
  },
  {
    "question": "How does ResourceQuota work?",
    "answer": "ResourceQuotaResourceQuota sets aggregate quota restrictions enforced per namespace.apiVersion: v1import \"k8s.io/api/core/v1\"ResourceQuotaResourceQuota sets aggregate quota restrictions enforced per namespaceapiVersion: v1kind: ResourceQuotametadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (ResourceQuotaSpec)Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (ResourceQuotaStatus)Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusResourceQuotaSpecResourceQuotaSpec defines the desired hard limits to enforce for Quota.hard (map[string]Quantity)hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/scopeSelector (ScopeSelector)scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched.A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.scopeSelector.matchExpressions ([]ScopedResourceSelectorRequirement)Atomic: will be replaced during a mergeA list of scope selector requirements by scope of the resources.A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.scopeSelector.matchExpressions.operator (string), requiredRepresents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.scopeSelector.matchExpressions.scopeName (string), requiredThe name of the scope that the selector applies to.scopeSelector.matchExpressions.values ([]string)Atomic: will be replaced during a mergeAn array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.scopes ([]string)Atomic: will be replaced during a mergeA collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.ResourceQuotaStatusResourceQuotaStatus defines the enforced hard limits and observed use.hard (map[string]Quantity)Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/used (map[string]Quantity)Used is the current observed total usage of the resource in the namespace.ResourceQuotaListResourceQuotaList is a list of ResourceQuota items.apiVersion: v1kind: ResourceQuotaListmetadata (ListMeta)Standard list metadata. More info: https://gi",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_qa_5212"
  },
  {
    "question": "When would you use ResourceQuota?",
    "answer": "ResourceQuotaResourceQuota sets aggregate quota restrictions enforced per namespace.apiVersion: v1import \"k8s.io/api/core/v1\"ResourceQuotaResourceQuota sets aggregate quota restrictions enforced per namespaceapiVersion: v1kind: ResourceQuotametadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (ResourceQuotaSpec)Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (ResourceQuotaStatus)Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusResourceQuotaSpecResourceQuotaSpec defines the desired hard limits to enforce for Quota.hard (map[string]Quantity)hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/scopeSelector (ScopeSelector)scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched.A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.scopeSelector.matchExpressions ([]ScopedResourceSelectorRequirement)Atomic: will be replaced during a mergeA list of scope selector requirements by scope of the resources.A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.scopeSelector.matchExpressions.operator (string), requiredRepresents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.scopeSelector.matchExpressions.scopeName (string), requiredThe name of the scope that the selector applies to.scopeSelector.matchExpressions.values ([]string)Atomic: will be replaced during a mergeAn array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.scopes ([]string)Atomic: will be replaced during a mergeA collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.ResourceQuotaStatusResourceQuotaStatus defines the enforced hard limits and observed use.hard (map[string]Quantity)Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/used (map[string]Quantity)Used is the current observed total usage of the resource in the namespace.ResourceQuotaListResourceQuotaList is a list of ResourceQuota items.apiVersion: v1kind: ResourceQuotaListmetadata (ListMeta)Standard list metadata. More info: https://gi",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_qa_5213"
  },
  {
    "question": "What are the benefits of ResourceQuota?",
    "answer": "ResourceQuotaResourceQuota sets aggregate quota restrictions enforced per namespace.apiVersion: v1import \"k8s.io/api/core/v1\"ResourceQuotaResourceQuota sets aggregate quota restrictions enforced per namespaceapiVersion: v1kind: ResourceQuotametadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (ResourceQuotaSpec)Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (ResourceQuotaStatus)Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusResourceQuotaSpecResourceQuotaSpec defines the desired hard limits to enforce for Quota.hard (map[string]Quantity)hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/scopeSelector (ScopeSelector)scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched.A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.scopeSelector.matchExpressions ([]ScopedResourceSelectorRequirement)Atomic: will be replaced during a mergeA list of scope selector requirements by scope of the resources.A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.scopeSelector.matchExpressions.operator (string), requiredRepresents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.scopeSelector.matchExpressions.scopeName (string), requiredThe name of the scope that the selector applies to.scopeSelector.matchExpressions.values ([]string)Atomic: will be replaced during a mergeAn array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.scopes ([]string)Atomic: will be replaced during a mergeA collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.ResourceQuotaStatusResourceQuotaStatus defines the enforced hard limits and observed use.hard (map[string]Quantity)Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/used (map[string]Quantity)Used is the current observed total usage of the resource in the namespace.ResourceQuotaListResourceQuotaList is a list of ResourceQuota items.apiVersion: v1kind: ResourceQuotaListmetadata (ListMeta)Standard list metadata. More info: https://gi",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_qa_5214"
  },
  {
    "question": "What is ResourceQuota?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_1_5215"
  },
  {
    "question": "What is ResourceQuota?",
    "answer": "R e s o u r c e Q u o t a   s e t s   a g g r e g a t e   q u o t a   r e s t r i c t i o n s   e n f o r c e d   p e r   n a m e s p a c e   a p i V e r s i o n :   v 1 k i n d :   R e s o u r c e Q u o t a m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( R e s o u r c e Q u o t a S p e c ) S p e c   d e f i n e s   t h e   d e s i r e d   q u o t a .   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( R e s o u r c e Q u o t a S t a t u s ) S t a t u s   d e f i n e s   t h e   a c t u a l   e n f o r c e d   q u o t a   a n d   i t s   c u r r e n t   u s a g e .   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( R e s o u r c e Q u o t a S p e c )   S p e c   d e f i n e s   t h e   d e s i r e d   q u o t a .   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   s t a t u s   ( R e s o u r c e Q u o t a S t a t u s )   S t a t u s   d e f i n e s   t h e   a c t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_2_5216"
  },
  {
    "question": "What is ResourceQuotaSpec?",
    "answer": "R e s o u r c e Q u o t a S p e c   d e f i n e s   t h e   d e s i r e d   h a r d   l i m i t s   t o   e n f o r c e   f o r   Q u o t a .   h a r d   ( m a p [ s t r i n g ] Q u a n t i t y ) h a r d   i s   t h e   s e t   o f   d e s i r e d   h a r d   l i m i t s   f o r   e a c h   n a m e d   r e s o u r c e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / p o l i c y / r e s o u r c e - q u o t a s / s c o p e S e l e c t o r   ( S c o p e S e l e c t o r ) s c o p e S e l e c t o r   i s   a l s o   a   c o l l e c t i o n   o f   f i l t e r s   l i k e   s c o p e s   t h a t   m u s t   m a t c h   e a c h   o b j e c t   t r a c k e d   b y   a   q u o t a   b u t   e x p r e s s e d   u s i n g   S c o p e S e l e c t o r O p e r a t o r   i n   c o m b i n a t i o n   w i t h   p o s s i b l e   v a l u e s .   F o r   a   r e s o u r c e   t o   m a t c h ,   b o t h   s c o p e s   A N D   s c o p e S e l e c t o r   ( i f   s p e c i f i e d   i n   s p e c ) ,   m u s t   b e   m a t c h e d . A   s c o p e   s e l e c t o r   r e p r e s e n t s   t h e   A N D   o f   t h e   s e l e c t o r s   r e p r e s e n t e d   b y   t h e   s c o p e d - r e s o u r c e   s e l e c t o r   r e q u i r e m e n t s . s c o p e S e l e c t o r . m a t c h E x p r e s s i o n s   ( [ ] S c o p e d R e s o u r c e S e l e c t o r R e q u i r e m e n t ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A   l i s t   o f   s c o p e   s e l e c t o r   r e q u i r e m e n t s   b y   s c o p e   o f   t h e   r e s o u r c e s . A   s c o p e d - r e s o u r c e   s e l e c t o r   r e q u i r e m e n t   i s   a   s e l e c t o r   t h a t   c o n t a i n s   v a l u e s ,   a   s c o p e   n a m e ,   a n d   a n   o p e r a t o r   t h a t   r e l a t e s   t h e   s c o p e   n a m e   a n d   v a l u e s . s c o p e S e l e c t o r . m a t c h E x p r e s s i o n s . o p e r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_2_5217"
  },
  {
    "question": "What is ResourceQuotaStatus?",
    "answer": "R e s o u r c e Q u o t a S t a t u s   d e f i n e s   t h e   e n f o r c e d   h a r d   l i m i t s   a n d   o b s e r v e d   u s e .   h a r d   ( m a p [ s t r i n g ] Q u a n t i t y ) H a r d   i s   t h e   s e t   o f   e n f o r c e d   h a r d   l i m i t s   f o r   e a c h   n a m e d   r e s o u r c e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / p o l i c y / r e s o u r c e - q u o t a s / u s e d   ( m a p [ s t r i n g ] Q u a n t i t y ) U s e d   i s   t h e   c u r r e n t   o b s e r v e d   t o t a l   u s a g e   o f   t h e   r e s o u r c e   i n   t h e   n a m e s p a c e .   h a r d   ( m a p [ s t r i n g ] Q u a n t i t y )   H a r d   i s   t h e   s e t   o f   e n f o r c e d   h a r d   l i m i t s   f o r   e a c h   n a m e d   r e s o u r c e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / p o l i c y / r e s o u r c e - q u o t a s /   u s e d   ( m a p [ s t r i n g ] Q u a n t i t y )   U s e d   i s   t h e   c u r r e n t   o b s e r v e d   t o t a l   u s a g e   o f   t h e   r e s o u r c e   i n   t h e   n a m e s p a c e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_2_5218"
  },
  {
    "question": "What is ResourceQuotaList?",
    "answer": "R e s o u r c e Q u o t a L i s t   i s   a   l i s t   o f   R e s o u r c e Q u o t a   i t e m s .   a p i V e r s i o n :   v 1 k i n d :   R e s o u r c e Q u o t a L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] R e s o u r c e Q u o t a ) ,   r e q u i r e d I t e m s   i s   a   l i s t   o f   R e s o u r c e Q u o t a   o b j e c t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / p o l i c y / r e s o u r c e - q u o t a s /   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] R e s o u r c e Q u o t a ) ,   r e q u i r e d   I t e m s   i s   a   l i s t   o f   R e s o u r c e Q u o t a   o b j e c t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / p o l i c y / r e s o u r c e - q u o t a s /",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_2_5219"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5220"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e Q u o t a n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e Q u o t a   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5221"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5222"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5223"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e Q u o t a n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e Q u o t a   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5224"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5225"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5226"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5227"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5228"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / r e s o u r c e q u o t a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5229"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5230"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5231"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5232"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e s o u r c e Q u o t a ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e s o u r c e Q u o t a ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5233"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a ) :   O K   2 0 1   ( R e s o u r c e Q u o t a ) :   C r e a t e d   2 0 2   ( R e s o u r c e Q u o t a ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5234"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5235"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e Q u o t a n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e s o u r c e Q u o t a ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e Q u o t a   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e s o u r c e Q u o t a ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5236"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a ) :   O K   2 0 1   ( R e s o u r c e Q u o t a ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5237"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5238"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e Q u o t a n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e s o u r c e Q u o t a ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e Q u o t a   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e s o u r c e Q u o t a ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5239"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a ) :   O K   2 0 1   ( R e s o u r c e Q u o t a ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5240"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5241"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e Q u o t a n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e Q u o t a   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5242"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a ) :   O K   2 0 1   ( R e s o u r c e Q u o t a ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5243"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5244"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e Q u o t a n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e Q u o t a   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5245"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a ) :   O K   2 0 1   ( R e s o u r c e Q u o t a ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5246"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5247"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e Q u o t a n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e Q u o t a   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5248"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a ) :   O K   2 0 2   ( R e s o u r c e Q u o t a ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5249"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5250"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5251"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/",
    "id": "k8s_00281_section_4_5252"
  },
  {
    "question": "What is Debug Pods?",
    "answer": "Debug PodsThis guide is to help users debug applications that are deployed into Kubernetes and not behaving correctly. This is not a guide for people who want to debug their cluster. For that you should check out this guide.Diagnosing the problemThe first step in troubleshooting is triage. What is the problem? Is it your Pods, your Replication Controller or your Service?Debugging PodsDebugging Replication ControllersDebugging ServicesDebugging PodsThe first step in debugging a Pod is taking a look at it. Check the current state of the Pod and recent events with the following command:kubectl describe pods ${POD_NAME} Look at the state of the containers in the pod. Are they all Running? Have there been recent restarts?Continue debugging depending on the state of the pods.My pod stays pendingIf a Pod is stuck in Pending it means that it can not be scheduled onto a node. Generally this is because there are insufficient resources of one type or another that prevent scheduling. Look at the output of the kubectl describe ... command above. There should be messages from the scheduler about why it can not schedule your pod. Reasons include:You don't have enough resources: You may have exhausted the supply of CPU or Memory in your cluster, in this case you need to delete Pods, adjust resource requests, or add new nodes to your cluster. See Compute Resources document for more information.You are using hostPort: When you bind a Pod to a hostPort there are a limited number of places that pod can be scheduled. In most cases, hostPort is unnecessary, try using a Service object to expose your Pod. If you do require hostPort then you can only schedule as many Pods as there are nodes in your Kubernetes cluster.My pod stays waitingIf a Pod is stuck in the Waiting state, then it has been scheduled to a worker node, but it can't run on that machine. Again, the information from kubectl describe ... should be informative. The most common cause of Waiting pods is a failure to pull the image. There are three things to check:Make sure that you have the name of the image correct.Have you pushed the image to the registry?Try to manually pull the image to see if the image can be pulled. For example, if you use Docker on your PC, run docker pull <image>.My pod stays terminatingIf a Pod is stuck in the Terminating state, it means that a deletion has been issued for the Pod, but the control plane is unable to delete the Pod object.This typically happens if the Pod has a finalizer and there is an admission webhook installed in the cluster that prevents the control plane from removing the finalizer.To identify this scenario, check if your cluster has any ValidatingWebhookConfiguration or MutatingWebhookConfiguration that target UPDATE operations for pods resources.If the webhook is provided by a third-party:Make sure you are using the latest version.Disable the webhook for UPDATE operations.Report an issue with the corresponding provider.If you are the author of the webhook:For a",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-pods/",
    "id": "k8s_00282_qa_5253"
  },
  {
    "question": "How does Debug Pods work?",
    "answer": "Debug PodsThis guide is to help users debug applications that are deployed into Kubernetes and not behaving correctly. This is not a guide for people who want to debug their cluster. For that you should check out this guide.Diagnosing the problemThe first step in troubleshooting is triage. What is the problem? Is it your Pods, your Replication Controller or your Service?Debugging PodsDebugging Replication ControllersDebugging ServicesDebugging PodsThe first step in debugging a Pod is taking a look at it. Check the current state of the Pod and recent events with the following command:kubectl describe pods ${POD_NAME} Look at the state of the containers in the pod. Are they all Running? Have there been recent restarts?Continue debugging depending on the state of the pods.My pod stays pendingIf a Pod is stuck in Pending it means that it can not be scheduled onto a node. Generally this is because there are insufficient resources of one type or another that prevent scheduling. Look at the output of the kubectl describe ... command above. There should be messages from the scheduler about why it can not schedule your pod. Reasons include:You don't have enough resources: You may have exhausted the supply of CPU or Memory in your cluster, in this case you need to delete Pods, adjust resource requests, or add new nodes to your cluster. See Compute Resources document for more information.You are using hostPort: When you bind a Pod to a hostPort there are a limited number of places that pod can be scheduled. In most cases, hostPort is unnecessary, try using a Service object to expose your Pod. If you do require hostPort then you can only schedule as many Pods as there are nodes in your Kubernetes cluster.My pod stays waitingIf a Pod is stuck in the Waiting state, then it has been scheduled to a worker node, but it can't run on that machine. Again, the information from kubectl describe ... should be informative. The most common cause of Waiting pods is a failure to pull the image. There are three things to check:Make sure that you have the name of the image correct.Have you pushed the image to the registry?Try to manually pull the image to see if the image can be pulled. For example, if you use Docker on your PC, run docker pull <image>.My pod stays terminatingIf a Pod is stuck in the Terminating state, it means that a deletion has been issued for the Pod, but the control plane is unable to delete the Pod object.This typically happens if the Pod has a finalizer and there is an admission webhook installed in the cluster that prevents the control plane from removing the finalizer.To identify this scenario, check if your cluster has any ValidatingWebhookConfiguration or MutatingWebhookConfiguration that target UPDATE operations for pods resources.If the webhook is provided by a third-party:Make sure you are using the latest version.Disable the webhook for UPDATE operations.Report an issue with the corresponding provider.If you are the author of the webhook:For a",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-pods/",
    "id": "k8s_00282_qa_5254"
  },
  {
    "question": "When would you use Debug Pods?",
    "answer": "Debug PodsThis guide is to help users debug applications that are deployed into Kubernetes and not behaving correctly. This is not a guide for people who want to debug their cluster. For that you should check out this guide.Diagnosing the problemThe first step in troubleshooting is triage. What is the problem? Is it your Pods, your Replication Controller or your Service?Debugging PodsDebugging Replication ControllersDebugging ServicesDebugging PodsThe first step in debugging a Pod is taking a look at it. Check the current state of the Pod and recent events with the following command:kubectl describe pods ${POD_NAME} Look at the state of the containers in the pod. Are they all Running? Have there been recent restarts?Continue debugging depending on the state of the pods.My pod stays pendingIf a Pod is stuck in Pending it means that it can not be scheduled onto a node. Generally this is because there are insufficient resources of one type or another that prevent scheduling. Look at the output of the kubectl describe ... command above. There should be messages from the scheduler about why it can not schedule your pod. Reasons include:You don't have enough resources: You may have exhausted the supply of CPU or Memory in your cluster, in this case you need to delete Pods, adjust resource requests, or add new nodes to your cluster. See Compute Resources document for more information.You are using hostPort: When you bind a Pod to a hostPort there are a limited number of places that pod can be scheduled. In most cases, hostPort is unnecessary, try using a Service object to expose your Pod. If you do require hostPort then you can only schedule as many Pods as there are nodes in your Kubernetes cluster.My pod stays waitingIf a Pod is stuck in the Waiting state, then it has been scheduled to a worker node, but it can't run on that machine. Again, the information from kubectl describe ... should be informative. The most common cause of Waiting pods is a failure to pull the image. There are three things to check:Make sure that you have the name of the image correct.Have you pushed the image to the registry?Try to manually pull the image to see if the image can be pulled. For example, if you use Docker on your PC, run docker pull <image>.My pod stays terminatingIf a Pod is stuck in the Terminating state, it means that a deletion has been issued for the Pod, but the control plane is unable to delete the Pod object.This typically happens if the Pod has a finalizer and there is an admission webhook installed in the cluster that prevents the control plane from removing the finalizer.To identify this scenario, check if your cluster has any ValidatingWebhookConfiguration or MutatingWebhookConfiguration that target UPDATE operations for pods resources.If the webhook is provided by a third-party:Make sure you are using the latest version.Disable the webhook for UPDATE operations.Report an issue with the corresponding provider.If you are the author of the webhook:For a",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-pods/",
    "id": "k8s_00282_qa_5255"
  },
  {
    "question": "What are the benefits of Debug Pods?",
    "answer": "Debug PodsThis guide is to help users debug applications that are deployed into Kubernetes and not behaving correctly. This is not a guide for people who want to debug their cluster. For that you should check out this guide.Diagnosing the problemThe first step in troubleshooting is triage. What is the problem? Is it your Pods, your Replication Controller or your Service?Debugging PodsDebugging Replication ControllersDebugging ServicesDebugging PodsThe first step in debugging a Pod is taking a look at it. Check the current state of the Pod and recent events with the following command:kubectl describe pods ${POD_NAME} Look at the state of the containers in the pod. Are they all Running? Have there been recent restarts?Continue debugging depending on the state of the pods.My pod stays pendingIf a Pod is stuck in Pending it means that it can not be scheduled onto a node. Generally this is because there are insufficient resources of one type or another that prevent scheduling. Look at the output of the kubectl describe ... command above. There should be messages from the scheduler about why it can not schedule your pod. Reasons include:You don't have enough resources: You may have exhausted the supply of CPU or Memory in your cluster, in this case you need to delete Pods, adjust resource requests, or add new nodes to your cluster. See Compute Resources document for more information.You are using hostPort: When you bind a Pod to a hostPort there are a limited number of places that pod can be scheduled. In most cases, hostPort is unnecessary, try using a Service object to expose your Pod. If you do require hostPort then you can only schedule as many Pods as there are nodes in your Kubernetes cluster.My pod stays waitingIf a Pod is stuck in the Waiting state, then it has been scheduled to a worker node, but it can't run on that machine. Again, the information from kubectl describe ... should be informative. The most common cause of Waiting pods is a failure to pull the image. There are three things to check:Make sure that you have the name of the image correct.Have you pushed the image to the registry?Try to manually pull the image to see if the image can be pulled. For example, if you use Docker on your PC, run docker pull <image>.My pod stays terminatingIf a Pod is stuck in the Terminating state, it means that a deletion has been issued for the Pod, but the control plane is unable to delete the Pod object.This typically happens if the Pod has a finalizer and there is an admission webhook installed in the cluster that prevents the control plane from removing the finalizer.To identify this scenario, check if your cluster has any ValidatingWebhookConfiguration or MutatingWebhookConfiguration that target UPDATE operations for pods resources.If the webhook is provided by a third-party:Make sure you are using the latest version.Disable the webhook for UPDATE operations.Report an issue with the corresponding provider.If you are the author of the webhook:For a",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-pods/",
    "id": "k8s_00282_qa_5256"
  },
  {
    "question": "What is Debug Pods?",
    "answer": "T h i s   g u i d e   i s   t o   h e l p   u s e r s   d e b u g   a p p l i c a t i o n s   t h a t   a r e   d e p l o y e d   i n t o   K u b e r n e t e s   a n d   n o t   b e h a v i n g   c o r r e c t l y .   T h i s   i s   n o t   a   g u i d e   f o r   p e o p l e   w h o   w a n t   t o   d e b u g   t h e i r   c l u s t e r .   F o r   t h a t   y o u   s h o u l d   c h e c k   o u t   t h i s   g u i d e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-pods/",
    "id": "k8s_00282_section_1_5257"
  },
  {
    "question": "What is Diagnosing the problem?",
    "answer": "T h e   f i r s t   s t e p   i n   t r o u b l e s h o o t i n g   i s   t r i a g e .   W h a t   i s   t h e   p r o b l e m ?   I s   i t   y o u r   P o d s ,   y o u r   R e p l i c a t i o n   C o n t r o l l e r   o r   y o u r   S e r v i c e ?   D e b u g g i n g   P o d s D e b u g g i n g   R e p l i c a t i o n   C o n t r o l l e r s D e b u g g i n g   S e r v i c e s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-pods/",
    "id": "k8s_00282_section_2_5258"
  },
  {
    "question": "What is Debugging Pods?",
    "answer": "T h e   f i r s t   s t e p   i n   d e b u g g i n g   a   P o d   i s   t a k i n g   a   l o o k   a t   i t .   C h e c k   t h e   c u r r e n t   s t a t e   o f   t h e   P o d   a n d   r e c e n t   e v e n t s   w i t h   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   d e s c r i b e   p o d s   $ { P O D _ N A M E }   L o o k   a t   t h e   s t a t e   o f   t h e   c o n t a i n e r s   i n   t h e   p o d .   A r e   t h e y   a l l   R u n n i n g ?   H a v e   t h e r e   b e e n   r e c e n t   r e s t a r t s ?   C o n t i n u e   d e b u g g i n g   d e p e n d i n g   o n   t h e   s t a t e   o f   t h e   p o d s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-pods/",
    "id": "k8s_00282_section_3_5259"
  },
  {
    "question": "What is My pod stays pending?",
    "answer": "I f   a   P o d   i s   s t u c k   i n   P e n d i n g   i t   m e a n s   t h a t   i t   c a n   n o t   b e   s c h e d u l e d   o n t o   a   n o d e .   G e n e r a l l y   t h i s   i s   b e c a u s e   t h e r e   a r e   i n s u f f i c i e n t   r e s o u r c e s   o f   o n e   t y p e   o r   a n o t h e r   t h a t   p r e v e n t   s c h e d u l i n g .   L o o k   a t   t h e   o u t p u t   o f   t h e   k u b e c t l   d e s c r i b e   . . .   c o m m a n d   a b o v e .   T h e r e   s h o u l d   b e   m e s s a g e s   f r o m   t h e   s c h e d u l e r   a b o u t   w h y   i t   c a n   n o t   s c h e d u l e   y o u r   p o d .   R e a s o n s   i n c l u d e :   Y o u   d o n ' t   h a v e   e n o u g h   r e s o u r c e s :   Y o u   m a y   h a v e   e x h a u s t e d   t h e   s u p p l y   o f   C P U   o r   M e m o r y   i n   y o u r   c l u s t e r ,   i n   t h i s   c a s e   y o u   n e e d   t o   d e l e t e   P o d s ,   a d j u s t   r e s o u r c e   r e q u e s t s ,   o r   a d d   n e w   n o d e s   t o   y o u r   c l u s t e r .   S e e   C o m p u t e   R e s o u r c e s   d o c u m e n t   f o r   m o r e   i n f o r m a t i o n . Y o u   a r e   u s i n g   h o s t P o r t :   W h e n   y o u   b i n d   a   P o d   t o   a   h o s t P o r t   t h e r e   a r e   a   l i m i t e d   n u m b e r   o f   p l a c e s   t h a t   p o d   c a n   b e   s c h e d u l e d .   I n   m o s t   c a s e s ,   h o s t P o r t   i s   u n n e c e s s a r y ,   t r y   u s i n g   a   S e r v i c e   o b j e c t   t o   e x p o s e   y o u r   P o d .   I f   y o u   d o   r e q u i r e   h o s t P o r t   t h e n   y o u   c a n   o n l y   s c h e d u l e   a s   m a n y   P o d s   a s   t h e r e   a r e   n o d e s   i n   y o u r   K u b e r n e t e s   c l u s t e r .   Y o u   d o n ' t   h a v e   e n o u g h   r e s o u r c e s :   Y o u   m a y   h a v e   e x h a u s t e d   t h e   s u p p l y   o f   C P U   o r ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-pods/",
    "id": "k8s_00282_section_4_5260"
  },
  {
    "question": "What is My pod stays waiting?",
    "answer": "I f   a   P o d   i s   s t u c k   i n   t h e   W a i t i n g   s t a t e ,   t h e n   i t   h a s   b e e n   s c h e d u l e d   t o   a   w o r k e r   n o d e ,   b u t   i t   c a n ' t   r u n   o n   t h a t   m a c h i n e .   A g a i n ,   t h e   i n f o r m a t i o n   f r o m   k u b e c t l   d e s c r i b e   . . .   s h o u l d   b e   i n f o r m a t i v e .   T h e   m o s t   c o m m o n   c a u s e   o f   W a i t i n g   p o d s   i s   a   f a i l u r e   t o   p u l l   t h e   i m a g e .   T h e r e   a r e   t h r e e   t h i n g s   t o   c h e c k :   M a k e   s u r e   t h a t   y o u   h a v e   t h e   n a m e   o f   t h e   i m a g e   c o r r e c t . H a v e   y o u   p u s h e d   t h e   i m a g e   t o   t h e   r e g i s t r y ? T r y   t o   m a n u a l l y   p u l l   t h e   i m a g e   t o   s e e   i f   t h e   i m a g e   c a n   b e   p u l l e d .   F o r   e x a m p l e ,   i f   y o u   u s e   D o c k e r   o n   y o u r   P C ,   r u n   d o c k e r   p u l l   < i m a g e > .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-pods/",
    "id": "k8s_00282_section_4_5261"
  },
  {
    "question": "What is My pod stays terminating?",
    "answer": "I f   a   P o d   i s   s t u c k   i n   t h e   T e r m i n a t i n g   s t a t e ,   i t   m e a n s   t h a t   a   d e l e t i o n   h a s   b e e n   i s s u e d   f o r   t h e   P o d ,   b u t   t h e   c o n t r o l   p l a n e   i s   u n a b l e   t o   d e l e t e   t h e   P o d   o b j e c t .   T h i s   t y p i c a l l y   h a p p e n s   i f   t h e   P o d   h a s   a   f i n a l i z e r   a n d   t h e r e   i s   a n   a d m i s s i o n   w e b h o o k   i n s t a l l e d   i n   t h e   c l u s t e r   t h a t   p r e v e n t s   t h e   c o n t r o l   p l a n e   f r o m   r e m o v i n g   t h e   f i n a l i z e r .   T o   i d e n t i f y   t h i s   s c e n a r i o ,   c h e c k   i f   y o u r   c l u s t e r   h a s   a n y   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   o r   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   t h a t   t a r g e t   U P D A T E   o p e r a t i o n s   f o r   p o d s   r e s o u r c e s .   I f   t h e   w e b h o o k   i s   p r o v i d e d   b y   a   t h i r d - p a r t y :   M a k e   s u r e   y o u   a r e   u s i n g   t h e   l a t e s t   v e r s i o n . D i s a b l e   t h e   w e b h o o k   f o r   U P D A T E   o p e r a t i o n s . R e p o r t   a n   i s s u e   w i t h   t h e   c o r r e s p o n d i n g   p r o v i d e r .   I f   y o u   a r e   t h e   a u t h o r   o f   t h e   w e b h o o k :   F o r   a   m u t a t i n g   w e b h o o k ,   m a k e   s u r e   i t   n e v e r   c h a n g e s   i m m u t a b l e   f i e l d s   o n   U P D A T E   o p e r a t i o n s .   F o r   e x a m p l e ,   c h a n g e s   t o   c o n t a i n e r s   a r e   u s u a l l y   n o t   a l l o w e d . F o r   a   v a l i d a t i n g   w e b h o o k ,   m a k e   s u r e   t h a t   y o u r   v a l i d a t i o n   p o l i c i e s   o n l y   a p p l y   t o   n e w   c h a n g e s .   I n   o t h e r   w o r d s ,   y o u   s h o u l d   a l l o w   P o d s   w i t h   e x ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-pods/",
    "id": "k8s_00282_section_4_5262"
  },
  {
    "question": "What is My pod is crashing or otherwise unhealthy?",
    "answer": "O n c e   y o u r   p o d   h a s   b e e n   s c h e d u l e d ,   t h e   m e t h o d s   d e s c r i b e d   i n   D e b u g   R u n n i n g   P o d s   a r e   a v a i l a b l e   f o r   d e b u g g i n g .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-pods/",
    "id": "k8s_00282_section_4_5263"
  },
  {
    "question": "What is My pod is running but not doing what I told it to do?",
    "answer": "I f   y o u r   p o d   i s   n o t   b e h a v i n g   a s   y o u   e x p e c t e d ,   i t   m a y   b e   t h a t   t h e r e   w a s   a n   e r r o r   i n   y o u r   p o d   d e s c r i p t i o n   ( e . g .   m y p o d . y a m l   f i l e   o n   y o u r   l o c a l   m a c h i n e ) ,   a n d   t h a t   t h e   e r r o r   w a s   s i l e n t l y   i g n o r e d   w h e n   y o u   c r e a t e d   t h e   p o d .   O f t e n   a   s e c t i o n   o f   t h e   p o d   d e s c r i p t i o n   i s   n e s t e d   i n c o r r e c t l y ,   o r   a   k e y   n a m e   i s   t y p e d   i n c o r r e c t l y ,   a n d   s o   t h e   k e y   i s   i g n o r e d .   F o r   e x a m p l e ,   i f   y o u   m i s s p e l l e d   c o m m a n d   a s   c o m m n d   t h e n   t h e   p o d   w i l l   b e   c r e a t e d   b u t   w i l l   n o t   u s e   t h e   c o m m a n d   l i n e   y o u   i n t e n d e d   i t   t o   u s e .   T h e   f i r s t   t h i n g   t o   d o   i s   t o   d e l e t e   y o u r   p o d   a n d   t r y   c r e a t i n g   i t   a g a i n   w i t h   t h e   - - v a l i d a t e   o p t i o n .   F o r   e x a m p l e ,   r u n   k u b e c t l   a p p l y   - - v a l i d a t e   - f   m y p o d . y a m l .   I f   y o u   m i s s p e l l e d   c o m m a n d   a s   c o m m n d   t h e n   w i l l   g i v e   a n   e r r o r   l i k e   t h i s :   I 0 8 0 5   1 0 : 4 3 : 2 5 . 1 2 9 8 5 0   4 6 7 5 7   s c h e m a . g o : 1 2 6 ]   u n k n o w n   f i e l d :   c o m m n d   I 0 8 0 5   1 0 : 4 3 : 2 5 . 1 2 9 9 7 3   4 6 7 5 7   s c h e m a . g o : 1 2 9 ]   t h i s   m a y   b e   a   f a l s e   a l a r m ,   s e e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k u b e r n e t e s / i s s u e s / 6 8 4 2   p o d s / m y p o d   T h e   n e x t   t h i n g   t o   c h e c k   i s   w h e t h e r   t h e   p o d   o n   t h e   a p i s e r v e r   m a t c h e s   t h e   p o d   y o u   m e a n t   t o   c r e a t e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-pods/",
    "id": "k8s_00282_section_4_5264"
  },
  {
    "question": "What is Debugging Replication Controllers?",
    "answer": "R e p l i c a t i o n   c o n t r o l l e r s   a r e   f a i r l y   s t r a i g h t f o r w a r d .   T h e y   c a n   e i t h e r   c r e a t e   P o d s   o r   t h e y   c a n ' t .   I f   t h e y   c a n ' t   c r e a t e   p o d s ,   t h e n   p l e a s e   r e f e r   t o   t h e   i n s t r u c t i o n s   a b o v e   t o   d e b u g   y o u r   p o d s .   Y o u   c a n   a l s o   u s e   k u b e c t l   d e s c r i b e   r c   $ { C O N T R O L L E R _ N A M E }   t o   i n t r o s p e c t   e v e n t s   r e l a t e d   t o   t h e   r e p l i c a t i o n   c o n t r o l l e r .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-pods/",
    "id": "k8s_00282_section_3_5265"
  },
  {
    "question": "What is Debugging Services?",
    "answer": "S e r v i c e s   p r o v i d e   l o a d   b a l a n c i n g   a c r o s s   a   s e t   o f   p o d s .   T h e r e   a r e   s e v e r a l   c o m m o n   p r o b l e m s   t h a t   c a n   m a k e   S e r v i c e s   n o t   w o r k   p r o p e r l y .   T h e   f o l l o w i n g   i n s t r u c t i o n s   s h o u l d   h e l p   d e b u g   S e r v i c e   p r o b l e m s .   F i r s t ,   v e r i f y   t h a t   t h e r e   a r e   e n d p o i n t s   f o r   t h e   s e r v i c e .   F o r   e v e r y   S e r v i c e   o b j e c t ,   t h e   a p i s e r v e r   m a k e s   o n e   o r   m o r e   E n d p o i n t S l i c e   r e s o u r c e s   a v a i l a b l e .   Y o u   c a n   v i e w   t h e s e   r e s o u r c e s   w i t h :   k u b e c t l   g e t   e n d p o i n t s l i c e s   - l   k u b e r n e t e s . i o / s e r v i c e - n a m e = $ { S E R V I C E _ N A M E }   M a k e   s u r e   t h a t   t h e   e n d p o i n t s   i n   t h e   E n d p o i n t S l i c e s   m a t c h   u p   w i t h   t h e   n u m b e r   o f   p o d s   t h a t   y o u   e x p e c t   t o   b e   m e m b e r s   o f   y o u r   s e r v i c e .   F o r   e x a m p l e ,   i f   y o u r   S e r v i c e   i s   f o r   a n   n g i n x   c o n t a i n e r   w i t h   3   r e p l i c a s ,   y o u   w o u l d   e x p e c t   t o   s e e   t h r e e   d i f f e r e n t   I P   a d d r e s s e s   i n   t h e   S e r v i c e ' s   e n d p o i n t   s l i c e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-pods/",
    "id": "k8s_00282_section_3_5266"
  },
  {
    "question": "What is My service is missing endpoints?",
    "answer": "I f   y o u   a r e   m i s s i n g   e n d p o i n t s ,   t r y   l i s t i n g   p o d s   u s i n g   t h e   l a b e l s   t h a t   S e r v i c e   u s e s .   I m a g i n e   t h a t   y o u   h a v e   a   S e r v i c e   w h e r e   t h e   l a b e l s   a r e :   . . .   s p e c :   -   s e l e c t o r :   n a m e :   n g i n x   t y p e :   f r o n t e n d   Y o u   c a n   u s e :   k u b e c t l   g e t   p o d s   - - s e l e c t o r = n a m e = n g i n x , t y p e = f r o n t e n d   t o   l i s t   p o d s   t h a t   m a t c h   t h i s   s e l e c t o r .   V e r i f y   t h a t   t h e   l i s t   m a t c h e s   t h e   P o d s   t h a t   y o u   e x p e c t   t o   p r o v i d e   y o u r   S e r v i c e .   V e r i f y   t h a t   t h e   p o d ' s   c o n t a i n e r P o r t   m a t c h e s   u p   w i t h   t h e   S e r v i c e ' s   t a r g e t P o r t",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-pods/",
    "id": "k8s_00282_section_4_5267"
  },
  {
    "question": "What is Network traffic is not forwarded?",
    "answer": "P l e a s e   s e e   d e b u g g i n g   s e r v i c e   f o r   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-pods/",
    "id": "k8s_00282_section_4_5268"
  },
  {
    "question": "What is What's next?",
    "answer": "I f   n o n e   o f   t h e   a b o v e   s o l v e s   y o u r   p r o b l e m ,   f o l l o w   t h e   i n s t r u c t i o n s   i n   D e b u g g i n g   S e r v i c e   d o c u m e n t   t o   m a k e   s u r e   t h a t   y o u r   S e r v i c e   i s   r u n n i n g ,   h a s   E n d p o i n t s ,   a n d   y o u r   P o d s   a r e   a c t u a l l y   s e r v i n g ;   y o u   h a v e   D N S   w o r k i n g ,   i p t a b l e s   r u l e s   i n s t a l l e d ,   a n d   k u b e - p r o x y   d o e s   n o t   s e e m   t o   b e   m i s b e h a v i n g .   Y o u   m a y   a l s o   v i s i t   t r o u b l e s h o o t i n g   d o c u m e n t   f o r   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-pods/",
    "id": "k8s_00282_section_2_5269"
  },
  {
    "question": "What is Assigning Pods to Nodes?",
    "answer": "Assigning Pods to NodesYou can constrain a Pod so that it is restricted to run on particular node(s), or to prefer to run on particular nodes. There are several ways to do this and the recommended approaches all use label selectors to facilitate the selection. Often, you do not need to set any such constraints; the scheduler will automatically do a reasonable placement (for example, spreading your Pods across nodes so as not place Pods on a node with insufficient free resources). However, there are some circumstances where you may want to control which node the Pod deploys to, for example, to ensure that a Pod ends up on a node with an SSD attached to it, or to co-locate Pods from two different services that communicate a lot into the same availability zone.You can use any of the following methods to choose where Kubernetes schedules specific Pods:nodeSelector field matching against node labelsAffinity and anti-affinitynodeName fieldPod topology spread constraintsNode labelsLike many other Kubernetes objects, nodes have labels. You can attach labels manually. Kubernetes also populates a standard set of labels on all nodes in a cluster.Note:The value of these labels is cloud provider specific and is not guaranteed to be reliable. For example, the value of kubernetes.io/hostname may be the same as the node name in some environments and a different value in other environments.Node isolation/restrictionAdding labels to nodes allows you to target Pods for scheduling on specific nodes or groups of nodes. You can use this functionality to ensure that specific Pods only run on nodes with certain isolation, security, or regulatory properties.If you use labels for node isolation, choose label keys that the kubelet cannot modify. This prevents a compromised node from setting those labels on itself so that the scheduler schedules workloads onto the compromised node.The NodeRestriction admission plugin prevents the kubelet from setting or modifying labels with a node-restriction.kubernetes.io/ prefix.To make use of that label prefix for node isolation:Ensure you are using the Node authorizer and have enabled the NodeRestriction admission plugin.Add labels with the node-restriction.kubernetes.io/ prefix to your nodes, and use those labels in your node selectors. For example, example.com.node-restriction.kubernetes.io/fips=true or example.com.node-restriction.kubernetes.io/pci-dss=true.nodeSelectornodeSelector is the simplest recommended form of node selection constraint. You can add the nodeSelector field to your Pod specification and specify the node labels you want the target node to have. Kubernetes only schedules the Pod onto nodes that have each of the labels you specify.See Assign Pods to Nodes for more information.Affinity and anti-affinitynodeSelector is the simplest way to constrain Pods to nodes with specific labels. Affinity and anti-affinity expand the types of constraints you can define. Some of the benefits of affinity and anti-affinity include:T",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_qa_5270"
  },
  {
    "question": "How does Assigning Pods to Nodes work?",
    "answer": "Assigning Pods to NodesYou can constrain a Pod so that it is restricted to run on particular node(s), or to prefer to run on particular nodes. There are several ways to do this and the recommended approaches all use label selectors to facilitate the selection. Often, you do not need to set any such constraints; the scheduler will automatically do a reasonable placement (for example, spreading your Pods across nodes so as not place Pods on a node with insufficient free resources). However, there are some circumstances where you may want to control which node the Pod deploys to, for example, to ensure that a Pod ends up on a node with an SSD attached to it, or to co-locate Pods from two different services that communicate a lot into the same availability zone.You can use any of the following methods to choose where Kubernetes schedules specific Pods:nodeSelector field matching against node labelsAffinity and anti-affinitynodeName fieldPod topology spread constraintsNode labelsLike many other Kubernetes objects, nodes have labels. You can attach labels manually. Kubernetes also populates a standard set of labels on all nodes in a cluster.Note:The value of these labels is cloud provider specific and is not guaranteed to be reliable. For example, the value of kubernetes.io/hostname may be the same as the node name in some environments and a different value in other environments.Node isolation/restrictionAdding labels to nodes allows you to target Pods for scheduling on specific nodes or groups of nodes. You can use this functionality to ensure that specific Pods only run on nodes with certain isolation, security, or regulatory properties.If you use labels for node isolation, choose label keys that the kubelet cannot modify. This prevents a compromised node from setting those labels on itself so that the scheduler schedules workloads onto the compromised node.The NodeRestriction admission plugin prevents the kubelet from setting or modifying labels with a node-restriction.kubernetes.io/ prefix.To make use of that label prefix for node isolation:Ensure you are using the Node authorizer and have enabled the NodeRestriction admission plugin.Add labels with the node-restriction.kubernetes.io/ prefix to your nodes, and use those labels in your node selectors. For example, example.com.node-restriction.kubernetes.io/fips=true or example.com.node-restriction.kubernetes.io/pci-dss=true.nodeSelectornodeSelector is the simplest recommended form of node selection constraint. You can add the nodeSelector field to your Pod specification and specify the node labels you want the target node to have. Kubernetes only schedules the Pod onto nodes that have each of the labels you specify.See Assign Pods to Nodes for more information.Affinity and anti-affinitynodeSelector is the simplest way to constrain Pods to nodes with specific labels. Affinity and anti-affinity expand the types of constraints you can define. Some of the benefits of affinity and anti-affinity include:T",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_qa_5271"
  },
  {
    "question": "When would you use Assigning Pods to Nodes?",
    "answer": "Assigning Pods to NodesYou can constrain a Pod so that it is restricted to run on particular node(s), or to prefer to run on particular nodes. There are several ways to do this and the recommended approaches all use label selectors to facilitate the selection. Often, you do not need to set any such constraints; the scheduler will automatically do a reasonable placement (for example, spreading your Pods across nodes so as not place Pods on a node with insufficient free resources). However, there are some circumstances where you may want to control which node the Pod deploys to, for example, to ensure that a Pod ends up on a node with an SSD attached to it, or to co-locate Pods from two different services that communicate a lot into the same availability zone.You can use any of the following methods to choose where Kubernetes schedules specific Pods:nodeSelector field matching against node labelsAffinity and anti-affinitynodeName fieldPod topology spread constraintsNode labelsLike many other Kubernetes objects, nodes have labels. You can attach labels manually. Kubernetes also populates a standard set of labels on all nodes in a cluster.Note:The value of these labels is cloud provider specific and is not guaranteed to be reliable. For example, the value of kubernetes.io/hostname may be the same as the node name in some environments and a different value in other environments.Node isolation/restrictionAdding labels to nodes allows you to target Pods for scheduling on specific nodes or groups of nodes. You can use this functionality to ensure that specific Pods only run on nodes with certain isolation, security, or regulatory properties.If you use labels for node isolation, choose label keys that the kubelet cannot modify. This prevents a compromised node from setting those labels on itself so that the scheduler schedules workloads onto the compromised node.The NodeRestriction admission plugin prevents the kubelet from setting or modifying labels with a node-restriction.kubernetes.io/ prefix.To make use of that label prefix for node isolation:Ensure you are using the Node authorizer and have enabled the NodeRestriction admission plugin.Add labels with the node-restriction.kubernetes.io/ prefix to your nodes, and use those labels in your node selectors. For example, example.com.node-restriction.kubernetes.io/fips=true or example.com.node-restriction.kubernetes.io/pci-dss=true.nodeSelectornodeSelector is the simplest recommended form of node selection constraint. You can add the nodeSelector field to your Pod specification and specify the node labels you want the target node to have. Kubernetes only schedules the Pod onto nodes that have each of the labels you specify.See Assign Pods to Nodes for more information.Affinity and anti-affinitynodeSelector is the simplest way to constrain Pods to nodes with specific labels. Affinity and anti-affinity expand the types of constraints you can define. Some of the benefits of affinity and anti-affinity include:T",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_qa_5272"
  },
  {
    "question": "What are the benefits of Assigning Pods to Nodes?",
    "answer": "Assigning Pods to NodesYou can constrain a Pod so that it is restricted to run on particular node(s), or to prefer to run on particular nodes. There are several ways to do this and the recommended approaches all use label selectors to facilitate the selection. Often, you do not need to set any such constraints; the scheduler will automatically do a reasonable placement (for example, spreading your Pods across nodes so as not place Pods on a node with insufficient free resources). However, there are some circumstances where you may want to control which node the Pod deploys to, for example, to ensure that a Pod ends up on a node with an SSD attached to it, or to co-locate Pods from two different services that communicate a lot into the same availability zone.You can use any of the following methods to choose where Kubernetes schedules specific Pods:nodeSelector field matching against node labelsAffinity and anti-affinitynodeName fieldPod topology spread constraintsNode labelsLike many other Kubernetes objects, nodes have labels. You can attach labels manually. Kubernetes also populates a standard set of labels on all nodes in a cluster.Note:The value of these labels is cloud provider specific and is not guaranteed to be reliable. For example, the value of kubernetes.io/hostname may be the same as the node name in some environments and a different value in other environments.Node isolation/restrictionAdding labels to nodes allows you to target Pods for scheduling on specific nodes or groups of nodes. You can use this functionality to ensure that specific Pods only run on nodes with certain isolation, security, or regulatory properties.If you use labels for node isolation, choose label keys that the kubelet cannot modify. This prevents a compromised node from setting those labels on itself so that the scheduler schedules workloads onto the compromised node.The NodeRestriction admission plugin prevents the kubelet from setting or modifying labels with a node-restriction.kubernetes.io/ prefix.To make use of that label prefix for node isolation:Ensure you are using the Node authorizer and have enabled the NodeRestriction admission plugin.Add labels with the node-restriction.kubernetes.io/ prefix to your nodes, and use those labels in your node selectors. For example, example.com.node-restriction.kubernetes.io/fips=true or example.com.node-restriction.kubernetes.io/pci-dss=true.nodeSelectornodeSelector is the simplest recommended form of node selection constraint. You can add the nodeSelector field to your Pod specification and specify the node labels you want the target node to have. Kubernetes only schedules the Pod onto nodes that have each of the labels you specify.See Assign Pods to Nodes for more information.Affinity and anti-affinitynodeSelector is the simplest way to constrain Pods to nodes with specific labels. Affinity and anti-affinity expand the types of constraints you can define. Some of the benefits of affinity and anti-affinity include:T",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_qa_5273"
  },
  {
    "question": "What is Assigning Pods to Nodes?",
    "answer": "Y o u   c a n   c o n s t r a i n   a   P o d   s o   t h a t   i t   i s   r e s t r i c t e d   t o   r u n   o n   p a r t i c u l a r   n o d e ( s ) ,   o r   t o   p r e f e r   t o   r u n   o n   p a r t i c u l a r   n o d e s .   T h e r e   a r e   s e v e r a l   w a y s   t o   d o   t h i s   a n d   t h e   r e c o m m e n d e d   a p p r o a c h e s   a l l   u s e   l a b e l   s e l e c t o r s   t o   f a c i l i t a t e   t h e   s e l e c t i o n .   O f t e n ,   y o u   d o   n o t   n e e d   t o   s e t   a n y   s u c h   c o n s t r a i n t s ;   t h e   s c h e d u l e r   w i l l   a u t o m a t i c a l l y   d o   a   r e a s o n a b l e   p l a c e m e n t   ( f o r   e x a m p l e ,   s p r e a d i n g   y o u r   P o d s   a c r o s s   n o d e s   s o   a s   n o t   p l a c e   P o d s   o n   a   n o d e   w i t h   i n s u f f i c i e n t   f r e e   r e s o u r c e s ) .   H o w e v e r ,   t h e r e   a r e   s o m e   c i r c u m s t a n c e s   w h e r e   y o u   m a y   w a n t   t o   c o n t r o l   w h i c h   n o d e   t h e   P o d   d e p l o y s   t o ,   f o r   e x a m p l e ,   t o   e n s u r e   t h a t   a   P o d   e n d s   u p   o n   a   n o d e   w i t h   a n   S S D   a t t a c h e d   t o   i t ,   o r   t o   c o - l o c a t e   P o d s   f r o m   t w o   d i f f e r e n t   s e r v i c e s   t h a t   c o m m u n i c a t e   a   l o t   i n t o   t h e   s a m e   a v a i l a b i l i t y   z o n e .   Y o u   c a n   u s e   a n y   o f   t h e   f o l l o w i n g   m e t h o d s   t o   c h o o s e   w h e r e   K u b e r n e t e s   s c h e d u l e s   s p e c i f i c   P o d s :   n o d e S e l e c t o r   f i e l d   m a t c h i n g   a g a i n s t   n o d e   l a b e l s A f f i n i t y   a n d   a n t i - a f f i n i t y n o d e N a m e   f i e l d P o d   t o p o l o g y   s p r e a d   c o n s t r a i n t s",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_1_5274"
  },
  {
    "question": "What is Node labels?",
    "answer": "L i k e   m a n y   o t h e r   K u b e r n e t e s   o b j e c t s ,   n o d e s   h a v e   l a b e l s .   Y o u   c a n   a t t a c h   l a b e l s   m a n u a l l y .   K u b e r n e t e s   a l s o   p o p u l a t e s   a   s t a n d a r d   s e t   o f   l a b e l s   o n   a l l   n o d e s   i n   a   c l u s t e r .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_2_5275"
  },
  {
    "question": "What is Node isolation/restriction?",
    "answer": "A d d i n g   l a b e l s   t o   n o d e s   a l l o w s   y o u   t o   t a r g e t   P o d s   f o r   s c h e d u l i n g   o n   s p e c i f i c   n o d e s   o r   g r o u p s   o f   n o d e s .   Y o u   c a n   u s e   t h i s   f u n c t i o n a l i t y   t o   e n s u r e   t h a t   s p e c i f i c   P o d s   o n l y   r u n   o n   n o d e s   w i t h   c e r t a i n   i s o l a t i o n ,   s e c u r i t y ,   o r   r e g u l a t o r y   p r o p e r t i e s .   I f   y o u   u s e   l a b e l s   f o r   n o d e   i s o l a t i o n ,   c h o o s e   l a b e l   k e y s   t h a t   t h e   k u b e l e t   c a n n o t   m o d i f y .   T h i s   p r e v e n t s   a   c o m p r o m i s e d   n o d e   f r o m   s e t t i n g   t h o s e   l a b e l s   o n   i t s e l f   s o   t h a t   t h e   s c h e d u l e r   s c h e d u l e s   w o r k l o a d s   o n t o   t h e   c o m p r o m i s e d   n o d e .   T h e   N o d e R e s t r i c t i o n   a d m i s s i o n   p l u g i n   p r e v e n t s   t h e   k u b e l e t   f r o m   s e t t i n g   o r   m o d i f y i n g   l a b e l s   w i t h   a   n o d e - r e s t r i c t i o n . k u b e r n e t e s . i o /   p r e f i x .   T o   m a k e   u s e   o f   t h a t   l a b e l   p r e f i x   f o r   n o d e   i s o l a t i o n :   E n s u r e   y o u   a r e   u s i n g   t h e   N o d e   a u t h o r i z e r   a n d   h a v e   e n a b l e d   t h e   N o d e R e s t r i c t i o n   a d m i s s i o n   p l u g i n . A d d   l a b e l s   w i t h   t h e   n o d e - r e s t r i c t i o n . k u b e r n e t e s . i o /   p r e f i x   t o   y o u r   n o d e s ,   a n d   u s e   t h o s e   l a b e l s   i n   y o u r   n o d e   s e l e c t o r s .   F o r   e x a m p l e ,   e x a m p l e . c o m . n o d e - r e s t r i c t i o n . k u b e r n e t e s . i o / f i p s = t r u e   o r   e x a m p l e . c o m . n o d e - r e s t r i c t i o n . k u b e r n e t e s . i o / p c i - d s s = t r u e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_3_5276"
  },
  {
    "question": "What is nodeSelector?",
    "answer": "n o d e S e l e c t o r   i s   t h e   s i m p l e s t   r e c o m m e n d e d   f o r m   o f   n o d e   s e l e c t i o n   c o n s t r a i n t .   Y o u   c a n   a d d   t h e   n o d e S e l e c t o r   f i e l d   t o   y o u r   P o d   s p e c i f i c a t i o n   a n d   s p e c i f y   t h e   n o d e   l a b e l s   y o u   w a n t   t h e   t a r g e t   n o d e   t o   h a v e .   K u b e r n e t e s   o n l y   s c h e d u l e s   t h e   P o d   o n t o   n o d e s   t h a t   h a v e   e a c h   o f   t h e   l a b e l s   y o u   s p e c i f y .   S e e   A s s i g n   P o d s   t o   N o d e s   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_2_5277"
  },
  {
    "question": "What is Affinity and anti-affinity?",
    "answer": "n o d e S e l e c t o r   i s   t h e   s i m p l e s t   w a y   t o   c o n s t r a i n   P o d s   t o   n o d e s   w i t h   s p e c i f i c   l a b e l s .   A f f i n i t y   a n d   a n t i - a f f i n i t y   e x p a n d   t h e   t y p e s   o f   c o n s t r a i n t s   y o u   c a n   d e f i n e .   S o m e   o f   t h e   b e n e f i t s   o f   a f f i n i t y   a n d   a n t i - a f f i n i t y   i n c l u d e :   T h e   a f f i n i t y / a n t i - a f f i n i t y   l a n g u a g e   i s   m o r e   e x p r e s s i v e .   n o d e S e l e c t o r   o n l y   s e l e c t s   n o d e s   w i t h   a l l   t h e   s p e c i f i e d   l a b e l s .   A f f i n i t y / a n t i - a f f i n i t y   g i v e s   y o u   m o r e   c o n t r o l   o v e r   t h e   s e l e c t i o n   l o g i c . Y o u   c a n   i n d i c a t e   t h a t   a   r u l e   i s   s o f t   o r   p r e f e r r e d ,   s o   t h a t   t h e   s c h e d u l e r   s t i l l   s c h e d u l e s   t h e   P o d   e v e n   i f   i t   c a n ' t   f i n d   a   m a t c h i n g   n o d e . Y o u   c a n   c o n s t r a i n   a   P o d   u s i n g   l a b e l s   o n   o t h e r   P o d s   r u n n i n g   o n   t h e   n o d e   ( o r   o t h e r   t o p o l o g i c a l   d o m a i n ) ,   i n s t e a d   o f   j u s t   n o d e   l a b e l s ,   w h i c h   a l l o w s   y o u   t o   d e f i n e   r u l e s   f o r   w h i c h   P o d s   c a n   b e   c o - l o c a t e d   o n   a   n o d e .   T h e   a f f i n i t y   f e a t u r e   c o n s i s t s   o f   t w o   t y p e s   o f   a f f i n i t y :   N o d e   a f f i n i t y   f u n c t i o n s   l i k e   t h e   n o d e S e l e c t o r   f i e l d   b u t   i s   m o r e   e x p r e s s i v e   a n d   a l l o w s   y o u   t o   s p e c i f y   s o f t   r u l e s . I n t e r - p o d   a f f i n i t y / a n t i - a f f i n i t y   a l l o w s   y o u   t o   c o n s t r a i n   P o d s   a g a i n s t   l a b e l s   o n   o t ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_2_5278"
  },
  {
    "question": "What is Node affinity?",
    "answer": "N o d e   a f f i n i t y   i s   c o n c e p t u a l l y   s i m i l a r   t o   n o d e S e l e c t o r ,   a l l o w i n g   y o u   t o   c o n s t r a i n   w h i c h   n o d e s   y o u r   P o d   c a n   b e   s c h e d u l e d   o n   b a s e d   o n   n o d e   l a b e l s .   T h e r e   a r e   t w o   t y p e s   o f   n o d e   a f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   T h e   s c h e d u l e r   c a n ' t   s c h e d u l e   t h e   P o d   u n l e s s   t h e   r u l e   i s   m e t .   T h i s   f u n c t i o n s   l i k e   n o d e S e l e c t o r ,   b u t   w i t h   a   m o r e   e x p r e s s i v e   s y n t a x . p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   T h e   s c h e d u l e r   t r i e s   t o   f i n d   a   n o d e   t h a t   m e e t s   t h e   r u l e .   I f   a   m a t c h i n g   n o d e   i s   n o t   a v a i l a b l e ,   t h e   s c h e d u l e r   s t i l l   s c h e d u l e s   t h e   P o d .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_3_5279"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   s p e c i f y   n o d e   a f f i n i t i e s   u s i n g   t h e   . s p e c . a f f i n i t y . n o d e A f f i n i t y   f i e l d   i n   y o u r   P o d   s p e c .   F o r   e x a m p l e ,   c o n s i d e r   t h e   f o l l o w i n g   P o d   s p e c :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   w i t h - n o d e - a f f i n i t y   s p e c :   a f f i n i t y :   n o d e A f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   n o d e S e l e c t o r T e r m s :   -   m a t c h E x p r e s s i o n s :   -   k e y :   t o p o l o g y . k u b e r n e t e s . i o / z o n e   o p e r a t o r :   I n   v a l u e s :   -   a n t a r c t i c a - e a s t 1   -   a n t a r c t i c a - w e s t 1   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   -   w e i g h t :   1   p r e f e r e n c e :   m a t c h E x p r e s s i o n s :   -   k e y :   a n o t h e r - n o d e - l a b e l - k e y   o p e r a t o r :   I n   v a l u e s :   -   a n o t h e r - n o d e - l a b e l - v a l u e   c o n t a i n e r s :   -   n a m e :   w i t h - n o d e - a f f i n i t y   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 8   I n   t h i s   e x a m p l e ,   t h e   f o l l o w i n g   r u l e s   a p p l y :   T h e   n o d e   m u s t   h a v e   a   l a b e l   w i t h   t h e   k e y   t o p o l o g y . k u b e r n e t e s . i o / z o n e   a n d   t h e   v a l u e   o f   t h a t   l a b e l   m u s t   b e   e i t h e r   a n t a r c t i c a - e a s t 1   o r   a n t a r c t i c a - w e s t 1 . T h e   n o d e   p r e f e r a b l y   h a s   a   l a b e l   w i t h   t h e   k e y   a n o t h e r - n o d e - l a b e l - k e y   a n d   t h e   v a l u e   a n o t h e r - n o d e - l a b e l - v a l u e .   Y o u   c a n   u s e   t h e   o p e r a t o r   f i e l d   t o   s p e c i f y   a   l o g i ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_4_5280"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   s p e c i f y   b o t h   n o d e S e l e c t o r   a n d   n o d e A f f i n i t y ,   b o t h   m u s t   b e   s a t i s f i e d   f o r   t h e   P o d   t o   b e   s c h e d u l e d   o n t o   a   n o d e .   I f   y o u   s p e c i f y   m u l t i p l e   t e r m s   i n   n o d e S e l e c t o r T e r m s   a s s o c i a t e d   w i t h   n o d e A f f i n i t y   t y p e s ,   t h e n   t h e   P o d   c a n   b e   s c h e d u l e d   o n t o   a   n o d e   i f   o n e   o f   t h e   s p e c i f i e d   t e r m s   c a n   b e   s a t i s f i e d   ( t e r m s   a r e   O R e d ) .   I f   y o u   s p e c i f y   m u l t i p l e   e x p r e s s i o n s   i n   a   s i n g l e   m a t c h E x p r e s s i o n s   f i e l d   a s s o c i a t e d   w i t h   a   t e r m   i n   n o d e S e l e c t o r T e r m s ,   t h e n   t h e   P o d   c a n   b e   s c h e d u l e d   o n t o   a   n o d e   o n l y   i f   a l l   t h e   e x p r e s s i o n s   a r e   s a t i s f i e d   ( e x p r e s s i o n s   a r e   A N D e d ) .   S e e   A s s i g n   P o d s   t o   N o d e s   u s i n g   N o d e   A f f i n i t y   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_4_5281"
  },
  {
    "question": "What is Node affinity weight?",
    "answer": "Y o u   c a n   s p e c i f y   a   w e i g h t   b e t w e e n   1   a n d   1 0 0   f o r   e a c h   i n s t a n c e   o f   t h e   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   a f f i n i t y   t y p e .   W h e n   t h e   s c h e d u l e r   f i n d s   n o d e s   t h a t   m e e t   a l l   t h e   o t h e r   s c h e d u l i n g   r e q u i r e m e n t s   o f   t h e   P o d ,   t h e   s c h e d u l e r   i t e r a t e s   t h r o u g h   e v e r y   p r e f e r r e d   r u l e   t h a t   t h e   n o d e   s a t i s f i e s   a n d   a d d s   t h e   v a l u e   o f   t h e   w e i g h t   f o r   t h a t   e x p r e s s i o n   t o   a   s u m .   T h e   f i n a l   s u m   i s   a d d e d   t o   t h e   s c o r e   o f   o t h e r   p r i o r i t y   f u n c t i o n s   f o r   t h e   n o d e .   N o d e s   w i t h   t h e   h i g h e s t   t o t a l   s c o r e   a r e   p r i o r i t i z e d   w h e n   t h e   s c h e d u l e r   m a k e s   a   s c h e d u l i n g   d e c i s i o n   f o r   t h e   P o d .   F o r   e x a m p l e ,   c o n s i d e r   t h e   f o l l o w i n g   P o d   s p e c :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   w i t h - a f f i n i t y - p r e f e r r e d - w e i g h t   s p e c :   a f f i n i t y :   n o d e A f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   n o d e S e l e c t o r T e r m s :   -   m a t c h E x p r e s s i o n s :   -   k e y :   k u b e r n e t e s . i o / o s   o p e r a t o r :   I n   v a l u e s :   -   l i n u x   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   -   w e i g h t :   1   p r e f e r e n c e :   m a t c h E x p r e s s i o n s :   -   k e y :   l a b e l - 1   o p e r a t o r :   I n   v a l u e s :   -   k e y - 1   -   w e i g h t :   5 0   p r e f e r e n c e :   m a ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_4_5282"
  },
  {
    "question": "What is Node affinity per scheduling profile?",
    "answer": "W h e n   c o n f i g u r i n g   m u l t i p l e   s c h e d u l i n g   p r o f i l e s ,   y o u   c a n   a s s o c i a t e   a   p r o f i l e   w i t h   a   n o d e   a f f i n i t y ,   w h i c h   i s   u s e f u l   i f   a   p r o f i l e   o n l y   a p p l i e s   t o   a   s p e c i f i c   s e t   o f   n o d e s .   T o   d o   s o ,   a d d   a n   a d d e d A f f i n i t y   t o   t h e   a r g s   f i e l d   o f   t h e   N o d e A f f i n i t y   p l u g i n   i n   t h e   s c h e d u l e r   c o n f i g u r a t i o n .   F o r   e x a m p l e :   a p i V e r s i o n :   k u b e s c h e d u l e r . c o n f i g . k 8 s . i o / v 1   k i n d :   K u b e S c h e d u l e r C o n f i g u r a t i o n   p r o f i l e s :   -   s c h e d u l e r N a m e :   d e f a u l t - s c h e d u l e r   -   s c h e d u l e r N a m e :   f o o - s c h e d u l e r   p l u g i n C o n f i g :   -   n a m e :   N o d e A f f i n i t y   a r g s :   a d d e d A f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   n o d e S e l e c t o r T e r m s :   -   m a t c h E x p r e s s i o n s :   -   k e y :   s c h e d u l e r - p r o f i l e   o p e r a t o r :   I n   v a l u e s :   -   f o o   T h e   a d d e d A f f i n i t y   i s   a p p l i e d   t o   a l l   P o d s   t h a t   s e t   . s p e c . s c h e d u l e r N a m e   t o   f o o - s c h e d u l e r ,   i n   a d d i t i o n   t o   t h e   N o d e A f f i n i t y   s p e c i f i e d   i n   t h e   P o d S p e c .   T h a t   i s ,   i n   o r d e r   t o   m a t c h   t h e   P o d ,   n o d e s   n e e d   t o   s a t i s f y   a d d e d A f f i n i t y   a n d   t h e   P o d ' s   . s p e c . N o d e A f f i n i t y .   S i n c e   t h e   a d d e d A f f i n i t y   i s   n o t   v i s i b l e   t o   e n d   u s e r s ,   i t s   b e h a v i o r   m i g h t   b e   u n e x p e c t e d   t o   t h e m .   U s e   n o d e   l a b e l s   t h ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_4_5283"
  },
  {
    "question": "What is Inter-pod affinity and anti-affinity?",
    "answer": "I n t e r - p o d   a f f i n i t y   a n d   a n t i - a f f i n i t y   a l l o w   y o u   t o   c o n s t r a i n   w h i c h   n o d e s   y o u r   P o d s   c a n   b e   s c h e d u l e d   o n   b a s e d   o n   t h e   l a b e l s   o f   P o d s   a l r e a d y   r u n n i n g   o n   t h a t   n o d e ,   i n s t e a d   o f   t h e   n o d e   l a b e l s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_3_5284"
  },
  {
    "question": "What is Types of Inter-pod Affinity and Anti-affinity?",
    "answer": "I n t e r - p o d   a f f i n i t y   a n d   a n t i - a f f i n i t y   t a k e   t h e   f o r m   \" t h i s   P o d   s h o u l d   ( o r ,   i n   t h e   c a s e   o f   a n t i - a f f i n i t y ,   s h o u l d   n o t )   r u n   i n   a n   X   i f   t h a t   X   i s   a l r e a d y   r u n n i n g   o n e   o r   m o r e   P o d s   t h a t   m e e t   r u l e   Y \" ,   w h e r e   X   i s   a   t o p o l o g y   d o m a i n   l i k e   n o d e ,   r a c k ,   c l o u d   p r o v i d e r   z o n e   o r   r e g i o n ,   o r   s i m i l a r   a n d   Y   i s   t h e   r u l e   K u b e r n e t e s   t r i e s   t o   s a t i s f y .   Y o u   e x p r e s s   t h e s e   r u l e s   ( Y )   a s   l a b e l   s e l e c t o r s   w i t h   a n   o p t i o n a l   a s s o c i a t e d   l i s t   o f   n a m e s p a c e s .   P o d s   a r e   n a m e s p a c e d   o b j e c t s   i n   K u b e r n e t e s ,   s o   P o d   l a b e l s   a l s o   i m p l i c i t l y   h a v e   n a m e s p a c e s .   A n y   l a b e l   s e l e c t o r s   f o r   P o d   l a b e l s   s h o u l d   s p e c i f y   t h e   n a m e s p a c e s   i n   w h i c h   K u b e r n e t e s   s h o u l d   l o o k   f o r   t h o s e   l a b e l s .   Y o u   e x p r e s s   t h e   t o p o l o g y   d o m a i n   ( X )   u s i n g   a   t o p o l o g y K e y ,   w h i c h   i s   t h e   k e y   f o r   t h e   n o d e   l a b e l   t h a t   t h e   s y s t e m   u s e s   t o   d e n o t e   t h e   d o m a i n .   F o r   e x a m p l e s ,   s e e   W e l l - K n o w n   L a b e l s ,   A n n o t a t i o n s   a n d   T a i n t s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_4_5285"
  },
  {
    "question": "What is Note:?",
    "answer": "S i m i l a r   t o   n o d e   a f f i n i t y   a r e   t w o   t y p e s   o f   P o d   a f f i n i t y   a n d   a n t i - a f f i n i t y   a s   f o l l o w s :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   F o r   e x a m p l e ,   y o u   c o u l d   u s e   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   a f f i n i t y   t o   t e l l   t h e   s c h e d u l e r   t o   c o - l o c a t e   P o d s   o f   t w o   s e r v i c e s   i n   t h e   s a m e   c l o u d   p r o v i d e r   z o n e   b e c a u s e   t h e y   c o m m u n i c a t e   w i t h   e a c h   o t h e r   a   l o t .   S i m i l a r l y ,   y o u   c o u l d   u s e   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   a n t i - a f f i n i t y   t o   s p r e a d   P o d s   f r o m   a   s e r v i c e   a c r o s s   m u l t i p l e   c l o u d   p r o v i d e r   z o n e s .   T o   u s e   i n t e r - p o d   a f f i n i t y ,   u s e   t h e   a f f i n i t y . p o d A f f i n i t y   f i e l d   i n   t h e   P o d   s p e c .   F o r   i n t e r - p o d   a n t i - a f f i n i t y ,   u s e   t h e   a f f i n i t y . p o d A n t i A f f i n i t y   f i e l d   i n   t h e   P o d   s p e c .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_4_5286"
  },
  {
    "question": "What is Scheduling Behavior?",
    "answer": "W h e n   s c h e d u l i n g   a   n e w   P o d ,   t h e   K u b e r n e t e s   s c h e d u l e r   e v a l u a t e s   t h e   P o d ' s   a f f i n i t y / a n t i - a f f i n i t y   r u l e s   i n   t h e   c o n t e x t   o f   t h e   c u r r e n t   c l u s t e r   s t a t e :   H a r d   C o n s t r a i n t s   ( N o d e   F i l t e r i n g ) : p o d A f f i n i t y . r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   a n d   p o d A n t i A f f i n i t y . r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n : T h e   s c h e d u l e r   e n s u r e s   t h e   n e w   P o d   i s   a s s i g n e d   t o   n o d e s   t h a t   s a t i s f y   t h e s e   r e q u i r e d   a f f i n i t y   a n d   a n t i - a f f i n i t y   r u l e s   b a s e d   o n   e x i s t i n g   P o d s . S o f t   C o n s t r a i n t s   ( S c o r i n g ) : p o d A f f i n i t y . p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   a n d   p o d A n t i A f f i n i t y . p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n : T h e   s c h e d u l e r   s c o r e s   n o d e s   b a s e d   o n   h o w   w e l l   t h e y   m e e t   t h e s e   p r e f e r r e d   a f f i n i t y   a n d   a n t i - a f f i n i t y   r u l e s   t o   o p t i m i z e   P o d   p l a c e m e n t . I g n o r e d   F i e l d s : E x i s t i n g   P o d s '   p o d A f f i n i t y . p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n : T h e s e   p r e f e r r e d   a f f i n i t y   r u l e s   a r e   n o t   c o n s i d e r e d   d u r i n g   t h e   s c h e d u l i n g   d e c i s i o n   f o r   n e w   P o d s . E x i s t i n g   P o d s '   p o d A n t i A f f i n i t y . p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n : S i m i l a r ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_4_5287"
  },
  {
    "question": "What is Scheduling a Group of Pods with Inter-pod Affinity to Themselves?",
    "answer": "I f   t h e   c u r r e n t   P o d   b e i n g   s c h e d u l e d   i s   t h e   f i r s t   i n   a   s e r i e s   t h a t   h a v e   a f f i n i t y   t o   t h e m s e l v e s ,   i t   i s   a l l o w e d   t o   b e   s c h e d u l e d   i f   i t   p a s s e s   a l l   o t h e r   a f f i n i t y   c h e c k s .   T h i s   i s   d e t e r m i n e d   b y   v e r i f y i n g   t h a t   n o   o t h e r   P o d   i n   t h e   c l u s t e r   m a t c h e s   t h e   n a m e s p a c e   a n d   s e l e c t o r   o f   t h i s   P o d ,   t h a t   t h e   P o d   m a t c h e s   i t s   o w n   t e r m s ,   a n d   t h e   c h o s e n   n o d e   m a t c h e s   a l l   r e q u e s t e d   t o p o l o g i e s .   T h i s   e n s u r e s   t h a t   t h e r e   w i l l   n o t   b e   a   d e a d l o c k   e v e n   i f   a l l   t h e   P o d s   h a v e   i n t e r - p o d   a f f i n i t y   s p e c i f i e d .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_4_5288"
  },
  {
    "question": "What is Pod Affinity Example?",
    "answer": "C o n s i d e r   t h e   f o l l o w i n g   P o d   s p e c :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   w i t h - p o d - a f f i n i t y   s p e c :   a f f i n i t y :   p o d A f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   -   l a b e l S e l e c t o r :   m a t c h E x p r e s s i o n s :   -   k e y :   s e c u r i t y   o p e r a t o r :   I n   v a l u e s :   -   S 1   t o p o l o g y K e y :   t o p o l o g y . k u b e r n e t e s . i o / z o n e   p o d A n t i A f f i n i t y :   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   -   w e i g h t :   1 0 0   p o d A f f i n i t y T e r m :   l a b e l S e l e c t o r :   m a t c h E x p r e s s i o n s :   -   k e y :   s e c u r i t y   o p e r a t o r :   I n   v a l u e s :   -   S 2   t o p o l o g y K e y :   t o p o l o g y . k u b e r n e t e s . i o / z o n e   c o n t a i n e r s :   -   n a m e :   w i t h - p o d - a f f i n i t y   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 8   T h i s   e x a m p l e   d e f i n e s   o n e   P o d   a f f i n i t y   r u l e   a n d   o n e   P o d   a n t i - a f f i n i t y   r u l e .   T h e   P o d   a f f i n i t y   r u l e   u s e s   t h e   \" h a r d \"   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n ,   w h i l e   t h e   a n t i - a f f i n i t y   r u l e   u s e s   t h e   \" s o f t \"   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n .   T h e   a f f i n i t y   r u l e   s p e c i f i e s   t h a t   t h e   s c h e d u l e r   i s   a l l o w e d   t o   p l a c e   t h e   e x a m p l e   P o d   o n   a   n o d e   o n l y   i f   t h a t   n o d e   b e l o n g s   t o   a   s p e c i f i c   z o n e   w h e r e   o t h e r   P o d s   h a v e   b e e n   l a b e l e d   w ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_4_5289"
  },
  {
    "question": "What is Namespace Selector?",
    "answer": "Y o u   c a n   a l s o   s e l e c t   m a t c h i n g   n a m e s p a c e s   u s i n g   n a m e s p a c e S e l e c t o r ,   w h i c h   i s   a   l a b e l   q u e r y   o v e r   t h e   s e t   o f   n a m e s p a c e s .   T h e   a f f i n i t y   t e r m   i s   a p p l i e d   t o   n a m e s p a c e s   s e l e c t e d   b y   b o t h   n a m e s p a c e S e l e c t o r   a n d   t h e   n a m e s p a c e s   f i e l d .   N o t e   t h a t   a n   e m p t y   n a m e s p a c e S e l e c t o r   ( { } )   m a t c h e s   a l l   n a m e s p a c e s ,   w h i l e   a   n u l l   o r   e m p t y   n a m e s p a c e s   l i s t   a n d   n u l l   n a m e s p a c e S e l e c t o r   m a t c h e s   t h e   n a m e s p a c e   o f   t h e   P o d   w h e r e   t h e   r u l e   i s   d e f i n e d .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_4_5290"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   m a t c h L a b e l K e y s   f i e l d   i s   a   b e t a - l e v e l   f i e l d   a n d   i s   e n a b l e d   b y   d e f a u l t   i n   K u b e r n e t e s   1 . 3 4 .   W h e n   y o u   w a n t   t o   d i s a b l e   i t ,   y o u   h a v e   t o   d i s a b l e   i t   e x p l i c i t l y   v i a   t h e   M a t c h L a b e l K e y s I n P o d A f f i n i t y   f e a t u r e   g a t e .   K u b e r n e t e s   i n c l u d e s   a n   o p t i o n a l   m a t c h L a b e l K e y s   f i e l d   f o r   P o d   a f f i n i t y   o r   a n t i - a f f i n i t y .   T h e   f i e l d   s p e c i f i e s   k e y s   f o r   t h e   l a b e l s   t h a t   s h o u l d   m a t c h   w i t h   t h e   i n c o m i n g   P o d ' s   l a b e l s ,   w h e n   s a t i s f y i n g   t h e   P o d   ( a n t i ) a f f i n i t y .   T h e   k e y s   a r e   u s e d   t o   l o o k   u p   v a l u e s   f r o m   t h e   P o d   l a b e l s ;   t h o s e   k e y - v a l u e   l a b e l s   a r e   c o m b i n e d   ( u s i n g   A N D )   w i t h   t h e   m a t c h   r e s t r i c t i o n s   d e f i n e d   u s i n g   t h e   l a b e l S e l e c t o r   f i e l d .   T h e   c o m b i n e d   f i l t e r i n g   s e l e c t s   t h e   s e t   o f   e x i s t i n g   P o d s   t h a t   w i l l   b e   t a k e n   i n t o   P o d   ( a n t i ) a f f i n i t y   c a l c u l a t i o n .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_4_5291"
  },
  {
    "question": "What is Caution:?",
    "answer": "A   c o m m o n   u s e   c a s e   i s   t o   u s e   m a t c h L a b e l K e y s   w i t h   p o d - t e m p l a t e - h a s h   ( s e t   o n   P o d s   m a n a g e d   a s   p a r t   o f   a   D e p l o y m e n t ,   w h e r e   t h e   v a l u e   i s   u n i q u e   f o r   e a c h   r e v i s i o n ) .   U s i n g   p o d - t e m p l a t e - h a s h   i n   m a t c h L a b e l K e y s   a l l o w s   y o u   t o   t a r g e t   t h e   P o d s   t h a t   b e l o n g   t o   t h e   s a m e   r e v i s i o n   a s   t h e   i n c o m i n g   P o d ,   s o   t h a t   a   r o l l i n g   u p g r a d e   w o n ' t   b r e a k   a f f i n i t y .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   a p p l i c a t i o n - s e r v e r   . . .   s p e c :   t e m p l a t e :   s p e c :   a f f i n i t y :   p o d A f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   -   l a b e l S e l e c t o r :   m a t c h E x p r e s s i o n s :   -   k e y :   a p p   o p e r a t o r :   I n   v a l u e s :   -   d a t a b a s e   t o p o l o g y K e y :   t o p o l o g y . k u b e r n e t e s . i o / z o n e   #   O n l y   P o d s   f r o m   a   g i v e n   r o l l o u t   a r e   t a k e n   i n t o   c o n s i d e r a t i o n   w h e n   c a l c u l a t i n g   p o d   a f f i n i t y .   #   I f   y o u   u p d a t e   t h e   D e p l o y m e n t ,   t h e   r e p l a c e m e n t   P o d s   f o l l o w   t h e i r   o w n   a f f i n i t y   r u l e s   #   ( i f   t h e r e   a r e   a n y   d e f i n e d   i n   t h e   n e w   P o d   t e m p l a t e )   m a t c h L a b e l K e y s :   -   p o d - t e m p l a t e - h a s h",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_4_5292"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   m i s m a t c h L a b e l K e y s   f i e l d   i s   a   b e t a - l e v e l   f i e l d   a n d   i s   e n a b l e d   b y   d e f a u l t   i n   K u b e r n e t e s   1 . 3 4 .   W h e n   y o u   w a n t   t o   d i s a b l e   i t ,   y o u   h a v e   t o   d i s a b l e   i t   e x p l i c i t l y   v i a   t h e   M a t c h L a b e l K e y s I n P o d A f f i n i t y   f e a t u r e   g a t e .   K u b e r n e t e s   i n c l u d e s   a n   o p t i o n a l   m i s m a t c h L a b e l K e y s   f i e l d   f o r   P o d   a f f i n i t y   o r   a n t i - a f f i n i t y .   T h e   f i e l d   s p e c i f i e s   k e y s   f o r   t h e   l a b e l s   t h a t   s h o u l d   n o t   m a t c h   w i t h   t h e   i n c o m i n g   P o d ' s   l a b e l s ,   w h e n   s a t i s f y i n g   t h e   P o d   ( a n t i ) a f f i n i t y .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_4_5293"
  },
  {
    "question": "What is Caution:?",
    "answer": "O n e   e x a m p l e   u s e   c a s e   i s   t o   e n s u r e   P o d s   g o   t o   t h e   t o p o l o g y   d o m a i n   ( n o d e ,   z o n e ,   e t c )   w h e r e   o n l y   P o d s   f r o m   t h e   s a m e   t e n a n t   o r   t e a m   a r e   s c h e d u l e d   i n .   I n   o t h e r   w o r d s ,   y o u   w a n t   t o   a v o i d   r u n n i n g   P o d s   f r o m   t w o   d i f f e r e n t   t e n a n t s   o n   t h e   s a m e   t o p o l o g y   d o m a i n   a t   t h e   s a m e   t i m e .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   l a b e l s :   #   A s s u m e   t h a t   a l l   r e l e v a n t   P o d s   h a v e   a   \" t e n a n t \"   l a b e l   s e t   t e n a n t :   t e n a n t - a   . . .   s p e c :   a f f i n i t y :   p o d A f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   #   e n s u r e   t h a t   P o d s   a s s o c i a t e d   w i t h   t h i s   t e n a n t   l a n d   o n   t h e   c o r r e c t   n o d e   p o o l   -   m a t c h L a b e l K e y s :   -   t e n a n t   t o p o l o g y K e y :   n o d e - p o o l   p o d A n t i A f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   #   e n s u r e   t h a t   P o d s   a s s o c i a t e d   w i t h   t h i s   t e n a n t   c a n ' t   s c h e d u l e   t o   n o d e s   u s e d   f o r   a n o t h e r   t e n a n t   -   m i s m a t c h L a b e l K e y s :   -   t e n a n t   #   w h a t e v e r   t h e   v a l u e   o f   t h e   \" t e n a n t \"   l a b e l   f o r   t h i s   P o d ,   p r e v e n t   #   s c h e d u l i n g   t o   n o d e s   i n   a n y   p o o l   w h e r e   a n y   P o d   f r o m   a   d i f f e r e n t   #   t e n a n t   i s   r u n n i n g .   l a b e l S e l e c t o r :   #   W e   h a v e   t o   h a v e   t h e   l a b e l S e l e c t o r   w h i c h   s e l e c t s   o n ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_4_5294"
  },
  {
    "question": "What is More practical use-cases?",
    "answer": "I n t e r - p o d   a f f i n i t y   a n d   a n t i - a f f i n i t y   c a n   b e   e v e n   m o r e   u s e f u l   w h e n   t h e y   a r e   u s e d   w i t h   h i g h e r   l e v e l   c o l l e c t i o n s   s u c h   a s   R e p l i c a S e t s ,   S t a t e f u l S e t s ,   D e p l o y m e n t s ,   e t c .   T h e s e   r u l e s   a l l o w   y o u   t o   c o n f i g u r e   t h a t   a   s e t   o f   w o r k l o a d s   s h o u l d   b e   c o - l o c a t e d   i n   t h e   s a m e   d e f i n e d   t o p o l o g y ;   f o r   e x a m p l e ,   p r e f e r r i n g   t o   p l a c e   t w o   r e l a t e d   P o d s   o n t o   t h e   s a m e   n o d e .   F o r   e x a m p l e :   i m a g i n e   a   t h r e e - n o d e   c l u s t e r .   Y o u   u s e   t h e   c l u s t e r   t o   r u n   a   w e b   a p p l i c a t i o n   a n d   a l s o   a n   i n - m e m o r y   c a c h e   ( s u c h   a s   R e d i s ) .   F o r   t h i s   e x a m p l e ,   a l s o   a s s u m e   t h a t   l a t e n c y   b e t w e e n   t h e   w e b   a p p l i c a t i o n   a n d   t h e   m e m o r y   c a c h e   s h o u l d   b e   a s   l o w   a s   i s   p r a c t i c a l .   Y o u   c o u l d   u s e   i n t e r - p o d   a f f i n i t y   a n d   a n t i - a f f i n i t y   t o   c o - l o c a t e   t h e   w e b   s e r v e r s   w i t h   t h e   c a c h e   a s   m u c h   a s   p o s s i b l e .   I n   t h e   f o l l o w i n g   e x a m p l e   D e p l o y m e n t   f o r   t h e   R e d i s   c a c h e ,   t h e   r e p l i c a s   g e t   t h e   l a b e l   a p p = s t o r e .   T h e   p o d A n t i A f f i n i t y   r u l e   t e l l s   t h e   s c h e d u l e r   t o   a v o i d   p l a c i n g   m u l t i p l e   r e p l i c a s   w i t h   t h e   a p p = s t o r e   l a b e l   o n   a   s i n g l e   n o d e .   T h i s   c r e a t e s   e a c h   c a c h e   i n   a   s e p a r a t e   n o d e .   a p i V e r s i o n :   a p p s / v 1   ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_4_5295"
  },
  {
    "question": "What is nodeName?",
    "answer": "n o d e N a m e   i s   a   m o r e   d i r e c t   f o r m   o f   n o d e   s e l e c t i o n   t h a n   a f f i n i t y   o r   n o d e S e l e c t o r .   n o d e N a m e   i s   a   f i e l d   i n   t h e   P o d   s p e c .   I f   t h e   n o d e N a m e   f i e l d   i s   n o t   e m p t y ,   t h e   s c h e d u l e r   i g n o r e s   t h e   P o d   a n d   t h e   k u b e l e t   o n   t h e   n a m e d   n o d e   t r i e s   t o   p l a c e   t h e   P o d   o n   t h a t   n o d e .   U s i n g   n o d e N a m e   o v e r r u l e s   u s i n g   n o d e S e l e c t o r   o r   a f f i n i t y   a n d   a n t i - a f f i n i t y   r u l e s .   S o m e   o f   t h e   l i m i t a t i o n s   o f   u s i n g   n o d e N a m e   t o   s e l e c t   n o d e s   a r e :   I f   t h e   n a m e d   n o d e   d o e s   n o t   e x i s t ,   t h e   P o d   w i l l   n o t   r u n ,   a n d   i n   s o m e   c a s e s   m a y   b e   a u t o m a t i c a l l y   d e l e t e d . I f   t h e   n a m e d   n o d e   d o e s   n o t   h a v e   t h e   r e s o u r c e s   t o   a c c o m m o d a t e   t h e   P o d ,   t h e   P o d   w i l l   f a i l   a n d   i t s   r e a s o n   w i l l   i n d i c a t e   w h y ,   f o r   e x a m p l e   O u t O f m e m o r y   o r   O u t O f c p u . N o d e   n a m e s   i n   c l o u d   e n v i r o n m e n t s   a r e   n o t   a l w a y s   p r e d i c t a b l e   o r   s t a b l e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_2_5296"
  },
  {
    "question": "What is Warning:?",
    "answer": "H e r e   i s   a n   e x a m p l e   o f   a   P o d   s p e c   u s i n g   t h e   n o d e N a m e   f i e l d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   n o d e N a m e :   k u b e - 0 1   T h e   a b o v e   P o d   w i l l   o n l y   r u n   o n   t h e   n o d e   k u b e - 0 1 .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_4_5297"
  },
  {
    "question": "What is nominatedNodeName?",
    "answer": "n o m i n a t e d N o d e N a m e   c a n   b e   u s e d   f o r   e x t e r n a l   c o m p o n e n t s   t o   n o m i n a t e   n o d e   f o r   a   p e n d i n g   p o d .   T h i s   n o m i n a t i o n   i s   b e s t   e f f o r t :   i t   m i g h t   b e   i g n o r e d   i f   t h e   s c h e d u l e r   d e t e r m i n e s   t h e   p o d   c a n n o t   g o   t o   a   n o m i n a t e d   n o d e .   A l s o ,   t h i s   f i e l d   c a n   b e   ( o v e r ) w r i t t e n   b y   t h e   s c h e d u l e r :   I f   t h e   s c h e d u l e r   f i n d s   a   n o d e   t o   n o m i n a t e   v i a   t h e   p r e e m p t i o n . I f   t h e   s c h e d u l e r   d e c i d e s   w h e r e   t h e   p o d   i s   g o i n g ,   a n d   m o v e   i t   t o   t h e   b i n d i n g   c y c l e . N o t e   t h a t ,   i n   t h i s   c a s e ,   n o m i n a t e d N o d e N a m e   i s   p u t   o n l y   w h e n   t h e   p o d   h a s   t o   g o   t h r o u g h   W a i t O n P e r m i t   o r   P r e B i n d   e x t e n s i o n   p o i n t s .   N o t e   t h a t ,   i n   t h i s   c a s e ,   n o m i n a t e d N o d e N a m e   i s   p u t   o n l y   w h e n   t h e   p o d   h a s   t o   g o   t h r o u g h   W a i t O n P e r m i t   o r   P r e B i n d   e x t e n s i o n   p o i n t s .   H e r e   i s   a n   e x a m p l e   o f   a   P o d   s t a t u s   u s i n g   t h e   n o m i n a t e d N o d e N a m e   f i e l d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   . . .   s t a t u s :   n o m i n a t e d N o d e N a m e :   k u b e - 0 1",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_2_5298"
  },
  {
    "question": "What is Pod topology spread constraints?",
    "answer": "Y o u   c a n   u s e   t o p o l o g y   s p r e a d   c o n s t r a i n t s   t o   c o n t r o l   h o w   P o d s   a r e   s p r e a d   a c r o s s   y o u r   c l u s t e r   a m o n g   f a i l u r e - d o m a i n s   s u c h   a s   r e g i o n s ,   z o n e s ,   n o d e s ,   o r   a m o n g   a n y   o t h e r   t o p o l o g y   d o m a i n s   t h a t   y o u   d e f i n e .   Y o u   m i g h t   d o   t h i s   t o   i m p r o v e   p e r f o r m a n c e ,   e x p e c t e d   a v a i l a b i l i t y ,   o r   o v e r a l l   u t i l i z a t i o n .   R e a d   P o d   t o p o l o g y   s p r e a d   c o n s t r a i n t s   t o   l e a r n   m o r e   a b o u t   h o w   t h e s e   w o r k .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_2_5299"
  },
  {
    "question": "What is Operators?",
    "answer": "T h e   f o l l o w i n g   a r e   a l l   t h e   l o g i c a l   o p e r a t o r s   t h a t   y o u   c a n   u s e   i n   t h e   o p e r a t o r   f i e l d   f o r   n o d e A f f i n i t y   a n d   p o d A f f i n i t y   m e n t i o n e d   a b o v e .   T h e   f o l l o w i n g   o p e r a t o r s   c a n   o n l y   b e   u s e d   w i t h   n o d e A f f i n i t y .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_2_5300"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   m o r e   a b o u t   t a i n t s   a n d   t o l e r a t i o n s . R e a d   t h e   d e s i g n   d o c s   f o r   n o d e   a f f i n i t y   a n d   f o r   i n t e r - p o d   a f f i n i t y / a n t i - a f f i n i t y . L e a r n   a b o u t   h o w   t h e   t o p o l o g y   m a n a g e r   t a k e s   p a r t   i n   n o d e - l e v e l   r e s o u r c e   a l l o c a t i o n   d e c i s i o n s . L e a r n   h o w   t o   u s e   n o d e S e l e c t o r . L e a r n   h o w   t o   u s e   a f f i n i t y   a n d   a n t i - a f f i n i t y .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
    "id": "k8s_00283_section_2_5301"
  },
  {
    "question": "What is Init Containers?",
    "answer": "Init ContainersThis page provides an overview of init containers: specialized containers that run before app containers in a Pod. Init containers can contain utilities or setup scripts not present in an app image.You can specify init containers in the Pod specification alongside the containers array (which describes app containers).In Kubernetes, a sidecar container is a container that starts before the main application container and continues to run. This document is about init containers: containers that run to completion during Pod initialization.Understanding init containersA Pod can have multiple containers running apps within it, but it can also have one or more init containers, which are run before the app containers are started.Init containers are exactly like regular containers, except:Init containers always run to completion.Each init container must complete successfully before the next one starts.If a Pod's init container fails, the kubelet repeatedly restarts that init container until it succeeds. However, if the Pod has a restartPolicy of Never, and an init container fails during startup of that Pod, Kubernetes treats the overall Pod as failed.To specify an init container for a Pod, add the initContainers field into the Pod specification, as an array of container items (similar to the app containers field and its contents). See Container in the API reference for more details.The status of the init containers is returned in .status.initContainerStatuses field as an array of the container statuses (similar to the .status.containerStatuses field).Differences from regular containersInit containers support all the fields and features of app containers, including resource limits, volumes, and security settings. However, the resource requests and limits for an init container are handled differently, as documented in Resource sharing within containers.Regular init containers (in other words: excluding sidecar containers) do not support the lifecycle, livenessProbe, readinessProbe, or startupProbe fields. Init containers must run to completion before the Pod can be ready; sidecar containers continue running during a Pod's lifetime, and do support some probes. See sidecar container for further details about sidecar containers.If you specify multiple init containers for a Pod, kubelet runs each init container sequentially. Each init container must succeed before the next can run. When all of the init containers have run to completion, kubelet initializes the application containers for the Pod and runs them as usual.Differences from sidecar containersInit containers run and complete their tasks before the main application container starts. Unlike sidecar containers, init containers are not continuously running alongside the main containers.Init containers run to completion sequentially, and the main container does not start until all the init containers have successfully completed.init containers do not support lifecycle, livenessProbe, readines",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/init-containers/",
    "id": "k8s_00284_qa_5302"
  },
  {
    "question": "How does Init Containers work?",
    "answer": "Init ContainersThis page provides an overview of init containers: specialized containers that run before app containers in a Pod. Init containers can contain utilities or setup scripts not present in an app image.You can specify init containers in the Pod specification alongside the containers array (which describes app containers).In Kubernetes, a sidecar container is a container that starts before the main application container and continues to run. This document is about init containers: containers that run to completion during Pod initialization.Understanding init containersA Pod can have multiple containers running apps within it, but it can also have one or more init containers, which are run before the app containers are started.Init containers are exactly like regular containers, except:Init containers always run to completion.Each init container must complete successfully before the next one starts.If a Pod's init container fails, the kubelet repeatedly restarts that init container until it succeeds. However, if the Pod has a restartPolicy of Never, and an init container fails during startup of that Pod, Kubernetes treats the overall Pod as failed.To specify an init container for a Pod, add the initContainers field into the Pod specification, as an array of container items (similar to the app containers field and its contents). See Container in the API reference for more details.The status of the init containers is returned in .status.initContainerStatuses field as an array of the container statuses (similar to the .status.containerStatuses field).Differences from regular containersInit containers support all the fields and features of app containers, including resource limits, volumes, and security settings. However, the resource requests and limits for an init container are handled differently, as documented in Resource sharing within containers.Regular init containers (in other words: excluding sidecar containers) do not support the lifecycle, livenessProbe, readinessProbe, or startupProbe fields. Init containers must run to completion before the Pod can be ready; sidecar containers continue running during a Pod's lifetime, and do support some probes. See sidecar container for further details about sidecar containers.If you specify multiple init containers for a Pod, kubelet runs each init container sequentially. Each init container must succeed before the next can run. When all of the init containers have run to completion, kubelet initializes the application containers for the Pod and runs them as usual.Differences from sidecar containersInit containers run and complete their tasks before the main application container starts. Unlike sidecar containers, init containers are not continuously running alongside the main containers.Init containers run to completion sequentially, and the main container does not start until all the init containers have successfully completed.init containers do not support lifecycle, livenessProbe, readines",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/init-containers/",
    "id": "k8s_00284_qa_5303"
  },
  {
    "question": "When would you use Init Containers?",
    "answer": "Init ContainersThis page provides an overview of init containers: specialized containers that run before app containers in a Pod. Init containers can contain utilities or setup scripts not present in an app image.You can specify init containers in the Pod specification alongside the containers array (which describes app containers).In Kubernetes, a sidecar container is a container that starts before the main application container and continues to run. This document is about init containers: containers that run to completion during Pod initialization.Understanding init containersA Pod can have multiple containers running apps within it, but it can also have one or more init containers, which are run before the app containers are started.Init containers are exactly like regular containers, except:Init containers always run to completion.Each init container must complete successfully before the next one starts.If a Pod's init container fails, the kubelet repeatedly restarts that init container until it succeeds. However, if the Pod has a restartPolicy of Never, and an init container fails during startup of that Pod, Kubernetes treats the overall Pod as failed.To specify an init container for a Pod, add the initContainers field into the Pod specification, as an array of container items (similar to the app containers field and its contents). See Container in the API reference for more details.The status of the init containers is returned in .status.initContainerStatuses field as an array of the container statuses (similar to the .status.containerStatuses field).Differences from regular containersInit containers support all the fields and features of app containers, including resource limits, volumes, and security settings. However, the resource requests and limits for an init container are handled differently, as documented in Resource sharing within containers.Regular init containers (in other words: excluding sidecar containers) do not support the lifecycle, livenessProbe, readinessProbe, or startupProbe fields. Init containers must run to completion before the Pod can be ready; sidecar containers continue running during a Pod's lifetime, and do support some probes. See sidecar container for further details about sidecar containers.If you specify multiple init containers for a Pod, kubelet runs each init container sequentially. Each init container must succeed before the next can run. When all of the init containers have run to completion, kubelet initializes the application containers for the Pod and runs them as usual.Differences from sidecar containersInit containers run and complete their tasks before the main application container starts. Unlike sidecar containers, init containers are not continuously running alongside the main containers.Init containers run to completion sequentially, and the main container does not start until all the init containers have successfully completed.init containers do not support lifecycle, livenessProbe, readines",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/init-containers/",
    "id": "k8s_00284_qa_5304"
  },
  {
    "question": "What are the benefits of Init Containers?",
    "answer": "Init ContainersThis page provides an overview of init containers: specialized containers that run before app containers in a Pod. Init containers can contain utilities or setup scripts not present in an app image.You can specify init containers in the Pod specification alongside the containers array (which describes app containers).In Kubernetes, a sidecar container is a container that starts before the main application container and continues to run. This document is about init containers: containers that run to completion during Pod initialization.Understanding init containersA Pod can have multiple containers running apps within it, but it can also have one or more init containers, which are run before the app containers are started.Init containers are exactly like regular containers, except:Init containers always run to completion.Each init container must complete successfully before the next one starts.If a Pod's init container fails, the kubelet repeatedly restarts that init container until it succeeds. However, if the Pod has a restartPolicy of Never, and an init container fails during startup of that Pod, Kubernetes treats the overall Pod as failed.To specify an init container for a Pod, add the initContainers field into the Pod specification, as an array of container items (similar to the app containers field and its contents). See Container in the API reference for more details.The status of the init containers is returned in .status.initContainerStatuses field as an array of the container statuses (similar to the .status.containerStatuses field).Differences from regular containersInit containers support all the fields and features of app containers, including resource limits, volumes, and security settings. However, the resource requests and limits for an init container are handled differently, as documented in Resource sharing within containers.Regular init containers (in other words: excluding sidecar containers) do not support the lifecycle, livenessProbe, readinessProbe, or startupProbe fields. Init containers must run to completion before the Pod can be ready; sidecar containers continue running during a Pod's lifetime, and do support some probes. See sidecar container for further details about sidecar containers.If you specify multiple init containers for a Pod, kubelet runs each init container sequentially. Each init container must succeed before the next can run. When all of the init containers have run to completion, kubelet initializes the application containers for the Pod and runs them as usual.Differences from sidecar containersInit containers run and complete their tasks before the main application container starts. Unlike sidecar containers, init containers are not continuously running alongside the main containers.Init containers run to completion sequentially, and the main container does not start until all the init containers have successfully completed.init containers do not support lifecycle, livenessProbe, readines",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/init-containers/",
    "id": "k8s_00284_qa_5305"
  },
  {
    "question": "What is Init Containers?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   o f   i n i t   c o n t a i n e r s :   s p e c i a l i z e d   c o n t a i n e r s   t h a t   r u n   b e f o r e   a p p   c o n t a i n e r s   i n   a   P o d .   I n i t   c o n t a i n e r s   c a n   c o n t a i n   u t i l i t i e s   o r   s e t u p   s c r i p t s   n o t   p r e s e n t   i n   a n   a p p   i m a g e .   Y o u   c a n   s p e c i f y   i n i t   c o n t a i n e r s   i n   t h e   P o d   s p e c i f i c a t i o n   a l o n g s i d e   t h e   c o n t a i n e r s   a r r a y   ( w h i c h   d e s c r i b e s   a p p   c o n t a i n e r s ) .   I n   K u b e r n e t e s ,   a   s i d e c a r   c o n t a i n e r   i s   a   c o n t a i n e r   t h a t   s t a r t s   b e f o r e   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r   a n d   c o n t i n u e s   t o   r u n .   T h i s   d o c u m e n t   i s   a b o u t   i n i t   c o n t a i n e r s :   c o n t a i n e r s   t h a t   r u n   t o   c o m p l e t i o n   d u r i n g   P o d   i n i t i a l i z a t i o n .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/init-containers/",
    "id": "k8s_00284_section_1_5306"
  },
  {
    "question": "What is Understanding init containers?",
    "answer": "A   P o d   c a n   h a v e   m u l t i p l e   c o n t a i n e r s   r u n n i n g   a p p s   w i t h i n   i t ,   b u t   i t   c a n   a l s o   h a v e   o n e   o r   m o r e   i n i t   c o n t a i n e r s ,   w h i c h   a r e   r u n   b e f o r e   t h e   a p p   c o n t a i n e r s   a r e   s t a r t e d .   I n i t   c o n t a i n e r s   a r e   e x a c t l y   l i k e   r e g u l a r   c o n t a i n e r s ,   e x c e p t :   I n i t   c o n t a i n e r s   a l w a y s   r u n   t o   c o m p l e t i o n . E a c h   i n i t   c o n t a i n e r   m u s t   c o m p l e t e   s u c c e s s f u l l y   b e f o r e   t h e   n e x t   o n e   s t a r t s .   I f   a   P o d ' s   i n i t   c o n t a i n e r   f a i l s ,   t h e   k u b e l e t   r e p e a t e d l y   r e s t a r t s   t h a t   i n i t   c o n t a i n e r   u n t i l   i t   s u c c e e d s .   H o w e v e r ,   i f   t h e   P o d   h a s   a   r e s t a r t P o l i c y   o f   N e v e r ,   a n d   a n   i n i t   c o n t a i n e r   f a i l s   d u r i n g   s t a r t u p   o f   t h a t   P o d ,   K u b e r n e t e s   t r e a t s   t h e   o v e r a l l   P o d   a s   f a i l e d .   T o   s p e c i f y   a n   i n i t   c o n t a i n e r   f o r   a   P o d ,   a d d   t h e   i n i t C o n t a i n e r s   f i e l d   i n t o   t h e   P o d   s p e c i f i c a t i o n ,   a s   a n   a r r a y   o f   c o n t a i n e r   i t e m s   ( s i m i l a r   t o   t h e   a p p   c o n t a i n e r s   f i e l d   a n d   i t s   c o n t e n t s ) .   S e e   C o n t a i n e r   i n   t h e   A P I   r e f e r e n c e   f o r   m o r e   d e t a i l s .   T h e   s t a t u s   o f   t h e   i n i t   c o n t a i n e r s   i s   r e t u r n e d   i n   . s t a t u s . i n i t C o n t a i n e r S t a t u s e s   f i e l d   a s   a n   a r r a y   o f   t h e   c o n t a i n e r   s t a t u s e s   ( s i m i l a r   t o   t h e   . s t a t u s . c o n t a i n e r S t a t u s e s   f i e l ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/init-containers/",
    "id": "k8s_00284_section_2_5307"
  },
  {
    "question": "What is Differences from regular containers?",
    "answer": "I n i t   c o n t a i n e r s   s u p p o r t   a l l   t h e   f i e l d s   a n d   f e a t u r e s   o f   a p p   c o n t a i n e r s ,   i n c l u d i n g   r e s o u r c e   l i m i t s ,   v o l u m e s ,   a n d   s e c u r i t y   s e t t i n g s .   H o w e v e r ,   t h e   r e s o u r c e   r e q u e s t s   a n d   l i m i t s   f o r   a n   i n i t   c o n t a i n e r   a r e   h a n d l e d   d i f f e r e n t l y ,   a s   d o c u m e n t e d   i n   R e s o u r c e   s h a r i n g   w i t h i n   c o n t a i n e r s .   R e g u l a r   i n i t   c o n t a i n e r s   ( i n   o t h e r   w o r d s :   e x c l u d i n g   s i d e c a r   c o n t a i n e r s )   d o   n o t   s u p p o r t   t h e   l i f e c y c l e ,   l i v e n e s s P r o b e ,   r e a d i n e s s P r o b e ,   o r   s t a r t u p P r o b e   f i e l d s .   I n i t   c o n t a i n e r s   m u s t   r u n   t o   c o m p l e t i o n   b e f o r e   t h e   P o d   c a n   b e   r e a d y ;   s i d e c a r   c o n t a i n e r s   c o n t i n u e   r u n n i n g   d u r i n g   a   P o d ' s   l i f e t i m e ,   a n d   d o   s u p p o r t   s o m e   p r o b e s .   S e e   s i d e c a r   c o n t a i n e r   f o r   f u r t h e r   d e t a i l s   a b o u t   s i d e c a r   c o n t a i n e r s .   I f   y o u   s p e c i f y   m u l t i p l e   i n i t   c o n t a i n e r s   f o r   a   P o d ,   k u b e l e t   r u n s   e a c h   i n i t   c o n t a i n e r   s e q u e n t i a l l y .   E a c h   i n i t   c o n t a i n e r   m u s t   s u c c e e d   b e f o r e   t h e   n e x t   c a n   r u n .   W h e n   a l l   o f   t h e   i n i t   c o n t a i n e r s   h a v e   r u n   t o   c o m p l e t i o n ,   k u b e l e t   i n i t i a l i z e s   t h e   a p p l i c a t i o n   c o n t a i n e r s   f o r   t h e   P o d   a n d   r u n s   t h e m   a s   u s u a l .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/init-containers/",
    "id": "k8s_00284_section_3_5308"
  },
  {
    "question": "What is Differences from sidecar containers?",
    "answer": "I n i t   c o n t a i n e r s   r u n   a n d   c o m p l e t e   t h e i r   t a s k s   b e f o r e   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r   s t a r t s .   U n l i k e   s i d e c a r   c o n t a i n e r s ,   i n i t   c o n t a i n e r s   a r e   n o t   c o n t i n u o u s l y   r u n n i n g   a l o n g s i d e   t h e   m a i n   c o n t a i n e r s .   I n i t   c o n t a i n e r s   r u n   t o   c o m p l e t i o n   s e q u e n t i a l l y ,   a n d   t h e   m a i n   c o n t a i n e r   d o e s   n o t   s t a r t   u n t i l   a l l   t h e   i n i t   c o n t a i n e r s   h a v e   s u c c e s s f u l l y   c o m p l e t e d .   i n i t   c o n t a i n e r s   d o   n o t   s u p p o r t   l i f e c y c l e ,   l i v e n e s s P r o b e ,   r e a d i n e s s P r o b e ,   o r   s t a r t u p P r o b e   w h e r e a s   s i d e c a r   c o n t a i n e r s   s u p p o r t   a l l   t h e s e   p r o b e s   t o   c o n t r o l   t h e i r   l i f e c y c l e .   I n i t   c o n t a i n e r s   s h a r e   t h e   s a m e   r e s o u r c e s   ( C P U ,   m e m o r y ,   n e t w o r k )   w i t h   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r s   b u t   d o   n o t   i n t e r a c t   d i r e c t l y   w i t h   t h e m .   T h e y   c a n ,   h o w e v e r ,   u s e   s h a r e d   v o l u m e s   f o r   d a t a   e x c h a n g e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/init-containers/",
    "id": "k8s_00284_section_3_5309"
  },
  {
    "question": "What is Using init containers?",
    "answer": "B e c a u s e   i n i t   c o n t a i n e r s   h a v e   s e p a r a t e   i m a g e s   f r o m   a p p   c o n t a i n e r s ,   t h e y   h a v e   s o m e   a d v a n t a g e s   f o r   s t a r t - u p   r e l a t e d   c o d e :   I n i t   c o n t a i n e r s   c a n   c o n t a i n   u t i l i t i e s   o r   c u s t o m   c o d e   f o r   s e t u p   t h a t   a r e   n o t   p r e s e n t   i n   a n   a p p   i m a g e .   F o r   e x a m p l e ,   t h e r e   i s   n o   n e e d   t o   m a k e   a n   i m a g e   F R O M   a n o t h e r   i m a g e   j u s t   t o   u s e   a   t o o l   l i k e   s e d ,   a w k ,   p y t h o n ,   o r   d i g   d u r i n g   s e t u p . T h e   a p p l i c a t i o n   i m a g e   b u i l d e r   a n d   d e p l o y e r   r o l e s   c a n   w o r k   i n d e p e n d e n t l y   w i t h o u t   t h e   n e e d   t o   j o i n t l y   b u i l d   a   s i n g l e   a p p   i m a g e . I n i t   c o n t a i n e r s   c a n   r u n   w i t h   a   d i f f e r e n t   v i e w   o f   t h e   f i l e s y s t e m   t h a n   a p p   c o n t a i n e r s   i n   t h e   s a m e   P o d .   C o n s e q u e n t l y ,   t h e y   c a n   b e   g i v e n   a c c e s s   t o   S e c r e t s   t h a t   a p p   c o n t a i n e r s   c a n n o t   a c c e s s . B e c a u s e   i n i t   c o n t a i n e r s   r u n   t o   c o m p l e t i o n   b e f o r e   a n y   a p p   c o n t a i n e r s   s t a r t ,   i n i t   c o n t a i n e r s   o f f e r   a   m e c h a n i s m   t o   b l o c k   o r   d e l a y   a p p   c o n t a i n e r   s t a r t u p   u n t i l   a   s e t   o f   p r e c o n d i t i o n s   a r e   m e t .   O n c e   p r e c o n d i t i o n s   a r e   m e t ,   a l l   o f   t h e   a p p   c o n t a i n e r s   i n   a   P o d   c a n   s t a r t   i n   p a r a l l e l . I n i t   c o n t a i n e r s   c a n   s e c u r e l y   r u n   u t i l i t i e s   o r   c u s t o m   c o d e   t h a t   w o u l d   o ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/init-containers/",
    "id": "k8s_00284_section_2_5310"
  },
  {
    "question": "What is Examples?",
    "answer": "H e r e   a r e   s o m e   i d e a s   f o r   h o w   t o   u s e   i n i t   c o n t a i n e r s :   W a i t   f o r   a   S e r v i c e   t o   b e   c r e a t e d ,   u s i n g   a   s h e l l   o n e - l i n e   c o m m a n d   l i k e : f o r   i   i n   { 1 . . 1 0 0 } ;   d o   s l e e p   1 ;   i f   n s l o o k u p   m y s e r v i c e ;   t h e n   e x i t   0 ;   f i ;   d o n e ;   e x i t   1   R e g i s t e r   t h i s   P o d   w i t h   a   r e m o t e   s e r v e r   f r o m   t h e   d o w n w a r d   A P I   w i t h   a   c o m m a n d   l i k e : c u r l   - X   P O S T   h t t p : / / $ M A N A G E M E N T _ S E R V I C E _ H O S T : $ M A N A G E M E N T _ S E R V I C E _ P O R T / r e g i s t e r   - d   ' i n s t a n c e = $ ( < P O D _ N A M E > ) & i p = $ ( < P O D _ I P > ) '   W a i t   f o r   s o m e   t i m e   b e f o r e   s t a r t i n g   t h e   a p p   c o n t a i n e r   w i t h   a   c o m m a n d   l i k e s l e e p   6 0   C l o n e   a   G i t   r e p o s i t o r y   i n t o   a   V o l u m e P l a c e   v a l u e s   i n t o   a   c o n f i g u r a t i o n   f i l e   a n d   r u n   a   t e m p l a t e   t o o l   t o   d y n a m i c a l l y   g e n e r a t e   a   c o n f i g u r a t i o n   f i l e   f o r   t h e   m a i n   a p p   c o n t a i n e r .   F o r   e x a m p l e ,   p l a c e   t h e   P O D _ I P   v a l u e   i n   a   c o n f i g u r a t i o n   a n d   g e n e r a t e   t h e   m a i n   a p p   c o n f i g u r a t i o n   f i l e   u s i n g   J i n j a .   W a i t   f o r   a   S e r v i c e   t o   b e   c r e a t e d ,   u s i n g   a   s h e l l   o n e - l i n e   c o m m a n d   l i k e :   f o r   i   i n   { 1 . . 1 0 0 } ;   d o   s l e e p   1 ;   i f   n s l o o k u p   m y s e r v i c e ;   t h e n   e x i t   0 ;   f i ;   d o n e ;   e x i t   1   R e g i s t e r   t h i s   P o d   w i t h   a   r e m o t e   s e r v e r   f r o m   t h e   d o w n w a r d   A P I   w i t h   a   c o ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/init-containers/",
    "id": "k8s_00284_section_3_5311"
  },
  {
    "question": "What is Init containers in use?",
    "answer": "T h i s   e x a m p l e   d e f i n e s   a   s i m p l e   P o d   t h a t   h a s   t w o   i n i t   c o n t a i n e r s .   T h e   f i r s t   w a i t s   f o r   m y s e r v i c e ,   a n d   t h e   s e c o n d   w a i t s   f o r   m y d b .   O n c e   b o t h   i n i t   c o n t a i n e r s   c o m p l e t e ,   t h e   P o d   r u n s   t h e   a p p   c o n t a i n e r   f r o m   i t s   s p e c   s e c t i o n .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y a p p - p o d   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   s p e c :   c o n t a i n e r s :   -   n a m e :   m y a p p - c o n t a i n e r   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   ' e c h o   T h e   a p p   i s   r u n n i n g !   & &   s l e e p   3 6 0 0 ' ]   i n i t C o n t a i n e r s :   -   n a m e :   i n i t - m y s e r v i c e   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   \" u n t i l   n s l o o k u p   m y s e r v i c e . $ ( c a t   / v a r / r u n / s e c r e t s / k u b e r n e t e s . i o / s e r v i c e a c c o u n t / n a m e s p a c e ) . s v c . c l u s t e r . l o c a l ;   d o   e c h o   w a i t i n g   f o r   m y s e r v i c e ;   s l e e p   2 ;   d o n e \" ]   -   n a m e :   i n i t - m y d b   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   \" u n t i l   n s l o o k u p   m y d b . $ ( c a t   / v a r / r u n / s e c r e t s / k u b e r n e t e s . i o / s e r v i c e a c c o u n t / n a m e s p a c e ) . s v c . c l u s t e r . l o c a l ;   d o   e c h o   w a i t i n g   f o r   m y d b ;   s l e e p   2 ;   d o n e \" ]   Y o u   c a n   s t a r t   t h i s   P o d   b y   r u n n i n g :   k u b e c t l   a p p l y   - f   m y a p p . y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   p o d / m y a p p - p o d   c r e a t e d   A n d   c h e c k   o n ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/init-containers/",
    "id": "k8s_00284_section_4_5312"
  },
  {
    "question": "What is Detailed behavior?",
    "answer": "D u r i n g   P o d   s t a r t u p ,   t h e   k u b e l e t   d e l a y s   r u n n i n g   i n i t   c o n t a i n e r s   u n t i l   t h e   n e t w o r k i n g   a n d   s t o r a g e   a r e   r e a d y .   T h e n   t h e   k u b e l e t   r u n s   t h e   P o d ' s   i n i t   c o n t a i n e r s   i n   t h e   o r d e r   t h e y   a p p e a r   i n   t h e   P o d ' s   s p e c .   E a c h   i n i t   c o n t a i n e r   m u s t   e x i t   s u c c e s s f u l l y   b e f o r e   t h e   n e x t   c o n t a i n e r   s t a r t s .   I f   a   c o n t a i n e r   f a i l s   t o   s t a r t   d u e   t o   t h e   r u n t i m e   o r   e x i t s   w i t h   f a i l u r e ,   i t   i s   r e t r i e d   a c c o r d i n g   t o   t h e   P o d   r e s t a r t P o l i c y .   H o w e v e r ,   i f   t h e   P o d   r e s t a r t P o l i c y   i s   s e t   t o   A l w a y s ,   t h e   i n i t   c o n t a i n e r s   u s e   r e s t a r t P o l i c y   O n F a i l u r e .   A   P o d   c a n n o t   b e   R e a d y   u n t i l   a l l   i n i t   c o n t a i n e r s   h a v e   s u c c e e d e d .   T h e   p o r t s   o n   a n   i n i t   c o n t a i n e r   a r e   n o t   a g g r e g a t e d   u n d e r   a   S e r v i c e .   A   P o d   t h a t   i s   i n i t i a l i z i n g   i s   i n   t h e   P e n d i n g   s t a t e   b u t   s h o u l d   h a v e   a   c o n d i t i o n   I n i t i a l i z e d   s e t   t o   f a l s e .   I f   t h e   P o d   r e s t a r t s ,   o r   i s   r e s t a r t e d ,   a l l   i n i t   c o n t a i n e r s   m u s t   e x e c u t e   a g a i n .   C h a n g e s   t o   t h e   i n i t   c o n t a i n e r   s p e c   a r e   l i m i t e d   t o   t h e   c o n t a i n e r   i m a g e   f i e l d .   D i r e c t l y   a l t e r i n g   t h e   i m a g e   f i e l d   o f   a n   i n i t   c o n t a i n e r   d o e s   n o t   r e s t a r t   t h e   P o d   o r   t r i g g e r   i t s   r e c r e a t i o n .   I f   ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/init-containers/",
    "id": "k8s_00284_section_2_5313"
  },
  {
    "question": "What is Resource sharing within containers?",
    "answer": "G i v e n   t h e   o r d e r   o f   e x e c u t i o n   f o r   i n i t ,   s i d e c a r   a n d   a p p   c o n t a i n e r s ,   t h e   f o l l o w i n g   r u l e s   f o r   r e s o u r c e   u s a g e   a p p l y :   T h e   h i g h e s t   o f   a n y   p a r t i c u l a r   r e s o u r c e   r e q u e s t   o r   l i m i t   d e f i n e d   o n   a l l   i n i t   c o n t a i n e r s   i s   t h e   e f f e c t i v e   i n i t   r e q u e s t / l i m i t .   I f   a n y   r e s o u r c e   h a s   n o   r e s o u r c e   l i m i t   s p e c i f i e d   t h i s   i s   c o n s i d e r e d   a s   t h e   h i g h e s t   l i m i t . T h e   P o d ' s   e f f e c t i v e   r e q u e s t / l i m i t   f o r   a   r e s o u r c e   i s   t h e   h i g h e r   o f : t h e   s u m   o f   a l l   a p p   c o n t a i n e r s   r e q u e s t / l i m i t   f o r   a   r e s o u r c e t h e   e f f e c t i v e   i n i t   r e q u e s t / l i m i t   f o r   a   r e s o u r c e S c h e d u l i n g   i s   d o n e   b a s e d   o n   e f f e c t i v e   r e q u e s t s / l i m i t s ,   w h i c h   m e a n s   i n i t   c o n t a i n e r s   c a n   r e s e r v e   r e s o u r c e s   f o r   i n i t i a l i z a t i o n   t h a t   a r e   n o t   u s e d   d u r i n g   t h e   l i f e   o f   t h e   P o d . T h e   Q o S   ( q u a l i t y   o f   s e r v i c e )   t i e r   o f   t h e   P o d ' s   e f f e c t i v e   Q o S   t i e r   i s   t h e   Q o S   t i e r   f o r   i n i t   c o n t a i n e r s   a n d   a p p   c o n t a i n e r s   a l i k e .   t h e   s u m   o f   a l l   a p p   c o n t a i n e r s   r e q u e s t / l i m i t   f o r   a   r e s o u r c e t h e   e f f e c t i v e   i n i t   r e q u e s t / l i m i t   f o r   a   r e s o u r c e   Q u o t a   a n d   l i m i t s   a r e   a p p l i e d   b a s e d   o n   t h e   e f f e c t i v e   P o d   r e q u e s t   a n d   l i m i t .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/init-containers/",
    "id": "k8s_00284_section_3_5314"
  },
  {
    "question": "What is Init containers and Linux cgroups?",
    "answer": "O n   L i n u x ,   r e s o u r c e   a l l o c a t i o n s   f o r   P o d   l e v e l   c o n t r o l   g r o u p s   ( c g r o u p s )   a r e   b a s e d   o n   t h e   e f f e c t i v e   P o d   r e q u e s t   a n d   l i m i t ,   t h e   s a m e   a s   t h e   s c h e d u l e r .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/init-containers/",
    "id": "k8s_00284_section_3_5315"
  },
  {
    "question": "What is Pod restart reasons?",
    "answer": "A   P o d   c a n   r e s t a r t ,   c a u s i n g   r e - e x e c u t i o n   o f   i n i t   c o n t a i n e r s ,   f o r   t h e   f o l l o w i n g   r e a s o n s :   T h e   P o d   i n f r a s t r u c t u r e   c o n t a i n e r   i s   r e s t a r t e d .   T h i s   i s   u n c o m m o n   a n d   w o u l d   h a v e   t o   b e   d o n e   b y   s o m e o n e   w i t h   r o o t   a c c e s s   t o   n o d e s . A l l   c o n t a i n e r s   i n   a   P o d   a r e   t e r m i n a t e d   w h i l e   r e s t a r t P o l i c y   i s   s e t   t o   A l w a y s ,   f o r c i n g   a   r e s t a r t ,   a n d   t h e   i n i t   c o n t a i n e r   c o m p l e t i o n   r e c o r d   h a s   b e e n   l o s t   d u e   t o   g a r b a g e   c o l l e c t i o n .   T h e   P o d   w i l l   n o t   b e   r e s t a r t e d   w h e n   t h e   i n i t   c o n t a i n e r   i m a g e   i s   c h a n g e d ,   o r   t h e   i n i t   c o n t a i n e r   c o m p l e t i o n   r e c o r d   h a s   b e e n   l o s t   d u e   t o   g a r b a g e   c o l l e c t i o n .   T h i s   a p p l i e s   f o r   K u b e r n e t e s   v 1 . 2 0   a n d   l a t e r .   I f   y o u   a r e   u s i n g   a n   e a r l i e r   v e r s i o n   o f   K u b e r n e t e s ,   c o n s u l t   t h e   d o c u m e n t a t i o n   f o r   t h e   v e r s i o n   y o u   a r e   u s i n g .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/init-containers/",
    "id": "k8s_00284_section_3_5316"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   t h e   f o l l o w i n g :   C r e a t i n g   a   P o d   t h a t   h a s   a n   i n i t   c o n t a i n e r . D e b u g   i n i t   c o n t a i n e r s . O v e r v i e w   o f   k u b e l e t   a n d   k u b e c t l . T y p e s   o f   p r o b e s :   l i v e n e s s ,   r e a d i n e s s ,   s t a r t u p   p r o b e . S i d e c a r   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/init-containers/",
    "id": "k8s_00284_section_2_5317"
  },
  {
    "question": "What is Run a Stateless Application Using a Deployment?",
    "answer": "Run a Stateless Application Using a DeploymentThis page shows how to run an application using a Kubernetes Deployment object.ObjectivesCreate an nginx deployment.Use kubectl to list information about the deployment.Update the deployment.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.9.To check the version, enter kubectl version.Creating and exploring an nginx deploymentYou can run an application by creating a Kubernetes Deployment object, and you can describe a Deployment in a YAML file. For example, this YAML file describes a Deployment that runs the nginx:1.14.2 Docker image:application/deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment spec: selector: matchLabels: app: nginx replicas: 2 # tells deployment to run 2 pods matching the template template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx:1.14.2 ports: - containerPort: 80 Create a Deployment based on the YAML file:kubectl apply -f https://k8s.io/examples/application/deployment.yaml Display information about the Deployment:kubectl describe deployment nginx-deployment The output is similar to this:Name: nginx-deployment Namespace: default CreationTimestamp: Tue, 30 Aug 2016 18:11:37 -0700 Labels: app=nginx Annotations: deployment.kubernetes.io/revision=1 Selector: app=nginx Replicas: 2 desired | 2 updated | 2 total | 2 available | 0 unavailable StrategyType: RollingUpdate MinReadySeconds: 0 RollingUpdateStrategy: 1 max unavailable, 1 max surge Pod Template: Labels: app=nginx Containers: nginx: Image: nginx:1.14.2 Port: 80/TCP Environment: <none> Mounts: <none> Volumes: <none> Conditions: Type Status Reason ---- ------ ------ Available True MinimumReplicasAvailable Progressing True NewReplicaSetAvailable OldReplicaSets: <none> NewReplicaSet: nginx-deployment-1771418926 (2/2 replicas created) No events. List the Pods created by the deployment:kubectl get pods -l app=nginx The output is similar to this:NAME READY STATUS RESTARTS AGE nginx-deployment-1771418926-7o5ns 1/1 Running 0 16h nginx-deployment-1771418926-r18az 1/1 Running 0 16h Display information about a Pod:kubectl describe pod <pod-name> where <pod-name> is the name of one of your Pods.Updating the deploymentYou can update the deployment by applying a new YAML file. This YAML file specifies that the deployment should be updated to use nginx 1.16.1.application/deployment-update.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment spec: selector: matchLabels: app: nginx replicas: 2 template: metadata: labels",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-stateless-application-deployment/",
    "id": "k8s_00285_qa_5318"
  },
  {
    "question": "How does Run a Stateless Application Using a Deployment work?",
    "answer": "Run a Stateless Application Using a DeploymentThis page shows how to run an application using a Kubernetes Deployment object.ObjectivesCreate an nginx deployment.Use kubectl to list information about the deployment.Update the deployment.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.9.To check the version, enter kubectl version.Creating and exploring an nginx deploymentYou can run an application by creating a Kubernetes Deployment object, and you can describe a Deployment in a YAML file. For example, this YAML file describes a Deployment that runs the nginx:1.14.2 Docker image:application/deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment spec: selector: matchLabels: app: nginx replicas: 2 # tells deployment to run 2 pods matching the template template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx:1.14.2 ports: - containerPort: 80 Create a Deployment based on the YAML file:kubectl apply -f https://k8s.io/examples/application/deployment.yaml Display information about the Deployment:kubectl describe deployment nginx-deployment The output is similar to this:Name: nginx-deployment Namespace: default CreationTimestamp: Tue, 30 Aug 2016 18:11:37 -0700 Labels: app=nginx Annotations: deployment.kubernetes.io/revision=1 Selector: app=nginx Replicas: 2 desired | 2 updated | 2 total | 2 available | 0 unavailable StrategyType: RollingUpdate MinReadySeconds: 0 RollingUpdateStrategy: 1 max unavailable, 1 max surge Pod Template: Labels: app=nginx Containers: nginx: Image: nginx:1.14.2 Port: 80/TCP Environment: <none> Mounts: <none> Volumes: <none> Conditions: Type Status Reason ---- ------ ------ Available True MinimumReplicasAvailable Progressing True NewReplicaSetAvailable OldReplicaSets: <none> NewReplicaSet: nginx-deployment-1771418926 (2/2 replicas created) No events. List the Pods created by the deployment:kubectl get pods -l app=nginx The output is similar to this:NAME READY STATUS RESTARTS AGE nginx-deployment-1771418926-7o5ns 1/1 Running 0 16h nginx-deployment-1771418926-r18az 1/1 Running 0 16h Display information about a Pod:kubectl describe pod <pod-name> where <pod-name> is the name of one of your Pods.Updating the deploymentYou can update the deployment by applying a new YAML file. This YAML file specifies that the deployment should be updated to use nginx 1.16.1.application/deployment-update.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment spec: selector: matchLabels: app: nginx replicas: 2 template: metadata: labels",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-stateless-application-deployment/",
    "id": "k8s_00285_qa_5319"
  },
  {
    "question": "When would you use Run a Stateless Application Using a Deployment?",
    "answer": "Run a Stateless Application Using a DeploymentThis page shows how to run an application using a Kubernetes Deployment object.ObjectivesCreate an nginx deployment.Use kubectl to list information about the deployment.Update the deployment.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.9.To check the version, enter kubectl version.Creating and exploring an nginx deploymentYou can run an application by creating a Kubernetes Deployment object, and you can describe a Deployment in a YAML file. For example, this YAML file describes a Deployment that runs the nginx:1.14.2 Docker image:application/deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment spec: selector: matchLabels: app: nginx replicas: 2 # tells deployment to run 2 pods matching the template template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx:1.14.2 ports: - containerPort: 80 Create a Deployment based on the YAML file:kubectl apply -f https://k8s.io/examples/application/deployment.yaml Display information about the Deployment:kubectl describe deployment nginx-deployment The output is similar to this:Name: nginx-deployment Namespace: default CreationTimestamp: Tue, 30 Aug 2016 18:11:37 -0700 Labels: app=nginx Annotations: deployment.kubernetes.io/revision=1 Selector: app=nginx Replicas: 2 desired | 2 updated | 2 total | 2 available | 0 unavailable StrategyType: RollingUpdate MinReadySeconds: 0 RollingUpdateStrategy: 1 max unavailable, 1 max surge Pod Template: Labels: app=nginx Containers: nginx: Image: nginx:1.14.2 Port: 80/TCP Environment: <none> Mounts: <none> Volumes: <none> Conditions: Type Status Reason ---- ------ ------ Available True MinimumReplicasAvailable Progressing True NewReplicaSetAvailable OldReplicaSets: <none> NewReplicaSet: nginx-deployment-1771418926 (2/2 replicas created) No events. List the Pods created by the deployment:kubectl get pods -l app=nginx The output is similar to this:NAME READY STATUS RESTARTS AGE nginx-deployment-1771418926-7o5ns 1/1 Running 0 16h nginx-deployment-1771418926-r18az 1/1 Running 0 16h Display information about a Pod:kubectl describe pod <pod-name> where <pod-name> is the name of one of your Pods.Updating the deploymentYou can update the deployment by applying a new YAML file. This YAML file specifies that the deployment should be updated to use nginx 1.16.1.application/deployment-update.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment spec: selector: matchLabels: app: nginx replicas: 2 template: metadata: labels",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-stateless-application-deployment/",
    "id": "k8s_00285_qa_5320"
  },
  {
    "question": "What are the benefits of Run a Stateless Application Using a Deployment?",
    "answer": "Run a Stateless Application Using a DeploymentThis page shows how to run an application using a Kubernetes Deployment object.ObjectivesCreate an nginx deployment.Use kubectl to list information about the deployment.Update the deployment.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.9.To check the version, enter kubectl version.Creating and exploring an nginx deploymentYou can run an application by creating a Kubernetes Deployment object, and you can describe a Deployment in a YAML file. For example, this YAML file describes a Deployment that runs the nginx:1.14.2 Docker image:application/deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment spec: selector: matchLabels: app: nginx replicas: 2 # tells deployment to run 2 pods matching the template template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx:1.14.2 ports: - containerPort: 80 Create a Deployment based on the YAML file:kubectl apply -f https://k8s.io/examples/application/deployment.yaml Display information about the Deployment:kubectl describe deployment nginx-deployment The output is similar to this:Name: nginx-deployment Namespace: default CreationTimestamp: Tue, 30 Aug 2016 18:11:37 -0700 Labels: app=nginx Annotations: deployment.kubernetes.io/revision=1 Selector: app=nginx Replicas: 2 desired | 2 updated | 2 total | 2 available | 0 unavailable StrategyType: RollingUpdate MinReadySeconds: 0 RollingUpdateStrategy: 1 max unavailable, 1 max surge Pod Template: Labels: app=nginx Containers: nginx: Image: nginx:1.14.2 Port: 80/TCP Environment: <none> Mounts: <none> Volumes: <none> Conditions: Type Status Reason ---- ------ ------ Available True MinimumReplicasAvailable Progressing True NewReplicaSetAvailable OldReplicaSets: <none> NewReplicaSet: nginx-deployment-1771418926 (2/2 replicas created) No events. List the Pods created by the deployment:kubectl get pods -l app=nginx The output is similar to this:NAME READY STATUS RESTARTS AGE nginx-deployment-1771418926-7o5ns 1/1 Running 0 16h nginx-deployment-1771418926-r18az 1/1 Running 0 16h Display information about a Pod:kubectl describe pod <pod-name> where <pod-name> is the name of one of your Pods.Updating the deploymentYou can update the deployment by applying a new YAML file. This YAML file specifies that the deployment should be updated to use nginx 1.16.1.application/deployment-update.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment spec: selector: matchLabels: app: nginx replicas: 2 template: metadata: labels",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-stateless-application-deployment/",
    "id": "k8s_00285_qa_5321"
  },
  {
    "question": "What is Run a Stateless Application Using a Deployment?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   r u n   a n   a p p l i c a t i o n   u s i n g   a   K u b e r n e t e s   D e p l o y m e n t   o b j e c t .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-stateless-application-deployment/",
    "id": "k8s_00285_section_1_5322"
  },
  {
    "question": "What is Objectives?",
    "answer": "C r e a t e   a n   n g i n x   d e p l o y m e n t . U s e   k u b e c t l   t o   l i s t   i n f o r m a t i o n   a b o u t   t h e   d e p l o y m e n t . U p d a t e   t h e   d e p l o y m e n t .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-stateless-application-deployment/",
    "id": "k8s_00285_section_2_5323"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 9 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-stateless-application-deployment/",
    "id": "k8s_00285_section_2_5324"
  },
  {
    "question": "What is Creating and exploring an nginx deployment?",
    "answer": "Y o u   c a n   r u n   a n   a p p l i c a t i o n   b y   c r e a t i n g   a   K u b e r n e t e s   D e p l o y m e n t   o b j e c t ,   a n d   y o u   c a n   d e s c r i b e   a   D e p l o y m e n t   i n   a   Y A M L   f i l e .   F o r   e x a m p l e ,   t h i s   Y A M L   f i l e   d e s c r i b e s   a   D e p l o y m e n t   t h a t   r u n s   t h e   n g i n x : 1 . 1 4 . 2   D o c k e r   i m a g e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   r e p l i c a s :   2   #   t e l l s   d e p l o y m e n t   t o   r u n   2   p o d s   m a t c h i n g   t h e   t e m p l a t e   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0   C r e a t e   a   D e p l o y m e n t   b a s e d   o n   t h e   Y A M L   f i l e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / d e p l o y m e n t . y a m l   D i s p l a y   i n f o r m a t i o n   a b o u t   t h e   D e p l o y m e n t : k u b e c t l   d e s c r i b e   d e p l o y m e n t   n g i n x - d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N a m e :   n g i n x - d e p l o y m e n t   N a m e s p a c e :   d e f a u l t   C r e a t i o n T i m e s t a m p :   T u e ,   3 0   A u g   2 0 1 6   1 8 : 1 1 : 3 7   - 0 7 0 0   L a b e l s :   a p p = n g i n x   A n n o t a t i o n s :   d e p l o y m e n t . k u b e r n e t e s . i o / r e v i s i o n = 1   S e l e c t o r :   a p p = n g i n x   R e p l i c a s :   2   d e s i r e d   |   2   u p d a t e d   |   2   t o t a l   |   2   a v a i l a b l e   |   0   u n a v a i l a b l e   S t r a t e g y T y p e ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-stateless-application-deployment/",
    "id": "k8s_00285_section_2_5325"
  },
  {
    "question": "What is Updating the deployment?",
    "answer": "Y o u   c a n   u p d a t e   t h e   d e p l o y m e n t   b y   a p p l y i n g   a   n e w   Y A M L   f i l e .   T h i s   Y A M L   f i l e   s p e c i f i e s   t h a t   t h e   d e p l o y m e n t   s h o u l d   b e   u p d a t e d   t o   u s e   n g i n x   1 . 1 6 . 1 .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   r e p l i c a s :   2   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 6 . 1   #   U p d a t e   t h e   v e r s i o n   o f   n g i n x   f r o m   1 . 1 4 . 2   t o   1 . 1 6 . 1   p o r t s :   -   c o n t a i n e r P o r t :   8 0   A p p l y   t h e   n e w   Y A M L   f i l e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / d e p l o y m e n t - u p d a t e . y a m l   W a t c h   t h e   d e p l o y m e n t   c r e a t e   p o d s   w i t h   n e w   n a m e s   a n d   d e l e t e   t h e   o l d   p o d s : k u b e c t l   g e t   p o d s   - l   a p p = n g i n x   A p p l y   t h e   n e w   Y A M L   f i l e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / d e p l o y m e n t - u p d a t e . y a m l   W a t c h   t h e   d e p l o y m e n t   c r e a t e   p o d s   w i t h   n e w   n a m e s   a n d   d e l e t e   t h e   o l d   p o d s :   k u b e c t l   g e t   p o d s   - l   a p p = n g i n x",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-stateless-application-deployment/",
    "id": "k8s_00285_section_2_5326"
  },
  {
    "question": "What is Scaling the application by increasing the replica count?",
    "answer": "Y o u   c a n   i n c r e a s e   t h e   n u m b e r   o f   P o d s   i n   y o u r   D e p l o y m e n t   b y   a p p l y i n g   a   n e w   Y A M L   f i l e .   T h i s   Y A M L   f i l e   s e t s   r e p l i c a s   t o   4 ,   w h i c h   s p e c i f i e s   t h a t   t h e   D e p l o y m e n t   s h o u l d   h a v e   f o u r   P o d s :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   r e p l i c a s :   4   #   U p d a t e   t h e   r e p l i c a s   f r o m   2   t o   4   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 6 . 1   p o r t s :   -   c o n t a i n e r P o r t :   8 0   A p p l y   t h e   n e w   Y A M L   f i l e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / d e p l o y m e n t - s c a l e . y a m l   V e r i f y   t h a t   t h e   D e p l o y m e n t   h a s   f o u r   P o d s : k u b e c t l   g e t   p o d s   - l   a p p = n g i n x   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   n g i n x - d e p l o y m e n t - 1 4 8 8 8 0 5 9 5 - 4 z d q q   1 / 1   R u n n i n g   0   2 5 s   n g i n x - d e p l o y m e n t - 1 4 8 8 8 0 5 9 5 - 6 z g i 1   1 / 1   R u n n i n g   0   2 5 s   n g i n x - d e p l o y m e n t - 1 4 8 8 8 0 5 9 5 - f x c e z   1 / 1   R u n n i n g   0   2 m   n g i n x - d e p l o y m e n t - 1 4 8 8 8 0 5 9 5 - r w o v n   1 / 1   R u n n i n g   0   2 m   A p p l y   t h e   n e w   Y A M L   f i l e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / d e p l o y m e n t - s c a l e . y a m l   V e r i f y   t h a t   t h e ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-stateless-application-deployment/",
    "id": "k8s_00285_section_2_5327"
  },
  {
    "question": "What is Deleting a deployment?",
    "answer": "D e l e t e   t h e   d e p l o y m e n t   b y   n a m e :   k u b e c t l   d e l e t e   d e p l o y m e n t   n g i n x - d e p l o y m e n t",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-stateless-application-deployment/",
    "id": "k8s_00285_section_2_5328"
  },
  {
    "question": "What is ReplicationControllers -- the Old Way?",
    "answer": "T h e   p r e f e r r e d   w a y   t o   c r e a t e   a   r e p l i c a t e d   a p p l i c a t i o n   i s   t o   u s e   a   D e p l o y m e n t ,   w h i c h   i n   t u r n   u s e s   a   R e p l i c a S e t .   B e f o r e   t h e   D e p l o y m e n t   a n d   R e p l i c a S e t   w e r e   a d d e d   t o   K u b e r n e t e s ,   r e p l i c a t e d   a p p l i c a t i o n s   w e r e   c o n f i g u r e d   u s i n g   a   R e p l i c a t i o n C o n t r o l l e r .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-stateless-application-deployment/",
    "id": "k8s_00285_section_2_5329"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   D e p l o y m e n t   o b j e c t s .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-stateless-application-deployment/",
    "id": "k8s_00285_section_2_5330"
  },
  {
    "question": "What is Job with Pod-to-Pod Communication?",
    "answer": "Job with Pod-to-Pod CommunicationIn this example, you will run a Job in Indexed completion mode configured such that the pods created by the Job can communicate with each other using pod hostnames rather than pod IP addresses.Pods within a Job might need to communicate among themselves. The user workload running in each pod could query the Kubernetes API server to learn the IPs of the other Pods, but it's much simpler to rely on Kubernetes' built-in DNS resolution.Jobs in Indexed completion mode automatically set the pods' hostname to be in the format of ${jobName}-${completionIndex}. You can use this format to deterministically build pod hostnames and enable pod communication without needing to create a client connection to the Kubernetes control plane to obtain pod hostnames/IPs via API requests.This configuration is useful for use cases where pod networking is required but you don't want to depend on a network connection with the Kubernetes API server.Before you beginYou should already be familiar with the basic use of Job.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.21.To check the version, enter kubectl version.Note:If you are using minikube or a similar tool, you may need to take extra steps to ensure you have DNS.Starting a Job with pod-to-pod communicationTo enable pod-to-pod communication using pod hostnames in a Job, you must do the following:Set up a headless Service with a valid label selector for the pods created by your Job. The headless service must be in the same namespace as the Job. One easy way to do this is to use the job-name: <your-job-name> selector, since the job-name label will be automatically added by Kubernetes. This configuration will trigger the DNS system to create records of the hostnames of the pods running your Job.Configure the headless service as subdomain service for the Job pods by including the following value in your Job template spec:subdomain: <headless-svc-name> ExampleBelow is a working example of a Job with pod-to-pod communication via pod hostnames enabled. The Job is completed only after all pods successfully ping each other using hostnames.Note:In the Bash script executed on each pod in the example below, the pod hostnames can be prefixed by the namespace as well if the pod needs to be reached from outside the namespace.apiVersion: v1 kind: Service metadata: name: headless-svc spec: clusterIP: None # clusterIP must be None to create a headless service selector: job-name: example-job # must match Job name --- apiVersion: batch/v1 kind: Job metadata: name: example-job spec",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/job-with-pod-to-pod-communication/",
    "id": "k8s_00286_qa_5331"
  },
  {
    "question": "How does Job with Pod-to-Pod Communication work?",
    "answer": "Job with Pod-to-Pod CommunicationIn this example, you will run a Job in Indexed completion mode configured such that the pods created by the Job can communicate with each other using pod hostnames rather than pod IP addresses.Pods within a Job might need to communicate among themselves. The user workload running in each pod could query the Kubernetes API server to learn the IPs of the other Pods, but it's much simpler to rely on Kubernetes' built-in DNS resolution.Jobs in Indexed completion mode automatically set the pods' hostname to be in the format of ${jobName}-${completionIndex}. You can use this format to deterministically build pod hostnames and enable pod communication without needing to create a client connection to the Kubernetes control plane to obtain pod hostnames/IPs via API requests.This configuration is useful for use cases where pod networking is required but you don't want to depend on a network connection with the Kubernetes API server.Before you beginYou should already be familiar with the basic use of Job.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.21.To check the version, enter kubectl version.Note:If you are using minikube or a similar tool, you may need to take extra steps to ensure you have DNS.Starting a Job with pod-to-pod communicationTo enable pod-to-pod communication using pod hostnames in a Job, you must do the following:Set up a headless Service with a valid label selector for the pods created by your Job. The headless service must be in the same namespace as the Job. One easy way to do this is to use the job-name: <your-job-name> selector, since the job-name label will be automatically added by Kubernetes. This configuration will trigger the DNS system to create records of the hostnames of the pods running your Job.Configure the headless service as subdomain service for the Job pods by including the following value in your Job template spec:subdomain: <headless-svc-name> ExampleBelow is a working example of a Job with pod-to-pod communication via pod hostnames enabled. The Job is completed only after all pods successfully ping each other using hostnames.Note:In the Bash script executed on each pod in the example below, the pod hostnames can be prefixed by the namespace as well if the pod needs to be reached from outside the namespace.apiVersion: v1 kind: Service metadata: name: headless-svc spec: clusterIP: None # clusterIP must be None to create a headless service selector: job-name: example-job # must match Job name --- apiVersion: batch/v1 kind: Job metadata: name: example-job spec",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/job-with-pod-to-pod-communication/",
    "id": "k8s_00286_qa_5332"
  },
  {
    "question": "When would you use Job with Pod-to-Pod Communication?",
    "answer": "Job with Pod-to-Pod CommunicationIn this example, you will run a Job in Indexed completion mode configured such that the pods created by the Job can communicate with each other using pod hostnames rather than pod IP addresses.Pods within a Job might need to communicate among themselves. The user workload running in each pod could query the Kubernetes API server to learn the IPs of the other Pods, but it's much simpler to rely on Kubernetes' built-in DNS resolution.Jobs in Indexed completion mode automatically set the pods' hostname to be in the format of ${jobName}-${completionIndex}. You can use this format to deterministically build pod hostnames and enable pod communication without needing to create a client connection to the Kubernetes control plane to obtain pod hostnames/IPs via API requests.This configuration is useful for use cases where pod networking is required but you don't want to depend on a network connection with the Kubernetes API server.Before you beginYou should already be familiar with the basic use of Job.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.21.To check the version, enter kubectl version.Note:If you are using minikube or a similar tool, you may need to take extra steps to ensure you have DNS.Starting a Job with pod-to-pod communicationTo enable pod-to-pod communication using pod hostnames in a Job, you must do the following:Set up a headless Service with a valid label selector for the pods created by your Job. The headless service must be in the same namespace as the Job. One easy way to do this is to use the job-name: <your-job-name> selector, since the job-name label will be automatically added by Kubernetes. This configuration will trigger the DNS system to create records of the hostnames of the pods running your Job.Configure the headless service as subdomain service for the Job pods by including the following value in your Job template spec:subdomain: <headless-svc-name> ExampleBelow is a working example of a Job with pod-to-pod communication via pod hostnames enabled. The Job is completed only after all pods successfully ping each other using hostnames.Note:In the Bash script executed on each pod in the example below, the pod hostnames can be prefixed by the namespace as well if the pod needs to be reached from outside the namespace.apiVersion: v1 kind: Service metadata: name: headless-svc spec: clusterIP: None # clusterIP must be None to create a headless service selector: job-name: example-job # must match Job name --- apiVersion: batch/v1 kind: Job metadata: name: example-job spec",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/job-with-pod-to-pod-communication/",
    "id": "k8s_00286_qa_5333"
  },
  {
    "question": "What are the benefits of Job with Pod-to-Pod Communication?",
    "answer": "Job with Pod-to-Pod CommunicationIn this example, you will run a Job in Indexed completion mode configured such that the pods created by the Job can communicate with each other using pod hostnames rather than pod IP addresses.Pods within a Job might need to communicate among themselves. The user workload running in each pod could query the Kubernetes API server to learn the IPs of the other Pods, but it's much simpler to rely on Kubernetes' built-in DNS resolution.Jobs in Indexed completion mode automatically set the pods' hostname to be in the format of ${jobName}-${completionIndex}. You can use this format to deterministically build pod hostnames and enable pod communication without needing to create a client connection to the Kubernetes control plane to obtain pod hostnames/IPs via API requests.This configuration is useful for use cases where pod networking is required but you don't want to depend on a network connection with the Kubernetes API server.Before you beginYou should already be familiar with the basic use of Job.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.21.To check the version, enter kubectl version.Note:If you are using minikube or a similar tool, you may need to take extra steps to ensure you have DNS.Starting a Job with pod-to-pod communicationTo enable pod-to-pod communication using pod hostnames in a Job, you must do the following:Set up a headless Service with a valid label selector for the pods created by your Job. The headless service must be in the same namespace as the Job. One easy way to do this is to use the job-name: <your-job-name> selector, since the job-name label will be automatically added by Kubernetes. This configuration will trigger the DNS system to create records of the hostnames of the pods running your Job.Configure the headless service as subdomain service for the Job pods by including the following value in your Job template spec:subdomain: <headless-svc-name> ExampleBelow is a working example of a Job with pod-to-pod communication via pod hostnames enabled. The Job is completed only after all pods successfully ping each other using hostnames.Note:In the Bash script executed on each pod in the example below, the pod hostnames can be prefixed by the namespace as well if the pod needs to be reached from outside the namespace.apiVersion: v1 kind: Service metadata: name: headless-svc spec: clusterIP: None # clusterIP must be None to create a headless service selector: job-name: example-job # must match Job name --- apiVersion: batch/v1 kind: Job metadata: name: example-job spec",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/job-with-pod-to-pod-communication/",
    "id": "k8s_00286_qa_5334"
  },
  {
    "question": "What is Job with Pod-to-Pod Communication?",
    "answer": "I n   t h i s   e x a m p l e ,   y o u   w i l l   r u n   a   J o b   i n   I n d e x e d   c o m p l e t i o n   m o d e   c o n f i g u r e d   s u c h   t h a t   t h e   p o d s   c r e a t e d   b y   t h e   J o b   c a n   c o m m u n i c a t e   w i t h   e a c h   o t h e r   u s i n g   p o d   h o s t n a m e s   r a t h e r   t h a n   p o d   I P   a d d r e s s e s .   P o d s   w i t h i n   a   J o b   m i g h t   n e e d   t o   c o m m u n i c a t e   a m o n g   t h e m s e l v e s .   T h e   u s e r   w o r k l o a d   r u n n i n g   i n   e a c h   p o d   c o u l d   q u e r y   t h e   K u b e r n e t e s   A P I   s e r v e r   t o   l e a r n   t h e   I P s   o f   t h e   o t h e r   P o d s ,   b u t   i t ' s   m u c h   s i m p l e r   t o   r e l y   o n   K u b e r n e t e s '   b u i l t - i n   D N S   r e s o l u t i o n .   J o b s   i n   I n d e x e d   c o m p l e t i o n   m o d e   a u t o m a t i c a l l y   s e t   t h e   p o d s '   h o s t n a m e   t o   b e   i n   t h e   f o r m a t   o f   $ { j o b N a m e } - $ { c o m p l e t i o n I n d e x } .   Y o u   c a n   u s e   t h i s   f o r m a t   t o   d e t e r m i n i s t i c a l l y   b u i l d   p o d   h o s t n a m e s   a n d   e n a b l e   p o d   c o m m u n i c a t i o n   w i t h o u t   n e e d i n g   t o   c r e a t e   a   c l i e n t   c o n n e c t i o n   t o   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   t o   o b t a i n   p o d   h o s t n a m e s / I P s   v i a   A P I   r e q u e s t s .   T h i s   c o n f i g u r a t i o n   i s   u s e f u l   f o r   u s e   c a s e s   w h e r e   p o d   n e t w o r k i n g   i s   r e q u i r e d   b u t   y o u   d o n ' t   w a n t   t o   d e p e n d   o n   a   n e t w o r k   c o n n e c t i o n   w i t h   t h e   K u b e r n e t e s   A P I   s e r v e r .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/job-with-pod-to-pod-communication/",
    "id": "k8s_00286_section_1_5335"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   s h o u l d   a l r e a d y   b e   f a m i l i a r   w i t h   t h e   b a s i c   u s e   o f   J o b .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 2 1 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/job-with-pod-to-pod-communication/",
    "id": "k8s_00286_section_2_5336"
  },
  {
    "question": "What is Starting a Job with pod-to-pod communication?",
    "answer": "T o   e n a b l e   p o d - t o - p o d   c o m m u n i c a t i o n   u s i n g   p o d   h o s t n a m e s   i n   a   J o b ,   y o u   m u s t   d o   t h e   f o l l o w i n g :   S e t   u p   a   h e a d l e s s   S e r v i c e   w i t h   a   v a l i d   l a b e l   s e l e c t o r   f o r   t h e   p o d s   c r e a t e d   b y   y o u r   J o b .   T h e   h e a d l e s s   s e r v i c e   m u s t   b e   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   J o b .   O n e   e a s y   w a y   t o   d o   t h i s   i s   t o   u s e   t h e   j o b - n a m e :   < y o u r - j o b - n a m e >   s e l e c t o r ,   s i n c e   t h e   j o b - n a m e   l a b e l   w i l l   b e   a u t o m a t i c a l l y   a d d e d   b y   K u b e r n e t e s .   T h i s   c o n f i g u r a t i o n   w i l l   t r i g g e r   t h e   D N S   s y s t e m   t o   c r e a t e   r e c o r d s   o f   t h e   h o s t n a m e s   o f   t h e   p o d s   r u n n i n g   y o u r   J o b . C o n f i g u r e   t h e   h e a d l e s s   s e r v i c e   a s   s u b d o m a i n   s e r v i c e   f o r   t h e   J o b   p o d s   b y   i n c l u d i n g   t h e   f o l l o w i n g   v a l u e   i n   y o u r   J o b   t e m p l a t e   s p e c : s u b d o m a i n :   < h e a d l e s s - s v c - n a m e >   S e t   u p   a   h e a d l e s s   S e r v i c e   w i t h   a   v a l i d   l a b e l   s e l e c t o r   f o r   t h e   p o d s   c r e a t e d   b y   y o u r   J o b .   T h e   h e a d l e s s   s e r v i c e   m u s t   b e   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   J o b .   O n e   e a s y   w a y   t o   d o   t h i s   i s   t o   u s e   t h e   j o b - n a m e :   < y o u r - j o b - n a m e >   s e l e c t o r ,   s i n c e   t h e   j o b - n a m e   l a b e l   w i l l   b e   a u t o m a t i c a l l y   a d d e d   b y   K u b e r n e t e s .   T h i s   c o n f i g u r a t i o n   w i l l   t r i g g e r   t h e   D N S   s y s t e m   t o   c r ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/job-with-pod-to-pod-communication/",
    "id": "k8s_00286_section_2_5337"
  },
  {
    "question": "What is Example?",
    "answer": "B e l o w   i s   a   w o r k i n g   e x a m p l e   o f   a   J o b   w i t h   p o d - t o - p o d   c o m m u n i c a t i o n   v i a   p o d   h o s t n a m e s   e n a b l e d .   T h e   J o b   i s   c o m p l e t e d   o n l y   a f t e r   a l l   p o d s   s u c c e s s f u l l y   p i n g   e a c h   o t h e r   u s i n g   h o s t n a m e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/job-with-pod-to-pod-communication/",
    "id": "k8s_00286_section_3_5338"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   h e a d l e s s - s v c   s p e c :   c l u s t e r I P :   N o n e   #   c l u s t e r I P   m u s t   b e   N o n e   t o   c r e a t e   a   h e a d l e s s   s e r v i c e   s e l e c t o r :   j o b - n a m e :   e x a m p l e - j o b   #   m u s t   m a t c h   J o b   n a m e   - - -   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   e x a m p l e - j o b   s p e c :   c o m p l e t i o n s :   3   p a r a l l e l i s m :   3   c o m p l e t i o n M o d e :   I n d e x e d   t e m p l a t e :   s p e c :   s u b d o m a i n :   h e a d l e s s - s v c   #   h a s   t o   m a t c h   S e r v i c e   n a m e   r e s t a r t P o l i c y :   N e v e r   c o n t a i n e r s :   -   n a m e :   e x a m p l e - w o r k l o a d   i m a g e :   b a s h : l a t e s t   c o m m a n d :   -   b a s h   -   - c   -   |   f o r   i   i n   0   1   2   d o   g o t S t a t u s = \" - 1 \"   w a n t S t a t u s = \" 0 \"   w h i l e   [   $ g o t S t a t u s   - n e   $ w a n t S t a t u s   ]   d o   p i n g   - c   1   e x a m p l e - j o b - $ { i } . h e a d l e s s - s v c   >   / d e v / n u l l   2 > & 1   g o t S t a t u s = $ ?   i f   [   $ g o t S t a t u s   - n e   $ w a n t S t a t u s   ] ;   t h e n   e c h o   \" F a i l e d   t o   p i n g   p o d   e x a m p l e - j o b - $ { i } . h e a d l e s s - s v c ,   r e t r y i n g   i n   1   s e c o n d . . . \"   s l e e p   1   f i   d o n e   e c h o   \" S u c c e s s f u l l y   p i n g e d   p o d :   e x a m p l e - j o b - $ { i } . h e a d l e s s - s v c \"   d o n e   A f t e r   a p p l y i n g   t h e   e x a m p l e   a b o v e ,   r e a c h   e a c h   o t h e r   o v e r   t h e   n e t w o r k   u s i n g :   < p o d - h o s t n a m e > . < h e a d l e s s - s e r v i c e - n a m e > .   Y o u   s h o u l d   s e e   o u t p u t   s i m i l a r   t o   t h e   f o l l o ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/job-with-pod-to-pod-communication/",
    "id": "k8s_00286_section_4_5339"
  },
  {
    "question": "What is kubectl delete?",
    "answer": "kubectl deleteSynopsisDelete resources by file names, stdin, resources and names, or by resources and label selector.JSON and YAML formats are accepted. Only one type of argument may be specified: file names, resources and names, or resources and label selector.Some resources, such as pods, support graceful deletion. These resources define a default period before they are forcibly terminated (the grace period) but you may override that value with the --grace-period flag, or pass --now to set a grace-period of 1. Because these resources often represent entities in the cluster, deletion may not be acknowledged immediately. If the node hosting a pod is down or cannot reach the API server, termination may take significantly longer than the grace period. To force delete a resource, you must specify the --force flag. Note: only a subset of resources support graceful deletion. In absence of the support, the --grace-period flag is ignored.IMPORTANT: Force deleting pods does not wait for confirmation that the pod's processes have been terminated, which can leave those processes running until the node detects the deletion and completes graceful deletion. If your processes use shared storage or talk to a remote API and depend on the name of the pod to identify themselves, force deleting those pods may result in multiple processes running on different machines using the same identification which may lead to data corruption or inconsistency. Only force delete pods when you are sure the pod is terminated, or if your application can tolerate multiple copies of the same pod running at once. Also, if you force delete pods, the scheduler may place new pods on those nodes before the node has released those resources and causing those pods to be evicted immediately.Note that the delete command does NOT do resource version checks, so if someone submits an update to a resource right when you submit a delete, their update will be lost along with the rest of the resource.After a CustomResourceDefinition is deleted, invalidation of discovery cache may take up to 6 hours. If you don't want to wait, you might want to run \"kubectl api-resources\" to refresh the discovery cache.kubectl delete ([-f FILENAME] | [-k DIRECTORY] | TYPE [(NAME | -l label | --all)]) Examples # Delete a pod using the type and name specified in pod.json kubectl delete -f ./pod.json # Delete resources from a directory containing kustomization.yaml - e.g. dir/kustomization.yaml kubectl delete -k dir # Delete resources from all files that end with '.json' kubectl delete -f '*.json' # Delete a pod based on the type and name in the JSON passed into stdin cat pod.json | kubectl delete -f - # Delete pods and services with same names \"baz\" and \"foo\" kubectl delete pod,service baz foo # Delete pods and services with label name=myLabel kubectl delete pods,services -l name=myLabel # Delete a pod with minimal delay kubectl delete pod foo --now # Force delete a pod on a dead node kubectl delete pod foo --force # D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_delete/",
    "id": "k8s_00287_qa_5340"
  },
  {
    "question": "How does kubectl delete work?",
    "answer": "kubectl deleteSynopsisDelete resources by file names, stdin, resources and names, or by resources and label selector.JSON and YAML formats are accepted. Only one type of argument may be specified: file names, resources and names, or resources and label selector.Some resources, such as pods, support graceful deletion. These resources define a default period before they are forcibly terminated (the grace period) but you may override that value with the --grace-period flag, or pass --now to set a grace-period of 1. Because these resources often represent entities in the cluster, deletion may not be acknowledged immediately. If the node hosting a pod is down or cannot reach the API server, termination may take significantly longer than the grace period. To force delete a resource, you must specify the --force flag. Note: only a subset of resources support graceful deletion. In absence of the support, the --grace-period flag is ignored.IMPORTANT: Force deleting pods does not wait for confirmation that the pod's processes have been terminated, which can leave those processes running until the node detects the deletion and completes graceful deletion. If your processes use shared storage or talk to a remote API and depend on the name of the pod to identify themselves, force deleting those pods may result in multiple processes running on different machines using the same identification which may lead to data corruption or inconsistency. Only force delete pods when you are sure the pod is terminated, or if your application can tolerate multiple copies of the same pod running at once. Also, if you force delete pods, the scheduler may place new pods on those nodes before the node has released those resources and causing those pods to be evicted immediately.Note that the delete command does NOT do resource version checks, so if someone submits an update to a resource right when you submit a delete, their update will be lost along with the rest of the resource.After a CustomResourceDefinition is deleted, invalidation of discovery cache may take up to 6 hours. If you don't want to wait, you might want to run \"kubectl api-resources\" to refresh the discovery cache.kubectl delete ([-f FILENAME] | [-k DIRECTORY] | TYPE [(NAME | -l label | --all)]) Examples # Delete a pod using the type and name specified in pod.json kubectl delete -f ./pod.json # Delete resources from a directory containing kustomization.yaml - e.g. dir/kustomization.yaml kubectl delete -k dir # Delete resources from all files that end with '.json' kubectl delete -f '*.json' # Delete a pod based on the type and name in the JSON passed into stdin cat pod.json | kubectl delete -f - # Delete pods and services with same names \"baz\" and \"foo\" kubectl delete pod,service baz foo # Delete pods and services with label name=myLabel kubectl delete pods,services -l name=myLabel # Delete a pod with minimal delay kubectl delete pod foo --now # Force delete a pod on a dead node kubectl delete pod foo --force # D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_delete/",
    "id": "k8s_00287_qa_5341"
  },
  {
    "question": "When would you use kubectl delete?",
    "answer": "kubectl deleteSynopsisDelete resources by file names, stdin, resources and names, or by resources and label selector.JSON and YAML formats are accepted. Only one type of argument may be specified: file names, resources and names, or resources and label selector.Some resources, such as pods, support graceful deletion. These resources define a default period before they are forcibly terminated (the grace period) but you may override that value with the --grace-period flag, or pass --now to set a grace-period of 1. Because these resources often represent entities in the cluster, deletion may not be acknowledged immediately. If the node hosting a pod is down or cannot reach the API server, termination may take significantly longer than the grace period. To force delete a resource, you must specify the --force flag. Note: only a subset of resources support graceful deletion. In absence of the support, the --grace-period flag is ignored.IMPORTANT: Force deleting pods does not wait for confirmation that the pod's processes have been terminated, which can leave those processes running until the node detects the deletion and completes graceful deletion. If your processes use shared storage or talk to a remote API and depend on the name of the pod to identify themselves, force deleting those pods may result in multiple processes running on different machines using the same identification which may lead to data corruption or inconsistency. Only force delete pods when you are sure the pod is terminated, or if your application can tolerate multiple copies of the same pod running at once. Also, if you force delete pods, the scheduler may place new pods on those nodes before the node has released those resources and causing those pods to be evicted immediately.Note that the delete command does NOT do resource version checks, so if someone submits an update to a resource right when you submit a delete, their update will be lost along with the rest of the resource.After a CustomResourceDefinition is deleted, invalidation of discovery cache may take up to 6 hours. If you don't want to wait, you might want to run \"kubectl api-resources\" to refresh the discovery cache.kubectl delete ([-f FILENAME] | [-k DIRECTORY] | TYPE [(NAME | -l label | --all)]) Examples # Delete a pod using the type and name specified in pod.json kubectl delete -f ./pod.json # Delete resources from a directory containing kustomization.yaml - e.g. dir/kustomization.yaml kubectl delete -k dir # Delete resources from all files that end with '.json' kubectl delete -f '*.json' # Delete a pod based on the type and name in the JSON passed into stdin cat pod.json | kubectl delete -f - # Delete pods and services with same names \"baz\" and \"foo\" kubectl delete pod,service baz foo # Delete pods and services with label name=myLabel kubectl delete pods,services -l name=myLabel # Delete a pod with minimal delay kubectl delete pod foo --now # Force delete a pod on a dead node kubectl delete pod foo --force # D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_delete/",
    "id": "k8s_00287_qa_5342"
  },
  {
    "question": "What are the benefits of kubectl delete?",
    "answer": "kubectl deleteSynopsisDelete resources by file names, stdin, resources and names, or by resources and label selector.JSON and YAML formats are accepted. Only one type of argument may be specified: file names, resources and names, or resources and label selector.Some resources, such as pods, support graceful deletion. These resources define a default period before they are forcibly terminated (the grace period) but you may override that value with the --grace-period flag, or pass --now to set a grace-period of 1. Because these resources often represent entities in the cluster, deletion may not be acknowledged immediately. If the node hosting a pod is down or cannot reach the API server, termination may take significantly longer than the grace period. To force delete a resource, you must specify the --force flag. Note: only a subset of resources support graceful deletion. In absence of the support, the --grace-period flag is ignored.IMPORTANT: Force deleting pods does not wait for confirmation that the pod's processes have been terminated, which can leave those processes running until the node detects the deletion and completes graceful deletion. If your processes use shared storage or talk to a remote API and depend on the name of the pod to identify themselves, force deleting those pods may result in multiple processes running on different machines using the same identification which may lead to data corruption or inconsistency. Only force delete pods when you are sure the pod is terminated, or if your application can tolerate multiple copies of the same pod running at once. Also, if you force delete pods, the scheduler may place new pods on those nodes before the node has released those resources and causing those pods to be evicted immediately.Note that the delete command does NOT do resource version checks, so if someone submits an update to a resource right when you submit a delete, their update will be lost along with the rest of the resource.After a CustomResourceDefinition is deleted, invalidation of discovery cache may take up to 6 hours. If you don't want to wait, you might want to run \"kubectl api-resources\" to refresh the discovery cache.kubectl delete ([-f FILENAME] | [-k DIRECTORY] | TYPE [(NAME | -l label | --all)]) Examples # Delete a pod using the type and name specified in pod.json kubectl delete -f ./pod.json # Delete resources from a directory containing kustomization.yaml - e.g. dir/kustomization.yaml kubectl delete -k dir # Delete resources from all files that end with '.json' kubectl delete -f '*.json' # Delete a pod based on the type and name in the JSON passed into stdin cat pod.json | kubectl delete -f - # Delete pods and services with same names \"baz\" and \"foo\" kubectl delete pod,service baz foo # Delete pods and services with label name=myLabel kubectl delete pods,services -l name=myLabel # Delete a pod with minimal delay kubectl delete pod foo --now # Force delete a pod on a dead node kubectl delete pod foo --force # D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_delete/",
    "id": "k8s_00287_qa_5343"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D e l e t e   r e s o u r c e s   b y   f i l e   n a m e s ,   s t d i n ,   r e s o u r c e s   a n d   n a m e s ,   o r   b y   r e s o u r c e s   a n d   l a b e l   s e l e c t o r .   J S O N   a n d   Y A M L   f o r m a t s   a r e   a c c e p t e d .   O n l y   o n e   t y p e   o f   a r g u m e n t   m a y   b e   s p e c i f i e d :   f i l e   n a m e s ,   r e s o u r c e s   a n d   n a m e s ,   o r   r e s o u r c e s   a n d   l a b e l   s e l e c t o r .   S o m e   r e s o u r c e s ,   s u c h   a s   p o d s ,   s u p p o r t   g r a c e f u l   d e l e t i o n .   T h e s e   r e s o u r c e s   d e f i n e   a   d e f a u l t   p e r i o d   b e f o r e   t h e y   a r e   f o r c i b l y   t e r m i n a t e d   ( t h e   g r a c e   p e r i o d )   b u t   y o u   m a y   o v e r r i d e   t h a t   v a l u e   w i t h   t h e   - - g r a c e - p e r i o d   f l a g ,   o r   p a s s   - - n o w   t o   s e t   a   g r a c e - p e r i o d   o f   1 .   B e c a u s e   t h e s e   r e s o u r c e s   o f t e n   r e p r e s e n t   e n t i t i e s   i n   t h e   c l u s t e r ,   d e l e t i o n   m a y   n o t   b e   a c k n o w l e d g e d   i m m e d i a t e l y .   I f   t h e   n o d e   h o s t i n g   a   p o d   i s   d o w n   o r   c a n n o t   r e a c h   t h e   A P I   s e r v e r ,   t e r m i n a t i o n   m a y   t a k e   s i g n i f i c a n t l y   l o n g e r   t h a n   t h e   g r a c e   p e r i o d .   T o   f o r c e   d e l e t e   a   r e s o u r c e ,   y o u   m u s t   s p e c i f y   t h e   - - f o r c e   f l a g .   N o t e :   o n l y   a   s u b s e t   o f   r e s o u r c e s   s u p p o r t   g r a c e f u l   d e l e t i o n .   I n   a b s e n c e   o f   t h e   s u p p o r t ,   t h e   - - g r a c e - p e r i o d   f l a g   i s   i g n o r e d .   I M P O R T A N T :   F o r c e   d e l e t i n g   p o d s   d o e s   n o t   w a i t   f o r   c o n f i r m a t i o n   t h a t   t h e   p o d ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_delete/",
    "id": "k8s_00287_section_2_5344"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D e l e t e   a   p o d   u s i n g   t h e   t y p e   a n d   n a m e   s p e c i f i e d   i n   p o d . j s o n   k u b e c t l   d e l e t e   - f   . / p o d . j s o n   #   D e l e t e   r e s o u r c e s   f r o m   a   d i r e c t o r y   c o n t a i n i n g   k u s t o m i z a t i o n . y a m l   -   e . g .   d i r / k u s t o m i z a t i o n . y a m l   k u b e c t l   d e l e t e   - k   d i r   #   D e l e t e   r e s o u r c e s   f r o m   a l l   f i l e s   t h a t   e n d   w i t h   ' . j s o n '   k u b e c t l   d e l e t e   - f   ' * . j s o n '   #   D e l e t e   a   p o d   b a s e d   o n   t h e   t y p e   a n d   n a m e   i n   t h e   J S O N   p a s s e d   i n t o   s t d i n   c a t   p o d . j s o n   |   k u b e c t l   d e l e t e   - f   -   #   D e l e t e   p o d s   a n d   s e r v i c e s   w i t h   s a m e   n a m e s   \" b a z \"   a n d   \" f o o \"   k u b e c t l   d e l e t e   p o d , s e r v i c e   b a z   f o o   #   D e l e t e   p o d s   a n d   s e r v i c e s   w i t h   l a b e l   n a m e = m y L a b e l   k u b e c t l   d e l e t e   p o d s , s e r v i c e s   - l   n a m e = m y L a b e l   #   D e l e t e   a   p o d   w i t h   m i n i m a l   d e l a y   k u b e c t l   d e l e t e   p o d   f o o   - - n o w   #   F o r c e   d e l e t e   a   p o d   o n   a   d e a d   n o d e   k u b e c t l   d e l e t e   p o d   f o o   - - f o r c e   #   D e l e t e   a l l   p o d s   k u b e c t l   d e l e t e   p o d s   - - a l l   #   D e l e t e   a l l   p o d s   o n l y   i f   t h e   u s e r   c o n f i r m s   t h e   d e l e t i o n   k u b e c t l   d e l e t e   p o d s   - - a l l   - - i n t e r a c t i v e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_delete/",
    "id": "k8s_00287_section_2_5345"
  },
  {
    "question": "What is Options?",
    "answer": "D e l e t e   a l l   r e s o u r c e s ,   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s .   I f   p r e s e n t ,   l i s t   t h e   r e q u e s t e d   o b j e c t ( s )   a c r o s s   a l l   n a m e s p a c e s .   N a m e s p a c e   i n   c u r r e n t   c o n t e x t   i s   i g n o r e d   e v e n   i f   s p e c i f i e d   w i t h   - - n a m e s p a c e .   M u s t   b e   \" b a c k g r o u n d \" ,   \" o r p h a n \" ,   o r   \" f o r e g r o u n d \" .   S e l e c t s   t h e   d e l e t i o n   c a s c a d i n g   s t r a t e g y   f o r   t h e   d e p e n d e n t s   ( e . g .   P o d s   c r e a t e d   b y   a   R e p l i c a t i o n C o n t r o l l e r ) .   D e f a u l t s   t o   b a c k g r o u n d .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   S e l e c t o r   ( f i e l d   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   a n d   ' ! = ' . ( e . g .   - - f i e l d - s e l e c t o r   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 ) .   T h e   s e r v e r   o n l y   s u p p o r t s   a   l i m i t e d   n u m b e r   o f   f i e l d   q u e r i e s   p e r   t y p e .   c o n t a i n i n g   t h e   r e s o u r c e   t o   d e l e t e .   I f   t r u e ,   i m m e d i a t e l y   r e m o v e   r e s o u r c e s   f r o m   A P I   a n d   b y p a s s   g r a c e f u l   d e l e t i o n .   N o t e   t h a t   i m m e d i a t e   d e l e t i o n   o f   s o m e   r e s o u r c e s   m a y   r e s u l t   i n   i n c o n s i s t e n c y   o r   d a t a   l o s s   a n d   r e q u i r e s   c o n f i r m a t i ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_delete/",
    "id": "k8s_00287_section_2_5346"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_delete/",
    "id": "k8s_00287_section_2_5347"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_delete/",
    "id": "k8s_00287_section_2_5348"
  },
  {
    "question": "What is Guide for Running Windows Containers in Kubernetes?",
    "answer": "Guide for Running Windows Containers in KubernetesThis page provides a walkthrough for some steps you can follow to run Windows containers using Kubernetes. The page also highlights some Windows specific functionality within Kubernetes.It is important to note that creating and deploying services and workloads on Kubernetes behaves in much the same way for Linux and Windows containers. The kubectl commands to interface with the cluster are identical. The examples in this page are provided to jumpstart your experience with Windows containers.ObjectivesConfigure an example deployment to run Windows containers on a Windows node.Before you beginYou should already have access to a Kubernetes cluster that includes a worker node running Windows Server.Getting Started: Deploying a Windows workloadThe example YAML file below deploys a simple webserver application running inside a Windows container.Create a manifest named win-webserver.yaml with the contents below:--- apiVersion: v1 kind: Service metadata: name: win-webserver labels: app: win-webserver spec: ports: # the port that this service should serve on - port: 80 targetPort: 80 selector: app: win-webserver type: NodePort --- apiVersion: apps/v1 kind: Deployment metadata: labels: app: win-webserver name: win-webserver spec: replicas: 2 selector: matchLabels: app: win-webserver template: metadata: labels: app: win-webserver name: win-webserver spec: containers: - name: windowswebserver image: mcr.microsoft.com/windows/servercore:ltsc2019 command: - powershell.exe - -command - \"<#code used from https://gist.github.com/19WAS85/5424431#> ; $$listener = New-Object System.Net.HttpListener ; $$listener.Prefixes.Add('http://*:80/') ; $$listener.Start() ; $$callerCounts = @{} ; Write-Host('Listening at http://*:80/') ; while ($$listener.IsListening) { ;$$context = $$listener.GetContext() ;$$requestUrl = $$context.Request.Url ;$$clientIP = $$context.Request.RemoteEndPoint.Address ;$$response = $$context.Response ;Write-Host '' ;Write-Host('> {0}' -f $$requestUrl) ; ;$$count = 1 ;$$k=$$callerCounts.Get_Item($$clientIP) ;if ($$k -ne $$null) { $$count += $$k } ;$$callerCounts.Set_Item($$clientIP, $$count) ;$$ip=(Get-NetAdapter | Get-NetIpAddress); $$header='<html><body><H1>Windows Container Web Server</H1>' ;$$callerCountsString='' ;$$callerCounts.Keys | % { $$callerCountsString+='<p>IP {0} callerCount {1} ' -f $$ip[1].IPAddress,$$callerCounts.Item($$_) } ;$$footer='</body></html>' ;$$content='{0}{1}{2}' -f $$header,$$callerCountsString,$$footer ;Write-Output $$content ;$$buffer = [System.Text.Encoding]::UTF8.GetBytes($$content) ;$$response.ContentLength64 = $$buffer.Length ;$$response.OutputStream.Write($$buffer, 0, $$buffer.Length) ;$$response.Close() ;$$responseStatus = $$response.StatusCode ;Write-Host('< {0}' -f $$responseStatus) } ; \" nodeSelector: kubernetes.io/os: windows Note:Port mapping is also supported, but for simplicity this example exposes port 80 of the container directly to the Service.Check that",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/user-guide/",
    "id": "k8s_00288_qa_5349"
  },
  {
    "question": "How does Guide for Running Windows Containers in Kubernetes work?",
    "answer": "Guide for Running Windows Containers in KubernetesThis page provides a walkthrough for some steps you can follow to run Windows containers using Kubernetes. The page also highlights some Windows specific functionality within Kubernetes.It is important to note that creating and deploying services and workloads on Kubernetes behaves in much the same way for Linux and Windows containers. The kubectl commands to interface with the cluster are identical. The examples in this page are provided to jumpstart your experience with Windows containers.ObjectivesConfigure an example deployment to run Windows containers on a Windows node.Before you beginYou should already have access to a Kubernetes cluster that includes a worker node running Windows Server.Getting Started: Deploying a Windows workloadThe example YAML file below deploys a simple webserver application running inside a Windows container.Create a manifest named win-webserver.yaml with the contents below:--- apiVersion: v1 kind: Service metadata: name: win-webserver labels: app: win-webserver spec: ports: # the port that this service should serve on - port: 80 targetPort: 80 selector: app: win-webserver type: NodePort --- apiVersion: apps/v1 kind: Deployment metadata: labels: app: win-webserver name: win-webserver spec: replicas: 2 selector: matchLabels: app: win-webserver template: metadata: labels: app: win-webserver name: win-webserver spec: containers: - name: windowswebserver image: mcr.microsoft.com/windows/servercore:ltsc2019 command: - powershell.exe - -command - \"<#code used from https://gist.github.com/19WAS85/5424431#> ; $$listener = New-Object System.Net.HttpListener ; $$listener.Prefixes.Add('http://*:80/') ; $$listener.Start() ; $$callerCounts = @{} ; Write-Host('Listening at http://*:80/') ; while ($$listener.IsListening) { ;$$context = $$listener.GetContext() ;$$requestUrl = $$context.Request.Url ;$$clientIP = $$context.Request.RemoteEndPoint.Address ;$$response = $$context.Response ;Write-Host '' ;Write-Host('> {0}' -f $$requestUrl) ; ;$$count = 1 ;$$k=$$callerCounts.Get_Item($$clientIP) ;if ($$k -ne $$null) { $$count += $$k } ;$$callerCounts.Set_Item($$clientIP, $$count) ;$$ip=(Get-NetAdapter | Get-NetIpAddress); $$header='<html><body><H1>Windows Container Web Server</H1>' ;$$callerCountsString='' ;$$callerCounts.Keys | % { $$callerCountsString+='<p>IP {0} callerCount {1} ' -f $$ip[1].IPAddress,$$callerCounts.Item($$_) } ;$$footer='</body></html>' ;$$content='{0}{1}{2}' -f $$header,$$callerCountsString,$$footer ;Write-Output $$content ;$$buffer = [System.Text.Encoding]::UTF8.GetBytes($$content) ;$$response.ContentLength64 = $$buffer.Length ;$$response.OutputStream.Write($$buffer, 0, $$buffer.Length) ;$$response.Close() ;$$responseStatus = $$response.StatusCode ;Write-Host('< {0}' -f $$responseStatus) } ; \" nodeSelector: kubernetes.io/os: windows Note:Port mapping is also supported, but for simplicity this example exposes port 80 of the container directly to the Service.Check that",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/user-guide/",
    "id": "k8s_00288_qa_5350"
  },
  {
    "question": "When would you use Guide for Running Windows Containers in Kubernetes?",
    "answer": "Guide for Running Windows Containers in KubernetesThis page provides a walkthrough for some steps you can follow to run Windows containers using Kubernetes. The page also highlights some Windows specific functionality within Kubernetes.It is important to note that creating and deploying services and workloads on Kubernetes behaves in much the same way for Linux and Windows containers. The kubectl commands to interface with the cluster are identical. The examples in this page are provided to jumpstart your experience with Windows containers.ObjectivesConfigure an example deployment to run Windows containers on a Windows node.Before you beginYou should already have access to a Kubernetes cluster that includes a worker node running Windows Server.Getting Started: Deploying a Windows workloadThe example YAML file below deploys a simple webserver application running inside a Windows container.Create a manifest named win-webserver.yaml with the contents below:--- apiVersion: v1 kind: Service metadata: name: win-webserver labels: app: win-webserver spec: ports: # the port that this service should serve on - port: 80 targetPort: 80 selector: app: win-webserver type: NodePort --- apiVersion: apps/v1 kind: Deployment metadata: labels: app: win-webserver name: win-webserver spec: replicas: 2 selector: matchLabels: app: win-webserver template: metadata: labels: app: win-webserver name: win-webserver spec: containers: - name: windowswebserver image: mcr.microsoft.com/windows/servercore:ltsc2019 command: - powershell.exe - -command - \"<#code used from https://gist.github.com/19WAS85/5424431#> ; $$listener = New-Object System.Net.HttpListener ; $$listener.Prefixes.Add('http://*:80/') ; $$listener.Start() ; $$callerCounts = @{} ; Write-Host('Listening at http://*:80/') ; while ($$listener.IsListening) { ;$$context = $$listener.GetContext() ;$$requestUrl = $$context.Request.Url ;$$clientIP = $$context.Request.RemoteEndPoint.Address ;$$response = $$context.Response ;Write-Host '' ;Write-Host('> {0}' -f $$requestUrl) ; ;$$count = 1 ;$$k=$$callerCounts.Get_Item($$clientIP) ;if ($$k -ne $$null) { $$count += $$k } ;$$callerCounts.Set_Item($$clientIP, $$count) ;$$ip=(Get-NetAdapter | Get-NetIpAddress); $$header='<html><body><H1>Windows Container Web Server</H1>' ;$$callerCountsString='' ;$$callerCounts.Keys | % { $$callerCountsString+='<p>IP {0} callerCount {1} ' -f $$ip[1].IPAddress,$$callerCounts.Item($$_) } ;$$footer='</body></html>' ;$$content='{0}{1}{2}' -f $$header,$$callerCountsString,$$footer ;Write-Output $$content ;$$buffer = [System.Text.Encoding]::UTF8.GetBytes($$content) ;$$response.ContentLength64 = $$buffer.Length ;$$response.OutputStream.Write($$buffer, 0, $$buffer.Length) ;$$response.Close() ;$$responseStatus = $$response.StatusCode ;Write-Host('< {0}' -f $$responseStatus) } ; \" nodeSelector: kubernetes.io/os: windows Note:Port mapping is also supported, but for simplicity this example exposes port 80 of the container directly to the Service.Check that",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/user-guide/",
    "id": "k8s_00288_qa_5351"
  },
  {
    "question": "What are the benefits of Guide for Running Windows Containers in Kubernetes?",
    "answer": "Guide for Running Windows Containers in KubernetesThis page provides a walkthrough for some steps you can follow to run Windows containers using Kubernetes. The page also highlights some Windows specific functionality within Kubernetes.It is important to note that creating and deploying services and workloads on Kubernetes behaves in much the same way for Linux and Windows containers. The kubectl commands to interface with the cluster are identical. The examples in this page are provided to jumpstart your experience with Windows containers.ObjectivesConfigure an example deployment to run Windows containers on a Windows node.Before you beginYou should already have access to a Kubernetes cluster that includes a worker node running Windows Server.Getting Started: Deploying a Windows workloadThe example YAML file below deploys a simple webserver application running inside a Windows container.Create a manifest named win-webserver.yaml with the contents below:--- apiVersion: v1 kind: Service metadata: name: win-webserver labels: app: win-webserver spec: ports: # the port that this service should serve on - port: 80 targetPort: 80 selector: app: win-webserver type: NodePort --- apiVersion: apps/v1 kind: Deployment metadata: labels: app: win-webserver name: win-webserver spec: replicas: 2 selector: matchLabels: app: win-webserver template: metadata: labels: app: win-webserver name: win-webserver spec: containers: - name: windowswebserver image: mcr.microsoft.com/windows/servercore:ltsc2019 command: - powershell.exe - -command - \"<#code used from https://gist.github.com/19WAS85/5424431#> ; $$listener = New-Object System.Net.HttpListener ; $$listener.Prefixes.Add('http://*:80/') ; $$listener.Start() ; $$callerCounts = @{} ; Write-Host('Listening at http://*:80/') ; while ($$listener.IsListening) { ;$$context = $$listener.GetContext() ;$$requestUrl = $$context.Request.Url ;$$clientIP = $$context.Request.RemoteEndPoint.Address ;$$response = $$context.Response ;Write-Host '' ;Write-Host('> {0}' -f $$requestUrl) ; ;$$count = 1 ;$$k=$$callerCounts.Get_Item($$clientIP) ;if ($$k -ne $$null) { $$count += $$k } ;$$callerCounts.Set_Item($$clientIP, $$count) ;$$ip=(Get-NetAdapter | Get-NetIpAddress); $$header='<html><body><H1>Windows Container Web Server</H1>' ;$$callerCountsString='' ;$$callerCounts.Keys | % { $$callerCountsString+='<p>IP {0} callerCount {1} ' -f $$ip[1].IPAddress,$$callerCounts.Item($$_) } ;$$footer='</body></html>' ;$$content='{0}{1}{2}' -f $$header,$$callerCountsString,$$footer ;Write-Output $$content ;$$buffer = [System.Text.Encoding]::UTF8.GetBytes($$content) ;$$response.ContentLength64 = $$buffer.Length ;$$response.OutputStream.Write($$buffer, 0, $$buffer.Length) ;$$response.Close() ;$$responseStatus = $$response.StatusCode ;Write-Host('< {0}' -f $$responseStatus) } ; \" nodeSelector: kubernetes.io/os: windows Note:Port mapping is also supported, but for simplicity this example exposes port 80 of the container directly to the Service.Check that",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/user-guide/",
    "id": "k8s_00288_qa_5352"
  },
  {
    "question": "What is Guide for Running Windows Containers in Kubernetes?",
    "answer": "T h i s   p a g e   p r o v i d e s   a   w a l k t h r o u g h   f o r   s o m e   s t e p s   y o u   c a n   f o l l o w   t o   r u n   W i n d o w s   c o n t a i n e r s   u s i n g   K u b e r n e t e s .   T h e   p a g e   a l s o   h i g h l i g h t s   s o m e   W i n d o w s   s p e c i f i c   f u n c t i o n a l i t y   w i t h i n   K u b e r n e t e s .   I t   i s   i m p o r t a n t   t o   n o t e   t h a t   c r e a t i n g   a n d   d e p l o y i n g   s e r v i c e s   a n d   w o r k l o a d s   o n   K u b e r n e t e s   b e h a v e s   i n   m u c h   t h e   s a m e   w a y   f o r   L i n u x   a n d   W i n d o w s   c o n t a i n e r s .   T h e   k u b e c t l   c o m m a n d s   t o   i n t e r f a c e   w i t h   t h e   c l u s t e r   a r e   i d e n t i c a l .   T h e   e x a m p l e s   i n   t h i s   p a g e   a r e   p r o v i d e d   t o   j u m p s t a r t   y o u r   e x p e r i e n c e   w i t h   W i n d o w s   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/user-guide/",
    "id": "k8s_00288_section_1_5353"
  },
  {
    "question": "What is Objectives?",
    "answer": "C o n f i g u r e   a n   e x a m p l e   d e p l o y m e n t   t o   r u n   W i n d o w s   c o n t a i n e r s   o n   a   W i n d o w s   n o d e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/user-guide/",
    "id": "k8s_00288_section_2_5354"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   s h o u l d   a l r e a d y   h a v e   a c c e s s   t o   a   K u b e r n e t e s   c l u s t e r   t h a t   i n c l u d e s   a   w o r k e r   n o d e   r u n n i n g   W i n d o w s   S e r v e r .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/user-guide/",
    "id": "k8s_00288_section_2_5355"
  },
  {
    "question": "What is Getting Started: Deploying a Windows workload?",
    "answer": "T h e   e x a m p l e   Y A M L   f i l e   b e l o w   d e p l o y s   a   s i m p l e   w e b s e r v e r   a p p l i c a t i o n   r u n n i n g   i n s i d e   a   W i n d o w s   c o n t a i n e r .   C r e a t e   a   m a n i f e s t   n a m e d   w i n - w e b s e r v e r . y a m l   w i t h   t h e   c o n t e n t s   b e l o w :   - - -   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   w i n - w e b s e r v e r   l a b e l s :   a p p :   w i n - w e b s e r v e r   s p e c :   p o r t s :   #   t h e   p o r t   t h a t   t h i s   s e r v i c e   s h o u l d   s e r v e   o n   -   p o r t :   8 0   t a r g e t P o r t :   8 0   s e l e c t o r :   a p p :   w i n - w e b s e r v e r   t y p e :   N o d e P o r t   - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   l a b e l s :   a p p :   w i n - w e b s e r v e r   n a m e :   w i n - w e b s e r v e r   s p e c :   r e p l i c a s :   2   s e l e c t o r :   m a t c h L a b e l s :   a p p :   w i n - w e b s e r v e r   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   w i n - w e b s e r v e r   n a m e :   w i n - w e b s e r v e r   s p e c :   c o n t a i n e r s :   -   n a m e :   w i n d o w s w e b s e r v e r   i m a g e :   m c r . m i c r o s o f t . c o m / w i n d o w s / s e r v e r c o r e : l t s c 2 0 1 9   c o m m a n d :   -   p o w e r s h e l l . e x e   -   - c o m m a n d   -   \" < # c o d e   u s e d   f r o m   h t t p s : / / g i s t . g i t h u b . c o m / 1 9 W A S 8 5 / 5 4 2 4 4 3 1 # >   ;   $ $ l i s t e n e r   =   N e w - O b j e c t   S y s t e m . N e t . H t t p L i s t e n e r   ;   $ $ l i s t e n e r . P r e f i x e s . A d d ( ' h t t p : / / * : 8 0 / ' )   ;   $ $ l i s t e n e r . S t a r t ( )   ;   $ $ c a l l e r C o u n t s   =   @ { }   ;   W r i t e - H o s t ( ' L i s t e n i n g   a t   h t t p : / / * : 8 0 / ' )   ;   w h i l e   ( $ $ l i ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/user-guide/",
    "id": "k8s_00288_section_2_5356"
  },
  {
    "question": "What is Note:?",
    "answer": "C h e c k   t h a t   a l l   n o d e s   a r e   h e a l t h y : k u b e c t l   g e t   n o d e s   D e p l o y   t h e   s e r v i c e   a n d   w a t c h   f o r   p o d   u p d a t e s : k u b e c t l   a p p l y   - f   w i n - w e b s e r v e r . y a m l   k u b e c t l   g e t   p o d s   - o   w i d e   - w   W h e n   t h e   s e r v i c e   i s   d e p l o y e d   c o r r e c t l y   b o t h   P o d s   a r e   m a r k e d   a s   R e a d y .   T o   e x i t   t h e   w a t c h   c o m m a n d ,   p r e s s   C t r l + C . C h e c k   t h a t   t h e   d e p l o y m e n t   s u c c e e d e d .   T o   v e r i f y : S e v e r a l   p o d s   l i s t e d   f r o m   t h e   L i n u x   c o n t r o l   p l a n e   n o d e ,   u s e   k u b e c t l   g e t   p o d s N o d e - t o - p o d   c o m m u n i c a t i o n   a c r o s s   t h e   n e t w o r k ,   c u r l   p o r t   8 0   o f   y o u r   p o d   I P s   f r o m   t h e   L i n u x   c o n t r o l   p l a n e   n o d e   t o   c h e c k   f o r   a   w e b   s e r v e r   r e s p o n s e P o d - t o - p o d   c o m m u n i c a t i o n ,   p i n g   b e t w e e n   p o d s   ( a n d   a c r o s s   h o s t s ,   i f   y o u   h a v e   m o r e   t h a n   o n e   W i n d o w s   n o d e )   u s i n g   k u b e c t l   e x e c S e r v i c e - t o - p o d   c o m m u n i c a t i o n ,   c u r l   t h e   v i r t u a l   s e r v i c e   I P   ( s e e n   u n d e r   k u b e c t l   g e t   s e r v i c e s )   f r o m   t h e   L i n u x   c o n t r o l   p l a n e   n o d e   a n d   f r o m   i n d i v i d u a l   p o d s S e r v i c e   d i s c o v e r y ,   c u r l   t h e   s e r v i c e   n a m e   w i t h   t h e   K u b e r n e t e s   d e f a u l t   D N S   s u f f i x I n b o u n d   c o n n e c t i v i t y ,   c u r l   t h e   N o d e P o r t   f r o m   t h e   L i n u x   c o n t r o l   p l a n e   n o d e   o r   m a c h i n e s   o u t s i d e   o f   t h e   c l u s t e r O u t b o u n ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/user-guide/",
    "id": "k8s_00288_section_4_5357"
  },
  {
    "question": "What is Capturing logs from workloads?",
    "answer": "L o g s   a r e   a n   i m p o r t a n t   e l e m e n t   o f   o b s e r v a b i l i t y ;   t h e y   e n a b l e   u s e r s   t o   g a i n   i n s i g h t s   i n t o   t h e   o p e r a t i o n a l   a s p e c t   o f   w o r k l o a d s   a n d   a r e   a   k e y   i n g r e d i e n t   t o   t r o u b l e s h o o t i n g   i s s u e s .   B e c a u s e   W i n d o w s   c o n t a i n e r s   a n d   w o r k l o a d s   i n s i d e   W i n d o w s   c o n t a i n e r s   b e h a v e   d i f f e r e n t l y   f r o m   L i n u x   c o n t a i n e r s ,   u s e r s   h a d   a   h a r d   t i m e   c o l l e c t i n g   l o g s ,   l i m i t i n g   o p e r a t i o n a l   v i s i b i l i t y .   W i n d o w s   w o r k l o a d s   f o r   e x a m p l e   a r e   u s u a l l y   c o n f i g u r e d   t o   l o g   t o   E T W   ( E v e n t   T r a c i n g   f o r   W i n d o w s )   o r   p u s h   e n t r i e s   t o   t h e   a p p l i c a t i o n   e v e n t   l o g .   L o g M o n i t o r ,   a n   o p e n   s o u r c e   t o o l   b y   M i c r o s o f t ,   i s   t h e   r e c o m m e n d e d   w a y   t o   m o n i t o r   c o n f i g u r e d   l o g   s o u r c e s   i n s i d e   a   W i n d o w s   c o n t a i n e r .   L o g M o n i t o r   s u p p o r t s   m o n i t o r i n g   e v e n t   l o g s ,   E T W   p r o v i d e r s ,   a n d   c u s t o m   a p p l i c a t i o n   l o g s ,   p i p i n g   t h e m   t o   S T D O U T   f o r   c o n s u m p t i o n   b y   k u b e c t l   l o g s   < p o d > .   F o l l o w   t h e   i n s t r u c t i o n s   i n   t h e   L o g M o n i t o r   G i t H u b   p a g e   t o   c o p y   i t s   b i n a r i e s   a n d   c o n f i g u r a t i o n   f i l e s   t o   a l l   y o u r   c o n t a i n e r s   a n d   a d d   t h e   n e c e s s a r y   e n t r y p o i n t s   f o r   L o g M o n i t o r   t o   p u s h   y o u r   l o g s   t o   S T D O U T .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/user-guide/",
    "id": "k8s_00288_section_3_5358"
  },
  {
    "question": "What is Using configurable Container usernames?",
    "answer": "W i n d o w s   c o n t a i n e r s   c a n   b e   c o n f i g u r e d   t o   r u n   t h e i r   e n t r y p o i n t s   a n d   p r o c e s s e s   w i t h   d i f f e r e n t   u s e r n a m e s   t h a n   t h e   i m a g e   d e f a u l t s .   L e a r n   m o r e   a b o u t   i t   h e r e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/user-guide/",
    "id": "k8s_00288_section_3_5359"
  },
  {
    "question": "What is Managing Workload Identity with Group Managed Service Accounts?",
    "answer": "W i n d o w s   c o n t a i n e r   w o r k l o a d s   c a n   b e   c o n f i g u r e d   t o   u s e   G r o u p   M a n a g e d   S e r v i c e   A c c o u n t s   ( G M S A ) .   G r o u p   M a n a g e d   S e r v i c e   A c c o u n t s   a r e   a   s p e c i f i c   t y p e   o f   A c t i v e   D i r e c t o r y   a c c o u n t   t h a t   p r o v i d e   a u t o m a t i c   p a s s w o r d   m a n a g e m e n t ,   s i m p l i f i e d   s e r v i c e   p r i n c i p a l   n a m e   ( S P N )   m a n a g e m e n t ,   a n d   t h e   a b i l i t y   t o   d e l e g a t e   t h e   m a n a g e m e n t   t o   o t h e r   a d m i n i s t r a t o r s   a c r o s s   m u l t i p l e   s e r v e r s .   C o n t a i n e r s   c o n f i g u r e d   w i t h   a   G M S A   c a n   a c c e s s   e x t e r n a l   A c t i v e   D i r e c t o r y   D o m a i n   r e s o u r c e s   w h i l e   c a r r y i n g   t h e   i d e n t i t y   c o n f i g u r e d   w i t h   t h e   G M S A .   L e a r n   m o r e   a b o u t   c o n f i g u r i n g   a n d   u s i n g   G M S A   f o r   W i n d o w s   c o n t a i n e r s   h e r e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/user-guide/",
    "id": "k8s_00288_section_3_5360"
  },
  {
    "question": "What is Taints and tolerations?",
    "answer": "U s e r s   n e e d   t o   u s e   s o m e   c o m b i n a t i o n   o f   t a i n t   a n d   n o d e   s e l e c t o r s   i n   o r d e r   t o   s c h e d u l e   L i n u x   a n d   W i n d o w s   w o r k l o a d s   t o   t h e i r   r e s p e c t i v e   O S - s p e c i f i c   n o d e s .   T h e   r e c o m m e n d e d   a p p r o a c h   i s   o u t l i n e d   b e l o w ,   w i t h   o n e   o f   i t s   m a i n   g o a l s   b e i n g   t h a t   t h i s   a p p r o a c h   s h o u l d   n o t   b r e a k   c o m p a t i b i l i t y   f o r   e x i s t i n g   L i n u x   w o r k l o a d s .   Y o u   c a n   ( a n d   s h o u l d )   s e t   . s p e c . o s . n a m e   f o r   e a c h   P o d ,   t o   i n d i c a t e   t h e   o p e r a t i n g   s y s t e m   t h a t   t h e   c o n t a i n e r s   i n   t h a t   P o d   a r e   d e s i g n e d   f o r .   F o r   P o d s   t h a t   r u n   L i n u x   c o n t a i n e r s ,   s e t   . s p e c . o s . n a m e   t o   l i n u x .   F o r   P o d s   t h a t   r u n   W i n d o w s   c o n t a i n e r s ,   s e t   . s p e c . o s . n a m e   t o   w i n d o w s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/user-guide/",
    "id": "k8s_00288_section_2_5361"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   s c h e d u l e r   d o e s   n o t   u s e   t h e   v a l u e   o f   . s p e c . o s . n a m e   w h e n   a s s i g n i n g   P o d s   t o   n o d e s .   Y o u   s h o u l d   u s e   n o r m a l   K u b e r n e t e s   m e c h a n i s m s   f o r   a s s i g n i n g   p o d s   t o   n o d e s   t o   e n s u r e   t h a t   t h e   c o n t r o l   p l a n e   f o r   y o u r   c l u s t e r   p l a c e s   p o d s   o n t o   n o d e s   t h a t   a r e   r u n n i n g   t h e   a p p r o p r i a t e   o p e r a t i n g   s y s t e m .   T h e   . s p e c . o s . n a m e   v a l u e   h a s   n o   e f f e c t   o n   t h e   s c h e d u l i n g   o f   t h e   W i n d o w s   p o d s ,   s o   t a i n t s   a n d   t o l e r a t i o n s   ( o r   n o d e   s e l e c t o r s )   a r e   s t i l l   r e q u i r e d   t o   e n s u r e   t h a t   t h e   W i n d o w s   p o d s   l a n d   o n t o   a p p r o p r i a t e   W i n d o w s   n o d e s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/user-guide/",
    "id": "k8s_00288_section_4_5362"
  },
  {
    "question": "What is Ensuring OS-specific workloads land on the appropriate container host?",
    "answer": "U s e r s   c a n   e n s u r e   W i n d o w s   c o n t a i n e r s   c a n   b e   s c h e d u l e d   o n   t h e   a p p r o p r i a t e   h o s t   u s i n g   t a i n t s   a n d   t o l e r a t i o n s .   A l l   K u b e r n e t e s   n o d e s   r u n n i n g   K u b e r n e t e s   1 . 3 4   h a v e   t h e   f o l l o w i n g   d e f a u l t   l a b e l s :   k u b e r n e t e s . i o / o s   =   [ w i n d o w s | l i n u x ] k u b e r n e t e s . i o / a r c h   =   [ a m d 6 4 | a r m 6 4 | . . . ]   I f   a   P o d   s p e c i f i c a t i o n   d o e s   n o t   s p e c i f y   a   n o d e S e l e c t o r   s u c h   a s   \" k u b e r n e t e s . i o / o s \" :   w i n d o w s ,   i t   i s   p o s s i b l e   t h e   P o d   c a n   b e   s c h e d u l e d   o n   a n y   h o s t ,   W i n d o w s   o r   L i n u x .   T h i s   c a n   b e   p r o b l e m a t i c   s i n c e   a   W i n d o w s   c o n t a i n e r   c a n   o n l y   r u n   o n   W i n d o w s   a n d   a   L i n u x   c o n t a i n e r   c a n   o n l y   r u n   o n   L i n u x .   T h e   b e s t   p r a c t i c e   f o r   K u b e r n e t e s   1 . 3 4   i s   t o   u s e   a   n o d e S e l e c t o r .   H o w e v e r ,   i n   m a n y   c a s e s   u s e r s   h a v e   a   p r e - e x i s t i n g   l a r g e   n u m b e r   o f   d e p l o y m e n t s   f o r   L i n u x   c o n t a i n e r s ,   a s   w e l l   a s   a n   e c o s y s t e m   o f   o f f - t h e - s h e l f   c o n f i g u r a t i o n s ,   s u c h   a s   c o m m u n i t y   H e l m   c h a r t s ,   a n d   p r o g r a m m a t i c   P o d   g e n e r a t i o n   c a s e s ,   s u c h   a s   w i t h   o p e r a t o r s .   I n   t h o s e   s i t u a t i o n s ,   y o u   m a y   b e   h e s i t a n t   t o   m a k e   t h e   c o n f i g u r a t i o n   c h a n g e   t o   a d d   n o d e S e l e c t o r   f i e l d s   t o   a l l   P o d s   a n d   P o d   t e m p l a t e s .   T h e   a l t e r n a t ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/user-guide/",
    "id": "k8s_00288_section_3_5363"
  },
  {
    "question": "What is Handling multiple Windows versions in the same cluster?",
    "answer": "T h e   W i n d o w s   S e r v e r   v e r s i o n   u s e d   b y   e a c h   p o d   m u s t   m a t c h   t h a t   o f   t h e   n o d e .   I f   y o u   w a n t   t o   u s e   m u l t i p l e   W i n d o w s   S e r v e r   v e r s i o n s   i n   t h e   s a m e   c l u s t e r ,   t h e n   y o u   s h o u l d   s e t   a d d i t i o n a l   n o d e   l a b e l s   a n d   n o d e S e l e c t o r   f i e l d s .   K u b e r n e t e s   a u t o m a t i c a l l y   a d d s   a   l a b e l ,   n o d e . k u b e r n e t e s . i o / w i n d o w s - b u i l d   t o   s i m p l i f y   t h i s .   T h i s   l a b e l   r e f l e c t s   t h e   W i n d o w s   m a j o r ,   m i n o r ,   a n d   b u i l d   n u m b e r   t h a t   n e e d   t o   m a t c h   f o r   c o m p a t i b i l i t y .   H e r e   a r e   v a l u e s   u s e d   f o r   e a c h   W i n d o w s   S e r v e r   v e r s i o n :",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/user-guide/",
    "id": "k8s_00288_section_3_5364"
  },
  {
    "question": "What is Simplifying with RuntimeClass?",
    "answer": "R u n t i m e C l a s s   c a n   b e   u s e d   t o   s i m p l i f y   t h e   p r o c e s s   o f   u s i n g   t a i n t s   a n d   t o l e r a t i o n s .   A   c l u s t e r   a d m i n i s t r a t o r   c a n   c r e a t e   a   R u n t i m e C l a s s   o b j e c t   w h i c h   i s   u s e d   t o   e n c a p s u l a t e   t h e s e   t a i n t s   a n d   t o l e r a t i o n s .   S a v e   t h i s   f i l e   t o   r u n t i m e C l a s s e s . y m l .   I t   i n c l u d e s   t h e   a p p r o p r i a t e   n o d e S e l e c t o r   f o r   t h e   W i n d o w s   O S ,   a r c h i t e c t u r e ,   a n d   v e r s i o n . - - -   a p i V e r s i o n :   n o d e . k 8 s . i o / v 1   k i n d :   R u n t i m e C l a s s   m e t a d a t a :   n a m e :   w i n d o w s - 2 0 1 9   h a n d l e r :   e x a m p l e - c o n t a i n e r - r u n t i m e - h a n d l e r   s c h e d u l i n g :   n o d e S e l e c t o r :   k u b e r n e t e s . i o / o s :   ' w i n d o w s '   k u b e r n e t e s . i o / a r c h :   ' a m d 6 4 '   n o d e . k u b e r n e t e s . i o / w i n d o w s - b u i l d :   ' 1 0 . 0 . 1 7 7 6 3 '   t o l e r a t i o n s :   -   e f f e c t :   N o S c h e d u l e   k e y :   o s   o p e r a t o r :   E q u a l   v a l u e :   \" w i n d o w s \"   R u n   k u b e c t l   c r e a t e   - f   r u n t i m e C l a s s e s . y m l   u s i n g   a s   a   c l u s t e r   a d m i n i s t r a t o r A d d   r u n t i m e C l a s s N a m e :   w i n d o w s - 2 0 1 9   a s   a p p r o p r i a t e   t o   P o d   s p e c s F o r   e x a m p l e : - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   i i s - 2 0 1 9   l a b e l s :   a p p :   i i s - 2 0 1 9   s p e c :   r e p l i c a s :   1   t e m p l a t e :   m e t a d a t a :   n a m e :   i i s - 2 0 1 9   l a b e l s :   a p p :   i i s - 2 0 1 9   s p e c :   r u n t i m e C l a s s N a m e :   w i n d o w s - 2 0 1 9   c o n t ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/user-guide/",
    "id": "k8s_00288_section_3_5365"
  },
  {
    "question": "What is Reserve Compute Resources for System Daemons?",
    "answer": "Reserve Compute Resources for System DaemonsKubernetes nodes can be scheduled to Capacity. Pods can consume all the available capacity on a node by default. This is an issue because nodes typically run quite a few system daemons that power the OS and Kubernetes itself. Unless resources are set aside for these system daemons, pods and system daemons compete for resources and lead to resource starvation issues on the node.The kubelet exposes a feature named 'Node Allocatable' that helps to reserve compute resources for system daemons. Kubernetes recommends cluster administrators to configure 'Node Allocatable' based on their workload density on each node.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou can configure below kubelet configuration settings using the kubelet configuration file.Node Allocatable'Allocatable' on a Kubernetes node is defined as the amount of compute resources that are available for pods. The scheduler does not over-subscribe 'Allocatable'. 'CPU', 'memory' and 'ephemeral-storage' are supported as of now.Node Allocatable is exposed as part of v1.Node object in the API and as part of kubectl describe node in the CLI.Resources can be reserved for two categories of system daemons in the kubelet.Enabling QoS and Pod level cgroupsTo properly enforce node allocatable constraints on the node, you must enable the new cgroup hierarchy via the cgroupsPerQOS setting. This setting is enabled by default. When enabled, the kubelet will parent all end-user pods under a cgroup hierarchy managed by the kubelet.Configuring a cgroup driverThe kubelet supports manipulation of the cgroup hierarchy on the host using a cgroup driver. The driver is configured via the cgroupDriver setting.The supported values are the following:cgroupfs is the default driver that performs direct manipulation of the cgroup filesystem on the host in order to manage cgroup sandboxes.systemd is an alternative driver that manages cgroup sandboxes using transient slices for resources that are supported by that init system.Depending on the configuration of the associated container runtime, operators may have to choose a particular cgroup driver to ensure proper system behavior. For example, if operators use the systemd cgroup driver provided by the containerd runtime, the kubelet must be configured to use the systemd cgroup driver.Kube ReservedKubeletConfiguration Setting: kubeReserved: {}. Example value {cpu: 100m, memory: 100Mi, ephemeral-storage: 1Gi, pid=1000}KubeletConfiguration Setting: kubeReservedCgroup: \"\"kubeReserved is meant to capture resource reservation for kubernetes system",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/",
    "id": "k8s_00289_qa_5366"
  },
  {
    "question": "How does Reserve Compute Resources for System Daemons work?",
    "answer": "Reserve Compute Resources for System DaemonsKubernetes nodes can be scheduled to Capacity. Pods can consume all the available capacity on a node by default. This is an issue because nodes typically run quite a few system daemons that power the OS and Kubernetes itself. Unless resources are set aside for these system daemons, pods and system daemons compete for resources and lead to resource starvation issues on the node.The kubelet exposes a feature named 'Node Allocatable' that helps to reserve compute resources for system daemons. Kubernetes recommends cluster administrators to configure 'Node Allocatable' based on their workload density on each node.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou can configure below kubelet configuration settings using the kubelet configuration file.Node Allocatable'Allocatable' on a Kubernetes node is defined as the amount of compute resources that are available for pods. The scheduler does not over-subscribe 'Allocatable'. 'CPU', 'memory' and 'ephemeral-storage' are supported as of now.Node Allocatable is exposed as part of v1.Node object in the API and as part of kubectl describe node in the CLI.Resources can be reserved for two categories of system daemons in the kubelet.Enabling QoS and Pod level cgroupsTo properly enforce node allocatable constraints on the node, you must enable the new cgroup hierarchy via the cgroupsPerQOS setting. This setting is enabled by default. When enabled, the kubelet will parent all end-user pods under a cgroup hierarchy managed by the kubelet.Configuring a cgroup driverThe kubelet supports manipulation of the cgroup hierarchy on the host using a cgroup driver. The driver is configured via the cgroupDriver setting.The supported values are the following:cgroupfs is the default driver that performs direct manipulation of the cgroup filesystem on the host in order to manage cgroup sandboxes.systemd is an alternative driver that manages cgroup sandboxes using transient slices for resources that are supported by that init system.Depending on the configuration of the associated container runtime, operators may have to choose a particular cgroup driver to ensure proper system behavior. For example, if operators use the systemd cgroup driver provided by the containerd runtime, the kubelet must be configured to use the systemd cgroup driver.Kube ReservedKubeletConfiguration Setting: kubeReserved: {}. Example value {cpu: 100m, memory: 100Mi, ephemeral-storage: 1Gi, pid=1000}KubeletConfiguration Setting: kubeReservedCgroup: \"\"kubeReserved is meant to capture resource reservation for kubernetes system",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/",
    "id": "k8s_00289_qa_5367"
  },
  {
    "question": "When would you use Reserve Compute Resources for System Daemons?",
    "answer": "Reserve Compute Resources for System DaemonsKubernetes nodes can be scheduled to Capacity. Pods can consume all the available capacity on a node by default. This is an issue because nodes typically run quite a few system daemons that power the OS and Kubernetes itself. Unless resources are set aside for these system daemons, pods and system daemons compete for resources and lead to resource starvation issues on the node.The kubelet exposes a feature named 'Node Allocatable' that helps to reserve compute resources for system daemons. Kubernetes recommends cluster administrators to configure 'Node Allocatable' based on their workload density on each node.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou can configure below kubelet configuration settings using the kubelet configuration file.Node Allocatable'Allocatable' on a Kubernetes node is defined as the amount of compute resources that are available for pods. The scheduler does not over-subscribe 'Allocatable'. 'CPU', 'memory' and 'ephemeral-storage' are supported as of now.Node Allocatable is exposed as part of v1.Node object in the API and as part of kubectl describe node in the CLI.Resources can be reserved for two categories of system daemons in the kubelet.Enabling QoS and Pod level cgroupsTo properly enforce node allocatable constraints on the node, you must enable the new cgroup hierarchy via the cgroupsPerQOS setting. This setting is enabled by default. When enabled, the kubelet will parent all end-user pods under a cgroup hierarchy managed by the kubelet.Configuring a cgroup driverThe kubelet supports manipulation of the cgroup hierarchy on the host using a cgroup driver. The driver is configured via the cgroupDriver setting.The supported values are the following:cgroupfs is the default driver that performs direct manipulation of the cgroup filesystem on the host in order to manage cgroup sandboxes.systemd is an alternative driver that manages cgroup sandboxes using transient slices for resources that are supported by that init system.Depending on the configuration of the associated container runtime, operators may have to choose a particular cgroup driver to ensure proper system behavior. For example, if operators use the systemd cgroup driver provided by the containerd runtime, the kubelet must be configured to use the systemd cgroup driver.Kube ReservedKubeletConfiguration Setting: kubeReserved: {}. Example value {cpu: 100m, memory: 100Mi, ephemeral-storage: 1Gi, pid=1000}KubeletConfiguration Setting: kubeReservedCgroup: \"\"kubeReserved is meant to capture resource reservation for kubernetes system",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/",
    "id": "k8s_00289_qa_5368"
  },
  {
    "question": "What are the benefits of Reserve Compute Resources for System Daemons?",
    "answer": "Reserve Compute Resources for System DaemonsKubernetes nodes can be scheduled to Capacity. Pods can consume all the available capacity on a node by default. This is an issue because nodes typically run quite a few system daemons that power the OS and Kubernetes itself. Unless resources are set aside for these system daemons, pods and system daemons compete for resources and lead to resource starvation issues on the node.The kubelet exposes a feature named 'Node Allocatable' that helps to reserve compute resources for system daemons. Kubernetes recommends cluster administrators to configure 'Node Allocatable' based on their workload density on each node.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou can configure below kubelet configuration settings using the kubelet configuration file.Node Allocatable'Allocatable' on a Kubernetes node is defined as the amount of compute resources that are available for pods. The scheduler does not over-subscribe 'Allocatable'. 'CPU', 'memory' and 'ephemeral-storage' are supported as of now.Node Allocatable is exposed as part of v1.Node object in the API and as part of kubectl describe node in the CLI.Resources can be reserved for two categories of system daemons in the kubelet.Enabling QoS and Pod level cgroupsTo properly enforce node allocatable constraints on the node, you must enable the new cgroup hierarchy via the cgroupsPerQOS setting. This setting is enabled by default. When enabled, the kubelet will parent all end-user pods under a cgroup hierarchy managed by the kubelet.Configuring a cgroup driverThe kubelet supports manipulation of the cgroup hierarchy on the host using a cgroup driver. The driver is configured via the cgroupDriver setting.The supported values are the following:cgroupfs is the default driver that performs direct manipulation of the cgroup filesystem on the host in order to manage cgroup sandboxes.systemd is an alternative driver that manages cgroup sandboxes using transient slices for resources that are supported by that init system.Depending on the configuration of the associated container runtime, operators may have to choose a particular cgroup driver to ensure proper system behavior. For example, if operators use the systemd cgroup driver provided by the containerd runtime, the kubelet must be configured to use the systemd cgroup driver.Kube ReservedKubeletConfiguration Setting: kubeReserved: {}. Example value {cpu: 100m, memory: 100Mi, ephemeral-storage: 1Gi, pid=1000}KubeletConfiguration Setting: kubeReservedCgroup: \"\"kubeReserved is meant to capture resource reservation for kubernetes system",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/",
    "id": "k8s_00289_qa_5369"
  },
  {
    "question": "What is Reserve Compute Resources for System Daemons?",
    "answer": "K u b e r n e t e s   n o d e s   c a n   b e   s c h e d u l e d   t o   C a p a c i t y .   P o d s   c a n   c o n s u m e   a l l   t h e   a v a i l a b l e   c a p a c i t y   o n   a   n o d e   b y   d e f a u l t .   T h i s   i s   a n   i s s u e   b e c a u s e   n o d e s   t y p i c a l l y   r u n   q u i t e   a   f e w   s y s t e m   d a e m o n s   t h a t   p o w e r   t h e   O S   a n d   K u b e r n e t e s   i t s e l f .   U n l e s s   r e s o u r c e s   a r e   s e t   a s i d e   f o r   t h e s e   s y s t e m   d a e m o n s ,   p o d s   a n d   s y s t e m   d a e m o n s   c o m p e t e   f o r   r e s o u r c e s   a n d   l e a d   t o   r e s o u r c e   s t a r v a t i o n   i s s u e s   o n   t h e   n o d e .   T h e   k u b e l e t   e x p o s e s   a   f e a t u r e   n a m e d   ' N o d e   A l l o c a t a b l e '   t h a t   h e l p s   t o   r e s e r v e   c o m p u t e   r e s o u r c e s   f o r   s y s t e m   d a e m o n s .   K u b e r n e t e s   r e c o m m e n d s   c l u s t e r   a d m i n i s t r a t o r s   t o   c o n f i g u r e   ' N o d e   A l l o c a t a b l e '   b a s e d   o n   t h e i r   w o r k l o a d   d e n s i t y   o n   e a c h   n o d e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/",
    "id": "k8s_00289_section_1_5370"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   c a n   c o n f i g u r e   b e l o w   k u b e l e t   c o n f i g u r a t i o n   s e t t i n g s   u s i n g   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/",
    "id": "k8s_00289_section_2_5371"
  },
  {
    "question": "What is Node Allocatable?",
    "answer": "' A l l o c a t a b l e '   o n   a   K u b e r n e t e s   n o d e   i s   d e f i n e d   a s   t h e   a m o u n t   o f   c o m p u t e   r e s o u r c e s   t h a t   a r e   a v a i l a b l e   f o r   p o d s .   T h e   s c h e d u l e r   d o e s   n o t   o v e r - s u b s c r i b e   ' A l l o c a t a b l e ' .   ' C P U ' ,   ' m e m o r y '   a n d   ' e p h e m e r a l - s t o r a g e '   a r e   s u p p o r t e d   a s   o f   n o w .   N o d e   A l l o c a t a b l e   i s   e x p o s e d   a s   p a r t   o f   v 1 . N o d e   o b j e c t   i n   t h e   A P I   a n d   a s   p a r t   o f   k u b e c t l   d e s c r i b e   n o d e   i n   t h e   C L I .   R e s o u r c e s   c a n   b e   r e s e r v e d   f o r   t w o   c a t e g o r i e s   o f   s y s t e m   d a e m o n s   i n   t h e   k u b e l e t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/",
    "id": "k8s_00289_section_2_5372"
  },
  {
    "question": "What is Enabling QoS and Pod level cgroups?",
    "answer": "T o   p r o p e r l y   e n f o r c e   n o d e   a l l o c a t a b l e   c o n s t r a i n t s   o n   t h e   n o d e ,   y o u   m u s t   e n a b l e   t h e   n e w   c g r o u p   h i e r a r c h y   v i a   t h e   c g r o u p s P e r Q O S   s e t t i n g .   T h i s   s e t t i n g   i s   e n a b l e d   b y   d e f a u l t .   W h e n   e n a b l e d ,   t h e   k u b e l e t   w i l l   p a r e n t   a l l   e n d - u s e r   p o d s   u n d e r   a   c g r o u p   h i e r a r c h y   m a n a g e d   b y   t h e   k u b e l e t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/",
    "id": "k8s_00289_section_3_5373"
  },
  {
    "question": "What is Configuring a cgroup driver?",
    "answer": "T h e   k u b e l e t   s u p p o r t s   m a n i p u l a t i o n   o f   t h e   c g r o u p   h i e r a r c h y   o n   t h e   h o s t   u s i n g   a   c g r o u p   d r i v e r .   T h e   d r i v e r   i s   c o n f i g u r e d   v i a   t h e   c g r o u p D r i v e r   s e t t i n g .   T h e   s u p p o r t e d   v a l u e s   a r e   t h e   f o l l o w i n g :   c g r o u p f s   i s   t h e   d e f a u l t   d r i v e r   t h a t   p e r f o r m s   d i r e c t   m a n i p u l a t i o n   o f   t h e   c g r o u p   f i l e s y s t e m   o n   t h e   h o s t   i n   o r d e r   t o   m a n a g e   c g r o u p   s a n d b o x e s . s y s t e m d   i s   a n   a l t e r n a t i v e   d r i v e r   t h a t   m a n a g e s   c g r o u p   s a n d b o x e s   u s i n g   t r a n s i e n t   s l i c e s   f o r   r e s o u r c e s   t h a t   a r e   s u p p o r t e d   b y   t h a t   i n i t   s y s t e m .   D e p e n d i n g   o n   t h e   c o n f i g u r a t i o n   o f   t h e   a s s o c i a t e d   c o n t a i n e r   r u n t i m e ,   o p e r a t o r s   m a y   h a v e   t o   c h o o s e   a   p a r t i c u l a r   c g r o u p   d r i v e r   t o   e n s u r e   p r o p e r   s y s t e m   b e h a v i o r .   F o r   e x a m p l e ,   i f   o p e r a t o r s   u s e   t h e   s y s t e m d   c g r o u p   d r i v e r   p r o v i d e d   b y   t h e   c o n t a i n e r d   r u n t i m e ,   t h e   k u b e l e t   m u s t   b e   c o n f i g u r e d   t o   u s e   t h e   s y s t e m d   c g r o u p   d r i v e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/",
    "id": "k8s_00289_section_3_5374"
  },
  {
    "question": "What is Kube Reserved?",
    "answer": "K u b e l e t C o n f i g u r a t i o n   S e t t i n g :   k u b e R e s e r v e d :   { } .   E x a m p l e   v a l u e   { c p u :   1 0 0 m ,   m e m o r y :   1 0 0 M i ,   e p h e m e r a l - s t o r a g e :   1 G i ,   p i d = 1 0 0 0 } K u b e l e t C o n f i g u r a t i o n   S e t t i n g :   k u b e R e s e r v e d C g r o u p :   \" \"   k u b e R e s e r v e d   i s   m e a n t   t o   c a p t u r e   r e s o u r c e   r e s e r v a t i o n   f o r   k u b e r n e t e s   s y s t e m   d a e m o n s   l i k e   t h e   k u b e l e t ,   c o n t a i n e r   r u n t i m e ,   e t c .   I t   i s   n o t   m e a n t   t o   r e s e r v e   r e s o u r c e s   f o r   s y s t e m   d a e m o n s   t h a t   a r e   r u n   a s   p o d s .   k u b e R e s e r v e d   i s   t y p i c a l l y   a   f u n c t i o n   o f   p o d   d e n s i t y   o n   t h e   n o d e s .   I n   a d d i t i o n   t o   c p u ,   m e m o r y ,   a n d   e p h e m e r a l - s t o r a g e ,   p i d   m a y   b e   s p e c i f i e d   t o   r e s e r v e   t h e   s p e c i f i e d   n u m b e r   o f   p r o c e s s   I D s   f o r   k u b e r n e t e s   s y s t e m   d a e m o n s .   T o   o p t i o n a l l y   e n f o r c e   k u b e R e s e r v e d   o n   k u b e r n e t e s   s y s t e m   d a e m o n s ,   s p e c i f y   t h e   p a r e n t   c o n t r o l   g r o u p   f o r   k u b e   d a e m o n s   a s   t h e   v a l u e   f o r   k u b e R e s e r v e d C g r o u p   s e t t i n g ,   a n d   a d d   k u b e - r e s e r v e d   t o   e n f o r c e N o d e A l l o c a t a b l e .   I t   i s   r e c o m m e n d e d   t h a t   t h e   k u b e r n e t e s   s y s t e m   d a e m o n s   a r e   p l a c e d   u n d e r   a   t o p   l e v e l   c o n t r o l   g r o u p   ( r u n t i m e . s l i c e   o n   s y s t e m d   m a c h i n e s   f o r   e x a m p l e ) .   E a c h   s y s t e m   d a e m o n   s h o u l d   i d e a l l y   r u n   w i t h i n   i t s   o w ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/",
    "id": "k8s_00289_section_3_5375"
  },
  {
    "question": "What is System Reserved?",
    "answer": "K u b e l e t C o n f i g u r a t i o n   S e t t i n g :   s y s t e m R e s e r v e d :   { } .   E x a m p l e   v a l u e   { c p u :   1 0 0 m ,   m e m o r y :   1 0 0 M i ,   e p h e m e r a l - s t o r a g e :   1 G i ,   p i d = 1 0 0 0 } K u b e l e t C o n f i g u r a t i o n   S e t t i n g :   s y s t e m R e s e r v e d C g r o u p :   \" \"   s y s t e m R e s e r v e d   i s   m e a n t   t o   c a p t u r e   r e s o u r c e   r e s e r v a t i o n   f o r   O S   s y s t e m   d a e m o n s   l i k e   s s h d ,   u d e v ,   e t c .   s y s t e m R e s e r v e d   s h o u l d   r e s e r v e   m e m o r y   f o r   t h e   k e r n e l   t o o   s i n c e   k e r n e l   m e m o r y   i s   n o t   a c c o u n t e d   t o   p o d s   i n   K u b e r n e t e s   a t   t h i s   t i m e .   R e s e r v i n g   r e s o u r c e s   f o r   u s e r   l o g i n   s e s s i o n s   i s   a l s o   r e c o m m e n d e d   ( u s e r . s l i c e   i n   s y s t e m d   w o r l d ) .   I n   a d d i t i o n   t o   c p u ,   m e m o r y ,   a n d   e p h e m e r a l - s t o r a g e ,   p i d   m a y   b e   s p e c i f i e d   t o   r e s e r v e   t h e   s p e c i f i e d   n u m b e r   o f   p r o c e s s   I D s   f o r   O S   s y s t e m   d a e m o n s .   T o   o p t i o n a l l y   e n f o r c e   s y s t e m R e s e r v e d   o n   s y s t e m   d a e m o n s ,   s p e c i f y   t h e   p a r e n t   c o n t r o l   g r o u p   f o r   O S   s y s t e m   d a e m o n s   a s   t h e   v a l u e   f o r   s y s t e m R e s e r v e d C g r o u p   s e t t i n g ,   a n d   a d d   s y s t e m - r e s e r v e d   t o   e n f o r c e N o d e A l l o c a t a b l e .   I t   i s   r e c o m m e n d e d   t h a t   t h e   O S   s y s t e m   d a e m o n s   a r e   p l a c e d   u n d e r   a   t o p   l e v e l   c o n t r o l   g r o u p   ( s y s t e m . s l i c e   o n   s y s t e m d   m a c h i n e s   f o r   e x a m p l e ) .   N o t e   t h a t   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/",
    "id": "k8s_00289_section_3_5376"
  },
  {
    "question": "What is Explicitly Reserved CPU List?",
    "answer": "K u b e l e t C o n f i g u r a t i o n   S e t t i n g :   r e s e r v e d S y s t e m C P U s : .   E x a m p l e   v a l u e   0 - 3   r e s e r v e d S y s t e m C P U s   i s   m e a n t   t o   d e f i n e   a n   e x p l i c i t   C P U   s e t   f o r   O S   s y s t e m   d a e m o n s   a n d   k u b e r n e t e s   s y s t e m   d a e m o n s .   r e s e r v e d S y s t e m C P U s   i s   f o r   s y s t e m s   t h a t   d o   n o t   i n t e n d   t o   d e f i n e   s e p a r a t e   t o p   l e v e l   c g r o u p s   f o r   O S   s y s t e m   d a e m o n s   a n d   k u b e r n e t e s   s y s t e m   d a e m o n s   w i t h   r e g a r d   t o   c p u s e t   r e s o u r c e .   I f   t h e   K u b e l e t   d o e s   n o t   h a v e   k u b e R e s e r v e d C g r o u p   a n d   s y s t e m R e s e r v e d C g r o u p ,   t h e   e x p l i c i t   c p u s e t   p r o v i d e d   b y   r e s e r v e d S y s t e m C P U s   w i l l   t a k e   p r e c e d e n c e   o v e r   t h e   C P U s   d e f i n e d   b y   k u b e R e s e r v e d C g r o u p   a n d   s y s t e m R e s e r v e d C g r o u p   o p t i o n s .   T h i s   o p t i o n   i s   s p e c i f i c a l l y   d e s i g n e d   f o r   T e l c o / N F V   u s e   c a s e s   w h e r e   u n c o n t r o l l e d   i n t e r r u p t s / t i m e r s   m a y   i m p a c t   t h e   w o r k l o a d   p e r f o r m a n c e .   y o u   c a n   u s e   t h i s   o p t i o n   t o   d e f i n e   t h e   e x p l i c i t   c p u s e t   f o r   t h e   s y s t e m / k u b e r n e t e s   d a e m o n s   a s   w e l l   a s   t h e   i n t e r r u p t s / t i m e r s ,   s o   t h e   r e s t   C P U s   o n   t h e   s y s t e m   c a n   b e   u s e d   e x c l u s i v e l y   f o r   w o r k l o a d s ,   w i t h   l e s s   i m p a c t   f r o m   u n c o n t r o l l e d   i n t e r r u p t s / t i m e r s .   T o   m o v e   t h e   s y s t e m   d a e m o n ,   k u b e r n e t e s   d a e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/",
    "id": "k8s_00289_section_3_5377"
  },
  {
    "question": "What is Eviction Thresholds?",
    "answer": "K u b e l e t C o n f i g u r a t i o n   S e t t i n g :   e v i c t i o n H a r d :   { m e m o r y . a v a i l a b l e :   \" 1 0 0 M i \" ,   n o d e f s . a v a i l a b l e :   \" 1 0 % \" ,   n o d e f s . i n o d e s F r e e :   \" 5 % \" ,   i m a g e f s . a v a i l a b l e :   \" 1 5 % \" } .   E x a m p l e   v a l u e :   { m e m o r y . a v a i l a b l e :   \" < 5 0 0 M i \" }   M e m o r y   p r e s s u r e   a t   t h e   n o d e   l e v e l   l e a d s   t o   S y s t e m   O O M s   w h i c h   a f f e c t s   t h e   e n t i r e   n o d e   a n d   a l l   p o d s   r u n n i n g   o n   i t .   N o d e s   c a n   g o   o f f l i n e   t e m p o r a r i l y   u n t i l   m e m o r y   h a s   b e e n   r e c l a i m e d .   T o   a v o i d   ( o r   r e d u c e   t h e   p r o b a b i l i t y   o f )   s y s t e m   O O M s   k u b e l e t   p r o v i d e s   o u t   o f   r e s o u r c e   m a n a g e m e n t .   E v i c t i o n s   a r e   s u p p o r t e d   f o r   m e m o r y   a n d   e p h e m e r a l - s t o r a g e   o n l y .   B y   r e s e r v i n g   s o m e   m e m o r y   v i a   e v i c t i o n H a r d   s e t t i n g ,   t h e   k u b e l e t   a t t e m p t s   t o   e v i c t   p o d s   w h e n e v e r   m e m o r y   a v a i l a b i l i t y   o n   t h e   n o d e   d r o p s   b e l o w   t h e   r e s e r v e d   v a l u e .   H y p o t h e t i c a l l y ,   i f   s y s t e m   d a e m o n s   d i d   n o t   e x i s t   o n   a   n o d e ,   p o d s   c a n n o t   u s e   m o r e   t h a n   c a p a c i t y   -   e v i c t i o n - h a r d .   F o r   t h i s   r e a s o n ,   r e s o u r c e s   r e s e r v e d   f o r   e v i c t i o n s   a r e   n o t   a v a i l a b l e   f o r   p o d s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/",
    "id": "k8s_00289_section_3_5378"
  },
  {
    "question": "What is Enforcing Node Allocatable?",
    "answer": "K u b e l e t C o n f i g u r a t i o n   s e t t i n g :   e n f o r c e N o d e A l l o c a t a b l e :   [ p o d s ] .   E x a m p l e   v a l u e :   [ p o d s , s y s t e m - r e s e r v e d , k u b e - r e s e r v e d ]   T h e   s c h e d u l e r   t r e a t s   ' A l l o c a t a b l e '   a s   t h e   a v a i l a b l e   c a p a c i t y   f o r   p o d s .   k u b e l e t   e n f o r c e   ' A l l o c a t a b l e '   a c r o s s   p o d s   b y   d e f a u l t .   E n f o r c e m e n t   i s   p e r f o r m e d   b y   e v i c t i n g   p o d s   w h e n e v e r   t h e   o v e r a l l   u s a g e   a c r o s s   a l l   p o d s   e x c e e d s   ' A l l o c a t a b l e ' .   M o r e   d e t a i l s   o n   e v i c t i o n   p o l i c y   c a n   b e   f o u n d   o n   t h e   n o d e   p r e s s u r e   e v i c t i o n   p a g e .   T h i s   e n f o r c e m e n t   i s   c o n t r o l l e d   b y   s p e c i f y i n g   p o d s   v a l u e   t o   t h e   K u b e l e t C o n f i g u r a t i o n   s e t t i n g   e n f o r c e N o d e A l l o c a t a b l e .   O p t i o n a l l y ,   k u b e l e t   c a n   b e   m a d e   t o   e n f o r c e   k u b e R e s e r v e d   a n d   s y s t e m R e s e r v e d   b y   s p e c i f y i n g   k u b e - r e s e r v e d   &   s y s t e m - r e s e r v e d   v a l u e s   i n   t h e   s a m e   s e t t i n g .   N o t e   t h a t   t o   e n f o r c e   k u b e R e s e r v e d   o r   s y s t e m R e s e r v e d ,   k u b e R e s e r v e d C g r o u p   o r   s y s t e m R e s e r v e d C g r o u p   n e e d s   t o   b e   s p e c i f i e d   r e s p e c t i v e l y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/",
    "id": "k8s_00289_section_3_5379"
  },
  {
    "question": "What is General Guidelines?",
    "answer": "S y s t e m   d a e m o n s   a r e   e x p e c t e d   t o   b e   t r e a t e d   s i m i l a r   t o   G u a r a n t e e d   p o d s .   S y s t e m   d a e m o n s   c a n   b u r s t   w i t h i n   t h e i r   b o u n d i n g   c o n t r o l   g r o u p s   a n d   t h i s   b e h a v i o r   n e e d s   t o   b e   m a n a g e d   a s   p a r t   o f   k u b e r n e t e s   d e p l o y m e n t s .   F o r   e x a m p l e ,   k u b e l e t   s h o u l d   h a v e   i t s   o w n   c o n t r o l   g r o u p   a n d   s h a r e   k u b e R e s e r v e d   r e s o u r c e s   w i t h   t h e   c o n t a i n e r   r u n t i m e .   H o w e v e r ,   K u b e l e t   c a n n o t   b u r s t   a n d   u s e   u p   a l l   a v a i l a b l e   N o d e   r e s o u r c e s   i f   k u b e R e s e r v e d   i s   e n f o r c e d .   B e   e x t r a   c a r e f u l   w h i l e   e n f o r c i n g   s y s t e m R e s e r v e d   r e s e r v a t i o n   s i n c e   i t   c a n   l e a d   t o   c r i t i c a l   s y s t e m   s e r v i c e s   b e i n g   C P U   s t a r v e d ,   O O M   k i l l e d ,   o r   u n a b l e   t o   f o r k   o n   t h e   n o d e .   T h e   r e c o m m e n d a t i o n   i s   t o   e n f o r c e   s y s t e m R e s e r v e d   o n l y   i f   a   u s e r   h a s   p r o f i l e d   t h e i r   n o d e s   e x h a u s t i v e l y   t o   c o m e   u p   w i t h   p r e c i s e   e s t i m a t e s   a n d   i s   c o n f i d e n t   i n   t h e i r   a b i l i t y   t o   r e c o v e r   i f   a n y   p r o c e s s   i n   t h a t   g r o u p   i s   o o m - k i l l e d .   T o   b e g i n   w i t h   e n f o r c e   ' A l l o c a t a b l e '   o n   p o d s . O n c e   a d e q u a t e   m o n i t o r i n g   a n d   a l e r t i n g   i s   i n   p l a c e   t o   t r a c k   k u b e   s y s t e m   d a e m o n s ,   a t t e m p t   t o   e n f o r c e   k u b e R e s e r v e d   b a s e d   o n   u s a g e   h e u r i s t i c s . I f   a b s ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/",
    "id": "k8s_00289_section_2_5380"
  },
  {
    "question": "What is Example Scenario?",
    "answer": "H e r e   i s   a n   e x a m p l e   t o   i l l u s t r a t e   N o d e   A l l o c a t a b l e   c o m p u t a t i o n :   N o d e   h a s   3 2 G i   o f   m e m o r y ,   1 6   C P U s   a n d   1 0 0 G i   o f   S t o r a g e k u b e R e s e r v e d   i s   s e t   t o   { c p u :   1 0 0 0 m ,   m e m o r y :   2 G i ,   e p h e m e r a l - s t o r a g e :   1 G i } s y s t e m R e s e r v e d   i s   s e t   t o   { c p u :   5 0 0 m ,   m e m o r y :   1 G i ,   e p h e m e r a l - s t o r a g e :   1 G i } e v i c t i o n H a r d   i s   s e t   t o   { m e m o r y . a v a i l a b l e :   \" < 5 0 0 M i \" ,   n o d e f s . a v a i l a b l e :   \" < 1 0 % \" }   U n d e r   t h i s   s c e n a r i o ,   ' A l l o c a t a b l e '   w i l l   b e   1 4 . 5   C P U s ,   2 8 . 5 G i   o f   m e m o r y   a n d   8 8 G i   o f   l o c a l   s t o r a g e .   S c h e d u l e r   e n s u r e s   t h a t   t h e   t o t a l   m e m o r y   r e q u e s t s   a c r o s s   a l l   p o d s   o n   t h i s   n o d e   d o e s   n o t   e x c e e d   2 8 . 5 G i   a n d   s t o r a g e   d o e s n ' t   e x c e e d   8 8 G i .   K u b e l e t   e v i c t s   p o d s   w h e n e v e r   t h e   o v e r a l l   m e m o r y   u s a g e   a c r o s s   p o d s   e x c e e d s   2 8 . 5 G i ,   o r   i f   o v e r a l l   d i s k   u s a g e   e x c e e d s   8 8 G i .   I f   a l l   p r o c e s s e s   o n   t h e   n o d e   c o n s u m e   a s   m u c h   C P U   a s   t h e y   c a n ,   p o d s   t o g e t h e r   c a n n o t   c o n s u m e   m o r e   t h a n   1 4 . 5   C P U s .   I f   k u b e R e s e r v e d   a n d / o r   s y s t e m R e s e r v e d   i s   n o t   e n f o r c e d   a n d   s y s t e m   d a e m o n s   e x c e e d   t h e i r   r e s e r v a t i o n ,   k u b e l e t   e v i c t s   p o d s   w h e n e v e r   t h e   o v e r a l l   n o d e   m e m o r y   u s a g e   i s   h i g h e r   t h a n   3 1 . 5 G i   o r   s t o r a g e   i s   g r ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/",
    "id": "k8s_00289_section_2_5381"
  },
  {
    "question": "What is kubeadm join?",
    "answer": "kubeadm joinThis command initializes a new Kubernetes node and joins it to the existing cluster.Run this on any machine you wish to join an existing clusterSynopsisWhen joining a kubeadm initialized cluster, we need to establish bidirectional trust. This is split into discovery (having the Node trust the Kubernetes Control Plane) and TLS bootstrap (having the Kubernetes Control Plane trust the Node).There are 2 main schemes for discovery. The first is to use a shared token along with the IP address of the API server. The second is to provide a file - a subset of the standard kubeconfig file. The discovery/kubeconfig file supports token, client-go authentication plugins (\"exec\"), \"tokenFile\", and \"authProvider\". This file can be a local file or downloaded via an HTTPS URL. The forms are kubeadm join --discovery-token abcdef.1234567890abcdef 1.2.3.4:6443, kubeadm join --discovery-file path/to/file.conf, or kubeadm join --discovery-file https://url/file.conf. Only one form can be used. If the discovery information is loaded from a URL, HTTPS must be used. Also, in that case the host installed CA bundle is used to verify the connection.If you use a shared token for discovery, you should also pass the --discovery-token-ca-cert-hash flag to validate the public key of the root certificate authority (CA) presented by the Kubernetes Control Plane. The value of this flag is specified as \"<hash-type>:<hex-encoded-value>\", where the supported hash type is \"sha256\". The hash is calculated over the bytes of the Subject Public Key Info (SPKI) object (as in RFC7469). This value is available in the output of \"kubeadm init\" or can be calculated using standard tools. The --discovery-token-ca-cert-hash flag may be repeated multiple times to allow more than one public key.If you cannot know the CA public key hash ahead of time, you can pass the --discovery-token-unsafe-skip-ca-verification flag to disable this verification. This weakens the kubeadm security model since other nodes can potentially impersonate the Kubernetes Control Plane.The TLS bootstrap mechanism is also driven via a shared token. This is used to temporarily authenticate with the Kubernetes Control Plane to submit a certificate signing request (CSR) for a locally created key pair. By default, kubeadm will set up the Kubernetes Control Plane to automatically approve these signing requests. This token is passed in with the --tls-bootstrap-token abcdef.1234567890abcdef flag.Often times the same token is used for both parts. In this case, the --token flag can be used instead of specifying each token individually.The \"join [api-server-endpoint]\" command executes the following phases:preflight Run join pre-flight checks control-plane-prepare Prepare the machine for serving a control plane /download-certs Download certificates shared among control-plane nodes from the kubeadm-certs Secret /certs Generate the certificates for the new control plane components /kubeconfig Generate the kubeconfig for the new c",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join/",
    "id": "k8s_00290_qa_5382"
  },
  {
    "question": "How does kubeadm join work?",
    "answer": "kubeadm joinThis command initializes a new Kubernetes node and joins it to the existing cluster.Run this on any machine you wish to join an existing clusterSynopsisWhen joining a kubeadm initialized cluster, we need to establish bidirectional trust. This is split into discovery (having the Node trust the Kubernetes Control Plane) and TLS bootstrap (having the Kubernetes Control Plane trust the Node).There are 2 main schemes for discovery. The first is to use a shared token along with the IP address of the API server. The second is to provide a file - a subset of the standard kubeconfig file. The discovery/kubeconfig file supports token, client-go authentication plugins (\"exec\"), \"tokenFile\", and \"authProvider\". This file can be a local file or downloaded via an HTTPS URL. The forms are kubeadm join --discovery-token abcdef.1234567890abcdef 1.2.3.4:6443, kubeadm join --discovery-file path/to/file.conf, or kubeadm join --discovery-file https://url/file.conf. Only one form can be used. If the discovery information is loaded from a URL, HTTPS must be used. Also, in that case the host installed CA bundle is used to verify the connection.If you use a shared token for discovery, you should also pass the --discovery-token-ca-cert-hash flag to validate the public key of the root certificate authority (CA) presented by the Kubernetes Control Plane. The value of this flag is specified as \"<hash-type>:<hex-encoded-value>\", where the supported hash type is \"sha256\". The hash is calculated over the bytes of the Subject Public Key Info (SPKI) object (as in RFC7469). This value is available in the output of \"kubeadm init\" or can be calculated using standard tools. The --discovery-token-ca-cert-hash flag may be repeated multiple times to allow more than one public key.If you cannot know the CA public key hash ahead of time, you can pass the --discovery-token-unsafe-skip-ca-verification flag to disable this verification. This weakens the kubeadm security model since other nodes can potentially impersonate the Kubernetes Control Plane.The TLS bootstrap mechanism is also driven via a shared token. This is used to temporarily authenticate with the Kubernetes Control Plane to submit a certificate signing request (CSR) for a locally created key pair. By default, kubeadm will set up the Kubernetes Control Plane to automatically approve these signing requests. This token is passed in with the --tls-bootstrap-token abcdef.1234567890abcdef flag.Often times the same token is used for both parts. In this case, the --token flag can be used instead of specifying each token individually.The \"join [api-server-endpoint]\" command executes the following phases:preflight Run join pre-flight checks control-plane-prepare Prepare the machine for serving a control plane /download-certs Download certificates shared among control-plane nodes from the kubeadm-certs Secret /certs Generate the certificates for the new control plane components /kubeconfig Generate the kubeconfig for the new c",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join/",
    "id": "k8s_00290_qa_5383"
  },
  {
    "question": "When would you use kubeadm join?",
    "answer": "kubeadm joinThis command initializes a new Kubernetes node and joins it to the existing cluster.Run this on any machine you wish to join an existing clusterSynopsisWhen joining a kubeadm initialized cluster, we need to establish bidirectional trust. This is split into discovery (having the Node trust the Kubernetes Control Plane) and TLS bootstrap (having the Kubernetes Control Plane trust the Node).There are 2 main schemes for discovery. The first is to use a shared token along with the IP address of the API server. The second is to provide a file - a subset of the standard kubeconfig file. The discovery/kubeconfig file supports token, client-go authentication plugins (\"exec\"), \"tokenFile\", and \"authProvider\". This file can be a local file or downloaded via an HTTPS URL. The forms are kubeadm join --discovery-token abcdef.1234567890abcdef 1.2.3.4:6443, kubeadm join --discovery-file path/to/file.conf, or kubeadm join --discovery-file https://url/file.conf. Only one form can be used. If the discovery information is loaded from a URL, HTTPS must be used. Also, in that case the host installed CA bundle is used to verify the connection.If you use a shared token for discovery, you should also pass the --discovery-token-ca-cert-hash flag to validate the public key of the root certificate authority (CA) presented by the Kubernetes Control Plane. The value of this flag is specified as \"<hash-type>:<hex-encoded-value>\", where the supported hash type is \"sha256\". The hash is calculated over the bytes of the Subject Public Key Info (SPKI) object (as in RFC7469). This value is available in the output of \"kubeadm init\" or can be calculated using standard tools. The --discovery-token-ca-cert-hash flag may be repeated multiple times to allow more than one public key.If you cannot know the CA public key hash ahead of time, you can pass the --discovery-token-unsafe-skip-ca-verification flag to disable this verification. This weakens the kubeadm security model since other nodes can potentially impersonate the Kubernetes Control Plane.The TLS bootstrap mechanism is also driven via a shared token. This is used to temporarily authenticate with the Kubernetes Control Plane to submit a certificate signing request (CSR) for a locally created key pair. By default, kubeadm will set up the Kubernetes Control Plane to automatically approve these signing requests. This token is passed in with the --tls-bootstrap-token abcdef.1234567890abcdef flag.Often times the same token is used for both parts. In this case, the --token flag can be used instead of specifying each token individually.The \"join [api-server-endpoint]\" command executes the following phases:preflight Run join pre-flight checks control-plane-prepare Prepare the machine for serving a control plane /download-certs Download certificates shared among control-plane nodes from the kubeadm-certs Secret /certs Generate the certificates for the new control plane components /kubeconfig Generate the kubeconfig for the new c",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join/",
    "id": "k8s_00290_qa_5384"
  },
  {
    "question": "What are the benefits of kubeadm join?",
    "answer": "kubeadm joinThis command initializes a new Kubernetes node and joins it to the existing cluster.Run this on any machine you wish to join an existing clusterSynopsisWhen joining a kubeadm initialized cluster, we need to establish bidirectional trust. This is split into discovery (having the Node trust the Kubernetes Control Plane) and TLS bootstrap (having the Kubernetes Control Plane trust the Node).There are 2 main schemes for discovery. The first is to use a shared token along with the IP address of the API server. The second is to provide a file - a subset of the standard kubeconfig file. The discovery/kubeconfig file supports token, client-go authentication plugins (\"exec\"), \"tokenFile\", and \"authProvider\". This file can be a local file or downloaded via an HTTPS URL. The forms are kubeadm join --discovery-token abcdef.1234567890abcdef 1.2.3.4:6443, kubeadm join --discovery-file path/to/file.conf, or kubeadm join --discovery-file https://url/file.conf. Only one form can be used. If the discovery information is loaded from a URL, HTTPS must be used. Also, in that case the host installed CA bundle is used to verify the connection.If you use a shared token for discovery, you should also pass the --discovery-token-ca-cert-hash flag to validate the public key of the root certificate authority (CA) presented by the Kubernetes Control Plane. The value of this flag is specified as \"<hash-type>:<hex-encoded-value>\", where the supported hash type is \"sha256\". The hash is calculated over the bytes of the Subject Public Key Info (SPKI) object (as in RFC7469). This value is available in the output of \"kubeadm init\" or can be calculated using standard tools. The --discovery-token-ca-cert-hash flag may be repeated multiple times to allow more than one public key.If you cannot know the CA public key hash ahead of time, you can pass the --discovery-token-unsafe-skip-ca-verification flag to disable this verification. This weakens the kubeadm security model since other nodes can potentially impersonate the Kubernetes Control Plane.The TLS bootstrap mechanism is also driven via a shared token. This is used to temporarily authenticate with the Kubernetes Control Plane to submit a certificate signing request (CSR) for a locally created key pair. By default, kubeadm will set up the Kubernetes Control Plane to automatically approve these signing requests. This token is passed in with the --tls-bootstrap-token abcdef.1234567890abcdef flag.Often times the same token is used for both parts. In this case, the --token flag can be used instead of specifying each token individually.The \"join [api-server-endpoint]\" command executes the following phases:preflight Run join pre-flight checks control-plane-prepare Prepare the machine for serving a control plane /download-certs Download certificates shared among control-plane nodes from the kubeadm-certs Secret /certs Generate the certificates for the new control plane components /kubeconfig Generate the kubeconfig for the new c",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join/",
    "id": "k8s_00290_qa_5385"
  },
  {
    "question": "What is kubeadm join?",
    "answer": "T h i s   c o m m a n d   i n i t i a l i z e s   a   n e w   K u b e r n e t e s   n o d e   a n d   j o i n s   i t   t o   t h e   e x i s t i n g   c l u s t e r .   R u n   t h i s   o n   a n y   m a c h i n e   y o u   w i s h   t o   j o i n   a n   e x i s t i n g   c l u s t e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join/",
    "id": "k8s_00290_section_1_5386"
  },
  {
    "question": "What is Synopsis?",
    "answer": "W h e n   j o i n i n g   a   k u b e a d m   i n i t i a l i z e d   c l u s t e r ,   w e   n e e d   t o   e s t a b l i s h   b i d i r e c t i o n a l   t r u s t .   T h i s   i s   s p l i t   i n t o   d i s c o v e r y   ( h a v i n g   t h e   N o d e   t r u s t   t h e   K u b e r n e t e s   C o n t r o l   P l a n e )   a n d   T L S   b o o t s t r a p   ( h a v i n g   t h e   K u b e r n e t e s   C o n t r o l   P l a n e   t r u s t   t h e   N o d e ) .   T h e r e   a r e   2   m a i n   s c h e m e s   f o r   d i s c o v e r y .   T h e   f i r s t   i s   t o   u s e   a   s h a r e d   t o k e n   a l o n g   w i t h   t h e   I P   a d d r e s s   o f   t h e   A P I   s e r v e r .   T h e   s e c o n d   i s   t o   p r o v i d e   a   f i l e   -   a   s u b s e t   o f   t h e   s t a n d a r d   k u b e c o n f i g   f i l e .   T h e   d i s c o v e r y / k u b e c o n f i g   f i l e   s u p p o r t s   t o k e n ,   c l i e n t - g o   a u t h e n t i c a t i o n   p l u g i n s   ( \" e x e c \" ) ,   \" t o k e n F i l e \" ,   a n d   \" a u t h P r o v i d e r \" .   T h i s   f i l e   c a n   b e   a   l o c a l   f i l e   o r   d o w n l o a d e d   v i a   a n   H T T P S   U R L .   T h e   f o r m s   a r e   k u b e a d m   j o i n   - - d i s c o v e r y - t o k e n   a b c d e f . 1 2 3 4 5 6 7 8 9 0 a b c d e f   1 . 2 . 3 . 4 : 6 4 4 3 ,   k u b e a d m   j o i n   - - d i s c o v e r y - f i l e   p a t h / t o / f i l e . c o n f ,   o r   k u b e a d m   j o i n   - - d i s c o v e r y - f i l e   h t t p s : / / u r l / f i l e . c o n f .   O n l y   o n e   f o r m   c a n   b e   u s e d .   I f   t h e   d i s c o v e r y   i n f o r m a t i o n   i s   l o a d e d   f r o m   a   U R L ,   H T T P S   m u s t   b e   u s e d .   A l s o ,   i n   t h a t   c a s e   t h e   h o s t   i n s t a l l e d   C A   b u n d l e   i s   u s e d   t o   v e r i f y   t h e   c o n n e c t i o n .   I f   y o u   u s e   a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join/",
    "id": "k8s_00290_section_3_5387"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   p o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   U s e   t h i s   k e y   t o   d e c r y p t   t h e   c e r t i f i c a t e   s e c r e t s   u p l o a d e d   b y   i n i t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) .   F o r   t o k e n - b a s e d   d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join/",
    "id": "k8s_00290_section_3_5388"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join/",
    "id": "k8s_00290_section_3_5389"
  },
  {
    "question": "What is The join workflow?",
    "answer": "k u b e a d m   j o i n   b o o t s t r a p s   a   K u b e r n e t e s   w o r k e r   n o d e   o r   a   c o n t r o l - p l a n e   n o d e   a n d   a d d s   i t   t o   t h e   c l u s t e r .   T h i s   a c t i o n   c o n s i s t s   o f   t h e   f o l l o w i n g   s t e p s   f o r   w o r k e r   n o d e s :   k u b e a d m   d o w n l o a d s   n e c e s s a r y   c l u s t e r   i n f o r m a t i o n   f r o m   t h e   A P I   s e r v e r .   B y   d e f a u l t ,   i t   u s e s   t h e   b o o t s t r a p   t o k e n   a n d   t h e   C A   k e y   h a s h   t o   v e r i f y   t h e   a u t h e n t i c i t y   o f   t h a t   d a t a .   T h e   r o o t   C A   c a n   a l s o   b e   d i s c o v e r e d   d i r e c t l y   v i a   a   f i l e   o r   U R L . O n c e   t h e   c l u s t e r   i n f o r m a t i o n   i s   k n o w n ,   k u b e l e t   c a n   s t a r t   t h e   T L S   b o o t s t r a p p i n g   p r o c e s s . T h e   T L S   b o o t s t r a p   u s e s   t h e   s h a r e d   t o k e n   t o   t e m p o r a r i l y   a u t h e n t i c a t e   w i t h   t h e   K u b e r n e t e s   A P I   s e r v e r   t o   s u b m i t   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t   ( C S R ) ;   b y   d e f a u l t   t h e   c o n t r o l   p l a n e   s i g n s   t h i s   C S R   r e q u e s t   a u t o m a t i c a l l y . F i n a l l y ,   k u b e a d m   c o n f i g u r e s   t h e   l o c a l   k u b e l e t   t o   c o n n e c t   t o   t h e   A P I   s e r v e r   w i t h   t h e   d e f i n i t i v e   i d e n t i t y   a s s i g n e d   t o   t h e   n o d e .   k u b e a d m   d o w n l o a d s   n e c e s s a r y   c l u s t e r   i n f o r m a t i o n   f r o m   t h e   A P I   s e r v e r .   B y   d e f a u l t ,   i t   u s e s   t h e   b o o t s t r a p   t o k e n   a n d   t h e   C A   k e y   h a s h   t o   v e r i f y   t h e   a u t h e n t i c i t y   o f   t h a t   d a t a .   T h e   r o o t   C ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join/",
    "id": "k8s_00290_section_3_5390"
  },
  {
    "question": "What is Using join phases with kubeadm?",
    "answer": "K u b e a d m   a l l o w s   y o u   j o i n   a   n o d e   t o   t h e   c l u s t e r   i n   p h a s e s   u s i n g   k u b e a d m   j o i n   p h a s e .   T o   v i e w   t h e   o r d e r e d   l i s t   o f   p h a s e s   a n d   s u b - p h a s e s   y o u   c a n   c a l l   k u b e a d m   j o i n   - - h e l p .   T h e   l i s t   w i l l   b e   l o c a t e d   a t   t h e   t o p   o f   t h e   h e l p   s c r e e n   a n d   e a c h   p h a s e   w i l l   h a v e   a   d e s c r i p t i o n   n e x t   t o   i t .   N o t e   t h a t   b y   c a l l i n g   k u b e a d m   j o i n   a l l   o f   t h e   p h a s e s   a n d   s u b - p h a s e s   w i l l   b e   e x e c u t e d   i n   t h i s   e x a c t   o r d e r .   S o m e   p h a s e s   h a v e   u n i q u e   f l a g s ,   s o   i f   y o u   w a n t   t o   h a v e   a   l o o k   a t   t h e   l i s t   o f   a v a i l a b l e   o p t i o n s   a d d   - - h e l p ,   f o r   e x a m p l e :   k u b e a d m   j o i n   p h a s e   k u b e l e t - s t a r t   - - h e l p   S i m i l a r   t o   t h e   k u b e a d m   i n i t   p h a s e   c o m m a n d ,   k u b e a d m   j o i n   p h a s e   a l l o w s   y o u   t o   s k i p   a   l i s t   o f   p h a s e s   u s i n g   t h e   - - s k i p - p h a s e s   f l a g .   F o r   e x a m p l e :   s u d o   k u b e a d m   j o i n   - - s k i p - p h a s e s = p r e f l i g h t   - - c o n f i g = c o n f i g . y a m l   A l t e r n a t i v e l y ,   y o u   c a n   u s e   t h e   s k i p P h a s e s   f i e l d   i n   J o i n C o n f i g u r a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join/",
    "id": "k8s_00290_section_3_5391"
  },
  {
    "question": "What is Discovering what cluster CA to trust?",
    "answer": "T h e   k u b e a d m   d i s c o v e r y   h a s   s e v e r a l   o p t i o n s ,   e a c h   w i t h   s e c u r i t y   t r a d e o f f s .   T h e   r i g h t   m e t h o d   f o r   y o u r   e n v i r o n m e n t   d e p e n d s   o n   h o w   y o u   p r o v i s i o n   n o d e s   a n d   t h e   s e c u r i t y   e x p e c t a t i o n s   y o u   h a v e   a b o u t   y o u r   n e t w o r k   a n d   n o d e   l i f e c y c l e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join/",
    "id": "k8s_00290_section_3_5392"
  },
  {
    "question": "What is Token-based discovery with CA pinning?",
    "answer": "T h i s   i s   t h e   d e f a u l t   m o d e   i n   k u b e a d m .   I n   t h i s   m o d e ,   k u b e a d m   d o w n l o a d s   t h e   c l u s t e r   c o n f i g u r a t i o n   ( i n c l u d i n g   r o o t   C A )   a n d   v a l i d a t e s   i t   u s i n g   t h e   t o k e n   a s   w e l l   a s   v a l i d a t i n g   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h e   p r o v i d e d   h a s h   a n d   t h a t   t h e   A P I   s e r v e r   c e r t i f i c a t e   i s   v a l i d   u n d e r   t h e   r o o t   C A .   T h e   C A   k e y   h a s h   h a s   t h e   f o r m a t   s h a 2 5 6 : < h e x _ e n c o d e d _ h a s h > .   B y   d e f a u l t ,   t h e   h a s h   v a l u e   i s   p r i n t e d   a t   t h e   e n d   o f   t h e   k u b e a d m   i n i t   c o m m a n d   o r   i n   t h e   o u t p u t   f r o m   t h e   k u b e a d m   t o k e n   c r e a t e   - - p r i n t - j o i n - c o m m a n d   c o m m a n d .   I t   i s   i n   a   s t a n d a r d   f o r m a t   ( s e e   R F C 7 4 6 9 )   a n d   c a n   a l s o   b e   c a l c u l a t e d   b y   3 r d   p a r t y   t o o l s   o r   p r o v i s i o n i n g   s y s t e m s .   F o r   e x a m p l e ,   u s i n g   t h e   O p e n S S L   C L I :   o p e n s s l   x 5 0 9   - p u b k e y   - i n   / e t c / k u b e r n e t e s / p k i / c a . c r t   |   o p e n s s l   r s a   - p u b i n   - o u t f o r m   d e r   2 > / d e v / n u l l   |   o p e n s s l   d g s t   - s h a 2 5 6   - h e x   |   s e d   ' s / ^ . *   / / '   E x a m p l e   k u b e a d m   j o i n   c o m m a n d s :   F o r   w o r k e r   n o d e s :   k u b e a d m   j o i n   - - d i s c o v e r y - t o k e n   a b c d e f . 1 2 3 4 5 6 7 8 9 0 a b c d e f   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   s h a 2 5 6 : 1 2 3 4 . . c d e f   1 . 2 . 3 . 4 : 6 4 4 3   F o r   c o n t r o l - p l a n e   n o d e s :   k u b e a d m   j o i n   - - d i s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join/",
    "id": "k8s_00290_section_4_5393"
  },
  {
    "question": "What is Token-based discovery without CA pinning?",
    "answer": "T h i s   m o d e   r e l i e s   o n l y   o n   t h e   s y m m e t r i c   t o k e n   t o   s i g n   ( H M A C - S H A 2 5 6 )   t h e   d i s c o v e r y   i n f o r m a t i o n   t h a t   e s t a b l i s h e s   t h e   r o o t   o f   t r u s t   f o r   t h e   c o n t r o l - p l a n e .   T o   u s e   t h e   m o d e   t h e   j o i n i n g   n o d e s   m u s t   s k i p   t h e   h a s h   v a l i d a t i o n   o f   t h e   C A   p u b l i c   k e y ,   u s i n g   - - d i s c o v e r y - t o k e n - u n s a f e - s k i p - c a - v e r i f i c a t i o n .   Y o u   s h o u l d   c o n s i d e r   u s i n g   o n e   o f   t h e   o t h e r   m o d e s   i f   p o s s i b l e .   E x a m p l e   k u b e a d m   j o i n   c o m m a n d :   k u b e a d m   j o i n   - - t o k e n   a b c d e f . 1 2 3 4 5 6 7 8 9 0 a b c d e f   - - d i s c o v e r y - t o k e n - u n s a f e - s k i p - c a - v e r i f i c a t i o n   1 . 2 . 3 . 4 : 6 4 4 3   A d v a n t a g e s :   S t i l l   p r o t e c t s   a g a i n s t   m a n y   n e t w o r k - l e v e l   a t t a c k s . T h e   t o k e n   c a n   b e   g e n e r a t e d   a h e a d   o f   t i m e   a n d   s h a r e d   w i t h   t h e   c o n t r o l - p l a n e   n o d e   a n d   w o r k e r   n o d e s ,   w h i c h   c a n   t h e n   b o o t s t r a p   i n   p a r a l l e l   w i t h o u t   c o o r d i n a t i o n .   T h i s   a l l o w s   i t   t o   b e   u s e d   i n   m a n y   p r o v i s i o n i n g   s c e n a r i o s .   S t i l l   p r o t e c t s   a g a i n s t   m a n y   n e t w o r k - l e v e l   a t t a c k s .   T h e   t o k e n   c a n   b e   g e n e r a t e d   a h e a d   o f   t i m e   a n d   s h a r e d   w i t h   t h e   c o n t r o l - p l a n e   n o d e   a n d   w o r k e r   n o d e s ,   w h i c h   c a n   t h e n   b o o t s t r a p   i n   p a r a l l e l   w i t h o u t   c o o r d i n a t i o n .   T h i s   a l l o w s   i t   t o   b e   u s e d   i n   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join/",
    "id": "k8s_00290_section_4_5394"
  },
  {
    "question": "What is File or HTTPS-based discovery?",
    "answer": "T h i s   p r o v i d e s   a n   o u t - o f - b a n d   w a y   t o   e s t a b l i s h   a   r o o t   o f   t r u s t   b e t w e e n   t h e   c o n t r o l - p l a n e   n o d e   a n d   b o o t s t r a p p i n g   n o d e s .   C o n s i d e r   u s i n g   t h i s   m o d e   i f   y o u   a r e   b u i l d i n g   a u t o m a t e d   p r o v i s i o n i n g   u s i n g   k u b e a d m .   T h e   f o r m a t   o f   t h e   d i s c o v e r y   f i l e   i s   a   r e g u l a r   K u b e r n e t e s   k u b e c o n f i g   f i l e .   I n   c a s e   t h e   d i s c o v e r y   f i l e   d o e s   n o t   c o n t a i n   c r e d e n t i a l s ,   t h e   T L S   d i s c o v e r y   t o k e n   w i l l   b e   u s e d .   E x a m p l e   k u b e a d m   j o i n   c o m m a n d s :   k u b e a d m   j o i n   - - d i s c o v e r y - f i l e   p a t h / t o / f i l e . c o n f   ( l o c a l   f i l e ) k u b e a d m   j o i n   - - d i s c o v e r y - f i l e   h t t p s : / / u r l / f i l e . c o n f   ( r e m o t e   H T T P S   U R L )   k u b e a d m   j o i n   - - d i s c o v e r y - f i l e   p a t h / t o / f i l e . c o n f   ( l o c a l   f i l e )   k u b e a d m   j o i n   - - d i s c o v e r y - f i l e   h t t p s : / / u r l / f i l e . c o n f   ( r e m o t e   H T T P S   U R L )   A d v a n t a g e s :   A l l o w s   b o o t s t r a p p i n g   n o d e s   t o   s e c u r e l y   d i s c o v e r   a   r o o t   o f   t r u s t   f o r   t h e   c o n t r o l - p l a n e   n o d e   e v e n   i f   t h e   n e t w o r k   o r   o t h e r   w o r k e r   n o d e s   a r e   c o m p r o m i s e d .   D i s a d v a n t a g e s :   R e q u i r e s   t h a t   y o u   h a v e   s o m e   w a y   t o   c a r r y   t h e   d i s c o v e r y   i n f o r m a t i o n   f r o m   t h e   c o n t r o l - p l a n e   n o d e   t o   t h e   b o o t s t r a p p i n g   n o d e s .   I f   t h e   d i s c o v e r y   f i l e   c o n t a i n s   c r e d e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join/",
    "id": "k8s_00290_section_4_5395"
  },
  {
    "question": "What is Use of custom kubelet credentials with kubeadm join?",
    "answer": "T o   a l l o w   k u b e a d m   j o i n   t o   u s e   p r e d e f i n e d   k u b e l e t   c r e d e n t i a l s   a n d   s k i p   c l i e n t   T L S   b o o t s t r a p   a n d   C S R   a p p r o v a l   f o r   a   n e w   n o d e :   F r o m   a   w o r k i n g   c o n t r o l   p l a n e   n o d e   i n   t h e   c l u s t e r   t h a t   h a s   / e t c / k u b e r n e t e s / p k i / c a . k e y   e x e c u t e   k u b e a d m   k u b e c o n f i g   u s e r   - - o r g   s y s t e m : n o d e s   - - c l i e n t - n a m e   s y s t e m : n o d e : $ N O D E   >   k u b e l e t . c o n f .   $ N O D E   m u s t   b e   s e t   t o   t h e   n a m e   o f   t h e   n e w   n o d e . M o d i f y   t h e   r e s u l t e d   k u b e l e t . c o n f   m a n u a l l y   t o   a d j u s t   t h e   c l u s t e r   n a m e   a n d   t h e   s e r v e r   e n d p o i n t ,   o r   r u n   k u b e a d m   k u b e c o n f i g   u s e r   - - c o n f i g   ( i t   a c c e p t s   I n i t C o n f i g u r a t i o n ) .   I f   y o u r   c l u s t e r   d o e s   n o t   h a v e   t h e   c a . k e y   f i l e ,   y o u   m u s t   s i g n   t h e   e m b e d d e d   c e r t i f i c a t e s   i n   t h e   k u b e l e t . c o n f   e x t e r n a l l y .   F o r   a d d i t i o n a l   i n f o r m a t i o n ,   s e e   P K I   c e r t i f i c a t e s   a n d   r e q u i r e m e n t s   a n d   C e r t i f i c a t e   M a n a g e m e n t   w i t h   k u b e a d m .   C o p y   t h e   r e s u l t i n g   k u b e l e t . c o n f   t o   / e t c / k u b e r n e t e s / k u b e l e t . c o n f   o n   t h e   n e w   n o d e . E x e c u t e   k u b e a d m   j o i n   w i t h   t h e   f l a g   - - i g n o r e - p r e f l i g h t - e r r o r s = F i l e A v a i l a b l e - - e t c - k u b e r n e t e s - k u b e l e t . c o n f   o n   t h e   n e w   n o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join/",
    "id": "k8s_00290_section_4_5396"
  },
  {
    "question": "What is Securing your installation even more?",
    "answer": "T h e   d e f a u l t s   f o r   k u b e a d m   m a y   n o t   w o r k   f o r   e v e r y o n e .   T h i s   s e c t i o n   d o c u m e n t s   h o w   t o   t i g h t e n   u p   a   k u b e a d m   i n s t a l l a t i o n   a t   t h e   c o s t   o f   s o m e   u s a b i l i t y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join/",
    "id": "k8s_00290_section_3_5397"
  },
  {
    "question": "What is Turning off auto-approval of node client certificates?",
    "answer": "B y   d e f a u l t ,   t h e r e   i s   a   C S R   a u t o - a p p r o v e r   e n a b l e d   t h a t   b a s i c a l l y   a p p r o v e s   a n y   c l i e n t   c e r t i f i c a t e   r e q u e s t   f o r   a   k u b e l e t   w h e n   a   B o o t s t r a p   T o k e n   w a s   u s e d   w h e n   a u t h e n t i c a t i n g .   I f   y o u   d o n ' t   w a n t   t h e   c l u s t e r   t o   a u t o m a t i c a l l y   a p p r o v e   k u b e l e t   c l i e n t   c e r t s ,   y o u   c a n   t u r n   i t   o f f   b y   e x e c u t i n g   t h i s   c o m m a n d :   k u b e c t l   d e l e t e   c l u s t e r r o l e b i n d i n g   k u b e a d m : n o d e - a u t o a p p r o v e - b o o t s t r a p   A f t e r   t h a t ,   k u b e a d m   j o i n   w i l l   b l o c k   u n t i l   t h e   a d m i n   h a s   m a n u a l l y   a p p r o v e d   t h e   C S R   i n   f l i g h t :   U s i n g   k u b e c t l   g e t   c s r ,   y o u   c a n   s e e   t h a t   t h e   o r i g i n a l   C S R   i s   i n   t h e   P e n d i n g   s t a t e . k u b e c t l   g e t   c s r   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   A G E   R E Q U E S T O R   C O N D I T I O N   n o d e - c s r - c 6 9 H X e 7 a Y c q k S 1 b K m H 4 f a E n H A W x n 6 i 2 b H Z 2 m D 0 4 j Z y Q   1 8 s   s y s t e m : b o o t s t r a p : 8 7 8 f 0 7   P e n d i n g   k u b e c t l   c e r t i f i c a t e   a p p r o v e   a l l o w s   t h e   a d m i n   t o   a p p r o v e   C S R . T h i s   a c t i o n   t e l l s   a   c e r t i f i c a t e   s i g n i n g   c o n t r o l l e r   t o   i s s u e   a   c e r t i f i c a t e   t o   t h e   r e q u e s t o r   w i t h   t h e   a t t r i b u t e s   r e q u e s t e d   i n   t h e   C S R . k u b e c t l   c e r t i f i c a t e   a p p r o v e   n o d e - c s r - c 6 9 H X e 7 a Y c q k S 1 b K m H 4 f a E n H A W x n 6 i 2 b H Z 2 m D 0 4 j Z y Q   T h e   o u t p u t   i s   s i m i l a r   t o   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join/",
    "id": "k8s_00290_section_4_5398"
  },
  {
    "question": "What is Turning off public access to the cluster-info ConfigMap?",
    "answer": "I n   o r d e r   t o   a c h i e v e   t h e   j o i n i n g   f l o w   u s i n g   t h e   t o k e n   a s   t h e   o n l y   p i e c e   o f   v a l i d a t i o n   i n f o r m a t i o n ,   a   C o n f i g M a p   w i t h   s o m e   d a t a   n e e d e d   f o r   v a l i d a t i o n   o f   t h e   c o n t r o l - p l a n e   n o d e ' s   i d e n t i t y   i s   e x p o s e d   p u b l i c l y   b y   d e f a u l t .   W h i l e   t h e r e   i s   n o   p r i v a t e   d a t a   i n   t h i s   C o n f i g M a p ,   s o m e   u s e r s   m i g h t   w i s h   t o   t u r n   i t   o f f   r e g a r d l e s s .   D o i n g   s o   w i l l   d i s a b l e   t h e   a b i l i t y   t o   u s e   t h e   - - d i s c o v e r y - t o k e n   f l a g   o f   t h e   k u b e a d m   j o i n   f l o w .   H e r e   a r e   t h e   s t e p s   t o   d o   s o :   F e t c h   t h e   c l u s t e r - i n f o   f i l e   f r o m   t h e   A P I   S e r v e r :   k u b e c t l   - n   k u b e - p u b l i c   g e t   c m   c l u s t e r - i n f o   - o   j s o n p a t h = ' { . d a t a . k u b e c o n f i g } '   |   t e e   c l u s t e r - i n f o . y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g   c l u s t e r s :   -   c l u s t e r :   c e r t i f i c a t e - a u t h o r i t y - d a t a :   < c a - c e r t >   s e r v e r :   h t t p s : / / < i p > : < p o r t >   n a m e :   \" \"   c o n t e x t s :   [ ]   c u r r e n t - c o n t e x t :   \" \"   p r e f e r e n c e s :   { }   u s e r s :   [ ]   U s e   t h e   c l u s t e r - i n f o . y a m l   f i l e   a s   a n   a r g u m e n t   t o   k u b e a d m   j o i n   - - d i s c o v e r y - f i l e . T u r n   o f f   p u b l i c   a c c e s s   t o   t h e   c l u s t e r - i n f o   C o n f i g M a p :   U s e   t h e   c l u s t e r - i n f o . y a m l   f i l e   a s   a n   a r g u m e n t   t o   k u b e a d m   j o i n   - - d i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join/",
    "id": "k8s_00290_section_4_5399"
  },
  {
    "question": "What is Caution:?",
    "answer": "I t ' s   p o s s i b l e   t o   c o n f i g u r e   k u b e a d m   j o i n   w i t h   a   c o n f i g u r a t i o n   f i l e   i n s t e a d   o f   c o m m a n d   l i n e   f l a g s ,   a n d   s o m e   m o r e   a d v a n c e d   f e a t u r e s   m a y   o n l y   b e   a v a i l a b l e   a s   c o n f i g u r a t i o n   f i l e   o p t i o n s .   T h i s   f i l e   i s   p a s s e d   u s i n g   t h e   - - c o n f i g   f l a g   a n d   i t   m u s t   c o n t a i n   a   J o i n C o n f i g u r a t i o n   s t r u c t u r e .   M i x i n g   - - c o n f i g   w i t h   o t h e r s   f l a g s   m a y   n o t   b e   a l l o w e d   i n   s o m e   c a s e s .   T h e   d e f a u l t   c o n f i g u r a t i o n   c a n   b e   p r i n t e d   o u t   u s i n g   t h e   k u b e a d m   c o n f i g   p r i n t   c o m m a n d .   I f   y o u r   c o n f i g u r a t i o n   i s   n o t   u s i n g   t h e   l a t e s t   v e r s i o n   i t   i s   r e c o m m e n d e d   t h a t   y o u   m i g r a t e   u s i n g   t h e   k u b e a d m   c o n f i g   m i g r a t e   c o m m a n d .   F o r   m o r e   i n f o r m a t i o n   o n   t h e   f i e l d s   a n d   u s a g e   o f   t h e   c o n f i g u r a t i o n   y o u   c a n   n a v i g a t e   t o   o u r   A P I   r e f e r e n c e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join/",
    "id": "k8s_00290_section_4_5400"
  },
  {
    "question": "What is What's next?",
    "answer": "k u b e a d m   i n i t   t o   b o o t s t r a p   a   K u b e r n e t e s   c o n t r o l - p l a n e   n o d e . k u b e a d m   t o k e n   t o   m a n a g e   t o k e n s   f o r   k u b e a d m   j o i n . k u b e a d m   r e s e t   t o   r e v e r t   a n y   c h a n g e s   m a d e   t o   t h i s   h o s t   b y   k u b e a d m   i n i t   o r   k u b e a d m   j o i n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join/",
    "id": "k8s_00290_section_2_5401"
  },
  {
    "question": "What is Submitting case studies?",
    "answer": "Submitting case studiesCase studies highlight how organizations are using Kubernetes to solve real-world problems. The Kubernetes marketing team and members of the CNCF collaborate with you on all case studies.Case studies require extensive review before they're approved.Submit a case studyHave a look at the source for the existing case studies.Refer to the case study guidelines and submit your request as outlined in the guidelines.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/case-studies/",
    "id": "k8s_00291_qa_5402"
  },
  {
    "question": "How does Submitting case studies work?",
    "answer": "Submitting case studiesCase studies highlight how organizations are using Kubernetes to solve real-world problems. The Kubernetes marketing team and members of the CNCF collaborate with you on all case studies.Case studies require extensive review before they're approved.Submit a case studyHave a look at the source for the existing case studies.Refer to the case study guidelines and submit your request as outlined in the guidelines.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/case-studies/",
    "id": "k8s_00291_qa_5403"
  },
  {
    "question": "When would you use Submitting case studies?",
    "answer": "Submitting case studiesCase studies highlight how organizations are using Kubernetes to solve real-world problems. The Kubernetes marketing team and members of the CNCF collaborate with you on all case studies.Case studies require extensive review before they're approved.Submit a case studyHave a look at the source for the existing case studies.Refer to the case study guidelines and submit your request as outlined in the guidelines.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/case-studies/",
    "id": "k8s_00291_qa_5404"
  },
  {
    "question": "What are the benefits of Submitting case studies?",
    "answer": "Submitting case studiesCase studies highlight how organizations are using Kubernetes to solve real-world problems. The Kubernetes marketing team and members of the CNCF collaborate with you on all case studies.Case studies require extensive review before they're approved.Submit a case studyHave a look at the source for the existing case studies.Refer to the case study guidelines and submit your request as outlined in the guidelines.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/case-studies/",
    "id": "k8s_00291_qa_5405"
  },
  {
    "question": "What is Submitting case studies?",
    "answer": "C a s e   s t u d i e s   h i g h l i g h t   h o w   o r g a n i z a t i o n s   a r e   u s i n g   K u b e r n e t e s   t o   s o l v e   r e a l - w o r l d   p r o b l e m s .   T h e   K u b e r n e t e s   m a r k e t i n g   t e a m   a n d   m e m b e r s   o f   t h e   C N C F   c o l l a b o r a t e   w i t h   y o u   o n   a l l   c a s e   s t u d i e s .   C a s e   s t u d i e s   r e q u i r e   e x t e n s i v e   r e v i e w   b e f o r e   t h e y ' r e   a p p r o v e d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/case-studies/",
    "id": "k8s_00291_section_1_5406"
  },
  {
    "question": "What is Submit a case study?",
    "answer": "H a v e   a   l o o k   a t   t h e   s o u r c e   f o r   t h e   e x i s t i n g   c a s e   s t u d i e s .   R e f e r   t o   t h e   c a s e   s t u d y   g u i d e l i n e s   a n d   s u b m i t   y o u r   r e q u e s t   a s   o u t l i n e d   i n   t h e   g u i d e l i n e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/case-studies/",
    "id": "k8s_00291_section_2_5407"
  },
  {
    "question": "What is Localizing Kubernetes documentation?",
    "answer": "Localizing Kubernetes documentationThis page shows you how to localize the docs for a different language.Contribute to an existing localizationYou can help add or improve the content of an existing localization. In Kubernetes Slack, you can find a channel for each localization. There is also a general SIG Docs Localizations Slack channel where you can say hello.Note:For extra details on how to contribute to a specific localization, look for a localized version of this page.Find your two-letter language codeFirst, consult the ISO 639-1 standard to find your localization's two-letter language code. For example, the two-letter code for Korean is ko.Some languages use a lowercase version of the country code as defined by the ISO-3166 along with their language codes. For example, the Brazilian Portuguese language code is pt-br.Fork and clone the repoFirst, create your own fork of the kubernetes/website repository.Then, clone your fork and cd into it:git clone https://github.com/<username>/website cd website The website content directory includes subdirectories for each language. The localization you want to help out with is inside content/<two-letter-code>.Suggest changesCreate or update your chosen localized page based on the English original. See localize content for more details.If you notice a technical inaccuracy or other problem with the upstream (English) documentation, you should fix the upstream documentation first and then repeat the equivalent fix by updating the localization you're working on.Limit changes in a pull requests to a single localization. Reviewing pull requests that change content in multiple localizations is problematic.Follow Suggesting Content Improvements to propose changes to that localization. The process is similar to proposing changes to the upstream (English) content.Start a new localizationIf you want the Kubernetes documentation localized into a new language, here's what you need to do.Because contributors can't approve their own pull requests, you need at least two contributors to begin a localization.All localization teams must be self-sufficient. The Kubernetes website is happy to host your work, but it's up to you to translate it and keep existing localized content current.You'll need to know the two-letter language code for your language. Consult the ISO 639-1 standard to find your localization's two-letter language code. For example, the two-letter code for Korean is ko.If the language you are starting a localization for is spoken in various places with significant differences between the variants, it might make sense to combine the lowercased ISO-3166 country code with the language two-letter code. For example, Brazilian Portuguese is localized as pt-br.When you start a new localization, you must localize all the minimum required content before the Kubernetes project can publish your changes to the live website.SIG Docs can help you work on a separate branch so that you can incrementally work towards that goa",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_qa_5408"
  },
  {
    "question": "How does Localizing Kubernetes documentation work?",
    "answer": "Localizing Kubernetes documentationThis page shows you how to localize the docs for a different language.Contribute to an existing localizationYou can help add or improve the content of an existing localization. In Kubernetes Slack, you can find a channel for each localization. There is also a general SIG Docs Localizations Slack channel where you can say hello.Note:For extra details on how to contribute to a specific localization, look for a localized version of this page.Find your two-letter language codeFirst, consult the ISO 639-1 standard to find your localization's two-letter language code. For example, the two-letter code for Korean is ko.Some languages use a lowercase version of the country code as defined by the ISO-3166 along with their language codes. For example, the Brazilian Portuguese language code is pt-br.Fork and clone the repoFirst, create your own fork of the kubernetes/website repository.Then, clone your fork and cd into it:git clone https://github.com/<username>/website cd website The website content directory includes subdirectories for each language. The localization you want to help out with is inside content/<two-letter-code>.Suggest changesCreate or update your chosen localized page based on the English original. See localize content for more details.If you notice a technical inaccuracy or other problem with the upstream (English) documentation, you should fix the upstream documentation first and then repeat the equivalent fix by updating the localization you're working on.Limit changes in a pull requests to a single localization. Reviewing pull requests that change content in multiple localizations is problematic.Follow Suggesting Content Improvements to propose changes to that localization. The process is similar to proposing changes to the upstream (English) content.Start a new localizationIf you want the Kubernetes documentation localized into a new language, here's what you need to do.Because contributors can't approve their own pull requests, you need at least two contributors to begin a localization.All localization teams must be self-sufficient. The Kubernetes website is happy to host your work, but it's up to you to translate it and keep existing localized content current.You'll need to know the two-letter language code for your language. Consult the ISO 639-1 standard to find your localization's two-letter language code. For example, the two-letter code for Korean is ko.If the language you are starting a localization for is spoken in various places with significant differences between the variants, it might make sense to combine the lowercased ISO-3166 country code with the language two-letter code. For example, Brazilian Portuguese is localized as pt-br.When you start a new localization, you must localize all the minimum required content before the Kubernetes project can publish your changes to the live website.SIG Docs can help you work on a separate branch so that you can incrementally work towards that goa",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_qa_5409"
  },
  {
    "question": "When would you use Localizing Kubernetes documentation?",
    "answer": "Localizing Kubernetes documentationThis page shows you how to localize the docs for a different language.Contribute to an existing localizationYou can help add or improve the content of an existing localization. In Kubernetes Slack, you can find a channel for each localization. There is also a general SIG Docs Localizations Slack channel where you can say hello.Note:For extra details on how to contribute to a specific localization, look for a localized version of this page.Find your two-letter language codeFirst, consult the ISO 639-1 standard to find your localization's two-letter language code. For example, the two-letter code for Korean is ko.Some languages use a lowercase version of the country code as defined by the ISO-3166 along with their language codes. For example, the Brazilian Portuguese language code is pt-br.Fork and clone the repoFirst, create your own fork of the kubernetes/website repository.Then, clone your fork and cd into it:git clone https://github.com/<username>/website cd website The website content directory includes subdirectories for each language. The localization you want to help out with is inside content/<two-letter-code>.Suggest changesCreate or update your chosen localized page based on the English original. See localize content for more details.If you notice a technical inaccuracy or other problem with the upstream (English) documentation, you should fix the upstream documentation first and then repeat the equivalent fix by updating the localization you're working on.Limit changes in a pull requests to a single localization. Reviewing pull requests that change content in multiple localizations is problematic.Follow Suggesting Content Improvements to propose changes to that localization. The process is similar to proposing changes to the upstream (English) content.Start a new localizationIf you want the Kubernetes documentation localized into a new language, here's what you need to do.Because contributors can't approve their own pull requests, you need at least two contributors to begin a localization.All localization teams must be self-sufficient. The Kubernetes website is happy to host your work, but it's up to you to translate it and keep existing localized content current.You'll need to know the two-letter language code for your language. Consult the ISO 639-1 standard to find your localization's two-letter language code. For example, the two-letter code for Korean is ko.If the language you are starting a localization for is spoken in various places with significant differences between the variants, it might make sense to combine the lowercased ISO-3166 country code with the language two-letter code. For example, Brazilian Portuguese is localized as pt-br.When you start a new localization, you must localize all the minimum required content before the Kubernetes project can publish your changes to the live website.SIG Docs can help you work on a separate branch so that you can incrementally work towards that goa",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_qa_5410"
  },
  {
    "question": "What are the benefits of Localizing Kubernetes documentation?",
    "answer": "Localizing Kubernetes documentationThis page shows you how to localize the docs for a different language.Contribute to an existing localizationYou can help add or improve the content of an existing localization. In Kubernetes Slack, you can find a channel for each localization. There is also a general SIG Docs Localizations Slack channel where you can say hello.Note:For extra details on how to contribute to a specific localization, look for a localized version of this page.Find your two-letter language codeFirst, consult the ISO 639-1 standard to find your localization's two-letter language code. For example, the two-letter code for Korean is ko.Some languages use a lowercase version of the country code as defined by the ISO-3166 along with their language codes. For example, the Brazilian Portuguese language code is pt-br.Fork and clone the repoFirst, create your own fork of the kubernetes/website repository.Then, clone your fork and cd into it:git clone https://github.com/<username>/website cd website The website content directory includes subdirectories for each language. The localization you want to help out with is inside content/<two-letter-code>.Suggest changesCreate or update your chosen localized page based on the English original. See localize content for more details.If you notice a technical inaccuracy or other problem with the upstream (English) documentation, you should fix the upstream documentation first and then repeat the equivalent fix by updating the localization you're working on.Limit changes in a pull requests to a single localization. Reviewing pull requests that change content in multiple localizations is problematic.Follow Suggesting Content Improvements to propose changes to that localization. The process is similar to proposing changes to the upstream (English) content.Start a new localizationIf you want the Kubernetes documentation localized into a new language, here's what you need to do.Because contributors can't approve their own pull requests, you need at least two contributors to begin a localization.All localization teams must be self-sufficient. The Kubernetes website is happy to host your work, but it's up to you to translate it and keep existing localized content current.You'll need to know the two-letter language code for your language. Consult the ISO 639-1 standard to find your localization's two-letter language code. For example, the two-letter code for Korean is ko.If the language you are starting a localization for is spoken in various places with significant differences between the variants, it might make sense to combine the lowercased ISO-3166 country code with the language two-letter code. For example, Brazilian Portuguese is localized as pt-br.When you start a new localization, you must localize all the minimum required content before the Kubernetes project can publish your changes to the live website.SIG Docs can help you work on a separate branch so that you can incrementally work towards that goa",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_qa_5411"
  },
  {
    "question": "What is Localizing Kubernetes documentation?",
    "answer": "T h i s   p a g e   s h o w s   y o u   h o w   t o   l o c a l i z e   t h e   d o c s   f o r   a   d i f f e r e n t   l a n g u a g e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_1_5412"
  },
  {
    "question": "What is Contribute to an existing localization?",
    "answer": "Y o u   c a n   h e l p   a d d   o r   i m p r o v e   t h e   c o n t e n t   o f   a n   e x i s t i n g   l o c a l i z a t i o n .   I n   K u b e r n e t e s   S l a c k ,   y o u   c a n   f i n d   a   c h a n n e l   f o r   e a c h   l o c a l i z a t i o n .   T h e r e   i s   a l s o   a   g e n e r a l   S I G   D o c s   L o c a l i z a t i o n s   S l a c k   c h a n n e l   w h e r e   y o u   c a n   s a y   h e l l o .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_2_5413"
  },
  {
    "question": "What is Find your two-letter language code?",
    "answer": "F i r s t ,   c o n s u l t   t h e   I S O   6 3 9 - 1   s t a n d a r d   t o   f i n d   y o u r   l o c a l i z a t i o n ' s   t w o - l e t t e r   l a n g u a g e   c o d e .   F o r   e x a m p l e ,   t h e   t w o - l e t t e r   c o d e   f o r   K o r e a n   i s   k o .   S o m e   l a n g u a g e s   u s e   a   l o w e r c a s e   v e r s i o n   o f   t h e   c o u n t r y   c o d e   a s   d e f i n e d   b y   t h e   I S O - 3 1 6 6   a l o n g   w i t h   t h e i r   l a n g u a g e   c o d e s .   F o r   e x a m p l e ,   t h e   B r a z i l i a n   P o r t u g u e s e   l a n g u a g e   c o d e   i s   p t - b r .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_3_5414"
  },
  {
    "question": "What is Fork and clone the repo?",
    "answer": "F i r s t ,   c r e a t e   y o u r   o w n   f o r k   o f   t h e   k u b e r n e t e s / w e b s i t e   r e p o s i t o r y .   T h e n ,   c l o n e   y o u r   f o r k   a n d   c d   i n t o   i t :   g i t   c l o n e   h t t p s : / / g i t h u b . c o m / < u s e r n a m e > / w e b s i t e   c d   w e b s i t e   T h e   w e b s i t e   c o n t e n t   d i r e c t o r y   i n c l u d e s   s u b d i r e c t o r i e s   f o r   e a c h   l a n g u a g e .   T h e   l o c a l i z a t i o n   y o u   w a n t   t o   h e l p   o u t   w i t h   i s   i n s i d e   c o n t e n t / < t w o - l e t t e r - c o d e > .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_3_5415"
  },
  {
    "question": "What is Suggest changes?",
    "answer": "C r e a t e   o r   u p d a t e   y o u r   c h o s e n   l o c a l i z e d   p a g e   b a s e d   o n   t h e   E n g l i s h   o r i g i n a l .   S e e   l o c a l i z e   c o n t e n t   f o r   m o r e   d e t a i l s .   I f   y o u   n o t i c e   a   t e c h n i c a l   i n a c c u r a c y   o r   o t h e r   p r o b l e m   w i t h   t h e   u p s t r e a m   ( E n g l i s h )   d o c u m e n t a t i o n ,   y o u   s h o u l d   f i x   t h e   u p s t r e a m   d o c u m e n t a t i o n   f i r s t   a n d   t h e n   r e p e a t   t h e   e q u i v a l e n t   f i x   b y   u p d a t i n g   t h e   l o c a l i z a t i o n   y o u ' r e   w o r k i n g   o n .   L i m i t   c h a n g e s   i n   a   p u l l   r e q u e s t s   t o   a   s i n g l e   l o c a l i z a t i o n .   R e v i e w i n g   p u l l   r e q u e s t s   t h a t   c h a n g e   c o n t e n t   i n   m u l t i p l e   l o c a l i z a t i o n s   i s   p r o b l e m a t i c .   F o l l o w   S u g g e s t i n g   C o n t e n t   I m p r o v e m e n t s   t o   p r o p o s e   c h a n g e s   t o   t h a t   l o c a l i z a t i o n .   T h e   p r o c e s s   i s   s i m i l a r   t o   p r o p o s i n g   c h a n g e s   t o   t h e   u p s t r e a m   ( E n g l i s h )   c o n t e n t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_3_5416"
  },
  {
    "question": "What is Start a new localization?",
    "answer": "I f   y o u   w a n t   t h e   K u b e r n e t e s   d o c u m e n t a t i o n   l o c a l i z e d   i n t o   a   n e w   l a n g u a g e ,   h e r e ' s   w h a t   y o u   n e e d   t o   d o .   B e c a u s e   c o n t r i b u t o r s   c a n ' t   a p p r o v e   t h e i r   o w n   p u l l   r e q u e s t s ,   y o u   n e e d   a t   l e a s t   t w o   c o n t r i b u t o r s   t o   b e g i n   a   l o c a l i z a t i o n .   A l l   l o c a l i z a t i o n   t e a m s   m u s t   b e   s e l f - s u f f i c i e n t .   T h e   K u b e r n e t e s   w e b s i t e   i s   h a p p y   t o   h o s t   y o u r   w o r k ,   b u t   i t ' s   u p   t o   y o u   t o   t r a n s l a t e   i t   a n d   k e e p   e x i s t i n g   l o c a l i z e d   c o n t e n t   c u r r e n t .   Y o u ' l l   n e e d   t o   k n o w   t h e   t w o - l e t t e r   l a n g u a g e   c o d e   f o r   y o u r   l a n g u a g e .   C o n s u l t   t h e   I S O   6 3 9 - 1   s t a n d a r d   t o   f i n d   y o u r   l o c a l i z a t i o n ' s   t w o - l e t t e r   l a n g u a g e   c o d e .   F o r   e x a m p l e ,   t h e   t w o - l e t t e r   c o d e   f o r   K o r e a n   i s   k o .   I f   t h e   l a n g u a g e   y o u   a r e   s t a r t i n g   a   l o c a l i z a t i o n   f o r   i s   s p o k e n   i n   v a r i o u s   p l a c e s   w i t h   s i g n i f i c a n t   d i f f e r e n c e s   b e t w e e n   t h e   v a r i a n t s ,   i t   m i g h t   m a k e   s e n s e   t o   c o m b i n e   t h e   l o w e r c a s e d   I S O - 3 1 6 6   c o u n t r y   c o d e   w i t h   t h e   l a n g u a g e   t w o - l e t t e r   c o d e .   F o r   e x a m p l e ,   B r a z i l i a n   P o r t u g u e s e   i s   l o c a l i z e d   a s   p t - b r .   W h e n   y o u   s t a r t   a   n e w   l o c a l i z a t i o n ,   y o u   m u s t   l o c a l i z e   a l l   t h e   m i n i m u m   r e q u i r e d   c o n t e n t   b e f o r e   t h e   K u b e r n e t e ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_2_5417"
  },
  {
    "question": "What is Find community?",
    "answer": "L e t   K u b e r n e t e s   S I G   D o c s   k n o w   y o u ' r e   i n t e r e s t e d   i n   c r e a t i n g   a   l o c a l i z a t i o n !   J o i n   t h e   S I G   D o c s   S l a c k   c h a n n e l   a n d   t h e   S I G   D o c s   L o c a l i z a t i o n s   S l a c k   c h a n n e l .   O t h e r   l o c a l i z a t i o n   t e a m s   a r e   h a p p y   t o   h e l p   y o u   g e t   s t a r t e d   a n d   a n s w e r   y o u r   q u e s t i o n s .   P l e a s e   a l s o   c o n s i d e r   p a r t i c i p a t i n g   i n   t h e   S I G   D o c s   L o c a l i z a t i o n   S u b g r o u p   m e e t i n g .   T h e   m i s s i o n   o f   t h e   S I G   D o c s   l o c a l i z a t i o n   s u b g r o u p   i s   t o   w o r k   a c r o s s   t h e   S I G   D o c s   l o c a l i z a t i o n   t e a m s   t o   c o l l a b o r a t e   o n   d e f i n i n g   a n d   d o c u m e n t i n g   t h e   p r o c e s s e s   f o r   c r e a t i n g   l o c a l i z e d   c o n t r i b u t i o n   g u i d e s .   I n   a d d i t i o n ,   t h e   S I G   D o c s   l o c a l i z a t i o n   s u b g r o u p   l o o k s   f o r   o p p o r t u n i t i e s   t o   c r e a t e   a n d   s h a r e   c o m m o n   t o o l s   a c r o s s   l o c a l i z a t i o n   t e a m s   a n d   i d e n t i f y   n e w   r e q u i r e m e n t s   f o r   t h e   S I G   D o c s   L e a d e r s h i p   t e a m .   I f   y o u   h a v e   q u e s t i o n s   a b o u t   t h i s   m e e t i n g ,   p l e a s e   i n q u i r e   o n   t h e   S I G   D o c s   L o c a l i z a t i o n s   S l a c k   c h a n n e l .   Y o u   c a n   a l s o   c r e a t e   a   S l a c k   c h a n n e l   f o r   y o u r   l o c a l i z a t i o n   i n   t h e   k u b e r n e t e s / c o m m u n i t y   r e p o s i t o r y .   F o r   a n   e x a m p l e   o f   a d d i n g   a   S l a c k   c h a n n e l ,   s e e   t h e   P R   f o r   a d d i n g   a   c h a n n e l   f o r   P e r s i ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_3_5418"
  },
  {
    "question": "What is Join the Kubernetes GitHub organization?",
    "answer": "W h e n   y o u ' v e   o p e n e d   a   l o c a l i z a t i o n   P R ,   y o u   c a n   b e c o m e   m e m b e r s   o f   t h e   K u b e r n e t e s   G i t H u b   o r g a n i z a t i o n .   E a c h   p e r s o n   o n   t h e   t e a m   n e e d s   t o   c r e a t e   t h e i r   o w n   O r g a n i z a t i o n   M e m b e r s h i p   R e q u e s t   i n   t h e   k u b e r n e t e s / o r g   r e p o s i t o r y .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_3_5419"
  },
  {
    "question": "What is Add your localization team in GitHub?",
    "answer": "N e x t ,   a d d   y o u r   K u b e r n e t e s   l o c a l i z a t i o n   t e a m   t o   s i g - d o c s / t e a m s . y a m l .   F o r   a n   e x a m p l e   o f   a d d i n g   a   l o c a l i z a t i o n   t e a m ,   s e e   t h e   P R   t o   a d d   t h e   S p a n i s h   l o c a l i z a t i o n   t e a m .   M e m b e r s   o f   @ k u b e r n e t e s / s i g - d o c s - * * - o w n e r s   c a n   a p p r o v e   P R s   t h a t   c h a n g e   c o n t e n t   w i t h i n   ( a n d   o n l y   w i t h i n )   y o u r   l o c a l i z a t i o n   d i r e c t o r y :   / c o n t e n t / * * / .   F o r   e a c h   l o c a l i z a t i o n ,   T h e   @ k u b e r n e t e s / s i g - d o c s - * * - r e v i e w s   t e a m   a u t o m a t e s   r e v i e w   a s s i g n m e n t s   f o r   n e w   P R s .   M e m b e r s   o f   @ k u b e r n e t e s / w e b s i t e - m a i n t a i n e r s   c a n   c r e a t e   n e w   l o c a l i z a t i o n   b r a n c h e s   t o   c o o r d i n a t e   t r a n s l a t i o n   e f f o r t s .   M e m b e r s   o f   @ k u b e r n e t e s / w e b s i t e - m i l e s t o n e - m a i n t a i n e r s   c a n   u s e   t h e   / m i l e s t o n e   P r o w   c o m m a n d   t o   a s s i g n   a   m i l e s t o n e   t o   i s s u e s   o r   P R s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_3_5420"
  },
  {
    "question": "What is Configure the workflow?",
    "answer": "N e x t ,   a d d   a   G i t H u b   l a b e l   f o r   y o u r   l o c a l i z a t i o n   i n   t h e   k u b e r n e t e s / t e s t - i n f r a   r e p o s i t o r y .   A   l a b e l   l e t s   y o u   f i l t e r   i s s u e s   a n d   p u l l   r e q u e s t s   f o r   y o u r   s p e c i f i c   l a n g u a g e .   F o r   a n   e x a m p l e   o f   a d d i n g   a   l a b e l ,   s e e   t h e   P R   f o r   a d d i n g   t h e   I t a l i a n   l a n g u a g e   l a b e l .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_3_5421"
  },
  {
    "question": "What is Modify the site configuration?",
    "answer": "T h e   K u b e r n e t e s   w e b s i t e   u s e s   H u g o   a s   i t s   w e b   f r a m e w o r k .   T h e   w e b s i t e ' s   H u g o   c o n f i g u r a t i o n   r e s i d e s   i n   t h e   h u g o . t o m l   f i l e .   Y o u ' l l   n e e d   t o   m o d i f y   h u g o . t o m l   t o   s u p p o r t   a   n e w   l o c a l i z a t i o n .   A d d   a   c o n f i g u r a t i o n   b l o c k   f o r   t h e   n e w   l a n g u a g e   t o   h u g o . t o m l   u n d e r   t h e   e x i s t i n g   [ l a n g u a g e s ]   b l o c k .   T h e   G e r m a n   b l o c k ,   f o r   e x a m p l e ,   l o o k s   l i k e :   [ l a n g u a g e s . d e ]   t i t l e   =   \" K u b e r n e t e s \"   l a n g u a g e N a m e   =   \" D e u t s c h   ( G e r m a n ) \"   w e i g h t   =   5   c o n t e n t D i r   =   \" c o n t e n t / d e \"   l a n g u a g e d i r e c t i o n   =   \" l t r \"   [ l a n g u a g e s . d e . p a r a m s ]   t i m e _ f o r m a t _ b l o g   =   \" 0 2 . 0 1 . 2 0 0 6 \"   l a n g u a g e _ a l t e r n a t i v e s   =   [ \" e n \" ]   d e s c r i p t i o n   =   \" P r o d u k t i o n s r e i f e   C o n t a i n e r - O r c h e s t r i e r u n g \"   l a n g u a g e N a m e L a t i n S c r i p t   =   \" D e u t s c h \"   T h e   l a n g u a g e   s e l e c t i o n   b a r   l i s t s   t h e   v a l u e   f o r   l a n g u a g e N a m e .   A s s i g n   \" l a n g u a g e   n a m e   i n   n a t i v e   s c r i p t   a n d   l a n g u a g e   ( E n g l i s h   l a n g u a g e   n a m e   i n   L a t i n   s c r i p t ) \"   t o   l a n g u a g e N a m e .   F o r   e x a m p l e ,   l a n g u a g e N a m e   =   \" 한 국 어   ( K o r e a n ) \"   o r   l a n g u a g e N a m e   =   \" D e u t s c h   ( G e r m a n ) \" .   l a n g u a g e N a m e L a t i n S c r i p t   c a n   b e   u s e d   t o   a c c e s s   t h e   l a n g u a g e   n a m e   i n   L a t i n   s c r i p t   a n d   u s e   i t   i n   t h e   t h e m e .   A s s i g n   \" ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_3_5422"
  },
  {
    "question": "What is Add a new localization directory?",
    "answer": "A d d   a   l a n g u a g e - s p e c i f i c   s u b d i r e c t o r y   t o   t h e   c o n t e n t   f o l d e r   i n   t h e   r e p o s i t o r y .   F o r   e x a m p l e ,   t h e   t w o - l e t t e r   c o d e   f o r   G e r m a n   i s   d e :   m k d i r   c o n t e n t / d e   Y o u   a l s o   n e e d   t o   c r e a t e   a   d i r e c t o r y   i n s i d e   i 1 8 n   f o r   l o c a l i z e d   s t r i n g s ;   l o o k   a t   e x i s t i n g   l o c a l i z a t i o n s   f o r   a n   e x a m p l e .   F o r   e x a m p l e ,   f o r   G e r m a n   t h e   s t r i n g s   l i v e   i n   i 1 8 n / d e / d e . t o m l .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_3_5423"
  },
  {
    "question": "What is Localize the community code of conduct?",
    "answer": "O p e n   a   P R   a g a i n s t   t h e   c n c f / f o u n d a t i o n   r e p o s i t o r y   t o   a d d   t h e   c o d e   o f   c o n d u c t   i n   y o u r   l a n g u a g e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_3_5424"
  },
  {
    "question": "What is Set up the OWNERS files?",
    "answer": "T o   s e t   t h e   r o l e s   o f   e a c h   u s e r   c o n t r i b u t i n g   t o   t h e   l o c a l i z a t i o n ,   c r e a t e   a n   O W N E R S   f i l e   i n s i d e   t h e   l a n g u a g e - s p e c i f i c   s u b d i r e c t o r y   w i t h :   r e v i e w e r s :   A   l i s t   o f   k u b e r n e t e s   t e a m s   w i t h   r e v i e w e r   r o l e s ,   i n   t h i s   c a s e , t h e   s i g - d o c s - * * - r e v i e w s   t e a m   c r e a t e d   i n   A d d   y o u r   l o c a l i z a t i o n   t e a m   i n   G i t H u b . a p p r o v e r s :   A   l i s t   o f   k u b e r n e t e s   t e a m s   w i t h   a p p r o v e r s   r o l e s ,   i n   t h i s   c a s e , t h e   s i g - d o c s - * * - o w n e r s   t e a m   c r e a t e d   i n   A d d   y o u r   l o c a l i z a t i o n   t e a m   i n   G i t H u b . l a b e l s :   A   l i s t   o f   G i t H u b   l a b e l s   t o   a u t o m a t i c a l l y   a p p l y   t o   a   P R ,   i n   t h i s   c a s e ,   t h e   l a n g u a g e   l a b e l   c r e a t e d   i n   C o n f i g u r e   t h e   w o r k f l o w .   M o r e   i n f o r m a t i o n   a b o u t   t h e   O W N E R S   f i l e   c a n   b e   f o u n d   a t   g o . k 8 s . i o / o w n e r s .   T h e   S p a n i s h   O W N E R S   f i l e ,   w i t h   l a n g u a g e   c o d e   e s ,   l o o k s   l i k e   t h i s :   #   S e e   t h e   O W N E R S   d o c s   a t   h t t p s : / / g o . k 8 s . i o / o w n e r s   #   T h i s   i s   t h e   l o c a l i z a t i o n   p r o j e c t   f o r   S p a n i s h .   #   T e a m s   a n d   m e m b e r s   a r e   v i s i b l e   a t   h t t p s : / / g i t h u b . c o m / o r g s / k u b e r n e t e s / t e a m s .   r e v i e w e r s :   -   s i g - d o c s - e s - r e v i e w s   a p p r o v e r s :   -   s i g - d o c s - e s - o w n e r s   l a b e l s :   -   a r e a / l o c a l i z a t i o n   -   l a n g u a g e / e s   A f t e r   a d d i n g   t h e ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_3_5425"
  },
  {
    "question": "What is Open a pull request?",
    "answer": "N e x t ,   o p e n   a   p u l l   r e q u e s t   ( P R )   t o   a d d   a   l o c a l i z a t i o n   t o   t h e   k u b e r n e t e s / w e b s i t e   r e p o s i t o r y .   T h e   P R   m u s t   i n c l u d e   a l l   t h e   m i n i m u m   r e q u i r e d   c o n t e n t   b e f o r e   i t   c a n   b e   a p p r o v e d .   F o r   a n   e x a m p l e   o f   a d d i n g   a   n e w   l o c a l i z a t i o n ,   s e e   t h e   P R   t o   e n a b l e   d o c s   i n   F r e n c h .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_3_5426"
  },
  {
    "question": "What is Add a localized README file?",
    "answer": "T o   g u i d e   o t h e r   l o c a l i z a t i o n   c o n t r i b u t o r s ,   a d d   a   n e w   R E A D M E - * * . m d   t o   t h e   t o p   l e v e l   o f   k u b e r n e t e s / w e b s i t e ,   w h e r e   * *   i s   t h e   t w o - l e t t e r   l a n g u a g e   c o d e .   F o r   e x a m p l e ,   a   G e r m a n   R E A D M E   f i l e   w o u l d   b e   R E A D M E - d e . m d .   G u i d e   l o c a l i z a t i o n   c o n t r i b u t o r s   i n   t h e   l o c a l i z e d   R E A D M E - * * . m d   f i l e .   I n c l u d e   t h e   s a m e   i n f o r m a t i o n   c o n t a i n e d   i n   R E A D M E . m d   a s   w e l l   a s :   A   p o i n t   o f   c o n t a c t   f o r   t h e   l o c a l i z a t i o n   p r o j e c t A n y   i n f o r m a t i o n   s p e c i f i c   t o   t h e   l o c a l i z a t i o n   A f t e r   y o u   c r e a t e   t h e   l o c a l i z e d   R E A D M E ,   a d d   a   l i n k   t o   t h e   f i l e   f r o m   t h e   m a i n   E n g l i s h   R E A D M E . m d ,   a n d   i n c l u d e   c o n t a c t   i n f o r m a t i o n   i n   E n g l i s h .   Y o u   c a n   p r o v i d e   a   G i t H u b   I D ,   e m a i l   a d d r e s s ,   S l a c k   c h a n n e l ,   o r   a n o t h e r   m e t h o d   o f   c o n t a c t .   Y o u   m u s t   a l s o   p r o v i d e   a   l i n k   t o   y o u r   l o c a l i z e d   C o m m u n i t y   C o d e   o f   C o n d u c t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_3_5427"
  },
  {
    "question": "What is Launch your new localization?",
    "answer": "W h e n   a   l o c a l i z a t i o n   m e e t s   t h e   r e q u i r e m e n t s   f o r   w o r k f l o w   a n d   m i n i m u m   o u t p u t ,   S I G   D o c s   d o e s   t h e   f o l l o w i n g :   E n a b l e s   l a n g u a g e   s e l e c t i o n   o n   t h e   w e b s i t e . P u b l i c i z e s   t h e   l o c a l i z a t i o n ' s   a v a i l a b i l i t y   t h r o u g h   C l o u d   N a t i v e   C o m p u t i n g   F o u n d a t i o n ( C N C F )   c h a n n e l s ,   i n c l u d i n g   t h e   K u b e r n e t e s   b l o g .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_3_5428"
  },
  {
    "question": "What is Localize content?",
    "answer": "L o c a l i z i n g   a l l   t h e   K u b e r n e t e s   d o c u m e n t a t i o n   i s   a n   e n o r m o u s   t a s k .   I t ' s   o k a y   t o   s t a r t   s m a l l   a n d   e x p a n d   o v e r   t i m e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_2_5429"
  },
  {
    "question": "What is Minimum required content?",
    "answer": "A t   a   m i n i m u m ,   a l l   l o c a l i z a t i o n s   m u s t   i n c l u d e :   T r a n s l a t e d   d o c u m e n t s   m u s t   r e s i d e   i n   t h e i r   o w n   c o n t e n t / * * /   s u b d i r e c t o r y ,   b u t   o t h e r w i s e ,   f o l l o w   t h e   s a m e   U R L   p a t h   a s   t h e   E n g l i s h   s o u r c e .   F o r   e x a m p l e ,   t o   p r e p a r e   t h e   K u b e r n e t e s   B a s i c s   t u t o r i a l   f o r   t r a n s l a t i o n   i n t o   G e r m a n ,   c r e a t e   a   s u b d i r e c t o r y   u n d e r   t h e   c o n t e n t / d e /   d i r e c t o r y   a n d   c o p y   t h e   E n g l i s h   s o u r c e   o r   d i r e c t o r y :   m k d i r   - p   c o n t e n t / d e / d o c s / t u t o r i a l s   c p   - r a   c o n t e n t / e n / d o c s / t u t o r i a l s / k u b e r n e t e s - b a s i c s /   c o n t e n t / d e / d o c s / t u t o r i a l s /   T r a n s l a t i o n   t o o l s   c a n   s p e e d   u p   t h e   t r a n s l a t i o n   p r o c e s s .   F o r   e x a m p l e ,   s o m e   e d i t o r s   o f f e r   p l u g i n s   t o   q u i c k l y   t r a n s l a t e   t e x t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_3_5430"
  },
  {
    "question": "What is Caution:?",
    "answer": "T o   e n s u r e   a c c u r a c y   i n   g r a m m a r   a n d   m e a n i n g ,   m e m b e r s   o f   y o u r   l o c a l i z a t i o n   t e a m   s h o u l d   c a r e f u l l y   r e v i e w   a l l   m a c h i n e - g e n e r a t e d   t r a n s l a t i o n s   b e f o r e   p u b l i s h i n g .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_4_5431"
  },
  {
    "question": "What is Localize SVG images?",
    "answer": "T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   u s i n g   v e c t o r   ( S V G )   i m a g e s   w h e r e   p o s s i b l e ,   a s   t h e s e   a r e   m u c h   e a s i e r   f o r   a   l o c a l i z a t i o n   t e a m   t o   e d i t .   I f   y o u   f i n d   a   r a s t e r   i m a g e   t h a t   n e e d s   l o c a l i z i n g ,   c o n s i d e r   f i r s t   r e d r a w i n g   t h e   E n g l i s h   v e r s i o n   a s   a   v e c t o r   i m a g e ,   a n d   t h e n   l o c a l i z e   t h a t .   W h e n   t r a n s l a t i n g   t e x t   w i t h i n   S V G   ( S c a l a b l e   V e c t o r   G r a p h i c s )   i m a g e s ,   i t ' s   e s s e n t i a l   t o   f o l l o w   c e r t a i n   g u i d e l i n e s   t o   e n s u r e   a c c u r a c y   a n d   m a i n t a i n   c o n s i s t e n c y   a c r o s s   d i f f e r e n t   l a n g u a g e   v e r s i o n s .   S V G   i m a g e s   a r e   c o m m o n l y   u s e d   i n   t h e   K u b e r n e t e s   d o c u m e n t a t i o n   t o   i l l u s t r a t e   c o n c e p t s ,   w o r k f l o w s ,   a n d   d i a g r a m s .   I d e n t i f y i n g   t r a n s l a t a b l e   t e x t :   S t a r t   b y   i d e n t i f y i n g   t h e   t e x t   e l e m e n t s   w i t h i n   t h e   S V G   i m a g e   t h a t   n e e d   t o   b e   t r a n s l a t e d .   T h e s e   e l e m e n t s   t y p i c a l l y   i n c l u d e   l a b e l s ,   c a p t i o n s ,   a n n o t a t i o n s ,   o r   a n y   t e x t   t h a t   c o n v e y s   i n f o r m a t i o n . E d i t i n g   S V G   f i l e s :   S V G   f i l e s   a r e   X M L - b a s e d ,   w h i c h   m e a n s   t h e y   c a n   b e   e d i t e d   u s i n g   a   t e x t   e d i t o r .   H o w e v e r ,   i t ' s   i m p o r t a n t   t o   n o t e   t h a t   m o s t   o f   t h e   d o c u m e n t a t i o n   i m a g e s   i n   K u b e r n e t e s   a l r e a d y   c o n v e r t   t e x t   t o   c u ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_3_5432"
  },
  {
    "question": "What is Source files?",
    "answer": "L o c a l i z a t i o n s   m u s t   b e   b a s e d   o n   t h e   E n g l i s h   f i l e s   f r o m   a   s p e c i f i c   r e l e a s e   t a r g e t e d   b y   t h e   l o c a l i z a t i o n   t e a m .   E a c h   l o c a l i z a t i o n   t e a m   c a n   d e c i d e   w h i c h   r e l e a s e   t o   t a r g e t ,   r e f e r r e d   t o   a s   t h e   t a r g e t   v e r s i o n   b e l o w .   T o   f i n d   s o u r c e   f i l e s   f o r   y o u r   t a r g e t   v e r s i o n :   N a v i g a t e   t o   t h e   K u b e r n e t e s   w e b s i t e   r e p o s i t o r y   a t   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / w e b s i t e . S e l e c t   a   b r a n c h   f o r   y o u r   t a r g e t   v e r s i o n   f r o m   t h e   f o l l o w i n g   t a b l e :   N a v i g a t e   t o   t h e   K u b e r n e t e s   w e b s i t e   r e p o s i t o r y   a t   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / w e b s i t e .   S e l e c t   a   b r a n c h   f o r   y o u r   t a r g e t   v e r s i o n   f r o m   t h e   f o l l o w i n g   t a b l e :   T h e   m a i n   b r a n c h   h o l d s   c o n t e n t   f o r   t h e   c u r r e n t   r e l e a s e   v 1 . 3 4 .   T h e   r e l e a s e   t e a m   c r e a t e s   a   r e l e a s e - 1 . 3 4   b r a n c h   b e f o r e   t h e   n e x t   r e l e a s e :   v 1 . 3 5 .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_3_5433"
  },
  {
    "question": "What is Site strings in i18n?",
    "answer": "L o c a l i z a t i o n s   m u s t   i n c l u d e   t h e   c o n t e n t s   o f   i 1 8 n / e n / e n . t o m l   i n   a   n e w   l a n g u a g e - s p e c i f i c   f i l e .   U s i n g   G e r m a n   a s   a n   e x a m p l e :   i 1 8 n / d e / d e . t o m l .   A d d   a   n e w   l o c a l i z a t i o n   d i r e c t o r y   a n d   f i l e   t o   i 1 8 n / .   F o r   e x a m p l e ,   w i t h   G e r m a n   ( d e ) :   m k d i r   - p   i 1 8 n / d e   c p   i 1 8 n / e n / e n . t o m l   i 1 8 n / d e / d e . t o m l   R e v i s e   t h e   c o m m e n t s   a t   t h e   t o p   o f   t h e   f i l e   t o   s u i t   y o u r   l o c a l i z a t i o n ,   t h e n   t r a n s l a t e   t h e   v a l u e   o f   e a c h   s t r i n g .   F o r   e x a m p l e ,   t h i s   i s   t h e   G e r m a n - l a n g u a g e   p l a c e h o l d e r   t e x t   f o r   t h e   s e a r c h   f o r m :   [ u i _ s e a r c h ]   o t h e r   =   \" S u c h e n \"   L o c a l i z i n g   s i t e   s t r i n g s   l e t s   y o u   c u s t o m i z e   s i t e - w i d e   t e x t   a n d   f e a t u r e s :   f o r   e x a m p l e ,   t h e   l e g a l   c o p y r i g h t   t e x t   i n   t h e   f o o t e r   o n   e a c h   p a g e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_3_5434"
  },
  {
    "question": "What is Language-specific localization guide?",
    "answer": "A s   a   l o c a l i z a t i o n   t e a m ,   y o u   c a n   f o r m a l i z e   t h e   b e s t   p r a c t i c e s   y o u r   t e a m   f o l l o w s   b y   c r e a t i n g   a   l a n g u a g e - s p e c i f i c   l o c a l i z a t i o n   g u i d e .   F o r   e x a m p l e ,   s e e   t h e   K o r e a n   L o c a l i z a t i o n   G u i d e ,   w h i c h   i n c l u d e s   c o n t e n t   o n   t h e   f o l l o w i n g   s u b j e c t s :   S p r i n t   c a d e n c e   a n d   r e l e a s e s B r a n c h   s t r a t e g y P u l l   r e q u e s t   w o r k f l o w S t y l e   g u i d e G l o s s a r y   o f   l o c a l i z e d   a n d   n o n - l o c a l i z e d   t e r m s M a r k d o w n   c o n v e n t i o n s K u b e r n e t e s   A P I   o b j e c t   t e r m i n o l o g y",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_3_5435"
  },
  {
    "question": "What is Language-specific Zoom meetings?",
    "answer": "I f   t h e   l o c a l i z a t i o n   p r o j e c t   n e e d s   a   s e p a r a t e   m e e t i n g   t i m e ,   c o n t a c t   a   S I G   D o c s   C o - C h a i r   o r   T e c h   L e a d   t o   c r e a t e   a   n e w   r e o c c u r r i n g   Z o o m   m e e t i n g   a n d   c a l e n d a r   i n v i t e .   T h i s   i s   o n l y   n e e d e d   w h e n   t h e   t e a m   i s   l a r g e   e n o u g h   t o   s u s t a i n   a n d   r e q u i r e   a   s e p a r a t e   m e e t i n g .   P e r   C N C F   p o l i c y ,   t h e   l o c a l i z a t i o n   t e a m s   m u s t   u p l o a d   t h e i r   m e e t i n g s   t o   t h e   S I G   D o c s   Y o u T u b e   p l a y l i s t .   A   S I G   D o c s   C o - C h a i r   o r   T e c h   L e a d   c a n   h e l p   w i t h   t h e   p r o c e s s   u n t i l   S I G   D o c s   a u t o m a t e s   i t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_3_5436"
  },
  {
    "question": "What is Branch strategy?",
    "answer": "B e c a u s e   l o c a l i z a t i o n   p r o j e c t s   a r e   h i g h l y   c o l l a b o r a t i v e   e f f o r t s ,   w e   e n c o u r a g e   t e a m s   t o   w o r k   i n   s h a r e d   l o c a l i z a t i o n   b r a n c h e s   -   e s p e c i a l l y   w h e n   s t a r t i n g   o u t   a n d   t h e   l o c a l i z a t i o n   i s   n o t   y e t   l i v e .   T o   c o l l a b o r a t e   o n   a   l o c a l i z a t i o n   b r a n c h :   A   t e a m   m e m b e r   o f   @ k u b e r n e t e s / w e b s i t e - m a i n t a i n e r s   o p e n s   a   l o c a l i z a t i o n   b r a n c h   f r o m   a   s o u r c e   b r a n c h   o n   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / w e b s i t e . Y o u r   t e a m   a p p r o v e r s   j o i n e d   t h e   @ k u b e r n e t e s / w e b s i t e - m a i n t a i n e r s   t e a m   w h e n   y o u   a d d e d   y o u r   l o c a l i z a t i o n   t e a m   t o   t h e   k u b e r n e t e s / o r g   r e p o s i t o r y . W e   r e c o m m e n d   t h e   f o l l o w i n g   b r a n c h   n a m i n g   s c h e m e : d e v - < s o u r c e   v e r s i o n > - < l a n g u a g e   c o d e > . < t e a m   m i l e s t o n e > F o r   e x a m p l e ,   a n   a p p r o v e r   o n   a   G e r m a n   l o c a l i z a t i o n   t e a m   o p e n s   t h e   l o c a l i z a t i o n   b r a n c h   d e v - 1 . 1 2 - d e . 1   d i r e c t l y   a g a i n s t   t h e   k u b e r n e t e s / w e b s i t e   r e p o s i t o r y ,   b a s e d   o n   t h e   s o u r c e   b r a n c h   f o r   K u b e r n e t e s   v 1 . 1 2 . I n d i v i d u a l   c o n t r i b u t o r s   o p e n   f e a t u r e   b r a n c h e s   b a s e d   o n   t h e   l o c a l i z a t i o n   b r a n c h . F o r   e x a m p l e ,   a   G e r m a n   c o n t r i b u t o r   o p e n s   a   p u l l   r e q u e s t   w i t h   c h a n g e s   t o   k u b e r n e t e s : d e v - 1 . 1 2 - d e . 1   f r o m   u s e r n a m e : ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_2_5437"
  },
  {
    "question": "What is Note:?",
    "answer": "A t   t h e   b e g i n n i n g   o f   e v e r y   t e a m   m i l e s t o n e ,   i t ' s   h e l p f u l   t o   o p e n   a n   i s s u e   c o m p a r i n g   u p s t r e a m   c h a n g e s   b e t w e e n   t h e   p r e v i o u s   l o c a l i z a t i o n   b r a n c h   a n d   t h e   c u r r e n t   l o c a l i z a t i o n   b r a n c h .   T h e r e   a r e   t w o   s c r i p t s   f o r   c o m p a r i n g   u p s t r e a m   c h a n g e s .   u p s t r e a m _ c h a n g e s . p y   i s   u s e f u l   f o r   c h e c k i n g   t h e   c h a n g e s   m a d e   t o   a   s p e c i f i c   f i l e .   A n d d i f f _ l 1 0 n _ b r a n c h e s . p y   i s   u s e f u l   f o r   c r e a t i n g   a   l i s t   o f   o u t d a t e d   f i l e s   f o r   a   s p e c i f i c   l o c a l i z a t i o n   b r a n c h .   W h i l e   o n l y   a p p r o v e r s   c a n   o p e n   a   n e w   l o c a l i z a t i o n   b r a n c h   a n d   m e r g e   p u l l   r e q u e s t s ,   a n y o n e   c a n   o p e n   a   p u l l   r e q u e s t   f o r   a   n e w   l o c a l i z a t i o n   b r a n c h .   N o   s p e c i a l   p e r m i s s i o n s   a r e   r e q u i r e d .   F o r   m o r e   i n f o r m a t i o n   a b o u t   w o r k i n g   f r o m   f o r k s   o r   d i r e c t l y   f r o m   t h e   r e p o s i t o r y ,   s e e   \" f o r k   a n d   c l o n e   t h e   r e p o \" .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_4_5438"
  },
  {
    "question": "What is Upstream contributions?",
    "answer": "S I G   D o c s   w e l c o m e s   u p s t r e a m   c o n t r i b u t i o n s   a n d   c o r r e c t i o n s   t o   t h e   E n g l i s h   s o u r c e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/localization/",
    "id": "k8s_00292_section_2_5439"
  },
  {
    "question": "What is Access Clusters Using the Kubernetes API?",
    "answer": "Access Clusters Using the Kubernetes APIThis page shows how to access clusters using the Kubernetes API.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Accessing the Kubernetes APIAccessing for the first time with kubectlWhen accessing the Kubernetes API for the first time, use the Kubernetes command-line tool, kubectl.To access a cluster, you need to know the location of the cluster and have credentials to access it. Typically, this is automatically set-up when you work through a Getting started guide, or someone else set up the cluster and provided you with credentials and a location.Check the location and credentials that kubectl knows about with this command:kubectl config view Many of the examples provide an introduction to using kubectl. Complete documentation is found in the kubectl manual.Directly accessing the REST APIkubectl handles locating and authenticating to the API server. If you want to directly access the REST API with an http client like curl or wget, or a browser, there are multiple ways you can locate and authenticate against the API server:Run kubectl in proxy mode (recommended). This method is recommended, since it uses the stored API server location and verifies the identity of the API server using a self-signed certificate. No man-in-the-middle (MITM) attack is possible using this method.Alternatively, you can provide the location and credentials directly to the http client. This works with client code that is confused by proxies. To protect against man in the middle attacks, you'll need to import a root cert into your browser.Using the Go or Python client libraries provides accessing kubectl in proxy mode.Using kubectl proxyThe following command runs kubectl in a mode where it acts as a reverse proxy. It handles locating the API server and authenticating.Run it like this:kubectl proxy --port=8080 & See kubectl proxy for more details.Then you can explore the API with curl, wget, or a browser, like so:curl http://localhost:8080/api/ The output is similar to this:{ \"versions\": [ \"v1\" ], \"serverAddressByClientCIDRs\": [ { \"clientCIDR\": \"0.0.0.0/0\", \"serverAddress\": \"10.0.1.149:443\" } ] } Without kubectl proxyIt is possible to avoid using kubectl proxy by passing an authentication token directly to the API server, like this:Using grep/cut approach:# Check all possible clusters, as your .KUBECONFIG may have multiple contexts: kubectl config view -o jsonpath='{\"Cluster name\\tServer\\n\"}{range .clusters[*]}{.name}{\"\\t\"}{.cluster.server}{\"\\n\"}{end}' # Select name of cluster you want to interact with from ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/access-cluster-api/",
    "id": "k8s_00293_qa_5440"
  },
  {
    "question": "How does Access Clusters Using the Kubernetes API work?",
    "answer": "Access Clusters Using the Kubernetes APIThis page shows how to access clusters using the Kubernetes API.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Accessing the Kubernetes APIAccessing for the first time with kubectlWhen accessing the Kubernetes API for the first time, use the Kubernetes command-line tool, kubectl.To access a cluster, you need to know the location of the cluster and have credentials to access it. Typically, this is automatically set-up when you work through a Getting started guide, or someone else set up the cluster and provided you with credentials and a location.Check the location and credentials that kubectl knows about with this command:kubectl config view Many of the examples provide an introduction to using kubectl. Complete documentation is found in the kubectl manual.Directly accessing the REST APIkubectl handles locating and authenticating to the API server. If you want to directly access the REST API with an http client like curl or wget, or a browser, there are multiple ways you can locate and authenticate against the API server:Run kubectl in proxy mode (recommended). This method is recommended, since it uses the stored API server location and verifies the identity of the API server using a self-signed certificate. No man-in-the-middle (MITM) attack is possible using this method.Alternatively, you can provide the location and credentials directly to the http client. This works with client code that is confused by proxies. To protect against man in the middle attacks, you'll need to import a root cert into your browser.Using the Go or Python client libraries provides accessing kubectl in proxy mode.Using kubectl proxyThe following command runs kubectl in a mode where it acts as a reverse proxy. It handles locating the API server and authenticating.Run it like this:kubectl proxy --port=8080 & See kubectl proxy for more details.Then you can explore the API with curl, wget, or a browser, like so:curl http://localhost:8080/api/ The output is similar to this:{ \"versions\": [ \"v1\" ], \"serverAddressByClientCIDRs\": [ { \"clientCIDR\": \"0.0.0.0/0\", \"serverAddress\": \"10.0.1.149:443\" } ] } Without kubectl proxyIt is possible to avoid using kubectl proxy by passing an authentication token directly to the API server, like this:Using grep/cut approach:# Check all possible clusters, as your .KUBECONFIG may have multiple contexts: kubectl config view -o jsonpath='{\"Cluster name\\tServer\\n\"}{range .clusters[*]}{.name}{\"\\t\"}{.cluster.server}{\"\\n\"}{end}' # Select name of cluster you want to interact with from ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/access-cluster-api/",
    "id": "k8s_00293_qa_5441"
  },
  {
    "question": "When would you use Access Clusters Using the Kubernetes API?",
    "answer": "Access Clusters Using the Kubernetes APIThis page shows how to access clusters using the Kubernetes API.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Accessing the Kubernetes APIAccessing for the first time with kubectlWhen accessing the Kubernetes API for the first time, use the Kubernetes command-line tool, kubectl.To access a cluster, you need to know the location of the cluster and have credentials to access it. Typically, this is automatically set-up when you work through a Getting started guide, or someone else set up the cluster and provided you with credentials and a location.Check the location and credentials that kubectl knows about with this command:kubectl config view Many of the examples provide an introduction to using kubectl. Complete documentation is found in the kubectl manual.Directly accessing the REST APIkubectl handles locating and authenticating to the API server. If you want to directly access the REST API with an http client like curl or wget, or a browser, there are multiple ways you can locate and authenticate against the API server:Run kubectl in proxy mode (recommended). This method is recommended, since it uses the stored API server location and verifies the identity of the API server using a self-signed certificate. No man-in-the-middle (MITM) attack is possible using this method.Alternatively, you can provide the location and credentials directly to the http client. This works with client code that is confused by proxies. To protect against man in the middle attacks, you'll need to import a root cert into your browser.Using the Go or Python client libraries provides accessing kubectl in proxy mode.Using kubectl proxyThe following command runs kubectl in a mode where it acts as a reverse proxy. It handles locating the API server and authenticating.Run it like this:kubectl proxy --port=8080 & See kubectl proxy for more details.Then you can explore the API with curl, wget, or a browser, like so:curl http://localhost:8080/api/ The output is similar to this:{ \"versions\": [ \"v1\" ], \"serverAddressByClientCIDRs\": [ { \"clientCIDR\": \"0.0.0.0/0\", \"serverAddress\": \"10.0.1.149:443\" } ] } Without kubectl proxyIt is possible to avoid using kubectl proxy by passing an authentication token directly to the API server, like this:Using grep/cut approach:# Check all possible clusters, as your .KUBECONFIG may have multiple contexts: kubectl config view -o jsonpath='{\"Cluster name\\tServer\\n\"}{range .clusters[*]}{.name}{\"\\t\"}{.cluster.server}{\"\\n\"}{end}' # Select name of cluster you want to interact with from ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/access-cluster-api/",
    "id": "k8s_00293_qa_5442"
  },
  {
    "question": "What are the benefits of Access Clusters Using the Kubernetes API?",
    "answer": "Access Clusters Using the Kubernetes APIThis page shows how to access clusters using the Kubernetes API.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Accessing the Kubernetes APIAccessing for the first time with kubectlWhen accessing the Kubernetes API for the first time, use the Kubernetes command-line tool, kubectl.To access a cluster, you need to know the location of the cluster and have credentials to access it. Typically, this is automatically set-up when you work through a Getting started guide, or someone else set up the cluster and provided you with credentials and a location.Check the location and credentials that kubectl knows about with this command:kubectl config view Many of the examples provide an introduction to using kubectl. Complete documentation is found in the kubectl manual.Directly accessing the REST APIkubectl handles locating and authenticating to the API server. If you want to directly access the REST API with an http client like curl or wget, or a browser, there are multiple ways you can locate and authenticate against the API server:Run kubectl in proxy mode (recommended). This method is recommended, since it uses the stored API server location and verifies the identity of the API server using a self-signed certificate. No man-in-the-middle (MITM) attack is possible using this method.Alternatively, you can provide the location and credentials directly to the http client. This works with client code that is confused by proxies. To protect against man in the middle attacks, you'll need to import a root cert into your browser.Using the Go or Python client libraries provides accessing kubectl in proxy mode.Using kubectl proxyThe following command runs kubectl in a mode where it acts as a reverse proxy. It handles locating the API server and authenticating.Run it like this:kubectl proxy --port=8080 & See kubectl proxy for more details.Then you can explore the API with curl, wget, or a browser, like so:curl http://localhost:8080/api/ The output is similar to this:{ \"versions\": [ \"v1\" ], \"serverAddressByClientCIDRs\": [ { \"clientCIDR\": \"0.0.0.0/0\", \"serverAddress\": \"10.0.1.149:443\" } ] } Without kubectl proxyIt is possible to avoid using kubectl proxy by passing an authentication token directly to the API server, like this:Using grep/cut approach:# Check all possible clusters, as your .KUBECONFIG may have multiple contexts: kubectl config view -o jsonpath='{\"Cluster name\\tServer\\n\"}{range .clusters[*]}{.name}{\"\\t\"}{.cluster.server}{\"\\n\"}{end}' # Select name of cluster you want to interact with from ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/access-cluster-api/",
    "id": "k8s_00293_qa_5443"
  },
  {
    "question": "What is Access Clusters Using the Kubernetes API?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   a c c e s s   c l u s t e r s   u s i n g   t h e   K u b e r n e t e s   A P I .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/access-cluster-api/",
    "id": "k8s_00293_section_1_5444"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/access-cluster-api/",
    "id": "k8s_00293_section_2_5445"
  },
  {
    "question": "What is Accessing for the first time with kubectl?",
    "answer": "W h e n   a c c e s s i n g   t h e   K u b e r n e t e s   A P I   f o r   t h e   f i r s t   t i m e ,   u s e   t h e   K u b e r n e t e s   c o m m a n d - l i n e   t o o l ,   k u b e c t l .   T o   a c c e s s   a   c l u s t e r ,   y o u   n e e d   t o   k n o w   t h e   l o c a t i o n   o f   t h e   c l u s t e r   a n d   h a v e   c r e d e n t i a l s   t o   a c c e s s   i t .   T y p i c a l l y ,   t h i s   i s   a u t o m a t i c a l l y   s e t - u p   w h e n   y o u   w o r k   t h r o u g h   a   G e t t i n g   s t a r t e d   g u i d e ,   o r   s o m e o n e   e l s e   s e t   u p   t h e   c l u s t e r   a n d   p r o v i d e d   y o u   w i t h   c r e d e n t i a l s   a n d   a   l o c a t i o n .   C h e c k   t h e   l o c a t i o n   a n d   c r e d e n t i a l s   t h a t   k u b e c t l   k n o w s   a b o u t   w i t h   t h i s   c o m m a n d :   k u b e c t l   c o n f i g   v i e w   M a n y   o f   t h e   e x a m p l e s   p r o v i d e   a n   i n t r o d u c t i o n   t o   u s i n g   k u b e c t l .   C o m p l e t e   d o c u m e n t a t i o n   i s   f o u n d   i n   t h e   k u b e c t l   m a n u a l .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/access-cluster-api/",
    "id": "k8s_00293_section_3_5446"
  },
  {
    "question": "What is Directly accessing the REST API?",
    "answer": "k u b e c t l   h a n d l e s   l o c a t i n g   a n d   a u t h e n t i c a t i n g   t o   t h e   A P I   s e r v e r .   I f   y o u   w a n t   t o   d i r e c t l y   a c c e s s   t h e   R E S T   A P I   w i t h   a n   h t t p   c l i e n t   l i k e   c u r l   o r   w g e t ,   o r   a   b r o w s e r ,   t h e r e   a r e   m u l t i p l e   w a y s   y o u   c a n   l o c a t e   a n d   a u t h e n t i c a t e   a g a i n s t   t h e   A P I   s e r v e r :   R u n   k u b e c t l   i n   p r o x y   m o d e   ( r e c o m m e n d e d ) .   T h i s   m e t h o d   i s   r e c o m m e n d e d ,   s i n c e   i t   u s e s   t h e   s t o r e d   A P I   s e r v e r   l o c a t i o n   a n d   v e r i f i e s   t h e   i d e n t i t y   o f   t h e   A P I   s e r v e r   u s i n g   a   s e l f - s i g n e d   c e r t i f i c a t e .   N o   m a n - i n - t h e - m i d d l e   ( M I T M )   a t t a c k   i s   p o s s i b l e   u s i n g   t h i s   m e t h o d . A l t e r n a t i v e l y ,   y o u   c a n   p r o v i d e   t h e   l o c a t i o n   a n d   c r e d e n t i a l s   d i r e c t l y   t o   t h e   h t t p   c l i e n t .   T h i s   w o r k s   w i t h   c l i e n t   c o d e   t h a t   i s   c o n f u s e d   b y   p r o x i e s .   T o   p r o t e c t   a g a i n s t   m a n   i n   t h e   m i d d l e   a t t a c k s ,   y o u ' l l   n e e d   t o   i m p o r t   a   r o o t   c e r t   i n t o   y o u r   b r o w s e r .   U s i n g   t h e   G o   o r   P y t h o n   c l i e n t   l i b r a r i e s   p r o v i d e s   a c c e s s i n g   k u b e c t l   i n   p r o x y   m o d e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/access-cluster-api/",
    "id": "k8s_00293_section_3_5447"
  },
  {
    "question": "What is Using kubectl proxy?",
    "answer": "T h e   f o l l o w i n g   c o m m a n d   r u n s   k u b e c t l   i n   a   m o d e   w h e r e   i t   a c t s   a s   a   r e v e r s e   p r o x y .   I t   h a n d l e s   l o c a t i n g   t h e   A P I   s e r v e r   a n d   a u t h e n t i c a t i n g .   R u n   i t   l i k e   t h i s :   k u b e c t l   p r o x y   - - p o r t = 8 0 8 0   &   S e e   k u b e c t l   p r o x y   f o r   m o r e   d e t a i l s .   T h e n   y o u   c a n   e x p l o r e   t h e   A P I   w i t h   c u r l ,   w g e t ,   o r   a   b r o w s e r ,   l i k e   s o :   c u r l   h t t p : / / l o c a l h o s t : 8 0 8 0 / a p i /   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   {   \" v e r s i o n s \" :   [   \" v 1 \"   ] ,   \" s e r v e r A d d r e s s B y C l i e n t C I D R s \" :   [   {   \" c l i e n t C I D R \" :   \" 0 . 0 . 0 . 0 / 0 \" ,   \" s e r v e r A d d r e s s \" :   \" 1 0 . 0 . 1 . 1 4 9 : 4 4 3 \"   }   ]   }",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/access-cluster-api/",
    "id": "k8s_00293_section_4_5448"
  },
  {
    "question": "What is Without kubectl proxy?",
    "answer": "I t   i s   p o s s i b l e   t o   a v o i d   u s i n g   k u b e c t l   p r o x y   b y   p a s s i n g   a n   a u t h e n t i c a t i o n   t o k e n   d i r e c t l y   t o   t h e   A P I   s e r v e r ,   l i k e   t h i s :   U s i n g   g r e p / c u t   a p p r o a c h :   #   C h e c k   a l l   p o s s i b l e   c l u s t e r s ,   a s   y o u r   . K U B E C O N F I G   m a y   h a v e   m u l t i p l e   c o n t e x t s :   k u b e c t l   c o n f i g   v i e w   - o   j s o n p a t h = ' { \" C l u s t e r   n a m e \\ t S e r v e r \\ n \" } { r a n g e   . c l u s t e r s [ * ] } { . n a m e } { \" \\ t \" } { . c l u s t e r . s e r v e r } { \" \\ n \" } { e n d } '   #   S e l e c t   n a m e   o f   c l u s t e r   y o u   w a n t   t o   i n t e r a c t   w i t h   f r o m   a b o v e   o u t p u t :   e x p o r t   C L U S T E R _ N A M E = \" s o m e _ s e r v e r _ n a m e \"   #   P o i n t   t o   t h e   A P I   s e r v e r   r e f e r r i n g   t h e   c l u s t e r   n a m e   A P I S E R V E R = $ ( k u b e c t l   c o n f i g   v i e w   - o   j s o n p a t h = \" { . c l u s t e r s [ ? ( @ . n a m e = = \\ \" $ C L U S T E R _ N A M E \\ \" ) ] . c l u s t e r . s e r v e r } \" )   #   C r e a t e   a   s e c r e t   t o   h o l d   a   t o k e n   f o r   t h e   d e f a u l t   s e r v i c e   a c c o u n t   k u b e c t l   a p p l y   - f   -   < < E O F   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   d e f a u l t - t o k e n   a n n o t a t i o n s :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . n a m e :   d e f a u l t   t y p e :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n   E O F   #   W a i t   f o r   t h e   t o k e n   c o n t r o l l e r   t o   p o p u l a t e   t h e   s e c r e t   w i t h   a   t o k e n :   w h i l e   !   k u b e c t l   d e s c r i b e   s e c r e t   d e f a u l t - t o k e n   |   g r e p   - E   ' ^ t o k e n '   > / d e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/access-cluster-api/",
    "id": "k8s_00293_section_4_5449"
  },
  {
    "question": "What is Programmatic access to the API?",
    "answer": "K u b e r n e t e s   o f f i c i a l l y   s u p p o r t s   c l i e n t   l i b r a r i e s   f o r   G o ,   P y t h o n ,   J a v a ,   d o t n e t ,   J a v a S c r i p t ,   a n d   H a s k e l l .   T h e r e   a r e   o t h e r   c l i e n t   l i b r a r i e s   t h a t   a r e   p r o v i d e d   a n d   m a i n t a i n e d   b y   t h e i r   a u t h o r s ,   n o t   t h e   K u b e r n e t e s   t e a m .   S e e   c l i e n t   l i b r a r i e s   f o r   a c c e s s i n g   t h e   A P I   f r o m   o t h e r   l a n g u a g e s   a n d   h o w   t h e y   a u t h e n t i c a t e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/access-cluster-api/",
    "id": "k8s_00293_section_3_5450"
  },
  {
    "question": "What is Go client?",
    "answer": "T o   g e t   t h e   l i b r a r y ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   g o   g e t   k 8 s . i o / c l i e n t - g o @ k u b e r n e t e s - < k u b e r n e t e s - v e r s i o n - n u m b e r >   S e e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / c l i e n t - g o / r e l e a s e s   t o   s e e   w h i c h   v e r s i o n s   a r e   s u p p o r t e d . W r i t e   a n   a p p l i c a t i o n   a t o p   o f   t h e   c l i e n t - g o   c l i e n t s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/access-cluster-api/",
    "id": "k8s_00293_section_4_5451"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   G o   c l i e n t   c a n   u s e   t h e   s a m e   k u b e c o n f i g   f i l e   a s   t h e   k u b e c t l   C L I   d o e s   t o   l o c a t e   a n d   a u t h e n t i c a t e   t o   t h e   A P I   s e r v e r .   S e e   t h i s   e x a m p l e :   p a c k a g e   m a i n   i m p o r t   (   \" c o n t e x t \"   \" f m t \"   \" k 8 s . i o / a p i m a c h i n e r y / p k g / a p i s / m e t a / v 1 \"   \" k 8 s . i o / c l i e n t - g o / k u b e r n e t e s \"   \" k 8 s . i o / c l i e n t - g o / t o o l s / c l i e n t c m d \"   )   f u n c   m a i n ( )   {   / /   u s e s   t h e   c u r r e n t   c o n t e x t   i n   k u b e c o n f i g   / /   p a t h - t o - k u b e c o n f i g   - -   f o r   e x a m p l e ,   / r o o t / . k u b e / c o n f i g   c o n f i g ,   _   : =   c l i e n t c m d . B u i l d C o n f i g F r o m F l a g s ( \" \" ,   \" < p a t h - t o - k u b e c o n f i g > \" )   / /   c r e a t e s   t h e   c l i e n t s e t   c l i e n t s e t ,   _   : =   k u b e r n e t e s . N e w F o r C o n f i g ( c o n f i g )   / /   a c c e s s   t h e   A P I   t o   l i s t   p o d s   p o d s ,   _   : =   c l i e n t s e t . C o r e V 1 ( ) . P o d s ( \" \" ) . L i s t ( c o n t e x t . T O D O ( ) ,   v 1 . L i s t O p t i o n s { } )   f m t . P r i n t f ( \" T h e r e   a r e   % d   p o d s   i n   t h e   c l u s t e r \\ n \" ,   l e n ( p o d s . I t e m s ) )   }   I f   t h e   a p p l i c a t i o n   i s   d e p l o y e d   a s   a   P o d   i n   t h e   c l u s t e r ,   s e e   A c c e s s i n g   t h e   A P I   f r o m   w i t h i n   a   P o d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/access-cluster-api/",
    "id": "k8s_00293_section_4_5452"
  },
  {
    "question": "What is Python client?",
    "answer": "T o   u s e   P y t h o n   c l i e n t ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   p i p   i n s t a l l   k u b e r n e t e s .   S e e   P y t h o n   C l i e n t   L i b r a r y   p a g e   f o r   m o r e   i n s t a l l a t i o n   o p t i o n s .   T h e   P y t h o n   c l i e n t   c a n   u s e   t h e   s a m e   k u b e c o n f i g   f i l e   a s   t h e   k u b e c t l   C L I   d o e s   t o   l o c a t e   a n d   a u t h e n t i c a t e   t o   t h e   A P I   s e r v e r .   S e e   t h i s   e x a m p l e :   f r o m   k u b e r n e t e s   i m p o r t   c l i e n t ,   c o n f i g   c o n f i g . l o a d _ k u b e _ c o n f i g ( )   v 1 = c l i e n t . C o r e V 1 A p i ( )   p r i n t ( \" L i s t i n g   p o d s   w i t h   t h e i r   I P s : \" )   r e t   =   v 1 . l i s t _ p o d _ f o r _ a l l _ n a m e s p a c e s ( w a t c h = F a l s e )   f o r   i   i n   r e t . i t e m s :   p r i n t ( \" % s \\ t % s \\ t % s \"   %   ( i . s t a t u s . p o d _ i p ,   i . m e t a d a t a . n a m e s p a c e ,   i . m e t a d a t a . n a m e ) )",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/access-cluster-api/",
    "id": "k8s_00293_section_4_5453"
  },
  {
    "question": "What is Java client?",
    "answer": "T o   i n s t a l l   t h e   J a v a   C l i e n t ,   r u n :   #   C l o n e   j a v a   l i b r a r y   g i t   c l o n e   - - r e c u r s i v e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s - c l i e n t / j a v a   #   I n s t a l l i n g   p r o j e c t   a r t i f a c t s ,   P O M   e t c :   c d   j a v a   m v n   i n s t a l l   S e e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s - c l i e n t / j a v a / r e l e a s e s   t o   s e e   w h i c h   v e r s i o n s   a r e   s u p p o r t e d .   T h e   J a v a   c l i e n t   c a n   u s e   t h e   s a m e   k u b e c o n f i g   f i l e   a s   t h e   k u b e c t l   C L I   d o e s   t o   l o c a t e   a n d   a u t h e n t i c a t e   t o   t h e   A P I   s e r v e r .   S e e   t h i s   e x a m p l e :   p a c k a g e   i o . k u b e r n e t e s . c l i e n t . e x a m p l e s ;   i m p o r t   i o . k u b e r n e t e s . c l i e n t . A p i C l i e n t ;   i m p o r t   i o . k u b e r n e t e s . c l i e n t . A p i E x c e p t i o n ;   i m p o r t   i o . k u b e r n e t e s . c l i e n t . C o n f i g u r a t i o n ;   i m p o r t   i o . k u b e r n e t e s . c l i e n t . a p i s . C o r e V 1 A p i ;   i m p o r t   i o . k u b e r n e t e s . c l i e n t . m o d e l s . V 1 P o d ;   i m p o r t   i o . k u b e r n e t e s . c l i e n t . m o d e l s . V 1 P o d L i s t ;   i m p o r t   i o . k u b e r n e t e s . c l i e n t . u t i l . C l i e n t B u i l d e r ;   i m p o r t   i o . k u b e r n e t e s . c l i e n t . u t i l . K u b e C o n f i g ;   i m p o r t   j a v a . i o . F i l e R e a d e r ;   i m p o r t   j a v a . i o . I O E x c e p t i o n ;   / * *   *   A   s i m p l e   e x a m p l e   o f   h o w   t o   u s e   t h e   J a v a   A P I   f r o m   a n   a p p l i c a t i o n   o u t s i d e   a   k u b e r n e t e s   c l u s t e r   *   *   < p > E a s i e s t   w a y   t o   r u n   t h i s :   m v n   e x e c : j a v a   *   - D ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/access-cluster-api/",
    "id": "k8s_00293_section_4_5454"
  },
  {
    "question": "What is dotnet client?",
    "answer": "T o   u s e   d o t n e t   c l i e n t ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   d o t n e t   a d d   p a c k a g e   K u b e r n e t e s C l i e n t   - - v e r s i o n   1 . 6 . 1 .   S e e   d o t n e t   C l i e n t   L i b r a r y   p a g e   f o r   m o r e   i n s t a l l a t i o n   o p t i o n s .   S e e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s - c l i e n t / c s h a r p / r e l e a s e s   t o   s e e   w h i c h   v e r s i o n s   a r e   s u p p o r t e d .   T h e   d o t n e t   c l i e n t   c a n   u s e   t h e   s a m e   k u b e c o n f i g   f i l e   a s   t h e   k u b e c t l   C L I   d o e s   t o   l o c a t e   a n d   a u t h e n t i c a t e   t o   t h e   A P I   s e r v e r .   S e e   t h i s   e x a m p l e :   u s i n g   S y s t e m ;   u s i n g   k 8 s ;   n a m e s p a c e   s i m p l e   {   i n t e r n a l   c l a s s   P o d L i s t   {   p r i v a t e   s t a t i c   v o i d   M a i n ( s t r i n g [ ]   a r g s )   {   v a r   c o n f i g   =   K u b e r n e t e s C l i e n t C o n f i g u r a t i o n . B u i l d D e f a u l t C o n f i g ( ) ;   I K u b e r n e t e s   c l i e n t   =   n e w   K u b e r n e t e s ( c o n f i g ) ;   C o n s o l e . W r i t e L i n e ( \" S t a r t i n g   R e q u e s t ! \" ) ;   v a r   l i s t   =   c l i e n t . L i s t N a m e s p a c e d P o d ( \" d e f a u l t \" ) ;   f o r e a c h   ( v a r   i t e m   i n   l i s t . I t e m s )   {   C o n s o l e . W r i t e L i n e ( i t e m . M e t a d a t a . N a m e ) ;   }   i f   ( l i s t . I t e m s . C o u n t   = =   0 )   {   C o n s o l e . W r i t e L i n e ( \" E m p t y ! \" ) ;   }   }   }   }",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/access-cluster-api/",
    "id": "k8s_00293_section_4_5455"
  },
  {
    "question": "What is JavaScript client?",
    "answer": "T o   i n s t a l l   J a v a S c r i p t   c l i e n t ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   n p m   i n s t a l l   @ k u b e r n e t e s / c l i e n t - n o d e .   S e e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s - c l i e n t / j a v a s c r i p t / r e l e a s e s   t o   s e e   w h i c h   v e r s i o n s   a r e   s u p p o r t e d .   T h e   J a v a S c r i p t   c l i e n t   c a n   u s e   t h e   s a m e   k u b e c o n f i g   f i l e   a s   t h e   k u b e c t l   C L I   d o e s   t o   l o c a t e   a n d   a u t h e n t i c a t e   t o   t h e   A P I   s e r v e r .   S e e   t h i s   e x a m p l e :   c o n s t   k 8 s   =   r e q u i r e ( ' @ k u b e r n e t e s / c l i e n t - n o d e ' ) ;   c o n s t   k c   =   n e w   k 8 s . K u b e C o n f i g ( ) ;   k c . l o a d F r o m D e f a u l t ( ) ;   c o n s t   k 8 s A p i   =   k c . m a k e A p i C l i e n t ( k 8 s . C o r e V 1 A p i ) ;   k 8 s A p i . l i s t N a m e s p a c e d P o d ( {   n a m e s p a c e :   ' d e f a u l t '   } ) . t h e n ( ( r e s )   = >   {   c o n s o l e . l o g ( r e s ) ;   } ) ;",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/access-cluster-api/",
    "id": "k8s_00293_section_4_5456"
  },
  {
    "question": "What is Haskell client?",
    "answer": "S e e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s - c l i e n t / h a s k e l l / r e l e a s e s   t o   s e e   w h i c h   v e r s i o n s   a r e   s u p p o r t e d .   T h e   H a s k e l l   c l i e n t   c a n   u s e   t h e   s a m e   k u b e c o n f i g   f i l e   a s   t h e   k u b e c t l   C L I   d o e s   t o   l o c a t e   a n d   a u t h e n t i c a t e   t o   t h e   A P I   s e r v e r .   S e e   t h i s   e x a m p l e :   e x a m p l e W i t h K u b e C o n f i g   : :   I O   ( )   e x a m p l e W i t h K u b e C o n f i g   =   d o   o i d c C a c h e   < -   a t o m i c a l l y   $   n e w T V a r   $   M a p . f r o m L i s t   [ ]   ( m g r ,   k c f g )   < -   m k K u b e C l i e n t C o n f i g   o i d c C a c h e   $   K u b e C o n f i g F i l e   \" / p a t h / t o / k u b e c o n f i g \"   d i s p a t c h M i m e   m g r   k c f g   ( C o r e V 1 . l i s t P o d F o r A l l N a m e s p a c e s   ( A c c e p t   M i m e J S O N ) )   > > =   p r i n t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/access-cluster-api/",
    "id": "k8s_00293_section_4_5457"
  },
  {
    "question": "What is What's next?",
    "answer": "A c c e s s i n g   t h e   K u b e r n e t e s   A P I   f r o m   a   P o d",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/access-cluster-api/",
    "id": "k8s_00293_section_2_5458"
  },
  {
    "question": "What is Configure Certificate Rotation for the Kubelet?",
    "answer": "Configure Certificate Rotation for the KubeletThis page shows how to enable and configure certificate rotation for the kubelet.FEATURE STATE: Kubernetes v1.19 [stable]Before you beginKubernetes version 1.8.0 or later is requiredOverviewThe kubelet uses certificates for authenticating to the Kubernetes API. By default, these certificates are issued with one year expiration so that they do not need to be renewed too frequently.Kubernetes contains kubelet certificate rotation, that will automatically generate a new key and request a new certificate from the Kubernetes API as the current certificate approaches expiration. Once the new certificate is available, it will be used for authenticating connections to the Kubernetes API.Enabling client certificate rotationThe kubelet process accepts an argument --rotate-certificates that controls if the kubelet will automatically request a new certificate as the expiration of the certificate currently in use approaches.The kube-controller-manager process accepts an argument --cluster-signing-duration (--experimental-cluster-signing-duration prior to 1.19) that controls how long certificates will be issued for.Understanding the certificate rotation configurationWhen a kubelet starts up, if it is configured to bootstrap (using the --bootstrap-kubeconfig flag), it will use its initial certificate to connect to the Kubernetes API and issue a certificate signing request. You can view the status of certificate signing requests using:kubectl get csr Initially a certificate signing request from the kubelet on a node will have a status of Pending. If the certificate signing requests meets specific criteria, it will be auto approved by the controller manager, then it will have a status of Approved. Next, the controller manager will sign a certificate, issued for the duration specified by the --cluster-signing-duration parameter, and the signed certificate will be attached to the certificate signing request.The kubelet will retrieve the signed certificate from the Kubernetes API and write that to disk, in the location specified by --cert-dir. Then the kubelet will use the new certificate to connect to the Kubernetes API.As the expiration of the signed certificate approaches, the kubelet will automatically issue a new certificate signing request, using the Kubernetes API. This can happen at any point between 30% and 10% of the time remaining on the certificate. Again, the controller manager will automatically approve the certificate request and attach a signed certificate to the certificate signing request. The kubelet will retrieve the new signed certificate from the Kubernetes API and write that to disk. Then it will update the connections it has to the Kubernetes API to reconnect using the new certificate.",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/tls/certificate-rotation/",
    "id": "k8s_00294_qa_5459"
  },
  {
    "question": "How does Configure Certificate Rotation for the Kubelet work?",
    "answer": "Configure Certificate Rotation for the KubeletThis page shows how to enable and configure certificate rotation for the kubelet.FEATURE STATE: Kubernetes v1.19 [stable]Before you beginKubernetes version 1.8.0 or later is requiredOverviewThe kubelet uses certificates for authenticating to the Kubernetes API. By default, these certificates are issued with one year expiration so that they do not need to be renewed too frequently.Kubernetes contains kubelet certificate rotation, that will automatically generate a new key and request a new certificate from the Kubernetes API as the current certificate approaches expiration. Once the new certificate is available, it will be used for authenticating connections to the Kubernetes API.Enabling client certificate rotationThe kubelet process accepts an argument --rotate-certificates that controls if the kubelet will automatically request a new certificate as the expiration of the certificate currently in use approaches.The kube-controller-manager process accepts an argument --cluster-signing-duration (--experimental-cluster-signing-duration prior to 1.19) that controls how long certificates will be issued for.Understanding the certificate rotation configurationWhen a kubelet starts up, if it is configured to bootstrap (using the --bootstrap-kubeconfig flag), it will use its initial certificate to connect to the Kubernetes API and issue a certificate signing request. You can view the status of certificate signing requests using:kubectl get csr Initially a certificate signing request from the kubelet on a node will have a status of Pending. If the certificate signing requests meets specific criteria, it will be auto approved by the controller manager, then it will have a status of Approved. Next, the controller manager will sign a certificate, issued for the duration specified by the --cluster-signing-duration parameter, and the signed certificate will be attached to the certificate signing request.The kubelet will retrieve the signed certificate from the Kubernetes API and write that to disk, in the location specified by --cert-dir. Then the kubelet will use the new certificate to connect to the Kubernetes API.As the expiration of the signed certificate approaches, the kubelet will automatically issue a new certificate signing request, using the Kubernetes API. This can happen at any point between 30% and 10% of the time remaining on the certificate. Again, the controller manager will automatically approve the certificate request and attach a signed certificate to the certificate signing request. The kubelet will retrieve the new signed certificate from the Kubernetes API and write that to disk. Then it will update the connections it has to the Kubernetes API to reconnect using the new certificate.",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/tls/certificate-rotation/",
    "id": "k8s_00294_qa_5460"
  },
  {
    "question": "When would you use Configure Certificate Rotation for the Kubelet?",
    "answer": "Configure Certificate Rotation for the KubeletThis page shows how to enable and configure certificate rotation for the kubelet.FEATURE STATE: Kubernetes v1.19 [stable]Before you beginKubernetes version 1.8.0 or later is requiredOverviewThe kubelet uses certificates for authenticating to the Kubernetes API. By default, these certificates are issued with one year expiration so that they do not need to be renewed too frequently.Kubernetes contains kubelet certificate rotation, that will automatically generate a new key and request a new certificate from the Kubernetes API as the current certificate approaches expiration. Once the new certificate is available, it will be used for authenticating connections to the Kubernetes API.Enabling client certificate rotationThe kubelet process accepts an argument --rotate-certificates that controls if the kubelet will automatically request a new certificate as the expiration of the certificate currently in use approaches.The kube-controller-manager process accepts an argument --cluster-signing-duration (--experimental-cluster-signing-duration prior to 1.19) that controls how long certificates will be issued for.Understanding the certificate rotation configurationWhen a kubelet starts up, if it is configured to bootstrap (using the --bootstrap-kubeconfig flag), it will use its initial certificate to connect to the Kubernetes API and issue a certificate signing request. You can view the status of certificate signing requests using:kubectl get csr Initially a certificate signing request from the kubelet on a node will have a status of Pending. If the certificate signing requests meets specific criteria, it will be auto approved by the controller manager, then it will have a status of Approved. Next, the controller manager will sign a certificate, issued for the duration specified by the --cluster-signing-duration parameter, and the signed certificate will be attached to the certificate signing request.The kubelet will retrieve the signed certificate from the Kubernetes API and write that to disk, in the location specified by --cert-dir. Then the kubelet will use the new certificate to connect to the Kubernetes API.As the expiration of the signed certificate approaches, the kubelet will automatically issue a new certificate signing request, using the Kubernetes API. This can happen at any point between 30% and 10% of the time remaining on the certificate. Again, the controller manager will automatically approve the certificate request and attach a signed certificate to the certificate signing request. The kubelet will retrieve the new signed certificate from the Kubernetes API and write that to disk. Then it will update the connections it has to the Kubernetes API to reconnect using the new certificate.",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/tls/certificate-rotation/",
    "id": "k8s_00294_qa_5461"
  },
  {
    "question": "What are the benefits of Configure Certificate Rotation for the Kubelet?",
    "answer": "Configure Certificate Rotation for the KubeletThis page shows how to enable and configure certificate rotation for the kubelet.FEATURE STATE: Kubernetes v1.19 [stable]Before you beginKubernetes version 1.8.0 or later is requiredOverviewThe kubelet uses certificates for authenticating to the Kubernetes API. By default, these certificates are issued with one year expiration so that they do not need to be renewed too frequently.Kubernetes contains kubelet certificate rotation, that will automatically generate a new key and request a new certificate from the Kubernetes API as the current certificate approaches expiration. Once the new certificate is available, it will be used for authenticating connections to the Kubernetes API.Enabling client certificate rotationThe kubelet process accepts an argument --rotate-certificates that controls if the kubelet will automatically request a new certificate as the expiration of the certificate currently in use approaches.The kube-controller-manager process accepts an argument --cluster-signing-duration (--experimental-cluster-signing-duration prior to 1.19) that controls how long certificates will be issued for.Understanding the certificate rotation configurationWhen a kubelet starts up, if it is configured to bootstrap (using the --bootstrap-kubeconfig flag), it will use its initial certificate to connect to the Kubernetes API and issue a certificate signing request. You can view the status of certificate signing requests using:kubectl get csr Initially a certificate signing request from the kubelet on a node will have a status of Pending. If the certificate signing requests meets specific criteria, it will be auto approved by the controller manager, then it will have a status of Approved. Next, the controller manager will sign a certificate, issued for the duration specified by the --cluster-signing-duration parameter, and the signed certificate will be attached to the certificate signing request.The kubelet will retrieve the signed certificate from the Kubernetes API and write that to disk, in the location specified by --cert-dir. Then the kubelet will use the new certificate to connect to the Kubernetes API.As the expiration of the signed certificate approaches, the kubelet will automatically issue a new certificate signing request, using the Kubernetes API. This can happen at any point between 30% and 10% of the time remaining on the certificate. Again, the controller manager will automatically approve the certificate request and attach a signed certificate to the certificate signing request. The kubelet will retrieve the new signed certificate from the Kubernetes API and write that to disk. Then it will update the connections it has to the Kubernetes API to reconnect using the new certificate.",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/tls/certificate-rotation/",
    "id": "k8s_00294_qa_5462"
  },
  {
    "question": "What is Configure Certificate Rotation for the Kubelet?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   e n a b l e   a n d   c o n f i g u r e   c e r t i f i c a t e   r o t a t i o n   f o r   t h e   k u b e l e t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/tls/certificate-rotation/",
    "id": "k8s_00294_section_1_5463"
  },
  {
    "question": "What is Before you begin?",
    "answer": "K u b e r n e t e s   v e r s i o n   1 . 8 . 0   o r   l a t e r   i s   r e q u i r e d",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/tls/certificate-rotation/",
    "id": "k8s_00294_section_2_5464"
  },
  {
    "question": "What is Overview?",
    "answer": "T h e   k u b e l e t   u s e s   c e r t i f i c a t e s   f o r   a u t h e n t i c a t i n g   t o   t h e   K u b e r n e t e s   A P I .   B y   d e f a u l t ,   t h e s e   c e r t i f i c a t e s   a r e   i s s u e d   w i t h   o n e   y e a r   e x p i r a t i o n   s o   t h a t   t h e y   d o   n o t   n e e d   t o   b e   r e n e w e d   t o o   f r e q u e n t l y .   K u b e r n e t e s   c o n t a i n s   k u b e l e t   c e r t i f i c a t e   r o t a t i o n ,   t h a t   w i l l   a u t o m a t i c a l l y   g e n e r a t e   a   n e w   k e y   a n d   r e q u e s t   a   n e w   c e r t i f i c a t e   f r o m   t h e   K u b e r n e t e s   A P I   a s   t h e   c u r r e n t   c e r t i f i c a t e   a p p r o a c h e s   e x p i r a t i o n .   O n c e   t h e   n e w   c e r t i f i c a t e   i s   a v a i l a b l e ,   i t   w i l l   b e   u s e d   f o r   a u t h e n t i c a t i n g   c o n n e c t i o n s   t o   t h e   K u b e r n e t e s   A P I .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/tls/certificate-rotation/",
    "id": "k8s_00294_section_2_5465"
  },
  {
    "question": "What is Enabling client certificate rotation?",
    "answer": "T h e   k u b e l e t   p r o c e s s   a c c e p t s   a n   a r g u m e n t   - - r o t a t e - c e r t i f i c a t e s   t h a t   c o n t r o l s   i f   t h e   k u b e l e t   w i l l   a u t o m a t i c a l l y   r e q u e s t   a   n e w   c e r t i f i c a t e   a s   t h e   e x p i r a t i o n   o f   t h e   c e r t i f i c a t e   c u r r e n t l y   i n   u s e   a p p r o a c h e s .   T h e   k u b e - c o n t r o l l e r - m a n a g e r   p r o c e s s   a c c e p t s   a n   a r g u m e n t   - - c l u s t e r - s i g n i n g - d u r a t i o n   ( - - e x p e r i m e n t a l - c l u s t e r - s i g n i n g - d u r a t i o n   p r i o r   t o   1 . 1 9 )   t h a t   c o n t r o l s   h o w   l o n g   c e r t i f i c a t e s   w i l l   b e   i s s u e d   f o r .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/tls/certificate-rotation/",
    "id": "k8s_00294_section_2_5466"
  },
  {
    "question": "What is Understanding the certificate rotation configuration?",
    "answer": "W h e n   a   k u b e l e t   s t a r t s   u p ,   i f   i t   i s   c o n f i g u r e d   t o   b o o t s t r a p   ( u s i n g   t h e   - - b o o t s t r a p - k u b e c o n f i g   f l a g ) ,   i t   w i l l   u s e   i t s   i n i t i a l   c e r t i f i c a t e   t o   c o n n e c t   t o   t h e   K u b e r n e t e s   A P I   a n d   i s s u e   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t .   Y o u   c a n   v i e w   t h e   s t a t u s   o f   c e r t i f i c a t e   s i g n i n g   r e q u e s t s   u s i n g :   k u b e c t l   g e t   c s r   I n i t i a l l y   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t   f r o m   t h e   k u b e l e t   o n   a   n o d e   w i l l   h a v e   a   s t a t u s   o f   P e n d i n g .   I f   t h e   c e r t i f i c a t e   s i g n i n g   r e q u e s t s   m e e t s   s p e c i f i c   c r i t e r i a ,   i t   w i l l   b e   a u t o   a p p r o v e d   b y   t h e   c o n t r o l l e r   m a n a g e r ,   t h e n   i t   w i l l   h a v e   a   s t a t u s   o f   A p p r o v e d .   N e x t ,   t h e   c o n t r o l l e r   m a n a g e r   w i l l   s i g n   a   c e r t i f i c a t e ,   i s s u e d   f o r   t h e   d u r a t i o n   s p e c i f i e d   b y   t h e   - - c l u s t e r - s i g n i n g - d u r a t i o n   p a r a m e t e r ,   a n d   t h e   s i g n e d   c e r t i f i c a t e   w i l l   b e   a t t a c h e d   t o   t h e   c e r t i f i c a t e   s i g n i n g   r e q u e s t .   T h e   k u b e l e t   w i l l   r e t r i e v e   t h e   s i g n e d   c e r t i f i c a t e   f r o m   t h e   K u b e r n e t e s   A P I   a n d   w r i t e   t h a t   t o   d i s k ,   i n   t h e   l o c a t i o n   s p e c i f i e d   b y   - - c e r t - d i r .   T h e n   t h e   k u b e l e t   w i l l   u s e   t h e   n e w   c e r t i f i c a t e   t o   c o n n e c t   t o   t h e   K u b e r n e t e s   A P I .   A s   t h e   e x p i r a t i o n   o f   t h e   s i g n ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/tls/certificate-rotation/",
    "id": "k8s_00294_section_2_5467"
  },
  {
    "question": "What is Workload Resources?",
    "answer": "Workload ResourcesPodPod is a collection of containers that can run on a host.BindingBinding ties one object to another; for example, a pod is bound to a node by a scheduler.PodTemplatePodTemplate describes a template for creating copies of a predefined pod.ReplicationControllerReplicationController represents the configuration of a replication controller.ReplicaSetReplicaSet ensures that a specified number of pod replicas are running at any given time.DeploymentDeployment enables declarative updates for Pods and ReplicaSets.StatefulSetStatefulSet represents a set of pods with consistent identities.ControllerRevisionControllerRevision implements an immutable snapshot of state data.DaemonSetDaemonSet represents the configuration of a daemon set.JobJob represents the configuration of a single job.CronJobCronJob represents the configuration of a single cron job.HorizontalPodAutoscalerconfiguration of a horizontal pod autoscaler.HorizontalPodAutoscalerHorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.PriorityClassPriorityClass defines mapping from a priority class name to the priority integer value.DeviceTaintRule v1alpha3DeviceTaintRule adds one taint to all devices which match the selector.ResourceClaimResourceClaim describes a request for access to resources in the cluster, for use by workloads.ResourceClaimTemplateResourceClaimTemplate is used to produce ResourceClaim objects.ResourceSliceResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/",
    "id": "k8s_00295_qa_5468"
  },
  {
    "question": "How does Workload Resources work?",
    "answer": "Workload ResourcesPodPod is a collection of containers that can run on a host.BindingBinding ties one object to another; for example, a pod is bound to a node by a scheduler.PodTemplatePodTemplate describes a template for creating copies of a predefined pod.ReplicationControllerReplicationController represents the configuration of a replication controller.ReplicaSetReplicaSet ensures that a specified number of pod replicas are running at any given time.DeploymentDeployment enables declarative updates for Pods and ReplicaSets.StatefulSetStatefulSet represents a set of pods with consistent identities.ControllerRevisionControllerRevision implements an immutable snapshot of state data.DaemonSetDaemonSet represents the configuration of a daemon set.JobJob represents the configuration of a single job.CronJobCronJob represents the configuration of a single cron job.HorizontalPodAutoscalerconfiguration of a horizontal pod autoscaler.HorizontalPodAutoscalerHorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.PriorityClassPriorityClass defines mapping from a priority class name to the priority integer value.DeviceTaintRule v1alpha3DeviceTaintRule adds one taint to all devices which match the selector.ResourceClaimResourceClaim describes a request for access to resources in the cluster, for use by workloads.ResourceClaimTemplateResourceClaimTemplate is used to produce ResourceClaim objects.ResourceSliceResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/",
    "id": "k8s_00295_qa_5469"
  },
  {
    "question": "When would you use Workload Resources?",
    "answer": "Workload ResourcesPodPod is a collection of containers that can run on a host.BindingBinding ties one object to another; for example, a pod is bound to a node by a scheduler.PodTemplatePodTemplate describes a template for creating copies of a predefined pod.ReplicationControllerReplicationController represents the configuration of a replication controller.ReplicaSetReplicaSet ensures that a specified number of pod replicas are running at any given time.DeploymentDeployment enables declarative updates for Pods and ReplicaSets.StatefulSetStatefulSet represents a set of pods with consistent identities.ControllerRevisionControllerRevision implements an immutable snapshot of state data.DaemonSetDaemonSet represents the configuration of a daemon set.JobJob represents the configuration of a single job.CronJobCronJob represents the configuration of a single cron job.HorizontalPodAutoscalerconfiguration of a horizontal pod autoscaler.HorizontalPodAutoscalerHorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.PriorityClassPriorityClass defines mapping from a priority class name to the priority integer value.DeviceTaintRule v1alpha3DeviceTaintRule adds one taint to all devices which match the selector.ResourceClaimResourceClaim describes a request for access to resources in the cluster, for use by workloads.ResourceClaimTemplateResourceClaimTemplate is used to produce ResourceClaim objects.ResourceSliceResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/",
    "id": "k8s_00295_qa_5470"
  },
  {
    "question": "What are the benefits of Workload Resources?",
    "answer": "Workload ResourcesPodPod is a collection of containers that can run on a host.BindingBinding ties one object to another; for example, a pod is bound to a node by a scheduler.PodTemplatePodTemplate describes a template for creating copies of a predefined pod.ReplicationControllerReplicationController represents the configuration of a replication controller.ReplicaSetReplicaSet ensures that a specified number of pod replicas are running at any given time.DeploymentDeployment enables declarative updates for Pods and ReplicaSets.StatefulSetStatefulSet represents a set of pods with consistent identities.ControllerRevisionControllerRevision implements an immutable snapshot of state data.DaemonSetDaemonSet represents the configuration of a daemon set.JobJob represents the configuration of a single job.CronJobCronJob represents the configuration of a single cron job.HorizontalPodAutoscalerconfiguration of a horizontal pod autoscaler.HorizontalPodAutoscalerHorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.PriorityClassPriorityClass defines mapping from a priority class name to the priority integer value.DeviceTaintRule v1alpha3DeviceTaintRule adds one taint to all devices which match the selector.ResourceClaimResourceClaim describes a request for access to resources in the cluster, for use by workloads.ResourceClaimTemplateResourceClaimTemplate is used to produce ResourceClaim objects.ResourceSliceResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/",
    "id": "k8s_00295_qa_5471"
  },
  {
    "question": "What is Pod?",
    "answer": "P o d   i s   a   c o l l e c t i o n   o f   c o n t a i n e r s   t h a t   c a n   r u n   o n   a   h o s t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/",
    "id": "k8s_00295_section_5_5472"
  },
  {
    "question": "What is Binding?",
    "answer": "B i n d i n g   t i e s   o n e   o b j e c t   t o   a n o t h e r ;   f o r   e x a m p l e ,   a   p o d   i s   b o u n d   t o   a   n o d e   b y   a   s c h e d u l e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/",
    "id": "k8s_00295_section_5_5473"
  },
  {
    "question": "What is PodTemplate?",
    "answer": "P o d T e m p l a t e   d e s c r i b e s   a   t e m p l a t e   f o r   c r e a t i n g   c o p i e s   o f   a   p r e d e f i n e d   p o d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/",
    "id": "k8s_00295_section_5_5474"
  },
  {
    "question": "What is ReplicationController?",
    "answer": "R e p l i c a t i o n C o n t r o l l e r   r e p r e s e n t s   t h e   c o n f i g u r a t i o n   o f   a   r e p l i c a t i o n   c o n t r o l l e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/",
    "id": "k8s_00295_section_5_5475"
  },
  {
    "question": "What is ReplicaSet?",
    "answer": "R e p l i c a S e t   e n s u r e s   t h a t   a   s p e c i f i e d   n u m b e r   o f   p o d   r e p l i c a s   a r e   r u n n i n g   a t   a n y   g i v e n   t i m e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/",
    "id": "k8s_00295_section_5_5476"
  },
  {
    "question": "What is Deployment?",
    "answer": "D e p l o y m e n t   e n a b l e s   d e c l a r a t i v e   u p d a t e s   f o r   P o d s   a n d   R e p l i c a S e t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/",
    "id": "k8s_00295_section_5_5477"
  },
  {
    "question": "What is StatefulSet?",
    "answer": "S t a t e f u l S e t   r e p r e s e n t s   a   s e t   o f   p o d s   w i t h   c o n s i s t e n t   i d e n t i t i e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/",
    "id": "k8s_00295_section_5_5478"
  },
  {
    "question": "What is ControllerRevision?",
    "answer": "C o n t r o l l e r R e v i s i o n   i m p l e m e n t s   a n   i m m u t a b l e   s n a p s h o t   o f   s t a t e   d a t a .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/",
    "id": "k8s_00295_section_5_5479"
  },
  {
    "question": "What is DaemonSet?",
    "answer": "D a e m o n S e t   r e p r e s e n t s   t h e   c o n f i g u r a t i o n   o f   a   d a e m o n   s e t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/",
    "id": "k8s_00295_section_5_5480"
  },
  {
    "question": "What is Job?",
    "answer": "J o b   r e p r e s e n t s   t h e   c o n f i g u r a t i o n   o f   a   s i n g l e   j o b .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/",
    "id": "k8s_00295_section_5_5481"
  },
  {
    "question": "What is CronJob?",
    "answer": "C r o n J o b   r e p r e s e n t s   t h e   c o n f i g u r a t i o n   o f   a   s i n g l e   c r o n   j o b .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/",
    "id": "k8s_00295_section_5_5482"
  },
  {
    "question": "What is HorizontalPodAutoscaler?",
    "answer": "c o n f i g u r a t i o n   o f   a   h o r i z o n t a l   p o d   a u t o s c a l e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/",
    "id": "k8s_00295_section_5_5483"
  },
  {
    "question": "What is HorizontalPodAutoscaler?",
    "answer": "H o r i z o n t a l P o d A u t o s c a l e r   i s   t h e   c o n f i g u r a t i o n   f o r   a   h o r i z o n t a l   p o d   a u t o s c a l e r ,   w h i c h   a u t o m a t i c a l l y   m a n a g e s   t h e   r e p l i c a   c o u n t   o f   a n y   r e s o u r c e   i m p l e m e n t i n g   t h e   s c a l e   s u b r e s o u r c e   b a s e d   o n   t h e   m e t r i c s   s p e c i f i e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/",
    "id": "k8s_00295_section_5_5484"
  },
  {
    "question": "What is PriorityClass?",
    "answer": "P r i o r i t y C l a s s   d e f i n e s   m a p p i n g   f r o m   a   p r i o r i t y   c l a s s   n a m e   t o   t h e   p r i o r i t y   i n t e g e r   v a l u e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/",
    "id": "k8s_00295_section_5_5485"
  },
  {
    "question": "What is DeviceTaintRule v1alpha3?",
    "answer": "D e v i c e T a i n t R u l e   a d d s   o n e   t a i n t   t o   a l l   d e v i c e s   w h i c h   m a t c h   t h e   s e l e c t o r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/",
    "id": "k8s_00295_section_5_5486"
  },
  {
    "question": "What is ResourceClaim?",
    "answer": "R e s o u r c e C l a i m   d e s c r i b e s   a   r e q u e s t   f o r   a c c e s s   t o   r e s o u r c e s   i n   t h e   c l u s t e r ,   f o r   u s e   b y   w o r k l o a d s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/",
    "id": "k8s_00295_section_5_5487"
  },
  {
    "question": "What is ResourceClaimTemplate?",
    "answer": "R e s o u r c e C l a i m T e m p l a t e   i s   u s e d   t o   p r o d u c e   R e s o u r c e C l a i m   o b j e c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/",
    "id": "k8s_00295_section_5_5488"
  },
  {
    "question": "What is ResourceSlice?",
    "answer": "R e s o u r c e S l i c e   r e p r e s e n t s   o n e   o r   m o r e   r e s o u r c e s   i n   a   p o o l   o f   s i m i l a r   r e s o u r c e s ,   m a n a g e d   b y   a   c o m m o n   d r i v e r .   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/",
    "id": "k8s_00295_section_5_5489"
  },
  {
    "question": "What is RoleBinding?",
    "answer": "RoleBindingRoleBinding references a role, but does not contain it.apiVersion: rbac.authorization.k8s.io/v1import \"k8s.io/api/rbac/v1\"RoleBindingRoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.apiVersion: rbac.authorization.k8s.io/v1kind: RoleBindingmetadata (ObjectMeta)Standard object's metadata.roleRef (RoleRef), requiredRoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable.RoleRef contains information that points to the role being usedroleRef.apiGroup (string), requiredAPIGroup is the group for the resource being referencedroleRef.kind (string), requiredKind is the type of resource being referencedroleRef.name (string), requiredName is the name of resource being referencedsubjects ([]Subject)Atomic: will be replaced during a mergeSubjects holds references to the objects the role applies to.Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.subjects.kind (string), requiredKind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.subjects.name (string), requiredName of the object being referenced.subjects.apiGroup (string)APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects.subjects.namespace (string)Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.RoleBindingListRoleBindingList is a collection of RoleBindingsapiVersion: rbac.authorization.k8s.io/v1kind: RoleBindingListmetadata (ListMeta)Standard object's metadata.items ([]RoleBinding), requiredItems is a list of RoleBindingsOperationsget read the specified RoleBindingHTTP RequestGET /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}Parametersname (in path): string, requiredname of the RoleBindingnamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (RoleBinding): OK401: Unauthorizedlist list or watch objects of kind RoleBindingHTTP RequestGET /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindingsParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): strin",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_qa_5490"
  },
  {
    "question": "How does RoleBinding work?",
    "answer": "RoleBindingRoleBinding references a role, but does not contain it.apiVersion: rbac.authorization.k8s.io/v1import \"k8s.io/api/rbac/v1\"RoleBindingRoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.apiVersion: rbac.authorization.k8s.io/v1kind: RoleBindingmetadata (ObjectMeta)Standard object's metadata.roleRef (RoleRef), requiredRoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable.RoleRef contains information that points to the role being usedroleRef.apiGroup (string), requiredAPIGroup is the group for the resource being referencedroleRef.kind (string), requiredKind is the type of resource being referencedroleRef.name (string), requiredName is the name of resource being referencedsubjects ([]Subject)Atomic: will be replaced during a mergeSubjects holds references to the objects the role applies to.Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.subjects.kind (string), requiredKind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.subjects.name (string), requiredName of the object being referenced.subjects.apiGroup (string)APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects.subjects.namespace (string)Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.RoleBindingListRoleBindingList is a collection of RoleBindingsapiVersion: rbac.authorization.k8s.io/v1kind: RoleBindingListmetadata (ListMeta)Standard object's metadata.items ([]RoleBinding), requiredItems is a list of RoleBindingsOperationsget read the specified RoleBindingHTTP RequestGET /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}Parametersname (in path): string, requiredname of the RoleBindingnamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (RoleBinding): OK401: Unauthorizedlist list or watch objects of kind RoleBindingHTTP RequestGET /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindingsParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): strin",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_qa_5491"
  },
  {
    "question": "When would you use RoleBinding?",
    "answer": "RoleBindingRoleBinding references a role, but does not contain it.apiVersion: rbac.authorization.k8s.io/v1import \"k8s.io/api/rbac/v1\"RoleBindingRoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.apiVersion: rbac.authorization.k8s.io/v1kind: RoleBindingmetadata (ObjectMeta)Standard object's metadata.roleRef (RoleRef), requiredRoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable.RoleRef contains information that points to the role being usedroleRef.apiGroup (string), requiredAPIGroup is the group for the resource being referencedroleRef.kind (string), requiredKind is the type of resource being referencedroleRef.name (string), requiredName is the name of resource being referencedsubjects ([]Subject)Atomic: will be replaced during a mergeSubjects holds references to the objects the role applies to.Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.subjects.kind (string), requiredKind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.subjects.name (string), requiredName of the object being referenced.subjects.apiGroup (string)APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects.subjects.namespace (string)Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.RoleBindingListRoleBindingList is a collection of RoleBindingsapiVersion: rbac.authorization.k8s.io/v1kind: RoleBindingListmetadata (ListMeta)Standard object's metadata.items ([]RoleBinding), requiredItems is a list of RoleBindingsOperationsget read the specified RoleBindingHTTP RequestGET /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}Parametersname (in path): string, requiredname of the RoleBindingnamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (RoleBinding): OK401: Unauthorizedlist list or watch objects of kind RoleBindingHTTP RequestGET /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindingsParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): strin",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_qa_5492"
  },
  {
    "question": "What are the benefits of RoleBinding?",
    "answer": "RoleBindingRoleBinding references a role, but does not contain it.apiVersion: rbac.authorization.k8s.io/v1import \"k8s.io/api/rbac/v1\"RoleBindingRoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.apiVersion: rbac.authorization.k8s.io/v1kind: RoleBindingmetadata (ObjectMeta)Standard object's metadata.roleRef (RoleRef), requiredRoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable.RoleRef contains information that points to the role being usedroleRef.apiGroup (string), requiredAPIGroup is the group for the resource being referencedroleRef.kind (string), requiredKind is the type of resource being referencedroleRef.name (string), requiredName is the name of resource being referencedsubjects ([]Subject)Atomic: will be replaced during a mergeSubjects holds references to the objects the role applies to.Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.subjects.kind (string), requiredKind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.subjects.name (string), requiredName of the object being referenced.subjects.apiGroup (string)APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects.subjects.namespace (string)Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.RoleBindingListRoleBindingList is a collection of RoleBindingsapiVersion: rbac.authorization.k8s.io/v1kind: RoleBindingListmetadata (ListMeta)Standard object's metadata.items ([]RoleBinding), requiredItems is a list of RoleBindingsOperationsget read the specified RoleBindingHTTP RequestGET /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}Parametersname (in path): string, requiredname of the RoleBindingnamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (RoleBinding): OK401: Unauthorizedlist list or watch objects of kind RoleBindingHTTP RequestGET /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindingsParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): strin",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_qa_5493"
  },
  {
    "question": "What is RoleBinding?",
    "answer": "a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / r b a c / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_1_5494"
  },
  {
    "question": "What is RoleBinding?",
    "answer": "R o l e B i n d i n g   r e f e r e n c e s   a   r o l e ,   b u t   d o e s   n o t   c o n t a i n   i t .   I t   c a n   r e f e r e n c e   a   R o l e   i n   t h e   s a m e   n a m e s p a c e   o r   a   C l u s t e r R o l e   i n   t h e   g l o b a l   n a m e s p a c e .   I t   a d d s   w h o   i n f o r m a t i o n   v i a   S u b j e c t s   a n d   n a m e s p a c e   i n f o r m a t i o n   b y   w h i c h   n a m e s p a c e   i t   e x i s t s   i n .   R o l e B i n d i n g s   i n   a   g i v e n   n a m e s p a c e   o n l y   h a v e   e f f e c t   i n   t h a t   n a m e s p a c e .   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   R o l e B i n d i n g m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . r o l e R e f   ( R o l e R e f ) ,   r e q u i r e d R o l e R e f   c a n   r e f e r e n c e   a   R o l e   i n   t h e   c u r r e n t   n a m e s p a c e   o r   a   C l u s t e r R o l e   i n   t h e   g l o b a l   n a m e s p a c e .   I f   t h e   R o l e R e f   c a n n o t   b e   r e s o l v e d ,   t h e   A u t h o r i z e r   m u s t   r e t u r n   a n   e r r o r .   T h i s   f i e l d   i s   i m m u t a b l e . R o l e R e f   c o n t a i n s   i n f o r m a t i o n   t h a t   p o i n t s   t o   t h e   r o l e   b e i n g   u s e d r o l e R e f . a p i G r o u p   ( s t r i n g ) ,   r e q u i r e d A P I G r o u p   i s   t h e   g r o u p   f o r   t h e   r e s o u r c e   b e i n g   r e f e r e n c e d r o l e R e f . k i n d   ( s t r i n g ) ,   r e q u i r e d K i n d   i s   t h e   t y p e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d r o l e R e f . n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   i s   t h e   n a m e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d s u b j e c t s   ( [ ] S u b j e c t ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e S u ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_2_5495"
  },
  {
    "question": "What is RoleBindingList?",
    "answer": "R o l e B i n d i n g L i s t   i s   a   c o l l e c t i o n   o f   R o l e B i n d i n g s   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   R o l e B i n d i n g L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . i t e m s   ( [ ] R o l e B i n d i n g ) ,   r e q u i r e d I t e m s   i s   a   l i s t   o f   R o l e B i n d i n g s   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   R o l e B i n d i n g L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   i t e m s   ( [ ] R o l e B i n d i n g ) ,   r e q u i r e d   I t e m s   i s   a   l i s t   o f   R o l e B i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_2_5496"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_4_5497"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R o l e B i n d i n g n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R o l e B i n d i n g   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_4_5498"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e B i n d i n g ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_4_5499"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_4_5500"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_4_5501"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e B i n d i n g L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_4_5502"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_4_5503"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_4_5504"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e B i n d i n g L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_4_5505"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_4_5506"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R o l e B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R o l e B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_4_5507"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e B i n d i n g ) :   O K   2 0 1   ( R o l e B i n d i n g ) :   C r e a t e d   2 0 2   ( R o l e B i n d i n g ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_4_5508"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_4_5509"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R o l e B i n d i n g n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R o l e B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R o l e B i n d i n g   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R o l e B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_4_5510"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e B i n d i n g ) :   O K   2 0 1   ( R o l e B i n d i n g ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_4_5511"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_4_5512"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R o l e B i n d i n g n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R o l e B i n d i n g   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_4_5513"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e B i n d i n g ) :   O K   2 0 1   ( R o l e B i n d i n g ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_4_5514"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_4_5515"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R o l e B i n d i n g n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R o l e B i n d i n g   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_4_5516"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_4_5517"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_4_5518"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_4_5519"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/role-binding-v1/",
    "id": "k8s_00296_section_4_5520"
  },
  {
    "question": "What is Set Up DRA in a Cluster?",
    "answer": "Set Up DRA in a ClusterFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)This page shows you how to configure dynamic resource allocation (DRA) in a Kubernetes cluster by enabling API groups and configuring classes of devices. These instructions are for cluster administrators.About DRAA Kubernetes feature that lets you request and share resources among Pods. These resources are often attached devices like hardware accelerators.With DRA, device drivers and cluster admins define device classes that are available to claim in workloads. Kubernetes allocates matching devices to specific claims and places the corresponding Pods on nodes that can access the allocated devices.Ensure that you're familiar with how DRA works and with DRA terminology like DeviceClasses, ResourceClaims, and ResourceClaimTemplates. For details, see Dynamic Resource Allocation (DRA).Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be version v1.34.To check the version, enter kubectl version.Directly or indirectly attach devices to your cluster. To avoid potential issues with drivers, wait until you set up the DRA feature for your cluster before you install drivers.Optional: enable legacy DRA API groupsDRA graduated to stable in Kubernetes 1.34 and is enabled by default. Some older DRA drivers or workloads might still need the v1beta1 API from Kubernetes 1.30 or v1beta2 from Kubernetes 1.32. If and only if support for those is desired, then enable the following API groups:* `resource.k8s.io/v1beta1` * `resource.k8s.io/v1beta2` For more information, see Enabling or disabling API groups.Verify that DRA is enabledTo verify that the cluster is configured correctly, try to list DeviceClasses:kubectl get deviceclasses If the component configuration was correct, the output is similar to the following:No resources found If DRA isn't correctly configured, the output of the preceding command is similar to the following:error: the server doesn't have a resource type \"deviceclasses\" Try the following troubleshooting steps:Reconfigure and restart the kube-apiserver component.If the complete .spec.resourceClaims field gets removed from Pods, or if Pods get scheduled without considering the ResourceClaims, then verify that the DynamicResourceAllocation feature gate is not turned off for kube-apiserver, kube-controller-manager, kube-scheduler or the kubelet.Install device driversAfter you enable DRA for your cluster, you can install the drivers for your attached devices. For instructions, check the documentation of your device owner or the project that maintains the d",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-resources/set-up-dra-cluster/",
    "id": "k8s_00297_qa_5521"
  },
  {
    "question": "How does Set Up DRA in a Cluster work?",
    "answer": "Set Up DRA in a ClusterFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)This page shows you how to configure dynamic resource allocation (DRA) in a Kubernetes cluster by enabling API groups and configuring classes of devices. These instructions are for cluster administrators.About DRAA Kubernetes feature that lets you request and share resources among Pods. These resources are often attached devices like hardware accelerators.With DRA, device drivers and cluster admins define device classes that are available to claim in workloads. Kubernetes allocates matching devices to specific claims and places the corresponding Pods on nodes that can access the allocated devices.Ensure that you're familiar with how DRA works and with DRA terminology like DeviceClasses, ResourceClaims, and ResourceClaimTemplates. For details, see Dynamic Resource Allocation (DRA).Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be version v1.34.To check the version, enter kubectl version.Directly or indirectly attach devices to your cluster. To avoid potential issues with drivers, wait until you set up the DRA feature for your cluster before you install drivers.Optional: enable legacy DRA API groupsDRA graduated to stable in Kubernetes 1.34 and is enabled by default. Some older DRA drivers or workloads might still need the v1beta1 API from Kubernetes 1.30 or v1beta2 from Kubernetes 1.32. If and only if support for those is desired, then enable the following API groups:* `resource.k8s.io/v1beta1` * `resource.k8s.io/v1beta2` For more information, see Enabling or disabling API groups.Verify that DRA is enabledTo verify that the cluster is configured correctly, try to list DeviceClasses:kubectl get deviceclasses If the component configuration was correct, the output is similar to the following:No resources found If DRA isn't correctly configured, the output of the preceding command is similar to the following:error: the server doesn't have a resource type \"deviceclasses\" Try the following troubleshooting steps:Reconfigure and restart the kube-apiserver component.If the complete .spec.resourceClaims field gets removed from Pods, or if Pods get scheduled without considering the ResourceClaims, then verify that the DynamicResourceAllocation feature gate is not turned off for kube-apiserver, kube-controller-manager, kube-scheduler or the kubelet.Install device driversAfter you enable DRA for your cluster, you can install the drivers for your attached devices. For instructions, check the documentation of your device owner or the project that maintains the d",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-resources/set-up-dra-cluster/",
    "id": "k8s_00297_qa_5522"
  },
  {
    "question": "When would you use Set Up DRA in a Cluster?",
    "answer": "Set Up DRA in a ClusterFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)This page shows you how to configure dynamic resource allocation (DRA) in a Kubernetes cluster by enabling API groups and configuring classes of devices. These instructions are for cluster administrators.About DRAA Kubernetes feature that lets you request and share resources among Pods. These resources are often attached devices like hardware accelerators.With DRA, device drivers and cluster admins define device classes that are available to claim in workloads. Kubernetes allocates matching devices to specific claims and places the corresponding Pods on nodes that can access the allocated devices.Ensure that you're familiar with how DRA works and with DRA terminology like DeviceClasses, ResourceClaims, and ResourceClaimTemplates. For details, see Dynamic Resource Allocation (DRA).Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be version v1.34.To check the version, enter kubectl version.Directly or indirectly attach devices to your cluster. To avoid potential issues with drivers, wait until you set up the DRA feature for your cluster before you install drivers.Optional: enable legacy DRA API groupsDRA graduated to stable in Kubernetes 1.34 and is enabled by default. Some older DRA drivers or workloads might still need the v1beta1 API from Kubernetes 1.30 or v1beta2 from Kubernetes 1.32. If and only if support for those is desired, then enable the following API groups:* `resource.k8s.io/v1beta1` * `resource.k8s.io/v1beta2` For more information, see Enabling or disabling API groups.Verify that DRA is enabledTo verify that the cluster is configured correctly, try to list DeviceClasses:kubectl get deviceclasses If the component configuration was correct, the output is similar to the following:No resources found If DRA isn't correctly configured, the output of the preceding command is similar to the following:error: the server doesn't have a resource type \"deviceclasses\" Try the following troubleshooting steps:Reconfigure and restart the kube-apiserver component.If the complete .spec.resourceClaims field gets removed from Pods, or if Pods get scheduled without considering the ResourceClaims, then verify that the DynamicResourceAllocation feature gate is not turned off for kube-apiserver, kube-controller-manager, kube-scheduler or the kubelet.Install device driversAfter you enable DRA for your cluster, you can install the drivers for your attached devices. For instructions, check the documentation of your device owner or the project that maintains the d",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-resources/set-up-dra-cluster/",
    "id": "k8s_00297_qa_5523"
  },
  {
    "question": "What are the benefits of Set Up DRA in a Cluster?",
    "answer": "Set Up DRA in a ClusterFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)This page shows you how to configure dynamic resource allocation (DRA) in a Kubernetes cluster by enabling API groups and configuring classes of devices. These instructions are for cluster administrators.About DRAA Kubernetes feature that lets you request and share resources among Pods. These resources are often attached devices like hardware accelerators.With DRA, device drivers and cluster admins define device classes that are available to claim in workloads. Kubernetes allocates matching devices to specific claims and places the corresponding Pods on nodes that can access the allocated devices.Ensure that you're familiar with how DRA works and with DRA terminology like DeviceClasses, ResourceClaims, and ResourceClaimTemplates. For details, see Dynamic Resource Allocation (DRA).Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be version v1.34.To check the version, enter kubectl version.Directly or indirectly attach devices to your cluster. To avoid potential issues with drivers, wait until you set up the DRA feature for your cluster before you install drivers.Optional: enable legacy DRA API groupsDRA graduated to stable in Kubernetes 1.34 and is enabled by default. Some older DRA drivers or workloads might still need the v1beta1 API from Kubernetes 1.30 or v1beta2 from Kubernetes 1.32. If and only if support for those is desired, then enable the following API groups:* `resource.k8s.io/v1beta1` * `resource.k8s.io/v1beta2` For more information, see Enabling or disabling API groups.Verify that DRA is enabledTo verify that the cluster is configured correctly, try to list DeviceClasses:kubectl get deviceclasses If the component configuration was correct, the output is similar to the following:No resources found If DRA isn't correctly configured, the output of the preceding command is similar to the following:error: the server doesn't have a resource type \"deviceclasses\" Try the following troubleshooting steps:Reconfigure and restart the kube-apiserver component.If the complete .spec.resourceClaims field gets removed from Pods, or if Pods get scheduled without considering the ResourceClaims, then verify that the DynamicResourceAllocation feature gate is not turned off for kube-apiserver, kube-controller-manager, kube-scheduler or the kubelet.Install device driversAfter you enable DRA for your cluster, you can install the drivers for your attached devices. For instructions, check the documentation of your device owner or the project that maintains the d",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-resources/set-up-dra-cluster/",
    "id": "k8s_00297_qa_5524"
  },
  {
    "question": "What is Set Up DRA in a Cluster?",
    "answer": "T h i s   p a g e   s h o w s   y o u   h o w   t o   c o n f i g u r e   d y n a m i c   r e s o u r c e   a l l o c a t i o n   ( D R A )   i n   a   K u b e r n e t e s   c l u s t e r   b y   e n a b l i n g   A P I   g r o u p s   a n d   c o n f i g u r i n g   c l a s s e s   o f   d e v i c e s .   T h e s e   i n s t r u c t i o n s   a r e   f o r   c l u s t e r   a d m i n i s t r a t o r s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-resources/set-up-dra-cluster/",
    "id": "k8s_00297_section_1_5525"
  },
  {
    "question": "What is About DRA?",
    "answer": "A   K u b e r n e t e s   f e a t u r e   t h a t   l e t s   y o u   r e q u e s t   a n d   s h a r e   r e s o u r c e s   a m o n g   P o d s .   T h e s e   r e s o u r c e s   a r e   o f t e n   a t t a c h e d   d e v i c e s   l i k e   h a r d w a r e   a c c e l e r a t o r s .   W i t h   D R A ,   d e v i c e   d r i v e r s   a n d   c l u s t e r   a d m i n s   d e f i n e   d e v i c e   c l a s s e s   t h a t   a r e   a v a i l a b l e   t o   c l a i m   i n   w o r k l o a d s .   K u b e r n e t e s   a l l o c a t e s   m a t c h i n g   d e v i c e s   t o   s p e c i f i c   c l a i m s   a n d   p l a c e s   t h e   c o r r e s p o n d i n g   P o d s   o n   n o d e s   t h a t   c a n   a c c e s s   t h e   a l l o c a t e d   d e v i c e s .   E n s u r e   t h a t   y o u ' r e   f a m i l i a r   w i t h   h o w   D R A   w o r k s   a n d   w i t h   D R A   t e r m i n o l o g y   l i k e   D e v i c e C l a s s e s ,   R e s o u r c e C l a i m s ,   a n d   R e s o u r c e C l a i m T e m p l a t e s .   F o r   d e t a i l s ,   s e e   D y n a m i c   R e s o u r c e   A l l o c a t i o n   ( D R A ) .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-resources/set-up-dra-cluster/",
    "id": "k8s_00297_section_2_5526"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   v e r s i o n   v 1 . 3 4 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   D i r e c t l y   o r   i n d i r ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-resources/set-up-dra-cluster/",
    "id": "k8s_00297_section_2_5527"
  },
  {
    "question": "What is Optional: enable legacy DRA API groups?",
    "answer": "D R A   g r a d u a t e d   t o   s t a b l e   i n   K u b e r n e t e s   1 . 3 4   a n d   i s   e n a b l e d   b y   d e f a u l t .   S o m e   o l d e r   D R A   d r i v e r s   o r   w o r k l o a d s   m i g h t   s t i l l   n e e d   t h e   v 1 b e t a 1   A P I   f r o m   K u b e r n e t e s   1 . 3 0   o r   v 1 b e t a 2   f r o m   K u b e r n e t e s   1 . 3 2 .   I f   a n d   o n l y   i f   s u p p o r t   f o r   t h o s e   i s   d e s i r e d ,   t h e n   e n a b l e   t h e   f o l l o w i n g   A P I   g r o u p s :   *   ` r e s o u r c e . k 8 s . i o / v 1 b e t a 1 `   *   ` r e s o u r c e . k 8 s . i o / v 1 b e t a 2 `   F o r   m o r e   i n f o r m a t i o n ,   s e e   E n a b l i n g   o r   d i s a b l i n g   A P I   g r o u p s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-resources/set-up-dra-cluster/",
    "id": "k8s_00297_section_2_5528"
  },
  {
    "question": "What is Verify that DRA is enabled?",
    "answer": "T o   v e r i f y   t h a t   t h e   c l u s t e r   i s   c o n f i g u r e d   c o r r e c t l y ,   t r y   t o   l i s t   D e v i c e C l a s s e s :   k u b e c t l   g e t   d e v i c e c l a s s e s   I f   t h e   c o m p o n e n t   c o n f i g u r a t i o n   w a s   c o r r e c t ,   t h e   o u t p u t   i s   s i m i l a r   t o   t h e   f o l l o w i n g :   N o   r e s o u r c e s   f o u n d   I f   D R A   i s n ' t   c o r r e c t l y   c o n f i g u r e d ,   t h e   o u t p u t   o f   t h e   p r e c e d i n g   c o m m a n d   i s   s i m i l a r   t o   t h e   f o l l o w i n g :   e r r o r :   t h e   s e r v e r   d o e s n ' t   h a v e   a   r e s o u r c e   t y p e   \" d e v i c e c l a s s e s \"   T r y   t h e   f o l l o w i n g   t r o u b l e s h o o t i n g   s t e p s :   R e c o n f i g u r e   a n d   r e s t a r t   t h e   k u b e - a p i s e r v e r   c o m p o n e n t . I f   t h e   c o m p l e t e   . s p e c . r e s o u r c e C l a i m s   f i e l d   g e t s   r e m o v e d   f r o m   P o d s ,   o r   i f   P o d s   g e t   s c h e d u l e d   w i t h o u t   c o n s i d e r i n g   t h e   R e s o u r c e C l a i m s ,   t h e n   v e r i f y   t h a t   t h e   D y n a m i c R e s o u r c e A l l o c a t i o n   f e a t u r e   g a t e   i s   n o t   t u r n e d   o f f   f o r   k u b e - a p i s e r v e r ,   k u b e - c o n t r o l l e r - m a n a g e r ,   k u b e - s c h e d u l e r   o r   t h e   k u b e l e t .   R e c o n f i g u r e   a n d   r e s t a r t   t h e   k u b e - a p i s e r v e r   c o m p o n e n t .   I f   t h e   c o m p l e t e   . s p e c . r e s o u r c e C l a i m s   f i e l d   g e t s   r e m o v e d   f r o m   P o d s ,   o r   i f   P o d s   g e t   s c h e d u l e d   w i t h o u t   c o n s i d e r i n g   t h e   R e s o u r c e C l a i m s ,   t h e n   v e r i f y   t h a t   t h e   D y n a m i c R e s o u r c e A l l o c a t i o n   f e a t u r e   g a t e   i s   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-resources/set-up-dra-cluster/",
    "id": "k8s_00297_section_2_5529"
  },
  {
    "question": "What is Install device drivers?",
    "answer": "A f t e r   y o u   e n a b l e   D R A   f o r   y o u r   c l u s t e r ,   y o u   c a n   i n s t a l l   t h e   d r i v e r s   f o r   y o u r   a t t a c h e d   d e v i c e s .   F o r   i n s t r u c t i o n s ,   c h e c k   t h e   d o c u m e n t a t i o n   o f   y o u r   d e v i c e   o w n e r   o r   t h e   p r o j e c t   t h a t   m a i n t a i n s   t h e   d e v i c e   d r i v e r s .   T h e   d r i v e r s   t h a t   y o u   i n s t a l l   m u s t   b e   c o m p a t i b l e   w i t h   D R A .   T o   v e r i f y   t h a t   y o u r   i n s t a l l e d   d r i v e r s   a r e   w o r k i n g   a s   e x p e c t e d ,   l i s t   R e s o u r c e S l i c e s   i n   y o u r   c l u s t e r :   k u b e c t l   g e t   r e s o u r c e s l i c e s   T h e   o u t p u t   i s   s i m i l a r   t o   t h e   f o l l o w i n g :   N A M E   N O D E   D R I V E R   P O O L   A G E   c l u s t e r - 1 - d e v i c e - p o o l - 1 - d r i v e r . e x a m p l e . c o m - l q x 8 x   c l u s t e r - 1 - n o d e - 1   d r i v e r . e x a m p l e . c o m   c l u s t e r - 1 - d e v i c e - p o o l - 1 - r 1 g c   7 s   c l u s t e r - 1 - d e v i c e - p o o l - 2 - d r i v e r . e x a m p l e . c o m - 2 9 t 7 b   c l u s t e r - 1 - n o d e - 2   d r i v e r . e x a m p l e . c o m   c l u s t e r - 1 - d e v i c e - p o o l - 2 - 4 4 6 z   8 s   T r y   t h e   f o l l o w i n g   t r o u b l e s h o o t i n g   s t e p s :   C h e c k   t h e   h e a l t h   o f   t h e   D R A   d r i v e r   a n d   l o o k   f o r   e r r o r   m e s s a g e s   a b o u t   p u b l i s h i n g   R e s o u r c e S l i c e s   i n   i t s   l o g   o u t p u t .   T h e   v e n d o r   o f   t h e   d r i v e r   m a y   h a v e   f u r t h e r   i n s t r u c t i o n s   a b o u t   i n s t a l l a t i o n   a n d   t r o u b l e s h o o t i n g .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-resources/set-up-dra-cluster/",
    "id": "k8s_00297_section_2_5530"
  },
  {
    "question": "What is Create DeviceClasses?",
    "answer": "Y o u   c a n   d e f i n e   c a t e g o r i e s   o f   d e v i c e s   t h a t   y o u r   a p p l i c a t i o n   o p e r a t o r s   c a n   c l a i m   i n   w o r k l o a d s   b y   c r e a t i n g   D e v i c e C l a s s e s .   S o m e   d e v i c e   d r i v e r   p r o v i d e r s   m i g h t   a l s o   i n s t r u c t   y o u   t o   c r e a t e   D e v i c e C l a s s e s   d u r i n g   d r i v e r   i n s t a l l a t i o n .   T h e   R e s o u r c e S l i c e s   t h a t   y o u r   d r i v e r   p u b l i s h e s   c o n t a i n   i n f o r m a t i o n   a b o u t   t h e   d e v i c e s   t h a t   t h e   d r i v e r   m a n a g e s ,   s u c h   a s   c a p a c i t y ,   m e t a d a t a ,   a n d   a t t r i b u t e s .   Y o u   c a n   u s e   C o m m o n   E x p r e s s i o n   L a n g u a g e   t o   f i l t e r   f o r   p r o p e r t i e s   i n   y o u r   D e v i c e C l a s s e s ,   w h i c h   c a n   m a k e   f i n d i n g   d e v i c e s   e a s i e r   f o r   y o u r   w o r k l o a d   o p e r a t o r s .   T o   f i n d   t h e   d e v i c e   p r o p e r t i e s   t h a t   y o u   c a n   s e l e c t   i n   D e v i c e C l a s s e s   b y   u s i n g   C E L   e x p r e s s i o n s ,   g e t   t h e   s p e c i f i c a t i o n   o f   a   R e s o u r c e S l i c e : k u b e c t l   g e t   r e s o u r c e s l i c e   < r e s o u r c e s l i c e - n a m e >   - o   y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h e   f o l l o w i n g : a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   R e s o u r c e S l i c e   #   l i n e s   o m i t t e d   f o r   c l a r i t y   s p e c :   d e v i c e s :   -   a t t r i b u t e s :   t y p e :   s t r i n g :   g p u   c a p a c i t y :   m e m o r y :   v a l u e :   6 4 G i   n a m e :   g p u - 0   -   a t t r i b u t e s :   t y p e :   s t r i n g :   g p u   c a p a c i t y :   m e m o r y :   v a l u e :   6 4 G i   n a m e :   g p u - 1 ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-resources/set-up-dra-cluster/",
    "id": "k8s_00297_section_2_5531"
  },
  {
    "question": "What is Clean up?",
    "answer": "T o   d e l e t e   t h e   D e v i c e C l a s s   t h a t   y o u   c r e a t e d   i n   t h i s   t a s k ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / d e v i c e c l a s s . y a m l",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-resources/set-up-dra-cluster/",
    "id": "k8s_00297_section_2_5532"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   D R A A l l o c a t e   D e v i c e s   t o   W o r k l o a d s   w i t h   D R A",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-resources/set-up-dra-cluster/",
    "id": "k8s_00297_section_2_5533"
  },
  {
    "question": "What is CSI Volume Cloning?",
    "answer": "CSI Volume CloningThis document describes the concept of cloning existing CSI Volumes in Kubernetes. Familiarity with Volumes is suggested.IntroductionThe CSI Volume Cloning feature adds support for specifying existing PVCs in the dataSource field to indicate a user would like to clone a Volume.A Clone is defined as a duplicate of an existing Kubernetes Volume that can be consumed as any standard Volume would be. The only difference is that upon provisioning, rather than creating a \"new\" empty Volume, the back end device creates an exact duplicate of the specified Volume.The implementation of cloning, from the perspective of the Kubernetes API, adds the ability to specify an existing PVC as a dataSource during new PVC creation. The source PVC must be bound and available (not in use).Users need to be aware of the following when using this feature:Cloning support (VolumePVCDataSource) is only available for CSI drivers.Cloning support is only available for dynamic provisioners.CSI drivers may or may not have implemented the volume cloning functionality.You can only clone a PVC when it exists in the same namespace as the destination PVC (source and destination must be in the same namespace).Cloning is supported with a different Storage Class.Destination volume can be the same or a different storage class as the source.Default storage class can be used and storageClassName omitted in the spec.Cloning can only be performed between two volumes that use the same VolumeMode setting (if you request a block mode volume, the source MUST also be block mode)ProvisioningClones are provisioned like any other PVC with the exception of adding a dataSource that references an existing PVC in the same namespace.apiVersion: v1 kind: PersistentVolumeClaim metadata: name: clone-of-pvc-1 namespace: myns spec: accessModes: - ReadWriteOnce storageClassName: cloning resources: requests: storage: 5Gi dataSource: kind: PersistentVolumeClaim name: pvc-1 Note:You must specify a capacity value for spec.resources.requests.storage, and the value you specify must be the same or larger than the capacity of the source volume.The result is a new PVC with the name clone-of-pvc-1 that has the exact same content as the specified source pvc-1.UsageUpon availability of the new PVC, the cloned PVC is consumed the same as other PVC. It's also expected at this point that the newly created PVC is an independent object. It can be consumed, cloned, snapshotted, or deleted independently and without consideration for it's original dataSource PVC. This also implies that the source is not linked in any way to the newly created clone, it may also be modified or deleted without affecting the newly created clone.",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-pvc-datasource/",
    "id": "k8s_00298_qa_5534"
  },
  {
    "question": "How does CSI Volume Cloning work?",
    "answer": "CSI Volume CloningThis document describes the concept of cloning existing CSI Volumes in Kubernetes. Familiarity with Volumes is suggested.IntroductionThe CSI Volume Cloning feature adds support for specifying existing PVCs in the dataSource field to indicate a user would like to clone a Volume.A Clone is defined as a duplicate of an existing Kubernetes Volume that can be consumed as any standard Volume would be. The only difference is that upon provisioning, rather than creating a \"new\" empty Volume, the back end device creates an exact duplicate of the specified Volume.The implementation of cloning, from the perspective of the Kubernetes API, adds the ability to specify an existing PVC as a dataSource during new PVC creation. The source PVC must be bound and available (not in use).Users need to be aware of the following when using this feature:Cloning support (VolumePVCDataSource) is only available for CSI drivers.Cloning support is only available for dynamic provisioners.CSI drivers may or may not have implemented the volume cloning functionality.You can only clone a PVC when it exists in the same namespace as the destination PVC (source and destination must be in the same namespace).Cloning is supported with a different Storage Class.Destination volume can be the same or a different storage class as the source.Default storage class can be used and storageClassName omitted in the spec.Cloning can only be performed between two volumes that use the same VolumeMode setting (if you request a block mode volume, the source MUST also be block mode)ProvisioningClones are provisioned like any other PVC with the exception of adding a dataSource that references an existing PVC in the same namespace.apiVersion: v1 kind: PersistentVolumeClaim metadata: name: clone-of-pvc-1 namespace: myns spec: accessModes: - ReadWriteOnce storageClassName: cloning resources: requests: storage: 5Gi dataSource: kind: PersistentVolumeClaim name: pvc-1 Note:You must specify a capacity value for spec.resources.requests.storage, and the value you specify must be the same or larger than the capacity of the source volume.The result is a new PVC with the name clone-of-pvc-1 that has the exact same content as the specified source pvc-1.UsageUpon availability of the new PVC, the cloned PVC is consumed the same as other PVC. It's also expected at this point that the newly created PVC is an independent object. It can be consumed, cloned, snapshotted, or deleted independently and without consideration for it's original dataSource PVC. This also implies that the source is not linked in any way to the newly created clone, it may also be modified or deleted without affecting the newly created clone.",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-pvc-datasource/",
    "id": "k8s_00298_qa_5535"
  },
  {
    "question": "When would you use CSI Volume Cloning?",
    "answer": "CSI Volume CloningThis document describes the concept of cloning existing CSI Volumes in Kubernetes. Familiarity with Volumes is suggested.IntroductionThe CSI Volume Cloning feature adds support for specifying existing PVCs in the dataSource field to indicate a user would like to clone a Volume.A Clone is defined as a duplicate of an existing Kubernetes Volume that can be consumed as any standard Volume would be. The only difference is that upon provisioning, rather than creating a \"new\" empty Volume, the back end device creates an exact duplicate of the specified Volume.The implementation of cloning, from the perspective of the Kubernetes API, adds the ability to specify an existing PVC as a dataSource during new PVC creation. The source PVC must be bound and available (not in use).Users need to be aware of the following when using this feature:Cloning support (VolumePVCDataSource) is only available for CSI drivers.Cloning support is only available for dynamic provisioners.CSI drivers may or may not have implemented the volume cloning functionality.You can only clone a PVC when it exists in the same namespace as the destination PVC (source and destination must be in the same namespace).Cloning is supported with a different Storage Class.Destination volume can be the same or a different storage class as the source.Default storage class can be used and storageClassName omitted in the spec.Cloning can only be performed between two volumes that use the same VolumeMode setting (if you request a block mode volume, the source MUST also be block mode)ProvisioningClones are provisioned like any other PVC with the exception of adding a dataSource that references an existing PVC in the same namespace.apiVersion: v1 kind: PersistentVolumeClaim metadata: name: clone-of-pvc-1 namespace: myns spec: accessModes: - ReadWriteOnce storageClassName: cloning resources: requests: storage: 5Gi dataSource: kind: PersistentVolumeClaim name: pvc-1 Note:You must specify a capacity value for spec.resources.requests.storage, and the value you specify must be the same or larger than the capacity of the source volume.The result is a new PVC with the name clone-of-pvc-1 that has the exact same content as the specified source pvc-1.UsageUpon availability of the new PVC, the cloned PVC is consumed the same as other PVC. It's also expected at this point that the newly created PVC is an independent object. It can be consumed, cloned, snapshotted, or deleted independently and without consideration for it's original dataSource PVC. This also implies that the source is not linked in any way to the newly created clone, it may also be modified or deleted without affecting the newly created clone.",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-pvc-datasource/",
    "id": "k8s_00298_qa_5536"
  },
  {
    "question": "What are the benefits of CSI Volume Cloning?",
    "answer": "CSI Volume CloningThis document describes the concept of cloning existing CSI Volumes in Kubernetes. Familiarity with Volumes is suggested.IntroductionThe CSI Volume Cloning feature adds support for specifying existing PVCs in the dataSource field to indicate a user would like to clone a Volume.A Clone is defined as a duplicate of an existing Kubernetes Volume that can be consumed as any standard Volume would be. The only difference is that upon provisioning, rather than creating a \"new\" empty Volume, the back end device creates an exact duplicate of the specified Volume.The implementation of cloning, from the perspective of the Kubernetes API, adds the ability to specify an existing PVC as a dataSource during new PVC creation. The source PVC must be bound and available (not in use).Users need to be aware of the following when using this feature:Cloning support (VolumePVCDataSource) is only available for CSI drivers.Cloning support is only available for dynamic provisioners.CSI drivers may or may not have implemented the volume cloning functionality.You can only clone a PVC when it exists in the same namespace as the destination PVC (source and destination must be in the same namespace).Cloning is supported with a different Storage Class.Destination volume can be the same or a different storage class as the source.Default storage class can be used and storageClassName omitted in the spec.Cloning can only be performed between two volumes that use the same VolumeMode setting (if you request a block mode volume, the source MUST also be block mode)ProvisioningClones are provisioned like any other PVC with the exception of adding a dataSource that references an existing PVC in the same namespace.apiVersion: v1 kind: PersistentVolumeClaim metadata: name: clone-of-pvc-1 namespace: myns spec: accessModes: - ReadWriteOnce storageClassName: cloning resources: requests: storage: 5Gi dataSource: kind: PersistentVolumeClaim name: pvc-1 Note:You must specify a capacity value for spec.resources.requests.storage, and the value you specify must be the same or larger than the capacity of the source volume.The result is a new PVC with the name clone-of-pvc-1 that has the exact same content as the specified source pvc-1.UsageUpon availability of the new PVC, the cloned PVC is consumed the same as other PVC. It's also expected at this point that the newly created PVC is an independent object. It can be consumed, cloned, snapshotted, or deleted independently and without consideration for it's original dataSource PVC. This also implies that the source is not linked in any way to the newly created clone, it may also be modified or deleted without affecting the newly created clone.",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-pvc-datasource/",
    "id": "k8s_00298_qa_5537"
  },
  {
    "question": "What is CSI Volume Cloning?",
    "answer": "T h i s   d o c u m e n t   d e s c r i b e s   t h e   c o n c e p t   o f   c l o n i n g   e x i s t i n g   C S I   V o l u m e s   i n   K u b e r n e t e s .   F a m i l i a r i t y   w i t h   V o l u m e s   i s   s u g g e s t e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-pvc-datasource/",
    "id": "k8s_00298_section_1_5538"
  },
  {
    "question": "What is Introduction?",
    "answer": "T h e   C S I   V o l u m e   C l o n i n g   f e a t u r e   a d d s   s u p p o r t   f o r   s p e c i f y i n g   e x i s t i n g   P V C s   i n   t h e   d a t a S o u r c e   f i e l d   t o   i n d i c a t e   a   u s e r   w o u l d   l i k e   t o   c l o n e   a   V o l u m e .   A   C l o n e   i s   d e f i n e d   a s   a   d u p l i c a t e   o f   a n   e x i s t i n g   K u b e r n e t e s   V o l u m e   t h a t   c a n   b e   c o n s u m e d   a s   a n y   s t a n d a r d   V o l u m e   w o u l d   b e .   T h e   o n l y   d i f f e r e n c e   i s   t h a t   u p o n   p r o v i s i o n i n g ,   r a t h e r   t h a n   c r e a t i n g   a   \" n e w \"   e m p t y   V o l u m e ,   t h e   b a c k   e n d   d e v i c e   c r e a t e s   a n   e x a c t   d u p l i c a t e   o f   t h e   s p e c i f i e d   V o l u m e .   T h e   i m p l e m e n t a t i o n   o f   c l o n i n g ,   f r o m   t h e   p e r s p e c t i v e   o f   t h e   K u b e r n e t e s   A P I ,   a d d s   t h e   a b i l i t y   t o   s p e c i f y   a n   e x i s t i n g   P V C   a s   a   d a t a S o u r c e   d u r i n g   n e w   P V C   c r e a t i o n .   T h e   s o u r c e   P V C   m u s t   b e   b o u n d   a n d   a v a i l a b l e   ( n o t   i n   u s e ) .   U s e r s   n e e d   t o   b e   a w a r e   o f   t h e   f o l l o w i n g   w h e n   u s i n g   t h i s   f e a t u r e :   C l o n i n g   s u p p o r t   ( V o l u m e P V C D a t a S o u r c e )   i s   o n l y   a v a i l a b l e   f o r   C S I   d r i v e r s . C l o n i n g   s u p p o r t   i s   o n l y   a v a i l a b l e   f o r   d y n a m i c   p r o v i s i o n e r s . C S I   d r i v e r s   m a y   o r   m a y   n o t   h a v e   i m p l e m e n t e d   t h e   v o l u m e   c l o n i n g   f u n c t i o n a l i t y . Y o u   c a n   o n l y   c l o n e   a   P V C   w h e n   i t   e x i s t s   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   d e s t i n a t i o n   ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-pvc-datasource/",
    "id": "k8s_00298_section_2_5539"
  },
  {
    "question": "What is Provisioning?",
    "answer": "C l o n e s   a r e   p r o v i s i o n e d   l i k e   a n y   o t h e r   P V C   w i t h   t h e   e x c e p t i o n   o f   a d d i n g   a   d a t a S o u r c e   t h a t   r e f e r e n c e s   a n   e x i s t i n g   P V C   i n   t h e   s a m e   n a m e s p a c e .   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   c l o n e - o f - p v c - 1   n a m e s p a c e :   m y n s   s p e c :   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   s t o r a g e C l a s s N a m e :   c l o n i n g   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   5 G i   d a t a S o u r c e :   k i n d :   P e r s i s t e n t V o l u m e C l a i m   n a m e :   p v c - 1",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-pvc-datasource/",
    "id": "k8s_00298_section_2_5540"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   r e s u l t   i s   a   n e w   P V C   w i t h   t h e   n a m e   c l o n e - o f - p v c - 1   t h a t   h a s   t h e   e x a c t   s a m e   c o n t e n t   a s   t h e   s p e c i f i e d   s o u r c e   p v c - 1 .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-pvc-datasource/",
    "id": "k8s_00298_section_4_5541"
  },
  {
    "question": "What is Usage?",
    "answer": "U p o n   a v a i l a b i l i t y   o f   t h e   n e w   P V C ,   t h e   c l o n e d   P V C   i s   c o n s u m e d   t h e   s a m e   a s   o t h e r   P V C .   I t ' s   a l s o   e x p e c t e d   a t   t h i s   p o i n t   t h a t   t h e   n e w l y   c r e a t e d   P V C   i s   a n   i n d e p e n d e n t   o b j e c t .   I t   c a n   b e   c o n s u m e d ,   c l o n e d ,   s n a p s h o t t e d ,   o r   d e l e t e d   i n d e p e n d e n t l y   a n d   w i t h o u t   c o n s i d e r a t i o n   f o r   i t ' s   o r i g i n a l   d a t a S o u r c e   P V C .   T h i s   a l s o   i m p l i e s   t h a t   t h e   s o u r c e   i s   n o t   l i n k e d   i n   a n y   w a y   t o   t h e   n e w l y   c r e a t e d   c l o n e ,   i t   m a y   a l s o   b e   m o d i f i e d   o r   d e l e t e d   w i t h o u t   a f f e c t i n g   t h e   n e w l y   c r e a t e d   c l o n e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-pvc-datasource/",
    "id": "k8s_00298_section_2_5542"
  },
  {
    "question": "What is ObjectFieldSelector?",
    "answer": "ObjectFieldSelectorObjectFieldSelector selects an APIVersioned field of an object.import \"k8s.io/api/core/v1\"ObjectFieldSelector selects an APIVersioned field of an object.fieldPath (string), requiredPath of the field to select in the specified API version.apiVersion (string)Version of the schema the FieldPath is written in terms of, defaults to \"v1\".This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/object-field-selector/",
    "id": "k8s_00299_qa_5543"
  },
  {
    "question": "How does ObjectFieldSelector work?",
    "answer": "ObjectFieldSelectorObjectFieldSelector selects an APIVersioned field of an object.import \"k8s.io/api/core/v1\"ObjectFieldSelector selects an APIVersioned field of an object.fieldPath (string), requiredPath of the field to select in the specified API version.apiVersion (string)Version of the schema the FieldPath is written in terms of, defaults to \"v1\".This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/object-field-selector/",
    "id": "k8s_00299_qa_5544"
  },
  {
    "question": "When would you use ObjectFieldSelector?",
    "answer": "ObjectFieldSelectorObjectFieldSelector selects an APIVersioned field of an object.import \"k8s.io/api/core/v1\"ObjectFieldSelector selects an APIVersioned field of an object.fieldPath (string), requiredPath of the field to select in the specified API version.apiVersion (string)Version of the schema the FieldPath is written in terms of, defaults to \"v1\".This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/object-field-selector/",
    "id": "k8s_00299_qa_5545"
  },
  {
    "question": "What are the benefits of ObjectFieldSelector?",
    "answer": "ObjectFieldSelectorObjectFieldSelector selects an APIVersioned field of an object.import \"k8s.io/api/core/v1\"ObjectFieldSelector selects an APIVersioned field of an object.fieldPath (string), requiredPath of the field to select in the specified API version.apiVersion (string)Version of the schema the FieldPath is written in terms of, defaults to \"v1\".This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/object-field-selector/",
    "id": "k8s_00299_qa_5546"
  },
  {
    "question": "What is ObjectFieldSelector?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"   O b j e c t F i e l d S e l e c t o r   s e l e c t s   a n   A P I V e r s i o n e d   f i e l d   o f   a n   o b j e c t .   f i e l d P a t h   ( s t r i n g ) ,   r e q u i r e d P a t h   o f   t h e   f i e l d   t o   s e l e c t   i n   t h e   s p e c i f i e d   A P I   v e r s i o n . a p i V e r s i o n   ( s t r i n g ) V e r s i o n   o f   t h e   s c h e m a   t h e   F i e l d P a t h   i s   w r i t t e n   i n   t e r m s   o f ,   d e f a u l t s   t o   \" v 1 \" .   f i e l d P a t h   ( s t r i n g ) ,   r e q u i r e d   P a t h   o f   t h e   f i e l d   t o   s e l e c t   i n   t h e   s p e c i f i e d   A P I   v e r s i o n .   a p i V e r s i o n   ( s t r i n g )   V e r s i o n   o f   t h e   s c h e m a   t h e   F i e l d P a t h   i s   w r i t t e n   i n   t e r m s   o f ,   d e f a u l t s   t o   \" v 1 \" .   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/object-field-selector/",
    "id": "k8s_00299_section_1_5547"
  },
  {
    "question": "What is kubeadm alpha?",
    "answer": "kubeadm alphaCaution:kubeadm alpha provides a preview of a set of features made available for gathering",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-alpha/",
    "id": "k8s_00300_qa_5548"
  },
  {
    "question": "How does kubeadm alpha work?",
    "answer": "kubeadm alphaCaution:kubeadm alpha provides a preview of a set of features made available for gathering",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-alpha/",
    "id": "k8s_00300_qa_5549"
  },
  {
    "question": "When would you use kubeadm alpha?",
    "answer": "kubeadm alphaCaution:kubeadm alpha provides a preview of a set of features made available for gathering",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-alpha/",
    "id": "k8s_00300_qa_5550"
  },
  {
    "question": "What are the benefits of kubeadm alpha?",
    "answer": "kubeadm alphaCaution:kubeadm alpha provides a preview of a set of features made available for gathering",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-alpha/",
    "id": "k8s_00300_qa_5551"
  },
  {
    "question": "What is Caution:?",
    "answer": "C u r r e n t l y   t h e r e   a r e   n o   e x p e r i m e n t a l   c o m m a n d s   u n d e r   k u b e a d m   a l p h a .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-alpha/",
    "id": "k8s_00300_section_4_5552"
  },
  {
    "question": "What is What's next?",
    "answer": "k u b e a d m   i n i t   t o   b o o t s t r a p   a   K u b e r n e t e s   c o n t r o l - p l a n e   n o d e k u b e a d m   j o i n   t o   c o n n e c t   a   n o d e   t o   t h e   c l u s t e r k u b e a d m   r e s e t   t o   r e v e r t   a n y   c h a n g e s   m a d e   t o   t h i s   h o s t   b y   k u b e a d m   i n i t   o r   k u b e a d m   j o i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-alpha/",
    "id": "k8s_00300_section_2_5553"
  },
  {
    "question": "What is Hardening Guide - Scheduler Configuration?",
    "answer": "Hardening Guide - Scheduler ConfigurationInformation about how to make the Kubernetes scheduler more secure.The Kubernetes scheduler is one of the critical components of the control plane.This document covers how to improve the security posture of the Scheduler.A misconfigured scheduler can have security implications. Such a scheduler can target specific nodes and evict the workloads or applications that are sharing the node and its resources. This can aid an attacker with a Yo-Yo attack: an attack on a vulnerable autoscaler.kube-scheduler configurationScheduler authentication & authorization command line optionsWhen setting up authentication configuration, it should be made sure that kube-scheduler's authentication remains consistent with kube-api-server's authentication. If any request has missing authentication headers, the authentication should happen through the kube-api-server allowing all authentication to be consistent in the cluster.authentication-kubeconfig: Make sure to provide a proper kubeconfig so that the scheduler can retrieve authentication configuration options from the API Server. This kubeconfig file should be protected with strict file permissions.authentication-tolerate-lookup-failure: Set this to false to make sure the scheduler always looks up its authentication configuration from the API server.authentication-skip-lookup: Set this to false to make sure the scheduler always looks up its authentication configuration from the API server.authorization-always-allow-paths: These paths should respond with data that is appropriate for anonymous authorization. Defaults to /healthz,/readyz,/livez.profiling: Set to false to disable the profiling endpoints which are provide debugging information but which should not be enabled on production clusters as they present a risk of denial of service or information leakage. The --profiling argument is deprecated and can now be provided through the KubeScheduler DebuggingConfiguration. Profiling can be disabled through the kube-scheduler config by setting enableProfiling to false.requestheader-client-ca-file: Avoid passing this argument.Scheduler networking command line optionsbind-address: In most cases, the kube-scheduler does not need to be externally accessible. Setting the bind address to localhost is a secure practice.permit-address-sharing: Set this to false to disable connection sharing through SO_REUSEADDR. SO_REUSEADDR can lead to reuse of terminated connections that are in TIME_WAIT state.permit-port-sharing: Default false. Use the default unless you are confident you understand the security implications.Scheduler TLS command line optionstls-cipher-suites: Always provide a list of preferred cipher suites. This ensures encryption never happens with insecure cipher suites.Scheduling configurations for custom schedulersWhen using custom schedulers based on the Kubernetes scheduling code, cluster administrators need to be careful with plugins that use the queueSort, prefilter, filter, ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/hardening-guide/scheduler/",
    "id": "k8s_00301_qa_5554"
  },
  {
    "question": "How does Hardening Guide - Scheduler Configuration work?",
    "answer": "Hardening Guide - Scheduler ConfigurationInformation about how to make the Kubernetes scheduler more secure.The Kubernetes scheduler is one of the critical components of the control plane.This document covers how to improve the security posture of the Scheduler.A misconfigured scheduler can have security implications. Such a scheduler can target specific nodes and evict the workloads or applications that are sharing the node and its resources. This can aid an attacker with a Yo-Yo attack: an attack on a vulnerable autoscaler.kube-scheduler configurationScheduler authentication & authorization command line optionsWhen setting up authentication configuration, it should be made sure that kube-scheduler's authentication remains consistent with kube-api-server's authentication. If any request has missing authentication headers, the authentication should happen through the kube-api-server allowing all authentication to be consistent in the cluster.authentication-kubeconfig: Make sure to provide a proper kubeconfig so that the scheduler can retrieve authentication configuration options from the API Server. This kubeconfig file should be protected with strict file permissions.authentication-tolerate-lookup-failure: Set this to false to make sure the scheduler always looks up its authentication configuration from the API server.authentication-skip-lookup: Set this to false to make sure the scheduler always looks up its authentication configuration from the API server.authorization-always-allow-paths: These paths should respond with data that is appropriate for anonymous authorization. Defaults to /healthz,/readyz,/livez.profiling: Set to false to disable the profiling endpoints which are provide debugging information but which should not be enabled on production clusters as they present a risk of denial of service or information leakage. The --profiling argument is deprecated and can now be provided through the KubeScheduler DebuggingConfiguration. Profiling can be disabled through the kube-scheduler config by setting enableProfiling to false.requestheader-client-ca-file: Avoid passing this argument.Scheduler networking command line optionsbind-address: In most cases, the kube-scheduler does not need to be externally accessible. Setting the bind address to localhost is a secure practice.permit-address-sharing: Set this to false to disable connection sharing through SO_REUSEADDR. SO_REUSEADDR can lead to reuse of terminated connections that are in TIME_WAIT state.permit-port-sharing: Default false. Use the default unless you are confident you understand the security implications.Scheduler TLS command line optionstls-cipher-suites: Always provide a list of preferred cipher suites. This ensures encryption never happens with insecure cipher suites.Scheduling configurations for custom schedulersWhen using custom schedulers based on the Kubernetes scheduling code, cluster administrators need to be careful with plugins that use the queueSort, prefilter, filter, ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/hardening-guide/scheduler/",
    "id": "k8s_00301_qa_5555"
  },
  {
    "question": "When would you use Hardening Guide - Scheduler Configuration?",
    "answer": "Hardening Guide - Scheduler ConfigurationInformation about how to make the Kubernetes scheduler more secure.The Kubernetes scheduler is one of the critical components of the control plane.This document covers how to improve the security posture of the Scheduler.A misconfigured scheduler can have security implications. Such a scheduler can target specific nodes and evict the workloads or applications that are sharing the node and its resources. This can aid an attacker with a Yo-Yo attack: an attack on a vulnerable autoscaler.kube-scheduler configurationScheduler authentication & authorization command line optionsWhen setting up authentication configuration, it should be made sure that kube-scheduler's authentication remains consistent with kube-api-server's authentication. If any request has missing authentication headers, the authentication should happen through the kube-api-server allowing all authentication to be consistent in the cluster.authentication-kubeconfig: Make sure to provide a proper kubeconfig so that the scheduler can retrieve authentication configuration options from the API Server. This kubeconfig file should be protected with strict file permissions.authentication-tolerate-lookup-failure: Set this to false to make sure the scheduler always looks up its authentication configuration from the API server.authentication-skip-lookup: Set this to false to make sure the scheduler always looks up its authentication configuration from the API server.authorization-always-allow-paths: These paths should respond with data that is appropriate for anonymous authorization. Defaults to /healthz,/readyz,/livez.profiling: Set to false to disable the profiling endpoints which are provide debugging information but which should not be enabled on production clusters as they present a risk of denial of service or information leakage. The --profiling argument is deprecated and can now be provided through the KubeScheduler DebuggingConfiguration. Profiling can be disabled through the kube-scheduler config by setting enableProfiling to false.requestheader-client-ca-file: Avoid passing this argument.Scheduler networking command line optionsbind-address: In most cases, the kube-scheduler does not need to be externally accessible. Setting the bind address to localhost is a secure practice.permit-address-sharing: Set this to false to disable connection sharing through SO_REUSEADDR. SO_REUSEADDR can lead to reuse of terminated connections that are in TIME_WAIT state.permit-port-sharing: Default false. Use the default unless you are confident you understand the security implications.Scheduler TLS command line optionstls-cipher-suites: Always provide a list of preferred cipher suites. This ensures encryption never happens with insecure cipher suites.Scheduling configurations for custom schedulersWhen using custom schedulers based on the Kubernetes scheduling code, cluster administrators need to be careful with plugins that use the queueSort, prefilter, filter, ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/hardening-guide/scheduler/",
    "id": "k8s_00301_qa_5556"
  },
  {
    "question": "What are the benefits of Hardening Guide - Scheduler Configuration?",
    "answer": "Hardening Guide - Scheduler ConfigurationInformation about how to make the Kubernetes scheduler more secure.The Kubernetes scheduler is one of the critical components of the control plane.This document covers how to improve the security posture of the Scheduler.A misconfigured scheduler can have security implications. Such a scheduler can target specific nodes and evict the workloads or applications that are sharing the node and its resources. This can aid an attacker with a Yo-Yo attack: an attack on a vulnerable autoscaler.kube-scheduler configurationScheduler authentication & authorization command line optionsWhen setting up authentication configuration, it should be made sure that kube-scheduler's authentication remains consistent with kube-api-server's authentication. If any request has missing authentication headers, the authentication should happen through the kube-api-server allowing all authentication to be consistent in the cluster.authentication-kubeconfig: Make sure to provide a proper kubeconfig so that the scheduler can retrieve authentication configuration options from the API Server. This kubeconfig file should be protected with strict file permissions.authentication-tolerate-lookup-failure: Set this to false to make sure the scheduler always looks up its authentication configuration from the API server.authentication-skip-lookup: Set this to false to make sure the scheduler always looks up its authentication configuration from the API server.authorization-always-allow-paths: These paths should respond with data that is appropriate for anonymous authorization. Defaults to /healthz,/readyz,/livez.profiling: Set to false to disable the profiling endpoints which are provide debugging information but which should not be enabled on production clusters as they present a risk of denial of service or information leakage. The --profiling argument is deprecated and can now be provided through the KubeScheduler DebuggingConfiguration. Profiling can be disabled through the kube-scheduler config by setting enableProfiling to false.requestheader-client-ca-file: Avoid passing this argument.Scheduler networking command line optionsbind-address: In most cases, the kube-scheduler does not need to be externally accessible. Setting the bind address to localhost is a secure practice.permit-address-sharing: Set this to false to disable connection sharing through SO_REUSEADDR. SO_REUSEADDR can lead to reuse of terminated connections that are in TIME_WAIT state.permit-port-sharing: Default false. Use the default unless you are confident you understand the security implications.Scheduler TLS command line optionstls-cipher-suites: Always provide a list of preferred cipher suites. This ensures encryption never happens with insecure cipher suites.Scheduling configurations for custom schedulersWhen using custom schedulers based on the Kubernetes scheduling code, cluster administrators need to be careful with plugins that use the queueSort, prefilter, filter, ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/hardening-guide/scheduler/",
    "id": "k8s_00301_qa_5557"
  },
  {
    "question": "What is Hardening Guide - Scheduler Configuration?",
    "answer": "T h e   K u b e r n e t e s   s c h e d u l e r   i s   o n e   o f   t h e   c r i t i c a l   c o m p o n e n t s   o f   t h e   c o n t r o l   p l a n e .   T h i s   d o c u m e n t   c o v e r s   h o w   t o   i m p r o v e   t h e   s e c u r i t y   p o s t u r e   o f   t h e   S c h e d u l e r .   A   m i s c o n f i g u r e d   s c h e d u l e r   c a n   h a v e   s e c u r i t y   i m p l i c a t i o n s .   S u c h   a   s c h e d u l e r   c a n   t a r g e t   s p e c i f i c   n o d e s   a n d   e v i c t   t h e   w o r k l o a d s   o r   a p p l i c a t i o n s   t h a t   a r e   s h a r i n g   t h e   n o d e   a n d   i t s   r e s o u r c e s .   T h i s   c a n   a i d   a n   a t t a c k e r   w i t h   a   Y o - Y o   a t t a c k :   a n   a t t a c k   o n   a   v u l n e r a b l e   a u t o s c a l e r .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/hardening-guide/scheduler/",
    "id": "k8s_00301_section_1_5558"
  },
  {
    "question": "What is Scheduler authentication & authorization command line options?",
    "answer": "W h e n   s e t t i n g   u p   a u t h e n t i c a t i o n   c o n f i g u r a t i o n ,   i t   s h o u l d   b e   m a d e   s u r e   t h a t   k u b e - s c h e d u l e r ' s   a u t h e n t i c a t i o n   r e m a i n s   c o n s i s t e n t   w i t h   k u b e - a p i - s e r v e r ' s   a u t h e n t i c a t i o n .   I f   a n y   r e q u e s t   h a s   m i s s i n g   a u t h e n t i c a t i o n   h e a d e r s ,   t h e   a u t h e n t i c a t i o n   s h o u l d   h a p p e n   t h r o u g h   t h e   k u b e - a p i - s e r v e r   a l l o w i n g   a l l   a u t h e n t i c a t i o n   t o   b e   c o n s i s t e n t   i n   t h e   c l u s t e r .   a u t h e n t i c a t i o n - k u b e c o n f i g :   M a k e   s u r e   t o   p r o v i d e   a   p r o p e r   k u b e c o n f i g   s o   t h a t   t h e   s c h e d u l e r   c a n   r e t r i e v e   a u t h e n t i c a t i o n   c o n f i g u r a t i o n   o p t i o n s   f r o m   t h e   A P I   S e r v e r .   T h i s   k u b e c o n f i g   f i l e   s h o u l d   b e   p r o t e c t e d   w i t h   s t r i c t   f i l e   p e r m i s s i o n s . a u t h e n t i c a t i o n - t o l e r a t e - l o o k u p - f a i l u r e :   S e t   t h i s   t o   f a l s e   t o   m a k e   s u r e   t h e   s c h e d u l e r   a l w a y s   l o o k s   u p   i t s   a u t h e n t i c a t i o n   c o n f i g u r a t i o n   f r o m   t h e   A P I   s e r v e r . a u t h e n t i c a t i o n - s k i p - l o o k u p :   S e t   t h i s   t o   f a l s e   t o   m a k e   s u r e   t h e   s c h e d u l e r   a l w a y s   l o o k s   u p   i t s   a u t h e n t i c a t i o n   c o n f i g u r a t i o n   f r o m   t h e   A P I   s e r v e r . a u t h o r i z a t i o n - a l w a y s - a l l o w - p a t h s :   T h e s e   p a t h s   s h o u l d   r e s p o n d   w i t h   d a t a   t h a t   i s   a p p r o p r i a t e   f o r   a n o n y m o u s   a u t h o r i z a t i o n .   D e f a u l t s   t o   / h e a ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/hardening-guide/scheduler/",
    "id": "k8s_00301_section_3_5559"
  },
  {
    "question": "What is Scheduler networking command line options?",
    "answer": "b i n d - a d d r e s s :   I n   m o s t   c a s e s ,   t h e   k u b e - s c h e d u l e r   d o e s   n o t   n e e d   t o   b e   e x t e r n a l l y   a c c e s s i b l e .   S e t t i n g   t h e   b i n d   a d d r e s s   t o   l o c a l h o s t   i s   a   s e c u r e   p r a c t i c e . p e r m i t - a d d r e s s - s h a r i n g :   S e t   t h i s   t o   f a l s e   t o   d i s a b l e   c o n n e c t i o n   s h a r i n g   t h r o u g h   S O _ R E U S E A D D R .   S O _ R E U S E A D D R   c a n   l e a d   t o   r e u s e   o f   t e r m i n a t e d   c o n n e c t i o n s   t h a t   a r e   i n   T I M E _ W A I T   s t a t e . p e r m i t - p o r t - s h a r i n g :   D e f a u l t   f a l s e .   U s e   t h e   d e f a u l t   u n l e s s   y o u   a r e   c o n f i d e n t   y o u   u n d e r s t a n d   t h e   s e c u r i t y   i m p l i c a t i o n s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/hardening-guide/scheduler/",
    "id": "k8s_00301_section_3_5560"
  },
  {
    "question": "What is Scheduler TLS command line options?",
    "answer": "t l s - c i p h e r - s u i t e s :   A l w a y s   p r o v i d e   a   l i s t   o f   p r e f e r r e d   c i p h e r   s u i t e s .   T h i s   e n s u r e s   e n c r y p t i o n   n e v e r   h a p p e n s   w i t h   i n s e c u r e   c i p h e r   s u i t e s .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/hardening-guide/scheduler/",
    "id": "k8s_00301_section_3_5561"
  },
  {
    "question": "What is Scheduling configurations for custom schedulers?",
    "answer": "W h e n   u s i n g   c u s t o m   s c h e d u l e r s   b a s e d   o n   t h e   K u b e r n e t e s   s c h e d u l i n g   c o d e ,   c l u s t e r   a d m i n i s t r a t o r s   n e e d   t o   b e   c a r e f u l   w i t h   p l u g i n s   t h a t   u s e   t h e   q u e u e S o r t ,   p r e f i l t e r ,   f i l t e r ,   o r   p e r m i t   e x t e n s i o n   p o i n t s .   T h e s e   e x t e n s i o n   p o i n t s   c o n t r o l   v a r i o u s   s t a g e s   o f   a   s c h e d u l i n g   p r o c e s s ,   a n d   t h e   w r o n g   c o n f i g u r a t i o n   c a n   i m p a c t   t h e   k u b e - s c h e d u l e r ' s   b e h a v i o r   i n   y o u r   c l u s t e r .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/hardening-guide/scheduler/",
    "id": "k8s_00301_section_2_5562"
  },
  {
    "question": "What is Key considerations?",
    "answer": "E x a c t l y   o n e   p l u g i n   t h a t   u s e s   t h e   q u e u e S o r t   e x t e n s i o n   p o i n t   c a n   b e   e n a b l e d   a t   a   t i m e .   A n y   p l u g i n s   t h a t   u s e   q u e u e S o r t   s h o u l d   b e   s c r u t i n i z e d . P l u g i n s   t h a t   i m p l e m e n t   t h e   p r e f i l t e r   o r   f i l t e r   e x t e n s i o n   p o i n t   c a n   p o t e n t i a l l y   m a r k   a l l   n o d e s   a s   u n s c h e d u l a b l e .   T h i s   c a n   b r i n g   s c h e d u l i n g   o f   n e w   p o d s   t o   a   h a l t . P l u g i n s   t h a t   i m p l e m e n t   t h e   p e r m i t   e x t e n s i o n   p o i n t   c a n   p r e v e n t   o r   d e l a y   t h e   b i n d i n g   o f   a   P o d .   S u c h   p l u g i n s   s h o u l d   b e   t h o r o u g h l y   r e v i e w e d   b y   t h e   c l u s t e r   a d m i n i s t r a t o r .   W h e n   u s i n g   a   p l u g i n   t h a t   i s   n o t   o n e   o f   t h e   d e f a u l t   p l u g i n s ,   c o n s i d e r   d i s a b l i n g   t h e   q u e u e S o r t ,   f i l t e r   a n d   p e r m i t   e x t e n s i o n   p o i n t s   a s   f o l l o w s :   a p i V e r s i o n :   k u b e s c h e d u l e r . c o n f i g . k 8 s . i o / v 1   k i n d :   K u b e S c h e d u l e r C o n f i g u r a t i o n   p r o f i l e s :   -   s c h e d u l e r N a m e :   m y - s c h e d u l e r   p l u g i n s :   #   D i s a b l e   s p e c i f i c   p l u g i n s   f o r   d i f f e r e n t   e x t e n s i o n   p o i n t s   #   Y o u   c a n   d i s a b l e   a l l   p l u g i n s   f o r   a n   e x t e n s i o n   p o i n t   u s i n g   \" * \"   q u e u e S o r t :   d i s a b l e d :   -   n a m e :   \" * \"   #   D i s a b l e   a l l   q u e u e S o r t   p l u g i n s   #   -   n a m e :   \" P r i o r i t y S o r t \"   #   D i s a b l e   s p e c i f i c   q u e u e S o r t   p l u g i n   f i l t e r :   d i s a b l e d :   -   n a m ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/hardening-guide/scheduler/",
    "id": "k8s_00301_section_3_5563"
  },
  {
    "question": "What is Disallow labeling nodes?",
    "answer": "A   c l u s t e r   a d m i n i s t r a t o r   s h o u l d   e n s u r e   t h a t   c l u s t e r   u s e r s   c a n n o t   l a b e l   t h e   n o d e s .   A   m a l i c i o u s   a c t o r   c a n   u s e   n o d e S e l e c t o r   t o   s c h e d u l e   w o r k l o a d s   o n   n o d e s   w h e r e   t h o s e   w o r k l o a d s   s h o u l d   n o t   b e   p r e s e n t .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/security/hardening-guide/scheduler/",
    "id": "k8s_00301_section_2_5564"
  },
  {
    "question": "What is Configuring Redis using a ConfigMap?",
    "answer": "Configuring Redis using a ConfigMapThis page provides a real world example of how to configure Redis using a ConfigMap and builds upon the Configure a Pod to Use a ConfigMap task.ObjectivesCreate a ConfigMap with Redis configuration valuesCreate a Redis Pod that mounts and uses the created ConfigMapVerify that the configuration was correctly applied.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.The example shown on this page works with kubectl 1.14 and above.Understand Configure a Pod to Use a ConfigMap.Real World Example: Configuring Redis using a ConfigMapFollow the steps below to configure a Redis cache using data stored in a ConfigMap.First create a ConfigMap with an empty configuration block:cat <<EOF >./example-redis-config.yaml apiVersion: v1 kind: ConfigMap metadata: name: example-redis-config data: redis-config: \"\" EOF Apply the ConfigMap created above, along with a Redis pod manifest:kubectl apply -f example-redis-config.yaml kubectl apply -f https://raw.githubusercontent.com/kubernetes/website/main/content/en/examples/pods/config/redis-pod.yaml Examine the contents of the Redis pod manifest and note the following:A volume named config is created by spec.volumes[1]The key and path under spec.volumes[1].configMap.items[0] exposes the redis-config key from the example-redis-config ConfigMap as a file named redis.conf on the config volume.The config volume is then mounted at /redis-master by spec.containers[0].volumeMounts[1].This has the net effect of exposing the data in data.redis-config from the example-redis-config ConfigMap above as /redis-master/redis.conf inside the Pod.pods/config/redis-pod.yaml apiVersion: v1 kind: Pod metadata: name: redis spec: containers: - name: redis image: redis:8.0.2 command: - redis-server - \"/redis-master/redis.conf\" env: - name: MASTER value: \"true\" ports: - containerPort: 6379 resources: limits: cpu: \"0.1\" volumeMounts: - mountPath: /redis-master-data name: data - mountPath: /redis-master name: config volumes: - name: data emptyDir: {} - name: config configMap: name: example-redis-config items: - key: redis-config path: redis.conf Examine the created objects:kubectl get pod/redis configmap/example-redis-config You should see the following output:NAME READY STATUS RESTARTS AGE pod/redis 1/1 Running 0 8s NAME DATA AGE configmap/example-redis-config 1 14s Recall that we left redis-config key in the example-redis-config ConfigMap blank:kubectl describe configmap/example-redis-config You should see an empty redis-config key:Name: example-redis-config Namespace: default Labels: <",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/configure-redis-using-configmap/",
    "id": "k8s_00302_qa_5565"
  },
  {
    "question": "How does Configuring Redis using a ConfigMap work?",
    "answer": "Configuring Redis using a ConfigMapThis page provides a real world example of how to configure Redis using a ConfigMap and builds upon the Configure a Pod to Use a ConfigMap task.ObjectivesCreate a ConfigMap with Redis configuration valuesCreate a Redis Pod that mounts and uses the created ConfigMapVerify that the configuration was correctly applied.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.The example shown on this page works with kubectl 1.14 and above.Understand Configure a Pod to Use a ConfigMap.Real World Example: Configuring Redis using a ConfigMapFollow the steps below to configure a Redis cache using data stored in a ConfigMap.First create a ConfigMap with an empty configuration block:cat <<EOF >./example-redis-config.yaml apiVersion: v1 kind: ConfigMap metadata: name: example-redis-config data: redis-config: \"\" EOF Apply the ConfigMap created above, along with a Redis pod manifest:kubectl apply -f example-redis-config.yaml kubectl apply -f https://raw.githubusercontent.com/kubernetes/website/main/content/en/examples/pods/config/redis-pod.yaml Examine the contents of the Redis pod manifest and note the following:A volume named config is created by spec.volumes[1]The key and path under spec.volumes[1].configMap.items[0] exposes the redis-config key from the example-redis-config ConfigMap as a file named redis.conf on the config volume.The config volume is then mounted at /redis-master by spec.containers[0].volumeMounts[1].This has the net effect of exposing the data in data.redis-config from the example-redis-config ConfigMap above as /redis-master/redis.conf inside the Pod.pods/config/redis-pod.yaml apiVersion: v1 kind: Pod metadata: name: redis spec: containers: - name: redis image: redis:8.0.2 command: - redis-server - \"/redis-master/redis.conf\" env: - name: MASTER value: \"true\" ports: - containerPort: 6379 resources: limits: cpu: \"0.1\" volumeMounts: - mountPath: /redis-master-data name: data - mountPath: /redis-master name: config volumes: - name: data emptyDir: {} - name: config configMap: name: example-redis-config items: - key: redis-config path: redis.conf Examine the created objects:kubectl get pod/redis configmap/example-redis-config You should see the following output:NAME READY STATUS RESTARTS AGE pod/redis 1/1 Running 0 8s NAME DATA AGE configmap/example-redis-config 1 14s Recall that we left redis-config key in the example-redis-config ConfigMap blank:kubectl describe configmap/example-redis-config You should see an empty redis-config key:Name: example-redis-config Namespace: default Labels: <",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/configure-redis-using-configmap/",
    "id": "k8s_00302_qa_5566"
  },
  {
    "question": "When would you use Configuring Redis using a ConfigMap?",
    "answer": "Configuring Redis using a ConfigMapThis page provides a real world example of how to configure Redis using a ConfigMap and builds upon the Configure a Pod to Use a ConfigMap task.ObjectivesCreate a ConfigMap with Redis configuration valuesCreate a Redis Pod that mounts and uses the created ConfigMapVerify that the configuration was correctly applied.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.The example shown on this page works with kubectl 1.14 and above.Understand Configure a Pod to Use a ConfigMap.Real World Example: Configuring Redis using a ConfigMapFollow the steps below to configure a Redis cache using data stored in a ConfigMap.First create a ConfigMap with an empty configuration block:cat <<EOF >./example-redis-config.yaml apiVersion: v1 kind: ConfigMap metadata: name: example-redis-config data: redis-config: \"\" EOF Apply the ConfigMap created above, along with a Redis pod manifest:kubectl apply -f example-redis-config.yaml kubectl apply -f https://raw.githubusercontent.com/kubernetes/website/main/content/en/examples/pods/config/redis-pod.yaml Examine the contents of the Redis pod manifest and note the following:A volume named config is created by spec.volumes[1]The key and path under spec.volumes[1].configMap.items[0] exposes the redis-config key from the example-redis-config ConfigMap as a file named redis.conf on the config volume.The config volume is then mounted at /redis-master by spec.containers[0].volumeMounts[1].This has the net effect of exposing the data in data.redis-config from the example-redis-config ConfigMap above as /redis-master/redis.conf inside the Pod.pods/config/redis-pod.yaml apiVersion: v1 kind: Pod metadata: name: redis spec: containers: - name: redis image: redis:8.0.2 command: - redis-server - \"/redis-master/redis.conf\" env: - name: MASTER value: \"true\" ports: - containerPort: 6379 resources: limits: cpu: \"0.1\" volumeMounts: - mountPath: /redis-master-data name: data - mountPath: /redis-master name: config volumes: - name: data emptyDir: {} - name: config configMap: name: example-redis-config items: - key: redis-config path: redis.conf Examine the created objects:kubectl get pod/redis configmap/example-redis-config You should see the following output:NAME READY STATUS RESTARTS AGE pod/redis 1/1 Running 0 8s NAME DATA AGE configmap/example-redis-config 1 14s Recall that we left redis-config key in the example-redis-config ConfigMap blank:kubectl describe configmap/example-redis-config You should see an empty redis-config key:Name: example-redis-config Namespace: default Labels: <",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/configure-redis-using-configmap/",
    "id": "k8s_00302_qa_5567"
  },
  {
    "question": "What are the benefits of Configuring Redis using a ConfigMap?",
    "answer": "Configuring Redis using a ConfigMapThis page provides a real world example of how to configure Redis using a ConfigMap and builds upon the Configure a Pod to Use a ConfigMap task.ObjectivesCreate a ConfigMap with Redis configuration valuesCreate a Redis Pod that mounts and uses the created ConfigMapVerify that the configuration was correctly applied.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.The example shown on this page works with kubectl 1.14 and above.Understand Configure a Pod to Use a ConfigMap.Real World Example: Configuring Redis using a ConfigMapFollow the steps below to configure a Redis cache using data stored in a ConfigMap.First create a ConfigMap with an empty configuration block:cat <<EOF >./example-redis-config.yaml apiVersion: v1 kind: ConfigMap metadata: name: example-redis-config data: redis-config: \"\" EOF Apply the ConfigMap created above, along with a Redis pod manifest:kubectl apply -f example-redis-config.yaml kubectl apply -f https://raw.githubusercontent.com/kubernetes/website/main/content/en/examples/pods/config/redis-pod.yaml Examine the contents of the Redis pod manifest and note the following:A volume named config is created by spec.volumes[1]The key and path under spec.volumes[1].configMap.items[0] exposes the redis-config key from the example-redis-config ConfigMap as a file named redis.conf on the config volume.The config volume is then mounted at /redis-master by spec.containers[0].volumeMounts[1].This has the net effect of exposing the data in data.redis-config from the example-redis-config ConfigMap above as /redis-master/redis.conf inside the Pod.pods/config/redis-pod.yaml apiVersion: v1 kind: Pod metadata: name: redis spec: containers: - name: redis image: redis:8.0.2 command: - redis-server - \"/redis-master/redis.conf\" env: - name: MASTER value: \"true\" ports: - containerPort: 6379 resources: limits: cpu: \"0.1\" volumeMounts: - mountPath: /redis-master-data name: data - mountPath: /redis-master name: config volumes: - name: data emptyDir: {} - name: config configMap: name: example-redis-config items: - key: redis-config path: redis.conf Examine the created objects:kubectl get pod/redis configmap/example-redis-config You should see the following output:NAME READY STATUS RESTARTS AGE pod/redis 1/1 Running 0 8s NAME DATA AGE configmap/example-redis-config 1 14s Recall that we left redis-config key in the example-redis-config ConfigMap blank:kubectl describe configmap/example-redis-config You should see an empty redis-config key:Name: example-redis-config Namespace: default Labels: <",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/configure-redis-using-configmap/",
    "id": "k8s_00302_qa_5568"
  },
  {
    "question": "What is Configuring Redis using a ConfigMap?",
    "answer": "T h i s   p a g e   p r o v i d e s   a   r e a l   w o r l d   e x a m p l e   o f   h o w   t o   c o n f i g u r e   R e d i s   u s i n g   a   C o n f i g M a p   a n d   b u i l d s   u p o n   t h e   C o n f i g u r e   a   P o d   t o   U s e   a   C o n f i g M a p   t a s k .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/configure-redis-using-configmap/",
    "id": "k8s_00302_section_1_5569"
  },
  {
    "question": "What is Objectives?",
    "answer": "C r e a t e   a   C o n f i g M a p   w i t h   R e d i s   c o n f i g u r a t i o n   v a l u e s C r e a t e   a   R e d i s   P o d   t h a t   m o u n t s   a n d   u s e s   t h e   c r e a t e d   C o n f i g M a p V e r i f y   t h a t   t h e   c o n f i g u r a t i o n   w a s   c o r r e c t l y   a p p l i e d .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/configure-redis-using-configmap/",
    "id": "k8s_00302_section_2_5570"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   T h e   e x a m p l e   s h o w n   o n   t h i s   p a g e   w o r k s   w i t h   k u b e c t l   1 . 1 4   a n d   a b o ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/configure-redis-using-configmap/",
    "id": "k8s_00302_section_2_5571"
  },
  {
    "question": "What is Real World Example: Configuring Redis using a ConfigMap?",
    "answer": "F o l l o w   t h e   s t e p s   b e l o w   t o   c o n f i g u r e   a   R e d i s   c a c h e   u s i n g   d a t a   s t o r e d   i n   a   C o n f i g M a p .   F i r s t   c r e a t e   a   C o n f i g M a p   w i t h   a n   e m p t y   c o n f i g u r a t i o n   b l o c k :   c a t   < < E O F   > . / e x a m p l e - r e d i s - c o n f i g . y a m l   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   e x a m p l e - r e d i s - c o n f i g   d a t a :   r e d i s - c o n f i g :   \" \"   E O F   A p p l y   t h e   C o n f i g M a p   c r e a t e d   a b o v e ,   a l o n g   w i t h   a   R e d i s   p o d   m a n i f e s t :   k u b e c t l   a p p l y   - f   e x a m p l e - r e d i s - c o n f i g . y a m l   k u b e c t l   a p p l y   - f   h t t p s : / / r a w . g i t h u b u s e r c o n t e n t . c o m / k u b e r n e t e s / w e b s i t e / m a i n / c o n t e n t / e n / e x a m p l e s / p o d s / c o n f i g / r e d i s - p o d . y a m l   E x a m i n e   t h e   c o n t e n t s   o f   t h e   R e d i s   p o d   m a n i f e s t   a n d   n o t e   t h e   f o l l o w i n g :   A   v o l u m e   n a m e d   c o n f i g   i s   c r e a t e d   b y   s p e c . v o l u m e s [ 1 ] T h e   k e y   a n d   p a t h   u n d e r   s p e c . v o l u m e s [ 1 ] . c o n f i g M a p . i t e m s [ 0 ]   e x p o s e s   t h e   r e d i s - c o n f i g   k e y   f r o m   t h e   e x a m p l e - r e d i s - c o n f i g   C o n f i g M a p   a s   a   f i l e   n a m e d   r e d i s . c o n f   o n   t h e   c o n f i g   v o l u m e . T h e   c o n f i g   v o l u m e   i s   t h e n   m o u n t e d   a t   / r e d i s - m a s t e r   b y   s p e c . c o n t a i n e r s [ 0 ] . v o l u m e M o u n t s [ 1 ] .   T h i s   h a s   t h e   n e t   e f f e c t   o f   e x p o s i n g   t h e   d a t a   i n   d a t a . r e d i s - c o n f i g   f r o m   t h e   e x a m p l e - r e d i s - c o n f i g   C o n f i g ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/configure-redis-using-configmap/",
    "id": "k8s_00302_section_2_5572"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   C o n f i g M a p s . F o l l o w   a n   e x a m p l e   o f   U p d a t i n g   c o n f i g u r a t i o n   v i a   a   C o n f i g M a p .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/configure-redis-using-configmap/",
    "id": "k8s_00302_section_2_5573"
  },
  {
    "question": "What is kubectl create priorityclass?",
    "answer": "kubectl create priorityclassSynopsisCreate a priority class with the specified name, value, globalDefault and description.kubectl create priorityclass NAME --value=VALUE --global-default=BOOL [--dry-run=server|client|none] Examples # Create a priority class named high-priority kubectl create priorityclass high-priority --value=1000 --description=\"high priority\" # Create a priority class named default-priority that is considered as the global default priority kubectl create priorityclass default-priority --value=1000 --global-default=true --description=\"default priority\" # Create a priority class named high-priority that cannot preempt pods with lower priority kubectl create priorityclass high-priority --value=1000 --description=\"high priority\" --preemption-policy=\"Never\" Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--description stringdescription is an arbitrary string that usually provides guidelines on when this priority class should be used.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--global-defaultglobal-default specifies whether this PriorityClass should be considered as the default priority.-h, --helphelp for priorityclass-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--preemption-policy string Default: \"PreemptLowerPriority\"preemption-policy is the policy for preempting pods with lower priority.--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validatio",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_priorityclass/",
    "id": "k8s_00303_qa_5574"
  },
  {
    "question": "How does kubectl create priorityclass work?",
    "answer": "kubectl create priorityclassSynopsisCreate a priority class with the specified name, value, globalDefault and description.kubectl create priorityclass NAME --value=VALUE --global-default=BOOL [--dry-run=server|client|none] Examples # Create a priority class named high-priority kubectl create priorityclass high-priority --value=1000 --description=\"high priority\" # Create a priority class named default-priority that is considered as the global default priority kubectl create priorityclass default-priority --value=1000 --global-default=true --description=\"default priority\" # Create a priority class named high-priority that cannot preempt pods with lower priority kubectl create priorityclass high-priority --value=1000 --description=\"high priority\" --preemption-policy=\"Never\" Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--description stringdescription is an arbitrary string that usually provides guidelines on when this priority class should be used.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--global-defaultglobal-default specifies whether this PriorityClass should be considered as the default priority.-h, --helphelp for priorityclass-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--preemption-policy string Default: \"PreemptLowerPriority\"preemption-policy is the policy for preempting pods with lower priority.--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validatio",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_priorityclass/",
    "id": "k8s_00303_qa_5575"
  },
  {
    "question": "When would you use kubectl create priorityclass?",
    "answer": "kubectl create priorityclassSynopsisCreate a priority class with the specified name, value, globalDefault and description.kubectl create priorityclass NAME --value=VALUE --global-default=BOOL [--dry-run=server|client|none] Examples # Create a priority class named high-priority kubectl create priorityclass high-priority --value=1000 --description=\"high priority\" # Create a priority class named default-priority that is considered as the global default priority kubectl create priorityclass default-priority --value=1000 --global-default=true --description=\"default priority\" # Create a priority class named high-priority that cannot preempt pods with lower priority kubectl create priorityclass high-priority --value=1000 --description=\"high priority\" --preemption-policy=\"Never\" Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--description stringdescription is an arbitrary string that usually provides guidelines on when this priority class should be used.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--global-defaultglobal-default specifies whether this PriorityClass should be considered as the default priority.-h, --helphelp for priorityclass-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--preemption-policy string Default: \"PreemptLowerPriority\"preemption-policy is the policy for preempting pods with lower priority.--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validatio",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_priorityclass/",
    "id": "k8s_00303_qa_5576"
  },
  {
    "question": "What are the benefits of kubectl create priorityclass?",
    "answer": "kubectl create priorityclassSynopsisCreate a priority class with the specified name, value, globalDefault and description.kubectl create priorityclass NAME --value=VALUE --global-default=BOOL [--dry-run=server|client|none] Examples # Create a priority class named high-priority kubectl create priorityclass high-priority --value=1000 --description=\"high priority\" # Create a priority class named default-priority that is considered as the global default priority kubectl create priorityclass default-priority --value=1000 --global-default=true --description=\"default priority\" # Create a priority class named high-priority that cannot preempt pods with lower priority kubectl create priorityclass high-priority --value=1000 --description=\"high priority\" --preemption-policy=\"Never\" Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--description stringdescription is an arbitrary string that usually provides guidelines on when this priority class should be used.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--global-defaultglobal-default specifies whether this PriorityClass should be considered as the default priority.-h, --helphelp for priorityclass-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--preemption-policy string Default: \"PreemptLowerPriority\"preemption-policy is the policy for preempting pods with lower priority.--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validatio",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_priorityclass/",
    "id": "k8s_00303_qa_5577"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   p r i o r i t y   c l a s s   w i t h   t h e   s p e c i f i e d   n a m e ,   v a l u e ,   g l o b a l D e f a u l t   a n d   d e s c r i p t i o n .   k u b e c t l   c r e a t e   p r i o r i t y c l a s s   N A M E   - - v a l u e = V A L U E   - - g l o b a l - d e f a u l t = B O O L   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_priorityclass/",
    "id": "k8s_00303_section_2_5578"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   p r i o r i t y   c l a s s   n a m e d   h i g h - p r i o r i t y   k u b e c t l   c r e a t e   p r i o r i t y c l a s s   h i g h - p r i o r i t y   - - v a l u e = 1 0 0 0   - - d e s c r i p t i o n = \" h i g h   p r i o r i t y \"   #   C r e a t e   a   p r i o r i t y   c l a s s   n a m e d   d e f a u l t - p r i o r i t y   t h a t   i s   c o n s i d e r e d   a s   t h e   g l o b a l   d e f a u l t   p r i o r i t y   k u b e c t l   c r e a t e   p r i o r i t y c l a s s   d e f a u l t - p r i o r i t y   - - v a l u e = 1 0 0 0   - - g l o b a l - d e f a u l t = t r u e   - - d e s c r i p t i o n = \" d e f a u l t   p r i o r i t y \"   #   C r e a t e   a   p r i o r i t y   c l a s s   n a m e d   h i g h - p r i o r i t y   t h a t   c a n n o t   p r e e m p t   p o d s   w i t h   l o w e r   p r i o r i t y   k u b e c t l   c r e a t e   p r i o r i t y c l a s s   h i g h - p r i o r i t y   - - v a l u e = 1 0 0 0   - - d e s c r i p t i o n = \" h i g h   p r i o r i t y \"   - - p r e e m p t i o n - p o l i c y = \" N e v e r \"",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_priorityclass/",
    "id": "k8s_00303_section_2_5579"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   d e s c r i p t i o n   i s   a n   a r b i t r a r y   s t r i n g   t h a t   u s u a l l y   p r o v i d e s   g u i d e l i n e s   o n   w h e n   t h i s   p r i o r i t y   c l a s s   s h o u l d   b e   u s e d .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   g l o b a l - d e f a u l t   s p e c i f i e s   w h e t h e r   t h i s   P r i o r i t y C l a s s   s h o u l d   b e   c o n s i d e r e d   a s   t h e   d e f a u l t   p r i o r i t y .   h e l p   f o r   p r i o r i t y c l a s s   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   p r e e m p t i o n - p o l i c y   i s   t h e   p o l i c y   f o r   p r e e m p t i n g   p o d s   w i t h   l o w e r   p r i o r i t y .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_priorityclass/",
    "id": "k8s_00303_section_2_5580"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_priorityclass/",
    "id": "k8s_00303_section_2_5581"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_priorityclass/",
    "id": "k8s_00303_section_2_5582"
  },
  {
    "question": "What is kubectl rollout undo?",
    "answer": "kubectl rollout undoSynopsisRoll back to a previous rollout.kubectl rollout undo (TYPE NAME | TYPE/NAME) [flags] Examples # Roll back to the previous deployment kubectl rollout undo deployment/abc # Roll back to daemonset revision 3 kubectl rollout undo daemonset/abc --to-revision=3 # Roll back to the previous deployment with dry-run kubectl rollout undo --dry-run=server deployment/abc Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for undo-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--to-revision intThe revision to rollback to. Default to 0 (last revision).Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_undo/",
    "id": "k8s_00304_qa_5583"
  },
  {
    "question": "How does kubectl rollout undo work?",
    "answer": "kubectl rollout undoSynopsisRoll back to a previous rollout.kubectl rollout undo (TYPE NAME | TYPE/NAME) [flags] Examples # Roll back to the previous deployment kubectl rollout undo deployment/abc # Roll back to daemonset revision 3 kubectl rollout undo daemonset/abc --to-revision=3 # Roll back to the previous deployment with dry-run kubectl rollout undo --dry-run=server deployment/abc Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for undo-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--to-revision intThe revision to rollback to. Default to 0 (last revision).Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_undo/",
    "id": "k8s_00304_qa_5584"
  },
  {
    "question": "When would you use kubectl rollout undo?",
    "answer": "kubectl rollout undoSynopsisRoll back to a previous rollout.kubectl rollout undo (TYPE NAME | TYPE/NAME) [flags] Examples # Roll back to the previous deployment kubectl rollout undo deployment/abc # Roll back to daemonset revision 3 kubectl rollout undo daemonset/abc --to-revision=3 # Roll back to the previous deployment with dry-run kubectl rollout undo --dry-run=server deployment/abc Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for undo-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--to-revision intThe revision to rollback to. Default to 0 (last revision).Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_undo/",
    "id": "k8s_00304_qa_5585"
  },
  {
    "question": "What are the benefits of kubectl rollout undo?",
    "answer": "kubectl rollout undoSynopsisRoll back to a previous rollout.kubectl rollout undo (TYPE NAME | TYPE/NAME) [flags] Examples # Roll back to the previous deployment kubectl rollout undo deployment/abc # Roll back to daemonset revision 3 kubectl rollout undo daemonset/abc --to-revision=3 # Roll back to the previous deployment with dry-run kubectl rollout undo --dry-run=server deployment/abc Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for undo-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--to-revision intThe revision to rollback to. Default to 0 (last revision).Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_undo/",
    "id": "k8s_00304_qa_5586"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R o l l   b a c k   t o   a   p r e v i o u s   r o l l o u t .   k u b e c t l   r o l l o u t   u n d o   ( T Y P E   N A M E   |   T Y P E / N A M E )   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_undo/",
    "id": "k8s_00304_section_2_5587"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R o l l   b a c k   t o   t h e   p r e v i o u s   d e p l o y m e n t   k u b e c t l   r o l l o u t   u n d o   d e p l o y m e n t / a b c   #   R o l l   b a c k   t o   d a e m o n s e t   r e v i s i o n   3   k u b e c t l   r o l l o u t   u n d o   d a e m o n s e t / a b c   - - t o - r e v i s i o n = 3   #   R o l l   b a c k   t o   t h e   p r e v i o u s   d e p l o y m e n t   w i t h   d r y - r u n   k u b e c t l   r o l l o u t   u n d o   - - d r y - r u n = s e r v e r   d e p l o y m e n t / a b c",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_undo/",
    "id": "k8s_00304_section_2_5588"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   u n d o   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_undo/",
    "id": "k8s_00304_section_2_5589"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_undo/",
    "id": "k8s_00304_section_2_5590"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   r o l l o u t   -   M a n a g e   t h e   r o l l o u t   o f   a   r e s o u r c e   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_undo/",
    "id": "k8s_00304_section_2_5591"
  },
  {
    "question": "What is Node Autoscaling?",
    "answer": "Node AutoscalingAutomatically provision and consolidate the Nodes in your cluster to adapt to demand and optimize cost.In order to run workloads in your cluster, you need Nodes. Nodes in your cluster can be autoscaled - dynamically provisioned, or consolidated to provide needed capacity while optimizing cost. Autoscaling is performed by Node autoscalers.Node provisioningIf there are Pods in a cluster that can't be scheduled on existing Nodes, new Nodes can be automatically added to the cluster—provisioned—to accommodate the Pods. This is especially useful if the number of Pods changes over time, for example as a result of combining horizontal workload with Node autoscaling.Autoscalers provision the Nodes by creating and deleting cloud provider resources backing them. Most commonly, the resources backing the Nodes are Virtual Machines.The main goal of provisioning is to make all Pods schedulable. This goal is not always attainable because of various limitations, including reaching configured provisioning limits, provisioning configuration not being compatible with a particular set of pods, or the lack of cloud provider capacity. While provisioning, Node autoscalers often try to achieve additional goals (for example minimizing the cost of the provisioned Nodes or balancing the number of Nodes between failure domains).There are two main inputs to a Node autoscaler when determining Nodes to provision—Pod scheduling constraints, and Node constraints imposed by autoscaler configuration.Autoscaler configuration may also include other Node provisioning triggers (for example the number of Nodes falling below a configured minimum limit).Note:Provisioning was formerly known as scale-up in Cluster Autoscaler.Pod scheduling constraintsPods can express scheduling constraints to impose limitations on the kind of Nodes they can be scheduled on. Node autoscalers take these constraints into account to ensure that the pending Pods can be scheduled on the provisioned Nodes.The most common kind of scheduling constraints are the resource requests specified by Pod containers. Autoscalers will make sure that the provisioned Nodes have enough resources to satisfy the requests. However, they don't directly take into account the real resource usage of the Pods after they start running. In order to autoscale Nodes based on actual workload resource usage, you can combine horizontal workload autoscaling with Node autoscaling.Other common Pod scheduling constraints include Node affinity, inter-Pod affinity, or a requirement for a particular storage volume.Node constraints imposed by autoscaler configurationThe specifics of the provisioned Nodes (for example the amount of resources, the presence of a given label) depend on autoscaler configuration. Autoscalers can either choose them from a pre-defined set of Node configurations, or use auto-provisioning.Auto-provisioningNode auto-provisioning is a mode of provisioning in which a user doesn't have to fully configure the specific",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-autoscaling/",
    "id": "k8s_00305_qa_5592"
  },
  {
    "question": "How does Node Autoscaling work?",
    "answer": "Node AutoscalingAutomatically provision and consolidate the Nodes in your cluster to adapt to demand and optimize cost.In order to run workloads in your cluster, you need Nodes. Nodes in your cluster can be autoscaled - dynamically provisioned, or consolidated to provide needed capacity while optimizing cost. Autoscaling is performed by Node autoscalers.Node provisioningIf there are Pods in a cluster that can't be scheduled on existing Nodes, new Nodes can be automatically added to the cluster—provisioned—to accommodate the Pods. This is especially useful if the number of Pods changes over time, for example as a result of combining horizontal workload with Node autoscaling.Autoscalers provision the Nodes by creating and deleting cloud provider resources backing them. Most commonly, the resources backing the Nodes are Virtual Machines.The main goal of provisioning is to make all Pods schedulable. This goal is not always attainable because of various limitations, including reaching configured provisioning limits, provisioning configuration not being compatible with a particular set of pods, or the lack of cloud provider capacity. While provisioning, Node autoscalers often try to achieve additional goals (for example minimizing the cost of the provisioned Nodes or balancing the number of Nodes between failure domains).There are two main inputs to a Node autoscaler when determining Nodes to provision—Pod scheduling constraints, and Node constraints imposed by autoscaler configuration.Autoscaler configuration may also include other Node provisioning triggers (for example the number of Nodes falling below a configured minimum limit).Note:Provisioning was formerly known as scale-up in Cluster Autoscaler.Pod scheduling constraintsPods can express scheduling constraints to impose limitations on the kind of Nodes they can be scheduled on. Node autoscalers take these constraints into account to ensure that the pending Pods can be scheduled on the provisioned Nodes.The most common kind of scheduling constraints are the resource requests specified by Pod containers. Autoscalers will make sure that the provisioned Nodes have enough resources to satisfy the requests. However, they don't directly take into account the real resource usage of the Pods after they start running. In order to autoscale Nodes based on actual workload resource usage, you can combine horizontal workload autoscaling with Node autoscaling.Other common Pod scheduling constraints include Node affinity, inter-Pod affinity, or a requirement for a particular storage volume.Node constraints imposed by autoscaler configurationThe specifics of the provisioned Nodes (for example the amount of resources, the presence of a given label) depend on autoscaler configuration. Autoscalers can either choose them from a pre-defined set of Node configurations, or use auto-provisioning.Auto-provisioningNode auto-provisioning is a mode of provisioning in which a user doesn't have to fully configure the specific",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-autoscaling/",
    "id": "k8s_00305_qa_5593"
  },
  {
    "question": "When would you use Node Autoscaling?",
    "answer": "Node AutoscalingAutomatically provision and consolidate the Nodes in your cluster to adapt to demand and optimize cost.In order to run workloads in your cluster, you need Nodes. Nodes in your cluster can be autoscaled - dynamically provisioned, or consolidated to provide needed capacity while optimizing cost. Autoscaling is performed by Node autoscalers.Node provisioningIf there are Pods in a cluster that can't be scheduled on existing Nodes, new Nodes can be automatically added to the cluster—provisioned—to accommodate the Pods. This is especially useful if the number of Pods changes over time, for example as a result of combining horizontal workload with Node autoscaling.Autoscalers provision the Nodes by creating and deleting cloud provider resources backing them. Most commonly, the resources backing the Nodes are Virtual Machines.The main goal of provisioning is to make all Pods schedulable. This goal is not always attainable because of various limitations, including reaching configured provisioning limits, provisioning configuration not being compatible with a particular set of pods, or the lack of cloud provider capacity. While provisioning, Node autoscalers often try to achieve additional goals (for example minimizing the cost of the provisioned Nodes or balancing the number of Nodes between failure domains).There are two main inputs to a Node autoscaler when determining Nodes to provision—Pod scheduling constraints, and Node constraints imposed by autoscaler configuration.Autoscaler configuration may also include other Node provisioning triggers (for example the number of Nodes falling below a configured minimum limit).Note:Provisioning was formerly known as scale-up in Cluster Autoscaler.Pod scheduling constraintsPods can express scheduling constraints to impose limitations on the kind of Nodes they can be scheduled on. Node autoscalers take these constraints into account to ensure that the pending Pods can be scheduled on the provisioned Nodes.The most common kind of scheduling constraints are the resource requests specified by Pod containers. Autoscalers will make sure that the provisioned Nodes have enough resources to satisfy the requests. However, they don't directly take into account the real resource usage of the Pods after they start running. In order to autoscale Nodes based on actual workload resource usage, you can combine horizontal workload autoscaling with Node autoscaling.Other common Pod scheduling constraints include Node affinity, inter-Pod affinity, or a requirement for a particular storage volume.Node constraints imposed by autoscaler configurationThe specifics of the provisioned Nodes (for example the amount of resources, the presence of a given label) depend on autoscaler configuration. Autoscalers can either choose them from a pre-defined set of Node configurations, or use auto-provisioning.Auto-provisioningNode auto-provisioning is a mode of provisioning in which a user doesn't have to fully configure the specific",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-autoscaling/",
    "id": "k8s_00305_qa_5594"
  },
  {
    "question": "What are the benefits of Node Autoscaling?",
    "answer": "Node AutoscalingAutomatically provision and consolidate the Nodes in your cluster to adapt to demand and optimize cost.In order to run workloads in your cluster, you need Nodes. Nodes in your cluster can be autoscaled - dynamically provisioned, or consolidated to provide needed capacity while optimizing cost. Autoscaling is performed by Node autoscalers.Node provisioningIf there are Pods in a cluster that can't be scheduled on existing Nodes, new Nodes can be automatically added to the cluster—provisioned—to accommodate the Pods. This is especially useful if the number of Pods changes over time, for example as a result of combining horizontal workload with Node autoscaling.Autoscalers provision the Nodes by creating and deleting cloud provider resources backing them. Most commonly, the resources backing the Nodes are Virtual Machines.The main goal of provisioning is to make all Pods schedulable. This goal is not always attainable because of various limitations, including reaching configured provisioning limits, provisioning configuration not being compatible with a particular set of pods, or the lack of cloud provider capacity. While provisioning, Node autoscalers often try to achieve additional goals (for example minimizing the cost of the provisioned Nodes or balancing the number of Nodes between failure domains).There are two main inputs to a Node autoscaler when determining Nodes to provision—Pod scheduling constraints, and Node constraints imposed by autoscaler configuration.Autoscaler configuration may also include other Node provisioning triggers (for example the number of Nodes falling below a configured minimum limit).Note:Provisioning was formerly known as scale-up in Cluster Autoscaler.Pod scheduling constraintsPods can express scheduling constraints to impose limitations on the kind of Nodes they can be scheduled on. Node autoscalers take these constraints into account to ensure that the pending Pods can be scheduled on the provisioned Nodes.The most common kind of scheduling constraints are the resource requests specified by Pod containers. Autoscalers will make sure that the provisioned Nodes have enough resources to satisfy the requests. However, they don't directly take into account the real resource usage of the Pods after they start running. In order to autoscale Nodes based on actual workload resource usage, you can combine horizontal workload autoscaling with Node autoscaling.Other common Pod scheduling constraints include Node affinity, inter-Pod affinity, or a requirement for a particular storage volume.Node constraints imposed by autoscaler configurationThe specifics of the provisioned Nodes (for example the amount of resources, the presence of a given label) depend on autoscaler configuration. Autoscalers can either choose them from a pre-defined set of Node configurations, or use auto-provisioning.Auto-provisioningNode auto-provisioning is a mode of provisioning in which a user doesn't have to fully configure the specific",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-autoscaling/",
    "id": "k8s_00305_qa_5595"
  },
  {
    "question": "What is Node Autoscaling?",
    "answer": "I n   o r d e r   t o   r u n   w o r k l o a d s   i n   y o u r   c l u s t e r ,   y o u   n e e d   N o d e s .   N o d e s   i n   y o u r   c l u s t e r   c a n   b e   a u t o s c a l e d   -   d y n a m i c a l l y   p r o v i s i o n e d ,   o r   c o n s o l i d a t e d   t o   p r o v i d e   n e e d e d   c a p a c i t y   w h i l e   o p t i m i z i n g   c o s t .   A u t o s c a l i n g   i s   p e r f o r m e d   b y   N o d e   a u t o s c a l e r s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-autoscaling/",
    "id": "k8s_00305_section_1_5596"
  },
  {
    "question": "What is Node provisioning?",
    "answer": "I f   t h e r e   a r e   P o d s   i n   a   c l u s t e r   t h a t   c a n ' t   b e   s c h e d u l e d   o n   e x i s t i n g   N o d e s ,   n e w   N o d e s   c a n   b e   a u t o m a t i c a l l y   a d d e d   t o   t h e   c l u s t e r — p r o v i s i o n e d — t o   a c c o m m o d a t e   t h e   P o d s .   T h i s   i s   e s p e c i a l l y   u s e f u l   i f   t h e   n u m b e r   o f   P o d s   c h a n g e s   o v e r   t i m e ,   f o r   e x a m p l e   a s   a   r e s u l t   o f   c o m b i n i n g   h o r i z o n t a l   w o r k l o a d   w i t h   N o d e   a u t o s c a l i n g .   A u t o s c a l e r s   p r o v i s i o n   t h e   N o d e s   b y   c r e a t i n g   a n d   d e l e t i n g   c l o u d   p r o v i d e r   r e s o u r c e s   b a c k i n g   t h e m .   M o s t   c o m m o n l y ,   t h e   r e s o u r c e s   b a c k i n g   t h e   N o d e s   a r e   V i r t u a l   M a c h i n e s .   T h e   m a i n   g o a l   o f   p r o v i s i o n i n g   i s   t o   m a k e   a l l   P o d s   s c h e d u l a b l e .   T h i s   g o a l   i s   n o t   a l w a y s   a t t a i n a b l e   b e c a u s e   o f   v a r i o u s   l i m i t a t i o n s ,   i n c l u d i n g   r e a c h i n g   c o n f i g u r e d   p r o v i s i o n i n g   l i m i t s ,   p r o v i s i o n i n g   c o n f i g u r a t i o n   n o t   b e i n g   c o m p a t i b l e   w i t h   a   p a r t i c u l a r   s e t   o f   p o d s ,   o r   t h e   l a c k   o f   c l o u d   p r o v i d e r   c a p a c i t y .   W h i l e   p r o v i s i o n i n g ,   N o d e   a u t o s c a l e r s   o f t e n   t r y   t o   a c h i e v e   a d d i t i o n a l   g o a l s   ( f o r   e x a m p l e   m i n i m i z i n g   t h e   c o s t   o f   t h e   p r o v i s i o n e d   N o d e s   o r   b a l a n c i n g   t h e   n u m b e r   o f   N o d e s   b e t w e e n   f a i l u r e   d o m a i n s ) .   T h e r e   a r e   t w o   m a i n   i n p u t s   t o   a   N o ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-autoscaling/",
    "id": "k8s_00305_section_2_5597"
  },
  {
    "question": "What is Pod scheduling constraints?",
    "answer": "P o d s   c a n   e x p r e s s   s c h e d u l i n g   c o n s t r a i n t s   t o   i m p o s e   l i m i t a t i o n s   o n   t h e   k i n d   o f   N o d e s   t h e y   c a n   b e   s c h e d u l e d   o n .   N o d e   a u t o s c a l e r s   t a k e   t h e s e   c o n s t r a i n t s   i n t o   a c c o u n t   t o   e n s u r e   t h a t   t h e   p e n d i n g   P o d s   c a n   b e   s c h e d u l e d   o n   t h e   p r o v i s i o n e d   N o d e s .   T h e   m o s t   c o m m o n   k i n d   o f   s c h e d u l i n g   c o n s t r a i n t s   a r e   t h e   r e s o u r c e   r e q u e s t s   s p e c i f i e d   b y   P o d   c o n t a i n e r s .   A u t o s c a l e r s   w i l l   m a k e   s u r e   t h a t   t h e   p r o v i s i o n e d   N o d e s   h a v e   e n o u g h   r e s o u r c e s   t o   s a t i s f y   t h e   r e q u e s t s .   H o w e v e r ,   t h e y   d o n ' t   d i r e c t l y   t a k e   i n t o   a c c o u n t   t h e   r e a l   r e s o u r c e   u s a g e   o f   t h e   P o d s   a f t e r   t h e y   s t a r t   r u n n i n g .   I n   o r d e r   t o   a u t o s c a l e   N o d e s   b a s e d   o n   a c t u a l   w o r k l o a d   r e s o u r c e   u s a g e ,   y o u   c a n   c o m b i n e   h o r i z o n t a l   w o r k l o a d   a u t o s c a l i n g   w i t h   N o d e   a u t o s c a l i n g .   O t h e r   c o m m o n   P o d   s c h e d u l i n g   c o n s t r a i n t s   i n c l u d e   N o d e   a f f i n i t y ,   i n t e r - P o d   a f f i n i t y ,   o r   a   r e q u i r e m e n t   f o r   a   p a r t i c u l a r   s t o r a g e   v o l u m e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-autoscaling/",
    "id": "k8s_00305_section_3_5598"
  },
  {
    "question": "What is Node constraints imposed by autoscaler configuration?",
    "answer": "T h e   s p e c i f i c s   o f   t h e   p r o v i s i o n e d   N o d e s   ( f o r   e x a m p l e   t h e   a m o u n t   o f   r e s o u r c e s ,   t h e   p r e s e n c e   o f   a   g i v e n   l a b e l )   d e p e n d   o n   a u t o s c a l e r   c o n f i g u r a t i o n .   A u t o s c a l e r s   c a n   e i t h e r   c h o o s e   t h e m   f r o m   a   p r e - d e f i n e d   s e t   o f   N o d e   c o n f i g u r a t i o n s ,   o r   u s e   a u t o - p r o v i s i o n i n g .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-autoscaling/",
    "id": "k8s_00305_section_3_5599"
  },
  {
    "question": "What is Auto-provisioning?",
    "answer": "N o d e   a u t o - p r o v i s i o n i n g   i s   a   m o d e   o f   p r o v i s i o n i n g   i n   w h i c h   a   u s e r   d o e s n ' t   h a v e   t o   f u l l y   c o n f i g u r e   t h e   s p e c i f i c s   o f   t h e   N o d e s   t h a t   c a n   b e   p r o v i s i o n e d .   I n s t e a d ,   t h e   a u t o s c a l e r   d y n a m i c a l l y   c h o o s e s   t h e   N o d e   c o n f i g u r a t i o n   b a s e d   o n   t h e   p e n d i n g   P o d s   i t ' s   r e a c t i n g   t o ,   a s   w e l l   a s   p r e - c o n f i g u r e d   c o n s t r a i n t s   ( f o r   e x a m p l e ,   t h e   m i n i m u m   a m o u n t   o f   r e s o u r c e s   o r   t h e   n e e d   f o r   a   g i v e n   l a b e l ) .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-autoscaling/",
    "id": "k8s_00305_section_3_5600"
  },
  {
    "question": "What is Node consolidation?",
    "answer": "T h e   m a i n   c o n s i d e r a t i o n   w h e n   r u n n i n g   a   c l u s t e r   i s   e n s u r i n g   t h a t   a l l   s c h e d u l a b l e   p o d s   a r e   r u n n i n g ,   w h i l s t   k e e p i n g   t h e   c o s t   o f   t h e   c l u s t e r   a s   l o w   a s   p o s s i b l e .   T o   a c h i e v e   t h i s ,   t h e   P o d s '   r e s o u r c e   r e q u e s t s   s h o u l d   u t i l i z e   a s   m u c h   o f   t h e   N o d e s '   r e s o u r c e s   a s   p o s s i b l e .   F r o m   t h i s   p e r s p e c t i v e ,   t h e   o v e r a l l   N o d e   u t i l i z a t i o n   i n   a   c l u s t e r   c a n   b e   u s e d   a s   a   p r o x y   f o r   h o w   c o s t - e f f e c t i v e   t h e   c l u s t e r   i s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-autoscaling/",
    "id": "k8s_00305_section_2_5601"
  },
  {
    "question": "What is Note:?",
    "answer": "N o d e s   i n   y o u r   c l u s t e r   c a n   b e   a u t o m a t i c a l l y   c o n s o l i d a t e d   i n   o r d e r   t o   i m p r o v e   t h e   o v e r a l l   N o d e   u t i l i z a t i o n ,   a n d   i n   t u r n   t h e   c o s t - e f f e c t i v e n e s s   o f   t h e   c l u s t e r .   C o n s o l i d a t i o n   h a p p e n s   t h r o u g h   r e m o v i n g   a   s e t   o f   u n d e r u t i l i z e d   N o d e s   f r o m   t h e   c l u s t e r .   O p t i o n a l l y ,   a   d i f f e r e n t   s e t   o f   N o d e s   c a n   b e   p r o v i s i o n e d   t o   r e p l a c e   t h e m .   C o n s o l i d a t i o n ,   l i k e   p r o v i s i o n i n g ,   o n l y   c o n s i d e r s   P o d   r e s o u r c e   r e q u e s t s   a n d   n o t   r e a l   r e s o u r c e   u s a g e   w h e n   m a k i n g   d e c i s i o n s .   F o r   t h e   p u r p o s e   o f   c o n s o l i d a t i o n ,   a   N o d e   i s   c o n s i d e r e d   e m p t y   i f   i t   o n l y   h a s   D a e m o n S e t   a n d   s t a t i c   P o d s   r u n n i n g   o n   i t .   R e m o v i n g   e m p t y   N o d e s   d u r i n g   c o n s o l i d a t i o n   i s   m o r e   s t r a i g h t f o r w a r d   t h a n   n o n - e m p t y   o n e s ,   a n d   a u t o s c a l e r s   o f t e n   h a v e   o p t i m i z a t i o n s   d e s i g n e d   s p e c i f i c a l l y   f o r   c o n s o l i d a t i n g   e m p t y   N o d e s .   R e m o v i n g   n o n - e m p t y   N o d e s   d u r i n g   c o n s o l i d a t i o n   i s   d i s r u p t i v e — t h e   P o d s   r u n n i n g   o n   t h e m   a r e   t e r m i n a t e d ,   a n d   p o s s i b l y   h a v e   t o   b e   r e c r e a t e d   ( f o r   e x a m p l e   b y   a   D e p l o y m e n t ) .   H o w e v e r ,   a l l   s u c h   r e c r e a t e d   P o d s   s h o u l d   b e   a b l e   t o   s c h e d u l e   o n   e x i s t i n g   N o d e s   i n   t h e   c l u s t e r ,   o r   t ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-autoscaling/",
    "id": "k8s_00305_section_4_5602"
  },
  {
    "question": "What is Note:?",
    "answer": "A u t o s c a l e r   c o n f i g u r a t i o n   m a y   a l s o   e n a b l e   t r i g g e r i n g   c o n s o l i d a t i o n   b y   o t h e r   c o n d i t i o n s   ( f o r   e x a m p l e ,   t h e   t i m e   e l a p s e d   s i n c e   a   N o d e   w a s   c r e a t e d ) ,   i n   o r d e r   t o   o p t i m i z e   d i f f e r e n t   p r o p e r t i e s   ( f o r   e x a m p l e ,   t h e   m a x i m u m   l i f e s p a n   o f   N o d e s   i n   a   c l u s t e r ) .   T h e   d e t a i l s   o f   h o w   c o n s o l i d a t i o n   i s   p e r f o r m e d   d e p e n d   o n   t h e   c o n f i g u r a t i o n   o f   a   g i v e n   a u t o s c a l e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-autoscaling/",
    "id": "k8s_00305_section_4_5603"
  },
  {
    "question": "What is Autoscalers?",
    "answer": "T h e   f u n c t i o n a l i t i e s   d e s c r i b e d   i n   p r e v i o u s   s e c t i o n s   a r e   p r o v i d e d   b y   N o d e   a u t o s c a l e r s .   I n   a d d i t i o n   t o   t h e   K u b e r n e t e s   A P I ,   a u t o s c a l e r s   a l s o   n e e d   t o   i n t e r a c t   w i t h   c l o u d   p r o v i d e r   A P I s   t o   p r o v i s i o n   a n d   c o n s o l i d a t e   N o d e s .   T h i s   m e a n s   t h a t   t h e y   n e e d   t o   b e   e x p l i c i t l y   i n t e g r a t e d   w i t h   e a c h   s u p p o r t e d   c l o u d   p r o v i d e r .   T h e   p e r f o r m a n c e   a n d   f e a t u r e   s e t   o f   a   g i v e n   a u t o s c a l e r   c a n   d i f f e r   b e t w e e n   c l o u d   p r o v i d e r   i n t e g r a t i o n s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-autoscaling/",
    "id": "k8s_00305_section_2_5604"
  },
  {
    "question": "What is Autoscaler implementations?",
    "answer": "C l u s t e r   A u t o s c a l e r   a n d   K a r p e n t e r   a r e   t h e   t w o   N o d e   a u t o s c a l e r s   c u r r e n t l y   s p o n s o r e d   b y   S I G   A u t o s c a l i n g .   F r o m   t h e   p e r s p e c t i v e   o f   a   c l u s t e r   u s e r ,   b o t h   a u t o s c a l e r s   s h o u l d   p r o v i d e   a   s i m i l a r   N o d e   a u t o s c a l i n g   e x p e r i e n c e .   B o t h   w i l l   p r o v i s i o n   n e w   N o d e s   f o r   u n s c h e d u l a b l e   P o d s ,   a n d   b o t h   w i l l   c o n s o l i d a t e   t h e   N o d e s   t h a t   a r e   n o   l o n g e r   o p t i m a l l y   u t i l i z e d .   D i f f e r e n t   a u t o s c a l e r s   m a y   a l s o   p r o v i d e   f e a t u r e s   o u t s i d e   t h e   N o d e   a u t o s c a l i n g   s c o p e   d e s c r i b e d   o n   t h i s   p a g e ,   a n d   t h o s e   a d d i t i o n a l   f e a t u r e s   m a y   d i f f e r   b e t w e e n   t h e m .   C o n s u l t   t h e   s e c t i o n s   b e l o w ,   a n d   t h e   l i n k e d   d o c u m e n t a t i o n   f o r   t h e   i n d i v i d u a l   a u t o s c a l e r s   t o   d e c i d e   w h i c h   a u t o s c a l e r   f i t s   y o u r   u s e   c a s e   b e t t e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-autoscaling/",
    "id": "k8s_00305_section_3_5605"
  },
  {
    "question": "What is Cluster Autoscaler?",
    "answer": "C l u s t e r   A u t o s c a l e r   a d d s   o r   r e m o v e s   N o d e s   t o   p r e - c o n f i g u r e d   N o d e   g r o u p s .   N o d e   g r o u p s   g e n e r a l l y   m a p   t o   s o m e   s o r t   o f   c l o u d   p r o v i d e r   r e s o u r c e   g r o u p   ( m o s t   c o m m o n l y   a   V i r t u a l   M a c h i n e   g r o u p ) .   A   s i n g l e   i n s t a n c e   o f   C l u s t e r   A u t o s c a l e r   c a n   s i m u l t a n e o u s l y   m a n a g e   m u l t i p l e   N o d e   g r o u p s .   W h e n   p r o v i s i o n i n g ,   C l u s t e r   A u t o s c a l e r   w i l l   a d d   N o d e s   t o   t h e   g r o u p   t h a t   b e s t   f i t s   t h e   r e q u e s t s   o f   p e n d i n g   P o d s .   W h e n   c o n s o l i d a t i n g ,   C l u s t e r   A u t o s c a l e r   a l w a y s   s e l e c t s   s p e c i f i c   N o d e s   t o   r e m o v e ,   a s   o p p o s e d   t o   j u s t   r e s i z i n g   t h e   u n d e r l y i n g   c l o u d   p r o v i d e r   r e s o u r c e   g r o u p .   A d d i t i o n a l   c o n t e x t :   D o c u m e n t a t i o n   o v e r v i e w C l o u d   p r o v i d e r   i n t e g r a t i o n s C l u s t e r   A u t o s c a l e r   F A Q C o n t a c t",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-autoscaling/",
    "id": "k8s_00305_section_4_5606"
  },
  {
    "question": "What is Karpenter?",
    "answer": "K a r p e n t e r   a u t o - p r o v i s i o n s   N o d e s   b a s e d   o n   N o d e P o o l   c o n f i g u r a t i o n s   p r o v i d e d   b y   t h e   c l u s t e r   o p e r a t o r .   K a r p e n t e r   h a n d l e s   a l l   a s p e c t s   o f   n o d e   l i f e c y c l e ,   n o t   j u s t   a u t o s c a l i n g .   T h i s   i n c l u d e s   a u t o m a t i c a l l y   r e f r e s h i n g   N o d e s   o n c e   t h e y   r e a c h   a   c e r t a i n   l i f e t i m e ,   a n d   a u t o - u p g r a d i n g   N o d e s   w h e n   n e w   w o r k e r   N o d e   i m a g e s   a r e   r e l e a s e d .   I t   w o r k s   d i r e c t l y   w i t h   i n d i v i d u a l   c l o u d   p r o v i d e r   r e s o u r c e s   ( m o s t   c o m m o n l y   i n d i v i d u a l   V i r t u a l   M a c h i n e s ) ,   a n d   d o e s n ' t   r e l y   o n   c l o u d   p r o v i d e r   r e s o u r c e   g r o u p s .   A d d i t i o n a l   c o n t e x t :   D o c u m e n t a t i o n C l o u d   p r o v i d e r   i n t e g r a t i o n s K a r p e n t e r   F A Q C o n t a c t",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-autoscaling/",
    "id": "k8s_00305_section_4_5607"
  },
  {
    "question": "What is Implementation comparison?",
    "answer": "M a i n   d i f f e r e n c e s   b e t w e e n   C l u s t e r   A u t o s c a l e r   a n d   K a r p e n t e r :   C l u s t e r   A u t o s c a l e r   p r o v i d e s   f e a t u r e s   r e l a t e d   t o   j u s t   N o d e   a u t o s c a l i n g .   K a r p e n t e r   h a s   a   w i d e r   s c o p e ,   a n d   a l s o   p r o v i d e s   f e a t u r e s   i n t e n d e d   f o r   m a n a g i n g   N o d e   l i f e c y c l e   a l t o g e t h e r   ( f o r   e x a m p l e ,   u t i l i z i n g   d i s r u p t i o n   t o   a u t o - r e c r e a t e   N o d e s   o n c e   t h e y   r e a c h   a   c e r t a i n   l i f e t i m e ,   o r   a u t o - u p g r a d e   t h e m   t o   n e w   v e r s i o n s ) . C l u s t e r   A u t o s c a l e r   d o e s n ' t   s u p p o r t   a u t o - p r o v i s i o n i n g ,   t h e   N o d e   g r o u p s   i t   c a n   p r o v i s i o n   f r o m   h a v e   t o   b e   p r e - c o n f i g u r e d .   K a r p e n t e r   s u p p o r t s   a u t o - p r o v i s i o n i n g ,   s o   t h e   u s e r   o n l y   h a s   t o   c o n f i g u r e   a   s e t   o f   c o n s t r a i n t s   f o r   t h e   p r o v i s i o n e d   N o d e s ,   i n s t e a d   o f   f u l l y   c o n f i g u r i n g   h o m o g e n o u s   g r o u p s . C l u s t e r   A u t o s c a l e r   p r o v i d e s   c l o u d   p r o v i d e r   i n t e g r a t i o n s   d i r e c t l y ,   w h i c h   m e a n s   t h a t   t h e y ' r e   a   p a r t   o f   t h e   K u b e r n e t e s   p r o j e c t .   F o r   K a r p e n t e r ,   t h e   K u b e r n e t e s   p r o j e c t   p u b l i s h e s   K a r p e n t e r   a s   a   l i b r a r y   t h a t   c l o u d   p r o v i d e r s   c a n   i n t e g r a t e   w i t h   t o   b u i l d   a   N o d e   a u t o s c a l e r . C l u s t e r   A u t o s c a l e r   p r o v i d e s   i n t e g r a t i o n s   w i t h   n u m e r o u s   c l o u d   p r o v i d e r s ,   i n c l u d i n g   s m a ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-autoscaling/",
    "id": "k8s_00305_section_4_5608"
  },
  {
    "question": "What is Horizontal workload autoscaling?",
    "answer": "N o d e   a u t o s c a l i n g   u s u a l l y   w o r k s   i n   r e s p o n s e   t o   P o d s — i t   p r o v i s i o n s   n e w   N o d e s   t o   a c c o m m o d a t e   u n s c h e d u l a b l e   P o d s ,   a n d   t h e n   c o n s o l i d a t e s   t h e   N o d e s   o n c e   t h e y ' r e   n o   l o n g e r   n e e d e d .   H o r i z o n t a l   w o r k l o a d   a u t o s c a l i n g   a u t o m a t i c a l l y   s c a l e s   t h e   n u m b e r   o f   w o r k l o a d   r e p l i c a s   t o   m a i n t a i n   a   d e s i r e d   a v e r a g e   r e s o u r c e   u t i l i z a t i o n   a c r o s s   t h e   r e p l i c a s .   I n   o t h e r   w o r d s ,   i t   a u t o m a t i c a l l y   c r e a t e s   n e w   P o d s   i n   r e s p o n s e   t o   a p p l i c a t i o n   l o a d ,   a n d   t h e n   r e m o v e s   t h e   P o d s   o n c e   t h e   l o a d   d e c r e a s e s .   Y o u   c a n   u s e   N o d e   a u t o s c a l i n g   t o g e t h e r   w i t h   h o r i z o n t a l   w o r k l o a d   a u t o s c a l i n g   t o   a u t o s c a l e   t h e   N o d e s   i n   y o u r   c l u s t e r   b a s e d   o n   t h e   a v e r a g e   r e a l   r e s o u r c e   u t i l i z a t i o n   o f   y o u r   P o d s .   I f   t h e   a p p l i c a t i o n   l o a d   i n c r e a s e s ,   t h e   a v e r a g e   u t i l i z a t i o n   o f   i t s   P o d s   s h o u l d   a l s o   i n c r e a s e ,   p r o m p t i n g   w o r k l o a d   a u t o s c a l i n g   t o   c r e a t e   n e w   P o d s .   N o d e   a u t o s c a l i n g   s h o u l d   t h e n   p r o v i s i o n   n e w   N o d e s   t o   a c c o m m o d a t e   t h e   n e w   P o d s .   O n c e   t h e   a p p l i c a t i o n   l o a d   d e c r e a s e s ,   w o r k l o a d   a u t o s c a l i n g   s h o u l d   r e m o v e   u n n e c e s s a r y   P o d s .   N o d e   a u t o s c a l i n g   s h o u l d ,   i n   t u r n ,   c o n s o l i d a t e   t h e ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-autoscaling/",
    "id": "k8s_00305_section_3_5609"
  },
  {
    "question": "What is Vertical workload autoscaling?",
    "answer": "W h e n   u s i n g   N o d e   a u t o s c a l i n g ,   i t ' s   i m p o r t a n t   t o   s e t   P o d   r e s o u r c e   r e q u e s t s   c o r r e c t l y .   I f   t h e   r e q u e s t s   o f   a   g i v e n   P o d   a r e   t o o   l o w ,   p r o v i s i o n i n g   a   n e w   N o d e   f o r   i t   m i g h t   n o t   h e l p   t h e   P o d   a c t u a l l y   r u n .   I f   t h e   r e q u e s t s   o f   a   g i v e n   P o d   a r e   t o o   h i g h ,   i t   m i g h t   i n c o r r e c t l y   p r e v e n t   c o n s o l i d a t i n g   i t s   N o d e .   V e r t i c a l   w o r k l o a d   a u t o s c a l i n g   a u t o m a t i c a l l y   a d j u s t s   t h e   r e s o u r c e   r e q u e s t s   o f   y o u r   P o d s   b a s e d   o n   t h e i r   h i s t o r i c a l   r e s o u r c e   u s a g e .   Y o u   c a n   u s e   N o d e   a u t o s c a l i n g   t o g e t h e r   w i t h   v e r t i c a l   w o r k l o a d   a u t o s c a l i n g   i n   o r d e r   t o   a d j u s t   t h e   r e s o u r c e   r e q u e s t s   o f   y o u r   P o d s   w h i l e   p r e s e r v i n g   N o d e   a u t o s c a l i n g   c a p a b i l i t i e s   i n   y o u r   c l u s t e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-autoscaling/",
    "id": "k8s_00305_section_3_5610"
  },
  {
    "question": "What is Related components?",
    "answer": "T h i s   s e c t i o n   d e s c r i b e s   c o m p o n e n t s   p r o v i d i n g   f u n c t i o n a l i t y   r e l a t e d   t o   N o d e   a u t o s c a l i n g .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-autoscaling/",
    "id": "k8s_00305_section_2_5611"
  },
  {
    "question": "What is Descheduler?",
    "answer": "T h e   d e s c h e d u l e r   i s   a   c o m p o n e n t   p r o v i d i n g   N o d e   c o n s o l i d a t i o n   f u n c t i o n a l i t y   b a s e d   o n   c u s t o m   p o l i c i e s ,   a s   w e l l   a s   o t h e r   f e a t u r e s   r e l a t e d   t o   o p t i m i z i n g   N o d e s   a n d   P o d s   ( f o r   e x a m p l e   d e l e t i n g   f r e q u e n t l y   r e s t a r t i n g   P o d s ) .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-autoscaling/",
    "id": "k8s_00305_section_3_5612"
  },
  {
    "question": "What is Workload autoscalers based on cluster size?",
    "answer": "C l u s t e r   P r o p o r t i o n a l   A u t o s c a l e r   a n d   C l u s t e r   P r o p o r t i o n a l   V e r t i c a l   A u t o s c a l e r   p r o v i d e   h o r i z o n t a l ,   a n d   v e r t i c a l   w o r k l o a d   a u t o s c a l i n g   b a s e d   o n   t h e   n u m b e r   o f   N o d e s   i n   t h e   c l u s t e r .   Y o u   c a n   r e a d   m o r e   i n   a u t o s c a l i n g   b a s e d   o n   c l u s t e r   s i z e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-autoscaling/",
    "id": "k8s_00305_section_3_5613"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   w o r k l o a d - l e v e l   a u t o s c a l i n g",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/node-autoscaling/",
    "id": "k8s_00305_section_2_5614"
  },
  {
    "question": "What is Viewing Pods and Nodes?",
    "answer": "Viewing Pods and NodesObjectivesLearn about Kubernetes Pods.Learn about Kubernetes Nodes.Troubleshoot deployed applications.Kubernetes PodsA Pod is a group of one or more application containers (such as Docker) and includes shared storage (volumes), IP address and information about how to run them.When you created a Deployment in Module 2, Kubernetes created a Pod to host your application instance. A Pod is a Kubernetes abstraction that represents a group of one or more application containers (such as Docker), and some shared resources for those containers. Those resources include:Shared storage, as VolumesNetworking, as a unique cluster IP addressInformation about how to run each container, such as the container image version or specific ports to useA Pod models an application-specific \"logical host\" and can contain different application containers which are relatively tightly coupled. For example, a Pod might include both the container with your Node.js app as well as a different container that feeds the data to be published by the Node.js webserver. The containers in a Pod share an IP Address and port space, are always co-located and co-scheduled, and run in a shared context on the same Node.Pods are the atomic unit on the Kubernetes platform. When we create a Deployment on Kubernetes, that Deployment creates Pods with containers inside them (as opposed to creating containers directly). Each Pod is tied to the Node where it is scheduled, and remains there until termination (according to restart policy) or deletion. In case of a Node failure, identical Pods are scheduled on other available Nodes in the cluster.Pods overviewContainers should only be scheduled together in a single Pod if they are tightly coupled and need to share resources such as disk.NodesA Pod always runs on a Node. A Node is a worker machine in Kubernetes and may be either a virtual or a physical machine, depending on the cluster. Each Node is managed by the control plane. A Node can have multiple pods, and the Kubernetes control plane automatically handles scheduling the pods across the Nodes in the cluster. The control plane's automatic scheduling takes into account the available resources on each Node.Every Kubernetes Node runs at least:Kubelet, a process responsible for communication between the Kubernetes control plane and the Node; it manages the Pods and the containers running on a machine.A container runtime (like Docker) responsible for pulling the container image from a registry, unpacking the container, and running the application.Nodes overviewTroubleshooting with kubectlIn Module 2, you used the kubectl command-line interface. You'll continue to use it in Module 3 to get information about deployed applications and their environments. The most common operations can be done with the following kubectl subcommands:kubectl get - list resourceskubectl describe - show detailed information about a resourcekubectl logs - print the logs from a container in a podkubectl exe",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/explore/explore-intro/",
    "id": "k8s_00306_qa_5615"
  },
  {
    "question": "How does Viewing Pods and Nodes work?",
    "answer": "Viewing Pods and NodesObjectivesLearn about Kubernetes Pods.Learn about Kubernetes Nodes.Troubleshoot deployed applications.Kubernetes PodsA Pod is a group of one or more application containers (such as Docker) and includes shared storage (volumes), IP address and information about how to run them.When you created a Deployment in Module 2, Kubernetes created a Pod to host your application instance. A Pod is a Kubernetes abstraction that represents a group of one or more application containers (such as Docker), and some shared resources for those containers. Those resources include:Shared storage, as VolumesNetworking, as a unique cluster IP addressInformation about how to run each container, such as the container image version or specific ports to useA Pod models an application-specific \"logical host\" and can contain different application containers which are relatively tightly coupled. For example, a Pod might include both the container with your Node.js app as well as a different container that feeds the data to be published by the Node.js webserver. The containers in a Pod share an IP Address and port space, are always co-located and co-scheduled, and run in a shared context on the same Node.Pods are the atomic unit on the Kubernetes platform. When we create a Deployment on Kubernetes, that Deployment creates Pods with containers inside them (as opposed to creating containers directly). Each Pod is tied to the Node where it is scheduled, and remains there until termination (according to restart policy) or deletion. In case of a Node failure, identical Pods are scheduled on other available Nodes in the cluster.Pods overviewContainers should only be scheduled together in a single Pod if they are tightly coupled and need to share resources such as disk.NodesA Pod always runs on a Node. A Node is a worker machine in Kubernetes and may be either a virtual or a physical machine, depending on the cluster. Each Node is managed by the control plane. A Node can have multiple pods, and the Kubernetes control plane automatically handles scheduling the pods across the Nodes in the cluster. The control plane's automatic scheduling takes into account the available resources on each Node.Every Kubernetes Node runs at least:Kubelet, a process responsible for communication between the Kubernetes control plane and the Node; it manages the Pods and the containers running on a machine.A container runtime (like Docker) responsible for pulling the container image from a registry, unpacking the container, and running the application.Nodes overviewTroubleshooting with kubectlIn Module 2, you used the kubectl command-line interface. You'll continue to use it in Module 3 to get information about deployed applications and their environments. The most common operations can be done with the following kubectl subcommands:kubectl get - list resourceskubectl describe - show detailed information about a resourcekubectl logs - print the logs from a container in a podkubectl exe",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/explore/explore-intro/",
    "id": "k8s_00306_qa_5616"
  },
  {
    "question": "When would you use Viewing Pods and Nodes?",
    "answer": "Viewing Pods and NodesObjectivesLearn about Kubernetes Pods.Learn about Kubernetes Nodes.Troubleshoot deployed applications.Kubernetes PodsA Pod is a group of one or more application containers (such as Docker) and includes shared storage (volumes), IP address and information about how to run them.When you created a Deployment in Module 2, Kubernetes created a Pod to host your application instance. A Pod is a Kubernetes abstraction that represents a group of one or more application containers (such as Docker), and some shared resources for those containers. Those resources include:Shared storage, as VolumesNetworking, as a unique cluster IP addressInformation about how to run each container, such as the container image version or specific ports to useA Pod models an application-specific \"logical host\" and can contain different application containers which are relatively tightly coupled. For example, a Pod might include both the container with your Node.js app as well as a different container that feeds the data to be published by the Node.js webserver. The containers in a Pod share an IP Address and port space, are always co-located and co-scheduled, and run in a shared context on the same Node.Pods are the atomic unit on the Kubernetes platform. When we create a Deployment on Kubernetes, that Deployment creates Pods with containers inside them (as opposed to creating containers directly). Each Pod is tied to the Node where it is scheduled, and remains there until termination (according to restart policy) or deletion. In case of a Node failure, identical Pods are scheduled on other available Nodes in the cluster.Pods overviewContainers should only be scheduled together in a single Pod if they are tightly coupled and need to share resources such as disk.NodesA Pod always runs on a Node. A Node is a worker machine in Kubernetes and may be either a virtual or a physical machine, depending on the cluster. Each Node is managed by the control plane. A Node can have multiple pods, and the Kubernetes control plane automatically handles scheduling the pods across the Nodes in the cluster. The control plane's automatic scheduling takes into account the available resources on each Node.Every Kubernetes Node runs at least:Kubelet, a process responsible for communication between the Kubernetes control plane and the Node; it manages the Pods and the containers running on a machine.A container runtime (like Docker) responsible for pulling the container image from a registry, unpacking the container, and running the application.Nodes overviewTroubleshooting with kubectlIn Module 2, you used the kubectl command-line interface. You'll continue to use it in Module 3 to get information about deployed applications and their environments. The most common operations can be done with the following kubectl subcommands:kubectl get - list resourceskubectl describe - show detailed information about a resourcekubectl logs - print the logs from a container in a podkubectl exe",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/explore/explore-intro/",
    "id": "k8s_00306_qa_5617"
  },
  {
    "question": "What are the benefits of Viewing Pods and Nodes?",
    "answer": "Viewing Pods and NodesObjectivesLearn about Kubernetes Pods.Learn about Kubernetes Nodes.Troubleshoot deployed applications.Kubernetes PodsA Pod is a group of one or more application containers (such as Docker) and includes shared storage (volumes), IP address and information about how to run them.When you created a Deployment in Module 2, Kubernetes created a Pod to host your application instance. A Pod is a Kubernetes abstraction that represents a group of one or more application containers (such as Docker), and some shared resources for those containers. Those resources include:Shared storage, as VolumesNetworking, as a unique cluster IP addressInformation about how to run each container, such as the container image version or specific ports to useA Pod models an application-specific \"logical host\" and can contain different application containers which are relatively tightly coupled. For example, a Pod might include both the container with your Node.js app as well as a different container that feeds the data to be published by the Node.js webserver. The containers in a Pod share an IP Address and port space, are always co-located and co-scheduled, and run in a shared context on the same Node.Pods are the atomic unit on the Kubernetes platform. When we create a Deployment on Kubernetes, that Deployment creates Pods with containers inside them (as opposed to creating containers directly). Each Pod is tied to the Node where it is scheduled, and remains there until termination (according to restart policy) or deletion. In case of a Node failure, identical Pods are scheduled on other available Nodes in the cluster.Pods overviewContainers should only be scheduled together in a single Pod if they are tightly coupled and need to share resources such as disk.NodesA Pod always runs on a Node. A Node is a worker machine in Kubernetes and may be either a virtual or a physical machine, depending on the cluster. Each Node is managed by the control plane. A Node can have multiple pods, and the Kubernetes control plane automatically handles scheduling the pods across the Nodes in the cluster. The control plane's automatic scheduling takes into account the available resources on each Node.Every Kubernetes Node runs at least:Kubelet, a process responsible for communication between the Kubernetes control plane and the Node; it manages the Pods and the containers running on a machine.A container runtime (like Docker) responsible for pulling the container image from a registry, unpacking the container, and running the application.Nodes overviewTroubleshooting with kubectlIn Module 2, you used the kubectl command-line interface. You'll continue to use it in Module 3 to get information about deployed applications and their environments. The most common operations can be done with the following kubectl subcommands:kubectl get - list resourceskubectl describe - show detailed information about a resourcekubectl logs - print the logs from a container in a podkubectl exe",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/explore/explore-intro/",
    "id": "k8s_00306_qa_5618"
  },
  {
    "question": "What is Objectives?",
    "answer": "L e a r n   a b o u t   K u b e r n e t e s   P o d s . L e a r n   a b o u t   K u b e r n e t e s   N o d e s . T r o u b l e s h o o t   d e p l o y e d   a p p l i c a t i o n s .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/explore/explore-intro/",
    "id": "k8s_00306_section_2_5619"
  },
  {
    "question": "What is Kubernetes Pods?",
    "answer": "W h e n   y o u   c r e a t e d   a   D e p l o y m e n t   i n   M o d u l e   2 ,   K u b e r n e t e s   c r e a t e d   a   P o d   t o   h o s t   y o u r   a p p l i c a t i o n   i n s t a n c e .   A   P o d   i s   a   K u b e r n e t e s   a b s t r a c t i o n   t h a t   r e p r e s e n t s   a   g r o u p   o f   o n e   o r   m o r e   a p p l i c a t i o n   c o n t a i n e r s   ( s u c h   a s   D o c k e r ) ,   a n d   s o m e   s h a r e d   r e s o u r c e s   f o r   t h o s e   c o n t a i n e r s .   T h o s e   r e s o u r c e s   i n c l u d e :   S h a r e d   s t o r a g e ,   a s   V o l u m e s N e t w o r k i n g ,   a s   a   u n i q u e   c l u s t e r   I P   a d d r e s s I n f o r m a t i o n   a b o u t   h o w   t o   r u n   e a c h   c o n t a i n e r ,   s u c h   a s   t h e   c o n t a i n e r   i m a g e   v e r s i o n   o r   s p e c i f i c   p o r t s   t o   u s e   A   P o d   m o d e l s   a n   a p p l i c a t i o n - s p e c i f i c   \" l o g i c a l   h o s t \"   a n d   c a n   c o n t a i n   d i f f e r e n t   a p p l i c a t i o n   c o n t a i n e r s   w h i c h   a r e   r e l a t i v e l y   t i g h t l y   c o u p l e d .   F o r   e x a m p l e ,   a   P o d   m i g h t   i n c l u d e   b o t h   t h e   c o n t a i n e r   w i t h   y o u r   N o d e . j s   a p p   a s   w e l l   a s   a   d i f f e r e n t   c o n t a i n e r   t h a t   f e e d s   t h e   d a t a   t o   b e   p u b l i s h e d   b y   t h e   N o d e . j s   w e b s e r v e r .   T h e   c o n t a i n e r s   i n   a   P o d   s h a r e   a n   I P   A d d r e s s   a n d   p o r t   s p a c e ,   a r e   a l w a y s   c o - l o c a t e d   a n d   c o - s c h e d u l e d ,   a n d   r u n   i n   a   s h a r e d   c o n t e x t   o n   t h e   s a m e   N o d e .   P o d s   a r e   t h e   a t o m i c   u n i t   o n   t h e   K u b e r n e t e s   p l a t f o r m .   W h e n   w e   c r e a t e   a   D e p l o y m e n t   o ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/explore/explore-intro/",
    "id": "k8s_00306_section_2_5620"
  },
  {
    "question": "What is Nodes?",
    "answer": "A   P o d   a l w a y s   r u n s   o n   a   N o d e .   A   N o d e   i s   a   w o r k e r   m a c h i n e   i n   K u b e r n e t e s   a n d   m a y   b e   e i t h e r   a   v i r t u a l   o r   a   p h y s i c a l   m a c h i n e ,   d e p e n d i n g   o n   t h e   c l u s t e r .   E a c h   N o d e   i s   m a n a g e d   b y   t h e   c o n t r o l   p l a n e .   A   N o d e   c a n   h a v e   m u l t i p l e   p o d s ,   a n d   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   a u t o m a t i c a l l y   h a n d l e s   s c h e d u l i n g   t h e   p o d s   a c r o s s   t h e   N o d e s   i n   t h e   c l u s t e r .   T h e   c o n t r o l   p l a n e ' s   a u t o m a t i c   s c h e d u l i n g   t a k e s   i n t o   a c c o u n t   t h e   a v a i l a b l e   r e s o u r c e s   o n   e a c h   N o d e .   E v e r y   K u b e r n e t e s   N o d e   r u n s   a t   l e a s t :   K u b e l e t ,   a   p r o c e s s   r e s p o n s i b l e   f o r   c o m m u n i c a t i o n   b e t w e e n   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   a n d   t h e   N o d e ;   i t   m a n a g e s   t h e   P o d s   a n d   t h e   c o n t a i n e r s   r u n n i n g   o n   a   m a c h i n e . A   c o n t a i n e r   r u n t i m e   ( l i k e   D o c k e r )   r e s p o n s i b l e   f o r   p u l l i n g   t h e   c o n t a i n e r   i m a g e   f r o m   a   r e g i s t r y ,   u n p a c k i n g   t h e   c o n t a i n e r ,   a n d   r u n n i n g   t h e   a p p l i c a t i o n .   K u b e l e t ,   a   p r o c e s s   r e s p o n s i b l e   f o r   c o m m u n i c a t i o n   b e t w e e n   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   a n d   t h e   N o d e ;   i t   m a n a g e s   t h e   P o d s   a n d   t h e   c o n t a i n e r s   r u n n i n g   o n   a   m a c h i n e .   A   c o n t a i n e r   r u n t i m e   ( l i k e   D o c k e r )   r e s p o n s i b l e   f o r   p u l l i n g   t h e   c o n t ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/explore/explore-intro/",
    "id": "k8s_00306_section_2_5621"
  },
  {
    "question": "What is Troubleshooting with kubectl?",
    "answer": "I n   M o d u l e   2 ,   y o u   u s e d   t h e   k u b e c t l   c o m m a n d - l i n e   i n t e r f a c e .   Y o u ' l l   c o n t i n u e   t o   u s e   i t   i n   M o d u l e   3   t o   g e t   i n f o r m a t i o n   a b o u t   d e p l o y e d   a p p l i c a t i o n s   a n d   t h e i r   e n v i r o n m e n t s .   T h e   m o s t   c o m m o n   o p e r a t i o n s   c a n   b e   d o n e   w i t h   t h e   f o l l o w i n g   k u b e c t l   s u b c o m m a n d s :   k u b e c t l   g e t   -   l i s t   r e s o u r c e s k u b e c t l   d e s c r i b e   -   s h o w   d e t a i l e d   i n f o r m a t i o n   a b o u t   a   r e s o u r c e k u b e c t l   l o g s   -   p r i n t   t h e   l o g s   f r o m   a   c o n t a i n e r   i n   a   p o d k u b e c t l   e x e c   -   e x e c u t e   a   c o m m a n d   o n   a   c o n t a i n e r   i n   a   p o d   Y o u   c a n   u s e   t h e s e   c o m m a n d s   t o   s e e   w h e n   a p p l i c a t i o n s   w e r e   d e p l o y e d ,   w h a t   t h e i r   c u r r e n t   s t a t u s e s   a r e ,   w h e r e   t h e y   a r e   r u n n i n g   a n d   w h a t   t h e i r   c o n f i g u r a t i o n s   a r e .   N o w   t h a t   w e   k n o w   m o r e   a b o u t   o u r   c l u s t e r   c o m p o n e n t s   a n d   t h e   c o m m a n d   l i n e ,   l e t ' s   e x p l o r e   o u r   a p p l i c a t i o n .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/explore/explore-intro/",
    "id": "k8s_00306_section_2_5622"
  },
  {
    "question": "What is Check application configuration?",
    "answer": "L e t ' s   v e r i f y   t h a t   t h e   a p p l i c a t i o n   w e   d e p l o y e d   i n   t h e   p r e v i o u s   s c e n a r i o   i s   r u n n i n g .   W e ' l l   u s e   t h e   k u b e c t l   g e t   c o m m a n d   a n d   l o o k   f o r   e x i s t i n g   P o d s :   k u b e c t l   g e t   p o d s   I f   n o   p o d s   a r e   r u n n i n g ,   p l e a s e   w a i t   a   c o u p l e   o f   s e c o n d s   a n d   l i s t   t h e   P o d s   a g a i n .   Y o u   c a n   c o n t i n u e   o n c e   y o u   s e e   o n e   P o d   r u n n i n g .   N e x t ,   t o   v i e w   w h a t   c o n t a i n e r s   a r e   i n s i d e   t h a t   P o d   a n d   w h a t   i m a g e s   a r e   u s e d   t o   b u i l d   t h o s e   c o n t a i n e r s   w e   r u n   t h e   k u b e c t l   d e s c r i b e   p o d s   c o m m a n d :   k u b e c t l   d e s c r i b e   p o d s   W e   s e e   h e r e   d e t a i l s   a b o u t   t h e   P o d ’ s   c o n t a i n e r :   I P   a d d r e s s ,   t h e   p o r t s   u s e d   a n d   a   l i s t   o f   e v e n t s   r e l a t e d   t o   t h e   l i f e c y c l e   o f   t h e   P o d .   T h e   o u t p u t   o f   t h e   d e s c r i b e   s u b c o m m a n d   i s   e x t e n s i v e   a n d   c o v e r s   s o m e   c o n c e p t s   t h a t   w e   d i d n ’ t   e x p l a i n   y e t ,   b u t   d o n ’ t   w o r r y ,   t h e y   w i l l   b e c o m e   f a m i l i a r   b y   t h e   e n d   o f   t h i s   t u t o r i a l .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/explore/explore-intro/",
    "id": "k8s_00306_section_3_5623"
  },
  {
    "question": "What is Show the app in the terminal?",
    "answer": "R e c a l l   t h a t   P o d s   a r e   r u n n i n g   i n   a n   i s o l a t e d ,   p r i v a t e   n e t w o r k   -   s o   w e   n e e d   t o   p r o x y   a c c e s s   t o   t h e m   s o   w e   c a n   d e b u g   a n d   i n t e r a c t   w i t h   t h e m .   T o   d o   t h i s ,   w e ' l l   u s e   t h e   k u b e c t l   p r o x y   c o m m a n d   t o   r u n   a   p r o x y   i n   a   s e c o n d   t e r m i n a l .   O p e n   a   n e w   t e r m i n a l   w i n d o w ,   a n d   i n   t h a t   n e w   t e r m i n a l ,   r u n :   k u b e c t l   p r o x y   N o w   a g a i n ,   w e ' l l   g e t   t h e   P o d   n a m e   a n d   q u e r y   t h a t   p o d   d i r e c t l y   t h r o u g h   t h e   p r o x y .   T o   g e t   t h e   P o d   n a m e   a n d   s t o r e   i t   i n   t h e   P O D _ N A M E   e n v i r o n m e n t   v a r i a b l e :   e x p o r t   P O D _ N A M E = \" $ ( k u b e c t l   g e t   p o d s   - o   g o - t e m p l a t e   - - t e m p l a t e   ' { { r a n g e   . i t e m s } } { { . m e t a d a t a . n a m e } } { { \" \\ n \" } } { { e n d } } ' ) \"   e c h o   N a m e   o f   t h e   P o d :   $ P O D _ N A M E   T o   s e e   t h e   o u t p u t   o f   o u r   a p p l i c a t i o n ,   r u n   a   c u r l   r e q u e s t :   c u r l   h t t p : / / l o c a l h o s t : 8 0 0 1 / a p i / v 1 / n a m e s p a c e s / d e f a u l t / p o d s / $ P O D _ N A M E : 8 0 8 0 / p r o x y /   T h e   U R L   i s   t h e   r o u t e   t o   t h e   A P I   o f   t h e   P o d .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/explore/explore-intro/",
    "id": "k8s_00306_section_3_5624"
  },
  {
    "question": "What is Executing commands on the container?",
    "answer": "W e   c a n   e x e c u t e   c o m m a n d s   d i r e c t l y   o n   t h e   c o n t a i n e r   o n c e   t h e   P o d   i s   u p   a n d   r u n n i n g .   F o r   t h i s ,   w e   u s e   t h e   e x e c   s u b c o m m a n d   a n d   u s e   t h e   n a m e   o f   t h e   P o d   a s   a   p a r a m e t e r .   L e t ’ s   l i s t   t h e   e n v i r o n m e n t   v a r i a b l e s :   k u b e c t l   e x e c   \" $ P O D _ N A M E \"   - -   e n v   A g a i n ,   i t ' s   w o r t h   m e n t i o n i n g   t h a t   t h e   n a m e   o f   t h e   c o n t a i n e r   i t s e l f   c a n   b e   o m i t t e d   s i n c e   w e   o n l y   h a v e   a   s i n g l e   c o n t a i n e r   i n   t h e   P o d .   N e x t   l e t ’ s   s t a r t   a   b a s h   s e s s i o n   i n   t h e   P o d ’ s   c o n t a i n e r :   k u b e c t l   e x e c   - t i   $ P O D _ N A M E   - -   b a s h   W e   h a v e   n o w   a n   o p e n   c o n s o l e   o n   t h e   c o n t a i n e r   w h e r e   w e   r u n   o u r   N o d e J S   a p p l i c a t i o n .   T h e   s o u r c e   c o d e   o f   t h e   a p p   i s   i n   t h e   s e r v e r . j s   f i l e :   c a t   s e r v e r . j s   Y o u   c a n   c h e c k   t h a t   t h e   a p p l i c a t i o n   i s   u p   b y   r u n n i n g   a   c u r l   c o m m a n d :   c u r l   h t t p : / / l o c a l h o s t : 8 0 8 0",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/explore/explore-intro/",
    "id": "k8s_00306_section_3_5625"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   c l o s e   y o u r   c o n t a i n e r   c o n n e c t i o n ,   t y p e   e x i t .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/explore/explore-intro/",
    "id": "k8s_00306_section_4_5626"
  },
  {
    "question": "What is What's next?",
    "answer": "T u t o r i a l   U s i n g   A   S e r v i c e   T o   E x p o s e   Y o u r   A p p . L e a r n   m o r e   a b o u t   P o d s . L e a r n   m o r e   a b o u t   N o d e s .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/explore/explore-intro/",
    "id": "k8s_00306_section_2_5627"
  },
  {
    "question": "What is MutatingWebhookConfiguration?",
    "answer": "MutatingWebhookConfigurationMutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.apiVersion: admissionregistration.k8s.io/v1import \"k8s.io/api/admissionregistration/v1\"MutatingWebhookConfigurationMutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.apiVersion: admissionregistration.k8s.io/v1kind: MutatingWebhookConfigurationmetadata (ObjectMeta)Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.webhooks ([]MutatingWebhook)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergeWebhooks is a list of webhooks and the affected resources and operations.MutatingWebhook describes an admission webhook and the resources and operations it applies to.webhooks.admissionReviewVersions ([]string), requiredAtomic: will be replaced during a mergeAdmissionReviewVersions is an ordered list of preferred AdmissionReview versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.webhooks.clientConfig (WebhookClientConfig), requiredClientConfig defines how to communicate with the hook. RequiredWebhookClientConfig contains the information to make a TLS connection with the webhookwebhooks.clientConfig.caBundle ([]byte)caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.webhooks.clientConfig.service (ServiceReference)service is a reference to the service for this webhook. Either service or url must be specified.If the webhook is running within the cluster, then you should use service.ServiceReference holds a reference to Service.legacy.k8s.iowebhooks.clientConfig.service.name (string), requiredname is the name of the service. Requiredwebhooks.clientConfig.service.namespace (string), requirednamespace is the namespace of the service. Requiredwebhooks.clientConfig.service.path (string)path is an optional URL path which will be sent in any request to this service.webhooks.clientConfig.service.port (int32)If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. port should be a valid port number (1-65535, inclusive).webhooks.clientConfig.url (string)url gives the location of the webhook, in standard URL form (scheme://host:port/path). Exactly one of url or service must be specified.The host should not refer to a service running in the cluster; use the service field instead. The host might be resolved via external DNS in ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_qa_5628"
  },
  {
    "question": "How does MutatingWebhookConfiguration work?",
    "answer": "MutatingWebhookConfigurationMutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.apiVersion: admissionregistration.k8s.io/v1import \"k8s.io/api/admissionregistration/v1\"MutatingWebhookConfigurationMutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.apiVersion: admissionregistration.k8s.io/v1kind: MutatingWebhookConfigurationmetadata (ObjectMeta)Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.webhooks ([]MutatingWebhook)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergeWebhooks is a list of webhooks and the affected resources and operations.MutatingWebhook describes an admission webhook and the resources and operations it applies to.webhooks.admissionReviewVersions ([]string), requiredAtomic: will be replaced during a mergeAdmissionReviewVersions is an ordered list of preferred AdmissionReview versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.webhooks.clientConfig (WebhookClientConfig), requiredClientConfig defines how to communicate with the hook. RequiredWebhookClientConfig contains the information to make a TLS connection with the webhookwebhooks.clientConfig.caBundle ([]byte)caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.webhooks.clientConfig.service (ServiceReference)service is a reference to the service for this webhook. Either service or url must be specified.If the webhook is running within the cluster, then you should use service.ServiceReference holds a reference to Service.legacy.k8s.iowebhooks.clientConfig.service.name (string), requiredname is the name of the service. Requiredwebhooks.clientConfig.service.namespace (string), requirednamespace is the namespace of the service. Requiredwebhooks.clientConfig.service.path (string)path is an optional URL path which will be sent in any request to this service.webhooks.clientConfig.service.port (int32)If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. port should be a valid port number (1-65535, inclusive).webhooks.clientConfig.url (string)url gives the location of the webhook, in standard URL form (scheme://host:port/path). Exactly one of url or service must be specified.The host should not refer to a service running in the cluster; use the service field instead. The host might be resolved via external DNS in ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_qa_5629"
  },
  {
    "question": "When would you use MutatingWebhookConfiguration?",
    "answer": "MutatingWebhookConfigurationMutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.apiVersion: admissionregistration.k8s.io/v1import \"k8s.io/api/admissionregistration/v1\"MutatingWebhookConfigurationMutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.apiVersion: admissionregistration.k8s.io/v1kind: MutatingWebhookConfigurationmetadata (ObjectMeta)Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.webhooks ([]MutatingWebhook)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergeWebhooks is a list of webhooks and the affected resources and operations.MutatingWebhook describes an admission webhook and the resources and operations it applies to.webhooks.admissionReviewVersions ([]string), requiredAtomic: will be replaced during a mergeAdmissionReviewVersions is an ordered list of preferred AdmissionReview versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.webhooks.clientConfig (WebhookClientConfig), requiredClientConfig defines how to communicate with the hook. RequiredWebhookClientConfig contains the information to make a TLS connection with the webhookwebhooks.clientConfig.caBundle ([]byte)caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.webhooks.clientConfig.service (ServiceReference)service is a reference to the service for this webhook. Either service or url must be specified.If the webhook is running within the cluster, then you should use service.ServiceReference holds a reference to Service.legacy.k8s.iowebhooks.clientConfig.service.name (string), requiredname is the name of the service. Requiredwebhooks.clientConfig.service.namespace (string), requirednamespace is the namespace of the service. Requiredwebhooks.clientConfig.service.path (string)path is an optional URL path which will be sent in any request to this service.webhooks.clientConfig.service.port (int32)If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. port should be a valid port number (1-65535, inclusive).webhooks.clientConfig.url (string)url gives the location of the webhook, in standard URL form (scheme://host:port/path). Exactly one of url or service must be specified.The host should not refer to a service running in the cluster; use the service field instead. The host might be resolved via external DNS in ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_qa_5630"
  },
  {
    "question": "What are the benefits of MutatingWebhookConfiguration?",
    "answer": "MutatingWebhookConfigurationMutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.apiVersion: admissionregistration.k8s.io/v1import \"k8s.io/api/admissionregistration/v1\"MutatingWebhookConfigurationMutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.apiVersion: admissionregistration.k8s.io/v1kind: MutatingWebhookConfigurationmetadata (ObjectMeta)Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.webhooks ([]MutatingWebhook)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergeWebhooks is a list of webhooks and the affected resources and operations.MutatingWebhook describes an admission webhook and the resources and operations it applies to.webhooks.admissionReviewVersions ([]string), requiredAtomic: will be replaced during a mergeAdmissionReviewVersions is an ordered list of preferred AdmissionReview versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.webhooks.clientConfig (WebhookClientConfig), requiredClientConfig defines how to communicate with the hook. RequiredWebhookClientConfig contains the information to make a TLS connection with the webhookwebhooks.clientConfig.caBundle ([]byte)caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.webhooks.clientConfig.service (ServiceReference)service is a reference to the service for this webhook. Either service or url must be specified.If the webhook is running within the cluster, then you should use service.ServiceReference holds a reference to Service.legacy.k8s.iowebhooks.clientConfig.service.name (string), requiredname is the name of the service. Requiredwebhooks.clientConfig.service.namespace (string), requirednamespace is the namespace of the service. Requiredwebhooks.clientConfig.service.path (string)path is an optional URL path which will be sent in any request to this service.webhooks.clientConfig.service.port (int32)If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. port should be a valid port number (1-65535, inclusive).webhooks.clientConfig.url (string)url gives the location of the webhook, in standard URL form (scheme://host:port/path). Exactly one of url or service must be specified.The host should not refer to a service running in the cluster; use the service field instead. The host might be resolved via external DNS in ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_qa_5631"
  },
  {
    "question": "What is MutatingWebhookConfiguration?",
    "answer": "a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a d m i s s i o n r e g i s t r a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_section_1_5632"
  },
  {
    "question": "What is MutatingWebhookConfiguration?",
    "answer": "M u t a t i n g W e b h o o k C o n f i g u r a t i o n   d e s c r i b e s   t h e   c o n f i g u r a t i o n   o f   a n d   a d m i s s i o n   w e b h o o k   t h a t   a c c e p t   o r   r e j e c t   a n d   m a y   c h a n g e   t h e   o b j e c t .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 k i n d :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a . w e b h o o k s   ( [ ] M u t a t i n g W e b h o o k ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   n a m e M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e W e b h o o k s   i s   a   l i s t   o f   w e b h o o k s   a n d   t h e   a f f e c t e d   r e s o u r c e s   a n d   o p e r a t i o n s . M u t a t i n g W e b h o o k   d e s c r i b e s   a n   a d m i s s i o n   w e b h o o k   a n d   t h e   r e s o u r c e s   a n d   o p e r a t i o n s   i t   a p p l i e s   t o . w e b h o o k s . a d m i s s i o n R e v i e w V e r s i o n s   ( [ ] s t r i n g ) ,   r e q u i r e d A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A d m i s s i o n R e v i e w V e r s i o n s   i s   a n   o r d e r e d   l i s t   o f   p r e f e r r e d   A d m i s s i o n R e v i e w   v e r s i o n s   t h e   W e b h o o k   e x p e c t s .   A P I   s e r v e r   w i l l   t r y   t o   u s e   f i r s t   v e r s i o n   i n   t h e   l i s t   w h i c h   i t   s u p p o r t s .   I f   n o n e   o f   t h e   v e r s i o n s   s p e c i f i e d   i n   t h i s   l i s t   s u p p o r t e d   b y   A P I   s e r v e r ,   v a l i d a t i o n   w i l l   f ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_section_2_5633"
  },
  {
    "question": "What is MutatingWebhookConfigurationList?",
    "answer": "M u t a t i n g W e b h o o k C o n f i g u r a t i o n L i s t   i s   a   l i s t   o f   M u t a t i n g W e b h o o k C o n f i g u r a t i o n .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 k i n d :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) ,   r e q u i r e d L i s t   o f   M u t a t i n g W e b h o o k C o n f i g u r a t i o n .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) ,   r e q u i r e d   L i s t   o f   M u t a t i n g W e b h o o k C o n f i g u r a t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_section_2_5634"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_section_4_5635"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_section_4_5636"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_section_4_5637"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_section_4_5638"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_section_4_5639"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_section_4_5640"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_section_4_5641"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_section_4_5642"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) :   O K   2 0 1   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) :   C r e a t e d   2 0 2   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_section_4_5643"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_section_4_5644"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n b o d y :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   b o d y :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_section_4_5645"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) :   O K   2 0 1   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_section_4_5646"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_section_4_5647"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_section_4_5648"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) :   O K   2 0 1   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_section_4_5649"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_section_4_5650"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_section_4_5651"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_section_4_5652"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_section_4_5653"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_section_4_5654"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/",
    "id": "k8s_00307_section_4_5655"
  },
  {
    "question": "What is kubectl?",
    "answer": "kubectlSynopsiskubectl controls the Kubernetes cluster manager.Find more information at: https://kubernetes.io/docs/reference/kubectl/kubectl [flags] Options--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server-h, --helphelp for kubectl--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=raw prints version information and qu",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl/",
    "id": "k8s_00308_qa_5656"
  },
  {
    "question": "How does kubectl work?",
    "answer": "kubectlSynopsiskubectl controls the Kubernetes cluster manager.Find more information at: https://kubernetes.io/docs/reference/kubectl/kubectl [flags] Options--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server-h, --helphelp for kubectl--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=raw prints version information and qu",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl/",
    "id": "k8s_00308_qa_5657"
  },
  {
    "question": "When would you use kubectl?",
    "answer": "kubectlSynopsiskubectl controls the Kubernetes cluster manager.Find more information at: https://kubernetes.io/docs/reference/kubectl/kubectl [flags] Options--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server-h, --helphelp for kubectl--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=raw prints version information and qu",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl/",
    "id": "k8s_00308_qa_5658"
  },
  {
    "question": "What are the benefits of kubectl?",
    "answer": "kubectlSynopsiskubectl controls the Kubernetes cluster manager.Find more information at: https://kubernetes.io/docs/reference/kubectl/kubectl [flags] Options--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server-h, --helphelp for kubectl--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=raw prints version information and qu",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl/",
    "id": "k8s_00308_qa_5659"
  },
  {
    "question": "What is Synopsis?",
    "answer": "k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r .   F i n d   m o r e   i n f o r m a t i o n   a t :   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / k u b e c t l /   k u b e c t l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl/",
    "id": "k8s_00308_section_2_5660"
  },
  {
    "question": "What is Options?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   h e l p   f o r   k u b e c t l   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl/",
    "id": "k8s_00308_section_2_5661"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   a n n o t a t e   -   U p d a t e   t h e   a n n o t a t i o n s   o n   a   r e s o u r c e k u b e c t l   a p i - r e s o u r c e s   -   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   o n   t h e   s e r v e r k u b e c t l   a p i - v e r s i o n s   -   P r i n t   t h e   s u p p o r t e d   A P I   v e r s i o n s   o n   t h e   s e r v e r ,   i n   t h e   f o r m   o f   \" g r o u p / v e r s i o n \" k u b e c t l   a p p l y   -   A p p l y   a   c o n f i g u r a t i o n   t o   a   r e s o u r c e   b y   f i l e   n a m e   o r   s t d i n k u b e c t l   a t t a c h   -   A t t a c h   t o   a   r u n n i n g   c o n t a i n e r k u b e c t l   a u t h   -   I n s p e c t   a u t h o r i z a t i o n k u b e c t l   a u t o s c a l e   -   A u t o - s c a l e   a   d e p l o y m e n t ,   r e p l i c a   s e t ,   s t a t e f u l   s e t ,   o r   r e p l i c a t i o n   c o n t r o l l e r k u b e c t l   c e r t i f i c a t e   -   M o d i f y   c e r t i f i c a t e   r e s o u r c e s k u b e c t l   c l u s t e r - i n f o   -   D i s p l a y   c l u s t e r   i n f o r m a t i o n k u b e c t l   c o m p l e t i o n   -   O u t p u t   s h e l l   c o m p l e t i o n   c o d e   f o r   t h e   s p e c i f i e d   s h e l l   ( b a s h ,   z s h ,   f i s h ,   o r   p o w e r s h e l l ) k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s k u b e c t l   c o r d o n   -   M a r k   n o d e   a s   u n s c h e d u l a b l e k u b e c t l   c p   -   C o p y   f i l e s   a n d   d i r e c t o r i e s   t o   a n d   f r o m   c o n t a i n e r s k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n k u b e c t l   d e b u g   -   C r e a t e   d e b u g g i n g   s e s s i o n s   f o r   t r o u b l e s h o o t i n g   w o r k l o a d s   a n d   n o d e s k u b e c t l   d e l e t e   -   D e l e t e   r e s o u ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl/",
    "id": "k8s_00308_section_2_5662"
  },
  {
    "question": "What is Cluster Administration?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Cluster AdministrationLower-level detail relevant to creating or administering a Kubernetes cluster.1: Node Shutdowns2: Swap memory management3: Node Autoscaling4: Certificates5: Cluster Networking6: Admission Webhook Good Practices7: Good practices for Dynamic Resource Allocation as a Cluster Admin8: Logging Architecture9: Compatibility Version For Kubernetes Control Plane Components10: Metrics For Kubernetes System Components11: Metrics for Kubernetes Object States12: System Logs13: Traces For Kubernetes System Components14: Proxies in Kubernetes15: API Priority and Fairness16: Installing Addons17: Coordinated Leader ElectionThe cluster administration overview is for anyone creating or administering a Kubernetes cluster. It assumes some familiarity with core Kubernetes concepts.Planning a clusterSee the guides in Setup for examples of how to plan, set up, and configure Kubernetes clusters. The solutions listed in this article are called distros.Note:Not all distros are actively maintained. Choose distros which have been tested with a recent version of Kubernetes.Before choosing a guide, here are some considerations:Do you want to try out Kubernetes on your computer, or do you want to build a high-availability, multi-node cluster? Choose distros best suited for your needs.Will you be using a hosted Kubernetes cluster, such as Google Kubernetes Engine, or hosting your own cluster?Will your cluster be on-premises, or in the cloud (IaaS)? Kubernetes does not directly support hybrid clusters. Instead, you can set up multiple clusters.If you are configuring Kubernetes on-premises, consider which networking model fits best.Will you be running Kubernetes on \"bare metal\" hardware or on virtual machines (VMs)?Do you want to run a cluster, or do you expect to do active development of Kubernetes project code? If the latter, choose an actively-developed distro. Some distros only use binary releases, but offer a greater variety of choices.Familiarize yourself with the components needed to run a cluster.Managing a clusterLearn how to manage nodes.Read about Node autoscaling.Learn how to set up and manage the resource quota for shared clusters.Securing a clusterGenerate Certificates describes the steps to generate certificates using different tool chains.Kubernetes Container Environment describes the environment for Kubelet managed containers on a Kubernetes node.Controlling Access to the Kubernetes API describes how Kubernetes implements access control for its own API.Authenticating explains authentication in Kubernetes, including the various authentication options.Authorization is separate from authentication, and controls how HTTP calls are handled.Using Admission Controllers explains plug-ins which intercepts requests to the Kubernetes API server after authentication and authorization.Admission Webhook Good Practices provides good practices an",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_qa_5663"
  },
  {
    "question": "How does Cluster Administration work?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Cluster AdministrationLower-level detail relevant to creating or administering a Kubernetes cluster.1: Node Shutdowns2: Swap memory management3: Node Autoscaling4: Certificates5: Cluster Networking6: Admission Webhook Good Practices7: Good practices for Dynamic Resource Allocation as a Cluster Admin8: Logging Architecture9: Compatibility Version For Kubernetes Control Plane Components10: Metrics For Kubernetes System Components11: Metrics for Kubernetes Object States12: System Logs13: Traces For Kubernetes System Components14: Proxies in Kubernetes15: API Priority and Fairness16: Installing Addons17: Coordinated Leader ElectionThe cluster administration overview is for anyone creating or administering a Kubernetes cluster. It assumes some familiarity with core Kubernetes concepts.Planning a clusterSee the guides in Setup for examples of how to plan, set up, and configure Kubernetes clusters. The solutions listed in this article are called distros.Note:Not all distros are actively maintained. Choose distros which have been tested with a recent version of Kubernetes.Before choosing a guide, here are some considerations:Do you want to try out Kubernetes on your computer, or do you want to build a high-availability, multi-node cluster? Choose distros best suited for your needs.Will you be using a hosted Kubernetes cluster, such as Google Kubernetes Engine, or hosting your own cluster?Will your cluster be on-premises, or in the cloud (IaaS)? Kubernetes does not directly support hybrid clusters. Instead, you can set up multiple clusters.If you are configuring Kubernetes on-premises, consider which networking model fits best.Will you be running Kubernetes on \"bare metal\" hardware or on virtual machines (VMs)?Do you want to run a cluster, or do you expect to do active development of Kubernetes project code? If the latter, choose an actively-developed distro. Some distros only use binary releases, but offer a greater variety of choices.Familiarize yourself with the components needed to run a cluster.Managing a clusterLearn how to manage nodes.Read about Node autoscaling.Learn how to set up and manage the resource quota for shared clusters.Securing a clusterGenerate Certificates describes the steps to generate certificates using different tool chains.Kubernetes Container Environment describes the environment for Kubelet managed containers on a Kubernetes node.Controlling Access to the Kubernetes API describes how Kubernetes implements access control for its own API.Authenticating explains authentication in Kubernetes, including the various authentication options.Authorization is separate from authentication, and controls how HTTP calls are handled.Using Admission Controllers explains plug-ins which intercepts requests to the Kubernetes API server after authentication and authorization.Admission Webhook Good Practices provides good practices an",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_qa_5664"
  },
  {
    "question": "When would you use Cluster Administration?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Cluster AdministrationLower-level detail relevant to creating or administering a Kubernetes cluster.1: Node Shutdowns2: Swap memory management3: Node Autoscaling4: Certificates5: Cluster Networking6: Admission Webhook Good Practices7: Good practices for Dynamic Resource Allocation as a Cluster Admin8: Logging Architecture9: Compatibility Version For Kubernetes Control Plane Components10: Metrics For Kubernetes System Components11: Metrics for Kubernetes Object States12: System Logs13: Traces For Kubernetes System Components14: Proxies in Kubernetes15: API Priority and Fairness16: Installing Addons17: Coordinated Leader ElectionThe cluster administration overview is for anyone creating or administering a Kubernetes cluster. It assumes some familiarity with core Kubernetes concepts.Planning a clusterSee the guides in Setup for examples of how to plan, set up, and configure Kubernetes clusters. The solutions listed in this article are called distros.Note:Not all distros are actively maintained. Choose distros which have been tested with a recent version of Kubernetes.Before choosing a guide, here are some considerations:Do you want to try out Kubernetes on your computer, or do you want to build a high-availability, multi-node cluster? Choose distros best suited for your needs.Will you be using a hosted Kubernetes cluster, such as Google Kubernetes Engine, or hosting your own cluster?Will your cluster be on-premises, or in the cloud (IaaS)? Kubernetes does not directly support hybrid clusters. Instead, you can set up multiple clusters.If you are configuring Kubernetes on-premises, consider which networking model fits best.Will you be running Kubernetes on \"bare metal\" hardware or on virtual machines (VMs)?Do you want to run a cluster, or do you expect to do active development of Kubernetes project code? If the latter, choose an actively-developed distro. Some distros only use binary releases, but offer a greater variety of choices.Familiarize yourself with the components needed to run a cluster.Managing a clusterLearn how to manage nodes.Read about Node autoscaling.Learn how to set up and manage the resource quota for shared clusters.Securing a clusterGenerate Certificates describes the steps to generate certificates using different tool chains.Kubernetes Container Environment describes the environment for Kubelet managed containers on a Kubernetes node.Controlling Access to the Kubernetes API describes how Kubernetes implements access control for its own API.Authenticating explains authentication in Kubernetes, including the various authentication options.Authorization is separate from authentication, and controls how HTTP calls are handled.Using Admission Controllers explains plug-ins which intercepts requests to the Kubernetes API server after authentication and authorization.Admission Webhook Good Practices provides good practices an",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_qa_5665"
  },
  {
    "question": "What are the benefits of Cluster Administration?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Cluster AdministrationLower-level detail relevant to creating or administering a Kubernetes cluster.1: Node Shutdowns2: Swap memory management3: Node Autoscaling4: Certificates5: Cluster Networking6: Admission Webhook Good Practices7: Good practices for Dynamic Resource Allocation as a Cluster Admin8: Logging Architecture9: Compatibility Version For Kubernetes Control Plane Components10: Metrics For Kubernetes System Components11: Metrics for Kubernetes Object States12: System Logs13: Traces For Kubernetes System Components14: Proxies in Kubernetes15: API Priority and Fairness16: Installing Addons17: Coordinated Leader ElectionThe cluster administration overview is for anyone creating or administering a Kubernetes cluster. It assumes some familiarity with core Kubernetes concepts.Planning a clusterSee the guides in Setup for examples of how to plan, set up, and configure Kubernetes clusters. The solutions listed in this article are called distros.Note:Not all distros are actively maintained. Choose distros which have been tested with a recent version of Kubernetes.Before choosing a guide, here are some considerations:Do you want to try out Kubernetes on your computer, or do you want to build a high-availability, multi-node cluster? Choose distros best suited for your needs.Will you be using a hosted Kubernetes cluster, such as Google Kubernetes Engine, or hosting your own cluster?Will your cluster be on-premises, or in the cloud (IaaS)? Kubernetes does not directly support hybrid clusters. Instead, you can set up multiple clusters.If you are configuring Kubernetes on-premises, consider which networking model fits best.Will you be running Kubernetes on \"bare metal\" hardware or on virtual machines (VMs)?Do you want to run a cluster, or do you expect to do active development of Kubernetes project code? If the latter, choose an actively-developed distro. Some distros only use binary releases, but offer a greater variety of choices.Familiarize yourself with the components needed to run a cluster.Managing a clusterLearn how to manage nodes.Read about Node autoscaling.Learn how to set up and manage the resource quota for shared clusters.Securing a clusterGenerate Certificates describes the steps to generate certificates using different tool chains.Kubernetes Container Environment describes the environment for Kubelet managed containers on a Kubernetes node.Controlling Access to the Kubernetes API describes how Kubernetes implements access control for its own API.Authenticating explains authentication in Kubernetes, including the various authentication options.Authorization is separate from authentication, and controls how HTTP calls are handled.Using Admission Controllers explains plug-ins which intercepts requests to the Kubernetes API server after authentication and authorization.Admission Webhook Good Practices provides good practices an",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_qa_5666"
  },
  {
    "question": "What is Cluster Administration?",
    "answer": "1 :   N o d e   S h u t d o w n s 2 :   S w a p   m e m o r y   m a n a g e m e n t 3 :   N o d e   A u t o s c a l i n g 4 :   C e r t i f i c a t e s 5 :   C l u s t e r   N e t w o r k i n g 6 :   A d m i s s i o n   W e b h o o k   G o o d   P r a c t i c e s 7 :   G o o d   p r a c t i c e s   f o r   D y n a m i c   R e s o u r c e   A l l o c a t i o n   a s   a   C l u s t e r   A d m i n 8 :   L o g g i n g   A r c h i t e c t u r e 9 :   C o m p a t i b i l i t y   V e r s i o n   F o r   K u b e r n e t e s   C o n t r o l   P l a n e   C o m p o n e n t s 1 0 :   M e t r i c s   F o r   K u b e r n e t e s   S y s t e m   C o m p o n e n t s 1 1 :   M e t r i c s   f o r   K u b e r n e t e s   O b j e c t   S t a t e s 1 2 :   S y s t e m   L o g s 1 3 :   T r a c e s   F o r   K u b e r n e t e s   S y s t e m   C o m p o n e n t s 1 4 :   P r o x i e s   i n   K u b e r n e t e s 1 5 :   A P I   P r i o r i t y   a n d   F a i r n e s s 1 6 :   I n s t a l l i n g   A d d o n s 1 7 :   C o o r d i n a t e d   L e a d e r   E l e c t i o n   T h e   c l u s t e r   a d m i n i s t r a t i o n   o v e r v i e w   i s   f o r   a n y o n e   c r e a t i n g   o r   a d m i n i s t e r i n g   a   K u b e r n e t e s   c l u s t e r .   I t   a s s u m e s   s o m e   f a m i l i a r i t y   w i t h   c o r e   K u b e r n e t e s   c o n c e p t s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_1_5667"
  },
  {
    "question": "What is Planning a cluster?",
    "answer": "S e e   t h e   g u i d e s   i n   S e t u p   f o r   e x a m p l e s   o f   h o w   t o   p l a n ,   s e t   u p ,   a n d   c o n f i g u r e   K u b e r n e t e s   c l u s t e r s .   T h e   s o l u t i o n s   l i s t e d   i n   t h i s   a r t i c l e   a r e   c a l l e d   d i s t r o s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5668"
  },
  {
    "question": "What is Note:?",
    "answer": "B e f o r e   c h o o s i n g   a   g u i d e ,   h e r e   a r e   s o m e   c o n s i d e r a t i o n s :   D o   y o u   w a n t   t o   t r y   o u t   K u b e r n e t e s   o n   y o u r   c o m p u t e r ,   o r   d o   y o u   w a n t   t o   b u i l d   a   h i g h - a v a i l a b i l i t y ,   m u l t i - n o d e   c l u s t e r ?   C h o o s e   d i s t r o s   b e s t   s u i t e d   f o r   y o u r   n e e d s . W i l l   y o u   b e   u s i n g   a   h o s t e d   K u b e r n e t e s   c l u s t e r ,   s u c h   a s   G o o g l e   K u b e r n e t e s   E n g i n e ,   o r   h o s t i n g   y o u r   o w n   c l u s t e r ? W i l l   y o u r   c l u s t e r   b e   o n - p r e m i s e s ,   o r   i n   t h e   c l o u d   ( I a a S ) ?   K u b e r n e t e s   d o e s   n o t   d i r e c t l y   s u p p o r t   h y b r i d   c l u s t e r s .   I n s t e a d ,   y o u   c a n   s e t   u p   m u l t i p l e   c l u s t e r s . I f   y o u   a r e   c o n f i g u r i n g   K u b e r n e t e s   o n - p r e m i s e s ,   c o n s i d e r   w h i c h   n e t w o r k i n g   m o d e l   f i t s   b e s t . W i l l   y o u   b e   r u n n i n g   K u b e r n e t e s   o n   \" b a r e   m e t a l \"   h a r d w a r e   o r   o n   v i r t u a l   m a c h i n e s   ( V M s ) ? D o   y o u   w a n t   t o   r u n   a   c l u s t e r ,   o r   d o   y o u   e x p e c t   t o   d o   a c t i v e   d e v e l o p m e n t   o f   K u b e r n e t e s   p r o j e c t   c o d e ?   I f   t h e   l a t t e r ,   c h o o s e   a n   a c t i v e l y - d e v e l o p e d   d i s t r o .   S o m e   d i s t r o s   o n l y   u s e   b i n a r y   r e l e a s e s ,   b u t   o f f e r   a   g r e a t e r   v a r i e t y   o f   c h o i c e s . F a m i l i a r i z e   y o u r s e l f   w i t h   t h e   c o m p o n e n t s   n e e d e d   t o   r u n   a   c l u s t e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5669"
  },
  {
    "question": "What is Managing a cluster?",
    "answer": "L e a r n   h o w   t o   m a n a g e   n o d e s . R e a d   a b o u t   N o d e   a u t o s c a l i n g . L e a r n   h o w   t o   s e t   u p   a n d   m a n a g e   t h e   r e s o u r c e   q u o t a   f o r   s h a r e d   c l u s t e r s .   L e a r n   h o w   t o   m a n a g e   n o d e s .   R e a d   a b o u t   N o d e   a u t o s c a l i n g .   L e a r n   h o w   t o   s e t   u p   a n d   m a n a g e   t h e   r e s o u r c e   q u o t a   f o r   s h a r e d   c l u s t e r s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5670"
  },
  {
    "question": "What is Securing a cluster?",
    "answer": "G e n e r a t e   C e r t i f i c a t e s   d e s c r i b e s   t h e   s t e p s   t o   g e n e r a t e   c e r t i f i c a t e s   u s i n g   d i f f e r e n t   t o o l   c h a i n s . K u b e r n e t e s   C o n t a i n e r   E n v i r o n m e n t   d e s c r i b e s   t h e   e n v i r o n m e n t   f o r   K u b e l e t   m a n a g e d   c o n t a i n e r s   o n   a   K u b e r n e t e s   n o d e . C o n t r o l l i n g   A c c e s s   t o   t h e   K u b e r n e t e s   A P I   d e s c r i b e s   h o w   K u b e r n e t e s   i m p l e m e n t s   a c c e s s   c o n t r o l   f o r   i t s   o w n   A P I . A u t h e n t i c a t i n g   e x p l a i n s   a u t h e n t i c a t i o n   i n   K u b e r n e t e s ,   i n c l u d i n g   t h e   v a r i o u s   a u t h e n t i c a t i o n   o p t i o n s . A u t h o r i z a t i o n   i s   s e p a r a t e   f r o m   a u t h e n t i c a t i o n ,   a n d   c o n t r o l s   h o w   H T T P   c a l l s   a r e   h a n d l e d . U s i n g   A d m i s s i o n   C o n t r o l l e r s   e x p l a i n s   p l u g - i n s   w h i c h   i n t e r c e p t s   r e q u e s t s   t o   t h e   K u b e r n e t e s   A P I   s e r v e r   a f t e r   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n . A d m i s s i o n   W e b h o o k   G o o d   P r a c t i c e s   p r o v i d e s   g o o d   p r a c t i c e s   a n d   c o n s i d e r a t i o n s   w h e n   d e s i g n i n g   m u t a t i n g   a d m i s s i o n   w e b h o o k s   a n d   v a l i d a t i n g   a d m i s s i o n   w e b h o o k s . U s i n g   S y s c t l s   i n   a   K u b e r n e t e s   C l u s t e r   d e s c r i b e s   t o   a n   a d m i n i s t r a t o r   h o w   t o   u s e   t h e   s y s c t l   c o m m a n d - l i n e   t o o l   t o   s e t   k e r n e l   p a r a m e t e r s   . A u d i t i n g   d e s c r i b e s   h o w   t o   i n t e r a c t   w i t h   K u b e r n e t e s '   a u d i t   l o g s .   G e n e r a t e   ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5671"
  },
  {
    "question": "What is Securing the kubelet?",
    "answer": "C o n t r o l   P l a n e - N o d e   c o m m u n i c a t i o n T L S   b o o t s t r a p p i n g K u b e l e t   a u t h e n t i c a t i o n / a u t h o r i z a t i o n",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5672"
  },
  {
    "question": "What is Optional Cluster Services?",
    "answer": "D N S   I n t e g r a t i o n   d e s c r i b e s   h o w   t o   r e s o l v e   a   D N S   n a m e   d i r e c t l y   t o   a   K u b e r n e t e s   s e r v i c e . L o g g i n g   a n d   M o n i t o r i n g   C l u s t e r   A c t i v i t y   e x p l a i n s   h o w   l o g g i n g   i n   K u b e r n e t e s   w o r k s   a n d   h o w   t o   i m p l e m e n t   i t .   D N S   I n t e g r a t i o n   d e s c r i b e s   h o w   t o   r e s o l v e   a   D N S   n a m e   d i r e c t l y   t o   a   K u b e r n e t e s   s e r v i c e .   L o g g i n g   a n d   M o n i t o r i n g   C l u s t e r   A c t i v i t y   e x p l a i n s   h o w   l o g g i n g   i n   K u b e r n e t e s   w o r k s   a n d   h o w   t o   i m p l e m e n t   i t .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5673"
  },
  {
    "question": "What is 1 - Node Shutdowns?",
    "answer": "I n   a   K u b e r n e t e s   c l u s t e r ,   a   n o d e   c a n   b e   s h u t   d o w n   i n   a   p l a n n e d   g r a c e f u l   w a y   o r   u n e x p e c t e d l y   b e c a u s e   o f   r e a s o n s   s u c h   a s   a   p o w e r   o u t a g e   o r   s o m e t h i n g   e l s e   e x t e r n a l .   A   n o d e   s h u t d o w n   c o u l d   l e a d   t o   w o r k l o a d   f a i l u r e   i f   t h e   n o d e   i s   n o t   d r a i n e d   b e f o r e   t h e   s h u t d o w n .   A   n o d e   s h u t d o w n   c a n   b e   e i t h e r   g r a c e f u l   o r   n o n - g r a c e f u l .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_1_5674"
  },
  {
    "question": "What is Graceful node shutdown?",
    "answer": "T h e   k u b e l e t   a t t e m p t s   t o   d e t e c t   n o d e   s y s t e m   s h u t d o w n   a n d   t e r m i n a t e s   p o d s   r u n n i n g   o n   t h e   n o d e .   K u b e l e t   e n s u r e s   t h a t   p o d s   f o l l o w   t h e   n o r m a l   p o d   t e r m i n a t i o n   p r o c e s s   d u r i n g   t h e   n o d e   s h u t d o w n .   D u r i n g   n o d e   s h u t d o w n ,   t h e   k u b e l e t   d o e s   n o t   a c c e p t   n e w   P o d s   ( e v e n   i f   t h o s e   P o d s   a r e   a l r e a d y   b o u n d   t o   t h e   n o d e ) .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5675"
  },
  {
    "question": "What is Enabling graceful node shutdown?",
    "answer": "F E A T U R E   S T A T E :   K u b e r n e t e s   v 1 . 2 1   [ b e t a ]   ( e n a b l e d   b y   d e f a u l t :   t r u e ) O n   L i n u x ,   t h e   g r a c e f u l   n o d e   s h u t d o w n   f e a t u r e   i s   c o n t r o l l e d   w i t h   t h e   G r a c e f u l N o d e S h u t d o w n   f e a t u r e   g a t e   w h i c h   i s   e n a b l e d   b y   d e f a u l t   i n   1 . 2 1 . N o t e : T h e   g r a c e f u l   n o d e   s h u t d o w n   f e a t u r e   d e p e n d s   o n   s y s t e m d   s i n c e   i t   t a k e s   a d v a n t a g e   o f   s y s t e m d   i n h i b i t o r   l o c k s   t o   d e l a y   t h e   n o d e   s h u t d o w n   w i t h   a   g i v e n   d u r a t i o n .   O n   L i n u x ,   t h e   g r a c e f u l   n o d e   s h u t d o w n   f e a t u r e   i s   c o n t r o l l e d   w i t h   t h e   G r a c e f u l N o d e S h u t d o w n   f e a t u r e   g a t e   w h i c h   i s   e n a b l e d   b y   d e f a u l t   i n   1 . 2 1 .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5676"
  },
  {
    "question": "What is Note:?",
    "answer": "F E A T U R E   S T A T E :   K u b e r n e t e s   v 1 . 3 4   [ b e t a ]   ( e n a b l e d   b y   d e f a u l t :   t r u e ) O n   W i n d o w s ,   t h e   g r a c e f u l   n o d e   s h u t d o w n   f e a t u r e   i s   c o n t r o l l e d   w i t h   t h e   W i n d o w s G r a c e f u l N o d e S h u t d o w n   f e a t u r e   g a t e   w h i c h   i s   i n t r o d u c e d   i n   1 . 3 2   a s   a n   a l p h a   f e a t u r e .   I n   K u b e r n e t e s   1 . 3 4   t h e   f e a t u r e   i s   B e t a   a n d   i s   e n a b l e d   b y   d e f a u l t . N o t e : T h e   W i n d o w s   g r a c e f u l   n o d e   s h u t d o w n   f e a t u r e   d e p e n d s   o n   k u b e l e t   r u n n i n g   a s   a   W i n d o w s   s e r v i c e ,   i t   w i l l   t h e n   h a v e   a   r e g i s t e r e d   s e r v i c e   c o n t r o l   h a n d l e r   t o   d e l a y   t h e   p r e s h u t d o w n   e v e n t   w i t h   a   g i v e n   d u r a t i o n . W i n d o w s   g r a c e f u l   n o d e   s h u t d o w n   c a n   n o t   b e   c a n c e l l e d . I f   k u b e l e t   i s   n o t   r u n n i n g   a s   a   W i n d o w s   s e r v i c e ,   i t   w i l l   n o t   b e   a b l e   t o   s e t   a n d   m o n i t o r   t h e   P r e s h u t d o w n   e v e n t ,   t h e   n o d e   w i l l   h a v e   t o   g o   t h r o u g h   t h e   N o n - G r a c e f u l   N o d e   S h u t d o w n   p r o c e d u r e   m e n t i o n e d   a b o v e . I n   t h e   c a s e   w h e r e   t h e   W i n d o w s   g r a c e f u l   n o d e   s h u t d o w n   f e a t u r e   i s   e n a b l e d ,   b u t   t h e   k u b e l e t   i s   n o t   r u n n i n g   a s   a   W i n d o w s   s e r v i c e ,   t h e   k u b e l e t   w i l l   c o n t i n u e   r u n n i n g   i n s t e a d   o f   f a i l i n g .   H o w e v e r ,   i t   w i l l   l o g   a n   e r r o r   i n d i c a t i n g   t h a t   i t   n e e d s   t o   b e   r u n   a s   a   W i n ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5677"
  },
  {
    "question": "What is Note:?",
    "answer": "W i n d o w s   g r a c e f u l   n o d e   s h u t d o w n   c a n   n o t   b e   c a n c e l l e d .   I f   k u b e l e t   i s   n o t   r u n n i n g   a s   a   W i n d o w s   s e r v i c e ,   i t   w i l l   n o t   b e   a b l e   t o   s e t   a n d   m o n i t o r   t h e   P r e s h u t d o w n   e v e n t ,   t h e   n o d e   w i l l   h a v e   t o   g o   t h r o u g h   t h e   N o n - G r a c e f u l   N o d e   S h u t d o w n   p r o c e d u r e   m e n t i o n e d   a b o v e .   I n   t h e   c a s e   w h e r e   t h e   W i n d o w s   g r a c e f u l   n o d e   s h u t d o w n   f e a t u r e   i s   e n a b l e d ,   b u t   t h e   k u b e l e t   i s   n o t   r u n n i n g   a s   a   W i n d o w s   s e r v i c e ,   t h e   k u b e l e t   w i l l   c o n t i n u e   r u n n i n g   i n s t e a d   o f   f a i l i n g .   H o w e v e r ,   i t   w i l l   l o g   a n   e r r o r   i n d i c a t i n g   t h a t   i t   n e e d s   t o   b e   r u n   a s   a   W i n d o w s   s e r v i c e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5678"
  },
  {
    "question": "What is Configuring graceful node shutdown?",
    "answer": "N o t e   t h a t   b y   d e f a u l t ,   b o t h   c o n f i g u r a t i o n   o p t i o n s   d e s c r i b e d   b e l o w ,   s h u t d o w n G r a c e P e r i o d   a n d   s h u t d o w n G r a c e P e r i o d C r i t i c a l P o d s ,   a r e   s e t   t o   z e r o ,   t h u s   n o t   a c t i v a t i n g   t h e   g r a c e f u l   n o d e   s h u t d o w n   f u n c t i o n a l i t y .   T o   a c t i v a t e   t h e   f e a t u r e ,   b o t h   o p t i o n s   s h o u l d   b e   c o n f i g u r e d   a p p r o p r i a t e l y   a n d   s e t   t o   n o n - z e r o   v a l u e s .   O n c e   t h e   k u b e l e t   i s   n o t i f i e d   o f   a   n o d e   s h u t d o w n ,   i t   s e t s   a   N o t R e a d y   c o n d i t i o n   o n   t h e   N o d e ,   w i t h   t h e   r e a s o n   s e t   t o   \" n o d e   i s   s h u t t i n g   d o w n \" .   T h e   k u b e - s c h e d u l e r   h o n o r s   t h i s   c o n d i t i o n   a n d   d o e s   n o t   s c h e d u l e   a n y   P o d s   o n t o   t h e   a f f e c t e d   n o d e ;   o t h e r   t h i r d - p a r t y   s c h e d u l e r s   a r e   e x p e c t e d   t o   f o l l o w   t h e   s a m e   l o g i c .   T h i s   m e a n s   t h a t   n e w   P o d s   w o n ' t   b e   s c h e d u l e d   o n t o   t h a t   n o d e   a n d   t h e r e f o r e   n o n e   w i l l   s t a r t .   T h e   k u b e l e t   a l s o   r e j e c t s   P o d s   d u r i n g   t h e   P o d A d m i s s i o n   p h a s e   i f   a n   o n g o i n g   n o d e   s h u t d o w n   h a s   b e e n   d e t e c t e d ,   s o   t h a t   e v e n   P o d s   w i t h   a   t o l e r a t i o n   f o r   n o d e . k u b e r n e t e s . i o / n o t - r e a d y : N o S c h e d u l e   d o   n o t   s t a r t   t h e r e .   W h e n   k u b e l e t   i s   s e t t i n g   t h a t   c o n d i t i o n   o n   i t s   N o d e   v i a   t h e   A P I ,   t h e   k u b e l e t   a l s o   b e g i n s   t e r m i n a t i ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5679"
  },
  {
    "question": "What is Note:?",
    "answer": "F o r   e x a m p l e ,   i f   s h u t d o w n G r a c e P e r i o d = 3 0 s ,   a n d   s h u t d o w n G r a c e P e r i o d C r i t i c a l P o d s = 1 0 s ,   k u b e l e t   w i l l   d e l a y   t h e   n o d e   s h u t d o w n   b y   3 0   s e c o n d s .   D u r i n g   t h e   s h u t d o w n ,   t h e   f i r s t   2 0   ( 3 0 - 1 0 )   s e c o n d s   w o u l d   b e   r e s e r v e d   f o r   g r a c e f u l l y   t e r m i n a t i n g   n o r m a l   p o d s ,   a n d   t h e   l a s t   1 0   s e c o n d s   w o u l d   b e   r e s e r v e d   f o r   t e r m i n a t i n g   c r i t i c a l   p o d s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5680"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   p o d s   w e r e   e v i c t e d   d u r i n g   t h e   g r a c e f u l   n o d e   s h u t d o w n ,   t h e y   a r e   m a r k e d   a s   s h u t d o w n .   R u n n i n g   k u b e c t l   g e t   p o d s   s h o w s   t h e   s t a t u s   o f   t h e   e v i c t e d   p o d s   a s   T e r m i n a t e d .   A n d   k u b e c t l   d e s c r i b e   p o d   i n d i c a t e s   t h a t   t h e   p o d   w a s   e v i c t e d   b e c a u s e   o f   n o d e   s h u t d o w n :   R e a s o n :   T e r m i n a t e d   M e s s a g e :   P o d   w a s   t e r m i n a t e d   i n   r e s p o n s e   t o   i m m i n e n t   n o d e   s h u t d o w n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5681"
  },
  {
    "question": "What is Pod Priority based graceful node shutdown?",
    "answer": "T o   p r o v i d e   m o r e   f l e x i b i l i t y   d u r i n g   g r a c e f u l   n o d e   s h u t d o w n   a r o u n d   t h e   o r d e r i n g   o f   p o d s   d u r i n g   s h u t d o w n ,   g r a c e f u l   n o d e   s h u t d o w n   h o n o r s   t h e   P r i o r i t y C l a s s   f o r   P o d s ,   p r o v i d e d   t h a t   y o u   e n a b l e d   t h i s   f e a t u r e   i n   y o u r   c l u s t e r .   T h e   f e a t u r e   a l l o w s   c l u s t e r   a d m i n i s t r a t o r s   t o   e x p l i c i t l y   d e f i n e   t h e   o r d e r i n g   o f   p o d s   d u r i n g   g r a c e f u l   n o d e   s h u t d o w n   b a s e d   o n   p r i o r i t y   c l a s s e s .   T h e   G r a c e f u l   N o d e   S h u t d o w n   f e a t u r e ,   a s   d e s c r i b e d   a b o v e ,   s h u t s   d o w n   p o d s   i n   t w o   p h a s e s ,   n o n - c r i t i c a l   p o d s ,   f o l l o w e d   b y   c r i t i c a l   p o d s .   I f   a d d i t i o n a l   f l e x i b i l i t y   i s   n e e d e d   t o   e x p l i c i t l y   d e f i n e   t h e   o r d e r i n g   o f   p o d s   d u r i n g   s h u t d o w n   i n   a   m o r e   g r a n u l a r   w a y ,   p o d   p r i o r i t y   b a s e d   g r a c e f u l   s h u t d o w n   c a n   b e   u s e d .   W h e n   g r a c e f u l   n o d e   s h u t d o w n   h o n o r s   p o d   p r i o r i t i e s ,   t h i s   m a k e s   i t   p o s s i b l e   t o   d o   g r a c e f u l   n o d e   s h u t d o w n   i n   m u l t i p l e   p h a s e s ,   e a c h   p h a s e   s h u t t i n g   d o w n   a   p a r t i c u l a r   p r i o r i t y   c l a s s   o f   p o d s .   T h e   k u b e l e t   c a n   b e   c o n f i g u r e d   w i t h   t h e   e x a c t   p h a s e s   a n d   s h u t d o w n   t i m e   p e r   p h a s e .   A s s u m i n g   t h e   f o l l o w i n g   c u s t o m   p o d   p r i o r i t y   c l a s s e s   i n   a   c l u s t e r ,   W i t h i n   t h e ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5682"
  },
  {
    "question": "What is Note:?",
    "answer": "M e t r i c s   g r a c e f u l _ s h u t d o w n _ s t a r t _ t i m e _ s e c o n d s   a n d   g r a c e f u l _ s h u t d o w n _ e n d _ t i m e _ s e c o n d s   a r e   e m i t t e d   u n d e r   t h e   k u b e l e t   s u b s y s t e m   t o   m o n i t o r   n o d e   s h u t d o w n s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5683"
  },
  {
    "question": "What is Non-graceful node shutdown handling?",
    "answer": "A   n o d e   s h u t d o w n   a c t i o n   m a y   n o t   b e   d e t e c t e d   b y   k u b e l e t ' s   N o d e   S h u t d o w n   M a n a g e r ,   e i t h e r   b e c a u s e   t h e   c o m m a n d   d o e s   n o t   t r i g g e r   t h e   i n h i b i t o r   l o c k s   m e c h a n i s m   u s e d   b y   k u b e l e t   o r   b e c a u s e   o f   a   u s e r   e r r o r ,   i . e . ,   t h e   S h u t d o w n G r a c e P e r i o d   a n d   S h u t d o w n G r a c e P e r i o d C r i t i c a l P o d s   a r e   n o t   c o n f i g u r e d   p r o p e r l y .   P l e a s e   r e f e r   t o   a b o v e   s e c t i o n   G r a c e f u l   N o d e   S h u t d o w n   f o r   m o r e   d e t a i l s .   W h e n   a   n o d e   i s   s h u t d o w n   b u t   n o t   d e t e c t e d   b y   k u b e l e t ' s   N o d e   S h u t d o w n   M a n a g e r ,   t h e   p o d s   t h a t   a r e   p a r t   o f   a   S t a t e f u l S e t   w i l l   b e   s t u c k   i n   t e r m i n a t i n g   s t a t u s   o n   t h e   s h u t d o w n   n o d e   a n d   c a n n o t   m o v e   t o   a   n e w   r u n n i n g   n o d e .   T h i s   i s   b e c a u s e   k u b e l e t   o n   t h e   s h u t d o w n   n o d e   i s   n o t   a v a i l a b l e   t o   d e l e t e   t h e   p o d s   s o   t h e   S t a t e f u l S e t   c a n n o t   c r e a t e   a   n e w   p o d   w i t h   t h e   s a m e   n a m e .   I f   t h e r e   a r e   v o l u m e s   u s e d   b y   t h e   p o d s ,   t h e   V o l u m e A t t a c h m e n t s   w i l l   n o t   b e   d e l e t e d   f r o m   t h e   o r i g i n a l   s h u t d o w n   n o d e   s o   t h e   v o l u m e s   u s e d   b y   t h e s e   p o d s   c a n n o t   b e   a t t a c h e d   t o   a   n e w   r u n n i n g   n o d e .   A s   a   r e s u l t ,   t h e   a p p l i c a t i o n   r u n n i n g   o n   t h e   S t a t e f u l S e t   c a n n o t   f u n c t i o n   p r o p e r l y .   I f   t h e   o r ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5684"
  },
  {
    "question": "What is Note:?",
    "answer": "B e f o r e   a d d i n g   t h e   t a i n t   n o d e . k u b e r n e t e s . i o / o u t - o f - s e r v i c e ,   i t   s h o u l d   b e   v e r i f i e d   t h a t   t h e   n o d e   i s   a l r e a d y   i n   s h u t d o w n   o r   p o w e r   o f f   s t a t e   ( n o t   i n   t h e   m i d d l e   o f   r e s t a r t i n g ) . T h e   u s e r   i s   r e q u i r e d   t o   m a n u a l l y   r e m o v e   t h e   o u t - o f - s e r v i c e   t a i n t   a f t e r   t h e   p o d s   a r e   m o v e d   t o   a   n e w   n o d e   a n d   t h e   u s e r   h a s   c h e c k e d   t h a t   t h e   s h u t d o w n   n o d e   h a s   b e e n   r e c o v e r e d   s i n c e   t h e   u s e r   w a s   t h e   o n e   w h o   o r i g i n a l l y   a d d e d   t h e   t a i n t .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5685"
  },
  {
    "question": "What is Forced storage detach on timeout?",
    "answer": "I n   a n y   s i t u a t i o n   w h e r e   a   p o d   d e l e t i o n   h a s   n o t   s u c c e e d e d   f o r   6   m i n u t e s ,   k u b e r n e t e s   w i l l   f o r c e   d e t a c h   v o l u m e s   b e i n g   u n m o u n t e d   i f   t h e   n o d e   i s   u n h e a l t h y   a t   t h a t   i n s t a n t .   A n y   w o r k l o a d   s t i l l   r u n n i n g   o n   t h e   n o d e   t h a t   u s e s   a   f o r c e - d e t a c h e d   v o l u m e   w i l l   c a u s e   a   v i o l a t i o n   o f   t h e   C S I   s p e c i f i c a t i o n ,   w h i c h   s t a t e s   t h a t   C o n t r o l l e r U n p u b l i s h V o l u m e   \" m u s t   b e   c a l l e d   a f t e r   a l l   N o d e U n s t a g e V o l u m e   a n d   N o d e U n p u b l i s h V o l u m e   o n   t h e   v o l u m e   a r e   c a l l e d   a n d   s u c c e e d \" .   I n   s u c h   c i r c u m s t a n c e s ,   v o l u m e s   o n   t h e   n o d e   i n   q u e s t i o n   m i g h t   e n c o u n t e r   d a t a   c o r r u p t i o n .   T h e   f o r c e d   s t o r a g e   d e t a c h   b e h a v i o u r   i s   o p t i o n a l ;   u s e r s   m i g h t   o p t   t o   u s e   t h e   \" N o n - g r a c e f u l   n o d e   s h u t d o w n \"   f e a t u r e   i n s t e a d .   F o r c e   s t o r a g e   d e t a c h   o n   t i m e o u t   c a n   b e   d i s a b l e d   b y   s e t t i n g   t h e   d i s a b l e - f o r c e - d e t a c h - o n - t i m e o u t   c o n f i g   f i e l d   i n   k u b e - c o n t r o l l e r - m a n a g e r .   D i s a b l i n g   t h e   f o r c e   d e t a c h   o n   t i m e o u t   f e a t u r e   m e a n s   t h a t   a   v o l u m e   t h a t   i s   h o s t e d   o n   a   n o d e   t h a t   i s   u n h e a l t h y   f o r   m o r e   t h a n   6   m i n u t e s   w i l l   n o t   h a v e   i t s   a s s o c i a t e d   V o l u m e A t t a c h m e n t   d e l e t e d .   A f t e r   t h i s   s e t t i n g   h a s   b e e n ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5686"
  },
  {
    "question": "What is Note:?",
    "answer": "C a u t i o n   m u s t   b e   t a k e n   w h i l e   u s i n g   t h e   N o n - G r a c e f u l   N o d e   S h u t d o w n   p r o c e d u r e . D e v i a t i o n   f r o m   t h e   s t e p s   d o c u m e n t e d   a b o v e   c a n   r e s u l t   i n   d a t a   c o r r u p t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5687"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   t h e   f o l l o w i n g :   B l o g :   N o n - G r a c e f u l   N o d e   S h u t d o w n . C l u s t e r   A r c h i t e c t u r e :   N o d e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5688"
  },
  {
    "question": "What is 2 - Swap memory management?",
    "answer": "K u b e r n e t e s   c a n   b e   c o n f i g u r e d   t o   u s e   s w a p   m e m o r y   o n   a   n o d e ,   a l l o w i n g   t h e   k e r n e l   t o   f r e e   u p   p h y s i c a l   m e m o r y   b y   s w a p p i n g   o u t   p a g e s   t o   b a c k i n g   s t o r a g e .   T h i s   i s   u s e f u l   f o r   m u l t i p l e   u s e - c a s e s .   F o r   e x a m p l e ,   n o d e s   r u n n i n g   w o r k l o a d s   t h a t   c a n   b e n e f i t   f r o m   u s i n g   s w a p ,   s u c h   a s   t h o s e   t h a t   h a v e   l a r g e   m e m o r y   f o o t p r i n t s   b u t   o n l y   a c c e s s   a   p o r t i o n   o f   t h a t   m e m o r y   a t   a n y   g i v e n   t i m e .   I t   a l s o   h e l p s   p r e v e n t   P o d s   f r o m   b e i n g   t e r m i n a t e d   d u r i n g   m e m o r y   p r e s s u r e   s p i k e s ,   s h i e l d s   n o d e s   f r o m   s y s t e m - l e v e l   m e m o r y   s p i k e s   t h a t   m i g h t   c o m p r o m i s e   i t s   s t a b i l i t y ,   a l l o w s   f o r   m o r e   f l e x i b l e   m e m o r y   m a n a g e m e n t   o n   t h e   n o d e ,   a n d   m u c h   m o r e .   T o   l e a r n   a b o u t   c o n f i g u r i n g   s w a p   i n   y o u r   c l u s t e r ,   r e a d   C o n f i g u r i n g   s w a p   m e m o r y   o n   K u b e r n e t e s   n o d e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_1_5689"
  },
  {
    "question": "What is Operating system support?",
    "answer": "L i n u x   n o d e s   s u p p o r t   s w a p ;   y o u   n e e d   t o   c o n f i g u r e   e a c h   n o d e   t o   e n a b l e   i t .   B y   d e f a u l t ,   t h e   k u b e l e t   w i l l   n o t   s t a r t   o n   a   L i n u x   n o d e   t h a t   h a s   s w a p   e n a b l e d . W i n d o w s   n o d e s   r e q u i r e   s w a p   s p a c e .   B y   d e f a u l t ,   t h e   k u b e l e t   d o e s   n o t   s t a r t   o n   a   W i n d o w s   n o d e   t h a t   h a s   s w a p   d i s a b l e d .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5690"
  },
  {
    "question": "What is How does it work??",
    "answer": "T h e r e   a r e   a   n u m b e r   o f   p o s s i b l e   w a y s   t h a t   o n e   c o u l d   e n v i s i o n   s w a p   u s e   o n   a   n o d e .   I f   k u b e l e t   i s   a l r e a d y   r u n n i n g   o n   a   n o d e ,   i t   w o u l d   n e e d   t o   b e   r e s t a r t e d   a f t e r   s w a p   i s   p r o v i s i o n e d   i n   o r d e r   t o   i d e n t i f y   i t .   W h e n   k u b e l e t   s t a r t s   o n   a   n o d e   i n   w h i c h   s w a p   i s   p r o v i s i o n e d   a n d   a v a i l a b l e   ( w i t h   t h e   f a i l S w a p O n :   f a l s e   c o n f i g u r a t i o n ) ,   k u b e l e t   w i l l :   B e   a b l e   t o   s t a r t   o n   t h i s   s w a p - e n a b l e d   n o d e . D i r e c t   t h e   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I )   i m p l e m e n t a t i o n ,   o f t e n   r e f e r r e d   t o   a s   t h e   c o n t a i n e r   r u n t i m e ,   t o   a l l o c a t e   z e r o   s w a p   m e m o r y   t o   K u b e r n e t e s   w o r k l o a d s   b y   d e f a u l t .   S w a p   c o n f i g u r a t i o n   o n   a   n o d e   i s   e x p o s e d   t o   a   c l u s t e r   a d m i n   v i a   t h e   m e m o r y S w a p   i n   t h e   K u b e l e t C o n f i g u r a t i o n .   A s   a   c l u s t e r   a d m i n i s t r a t o r ,   y o u   c a n   s p e c i f y   t h e   n o d e ' s   b e h a v i o u r   i n   t h e   p r e s e n c e   o f   s w a p   m e m o r y   b y   s e t t i n g   m e m o r y S w a p . s w a p B e h a v i o r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5691"
  },
  {
    "question": "What is Swap behaviors?",
    "answer": "Y o u   n e e d   t o   p i c k   a   s w a p   b e h a v i o r   t o   u s e .   D i f f e r e n t   n o d e s   i n   y o u r   c l u s t e r   c a n   u s e   d i f f e r e n t   s w a p   b e h a v i o r s .   T h e   s w a p   b e h a v i o r s   y o u   c a n   c h o o s e   f o r   L i n u x   n o d e s   a r e :",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5692"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   c h o o s e   t h e   N o S w a p   b e h a v i o r ,   a n d   y o u   c o n f i g u r e   t h e   k u b e l e t   t o   t o l e r a t e   s w a p   s p a c e   ( f a i l S w a p O n :   f a l s e ) ,   t h e n   y o u r   w o r k l o a d s   d o n ' t   u s e   a n y   s w a p .   H o w e v e r ,   p r o c e s s e s   o u t s i d e   o f   K u b e r n e t e s - m a n a g e d   c o n t a i n e r s ,   s u c h   a s   s y s t e m i   s e r v i c e s   ( a n d   e v e n   t h e   k u b e l e t   i t s e l f ! )   c a n   u t i l i z e   s w a p .   Y o u   c a n   r e a d   c o n f i g u r i n g   s w a p   m e m o r y   o n   K u b e r n e t e s   n o d e s   t o   l e a r n   a b o u t   e n a b l i n g   s w a p   f o r   y o u r   c l u s t e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5693"
  },
  {
    "question": "What is Container runtime integration?",
    "answer": "T h e   k u b e l e t   u s e s   t h e   c o n t a i n e r   r u n t i m e   A P I ,   a n d   d i r e c t s   t h e   c o n t a i n e r   r u n t i m e   t o   a p p l y   s p e c i f i c   c o n f i g u r a t i o n   ( f o r   e x a m p l e ,   i n   t h e   c g r o u p   v 2   c a s e ,   m e m o r y . s w a p . m a x )   i n   a   m a n n e r   t h a t   w i l l   e n a b l e   t h e   d e s i r e d   s w a p   c o n f i g u r a t i o n   f o r   a   c o n t a i n e r .   F o r   r u n t i m e s   t h a t   u s e   c o n t r o l   g r o u p s ,   o r   c g r o u p s ,   t h e   c o n t a i n e r   r u n t i m e   i s   t h e n   r e s p o n s i b l e   f o r   w r i t i n g   t h e s e   s e t t i n g s   t o   t h e   c o n t a i n e r - l e v e l   c g r o u p .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5694"
  },
  {
    "question": "What is Node and container level metric statistics?",
    "answer": "K u b e l e t   n o w   c o l l e c t s   n o d e   a n d   c o n t a i n e r   l e v e l   m e t r i c   s t a t i s t i c s ,   w h i c h   c a n   b e   a c c e s s e d   a t   t h e   / m e t r i c s / r e s o u r c e   ( w h i c h   i s   u s e d   m a i n l y   b y   m o n i t o r i n g   t o o l s   l i k e   P r o m e t h e u s )   a n d   / s t a t s / s u m m a r y   ( w h i c h   i s   u s e d   m a i n l y   b y   A u t o s c a l e r s )   k u b e l e t   H T T P   e n d p o i n t s .   T h i s   a l l o w s   c l i e n t s   w h o   c a n   d i r e c t l y   r e q u e s t   t h e   k u b e l e t   t o   m o n i t o r   s w a p   u s a g e   a n d   r e m a i n i n g   s w a p   m e m o r y   w h e n   u s i n g   L i m i t e d S w a p .   A d d i t i o n a l l y ,   a   m a c h i n e _ s w a p _ b y t e s   m e t r i c   h a s   b e e n   a d d e d   t o   c a d v i s o r   t o   s h o w   t h e   t o t a l   p h y s i c a l   s w a p   c a p a c i t y   o f   t h e   m a c h i n e .   S e e   t h i s   p a g e   f o r   m o r e   i n f o .   F o r   e x a m p l e ,   t h e s e   / m e t r i c s / r e s o u r c e   a r e   s u p p o r t e d :   n o d e _ s w a p _ u s a g e _ b y t e s :   C u r r e n t   s w a p   u s a g e   o f   t h e   n o d e   i n   b y t e s . c o n t a i n e r _ s w a p _ u s a g e _ b y t e s :   C u r r e n t   a m o u n t   o f   t h e   c o n t a i n e r   s w a p   u s a g e   i n   b y t e s . c o n t a i n e r _ s w a p _ l i m i t _ b y t e s :   C u r r e n t   a m o u n t   o f   t h e   c o n t a i n e r   s w a p   l i m i t   i n   b y t e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5695"
  },
  {
    "question": "What is Using kubectl top --show-swap?",
    "answer": "Q u e r y i n g   m e t r i c s   i s   v a l u a b l e ,   b u t   s o m e w h a t   c u m b e r s o m e ,   a s   t h e s e   m e t r i c s   a r e   d e s i g n e d   t o   b e   u s e d   b y   s o f t w a r e   r a t h e r   t h a n   h u m a n s .   I n   o r d e r   t o   c o n s u m e   t h i s   d a t a   i n   a   m o r e   u s e r - f r i e n d l y   w a y ,   t h e   k u b e c t l   t o p   c o m m a n d   h a s   b e e n   e x t e n d e d   t o   s u p p o r t   s w a p   m e t r i c s ,   u s i n g   t h e   - - s h o w - s w a p   f l a g .   I n   o r d e r   t o   r e c e i v e   i n f o r m a t i o n   a b o u t   s w a p   u s a g e   o n   n o d e s ,   k u b e c t l   t o p   n o d e s   - - s h o w - s w a p   c a n   b e   u s e d :   k u b e c t l   t o p   n o d e s   - - s h o w - s w a p   T h i s   w i l l   r e s u l t   i n   a n   o u t p u t   s i m i l a r   t o :   N A M E   C P U ( c o r e s )   C P U ( % )   M E M O R Y ( b y t e s )   M E M O R Y ( % )   S W A P ( b y t e s )   S W A P ( % )   n o d e 1   1 m   1 0 %   2 M i   1 0 %   1 M i   0 %   n o d e 2   5 m   1 0 %   6 M i   1 0 %   2 M i   0 %   n o d e 3   3 m   1 0 %   4 M i   1 0 %   < u n k n o w n >   < u n k n o w n >   I n   o r d e r   t o   r e c e i v e   i n f o r m a t i o n   a b o u t   s w a p   u s a g e   b y   p o d s ,   k u b e c t l   t o p   n o d e s   - - s h o w - s w a p   c a n   b e   u s e d :   k u b e c t l   t o p   p o d   - n   k u b e - s y s t e m   - - s h o w - s w a p   T h i s   w i l l   r e s u l t   i n   a n   o u t p u t   s i m i l a r   t o :   N A M E   C P U ( c o r e s )   M E M O R Y ( b y t e s )   S W A P ( b y t e s )   c o r e d n s - 5 8 d 5 b c 5 c d b - 5 n b k 4   2 m   1 9 M i   0 M i   c o r e d n s - 5 8 d 5 b c 5 c d b - j s h 2 6   3 m   3 7 M i   0 M i   e t c d - n o d e 0 1   5 1 m   1 4 3 M i   5 M i   k u b e - a p i s e r v e r - n o d e 0 1   9 8 m   8 2 4 M i   1 6 M i   k u b e - c o n t r o l l e r ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5696"
  },
  {
    "question": "What is Nodes to report swap capacity as part of node status?",
    "answer": "A   n e w   n o d e   s t a t u s   f i e l d   i s   n o w   a d d e d ,   n o d e . s t a t u s . n o d e I n f o . s w a p . c a p a c i t y ,   t o   r e p o r t   t h e   s w a p   c a p a c i t y   o f   a   n o d e .   A s   a n   e x a m p l e ,   t h e   f o l l o w i n g   c o m m a n d   c a n   b e   u s e d   t o   r e t r i e v e   t h e   s w a p   c a p a c i t y   o f   t h e   n o d e s   i n   a   c l u s t e r :   k u b e c t l   g e t   n o d e s   - o   g o - t e m p l a t e = ' { { r a n g e   . i t e m s } } { { . m e t a d a t a . n a m e } } :   { { i f   . s t a t u s . n o d e I n f o . s w a p . c a p a c i t y } } { { . s t a t u s . n o d e I n f o . s w a p . c a p a c i t y } } { { e l s e } } < u n k n o w n > { { e n d } } { { \" \\ n \" } } { { e n d } } '   T h i s   w i l l   r e s u l t   i n   a n   o u t p u t   s i m i l a r   t o :   n o d e 1 :   2 1 4 7 4 8 3 6 4 8 0   n o d e 2 :   4 2 9 4 9 6 6 4 7 6 8   n o d e 3 :   < u n k n o w n >",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5697"
  },
  {
    "question": "What is Swap discovery using Node Feature Discovery (NFD)?",
    "answer": "N o d e   F e a t u r e   D i s c o v e r y   i s   a   K u b e r n e t e s   a d d o n   f o r   d e t e c t i n g   h a r d w a r e   f e a t u r e s   a n d   c o n f i g u r a t i o n .   I t   c a n   b e   u t i l i z e d   t o   d i s c o v e r   w h i c h   n o d e s   a r e   p r o v i s i o n e d   w i t h   s w a p .   A s   a n   e x a m p l e ,   t o   f i g u r e   o u t   w h i c h   n o d e s   a r e   p r o v i s i o n e d   w i t h   s w a p ,   u s e   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   g e t   n o d e s   - o   j s o n p a t h = ' { r a n g e   . i t e m s [ ? ( @ . m e t a d a t a . l a b e l s . f e a t u r e \\ . n o d e \\ . k u b e r n e t e s \\ . i o / m e m o r y - s w a p ) ] } { . m e t a d a t a . n a m e } { \" \\ t \" } { . m e t a d a t a . l a b e l s . f e a t u r e \\ . n o d e \\ . k u b e r n e t e s \\ . i o / m e m o r y - s w a p } { \" \\ n \" } { e n d } '   T h i s   w i l l   r e s u l t   i n   a n   o u t p u t   s i m i l a r   t o :   k 8 s - w o r k e r 1 :   t r u e   k 8 s - w o r k e r 2 :   t r u e   k 8 s - w o r k e r 3 :   f a l s e   I n   t h i s   e x a m p l e ,   s w a p   i s   p r o v i s i o n e d   o n   n o d e s   k 8 s - w o r k e r 1   a n d   k 8 s - w o r k e r 2 ,   b u t   n o t   o n   k 8 s - w o r k e r 3 .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5698"
  },
  {
    "question": "What is Caution:?",
    "answer": "H a v i n g   s w a p   a v a i l a b l e   o n   a   s y s t e m   r e d u c e s   p r e d i c t a b i l i t y .   W h i l e   s w a p   c a n   e n h a n c e   p e r f o r m a n c e   b y   m a k i n g   m o r e   R A M   a v a i l a b l e ,   s w a p p i n g   d a t a   b a c k   t o   m e m o r y   i s   a   h e a v y   o p e r a t i o n ,   s o m e t i m e s   s l o w e r   b y   m a n y   o r d e r s   o f   m a g n i t u d e ,   w h i c h   c a n   c a u s e   u n e x p e c t e d   p e r f o r m a n c e   r e g r e s s i o n s .   F u r t h e r m o r e ,   s w a p   c h a n g e s   a   s y s t e m ' s   b e h a v i o u r   u n d e r   m e m o r y   p r e s s u r e .   E n a b l i n g   s w a p   i n c r e a s e s   t h e   r i s k   o f   n o i s y   n e i g h b o r s ,   w h e r e   P o d s   t h a t   f r e q u e n t l y   u s e   t h e i r   R A M   m a y   c a u s e   o t h e r   P o d s   t o   s w a p .   I n   a d d i t i o n ,   s i n c e   s w a p   a l l o w s   f o r   g r e a t e r   m e m o r y   u s a g e   f o r   w o r k l o a d s   i n   K u b e r n e t e s   t h a t   c a n n o t   b e   p r e d i c t a b l y   a c c o u n t e d   f o r ,   a n d   d u e   t o   u n e x p e c t e d   p a c k i n g   c o n f i g u r a t i o n s ,   t h e   s c h e d u l e r   c u r r e n t l y   d o e s   n o t   a c c o u n t   f o r   s w a p   m e m o r y   u s a g e .   T h i s   h e i g h t e n s   t h e   r i s k   o f   n o i s y   n e i g h b o r s .   T h e   p e r f o r m a n c e   o f   a   n o d e   w i t h   s w a p   m e m o r y   e n a b l e d   d e p e n d s   o n   t h e   u n d e r l y i n g   p h y s i c a l   s t o r a g e .   W h e n   s w a p   m e m o r y   i s   i n   u s e ,   p e r f o r m a n c e   w i l l   b e   s i g n i f i c a n t l y   w o r s e   i n   a n   I / O   o p e r a t i o n s   p e r   s e c o n d   ( I O P S )   c o n s t r a i n e d   e n v i r o n m e n t ,   s u c h   a s   a   c l o u d   V M   w i t h   I / O ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5699"
  },
  {
    "question": "What is Memory-backed volumes?",
    "answer": "O n   L i n u x   n o d e s ,   m e m o r y - b a c k e d   v o l u m e s   ( s u c h   a s   s e c r e t   v o l u m e   m o u n t s ,   o r   e m p t y D i r   w i t h   m e d i u m :   M e m o r y )   a r e   i m p l e m e n t e d   w i t h   a   t m p f s   f i l e s y s t e m .   T h e   c o n t e n t s   o f   s u c h   v o l u m e s   s h o u l d   r e m a i n   i n   m e m o r y   a t   a l l   t i m e s ,   h e n c e   s h o u l d   n o t   b e   s w a p p e d   t o   d i s k .   T o   e n s u r e   t h e   c o n t e n t s   o f   s u c h   v o l u m e s   r e m a i n   i n   m e m o r y ,   t h e   n o s w a p   t m p f s   o p t i o n   i s   b e i n g   u s e d .   T h e   L i n u x   k e r n e l   o f f i c i a l l y   s u p p o r t s   t h e   n o s w a p   o p t i o n   f r o m   v e r s i o n   6 . 3   ( m o r e   i n f o   c a n   b e   f o u n d   i n   L i n u x   K e r n e l   V e r s i o n   R e q u i r e m e n t s ) .   H o w e v e r ,   t h e   d i f f e r e n t   d i s t r i b u t i o n s   o f t e n   c h o o s e   t o   b a c k p o r t   t h i s   m o u n t   o p t i o n   t o   o l d e r   L i n u x   v e r s i o n s   a s   w e l l .   I n   o r d e r   t o   v e r i f y   w h e t h e r   t h e   n o d e   s u p p o r t s   t h e   n o s w a p   o p t i o n ,   t h e   k u b e l e t   w i l l   d o   t h e   f o l l o w i n g :   I f   t h e   k e r n e l ' s   v e r s i o n   i s   a b o v e   6 . 3   t h e n   t h e   n o s w a p   o p t i o n   w i l l   b e   a s s u m e d   t o   b e   s u p p o r t e d . O t h e r w i s e ,   k u b e l e t   w o u l d   t r y   t o   m o u n t   a   d u m m y   t m p f s   w i t h   t h e   n o s w a p   o p t i o n   a t   s t a r t u p .   I f   k u b e l e t   f a i l s   w i t h   a n   e r r o r   i n d i c a t i n g   o f   a n   u n k n o w n   o p t i o n ,   n o s w a p   w i l l   b e   a s s u m e d   t o   n o t   b e   s u p p o r t e d ,   h e n c e   w i l l   n o t   b e   u s e d . ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5700"
  },
  {
    "question": "What is Evictions?",
    "answer": "C o n f i g u r i n g   m e m o r y   e v i c t i o n   t h r e s h o l d s   f o r   s w a p - e n a b l e d   n o d e s   c a n   b e   t r i c k y .   W i t h   s w a p   b e i n g   d i s a b l e d ,   i t   i s   r e a s o n a b l e   t o   c o n f i g u r e   k u b e l e t ' s   e v i c t i o n   t h r e s h o l d s   t o   b e   a   b i t   l o w e r   t h a n   t h e   n o d e ' s   m e m o r y   c a p a c i t y .   T h e   r a t i o n a l e   i s   t h a t   w e   w a n t   K u b e r n e t e s   t o   s t a r t   e v i c t i n g   P o d s   b e f o r e   t h e   n o d e   r u n s   o u t   o f   m e m o r y   a n d   i n v o k e s   t h e   O u t   O f   M e m o r y   ( O O M )   k i l l e r ,   s i n c e   t h e   O O M   k i l l e r   i s   n o t   K u b e r n e t e s - a w a r e ,   t h e r e f o r e   d o e s   n o t   c o n s i d e r   t h i n g s   l i k e   Q o S ,   p o d   p r i o r i t y ,   o r   o t h e r   K u b e r n e t e s - s p e c i f i c   f a c t o r s .   W i t h   s w a p   e n a b l e d ,   t h e   s i t u a t i o n   i s   m o r e   c o m p l e x .   I n   L i n u x ,   t h e   v m . m i n _ f r e e _ k b y t e s   p a r a m e t e r   d e f i n e s   t h e   m e m o r y   t h r e s h o l d   f o r   t h e   k e r n e l   t o   s t a r t   a g g r e s s i v e l y   r e c l a i m i n g   m e m o r y ,   w h i c h   i n c l u d e s   s w a p p i n g   o u t   p a g e s .   I f   t h e   k u b e l e t ' s   e v i c t i o n   t h r e s h o l d s   a r e   s e t   i n   a   w a y   t h a t   e v i c t i o n   w o u l d   t a k e   p l a c e   b e f o r e   t h e   k e r n e l   s t a r t s   r e c l a i m i n g   m e m o r y ,   i t   c o u l d   l e a d   t o   w o r k l o a d s   n e v e r   b e i n g   a b l e   t o   s w a p   o u t   d u r i n g   n o d e   m e m o r y   p r e s s u r e .   H o w e v e r ,   s e t t i n g   t h e   e v i c t i o n   t h r e s h o l d s   t o o   h i g h   c o u l d   r e s u l t   i n   t h e   n o d ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5701"
  },
  {
    "question": "What is Unutilized swap space?",
    "answer": "U n d e r   t h e   L i m i t e d S w a p   b e h a v i o r ,   t h e   a m o u n t   o f   s w a p   a v a i l a b l e   t o   a   P o d   i s   d e t e r m i n e d   a u t o m a t i c a l l y ,   b a s e d   o n   t h e   p r o p o r t i o n   o f   t h e   m e m o r y   r e q u e s t e d   r e l a t i v e   t o   t h e   n o d e ' s   t o t a l   m e m o r y   ( F o r   m o r e   d e t a i l s ,   s e e   t h e   s e c t i o n   b e l o w ) .   T h i s   d e s i g n   m e a n s   t h a t   u s u a l l y   t h e r e   w o u l d   b e   s o m e   p o r t i o n   o f   s w a p   t h a t   w i l l   r e m a i n   r e s t r i c t e d   f o r   K u b e r n e t e s   w o r k l o a d s .   F o r   e x a m p l e ,   s i n c e   K u b e r n e t e s   1 . 3 4   d o e s   n o t   p e r m i t   s w a p   u s e   f o r   P o d s   i n   t h e   G u a r a n t e e d   Q o S   c l a s s ,   t h e   a m o u n t   o f   s w a p   t h a t ' s   p r o p o r t i o n a l   t o   t h e   m e m o r y   r e q u e s t   f o r   G u a r a n t e e d   p o d s   w o u l d   r e m a i n   u n u s e d   b y   K u b e r n e t e s   w o r k l o a d s .   T h i s   b e h a v i o r   c a r r i e s   s o m e   r i s k   i n   a   s i t u a t i o n   w h e r e   m a n y   p o d s   a r e   n o t   e l i g i b l e   f o r   s w a p p i n g .   O n   t h e   o t h e r   h a n d ,   i t   e f f e c t i v e l y   k e e p s   s o m e   s y s t e m - r e s e r v e d   a m o u n t   o f   s w a p   m e m o r y   t h a t   c a n   b e   u s e d   b y   p r o c e s s e s   o u t s i d e   o f   K u b e r n e t e s '   s c o p e ,   s u c h   a s   s y s t e m   d a e m o n s   a n d   e v e n   k u b e l e t   i t s e l f .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5702"
  },
  {
    "question": "What is Disable swap for system-critical daemons?",
    "answer": "D u r i n g   t h e   t e s t i n g   p h a s e   a n d   b a s e d   o n   u s e r",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5703"
  },
  {
    "question": "What is Protect system-critical daemons for I/O latency?",
    "answer": "S w a p   c a n   i n c r e a s e   t h e   I / O   l o a d   o n   a   n o d e .   W h e n   m e m o r y   p r e s s u r e   c a u s e s   t h e   k e r n e l   t o   r a p i d l y   s w a p   p a g e s   i n   a n d   o u t ,   s y s t e m - c r i t i c a l   d a e m o n s   a n d   s e r v i c e s   t h a t   r e l y   o n   I / O   o p e r a t i o n s   m a y   e x p e r i e n c e   p e r f o r m a n c e   d e g r a d a t i o n .   T o   m i t i g a t e   t h i s ,   i t   i s   r e c o m m e n d e d   f o r   s y s t e m d   u s e r s   t o   p r i o r i t i z e   t h e   s y s t e m   s l i c e   i n   t e r m s   o f   I / O   l a t e n c y .   F o r   n o n - s y s t e m d   u s e r s ,   s e t t i n g   u p   a   d e d i c a t e d   c g r o u p   f o r   s y s t e m   d a e m o n s   a n d   p r o c e s s e s   a n d   p r i o r i t i z i n g   I / O   l a t e n c y   i n   t h e   s a m e   w a y   i s   a d v i s e d .   T h i s   c a n   b e   a c h i e v e d   b y   s e t t i n g   i o . l a t e n c y   f o r   t h e   s y s t e m   s l i c e ,   t h e r e b y   g r a n t i n g   i t   h i g h e r   I / O   p r i o r i t y .   S e e   c g r o u p ' s   d o c u m e n t a t i o n   f o r   m o r e   i n f o .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5704"
  },
  {
    "question": "What is Swap and control plane nodes?",
    "answer": "T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   r u n n i n g   c o n t r o l   p l a n e   n o d e s   w i t h o u t   a n y   s w a p   s p a c e   c o n f i g u r e d .   T h e   c o n t r o l   p l a n e   p r i m a r i l y   h o s t s   G u a r a n t e e d   Q o S   P o d s ,   s o   s w a p   c a n   g e n e r a l l y   b e   d i s a b l e d .   T h e   m a i n   c o n c e r n   i s   t h a t   s w a p p i n g   c r i t i c a l   s e r v i c e s   o n   t h e   c o n t r o l   p l a n e   c o u l d   n e g a t i v e l y   i m p a c t   p e r f o r m a n c e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5705"
  },
  {
    "question": "What is Use of a dedicated disk for swap?",
    "answer": "T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   u s i n g   e n c r y p t e d   s w a p ,   w h e n e v e r   y o u   r u n   n o d e s   w i t h   s w a p   e n a b l e d .   I f   s w a p   r e s i d e s   o n   a   p a r t i t i o n   o r   t h e   r o o t   f i l e s y s t e m ,   w o r k l o a d s   m a y   i n t e r f e r e   w i t h   s y s t e m   p r o c e s s e s   t h a t   n e e d   t o   w r i t e   t o   d i s k .   W h e n   t h e y   s h a r e   t h e   s a m e   d i s k ,   p r o c e s s e s   c a n   o v e r w h e l m   s w a p ,   d i s r u p t i n g   t h e   I / O   o f   k u b e l e t ,   c o n t a i n e r   r u n t i m e ,   a n d   s y s t e m d ,   w h i c h   w o u l d   i m p a c t   o t h e r   w o r k l o a d s .   S i n c e   s w a p   s p a c e   i s   l o c a t e d   o n   a   d i s k ,   i t   i s   c r u c i a l   t o   e n s u r e   t h e   d i s k   i s   f a s t   e n o u g h   f o r   t h e   i n t e n d e d   u s e   c a s e s .   A l t e r n a t i v e l y ,   o n e   c a n   c o n f i g u r e   I / O   p r i o r i t i e s   b e t w e e n   d i f f e r e n t   m a p p e d   a r e a s   o f   a   s i n g l e   b a c k i n g   d e v i c e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5706"
  },
  {
    "question": "What is Swap-aware scheduling?",
    "answer": "K u b e r n e t e s   1 . 3 4   d o e s   n o t   s u p p o r t   a l l o c a t i n g   P o d s   t o   n o d e s   i n   a   w a y   t h a t   a c c o u n t s   f o r   s w a p   m e m o r y   u s a g e .   T h e   s c h e d u l e r   t y p i c a l l y   u s e s   r e q u e s t s   f o r   i n f r a s t r u c t u r e   r e s o u r c e s   t o   g u i d e   P o d   p l a c e m e n t ,   a n d   P o d s   d o   n o t   r e q u e s t   s w a p   s p a c e ;   t h e y   j u s t   r e q u e s t   m e m o r y .   T h i s   m e a n s   t h a t   t h e   s c h e d u l e r   d o e s   n o t   c o n s i d e r   s w a p   m e m o r y   w h e n   m a k i n g   s c h e d u l i n g   d e c i s i o n s .   W h i l e   t h i s   i s   s o m e t h i n g   w e   a r e   a c t i v e l y   w o r k i n g   o n ,   i t   i s   n o t   y e t   i m p l e m e n t e d .   I n   o r d e r   f o r   a d m i n i s t r a t o r s   t o   e n s u r e   t h a t   P o d s   a r e   n o t   s c h e d u l e d   o n   n o d e s   w i t h   s w a p   m e m o r y   u n l e s s   t h e y   a r e   s p e c i f i c a l l y   i n t e n d e d   t o   u s e   i t ,   A d m i n i s t r a t o r s   c a n   t a i n t   n o d e s   w i t h   s w a p   a v a i l a b l e   t o   p r o t e c t   a g a i n s t   t h i s   p r o b l e m .   T a i n t s   w i l l   e n s u r e   t h a t   w o r k l o a d s   w h i c h   t o l e r a t e   s w a p   w i l l   n o t   s p i l l   o n t o   n o d e s   w i t h o u t   s w a p   u n d e r   l o a d .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5707"
  },
  {
    "question": "What is Selecting storage for optimal performance?",
    "answer": "T h e   s t o r a g e   d e v i c e   d e s i g n a t e d   f o r   s w a p   s p a c e   i s   c r i t i c a l   t o   m a i n t a i n i n g   s y s t e m   r e s p o n s i v e n e s s   d u r i n g   h i g h   m e m o r y   u s a g e .   R o t a t i o n a l   h a r d   d i s k   d r i v e s   ( H D D s )   a r e   i l l - s u i t e d   f o r   t h i s   t a s k   a s   t h e i r   m e c h a n i c a l   n a t u r e   i n t r o d u c e s   s i g n i f i c a n t   l a t e n c y ,   l e a d i n g   t o   s e v e r e   p e r f o r m a n c e   d e g r a d a t i o n   a n d   s y s t e m   t h r a s h i n g .   F o r   m o d e r n   p e r f o r m a n c e   n e e d s ,   a   d e v i c e   s u c h   a s   a   S o l i d   S t a t e   D r i v e   ( S S D )   i s   p r o b a b l y   t h e   a p p r o p r i a t e   c h o i c e   f o r   s w a p ,   a s   i t s   l o w - l a t e n c y   e l e c t r o n i c   a c c e s s   m i n i m i z e s   t h e   s l o w d o w n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5708"
  },
  {
    "question": "What is How is the swap limit being determined with LimitedSwap??",
    "answer": "T h e   c o n f i g u r a t i o n   o f   s w a p   m e m o r y ,   i n c l u d i n g   i t s   l i m i t a t i o n s ,   p r e s e n t s   a   s i g n i f i c a n t   c h a l l e n g e .   N o t   o n l y   i s   i t   p r o n e   t o   m i s c o n f i g u r a t i o n ,   b u t   a s   a   s y s t e m - l e v e l   p r o p e r t y ,   a n y   m i s c o n f i g u r a t i o n   c o u l d   p o t e n t i a l l y   c o m p r o m i s e   t h e   e n t i r e   n o d e   r a t h e r   t h a n   j u s t   a   s p e c i f i c   w o r k l o a d .   T o   m i t i g a t e   t h i s   r i s k   a n d   e n s u r e   t h e   h e a l t h   o f   t h e   n o d e ,   w e   h a v e   i m p l e m e n t e d   S w a p   w i t h   a u t o m a t i c   c o n f i g u r a t i o n   o f   l i m i t a t i o n s .   W i t h   L i m i t e d S w a p ,   P o d s   t h a t   d o   n o t   f a l l   u n d e r   t h e   B u r s t a b l e   Q o S   c l a s s i f i c a t i o n   ( i . e .   B e s t E f f o r t / G u a r a n t e e d   Q o S   P o d s )   a r e   p r o h i b i t e d   f r o m   u t i l i z i n g   s w a p   m e m o r y .   B e s t E f f o r t   Q o S   P o d s   e x h i b i t   u n p r e d i c t a b l e   m e m o r y   c o n s u m p t i o n   p a t t e r n s   a n d   l a c k   i n f o r m a t i o n   r e g a r d i n g   t h e i r   m e m o r y   u s a g e ,   m a k i n g   i t   d i f f i c u l t   t o   d e t e r m i n e   a   s a f e   a l l o c a t i o n   o f   s w a p   m e m o r y .   C o n v e r s e l y ,   G u a r a n t e e d   Q o S   P o d s   a r e   t y p i c a l l y   e m p l o y e d   f o r   a p p l i c a t i o n s   t h a t   r e l y   o n   t h e   p r e c i s e   a l l o c a t i o n   o f   r e s o u r c e s   s p e c i f i e d   b y   t h e   w o r k l o a d ,   w i t h   m e m o r y   b e i n g   i m m e d i a t e l y   a v a i l a b l e .   T o   m a i n t a i n   t h e   a f o r e m e n t i o n e d   s e c u r i t y   a n d   n o d e   h e a l t h   g u a r a n t ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5709"
  },
  {
    "question": "What is What's next?",
    "answer": "T o   l e a r n   a b o u t   m a n a g i n g   s w a p   o n   L i n u x   n o d e s ,   r e a d   c o n f i g u r i n g   s w a p   m e m o r y   o n   K u b e r n e t e s   n o d e s . Y o u   c a n   c h e c k   o u t   a   b l o g   p o s t   a b o u t   K u b e r n e t e s   a n d   s w a p F o r   b a c k g r o u n d   i n f o r m a t i o n ,   p l e a s e   s e e   t h e   o r i g i n a l   K E P ,   K E P - 2 4 0 0 ,   a n d   i t s   d e s i g n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5710"
  },
  {
    "question": "What is 3 - Node Autoscaling?",
    "answer": "I n   o r d e r   t o   r u n   w o r k l o a d s   i n   y o u r   c l u s t e r ,   y o u   n e e d   N o d e s .   N o d e s   i n   y o u r   c l u s t e r   c a n   b e   a u t o s c a l e d   -   d y n a m i c a l l y   p r o v i s i o n e d ,   o r   c o n s o l i d a t e d   t o   p r o v i d e   n e e d e d   c a p a c i t y   w h i l e   o p t i m i z i n g   c o s t .   A u t o s c a l i n g   i s   p e r f o r m e d   b y   N o d e   a u t o s c a l e r s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_1_5711"
  },
  {
    "question": "What is Node provisioning?",
    "answer": "I f   t h e r e   a r e   P o d s   i n   a   c l u s t e r   t h a t   c a n ' t   b e   s c h e d u l e d   o n   e x i s t i n g   N o d e s ,   n e w   N o d e s   c a n   b e   a u t o m a t i c a l l y   a d d e d   t o   t h e   c l u s t e r — p r o v i s i o n e d — t o   a c c o m m o d a t e   t h e   P o d s .   T h i s   i s   e s p e c i a l l y   u s e f u l   i f   t h e   n u m b e r   o f   P o d s   c h a n g e s   o v e r   t i m e ,   f o r   e x a m p l e   a s   a   r e s u l t   o f   c o m b i n i n g   h o r i z o n t a l   w o r k l o a d   w i t h   N o d e   a u t o s c a l i n g .   A u t o s c a l e r s   p r o v i s i o n   t h e   N o d e s   b y   c r e a t i n g   a n d   d e l e t i n g   c l o u d   p r o v i d e r   r e s o u r c e s   b a c k i n g   t h e m .   M o s t   c o m m o n l y ,   t h e   r e s o u r c e s   b a c k i n g   t h e   N o d e s   a r e   V i r t u a l   M a c h i n e s .   T h e   m a i n   g o a l   o f   p r o v i s i o n i n g   i s   t o   m a k e   a l l   P o d s   s c h e d u l a b l e .   T h i s   g o a l   i s   n o t   a l w a y s   a t t a i n a b l e   b e c a u s e   o f   v a r i o u s   l i m i t a t i o n s ,   i n c l u d i n g   r e a c h i n g   c o n f i g u r e d   p r o v i s i o n i n g   l i m i t s ,   p r o v i s i o n i n g   c o n f i g u r a t i o n   n o t   b e i n g   c o m p a t i b l e   w i t h   a   p a r t i c u l a r   s e t   o f   p o d s ,   o r   t h e   l a c k   o f   c l o u d   p r o v i d e r   c a p a c i t y .   W h i l e   p r o v i s i o n i n g ,   N o d e   a u t o s c a l e r s   o f t e n   t r y   t o   a c h i e v e   a d d i t i o n a l   g o a l s   ( f o r   e x a m p l e   m i n i m i z i n g   t h e   c o s t   o f   t h e   p r o v i s i o n e d   N o d e s   o r   b a l a n c i n g   t h e   n u m b e r   o f   N o d e s   b e t w e e n   f a i l u r e   d o m a i n s ) .   T h e r e   a r e   t w o   m a i n   i n p u t s   t o   a   N o ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5712"
  },
  {
    "question": "What is Pod scheduling constraints?",
    "answer": "P o d s   c a n   e x p r e s s   s c h e d u l i n g   c o n s t r a i n t s   t o   i m p o s e   l i m i t a t i o n s   o n   t h e   k i n d   o f   N o d e s   t h e y   c a n   b e   s c h e d u l e d   o n .   N o d e   a u t o s c a l e r s   t a k e   t h e s e   c o n s t r a i n t s   i n t o   a c c o u n t   t o   e n s u r e   t h a t   t h e   p e n d i n g   P o d s   c a n   b e   s c h e d u l e d   o n   t h e   p r o v i s i o n e d   N o d e s .   T h e   m o s t   c o m m o n   k i n d   o f   s c h e d u l i n g   c o n s t r a i n t s   a r e   t h e   r e s o u r c e   r e q u e s t s   s p e c i f i e d   b y   P o d   c o n t a i n e r s .   A u t o s c a l e r s   w i l l   m a k e   s u r e   t h a t   t h e   p r o v i s i o n e d   N o d e s   h a v e   e n o u g h   r e s o u r c e s   t o   s a t i s f y   t h e   r e q u e s t s .   H o w e v e r ,   t h e y   d o n ' t   d i r e c t l y   t a k e   i n t o   a c c o u n t   t h e   r e a l   r e s o u r c e   u s a g e   o f   t h e   P o d s   a f t e r   t h e y   s t a r t   r u n n i n g .   I n   o r d e r   t o   a u t o s c a l e   N o d e s   b a s e d   o n   a c t u a l   w o r k l o a d   r e s o u r c e   u s a g e ,   y o u   c a n   c o m b i n e   h o r i z o n t a l   w o r k l o a d   a u t o s c a l i n g   w i t h   N o d e   a u t o s c a l i n g .   O t h e r   c o m m o n   P o d   s c h e d u l i n g   c o n s t r a i n t s   i n c l u d e   N o d e   a f f i n i t y ,   i n t e r - P o d   a f f i n i t y ,   o r   a   r e q u i r e m e n t   f o r   a   p a r t i c u l a r   s t o r a g e   v o l u m e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5713"
  },
  {
    "question": "What is Node constraints imposed by autoscaler configuration?",
    "answer": "T h e   s p e c i f i c s   o f   t h e   p r o v i s i o n e d   N o d e s   ( f o r   e x a m p l e   t h e   a m o u n t   o f   r e s o u r c e s ,   t h e   p r e s e n c e   o f   a   g i v e n   l a b e l )   d e p e n d   o n   a u t o s c a l e r   c o n f i g u r a t i o n .   A u t o s c a l e r s   c a n   e i t h e r   c h o o s e   t h e m   f r o m   a   p r e - d e f i n e d   s e t   o f   N o d e   c o n f i g u r a t i o n s ,   o r   u s e   a u t o - p r o v i s i o n i n g .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5714"
  },
  {
    "question": "What is Auto-provisioning?",
    "answer": "N o d e   a u t o - p r o v i s i o n i n g   i s   a   m o d e   o f   p r o v i s i o n i n g   i n   w h i c h   a   u s e r   d o e s n ' t   h a v e   t o   f u l l y   c o n f i g u r e   t h e   s p e c i f i c s   o f   t h e   N o d e s   t h a t   c a n   b e   p r o v i s i o n e d .   I n s t e a d ,   t h e   a u t o s c a l e r   d y n a m i c a l l y   c h o o s e s   t h e   N o d e   c o n f i g u r a t i o n   b a s e d   o n   t h e   p e n d i n g   P o d s   i t ' s   r e a c t i n g   t o ,   a s   w e l l   a s   p r e - c o n f i g u r e d   c o n s t r a i n t s   ( f o r   e x a m p l e ,   t h e   m i n i m u m   a m o u n t   o f   r e s o u r c e s   o r   t h e   n e e d   f o r   a   g i v e n   l a b e l ) .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5715"
  },
  {
    "question": "What is Node consolidation?",
    "answer": "T h e   m a i n   c o n s i d e r a t i o n   w h e n   r u n n i n g   a   c l u s t e r   i s   e n s u r i n g   t h a t   a l l   s c h e d u l a b l e   p o d s   a r e   r u n n i n g ,   w h i l s t   k e e p i n g   t h e   c o s t   o f   t h e   c l u s t e r   a s   l o w   a s   p o s s i b l e .   T o   a c h i e v e   t h i s ,   t h e   P o d s '   r e s o u r c e   r e q u e s t s   s h o u l d   u t i l i z e   a s   m u c h   o f   t h e   N o d e s '   r e s o u r c e s   a s   p o s s i b l e .   F r o m   t h i s   p e r s p e c t i v e ,   t h e   o v e r a l l   N o d e   u t i l i z a t i o n   i n   a   c l u s t e r   c a n   b e   u s e d   a s   a   p r o x y   f o r   h o w   c o s t - e f f e c t i v e   t h e   c l u s t e r   i s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5716"
  },
  {
    "question": "What is Note:?",
    "answer": "N o d e s   i n   y o u r   c l u s t e r   c a n   b e   a u t o m a t i c a l l y   c o n s o l i d a t e d   i n   o r d e r   t o   i m p r o v e   t h e   o v e r a l l   N o d e   u t i l i z a t i o n ,   a n d   i n   t u r n   t h e   c o s t - e f f e c t i v e n e s s   o f   t h e   c l u s t e r .   C o n s o l i d a t i o n   h a p p e n s   t h r o u g h   r e m o v i n g   a   s e t   o f   u n d e r u t i l i z e d   N o d e s   f r o m   t h e   c l u s t e r .   O p t i o n a l l y ,   a   d i f f e r e n t   s e t   o f   N o d e s   c a n   b e   p r o v i s i o n e d   t o   r e p l a c e   t h e m .   C o n s o l i d a t i o n ,   l i k e   p r o v i s i o n i n g ,   o n l y   c o n s i d e r s   P o d   r e s o u r c e   r e q u e s t s   a n d   n o t   r e a l   r e s o u r c e   u s a g e   w h e n   m a k i n g   d e c i s i o n s .   F o r   t h e   p u r p o s e   o f   c o n s o l i d a t i o n ,   a   N o d e   i s   c o n s i d e r e d   e m p t y   i f   i t   o n l y   h a s   D a e m o n S e t   a n d   s t a t i c   P o d s   r u n n i n g   o n   i t .   R e m o v i n g   e m p t y   N o d e s   d u r i n g   c o n s o l i d a t i o n   i s   m o r e   s t r a i g h t f o r w a r d   t h a n   n o n - e m p t y   o n e s ,   a n d   a u t o s c a l e r s   o f t e n   h a v e   o p t i m i z a t i o n s   d e s i g n e d   s p e c i f i c a l l y   f o r   c o n s o l i d a t i n g   e m p t y   N o d e s .   R e m o v i n g   n o n - e m p t y   N o d e s   d u r i n g   c o n s o l i d a t i o n   i s   d i s r u p t i v e — t h e   P o d s   r u n n i n g   o n   t h e m   a r e   t e r m i n a t e d ,   a n d   p o s s i b l y   h a v e   t o   b e   r e c r e a t e d   ( f o r   e x a m p l e   b y   a   D e p l o y m e n t ) .   H o w e v e r ,   a l l   s u c h   r e c r e a t e d   P o d s   s h o u l d   b e   a b l e   t o   s c h e d u l e   o n   e x i s t i n g   N o d e s   i n   t h e   c l u s t e r ,   o r   t ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5717"
  },
  {
    "question": "What is Note:?",
    "answer": "A u t o s c a l e r   c o n f i g u r a t i o n   m a y   a l s o   e n a b l e   t r i g g e r i n g   c o n s o l i d a t i o n   b y   o t h e r   c o n d i t i o n s   ( f o r   e x a m p l e ,   t h e   t i m e   e l a p s e d   s i n c e   a   N o d e   w a s   c r e a t e d ) ,   i n   o r d e r   t o   o p t i m i z e   d i f f e r e n t   p r o p e r t i e s   ( f o r   e x a m p l e ,   t h e   m a x i m u m   l i f e s p a n   o f   N o d e s   i n   a   c l u s t e r ) .   T h e   d e t a i l s   o f   h o w   c o n s o l i d a t i o n   i s   p e r f o r m e d   d e p e n d   o n   t h e   c o n f i g u r a t i o n   o f   a   g i v e n   a u t o s c a l e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5718"
  },
  {
    "question": "What is Autoscalers?",
    "answer": "T h e   f u n c t i o n a l i t i e s   d e s c r i b e d   i n   p r e v i o u s   s e c t i o n s   a r e   p r o v i d e d   b y   N o d e   a u t o s c a l e r s .   I n   a d d i t i o n   t o   t h e   K u b e r n e t e s   A P I ,   a u t o s c a l e r s   a l s o   n e e d   t o   i n t e r a c t   w i t h   c l o u d   p r o v i d e r   A P I s   t o   p r o v i s i o n   a n d   c o n s o l i d a t e   N o d e s .   T h i s   m e a n s   t h a t   t h e y   n e e d   t o   b e   e x p l i c i t l y   i n t e g r a t e d   w i t h   e a c h   s u p p o r t e d   c l o u d   p r o v i d e r .   T h e   p e r f o r m a n c e   a n d   f e a t u r e   s e t   o f   a   g i v e n   a u t o s c a l e r   c a n   d i f f e r   b e t w e e n   c l o u d   p r o v i d e r   i n t e g r a t i o n s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5719"
  },
  {
    "question": "What is Autoscaler implementations?",
    "answer": "C l u s t e r   A u t o s c a l e r   a n d   K a r p e n t e r   a r e   t h e   t w o   N o d e   a u t o s c a l e r s   c u r r e n t l y   s p o n s o r e d   b y   S I G   A u t o s c a l i n g .   F r o m   t h e   p e r s p e c t i v e   o f   a   c l u s t e r   u s e r ,   b o t h   a u t o s c a l e r s   s h o u l d   p r o v i d e   a   s i m i l a r   N o d e   a u t o s c a l i n g   e x p e r i e n c e .   B o t h   w i l l   p r o v i s i o n   n e w   N o d e s   f o r   u n s c h e d u l a b l e   P o d s ,   a n d   b o t h   w i l l   c o n s o l i d a t e   t h e   N o d e s   t h a t   a r e   n o   l o n g e r   o p t i m a l l y   u t i l i z e d .   D i f f e r e n t   a u t o s c a l e r s   m a y   a l s o   p r o v i d e   f e a t u r e s   o u t s i d e   t h e   N o d e   a u t o s c a l i n g   s c o p e   d e s c r i b e d   o n   t h i s   p a g e ,   a n d   t h o s e   a d d i t i o n a l   f e a t u r e s   m a y   d i f f e r   b e t w e e n   t h e m .   C o n s u l t   t h e   s e c t i o n s   b e l o w ,   a n d   t h e   l i n k e d   d o c u m e n t a t i o n   f o r   t h e   i n d i v i d u a l   a u t o s c a l e r s   t o   d e c i d e   w h i c h   a u t o s c a l e r   f i t s   y o u r   u s e   c a s e   b e t t e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5720"
  },
  {
    "question": "What is Cluster Autoscaler?",
    "answer": "C l u s t e r   A u t o s c a l e r   a d d s   o r   r e m o v e s   N o d e s   t o   p r e - c o n f i g u r e d   N o d e   g r o u p s .   N o d e   g r o u p s   g e n e r a l l y   m a p   t o   s o m e   s o r t   o f   c l o u d   p r o v i d e r   r e s o u r c e   g r o u p   ( m o s t   c o m m o n l y   a   V i r t u a l   M a c h i n e   g r o u p ) .   A   s i n g l e   i n s t a n c e   o f   C l u s t e r   A u t o s c a l e r   c a n   s i m u l t a n e o u s l y   m a n a g e   m u l t i p l e   N o d e   g r o u p s .   W h e n   p r o v i s i o n i n g ,   C l u s t e r   A u t o s c a l e r   w i l l   a d d   N o d e s   t o   t h e   g r o u p   t h a t   b e s t   f i t s   t h e   r e q u e s t s   o f   p e n d i n g   P o d s .   W h e n   c o n s o l i d a t i n g ,   C l u s t e r   A u t o s c a l e r   a l w a y s   s e l e c t s   s p e c i f i c   N o d e s   t o   r e m o v e ,   a s   o p p o s e d   t o   j u s t   r e s i z i n g   t h e   u n d e r l y i n g   c l o u d   p r o v i d e r   r e s o u r c e   g r o u p .   A d d i t i o n a l   c o n t e x t :   D o c u m e n t a t i o n   o v e r v i e w C l o u d   p r o v i d e r   i n t e g r a t i o n s C l u s t e r   A u t o s c a l e r   F A Q C o n t a c t",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5721"
  },
  {
    "question": "What is Karpenter?",
    "answer": "K a r p e n t e r   a u t o - p r o v i s i o n s   N o d e s   b a s e d   o n   N o d e P o o l   c o n f i g u r a t i o n s   p r o v i d e d   b y   t h e   c l u s t e r   o p e r a t o r .   K a r p e n t e r   h a n d l e s   a l l   a s p e c t s   o f   n o d e   l i f e c y c l e ,   n o t   j u s t   a u t o s c a l i n g .   T h i s   i n c l u d e s   a u t o m a t i c a l l y   r e f r e s h i n g   N o d e s   o n c e   t h e y   r e a c h   a   c e r t a i n   l i f e t i m e ,   a n d   a u t o - u p g r a d i n g   N o d e s   w h e n   n e w   w o r k e r   N o d e   i m a g e s   a r e   r e l e a s e d .   I t   w o r k s   d i r e c t l y   w i t h   i n d i v i d u a l   c l o u d   p r o v i d e r   r e s o u r c e s   ( m o s t   c o m m o n l y   i n d i v i d u a l   V i r t u a l   M a c h i n e s ) ,   a n d   d o e s n ' t   r e l y   o n   c l o u d   p r o v i d e r   r e s o u r c e   g r o u p s .   A d d i t i o n a l   c o n t e x t :   D o c u m e n t a t i o n C l o u d   p r o v i d e r   i n t e g r a t i o n s K a r p e n t e r   F A Q C o n t a c t",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5722"
  },
  {
    "question": "What is Implementation comparison?",
    "answer": "M a i n   d i f f e r e n c e s   b e t w e e n   C l u s t e r   A u t o s c a l e r   a n d   K a r p e n t e r :   C l u s t e r   A u t o s c a l e r   p r o v i d e s   f e a t u r e s   r e l a t e d   t o   j u s t   N o d e   a u t o s c a l i n g .   K a r p e n t e r   h a s   a   w i d e r   s c o p e ,   a n d   a l s o   p r o v i d e s   f e a t u r e s   i n t e n d e d   f o r   m a n a g i n g   N o d e   l i f e c y c l e   a l t o g e t h e r   ( f o r   e x a m p l e ,   u t i l i z i n g   d i s r u p t i o n   t o   a u t o - r e c r e a t e   N o d e s   o n c e   t h e y   r e a c h   a   c e r t a i n   l i f e t i m e ,   o r   a u t o - u p g r a d e   t h e m   t o   n e w   v e r s i o n s ) . C l u s t e r   A u t o s c a l e r   d o e s n ' t   s u p p o r t   a u t o - p r o v i s i o n i n g ,   t h e   N o d e   g r o u p s   i t   c a n   p r o v i s i o n   f r o m   h a v e   t o   b e   p r e - c o n f i g u r e d .   K a r p e n t e r   s u p p o r t s   a u t o - p r o v i s i o n i n g ,   s o   t h e   u s e r   o n l y   h a s   t o   c o n f i g u r e   a   s e t   o f   c o n s t r a i n t s   f o r   t h e   p r o v i s i o n e d   N o d e s ,   i n s t e a d   o f   f u l l y   c o n f i g u r i n g   h o m o g e n o u s   g r o u p s . C l u s t e r   A u t o s c a l e r   p r o v i d e s   c l o u d   p r o v i d e r   i n t e g r a t i o n s   d i r e c t l y ,   w h i c h   m e a n s   t h a t   t h e y ' r e   a   p a r t   o f   t h e   K u b e r n e t e s   p r o j e c t .   F o r   K a r p e n t e r ,   t h e   K u b e r n e t e s   p r o j e c t   p u b l i s h e s   K a r p e n t e r   a s   a   l i b r a r y   t h a t   c l o u d   p r o v i d e r s   c a n   i n t e g r a t e   w i t h   t o   b u i l d   a   N o d e   a u t o s c a l e r . C l u s t e r   A u t o s c a l e r   p r o v i d e s   i n t e g r a t i o n s   w i t h   n u m e r o u s   c l o u d   p r o v i d e r s ,   i n c l u d i n g   s m a ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5723"
  },
  {
    "question": "What is Horizontal workload autoscaling?",
    "answer": "N o d e   a u t o s c a l i n g   u s u a l l y   w o r k s   i n   r e s p o n s e   t o   P o d s — i t   p r o v i s i o n s   n e w   N o d e s   t o   a c c o m m o d a t e   u n s c h e d u l a b l e   P o d s ,   a n d   t h e n   c o n s o l i d a t e s   t h e   N o d e s   o n c e   t h e y ' r e   n o   l o n g e r   n e e d e d .   H o r i z o n t a l   w o r k l o a d   a u t o s c a l i n g   a u t o m a t i c a l l y   s c a l e s   t h e   n u m b e r   o f   w o r k l o a d   r e p l i c a s   t o   m a i n t a i n   a   d e s i r e d   a v e r a g e   r e s o u r c e   u t i l i z a t i o n   a c r o s s   t h e   r e p l i c a s .   I n   o t h e r   w o r d s ,   i t   a u t o m a t i c a l l y   c r e a t e s   n e w   P o d s   i n   r e s p o n s e   t o   a p p l i c a t i o n   l o a d ,   a n d   t h e n   r e m o v e s   t h e   P o d s   o n c e   t h e   l o a d   d e c r e a s e s .   Y o u   c a n   u s e   N o d e   a u t o s c a l i n g   t o g e t h e r   w i t h   h o r i z o n t a l   w o r k l o a d   a u t o s c a l i n g   t o   a u t o s c a l e   t h e   N o d e s   i n   y o u r   c l u s t e r   b a s e d   o n   t h e   a v e r a g e   r e a l   r e s o u r c e   u t i l i z a t i o n   o f   y o u r   P o d s .   I f   t h e   a p p l i c a t i o n   l o a d   i n c r e a s e s ,   t h e   a v e r a g e   u t i l i z a t i o n   o f   i t s   P o d s   s h o u l d   a l s o   i n c r e a s e ,   p r o m p t i n g   w o r k l o a d   a u t o s c a l i n g   t o   c r e a t e   n e w   P o d s .   N o d e   a u t o s c a l i n g   s h o u l d   t h e n   p r o v i s i o n   n e w   N o d e s   t o   a c c o m m o d a t e   t h e   n e w   P o d s .   O n c e   t h e   a p p l i c a t i o n   l o a d   d e c r e a s e s ,   w o r k l o a d   a u t o s c a l i n g   s h o u l d   r e m o v e   u n n e c e s s a r y   P o d s .   N o d e   a u t o s c a l i n g   s h o u l d ,   i n   t u r n ,   c o n s o l i d a t e   t h e ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5724"
  },
  {
    "question": "What is Vertical workload autoscaling?",
    "answer": "W h e n   u s i n g   N o d e   a u t o s c a l i n g ,   i t ' s   i m p o r t a n t   t o   s e t   P o d   r e s o u r c e   r e q u e s t s   c o r r e c t l y .   I f   t h e   r e q u e s t s   o f   a   g i v e n   P o d   a r e   t o o   l o w ,   p r o v i s i o n i n g   a   n e w   N o d e   f o r   i t   m i g h t   n o t   h e l p   t h e   P o d   a c t u a l l y   r u n .   I f   t h e   r e q u e s t s   o f   a   g i v e n   P o d   a r e   t o o   h i g h ,   i t   m i g h t   i n c o r r e c t l y   p r e v e n t   c o n s o l i d a t i n g   i t s   N o d e .   V e r t i c a l   w o r k l o a d   a u t o s c a l i n g   a u t o m a t i c a l l y   a d j u s t s   t h e   r e s o u r c e   r e q u e s t s   o f   y o u r   P o d s   b a s e d   o n   t h e i r   h i s t o r i c a l   r e s o u r c e   u s a g e .   Y o u   c a n   u s e   N o d e   a u t o s c a l i n g   t o g e t h e r   w i t h   v e r t i c a l   w o r k l o a d   a u t o s c a l i n g   i n   o r d e r   t o   a d j u s t   t h e   r e s o u r c e   r e q u e s t s   o f   y o u r   P o d s   w h i l e   p r e s e r v i n g   N o d e   a u t o s c a l i n g   c a p a b i l i t i e s   i n   y o u r   c l u s t e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5725"
  },
  {
    "question": "What is Related components?",
    "answer": "T h i s   s e c t i o n   d e s c r i b e s   c o m p o n e n t s   p r o v i d i n g   f u n c t i o n a l i t y   r e l a t e d   t o   N o d e   a u t o s c a l i n g .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5726"
  },
  {
    "question": "What is Descheduler?",
    "answer": "T h e   d e s c h e d u l e r   i s   a   c o m p o n e n t   p r o v i d i n g   N o d e   c o n s o l i d a t i o n   f u n c t i o n a l i t y   b a s e d   o n   c u s t o m   p o l i c i e s ,   a s   w e l l   a s   o t h e r   f e a t u r e s   r e l a t e d   t o   o p t i m i z i n g   N o d e s   a n d   P o d s   ( f o r   e x a m p l e   d e l e t i n g   f r e q u e n t l y   r e s t a r t i n g   P o d s ) .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5727"
  },
  {
    "question": "What is Workload autoscalers based on cluster size?",
    "answer": "C l u s t e r   P r o p o r t i o n a l   A u t o s c a l e r   a n d   C l u s t e r   P r o p o r t i o n a l   V e r t i c a l   A u t o s c a l e r   p r o v i d e   h o r i z o n t a l ,   a n d   v e r t i c a l   w o r k l o a d   a u t o s c a l i n g   b a s e d   o n   t h e   n u m b e r   o f   N o d e s   i n   t h e   c l u s t e r .   Y o u   c a n   r e a d   m o r e   i n   a u t o s c a l i n g   b a s e d   o n   c l u s t e r   s i z e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5728"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   w o r k l o a d - l e v e l   a u t o s c a l i n g",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5729"
  },
  {
    "question": "What is 4 - Certificates?",
    "answer": "T o   l e a r n   h o w   t o   g e n e r a t e   c e r t i f i c a t e s   f o r   y o u r   c l u s t e r ,   s e e   C e r t i f i c a t e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_1_5730"
  },
  {
    "question": "What is 5 - Cluster Networking?",
    "answer": "N e t w o r k i n g   i s   a   c e n t r a l   p a r t   o f   K u b e r n e t e s ,   b u t   i t   c a n   b e   c h a l l e n g i n g   t o   u n d e r s t a n d   e x a c t l y   h o w   i t   i s   e x p e c t e d   t o   w o r k .   T h e r e   a r e   4   d i s t i n c t   n e t w o r k i n g   p r o b l e m s   t o   a d d r e s s :   H i g h l y - c o u p l e d   c o n t a i n e r - t o - c o n t a i n e r   c o m m u n i c a t i o n s :   t h i s   i s   s o l v e d   b y   P o d s   a n d   l o c a l h o s t   c o m m u n i c a t i o n s . P o d - t o - P o d   c o m m u n i c a t i o n s :   t h i s   i s   t h e   p r i m a r y   f o c u s   o f   t h i s   d o c u m e n t . P o d - t o - S e r v i c e   c o m m u n i c a t i o n s :   t h i s   i s   c o v e r e d   b y   S e r v i c e s . E x t e r n a l - t o - S e r v i c e   c o m m u n i c a t i o n s :   t h i s   i s   a l s o   c o v e r e d   b y   S e r v i c e s .   K u b e r n e t e s   i s   a l l   a b o u t   s h a r i n g   m a c h i n e s   a m o n g   a p p l i c a t i o n s .   T y p i c a l l y ,   s h a r i n g   m a c h i n e s   r e q u i r e s   e n s u r i n g   t h a t   t w o   a p p l i c a t i o n s   d o   n o t   t r y   t o   u s e   t h e   s a m e   p o r t s .   C o o r d i n a t i n g   p o r t s   a c r o s s   m u l t i p l e   d e v e l o p e r s   i s   v e r y   d i f f i c u l t   t o   d o   a t   s c a l e   a n d   e x p o s e s   u s e r s   t o   c l u s t e r - l e v e l   i s s u e s   o u t s i d e   o f   t h e i r   c o n t r o l .   D y n a m i c   p o r t   a l l o c a t i o n   b r i n g s   a   l o t   o f   c o m p l i c a t i o n s   t o   t h e   s y s t e m   -   e v e r y   a p p l i c a t i o n   h a s   t o   t a k e   p o r t s   a s   f l a g s ,   t h e   A P I   s e r v e r s   h a v e   t o   k n o w   h o w   t o   i n s e r t   d y n a m i c   p o r t   n u m b e r s   i n t o   c o n f i g u r a t i o n   b l o c k s ,   s e r v i ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_1_5731"
  },
  {
    "question": "What is Kubernetes IP address ranges?",
    "answer": "K u b e r n e t e s   c l u s t e r s   r e q u i r e   t o   a l l o c a t e   n o n - o v e r l a p p i n g   I P   a d d r e s s e s   f o r   P o d s ,   S e r v i c e s   a n d   N o d e s ,   f r o m   a   r a n g e   o f   a v a i l a b l e   a d d r e s s e s   c o n f i g u r e d   i n   t h e   f o l l o w i n g   c o m p o n e n t s :   T h e   n e t w o r k   p l u g i n   i s   c o n f i g u r e d   t o   a s s i g n   I P   a d d r e s s e s   t o   P o d s . T h e   k u b e - a p i s e r v e r   i s   c o n f i g u r e d   t o   a s s i g n   I P   a d d r e s s e s   t o   S e r v i c e s . T h e   k u b e l e t   o r   t h e   c l o u d - c o n t r o l l e r - m a n a g e r   i s   c o n f i g u r e d   t o   a s s i g n   I P   a d d r e s s e s   t o   N o d e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5732"
  },
  {
    "question": "What is Cluster networking types?",
    "answer": "K u b e r n e t e s   c l u s t e r s ,   a t t e n d i n g   t o   t h e   I P   f a m i l i e s   c o n f i g u r e d ,   c a n   b e   c a t e g o r i z e d   i n t o :   I P v 4   o n l y :   T h e   n e t w o r k   p l u g i n ,   k u b e - a p i s e r v e r   a n d   k u b e l e t / c l o u d - c o n t r o l l e r - m a n a g e r   a r e   c o n f i g u r e d   t o   a s s i g n   o n l y   I P v 4   a d d r e s s e s . I P v 6   o n l y :   T h e   n e t w o r k   p l u g i n ,   k u b e - a p i s e r v e r   a n d   k u b e l e t / c l o u d - c o n t r o l l e r - m a n a g e r   a r e   c o n f i g u r e d   t o   a s s i g n   o n l y   I P v 6   a d d r e s s e s . I P v 4 / I P v 6   o r   I P v 6 / I P v 4   d u a l - s t a c k : T h e   n e t w o r k   p l u g i n   i s   c o n f i g u r e d   t o   a s s i g n   I P v 4   a n d   I P v 6   a d d r e s s e s . T h e   k u b e - a p i s e r v e r   i s   c o n f i g u r e d   t o   a s s i g n   I P v 4   a n d   I P v 6   a d d r e s s e s . T h e   k u b e l e t   o r   c l o u d - c o n t r o l l e r - m a n a g e r   i s   c o n f i g u r e d   t o   a s s i g n   I P v 4   a n d   I P v 6   a d d r e s s . A l l   c o m p o n e n t s   m u s t   a g r e e   o n   t h e   c o n f i g u r e d   p r i m a r y   I P   f a m i l y .   T h e   n e t w o r k   p l u g i n   i s   c o n f i g u r e d   t o   a s s i g n   I P v 4   a n d   I P v 6   a d d r e s s e s . T h e   k u b e - a p i s e r v e r   i s   c o n f i g u r e d   t o   a s s i g n   I P v 4   a n d   I P v 6   a d d r e s s e s . T h e   k u b e l e t   o r   c l o u d - c o n t r o l l e r - m a n a g e r   i s   c o n f i g u r e d   t o   a s s i g n   I P v 4   a n d   I P v 6   a d d r e s s . A l l   c o m p o n e n t s   m u s t   a g r e e   o n   t h e   c o n f i g u r e d   p r i m a r y   I P   f a m i l y .   K u b e r n e t e s   c l u s t e r s   o n l y   c o n s i d e r   t h e   I P   f a m i l i e s   p r e s e n t ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5733"
  },
  {
    "question": "What is How to implement the Kubernetes network model?",
    "answer": "T h e   n e t w o r k   m o d e l   i s   i m p l e m e n t e d   b y   t h e   c o n t a i n e r   r u n t i m e   o n   e a c h   n o d e .   T h e   m o s t   c o m m o n   c o n t a i n e r   r u n t i m e s   u s e   C o n t a i n e r   N e t w o r k   I n t e r f a c e   ( C N I )   p l u g i n s   t o   m a n a g e   t h e i r   n e t w o r k   a n d   s e c u r i t y   c a p a b i l i t i e s .   M a n y   d i f f e r e n t   C N I   p l u g i n s   e x i s t   f r o m   m a n y   d i f f e r e n t   v e n d o r s .   S o m e   o f   t h e s e   p r o v i d e   o n l y   b a s i c   f e a t u r e s   o f   a d d i n g   a n d   r e m o v i n g   n e t w o r k   i n t e r f a c e s ,   w h i l e   o t h e r s   p r o v i d e   m o r e   s o p h i s t i c a t e d   s o l u t i o n s ,   s u c h   a s   i n t e g r a t i o n   w i t h   o t h e r   c o n t a i n e r   o r c h e s t r a t i o n   s y s t e m s ,   r u n n i n g   m u l t i p l e   C N I   p l u g i n s ,   a d v a n c e d   I P A M   f e a t u r e s   e t c .   S e e   t h i s   p a g e   f o r   a   n o n - e x h a u s t i v e   l i s t   o f   n e t w o r k i n g   a d d o n s   s u p p o r t e d   b y   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5734"
  },
  {
    "question": "What is What's next?",
    "answer": "T h e   e a r l y   d e s i g n   o f   t h e   n e t w o r k i n g   m o d e l   a n d   i t s   r a t i o n a l e   a r e   d e s c r i b e d   i n   m o r e   d e t a i l   i n   t h e   n e t w o r k i n g   d e s i g n   d o c u m e n t .   F o r   f u t u r e   p l a n s   a n d   s o m e   o n - g o i n g   e f f o r t s   t h a t   a i m   t o   i m p r o v e   K u b e r n e t e s   n e t w o r k i n g ,   p l e a s e   r e f e r   t o   t h e   S I G - N e t w o r k   K E P s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5735"
  },
  {
    "question": "What is 6 - Admission Webhook Good Practices?",
    "answer": "T h i s   p a g e   p r o v i d e s   g o o d   p r a c t i c e s   a n d   c o n s i d e r a t i o n s   w h e n   d e s i g n i n g   a d m i s s i o n   w e b h o o k s   i n   K u b e r n e t e s .   T h i s   i n f o r m a t i o n   i s   i n t e n d e d   f o r   c l u s t e r   o p e r a t o r s   w h o   r u n   a d m i s s i o n   w e b h o o k   s e r v e r s   o r   t h i r d - p a r t y   a p p l i c a t i o n s   t h a t   m o d i f y   o r   v a l i d a t e   y o u r   A P I   r e q u e s t s .   B e f o r e   r e a d i n g   t h i s   p a g e ,   e n s u r e   t h a t   y o u ' r e   f a m i l i a r   w i t h   t h e   f o l l o w i n g   c o n c e p t s :   A d m i s s i o n   c o n t r o l l e r s A d m i s s i o n   w e b h o o k s",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_1_5736"
  },
  {
    "question": "What is Importance of good webhook design?",
    "answer": "A d m i s s i o n   c o n t r o l   o c c u r s   w h e n   a n y   c r e a t e ,   u p d a t e ,   o r   d e l e t e   r e q u e s t   i s   s e n t   t o   t h e   K u b e r n e t e s   A P I .   A d m i s s i o n   c o n t r o l l e r s   i n t e r c e p t   r e q u e s t s   t h a t   m a t c h   s p e c i f i c   c r i t e r i a   t h a t   y o u   d e f i n e .   T h e s e   r e q u e s t s   a r e   t h e n   s e n t   t o   m u t a t i n g   a d m i s s i o n   w e b h o o k s   o r   v a l i d a t i n g   a d m i s s i o n   w e b h o o k s .   T h e s e   w e b h o o k s   a r e   o f t e n   w r i t t e n   t o   e n s u r e   t h a t   s p e c i f i c   f i e l d s   i n   o b j e c t   s p e c i f i c a t i o n s   e x i s t   o r   h a v e   s p e c i f i c   a l l o w e d   v a l u e s .   W e b h o o k s   a r e   a   p o w e r f u l   m e c h a n i s m   t o   e x t e n d   t h e   K u b e r n e t e s   A P I .   B a d l y - d e s i g n e d   w e b h o o k s   o f t e n   r e s u l t   i n   w o r k l o a d   d i s r u p t i o n s   b e c a u s e   o f   h o w   m u c h   c o n t r o l   t h e   w e b h o o k s   h a v e   o v e r   o b j e c t s   i n   t h e   c l u s t e r .   L i k e   o t h e r   A P I   e x t e n s i o n   m e c h a n i s m s ,   w e b h o o k s   a r e   c h a l l e n g i n g   t o   t e s t   a t   s c a l e   f o r   c o m p a t i b i l i t y   w i t h   a l l   o f   y o u r   w o r k l o a d s ,   o t h e r   w e b h o o k s ,   a d d - o n s ,   a n d   p l u g i n s .   A d d i t i o n a l l y ,   w i t h   e v e r y   r e l e a s e ,   K u b e r n e t e s   a d d s   o r   m o d i f i e s   t h e   A P I   w i t h   n e w   f e a t u r e s ,   f e a t u r e   p r o m o t i o n s   t o   b e t a   o r   s t a b l e   s t a t u s ,   a n d   d e p r e c a t i o n s .   E v e n   s t a b l e   K u b e r n e t e s   A P I s   a r e   l i k e l y   t o   c h a n g e .   F o r   e x a m p l e ,   t h e   P o d   A P I   c h ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5737"
  },
  {
    "question": "What is Identify whether you use admission webhooks?",
    "answer": "E v e n   i f   y o u   d o n ' t   r u n   y o u r   o w n   a d m i s s i o n   w e b h o o k s ,   s o m e   t h i r d - p a r t y   a p p l i c a t i o n s   t h a t   y o u   r u n   i n   y o u r   c l u s t e r s   m i g h t   u s e   m u t a t i n g   o r   v a l i d a t i n g   a d m i s s i o n   w e b h o o k s .   T o   c h e c k   w h e t h e r   y o u r   c l u s t e r   h a s   a n y   m u t a t i n g   a d m i s s i o n   w e b h o o k s ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   g e t   m u t a t i n g w e b h o o k c o n f i g u r a t i o n s   T h e   o u t p u t   l i s t s   a n y   m u t a t i n g   a d m i s s i o n   c o n t r o l l e r s   i n   t h e   c l u s t e r .   T o   c h e c k   w h e t h e r   y o u r   c l u s t e r   h a s   a n y   v a l i d a t i n g   a d m i s s i o n   w e b h o o k s ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   g e t   v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s   T h e   o u t p u t   l i s t s   a n y   v a l i d a t i n g   a d m i s s i o n   c o n t r o l l e r s   i n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5738"
  },
  {
    "question": "What is Choose an admission control mechanism?",
    "answer": "K u b e r n e t e s   i n c l u d e s   m u l t i p l e   a d m i s s i o n   c o n t r o l   a n d   p o l i c y   e n f o r c e m e n t   o p t i o n s .   K n o w i n g   w h e n   t o   u s e   a   s p e c i f i c   o p t i o n   c a n   h e l p   y o u   t o   i m p r o v e   l a t e n c y   a n d   p e r f o r m a n c e ,   r e d u c e   m a n a g e m e n t   o v e r h e a d ,   a n d   a v o i d   i s s u e s   d u r i n g   v e r s i o n   u p g r a d e s .   T h e   f o l l o w i n g   t a b l e   d e s c r i b e s   t h e   m e c h a n i s m s   t h a t   l e t   y o u   m u t a t e   o r   v a l i d a t e   r e s o u r c e s   d u r i n g   a d m i s s i o n :   M a k e   c r i t i c a l   m o d i f i c a t i o n s   t h a t   m u s t   h a p p e n   b e f o r e   r e s o u r c e   a d m i s s i o n . M a k e   c o m p l e x   m o d i f i c a t i o n s   t h a t   r e q u i r e   a d v a n c e d   l o g i c ,   l i k e   c a l l i n g   e x t e r n a l   A P I s .   M a k e   c r i t i c a l   m o d i f i c a t i o n s   t h a t   m u s t   h a p p e n   b e f o r e   r e s o u r c e   a d m i s s i o n . M a k e   s i m p l e   m o d i f i c a t i o n s ,   s u c h   a s   a d j u s t i n g   l a b e l s   o r   r e p l i c a   c o u n t s .   V a l i d a t e   c r i t i c a l   c o n f i g u r a t i o n s   b e f o r e   r e s o u r c e   a d m i s s i o n . E n f o r c e   c o m p l e x   p o l i c y   l o g i c   b e f o r e   a d m i s s i o n .   V a l i d a t e   c r i t i c a l   c o n f i g u r a t i o n s   b e f o r e   r e s o u r c e   a d m i s s i o n . E n f o r c e   p o l i c y   l o g i c   u s i n g   C E L   e x p r e s s i o n s .   I n   g e n e r a l ,   u s e   w e b h o o k   a d m i s s i o n   c o n t r o l   w h e n   y o u   w a n t   a n   e x t e n s i b l e   w a y   t o   d e c l a r e   o r   c o n f i g u r e   t h e   l o g i c .   U s e   b u i l t - i n   C E L - b a s e d   a d m i s s i o n   c o n t r o l   w h e ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5739"
  },
  {
    "question": "What is Use built-in validation and defaulting for CustomResourceDefinitions?",
    "answer": "I f   y o u   u s e   C u s t o m R e s o u r c e D e f i n i t i o n s ,   d o n ' t   u s e   a d m i s s i o n   w e b h o o k s   t o   v a l i d a t e   v a l u e s   i n   C u s t o m R e s o u r c e   s p e c i f i c a t i o n s   o r   t o   s e t   d e f a u l t   v a l u e s   f o r   f i e l d s .   K u b e r n e t e s   l e t s   y o u   d e f i n e   v a l i d a t i o n   r u l e s   a n d   d e f a u l t   f i e l d   v a l u e s   w h e n   y o u   c r e a t e   C u s t o m R e s o u r c e D e f i n i t i o n s .   T o   l e a r n   m o r e ,   s e e   t h e   f o l l o w i n g   r e s o u r c e s :   V a l i d a t i o n   r u l e s D e f a u l t i n g",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5740"
  },
  {
    "question": "What is Performance and latency?",
    "answer": "T h i s   s e c t i o n   d e s c r i b e s   r e c o m m e n d a t i o n s   f o r   i m p r o v i n g   p e r f o r m a n c e   a n d   r e d u c i n g   l a t e n c y .   I n   s u m m a r y ,   t h e s e   a r e   a s   f o l l o w s :   C o n s o l i d a t e   w e b h o o k s   a n d   l i m i t   t h e   n u m b e r   o f   A P I   c a l l s   p e r   w e b h o o k . U s e   a u d i t   l o g s   t o   c h e c k   f o r   w e b h o o k s   t h a t   r e p e a t e d l y   d o   t h e   s a m e   a c t i o n . U s e   l o a d   b a l a n c i n g   f o r   w e b h o o k   a v a i l a b i l i t y . S e t   a   s m a l l   t i m e o u t   v a l u e   f o r   e a c h   w e b h o o k . C o n s i d e r   c l u s t e r   a v a i l a b i l i t y   n e e d s   d u r i n g   w e b h o o k   d e s i g n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5741"
  },
  {
    "question": "What is Design admission webhooks for low latency?",
    "answer": "M u t a t i n g   a d m i s s i o n   w e b h o o k s   a r e   c a l l e d   i n   s e q u e n c e .   D e p e n d i n g   o n   t h e   m u t a t i n g   w e b h o o k   s e t u p ,   s o m e   w e b h o o k s   m i g h t   b e   c a l l e d   m u l t i p l e   t i m e s .   E v e r y   m u t a t i n g   w e b h o o k   c a l l   a d d s   l a t e n c y   t o   t h e   a d m i s s i o n   p r o c e s s .   T h i s   i s   u n l i k e   v a l i d a t i n g   w e b h o o k s ,   w h i c h   g e t   c a l l e d   i n   p a r a l l e l .   W h e n   d e s i g n i n g   y o u r   m u t a t i n g   w e b h o o k s ,   c o n s i d e r   y o u r   l a t e n c y   r e q u i r e m e n t s   a n d   t o l e r a n c e .   T h e   m o r e   m u t a t i n g   w e b h o o k s   t h e r e   a r e   i n   y o u r   c l u s t e r ,   t h e   g r e a t e r   t h e   c h a n c e   o f   l a t e n c y   i n c r e a s e s .   C o n s i d e r   t h e   f o l l o w i n g   t o   r e d u c e   l a t e n c y :   C o n s o l i d a t e   w e b h o o k s   t h a t   p e r f o r m   a   s i m i l a r   m u t a t i o n   o n   d i f f e r e n t   o b j e c t s . R e d u c e   t h e   n u m b e r   o f   A P I   c a l l s   m a d e   i n   t h e   m u t a t i n g   w e b h o o k   s e r v e r   l o g i c . L i m i t   t h e   m a t c h   c o n d i t i o n s   o f   e a c h   m u t a t i n g   w e b h o o k   t o   r e d u c e   h o w   m a n y   w e b h o o k s   a r e   t r i g g e r e d   b y   a   s p e c i f i c   A P I   r e q u e s t . C o n s o l i d a t e   s m a l l   w e b h o o k s   i n t o   o n e   s e r v e r   a n d   c o n f i g u r a t i o n   t o   h e l p   w i t h   o r d e r i n g   a n d   o r g a n i z a t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5742"
  },
  {
    "question": "What is Prevent loops caused by competing controllers?",
    "answer": "C o n s i d e r   a n y   o t h e r   c o m p o n e n t s   t h a t   r u n   i n   y o u r   c l u s t e r   t h a t   m i g h t   c o n f l i c t   w i t h   t h e   m u t a t i o n s   t h a t   y o u r   w e b h o o k   m a k e s .   F o r   e x a m p l e ,   i f   y o u r   w e b h o o k   a d d s   a   l a b e l   t h a t   a   d i f f e r e n t   c o n t r o l l e r   r e m o v e s ,   y o u r   w e b h o o k   g e t s   c a l l e d   a g a i n .   T h i s   l e a d s   t o   a   l o o p .   T o   d e t e c t   t h e s e   l o o p s ,   t r y   t h e   f o l l o w i n g :   U p d a t e   y o u r   c l u s t e r   a u d i t   p o l i c y   t o   l o g   a u d i t   e v e n t s .   U s e   t h e   f o l l o w i n g   p a r a m e t e r s : l e v e l :   R e q u e s t R e s p o n s e v e r b s :   [ \" p a t c h \" ] o m i t S t a g e s :   R e q u e s t R e c e i v e d S e t   t h e   a u d i t   r u l e   t o   c r e a t e   e v e n t s   f o r   t h e   s p e c i f i c   r e s o u r c e s   t h a t   y o u r   w e b h o o k   m u t a t e s . C h e c k   y o u r   a u d i t   e v e n t s   f o r   w e b h o o k s   b e i n g   r e i n v o k e d   m u l t i p l e   t i m e s   w i t h   t h e   s a m e   p a t c h   b e i n g   a p p l i e d   t o   t h e   s a m e   o b j e c t ,   o r   f o r   a n   o b j e c t   h a v i n g   a   f i e l d   u p d a t e d   a n d   r e v e r t e d   m u l t i p l e   t i m e s .   U p d a t e   y o u r   c l u s t e r   a u d i t   p o l i c y   t o   l o g   a u d i t   e v e n t s .   U s e   t h e   f o l l o w i n g   p a r a m e t e r s :   l e v e l :   R e q u e s t R e s p o n s e v e r b s :   [ \" p a t c h \" ] o m i t S t a g e s :   R e q u e s t R e c e i v e d   S e t   t h e   a u d i t   r u l e   t o   c r e a t e   e v e n t s   f o r   t h e   s p e c i f i c   r e s o u r c e s   t h a t   y o u r   w e b h o o k   m u t a t e s .   C h e c k   y o u r   a u d i t   e v e n t s   f o r   w e b h o o k s   b ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5743"
  },
  {
    "question": "What is Set a small timeout value?",
    "answer": "A d m i s s i o n   w e b h o o k s   s h o u l d   e v a l u a t e   a s   q u i c k l y   a s   p o s s i b l e   ( t y p i c a l l y   i n   m i l l i s e c o n d s ) ,   s i n c e   t h e y   a d d   t o   A P I   r e q u e s t   l a t e n c y .   U s e   a   s m a l l   t i m e o u t   f o r   w e b h o o k s .   F o r   d e t a i l s ,   s e e   T i m e o u t s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5744"
  },
  {
    "question": "What is Use a load balancer to ensure webhook availability?",
    "answer": "A d m i s s i o n   w e b h o o k s   s h o u l d   l e v e r a g e   s o m e   f o r m   o f   l o a d - b a l a n c i n g   t o   p r o v i d e   h i g h   a v a i l a b i l i t y   a n d   p e r f o r m a n c e   b e n e f i t s .   I f   a   w e b h o o k   i s   r u n n i n g   w i t h i n   t h e   c l u s t e r ,   y o u   c a n   r u n   m u l t i p l e   w e b h o o k   b a c k e n d s   b e h i n d   a   S e r v i c e   o f   t y p e   C l u s t e r I P .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5745"
  },
  {
    "question": "What is Use a high-availability deployment model?",
    "answer": "C o n s i d e r   y o u r   c l u s t e r ' s   a v a i l a b i l i t y   r e q u i r e m e n t s   w h e n   d e s i g n i n g   y o u r   w e b h o o k .   F o r   e x a m p l e ,   d u r i n g   n o d e   d o w n t i m e   o r   z o n a l   o u t a g e s ,   K u b e r n e t e s   m a r k s   P o d s   a s   N o t R e a d y   t o   a l l o w   l o a d   b a l a n c e r s   t o   r e r o u t e   t r a f f i c   t o   a v a i l a b l e   z o n e s   a n d   n o d e s .   T h e s e   u p d a t e s   t o   P o d s   m i g h t   t r i g g e r   y o u r   m u t a t i n g   w e b h o o k s .   D e p e n d i n g   o n   t h e   n u m b e r   o f   a f f e c t e d   P o d s ,   t h e   m u t a t i n g   w e b h o o k   s e r v e r   h a s   a   r i s k   o f   t i m i n g   o u t   o r   c a u s i n g   d e l a y s   i n   P o d   p r o c e s s i n g .   A s   a   r e s u l t ,   t r a f f i c   w o n ' t   g e t   r e r o u t e d   a s   q u i c k l y   a s   y o u   n e e d .   C o n s i d e r   s i t u a t i o n s   l i k e   t h e   p r e c e d i n g   e x a m p l e   w h e n   w r i t i n g   y o u r   w e b h o o k s .   E x c l u d e   o p e r a t i o n s   t h a t   a r e   a   r e s u l t   o f   K u b e r n e t e s   r e s p o n d i n g   t o   u n a v o i d a b l e   i n c i d e n t s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5746"
  },
  {
    "question": "What is Request filtering?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   r e c o m m e n d a t i o n s   f o r   f i l t e r i n g   w h i c h   r e q u e s t s   t r i g g e r   s p e c i f i c   w e b h o o k s .   I n   s u m m a r y ,   t h e s e   a r e   a s   f o l l o w s :   L i m i t   t h e   w e b h o o k   s c o p e   t o   a v o i d   s y s t e m   c o m p o n e n t s   a n d   r e a d - o n l y   r e q u e s t s . L i m i t   w e b h o o k s   t o   s p e c i f i c   n a m e s p a c e s . U s e   m a t c h   c o n d i t i o n s   t o   p e r f o r m   f i n e - g r a i n e d   r e q u e s t   f i l t e r i n g . M a t c h   a l l   v e r s i o n s   o f   a n   o b j e c t .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5747"
  },
  {
    "question": "What is Limit the scope of each webhook?",
    "answer": "A d m i s s i o n   w e b h o o k s   a r e   o n l y   c a l l e d   w h e n   a n   A P I   r e q u e s t   m a t c h e s   t h e   c o r r e s p o n d i n g   w e b h o o k   c o n f i g u r a t i o n .   L i m i t   t h e   s c o p e   o f   e a c h   w e b h o o k   t o   r e d u c e   u n n e c e s s a r y   c a l l s   t o   t h e   w e b h o o k   s e r v e r .   C o n s i d e r   t h e   f o l l o w i n g   s c o p e   l i m i t a t i o n s :   A v o i d   m a t c h i n g   o b j e c t s   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   I f   y o u   r u n   y o u r   o w n   P o d s   i n   t h e   k u b e - s y s t e m   n a m e s p a c e ,   u s e   a n   o b j e c t S e l e c t o r   t o   a v o i d   m u t a t i n g   a   c r i t i c a l   w o r k l o a d . D o n ' t   m u t a t e   n o d e   l e a s e s ,   w h i c h   e x i s t   a s   L e a s e   o b j e c t s   i n   t h e   k u b e - n o d e - l e a s e   s y s t e m   n a m e s p a c e .   M u t a t i n g   n o d e   l e a s e s   m i g h t   r e s u l t   i n   f a i l e d   n o d e   u p g r a d e s .   O n l y   a p p l y   v a l i d a t i o n   c o n t r o l s   t o   L e a s e   o b j e c t s   i n   t h i s   n a m e s p a c e   i f   y o u ' r e   c o n f i d e n t   t h a t   t h e   c o n t r o l s   w o n ' t   p u t   y o u r   c l u s t e r   a t   r i s k . D o n ' t   m u t a t e   T o k e n R e v i e w   o r   S u b j e c t A c c e s s R e v i e w   o b j e c t s .   T h e s e   a r e   a l w a y s   r e a d - o n l y   r e q u e s t s .   M o d i f y i n g   t h e s e   o b j e c t s   m i g h t   b r e a k   y o u r   c l u s t e r . L i m i t   e a c h   w e b h o o k   t o   a   s p e c i f i c   n a m e s p a c e   b y   u s i n g   a   n a m e s p a c e S e l e c t o r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5748"
  },
  {
    "question": "What is Filter for specific requests by using match conditions?",
    "answer": "A d m i s s i o n   c o n t r o l l e r s   s u p p o r t   m u l t i p l e   f i e l d s   t h a t   y o u   c a n   u s e   t o   m a t c h   r e q u e s t s   t h a t   m e e t   s p e c i f i c   c r i t e r i a .   F o r   e x a m p l e ,   y o u   c a n   u s e   a   n a m e s p a c e S e l e c t o r   t o   f i l t e r   f o r   r e q u e s t s   t h a t   t a r g e t   a   s p e c i f i c   n a m e s p a c e .   F o r   m o r e   f i n e - g r a i n e d   r e q u e s t   f i l t e r i n g ,   u s e   t h e   m a t c h C o n d i t i o n s   f i e l d   i n   y o u r   w e b h o o k   c o n f i g u r a t i o n .   T h i s   f i e l d   l e t s   y o u   w r i t e   m u l t i p l e   C E L   e x p r e s s i o n s   t h a t   m u s t   e v a l u a t e   t o   t r u e   f o r   a   r e q u e s t   t o   t r i g g e r   y o u r   a d m i s s i o n   w e b h o o k .   U s i n g   m a t c h C o n d i t i o n s   m i g h t   s i g n i f i c a n t l y   r e d u c e   t h e   n u m b e r   o f   c a l l s   t o   y o u r   w e b h o o k   s e r v e r .   F o r   d e t a i l s ,   s e e   M a t c h i n g   r e q u e s t s :   m a t c h C o n d i t i o n s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5749"
  },
  {
    "question": "What is Match all versions of an API?",
    "answer": "B y   d e f a u l t ,   a d m i s s i o n   w e b h o o k s   r u n   o n   a n y   A P I   v e r s i o n s   t h a t   a f f e c t   a   s p e c i f i e d   r e s o u r c e .   T h e   m a t c h P o l i c y   f i e l d   i n   t h e   w e b h o o k   c o n f i g u r a t i o n   c o n t r o l s   t h i s   b e h a v i o r .   S p e c i f y   a   v a l u e   o f   E q u i v a l e n t   i n   t h e   m a t c h P o l i c y   f i e l d   o r   o m i t   t h e   f i e l d   t o   a l l o w   t h e   w e b h o o k   t o   r u n   o n   a n y   A P I   v e r s i o n .   F o r   d e t a i l s ,   s e e   M a t c h i n g   r e q u e s t s :   m a t c h P o l i c y .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5750"
  },
  {
    "question": "What is Mutation scope and field considerations?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   r e c o m m e n d a t i o n s   f o r   t h e   s c o p e   o f   m u t a t i o n s   a n d   a n y   s p e c i a l   c o n s i d e r a t i o n s   f o r   o b j e c t   f i e l d s .   I n   s u m m a r y ,   t h e s e   a r e   a s   f o l l o w s :   P a t c h   o n l y   t h e   f i e l d s   t h a t   y o u   n e e d   t o   p a t c h . D o n ' t   o v e r w r i t e   a r r a y   v a l u e s . A v o i d   s i d e   e f f e c t s   i n   m u t a t i o n s   w h e n   p o s s i b l e . A v o i d   s e l f - m u t a t i o n s . F a i l   o p e n   a n d   v a l i d a t e   t h e   f i n a l   s t a t e . P l a n   f o r   f u t u r e   f i e l d   u p d a t e s   i n   l a t e r   v e r s i o n s . P r e v e n t   w e b h o o k s   f r o m   s e l f - t r i g g e r i n g . D o n ' t   c h a n g e   i m m u t a b l e   o b j e c t s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5751"
  },
  {
    "question": "What is Patch only required fields?",
    "answer": "A d m i s s i o n   w e b h o o k   s e r v e r s   s e n d   H T T P   r e s p o n s e s   t o   i n d i c a t e   w h a t   t o   d o   w i t h   a   s p e c i f i c   K u b e r n e t e s   A P I   r e q u e s t .   T h i s   r e s p o n s e   i s   a n   A d m i s s i o n R e v i e w   o b j e c t .   A   m u t a t i n g   w e b h o o k   c a n   a d d   s p e c i f i c   f i e l d s   t o   m u t a t e   b e f o r e   a l l o w i n g   a d m i s s i o n   b y   u s i n g   t h e   p a t c h T y p e   f i e l d   a n d   t h e   p a t c h   f i e l d   i n   t h e   r e s p o n s e .   E n s u r e   t h a t   y o u   o n l y   m o d i f y   t h e   f i e l d s   t h a t   r e q u i r e   a   c h a n g e .   F o r   e x a m p l e ,   c o n s i d e r   a   m u t a t i n g   w e b h o o k   t h a t ' s   c o n f i g u r e d   t o   e n s u r e   t h a t   w e b - s e r v e r   D e p l o y m e n t s   h a v e   a t   l e a s t   t h r e e   r e p l i c a s .   W h e n   a   r e q u e s t   t o   c r e a t e   a   D e p l o y m e n t   o b j e c t   m a t c h e s   y o u r   w e b h o o k   c o n f i g u r a t i o n ,   t h e   w e b h o o k   s h o u l d   o n l y   u p d a t e   t h e   v a l u e   i n   t h e   s p e c . r e p l i c a s   f i e l d .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5752"
  },
  {
    "question": "What is Don't overwrite array values?",
    "answer": "F i e l d s   i n   K u b e r n e t e s   o b j e c t   s p e c i f i c a t i o n s   m i g h t   i n c l u d e   a r r a y s .   S o m e   a r r a y s   c o n t a i n   k e y : v a l u e   p a i r s   ( l i k e   t h e   e n v V a r   f i e l d   i n   a   c o n t a i n e r   s p e c i f i c a t i o n ) ,   w h i l e   o t h e r   a r r a y s   a r e   u n k e y e d   ( l i k e   t h e   r e a d i n e s s G a t e s   f i e l d   i n   a   P o d   s p e c i f i c a t i o n ) .   T h e   o r d e r   o f   v a l u e s   i n   a n   a r r a y   f i e l d   m i g h t   m a t t e r   i n   s o m e   s i t u a t i o n s .   F o r   e x a m p l e ,   t h e   o r d e r   o f   a r g u m e n t s   i n   t h e   a r g s   f i e l d   o f   a   c o n t a i n e r   s p e c i f i c a t i o n   m i g h t   a f f e c t   t h e   c o n t a i n e r .   C o n s i d e r   t h e   f o l l o w i n g   w h e n   m o d i f y i n g   a r r a y s :   W h e n e v e r   p o s s i b l e ,   u s e   t h e   a d d   J S O N P a t c h   o p e r a t i o n   i n s t e a d   o f   r e p l a c e   t o   a v o i d   a c c i d e n t a l l y   r e p l a c i n g   a   r e q u i r e d   v a l u e . T r e a t   a r r a y s   t h a t   d o n ' t   u s e   k e y : v a l u e   p a i r s   a s   s e t s . E n s u r e   t h a t   t h e   v a l u e s   i n   t h e   f i e l d   t h a t   y o u   m o d i f y   a r e n ' t   r e q u i r e d   t o   b e   i n   a   s p e c i f i c   o r d e r . D o n ' t   o v e r w r i t e   e x i s t i n g   k e y : v a l u e   p a i r s   u n l e s s   a b s o l u t e l y   n e c e s s a r y . U s e   c a u t i o n   w h e n   m o d i f y i n g   l a b e l   f i e l d s .   A n   a c c i d e n t a l   m o d i f i c a t i o n   m i g h t   c a u s e   l a b e l   s e l e c t o r s   t o   b r e a k ,   r e s u l t i n g   i n   u n i n t e n d e d   b e h a v i o r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5753"
  },
  {
    "question": "What is Avoid side effects?",
    "answer": "E n s u r e   t h a t   y o u r   w e b h o o k s   o p e r a t e   o n l y   o n   t h e   c o n t e n t   o f   t h e   A d m i s s i o n R e v i e w   t h a t ' s   s e n t   t o   t h e m ,   a n d   d o   n o t   m a k e   o u t - o f - b a n d   c h a n g e s .   T h e s e   a d d i t i o n a l   c h a n g e s ,   c a l l e d   s i d e   e f f e c t s ,   m i g h t   c a u s e   c o n f l i c t s   d u r i n g   a d m i s s i o n   i f   t h e y   a r e n ' t   r e c o n c i l e d   p r o p e r l y .   T h e   . w e b h o o k s [ ] . s i d e E f f e c t s   f i e l d   s h o u l d   b e   s e t   t o   N o n e   i f   a   w e b h o o k   d o e s n ' t   h a v e   a n y   s i d e   e f f e c t .   I f   s i d e   e f f e c t s   a r e   r e q u i r e d   d u r i n g   t h e   a d m i s s i o n   e v a l u a t i o n ,   t h e y   m u s t   b e   s u p p r e s s e d   w h e n   p r o c e s s i n g   a n   A d m i s s i o n R e v i e w   o b j e c t   w i t h   d r y R u n   s e t   t o   t r u e ,   a n d   t h e   . w e b h o o k s [ ] . s i d e E f f e c t s   f i e l d   s h o u l d   b e   s e t   t o   N o n e O n D r y R u n .   F o r   d e t a i l s ,   s e e   S i d e   e f f e c t s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5754"
  },
  {
    "question": "What is Avoid self-mutations?",
    "answer": "A   w e b h o o k   r u n n i n g   i n s i d e   t h e   c l u s t e r   m i g h t   c a u s e   d e a d l o c k s   f o r   i t s   o w n   d e p l o y m e n t   i f   i t   i s   c o n f i g u r e d   t o   i n t e r c e p t   r e s o u r c e s   r e q u i r e d   t o   s t a r t   i t s   o w n   P o d s .   F o r   e x a m p l e ,   a   m u t a t i n g   a d m i s s i o n   w e b h o o k   i s   c o n f i g u r e d   t o   a d m i t   c r e a t e   P o d   r e q u e s t s   o n l y   i f   a   c e r t a i n   l a b e l   i s   s e t   i n   t h e   P o d   ( s u c h   a s   e n v :   p r o d ) .   T h e   w e b h o o k   s e r v e r   r u n s   i n   a   D e p l o y m e n t   t h a t   d o e s n ' t   s e t   t h e   e n v   l a b e l .   W h e n   a   n o d e   t h a t   r u n s   t h e   w e b h o o k   s e r v e r   P o d s   b e c o m e s   u n h e a l t h y ,   t h e   w e b h o o k   D e p l o y m e n t   t r i e s   t o   r e s c h e d u l e   t h e   P o d s   t o   a n o t h e r   n o d e .   H o w e v e r ,   t h e   e x i s t i n g   w e b h o o k   s e r v e r   r e j e c t s   t h e   r e q u e s t s   s i n c e   t h e   e n v   l a b e l   i s   u n s e t .   A s   a   r e s u l t ,   t h e   m i g r a t i o n   c a n n o t   h a p p e n .   E x c l u d e   t h e   n a m e s p a c e   w h e r e   y o u r   w e b h o o k   i s   r u n n i n g   w i t h   a   n a m e s p a c e S e l e c t o r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5755"
  },
  {
    "question": "What is Avoid dependency loops?",
    "answer": "D e p e n d e n c y   l o o p s   c a n   o c c u r   i n   s c e n a r i o s   l i k e   t h e   f o l l o w i n g :   T w o   w e b h o o k s   c h e c k   e a c h   o t h e r ' s   P o d s .   I f   b o t h   w e b h o o k s   b e c o m e   u n a v a i l a b l e   a t   t h e   s a m e   t i m e ,   n e i t h e r   w e b h o o k   c a n   s t a r t . Y o u r   w e b h o o k   i n t e r c e p t s   c l u s t e r   a d d - o n   c o m p o n e n t s ,   s u c h   a s   n e t w o r k i n g   p l u g i n s   o r   s t o r a g e   p l u g i n s ,   t h a t   y o u r   w e b h o o k   d e p e n d s   o n .   I f   b o t h   t h e   w e b h o o k   a n d   t h e   d e p e n d e n t   a d d - o n   b e c o m e   u n a v a i l a b l e ,   n e i t h e r   c o m p o n e n t   c a n   f u n c t i o n .   T o   a v o i d   t h e s e   d e p e n d e n c y   l o o p s ,   t r y   t h e   f o l l o w i n g :   U s e   V a l i d a t i n g A d m i s s i o n P o l i c i e s   t o   a v o i d   i n t r o d u c i n g   d e p e n d e n c i e s . P r e v e n t   w e b h o o k s   f r o m   v a l i d a t i n g   o r   m u t a t i n g   o t h e r   w e b h o o k s .   C o n s i d e r   e x c l u d i n g   s p e c i f i c   n a m e s p a c e s   f r o m   t r i g g e r i n g   y o u r   w e b h o o k . P r e v e n t   y o u r   w e b h o o k s   f r o m   a c t i n g   o n   d e p e n d e n t   a d d - o n s   b y   u s i n g   a n   o b j e c t S e l e c t o r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5756"
  },
  {
    "question": "What is Fail open and validate the final state?",
    "answer": "M u t a t i n g   a d m i s s i o n   w e b h o o k s   s u p p o r t   t h e   f a i l u r e P o l i c y   c o n f i g u r a t i o n   f i e l d .   T h i s   f i e l d   i n d i c a t e s   w h e t h e r   t h e   A P I   s e r v e r   s h o u l d   a d m i t   o r   r e j e c t   t h e   r e q u e s t   i f   t h e   w e b h o o k   f a i l s .   W e b h o o k   f a i l u r e s   m i g h t   o c c u r   b e c a u s e   o f   t i m e o u t s   o r   e r r o r s   i n   t h e   s e r v e r   l o g i c .   B y   d e f a u l t ,   a d m i s s i o n   w e b h o o k s   s e t   t h e   f a i l u r e P o l i c y   f i e l d   t o   F a i l .   T h e   A P I   s e r v e r   r e j e c t s   a   r e q u e s t   i f   t h e   w e b h o o k   f a i l s .   H o w e v e r ,   r e j e c t i n g   r e q u e s t s   b y   d e f a u l t   m i g h t   r e s u l t   i n   c o m p l i a n t   r e q u e s t s   b e i n g   r e j e c t e d   d u r i n g   w e b h o o k   d o w n t i m e .   L e t   y o u r   m u t a t i n g   w e b h o o k s   \" f a i l   o p e n \"   b y   s e t t i n g   t h e   f a i l u r e P o l i c y   f i e l d   t o   I g n o r e .   U s e   a   v a l i d a t i n g   c o n t r o l l e r   t o   c h e c k   t h e   s t a t e   o f   r e q u e s t s   t o   e n s u r e   t h a t   t h e y   c o m p l y   w i t h   y o u r   p o l i c i e s .   T h i s   a p p r o a c h   h a s   t h e   f o l l o w i n g   b e n e f i t s :   M u t a t i n g   w e b h o o k   d o w n t i m e   d o e s n ' t   a f f e c t   c o m p l i a n t   r e s o u r c e s   f r o m   d e p l o y i n g . P o l i c y   e n f o r c e m e n t   o c c u r s   d u r i n g   v a l i d a t i n g   a d m i s s i o n   c o n t r o l . M u t a t i n g   w e b h o o k s   d o n ' t   i n t e r f e r e   w i t h   o t h e r   c o n t r o l l e r s   i n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5757"
  },
  {
    "question": "What is Plan for future updates to fields?",
    "answer": "I n   g e n e r a l ,   d e s i g n   y o u r   w e b h o o k s   u n d e r   t h e   a s s u m p t i o n   t h a t   K u b e r n e t e s   A P I s   m i g h t   c h a n g e   i n   a   l a t e r   v e r s i o n .   D o n ' t   w r i t e   a   s e r v e r   t h a t   t a k e s   t h e   s t a b i l i t y   o f   a n   A P I   f o r   g r a n t e d .   F o r   e x a m p l e ,   t h e   r e l e a s e   o f   s i d e c a r   c o n t a i n e r s   i n   K u b e r n e t e s   a d d e d   a   r e s t a r t P o l i c y   f i e l d   t o   t h e   P o d   A P I .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5758"
  },
  {
    "question": "What is Prevent your webhook from triggering itself?",
    "answer": "M u t a t i n g   w e b h o o k s   t h a t   r e s p o n d   t o   a   b r o a d   r a n g e   o f   A P I   r e q u e s t s   m i g h t   u n i n t e n t i o n a l l y   t r i g g e r   t h e m s e l v e s .   F o r   e x a m p l e ,   c o n s i d e r   a   w e b h o o k   t h a t   r e s p o n d s   t o   a l l   r e q u e s t s   i n   t h e   c l u s t e r .   I f   y o u   c o n f i g u r e   t h e   w e b h o o k   t o   c r e a t e   E v e n t   o b j e c t s   f o r   e v e r y   m u t a t i o n ,   i t ' l l   r e s p o n d   t o   i t s   o w n   E v e n t   o b j e c t   c r e a t i o n   r e q u e s t s .   T o   a v o i d   t h i s ,   c o n s i d e r   s e t t i n g   a   u n i q u e   l a b e l   i n   a n y   r e s o u r c e s   t h a t   y o u r   w e b h o o k   c r e a t e s .   E x c l u d e   t h i s   l a b e l   f r o m   y o u r   w e b h o o k   m a t c h   c o n d i t i o n s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5759"
  },
  {
    "question": "What is Don't change immutable objects?",
    "answer": "S o m e   K u b e r n e t e s   o b j e c t s   i n   t h e   A P I   s e r v e r   c a n ' t   c h a n g e .   F o r   e x a m p l e ,   w h e n   y o u   d e p l o y   a   s t a t i c   P o d ,   t h e   k u b e l e t   o n   t h e   n o d e   c r e a t e s   a   m i r r o r   P o d   i n   t h e   A P I   s e r v e r   t o   t r a c k   t h e   s t a t i c   P o d .   H o w e v e r ,   c h a n g e s   t o   t h e   m i r r o r   P o d   d o n ' t   p r o p a g a t e   t o   t h e   s t a t i c   P o d .   D o n ' t   a t t e m p t   t o   m u t a t e   t h e s e   o b j e c t s   d u r i n g   a d m i s s i o n .   A l l   m i r r o r   P o d s   h a v e   t h e   k u b e r n e t e s . i o / c o n f i g . m i r r o r   a n n o t a t i o n .   T o   e x c l u d e   m i r r o r   P o d s   w h i l e   r e d u c i n g   t h e   s e c u r i t y   r i s k   o f   i g n o r i n g   a n   a n n o t a t i o n ,   a l l o w   s t a t i c   P o d s   t o   o n l y   r u n   i n   s p e c i f i c   n a m e s p a c e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5760"
  },
  {
    "question": "What is Mutating webhook ordering and idempotence?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   r e c o m m e n d a t i o n s   f o r   w e b h o o k   o r d e r   a n d   d e s i g n i n g   i d e m p o t e n t   w e b h o o k s .   I n   s u m m a r y ,   t h e s e   a r e   a s   f o l l o w s :   D o n ' t   r e l y   o n   a   s p e c i f i c   o r d e r   o f   e x e c u t i o n . V a l i d a t e   m u t a t i o n s   b e f o r e   a d m i s s i o n . C h e c k   f o r   m u t a t i o n s   b e i n g   o v e r w r i t t e n   b y   o t h e r   c o n t r o l l e r s . E n s u r e   t h a t   t h e   s e t   o f   m u t a t i n g   w e b h o o k s   i s   i d e m p o t e n t ,   n o t   j u s t   t h e   i n d i v i d u a l   w e b h o o k s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5761"
  },
  {
    "question": "What is Don't rely on mutating webhook invocation order?",
    "answer": "M u t a t i n g   a d m i s s i o n   w e b h o o k s   d o n ' t   r u n   i n   a   c o n s i s t e n t   o r d e r .   V a r i o u s   f a c t o r s   m i g h t   c h a n g e   w h e n   a   s p e c i f i c   w e b h o o k   i s   c a l l e d .   D o n ' t   r e l y   o n   y o u r   w e b h o o k   r u n n i n g   a t   a   s p e c i f i c   p o i n t   i n   t h e   a d m i s s i o n   p r o c e s s .   O t h e r   w e b h o o k s   c o u l d   s t i l l   m u t a t e   y o u r   m o d i f i e d   o b j e c t .   T h e   f o l l o w i n g   r e c o m m e n d a t i o n s   m i g h t   h e l p   t o   m i n i m i z e   t h e   r i s k   o f   u n i n t e n d e d   c h a n g e s :   V a l i d a t e   m u t a t i o n s   b e f o r e   a d m i s s i o n U s e   a   r e i n v o c a t i o n   p o l i c y   t o   o b s e r v e   c h a n g e s   t o   a n   o b j e c t   b y   o t h e r   p l u g i n s   a n d   r e - r u n   t h e   w e b h o o k   a s   n e e d e d .   F o r   d e t a i l s ,   s e e   R e i n v o c a t i o n   p o l i c y .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5762"
  },
  {
    "question": "What is Ensure that the mutating webhooks in your cluster are idempotent?",
    "answer": "E v e r y   m u t a t i n g   a d m i s s i o n   w e b h o o k   s h o u l d   b e   i d e m p o t e n t .   T h e   w e b h o o k   s h o u l d   b e   a b l e   t o   r u n   o n   a n   o b j e c t   t h a t   i t   a l r e a d y   m o d i f i e d   w i t h o u t   m a k i n g   a d d i t i o n a l   c h a n g e s   b e y o n d   t h e   o r i g i n a l   c h a n g e .   A d d i t i o n a l l y ,   a l l   o f   t h e   m u t a t i n g   w e b h o o k s   i n   y o u r   c l u s t e r   s h o u l d ,   a s   a   c o l l e c t i o n ,   b e   i d e m p o t e n t .   A f t e r   t h e   m u t a t i o n   p h a s e   o f   a d m i s s i o n   c o n t r o l   e n d s ,   e v e r y   i n d i v i d u a l   m u t a t i n g   w e b h o o k   s h o u l d   b e   a b l e   t o   r u n   o n   a n   o b j e c t   w i t h o u t   m a k i n g   a d d i t i o n a l   c h a n g e s   t o   t h e   o b j e c t .   D e p e n d i n g   o n   y o u r   e n v i r o n m e n t ,   e n s u r i n g   i d e m p o t e n c e   a t   s c a l e   m i g h t   b e   c h a l l e n g i n g .   T h e   f o l l o w i n g   r e c o m m e n d a t i o n s   m i g h t   h e l p :   U s e   v a l i d a t i n g   a d m i s s i o n   c o n t r o l l e r s   t o   v e r i f y   t h e   f i n a l   s t a t e   o f   c r i t i c a l   w o r k l o a d s . T e s t   y o u r   d e p l o y m e n t s   i n   a   s t a g i n g   c l u s t e r   t o   s e e   i f   a n y   o b j e c t s   g e t   m o d i f i e d   m u l t i p l e   t i m e s   b y   t h e   s a m e   w e b h o o k . E n s u r e   t h a t   t h e   s c o p e   o f   e a c h   m u t a t i n g   w e b h o o k   i s   s p e c i f i c   a n d   l i m i t e d .   T h e   f o l l o w i n g   e x a m p l e s   s h o w   i d e m p o t e n t   m u t a t i o n   l o g i c :   F o r   a   c r e a t e   P o d   r e q u e s t ,   s e t   t h e   f i e l d   . s p e c . s e c u r i t y C o n t e x t . r u n A s N o n R o o t   o f   t h e   P o d   t o   t r u ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5763"
  },
  {
    "question": "What is Mutation testing and validation?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   r e c o m m e n d a t i o n s   f o r   t e s t i n g   y o u r   m u t a t i n g   w e b h o o k s   a n d   v a l i d a t i n g   m u t a t e d   o b j e c t s .   I n   s u m m a r y ,   t h e s e   a r e   a s   f o l l o w s :   T e s t   w e b h o o k s   i n   s t a g i n g   e n v i r o n m e n t s . A v o i d   m u t a t i o n s   t h a t   v i o l a t e   v a l i d a t i o n s . T e s t   m i n o r   v e r s i o n   u p g r a d e s   f o r   r e g r e s s i o n s   a n d   c o n f l i c t s . V a l i d a t e   m u t a t e d   o b j e c t s   b e f o r e   a d m i s s i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5764"
  },
  {
    "question": "What is Test webhooks in staging environments?",
    "answer": "R o b u s t   t e s t i n g   s h o u l d   b e   a   c o r e   p a r t   o f   y o u r   r e l e a s e   c y c l e   f o r   n e w   o r   u p d a t e d   w e b h o o k s .   I f   p o s s i b l e ,   t e s t   a n y   c h a n g e s   t o   y o u r   c l u s t e r   w e b h o o k s   i n   a   s t a g i n g   e n v i r o n m e n t   t h a t   c l o s e l y   r e s e m b l e s   y o u r   p r o d u c t i o n   c l u s t e r s .   A t   t h e   v e r y   l e a s t ,   c o n s i d e r   u s i n g   a   t o o l   l i k e   m i n i k u b e   o r   k i n d   t o   c r e a t e   a   s m a l l   t e s t   c l u s t e r   f o r   w e b h o o k   c h a n g e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5765"
  },
  {
    "question": "What is Ensure that mutations don't violate validations?",
    "answer": "Y o u r   m u t a t i n g   w e b h o o k s   s h o u l d n ' t   b r e a k   a n y   o f   t h e   v a l i d a t i o n s   t h a t   a p p l y   t o   a n   o b j e c t   b e f o r e   a d m i s s i o n .   F o r   e x a m p l e ,   c o n s i d e r   a   m u t a t i n g   w e b h o o k   t h a t   s e t s   t h e   d e f a u l t   C P U   r e q u e s t   o f   a   P o d   t o   a   s p e c i f i c   v a l u e .   I f   t h e   C P U   l i m i t   o f   t h a t   P o d   i s   s e t   t o   a   l o w e r   v a l u e   t h a n   t h e   m u t a t e d   r e q u e s t ,   t h e   P o d   f a i l s   a d m i s s i o n .   T e s t   e v e r y   m u t a t i n g   w e b h o o k   a g a i n s t   t h e   v a l i d a t i o n s   t h a t   r u n   i n   y o u r   c l u s t e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5766"
  },
  {
    "question": "What is Test minor version upgrades to ensure consistent behavior?",
    "answer": "B e f o r e   u p g r a d i n g   y o u r   p r o d u c t i o n   c l u s t e r s   t o   a   n e w   m i n o r   v e r s i o n ,   t e s t   y o u r   w e b h o o k s   a n d   w o r k l o a d s   i n   a   s t a g i n g   e n v i r o n m e n t .   C o m p a r e   t h e   r e s u l t s   t o   e n s u r e   t h a t   y o u r   w e b h o o k s   c o n t i n u e   t o   f u n c t i o n   a s   e x p e c t e d   a f t e r   t h e   u p g r a d e .   A d d i t i o n a l l y ,   u s e   t h e   f o l l o w i n g   r e s o u r c e s   t o   s t a y   i n f o r m e d   a b o u t   A P I   c h a n g e s :   K u b e r n e t e s   r e l e a s e   n o t e s K u b e r n e t e s   b l o g",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5767"
  },
  {
    "question": "What is Validate mutations before admission?",
    "answer": "M u t a t i n g   w e b h o o k s   r u n   t o   c o m p l e t i o n   b e f o r e   a n y   v a l i d a t i n g   w e b h o o k s   r u n .   T h e r e   i s   n o   s t a b l e   o r d e r   i n   w h i c h   m u t a t i o n s   a r e   a p p l i e d   t o   o b j e c t s .   A s   a   r e s u l t ,   y o u r   m u t a t i o n s   c o u l d   g e t   o v e r w r i t t e n   b y   a   m u t a t i n g   w e b h o o k   t h a t   r u n s   a t   a   l a t e r   t i m e .   A d d   a   v a l i d a t i n g   a d m i s s i o n   c o n t r o l l e r   l i k e   a   V a l i d a t i n g A d m i s s i o n W e b h o o k   o r   a   V a l i d a t i n g A d m i s s i o n P o l i c y   t o   y o u r   c l u s t e r   t o   e n s u r e   t h a t   y o u r   m u t a t i o n s   a r e   s t i l l   p r e s e n t .   F o r   e x a m p l e ,   c o n s i d e r   a   m u t a t i n g   w e b h o o k   t h a t   i n s e r t s   t h e   r e s t a r t P o l i c y :   A l w a y s   f i e l d   t o   s p e c i f i c   i n i t   c o n t a i n e r s   t o   m a k e   t h e m   r u n   a s   s i d e c a r   c o n t a i n e r s .   Y o u   c o u l d   r u n   a   v a l i d a t i n g   w e b h o o k   t o   e n s u r e   t h a t   t h o s e   i n i t   c o n t a i n e r s   r e t a i n e d   t h e   r e s t a r t P o l i c y :   A l w a y s   c o n f i g u r a t i o n   a f t e r   a l l   m u t a t i o n s   w e r e   c o m p l e t e d .   F o r   d e t a i l s ,   s e e   t h e   f o l l o w i n g   r e s o u r c e s :   V a l i d a t i n g   A d m i s s i o n   P o l i c y V a l i d a t i n g A d m i s s i o n W e b h o o k s",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5768"
  },
  {
    "question": "What is Mutating webhook deployment?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   r e c o m m e n d a t i o n s   f o r   d e p l o y i n g   y o u r   m u t a t i n g   a d m i s s i o n   w e b h o o k s .   I n   s u m m a r y ,   t h e s e   a r e   a s   f o l l o w s :   G r a d u a l l y   r o l l   o u t   t h e   w e b h o o k   c o n f i g u r a t i o n   a n d   m o n i t o r   f o r   i s s u e s   b y   n a m e s p a c e . L i m i t   a c c e s s   t o   e d i t   t h e   w e b h o o k   c o n f i g u r a t i o n   r e s o u r c e s . L i m i t   a c c e s s   t o   t h e   n a m e s p a c e   t h a t   r u n s   t h e   w e b h o o k   s e r v e r ,   i f   t h e   s e r v e r   i s   i n - c l u s t e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5769"
  },
  {
    "question": "What is Install and enable a mutating webhook?",
    "answer": "W h e n   y o u ' r e   r e a d y   t o   d e p l o y   y o u r   m u t a t i n g   w e b h o o k   t o   a   c l u s t e r ,   u s e   t h e   f o l l o w i n g   o r d e r   o f   o p e r a t i o n s :   I n s t a l l   t h e   w e b h o o k   s e r v e r   a n d   s t a r t   i t . S e t   t h e   f a i l u r e P o l i c y   f i e l d   i n   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   m a n i f e s t   t o   I g n o r e .   T h i s   l e t s   y o u   a v o i d   d i s r u p t i o n s   c a u s e d   b y   m i s c o n f i g u r e d   w e b h o o k s . S e t   t h e   n a m e s p a c e S e l e c t o r   f i e l d   i n   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   m a n i f e s t   t o   a   t e s t   n a m e s p a c e . D e p l o y   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   t o   y o u r   c l u s t e r .   M o n i t o r   t h e   w e b h o o k   i n   t h e   t e s t   n a m e s p a c e   t o   c h e c k   f o r   a n y   i s s u e s ,   t h e n   r o l l   t h e   w e b h o o k   o u t   t o   o t h e r   n a m e s p a c e s .   I f   t h e   w e b h o o k   i n t e r c e p t s   a n   A P I   r e q u e s t   t h a t   i t   w a s n ' t   m e a n t   t o   i n t e r c e p t ,   p a u s e   t h e   r o l l o u t   a n d   a d j u s t   t h e   s c o p e   o f   t h e   w e b h o o k   c o n f i g u r a t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5770"
  },
  {
    "question": "What is Limit edit access to mutating webhooks?",
    "answer": "M u t a t i n g   w e b h o o k s   a r e   p o w e r f u l   K u b e r n e t e s   c o n t r o l l e r s .   U s e   R B A C   o r   a n o t h e r   a u t h o r i z a t i o n   m e c h a n i s m   t o   l i m i t   a c c e s s   t o   y o u r   w e b h o o k   c o n f i g u r a t i o n s   a n d   s e r v e r s .   F o r   R B A C ,   e n s u r e   t h a t   t h e   f o l l o w i n g   a c c e s s   i s   o n l y   a v a i l a b l e   t o   t r u s t e d   e n t i t i e s :   V e r b s :   c r e a t e ,   u p d a t e ,   p a t c h ,   d e l e t e ,   d e l e t e c o l l e c t i o n A P I   g r o u p :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 A P I   k i n d :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n s   I f   y o u r   m u t a t i n g   w e b h o o k   s e r v e r   r u n s   i n   t h e   c l u s t e r ,   l i m i t   a c c e s s   t o   c r e a t e   o r   m o d i f y   a n y   r e s o u r c e s   i n   t h a t   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5771"
  },
  {
    "question": "What is Examples of good implementations?",
    "answer": "T h e   f o l l o w i n g   p r o j e c t s   a r e   e x a m p l e s   o f   \" g o o d \"   c u s t o m   w e b h o o k   s e r v e r   i m p l e m e n t a t i o n s .   Y o u   c a n   u s e   t h e m   a s   a   s t a r t i n g   p o i n t   w h e n   d e s i g n i n g   y o u r   o w n   w e b h o o k s .   D o n ' t   u s e   t h e s e   e x a m p l e s   a s - i s ;   u s e   t h e m   a s   a   s t a r t i n g   p o i n t   a n d   d e s i g n   y o u r   w e b h o o k s   t o   r u n   w e l l   i n   y o u r   s p e c i f i c   e n v i r o n m e n t .   c e r t - m a n a g e r G a t e k e e p e r   O p e n   P o l i c y   A g e n t   ( O P A )",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5772"
  },
  {
    "question": "What is What's next?",
    "answer": "U s e   w e b h o o k s   f o r   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n L e a r n   a b o u t   M u t a t i n g A d m i s s i o n P o l i c i e s L e a r n   a b o u t   V a l i d a t i n g A d m i s s i o n P o l i c i e s",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5773"
  },
  {
    "question": "What is 7 - Good practices for Dynamic Resource Allocation as a Cluster Admin?",
    "answer": "T h i s   p a g e   d e s c r i b e s   g o o d   p r a c t i c e s   w h e n   c o n f i g u r i n g   a   K u b e r n e t e s   c l u s t e r   u t i l i z i n g   D y n a m i c   R e s o u r c e   A l l o c a t i o n   ( D R A ) .   T h e s e   i n s t r u c t i o n s   a r e   f o r   c l u s t e r   a d m i n i s t r a t o r s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_1_5774"
  },
  {
    "question": "What is Separate permissions to DRA related APIs?",
    "answer": "D R A   i s   o r c h e s t r a t e d   t h r o u g h   a   n u m b e r   o f   d i f f e r e n t   A P I s .   U s e   a u t h o r i z a t i o n   t o o l s   ( l i k e   R B A C ,   o r   a n o t h e r   s o l u t i o n )   t o   c o n t r o l   a c c e s s   t o   t h e   r i g h t   A P I s   d e p e n d i n g   o n   t h e   p e r s o n a   o f   y o u r   u s e r .   I n   g e n e r a l ,   D e v i c e C l a s s e s   a n d   R e s o u r c e S l i c e s   s h o u l d   b e   r e s t r i c t e d   t o   a d m i n s   a n d   t h e   D R A   d r i v e r s .   C l u s t e r   o p e r a t o r s   t h a t   w i l l   b e   d e p l o y i n g   P o d s   w i t h   c l a i m s   w i l l   n e e d   a c c e s s   t o   R e s o u r c e C l a i m   a n d   R e s o u r c e C l a i m T e m p l a t e   A P I s ;   b o t h   o f   t h e s e   A P I s   a r e   n a m e s p a c e   s c o p e d .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5775"
  },
  {
    "question": "What is DRA driver deployment and maintenance?",
    "answer": "D R A   d r i v e r s   a r e   t h i r d - p a r t y   a p p l i c a t i o n s   t h a t   r u n   o n   e a c h   n o d e   o f   y o u r   c l u s t e r   t o   i n t e r f a c e   w i t h   t h e   h a r d w a r e   o f   t h a t   n o d e   a n d   K u b e r n e t e s '   n a t i v e   D R A   c o m p o n e n t s .   T h e   i n s t a l l a t i o n   p r o c e d u r e   d e p e n d s   o n   t h e   d r i v e r   y o u   c h o o s e ,   b u t   i s   l i k e l y   d e p l o y e d   a s   a   D a e m o n S e t   t o   a l l   o r   a   s e l e c t i o n   o f   t h e   n o d e s   ( u s i n g   n o d e   s e l e c t o r s   o r   s i m i l a r   m e c h a n i s m s )   i n   y o u r   c l u s t e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5776"
  },
  {
    "question": "What is Use drivers with seamless upgrade if available?",
    "answer": "D R A   d r i v e r s   i m p l e m e n t   t h e   k u b e l e t p l u g i n   p a c k a g e   i n t e r f a c e .   Y o u r   d r i v e r   m a y   s u p p o r t   s e a m l e s s   u p g r a d e s   b y   i m p l e m e n t i n g   a   p r o p e r t y   o f   t h i s   i n t e r f a c e   t h a t   a l l o w s   t w o   v e r s i o n s   o f   t h e   s a m e   D R A   d r i v e r   t o   c o e x i s t   f o r   a   s h o r t   t i m e .   T h i s   i s   o n l y   a v a i l a b l e   f o r   k u b e l e t   v e r s i o n s   1 . 3 3   a n d   a b o v e   a n d   m a y   n o t   b e   s u p p o r t e d   b y   y o u r   d r i v e r   f o r   h e t e r o g e n e o u s   c l u s t e r s   w i t h   a t t a c h e d   n o d e s   r u n n i n g   o l d e r   v e r s i o n s   o f   K u b e r n e t e s   -   c h e c k   y o u r   d r i v e r ' s   d o c u m e n t a t i o n   t o   b e   s u r e .   I f   s e a m l e s s   u p g r a d e s   a r e   a v a i l a b l e   f o r   y o u r   s i t u a t i o n ,   c o n s i d e r   u s i n g   i t   t o   m i n i m i z e   s c h e d u l i n g   d e l a y s   w h e n   y o u r   d r i v e r   u p d a t e s .   I f   y o u   c a n n o t   u s e   s e a m l e s s   u p g r a d e s ,   d u r i n g   d r i v e r   d o w n t i m e   f o r   u p g r a d e s   y o u   m a y   o b s e r v e   t h a t :   P o d s   c a n n o t   s t a r t   u n l e s s   t h e   c l a i m s   t h e y   d e p e n d   o n   w e r e   a l r e a d y   p r e p a r e d   f o r   u s e . C l e a n u p   a f t e r   t h e   l a s t   p o d   w h i c h   u s e d   a   c l a i m   g e t s   d e l a y e d   u n t i l   t h e   d r i v e r   i s   a v a i l a b l e   a g a i n .   T h e   p o d   i s   n o t   m a r k e d   a s   t e r m i n a t e d .   T h i s   p r e v e n t s   r e u s i n g   t h e   r e s o u r c e s   u s e d   b y   t h e   p o d   f o r   o t h e r   p o d s . R u n n i n g   p o d s   w i l l   c o n t i n u e   t o   r u n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5777"
  },
  {
    "question": "What is Confirm your DRA driver exposes a liveness probe and utilize it?",
    "answer": "Y o u r   D R A   d r i v e r   l i k e l y   i m p l e m e n t s   a   g R P C   s o c k e t   f o r   h e a l t h c h e c k s   a s   p a r t   o f   D R A   d r i v e r   g o o d   p r a c t i c e s .   T h e   e a s i e s t   w a y   t o   u t i l i z e   t h i s   g r p c   s o c k e t   i s   t o   c o n f i g u r e   i t   a s   a   l i v e n e s s   p r o b e   f o r   t h e   D a e m o n S e t   d e p l o y i n g   y o u r   D R A   d r i v e r .   Y o u r   d r i v e r ' s   d o c u m e n t a t i o n   o r   d e p l o y m e n t   t o o l i n g   m a y   a l r e a d y   i n c l u d e   t h i s ,   b u t   i f   y o u   a r e   b u i l d i n g   y o u r   c o n f i g u r a t i o n   s e p a r a t e l y   o r   n o t   r u n n i n g   y o u r   D R A   d r i v e r   a s   a   K u b e r n e t e s   p o d ,   b e   s u r e   t h a t   y o u r   o r c h e s t r a t i o n   t o o l i n g   r e s t a r t s   t h e   D R A   d r i v e r   o n   f a i l e d   h e a l t h c h e c k s   t o   t h i s   g r p c   s o c k e t .   D o i n g   s o   w i l l   m i n i m i z e   a n y   a c c i d e n t a l   d o w n t i m e   o f   t h e   D R A   d r i v e r   a n d   g i v e   i t   m o r e   o p p o r t u n i t i e s   t o   s e l f   h e a l ,   r e d u c i n g   s c h e d u l i n g   d e l a y s   o r   t r o u b l e s h o o t i n g   t i m e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5778"
  },
  {
    "question": "What is When draining a node, drain the DRA driver as late as possible?",
    "answer": "T h e   D R A   d r i v e r   i s   r e s p o n s i b l e   f o r   u n p r e p a r i n g   a n y   d e v i c e s   t h a t   w e r e   a l l o c a t e d   t o   P o d s ,   a n d   i f   t h e   D R A   d r i v e r   i s   d r a i n e d   b e f o r e   P o d s   w i t h   c l a i m s   h a v e   b e e n   d e l e t e d ,   i t   w i l l   n o t   b e   a b l e   t o   f i n a l i z e   i t s   c l e a n u p .   I f   y o u   i m p l e m e n t   c u s t o m   d r a i n   l o g i c   f o r   n o d e s ,   c o n s i d e r   c h e c k i n g   t h a t   t h e r e   a r e   n o   a l l o c a t e d / r e s e r v e d   R e s o u r c e C l a i m   o r   R e s o u r c e C l a i m T e m p l a t e s   b e f o r e   t e r m i n a t i n g   t h e   D R A   d r i v e r   i t s e l f .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5779"
  },
  {
    "question": "What is Monitor and tune components for higher load, especially in high scale environments?",
    "answer": "C o n t r o l   p l a n e   c o m p o n e n t   k u b e - s c h e d u l e r   a n d   t h e   i n t e r n a l   R e s o u r c e C l a i m   c o n t r o l l e r   o r c h e s t r a t e d   b y   t h e   c o m p o n e n t   k u b e - c o n t r o l l e r - m a n a g e r   d o   t h e   h e a v y   l i f t i n g   d u r i n g   s c h e d u l i n g   o f   P o d s   w i t h   c l a i m s   b a s e d   o n   m e t a d a t a   s t o r e d   i n   t h e   D R A   A P I s .   C o m p a r e d   t o   n o n - D R A   s c h e d u l e d   P o d s ,   t h e   n u m b e r   o f   A P I   s e r v e r   c a l l s ,   m e m o r y ,   a n d   C P U   u t i l i z a t i o n   n e e d e d   b y   t h e s e   c o m p o n e n t s   i s   i n c r e a s e d   f o r   P o d s   u s i n g   D R A   c l a i m s .   I n   a d d i t i o n ,   n o d e   l o c a l   c o m p o n e n t s   l i k e   t h e   D R A   d r i v e r   a n d   k u b e l e t   u t i l i z e   D R A   A P I s   t o   a l l o c a t e d   t h e   h a r d w a r e   r e q u e s t   a t   P o d   s a n d b o x   c r e a t i o n   t i m e .   E s p e c i a l l y   i n   h i g h   s c a l e   e n v i r o n m e n t s   w h e r e   c l u s t e r s   h a v e   m a n y   n o d e s ,   a n d / o r   d e p l o y   m a n y   w o r k l o a d s   t h a t   h e a v i l y   u t i l i z e   D R A   d e f i n e d   r e s o u r c e   c l a i m s ,   t h e   c l u s t e r   a d m i n i s t r a t o r   s h o u l d   c o n f i g u r e   t h e   r e l e v a n t   c o m p o n e n t s   t o   a n t i c i p a t e   t h e   i n c r e a s e d   l o a d .   T h e   e f f e c t s   o f   m i s t u n e d   c o m p o n e n t s   c a n   h a v e   d i r e c t   o r   s n o w b a l l i n g   a f f e c t s   c a u s i n g   d i f f e r e n t   s y m p t o m s   d u r i n g   t h e   P o d   l i f e c y c l e .   I f   t h e   k u b e - s c h e d u l e r   c o m p o n e n t ' s   Q P S   a n d   b u r s t   c o n f i g u r a t i o n s   a r e   t o o   l o w ,   ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5780"
  },
  {
    "question": "What is kube-controller-manager metrics?",
    "answer": "T h e   f o l l o w i n g   m e t r i c s   l o o k   c l o s e l y   a t   t h e   i n t e r n a l   R e s o u r c e C l a i m   c o n t r o l l e r   m a n a g e d   b y   t h e   k u b e - c o n t r o l l e r - m a n a g e r   c o m p o n e n t .   W o r k q u e u e   A d d   R a t e :   M o n i t o r   s u m ( r a t e ( w o r k q u e u e _ a d d s _ t o t a l { n a m e = \" r e s o u r c e _ c l a i m \" } [ 5 m ] ) )   t o   g a u g e   h o w   q u i c k l y   i t e m s   a r e   a d d e d   t o   t h e   R e s o u r c e C l a i m   c o n t r o l l e r . W o r k q u e u e   D e p t h :   T r a c k   s u m ( w o r k q u e u e _ d e p t h { e n d p o i n t = \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   n a m e = \" r e s o u r c e _ c l a i m \" } )   t o   i d e n t i f y   a n y   b a c k l o g s   i n   t h e   R e s o u r c e C l a i m   c o n t r o l l e r . W o r k q u e u e   W o r k   D u r a t i o n :   O b s e r v e   h i s t o g r a m _ q u a n t i l e ( 0 . 9 9 ,   s u m ( r a t e ( w o r k q u e u e _ w o r k _ d u r a t i o n _ s e c o n d s _ b u c k e t { n a m e = \" r e s o u r c e _ c l a i m \" } [ 5 m ] ) )   b y   ( l e ) )   t o   u n d e r s t a n d   t h e   s p e e d   a t   w h i c h   t h e   R e s o u r c e C l a i m   c o n t r o l l e r   p r o c e s s e s   w o r k .   I f   y o u   a r e   e x p e r i e n c i n g   l o w   W o r k q u e u e   A d d   R a t e ,   h i g h   W o r k q u e u e   D e p t h ,   a n d / o r   h i g h   W o r k q u e u e   W o r k   D u r a t i o n ,   t h i s   s u g g e s t s   t h e   c o n t r o l l e r   i s n ' t   p e r f o r m i n g   o p t i m a l l y .   C o n s i d e r   t u n i n g   p a r a m e t e r s   l i k e   Q P S ,   b u r s t ,   a n d   C P U / m e m o r y   c o n f i g u r a t i o n s .   I f   y o u   a r e   e x p e r i e n c i n g   h i g h   W o r k e q u e u e   A d d   R a t e ,   h i g h   W o r k q u e u e   D e p t h ,   b u t   r e a s o n a b l e   W o r k q u e u e   ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5781"
  },
  {
    "question": "What is kube-scheduler metrics?",
    "answer": "T h e   f o l l o w i n g   s c h e d u l e r   m e t r i c s   a r e   h i g h   l e v e l   m e t r i c s   a g g r e g a t i n g   p e r f o r m a n c e   a c r o s s   a l l   P o d s   s c h e d u l e d ,   n o t   j u s t   t h o s e   u s i n g   D R A .   I t   i s   i m p o r t a n t   t o   n o t e   t h a t   t h e   e n d - t o - e n d   m e t r i c s   a r e   u l t i m a t e l y   i n f l u e n c e d   b y   t h e   k u b e - c o n t r o l l e r - m a n a g e r ' s   p e r f o r m a n c e   i n   c r e a t i n g   R e s o u r c e C l a i m s   f r o m   R e s o u r c e C l a i n T e m p l a t e s   i n   d e p l o y m e n t s   t h a t   h e a v i l y   u s e   R e s o u r c e C l a i n T e m p l a t e s .   S c h e d u l e r   E n d - t o - E n d   D u r a t i o n :   M o n i t o r   h i s t o g r a m _ q u a n t i l e ( 0 . 9 9 ,   s u m ( i n c r e a s e ( s c h e d u l e r _ p o d _ s c h e d u l i n g _ s l i _ d u r a t i o n _ s e c o n d s _ b u c k e t [ 5 m ] ) )   b y   ( l e ) ) . S c h e d u l e r   A l g o r i t h m   L a t e n c y :   T r a c k   h i s t o g r a m _ q u a n t i l e ( 0 . 9 9 ,   s u m ( i n c r e a s e ( s c h e d u l e r _ s c h e d u l i n g _ a l g o r i t h m _ d u r a t i o n _ s e c o n d s _ b u c k e t [ 5 m ] ) )   b y   ( l e ) ) .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5782"
  },
  {
    "question": "What is kubelet metrics?",
    "answer": "W h e n   a   P o d   b o u n d   t o   a   n o d e   m u s t   h a v e   a   R e s o u r c e C l a i m   s a t i s f i e d ,   k u b e l e t   c a l l s   t h e   N o d e P r e p a r e R e s o u r c e s   a n d   N o d e U n p r e p a r e R e s o u r c e s   m e t h o d s   o f   t h e   D R A   d r i v e r .   Y o u   c a n   o b s e r v e   t h i s   b e h a v i o r   f r o m   t h e   k u b e l e t ' s   p o i n t   o f   v i e w   w i t h   t h e   f o l l o w i n g   m e t r i c s .   K u b e l e t   N o d e P r e p a r e R e s o u r c e s :   M o n i t o r   h i s t o g r a m _ q u a n t i l e ( 0 . 9 9 ,   s u m ( r a t e ( d r a _ o p e r a t i o n s _ d u r a t i o n _ s e c o n d s _ b u c k e t { o p e r a t i o n _ n a m e = \" P r e p a r e R e s o u r c e s \" } [ 5 m ] ) )   b y   ( l e ) ) . K u b e l e t   N o d e U n p r e p a r e R e s o u r c e s :   T r a c k   h i s t o g r a m _ q u a n t i l e ( 0 . 9 9 ,   s u m ( r a t e ( d r a _ o p e r a t i o n s _ d u r a t i o n _ s e c o n d s _ b u c k e t { o p e r a t i o n _ n a m e = \" U n p r e p a r e R e s o u r c e s \" } [ 5 m ] ) )   b y   ( l e ) ) .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5783"
  },
  {
    "question": "What is DRA kubeletplugin operations?",
    "answer": "D R A   d r i v e r s   i m p l e m e n t   t h e   k u b e l e t p l u g i n   p a c k a g e   i n t e r f a c e   w h i c h   s u r f a c e s   i t s   o w n   m e t r i c   f o r   t h e   u n d e r l y i n g   g R P C   o p e r a t i o n   N o d e P r e p a r e R e s o u r c e s   a n d   N o d e U n p r e p a r e R e s o u r c e s .   Y o u   c a n   o b s e r v e   t h i s   b e h a v i o r   f r o m   t h e   p o i n t   o f   v i e w   o f   t h e   i n t e r n a l   k u b e l e t p l u g i n   w i t h   t h e   f o l l o w i n g   m e t r i c s .   D R A   k u b e l e t p l u g i n   g R P C   N o d e P r e p a r e R e s o u r c e s   o p e r a t i o n :   O b s e r v e   h i s t o g r a m _ q u a n t i l e ( 0 . 9 9 ,   s u m ( r a t e ( d r a _ g r p c _ o p e r a t i o n s _ d u r a t i o n _ s e c o n d s _ b u c k e t { m e t h o d _ n a m e = ~ \" . * N o d e P r e p a r e R e s o u r c e s \" } [ 5 m ] ) )   b y   ( l e ) ) . D R A   k u b e l e t p l u g i n   g R P C   N o d e U n p r e p a r e R e s o u r c e s   o p e r a t i o n :   O b s e r v e   h i s t o g r a m _ q u a n t i l e ( 0 . 9 9 ,   s u m ( r a t e ( d r a _ g r p c _ o p e r a t i o n s _ d u r a t i o n _ s e c o n d s _ b u c k e t { m e t h o d _ n a m e = ~ \" . * N o d e U n p r e p a r e R e s o u r c e s \" } [ 5 m ] ) )   b y   ( l e ) ) .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5784"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   D R A R e a d   t h e   K u b e r n e t e s   M e t r i c s   R e f e r e n c e",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5785"
  },
  {
    "question": "What is 8 - Logging Architecture?",
    "answer": "A p p l i c a t i o n   l o g s   c a n   h e l p   y o u   u n d e r s t a n d   w h a t   i s   h a p p e n i n g   i n s i d e   y o u r   a p p l i c a t i o n .   T h e   l o g s   a r e   p a r t i c u l a r l y   u s e f u l   f o r   d e b u g g i n g   p r o b l e m s   a n d   m o n i t o r i n g   c l u s t e r   a c t i v i t y .   M o s t   m o d e r n   a p p l i c a t i o n s   h a v e   s o m e   k i n d   o f   l o g g i n g   m e c h a n i s m .   L i k e w i s e ,   c o n t a i n e r   e n g i n e s   a r e   d e s i g n e d   t o   s u p p o r t   l o g g i n g .   T h e   e a s i e s t   a n d   m o s t   a d o p t e d   l o g g i n g   m e t h o d   f o r   c o n t a i n e r i z e d   a p p l i c a t i o n s   i s   w r i t i n g   t o   s t a n d a r d   o u t p u t   a n d   s t a n d a r d   e r r o r   s t r e a m s .   H o w e v e r ,   t h e   n a t i v e   f u n c t i o n a l i t y   p r o v i d e d   b y   a   c o n t a i n e r   e n g i n e   o r   r u n t i m e   i s   u s u a l l y   n o t   e n o u g h   f o r   a   c o m p l e t e   l o g g i n g   s o l u t i o n .   F o r   e x a m p l e ,   y o u   m a y   w a n t   t o   a c c e s s   y o u r   a p p l i c a t i o n ' s   l o g s   i f   a   c o n t a i n e r   c r a s h e s ,   a   p o d   g e t s   e v i c t e d ,   o r   a   n o d e   d i e s .   I n   a   c l u s t e r ,   l o g s   s h o u l d   h a v e   a   s e p a r a t e   s t o r a g e   a n d   l i f e c y c l e   i n d e p e n d e n t   o f   n o d e s ,   p o d s ,   o r   c o n t a i n e r s .   T h i s   c o n c e p t   i s   c a l l e d   c l u s t e r - l e v e l   l o g g i n g .   C l u s t e r - l e v e l   l o g g i n g   a r c h i t e c t u r e s   r e q u i r e   a   s e p a r a t e   b a c k e n d   t o   s t o r e ,   a n a l y z e ,   a n d   q u e r y   l o g s .   K u b e r n e t e s   d o e s   n o t   p r o v i d e   a   n a t i v e   s t o r a g e   s o l u t i o n   f o r   l o g   d a t a .   I ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_1_5786"
  },
  {
    "question": "What is Pod and container logs?",
    "answer": "K u b e r n e t e s   c a p t u r e s   l o g s   f r o m   e a c h   c o n t a i n e r   i n   a   r u n n i n g   P o d .   T h i s   e x a m p l e   u s e s   a   m a n i f e s t   f o r   a   P o d   w i t h   a   c o n t a i n e r   t h a t   w r i t e s   t e x t   t o   t h e   s t a n d a r d   o u t p u t   s t r e a m ,   o n c e   p e r   s e c o n d .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o u n t e r   s p e c :   c o n t a i n e r s :   -   n a m e :   c o u n t   i m a g e :   b u s y b o x : 1 . 2 8   a r g s :   [ / b i n / s h ,   - c ,   ' i = 0 ;   w h i l e   t r u e ;   d o   e c h o   \" $ i :   $ ( d a t e ) \" ;   i = $ ( ( i + 1 ) ) ;   s l e e p   1 ;   d o n e ' ]   T o   r u n   t h i s   p o d ,   u s e   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d e b u g / c o u n t e r - p o d . y a m l   T h e   o u t p u t   i s :   p o d / c o u n t e r   c r e a t e d   T o   f e t c h   t h e   l o g s ,   u s e   t h e   k u b e c t l   l o g s   c o m m a n d ,   a s   f o l l o w s :   k u b e c t l   l o g s   c o u n t e r   T h e   o u t p u t   i s   s i m i l a r   t o :   0 :   F r i   A p r   1   1 1 : 4 2 : 2 3   U T C   2 0 2 2   1 :   F r i   A p r   1   1 1 : 4 2 : 2 4   U T C   2 0 2 2   2 :   F r i   A p r   1   1 1 : 4 2 : 2 5   U T C   2 0 2 2   Y o u   c a n   u s e   k u b e c t l   l o g s   - - p r e v i o u s   t o   r e t r i e v e   l o g s   f r o m   a   p r e v i o u s   i n s t a n t i a t i o n   o f   a   c o n t a i n e r .   I f   y o u r   p o d   h a s   m u l t i p l e   c o n t a i n e r s ,   s p e c i f y   w h i c h   c o n t a i n e r ' s   l o g s   y o u   w a n t   t o   a c c e s s   b y   a p p e n d i n g   a   c o n t a i n e r   n a m e   t o   t h e   c o m m a n d ,   w i t h   a   - c   f l a g ,   l i k e   s o :   k u b e c t l   l o g s   c o u n t e r   - c   c ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5787"
  },
  {
    "question": "What is Container log streams?",
    "answer": "A s   a n   a l p h a   f e a t u r e ,   t h e   k u b e l e t   c a n   s p l i t   o u t   t h e   l o g s   f r o m   t h e   t w o   s t a n d a r d   s t r e a m s   p r o d u c e d   b y   a   c o n t a i n e r :   s t a n d a r d   o u t p u t   a n d   s t a n d a r d   e r r o r .   T o   u s e   t h i s   b e h a v i o r ,   y o u   m u s t   e n a b l e   t h e   P o d L o g s Q u e r y S p l i t S t r e a m s   f e a t u r e   g a t e .   W i t h   t h a t   f e a t u r e   g a t e   e n a b l e d ,   K u b e r n e t e s   1 . 3 4   a l l o w s   a c c e s s   t o   t h e s e   l o g   s t r e a m s   d i r e c t l y   v i a   t h e   P o d   A P I .   Y o u   c a n   f e t c h   a   s p e c i f i c   s t r e a m   b y   s p e c i f y i n g   t h e   s t r e a m   n a m e   ( e i t h e r   S t d o u t   o r   S t d e r r ) ,   u s i n g   t h e   s t r e a m   q u e r y   s t r i n g .   Y o u   m u s t   h a v e   a c c e s s   t o   r e a d   t h e   l o g   s u b r e s o u r c e   o f   t h a t   P o d .   T o   d e m o n s t r a t e   t h i s   f e a t u r e ,   y o u   c a n   c r e a t e   a   P o d   t h a t   p e r i o d i c a l l y   w r i t e s   t e x t   t o   b o t h   t h e   s t a n d a r d   o u t p u t   a n d   e r r o r   s t r e a m .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o u n t e r - e r r   s p e c :   c o n t a i n e r s :   -   n a m e :   c o u n t   i m a g e :   b u s y b o x : 1 . 2 8   a r g s :   [ / b i n / s h ,   - c ,   ' i = 0 ;   w h i l e   t r u e ;   d o   e c h o   \" $ i :   $ ( d a t e ) \" ;   e c h o   \" $ i :   e r r \"   > & 2   ;   i = $ ( ( i + 1 ) ) ;   s l e e p   1 ;   d o n e ' ]   T o   r u n   t h i s   p o d ,   u s e   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d e b u g / c o u n t e r - p o d - e r r . y a m l   T o   f e t c h   o n l y   t h e   s t d e r r   l o g ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5788"
  },
  {
    "question": "What is How nodes handle container logs?",
    "answer": "A   c o n t a i n e r   r u n t i m e   h a n d l e s   a n d   r e d i r e c t s   a n y   o u t p u t   g e n e r a t e d   t o   a   c o n t a i n e r i z e d   a p p l i c a t i o n ' s   s t d o u t   a n d   s t d e r r   s t r e a m s .   D i f f e r e n t   c o n t a i n e r   r u n t i m e s   i m p l e m e n t   t h i s   i n   d i f f e r e n t   w a y s ;   h o w e v e r ,   t h e   i n t e g r a t i o n   w i t h   t h e   k u b e l e t   i s   s t a n d a r d i z e d   a s   t h e   C R I   l o g g i n g   f o r m a t .   B y   d e f a u l t ,   i f   a   c o n t a i n e r   r e s t a r t s ,   t h e   k u b e l e t   k e e p s   o n e   t e r m i n a t e d   c o n t a i n e r   w i t h   i t s   l o g s .   I f   a   p o d   i s   e v i c t e d   f r o m   t h e   n o d e ,   a l l   c o r r e s p o n d i n g   c o n t a i n e r s   a r e   a l s o   e v i c t e d ,   a l o n g   w i t h   t h e i r   l o g s .   T h e   k u b e l e t   m a k e s   l o g s   a v a i l a b l e   t o   c l i e n t s   v i a   a   s p e c i a l   f e a t u r e   o f   t h e   K u b e r n e t e s   A P I .   T h e   u s u a l   w a y   t o   a c c e s s   t h i s   i s   b y   r u n n i n g   k u b e c t l   l o g s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5789"
  },
  {
    "question": "What is Log rotation?",
    "answer": "T h e   k u b e l e t   i s   r e s p o n s i b l e   f o r   r o t a t i n g   c o n t a i n e r   l o g s   a n d   m a n a g i n g   t h e   l o g g i n g   d i r e c t o r y   s t r u c t u r e .   T h e   k u b e l e t   s e n d s   t h i s   i n f o r m a t i o n   t o   t h e   c o n t a i n e r   r u n t i m e   ( u s i n g   C R I ) ,   a n d   t h e   r u n t i m e   w r i t e s   t h e   c o n t a i n e r   l o g s   t o   t h e   g i v e n   l o c a t i o n .   Y o u   c a n   c o n f i g u r e   t w o   k u b e l e t   c o n f i g u r a t i o n   s e t t i n g s ,   c o n t a i n e r L o g M a x S i z e   ( d e f a u l t   1 0 M i )   a n d   c o n t a i n e r L o g M a x F i l e s   ( d e f a u l t   5 ) ,   u s i n g   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e .   T h e s e   s e t t i n g s   l e t   y o u   c o n f i g u r e   t h e   m a x i m u m   s i z e   f o r   e a c h   l o g   f i l e   a n d   t h e   m a x i m u m   n u m b e r   o f   f i l e s   a l l o w e d   f o r   e a c h   c o n t a i n e r   r e s p e c t i v e l y .   I n   o r d e r   t o   p e r f o r m   a n   e f f i c i e n t   l o g   r o t a t i o n   i n   c l u s t e r s   w h e r e   t h e   v o l u m e   o f   t h e   l o g s   g e n e r a t e d   b y   t h e   w o r k l o a d   i s   l a r g e ,   k u b e l e t   a l s o   p r o v i d e s   a   m e c h a n i s m   t o   t u n e   h o w   t h e   l o g s   a r e   r o t a t e d   i n   t e r m s   o f   h o w   m a n y   c o n c u r r e n t   l o g   r o t a t i o n s   c a n   b e   p e r f o r m e d   a n d   t h e   i n t e r v a l   a t   w h i c h   t h e   l o g s   a r e   m o n i t o r e d   a n d   r o t a t e d   a s   r e q u i r e d .   Y o u   c a n   c o n f i g u r e   t w o   k u b e l e t   c o n f i g u r a t i o n   s e t t i n g s ,   c o n t a i n e r L o g M a x W o r k e r s   a n d   c o n t a i n e r L o g M o n i t o r I n t e r v a l   u s i n g   t h e   k u b e l e t   c ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5790"
  },
  {
    "question": "What is Note:?",
    "answer": "O n l y   t h e   c o n t e n t s   o f   t h e   l a t e s t   l o g   f i l e   a r e   a v a i l a b l e   t h r o u g h   k u b e c t l   l o g s .   F o r   e x a m p l e ,   i f   a   P o d   w r i t e s   4 0   M i B   o f   l o g s   a n d   t h e   k u b e l e t   r o t a t e s   l o g s   a f t e r   1 0   M i B ,   r u n n i n g   k u b e c t l   l o g s   r e t u r n s   a t   m o s t   1 0 M i B   o f   d a t a .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5791"
  },
  {
    "question": "What is System component logs?",
    "answer": "T h e r e   a r e   t w o   t y p e s   o f   s y s t e m   c o m p o n e n t s :   t h o s e   t h a t   t y p i c a l l y   r u n   i n   a   c o n t a i n e r ,   a n d   t h o s e   c o m p o n e n t s   d i r e c t l y   i n v o l v e d   i n   r u n n i n g   c o n t a i n e r s .   F o r   e x a m p l e :   T h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   d o   n o t   r u n   i n   c o n t a i n e r s .   T h e   k u b e l e t   r u n s   y o u r   c o n t a i n e r s   ( g r o u p e d   t o g e t h e r   i n   p o d s ) T h e   K u b e r n e t e s   s c h e d u l e r ,   c o n t r o l l e r   m a n a g e r ,   a n d   A P I   s e r v e r   r u n   w i t h i n   p o d s   ( u s u a l l y   s t a t i c   P o d s ) .   T h e   e t c d   c o m p o n e n t   r u n s   i n   t h e   c o n t r o l   p l a n e ,   a n d   m o s t   c o m m o n l y   a l s o   a s   a   s t a t i c   p o d .   I f   y o u r   c l u s t e r   u s e s   k u b e - p r o x y ,   y o u   t y p i c a l l y   r u n   t h i s   a s   a   D a e m o n S e t .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5792"
  },
  {
    "question": "What is Log locations?",
    "answer": "T h e   w a y   t h a t   t h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   w r i t e   l o g s   d e p e n d s   o n   t h e   o p e r a t i n g   s y s t e m   t h a t   t h e   n o d e   u s e s :   O n   L i n u x   n o d e s   t h a t   u s e   s y s t e m d ,   t h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   w r i t e   t o   j o u r n a l d   b y   d e f a u l t .   Y o u   u s e   j o u r n a l c t l   t o   r e a d   t h e   s y s t e m d   j o u r n a l ;   f o r   e x a m p l e :   j o u r n a l c t l   - u   k u b e l e t . I f   s y s t e m d   i s   n o t   p r e s e n t ,   t h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   w r i t e   t o   . l o g   f i l e s   i n   t h e   / v a r / l o g   d i r e c t o r y .   I f   y o u   w a n t   t o   h a v e   l o g s   w r i t t e n   e l s e w h e r e ,   y o u   c a n   i n d i r e c t l y   r u n   t h e   k u b e l e t   v i a   a   h e l p e r   t o o l ,   k u b e - l o g - r u n n e r ,   a n d   u s e   t h a t   t o o l   t o   r e d i r e c t   k u b e l e t   l o g s   t o   a   d i r e c t o r y   t h a t   y o u   c h o o s e . B y   d e f a u l t ,   k u b e l e t   d i r e c t s   y o u r   c o n t a i n e r   r u n t i m e   t o   w r i t e   l o g s   i n t o   d i r e c t o r i e s   w i t h i n   / v a r / l o g / p o d s . F o r   m o r e   i n f o r m a t i o n   o n   k u b e - l o g - r u n n e r ,   r e a d   S y s t e m   L o g s .   O n   L i n u x   n o d e s   t h a t   u s e   s y s t e m d ,   t h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   w r i t e   t o   j o u r n a l d   b y   d e f a u l t .   Y o u   u s e   j o u r n a l c t l   t o   r e a d   t h e   s y s t e m d   j o u r n a l ;   f o r   e x a m p l e :   j o u r n a l c t l   - u   k u b e l e t .   I f   s y s t e m d   i s   n o t   p r e s e n t ,   t h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   w r i t e   t o   ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5793"
  },
  {
    "question": "What is Caution:?",
    "answer": "I t ' s   i m p o r t a n t   t o   n o t e   t h a t   t h e   d e f a u l t   l o c a t i o n   / v a r / l o g / p o d s   h a s   b e e n   i n   u s e   f o r   a n   e x t e n d e d   p e r i o d   a n d   c e r t a i n   p r o c e s s e s   m i g h t   i m p l i c i t l y   a s s u m e   t h i s   p a t h .   T h e r e f o r e ,   a l t e r i n g   t h i s   p a r a m e t e r   m u s t   b e   a p p r o a c h e d   w i t h   c a u t i o n   a n d   a t   y o u r   o w n   r i s k .   A n o t h e r   c a v e a t   t o   k e e p   i n   m i n d   i s   t h a t   t h e   k u b e l e t   s u p p o r t s   t h e   l o c a t i o n   b e i n g   o n   t h e   s a m e   d i s k   a s   / v a r .   O t h e r w i s e ,   i f   t h e   l o g s   a r e   o n   a   s e p a r a t e   f i l e s y s t e m   f r o m   / v a r ,   t h e n   t h e   k u b e l e t   w i l l   n o t   t r a c k   t h a t   f i l e s y s t e m ' s   u s a g e ,   p o t e n t i a l l y   l e a d i n g   t o   i s s u e s   i f   i t   f i l l s   u p .   F o r   d e t a i l s   a b o u t   e t c d   a n d   i t s   l o g s ,   v i e w   t h e   e t c d   d o c u m e n t a t i o n .   A g a i n ,   y o u   c a n   u s e   K u b e r n e t e s '   s t o r a g e   m e c h a n i s m s   t o   m a p   p e r s i s t e n t   s t o r a g e   i n t o   t h e   c o n t a i n e r   t h a t   r u n s   t h e   c o m p o n e n t .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5794"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   d e p l o y   K u b e r n e t e s   c l u s t e r   c o m p o n e n t s   ( s u c h   a s   t h e   s c h e d u l e r )   t o   l o g   t o   a   v o l u m e   s h a r e d   f r o m   t h e   p a r e n t   n o d e ,   y o u   n e e d   t o   c o n s i d e r   a n d   e n s u r e   t h a t   t h o s e   l o g s   a r e   r o t a t e d .   K u b e r n e t e s   d o e s   n o t   m a n a g e   t h a t   l o g   r o t a t i o n .   Y o u r   o p e r a t i n g   s y s t e m   m a y   a u t o m a t i c a l l y   i m p l e m e n t   s o m e   l o g   r o t a t i o n   -   f o r   e x a m p l e ,   i f   y o u   s h a r e   t h e   d i r e c t o r y   / v a r / l o g   i n t o   a   s t a t i c   P o d   f o r   a   c o m p o n e n t ,   n o d e - l e v e l   l o g   r o t a t i o n   t r e a t s   a   f i l e   i n   t h a t   d i r e c t o r y   t h e   s a m e   a s   a   f i l e   w r i t t e n   b y   a n y   c o m p o n e n t   o u t s i d e   K u b e r n e t e s .   S o m e   d e p l o y   t o o l s   a c c o u n t   f o r   t h a t   l o g   r o t a t i o n   a n d   a u t o m a t e   i t ;   o t h e r s   l e a v e   t h i s   a s   y o u r   r e s p o n s i b i l i t y .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5795"
  },
  {
    "question": "What is Cluster-level logging architectures?",
    "answer": "W h i l e   K u b e r n e t e s   d o e s   n o t   p r o v i d e   a   n a t i v e   s o l u t i o n   f o r   c l u s t e r - l e v e l   l o g g i n g ,   t h e r e   a r e   s e v e r a l   c o m m o n   a p p r o a c h e s   y o u   c a n   c o n s i d e r .   H e r e   a r e   s o m e   o p t i o n s :   U s e   a   n o d e - l e v e l   l o g g i n g   a g e n t   t h a t   r u n s   o n   e v e r y   n o d e . I n c l u d e   a   d e d i c a t e d   s i d e c a r   c o n t a i n e r   f o r   l o g g i n g   i n   a n   a p p l i c a t i o n   p o d . P u s h   l o g s   d i r e c t l y   t o   a   b a c k e n d   f r o m   w i t h i n   a n   a p p l i c a t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5796"
  },
  {
    "question": "What is Using a node logging agent?",
    "answer": "Y o u   c a n   i m p l e m e n t   c l u s t e r - l e v e l   l o g g i n g   b y   i n c l u d i n g   a   n o d e - l e v e l   l o g g i n g   a g e n t   o n   e a c h   n o d e .   T h e   l o g g i n g   a g e n t   i s   a   d e d i c a t e d   t o o l   t h a t   e x p o s e s   l o g s   o r   p u s h e s   l o g s   t o   a   b a c k e n d .   C o m m o n l y ,   t h e   l o g g i n g   a g e n t   i s   a   c o n t a i n e r   t h a t   h a s   a c c e s s   t o   a   d i r e c t o r y   w i t h   l o g   f i l e s   f r o m   a l l   o f   t h e   a p p l i c a t i o n   c o n t a i n e r s   o n   t h a t   n o d e .   B e c a u s e   t h e   l o g g i n g   a g e n t   m u s t   r u n   o n   e v e r y   n o d e ,   i t   i s   r e c o m m e n d e d   t o   r u n   t h e   a g e n t   a s   a   D a e m o n S e t .   N o d e - l e v e l   l o g g i n g   c r e a t e s   o n l y   o n e   a g e n t   p e r   n o d e   a n d   d o e s n ' t   r e q u i r e   a n y   c h a n g e s   t o   t h e   a p p l i c a t i o n s   r u n n i n g   o n   t h e   n o d e .   C o n t a i n e r s   w r i t e   t o   s t d o u t   a n d   s t d e r r ,   b u t   w i t h   n o   a g r e e d   f o r m a t .   A   n o d e - l e v e l   a g e n t   c o l l e c t s   t h e s e   l o g s   a n d   f o r w a r d s   t h e m   f o r   a g g r e g a t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5797"
  },
  {
    "question": "What is Using a sidecar container with the logging agent?",
    "answer": "Y o u   c a n   u s e   a   s i d e c a r   c o n t a i n e r   i n   o n e   o f   t h e   f o l l o w i n g   w a y s :   T h e   s i d e c a r   c o n t a i n e r   s t r e a m s   a p p l i c a t i o n   l o g s   t o   i t s   o w n   s t d o u t . T h e   s i d e c a r   c o n t a i n e r   r u n s   a   l o g g i n g   a g e n t ,   w h i c h   i s   c o n f i g u r e d   t o   p i c k   u p   l o g s   f r o m   a n   a p p l i c a t i o n   c o n t a i n e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5798"
  },
  {
    "question": "What is Streaming sidecar container?",
    "answer": "B y   h a v i n g   y o u r   s i d e c a r   c o n t a i n e r s   w r i t e   t o   t h e i r   o w n   s t d o u t   a n d   s t d e r r   s t r e a m s ,   y o u   c a n   t a k e   a d v a n t a g e   o f   t h e   k u b e l e t   a n d   t h e   l o g g i n g   a g e n t   t h a t   a l r e a d y   r u n   o n   e a c h   n o d e .   T h e   s i d e c a r   c o n t a i n e r s   r e a d   l o g s   f r o m   a   f i l e ,   a   s o c k e t ,   o r   j o u r n a l d .   E a c h   s i d e c a r   c o n t a i n e r   p r i n t s   a   l o g   t o   i t s   o w n   s t d o u t   o r   s t d e r r   s t r e a m .   T h i s   a p p r o a c h   a l l o w s   y o u   t o   s e p a r a t e   s e v e r a l   l o g   s t r e a m s   f r o m   d i f f e r e n t   p a r t s   o f   y o u r   a p p l i c a t i o n ,   s o m e   o f   w h i c h   c a n   l a c k   s u p p o r t   f o r   w r i t i n g   t o   s t d o u t   o r   s t d e r r .   T h e   l o g i c   b e h i n d   r e d i r e c t i n g   l o g s   i s   m i n i m a l ,   s o   i t ' s   n o t   a   s i g n i f i c a n t   o v e r h e a d .   A d d i t i o n a l l y ,   b e c a u s e   s t d o u t   a n d   s t d e r r   a r e   h a n d l e d   b y   t h e   k u b e l e t ,   y o u   c a n   u s e   b u i l t - i n   t o o l s   l i k e   k u b e c t l   l o g s .   F o r   e x a m p l e ,   a   p o d   r u n s   a   s i n g l e   c o n t a i n e r ,   a n d   t h e   c o n t a i n e r   w r i t e s   t o   t w o   d i f f e r e n t   l o g   f i l e s   u s i n g   t w o   d i f f e r e n t   f o r m a t s .   H e r e ' s   a   m a n i f e s t   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o u n t e r   s p e c :   c o n t a i n e r s :   -   n a m e :   c o u n t   i m a g e :   b u s y b o x : 1 . 2 8   a r g s :   -   / b i n / s h   -   - c   -   >   i = 0 ;   w h i l e   t r u e ;   d o   e c h o   \" $ i :   $ ( d a t e ) \"   > >   / v a r / ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5799"
  },
  {
    "question": "What is Sidecar container with a logging agent?",
    "answer": "I f   t h e   n o d e - l e v e l   l o g g i n g   a g e n t   i s   n o t   f l e x i b l e   e n o u g h   f o r   y o u r   s i t u a t i o n ,   y o u   c a n   c r e a t e   a   s i d e c a r   c o n t a i n e r   w i t h   a   s e p a r a t e   l o g g i n g   a g e n t   t h a t   y o u   h a v e   c o n f i g u r e d   s p e c i f i c a l l y   t o   r u n   w i t h   y o u r   a p p l i c a t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5800"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e   a r e   t w o   e x a m p l e   m a n i f e s t s   t h a t   y o u   c a n   u s e   t o   i m p l e m e n t   a   s i d e c a r   c o n t a i n e r   w i t h   a   l o g g i n g   a g e n t .   T h e   f i r s t   m a n i f e s t   c o n t a i n s   a   C o n f i g M a p   t o   c o n f i g u r e   f l u e n t d .   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   f l u e n t d - c o n f i g   d a t a :   f l u e n t d . c o n f :   |   < s o u r c e >   t y p e   t a i l   f o r m a t   n o n e   p a t h   / v a r / l o g / 1 . l o g   p o s _ f i l e   / v a r / l o g / 1 . l o g . p o s   t a g   c o u n t . f o r m a t 1   < / s o u r c e >   < s o u r c e >   t y p e   t a i l   f o r m a t   n o n e   p a t h   / v a r / l o g / 2 . l o g   p o s _ f i l e   / v a r / l o g / 2 . l o g . p o s   t a g   c o u n t . f o r m a t 2   < / s o u r c e >   < m a t c h   * * >   t y p e   g o o g l e _ c l o u d   < / m a t c h >",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5801"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   s e c o n d   m a n i f e s t   d e s c r i b e s   a   p o d   t h a t   h a s   a   s i d e c a r   c o n t a i n e r   r u n n i n g   f l u e n t d .   T h e   p o d   m o u n t s   a   v o l u m e   w h e r e   f l u e n t d   c a n   p i c k   u p   i t s   c o n f i g u r a t i o n   d a t a .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o u n t e r   s p e c :   c o n t a i n e r s :   -   n a m e :   c o u n t   i m a g e :   b u s y b o x : 1 . 2 8   a r g s :   -   / b i n / s h   -   - c   -   >   i = 0 ;   w h i l e   t r u e ;   d o   e c h o   \" $ i :   $ ( d a t e ) \"   > >   / v a r / l o g / 1 . l o g ;   e c h o   \" $ ( d a t e )   I N F O   $ i \"   > >   / v a r / l o g / 2 . l o g ;   i = $ ( ( i + 1 ) ) ;   s l e e p   1 ;   d o n e   v o l u m e M o u n t s :   -   n a m e :   v a r l o g   m o u n t P a t h :   / v a r / l o g   -   n a m e :   c o u n t - a g e n t   i m a g e :   r e g i s t r y . k 8 s . i o / f l u e n t d - g c p : 1 . 3 0   e n v :   -   n a m e :   F L U E N T D _ A R G S   v a l u e :   - c   / e t c / f l u e n t d - c o n f i g / f l u e n t d . c o n f   v o l u m e M o u n t s :   -   n a m e :   v a r l o g   m o u n t P a t h :   / v a r / l o g   -   n a m e :   c o n f i g - v o l u m e   m o u n t P a t h :   / e t c / f l u e n t d - c o n f i g   v o l u m e s :   -   n a m e :   v a r l o g   e m p t y D i r :   { }   -   n a m e :   c o n f i g - v o l u m e   c o n f i g M a p :   n a m e :   f l u e n t d - c o n f i g",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5802"
  },
  {
    "question": "What is Exposing logs directly from the application?",
    "answer": "C l u s t e r - l o g g i n g   t h a t   e x p o s e s   o r   p u s h e s   l o g s   d i r e c t l y   f r o m   e v e r y   a p p l i c a t i o n   i s   o u t s i d e   t h e   s c o p e   o f   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5803"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   K u b e r n e t e s   s y s t e m   l o g s L e a r n   a b o u t   T r a c e s   F o r   K u b e r n e t e s   S y s t e m   C o m p o n e n t s L e a r n   h o w   t o   c u s t o m i s e   t h e   t e r m i n a t i o n   m e s s a g e   t h a t   K u b e r n e t e s   r e c o r d s   w h e n   a   P o d   f a i l s",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5804"
  },
  {
    "question": "What is 9 - Compatibility Version For Kubernetes Control Plane Components?",
    "answer": "S i n c e   r e l e a s e   v 1 . 3 2 ,   w e   i n t r o d u c e d   c o n f i g u r a b l e   v e r s i o n   c o m p a t i b i l i t y   a n d   e m u l a t i o n   o p t i o n s   t o   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t s   t o   m a k e   u p g r a d e s   s a f e r   b y   p r o v i d i n g   m o r e   c o n t r o l   a n d   i n c r e a s i n g   t h e   g r a n u l a r i t y   o f   s t e p s   a v a i l a b l e   t o   c l u s t e r   a d m i n i s t r a t o r s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_1_5805"
  },
  {
    "question": "What is Emulated Version?",
    "answer": "T h e   e m u l a t i o n   o p t i o n   i s   s e t   b y   t h e   - - e m u l a t e d - v e r s i o n   f l a g   o f   c o n t r o l   p l a n e   c o m p o n e n t s .   I t   a l l o w s   t h e   c o m p o n e n t   t o   e m u l a t e   t h e   b e h a v i o r   ( A P I s ,   f e a t u r e s ,   . . . )   o f   a n   e a r l i e r   v e r s i o n   o f   K u b e r n e t e s .   W h e n   u s e d ,   t h e   c a p a b i l i t i e s   a v a i l a b l e   w i l l   m a t c h   t h e   e m u l a t e d   v e r s i o n :   A n y   c a p a b i l i t i e s   p r e s e n t   i n   t h e   b i n a r y   v e r s i o n   t h a t   w e r e   i n t r o d u c e d   a f t e r   t h e   e m u l a t i o n   v e r s i o n   w i l l   b e   u n a v a i l a b l e . A n y   c a p a b i l i t i e s   r e m o v e d   a f t e r   t h e   e m u l a t i o n   v e r s i o n   w i l l   b e   a v a i l a b l e .   T h i s   e n a b l e s   a   b i n a r y   f r o m   a   p a r t i c u l a r   K u b e r n e t e s   r e l e a s e   t o   e m u l a t e   t h e   b e h a v i o r   o f   a   p r e v i o u s   v e r s i o n   w i t h   s u f f i c i e n t   f i d e l i t y   t h a t   i n t e r o p e r a b i l i t y   w i t h   o t h e r   s y s t e m   c o m p o n e n t s   c a n   b e   d e f i n e d   i n   t e r m s   o f   t h e   e m u l a t e d   v e r s i o n .   T h e   - - e m u l a t e d - v e r s i o n   m u s t   b e   < =   b i n a r y V e r s i o n .   S e e   t h e   h e l p   m e s s a g e   o f   t h e   - - e m u l a t e d - v e r s i o n   f l a g   f o r   s u p p o r t e d   r a n g e   o f   e m u l a t e d   v e r s i o n s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5806"
  },
  {
    "question": "What is 10 - Metrics For Kubernetes System Components?",
    "answer": "S y s t e m   c o m p o n e n t   m e t r i c s   c a n   g i v e   a   b e t t e r   l o o k   i n t o   w h a t   i s   h a p p e n i n g   i n s i d e   t h e m .   M e t r i c s   a r e   p a r t i c u l a r l y   u s e f u l   f o r   b u i l d i n g   d a s h b o a r d s   a n d   a l e r t s .   K u b e r n e t e s   c o m p o n e n t s   e m i t   m e t r i c s   i n   P r o m e t h e u s   f o r m a t .   T h i s   f o r m a t   i s   s t r u c t u r e d   p l a i n   t e x t ,   d e s i g n e d   s o   t h a t   p e o p l e   a n d   m a c h i n e s   c a n   b o t h   r e a d   i t .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_1_5807"
  },
  {
    "question": "What is Metrics in Kubernetes?",
    "answer": "I n   m o s t   c a s e s   m e t r i c s   a r e   a v a i l a b l e   o n   / m e t r i c s   e n d p o i n t   o f   t h e   H T T P   s e r v e r .   F o r   c o m p o n e n t s   t h a t   d o n ' t   e x p o s e   e n d p o i n t   b y   d e f a u l t ,   i t   c a n   b e   e n a b l e d   u s i n g   - - b i n d - a d d r e s s   f l a g .   E x a m p l e s   o f   t h o s e   c o m p o n e n t s :   k u b e - c o n t r o l l e r - m a n a g e r k u b e - p r o x y k u b e - a p i s e r v e r k u b e - s c h e d u l e r k u b e l e t   I n   a   p r o d u c t i o n   e n v i r o n m e n t   y o u   m a y   w a n t   t o   c o n f i g u r e   P r o m e t h e u s   S e r v e r   o r   s o m e   o t h e r   m e t r i c s   s c r a p e r   t o   p e r i o d i c a l l y   g a t h e r   t h e s e   m e t r i c s   a n d   m a k e   t h e m   a v a i l a b l e   i n   s o m e   k i n d   o f   t i m e   s e r i e s   d a t a b a s e .   N o t e   t h a t   k u b e l e t   a l s o   e x p o s e s   m e t r i c s   i n   / m e t r i c s / c a d v i s o r ,   / m e t r i c s / r e s o u r c e   a n d   / m e t r i c s / p r o b e s   e n d p o i n t s .   T h o s e   m e t r i c s   d o   n o t   h a v e   t h e   s a m e   l i f e c y c l e .   I f   y o u r   c l u s t e r   u s e s   R B A C ,   r e a d i n g   m e t r i c s   r e q u i r e s   a u t h o r i z a t i o n   v i a   a   u s e r ,   g r o u p   o r   S e r v i c e A c c o u n t   w i t h   a   C l u s t e r R o l e   t h a t   a l l o w s   a c c e s s i n g   / m e t r i c s .   F o r   e x a m p l e :   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   n a m e :   p r o m e t h e u s   r u l e s :   -   n o n R e s o u r c e U R L s :   -   \" / m e t r i c s \"   v e r b s :   -   g e t",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5808"
  },
  {
    "question": "What is Metric lifecycle?",
    "answer": "A l p h a   m e t r i c   →   S t a b l e   m e t r i c   →   D e p r e c a t e d   m e t r i c   →   H i d d e n   m e t r i c   →   D e l e t e d   m e t r i c   A l p h a   m e t r i c s   h a v e   n o   s t a b i l i t y   g u a r a n t e e s .   T h e s e   m e t r i c s   c a n   b e   m o d i f i e d   o r   d e l e t e d   a t   a n y   t i m e .   S t a b l e   m e t r i c s   a r e   g u a r a n t e e d   t o   n o t   c h a n g e .   T h i s   m e a n s :   A   s t a b l e   m e t r i c   w i t h o u t   a   d e p r e c a t e d   s i g n a t u r e   w i l l   n o t   b e   d e l e t e d   o r   r e n a m e d A   s t a b l e   m e t r i c ' s   t y p e   w i l l   n o t   b e   m o d i f i e d   D e p r e c a t e d   m e t r i c s   a r e   s l a t e d   f o r   d e l e t i o n ,   b u t   a r e   s t i l l   a v a i l a b l e   f o r   u s e .   T h e s e   m e t r i c s   i n c l u d e   a n   a n n o t a t i o n   a b o u t   t h e   v e r s i o n   i n   w h i c h   t h e y   b e c a m e   d e p r e c a t e d .   F o r   e x a m p l e :   B e f o r e   d e p r e c a t i o n #   H E L P   s o m e _ c o u n t e r   t h i s   c o u n t s   t h i n g s   #   T Y P E   s o m e _ c o u n t e r   c o u n t e r   s o m e _ c o u n t e r   0   A f t e r   d e p r e c a t i o n #   H E L P   s o m e _ c o u n t e r   ( D e p r e c a t e d   s i n c e   1 . 1 5 . 0 )   t h i s   c o u n t s   t h i n g s   #   T Y P E   s o m e _ c o u n t e r   c o u n t e r   s o m e _ c o u n t e r   0   B e f o r e   d e p r e c a t i o n   #   H E L P   s o m e _ c o u n t e r   t h i s   c o u n t s   t h i n g s   #   T Y P E   s o m e _ c o u n t e r   c o u n t e r   s o m e _ c o u n t e r   0   A f t e r   d e p r e c a t i o n   #   H E L P   s o m e _ c o u n t e r   ( D e p r e c a t e d   s i n c e   1 . 1 5 . 0 )   t h i s   c o u n t s   t h i n g s   #   T Y P E   s o m e _ c o u n t e r   c o u n t e r   s o m e _ c o u n t e r   0   H i d d e n   m e t r i c ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5809"
  },
  {
    "question": "What is Show hidden metrics?",
    "answer": "A s   d e s c r i b e d   a b o v e ,   a d m i n s   c a n   e n a b l e   h i d d e n   m e t r i c s   t h r o u g h   a   c o m m a n d - l i n e   f l a g   o n   a   s p e c i f i c   b i n a r y .   T h i s   i n t e n d s   t o   b e   u s e d   a s   a n   e s c a p e   h a t c h   f o r   a d m i n s   i f   t h e y   m i s s e d   t h e   m i g r a t i o n   o f   t h e   m e t r i c s   d e p r e c a t e d   i n   t h e   l a s t   r e l e a s e .   T h e   f l a g   s h o w - h i d d e n - m e t r i c s - f o r - v e r s i o n   t a k e s   a   v e r s i o n   f o r   w h i c h   y o u   w a n t   t o   s h o w   m e t r i c s   d e p r e c a t e d   i n   t h a t   r e l e a s e .   T h e   v e r s i o n   i s   e x p r e s s e d   a s   x . y ,   w h e r e   x   i s   t h e   m a j o r   v e r s i o n ,   y   i s   t h e   m i n o r   v e r s i o n .   T h e   p a t c h   v e r s i o n   i s   n o t   n e e d e d   e v e n   t h o u g h   a   m e t r i c s   c a n   b e   d e p r e c a t e d   i n   a   p a t c h   r e l e a s e ,   t h e   r e a s o n   f o r   t h a t   i s   t h e   m e t r i c s   d e p r e c a t i o n   p o l i c y   r u n s   a g a i n s t   t h e   m i n o r   r e l e a s e .   T h e   f l a g   c a n   o n l y   t a k e   t h e   p r e v i o u s   m i n o r   v e r s i o n   a s   i t ' s   v a l u e .   A l l   m e t r i c s   h i d d e n   i n   p r e v i o u s   w i l l   b e   e m i t t e d   i f   a d m i n s   s e t   t h e   p r e v i o u s   v e r s i o n   t o   s h o w - h i d d e n - m e t r i c s - f o r - v e r s i o n .   T h e   t o o   o l d   v e r s i o n   i s   n o t   a l l o w e d   b e c a u s e   t h i s   v i o l a t e s   t h e   m e t r i c s   d e p r e c a t e d   p o l i c y .   T a k e   m e t r i c   A   a s   a n   e x a m p l e ,   h e r e   a s s u m e d   t h a t   A   i s   d e p r e c a t e d   i n   1 . n .   A c c o r d i n g   t o   m e t r i c s   d e p r e c a t e d   p o l i c y ,   ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5810"
  },
  {
    "question": "What is kube-controller-manager metrics?",
    "answer": "C o n t r o l l e r   m a n a g e r   m e t r i c s   p r o v i d e   i m p o r t a n t   i n s i g h t   i n t o   t h e   p e r f o r m a n c e   a n d   h e a l t h   o f   t h e   c o n t r o l l e r   m a n a g e r .   T h e s e   m e t r i c s   i n c l u d e   c o m m o n   G o   l a n g u a g e   r u n t i m e   m e t r i c s   s u c h   a s   g o _ r o u t i n e   c o u n t   a n d   c o n t r o l l e r   s p e c i f i c   m e t r i c s   s u c h   a s   e t c d   r e q u e s t   l a t e n c i e s   o r   C l o u d p r o v i d e r   ( A W S ,   G C E ,   O p e n S t a c k )   A P I   l a t e n c i e s   t h a t   c a n   b e   u s e d   t o   g a u g e   t h e   h e a l t h   o f   a   c l u s t e r .   S t a r t i n g   f r o m   K u b e r n e t e s   1 . 7 ,   d e t a i l e d   C l o u d p r o v i d e r   m e t r i c s   a r e   a v a i l a b l e   f o r   s t o r a g e   o p e r a t i o n s   f o r   G C E ,   A W S ,   V s p h e r e   a n d   O p e n S t a c k .   T h e s e   m e t r i c s   c a n   b e   u s e d   t o   m o n i t o r   h e a l t h   o f   p e r s i s t e n t   v o l u m e   o p e r a t i o n s .   F o r   e x a m p l e ,   f o r   G C E   t h e s e   m e t r i c s   a r e   c a l l e d :   c l o u d p r o v i d e r _ g c e _ a p i _ r e q u e s t _ d u r a t i o n _ s e c o n d s   {   r e q u e s t   =   \" i n s t a n c e _ l i s t \" }   c l o u d p r o v i d e r _ g c e _ a p i _ r e q u e s t _ d u r a t i o n _ s e c o n d s   {   r e q u e s t   =   \" d i s k _ i n s e r t \" }   c l o u d p r o v i d e r _ g c e _ a p i _ r e q u e s t _ d u r a t i o n _ s e c o n d s   {   r e q u e s t   =   \" d i s k _ d e l e t e \" }   c l o u d p r o v i d e r _ g c e _ a p i _ r e q u e s t _ d u r a t i o n _ s e c o n d s   {   r e q u e s t   =   \" a t t a c h _ d i s k \" }   c l o u d p r o v i d e r _ g c e _ a p i _ r e q u e s t _ d u r a t i o n _ s e c o n d s   {   r e q u e s t   =   \" d e t a c h _ d i s k \" }   c l o u d p r o ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5811"
  },
  {
    "question": "What is kube-scheduler metrics?",
    "answer": "T h e   s c h e d u l e r   e x p o s e s   o p t i o n a l   m e t r i c s   t h a t   r e p o r t s   t h e   r e q u e s t e d   r e s o u r c e s   a n d   t h e   d e s i r e d   l i m i t s   o f   a l l   r u n n i n g   p o d s .   T h e s e   m e t r i c s   c a n   b e   u s e d   t o   b u i l d   c a p a c i t y   p l a n n i n g   d a s h b o a r d s ,   a s s e s s   c u r r e n t   o r   h i s t o r i c a l   s c h e d u l i n g   l i m i t s ,   q u i c k l y   i d e n t i f y   w o r k l o a d s   t h a t   c a n n o t   s c h e d u l e   d u e   t o   l a c k   o f   r e s o u r c e s ,   a n d   c o m p a r e   a c t u a l   u s a g e   t o   t h e   p o d ' s   r e q u e s t .   T h e   k u b e - s c h e d u l e r   i d e n t i f i e s   t h e   r e s o u r c e   r e q u e s t s   a n d   l i m i t s   c o n f i g u r e d   f o r   e a c h   P o d ;   w h e n   e i t h e r   a   r e q u e s t   o r   l i m i t   i s   n o n - z e r o ,   t h e   k u b e - s c h e d u l e r   r e p o r t s   a   m e t r i c s   t i m e s e r i e s .   T h e   t i m e   s e r i e s   i s   l a b e l l e d   b y :   n a m e s p a c e p o d   n a m e t h e   n o d e   w h e r e   t h e   p o d   i s   s c h e d u l e d   o r   a n   e m p t y   s t r i n g   i f   n o t   y e t   s c h e d u l e d p r i o r i t y t h e   a s s i g n e d   s c h e d u l e r   f o r   t h a t   p o d t h e   n a m e   o f   t h e   r e s o u r c e   ( f o r   e x a m p l e ,   c p u ) t h e   u n i t   o f   t h e   r e s o u r c e   i f   k n o w n   ( f o r   e x a m p l e ,   c o r e s )   O n c e   a   p o d   r e a c h e s   c o m p l e t i o n   ( h a s   a   r e s t a r t P o l i c y   o f   N e v e r   o r   O n F a i l u r e   a n d   i s   i n   t h e   S u c c e e d e d   o r   F a i l e d   p o d   p h a s e ,   o r   h a s   b e e n   d e l e t e d   a n d   a l l   c o n t a i n e r s   h a v e   a   t e r m i n a t e d   s t a t e )   t h e   s e r i e s   i s   n o   l ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5812"
  },
  {
    "question": "What is kubelet Pressure Stall Information (PSI) metrics?",
    "answer": "A s   a   b e t a   f e a t u r e ,   K u b e r n e t e s   l e t s   y o u   c o n f i g u r e   k u b e l e t   t o   c o l l e c t   L i n u x   k e r n e l   P r e s s u r e   S t a l l   I n f o r m a t i o n   ( P S I )   f o r   C P U ,   m e m o r y   a n d   I / O   u s a g e .   T h e   i n f o r m a t i o n   i s   c o l l e c t e d   a t   n o d e ,   p o d   a n d   c o n t a i n e r   l e v e l .   T h e   m e t r i c s   a r e   e x p o s e d   a t   t h e   / m e t r i c s / c a d v i s o r   e n d p o i n t   w i t h   t h e   f o l l o w i n g   n a m e s :   c o n t a i n e r _ p r e s s u r e _ c p u _ s t a l l e d _ s e c o n d s _ t o t a l   c o n t a i n e r _ p r e s s u r e _ c p u _ w a i t i n g _ s e c o n d s _ t o t a l   c o n t a i n e r _ p r e s s u r e _ m e m o r y _ s t a l l e d _ s e c o n d s _ t o t a l   c o n t a i n e r _ p r e s s u r e _ m e m o r y _ w a i t i n g _ s e c o n d s _ t o t a l   c o n t a i n e r _ p r e s s u r e _ i o _ s t a l l e d _ s e c o n d s _ t o t a l   c o n t a i n e r _ p r e s s u r e _ i o _ w a i t i n g _ s e c o n d s _ t o t a l   T h i s   f e a t u r e   i s   e n a b l e d   b y   d e f a u l t ,   b y   s e t t i n g   t h e   K u b e l e t P S I   f e a t u r e   g a t e .   T h e   i n f o r m a t i o n   i s   a l s o   e x p o s e d   i n   t h e   S u m m a r y   A P I .   Y o u   c a n   l e a r n   h o w   t o   i n t e r p r e t   t h e   P S I   m e t r i c s   i n   U n d e r s t a n d   P S I   M e t r i c s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5813"
  },
  {
    "question": "What is Requirements?",
    "answer": "P r e s s u r e   S t a l l   I n f o r m a t i o n   r e q u i r e s :   L i n u x   k e r n e l   v e r s i o n s   4 . 2 0   o r   l a t e r . c g r o u p   v 2",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5814"
  },
  {
    "question": "What is Disabling metrics?",
    "answer": "Y o u   c a n   e x p l i c i t l y   t u r n   o f f   m e t r i c s   v i a   c o m m a n d   l i n e   f l a g   - - d i s a b l e d - m e t r i c s .   T h i s   m a y   b e   d e s i r e d   i f ,   f o r   e x a m p l e ,   a   m e t r i c   i s   c a u s i n g   a   p e r f o r m a n c e   p r o b l e m .   T h e   i n p u t   i s   a   l i s t   o f   d i s a b l e d   m e t r i c s   ( i . e .   - - d i s a b l e d - m e t r i c s = m e t r i c 1 , m e t r i c 2 ) .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5815"
  },
  {
    "question": "What is Metric cardinality enforcement?",
    "answer": "M e t r i c s   w i t h   u n b o u n d e d   d i m e n s i o n s   c o u l d   c a u s e   m e m o r y   i s s u e s   i n   t h e   c o m p o n e n t s   t h e y   i n s t r u m e n t .   T o   l i m i t   r e s o u r c e   u s e ,   y o u   c a n   u s e   t h e   - - a l l o w - m e t r i c - l a b e l s   c o m m a n d   l i n e   o p t i o n   t o   d y n a m i c a l l y   c o n f i g u r e   a n   a l l o w - l i s t   o f   l a b e l   v a l u e s   f o r   a   m e t r i c .   I n   a l p h a   s t a g e ,   t h e   f l a g   c a n   o n l y   t a k e   i n   a   s e r i e s   o f   m a p p i n g s   a s   m e t r i c   l a b e l   a l l o w - l i s t .   E a c h   m a p p i n g   i s   o f   t h e   f o r m a t   < m e t r i c _ n a m e > , < l a b e l _ n a m e > = < a l l o w e d _ l a b e l s >   w h e r e   < a l l o w e d _ l a b e l s >   i s   a   c o m m a - s e p a r a t e d   l i s t   o f   a c c e p t a b l e   l a b e l   n a m e s .   T h e   o v e r a l l   f o r m a t   l o o k s   l i k e :   - - a l l o w - m e t r i c - l a b e l s   < m e t r i c _ n a m e > , < l a b e l _ n a m e > = ' < a l l o w _ v a l u e 1 > ,   < a l l o w _ v a l u e 2 > . . . ' ,   < m e t r i c _ n a m e 2 > , < l a b e l _ n a m e > = ' < a l l o w _ v a l u e 1 > ,   < a l l o w _ v a l u e 2 > . . . ' ,   . . .   H e r e   i s   a n   e x a m p l e :   - - a l l o w - m e t r i c - l a b e l s   n u m b e r _ c o u n t _ m e t r i c , o d d _ n u m b e r = ' 1 , 3 , 5 ' ,   n u m b e r _ c o u n t _ m e t r i c , e v e n _ n u m b e r = ' 2 , 4 , 6 ' ,   d a t e _ g a u g e _ m e t r i c , w e e k e n d = ' S a t u r d a y , S u n d a y '   I n   a d d i t i o n   t o   s p e c i f y i n g   t h i s   f r o m   t h e   C L I ,   t h i s   c a n   a l s o   b e   d o n e   w i t h i n   a   c o n f i g u r a t i o n   f i l e .   Y o u   c a n   s p e c i f y   t h e   p a t h   t o   t h a t   c o n f i g u r a t i o n   f i l e   u s i n g   t h e   - - a ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5816"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   t h e   P r o m e t h e u s   t e x t   f o r m a t   f o r   m e t r i c s S e e   t h e   l i s t   o f   s t a b l e   K u b e r n e t e s   m e t r i c s R e a d   a b o u t   t h e   K u b e r n e t e s   d e p r e c a t i o n   p o l i c y",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5817"
  },
  {
    "question": "What is 11 - Metrics for Kubernetes Object States?",
    "answer": "T h e   s t a t e   o f   K u b e r n e t e s   o b j e c t s   i n   t h e   K u b e r n e t e s   A P I   c a n   b e   e x p o s e d   a s   m e t r i c s .   A n   a d d - o n   a g e n t   c a l l e d   k u b e - s t a t e - m e t r i c s   c a n   c o n n e c t   t o   t h e   K u b e r n e t e s   A P I   s e r v e r   a n d   e x p o s e   a   H T T P   e n d p o i n t   w i t h   m e t r i c s   g e n e r a t e d   f r o m   t h e   s t a t e   o f   i n d i v i d u a l   o b j e c t s   i n   t h e   c l u s t e r .   I t   e x p o s e s   v a r i o u s   i n f o r m a t i o n   a b o u t   t h e   s t a t e   o f   o b j e c t s   l i k e   l a b e l s   a n d   a n n o t a t i o n s ,   s t a r t u p   a n d   t e r m i n a t i o n   t i m e s ,   s t a t u s   o r   t h e   p h a s e   t h e   o b j e c t   c u r r e n t l y   i s   i n .   F o r   e x a m p l e ,   c o n t a i n e r s   r u n n i n g   i n   p o d s   c r e a t e   a   k u b e _ p o d _ c o n t a i n e r _ i n f o   m e t r i c .   T h i s   i n c l u d e s   t h e   n a m e   o f   t h e   c o n t a i n e r ,   t h e   n a m e   o f   t h e   p o d   i t   i s   p a r t   o f ,   t h e   n a m e s p a c e   t h e   p o d   i s   r u n n i n g   i n ,   t h e   n a m e   o f   t h e   c o n t a i n e r   i m a g e ,   t h e   I D   o f   t h e   i m a g e ,   t h e   i m a g e   n a m e   f r o m   t h e   s p e c   o f   t h e   c o n t a i n e r ,   t h e   I D   o f   t h e   r u n n i n g   c o n t a i n e r   a n d   t h e   I D   o f   t h e   p o d   a s   l a b e l s .   A n   e x t e r n a l   c o m p o n e n t   t h a t   i s   a b l e   a n d   c a p a b l e   t o   s c r a p e   t h e   e n d p o i n t   o f   k u b e - s t a t e - m e t r i c s   ( f o r   e x a m p l e   v i a   P r o m e t h e u s )   c a n   n o w   b e   u s e d   t o   e n a b l e   t h e   f o l l o w i n g   u s e   c a s e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_1_5818"
  },
  {
    "question": "What is Example: using metrics from kube-state-metrics to query the cluster state?",
    "answer": "M e t r i c   s e r i e s   g e n e r a t e d   b y   k u b e - s t a t e - m e t r i c s   a r e   h e l p f u l   t o   g a t h e r   f u r t h e r   i n s i g h t s   i n t o   t h e   c l u s t e r ,   a s   t h e y   c a n   b e   u s e d   f o r   q u e r y i n g .   I f   y o u   u s e   P r o m e t h e u s   o r   a n o t h e r   t o o l   t h a t   u s e s   t h e   s a m e   q u e r y   l a n g u a g e ,   t h e   f o l l o w i n g   P r o m Q L   q u e r y   r e t u r n s   t h e   n u m b e r   o f   p o d s   t h a t   a r e   n o t   r e a d y :   c o u n t ( k u b e _ p o d _ s t a t u s _ r e a d y { c o n d i t i o n = \" f a l s e \" } )   b y   ( n a m e s p a c e ,   p o d )",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5819"
  },
  {
    "question": "What is Example: alerting based on from kube-state-metrics?",
    "answer": "M e t r i c s   g e n e r a t e d   f r o m   k u b e - s t a t e - m e t r i c s   a l s o   a l l o w   f o r   a l e r t i n g   o n   i s s u e s   i n   t h e   c l u s t e r .   I f   y o u   u s e   P r o m e t h e u s   o r   a   s i m i l a r   t o o l   t h a t   u s e s   t h e   s a m e   a l e r t   r u l e   l a n g u a g e ,   t h e   f o l l o w i n g   a l e r t   w i l l   f i r e   i f   t h e r e   a r e   p o d s   t h a t   h a v e   b e e n   i n   a   T e r m i n a t i n g   s t a t e   f o r   m o r e   t h a n   5   m i n u t e s :   g r o u p s :   -   n a m e :   P o d   s t a t e   r u l e s :   -   a l e r t :   P o d s B l o c k e d I n T e r m i n a t i n g S t a t e   e x p r :   c o u n t ( k u b e _ p o d _ d e l e t i o n _ t i m e s t a m p )   b y   ( n a m e s p a c e ,   p o d )   *   c o u n t ( k u b e _ p o d _ s t a t u s _ r e a s o n { r e a s o n = \" N o d e L o s t \" }   = =   0 )   b y   ( n a m e s p a c e ,   p o d )   >   0   f o r :   5 m   l a b e l s :   s e v e r i t y :   p a g e   a n n o t a t i o n s :   s u m m a r y :   P o d   { { $ l a b e l s . n a m e s p a c e } } / { { $ l a b e l s . p o d } }   b l o c k e d   i n   T e r m i n a t i n g   s t a t e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5820"
  },
  {
    "question": "What is 12 - System Logs?",
    "answer": "S y s t e m   c o m p o n e n t   l o g s   r e c o r d   e v e n t s   h a p p e n i n g   i n   c l u s t e r ,   w h i c h   c a n   b e   v e r y   u s e f u l   f o r   d e b u g g i n g .   Y o u   c a n   c o n f i g u r e   l o g   v e r b o s i t y   t o   s e e   m o r e   o r   l e s s   d e t a i l .   L o g s   c a n   b e   a s   c o a r s e - g r a i n e d   a s   s h o w i n g   e r r o r s   w i t h i n   a   c o m p o n e n t ,   o r   a s   f i n e - g r a i n e d   a s   s h o w i n g   s t e p - b y - s t e p   t r a c e s   o f   e v e n t s   ( l i k e   H T T P   a c c e s s   l o g s ,   p o d   s t a t e   c h a n g e s ,   c o n t r o l l e r   a c t i o n s ,   o r   s c h e d u l e r   d e c i s i o n s ) .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_1_5821"
  },
  {
    "question": "What is Klog?",
    "answer": "k l o g   i s   t h e   K u b e r n e t e s   l o g g i n g   l i b r a r y .   k l o g   g e n e r a t e s   l o g   m e s s a g e s   f o r   t h e   K u b e r n e t e s   s y s t e m   c o m p o n e n t s .   K u b e r n e t e s   i s   i n   t h e   p r o c e s s   o f   s i m p l i f y i n g   l o g g i n g   i n   i t s   c o m p o n e n t s .   T h e   f o l l o w i n g   k l o g   c o m m a n d   l i n e   f l a g s   a r e   d e p r e c a t e d   s t a r t i n g   w i t h   K u b e r n e t e s   v 1 . 2 3   a n d   r e m o v e d   i n   K u b e r n e t e s   v 1 . 2 6 :   - - a d d - d i r - h e a d e r - - a l s o l o g t o s t d e r r - - l o g - b a c k t r a c e - a t - - l o g - d i r - - l o g - f i l e - - l o g - f i l e - m a x - s i z e - - l o g t o s t d e r r - - o n e - o u t p u t - - s k i p - h e a d e r s - - s k i p - l o g - h e a d e r s - - s t d e r r t h r e s h o l d   O u t p u t   w i l l   a l w a y s   b e   w r i t t e n   t o   s t d e r r ,   r e g a r d l e s s   o f   t h e   o u t p u t   f o r m a t .   O u t p u t   r e d i r e c t i o n   i s   e x p e c t e d   t o   b e   h a n d l e d   b y   t h e   c o m p o n e n t   w h i c h   i n v o k e s   a   K u b e r n e t e s   c o m p o n e n t .   T h i s   c a n   b e   a   P O S I X   s h e l l   o r   a   t o o l   l i k e   s y s t e m d .   I n   s o m e   c a s e s ,   f o r   e x a m p l e   a   d i s t r o l e s s   c o n t a i n e r   o r   a   W i n d o w s   s y s t e m   s e r v i c e ,   t h o s e   o p t i o n s   a r e   n o t   a v a i l a b l e .   T h e n   t h e   k u b e - l o g - r u n n e r   b i n a r y   c a n   b e   u s e d   a s   w r a p p e r   a r o u n d   a   K u b e r n e t e s   c o m p o n e n t   t o   r e d i r e c t   o u t p u t .   A   p r e b u i l t   b i n a r y   i s   i n c l u d e d   i n   s e v e r a l   K u b e r n e t e s   b a s e   i m a g e s   u n d e r   i t s   t r a d i t i o n a l   n a m e   a s   / g o - r u n ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5822"
  },
  {
    "question": "What is Klog output?",
    "answer": "A n   e x a m p l e   o f   t h e   t r a d i t i o n a l   k l o g   n a t i v e   f o r m a t :   I 1 0 2 5   0 0 : 1 5 : 1 5 . 5 2 5 1 0 8   1   h t t p l o g . g o : 7 9 ]   G E T   / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / p o d s / m e t r i c s - s e r v e r - v 0 . 3 . 1 - 5 7 c 7 5 7 7 9 f - 9 p 8 w g :   ( 1 . 5 1 2 m s )   2 0 0   [ p o d _ n a n n y / v 0 . 0 . 0   ( l i n u x / a m d 6 4 )   k u b e r n e t e s / $ F o r m a t   1 0 . 5 6 . 1 . 1 9 : 5 1 7 5 6 ]   T h e   m e s s a g e   s t r i n g   m a y   c o n t a i n   l i n e   b r e a k s :   I 1 0 2 5   0 0 : 1 5 : 1 5 . 5 2 5 1 0 8   1   e x a m p l e . g o : 7 9 ]   T h i s   i s   a   m e s s a g e   w h i c h   h a s   a   l i n e   b r e a k .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5823"
  },
  {
    "question": "What is Warning:?",
    "answer": "M i g r a t i o n   t o   s t r u c t u r e d   l o g   m e s s a g e s   i s   a n   o n g o i n g   p r o c e s s .   N o t   a l l   l o g   m e s s a g e s   a r e   s t r u c t u r e d   i n   t h i s   v e r s i o n .   W h e n   p a r s i n g   l o g   f i l e s ,   y o u   m u s t   a l s o   h a n d l e   u n s t r u c t u r e d   l o g   m e s s a g e s .   L o g   f o r m a t t i n g   a n d   v a l u e   s e r i a l i z a t i o n   a r e   s u b j e c t   t o   c h a n g e .   S t r u c t u r e d   l o g g i n g   i n t r o d u c e s   a   u n i f o r m   s t r u c t u r e   i n   l o g   m e s s a g e s   a l l o w i n g   f o r   p r o g r a m m a t i c   e x t r a c t i o n   o f   i n f o r m a t i o n .   Y o u   c a n   s t o r e   a n d   p r o c e s s   s t r u c t u r e d   l o g s   w i t h   l e s s   e f f o r t   a n d   c o s t .   T h e   c o d e   w h i c h   g e n e r a t e s   a   l o g   m e s s a g e   d e t e r m i n e s   w h e t h e r   i t   u s e s   t h e   t r a d i t i o n a l   u n s t r u c t u r e d   k l o g   o u t p u t   o r   s t r u c t u r e d   l o g g i n g .   T h e   d e f a u l t   f o r m a t t i n g   o f   s t r u c t u r e d   l o g   m e s s a g e s   i s   a s   t e x t ,   w i t h   a   f o r m a t   t h a t   i s   b a c k w a r d   c o m p a t i b l e   w i t h   t r a d i t i o n a l   k l o g :   < k l o g   h e a d e r >   \" < m e s s a g e > \"   < k e y 1 > = \" < v a l u e 1 > \"   < k e y 2 > = \" < v a l u e 2 > \"   . . .   E x a m p l e :   I 1 0 2 5   0 0 : 1 5 : 1 5 . 5 2 5 1 0 8   1   c o n t r o l l e r _ u t i l s . g o : 1 1 6 ]   \" P o d   s t a t u s   u p d a t e d \"   p o d = \" k u b e - s y s t e m / k u b e d n s \"   s t a t u s = \" r e a d y \"   S t r i n g s   a r e   q u o t e d .   O t h e r   v a l u e s   a r e   f o r m a t t e d   w i t h   % + v ,   w h i c h   m a y   c a u s e   l o g   m e s s a g e s   t o   c o n t i n u e   o n   t h e   n e x t   l i n e   d e p e n d i ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5824"
  },
  {
    "question": "What is Contextual Logging?",
    "answer": "C o n t e x t u a l   l o g g i n g   b u i l d s   o n   t o p   o f   s t r u c t u r e d   l o g g i n g .   I t   i s   p r i m a r i l y   a b o u t   h o w   d e v e l o p e r s   u s e   l o g g i n g   c a l l s :   c o d e   b a s e d   o n   t h a t   c o n c e p t   i s   m o r e   f l e x i b l e   a n d   s u p p o r t s   a d d i t i o n a l   u s e   c a s e s   a s   d e s c r i b e d   i n   t h e   C o n t e x t u a l   L o g g i n g   K E P .   I f   d e v e l o p e r s   u s e   a d d i t i o n a l   f u n c t i o n s   l i k e   W i t h V a l u e s   o r   W i t h N a m e   i n   t h e i r   c o m p o n e n t s ,   t h e n   l o g   e n t r i e s   c o n t a i n   a d d i t i o n a l   i n f o r m a t i o n   t h a t   g e t s   p a s s e d   i n t o   f u n c t i o n s   b y   t h e i r   c a l l e r .   F o r   K u b e r n e t e s   1 . 3 4 ,   t h i s   i s   g a t e d   b e h i n d   t h e   C o n t e x t u a l L o g g i n g   f e a t u r e   g a t e   a n d   i s   e n a b l e d   b y   d e f a u l t .   T h e   i n f r a s t r u c t u r e   f o r   t h i s   w a s   a d d e d   i n   1 . 2 4   w i t h o u t   m o d i f y i n g   c o m p o n e n t s .   T h e   c o m p o n e n t - b a s e / l o g s / e x a m p l e   c o m m a n d   d e m o n s t r a t e s   h o w   t o   u s e   t h e   n e w   l o g g i n g   c a l l s   a n d   h o w   a   c o m p o n e n t   b e h a v e s   t h a t   s u p p o r t s   c o n t e x t u a l   l o g g i n g .   $   c d   $ G O P A T H / s r c / k 8 s . i o / k u b e r n e t e s / s t a g i n g / s r c / k 8 s . i o / c o m p o n e n t - b a s e / l o g s / e x a m p l e / c m d /   $   g o   r u n   .   - - h e l p   . . .   - - f e a t u r e - g a t e s   m a p S t r i n g B o o l   A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   a l p h a / e x p e r i m e n t a l   f e a t u r e s .   O p t i o n s   a r e :   A l l A l p h a = t r u e | f ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5825"
  },
  {
    "question": "What is Warning:?",
    "answer": "J S O N   o u t p u t   d o e s   n o t   s u p p o r t   m a n y   s t a n d a r d   k l o g   f l a g s .   F o r   l i s t   o f   u n s u p p o r t e d   k l o g   f l a g s ,   s e e   t h e   C o m m a n d   l i n e   t o o l   r e f e r e n c e .   N o t   a l l   l o g s   a r e   g u a r a n t e e d   t o   b e   w r i t t e n   i n   J S O N   f o r m a t   ( f o r   e x a m p l e ,   d u r i n g   p r o c e s s   s t a r t ) .   I f   y o u   i n t e n d   t o   p a r s e   l o g s ,   m a k e   s u r e   y o u   c a n   h a n d l e   l o g   l i n e s   t h a t   a r e   n o t   J S O N   a s   w e l l .   F i e l d   n a m e s   a n d   J S O N   s e r i a l i z a t i o n   a r e   s u b j e c t   t o   c h a n g e .   T h e   - - l o g g i n g - f o r m a t = j s o n   f l a g   c h a n g e s   t h e   f o r m a t   o f   l o g s   f r o m   k l o g   n a t i v e   f o r m a t   t o   J S O N   f o r m a t .   E x a m p l e   o f   J S O N   l o g   f o r m a t   ( p r e t t y   p r i n t e d ) :   {   \" t s \" :   1 5 8 0 3 0 6 7 7 7 . 0 4 7 2 8 ,   \" v \" :   4 ,   \" m s g \" :   \" P o d   s t a t u s   u p d a t e d \" ,   \" p o d \" : {   \" n a m e \" :   \" n g i n x - 1 \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \"   } ,   \" s t a t u s \" :   \" r e a d y \"   }   K e y s   w i t h   s p e c i a l   m e a n i n g :   t s   -   t i m e s t a m p   a s   U n i x   t i m e   ( r e q u i r e d ,   f l o a t ) v   -   v e r b o s i t y   ( o n l y   f o r   i n f o   a n d   n o t   f o r   e r r o r   m e s s a g e s ,   i n t ) e r r   -   e r r o r   s t r i n g   ( o p t i o n a l ,   s t r i n g ) m s g   -   m e s s a g e   ( r e q u i r e d ,   s t r i n g )   L i s t   o f   c o m p o n e n t s   c u r r e n t l y   s u p p o r t i n g   J S O N   f o r m a t :   k u b e - c o n t r o l l e r - m a n a g e r k u b e - a p i s e r v e r k u b e - s c h e d u l e r k u b e l e t",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5826"
  },
  {
    "question": "What is Log verbosity level?",
    "answer": "T h e   - v   f l a g   c o n t r o l s   l o g   v e r b o s i t y .   I n c r e a s i n g   t h e   v a l u e   i n c r e a s e s   t h e   n u m b e r   o f   l o g g e d   e v e n t s .   D e c r e a s i n g   t h e   v a l u e   d e c r e a s e s   t h e   n u m b e r   o f   l o g g e d   e v e n t s .   I n c r e a s i n g   v e r b o s i t y   s e t t i n g s   l o g s   i n c r e a s i n g l y   l e s s   s e v e r e   e v e n t s .   A   v e r b o s i t y   s e t t i n g   o f   0   l o g s   o n l y   c r i t i c a l   e v e n t s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5827"
  },
  {
    "question": "What is Log location?",
    "answer": "T h e r e   a r e   t w o   t y p e s   o f   s y s t e m   c o m p o n e n t s :   t h o s e   t h a t   r u n   i n   a   c o n t a i n e r   a n d   t h o s e   t h a t   d o   n o t   r u n   i n   a   c o n t a i n e r .   F o r   e x a m p l e :   T h e   K u b e r n e t e s   s c h e d u l e r   a n d   k u b e - p r o x y   r u n   i n   a   c o n t a i n e r . T h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   d o   n o t   r u n   i n   c o n t a i n e r s .   O n   m a c h i n e s   w i t h   s y s t e m d ,   t h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   w r i t e   t o   j o u r n a l d .   O t h e r w i s e ,   t h e y   w r i t e   t o   . l o g   f i l e s   i n   t h e   / v a r / l o g   d i r e c t o r y .   S y s t e m   c o m p o n e n t s   i n s i d e   c o n t a i n e r s   a l w a y s   w r i t e   t o   . l o g   f i l e s   i n   t h e   / v a r / l o g   d i r e c t o r y ,   b y p a s s i n g   t h e   d e f a u l t   l o g g i n g   m e c h a n i s m .   S i m i l a r   t o   t h e   c o n t a i n e r   l o g s ,   y o u   s h o u l d   r o t a t e   s y s t e m   c o m p o n e n t   l o g s   i n   t h e   / v a r / l o g   d i r e c t o r y .   I n   K u b e r n e t e s   c l u s t e r s   c r e a t e d   b y   t h e   k u b e - u p . s h   s c r i p t ,   l o g   r o t a t i o n   i s   c o n f i g u r e d   b y   t h e   l o g r o t a t e   t o o l .   T h e   l o g r o t a t e   t o o l   r o t a t e s   l o g s   d a i l y ,   o r   o n c e   t h e   l o g   s i z e   i s   g r e a t e r   t h a n   1 0 0 M B .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5828"
  },
  {
    "question": "What is Log query?",
    "answer": "T o   h e l p   w i t h   d e b u g g i n g   i s s u e s   o n   n o d e s ,   K u b e r n e t e s   v 1 . 2 7   i n t r o d u c e d   a   f e a t u r e   t h a t   a l l o w s   v i e w i n g   l o g s   o f   s e r v i c e s   r u n n i n g   o n   t h e   n o d e .   T o   u s e   t h e   f e a t u r e ,   e n s u r e   t h a t   t h e   N o d e L o g Q u e r y   f e a t u r e   g a t e   i s   e n a b l e d   f o r   t h a t   n o d e ,   a n d   t h a t   t h e   k u b e l e t   c o n f i g u r a t i o n   o p t i o n s   e n a b l e S y s t e m L o g H a n d l e r   a n d   e n a b l e S y s t e m L o g Q u e r y   a r e   b o t h   s e t   t o   t r u e .   O n   L i n u x   t h e   a s s u m p t i o n   i s   t h a t   s e r v i c e   l o g s   a r e   a v a i l a b l e   v i a   j o u r n a l d .   O n   W i n d o w s   t h e   a s s u m p t i o n   i s   t h a t   s e r v i c e   l o g s   a r e   a v a i l a b l e   i n   t h e   a p p l i c a t i o n   l o g   p r o v i d e r .   O n   b o t h   o p e r a t i n g   s y s t e m s ,   l o g s   a r e   a l s o   a v a i l a b l e   b y   r e a d i n g   f i l e s   w i t h i n   / v a r / l o g / .   P r o v i d e d   y o u   a r e   a u t h o r i z e d   t o   i n t e r a c t   w i t h   n o d e   o b j e c t s ,   y o u   c a n   t r y   o u t   t h i s   f e a t u r e   o n   a l l   y o u r   n o d e s   o r   j u s t   a   s u b s e t .   H e r e   i s   a n   e x a m p l e   t o   r e t r i e v e   t h e   k u b e l e t   s e r v i c e   l o g s   f r o m   a   n o d e :   #   F e t c h   k u b e l e t   l o g s   f r o m   a   n o d e   n a m e d   n o d e - 1 . e x a m p l e   k u b e c t l   g e t   - - r a w   \" / a p i / v 1 / n o d e s / n o d e - 1 . e x a m p l e / p r o x y / l o g s / ? q u e r y = k u b e l e t \"   Y o u   c a n   a l s o   f e t c h   f i l e s ,   p r o v i d e d   t h a t   t h e   f i l e s   a r e   i n   a   d i r e c t o r y   t h a t   t h e   k u b e l e t   a l ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5829"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   t h e   K u b e r n e t e s   L o g g i n g   A r c h i t e c t u r e R e a d   a b o u t   S t r u c t u r e d   L o g g i n g R e a d   a b o u t   C o n t e x t u a l   L o g g i n g R e a d   a b o u t   d e p r e c a t i o n   o f   k l o g   f l a g s R e a d   a b o u t   t h e   C o n v e n t i o n s   f o r   l o g g i n g   s e v e r i t y R e a d   a b o u t   L o g   Q u e r y",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5830"
  },
  {
    "question": "What is 13 - Traces For Kubernetes System Components?",
    "answer": "S y s t e m   c o m p o n e n t   t r a c e s   r e c o r d   t h e   l a t e n c y   o f   a n d   r e l a t i o n s h i p s   b e t w e e n   o p e r a t i o n s   i n   t h e   c l u s t e r .   K u b e r n e t e s   c o m p o n e n t s   e m i t   t r a c e s   u s i n g   t h e   O p e n T e l e m e t r y   P r o t o c o l   w i t h   t h e   g R P C   e x p o r t e r   a n d   c a n   b e   c o l l e c t e d   a n d   r o u t e d   t o   t r a c i n g   b a c k e n d s   u s i n g   a n   O p e n T e l e m e t r y   C o l l e c t o r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_1_5831"
  },
  {
    "question": "What is Trace Collection?",
    "answer": "K u b e r n e t e s   c o m p o n e n t s   h a v e   b u i l t - i n   g R P C   e x p o r t e r s   f o r   O T L P   t o   e x p o r t   t r a c e s ,   e i t h e r   w i t h   a n   O p e n T e l e m e t r y   C o l l e c t o r ,   o r   w i t h o u t   a n   O p e n T e l e m e t r y   C o l l e c t o r .   F o r   a   c o m p l e t e   g u i d e   t o   c o l l e c t i n g   t r a c e s   a n d   u s i n g   t h e   c o l l e c t o r ,   s e e   G e t t i n g   S t a r t e d   w i t h   t h e   O p e n T e l e m e t r y   C o l l e c t o r .   H o w e v e r ,   t h e r e   a r e   a   f e w   t h i n g s   t o   n o t e   t h a t   a r e   s p e c i f i c   t o   K u b e r n e t e s   c o m p o n e n t s .   B y   d e f a u l t ,   K u b e r n e t e s   c o m p o n e n t s   e x p o r t   t r a c e s   u s i n g   t h e   g r p c   e x p o r t e r   f o r   O T L P   o n   t h e   I A N A   O p e n T e l e m e t r y   p o r t ,   4 3 1 7 .   A s   a n   e x a m p l e ,   i f   t h e   c o l l e c t o r   i s   r u n n i n g   a s   a   s i d e c a r   t o   a   K u b e r n e t e s   c o m p o n e n t ,   t h e   f o l l o w i n g   r e c e i v e r   c o n f i g u r a t i o n   w i l l   c o l l e c t   s p a n s   a n d   l o g   t h e m   t o   s t a n d a r d   o u t p u t :   r e c e i v e r s :   o t l p :   p r o t o c o l s :   g r p c :   e x p o r t e r s :   #   R e p l a c e   t h i s   e x p o r t e r   w i t h   t h e   e x p o r t e r   f o r   y o u r   b a c k e n d   e x p o r t e r s :   d e b u g :   v e r b o s i t y :   d e t a i l e d   s e r v i c e :   p i p e l i n e s :   t r a c e s :   r e c e i v e r s :   [ o t l p ]   e x p o r t e r s :   [ d e b u g ]   T o   d i r e c t l y   e m i t   t r a c e s   t o   a   b a c k e n d   w i t h o u t   u t i l i z i n g   a   c o l l e c t o r ,   s p e c i f y   t h e   e n d p o i n t   f i e l d   i n   t h e   K u b e r n e t e s   t r a c i n g   c o n f i g u r a t i o n   f i l e   ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5832"
  },
  {
    "question": "What is kube-apiserver traces?",
    "answer": "T h e   k u b e - a p i s e r v e r   g e n e r a t e s   s p a n s   f o r   i n c o m i n g   H T T P   r e q u e s t s ,   a n d   f o r   o u t g o i n g   r e q u e s t s   t o   w e b h o o k s ,   e t c d ,   a n d   r e - e n t r a n t   r e q u e s t s .   I t   p r o p a g a t e s   t h e   W 3 C   T r a c e   C o n t e x t   w i t h   o u t g o i n g   r e q u e s t s   b u t   d o e s   n o t   m a k e   u s e   o f   t h e   t r a c e   c o n t e x t   a t t a c h e d   t o   i n c o m i n g   r e q u e s t s ,   a s   t h e   k u b e - a p i s e r v e r   i s   o f t e n   a   p u b l i c   e n d p o i n t .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5833"
  },
  {
    "question": "What is Enabling tracing in the kube-apiserver?",
    "answer": "T o   e n a b l e   t r a c i n g ,   p r o v i d e   t h e   k u b e - a p i s e r v e r   w i t h   a   t r a c i n g   c o n f i g u r a t i o n   f i l e   w i t h   - - t r a c i n g - c o n f i g - f i l e = < p a t h - t o - c o n f i g > .   T h i s   i s   a n   e x a m p l e   c o n f i g   t h a t   r e c o r d s   s p a n s   f o r   1   i n   1 0 0 0 0   r e q u e s t s ,   a n d   u s e s   t h e   d e f a u l t   O p e n T e l e m e t r y   e n d p o i n t :   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   T r a c i n g C o n f i g u r a t i o n   #   d e f a u l t   v a l u e   # e n d p o i n t :   l o c a l h o s t : 4 3 1 7   s a m p l i n g R a t e P e r M i l l i o n :   1 0 0   F o r   m o r e   i n f o r m a t i o n   a b o u t   t h e   T r a c i n g C o n f i g u r a t i o n   s t r u c t ,   s e e   A P I   s e r v e r   c o n f i g   A P I   ( v 1 ) .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5834"
  },
  {
    "question": "What is kubelet traces?",
    "answer": "T h e   k u b e l e t   C R I   i n t e r f a c e   a n d   a u t h e n t i c a t e d   h t t p   s e r v e r s   a r e   i n s t r u m e n t e d   t o   g e n e r a t e   t r a c e   s p a n s .   A s   w i t h   t h e   a p i s e r v e r ,   t h e   e n d p o i n t   a n d   s a m p l i n g   r a t e   a r e   c o n f i g u r a b l e .   T r a c e   c o n t e x t   p r o p a g a t i o n   i s   a l s o   c o n f i g u r e d .   A   p a r e n t   s p a n ' s   s a m p l i n g   d e c i s i o n   i s   a l w a y s   r e s p e c t e d .   A   p r o v i d e d   t r a c i n g   c o n f i g u r a t i o n   s a m p l i n g   r a t e   w i l l   a p p l y   t o   s p a n s   w i t h o u t   a   p a r e n t .   E n a b l e d   w i t h o u t   a   c o n f i g u r e d   e n d p o i n t ,   t h e   d e f a u l t   O p e n T e l e m e t r y   C o l l e c t o r   r e c e i v e r   a d d r e s s   o f   \" l o c a l h o s t : 4 3 1 7 \"   i s   s e t .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5835"
  },
  {
    "question": "What is Enabling tracing in the kubelet?",
    "answer": "T o   e n a b l e   t r a c i n g ,   a p p l y   t h e   t r a c i n g   c o n f i g u r a t i o n .   T h i s   i s   a n   e x a m p l e   s n i p p e t   o f   a   k u b e l e t   c o n f i g   t h a t   r e c o r d s   s p a n s   f o r   1   i n   1 0 0 0 0   r e q u e s t s ,   a n d   u s e s   t h e   d e f a u l t   O p e n T e l e m e t r y   e n d p o i n t :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   t r a c i n g :   #   d e f a u l t   v a l u e   # e n d p o i n t :   l o c a l h o s t : 4 3 1 7   s a m p l i n g R a t e P e r M i l l i o n :   1 0 0   I f   t h e   s a m p l i n g R a t e P e r M i l l i o n   i s   s e t   t o   o n e   m i l l i o n   ( 1 0 0 0 0 0 0 ) ,   t h e n   e v e r y   s p a n   w i l l   b e   s e n t   t o   t h e   e x p o r t e r .   T h e   k u b e l e t   i n   K u b e r n e t e s   v 1 . 3 4   c o l l e c t s   s p a n s   f r o m   t h e   g a r b a g e   c o l l e c t i o n ,   p o d   s y n c h r o n i z a t i o n   r o u t i n e   a s   w e l l   a s   e v e r y   g R P C   m e t h o d .   T h e   k u b e l e t   p r o p a g a t e s   t r a c e   c o n t e x t   w i t h   g R P C   r e q u e s t s   s o   t h a t   c o n t a i n e r   r u n t i m e s   w i t h   t r a c e   i n s t r u m e n t a t i o n ,   s u c h   a s   C R I - O   a n d   c o n t a i n e r d ,   c a n   a s s o c i a t e   t h e i r   e x p o r t e d   s p a n s   w i t h   t h e   t r a c e   c o n t e x t   f r o m   t h e   k u b e l e t .   T h e   r e s u l t i n g   t r a c e s   w i l l   h a v e   p a r e n t - c h i l d   l i n k s   b e t w e e n   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   s p a n s ,   p r o v i d i n g   h e l p f u l   c o n t e x t   w h e n   d e b u g g i n g   n o d e   i s s u e s .   P l e a s e   n o t e   t h a t   e x p o r t i n g   s p a n s   a l w a y s   c o m e s   w i t h   a   s m ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5836"
  },
  {
    "question": "What is Stability?",
    "answer": "T r a c i n g   i n s t r u m e n t a t i o n   i s   s t i l l   u n d e r   a c t i v e   d e v e l o p m e n t ,   a n d   m a y   c h a n g e   i n   a   v a r i e t y   o f   w a y s .   T h i s   i n c l u d e s   s p a n   n a m e s ,   a t t a c h e d   a t t r i b u t e s ,   i n s t r u m e n t e d   e n d p o i n t s ,   e t c .   U n t i l   t h i s   f e a t u r e   g r a d u a t e s   t o   s t a b l e ,   t h e r e   a r e   n o   g u a r a n t e e s   o f   b a c k w a r d s   c o m p a t i b i l i t y   f o r   t r a c i n g   i n s t r u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5837"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   G e t t i n g   S t a r t e d   w i t h   t h e   O p e n T e l e m e t r y   C o l l e c t o r R e a d   a b o u t   O T L P   E x p o r t e r   C o n f i g u r a t i o n",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5838"
  },
  {
    "question": "What is 14 - Proxies in Kubernetes?",
    "answer": "T h i s   p a g e   e x p l a i n s   p r o x i e s   u s e d   w i t h   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_1_5839"
  },
  {
    "question": "What is Proxies?",
    "answer": "T h e r e   a r e   s e v e r a l   d i f f e r e n t   p r o x i e s   y o u   m a y   e n c o u n t e r   w h e n   u s i n g   K u b e r n e t e s :   T h e   k u b e c t l   p r o x y : r u n s   o n   a   u s e r ' s   d e s k t o p   o r   i n   a   p o d p r o x i e s   f r o m   a   l o c a l h o s t   a d d r e s s   t o   t h e   K u b e r n e t e s   a p i s e r v e r c l i e n t   t o   p r o x y   u s e s   H T T P p r o x y   t o   a p i s e r v e r   u s e s   H T T P S l o c a t e s   a p i s e r v e r a d d s   a u t h e n t i c a t i o n   h e a d e r s T h e   a p i s e r v e r   p r o x y : i s   a   b a s t i o n   b u i l t   i n t o   t h e   a p i s e r v e r c o n n e c t s   a   u s e r   o u t s i d e   o f   t h e   c l u s t e r   t o   c l u s t e r   I P s   w h i c h   o t h e r w i s e   m i g h t   n o t   b e   r e a c h a b l e r u n s   i n   t h e   a p i s e r v e r   p r o c e s s e s c l i e n t   t o   p r o x y   u s e s   H T T P S   ( o r   h t t p   i f   a p i s e r v e r   s o   c o n f i g u r e d ) p r o x y   t o   t a r g e t   m a y   u s e   H T T P   o r   H T T P S   a s   c h o s e n   b y   p r o x y   u s i n g   a v a i l a b l e   i n f o r m a t i o n c a n   b e   u s e d   t o   r e a c h   a   N o d e ,   P o d ,   o r   S e r v i c e d o e s   l o a d   b a l a n c i n g   w h e n   u s e d   t o   r e a c h   a   S e r v i c e T h e   k u b e   p r o x y : r u n s   o n   e a c h   n o d e p r o x i e s   U D P ,   T C P   a n d   S C T P d o e s   n o t   u n d e r s t a n d   H T T P p r o v i d e s   l o a d   b a l a n c i n g i s   o n l y   u s e d   t o   r e a c h   s e r v i c e s A   P r o x y / L o a d - b a l a n c e r   i n   f r o n t   o f   a p i s e r v e r ( s ) : e x i s t e n c e   a n d   i m p l e m e n t a t i o n   v a r i e s   f r o m   c l u s t e r   t o   c l u s t e r   ( e . g .   n g i n x ) s i t s   b e t w e e n   a l l   c l i e n t s   a n d   o n e   o r   m o r ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5840"
  },
  {
    "question": "What is Requesting redirects?",
    "answer": "P r o x i e s   h a v e   r e p l a c e d   r e d i r e c t   c a p a b i l i t i e s .   R e d i r e c t s   h a v e   b e e n   d e p r e c a t e d .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5841"
  },
  {
    "question": "What is 15 - API Priority and Fairness?",
    "answer": "C o n t r o l l i n g   t h e   b e h a v i o r   o f   t h e   K u b e r n e t e s   A P I   s e r v e r   i n   a n   o v e r l o a d   s i t u a t i o n   i s   a   k e y   t a s k   f o r   c l u s t e r   a d m i n i s t r a t o r s .   T h e   k u b e - a p i s e r v e r   h a s   s o m e   c o n t r o l s   a v a i l a b l e   ( i . e .   t h e   - - m a x - r e q u e s t s - i n f l i g h t   a n d   - - m a x - m u t a t i n g - r e q u e s t s - i n f l i g h t   c o m m a n d - l i n e   f l a g s )   t o   l i m i t   t h e   a m o u n t   o f   o u t s t a n d i n g   w o r k   t h a t   w i l l   b e   a c c e p t e d ,   p r e v e n t i n g   a   f l o o d   o f   i n b o u n d   r e q u e s t s   f r o m   o v e r l o a d i n g   a n d   p o t e n t i a l l y   c r a s h i n g   t h e   A P I   s e r v e r ,   b u t   t h e s e   f l a g s   a r e   n o t   e n o u g h   t o   e n s u r e   t h a t   t h e   m o s t   i m p o r t a n t   r e q u e s t s   g e t   t h r o u g h   i n   a   p e r i o d   o f   h i g h   t r a f f i c .   T h e   A P I   P r i o r i t y   a n d   F a i r n e s s   f e a t u r e   ( A P F )   i s   a n   a l t e r n a t i v e   t h a t   i m p r o v e s   u p o n   a f o r e m e n t i o n e d   m a x - i n f l i g h t   l i m i t a t i o n s .   A P F   c l a s s i f i e s   a n d   i s o l a t e s   r e q u e s t s   i n   a   m o r e   f i n e - g r a i n e d   w a y .   I t   a l s o   i n t r o d u c e s   a   l i m i t e d   a m o u n t   o f   q u e u i n g ,   s o   t h a t   n o   r e q u e s t s   a r e   r e j e c t e d   i n   c a s e s   o f   v e r y   b r i e f   b u r s t s .   R e q u e s t s   a r e   d i s p a t c h e d   f r o m   q u e u e s   u s i n g   a   f a i r   q u e u i n g   t e c h n i q u e   s o   t h a t ,   f o r   e x a m p l e ,   a   p o o r l y - b e h a v e d   c o n t r o l l e r   n e e d   n o t   s t a r v e   o t h e r s   ( e v e n   a t   t h e   s a m e   p r i o r i t y   ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_1_5842"
  },
  {
    "question": "What is Enabling/Disabling API Priority and Fairness?",
    "answer": "T h e   A P I   P r i o r i t y   a n d   F a i r n e s s   f e a t u r e   i s   c o n t r o l l e d   b y   a   c o m m a n d - l i n e   f l a g   a n d   i s   e n a b l e d   b y   d e f a u l t .   S e e   O p t i o n s   f o r   a   g e n e r a l   e x p l a n a t i o n   o f   t h e   a v a i l a b l e   k u b e - a p i s e r v e r   c o m m a n d - l i n e   o p t i o n s   a n d   h o w   t o   e n a b l e   a n d   d i s a b l e   t h e m .   T h e   n a m e   o f   t h e   c o m m a n d - l i n e   o p t i o n   f o r   A P F   i s   \" - - e n a b l e - p r i o r i t y - a n d - f a i r n e s s \" .   T h i s   f e a t u r e   a l s o   i n v o l v e s   a n   A P I   G r o u p   w i t h :   ( a )   a   s t a b l e   v 1   v e r s i o n ,   i n t r o d u c e d   i n   1 . 2 9 ,   a n d   e n a b l e d   b y   d e f a u l t   ( b )   a   v 1 b e t a 3   v e r s i o n ,   e n a b l e d   b y   d e f a u l t ,   a n d   d e p r e c a t e d   i n   v 1 . 2 9 .   Y o u   c a n   d i s a b l e   t h e   A P I   g r o u p   b e t a   v e r s i o n   v 1 b e t a 3   b y   a d d i n g   t h e   f o l l o w i n g   c o m m a n d - l i n e   f l a g s   t o   y o u r   k u b e - a p i s e r v e r   i n v o c a t i o n :   k u b e - a p i s e r v e r   \\   - - r u n t i m e - c o n f i g = f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 b e t a 3 = f a l s e   \\   #   … a n d   o t h e r   f l a g s   a s   u s u a l   T h e   c o m m a n d - l i n e   f l a g   - - e n a b l e - p r i o r i t y - a n d - f a i r n e s s = f a l s e   w i l l   d i s a b l e   t h e   A P I   P r i o r i t y   a n d   F a i r n e s s   f e a t u r e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5843"
  },
  {
    "question": "What is Recursive server scenarios?",
    "answer": "A P I   P r i o r i t y   a n d   F a i r n e s s   m u s t   b e   u s e d   c a r e f u l l y   i n   r e c u r s i v e   s e r v e r   s c e n a r i o s .   T h e s e   a r e   s c e n a r i o s   i n   w h i c h   s o m e   s e r v e r   A ,   w h i l e   s e r v i n g   a   r e q u e s t ,   i s s u e s   a   s u b s i d i a r y   r e q u e s t   t o   s o m e   s e r v e r   B .   P e r h a p s   s e r v e r   B   m i g h t   e v e n   m a k e   a   f u r t h e r   s u b s i d i a r y   c a l l   b a c k   t o   s e r v e r   A .   I n   s i t u a t i o n s   w h e r e   P r i o r i t y   a n d   F a i r n e s s   c o n t r o l   i s   a p p l i e d   t o   b o t h   t h e   o r i g i n a l   r e q u e s t   a n d   s o m e   s u b s i d i a r y   o n e s ( s ) ,   n o   m a t t e r   h o w   d e e p   i n   t h e   r e c u r s i o n ,   t h e r e   i s   a   d a n g e r   o f   p r i o r i t y   i n v e r s i o n s   a n d / o r   d e a d l o c k s .   O n e   e x a m p l e   o f   r e c u r s i o n   i s   w h e n   t h e   k u b e - a p i s e r v e r   i s s u e s   a n   a d m i s s i o n   w e b h o o k   c a l l   t o   s e r v e r   B ,   a n d   w h i l e   s e r v i n g   t h a t   c a l l ,   s e r v e r   B   m a k e s   a   f u r t h e r   s u b s i d i a r y   r e q u e s t   b a c k   t o   t h e   k u b e - a p i s e r v e r .   A n o t h e r   e x a m p l e   o f   r e c u r s i o n   i s   w h e n   a n   A P I S e r v i c e   o b j e c t   d i r e c t s   t h e   k u b e - a p i s e r v e r   t o   d e l e g a t e   r e q u e s t s   a b o u t   a   c e r t a i n   A P I   g r o u p   t o   a   c u s t o m   e x t e r n a l   s e r v e r   B   ( t h i s   i s   o n e   o f   t h e   t h i n g s   c a l l e d   \" a g g r e g a t i o n \" ) .   W h e n   t h e   o r i g i n a l   r e q u e s t   i s   k n o w n   t o   b e l o n g   t o   a   c e r t a i n   p r i o r i t y   l e v e l ,   a n d   t h e   s u b s i d i a r y   c o n t r o l l e ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5844"
  },
  {
    "question": "What is Concepts?",
    "answer": "T h e r e   a r e   s e v e r a l   d i s t i n c t   f e a t u r e s   i n v o l v e d   i n   t h e   A P I   P r i o r i t y   a n d   F a i r n e s s   f e a t u r e .   I n c o m i n g   r e q u e s t s   a r e   c l a s s i f i e d   b y   a t t r i b u t e s   o f   t h e   r e q u e s t   u s i n g   F l o w S c h e m a s ,   a n d   a s s i g n e d   t o   p r i o r i t y   l e v e l s .   P r i o r i t y   l e v e l s   a d d   a   d e g r e e   o f   i s o l a t i o n   b y   m a i n t a i n i n g   s e p a r a t e   c o n c u r r e n c y   l i m i t s ,   s o   t h a t   r e q u e s t s   a s s i g n e d   t o   d i f f e r e n t   p r i o r i t y   l e v e l s   c a n n o t   s t a r v e   e a c h   o t h e r .   W i t h i n   a   p r i o r i t y   l e v e l ,   a   f a i r - q u e u i n g   a l g o r i t h m   p r e v e n t s   r e q u e s t s   f r o m   d i f f e r e n t   f l o w s   f r o m   s t a r v i n g   e a c h   o t h e r ,   a n d   a l l o w s   f o r   r e q u e s t s   t o   b e   q u e u e d   t o   p r e v e n t   b u r s t y   t r a f f i c   f r o m   c a u s i n g   f a i l e d   r e q u e s t s   w h e n   t h e   a v e r a g e   l o a d   i s   a c c e p t a b l y   l o w .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5845"
  },
  {
    "question": "What is Priority Levels?",
    "answer": "W i t h o u t   A P F   e n a b l e d ,   o v e r a l l   c o n c u r r e n c y   i n   t h e   A P I   s e r v e r   i s   l i m i t e d   b y   t h e   k u b e - a p i s e r v e r   f l a g s   - - m a x - r e q u e s t s - i n f l i g h t   a n d   - - m a x - m u t a t i n g - r e q u e s t s - i n f l i g h t .   W i t h   A P F   e n a b l e d ,   t h e   c o n c u r r e n c y   l i m i t s   d e f i n e d   b y   t h e s e   f l a g s   a r e   s u m m e d   a n d   t h e n   t h e   s u m   i s   d i v i d e d   u p   a m o n g   a   c o n f i g u r a b l e   s e t   o f   p r i o r i t y   l e v e l s .   E a c h   i n c o m i n g   r e q u e s t   i s   a s s i g n e d   t o   a   s i n g l e   p r i o r i t y   l e v e l ,   a n d   e a c h   p r i o r i t y   l e v e l   w i l l   o n l y   d i s p a t c h   a s   m a n y   c o n c u r r e n t   r e q u e s t s   a s   i t s   p a r t i c u l a r   l i m i t   a l l o w s .   T h e   d e f a u l t   c o n f i g u r a t i o n ,   f o r   e x a m p l e ,   i n c l u d e s   s e p a r a t e   p r i o r i t y   l e v e l s   f o r   l e a d e r - e l e c t i o n   r e q u e s t s ,   r e q u e s t s   f r o m   b u i l t - i n   c o n t r o l l e r s ,   a n d   r e q u e s t s   f r o m   P o d s .   T h i s   m e a n s   t h a t   a n   i l l - b e h a v e d   P o d   t h a t   f l o o d s   t h e   A P I   s e r v e r   w i t h   r e q u e s t s   c a n n o t   p r e v e n t   l e a d e r   e l e c t i o n   o r   a c t i o n s   b y   t h e   b u i l t - i n   c o n t r o l l e r s   f r o m   s u c c e e d i n g .   T h e   c o n c u r r e n c y   l i m i t s   o f   t h e   p r i o r i t y   l e v e l s   a r e   p e r i o d i c a l l y   a d j u s t e d ,   a l l o w i n g   u n d e r - u t i l i z e d   p r i o r i t y   l e v e l s   t o   t e m p o r a r i l y   l e n d   c o n c u r r e n c y   t o   h e a v i l y - u t i l i z e d   l e v e l s .   T h e s e   l i m i t s   a r e   b a s e d   o ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5846"
  },
  {
    "question": "What is Seats Occupied by a Request?",
    "answer": "T h e   a b o v e   d e s c r i p t i o n   o f   c o n c u r r e n c y   m a n a g e m e n t   i s   t h e   b a s e l i n e   s t o r y .   R e q u e s t s   h a v e   d i f f e r e n t   d u r a t i o n s   b u t   a r e   c o u n t e d   e q u a l l y   a t   a n y   g i v e n   m o m e n t   w h e n   c o m p a r i n g   a g a i n s t   a   p r i o r i t y   l e v e l ' s   c o n c u r r e n c y   l i m i t .   I n   t h e   b a s e l i n e   s t o r y ,   e a c h   r e q u e s t   o c c u p i e s   o n e   u n i t   o f   c o n c u r r e n c y .   T h e   w o r d   \" s e a t \"   i s   u s e d   t o   m e a n   o n e   u n i t   o f   c o n c u r r e n c y ,   i n s p i r e d   b y   t h e   w a y   e a c h   p a s s e n g e r   o n   a   t r a i n   o r   a i r c r a f t   t a k e s   u p   o n e   o f   t h e   f i x e d   s u p p l y   o f   s e a t s .   B u t   s o m e   r e q u e s t s   t a k e   u p   m o r e   t h a n   o n e   s e a t .   S o m e   o f   t h e s e   a r e   l i s t   r e q u e s t s   t h a t   t h e   s e r v e r   e s t i m a t e s   w i l l   r e t u r n   a   l a r g e   n u m b e r   o f   o b j e c t s .   T h e s e   h a v e   b e e n   f o u n d   t o   p u t   a n   e x c e p t i o n a l l y   h e a v y   b u r d e n   o n   t h e   s e r v e r .   F o r   t h i s   r e a s o n ,   t h e   s e r v e r   e s t i m a t e s   t h e   n u m b e r   o f   o b j e c t s   t h a t   w i l l   b e   r e t u r n e d   a n d   c o n s i d e r s   t h e   r e q u e s t   t o   t a k e   a   n u m b e r   o f   s e a t s   t h a t   i s   p r o p o r t i o n a l   t o   t h a t   e s t i m a t e d   n u m b e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5847"
  },
  {
    "question": "What is Execution time tweaks for watch requests?",
    "answer": "A P I   P r i o r i t y   a n d   F a i r n e s s   m a n a g e s   w a t c h   r e q u e s t s ,   b u t   t h i s   i n v o l v e s   a   c o u p l e   m o r e   e x c u r s i o n s   f r o m   t h e   b a s e l i n e   b e h a v i o r .   T h e   f i r s t   c o n c e r n s   h o w   l o n g   a   w a t c h   r e q u e s t   i s   c o n s i d e r e d   t o   o c c u p y   i t s   s e a t .   D e p e n d i n g   o n   r e q u e s t   p a r a m e t e r s ,   t h e   r e s p o n s e   t o   a   w a t c h   r e q u e s t   m a y   o r   m a y   n o t   b e g i n   w i t h   c r e a t e   n o t i f i c a t i o n s   f o r   a l l   t h e   r e l e v a n t   p r e - e x i s t i n g   o b j e c t s .   A P I   P r i o r i t y   a n d   F a i r n e s s   c o n s i d e r s   a   w a t c h   r e q u e s t   t o   b e   d o n e   w i t h   i t s   s e a t   o n c e   t h a t   i n i t i a l   b u r s t   o f   n o t i f i c a t i o n s ,   i f   a n y ,   i s   o v e r .   T h e   n o r m a l   n o t i f i c a t i o n s   a r e   s e n t   i n   a   c o n c u r r e n t   b u r s t   t o   a l l   r e l e v a n t   w a t c h   r e s p o n s e   s t r e a m s   w h e n e v e r   t h e   s e r v e r   i s   n o t i f i e d   o f   a n   o b j e c t   c r e a t e / u p d a t e / d e l e t e .   T o   a c c o u n t   f o r   t h i s   w o r k ,   A P I   P r i o r i t y   a n d   F a i r n e s s   c o n s i d e r s   e v e r y   w r i t e   r e q u e s t   t o   s p e n d   s o m e   a d d i t i o n a l   t i m e   o c c u p y i n g   s e a t s   a f t e r   t h e   a c t u a l   w r i t i n g   i s   d o n e .   T h e   s e r v e r   e s t i m a t e s   t h e   n u m b e r   o f   n o t i f i c a t i o n s   t o   b e   s e n t   a n d   a d j u s t s   t h e   w r i t e   r e q u e s t ' s   n u m b e r   o f   s e a t s   a n d   s e a t   o c c u p a n c y   t i m e   t o   i n c l u d e   t h i s   e x t r a   w o r k .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5848"
  },
  {
    "question": "What is Queuing?",
    "answer": "E v e n   w i t h i n   a   p r i o r i t y   l e v e l   t h e r e   m a y   b e   a   l a r g e   n u m b e r   o f   d i s t i n c t   s o u r c e s   o f   t r a f f i c .   I n   a n   o v e r l o a d   s i t u a t i o n ,   i t   i s   v a l u a b l e   t o   p r e v e n t   o n e   s t r e a m   o f   r e q u e s t s   f r o m   s t a r v i n g   o t h e r s   ( i n   p a r t i c u l a r ,   i n   t h e   r e l a t i v e l y   c o m m o n   c a s e   o f   a   s i n g l e   b u g g y   c l i e n t   f l o o d i n g   t h e   k u b e - a p i s e r v e r   w i t h   r e q u e s t s ,   t h a t   b u g g y   c l i e n t   w o u l d   i d e a l l y   n o t   h a v e   m u c h   m e a s u r a b l e   i m p a c t   o n   o t h e r   c l i e n t s   a t   a l l ) .   T h i s   i s   h a n d l e d   b y   u s e   o f   a   f a i r - q u e u i n g   a l g o r i t h m   t o   p r o c e s s   r e q u e s t s   t h a t   a r e   a s s i g n e d   t h e   s a m e   p r i o r i t y   l e v e l .   E a c h   r e q u e s t   i s   a s s i g n e d   t o   a   f l o w ,   i d e n t i f i e d   b y   t h e   n a m e   o f   t h e   m a t c h i n g   F l o w S c h e m a   p l u s   a   f l o w   d i s t i n g u i s h e r   —   w h i c h   i s   e i t h e r   t h e   r e q u e s t i n g   u s e r ,   t h e   t a r g e t   r e s o u r c e ' s   n a m e s p a c e ,   o r   n o t h i n g   —   a n d   t h e   s y s t e m   a t t e m p t s   t o   g i v e   a p p r o x i m a t e l y   e q u a l   w e i g h t   t o   r e q u e s t s   i n   d i f f e r e n t   f l o w s   o f   t h e   s a m e   p r i o r i t y   l e v e l .   T o   e n a b l e   d i s t i n c t   h a n d l i n g   o f   d i s t i n c t   i n s t a n c e s ,   c o n t r o l l e r s   t h a t   h a v e   m a n y   i n s t a n c e s   s h o u l d   a u t h e n t i c a t e   w i t h   d i s t i n c t   u s e r n a m e s   A f t e r   c l a s s i f y i n g   a   r e q u e s t   i n t o   a   f l o w ,   t h e   A P I   P ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5849"
  },
  {
    "question": "What is Exempt requests?",
    "answer": "S o m e   r e q u e s t s   a r e   c o n s i d e r e d   s u f f i c i e n t l y   i m p o r t a n t   t h a t   t h e y   a r e   n o t   s u b j e c t   t o   a n y   o f   t h e   l i m i t a t i o n s   i m p o s e d   b y   t h i s   f e a t u r e .   T h e s e   e x e m p t i o n s   p r e v e n t   a n   i m p r o p e r l y - c o n f i g u r e d   f l o w   c o n t r o l   c o n f i g u r a t i o n   f r o m   t o t a l l y   d i s a b l i n g   a n   A P I   s e r v e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5850"
  },
  {
    "question": "What is Resources?",
    "answer": "T h e   f l o w   c o n t r o l   A P I   i n v o l v e s   t w o   k i n d s   o f   r e s o u r c e s .   P r i o r i t y L e v e l C o n f i g u r a t i o n s   d e f i n e   t h e   a v a i l a b l e   p r i o r i t y   l e v e l s ,   t h e   s h a r e   o f   t h e   a v a i l a b l e   c o n c u r r e n c y   b u d g e t   t h a t   e a c h   c a n   h a n d l e ,   a n d   a l l o w   f o r   f i n e - t u n i n g   q u e u i n g   b e h a v i o r .   F l o w S c h e m a s   a r e   u s e d   t o   c l a s s i f y   i n d i v i d u a l   i n b o u n d   r e q u e s t s ,   m a t c h i n g   e a c h   t o   a   s i n g l e   P r i o r i t y L e v e l C o n f i g u r a t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5851"
  },
  {
    "question": "What is PriorityLevelConfiguration?",
    "answer": "A   P r i o r i t y L e v e l C o n f i g u r a t i o n   r e p r e s e n t s   a   s i n g l e   p r i o r i t y   l e v e l .   E a c h   P r i o r i t y L e v e l C o n f i g u r a t i o n   h a s   a n   i n d e p e n d e n t   l i m i t   o n   t h e   n u m b e r   o f   o u t s t a n d i n g   r e q u e s t s ,   a n d   l i m i t a t i o n s   o n   t h e   n u m b e r   o f   q u e u e d   r e q u e s t s .   T h e   n o m i n a l   c o n c u r r e n c y   l i m i t   f o r   a   P r i o r i t y L e v e l C o n f i g u r a t i o n   i s   n o t   s p e c i f i e d   i n   a n   a b s o l u t e   n u m b e r   o f   s e a t s ,   b u t   r a t h e r   i n   \" n o m i n a l   c o n c u r r e n c y   s h a r e s . \"   T h e   t o t a l   c o n c u r r e n c y   l i m i t   f o r   t h e   A P I   S e r v e r   i s   d i s t r i b u t e d   a m o n g   t h e   e x i s t i n g   P r i o r i t y L e v e l C o n f i g u r a t i o n s   i n   p r o p o r t i o n   t o   t h e s e   s h a r e s ,   t o   g i v e   e a c h   l e v e l   i t s   n o m i n a l   l i m i t   i n   t e r m s   o f   s e a t s .   T h i s   a l l o w s   a   c l u s t e r   a d m i n i s t r a t o r   t o   s c a l e   u p   o r   d o w n   t h e   t o t a l   a m o u n t   o f   t r a f f i c   t o   a   s e r v e r   b y   r e s t a r t i n g   k u b e - a p i s e r v e r   w i t h   a   d i f f e r e n t   v a l u e   f o r   - - m a x - r e q u e s t s - i n f l i g h t   ( o r   - - m a x - m u t a t i n g - r e q u e s t s - i n f l i g h t ) ,   a n d   a l l   P r i o r i t y L e v e l C o n f i g u r a t i o n s   w i l l   s e e   t h e i r   m a x i m u m   a l l o w e d   c o n c u r r e n c y   g o   u p   ( o r   d o w n )   b y   t h e   s a m e   f r a c t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5852"
  },
  {
    "question": "What is Caution:?",
    "answer": "T h e   b o u n d s   o n   h o w   m u c h   c o n c u r r e n c y   a   p r i o r i t y   l e v e l   m a y   l e n d   a n d   h o w   m u c h   i t   m a y   b o r r o w   a r e   e x p r e s s e d   i n   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   a s   p e r c e n t a g e s   o f   t h e   l e v e l ' s   n o m i n a l   l i m i t .   T h e s e   a r e   r e s o l v e d   t o   a b s o l u t e   n u m b e r s   o f   s e a t s   b y   m u l t i p l y i n g   w i t h   t h e   n o m i n a l   l i m i t   /   1 0 0 . 0   a n d   r o u n d i n g .   T h e   d y n a m i c a l l y   a d j u s t e d   c o n c u r r e n c y   l i m i t   o f   a   p r i o r i t y   l e v e l   i s   c o n s t r a i n e d   t o   l i e   b e t w e e n   ( a )   a   l o w e r   b o u n d   o f   i t s   n o m i n a l   l i m i t   m i n u s   i t s   l e n d a b l e   s e a t s   a n d   ( b )   a n   u p p e r   b o u n d   o f   i t s   n o m i n a l   l i m i t   p l u s   t h e   s e a t s   i t   m a y   b o r r o w .   A t   e a c h   a d j u s t m e n t   t h e   d y n a m i c   l i m i t s   a r e   d e r i v e d   b y   e a c h   p r i o r i t y   l e v e l   r e c l a i m i n g   a n y   l e n t   s e a t s   f o r   w h i c h   d e m a n d   r e c e n t l y   a p p e a r e d   a n d   t h e n   j o i n t l y   f a i r l y   r e s p o n d i n g   t o   t h e   r e c e n t   s e a t   d e m a n d   o n   t h e   p r i o r i t y   l e v e l s ,   w i t h i n   t h e   b o u n d s   j u s t   d e s c r i b e d .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5853"
  },
  {
    "question": "What is Caution:?",
    "answer": "W h e n   t h e   v o l u m e   o f   i n b o u n d   r e q u e s t s   a s s i g n e d   t o   a   s i n g l e   P r i o r i t y L e v e l C o n f i g u r a t i o n   i s   m o r e   t h a n   i t s   p e r m i t t e d   c o n c u r r e n c y   l e v e l ,   t h e   t y p e   f i e l d   o f   i t s   s p e c i f i c a t i o n   d e t e r m i n e s   w h a t   w i l l   h a p p e n   t o   e x t r a   r e q u e s t s .   A   t y p e   o f   R e j e c t   m e a n s   t h a t   e x c e s s   t r a f f i c   w i l l   i m m e d i a t e l y   b e   r e j e c t e d   w i t h   a n   H T T P   4 2 9   ( T o o   M a n y   R e q u e s t s )   e r r o r .   A   t y p e   o f   Q u e u e   m e a n s   t h a t   r e q u e s t s   a b o v e   t h e   t h r e s h o l d   w i l l   b e   q u e u e d ,   w i t h   t h e   s h u f f l e   s h a r d i n g   a n d   f a i r   q u e u i n g   t e c h n i q u e s   u s e d   t o   b a l a n c e   p r o g r e s s   b e t w e e n   r e q u e s t   f l o w s .   T h e   q u e u i n g   c o n f i g u r a t i o n   a l l o w s   t u n i n g   t h e   f a i r   q u e u i n g   a l g o r i t h m   f o r   a   p r i o r i t y   l e v e l .   D e t a i l s   o f   t h e   a l g o r i t h m   c a n   b e   r e a d   i n   t h e   e n h a n c e m e n t   p r o p o s a l ,   b u t   i n   s h o r t :   I n c r e a s i n g   q u e u e s   r e d u c e s   t h e   r a t e   o f   c o l l i s i o n s   b e t w e e n   d i f f e r e n t   f l o w s ,   a t   t h e   c o s t   o f   i n c r e a s e d   m e m o r y   u s a g e .   A   v a l u e   o f   1   h e r e   e f f e c t i v e l y   d i s a b l e s   t h e   f a i r - q u e u i n g   l o g i c ,   b u t   s t i l l   a l l o w s   r e q u e s t s   t o   b e   q u e u e d . I n c r e a s i n g   q u e u e L e n g t h L i m i t   a l l o w s   l a r g e r   b u r s t s   o f   t r a f f i c   t o   b e   s u s t a i n e d   w i t h o u t   d r o p p i n g   a n y   r e q u e s t s ,   a t   t h e ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5854"
  },
  {
    "question": "What is Note:?",
    "answer": "F o l l o w i n g   i s   a   t a b l e   s h o w i n g   a n   i n t e r e s t i n g   c o l l e c t i o n   o f   s h u f f l e   s h a r d i n g   c o n f i g u r a t i o n s ,   s h o w i n g   f o r   e a c h   t h e   p r o b a b i l i t y   t h a t   a   g i v e n   m o u s e   ( l o w - i n t e n s i t y   f l o w )   i s   s q u i s h e d   b y   t h e   e l e p h a n t s   ( h i g h - i n t e n s i t y   f l o w s )   f o r   a n   i l l u s t r a t i v e   c o l l e c t i o n   o f   n u m b e r s   o f   e l e p h a n t s .   S e e   h t t p s : / / p l a y . g o l a n g . o r g / p / G i 0 P L g V H i U g   ,   w h i c h   c o m p u t e s   t h i s   t a b l e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5855"
  },
  {
    "question": "What is FlowSchema?",
    "answer": "A   F l o w S c h e m a   m a t c h e s   s o m e   i n b o u n d   r e q u e s t s   a n d   a s s i g n s   t h e m   t o   a   p r i o r i t y   l e v e l .   E v e r y   i n b o u n d   r e q u e s t   i s   t e s t e d   a g a i n s t   F l o w S c h e m a s ,   s t a r t i n g   w i t h   t h o s e   w i t h   t h e   n u m e r i c a l l y   l o w e s t   m a t c h i n g P r e c e d e n c e   a n d   w o r k i n g   u p w a r d .   T h e   f i r s t   m a t c h   w i n s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5856"
  },
  {
    "question": "What is Caution:?",
    "answer": "A   F l o w S c h e m a   m a t c h e s   a   g i v e n   r e q u e s t   i f   a t   l e a s t   o n e   o f   i t s   r u l e s   m a t c h e s .   A   r u l e   m a t c h e s   i f   a t   l e a s t   o n e   o f   i t s   s u b j e c t s   a n d   a t   l e a s t   o n e   o f   i t s   r e s o u r c e R u l e s   o r   n o n R e s o u r c e R u l e s   ( d e p e n d i n g   o n   w h e t h e r   t h e   i n c o m i n g   r e q u e s t   i s   f o r   a   r e s o u r c e   o r   n o n - r e s o u r c e   U R L )   m a t c h   t h e   r e q u e s t .   F o r   t h e   n a m e   f i e l d   i n   s u b j e c t s ,   a n d   t h e   v e r b s ,   a p i G r o u p s ,   r e s o u r c e s ,   n a m e s p a c e s ,   a n d   n o n R e s o u r c e U R L s   f i e l d s   o f   r e s o u r c e   a n d   n o n - r e s o u r c e   r u l e s ,   t h e   w i l d c a r d   *   m a y   b e   s p e c i f i e d   t o   m a t c h   a l l   v a l u e s   f o r   t h e   g i v e n   f i e l d ,   e f f e c t i v e l y   r e m o v i n g   i t   f r o m   c o n s i d e r a t i o n .   A   F l o w S c h e m a ' s   d i s t i n g u i s h e r M e t h o d . t y p e   d e t e r m i n e s   h o w   r e q u e s t s   m a t c h i n g   t h a t   s c h e m a   w i l l   b e   s e p a r a t e d   i n t o   f l o w s .   I t   m a y   b e   B y U s e r ,   i n   w h i c h   o n e   r e q u e s t i n g   u s e r   w i l l   n o t   b e   a b l e   t o   s t a r v e   o t h e r   u s e r s   o f   c a p a c i t y ;   B y N a m e s p a c e ,   i n   w h i c h   r e q u e s t s   f o r   r e s o u r c e s   i n   o n e   n a m e s p a c e   w i l l   n o t   b e   a b l e   t o   s t a r v e   r e q u e s t s   f o r   r e s o u r c e s   i n   o t h e r   n a m e s p a c e s   o f   c a p a c i t y ;   o r   b l a n k   ( o r   d i s t i n g u i s h e r M e t h o d   m a y   b e   o m i t t e d   e n t i r e l y ) ,   i n   w h i c h   a l l   r e q u e s t s   m a t c h e d   b y   t h i s   F l ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5857"
  },
  {
    "question": "What is Defaults?",
    "answer": "E a c h   k u b e - a p i s e r v e r   m a i n t a i n s   t w o   s o r t s   o f   A P F   c o n f i g u r a t i o n   o b j e c t s :   m a n d a t o r y   a n d   s u g g e s t e d .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5858"
  },
  {
    "question": "What is Mandatory Configuration Objects?",
    "answer": "T h e   f o u r   m a n d a t o r y   c o n f i g u r a t i o n   o b j e c t s   r e f l e c t   f i x e d   b u i l t - i n   g u a r d r a i l   b e h a v i o r .   T h i s   i s   b e h a v i o r   t h a t   t h e   s e r v e r s   h a v e   b e f o r e   t h o s e   o b j e c t s   e x i s t ,   a n d   w h e n   t h o s e   o b j e c t s   e x i s t   t h e i r   s p e c s   r e f l e c t   t h i s   b e h a v i o r .   T h e   f o u r   m a n d a t o r y   o b j e c t s   a r e   a s   f o l l o w s .   T h e   m a n d a t o r y   e x e m p t   p r i o r i t y   l e v e l   i s   u s e d   f o r   r e q u e s t s   t h a t   a r e   n o t   s u b j e c t   t o   f l o w   c o n t r o l   a t   a l l :   t h e y   w i l l   a l w a y s   b e   d i s p a t c h e d   i m m e d i a t e l y .   T h e   m a n d a t o r y   e x e m p t   F l o w S c h e m a   c l a s s i f i e s   a l l   r e q u e s t s   f r o m   t h e   s y s t e m : m a s t e r s   g r o u p   i n t o   t h i s   p r i o r i t y   l e v e l .   Y o u   m a y   d e f i n e   o t h e r   F l o w S c h e m a s   t h a t   d i r e c t   o t h e r   r e q u e s t s   t o   t h i s   p r i o r i t y   l e v e l ,   i f   a p p r o p r i a t e . T h e   m a n d a t o r y   c a t c h - a l l   p r i o r i t y   l e v e l   i s   u s e d   i n   c o m b i n a t i o n   w i t h   t h e   m a n d a t o r y   c a t c h - a l l   F l o w S c h e m a   t o   m a k e   s u r e   t h a t   e v e r y   r e q u e s t   g e t s   s o m e   k i n d   o f   c l a s s i f i c a t i o n .   T y p i c a l l y   y o u   s h o u l d   n o t   r e l y   o n   t h i s   c a t c h - a l l   c o n f i g u r a t i o n ,   a n d   s h o u l d   c r e a t e   y o u r   o w n   c a t c h - a l l   F l o w S c h e m a   a n d   P r i o r i t y L e v e l C o n f i g u r a t i o n   ( o r   u s e   t h e   s u g g e s t e d   g l o b a l - d e f a u l t   p r i o r i t y   l e v e l   t h a t   i s   i n s t a l l e d   b y   d e ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5859"
  },
  {
    "question": "What is Suggested Configuration Objects?",
    "answer": "T h e   s u g g e s t e d   F l o w S c h e m a s   a n d   P r i o r i t y L e v e l C o n f i g u r a t i o n s   c o n s t i t u t e   a   r e a s o n a b l e   d e f a u l t   c o n f i g u r a t i o n .   Y o u   c a n   m o d i f y   t h e s e   a n d / o r   c r e a t e   a d d i t i o n a l   c o n f i g u r a t i o n   o b j e c t s   i f   y o u   w a n t .   I f   y o u r   c l u s t e r   i s   l i k e l y   t o   e x p e r i e n c e   h e a v y   l o a d   t h e n   y o u   s h o u l d   c o n s i d e r   w h a t   c o n f i g u r a t i o n   w i l l   w o r k   b e s t .   T h e   s u g g e s t e d   c o n f i g u r a t i o n   g r o u p s   r e q u e s t s   i n t o   s i x   p r i o r i t y   l e v e l s :   T h e   n o d e - h i g h   p r i o r i t y   l e v e l   i s   f o r   h e a l t h   u p d a t e s   f r o m   n o d e s . T h e   s y s t e m   p r i o r i t y   l e v e l   i s   f o r   n o n - h e a l t h   r e q u e s t s   f r o m   t h e   s y s t e m : n o d e s   g r o u p ,   i . e .   K u b e l e t s ,   w h i c h   m u s t   b e   a b l e   t o   c o n t a c t   t h e   A P I   s e r v e r   i n   o r d e r   f o r   w o r k l o a d s   t o   b e   a b l e   t o   s c h e d u l e   o n   t h e m . T h e   l e a d e r - e l e c t i o n   p r i o r i t y   l e v e l   i s   f o r   l e a d e r   e l e c t i o n   r e q u e s t s   f r o m   b u i l t - i n   c o n t r o l l e r s   ( i n   p a r t i c u l a r ,   r e q u e s t s   f o r   e n d p o i n t s ,   c o n f i g m a p s ,   o r   l e a s e s   c o m i n g   f r o m   t h e   s y s t e m : k u b e - c o n t r o l l e r - m a n a g e r   o r   s y s t e m : k u b e - s c h e d u l e r   u s e r s   a n d   s e r v i c e   a c c o u n t s   i n   t h e   k u b e - s y s t e m   n a m e s p a c e ) .   T h e s e   a r e   i m p o r t a n t   t o   i s o l a t e   f r o m   o t h e r   t r a f f i c   b e c a u s e   f a i l u r e s   i n   l e a d e r   e l e c t i o n   c a u s ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5860"
  },
  {
    "question": "What is Maintenance of the Mandatory and Suggested Configuration Objects?",
    "answer": "E a c h   k u b e - a p i s e r v e r   i n d e p e n d e n t l y   m a i n t a i n s   t h e   m a n d a t o r y   a n d   s u g g e s t e d   c o n f i g u r a t i o n   o b j e c t s ,   u s i n g   i n i t i a l   a n d   p e r i o d i c   b e h a v i o r .   T h u s ,   i n   a   s i t u a t i o n   w i t h   a   m i x t u r e   o f   s e r v e r s   o f   d i f f e r e n t   v e r s i o n s   t h e r e   m a y   b e   t h r a s h i n g   a s   l o n g   a s   d i f f e r e n t   s e r v e r s   h a v e   d i f f e r e n t   o p i n i o n s   o f   t h e   p r o p e r   c o n t e n t   o f   t h e s e   o b j e c t s .   E a c h   k u b e - a p i s e r v e r   m a k e s   a n   i n i t i a l   m a i n t e n a n c e   p a s s   o v e r   t h e   m a n d a t o r y   a n d   s u g g e s t e d   c o n f i g u r a t i o n   o b j e c t s ,   a n d   a f t e r   t h a t   d o e s   p e r i o d i c   m a i n t e n a n c e   ( o n c e   p e r   m i n u t e )   o f   t h o s e   o b j e c t s .   F o r   t h e   m a n d a t o r y   c o n f i g u r a t i o n   o b j e c t s ,   m a i n t e n a n c e   c o n s i s t s   o f   e n s u r i n g   t h a t   t h e   o b j e c t   e x i s t s   a n d ,   i f   i t   d o e s ,   h a s   t h e   p r o p e r   s p e c .   T h e   s e r v e r   r e f u s e s   t o   a l l o w   a   c r e a t i o n   o r   u p d a t e   w i t h   a   s p e c   t h a t   i s   i n c o n s i s t e n t   w i t h   t h e   s e r v e r ' s   g u a r d r a i l   b e h a v i o r .   M a i n t e n a n c e   o f   s u g g e s t e d   c o n f i g u r a t i o n   o b j e c t s   i s   d e s i g n e d   t o   a l l o w   t h e i r   s p e c s   t o   b e   o v e r r i d d e n .   D e l e t i o n ,   o n   t h e   o t h e r   h a n d ,   i s   n o t   r e s p e c t e d :   m a i n t e n a n c e   w i l l   r e s t o r e   t h e   o b j e c t .   I f   y o u   d o   n o t   w a n t   a   s u g g e s t e d   c o n f i g u r a t i o n   o b j e c t   t h e n   y o ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5861"
  },
  {
    "question": "What is Health check concurrency exemption?",
    "answer": "T h e   s u g g e s t e d   c o n f i g u r a t i o n   g i v e s   n o   s p e c i a l   t r e a t m e n t   t o   t h e   h e a l t h   c h e c k   r e q u e s t s   o n   k u b e - a p i s e r v e r s   f r o m   t h e i r   l o c a l   k u b e l e t s   - - -   w h i c h   t e n d   t o   u s e   t h e   s e c u r e d   p o r t   b u t   s u p p l y   n o   c r e d e n t i a l s .   W i t h   t h e   s u g g e s t e d   c o n f i g ,   t h e s e   r e q u e s t s   g e t   a s s i g n e d   t o   t h e   g l o b a l - d e f a u l t   F l o w S c h e m a   a n d   t h e   c o r r e s p o n d i n g   g l o b a l - d e f a u l t   p r i o r i t y   l e v e l ,   w h e r e   o t h e r   t r a f f i c   c a n   c r o w d   t h e m   o u t .   I f   y o u   a d d   t h e   f o l l o w i n g   a d d i t i o n a l   F l o w S c h e m a ,   t h i s   e x e m p t s   t h o s e   r e q u e s t s   f r o m   r a t e   l i m i t i n g .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5862"
  },
  {
    "question": "What is Caution:?",
    "answer": "a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   k i n d :   F l o w S c h e m a   m e t a d a t a :   n a m e :   h e a l t h - f o r - s t r a n g e r s   s p e c :   m a t c h i n g P r e c e d e n c e :   1 0 0 0   p r i o r i t y L e v e l C o n f i g u r a t i o n :   n a m e :   e x e m p t   r u l e s :   -   n o n R e s o u r c e R u l e s :   -   n o n R e s o u r c e U R L s :   -   \" / h e a l t h z \"   -   \" / l i v e z \"   -   \" / r e a d y z \"   v e r b s :   -   \" * \"   s u b j e c t s :   -   k i n d :   G r o u p   g r o u p :   n a m e :   \" s y s t e m : u n a u t h e n t i c a t e d \"",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5863"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   y o u   e n a b l e   t h e   A P I   P r i o r i t y   a n d   F a i r n e s s   f e a t u r e ,   t h e   k u b e - a p i s e r v e r   e x p o r t s   a d d i t i o n a l   m e t r i c s .   M o n i t o r i n g   t h e s e   c a n   h e l p   y o u   d e t e r m i n e   w h e t h e r   y o u r   c o n f i g u r a t i o n   i s   i n a p p r o p r i a t e l y   t h r o t t l i n g   i m p o r t a n t   t r a f f i c ,   o r   f i n d   p o o r l y - b e h a v e d   w o r k l o a d s   t h a t   m a y   b e   h a r m i n g   s y s t e m   h e a l t h .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5864"
  },
  {
    "question": "What is Maturity level BETA?",
    "answer": "a p i s e r v e r _ f l o w c o n t r o l _ r e j e c t e d _ r e q u e s t s _ t o t a l   i s   a   c o u n t e r   v e c t o r   ( c u m u l a t i v e   s i n c e   s e r v e r   s t a r t )   o f   r e q u e s t s   t h a t   w e r e   r e j e c t e d ,   b r o k e n   d o w n   b y   t h e   l a b e l s   f l o w _ s c h e m a   ( i n d i c a t i n g   t h e   o n e   t h a t   m a t c h e d   t h e   r e q u e s t ) ,   p r i o r i t y _ l e v e l   ( i n d i c a t i n g   t h e   o n e   t o   w h i c h   t h e   r e q u e s t   w a s   a s s i g n e d ) ,   a n d   r e a s o n .   T h e   r e a s o n   l a b e l   w i l l   b e   o n e   o f   t h e   f o l l o w i n g   v a l u e s : q u e u e - f u l l ,   i n d i c a t i n g   t h a t   t o o   m a n y   r e q u e s t s   w e r e   a l r e a d y   q u e u e d . c o n c u r r e n c y - l i m i t ,   i n d i c a t i n g   t h a t   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   i s   c o n f i g u r e d   t o   r e j e c t   r a t h e r   t h a n   q u e u e   e x c e s s   r e q u e s t s . t i m e - o u t ,   i n d i c a t i n g   t h a t   t h e   r e q u e s t   w a s   s t i l l   i n   t h e   q u e u e   w h e n   i t s   q u e u i n g   t i m e   l i m i t   e x p i r e d . c a n c e l l e d ,   i n d i c a t i n g   t h a t   t h e   r e q u e s t   i s   n o t   p u r g e   l o c k e d   a n d   h a s   b e e n   e j e c t e d   f r o m   t h e   q u e u e . a p i s e r v e r _ f l o w c o n t r o l _ d i s p a t c h e d _ r e q u e s t s _ t o t a l   i s   a   c o u n t e r   v e c t o r   ( c u m u l a t i v e   s i n c e   s e r v e r   s t a r t )   o f   r e q u e s t s   t h a t   b e g a n   e x e c u t i n g ,   b r o k e n   d o w n   b y   f l o w _ s c h e m a   a n d   p r i o r i t y _ l e v e l . a p i s e r v e r _ f l o w c o n t r o l _ c u r r e n t _ i n q u e u e _ r e q u e s t s   i s   a   g a u g e   v e c t o r   h o l d i n g   t h e   i n s t a n t a n e ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5865"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i s e r v e r _ f l o w c o n t r o l _ n o m i n a l _ l i m i t _ s e a t s   i s   a   g a u g e   v e c t o r   h o l d i n g   e a c h   p r i o r i t y   l e v e l ' s   n o m i n a l   c o n c u r r e n c y   l i m i t ,   c o m p u t e d   f r o m   t h e   A P I   s e r v e r ' s   t o t a l   c o n c u r r e n c y   l i m i t   a n d   t h e   p r i o r i t y   l e v e l ' s   c o n f i g u r e d   n o m i n a l   c o n c u r r e n c y   s h a r e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5866"
  },
  {
    "question": "What is Maturity level ALPHA?",
    "answer": "a p i s e r v e r _ c u r r e n t _ i n q u e u e _ r e q u e s t s   i s   a   g a u g e   v e c t o r   o f   r e c e n t   h i g h   w a t e r   m a r k s   o f   t h e   n u m b e r   o f   q u e u e d   r e q u e s t s ,   g r o u p e d   b y   a   l a b e l   n a m e d   r e q u e s t _ k i n d   w h o s e   v a l u e   i s   m u t a t i n g   o r   r e a d O n l y .   T h e s e   h i g h   w a t e r   m a r k s   d e s c r i b e   t h e   l a r g e s t   n u m b e r   s e e n   i n   t h e   o n e   s e c o n d   w i n d o w   m o s t   r e c e n t l y   c o m p l e t e d .   T h e s e   c o m p l e m e n t   t h e   o l d e r   a p i s e r v e r _ c u r r e n t _ i n f l i g h t _ r e q u e s t s   g a u g e   v e c t o r   t h a t   h o l d s   t h e   l a s t   w i n d o w ' s   h i g h   w a t e r   m a r k   o f   n u m b e r   o f   r e q u e s t s   a c t i v e l y   b e i n g   s e r v e d . a p i s e r v e r _ c u r r e n t _ i n q u e u e _ s e a t s   i s   a   g a u g e   v e c t o r   o f   t h e   s u m   o v e r   q u e u e d   r e q u e s t s   o f   t h e   l a r g e s t   n u m b e r   o f   s e a t s   e a c h   w i l l   o c c u p y ,   g r o u p e d   b y   l a b e l s   n a m e d   f l o w _ s c h e m a   a n d   p r i o r i t y _ l e v e l . a p i s e r v e r _ f l o w c o n t r o l _ r e a d _ v s _ w r i t e _ c u r r e n t _ r e q u e s t s   i s   a   h i s t o g r a m   v e c t o r   o f   o b s e r v a t i o n s ,   m a d e   a t   t h e   e n d   o f   e v e r y   n a n o s e c o n d ,   o f   t h e   n u m b e r   o f   r e q u e s t s   b r o k e n   d o w n   b y   t h e   l a b e l s   p h a s e   ( w h i c h   t a k e s   o n   t h e   v a l u e s   w a i t i n g   a n d   e x e c u t i n g )   a n d   r e q u e s t _ k i n d   ( w h i c h   t a k e s   o n   t h e   v a l u e s   m u t a t i n g   a n d   r e a d O n l y ) .   E a c h   o b s e r v e d   v a l u e   i s   a   r a t i o ,   b e t w e e n   0   a n d   1 ,   ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5867"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i s e r v e r _ f l o w c o n t r o l _ r e q u e s t _ c o n c u r r e n c y _ l i m i t   i s   t h e   s a m e   a s   a p i s e r v e r _ f l o w c o n t r o l _ n o m i n a l _ l i m i t _ s e a t s .   B e f o r e   t h e   i n t r o d u c t i o n   o f   c o n c u r r e n c y   b o r r o w i n g   b e t w e e n   p r i o r i t y   l e v e l s ,   t h i s   w a s   a l w a y s   e q u a l   t o   a p i s e r v e r _ f l o w c o n t r o l _ c u r r e n t _ l i m i t _ s e a t s   ( w h i c h   d i d   n o t   e x i s t   a s   a   d i s t i n c t   m e t r i c ) .   a p i s e r v e r _ f l o w c o n t r o l _ l o w e r _ l i m i t _ s e a t s   i s   a   g a u g e   v e c t o r   h o l d i n g   t h e   l o w e r   b o u n d   o n   e a c h   p r i o r i t y   l e v e l ' s   d y n a m i c   c o n c u r r e n c y   l i m i t .   a p i s e r v e r _ f l o w c o n t r o l _ u p p e r _ l i m i t _ s e a t s   i s   a   g a u g e   v e c t o r   h o l d i n g   t h e   u p p e r   b o u n d   o n   e a c h   p r i o r i t y   l e v e l ' s   d y n a m i c   c o n c u r r e n c y   l i m i t .   a p i s e r v e r _ f l o w c o n t r o l _ d e m a n d _ s e a t s   i s   a   h i s t o g r a m   v e c t o r   c o u n t i n g   o b s e r v a t i o n s ,   a t   t h e   e n d   o f   e v e r y   n a n o s e c o n d ,   o f   e a c h   p r i o r i t y   l e v e l ' s   r a t i o   o f   ( s e a t   d e m a n d )   /   ( n o m i n a l   c o n c u r r e n c y   l i m i t ) .   A   p r i o r i t y   l e v e l ' s   s e a t   d e m a n d   i s   t h e   s u m ,   o v e r   b o t h   q u e u e d   r e q u e s t s   a n d   t h o s e   i n   t h e   i n i t i a l   p h a s e   o f   e x e c u t i o n ,   o f   t h e   m a x i m u m   o f   t h e   n u m b e r   o f   s e a t s   o c c u p i e d   i n   t h e   r e q u e s t ' s   i n i t i a l   a n d   f i n a l   e x e c u t i o n   p h a s e s .   a p i s e r v e r _ f l o w c o n t r o l _ d e m a n d _ s e a t s _ h ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5868"
  },
  {
    "question": "What is Good practices for using API Priority and Fairness?",
    "answer": "W h e n   a   g i v e n   p r i o r i t y   l e v e l   e x c e e d s   i t s   p e r m i t t e d   c o n c u r r e n c y ,   r e q u e s t s   c a n   e x p e r i e n c e   i n c r e a s e d   l a t e n c y   o r   b e   d r o p p e d   w i t h   a n   H T T P   4 2 9   ( T o o   M a n y   R e q u e s t s )   e r r o r .   T o   p r e v e n t   t h e s e   s i d e   e f f e c t s   o f   A P F ,   y o u   c a n   m o d i f y   y o u r   w o r k l o a d   o r   t w e a k   y o u r   A P F   s e t t i n g s   t o   e n s u r e   t h e r e   a r e   s u f f i c i e n t   s e a t s   a v a i l a b l e   t o   s e r v e   y o u r   r e q u e s t s .   T o   d e t e c t   w h e t h e r   r e q u e s t s   a r e   b e i n g   r e j e c t e d   d u e   t o   A P F ,   c h e c k   t h e   f o l l o w i n g   m e t r i c s :   a p i s e r v e r _ f l o w c o n t r o l _ r e j e c t e d _ r e q u e s t s _ t o t a l :   t h e   t o t a l   n u m b e r   o f   r e q u e s t s   r e j e c t e d   p e r   F l o w S c h e m a   a n d   P r i o r i t y L e v e l C o n f i g u r a t i o n . a p i s e r v e r _ f l o w c o n t r o l _ c u r r e n t _ i n q u e u e _ r e q u e s t s :   t h e   c u r r e n t   n u m b e r   o f   r e q u e s t s   q u e u e d   p e r   F l o w S c h e m a   a n d   P r i o r i t y L e v e l C o n f i g u r a t i o n . a p i s e r v e r _ f l o w c o n t r o l _ r e q u e s t _ w a i t _ d u r a t i o n _ s e c o n d s :   t h e   l a t e n c y   a d d e d   t o   r e q u e s t s   w a i t i n g   i n   q u e u e s . a p i s e r v e r _ f l o w c o n t r o l _ p r i o r i t y _ l e v e l _ s e a t _ u t i l i z a t i o n :   t h e   s e a t   u t i l i z a t i o n   p e r   P r i o r i t y L e v e l C o n f i g u r a t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5869"
  },
  {
    "question": "What is Workload modifications?",
    "answer": "T o   p r e v e n t   r e q u e s t s   f r o m   q u e u i n g   a n d   a d d i n g   l a t e n c y   o r   b e i n g   d r o p p e d   d u e   t o   A P F ,   y o u   c a n   o p t i m i z e   y o u r   r e q u e s t s   b y :   R e d u c i n g   t h e   r a t e   a t   w h i c h   r e q u e s t s   a r e   e x e c u t e d .   A   f e w e r   n u m b e r   o f   r e q u e s t s   o v e r   a   f i x e d   p e r i o d   w i l l   r e s u l t   i n   a   f e w e r   n u m b e r   o f   s e a t s   b e i n g   n e e d e d   a t   a   g i v e n   t i m e . A v o i d   i s s u i n g   a   l a r g e   n u m b e r   o f   e x p e n s i v e   r e q u e s t s   c o n c u r r e n t l y .   R e q u e s t s   c a n   b e   o p t i m i z e d   t o   u s e   f e w e r   s e a t s   o r   h a v e   l o w e r   l a t e n c y   s o   t h a t   t h e s e   r e q u e s t s   h o l d   t h o s e   s e a t s   f o r   a   s h o r t e r   d u r a t i o n .   L i s t   r e q u e s t s   c a n   o c c u p y   m o r e   t h a n   1   s e a t   d e p e n d i n g   o n   t h e   n u m b e r   o f   o b j e c t s   f e t c h e d   d u r i n g   t h e   r e q u e s t .   R e s t r i c t i n g   t h e   n u m b e r   o f   o b j e c t s   r e t r i e v e d   i n   a   l i s t   r e q u e s t ,   f o r   e x a m p l e   b y   u s i n g   p a g i n a t i o n ,   w i l l   u s e   l e s s   t o t a l   s e a t s   o v e r   a   s h o r t e r   p e r i o d .   F u r t h e r m o r e ,   r e p l a c i n g   l i s t   r e q u e s t s   w i t h   w a t c h   r e q u e s t s   w i l l   r e q u i r e   l o w e r   t o t a l   c o n c u r r e n c y   s h a r e s   a s   w a t c h   r e q u e s t s   o n l y   o c c u p y   1   s e a t   d u r i n g   i t s   i n i t i a l   b u r s t   o f   n o t i f i c a t i o n s .   I f   u s i n g   s t r e a m i n g   l i s t s   i n   v e r s i o n s   1 . 2 7   a n d   l a t e r ,   w a t c h   r e q u e s t s   w i l l   o c c u p y   t h e   s a m e   n u m ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5870"
  },
  {
    "question": "What is Priority and fairness settings?",
    "answer": "Y o u   c a n   a l s o   m o d i f y   t h e   d e f a u l t   F l o w S c h e m a   a n d   P r i o r i t y L e v e l C o n f i g u r a t i o n   o b j e c t s   o r   c r e a t e   n e w   o b j e c t s   o f   t h e s e   t y p e s   t o   b e t t e r   a c c o m m o d a t e   y o u r   w o r k l o a d .   A P F   s e t t i n g s   c a n   b e   m o d i f i e d   t o :   G i v e   m o r e   s e a t s   t o   h i g h   p r i o r i t y   r e q u e s t s . I s o l a t e   n o n - e s s e n t i a l   o r   e x p e n s i v e   r e q u e s t s   t h a t   w o u l d   s t a r v e   a   c o n c u r r e n c y   l e v e l   i f   i t   w a s   s h a r e d   w i t h   o t h e r   f l o w s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_3_5871"
  },
  {
    "question": "What is Give more seats to high priority requests?",
    "answer": "I f   p o s s i b l e ,   t h e   n u m b e r   o f   s e a t s   a v a i l a b l e   a c r o s s   a l l   p r i o r i t y   l e v e l s   f o r   a   p a r t i c u l a r   k u b e - a p i s e r v e r   c a n   b e   i n c r e a s e d   b y   i n c r e a s i n g   t h e   v a l u e s   f o r   t h e   m a x - r e q u e s t s - i n f l i g h t   a n d   m a x - m u t a t i n g - r e q u e s t s - i n f l i g h t   f l a g s .   A l t e r n a t i v e l y ,   h o r i z o n t a l l y   s c a l i n g   t h e   n u m b e r   o f   k u b e - a p i s e r v e r   i n s t a n c e s   w i l l   i n c r e a s e   t h e   t o t a l   c o n c u r r e n c y   p e r   p r i o r i t y   l e v e l   a c r o s s   t h e   c l u s t e r   a s s u m i n g   t h e r e   i s   s u f f i c i e n t   l o a d   b a l a n c i n g   o f   r e q u e s t s . Y o u   c a n   c r e a t e   a   n e w   F l o w S c h e m a   w h i c h   r e f e r e n c e s   a   P r i o r i t y L e v e l C o n f i g u r a t i o n   w i t h   a   l a r g e r   c o n c u r r e n c y   l e v e l .   T h i s   n e w   P r i o r i t y L e v e l C o n f i g u r a t i o n   c o u l d   b e   a n   e x i s t i n g   l e v e l   o r   a   n e w   l e v e l   w i t h   i t s   o w n   s e t   o f   n o m i n a l   c o n c u r r e n c y   s h a r e s .   F o r   e x a m p l e ,   a   n e w   F l o w S c h e m a   c o u l d   b e   i n t r o d u c e d   t o   c h a n g e   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   f o r   y o u r   r e q u e s t s   f r o m   g l o b a l - d e f a u l t   t o   w o r k l o a d - l o w   t o   i n c r e a s e   t h e   n u m b e r   o f   s e a t s   a v a i l a b l e   t o   y o u r   u s e r .   C r e a t i n g   a   n e w   P r i o r i t y L e v e l C o n f i g u r a t i o n   w i l l   r e d u c e   t h e   n u m b e r   o f   s e a t s   d e s i g n a t e d   f o r   e x i s t i n g   l e v e l s .   R e c a l l   t h a t   e d i t i n g   a   d e f a u l t   F l o w S ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5872"
  },
  {
    "question": "What is Isolate non-essential requests from starving other flows?",
    "answer": "F o r   r e q u e s t   i s o l a t i o n ,   y o u   c a n   c r e a t e   a   F l o w S c h e m a   w h o s e   s u b j e c t   m a t c h e s   t h e   u s e r   m a k i n g   t h e s e   r e q u e s t s   o r   c r e a t e   a   F l o w S c h e m a   t h a t   m a t c h e s   w h a t   t h e   r e q u e s t   i s   ( c o r r e s p o n d i n g   t o   t h e   r e s o u r c e R u l e s ) .   N e x t ,   y o u   c a n   m a p   t h i s   F l o w S c h e m a   t o   a   P r i o r i t y L e v e l C o n f i g u r a t i o n   w i t h   a   l o w   s h a r e   o f   s e a t s .   F o r   e x a m p l e ,   s u p p o s e   l i s t   e v e n t   r e q u e s t s   f r o m   P o d s   r u n n i n g   i n   t h e   d e f a u l t   n a m e s p a c e   a r e   u s i n g   1 0   s e a t s   e a c h   a n d   e x e c u t e   f o r   1   m i n u t e .   T o   p r e v e n t   t h e s e   e x p e n s i v e   r e q u e s t s   f r o m   i m p a c t i n g   r e q u e s t s   f r o m   o t h e r   P o d s   u s i n g   t h e   e x i s t i n g   s e r v i c e - a c c o u n t s   F l o w S c h e m a ,   y o u   c a n   a p p l y   t h e   f o l l o w i n g   F l o w S c h e m a   t o   i s o l a t e   t h e s e   l i s t   c a l l s   f r o m   o t h e r   r e q u e s t s .   E x a m p l e   F l o w S c h e m a   o b j e c t   t o   i s o l a t e   l i s t   e v e n t   r e q u e s t s :   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   k i n d :   F l o w S c h e m a   m e t a d a t a :   n a m e :   l i s t - e v e n t s - d e f a u l t - s e r v i c e - a c c o u n t   s p e c :   d i s t i n g u i s h e r M e t h o d :   t y p e :   B y U s e r   m a t c h i n g P r e c e d e n c e :   8 0 0 0   p r i o r i t y L e v e l C o n f i g u r a t i o n :   n a m e :   c a t c h - a l l   r u l e s :   -   r e s o u r c e R u l e s :   -   a p i G r o u p s :   -   ' * '   n a m e s p a c e s :   -   d e f a u l t   r e s o u r c e s :   -   e v e n t ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_4_5873"
  },
  {
    "question": "What is What's next?",
    "answer": "Y o u   c a n   v i s i t   f l o w   c o n t r o l   r e f e r e n c e   d o c   t o   l e a r n   m o r e   a b o u t   t r o u b l e s h o o t i n g . F o r   b a c k g r o u n d   i n f o r m a t i o n   o n   d e s i g n   d e t a i l s   f o r   A P I   p r i o r i t y   a n d   f a i r n e s s ,   s e e   t h e   e n h a n c e m e n t   p r o p o s a l . Y o u   c a n   m a k e   s u g g e s t i o n s   a n d   f e a t u r e   r e q u e s t s   v i a   S I G   A P I   M a c h i n e r y   o r   t h e   f e a t u r e ' s   s l a c k   c h a n n e l .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5874"
  },
  {
    "question": "What is 16 - Installing Addons?",
    "answer": "A d d - o n s   e x t e n d   t h e   f u n c t i o n a l i t y   o f   K u b e r n e t e s .   T h i s   p a g e   l i s t s   s o m e   o f   t h e   a v a i l a b l e   a d d - o n s   a n d   l i n k s   t o   t h e i r   r e s p e c t i v e   i n s t a l l a t i o n   i n s t r u c t i o n s .   T h e   l i s t   d o e s   n o t   t r y   t o   b e   e x h a u s t i v e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_1_5875"
  },
  {
    "question": "What is Networking and Network Policy?",
    "answer": "A C I   p r o v i d e s   i n t e g r a t e d   c o n t a i n e r   n e t w o r k i n g   a n d   n e t w o r k   s e c u r i t y   w i t h   C i s c o   A C I . A n t r e a   o p e r a t e s   a t   L a y e r   3 / 4   t o   p r o v i d e   n e t w o r k i n g   a n d   s e c u r i t y   s e r v i c e s   f o r   K u b e r n e t e s ,   l e v e r a g i n g   O p e n   v S w i t c h   a s   t h e   n e t w o r k i n g   d a t a   p l a n e .   A n t r e a   i s   a   C N C F   p r o j e c t   a t   t h e   S a n d b o x   l e v e l . C a l i c o   i s   a   n e t w o r k i n g   a n d   n e t w o r k   p o l i c y   p r o v i d e r .   C a l i c o   s u p p o r t s   a   f l e x i b l e   s e t   o f   n e t w o r k i n g   o p t i o n s   s o   y o u   c a n   c h o o s e   t h e   m o s t   e f f i c i e n t   o p t i o n   f o r   y o u r   s i t u a t i o n ,   i n c l u d i n g   n o n - o v e r l a y   a n d   o v e r l a y   n e t w o r k s ,   w i t h   o r   w i t h o u t   B G P .   C a l i c o   u s e s   t h e   s a m e   e n g i n e   t o   e n f o r c e   n e t w o r k   p o l i c y   f o r   h o s t s ,   p o d s ,   a n d   ( i f   u s i n g   I s t i o   &   E n v o y )   a p p l i c a t i o n s   a t   t h e   s e r v i c e   m e s h   l a y e r . C a n a l   u n i t e s   F l a n n e l   a n d   C a l i c o ,   p r o v i d i n g   n e t w o r k i n g   a n d   n e t w o r k   p o l i c y . C i l i u m   i s   a   n e t w o r k i n g ,   o b s e r v a b i l i t y ,   a n d   s e c u r i t y   s o l u t i o n   w i t h   a n   e B P F - b a s e d   d a t a   p l a n e .   C i l i u m   p r o v i d e s   a   s i m p l e   f l a t   L a y e r   3   n e t w o r k   w i t h   t h e   a b i l i t y   t o   s p a n   m u l t i p l e   c l u s t e r s   i n   e i t h e r   a   n a t i v e   r o u t i n g   o r   o v e r l a y / e n c a p s u l a t i o n   m o d e ,   a n d   c a n   e n f o r c e   n e t w o r k   p o l i c i e s   o n   L 3 - L 7   u s i ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5876"
  },
  {
    "question": "What is Service Discovery?",
    "answer": "C o r e D N S   i s   a   f l e x i b l e ,   e x t e n s i b l e   D N S   s e r v e r   w h i c h   c a n   b e   i n s t a l l e d   a s   t h e   i n - c l u s t e r   D N S   f o r   p o d s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5877"
  },
  {
    "question": "What is Visualization & Control?",
    "answer": "D a s h b o a r d   i s   a   d a s h b o a r d   w e b   i n t e r f a c e   f o r   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5878"
  },
  {
    "question": "What is Infrastructure?",
    "answer": "K u b e V i r t   i s   a n   a d d - o n   t o   r u n   v i r t u a l   m a c h i n e s   o n   K u b e r n e t e s .   U s u a l l y   r u n   o n   b a r e - m e t a l   c l u s t e r s . T h e   n o d e   p r o b l e m   d e t e c t o r   r u n s   o n   L i n u x   n o d e s   a n d   r e p o r t s   s y s t e m   i s s u e s   a s   e i t h e r   E v e n t s   o r   N o d e   c o n d i t i o n s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5879"
  },
  {
    "question": "What is Instrumentation?",
    "answer": "k u b e - s t a t e - m e t r i c s",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5880"
  },
  {
    "question": "What is Legacy Add-ons?",
    "answer": "T h e r e   a r e   s e v e r a l   o t h e r   a d d - o n s   d o c u m e n t e d   i n   t h e   d e p r e c a t e d   c l u s t e r / a d d o n s   d i r e c t o r y .   W e l l - m a i n t a i n e d   o n e s   s h o u l d   b e   l i n k e d   t o   h e r e .   P R s   w e l c o m e !",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5881"
  },
  {
    "question": "What is 17 - Coordinated Leader Election?",
    "answer": "K u b e r n e t e s   1 . 3 4   i n c l u d e s   a   b e t a   f e a t u r e   t h a t   a l l o w s   c o n t r o l   p l a n e   c o m p o n e n t s   t o   d e t e r m i n i s t i c a l l y   s e l e c t   a   l e a d e r   v i a   c o o r d i n a t e d   l e a d e r   e l e c t i o n .   T h i s   i s   u s e f u l   t o   s a t i s f y   K u b e r n e t e s   v e r s i o n   s k e w   c o n s t r a i n t s   d u r i n g   c l u s t e r   u p g r a d e s .   C u r r e n t l y ,   t h e   o n l y   b u i l t i n   s e l e c t i o n   s t r a t e g y   i s   O l d e s t E m u l a t i o n V e r s i o n ,   p r e f e r r i n g   t h e   l e a d e r   w i t h   t h e   l o w e s t   e m u l a t i o n   v e r s i o n ,   f o l l o w e d   b y   b i n a r y   v e r s i o n ,   f o l l o w e d   b y   c r e a t i o n   t i m e s t a m p .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_1_5882"
  },
  {
    "question": "What is Enabling coordinated leader election?",
    "answer": "E n s u r e   t h a t   C o o r d i n a t e d L e a d e r E l e c t i o n   f e a t u r e   g a t e   i s   e n a b l e d   w h e n   y o u   s t a r t   t h e   A P I   S e r v e r :   a n d   t h a t   t h e   c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1   A P I   g r o u p   i s   e n a b l e d .   T h i s   c a n   b e   d o n e   b y   s e t t i n g   f l a g s   - - f e a t u r e - g a t e s = \" C o o r d i n a t e d L e a d e r E l e c t i o n = t r u e \"   a n d   - - r u n t i m e - c o n f i g = \" c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 = t r u e \" .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5883"
  },
  {
    "question": "What is Component configuration?",
    "answer": "P r o v i d e d   t h a t   y o u   h a v e   e n a b l e d   t h e   C o o r d i n a t e d L e a d e r E l e c t i o n   f e a t u r e   g a t e   a n d h a v e   t h e   c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1   A P I   g r o u p   e n a b l e d ,   c o m p a t i b l e   c o n t r o l   p l a n e c o m p o n e n t s   a u t o m a t i c a l l y   u s e   t h e   L e a s e C a n d i d a t e   a n d   L e a s e   A P I s   t o   e l e c t   a   l e a d e r a s   n e e d e d .   F o r   K u b e r n e t e s   1 . 3 4 ,   t w o   c o n t r o l   p l a n e   c o m p o n e n t s ( k u b e - c o n t r o l l e r - m a n a g e r   a n d   k u b e - s c h e d u l e r )   a u t o m a t i c a l l y   u s e   c o o r d i n a t e d l e a d e r   e l e c t i o n   w h e n   t h e   f e a t u r e   g a t e   a n d   A P I   g r o u p   a r e   e n a b l e d .   ©   2 0 2 5   T h e   K u b e r n e t e s   A u t h o r s   |   D o c u m e n t a t i o n   D i s t r i b u t e d   u n d e r   C C   B Y   4 . 0   ©   2 0 2 5   T h e   L i n u x   F o u n d a t i o n   ® .   A l l   r i g h t s   r e s e r v e d .   T h e   L i n u x   F o u n d a t i o n   h a s   r e g i s t e r e d   t r a d e m a r k s   a n d   u s e s   t r a d e m a r k s .   F o r   a   l i s t   o f   t r a d e m a r k s   o f   T h e   L i n u x   F o u n d a t i o n ,   p l e a s e   s e e   o u r   T r a d e m a r k   U s a g e   p a g e   I C P   l i c e n s e :   京 I C P 备 1 7 0 7 4 2 6 6 号 - 3",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/_print/",
    "id": "k8s_00309_section_2_5884"
  },
  {
    "question": "What is Runtime Class?",
    "answer": "Runtime ClassFEATURE STATE: Kubernetes v1.20 [stable]This page describes the RuntimeClass resource and runtime selection mechanism.RuntimeClass is a feature for selecting the container runtime configuration. The container runtime configuration is used to run a Pod's containers.MotivationYou can set a different RuntimeClass between different Pods to provide a balance of performance versus security. For example, if part of your workload deserves a high level of information security assurance, you might choose to schedule those Pods so that they run in a container runtime that uses hardware virtualization. You'd then benefit from the extra isolation of the alternative runtime, at the expense of some additional overhead.You can also use RuntimeClass to run different Pods with the same container runtime but with different settings.SetupConfigure the CRI implementation on nodes (runtime dependent)Create the corresponding RuntimeClass resources1. Configure the CRI implementation on nodesThe configurations available through RuntimeClass are Container Runtime Interface (CRI) implementation dependent. See the corresponding documentation (below) for your CRI implementation for how to configure.Note:RuntimeClass assumes a homogeneous node configuration across the cluster by default (which means that all nodes are configured the same way with respect to container runtimes). To support heterogeneous node configurations, see Scheduling below.The configurations have a corresponding handler name, referenced by the RuntimeClass. The handler must be a valid DNS label name.2. Create the corresponding RuntimeClass resourcesThe configurations setup in step 1 should each have an associated handler name, which identifies the configuration. For each handler, create a corresponding RuntimeClass object.The RuntimeClass resource currently only has 2 significant fields: the RuntimeClass name (metadata.name) and the handler (handler). The object definition looks like this:# RuntimeClass is defined in the node.k8s.io API group apiVersion: node.k8s.io/v1 kind: RuntimeClass metadata: # The name the RuntimeClass will be referenced by. # RuntimeClass is a non-namespaced resource. name: myclass # The name of the corresponding CRI configuration handler: myconfiguration The name of a RuntimeClass object must be a valid DNS subdomain name.Note:It is recommended that RuntimeClass write operations (create/update/patch/delete) be restricted to the cluster administrator. This is typically the default. See Authorization Overview for more details.UsageOnce RuntimeClasses are configured for the cluster, you can specify a runtimeClassName in the Pod spec to use it. For example:apiVersion: v1 kind: Pod metadata: name: mypod spec: runtimeClassName: myclass # ... This will instruct the kubelet to use the named RuntimeClass to run this pod. If the named RuntimeClass does not exist, or the CRI cannot run the corresponding handler, the pod will enter the Failed terminal phase. Look for a correspond",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/runtime-class/",
    "id": "k8s_00310_qa_5885"
  },
  {
    "question": "How does Runtime Class work?",
    "answer": "Runtime ClassFEATURE STATE: Kubernetes v1.20 [stable]This page describes the RuntimeClass resource and runtime selection mechanism.RuntimeClass is a feature for selecting the container runtime configuration. The container runtime configuration is used to run a Pod's containers.MotivationYou can set a different RuntimeClass between different Pods to provide a balance of performance versus security. For example, if part of your workload deserves a high level of information security assurance, you might choose to schedule those Pods so that they run in a container runtime that uses hardware virtualization. You'd then benefit from the extra isolation of the alternative runtime, at the expense of some additional overhead.You can also use RuntimeClass to run different Pods with the same container runtime but with different settings.SetupConfigure the CRI implementation on nodes (runtime dependent)Create the corresponding RuntimeClass resources1. Configure the CRI implementation on nodesThe configurations available through RuntimeClass are Container Runtime Interface (CRI) implementation dependent. See the corresponding documentation (below) for your CRI implementation for how to configure.Note:RuntimeClass assumes a homogeneous node configuration across the cluster by default (which means that all nodes are configured the same way with respect to container runtimes). To support heterogeneous node configurations, see Scheduling below.The configurations have a corresponding handler name, referenced by the RuntimeClass. The handler must be a valid DNS label name.2. Create the corresponding RuntimeClass resourcesThe configurations setup in step 1 should each have an associated handler name, which identifies the configuration. For each handler, create a corresponding RuntimeClass object.The RuntimeClass resource currently only has 2 significant fields: the RuntimeClass name (metadata.name) and the handler (handler). The object definition looks like this:# RuntimeClass is defined in the node.k8s.io API group apiVersion: node.k8s.io/v1 kind: RuntimeClass metadata: # The name the RuntimeClass will be referenced by. # RuntimeClass is a non-namespaced resource. name: myclass # The name of the corresponding CRI configuration handler: myconfiguration The name of a RuntimeClass object must be a valid DNS subdomain name.Note:It is recommended that RuntimeClass write operations (create/update/patch/delete) be restricted to the cluster administrator. This is typically the default. See Authorization Overview for more details.UsageOnce RuntimeClasses are configured for the cluster, you can specify a runtimeClassName in the Pod spec to use it. For example:apiVersion: v1 kind: Pod metadata: name: mypod spec: runtimeClassName: myclass # ... This will instruct the kubelet to use the named RuntimeClass to run this pod. If the named RuntimeClass does not exist, or the CRI cannot run the corresponding handler, the pod will enter the Failed terminal phase. Look for a correspond",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/runtime-class/",
    "id": "k8s_00310_qa_5886"
  },
  {
    "question": "When would you use Runtime Class?",
    "answer": "Runtime ClassFEATURE STATE: Kubernetes v1.20 [stable]This page describes the RuntimeClass resource and runtime selection mechanism.RuntimeClass is a feature for selecting the container runtime configuration. The container runtime configuration is used to run a Pod's containers.MotivationYou can set a different RuntimeClass between different Pods to provide a balance of performance versus security. For example, if part of your workload deserves a high level of information security assurance, you might choose to schedule those Pods so that they run in a container runtime that uses hardware virtualization. You'd then benefit from the extra isolation of the alternative runtime, at the expense of some additional overhead.You can also use RuntimeClass to run different Pods with the same container runtime but with different settings.SetupConfigure the CRI implementation on nodes (runtime dependent)Create the corresponding RuntimeClass resources1. Configure the CRI implementation on nodesThe configurations available through RuntimeClass are Container Runtime Interface (CRI) implementation dependent. See the corresponding documentation (below) for your CRI implementation for how to configure.Note:RuntimeClass assumes a homogeneous node configuration across the cluster by default (which means that all nodes are configured the same way with respect to container runtimes). To support heterogeneous node configurations, see Scheduling below.The configurations have a corresponding handler name, referenced by the RuntimeClass. The handler must be a valid DNS label name.2. Create the corresponding RuntimeClass resourcesThe configurations setup in step 1 should each have an associated handler name, which identifies the configuration. For each handler, create a corresponding RuntimeClass object.The RuntimeClass resource currently only has 2 significant fields: the RuntimeClass name (metadata.name) and the handler (handler). The object definition looks like this:# RuntimeClass is defined in the node.k8s.io API group apiVersion: node.k8s.io/v1 kind: RuntimeClass metadata: # The name the RuntimeClass will be referenced by. # RuntimeClass is a non-namespaced resource. name: myclass # The name of the corresponding CRI configuration handler: myconfiguration The name of a RuntimeClass object must be a valid DNS subdomain name.Note:It is recommended that RuntimeClass write operations (create/update/patch/delete) be restricted to the cluster administrator. This is typically the default. See Authorization Overview for more details.UsageOnce RuntimeClasses are configured for the cluster, you can specify a runtimeClassName in the Pod spec to use it. For example:apiVersion: v1 kind: Pod metadata: name: mypod spec: runtimeClassName: myclass # ... This will instruct the kubelet to use the named RuntimeClass to run this pod. If the named RuntimeClass does not exist, or the CRI cannot run the corresponding handler, the pod will enter the Failed terminal phase. Look for a correspond",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/runtime-class/",
    "id": "k8s_00310_qa_5887"
  },
  {
    "question": "What are the benefits of Runtime Class?",
    "answer": "Runtime ClassFEATURE STATE: Kubernetes v1.20 [stable]This page describes the RuntimeClass resource and runtime selection mechanism.RuntimeClass is a feature for selecting the container runtime configuration. The container runtime configuration is used to run a Pod's containers.MotivationYou can set a different RuntimeClass between different Pods to provide a balance of performance versus security. For example, if part of your workload deserves a high level of information security assurance, you might choose to schedule those Pods so that they run in a container runtime that uses hardware virtualization. You'd then benefit from the extra isolation of the alternative runtime, at the expense of some additional overhead.You can also use RuntimeClass to run different Pods with the same container runtime but with different settings.SetupConfigure the CRI implementation on nodes (runtime dependent)Create the corresponding RuntimeClass resources1. Configure the CRI implementation on nodesThe configurations available through RuntimeClass are Container Runtime Interface (CRI) implementation dependent. See the corresponding documentation (below) for your CRI implementation for how to configure.Note:RuntimeClass assumes a homogeneous node configuration across the cluster by default (which means that all nodes are configured the same way with respect to container runtimes). To support heterogeneous node configurations, see Scheduling below.The configurations have a corresponding handler name, referenced by the RuntimeClass. The handler must be a valid DNS label name.2. Create the corresponding RuntimeClass resourcesThe configurations setup in step 1 should each have an associated handler name, which identifies the configuration. For each handler, create a corresponding RuntimeClass object.The RuntimeClass resource currently only has 2 significant fields: the RuntimeClass name (metadata.name) and the handler (handler). The object definition looks like this:# RuntimeClass is defined in the node.k8s.io API group apiVersion: node.k8s.io/v1 kind: RuntimeClass metadata: # The name the RuntimeClass will be referenced by. # RuntimeClass is a non-namespaced resource. name: myclass # The name of the corresponding CRI configuration handler: myconfiguration The name of a RuntimeClass object must be a valid DNS subdomain name.Note:It is recommended that RuntimeClass write operations (create/update/patch/delete) be restricted to the cluster administrator. This is typically the default. See Authorization Overview for more details.UsageOnce RuntimeClasses are configured for the cluster, you can specify a runtimeClassName in the Pod spec to use it. For example:apiVersion: v1 kind: Pod metadata: name: mypod spec: runtimeClassName: myclass # ... This will instruct the kubelet to use the named RuntimeClass to run this pod. If the named RuntimeClass does not exist, or the CRI cannot run the corresponding handler, the pod will enter the Failed terminal phase. Look for a correspond",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/runtime-class/",
    "id": "k8s_00310_qa_5888"
  },
  {
    "question": "What is Runtime Class?",
    "answer": "T h i s   p a g e   d e s c r i b e s   t h e   R u n t i m e C l a s s   r e s o u r c e   a n d   r u n t i m e   s e l e c t i o n   m e c h a n i s m .   R u n t i m e C l a s s   i s   a   f e a t u r e   f o r   s e l e c t i n g   t h e   c o n t a i n e r   r u n t i m e   c o n f i g u r a t i o n .   T h e   c o n t a i n e r   r u n t i m e   c o n f i g u r a t i o n   i s   u s e d   t o   r u n   a   P o d ' s   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/runtime-class/",
    "id": "k8s_00310_section_1_5889"
  },
  {
    "question": "What is Motivation?",
    "answer": "Y o u   c a n   s e t   a   d i f f e r e n t   R u n t i m e C l a s s   b e t w e e n   d i f f e r e n t   P o d s   t o   p r o v i d e   a   b a l a n c e   o f   p e r f o r m a n c e   v e r s u s   s e c u r i t y .   F o r   e x a m p l e ,   i f   p a r t   o f   y o u r   w o r k l o a d   d e s e r v e s   a   h i g h   l e v e l   o f   i n f o r m a t i o n   s e c u r i t y   a s s u r a n c e ,   y o u   m i g h t   c h o o s e   t o   s c h e d u l e   t h o s e   P o d s   s o   t h a t   t h e y   r u n   i n   a   c o n t a i n e r   r u n t i m e   t h a t   u s e s   h a r d w a r e   v i r t u a l i z a t i o n .   Y o u ' d   t h e n   b e n e f i t   f r o m   t h e   e x t r a   i s o l a t i o n   o f   t h e   a l t e r n a t i v e   r u n t i m e ,   a t   t h e   e x p e n s e   o f   s o m e   a d d i t i o n a l   o v e r h e a d .   Y o u   c a n   a l s o   u s e   R u n t i m e C l a s s   t o   r u n   d i f f e r e n t   P o d s   w i t h   t h e   s a m e   c o n t a i n e r   r u n t i m e   b u t   w i t h   d i f f e r e n t   s e t t i n g s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/runtime-class/",
    "id": "k8s_00310_section_2_5890"
  },
  {
    "question": "What is Setup?",
    "answer": "C o n f i g u r e   t h e   C R I   i m p l e m e n t a t i o n   o n   n o d e s   ( r u n t i m e   d e p e n d e n t ) C r e a t e   t h e   c o r r e s p o n d i n g   R u n t i m e C l a s s   r e s o u r c e s",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/runtime-class/",
    "id": "k8s_00310_section_2_5891"
  },
  {
    "question": "What is 1. Configure the CRI implementation on nodes?",
    "answer": "T h e   c o n f i g u r a t i o n s   a v a i l a b l e   t h r o u g h   R u n t i m e C l a s s   a r e   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I )   i m p l e m e n t a t i o n   d e p e n d e n t .   S e e   t h e   c o r r e s p o n d i n g   d o c u m e n t a t i o n   ( b e l o w )   f o r   y o u r   C R I   i m p l e m e n t a t i o n   f o r   h o w   t o   c o n f i g u r e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/runtime-class/",
    "id": "k8s_00310_section_3_5892"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   c o n f i g u r a t i o n s   h a v e   a   c o r r e s p o n d i n g   h a n d l e r   n a m e ,   r e f e r e n c e d   b y   t h e   R u n t i m e C l a s s .   T h e   h a n d l e r   m u s t   b e   a   v a l i d   D N S   l a b e l   n a m e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/runtime-class/",
    "id": "k8s_00310_section_4_5893"
  },
  {
    "question": "What is 2. Create the corresponding RuntimeClass resources?",
    "answer": "T h e   c o n f i g u r a t i o n s   s e t u p   i n   s t e p   1   s h o u l d   e a c h   h a v e   a n   a s s o c i a t e d   h a n d l e r   n a m e ,   w h i c h   i d e n t i f i e s   t h e   c o n f i g u r a t i o n .   F o r   e a c h   h a n d l e r ,   c r e a t e   a   c o r r e s p o n d i n g   R u n t i m e C l a s s   o b j e c t .   T h e   R u n t i m e C l a s s   r e s o u r c e   c u r r e n t l y   o n l y   h a s   2   s i g n i f i c a n t   f i e l d s :   t h e   R u n t i m e C l a s s   n a m e   ( m e t a d a t a . n a m e )   a n d   t h e   h a n d l e r   ( h a n d l e r ) .   T h e   o b j e c t   d e f i n i t i o n   l o o k s   l i k e   t h i s :   #   R u n t i m e C l a s s   i s   d e f i n e d   i n   t h e   n o d e . k 8 s . i o   A P I   g r o u p   a p i V e r s i o n :   n o d e . k 8 s . i o / v 1   k i n d :   R u n t i m e C l a s s   m e t a d a t a :   #   T h e   n a m e   t h e   R u n t i m e C l a s s   w i l l   b e   r e f e r e n c e d   b y .   #   R u n t i m e C l a s s   i s   a   n o n - n a m e s p a c e d   r e s o u r c e .   n a m e :   m y c l a s s   #   T h e   n a m e   o f   t h e   c o r r e s p o n d i n g   C R I   c o n f i g u r a t i o n   h a n d l e r :   m y c o n f i g u r a t i o n   T h e   n a m e   o f   a   R u n t i m e C l a s s   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/runtime-class/",
    "id": "k8s_00310_section_3_5894"
  },
  {
    "question": "What is Usage?",
    "answer": "O n c e   R u n t i m e C l a s s e s   a r e   c o n f i g u r e d   f o r   t h e   c l u s t e r ,   y o u   c a n   s p e c i f y   a   r u n t i m e C l a s s N a m e   i n   t h e   P o d   s p e c   t o   u s e   i t .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y p o d   s p e c :   r u n t i m e C l a s s N a m e :   m y c l a s s   #   . . .   T h i s   w i l l   i n s t r u c t   t h e   k u b e l e t   t o   u s e   t h e   n a m e d   R u n t i m e C l a s s   t o   r u n   t h i s   p o d .   I f   t h e   n a m e d   R u n t i m e C l a s s   d o e s   n o t   e x i s t ,   o r   t h e   C R I   c a n n o t   r u n   t h e   c o r r e s p o n d i n g   h a n d l e r ,   t h e   p o d   w i l l   e n t e r   t h e   F a i l e d   t e r m i n a l   p h a s e .   L o o k   f o r   a   c o r r e s p o n d i n g   e v e n t   f o r   a n   e r r o r   m e s s a g e .   I f   n o   r u n t i m e C l a s s N a m e   i s   s p e c i f i e d ,   t h e   d e f a u l t   R u n t i m e H a n d l e r   w i l l   b e   u s e d ,   w h i c h   i s   e q u i v a l e n t   t o   t h e   b e h a v i o r   w h e n   t h e   R u n t i m e C l a s s   f e a t u r e   i s   d i s a b l e d .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/runtime-class/",
    "id": "k8s_00310_section_2_5895"
  },
  {
    "question": "What is CRI Configuration?",
    "answer": "F o r   m o r e   d e t a i l s   o n   s e t t i n g   u p   C R I   r u n t i m e s ,   s e e   C R I   i n s t a l l a t i o n .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/runtime-class/",
    "id": "k8s_00310_section_3_5896"
  },
  {
    "question": "What is containerd?",
    "answer": "R u n t i m e   h a n d l e r s   a r e   c o n f i g u r e d   t h r o u g h   c o n t a i n e r d ' s   c o n f i g u r a t i o n   a t   / e t c / c o n t a i n e r d / c o n f i g . t o m l .   V a l i d   h a n d l e r s   a r e   c o n f i g u r e d   u n d e r   t h e   r u n t i m e s   s e c t i o n :   [ p l u g i n s . \" i o . c o n t a i n e r d . g r p c . v 1 . c r i \" . c o n t a i n e r d . r u n t i m e s . $ { H A N D L E R _ N A M E } ]   S e e   c o n t a i n e r d ' s   c o n f i g   d o c u m e n t a t i o n   f o r   m o r e   d e t a i l s :",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/runtime-class/",
    "id": "k8s_00310_section_4_5897"
  },
  {
    "question": "What is CRI-O?",
    "answer": "R u n t i m e   h a n d l e r s   a r e   c o n f i g u r e d   t h r o u g h   C R I - O ' s   c o n f i g u r a t i o n   a t   / e t c / c r i o / c r i o . c o n f .   V a l i d   h a n d l e r s   a r e   c o n f i g u r e d   u n d e r   t h e   c r i o . r u n t i m e   t a b l e :   [ c r i o . r u n t i m e . r u n t i m e s . $ { H A N D L E R _ N A M E } ]   r u n t i m e _ p a t h   =   \" $ { P A T H _ T O _ B I N A R Y } \"   S e e   C R I - O ' s   c o n f i g   d o c u m e n t a t i o n   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/runtime-class/",
    "id": "k8s_00310_section_4_5898"
  },
  {
    "question": "What is Scheduling?",
    "answer": "B y   s p e c i f y i n g   t h e   s c h e d u l i n g   f i e l d   f o r   a   R u n t i m e C l a s s ,   y o u   c a n   s e t   c o n s t r a i n t s   t o   e n s u r e   t h a t   P o d s   r u n n i n g   w i t h   t h i s   R u n t i m e C l a s s   a r e   s c h e d u l e d   t o   n o d e s   t h a t   s u p p o r t   i t .   I f   s c h e d u l i n g   i s   n o t   s e t ,   t h i s   R u n t i m e C l a s s   i s   a s s u m e d   t o   b e   s u p p o r t e d   b y   a l l   n o d e s .   T o   e n s u r e   p o d s   l a n d   o n   n o d e s   s u p p o r t i n g   a   s p e c i f i c   R u n t i m e C l a s s ,   t h a t   s e t   o f   n o d e s   s h o u l d   h a v e   a   c o m m o n   l a b e l   w h i c h   i s   t h e n   s e l e c t e d   b y   t h e   r u n t i m e c l a s s . s c h e d u l i n g . n o d e S e l e c t o r   f i e l d .   T h e   R u n t i m e C l a s s ' s   n o d e S e l e c t o r   i s   m e r g e d   w i t h   t h e   p o d ' s   n o d e S e l e c t o r   i n   a d m i s s i o n ,   e f f e c t i v e l y   t a k i n g   t h e   i n t e r s e c t i o n   o f   t h e   s e t   o f   n o d e s   s e l e c t e d   b y   e a c h .   I f   t h e r e   i s   a   c o n f l i c t ,   t h e   p o d   w i l l   b e   r e j e c t e d .   I f   t h e   s u p p o r t e d   n o d e s   a r e   t a i n t e d   t o   p r e v e n t   o t h e r   R u n t i m e C l a s s   p o d s   f r o m   r u n n i n g   o n   t h e   n o d e ,   y o u   c a n   a d d   t o l e r a t i o n s   t o   t h e   R u n t i m e C l a s s .   A s   w i t h   t h e   n o d e S e l e c t o r ,   t h e   t o l e r a t i o n s   a r e   m e r g e d   w i t h   t h e   p o d ' s   t o l e r a t i o n s   i n   a d m i s s i o n ,   e f f e c t i v e l y   t a k i n g   t h e   u n i o n   o f   t h e   s e t   o f   n o d e s   t o l e r a t e d   b y   e a c h .   T o   l e a r n   m o r e   a b o u t   c o n f i g u r i n g   t h e   n o d e   s e l e c t o r   ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/runtime-class/",
    "id": "k8s_00310_section_2_5899"
  },
  {
    "question": "What is Pod Overhead?",
    "answer": "Y o u   c a n   s p e c i f y   o v e r h e a d   r e s o u r c e s   t h a t   a r e   a s s o c i a t e d   w i t h   r u n n i n g   a   P o d .   D e c l a r i n g   o v e r h e a d   a l l o w s   t h e   c l u s t e r   ( i n c l u d i n g   t h e   s c h e d u l e r )   t o   a c c o u n t   f o r   i t   w h e n   m a k i n g   d e c i s i o n s   a b o u t   P o d s   a n d   r e s o u r c e s .   P o d   o v e r h e a d   i s   d e f i n e d   i n   R u n t i m e C l a s s   t h r o u g h   t h e   o v e r h e a d   f i e l d .   T h r o u g h   t h e   u s e   o f   t h i s   f i e l d ,   y o u   c a n   s p e c i f y   t h e   o v e r h e a d   o f   r u n n i n g   p o d s   u t i l i z i n g   t h i s   R u n t i m e C l a s s   a n d   e n s u r e   t h e s e   o v e r h e a d s   a r e   a c c o u n t e d   f o r   i n   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/runtime-class/",
    "id": "k8s_00310_section_3_5900"
  },
  {
    "question": "What is What's next?",
    "answer": "R u n t i m e C l a s s   D e s i g n R u n t i m e C l a s s   S c h e d u l i n g   D e s i g n R e a d   a b o u t   t h e   P o d   O v e r h e a d   c o n c e p t P o d O v e r h e a d   F e a t u r e   D e s i g n",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/runtime-class/",
    "id": "k8s_00310_section_2_5901"
  },
  {
    "question": "What is Manage Memory, CPU, and API Resources?",
    "answer": "Manage Memory, CPU, and API ResourcesConfigure Default Memory Requests and Limits for a NamespaceDefine a default memory resource limit for a namespace, so that every new Pod in that namespace has a memory resource limit configured.Configure Default CPU Requests and Limits for a NamespaceDefine a default CPU resource limits for a namespace, so that every new Pod in that namespace has a CPU resource limit configured.Configure Minimum and Maximum Memory Constraints for a NamespaceDefine a range of valid memory resource limits for a namespace, so that every new Pod in that namespace falls within the range you configure.Configure Minimum and Maximum CPU Constraints for a NamespaceDefine a range of valid CPU resource limits for a namespace, so that every new Pod in that namespace falls within the range you configure.Configure Memory and CPU Quotas for a NamespaceDefine overall memory and CPU resource limits for a namespace.Configure a Pod Quota for a NamespaceRestrict how many Pods you can create within a namespace.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/",
    "id": "k8s_00311_qa_5902"
  },
  {
    "question": "How does Manage Memory, CPU, and API Resources work?",
    "answer": "Manage Memory, CPU, and API ResourcesConfigure Default Memory Requests and Limits for a NamespaceDefine a default memory resource limit for a namespace, so that every new Pod in that namespace has a memory resource limit configured.Configure Default CPU Requests and Limits for a NamespaceDefine a default CPU resource limits for a namespace, so that every new Pod in that namespace has a CPU resource limit configured.Configure Minimum and Maximum Memory Constraints for a NamespaceDefine a range of valid memory resource limits for a namespace, so that every new Pod in that namespace falls within the range you configure.Configure Minimum and Maximum CPU Constraints for a NamespaceDefine a range of valid CPU resource limits for a namespace, so that every new Pod in that namespace falls within the range you configure.Configure Memory and CPU Quotas for a NamespaceDefine overall memory and CPU resource limits for a namespace.Configure a Pod Quota for a NamespaceRestrict how many Pods you can create within a namespace.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/",
    "id": "k8s_00311_qa_5903"
  },
  {
    "question": "When would you use Manage Memory, CPU, and API Resources?",
    "answer": "Manage Memory, CPU, and API ResourcesConfigure Default Memory Requests and Limits for a NamespaceDefine a default memory resource limit for a namespace, so that every new Pod in that namespace has a memory resource limit configured.Configure Default CPU Requests and Limits for a NamespaceDefine a default CPU resource limits for a namespace, so that every new Pod in that namespace has a CPU resource limit configured.Configure Minimum and Maximum Memory Constraints for a NamespaceDefine a range of valid memory resource limits for a namespace, so that every new Pod in that namespace falls within the range you configure.Configure Minimum and Maximum CPU Constraints for a NamespaceDefine a range of valid CPU resource limits for a namespace, so that every new Pod in that namespace falls within the range you configure.Configure Memory and CPU Quotas for a NamespaceDefine overall memory and CPU resource limits for a namespace.Configure a Pod Quota for a NamespaceRestrict how many Pods you can create within a namespace.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/",
    "id": "k8s_00311_qa_5904"
  },
  {
    "question": "What are the benefits of Manage Memory, CPU, and API Resources?",
    "answer": "Manage Memory, CPU, and API ResourcesConfigure Default Memory Requests and Limits for a NamespaceDefine a default memory resource limit for a namespace, so that every new Pod in that namespace has a memory resource limit configured.Configure Default CPU Requests and Limits for a NamespaceDefine a default CPU resource limits for a namespace, so that every new Pod in that namespace has a CPU resource limit configured.Configure Minimum and Maximum Memory Constraints for a NamespaceDefine a range of valid memory resource limits for a namespace, so that every new Pod in that namespace falls within the range you configure.Configure Minimum and Maximum CPU Constraints for a NamespaceDefine a range of valid CPU resource limits for a namespace, so that every new Pod in that namespace falls within the range you configure.Configure Memory and CPU Quotas for a NamespaceDefine overall memory and CPU resource limits for a namespace.Configure a Pod Quota for a NamespaceRestrict how many Pods you can create within a namespace.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/",
    "id": "k8s_00311_qa_5905"
  },
  {
    "question": "What is Configure Default Memory Requests and Limits for a Namespace?",
    "answer": "D e f i n e   a   d e f a u l t   m e m o r y   r e s o u r c e   l i m i t   f o r   a   n a m e s p a c e ,   s o   t h a t   e v e r y   n e w   P o d   i n   t h a t   n a m e s p a c e   h a s   a   m e m o r y   r e s o u r c e   l i m i t   c o n f i g u r e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/",
    "id": "k8s_00311_section_5_5906"
  },
  {
    "question": "What is Configure Default CPU Requests and Limits for a Namespace?",
    "answer": "D e f i n e   a   d e f a u l t   C P U   r e s o u r c e   l i m i t s   f o r   a   n a m e s p a c e ,   s o   t h a t   e v e r y   n e w   P o d   i n   t h a t   n a m e s p a c e   h a s   a   C P U   r e s o u r c e   l i m i t   c o n f i g u r e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/",
    "id": "k8s_00311_section_5_5907"
  },
  {
    "question": "What is Configure Minimum and Maximum Memory Constraints for a Namespace?",
    "answer": "D e f i n e   a   r a n g e   o f   v a l i d   m e m o r y   r e s o u r c e   l i m i t s   f o r   a   n a m e s p a c e ,   s o   t h a t   e v e r y   n e w   P o d   i n   t h a t   n a m e s p a c e   f a l l s   w i t h i n   t h e   r a n g e   y o u   c o n f i g u r e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/",
    "id": "k8s_00311_section_5_5908"
  },
  {
    "question": "What is Configure Minimum and Maximum CPU Constraints for a Namespace?",
    "answer": "D e f i n e   a   r a n g e   o f   v a l i d   C P U   r e s o u r c e   l i m i t s   f o r   a   n a m e s p a c e ,   s o   t h a t   e v e r y   n e w   P o d   i n   t h a t   n a m e s p a c e   f a l l s   w i t h i n   t h e   r a n g e   y o u   c o n f i g u r e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/",
    "id": "k8s_00311_section_5_5909"
  },
  {
    "question": "What is Configure Memory and CPU Quotas for a Namespace?",
    "answer": "D e f i n e   o v e r a l l   m e m o r y   a n d   C P U   r e s o u r c e   l i m i t s   f o r   a   n a m e s p a c e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/",
    "id": "k8s_00311_section_5_5910"
  },
  {
    "question": "What is Configure a Pod Quota for a Namespace?",
    "answer": "R e s t r i c t   h o w   m a n y   P o d s   y o u   c a n   c r e a t e   w i t h i n   a   n a m e s p a c e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/",
    "id": "k8s_00311_section_5_5911"
  },
  {
    "question": "What is Disruptions?",
    "answer": "DisruptionsThis guide is for application owners who want to build highly available applications, and thus need to understand what types of disruptions can happen to Pods.It is also for cluster administrators who want to perform automated cluster actions, like upgrading and autoscaling clusters.Voluntary and involuntary disruptionsPods do not disappear until someone (a person or a controller) destroys them, or there is an unavoidable hardware or system software error.We call these unavoidable cases involuntary disruptions to an application. Examples are:a hardware failure of the physical machine backing the nodecluster administrator deletes VM (instance) by mistakecloud provider or hypervisor failure makes VM disappeara kernel panicthe node disappears from the cluster due to cluster network partitioneviction of a pod due to the node being out-of-resources.Except for the out-of-resources condition, all these conditions should be familiar to most users; they are not specific to Kubernetes.We call other cases voluntary disruptions. These include both actions initiated by the application owner and those initiated by a Cluster Administrator. Typical application owner actions include:deleting the deployment or other controller that manages the podupdating a deployment's pod template causing a restartdirectly deleting a pod (e.g. by accident)Cluster administrator actions include:Draining a node for repair or upgrade.Draining a node from a cluster to scale the cluster down (learn about Node Autoscaling).Removing a pod from a node to permit something else to fit on that node.These actions might be taken directly by the cluster administrator, or by automation run by the cluster administrator, or by your cluster hosting provider.Ask your cluster administrator or consult your cloud provider or distribution documentation to determine if any sources of voluntary disruptions are enabled for your cluster. If none are enabled, you can skip creating Pod Disruption Budgets.Caution:Not all voluntary disruptions are constrained by Pod Disruption Budgets. For example, deleting deployments or pods bypasses Pod Disruption Budgets.Dealing with disruptionsHere are some ways to mitigate involuntary disruptions:Ensure your pod requests the resources it needs.Replicate your application if you need higher availability. (Learn about running replicated stateless and stateful applications.)For even higher availability when running replicated applications, spread applications across racks (using anti-affinity) or across zones (if using a multi-zone cluster.)The frequency of voluntary disruptions varies. On a basic Kubernetes cluster, there are no automated voluntary disruptions (only user-triggered ones). However, your cluster administrator or hosting provider may run some additional services which cause voluntary disruptions. For example, rolling out node software updates can cause voluntary disruptions. Also, some implementations of cluster (node) autoscaling may cause voluntary",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/disruptions/",
    "id": "k8s_00312_qa_5912"
  },
  {
    "question": "How does Disruptions work?",
    "answer": "DisruptionsThis guide is for application owners who want to build highly available applications, and thus need to understand what types of disruptions can happen to Pods.It is also for cluster administrators who want to perform automated cluster actions, like upgrading and autoscaling clusters.Voluntary and involuntary disruptionsPods do not disappear until someone (a person or a controller) destroys them, or there is an unavoidable hardware or system software error.We call these unavoidable cases involuntary disruptions to an application. Examples are:a hardware failure of the physical machine backing the nodecluster administrator deletes VM (instance) by mistakecloud provider or hypervisor failure makes VM disappeara kernel panicthe node disappears from the cluster due to cluster network partitioneviction of a pod due to the node being out-of-resources.Except for the out-of-resources condition, all these conditions should be familiar to most users; they are not specific to Kubernetes.We call other cases voluntary disruptions. These include both actions initiated by the application owner and those initiated by a Cluster Administrator. Typical application owner actions include:deleting the deployment or other controller that manages the podupdating a deployment's pod template causing a restartdirectly deleting a pod (e.g. by accident)Cluster administrator actions include:Draining a node for repair or upgrade.Draining a node from a cluster to scale the cluster down (learn about Node Autoscaling).Removing a pod from a node to permit something else to fit on that node.These actions might be taken directly by the cluster administrator, or by automation run by the cluster administrator, or by your cluster hosting provider.Ask your cluster administrator or consult your cloud provider or distribution documentation to determine if any sources of voluntary disruptions are enabled for your cluster. If none are enabled, you can skip creating Pod Disruption Budgets.Caution:Not all voluntary disruptions are constrained by Pod Disruption Budgets. For example, deleting deployments or pods bypasses Pod Disruption Budgets.Dealing with disruptionsHere are some ways to mitigate involuntary disruptions:Ensure your pod requests the resources it needs.Replicate your application if you need higher availability. (Learn about running replicated stateless and stateful applications.)For even higher availability when running replicated applications, spread applications across racks (using anti-affinity) or across zones (if using a multi-zone cluster.)The frequency of voluntary disruptions varies. On a basic Kubernetes cluster, there are no automated voluntary disruptions (only user-triggered ones). However, your cluster administrator or hosting provider may run some additional services which cause voluntary disruptions. For example, rolling out node software updates can cause voluntary disruptions. Also, some implementations of cluster (node) autoscaling may cause voluntary",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/disruptions/",
    "id": "k8s_00312_qa_5913"
  },
  {
    "question": "When would you use Disruptions?",
    "answer": "DisruptionsThis guide is for application owners who want to build highly available applications, and thus need to understand what types of disruptions can happen to Pods.It is also for cluster administrators who want to perform automated cluster actions, like upgrading and autoscaling clusters.Voluntary and involuntary disruptionsPods do not disappear until someone (a person or a controller) destroys them, or there is an unavoidable hardware or system software error.We call these unavoidable cases involuntary disruptions to an application. Examples are:a hardware failure of the physical machine backing the nodecluster administrator deletes VM (instance) by mistakecloud provider or hypervisor failure makes VM disappeara kernel panicthe node disappears from the cluster due to cluster network partitioneviction of a pod due to the node being out-of-resources.Except for the out-of-resources condition, all these conditions should be familiar to most users; they are not specific to Kubernetes.We call other cases voluntary disruptions. These include both actions initiated by the application owner and those initiated by a Cluster Administrator. Typical application owner actions include:deleting the deployment or other controller that manages the podupdating a deployment's pod template causing a restartdirectly deleting a pod (e.g. by accident)Cluster administrator actions include:Draining a node for repair or upgrade.Draining a node from a cluster to scale the cluster down (learn about Node Autoscaling).Removing a pod from a node to permit something else to fit on that node.These actions might be taken directly by the cluster administrator, or by automation run by the cluster administrator, or by your cluster hosting provider.Ask your cluster administrator or consult your cloud provider or distribution documentation to determine if any sources of voluntary disruptions are enabled for your cluster. If none are enabled, you can skip creating Pod Disruption Budgets.Caution:Not all voluntary disruptions are constrained by Pod Disruption Budgets. For example, deleting deployments or pods bypasses Pod Disruption Budgets.Dealing with disruptionsHere are some ways to mitigate involuntary disruptions:Ensure your pod requests the resources it needs.Replicate your application if you need higher availability. (Learn about running replicated stateless and stateful applications.)For even higher availability when running replicated applications, spread applications across racks (using anti-affinity) or across zones (if using a multi-zone cluster.)The frequency of voluntary disruptions varies. On a basic Kubernetes cluster, there are no automated voluntary disruptions (only user-triggered ones). However, your cluster administrator or hosting provider may run some additional services which cause voluntary disruptions. For example, rolling out node software updates can cause voluntary disruptions. Also, some implementations of cluster (node) autoscaling may cause voluntary",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/disruptions/",
    "id": "k8s_00312_qa_5914"
  },
  {
    "question": "What are the benefits of Disruptions?",
    "answer": "DisruptionsThis guide is for application owners who want to build highly available applications, and thus need to understand what types of disruptions can happen to Pods.It is also for cluster administrators who want to perform automated cluster actions, like upgrading and autoscaling clusters.Voluntary and involuntary disruptionsPods do not disappear until someone (a person or a controller) destroys them, or there is an unavoidable hardware or system software error.We call these unavoidable cases involuntary disruptions to an application. Examples are:a hardware failure of the physical machine backing the nodecluster administrator deletes VM (instance) by mistakecloud provider or hypervisor failure makes VM disappeara kernel panicthe node disappears from the cluster due to cluster network partitioneviction of a pod due to the node being out-of-resources.Except for the out-of-resources condition, all these conditions should be familiar to most users; they are not specific to Kubernetes.We call other cases voluntary disruptions. These include both actions initiated by the application owner and those initiated by a Cluster Administrator. Typical application owner actions include:deleting the deployment or other controller that manages the podupdating a deployment's pod template causing a restartdirectly deleting a pod (e.g. by accident)Cluster administrator actions include:Draining a node for repair or upgrade.Draining a node from a cluster to scale the cluster down (learn about Node Autoscaling).Removing a pod from a node to permit something else to fit on that node.These actions might be taken directly by the cluster administrator, or by automation run by the cluster administrator, or by your cluster hosting provider.Ask your cluster administrator or consult your cloud provider or distribution documentation to determine if any sources of voluntary disruptions are enabled for your cluster. If none are enabled, you can skip creating Pod Disruption Budgets.Caution:Not all voluntary disruptions are constrained by Pod Disruption Budgets. For example, deleting deployments or pods bypasses Pod Disruption Budgets.Dealing with disruptionsHere are some ways to mitigate involuntary disruptions:Ensure your pod requests the resources it needs.Replicate your application if you need higher availability. (Learn about running replicated stateless and stateful applications.)For even higher availability when running replicated applications, spread applications across racks (using anti-affinity) or across zones (if using a multi-zone cluster.)The frequency of voluntary disruptions varies. On a basic Kubernetes cluster, there are no automated voluntary disruptions (only user-triggered ones). However, your cluster administrator or hosting provider may run some additional services which cause voluntary disruptions. For example, rolling out node software updates can cause voluntary disruptions. Also, some implementations of cluster (node) autoscaling may cause voluntary",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/disruptions/",
    "id": "k8s_00312_qa_5915"
  },
  {
    "question": "What is Disruptions?",
    "answer": "T h i s   g u i d e   i s   f o r   a p p l i c a t i o n   o w n e r s   w h o   w a n t   t o   b u i l d   h i g h l y   a v a i l a b l e   a p p l i c a t i o n s ,   a n d   t h u s   n e e d   t o   u n d e r s t a n d   w h a t   t y p e s   o f   d i s r u p t i o n s   c a n   h a p p e n   t o   P o d s .   I t   i s   a l s o   f o r   c l u s t e r   a d m i n i s t r a t o r s   w h o   w a n t   t o   p e r f o r m   a u t o m a t e d   c l u s t e r   a c t i o n s ,   l i k e   u p g r a d i n g   a n d   a u t o s c a l i n g   c l u s t e r s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/disruptions/",
    "id": "k8s_00312_section_1_5916"
  },
  {
    "question": "What is Voluntary and involuntary disruptions?",
    "answer": "P o d s   d o   n o t   d i s a p p e a r   u n t i l   s o m e o n e   ( a   p e r s o n   o r   a   c o n t r o l l e r )   d e s t r o y s   t h e m ,   o r   t h e r e   i s   a n   u n a v o i d a b l e   h a r d w a r e   o r   s y s t e m   s o f t w a r e   e r r o r .   W e   c a l l   t h e s e   u n a v o i d a b l e   c a s e s   i n v o l u n t a r y   d i s r u p t i o n s   t o   a n   a p p l i c a t i o n .   E x a m p l e s   a r e :   a   h a r d w a r e   f a i l u r e   o f   t h e   p h y s i c a l   m a c h i n e   b a c k i n g   t h e   n o d e c l u s t e r   a d m i n i s t r a t o r   d e l e t e s   V M   ( i n s t a n c e )   b y   m i s t a k e c l o u d   p r o v i d e r   o r   h y p e r v i s o r   f a i l u r e   m a k e s   V M   d i s a p p e a r a   k e r n e l   p a n i c t h e   n o d e   d i s a p p e a r s   f r o m   t h e   c l u s t e r   d u e   t o   c l u s t e r   n e t w o r k   p a r t i t i o n e v i c t i o n   o f   a   p o d   d u e   t o   t h e   n o d e   b e i n g   o u t - o f - r e s o u r c e s .   E x c e p t   f o r   t h e   o u t - o f - r e s o u r c e s   c o n d i t i o n ,   a l l   t h e s e   c o n d i t i o n s   s h o u l d   b e   f a m i l i a r   t o   m o s t   u s e r s ;   t h e y   a r e   n o t   s p e c i f i c   t o   K u b e r n e t e s .   W e   c a l l   o t h e r   c a s e s   v o l u n t a r y   d i s r u p t i o n s .   T h e s e   i n c l u d e   b o t h   a c t i o n s   i n i t i a t e d   b y   t h e   a p p l i c a t i o n   o w n e r   a n d   t h o s e   i n i t i a t e d   b y   a   C l u s t e r   A d m i n i s t r a t o r .   T y p i c a l   a p p l i c a t i o n   o w n e r   a c t i o n s   i n c l u d e :   d e l e t i n g   t h e   d e p l o y m e n t   o r   o t h e r   c o n t r o l l e r   t h a t   m a n a g e s   t h e   p o d u p d a t i n g   a   d e p l o y m e n t ' s   p o d   t e m p l a t e   c a u s i n g   a   r e s t a r t d i r e c t l y   d e l e ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/disruptions/",
    "id": "k8s_00312_section_2_5917"
  },
  {
    "question": "What is Dealing with disruptions?",
    "answer": "H e r e   a r e   s o m e   w a y s   t o   m i t i g a t e   i n v o l u n t a r y   d i s r u p t i o n s :   E n s u r e   y o u r   p o d   r e q u e s t s   t h e   r e s o u r c e s   i t   n e e d s . R e p l i c a t e   y o u r   a p p l i c a t i o n   i f   y o u   n e e d   h i g h e r   a v a i l a b i l i t y .   ( L e a r n   a b o u t   r u n n i n g   r e p l i c a t e d   s t a t e l e s s   a n d   s t a t e f u l   a p p l i c a t i o n s . ) F o r   e v e n   h i g h e r   a v a i l a b i l i t y   w h e n   r u n n i n g   r e p l i c a t e d   a p p l i c a t i o n s ,   s p r e a d   a p p l i c a t i o n s   a c r o s s   r a c k s   ( u s i n g   a n t i - a f f i n i t y )   o r   a c r o s s   z o n e s   ( i f   u s i n g   a   m u l t i - z o n e   c l u s t e r . )   T h e   f r e q u e n c y   o f   v o l u n t a r y   d i s r u p t i o n s   v a r i e s .   O n   a   b a s i c   K u b e r n e t e s   c l u s t e r ,   t h e r e   a r e   n o   a u t o m a t e d   v o l u n t a r y   d i s r u p t i o n s   ( o n l y   u s e r - t r i g g e r e d   o n e s ) .   H o w e v e r ,   y o u r   c l u s t e r   a d m i n i s t r a t o r   o r   h o s t i n g   p r o v i d e r   m a y   r u n   s o m e   a d d i t i o n a l   s e r v i c e s   w h i c h   c a u s e   v o l u n t a r y   d i s r u p t i o n s .   F o r   e x a m p l e ,   r o l l i n g   o u t   n o d e   s o f t w a r e   u p d a t e s   c a n   c a u s e   v o l u n t a r y   d i s r u p t i o n s .   A l s o ,   s o m e   i m p l e m e n t a t i o n s   o f   c l u s t e r   ( n o d e )   a u t o s c a l i n g   m a y   c a u s e   v o l u n t a r y   d i s r u p t i o n s   t o   d e f r a g m e n t   a n d   c o m p a c t   n o d e s .   Y o u r   c l u s t e r   a d m i n i s t r a t o r   o r   h o s t i n g   p r o v i d e r   s h o u l d   h a v e   d o c u m e n t e d   w h a t   l e v e l   o f   v o l u n t a r y   d i s r u p t i o n s ,   i f   a n y ,   t o   e ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/disruptions/",
    "id": "k8s_00312_section_2_5918"
  },
  {
    "question": "What is Pod disruption budgets?",
    "answer": "K u b e r n e t e s   o f f e r s   f e a t u r e s   t o   h e l p   y o u   r u n   h i g h l y   a v a i l a b l e   a p p l i c a t i o n s   e v e n   w h e n   y o u   i n t r o d u c e   f r e q u e n t   v o l u n t a r y   d i s r u p t i o n s .   A s   a n   a p p l i c a t i o n   o w n e r ,   y o u   c a n   c r e a t e   a   P o d D i s r u p t i o n B u d g e t   ( P D B )   f o r   e a c h   a p p l i c a t i o n .   A   P D B   l i m i t s   t h e   n u m b e r   o f   P o d s   o f   a   r e p l i c a t e d   a p p l i c a t i o n   t h a t   a r e   d o w n   s i m u l t a n e o u s l y   f r o m   v o l u n t a r y   d i s r u p t i o n s .   F o r   e x a m p l e ,   a   q u o r u m - b a s e d   a p p l i c a t i o n   w o u l d   l i k e   t o   e n s u r e   t h a t   t h e   n u m b e r   o f   r e p l i c a s   r u n n i n g   i s   n e v e r   b r o u g h t   b e l o w   t h e   n u m b e r   n e e d e d   f o r   a   q u o r u m .   A   w e b   f r o n t   e n d   m i g h t   w a n t   t o   e n s u r e   t h a t   t h e   n u m b e r   o f   r e p l i c a s   s e r v i n g   l o a d   n e v e r   f a l l s   b e l o w   a   c e r t a i n   p e r c e n t a g e   o f   t h e   t o t a l .   C l u s t e r   m a n a g e r s   a n d   h o s t i n g   p r o v i d e r s   s h o u l d   u s e   t o o l s   w h i c h   r e s p e c t   P o d D i s r u p t i o n B u d g e t s   b y   c a l l i n g   t h e   E v i c t i o n   A P I   i n s t e a d   o f   d i r e c t l y   d e l e t i n g   p o d s   o r   d e p l o y m e n t s .   F o r   e x a m p l e ,   t h e   k u b e c t l   d r a i n   s u b c o m m a n d   l e t s   y o u   m a r k   a   n o d e   a s   g o i n g   o u t   o f   s e r v i c e .   W h e n   y o u   r u n   k u b e c t l   d r a i n ,   t h e   t o o l   t r i e s   t o   e v i c t   a l l   o f   t h e   P o d s   o n   t h e   N o d e   y o u ' r e   t a k i n g   o u t   o f   s e r v i c e .   T h e   e v i c t i o n   r ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/disruptions/",
    "id": "k8s_00312_section_2_5919"
  },
  {
    "question": "What is PodDisruptionBudget example?",
    "answer": "C o n s i d e r   a   c l u s t e r   w i t h   3   n o d e s ,   n o d e - 1   t h r o u g h   n o d e - 3 .   T h e   c l u s t e r   i s   r u n n i n g   s e v e r a l   a p p l i c a t i o n s .   O n e   o f   t h e m   h a s   3   r e p l i c a s   i n i t i a l l y   c a l l e d   p o d - a ,   p o d - b ,   a n d   p o d - c .   A n o t h e r ,   u n r e l a t e d   p o d   w i t h o u t   a   P D B ,   c a l l e d   p o d - x ,   i s   a l s o   s h o w n .   I n i t i a l l y ,   t h e   p o d s   a r e   l a i d   o u t   a s   f o l l o w s :   A l l   3   p o d s   a r e   p a r t   o f   a   d e p l o y m e n t ,   a n d   t h e y   c o l l e c t i v e l y   h a v e   a   P D B   w h i c h   r e q u i r e s   t h e r e   b e   a t   l e a s t   2   o f   t h e   3   p o d s   t o   b e   a v a i l a b l e   a t   a l l   t i m e s .   F o r   e x a m p l e ,   a s s u m e   t h e   c l u s t e r   a d m i n i s t r a t o r   w a n t s   t o   r e b o o t   i n t o   a   n e w   k e r n e l   v e r s i o n   t o   f i x   a   b u g   i n   t h e   k e r n e l .   T h e   c l u s t e r   a d m i n i s t r a t o r   f i r s t   t r i e s   t o   d r a i n   n o d e - 1   u s i n g   t h e   k u b e c t l   d r a i n   c o m m a n d .   T h a t   t o o l   t r i e s   t o   e v i c t   p o d - a   a n d   p o d - x .   T h i s   s u c c e e d s   i m m e d i a t e l y .   B o t h   p o d s   g o   i n t o   t h e   t e r m i n a t i n g   s t a t e   a t   t h e   s a m e   t i m e .   T h i s   p u t s   t h e   c l u s t e r   i n   t h i s   s t a t e :   T h e   d e p l o y m e n t   n o t i c e s   t h a t   o n e   o f   t h e   p o d s   i s   t e r m i n a t i n g ,   s o   i t   c r e a t e s   a   r e p l a c e m e n t   c a l l e d   p o d - d .   S i n c e   n o d e - 1   i s   c o r d o n e d ,   i t   l a n d s   o n   a n o t h e r   n o d e .   S o m e t h i n g   h a s   a l s o   c r e a t e d   p o d - y   a s   a   r e p l a c e m e n ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/disruptions/",
    "id": "k8s_00312_section_2_5920"
  },
  {
    "question": "What is Pod disruption conditions?",
    "answer": "A   d e d i c a t e d   P o d   D i s r u p t i o n T a r g e t   c o n d i t i o n   i s   a d d e d   t o   i n d i c a t e   t h a t   t h e   P o d   i s   a b o u t   t o   b e   d e l e t e d   d u e   t o   a   d i s r u p t i o n .   T h e   r e a s o n   f i e l d   o f   t h e   c o n d i t i o n   a d d i t i o n a l l y   i n d i c a t e s   o n e   o f   t h e   f o l l o w i n g   r e a s o n s   f o r   t h e   P o d   t e r m i n a t i o n :   I n   a l l   o t h e r   d i s r u p t i o n   s c e n a r i o s ,   l i k e   e v i c t i o n   d u e   t o   e x c e e d i n g   P o d   c o n t a i n e r   l i m i t s ,   P o d s   d o n ' t   r e c e i v e   t h e   D i s r u p t i o n T a r g e t   c o n d i t i o n   b e c a u s e   t h e   d i s r u p t i o n s   w e r e   p r o b a b l y   c a u s e d   b y   t h e   P o d   a n d   w o u l d   r e o c c u r   o n   r e t r y .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/disruptions/",
    "id": "k8s_00312_section_2_5921"
  },
  {
    "question": "What is Note:?",
    "answer": "A l o n g   w i t h   c l e a n i n g   u p   t h e   p o d s ,   t h e   P o d   g a r b a g e   c o l l e c t o r   ( P o d G C )   w i l l   a l s o   m a r k   t h e m   a s   f a i l e d   i f   t h e y   a r e   i n   a   n o n - t e r m i n a l   p h a s e   ( s e e   a l s o   P o d   g a r b a g e   c o l l e c t i o n ) .   W h e n   u s i n g   a   J o b   ( o r   C r o n J o b ) ,   y o u   m a y   w a n t   t o   u s e   t h e s e   P o d   d i s r u p t i o n   c o n d i t i o n s   a s   p a r t   o f   y o u r   J o b ' s   P o d   f a i l u r e   p o l i c y .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/disruptions/",
    "id": "k8s_00312_section_4_5922"
  },
  {
    "question": "What is Separating Cluster Owner and Application Owner Roles?",
    "answer": "O f t e n ,   i t   i s   u s e f u l   t o   t h i n k   o f   t h e   C l u s t e r   M a n a g e r   a n d   A p p l i c a t i o n   O w n e r   a s   s e p a r a t e   r o l e s   w i t h   l i m i t e d   k n o w l e d g e   o f   e a c h   o t h e r .   T h i s   s e p a r a t i o n   o f   r e s p o n s i b i l i t i e s   m a y   m a k e   s e n s e   i n   t h e s e   s c e n a r i o s :   w h e n   t h e r e   a r e   m a n y   a p p l i c a t i o n   t e a m s   s h a r i n g   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e r e   i s   n a t u r a l   s p e c i a l i z a t i o n   o f   r o l e s w h e n   t h i r d - p a r t y   t o o l s   o r   s e r v i c e s   a r e   u s e d   t o   a u t o m a t e   c l u s t e r   m a n a g e m e n t   P o d   D i s r u p t i o n   B u d g e t s   s u p p o r t   t h i s   s e p a r a t i o n   o f   r o l e s   b y   p r o v i d i n g   a n   i n t e r f a c e   b e t w e e n   t h e   r o l e s .   I f   y o u   d o   n o t   h a v e   s u c h   a   s e p a r a t i o n   o f   r e s p o n s i b i l i t i e s   i n   y o u r   o r g a n i z a t i o n ,   y o u   m a y   n o t   n e e d   t o   u s e   P o d   D i s r u p t i o n   B u d g e t s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/disruptions/",
    "id": "k8s_00312_section_2_5923"
  },
  {
    "question": "What is How to perform Disruptive Actions on your Cluster?",
    "answer": "I f   y o u   a r e   a   C l u s t e r   A d m i n i s t r a t o r ,   a n d   y o u   n e e d   t o   p e r f o r m   a   d i s r u p t i v e   a c t i o n   o n   a l l   t h e   n o d e s   i n   y o u r   c l u s t e r ,   s u c h   a s   a   n o d e   o r   s y s t e m   s o f t w a r e   u p g r a d e ,   h e r e   a r e   s o m e   o p t i o n s :   A c c e p t   d o w n t i m e   d u r i n g   t h e   u p g r a d e . F a i l o v e r   t o   a n o t h e r   c o m p l e t e   r e p l i c a   c l u s t e r . N o   d o w n t i m e ,   b u t   m a y   b e   c o s t l y   b o t h   f o r   t h e   d u p l i c a t e d   n o d e s   a n d   f o r   h u m a n   e f f o r t   t o   o r c h e s t r a t e   t h e   s w i t c h o v e r . W r i t e   d i s r u p t i o n   t o l e r a n t   a p p l i c a t i o n s   a n d   u s e   P D B s . N o   d o w n t i m e . M i n i m a l   r e s o u r c e   d u p l i c a t i o n . A l l o w s   m o r e   a u t o m a t i o n   o f   c l u s t e r   a d m i n i s t r a t i o n . W r i t i n g   d i s r u p t i o n - t o l e r a n t   a p p l i c a t i o n s   i s   t r i c k y ,   b u t   t h e   w o r k   t o   t o l e r a t e   v o l u n t a r y   d i s r u p t i o n s   l a r g e l y   o v e r l a p s   w i t h   w o r k   t o   s u p p o r t   a u t o s c a l i n g   a n d   t o l e r a t i n g   i n v o l u n t a r y   d i s r u p t i o n s .   N o   d o w n t i m e ,   b u t   m a y   b e   c o s t l y   b o t h   f o r   t h e   d u p l i c a t e d   n o d e s   a n d   f o r   h u m a n   e f f o r t   t o   o r c h e s t r a t e   t h e   s w i t c h o v e r .   N o   d o w n t i m e . M i n i m a l   r e s o u r c e   d u p l i c a t i o n . A l l o w s   m o r e   a u t o m a t i o n   o f   c l u s t e r   a d m i n i s t r a t i o n . W r i t i n g   d i s r u p t i o n - t o l e r a n t   a p p l i c a t i o n s   i s   t r i c k y ,   b u t   t h e   w o r k   t o   t o l e r a t e   v o l u n t a r y   d i s r u p t ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/disruptions/",
    "id": "k8s_00312_section_2_5924"
  },
  {
    "question": "What is What's next?",
    "answer": "F o l l o w   s t e p s   t o   p r o t e c t   y o u r   a p p l i c a t i o n   b y   c o n f i g u r i n g   a   P o d   D i s r u p t i o n   B u d g e t . L e a r n   m o r e   a b o u t   d r a i n i n g   n o d e s L e a r n   a b o u t   u p d a t i n g   a   d e p l o y m e n t   i n c l u d i n g   s t e p s   t o   m a i n t a i n   i t s   a v a i l a b i l i t y   d u r i n g   t h e   r o l l o u t .   F o l l o w   s t e p s   t o   p r o t e c t   y o u r   a p p l i c a t i o n   b y   c o n f i g u r i n g   a   P o d   D i s r u p t i o n   B u d g e t .   L e a r n   m o r e   a b o u t   d r a i n i n g   n o d e s   L e a r n   a b o u t   u p d a t i n g   a   d e p l o y m e n t   i n c l u d i n g   s t e p s   t o   m a i n t a i n   i t s   a v a i l a b i l i t y   d u r i n g   t h e   r o l l o u t .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/disruptions/",
    "id": "k8s_00312_section_2_5925"
  },
  {
    "question": "What is Using Minikube to Create a Cluster?",
    "answer": "Using Minikube to Create a ClusterObjectivesLearn what a Kubernetes cluster is.Learn what Minikube is.Start a Kubernetes cluster on your computer.Kubernetes ClustersKubernetes is a production-grade, open-source platform that orchestrates the placement (scheduling) and execution of application containers within and across computer clusters.Kubernetes coordinates a highly available cluster of computers that are connected to work as a single unit. The abstractions in Kubernetes allow you to deploy containerized applications to a cluster without tying them specifically to individual machines. To make use of this new model of deployment, applications need to be packaged in a way that decouples them from individual hosts: they need to be containerized. Containerized applications are more flexible and available than in past deployment models, where applications were installed directly onto specific machines as packages deeply integrated into the host. Kubernetes automates the distribution and scheduling of application containers across a cluster in a more efficient way. Kubernetes is an open-source platform and is production-ready.A Kubernetes cluster consists of two types of resources:The Control Plane coordinates the clusterNodes are the workers that run applicationsCluster DiagramThe Control Plane is responsible for managing the cluster. The Control Plane coordinates all activities in your cluster, such as scheduling applications, maintaining applications' desired state, scaling applications, and rolling out new updates.Control Planes manage the cluster and the nodes that are used to host the running applications.A node is a VM or a physical computer that serves as a worker machine in a Kubernetes cluster. Each node has a Kubelet, which is an agent for managing the node and communicating with the Kubernetes control plane. The node should also have tools for handling container operations, such as containerd or CRI-O. A Kubernetes cluster that handles production traffic should have a minimum of three nodes because if one node goes down, both an etcd member and a control plane instance are lost, and redundancy is compromised. You can mitigate this risk by adding more control plane nodes.When you deploy applications on Kubernetes, you tell the control plane to start the application containers. The control plane schedules the containers to run on the cluster's nodes. Node-level components, such as the kubelet, communicate with the control plane using the Kubernetes API, which the control plane exposes. End users can also use the Kubernetes API directly to interact with the cluster.A Kubernetes cluster can be deployed on either physical or virtual machines. To get started with Kubernetes development, you can use Minikube. Minikube is a lightweight Kubernetes implementation that creates a VM on your local machine and deploys a simple cluster containing only one node. Minikube is available for Linux, macOS, and Windows systems. The Minikube CLI provides basi",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/",
    "id": "k8s_00313_qa_5926"
  },
  {
    "question": "How does Using Minikube to Create a Cluster work?",
    "answer": "Using Minikube to Create a ClusterObjectivesLearn what a Kubernetes cluster is.Learn what Minikube is.Start a Kubernetes cluster on your computer.Kubernetes ClustersKubernetes is a production-grade, open-source platform that orchestrates the placement (scheduling) and execution of application containers within and across computer clusters.Kubernetes coordinates a highly available cluster of computers that are connected to work as a single unit. The abstractions in Kubernetes allow you to deploy containerized applications to a cluster without tying them specifically to individual machines. To make use of this new model of deployment, applications need to be packaged in a way that decouples them from individual hosts: they need to be containerized. Containerized applications are more flexible and available than in past deployment models, where applications were installed directly onto specific machines as packages deeply integrated into the host. Kubernetes automates the distribution and scheduling of application containers across a cluster in a more efficient way. Kubernetes is an open-source platform and is production-ready.A Kubernetes cluster consists of two types of resources:The Control Plane coordinates the clusterNodes are the workers that run applicationsCluster DiagramThe Control Plane is responsible for managing the cluster. The Control Plane coordinates all activities in your cluster, such as scheduling applications, maintaining applications' desired state, scaling applications, and rolling out new updates.Control Planes manage the cluster and the nodes that are used to host the running applications.A node is a VM or a physical computer that serves as a worker machine in a Kubernetes cluster. Each node has a Kubelet, which is an agent for managing the node and communicating with the Kubernetes control plane. The node should also have tools for handling container operations, such as containerd or CRI-O. A Kubernetes cluster that handles production traffic should have a minimum of three nodes because if one node goes down, both an etcd member and a control plane instance are lost, and redundancy is compromised. You can mitigate this risk by adding more control plane nodes.When you deploy applications on Kubernetes, you tell the control plane to start the application containers. The control plane schedules the containers to run on the cluster's nodes. Node-level components, such as the kubelet, communicate with the control plane using the Kubernetes API, which the control plane exposes. End users can also use the Kubernetes API directly to interact with the cluster.A Kubernetes cluster can be deployed on either physical or virtual machines. To get started with Kubernetes development, you can use Minikube. Minikube is a lightweight Kubernetes implementation that creates a VM on your local machine and deploys a simple cluster containing only one node. Minikube is available for Linux, macOS, and Windows systems. The Minikube CLI provides basi",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/",
    "id": "k8s_00313_qa_5927"
  },
  {
    "question": "When would you use Using Minikube to Create a Cluster?",
    "answer": "Using Minikube to Create a ClusterObjectivesLearn what a Kubernetes cluster is.Learn what Minikube is.Start a Kubernetes cluster on your computer.Kubernetes ClustersKubernetes is a production-grade, open-source platform that orchestrates the placement (scheduling) and execution of application containers within and across computer clusters.Kubernetes coordinates a highly available cluster of computers that are connected to work as a single unit. The abstractions in Kubernetes allow you to deploy containerized applications to a cluster without tying them specifically to individual machines. To make use of this new model of deployment, applications need to be packaged in a way that decouples them from individual hosts: they need to be containerized. Containerized applications are more flexible and available than in past deployment models, where applications were installed directly onto specific machines as packages deeply integrated into the host. Kubernetes automates the distribution and scheduling of application containers across a cluster in a more efficient way. Kubernetes is an open-source platform and is production-ready.A Kubernetes cluster consists of two types of resources:The Control Plane coordinates the clusterNodes are the workers that run applicationsCluster DiagramThe Control Plane is responsible for managing the cluster. The Control Plane coordinates all activities in your cluster, such as scheduling applications, maintaining applications' desired state, scaling applications, and rolling out new updates.Control Planes manage the cluster and the nodes that are used to host the running applications.A node is a VM or a physical computer that serves as a worker machine in a Kubernetes cluster. Each node has a Kubelet, which is an agent for managing the node and communicating with the Kubernetes control plane. The node should also have tools for handling container operations, such as containerd or CRI-O. A Kubernetes cluster that handles production traffic should have a minimum of three nodes because if one node goes down, both an etcd member and a control plane instance are lost, and redundancy is compromised. You can mitigate this risk by adding more control plane nodes.When you deploy applications on Kubernetes, you tell the control plane to start the application containers. The control plane schedules the containers to run on the cluster's nodes. Node-level components, such as the kubelet, communicate with the control plane using the Kubernetes API, which the control plane exposes. End users can also use the Kubernetes API directly to interact with the cluster.A Kubernetes cluster can be deployed on either physical or virtual machines. To get started with Kubernetes development, you can use Minikube. Minikube is a lightweight Kubernetes implementation that creates a VM on your local machine and deploys a simple cluster containing only one node. Minikube is available for Linux, macOS, and Windows systems. The Minikube CLI provides basi",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/",
    "id": "k8s_00313_qa_5928"
  },
  {
    "question": "What are the benefits of Using Minikube to Create a Cluster?",
    "answer": "Using Minikube to Create a ClusterObjectivesLearn what a Kubernetes cluster is.Learn what Minikube is.Start a Kubernetes cluster on your computer.Kubernetes ClustersKubernetes is a production-grade, open-source platform that orchestrates the placement (scheduling) and execution of application containers within and across computer clusters.Kubernetes coordinates a highly available cluster of computers that are connected to work as a single unit. The abstractions in Kubernetes allow you to deploy containerized applications to a cluster without tying them specifically to individual machines. To make use of this new model of deployment, applications need to be packaged in a way that decouples them from individual hosts: they need to be containerized. Containerized applications are more flexible and available than in past deployment models, where applications were installed directly onto specific machines as packages deeply integrated into the host. Kubernetes automates the distribution and scheduling of application containers across a cluster in a more efficient way. Kubernetes is an open-source platform and is production-ready.A Kubernetes cluster consists of two types of resources:The Control Plane coordinates the clusterNodes are the workers that run applicationsCluster DiagramThe Control Plane is responsible for managing the cluster. The Control Plane coordinates all activities in your cluster, such as scheduling applications, maintaining applications' desired state, scaling applications, and rolling out new updates.Control Planes manage the cluster and the nodes that are used to host the running applications.A node is a VM or a physical computer that serves as a worker machine in a Kubernetes cluster. Each node has a Kubelet, which is an agent for managing the node and communicating with the Kubernetes control plane. The node should also have tools for handling container operations, such as containerd or CRI-O. A Kubernetes cluster that handles production traffic should have a minimum of three nodes because if one node goes down, both an etcd member and a control plane instance are lost, and redundancy is compromised. You can mitigate this risk by adding more control plane nodes.When you deploy applications on Kubernetes, you tell the control plane to start the application containers. The control plane schedules the containers to run on the cluster's nodes. Node-level components, such as the kubelet, communicate with the control plane using the Kubernetes API, which the control plane exposes. End users can also use the Kubernetes API directly to interact with the cluster.A Kubernetes cluster can be deployed on either physical or virtual machines. To get started with Kubernetes development, you can use Minikube. Minikube is a lightweight Kubernetes implementation that creates a VM on your local machine and deploys a simple cluster containing only one node. Minikube is available for Linux, macOS, and Windows systems. The Minikube CLI provides basi",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/",
    "id": "k8s_00313_qa_5929"
  },
  {
    "question": "What is Objectives?",
    "answer": "L e a r n   w h a t   a   K u b e r n e t e s   c l u s t e r   i s . L e a r n   w h a t   M i n i k u b e   i s . S t a r t   a   K u b e r n e t e s   c l u s t e r   o n   y o u r   c o m p u t e r .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/",
    "id": "k8s_00313_section_2_5930"
  },
  {
    "question": "What is Kubernetes Clusters?",
    "answer": "K u b e r n e t e s   c o o r d i n a t e s   a   h i g h l y   a v a i l a b l e   c l u s t e r   o f   c o m p u t e r s   t h a t   a r e   c o n n e c t e d   t o   w o r k   a s   a   s i n g l e   u n i t .   T h e   a b s t r a c t i o n s   i n   K u b e r n e t e s   a l l o w   y o u   t o   d e p l o y   c o n t a i n e r i z e d   a p p l i c a t i o n s   t o   a   c l u s t e r   w i t h o u t   t y i n g   t h e m   s p e c i f i c a l l y   t o   i n d i v i d u a l   m a c h i n e s .   T o   m a k e   u s e   o f   t h i s   n e w   m o d e l   o f   d e p l o y m e n t ,   a p p l i c a t i o n s   n e e d   t o   b e   p a c k a g e d   i n   a   w a y   t h a t   d e c o u p l e s   t h e m   f r o m   i n d i v i d u a l   h o s t s :   t h e y   n e e d   t o   b e   c o n t a i n e r i z e d .   C o n t a i n e r i z e d   a p p l i c a t i o n s   a r e   m o r e   f l e x i b l e   a n d   a v a i l a b l e   t h a n   i n   p a s t   d e p l o y m e n t   m o d e l s ,   w h e r e   a p p l i c a t i o n s   w e r e   i n s t a l l e d   d i r e c t l y   o n t o   s p e c i f i c   m a c h i n e s   a s   p a c k a g e s   d e e p l y   i n t e g r a t e d   i n t o   t h e   h o s t .   K u b e r n e t e s   a u t o m a t e s   t h e   d i s t r i b u t i o n   a n d   s c h e d u l i n g   o f   a p p l i c a t i o n   c o n t a i n e r s   a c r o s s   a   c l u s t e r   i n   a   m o r e   e f f i c i e n t   w a y .   K u b e r n e t e s   i s   a n   o p e n - s o u r c e   p l a t f o r m   a n d   i s   p r o d u c t i o n - r e a d y .   A   K u b e r n e t e s   c l u s t e r   c o n s i s t s   o f   t w o   t y p e s   o f   r e s o u r c e s :   T h e   C o n t r o l   P l a n e   c o o r d i n a t e s   t h e   c l u s t e r N o d e s   a r e   t h e   w o r k e r s   t h a t   r u n   a p p l i c a t i o n s",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/",
    "id": "k8s_00313_section_2_5931"
  },
  {
    "question": "What is Cluster Diagram?",
    "answer": "T h e   C o n t r o l   P l a n e   i s   r e s p o n s i b l e   f o r   m a n a g i n g   t h e   c l u s t e r .   T h e   C o n t r o l   P l a n e   c o o r d i n a t e s   a l l   a c t i v i t i e s   i n   y o u r   c l u s t e r ,   s u c h   a s   s c h e d u l i n g   a p p l i c a t i o n s ,   m a i n t a i n i n g   a p p l i c a t i o n s '   d e s i r e d   s t a t e ,   s c a l i n g   a p p l i c a t i o n s ,   a n d   r o l l i n g   o u t   n e w   u p d a t e s .   A   n o d e   i s   a   V M   o r   a   p h y s i c a l   c o m p u t e r   t h a t   s e r v e s   a s   a   w o r k e r   m a c h i n e   i n   a   K u b e r n e t e s   c l u s t e r .   E a c h   n o d e   h a s   a   K u b e l e t ,   w h i c h   i s   a n   a g e n t   f o r   m a n a g i n g   t h e   n o d e   a n d   c o m m u n i c a t i n g   w i t h   t h e   K u b e r n e t e s   c o n t r o l   p l a n e .   T h e   n o d e   s h o u l d   a l s o   h a v e   t o o l s   f o r   h a n d l i n g   c o n t a i n e r   o p e r a t i o n s ,   s u c h   a s   c o n t a i n e r d   o r   C R I - O .   A   K u b e r n e t e s   c l u s t e r   t h a t   h a n d l e s   p r o d u c t i o n   t r a f f i c   s h o u l d   h a v e   a   m i n i m u m   o f   t h r e e   n o d e s   b e c a u s e   i f   o n e   n o d e   g o e s   d o w n ,   b o t h   a n   e t c d   m e m b e r   a n d   a   c o n t r o l   p l a n e   i n s t a n c e   a r e   l o s t ,   a n d   r e d u n d a n c y   i s   c o m p r o m i s e d .   Y o u   c a n   m i t i g a t e   t h i s   r i s k   b y   a d d i n g   m o r e   c o n t r o l   p l a n e   n o d e s .   W h e n   y o u   d e p l o y   a p p l i c a t i o n s   o n   K u b e r n e t e s ,   y o u   t e l l   t h e   c o n t r o l   p l a n e   t o   s t a r t   t h e   a p p l i c a t i o n   c o n t a i n e r s .   T h e   c o n t r o l   p l a n e   s c h e d u l e s   t h e   c o n t a i n e r s   t o   r u n   o n   t h e   c l u s t e ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/",
    "id": "k8s_00313_section_3_5932"
  },
  {
    "question": "What is What's next?",
    "answer": "T u t o r i a l   H e l l o   M i n i k u b e . L e a r n   m o r e   a b o u t   C l u s t e r   A r c h i t e c t u r e .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/",
    "id": "k8s_00313_section_2_5933"
  },
  {
    "question": "What is Well-Known Labels, Annotations and Taints?",
    "answer": "Well-Known Labels, Annotations and TaintsKubernetes reserves all labels, annotations and taints in the kubernetes.io and k8s.io namespaces.This document serves both as a reference to the values and as a coordination point for assigning values.Labels, annotations and taints used on API objectsapf.kubernetes.io/autoupdate-specType: AnnotationExample: apf.kubernetes.io/autoupdate-spec: \"true\"Used on: FlowSchema and PriorityLevelConfiguration ObjectsIf this annotation is set to true on a FlowSchema or PriorityLevelConfiguration, the spec for that object is managed by the kube-apiserver. If the API server does not recognize an APF object, and you annotate it for automatic update, the API server deletes the entire object. Otherwise, the API server does not manage the object spec. For more details, read Maintenance of the Mandatory and Suggested Configuration Objects.app.kubernetes.io/componentType: LabelExample: app.kubernetes.io/component: \"database\"Used on: All Objects (typically used on workload resources).The component within the application architecture.One of the recommended labels.app.kubernetes.io/created-by (deprecated)Type: LabelExample: app.kubernetes.io/created-by: \"controller-manager\"Used on: All Objects (typically used on workload resources).The controller/user who created this resource.Note:Starting from v1.9, this label is deprecated.app.kubernetes.io/instanceType: LabelExample: app.kubernetes.io/instance: \"mysql-abcxyz\"Used on: All Objects (typically used on workload resources).A unique name identifying the instance of an application. To assign a non-unique name, use app.kubernetes.io/name.One of the recommended labels.app.kubernetes.io/managed-byType: LabelExample: app.kubernetes.io/managed-by: \"helm\"Used on: All Objects (typically used on workload resources).The tool being used to manage the operation of an application.One of the recommended labels.app.kubernetes.io/nameType: LabelExample: app.kubernetes.io/name: \"mysql\"Used on: All Objects (typically used on workload resources).The name of the application.One of the recommended labels.app.kubernetes.io/part-ofType: LabelExample: app.kubernetes.io/part-of: \"wordpress\"Used on: All Objects (typically used on workload resources).The name of a higher-level application this object is part of.One of the recommended labels.app.kubernetes.io/versionType: LabelExample: app.kubernetes.io/version: \"5.7.21\"Used on: All Objects (typically used on workload resources).The current version of the application.Common forms of values include:semantic versionthe Git revision hash for the source code.One of the recommended labels.applyset.kubernetes.io/additional-namespaces (alpha)Type: AnnotationExample: applyset.kubernetes.io/additional-namespaces: \"namespace1,namespace2\"Used on: Objects being used as ApplySet parents.Use of this annotation is Alpha. For Kubernetes version 1.34, you can use this annotation on Secrets, ConfigMaps, or custom resources if the CustomResourceDefinition defining them has the ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_qa_5934"
  },
  {
    "question": "How does Well-Known Labels, Annotations and Taints work?",
    "answer": "Well-Known Labels, Annotations and TaintsKubernetes reserves all labels, annotations and taints in the kubernetes.io and k8s.io namespaces.This document serves both as a reference to the values and as a coordination point for assigning values.Labels, annotations and taints used on API objectsapf.kubernetes.io/autoupdate-specType: AnnotationExample: apf.kubernetes.io/autoupdate-spec: \"true\"Used on: FlowSchema and PriorityLevelConfiguration ObjectsIf this annotation is set to true on a FlowSchema or PriorityLevelConfiguration, the spec for that object is managed by the kube-apiserver. If the API server does not recognize an APF object, and you annotate it for automatic update, the API server deletes the entire object. Otherwise, the API server does not manage the object spec. For more details, read Maintenance of the Mandatory and Suggested Configuration Objects.app.kubernetes.io/componentType: LabelExample: app.kubernetes.io/component: \"database\"Used on: All Objects (typically used on workload resources).The component within the application architecture.One of the recommended labels.app.kubernetes.io/created-by (deprecated)Type: LabelExample: app.kubernetes.io/created-by: \"controller-manager\"Used on: All Objects (typically used on workload resources).The controller/user who created this resource.Note:Starting from v1.9, this label is deprecated.app.kubernetes.io/instanceType: LabelExample: app.kubernetes.io/instance: \"mysql-abcxyz\"Used on: All Objects (typically used on workload resources).A unique name identifying the instance of an application. To assign a non-unique name, use app.kubernetes.io/name.One of the recommended labels.app.kubernetes.io/managed-byType: LabelExample: app.kubernetes.io/managed-by: \"helm\"Used on: All Objects (typically used on workload resources).The tool being used to manage the operation of an application.One of the recommended labels.app.kubernetes.io/nameType: LabelExample: app.kubernetes.io/name: \"mysql\"Used on: All Objects (typically used on workload resources).The name of the application.One of the recommended labels.app.kubernetes.io/part-ofType: LabelExample: app.kubernetes.io/part-of: \"wordpress\"Used on: All Objects (typically used on workload resources).The name of a higher-level application this object is part of.One of the recommended labels.app.kubernetes.io/versionType: LabelExample: app.kubernetes.io/version: \"5.7.21\"Used on: All Objects (typically used on workload resources).The current version of the application.Common forms of values include:semantic versionthe Git revision hash for the source code.One of the recommended labels.applyset.kubernetes.io/additional-namespaces (alpha)Type: AnnotationExample: applyset.kubernetes.io/additional-namespaces: \"namespace1,namespace2\"Used on: Objects being used as ApplySet parents.Use of this annotation is Alpha. For Kubernetes version 1.34, you can use this annotation on Secrets, ConfigMaps, or custom resources if the CustomResourceDefinition defining them has the ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_qa_5935"
  },
  {
    "question": "When would you use Well-Known Labels, Annotations and Taints?",
    "answer": "Well-Known Labels, Annotations and TaintsKubernetes reserves all labels, annotations and taints in the kubernetes.io and k8s.io namespaces.This document serves both as a reference to the values and as a coordination point for assigning values.Labels, annotations and taints used on API objectsapf.kubernetes.io/autoupdate-specType: AnnotationExample: apf.kubernetes.io/autoupdate-spec: \"true\"Used on: FlowSchema and PriorityLevelConfiguration ObjectsIf this annotation is set to true on a FlowSchema or PriorityLevelConfiguration, the spec for that object is managed by the kube-apiserver. If the API server does not recognize an APF object, and you annotate it for automatic update, the API server deletes the entire object. Otherwise, the API server does not manage the object spec. For more details, read Maintenance of the Mandatory and Suggested Configuration Objects.app.kubernetes.io/componentType: LabelExample: app.kubernetes.io/component: \"database\"Used on: All Objects (typically used on workload resources).The component within the application architecture.One of the recommended labels.app.kubernetes.io/created-by (deprecated)Type: LabelExample: app.kubernetes.io/created-by: \"controller-manager\"Used on: All Objects (typically used on workload resources).The controller/user who created this resource.Note:Starting from v1.9, this label is deprecated.app.kubernetes.io/instanceType: LabelExample: app.kubernetes.io/instance: \"mysql-abcxyz\"Used on: All Objects (typically used on workload resources).A unique name identifying the instance of an application. To assign a non-unique name, use app.kubernetes.io/name.One of the recommended labels.app.kubernetes.io/managed-byType: LabelExample: app.kubernetes.io/managed-by: \"helm\"Used on: All Objects (typically used on workload resources).The tool being used to manage the operation of an application.One of the recommended labels.app.kubernetes.io/nameType: LabelExample: app.kubernetes.io/name: \"mysql\"Used on: All Objects (typically used on workload resources).The name of the application.One of the recommended labels.app.kubernetes.io/part-ofType: LabelExample: app.kubernetes.io/part-of: \"wordpress\"Used on: All Objects (typically used on workload resources).The name of a higher-level application this object is part of.One of the recommended labels.app.kubernetes.io/versionType: LabelExample: app.kubernetes.io/version: \"5.7.21\"Used on: All Objects (typically used on workload resources).The current version of the application.Common forms of values include:semantic versionthe Git revision hash for the source code.One of the recommended labels.applyset.kubernetes.io/additional-namespaces (alpha)Type: AnnotationExample: applyset.kubernetes.io/additional-namespaces: \"namespace1,namespace2\"Used on: Objects being used as ApplySet parents.Use of this annotation is Alpha. For Kubernetes version 1.34, you can use this annotation on Secrets, ConfigMaps, or custom resources if the CustomResourceDefinition defining them has the ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_qa_5936"
  },
  {
    "question": "What are the benefits of Well-Known Labels, Annotations and Taints?",
    "answer": "Well-Known Labels, Annotations and TaintsKubernetes reserves all labels, annotations and taints in the kubernetes.io and k8s.io namespaces.This document serves both as a reference to the values and as a coordination point for assigning values.Labels, annotations and taints used on API objectsapf.kubernetes.io/autoupdate-specType: AnnotationExample: apf.kubernetes.io/autoupdate-spec: \"true\"Used on: FlowSchema and PriorityLevelConfiguration ObjectsIf this annotation is set to true on a FlowSchema or PriorityLevelConfiguration, the spec for that object is managed by the kube-apiserver. If the API server does not recognize an APF object, and you annotate it for automatic update, the API server deletes the entire object. Otherwise, the API server does not manage the object spec. For more details, read Maintenance of the Mandatory and Suggested Configuration Objects.app.kubernetes.io/componentType: LabelExample: app.kubernetes.io/component: \"database\"Used on: All Objects (typically used on workload resources).The component within the application architecture.One of the recommended labels.app.kubernetes.io/created-by (deprecated)Type: LabelExample: app.kubernetes.io/created-by: \"controller-manager\"Used on: All Objects (typically used on workload resources).The controller/user who created this resource.Note:Starting from v1.9, this label is deprecated.app.kubernetes.io/instanceType: LabelExample: app.kubernetes.io/instance: \"mysql-abcxyz\"Used on: All Objects (typically used on workload resources).A unique name identifying the instance of an application. To assign a non-unique name, use app.kubernetes.io/name.One of the recommended labels.app.kubernetes.io/managed-byType: LabelExample: app.kubernetes.io/managed-by: \"helm\"Used on: All Objects (typically used on workload resources).The tool being used to manage the operation of an application.One of the recommended labels.app.kubernetes.io/nameType: LabelExample: app.kubernetes.io/name: \"mysql\"Used on: All Objects (typically used on workload resources).The name of the application.One of the recommended labels.app.kubernetes.io/part-ofType: LabelExample: app.kubernetes.io/part-of: \"wordpress\"Used on: All Objects (typically used on workload resources).The name of a higher-level application this object is part of.One of the recommended labels.app.kubernetes.io/versionType: LabelExample: app.kubernetes.io/version: \"5.7.21\"Used on: All Objects (typically used on workload resources).The current version of the application.Common forms of values include:semantic versionthe Git revision hash for the source code.One of the recommended labels.applyset.kubernetes.io/additional-namespaces (alpha)Type: AnnotationExample: applyset.kubernetes.io/additional-namespaces: \"namespace1,namespace2\"Used on: Objects being used as ApplySet parents.Use of this annotation is Alpha. For Kubernetes version 1.34, you can use this annotation on Secrets, ConfigMaps, or custom resources if the CustomResourceDefinition defining them has the ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_qa_5937"
  },
  {
    "question": "What is Well-Known Labels, Annotations and Taints?",
    "answer": "K u b e r n e t e s   r e s e r v e s   a l l   l a b e l s ,   a n n o t a t i o n s   a n d   t a i n t s   i n   t h e   k u b e r n e t e s . i o   a n d   k 8 s . i o   n a m e s p a c e s .   T h i s   d o c u m e n t   s e r v e s   b o t h   a s   a   r e f e r e n c e   t o   t h e   v a l u e s   a n d   a s   a   c o o r d i n a t i o n   p o i n t   f o r   a s s i g n i n g   v a l u e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_1_5938"
  },
  {
    "question": "What is apf.kubernetes.io/autoupdate-spec?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   a p f . k u b e r n e t e s . i o / a u t o u p d a t e - s p e c :   \" t r u e \"   U s e d   o n :   F l o w S c h e m a   a n d   P r i o r i t y L e v e l C o n f i g u r a t i o n   O b j e c t s   I f   t h i s   a n n o t a t i o n   i s   s e t   t o   t r u e   o n   a   F l o w S c h e m a   o r   P r i o r i t y L e v e l C o n f i g u r a t i o n ,   t h e   s p e c   f o r   t h a t   o b j e c t   i s   m a n a g e d   b y   t h e   k u b e - a p i s e r v e r .   I f   t h e   A P I   s e r v e r   d o e s   n o t   r e c o g n i z e   a n   A P F   o b j e c t ,   a n d   y o u   a n n o t a t e   i t   f o r   a u t o m a t i c   u p d a t e ,   t h e   A P I   s e r v e r   d e l e t e s   t h e   e n t i r e   o b j e c t .   O t h e r w i s e ,   t h e   A P I   s e r v e r   d o e s   n o t   m a n a g e   t h e   o b j e c t   s p e c .   F o r   m o r e   d e t a i l s ,   r e a d   M a i n t e n a n c e   o f   t h e   M a n d a t o r y   a n d   S u g g e s t e d   C o n f i g u r a t i o n   O b j e c t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5939"
  },
  {
    "question": "What is app.kubernetes.io/component?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   a p p . k u b e r n e t e s . i o / c o m p o n e n t :   \" d a t a b a s e \"   U s e d   o n :   A l l   O b j e c t s   ( t y p i c a l l y   u s e d   o n   w o r k l o a d   r e s o u r c e s ) .   T h e   c o m p o n e n t   w i t h i n   t h e   a p p l i c a t i o n   a r c h i t e c t u r e .   O n e   o f   t h e   r e c o m m e n d e d   l a b e l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5940"
  },
  {
    "question": "What is app.kubernetes.io/created-by (deprecated)?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   a p p . k u b e r n e t e s . i o / c r e a t e d - b y :   \" c o n t r o l l e r - m a n a g e r \"   U s e d   o n :   A l l   O b j e c t s   ( t y p i c a l l y   u s e d   o n   w o r k l o a d   r e s o u r c e s ) .   T h e   c o n t r o l l e r / u s e r   w h o   c r e a t e d   t h i s   r e s o u r c e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5941"
  },
  {
    "question": "What is app.kubernetes.io/instance?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   a p p . k u b e r n e t e s . i o / i n s t a n c e :   \" m y s q l - a b c x y z \"   U s e d   o n :   A l l   O b j e c t s   ( t y p i c a l l y   u s e d   o n   w o r k l o a d   r e s o u r c e s ) .   A   u n i q u e   n a m e   i d e n t i f y i n g   t h e   i n s t a n c e   o f   a n   a p p l i c a t i o n .   T o   a s s i g n   a   n o n - u n i q u e   n a m e ,   u s e   a p p . k u b e r n e t e s . i o / n a m e .   O n e   o f   t h e   r e c o m m e n d e d   l a b e l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5942"
  },
  {
    "question": "What is app.kubernetes.io/managed-by?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   a p p . k u b e r n e t e s . i o / m a n a g e d - b y :   \" h e l m \"   U s e d   o n :   A l l   O b j e c t s   ( t y p i c a l l y   u s e d   o n   w o r k l o a d   r e s o u r c e s ) .   T h e   t o o l   b e i n g   u s e d   t o   m a n a g e   t h e   o p e r a t i o n   o f   a n   a p p l i c a t i o n .   O n e   o f   t h e   r e c o m m e n d e d   l a b e l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5943"
  },
  {
    "question": "What is app.kubernetes.io/name?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   a p p . k u b e r n e t e s . i o / n a m e :   \" m y s q l \"   U s e d   o n :   A l l   O b j e c t s   ( t y p i c a l l y   u s e d   o n   w o r k l o a d   r e s o u r c e s ) .   T h e   n a m e   o f   t h e   a p p l i c a t i o n .   O n e   o f   t h e   r e c o m m e n d e d   l a b e l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5944"
  },
  {
    "question": "What is app.kubernetes.io/part-of?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   a p p . k u b e r n e t e s . i o / p a r t - o f :   \" w o r d p r e s s \"   U s e d   o n :   A l l   O b j e c t s   ( t y p i c a l l y   u s e d   o n   w o r k l o a d   r e s o u r c e s ) .   T h e   n a m e   o f   a   h i g h e r - l e v e l   a p p l i c a t i o n   t h i s   o b j e c t   i s   p a r t   o f .   O n e   o f   t h e   r e c o m m e n d e d   l a b e l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5945"
  },
  {
    "question": "What is app.kubernetes.io/version?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   a p p . k u b e r n e t e s . i o / v e r s i o n :   \" 5 . 7 . 2 1 \"   U s e d   o n :   A l l   O b j e c t s   ( t y p i c a l l y   u s e d   o n   w o r k l o a d   r e s o u r c e s ) .   T h e   c u r r e n t   v e r s i o n   o f   t h e   a p p l i c a t i o n .   C o m m o n   f o r m s   o f   v a l u e s   i n c l u d e :   s e m a n t i c   v e r s i o n t h e   G i t   r e v i s i o n   h a s h   f o r   t h e   s o u r c e   c o d e .   O n e   o f   t h e   r e c o m m e n d e d   l a b e l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5946"
  },
  {
    "question": "What is applyset.kubernetes.io/additional-namespaces (alpha)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   a p p l y s e t . k u b e r n e t e s . i o / a d d i t i o n a l - n a m e s p a c e s :   \" n a m e s p a c e 1 , n a m e s p a c e 2 \"   U s e d   o n :   O b j e c t s   b e i n g   u s e d   a s   A p p l y S e t   p a r e n t s .   U s e   o f   t h i s   a n n o t a t i o n   i s   A l p h a .   F o r   K u b e r n e t e s   v e r s i o n   1 . 3 4 ,   y o u   c a n   u s e   t h i s   a n n o t a t i o n   o n   S e c r e t s ,   C o n f i g M a p s ,   o r   c u s t o m   r e s o u r c e s   i f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   d e f i n i n g   t h e m   h a s   t h e   a p p l y s e t . k u b e r n e t e s . i o / i s - p a r e n t - t y p e   l a b e l .   P a r t   o f   t h e   s p e c i f i c a t i o n   u s e d   t o   i m p l e m e n t   A p p l y S e t - b a s e d   p r u n i n g   i n   k u b e c t l .   T h i s   a n n o t a t i o n   i s   a p p l i e d   t o   t h e   p a r e n t   o b j e c t   u s e d   t o   t r a c k   a n   A p p l y S e t   t o   e x t e n d   t h e   s c o p e   o f   t h e   A p p l y S e t   b e y o n d   t h e   p a r e n t   o b j e c t ' s   o w n   n a m e s p a c e   ( i f   a n y ) .   T h e   v a l u e   i s   a   c o m m a - s e p a r a t e d   l i s t   o f   t h e   n a m e s   o f   n a m e s p a c e s   o t h e r   t h a n   t h e   p a r e n t ' s   n a m e s p a c e   i n   w h i c h   o b j e c t s   a r e   f o u n d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5947"
  },
  {
    "question": "What is applyset.kubernetes.io/contains-group-kinds (alpha)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   a p p l y s e t . k u b e r n e t e s . i o / c o n t a i n s - g r o u p - k i n d s :   \" c e r t i f i c a t e s . c e r t - m a n a g e r . i o , c o n f i g m a p s , d e p l o y m e n t s . a p p s , s e c r e t s , s e r v i c e s \"   U s e d   o n :   O b j e c t s   b e i n g   u s e d   a s   A p p l y S e t   p a r e n t s .   U s e   o f   t h i s   a n n o t a t i o n   i s   A l p h a .   F o r   K u b e r n e t e s   v e r s i o n   1 . 3 4 ,   y o u   c a n   u s e   t h i s   a n n o t a t i o n   o n   S e c r e t s ,   C o n f i g M a p s ,   o r   c u s t o m   r e s o u r c e s   i f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   d e f i n i n g   t h e m   h a s   t h e   a p p l y s e t . k u b e r n e t e s . i o / i s - p a r e n t - t y p e   l a b e l .   P a r t   o f   t h e   s p e c i f i c a t i o n   u s e d   t o   i m p l e m e n t   A p p l y S e t - b a s e d   p r u n i n g   i n   k u b e c t l .   T h i s   a n n o t a t i o n   i s   a p p l i e d   t o   t h e   p a r e n t   o b j e c t   u s e d   t o   t r a c k   a n   A p p l y S e t   t o   o p t i m i z e   l i s t i n g   o f   A p p l y S e t   m e m b e r   o b j e c t s .   I t   i s   o p t i o n a l   i n   t h e   A p p l y S e t   s p e c i f i c a t i o n ,   a s   t o o l s   c a n   p e r f o r m   d i s c o v e r y   o r   u s e   a   d i f f e r e n t   o p t i m i z a t i o n .   H o w e v e r ,   a s   o f   K u b e r n e t e s   v e r s i o n   1 . 3 4 ,   i t   i s   r e q u i r e d   b y   k u b e c t l .   W h e n   p r e s e n t ,   t h e   v a l u e   o f   t h i s   a n n o t a t i o n   m u s t   b e   a   c o m m a   s e p a r a t e d   l i s t   o f   t h e   g r o u p - k i n d s ,   i n   t h e   f u l l y - q u a l i f i e d   n a m e   f o r m a t ,   i . e .   < r e s o u r c e > . < g r o u p > .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5948"
  },
  {
    "question": "What is applyset.kubernetes.io/contains-group-resources (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   a p p l y s e t . k u b e r n e t e s . i o / c o n t a i n s - g r o u p - r e s o u r c e s :   \" c e r t i f i c a t e s . c e r t - m a n a g e r . i o , c o n f i g m a p s , d e p l o y m e n t s . a p p s , s e c r e t s , s e r v i c e s \"   U s e d   o n :   O b j e c t s   b e i n g   u s e d   a s   A p p l y S e t   p a r e n t s .   F o r   K u b e r n e t e s   v e r s i o n   1 . 3 4 ,   y o u   c a n   u s e   t h i s   a n n o t a t i o n   o n   S e c r e t s ,   C o n f i g M a p s ,   o r   c u s t o m   r e s o u r c e s   i f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   d e f i n i n g   t h e m   h a s   t h e   a p p l y s e t . k u b e r n e t e s . i o / i s - p a r e n t - t y p e   l a b e l .   P a r t   o f   t h e   s p e c i f i c a t i o n   u s e d   t o   i m p l e m e n t   A p p l y S e t - b a s e d   p r u n i n g   i n   k u b e c t l .   T h i s   a n n o t a t i o n   i s   a p p l i e d   t o   t h e   p a r e n t   o b j e c t   u s e d   t o   t r a c k   a n   A p p l y S e t   t o   o p t i m i z e   l i s t i n g   o f   A p p l y S e t   m e m b e r   o b j e c t s .   I t   i s   o p t i o n a l   i n   t h e   A p p l y S e t   s p e c i f i c a t i o n ,   a s   t o o l s   c a n   p e r f o r m   d i s c o v e r y   o r   u s e   a   d i f f e r e n t   o p t i m i z a t i o n .   H o w e v e r ,   i n   K u b e r n e t e s   v e r s i o n   1 . 3 4 ,   i t   i s   r e q u i r e d   b y   k u b e c t l .   W h e n   p r e s e n t ,   t h e   v a l u e   o f   t h i s   a n n o t a t i o n   m u s t   b e   a   c o m m a   s e p a r a t e d   l i s t   o f   t h e   g r o u p - k i n d s ,   i n   t h e   f u l l y - q u a l i f i e d   n a m e   f o r m a t ,   i . e .   < r e s o u r c e > . < g r o u p > .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5949"
  },
  {
    "question": "What is applyset.kubernetes.io/id (alpha)?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   a p p l y s e t . k u b e r n e t e s . i o / i d :   \" a p p l y s e t - 0 e F H V 8 y S q p 7 X o S h s G v y W F Q D 3 s 9 6 y q w H m z c 4 e 0 H R 1 d s Y - v 1 \"   U s e d   o n :   O b j e c t s   b e i n g   u s e d   a s   A p p l y S e t   p a r e n t s .   U s e   o f   t h i s   l a b e l   i s   A l p h a .   F o r   K u b e r n e t e s   v e r s i o n   1 . 3 4 ,   y o u   c a n   u s e   t h i s   l a b e l   o n   S e c r e t s ,   C o n f i g M a p s ,   o r   c u s t o m   r e s o u r c e s   i f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   d e f i n i n g   t h e m   h a s   t h e   a p p l y s e t . k u b e r n e t e s . i o / i s - p a r e n t - t y p e   l a b e l .   P a r t   o f   t h e   s p e c i f i c a t i o n   u s e d   t o   i m p l e m e n t   A p p l y S e t - b a s e d   p r u n i n g   i n   k u b e c t l .   T h i s   l a b e l   i s   w h a t   m a k e s   a n   o b j e c t   a n   A p p l y S e t   p a r e n t   o b j e c t .   I t s   v a l u e   i s   t h e   u n i q u e   I D   o f   t h e   A p p l y S e t ,   w h i c h   i s   d e r i v e d   f r o m   t h e   i d e n t i t y   o f   t h e   p a r e n t   o b j e c t   i t s e l f .   T h i s   I D   m u s t   b e   t h e   b a s e 6 4   e n c o d i n g   ( u s i n g   t h e   U R L   s a f e   e n c o d i n g   o f   R F C 4 6 4 8 )   o f   t h e   h a s h   o f   t h e   g r o u p - k i n d - n a m e - n a m e s p a c e   o f   t h e   o b j e c t   i t   i s   o n ,   i n   t h e   f o r m :   < b a s e 6 4 ( s h a 2 5 6 ( < n a m e > . < n a m e s p a c e > . < k i n d > . < g r o u p > ) ) > .   T h e r e   i s   n o   r e l a t i o n   b e t w e e n   t h e   v a l u e   o f   t h i s   l a b e l   a n d   o b j e c t   U I D .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5950"
  },
  {
    "question": "What is applyset.kubernetes.io/is-parent-type (alpha)?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   a p p l y s e t . k u b e r n e t e s . i o / i s - p a r e n t - t y p e :   \" t r u e \"   U s e d   o n :   C u s t o m   R e s o u r c e   D e f i n i t i o n   ( C R D )   U s e   o f   t h i s   l a b e l   i s   A l p h a .   P a r t   o f   t h e   s p e c i f i c a t i o n   u s e d   t o   i m p l e m e n t   A p p l y S e t - b a s e d   p r u n i n g   i n   k u b e c t l .   Y o u   c a n   s e t   t h i s   l a b e l   o n   a   C u s t o m R e s o u r c e D e f i n i t i o n   ( C R D )   t o   i d e n t i f y   t h e   c u s t o m   r e s o u r c e   t y p e   i t   d e f i n e s   ( n o t   t h e   C R D   i t s e l f )   a s   a n   a l l o w e d   p a r e n t   f o r   a n   A p p l y S e t .   T h e   o n l y   p e r m i t t e d   v a l u e   f o r   t h i s   l a b e l   i s   \" t r u e \" ;   i f   y o u   w a n t   t o   m a r k   a   C R D   a s   n o t   b e i n g   a   v a l i d   p a r e n t   f o r   A p p l y S e t s ,   o m i t   t h i s   l a b e l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5951"
  },
  {
    "question": "What is applyset.kubernetes.io/part-of (alpha)?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   a p p l y s e t . k u b e r n e t e s . i o / p a r t - o f :   \" a p p l y s e t - 0 e F H V 8 y S q p 7 X o S h s G v y W F Q D 3 s 9 6 y q w H m z c 4 e 0 H R 1 d s Y - v 1 \"   U s e d   o n :   A l l   o b j e c t s .   U s e   o f   t h i s   l a b e l   i s   A l p h a .   P a r t   o f   t h e   s p e c i f i c a t i o n   u s e d   t o   i m p l e m e n t   A p p l y S e t - b a s e d   p r u n i n g   i n   k u b e c t l .   T h i s   l a b e l   i s   w h a t   m a k e s   a n   o b j e c t   a   m e m b e r   o f   a n   A p p l y S e t .   T h e   v a l u e   o f   t h e   l a b e l   m u s t   m a t c h   t h e   v a l u e   o f   t h e   a p p l y s e t . k u b e r n e t e s . i o / i d   l a b e l   o n   t h e   p a r e n t   o b j e c t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5952"
  },
  {
    "question": "What is applyset.kubernetes.io/tooling (alpha)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   a p p l y s e t . k u b e r n e t e s . i o / t o o l i n g :   \" k u b e c t l / v 1 . 3 4 \"   U s e d   o n :   O b j e c t s   b e i n g   u s e d   a s   A p p l y S e t   p a r e n t s .   U s e   o f   t h i s   a n n o t a t i o n   i s   A l p h a .   F o r   K u b e r n e t e s   v e r s i o n   1 . 3 4 ,   y o u   c a n   u s e   t h i s   a n n o t a t i o n   o n   S e c r e t s ,   C o n f i g M a p s ,   o r   c u s t o m   r e s o u r c e s   i f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n d e f i n i n g   t h e m   h a s   t h e   a p p l y s e t . k u b e r n e t e s . i o / i s - p a r e n t - t y p e   l a b e l .   P a r t   o f   t h e   s p e c i f i c a t i o n   u s e d   t o   i m p l e m e n t   A p p l y S e t - b a s e d   p r u n i n g   i n   k u b e c t l .   T h i s   a n n o t a t i o n   i s   a p p l i e d   t o   t h e   p a r e n t   o b j e c t   u s e d   t o   t r a c k   a n   A p p l y S e t   t o   i n d i c a t e   w h i c h   t o o l i n g   m a n a g e s   t h a t   A p p l y S e t .   T o o l i n g   s h o u l d   r e f u s e   t o   m u t a t e   A p p l y S e t s   b e l o n g i n g   t o   o t h e r   t o o l s .   T h e   v a l u e   m u s t   b e   i n   t h e   f o r m a t   < t o o l n a m e > / < s e m v e r > .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5953"
  },
  {
    "question": "What is apps.kubernetes.io/pod-index (beta)?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   a p p s . k u b e r n e t e s . i o / p o d - i n d e x :   \" 0 \"   U s e d   o n :   P o d   W h e n   a   S t a t e f u l S e t   c o n t r o l l e r   c r e a t e s   a   P o d   f o r   t h e   S t a t e f u l S e t ,   i t   s e t s   t h i s   l a b e l   o n   t h a t   P o d .   T h e   v a l u e   o f   t h e   l a b e l   i s   t h e   o r d i n a l   i n d e x   o f   t h e   p o d   b e i n g   c r e a t e d .   S e e   P o d   I n d e x   L a b e l   i n   t h e   S t a t e f u l S e t   t o p i c   f o r   m o r e   d e t a i l s .   N o t e   t h e   P o d I n d e x L a b e l   f e a t u r e   g a t e   m u s t   b e   e n a b l e d   f o r   t h i s   l a b e l   t o   b e   a d d e d   t o   p o d s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5954"
  },
  {
    "question": "What is resource.kubernetes.io/pod-claim-name?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   r e s o u r c e . k u b e r n e t e s . i o / p o d - c l a i m - n a m e :   \" m y - p o d - c l a i m \"   U s e d   o n :   R e s o u r c e C l a i m   T h i s   a n n o t a t i o n   i s   a s s i g n e d   t o   g e n e r a t e d   R e s o u r c e C l a i m s .   I t s   v a l u e   c o r r e s p o n d s   t o   t h e   n a m e   o f   t h e   r e s o u r c e   c l a i m   i n   t h e   . s p e c   o f   a n y   P o d ( s )   f o r   w h i c h   t h e   R e s o u r c e C l a i m   w a s   c r e a t e d .   T h i s   a n n o t a t i o n   i s   a n   i n t e r n a l   i m p l e m e n t a t i o n   d e t a i l   o f   d y n a m i c   r e s o u r c e   a l l o c a t i o n .   Y o u   s h o u l d   n o t   n e e d   t o   r e a d   o r   m o d i f y   t h e   v a l u e   o f   t h i s   a n n o t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5955"
  },
  {
    "question": "What is cluster-autoscaler.kubernetes.io/safe-to-evict?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   c l u s t e r - a u t o s c a l e r . k u b e r n e t e s . i o / s a f e - t o - e v i c t :   \" t r u e \"   U s e d   o n :   P o d   W h e n   t h i s   a n n o t a t i o n   i s   s e t   t o   \" t r u e \" ,   t h e   c l u s t e r   a u t o s c a l e r   i s   a l l o w e d   t o   e v i c t   a   P o d   e v e n   i f   o t h e r   r u l e s   w o u l d   n o r m a l l y   p r e v e n t   t h a t .   T h e   c l u s t e r   a u t o s c a l e r   n e v e r   e v i c t s   P o d s   t h a t   h a v e   t h i s   a n n o t a t i o n   e x p l i c i t l y   s e t   t o   \" f a l s e \" ;   y o u   c o u l d   s e t   t h a t   o n   a n   i m p o r t a n t   P o d   t h a t   y o u   w a n t   t o   k e e p   r u n n i n g .   I f   t h i s   a n n o t a t i o n   i s   n o t   s e t   t h e n   t h e   c l u s t e r   a u t o s c a l e r   f o l l o w s   i t s   P o d - l e v e l   b e h a v i o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5956"
  },
  {
    "question": "What is config.kubernetes.io/local-config?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   c o n f i g . k u b e r n e t e s . i o / l o c a l - c o n f i g :   \" t r u e \"   U s e d   o n :   A l l   o b j e c t s   T h i s   a n n o t a t i o n   i s   u s e d   i n   m a n i f e s t s   t o   m a r k   a n   o b j e c t   a s   l o c a l   c o n f i g u r a t i o n   t h a t   s h o u l d   n o t   b e   s u b m i t t e d   t o   t h e   K u b e r n e t e s   A P I .   A   v a l u e   o f   \" t r u e \"   f o r   t h i s   a n n o t a t i o n   d e c l a r e s   t h a t   t h e   o b j e c t   i s   o n l y   c o n s u m e d   b y   c l i e n t - s i d e   t o o l i n g   a n d   s h o u l d   n o t   b e   s u b m i t t e d   t o   t h e   A P I   s e r v e r .   A   v a l u e   o f   \" f a l s e \"   c a n   b e   u s e d   t o   d e c l a r e   t h a t   t h e   o b j e c t   s h o u l d   b e   s u b m i t t e d   t o   t h e   A P I   s e r v e r   e v e n   w h e n   i t   w o u l d   o t h e r w i s e   b e   a s s u m e d   t o   b e   l o c a l .   T h i s   a n n o t a t i o n   i s   p a r t   o f   t h e   K u b e r n e t e s   R e s o u r c e   M o d e l   ( K R M )   F u n c t i o n s   S p e c i f i c a t i o n ,   w h i c h   i s   u s e d   b y   K u s t o m i z e   a n d   s i m i l a r   t h i r d - p a r t y   t o o l s .   F o r   e x a m p l e ,   K u s t o m i z e   r e m o v e s   o b j e c t s   w i t h   t h i s   a n n o t a t i o n   f r o m   i t s   f i n a l   b u i l d   o u t p u t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5957"
  },
  {
    "question": "What is container.apparmor.security.beta.kubernetes.io/* (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   c o n t a i n e r . a p p a r m o r . s e c u r i t y . b e t a . k u b e r n e t e s . i o / m y - c o n t a i n e r :   m y - c u s t o m - p r o f i l e   U s e d   o n :   P o d s   T h i s   a n n o t a t i o n   a l l o w s   y o u   t o   s p e c i f y   t h e   A p p A r m o r   s e c u r i t y   p r o f i l e   f o r   a   c o n t a i n e r   w i t h i n   a   K u b e r n e t e s   p o d .   A s   o f   K u b e r n e t e s   v 1 . 3 0 ,   t h i s   s h o u l d   b e   s e t   w i t h   t h e   a p p A r m o r P r o f i l e   f i e l d   i n s t e a d .   T o   l e a r n   m o r e ,   s e e   t h e   A p p A r m o r   t u t o r i a l .   T h e   t u t o r i a l   i l l u s t r a t e s   u s i n g   A p p A r m o r   t o   r e s t r i c t   a   c o n t a i n e r ' s   a b i l i t i e s   a n d   a c c e s s .   T h e   p r o f i l e   s p e c i f i e d   d i c t a t e s   t h e   s e t   o f   r u l e s   a n d   r e s t r i c t i o n s   t h a t   t h e   c o n t a i n e r i z e d   p r o c e s s   m u s t   a d h e r e   t o .   T h i s   h e l p s   e n f o r c e   s e c u r i t y   p o l i c i e s   a n d   i s o l a t i o n   f o r   y o u r   c o n t a i n e r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5958"
  },
  {
    "question": "What is internal.config.kubernetes.io/* (reserved prefix)?",
    "answer": "T y p e :   A n n o t a t i o n   U s e d   o n :   A l l   o b j e c t s   T h i s   p r e f i x   i s   r e s e r v e d   f o r   i n t e r n a l   u s e   b y   t o o l s   t h a t   a c t   a s   o r c h e s t r a t o r s   i n   a c c o r d a n c e   w i t h   t h e   K u b e r n e t e s   R e s o u r c e   M o d e l   ( K R M )   F u n c t i o n s   S p e c i f i c a t i o n .   A n n o t a t i o n s   w i t h   t h i s   p r e f i x   a r e   i n t e r n a l   t o   t h e   o r c h e s t r a t i o n   p r o c e s s   a n d   a r e   n o t   p e r s i s t e d   t o   t h e   m a n i f e s t s   o n   t h e   f i l e s y s t e m .   I n   o t h e r   w o r d s ,   t h e   o r c h e s t r a t o r   t o o l   s h o u l d   s e t   t h e s e   a n n o t a t i o n s   w h e n   r e a d i n g   f i l e s   f r o m   t h e   l o c a l   f i l e s y s t e m   a n d   r e m o v e   t h e m   w h e n   w r i t i n g   t h e   o u t p u t   o f   f u n c t i o n s   b a c k   t o   t h e   f i l e s y s t e m .   A   K R M   f u n c t i o n   m u s t   n o t   m o d i f y   a n n o t a t i o n s   w i t h   t h i s   p r e f i x ,   u n l e s s   o t h e r w i s e   s p e c i f i e d   f o r   a   g i v e n   a n n o t a t i o n .   T h i s   e n a b l e s   o r c h e s t r a t o r   t o o l s   t o   a d d   a d d i t i o n a l   i n t e r n a l   a n n o t a t i o n s ,   w i t h o u t   r e q u i r i n g   c h a n g e s   t o   e x i s t i n g   f u n c t i o n s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5959"
  },
  {
    "question": "What is internal.config.kubernetes.io/path?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   i n t e r n a l . c o n f i g . k u b e r n e t e s . i o / p a t h :   \" r e l a t i v e / f i l e / p a t h . y a m l \"   U s e d   o n :   A l l   o b j e c t s   T h i s   a n n o t a t i o n   r e c o r d s   t h e   s l a s h - d e l i m i t e d ,   O S - a g n o s t i c ,   r e l a t i v e   p a t h   t o   t h e   m a n i f e s t   f i l e   t h e   o b j e c t   w a s   l o a d e d   f r o m .   T h e   p a t h   i s   r e l a t i v e   t o   a   f i x e d   l o c a t i o n   o n   t h e   f i l e s y s t e m ,   d e t e r m i n e d   b y   t h e   o r c h e s t r a t o r   t o o l .   T h i s   a n n o t a t i o n   i s   p a r t   o f   t h e   K u b e r n e t e s   R e s o u r c e   M o d e l   ( K R M )   F u n c t i o n s   S p e c i f i c a t i o n ,   w h i c h   i s   u s e d   b y   K u s t o m i z e   a n d   s i m i l a r   t h i r d - p a r t y   t o o l s .   A   K R M   F u n c t i o n   s h o u l d   n o t   m o d i f y   t h i s   a n n o t a t i o n   o n   i n p u t   o b j e c t s   u n l e s s   i t   i s   m o d i f y i n g   t h e   r e f e r e n c e d   f i l e s .   A   K R M   F u n c t i o n   m a y   i n c l u d e   t h i s   a n n o t a t i o n   o n   o b j e c t s   i t   g e n e r a t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5960"
  },
  {
    "question": "What is internal.config.kubernetes.io/index?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   i n t e r n a l . c o n f i g . k u b e r n e t e s . i o / i n d e x :   \" 2 \"   U s e d   o n :   A l l   o b j e c t s   T h i s   a n n o t a t i o n   r e c o r d s   t h e   z e r o - i n d e x e d   p o s i t i o n   o f   t h e   Y A M L   d o c u m e n t   t h a t   c o n t a i n s   t h e   o b j e c t   w i t h i n   t h e   m a n i f e s t   f i l e   t h e   o b j e c t   w a s   l o a d e d   f r o m .   N o t e   t h a t   Y A M L   d o c u m e n t s   a r e   s e p a r a t e d   b y   t h r e e   d a s h e s   ( - - - )   a n d   c a n   e a c h   c o n t a i n   o n e   o b j e c t .   W h e n   t h i s   a n n o t a t i o n   i s   n o t   s p e c i f i e d ,   a   v a l u e   o f   0   i s   i m p l i e d .   T h i s   a n n o t a t i o n   i s   p a r t   o f   t h e   K u b e r n e t e s   R e s o u r c e   M o d e l   ( K R M )   F u n c t i o n s   S p e c i f i c a t i o n ,   w h i c h   i s   u s e d   b y   K u s t o m i z e   a n d   s i m i l a r   t h i r d - p a r t y   t o o l s .   A   K R M   F u n c t i o n   s h o u l d   n o t   m o d i f y   t h i s   a n n o t a t i o n   o n   i n p u t   o b j e c t s   u n l e s s   i t   i s   m o d i f y i n g   t h e   r e f e r e n c e d   f i l e s .   A   K R M   F u n c t i o n   m a y   i n c l u d e   t h i s   a n n o t a t i o n   o n   o b j e c t s   i t   g e n e r a t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5961"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/bind-result?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / b i n d - r e s u l t :   ' { \" D e f a u l t B i n d e r \" : \" s u c c e s s \" } '   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   t h e   r e s u l t   o f   b i n d   s c h e d u l e r   p l u g i n s ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m u l a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5962"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/filter-result?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / f i l t e r - r e s u l t :   > -   { \" n o d e - 2 8 2 x 7 \" : { \" A z u r e D i s k L i m i t s \" : \" p a s s e d \" , \" E B S L i m i t s \" : \" p a s s e d \" , \" G C E P D L i m i t s \" : \" p a s s e d \" , \" I n t e r P o d A f f i n i t y \" : \" p a s s e d \" , \" N o d e A f f i n i t y \" : \" p a s s e d \" , \" N o d e N a m e \" : \" p a s s e d \" , \" N o d e P o r t s \" : \" p a s s e d \" , \" N o d e R e s o u r c e s F i t \" : \" p a s s e d \" , \" N o d e U n s c h e d u l a b l e \" : \" p a s s e d \" , \" N o d e V o l u m e L i m i t s \" : \" p a s s e d \" , \" P o d T o p o l o g y S p r e a d \" : \" p a s s e d \" , \" T a i n t T o l e r a t i o n \" : \" p a s s e d \" , \" V o l u m e B i n d i n g \" : \" p a s s e d \" , \" V o l u m e R e s t r i c t i o n s \" : \" p a s s e d \" , \" V o l u m e Z o n e \" : \" p a s s e d \" } , \" n o d e - g p 9 t 4 \" : { \" A z u r e D i s k L i m i t s \" : \" p a s s e d \" , \" E B S L i m i t s \" : \" p a s s e d \" , \" G C E P D L i m i t s \" : \" p a s s e d \" , \" I n t e r P o d A f f i n i t y \" : \" p a s s e d \" , \" N o d e A f f i n i t y \" : \" p a s s e d \" , \" N o d e N a m e \" : \" p a s s e d \" , \" N o d e P o r t s \" : \" p a s s e d \" , \" N o d e R e s o u r c e s F i t \" : \" p a s s e d \" , \" N o d e U n s c h e d u l a b l e \" : \" p a s s e d \" , \" N o d e V o l u m e L i m i t s \" : \" p a s s e d \" , \" P o d T o p o l o g y S p r e a d \" : \" p a s s e d \" , \" T a i n t T o l e r a t i o n \" : \" p a s s e d \" , \" V o l u m e B i n d i n g \" : \" p a s s e d \" , \" V o l u m e R e s t r i c t i o n s \" : \" p a s s e d \" , \" V o l u m e Z o n e \" : \" p a s s e d \" } }   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   t h e   r e s u l t   o f   f i l t e r   s c h e d u l e r   p l u g i n s ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5963"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/finalscore-result?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / f i n a l s c o r e - r e s u l t :   > -   { \" n o d e - 2 8 2 x 7 \" : { \" I m a g e L o c a l i t y \" : \" 0 \" , \" I n t e r P o d A f f i n i t y \" : \" 0 \" , \" N o d e A f f i n i t y \" : \" 0 \" , \" N o d e N u m b e r \" : \" 0 \" , \" N o d e R e s o u r c e s B a l a n c e d A l l o c a t i o n \" : \" 7 6 \" , \" N o d e R e s o u r c e s F i t \" : \" 7 3 \" , \" P o d T o p o l o g y S p r e a d \" : \" 2 0 0 \" , \" T a i n t T o l e r a t i o n \" : \" 3 0 0 \" , \" V o l u m e B i n d i n g \" : \" 0 \" } , \" n o d e - g p 9 t 4 \" : { \" I m a g e L o c a l i t y \" : \" 0 \" , \" I n t e r P o d A f f i n i t y \" : \" 0 \" , \" N o d e A f f i n i t y \" : \" 0 \" , \" N o d e N u m b e r \" : \" 0 \" , \" N o d e R e s o u r c e s B a l a n c e d A l l o c a t i o n \" : \" 7 6 \" , \" N o d e R e s o u r c e s F i t \" : \" 7 3 \" , \" P o d T o p o l o g y S p r e a d \" : \" 2 0 0 \" , \" T a i n t T o l e r a t i o n \" : \" 3 0 0 \" , \" V o l u m e B i n d i n g \" : \" 0 \" } }   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   t h e   f i n a l   s c o r e s   t h a t   t h e   s c h e d u l e r   c a l c u l a t e s   f r o m   t h e   s c o r e s   f r o m   s c o r e   s c h e d u l e r   p l u g i n s ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m u l a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5964"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/permit-result?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / p e r m i t - r e s u l t :   ' { \" C u s t o m P e r m i t P l u g i n \" : \" s u c c e s s \" } '   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   t h e   r e s u l t   o f   p e r m i t   s c h e d u l e r   p l u g i n s ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m u l a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5965"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/permit-result-timeout?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / p e r m i t - r e s u l t - t i m e o u t :   ' { \" C u s t o m P e r m i t P l u g i n \" : \" 1 0 s \" } '   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   t h e   t i m e o u t s   r e t u r n e d   f r o m   p e r m i t   s c h e d u l e r   p l u g i n s ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m u l a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5966"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/postfilter-result?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / p o s t f i l t e r - r e s u l t :   ' { \" D e f a u l t P r e e m p t i o n \" : \" s u c c e s s \" } '   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   t h e   r e s u l t   o f   p o s t f i l t e r   s c h e d u l e r   p l u g i n s ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m u l a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5967"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/prebind-result?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / p r e b i n d - r e s u l t :   ' { \" V o l u m e B i n d i n g \" : \" s u c c e s s \" } '   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   t h e   r e s u l t   o f   p r e b i n d   s c h e d u l e r   p l u g i n s ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m u l a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5968"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/prefilter-result?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / p r e b i n d - r e s u l t :   ' { \" N o d e A f f i n i t y \" : \" [ \\ \" n o d e - \\ a \" ] \" } '   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   t h e   P r e F i l t e r   r e s u l t   o f   p r e f i l t e r   s c h e d u l e r   p l u g i n s ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m u l a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5969"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/prefilter-result-status?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / p r e f i l t e r - r e s u l t - s t a t u s :   > -   { \" I n t e r P o d A f f i n i t y \" : \" s u c c e s s \" , \" N o d e A f f i n i t y \" : \" s u c c e s s \" , \" N o d e P o r t s \" : \" s u c c e s s \" , \" N o d e R e s o u r c e s F i t \" : \" s u c c e s s \" , \" P o d T o p o l o g y S p r e a d \" : \" s u c c e s s \" , \" V o l u m e B i n d i n g \" : \" s u c c e s s \" , \" V o l u m e R e s t r i c t i o n s \" : \" s u c c e s s \" }   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   t h e   r e s u l t   o f   p r e f i l t e r   s c h e d u l e r   p l u g i n s ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m u l a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5970"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/prescore-result?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / p r e s c o r e - r e s u l t :   > -   { \" I n t e r P o d A f f i n i t y \" : \" s u c c e s s \" , \" N o d e A f f i n i t y \" : \" s u c c e s s \" , \" N o d e N u m b e r \" : \" s u c c e s s \" , \" P o d T o p o l o g y S p r e a d \" : \" s u c c e s s \" , \" T a i n t T o l e r a t i o n \" : \" s u c c e s s \" }   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   t h e   r e s u l t   o f   p r e f i l t e r   s c h e d u l e r   p l u g i n s ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m u l a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5971"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/reserve-result?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / r e s e r v e - r e s u l t :   ' { \" V o l u m e B i n d i n g \" : \" s u c c e s s \" } '   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   t h e   r e s u l t   o f   r e s e r v e   s c h e d u l e r   p l u g i n s ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m u l a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5972"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/result-history?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / r e s u l t - h i s t o r y :   ' [ ] '   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   a l l   t h e   p a s t   s c h e d u l i n g   r e s u l t s   f r o m   s c h e d u l e r   p l u g i n s ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m u l a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5973"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/score-result?",
    "answer": "T y p e :   A n n o t a t i o n   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / s c o r e - r e s u l t :   > -   { \" n o d e - 2 8 2 x 7 \" : { \" I m a g e L o c a l i t y \" : \" 0 \" , \" I n t e r P o d A f f i n i t y \" : \" 0 \" , \" N o d e A f f i n i t y \" : \" 0 \" , \" N o d e N u m b e r \" : \" 0 \" , \" N o d e R e s o u r c e s B a l a n c e d A l l o c a t i o n \" : \" 7 6 \" , \" N o d e R e s o u r c e s F i t \" : \" 7 3 \" , \" P o d T o p o l o g y S p r e a d \" : \" 0 \" , \" T a i n t T o l e r a t i o n \" : \" 0 \" , \" V o l u m e B i n d i n g \" : \" 0 \" } , \" n o d e - g p 9 t 4 \" : { \" I m a g e L o c a l i t y \" : \" 0 \" , \" I n t e r P o d A f f i n i t y \" : \" 0 \" , \" N o d e A f f i n i t y \" : \" 0 \" , \" N o d e N u m b e r \" : \" 0 \" , \" N o d e R e s o u r c e s B a l a n c e d A l l o c a t i o n \" : \" 7 6 \" , \" N o d e R e s o u r c e s F i t \" : \" 7 3 \" , \" P o d T o p o l o g y S p r e a d \" : \" 0 \" , \" T a i n t T o l e r a t i o n \" : \" 0 \" , \" V o l u m e B i n d i n g \" : \" 0 \" } }   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   t h e   r e s u l t   o f   s c o r e   s c h e d u l e r   p l u g i n s ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m u l a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5974"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/selected-node?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / s e l e c t e d - n o d e :   n o d e - 2 8 2 x 7   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   t h e   n o d e   t h a t   i s   s e l e c t e d   b y   t h e   s c h e d u l i n g   c y c l e ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m u l a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5975"
  },
  {
    "question": "What is kubernetes.io/arch?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   k u b e r n e t e s . i o / a r c h :   \" a m d 6 4 \"   U s e d   o n :   N o d e   T h e   K u b e l e t   p o p u l a t e s   t h i s   w i t h   r u n t i m e . G O A R C H   a s   d e f i n e d   b y   G o .   T h i s   c a n   b e   h a n d y   i f   y o u   a r e   m i x i n g   A R M   a n d   x 8 6   n o d e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5976"
  },
  {
    "question": "What is kubernetes.io/os?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   k u b e r n e t e s . i o / o s :   \" l i n u x \"   U s e d   o n :   N o d e ,   P o d   F o r   n o d e s ,   t h e   k u b e l e t   p o p u l a t e s   t h i s   w i t h   r u n t i m e . G O O S   a s   d e f i n e d   b y   G o .   T h i s   c a n   b e   h a n d y   i f   y o u   a r e   m i x i n g   o p e r a t i n g   s y s t e m s   i n   y o u r   c l u s t e r   ( f o r   e x a m p l e :   m i x i n g   L i n u x   a n d   W i n d o w s   n o d e s ) .   Y o u   c a n   a l s o   s e t   t h i s   l a b e l   o n   a   P o d .   K u b e r n e t e s   a l l o w s   y o u   t o   s e t   a n y   v a l u e   f o r   t h i s   l a b e l ;   i f   y o u   u s e   t h i s   l a b e l ,   y o u   s h o u l d   n e v e r t h e l e s s   s e t   i t   t o   t h e   G o   r u n t i m e . G O O S   s t r i n g   f o r   t h e   o p e r a t i n g   s y s t e m   t h a t   t h i s   P o d   a c t u a l l y   w o r k s   w i t h .   W h e n   t h e   k u b e r n e t e s . i o / o s   l a b e l   v a l u e   f o r   a   P o d   d o e s   n o t   m a t c h   t h e   l a b e l   v a l u e   o n   a   N o d e ,   t h e   k u b e l e t   o n   t h e   n o d e   w i l l   n o t   a d m i t   t h e   P o d .   H o w e v e r ,   t h i s   i s   n o t   t a k e n   i n t o   a c c o u n t   b y   t h e   k u b e - s c h e d u l e r .   A l t e r n a t i v e l y ,   t h e   k u b e l e t   r e f u s e s   t o   r u n   a   P o d   w h e r e   y o u   h a v e   s p e c i f i e d   a   P o d   O S ,   i f   t h i s   i s n ' t   t h e   s a m e   a s   t h e   o p e r a t i n g   s y s t e m   f o r   t h e   n o d e   w h e r e   t h a t   k u b e l e t   i s   r u n n i n g .   J u s t   l o o k   f o r   P o d s   O S   f o r   m o r e   d e t a i l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5977"
  },
  {
    "question": "What is kubernetes.io/metadata.name?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   k u b e r n e t e s . i o / m e t a d a t a . n a m e :   \" m y n a m e s p a c e \"   U s e d   o n :   N a m e s p a c e s   T h e   K u b e r n e t e s   A P I   s e r v e r   ( p a r t   o f   t h e   c o n t r o l   p l a n e )   s e t s   t h i s   l a b e l   o n   a l l   n a m e s p a c e s .   T h e   l a b e l   v a l u e   i s   s e t   t o   t h e   n a m e   o f   t h e   n a m e s p a c e .   Y o u   c a n ' t   c h a n g e   t h i s   l a b e l ' s   v a l u e .   T h i s   i s   u s e f u l   i f   y o u   w a n t   t o   t a r g e t   a   s p e c i f i c   n a m e s p a c e   w i t h   a   l a b e l   s e l e c t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5978"
  },
  {
    "question": "What is kubernetes.io/limit-ranger?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e r n e t e s . i o / l i m i t - r a n g e r :   \" L i m i t R a n g e r   p l u g i n   s e t :   c p u ,   m e m o r y   r e q u e s t   f o r   c o n t a i n e r   n g i n x ;   c p u ,   m e m o r y   l i m i t   f o r   c o n t a i n e r   n g i n x \"   U s e d   o n :   P o d   K u b e r n e t e s   b y   d e f a u l t   d o e s n ' t   p r o v i d e   a n y   r e s o u r c e   l i m i t ,   t h a t   m e a n s   u n l e s s   y o u   e x p l i c i t l y   d e f i n e   l i m i t s ,   y o u r   c o n t a i n e r   c a n   c o n s u m e   u n l i m i t e d   C P U   a n d   m e m o r y .   Y o u   c a n   d e f i n e   a   d e f a u l t   r e q u e s t   o r   d e f a u l t   l i m i t   f o r   p o d s .   Y o u   d o   t h i s   b y   c r e a t i n g   a   L i m i t R a n g e   i n   t h e   r e l e v a n t   n a m e s p a c e .   P o d s   d e p l o y e d   a f t e r   y o u   d e f i n e   a   L i m i t R a n g e   w i l l   h a v e   t h e s e   l i m i t s   a p p l i e d   t o   t h e m .   T h e   a n n o t a t i o n   k u b e r n e t e s . i o / l i m i t - r a n g e r   r e c o r d s   t h a t   r e s o u r c e   d e f a u l t s   w e r e   s p e c i f i e d   f o r   t h e   P o d ,   a n d   t h e y   w e r e   a p p l i e d   s u c c e s s f u l l y .   F o r   m o r e   d e t a i l s ,   r e a d   a b o u t   L i m i t R a n g e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5979"
  },
  {
    "question": "What is kubernetes.io/config.hash?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e r n e t e s . i o / c o n f i g . h a s h :   \" d f 7 c c 4 7 f 8 4 7 7 b 6 b 1 2 2 6 d 7 d 2 3 a 9 0 4 8 6 7 b \"   U s e d   o n :   P o d   W h e n   t h e   k u b e l e t   c r e a t e s   a   s t a t i c   P o d   b a s e d   o n   a   g i v e n   m a n i f e s t ,   i t   a t t a c h e s   t h i s   a n n o t a t i o n   t o   t h e   s t a t i c   P o d .   T h e   v a l u e   o f   t h e   a n n o t a t i o n   i s   t h e   U I D   o f   t h e   P o d .   N o t e   t h a t   t h e   k u b e l e t   a l s o   s e t s   t h e   . s p e c . n o d e N a m e   t o   t h e   c u r r e n t   n o d e   n a m e   a s   i f   t h e   P o d   w a s   s c h e d u l e d   t o   t h e   n o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5980"
  },
  {
    "question": "What is kubernetes.io/config.mirror?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e r n e t e s . i o / c o n f i g . m i r r o r :   \" d f 7 c c 4 7 f 8 4 7 7 b 6 b 1 2 2 6 d 7 d 2 3 a 9 0 4 8 6 7 b \"   U s e d   o n :   P o d   F o r   a   s t a t i c   P o d   c r e a t e d   b y   t h e   k u b e l e t   o n   a   n o d e ,   a   m i r r o r   P o d   i s   c r e a t e d   o n   t h e   A P I   s e r v e r .   T h e   k u b e l e t   a d d s   a n   a n n o t a t i o n   t o   i n d i c a t e   t h a t   t h i s   P o d   i s   a c t u a l l y   a   m i r r o r   P o d .   T h e   a n n o t a t i o n   v a l u e   i s   c o p i e d   f r o m   t h e   k u b e r n e t e s . i o / c o n f i g . h a s h   a n n o t a t i o n ,   w h i c h   i s   t h e   U I D   o f   t h e   P o d .   W h e n   u p d a t i n g   a   P o d   w i t h   t h i s   a n n o t a t i o n   s e t ,   t h e   a n n o t a t i o n   c a n n o t   b e   c h a n g e d   o r   r e m o v e d .   I f   a   P o d   d o e s n ' t   h a v e   t h i s   a n n o t a t i o n ,   i t   c a n n o t   b e   a d d e d   d u r i n g   a   P o d   u p d a t e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5981"
  },
  {
    "question": "What is kubernetes.io/config.source?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e r n e t e s . i o / c o n f i g . s o u r c e :   \" f i l e \"   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   i s   a d d e d   b y   t h e   k u b e l e t   t o   i n d i c a t e   w h e r e   t h e   P o d   c o m e s   f r o m .   F o r   s t a t i c   P o d s ,   t h e   a n n o t a t i o n   v a l u e   c o u l d   b e   o n e   o f   f i l e   o r   h t t p   d e p e n d i n g   o n   w h e r e   t h e   P o d   m a n i f e s t   i s   l o c a t e d .   F o r   a   P o d   c r e a t e d   o n   t h e   A P I   s e r v e r   a n d   t h e n   s c h e d u l e d   t o   t h e   c u r r e n t   n o d e ,   t h e   a n n o t a t i o n   v a l u e   i s   a p i .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5982"
  },
  {
    "question": "What is kubernetes.io/config.seen?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e r n e t e s . i o / c o n f i g . s e e n :   \" 2 0 2 3 - 1 0 - 2 7 T 0 4 : 0 4 : 5 6 . 0 1 1 3 1 4 4 8 8 Z \"   U s e d   o n :   P o d   W h e n   t h e   k u b e l e t   s e e s   a   P o d   f o r   t h e   f i r s t   t i m e ,   i t   m a y   a d d   t h i s   a n n o t a t i o n   t o   t h e   P o d   w i t h   a   v a l u e   o f   c u r r e n t   t i m e s t a m p   i n   t h e   R F C 3 3 3 9   f o r m a t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5983"
  },
  {
    "question": "What is addonmanager.kubernetes.io/mode?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   a d d o n m a n a g e r . k u b e r n e t e s . i o / m o d e :   \" R e c o n c i l e \"   U s e d   o n :   A l l   o b j e c t s   T o   s p e c i f y   h o w   a n   a d d - o n   s h o u l d   b e   m a n a g e d ,   y o u   c a n   u s e   t h e   a d d o n m a n a g e r . k u b e r n e t e s . i o / m o d e   l a b e l .   T h i s   l a b e l   c a n   h a v e   o n e   o f   t h r e e   v a l u e s :   R e c o n c i l e ,   E n s u r e E x i s t s ,   o r   I g n o r e .   R e c o n c i l e :   A d d o n   r e s o u r c e s   w i l l   b e   p e r i o d i c a l l y   r e c o n c i l e d   w i t h   t h e   e x p e c t e d   s t a t e .   I f   t h e r e   a r e   a n y   d i f f e r e n c e s ,   t h e   a d d - o n   m a n a g e r   w i l l   r e c r e a t e ,   r e c o n f i g u r e   o r   d e l e t e   t h e   r e s o u r c e s   a s   n e e d e d .   T h i s   i s   t h e   d e f a u l t   m o d e   i f   n o   l a b e l   i s   s p e c i f i e d . E n s u r e E x i s t s :   A d d o n   r e s o u r c e s   w i l l   b e   c h e c k e d   f o r   e x i s t e n c e   o n l y   b u t   w i l l   n o t   b e   m o d i f i e d   a f t e r   c r e a t i o n .   T h e   a d d - o n   m a n a g e r   w i l l   c r e a t e   o r   r e - c r e a t e   t h e   r e s o u r c e s   w h e n   t h e r e   i s   n o   i n s t a n c e   o f   t h e   r e s o u r c e   w i t h   t h a t   n a m e . I g n o r e :   A d d o n   r e s o u r c e s   w i l l   b e   i g n o r e d .   T h i s   m o d e   i s   u s e f u l   f o r   a d d - o n s   t h a t   a r e   n o t   c o m p a t i b l e   w i t h   t h e   a d d - o n   m a n a g e r   o r   t h a t   a r e   m a n a g e d   b y   a n o t h e r   c o n t r o l l e r .   F o r   m o r e   d e t a i l s ,   s e e   A d d o n - m a n a g e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5984"
  },
  {
    "question": "What is beta.kubernetes.io/arch (deprecated)?",
    "answer": "T y p e :   L a b e l   T h i s   l a b e l   h a s   b e e n   d e p r e c a t e d .   P l e a s e   u s e   k u b e r n e t e s . i o / a r c h   i n s t e a d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5985"
  },
  {
    "question": "What is beta.kubernetes.io/os (deprecated)?",
    "answer": "T y p e :   L a b e l   T h i s   l a b e l   h a s   b e e n   d e p r e c a t e d .   P l e a s e   u s e   k u b e r n e t e s . i o / o s   i n s t e a d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5986"
  },
  {
    "question": "What is kube-aggregator.kubernetes.io/automanaged?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   k u b e - a g g r e g a t o r . k u b e r n e t e s . i o / a u t o m a n a g e d :   \" o n s t a r t \"   U s e d   o n :   A P I S e r v i c e   T h e   k u b e - a p i s e r v e r   s e t s   t h i s   l a b e l   o n   a n y   A P I S e r v i c e   o b j e c t   t h a t   t h e   A P I   s e r v e r   h a s   c r e a t e d   a u t o m a t i c a l l y .   T h e   l a b e l   m a r k s   h o w   t h e   c o n t r o l   p l a n e   s h o u l d   m a n a g e   t h a t   A P I S e r v i c e .   Y o u   s h o u l d   n o t   a d d ,   m o d i f y ,   o r   r e m o v e   t h i s   l a b e l   b y   y o u r s e l f .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5987"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e r e   a r e   t w o   p o s s i b l e   v a l u e s :   o n s t a r t :   T h e   A P I S e r v i c e   s h o u l d   b e   r e c o n c i l e d   w h e n   a n   A P I   s e r v e r   s t a r t s   u p ,   b u t   n o t   o t h e r w i s e . t r u e :   T h e   A P I   s e r v e r   s h o u l d   r e c o n c i l e   t h i s   A P I S e r v i c e   c o n t i n u o u s l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_4_5988"
  },
  {
    "question": "What is service.alpha.kubernetes.io/tolerate-unready-endpoints (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   U s e d   o n :   S t a t e f u l S e t   T h i s   a n n o t a t i o n   o n   a   S e r v i c e   d e n o t e s   i f   t h e   E n d p o i n t s   c o n t r o l l e r   s h o u l d   g o   a h e a d   a n d   c r e a t e   E n d p o i n t s   f o r   u n r e a d y   P o d s .   E n d p o i n t s   o f   t h e s e   S e r v i c e s   r e t a i n   t h e i r   D N S   r e c o r d s   a n d   c o n t i n u e   r e c e i v i n g   t r a f f i c   f o r   t h e   S e r v i c e   f r o m   t h e   m o m e n t   t h e   k u b e l e t   s t a r t s   a l l   c o n t a i n e r s   i n   t h e   p o d   a n d   m a r k s   i t   R u n n i n g ,   t i l   t h e   k u b e l e t   s t o p s   a l l   c o n t a i n e r s   a n d   d e l e t e s   t h e   p o d   f r o m   t h e   A P I   s e r v e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5989"
  },
  {
    "question": "What is autoscaling.alpha.kubernetes.io/behavior (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   U s e d   o n :   H o r i z o n t a l P o d A u t o s c a l e r   T h i s   a n n o t a t i o n   w a s   u s e d   t o   c o n f i g u r e   t h e   s c a l i n g   b e h a v i o r   f o r   a   H o r i z o n t a l P o d A u t o s c a l e r   ( H P A )   i n   e a r l i e r   K u b e r n e t e s   v e r s i o n s .   I t   a l l o w e d   y o u   t o   s p e c i f y   h o w   t h e   H P A   s h o u l d   s c a l e   p o d s   u p   o r   d o w n ,   i n c l u d i n g   s e t t i n g   s t a b i l i z a t i o n   w i n d o w s   a n d   s c a l i n g   p o l i c i e s .   S e t t i n g   t h i s   a n n o t a t i o n   h a s   n o   e f f e c t   i n   a n y   s u p p o r t e d   r e l e a s e   o f   K u b e r n e t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5990"
  },
  {
    "question": "What is kubernetes.io/hostname?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   k u b e r n e t e s . i o / h o s t n a m e :   \" i p - 1 7 2 - 2 0 - 1 1 4 - 1 9 9 . e c 2 . i n t e r n a l \"   U s e d   o n :   N o d e   T h e   K u b e l e t   p o p u l a t e s   t h i s   l a b e l   w i t h   t h e   h o s t n a m e   o f   t h e   n o d e .   N o t e   t h a t   t h e   h o s t n a m e   c a n   b e   c h a n g e d   f r o m   t h e   \" a c t u a l \"   h o s t n a m e   b y   p a s s i n g   t h e   - - h o s t n a m e - o v e r r i d e   f l a g   t o   t h e   k u b e l e t .   T h i s   l a b e l   i s   a l s o   u s e d   a s   p a r t   o f   t h e   t o p o l o g y   h i e r a r c h y .   S e e   t o p o l o g y . k u b e r n e t e s . i o / z o n e   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5991"
  },
  {
    "question": "What is kubernetes.io/change-cause?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e r n e t e s . i o / c h a n g e - c a u s e :   \" k u b e c t l   e d i t   - - r e c o r d   d e p l o y m e n t   f o o \"   U s e d   o n :   A l l   O b j e c t s   T h i s   a n n o t a t i o n   i s   a   b e s t   g u e s s   a t   w h y   s o m e t h i n g   w a s   c h a n g e d .   I t   i s   p o p u l a t e d   w h e n   a d d i n g   - - r e c o r d   t o   a   k u b e c t l   c o m m a n d   t h a t   m a y   c h a n g e   a n   o b j e c t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5992"
  },
  {
    "question": "What is kubernetes.io/description?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e r n e t e s . i o / d e s c r i p t i o n :   \" D e s c r i p t i o n   o f   K 8 s   o b j e c t . \"   U s e d   o n :   A l l   O b j e c t s   T h i s   a n n o t a t i o n   i s   u s e d   f o r   d e s c r i b i n g   s p e c i f i c   b e h a v i o u r   o f   g i v e n   o b j e c t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5993"
  },
  {
    "question": "What is kubernetes.io/enforce-mountable-secrets (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e r n e t e s . i o / e n f o r c e - m o u n t a b l e - s e c r e t s :   \" t r u e \"   U s e d   o n :   S e r v i c e A c c o u n t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5994"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   v a l u e   f o r   t h i s   a n n o t a t i o n   m u s t   b e   t r u e   t o   t a k e   e f f e c t .   W h e n   y o u   s e t   t h i s   a n n o t a t i o n   t o   \" t r u e \" ,   K u b e r n e t e s   e n f o r c e s   t h e   f o l l o w i n g   r u l e s   f o r   P o d s   r u n n i n g   a s   t h i s   S e r v i c e A c c o u n t :   S e c r e t s   m o u n t e d   a s   v o l u m e s   m u s t   b e   l i s t e d   i n   t h e   S e r v i c e A c c o u n t ' s   s e c r e t s   f i e l d . S e c r e t s   r e f e r e n c e d   i n   e n v F r o m   f o r   c o n t a i n e r s   ( i n c l u d i n g   s i d e c a r   c o n t a i n e r s   a n d   i n i t   c o n t a i n e r s )   m u s t   a l s o   b e   l i s t e d   i n   t h e   S e r v i c e A c c o u n t ' s   s e c r e t s   f i e l d .   I f   a n y   c o n t a i n e r   i n   a   P o d   r e f e r e n c e s   a   S e c r e t   n o t   l i s t e d   i n   t h e   S e r v i c e A c c o u n t ' s   s e c r e t s   f i e l d   ( a n d   e v e n   i f   t h e   r e f e r e n c e   i s   m a r k e d   a s   o p t i o n a l ) ,   t h e n   t h e   P o d   w i l l   f a i l   t o   s t a r t ,   a n d   a n   e r r o r   i n d i c a t i n g   t h e   n o n - c o m p l i a n t   s e c r e t   r e f e r e n c e   w i l l   b e   g e n e r a t e d . S e c r e t s   r e f e r e n c e d   i n   a   P o d ' s   i m a g e P u l l S e c r e t s   m u s t   b e   p r e s e n t   i n   t h e   S e r v i c e A c c o u n t ' s   i m a g e P u l l S e c r e t s   f i e l d ,   t h e   P o d   w i l l   f a i l   t o   s t a r t ,   a n d   a n   e r r o r   i n d i c a t i n g   t h e   n o n - c o m p l i a n t   i m a g e   p u l l   s e c r e t   r e f e r e n c e   w i l l   b e   g e n e r a t e d .   W h e n   y o u   c r e a t e   o r   u p d a t e   a   P o d ,   t h e s e   r u l e s   a r e   c h e c k e d .   I f   a   P o d   d o e s n ' t   f o l l o w   t h e m ,   i t   w o n ' t   s t a r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_4_5995"
  },
  {
    "question": "What is node.kubernetes.io/exclude-from-external-load-balancers?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   n o d e . k u b e r n e t e s . i o / e x c l u d e - f r o m - e x t e r n a l - l o a d - b a l a n c e r s   U s e d   o n :   N o d e   Y o u   c a n   a d d   l a b e l s   t o   p a r t i c u l a r   w o r k e r   n o d e s   t o   e x c l u d e   t h e m   f r o m   t h e   l i s t   o f   b a c k e n d   s e r v e r s   u s e d   b y   e x t e r n a l   l o a d   b a l a n c e r s .   T h e   f o l l o w i n g   c o m m a n d   c a n   b e   u s e d   t o   e x c l u d e   a   w o r k e r   n o d e   f r o m   t h e   l i s t   o f   b a c k e n d   s e r v e r s   i n   a   b a c k e n d   s e t :   k u b e c t l   l a b e l   n o d e s   < n o d e - n a m e >   n o d e . k u b e r n e t e s . i o / e x c l u d e - f r o m - e x t e r n a l - l o a d - b a l a n c e r s = t r u e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5996"
  },
  {
    "question": "What is controller.kubernetes.io/pod-deletion-cost?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   c o n t r o l l e r . k u b e r n e t e s . i o / p o d - d e l e t i o n - c o s t :   \" 1 0 \"   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   i s   u s e d   t o   s e t   P o d   D e l e t i o n   C o s t   w h i c h   a l l o w s   u s e r s   t o   i n f l u e n c e   R e p l i c a S e t   d o w n s c a l i n g   o r d e r .   T h e   a n n o t a t i o n   v a l u e   p a r s e s   i n t o   a n   i n t 3 2   t y p e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5997"
  },
  {
    "question": "What is cluster-autoscaler.kubernetes.io/enable-ds-eviction?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   c l u s t e r - a u t o s c a l e r . k u b e r n e t e s . i o / e n a b l e - d s - e v i c t i o n :   \" t r u e \"   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   c o n t r o l s   w h e t h e r   a   D a e m o n S e t   p o d   s h o u l d   b e   e v i c t e d   b y   a   C l u s t e r A u t o s c a l e r .   T h i s   a n n o t a t i o n   n e e d s   t o   b e   s p e c i f i e d   o n   D a e m o n S e t   p o d s   i n   a   D a e m o n S e t   m a n i f e s t .   W h e n   t h i s   a n n o t a t i o n   i s   s e t   t o   \" t r u e \" ,   t h e   C l u s t e r A u t o s c a l e r   i s   a l l o w e d   t o   e v i c t   a   D a e m o n S e t   P o d ,   e v e n   i f   o t h e r   r u l e s   w o u l d   n o r m a l l y   p r e v e n t   t h a t .   T o   d i s a l l o w   t h e   C l u s t e r A u t o s c a l e r   f r o m   e v i c t i n g   D a e m o n S e t   p o d s ,   y o u   c a n   s e t   t h i s   a n n o t a t i o n   t o   \" f a l s e \"   f o r   i m p o r t a n t   D a e m o n S e t   p o d s .   I f   t h i s   a n n o t a t i o n   i s   n o t   s e t ,   t h e n   t h e   C l u s t e r A u t o s c a l e r   f o l l o w s   i t s   o v e r a l l   b e h a v i o r   ( i . e   e v i c t   t h e   D a e m o n S e t s   b a s e d   o n   i t s   c o n f i g u r a t i o n ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5998"
  },
  {
    "question": "What is kubernetes.io/ingress-bandwidth?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e r n e t e s . i o / i n g r e s s - b a n d w i d t h :   1 0 M   U s e d   o n :   P o d   Y o u   c a n   a p p l y   q u a l i t y - o f - s e r v i c e   t r a f f i c   s h a p i n g   t o   a   p o d   a n d   e f f e c t i v e l y   l i m i t   i t s   a v a i l a b l e   b a n d w i d t h .   I n g r e s s   t r a f f i c   t o   a   P o d   i s   h a n d l e d   b y   s h a p i n g   q u e u e d   p a c k e t s   t o   e f f e c t i v e l y   h a n d l e   d a t a .   T o   l i m i t   t h e   b a n d w i d t h   o n   a   P o d ,   w r i t e   a n   o b j e c t   d e f i n i t i o n   J S O N   f i l e   a n d   s p e c i f y   t h e   d a t a   t r a f f i c   s p e e d   u s i n g   k u b e r n e t e s . i o / i n g r e s s - b a n d w i d t h   a n n o t a t i o n .   T h e   u n i t   u s e d   f o r   s p e c i f y i n g   i n g r e s s   r a t e   i s   b i t s   p e r   s e c o n d ,   a s   a   Q u a n t i t y .   F o r   e x a m p l e ,   1 0 M   m e a n s   1 0   m e g a b i t s   p e r   s e c o n d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_5999"
  },
  {
    "question": "What is kubernetes.io/egress-bandwidth?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e r n e t e s . i o / e g r e s s - b a n d w i d t h :   1 0 M   U s e d   o n :   P o d   E g r e s s   t r a f f i c   f r o m   a   P o d   i s   h a n d l e d   b y   p o l i c i n g ,   w h i c h   s i m p l y   d r o p s   p a c k e t s   i n   e x c e s s   o f   t h e   c o n f i g u r e d   r a t e .   T h e   l i m i t s   y o u   p l a c e   o n   a   P o d   d o   n o t   a f f e c t   t h e   b a n d w i d t h   o f   o t h e r   P o d s .   T o   l i m i t   t h e   b a n d w i d t h   o n   a   P o d ,   w r i t e   a n   o b j e c t   d e f i n i t i o n   J S O N   f i l e   a n d   s p e c i f y   t h e   d a t a   t r a f f i c   s p e e d   u s i n g   k u b e r n e t e s . i o / e g r e s s - b a n d w i d t h   a n n o t a t i o n .   T h e   u n i t   u s e d   f o r   s p e c i f y i n g   e g r e s s   r a t e   i s   b i t s   p e r   s e c o n d ,   a s   a   Q u a n t i t y .   F o r   e x a m p l e ,   1 0 M   m e a n s   1 0   m e g a b i t s   p e r   s e c o n d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6000"
  },
  {
    "question": "What is beta.kubernetes.io/instance-type (deprecated)?",
    "answer": "T y p e :   L a b e l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6001"
  },
  {
    "question": "What is node.kubernetes.io/instance-type?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   n o d e . k u b e r n e t e s . i o / i n s t a n c e - t y p e :   \" m 3 . m e d i u m \"   U s e d   o n :   N o d e   T h e   K u b e l e t   p o p u l a t e s   t h i s   w i t h   t h e   i n s t a n c e   t y p e   a s   d e f i n e d   b y   t h e   c l o u d   p r o v i d e r .   T h i s   w i l l   b e   s e t   o n l y   i f   y o u   a r e   u s i n g   a   c l o u d   p r o v i d e r .   T h i s   s e t t i n g   i s   h a n d y   i f   y o u   w a n t   t o   t a r g e t   c e r t a i n   w o r k l o a d s   t o   c e r t a i n   i n s t a n c e   t y p e s ,   b u t   t y p i c a l l y   y o u   w a n t   t o   r e l y   o n   t h e   K u b e r n e t e s   s c h e d u l e r   t o   p e r f o r m   r e s o u r c e - b a s e d   s c h e d u l i n g .   Y o u   s h o u l d   a i m   t o   s c h e d u l e   b a s e d   o n   p r o p e r t i e s   r a t h e r   t h a n   o n   i n s t a n c e   t y p e s   ( f o r   e x a m p l e :   r e q u i r e   a   G P U ,   i n s t e a d   o f   r e q u i r i n g   a   g 2 . 2 x l a r g e ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6002"
  },
  {
    "question": "What is failure-domain.beta.kubernetes.io/region (deprecated)?",
    "answer": "T y p e :   L a b e l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6003"
  },
  {
    "question": "What is failure-domain.beta.kubernetes.io/zone (deprecated)?",
    "answer": "T y p e :   L a b e l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6004"
  },
  {
    "question": "What is pv.kubernetes.io/bind-completed?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   p v . k u b e r n e t e s . i o / b i n d - c o m p l e t e d :   \" y e s \"   U s e d   o n :   P e r s i s t e n t V o l u m e C l a i m   W h e n   t h i s   a n n o t a t i o n   i s   s e t   o n   a   P e r s i s t e n t V o l u m e C l a i m   ( P V C ) ,   t h a t   i n d i c a t e s   t h a t   t h e   l i f e c y c l e   o f   t h e   P V C   h a s   p a s s e d   t h r o u g h   i n i t i a l   b i n d i n g   s e t u p .   W h e n   p r e s e n t ,   t h a t   i n f o r m a t i o n   c h a n g e s   h o w   t h e   c o n t r o l   p l a n e   i n t e r p r e t s   t h e   s t a t e   o f   P V C   o b j e c t s .   T h e   v a l u e   o f   t h i s   a n n o t a t i o n   d o e s   n o t   m a t t e r   t o   K u b e r n e t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6005"
  },
  {
    "question": "What is pv.kubernetes.io/bound-by-controller?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   p v . k u b e r n e t e s . i o / b o u n d - b y - c o n t r o l l e r :   \" y e s \"   U s e d   o n :   P e r s i s t e n t V o l u m e ,   P e r s i s t e n t V o l u m e C l a i m   I f   t h i s   a n n o t a t i o n   i s   s e t   o n   a   P e r s i s t e n t V o l u m e   o r   P e r s i s t e n t V o l u m e C l a i m ,   i t   i n d i c a t e s   t h a t   a   s t o r a g e   b i n d i n g   ( P e r s i s t e n t V o l u m e   →   P e r s i s t e n t V o l u m e C l a i m ,   o r   P e r s i s t e n t V o l u m e C l a i m   →   P e r s i s t e n t V o l u m e )   w a s   i n s t a l l e d   b y   t h e   c o n t r o l l e r .   I f   t h e   a n n o t a t i o n   i s n ' t   s e t ,   a n d   t h e r e   i s   a   s t o r a g e   b i n d i n g   i n   p l a c e ,   t h e   a b s e n c e   o f   t h a t   a n n o t a t i o n   m e a n s   t h a t   t h e   b i n d i n g   w a s   d o n e   m a n u a l l y .   T h e   v a l u e   o f   t h i s   a n n o t a t i o n   d o e s   n o t   m a t t e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6006"
  },
  {
    "question": "What is pv.kubernetes.io/provisioned-by?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   p v . k u b e r n e t e s . i o / p r o v i s i o n e d - b y :   \" k u b e r n e t e s . i o / r b d \"   U s e d   o n :   P e r s i s t e n t V o l u m e   T h i s   a n n o t a t i o n   i s   a d d e d   t o   a   P e r s i s t e n t V o l u m e ( P V )   t h a t   h a s   b e e n   d y n a m i c a l l y   p r o v i s i o n e d   b y   K u b e r n e t e s .   I t s   v a l u e   i s   t h e   n a m e   o f   v o l u m e   p l u g i n   t h a t   c r e a t e d   t h e   v o l u m e .   I t   s e r v e s   b o t h   u s e r s   ( t o   s h o w   w h e r e   a   P V   c o m e s   f r o m )   a n d   K u b e r n e t e s   ( t o   r e c o g n i z e   d y n a m i c a l l y   p r o v i s i o n e d   P V s   i n   i t s   d e c i s i o n s ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6007"
  },
  {
    "question": "What is pv.kubernetes.io/migrated-to?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   p v . k u b e r n e t e s . i o / m i g r a t e d - t o :   p d . c s i . s t o r a g e . g k e . i o   U s e d   o n :   P e r s i s t e n t V o l u m e ,   P e r s i s t e n t V o l u m e C l a i m   I t   i s   a d d e d   t o   a   P e r s i s t e n t V o l u m e ( P V )   a n d   P e r s i s t e n t V o l u m e C l a i m ( P V C )   t h a t   i s   s u p p o s e d   t o   b e   d y n a m i c a l l y   p r o v i s i o n e d / d e l e t e d   b y   i t s   c o r r e s p o n d i n g   C S I   d r i v e r   t h r o u g h   t h e   C S I M i g r a t i o n   f e a t u r e   g a t e .   W h e n   t h i s   a n n o t a t i o n   i s   s e t ,   t h e   K u b e r n e t e s   c o m p o n e n t s   w i l l   \" s t a n d - d o w n \"   a n d   t h e   e x t e r n a l - p r o v i s i o n e r   w i l l   a c t   o n   t h e   o b j e c t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6008"
  },
  {
    "question": "What is statefulset.kubernetes.io/pod-name?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   s t a t e f u l s e t . k u b e r n e t e s . i o / p o d - n a m e :   \" m y s t a t e f u l s e t - 7 \"   U s e d   o n :   P o d   W h e n   a   S t a t e f u l S e t   c o n t r o l l e r   c r e a t e s   a   P o d   f o r   t h e   S t a t e f u l S e t ,   t h e   c o n t r o l   p l a n e   s e t s   t h i s   l a b e l   o n   t h a t   P o d .   T h e   v a l u e   o f   t h e   l a b e l   i s   t h e   n a m e   o f   t h e   P o d   b e i n g   c r e a t e d .   S e e   P o d   N a m e   L a b e l   i n   t h e   S t a t e f u l S e t   t o p i c   f o r   m o r e   d e t a i l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6009"
  },
  {
    "question": "What is scheduler.alpha.kubernetes.io/node-selector?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   s c h e d u l e r . a l p h a . k u b e r n e t e s . i o / n o d e - s e l e c t o r :   \" n a m e - o f - n o d e - s e l e c t o r \"   U s e d   o n :   N a m e s p a c e   T h e   P o d N o d e S e l e c t o r   u s e s   t h i s   a n n o t a t i o n   k e y   t o   a s s i g n   n o d e   s e l e c t o r s   t o   p o d s   i n   n a m e s p a c e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6010"
  },
  {
    "question": "What is topology.kubernetes.io/region?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   t o p o l o g y . k u b e r n e t e s . i o / r e g i o n :   \" u s - e a s t - 1 \"   U s e d   o n :   N o d e ,   P e r s i s t e n t V o l u m e   S e e   t o p o l o g y . k u b e r n e t e s . i o / z o n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6011"
  },
  {
    "question": "What is topology.kubernetes.io/zone?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   t o p o l o g y . k u b e r n e t e s . i o / z o n e :   \" u s - e a s t - 1 c \"   U s e d   o n :   N o d e ,   P e r s i s t e n t V o l u m e   O n   N o d e :   T h e   k u b e l e t   o r   t h e   e x t e r n a l   c l o u d - c o n t r o l l e r - m a n a g e r   p o p u l a t e s   t h i s   w i t h   t h e   i n f o r m a t i o n   f r o m   t h e   c l o u d   p r o v i d e r .   T h i s   w i l l   b e   s e t   o n l y   i f   y o u   a r e   u s i n g   a   c l o u d   p r o v i d e r .   H o w e v e r ,   y o u   c a n   c o n s i d e r   s e t t i n g   t h i s   o n   n o d e s   i f   i t   m a k e s   s e n s e   i n   y o u r   t o p o l o g y .   O n   P e r s i s t e n t V o l u m e :   t o p o l o g y - a w a r e   v o l u m e   p r o v i s i o n e r s   w i l l   a u t o m a t i c a l l y   s e t   n o d e   a f f i n i t y   c o n s t r a i n t s   o n   a   P e r s i s t e n t V o l u m e .   A   z o n e   r e p r e s e n t s   a   l o g i c a l   f a i l u r e   d o m a i n .   I t   i s   c o m m o n   f o r   K u b e r n e t e s   c l u s t e r s   t o   s p a n   m u l t i p l e   z o n e s   f o r   i n c r e a s e d   a v a i l a b i l i t y .   W h i l e   t h e   e x a c t   d e f i n i t i o n   o f   a   z o n e   i s   l e f t   t o   i n f r a s t r u c t u r e   i m p l e m e n t a t i o n s ,   c o m m o n   p r o p e r t i e s   o f   a   z o n e   i n c l u d e   v e r y   l o w   n e t w o r k   l a t e n c y   w i t h i n   a   z o n e ,   n o - c o s t   n e t w o r k   t r a f f i c   w i t h i n   a   z o n e ,   a n d   f a i l u r e   i n d e p e n d e n c e   f r o m   o t h e r   z o n e s .   F o r   e x a m p l e ,   n o d e s   w i t h i n   a   z o n e   m i g h t   s h a r e   a   n e t w o r k   s w i t c h ,   b u t   n o d e s   i n   d i f f e r e n t   z o n e s   s h o u l d   n o t .   A   r e g i o n   r e p r e s e n t s   a   l a r g e r   d o m a i n ,   m a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6012"
  },
  {
    "question": "What is volume.beta.kubernetes.io/storage-provisioner (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   v o l u m e . b e t a . k u b e r n e t e s . i o / s t o r a g e - p r o v i s i o n e r :   \" k 8 s . i o / m i n i k u b e - h o s t p a t h \"   U s e d   o n :   P e r s i s t e n t V o l u m e C l a i m   T h i s   a n n o t a t i o n   h a s   b e e n   d e p r e c a t e d   s i n c e   v 1 . 2 3 .   S e e   v o l u m e . k u b e r n e t e s . i o / s t o r a g e - p r o v i s i o n e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6013"
  },
  {
    "question": "What is volume.beta.kubernetes.io/storage-class (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   v o l u m e . b e t a . k u b e r n e t e s . i o / s t o r a g e - c l a s s :   \" e x a m p l e - c l a s s \"   U s e d   o n :   P e r s i s t e n t V o l u m e ,   P e r s i s t e n t V o l u m e C l a i m   T h i s   a n n o t a t i o n   c a n   b e   u s e d   f o r   P e r s i s t e n t V o l u m e ( P V )   o r   P e r s i s t e n t V o l u m e C l a i m ( P V C )   t o   s p e c i f y   t h e   n a m e   o f   S t o r a g e C l a s s .   W h e n   b o t h   t h e   s t o r a g e C l a s s N a m e   a t t r i b u t e   a n d   t h e   v o l u m e . b e t a . k u b e r n e t e s . i o / s t o r a g e - c l a s s   a n n o t a t i o n   a r e   s p e c i f i e d ,   t h e   a n n o t a t i o n   v o l u m e . b e t a . k u b e r n e t e s . i o / s t o r a g e - c l a s s   t a k e s   p r e c e d e n c e   o v e r   t h e   s t o r a g e C l a s s N a m e   a t t r i b u t e .   T h i s   a n n o t a t i o n   h a s   b e e n   d e p r e c a t e d .   I n s t e a d ,   s e t   t h e   s t o r a g e C l a s s N a m e   f i e l d   f o r   t h e   P e r s i s t e n t V o l u m e C l a i m   o r   P e r s i s t e n t V o l u m e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6014"
  },
  {
    "question": "What is volume.beta.kubernetes.io/mount-options (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e   :   v o l u m e . b e t a . k u b e r n e t e s . i o / m o u n t - o p t i o n s :   \" r o , s o f t \"   U s e d   o n :   P e r s i s t e n t V o l u m e   A   K u b e r n e t e s   a d m i n i s t r a t o r   c a n   s p e c i f y   a d d i t i o n a l   m o u n t   o p t i o n s   f o r   w h e n   a   P e r s i s t e n t V o l u m e   i s   m o u n t e d   o n   a   n o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6015"
  },
  {
    "question": "What is volume.kubernetes.io/storage-provisioner?",
    "answer": "T y p e :   A n n o t a t i o n   U s e d   o n :   P e r s i s t e n t V o l u m e C l a i m   T h i s   a n n o t a t i o n   i s   a d d e d   t o   a   P V C   t h a t   i s   s u p p o s e d   t o   b e   d y n a m i c a l l y   p r o v i s i o n e d .   I t s   v a l u e   i s   t h e   n a m e   o f   a   v o l u m e   p l u g i n   t h a t   i s   s u p p o s e d   t o   p r o v i s i o n   a   v o l u m e   f o r   t h i s   P V C .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6016"
  },
  {
    "question": "What is volume.kubernetes.io/selected-node?",
    "answer": "T y p e :   A n n o t a t i o n   U s e d   o n :   P e r s i s t e n t V o l u m e C l a i m   T h i s   a n n o t a t i o n   i s   a d d e d   t o   a   P V C   t h a t   i s   t r i g g e r e d   b y   a   s c h e d u l e r   t o   b e   d y n a m i c a l l y   p r o v i s i o n e d .   I t s   v a l u e   i s   t h e   n a m e   o f   t h e   s e l e c t e d   n o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6017"
  },
  {
    "question": "What is volumes.kubernetes.io/controller-managed-attach-detach?",
    "answer": "T y p e :   A n n o t a t i o n   U s e d   o n :   N o d e   I f   a   n o d e   h a s   t h e   a n n o t a t i o n   v o l u m e s . k u b e r n e t e s . i o / c o n t r o l l e r - m a n a g e d - a t t a c h - d e t a c h ,   i t s   s t o r a g e   a t t a c h   a n d   d e t a c h   o p e r a t i o n s   a r e   b e i n g   m a n a g e d   b y   t h e   v o l u m e   a t t a c h / d e t a c h   c o n t r o l l e r .   T h e   v a l u e   o f   t h e   a n n o t a t i o n   i s n ' t   i m p o r t a n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6018"
  },
  {
    "question": "What is node.kubernetes.io/windows-build?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   n o d e . k u b e r n e t e s . i o / w i n d o w s - b u i l d :   \" 1 0 . 0 . 1 7 7 6 3 \"   U s e d   o n :   N o d e   W h e n   t h e   k u b e l e t   i s   r u n n i n g   o n   M i c r o s o f t   W i n d o w s ,   i t   a u t o m a t i c a l l y   l a b e l s   i t s   N o d e   t o   r e c o r d   t h e   v e r s i o n   o f   W i n d o w s   S e r v e r   i n   u s e .   T h e   l a b e l ' s   v a l u e   i s   i n   t h e   f o r m a t   \" M a j o r V e r s i o n . M i n o r V e r s i o n . B u i l d N u m b e r \" .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6019"
  },
  {
    "question": "What is storage.alpha.kubernetes.io/migrated-plugins?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e : s t o r a g e . a l p h a . k u b e r n e t e s . i o / m i g r a t e d - p l u g i n s :   \" k u b e r n e t e s . i o / c i n d e r \"   U s e d   o n :   C S I N o d e   ( a n   e x t e n s i o n   A P I )   T h i s   a n n o t a t i o n   i s   a u t o m a t i c a l l y   a d d e d   f o r   t h e   C S I N o d e   o b j e c t   t h a t   m a p s   t o   a   n o d e   t h a t   i n s t a l l s   C S I D r i v e r .   T h i s   a n n o t a t i o n   s h o w s   t h e   i n - t r e e   p l u g i n   n a m e   o f   t h e   m i g r a t e d   p l u g i n .   I t s   v a l u e   d e p e n d s   o n   y o u r   c l u s t e r ' s   i n - t r e e   c l o u d   p r o v i d e r   s t o r a g e   t y p e .   F o r   e x a m p l e ,   i f   t h e   i n - t r e e   c l o u d   p r o v i d e r   s t o r a g e   t y p e   i s   C S I M i g r a t i o n v S p h e r e ,   t h e   C S I N o d e s   i n s t a n c e   f o r   t h e   n o d e   s h o u l d   b e   u p d a t e d   w i t h :   s t o r a g e . a l p h a . k u b e r n e t e s . i o / m i g r a t e d - p l u g i n s :   \" k u b e r n e t e s . i o / v s p h e r e - v o l u m e \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6020"
  },
  {
    "question": "What is service.kubernetes.io/headless?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   s e r v i c e . k u b e r n e t e s . i o / h e a d l e s s :   \" \"   U s e d   o n :   E n d p o i n t s   T h e   c o n t r o l   p l a n e   a d d s   t h i s   l a b e l   t o   a n   E n d p o i n t s   o b j e c t   w h e n   t h e   o w n i n g   S e r v i c e   i s   h e a d l e s s .   T o   l e a r n   m o r e ,   r e a d   H e a d l e s s   S e r v i c e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6021"
  },
  {
    "question": "What is service.kubernetes.io/topology-aware-hints (deprecated)?",
    "answer": "E x a m p l e :   s e r v i c e . k u b e r n e t e s . i o / t o p o l o g y - a w a r e - h i n t s :   \" A u t o \"   U s e d   o n :   S e r v i c e   T h i s   a n n o t a t i o n   w a s   u s e d   f o r   e n a b l i n g   t o p o l o g y   a w a r e   h i n t s   o n   S e r v i c e s .   T o p o l o g y   a w a r e   h i n t s   h a v e   s i n c e   b e e n   r e n a m e d :   t h e   c o n c e p t   i s   n o w   c a l l e d   t o p o l o g y   a w a r e   r o u t i n g .   S e t t i n g   t h e   a n n o t a t i o n   t o   A u t o ,   o n   a   S e r v i c e ,   c o n f i g u r e d   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   t o   a d d   t o p o l o g y   h i n t s   o n   E n d p o i n t S l i c e s   a s s o c i a t e d   w i t h   t h a t   S e r v i c e .   Y o u   c a n   a l s o   e x p l i c i t l y   s e t   t h e   a n n o t a t i o n   t o   D i s a b l e d .   I f   y o u   a r e   r u n n i n g   a   v e r s i o n   o f   K u b e r n e t e s   o l d e r   t h a n   1 . 3 4 ,   c h e c k   t h e   d o c u m e n t a t i o n   f o r   t h a t   K u b e r n e t e s   v e r s i o n   t o   s e e   h o w   t o p o l o g y   a w a r e   r o u t i n g   w o r k s   i n   t h a t   r e l e a s e .   T h e r e   a r e   n o   o t h e r   v a l i d   v a l u e s   f o r   t h i s   a n n o t a t i o n .   I f   y o u   d o n ' t   w a n t   t o p o l o g y   a w a r e   h i n t s   f o r   a   S e r v i c e ,   d o n ' t   a d d   t h i s   a n n o t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6022"
  },
  {
    "question": "What is service.kubernetes.io/topology-mode?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   s e r v i c e . k u b e r n e t e s . i o / t o p o l o g y - m o d e :   A u t o   U s e d   o n :   S e r v i c e   T h i s   a n n o t a t i o n   p r o v i d e s   a   w a y   t o   d e f i n e   h o w   S e r v i c e s   h a n d l e   n e t w o r k   t o p o l o g y ;   f o r   e x a m p l e ,   y o u   c a n   c o n f i g u r e   a   S e r v i c e   s o   t h a t   K u b e r n e t e s   p r e f e r s   k e e p i n g   t r a f f i c   b e t w e e n   a   c l i e n t   a n d   s e r v e r   w i t h i n   a   s i n g l e   t o p o l o g y   z o n e .   I n   s o m e   c a s e s   t h i s   c a n   h e l p   r e d u c e   c o s t s   o r   i m p r o v e   n e t w o r k   p e r f o r m a n c e .   S e e   T o p o l o g y   A w a r e   R o u t i n g   f o r   m o r e   d e t a i l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6023"
  },
  {
    "question": "What is kubernetes.io/service-name?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   k u b e r n e t e s . i o / s e r v i c e - n a m e :   \" m y - w e b s i t e \"   U s e d   o n :   E n d p o i n t S l i c e   K u b e r n e t e s   a s s o c i a t e s   E n d p o i n t S l i c e s   w i t h   S e r v i c e s   u s i n g   t h i s   l a b e l .   T h i s   l a b e l   r e c o r d s   t h e   n a m e   o f   t h e   S e r v i c e   t h a t   t h e   E n d p o i n t S l i c e   i s   b a c k i n g .   A l l   E n d p o i n t S l i c e s   s h o u l d   h a v e   t h i s   l a b e l   s e t   t o   t h e   n a m e   o f   t h e i r   a s s o c i a t e d   S e r v i c e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6024"
  },
  {
    "question": "What is kubernetes.io/service-account.name?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . n a m e :   \" s a - n a m e \"   U s e d   o n :   S e c r e t   T h i s   a n n o t a t i o n   r e c o r d s   t h e   n a m e   o f   t h e   S e r v i c e A c c o u n t   t h a t   t h e   t o k e n   ( s t o r e d   i n   t h e   S e c r e t   o f   t y p e   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n )   r e p r e s e n t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6025"
  },
  {
    "question": "What is kubernetes.io/service-account.uid?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . u i d :   d a 6 8 f 9 c 6 - 9 d 2 6 - 1 1 e 7 - b 8 4 e - 0 0 2 d c 5 2 8 0 0 d a   U s e d   o n :   S e c r e t   T h i s   a n n o t a t i o n   r e c o r d s   t h e   u n i q u e   I D   o f   t h e   S e r v i c e A c c o u n t   t h a t   t h e   t o k e n   ( s t o r e d   i n   t h e   S e c r e t   o f   t y p e   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n )   r e p r e s e n t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6026"
  },
  {
    "question": "What is kubernetes.io/legacy-token-last-used?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   k u b e r n e t e s . i o / l e g a c y - t o k e n - l a s t - u s e d :   2 0 2 2 - 1 0 - 2 4   U s e d   o n :   S e c r e t   T h e   c o n t r o l   p l a n e   o n l y   a d d s   t h i s   l a b e l   t o   S e c r e t s   t h a t   h a v e   t h e   t y p e   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n .   T h e   v a l u e   o f   t h i s   l a b e l   r e c o r d s   t h e   d a t e   ( I S O   8 6 0 1   f o r m a t ,   U T C   t i m e   z o n e )   w h e n   t h e   c o n t r o l   p l a n e   l a s t   s a w   a   r e q u e s t   w h e r e   t h e   c l i e n t   a u t h e n t i c a t e d   u s i n g   t h e   s e r v i c e   a c c o u n t   t o k e n .   I f   a   l e g a c y   t o k e n   w a s   l a s t   u s e d   b e f o r e   t h e   c l u s t e r   g a i n e d   t h e   f e a t u r e   ( a d d e d   i n   K u b e r n e t e s   v 1 . 2 6 ) ,   t h e n   t h e   l a b e l   i s n ' t   s e t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6027"
  },
  {
    "question": "What is kubernetes.io/legacy-token-invalid-since?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   k u b e r n e t e s . i o / l e g a c y - t o k e n - i n v a l i d - s i n c e :   2 0 2 3 - 1 0 - 2 7   U s e d   o n :   S e c r e t   T h e   c o n t r o l   p l a n e   a u t o m a t i c a l l y   a d d s   t h i s   l a b e l   t o   a u t o - g e n e r a t e d   S e c r e t s   t h a t   h a v e   t h e   t y p e   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n .   T h i s   l a b e l   m a r k s   t h e   S e c r e t - b a s e d   t o k e n   a s   i n v a l i d   f o r   a u t h e n t i c a t i o n .   T h e   v a l u e   o f   t h i s   l a b e l   r e c o r d s   t h e   d a t e   ( I S O   8 6 0 1   f o r m a t ,   U T C   t i m e   z o n e )   w h e n   t h e   c o n t r o l   p l a n e   d e t e c t s   t h a t   t h e   a u t o - g e n e r a t e d   S e c r e t   h a s   n o t   b e e n   u s e d   f o r   a   s p e c i f i e d   d u r a t i o n   ( d e f a u l t s   t o   o n e   y e a r ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6028"
  },
  {
    "question": "What is endpoints.kubernetes.io/managed-by (deprecated)?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   e n d p o i n t s . k u b e r n e t e s . i o / m a n a g e d - b y :   e n d p o i n t - c o n t r o l l e r   U s e d   o n :   E n d p o i n t s   T h i s   l a b e l   i s   u s e d   i n t e r n a l l y   t o   m a r k   E n d p o i n t s   o b j e c t s   t h a t   w e r e   c r e a t e d   b y   K u b e r n e t e s   ( a s   o p p o s e d   t o   E n d p o i n t s   c r e a t e d   b y   u s e r s   o r   e x t e r n a l   c o n t r o l l e r s ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6029"
  },
  {
    "question": "What is endpointslice.kubernetes.io/managed-by?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   e n d p o i n t s l i c e . k u b e r n e t e s . i o / m a n a g e d - b y :   e n d p o i n t s l i c e - c o n t r o l l e r . k 8 s . i o   U s e d   o n :   E n d p o i n t S l i c e s   T h e   l a b e l   i s   u s e d   t o   i n d i c a t e   t h e   c o n t r o l l e r   o r   e n t i t y   t h a t   m a n a g e s   t h e   E n d p o i n t S l i c e .   T h i s   l a b e l   a i m s   t o   e n a b l e   d i f f e r e n t   E n d p o i n t S l i c e   o b j e c t s   t o   b e   m a n a g e d   b y   d i f f e r e n t   c o n t r o l l e r s   o r   e n t i t i e s   w i t h i n   t h e   s a m e   c l u s t e r .   T h e   v a l u e   e n d p o i n t s l i c e - c o n t r o l l e r . k 8 s . i o   i n d i c a t e s   a n   E n d p o i n t S l i c e   o b j e c t   t h a t   w a s   c r e a t e d   a u t o m a t i c a l l y   b y   K u b e r n e t e s   f o r   a   S e r v i c e   w i t h   a   s e l e c t o r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6030"
  },
  {
    "question": "What is endpointslice.kubernetes.io/skip-mirror?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   e n d p o i n t s l i c e . k u b e r n e t e s . i o / s k i p - m i r r o r :   \" t r u e \"   U s e d   o n :   E n d p o i n t s   T h e   l a b e l   c a n   b e   s e t   t o   \" t r u e \"   o n   a n   E n d p o i n t s   r e s o u r c e   t o   i n d i c a t e   t h a t   t h e   E n d p o i n t S l i c e M i r r o r i n g   c o n t r o l l e r   s h o u l d   n o t   m i r r o r   t h i s   r e s o u r c e   w i t h   E n d p o i n t S l i c e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6031"
  },
  {
    "question": "What is service.kubernetes.io/service-proxy-name?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   s e r v i c e . k u b e r n e t e s . i o / s e r v i c e - p r o x y - n a m e :   \" f o o - b a r \"   U s e d   o n :   S e r v i c e   S e t t i n g   a   v a l u e   f o r   t h i s   l a b e l   t e l l s   k u b e - p r o x y   t o   i g n o r e   t h i s   s e r v i c e   f o r   p r o x y i n g   p u r p o s e s .   T h i s   a l l o w s   f o r   u s e   o f   a l t e r n a t i v e   p r o x y   i m p l e m e n t a t i o n s   f o r   t h i s   s e r v i c e   ( e . g .   r u n n i n g   a   D a e m o n S e t   t h a t   m a n a g e s   n f t a b l e s   i t s   o w n   w a y ) .   M u l t i p l e   a l t e r n a t i v e   p r o x y   i m p l e m e n t a t i o n s   c o u l d   b e   a c t i v e   s i m u l t a n e o u s l y   u s i n g   t h i s   f i e l d ,   e . g .   b y   h a v i n g   a   v a l u e   u n i q u e   t o   e a c h   a l t e r n a t i v e   p r o x y   i m p l e m e n t a t i o n   t o   b e   r e s p o n s i b l e   f o r   t h e i r   r e s p e c t i v e   s e r v i c e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6032"
  },
  {
    "question": "What is experimental.windows.kubernetes.io/isolation-type (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   e x p e r i m e n t a l . w i n d o w s . k u b e r n e t e s . i o / i s o l a t i o n - t y p e :   \" h y p e r v \"   U s e d   o n :   P o d   T h e   a n n o t a t i o n   i s   u s e d   t o   r u n   W i n d o w s   c o n t a i n e r s   w i t h   H y p e r - V   i s o l a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6033"
  },
  {
    "question": "What is ingressclass.kubernetes.io/is-default-class?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   i n g r e s s c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s :   \" t r u e \"   U s e d   o n :   I n g r e s s C l a s s   W h e n   a   I n g r e s s C l a s s   r e s o u r c e   h a s   t h i s   a n n o t a t i o n   s e t   t o   \" t r u e \" ,   n e w   I n g r e s s   r e s o u r c e   w i t h o u t   a   c l a s s   s p e c i f i e d   w i l l   b e   a s s i g n e d   t h i s   d e f a u l t   c l a s s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6034"
  },
  {
    "question": "What is nginx.ingress.kubernetes.io/configuration-snippet?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   n g i n x . i n g r e s s . k u b e r n e t e s . i o / c o n f i g u r a t i o n - s n i p p e t :   \"   m o r e _ s e t _ h e a d e r s   \\ \" R e q u e s t - I d :   $ r e q _ i d \\ \" ; \\ n m o r e _ s e t _ h e a d e r s   \\ \" E x a m p l e :   4 2 \\ \" ; \\ n \"   U s e d   o n :   I n g r e s s   Y o u   c a n   u s e   t h i s   a n n o t a t i o n   t o   s e t   e x t r a   c o n f i g u r a t i o n   o n   a n   I n g r e s s   t h a t   u s e s   t h e   N G I N X   I n g r e s s   C o n t r o l l e r .   T h e   c o n f i g u r a t i o n - s n i p p e t   a n n o t a t i o n   i s   i g n o r e d   b y   d e f a u l t   s i n c e   v e r s i o n   1 . 9 . 0   o f   t h e   i n g r e s s   c o n t r o l l e r .   T h e   N G I N X   i n g r e s s   c o n t r o l l e r   s e t t i n g   a l l o w - s n i p p e t - a n n o t a t i o n s .   h a s   t o   b e   e x p l i c i t l y   e n a b l e d   t o   u s e   t h i s   a n n o t a t i o n .   E n a b l i n g   t h e   a n n o t a t i o n   c a n   b e   d a n g e r o u s   i n   a   m u l t i - t e n a n t   c l u s t e r ,   a s   i t   c a n   l e a d   p e o p l e   w i t h   o t h e r w i s e   l i m i t e d   p e r m i s s i o n s   b e i n g   a b l e   t o   r e t r i e v e   a l l   S e c r e t s   i n   t h e   c l u s t e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6035"
  },
  {
    "question": "What is kubernetes.io/ingress.class (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   U s e d   o n :   I n g r e s s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6036"
  },
  {
    "question": "What is kubernetes.io/cluster-service (deprecated)?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   k u b e r n e t e s . i o / c l u s t e r - s e r v i c e :   \" t r u e \"   U s e d   o n :   S e r v i c e   T h i s   l a b e l   i n d i c a t e s   t h a t   t h e   S e r v i c e   p r o v i d e s   a   s e r v i c e   t o   t h e   c l u s t e r ,   i f   t h e   v a l u e   i s   s e t   t o   t r u e .   W h e n   y o u   r u n   k u b e c t l   c l u s t e r - i n f o ,   t h e   t o o l   q u e r i e s   f o r   S e r v i c e s   w i t h   t h i s   l a b e l   s e t   t o   t r u e .   H o w e v e r ,   s e t t i n g   t h i s   l a b e l   o n   a n y   S e r v i c e   i s   d e p r e c a t e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6037"
  },
  {
    "question": "What is storageclass.kubernetes.io/is-default-class?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s :   \" t r u e \"   U s e d   o n :   S t o r a g e C l a s s   W h e n   a   s i n g l e   S t o r a g e C l a s s   r e s o u r c e   h a s   t h i s   a n n o t a t i o n   s e t   t o   \" t r u e \" ,   n e w   P e r s i s t e n t V o l u m e C l a i m   r e s o u r c e   w i t h o u t   a   c l a s s   s p e c i f i e d   w i l l   b e   a s s i g n e d   t h i s   d e f a u l t   c l a s s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6038"
  },
  {
    "question": "What is alpha.kubernetes.io/provided-node-ip (alpha)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   a l p h a . k u b e r n e t e s . i o / p r o v i d e d - n o d e - i p :   \" 1 0 . 0 . 0 . 1 \"   U s e d   o n :   N o d e   T h e   k u b e l e t   c a n   s e t   t h i s   a n n o t a t i o n   o n   a   N o d e   t o   d e n o t e   i t s   c o n f i g u r e d   I P v 4   a n d / o r   I P v 6   a d d r e s s .   W h e n   k u b e l e t   i s   s t a r t e d   w i t h   t h e   - - c l o u d - p r o v i d e r   f l a g   s e t   t o   a n y   v a l u e   ( i n c l u d e s   b o t h   e x t e r n a l   a n d   l e g a c y   i n - t r e e   c l o u d   p r o v i d e r s ) ,   i t   s e t s   t h i s   a n n o t a t i o n   o n   t h e   N o d e   t o   d e n o t e   a n   I P   a d d r e s s   s e t   f r o m   t h e   c o m m a n d   l i n e   f l a g   ( - - n o d e - i p ) .   T h i s   I P   i s   v e r i f i e d   w i t h   t h e   c l o u d   p r o v i d e r   a s   v a l i d   b y   t h e   c l o u d - c o n t r o l l e r - m a n a g e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6039"
  },
  {
    "question": "What is batch.kubernetes.io/job-completion-index?",
    "answer": "T y p e :   A n n o t a t i o n ,   L a b e l   E x a m p l e :   b a t c h . k u b e r n e t e s . i o / j o b - c o m p l e t i o n - i n d e x :   \" 3 \"   U s e d   o n :   P o d   T h e   J o b   c o n t r o l l e r   i n   t h e   k u b e - c o n t r o l l e r - m a n a g e r   s e t s   t h i s   a s   a   l a b e l   a n d   a n n o t a t i o n   f o r   P o d s   c r e a t e d   w i t h   I n d e x e d   c o m p l e t i o n   m o d e .   N o t e   t h e   P o d I n d e x L a b e l   f e a t u r e   g a t e   m u s t   b e   e n a b l e d   f o r   t h i s   t o   b e   a d d e d   a s   a   p o d   l a b e l ,   o t h e r w i s e   i t   w i l l   j u s t   b e   a n   a n n o t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6040"
  },
  {
    "question": "What is batch.kubernetes.io/cronjob-scheduled-timestamp?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   b a t c h . k u b e r n e t e s . i o / c r o n j o b - s c h e d u l e d - t i m e s t a m p :   \" 2 0 1 6 - 0 5 - 1 9 T 0 3 : 0 0 : 0 0 - 0 7 : 0 0 \"   U s e d   o n :   J o b s   a n d   P o d s   c o n t r o l l e d   b y   C r o n J o b s   T h i s   a n n o t a t i o n   i s   u s e d   t o   r e c o r d   t h e   o r i g i n a l   ( e x p e c t e d )   c r e a t i o n   t i m e s t a m p   f o r   a   J o b ,   w h e n   t h a t   J o b   i s   p a r t   o f   a   C r o n J o b .   T h e   c o n t r o l   p l a n e   s e t s   t h e   v a l u e   t o   t h a t   t i m e s t a m p   i n   R F C 3 3 3 9   f o r m a t .   I f   t h e   J o b   b e l o n g s   t o   a   C r o n J o b   w i t h   a   t i m e z o n e   s p e c i f i e d ,   t h e n   t h e   t i m e s t a m p   i s   i n   t h a t   t i m e z o n e .   O t h e r w i s e ,   t h e   t i m e s t a m p   i s   i n   c o n t r o l l e r - m a n a g e r ' s   l o c a l   t i m e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6041"
  },
  {
    "question": "What is kubectl.kubernetes.io/default-container?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e c t l . k u b e r n e t e s . i o / d e f a u l t - c o n t a i n e r :   \" f r o n t - e n d - a p p \"   T h e   v a l u e   o f   t h e   a n n o t a t i o n   i s   t h e   c o n t a i n e r   n a m e   t h a t   i s   d e f a u l t   f o r   t h i s   P o d .   F o r   e x a m p l e ,   k u b e c t l   l o g s   o r   k u b e c t l   e x e c   w i t h o u t   - c   o r   - - c o n t a i n e r   f l a g   w i l l   u s e   t h i s   d e f a u l t   c o n t a i n e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6042"
  },
  {
    "question": "What is kubectl.kubernetes.io/default-logs-container (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e c t l . k u b e r n e t e s . i o / d e f a u l t - l o g s - c o n t a i n e r :   \" f r o n t - e n d - a p p \"   T h e   v a l u e   o f   t h e   a n n o t a t i o n   i s   t h e   c o n t a i n e r   n a m e   t h a t   i s   t h e   d e f a u l t   l o g g i n g   c o n t a i n e r   f o r   t h i s   P o d .   F o r   e x a m p l e ,   k u b e c t l   l o g s   w i t h o u t   - c   o r   - - c o n t a i n e r   f l a g   w i l l   u s e   t h i s   d e f a u l t   c o n t a i n e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6043"
  },
  {
    "question": "What is kubectl.kubernetes.io/last-applied-configuration?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   s e e   f o l l o w i n g   s n i p p e t   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n :   >   { \" a p i V e r s i o n \" : \" a p p s / v 1 \" , \" k i n d \" : \" D e p l o y m e n t \" , \" m e t a d a t a \" : { \" a n n o t a t i o n s \" : { } , \" n a m e \" : \" e x a m p l e \" , \" n a m e s p a c e \" : \" d e f a u l t \" } , \" s p e c \" : { \" s e l e c t o r \" : { \" m a t c h L a b e l s \" : { \" a p p . k u b e r n e t e s . i o / n a m e \" : f o o } } , \" t e m p l a t e \" : { \" m e t a d a t a \" : { \" l a b e l s \" : { \" a p p . k u b e r n e t e s . i o / n a m e \" : \" f o o \" } } , \" s p e c \" : { \" c o n t a i n e r s \" : [ { \" i m a g e \" : \" c o n t a i n e r - r e g i s t r y . e x a m p l e / f o o - b a r : 1 . 4 2 \" , \" n a m e \" : \" f o o - b a r \" , \" p o r t s \" : [ { \" c o n t a i n e r P o r t \" : 4 2 } ] } ] } } } }   U s e d   o n :   a l l   o b j e c t s   T h e   k u b e c t l   c o m m a n d   l i n e   t o o l   u s e s   t h i s   a n n o t a t i o n   a s   a   l e g a c y   m e c h a n i s m   t o   t r a c k   c h a n g e s .   T h a t   m e c h a n i s m   h a s   b e e n   s u p e r s e d e d   b y   S e r v e r - s i d e   a p p l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6044"
  },
  {
    "question": "What is kubectl.kubernetes.io/restartedAt?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e c t l . k u b e r n e t e s . i o / r e s t a r t e d A t :   \" 2 0 2 4 - 0 6 - 2 1 T 1 7 : 2 7 : 4 1 Z \"   U s e d   o n :   D e p l o y m e n t ,   R e p l i c a S e t ,   S t a t e f u l S e t ,   D a e m o n S e t ,   P o d   T h i s   a n n o t a t i o n   c o n t a i n s   t h e   l a t e s t   r e s t a r t   t i m e   o f   a   r e s o u r c e   ( D e p l o y m e n t ,   R e p l i c a S e t ,   S t a t e f u l S e t   o r   D a e m o n S e t ) ,   w h e r e   k u b e c t l   t r i g g e r e d   a   r o l l o u t   i n   o r d e r   t o   f o r c e   c r e a t i o n   o f   n e w   P o d s .   T h e   c o m m a n d   k u b e c t l   r o l l o u t   r e s t a r t   < R E S O U R C E >   t r i g g e r s   a   r e s t a r t   b y   p a t c h i n g   t h e   t e m p l a t e   m e t a d a t a   o f   a l l   t h e   p o d s   o f   r e s o u r c e   w i t h   t h i s   a n n o t a t i o n .   I n   a b o v e   e x a m p l e   t h e   l a t e s t   r e s t a r t   t i m e   i s   s h o w n   a s   2 1 s t   J u n e   2 0 2 4   a t   1 7 : 2 7 : 4 1   U T C .   Y o u   s h o u l d   n o t   a s s u m e   t h a t   t h i s   a n n o t a t i o n   r e p r e s e n t s   t h e   d a t e   /   t i m e   o f   t h e   m o s t   r e c e n t   u p d a t e ;   a   s e p a r a t e   c h a n g e   c o u l d   h a v e   b e e n   m a d e   s i n c e   t h e   l a s t   m a n u a l l y   t r i g g e r e d   r o l l o u t .   I f   y o u   m a n u a l l y   s e t   t h i s   a n n o t a t i o n   o n   a   P o d ,   n o t h i n g   h a p p e n s .   T h e   r e s t a r t i n g   s i d e   e f f e c t   c o m e s   f r o m   h o w   w o r k l o a d   m a n a g e m e n t   a n d   P o d   t e m p l a t i n g   w o r k s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6045"
  },
  {
    "question": "What is endpoints.kubernetes.io/over-capacity?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   e n d p o i n t s . k u b e r n e t e s . i o / o v e r - c a p a c i t y : t r u n c a t e d   U s e d   o n :   E n d p o i n t s   T h e   c o n t r o l   p l a n e   a d d s   t h i s   a n n o t a t i o n   t o   a n   E n d p o i n t s   o b j e c t   i f   t h e   a s s o c i a t e d   S e r v i c e   h a s   m o r e   t h a n   1 0 0 0   b a c k i n g   e n d p o i n t s .   T h e   a n n o t a t i o n   i n d i c a t e s   t h a t   t h e   E n d p o i n t s   o b j e c t   i s   o v e r   c a p a c i t y   a n d   t h e   n u m b e r   o f   e n d p o i n t s   h a s   b e e n   t r u n c a t e d   t o   1 0 0 0 .   I f   t h e   n u m b e r   o f   b a c k e n d   e n d p o i n t s   f a l l s   b e l o w   1 0 0 0 ,   t h e   c o n t r o l   p l a n e   r e m o v e s   t h i s   a n n o t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6046"
  },
  {
    "question": "What is endpoints.kubernetes.io/last-change-trigger-time?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   e n d p o i n t s . k u b e r n e t e s . i o / l a s t - c h a n g e - t r i g g e r - t i m e :   \" 2 0 2 3 - 0 7 - 2 0 T 0 4 : 4 5 : 2 1 Z \"   U s e d   o n :   E n d p o i n t s   T h i s   a n n o t a t i o n   s e t   t o   a n   E n d p o i n t s   o b j e c t   t h a t   r e p r e s e n t s   t h e   t i m e s t a m p   ( T h e   t i m e s t a m p   i s   s t o r e d   i n   R F C   3 3 3 9   d a t e - t i m e   s t r i n g   f o r m a t .   F o r   e x a m p l e ,   ' 2 0 1 8 - 1 0 - 2 2 T 1 9 : 3 2 : 5 2 . 1 Z ' ) .   T h i s   i s   t i m e s t a m p   o f   t h e   l a s t   c h a n g e   i n   s o m e   P o d   o r   S e r v i c e   o b j e c t ,   t h a t   t r i g g e r e d   t h e   c h a n g e   t o   t h e   E n d p o i n t s   o b j e c t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6047"
  },
  {
    "question": "What is control-plane.alpha.kubernetes.io/leader (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   c o n t r o l - p l a n e . a l p h a . k u b e r n e t e s . i o / l e a d e r = { \" h o l d e r I d e n t i t y \" : \" c o n t r o l l e r - 0 \" , \" l e a s e D u r a t i o n S e c o n d s \" : 1 5 , \" a c q u i r e T i m e \" : \" 2 0 2 3 - 0 1 - 1 9 T 1 3 : 1 2 : 5 7 Z \" , \" r e n e w T i m e \" : \" 2 0 2 3 - 0 1 - 1 9 T 1 3 : 1 3 : 5 4 Z \" , \" l e a d e r T r a n s i t i o n s \" : 1 }   U s e d   o n :   E n d p o i n t s   T h e   c o n t r o l   p l a n e   p r e v i o u s l y   s e t   a n n o t a t i o n   o n   a n   E n d p o i n t s   o b j e c t .   T h i s   a n n o t a t i o n   p r o v i d e d   t h e   f o l l o w i n g   d e t a i l :   W h o   i s   t h e   c u r r e n t   l e a d e r . T h e   t i m e   w h e n   t h e   c u r r e n t   l e a d e r s h i p   w a s   a c q u i r e d . T h e   d u r a t i o n   o f   t h e   l e a s e   ( o f   t h e   l e a d e r s h i p )   i n   s e c o n d s . T h e   t i m e   t h e   c u r r e n t   l e a s e   ( t h e   c u r r e n t   l e a d e r s h i p )   s h o u l d   b e   r e n e w e d . T h e   n u m b e r   o f   l e a d e r s h i p   t r a n s i t i o n s   t h a t   h a p p e n e d   i n   t h e   p a s t .   K u b e r n e t e s   n o w   u s e s   L e a s e s   t o   m a n a g e   l e a d e r   a s s i g n m e n t   f o r   t h e   K u b e r n e t e s   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6048"
  },
  {
    "question": "What is batch.kubernetes.io/job-tracking (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   b a t c h . k u b e r n e t e s . i o / j o b - t r a c k i n g :   \" \"   U s e d   o n :   J o b s   T h e   p r e s e n c e   o f   t h i s   a n n o t a t i o n   o n   a   J o b   u s e d   t o   i n d i c a t e   t h a t   t h e   c o n t r o l   p l a n e   i s   t r a c k i n g   t h e   J o b   s t a t u s   u s i n g   f i n a l i z e r s .   A d d i n g   o r   r e m o v i n g   t h i s   a n n o t a t i o n   n o   l o n g e r   h a s   a n   e f f e c t   ( K u b e r n e t e s   v 1 . 2 7   a n d   l a t e r )   A l l   J o b s   a r e   t r a c k e d   w i t h   f i n a l i z e r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6049"
  },
  {
    "question": "What is job-name (deprecated)?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   j o b - n a m e :   \" p i \"   U s e d   o n :   J o b s   a n d   P o d s   c o n t r o l l e d   b y   J o b s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6050"
  },
  {
    "question": "What is controller-uid (deprecated)?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   c o n t r o l l e r - u i d :   \" $ U I D \"   U s e d   o n :   J o b s   a n d   P o d s   c o n t r o l l e d   b y   J o b s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6051"
  },
  {
    "question": "What is batch.kubernetes.io/job-name?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   b a t c h . k u b e r n e t e s . i o / j o b - n a m e :   \" p i \"   U s e d   o n :   J o b s   a n d   P o d s   c o n t r o l l e d   b y   J o b s   T h i s   l a b e l   i s   u s e d   a s   a   u s e r - f r i e n d l y   w a y   t o   g e t   P o d s   c o r r e s p o n d i n g   t o   a   J o b .   T h e   j o b - n a m e   c o m e s   f r o m   t h e   n a m e   o f   t h e   J o b   a n d   a l l o w s   f o r   a n   e a s y   w a y   t o   g e t   P o d s   c o r r e s p o n d i n g   t o   t h e   J o b .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6052"
  },
  {
    "question": "What is batch.kubernetes.io/controller-uid?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   b a t c h . k u b e r n e t e s . i o / c o n t r o l l e r - u i d :   \" $ U I D \"   U s e d   o n :   J o b s   a n d   P o d s   c o n t r o l l e d   b y   J o b s   T h i s   l a b e l   i s   u s e d   a s   a   p r o g r a m m a t i c   w a y   t o   g e t   a l l   P o d s   c o r r e s p o n d i n g   t o   a   J o b . T h e   c o n t r o l l e r - u i d   i s   a   u n i q u e   i d e n t i f i e r   t h a t   g e t s   s e t   i n   t h e   s e l e c t o r   f i e l d   s o   t h e   J o b   c o n t r o l l e r   c a n   g e t   a l l   t h e   c o r r e s p o n d i n g   P o d s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6053"
  },
  {
    "question": "What is scheduler.alpha.kubernetes.io/defaultTolerations?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   s c h e d u l e r . a l p h a . k u b e r n e t e s . i o / d e f a u l t T o l e r a t i o n s :   ' [ { \" o p e r a t o r \" :   \" E q u a l \" ,   \" v a l u e \" :   \" v a l u e 1 \" ,   \" e f f e c t \" :   \" N o S c h e d u l e \" ,   \" k e y \" :   \" d e d i c a t e d - n o d e \" } ] '   U s e d   o n :   N a m e s p a c e   T h i s   a n n o t a t i o n   r e q u i r e s   t h e   P o d T o l e r a t i o n R e s t r i c t i o n   a d m i s s i o n   c o n t r o l l e r   t o   b e   e n a b l e d .   T h i s   a n n o t a t i o n   k e y   a l l o w s   a s s i g n i n g   t o l e r a t i o n s   t o   a   n a m e s p a c e   a n d   a n y   n e w   p o d s   c r e a t e d   i n   t h i s   n a m e s p a c e   w o u l d   g e t   t h e s e   t o l e r a t i o n s   a d d e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6054"
  },
  {
    "question": "What is scheduler.alpha.kubernetes.io/tolerationsWhitelist?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   s c h e d u l e r . a l p h a . k u b e r n e t e s . i o / t o l e r a t i o n s W h i t e l i s t :   ' [ { \" o p e r a t o r \" :   \" E x i s t s \" ,   \" e f f e c t \" :   \" N o S c h e d u l e \" ,   \" k e y \" :   \" d e d i c a t e d - n o d e \" } ] '   U s e d   o n :   N a m e s p a c e   T h i s   a n n o t a t i o n   i s   o n l y   u s e f u l   w h e n   t h e   ( A l p h a )   P o d T o l e r a t i o n R e s t r i c t i o n   a d m i s s i o n   c o n t r o l l e r   i s   e n a b l e d .   T h e   a n n o t a t i o n   v a l u e   i s   a   J S O N   d o c u m e n t   t h a t   d e f i n e s   a   l i s t   o f   a l l o w e d   t o l e r a t i o n s   f o r   t h e   n a m e s p a c e   i t   a n n o t a t e s .   W h e n   y o u   c r e a t e   a   P o d   o r   m o d i f y   i t s   t o l e r a t i o n s ,   t h e   A P I   s e r v e r   c h e c k s   t h e   t o l e r a t i o n s   t o   s e e   i f   t h e y   a r e   m e n t i o n e d   i n   t h e   a l l o w   l i s t .   T h e   p o d   i s   a d m i t t e d   o n l y   i f   t h e   c h e c k   s u c c e e d s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6055"
  },
  {
    "question": "What is scheduler.alpha.kubernetes.io/preferAvoidPods (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   U s e d   o n :   N o d e   T h i s   a n n o t a t i o n   r e q u i r e s   t h e   N o d e P r e f e r A v o i d P o d s   s c h e d u l i n g   p l u g i n   t o   b e   e n a b l e d .   T h e   p l u g i n   i s   d e p r e c a t e d   s i n c e   K u b e r n e t e s   1 . 2 2 .   U s e   T a i n t s   a n d   T o l e r a t i o n s   i n s t e a d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6056"
  },
  {
    "question": "What is node.kubernetes.io/not-ready?",
    "answer": "T y p e :   T a i n t   E x a m p l e :   n o d e . k u b e r n e t e s . i o / n o t - r e a d y :   \" N o E x e c u t e \"   U s e d   o n :   N o d e   T h e   N o d e   c o n t r o l l e r   d e t e c t s   w h e t h e r   a   N o d e   i s   r e a d y   b y   m o n i t o r i n g   i t s   h e a l t h   a n d   a d d s   o r   r e m o v e s   t h i s   t a i n t   a c c o r d i n g l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6057"
  },
  {
    "question": "What is node.kubernetes.io/unreachable?",
    "answer": "T y p e :   T a i n t   E x a m p l e :   n o d e . k u b e r n e t e s . i o / u n r e a c h a b l e :   \" N o E x e c u t e \"   U s e d   o n :   N o d e   T h e   N o d e   c o n t r o l l e r   a d d s   t h e   t a i n t   t o   a   N o d e   c o r r e s p o n d i n g   t o   t h e   N o d e C o n d i t i o n   R e a d y   b e i n g   U n k n o w n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6058"
  },
  {
    "question": "What is node.kubernetes.io/unschedulable?",
    "answer": "T y p e :   T a i n t   E x a m p l e :   n o d e . k u b e r n e t e s . i o / u n s c h e d u l a b l e :   \" N o S c h e d u l e \"   U s e d   o n :   N o d e   T h e   t a i n t   w i l l   b e   a d d e d   t o   a   n o d e   w h e n   i n i t i a l i z i n g   t h e   n o d e   t o   a v o i d   r a c e   c o n d i t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6059"
  },
  {
    "question": "What is node.kubernetes.io/memory-pressure?",
    "answer": "T y p e :   T a i n t   E x a m p l e :   n o d e . k u b e r n e t e s . i o / m e m o r y - p r e s s u r e :   \" N o S c h e d u l e \"   U s e d   o n :   N o d e   T h e   k u b e l e t   d e t e c t s   m e m o r y   p r e s s u r e   b a s e d   o n   m e m o r y . a v a i l a b l e   a n d   a l l o c a t a b l e M e m o r y . a v a i l a b l e   o b s e r v e d   o n   a   N o d e .   T h e   o b s e r v e d   v a l u e s   a r e   t h e n   c o m p a r e d   t o   t h e   c o r r e s p o n d i n g   t h r e s h o l d s   t h a t   c a n   b e   s e t   o n   t h e   k u b e l e t   t o   d e t e r m i n e   i f   t h e   N o d e   c o n d i t i o n   a n d   t a i n t   s h o u l d   b e   a d d e d / r e m o v e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6060"
  },
  {
    "question": "What is node.kubernetes.io/disk-pressure?",
    "answer": "T y p e :   T a i n t   E x a m p l e :   n o d e . k u b e r n e t e s . i o / d i s k - p r e s s u r e   : \" N o S c h e d u l e \"   U s e d   o n :   N o d e   T h e   k u b e l e t   d e t e c t s   d i s k   p r e s s u r e   b a s e d   o n   i m a g e f s . a v a i l a b l e ,   i m a g e f s . i n o d e s F r e e ,   n o d e f s . a v a i l a b l e   a n d   n o d e f s . i n o d e s F r e e ( L i n u x   o n l y )   o b s e r v e d   o n   a   N o d e .   T h e   o b s e r v e d   v a l u e s   a r e   t h e n   c o m p a r e d   t o   t h e   c o r r e s p o n d i n g   t h r e s h o l d s   t h a t   c a n   b e   s e t   o n   t h e   k u b e l e t   t o   d e t e r m i n e   i f   t h e   N o d e   c o n d i t i o n   a n d   t a i n t   s h o u l d   b e   a d d e d / r e m o v e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6061"
  },
  {
    "question": "What is node.kubernetes.io/network-unavailable?",
    "answer": "T y p e :   T a i n t   E x a m p l e :   n o d e . k u b e r n e t e s . i o / n e t w o r k - u n a v a i l a b l e :   \" N o S c h e d u l e \"   U s e d   o n :   N o d e   T h i s   i s   i n i t i a l l y   s e t   b y   t h e   k u b e l e t   w h e n   t h e   c l o u d   p r o v i d e r   u s e d   i n d i c a t e s   a   r e q u i r e m e n t   f o r   a d d i t i o n a l   n e t w o r k   c o n f i g u r a t i o n .   O n l y   w h e n   t h e   r o u t e   o n   t h e   c l o u d   i s   c o n f i g u r e d   p r o p e r l y   w i l l   t h e   t a i n t   b e   r e m o v e d   b y   t h e   c l o u d   p r o v i d e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6062"
  },
  {
    "question": "What is node.kubernetes.io/pid-pressure?",
    "answer": "T y p e :   T a i n t   E x a m p l e :   n o d e . k u b e r n e t e s . i o / p i d - p r e s s u r e :   \" N o S c h e d u l e \"   U s e d   o n :   N o d e   T h e   k u b e l e t   c h e c k s   D - v a l u e   o f   t h e   s i z e   o f   / p r o c / s y s / k e r n e l / p i d _ m a x   a n d   t h e   P I D s   c o n s u m e d   b y   K u b e r n e t e s   o n   a   n o d e   t o   g e t   t h e   n u m b e r   o f   a v a i l a b l e   P I D s   t h a t   r e f e r r e d   t o   a s   t h e   p i d . a v a i l a b l e   m e t r i c .   T h e   m e t r i c   i s   t h e n   c o m p a r e d   t o   t h e   c o r r e s p o n d i n g   t h r e s h o l d   t h a t   c a n   b e   s e t   o n   t h e   k u b e l e t   t o   d e t e r m i n e   i f   t h e   n o d e   c o n d i t i o n   a n d   t a i n t   s h o u l d   b e   a d d e d / r e m o v e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6063"
  },
  {
    "question": "What is node.kubernetes.io/out-of-service?",
    "answer": "T y p e :   T a i n t   E x a m p l e :   n o d e . k u b e r n e t e s . i o / o u t - o f - s e r v i c e : N o E x e c u t e   U s e d   o n :   N o d e   A   u s e r   c a n   m a n u a l l y   a d d   t h e   t a i n t   t o   a   N o d e   m a r k i n g   i t   o u t - o f - s e r v i c e .   I f   a   N o d e   i s   m a r k e d   o u t - o f - s e r v i c e   w i t h   t h i s   t a i n t ,   t h e   P o d s   o n   t h e   n o d e   w i l l   b e   f o r c e f u l l y   d e l e t e d   i f   t h e r e   a r e   n o   m a t c h i n g   t o l e r a t i o n s   o n   i t   a n d   v o l u m e   d e t a c h   o p e r a t i o n s   f o r   t h e   P o d s   t e r m i n a t i n g   o n   t h e   n o d e   w i l l   h a p p e n   i m m e d i a t e l y .   T h i s   a l l o w s   t h e   P o d s   o n   t h e   o u t - o f - s e r v i c e   n o d e   t o   r e c o v e r   q u i c k l y   o n   a   d i f f e r e n t   n o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6064"
  },
  {
    "question": "What is node.cloudprovider.kubernetes.io/uninitialized?",
    "answer": "T y p e :   T a i n t   E x a m p l e :   n o d e . c l o u d p r o v i d e r . k u b e r n e t e s . i o / u n i n i t i a l i z e d :   \" N o S c h e d u l e \"   U s e d   o n :   N o d e   S e t s   t h i s   t a i n t   o n   a   N o d e   t o   m a r k   i t   a s   u n u s a b l e ,   w h e n   k u b e l e t   i s   s t a r t e d   w i t h   t h e   \" e x t e r n a l \"   c l o u d   p r o v i d e r ,   u n t i l   a   c o n t r o l l e r   f r o m   t h e   c l o u d - c o n t r o l l e r - m a n a g e r   i n i t i a l i z e s   t h i s   N o d e ,   a n d   t h e n   r e m o v e s   t h e   t a i n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6065"
  },
  {
    "question": "What is node.cloudprovider.kubernetes.io/shutdown?",
    "answer": "T y p e :   T a i n t   E x a m p l e :   n o d e . c l o u d p r o v i d e r . k u b e r n e t e s . i o / s h u t d o w n :   \" N o S c h e d u l e \"   U s e d   o n :   N o d e   I f   a   N o d e   i s   i n   a   c l o u d   p r o v i d e r   s p e c i f i e d   s h u t d o w n   s t a t e ,   t h e   N o d e   g e t s   t a i n t e d   a c c o r d i n g l y   w i t h   n o d e . c l o u d p r o v i d e r . k u b e r n e t e s . i o / s h u t d o w n   a n d   t h e   t a i n t   e f f e c t   o f   N o S c h e d u l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6066"
  },
  {
    "question": "What is feature.node.kubernetes.io/*?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   f e a t u r e . n o d e . k u b e r n e t e s . i o / n e t w o r k - s r i o v . c a p a b l e :   \" t r u e \"   U s e d   o n :   N o d e   T h e s e   l a b e l s   a r e   u s e d   b y   t h e   N o d e   F e a t u r e   D i s c o v e r y   ( N F D )   c o m p o n e n t   t o   a d v e r t i s e   f e a t u r e s   o n   a   n o d e .   A l l   b u i l t - i n   l a b e l s   u s e   t h e   f e a t u r e . n o d e . k u b e r n e t e s . i o   l a b e l   n a m e s p a c e   a n d   h a v e   t h e   f o r m a t   f e a t u r e . n o d e . k u b e r n e t e s . i o / < f e a t u r e - n a m e > :   \" t r u e \" .   N F D   h a s   m a n y   e x t e n s i o n   p o i n t s   f o r   c r e a t i n g   v e n d o r   a n d   a p p l i c a t i o n - s p e c i f i c   l a b e l s .   F o r   d e t a i l s ,   s e e   t h e   c u s t o m i z a t i o n   g u i d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6067"
  },
  {
    "question": "What is nfd.node.kubernetes.io/master.version?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   n f d . n o d e . k u b e r n e t e s . i o / m a s t e r . v e r s i o n :   \" v 0 . 6 . 0 \"   U s e d   o n :   N o d e   F o r   n o d e ( s )   w h e r e   t h e   N o d e   F e a t u r e   D i s c o v e r y   ( N F D )   m a s t e r   i s   s c h e d u l e d ,   t h i s   a n n o t a t i o n   r e c o r d s   t h e   v e r s i o n   o f   t h e   N F D   m a s t e r .   I t   i s   u s e d   f o r   i n f o r m a t i v e   u s e   o n l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6068"
  },
  {
    "question": "What is nfd.node.kubernetes.io/worker.version?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   n f d . n o d e . k u b e r n e t e s . i o / w o r k e r . v e r s i o n :   \" v 0 . 4 . 0 \"   U s e d   o n :   N o d e s   T h i s   a n n o t a t i o n   r e c o r d s   t h e   v e r s i o n   f o r   a   N o d e   F e a t u r e   D i s c o v e r y ' s   w o r k e r   i f   t h e r e   i s   o n e   r u n n i n g   o n   a   n o d e .   I t ' s   u s e d   f o r   i n f o r m a t i v e   u s e   o n l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6069"
  },
  {
    "question": "What is nfd.node.kubernetes.io/feature-labels?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   n f d . n o d e . k u b e r n e t e s . i o / f e a t u r e - l a b e l s :   \" c p u - c p u i d . A D X , c p u - c p u i d . A E S N I , c p u - h a r d w a r e _ m u l t i t h r e a d i n g , k e r n e l - v e r s i o n . f u l l \"   U s e d   o n :   N o d e s   T h i s   a n n o t a t i o n   r e c o r d s   a   c o m m a - s e p a r a t e d   l i s t   o f   n o d e   f e a t u r e   l a b e l s   m a n a g e d   b y   N o d e   F e a t u r e   D i s c o v e r y   ( N F D ) .   N F D   u s e s   t h i s   f o r   a n   i n t e r n a l   m e c h a n i s m .   Y o u   s h o u l d   n o t   e d i t   t h i s   a n n o t a t i o n   y o u r s e l f .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6070"
  },
  {
    "question": "What is nfd.node.kubernetes.io/extended-resources?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   n f d . n o d e . k u b e r n e t e s . i o / e x t e n d e d - r e s o u r c e s :   \" a c c e l e r a t o r . a c m e . e x a m p l e / q 5 0 0 , e x a m p l e . c o m / c o p r o c e s s o r - f x 5 \"   U s e d   o n :   N o d e s   T h i s   a n n o t a t i o n   r e c o r d s   a   c o m m a - s e p a r a t e d   l i s t   o f   e x t e n d e d   r e s o u r c e s   m a n a g e d   b y   N o d e   F e a t u r e   D i s c o v e r y   ( N F D ) .   N F D   u s e s   t h i s   f o r   a n   i n t e r n a l   m e c h a n i s m .   Y o u   s h o u l d   n o t   e d i t   t h i s   a n n o t a t i o n   y o u r s e l f .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6071"
  },
  {
    "question": "What is nfd.node.kubernetes.io/node-name?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   n f d . n o d e . k u b e r n e t e s . i o / n o d e - n a m e :   n o d e - 1   U s e d   o n :   N o d e s   I t   s p e c i f i e s   w h i c h   n o d e   t h e   N o d e F e a t u r e   o b j e c t   i s   t a r g e t i n g .   C r e a t o r s   o f   N o d e F e a t u r e   o b j e c t s   m u s t   s e t   t h i s   l a b e l   a n d   c o n s u m e r s   o f   t h e   o b j e c t s   a r e   s u p p o s e d   t o   u s e   t h e   l a b e l   f o r   f i l t e r i n g   f e a t u r e s   d e s i g n a t e d   f o r   a   c e r t a i n   n o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6072"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-access-log-emit-interval (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - a c c e s s - l o g - e m i t - i n t e r v a l :   \" 5 \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   t h e   l o a d   b a l a n c e r   f o r   a   S e r v i c e   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   v a l u e   d e t e r m i n e s   h o w   o f t e n   t h e   l o a d   b a l a n c e r   w r i t e s   l o g   e n t r i e s .   F o r   e x a m p l e ,   i f   y o u   s e t   t h e   v a l u e   t o   5 ,   t h e   l o g   w r i t e s   o c c u r   5   s e c o n d s   a p a r t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6073"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-access-log-enabled (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - a c c e s s - l o g - e n a b l e d :   \" f a l s e \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   t h e   l o a d   b a l a n c e r   f o r   a   S e r v i c e   b a s e d   o n   t h i s   a n n o t a t i o n .   A c c e s s   l o g g i n g   i s   e n a b l e d   i f   y o u   s e t   t h e   a n n o t a t i o n   t o   \" t r u e \" .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6074"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-access-log-s3-bucket-name (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - a c c e s s - l o g - e n a b l e d :   e x a m p l e   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   t h e   l o a d   b a l a n c e r   f o r   a   S e r v i c e   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   l o a d   b a l a n c e r   w r i t e s   l o g s   t o   a n   S 3   b u c k e t   w i t h   t h e   n a m e   y o u   s p e c i f y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6075"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-access-log-s3-bucket-prefix (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - a c c e s s - l o g - e n a b l e d :   \" / e x a m p l e \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   t h e   l o a d   b a l a n c e r   f o r   a   S e r v i c e   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   l o a d   b a l a n c e r   w r i t e s   l o g   o b j e c t s   w i t h   t h e   p r e f i x   t h a t   y o u   s p e c i f y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6076"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-additional-resource-tags (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - a d d i t i o n a l - r e s o u r c e - t a g s :   \" E n v i r o n m e n t = d e m o , P r o j e c t = e x a m p l e \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   t a g s   ( a n   A W S   c o n c e p t )   f o r   a   l o a d   b a l a n c e r   b a s e d   o n   t h e   c o m m a - s e p a r a t e d   k e y / v a l u e   p a i r s   i n   t h e   v a l u e   o f   t h i s   a n n o t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6077"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-alpn-policy (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - a l p n - p o l i c y :   H T T P 2 O p t i o n a l   U s e d   o n :   S e r v i c e   T h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   u s e s   t h i s   a n n o t a t i o n .   S e e   a n n o t a t i o n s   i n   t h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6078"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-attributes (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - a t t r i b u t e s :   \" d e l e t i o n _ p r o t e c t i o n . e n a b l e d = t r u e \"   U s e d   o n :   S e r v i c e   T h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   u s e s   t h i s   a n n o t a t i o n .   S e e   a n n o t a t i o n s   i n   t h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6079"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-backend-protocol (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - b a c k e n d - p r o t o c o l :   t c p   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   t h e   l o a d   b a l a n c e r   l i s t e n e r   b a s e d   o n   t h e   v a l u e   o f   t h i s   a n n o t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6080"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-connection-draining-enabled (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - c o n n e c t i o n - d r a i n i n g - e n a b l e d :   \" f a l s e \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   t h e   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   l o a d   b a l a n c e r ' s   c o n n e c t i o n   d r a i n i n g   s e t t i n g   d e p e n d s   o n   t h e   v a l u e   y o u   s e t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6081"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-connection-draining-timeout (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - c o n n e c t i o n - d r a i n i n g - t i m e o u t :   \" 6 0 \"   U s e d   o n :   S e r v i c e   I f   y o u   c o n f i g u r e   c o n n e c t i o n   d r a i n i n g   f o r   a   S e r v i c e   o f   t y p e :   L o a d B a l a n c e r ,   a n d   y o u   u s e   t h e   A W S   c l o u d ,   t h e   i n t e g r a t i o n   c o n f i g u r e s   t h e   d r a i n i n g   p e r i o d   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   v a l u e   y o u   s e t   d e t e r m i n e s   t h e   d r a i n i n g   t i m e o u t   i n   s e c o n d s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6082"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-ip-address-type (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - i p - a d d r e s s - t y p e :   i p v 4   U s e d   o n :   S e r v i c e   T h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   u s e s   t h i s   a n n o t a t i o n .   S e e   a n n o t a t i o n s   i n   t h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6083"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - c o n n e c t i o n - i d l e - t i m e o u t :   \" 6 0 \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   a   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   l o a d   b a l a n c e r   h a s   a   c o n f i g u r e d   i d l e   t i m e o u t   p e r i o d   ( i n   s e c o n d s )   t h a t   a p p l i e s   t o   i t s   c o n n e c t i o n s .   I f   n o   d a t a   h a s   b e e n   s e n t   o r   r e c e i v e d   b y   t h e   t i m e   t h a t   t h e   i d l e   t i m e o u t   p e r i o d   e l a p s e s ,   t h e   l o a d   b a l a n c e r   c l o s e s   t h e   c o n n e c t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6084"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-cross-zone-load-balancing-enabled (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - c r o s s - z o n e - l o a d - b a l a n c i n g - e n a b l e d :   \" t r u e \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   a   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   I f   y o u   s e t   t h i s   a n n o t a t i o n   t o   \" t r u e \" ,   e a c h   l o a d   b a l a n c e r   n o d e   d i s t r i b u t e s   r e q u e s t s   e v e n l y   a c r o s s   t h e   r e g i s t e r e d   t a r g e t s   i n   a l l   e n a b l e d   a v a i l a b i l i t y   z o n e s .   I f   y o u   d i s a b l e   c r o s s - z o n e   l o a d   b a l a n c i n g ,   e a c h   l o a d   b a l a n c e r   n o d e   d i s t r i b u t e s   r e q u e s t s   e v e n l y   a c r o s s   t h e   r e g i s t e r e d   t a r g e t s   i n   i t s   a v a i l a b i l i t y   z o n e   o n l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6085"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-eip-allocations (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - e i p - a l l o c a t i o n s :   \" e i p a l l o c - 0 1 b c d e f 2 3 b c d e f 4 5 6 , e i p a l l o c - d e f 1 2 3 4 a b c 4 5 6 7 8 9 0 \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   a   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   v a l u e   i s   a   c o m m a - s e p a r a t e d   l i s t   o f   e l a s t i c   I P   a d d r e s s   a l l o c a t i o n   I D s .   T h i s   a n n o t a t i o n   i s   o n l y   r e l e v a n t   f o r   S e r v i c e s   o f   t y p e :   L o a d B a l a n c e r ,   w h e r e   t h e   l o a d   b a l a n c e r   i s   a n   A W S   N e t w o r k   L o a d   B a l a n c e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6086"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-extra-security-groups (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - e x t r a - s e c u r i t y - g r o u p s :   \" s g - 1 2 a b c d 3 4 5 6 , s g - 3 4 d c b a 6 5 4 3 \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   a   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   a n n o t a t i o n   v a l u e   i s   a   c o m m a - s e p a r a t e d   l i s t   o f   e x t r a   A W S   V P C   s e c u r i t y   g r o u p s   t o   c o n f i g u r e   f o r   t h e   l o a d   b a l a n c e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6087"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-healthcheck-healthy-threshold (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - h e a l t h c h e c k - h e a l t h y - t h r e s h o l d :   \" 3 \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   a   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   a n n o t a t i o n   v a l u e   s p e c i f i e s   t h e   n u m b e r   o f   s u c c e s s i v e   s u c c e s s f u l   h e a l t h   c h e c k s   r e q u i r e d   f o r   a   b a c k e n d   t o   b e   c o n s i d e r e d   h e a l t h y   f o r   t r a f f i c .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6088"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-healthcheck-interval (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - h e a l t h c h e c k - i n t e r v a l :   \" 3 0 \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   a   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   a n n o t a t i o n   v a l u e   s p e c i f i e s   t h e   i n t e r v a l ,   i n   s e c o n d s ,   b e t w e e n   h e a l t h   c h e c k   p r o b e s   m a d e   b y   t h e   l o a d   b a l a n c e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6089"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-healthcheck-path (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - h e a l t h c h e c k - p a t h :   / h e a l t h c h e c k   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   a   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   a n n o t a t i o n   v a l u e   d e t e r m i n e s   t h e   p a t h   p a r t   o f   t h e   U R L   t h a t   i s   u s e d   f o r   H T T P   h e a l t h   c h e c k s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6090"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-healthcheck-port (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - h e a l t h c h e c k - p o r t :   \" 2 4 \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   a   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   a n n o t a t i o n   v a l u e   d e t e r m i n e s   w h i c h   p o r t   t h e   l o a d   b a l a n c e r   c o n n e c t s   t o   w h e n   p e r f o r m i n g   h e a l t h   c h e c k s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6091"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-healthcheck-protocol (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - h e a l t h c h e c k - p r o t o c o l :   T C P   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   a   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   a n n o t a t i o n   v a l u e   d e t e r m i n e s   h o w   t h e   l o a d   b a l a n c e r   c h e c k s   t h e   h e a l t h   o f   b a c k e n d   t a r g e t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6092"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-healthcheck-timeout (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - h e a l t h c h e c k - t i m e o u t :   \" 3 \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   a   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   a n n o t a t i o n   v a l u e   s p e c i f i e s   t h e   n u m b e r   o f   s e c o n d s   b e f o r e   a   p r o b e   t h a t   h a s n ' t   y e t   s u c c e e d e d   i s   a u t o m a t i c a l l y   t r e a t e d   a s   h a v i n g   f a i l e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6093"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-healthcheck-unhealthy-threshold (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - h e a l t h c h e c k - u n h e a l t h y - t h r e s h o l d :   \" 3 \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   a   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   a n n o t a t i o n   v a l u e   s p e c i f i e s   t h e   n u m b e r   o f   s u c c e s s i v e   u n s u c c e s s f u l   h e a l t h   c h e c k s   r e q u i r e d   f o r   a   b a c k e n d   t o   b e   c o n s i d e r e d   u n h e a l t h y   f o r   t r a f f i c .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6094"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-internal (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - i n t e r n a l :   \" t r u e \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   a   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   W h e n   y o u   s e t   t h i s   a n n o t a t i o n   t o   \" t r u e \" ,   t h e   i n t e g r a t i o n   c o n f i g u r e s   a n   i n t e r n a l   l o a d   b a l a n c e r .   I f   y o u   u s e   t h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r ,   s e e   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - s c h e m e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6095"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-manage-backend-security-group-rules (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - m a n a g e - b a c k e n d - s e c u r i t y - g r o u p - r u l e s :   \" t r u e \"   U s e d   o n :   S e r v i c e   T h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   u s e s   t h i s   a n n o t a t i o n .   S e e   a n n o t a t i o n s   i n   t h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6096"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-name (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - n a m e :   m y - e l b   U s e d   o n :   S e r v i c e   I f   y o u   s e t   t h i s   a n n o t a t i o n   o n   a   S e r v i c e ,   a n d   y o u   a l s o   a n n o t a t e   t h a t   S e r v i c e   w i t h   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - t y p e :   \" e x t e r n a l \" ,   a n d   y o u   u s e   t h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   i n   y o u r   c l u s t e r ,   t h e n   t h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   s e t s   t h e   n a m e   o f   t h a t   l o a d   b a l a n c e r   t o   t h e   v a l u e   y o u   s e t   f o r   t h i s   a n n o t a t i o n .   S e e   a n n o t a t i o n s   i n   t h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6097"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-nlb-target-type (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - n l b - t a r g e t - t y p e :   \" t r u e \"   U s e d   o n :   S e r v i c e   T h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   u s e s   t h i s   a n n o t a t i o n .   S e e   a n n o t a t i o n s   i n   t h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6098"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-private-ipv4-addresses (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - p r i v a t e - i p v 4 - a d d r e s s e s :   \" 1 9 8 . 5 1 . 1 0 0 . 0 , 1 9 8 . 5 1 . 1 0 0 . 6 4 \"   U s e d   o n :   S e r v i c e   T h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   u s e s   t h i s   a n n o t a t i o n .   S e e   a n n o t a t i o n s   i n   t h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6099"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-proxy-protocol (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - p r o x y - p r o t o c o l :   \" * \"   U s e d   o n :   S e r v i c e   T h e   o f f i c i a l   K u b e r n e t e s   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   a   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   o n l y   p e r m i t t e d   v a l u e   i s   \" * \" ,   w h i c h   i n d i c a t e s   t h a t   t h e   l o a d   b a l a n c e r   s h o u l d   w r a p   T C P   c o n n e c t i o n s   t o   t h e   b a c k e n d   P o d   w i t h   t h e   P R O X Y   p r o t o c o l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6100"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-scheme (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - s c h e m e :   i n t e r n a l   U s e d   o n :   S e r v i c e   T h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   u s e s   t h i s   a n n o t a t i o n .   S e e   a n n o t a t i o n s   i n   t h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6101"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-security-groups (deprecated)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - s e c u r i t y - g r o u p s :   \" s g - 5 3 f a e 9 3 f , s g - 8 7 2 5 g r 6 2 r \"   U s e d   o n :   S e r v i c e   T h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   u s e s   t h i s   a n n o t a t i o n   t o   s p e c i f y   a   c o m m a   s e p a r a t e d   l i s t   o f   s e c u r i t y   g r o u p s   y o u   w a n t   t o   a t t a c h   t o   a n   A W S   l o a d   b a l a n c e r .   B o t h   n a m e   a n d   I D   o f   s e c u r i t y   a r e   s u p p o r t e d   w h e r e   n a m e   m a t c h e s   a   N a m e   t a g ,   n o t   t h e   g r o u p N a m e   a t t r i b u t e .   W h e n   t h i s   a n n o t a t i o n   i s   a d d e d   t o   a   S e r v i c e ,   t h e   l o a d - b a l a n c e r   c o n t r o l l e r   a t t a c h e s   t h e   s e c u r i t y   g r o u p s   r e f e r e n c e d   b y   t h e   a n n o t a t i o n   t o   t h e   l o a d   b a l a n c e r .   I f   y o u   o m i t   t h i s   a n n o t a t i o n ,   t h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   a u t o m a t i c a l l y   c r e a t e s   a   n e w   s e c u r i t y   g r o u p   a n d   a t t a c h e s   i t   t o   t h e   l o a d   b a l a n c e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6102"
  },
  {
    "question": "What is service.beta.kubernetes.io/load-balancer-source-ranges (deprecated)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / l o a d - b a l a n c e r - s o u r c e - r a n g e s :   \" 1 9 2 . 0 . 2 . 0 / 2 5 \"   U s e d   o n :   S e r v i c e   T h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   u s e s   t h i s   a n n o t a t i o n .   Y o u   s h o u l d   s e t   . s p e c . l o a d B a l a n c e r S o u r c e R a n g e s   f o r   t h e   S e r v i c e   i n s t e a d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6103"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-ssl-cert (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - s s l - c e r t :   \" a r n : a w s : a c m : u s - e a s t - 1 : 1 2 3 4 5 6 7 8 9 0 1 2 : c e r t i f i c a t e / 1 2 3 4 5 6 7 8 - 1 2 3 4 - 1 2 3 4 - 1 2 3 4 - 1 2 3 4 5 6 7 8 9 0 1 2 \"   U s e d   o n :   S e r v i c e   T h e   o f f i c i a l   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   T L S   f o r   a   S e r v i c e   o f   t y p e :   L o a d B a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   v a l u e   o f   t h e   a n n o t a t i o n   i s   t h e   A W S   R e s o u r c e   N a m e   ( A R N )   o f   t h e   X . 5 0 9   c e r t i f i c a t e   t h a t   t h e   l o a d   b a l a n c e r   l i s t e n e r   s h o u l d   u s e .   ( T h e   T L S   p r o t o c o l   i s   b a s e d   o n   a n   o l d e r   t e c h n o l o g y   t h a t   a b b r e v i a t e s   t o   S S L . )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6104"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-ssl-negotiation-policy (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - s s l - n e g o t i a t i o n - p o l i c y :   E L B S e c u r i t y P o l i c y - T L S - 1 - 2 - 2 0 1 7 - 0 1   T h e   o f f i c i a l   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   T L S   f o r   a   S e r v i c e   o f   t y p e :   L o a d B a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   v a l u e   o f   t h e   a n n o t a t i o n   i s   t h e   n a m e   o f   a n   A W S   p o l i c y   f o r   n e g o t i a t i n g   T L S   w i t h   a   c l i e n t   p e e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6105"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-ssl-ports (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - s s l - p o r t s :   \" * \"   T h e   o f f i c i a l   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   T L S   f o r   a   S e r v i c e   o f   t y p e :   L o a d B a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   v a l u e   o f   t h e   a n n o t a t i o n   i s   e i t h e r   \" * \" ,   w h i c h   m e a n s   t h a t   a l l   t h e   l o a d   b a l a n c e r ' s   p o r t s   s h o u l d   u s e   T L S ,   o r   i t   i s   a   c o m m a   s e p a r a t e d   l i s t   o f   p o r t   n u m b e r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6106"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-subnets (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - s u b n e t s :   \" p r i v a t e - a , p r i v a t e - b \"   K u b e r n e t e s '   o f f i c i a l   i n t e g r a t i o n   w i t h   A W S   u s e s   t h i s   a n n o t a t i o n   t o   c o n f i g u r e   a   l o a d   b a l a n c e r   a n d   d e t e r m i n e   i n   w h i c h   A W S   a v a i l a b i l i t y   z o n e s   t o   d e p l o y   t h e   m a n a g e d   l o a d   b a l a n c i n g   s e r v i c e .   T h e   v a l u e   i s   e i t h e r   a   c o m m a   s e p a r a t e d   l i s t   o f   s u b n e t   n a m e s ,   o r   a   c o m m a   s e p a r a t e d   l i s t   o f   s u b n e t   I D s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6107"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-target-group-attributes (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - t a r g e t - g r o u p - a t t r i b u t e s :   \" s t i c k i n e s s . e n a b l e d = t r u e , s t i c k i n e s s . t y p e = s o u r c e _ i p \"   U s e d   o n :   S e r v i c e   T h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   u s e s   t h i s   a n n o t a t i o n .   S e e   a n n o t a t i o n s   i n   t h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6108"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-target-node-labels (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - t a r g e t - n o d e - l a b e l s :   \" k u b e r n e t e s . i o / o s = L i n u x , t o p o l o g y . k u b e r n e t e s . i o / r e g i o n = u s - e a s t - 2 \"   K u b e r n e t e s '   o f f i c i a l   i n t e g r a t i o n   w i t h   A W S   u s e s   t h i s   a n n o t a t i o n   t o   d e t e r m i n e   w h i c h   n o d e s   i n   y o u r   c l u s t e r   s h o u l d   b e   c o n s i d e r e d   a s   v a l i d   t a r g e t s   f o r   t h e   l o a d   b a l a n c e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6109"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-type (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - t y p e :   e x t e r n a l   K u b e r n e t e s '   o f f i c i a l   i n t e g r a t i o n s   w i t h   A W S   u s e   t h i s   a n n o t a t i o n   t o   d e t e r m i n e   w h e t h e r   t h e   A W S   c l o u d   p r o v i d e r   i n t e g r a t i o n   s h o u l d   m a n a g e   a   S e r v i c e   o f   t y p e :   L o a d B a l a n c e r .   T h e r e   a r e   t w o   p e r m i t t e d   v a l u e s :   I f   y o u   d e p l o y   a   S e r v i c e   o f   t y p e :   L o a d B a l a n c e r   o n   A W S ,   a n d   y o u   d o n ' t   s e t   a n y   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - t y p e   a n n o t a t i o n ,   t h e   A W S   i n t e g r a t i o n   d e p l o y s   a   c l a s s i c   E l a s t i c   L o a d   B a l a n c e r .   T h i s   b e h a v i o r ,   w i t h   n o   a n n o t a t i o n   p r e s e n t ,   i s   t h e   d e f a u l t   u n l e s s   y o u   s p e c i f y   o t h e r w i s e .   W h e n   y o u   s e t   t h i s   a n n o t a t i o n   t o   e x t e r n a l   o n   a   S e r v i c e   o f   t y p e :   L o a d B a l a n c e r ,   a n d   y o u r   c l u s t e r   h a s   a   w o r k i n g   d e p l o y m e n t   o f   t h e   A W S   L o a d   B a l a n c e r   c o n t r o l l e r ,   t h e n   t h e   A W S   L o a d   B a l a n c e r   c o n t r o l l e r   a t t e m p t s   t o   d e p l o y   a   l o a d   b a l a n c e r   b a s e d   o n   t h e   S e r v i c e   s p e c i f i c a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6110"
  },
  {
    "question": "What is service.beta.kubernetes.io/azure-load-balancer-disable-tcp-reset (deprecated)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a z u r e - l o a d - b a l a n c e r - d i s a b l e - t c p - r e s e t :   \" f a l s e \"   U s e d   o n :   S e r v i c e   T h i s   a n n o t a t i o n   o n l y   w o r k s   f o r   A z u r e   s t a n d a r d   l o a d   b a l a n c e r   b a c k e d   s e r v i c e .   T h i s   a n n o t a t i o n   i s   u s e d   o n   t h e   S e r v i c e   t o   s p e c i f y   w h e t h e r   t h e   l o a d   b a l a n c e r   s h o u l d   d i s a b l e   o r   e n a b l e   T C P   r e s e t   o n   i d l e   t i m e o u t .   I f   e n a b l e d ,   i t   h e l p s   a p p l i c a t i o n s   t o   b e h a v e   m o r e   p r e d i c t a b l y ,   t o   d e t e c t   t h e   t e r m i n a t i o n   o f   a   c o n n e c t i o n ,   r e m o v e   e x p i r e d   c o n n e c t i o n s   a n d   i n i t i a t e   n e w   c o n n e c t i o n s .   Y o u   c a n   s e t   t h e   v a l u e   t o   b e   e i t h e r   t r u e   o r   f a l s e .   S e e   L o a d   B a l a n c e r   T C P   R e s e t   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6111"
  },
  {
    "question": "What is pod-security.kubernetes.io/enforce?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e :   \" b a s e l i n e \"   U s e d   o n :   N a m e s p a c e   V a l u e   m u s t   b e   o n e   o f   p r i v i l e g e d ,   b a s e l i n e ,   o r   r e s t r i c t e d   w h i c h   c o r r e s p o n d   t o   P o d   S e c u r i t y   S t a n d a r d   l e v e l s .   S p e c i f i c a l l y ,   t h e   e n f o r c e   l a b e l   p r o h i b i t s   t h e   c r e a t i o n   o f   a n y   P o d   i n   t h e   l a b e l e d   N a m e s p a c e   w h i c h   d o e s   n o t   m e e t   t h e   r e q u i r e m e n t s   o u t l i n e d   i n   t h e   i n d i c a t e d   l e v e l .   S e e   E n f o r c i n g   P o d   S e c u r i t y   a t   t h e   N a m e s p a c e   L e v e l   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6112"
  },
  {
    "question": "What is pod-security.kubernetes.io/enforce-version?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e - v e r s i o n :   \" 1 . 3 4 \"   U s e d   o n :   N a m e s p a c e   V a l u e   m u s t   b e   l a t e s t   o r   a   v a l i d   K u b e r n e t e s   v e r s i o n   i n   t h e   f o r m a t   v < m a j o r > . < m i n o r > .   T h i s   d e t e r m i n e s   t h e   v e r s i o n   o f   t h e   P o d   S e c u r i t y   S t a n d a r d   p o l i c i e s   t o   a p p l y   w h e n   v a l i d a t i n g   a   P o d .   S e e   E n f o r c i n g   P o d   S e c u r i t y   a t   t h e   N a m e s p a c e   L e v e l   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6113"
  },
  {
    "question": "What is pod-security.kubernetes.io/audit?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   p o d - s e c u r i t y . k u b e r n e t e s . i o / a u d i t :   \" b a s e l i n e \"   U s e d   o n :   N a m e s p a c e   V a l u e   m u s t   b e   o n e   o f   p r i v i l e g e d ,   b a s e l i n e ,   o r   r e s t r i c t e d   w h i c h   c o r r e s p o n d   t o   P o d   S e c u r i t y   S t a n d a r d   l e v e l s .   S p e c i f i c a l l y ,   t h e   a u d i t   l a b e l   d o e s   n o t   p r e v e n t   t h e   c r e a t i o n   o f   a   P o d   i n   t h e   l a b e l e d   N a m e s p a c e   w h i c h   d o e s   n o t   m e e t   t h e   r e q u i r e m e n t s   o u t l i n e d   i n   t h e   i n d i c a t e d   l e v e l ,   b u t   a d d s   a n   t h i s   a n n o t a t i o n   t o   t h e   P o d .   S e e   E n f o r c i n g   P o d   S e c u r i t y   a t   t h e   N a m e s p a c e   L e v e l   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6114"
  },
  {
    "question": "What is pod-security.kubernetes.io/audit-version?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   p o d - s e c u r i t y . k u b e r n e t e s . i o / a u d i t - v e r s i o n :   \" 1 . 3 4 \"   U s e d   o n :   N a m e s p a c e   V a l u e   m u s t   b e   l a t e s t   o r   a   v a l i d   K u b e r n e t e s   v e r s i o n   i n   t h e   f o r m a t   v < m a j o r > . < m i n o r > .   T h i s   d e t e r m i n e s   t h e   v e r s i o n   o f   t h e   P o d   S e c u r i t y   S t a n d a r d   p o l i c i e s   t o   a p p l y   w h e n   v a l i d a t i n g   a   P o d .   S e e   E n f o r c i n g   P o d   S e c u r i t y   a t   t h e   N a m e s p a c e   L e v e l   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6115"
  },
  {
    "question": "What is pod-security.kubernetes.io/warn?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   p o d - s e c u r i t y . k u b e r n e t e s . i o / w a r n :   \" b a s e l i n e \"   U s e d   o n :   N a m e s p a c e   V a l u e   m u s t   b e   o n e   o f   p r i v i l e g e d ,   b a s e l i n e ,   o r   r e s t r i c t e d   w h i c h   c o r r e s p o n d   t o   P o d   S e c u r i t y   S t a n d a r d   l e v e l s .   S p e c i f i c a l l y ,   t h e   w a r n   l a b e l   d o e s   n o t   p r e v e n t   t h e   c r e a t i o n   o f   a   P o d   i n   t h e   l a b e l e d   N a m e s p a c e   w h i c h   d o e s   n o t   m e e t   t h e   r e q u i r e m e n t s   o u t l i n e d   i n   t h e   i n d i c a t e d   l e v e l ,   b u t   r e t u r n s   a   w a r n i n g   t o   t h e   u s e r   a f t e r   d o i n g   s o .   N o t e   t h a t   w a r n i n g s   a r e   a l s o   d i s p l a y e d   w h e n   c r e a t i n g   o r   u p d a t i n g   o b j e c t s   t h a t   c o n t a i n   P o d   t e m p l a t e s ,   s u c h   a s   D e p l o y m e n t s ,   J o b s ,   S t a t e f u l S e t s ,   e t c .   S e e   E n f o r c i n g   P o d   S e c u r i t y   a t   t h e   N a m e s p a c e   L e v e l   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6116"
  },
  {
    "question": "What is pod-security.kubernetes.io/warn-version?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   p o d - s e c u r i t y . k u b e r n e t e s . i o / w a r n - v e r s i o n :   \" 1 . 3 4 \"   U s e d   o n :   N a m e s p a c e   V a l u e   m u s t   b e   l a t e s t   o r   a   v a l i d   K u b e r n e t e s   v e r s i o n   i n   t h e   f o r m a t   v < m a j o r > . < m i n o r > .   T h i s   d e t e r m i n e s   t h e   v e r s i o n   o f   t h e   P o d   S e c u r i t y   S t a n d a r d   p o l i c i e s   t o   a p p l y   w h e n   v a l i d a t i n g   a   s u b m i t t e d   P o d .   N o t e   t h a t   w a r n i n g s   a r e   a l s o   d i s p l a y e d   w h e n   c r e a t i n g   o r   u p d a t i n g   o b j e c t s   t h a t   c o n t a i n   P o d   t e m p l a t e s ,   s u c h   a s   D e p l o y m e n t s ,   J o b s ,   S t a t e f u l S e t s ,   e t c .   S e e   E n f o r c i n g   P o d   S e c u r i t y   a t   t h e   N a m e s p a c e   L e v e l   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6117"
  },
  {
    "question": "What is rbac.authorization.kubernetes.io/autoupdate?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   r b a c . a u t h o r i z a t i o n . k u b e r n e t e s . i o / a u t o u p d a t e :   \" f a l s e \"   U s e d   o n :   C l u s t e r R o l e ,   C l u s t e r R o l e B i n d i n g ,   R o l e ,   R o l e B i n d i n g   W h e n   t h i s   a n n o t a t i o n   i s   s e t   t o   \" t r u e \"   o n   d e f a u l t   R B A C   o b j e c t s   c r e a t e d   b y   t h e   A P I   s e r v e r ,   t h e y   a r e   a u t o m a t i c a l l y   u p d a t e d   a t   s e r v e r   s t a r t   t o   a d d   m i s s i n g   p e r m i s s i o n s   a n d   s u b j e c t s   ( e x t r a   p e r m i s s i o n s   a n d   s u b j e c t s   a r e   l e f t   i n   p l a c e ) .   T o   p r e v e n t   a u t o u p d a t i n g   a   p a r t i c u l a r   r o l e   o r   r o l e b i n d i n g ,   s e t   t h i s   a n n o t a t i o n   t o   \" f a l s e \" .   I f   y o u   c r e a t e   y o u r   o w n   R B A C   o b j e c t s   a n d   s e t   t h i s   a n n o t a t i o n   t o   \" f a l s e \" ,   k u b e c t l   a u t h   r e c o n c i l e   ( w h i c h   a l l o w s   r e c o n c i l i n g   a r b i t r a r y   R B A C   o b j e c t s   i n   a   m a n i f e s t )   r e s p e c t s   t h i s   a n n o t a t i o n   a n d   d o e s   n o t   a u t o m a t i c a l l y   a d d   m i s s i n g   p e r m i s s i o n s   a n d   s u b j e c t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6118"
  },
  {
    "question": "What is kubernetes.io/psp (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e r n e t e s . i o / p s p :   r e s t r i c t e d   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   w a s   o n l y   r e l e v a n t   i f   y o u   w e r e   u s i n g   P o d S e c u r i t y P o l i c y   o b j e c t s .   K u b e r n e t e s   v 1 . 3 4   d o e s   n o t   s u p p o r t   t h e   P o d S e c u r i t y P o l i c y   A P I .   W h e n   t h e   P o d S e c u r i t y P o l i c y   a d m i s s i o n   c o n t r o l l e r   a d m i t t e d   a   P o d ,   t h e   a d m i s s i o n   c o n t r o l l e r   m o d i f i e d   t h e   P o d   t o   h a v e   t h i s   a n n o t a t i o n .   T h e   v a l u e   o f   t h e   a n n o t a t i o n   w a s   t h e   n a m e   o f   t h e   P o d S e c u r i t y P o l i c y   t h a t   w a s   u s e d   f o r   v a l i d a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6119"
  },
  {
    "question": "What is seccomp.security.alpha.kubernetes.io/pod (non-functional)?",
    "answer": "T y p e :   A n n o t a t i o n   U s e d   o n :   P o d   K u b e r n e t e s   b e f o r e   v 1 . 2 5   a l l o w e d   y o u   t o   c o n f i g u r e   s e c c o m p   b e h a v i o r   u s i n g   t h i s   a n n o t a t i o n .   S e e   R e s t r i c t   a   C o n t a i n e r ' s   S y s c a l l s   w i t h   s e c c o m p   t o   l e a r n   t h e   s u p p o r t e d   w a y   t o   s p e c i f y   s e c c o m p   r e s t r i c t i o n s   f o r   a   P o d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6120"
  },
  {
    "question": "What is container.seccomp.security.alpha.kubernetes.io/[NAME] (non-functional)?",
    "answer": "T y p e :   A n n o t a t i o n   U s e d   o n :   P o d   K u b e r n e t e s   b e f o r e   v 1 . 2 5   a l l o w e d   y o u   t o   c o n f i g u r e   s e c c o m p   b e h a v i o r   u s i n g   t h i s   a n n o t a t i o n .   S e e   R e s t r i c t   a   C o n t a i n e r ' s   S y s c a l l s   w i t h   s e c c o m p   t o   l e a r n   t h e   s u p p o r t e d   w a y   t o   s p e c i f y   s e c c o m p   r e s t r i c t i o n s   f o r   a   P o d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6121"
  },
  {
    "question": "What is snapshot.storage.kubernetes.io/allow-volume-mode-change?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   s n a p s h o t . s t o r a g e . k u b e r n e t e s . i o / a l l o w - v o l u m e - m o d e - c h a n g e :   \" t r u e \"   U s e d   o n :   V o l u m e S n a p s h o t C o n t e n t   V a l u e   c a n   e i t h e r   b e   t r u e   o r   f a l s e .   T h i s   d e t e r m i n e s   w h e t h e r   a   u s e r   c a n   m o d i f y   t h e   m o d e   o f   t h e   s o u r c e   v o l u m e   w h e n   a   P e r s i s t e n t V o l u m e C l a i m   i s   b e i n g   c r e a t e d   f r o m   a   V o l u m e S n a p s h o t .   R e f e r   t o   C o n v e r t i n g   t h e   v o l u m e   m o d e   o f   a   S n a p s h o t   a n d   t h e   K u b e r n e t e s   C S I   D e v e l o p e r   D o c u m e n t a t i o n   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6122"
  },
  {
    "question": "What is scheduler.alpha.kubernetes.io/critical-pod (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   s c h e d u l e r . a l p h a . k u b e r n e t e s . i o / c r i t i c a l - p o d :   \" \"   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   l e t s   K u b e r n e t e s   c o n t r o l   p l a n e   k n o w   a b o u t   a   P o d   b e i n g   a   c r i t i c a l   P o d   s o   t h a t   t h e   d e s c h e d u l e r   w i l l   n o t   r e m o v e   t h i s   P o d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6123"
  },
  {
    "question": "What is jobset.sigs.k8s.io/jobset-name?",
    "answer": "T y p e :   L a b e l ,   A n n o t a t i o n   E x a m p l e :   j o b s e t . s i g s . k 8 s . i o / j o b s e t - n a m e :   \" m y - j o b s e t \"   U s e d   o n :   J o b s ,   P o d s   T h i s   l a b e l / a n n o t a t i o n   i s   u s e d   t o   s t o r e   t h e   n a m e   o f   t h e   J o b S e t   t h a t   a   J o b   o r   P o d   b e l o n g s   t o .   J o b S e t   i s   a n   e x t e n s i o n   A P I   t h a t   y o u   c a n   d e p l o y   i n t o   y o u r   K u b e r n e t e s   c l u s t e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6124"
  },
  {
    "question": "What is jobset.sigs.k8s.io/replicatedjob-replicas?",
    "answer": "T y p e :   L a b e l ,   A n n o t a t i o n   E x a m p l e :   j o b s e t . s i g s . k 8 s . i o / r e p l i c a t e d j o b - r e p l i c a s :   \" 5 \"   U s e d   o n :   J o b s ,   P o d s   T h i s   l a b e l / a n n o t a t i o n   s p e c i f i e s   t h e   n u m b e r   o f   r e p l i c a s   f o r   a   R e p l i c a t e d J o b .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6125"
  },
  {
    "question": "What is jobset.sigs.k8s.io/replicatedjob-name?",
    "answer": "T y p e :   L a b e l ,   A n n o t a t i o n   E x a m p l e :   j o b s e t . s i g s . k 8 s . i o / r e p l i c a t e d j o b - n a m e :   \" m y - r e p l i c a t e d j o b \"   U s e d   o n :   J o b s ,   P o d s   T h i s   l a b e l   o r   a n n o t a t i o n   s t o r e s   t h e   n a m e   o f   t h e   r e p l i c a t e d   j o b   t h a t   t h i s   J o b   o r   P o d   i s   p a r t   o f .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6126"
  },
  {
    "question": "What is jobset.sigs.k8s.io/job-index?",
    "answer": "T y p e :   L a b e l ,   A n n o t a t i o n   E x a m p l e :   j o b s e t . s i g s . k 8 s . i o / j o b - i n d e x :   \" 0 \"   U s e d   o n :   J o b s ,   P o d s   T h i s   l a b e l / a n n o t a t i o n   i s   s e t   b y   t h e   J o b S e t   c o n t r o l l e r   o n   c h i l d   J o b s   a n d   P o d s .   I t   c o n t a i n s   t h e   i n d e x   o f   t h e   J o b   r e p l i c a   w i t h i n   i t s   p a r e n t   R e p l i c a t e d J o b .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6127"
  },
  {
    "question": "What is jobset.sigs.k8s.io/job-key?",
    "answer": "T y p e :   L a b e l ,   A n n o t a t i o n   E x a m p l e :   j o b s e t . s i g s . k 8 s . i o / j o b - k e y :   \" 0 f 1 e 9 3 8 9 3 c 4 c b 3 7 2 0 8 0 8 0 4 d d b 9 1 5 3 0 9 3 c b 0 d 2 0 c e f d d 3 7 f 6 5 3 e 7 3 9 c 2 3 2 d 3 6 3 f e b \"   U s e d   o n :   J o b s ,   P o d s   T h e   J o b S e t   c o n t r o l l e r   s e t s   t h i s   l a b e l   ( a n d   a l s o   a n   a n n o t a t i o n   w i t h   t h e   s a m e   k e y )   o n   c h i l d   J o b s   a n d   P o d s   o f   a   J o b S e t .   T h e   v a l u e   i s   t h e   S H A 2 5 6   h a s h   o f   t h e   n a m e s p a c e d   J o b   n a m e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6128"
  },
  {
    "question": "What is alpha.jobset.sigs.k8s.io/exclusive-topology?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   a l p h a . j o b s e t . s i g s . k 8 s . i o / e x c l u s i v e - t o p o l o g y :   \" z o n e \"   U s e d   o n :   J o b S e t s ,   J o b s   Y o u   c a n   s e t   t h i s   l a b e l / a n n o t a t i o n   o n   a   J o b S e t   t o   e n s u r e   e x c l u s i v e   J o b   p l a c e m e n t   p e r   t o p o l o g y   g r o u p .   Y o u   c a n   a l s o   d e f i n e   t h i s   l a b e l   o r   a n n o t a t i o n   o n   a   r e p l i c a t e d   j o b   t e m p l a t e .   R e a d   t h e   d o c u m e n t a t i o n   f o r   J o b S e t   t o   l e a r n   m o r e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6129"
  },
  {
    "question": "What is alpha.jobset.sigs.k8s.io/node-selector?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   a l p h a . j o b s e t . s i g s . k 8 s . i o / n o d e - s e l e c t o r :   \" t r u e \"   U s e d   o n :   J o b s ,   P o d s   T h i s   l a b e l / a n n o t a t i o n   c a n   b e   a p p l i e d   t o   a   J o b S e t .   W h e n   i t ' s   s e t ,   t h e   J o b S e t   c o n t r o l l e r   m o d i f i e s   t h e   J o b s   a n d   t h e i r   c o r r e s p o n d i n g   P o d s   b y   a d d i n g   n o d e   s e l e c t o r s   a n d   t o l e r a t i o n s .   T h i s   e n s u r e s   e x c l u s i v e   j o b   p l a c e m e n t   p e r   t o p o l o g y   d o m a i n ,   r e s t r i c t i n g   t h e   s c h e d u l i n g   o f   t h e s e   P o d s   t o   s p e c i f i c   n o d e s   b a s e d   o n   t h e   s t r a t e g y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6130"
  },
  {
    "question": "What is alpha.jobset.sigs.k8s.io/namespaced-job?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   a l p h a . j o b s e t . s i g s . k 8 s . i o / n a m e s p a c e d - j o b :   \" d e f a u l t _ m y j o b s e t - r e p l i c a t e d j o b - 0 \"   U s e d   o n :   N o d e s   T h i s   l a b e l   i s   e i t h e r   s e t   m a n u a l l y   o r   a u t o m a t i c a l l y   ( f o r   e x a m p l e ,   a   c l u s t e r   a u t o s c a l e r )   o n   t h e   n o d e s .   W h e n   a l p h a . j o b s e t . s i g s . k 8 s . i o / n o d e - s e l e c t o r   i s   s e t   t o   \" t r u e \" ,   t h e   J o b S e t   c o n t r o l l e r   a d d s   a   n o d e S e l e c t o r   t o   t h i s   n o d e   l a b e l   ( a l o n g   w i t h   t h e   t o l e r a t i o n   t o   t h e   t a i n t   a l p h a . j o b s e t . s i g s . k 8 s . i o / n o - s c h e d u l e   d i s c u s s e d   n e x t ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6131"
  },
  {
    "question": "What is alpha.jobset.sigs.k8s.io/no-schedule?",
    "answer": "T y p e :   T a i n t   E x a m p l e :   a l p h a . j o b s e t . s i g s . k 8 s . i o / n o - s c h e d u l e :   \" N o S c h e d u l e \"   U s e d   o n :   N o d e s   T h i s   t a i n t   i s   e i t h e r   s e t   m a n u a l l y   o r   a u t o m a t i c a l l y   ( f o r   e x a m p l e ,   a   c l u s t e r   a u t o s c a l e r )   o n   t h e   n o d e s .   W h e n   a l p h a . j o b s e t . s i g s . k 8 s . i o / n o d e - s e l e c t o r   i s   s e t   t o   \" t r u e \" ,   t h e   J o b S e t   c o n t r o l l e r   a d d s   a   t o l e r a t i o n   t o   t h i s   n o d e   t a i n t   ( a l o n g   w i t h   t h e   n o d e   s e l e c t o r   t o   t h e   l a b e l   a l p h a . j o b s e t . s i g s . k 8 s . i o / n a m e s p a c e d - j o b   d i s c u s s e d   p r e v i o u s l y ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6132"
  },
  {
    "question": "What is jobset.sigs.k8s.io/coordinator?",
    "answer": "T y p e :   A n n o t a t i o n ,   L a b e l   E x a m p l e :   j o b s e t . s i g s . k 8 s . i o / c o o r d i n a t o r :   \" m y j o b s e t - w o r k e r s - 0 - 0 . h e a d l e s s - s v c \"   U s e d   o n :   J o b s ,   P o d s   T h i s   a n n o t a t i o n / l a b e l   i s   u s e d   o n   J o b s   a n d   P o d s   t o   s t o r e   a   s t a b l e   n e t w o r k   e n d p o i n t   w h e r e   t h e   c o o r d i n a t o r   p o d   c a n   b e   r e a c h e d   i f   t h e   J o b S e t   s p e c   d e f i n e s   t h e   . s p e c . c o o r d i n a t o r   f i e l d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6133"
  },
  {
    "question": "What is Annotations used for audit?",
    "answer": "a u t h o r i z a t i o n . k 8 s . i o / d e c i s i o n a u t h o r i z a t i o n . k 8 s . i o / r e a s o n i n s e c u r e - s h a 1 . i n v a l i d - c e r t . k u b e r n e t e s . i o / $ h o s t n a m e m i s s i n g - s a n . i n v a l i d - c e r t . k u b e r n e t e s . i o / $ h o s t n a m e p o d - s e c u r i t y . k u b e r n e t e s . i o / a u d i t - v i o l a t i o n s p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e - p o l i c y p o d - s e c u r i t y . k u b e r n e t e s . i o / e x e m p t v a l i d a t i o n . p o l i c y . a d m i s s i o n . k 8 s . i o / v a l i d a t i o n _ f a i l u r e   S e e   m o r e   d e t a i l s   o n   A u d i t   A n n o t a t i o n s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_2_6134"
  },
  {
    "question": "What is kubeadm.alpha.kubernetes.io/cri-socket (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e a d m . a l p h a . k u b e r n e t e s . i o / c r i - s o c k e t :   u n i x : / / / r u n / c o n t a i n e r d / c o n t a i n e r . s o c k   U s e d   o n :   N o d e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6135"
  },
  {
    "question": "What is kubeadm.kubernetes.io/etcd.advertise-client-urls?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e a d m . k u b e r n e t e s . i o / e t c d . a d v e r t i s e - c l i e n t - u r l s :   h t t p s : / / 1 7 2 . 1 7 . 0 . 1 8 : 2 3 7 9   U s e d   o n :   P o d   A n n o t a t i o n   t h a t   k u b e a d m   p l a c e s   o n   l o c a l l y   m a n a g e d   e t c d   P o d s   t o   k e e p   t r a c k   o f   a   l i s t   o f   U R L s   w h e r e   e t c d   c l i e n t s   s h o u l d   c o n n e c t   t o .   T h i s   i s   u s e d   m a i n l y   f o r   e t c d   c l u s t e r   h e a l t h   c h e c k   p u r p o s e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6136"
  },
  {
    "question": "What is kubeadm.kubernetes.io/kube-apiserver.advertise-address.endpoint?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e a d m . k u b e r n e t e s . i o / k u b e - a p i s e r v e r . a d v e r t i s e - a d d r e s s . e n d p o i n t :   h t t p s : / / 1 7 2 . 1 7 . 0 . 1 8 : 6 4 4 3   U s e d   o n :   P o d   A n n o t a t i o n   t h a t   k u b e a d m   p l a c e s   o n   l o c a l l y   m a n a g e d   k u b e - a p i s e r v e r   P o d s   t o   k e e p   t r a c k   o f   t h e   e x p o s e d   a d v e r t i s e   a d d r e s s / p o r t   e n d p o i n t   f o r   t h a t   A P I   s e r v e r   i n s t a n c e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6137"
  },
  {
    "question": "What is kubeadm.kubernetes.io/component-config.hash?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e a d m . k u b e r n e t e s . i o / c o m p o n e n t - c o n f i g . h a s h :   2 c 2 6 b 4 6 b 6 8 f f c 6 8 f f 9 9 b 4 5 3 c 1 d 3 0 4 1 3 4 1 3 4 2 2 d 7 0 6 4 8 3 b f a 0 f 9 8 a 5 e 8 8 6 2 6 6 e 7 a e   U s e d   o n :   C o n f i g M a p   A n n o t a t i o n   t h a t   k u b e a d m   p l a c e s   o n   C o n f i g M a p s   t h a t   i t   m a n a g e s   f o r   c o n f i g u r i n g   c o m p o n e n t s .   I t   c o n t a i n s   a   h a s h   ( S H A - 2 5 6 )   u s e d   t o   d e t e r m i n e   i f   t h e   u s e r   h a s   a p p l i e d   s e t t i n g s   d i f f e r e n t   f r o m   t h e   k u b e a d m   d e f a u l t s   f o r   a   p a r t i c u l a r   c o m p o n e n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6138"
  },
  {
    "question": "What is node-role.kubernetes.io/control-plane?",
    "answer": "T y p e :   L a b e l   U s e d   o n :   N o d e   A   m a r k e r   l a b e l   t o   i n d i c a t e   t h a t   t h e   n o d e   i s   u s e d   t o   r u n   c o n t r o l   p l a n e   c o m p o n e n t s .   T h e   k u b e a d m   t o o l   a p p l i e s   t h i s   l a b e l   t o   t h e   c o n t r o l   p l a n e   n o d e s   t h a t   i t   m a n a g e s .   O t h e r   c l u s t e r   m a n a g e m e n t   t o o l s   t y p i c a l l y   a l s o   s e t   t h i s   t a i n t .   Y o u   c a n   l a b e l   c o n t r o l   p l a n e   n o d e s   w i t h   t h i s   l a b e l   t o   m a k e   i t   e a s i e r   t o   s c h e d u l e   P o d s   o n l y   o n t o   t h e s e   n o d e s ,   o r   t o   a v o i d   r u n n i n g   P o d s   o n   t h e   c o n t r o l   p l a n e .   I f   t h i s   l a b e l   i s   s e t ,   t h e   E n d p o i n t S l i c e   c o n t r o l l e r   i g n o r e s   t h a t   n o d e   w h i l e   c a l c u l a t i n g   T o p o l o g y   A w a r e   H i n t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6139"
  },
  {
    "question": "What is node-role.kubernetes.io/*?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   n o d e - r o l e . k u b e r n e t e s . i o / g p u :   g p u   U s e d   o n :   N o d e   T h i s   o p t i o n a l   l a b e l   i s   a p p l i e d   t o   a   n o d e   w h e n   y o u   w a n t   t o   m a r k   a   n o d e   r o l e .   T h e   n o d e   r o l e   ( t e x t   f o l l o w i n g   /   i n   t h e   l a b e l   k e y )   c a n   b e   s e t ,   a s   l o n g   a s   t h e   o v e r a l l   k e y   f o l l o w s   t h e   s y n t a x   r u l e s   f o r   o b j e c t   l a b e l s .   K u b e r n e t e s   d e f i n e s   o n e   s p e c i f i c   n o d e   r o l e ,   c o n t r o l - p l a n e .   A   l a b e l   y o u   c a n   u s e   t o   m a r k   t h a t   n o d e   r o l e   i s   n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6140"
  },
  {
    "question": "What is node-role.kubernetes.io/control-plane?",
    "answer": "T y p e :   T a i n t   E x a m p l e :   n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e : N o S c h e d u l e   U s e d   o n :   N o d e   T a i n t   t h a t   k u b e a d m   a p p l i e s   o n   c o n t r o l   p l a n e   n o d e s   t o   r e s t r i c t   p l a c i n g   P o d s   a n d   a l l o w   o n l y   s p e c i f i c   p o d s   t o   s c h e d u l e   o n   t h e m .   I f   t h i s   T a i n t   i s   a p p l i e d ,   c o n t r o l   p l a n e   n o d e s   a l l o w   o n l y   c r i t i c a l   w o r k l o a d s   t o   b e   s c h e d u l e d   o n t o   t h e m .   Y o u   c a n   m a n u a l l y   r e m o v e   t h i s   t a i n t   w i t h   t h e   f o l l o w i n g   c o m m a n d   o n   a   s p e c i f i c   n o d e .   k u b e c t l   t a i n t   n o d e s   < n o d e - n a m e >   n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e : N o S c h e d u l e -",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6141"
  },
  {
    "question": "What is node-role.kubernetes.io/master (deprecated)?",
    "answer": "T y p e :   T a i n t   U s e d   o n :   N o d e   E x a m p l e :   n o d e - r o l e . k u b e r n e t e s . i o / m a s t e r : N o S c h e d u l e   T a i n t   t h a t   k u b e a d m   p r e v i o u s l y   a p p l i e d   o n   c o n t r o l   p l a n e   n o d e s   t o   a l l o w   o n l y   c r i t i c a l   w o r k l o a d s   t o   s c h e d u l e   o n   t h e m .   R e p l a c e d   b y   t h e   n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e   t a i n t .   k u b e a d m   n o   l o n g e r   s e t s   o r   u s e s   t h i s   d e p r e c a t e d   t a i n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6142"
  },
  {
    "question": "What is resource.kubernetes.io/admin-access {resource-kubernetes-io-admin-access}?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   r e s o u r c e . k u b e r n e t e s . i o / a d m i n - a c c e s s :   \" t r u e \"   U s e d   o n :   N a m e s p a c e   U s e d   t o   g r a n t   a d m i n i s t r a t i v e   a c c e s s   t o   c e r t a i n   r e s o u r c e . k 8 s . i o   A P I   t y p e s   w i t h i n   a   n a m e s p a c e .   W h e n   t h i s   l a b e l   i s   s e t   o n   a   n a m e s p a c e   w i t h   t h e   v a l u e   \" t r u e \"   ( c a s e - s e n s i t i v e ) ,   i t   a l l o w s   t h e   u s e   o f   a d m i n A c c e s s :   t r u e   i n   a n y   n a m e s p a c e d   r e s o u r c e . k 8 s . i o   A P I   t y p e s .   C u r r e n t l y ,   t h i s   p e r m i s s i o n   a p p l i e s   t o   R e s o u r c e C l a i m   a n d   R e s o u r c e C l a i m T e m p l a t e   o b j e c t s .   S e e   D y n a m i c   R e s o u r c e   A l l o c a t i o n   A d m i n   a c c e s s   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/labels-annotations-taints/",
    "id": "k8s_00314_section_3_6143"
  },
  {
    "question": "What is kubectl create service externalname?",
    "answer": "kubectl create service externalnameSynopsisCreate an ExternalName service with the specified name.ExternalName service references to an external DNS address instead of only pods, which will allow application authors to reference services that exist off platform, on other clusters, or locally.kubectl create service externalname NAME --external-name external.name [--dry-run=server|client|none] Examples # Create a new ExternalName service named my-ns kubectl create service externalname my-ns --external-name bar.com Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--external-name stringExternal name of service--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for externalname-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--tcp stringsPort pairs can be specified as '<port>:<targetPort>'.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificat",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_externalname/",
    "id": "k8s_00315_qa_6144"
  },
  {
    "question": "How does kubectl create service externalname work?",
    "answer": "kubectl create service externalnameSynopsisCreate an ExternalName service with the specified name.ExternalName service references to an external DNS address instead of only pods, which will allow application authors to reference services that exist off platform, on other clusters, or locally.kubectl create service externalname NAME --external-name external.name [--dry-run=server|client|none] Examples # Create a new ExternalName service named my-ns kubectl create service externalname my-ns --external-name bar.com Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--external-name stringExternal name of service--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for externalname-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--tcp stringsPort pairs can be specified as '<port>:<targetPort>'.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificat",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_externalname/",
    "id": "k8s_00315_qa_6145"
  },
  {
    "question": "When would you use kubectl create service externalname?",
    "answer": "kubectl create service externalnameSynopsisCreate an ExternalName service with the specified name.ExternalName service references to an external DNS address instead of only pods, which will allow application authors to reference services that exist off platform, on other clusters, or locally.kubectl create service externalname NAME --external-name external.name [--dry-run=server|client|none] Examples # Create a new ExternalName service named my-ns kubectl create service externalname my-ns --external-name bar.com Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--external-name stringExternal name of service--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for externalname-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--tcp stringsPort pairs can be specified as '<port>:<targetPort>'.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificat",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_externalname/",
    "id": "k8s_00315_qa_6146"
  },
  {
    "question": "What are the benefits of kubectl create service externalname?",
    "answer": "kubectl create service externalnameSynopsisCreate an ExternalName service with the specified name.ExternalName service references to an external DNS address instead of only pods, which will allow application authors to reference services that exist off platform, on other clusters, or locally.kubectl create service externalname NAME --external-name external.name [--dry-run=server|client|none] Examples # Create a new ExternalName service named my-ns kubectl create service externalname my-ns --external-name bar.com Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--external-name stringExternal name of service--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for externalname-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--tcp stringsPort pairs can be specified as '<port>:<targetPort>'.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificat",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_externalname/",
    "id": "k8s_00315_qa_6147"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a n   E x t e r n a l N a m e   s e r v i c e   w i t h   t h e   s p e c i f i e d   n a m e .   E x t e r n a l N a m e   s e r v i c e   r e f e r e n c e s   t o   a n   e x t e r n a l   D N S   a d d r e s s   i n s t e a d   o f   o n l y   p o d s ,   w h i c h   w i l l   a l l o w   a p p l i c a t i o n   a u t h o r s   t o   r e f e r e n c e   s e r v i c e s   t h a t   e x i s t   o f f   p l a t f o r m ,   o n   o t h e r   c l u s t e r s ,   o r   l o c a l l y .   k u b e c t l   c r e a t e   s e r v i c e   e x t e r n a l n a m e   N A M E   - - e x t e r n a l - n a m e   e x t e r n a l . n a m e   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_externalname/",
    "id": "k8s_00315_section_2_6148"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   E x t e r n a l N a m e   s e r v i c e   n a m e d   m y - n s   k u b e c t l   c r e a t e   s e r v i c e   e x t e r n a l n a m e   m y - n s   - - e x t e r n a l - n a m e   b a r . c o m",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_externalname/",
    "id": "k8s_00315_section_2_6149"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   E x t e r n a l   n a m e   o f   s e r v i c e   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   e x t e r n a l n a m e   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   P o r t   p a i r s   c a n   b e   s p e c i f i e d   a s   ' < p o r t > : < t a r g e t P o r t > ' .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_externalname/",
    "id": "k8s_00315_section_2_6150"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_externalname/",
    "id": "k8s_00315_section_2_6151"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   s e r v i c e   -   C r e a t e   a   s e r v i c e   u s i n g   a   s p e c i f i e d   s u b c o m m a n d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_externalname/",
    "id": "k8s_00315_section_2_6152"
  },
  {
    "question": "What is Upgrading Windows nodes?",
    "answer": "Upgrading Windows nodesFEATURE STATE: Kubernetes v1.18 [beta]This page explains how to upgrade a Windows node created with kubeadm.Before you beginYou need to have shell access to all the nodes, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts.Your Kubernetes server must be at or later than version 1.17.To check the version, enter kubectl version.Familiarize yourself with the process for upgrading the rest of your kubeadm cluster. You will want to upgrade the control plane nodes before upgrading your Windows nodes.Upgrading worker nodesUpgrade kubeadmFrom the Windows node, upgrade kubeadm:# replace 1.34.0 with your desired version curl.exe -Lo <path-to-kubeadm.exe> \"https://dl.k8s.io/v1.34.0/bin/windows/amd64/kubeadm.exe\" Drain the nodeFrom a machine with access to the Kubernetes API, prepare the node for maintenance by marking it unschedulable and evicting the workloads:# replace <node-to-drain> with the name of your node you are draining kubectl drain <node-to-drain> --ignore-daemonsets You should see output similar to this:node/ip-172-31-85-18 cordoned node/ip-172-31-85-18 drained Upgrade the kubelet configurationFrom the Windows node, call the following command to sync new kubelet configuration:kubeadm upgrade node Upgrade kubelet and kube-proxyFrom the Windows node, upgrade and restart the kubelet:stop-service kubelet curl.exe -Lo <path-to-kubelet.exe> \"https://dl.k8s.io/v1.34.0/bin/windows/amd64/kubelet.exe\" restart-service kubelet From the Windows node, upgrade and restart the kube-proxy.stop-service kube-proxy curl.exe -Lo <path-to-kube-proxy.exe> \"https://dl.k8s.io/v1.34.0/bin/windows/amd64/kube-proxy.exe\" restart-service kube-proxy Note:If you are running kube-proxy in a HostProcess container within a Pod, and not as a Windows Service, you can upgrade kube-proxy by applying a newer version of your kube-proxy manifests.Uncordon the nodeFrom a machine with access to the Kubernetes API, bring the node back online by marking it schedulable:# replace <node-to-drain> with the name of your node kubectl uncordon <node-to-drain> What's nextSee how to Upgrade Linux nodes.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-windows-nodes/",
    "id": "k8s_00316_qa_6153"
  },
  {
    "question": "How does Upgrading Windows nodes work?",
    "answer": "Upgrading Windows nodesFEATURE STATE: Kubernetes v1.18 [beta]This page explains how to upgrade a Windows node created with kubeadm.Before you beginYou need to have shell access to all the nodes, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts.Your Kubernetes server must be at or later than version 1.17.To check the version, enter kubectl version.Familiarize yourself with the process for upgrading the rest of your kubeadm cluster. You will want to upgrade the control plane nodes before upgrading your Windows nodes.Upgrading worker nodesUpgrade kubeadmFrom the Windows node, upgrade kubeadm:# replace 1.34.0 with your desired version curl.exe -Lo <path-to-kubeadm.exe> \"https://dl.k8s.io/v1.34.0/bin/windows/amd64/kubeadm.exe\" Drain the nodeFrom a machine with access to the Kubernetes API, prepare the node for maintenance by marking it unschedulable and evicting the workloads:# replace <node-to-drain> with the name of your node you are draining kubectl drain <node-to-drain> --ignore-daemonsets You should see output similar to this:node/ip-172-31-85-18 cordoned node/ip-172-31-85-18 drained Upgrade the kubelet configurationFrom the Windows node, call the following command to sync new kubelet configuration:kubeadm upgrade node Upgrade kubelet and kube-proxyFrom the Windows node, upgrade and restart the kubelet:stop-service kubelet curl.exe -Lo <path-to-kubelet.exe> \"https://dl.k8s.io/v1.34.0/bin/windows/amd64/kubelet.exe\" restart-service kubelet From the Windows node, upgrade and restart the kube-proxy.stop-service kube-proxy curl.exe -Lo <path-to-kube-proxy.exe> \"https://dl.k8s.io/v1.34.0/bin/windows/amd64/kube-proxy.exe\" restart-service kube-proxy Note:If you are running kube-proxy in a HostProcess container within a Pod, and not as a Windows Service, you can upgrade kube-proxy by applying a newer version of your kube-proxy manifests.Uncordon the nodeFrom a machine with access to the Kubernetes API, bring the node back online by marking it schedulable:# replace <node-to-drain> with the name of your node kubectl uncordon <node-to-drain> What's nextSee how to Upgrade Linux nodes.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-windows-nodes/",
    "id": "k8s_00316_qa_6154"
  },
  {
    "question": "When would you use Upgrading Windows nodes?",
    "answer": "Upgrading Windows nodesFEATURE STATE: Kubernetes v1.18 [beta]This page explains how to upgrade a Windows node created with kubeadm.Before you beginYou need to have shell access to all the nodes, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts.Your Kubernetes server must be at or later than version 1.17.To check the version, enter kubectl version.Familiarize yourself with the process for upgrading the rest of your kubeadm cluster. You will want to upgrade the control plane nodes before upgrading your Windows nodes.Upgrading worker nodesUpgrade kubeadmFrom the Windows node, upgrade kubeadm:# replace 1.34.0 with your desired version curl.exe -Lo <path-to-kubeadm.exe> \"https://dl.k8s.io/v1.34.0/bin/windows/amd64/kubeadm.exe\" Drain the nodeFrom a machine with access to the Kubernetes API, prepare the node for maintenance by marking it unschedulable and evicting the workloads:# replace <node-to-drain> with the name of your node you are draining kubectl drain <node-to-drain> --ignore-daemonsets You should see output similar to this:node/ip-172-31-85-18 cordoned node/ip-172-31-85-18 drained Upgrade the kubelet configurationFrom the Windows node, call the following command to sync new kubelet configuration:kubeadm upgrade node Upgrade kubelet and kube-proxyFrom the Windows node, upgrade and restart the kubelet:stop-service kubelet curl.exe -Lo <path-to-kubelet.exe> \"https://dl.k8s.io/v1.34.0/bin/windows/amd64/kubelet.exe\" restart-service kubelet From the Windows node, upgrade and restart the kube-proxy.stop-service kube-proxy curl.exe -Lo <path-to-kube-proxy.exe> \"https://dl.k8s.io/v1.34.0/bin/windows/amd64/kube-proxy.exe\" restart-service kube-proxy Note:If you are running kube-proxy in a HostProcess container within a Pod, and not as a Windows Service, you can upgrade kube-proxy by applying a newer version of your kube-proxy manifests.Uncordon the nodeFrom a machine with access to the Kubernetes API, bring the node back online by marking it schedulable:# replace <node-to-drain> with the name of your node kubectl uncordon <node-to-drain> What's nextSee how to Upgrade Linux nodes.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-windows-nodes/",
    "id": "k8s_00316_qa_6155"
  },
  {
    "question": "What are the benefits of Upgrading Windows nodes?",
    "answer": "Upgrading Windows nodesFEATURE STATE: Kubernetes v1.18 [beta]This page explains how to upgrade a Windows node created with kubeadm.Before you beginYou need to have shell access to all the nodes, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts.Your Kubernetes server must be at or later than version 1.17.To check the version, enter kubectl version.Familiarize yourself with the process for upgrading the rest of your kubeadm cluster. You will want to upgrade the control plane nodes before upgrading your Windows nodes.Upgrading worker nodesUpgrade kubeadmFrom the Windows node, upgrade kubeadm:# replace 1.34.0 with your desired version curl.exe -Lo <path-to-kubeadm.exe> \"https://dl.k8s.io/v1.34.0/bin/windows/amd64/kubeadm.exe\" Drain the nodeFrom a machine with access to the Kubernetes API, prepare the node for maintenance by marking it unschedulable and evicting the workloads:# replace <node-to-drain> with the name of your node you are draining kubectl drain <node-to-drain> --ignore-daemonsets You should see output similar to this:node/ip-172-31-85-18 cordoned node/ip-172-31-85-18 drained Upgrade the kubelet configurationFrom the Windows node, call the following command to sync new kubelet configuration:kubeadm upgrade node Upgrade kubelet and kube-proxyFrom the Windows node, upgrade and restart the kubelet:stop-service kubelet curl.exe -Lo <path-to-kubelet.exe> \"https://dl.k8s.io/v1.34.0/bin/windows/amd64/kubelet.exe\" restart-service kubelet From the Windows node, upgrade and restart the kube-proxy.stop-service kube-proxy curl.exe -Lo <path-to-kube-proxy.exe> \"https://dl.k8s.io/v1.34.0/bin/windows/amd64/kube-proxy.exe\" restart-service kube-proxy Note:If you are running kube-proxy in a HostProcess container within a Pod, and not as a Windows Service, you can upgrade kube-proxy by applying a newer version of your kube-proxy manifests.Uncordon the nodeFrom a machine with access to the Kubernetes API, bring the node back online by marking it schedulable:# replace <node-to-drain> with the name of your node kubectl uncordon <node-to-drain> What's nextSee how to Upgrade Linux nodes.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-windows-nodes/",
    "id": "k8s_00316_qa_6156"
  },
  {
    "question": "What is Upgrading Windows nodes?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   t o   u p g r a d e   a   W i n d o w s   n o d e   c r e a t e d   w i t h   k u b e a d m .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-windows-nodes/",
    "id": "k8s_00316_section_1_6157"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   s h e l l   a c c e s s   t o   a l l   t h e   n o d e s ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s . Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 1 7 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   s h e l l   a c c e s s   t o   a l l   t h e   n o d e s ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   F a m i l i a r i z e   y o u r s e l f   w i t h   t h e   p r o c e s s   f o r   u p g r a d i n g   t h e   r e s t   o f   y o u r   k u b e a d m   c l u s t e r .   Y o u   w i l l   w a n t   t o   u p g r a d e   t h e   c o n t r o l   p l a n e   n o d e s   b e f o r e   u p g r a d i n g   y o u r   W i n d o w s   n o d e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-windows-nodes/",
    "id": "k8s_00316_section_2_6158"
  },
  {
    "question": "What is Upgrade kubeadm?",
    "answer": "F r o m   t h e   W i n d o w s   n o d e ,   u p g r a d e   k u b e a d m : #   r e p l a c e   1 . 3 4 . 0   w i t h   y o u r   d e s i r e d   v e r s i o n   c u r l . e x e   - L o   < p a t h - t o - k u b e a d m . e x e >   \" h t t p s : / / d l . k 8 s . i o / v 1 . 3 4 . 0 / b i n / w i n d o w s / a m d 6 4 / k u b e a d m . e x e \"   F r o m   t h e   W i n d o w s   n o d e ,   u p g r a d e   k u b e a d m :   #   r e p l a c e   1 . 3 4 . 0   w i t h   y o u r   d e s i r e d   v e r s i o n   c u r l . e x e   - L o   < p a t h - t o - k u b e a d m . e x e >   \" h t t p s : / / d l . k 8 s . i o / v 1 . 3 4 . 0 / b i n / w i n d o w s / a m d 6 4 / k u b e a d m . e x e \"",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-windows-nodes/",
    "id": "k8s_00316_section_3_6159"
  },
  {
    "question": "What is Drain the node?",
    "answer": "F r o m   a   m a c h i n e   w i t h   a c c e s s   t o   t h e   K u b e r n e t e s   A P I ,   p r e p a r e   t h e   n o d e   f o r   m a i n t e n a n c e   b y   m a r k i n g   i t   u n s c h e d u l a b l e   a n d   e v i c t i n g   t h e   w o r k l o a d s : #   r e p l a c e   < n o d e - t o - d r a i n >   w i t h   t h e   n a m e   o f   y o u r   n o d e   y o u   a r e   d r a i n i n g   k u b e c t l   d r a i n   < n o d e - t o - d r a i n >   - - i g n o r e - d a e m o n s e t s   Y o u   s h o u l d   s e e   o u t p u t   s i m i l a r   t o   t h i s : n o d e / i p - 1 7 2 - 3 1 - 8 5 - 1 8   c o r d o n e d   n o d e / i p - 1 7 2 - 3 1 - 8 5 - 1 8   d r a i n e d   F r o m   a   m a c h i n e   w i t h   a c c e s s   t o   t h e   K u b e r n e t e s   A P I ,   p r e p a r e   t h e   n o d e   f o r   m a i n t e n a n c e   b y   m a r k i n g   i t   u n s c h e d u l a b l e   a n d   e v i c t i n g   t h e   w o r k l o a d s :   #   r e p l a c e   < n o d e - t o - d r a i n >   w i t h   t h e   n a m e   o f   y o u r   n o d e   y o u   a r e   d r a i n i n g   k u b e c t l   d r a i n   < n o d e - t o - d r a i n >   - - i g n o r e - d a e m o n s e t s   Y o u   s h o u l d   s e e   o u t p u t   s i m i l a r   t o   t h i s :   n o d e / i p - 1 7 2 - 3 1 - 8 5 - 1 8   c o r d o n e d   n o d e / i p - 1 7 2 - 3 1 - 8 5 - 1 8   d r a i n e d",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-windows-nodes/",
    "id": "k8s_00316_section_3_6160"
  },
  {
    "question": "What is Upgrade the kubelet configuration?",
    "answer": "F r o m   t h e   W i n d o w s   n o d e ,   c a l l   t h e   f o l l o w i n g   c o m m a n d   t o   s y n c   n e w   k u b e l e t   c o n f i g u r a t i o n : k u b e a d m   u p g r a d e   n o d e   F r o m   t h e   W i n d o w s   n o d e ,   c a l l   t h e   f o l l o w i n g   c o m m a n d   t o   s y n c   n e w   k u b e l e t   c o n f i g u r a t i o n :   k u b e a d m   u p g r a d e   n o d e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-windows-nodes/",
    "id": "k8s_00316_section_3_6161"
  },
  {
    "question": "What is Upgrade kubelet and kube-proxy?",
    "answer": "F r o m   t h e   W i n d o w s   n o d e ,   u p g r a d e   a n d   r e s t a r t   t h e   k u b e l e t : s t o p - s e r v i c e   k u b e l e t   c u r l . e x e   - L o   < p a t h - t o - k u b e l e t . e x e >   \" h t t p s : / / d l . k 8 s . i o / v 1 . 3 4 . 0 / b i n / w i n d o w s / a m d 6 4 / k u b e l e t . e x e \"   r e s t a r t - s e r v i c e   k u b e l e t   F r o m   t h e   W i n d o w s   n o d e ,   u p g r a d e   a n d   r e s t a r t   t h e   k u b e - p r o x y . s t o p - s e r v i c e   k u b e - p r o x y   c u r l . e x e   - L o   < p a t h - t o - k u b e - p r o x y . e x e >   \" h t t p s : / / d l . k 8 s . i o / v 1 . 3 4 . 0 / b i n / w i n d o w s / a m d 6 4 / k u b e - p r o x y . e x e \"   r e s t a r t - s e r v i c e   k u b e - p r o x y   F r o m   t h e   W i n d o w s   n o d e ,   u p g r a d e   a n d   r e s t a r t   t h e   k u b e l e t :   s t o p - s e r v i c e   k u b e l e t   c u r l . e x e   - L o   < p a t h - t o - k u b e l e t . e x e >   \" h t t p s : / / d l . k 8 s . i o / v 1 . 3 4 . 0 / b i n / w i n d o w s / a m d 6 4 / k u b e l e t . e x e \"   r e s t a r t - s e r v i c e   k u b e l e t   F r o m   t h e   W i n d o w s   n o d e ,   u p g r a d e   a n d   r e s t a r t   t h e   k u b e - p r o x y .   s t o p - s e r v i c e   k u b e - p r o x y   c u r l . e x e   - L o   < p a t h - t o - k u b e - p r o x y . e x e >   \" h t t p s : / / d l . k 8 s . i o / v 1 . 3 4 . 0 / b i n / w i n d o w s / a m d 6 4 / k u b e - p r o x y . e x e \"   r e s t a r t - s e r v i c e   k u b e - p r o x y",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-windows-nodes/",
    "id": "k8s_00316_section_3_6162"
  },
  {
    "question": "What is Uncordon the node?",
    "answer": "F r o m   a   m a c h i n e   w i t h   a c c e s s   t o   t h e   K u b e r n e t e s   A P I ,   b r i n g   t h e   n o d e   b a c k   o n l i n e   b y   m a r k i n g   i t   s c h e d u l a b l e : #   r e p l a c e   < n o d e - t o - d r a i n >   w i t h   t h e   n a m e   o f   y o u r   n o d e   k u b e c t l   u n c o r d o n   < n o d e - t o - d r a i n >   F r o m   a   m a c h i n e   w i t h   a c c e s s   t o   t h e   K u b e r n e t e s   A P I ,   b r i n g   t h e   n o d e   b a c k   o n l i n e   b y   m a r k i n g   i t   s c h e d u l a b l e :   #   r e p l a c e   < n o d e - t o - d r a i n >   w i t h   t h e   n a m e   o f   y o u r   n o d e   k u b e c t l   u n c o r d o n   < n o d e - t o - d r a i n >",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-windows-nodes/",
    "id": "k8s_00316_section_3_6163"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   h o w   t o   U p g r a d e   L i n u x   n o d e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-windows-nodes/",
    "id": "k8s_00316_section_2_6164"
  },
  {
    "question": "What is Kubernetes Default Service CIDR Reconfiguration?",
    "answer": "Kubernetes Default Service CIDR ReconfigurationFEATURE STATE: Kubernetes v1.33 [stable] (enabled by default: true)This document shares how to reconfigure the default Service IP range(s) assigned to a cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.33.To check the version, enter kubectl version.Kubernetes Default Service CIDR ReconfigurationThis document explains how to manage the Service IP address range within a Kubernetes cluster, which also influences the cluster's supported IP families for Services.The IP families available for Service ClusterIPs are determined by the --service-cluster-ip-range flag to kube-apiserver. For a better understanding of Service IP address allocation, refer to the Services IP address allocation tracking documentation.Since Kubernetes 1.33, the Service IP families configured for the cluster are reflected by the ServiceCIDR object named kubernetes. The kubernetes ServiceCIDR object is created by the first kube-apiserver instance that starts, based on its configured --service-cluster-ip-range flag. To ensure consistent cluster behavior, all kube-apiserver instances must be configured with the same --service-cluster-ip-range values, which must match the default kubernetes ServiceCIDR object.Kubernetes Service CIDR Reconfiguration CategoriesWe can categorize Service CIDR reconfiguration into the following scenarios:Extending the existing Service CIDRs: This can be done dynamically by adding new ServiceCIDR objects without the need of reconfiguration of the kube-apiserver. Please refer to the dedicated documentation on Extending Service IP Ranges.Single-to-dual-stack conversion preserving the primary service CIDR: This involves introducing a secondary IP family (IPv6 to an IPv4-only cluster, or IPv4 to an IPv6-only cluster) while keeping the original IP family as primary. This requires an update to the kube-apiserver configuration and a corresponding modification of various cluster components that need to handle this additional IP family. These components include, but are not limited to, kube-proxy, the CNI or network plugin, service mesh implementations, and DNS services.Dual-to-single conversion preserving the primary service CIDR: This involves removing the secondary IP family from a dual-stack cluster, reverting to a single IP family while retaining the original primary IP family. In addition to the reconfiguration of the components to match the new IP family, you might need to address Services that were explicitly configured to use the removed IP family.Anything that ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/network/reconfigure-default-service-ip-ranges/",
    "id": "k8s_00317_qa_6165"
  },
  {
    "question": "How does Kubernetes Default Service CIDR Reconfiguration work?",
    "answer": "Kubernetes Default Service CIDR ReconfigurationFEATURE STATE: Kubernetes v1.33 [stable] (enabled by default: true)This document shares how to reconfigure the default Service IP range(s) assigned to a cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.33.To check the version, enter kubectl version.Kubernetes Default Service CIDR ReconfigurationThis document explains how to manage the Service IP address range within a Kubernetes cluster, which also influences the cluster's supported IP families for Services.The IP families available for Service ClusterIPs are determined by the --service-cluster-ip-range flag to kube-apiserver. For a better understanding of Service IP address allocation, refer to the Services IP address allocation tracking documentation.Since Kubernetes 1.33, the Service IP families configured for the cluster are reflected by the ServiceCIDR object named kubernetes. The kubernetes ServiceCIDR object is created by the first kube-apiserver instance that starts, based on its configured --service-cluster-ip-range flag. To ensure consistent cluster behavior, all kube-apiserver instances must be configured with the same --service-cluster-ip-range values, which must match the default kubernetes ServiceCIDR object.Kubernetes Service CIDR Reconfiguration CategoriesWe can categorize Service CIDR reconfiguration into the following scenarios:Extending the existing Service CIDRs: This can be done dynamically by adding new ServiceCIDR objects without the need of reconfiguration of the kube-apiserver. Please refer to the dedicated documentation on Extending Service IP Ranges.Single-to-dual-stack conversion preserving the primary service CIDR: This involves introducing a secondary IP family (IPv6 to an IPv4-only cluster, or IPv4 to an IPv6-only cluster) while keeping the original IP family as primary. This requires an update to the kube-apiserver configuration and a corresponding modification of various cluster components that need to handle this additional IP family. These components include, but are not limited to, kube-proxy, the CNI or network plugin, service mesh implementations, and DNS services.Dual-to-single conversion preserving the primary service CIDR: This involves removing the secondary IP family from a dual-stack cluster, reverting to a single IP family while retaining the original primary IP family. In addition to the reconfiguration of the components to match the new IP family, you might need to address Services that were explicitly configured to use the removed IP family.Anything that ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/network/reconfigure-default-service-ip-ranges/",
    "id": "k8s_00317_qa_6166"
  },
  {
    "question": "When would you use Kubernetes Default Service CIDR Reconfiguration?",
    "answer": "Kubernetes Default Service CIDR ReconfigurationFEATURE STATE: Kubernetes v1.33 [stable] (enabled by default: true)This document shares how to reconfigure the default Service IP range(s) assigned to a cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.33.To check the version, enter kubectl version.Kubernetes Default Service CIDR ReconfigurationThis document explains how to manage the Service IP address range within a Kubernetes cluster, which also influences the cluster's supported IP families for Services.The IP families available for Service ClusterIPs are determined by the --service-cluster-ip-range flag to kube-apiserver. For a better understanding of Service IP address allocation, refer to the Services IP address allocation tracking documentation.Since Kubernetes 1.33, the Service IP families configured for the cluster are reflected by the ServiceCIDR object named kubernetes. The kubernetes ServiceCIDR object is created by the first kube-apiserver instance that starts, based on its configured --service-cluster-ip-range flag. To ensure consistent cluster behavior, all kube-apiserver instances must be configured with the same --service-cluster-ip-range values, which must match the default kubernetes ServiceCIDR object.Kubernetes Service CIDR Reconfiguration CategoriesWe can categorize Service CIDR reconfiguration into the following scenarios:Extending the existing Service CIDRs: This can be done dynamically by adding new ServiceCIDR objects without the need of reconfiguration of the kube-apiserver. Please refer to the dedicated documentation on Extending Service IP Ranges.Single-to-dual-stack conversion preserving the primary service CIDR: This involves introducing a secondary IP family (IPv6 to an IPv4-only cluster, or IPv4 to an IPv6-only cluster) while keeping the original IP family as primary. This requires an update to the kube-apiserver configuration and a corresponding modification of various cluster components that need to handle this additional IP family. These components include, but are not limited to, kube-proxy, the CNI or network plugin, service mesh implementations, and DNS services.Dual-to-single conversion preserving the primary service CIDR: This involves removing the secondary IP family from a dual-stack cluster, reverting to a single IP family while retaining the original primary IP family. In addition to the reconfiguration of the components to match the new IP family, you might need to address Services that were explicitly configured to use the removed IP family.Anything that ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/network/reconfigure-default-service-ip-ranges/",
    "id": "k8s_00317_qa_6167"
  },
  {
    "question": "What are the benefits of Kubernetes Default Service CIDR Reconfiguration?",
    "answer": "Kubernetes Default Service CIDR ReconfigurationFEATURE STATE: Kubernetes v1.33 [stable] (enabled by default: true)This document shares how to reconfigure the default Service IP range(s) assigned to a cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.33.To check the version, enter kubectl version.Kubernetes Default Service CIDR ReconfigurationThis document explains how to manage the Service IP address range within a Kubernetes cluster, which also influences the cluster's supported IP families for Services.The IP families available for Service ClusterIPs are determined by the --service-cluster-ip-range flag to kube-apiserver. For a better understanding of Service IP address allocation, refer to the Services IP address allocation tracking documentation.Since Kubernetes 1.33, the Service IP families configured for the cluster are reflected by the ServiceCIDR object named kubernetes. The kubernetes ServiceCIDR object is created by the first kube-apiserver instance that starts, based on its configured --service-cluster-ip-range flag. To ensure consistent cluster behavior, all kube-apiserver instances must be configured with the same --service-cluster-ip-range values, which must match the default kubernetes ServiceCIDR object.Kubernetes Service CIDR Reconfiguration CategoriesWe can categorize Service CIDR reconfiguration into the following scenarios:Extending the existing Service CIDRs: This can be done dynamically by adding new ServiceCIDR objects without the need of reconfiguration of the kube-apiserver. Please refer to the dedicated documentation on Extending Service IP Ranges.Single-to-dual-stack conversion preserving the primary service CIDR: This involves introducing a secondary IP family (IPv6 to an IPv4-only cluster, or IPv4 to an IPv6-only cluster) while keeping the original IP family as primary. This requires an update to the kube-apiserver configuration and a corresponding modification of various cluster components that need to handle this additional IP family. These components include, but are not limited to, kube-proxy, the CNI or network plugin, service mesh implementations, and DNS services.Dual-to-single conversion preserving the primary service CIDR: This involves removing the secondary IP family from a dual-stack cluster, reverting to a single IP family while retaining the original primary IP family. In addition to the reconfiguration of the components to match the new IP family, you might need to address Services that were explicitly configured to use the removed IP family.Anything that ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/network/reconfigure-default-service-ip-ranges/",
    "id": "k8s_00317_qa_6168"
  },
  {
    "question": "What is Kubernetes Default Service CIDR Reconfiguration?",
    "answer": "T h i s   d o c u m e n t   s h a r e s   h o w   t o   r e c o n f i g u r e   t h e   d e f a u l t   S e r v i c e   I P   r a n g e ( s )   a s s i g n e d   t o   a   c l u s t e r .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/network/reconfigure-default-service-ip-ranges/",
    "id": "k8s_00317_section_1_6169"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/network/reconfigure-default-service-ip-ranges/",
    "id": "k8s_00317_section_2_6170"
  },
  {
    "question": "What is Kubernetes Default Service CIDR Reconfiguration?",
    "answer": "T h i s   d o c u m e n t   e x p l a i n s   h o w   t o   m a n a g e   t h e   S e r v i c e   I P   a d d r e s s   r a n g e   w i t h i n   a   K u b e r n e t e s   c l u s t e r ,   w h i c h   a l s o   i n f l u e n c e s   t h e   c l u s t e r ' s   s u p p o r t e d   I P   f a m i l i e s   f o r   S e r v i c e s .   T h e   I P   f a m i l i e s   a v a i l a b l e   f o r   S e r v i c e   C l u s t e r I P s   a r e   d e t e r m i n e d   b y   t h e   - - s e r v i c e - c l u s t e r - i p - r a n g e   f l a g   t o   k u b e - a p i s e r v e r .   F o r   a   b e t t e r   u n d e r s t a n d i n g   o f   S e r v i c e   I P   a d d r e s s   a l l o c a t i o n ,   r e f e r   t o   t h e   S e r v i c e s   I P   a d d r e s s   a l l o c a t i o n   t r a c k i n g   d o c u m e n t a t i o n .   S i n c e   K u b e r n e t e s   1 . 3 3 ,   t h e   S e r v i c e   I P   f a m i l i e s   c o n f i g u r e d   f o r   t h e   c l u s t e r   a r e   r e f l e c t e d   b y   t h e   S e r v i c e C I D R   o b j e c t   n a m e d   k u b e r n e t e s .   T h e   k u b e r n e t e s   S e r v i c e C I D R   o b j e c t   i s   c r e a t e d   b y   t h e   f i r s t   k u b e - a p i s e r v e r   i n s t a n c e   t h a t   s t a r t s ,   b a s e d   o n   i t s   c o n f i g u r e d   - - s e r v i c e - c l u s t e r - i p - r a n g e   f l a g .   T o   e n s u r e   c o n s i s t e n t   c l u s t e r   b e h a v i o r ,   a l l   k u b e - a p i s e r v e r   i n s t a n c e s   m u s t   b e   c o n f i g u r e d   w i t h   t h e   s a m e   - - s e r v i c e - c l u s t e r - i p - r a n g e   v a l u e s ,   w h i c h   m u s t   m a t c h   t h e   d e f a u l t   k u b e r n e t e s   S e r v i c e C I D R   o b j e c t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/network/reconfigure-default-service-ip-ranges/",
    "id": "k8s_00317_section_2_6171"
  },
  {
    "question": "What is Kubernetes Service CIDR Reconfiguration Categories?",
    "answer": "W e   c a n   c a t e g o r i z e   S e r v i c e   C I D R   r e c o n f i g u r a t i o n   i n t o   t h e   f o l l o w i n g   s c e n a r i o s :   E x t e n d i n g   t h e   e x i s t i n g   S e r v i c e   C I D R s :   T h i s   c a n   b e   d o n e   d y n a m i c a l l y   b y   a d d i n g   n e w   S e r v i c e C I D R   o b j e c t s   w i t h o u t   t h e   n e e d   o f   r e c o n f i g u r a t i o n   o f   t h e   k u b e - a p i s e r v e r .   P l e a s e   r e f e r   t o   t h e   d e d i c a t e d   d o c u m e n t a t i o n   o n   E x t e n d i n g   S e r v i c e   I P   R a n g e s . S i n g l e - t o - d u a l - s t a c k   c o n v e r s i o n   p r e s e r v i n g   t h e   p r i m a r y   s e r v i c e   C I D R :   T h i s   i n v o l v e s   i n t r o d u c i n g   a   s e c o n d a r y   I P   f a m i l y   ( I P v 6   t o   a n   I P v 4 - o n l y   c l u s t e r ,   o r   I P v 4   t o   a n   I P v 6 - o n l y   c l u s t e r )   w h i l e   k e e p i n g   t h e   o r i g i n a l   I P   f a m i l y   a s   p r i m a r y .   T h i s   r e q u i r e s   a n   u p d a t e   t o   t h e   k u b e - a p i s e r v e r   c o n f i g u r a t i o n   a n d   a   c o r r e s p o n d i n g   m o d i f i c a t i o n   o f   v a r i o u s   c l u s t e r   c o m p o n e n t s   t h a t   n e e d   t o   h a n d l e   t h i s   a d d i t i o n a l   I P   f a m i l y .   T h e s e   c o m p o n e n t s   i n c l u d e ,   b u t   a r e   n o t   l i m i t e d   t o ,   k u b e - p r o x y ,   t h e   C N I   o r   n e t w o r k   p l u g i n ,   s e r v i c e   m e s h   i m p l e m e n t a t i o n s ,   a n d   D N S   s e r v i c e s . D u a l - t o - s i n g l e   c o n v e r s i o n   p r e s e r v i n g   t h e   p r i m a r y   s e r v i c e   C I D R :   T h i s   i n v o l v e s   r e m o v i n g   t h e   s e c o n d a r y   I P   f a m i l y   f r o m   a   d u a l - s t a c k   c l u s t e r ,   r e v e r t i n g   t o   a   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/network/reconfigure-default-service-ip-ranges/",
    "id": "k8s_00317_section_3_6172"
  },
  {
    "question": "What is Manual Operations for Replacing the Default Service CIDR?",
    "answer": "R e c o n f i g u r i n g   t h e   d e f a u l t   S e r v i c e   C I D R   n e c e s s i t a t e s   m a n u a l   s t e p s   p e r f o r m e d   b y   t h e   c l u s t e r   o p e r a t o r ,   a d m i n i s t r a t o r ,   o r   t h e   s o f t w a r e   m a n a g i n g   t h e   c l u s t e r   l i f e c y c l e .   T h e s e   t y p i c a l l y   i n c l u d e :   U p d a t i n g   t h e   k u b e - a p i s e r v e r   c o n f i g u r a t i o n :   M o d i f y   t h e   - - s e r v i c e - c l u s t e r - i p - r a n g e   f l a g   w i t h   t h e   n e w   I P   r a n g e ( s ) . R e c o n f i g u r i n g   t h e   n e t w o r k   c o m p o n e n t s :   T h i s   i s   a   c r i t i c a l   s t e p   a n d   t h e   s p e c i f i c   p r o c e d u r e   d e p e n d s   o n   t h e   d i f f e r e n t   n e t w o r k i n g   c o m p o n e n t s   i n   u s e .   I t   m i g h t   i n v o l v e   u p d a t i n g   c o n f i g u r a t i o n   f i l e s ,   r e s t a r t i n g   a g e n t   p o d s ,   o r   u p d a t i n g   t h e   c o m p o n e n t s   t o   m a n a g e   t h e   n e w   S e r v i c e   C I D R ( s )   a n d   t h e   d e s i r e d   I P   f a m i l y   c o n f i g u r a t i o n   f o r   P o d s .   T y p i c a l   c o m p o n e n t s   c a n   b e   t h e   i m p l e m e n t a t i o n   o f   K u b e r n e t e s   S e r v i c e s ,   s u c h   a s   k u b e - p r o x y ,   a n d   t h e   c o n f i g u r e d   n e t w o r k i n g   p l u g i n ,   a n d   p o t e n t i a l l y   o t h e r   n e t w o r k i n g   c o m p o n e n t s   l i k e   s e r v i c e   m e s h   c o n t r o l l e r s   a n d   D N S   s e r v e r s ,   t o   e n s u r e   t h e y   c a n   c o r r e c t l y   h a n d l e   t r a f f i c   a n d   p e r f o r m   s e r v i c e   d i s c o v e r y   w i t h   t h e   n e w   I P   f a m i l y   c o n f i g u r a t i o n . M a n a g i n g   e x i s t i n g   S e r v i c e s :   S e r v i c e s   w i t h   I P s   f ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/network/reconfigure-default-service-ip-ranges/",
    "id": "k8s_00317_section_3_6173"
  },
  {
    "question": "What is Illustrative Reconfiguration Steps?",
    "answer": "T h e   f o l l o w i n g   s t e p s   d e s c r i b e   a   c o n t r o l l e d   r e c o n f i g u r a t i o n   f o c u s i n g   o n   t h e   c o m p l e t e l y   r e p l a c e m e n t   o f   t h e   d e f a u l t   S e r v i c e   C I D R   a n d   t h e   r e c r e a t i o n   o f   t h e   k u b e r n e t e s . d e f a u l t   S e r v i c e :   S t a r t   t h e   k u b e - a p i s e r v e r   w i t h   t h e   i n i t i a l   - - s e r v i c e - c l u s t e r - i p - r a n g e . C r e a t e   i n i t i a l   S e r v i c e s   t h a t   o b t a i n   I P s   f r o m   t h i s   r a n g e . I n t r o d u c e   a   n e w   S e r v i c e   C I D R   a s   a   t e m p o r a r y   t a r g e t   f o r   r e c o n f i g u r a t i o n . M a r k   t h e   k u b e r n e t e s   d e f a u l t   S e r v i c e   C I D R   f o r   d e l e t i o n   ( i t   w i l l   r e m a i n   p e n d i n g   d u e   t o   e x i s t i n g   I P s   a n d   f i n a l i z e r s ) .   T h i s   p r e v e n t s   n e w   a l l o c a t i o n s   f r o m   t h e   o l d   r a n g e . R e c r e a t e   e x i s t i n g   S e r v i c e s .   T h e y   s h o u l d   n o w   b e   a l l o c a t e d   I P s   f r o m   t h e   n e w ,   t e m p o r a r y   S e r v i c e   C I D R . R e s t a r t   t h e   k u b e - a p i s e r v e r   w i t h   t h e   n e w   S e r v i c e   C I D R ( s )   c o n f i g u r e d   a n d   s h u t   d o w n   t h e   o l d   i n s t a n c e . D e l e t e   t h e   k u b e r n e t e s . d e f a u l t   s e r v i c e .   T h e   n e w   k u b e - a p i s e r v e r   w i l l   r e c r e a t e   i t   w i t h i n   t h e   n e w   S e r v i c e   C I D R .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/network/reconfigure-default-service-ip-ranges/",
    "id": "k8s_00317_section_3_6174"
  },
  {
    "question": "What is What's next?",
    "answer": "K u b e r n e t e s   N e t w o r k i n g   C o n c e p t s :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c l u s t e r - a d m i n i s t r a t i o n / n e t w o r k i n g / K u b e r n e t e s   D u a l - S t a c k   S e r v i c e s :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s e r v i c e s - n e t w o r k i n g / d u a l - s t a c k / E x t e n d i n g   K u b e r n e t e s   S e r v i c e   I P   R a n g e s :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / n e t w o r k / e x t e n d - s e r v i c e - i p - r a n g e s /",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/network/reconfigure-default-service-ip-ranges/",
    "id": "k8s_00317_section_2_6175"
  },
  {
    "question": "What is ServiceAccount?",
    "answer": "ServiceAccountServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets.apiVersion: v1import \"k8s.io/api/core/v1\"ServiceAccountServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secretsapiVersion: v1kind: ServiceAccountmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataautomountServiceAccountToken (boolean)AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.imagePullSecrets ([]LocalObjectReference)Atomic: will be replaced during a mergeImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-podsecrets ([]ObjectReference)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergeSecrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a \"kubernetes.io/enforce-mountable-secrets\" annotation set to \"true\". The \"kubernetes.io/enforce-mountable-secrets\" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secretServiceAccountListServiceAccountList is a list of ServiceAccount objectsapiVersion: v1kind: ServiceAccountListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems ([]ServiceAccount), requiredList of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/Operationsget read the specified ServiceAccountHTTP RequestGET /api/v1/namespaces/{namespace}/serviceaccounts/{name}Parametersname (in path): string, requiredname of the ServiceAccountnamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (ServiceAccount): OK401: Unauthorizedlist list or watch objects of kind ServiceAccountHTTP RequestGET /api/v1/namespaces/{namespace}/serviceaccountsParametersnamespace (in path): string, re",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_qa_6176"
  },
  {
    "question": "How does ServiceAccount work?",
    "answer": "ServiceAccountServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets.apiVersion: v1import \"k8s.io/api/core/v1\"ServiceAccountServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secretsapiVersion: v1kind: ServiceAccountmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataautomountServiceAccountToken (boolean)AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.imagePullSecrets ([]LocalObjectReference)Atomic: will be replaced during a mergeImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-podsecrets ([]ObjectReference)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergeSecrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a \"kubernetes.io/enforce-mountable-secrets\" annotation set to \"true\". The \"kubernetes.io/enforce-mountable-secrets\" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secretServiceAccountListServiceAccountList is a list of ServiceAccount objectsapiVersion: v1kind: ServiceAccountListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems ([]ServiceAccount), requiredList of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/Operationsget read the specified ServiceAccountHTTP RequestGET /api/v1/namespaces/{namespace}/serviceaccounts/{name}Parametersname (in path): string, requiredname of the ServiceAccountnamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (ServiceAccount): OK401: Unauthorizedlist list or watch objects of kind ServiceAccountHTTP RequestGET /api/v1/namespaces/{namespace}/serviceaccountsParametersnamespace (in path): string, re",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_qa_6177"
  },
  {
    "question": "When would you use ServiceAccount?",
    "answer": "ServiceAccountServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets.apiVersion: v1import \"k8s.io/api/core/v1\"ServiceAccountServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secretsapiVersion: v1kind: ServiceAccountmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataautomountServiceAccountToken (boolean)AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.imagePullSecrets ([]LocalObjectReference)Atomic: will be replaced during a mergeImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-podsecrets ([]ObjectReference)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergeSecrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a \"kubernetes.io/enforce-mountable-secrets\" annotation set to \"true\". The \"kubernetes.io/enforce-mountable-secrets\" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secretServiceAccountListServiceAccountList is a list of ServiceAccount objectsapiVersion: v1kind: ServiceAccountListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems ([]ServiceAccount), requiredList of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/Operationsget read the specified ServiceAccountHTTP RequestGET /api/v1/namespaces/{namespace}/serviceaccounts/{name}Parametersname (in path): string, requiredname of the ServiceAccountnamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (ServiceAccount): OK401: Unauthorizedlist list or watch objects of kind ServiceAccountHTTP RequestGET /api/v1/namespaces/{namespace}/serviceaccountsParametersnamespace (in path): string, re",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_qa_6178"
  },
  {
    "question": "What are the benefits of ServiceAccount?",
    "answer": "ServiceAccountServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets.apiVersion: v1import \"k8s.io/api/core/v1\"ServiceAccountServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secretsapiVersion: v1kind: ServiceAccountmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataautomountServiceAccountToken (boolean)AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.imagePullSecrets ([]LocalObjectReference)Atomic: will be replaced during a mergeImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-podsecrets ([]ObjectReference)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergeSecrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a \"kubernetes.io/enforce-mountable-secrets\" annotation set to \"true\". The \"kubernetes.io/enforce-mountable-secrets\" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secretServiceAccountListServiceAccountList is a list of ServiceAccount objectsapiVersion: v1kind: ServiceAccountListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems ([]ServiceAccount), requiredList of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/Operationsget read the specified ServiceAccountHTTP RequestGET /api/v1/namespaces/{namespace}/serviceaccounts/{name}Parametersname (in path): string, requiredname of the ServiceAccountnamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (ServiceAccount): OK401: Unauthorizedlist list or watch objects of kind ServiceAccountHTTP RequestGET /api/v1/namespaces/{namespace}/serviceaccountsParametersnamespace (in path): string, re",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_qa_6179"
  },
  {
    "question": "What is ServiceAccount?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_1_6180"
  },
  {
    "question": "What is ServiceAccount?",
    "answer": "S e r v i c e A c c o u n t   b i n d s   t o g e t h e r :   *   a   n a m e ,   u n d e r s t o o d   b y   u s e r s ,   a n d   p e r h a p s   b y   p e r i p h e r a l   s y s t e m s ,   f o r   a n   i d e n t i t y   *   a   p r i n c i p a l   t h a t   c a n   b e   a u t h e n t i c a t e d   a n d   a u t h o r i z e d   *   a   s e t   o f   s e c r e t s   a p i V e r s i o n :   v 1 k i n d :   S e r v i c e A c c o u n t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a a u t o m o u n t S e r v i c e A c c o u n t T o k e n   ( b o o l e a n ) A u t o m o u n t S e r v i c e A c c o u n t T o k e n   i n d i c a t e s   w h e t h e r   p o d s   r u n n i n g   a s   t h i s   s e r v i c e   a c c o u n t   s h o u l d   h a v e   a n   A P I   t o k e n   a u t o m a t i c a l l y   m o u n t e d .   C a n   b e   o v e r r i d d e n   a t   t h e   p o d   l e v e l . i m a g e P u l l S e c r e t s   ( [ ] L o c a l O b j e c t R e f e r e n c e ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e I m a g e P u l l S e c r e t s   i s   a   l i s t   o f   r e f e r e n c e s   t o   s e c r e t s   i n   t h e   s a m e   n a m e s p a c e   t o   u s e   f o r   p u l l i n g   a n y   i m a g e s   i n   p o d s   t h a t   r e f e r e n c e   t h i s   S e r v i c e A c c o u n t .   I m a g e P u l l S e c r e t s   a r e   d i s t i n c t   f r o m   S e c r e t s   b e c a u s e   S e c r e t s   c a n   b e   m o u n t e d   i n   t h e   p o d ,   b u t   I m a g e P u l l S e c r e t s   a r e   o n l y   a c c e s s e d   b y   t h e   k u b e l e t .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_2_6181"
  },
  {
    "question": "What is ServiceAccountList?",
    "answer": "S e r v i c e A c c o u n t L i s t   i s   a   l i s t   o f   S e r v i c e A c c o u n t   o b j e c t s   a p i V e r s i o n :   v 1 k i n d :   S e r v i c e A c c o u n t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] S e r v i c e A c c o u n t ) ,   r e q u i r e d L i s t   o f   S e r v i c e A c c o u n t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g u r e - s e r v i c e - a c c o u n t /   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] S e r v i c e A c c o u n t ) ,   r e q u i r e d   L i s t   o f   S e r v i c e A c c o u n t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g u r e - s e r v i c e - a c c o u n t /",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_2_6182"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_4_6183"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e A c c o u n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e A c c o u n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_4_6184"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e A c c o u n t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_4_6185"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_4_6186"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_4_6187"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e A c c o u n t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_4_6188"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / s e r v i c e a c c o u n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_4_6189"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_4_6190"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e A c c o u n t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_4_6191"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_4_6192"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S e r v i c e A c c o u n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S e r v i c e A c c o u n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_4_6193"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e A c c o u n t ) :   O K   2 0 1   ( S e r v i c e A c c o u n t ) :   C r e a t e d   2 0 2   ( S e r v i c e A c c o u n t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_4_6194"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_4_6195"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e A c c o u n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S e r v i c e A c c o u n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e A c c o u n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S e r v i c e A c c o u n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_4_6196"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e A c c o u n t ) :   O K   2 0 1   ( S e r v i c e A c c o u n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_4_6197"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_4_6198"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e A c c o u n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e A c c o u n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_4_6199"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e A c c o u n t ) :   O K   2 0 1   ( S e r v i c e A c c o u n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_4_6200"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_4_6201"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e A c c o u n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e A c c o u n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_4_6202"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e A c c o u n t ) :   O K   2 0 2   ( S e r v i c e A c c o u n t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_4_6203"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_4_6204"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_4_6205"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/",
    "id": "k8s_00318_section_4_6206"
  },
  {
    "question": "What is CertificateSigningRequest?",
    "answer": "CertificateSigningRequestCertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.apiVersion: certificates.k8s.io/v1import \"k8s.io/api/certificates/v1\"CertificateSigningRequestCertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.Kubelets use this API to obtain:client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client-kubelet\" signerName).serving certificates for TLS endpoints kube-apiserver can connect to securely (with the \"kubernetes.io/kubelet-serving\" signerName).This API can be used to request client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client\" signerName), or to obtain certificates from custom non-Kubernetes signers.apiVersion: certificates.k8s.io/v1kind: CertificateSigningRequestmetadata (ObjectMeta)spec (CertificateSigningRequestSpec), requiredspec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users.status (CertificateSigningRequestStatus)status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure.CertificateSigningRequestSpecCertificateSigningRequestSpec contains the certificate request.request ([]byte), requiredAtomic: will be replaced during a mergerequest contains an x509 certificate signing request encoded in a \"CERTIFICATE REQUEST\" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded.signerName (string), requiredsignerName indicates the requested signer, and is a qualified name.List/watch requests for CertificateSigningRequests can filter on this field using a \"spec.signerName=NAME\" fieldSelector.Well-known Kubernetes signers are:\"kubernetes.io/kube-apiserver-client\": issues client certificates that can be used to authenticate to kube-apiserver. Requests for this signer are never auto-approved by kube-controller-manager, can be issued by the \"csrsigning\" controller in kube-controller-manager.\"kubernetes.io/kube-apiserver-client-kubelet\": issues client certificates that kubelets use to authenticate to kube-apiserver. Requests for this signer can be auto-approved by the \"csrapproving\" controller in kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager.\"kubernetes.io/kubelet-serving\" issues serving certificates that kubelets use to serve TLS endpoints, which kube-apiserver can connect to securely. Requests for this signer are never auto-approved by kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager.M",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_qa_6207"
  },
  {
    "question": "How does CertificateSigningRequest work?",
    "answer": "CertificateSigningRequestCertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.apiVersion: certificates.k8s.io/v1import \"k8s.io/api/certificates/v1\"CertificateSigningRequestCertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.Kubelets use this API to obtain:client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client-kubelet\" signerName).serving certificates for TLS endpoints kube-apiserver can connect to securely (with the \"kubernetes.io/kubelet-serving\" signerName).This API can be used to request client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client\" signerName), or to obtain certificates from custom non-Kubernetes signers.apiVersion: certificates.k8s.io/v1kind: CertificateSigningRequestmetadata (ObjectMeta)spec (CertificateSigningRequestSpec), requiredspec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users.status (CertificateSigningRequestStatus)status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure.CertificateSigningRequestSpecCertificateSigningRequestSpec contains the certificate request.request ([]byte), requiredAtomic: will be replaced during a mergerequest contains an x509 certificate signing request encoded in a \"CERTIFICATE REQUEST\" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded.signerName (string), requiredsignerName indicates the requested signer, and is a qualified name.List/watch requests for CertificateSigningRequests can filter on this field using a \"spec.signerName=NAME\" fieldSelector.Well-known Kubernetes signers are:\"kubernetes.io/kube-apiserver-client\": issues client certificates that can be used to authenticate to kube-apiserver. Requests for this signer are never auto-approved by kube-controller-manager, can be issued by the \"csrsigning\" controller in kube-controller-manager.\"kubernetes.io/kube-apiserver-client-kubelet\": issues client certificates that kubelets use to authenticate to kube-apiserver. Requests for this signer can be auto-approved by the \"csrapproving\" controller in kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager.\"kubernetes.io/kubelet-serving\" issues serving certificates that kubelets use to serve TLS endpoints, which kube-apiserver can connect to securely. Requests for this signer are never auto-approved by kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager.M",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_qa_6208"
  },
  {
    "question": "When would you use CertificateSigningRequest?",
    "answer": "CertificateSigningRequestCertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.apiVersion: certificates.k8s.io/v1import \"k8s.io/api/certificates/v1\"CertificateSigningRequestCertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.Kubelets use this API to obtain:client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client-kubelet\" signerName).serving certificates for TLS endpoints kube-apiserver can connect to securely (with the \"kubernetes.io/kubelet-serving\" signerName).This API can be used to request client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client\" signerName), or to obtain certificates from custom non-Kubernetes signers.apiVersion: certificates.k8s.io/v1kind: CertificateSigningRequestmetadata (ObjectMeta)spec (CertificateSigningRequestSpec), requiredspec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users.status (CertificateSigningRequestStatus)status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure.CertificateSigningRequestSpecCertificateSigningRequestSpec contains the certificate request.request ([]byte), requiredAtomic: will be replaced during a mergerequest contains an x509 certificate signing request encoded in a \"CERTIFICATE REQUEST\" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded.signerName (string), requiredsignerName indicates the requested signer, and is a qualified name.List/watch requests for CertificateSigningRequests can filter on this field using a \"spec.signerName=NAME\" fieldSelector.Well-known Kubernetes signers are:\"kubernetes.io/kube-apiserver-client\": issues client certificates that can be used to authenticate to kube-apiserver. Requests for this signer are never auto-approved by kube-controller-manager, can be issued by the \"csrsigning\" controller in kube-controller-manager.\"kubernetes.io/kube-apiserver-client-kubelet\": issues client certificates that kubelets use to authenticate to kube-apiserver. Requests for this signer can be auto-approved by the \"csrapproving\" controller in kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager.\"kubernetes.io/kubelet-serving\" issues serving certificates that kubelets use to serve TLS endpoints, which kube-apiserver can connect to securely. Requests for this signer are never auto-approved by kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager.M",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_qa_6209"
  },
  {
    "question": "What are the benefits of CertificateSigningRequest?",
    "answer": "CertificateSigningRequestCertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.apiVersion: certificates.k8s.io/v1import \"k8s.io/api/certificates/v1\"CertificateSigningRequestCertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.Kubelets use this API to obtain:client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client-kubelet\" signerName).serving certificates for TLS endpoints kube-apiserver can connect to securely (with the \"kubernetes.io/kubelet-serving\" signerName).This API can be used to request client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client\" signerName), or to obtain certificates from custom non-Kubernetes signers.apiVersion: certificates.k8s.io/v1kind: CertificateSigningRequestmetadata (ObjectMeta)spec (CertificateSigningRequestSpec), requiredspec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users.status (CertificateSigningRequestStatus)status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure.CertificateSigningRequestSpecCertificateSigningRequestSpec contains the certificate request.request ([]byte), requiredAtomic: will be replaced during a mergerequest contains an x509 certificate signing request encoded in a \"CERTIFICATE REQUEST\" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded.signerName (string), requiredsignerName indicates the requested signer, and is a qualified name.List/watch requests for CertificateSigningRequests can filter on this field using a \"spec.signerName=NAME\" fieldSelector.Well-known Kubernetes signers are:\"kubernetes.io/kube-apiserver-client\": issues client certificates that can be used to authenticate to kube-apiserver. Requests for this signer are never auto-approved by kube-controller-manager, can be issued by the \"csrsigning\" controller in kube-controller-manager.\"kubernetes.io/kube-apiserver-client-kubelet\": issues client certificates that kubelets use to authenticate to kube-apiserver. Requests for this signer can be auto-approved by the \"csrapproving\" controller in kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager.\"kubernetes.io/kubelet-serving\" issues serving certificates that kubelets use to serve TLS endpoints, which kube-apiserver can connect to securely. Requests for this signer are never auto-approved by kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager.M",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_qa_6210"
  },
  {
    "question": "What is CertificateSigningRequest?",
    "answer": "a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / c e r t i f i c a t e s / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_1_6211"
  },
  {
    "question": "What is CertificateSigningRequest?",
    "answer": "C e r t i f i c a t e S i g n i n g R e q u e s t   o b j e c t s   p r o v i d e   a   m e c h a n i s m   t o   o b t a i n   x 5 0 9   c e r t i f i c a t e s   b y   s u b m i t t i n g   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t ,   a n d   h a v i n g   i t   a s y n c h r o n o u s l y   a p p r o v e d   a n d   i s s u e d .   K u b e l e t s   u s e   t h i s   A P I   t o   o b t a i n :   c l i e n t   c e r t i f i c a t e s   t o   a u t h e n t i c a t e   t o   k u b e - a p i s e r v e r   ( w i t h   t h e   \" k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t - k u b e l e t \"   s i g n e r N a m e ) . s e r v i n g   c e r t i f i c a t e s   f o r   T L S   e n d p o i n t s   k u b e - a p i s e r v e r   c a n   c o n n e c t   t o   s e c u r e l y   ( w i t h   t h e   \" k u b e r n e t e s . i o / k u b e l e t - s e r v i n g \"   s i g n e r N a m e ) .   T h i s   A P I   c a n   b e   u s e d   t o   r e q u e s t   c l i e n t   c e r t i f i c a t e s   t o   a u t h e n t i c a t e   t o   k u b e - a p i s e r v e r   ( w i t h   t h e   \" k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t \"   s i g n e r N a m e ) ,   o r   t o   o b t a i n   c e r t i f i c a t e s   f r o m   c u s t o m   n o n - K u b e r n e t e s   s i g n e r s .   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 k i n d :   C e r t i f i c a t e S i g n i n g R e q u e s t m e t a d a t a   ( O b j e c t M e t a ) s p e c   ( C e r t i f i c a t e S i g n i n g R e q u e s t S p e c ) ,   r e q u i r e d s p e c   c o n t a i n s   t h e   c e r t i f i c a t e   r e q u e s t ,   a n d   i s   i m m u t a b l e   a f t e r   c r e a t i o n .   O n l y   t h e   r e q u e s t ,   s i g n e r N a m e ,   e x p i r a t i o n S e c o n d s ,   a n d   u s a g e s   f i e l d s   c a n   b e   s e t   o n   c r e a t i o n .   O t h e r   f i e l d s   a r e   d e r i v e d   b y   K u b ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_2_6212"
  },
  {
    "question": "What is CertificateSigningRequestSpec?",
    "answer": "C e r t i f i c a t e S i g n i n g R e q u e s t S p e c   c o n t a i n s   t h e   c e r t i f i c a t e   r e q u e s t .   r e q u e s t   ( [ ] b y t e ) ,   r e q u i r e d A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e r e q u e s t   c o n t a i n s   a n   x 5 0 9   c e r t i f i c a t e   s i g n i n g   r e q u e s t   e n c o d e d   i n   a   \" C E R T I F I C A T E   R E Q U E S T \"   P E M   b l o c k .   W h e n   s e r i a l i z e d   a s   J S O N   o r   Y A M L ,   t h e   d a t a   i s   a d d i t i o n a l l y   b a s e 6 4 - e n c o d e d . s i g n e r N a m e   ( s t r i n g ) ,   r e q u i r e d s i g n e r N a m e   i n d i c a t e s   t h e   r e q u e s t e d   s i g n e r ,   a n d   i s   a   q u a l i f i e d   n a m e . L i s t / w a t c h   r e q u e s t s   f o r   C e r t i f i c a t e S i g n i n g R e q u e s t s   c a n   f i l t e r   o n   t h i s   f i e l d   u s i n g   a   \" s p e c . s i g n e r N a m e = N A M E \"   f i e l d S e l e c t o r . W e l l - k n o w n   K u b e r n e t e s   s i g n e r s   a r e : \" k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t \" :   i s s u e s   c l i e n t   c e r t i f i c a t e s   t h a t   c a n   b e   u s e d   t o   a u t h e n t i c a t e   t o   k u b e - a p i s e r v e r .   R e q u e s t s   f o r   t h i s   s i g n e r   a r e   n e v e r   a u t o - a p p r o v e d   b y   k u b e - c o n t r o l l e r - m a n a g e r ,   c a n   b e   i s s u e d   b y   t h e   \" c s r s i g n i n g \"   c o n t r o l l e r   i n   k u b e - c o n t r o l l e r - m a n a g e r . \" k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t - k u b e l e t \" :   i s s u e s   c l i e n t   c e r t i f i c a t e s   t h a t   k u b e l e t s   u s e   t o   a u t h e n t i c a t e   t o   k u b e - a p i s e r v e r .   R e q u e s t s   f o r   t h i s   s i g n e r   c a n   b e   a u t o - a p p r o v e d   b y   t h e   \" ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_2_6213"
  },
  {
    "question": "What is CertificateSigningRequestStatus?",
    "answer": "C e r t i f i c a t e S i g n i n g R e q u e s t S t a t u s   c o n t a i n s   c o n d i t i o n s   u s e d   t o   i n d i c a t e   a p p r o v e d / d e n i e d / f a i l e d   s t a t u s   o f   t h e   r e q u e s t ,   a n d   t h e   i s s u e d   c e r t i f i c a t e .   c e r t i f i c a t e   ( [ ] b y t e ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e c e r t i f i c a t e   i s   p o p u l a t e d   w i t h   a n   i s s u e d   c e r t i f i c a t e   b y   t h e   s i g n e r   a f t e r   a n   A p p r o v e d   c o n d i t i o n   i s   p r e s e n t .   T h i s   f i e l d   i s   s e t   v i a   t h e   / s t a t u s   s u b r e s o u r c e .   O n c e   p o p u l a t e d ,   t h i s   f i e l d   i s   i m m u t a b l e . I f   t h e   c e r t i f i c a t e   s i g n i n g   r e q u e s t   i s   d e n i e d ,   a   c o n d i t i o n   o f   t y p e   \" D e n i e d \"   i s   a d d e d   a n d   t h i s   f i e l d   r e m a i n s   e m p t y .   I f   t h e   s i g n e r   c a n n o t   i s s u e   t h e   c e r t i f i c a t e ,   a   c o n d i t i o n   o f   t y p e   \" F a i l e d \"   i s   a d d e d   a n d   t h i s   f i e l d   r e m a i n s   e m p t y . V a l i d a t i o n   r e q u i r e m e n t s : c e r t i f i c a t e   m u s t   c o n t a i n   o n e   o r   m o r e   P E M   b l o c k s . A l l   P E M   b l o c k s   m u s t   h a v e   t h e   \" C E R T I F I C A T E \"   l a b e l ,   c o n t a i n   n o   h e a d e r s ,   a n d   t h e   e n c o d e d   d a t a   m u s t   b e   a   B E R - e n c o d e d   A S N . 1   C e r t i f i c a t e   s t r u c t u r e   a s   d e s c r i b e d   i n   s e c t i o n   4   o f   R F C 5 2 8 0 . N o n - P E M   c o n t e n t   m a y   a p p e a r   b e f o r e   o r   a f t e r   t h e   \" C E R T I F I C A T E \"   P E M   b l o c k s   a n d   i s   u n v a l i d a t e d ,   t o   a l l o w   f o r   e x p l a n a t o r y   t e x t   a s   d e s c r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_2_6214"
  },
  {
    "question": "What is CertificateSigningRequestList?",
    "answer": "C e r t i f i c a t e S i g n i n g R e q u e s t L i s t   i s   a   c o l l e c t i o n   o f   C e r t i f i c a t e S i g n i n g R e q u e s t   o b j e c t s   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 k i n d :   C e r t i f i c a t e S i g n i n g R e q u e s t L i s t m e t a d a t a   ( L i s t M e t a ) i t e m s   ( [ ] C e r t i f i c a t e S i g n i n g R e q u e s t ) ,   r e q u i r e d i t e m s   i s   a   c o l l e c t i o n   o f   C e r t i f i c a t e S i g n i n g R e q u e s t   o b j e c t s   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1   k i n d :   C e r t i f i c a t e S i g n i n g R e q u e s t L i s t   m e t a d a t a   ( L i s t M e t a )   i t e m s   ( [ ] C e r t i f i c a t e S i g n i n g R e q u e s t ) ,   r e q u i r e d   i t e m s   i s   a   c o l l e c t i o n   o f   C e r t i f i c a t e S i g n i n g R e q u e s t   o b j e c t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_2_6215"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6216"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6217"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6218"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e } / a p p r o v a l",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6219"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6220"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6221"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6222"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6223"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6224"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6225"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6226"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6227"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6228"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   C e r t i f i c a t e S i g n i n g R e q u e s t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   C e r t i f i c a t e S i g n i n g R e q u e s t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6229"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   2 0 1   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   C r e a t e d   2 0 2   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6230"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6231"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t b o d y :   C e r t i f i c a t e S i g n i n g R e q u e s t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   b o d y :   C e r t i f i c a t e S i g n i n g R e q u e s t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6232"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   2 0 1   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6233"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e } / a p p r o v a l",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6234"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t b o d y :   C e r t i f i c a t e S i g n i n g R e q u e s t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   b o d y :   C e r t i f i c a t e S i g n i n g R e q u e s t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6235"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   2 0 1   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6236"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6237"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t b o d y :   C e r t i f i c a t e S i g n i n g R e q u e s t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   b o d y :   C e r t i f i c a t e S i g n i n g R e q u e s t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6238"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   2 0 1   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6239"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6240"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6241"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   2 0 1   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6242"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e } / a p p r o v a l",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6243"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6244"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   2 0 1   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6245"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6246"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6247"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   2 0 1   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6248"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6249"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6250"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6251"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6252"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6253"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1/",
    "id": "k8s_00319_section_4_6254"
  },
  {
    "question": "What is Communicate Between Containers in the Same Pod Using a Shared Volume?",
    "answer": "Communicate Between Containers in the Same Pod Using a Shared VolumeThis page shows how to use a Volume to communicate between two Containers running in the same Pod. See also how to allow processes to communicate by sharing process namespace between containers.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Creating a Pod that runs two ContainersIn this exercise, you create a Pod that runs two Containers. The two containers share a Volume that they can use to communicate. Here is the configuration file for the Pod:pods/two-container-pod.yaml apiVersion: v1 kind: Pod metadata: name: two-containers spec: restartPolicy: Never volumes: - name: shared-data emptyDir: {} containers: - name: nginx-container image: nginx volumeMounts: - name: shared-data mountPath: /usr/share/nginx/html - name: debian-container image: debian volumeMounts: - name: shared-data mountPath: /pod-data command: [\"/bin/sh\"] args: [\"-c\", \"echo Hello from the debian container > /pod-data/index.html\"] In the configuration file, you can see that the Pod has a Volume named shared-data.The first container listed in the configuration file runs an nginx server. The mount path for the shared Volume is /usr/share/nginx/html. The second container is based on the debian image, and has a mount path of /pod-data. The second container runs the following command and then terminates.echo Hello from the debian container > /pod-data/index.html Notice that the second container writes the index.html file in the root directory of the nginx server.Create the Pod and the two Containers:kubectl apply -f https://k8s.io/examples/pods/two-container-pod.yaml View information about the Pod and the Containers:kubectl get pod two-containers --output=yaml Here is a portion of the output:apiVersion: v1 kind: Pod metadata: ... name: two-containers namespace: default ... spec: ... containerStatuses: - containerID: docker://c1d8abd1 ... image: debian ... lastState: terminated: ... name: debian-container ... - containerID: docker://96c1ff2c5bb ... image: nginx ... name: nginx-container ... state: running: ... You can see that the debian Container has terminated, and the nginx Container is still running.Get a shell to nginx Container:kubectl exec -it two-containers -c nginx-container -- /bin/bash In your shell, verify that nginx is running:root@two-containers:/# apt-get update root@two-containers:/# apt-get install curl procps root@two-containers:/# ps aux The output is similar to this:USER PID ... STAT START TIME COMMAND root 1 ... Ss 21:12 0:00 nginx: master process nginx -g daemon off; R",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/communicate-containers-same-pod-shared-volume/",
    "id": "k8s_00320_qa_6255"
  },
  {
    "question": "How does Communicate Between Containers in the Same Pod Using a Shared Volume work?",
    "answer": "Communicate Between Containers in the Same Pod Using a Shared VolumeThis page shows how to use a Volume to communicate between two Containers running in the same Pod. See also how to allow processes to communicate by sharing process namespace between containers.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Creating a Pod that runs two ContainersIn this exercise, you create a Pod that runs two Containers. The two containers share a Volume that they can use to communicate. Here is the configuration file for the Pod:pods/two-container-pod.yaml apiVersion: v1 kind: Pod metadata: name: two-containers spec: restartPolicy: Never volumes: - name: shared-data emptyDir: {} containers: - name: nginx-container image: nginx volumeMounts: - name: shared-data mountPath: /usr/share/nginx/html - name: debian-container image: debian volumeMounts: - name: shared-data mountPath: /pod-data command: [\"/bin/sh\"] args: [\"-c\", \"echo Hello from the debian container > /pod-data/index.html\"] In the configuration file, you can see that the Pod has a Volume named shared-data.The first container listed in the configuration file runs an nginx server. The mount path for the shared Volume is /usr/share/nginx/html. The second container is based on the debian image, and has a mount path of /pod-data. The second container runs the following command and then terminates.echo Hello from the debian container > /pod-data/index.html Notice that the second container writes the index.html file in the root directory of the nginx server.Create the Pod and the two Containers:kubectl apply -f https://k8s.io/examples/pods/two-container-pod.yaml View information about the Pod and the Containers:kubectl get pod two-containers --output=yaml Here is a portion of the output:apiVersion: v1 kind: Pod metadata: ... name: two-containers namespace: default ... spec: ... containerStatuses: - containerID: docker://c1d8abd1 ... image: debian ... lastState: terminated: ... name: debian-container ... - containerID: docker://96c1ff2c5bb ... image: nginx ... name: nginx-container ... state: running: ... You can see that the debian Container has terminated, and the nginx Container is still running.Get a shell to nginx Container:kubectl exec -it two-containers -c nginx-container -- /bin/bash In your shell, verify that nginx is running:root@two-containers:/# apt-get update root@two-containers:/# apt-get install curl procps root@two-containers:/# ps aux The output is similar to this:USER PID ... STAT START TIME COMMAND root 1 ... Ss 21:12 0:00 nginx: master process nginx -g daemon off; R",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/communicate-containers-same-pod-shared-volume/",
    "id": "k8s_00320_qa_6256"
  },
  {
    "question": "When would you use Communicate Between Containers in the Same Pod Using a Shared Volume?",
    "answer": "Communicate Between Containers in the Same Pod Using a Shared VolumeThis page shows how to use a Volume to communicate between two Containers running in the same Pod. See also how to allow processes to communicate by sharing process namespace between containers.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Creating a Pod that runs two ContainersIn this exercise, you create a Pod that runs two Containers. The two containers share a Volume that they can use to communicate. Here is the configuration file for the Pod:pods/two-container-pod.yaml apiVersion: v1 kind: Pod metadata: name: two-containers spec: restartPolicy: Never volumes: - name: shared-data emptyDir: {} containers: - name: nginx-container image: nginx volumeMounts: - name: shared-data mountPath: /usr/share/nginx/html - name: debian-container image: debian volumeMounts: - name: shared-data mountPath: /pod-data command: [\"/bin/sh\"] args: [\"-c\", \"echo Hello from the debian container > /pod-data/index.html\"] In the configuration file, you can see that the Pod has a Volume named shared-data.The first container listed in the configuration file runs an nginx server. The mount path for the shared Volume is /usr/share/nginx/html. The second container is based on the debian image, and has a mount path of /pod-data. The second container runs the following command and then terminates.echo Hello from the debian container > /pod-data/index.html Notice that the second container writes the index.html file in the root directory of the nginx server.Create the Pod and the two Containers:kubectl apply -f https://k8s.io/examples/pods/two-container-pod.yaml View information about the Pod and the Containers:kubectl get pod two-containers --output=yaml Here is a portion of the output:apiVersion: v1 kind: Pod metadata: ... name: two-containers namespace: default ... spec: ... containerStatuses: - containerID: docker://c1d8abd1 ... image: debian ... lastState: terminated: ... name: debian-container ... - containerID: docker://96c1ff2c5bb ... image: nginx ... name: nginx-container ... state: running: ... You can see that the debian Container has terminated, and the nginx Container is still running.Get a shell to nginx Container:kubectl exec -it two-containers -c nginx-container -- /bin/bash In your shell, verify that nginx is running:root@two-containers:/# apt-get update root@two-containers:/# apt-get install curl procps root@two-containers:/# ps aux The output is similar to this:USER PID ... STAT START TIME COMMAND root 1 ... Ss 21:12 0:00 nginx: master process nginx -g daemon off; R",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/communicate-containers-same-pod-shared-volume/",
    "id": "k8s_00320_qa_6257"
  },
  {
    "question": "What are the benefits of Communicate Between Containers in the Same Pod Using a Shared Volume?",
    "answer": "Communicate Between Containers in the Same Pod Using a Shared VolumeThis page shows how to use a Volume to communicate between two Containers running in the same Pod. See also how to allow processes to communicate by sharing process namespace between containers.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Creating a Pod that runs two ContainersIn this exercise, you create a Pod that runs two Containers. The two containers share a Volume that they can use to communicate. Here is the configuration file for the Pod:pods/two-container-pod.yaml apiVersion: v1 kind: Pod metadata: name: two-containers spec: restartPolicy: Never volumes: - name: shared-data emptyDir: {} containers: - name: nginx-container image: nginx volumeMounts: - name: shared-data mountPath: /usr/share/nginx/html - name: debian-container image: debian volumeMounts: - name: shared-data mountPath: /pod-data command: [\"/bin/sh\"] args: [\"-c\", \"echo Hello from the debian container > /pod-data/index.html\"] In the configuration file, you can see that the Pod has a Volume named shared-data.The first container listed in the configuration file runs an nginx server. The mount path for the shared Volume is /usr/share/nginx/html. The second container is based on the debian image, and has a mount path of /pod-data. The second container runs the following command and then terminates.echo Hello from the debian container > /pod-data/index.html Notice that the second container writes the index.html file in the root directory of the nginx server.Create the Pod and the two Containers:kubectl apply -f https://k8s.io/examples/pods/two-container-pod.yaml View information about the Pod and the Containers:kubectl get pod two-containers --output=yaml Here is a portion of the output:apiVersion: v1 kind: Pod metadata: ... name: two-containers namespace: default ... spec: ... containerStatuses: - containerID: docker://c1d8abd1 ... image: debian ... lastState: terminated: ... name: debian-container ... - containerID: docker://96c1ff2c5bb ... image: nginx ... name: nginx-container ... state: running: ... You can see that the debian Container has terminated, and the nginx Container is still running.Get a shell to nginx Container:kubectl exec -it two-containers -c nginx-container -- /bin/bash In your shell, verify that nginx is running:root@two-containers:/# apt-get update root@two-containers:/# apt-get install curl procps root@two-containers:/# ps aux The output is similar to this:USER PID ... STAT START TIME COMMAND root 1 ... Ss 21:12 0:00 nginx: master process nginx -g daemon off; R",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/communicate-containers-same-pod-shared-volume/",
    "id": "k8s_00320_qa_6258"
  },
  {
    "question": "What is Communicate Between Containers in the Same Pod Using a Shared Volume?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   a   V o l u m e   t o   c o m m u n i c a t e   b e t w e e n   t w o   C o n t a i n e r s   r u n n i n g   i n   t h e   s a m e   P o d .   S e e   a l s o   h o w   t o   a l l o w   p r o c e s s e s   t o   c o m m u n i c a t e   b y   s h a r i n g   p r o c e s s   n a m e s p a c e   b e t w e e n   c o n t a i n e r s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/communicate-containers-same-pod-shared-volume/",
    "id": "k8s_00320_section_1_6259"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/communicate-containers-same-pod-shared-volume/",
    "id": "k8s_00320_section_2_6260"
  },
  {
    "question": "What is Creating a Pod that runs two Containers?",
    "answer": "I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   r u n s   t w o   C o n t a i n e r s .   T h e   t w o   c o n t a i n e r s   s h a r e   a   V o l u m e   t h a t   t h e y   c a n   u s e   t o   c o m m u n i c a t e .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t w o - c o n t a i n e r s   s p e c :   r e s t a r t P o l i c y :   N e v e r   v o l u m e s :   -   n a m e :   s h a r e d - d a t a   e m p t y D i r :   { }   c o n t a i n e r s :   -   n a m e :   n g i n x - c o n t a i n e r   i m a g e :   n g i n x   v o l u m e M o u n t s :   -   n a m e :   s h a r e d - d a t a   m o u n t P a t h :   / u s r / s h a r e / n g i n x / h t m l   -   n a m e :   d e b i a n - c o n t a i n e r   i m a g e :   d e b i a n   v o l u m e M o u n t s :   -   n a m e :   s h a r e d - d a t a   m o u n t P a t h :   / p o d - d a t a   c o m m a n d :   [ \" / b i n / s h \" ]   a r g s :   [ \" - c \" ,   \" e c h o   H e l l o   f r o m   t h e   d e b i a n   c o n t a i n e r   >   / p o d - d a t a / i n d e x . h t m l \" ]   I n   t h e   c o n f i g u r a t i o n   f i l e ,   y o u   c a n   s e e   t h a t   t h e   P o d   h a s   a   V o l u m e   n a m e d   s h a r e d - d a t a .   T h e   f i r s t   c o n t a i n e r   l i s t e d   i n   t h e   c o n f i g u r a t i o n   f i l e   r u n s   a n   n g i n x   s e r v e r .   T h e   m o u n t   p a t h   f o r   t h e   s h a r e d   V o l u m e   i s   / u s r / s h a r e / n g i n x / h t m l .   T h e   s e c o n d   c o n t a i n e r   i s   b a s e d   o n   t h e   d e b i a n   i m a g e ,   a n d   h a s   a   m o u n t   p a t h   o f   / p o d - d a t a .   T h e   s e c o n d   c o n t a i n e r   r u n s   t h e   f o l l o w i n g   c o m m a n d   a n d   t h e n   t e r m i n a t e s .   e c h o   H e l l o   f r o m   t h ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/communicate-containers-same-pod-shared-volume/",
    "id": "k8s_00320_section_2_6261"
  },
  {
    "question": "What is Discussion?",
    "answer": "T h e   p r i m a r y   r e a s o n   t h a t   P o d s   c a n   h a v e   m u l t i p l e   c o n t a i n e r s   i s   t o   s u p p o r t   h e l p e r   a p p l i c a t i o n s   t h a t   a s s i s t   a   p r i m a r y   a p p l i c a t i o n .   T y p i c a l   e x a m p l e s   o f   h e l p e r   a p p l i c a t i o n s   a r e   d a t a   p u l l e r s ,   d a t a   p u s h e r s ,   a n d   p r o x i e s .   H e l p e r   a n d   p r i m a r y   a p p l i c a t i o n s   o f t e n   n e e d   t o   c o m m u n i c a t e   w i t h   e a c h   o t h e r .   T y p i c a l l y   t h i s   i s   d o n e   t h r o u g h   a   s h a r e d   f i l e s y s t e m ,   a s   s h o w n   i n   t h i s   e x e r c i s e ,   o r   t h r o u g h   t h e   l o o p b a c k   n e t w o r k   i n t e r f a c e ,   l o c a l h o s t .   A n   e x a m p l e   o f   t h i s   p a t t e r n   i s   a   w e b   s e r v e r   a l o n g   w i t h   a   h e l p e r   p r o g r a m   t h a t   p o l l s   a   G i t   r e p o s i t o r y   f o r   n e w   u p d a t e s .   T h e   V o l u m e   i n   t h i s   e x e r c i s e   p r o v i d e s   a   w a y   f o r   C o n t a i n e r s   t o   c o m m u n i c a t e   d u r i n g   t h e   l i f e   o f   t h e   P o d .   I f   t h e   P o d   i s   d e l e t e d   a n d   r e c r e a t e d ,   a n y   d a t a   s t o r e d   i n   t h e   s h a r e d   V o l u m e   i s   l o s t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/communicate-containers-same-pod-shared-volume/",
    "id": "k8s_00320_section_2_6262"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   p a t t e r n s   f o r   c o m p o s i t e   c o n t a i n e r s . L e a r n   a b o u t   c o m p o s i t e   c o n t a i n e r s   f o r   m o d u l a r   a r c h i t e c t u r e . S e e   C o n f i g u r i n g   a   P o d   t o   U s e   a   V o l u m e   f o r   S t o r a g e . S e e   C o n f i g u r e   a   P o d   t o   s h a r e   p r o c e s s   n a m e s p a c e   b e t w e e n   c o n t a i n e r s   i n   a   P o d S e e   V o l u m e . S e e   P o d .   L e a r n   m o r e   a b o u t   p a t t e r n s   f o r   c o m p o s i t e   c o n t a i n e r s .   L e a r n   a b o u t   c o m p o s i t e   c o n t a i n e r s   f o r   m o d u l a r   a r c h i t e c t u r e .   S e e   C o n f i g u r i n g   a   P o d   t o   U s e   a   V o l u m e   f o r   S t o r a g e .   S e e   C o n f i g u r e   a   P o d   t o   s h a r e   p r o c e s s   n a m e s p a c e   b e t w e e n   c o n t a i n e r s   i n   a   P o d   S e e   V o l u m e .   S e e   P o d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/communicate-containers-same-pod-shared-volume/",
    "id": "k8s_00320_section_2_6263"
  },
  {
    "question": "What is kubectl get?",
    "answer": "kubectl getSynopsisDisplay one or many resources.Prints a table of the most important information about the specified resources. You can filter the list using a label selector and the --selector flag. If the desired resource type is namespaced you will only see results in the current namespace if you don't specify any namespace.By specifying the output as 'template' and providing a Go template as the value of the --template flag, you can filter the attributes of the fetched resources.Use \"kubectl api-resources\" for a complete list of supported resources.kubectl get [(-o|--output=)json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file|custom-columns|custom-columns-file|wide] (TYPE[.VERSION][.GROUP] [NAME | -l label] | TYPE[.VERSION][.GROUP]/NAME ...) [flags] Examples # List all pods in ps output format kubectl get pods # List all pods in ps output format with more information (such as node name) kubectl get pods -o wide # List a single replication controller with specified NAME in ps output format kubectl get replicationcontroller web # List deployments in JSON output format, in the \"v1\" version of the \"apps\" API group kubectl get deployments.v1.apps -o json # List a single pod in JSON output format kubectl get -o json pod web-pod-13je7 # List a pod identified by type and name specified in \"pod.yaml\" in JSON output format kubectl get -f pod.yaml -o json # List resources from a directory with kustomization.yaml - e.g. dir/kustomization.yaml kubectl get -k dir/ # Return only the phase value of the specified pod kubectl get -o template pod/web-pod-13je7 --template={{.status.phase}} # List resource information in custom columns kubectl get pod test-pod -o custom-columns=CONTAINER:.spec.containers[0].name,IMAGE:.spec.containers[0].image # List all replication controllers and services together in ps output format kubectl get rc,services # List one or more resources by their type and names kubectl get rc/web service/frontend pods/web-pod-13je7 # List the 'status' subresource for a single pod kubectl get pod web-pod-13je7 --subresource status # List all deployments in namespace 'backend' kubectl get deployments.apps --namespace backend # List all pods existing in all namespaces kubectl get pods --all-namespaces Options-A, --all-namespacesIf present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--chunk-size int Default: 500Return large lists in chunks rather than all at once. Pass 0 to disable. This flag is beta and may change in the future.--field-selector stringSelector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_get/",
    "id": "k8s_00321_qa_6264"
  },
  {
    "question": "How does kubectl get work?",
    "answer": "kubectl getSynopsisDisplay one or many resources.Prints a table of the most important information about the specified resources. You can filter the list using a label selector and the --selector flag. If the desired resource type is namespaced you will only see results in the current namespace if you don't specify any namespace.By specifying the output as 'template' and providing a Go template as the value of the --template flag, you can filter the attributes of the fetched resources.Use \"kubectl api-resources\" for a complete list of supported resources.kubectl get [(-o|--output=)json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file|custom-columns|custom-columns-file|wide] (TYPE[.VERSION][.GROUP] [NAME | -l label] | TYPE[.VERSION][.GROUP]/NAME ...) [flags] Examples # List all pods in ps output format kubectl get pods # List all pods in ps output format with more information (such as node name) kubectl get pods -o wide # List a single replication controller with specified NAME in ps output format kubectl get replicationcontroller web # List deployments in JSON output format, in the \"v1\" version of the \"apps\" API group kubectl get deployments.v1.apps -o json # List a single pod in JSON output format kubectl get -o json pod web-pod-13je7 # List a pod identified by type and name specified in \"pod.yaml\" in JSON output format kubectl get -f pod.yaml -o json # List resources from a directory with kustomization.yaml - e.g. dir/kustomization.yaml kubectl get -k dir/ # Return only the phase value of the specified pod kubectl get -o template pod/web-pod-13je7 --template={{.status.phase}} # List resource information in custom columns kubectl get pod test-pod -o custom-columns=CONTAINER:.spec.containers[0].name,IMAGE:.spec.containers[0].image # List all replication controllers and services together in ps output format kubectl get rc,services # List one or more resources by their type and names kubectl get rc/web service/frontend pods/web-pod-13je7 # List the 'status' subresource for a single pod kubectl get pod web-pod-13je7 --subresource status # List all deployments in namespace 'backend' kubectl get deployments.apps --namespace backend # List all pods existing in all namespaces kubectl get pods --all-namespaces Options-A, --all-namespacesIf present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--chunk-size int Default: 500Return large lists in chunks rather than all at once. Pass 0 to disable. This flag is beta and may change in the future.--field-selector stringSelector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_get/",
    "id": "k8s_00321_qa_6265"
  },
  {
    "question": "When would you use kubectl get?",
    "answer": "kubectl getSynopsisDisplay one or many resources.Prints a table of the most important information about the specified resources. You can filter the list using a label selector and the --selector flag. If the desired resource type is namespaced you will only see results in the current namespace if you don't specify any namespace.By specifying the output as 'template' and providing a Go template as the value of the --template flag, you can filter the attributes of the fetched resources.Use \"kubectl api-resources\" for a complete list of supported resources.kubectl get [(-o|--output=)json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file|custom-columns|custom-columns-file|wide] (TYPE[.VERSION][.GROUP] [NAME | -l label] | TYPE[.VERSION][.GROUP]/NAME ...) [flags] Examples # List all pods in ps output format kubectl get pods # List all pods in ps output format with more information (such as node name) kubectl get pods -o wide # List a single replication controller with specified NAME in ps output format kubectl get replicationcontroller web # List deployments in JSON output format, in the \"v1\" version of the \"apps\" API group kubectl get deployments.v1.apps -o json # List a single pod in JSON output format kubectl get -o json pod web-pod-13je7 # List a pod identified by type and name specified in \"pod.yaml\" in JSON output format kubectl get -f pod.yaml -o json # List resources from a directory with kustomization.yaml - e.g. dir/kustomization.yaml kubectl get -k dir/ # Return only the phase value of the specified pod kubectl get -o template pod/web-pod-13je7 --template={{.status.phase}} # List resource information in custom columns kubectl get pod test-pod -o custom-columns=CONTAINER:.spec.containers[0].name,IMAGE:.spec.containers[0].image # List all replication controllers and services together in ps output format kubectl get rc,services # List one or more resources by their type and names kubectl get rc/web service/frontend pods/web-pod-13je7 # List the 'status' subresource for a single pod kubectl get pod web-pod-13je7 --subresource status # List all deployments in namespace 'backend' kubectl get deployments.apps --namespace backend # List all pods existing in all namespaces kubectl get pods --all-namespaces Options-A, --all-namespacesIf present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--chunk-size int Default: 500Return large lists in chunks rather than all at once. Pass 0 to disable. This flag is beta and may change in the future.--field-selector stringSelector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_get/",
    "id": "k8s_00321_qa_6266"
  },
  {
    "question": "What are the benefits of kubectl get?",
    "answer": "kubectl getSynopsisDisplay one or many resources.Prints a table of the most important information about the specified resources. You can filter the list using a label selector and the --selector flag. If the desired resource type is namespaced you will only see results in the current namespace if you don't specify any namespace.By specifying the output as 'template' and providing a Go template as the value of the --template flag, you can filter the attributes of the fetched resources.Use \"kubectl api-resources\" for a complete list of supported resources.kubectl get [(-o|--output=)json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file|custom-columns|custom-columns-file|wide] (TYPE[.VERSION][.GROUP] [NAME | -l label] | TYPE[.VERSION][.GROUP]/NAME ...) [flags] Examples # List all pods in ps output format kubectl get pods # List all pods in ps output format with more information (such as node name) kubectl get pods -o wide # List a single replication controller with specified NAME in ps output format kubectl get replicationcontroller web # List deployments in JSON output format, in the \"v1\" version of the \"apps\" API group kubectl get deployments.v1.apps -o json # List a single pod in JSON output format kubectl get -o json pod web-pod-13je7 # List a pod identified by type and name specified in \"pod.yaml\" in JSON output format kubectl get -f pod.yaml -o json # List resources from a directory with kustomization.yaml - e.g. dir/kustomization.yaml kubectl get -k dir/ # Return only the phase value of the specified pod kubectl get -o template pod/web-pod-13je7 --template={{.status.phase}} # List resource information in custom columns kubectl get pod test-pod -o custom-columns=CONTAINER:.spec.containers[0].name,IMAGE:.spec.containers[0].image # List all replication controllers and services together in ps output format kubectl get rc,services # List one or more resources by their type and names kubectl get rc/web service/frontend pods/web-pod-13je7 # List the 'status' subresource for a single pod kubectl get pod web-pod-13je7 --subresource status # List all deployments in namespace 'backend' kubectl get deployments.apps --namespace backend # List all pods existing in all namespaces kubectl get pods --all-namespaces Options-A, --all-namespacesIf present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--chunk-size int Default: 500Return large lists in chunks rather than all at once. Pass 0 to disable. This flag is beta and may change in the future.--field-selector stringSelector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_get/",
    "id": "k8s_00321_qa_6267"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   o n e   o r   m a n y   r e s o u r c e s .   P r i n t s   a   t a b l e   o f   t h e   m o s t   i m p o r t a n t   i n f o r m a t i o n   a b o u t   t h e   s p e c i f i e d   r e s o u r c e s .   Y o u   c a n   f i l t e r   t h e   l i s t   u s i n g   a   l a b e l   s e l e c t o r   a n d   t h e   - - s e l e c t o r   f l a g .   I f   t h e   d e s i r e d   r e s o u r c e   t y p e   i s   n a m e s p a c e d   y o u   w i l l   o n l y   s e e   r e s u l t s   i n   t h e   c u r r e n t   n a m e s p a c e   i f   y o u   d o n ' t   s p e c i f y   a n y   n a m e s p a c e .   B y   s p e c i f y i n g   t h e   o u t p u t   a s   ' t e m p l a t e '   a n d   p r o v i d i n g   a   G o   t e m p l a t e   a s   t h e   v a l u e   o f   t h e   - - t e m p l a t e   f l a g ,   y o u   c a n   f i l t e r   t h e   a t t r i b u t e s   o f   t h e   f e t c h e d   r e s o u r c e s .   U s e   \" k u b e c t l   a p i - r e s o u r c e s \"   f o r   a   c o m p l e t e   l i s t   o f   s u p p o r t e d   r e s o u r c e s .   k u b e c t l   g e t   [ ( - o | - - o u t p u t = ) j s o n | y a m l | n a m e | g o - t e m p l a t e | g o - t e m p l a t e - f i l e | t e m p l a t e | t e m p l a t e f i l e | j s o n p a t h | j s o n p a t h - a s - j s o n | j s o n p a t h - f i l e | c u s t o m - c o l u m n s | c u s t o m - c o l u m n s - f i l e | w i d e ]   ( T Y P E [ . V E R S I O N ] [ . G R O U P ]   [ N A M E   |   - l   l a b e l ]   |   T Y P E [ . V E R S I O N ] [ . G R O U P ] / N A M E   . . . )   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_get/",
    "id": "k8s_00321_section_2_6268"
  },
  {
    "question": "What is Examples?",
    "answer": "#   L i s t   a l l   p o d s   i n   p s   o u t p u t   f o r m a t   k u b e c t l   g e t   p o d s   #   L i s t   a l l   p o d s   i n   p s   o u t p u t   f o r m a t   w i t h   m o r e   i n f o r m a t i o n   ( s u c h   a s   n o d e   n a m e )   k u b e c t l   g e t   p o d s   - o   w i d e   #   L i s t   a   s i n g l e   r e p l i c a t i o n   c o n t r o l l e r   w i t h   s p e c i f i e d   N A M E   i n   p s   o u t p u t   f o r m a t   k u b e c t l   g e t   r e p l i c a t i o n c o n t r o l l e r   w e b   #   L i s t   d e p l o y m e n t s   i n   J S O N   o u t p u t   f o r m a t ,   i n   t h e   \" v 1 \"   v e r s i o n   o f   t h e   \" a p p s \"   A P I   g r o u p   k u b e c t l   g e t   d e p l o y m e n t s . v 1 . a p p s   - o   j s o n   #   L i s t   a   s i n g l e   p o d   i n   J S O N   o u t p u t   f o r m a t   k u b e c t l   g e t   - o   j s o n   p o d   w e b - p o d - 1 3 j e 7   #   L i s t   a   p o d   i d e n t i f i e d   b y   t y p e   a n d   n a m e   s p e c i f i e d   i n   \" p o d . y a m l \"   i n   J S O N   o u t p u t   f o r m a t   k u b e c t l   g e t   - f   p o d . y a m l   - o   j s o n   #   L i s t   r e s o u r c e s   f r o m   a   d i r e c t o r y   w i t h   k u s t o m i z a t i o n . y a m l   -   e . g .   d i r / k u s t o m i z a t i o n . y a m l   k u b e c t l   g e t   - k   d i r /   #   R e t u r n   o n l y   t h e   p h a s e   v a l u e   o f   t h e   s p e c i f i e d   p o d   k u b e c t l   g e t   - o   t e m p l a t e   p o d / w e b - p o d - 1 3 j e 7   - - t e m p l a t e = { { . s t a t u s . p h a s e } }   #   L i s t   r e s o u r c e   i n f o r m a t i o n   i n   c u s t o m   c o l u m n s   k u b e c t l   g e t   p o d   t e s t - p o d   - o   c u s t o m - c o l u m n s = C O N T A I N E R : . s p e c . c o n t a i n e r s [ 0 ] . n a m e , I M A G E : . s p e c . c o n t a i n e r s [ 0 ] . i m a g e   #   L i s t   a l l   r e p l i ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_get/",
    "id": "k8s_00321_section_2_6269"
  },
  {
    "question": "What is Options?",
    "answer": "I f   p r e s e n t ,   l i s t   t h e   r e q u e s t e d   o b j e c t ( s )   a c r o s s   a l l   n a m e s p a c e s .   N a m e s p a c e   i n   c u r r e n t   c o n t e x t   i s   i g n o r e d   e v e n   i f   s p e c i f i e d   w i t h   - - n a m e s p a c e .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   R e t u r n   l a r g e   l i s t s   i n   c h u n k s   r a t h e r   t h a n   a l l   a t   o n c e .   P a s s   0   t o   d i s a b l e .   T h i s   f l a g   i s   b e t a   a n d   m a y   c h a n g e   i n   t h e   f u t u r e .   S e l e c t o r   ( f i e l d   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   a n d   ' ! = ' . ( e . g .   - - f i e l d - s e l e c t o r   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 ) .   T h e   s e r v e r   o n l y   s u p p o r t s   a   l i m i t e d   n u m b e r   o f   f i e l d   q u e r i e s   p e r   t y p e .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   g e t   I f   s e t   t o   t r u e ,   s u p p r e s s e s   N o t F o u n d   e r r o r   f o r   s p e c i f i c   o b j e c t s   t h a t   d o   n o t   e x i s t .   U s i n g   t h i s   f l a g   w i t h   c o m m a n d s   t h a t   q u e r y   f o r   c o l l e c t i o n s   o f   r e s o u r c e s   h a s   n o   e f f e c t   w h e n   n o   r e s o u r c e s   a r e   f o u n d .   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   A c c e p t s   a   c o m m a   s e p a r a t e d   l i s t   o f   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_get/",
    "id": "k8s_00321_section_2_6270"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_get/",
    "id": "k8s_00321_section_2_6271"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_get/",
    "id": "k8s_00321_section_2_6272"
  },
  {
    "question": "What is Kubernetes Metrics (v1beta1)?",
    "answer": "Kubernetes Metrics (v1beta1)Package v1beta1 is the v1beta1 version of the metrics API.Resource TypesNodeMetricsNodeMetricsListPodMetricsPodMetricsListNodeMetricsAppears in:NodeMetricsListNodeMetrics sets resource usage metrics of a node.FieldDescriptionapiVersionstringmetrics.k8s.io/v1beta1kindstringNodeMetricsmetadatameta/v1.ObjectMetaStandard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataRefer to the Kubernetes API documentation for the fields of the metadata field.timestamp [Required]meta/v1.TimeThe following fields define time interval from which metrics were collected from the interval [Timestamp-Window, Timestamp].window [Required]meta/v1.DurationNo description provided.usage [Required]core/v1.ResourceListThe memory usage is the memory working set.NodeMetricsListNodeMetricsList is a list of NodeMetrics.FieldDescriptionapiVersionstringmetrics.k8s.io/v1beta1kindstringNodeMetricsListmetadata [Required]meta/v1.ListMetaStandard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems [Required][]NodeMetricsList of node metrics.PodMetricsAppears in:PodMetricsListPodMetrics sets resource usage metrics of a pod.FieldDescriptionapiVersionstringmetrics.k8s.io/v1beta1kindstringPodMetricsmetadatameta/v1.ObjectMetaStandard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataRefer to the Kubernetes API documentation for the fields of the metadata field.timestamp [Required]meta/v1.TimeThe following fields define time interval from which metrics were collected from the interval [Timestamp-Window, Timestamp].window [Required]meta/v1.DurationNo description provided.containers [Required][]ContainerMetricsMetrics for all containers are collected within the same time window.PodMetricsListPodMetricsList is a list of PodMetrics.FieldDescriptionapiVersionstringmetrics.k8s.io/v1beta1kindstringPodMetricsListmetadata [Required]meta/v1.ListMetaStandard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems [Required][]PodMetricsList of pod metrics.ContainerMetricsAppears in:PodMetricsContainerMetrics sets resource usage metrics of a container.FieldDescriptionname [Required]stringContainer name corresponding to the one from pod.spec.containers.usage [Required]core/v1.ResourceListThe memory usage is the memory working set.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/metrics.v1beta1/",
    "id": "k8s_00322_qa_6273"
  },
  {
    "question": "How does Kubernetes Metrics (v1beta1) work?",
    "answer": "Kubernetes Metrics (v1beta1)Package v1beta1 is the v1beta1 version of the metrics API.Resource TypesNodeMetricsNodeMetricsListPodMetricsPodMetricsListNodeMetricsAppears in:NodeMetricsListNodeMetrics sets resource usage metrics of a node.FieldDescriptionapiVersionstringmetrics.k8s.io/v1beta1kindstringNodeMetricsmetadatameta/v1.ObjectMetaStandard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataRefer to the Kubernetes API documentation for the fields of the metadata field.timestamp [Required]meta/v1.TimeThe following fields define time interval from which metrics were collected from the interval [Timestamp-Window, Timestamp].window [Required]meta/v1.DurationNo description provided.usage [Required]core/v1.ResourceListThe memory usage is the memory working set.NodeMetricsListNodeMetricsList is a list of NodeMetrics.FieldDescriptionapiVersionstringmetrics.k8s.io/v1beta1kindstringNodeMetricsListmetadata [Required]meta/v1.ListMetaStandard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems [Required][]NodeMetricsList of node metrics.PodMetricsAppears in:PodMetricsListPodMetrics sets resource usage metrics of a pod.FieldDescriptionapiVersionstringmetrics.k8s.io/v1beta1kindstringPodMetricsmetadatameta/v1.ObjectMetaStandard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataRefer to the Kubernetes API documentation for the fields of the metadata field.timestamp [Required]meta/v1.TimeThe following fields define time interval from which metrics were collected from the interval [Timestamp-Window, Timestamp].window [Required]meta/v1.DurationNo description provided.containers [Required][]ContainerMetricsMetrics for all containers are collected within the same time window.PodMetricsListPodMetricsList is a list of PodMetrics.FieldDescriptionapiVersionstringmetrics.k8s.io/v1beta1kindstringPodMetricsListmetadata [Required]meta/v1.ListMetaStandard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems [Required][]PodMetricsList of pod metrics.ContainerMetricsAppears in:PodMetricsContainerMetrics sets resource usage metrics of a container.FieldDescriptionname [Required]stringContainer name corresponding to the one from pod.spec.containers.usage [Required]core/v1.ResourceListThe memory usage is the memory working set.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/metrics.v1beta1/",
    "id": "k8s_00322_qa_6274"
  },
  {
    "question": "When would you use Kubernetes Metrics (v1beta1)?",
    "answer": "Kubernetes Metrics (v1beta1)Package v1beta1 is the v1beta1 version of the metrics API.Resource TypesNodeMetricsNodeMetricsListPodMetricsPodMetricsListNodeMetricsAppears in:NodeMetricsListNodeMetrics sets resource usage metrics of a node.FieldDescriptionapiVersionstringmetrics.k8s.io/v1beta1kindstringNodeMetricsmetadatameta/v1.ObjectMetaStandard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataRefer to the Kubernetes API documentation for the fields of the metadata field.timestamp [Required]meta/v1.TimeThe following fields define time interval from which metrics were collected from the interval [Timestamp-Window, Timestamp].window [Required]meta/v1.DurationNo description provided.usage [Required]core/v1.ResourceListThe memory usage is the memory working set.NodeMetricsListNodeMetricsList is a list of NodeMetrics.FieldDescriptionapiVersionstringmetrics.k8s.io/v1beta1kindstringNodeMetricsListmetadata [Required]meta/v1.ListMetaStandard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems [Required][]NodeMetricsList of node metrics.PodMetricsAppears in:PodMetricsListPodMetrics sets resource usage metrics of a pod.FieldDescriptionapiVersionstringmetrics.k8s.io/v1beta1kindstringPodMetricsmetadatameta/v1.ObjectMetaStandard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataRefer to the Kubernetes API documentation for the fields of the metadata field.timestamp [Required]meta/v1.TimeThe following fields define time interval from which metrics were collected from the interval [Timestamp-Window, Timestamp].window [Required]meta/v1.DurationNo description provided.containers [Required][]ContainerMetricsMetrics for all containers are collected within the same time window.PodMetricsListPodMetricsList is a list of PodMetrics.FieldDescriptionapiVersionstringmetrics.k8s.io/v1beta1kindstringPodMetricsListmetadata [Required]meta/v1.ListMetaStandard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems [Required][]PodMetricsList of pod metrics.ContainerMetricsAppears in:PodMetricsContainerMetrics sets resource usage metrics of a container.FieldDescriptionname [Required]stringContainer name corresponding to the one from pod.spec.containers.usage [Required]core/v1.ResourceListThe memory usage is the memory working set.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/metrics.v1beta1/",
    "id": "k8s_00322_qa_6275"
  },
  {
    "question": "What are the benefits of Kubernetes Metrics (v1beta1)?",
    "answer": "Kubernetes Metrics (v1beta1)Package v1beta1 is the v1beta1 version of the metrics API.Resource TypesNodeMetricsNodeMetricsListPodMetricsPodMetricsListNodeMetricsAppears in:NodeMetricsListNodeMetrics sets resource usage metrics of a node.FieldDescriptionapiVersionstringmetrics.k8s.io/v1beta1kindstringNodeMetricsmetadatameta/v1.ObjectMetaStandard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataRefer to the Kubernetes API documentation for the fields of the metadata field.timestamp [Required]meta/v1.TimeThe following fields define time interval from which metrics were collected from the interval [Timestamp-Window, Timestamp].window [Required]meta/v1.DurationNo description provided.usage [Required]core/v1.ResourceListThe memory usage is the memory working set.NodeMetricsListNodeMetricsList is a list of NodeMetrics.FieldDescriptionapiVersionstringmetrics.k8s.io/v1beta1kindstringNodeMetricsListmetadata [Required]meta/v1.ListMetaStandard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems [Required][]NodeMetricsList of node metrics.PodMetricsAppears in:PodMetricsListPodMetrics sets resource usage metrics of a pod.FieldDescriptionapiVersionstringmetrics.k8s.io/v1beta1kindstringPodMetricsmetadatameta/v1.ObjectMetaStandard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataRefer to the Kubernetes API documentation for the fields of the metadata field.timestamp [Required]meta/v1.TimeThe following fields define time interval from which metrics were collected from the interval [Timestamp-Window, Timestamp].window [Required]meta/v1.DurationNo description provided.containers [Required][]ContainerMetricsMetrics for all containers are collected within the same time window.PodMetricsListPodMetricsList is a list of PodMetrics.FieldDescriptionapiVersionstringmetrics.k8s.io/v1beta1kindstringPodMetricsListmetadata [Required]meta/v1.ListMetaStandard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems [Required][]PodMetricsList of pod metrics.ContainerMetricsAppears in:PodMetricsContainerMetrics sets resource usage metrics of a container.FieldDescriptionname [Required]stringContainer name corresponding to the one from pod.spec.containers.usage [Required]core/v1.ResourceListThe memory usage is the memory working set.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/metrics.v1beta1/",
    "id": "k8s_00322_qa_6276"
  },
  {
    "question": "What is Kubernetes Metrics (v1beta1)?",
    "answer": "P a c k a g e   v 1 b e t a 1   i s   t h e   v 1 b e t a 1   v e r s i o n   o f   t h e   m e t r i c s   A P I .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/metrics.v1beta1/",
    "id": "k8s_00322_section_1_6277"
  },
  {
    "question": "What is Resource Types?",
    "answer": "N o d e M e t r i c s N o d e M e t r i c s L i s t P o d M e t r i c s P o d M e t r i c s L i s t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/metrics.v1beta1/",
    "id": "k8s_00322_section_2_6278"
  },
  {
    "question": "What is NodeMetrics?",
    "answer": "A p p e a r s   i n :   N o d e M e t r i c s L i s t   N o d e M e t r i c s   s e t s   r e s o u r c e   u s a g e   m e t r i c s   o f   a   n o d e .   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   T h e   f o l l o w i n g   f i e l d s   d e f i n e   t i m e   i n t e r v a l   f r o m   w h i c h   m e t r i c s   w e r e   c o l l e c t e d   f r o m   t h e   i n t e r v a l   [ T i m e s t a m p - W i n d o w ,   T i m e s t a m p ] .   T h e   m e m o r y   u s a g e   i s   t h e   m e m o r y   w o r k i n g   s e t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/metrics.v1beta1/",
    "id": "k8s_00322_section_2_6279"
  },
  {
    "question": "What is NodeMetricsList?",
    "answer": "N o d e M e t r i c s L i s t   i s   a   l i s t   o f   N o d e M e t r i c s .   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   L i s t   o f   n o d e   m e t r i c s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/metrics.v1beta1/",
    "id": "k8s_00322_section_2_6280"
  },
  {
    "question": "What is PodMetrics?",
    "answer": "A p p e a r s   i n :   P o d M e t r i c s L i s t   P o d M e t r i c s   s e t s   r e s o u r c e   u s a g e   m e t r i c s   o f   a   p o d .   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   T h e   f o l l o w i n g   f i e l d s   d e f i n e   t i m e   i n t e r v a l   f r o m   w h i c h   m e t r i c s   w e r e   c o l l e c t e d   f r o m   t h e   i n t e r v a l   [ T i m e s t a m p - W i n d o w ,   T i m e s t a m p ] .   M e t r i c s   f o r   a l l   c o n t a i n e r s   a r e   c o l l e c t e d   w i t h i n   t h e   s a m e   t i m e   w i n d o w .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/metrics.v1beta1/",
    "id": "k8s_00322_section_2_6281"
  },
  {
    "question": "What is PodMetricsList?",
    "answer": "P o d M e t r i c s L i s t   i s   a   l i s t   o f   P o d M e t r i c s .   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   L i s t   o f   p o d   m e t r i c s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/metrics.v1beta1/",
    "id": "k8s_00322_section_2_6282"
  },
  {
    "question": "What is ContainerMetrics?",
    "answer": "A p p e a r s   i n :   P o d M e t r i c s   C o n t a i n e r M e t r i c s   s e t s   r e s o u r c e   u s a g e   m e t r i c s   o f   a   c o n t a i n e r .   C o n t a i n e r   n a m e   c o r r e s p o n d i n g   t o   t h e   o n e   f r o m   p o d . s p e c . c o n t a i n e r s .   T h e   m e m o r y   u s a g e   i s   t h e   m e m o r y   w o r k i n g   s e t .   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/metrics.v1beta1/",
    "id": "k8s_00322_section_2_6283"
  },
  {
    "question": "What is kubectl set image?",
    "answer": "kubectl set imageSynopsisUpdate existing container image(s) of resources.Possible resources include (case insensitive): pod (po), replicationcontroller (rc), deployment (deploy), daemonset (ds), statefulset (sts), cronjob (cj), replicaset (rs) kubectl set image (-f FILENAME | TYPE NAME) CONTAINER_NAME_1=CONTAINER_IMAGE_1 ... CONTAINER_NAME_N=CONTAINER_IMAGE_N Examples # Set a deployment's nginx container image to 'nginx:1.9.1', and its busybox container image to 'busybox' kubectl set image deployment/nginx busybox=busybox nginx=nginx:1.9.1 # Update all deployments' and rc's nginx container's image to 'nginx:1.9.1' kubectl set image deployments,rc nginx=nginx:1.9.1 --all # Update image of all containers of daemonset abc to 'nginx:1.9.1' kubectl set image daemonset abc *=nginx:1.9.1 # Print result (in yaml format) of updating nginx container image from local file, without hitting the server kubectl set image -f path/to/file.yaml nginx=nginx:1.9.1 --local -o yaml Options--allSelect all resources, in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-set\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for image-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--localIf true, set image will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to im",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_image/",
    "id": "k8s_00323_qa_6284"
  },
  {
    "question": "How does kubectl set image work?",
    "answer": "kubectl set imageSynopsisUpdate existing container image(s) of resources.Possible resources include (case insensitive): pod (po), replicationcontroller (rc), deployment (deploy), daemonset (ds), statefulset (sts), cronjob (cj), replicaset (rs) kubectl set image (-f FILENAME | TYPE NAME) CONTAINER_NAME_1=CONTAINER_IMAGE_1 ... CONTAINER_NAME_N=CONTAINER_IMAGE_N Examples # Set a deployment's nginx container image to 'nginx:1.9.1', and its busybox container image to 'busybox' kubectl set image deployment/nginx busybox=busybox nginx=nginx:1.9.1 # Update all deployments' and rc's nginx container's image to 'nginx:1.9.1' kubectl set image deployments,rc nginx=nginx:1.9.1 --all # Update image of all containers of daemonset abc to 'nginx:1.9.1' kubectl set image daemonset abc *=nginx:1.9.1 # Print result (in yaml format) of updating nginx container image from local file, without hitting the server kubectl set image -f path/to/file.yaml nginx=nginx:1.9.1 --local -o yaml Options--allSelect all resources, in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-set\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for image-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--localIf true, set image will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to im",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_image/",
    "id": "k8s_00323_qa_6285"
  },
  {
    "question": "When would you use kubectl set image?",
    "answer": "kubectl set imageSynopsisUpdate existing container image(s) of resources.Possible resources include (case insensitive): pod (po), replicationcontroller (rc), deployment (deploy), daemonset (ds), statefulset (sts), cronjob (cj), replicaset (rs) kubectl set image (-f FILENAME | TYPE NAME) CONTAINER_NAME_1=CONTAINER_IMAGE_1 ... CONTAINER_NAME_N=CONTAINER_IMAGE_N Examples # Set a deployment's nginx container image to 'nginx:1.9.1', and its busybox container image to 'busybox' kubectl set image deployment/nginx busybox=busybox nginx=nginx:1.9.1 # Update all deployments' and rc's nginx container's image to 'nginx:1.9.1' kubectl set image deployments,rc nginx=nginx:1.9.1 --all # Update image of all containers of daemonset abc to 'nginx:1.9.1' kubectl set image daemonset abc *=nginx:1.9.1 # Print result (in yaml format) of updating nginx container image from local file, without hitting the server kubectl set image -f path/to/file.yaml nginx=nginx:1.9.1 --local -o yaml Options--allSelect all resources, in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-set\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for image-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--localIf true, set image will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to im",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_image/",
    "id": "k8s_00323_qa_6286"
  },
  {
    "question": "What are the benefits of kubectl set image?",
    "answer": "kubectl set imageSynopsisUpdate existing container image(s) of resources.Possible resources include (case insensitive): pod (po), replicationcontroller (rc), deployment (deploy), daemonset (ds), statefulset (sts), cronjob (cj), replicaset (rs) kubectl set image (-f FILENAME | TYPE NAME) CONTAINER_NAME_1=CONTAINER_IMAGE_1 ... CONTAINER_NAME_N=CONTAINER_IMAGE_N Examples # Set a deployment's nginx container image to 'nginx:1.9.1', and its busybox container image to 'busybox' kubectl set image deployment/nginx busybox=busybox nginx=nginx:1.9.1 # Update all deployments' and rc's nginx container's image to 'nginx:1.9.1' kubectl set image deployments,rc nginx=nginx:1.9.1 --all # Update image of all containers of daemonset abc to 'nginx:1.9.1' kubectl set image daemonset abc *=nginx:1.9.1 # Print result (in yaml format) of updating nginx container image from local file, without hitting the server kubectl set image -f path/to/file.yaml nginx=nginx:1.9.1 --local -o yaml Options--allSelect all resources, in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-set\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for image-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--localIf true, set image will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to im",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_image/",
    "id": "k8s_00323_qa_6287"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e   e x i s t i n g   c o n t a i n e r   i m a g e ( s )   o f   r e s o u r c e s .   P o s s i b l e   r e s o u r c e s   i n c l u d e   ( c a s e   i n s e n s i t i v e ) :   p o d   ( p o ) ,   r e p l i c a t i o n c o n t r o l l e r   ( r c ) ,   d e p l o y m e n t   ( d e p l o y ) ,   d a e m o n s e t   ( d s ) ,   s t a t e f u l s e t   ( s t s ) ,   c r o n j o b   ( c j ) ,   r e p l i c a s e t   ( r s )   k u b e c t l   s e t   i m a g e   ( - f   F I L E N A M E   |   T Y P E   N A M E )   C O N T A I N E R _ N A M E _ 1 = C O N T A I N E R _ I M A G E _ 1   . . .   C O N T A I N E R _ N A M E _ N = C O N T A I N E R _ I M A G E _ N",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_image/",
    "id": "k8s_00323_section_2_6288"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   a   d e p l o y m e n t ' s   n g i n x   c o n t a i n e r   i m a g e   t o   ' n g i n x : 1 . 9 . 1 ' ,   a n d   i t s   b u s y b o x   c o n t a i n e r   i m a g e   t o   ' b u s y b o x '   k u b e c t l   s e t   i m a g e   d e p l o y m e n t / n g i n x   b u s y b o x = b u s y b o x   n g i n x = n g i n x : 1 . 9 . 1   #   U p d a t e   a l l   d e p l o y m e n t s '   a n d   r c ' s   n g i n x   c o n t a i n e r ' s   i m a g e   t o   ' n g i n x : 1 . 9 . 1 '   k u b e c t l   s e t   i m a g e   d e p l o y m e n t s , r c   n g i n x = n g i n x : 1 . 9 . 1   - - a l l   #   U p d a t e   i m a g e   o f   a l l   c o n t a i n e r s   o f   d a e m o n s e t   a b c   t o   ' n g i n x : 1 . 9 . 1 '   k u b e c t l   s e t   i m a g e   d a e m o n s e t   a b c   * = n g i n x : 1 . 9 . 1   #   P r i n t   r e s u l t   ( i n   y a m l   f o r m a t )   o f   u p d a t i n g   n g i n x   c o n t a i n e r   i m a g e   f r o m   l o c a l   f i l e ,   w i t h o u t   h i t t i n g   t h e   s e r v e r   k u b e c t l   s e t   i m a g e   - f   p a t h / t o / f i l e . y a m l   n g i n x = n g i n x : 1 . 9 . 1   - - l o c a l   - o   y a m l",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_image/",
    "id": "k8s_00323_section_2_6289"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s ,   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   i m a g e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   I f   t r u e ,   s e t   i m a g e   w i l l   N O T   c o n t a c t   a p i - s e r v e r   b u t   r u n   l o c a l l y .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_image/",
    "id": "k8s_00323_section_2_6290"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_image/",
    "id": "k8s_00323_section_2_6291"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   s e t   -   S e t   s p e c i f i c   f e a t u r e s   o n   o b j e c t s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_image/",
    "id": "k8s_00323_section_2_6292"
  },
  {
    "question": "What is kubectl Usage Conventions?",
    "answer": "kubectl Usage ConventionsRecommended usage conventions for kubectl.Using kubectl in Reusable ScriptsFor a stable output in a script:Request one of the machine-oriented output forms, such as -o name, -o json, -o yaml, -o go-template, or -o jsonpath.Fully-qualify the version. For example, jobs.v1.batch/myjob. This will ensure that kubectl does not use its default version that can change over time.Don't rely on context, preferences, or other implicit states.SubresourcesYou can use the --subresource argument for kubectl subcommands such as get, patch, edit, apply and replace to fetch and update subresources for all resources that support them. In Kubernetes version 1.34, only the status, scale and resize subresources are supported.For kubectl edit, the scale subresource is not supported. If you use --subresource with kubectl edit and specify scale as the subresource, the command will error out.The API contract against a subresource is identical to a full resource. While updating the status subresource to a new value, keep in mind that the subresource could be potentially reconciled by a controller to a different value.Best Practiceskubectl runFor kubectl run to satisfy infrastructure as code:Tag the image with a version-specific tag and don't move that tag to a new version. For example, use :v1234, v1.2.3, r03062016-1-4, rather than :latest (For more information, see Best Practices for Configuration).Check in the script for an image that is heavily parameterized.Switch to configuration files checked into source control for features that are needed, but not expressible via kubectl run flags.You can use the --dry-run=client flag to preview the object that would be sent to your cluster, without really submitting it.kubectl applyYou can use kubectl apply to create or update resources. For more information about using kubectl apply to update resources, see Kubectl Book.",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/conventions/",
    "id": "k8s_00324_qa_6293"
  },
  {
    "question": "How does kubectl Usage Conventions work?",
    "answer": "kubectl Usage ConventionsRecommended usage conventions for kubectl.Using kubectl in Reusable ScriptsFor a stable output in a script:Request one of the machine-oriented output forms, such as -o name, -o json, -o yaml, -o go-template, or -o jsonpath.Fully-qualify the version. For example, jobs.v1.batch/myjob. This will ensure that kubectl does not use its default version that can change over time.Don't rely on context, preferences, or other implicit states.SubresourcesYou can use the --subresource argument for kubectl subcommands such as get, patch, edit, apply and replace to fetch and update subresources for all resources that support them. In Kubernetes version 1.34, only the status, scale and resize subresources are supported.For kubectl edit, the scale subresource is not supported. If you use --subresource with kubectl edit and specify scale as the subresource, the command will error out.The API contract against a subresource is identical to a full resource. While updating the status subresource to a new value, keep in mind that the subresource could be potentially reconciled by a controller to a different value.Best Practiceskubectl runFor kubectl run to satisfy infrastructure as code:Tag the image with a version-specific tag and don't move that tag to a new version. For example, use :v1234, v1.2.3, r03062016-1-4, rather than :latest (For more information, see Best Practices for Configuration).Check in the script for an image that is heavily parameterized.Switch to configuration files checked into source control for features that are needed, but not expressible via kubectl run flags.You can use the --dry-run=client flag to preview the object that would be sent to your cluster, without really submitting it.kubectl applyYou can use kubectl apply to create or update resources. For more information about using kubectl apply to update resources, see Kubectl Book.",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/conventions/",
    "id": "k8s_00324_qa_6294"
  },
  {
    "question": "When would you use kubectl Usage Conventions?",
    "answer": "kubectl Usage ConventionsRecommended usage conventions for kubectl.Using kubectl in Reusable ScriptsFor a stable output in a script:Request one of the machine-oriented output forms, such as -o name, -o json, -o yaml, -o go-template, or -o jsonpath.Fully-qualify the version. For example, jobs.v1.batch/myjob. This will ensure that kubectl does not use its default version that can change over time.Don't rely on context, preferences, or other implicit states.SubresourcesYou can use the --subresource argument for kubectl subcommands such as get, patch, edit, apply and replace to fetch and update subresources for all resources that support them. In Kubernetes version 1.34, only the status, scale and resize subresources are supported.For kubectl edit, the scale subresource is not supported. If you use --subresource with kubectl edit and specify scale as the subresource, the command will error out.The API contract against a subresource is identical to a full resource. While updating the status subresource to a new value, keep in mind that the subresource could be potentially reconciled by a controller to a different value.Best Practiceskubectl runFor kubectl run to satisfy infrastructure as code:Tag the image with a version-specific tag and don't move that tag to a new version. For example, use :v1234, v1.2.3, r03062016-1-4, rather than :latest (For more information, see Best Practices for Configuration).Check in the script for an image that is heavily parameterized.Switch to configuration files checked into source control for features that are needed, but not expressible via kubectl run flags.You can use the --dry-run=client flag to preview the object that would be sent to your cluster, without really submitting it.kubectl applyYou can use kubectl apply to create or update resources. For more information about using kubectl apply to update resources, see Kubectl Book.",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/conventions/",
    "id": "k8s_00324_qa_6295"
  },
  {
    "question": "What are the benefits of kubectl Usage Conventions?",
    "answer": "kubectl Usage ConventionsRecommended usage conventions for kubectl.Using kubectl in Reusable ScriptsFor a stable output in a script:Request one of the machine-oriented output forms, such as -o name, -o json, -o yaml, -o go-template, or -o jsonpath.Fully-qualify the version. For example, jobs.v1.batch/myjob. This will ensure that kubectl does not use its default version that can change over time.Don't rely on context, preferences, or other implicit states.SubresourcesYou can use the --subresource argument for kubectl subcommands such as get, patch, edit, apply and replace to fetch and update subresources for all resources that support them. In Kubernetes version 1.34, only the status, scale and resize subresources are supported.For kubectl edit, the scale subresource is not supported. If you use --subresource with kubectl edit and specify scale as the subresource, the command will error out.The API contract against a subresource is identical to a full resource. While updating the status subresource to a new value, keep in mind that the subresource could be potentially reconciled by a controller to a different value.Best Practiceskubectl runFor kubectl run to satisfy infrastructure as code:Tag the image with a version-specific tag and don't move that tag to a new version. For example, use :v1234, v1.2.3, r03062016-1-4, rather than :latest (For more information, see Best Practices for Configuration).Check in the script for an image that is heavily parameterized.Switch to configuration files checked into source control for features that are needed, but not expressible via kubectl run flags.You can use the --dry-run=client flag to preview the object that would be sent to your cluster, without really submitting it.kubectl applyYou can use kubectl apply to create or update resources. For more information about using kubectl apply to update resources, see Kubectl Book.",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/conventions/",
    "id": "k8s_00324_qa_6296"
  },
  {
    "question": "What is kubectl Usage Conventions?",
    "answer": "R e c o m m e n d e d   u s a g e   c o n v e n t i o n s   f o r   k u b e c t l .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/conventions/",
    "id": "k8s_00324_section_1_6297"
  },
  {
    "question": "What is Using kubectl in Reusable Scripts?",
    "answer": "F o r   a   s t a b l e   o u t p u t   i n   a   s c r i p t :   R e q u e s t   o n e   o f   t h e   m a c h i n e - o r i e n t e d   o u t p u t   f o r m s ,   s u c h   a s   - o   n a m e ,   - o   j s o n ,   - o   y a m l ,   - o   g o - t e m p l a t e ,   o r   - o   j s o n p a t h . F u l l y - q u a l i f y   t h e   v e r s i o n .   F o r   e x a m p l e ,   j o b s . v 1 . b a t c h / m y j o b .   T h i s   w i l l   e n s u r e   t h a t   k u b e c t l   d o e s   n o t   u s e   i t s   d e f a u l t   v e r s i o n   t h a t   c a n   c h a n g e   o v e r   t i m e . D o n ' t   r e l y   o n   c o n t e x t ,   p r e f e r e n c e s ,   o r   o t h e r   i m p l i c i t   s t a t e s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/conventions/",
    "id": "k8s_00324_section_2_6298"
  },
  {
    "question": "What is Subresources?",
    "answer": "Y o u   c a n   u s e   t h e   - - s u b r e s o u r c e   a r g u m e n t   f o r   k u b e c t l   s u b c o m m a n d s   s u c h   a s   g e t ,   p a t c h ,   e d i t ,   a p p l y   a n d   r e p l a c e   t o   f e t c h   a n d   u p d a t e   s u b r e s o u r c e s   f o r   a l l   r e s o u r c e s   t h a t   s u p p o r t   t h e m .   I n   K u b e r n e t e s   v e r s i o n   1 . 3 4 ,   o n l y   t h e   s t a t u s ,   s c a l e   a n d   r e s i z e   s u b r e s o u r c e s   a r e   s u p p o r t e d . F o r   k u b e c t l   e d i t ,   t h e   s c a l e   s u b r e s o u r c e   i s   n o t   s u p p o r t e d .   I f   y o u   u s e   - - s u b r e s o u r c e   w i t h   k u b e c t l   e d i t   a n d   s p e c i f y   s c a l e   a s   t h e   s u b r e s o u r c e ,   t h e   c o m m a n d   w i l l   e r r o r   o u t . T h e   A P I   c o n t r a c t   a g a i n s t   a   s u b r e s o u r c e   i s   i d e n t i c a l   t o   a   f u l l   r e s o u r c e .   W h i l e   u p d a t i n g   t h e   s t a t u s   s u b r e s o u r c e   t o   a   n e w   v a l u e ,   k e e p   i n   m i n d   t h a t   t h e   s u b r e s o u r c e   c o u l d   b e   p o t e n t i a l l y   r e c o n c i l e d   b y   a   c o n t r o l l e r   t o   a   d i f f e r e n t   v a l u e .   F o r   k u b e c t l   e d i t ,   t h e   s c a l e   s u b r e s o u r c e   i s   n o t   s u p p o r t e d .   I f   y o u   u s e   - - s u b r e s o u r c e   w i t h   k u b e c t l   e d i t   a n d   s p e c i f y   s c a l e   a s   t h e   s u b r e s o u r c e ,   t h e   c o m m a n d   w i l l   e r r o r   o u t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/conventions/",
    "id": "k8s_00324_section_2_6299"
  },
  {
    "question": "What is kubectl run?",
    "answer": "F o r   k u b e c t l   r u n   t o   s a t i s f y   i n f r a s t r u c t u r e   a s   c o d e :   T a g   t h e   i m a g e   w i t h   a   v e r s i o n - s p e c i f i c   t a g   a n d   d o n ' t   m o v e   t h a t   t a g   t o   a   n e w   v e r s i o n .   F o r   e x a m p l e ,   u s e   : v 1 2 3 4 ,   v 1 . 2 . 3 ,   r 0 3 0 6 2 0 1 6 - 1 - 4 ,   r a t h e r   t h a n   : l a t e s t   ( F o r   m o r e   i n f o r m a t i o n ,   s e e   B e s t   P r a c t i c e s   f o r   C o n f i g u r a t i o n ) . C h e c k   i n   t h e   s c r i p t   f o r   a n   i m a g e   t h a t   i s   h e a v i l y   p a r a m e t e r i z e d . S w i t c h   t o   c o n f i g u r a t i o n   f i l e s   c h e c k e d   i n t o   s o u r c e   c o n t r o l   f o r   f e a t u r e s   t h a t   a r e   n e e d e d ,   b u t   n o t   e x p r e s s i b l e   v i a   k u b e c t l   r u n   f l a g s .   Y o u   c a n   u s e   t h e   - - d r y - r u n = c l i e n t   f l a g   t o   p r e v i e w   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t   t o   y o u r   c l u s t e r ,   w i t h o u t   r e a l l y   s u b m i t t i n g   i t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/conventions/",
    "id": "k8s_00324_section_3_6300"
  },
  {
    "question": "What is kubectl apply?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   a p p l y   t o   c r e a t e   o r   u p d a t e   r e s o u r c e s .   F o r   m o r e   i n f o r m a t i o n   a b o u t   u s i n g   k u b e c t l   a p p l y   t o   u p d a t e   r e s o u r c e s ,   s e e   K u b e c t l   B o o k .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/conventions/",
    "id": "k8s_00324_section_3_6301"
  },
  {
    "question": "What is Pod Topology Spread Constraints?",
    "answer": "Pod Topology Spread ConstraintsYou can use topology spread constraints to control how Pods are spread across your cluster among failure-domains such as regions, zones, nodes, and other user-defined topology domains. This can help to achieve high availability as well as efficient resource utilization.You can set cluster-level constraints as a default, or configure topology spread constraints for individual workloads.MotivationImagine that you have a cluster of up to twenty nodes, and you want to run a workload that automatically scales how many replicas it uses. There could be as few as two Pods or as many as fifteen. When there are only two Pods, you'd prefer not to have both of those Pods run on the same node: you would run the risk that a single node failure takes your workload offline.In addition to this basic usage, there are some advanced usage examples that enable your workloads to benefit on high availability and cluster utilization.As you scale up and run more Pods, a different concern becomes important. Imagine that you have three nodes running five Pods each. The nodes have enough capacity to run that many replicas; however, the clients that interact with this workload are split across three different datacenters (or infrastructure zones). Now you have less concern about a single node failure, but you notice that latency is higher than you'd like, and you are paying for network costs associated with sending network traffic between the different zones.You decide that under normal operation you'd prefer to have a similar number of replicas scheduled into each infrastructure zone, and you'd like the cluster to self-heal in the case that there is a problem.Pod topology spread constraints offer you a declarative way to configure that.topologySpreadConstraints fieldThe Pod API includes a field, spec.topologySpreadConstraints. The usage of this field looks like the following:--- apiVersion: v1 kind: Pod metadata: name: example-pod spec: # Configure a topology spread constraint topologySpreadConstraints: - maxSkew: <integer> minDomains: <integer> # optional topologyKey: <string> whenUnsatisfiable: <string> labelSelector: <object> matchLabelKeys: <list> # optional; beta since v1.27 nodeAffinityPolicy: [Honor|Ignore] # optional; beta since v1.26 nodeTaintsPolicy: [Honor|Ignore] # optional; beta since v1.26 ### other Pod fields go here You can read more about this field by running kubectl explain Pod.spec.topologySpreadConstraints or refer to the scheduling section of the API reference for Pod.Spread constraint definitionYou can define one or multiple topologySpreadConstraints entries to instruct the kube-scheduler how to place each incoming Pod in relation to the existing Pods across your cluster. Those fields are:maxSkew describes the degree to which Pods may be unevenly distributed. You must specify this field and the number must be greater than zero. Its semantics differ according to the value of whenUnsatisfiable:if you select whenUnsatisfiab",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_qa_6302"
  },
  {
    "question": "How does Pod Topology Spread Constraints work?",
    "answer": "Pod Topology Spread ConstraintsYou can use topology spread constraints to control how Pods are spread across your cluster among failure-domains such as regions, zones, nodes, and other user-defined topology domains. This can help to achieve high availability as well as efficient resource utilization.You can set cluster-level constraints as a default, or configure topology spread constraints for individual workloads.MotivationImagine that you have a cluster of up to twenty nodes, and you want to run a workload that automatically scales how many replicas it uses. There could be as few as two Pods or as many as fifteen. When there are only two Pods, you'd prefer not to have both of those Pods run on the same node: you would run the risk that a single node failure takes your workload offline.In addition to this basic usage, there are some advanced usage examples that enable your workloads to benefit on high availability and cluster utilization.As you scale up and run more Pods, a different concern becomes important. Imagine that you have three nodes running five Pods each. The nodes have enough capacity to run that many replicas; however, the clients that interact with this workload are split across three different datacenters (or infrastructure zones). Now you have less concern about a single node failure, but you notice that latency is higher than you'd like, and you are paying for network costs associated with sending network traffic between the different zones.You decide that under normal operation you'd prefer to have a similar number of replicas scheduled into each infrastructure zone, and you'd like the cluster to self-heal in the case that there is a problem.Pod topology spread constraints offer you a declarative way to configure that.topologySpreadConstraints fieldThe Pod API includes a field, spec.topologySpreadConstraints. The usage of this field looks like the following:--- apiVersion: v1 kind: Pod metadata: name: example-pod spec: # Configure a topology spread constraint topologySpreadConstraints: - maxSkew: <integer> minDomains: <integer> # optional topologyKey: <string> whenUnsatisfiable: <string> labelSelector: <object> matchLabelKeys: <list> # optional; beta since v1.27 nodeAffinityPolicy: [Honor|Ignore] # optional; beta since v1.26 nodeTaintsPolicy: [Honor|Ignore] # optional; beta since v1.26 ### other Pod fields go here You can read more about this field by running kubectl explain Pod.spec.topologySpreadConstraints or refer to the scheduling section of the API reference for Pod.Spread constraint definitionYou can define one or multiple topologySpreadConstraints entries to instruct the kube-scheduler how to place each incoming Pod in relation to the existing Pods across your cluster. Those fields are:maxSkew describes the degree to which Pods may be unevenly distributed. You must specify this field and the number must be greater than zero. Its semantics differ according to the value of whenUnsatisfiable:if you select whenUnsatisfiab",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_qa_6303"
  },
  {
    "question": "When would you use Pod Topology Spread Constraints?",
    "answer": "Pod Topology Spread ConstraintsYou can use topology spread constraints to control how Pods are spread across your cluster among failure-domains such as regions, zones, nodes, and other user-defined topology domains. This can help to achieve high availability as well as efficient resource utilization.You can set cluster-level constraints as a default, or configure topology spread constraints for individual workloads.MotivationImagine that you have a cluster of up to twenty nodes, and you want to run a workload that automatically scales how many replicas it uses. There could be as few as two Pods or as many as fifteen. When there are only two Pods, you'd prefer not to have both of those Pods run on the same node: you would run the risk that a single node failure takes your workload offline.In addition to this basic usage, there are some advanced usage examples that enable your workloads to benefit on high availability and cluster utilization.As you scale up and run more Pods, a different concern becomes important. Imagine that you have three nodes running five Pods each. The nodes have enough capacity to run that many replicas; however, the clients that interact with this workload are split across three different datacenters (or infrastructure zones). Now you have less concern about a single node failure, but you notice that latency is higher than you'd like, and you are paying for network costs associated with sending network traffic between the different zones.You decide that under normal operation you'd prefer to have a similar number of replicas scheduled into each infrastructure zone, and you'd like the cluster to self-heal in the case that there is a problem.Pod topology spread constraints offer you a declarative way to configure that.topologySpreadConstraints fieldThe Pod API includes a field, spec.topologySpreadConstraints. The usage of this field looks like the following:--- apiVersion: v1 kind: Pod metadata: name: example-pod spec: # Configure a topology spread constraint topologySpreadConstraints: - maxSkew: <integer> minDomains: <integer> # optional topologyKey: <string> whenUnsatisfiable: <string> labelSelector: <object> matchLabelKeys: <list> # optional; beta since v1.27 nodeAffinityPolicy: [Honor|Ignore] # optional; beta since v1.26 nodeTaintsPolicy: [Honor|Ignore] # optional; beta since v1.26 ### other Pod fields go here You can read more about this field by running kubectl explain Pod.spec.topologySpreadConstraints or refer to the scheduling section of the API reference for Pod.Spread constraint definitionYou can define one or multiple topologySpreadConstraints entries to instruct the kube-scheduler how to place each incoming Pod in relation to the existing Pods across your cluster. Those fields are:maxSkew describes the degree to which Pods may be unevenly distributed. You must specify this field and the number must be greater than zero. Its semantics differ according to the value of whenUnsatisfiable:if you select whenUnsatisfiab",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_qa_6304"
  },
  {
    "question": "What are the benefits of Pod Topology Spread Constraints?",
    "answer": "Pod Topology Spread ConstraintsYou can use topology spread constraints to control how Pods are spread across your cluster among failure-domains such as regions, zones, nodes, and other user-defined topology domains. This can help to achieve high availability as well as efficient resource utilization.You can set cluster-level constraints as a default, or configure topology spread constraints for individual workloads.MotivationImagine that you have a cluster of up to twenty nodes, and you want to run a workload that automatically scales how many replicas it uses. There could be as few as two Pods or as many as fifteen. When there are only two Pods, you'd prefer not to have both of those Pods run on the same node: you would run the risk that a single node failure takes your workload offline.In addition to this basic usage, there are some advanced usage examples that enable your workloads to benefit on high availability and cluster utilization.As you scale up and run more Pods, a different concern becomes important. Imagine that you have three nodes running five Pods each. The nodes have enough capacity to run that many replicas; however, the clients that interact with this workload are split across three different datacenters (or infrastructure zones). Now you have less concern about a single node failure, but you notice that latency is higher than you'd like, and you are paying for network costs associated with sending network traffic between the different zones.You decide that under normal operation you'd prefer to have a similar number of replicas scheduled into each infrastructure zone, and you'd like the cluster to self-heal in the case that there is a problem.Pod topology spread constraints offer you a declarative way to configure that.topologySpreadConstraints fieldThe Pod API includes a field, spec.topologySpreadConstraints. The usage of this field looks like the following:--- apiVersion: v1 kind: Pod metadata: name: example-pod spec: # Configure a topology spread constraint topologySpreadConstraints: - maxSkew: <integer> minDomains: <integer> # optional topologyKey: <string> whenUnsatisfiable: <string> labelSelector: <object> matchLabelKeys: <list> # optional; beta since v1.27 nodeAffinityPolicy: [Honor|Ignore] # optional; beta since v1.26 nodeTaintsPolicy: [Honor|Ignore] # optional; beta since v1.26 ### other Pod fields go here You can read more about this field by running kubectl explain Pod.spec.topologySpreadConstraints or refer to the scheduling section of the API reference for Pod.Spread constraint definitionYou can define one or multiple topologySpreadConstraints entries to instruct the kube-scheduler how to place each incoming Pod in relation to the existing Pods across your cluster. Those fields are:maxSkew describes the degree to which Pods may be unevenly distributed. You must specify this field and the number must be greater than zero. Its semantics differ according to the value of whenUnsatisfiable:if you select whenUnsatisfiab",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_qa_6305"
  },
  {
    "question": "What is Pod Topology Spread Constraints?",
    "answer": "Y o u   c a n   u s e   t o p o l o g y   s p r e a d   c o n s t r a i n t s   t o   c o n t r o l   h o w   P o d s   a r e   s p r e a d   a c r o s s   y o u r   c l u s t e r   a m o n g   f a i l u r e - d o m a i n s   s u c h   a s   r e g i o n s ,   z o n e s ,   n o d e s ,   a n d   o t h e r   u s e r - d e f i n e d   t o p o l o g y   d o m a i n s .   T h i s   c a n   h e l p   t o   a c h i e v e   h i g h   a v a i l a b i l i t y   a s   w e l l   a s   e f f i c i e n t   r e s o u r c e   u t i l i z a t i o n .   Y o u   c a n   s e t   c l u s t e r - l e v e l   c o n s t r a i n t s   a s   a   d e f a u l t ,   o r   c o n f i g u r e   t o p o l o g y   s p r e a d   c o n s t r a i n t s   f o r   i n d i v i d u a l   w o r k l o a d s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_section_1_6306"
  },
  {
    "question": "What is Motivation?",
    "answer": "I m a g i n e   t h a t   y o u   h a v e   a   c l u s t e r   o f   u p   t o   t w e n t y   n o d e s ,   a n d   y o u   w a n t   t o   r u n   a   w o r k l o a d   t h a t   a u t o m a t i c a l l y   s c a l e s   h o w   m a n y   r e p l i c a s   i t   u s e s .   T h e r e   c o u l d   b e   a s   f e w   a s   t w o   P o d s   o r   a s   m a n y   a s   f i f t e e n .   W h e n   t h e r e   a r e   o n l y   t w o   P o d s ,   y o u ' d   p r e f e r   n o t   t o   h a v e   b o t h   o f   t h o s e   P o d s   r u n   o n   t h e   s a m e   n o d e :   y o u   w o u l d   r u n   t h e   r i s k   t h a t   a   s i n g l e   n o d e   f a i l u r e   t a k e s   y o u r   w o r k l o a d   o f f l i n e .   I n   a d d i t i o n   t o   t h i s   b a s i c   u s a g e ,   t h e r e   a r e   s o m e   a d v a n c e d   u s a g e   e x a m p l e s   t h a t   e n a b l e   y o u r   w o r k l o a d s   t o   b e n e f i t   o n   h i g h   a v a i l a b i l i t y   a n d   c l u s t e r   u t i l i z a t i o n .   A s   y o u   s c a l e   u p   a n d   r u n   m o r e   P o d s ,   a   d i f f e r e n t   c o n c e r n   b e c o m e s   i m p o r t a n t .   I m a g i n e   t h a t   y o u   h a v e   t h r e e   n o d e s   r u n n i n g   f i v e   P o d s   e a c h .   T h e   n o d e s   h a v e   e n o u g h   c a p a c i t y   t o   r u n   t h a t   m a n y   r e p l i c a s ;   h o w e v e r ,   t h e   c l i e n t s   t h a t   i n t e r a c t   w i t h   t h i s   w o r k l o a d   a r e   s p l i t   a c r o s s   t h r e e   d i f f e r e n t   d a t a c e n t e r s   ( o r   i n f r a s t r u c t u r e   z o n e s ) .   N o w   y o u   h a v e   l e s s   c o n c e r n   a b o u t   a   s i n g l e   n o d e   f a i l u r e ,   b u t   y o u   n o t i c e   t h a t   l a t e n c y   i s   h i g h e r   t h a n   y o u ' d   l i k e ,   a n d   y o u   a r e   p a y i n g   f o r   n e t w o r k   c o s t s   a s s o c i a t e d ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_section_2_6307"
  },
  {
    "question": "What is topologySpreadConstraints field?",
    "answer": "T h e   P o d   A P I   i n c l u d e s   a   f i e l d ,   s p e c . t o p o l o g y S p r e a d C o n s t r a i n t s .   T h e   u s a g e   o f   t h i s   f i e l d   l o o k s   l i k e   t h e   f o l l o w i n g :   - - -   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e x a m p l e - p o d   s p e c :   #   C o n f i g u r e   a   t o p o l o g y   s p r e a d   c o n s t r a i n t   t o p o l o g y S p r e a d C o n s t r a i n t s :   -   m a x S k e w :   < i n t e g e r >   m i n D o m a i n s :   < i n t e g e r >   #   o p t i o n a l   t o p o l o g y K e y :   < s t r i n g >   w h e n U n s a t i s f i a b l e :   < s t r i n g >   l a b e l S e l e c t o r :   < o b j e c t >   m a t c h L a b e l K e y s :   < l i s t >   #   o p t i o n a l ;   b e t a   s i n c e   v 1 . 2 7   n o d e A f f i n i t y P o l i c y :   [ H o n o r | I g n o r e ]   #   o p t i o n a l ;   b e t a   s i n c e   v 1 . 2 6   n o d e T a i n t s P o l i c y :   [ H o n o r | I g n o r e ]   #   o p t i o n a l ;   b e t a   s i n c e   v 1 . 2 6   # # #   o t h e r   P o d   f i e l d s   g o   h e r e   Y o u   c a n   r e a d   m o r e   a b o u t   t h i s   f i e l d   b y   r u n n i n g   k u b e c t l   e x p l a i n   P o d . s p e c . t o p o l o g y S p r e a d C o n s t r a i n t s   o r   r e f e r   t o   t h e   s c h e d u l i n g   s e c t i o n   o f   t h e   A P I   r e f e r e n c e   f o r   P o d .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_section_2_6308"
  },
  {
    "question": "What is Spread constraint definition?",
    "answer": "Y o u   c a n   d e f i n e   o n e   o r   m u l t i p l e   t o p o l o g y S p r e a d C o n s t r a i n t s   e n t r i e s   t o   i n s t r u c t   t h e   k u b e - s c h e d u l e r   h o w   t o   p l a c e   e a c h   i n c o m i n g   P o d   i n   r e l a t i o n   t o   t h e   e x i s t i n g   P o d s   a c r o s s   y o u r   c l u s t e r .   T h o s e   f i e l d s   a r e :   m a x S k e w   d e s c r i b e s   t h e   d e g r e e   t o   w h i c h   P o d s   m a y   b e   u n e v e n l y   d i s t r i b u t e d .   Y o u   m u s t   s p e c i f y   t h i s   f i e l d   a n d   t h e   n u m b e r   m u s t   b e   g r e a t e r   t h a n   z e r o .   I t s   s e m a n t i c s   d i f f e r   a c c o r d i n g   t o   t h e   v a l u e   o f   w h e n U n s a t i s f i a b l e : i f   y o u   s e l e c t   w h e n U n s a t i s f i a b l e :   D o N o t S c h e d u l e ,   t h e n   m a x S k e w   d e f i n e s   t h e   m a x i m u m   p e r m i t t e d   d i f f e r e n c e   b e t w e e n   t h e   n u m b e r   o f   m a t c h i n g   p o d s   i n   t h e   t a r g e t   t o p o l o g y   a n d   t h e   g l o b a l   m i n i m u m   ( t h e   m i n i m u m   n u m b e r   o f   m a t c h i n g   p o d s   i n   a n   e l i g i b l e   d o m a i n   o r   z e r o   i f   t h e   n u m b e r   o f   e l i g i b l e   d o m a i n s   i s   l e s s   t h a n   M i n D o m a i n s ) .   F o r   e x a m p l e ,   i f   y o u   h a v e   3   z o n e s   w i t h   2 ,   2   a n d   1   m a t c h i n g   p o d s   r e s p e c t i v e l y ,   M a x S k e w   i s   s e t   t o   1   t h e n   t h e   g l o b a l   m i n i m u m   i s   1 . i f   y o u   s e l e c t   w h e n U n s a t i s f i a b l e :   S c h e d u l e A n y w a y ,   t h e   s c h e d u l e r   g i v e s   h i g h e r   p r e c e d e n c e   t o   t o p o l o g i e s   t h a t   w o u l d   h e l p   r e d u c e   t h e   s k e w . m i n D o m a i n s   i n d i c a t e s   a   m ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_section_3_6309"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   v a l u e   o f   m i n D o m a i n s   m u s t   b e   g r e a t e r   t h a n   0 ,   w h e n   s p e c i f i e d .   Y o u   c a n   o n l y   s p e c i f y   m i n D o m a i n s   i n   c o n j u n c t i o n   w i t h   w h e n U n s a t i s f i a b l e :   D o N o t S c h e d u l e . W h e n   t h e   n u m b e r   o f   e l i g i b l e   d o m a i n s   w i t h   m a t c h   t o p o l o g y   k e y s   i s   l e s s   t h a n   m i n D o m a i n s ,   P o d   t o p o l o g y   s p r e a d   t r e a t s   g l o b a l   m i n i m u m   a s   0 ,   a n d   t h e n   t h e   c a l c u l a t i o n   o f   s k e w   i s   p e r f o r m e d .   T h e   g l o b a l   m i n i m u m   i s   t h e   m i n i m u m   n u m b e r   o f   m a t c h i n g   P o d s   i n   a n   e l i g i b l e   d o m a i n ,   o r   z e r o   i f   t h e   n u m b e r   o f   e l i g i b l e   d o m a i n s   i s   l e s s   t h a n   m i n D o m a i n s . W h e n   t h e   n u m b e r   o f   e l i g i b l e   d o m a i n s   w i t h   m a t c h i n g   t o p o l o g y   k e y s   e q u a l s   o r   i s   g r e a t e r   t h a n   m i n D o m a i n s ,   t h i s   v a l u e   h a s   n o   e f f e c t   o n   s c h e d u l i n g . I f   y o u   d o   n o t   s p e c i f y   m i n D o m a i n s ,   t h e   c o n s t r a i n t   b e h a v e s   a s   i f   m i n D o m a i n s   i s   1 .   t o p o l o g y K e y   i s   t h e   k e y   o f   n o d e   l a b e l s .   N o d e s   t h a t   h a v e   a   l a b e l   w i t h   t h i s   k e y   a n d   i d e n t i c a l   v a l u e s   a r e   c o n s i d e r e d   t o   b e   i n   t h e   s a m e   t o p o l o g y .   W e   c a l l   e a c h   i n s t a n c e   o f   a   t o p o l o g y   ( i n   o t h e r   w o r d s ,   a   < k e y ,   v a l u e >   p a i r )   a   d o m a i n .   T h e   s c h e d u l e r   w i l l   t r y   t o   p u t   a   b a l a n c e d   n u m b e r   o f   p o d s   i n t o   e a c h   d o m a i n .   A l s ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_section_4_6310"
  },
  {
    "question": "What is Caution:?",
    "answer": "W i t h   m a t c h L a b e l K e y s ,   y o u   d o n ' t   n e e d   t o   u p d a t e   t h e   p o d . s p e c   b e t w e e n   d i f f e r e n t   r e v i s i o n s .   T h e   c o n t r o l l e r / o p e r a t o r   j u s t   n e e d s   t o   s e t   d i f f e r e n t   v a l u e s   t o   t h e   s a m e   l a b e l   k e y   f o r   d i f f e r e n t   r e v i s i o n s .   F o r   e x a m p l e ,   i f   y o u   a r e   c o n f i g u r i n g   a   D e p l o y m e n t ,   y o u   c a n   u s e   t h e   l a b e l   k e y e d   w i t h   p o d - t e m p l a t e - h a s h ,   w h i c h   i s   a d d e d   a u t o m a t i c a l l y   b y   t h e   D e p l o y m e n t   c o n t r o l l e r ,   t o   d i s t i n g u i s h   b e t w e e n   d i f f e r e n t   r e v i s i o n s   i n   a   s i n g l e   D e p l o y m e n t .   t o p o l o g y S p r e a d C o n s t r a i n t s :   -   m a x S k e w :   1   t o p o l o g y K e y :   k u b e r n e t e s . i o / h o s t n a m e   w h e n U n s a t i s f i a b l e :   D o N o t S c h e d u l e   l a b e l S e l e c t o r :   m a t c h L a b e l s :   a p p :   f o o   m a t c h L a b e l K e y s :   -   p o d - t e m p l a t e - h a s h",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_section_4_6311"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   m a t c h L a b e l K e y s   f i e l d   i s   a   b e t a - l e v e l   f i e l d   a n d   e n a b l e d   b y   d e f a u l t   i n   1 . 2 7 .   Y o u   c a n   d i s a b l e   i t   b y   d i s a b l i n g   t h e   M a t c h L a b e l K e y s I n P o d T o p o l o g y S p r e a d   f e a t u r e   g a t e .   B e f o r e   v 1 . 3 4 ,   m a t c h L a b e l K e y s   w a s   h a n d l e d   i m p l i c i t l y .   S i n c e   v 1 . 3 4 ,   k e y - v a l u e   l a b e l s   c o r r e s p o n d i n g   t o   m a t c h L a b e l K e y s   a r e   e x p l i c i t l y   m e r g e d   i n t o   l a b e l S e l e c t o r .   Y o u   c a n   d i s a b l e   i t   a n d   r e v e r t   t o   t h e   p r e v i o u s   b e h a v i o r   b y   d i s a b l i n g   t h e   M a t c h L a b e l K e y s I n P o d T o p o l o g y S p r e a d S e l e c t o r M e r g e   f e a t u r e   g a t e   o f   k u b e - a p i s e r v e r .   n o d e A f f i n i t y P o l i c y   i n d i c a t e s   h o w   w e   w i l l   t r e a t   P o d ' s   n o d e A f f i n i t y / n o d e S e l e c t o r   w h e n   c a l c u l a t i n g   p o d   t o p o l o g y   s p r e a d   s k e w .   O p t i o n s   a r e :   H o n o r :   o n l y   n o d e s   m a t c h i n g   n o d e A f f i n i t y / n o d e S e l e c t o r   a r e   i n c l u d e d   i n   t h e   c a l c u l a t i o n s . I g n o r e :   n o d e A f f i n i t y / n o d e S e l e c t o r   a r e   i g n o r e d .   A l l   n o d e s   a r e   i n c l u d e d   i n   t h e   c a l c u l a t i o n s .   I f   t h i s   v a l u e   i s   n u l l ,   t h e   b e h a v i o r   i s   e q u i v a l e n t   t o   t h e   H o n o r   p o l i c y .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_section_4_6312"
  },
  {
    "question": "What is Note:?",
    "answer": "n o d e T a i n t s P o l i c y   i n d i c a t e s   h o w   w e   w i l l   t r e a t   n o d e   t a i n t s   w h e n   c a l c u l a t i n g   p o d   t o p o l o g y   s p r e a d   s k e w .   O p t i o n s   a r e :   H o n o r :   n o d e s   w i t h o u t   t a i n t s ,   a l o n g   w i t h   t a i n t e d   n o d e s   f o r   w h i c h   t h e   i n c o m i n g   p o d   h a s   a   t o l e r a t i o n ,   a r e   i n c l u d e d . I g n o r e :   n o d e   t a i n t s   a r e   i g n o r e d .   A l l   n o d e s   a r e   i n c l u d e d .   I f   t h i s   v a l u e   i s   n u l l ,   t h e   b e h a v i o r   i s   e q u i v a l e n t   t o   t h e   I g n o r e   p o l i c y .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_section_4_6313"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   a   P o d   d e f i n e s   m o r e   t h a n   o n e   t o p o l o g y S p r e a d C o n s t r a i n t ,   t h o s e   c o n s t r a i n t s   a r e   c o m b i n e d   u s i n g   a   l o g i c a l   A N D   o p e r a t i o n :   t h e   k u b e - s c h e d u l e r   l o o k s   f o r   a   n o d e   f o r   t h e   i n c o m i n g   P o d   t h a t   s a t i s f i e s   a l l   t h e   c o n f i g u r e d   c o n s t r a i n t s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_section_4_6314"
  },
  {
    "question": "What is Node labels?",
    "answer": "T o p o l o g y   s p r e a d   c o n s t r a i n t s   r e l y   o n   n o d e   l a b e l s   t o   i d e n t i f y   t h e   t o p o l o g y   d o m a i n ( s )   t h a t   e a c h   n o d e   i s   i n .   F o r   e x a m p l e ,   a   n o d e   m i g h t   h a v e   l a b e l s :   r e g i o n :   u s - e a s t - 1   z o n e :   u s - e a s t - 1 a",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_section_3_6315"
  },
  {
    "question": "What is Note:?",
    "answer": "F o r   b r e v i t y ,   t h i s   e x a m p l e   d o e s n ' t   u s e   t h e   w e l l - k n o w n   l a b e l   k e y s   t o p o l o g y . k u b e r n e t e s . i o / z o n e   a n d   t o p o l o g y . k u b e r n e t e s . i o / r e g i o n .   H o w e v e r ,   t h o s e   r e g i s t e r e d   l a b e l   k e y s   a r e   n o n e t h e l e s s   r e c o m m e n d e d   r a t h e r   t h a n   t h e   p r i v a t e   ( u n q u a l i f i e d )   l a b e l   k e y s   r e g i o n   a n d   z o n e   t h a t   a r e   u s e d   h e r e .   Y o u   c a n ' t   m a k e   a   r e l i a b l e   a s s u m p t i o n   a b o u t   t h e   m e a n i n g   o f   a   p r i v a t e   l a b e l   k e y   b e t w e e n   d i f f e r e n t   c o n t e x t s .   S u p p o s e   y o u   h a v e   a   4 - n o d e   c l u s t e r   w i t h   t h e   f o l l o w i n g   l a b e l s :   N A M E   S T A T U S   R O L E S   A G E   V E R S I O N   L A B E L S   n o d e 1   R e a d y   < n o n e >   4 m 2 6 s   v 1 . 1 6 . 0   n o d e = n o d e 1 , z o n e = z o n e A   n o d e 2   R e a d y   < n o n e >   3 m 5 8 s   v 1 . 1 6 . 0   n o d e = n o d e 2 , z o n e = z o n e A   n o d e 3   R e a d y   < n o n e >   3 m 1 7 s   v 1 . 1 6 . 0   n o d e = n o d e 3 , z o n e = z o n e B   n o d e 4   R e a d y   < n o n e >   2 m 4 3 s   v 1 . 1 6 . 0   n o d e = n o d e 4 , z o n e = z o n e B   T h e n   t h e   c l u s t e r   i s   l o g i c a l l y   v i e w e d   a s   b e l o w :",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_section_4_6316"
  },
  {
    "question": "What is Consistency?",
    "answer": "Y o u   s h o u l d   s e t   t h e   s a m e   P o d   t o p o l o g y   s p r e a d   c o n s t r a i n t s   o n   a l l   p o d s   i n   a   g r o u p .   U s u a l l y ,   i f   y o u   a r e   u s i n g   a   w o r k l o a d   c o n t r o l l e r   s u c h   a s   a   D e p l o y m e n t ,   t h e   p o d   t e m p l a t e   t a k e s   c a r e   o f   t h i s   f o r   y o u .   I f   y o u   m i x   d i f f e r e n t   s p r e a d   c o n s t r a i n t s   t h e n   K u b e r n e t e s   f o l l o w s   t h e   A P I   d e f i n i t i o n   o f   t h e   f i e l d ;   h o w e v e r ,   t h e   b e h a v i o r   i s   m o r e   l i k e l y   t o   b e c o m e   c o n f u s i n g   a n d   t r o u b l e s h o o t i n g   i s   l e s s   s t r a i g h t f o r w a r d .   Y o u   n e e d   a   m e c h a n i s m   t o   e n s u r e   t h a t   a l l   t h e   n o d e s   i n   a   t o p o l o g y   d o m a i n   ( s u c h   a s   a   c l o u d   p r o v i d e r   r e g i o n )   a r e   l a b e l e d   c o n s i s t e n t l y .   T o   a v o i d   y o u   n e e d i n g   t o   m a n u a l l y   l a b e l   n o d e s ,   m o s t   c l u s t e r s   a u t o m a t i c a l l y   p o p u l a t e   w e l l - k n o w n   l a b e l s   s u c h   a s   k u b e r n e t e s . i o / h o s t n a m e .   C h e c k   w h e t h e r   y o u r   c l u s t e r   s u p p o r t s   t h i s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_section_2_6317"
  },
  {
    "question": "What is Example: one topology spread constraint?",
    "answer": "S u p p o s e   y o u   h a v e   a   4 - n o d e   c l u s t e r   w h e r e   3   P o d s   l a b e l e d   f o o :   b a r   a r e   l o c a t e d   i n   n o d e 1 ,   n o d e 2   a n d   n o d e 3   r e s p e c t i v e l y :   I f   y o u   w a n t   a n   i n c o m i n g   P o d   t o   b e   e v e n l y   s p r e a d   w i t h   e x i s t i n g   P o d s   a c r o s s   z o n e s ,   y o u   c a n   u s e   a   m a n i f e s t   s i m i l a r   t o :   k i n d :   P o d   a p i V e r s i o n :   v 1   m e t a d a t a :   n a m e :   m y p o d   l a b e l s :   f o o :   b a r   s p e c :   t o p o l o g y S p r e a d C o n s t r a i n t s :   -   m a x S k e w :   1   t o p o l o g y K e y :   z o n e   w h e n U n s a t i s f i a b l e :   D o N o t S c h e d u l e   l a b e l S e l e c t o r :   m a t c h L a b e l s :   f o o :   b a r   c o n t a i n e r s :   -   n a m e :   p a u s e   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 1   F r o m   t h a t   m a n i f e s t ,   t o p o l o g y K e y :   z o n e   i m p l i e s   t h e   e v e n   d i s t r i b u t i o n   w i l l   o n l y   b e   a p p l i e d   t o   n o d e s   t h a t   a r e   l a b e l e d   z o n e :   < a n y   v a l u e >   ( n o d e s   t h a t   d o n ' t   h a v e   a   z o n e   l a b e l   a r e   s k i p p e d ) .   T h e   f i e l d   w h e n U n s a t i s f i a b l e :   D o N o t S c h e d u l e   t e l l s   t h e   s c h e d u l e r   t o   l e t   t h e   i n c o m i n g   P o d   s t a y   p e n d i n g   i f   t h e   s c h e d u l e r   c a n ' t   f i n d   a   w a y   t o   s a t i s f y   t h e   c o n s t r a i n t .   I f   t h e   s c h e d u l e r   p l a c e d   t h i s   i n c o m i n g   P o d   i n t o   z o n e   A ,   t h e   d i s t r i b u t i o n   o f   P o d s   w o u l d   b e c o m e   [ 3 ,   1 ] .   T h a t   m e a n s   t h e   a c t u a l   s k e w   i s   t h e n   2   ( c a l c u l a t e d   a s   3   -   1 ) ,   w h i c h   ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_section_3_6318"
  },
  {
    "question": "What is Example: multiple topology spread constraints?",
    "answer": "T h i s   b u i l d s   u p o n   t h e   p r e v i o u s   e x a m p l e .   S u p p o s e   y o u   h a v e   a   4 - n o d e   c l u s t e r   w h e r e   3   e x i s t i n g   P o d s   l a b e l e d   f o o :   b a r   a r e   l o c a t e d   o n   n o d e 1 ,   n o d e 2   a n d   n o d e 3   r e s p e c t i v e l y :   Y o u   c a n   c o m b i n e   t w o   t o p o l o g y   s p r e a d   c o n s t r a i n t s   t o   c o n t r o l   t h e   s p r e a d   o f   P o d s   b o t h   b y   n o d e   a n d   b y   z o n e :   k i n d :   P o d   a p i V e r s i o n :   v 1   m e t a d a t a :   n a m e :   m y p o d   l a b e l s :   f o o :   b a r   s p e c :   t o p o l o g y S p r e a d C o n s t r a i n t s :   -   m a x S k e w :   1   t o p o l o g y K e y :   z o n e   w h e n U n s a t i s f i a b l e :   D o N o t S c h e d u l e   l a b e l S e l e c t o r :   m a t c h L a b e l s :   f o o :   b a r   -   m a x S k e w :   1   t o p o l o g y K e y :   n o d e   w h e n U n s a t i s f i a b l e :   D o N o t S c h e d u l e   l a b e l S e l e c t o r :   m a t c h L a b e l s :   f o o :   b a r   c o n t a i n e r s :   -   n a m e :   p a u s e   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 1   I n   t h i s   c a s e ,   t o   m a t c h   t h e   f i r s t   c o n s t r a i n t ,   t h e   i n c o m i n g   P o d   c a n   o n l y   b e   p l a c e d   o n t o   n o d e s   i n   z o n e   B ;   w h i l e   i n   t e r m s   o f   t h e   s e c o n d   c o n s t r a i n t ,   t h e   i n c o m i n g   P o d   c a n   o n l y   b e   s c h e d u l e d   t o   t h e   n o d e   n o d e 4 .   T h e   s c h e d u l e r   o n l y   c o n s i d e r s   o p t i o n s   t h a t   s a t i s f y   a l l   d e f i n e d   c o n s t r a i n t s ,   s o   t h e   o n l y   v a l i d   p l a c e m e n t   i s   o n t o   n o d e   n o d e 4 .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_section_3_6319"
  },
  {
    "question": "What is Example: conflicting topology spread constraints?",
    "answer": "M u l t i p l e   c o n s t r a i n t s   c a n   l e a d   t o   c o n f l i c t s .   S u p p o s e   y o u   h a v e   a   3 - n o d e   c l u s t e r   a c r o s s   2   z o n e s :   I f   y o u   w e r e   t o   a p p l y   t w o - c o n s t r a i n t s . y a m l   ( t h e   m a n i f e s t   f r o m   t h e   p r e v i o u s   e x a m p l e )   t o   t h i s   c l u s t e r ,   y o u   w o u l d   s e e   t h a t   t h e   P o d   m y p o d   s t a y s   i n   t h e   P e n d i n g   s t a t e .   T h i s   h a p p e n s   b e c a u s e :   t o   s a t i s f y   t h e   f i r s t   c o n s t r a i n t ,   t h e   P o d   m y p o d   c a n   o n l y   b e   p l a c e d   i n t o   z o n e   B ;   w h i l e   i n   t e r m s   o f   t h e   s e c o n d   c o n s t r a i n t ,   t h e   P o d   m y p o d   c a n   o n l y   s c h e d u l e   t o   n o d e   n o d e 2 .   T h e   i n t e r s e c t i o n   o f   t h e   t w o   c o n s t r a i n t s   r e t u r n s   a n   e m p t y   s e t ,   a n d   t h e   s c h e d u l e r   c a n n o t   p l a c e   t h e   P o d .   T o   o v e r c o m e   t h i s   s i t u a t i o n ,   y o u   c a n   e i t h e r   i n c r e a s e   t h e   v a l u e   o f   m a x S k e w   o r   m o d i f y   o n e   o f   t h e   c o n s t r a i n t s   t o   u s e   w h e n U n s a t i s f i a b l e :   S c h e d u l e A n y w a y .   D e p e n d i n g   o n   c i r c u m s t a n c e s ,   y o u   m i g h t   a l s o   d e c i d e   t o   d e l e t e   a n   e x i s t i n g   P o d   m a n u a l l y   -   f o r   e x a m p l e ,   i f   y o u   a r e   t r o u b l e s h o o t i n g   w h y   a   b u g - f i x   r o l l o u t   i s   n o t   m a k i n g   p r o g r e s s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_section_3_6320"
  },
  {
    "question": "What is Interaction with node affinity and node selectors?",
    "answer": "T h e   s c h e d u l e r   w i l l   s k i p   t h e   n o n - m a t c h i n g   n o d e s   f r o m   t h e   s k e w   c a l c u l a t i o n s   i f   t h e   i n c o m i n g   P o d   h a s   s p e c . n o d e S e l e c t o r   o r   s p e c . a f f i n i t y . n o d e A f f i n i t y   d e f i n e d .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_section_4_6321"
  },
  {
    "question": "What is Example: topology spread constraints with node affinity?",
    "answer": "S u p p o s e   y o u   h a v e   a   5 - n o d e   c l u s t e r   r a n g i n g   a c r o s s   z o n e s   A   t o   C :   a n d   y o u   k n o w   t h a t   z o n e   C   m u s t   b e   e x c l u d e d .   I n   t h i s   c a s e ,   y o u   c a n   c o m p o s e   a   m a n i f e s t   a s   b e l o w ,   s o   t h a t   P o d   m y p o d   w i l l   b e   p l a c e d   i n t o   z o n e   B   i n s t e a d   o f   z o n e   C .   S i m i l a r l y ,   K u b e r n e t e s   a l s o   r e s p e c t s   s p e c . n o d e S e l e c t o r .   k i n d :   P o d   a p i V e r s i o n :   v 1   m e t a d a t a :   n a m e :   m y p o d   l a b e l s :   f o o :   b a r   s p e c :   t o p o l o g y S p r e a d C o n s t r a i n t s :   -   m a x S k e w :   1   t o p o l o g y K e y :   z o n e   w h e n U n s a t i s f i a b l e :   D o N o t S c h e d u l e   l a b e l S e l e c t o r :   m a t c h L a b e l s :   f o o :   b a r   a f f i n i t y :   n o d e A f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   n o d e S e l e c t o r T e r m s :   -   m a t c h E x p r e s s i o n s :   -   k e y :   z o n e   o p e r a t o r :   N o t I n   v a l u e s :   -   z o n e C   c o n t a i n e r s :   -   n a m e :   p a u s e   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 1",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_section_3_6322"
  },
  {
    "question": "What is Implicit conventions?",
    "answer": "T h e r e   a r e   s o m e   i m p l i c i t   c o n v e n t i o n s   w o r t h   n o t i n g   h e r e :   O n l y   t h e   P o d s   h o l d i n g   t h e   s a m e   n a m e s p a c e   a s   t h e   i n c o m i n g   P o d   c a n   b e   m a t c h i n g   c a n d i d a t e s . T h e   s c h e d u l e r   o n l y   c o n s i d e r s   n o d e s   t h a t   h a v e   a l l   t o p o l o g y S p r e a d C o n s t r a i n t s [ * ] . t o p o l o g y K e y   p r e s e n t   a t   t h e   s a m e   t i m e .   N o d e s   m i s s i n g   a n y   o f   t h e s e   t o p o l o g y K e y s   a r e   b y p a s s e d .   T h i s   i m p l i e s   t h a t : a n y   P o d s   l o c a t e d   o n   t h o s e   b y p a s s e d   n o d e s   d o   n o t   i m p a c t   m a x S k e w   c a l c u l a t i o n   -   i n   t h e   a b o v e   e x a m p l e ,   s u p p o s e   t h e   n o d e   n o d e 1   d o e s   n o t   h a v e   a   l a b e l   \" z o n e \" ,   t h e n   t h e   2   P o d s   w i l l   b e   d i s r e g a r d e d ,   h e n c e   t h e   i n c o m i n g   P o d   w i l l   b e   s c h e d u l e d   i n t o   z o n e   A . t h e   i n c o m i n g   P o d   h a s   n o   c h a n c e s   t o   b e   s c h e d u l e d   o n t o   t h i s   k i n d   o f   n o d e s   -   i n   t h e   a b o v e   e x a m p l e ,   s u p p o s e   a   n o d e   n o d e 5   h a s   t h e   m i s t y p e d   l a b e l   z o n e - t y p o :   z o n e C   ( a n d   n o   z o n e   l a b e l   s e t ) .   A f t e r   n o d e   n o d e 5   j o i n s   t h e   c l u s t e r ,   i t   w i l l   b e   b y p a s s e d   a n d   P o d s   f o r   t h i s   w o r k l o a d   a r e n ' t   s c h e d u l e d   t h e r e . B e   a w a r e   o f   w h a t   w i l l   h a p p e n   i f   t h e   i n c o m i n g   P o d ' s   t o p o l o g y S p r e a d C o n s t r a i n t s [ * ] . l a b e l S e l e c t o r   d o e s n ' t   m a t c h   i t s   o w n   l a b e l s .   I n   t h e   a b o v e   e x ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_section_2_6323"
  },
  {
    "question": "What is Cluster-level default constraints?",
    "answer": "I t   i s   p o s s i b l e   t o   s e t   d e f a u l t   t o p o l o g y   s p r e a d   c o n s t r a i n t s   f o r   a   c l u s t e r .   D e f a u l t   t o p o l o g y   s p r e a d   c o n s t r a i n t s   a r e   a p p l i e d   t o   a   P o d   i f ,   a n d   o n l y   i f :   I t   d o e s n ' t   d e f i n e   a n y   c o n s t r a i n t s   i n   i t s   . s p e c . t o p o l o g y S p r e a d C o n s t r a i n t s . I t   b e l o n g s   t o   a   S e r v i c e ,   R e p l i c a S e t ,   S t a t e f u l S e t   o r   R e p l i c a t i o n C o n t r o l l e r .   D e f a u l t   c o n s t r a i n t s   c a n   b e   s e t   a s   p a r t   o f   t h e   P o d T o p o l o g y S p r e a d   p l u g i n   a r g u m e n t s   i n   a   s c h e d u l i n g   p r o f i l e .   T h e   c o n s t r a i n t s   a r e   s p e c i f i e d   w i t h   t h e   s a m e   A P I   a b o v e ,   e x c e p t   t h a t   l a b e l S e l e c t o r   m u s t   b e   e m p t y .   T h e   s e l e c t o r s   a r e   c a l c u l a t e d   f r o m   t h e   S e r v i c e s ,   R e p l i c a S e t s ,   S t a t e f u l S e t s   o r   R e p l i c a t i o n C o n t r o l l e r s   t h a t   t h e   P o d   b e l o n g s   t o .   A n   e x a m p l e   c o n f i g u r a t i o n   m i g h t   l o o k   l i k e   f o l l o w s :   a p i V e r s i o n :   k u b e s c h e d u l e r . c o n f i g . k 8 s . i o / v 1   k i n d :   K u b e S c h e d u l e r C o n f i g u r a t i o n   p r o f i l e s :   -   s c h e d u l e r N a m e :   d e f a u l t - s c h e d u l e r   p l u g i n C o n f i g :   -   n a m e :   P o d T o p o l o g y S p r e a d   a r g s :   d e f a u l t C o n s t r a i n t s :   -   m a x S k e w :   1   t o p o l o g y K e y :   t o p o l o g y . k u b e r n e t e s . i o / z o n e   w h e n U n s a t i s f i a b l e :   S c h e d u l e A n y w a y   d e f a u l t i n g T y p e :   L i s t",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_section_2_6324"
  },
  {
    "question": "What is Built-in default constraints?",
    "answer": "I f   y o u   d o n ' t   c o n f i g u r e   a n y   c l u s t e r - l e v e l   d e f a u l t   c o n s t r a i n t s   f o r   p o d   t o p o l o g y   s p r e a d i n g ,   t h e n   k u b e - s c h e d u l e r   a c t s   a s   i f   y o u   s p e c i f i e d   t h e   f o l l o w i n g   d e f a u l t   t o p o l o g y   c o n s t r a i n t s :   d e f a u l t C o n s t r a i n t s :   -   m a x S k e w :   3   t o p o l o g y K e y :   \" k u b e r n e t e s . i o / h o s t n a m e \"   w h e n U n s a t i s f i a b l e :   S c h e d u l e A n y w a y   -   m a x S k e w :   5   t o p o l o g y K e y :   \" t o p o l o g y . k u b e r n e t e s . i o / z o n e \"   w h e n U n s a t i s f i a b l e :   S c h e d u l e A n y w a y   A l s o ,   t h e   l e g a c y   S e l e c t o r S p r e a d   p l u g i n ,   w h i c h   p r o v i d e s   a n   e q u i v a l e n t   b e h a v i o r ,   i s   d i s a b l e d   b y   d e f a u l t .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_section_3_6325"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   P o d T o p o l o g y S p r e a d   p l u g i n   d o e s   n o t   s c o r e   t h e   n o d e s   t h a t   d o n ' t   h a v e   t h e   t o p o l o g y   k e y s   s p e c i f i e d   i n   t h e   s p r e a d i n g   c o n s t r a i n t s .   T h i s   m i g h t   r e s u l t   i n   a   d i f f e r e n t   d e f a u l t   b e h a v i o r   c o m p a r e d   t o   t h e   l e g a c y   S e l e c t o r S p r e a d   p l u g i n   w h e n   u s i n g   t h e   d e f a u l t   t o p o l o g y   c o n s t r a i n t s .   I f   y o u r   n o d e s   a r e   n o t   e x p e c t e d   t o   h a v e   b o t h   k u b e r n e t e s . i o / h o s t n a m e   a n d   t o p o l o g y . k u b e r n e t e s . i o / z o n e   l a b e l s   s e t ,   d e f i n e   y o u r   o w n   c o n s t r a i n t s   i n s t e a d   o f   u s i n g   t h e   K u b e r n e t e s   d e f a u l t s .   I f   y o u   d o n ' t   w a n t   t o   u s e   t h e   d e f a u l t   P o d   s p r e a d i n g   c o n s t r a i n t s   f o r   y o u r   c l u s t e r ,   y o u   c a n   d i s a b l e   t h o s e   d e f a u l t s   b y   s e t t i n g   d e f a u l t i n g T y p e   t o   L i s t   a n d   l e a v i n g   e m p t y   d e f a u l t C o n s t r a i n t s   i n   t h e   P o d T o p o l o g y S p r e a d   p l u g i n   c o n f i g u r a t i o n :   a p i V e r s i o n :   k u b e s c h e d u l e r . c o n f i g . k 8 s . i o / v 1   k i n d :   K u b e S c h e d u l e r C o n f i g u r a t i o n   p r o f i l e s :   -   s c h e d u l e r N a m e :   d e f a u l t - s c h e d u l e r   p l u g i n C o n f i g :   -   n a m e :   P o d T o p o l o g y S p r e a d   a r g s :   d e f a u l t C o n s t r a i n t s :   [ ]   d e f a u l t i n g T y p e :   L i s t",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_section_4_6326"
  },
  {
    "question": "What is Comparison with podAffinity and podAntiAffinity?",
    "answer": "I n   K u b e r n e t e s ,   i n t e r - P o d   a f f i n i t y   a n d   a n t i - a f f i n i t y   c o n t r o l   h o w   P o d s   a r e   s c h e d u l e d   i n   r e l a t i o n   t o   o n e   a n o t h e r   -   e i t h e r   m o r e   p a c k e d   o r   m o r e   s c a t t e r e d .   F o r   f i n e r   c o n t r o l ,   y o u   c a n   s p e c i f y   t o p o l o g y   s p r e a d   c o n s t r a i n t s   t o   d i s t r i b u t e   P o d s   a c r o s s   d i f f e r e n t   t o p o l o g y   d o m a i n s   -   t o   a c h i e v e   e i t h e r   h i g h   a v a i l a b i l i t y   o r   c o s t - s a v i n g .   T h i s   c a n   a l s o   h e l p   o n   r o l l i n g   u p d a t e   w o r k l o a d s   a n d   s c a l i n g   o u t   r e p l i c a s   s m o o t h l y .   F o r   m o r e   c o n t e x t ,   s e e   t h e   M o t i v a t i o n   s e c t i o n   o f   t h e   e n h a n c e m e n t   p r o p o s a l   a b o u t   P o d   t o p o l o g y   s p r e a d   c o n s t r a i n t s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_section_2_6327"
  },
  {
    "question": "What is Known limitations?",
    "answer": "T h e r e ' s   n o   g u a r a n t e e   t h a t   t h e   c o n s t r a i n t s   r e m a i n   s a t i s f i e d   w h e n   P o d s   a r e   r e m o v e d .   F o r   e x a m p l e ,   s c a l i n g   d o w n   a   D e p l o y m e n t   m a y   r e s u l t   i n   i m b a l a n c e d   P o d s   d i s t r i b u t i o n . Y o u   c a n   u s e   a   t o o l   s u c h   a s   t h e   D e s c h e d u l e r   t o   r e b a l a n c e   t h e   P o d s   d i s t r i b u t i o n . P o d s   m a t c h e d   o n   t a i n t e d   n o d e s   a r e   r e s p e c t e d .   S e e   I s s u e   8 0 9 2 1 . T h e   s c h e d u l e r   d o e s n ' t   h a v e   p r i o r   k n o w l e d g e   o f   a l l   t h e   z o n e s   o r   o t h e r   t o p o l o g y   d o m a i n s   t h a t   a   c l u s t e r   h a s .   T h e y   a r e   d e t e r m i n e d   f r o m   t h e   e x i s t i n g   n o d e s   i n   t h e   c l u s t e r .   T h i s   c o u l d   l e a d   t o   a   p r o b l e m   i n   a u t o s c a l e d   c l u s t e r s ,   w h e n   a   n o d e   p o o l   ( o r   n o d e   g r o u p )   i s   s c a l e d   t o   z e r o   n o d e s ,   a n d   y o u ' r e   e x p e c t i n g   t h e   c l u s t e r   t o   s c a l e   u p ,   b e c a u s e ,   i n   t h i s   c a s e ,   t h o s e   t o p o l o g y   d o m a i n s   w o n ' t   b e   c o n s i d e r e d   u n t i l   t h e r e   i s   a t   l e a s t   o n e   n o d e   i n   t h e m . Y o u   c a n   w o r k   a r o u n d   t h i s   b y   u s i n g   a   N o d e   a u t o s c a l e r   t h a t   i s   a w a r e   o f   P o d   t o p o l o g y   s p r e a d   c o n s t r a i n t s   a n d   i s   a l s o   a w a r e   o f   t h e   o v e r a l l   s e t   o f   t o p o l o g y   d o m a i n s .   T h e r e ' s   n o   g u a r a n t e e   t h a t   t h e   c o n s t r a i n t s   r e m a i n   s a t i s f i e d   w h e n   P o d s   a r e   r e m o v e d .   F o r   e x a m p l e ,   s c a l i n g   d o w n   ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_section_2_6328"
  },
  {
    "question": "What is What's next?",
    "answer": "T h e   b l o g   a r t i c l e   I n t r o d u c i n g   P o d T o p o l o g y S p r e a d   e x p l a i n s   m a x S k e w   i n   s o m e   d e t a i l ,   a s   w e l l   a s   c o v e r i n g   s o m e   a d v a n c e d   u s a g e   e x a m p l e s . R e a d   t h e   s c h e d u l i n g   s e c t i o n   o f   t h e   A P I   r e f e r e n c e   f o r   P o d .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/",
    "id": "k8s_00325_section_2_6329"
  },
  {
    "question": "What is Romana for NetworkPolicy?",
    "answer": "Romana for NetworkPolicyThis page shows how to use Romana for NetworkPolicy.Before you beginComplete steps 1, 2, and 3 of the kubeadm getting started guide.Installing Romana with kubeadmFollow the containerized installation guide for kubeadm.Applying network policiesTo apply network policies use one of the following:Romana network policies.Example of Romana network policy.The NetworkPolicy API.What's nextOnce you have installed Romana, you can follow the Declare Network Policy to try out Kubernetes NetworkPolicy.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/romana-network-policy/",
    "id": "k8s_00326_qa_6330"
  },
  {
    "question": "How does Romana for NetworkPolicy work?",
    "answer": "Romana for NetworkPolicyThis page shows how to use Romana for NetworkPolicy.Before you beginComplete steps 1, 2, and 3 of the kubeadm getting started guide.Installing Romana with kubeadmFollow the containerized installation guide for kubeadm.Applying network policiesTo apply network policies use one of the following:Romana network policies.Example of Romana network policy.The NetworkPolicy API.What's nextOnce you have installed Romana, you can follow the Declare Network Policy to try out Kubernetes NetworkPolicy.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/romana-network-policy/",
    "id": "k8s_00326_qa_6331"
  },
  {
    "question": "When would you use Romana for NetworkPolicy?",
    "answer": "Romana for NetworkPolicyThis page shows how to use Romana for NetworkPolicy.Before you beginComplete steps 1, 2, and 3 of the kubeadm getting started guide.Installing Romana with kubeadmFollow the containerized installation guide for kubeadm.Applying network policiesTo apply network policies use one of the following:Romana network policies.Example of Romana network policy.The NetworkPolicy API.What's nextOnce you have installed Romana, you can follow the Declare Network Policy to try out Kubernetes NetworkPolicy.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/romana-network-policy/",
    "id": "k8s_00326_qa_6332"
  },
  {
    "question": "What are the benefits of Romana for NetworkPolicy?",
    "answer": "Romana for NetworkPolicyThis page shows how to use Romana for NetworkPolicy.Before you beginComplete steps 1, 2, and 3 of the kubeadm getting started guide.Installing Romana with kubeadmFollow the containerized installation guide for kubeadm.Applying network policiesTo apply network policies use one of the following:Romana network policies.Example of Romana network policy.The NetworkPolicy API.What's nextOnce you have installed Romana, you can follow the Declare Network Policy to try out Kubernetes NetworkPolicy.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/romana-network-policy/",
    "id": "k8s_00326_qa_6333"
  },
  {
    "question": "What is Romana for NetworkPolicy?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   R o m a n a   f o r   N e t w o r k P o l i c y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/romana-network-policy/",
    "id": "k8s_00326_section_1_6334"
  },
  {
    "question": "What is Before you begin?",
    "answer": "C o m p l e t e   s t e p s   1 ,   2 ,   a n d   3   o f   t h e   k u b e a d m   g e t t i n g   s t a r t e d   g u i d e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/romana-network-policy/",
    "id": "k8s_00326_section_2_6335"
  },
  {
    "question": "What is Installing Romana with kubeadm?",
    "answer": "F o l l o w   t h e   c o n t a i n e r i z e d   i n s t a l l a t i o n   g u i d e   f o r   k u b e a d m .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/romana-network-policy/",
    "id": "k8s_00326_section_2_6336"
  },
  {
    "question": "What is Applying network policies?",
    "answer": "T o   a p p l y   n e t w o r k   p o l i c i e s   u s e   o n e   o f   t h e   f o l l o w i n g :   R o m a n a   n e t w o r k   p o l i c i e s . E x a m p l e   o f   R o m a n a   n e t w o r k   p o l i c y . T h e   N e t w o r k P o l i c y   A P I .   E x a m p l e   o f   R o m a n a   n e t w o r k   p o l i c y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/romana-network-policy/",
    "id": "k8s_00326_section_2_6337"
  },
  {
    "question": "What is What's next?",
    "answer": "O n c e   y o u   h a v e   i n s t a l l e d   R o m a n a ,   y o u   c a n   f o l l o w   t h e   D e c l a r e   N e t w o r k   P o l i c y   t o   t r y   o u t   K u b e r n e t e s   N e t w o r k P o l i c y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/romana-network-policy/",
    "id": "k8s_00326_section_2_6338"
  },
  {
    "question": "What is DeviceClass?",
    "answer": "DeviceClassDeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors.apiVersion: resource.k8s.io/v1import \"k8s.io/api/resource/v1\"DeviceClassDeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped.This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.apiVersion: resource.k8s.io/v1kind: DeviceClassmetadata (ObjectMeta)Standard object metadataspec (DeviceClassSpec), requiredSpec defines what can be allocated and how to configure it.This is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.Changing the spec automatically increments the metadata.generation number.DeviceClassSpecDeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it.config ([]DeviceClassConfiguration)Atomic: will be replaced during a mergeConfig defines configuration parameters that apply to each device that is claimed via this class. Some classes may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver.They are passed to the driver, but are not considered while allocating the claim.DeviceClassConfiguration is used in DeviceClass.config.opaque (OpaqueDeviceConfiguration)Opaque provides driver-specific configuration parameters.OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.config.opaque.driver (string), requiredDriver is used to determine which kubelet plugin needs to be passed these configuration parameters.An admission policy provided by the driver developer could use this to decide whether it needs to validate them.Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.config.opaque.parameters (RawExtension), requiredParameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (\"kind\" + \"apiVersion\" for Kubernetes types), with conversion between different versions.The length of the raw data must be smaller or equal to 10 Ki.*RawExtension is used to hold extensions in external versions.To use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.// Internal package:type MyAPIObject struct { runtime.TypeMeta json:\",inline\" MyPlugin runtime.Object json:\"myPlugin\" }type PluginA struct { AOption string json:\"aOption\" }// External package:type MyAPIObject struct { runtime.TypeMeta json:\",inline\" MyPlugin runtime.RawExtension json:\"myPlugin\" }type PluginA struct { AOp",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_qa_6339"
  },
  {
    "question": "How does DeviceClass work?",
    "answer": "DeviceClassDeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors.apiVersion: resource.k8s.io/v1import \"k8s.io/api/resource/v1\"DeviceClassDeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped.This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.apiVersion: resource.k8s.io/v1kind: DeviceClassmetadata (ObjectMeta)Standard object metadataspec (DeviceClassSpec), requiredSpec defines what can be allocated and how to configure it.This is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.Changing the spec automatically increments the metadata.generation number.DeviceClassSpecDeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it.config ([]DeviceClassConfiguration)Atomic: will be replaced during a mergeConfig defines configuration parameters that apply to each device that is claimed via this class. Some classes may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver.They are passed to the driver, but are not considered while allocating the claim.DeviceClassConfiguration is used in DeviceClass.config.opaque (OpaqueDeviceConfiguration)Opaque provides driver-specific configuration parameters.OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.config.opaque.driver (string), requiredDriver is used to determine which kubelet plugin needs to be passed these configuration parameters.An admission policy provided by the driver developer could use this to decide whether it needs to validate them.Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.config.opaque.parameters (RawExtension), requiredParameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (\"kind\" + \"apiVersion\" for Kubernetes types), with conversion between different versions.The length of the raw data must be smaller or equal to 10 Ki.*RawExtension is used to hold extensions in external versions.To use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.// Internal package:type MyAPIObject struct { runtime.TypeMeta json:\",inline\" MyPlugin runtime.Object json:\"myPlugin\" }type PluginA struct { AOption string json:\"aOption\" }// External package:type MyAPIObject struct { runtime.TypeMeta json:\",inline\" MyPlugin runtime.RawExtension json:\"myPlugin\" }type PluginA struct { AOp",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_qa_6340"
  },
  {
    "question": "When would you use DeviceClass?",
    "answer": "DeviceClassDeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors.apiVersion: resource.k8s.io/v1import \"k8s.io/api/resource/v1\"DeviceClassDeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped.This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.apiVersion: resource.k8s.io/v1kind: DeviceClassmetadata (ObjectMeta)Standard object metadataspec (DeviceClassSpec), requiredSpec defines what can be allocated and how to configure it.This is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.Changing the spec automatically increments the metadata.generation number.DeviceClassSpecDeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it.config ([]DeviceClassConfiguration)Atomic: will be replaced during a mergeConfig defines configuration parameters that apply to each device that is claimed via this class. Some classes may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver.They are passed to the driver, but are not considered while allocating the claim.DeviceClassConfiguration is used in DeviceClass.config.opaque (OpaqueDeviceConfiguration)Opaque provides driver-specific configuration parameters.OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.config.opaque.driver (string), requiredDriver is used to determine which kubelet plugin needs to be passed these configuration parameters.An admission policy provided by the driver developer could use this to decide whether it needs to validate them.Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.config.opaque.parameters (RawExtension), requiredParameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (\"kind\" + \"apiVersion\" for Kubernetes types), with conversion between different versions.The length of the raw data must be smaller or equal to 10 Ki.*RawExtension is used to hold extensions in external versions.To use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.// Internal package:type MyAPIObject struct { runtime.TypeMeta json:\",inline\" MyPlugin runtime.Object json:\"myPlugin\" }type PluginA struct { AOption string json:\"aOption\" }// External package:type MyAPIObject struct { runtime.TypeMeta json:\",inline\" MyPlugin runtime.RawExtension json:\"myPlugin\" }type PluginA struct { AOp",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_qa_6341"
  },
  {
    "question": "What are the benefits of DeviceClass?",
    "answer": "DeviceClassDeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors.apiVersion: resource.k8s.io/v1import \"k8s.io/api/resource/v1\"DeviceClassDeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped.This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.apiVersion: resource.k8s.io/v1kind: DeviceClassmetadata (ObjectMeta)Standard object metadataspec (DeviceClassSpec), requiredSpec defines what can be allocated and how to configure it.This is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.Changing the spec automatically increments the metadata.generation number.DeviceClassSpecDeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it.config ([]DeviceClassConfiguration)Atomic: will be replaced during a mergeConfig defines configuration parameters that apply to each device that is claimed via this class. Some classes may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver.They are passed to the driver, but are not considered while allocating the claim.DeviceClassConfiguration is used in DeviceClass.config.opaque (OpaqueDeviceConfiguration)Opaque provides driver-specific configuration parameters.OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.config.opaque.driver (string), requiredDriver is used to determine which kubelet plugin needs to be passed these configuration parameters.An admission policy provided by the driver developer could use this to decide whether it needs to validate them.Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.config.opaque.parameters (RawExtension), requiredParameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (\"kind\" + \"apiVersion\" for Kubernetes types), with conversion between different versions.The length of the raw data must be smaller or equal to 10 Ki.*RawExtension is used to hold extensions in external versions.To use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.// Internal package:type MyAPIObject struct { runtime.TypeMeta json:\",inline\" MyPlugin runtime.Object json:\"myPlugin\" }type PluginA struct { AOption string json:\"aOption\" }// External package:type MyAPIObject struct { runtime.TypeMeta json:\",inline\" MyPlugin runtime.RawExtension json:\"myPlugin\" }type PluginA struct { AOp",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_qa_6342"
  },
  {
    "question": "What is DeviceClass?",
    "answer": "a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / r e s o u r c e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_section_1_6343"
  },
  {
    "question": "What is DeviceClass?",
    "answer": "D e v i c e C l a s s   i s   a   v e n d o r -   o r   a d m i n - p r o v i d e d   r e s o u r c e   t h a t   c o n t a i n s   d e v i c e   c o n f i g u r a t i o n   a n d   s e l e c t o r s .   I t   c a n   b e   r e f e r e n c e d   i n   t h e   d e v i c e   r e q u e s t s   o f   a   c l a i m   t o   a p p l y   t h e s e   p r e s e t s .   C l u s t e r   s c o p e d .   T h i s   i s   a n   a l p h a   t y p e   a n d   r e q u i r e s   e n a b l i n g   t h e   D y n a m i c R e s o u r c e A l l o c a t i o n   f e a t u r e   g a t e .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 k i n d :   D e v i c e C l a s s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a s p e c   ( D e v i c e C l a s s S p e c ) ,   r e q u i r e d S p e c   d e f i n e s   w h a t   c a n   b e   a l l o c a t e d   a n d   h o w   t o   c o n f i g u r e   i t . T h i s   i s   m u t a b l e .   C o n s u m e r s   h a v e   t o   b e   p r e p a r e d   f o r   c l a s s e s   c h a n g i n g   a t   a n y   t i m e ,   e i t h e r   b e c a u s e   t h e y   g e t   u p d a t e d   o r   r e p l a c e d .   C l a i m   a l l o c a t i o n s   a r e   d o n e   o n c e   b a s e d   o n   w h a t e v e r   w a s   s e t   i n   c l a s s e s   a t   t h e   t i m e   o f   a l l o c a t i o n . C h a n g i n g   t h e   s p e c   a u t o m a t i c a l l y   i n c r e m e n t s   t h e   m e t a d a t a . g e n e r a t i o n   n u m b e r .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   D e v i c e C l a s s   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t   m e t a d a t a   s p e c   ( D e v i c e C l a s s S p e c ) ,   r e q u i r e d   S p e c   d e f i n e s   w h a t   c a n   b e   a l l o c a t e d   a n d   h o w   t o   c o n f i g u r e   i t .   T h i s   i s   m u t a b l e .   C o n s u m e r s   h a v e   t o   b e   p r e p a r e d   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_section_2_6344"
  },
  {
    "question": "What is DeviceClassSpec?",
    "answer": "D e v i c e C l a s s S p e c   i s   u s e d   i n   a   [ D e v i c e C l a s s ]   t o   d e f i n e   w h a t   c a n   b e   a l l o c a t e d   a n d   h o w   t o   c o n f i g u r e   i t .   c o n f i g   ( [ ] D e v i c e C l a s s C o n f i g u r a t i o n ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e C o n f i g   d e f i n e s   c o n f i g u r a t i o n   p a r a m e t e r s   t h a t   a p p l y   t o   e a c h   d e v i c e   t h a t   i s   c l a i m e d   v i a   t h i s   c l a s s .   S o m e   c l a s s e s   m a y   p o t e n t i a l l y   b e   s a t i s f i e d   b y   m u l t i p l e   d r i v e r s ,   s o   e a c h   i n s t a n c e   o f   a   v e n d o r   c o n f i g u r a t i o n   a p p l i e s   t o   e x a c t l y   o n e   d r i v e r . T h e y   a r e   p a s s e d   t o   t h e   d r i v e r ,   b u t   a r e   n o t   c o n s i d e r e d   w h i l e   a l l o c a t i n g   t h e   c l a i m . D e v i c e C l a s s C o n f i g u r a t i o n   i s   u s e d   i n   D e v i c e C l a s s . c o n f i g . o p a q u e   ( O p a q u e D e v i c e C o n f i g u r a t i o n ) O p a q u e   p r o v i d e s   d r i v e r - s p e c i f i c   c o n f i g u r a t i o n   p a r a m e t e r s . O p a q u e D e v i c e C o n f i g u r a t i o n   c o n t a i n s   c o n f i g u r a t i o n   p a r a m e t e r s   f o r   a   d r i v e r   i n   a   f o r m a t   d e f i n e d   b y   t h e   d r i v e r   v e n d o r . c o n f i g . o p a q u e . d r i v e r   ( s t r i n g ) ,   r e q u i r e d D r i v e r   i s   u s e d   t o   d e t e r m i n e   w h i c h   k u b e l e t   p l u g i n   n e e d s   t o   b e   p a s s e d   t h e s e   c o n f i g u r a t i o n   p a r a m e t e r s . A n   a d m i s s i o n   p o l i c y   p r o v i d e d   b y   t h e   d r i v e r   d e v e l o p e r   c o u l d   u s e   t h i s   t o   d e c i d e   w h e t h e r   i t   n e e d s   t o   v a l i d a t e   t h e m . M ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_section_2_6345"
  },
  {
    "question": "What is DeviceClassList?",
    "answer": "D e v i c e C l a s s L i s t   i s   a   c o l l e c t i o n   o f   c l a s s e s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 k i n d :   D e v i c e C l a s s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a i t e m s   ( [ ] D e v i c e C l a s s ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   r e s o u r c e   c l a s s e s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   D e v i c e C l a s s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   i t e m s   ( [ ] D e v i c e C l a s s ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   r e s o u r c e   c l a s s e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_section_2_6346"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_section_4_6347"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e v i c e C l a s s p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e v i c e C l a s s   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_section_4_6348"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e C l a s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_section_4_6349"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_section_4_6350"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_section_4_6351"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e C l a s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_section_4_6352"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_section_4_6353"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e v i c e C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   D e v i c e C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_section_4_6354"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e C l a s s ) :   O K   2 0 1   ( D e v i c e C l a s s ) :   C r e a t e d   2 0 2   ( D e v i c e C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_section_4_6355"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_section_4_6356"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e v i c e C l a s s b o d y :   D e v i c e C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e v i c e C l a s s   b o d y :   D e v i c e C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_section_4_6357"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e C l a s s ) :   O K   2 0 1   ( D e v i c e C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_section_4_6358"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_section_4_6359"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e v i c e C l a s s b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e v i c e C l a s s   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_section_4_6360"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e C l a s s ) :   O K   2 0 1   ( D e v i c e C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_section_4_6361"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_section_4_6362"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e v i c e C l a s s b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e v i c e C l a s s   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_section_4_6363"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e C l a s s ) :   O K   2 0 2   ( D e v i c e C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_section_4_6364"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_section_4_6365"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_section_4_6366"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/device-class-v1/",
    "id": "k8s_00327_section_4_6367"
  },
  {
    "question": "What is PR wranglers?",
    "answer": "PR wranglersSIG Docs approvers take week-long shifts managing pull requests for the repository.This section covers the duties of a PR wrangler. For more information on giving good reviews, see Reviewing changes.DutiesEach day in a week-long shift as PR Wrangler:Review open pull requests for quality and adherence to the Style and Content guides.Start with the smallest PRs (size/XS) first, and end with the largest (size/XXL). Review as many PRs as you can.Make sure PR contributors sign the CLA.Use this script to remind contributors that haven't signed the CLA to do so.Provide",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/pr-wranglers/",
    "id": "k8s_00328_qa_6368"
  },
  {
    "question": "How does PR wranglers work?",
    "answer": "PR wranglersSIG Docs approvers take week-long shifts managing pull requests for the repository.This section covers the duties of a PR wrangler. For more information on giving good reviews, see Reviewing changes.DutiesEach day in a week-long shift as PR Wrangler:Review open pull requests for quality and adherence to the Style and Content guides.Start with the smallest PRs (size/XS) first, and end with the largest (size/XXL). Review as many PRs as you can.Make sure PR contributors sign the CLA.Use this script to remind contributors that haven't signed the CLA to do so.Provide",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/pr-wranglers/",
    "id": "k8s_00328_qa_6369"
  },
  {
    "question": "When would you use PR wranglers?",
    "answer": "PR wranglersSIG Docs approvers take week-long shifts managing pull requests for the repository.This section covers the duties of a PR wrangler. For more information on giving good reviews, see Reviewing changes.DutiesEach day in a week-long shift as PR Wrangler:Review open pull requests for quality and adherence to the Style and Content guides.Start with the smallest PRs (size/XS) first, and end with the largest (size/XXL). Review as many PRs as you can.Make sure PR contributors sign the CLA.Use this script to remind contributors that haven't signed the CLA to do so.Provide",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/pr-wranglers/",
    "id": "k8s_00328_qa_6370"
  },
  {
    "question": "What are the benefits of PR wranglers?",
    "answer": "PR wranglersSIG Docs approvers take week-long shifts managing pull requests for the repository.This section covers the duties of a PR wrangler. For more information on giving good reviews, see Reviewing changes.DutiesEach day in a week-long shift as PR Wrangler:Review open pull requests for quality and adherence to the Style and Content guides.Start with the smallest PRs (size/XS) first, and end with the largest (size/XXL). Review as many PRs as you can.Make sure PR contributors sign the CLA.Use this script to remind contributors that haven't signed the CLA to do so.Provide",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/pr-wranglers/",
    "id": "k8s_00328_qa_6371"
  },
  {
    "question": "What is PR wranglers?",
    "answer": "S I G   D o c s   a p p r o v e r s   t a k e   w e e k - l o n g   s h i f t s   m a n a g i n g   p u l l   r e q u e s t s   f o r   t h e   r e p o s i t o r y .   T h i s   s e c t i o n   c o v e r s   t h e   d u t i e s   o f   a   P R   w r a n g l e r .   F o r   m o r e   i n f o r m a t i o n   o n   g i v i n g   g o o d   r e v i e w s ,   s e e   R e v i e w i n g   c h a n g e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/pr-wranglers/",
    "id": "k8s_00328_section_1_6372"
  },
  {
    "question": "What is Duties?",
    "answer": "E a c h   d a y   i n   a   w e e k - l o n g   s h i f t   a s   P R   W r a n g l e r :   R e v i e w   o p e n   p u l l   r e q u e s t s   f o r   q u a l i t y   a n d   a d h e r e n c e   t o   t h e   S t y l e   a n d   C o n t e n t   g u i d e s . S t a r t   w i t h   t h e   s m a l l e s t   P R s   ( s i z e / X S )   f i r s t ,   a n d   e n d   w i t h   t h e   l a r g e s t   ( s i z e / X X L ) .   R e v i e w   a s   m a n y   P R s   a s   y o u   c a n . M a k e   s u r e   P R   c o n t r i b u t o r s   s i g n   t h e   C L A . U s e   t h i s   s c r i p t   t o   r e m i n d   c o n t r i b u t o r s   t h a t   h a v e n ' t   s i g n e d   t h e   C L A   t o   d o   s o . P r o v i d e",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/pr-wranglers/",
    "id": "k8s_00328_section_2_6373"
  },
  {
    "question": "What is Helpful GitHub queries for wranglers?",
    "answer": "T h e   f o l l o w i n g   q u e r i e s   a r e   h e l p f u l   w h e n   w r a n g l i n g .   A f t e r   w o r k i n g   t h r o u g h   t h e s e   q u e r i e s ,   t h e   r e m a i n i n g   l i s t   o f   P R s   t o   r e v i e w   i s   u s u a l l y   s m a l l .   T h e s e   q u e r i e s   e x c l u d e   l o c a l i z a t i o n   P R s .   A l l   q u e r i e s   a r e   a g a i n s t   t h e   m a i n   b r a n c h   e x c e p t   t h e   l a s t   o n e .   N o   C L A ,   n o t   e l i g i b l e   t o   m e r g e :   R e m i n d   t h e   c o n t r i b u t o r   t o   s i g n   t h e   C L A .   I f   b o t h   t h e   b o t   a n d   a   h u m a n   h a v e   r e m i n d e d   t h e m ,   c l o s e   t h e   P R   a n d   r e m i n d   t h e m   t h a t   t h e y   c a n   o p e n   i t   a f t e r   s i g n i n g   t h e   C L A .   D o   n o t   r e v i e w   P R s   w h o s e   a u t h o r s   h a v e   n o t   s i g n e d   t h e   C L A ! N e e d s   L G T M :   L i s t s   P R s   t h a t   n e e d   a n   L G T M   f r o m   a   m e m b e r .   I f   t h e   P R   n e e d s   t e c h n i c a l   r e v i e w ,   l o o p   i n   o n e   o f   t h e   r e v i e w e r s   s u g g e s t e d   b y   t h e   b o t .   I f   t h e   c o n t e n t   n e e d s   w o r k ,   a d d   s u g g e s t i o n s   a n d",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/pr-wranglers/",
    "id": "k8s_00328_section_3_6374"
  },
  {
    "question": "What is Helpful Prow commands for wranglers?",
    "answer": "#   a d d   E n g l i s h   l a b e l   / l a n g u a g e   e n   #   a d d   s q u a s h   l a b e l   t o   P R   i f   m o r e   t h a n   o n e   c o m m i t   / l a b e l   t i d e / m e r g e - m e t h o d - s q u a s h   #   r e t i t l e   a   P R   v i a   P r o w   ( s u c h   a s   a   w o r k - i n - p r o g r e s s   [ W I P ]   o r   b e t t e r   d e t a i l   o f   P R )   / r e t i t l e   [ W I P ]   < T I T L E >",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/pr-wranglers/",
    "id": "k8s_00328_section_3_6375"
  },
  {
    "question": "What is When to close Pull Requests?",
    "answer": "R e v i e w s   a n d   a p p r o v a l s   a r e   o n e   t o o l   t o   k e e p   o u r   P R   q u e u e   s h o r t   a n d   c u r r e n t .   A n o t h e r   t o o l   i s   c l o s u r e .   C l o s e   P R s   w h e r e :   T h e   a u t h o r   h a s n ' t   s i g n e d   t h e   C L A   f o r   t w o   w e e k s . A u t h o r s   c a n   r e o p e n   t h e   P R   a f t e r   s i g n i n g   t h e   C L A .   T h i s   i s   a   l o w - r i s k   w a y   t o   m a k e   s u r e   n o t h i n g   g e t s   m e r g e d   w i t h o u t   a   s i g n e d   C L A . T h e   a u t h o r   h a s   n o t   r e s p o n d e d   t o   c o m m e n t s   o r",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/pr-wranglers/",
    "id": "k8s_00328_section_3_6376"
  },
  {
    "question": "What is PR Wrangler shadow program?",
    "answer": "I n   l a t e   2 0 2 1 ,   S I G   D o c s   i n t r o d u c e d   t h e   P R   W r a n g l e r   S h a d o w   P r o g r a m .   T h e   p r o g r a m   w a s   i n t r o d u c e d   t o   h e l p   n e w   c o n t r i b u t o r s   u n d e r s t a n d   t h e   P R   w r a n g l i n g   p r o c e s s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/pr-wranglers/",
    "id": "k8s_00328_section_2_6377"
  },
  {
    "question": "What is Become a shadow?",
    "answer": "I f   y o u   a r e   i n t e r e s t e d   i n   s h a d o w i n g   a s   a   P R   w r a n g l e r ,   p l e a s e   v i s i t   t h e   P R   W r a n g l e r s   W i k i   p a g e   t o   s e e   t h e   P R   w r a n g l i n g   s c h e d u l e   f o r   t h i s   y e a r   a n d   s i g n   u p . O t h e r s   c a n   r e a c h   o u t   o n   t h e   # s i g - d o c s   S l a c k   c h a n n e l   f o r   r e q u e s t i n g   t o   s h a d o w   a n   a s s i g n e d   P R   W r a n g l e r   f o r   a   s p e c i f i c   w e e k .   F e e l   f r e e   t o   r e a c h   o u t   t o   o n e   o f   t h e   S I G   D o c s   c o - c h a i r s / l e a d s . O n c e   y o u ' v e   s i g n e d   u p   t o   s h a d o w   a   P R   W r a n g l e r ,   i n t r o d u c e   y o u r s e l f   t o   t h e   P R   W r a n g l e r   o n   t h e   K u b e r n e t e s   S l a c k .   I f   y o u   a r e   i n t e r e s t e d   i n   s h a d o w i n g   a s   a   P R   w r a n g l e r ,   p l e a s e   v i s i t   t h e   P R   W r a n g l e r s   W i k i   p a g e   t o   s e e   t h e   P R   w r a n g l i n g   s c h e d u l e   f o r   t h i s   y e a r   a n d   s i g n   u p .   O t h e r s   c a n   r e a c h   o u t   o n   t h e   # s i g - d o c s   S l a c k   c h a n n e l   f o r   r e q u e s t i n g   t o   s h a d o w   a n   a s s i g n e d   P R   W r a n g l e r   f o r   a   s p e c i f i c   w e e k .   F e e l   f r e e   t o   r e a c h   o u t   t o   o n e   o f   t h e   S I G   D o c s   c o - c h a i r s / l e a d s .   O n c e   y o u ' v e   s i g n e d   u p   t o   s h a d o w   a   P R   W r a n g l e r ,   i n t r o d u c e   y o u r s e l f   t o   t h e   P R   W r a n g l e r   o n   t h e   K u b e r n e t e s   S l a c k .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/pr-wranglers/",
    "id": "k8s_00328_section_3_6378"
  },
  {
    "question": "What is Traces For Kubernetes System Components?",
    "answer": "Traces For Kubernetes System ComponentsFEATURE STATE: Kubernetes v1.27 [beta]System component traces record the latency of and relationships between operations in the cluster.Kubernetes components emit traces using the OpenTelemetry Protocol with the gRPC exporter and can be collected and routed to tracing backends using an OpenTelemetry Collector.Trace CollectionKubernetes components have built-in gRPC exporters for OTLP to export traces, either with an OpenTelemetry Collector, or without an OpenTelemetry Collector.For a complete guide to collecting traces and using the collector, see Getting Started with the OpenTelemetry Collector. However, there are a few things to note that are specific to Kubernetes components.By default, Kubernetes components export traces using the grpc exporter for OTLP on the IANA OpenTelemetry port, 4317. As an example, if the collector is running as a sidecar to a Kubernetes component, the following receiver configuration will collect spans and log them to standard output:receivers: otlp: protocols: grpc: exporters: # Replace this exporter with the exporter for your backend exporters: debug: verbosity: detailed service: pipelines: traces: receivers: [otlp] exporters: [debug] To directly emit traces to a backend without utilizing a collector, specify the endpoint field in the Kubernetes tracing configuration file with the desired trace backend address. This method negates the need for a collector and simplifies the overall structure.For trace backend header configuration, including authentication details, environment variables can be used with OTEL_EXPORTER_OTLP_HEADERS, see OTLP Exporter Configuration.Additionally, for trace resource attribute configuration such as Kubernetes cluster name, namespace, Pod name, etc., environment variables can also be used with OTEL_RESOURCE_ATTRIBUTES, see OTLP Kubernetes Resource.Component traceskube-apiserver tracesThe kube-apiserver generates spans for incoming HTTP requests, and for outgoing requests to webhooks, etcd, and re-entrant requests. It propagates the W3C Trace Context with outgoing requests but does not make use of the trace context attached to incoming requests, as the kube-apiserver is often a public endpoint.Enabling tracing in the kube-apiserverTo enable tracing, provide the kube-apiserver with a tracing configuration file with --tracing-config-file=<path-to-config>. This is an example config that records spans for 1 in 10000 requests, and uses the default OpenTelemetry endpoint:apiVersion: apiserver.config.k8s.io/v1 kind: TracingConfiguration # default value #endpoint: localhost:4317 samplingRatePerMillion: 100 For more information about the TracingConfiguration struct, see API server config API (v1).kubelet tracesFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)The kubelet CRI interface and authenticated http servers are instrumented to generate trace spans. As with the apiserver, the endpoint and sampling rate are configurable. Trace context prop",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-traces/",
    "id": "k8s_00329_qa_6379"
  },
  {
    "question": "How does Traces For Kubernetes System Components work?",
    "answer": "Traces For Kubernetes System ComponentsFEATURE STATE: Kubernetes v1.27 [beta]System component traces record the latency of and relationships between operations in the cluster.Kubernetes components emit traces using the OpenTelemetry Protocol with the gRPC exporter and can be collected and routed to tracing backends using an OpenTelemetry Collector.Trace CollectionKubernetes components have built-in gRPC exporters for OTLP to export traces, either with an OpenTelemetry Collector, or without an OpenTelemetry Collector.For a complete guide to collecting traces and using the collector, see Getting Started with the OpenTelemetry Collector. However, there are a few things to note that are specific to Kubernetes components.By default, Kubernetes components export traces using the grpc exporter for OTLP on the IANA OpenTelemetry port, 4317. As an example, if the collector is running as a sidecar to a Kubernetes component, the following receiver configuration will collect spans and log them to standard output:receivers: otlp: protocols: grpc: exporters: # Replace this exporter with the exporter for your backend exporters: debug: verbosity: detailed service: pipelines: traces: receivers: [otlp] exporters: [debug] To directly emit traces to a backend without utilizing a collector, specify the endpoint field in the Kubernetes tracing configuration file with the desired trace backend address. This method negates the need for a collector and simplifies the overall structure.For trace backend header configuration, including authentication details, environment variables can be used with OTEL_EXPORTER_OTLP_HEADERS, see OTLP Exporter Configuration.Additionally, for trace resource attribute configuration such as Kubernetes cluster name, namespace, Pod name, etc., environment variables can also be used with OTEL_RESOURCE_ATTRIBUTES, see OTLP Kubernetes Resource.Component traceskube-apiserver tracesThe kube-apiserver generates spans for incoming HTTP requests, and for outgoing requests to webhooks, etcd, and re-entrant requests. It propagates the W3C Trace Context with outgoing requests but does not make use of the trace context attached to incoming requests, as the kube-apiserver is often a public endpoint.Enabling tracing in the kube-apiserverTo enable tracing, provide the kube-apiserver with a tracing configuration file with --tracing-config-file=<path-to-config>. This is an example config that records spans for 1 in 10000 requests, and uses the default OpenTelemetry endpoint:apiVersion: apiserver.config.k8s.io/v1 kind: TracingConfiguration # default value #endpoint: localhost:4317 samplingRatePerMillion: 100 For more information about the TracingConfiguration struct, see API server config API (v1).kubelet tracesFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)The kubelet CRI interface and authenticated http servers are instrumented to generate trace spans. As with the apiserver, the endpoint and sampling rate are configurable. Trace context prop",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-traces/",
    "id": "k8s_00329_qa_6380"
  },
  {
    "question": "When would you use Traces For Kubernetes System Components?",
    "answer": "Traces For Kubernetes System ComponentsFEATURE STATE: Kubernetes v1.27 [beta]System component traces record the latency of and relationships between operations in the cluster.Kubernetes components emit traces using the OpenTelemetry Protocol with the gRPC exporter and can be collected and routed to tracing backends using an OpenTelemetry Collector.Trace CollectionKubernetes components have built-in gRPC exporters for OTLP to export traces, either with an OpenTelemetry Collector, or without an OpenTelemetry Collector.For a complete guide to collecting traces and using the collector, see Getting Started with the OpenTelemetry Collector. However, there are a few things to note that are specific to Kubernetes components.By default, Kubernetes components export traces using the grpc exporter for OTLP on the IANA OpenTelemetry port, 4317. As an example, if the collector is running as a sidecar to a Kubernetes component, the following receiver configuration will collect spans and log them to standard output:receivers: otlp: protocols: grpc: exporters: # Replace this exporter with the exporter for your backend exporters: debug: verbosity: detailed service: pipelines: traces: receivers: [otlp] exporters: [debug] To directly emit traces to a backend without utilizing a collector, specify the endpoint field in the Kubernetes tracing configuration file with the desired trace backend address. This method negates the need for a collector and simplifies the overall structure.For trace backend header configuration, including authentication details, environment variables can be used with OTEL_EXPORTER_OTLP_HEADERS, see OTLP Exporter Configuration.Additionally, for trace resource attribute configuration such as Kubernetes cluster name, namespace, Pod name, etc., environment variables can also be used with OTEL_RESOURCE_ATTRIBUTES, see OTLP Kubernetes Resource.Component traceskube-apiserver tracesThe kube-apiserver generates spans for incoming HTTP requests, and for outgoing requests to webhooks, etcd, and re-entrant requests. It propagates the W3C Trace Context with outgoing requests but does not make use of the trace context attached to incoming requests, as the kube-apiserver is often a public endpoint.Enabling tracing in the kube-apiserverTo enable tracing, provide the kube-apiserver with a tracing configuration file with --tracing-config-file=<path-to-config>. This is an example config that records spans for 1 in 10000 requests, and uses the default OpenTelemetry endpoint:apiVersion: apiserver.config.k8s.io/v1 kind: TracingConfiguration # default value #endpoint: localhost:4317 samplingRatePerMillion: 100 For more information about the TracingConfiguration struct, see API server config API (v1).kubelet tracesFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)The kubelet CRI interface and authenticated http servers are instrumented to generate trace spans. As with the apiserver, the endpoint and sampling rate are configurable. Trace context prop",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-traces/",
    "id": "k8s_00329_qa_6381"
  },
  {
    "question": "What are the benefits of Traces For Kubernetes System Components?",
    "answer": "Traces For Kubernetes System ComponentsFEATURE STATE: Kubernetes v1.27 [beta]System component traces record the latency of and relationships between operations in the cluster.Kubernetes components emit traces using the OpenTelemetry Protocol with the gRPC exporter and can be collected and routed to tracing backends using an OpenTelemetry Collector.Trace CollectionKubernetes components have built-in gRPC exporters for OTLP to export traces, either with an OpenTelemetry Collector, or without an OpenTelemetry Collector.For a complete guide to collecting traces and using the collector, see Getting Started with the OpenTelemetry Collector. However, there are a few things to note that are specific to Kubernetes components.By default, Kubernetes components export traces using the grpc exporter for OTLP on the IANA OpenTelemetry port, 4317. As an example, if the collector is running as a sidecar to a Kubernetes component, the following receiver configuration will collect spans and log them to standard output:receivers: otlp: protocols: grpc: exporters: # Replace this exporter with the exporter for your backend exporters: debug: verbosity: detailed service: pipelines: traces: receivers: [otlp] exporters: [debug] To directly emit traces to a backend without utilizing a collector, specify the endpoint field in the Kubernetes tracing configuration file with the desired trace backend address. This method negates the need for a collector and simplifies the overall structure.For trace backend header configuration, including authentication details, environment variables can be used with OTEL_EXPORTER_OTLP_HEADERS, see OTLP Exporter Configuration.Additionally, for trace resource attribute configuration such as Kubernetes cluster name, namespace, Pod name, etc., environment variables can also be used with OTEL_RESOURCE_ATTRIBUTES, see OTLP Kubernetes Resource.Component traceskube-apiserver tracesThe kube-apiserver generates spans for incoming HTTP requests, and for outgoing requests to webhooks, etcd, and re-entrant requests. It propagates the W3C Trace Context with outgoing requests but does not make use of the trace context attached to incoming requests, as the kube-apiserver is often a public endpoint.Enabling tracing in the kube-apiserverTo enable tracing, provide the kube-apiserver with a tracing configuration file with --tracing-config-file=<path-to-config>. This is an example config that records spans for 1 in 10000 requests, and uses the default OpenTelemetry endpoint:apiVersion: apiserver.config.k8s.io/v1 kind: TracingConfiguration # default value #endpoint: localhost:4317 samplingRatePerMillion: 100 For more information about the TracingConfiguration struct, see API server config API (v1).kubelet tracesFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)The kubelet CRI interface and authenticated http servers are instrumented to generate trace spans. As with the apiserver, the endpoint and sampling rate are configurable. Trace context prop",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-traces/",
    "id": "k8s_00329_qa_6382"
  },
  {
    "question": "What is Traces For Kubernetes System Components?",
    "answer": "S y s t e m   c o m p o n e n t   t r a c e s   r e c o r d   t h e   l a t e n c y   o f   a n d   r e l a t i o n s h i p s   b e t w e e n   o p e r a t i o n s   i n   t h e   c l u s t e r .   K u b e r n e t e s   c o m p o n e n t s   e m i t   t r a c e s   u s i n g   t h e   O p e n T e l e m e t r y   P r o t o c o l   w i t h   t h e   g R P C   e x p o r t e r   a n d   c a n   b e   c o l l e c t e d   a n d   r o u t e d   t o   t r a c i n g   b a c k e n d s   u s i n g   a n   O p e n T e l e m e t r y   C o l l e c t o r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-traces/",
    "id": "k8s_00329_section_1_6383"
  },
  {
    "question": "What is Trace Collection?",
    "answer": "K u b e r n e t e s   c o m p o n e n t s   h a v e   b u i l t - i n   g R P C   e x p o r t e r s   f o r   O T L P   t o   e x p o r t   t r a c e s ,   e i t h e r   w i t h   a n   O p e n T e l e m e t r y   C o l l e c t o r ,   o r   w i t h o u t   a n   O p e n T e l e m e t r y   C o l l e c t o r .   F o r   a   c o m p l e t e   g u i d e   t o   c o l l e c t i n g   t r a c e s   a n d   u s i n g   t h e   c o l l e c t o r ,   s e e   G e t t i n g   S t a r t e d   w i t h   t h e   O p e n T e l e m e t r y   C o l l e c t o r .   H o w e v e r ,   t h e r e   a r e   a   f e w   t h i n g s   t o   n o t e   t h a t   a r e   s p e c i f i c   t o   K u b e r n e t e s   c o m p o n e n t s .   B y   d e f a u l t ,   K u b e r n e t e s   c o m p o n e n t s   e x p o r t   t r a c e s   u s i n g   t h e   g r p c   e x p o r t e r   f o r   O T L P   o n   t h e   I A N A   O p e n T e l e m e t r y   p o r t ,   4 3 1 7 .   A s   a n   e x a m p l e ,   i f   t h e   c o l l e c t o r   i s   r u n n i n g   a s   a   s i d e c a r   t o   a   K u b e r n e t e s   c o m p o n e n t ,   t h e   f o l l o w i n g   r e c e i v e r   c o n f i g u r a t i o n   w i l l   c o l l e c t   s p a n s   a n d   l o g   t h e m   t o   s t a n d a r d   o u t p u t :   r e c e i v e r s :   o t l p :   p r o t o c o l s :   g r p c :   e x p o r t e r s :   #   R e p l a c e   t h i s   e x p o r t e r   w i t h   t h e   e x p o r t e r   f o r   y o u r   b a c k e n d   e x p o r t e r s :   d e b u g :   v e r b o s i t y :   d e t a i l e d   s e r v i c e :   p i p e l i n e s :   t r a c e s :   r e c e i v e r s :   [ o t l p ]   e x p o r t e r s :   [ d e b u g ]   T o   d i r e c t l y   e m i t   t r a c e s   t o   a   b a c k e n d   w i t h o u t   u t i l i z i n g   a   c o l l e c t o r ,   s p e c i f y   t h e   e n d p o i n t   f i e l d   i n   t h e   K u b e r n e t e s   t r a c i n g   c o n f i g u r a t i o n   f i l e   ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-traces/",
    "id": "k8s_00329_section_2_6384"
  },
  {
    "question": "What is kube-apiserver traces?",
    "answer": "T h e   k u b e - a p i s e r v e r   g e n e r a t e s   s p a n s   f o r   i n c o m i n g   H T T P   r e q u e s t s ,   a n d   f o r   o u t g o i n g   r e q u e s t s   t o   w e b h o o k s ,   e t c d ,   a n d   r e - e n t r a n t   r e q u e s t s .   I t   p r o p a g a t e s   t h e   W 3 C   T r a c e   C o n t e x t   w i t h   o u t g o i n g   r e q u e s t s   b u t   d o e s   n o t   m a k e   u s e   o f   t h e   t r a c e   c o n t e x t   a t t a c h e d   t o   i n c o m i n g   r e q u e s t s ,   a s   t h e   k u b e - a p i s e r v e r   i s   o f t e n   a   p u b l i c   e n d p o i n t .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-traces/",
    "id": "k8s_00329_section_3_6385"
  },
  {
    "question": "What is Enabling tracing in the kube-apiserver?",
    "answer": "T o   e n a b l e   t r a c i n g ,   p r o v i d e   t h e   k u b e - a p i s e r v e r   w i t h   a   t r a c i n g   c o n f i g u r a t i o n   f i l e   w i t h   - - t r a c i n g - c o n f i g - f i l e = < p a t h - t o - c o n f i g > .   T h i s   i s   a n   e x a m p l e   c o n f i g   t h a t   r e c o r d s   s p a n s   f o r   1   i n   1 0 0 0 0   r e q u e s t s ,   a n d   u s e s   t h e   d e f a u l t   O p e n T e l e m e t r y   e n d p o i n t :   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   T r a c i n g C o n f i g u r a t i o n   #   d e f a u l t   v a l u e   # e n d p o i n t :   l o c a l h o s t : 4 3 1 7   s a m p l i n g R a t e P e r M i l l i o n :   1 0 0   F o r   m o r e   i n f o r m a t i o n   a b o u t   t h e   T r a c i n g C o n f i g u r a t i o n   s t r u c t ,   s e e   A P I   s e r v e r   c o n f i g   A P I   ( v 1 ) .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-traces/",
    "id": "k8s_00329_section_4_6386"
  },
  {
    "question": "What is kubelet traces?",
    "answer": "T h e   k u b e l e t   C R I   i n t e r f a c e   a n d   a u t h e n t i c a t e d   h t t p   s e r v e r s   a r e   i n s t r u m e n t e d   t o   g e n e r a t e   t r a c e   s p a n s .   A s   w i t h   t h e   a p i s e r v e r ,   t h e   e n d p o i n t   a n d   s a m p l i n g   r a t e   a r e   c o n f i g u r a b l e .   T r a c e   c o n t e x t   p r o p a g a t i o n   i s   a l s o   c o n f i g u r e d .   A   p a r e n t   s p a n ' s   s a m p l i n g   d e c i s i o n   i s   a l w a y s   r e s p e c t e d .   A   p r o v i d e d   t r a c i n g   c o n f i g u r a t i o n   s a m p l i n g   r a t e   w i l l   a p p l y   t o   s p a n s   w i t h o u t   a   p a r e n t .   E n a b l e d   w i t h o u t   a   c o n f i g u r e d   e n d p o i n t ,   t h e   d e f a u l t   O p e n T e l e m e t r y   C o l l e c t o r   r e c e i v e r   a d d r e s s   o f   \" l o c a l h o s t : 4 3 1 7 \"   i s   s e t .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-traces/",
    "id": "k8s_00329_section_3_6387"
  },
  {
    "question": "What is Enabling tracing in the kubelet?",
    "answer": "T o   e n a b l e   t r a c i n g ,   a p p l y   t h e   t r a c i n g   c o n f i g u r a t i o n .   T h i s   i s   a n   e x a m p l e   s n i p p e t   o f   a   k u b e l e t   c o n f i g   t h a t   r e c o r d s   s p a n s   f o r   1   i n   1 0 0 0 0   r e q u e s t s ,   a n d   u s e s   t h e   d e f a u l t   O p e n T e l e m e t r y   e n d p o i n t :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   t r a c i n g :   #   d e f a u l t   v a l u e   # e n d p o i n t :   l o c a l h o s t : 4 3 1 7   s a m p l i n g R a t e P e r M i l l i o n :   1 0 0   I f   t h e   s a m p l i n g R a t e P e r M i l l i o n   i s   s e t   t o   o n e   m i l l i o n   ( 1 0 0 0 0 0 0 ) ,   t h e n   e v e r y   s p a n   w i l l   b e   s e n t   t o   t h e   e x p o r t e r .   T h e   k u b e l e t   i n   K u b e r n e t e s   v 1 . 3 4   c o l l e c t s   s p a n s   f r o m   t h e   g a r b a g e   c o l l e c t i o n ,   p o d   s y n c h r o n i z a t i o n   r o u t i n e   a s   w e l l   a s   e v e r y   g R P C   m e t h o d .   T h e   k u b e l e t   p r o p a g a t e s   t r a c e   c o n t e x t   w i t h   g R P C   r e q u e s t s   s o   t h a t   c o n t a i n e r   r u n t i m e s   w i t h   t r a c e   i n s t r u m e n t a t i o n ,   s u c h   a s   C R I - O   a n d   c o n t a i n e r d ,   c a n   a s s o c i a t e   t h e i r   e x p o r t e d   s p a n s   w i t h   t h e   t r a c e   c o n t e x t   f r o m   t h e   k u b e l e t .   T h e   r e s u l t i n g   t r a c e s   w i l l   h a v e   p a r e n t - c h i l d   l i n k s   b e t w e e n   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   s p a n s ,   p r o v i d i n g   h e l p f u l   c o n t e x t   w h e n   d e b u g g i n g   n o d e   i s s u e s .   P l e a s e   n o t e   t h a t   e x p o r t i n g   s p a n s   a l w a y s   c o m e s   w i t h   a   s m ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-traces/",
    "id": "k8s_00329_section_4_6388"
  },
  {
    "question": "What is Stability?",
    "answer": "T r a c i n g   i n s t r u m e n t a t i o n   i s   s t i l l   u n d e r   a c t i v e   d e v e l o p m e n t ,   a n d   m a y   c h a n g e   i n   a   v a r i e t y   o f   w a y s .   T h i s   i n c l u d e s   s p a n   n a m e s ,   a t t a c h e d   a t t r i b u t e s ,   i n s t r u m e n t e d   e n d p o i n t s ,   e t c .   U n t i l   t h i s   f e a t u r e   g r a d u a t e s   t o   s t a b l e ,   t h e r e   a r e   n o   g u a r a n t e e s   o f   b a c k w a r d s   c o m p a t i b i l i t y   f o r   t r a c i n g   i n s t r u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-traces/",
    "id": "k8s_00329_section_2_6389"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   G e t t i n g   S t a r t e d   w i t h   t h e   O p e n T e l e m e t r y   C o l l e c t o r R e a d   a b o u t   O T L P   E x p o r t e r   C o n f i g u r a t i o n",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/system-traces/",
    "id": "k8s_00329_section_2_6390"
  },
  {
    "question": "What is kubectl plugin?",
    "answer": "kubectl pluginSynopsisProvides utilities for interacting with plugins.Plugins provide extended functionality that is not part of the major command-line distribution. Please refer to the documentation and examples for more information about how write your own plugins.The easiest way to discover and install plugins is via the kubernetes sub-project krew: [krew.sigs.k8s.io]. To install krew, visit https://krew.sigs.k8s.io/docs/user-guide/setup/installkubectl plugin [flags] Examples # List all available plugins kubectl plugin list # List only binary names of available plugins without paths kubectl plugin list --name-only Options-h, --helphelp for pluginParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_plugin/",
    "id": "k8s_00330_qa_6391"
  },
  {
    "question": "How does kubectl plugin work?",
    "answer": "kubectl pluginSynopsisProvides utilities for interacting with plugins.Plugins provide extended functionality that is not part of the major command-line distribution. Please refer to the documentation and examples for more information about how write your own plugins.The easiest way to discover and install plugins is via the kubernetes sub-project krew: [krew.sigs.k8s.io]. To install krew, visit https://krew.sigs.k8s.io/docs/user-guide/setup/installkubectl plugin [flags] Examples # List all available plugins kubectl plugin list # List only binary names of available plugins without paths kubectl plugin list --name-only Options-h, --helphelp for pluginParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_plugin/",
    "id": "k8s_00330_qa_6392"
  },
  {
    "question": "When would you use kubectl plugin?",
    "answer": "kubectl pluginSynopsisProvides utilities for interacting with plugins.Plugins provide extended functionality that is not part of the major command-line distribution. Please refer to the documentation and examples for more information about how write your own plugins.The easiest way to discover and install plugins is via the kubernetes sub-project krew: [krew.sigs.k8s.io]. To install krew, visit https://krew.sigs.k8s.io/docs/user-guide/setup/installkubectl plugin [flags] Examples # List all available plugins kubectl plugin list # List only binary names of available plugins without paths kubectl plugin list --name-only Options-h, --helphelp for pluginParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_plugin/",
    "id": "k8s_00330_qa_6393"
  },
  {
    "question": "What are the benefits of kubectl plugin?",
    "answer": "kubectl pluginSynopsisProvides utilities for interacting with plugins.Plugins provide extended functionality that is not part of the major command-line distribution. Please refer to the documentation and examples for more information about how write your own plugins.The easiest way to discover and install plugins is via the kubernetes sub-project krew: [krew.sigs.k8s.io]. To install krew, visit https://krew.sigs.k8s.io/docs/user-guide/setup/installkubectl plugin [flags] Examples # List all available plugins kubectl plugin list # List only binary names of available plugins without paths kubectl plugin list --name-only Options-h, --helphelp for pluginParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_plugin/",
    "id": "k8s_00330_qa_6394"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r o v i d e s   u t i l i t i e s   f o r   i n t e r a c t i n g   w i t h   p l u g i n s .   P l u g i n s   p r o v i d e   e x t e n d e d   f u n c t i o n a l i t y   t h a t   i s   n o t   p a r t   o f   t h e   m a j o r   c o m m a n d - l i n e   d i s t r i b u t i o n .   P l e a s e   r e f e r   t o   t h e   d o c u m e n t a t i o n   a n d   e x a m p l e s   f o r   m o r e   i n f o r m a t i o n   a b o u t   h o w   w r i t e   y o u r   o w n   p l u g i n s .   T h e   e a s i e s t   w a y   t o   d i s c o v e r   a n d   i n s t a l l   p l u g i n s   i s   v i a   t h e   k u b e r n e t e s   s u b - p r o j e c t   k r e w :   [ k r e w . s i g s . k 8 s . i o ] .   T o   i n s t a l l   k r e w ,   v i s i t   h t t p s : / / k r e w . s i g s . k 8 s . i o / d o c s / u s e r - g u i d e / s e t u p / i n s t a l l   k u b e c t l   p l u g i n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_plugin/",
    "id": "k8s_00330_section_2_6395"
  },
  {
    "question": "What is Examples?",
    "answer": "#   L i s t   a l l   a v a i l a b l e   p l u g i n s   k u b e c t l   p l u g i n   l i s t   #   L i s t   o n l y   b i n a r y   n a m e s   o f   a v a i l a b l e   p l u g i n s   w i t h o u t   p a t h s   k u b e c t l   p l u g i n   l i s t   - - n a m e - o n l y",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_plugin/",
    "id": "k8s_00330_section_2_6396"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   p l u g i n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_plugin/",
    "id": "k8s_00330_section_2_6397"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_plugin/",
    "id": "k8s_00330_section_2_6398"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   p l u g i n   l i s t   -   L i s t   a l l   v i s i b l e   p l u g i n   e x e c u t a b l e s   o n   a   u s e r ' s   P A T H   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_plugin/",
    "id": "k8s_00330_section_2_6399"
  },
  {
    "question": "What is Opening a pull request?",
    "answer": "Opening a pull requestNote:Code developers: If you are documenting a new feature for an upcoming Kubernetes release, see Document a new feature.To contribute new content pages or improve existing content pages, open a pull request (PR). Make sure you follow all the requirements in the Before you begin section.If your change is small, or you're unfamiliar with git, read Changes using GitHub to learn how to edit a page.If your changes are large, read Work from a local fork to learn how to make changes locally on your computer.Changes using GitHubIf you're less experienced with git workflows, here's an easier method of opening a pull request. Figure 1 outlines the steps and the details follow.flowchart LR A([fa:fa-user NewContributor]) --- id1[(kubernetes/websiteGitHub)] subgraph tasks[Changes using GitHub] direction TB 0[ ] -.- 1[1.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_qa_6400"
  },
  {
    "question": "How does Opening a pull request work?",
    "answer": "Opening a pull requestNote:Code developers: If you are documenting a new feature for an upcoming Kubernetes release, see Document a new feature.To contribute new content pages or improve existing content pages, open a pull request (PR). Make sure you follow all the requirements in the Before you begin section.If your change is small, or you're unfamiliar with git, read Changes using GitHub to learn how to edit a page.If your changes are large, read Work from a local fork to learn how to make changes locally on your computer.Changes using GitHubIf you're less experienced with git workflows, here's an easier method of opening a pull request. Figure 1 outlines the steps and the details follow.flowchart LR A([fa:fa-user NewContributor]) --- id1[(kubernetes/websiteGitHub)] subgraph tasks[Changes using GitHub] direction TB 0[ ] -.- 1[1.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_qa_6401"
  },
  {
    "question": "When would you use Opening a pull request?",
    "answer": "Opening a pull requestNote:Code developers: If you are documenting a new feature for an upcoming Kubernetes release, see Document a new feature.To contribute new content pages or improve existing content pages, open a pull request (PR). Make sure you follow all the requirements in the Before you begin section.If your change is small, or you're unfamiliar with git, read Changes using GitHub to learn how to edit a page.If your changes are large, read Work from a local fork to learn how to make changes locally on your computer.Changes using GitHubIf you're less experienced with git workflows, here's an easier method of opening a pull request. Figure 1 outlines the steps and the details follow.flowchart LR A([fa:fa-user NewContributor]) --- id1[(kubernetes/websiteGitHub)] subgraph tasks[Changes using GitHub] direction TB 0[ ] -.- 1[1.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_qa_6402"
  },
  {
    "question": "What are the benefits of Opening a pull request?",
    "answer": "Opening a pull requestNote:Code developers: If you are documenting a new feature for an upcoming Kubernetes release, see Document a new feature.To contribute new content pages or improve existing content pages, open a pull request (PR). Make sure you follow all the requirements in the Before you begin section.If your change is small, or you're unfamiliar with git, read Changes using GitHub to learn how to edit a page.If your changes are large, read Work from a local fork to learn how to make changes locally on your computer.Changes using GitHubIf you're less experienced with git workflows, here's an easier method of opening a pull request. Figure 1 outlines the steps and the details follow.flowchart LR A([fa:fa-user NewContributor]) --- id1[(kubernetes/websiteGitHub)] subgraph tasks[Changes using GitHub] direction TB 0[ ] -.- 1[1.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_qa_6403"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   c o n t r i b u t e   n e w   c o n t e n t   p a g e s   o r   i m p r o v e   e x i s t i n g   c o n t e n t   p a g e s ,   o p e n   a   p u l l   r e q u e s t   ( P R ) .   M a k e   s u r e   y o u   f o l l o w   a l l   t h e   r e q u i r e m e n t s   i n   t h e   B e f o r e   y o u   b e g i n   s e c t i o n .   I f   y o u r   c h a n g e   i s   s m a l l ,   o r   y o u ' r e   u n f a m i l i a r   w i t h   g i t ,   r e a d   C h a n g e s   u s i n g   G i t H u b   t o   l e a r n   h o w   t o   e d i t   a   p a g e .   I f   y o u r   c h a n g e s   a r e   l a r g e ,   r e a d   W o r k   f r o m   a   l o c a l   f o r k   t o   l e a r n   h o w   t o   m a k e   c h a n g e s   l o c a l l y   o n   y o u r   c o m p u t e r .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_section_4_6404"
  },
  {
    "question": "What is Changes using GitHub?",
    "answer": "I f   y o u ' r e   l e s s   e x p e r i e n c e d   w i t h   g i t   w o r k f l o w s ,   h e r e ' s   a n   e a s i e r   m e t h o d   o f   o p e n i n g   a   p u l l   r e q u e s t .   F i g u r e   1   o u t l i n e s   t h e   s t e p s   a n d   t h e   d e t a i l s   f o l l o w .   F i g u r e   1 .   S t e p s   f o r   o p e n i n g   a   P R   u s i n g   G i t H u b .   O n   t h e   p a g e   w h e r e   y o u   s e e   t h e   i s s u e ,   s e l e c t   t h e",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_section_2_6405"
  },
  {
    "question": "What is Note:?",
    "answer": "S e l e c t   P r o p o s e   c h a n g e s .   S e l e c t   C r e a t e   p u l l   r e q u e s t .   T h e   O p e n   a   p u l l   r e q u e s t   s c r e e n   a p p e a r s .   F i l l   i n   t h e   f o r m :   T h e   A d d   a   t i t l e   f i e l d   o f   t h e   p u l l   r e q u e s t   d e f a u l t s   t o   t h e   c o m m i t   s u m m a r y .   Y o u   c a n   c h a n g e   i t   i f   n e e d e d . T h e   A d d   a   d e s c r i p t i o n   f i e l d   c o n t a i n s   y o u r   e x t e n d e d   c o m m i t   m e s s a g e ,   i f   y o u   h a v e   o n e ,   a n d   s o m e   t e m p l a t e   t e x t .   A d d   t h e   d e t a i l s   t h e   t e m p l a t e   t e x t   a s k s   f o r ,   t h e n   d e l e t e   t h e   e x t r a   t e m p l a t e   t e x t . L e a v e   t h e   A l l o w   e d i t s   f r o m   m a i n t a i n e r s   c h e c k b o x   s e l e c t e d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_section_4_6406"
  },
  {
    "question": "What is Note:?",
    "answer": "S e l e c t   C r e a t e   p u l l   r e q u e s t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_section_4_6407"
  },
  {
    "question": "What is Addressing?",
    "answer": "B e f o r e   m e r g i n g   a   p u l l   r e q u e s t ,   K u b e r n e t e s   c o m m u n i t y   m e m b e r s   r e v i e w   a n d   a p p r o v e   i t .   T h e   k 8 s - c i - r o b o t   s u g g e s t s   r e v i e w e r s   b a s e d   o n   t h e   n e a r e s t   o w n e r   m e n t i o n e d   i n   t h e   p a g e s .   I f   y o u   h a v e   s o m e o n e   s p e c i f i c   i n   m i n d ,   l e a v e   a   c o m m e n t   w i t h   t h e i r   G i t H u b   u s e r n a m e   i n   i t .   I f   a   r e v i e w e r   a s k s   y o u   t o   m a k e   c h a n g e s :   G o   t o   t h e   F i l e s   c h a n g e d   t a b . S e l e c t   t h e   p e n c i l   ( e d i t )   i c o n   o n   a n y   f i l e s   c h a n g e d   b y   t h e   p u l l   r e q u e s t . M a k e   t h e   c h a n g e s   r e q u e s t e d . C o m m i t   t h e   c h a n g e s .   I f   y o u   a r e   w a i t i n g   o n   a   r e v i e w e r ,   r e a c h   o u t   o n c e   e v e r y   7   d a y s .   Y o u   c a n   a l s o   p o s t   a   m e s s a g e   i n   t h e   # s i g - d o c s   S l a c k   c h a n n e l .   W h e n   y o u r   r e v i e w   i s   c o m p l e t e ,   a   r e v i e w e r   m e r g e s   y o u r   P R   a n d   y o u r   c h a n g e s   g o   l i v e   a   f e w   m i n u t e s   l a t e r .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_section_3_6408"
  },
  {
    "question": "What is Work from a local fork?",
    "answer": "I f   y o u ' r e   m o r e   e x p e r i e n c e d   w i t h   g i t ,   o r   i f   y o u r   c h a n g e s   a r e   l a r g e r   t h a n   a   f e w   l i n e s ,   w o r k   f r o m   a   l o c a l   f o r k .   M a k e   s u r e   y o u   h a v e   g i t   i n s t a l l e d   o n   y o u r   c o m p u t e r .   Y o u   c a n   a l s o   u s e   a   g i t   U I   a p p l i c a t i o n .   F i g u r e   2   s h o w s   t h e   s t e p s   t o   f o l l o w   w h e n   y o u   w o r k   f r o m   a   l o c a l   f o r k .   T h e   d e t a i l s   f o r   e a c h   s t e p   f o l l o w .   F i g u r e   2 .   W o r k i n g   f r o m   a   l o c a l   f o r k   t o   m a k e   y o u r   c h a n g e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_section_2_6409"
  },
  {
    "question": "What is Fork the kubernetes/website repository?",
    "answer": "N a v i g a t e   t o   t h e   k u b e r n e t e s / w e b s i t e   r e p o s i t o r y . S e l e c t   F o r k .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_section_3_6410"
  },
  {
    "question": "What is Create a local clone and set the upstream?",
    "answer": "I n   a   t e r m i n a l   w i n d o w ,   c l o n e   y o u r   f o r k   a n d   u p d a t e   t h e   D o c s y   H u g o   t h e m e : g i t   c l o n e   g i t @ g i t h u b . c o m : < g i t h u b _ u s e r n a m e > / w e b s i t e   c d   w e b s i t e   N a v i g a t e   t o   t h e   n e w   w e b s i t e   d i r e c t o r y .   S e t   t h e   k u b e r n e t e s / w e b s i t e   r e p o s i t o r y   a s   t h e   u p s t r e a m   r e m o t e : c d   w e b s i t e   g i t   r e m o t e   a d d   u p s t r e a m   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / w e b s i t e . g i t   C o n f i r m   y o u r   o r i g i n   a n d   u p s t r e a m   r e p o s i t o r i e s : g i t   r e m o t e   - v   O u t p u t   i s   s i m i l a r   t o : o r i g i n   g i t @ g i t h u b . c o m : < g i t h u b _ u s e r n a m e > / w e b s i t e . g i t   ( f e t c h )   o r i g i n   g i t @ g i t h u b . c o m : < g i t h u b _ u s e r n a m e > / w e b s i t e . g i t   ( p u s h )   u p s t r e a m   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / w e b s i t e . g i t   ( f e t c h )   u p s t r e a m   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / w e b s i t e . g i t   ( p u s h )   F e t c h   c o m m i t s   f r o m   y o u r   f o r k ' s   o r i g i n / m a i n   a n d   k u b e r n e t e s / w e b s i t e ' s   u p s t r e a m / m a i n : g i t   f e t c h   o r i g i n   g i t   f e t c h   u p s t r e a m   T h i s   m a k e s   s u r e   y o u r   l o c a l   r e p o s i t o r y   i s   u p   t o   d a t e   b e f o r e   y o u   s t a r t   m a k i n g   c h a n g e s . N o t e : T h i s   w o r k f l o w   i s   d i f f e r e n t   t h a n   t h e   K u b e r n e t e s   C o m m u n i t y   G i t H u b   W o r k f l o w .   Y o u   d o   n o t   n e e d   t o   m e r g e   y o u r   l o c a l   c o p y   o f   m a i n   w i t h   u p s t r e a m / m a i n   b e f o r e   p u s h i n g   u p d a t e s   t o ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_section_3_6411"
  },
  {
    "question": "What is Create a branch?",
    "answer": "D e c i d e   w h i c h   b r a n c h   t o   b a s e   y o u r   w o r k   o n : F o r   i m p r o v e m e n t s   t o   e x i s t i n g   c o n t e n t ,   u s e   u p s t r e a m / m a i n . F o r   n e w   c o n t e n t   a b o u t   e x i s t i n g   f e a t u r e s ,   u s e   u p s t r e a m / m a i n . F o r   l o c a l i z e d   c o n t e n t ,   u s e   t h e   l o c a l i z a t i o n ' s   c o n v e n t i o n s .   F o r   m o r e   i n f o r m a t i o n ,   s e e   l o c a l i z i n g   K u b e r n e t e s   d o c u m e n t a t i o n . F o r   n e w   f e a t u r e s   i n   a n   u p c o m i n g   K u b e r n e t e s   r e l e a s e ,   u s e   t h e   f e a t u r e   b r a n c h .   F o r   m o r e   i n f o r m a t i o n ,   s e e   d o c u m e n t i n g   f o r   a   r e l e a s e . F o r   l o n g - r u n n i n g   e f f o r t s   t h a t   m u l t i p l e   S I G   D o c s   c o n t r i b u t o r s   c o l l a b o r a t e   o n ,   l i k e   c o n t e n t   r e o r g a n i z a t i o n ,   u s e   a   s p e c i f i c   f e a t u r e   b r a n c h   c r e a t e d   f o r   t h a t   e f f o r t . I f   y o u   n e e d   h e l p   c h o o s i n g   a   b r a n c h ,   a s k   i n   t h e   # s i g - d o c s   S l a c k   c h a n n e l . C r e a t e   a   n e w   b r a n c h   b a s e d   o n   t h e   b r a n c h   i d e n t i f i e d   i n   s t e p   1 .   T h i s   e x a m p l e   a s s u m e s   t h e   b a s e   b r a n c h   i s   u p s t r e a m / m a i n : g i t   c h e c k o u t   - b   < m y _ n e w _ b r a n c h >   u p s t r e a m / m a i n   M a k e   y o u r   c h a n g e s   u s i n g   a   t e x t   e d i t o r .   D e c i d e   w h i c h   b r a n c h   t o   b a s e   y o u r   w o r k   o n :   F o r   i m p r o v e m e n t s   t o   e x i s t i n g   c o n t e n t ,   u s e   u p s t r e a m / m a i n . F o r   n e w   c o n t e n t   a b o u t   e x i s t i n g   f e a t u r e s ,   u s e   u p s t r e a m / m a i n . F o r   l o ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_section_3_6412"
  },
  {
    "question": "What is Commit your changes?",
    "answer": "W h e n   y o u   a r e   r e a d y   t o   s u b m i t   a   p u l l   r e q u e s t ,   c o m m i t   y o u r   c h a n g e s .   I n   y o u r   l o c a l   r e p o s i t o r y ,   c h e c k   w h i c h   f i l e s   y o u   n e e d   t o   c o m m i t : g i t   s t a t u s   O u t p u t   i s   s i m i l a r   t o : O n   b r a n c h   < m y _ n e w _ b r a n c h >   Y o u r   b r a n c h   i s   u p   t o   d a t e   w i t h   ' o r i g i n / < m y _ n e w _ b r a n c h > ' .   C h a n g e s   n o t   s t a g e d   f o r   c o m m i t :   ( u s e   \" g i t   a d d   < f i l e > . . . \"   t o   u p d a t e   w h a t   w i l l   b e   c o m m i t t e d )   ( u s e   \" g i t   c h e c k o u t   - -   < f i l e > . . . \"   t o   d i s c a r d   c h a n g e s   i n   w o r k i n g   d i r e c t o r y )   m o d i f i e d :   c o n t e n t / e n / d o c s / c o n t r i b u t e / n e w - c o n t e n t / c o n t r i b u t i n g - c o n t e n t . m d   n o   c h a n g e s   a d d e d   t o   c o m m i t   ( u s e   \" g i t   a d d \"   a n d / o r   \" g i t   c o m m i t   - a \" )   A d d   t h e   f i l e s   l i s t e d   u n d e r   C h a n g e s   n o t   s t a g e d   f o r   c o m m i t   t o   t h e   c o m m i t : g i t   a d d   < y o u r _ f i l e _ n a m e >   R e p e a t   t h i s   f o r   e a c h   f i l e . A f t e r   a d d i n g   a l l   t h e   f i l e s ,   c r e a t e   a   c o m m i t : g i t   c o m m i t   - m   \" Y o u r   c o m m i t   m e s s a g e \"   N o t e : D o   n o t   u s e   a n y   G i t H u b   K e y w o r d s   i n   y o u r   c o m m i t   m e s s a g e .   Y o u   c a n   a d d   t h o s e   t o   t h e   p u l l   r e q u e s t   d e s c r i p t i o n   l a t e r . P u s h   y o u r   l o c a l   b r a n c h   a n d   i t s   n e w   c o m m i t   t o   y o u r   r e m o t e   f o r k : g i t   p u s h   o r i g i n   < m y _ n e w _ b r a n c h >   I n   y o u r   l o c a l   r e p o s i t o r y ,   c h e c k   w h i c h   f i l ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_section_3_6413"
  },
  {
    "question": "What is Note:?",
    "answer": "P u s h   y o u r   l o c a l   b r a n c h   a n d   i t s   n e w   c o m m i t   t o   y o u r   r e m o t e   f o r k :   g i t   p u s h   o r i g i n   < m y _ n e w _ b r a n c h >",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_section_4_6414"
  },
  {
    "question": "What is Preview your changes locally?",
    "answer": "I t ' s   a   g o o d   i d e a   t o   p r e v i e w   y o u r   c h a n g e s   l o c a l l y   b e f o r e   p u s h i n g   t h e m   o r   o p e n i n g   a   p u l l   r e q u e s t .   A   p r e v i e w   l e t s   y o u   c a t c h   b u i l d   e r r o r s   o r   m a r k d o w n   f o r m a t t i n g   p r o b l e m s .   Y o u   c a n   e i t h e r   b u i l d   t h e   w e b s i t e ' s   c o n t a i n e r   i m a g e   o r   r u n   H u g o   l o c a l l y .   B u i l d i n g   t h e   c o n t a i n e r   i m a g e   i s   s l o w e r   b u t   d i s p l a y s   H u g o   s h o r t c o d e s ,   w h i c h   c a n   b e   u s e f u l   f o r   d e b u g g i n g .   N o t e : T h e   c o m m a n d s   b e l o w   u s e   D o c k e r   a s   d e f a u l t   c o n t a i n e r   e n g i n e .   S e t   t h e   C O N T A I N E R _ E N G I N E   e n v i r o n m e n t   v a r i a b l e   t o   o v e r r i d e   t h i s   b e h a v i o u r . B u i l d   t h e   c o n t a i n e r   i m a g e   l o c a l l y Y o u   o n l y   n e e d   t h i s   s t e p   i f   y o u   a r e   t e s t i n g   a   c h a n g e   t o   t h e   H u g o   t o o l   i t s e l f #   R u n   t h i s   i n   a   t e r m i n a l   ( i f   r e q u i r e d )   m a k e   c o n t a i n e r - i m a g e   F e t c h   s u b m o d u l e   d e p e n d e n c i e s   i n   y o u r   l o c a l   r e p o s i t o r y : #   R u n   t h i s   i n   a   t e r m i n a l   m a k e   m o d u l e - i n i t   S t a r t   H u g o   i n   a   c o n t a i n e r : #   R u n   t h i s   i n   a   t e r m i n a l   m a k e   c o n t a i n e r - s e r v e   I n   a   w e b   b r o w s e r ,   n a v i g a t e   t o   h t t p : / / l o c a l h o s t : 1 3 1 3 .   H u g o   w a t c h e s   t h e   c h a n g e s   a n d   r e b u i l d s   t h e   s i t e   a s   n e e d e d . T o   s t o p   t h e   l o c a l   H u g o   i n s t a n c e ,   g o   b a c k   t o   t h e   t e r m i n a l   a n d   t y p e   C t r l + C ,   ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_section_3_6415"
  },
  {
    "question": "What is Note:?",
    "answer": "B u i l d   t h e   c o n t a i n e r   i m a g e   l o c a l l y Y o u   o n l y   n e e d   t h i s   s t e p   i f   y o u   a r e   t e s t i n g   a   c h a n g e   t o   t h e   H u g o   t o o l   i t s e l f #   R u n   t h i s   i n   a   t e r m i n a l   ( i f   r e q u i r e d )   m a k e   c o n t a i n e r - i m a g e   F e t c h   s u b m o d u l e   d e p e n d e n c i e s   i n   y o u r   l o c a l   r e p o s i t o r y : #   R u n   t h i s   i n   a   t e r m i n a l   m a k e   m o d u l e - i n i t   S t a r t   H u g o   i n   a   c o n t a i n e r : #   R u n   t h i s   i n   a   t e r m i n a l   m a k e   c o n t a i n e r - s e r v e   I n   a   w e b   b r o w s e r ,   n a v i g a t e   t o   h t t p : / / l o c a l h o s t : 1 3 1 3 .   H u g o   w a t c h e s   t h e   c h a n g e s   a n d   r e b u i l d s   t h e   s i t e   a s   n e e d e d . T o   s t o p   t h e   l o c a l   H u g o   i n s t a n c e ,   g o   b a c k   t o   t h e   t e r m i n a l   a n d   t y p e   C t r l + C ,   o r   c l o s e   t h e   t e r m i n a l   w i n d o w .   B u i l d   t h e   c o n t a i n e r   i m a g e   l o c a l l y Y o u   o n l y   n e e d   t h i s   s t e p   i f   y o u   a r e   t e s t i n g   a   c h a n g e   t o   t h e   H u g o   t o o l   i t s e l f   #   R u n   t h i s   i n   a   t e r m i n a l   ( i f   r e q u i r e d )   m a k e   c o n t a i n e r - i m a g e   F e t c h   s u b m o d u l e   d e p e n d e n c i e s   i n   y o u r   l o c a l   r e p o s i t o r y :   #   R u n   t h i s   i n   a   t e r m i n a l   m a k e   m o d u l e - i n i t   S t a r t   H u g o   i n   a   c o n t a i n e r :   #   R u n   t h i s   i n   a   t e r m i n a l   m a k e   c o n t a i n e r - s e r v e   I n   a   w e b   b r o w s e r ,   n a v i g a t e   t o   h t t p : / / l o c a l h o s t : 1 3 1 3 .   H u g o   w a t c h e s   t h e   c h a n g e s   a n d   r e b u i l d s   t h e   s i t e   a s   n e e d e d .   ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_section_4_6416"
  },
  {
    "question": "What is Open a pull request from your fork to kubernetes/website?",
    "answer": "F i g u r e   3   s h o w s   t h e   s t e p s   t o   o p e n   a   P R   f r o m   y o u r   f o r k   t o   t h e   k u b e r n e t e s / w e b s i t e .   T h e   d e t a i l s   f o l l o w .   P l e a s e ,   n o t e   t h a t   c o n t r i b u t o r s   c a n   m e n t i o n   k u b e r n e t e s / w e b s i t e   a s   k / w e b s i t e .   F i g u r e   3 .   S t e p s   t o   o p e n   a   P R   f r o m   y o u r   f o r k   t o   t h e   k u b e r n e t e s / w e b s i t e .   I n   a   w e b   b r o w s e r ,   g o   t o   t h e   k u b e r n e t e s / w e b s i t e   r e p o s i t o r y . S e l e c t   N e w   P u l l   R e q u e s t . S e l e c t   c o m p a r e   a c r o s s   f o r k s . F r o m   t h e   h e a d   r e p o s i t o r y   d r o p - d o w n   m e n u ,   s e l e c t   y o u r   f o r k . F r o m   t h e   c o m p a r e   d r o p - d o w n   m e n u ,   s e l e c t   y o u r   b r a n c h . S e l e c t   C r e a t e   P u l l   R e q u e s t . A d d   a   d e s c r i p t i o n   f o r   y o u r   p u l l   r e q u e s t : T i t l e   ( 5 0   c h a r a c t e r s   o r   l e s s ) :   S u m m a r i z e   t h e   i n t e n t   o f   t h e   c h a n g e . D e s c r i p t i o n :   D e s c r i b e   t h e   c h a n g e   i n   m o r e   d e t a i l . I f   t h e r e   i s   a   r e l a t e d   G i t H u b   i s s u e ,   i n c l u d e   F i x e s   # 1 2 3 4 5   o r   C l o s e s   # 1 2 3 4 5   i n   t h e   d e s c r i p t i o n .   G i t H u b ' s   a u t o m a t i o n   c l o s e s   t h e   m e n t i o n e d   i s s u e   a f t e r   m e r g i n g   t h e   P R   i f   u s e d .   I f   t h e r e   a r e   o t h e r   r e l a t e d   P R s ,   l i n k   t h o s e   a s   w e l l . I f   y o u   w a n t   a d v i c e   o n   s o m e t h i n g   s p e c i f i c ,   i n c l u d e   a n y   q u e s t i o n s   y o u ' d   l i k e   r e v i e w e r s   t o   t h i n k   a b o u t   i n   y o u r   d e s c r i p t i o n . S e l e c t   t h e ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_section_3_6417"
  },
  {
    "question": "What is Addressing?",
    "answer": "A f t e r   m a k i n g   y o u r   c h a n g e s ,   a m e n d   y o u r   p r e v i o u s   c o m m i t : g i t   c o m m i t   - a   - - a m e n d   - a :   c o m m i t s   a l l   c h a n g e s - - a m e n d :   a m e n d s   t h e   p r e v i o u s   c o m m i t ,   r a t h e r   t h a n   c r e a t i n g   a   n e w   o n e U p d a t e   y o u r   c o m m i t   m e s s a g e   i f   n e e d e d . U s e   g i t   p u s h   o r i g i n   < m y _ n e w _ b r a n c h >   t o   p u s h   y o u r   c h a n g e s   a n d   r e - r u n   t h e   N e t l i f y   t e s t s . N o t e : I f   y o u   u s e   g i t   c o m m i t   - m   i n s t e a d   o f   a m e n d i n g ,   y o u   m u s t   s q u a s h   y o u r   c o m m i t s   b e f o r e   m e r g i n g .   A f t e r   m a k i n g   y o u r   c h a n g e s ,   a m e n d   y o u r   p r e v i o u s   c o m m i t :   g i t   c o m m i t   - a   - - a m e n d   - a :   c o m m i t s   a l l   c h a n g e s - - a m e n d :   a m e n d s   t h e   p r e v i o u s   c o m m i t ,   r a t h e r   t h a n   c r e a t i n g   a   n e w   o n e   U p d a t e   y o u r   c o m m i t   m e s s a g e   i f   n e e d e d .   U s e   g i t   p u s h   o r i g i n   < m y _ n e w _ b r a n c h >   t o   p u s h   y o u r   c h a n g e s   a n d   r e - r u n   t h e   N e t l i f y   t e s t s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_section_3_6418"
  },
  {
    "question": "What is Changes from reviewers?",
    "answer": "S o m e t i m e s   r e v i e w e r s   c o m m i t   t o   y o u r   p u l l   r e q u e s t .   B e f o r e   m a k i n g   a n y   o t h e r   c h a n g e s ,   f e t c h   t h o s e   c o m m i t s .   F e t c h   c o m m i t s   f r o m   y o u r   r e m o t e   f o r k   a n d   r e b a s e   y o u r   w o r k i n g   b r a n c h : g i t   f e t c h   o r i g i n   g i t   r e b a s e   o r i g i n / < y o u r - b r a n c h - n a m e >   A f t e r   r e b a s i n g ,   f o r c e - p u s h   n e w   c h a n g e s   t o   y o u r   f o r k : g i t   p u s h   - - f o r c e - w i t h - l e a s e   o r i g i n   < y o u r - b r a n c h - n a m e >   F e t c h   c o m m i t s   f r o m   y o u r   r e m o t e   f o r k   a n d   r e b a s e   y o u r   w o r k i n g   b r a n c h :   g i t   f e t c h   o r i g i n   g i t   r e b a s e   o r i g i n / < y o u r - b r a n c h - n a m e >   A f t e r   r e b a s i n g ,   f o r c e - p u s h   n e w   c h a n g e s   t o   y o u r   f o r k :   g i t   p u s h   - - f o r c e - w i t h - l e a s e   o r i g i n   < y o u r - b r a n c h - n a m e >",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_section_4_6419"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   a n o t h e r   c o n t r i b u t o r   c o m m i t s   c h a n g e s   t o   t h e   s a m e   f i l e   i n   a n o t h e r   P R ,   i t   c a n   c r e a t e   a   m e r g e   c o n f l i c t .   Y o u   m u s t   r e s o l v e   a l l   m e r g e   c o n f l i c t s   i n   y o u r   P R .   U p d a t e   y o u r   f o r k   a n d   r e b a s e   y o u r   l o c a l   b r a n c h : g i t   f e t c h   o r i g i n   g i t   r e b a s e   o r i g i n / < y o u r - b r a n c h - n a m e >   T h e n   f o r c e - p u s h   t h e   c h a n g e s   t o   y o u r   f o r k : g i t   p u s h   - - f o r c e - w i t h - l e a s e   o r i g i n   < y o u r - b r a n c h - n a m e >   F e t c h   c h a n g e s   f r o m   k u b e r n e t e s / w e b s i t e ' s   u p s t r e a m / m a i n   a n d   r e b a s e   y o u r   b r a n c h : g i t   f e t c h   u p s t r e a m   g i t   r e b a s e   u p s t r e a m / m a i n   I n s p e c t   t h e   r e s u l t s   o f   t h e   r e b a s e : g i t   s t a t u s   T h i s   r e s u l t s   i n   a   n u m b e r   o f   f i l e s   m a r k e d   a s   c o n f l i c t e d . O p e n   e a c h   c o n f l i c t e d   f i l e   a n d   l o o k   f o r   t h e   c o n f l i c t   m a r k e r s :   > > > ,   < < < ,   a n d   = = = .   R e s o l v e   t h e   c o n f l i c t   a n d   d e l e t e   t h e   c o n f l i c t   m a r k e r . N o t e : F o r   m o r e   i n f o r m a t i o n ,   s e e   H o w   c o n f l i c t s   a r e   p r e s e n t e d . A d d   t h e   f i l e s   t o   t h e   c h a n g e s e t : g i t   a d d   < f i l e n a m e >   C o n t i n u e   t h e   r e b a s e : g i t   r e b a s e   - - c o n t i n u e   R e p e a t   s t e p s   2   t o   5   a s   n e e d e d . A f t e r   a p p l y i n g   a l l   c o m m i t s ,   t h e   g i t   s t a t u s   c o m m a n d   s h o w s   t h a t   t h e   r e b a s e   i s   c o m p l e t e . F o r c e - p u s h   t h e   b r a n c h   t o   y o u r   f o r k ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_section_4_6420"
  },
  {
    "question": "What is Note:?",
    "answer": "A d d   t h e   f i l e s   t o   t h e   c h a n g e s e t :   g i t   a d d   < f i l e n a m e >   C o n t i n u e   t h e   r e b a s e :   g i t   r e b a s e   - - c o n t i n u e   R e p e a t   s t e p s   2   t o   5   a s   n e e d e d .   A f t e r   a p p l y i n g   a l l   c o m m i t s ,   t h e   g i t   s t a t u s   c o m m a n d   s h o w s   t h a t   t h e   r e b a s e   i s   c o m p l e t e .   F o r c e - p u s h   t h e   b r a n c h   t o   y o u r   f o r k :   g i t   p u s h   - - f o r c e - w i t h - l e a s e   o r i g i n   < y o u r - b r a n c h - n a m e >   T h e   p u l l   r e q u e s t   n o   l o n g e r   s h o w s   a n y   c o n f l i c t s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_section_4_6421"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u r   P R   h a s   m u l t i p l e   c o m m i t s ,   y o u   m u s t   s q u a s h   t h e m   i n t o   a   s i n g l e   c o m m i t   b e f o r e   m e r g i n g   y o u r   P R .   Y o u   c a n   c h e c k   t h e   n u m b e r   o f   c o m m i t s   o n   y o u r   P R ' s   C o m m i t s   t a b   o r   b y   r u n n i n g   t h e   g i t   l o g   c o m m a n d   l o c a l l y .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_section_4_6422"
  },
  {
    "question": "What is Note:?",
    "answer": "S t a r t   a n   i n t e r a c t i v e   r e b a s e : g i t   r e b a s e   - i   H E A D ~ < n u m b e r _ o f _ c o m m i t s _ i n _ b r a n c h >   S q u a s h i n g   c o m m i t s   i s   a   f o r m   o f   r e b a s i n g .   T h e   - i   s w i t c h   t e l l s   g i t   y o u   w a n t   t o   r e b a s e   i n t e r a c t i v e l y .   H E A D ~ < n u m b e r _ o f _ c o m m i t s _ i n _ b r a n c h   i n d i c a t e s   h o w   m a n y   c o m m i t s   t o   l o o k   a t   f o r   t h e   r e b a s e . O u t p u t   i s   s i m i l a r   t o : p i c k   d 8 7 5 1 1 2 c a   O r i g i n a l   c o m m i t   p i c k   4 f a 1 6 7 b 8 0   A d d r e s s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_section_4_6423"
  },
  {
    "question": "What is Note:?",
    "answer": "S t a r t   e d i t i n g   t h e   f i l e .   C h a n g e   t h e   o r i g i n a l   t e x t :   p i c k   d 8 7 5 1 1 2 c a   O r i g i n a l   c o m m i t   p i c k   4 f a 1 6 7 b 8 0   A d d r e s s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_section_4_6424"
  },
  {
    "question": "What is Contribute to other repos?",
    "answer": "T h e   K u b e r n e t e s   p r o j e c t   c o n t a i n s   5 0 +   r e p o s i t o r i e s .   M a n y   o f   t h e s e   r e p o s i t o r i e s   c o n t a i n   d o c u m e n t a t i o n :   u s e r - f a c i n g   h e l p   t e x t ,   e r r o r   m e s s a g e s ,   A P I   r e f e r e n c e s   o r   c o d e   c o m m e n t s .   I f   y o u   s e e   t e x t   y o u ' d   l i k e   t o   i m p r o v e ,   u s e   G i t H u b   t o   s e a r c h   a l l   r e p o s i t o r i e s   i n   t h e   K u b e r n e t e s   o r g a n i z a t i o n .   T h i s   c a n   h e l p   y o u   f i g u r e   o u t   w h e r e   t o   s u b m i t   y o u r   i s s u e   o r   P R .   E a c h   r e p o s i t o r y   h a s   i t s   o w n   p r o c e s s e s   a n d   p r o c e d u r e s .   B e f o r e   y o u   f i l e   a n   i s s u e   o r   s u b m i t   a   P R ,   r e a d   t h a t   r e p o s i t o r y ' s   R E A D M E . m d ,   C O N T R I B U T I N G . m d ,   a n d   c o d e - o f - c o n d u c t . m d ,   i f   t h e y   e x i s t .   M o s t   r e p o s i t o r i e s   u s e   i s s u e   a n d   P R   t e m p l a t e s .   H a v e   a   l o o k   t h r o u g h   s o m e   o p e n   i s s u e s   a n d   P R s   t o   g e t   a   f e e l   f o r   t h a t   t e a m ' s   p r o c e s s e s .   M a k e   s u r e   t o   f i l l   o u t   t h e   t e m p l a t e s   w i t h   a s   m u c h   d e t a i l   a s   p o s s i b l e   w h e n   y o u   f i l e   i s s u e s   o r   P R s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_section_2_6425"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   R e v i e w i n g   t o   l e a r n   m o r e   a b o u t   t h e   r e v i e w   p r o c e s s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/open-a-pr/",
    "id": "k8s_00331_section_2_6426"
  },
  {
    "question": "What is Expose Pod Information to Containers Through Files?",
    "answer": "Expose Pod Information to Containers Through FilesThis page shows how a Pod can use a downwardAPI volume, to expose information about itself to containers running in the Pod. A downwardAPI volume can expose Pod fields and container fields.In Kubernetes, there are two ways to expose Pod and container fields to a running container:Environment variablesVolume files, as explained in this taskTogether, these two ways of exposing Pod and container fields are called the downward API.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesStore Pod fieldsIn this part of exercise, you create a Pod that has one container, and you project Pod-level fields into the running container as files. Here is the manifest for the Pod:pods/inject/dapi-volume.yaml apiVersion: v1 kind: Pod metadata: name: kubernetes-downwardapi-volume-example labels: zone: us-est-coast cluster: test-cluster1 rack: rack-22 annotations: build: two builder: john-doe spec: containers: - name: client-container image: registry.k8s.io/busybox:1.27.2 command: [\"sh\", \"-c\"] args: - while true; do if [[ -e /etc/podinfo/labels ]]; then echo -en '\\n\\n'; cat /etc/podinfo/labels; fi; if [[ -e /etc/podinfo/annotations ]]; then echo -en '\\n\\n'; cat /etc/podinfo/annotations; fi; sleep 5; done; volumeMounts: - name: podinfo mountPath: /etc/podinfo volumes: - name: podinfo downwardAPI: items: - path: \"labels\" fieldRef: fieldPath: metadata.labels - path: \"annotations\" fieldRef: fieldPath: metadata.annotations In the manifest, you can see that the Pod has a downwardAPI Volume, and the container mounts the volume at /etc/podinfo.Look at the items array under downwardAPI. Each element of the array defines a downwardAPI volume. The first element specifies that the value of the Pod's metadata.labels field should be stored in a file named labels. The second element specifies that the value of the Pod's annotations field should be stored in a file named annotations.Note:The fields in this example are Pod fields. They are not fields of the container in the Pod.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/inject/dapi-volume.yaml Verify that the container in the Pod is running:kubectl get pods View the container's logs:kubectl logs kubernetes-downwardapi-volume-example The output shows the contents of the labels file and the annotations file:cluster=\"test-cluster1\" rack=\"rack-22\" zone=\"us-est-coast\" build=\"two\" builder=\"john-doe\" Get a shell into the container that is running in your Pod:kubectl exec -it kubernetes-downwardapi-volume-example -- sh In your shell, view the labels file:/# cat /etc/podinfo/labels The output shows",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/",
    "id": "k8s_00332_qa_6427"
  },
  {
    "question": "How does Expose Pod Information to Containers Through Files work?",
    "answer": "Expose Pod Information to Containers Through FilesThis page shows how a Pod can use a downwardAPI volume, to expose information about itself to containers running in the Pod. A downwardAPI volume can expose Pod fields and container fields.In Kubernetes, there are two ways to expose Pod and container fields to a running container:Environment variablesVolume files, as explained in this taskTogether, these two ways of exposing Pod and container fields are called the downward API.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesStore Pod fieldsIn this part of exercise, you create a Pod that has one container, and you project Pod-level fields into the running container as files. Here is the manifest for the Pod:pods/inject/dapi-volume.yaml apiVersion: v1 kind: Pod metadata: name: kubernetes-downwardapi-volume-example labels: zone: us-est-coast cluster: test-cluster1 rack: rack-22 annotations: build: two builder: john-doe spec: containers: - name: client-container image: registry.k8s.io/busybox:1.27.2 command: [\"sh\", \"-c\"] args: - while true; do if [[ -e /etc/podinfo/labels ]]; then echo -en '\\n\\n'; cat /etc/podinfo/labels; fi; if [[ -e /etc/podinfo/annotations ]]; then echo -en '\\n\\n'; cat /etc/podinfo/annotations; fi; sleep 5; done; volumeMounts: - name: podinfo mountPath: /etc/podinfo volumes: - name: podinfo downwardAPI: items: - path: \"labels\" fieldRef: fieldPath: metadata.labels - path: \"annotations\" fieldRef: fieldPath: metadata.annotations In the manifest, you can see that the Pod has a downwardAPI Volume, and the container mounts the volume at /etc/podinfo.Look at the items array under downwardAPI. Each element of the array defines a downwardAPI volume. The first element specifies that the value of the Pod's metadata.labels field should be stored in a file named labels. The second element specifies that the value of the Pod's annotations field should be stored in a file named annotations.Note:The fields in this example are Pod fields. They are not fields of the container in the Pod.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/inject/dapi-volume.yaml Verify that the container in the Pod is running:kubectl get pods View the container's logs:kubectl logs kubernetes-downwardapi-volume-example The output shows the contents of the labels file and the annotations file:cluster=\"test-cluster1\" rack=\"rack-22\" zone=\"us-est-coast\" build=\"two\" builder=\"john-doe\" Get a shell into the container that is running in your Pod:kubectl exec -it kubernetes-downwardapi-volume-example -- sh In your shell, view the labels file:/# cat /etc/podinfo/labels The output shows",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/",
    "id": "k8s_00332_qa_6428"
  },
  {
    "question": "When would you use Expose Pod Information to Containers Through Files?",
    "answer": "Expose Pod Information to Containers Through FilesThis page shows how a Pod can use a downwardAPI volume, to expose information about itself to containers running in the Pod. A downwardAPI volume can expose Pod fields and container fields.In Kubernetes, there are two ways to expose Pod and container fields to a running container:Environment variablesVolume files, as explained in this taskTogether, these two ways of exposing Pod and container fields are called the downward API.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesStore Pod fieldsIn this part of exercise, you create a Pod that has one container, and you project Pod-level fields into the running container as files. Here is the manifest for the Pod:pods/inject/dapi-volume.yaml apiVersion: v1 kind: Pod metadata: name: kubernetes-downwardapi-volume-example labels: zone: us-est-coast cluster: test-cluster1 rack: rack-22 annotations: build: two builder: john-doe spec: containers: - name: client-container image: registry.k8s.io/busybox:1.27.2 command: [\"sh\", \"-c\"] args: - while true; do if [[ -e /etc/podinfo/labels ]]; then echo -en '\\n\\n'; cat /etc/podinfo/labels; fi; if [[ -e /etc/podinfo/annotations ]]; then echo -en '\\n\\n'; cat /etc/podinfo/annotations; fi; sleep 5; done; volumeMounts: - name: podinfo mountPath: /etc/podinfo volumes: - name: podinfo downwardAPI: items: - path: \"labels\" fieldRef: fieldPath: metadata.labels - path: \"annotations\" fieldRef: fieldPath: metadata.annotations In the manifest, you can see that the Pod has a downwardAPI Volume, and the container mounts the volume at /etc/podinfo.Look at the items array under downwardAPI. Each element of the array defines a downwardAPI volume. The first element specifies that the value of the Pod's metadata.labels field should be stored in a file named labels. The second element specifies that the value of the Pod's annotations field should be stored in a file named annotations.Note:The fields in this example are Pod fields. They are not fields of the container in the Pod.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/inject/dapi-volume.yaml Verify that the container in the Pod is running:kubectl get pods View the container's logs:kubectl logs kubernetes-downwardapi-volume-example The output shows the contents of the labels file and the annotations file:cluster=\"test-cluster1\" rack=\"rack-22\" zone=\"us-est-coast\" build=\"two\" builder=\"john-doe\" Get a shell into the container that is running in your Pod:kubectl exec -it kubernetes-downwardapi-volume-example -- sh In your shell, view the labels file:/# cat /etc/podinfo/labels The output shows",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/",
    "id": "k8s_00332_qa_6429"
  },
  {
    "question": "What are the benefits of Expose Pod Information to Containers Through Files?",
    "answer": "Expose Pod Information to Containers Through FilesThis page shows how a Pod can use a downwardAPI volume, to expose information about itself to containers running in the Pod. A downwardAPI volume can expose Pod fields and container fields.In Kubernetes, there are two ways to expose Pod and container fields to a running container:Environment variablesVolume files, as explained in this taskTogether, these two ways of exposing Pod and container fields are called the downward API.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesStore Pod fieldsIn this part of exercise, you create a Pod that has one container, and you project Pod-level fields into the running container as files. Here is the manifest for the Pod:pods/inject/dapi-volume.yaml apiVersion: v1 kind: Pod metadata: name: kubernetes-downwardapi-volume-example labels: zone: us-est-coast cluster: test-cluster1 rack: rack-22 annotations: build: two builder: john-doe spec: containers: - name: client-container image: registry.k8s.io/busybox:1.27.2 command: [\"sh\", \"-c\"] args: - while true; do if [[ -e /etc/podinfo/labels ]]; then echo -en '\\n\\n'; cat /etc/podinfo/labels; fi; if [[ -e /etc/podinfo/annotations ]]; then echo -en '\\n\\n'; cat /etc/podinfo/annotations; fi; sleep 5; done; volumeMounts: - name: podinfo mountPath: /etc/podinfo volumes: - name: podinfo downwardAPI: items: - path: \"labels\" fieldRef: fieldPath: metadata.labels - path: \"annotations\" fieldRef: fieldPath: metadata.annotations In the manifest, you can see that the Pod has a downwardAPI Volume, and the container mounts the volume at /etc/podinfo.Look at the items array under downwardAPI. Each element of the array defines a downwardAPI volume. The first element specifies that the value of the Pod's metadata.labels field should be stored in a file named labels. The second element specifies that the value of the Pod's annotations field should be stored in a file named annotations.Note:The fields in this example are Pod fields. They are not fields of the container in the Pod.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/inject/dapi-volume.yaml Verify that the container in the Pod is running:kubectl get pods View the container's logs:kubectl logs kubernetes-downwardapi-volume-example The output shows the contents of the labels file and the annotations file:cluster=\"test-cluster1\" rack=\"rack-22\" zone=\"us-est-coast\" build=\"two\" builder=\"john-doe\" Get a shell into the container that is running in your Pod:kubectl exec -it kubernetes-downwardapi-volume-example -- sh In your shell, view the labels file:/# cat /etc/podinfo/labels The output shows",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/",
    "id": "k8s_00332_qa_6430"
  },
  {
    "question": "What is Expose Pod Information to Containers Through Files?",
    "answer": "T h i s   p a g e   s h o w s   h o w   a   P o d   c a n   u s e   a   d o w n w a r d A P I   v o l u m e ,   t o   e x p o s e   i n f o r m a t i o n   a b o u t   i t s e l f   t o   c o n t a i n e r s   r u n n i n g   i n   t h e   P o d .   A   d o w n w a r d A P I   v o l u m e   c a n   e x p o s e   P o d   f i e l d s   a n d   c o n t a i n e r   f i e l d s .   I n   K u b e r n e t e s ,   t h e r e   a r e   t w o   w a y s   t o   e x p o s e   P o d   a n d   c o n t a i n e r   f i e l d s   t o   a   r u n n i n g   c o n t a i n e r :   E n v i r o n m e n t   v a r i a b l e s V o l u m e   f i l e s ,   a s   e x p l a i n e d   i n   t h i s   t a s k   T o g e t h e r ,   t h e s e   t w o   w a y s   o f   e x p o s i n g   P o d   a n d   c o n t a i n e r   f i e l d s   a r e   c a l l e d   t h e   d o w n w a r d   A P I .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/",
    "id": "k8s_00332_section_1_6431"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/",
    "id": "k8s_00332_section_2_6432"
  },
  {
    "question": "What is Store Pod fields?",
    "answer": "I n   t h i s   p a r t   o f   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   o n e   c o n t a i n e r ,   a n d   y o u   p r o j e c t   P o d - l e v e l   f i e l d s   i n t o   t h e   r u n n i n g   c o n t a i n e r   a s   f i l e s .   H e r e   i s   t h e   m a n i f e s t   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   k u b e r n e t e s - d o w n w a r d a p i - v o l u m e - e x a m p l e   l a b e l s :   z o n e :   u s - e s t - c o a s t   c l u s t e r :   t e s t - c l u s t e r 1   r a c k :   r a c k - 2 2   a n n o t a t i o n s :   b u i l d :   t w o   b u i l d e r :   j o h n - d o e   s p e c :   c o n t a i n e r s :   -   n a m e :   c l i e n t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   c o m m a n d :   [ \" s h \" ,   \" - c \" ]   a r g s :   -   w h i l e   t r u e ;   d o   i f   [ [   - e   / e t c / p o d i n f o / l a b e l s   ] ] ;   t h e n   e c h o   - e n   ' \\ n \\ n ' ;   c a t   / e t c / p o d i n f o / l a b e l s ;   f i ;   i f   [ [   - e   / e t c / p o d i n f o / a n n o t a t i o n s   ] ] ;   t h e n   e c h o   - e n   ' \\ n \\ n ' ;   c a t   / e t c / p o d i n f o / a n n o t a t i o n s ;   f i ;   s l e e p   5 ;   d o n e ;   v o l u m e M o u n t s :   -   n a m e :   p o d i n f o   m o u n t P a t h :   / e t c / p o d i n f o   v o l u m e s :   -   n a m e :   p o d i n f o   d o w n w a r d A P I :   i t e m s :   -   p a t h :   \" l a b e l s \"   f i e l d R e f :   f i e l d P a t h :   m e t a d a t a . l a b e l s   -   p a t h :   \" a n n o t a t i o n s \"   f i e l d R e f :   f i e l d P a t h :   m e t a d a t a . a n n o t a t i o n s   I n   t h e   m a n i f e s t ,   y o u   c a n   s e e   t h a t   t h e   P o d   h a s   a   d o w n w a r d A P I   V o l u m e ,   a n d   t h e   c o n t a i n e r   m o u n t s   t h e   v o l u m e   a t   / ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/",
    "id": "k8s_00332_section_2_6433"
  },
  {
    "question": "What is Note:?",
    "answer": "C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i n j e c t / d a p i - v o l u m e . y a m l   V e r i f y   t h a t   t h e   c o n t a i n e r   i n   t h e   P o d   i s   r u n n i n g :   k u b e c t l   g e t   p o d s   V i e w   t h e   c o n t a i n e r ' s   l o g s :   k u b e c t l   l o g s   k u b e r n e t e s - d o w n w a r d a p i - v o l u m e - e x a m p l e   T h e   o u t p u t   s h o w s   t h e   c o n t e n t s   o f   t h e   l a b e l s   f i l e   a n d   t h e   a n n o t a t i o n s   f i l e :   c l u s t e r = \" t e s t - c l u s t e r 1 \"   r a c k = \" r a c k - 2 2 \"   z o n e = \" u s - e s t - c o a s t \"   b u i l d = \" t w o \"   b u i l d e r = \" j o h n - d o e \"   G e t   a   s h e l l   i n t o   t h e   c o n t a i n e r   t h a t   i s   r u n n i n g   i n   y o u r   P o d :   k u b e c t l   e x e c   - i t   k u b e r n e t e s - d o w n w a r d a p i - v o l u m e - e x a m p l e   - -   s h   I n   y o u r   s h e l l ,   v i e w   t h e   l a b e l s   f i l e :   / #   c a t   / e t c / p o d i n f o / l a b e l s   T h e   o u t p u t   s h o w s   t h a t   a l l   o f   t h e   P o d ' s   l a b e l s   h a v e   b e e n   w r i t t e n   t o   t h e   l a b e l s   f i l e :   c l u s t e r = \" t e s t - c l u s t e r 1 \"   r a c k = \" r a c k - 2 2 \"   z o n e = \" u s - e s t - c o a s t \"   S i m i l a r l y ,   v i e w   t h e   a n n o t a t i o n s   f i l e :   / #   c a t   / e t c / p o d i n f o / a n n o t a t i o n s   V i e w   t h e   f i l e s   i n   t h e   / e t c / p o d i n f o   d i r e c t o r y :   / #   l s   - l a R   / e t c / p o d i n f o   I n   t h e   o u t p u t ,   y o u   c a n   s e e   t h a t   t h e   l a b e l s   a n d   a n n o t a t i o n s   f i l e s   a r e   i n   a   t e m p o r a r y   s u b d i r e c t o r y :   i n   t h i s   e x a m p l e ,   . . 2 9 8 2 _ 0 6 _ 0 2 _ 2 1 _ 4 7 _ 5 3 . ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/",
    "id": "k8s_00332_section_4_6434"
  },
  {
    "question": "What is Note:?",
    "answer": "E x i t   t h e   s h e l l :   / #   e x i t",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/",
    "id": "k8s_00332_section_4_6435"
  },
  {
    "question": "What is Store container fields?",
    "answer": "T h e   p r e c e d i n g   e x e r c i s e ,   y o u   m a d e   P o d - l e v e l   f i e l d s   a c c e s s i b l e   u s i n g   t h e   d o w n w a r d   A P I .   I n   t h i s   n e x t   e x e r c i s e ,   y o u   a r e   g o i n g   t o   p a s s   f i e l d s   t h a t   a r e   p a r t   o f   t h e   P o d   d e f i n i t i o n ,   b u t   t a k e n   f r o m   t h e   s p e c i f i c   c o n t a i n e r   r a t h e r   t h a n   f r o m   t h e   P o d   o v e r a l l .   H e r e   i s   a   m a n i f e s t   f o r   a   P o d   t h a t   a g a i n   h a s   j u s t   o n e   c o n t a i n e r :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   k u b e r n e t e s - d o w n w a r d a p i - v o l u m e - e x a m p l e - 2   s p e c :   c o n t a i n e r s :   -   n a m e :   c l i e n t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   c o m m a n d :   [ \" s h \" ,   \" - c \" ]   a r g s :   -   w h i l e   t r u e ;   d o   e c h o   - e n   ' \\ n ' ;   i f   [ [   - e   / e t c / p o d i n f o / c p u _ l i m i t   ] ] ;   t h e n   e c h o   - e n   ' \\ n ' ;   c a t   / e t c / p o d i n f o / c p u _ l i m i t ;   f i ;   i f   [ [   - e   / e t c / p o d i n f o / c p u _ r e q u e s t   ] ] ;   t h e n   e c h o   - e n   ' \\ n ' ;   c a t   / e t c / p o d i n f o / c p u _ r e q u e s t ;   f i ;   i f   [ [   - e   / e t c / p o d i n f o / m e m _ l i m i t   ] ] ;   t h e n   e c h o   - e n   ' \\ n ' ;   c a t   / e t c / p o d i n f o / m e m _ l i m i t ;   f i ;   i f   [ [   - e   / e t c / p o d i n f o / m e m _ r e q u e s t   ] ] ;   t h e n   e c h o   - e n   ' \\ n ' ;   c a t   / e t c / p o d i n f o / m e m _ r e q u e s t ;   f i ;   s l e e p   5 ;   d o n e ;   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 3 2 M i \"   c p u :   \" 1 2 5 m \"   l i m i t s :   m e m o r y :   \" 6 4 M i \"   c p u :   \" 2 5 0 m \"   v o l u m e M o u n ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/",
    "id": "k8s_00332_section_2_6436"
  },
  {
    "question": "What is Project keys to specific paths and file permissions?",
    "answer": "Y o u   c a n   p r o j e c t   k e y s   t o   s p e c i f i c   p a t h s   a n d   s p e c i f i c   p e r m i s s i o n s   o n   a   p e r - f i l e   b a s i s .   F o r   m o r e   i n f o r m a t i o n ,   s e e   S e c r e t s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/",
    "id": "k8s_00332_section_2_6437"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   t h e   s p e c   A P I   d e f i n i t i o n   f o r   P o d .   T h i s   i n c l u d e s   t h e   d e f i n i t i o n   o f   C o n t a i n e r   ( p a r t   o f   P o d ) . R e a d   t h e   l i s t   o f   a v a i l a b l e   f i e l d s   t h a t   y o u   c a n   e x p o s e   u s i n g   t h e   d o w n w a r d   A P I .   R e a d   a b o u t   v o l u m e s   i n   t h e   l e g a c y   A P I   r e f e r e n c e :   C h e c k   t h e   V o l u m e   A P I   d e f i n i t i o n   w h i c h   d e f i n e s   a   g e n e r i c   v o l u m e   i n   a   P o d   f o r   c o n t a i n e r s   t o   a c c e s s . C h e c k   t h e   D o w n w a r d A P I V o l u m e S o u r c e   A P I   d e f i n i t i o n   w h i c h   d e f i n e s   a   v o l u m e   t h a t   c o n t a i n s   D o w n w a r d   A P I   i n f o r m a t i o n . C h e c k   t h e   D o w n w a r d A P I V o l u m e F i l e   A P I   d e f i n i t i o n   w h i c h   c o n t a i n s   r e f e r e n c e s   t o   o b j e c t   o r   r e s o u r c e   f i e l d s   f o r   p o p u l a t i n g   a   f i l e   i n   t h e   D o w n w a r d   A P I   v o l u m e . C h e c k   t h e   R e s o u r c e F i e l d S e l e c t o r   A P I   d e f i n i t i o n   w h i c h   s p e c i f i e s   t h e   c o n t a i n e r   r e s o u r c e s   a n d   t h e i r   o u t p u t   f o r m a t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/",
    "id": "k8s_00332_section_2_6438"
  },
  {
    "question": "What is Volume Snapshots?",
    "answer": "Volume SnapshotsIn Kubernetes, a VolumeSnapshot represents a snapshot of a volume on a storage system. This document assumes that you are already familiar with Kubernetes persistent volumes.IntroductionSimilar to how API resources PersistentVolume and PersistentVolumeClaim are used to provision volumes for users and administrators, VolumeSnapshotContent and VolumeSnapshot API resources are provided to create volume snapshots for users and administrators.A VolumeSnapshotContent is a snapshot taken from a volume in the cluster that has been provisioned by an administrator. It is a resource in the cluster just like a PersistentVolume is a cluster resource.A VolumeSnapshot is a request for snapshot of a volume by a user. It is similar to a PersistentVolumeClaim.VolumeSnapshotClass allows you to specify different attributes belonging to a VolumeSnapshot. These attributes may differ among snapshots taken from the same volume on the storage system and therefore cannot be expressed by using the same StorageClass of a PersistentVolumeClaim.Volume snapshots provide Kubernetes users with a standardized way to copy a volume's contents at a particular point in time without creating an entirely new volume. This functionality enables, for example, database administrators to backup databases before performing edit or delete modifications.Users need to be aware of the following when using this feature:API Objects VolumeSnapshot, VolumeSnapshotContent, and VolumeSnapshotClass are CRDs, not part of the core API.VolumeSnapshot support is only available for CSI drivers.As part of the deployment process of VolumeSnapshot, the Kubernetes team provides a snapshot controller to be deployed into the control plane, and a sidecar helper container called csi-snapshotter to be deployed together with the CSI driver. The snapshot controller watches VolumeSnapshot and VolumeSnapshotContent objects and is responsible for the creation and deletion of VolumeSnapshotContent object. The sidecar csi-snapshotter watches VolumeSnapshotContent objects and triggers CreateSnapshot and DeleteSnapshot operations against a CSI endpoint.There is also a validating webhook server which provides tightened validation on snapshot objects. This should be installed by the Kubernetes distros along with the snapshot controller and CRDs, not CSI drivers. It should be installed in all Kubernetes clusters that has the snapshot feature enabled.CSI drivers may or may not have implemented the volume snapshot functionality. The CSI drivers that have provided support for volume snapshot will likely use the csi-snapshotter. See CSI Driver documentation for details.The CRDs and snapshot controller installations are the responsibility of the Kubernetes distribution.For advanced use cases, such as creating group snapshots of multiple volumes, see the external CSI Volume Group Snapshot documentation.Lifecycle of a volume snapshot and volume snapshot contentVolumeSnapshotContents are resources in the cluster. Volume",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshots/",
    "id": "k8s_00333_qa_6439"
  },
  {
    "question": "How does Volume Snapshots work?",
    "answer": "Volume SnapshotsIn Kubernetes, a VolumeSnapshot represents a snapshot of a volume on a storage system. This document assumes that you are already familiar with Kubernetes persistent volumes.IntroductionSimilar to how API resources PersistentVolume and PersistentVolumeClaim are used to provision volumes for users and administrators, VolumeSnapshotContent and VolumeSnapshot API resources are provided to create volume snapshots for users and administrators.A VolumeSnapshotContent is a snapshot taken from a volume in the cluster that has been provisioned by an administrator. It is a resource in the cluster just like a PersistentVolume is a cluster resource.A VolumeSnapshot is a request for snapshot of a volume by a user. It is similar to a PersistentVolumeClaim.VolumeSnapshotClass allows you to specify different attributes belonging to a VolumeSnapshot. These attributes may differ among snapshots taken from the same volume on the storage system and therefore cannot be expressed by using the same StorageClass of a PersistentVolumeClaim.Volume snapshots provide Kubernetes users with a standardized way to copy a volume's contents at a particular point in time without creating an entirely new volume. This functionality enables, for example, database administrators to backup databases before performing edit or delete modifications.Users need to be aware of the following when using this feature:API Objects VolumeSnapshot, VolumeSnapshotContent, and VolumeSnapshotClass are CRDs, not part of the core API.VolumeSnapshot support is only available for CSI drivers.As part of the deployment process of VolumeSnapshot, the Kubernetes team provides a snapshot controller to be deployed into the control plane, and a sidecar helper container called csi-snapshotter to be deployed together with the CSI driver. The snapshot controller watches VolumeSnapshot and VolumeSnapshotContent objects and is responsible for the creation and deletion of VolumeSnapshotContent object. The sidecar csi-snapshotter watches VolumeSnapshotContent objects and triggers CreateSnapshot and DeleteSnapshot operations against a CSI endpoint.There is also a validating webhook server which provides tightened validation on snapshot objects. This should be installed by the Kubernetes distros along with the snapshot controller and CRDs, not CSI drivers. It should be installed in all Kubernetes clusters that has the snapshot feature enabled.CSI drivers may or may not have implemented the volume snapshot functionality. The CSI drivers that have provided support for volume snapshot will likely use the csi-snapshotter. See CSI Driver documentation for details.The CRDs and snapshot controller installations are the responsibility of the Kubernetes distribution.For advanced use cases, such as creating group snapshots of multiple volumes, see the external CSI Volume Group Snapshot documentation.Lifecycle of a volume snapshot and volume snapshot contentVolumeSnapshotContents are resources in the cluster. Volume",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshots/",
    "id": "k8s_00333_qa_6440"
  },
  {
    "question": "When would you use Volume Snapshots?",
    "answer": "Volume SnapshotsIn Kubernetes, a VolumeSnapshot represents a snapshot of a volume on a storage system. This document assumes that you are already familiar with Kubernetes persistent volumes.IntroductionSimilar to how API resources PersistentVolume and PersistentVolumeClaim are used to provision volumes for users and administrators, VolumeSnapshotContent and VolumeSnapshot API resources are provided to create volume snapshots for users and administrators.A VolumeSnapshotContent is a snapshot taken from a volume in the cluster that has been provisioned by an administrator. It is a resource in the cluster just like a PersistentVolume is a cluster resource.A VolumeSnapshot is a request for snapshot of a volume by a user. It is similar to a PersistentVolumeClaim.VolumeSnapshotClass allows you to specify different attributes belonging to a VolumeSnapshot. These attributes may differ among snapshots taken from the same volume on the storage system and therefore cannot be expressed by using the same StorageClass of a PersistentVolumeClaim.Volume snapshots provide Kubernetes users with a standardized way to copy a volume's contents at a particular point in time without creating an entirely new volume. This functionality enables, for example, database administrators to backup databases before performing edit or delete modifications.Users need to be aware of the following when using this feature:API Objects VolumeSnapshot, VolumeSnapshotContent, and VolumeSnapshotClass are CRDs, not part of the core API.VolumeSnapshot support is only available for CSI drivers.As part of the deployment process of VolumeSnapshot, the Kubernetes team provides a snapshot controller to be deployed into the control plane, and a sidecar helper container called csi-snapshotter to be deployed together with the CSI driver. The snapshot controller watches VolumeSnapshot and VolumeSnapshotContent objects and is responsible for the creation and deletion of VolumeSnapshotContent object. The sidecar csi-snapshotter watches VolumeSnapshotContent objects and triggers CreateSnapshot and DeleteSnapshot operations against a CSI endpoint.There is also a validating webhook server which provides tightened validation on snapshot objects. This should be installed by the Kubernetes distros along with the snapshot controller and CRDs, not CSI drivers. It should be installed in all Kubernetes clusters that has the snapshot feature enabled.CSI drivers may or may not have implemented the volume snapshot functionality. The CSI drivers that have provided support for volume snapshot will likely use the csi-snapshotter. See CSI Driver documentation for details.The CRDs and snapshot controller installations are the responsibility of the Kubernetes distribution.For advanced use cases, such as creating group snapshots of multiple volumes, see the external CSI Volume Group Snapshot documentation.Lifecycle of a volume snapshot and volume snapshot contentVolumeSnapshotContents are resources in the cluster. Volume",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshots/",
    "id": "k8s_00333_qa_6441"
  },
  {
    "question": "What are the benefits of Volume Snapshots?",
    "answer": "Volume SnapshotsIn Kubernetes, a VolumeSnapshot represents a snapshot of a volume on a storage system. This document assumes that you are already familiar with Kubernetes persistent volumes.IntroductionSimilar to how API resources PersistentVolume and PersistentVolumeClaim are used to provision volumes for users and administrators, VolumeSnapshotContent and VolumeSnapshot API resources are provided to create volume snapshots for users and administrators.A VolumeSnapshotContent is a snapshot taken from a volume in the cluster that has been provisioned by an administrator. It is a resource in the cluster just like a PersistentVolume is a cluster resource.A VolumeSnapshot is a request for snapshot of a volume by a user. It is similar to a PersistentVolumeClaim.VolumeSnapshotClass allows you to specify different attributes belonging to a VolumeSnapshot. These attributes may differ among snapshots taken from the same volume on the storage system and therefore cannot be expressed by using the same StorageClass of a PersistentVolumeClaim.Volume snapshots provide Kubernetes users with a standardized way to copy a volume's contents at a particular point in time without creating an entirely new volume. This functionality enables, for example, database administrators to backup databases before performing edit or delete modifications.Users need to be aware of the following when using this feature:API Objects VolumeSnapshot, VolumeSnapshotContent, and VolumeSnapshotClass are CRDs, not part of the core API.VolumeSnapshot support is only available for CSI drivers.As part of the deployment process of VolumeSnapshot, the Kubernetes team provides a snapshot controller to be deployed into the control plane, and a sidecar helper container called csi-snapshotter to be deployed together with the CSI driver. The snapshot controller watches VolumeSnapshot and VolumeSnapshotContent objects and is responsible for the creation and deletion of VolumeSnapshotContent object. The sidecar csi-snapshotter watches VolumeSnapshotContent objects and triggers CreateSnapshot and DeleteSnapshot operations against a CSI endpoint.There is also a validating webhook server which provides tightened validation on snapshot objects. This should be installed by the Kubernetes distros along with the snapshot controller and CRDs, not CSI drivers. It should be installed in all Kubernetes clusters that has the snapshot feature enabled.CSI drivers may or may not have implemented the volume snapshot functionality. The CSI drivers that have provided support for volume snapshot will likely use the csi-snapshotter. See CSI Driver documentation for details.The CRDs and snapshot controller installations are the responsibility of the Kubernetes distribution.For advanced use cases, such as creating group snapshots of multiple volumes, see the external CSI Volume Group Snapshot documentation.Lifecycle of a volume snapshot and volume snapshot contentVolumeSnapshotContents are resources in the cluster. Volume",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshots/",
    "id": "k8s_00333_qa_6442"
  },
  {
    "question": "What is Volume Snapshots?",
    "answer": "I n   K u b e r n e t e s ,   a   V o l u m e S n a p s h o t   r e p r e s e n t s   a   s n a p s h o t   o f   a   v o l u m e   o n   a   s t o r a g e   s y s t e m .   T h i s   d o c u m e n t   a s s u m e s   t h a t   y o u   a r e   a l r e a d y   f a m i l i a r   w i t h   K u b e r n e t e s   p e r s i s t e n t   v o l u m e s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshots/",
    "id": "k8s_00333_section_1_6443"
  },
  {
    "question": "What is Introduction?",
    "answer": "S i m i l a r   t o   h o w   A P I   r e s o u r c e s   P e r s i s t e n t V o l u m e   a n d   P e r s i s t e n t V o l u m e C l a i m   a r e   u s e d   t o   p r o v i s i o n   v o l u m e s   f o r   u s e r s   a n d   a d m i n i s t r a t o r s ,   V o l u m e S n a p s h o t C o n t e n t   a n d   V o l u m e S n a p s h o t   A P I   r e s o u r c e s   a r e   p r o v i d e d   t o   c r e a t e   v o l u m e   s n a p s h o t s   f o r   u s e r s   a n d   a d m i n i s t r a t o r s .   A   V o l u m e S n a p s h o t C o n t e n t   i s   a   s n a p s h o t   t a k e n   f r o m   a   v o l u m e   i n   t h e   c l u s t e r   t h a t   h a s   b e e n   p r o v i s i o n e d   b y   a n   a d m i n i s t r a t o r .   I t   i s   a   r e s o u r c e   i n   t h e   c l u s t e r   j u s t   l i k e   a   P e r s i s t e n t V o l u m e   i s   a   c l u s t e r   r e s o u r c e .   A   V o l u m e S n a p s h o t   i s   a   r e q u e s t   f o r   s n a p s h o t   o f   a   v o l u m e   b y   a   u s e r .   I t   i s   s i m i l a r   t o   a   P e r s i s t e n t V o l u m e C l a i m .   V o l u m e S n a p s h o t C l a s s   a l l o w s   y o u   t o   s p e c i f y   d i f f e r e n t   a t t r i b u t e s   b e l o n g i n g   t o   a   V o l u m e S n a p s h o t .   T h e s e   a t t r i b u t e s   m a y   d i f f e r   a m o n g   s n a p s h o t s   t a k e n   f r o m   t h e   s a m e   v o l u m e   o n   t h e   s t o r a g e   s y s t e m   a n d   t h e r e f o r e   c a n n o t   b e   e x p r e s s e d   b y   u s i n g   t h e   s a m e   S t o r a g e C l a s s   o f   a   P e r s i s t e n t V o l u m e C l a i m .   V o l u m e   s n a p s h o t s   p r o v i d e   K u b e r n e t e s   u s e r s   w i t h   a   s t a n d a r d i z e d   w a y   t o   c o p y   a   v o l u m e ' s   c o n t e n t s   a t   a   p a r t i c u l a r   p o i n t   i n   t i m e   w i t h o u t   c r e a t i n g   a n   e n t i r e l ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshots/",
    "id": "k8s_00333_section_2_6444"
  },
  {
    "question": "What is Lifecycle of a volume snapshot and volume snapshot content?",
    "answer": "V o l u m e S n a p s h o t C o n t e n t s   a r e   r e s o u r c e s   i n   t h e   c l u s t e r .   V o l u m e S n a p s h o t s   a r e   r e q u e s t s   f o r   t h o s e   r e s o u r c e s .   T h e   i n t e r a c t i o n   b e t w e e n   V o l u m e S n a p s h o t C o n t e n t s   a n d   V o l u m e S n a p s h o t s   f o l l o w   t h i s   l i f e c y c l e :",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshots/",
    "id": "k8s_00333_section_2_6445"
  },
  {
    "question": "What is Provisioning Volume Snapshot?",
    "answer": "T h e r e   a r e   t w o   w a y s   s n a p s h o t s   m a y   b e   p r o v i s i o n e d :   p r e - p r o v i s i o n e d   o r   d y n a m i c a l l y   p r o v i s i o n e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshots/",
    "id": "k8s_00333_section_3_6446"
  },
  {
    "question": "What is Pre-provisioned?",
    "answer": "A   c l u s t e r   a d m i n i s t r a t o r   c r e a t e s   a   n u m b e r   o f   V o l u m e S n a p s h o t C o n t e n t s .   T h e y   c a r r y   t h e   d e t a i l s   o f   t h e   r e a l   v o l u m e   s n a p s h o t   o n   t h e   s t o r a g e   s y s t e m   w h i c h   i s   a v a i l a b l e   f o r   u s e   b y   c l u s t e r   u s e r s .   T h e y   e x i s t   i n   t h e   K u b e r n e t e s   A P I   a n d   a r e   a v a i l a b l e   f o r   c o n s u m p t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshots/",
    "id": "k8s_00333_section_4_6447"
  },
  {
    "question": "What is Dynamic?",
    "answer": "I n s t e a d   o f   u s i n g   a   p r e - e x i s t i n g   s n a p s h o t ,   y o u   c a n   r e q u e s t   t h a t   a   s n a p s h o t   t o   b e   d y n a m i c a l l y   t a k e n   f r o m   a   P e r s i s t e n t V o l u m e C l a i m .   T h e   V o l u m e S n a p s h o t C l a s s   s p e c i f i e s   s t o r a g e   p r o v i d e r - s p e c i f i c   p a r a m e t e r s   t o   u s e   w h e n   t a k i n g   a   s n a p s h o t .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshots/",
    "id": "k8s_00333_section_4_6448"
  },
  {
    "question": "What is Binding?",
    "answer": "T h e   s n a p s h o t   c o n t r o l l e r   h a n d l e s   t h e   b i n d i n g   o f   a   V o l u m e S n a p s h o t   o b j e c t   w i t h   a n   a p p r o p r i a t e   V o l u m e S n a p s h o t C o n t e n t   o b j e c t ,   i n   b o t h   p r e - p r o v i s i o n e d   a n d   d y n a m i c a l l y   p r o v i s i o n e d   s c e n a r i o s .   T h e   b i n d i n g   i s   a   o n e - t o - o n e   m a p p i n g .   I n   t h e   c a s e   o f   p r e - p r o v i s i o n e d   b i n d i n g ,   t h e   V o l u m e S n a p s h o t   w i l l   r e m a i n   u n b o u n d   u n t i l   t h e   r e q u e s t e d   V o l u m e S n a p s h o t C o n t e n t   o b j e c t   i s   c r e a t e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshots/",
    "id": "k8s_00333_section_3_6449"
  },
  {
    "question": "What is Persistent Volume Claim as Snapshot Source Protection?",
    "answer": "T h e   p u r p o s e   o f   t h i s   p r o t e c t i o n   i s   t o   e n s u r e   t h a t   i n - u s e   P e r s i s t e n t V o l u m e C l a i m   A P I   o b j e c t s   a r e   n o t   r e m o v e d   f r o m   t h e   s y s t e m   w h i l e   a   s n a p s h o t   i s   b e i n g   t a k e n   f r o m   i t   ( a s   t h i s   m a y   r e s u l t   i n   d a t a   l o s s ) .   W h i l e   a   s n a p s h o t   i s   b e i n g   t a k e n   o f   a   P e r s i s t e n t V o l u m e C l a i m ,   t h a t   P e r s i s t e n t V o l u m e C l a i m   i s   i n - u s e .   I f   y o u   d e l e t e   a   P e r s i s t e n t V o l u m e C l a i m   A P I   o b j e c t   i n   a c t i v e   u s e   a s   a   s n a p s h o t   s o u r c e ,   t h e   P e r s i s t e n t V o l u m e C l a i m   o b j e c t   i s   n o t   r e m o v e d   i m m e d i a t e l y .   I n s t e a d ,   r e m o v a l   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   o b j e c t   i s   p o s t p o n e d   u n t i l   t h e   s n a p s h o t   i s   r e a d y T o U s e   o r   a b o r t e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshots/",
    "id": "k8s_00333_section_3_6450"
  },
  {
    "question": "What is Delete?",
    "answer": "D e l e t i o n   i s   t r i g g e r e d   b y   d e l e t i n g   t h e   V o l u m e S n a p s h o t   o b j e c t ,   a n d   t h e   D e l e t i o n P o l i c y   w i l l   b e   f o l l o w e d .   I f   t h e   D e l e t i o n P o l i c y   i s   D e l e t e ,   t h e n   t h e   u n d e r l y i n g   s t o r a g e   s n a p s h o t   w i l l   b e   d e l e t e d   a l o n g   w i t h   t h e   V o l u m e S n a p s h o t C o n t e n t   o b j e c t .   I f   t h e   D e l e t i o n P o l i c y   i s   R e t a i n ,   t h e n   b o t h   t h e   u n d e r l y i n g   s n a p s h o t   a n d   V o l u m e S n a p s h o t C o n t e n t   r e m a i n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshots/",
    "id": "k8s_00333_section_3_6451"
  },
  {
    "question": "What is VolumeSnapshots?",
    "answer": "E a c h   V o l u m e S n a p s h o t   c o n t a i n s   a   s p e c   a n d   a   s t a t u s .   a p i V e r s i o n :   s n a p s h o t . s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e S n a p s h o t   m e t a d a t a :   n a m e :   n e w - s n a p s h o t - t e s t   s p e c :   v o l u m e S n a p s h o t C l a s s N a m e :   c s i - h o s t p a t h - s n a p c l a s s   s o u r c e :   p e r s i s t e n t V o l u m e C l a i m N a m e :   p v c - t e s t   p e r s i s t e n t V o l u m e C l a i m N a m e   i s   t h e   n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   d a t a   s o u r c e   f o r   t h e   s n a p s h o t .   T h i s   f i e l d   i s   r e q u i r e d   f o r   d y n a m i c a l l y   p r o v i s i o n i n g   a   s n a p s h o t .   A   v o l u m e   s n a p s h o t   c a n   r e q u e s t   a   p a r t i c u l a r   c l a s s   b y   s p e c i f y i n g   t h e   n a m e   o f   a   V o l u m e S n a p s h o t C l a s s   u s i n g   t h e   a t t r i b u t e   v o l u m e S n a p s h o t C l a s s N a m e .   I f   n o t h i n g   i s   s e t ,   t h e n   t h e   d e f a u l t   c l a s s   i s   u s e d   i f   a v a i l a b l e .   F o r   p r e - p r o v i s i o n e d   s n a p s h o t s ,   y o u   n e e d   t o   s p e c i f y   a   v o l u m e S n a p s h o t C o n t e n t N a m e   a s   t h e   s o u r c e   f o r   t h e   s n a p s h o t   a s   s h o w n   i n   t h e   f o l l o w i n g   e x a m p l e .   T h e   v o l u m e S n a p s h o t C o n t e n t N a m e   s o u r c e   f i e l d   i s   r e q u i r e d   f o r   p r e - p r o v i s i o n e d   s n a p s h o t s .   a p i V e r s i o n :   s n a p s h o t . s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e S n a p s h o t   m e t a d a t a :   n a m e :   t e s t - s n a p s h o t   s p e c :   s o u r c e :   v o l u m e S n a p s h o t C o n t e n t N a m e :   t e s t - c o n t e n t",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshots/",
    "id": "k8s_00333_section_2_6452"
  },
  {
    "question": "What is Volume Snapshot Contents?",
    "answer": "E a c h   V o l u m e S n a p s h o t C o n t e n t   c o n t a i n s   a   s p e c   a n d   s t a t u s .   I n   d y n a m i c   p r o v i s i o n i n g ,   t h e   s n a p s h o t   c o m m o n   c o n t r o l l e r   c r e a t e s   V o l u m e S n a p s h o t C o n t e n t   o b j e c t s .   H e r e   i s   a n   e x a m p l e :   a p i V e r s i o n :   s n a p s h o t . s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e S n a p s h o t C o n t e n t   m e t a d a t a :   n a m e :   s n a p c o n t e n t - 7 2 d 9 a 3 4 9 - a a c d - 4 2 d 2 - a 2 4 0 - d 7 7 5 6 5 0 d 2 4 5 5   s p e c :   d e l e t i o n P o l i c y :   D e l e t e   d r i v e r :   h o s t p a t h . c s i . k 8 s . i o   s o u r c e :   v o l u m e H a n d l e :   e e 0 c f b 9 4 - f 8 d 4 - 1 1 e 9 - b 2 d 8 - 0 2 4 2 a c 1 1 0 0 0 2   s o u r c e V o l u m e M o d e :   F i l e s y s t e m   v o l u m e S n a p s h o t C l a s s N a m e :   c s i - h o s t p a t h - s n a p c l a s s   v o l u m e S n a p s h o t R e f :   n a m e :   n e w - s n a p s h o t - t e s t   n a m e s p a c e :   d e f a u l t   u i d :   7 2 d 9 a 3 4 9 - a a c d - 4 2 d 2 - a 2 4 0 - d 7 7 5 6 5 0 d 2 4 5 5   v o l u m e H a n d l e   i s   t h e   u n i q u e   i d e n t i f i e r   o f   t h e   v o l u m e   c r e a t e d   o n   t h e   s t o r a g e   b a c k e n d   a n d   r e t u r n e d   b y   t h e   C S I   d r i v e r   d u r i n g   t h e   v o l u m e   c r e a t i o n .   T h i s   f i e l d   i s   r e q u i r e d   f o r   d y n a m i c a l l y   p r o v i s i o n i n g   a   s n a p s h o t .   I t   s p e c i f i e s   t h e   v o l u m e   s o u r c e   o f   t h e   s n a p s h o t .   F o r   p r e - p r o v i s i o n e d   s n a p s h o t s ,   y o u   ( a s   c l u s t e r   a d m i n i s t r a t o r )   a r e   r e s p o n s i b l e   f o r   c r e a t i n g   t h e   V o l u m e S n a p s h o t C o n t e n t   o b j e c t   a s   f o l l o w s .   a p i V e r s i o n : ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshots/",
    "id": "k8s_00333_section_2_6453"
  },
  {
    "question": "What is Converting the volume mode of a Snapshot?",
    "answer": "I f   t h e   V o l u m e S n a p s h o t s   A P I   i n s t a l l e d   o n   y o u r   c l u s t e r   s u p p o r t s   t h e   s o u r c e V o l u m e M o d e   f i e l d ,   t h e n   t h e   A P I   h a s   t h e   c a p a b i l i t y   t o   p r e v e n t   u n a u t h o r i z e d   u s e r s   f r o m   c o n v e r t i n g   t h e   m o d e   o f   a   v o l u m e .   T o   c h e c k   i f   y o u r   c l u s t e r   h a s   c a p a b i l i t y   f o r   t h i s   f e a t u r e ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   $   k u b e c t l   g e t   c r d   v o l u m e s n a p s h o t c o n t e n t   - o   y a m l   I f   y o u   w a n t   t o   a l l o w   u s e r s   t o   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   f r o m   a n   e x i s t i n g   V o l u m e S n a p s h o t ,   b u t   w i t h   a   d i f f e r e n t   v o l u m e   m o d e   t h a n   t h e   s o u r c e ,   t h e   a n n o t a t i o n   s n a p s h o t . s t o r a g e . k u b e r n e t e s . i o / a l l o w - v o l u m e - m o d e - c h a n g e :   \" t r u e \" n e e d s   t o   b e   a d d e d   t o   t h e   V o l u m e S n a p s h o t C o n t e n t   t h a t   c o r r e s p o n d s   t o   t h e   V o l u m e S n a p s h o t .   F o r   p r e - p r o v i s i o n e d   s n a p s h o t s ,   s p e c . s o u r c e V o l u m e M o d e   n e e d s   t o   b e   p o p u l a t e d   b y   t h e   c l u s t e r   a d m i n i s t r a t o r .   A n   e x a m p l e   V o l u m e S n a p s h o t C o n t e n t   r e s o u r c e   w i t h   t h i s   f e a t u r e   e n a b l e d   w o u l d   l o o k   l i k e :   a p i V e r s i o n :   s n a p s h o t . s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e S n a p s h o t C o n t e n t   m e t a d a t a :   n a m e :   n e w - s n a p s h o t - c o n t e n t - t e s t   a n n o t a t i o n s :   -   s n a p s h o t . s t o r a g e . k u b e r n e t e s . i o / a l l o w - v o l u m e - m o d e - c h a n g ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshots/",
    "id": "k8s_00333_section_2_6454"
  },
  {
    "question": "What is Provisioning Volumes from Snapshots?",
    "answer": "Y o u   c a n   p r o v i s i o n   a   n e w   v o l u m e ,   p r e - p o p u l a t e d   w i t h   d a t a   f r o m   a   s n a p s h o t ,   b y   u s i n g   t h e   d a t a S o u r c e   f i e l d   i n   t h e   P e r s i s t e n t V o l u m e C l a i m   o b j e c t .   F o r   m o r e   d e t a i l s ,   s e e   V o l u m e   S n a p s h o t   a n d   R e s t o r e   V o l u m e   f r o m   S n a p s h o t .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volume-snapshots/",
    "id": "k8s_00333_section_2_6455"
  },
  {
    "question": "What is Policies?",
    "answer": "PoliciesManage security and best-practices with policies.Kubernetes policies are configurations that manage other configurations or runtime behaviors. Kubernetes offers various forms of policies, described below:Apply policies using API objectsSome API objects act as policies. Here are some examples:NetworkPolicies can be used to restrict ingress and egress traffic for a workload.LimitRanges manage resource allocation constraints across different object kinds.ResourceQuotas limit resource consumption for a namespace.Apply policies using admission controllersAn admission controller runs in the API server and can validate or mutate API requests. Some admission controllers act to apply policies. For example, the AlwaysPullImages admission controller modifies a new Pod to set the image pull policy to Always.Kubernetes has several built-in admission controllers that are configurable via the API server --enable-admission-plugins flag.Details on admission controllers, with the complete list of available admission controllers, are documented in a dedicated section:Admission ControllersApply policies using ValidatingAdmissionPolicyValidating admission policies allow configurable validation checks to be executed in the API server using the Common Expression Language (CEL). For example, a ValidatingAdmissionPolicy can be used to disallow use of the latest image tag.A ValidatingAdmissionPolicy operates on an API request and can be used to block, audit, and warn users about non-compliant configurations.Details on the ValidatingAdmissionPolicy API, with examples, are documented in a dedicated section:Validating Admission PolicyApply policies using dynamic admission controlDynamic admission controllers (or admission webhooks) run outside the API server as separate applications that register to receive webhooks requests to perform validation or mutation of API requests.Dynamic admission controllers can be used to apply policies on API requests and trigger other policy-based workflows. A dynamic admission controller can perform complex checks including those that require retrieval of other cluster resources and external data. For example, an image verification check can lookup data from OCI registries to validate the container image signatures and attestations.Details on dynamic admission control are documented in a dedicated section:Dynamic Admission ControlImplementationsNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Dynamic Admission Controllers that act as flexible policy engines are being developed in the Kubernetes ecosystem, such as:KubewardenKyvernoOPA GatekeeperPolarisApply policies using Kubelet configurationsKubernetes allows configuring the Kubelet on each worker node. Some Kubelet configurations act ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/",
    "id": "k8s_00334_qa_6456"
  },
  {
    "question": "How does Policies work?",
    "answer": "PoliciesManage security and best-practices with policies.Kubernetes policies are configurations that manage other configurations or runtime behaviors. Kubernetes offers various forms of policies, described below:Apply policies using API objectsSome API objects act as policies. Here are some examples:NetworkPolicies can be used to restrict ingress and egress traffic for a workload.LimitRanges manage resource allocation constraints across different object kinds.ResourceQuotas limit resource consumption for a namespace.Apply policies using admission controllersAn admission controller runs in the API server and can validate or mutate API requests. Some admission controllers act to apply policies. For example, the AlwaysPullImages admission controller modifies a new Pod to set the image pull policy to Always.Kubernetes has several built-in admission controllers that are configurable via the API server --enable-admission-plugins flag.Details on admission controllers, with the complete list of available admission controllers, are documented in a dedicated section:Admission ControllersApply policies using ValidatingAdmissionPolicyValidating admission policies allow configurable validation checks to be executed in the API server using the Common Expression Language (CEL). For example, a ValidatingAdmissionPolicy can be used to disallow use of the latest image tag.A ValidatingAdmissionPolicy operates on an API request and can be used to block, audit, and warn users about non-compliant configurations.Details on the ValidatingAdmissionPolicy API, with examples, are documented in a dedicated section:Validating Admission PolicyApply policies using dynamic admission controlDynamic admission controllers (or admission webhooks) run outside the API server as separate applications that register to receive webhooks requests to perform validation or mutation of API requests.Dynamic admission controllers can be used to apply policies on API requests and trigger other policy-based workflows. A dynamic admission controller can perform complex checks including those that require retrieval of other cluster resources and external data. For example, an image verification check can lookup data from OCI registries to validate the container image signatures and attestations.Details on dynamic admission control are documented in a dedicated section:Dynamic Admission ControlImplementationsNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Dynamic Admission Controllers that act as flexible policy engines are being developed in the Kubernetes ecosystem, such as:KubewardenKyvernoOPA GatekeeperPolarisApply policies using Kubelet configurationsKubernetes allows configuring the Kubelet on each worker node. Some Kubelet configurations act ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/",
    "id": "k8s_00334_qa_6457"
  },
  {
    "question": "When would you use Policies?",
    "answer": "PoliciesManage security and best-practices with policies.Kubernetes policies are configurations that manage other configurations or runtime behaviors. Kubernetes offers various forms of policies, described below:Apply policies using API objectsSome API objects act as policies. Here are some examples:NetworkPolicies can be used to restrict ingress and egress traffic for a workload.LimitRanges manage resource allocation constraints across different object kinds.ResourceQuotas limit resource consumption for a namespace.Apply policies using admission controllersAn admission controller runs in the API server and can validate or mutate API requests. Some admission controllers act to apply policies. For example, the AlwaysPullImages admission controller modifies a new Pod to set the image pull policy to Always.Kubernetes has several built-in admission controllers that are configurable via the API server --enable-admission-plugins flag.Details on admission controllers, with the complete list of available admission controllers, are documented in a dedicated section:Admission ControllersApply policies using ValidatingAdmissionPolicyValidating admission policies allow configurable validation checks to be executed in the API server using the Common Expression Language (CEL). For example, a ValidatingAdmissionPolicy can be used to disallow use of the latest image tag.A ValidatingAdmissionPolicy operates on an API request and can be used to block, audit, and warn users about non-compliant configurations.Details on the ValidatingAdmissionPolicy API, with examples, are documented in a dedicated section:Validating Admission PolicyApply policies using dynamic admission controlDynamic admission controllers (or admission webhooks) run outside the API server as separate applications that register to receive webhooks requests to perform validation or mutation of API requests.Dynamic admission controllers can be used to apply policies on API requests and trigger other policy-based workflows. A dynamic admission controller can perform complex checks including those that require retrieval of other cluster resources and external data. For example, an image verification check can lookup data from OCI registries to validate the container image signatures and attestations.Details on dynamic admission control are documented in a dedicated section:Dynamic Admission ControlImplementationsNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Dynamic Admission Controllers that act as flexible policy engines are being developed in the Kubernetes ecosystem, such as:KubewardenKyvernoOPA GatekeeperPolarisApply policies using Kubelet configurationsKubernetes allows configuring the Kubelet on each worker node. Some Kubelet configurations act ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/",
    "id": "k8s_00334_qa_6458"
  },
  {
    "question": "What are the benefits of Policies?",
    "answer": "PoliciesManage security and best-practices with policies.Kubernetes policies are configurations that manage other configurations or runtime behaviors. Kubernetes offers various forms of policies, described below:Apply policies using API objectsSome API objects act as policies. Here are some examples:NetworkPolicies can be used to restrict ingress and egress traffic for a workload.LimitRanges manage resource allocation constraints across different object kinds.ResourceQuotas limit resource consumption for a namespace.Apply policies using admission controllersAn admission controller runs in the API server and can validate or mutate API requests. Some admission controllers act to apply policies. For example, the AlwaysPullImages admission controller modifies a new Pod to set the image pull policy to Always.Kubernetes has several built-in admission controllers that are configurable via the API server --enable-admission-plugins flag.Details on admission controllers, with the complete list of available admission controllers, are documented in a dedicated section:Admission ControllersApply policies using ValidatingAdmissionPolicyValidating admission policies allow configurable validation checks to be executed in the API server using the Common Expression Language (CEL). For example, a ValidatingAdmissionPolicy can be used to disallow use of the latest image tag.A ValidatingAdmissionPolicy operates on an API request and can be used to block, audit, and warn users about non-compliant configurations.Details on the ValidatingAdmissionPolicy API, with examples, are documented in a dedicated section:Validating Admission PolicyApply policies using dynamic admission controlDynamic admission controllers (or admission webhooks) run outside the API server as separate applications that register to receive webhooks requests to perform validation or mutation of API requests.Dynamic admission controllers can be used to apply policies on API requests and trigger other policy-based workflows. A dynamic admission controller can perform complex checks including those that require retrieval of other cluster resources and external data. For example, an image verification check can lookup data from OCI registries to validate the container image signatures and attestations.Details on dynamic admission control are documented in a dedicated section:Dynamic Admission ControlImplementationsNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Dynamic Admission Controllers that act as flexible policy engines are being developed in the Kubernetes ecosystem, such as:KubewardenKyvernoOPA GatekeeperPolarisApply policies using Kubelet configurationsKubernetes allows configuring the Kubelet on each worker node. Some Kubelet configurations act ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/",
    "id": "k8s_00334_qa_6459"
  },
  {
    "question": "What is Policies?",
    "answer": "K u b e r n e t e s   p o l i c i e s   a r e   c o n f i g u r a t i o n s   t h a t   m a n a g e   o t h e r   c o n f i g u r a t i o n s   o r   r u n t i m e   b e h a v i o r s .   K u b e r n e t e s   o f f e r s   v a r i o u s   f o r m s   o f   p o l i c i e s ,   d e s c r i b e d   b e l o w :",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/",
    "id": "k8s_00334_section_1_6460"
  },
  {
    "question": "What is Apply policies using API objects?",
    "answer": "S o m e   A P I   o b j e c t s   a c t   a s   p o l i c i e s .   H e r e   a r e   s o m e   e x a m p l e s :   N e t w o r k P o l i c i e s   c a n   b e   u s e d   t o   r e s t r i c t   i n g r e s s   a n d   e g r e s s   t r a f f i c   f o r   a   w o r k l o a d . L i m i t R a n g e s   m a n a g e   r e s o u r c e   a l l o c a t i o n   c o n s t r a i n t s   a c r o s s   d i f f e r e n t   o b j e c t   k i n d s . R e s o u r c e Q u o t a s   l i m i t   r e s o u r c e   c o n s u m p t i o n   f o r   a   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/",
    "id": "k8s_00334_section_2_6461"
  },
  {
    "question": "What is Apply policies using admission controllers?",
    "answer": "A n   a d m i s s i o n   c o n t r o l l e r   r u n s   i n   t h e   A P I   s e r v e r   a n d   c a n   v a l i d a t e   o r   m u t a t e   A P I   r e q u e s t s .   S o m e   a d m i s s i o n   c o n t r o l l e r s   a c t   t o   a p p l y   p o l i c i e s .   F o r   e x a m p l e ,   t h e   A l w a y s P u l l I m a g e s   a d m i s s i o n   c o n t r o l l e r   m o d i f i e s   a   n e w   P o d   t o   s e t   t h e   i m a g e   p u l l   p o l i c y   t o   A l w a y s .   K u b e r n e t e s   h a s   s e v e r a l   b u i l t - i n   a d m i s s i o n   c o n t r o l l e r s   t h a t   a r e   c o n f i g u r a b l e   v i a   t h e   A P I   s e r v e r   - - e n a b l e - a d m i s s i o n - p l u g i n s   f l a g .   D e t a i l s   o n   a d m i s s i o n   c o n t r o l l e r s ,   w i t h   t h e   c o m p l e t e   l i s t   o f   a v a i l a b l e   a d m i s s i o n   c o n t r o l l e r s ,   a r e   d o c u m e n t e d   i n   a   d e d i c a t e d   s e c t i o n :   A d m i s s i o n   C o n t r o l l e r s",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/",
    "id": "k8s_00334_section_2_6462"
  },
  {
    "question": "What is Apply policies using ValidatingAdmissionPolicy?",
    "answer": "V a l i d a t i n g   a d m i s s i o n   p o l i c i e s   a l l o w   c o n f i g u r a b l e   v a l i d a t i o n   c h e c k s   t o   b e   e x e c u t e d   i n   t h e   A P I   s e r v e r   u s i n g   t h e   C o m m o n   E x p r e s s i o n   L a n g u a g e   ( C E L ) .   F o r   e x a m p l e ,   a   V a l i d a t i n g A d m i s s i o n P o l i c y   c a n   b e   u s e d   t o   d i s a l l o w   u s e   o f   t h e   l a t e s t   i m a g e   t a g .   A   V a l i d a t i n g A d m i s s i o n P o l i c y   o p e r a t e s   o n   a n   A P I   r e q u e s t   a n d   c a n   b e   u s e d   t o   b l o c k ,   a u d i t ,   a n d   w a r n   u s e r s   a b o u t   n o n - c o m p l i a n t   c o n f i g u r a t i o n s .   D e t a i l s   o n   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   A P I ,   w i t h   e x a m p l e s ,   a r e   d o c u m e n t e d   i n   a   d e d i c a t e d   s e c t i o n :   V a l i d a t i n g   A d m i s s i o n   P o l i c y",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/",
    "id": "k8s_00334_section_2_6463"
  },
  {
    "question": "What is Apply policies using dynamic admission control?",
    "answer": "D y n a m i c   a d m i s s i o n   c o n t r o l l e r s   ( o r   a d m i s s i o n   w e b h o o k s )   r u n   o u t s i d e   t h e   A P I   s e r v e r   a s   s e p a r a t e   a p p l i c a t i o n s   t h a t   r e g i s t e r   t o   r e c e i v e   w e b h o o k s   r e q u e s t s   t o   p e r f o r m   v a l i d a t i o n   o r   m u t a t i o n   o f   A P I   r e q u e s t s .   D y n a m i c   a d m i s s i o n   c o n t r o l l e r s   c a n   b e   u s e d   t o   a p p l y   p o l i c i e s   o n   A P I   r e q u e s t s   a n d   t r i g g e r   o t h e r   p o l i c y - b a s e d   w o r k f l o w s .   A   d y n a m i c   a d m i s s i o n   c o n t r o l l e r   c a n   p e r f o r m   c o m p l e x   c h e c k s   i n c l u d i n g   t h o s e   t h a t   r e q u i r e   r e t r i e v a l   o f   o t h e r   c l u s t e r   r e s o u r c e s   a n d   e x t e r n a l   d a t a .   F o r   e x a m p l e ,   a n   i m a g e   v e r i f i c a t i o n   c h e c k   c a n   l o o k u p   d a t a   f r o m   O C I   r e g i s t r i e s   t o   v a l i d a t e   t h e   c o n t a i n e r   i m a g e   s i g n a t u r e s   a n d   a t t e s t a t i o n s .   D e t a i l s   o n   d y n a m i c   a d m i s s i o n   c o n t r o l   a r e   d o c u m e n t e d   i n   a   d e d i c a t e d   s e c t i o n :   D y n a m i c   A d m i s s i o n   C o n t r o l",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/",
    "id": "k8s_00334_section_2_6464"
  },
  {
    "question": "What is Implementations?",
    "answer": "D y n a m i c   A d m i s s i o n   C o n t r o l l e r s   t h a t   a c t   a s   f l e x i b l e   p o l i c y   e n g i n e s   a r e   b e i n g   d e v e l o p e d   i n   t h e   K u b e r n e t e s   e c o s y s t e m ,   s u c h   a s :   K u b e w a r d e n K y v e r n o O P A   G a t e k e e p e r P o l a r i s",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/",
    "id": "k8s_00334_section_3_6465"
  },
  {
    "question": "What is Apply policies using Kubelet configurations?",
    "answer": "K u b e r n e t e s   a l l o w s   c o n f i g u r i n g   t h e   K u b e l e t   o n   e a c h   w o r k e r   n o d e .   S o m e   K u b e l e t   c o n f i g u r a t i o n s   a c t   a s   p o l i c i e s :   P r o c e s s   I D   l i m i t s   a n d   r e s e r v a t i o n s   a r e   u s e d   t o   l i m i t   a n d   r e s e r v e   a l l o c a t a b l e   P I D s . N o d e   R e s o u r c e   M a n a g e r s   c a n   m a n a g e   c o m p u t e ,   m e m o r y ,   a n d   d e v i c e   r e s o u r c e s   f o r   l a t e n c y - c r i t i c a l   a n d   h i g h - t h r o u g h p u t   w o r k l o a d s .   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/",
    "id": "k8s_00334_section_2_6466"
  },
  {
    "question": "What is Creating a cluster with kubeadm?",
    "answer": "Creating a cluster with kubeadm Using kubeadm, you can create a minimum viable Kubernetes cluster that conforms to best practices. In fact, you can use kubeadm to set up a cluster that will pass the Kubernetes Conformance tests. kubeadm also supports other cluster lifecycle functions, such as bootstrap tokens and cluster upgrades.The kubeadm tool is good if you need:A simple way for you to try out Kubernetes, possibly for the first time.A way for existing users to automate setting up a cluster and test their application.A building block in other ecosystem and/or installer tools with a larger scope.You can install and use kubeadm on various machines: your laptop, a set of cloud servers, a Raspberry Pi, and more. Whether you're deploying into the cloud or on-premises, you can integrate kubeadm into provisioning systems such as Ansible or Terraform.Before you beginTo follow this guide, you need:One or more machines running a deb/rpm-compatible Linux OS; for example: Ubuntu or CentOS.2 GiB or more of RAM per machine--any less leaves little room for your apps.At least 2 CPUs on the machine that you use as a control-plane node.Full network connectivity among all machines in the cluster. You can use either a public or a private network.You also need to use a version of kubeadm that can deploy the version of Kubernetes that you want to use in your new cluster.Kubernetes' version and version skew support policy applies to kubeadm as well as to Kubernetes overall. Check that policy to learn about what versions of Kubernetes and kubeadm are supported. This page is written for Kubernetes v1.34.The kubeadm tool's overall feature state is General Availability (GA). Some sub-features are still under active development. The implementation of creating the cluster may change slightly as the tool evolves, but the overall implementation should be pretty stable.Note:Any commands under kubeadm alpha are, by definition, supported on an alpha level.ObjectivesInstall a single control-plane Kubernetes clusterInstall a Pod network on the cluster so that your Pods can talk to each otherInstructionsPreparing the hostsComponent installationInstall a container runtime and kubeadm on all the hosts. For detailed instructions and other prerequisites, see Installing kubeadm.Note:If you have already installed kubeadm, see the first two steps of the Upgrading Linux nodes document for instructions on how to upgrade kubeadm.When you upgrade, the kubelet restarts every few seconds as it waits in a crashloop for kubeadm to tell it what to do. This crashloop is expected and normal. After you initialize your control-plane, the kubelet runs normally.Network setupkubeadm similarly to other Kubernetes components tries to find a usable IP on the network interfaces associated with a default gateway on a host. Such an IP is then used for the advertising and/or listening performed by a component.To find out what this IP is on a Linux host you can use:ip route show # Look for a line starting with",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_qa_6467"
  },
  {
    "question": "How does Creating a cluster with kubeadm work?",
    "answer": "Creating a cluster with kubeadm Using kubeadm, you can create a minimum viable Kubernetes cluster that conforms to best practices. In fact, you can use kubeadm to set up a cluster that will pass the Kubernetes Conformance tests. kubeadm also supports other cluster lifecycle functions, such as bootstrap tokens and cluster upgrades.The kubeadm tool is good if you need:A simple way for you to try out Kubernetes, possibly for the first time.A way for existing users to automate setting up a cluster and test their application.A building block in other ecosystem and/or installer tools with a larger scope.You can install and use kubeadm on various machines: your laptop, a set of cloud servers, a Raspberry Pi, and more. Whether you're deploying into the cloud or on-premises, you can integrate kubeadm into provisioning systems such as Ansible or Terraform.Before you beginTo follow this guide, you need:One or more machines running a deb/rpm-compatible Linux OS; for example: Ubuntu or CentOS.2 GiB or more of RAM per machine--any less leaves little room for your apps.At least 2 CPUs on the machine that you use as a control-plane node.Full network connectivity among all machines in the cluster. You can use either a public or a private network.You also need to use a version of kubeadm that can deploy the version of Kubernetes that you want to use in your new cluster.Kubernetes' version and version skew support policy applies to kubeadm as well as to Kubernetes overall. Check that policy to learn about what versions of Kubernetes and kubeadm are supported. This page is written for Kubernetes v1.34.The kubeadm tool's overall feature state is General Availability (GA). Some sub-features are still under active development. The implementation of creating the cluster may change slightly as the tool evolves, but the overall implementation should be pretty stable.Note:Any commands under kubeadm alpha are, by definition, supported on an alpha level.ObjectivesInstall a single control-plane Kubernetes clusterInstall a Pod network on the cluster so that your Pods can talk to each otherInstructionsPreparing the hostsComponent installationInstall a container runtime and kubeadm on all the hosts. For detailed instructions and other prerequisites, see Installing kubeadm.Note:If you have already installed kubeadm, see the first two steps of the Upgrading Linux nodes document for instructions on how to upgrade kubeadm.When you upgrade, the kubelet restarts every few seconds as it waits in a crashloop for kubeadm to tell it what to do. This crashloop is expected and normal. After you initialize your control-plane, the kubelet runs normally.Network setupkubeadm similarly to other Kubernetes components tries to find a usable IP on the network interfaces associated with a default gateway on a host. Such an IP is then used for the advertising and/or listening performed by a component.To find out what this IP is on a Linux host you can use:ip route show # Look for a line starting with",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_qa_6468"
  },
  {
    "question": "When would you use Creating a cluster with kubeadm?",
    "answer": "Creating a cluster with kubeadm Using kubeadm, you can create a minimum viable Kubernetes cluster that conforms to best practices. In fact, you can use kubeadm to set up a cluster that will pass the Kubernetes Conformance tests. kubeadm also supports other cluster lifecycle functions, such as bootstrap tokens and cluster upgrades.The kubeadm tool is good if you need:A simple way for you to try out Kubernetes, possibly for the first time.A way for existing users to automate setting up a cluster and test their application.A building block in other ecosystem and/or installer tools with a larger scope.You can install and use kubeadm on various machines: your laptop, a set of cloud servers, a Raspberry Pi, and more. Whether you're deploying into the cloud or on-premises, you can integrate kubeadm into provisioning systems such as Ansible or Terraform.Before you beginTo follow this guide, you need:One or more machines running a deb/rpm-compatible Linux OS; for example: Ubuntu or CentOS.2 GiB or more of RAM per machine--any less leaves little room for your apps.At least 2 CPUs on the machine that you use as a control-plane node.Full network connectivity among all machines in the cluster. You can use either a public or a private network.You also need to use a version of kubeadm that can deploy the version of Kubernetes that you want to use in your new cluster.Kubernetes' version and version skew support policy applies to kubeadm as well as to Kubernetes overall. Check that policy to learn about what versions of Kubernetes and kubeadm are supported. This page is written for Kubernetes v1.34.The kubeadm tool's overall feature state is General Availability (GA). Some sub-features are still under active development. The implementation of creating the cluster may change slightly as the tool evolves, but the overall implementation should be pretty stable.Note:Any commands under kubeadm alpha are, by definition, supported on an alpha level.ObjectivesInstall a single control-plane Kubernetes clusterInstall a Pod network on the cluster so that your Pods can talk to each otherInstructionsPreparing the hostsComponent installationInstall a container runtime and kubeadm on all the hosts. For detailed instructions and other prerequisites, see Installing kubeadm.Note:If you have already installed kubeadm, see the first two steps of the Upgrading Linux nodes document for instructions on how to upgrade kubeadm.When you upgrade, the kubelet restarts every few seconds as it waits in a crashloop for kubeadm to tell it what to do. This crashloop is expected and normal. After you initialize your control-plane, the kubelet runs normally.Network setupkubeadm similarly to other Kubernetes components tries to find a usable IP on the network interfaces associated with a default gateway on a host. Such an IP is then used for the advertising and/or listening performed by a component.To find out what this IP is on a Linux host you can use:ip route show # Look for a line starting with",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_qa_6469"
  },
  {
    "question": "What are the benefits of Creating a cluster with kubeadm?",
    "answer": "Creating a cluster with kubeadm Using kubeadm, you can create a minimum viable Kubernetes cluster that conforms to best practices. In fact, you can use kubeadm to set up a cluster that will pass the Kubernetes Conformance tests. kubeadm also supports other cluster lifecycle functions, such as bootstrap tokens and cluster upgrades.The kubeadm tool is good if you need:A simple way for you to try out Kubernetes, possibly for the first time.A way for existing users to automate setting up a cluster and test their application.A building block in other ecosystem and/or installer tools with a larger scope.You can install and use kubeadm on various machines: your laptop, a set of cloud servers, a Raspberry Pi, and more. Whether you're deploying into the cloud or on-premises, you can integrate kubeadm into provisioning systems such as Ansible or Terraform.Before you beginTo follow this guide, you need:One or more machines running a deb/rpm-compatible Linux OS; for example: Ubuntu or CentOS.2 GiB or more of RAM per machine--any less leaves little room for your apps.At least 2 CPUs on the machine that you use as a control-plane node.Full network connectivity among all machines in the cluster. You can use either a public or a private network.You also need to use a version of kubeadm that can deploy the version of Kubernetes that you want to use in your new cluster.Kubernetes' version and version skew support policy applies to kubeadm as well as to Kubernetes overall. Check that policy to learn about what versions of Kubernetes and kubeadm are supported. This page is written for Kubernetes v1.34.The kubeadm tool's overall feature state is General Availability (GA). Some sub-features are still under active development. The implementation of creating the cluster may change slightly as the tool evolves, but the overall implementation should be pretty stable.Note:Any commands under kubeadm alpha are, by definition, supported on an alpha level.ObjectivesInstall a single control-plane Kubernetes clusterInstall a Pod network on the cluster so that your Pods can talk to each otherInstructionsPreparing the hostsComponent installationInstall a container runtime and kubeadm on all the hosts. For detailed instructions and other prerequisites, see Installing kubeadm.Note:If you have already installed kubeadm, see the first two steps of the Upgrading Linux nodes document for instructions on how to upgrade kubeadm.When you upgrade, the kubelet restarts every few seconds as it waits in a crashloop for kubeadm to tell it what to do. This crashloop is expected and normal. After you initialize your control-plane, the kubelet runs normally.Network setupkubeadm similarly to other Kubernetes components tries to find a usable IP on the network interfaces associated with a default gateway on a host. Such an IP is then used for the advertising and/or listening performed by a component.To find out what this IP is on a Linux host you can use:ip route show # Look for a line starting with",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_qa_6470"
  },
  {
    "question": "What is Creating a cluster with kubeadm?",
    "answer": "U s i n g   k u b e a d m ,   y o u   c a n   c r e a t e   a   m i n i m u m   v i a b l e   K u b e r n e t e s   c l u s t e r   t h a t   c o n f o r m s   t o   b e s t   p r a c t i c e s .   I n   f a c t ,   y o u   c a n   u s e   k u b e a d m   t o   s e t   u p   a   c l u s t e r   t h a t   w i l l   p a s s   t h e   K u b e r n e t e s   C o n f o r m a n c e   t e s t s .   k u b e a d m   a l s o   s u p p o r t s   o t h e r   c l u s t e r   l i f e c y c l e   f u n c t i o n s ,   s u c h   a s   b o o t s t r a p   t o k e n s   a n d   c l u s t e r   u p g r a d e s .   T h e   k u b e a d m   t o o l   i s   g o o d   i f   y o u   n e e d :   A   s i m p l e   w a y   f o r   y o u   t o   t r y   o u t   K u b e r n e t e s ,   p o s s i b l y   f o r   t h e   f i r s t   t i m e . A   w a y   f o r   e x i s t i n g   u s e r s   t o   a u t o m a t e   s e t t i n g   u p   a   c l u s t e r   a n d   t e s t   t h e i r   a p p l i c a t i o n . A   b u i l d i n g   b l o c k   i n   o t h e r   e c o s y s t e m   a n d / o r   i n s t a l l e r   t o o l s   w i t h   a   l a r g e r   s c o p e .   Y o u   c a n   i n s t a l l   a n d   u s e   k u b e a d m   o n   v a r i o u s   m a c h i n e s :   y o u r   l a p t o p ,   a   s e t   o f   c l o u d   s e r v e r s ,   a   R a s p b e r r y   P i ,   a n d   m o r e .   W h e t h e r   y o u ' r e   d e p l o y i n g   i n t o   t h e   c l o u d   o r   o n - p r e m i s e s ,   y o u   c a n   i n t e g r a t e   k u b e a d m   i n t o   p r o v i s i o n i n g   s y s t e m s   s u c h   a s   A n s i b l e   o r   T e r r a f o r m .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_1_6471"
  },
  {
    "question": "What is Before you begin?",
    "answer": "T o   f o l l o w   t h i s   g u i d e ,   y o u   n e e d :   O n e   o r   m o r e   m a c h i n e s   r u n n i n g   a   d e b / r p m - c o m p a t i b l e   L i n u x   O S ;   f o r   e x a m p l e :   U b u n t u   o r   C e n t O S . 2   G i B   o r   m o r e   o f   R A M   p e r   m a c h i n e - - a n y   l e s s   l e a v e s   l i t t l e   r o o m   f o r   y o u r   a p p s . A t   l e a s t   2   C P U s   o n   t h e   m a c h i n e   t h a t   y o u   u s e   a s   a   c o n t r o l - p l a n e   n o d e . F u l l   n e t w o r k   c o n n e c t i v i t y   a m o n g   a l l   m a c h i n e s   i n   t h e   c l u s t e r .   Y o u   c a n   u s e   e i t h e r   a   p u b l i c   o r   a   p r i v a t e   n e t w o r k .   Y o u   a l s o   n e e d   t o   u s e   a   v e r s i o n   o f   k u b e a d m   t h a t   c a n   d e p l o y   t h e   v e r s i o n   o f   K u b e r n e t e s   t h a t   y o u   w a n t   t o   u s e   i n   y o u r   n e w   c l u s t e r .   K u b e r n e t e s '   v e r s i o n   a n d   v e r s i o n   s k e w   s u p p o r t   p o l i c y   a p p l i e s   t o   k u b e a d m   a s   w e l l   a s   t o   K u b e r n e t e s   o v e r a l l .   C h e c k   t h a t   p o l i c y   t o   l e a r n   a b o u t   w h a t   v e r s i o n s   o f   K u b e r n e t e s   a n d   k u b e a d m   a r e   s u p p o r t e d .   T h i s   p a g e   i s   w r i t t e n   f o r   K u b e r n e t e s   v 1 . 3 4 .   T h e   k u b e a d m   t o o l ' s   o v e r a l l   f e a t u r e   s t a t e   i s   G e n e r a l   A v a i l a b i l i t y   ( G A ) .   S o m e   s u b - f e a t u r e s   a r e   s t i l l   u n d e r   a c t i v e   d e v e l o p m e n t .   T h e   i m p l e m e n t a t i o n   o f   c r e a t i n g   t h e   c l u s t e r   m a y   c h a n g e   s l i g h t l y   a s   t h e   t o o l   e v o l v e s ,   b u t   t h e   o v e r a l l   i m p l e m e n t a t i o n   s h o u l d   b e   p r e t t y   s t a b ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_2_6472"
  },
  {
    "question": "What is Objectives?",
    "answer": "I n s t a l l   a   s i n g l e   c o n t r o l - p l a n e   K u b e r n e t e s   c l u s t e r I n s t a l l   a   P o d   n e t w o r k   o n   t h e   c l u s t e r   s o   t h a t   y o u r   P o d s   c a n   t a l k   t o   e a c h   o t h e r",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_2_6473"
  },
  {
    "question": "What is Component installation?",
    "answer": "I n s t a l l   a   c o n t a i n e r   r u n t i m e   a n d   k u b e a d m   o n   a l l   t h e   h o s t s .   F o r   d e t a i l e d   i n s t r u c t i o n s   a n d   o t h e r   p r e r e q u i s i t e s ,   s e e   I n s t a l l i n g   k u b e a d m .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_4_6474"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   h a v e   a l r e a d y   i n s t a l l e d   k u b e a d m ,   s e e   t h e   f i r s t   t w o   s t e p s   o f   t h e   U p g r a d i n g   L i n u x   n o d e s   d o c u m e n t   f o r   i n s t r u c t i o n s   o n   h o w   t o   u p g r a d e   k u b e a d m .   W h e n   y o u   u p g r a d e ,   t h e   k u b e l e t   r e s t a r t s   e v e r y   f e w   s e c o n d s   a s   i t   w a i t s   i n   a   c r a s h l o o p   f o r   k u b e a d m   t o   t e l l   i t   w h a t   t o   d o .   T h i s   c r a s h l o o p   i s   e x p e c t e d   a n d   n o r m a l .   A f t e r   y o u   i n i t i a l i z e   y o u r   c o n t r o l - p l a n e ,   t h e   k u b e l e t   r u n s   n o r m a l l y .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_4_6475"
  },
  {
    "question": "What is Network setup?",
    "answer": "k u b e a d m   s i m i l a r l y   t o   o t h e r   K u b e r n e t e s   c o m p o n e n t s   t r i e s   t o   f i n d   a   u s a b l e   I P   o n   t h e   n e t w o r k   i n t e r f a c e s   a s s o c i a t e d   w i t h   a   d e f a u l t   g a t e w a y   o n   a   h o s t .   S u c h   a n   I P   i s   t h e n   u s e d   f o r   t h e   a d v e r t i s i n g   a n d / o r   l i s t e n i n g   p e r f o r m e d   b y   a   c o m p o n e n t .   T o   f i n d   o u t   w h a t   t h i s   I P   i s   o n   a   L i n u x   h o s t   y o u   c a n   u s e :   i p   r o u t e   s h o w   #   L o o k   f o r   a   l i n e   s t a r t i n g   w i t h   \" d e f a u l t   v i a \"",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_4_6476"
  },
  {
    "question": "What is Note:?",
    "answer": "K u b e r n e t e s   c o m p o n e n t s   d o   n o t   a c c e p t   c u s t o m   n e t w o r k   i n t e r f a c e   a s   a n   o p t i o n ,   t h e r e f o r e   a   c u s t o m   I P   a d d r e s s   m u s t   b e   p a s s e d   a s   a   f l a g   t o   a l l   c o m p o n e n t s   i n s t a n c e s   t h a t   n e e d   s u c h   a   c u s t o m   c o n f i g u r a t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_4_6477"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   c o n f i g u r e   t h e   A P I   s e r v e r   a d v e r t i s e   a d d r e s s   f o r   c o n t r o l   p l a n e   n o d e s   c r e a t e d   w i t h   b o t h   i n i t   a n d   j o i n ,   t h e   f l a g   - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   c a n   b e   u s e d .   P r e f e r a b l y ,   t h i s   o p t i o n   c a n   b e   s e t   i n   t h e   k u b e a d m   A P I   a s   I n i t C o n f i g u r a t i o n . l o c a l A P I E n d p o i n t   a n d   J o i n C o n f i g u r a t i o n . c o n t r o l P l a n e . l o c a l A P I E n d p o i n t .   F o r   k u b e l e t s   o n   a l l   n o d e s ,   t h e   - - n o d e - i p   o p t i o n   c a n   b e   p a s s e d   i n   . n o d e R e g i s t r a t i o n . k u b e l e t E x t r a A r g s   i n s i d e   a   k u b e a d m   c o n f i g u r a t i o n   f i l e   ( I n i t C o n f i g u r a t i o n   o r   J o i n C o n f i g u r a t i o n ) .   F o r   d u a l - s t a c k   s e e   D u a l - s t a c k   s u p p o r t   w i t h   k u b e a d m .   T h e   I P   a d d r e s s e s   t h a t   y o u   a s s i g n   t o   c o n t r o l   p l a n e   c o m p o n e n t s   b e c o m e   p a r t   o f   t h e i r   X . 5 0 9   c e r t i f i c a t e s '   s u b j e c t   a l t e r n a t i v e   n a m e   f i e l d s .   C h a n g i n g   t h e s e   I P   a d d r e s s e s   w o u l d   r e q u i r e   s i g n i n g   n e w   c e r t i f i c a t e s   a n d   r e s t a r t i n g   t h e   a f f e c t e d   c o m p o n e n t s ,   s o   t h a t   t h e   c h a n g e   i n   c e r t i f i c a t e   f i l e s   i s   r e f l e c t e d .   S e e   M a n u a l   c e r t i f i c a t e   r e n e w a l   f o r   m o r e   d e t a i l s   o n   t h i s   t o p i c .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_4_6478"
  },
  {
    "question": "What is Preparing the required container images?",
    "answer": "T h i s   s t e p   i s   o p t i o n a l   a n d   o n l y   a p p l i e s   i n   c a s e   y o u   w i s h   k u b e a d m   i n i t   a n d   k u b e a d m   j o i n   t o   n o t   d o w n l o a d   t h e   d e f a u l t   c o n t a i n e r   i m a g e s   w h i c h   a r e   h o s t e d   a t   r e g i s t r y . k 8 s . i o .   K u b e a d m   h a s   c o m m a n d s   t h a t   c a n   h e l p   y o u   p r e - p u l l   t h e   r e q u i r e d   i m a g e s   w h e n   c r e a t i n g   a   c l u s t e r   w i t h o u t   a n   i n t e r n e t   c o n n e c t i o n   o n   i t s   n o d e s .   S e e   R u n n i n g   k u b e a d m   w i t h o u t   a n   i n t e r n e t   c o n n e c t i o n   f o r   m o r e   d e t a i l s .   K u b e a d m   a l l o w s   y o u   t o   u s e   a   c u s t o m   i m a g e   r e p o s i t o r y   f o r   t h e   r e q u i r e d   i m a g e s .   S e e   U s i n g   c u s t o m   i m a g e s   f o r   m o r e   d e t a i l s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_3_6479"
  },
  {
    "question": "What is Initializing your control-plane node?",
    "answer": "T h e   c o n t r o l - p l a n e   n o d e   i s   t h e   m a c h i n e   w h e r e   t h e   c o n t r o l   p l a n e   c o m p o n e n t s   r u n ,   i n c l u d i n g   e t c d   ( t h e   c l u s t e r   d a t a b a s e )   a n d   t h e   A P I   S e r v e r   ( w h i c h   t h e   k u b e c t l   c o m m a n d   l i n e   t o o l   c o m m u n i c a t e s   w i t h ) .   ( R e c o m m e n d e d )   I f   y o u   h a v e   p l a n s   t o   u p g r a d e   t h i s   s i n g l e   c o n t r o l - p l a n e   k u b e a d m   c l u s t e r   t o   h i g h   a v a i l a b i l i t y   y o u   s h o u l d   s p e c i f y   t h e   - - c o n t r o l - p l a n e - e n d p o i n t   t o   s e t   t h e   s h a r e d   e n d p o i n t   f o r   a l l   c o n t r o l - p l a n e   n o d e s .   S u c h   a n   e n d p o i n t   c a n   b e   e i t h e r   a   D N S   n a m e   o r   a n   I P   a d d r e s s   o f   a   l o a d - b a l a n c e r . C h o o s e   a   P o d   n e t w o r k   a d d - o n ,   a n d   v e r i f y   w h e t h e r   i t   r e q u i r e s   a n y   a r g u m e n t s   t o   b e   p a s s e d   t o   k u b e a d m   i n i t .   D e p e n d i n g   o n   w h i c h   t h i r d - p a r t y   p r o v i d e r   y o u   c h o o s e ,   y o u   m i g h t   n e e d   t o   s e t   t h e   - - p o d - n e t w o r k - c i d r   t o   a   p r o v i d e r - s p e c i f i c   v a l u e .   S e e   I n s t a l l i n g   a   P o d   n e t w o r k   a d d - o n . ( O p t i o n a l )   k u b e a d m   t r i e s   t o   d e t e c t   t h e   c o n t a i n e r   r u n t i m e   b y   u s i n g   a   l i s t   o f   w e l l   k n o w n   e n d p o i n t s .   T o   u s e   d i f f e r e n t   c o n t a i n e r   r u n t i m e   o r   i f   t h e r e   a r e   m o r e   t h a n   o n e   i n s t a l l e d   o n   t h e   p r o v i s i o n e d   n o d e ,   s p e c i f y   t h e   - - c r i - s o c k e t   a r g u m e n t   t o   k u b e a d m .   S e e   I n s t a ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_3_6480"
  },
  {
    "question": "What is Considerations about apiserver-advertise-address and ControlPlaneEndpoint?",
    "answer": "W h i l e   - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   c a n   b e   u s e d   t o   s e t   t h e   a d v e r t i s e d   a d d r e s s   f o r   t h i s   p a r t i c u l a r   c o n t r o l - p l a n e   n o d e ' s   A P I   s e r v e r ,   - - c o n t r o l - p l a n e - e n d p o i n t   c a n   b e   u s e d   t o   s e t   t h e   s h a r e d   e n d p o i n t   f o r   a l l   c o n t r o l - p l a n e   n o d e s .   - - c o n t r o l - p l a n e - e n d p o i n t   a l l o w s   b o t h   I P   a d d r e s s e s   a n d   D N S   n a m e s   t h a t   c a n   m a p   t o   I P   a d d r e s s e s .   P l e a s e   c o n t a c t   y o u r   n e t w o r k   a d m i n i s t r a t o r   t o   e v a l u a t e   p o s s i b l e   s o l u t i o n s   w i t h   r e s p e c t   t o   s u c h   m a p p i n g .   H e r e   i s   a n   e x a m p l e   m a p p i n g :   1 9 2 . 1 6 8 . 0 . 1 0 2   c l u s t e r - e n d p o i n t   W h e r e   1 9 2 . 1 6 8 . 0 . 1 0 2   i s   t h e   I P   a d d r e s s   o f   t h i s   n o d e   a n d   c l u s t e r - e n d p o i n t   i s   a   c u s t o m   D N S   n a m e   t h a t   m a p s   t o   t h i s   I P .   T h i s   w i l l   a l l o w   y o u   t o   p a s s   - - c o n t r o l - p l a n e - e n d p o i n t = c l u s t e r - e n d p o i n t   t o   k u b e a d m   i n i t   a n d   p a s s   t h e   s a m e   D N S   n a m e   t o   k u b e a d m   j o i n .   L a t e r   y o u   c a n   m o d i f y   c l u s t e r - e n d p o i n t   t o   p o i n t   t o   t h e   a d d r e s s   o f   y o u r   l o a d - b a l a n c e r   i n   a   h i g h   a v a i l a b i l i t y   s c e n a r i o .   T u r n i n g   a   s i n g l e   c o n t r o l   p l a n e   c l u s t e r   c r e a t e d   w i t h o u t   - - c o n t r o l - p l a n e - e n d p o i n t   i n t o   a   h i g h l y   a v a i l a b l e   c l u s t e r   i s   n o t   s u p p o r t e d   b y   k u b e a d m .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_3_6481"
  },
  {
    "question": "What is More information?",
    "answer": "F o r   m o r e   i n f o r m a t i o n   a b o u t   k u b e a d m   i n i t   a r g u m e n t s ,   s e e   t h e   k u b e a d m   r e f e r e n c e   g u i d e .   T o   c o n f i g u r e   k u b e a d m   i n i t   w i t h   a   c o n f i g u r a t i o n   f i l e   s e e   U s i n g   k u b e a d m   i n i t   w i t h   a   c o n f i g u r a t i o n   f i l e .   T o   c u s t o m i z e   c o n t r o l   p l a n e   c o m p o n e n t s ,   i n c l u d i n g   o p t i o n a l   I P v 6   a s s i g n m e n t   t o   l i v e n e s s   p r o b e   f o r   c o n t r o l   p l a n e   c o m p o n e n t s   a n d   e t c d   s e r v e r ,   p r o v i d e   e x t r a   a r g u m e n t s   t o   e a c h   c o m p o n e n t   a s   d o c u m e n t e d   i n   c u s t o m   a r g u m e n t s .   T o   r e c o n f i g u r e   a   c l u s t e r   t h a t   h a s   a l r e a d y   b e e n   c r e a t e d   s e e   R e c o n f i g u r i n g   a   k u b e a d m   c l u s t e r .   T o   r u n   k u b e a d m   i n i t   a g a i n ,   y o u   m u s t   f i r s t   t e a r   d o w n   t h e   c l u s t e r .   I f   y o u   j o i n   a   n o d e   w i t h   a   d i f f e r e n t   a r c h i t e c t u r e   t o   y o u r   c l u s t e r ,   m a k e   s u r e   t h a t   y o u r   d e p l o y e d   D a e m o n S e t s   h a v e   c o n t a i n e r   i m a g e   s u p p o r t   f o r   t h i s   a r c h i t e c t u r e .   k u b e a d m   i n i t   f i r s t   r u n s   a   s e r i e s   o f   p r e c h e c k s   t o   e n s u r e   t h a t   t h e   m a c h i n e   i s   r e a d y   t o   r u n   K u b e r n e t e s .   T h e s e   p r e c h e c k s   e x p o s e   w a r n i n g s   a n d   e x i t   o n   e r r o r s .   k u b e a d m   i n i t   t h e n   d o w n l o a d s   a n d   i n s t a l l s   t h e   c l u s t e r   c o n t r o l   p l a n e   c o m p o n e n t s .   T h i s   m a y   t a k e   s e v e r a l   m i n u t e s .   A f t e r   i t   f i n i s h e s   y o u ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_3_6482"
  },
  {
    "question": "What is Warning:?",
    "answer": "T h e   k u b e c o n f i g   f i l e   a d m i n . c o n f   t h a t   k u b e a d m   i n i t   g e n e r a t e s   c o n t a i n s   a   c e r t i f i c a t e   w i t h   S u b j e c t :   O   =   k u b e a d m : c l u s t e r - a d m i n s ,   C N   =   k u b e r n e t e s - a d m i n .   T h e   g r o u p   k u b e a d m : c l u s t e r - a d m i n s   i s   b o u n d   t o   t h e   b u i l t - i n   c l u s t e r - a d m i n   C l u s t e r R o l e .   D o   n o t   s h a r e   t h e   a d m i n . c o n f   f i l e   w i t h   a n y o n e .   k u b e a d m   i n i t   g e n e r a t e s   a n o t h e r   k u b e c o n f i g   f i l e   s u p e r - a d m i n . c o n f   t h a t   c o n t a i n s   a   c e r t i f i c a t e   w i t h   S u b j e c t :   O   =   s y s t e m : m a s t e r s ,   C N   =   k u b e r n e t e s - s u p e r - a d m i n .   s y s t e m : m a s t e r s   i s   a   b r e a k - g l a s s ,   s u p e r   u s e r   g r o u p   t h a t   b y p a s s e s   t h e   a u t h o r i z a t i o n   l a y e r   ( f o r   e x a m p l e   R B A C ) .   D o   n o t   s h a r e   t h e   s u p e r - a d m i n . c o n f   f i l e   w i t h   a n y o n e .   I t   i s   r e c o m m e n d e d   t o   m o v e   t h e   f i l e   t o   a   s a f e   l o c a t i o n .   S e e   G e n e r a t i n g   k u b e c o n f i g   f i l e s   f o r   a d d i t i o n a l   u s e r s   o n   h o w   t o   u s e   k u b e a d m   k u b e c o n f i g   u s e r   t o   g e n e r a t e   k u b e c o n f i g   f i l e s   f o r   a d d i t i o n a l   u s e r s .   M a k e   a   r e c o r d   o f   t h e   k u b e a d m   j o i n   c o m m a n d   t h a t   k u b e a d m   i n i t   o u t p u t s .   Y o u   n e e d   t h i s   c o m m a n d   t o   j o i n   n o d e s   t o   y o u r   c l u s t e r .   T h e   t o k e n   i s   u s e d   f o r   m u t u a l   a u t h e n t i c a t i o n   b e t w e e n   t h e   c o n t r o l - p l a n e   n o d e   a n d   t h e   j o i n i ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_4_6483"
  },
  {
    "question": "What is Caution:?",
    "answer": "T h i s   s e c t i o n   c o n t a i n s   i m p o r t a n t   i n f o r m a t i o n   a b o u t   n e t w o r k i n g   s e t u p   a n d   d e p l o y m e n t   o r d e r .   R e a d   a l l   o f   t h i s   a d v i c e   c a r e f u l l y   b e f o r e   p r o c e e d i n g .   Y o u   m u s t   d e p l o y   a   C o n t a i n e r   N e t w o r k   I n t e r f a c e   ( C N I )   b a s e d   P o d   n e t w o r k   a d d - o n   s o   t h a t   y o u r   P o d s   c a n   c o m m u n i c a t e   w i t h   e a c h   o t h e r .   C l u s t e r   D N S   ( C o r e D N S )   w i l l   n o t   s t a r t   u p   b e f o r e   a   n e t w o r k   i s   i n s t a l l e d .   T a k e   c a r e   t h a t   y o u r   P o d   n e t w o r k   m u s t   n o t   o v e r l a p   w i t h   a n y   o f   t h e   h o s t   n e t w o r k s :   y o u   a r e   l i k e l y   t o   s e e   p r o b l e m s   i f   t h e r e   i s   a n y   o v e r l a p .   ( I f   y o u   f i n d   a   c o l l i s i o n   b e t w e e n   y o u r   n e t w o r k   p l u g i n ' s   p r e f e r r e d   P o d   n e t w o r k   a n d   s o m e   o f   y o u r   h o s t   n e t w o r k s ,   y o u   s h o u l d   t h i n k   o f   a   s u i t a b l e   C I D R   b l o c k   t o   u s e   i n s t e a d ,   t h e n   u s e   t h a t   d u r i n g   k u b e a d m   i n i t   w i t h   - - p o d - n e t w o r k - c i d r   a n d   a s   a   r e p l a c e m e n t   i n   y o u r   n e t w o r k   p l u g i n ' s   Y A M L ) . B y   d e f a u l t ,   k u b e a d m   s e t s   u p   y o u r   c l u s t e r   t o   u s e   a n d   e n f o r c e   u s e   o f   R B A C   ( r o l e   b a s e d   a c c e s s   c o n t r o l ) .   M a k e   s u r e   t h a t   y o u r   P o d   n e t w o r k   p l u g i n   s u p p o r t s   R B A C ,   a n d   s o   d o   a n y   m a n i f e s t s   t h a t   y o u   u s e   t o   d e p l o y   i t . I f   y o u   w a n t   t o   u s e   I P v 6 - - e i t h e r   d u a l - s t a c ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_4_6484"
  },
  {
    "question": "What is Note:?",
    "answer": "S e v e r a l   e x t e r n a l   p r o j e c t s   p r o v i d e   K u b e r n e t e s   P o d   n e t w o r k s   u s i n g   C N I ,   s o m e   o f   w h i c h   a l s o   s u p p o r t   N e t w o r k   P o l i c y .   S e e   a   l i s t   o f   a d d - o n s   t h a t   i m p l e m e n t   t h e   K u b e r n e t e s   n e t w o r k i n g   m o d e l .   P l e a s e   r e f e r   t o   t h e   I n s t a l l i n g   A d d o n s   p a g e   f o r   a   n o n - e x h a u s t i v e   l i s t   o f   n e t w o r k i n g   a d d o n s   s u p p o r t e d   b y   K u b e r n e t e s .   Y o u   c a n   i n s t a l l   a   P o d   n e t w o r k   a d d - o n   w i t h   t h e   f o l l o w i n g   c o m m a n d   o n   t h e   c o n t r o l - p l a n e   n o d e   o r   a   n o d e   t h a t   h a s   t h e   k u b e c o n f i g   c r e d e n t i a l s :   k u b e c t l   a p p l y   - f   < a d d - o n . y a m l >",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_4_6485"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   i n s t a l l   o n l y   o n e   P o d   n e t w o r k   p e r   c l u s t e r .   O n c e   a   P o d   n e t w o r k   h a s   b e e n   i n s t a l l e d ,   y o u   c a n   c o n f i r m   t h a t   i t   i s   w o r k i n g   b y   c h e c k i n g   t h a t   t h e   C o r e D N S   P o d   i s   R u n n i n g   i n   t h e   o u t p u t   o f   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s .   A n d   o n c e   t h e   C o r e D N S   P o d   i s   u p   a n d   r u n n i n g ,   y o u   c a n   c o n t i n u e   b y   j o i n i n g   y o u r   n o d e s .   I f   y o u r   n e t w o r k   i s   n o t   w o r k i n g   o r   C o r e D N S   i s   n o t   i n   t h e   R u n n i n g   s t a t e ,   c h e c k   o u t   t h e   t r o u b l e s h o o t i n g   g u i d e   f o r   k u b e a d m .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_4_6486"
  },
  {
    "question": "What is Managed node labels?",
    "answer": "B y   d e f a u l t ,   k u b e a d m   e n a b l e s   t h e   N o d e R e s t r i c t i o n   a d m i s s i o n   c o n t r o l l e r   t h a t   r e s t r i c t s   w h a t   l a b e l s   c a n   b e   s e l f - a p p l i e d   b y   k u b e l e t s   o n   n o d e   r e g i s t r a t i o n .   T h e   a d m i s s i o n   c o n t r o l l e r   d o c u m e n t a t i o n   c o v e r s   w h a t   l a b e l s   a r e   p e r m i t t e d   t o   b e   u s e d   w i t h   t h e   k u b e l e t   - - n o d e - l a b e l s   o p t i o n .   T h e   n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e   l a b e l   i s   s u c h   a   r e s t r i c t e d   l a b e l   a n d   k u b e a d m   m a n u a l l y   a p p l i e s   i t   u s i n g   a   p r i v i l e g e d   c l i e n t   a f t e r   a   n o d e   h a s   b e e n   c r e a t e d .   T o   d o   t h a t   m a n u a l l y   y o u   c a n   d o   t h e   s a m e   b y   u s i n g   k u b e c t l   l a b e l   a n d   e n s u r e   i t   i s   u s i n g   a   p r i v i l e g e d   k u b e c o n f i g   s u c h   a s   t h e   k u b e a d m   m a n a g e d   / e t c / k u b e r n e t e s / a d m i n . c o n f .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_3_6487"
  },
  {
    "question": "What is Control plane node isolation?",
    "answer": "B y   d e f a u l t ,   y o u r   c l u s t e r   w i l l   n o t   s c h e d u l e   P o d s   o n   t h e   c o n t r o l   p l a n e   n o d e s   f o r   s e c u r i t y   r e a s o n s .   I f   y o u   w a n t   t o   b e   a b l e   t o   s c h e d u l e   P o d s   o n   t h e   c o n t r o l   p l a n e   n o d e s ,   f o r   e x a m p l e   f o r   a   s i n g l e   m a c h i n e   K u b e r n e t e s   c l u s t e r ,   r u n :   k u b e c t l   t a i n t   n o d e s   - - a l l   n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e -   T h e   o u t p u t   w i l l   l o o k   s o m e t h i n g   l i k e :   n o d e   \" t e s t - 0 1 \"   u n t a i n t e d   . . .   T h i s   w i l l   r e m o v e   t h e   n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e : N o S c h e d u l e   t a i n t   f r o m   a n y   n o d e s   t h a t   h a v e   i t ,   i n c l u d i n g   t h e   c o n t r o l   p l a n e   n o d e s ,   m e a n i n g   t h a t   t h e   s c h e d u l e r   w i l l   t h e n   b e   a b l e   t o   s c h e d u l e   P o d s   e v e r y w h e r e .   A d d i t i o n a l l y ,   y o u   c a n   e x e c u t e   t h e   f o l l o w i n g   c o m m a n d   t o   r e m o v e   t h e   n o d e . k u b e r n e t e s . i o / e x c l u d e - f r o m - e x t e r n a l - l o a d - b a l a n c e r s   l a b e l   f r o m   t h e   c o n t r o l   p l a n e   n o d e ,   w h i c h   e x c l u d e s   i t   f r o m   t h e   l i s t   o f   b a c k e n d   s e r v e r s :   k u b e c t l   l a b e l   n o d e s   - - a l l   n o d e . k u b e r n e t e s . i o / e x c l u d e - f r o m - e x t e r n a l - l o a d - b a l a n c e r s -",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_3_6488"
  },
  {
    "question": "What is Adding more control plane nodes?",
    "answer": "S e e   C r e a t i n g   H i g h l y   A v a i l a b l e   C l u s t e r s   w i t h   k u b e a d m   f o r   s t e p s   o n   c r e a t i n g   a   h i g h   a v a i l a b i l i t y   k u b e a d m   c l u s t e r   b y   a d d i n g   m o r e   c o n t r o l   p l a n e   n o d e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_3_6489"
  },
  {
    "question": "What is Adding worker nodes?",
    "answer": "T h e   w o r k e r   n o d e s   a r e   w h e r e   y o u r   w o r k l o a d s   r u n .   T h e   f o l l o w i n g   p a g e s   s h o w   h o w   t o   a d d   L i n u x   a n d   W i n d o w s   w o r k e r   n o d e s   t o   t h e   c l u s t e r   b y   u s i n g   t h e   k u b e a d m   j o i n   c o m m a n d :   A d d i n g   L i n u x   w o r k e r   n o d e s A d d i n g   W i n d o w s   w o r k e r   n o d e s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_3_6490"
  },
  {
    "question": "What is (Optional) Controlling your cluster from machines other than the control-plane node?",
    "answer": "I n   o r d e r   t o   g e t   a   k u b e c t l   o n   s o m e   o t h e r   c o m p u t e r   ( e . g .   l a p t o p )   t o   t a l k   t o   y o u r   c l u s t e r ,   y o u   n e e d   t o   c o p y   t h e   a d m i n i s t r a t o r   k u b e c o n f i g   f i l e   f r o m   y o u r   c o n t r o l - p l a n e   n o d e   t o   y o u r   w o r k s t a t i o n   l i k e   t h i s :   s c p   r o o t @ < c o n t r o l - p l a n e - h o s t > : / e t c / k u b e r n e t e s / a d m i n . c o n f   .   k u b e c t l   - - k u b e c o n f i g   . / a d m i n . c o n f   g e t   n o d e s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_3_6491"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   e x a m p l e   a b o v e   a s s u m e s   S S H   a c c e s s   i s   e n a b l e d   f o r   r o o t .   I f   t h a t   i s   n o t   t h e   c a s e ,   y o u   c a n   c o p y   t h e   a d m i n . c o n f   f i l e   t o   b e   a c c e s s i b l e   b y   s o m e   o t h e r   u s e r   a n d   s c p   u s i n g   t h a t   o t h e r   u s e r   i n s t e a d .   T h e   a d m i n . c o n f   f i l e   g i v e s   t h e   u s e r   s u p e r u s e r   p r i v i l e g e s   o v e r   t h e   c l u s t e r .   T h i s   f i l e   s h o u l d   b e   u s e d   s p a r i n g l y .   F o r   n o r m a l   u s e r s ,   i t ' s   r e c o m m e n d e d   t o   g e n e r a t e   a n   u n i q u e   c r e d e n t i a l   t o   w h i c h   y o u   g r a n t   p r i v i l e g e s .   Y o u   c a n   d o   t h i s   w i t h   t h e   k u b e a d m   k u b e c o n f i g   u s e r   - - c l i e n t - n a m e   < C N >   c o m m a n d .   T h a t   c o m m a n d   w i l l   p r i n t   o u t   a   K u b e C o n f i g   f i l e   t o   S T D O U T   w h i c h   y o u   s h o u l d   s a v e   t o   a   f i l e   a n d   d i s t r i b u t e   t o   y o u r   u s e r .   A f t e r   t h a t ,   g r a n t   p r i v i l e g e s   b y   u s i n g   k u b e c t l   c r e a t e   ( c l u s t e r ) r o l e b i n d i n g .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_4_6492"
  },
  {
    "question": "What is (Optional) Proxying API Server to localhost?",
    "answer": "I f   y o u   w a n t   t o   c o n n e c t   t o   t h e   A P I   S e r v e r   f r o m   o u t s i d e   t h e   c l u s t e r ,   y o u   c a n   u s e   k u b e c t l   p r o x y :   s c p   r o o t @ < c o n t r o l - p l a n e - h o s t > : / e t c / k u b e r n e t e s / a d m i n . c o n f   .   k u b e c t l   - - k u b e c o n f i g   . / a d m i n . c o n f   p r o x y   Y o u   c a n   n o w   a c c e s s   t h e   A P I   S e r v e r   l o c a l l y   a t   h t t p : / / l o c a l h o s t : 8 0 0 1 / a p i / v 1",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_3_6493"
  },
  {
    "question": "What is Clean up?",
    "answer": "I f   y o u   u s e d   d i s p o s a b l e   s e r v e r s   f o r   y o u r   c l u s t e r ,   f o r   t e s t i n g ,   y o u   c a n   s w i t c h   t h o s e   o f f   a n d   d o   n o   f u r t h e r   c l e a n   u p .   Y o u   c a n   u s e   k u b e c t l   c o n f i g   d e l e t e - c l u s t e r   t o   d e l e t e   y o u r   l o c a l   r e f e r e n c e s   t o   t h e   c l u s t e r .   H o w e v e r ,   i f   y o u   w a n t   t o   d e p r o v i s i o n   y o u r   c l u s t e r   m o r e   c l e a n l y ,   y o u   s h o u l d   f i r s t   d r a i n   t h e   n o d e   a n d   m a k e   s u r e   t h a t   t h e   n o d e   i s   e m p t y ,   t h e n   d e c o n f i g u r e   t h e   n o d e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_2_6494"
  },
  {
    "question": "What is Remove the node?",
    "answer": "T a l k i n g   t o   t h e   c o n t r o l - p l a n e   n o d e   w i t h   t h e   a p p r o p r i a t e   c r e d e n t i a l s ,   r u n :   k u b e c t l   d r a i n   < n o d e   n a m e >   - - d e l e t e - e m p t y d i r - d a t a   - - f o r c e   - - i g n o r e - d a e m o n s e t s   B e f o r e   r e m o v i n g   t h e   n o d e ,   r e s e t   t h e   s t a t e   i n s t a l l e d   b y   k u b e a d m :   k u b e a d m   r e s e t   T h e   r e s e t   p r o c e s s   d o e s   n o t   r e s e t   o r   c l e a n   u p   i p t a b l e s   r u l e s   o r   I P V S   t a b l e s .   I f   y o u   w i s h   t o   r e s e t   i p t a b l e s ,   y o u   m u s t   d o   s o   m a n u a l l y :   i p t a b l e s   - F   & &   i p t a b l e s   - t   n a t   - F   & &   i p t a b l e s   - t   m a n g l e   - F   & &   i p t a b l e s   - X   I f   y o u   w a n t   t o   r e s e t   t h e   I P V S   t a b l e s ,   y o u   m u s t   r u n   t h e   f o l l o w i n g   c o m m a n d :   i p v s a d m   - C   N o w   r e m o v e   t h e   n o d e :   k u b e c t l   d e l e t e   n o d e   < n o d e   n a m e >   I f   y o u   w i s h   t o   s t a r t   o v e r ,   r u n   k u b e a d m   i n i t   o r   k u b e a d m   j o i n   w i t h   t h e   a p p r o p r i a t e   a r g u m e n t s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_3_6495"
  },
  {
    "question": "What is Clean up the control plane?",
    "answer": "Y o u   c a n   u s e   k u b e a d m   r e s e t   o n   t h e   c o n t r o l   p l a n e   h o s t   t o   t r i g g e r   a   b e s t - e f f o r t   c l e a n   u p .   S e e   t h e   k u b e a d m   r e s e t   r e f e r e n c e   d o c u m e n t a t i o n   f o r   m o r e   i n f o r m a t i o n   a b o u t   t h i s   s u b c o m m a n d   a n d   i t s   o p t i o n s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_3_6496"
  },
  {
    "question": "What is Version skew policy?",
    "answer": "W h i l e   k u b e a d m   a l l o w s   v e r s i o n   s k e w   a g a i n s t   s o m e   c o m p o n e n t s   t h a t   i t   m a n a g e s ,   i t   i s   r e c o m m e n d e d   t h a t   y o u   m a t c h   t h e   k u b e a d m   v e r s i o n   w i t h   t h e   v e r s i o n s   o f   t h e   c o n t r o l   p l a n e   c o m p o n e n t s ,   k u b e - p r o x y   a n d   k u b e l e t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_2_6497"
  },
  {
    "question": "What is kubeadm's skew against the Kubernetes version?",
    "answer": "k u b e a d m   c a n   b e   u s e d   w i t h   K u b e r n e t e s   c o m p o n e n t s   t h a t   a r e   t h e   s a m e   v e r s i o n   a s   k u b e a d m   o r   o n e   v e r s i o n   o l d e r .   T h e   K u b e r n e t e s   v e r s i o n   c a n   b e   s p e c i f i e d   t o   k u b e a d m   b y   u s i n g   t h e   - - k u b e r n e t e s - v e r s i o n   f l a g   o f   k u b e a d m   i n i t   o r   t h e   C l u s t e r C o n f i g u r a t i o n . k u b e r n e t e s V e r s i o n   f i e l d   w h e n   u s i n g   - - c o n f i g .   T h i s   o p t i o n   w i l l   c o n t r o l   t h e   v e r s i o n s   o f   k u b e - a p i s e r v e r ,   k u b e - c o n t r o l l e r - m a n a g e r ,   k u b e - s c h e d u l e r   a n d   k u b e - p r o x y .   E x a m p l e :   k u b e a d m   i s   a t   1 . 3 4 k u b e r n e t e s V e r s i o n   m u s t   b e   a t   1 . 3 4   o r   1 . 3 3",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_3_6498"
  },
  {
    "question": "What is kubeadm's skew against the kubelet?",
    "answer": "S i m i l a r l y   t o   t h e   K u b e r n e t e s   v e r s i o n ,   k u b e a d m   c a n   b e   u s e d   w i t h   a   k u b e l e t   v e r s i o n   t h a t   i s   t h e   s a m e   v e r s i o n   a s   k u b e a d m   o r   t h r e e   v e r s i o n s   o l d e r .   E x a m p l e :   k u b e a d m   i s   a t   1 . 3 4 k u b e l e t   o n   t h e   h o s t   m u s t   b e   a t   1 . 3 4 ,   1 . 3 3 ,   1 . 3 2   o r   1 . 3 1",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_3_6499"
  },
  {
    "question": "What is kubeadm's skew against kubeadm?",
    "answer": "T h e r e   a r e   c e r t a i n   l i m i t a t i o n s   o n   h o w   k u b e a d m   c o m m a n d s   c a n   o p e r a t e   o n   e x i s t i n g   n o d e s   o r   w h o l e   c l u s t e r s   m a n a g e d   b y   k u b e a d m .   I f   n e w   n o d e s   a r e   j o i n e d   t o   t h e   c l u s t e r ,   t h e   k u b e a d m   b i n a r y   u s e d   f o r   k u b e a d m   j o i n   m u s t   m a t c h   t h e   l a s t   v e r s i o n   o f   k u b e a d m   u s e d   t o   e i t h e r   c r e a t e   t h e   c l u s t e r   w i t h   k u b e a d m   i n i t   o r   t o   u p g r a d e   t h e   s a m e   n o d e   w i t h   k u b e a d m   u p g r a d e .   S i m i l a r   r u l e s   a p p l y   t o   t h e   r e s t   o f   t h e   k u b e a d m   c o m m a n d s   w i t h   t h e   e x c e p t i o n   o f   k u b e a d m   u p g r a d e .   E x a m p l e   f o r   k u b e a d m   j o i n :   k u b e a d m   v e r s i o n   1 . 3 4   w a s   u s e d   t o   c r e a t e   a   c l u s t e r   w i t h   k u b e a d m   i n i t J o i n i n g   n o d e s   m u s t   u s e   a   k u b e a d m   b i n a r y   t h a t   i s   a t   v e r s i o n   1 . 3 4   N o d e s   t h a t   a r e   b e i n g   u p g r a d e d   m u s t   u s e   a   v e r s i o n   o f   k u b e a d m   t h a t   i s   t h e   s a m e   M I N O R   v e r s i o n   o r   o n e   M I N O R   v e r s i o n   n e w e r   t h a n   t h e   v e r s i o n   o f   k u b e a d m   u s e d   f o r   m a n a g i n g   t h e   n o d e .   E x a m p l e   f o r   k u b e a d m   u p g r a d e :   k u b e a d m   v e r s i o n   1 . 3 3   w a s   u s e d   t o   c r e a t e   o r   u p g r a d e   t h e   n o d e T h e   v e r s i o n   o f   k u b e a d m   u s e d   f o r   u p g r a d i n g   t h e   n o d e   m u s t   b e   a t   1 . 3 3   o r   1 . 3 4   T o   l e a r n   m o r e   a b o u t   t h e   v e r s i o n   s k e w   b e t w e e n   t h e   d i f f e r e n t   K u b e r n e t ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_3_6500"
  },
  {
    "question": "What is Cluster resilience?",
    "answer": "T h e   c l u s t e r   c r e a t e d   h e r e   h a s   a   s i n g l e   c o n t r o l - p l a n e   n o d e ,   w i t h   a   s i n g l e   e t c d   d a t a b a s e   r u n n i n g   o n   i t .   T h i s   m e a n s   t h a t   i f   t h e   c o n t r o l - p l a n e   n o d e   f a i l s ,   y o u r   c l u s t e r   m a y   l o s e   d a t a   a n d   m a y   n e e d   t o   b e   r e c r e a t e d   f r o m   s c r a t c h .   W o r k a r o u n d s :   R e g u l a r l y   b a c k   u p   e t c d .   T h e   e t c d   d a t a   d i r e c t o r y   c o n f i g u r e d   b y   k u b e a d m   i s   a t   / v a r / l i b / e t c d   o n   t h e   c o n t r o l - p l a n e   n o d e . U s e   m u l t i p l e   c o n t r o l - p l a n e   n o d e s .   Y o u   c a n   r e a d   O p t i o n s   f o r   H i g h l y   A v a i l a b l e   t o p o l o g y   t o   p i c k   a   c l u s t e r   t o p o l o g y   t h a t   p r o v i d e s   h i g h - a v a i l a b i l i t y .   R e g u l a r l y   b a c k   u p   e t c d .   T h e   e t c d   d a t a   d i r e c t o r y   c o n f i g u r e d   b y   k u b e a d m   i s   a t   / v a r / l i b / e t c d   o n   t h e   c o n t r o l - p l a n e   n o d e .   U s e   m u l t i p l e   c o n t r o l - p l a n e   n o d e s .   Y o u   c a n   r e a d   O p t i o n s   f o r   H i g h l y   A v a i l a b l e   t o p o l o g y   t o   p i c k   a   c l u s t e r   t o p o l o g y   t h a t   p r o v i d e s   h i g h - a v a i l a b i l i t y .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_3_6501"
  },
  {
    "question": "What is Platform compatibility?",
    "answer": "k u b e a d m   d e b / r p m   p a c k a g e s   a n d   b i n a r i e s   a r e   b u i l t   f o r   a m d 6 4 ,   a r m   ( 3 2 - b i t ) ,   a r m 6 4 ,   p p c 6 4 l e ,   a n d   s 3 9 0 x   f o l l o w i n g   t h e   m u l t i - p l a t f o r m   p r o p o s a l .   M u l t i p l a t f o r m   c o n t a i n e r   i m a g e s   f o r   t h e   c o n t r o l   p l a n e   a n d   a d d o n s   a r e   a l s o   s u p p o r t e d   s i n c e   v 1 . 1 2 .   O n l y   s o m e   o f   t h e   n e t w o r k   p r o v i d e r s   o f f e r   s o l u t i o n s   f o r   a l l   p l a t f o r m s .   P l e a s e   c o n s u l t   t h e   l i s t   o f   n e t w o r k   p r o v i d e r s   a b o v e   o r   t h e   d o c u m e n t a t i o n   f r o m   e a c h   p r o v i d e r   t o   f i g u r e   o u t   w h e t h e r   t h e   p r o v i d e r   s u p p o r t s   y o u r   c h o s e n   p l a t f o r m .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_3_6502"
  },
  {
    "question": "What is Troubleshooting?",
    "answer": "I f   y o u   a r e   r u n n i n g   i n t o   d i f f i c u l t i e s   w i t h   k u b e a d m ,   p l e a s e   c o n s u l t   o u r   t r o u b l e s h o o t i n g   d o c s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_2_6503"
  },
  {
    "question": "What is What's next?",
    "answer": "V e r i f y   t h a t   y o u r   c l u s t e r   i s   r u n n i n g   p r o p e r l y   w i t h   S o n o b u o y S e e   U p g r a d i n g   k u b e a d m   c l u s t e r s   f o r   d e t a i l s   a b o u t   u p g r a d i n g   y o u r   c l u s t e r   u s i n g   k u b e a d m . L e a r n   a b o u t   a d v a n c e d   k u b e a d m   u s a g e   i n   t h e   k u b e a d m   r e f e r e n c e   d o c u m e n t a t i o n L e a r n   m o r e   a b o u t   K u b e r n e t e s   c o n c e p t s   a n d   k u b e c t l . S e e   t h e   C l u s t e r   N e t w o r k i n g   p a g e   f o r   a   b i g g e r   l i s t   o f   P o d   n e t w o r k   a d d - o n s . S e e   t h e   l i s t   o f   a d d - o n s   t o   e x p l o r e   o t h e r   a d d - o n s ,   i n c l u d i n g   t o o l s   f o r   l o g g i n g ,   m o n i t o r i n g ,   n e t w o r k   p o l i c y ,   v i s u a l i z a t i o n   &   c o n t r o l   o f   y o u r   K u b e r n e t e s   c l u s t e r . C o n f i g u r e   h o w   y o u r   c l u s t e r   h a n d l e s   l o g s   f o r   c l u s t e r   e v e n t s   a n d   f r o m   a p p l i c a t i o n s   r u n n i n g   i n   P o d s .   S e e   L o g g i n g   A r c h i t e c t u r e   f o r   a n   o v e r v i e w   o f   w h a t   i s   i n v o l v e d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/",
    "id": "k8s_00335_section_2_6504"
  },
  {
    "question": "What is kubectl attach?",
    "answer": "kubectl attachSynopsisAttach to a process that is already running inside an existing container.kubectl attach (POD | TYPE/NAME) -c CONTAINER Examples # Get output from running pod mypod; use the 'kubectl.kubernetes.io/default-container' annotation # for selecting the container to be attached or the first container in the pod will be chosen kubectl attach mypod # Get output from ruby-container from pod mypod kubectl attach mypod -c ruby-container # Switch to raw terminal mode; sends stdin to 'bash' in ruby-container from pod mypod # and sends stdout/stderr from 'bash' back to the client kubectl attach mypod -c ruby-container -i -t # Get output from the first pod of a replica set named nginx kubectl attach rs/nginx Options-c, --container stringContainer name. If omitted, use the kubectl.kubernetes.io/default-container annotation for selecting the container to be attached or the first container in the pod will be chosen-h, --helphelp for attach--pod-running-timeout duration Default: 1m0sThe length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one pod is running-q, --quietOnly print output from the remote session-i, --stdinPass stdin to the container-t, --ttyStdin is a TTYParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_attach/",
    "id": "k8s_00336_qa_6505"
  },
  {
    "question": "How does kubectl attach work?",
    "answer": "kubectl attachSynopsisAttach to a process that is already running inside an existing container.kubectl attach (POD | TYPE/NAME) -c CONTAINER Examples # Get output from running pod mypod; use the 'kubectl.kubernetes.io/default-container' annotation # for selecting the container to be attached or the first container in the pod will be chosen kubectl attach mypod # Get output from ruby-container from pod mypod kubectl attach mypod -c ruby-container # Switch to raw terminal mode; sends stdin to 'bash' in ruby-container from pod mypod # and sends stdout/stderr from 'bash' back to the client kubectl attach mypod -c ruby-container -i -t # Get output from the first pod of a replica set named nginx kubectl attach rs/nginx Options-c, --container stringContainer name. If omitted, use the kubectl.kubernetes.io/default-container annotation for selecting the container to be attached or the first container in the pod will be chosen-h, --helphelp for attach--pod-running-timeout duration Default: 1m0sThe length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one pod is running-q, --quietOnly print output from the remote session-i, --stdinPass stdin to the container-t, --ttyStdin is a TTYParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_attach/",
    "id": "k8s_00336_qa_6506"
  },
  {
    "question": "When would you use kubectl attach?",
    "answer": "kubectl attachSynopsisAttach to a process that is already running inside an existing container.kubectl attach (POD | TYPE/NAME) -c CONTAINER Examples # Get output from running pod mypod; use the 'kubectl.kubernetes.io/default-container' annotation # for selecting the container to be attached or the first container in the pod will be chosen kubectl attach mypod # Get output from ruby-container from pod mypod kubectl attach mypod -c ruby-container # Switch to raw terminal mode; sends stdin to 'bash' in ruby-container from pod mypod # and sends stdout/stderr from 'bash' back to the client kubectl attach mypod -c ruby-container -i -t # Get output from the first pod of a replica set named nginx kubectl attach rs/nginx Options-c, --container stringContainer name. If omitted, use the kubectl.kubernetes.io/default-container annotation for selecting the container to be attached or the first container in the pod will be chosen-h, --helphelp for attach--pod-running-timeout duration Default: 1m0sThe length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one pod is running-q, --quietOnly print output from the remote session-i, --stdinPass stdin to the container-t, --ttyStdin is a TTYParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_attach/",
    "id": "k8s_00336_qa_6507"
  },
  {
    "question": "What are the benefits of kubectl attach?",
    "answer": "kubectl attachSynopsisAttach to a process that is already running inside an existing container.kubectl attach (POD | TYPE/NAME) -c CONTAINER Examples # Get output from running pod mypod; use the 'kubectl.kubernetes.io/default-container' annotation # for selecting the container to be attached or the first container in the pod will be chosen kubectl attach mypod # Get output from ruby-container from pod mypod kubectl attach mypod -c ruby-container # Switch to raw terminal mode; sends stdin to 'bash' in ruby-container from pod mypod # and sends stdout/stderr from 'bash' back to the client kubectl attach mypod -c ruby-container -i -t # Get output from the first pod of a replica set named nginx kubectl attach rs/nginx Options-c, --container stringContainer name. If omitted, use the kubectl.kubernetes.io/default-container annotation for selecting the container to be attached or the first container in the pod will be chosen-h, --helphelp for attach--pod-running-timeout duration Default: 1m0sThe length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one pod is running-q, --quietOnly print output from the remote session-i, --stdinPass stdin to the container-t, --ttyStdin is a TTYParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_attach/",
    "id": "k8s_00336_qa_6508"
  },
  {
    "question": "What is Synopsis?",
    "answer": "A t t a c h   t o   a   p r o c e s s   t h a t   i s   a l r e a d y   r u n n i n g   i n s i d e   a n   e x i s t i n g   c o n t a i n e r .   k u b e c t l   a t t a c h   ( P O D   |   T Y P E / N A M E )   - c   C O N T A I N E R",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_attach/",
    "id": "k8s_00336_section_2_6509"
  },
  {
    "question": "What is Examples?",
    "answer": "#   G e t   o u t p u t   f r o m   r u n n i n g   p o d   m y p o d ;   u s e   t h e   ' k u b e c t l . k u b e r n e t e s . i o / d e f a u l t - c o n t a i n e r '   a n n o t a t i o n   #   f o r   s e l e c t i n g   t h e   c o n t a i n e r   t o   b e   a t t a c h e d   o r   t h e   f i r s t   c o n t a i n e r   i n   t h e   p o d   w i l l   b e   c h o s e n   k u b e c t l   a t t a c h   m y p o d   #   G e t   o u t p u t   f r o m   r u b y - c o n t a i n e r   f r o m   p o d   m y p o d   k u b e c t l   a t t a c h   m y p o d   - c   r u b y - c o n t a i n e r   #   S w i t c h   t o   r a w   t e r m i n a l   m o d e ;   s e n d s   s t d i n   t o   ' b a s h '   i n   r u b y - c o n t a i n e r   f r o m   p o d   m y p o d   #   a n d   s e n d s   s t d o u t / s t d e r r   f r o m   ' b a s h '   b a c k   t o   t h e   c l i e n t   k u b e c t l   a t t a c h   m y p o d   - c   r u b y - c o n t a i n e r   - i   - t   #   G e t   o u t p u t   f r o m   t h e   f i r s t   p o d   o f   a   r e p l i c a   s e t   n a m e d   n g i n x   k u b e c t l   a t t a c h   r s / n g i n x",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_attach/",
    "id": "k8s_00336_section_2_6510"
  },
  {
    "question": "What is Options?",
    "answer": "C o n t a i n e r   n a m e .   I f   o m i t t e d ,   u s e   t h e   k u b e c t l . k u b e r n e t e s . i o / d e f a u l t - c o n t a i n e r   a n n o t a t i o n   f o r   s e l e c t i n g   t h e   c o n t a i n e r   t o   b e   a t t a c h e d   o r   t h e   f i r s t   c o n t a i n e r   i n   t h e   p o d   w i l l   b e   c h o s e n   h e l p   f o r   a t t a c h   T h e   l e n g t h   o f   t i m e   ( l i k e   5 s ,   2 m ,   o r   3 h ,   h i g h e r   t h a n   z e r o )   t o   w a i t   u n t i l   a t   l e a s t   o n e   p o d   i s   r u n n i n g   O n l y   p r i n t   o u t p u t   f r o m   t h e   r e m o t e   s e s s i o n   P a s s   s t d i n   t o   t h e   c o n t a i n e r   S t d i n   i s   a   T T Y",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_attach/",
    "id": "k8s_00336_section_2_6511"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_attach/",
    "id": "k8s_00336_section_2_6512"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_attach/",
    "id": "k8s_00336_section_2_6513"
  },
  {
    "question": "What is Configure Pods and Containers?",
    "answer": "Configure Pods and ContainersPerform common configuration tasks for Pods and containers.Assign Memory Resources to Containers and PodsAssign CPU Resources to Containers and PodsAssign Devices to Pods and ContainersAssign infrastructure resources to your Kubernetes workloads.Assign Pod-level CPU and memory resourcesConfigure GMSA for Windows Pods and containersResize CPU and Memory Resources assigned to ContainersConfigure RunAsUserName for Windows pods and containersCreate a Windows HostProcess PodConfigure Quality of Service for PodsAssign Extended Resources to a ContainerConfigure a Pod to Use a Volume for StorageConfigure a Pod to Use a PersistentVolume for StorageConfigure a Pod to Use a Projected Volume for StorageConfigure a Security Context for a Pod or ContainerConfigure Service Accounts for PodsPull an Image from a Private RegistryConfigure Liveness, Readiness and Startup ProbesAssign Pods to NodesAssign Pods to Nodes using Node AffinityConfigure Pod InitializationAttach Handlers to Container Lifecycle EventsConfigure a Pod to Use a ConfigMapShare Process Namespace between Containers in a PodUse a User Namespace With a PodUse an Image Volume With a PodCreate static PodsTranslate a Docker Compose File to Kubernetes ResourcesEnforce Pod Security Standards by Configuring the Built-in Admission ControllerEnforce Pod Security Standards with Namespace LabelsMigrate from PodSecurityPolicy to the Built-In PodSecurity Admission Controller",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/",
    "id": "k8s_00337_qa_6514"
  },
  {
    "question": "How does Configure Pods and Containers work?",
    "answer": "Configure Pods and ContainersPerform common configuration tasks for Pods and containers.Assign Memory Resources to Containers and PodsAssign CPU Resources to Containers and PodsAssign Devices to Pods and ContainersAssign infrastructure resources to your Kubernetes workloads.Assign Pod-level CPU and memory resourcesConfigure GMSA for Windows Pods and containersResize CPU and Memory Resources assigned to ContainersConfigure RunAsUserName for Windows pods and containersCreate a Windows HostProcess PodConfigure Quality of Service for PodsAssign Extended Resources to a ContainerConfigure a Pod to Use a Volume for StorageConfigure a Pod to Use a PersistentVolume for StorageConfigure a Pod to Use a Projected Volume for StorageConfigure a Security Context for a Pod or ContainerConfigure Service Accounts for PodsPull an Image from a Private RegistryConfigure Liveness, Readiness and Startup ProbesAssign Pods to NodesAssign Pods to Nodes using Node AffinityConfigure Pod InitializationAttach Handlers to Container Lifecycle EventsConfigure a Pod to Use a ConfigMapShare Process Namespace between Containers in a PodUse a User Namespace With a PodUse an Image Volume With a PodCreate static PodsTranslate a Docker Compose File to Kubernetes ResourcesEnforce Pod Security Standards by Configuring the Built-in Admission ControllerEnforce Pod Security Standards with Namespace LabelsMigrate from PodSecurityPolicy to the Built-In PodSecurity Admission Controller",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/",
    "id": "k8s_00337_qa_6515"
  },
  {
    "question": "When would you use Configure Pods and Containers?",
    "answer": "Configure Pods and ContainersPerform common configuration tasks for Pods and containers.Assign Memory Resources to Containers and PodsAssign CPU Resources to Containers and PodsAssign Devices to Pods and ContainersAssign infrastructure resources to your Kubernetes workloads.Assign Pod-level CPU and memory resourcesConfigure GMSA for Windows Pods and containersResize CPU and Memory Resources assigned to ContainersConfigure RunAsUserName for Windows pods and containersCreate a Windows HostProcess PodConfigure Quality of Service for PodsAssign Extended Resources to a ContainerConfigure a Pod to Use a Volume for StorageConfigure a Pod to Use a PersistentVolume for StorageConfigure a Pod to Use a Projected Volume for StorageConfigure a Security Context for a Pod or ContainerConfigure Service Accounts for PodsPull an Image from a Private RegistryConfigure Liveness, Readiness and Startup ProbesAssign Pods to NodesAssign Pods to Nodes using Node AffinityConfigure Pod InitializationAttach Handlers to Container Lifecycle EventsConfigure a Pod to Use a ConfigMapShare Process Namespace between Containers in a PodUse a User Namespace With a PodUse an Image Volume With a PodCreate static PodsTranslate a Docker Compose File to Kubernetes ResourcesEnforce Pod Security Standards by Configuring the Built-in Admission ControllerEnforce Pod Security Standards with Namespace LabelsMigrate from PodSecurityPolicy to the Built-In PodSecurity Admission Controller",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/",
    "id": "k8s_00337_qa_6516"
  },
  {
    "question": "What are the benefits of Configure Pods and Containers?",
    "answer": "Configure Pods and ContainersPerform common configuration tasks for Pods and containers.Assign Memory Resources to Containers and PodsAssign CPU Resources to Containers and PodsAssign Devices to Pods and ContainersAssign infrastructure resources to your Kubernetes workloads.Assign Pod-level CPU and memory resourcesConfigure GMSA for Windows Pods and containersResize CPU and Memory Resources assigned to ContainersConfigure RunAsUserName for Windows pods and containersCreate a Windows HostProcess PodConfigure Quality of Service for PodsAssign Extended Resources to a ContainerConfigure a Pod to Use a Volume for StorageConfigure a Pod to Use a PersistentVolume for StorageConfigure a Pod to Use a Projected Volume for StorageConfigure a Security Context for a Pod or ContainerConfigure Service Accounts for PodsPull an Image from a Private RegistryConfigure Liveness, Readiness and Startup ProbesAssign Pods to NodesAssign Pods to Nodes using Node AffinityConfigure Pod InitializationAttach Handlers to Container Lifecycle EventsConfigure a Pod to Use a ConfigMapShare Process Namespace between Containers in a PodUse a User Namespace With a PodUse an Image Volume With a PodCreate static PodsTranslate a Docker Compose File to Kubernetes ResourcesEnforce Pod Security Standards by Configuring the Built-in Admission ControllerEnforce Pod Security Standards with Namespace LabelsMigrate from PodSecurityPolicy to the Built-In PodSecurity Admission Controller",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/",
    "id": "k8s_00337_qa_6517"
  },
  {
    "question": "What is Assign Devices to Pods and Containers?",
    "answer": "A s s i g n   i n f r a s t r u c t u r e   r e s o u r c e s   t o   y o u r   K u b e r n e t e s   w o r k l o a d s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/",
    "id": "k8s_00337_section_5_6518"
  },
  {
    "question": "What is Handling retriable and non-retriable pod failures with Pod failure policy?",
    "answer": "Handling retriable and non-retriable pod failures with Pod failure policyFEATURE STATE: Kubernetes v1.31 [stable] (enabled by default: true)This document shows you how to use the Pod failure policy, in combination with the default Pod backoff failure policy, to improve the control over the handling of container- or Pod-level failure within a Job.The definition of Pod failure policy may help you to:better utilize the computational resources by avoiding unnecessary Pod retries.avoid Job failures due to Pod disruptions (such preemption, API-initiated eviction or taint-based eviction).Before you beginYou should already be familiar with the basic use of Job.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.25.To check the version, enter kubectl version.Usage scenariosConsider the following usage scenarios for Jobs that define a Pod failure policy :Avoiding unnecessary Pod retriesIgnoring Pod disruptionsAvoiding unnecessary Pod retries based on custom Pod ConditionsAvoiding unnecessary Pod retries per indexUsing Pod failure policy to avoid unnecessary Pod retriesWith the following example, you can learn how to use Pod failure policy to avoid unnecessary Pod restarts when a Pod failure indicates a non-retriable software bug.Examine the following manifest:/controllers/job-pod-failure-policy-failjob.yaml apiVersion: batch/v1 kind: Job metadata: name: job-pod-failure-policy-failjob spec: completions: 8 parallelism: 2 template: spec: restartPolicy: Never containers: - name: main image: docker.io/library/bash:5 command: [\"bash\"] args: - -c - echo \"Hello world! I'm going to exit with 42 to simulate a software bug.\" && sleep 30 && exit 42 backoffLimit: 6 podFailurePolicy: rules: - action: FailJob onExitCodes: containerName: main operator: In values: [42] Apply the manifest:kubectl create -f https://k8s.io/examples/controllers/job-pod-failure-policy-failjob.yaml After around 30 seconds the entire Job should be terminated. Inspect the status of the Job by running:kubectl get jobs -l job-name=job-pod-failure-policy-failjob -o yaml In the Job status, the following conditions display:FailureTarget condition: has a reason field set to PodFailurePolicy and a message field with more information about the termination, like Container main for pod default/job-pod-failure-policy-failjob-8ckj8 failed with exit code 42 matching FailJob rule at index 0. The Job controller adds this condition as soon as the Job is considered a failure. For details, see Termination of Job Pods.Failed condition: same reason and message as the FailureTarget condition. The",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/pod-failure-policy/",
    "id": "k8s_00338_qa_6519"
  },
  {
    "question": "How does Handling retriable and non-retriable pod failures with Pod failure policy work?",
    "answer": "Handling retriable and non-retriable pod failures with Pod failure policyFEATURE STATE: Kubernetes v1.31 [stable] (enabled by default: true)This document shows you how to use the Pod failure policy, in combination with the default Pod backoff failure policy, to improve the control over the handling of container- or Pod-level failure within a Job.The definition of Pod failure policy may help you to:better utilize the computational resources by avoiding unnecessary Pod retries.avoid Job failures due to Pod disruptions (such preemption, API-initiated eviction or taint-based eviction).Before you beginYou should already be familiar with the basic use of Job.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.25.To check the version, enter kubectl version.Usage scenariosConsider the following usage scenarios for Jobs that define a Pod failure policy :Avoiding unnecessary Pod retriesIgnoring Pod disruptionsAvoiding unnecessary Pod retries based on custom Pod ConditionsAvoiding unnecessary Pod retries per indexUsing Pod failure policy to avoid unnecessary Pod retriesWith the following example, you can learn how to use Pod failure policy to avoid unnecessary Pod restarts when a Pod failure indicates a non-retriable software bug.Examine the following manifest:/controllers/job-pod-failure-policy-failjob.yaml apiVersion: batch/v1 kind: Job metadata: name: job-pod-failure-policy-failjob spec: completions: 8 parallelism: 2 template: spec: restartPolicy: Never containers: - name: main image: docker.io/library/bash:5 command: [\"bash\"] args: - -c - echo \"Hello world! I'm going to exit with 42 to simulate a software bug.\" && sleep 30 && exit 42 backoffLimit: 6 podFailurePolicy: rules: - action: FailJob onExitCodes: containerName: main operator: In values: [42] Apply the manifest:kubectl create -f https://k8s.io/examples/controllers/job-pod-failure-policy-failjob.yaml After around 30 seconds the entire Job should be terminated. Inspect the status of the Job by running:kubectl get jobs -l job-name=job-pod-failure-policy-failjob -o yaml In the Job status, the following conditions display:FailureTarget condition: has a reason field set to PodFailurePolicy and a message field with more information about the termination, like Container main for pod default/job-pod-failure-policy-failjob-8ckj8 failed with exit code 42 matching FailJob rule at index 0. The Job controller adds this condition as soon as the Job is considered a failure. For details, see Termination of Job Pods.Failed condition: same reason and message as the FailureTarget condition. The",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/pod-failure-policy/",
    "id": "k8s_00338_qa_6520"
  },
  {
    "question": "When would you use Handling retriable and non-retriable pod failures with Pod failure policy?",
    "answer": "Handling retriable and non-retriable pod failures with Pod failure policyFEATURE STATE: Kubernetes v1.31 [stable] (enabled by default: true)This document shows you how to use the Pod failure policy, in combination with the default Pod backoff failure policy, to improve the control over the handling of container- or Pod-level failure within a Job.The definition of Pod failure policy may help you to:better utilize the computational resources by avoiding unnecessary Pod retries.avoid Job failures due to Pod disruptions (such preemption, API-initiated eviction or taint-based eviction).Before you beginYou should already be familiar with the basic use of Job.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.25.To check the version, enter kubectl version.Usage scenariosConsider the following usage scenarios for Jobs that define a Pod failure policy :Avoiding unnecessary Pod retriesIgnoring Pod disruptionsAvoiding unnecessary Pod retries based on custom Pod ConditionsAvoiding unnecessary Pod retries per indexUsing Pod failure policy to avoid unnecessary Pod retriesWith the following example, you can learn how to use Pod failure policy to avoid unnecessary Pod restarts when a Pod failure indicates a non-retriable software bug.Examine the following manifest:/controllers/job-pod-failure-policy-failjob.yaml apiVersion: batch/v1 kind: Job metadata: name: job-pod-failure-policy-failjob spec: completions: 8 parallelism: 2 template: spec: restartPolicy: Never containers: - name: main image: docker.io/library/bash:5 command: [\"bash\"] args: - -c - echo \"Hello world! I'm going to exit with 42 to simulate a software bug.\" && sleep 30 && exit 42 backoffLimit: 6 podFailurePolicy: rules: - action: FailJob onExitCodes: containerName: main operator: In values: [42] Apply the manifest:kubectl create -f https://k8s.io/examples/controllers/job-pod-failure-policy-failjob.yaml After around 30 seconds the entire Job should be terminated. Inspect the status of the Job by running:kubectl get jobs -l job-name=job-pod-failure-policy-failjob -o yaml In the Job status, the following conditions display:FailureTarget condition: has a reason field set to PodFailurePolicy and a message field with more information about the termination, like Container main for pod default/job-pod-failure-policy-failjob-8ckj8 failed with exit code 42 matching FailJob rule at index 0. The Job controller adds this condition as soon as the Job is considered a failure. For details, see Termination of Job Pods.Failed condition: same reason and message as the FailureTarget condition. The",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/pod-failure-policy/",
    "id": "k8s_00338_qa_6521"
  },
  {
    "question": "What are the benefits of Handling retriable and non-retriable pod failures with Pod failure policy?",
    "answer": "Handling retriable and non-retriable pod failures with Pod failure policyFEATURE STATE: Kubernetes v1.31 [stable] (enabled by default: true)This document shows you how to use the Pod failure policy, in combination with the default Pod backoff failure policy, to improve the control over the handling of container- or Pod-level failure within a Job.The definition of Pod failure policy may help you to:better utilize the computational resources by avoiding unnecessary Pod retries.avoid Job failures due to Pod disruptions (such preemption, API-initiated eviction or taint-based eviction).Before you beginYou should already be familiar with the basic use of Job.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.25.To check the version, enter kubectl version.Usage scenariosConsider the following usage scenarios for Jobs that define a Pod failure policy :Avoiding unnecessary Pod retriesIgnoring Pod disruptionsAvoiding unnecessary Pod retries based on custom Pod ConditionsAvoiding unnecessary Pod retries per indexUsing Pod failure policy to avoid unnecessary Pod retriesWith the following example, you can learn how to use Pod failure policy to avoid unnecessary Pod restarts when a Pod failure indicates a non-retriable software bug.Examine the following manifest:/controllers/job-pod-failure-policy-failjob.yaml apiVersion: batch/v1 kind: Job metadata: name: job-pod-failure-policy-failjob spec: completions: 8 parallelism: 2 template: spec: restartPolicy: Never containers: - name: main image: docker.io/library/bash:5 command: [\"bash\"] args: - -c - echo \"Hello world! I'm going to exit with 42 to simulate a software bug.\" && sleep 30 && exit 42 backoffLimit: 6 podFailurePolicy: rules: - action: FailJob onExitCodes: containerName: main operator: In values: [42] Apply the manifest:kubectl create -f https://k8s.io/examples/controllers/job-pod-failure-policy-failjob.yaml After around 30 seconds the entire Job should be terminated. Inspect the status of the Job by running:kubectl get jobs -l job-name=job-pod-failure-policy-failjob -o yaml In the Job status, the following conditions display:FailureTarget condition: has a reason field set to PodFailurePolicy and a message field with more information about the termination, like Container main for pod default/job-pod-failure-policy-failjob-8ckj8 failed with exit code 42 matching FailJob rule at index 0. The Job controller adds this condition as soon as the Job is considered a failure. For details, see Termination of Job Pods.Failed condition: same reason and message as the FailureTarget condition. The",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/pod-failure-policy/",
    "id": "k8s_00338_qa_6522"
  },
  {
    "question": "What is Handling retriable and non-retriable pod failures with Pod failure policy?",
    "answer": "T h i s   d o c u m e n t   s h o w s   y o u   h o w   t o   u s e   t h e   P o d   f a i l u r e   p o l i c y ,   i n   c o m b i n a t i o n   w i t h   t h e   d e f a u l t   P o d   b a c k o f f   f a i l u r e   p o l i c y ,   t o   i m p r o v e   t h e   c o n t r o l   o v e r   t h e   h a n d l i n g   o f   c o n t a i n e r -   o r   P o d - l e v e l   f a i l u r e   w i t h i n   a   J o b .   T h e   d e f i n i t i o n   o f   P o d   f a i l u r e   p o l i c y   m a y   h e l p   y o u   t o :   b e t t e r   u t i l i z e   t h e   c o m p u t a t i o n a l   r e s o u r c e s   b y   a v o i d i n g   u n n e c e s s a r y   P o d   r e t r i e s . a v o i d   J o b   f a i l u r e s   d u e   t o   P o d   d i s r u p t i o n s   ( s u c h   p r e e m p t i o n ,   A P I - i n i t i a t e d   e v i c t i o n   o r   t a i n t - b a s e d   e v i c t i o n ) .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/pod-failure-policy/",
    "id": "k8s_00338_section_1_6523"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   s h o u l d   a l r e a d y   b e   f a m i l i a r   w i t h   t h e   b a s i c   u s e   o f   J o b .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 2 5 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/pod-failure-policy/",
    "id": "k8s_00338_section_2_6524"
  },
  {
    "question": "What is Usage scenarios?",
    "answer": "C o n s i d e r   t h e   f o l l o w i n g   u s a g e   s c e n a r i o s   f o r   J o b s   t h a t   d e f i n e   a   P o d   f a i l u r e   p o l i c y   :   A v o i d i n g   u n n e c e s s a r y   P o d   r e t r i e s I g n o r i n g   P o d   d i s r u p t i o n s A v o i d i n g   u n n e c e s s a r y   P o d   r e t r i e s   b a s e d   o n   c u s t o m   P o d   C o n d i t i o n s A v o i d i n g   u n n e c e s s a r y   P o d   r e t r i e s   p e r   i n d e x",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/pod-failure-policy/",
    "id": "k8s_00338_section_2_6525"
  },
  {
    "question": "What is Using Pod failure policy to avoid unnecessary Pod retries?",
    "answer": "W i t h   t h e   f o l l o w i n g   e x a m p l e ,   y o u   c a n   l e a r n   h o w   t o   u s e   P o d   f a i l u r e   p o l i c y   t o   a v o i d   u n n e c e s s a r y   P o d   r e s t a r t s   w h e n   a   P o d   f a i l u r e   i n d i c a t e s   a   n o n - r e t r i a b l e   s o f t w a r e   b u g .   E x a m i n e   t h e   f o l l o w i n g   m a n i f e s t : / c o n t r o l l e r s / j o b - p o d - f a i l u r e - p o l i c y - f a i l j o b . y a m l   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   j o b - p o d - f a i l u r e - p o l i c y - f a i l j o b   s p e c :   c o m p l e t i o n s :   8   p a r a l l e l i s m :   2   t e m p l a t e :   s p e c :   r e s t a r t P o l i c y :   N e v e r   c o n t a i n e r s :   -   n a m e :   m a i n   i m a g e :   d o c k e r . i o / l i b r a r y / b a s h : 5   c o m m a n d :   [ \" b a s h \" ]   a r g s :   -   - c   -   e c h o   \" H e l l o   w o r l d !   I ' m   g o i n g   t o   e x i t   w i t h   4 2   t o   s i m u l a t e   a   s o f t w a r e   b u g . \"   & &   s l e e p   3 0   & &   e x i t   4 2   b a c k o f f L i m i t :   6   p o d F a i l u r e P o l i c y :   r u l e s :   -   a c t i o n :   F a i l J o b   o n E x i t C o d e s :   c o n t a i n e r N a m e :   m a i n   o p e r a t o r :   I n   v a l u e s :   [ 4 2 ]   A p p l y   t h e   m a n i f e s t : k u b e c t l   c r e a t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / c o n t r o l l e r s / j o b - p o d - f a i l u r e - p o l i c y - f a i l j o b . y a m l   A f t e r   a r o u n d   3 0   s e c o n d s   t h e   e n t i r e   J o b   s h o u l d   b e   t e r m i n a t e d .   I n s p e c t   t h e   s t a t u s   o f   t h e   J o b   b y   r u n n i n g : k u b e c t l   g e t   j o b s   - l   j o b - n a m e = j o b - p o d - f a i l u r e - p o l i c y - f a i l j o b   - o   y a m l   I n   t h e   J o b   s t a t u s ,   t h e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/pod-failure-policy/",
    "id": "k8s_00338_section_3_6526"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   t h e   J o b   y o u   c r e a t e d :   k u b e c t l   d e l e t e   j o b s / j o b - p o d - f a i l u r e - p o l i c y - f a i l j o b   T h e   c l u s t e r   a u t o m a t i c a l l y   c l e a n s   u p   t h e   P o d s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/pod-failure-policy/",
    "id": "k8s_00338_section_4_6527"
  },
  {
    "question": "What is Using Pod failure policy to ignore Pod disruptions?",
    "answer": "W i t h   t h e   f o l l o w i n g   e x a m p l e ,   y o u   c a n   l e a r n   h o w   t o   u s e   P o d   f a i l u r e   p o l i c y   t o   i g n o r e   P o d   d i s r u p t i o n s   f r o m   i n c r e m e n t i n g   t h e   P o d   r e t r y   c o u n t e r   t o w a r d s   t h e   . s p e c . b a c k o f f L i m i t   l i m i t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/pod-failure-policy/",
    "id": "k8s_00338_section_3_6528"
  },
  {
    "question": "What is Caution:?",
    "answer": "E x a m i n e   t h e   f o l l o w i n g   m a n i f e s t : / c o n t r o l l e r s / j o b - p o d - f a i l u r e - p o l i c y - i g n o r e . y a m l   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   j o b - p o d - f a i l u r e - p o l i c y - i g n o r e   s p e c :   c o m p l e t i o n s :   4   p a r a l l e l i s m :   2   t e m p l a t e :   s p e c :   r e s t a r t P o l i c y :   N e v e r   c o n t a i n e r s :   -   n a m e :   m a i n   i m a g e :   d o c k e r . i o / l i b r a r y / b a s h : 5   c o m m a n d :   [ \" b a s h \" ]   a r g s :   -   - c   -   e c h o   \" H e l l o   w o r l d !   I ' m   g o i n g   t o   e x i t   w i t h   0   ( s u c c e s s ) . \"   & &   s l e e p   9 0   & &   e x i t   0   b a c k o f f L i m i t :   0   p o d F a i l u r e P o l i c y :   r u l e s :   -   a c t i o n :   I g n o r e   o n P o d C o n d i t i o n s :   -   t y p e :   D i s r u p t i o n T a r g e t   A p p l y   t h e   m a n i f e s t : k u b e c t l   c r e a t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / c o n t r o l l e r s / j o b - p o d - f a i l u r e - p o l i c y - i g n o r e . y a m l   R u n   t h i s   c o m m a n d   t o   c h e c k   t h e   n o d e N a m e   t h e   P o d   i s   s c h e d u l e d   t o : n o d e N a m e = $ ( k u b e c t l   g e t   p o d s   - l   j o b - n a m e = j o b - p o d - f a i l u r e - p o l i c y - i g n o r e   - o   j s o n p a t h = ' { . i t e m s [ 0 ] . s p e c . n o d e N a m e } ' )   D r a i n   t h e   n o d e   t o   e v i c t   t h e   P o d   b e f o r e   i t   c o m p l e t e s   ( w i t h i n   9 0 s ) : k u b e c t l   d r a i n   n o d e s / $ n o d e N a m e   - - i g n o r e - d a e m o n s e t s   - - g r a c e - p e r i o d = 0   I n s p e c t   t h e   . s t a t u s . f a i l e d   t o   c h e c k   t h e   c o u n t e r   f o r   t h e   J o b   i s   n o t   i n c r e m e n t e d : k u b e c t l   g e t   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/pod-failure-policy/",
    "id": "k8s_00338_section_4_6529"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "D e l e t e   t h e   J o b   y o u   c r e a t e d :   k u b e c t l   d e l e t e   j o b s / j o b - p o d - f a i l u r e - p o l i c y - i g n o r e   T h e   c l u s t e r   a u t o m a t i c a l l y   c l e a n s   u p   t h e   P o d s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/pod-failure-policy/",
    "id": "k8s_00338_section_4_6530"
  },
  {
    "question": "What is Using Pod failure policy to avoid unnecessary Pod retries based on custom Pod Conditions?",
    "answer": "W i t h   t h e   f o l l o w i n g   e x a m p l e ,   y o u   c a n   l e a r n   h o w   t o   u s e   P o d   f a i l u r e   p o l i c y   t o   a v o i d   u n n e c e s s a r y   P o d   r e s t a r t s   b a s e d   o n   c u s t o m   P o d   C o n d i t i o n s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/pod-failure-policy/",
    "id": "k8s_00338_section_3_6531"
  },
  {
    "question": "What is Note:?",
    "answer": "E x a m i n e   t h e   f o l l o w i n g   m a n i f e s t : / c o n t r o l l e r s / j o b - p o d - f a i l u r e - p o l i c y - c o n f i g - i s s u e . y a m l   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   j o b - p o d - f a i l u r e - p o l i c y - c o n f i g - i s s u e   s p e c :   c o m p l e t i o n s :   8   p a r a l l e l i s m :   2   t e m p l a t e :   s p e c :   r e s t a r t P o l i c y :   N e v e r   c o n t a i n e r s :   -   n a m e :   m a i n   i m a g e :   \" n o n - e x i s t i n g - r e p o / n o n - e x i s t i n g - i m a g e : e x a m p l e \"   b a c k o f f L i m i t :   6   p o d F a i l u r e P o l i c y :   r u l e s :   -   a c t i o n :   F a i l J o b   o n P o d C o n d i t i o n s :   -   t y p e :   C o n f i g I s s u e   A p p l y   t h e   m a n i f e s t : k u b e c t l   c r e a t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / c o n t r o l l e r s / j o b - p o d - f a i l u r e - p o l i c y - c o n f i g - i s s u e . y a m l   N o t e   t h a t ,   t h e   i m a g e   i s   m i s c o n f i g u r e d ,   a s   i t   d o e s   n o t   e x i s t . I n s p e c t   t h e   s t a t u s   o f   t h e   j o b ' s   P o d s   b y   r u n n i n g : k u b e c t l   g e t   p o d s   - l   j o b - n a m e = j o b - p o d - f a i l u r e - p o l i c y - c o n f i g - i s s u e   - o   y a m l   Y o u   w i l l   s e e   o u t p u t   s i m i l a r   t o   t h i s : c o n t a i n e r S t a t u s e s :   -   i m a g e :   n o n - e x i s t i n g - r e p o / n o n - e x i s t i n g - i m a g e : e x a m p l e   . . .   s t a t e :   w a i t i n g :   m e s s a g e :   B a c k - o f f   p u l l i n g   i m a g e   \" n o n - e x i s t i n g - r e p o / n o n - e x i s t i n g - i m a g e : e x a m p l e \"   r e a s o n :   I m a g e P u l l B a c k O f f   . . .   p h a s e :   P e n d i n g   N o t e   t h a t   t h e   p o d   r e m a i n s   i n   t h e   P e n d ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/pod-failure-policy/",
    "id": "k8s_00338_section_4_6532"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "D e l e t e   t h e   J o b   y o u   c r e a t e d :   k u b e c t l   d e l e t e   j o b s / j o b - p o d - f a i l u r e - p o l i c y - c o n f i g - i s s u e   T h e   c l u s t e r   a u t o m a t i c a l l y   c l e a n s   u p   t h e   P o d s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/pod-failure-policy/",
    "id": "k8s_00338_section_4_6533"
  },
  {
    "question": "What is Using Pod Failure Policy to avoid unnecessary Pod retries per index?",
    "answer": "T o   a v o i d   u n n e c e s s a r y   P o d   r e s t a r t s   p e r   i n d e x ,   y o u   c a n   u s e   t h e   P o d   f a i l u r e   p o l i c y   a n d   b a c k o f f   l i m i t   p e r   i n d e x   f e a t u r e s .   T h i s   s e c t i o n   o f   t h e   p a g e   s h o w s   h o w   t o   u s e   t h e s e   f e a t u r e s   t o g e t h e r .   E x a m i n e   t h e   f o l l o w i n g   m a n i f e s t : / c o n t r o l l e r s / j o b - b a c k o f f - l i m i t - p e r - i n d e x - f a i l i n d e x . y a m l   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   j o b - b a c k o f f - l i m i t - p e r - i n d e x - f a i l i n d e x   s p e c :   c o m p l e t i o n s :   4   p a r a l l e l i s m :   2   c o m p l e t i o n M o d e :   I n d e x e d   b a c k o f f L i m i t P e r I n d e x :   1   t e m p l a t e :   s p e c :   r e s t a r t P o l i c y :   N e v e r   c o n t a i n e r s :   -   n a m e :   m a i n   i m a g e :   d o c k e r . i o / l i b r a r y / p y t h o n : 3   c o m m a n d :   #   T h e   s c r i p t :   #   -   f a i l s   t h e   P o d   w i t h   i n d e x   0   w i t h   e x i t   c o d e   1 ,   w h i c h   r e s u l t s   i n   o n e   r e t r y ;   #   -   f a i l s   t h e   P o d   w i t h   i n d e x   1   w i t h   e x i t   c o d e   4 2   w h i c h   r e s u l t s   #   i n   f a i l i n g   t h e   i n d e x   w i t h o u t   r e t r y .   #   -   s u c c e e d s   P o d s   w i t h   a n y   o t h e r   i n d e x .   -   p y t h o n 3   -   - c   -   |   i m p o r t   o s ,   s y s   i n d e x   =   i n t ( o s . e n v i r o n . g e t ( \" J O B _ C O M P L E T I O N _ I N D E X \" ) )   i f   i n d e x   = =   0 :   s y s . e x i t ( 1 )   e l i f   i n d e x   = =   1 :   s y s . e x i t ( 4 2 )   e l s e :   s y s . e x i t ( 0 )   b a c k o f f L i m i t :   6   p o d F a i l u r e P o l i c y :   r u l e s :   -   a c t i o n :   F a i l I n d e x   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/pod-failure-policy/",
    "id": "k8s_00338_section_3_6534"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "D e l e t e   t h e   J o b   y o u   c r e a t e d :   k u b e c t l   d e l e t e   j o b s / j o b - b a c k o f f - l i m i t - p e r - i n d e x - f a i l i n d e x   T h e   c l u s t e r   a u t o m a t i c a l l y   c l e a n s   u p   t h e   P o d s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/pod-failure-policy/",
    "id": "k8s_00338_section_4_6535"
  },
  {
    "question": "What is Alternatives?",
    "answer": "Y o u   c o u l d   r e l y   s o l e l y   o n   t h e   P o d   b a c k o f f   f a i l u r e   p o l i c y ,   b y   s p e c i f y i n g   t h e   J o b ' s   . s p e c . b a c k o f f L i m i t   f i e l d .   H o w e v e r ,   i n   m a n y   s i t u a t i o n s   i t   i s   p r o b l e m a t i c   t o   f i n d   a   b a l a n c e   b e t w e e n   s e t t i n g   a   l o w   v a l u e   f o r   . s p e c . b a c k o f f L i m i t   t o   a v o i d   u n n e c e s s a r y   P o d   r e t r i e s ,   y e t   h i g h   e n o u g h   t o   m a k e   s u r e   t h e   J o b   w o u l d   n o t   b e   t e r m i n a t e d   b y   P o d   d i s r u p t i o n s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/job/pod-failure-policy/",
    "id": "k8s_00338_section_2_6536"
  },
  {
    "question": "What is Authenticating with Bootstrap Tokens?",
    "answer": "Authenticating with Bootstrap TokensFEATURE STATE: Kubernetes v1.18 [stable]Bootstrap tokens are a simple bearer token that is meant to be used when creating new clusters or joining new nodes to an existing cluster. It was built to support kubeadm, but can be used in other contexts for users that wish to start clusters without kubeadm. It is also built to work, via RBAC policy, with the kubelet TLS Bootstrapping system.Bootstrap Tokens OverviewBootstrap Tokens are defined with a specific type (bootstrap.kubernetes.io/token) of secrets that lives in the kube-system namespace. These Secrets are then read by the Bootstrap Authenticator in the API Server. Expired tokens are removed with the TokenCleaner controller in the Controller Manager. The tokens are also used to create a signature for a specific ConfigMap used in a \"discovery\" process through a BootstrapSigner controller.Token FormatBootstrap Tokens take the form of abcdef.0123456789abcdef. More formally, they must match the regular expression [a-z0-9]{6}\\.[a-z0-9]{16}.The first part of the token is the \"Token ID\" and is considered public information. It is used when referring to a token without leaking the secret part used for authentication. The second part is the \"Token Secret\" and should only be shared with trusted parties.Enabling Bootstrap Token AuthenticationThe Bootstrap Token authenticator can be enabled using the following flag on the API server:--enable-bootstrap-token-auth When enabled, bootstrapping tokens can be used as bearer token credentials to authenticate requests against the API server.Authorization: Bearer 07401b.f395accd246ae52d Tokens authenticate as the username system:bootstrap:<token id> and are members of the group system:bootstrappers. Additional groups may be specified in the token's Secret.Expired tokens can be deleted automatically by enabling the tokencleaner controller on the controller manager.--controllers=*,tokencleaner Bootstrap Token Secret FormatEach valid token is backed by a secret in the kube-system namespace. You can find the full design doc here.Here is what the secret looks like.apiVersion: v1 kind: Secret metadata: # Name MUST be of form \"bootstrap-token-<token id>\" name: bootstrap-token-07401b namespace: kube-system # Type MUST be 'bootstrap.kubernetes.io/token' type: bootstrap.kubernetes.io/token stringData: # Human readable description. Optional. description: \"The default bootstrap token generated by 'kubeadm init'.\" # Token ID and secret. Required. token-id: 07401b token-secret: f395accd246ae52d # Expiration. Optional. expiration: 2017-03-10T03:22:11Z # Allowed usages. usage-bootstrap-authentication: \"true\" usage-bootstrap-signing: \"true\" # Extra groups to authenticate the token as. Must start with \"system:bootstrappers:\" auth-extra-groups: system:bootstrappers:worker,system:bootstrappers:ingress The type of the secret must be bootstrap.kubernetes.io/token and the name must be bootstrap-token-<token id>. It must also exist in the kube-system nam",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/bootstrap-tokens/",
    "id": "k8s_00339_qa_6537"
  },
  {
    "question": "How does Authenticating with Bootstrap Tokens work?",
    "answer": "Authenticating with Bootstrap TokensFEATURE STATE: Kubernetes v1.18 [stable]Bootstrap tokens are a simple bearer token that is meant to be used when creating new clusters or joining new nodes to an existing cluster. It was built to support kubeadm, but can be used in other contexts for users that wish to start clusters without kubeadm. It is also built to work, via RBAC policy, with the kubelet TLS Bootstrapping system.Bootstrap Tokens OverviewBootstrap Tokens are defined with a specific type (bootstrap.kubernetes.io/token) of secrets that lives in the kube-system namespace. These Secrets are then read by the Bootstrap Authenticator in the API Server. Expired tokens are removed with the TokenCleaner controller in the Controller Manager. The tokens are also used to create a signature for a specific ConfigMap used in a \"discovery\" process through a BootstrapSigner controller.Token FormatBootstrap Tokens take the form of abcdef.0123456789abcdef. More formally, they must match the regular expression [a-z0-9]{6}\\.[a-z0-9]{16}.The first part of the token is the \"Token ID\" and is considered public information. It is used when referring to a token without leaking the secret part used for authentication. The second part is the \"Token Secret\" and should only be shared with trusted parties.Enabling Bootstrap Token AuthenticationThe Bootstrap Token authenticator can be enabled using the following flag on the API server:--enable-bootstrap-token-auth When enabled, bootstrapping tokens can be used as bearer token credentials to authenticate requests against the API server.Authorization: Bearer 07401b.f395accd246ae52d Tokens authenticate as the username system:bootstrap:<token id> and are members of the group system:bootstrappers. Additional groups may be specified in the token's Secret.Expired tokens can be deleted automatically by enabling the tokencleaner controller on the controller manager.--controllers=*,tokencleaner Bootstrap Token Secret FormatEach valid token is backed by a secret in the kube-system namespace. You can find the full design doc here.Here is what the secret looks like.apiVersion: v1 kind: Secret metadata: # Name MUST be of form \"bootstrap-token-<token id>\" name: bootstrap-token-07401b namespace: kube-system # Type MUST be 'bootstrap.kubernetes.io/token' type: bootstrap.kubernetes.io/token stringData: # Human readable description. Optional. description: \"The default bootstrap token generated by 'kubeadm init'.\" # Token ID and secret. Required. token-id: 07401b token-secret: f395accd246ae52d # Expiration. Optional. expiration: 2017-03-10T03:22:11Z # Allowed usages. usage-bootstrap-authentication: \"true\" usage-bootstrap-signing: \"true\" # Extra groups to authenticate the token as. Must start with \"system:bootstrappers:\" auth-extra-groups: system:bootstrappers:worker,system:bootstrappers:ingress The type of the secret must be bootstrap.kubernetes.io/token and the name must be bootstrap-token-<token id>. It must also exist in the kube-system nam",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/bootstrap-tokens/",
    "id": "k8s_00339_qa_6538"
  },
  {
    "question": "When would you use Authenticating with Bootstrap Tokens?",
    "answer": "Authenticating with Bootstrap TokensFEATURE STATE: Kubernetes v1.18 [stable]Bootstrap tokens are a simple bearer token that is meant to be used when creating new clusters or joining new nodes to an existing cluster. It was built to support kubeadm, but can be used in other contexts for users that wish to start clusters without kubeadm. It is also built to work, via RBAC policy, with the kubelet TLS Bootstrapping system.Bootstrap Tokens OverviewBootstrap Tokens are defined with a specific type (bootstrap.kubernetes.io/token) of secrets that lives in the kube-system namespace. These Secrets are then read by the Bootstrap Authenticator in the API Server. Expired tokens are removed with the TokenCleaner controller in the Controller Manager. The tokens are also used to create a signature for a specific ConfigMap used in a \"discovery\" process through a BootstrapSigner controller.Token FormatBootstrap Tokens take the form of abcdef.0123456789abcdef. More formally, they must match the regular expression [a-z0-9]{6}\\.[a-z0-9]{16}.The first part of the token is the \"Token ID\" and is considered public information. It is used when referring to a token without leaking the secret part used for authentication. The second part is the \"Token Secret\" and should only be shared with trusted parties.Enabling Bootstrap Token AuthenticationThe Bootstrap Token authenticator can be enabled using the following flag on the API server:--enable-bootstrap-token-auth When enabled, bootstrapping tokens can be used as bearer token credentials to authenticate requests against the API server.Authorization: Bearer 07401b.f395accd246ae52d Tokens authenticate as the username system:bootstrap:<token id> and are members of the group system:bootstrappers. Additional groups may be specified in the token's Secret.Expired tokens can be deleted automatically by enabling the tokencleaner controller on the controller manager.--controllers=*,tokencleaner Bootstrap Token Secret FormatEach valid token is backed by a secret in the kube-system namespace. You can find the full design doc here.Here is what the secret looks like.apiVersion: v1 kind: Secret metadata: # Name MUST be of form \"bootstrap-token-<token id>\" name: bootstrap-token-07401b namespace: kube-system # Type MUST be 'bootstrap.kubernetes.io/token' type: bootstrap.kubernetes.io/token stringData: # Human readable description. Optional. description: \"The default bootstrap token generated by 'kubeadm init'.\" # Token ID and secret. Required. token-id: 07401b token-secret: f395accd246ae52d # Expiration. Optional. expiration: 2017-03-10T03:22:11Z # Allowed usages. usage-bootstrap-authentication: \"true\" usage-bootstrap-signing: \"true\" # Extra groups to authenticate the token as. Must start with \"system:bootstrappers:\" auth-extra-groups: system:bootstrappers:worker,system:bootstrappers:ingress The type of the secret must be bootstrap.kubernetes.io/token and the name must be bootstrap-token-<token id>. It must also exist in the kube-system nam",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/bootstrap-tokens/",
    "id": "k8s_00339_qa_6539"
  },
  {
    "question": "What are the benefits of Authenticating with Bootstrap Tokens?",
    "answer": "Authenticating with Bootstrap TokensFEATURE STATE: Kubernetes v1.18 [stable]Bootstrap tokens are a simple bearer token that is meant to be used when creating new clusters or joining new nodes to an existing cluster. It was built to support kubeadm, but can be used in other contexts for users that wish to start clusters without kubeadm. It is also built to work, via RBAC policy, with the kubelet TLS Bootstrapping system.Bootstrap Tokens OverviewBootstrap Tokens are defined with a specific type (bootstrap.kubernetes.io/token) of secrets that lives in the kube-system namespace. These Secrets are then read by the Bootstrap Authenticator in the API Server. Expired tokens are removed with the TokenCleaner controller in the Controller Manager. The tokens are also used to create a signature for a specific ConfigMap used in a \"discovery\" process through a BootstrapSigner controller.Token FormatBootstrap Tokens take the form of abcdef.0123456789abcdef. More formally, they must match the regular expression [a-z0-9]{6}\\.[a-z0-9]{16}.The first part of the token is the \"Token ID\" and is considered public information. It is used when referring to a token without leaking the secret part used for authentication. The second part is the \"Token Secret\" and should only be shared with trusted parties.Enabling Bootstrap Token AuthenticationThe Bootstrap Token authenticator can be enabled using the following flag on the API server:--enable-bootstrap-token-auth When enabled, bootstrapping tokens can be used as bearer token credentials to authenticate requests against the API server.Authorization: Bearer 07401b.f395accd246ae52d Tokens authenticate as the username system:bootstrap:<token id> and are members of the group system:bootstrappers. Additional groups may be specified in the token's Secret.Expired tokens can be deleted automatically by enabling the tokencleaner controller on the controller manager.--controllers=*,tokencleaner Bootstrap Token Secret FormatEach valid token is backed by a secret in the kube-system namespace. You can find the full design doc here.Here is what the secret looks like.apiVersion: v1 kind: Secret metadata: # Name MUST be of form \"bootstrap-token-<token id>\" name: bootstrap-token-07401b namespace: kube-system # Type MUST be 'bootstrap.kubernetes.io/token' type: bootstrap.kubernetes.io/token stringData: # Human readable description. Optional. description: \"The default bootstrap token generated by 'kubeadm init'.\" # Token ID and secret. Required. token-id: 07401b token-secret: f395accd246ae52d # Expiration. Optional. expiration: 2017-03-10T03:22:11Z # Allowed usages. usage-bootstrap-authentication: \"true\" usage-bootstrap-signing: \"true\" # Extra groups to authenticate the token as. Must start with \"system:bootstrappers:\" auth-extra-groups: system:bootstrappers:worker,system:bootstrappers:ingress The type of the secret must be bootstrap.kubernetes.io/token and the name must be bootstrap-token-<token id>. It must also exist in the kube-system nam",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/bootstrap-tokens/",
    "id": "k8s_00339_qa_6540"
  },
  {
    "question": "What is Authenticating with Bootstrap Tokens?",
    "answer": "B o o t s t r a p   t o k e n s   a r e   a   s i m p l e   b e a r e r   t o k e n   t h a t   i s   m e a n t   t o   b e   u s e d   w h e n   c r e a t i n g   n e w   c l u s t e r s   o r   j o i n i n g   n e w   n o d e s   t o   a n   e x i s t i n g   c l u s t e r .   I t   w a s   b u i l t   t o   s u p p o r t   k u b e a d m ,   b u t   c a n   b e   u s e d   i n   o t h e r   c o n t e x t s   f o r   u s e r s   t h a t   w i s h   t o   s t a r t   c l u s t e r s   w i t h o u t   k u b e a d m .   I t   i s   a l s o   b u i l t   t o   w o r k ,   v i a   R B A C   p o l i c y ,   w i t h   t h e   k u b e l e t   T L S   B o o t s t r a p p i n g   s y s t e m .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/bootstrap-tokens/",
    "id": "k8s_00339_section_1_6541"
  },
  {
    "question": "What is Bootstrap Tokens Overview?",
    "answer": "B o o t s t r a p   T o k e n s   a r e   d e f i n e d   w i t h   a   s p e c i f i c   t y p e   ( b o o t s t r a p . k u b e r n e t e s . i o / t o k e n )   o f   s e c r e t s   t h a t   l i v e s   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   T h e s e   S e c r e t s   a r e   t h e n   r e a d   b y   t h e   B o o t s t r a p   A u t h e n t i c a t o r   i n   t h e   A P I   S e r v e r .   E x p i r e d   t o k e n s   a r e   r e m o v e d   w i t h   t h e   T o k e n C l e a n e r   c o n t r o l l e r   i n   t h e   C o n t r o l l e r   M a n a g e r .   T h e   t o k e n s   a r e   a l s o   u s e d   t o   c r e a t e   a   s i g n a t u r e   f o r   a   s p e c i f i c   C o n f i g M a p   u s e d   i n   a   \" d i s c o v e r y \"   p r o c e s s   t h r o u g h   a   B o o t s t r a p S i g n e r   c o n t r o l l e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/bootstrap-tokens/",
    "id": "k8s_00339_section_2_6542"
  },
  {
    "question": "What is Token Format?",
    "answer": "B o o t s t r a p   T o k e n s   t a k e   t h e   f o r m   o f   a b c d e f . 0 1 2 3 4 5 6 7 8 9 a b c d e f .   M o r e   f o r m a l l y ,   t h e y   m u s t   m a t c h   t h e   r e g u l a r   e x p r e s s i o n   [ a - z 0 - 9 ] { 6 } \\ . [ a - z 0 - 9 ] { 1 6 } .   T h e   f i r s t   p a r t   o f   t h e   t o k e n   i s   t h e   \" T o k e n   I D \"   a n d   i s   c o n s i d e r e d   p u b l i c   i n f o r m a t i o n .   I t   i s   u s e d   w h e n   r e f e r r i n g   t o   a   t o k e n   w i t h o u t   l e a k i n g   t h e   s e c r e t   p a r t   u s e d   f o r   a u t h e n t i c a t i o n .   T h e   s e c o n d   p a r t   i s   t h e   \" T o k e n   S e c r e t \"   a n d   s h o u l d   o n l y   b e   s h a r e d   w i t h   t r u s t e d   p a r t i e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/bootstrap-tokens/",
    "id": "k8s_00339_section_2_6543"
  },
  {
    "question": "What is Enabling Bootstrap Token Authentication?",
    "answer": "T h e   B o o t s t r a p   T o k e n   a u t h e n t i c a t o r   c a n   b e   e n a b l e d   u s i n g   t h e   f o l l o w i n g   f l a g   o n   t h e   A P I   s e r v e r :   - - e n a b l e - b o o t s t r a p - t o k e n - a u t h   W h e n   e n a b l e d ,   b o o t s t r a p p i n g   t o k e n s   c a n   b e   u s e d   a s   b e a r e r   t o k e n   c r e d e n t i a l s   t o   a u t h e n t i c a t e   r e q u e s t s   a g a i n s t   t h e   A P I   s e r v e r .   A u t h o r i z a t i o n :   B e a r e r   0 7 4 0 1 b . f 3 9 5 a c c d 2 4 6 a e 5 2 d   T o k e n s   a u t h e n t i c a t e   a s   t h e   u s e r n a m e   s y s t e m : b o o t s t r a p : < t o k e n   i d >   a n d   a r e   m e m b e r s   o f   t h e   g r o u p   s y s t e m : b o o t s t r a p p e r s .   A d d i t i o n a l   g r o u p s   m a y   b e   s p e c i f i e d   i n   t h e   t o k e n ' s   S e c r e t .   E x p i r e d   t o k e n s   c a n   b e   d e l e t e d   a u t o m a t i c a l l y   b y   e n a b l i n g   t h e   t o k e n c l e a n e r   c o n t r o l l e r   o n   t h e   c o n t r o l l e r   m a n a g e r .   - - c o n t r o l l e r s = * , t o k e n c l e a n e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/bootstrap-tokens/",
    "id": "k8s_00339_section_2_6544"
  },
  {
    "question": "What is Bootstrap Token Secret Format?",
    "answer": "E a c h   v a l i d   t o k e n   i s   b a c k e d   b y   a   s e c r e t   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   Y o u   c a n   f i n d   t h e   f u l l   d e s i g n   d o c   h e r e .   H e r e   i s   w h a t   t h e   s e c r e t   l o o k s   l i k e .   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   #   N a m e   M U S T   b e   o f   f o r m   \" b o o t s t r a p - t o k e n - < t o k e n   i d > \"   n a m e :   b o o t s t r a p - t o k e n - 0 7 4 0 1 b   n a m e s p a c e :   k u b e - s y s t e m   #   T y p e   M U S T   b e   ' b o o t s t r a p . k u b e r n e t e s . i o / t o k e n '   t y p e :   b o o t s t r a p . k u b e r n e t e s . i o / t o k e n   s t r i n g D a t a :   #   H u m a n   r e a d a b l e   d e s c r i p t i o n .   O p t i o n a l .   d e s c r i p t i o n :   \" T h e   d e f a u l t   b o o t s t r a p   t o k e n   g e n e r a t e d   b y   ' k u b e a d m   i n i t ' . \"   #   T o k e n   I D   a n d   s e c r e t .   R e q u i r e d .   t o k e n - i d :   0 7 4 0 1 b   t o k e n - s e c r e t :   f 3 9 5 a c c d 2 4 6 a e 5 2 d   #   E x p i r a t i o n .   O p t i o n a l .   e x p i r a t i o n :   2 0 1 7 - 0 3 - 1 0 T 0 3 : 2 2 : 1 1 Z   #   A l l o w e d   u s a g e s .   u s a g e - b o o t s t r a p - a u t h e n t i c a t i o n :   \" t r u e \"   u s a g e - b o o t s t r a p - s i g n i n g :   \" t r u e \"   #   E x t r a   g r o u p s   t o   a u t h e n t i c a t e   t h e   t o k e n   a s .   M u s t   s t a r t   w i t h   \" s y s t e m : b o o t s t r a p p e r s : \"   a u t h - e x t r a - g r o u p s :   s y s t e m : b o o t s t r a p p e r s : w o r k e r , s y s t e m : b o o t s t r a p p e r s : i n g r e s s   T h e   t y p e   o f   t h e   s e c r e t   m u s t   b e   b o o t s t r a p . k u b e r n e t e s . i o / t o k e n   a n d   t h e   n a m e   m u s t   b e   b o o t s t r a p - t o k e n - < t o k e n   i d > .   I t   m u s t   a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/bootstrap-tokens/",
    "id": "k8s_00339_section_2_6545"
  },
  {
    "question": "What is Token Management with kubeadm?",
    "answer": "Y o u   c a n   u s e   t h e   k u b e a d m   t o o l   t o   m a n a g e   t o k e n s   o n   a   r u n n i n g   c l u s t e r .   S e e   t h e   k u b e a d m   t o k e n   d o c s   f o r   d e t a i l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/bootstrap-tokens/",
    "id": "k8s_00339_section_2_6546"
  },
  {
    "question": "What is ConfigMap Signing?",
    "answer": "I n   a d d i t i o n   t o   a u t h e n t i c a t i o n ,   t h e   t o k e n s   c a n   b e   u s e d   t o   s i g n   a   C o n f i g M a p .   T h i s   i s   u s e d   e a r l y   i n   a   c l u s t e r   b o o t s t r a p   p r o c e s s   b e f o r e   t h e   c l i e n t   t r u s t s   t h e   A P I   s e r v e r .   T h e   s i g n e d   C o n f i g M a p   c a n   b e   a u t h e n t i c a t e d   b y   t h e   s h a r e d   t o k e n .   E n a b l e   C o n f i g M a p   s i g n i n g   b y   e n a b l i n g   t h e   b o o t s t r a p s i g n e r   c o n t r o l l e r   o n   t h e   C o n t r o l l e r   M a n a g e r .   - - c o n t r o l l e r s = * , b o o t s t r a p s i g n e r   T h e   C o n f i g M a p   t h a t   i s   s i g n e d   i s   c l u s t e r - i n f o   i n   t h e   k u b e - p u b l i c   n a m e s p a c e .   T h e   t y p i c a l   f l o w   i s   t h a t   a   c l i e n t   r e a d s   t h i s   C o n f i g M a p   w h i l e   u n a u t h e n t i c a t e d   a n d   i g n o r i n g   T L S   e r r o r s .   I t   t h e n   v a l i d a t e s   t h e   p a y l o a d   o f   t h e   C o n f i g M a p   b y   l o o k i n g   a t   a   s i g n a t u r e   e m b e d d e d   i n   t h e   C o n f i g M a p .   T h e   C o n f i g M a p   m a y   l o o k   l i k e   t h i s :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   c l u s t e r - i n f o   n a m e s p a c e :   k u b e - p u b l i c   d a t a :   j w s - k u b e c o n f i g - 0 7 4 0 1 b :   e y J h b G c i O i J I U z I 1 N i I s I m t p Z C I 6 I j A 3 N D A x Y i J 9 . . t Y E f b o 6 z D N o 4 0 M Q E 0 7 a Z c Q X 2 m 3 E B 2 r O 3 N u X t x V M Y m 9 U   k u b e c o n f i g :   |   a p i V e r s i o n :   v 1   c l u s t e r s :   -   c l u s t e r :   c e r t i f i c a t e - a u t h o r i t y - d a t a :   < r e a l l y   l o n g   c e r t i f i c a t e   d a t a >   s e r v e r :   h t t p s : / / 1 0 . 1 3 8 . 0 . 2 ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/bootstrap-tokens/",
    "id": "k8s_00339_section_2_6547"
  },
  {
    "question": "What is Warning:?",
    "answer": "C o n s u l t   t h e   k u b e a d m   i m p l e m e n t a t i o n   d e t a i l s   s e c t i o n   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/bootstrap-tokens/",
    "id": "k8s_00339_section_4_6548"
  },
  {
    "question": "What is Enforcing Pod Security Standards?",
    "answer": "Enforcing Pod Security StandardsThis page provides an overview of best practices when it comes to enforcing Pod Security Standards.Using the built-in Pod Security Admission ControllerFEATURE STATE: Kubernetes v1.25 [stable]The Pod Security Admission Controller intends to replace the deprecated PodSecurityPolicies.Configure all cluster namespacesNamespaces that lack any configuration at all should be considered significant gaps in your cluster security model. We recommend taking the time to analyze the types of workloads occurring in each namespace, and by referencing the Pod Security Standards, decide on an appropriate level for each of them. Unlabeled namespaces should only indicate that they've yet to be evaluated.In the scenario that all workloads in all namespaces have the same security requirements, we provide an example that illustrates how the PodSecurity labels can be applied in bulk.Embrace the principle of least privilegeIn an ideal world, every pod in every namespace would meet the requirements of the restricted policy. However, this is not possible nor practical, as some workloads will require elevated privileges for legitimate reasons.Namespaces allowing privileged workloads should establish and enforce appropriate access controls.For workloads running in those permissive namespaces, maintain documentation about their unique security requirements. If at all possible, consider how those requirements could be further constrained.Adopt a multi-mode strategyThe audit and warn modes of the Pod Security Standards admission controller make it easy to collect important security insights about your pods without breaking existing workloads.It is good practice to enable these modes for all namespaces, setting them to the desired level and version you would eventually like to enforce. The warnings and audit annotations generated in this phase can guide you toward that state. If you expect workload authors to make changes to fit within the desired level, enable the warn mode. If you expect to use audit logs to monitor/drive changes to fit within the desired level, enable the audit mode.When you have the enforce mode set to your desired value, these modes can still be useful in a few different ways:By setting warn to the same level as enforce, clients will receive warnings when attempting to create Pods (or resources that have Pod templates) that do not pass validation. This will help them update those resources to become compliant.In Namespaces that pin enforce to a specific non-latest version, setting the audit and warn modes to the same level as enforce, but to the latest version, gives visibility into settings that were allowed by previous versions but are not allowed per current best practices.Third-party alternativesNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this l",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/enforcing-pod-security-standards/",
    "id": "k8s_00340_qa_6549"
  },
  {
    "question": "How does Enforcing Pod Security Standards work?",
    "answer": "Enforcing Pod Security StandardsThis page provides an overview of best practices when it comes to enforcing Pod Security Standards.Using the built-in Pod Security Admission ControllerFEATURE STATE: Kubernetes v1.25 [stable]The Pod Security Admission Controller intends to replace the deprecated PodSecurityPolicies.Configure all cluster namespacesNamespaces that lack any configuration at all should be considered significant gaps in your cluster security model. We recommend taking the time to analyze the types of workloads occurring in each namespace, and by referencing the Pod Security Standards, decide on an appropriate level for each of them. Unlabeled namespaces should only indicate that they've yet to be evaluated.In the scenario that all workloads in all namespaces have the same security requirements, we provide an example that illustrates how the PodSecurity labels can be applied in bulk.Embrace the principle of least privilegeIn an ideal world, every pod in every namespace would meet the requirements of the restricted policy. However, this is not possible nor practical, as some workloads will require elevated privileges for legitimate reasons.Namespaces allowing privileged workloads should establish and enforce appropriate access controls.For workloads running in those permissive namespaces, maintain documentation about their unique security requirements. If at all possible, consider how those requirements could be further constrained.Adopt a multi-mode strategyThe audit and warn modes of the Pod Security Standards admission controller make it easy to collect important security insights about your pods without breaking existing workloads.It is good practice to enable these modes for all namespaces, setting them to the desired level and version you would eventually like to enforce. The warnings and audit annotations generated in this phase can guide you toward that state. If you expect workload authors to make changes to fit within the desired level, enable the warn mode. If you expect to use audit logs to monitor/drive changes to fit within the desired level, enable the audit mode.When you have the enforce mode set to your desired value, these modes can still be useful in a few different ways:By setting warn to the same level as enforce, clients will receive warnings when attempting to create Pods (or resources that have Pod templates) that do not pass validation. This will help them update those resources to become compliant.In Namespaces that pin enforce to a specific non-latest version, setting the audit and warn modes to the same level as enforce, but to the latest version, gives visibility into settings that were allowed by previous versions but are not allowed per current best practices.Third-party alternativesNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this l",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/enforcing-pod-security-standards/",
    "id": "k8s_00340_qa_6550"
  },
  {
    "question": "When would you use Enforcing Pod Security Standards?",
    "answer": "Enforcing Pod Security StandardsThis page provides an overview of best practices when it comes to enforcing Pod Security Standards.Using the built-in Pod Security Admission ControllerFEATURE STATE: Kubernetes v1.25 [stable]The Pod Security Admission Controller intends to replace the deprecated PodSecurityPolicies.Configure all cluster namespacesNamespaces that lack any configuration at all should be considered significant gaps in your cluster security model. We recommend taking the time to analyze the types of workloads occurring in each namespace, and by referencing the Pod Security Standards, decide on an appropriate level for each of them. Unlabeled namespaces should only indicate that they've yet to be evaluated.In the scenario that all workloads in all namespaces have the same security requirements, we provide an example that illustrates how the PodSecurity labels can be applied in bulk.Embrace the principle of least privilegeIn an ideal world, every pod in every namespace would meet the requirements of the restricted policy. However, this is not possible nor practical, as some workloads will require elevated privileges for legitimate reasons.Namespaces allowing privileged workloads should establish and enforce appropriate access controls.For workloads running in those permissive namespaces, maintain documentation about their unique security requirements. If at all possible, consider how those requirements could be further constrained.Adopt a multi-mode strategyThe audit and warn modes of the Pod Security Standards admission controller make it easy to collect important security insights about your pods without breaking existing workloads.It is good practice to enable these modes for all namespaces, setting them to the desired level and version you would eventually like to enforce. The warnings and audit annotations generated in this phase can guide you toward that state. If you expect workload authors to make changes to fit within the desired level, enable the warn mode. If you expect to use audit logs to monitor/drive changes to fit within the desired level, enable the audit mode.When you have the enforce mode set to your desired value, these modes can still be useful in a few different ways:By setting warn to the same level as enforce, clients will receive warnings when attempting to create Pods (or resources that have Pod templates) that do not pass validation. This will help them update those resources to become compliant.In Namespaces that pin enforce to a specific non-latest version, setting the audit and warn modes to the same level as enforce, but to the latest version, gives visibility into settings that were allowed by previous versions but are not allowed per current best practices.Third-party alternativesNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this l",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/enforcing-pod-security-standards/",
    "id": "k8s_00340_qa_6551"
  },
  {
    "question": "What are the benefits of Enforcing Pod Security Standards?",
    "answer": "Enforcing Pod Security StandardsThis page provides an overview of best practices when it comes to enforcing Pod Security Standards.Using the built-in Pod Security Admission ControllerFEATURE STATE: Kubernetes v1.25 [stable]The Pod Security Admission Controller intends to replace the deprecated PodSecurityPolicies.Configure all cluster namespacesNamespaces that lack any configuration at all should be considered significant gaps in your cluster security model. We recommend taking the time to analyze the types of workloads occurring in each namespace, and by referencing the Pod Security Standards, decide on an appropriate level for each of them. Unlabeled namespaces should only indicate that they've yet to be evaluated.In the scenario that all workloads in all namespaces have the same security requirements, we provide an example that illustrates how the PodSecurity labels can be applied in bulk.Embrace the principle of least privilegeIn an ideal world, every pod in every namespace would meet the requirements of the restricted policy. However, this is not possible nor practical, as some workloads will require elevated privileges for legitimate reasons.Namespaces allowing privileged workloads should establish and enforce appropriate access controls.For workloads running in those permissive namespaces, maintain documentation about their unique security requirements. If at all possible, consider how those requirements could be further constrained.Adopt a multi-mode strategyThe audit and warn modes of the Pod Security Standards admission controller make it easy to collect important security insights about your pods without breaking existing workloads.It is good practice to enable these modes for all namespaces, setting them to the desired level and version you would eventually like to enforce. The warnings and audit annotations generated in this phase can guide you toward that state. If you expect workload authors to make changes to fit within the desired level, enable the warn mode. If you expect to use audit logs to monitor/drive changes to fit within the desired level, enable the audit mode.When you have the enforce mode set to your desired value, these modes can still be useful in a few different ways:By setting warn to the same level as enforce, clients will receive warnings when attempting to create Pods (or resources that have Pod templates) that do not pass validation. This will help them update those resources to become compliant.In Namespaces that pin enforce to a specific non-latest version, setting the audit and warn modes to the same level as enforce, but to the latest version, gives visibility into settings that were allowed by previous versions but are not allowed per current best practices.Third-party alternativesNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this l",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/enforcing-pod-security-standards/",
    "id": "k8s_00340_qa_6552"
  },
  {
    "question": "What is Enforcing Pod Security Standards?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   o f   b e s t   p r a c t i c e s   w h e n   i t   c o m e s   t o   e n f o r c i n g   P o d   S e c u r i t y   S t a n d a r d s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/enforcing-pod-security-standards/",
    "id": "k8s_00340_section_1_6553"
  },
  {
    "question": "What is Using the built-in Pod Security Admission Controller?",
    "answer": "T h e   P o d   S e c u r i t y   A d m i s s i o n   C o n t r o l l e r   i n t e n d s   t o   r e p l a c e   t h e   d e p r e c a t e d   P o d S e c u r i t y P o l i c i e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/enforcing-pod-security-standards/",
    "id": "k8s_00340_section_2_6554"
  },
  {
    "question": "What is Configure all cluster namespaces?",
    "answer": "N a m e s p a c e s   t h a t   l a c k   a n y   c o n f i g u r a t i o n   a t   a l l   s h o u l d   b e   c o n s i d e r e d   s i g n i f i c a n t   g a p s   i n   y o u r   c l u s t e r   s e c u r i t y   m o d e l .   W e   r e c o m m e n d   t a k i n g   t h e   t i m e   t o   a n a l y z e   t h e   t y p e s   o f   w o r k l o a d s   o c c u r r i n g   i n   e a c h   n a m e s p a c e ,   a n d   b y   r e f e r e n c i n g   t h e   P o d   S e c u r i t y   S t a n d a r d s ,   d e c i d e   o n   a n   a p p r o p r i a t e   l e v e l   f o r   e a c h   o f   t h e m .   U n l a b e l e d   n a m e s p a c e s   s h o u l d   o n l y   i n d i c a t e   t h a t   t h e y ' v e   y e t   t o   b e   e v a l u a t e d .   I n   t h e   s c e n a r i o   t h a t   a l l   w o r k l o a d s   i n   a l l   n a m e s p a c e s   h a v e   t h e   s a m e   s e c u r i t y   r e q u i r e m e n t s ,   w e   p r o v i d e   a n   e x a m p l e   t h a t   i l l u s t r a t e s   h o w   t h e   P o d S e c u r i t y   l a b e l s   c a n   b e   a p p l i e d   i n   b u l k .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/enforcing-pod-security-standards/",
    "id": "k8s_00340_section_3_6555"
  },
  {
    "question": "What is Embrace the principle of least privilege?",
    "answer": "I n   a n   i d e a l   w o r l d ,   e v e r y   p o d   i n   e v e r y   n a m e s p a c e   w o u l d   m e e t   t h e   r e q u i r e m e n t s   o f   t h e   r e s t r i c t e d   p o l i c y .   H o w e v e r ,   t h i s   i s   n o t   p o s s i b l e   n o r   p r a c t i c a l ,   a s   s o m e   w o r k l o a d s   w i l l   r e q u i r e   e l e v a t e d   p r i v i l e g e s   f o r   l e g i t i m a t e   r e a s o n s .   N a m e s p a c e s   a l l o w i n g   p r i v i l e g e d   w o r k l o a d s   s h o u l d   e s t a b l i s h   a n d   e n f o r c e   a p p r o p r i a t e   a c c e s s   c o n t r o l s . F o r   w o r k l o a d s   r u n n i n g   i n   t h o s e   p e r m i s s i v e   n a m e s p a c e s ,   m a i n t a i n   d o c u m e n t a t i o n   a b o u t   t h e i r   u n i q u e   s e c u r i t y   r e q u i r e m e n t s .   I f   a t   a l l   p o s s i b l e ,   c o n s i d e r   h o w   t h o s e   r e q u i r e m e n t s   c o u l d   b e   f u r t h e r   c o n s t r a i n e d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/enforcing-pod-security-standards/",
    "id": "k8s_00340_section_3_6556"
  },
  {
    "question": "What is Adopt a multi-mode strategy?",
    "answer": "T h e   a u d i t   a n d   w a r n   m o d e s   o f   t h e   P o d   S e c u r i t y   S t a n d a r d s   a d m i s s i o n   c o n t r o l l e r   m a k e   i t   e a s y   t o   c o l l e c t   i m p o r t a n t   s e c u r i t y   i n s i g h t s   a b o u t   y o u r   p o d s   w i t h o u t   b r e a k i n g   e x i s t i n g   w o r k l o a d s .   I t   i s   g o o d   p r a c t i c e   t o   e n a b l e   t h e s e   m o d e s   f o r   a l l   n a m e s p a c e s ,   s e t t i n g   t h e m   t o   t h e   d e s i r e d   l e v e l   a n d   v e r s i o n   y o u   w o u l d   e v e n t u a l l y   l i k e   t o   e n f o r c e .   T h e   w a r n i n g s   a n d   a u d i t   a n n o t a t i o n s   g e n e r a t e d   i n   t h i s   p h a s e   c a n   g u i d e   y o u   t o w a r d   t h a t   s t a t e .   I f   y o u   e x p e c t   w o r k l o a d   a u t h o r s   t o   m a k e   c h a n g e s   t o   f i t   w i t h i n   t h e   d e s i r e d   l e v e l ,   e n a b l e   t h e   w a r n   m o d e .   I f   y o u   e x p e c t   t o   u s e   a u d i t   l o g s   t o   m o n i t o r / d r i v e   c h a n g e s   t o   f i t   w i t h i n   t h e   d e s i r e d   l e v e l ,   e n a b l e   t h e   a u d i t   m o d e .   W h e n   y o u   h a v e   t h e   e n f o r c e   m o d e   s e t   t o   y o u r   d e s i r e d   v a l u e ,   t h e s e   m o d e s   c a n   s t i l l   b e   u s e f u l   i n   a   f e w   d i f f e r e n t   w a y s :   B y   s e t t i n g   w a r n   t o   t h e   s a m e   l e v e l   a s   e n f o r c e ,   c l i e n t s   w i l l   r e c e i v e   w a r n i n g s   w h e n   a t t e m p t i n g   t o   c r e a t e   P o d s   ( o r   r e s o u r c e s   t h a t   h a v e   P o d   t e m p l a t e s )   t h a t   d o   n o t   p a s s   v a l i d a t i o n .   T h i s   w i l l   h e l p   t h e m   u p d a t e   t h o s e   r e s o u r c e s   t o   b e c o m e   c o m p l i a n t . I n   N a m e s p a c e s ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/enforcing-pod-security-standards/",
    "id": "k8s_00340_section_3_6557"
  },
  {
    "question": "What is Third-party alternatives?",
    "answer": "O t h e r   a l t e r n a t i v e s   f o r   e n f o r c i n g   s e c u r i t y   p r o f i l e s   a r e   b e i n g   d e v e l o p e d   i n   t h e   K u b e r n e t e s   e c o s y s t e m :   K u b e w a r d e n . K y v e r n o . O P A   G a t e k e e p e r .   T h e   d e c i s i o n   t o   g o   w i t h   a   b u i l t - i n   s o l u t i o n   ( e . g .   P o d S e c u r i t y   a d m i s s i o n   c o n t r o l l e r )   v e r s u s   a   t h i r d - p a r t y   t o o l   i s   e n t i r e l y   d e p e n d e n t   o n   y o u r   o w n   s i t u a t i o n .   W h e n   e v a l u a t i n g   a n y   s o l u t i o n ,   t r u s t   o f   y o u r   s u p p l y   c h a i n   i s   c r u c i a l .   U l t i m a t e l y ,   u s i n g   a n y   o f   t h e   a f o r e m e n t i o n e d   a p p r o a c h e s   w i l l   b e   b e t t e r   t h a n   d o i n g   n o t h i n g .   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/enforcing-pod-security-standards/",
    "id": "k8s_00340_section_2_6558"
  },
  {
    "question": "What is Admission Webhook Good Practices?",
    "answer": "Admission Webhook Good PracticesRecommendations for designing and deploying admission webhooks in Kubernetes.This page provides good practices and considerations when designing admission webhooks in Kubernetes. This information is intended for cluster operators who run admission webhook servers or third-party applications that modify or validate your API requests.Before reading this page, ensure that you're familiar with the following concepts:Admission controllersAdmission webhooksImportance of good webhook designAdmission control occurs when any create, update, or delete request is sent to the Kubernetes API. Admission controllers intercept requests that match specific criteria that you define. These requests are then sent to mutating admission webhooks or validating admission webhooks. These webhooks are often written to ensure that specific fields in object specifications exist or have specific allowed values.Webhooks are a powerful mechanism to extend the Kubernetes API. Badly-designed webhooks often result in workload disruptions because of how much control the webhooks have over objects in the cluster. Like other API extension mechanisms, webhooks are challenging to test at scale for compatibility with all of your workloads, other webhooks, add-ons, and plugins.Additionally, with every release, Kubernetes adds or modifies the API with new features, feature promotions to beta or stable status, and deprecations. Even stable Kubernetes APIs are likely to change. For example, the Pod API changed in v1.29 to add the Sidecar containers feature. While it's rare for a Kubernetes object to enter a broken state because of a new Kubernetes API, webhooks that worked as expected with earlier versions of an API might not be able to reconcile more recent changes to that API. This can result in unexpected behavior after you upgrade your clusters to newer versions.This page describes common webhook failure scenarios and how to avoid them by cautiously and thoughtfully designing and implementing your webhooks.Identify whether you use admission webhooksEven if you don't run your own admission webhooks, some third-party applications that you run in your clusters might use mutating or validating admission webhooks.To check whether your cluster has any mutating admission webhooks, run the following command:kubectl get mutatingwebhookconfigurations The output lists any mutating admission controllers in the cluster.To check whether your cluster has any validating admission webhooks, run the following command:kubectl get validatingwebhookconfigurations The output lists any validating admission controllers in the cluster.Choose an admission control mechanismKubernetes includes multiple admission control and policy enforcement options. Knowing when to use a specific option can help you to improve latency and performance, reduce management overhead, and avoid issues during version upgrades. The following table describes the mechanisms that let you mutate or validate ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_qa_6559"
  },
  {
    "question": "How does Admission Webhook Good Practices work?",
    "answer": "Admission Webhook Good PracticesRecommendations for designing and deploying admission webhooks in Kubernetes.This page provides good practices and considerations when designing admission webhooks in Kubernetes. This information is intended for cluster operators who run admission webhook servers or third-party applications that modify or validate your API requests.Before reading this page, ensure that you're familiar with the following concepts:Admission controllersAdmission webhooksImportance of good webhook designAdmission control occurs when any create, update, or delete request is sent to the Kubernetes API. Admission controllers intercept requests that match specific criteria that you define. These requests are then sent to mutating admission webhooks or validating admission webhooks. These webhooks are often written to ensure that specific fields in object specifications exist or have specific allowed values.Webhooks are a powerful mechanism to extend the Kubernetes API. Badly-designed webhooks often result in workload disruptions because of how much control the webhooks have over objects in the cluster. Like other API extension mechanisms, webhooks are challenging to test at scale for compatibility with all of your workloads, other webhooks, add-ons, and plugins.Additionally, with every release, Kubernetes adds or modifies the API with new features, feature promotions to beta or stable status, and deprecations. Even stable Kubernetes APIs are likely to change. For example, the Pod API changed in v1.29 to add the Sidecar containers feature. While it's rare for a Kubernetes object to enter a broken state because of a new Kubernetes API, webhooks that worked as expected with earlier versions of an API might not be able to reconcile more recent changes to that API. This can result in unexpected behavior after you upgrade your clusters to newer versions.This page describes common webhook failure scenarios and how to avoid them by cautiously and thoughtfully designing and implementing your webhooks.Identify whether you use admission webhooksEven if you don't run your own admission webhooks, some third-party applications that you run in your clusters might use mutating or validating admission webhooks.To check whether your cluster has any mutating admission webhooks, run the following command:kubectl get mutatingwebhookconfigurations The output lists any mutating admission controllers in the cluster.To check whether your cluster has any validating admission webhooks, run the following command:kubectl get validatingwebhookconfigurations The output lists any validating admission controllers in the cluster.Choose an admission control mechanismKubernetes includes multiple admission control and policy enforcement options. Knowing when to use a specific option can help you to improve latency and performance, reduce management overhead, and avoid issues during version upgrades. The following table describes the mechanisms that let you mutate or validate ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_qa_6560"
  },
  {
    "question": "When would you use Admission Webhook Good Practices?",
    "answer": "Admission Webhook Good PracticesRecommendations for designing and deploying admission webhooks in Kubernetes.This page provides good practices and considerations when designing admission webhooks in Kubernetes. This information is intended for cluster operators who run admission webhook servers or third-party applications that modify or validate your API requests.Before reading this page, ensure that you're familiar with the following concepts:Admission controllersAdmission webhooksImportance of good webhook designAdmission control occurs when any create, update, or delete request is sent to the Kubernetes API. Admission controllers intercept requests that match specific criteria that you define. These requests are then sent to mutating admission webhooks or validating admission webhooks. These webhooks are often written to ensure that specific fields in object specifications exist or have specific allowed values.Webhooks are a powerful mechanism to extend the Kubernetes API. Badly-designed webhooks often result in workload disruptions because of how much control the webhooks have over objects in the cluster. Like other API extension mechanisms, webhooks are challenging to test at scale for compatibility with all of your workloads, other webhooks, add-ons, and plugins.Additionally, with every release, Kubernetes adds or modifies the API with new features, feature promotions to beta or stable status, and deprecations. Even stable Kubernetes APIs are likely to change. For example, the Pod API changed in v1.29 to add the Sidecar containers feature. While it's rare for a Kubernetes object to enter a broken state because of a new Kubernetes API, webhooks that worked as expected with earlier versions of an API might not be able to reconcile more recent changes to that API. This can result in unexpected behavior after you upgrade your clusters to newer versions.This page describes common webhook failure scenarios and how to avoid them by cautiously and thoughtfully designing and implementing your webhooks.Identify whether you use admission webhooksEven if you don't run your own admission webhooks, some third-party applications that you run in your clusters might use mutating or validating admission webhooks.To check whether your cluster has any mutating admission webhooks, run the following command:kubectl get mutatingwebhookconfigurations The output lists any mutating admission controllers in the cluster.To check whether your cluster has any validating admission webhooks, run the following command:kubectl get validatingwebhookconfigurations The output lists any validating admission controllers in the cluster.Choose an admission control mechanismKubernetes includes multiple admission control and policy enforcement options. Knowing when to use a specific option can help you to improve latency and performance, reduce management overhead, and avoid issues during version upgrades. The following table describes the mechanisms that let you mutate or validate ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_qa_6561"
  },
  {
    "question": "What are the benefits of Admission Webhook Good Practices?",
    "answer": "Admission Webhook Good PracticesRecommendations for designing and deploying admission webhooks in Kubernetes.This page provides good practices and considerations when designing admission webhooks in Kubernetes. This information is intended for cluster operators who run admission webhook servers or third-party applications that modify or validate your API requests.Before reading this page, ensure that you're familiar with the following concepts:Admission controllersAdmission webhooksImportance of good webhook designAdmission control occurs when any create, update, or delete request is sent to the Kubernetes API. Admission controllers intercept requests that match specific criteria that you define. These requests are then sent to mutating admission webhooks or validating admission webhooks. These webhooks are often written to ensure that specific fields in object specifications exist or have specific allowed values.Webhooks are a powerful mechanism to extend the Kubernetes API. Badly-designed webhooks often result in workload disruptions because of how much control the webhooks have over objects in the cluster. Like other API extension mechanisms, webhooks are challenging to test at scale for compatibility with all of your workloads, other webhooks, add-ons, and plugins.Additionally, with every release, Kubernetes adds or modifies the API with new features, feature promotions to beta or stable status, and deprecations. Even stable Kubernetes APIs are likely to change. For example, the Pod API changed in v1.29 to add the Sidecar containers feature. While it's rare for a Kubernetes object to enter a broken state because of a new Kubernetes API, webhooks that worked as expected with earlier versions of an API might not be able to reconcile more recent changes to that API. This can result in unexpected behavior after you upgrade your clusters to newer versions.This page describes common webhook failure scenarios and how to avoid them by cautiously and thoughtfully designing and implementing your webhooks.Identify whether you use admission webhooksEven if you don't run your own admission webhooks, some third-party applications that you run in your clusters might use mutating or validating admission webhooks.To check whether your cluster has any mutating admission webhooks, run the following command:kubectl get mutatingwebhookconfigurations The output lists any mutating admission controllers in the cluster.To check whether your cluster has any validating admission webhooks, run the following command:kubectl get validatingwebhookconfigurations The output lists any validating admission controllers in the cluster.Choose an admission control mechanismKubernetes includes multiple admission control and policy enforcement options. Knowing when to use a specific option can help you to improve latency and performance, reduce management overhead, and avoid issues during version upgrades. The following table describes the mechanisms that let you mutate or validate ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_qa_6562"
  },
  {
    "question": "What is Admission Webhook Good Practices?",
    "answer": "T h i s   p a g e   p r o v i d e s   g o o d   p r a c t i c e s   a n d   c o n s i d e r a t i o n s   w h e n   d e s i g n i n g   a d m i s s i o n   w e b h o o k s   i n   K u b e r n e t e s .   T h i s   i n f o r m a t i o n   i s   i n t e n d e d   f o r   c l u s t e r   o p e r a t o r s   w h o   r u n   a d m i s s i o n   w e b h o o k   s e r v e r s   o r   t h i r d - p a r t y   a p p l i c a t i o n s   t h a t   m o d i f y   o r   v a l i d a t e   y o u r   A P I   r e q u e s t s .   B e f o r e   r e a d i n g   t h i s   p a g e ,   e n s u r e   t h a t   y o u ' r e   f a m i l i a r   w i t h   t h e   f o l l o w i n g   c o n c e p t s :   A d m i s s i o n   c o n t r o l l e r s A d m i s s i o n   w e b h o o k s",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_1_6563"
  },
  {
    "question": "What is Importance of good webhook design?",
    "answer": "A d m i s s i o n   c o n t r o l   o c c u r s   w h e n   a n y   c r e a t e ,   u p d a t e ,   o r   d e l e t e   r e q u e s t   i s   s e n t   t o   t h e   K u b e r n e t e s   A P I .   A d m i s s i o n   c o n t r o l l e r s   i n t e r c e p t   r e q u e s t s   t h a t   m a t c h   s p e c i f i c   c r i t e r i a   t h a t   y o u   d e f i n e .   T h e s e   r e q u e s t s   a r e   t h e n   s e n t   t o   m u t a t i n g   a d m i s s i o n   w e b h o o k s   o r   v a l i d a t i n g   a d m i s s i o n   w e b h o o k s .   T h e s e   w e b h o o k s   a r e   o f t e n   w r i t t e n   t o   e n s u r e   t h a t   s p e c i f i c   f i e l d s   i n   o b j e c t   s p e c i f i c a t i o n s   e x i s t   o r   h a v e   s p e c i f i c   a l l o w e d   v a l u e s .   W e b h o o k s   a r e   a   p o w e r f u l   m e c h a n i s m   t o   e x t e n d   t h e   K u b e r n e t e s   A P I .   B a d l y - d e s i g n e d   w e b h o o k s   o f t e n   r e s u l t   i n   w o r k l o a d   d i s r u p t i o n s   b e c a u s e   o f   h o w   m u c h   c o n t r o l   t h e   w e b h o o k s   h a v e   o v e r   o b j e c t s   i n   t h e   c l u s t e r .   L i k e   o t h e r   A P I   e x t e n s i o n   m e c h a n i s m s ,   w e b h o o k s   a r e   c h a l l e n g i n g   t o   t e s t   a t   s c a l e   f o r   c o m p a t i b i l i t y   w i t h   a l l   o f   y o u r   w o r k l o a d s ,   o t h e r   w e b h o o k s ,   a d d - o n s ,   a n d   p l u g i n s .   A d d i t i o n a l l y ,   w i t h   e v e r y   r e l e a s e ,   K u b e r n e t e s   a d d s   o r   m o d i f i e s   t h e   A P I   w i t h   n e w   f e a t u r e s ,   f e a t u r e   p r o m o t i o n s   t o   b e t a   o r   s t a b l e   s t a t u s ,   a n d   d e p r e c a t i o n s .   E v e n   s t a b l e   K u b e r n e t e s   A P I s   a r e   l i k e l y   t o   c h a n g e .   F o r   e x a m p l e ,   t h e   P o d   A P I   c h ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_2_6564"
  },
  {
    "question": "What is Identify whether you use admission webhooks?",
    "answer": "E v e n   i f   y o u   d o n ' t   r u n   y o u r   o w n   a d m i s s i o n   w e b h o o k s ,   s o m e   t h i r d - p a r t y   a p p l i c a t i o n s   t h a t   y o u   r u n   i n   y o u r   c l u s t e r s   m i g h t   u s e   m u t a t i n g   o r   v a l i d a t i n g   a d m i s s i o n   w e b h o o k s .   T o   c h e c k   w h e t h e r   y o u r   c l u s t e r   h a s   a n y   m u t a t i n g   a d m i s s i o n   w e b h o o k s ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   g e t   m u t a t i n g w e b h o o k c o n f i g u r a t i o n s   T h e   o u t p u t   l i s t s   a n y   m u t a t i n g   a d m i s s i o n   c o n t r o l l e r s   i n   t h e   c l u s t e r .   T o   c h e c k   w h e t h e r   y o u r   c l u s t e r   h a s   a n y   v a l i d a t i n g   a d m i s s i o n   w e b h o o k s ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   g e t   v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s   T h e   o u t p u t   l i s t s   a n y   v a l i d a t i n g   a d m i s s i o n   c o n t r o l l e r s   i n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_2_6565"
  },
  {
    "question": "What is Choose an admission control mechanism?",
    "answer": "K u b e r n e t e s   i n c l u d e s   m u l t i p l e   a d m i s s i o n   c o n t r o l   a n d   p o l i c y   e n f o r c e m e n t   o p t i o n s .   K n o w i n g   w h e n   t o   u s e   a   s p e c i f i c   o p t i o n   c a n   h e l p   y o u   t o   i m p r o v e   l a t e n c y   a n d   p e r f o r m a n c e ,   r e d u c e   m a n a g e m e n t   o v e r h e a d ,   a n d   a v o i d   i s s u e s   d u r i n g   v e r s i o n   u p g r a d e s .   T h e   f o l l o w i n g   t a b l e   d e s c r i b e s   t h e   m e c h a n i s m s   t h a t   l e t   y o u   m u t a t e   o r   v a l i d a t e   r e s o u r c e s   d u r i n g   a d m i s s i o n :   M a k e   c r i t i c a l   m o d i f i c a t i o n s   t h a t   m u s t   h a p p e n   b e f o r e   r e s o u r c e   a d m i s s i o n . M a k e   c o m p l e x   m o d i f i c a t i o n s   t h a t   r e q u i r e   a d v a n c e d   l o g i c ,   l i k e   c a l l i n g   e x t e r n a l   A P I s .   M a k e   c r i t i c a l   m o d i f i c a t i o n s   t h a t   m u s t   h a p p e n   b e f o r e   r e s o u r c e   a d m i s s i o n . M a k e   s i m p l e   m o d i f i c a t i o n s ,   s u c h   a s   a d j u s t i n g   l a b e l s   o r   r e p l i c a   c o u n t s .   V a l i d a t e   c r i t i c a l   c o n f i g u r a t i o n s   b e f o r e   r e s o u r c e   a d m i s s i o n . E n f o r c e   c o m p l e x   p o l i c y   l o g i c   b e f o r e   a d m i s s i o n .   V a l i d a t e   c r i t i c a l   c o n f i g u r a t i o n s   b e f o r e   r e s o u r c e   a d m i s s i o n . E n f o r c e   p o l i c y   l o g i c   u s i n g   C E L   e x p r e s s i o n s .   I n   g e n e r a l ,   u s e   w e b h o o k   a d m i s s i o n   c o n t r o l   w h e n   y o u   w a n t   a n   e x t e n s i b l e   w a y   t o   d e c l a r e   o r   c o n f i g u r e   t h e   l o g i c .   U s e   b u i l t - i n   C E L - b a s e d   a d m i s s i o n   c o n t r o l   w h e ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_2_6566"
  },
  {
    "question": "What is Use built-in validation and defaulting for CustomResourceDefinitions?",
    "answer": "I f   y o u   u s e   C u s t o m R e s o u r c e D e f i n i t i o n s ,   d o n ' t   u s e   a d m i s s i o n   w e b h o o k s   t o   v a l i d a t e   v a l u e s   i n   C u s t o m R e s o u r c e   s p e c i f i c a t i o n s   o r   t o   s e t   d e f a u l t   v a l u e s   f o r   f i e l d s .   K u b e r n e t e s   l e t s   y o u   d e f i n e   v a l i d a t i o n   r u l e s   a n d   d e f a u l t   f i e l d   v a l u e s   w h e n   y o u   c r e a t e   C u s t o m R e s o u r c e D e f i n i t i o n s .   T o   l e a r n   m o r e ,   s e e   t h e   f o l l o w i n g   r e s o u r c e s :   V a l i d a t i o n   r u l e s D e f a u l t i n g",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_3_6567"
  },
  {
    "question": "What is Performance and latency?",
    "answer": "T h i s   s e c t i o n   d e s c r i b e s   r e c o m m e n d a t i o n s   f o r   i m p r o v i n g   p e r f o r m a n c e   a n d   r e d u c i n g   l a t e n c y .   I n   s u m m a r y ,   t h e s e   a r e   a s   f o l l o w s :   C o n s o l i d a t e   w e b h o o k s   a n d   l i m i t   t h e   n u m b e r   o f   A P I   c a l l s   p e r   w e b h o o k . U s e   a u d i t   l o g s   t o   c h e c k   f o r   w e b h o o k s   t h a t   r e p e a t e d l y   d o   t h e   s a m e   a c t i o n . U s e   l o a d   b a l a n c i n g   f o r   w e b h o o k   a v a i l a b i l i t y . S e t   a   s m a l l   t i m e o u t   v a l u e   f o r   e a c h   w e b h o o k . C o n s i d e r   c l u s t e r   a v a i l a b i l i t y   n e e d s   d u r i n g   w e b h o o k   d e s i g n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_2_6568"
  },
  {
    "question": "What is Design admission webhooks for low latency?",
    "answer": "M u t a t i n g   a d m i s s i o n   w e b h o o k s   a r e   c a l l e d   i n   s e q u e n c e .   D e p e n d i n g   o n   t h e   m u t a t i n g   w e b h o o k   s e t u p ,   s o m e   w e b h o o k s   m i g h t   b e   c a l l e d   m u l t i p l e   t i m e s .   E v e r y   m u t a t i n g   w e b h o o k   c a l l   a d d s   l a t e n c y   t o   t h e   a d m i s s i o n   p r o c e s s .   T h i s   i s   u n l i k e   v a l i d a t i n g   w e b h o o k s ,   w h i c h   g e t   c a l l e d   i n   p a r a l l e l .   W h e n   d e s i g n i n g   y o u r   m u t a t i n g   w e b h o o k s ,   c o n s i d e r   y o u r   l a t e n c y   r e q u i r e m e n t s   a n d   t o l e r a n c e .   T h e   m o r e   m u t a t i n g   w e b h o o k s   t h e r e   a r e   i n   y o u r   c l u s t e r ,   t h e   g r e a t e r   t h e   c h a n c e   o f   l a t e n c y   i n c r e a s e s .   C o n s i d e r   t h e   f o l l o w i n g   t o   r e d u c e   l a t e n c y :   C o n s o l i d a t e   w e b h o o k s   t h a t   p e r f o r m   a   s i m i l a r   m u t a t i o n   o n   d i f f e r e n t   o b j e c t s . R e d u c e   t h e   n u m b e r   o f   A P I   c a l l s   m a d e   i n   t h e   m u t a t i n g   w e b h o o k   s e r v e r   l o g i c . L i m i t   t h e   m a t c h   c o n d i t i o n s   o f   e a c h   m u t a t i n g   w e b h o o k   t o   r e d u c e   h o w   m a n y   w e b h o o k s   a r e   t r i g g e r e d   b y   a   s p e c i f i c   A P I   r e q u e s t . C o n s o l i d a t e   s m a l l   w e b h o o k s   i n t o   o n e   s e r v e r   a n d   c o n f i g u r a t i o n   t o   h e l p   w i t h   o r d e r i n g   a n d   o r g a n i z a t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_3_6569"
  },
  {
    "question": "What is Prevent loops caused by competing controllers?",
    "answer": "C o n s i d e r   a n y   o t h e r   c o m p o n e n t s   t h a t   r u n   i n   y o u r   c l u s t e r   t h a t   m i g h t   c o n f l i c t   w i t h   t h e   m u t a t i o n s   t h a t   y o u r   w e b h o o k   m a k e s .   F o r   e x a m p l e ,   i f   y o u r   w e b h o o k   a d d s   a   l a b e l   t h a t   a   d i f f e r e n t   c o n t r o l l e r   r e m o v e s ,   y o u r   w e b h o o k   g e t s   c a l l e d   a g a i n .   T h i s   l e a d s   t o   a   l o o p .   T o   d e t e c t   t h e s e   l o o p s ,   t r y   t h e   f o l l o w i n g :   U p d a t e   y o u r   c l u s t e r   a u d i t   p o l i c y   t o   l o g   a u d i t   e v e n t s .   U s e   t h e   f o l l o w i n g   p a r a m e t e r s : l e v e l :   R e q u e s t R e s p o n s e v e r b s :   [ \" p a t c h \" ] o m i t S t a g e s :   R e q u e s t R e c e i v e d S e t   t h e   a u d i t   r u l e   t o   c r e a t e   e v e n t s   f o r   t h e   s p e c i f i c   r e s o u r c e s   t h a t   y o u r   w e b h o o k   m u t a t e s . C h e c k   y o u r   a u d i t   e v e n t s   f o r   w e b h o o k s   b e i n g   r e i n v o k e d   m u l t i p l e   t i m e s   w i t h   t h e   s a m e   p a t c h   b e i n g   a p p l i e d   t o   t h e   s a m e   o b j e c t ,   o r   f o r   a n   o b j e c t   h a v i n g   a   f i e l d   u p d a t e d   a n d   r e v e r t e d   m u l t i p l e   t i m e s .   U p d a t e   y o u r   c l u s t e r   a u d i t   p o l i c y   t o   l o g   a u d i t   e v e n t s .   U s e   t h e   f o l l o w i n g   p a r a m e t e r s :   l e v e l :   R e q u e s t R e s p o n s e v e r b s :   [ \" p a t c h \" ] o m i t S t a g e s :   R e q u e s t R e c e i v e d   S e t   t h e   a u d i t   r u l e   t o   c r e a t e   e v e n t s   f o r   t h e   s p e c i f i c   r e s o u r c e s   t h a t   y o u r   w e b h o o k   m u t a t e s .   C h e c k   y o u r   a u d i t   e v e n t s   f o r   w e b h o o k s   b ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_3_6570"
  },
  {
    "question": "What is Set a small timeout value?",
    "answer": "A d m i s s i o n   w e b h o o k s   s h o u l d   e v a l u a t e   a s   q u i c k l y   a s   p o s s i b l e   ( t y p i c a l l y   i n   m i l l i s e c o n d s ) ,   s i n c e   t h e y   a d d   t o   A P I   r e q u e s t   l a t e n c y .   U s e   a   s m a l l   t i m e o u t   f o r   w e b h o o k s .   F o r   d e t a i l s ,   s e e   T i m e o u t s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_3_6571"
  },
  {
    "question": "What is Use a load balancer to ensure webhook availability?",
    "answer": "A d m i s s i o n   w e b h o o k s   s h o u l d   l e v e r a g e   s o m e   f o r m   o f   l o a d - b a l a n c i n g   t o   p r o v i d e   h i g h   a v a i l a b i l i t y   a n d   p e r f o r m a n c e   b e n e f i t s .   I f   a   w e b h o o k   i s   r u n n i n g   w i t h i n   t h e   c l u s t e r ,   y o u   c a n   r u n   m u l t i p l e   w e b h o o k   b a c k e n d s   b e h i n d   a   S e r v i c e   o f   t y p e   C l u s t e r I P .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_3_6572"
  },
  {
    "question": "What is Use a high-availability deployment model?",
    "answer": "C o n s i d e r   y o u r   c l u s t e r ' s   a v a i l a b i l i t y   r e q u i r e m e n t s   w h e n   d e s i g n i n g   y o u r   w e b h o o k .   F o r   e x a m p l e ,   d u r i n g   n o d e   d o w n t i m e   o r   z o n a l   o u t a g e s ,   K u b e r n e t e s   m a r k s   P o d s   a s   N o t R e a d y   t o   a l l o w   l o a d   b a l a n c e r s   t o   r e r o u t e   t r a f f i c   t o   a v a i l a b l e   z o n e s   a n d   n o d e s .   T h e s e   u p d a t e s   t o   P o d s   m i g h t   t r i g g e r   y o u r   m u t a t i n g   w e b h o o k s .   D e p e n d i n g   o n   t h e   n u m b e r   o f   a f f e c t e d   P o d s ,   t h e   m u t a t i n g   w e b h o o k   s e r v e r   h a s   a   r i s k   o f   t i m i n g   o u t   o r   c a u s i n g   d e l a y s   i n   P o d   p r o c e s s i n g .   A s   a   r e s u l t ,   t r a f f i c   w o n ' t   g e t   r e r o u t e d   a s   q u i c k l y   a s   y o u   n e e d .   C o n s i d e r   s i t u a t i o n s   l i k e   t h e   p r e c e d i n g   e x a m p l e   w h e n   w r i t i n g   y o u r   w e b h o o k s .   E x c l u d e   o p e r a t i o n s   t h a t   a r e   a   r e s u l t   o f   K u b e r n e t e s   r e s p o n d i n g   t o   u n a v o i d a b l e   i n c i d e n t s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_3_6573"
  },
  {
    "question": "What is Request filtering?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   r e c o m m e n d a t i o n s   f o r   f i l t e r i n g   w h i c h   r e q u e s t s   t r i g g e r   s p e c i f i c   w e b h o o k s .   I n   s u m m a r y ,   t h e s e   a r e   a s   f o l l o w s :   L i m i t   t h e   w e b h o o k   s c o p e   t o   a v o i d   s y s t e m   c o m p o n e n t s   a n d   r e a d - o n l y   r e q u e s t s . L i m i t   w e b h o o k s   t o   s p e c i f i c   n a m e s p a c e s . U s e   m a t c h   c o n d i t i o n s   t o   p e r f o r m   f i n e - g r a i n e d   r e q u e s t   f i l t e r i n g . M a t c h   a l l   v e r s i o n s   o f   a n   o b j e c t .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_2_6574"
  },
  {
    "question": "What is Limit the scope of each webhook?",
    "answer": "A d m i s s i o n   w e b h o o k s   a r e   o n l y   c a l l e d   w h e n   a n   A P I   r e q u e s t   m a t c h e s   t h e   c o r r e s p o n d i n g   w e b h o o k   c o n f i g u r a t i o n .   L i m i t   t h e   s c o p e   o f   e a c h   w e b h o o k   t o   r e d u c e   u n n e c e s s a r y   c a l l s   t o   t h e   w e b h o o k   s e r v e r .   C o n s i d e r   t h e   f o l l o w i n g   s c o p e   l i m i t a t i o n s :   A v o i d   m a t c h i n g   o b j e c t s   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   I f   y o u   r u n   y o u r   o w n   P o d s   i n   t h e   k u b e - s y s t e m   n a m e s p a c e ,   u s e   a n   o b j e c t S e l e c t o r   t o   a v o i d   m u t a t i n g   a   c r i t i c a l   w o r k l o a d . D o n ' t   m u t a t e   n o d e   l e a s e s ,   w h i c h   e x i s t   a s   L e a s e   o b j e c t s   i n   t h e   k u b e - n o d e - l e a s e   s y s t e m   n a m e s p a c e .   M u t a t i n g   n o d e   l e a s e s   m i g h t   r e s u l t   i n   f a i l e d   n o d e   u p g r a d e s .   O n l y   a p p l y   v a l i d a t i o n   c o n t r o l s   t o   L e a s e   o b j e c t s   i n   t h i s   n a m e s p a c e   i f   y o u ' r e   c o n f i d e n t   t h a t   t h e   c o n t r o l s   w o n ' t   p u t   y o u r   c l u s t e r   a t   r i s k . D o n ' t   m u t a t e   T o k e n R e v i e w   o r   S u b j e c t A c c e s s R e v i e w   o b j e c t s .   T h e s e   a r e   a l w a y s   r e a d - o n l y   r e q u e s t s .   M o d i f y i n g   t h e s e   o b j e c t s   m i g h t   b r e a k   y o u r   c l u s t e r . L i m i t   e a c h   w e b h o o k   t o   a   s p e c i f i c   n a m e s p a c e   b y   u s i n g   a   n a m e s p a c e S e l e c t o r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_3_6575"
  },
  {
    "question": "What is Filter for specific requests by using match conditions?",
    "answer": "A d m i s s i o n   c o n t r o l l e r s   s u p p o r t   m u l t i p l e   f i e l d s   t h a t   y o u   c a n   u s e   t o   m a t c h   r e q u e s t s   t h a t   m e e t   s p e c i f i c   c r i t e r i a .   F o r   e x a m p l e ,   y o u   c a n   u s e   a   n a m e s p a c e S e l e c t o r   t o   f i l t e r   f o r   r e q u e s t s   t h a t   t a r g e t   a   s p e c i f i c   n a m e s p a c e .   F o r   m o r e   f i n e - g r a i n e d   r e q u e s t   f i l t e r i n g ,   u s e   t h e   m a t c h C o n d i t i o n s   f i e l d   i n   y o u r   w e b h o o k   c o n f i g u r a t i o n .   T h i s   f i e l d   l e t s   y o u   w r i t e   m u l t i p l e   C E L   e x p r e s s i o n s   t h a t   m u s t   e v a l u a t e   t o   t r u e   f o r   a   r e q u e s t   t o   t r i g g e r   y o u r   a d m i s s i o n   w e b h o o k .   U s i n g   m a t c h C o n d i t i o n s   m i g h t   s i g n i f i c a n t l y   r e d u c e   t h e   n u m b e r   o f   c a l l s   t o   y o u r   w e b h o o k   s e r v e r .   F o r   d e t a i l s ,   s e e   M a t c h i n g   r e q u e s t s :   m a t c h C o n d i t i o n s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_3_6576"
  },
  {
    "question": "What is Match all versions of an API?",
    "answer": "B y   d e f a u l t ,   a d m i s s i o n   w e b h o o k s   r u n   o n   a n y   A P I   v e r s i o n s   t h a t   a f f e c t   a   s p e c i f i e d   r e s o u r c e .   T h e   m a t c h P o l i c y   f i e l d   i n   t h e   w e b h o o k   c o n f i g u r a t i o n   c o n t r o l s   t h i s   b e h a v i o r .   S p e c i f y   a   v a l u e   o f   E q u i v a l e n t   i n   t h e   m a t c h P o l i c y   f i e l d   o r   o m i t   t h e   f i e l d   t o   a l l o w   t h e   w e b h o o k   t o   r u n   o n   a n y   A P I   v e r s i o n .   F o r   d e t a i l s ,   s e e   M a t c h i n g   r e q u e s t s :   m a t c h P o l i c y .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_3_6577"
  },
  {
    "question": "What is Mutation scope and field considerations?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   r e c o m m e n d a t i o n s   f o r   t h e   s c o p e   o f   m u t a t i o n s   a n d   a n y   s p e c i a l   c o n s i d e r a t i o n s   f o r   o b j e c t   f i e l d s .   I n   s u m m a r y ,   t h e s e   a r e   a s   f o l l o w s :   P a t c h   o n l y   t h e   f i e l d s   t h a t   y o u   n e e d   t o   p a t c h . D o n ' t   o v e r w r i t e   a r r a y   v a l u e s . A v o i d   s i d e   e f f e c t s   i n   m u t a t i o n s   w h e n   p o s s i b l e . A v o i d   s e l f - m u t a t i o n s . F a i l   o p e n   a n d   v a l i d a t e   t h e   f i n a l   s t a t e . P l a n   f o r   f u t u r e   f i e l d   u p d a t e s   i n   l a t e r   v e r s i o n s . P r e v e n t   w e b h o o k s   f r o m   s e l f - t r i g g e r i n g . D o n ' t   c h a n g e   i m m u t a b l e   o b j e c t s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_2_6578"
  },
  {
    "question": "What is Patch only required fields?",
    "answer": "A d m i s s i o n   w e b h o o k   s e r v e r s   s e n d   H T T P   r e s p o n s e s   t o   i n d i c a t e   w h a t   t o   d o   w i t h   a   s p e c i f i c   K u b e r n e t e s   A P I   r e q u e s t .   T h i s   r e s p o n s e   i s   a n   A d m i s s i o n R e v i e w   o b j e c t .   A   m u t a t i n g   w e b h o o k   c a n   a d d   s p e c i f i c   f i e l d s   t o   m u t a t e   b e f o r e   a l l o w i n g   a d m i s s i o n   b y   u s i n g   t h e   p a t c h T y p e   f i e l d   a n d   t h e   p a t c h   f i e l d   i n   t h e   r e s p o n s e .   E n s u r e   t h a t   y o u   o n l y   m o d i f y   t h e   f i e l d s   t h a t   r e q u i r e   a   c h a n g e .   F o r   e x a m p l e ,   c o n s i d e r   a   m u t a t i n g   w e b h o o k   t h a t ' s   c o n f i g u r e d   t o   e n s u r e   t h a t   w e b - s e r v e r   D e p l o y m e n t s   h a v e   a t   l e a s t   t h r e e   r e p l i c a s .   W h e n   a   r e q u e s t   t o   c r e a t e   a   D e p l o y m e n t   o b j e c t   m a t c h e s   y o u r   w e b h o o k   c o n f i g u r a t i o n ,   t h e   w e b h o o k   s h o u l d   o n l y   u p d a t e   t h e   v a l u e   i n   t h e   s p e c . r e p l i c a s   f i e l d .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_3_6579"
  },
  {
    "question": "What is Don't overwrite array values?",
    "answer": "F i e l d s   i n   K u b e r n e t e s   o b j e c t   s p e c i f i c a t i o n s   m i g h t   i n c l u d e   a r r a y s .   S o m e   a r r a y s   c o n t a i n   k e y : v a l u e   p a i r s   ( l i k e   t h e   e n v V a r   f i e l d   i n   a   c o n t a i n e r   s p e c i f i c a t i o n ) ,   w h i l e   o t h e r   a r r a y s   a r e   u n k e y e d   ( l i k e   t h e   r e a d i n e s s G a t e s   f i e l d   i n   a   P o d   s p e c i f i c a t i o n ) .   T h e   o r d e r   o f   v a l u e s   i n   a n   a r r a y   f i e l d   m i g h t   m a t t e r   i n   s o m e   s i t u a t i o n s .   F o r   e x a m p l e ,   t h e   o r d e r   o f   a r g u m e n t s   i n   t h e   a r g s   f i e l d   o f   a   c o n t a i n e r   s p e c i f i c a t i o n   m i g h t   a f f e c t   t h e   c o n t a i n e r .   C o n s i d e r   t h e   f o l l o w i n g   w h e n   m o d i f y i n g   a r r a y s :   W h e n e v e r   p o s s i b l e ,   u s e   t h e   a d d   J S O N P a t c h   o p e r a t i o n   i n s t e a d   o f   r e p l a c e   t o   a v o i d   a c c i d e n t a l l y   r e p l a c i n g   a   r e q u i r e d   v a l u e . T r e a t   a r r a y s   t h a t   d o n ' t   u s e   k e y : v a l u e   p a i r s   a s   s e t s . E n s u r e   t h a t   t h e   v a l u e s   i n   t h e   f i e l d   t h a t   y o u   m o d i f y   a r e n ' t   r e q u i r e d   t o   b e   i n   a   s p e c i f i c   o r d e r . D o n ' t   o v e r w r i t e   e x i s t i n g   k e y : v a l u e   p a i r s   u n l e s s   a b s o l u t e l y   n e c e s s a r y . U s e   c a u t i o n   w h e n   m o d i f y i n g   l a b e l   f i e l d s .   A n   a c c i d e n t a l   m o d i f i c a t i o n   m i g h t   c a u s e   l a b e l   s e l e c t o r s   t o   b r e a k ,   r e s u l t i n g   i n   u n i n t e n d e d   b e h a v i o r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_3_6580"
  },
  {
    "question": "What is Avoid side effects?",
    "answer": "E n s u r e   t h a t   y o u r   w e b h o o k s   o p e r a t e   o n l y   o n   t h e   c o n t e n t   o f   t h e   A d m i s s i o n R e v i e w   t h a t ' s   s e n t   t o   t h e m ,   a n d   d o   n o t   m a k e   o u t - o f - b a n d   c h a n g e s .   T h e s e   a d d i t i o n a l   c h a n g e s ,   c a l l e d   s i d e   e f f e c t s ,   m i g h t   c a u s e   c o n f l i c t s   d u r i n g   a d m i s s i o n   i f   t h e y   a r e n ' t   r e c o n c i l e d   p r o p e r l y .   T h e   . w e b h o o k s [ ] . s i d e E f f e c t s   f i e l d   s h o u l d   b e   s e t   t o   N o n e   i f   a   w e b h o o k   d o e s n ' t   h a v e   a n y   s i d e   e f f e c t .   I f   s i d e   e f f e c t s   a r e   r e q u i r e d   d u r i n g   t h e   a d m i s s i o n   e v a l u a t i o n ,   t h e y   m u s t   b e   s u p p r e s s e d   w h e n   p r o c e s s i n g   a n   A d m i s s i o n R e v i e w   o b j e c t   w i t h   d r y R u n   s e t   t o   t r u e ,   a n d   t h e   . w e b h o o k s [ ] . s i d e E f f e c t s   f i e l d   s h o u l d   b e   s e t   t o   N o n e O n D r y R u n .   F o r   d e t a i l s ,   s e e   S i d e   e f f e c t s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_3_6581"
  },
  {
    "question": "What is Avoid self-mutations?",
    "answer": "A   w e b h o o k   r u n n i n g   i n s i d e   t h e   c l u s t e r   m i g h t   c a u s e   d e a d l o c k s   f o r   i t s   o w n   d e p l o y m e n t   i f   i t   i s   c o n f i g u r e d   t o   i n t e r c e p t   r e s o u r c e s   r e q u i r e d   t o   s t a r t   i t s   o w n   P o d s .   F o r   e x a m p l e ,   a   m u t a t i n g   a d m i s s i o n   w e b h o o k   i s   c o n f i g u r e d   t o   a d m i t   c r e a t e   P o d   r e q u e s t s   o n l y   i f   a   c e r t a i n   l a b e l   i s   s e t   i n   t h e   P o d   ( s u c h   a s   e n v :   p r o d ) .   T h e   w e b h o o k   s e r v e r   r u n s   i n   a   D e p l o y m e n t   t h a t   d o e s n ' t   s e t   t h e   e n v   l a b e l .   W h e n   a   n o d e   t h a t   r u n s   t h e   w e b h o o k   s e r v e r   P o d s   b e c o m e s   u n h e a l t h y ,   t h e   w e b h o o k   D e p l o y m e n t   t r i e s   t o   r e s c h e d u l e   t h e   P o d s   t o   a n o t h e r   n o d e .   H o w e v e r ,   t h e   e x i s t i n g   w e b h o o k   s e r v e r   r e j e c t s   t h e   r e q u e s t s   s i n c e   t h e   e n v   l a b e l   i s   u n s e t .   A s   a   r e s u l t ,   t h e   m i g r a t i o n   c a n n o t   h a p p e n .   E x c l u d e   t h e   n a m e s p a c e   w h e r e   y o u r   w e b h o o k   i s   r u n n i n g   w i t h   a   n a m e s p a c e S e l e c t o r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_3_6582"
  },
  {
    "question": "What is Avoid dependency loops?",
    "answer": "D e p e n d e n c y   l o o p s   c a n   o c c u r   i n   s c e n a r i o s   l i k e   t h e   f o l l o w i n g :   T w o   w e b h o o k s   c h e c k   e a c h   o t h e r ' s   P o d s .   I f   b o t h   w e b h o o k s   b e c o m e   u n a v a i l a b l e   a t   t h e   s a m e   t i m e ,   n e i t h e r   w e b h o o k   c a n   s t a r t . Y o u r   w e b h o o k   i n t e r c e p t s   c l u s t e r   a d d - o n   c o m p o n e n t s ,   s u c h   a s   n e t w o r k i n g   p l u g i n s   o r   s t o r a g e   p l u g i n s ,   t h a t   y o u r   w e b h o o k   d e p e n d s   o n .   I f   b o t h   t h e   w e b h o o k   a n d   t h e   d e p e n d e n t   a d d - o n   b e c o m e   u n a v a i l a b l e ,   n e i t h e r   c o m p o n e n t   c a n   f u n c t i o n .   T o   a v o i d   t h e s e   d e p e n d e n c y   l o o p s ,   t r y   t h e   f o l l o w i n g :   U s e   V a l i d a t i n g A d m i s s i o n P o l i c i e s   t o   a v o i d   i n t r o d u c i n g   d e p e n d e n c i e s . P r e v e n t   w e b h o o k s   f r o m   v a l i d a t i n g   o r   m u t a t i n g   o t h e r   w e b h o o k s .   C o n s i d e r   e x c l u d i n g   s p e c i f i c   n a m e s p a c e s   f r o m   t r i g g e r i n g   y o u r   w e b h o o k . P r e v e n t   y o u r   w e b h o o k s   f r o m   a c t i n g   o n   d e p e n d e n t   a d d - o n s   b y   u s i n g   a n   o b j e c t S e l e c t o r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_3_6583"
  },
  {
    "question": "What is Fail open and validate the final state?",
    "answer": "M u t a t i n g   a d m i s s i o n   w e b h o o k s   s u p p o r t   t h e   f a i l u r e P o l i c y   c o n f i g u r a t i o n   f i e l d .   T h i s   f i e l d   i n d i c a t e s   w h e t h e r   t h e   A P I   s e r v e r   s h o u l d   a d m i t   o r   r e j e c t   t h e   r e q u e s t   i f   t h e   w e b h o o k   f a i l s .   W e b h o o k   f a i l u r e s   m i g h t   o c c u r   b e c a u s e   o f   t i m e o u t s   o r   e r r o r s   i n   t h e   s e r v e r   l o g i c .   B y   d e f a u l t ,   a d m i s s i o n   w e b h o o k s   s e t   t h e   f a i l u r e P o l i c y   f i e l d   t o   F a i l .   T h e   A P I   s e r v e r   r e j e c t s   a   r e q u e s t   i f   t h e   w e b h o o k   f a i l s .   H o w e v e r ,   r e j e c t i n g   r e q u e s t s   b y   d e f a u l t   m i g h t   r e s u l t   i n   c o m p l i a n t   r e q u e s t s   b e i n g   r e j e c t e d   d u r i n g   w e b h o o k   d o w n t i m e .   L e t   y o u r   m u t a t i n g   w e b h o o k s   \" f a i l   o p e n \"   b y   s e t t i n g   t h e   f a i l u r e P o l i c y   f i e l d   t o   I g n o r e .   U s e   a   v a l i d a t i n g   c o n t r o l l e r   t o   c h e c k   t h e   s t a t e   o f   r e q u e s t s   t o   e n s u r e   t h a t   t h e y   c o m p l y   w i t h   y o u r   p o l i c i e s .   T h i s   a p p r o a c h   h a s   t h e   f o l l o w i n g   b e n e f i t s :   M u t a t i n g   w e b h o o k   d o w n t i m e   d o e s n ' t   a f f e c t   c o m p l i a n t   r e s o u r c e s   f r o m   d e p l o y i n g . P o l i c y   e n f o r c e m e n t   o c c u r s   d u r i n g   v a l i d a t i n g   a d m i s s i o n   c o n t r o l . M u t a t i n g   w e b h o o k s   d o n ' t   i n t e r f e r e   w i t h   o t h e r   c o n t r o l l e r s   i n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_3_6584"
  },
  {
    "question": "What is Plan for future updates to fields?",
    "answer": "I n   g e n e r a l ,   d e s i g n   y o u r   w e b h o o k s   u n d e r   t h e   a s s u m p t i o n   t h a t   K u b e r n e t e s   A P I s   m i g h t   c h a n g e   i n   a   l a t e r   v e r s i o n .   D o n ' t   w r i t e   a   s e r v e r   t h a t   t a k e s   t h e   s t a b i l i t y   o f   a n   A P I   f o r   g r a n t e d .   F o r   e x a m p l e ,   t h e   r e l e a s e   o f   s i d e c a r   c o n t a i n e r s   i n   K u b e r n e t e s   a d d e d   a   r e s t a r t P o l i c y   f i e l d   t o   t h e   P o d   A P I .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_3_6585"
  },
  {
    "question": "What is Prevent your webhook from triggering itself?",
    "answer": "M u t a t i n g   w e b h o o k s   t h a t   r e s p o n d   t o   a   b r o a d   r a n g e   o f   A P I   r e q u e s t s   m i g h t   u n i n t e n t i o n a l l y   t r i g g e r   t h e m s e l v e s .   F o r   e x a m p l e ,   c o n s i d e r   a   w e b h o o k   t h a t   r e s p o n d s   t o   a l l   r e q u e s t s   i n   t h e   c l u s t e r .   I f   y o u   c o n f i g u r e   t h e   w e b h o o k   t o   c r e a t e   E v e n t   o b j e c t s   f o r   e v e r y   m u t a t i o n ,   i t ' l l   r e s p o n d   t o   i t s   o w n   E v e n t   o b j e c t   c r e a t i o n   r e q u e s t s .   T o   a v o i d   t h i s ,   c o n s i d e r   s e t t i n g   a   u n i q u e   l a b e l   i n   a n y   r e s o u r c e s   t h a t   y o u r   w e b h o o k   c r e a t e s .   E x c l u d e   t h i s   l a b e l   f r o m   y o u r   w e b h o o k   m a t c h   c o n d i t i o n s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_3_6586"
  },
  {
    "question": "What is Don't change immutable objects?",
    "answer": "S o m e   K u b e r n e t e s   o b j e c t s   i n   t h e   A P I   s e r v e r   c a n ' t   c h a n g e .   F o r   e x a m p l e ,   w h e n   y o u   d e p l o y   a   s t a t i c   P o d ,   t h e   k u b e l e t   o n   t h e   n o d e   c r e a t e s   a   m i r r o r   P o d   i n   t h e   A P I   s e r v e r   t o   t r a c k   t h e   s t a t i c   P o d .   H o w e v e r ,   c h a n g e s   t o   t h e   m i r r o r   P o d   d o n ' t   p r o p a g a t e   t o   t h e   s t a t i c   P o d .   D o n ' t   a t t e m p t   t o   m u t a t e   t h e s e   o b j e c t s   d u r i n g   a d m i s s i o n .   A l l   m i r r o r   P o d s   h a v e   t h e   k u b e r n e t e s . i o / c o n f i g . m i r r o r   a n n o t a t i o n .   T o   e x c l u d e   m i r r o r   P o d s   w h i l e   r e d u c i n g   t h e   s e c u r i t y   r i s k   o f   i g n o r i n g   a n   a n n o t a t i o n ,   a l l o w   s t a t i c   P o d s   t o   o n l y   r u n   i n   s p e c i f i c   n a m e s p a c e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_3_6587"
  },
  {
    "question": "What is Mutating webhook ordering and idempotence?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   r e c o m m e n d a t i o n s   f o r   w e b h o o k   o r d e r   a n d   d e s i g n i n g   i d e m p o t e n t   w e b h o o k s .   I n   s u m m a r y ,   t h e s e   a r e   a s   f o l l o w s :   D o n ' t   r e l y   o n   a   s p e c i f i c   o r d e r   o f   e x e c u t i o n . V a l i d a t e   m u t a t i o n s   b e f o r e   a d m i s s i o n . C h e c k   f o r   m u t a t i o n s   b e i n g   o v e r w r i t t e n   b y   o t h e r   c o n t r o l l e r s . E n s u r e   t h a t   t h e   s e t   o f   m u t a t i n g   w e b h o o k s   i s   i d e m p o t e n t ,   n o t   j u s t   t h e   i n d i v i d u a l   w e b h o o k s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_2_6588"
  },
  {
    "question": "What is Don't rely on mutating webhook invocation order?",
    "answer": "M u t a t i n g   a d m i s s i o n   w e b h o o k s   d o n ' t   r u n   i n   a   c o n s i s t e n t   o r d e r .   V a r i o u s   f a c t o r s   m i g h t   c h a n g e   w h e n   a   s p e c i f i c   w e b h o o k   i s   c a l l e d .   D o n ' t   r e l y   o n   y o u r   w e b h o o k   r u n n i n g   a t   a   s p e c i f i c   p o i n t   i n   t h e   a d m i s s i o n   p r o c e s s .   O t h e r   w e b h o o k s   c o u l d   s t i l l   m u t a t e   y o u r   m o d i f i e d   o b j e c t .   T h e   f o l l o w i n g   r e c o m m e n d a t i o n s   m i g h t   h e l p   t o   m i n i m i z e   t h e   r i s k   o f   u n i n t e n d e d   c h a n g e s :   V a l i d a t e   m u t a t i o n s   b e f o r e   a d m i s s i o n U s e   a   r e i n v o c a t i o n   p o l i c y   t o   o b s e r v e   c h a n g e s   t o   a n   o b j e c t   b y   o t h e r   p l u g i n s   a n d   r e - r u n   t h e   w e b h o o k   a s   n e e d e d .   F o r   d e t a i l s ,   s e e   R e i n v o c a t i o n   p o l i c y .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_3_6589"
  },
  {
    "question": "What is Ensure that the mutating webhooks in your cluster are idempotent?",
    "answer": "E v e r y   m u t a t i n g   a d m i s s i o n   w e b h o o k   s h o u l d   b e   i d e m p o t e n t .   T h e   w e b h o o k   s h o u l d   b e   a b l e   t o   r u n   o n   a n   o b j e c t   t h a t   i t   a l r e a d y   m o d i f i e d   w i t h o u t   m a k i n g   a d d i t i o n a l   c h a n g e s   b e y o n d   t h e   o r i g i n a l   c h a n g e .   A d d i t i o n a l l y ,   a l l   o f   t h e   m u t a t i n g   w e b h o o k s   i n   y o u r   c l u s t e r   s h o u l d ,   a s   a   c o l l e c t i o n ,   b e   i d e m p o t e n t .   A f t e r   t h e   m u t a t i o n   p h a s e   o f   a d m i s s i o n   c o n t r o l   e n d s ,   e v e r y   i n d i v i d u a l   m u t a t i n g   w e b h o o k   s h o u l d   b e   a b l e   t o   r u n   o n   a n   o b j e c t   w i t h o u t   m a k i n g   a d d i t i o n a l   c h a n g e s   t o   t h e   o b j e c t .   D e p e n d i n g   o n   y o u r   e n v i r o n m e n t ,   e n s u r i n g   i d e m p o t e n c e   a t   s c a l e   m i g h t   b e   c h a l l e n g i n g .   T h e   f o l l o w i n g   r e c o m m e n d a t i o n s   m i g h t   h e l p :   U s e   v a l i d a t i n g   a d m i s s i o n   c o n t r o l l e r s   t o   v e r i f y   t h e   f i n a l   s t a t e   o f   c r i t i c a l   w o r k l o a d s . T e s t   y o u r   d e p l o y m e n t s   i n   a   s t a g i n g   c l u s t e r   t o   s e e   i f   a n y   o b j e c t s   g e t   m o d i f i e d   m u l t i p l e   t i m e s   b y   t h e   s a m e   w e b h o o k . E n s u r e   t h a t   t h e   s c o p e   o f   e a c h   m u t a t i n g   w e b h o o k   i s   s p e c i f i c   a n d   l i m i t e d .   T h e   f o l l o w i n g   e x a m p l e s   s h o w   i d e m p o t e n t   m u t a t i o n   l o g i c :   F o r   a   c r e a t e   P o d   r e q u e s t ,   s e t   t h e   f i e l d   . s p e c . s e c u r i t y C o n t e x t . r u n A s N o n R o o t   o f   t h e   P o d   t o   t r u ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_3_6590"
  },
  {
    "question": "What is Mutation testing and validation?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   r e c o m m e n d a t i o n s   f o r   t e s t i n g   y o u r   m u t a t i n g   w e b h o o k s   a n d   v a l i d a t i n g   m u t a t e d   o b j e c t s .   I n   s u m m a r y ,   t h e s e   a r e   a s   f o l l o w s :   T e s t   w e b h o o k s   i n   s t a g i n g   e n v i r o n m e n t s . A v o i d   m u t a t i o n s   t h a t   v i o l a t e   v a l i d a t i o n s . T e s t   m i n o r   v e r s i o n   u p g r a d e s   f o r   r e g r e s s i o n s   a n d   c o n f l i c t s . V a l i d a t e   m u t a t e d   o b j e c t s   b e f o r e   a d m i s s i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_2_6591"
  },
  {
    "question": "What is Test webhooks in staging environments?",
    "answer": "R o b u s t   t e s t i n g   s h o u l d   b e   a   c o r e   p a r t   o f   y o u r   r e l e a s e   c y c l e   f o r   n e w   o r   u p d a t e d   w e b h o o k s .   I f   p o s s i b l e ,   t e s t   a n y   c h a n g e s   t o   y o u r   c l u s t e r   w e b h o o k s   i n   a   s t a g i n g   e n v i r o n m e n t   t h a t   c l o s e l y   r e s e m b l e s   y o u r   p r o d u c t i o n   c l u s t e r s .   A t   t h e   v e r y   l e a s t ,   c o n s i d e r   u s i n g   a   t o o l   l i k e   m i n i k u b e   o r   k i n d   t o   c r e a t e   a   s m a l l   t e s t   c l u s t e r   f o r   w e b h o o k   c h a n g e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_3_6592"
  },
  {
    "question": "What is Ensure that mutations don't violate validations?",
    "answer": "Y o u r   m u t a t i n g   w e b h o o k s   s h o u l d n ' t   b r e a k   a n y   o f   t h e   v a l i d a t i o n s   t h a t   a p p l y   t o   a n   o b j e c t   b e f o r e   a d m i s s i o n .   F o r   e x a m p l e ,   c o n s i d e r   a   m u t a t i n g   w e b h o o k   t h a t   s e t s   t h e   d e f a u l t   C P U   r e q u e s t   o f   a   P o d   t o   a   s p e c i f i c   v a l u e .   I f   t h e   C P U   l i m i t   o f   t h a t   P o d   i s   s e t   t o   a   l o w e r   v a l u e   t h a n   t h e   m u t a t e d   r e q u e s t ,   t h e   P o d   f a i l s   a d m i s s i o n .   T e s t   e v e r y   m u t a t i n g   w e b h o o k   a g a i n s t   t h e   v a l i d a t i o n s   t h a t   r u n   i n   y o u r   c l u s t e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_3_6593"
  },
  {
    "question": "What is Test minor version upgrades to ensure consistent behavior?",
    "answer": "B e f o r e   u p g r a d i n g   y o u r   p r o d u c t i o n   c l u s t e r s   t o   a   n e w   m i n o r   v e r s i o n ,   t e s t   y o u r   w e b h o o k s   a n d   w o r k l o a d s   i n   a   s t a g i n g   e n v i r o n m e n t .   C o m p a r e   t h e   r e s u l t s   t o   e n s u r e   t h a t   y o u r   w e b h o o k s   c o n t i n u e   t o   f u n c t i o n   a s   e x p e c t e d   a f t e r   t h e   u p g r a d e .   A d d i t i o n a l l y ,   u s e   t h e   f o l l o w i n g   r e s o u r c e s   t o   s t a y   i n f o r m e d   a b o u t   A P I   c h a n g e s :   K u b e r n e t e s   r e l e a s e   n o t e s K u b e r n e t e s   b l o g",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_3_6594"
  },
  {
    "question": "What is Validate mutations before admission?",
    "answer": "M u t a t i n g   w e b h o o k s   r u n   t o   c o m p l e t i o n   b e f o r e   a n y   v a l i d a t i n g   w e b h o o k s   r u n .   T h e r e   i s   n o   s t a b l e   o r d e r   i n   w h i c h   m u t a t i o n s   a r e   a p p l i e d   t o   o b j e c t s .   A s   a   r e s u l t ,   y o u r   m u t a t i o n s   c o u l d   g e t   o v e r w r i t t e n   b y   a   m u t a t i n g   w e b h o o k   t h a t   r u n s   a t   a   l a t e r   t i m e .   A d d   a   v a l i d a t i n g   a d m i s s i o n   c o n t r o l l e r   l i k e   a   V a l i d a t i n g A d m i s s i o n W e b h o o k   o r   a   V a l i d a t i n g A d m i s s i o n P o l i c y   t o   y o u r   c l u s t e r   t o   e n s u r e   t h a t   y o u r   m u t a t i o n s   a r e   s t i l l   p r e s e n t .   F o r   e x a m p l e ,   c o n s i d e r   a   m u t a t i n g   w e b h o o k   t h a t   i n s e r t s   t h e   r e s t a r t P o l i c y :   A l w a y s   f i e l d   t o   s p e c i f i c   i n i t   c o n t a i n e r s   t o   m a k e   t h e m   r u n   a s   s i d e c a r   c o n t a i n e r s .   Y o u   c o u l d   r u n   a   v a l i d a t i n g   w e b h o o k   t o   e n s u r e   t h a t   t h o s e   i n i t   c o n t a i n e r s   r e t a i n e d   t h e   r e s t a r t P o l i c y :   A l w a y s   c o n f i g u r a t i o n   a f t e r   a l l   m u t a t i o n s   w e r e   c o m p l e t e d .   F o r   d e t a i l s ,   s e e   t h e   f o l l o w i n g   r e s o u r c e s :   V a l i d a t i n g   A d m i s s i o n   P o l i c y V a l i d a t i n g A d m i s s i o n W e b h o o k s",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_3_6595"
  },
  {
    "question": "What is Mutating webhook deployment?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   r e c o m m e n d a t i o n s   f o r   d e p l o y i n g   y o u r   m u t a t i n g   a d m i s s i o n   w e b h o o k s .   I n   s u m m a r y ,   t h e s e   a r e   a s   f o l l o w s :   G r a d u a l l y   r o l l   o u t   t h e   w e b h o o k   c o n f i g u r a t i o n   a n d   m o n i t o r   f o r   i s s u e s   b y   n a m e s p a c e . L i m i t   a c c e s s   t o   e d i t   t h e   w e b h o o k   c o n f i g u r a t i o n   r e s o u r c e s . L i m i t   a c c e s s   t o   t h e   n a m e s p a c e   t h a t   r u n s   t h e   w e b h o o k   s e r v e r ,   i f   t h e   s e r v e r   i s   i n - c l u s t e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_2_6596"
  },
  {
    "question": "What is Install and enable a mutating webhook?",
    "answer": "W h e n   y o u ' r e   r e a d y   t o   d e p l o y   y o u r   m u t a t i n g   w e b h o o k   t o   a   c l u s t e r ,   u s e   t h e   f o l l o w i n g   o r d e r   o f   o p e r a t i o n s :   I n s t a l l   t h e   w e b h o o k   s e r v e r   a n d   s t a r t   i t . S e t   t h e   f a i l u r e P o l i c y   f i e l d   i n   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   m a n i f e s t   t o   I g n o r e .   T h i s   l e t s   y o u   a v o i d   d i s r u p t i o n s   c a u s e d   b y   m i s c o n f i g u r e d   w e b h o o k s . S e t   t h e   n a m e s p a c e S e l e c t o r   f i e l d   i n   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   m a n i f e s t   t o   a   t e s t   n a m e s p a c e . D e p l o y   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   t o   y o u r   c l u s t e r .   M o n i t o r   t h e   w e b h o o k   i n   t h e   t e s t   n a m e s p a c e   t o   c h e c k   f o r   a n y   i s s u e s ,   t h e n   r o l l   t h e   w e b h o o k   o u t   t o   o t h e r   n a m e s p a c e s .   I f   t h e   w e b h o o k   i n t e r c e p t s   a n   A P I   r e q u e s t   t h a t   i t   w a s n ' t   m e a n t   t o   i n t e r c e p t ,   p a u s e   t h e   r o l l o u t   a n d   a d j u s t   t h e   s c o p e   o f   t h e   w e b h o o k   c o n f i g u r a t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_3_6597"
  },
  {
    "question": "What is Limit edit access to mutating webhooks?",
    "answer": "M u t a t i n g   w e b h o o k s   a r e   p o w e r f u l   K u b e r n e t e s   c o n t r o l l e r s .   U s e   R B A C   o r   a n o t h e r   a u t h o r i z a t i o n   m e c h a n i s m   t o   l i m i t   a c c e s s   t o   y o u r   w e b h o o k   c o n f i g u r a t i o n s   a n d   s e r v e r s .   F o r   R B A C ,   e n s u r e   t h a t   t h e   f o l l o w i n g   a c c e s s   i s   o n l y   a v a i l a b l e   t o   t r u s t e d   e n t i t i e s :   V e r b s :   c r e a t e ,   u p d a t e ,   p a t c h ,   d e l e t e ,   d e l e t e c o l l e c t i o n A P I   g r o u p :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 A P I   k i n d :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n s   I f   y o u r   m u t a t i n g   w e b h o o k   s e r v e r   r u n s   i n   t h e   c l u s t e r ,   l i m i t   a c c e s s   t o   c r e a t e   o r   m o d i f y   a n y   r e s o u r c e s   i n   t h a t   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_3_6598"
  },
  {
    "question": "What is Examples of good implementations?",
    "answer": "T h e   f o l l o w i n g   p r o j e c t s   a r e   e x a m p l e s   o f   \" g o o d \"   c u s t o m   w e b h o o k   s e r v e r   i m p l e m e n t a t i o n s .   Y o u   c a n   u s e   t h e m   a s   a   s t a r t i n g   p o i n t   w h e n   d e s i g n i n g   y o u r   o w n   w e b h o o k s .   D o n ' t   u s e   t h e s e   e x a m p l e s   a s - i s ;   u s e   t h e m   a s   a   s t a r t i n g   p o i n t   a n d   d e s i g n   y o u r   w e b h o o k s   t o   r u n   w e l l   i n   y o u r   s p e c i f i c   e n v i r o n m e n t .   c e r t - m a n a g e r G a t e k e e p e r   O p e n   P o l i c y   A g e n t   ( O P A )",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_2_6599"
  },
  {
    "question": "What is What's next?",
    "answer": "U s e   w e b h o o k s   f o r   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n L e a r n   a b o u t   M u t a t i n g A d m i s s i o n P o l i c i e s L e a r n   a b o u t   V a l i d a t i n g A d m i s s i o n P o l i c i e s   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/admission-webhooks-good-practices/",
    "id": "k8s_00341_section_2_6600"
  },
  {
    "question": "What is IP Masquerade Agent User Guide?",
    "answer": "IP Masquerade Agent User GuideThis page shows how to configure and enable the ip-masq-agent.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.IP Masquerade Agent User GuideThe ip-masq-agent configures iptables rules to hide a pod's IP address behind the cluster node's IP address. This is typically done when sending traffic to destinations outside the cluster's pod CIDR range.Key TermsNAT (Network Address Translation): Is a method of remapping one IP address to another by modifying either the source and/or destination address information in the IP header. Typically performed by a device doing IP routing.Masquerading: A form of NAT that is typically used to perform a many to one address translation, where multiple source IP addresses are masked behind a single address, which is typically the device doing the IP routing. In Kubernetes this is the Node's IP address.CIDR (Classless Inter-Domain Routing): Based on the variable-length subnet masking, allows specifying arbitrary-length prefixes. CIDR introduced a new method of representation for IP addresses, now commonly known as CIDR notation, in which an address or routing prefix is written with a suffix indicating the number of bits of the prefix, such as 192.168.2.0/24.Link Local: A link-local address is a network address that is valid only for communications within the network segment or the broadcast domain that the host is connected to. Link-local addresses for IPv4 are defined in the address block 169.254.0.0/16 in CIDR notation.The ip-masq-agent configures iptables rules to handle masquerading node/pod IP addresses when sending traffic to destinations outside the cluster node's IP and the Cluster IP range. This essentially hides pod IP addresses behind the cluster node's IP address. In some environments, traffic to \"external\" addresses must come from a known machine address. For example, in Google Cloud, any traffic to the internet must come from a VM's IP. When containers are used, as in Google Kubernetes Engine, the Pod IP will be rejected for egress. To avoid this, we must hide the Pod IP behind the VM's own IP address - generally known as \"masquerade\". By default, the agent is configured to treat the three private IP ranges specified by RFC 1918 as non-masquerade CIDR. These ranges are 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. The agent will also treat link-local (169.254.0.0/16) as a non-masquerade CIDR by default. The agent is configured to reload its configuration from the location /etc/config/ip-masq-agent every 60 seconds, which is also configurable.The ag",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/ip-masq-agent/",
    "id": "k8s_00342_qa_6601"
  },
  {
    "question": "How does IP Masquerade Agent User Guide work?",
    "answer": "IP Masquerade Agent User GuideThis page shows how to configure and enable the ip-masq-agent.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.IP Masquerade Agent User GuideThe ip-masq-agent configures iptables rules to hide a pod's IP address behind the cluster node's IP address. This is typically done when sending traffic to destinations outside the cluster's pod CIDR range.Key TermsNAT (Network Address Translation): Is a method of remapping one IP address to another by modifying either the source and/or destination address information in the IP header. Typically performed by a device doing IP routing.Masquerading: A form of NAT that is typically used to perform a many to one address translation, where multiple source IP addresses are masked behind a single address, which is typically the device doing the IP routing. In Kubernetes this is the Node's IP address.CIDR (Classless Inter-Domain Routing): Based on the variable-length subnet masking, allows specifying arbitrary-length prefixes. CIDR introduced a new method of representation for IP addresses, now commonly known as CIDR notation, in which an address or routing prefix is written with a suffix indicating the number of bits of the prefix, such as 192.168.2.0/24.Link Local: A link-local address is a network address that is valid only for communications within the network segment or the broadcast domain that the host is connected to. Link-local addresses for IPv4 are defined in the address block 169.254.0.0/16 in CIDR notation.The ip-masq-agent configures iptables rules to handle masquerading node/pod IP addresses when sending traffic to destinations outside the cluster node's IP and the Cluster IP range. This essentially hides pod IP addresses behind the cluster node's IP address. In some environments, traffic to \"external\" addresses must come from a known machine address. For example, in Google Cloud, any traffic to the internet must come from a VM's IP. When containers are used, as in Google Kubernetes Engine, the Pod IP will be rejected for egress. To avoid this, we must hide the Pod IP behind the VM's own IP address - generally known as \"masquerade\". By default, the agent is configured to treat the three private IP ranges specified by RFC 1918 as non-masquerade CIDR. These ranges are 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. The agent will also treat link-local (169.254.0.0/16) as a non-masquerade CIDR by default. The agent is configured to reload its configuration from the location /etc/config/ip-masq-agent every 60 seconds, which is also configurable.The ag",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/ip-masq-agent/",
    "id": "k8s_00342_qa_6602"
  },
  {
    "question": "When would you use IP Masquerade Agent User Guide?",
    "answer": "IP Masquerade Agent User GuideThis page shows how to configure and enable the ip-masq-agent.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.IP Masquerade Agent User GuideThe ip-masq-agent configures iptables rules to hide a pod's IP address behind the cluster node's IP address. This is typically done when sending traffic to destinations outside the cluster's pod CIDR range.Key TermsNAT (Network Address Translation): Is a method of remapping one IP address to another by modifying either the source and/or destination address information in the IP header. Typically performed by a device doing IP routing.Masquerading: A form of NAT that is typically used to perform a many to one address translation, where multiple source IP addresses are masked behind a single address, which is typically the device doing the IP routing. In Kubernetes this is the Node's IP address.CIDR (Classless Inter-Domain Routing): Based on the variable-length subnet masking, allows specifying arbitrary-length prefixes. CIDR introduced a new method of representation for IP addresses, now commonly known as CIDR notation, in which an address or routing prefix is written with a suffix indicating the number of bits of the prefix, such as 192.168.2.0/24.Link Local: A link-local address is a network address that is valid only for communications within the network segment or the broadcast domain that the host is connected to. Link-local addresses for IPv4 are defined in the address block 169.254.0.0/16 in CIDR notation.The ip-masq-agent configures iptables rules to handle masquerading node/pod IP addresses when sending traffic to destinations outside the cluster node's IP and the Cluster IP range. This essentially hides pod IP addresses behind the cluster node's IP address. In some environments, traffic to \"external\" addresses must come from a known machine address. For example, in Google Cloud, any traffic to the internet must come from a VM's IP. When containers are used, as in Google Kubernetes Engine, the Pod IP will be rejected for egress. To avoid this, we must hide the Pod IP behind the VM's own IP address - generally known as \"masquerade\". By default, the agent is configured to treat the three private IP ranges specified by RFC 1918 as non-masquerade CIDR. These ranges are 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. The agent will also treat link-local (169.254.0.0/16) as a non-masquerade CIDR by default. The agent is configured to reload its configuration from the location /etc/config/ip-masq-agent every 60 seconds, which is also configurable.The ag",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/ip-masq-agent/",
    "id": "k8s_00342_qa_6603"
  },
  {
    "question": "What are the benefits of IP Masquerade Agent User Guide?",
    "answer": "IP Masquerade Agent User GuideThis page shows how to configure and enable the ip-masq-agent.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.IP Masquerade Agent User GuideThe ip-masq-agent configures iptables rules to hide a pod's IP address behind the cluster node's IP address. This is typically done when sending traffic to destinations outside the cluster's pod CIDR range.Key TermsNAT (Network Address Translation): Is a method of remapping one IP address to another by modifying either the source and/or destination address information in the IP header. Typically performed by a device doing IP routing.Masquerading: A form of NAT that is typically used to perform a many to one address translation, where multiple source IP addresses are masked behind a single address, which is typically the device doing the IP routing. In Kubernetes this is the Node's IP address.CIDR (Classless Inter-Domain Routing): Based on the variable-length subnet masking, allows specifying arbitrary-length prefixes. CIDR introduced a new method of representation for IP addresses, now commonly known as CIDR notation, in which an address or routing prefix is written with a suffix indicating the number of bits of the prefix, such as 192.168.2.0/24.Link Local: A link-local address is a network address that is valid only for communications within the network segment or the broadcast domain that the host is connected to. Link-local addresses for IPv4 are defined in the address block 169.254.0.0/16 in CIDR notation.The ip-masq-agent configures iptables rules to handle masquerading node/pod IP addresses when sending traffic to destinations outside the cluster node's IP and the Cluster IP range. This essentially hides pod IP addresses behind the cluster node's IP address. In some environments, traffic to \"external\" addresses must come from a known machine address. For example, in Google Cloud, any traffic to the internet must come from a VM's IP. When containers are used, as in Google Kubernetes Engine, the Pod IP will be rejected for egress. To avoid this, we must hide the Pod IP behind the VM's own IP address - generally known as \"masquerade\". By default, the agent is configured to treat the three private IP ranges specified by RFC 1918 as non-masquerade CIDR. These ranges are 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. The agent will also treat link-local (169.254.0.0/16) as a non-masquerade CIDR by default. The agent is configured to reload its configuration from the location /etc/config/ip-masq-agent every 60 seconds, which is also configurable.The ag",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/ip-masq-agent/",
    "id": "k8s_00342_qa_6604"
  },
  {
    "question": "What is IP Masquerade Agent User Guide?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   a n d   e n a b l e   t h e   i p - m a s q - a g e n t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/ip-masq-agent/",
    "id": "k8s_00342_section_1_6605"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/ip-masq-agent/",
    "id": "k8s_00342_section_2_6606"
  },
  {
    "question": "What is IP Masquerade Agent User Guide?",
    "answer": "T h e   i p - m a s q - a g e n t   c o n f i g u r e s   i p t a b l e s   r u l e s   t o   h i d e   a   p o d ' s   I P   a d d r e s s   b e h i n d   t h e   c l u s t e r   n o d e ' s   I P   a d d r e s s .   T h i s   i s   t y p i c a l l y   d o n e   w h e n   s e n d i n g   t r a f f i c   t o   d e s t i n a t i o n s   o u t s i d e   t h e   c l u s t e r ' s   p o d   C I D R   r a n g e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/ip-masq-agent/",
    "id": "k8s_00342_section_2_6607"
  },
  {
    "question": "What is Key Terms?",
    "answer": "N A T   ( N e t w o r k   A d d r e s s   T r a n s l a t i o n ) :   I s   a   m e t h o d   o f   r e m a p p i n g   o n e   I P   a d d r e s s   t o   a n o t h e r   b y   m o d i f y i n g   e i t h e r   t h e   s o u r c e   a n d / o r   d e s t i n a t i o n   a d d r e s s   i n f o r m a t i o n   i n   t h e   I P   h e a d e r .   T y p i c a l l y   p e r f o r m e d   b y   a   d e v i c e   d o i n g   I P   r o u t i n g . M a s q u e r a d i n g :   A   f o r m   o f   N A T   t h a t   i s   t y p i c a l l y   u s e d   t o   p e r f o r m   a   m a n y   t o   o n e   a d d r e s s   t r a n s l a t i o n ,   w h e r e   m u l t i p l e   s o u r c e   I P   a d d r e s s e s   a r e   m a s k e d   b e h i n d   a   s i n g l e   a d d r e s s ,   w h i c h   i s   t y p i c a l l y   t h e   d e v i c e   d o i n g   t h e   I P   r o u t i n g .   I n   K u b e r n e t e s   t h i s   i s   t h e   N o d e ' s   I P   a d d r e s s . C I D R   ( C l a s s l e s s   I n t e r - D o m a i n   R o u t i n g ) :   B a s e d   o n   t h e   v a r i a b l e - l e n g t h   s u b n e t   m a s k i n g ,   a l l o w s   s p e c i f y i n g   a r b i t r a r y - l e n g t h   p r e f i x e s .   C I D R   i n t r o d u c e d   a   n e w   m e t h o d   o f   r e p r e s e n t a t i o n   f o r   I P   a d d r e s s e s ,   n o w   c o m m o n l y   k n o w n   a s   C I D R   n o t a t i o n ,   i n   w h i c h   a n   a d d r e s s   o r   r o u t i n g   p r e f i x   i s   w r i t t e n   w i t h   a   s u f f i x   i n d i c a t i n g   t h e   n u m b e r   o f   b i t s   o f   t h e   p r e f i x ,   s u c h   a s   1 9 2 . 1 6 8 . 2 . 0 / 2 4 . L i n k   L o c a l :   A   l i n k - l o c a l   a d d r e s s   i s   a   n e t w o r k   a d d r e s s   t h a t   i s   v a l i d   o n l y   f o r   c o m m u n i c a t i o n s   w i t h i n   t h e   n e t w o r k   s e g m e n t   o r   t h e   b r o a d c a s t   d o m a i n   t h a t   t h e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/ip-masq-agent/",
    "id": "k8s_00342_section_3_6608"
  },
  {
    "question": "What is Create an ip-masq-agent?",
    "answer": "T o   c r e a t e   a n   i p - m a s q - a g e n t ,   r u n   t h e   f o l l o w i n g   k u b e c t l   c o m m a n d :   k u b e c t l   a p p l y   - f   h t t p s : / / r a w . g i t h u b u s e r c o n t e n t . c o m / k u b e r n e t e s - s i g s / i p - m a s q - a g e n t / m a s t e r / i p - m a s q - a g e n t . y a m l   Y o u   m u s t   a l s o   a p p l y   t h e   a p p r o p r i a t e   n o d e   l a b e l   t o   a n y   n o d e s   i n   y o u r   c l u s t e r   t h a t   y o u   w a n t   t h e   a g e n t   t o   r u n   o n .   k u b e c t l   l a b e l   n o d e s   m y - n o d e   n o d e . k u b e r n e t e s . i o / m a s q - a g e n t - d s - r e a d y = t r u e   M o r e   i n f o r m a t i o n   c a n   b e   f o u n d   i n   t h e   i p - m a s q - a g e n t   d o c u m e n t a t i o n   h e r e .   I n   m o s t   c a s e s ,   t h e   d e f a u l t   s e t   o f   r u l e s   s h o u l d   b e   s u f f i c i e n t ;   h o w e v e r ,   i f   t h i s   i s   n o t   t h e   c a s e   f o r   y o u r   c l u s t e r ,   y o u   c a n   c r e a t e   a n d   a p p l y   a   C o n f i g M a p   t o   c u s t o m i z e   t h e   I P   r a n g e s   t h a t   a r e   a f f e c t e d .   F o r   e x a m p l e ,   t o   a l l o w   o n l y   1 0 . 0 . 0 . 0 / 8   t o   b e   c o n s i d e r e d   b y   t h e   i p - m a s q - a g e n t ,   y o u   c a n   c r e a t e   t h e   f o l l o w i n g   C o n f i g M a p   i n   a   f i l e   c a l l e d   \" c o n f i g \" .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/ip-masq-agent/",
    "id": "k8s_00342_section_2_6609"
  },
  {
    "question": "What is Note:?",
    "answer": "I t   i s   i m p o r t a n t   t h a t   t h e   f i l e   i s   c a l l e d   c o n f i g   s i n c e ,   b y   d e f a u l t ,   t h a t   w i l l   b e   u s e d   a s   t h e   k e y   f o r   l o o k u p   b y   t h e   i p - m a s q - a g e n t :   n o n M a s q u e r a d e C I D R s :   -   1 0 . 0 . 0 . 0 / 8   r e s y n c I n t e r v a l :   6 0 s   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   a d d   t h e   c o n f i g m a p   t o   y o u r   c l u s t e r :   k u b e c t l   c r e a t e   c o n f i g m a p   i p - m a s q - a g e n t   - - f r o m - f i l e = c o n f i g   - - n a m e s p a c e = k u b e - s y s t e m   T h i s   w i l l   u p d a t e   a   f i l e   l o c a t e d   a t   / e t c / c o n f i g / i p - m a s q - a g e n t   w h i c h   i s   p e r i o d i c a l l y   c h e c k e d   e v e r y   r e s y n c I n t e r v a l   a n d   a p p l i e d   t o   t h e   c l u s t e r   n o d e .   A f t e r   t h e   r e s y n c   i n t e r v a l   h a s   e x p i r e d ,   y o u   s h o u l d   s e e   t h e   i p t a b l e s   r u l e s   r e f l e c t   y o u r   c h a n g e s :   i p t a b l e s   - t   n a t   - L   I P - M A S Q - A G E N T   C h a i n   I P - M A S Q - A G E N T   ( 1   r e f e r e n c e s )   t a r g e t   p r o t   o p t   s o u r c e   d e s t i n a t i o n   R E T U R N   a l l   - -   a n y w h e r e   1 6 9 . 2 5 4 . 0 . 0 / 1 6   / *   i p - m a s q - a g e n t :   c l u s t e r - l o c a l   t r a f f i c   s h o u l d   n o t   b e   s u b j e c t   t o   M A S Q U E R A D E   * /   A D D R T Y P E   m a t c h   d s t - t y p e   ! L O C A L   R E T U R N   a l l   - -   a n y w h e r e   1 0 . 0 . 0 . 0 / 8   / *   i p - m a s q - a g e n t :   c l u s t e r - l o c a l   M A S Q U E R A D E   a l l   - -   a n y w h e r e   a n y w h e r e   / *   i p - m a s q - a g e n t :   o u t b o u n d   t r a f f i c   s h o u l d   b e   s u b j e c t   t o   M A S Q U E R A D E   ( t h i s   m a t c h   m ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/ip-masq-agent/",
    "id": "k8s_00342_section_4_6610"
  },
  {
    "question": "What is ValidatingAdmissionPolicy?",
    "answer": "ValidatingAdmissionPolicyValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.apiVersion: admissionregistration.k8s.io/v1import \"k8s.io/api/admissionregistration/v1\"ValidatingAdmissionPolicyValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.apiVersion: admissionregistration.k8s.io/v1kind: ValidatingAdmissionPolicymetadata (ObjectMeta)Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.spec (ValidatingAdmissionPolicySpec)Specification of the desired behavior of the ValidatingAdmissionPolicy.ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.spec.auditAnnotations ([]AuditAnnotation)Atomic: will be replaced during a mergeauditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.AuditAnnotation describes how to produce an audit annotation for an API request.spec.auditAnnotations.key (string), requiredkey specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: \"{ValidatingAdmissionPolicy name}/{key}\".If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.Required.spec.auditAnnotations.valueExpression (string), requiredvalueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.If multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.Required.spec.failurePolicy (string)failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-confi",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_qa_6611"
  },
  {
    "question": "How does ValidatingAdmissionPolicy work?",
    "answer": "ValidatingAdmissionPolicyValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.apiVersion: admissionregistration.k8s.io/v1import \"k8s.io/api/admissionregistration/v1\"ValidatingAdmissionPolicyValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.apiVersion: admissionregistration.k8s.io/v1kind: ValidatingAdmissionPolicymetadata (ObjectMeta)Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.spec (ValidatingAdmissionPolicySpec)Specification of the desired behavior of the ValidatingAdmissionPolicy.ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.spec.auditAnnotations ([]AuditAnnotation)Atomic: will be replaced during a mergeauditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.AuditAnnotation describes how to produce an audit annotation for an API request.spec.auditAnnotations.key (string), requiredkey specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: \"{ValidatingAdmissionPolicy name}/{key}\".If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.Required.spec.auditAnnotations.valueExpression (string), requiredvalueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.If multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.Required.spec.failurePolicy (string)failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-confi",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_qa_6612"
  },
  {
    "question": "When would you use ValidatingAdmissionPolicy?",
    "answer": "ValidatingAdmissionPolicyValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.apiVersion: admissionregistration.k8s.io/v1import \"k8s.io/api/admissionregistration/v1\"ValidatingAdmissionPolicyValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.apiVersion: admissionregistration.k8s.io/v1kind: ValidatingAdmissionPolicymetadata (ObjectMeta)Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.spec (ValidatingAdmissionPolicySpec)Specification of the desired behavior of the ValidatingAdmissionPolicy.ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.spec.auditAnnotations ([]AuditAnnotation)Atomic: will be replaced during a mergeauditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.AuditAnnotation describes how to produce an audit annotation for an API request.spec.auditAnnotations.key (string), requiredkey specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: \"{ValidatingAdmissionPolicy name}/{key}\".If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.Required.spec.auditAnnotations.valueExpression (string), requiredvalueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.If multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.Required.spec.failurePolicy (string)failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-confi",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_qa_6613"
  },
  {
    "question": "What are the benefits of ValidatingAdmissionPolicy?",
    "answer": "ValidatingAdmissionPolicyValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.apiVersion: admissionregistration.k8s.io/v1import \"k8s.io/api/admissionregistration/v1\"ValidatingAdmissionPolicyValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.apiVersion: admissionregistration.k8s.io/v1kind: ValidatingAdmissionPolicymetadata (ObjectMeta)Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.spec (ValidatingAdmissionPolicySpec)Specification of the desired behavior of the ValidatingAdmissionPolicy.ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.spec.auditAnnotations ([]AuditAnnotation)Atomic: will be replaced during a mergeauditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.AuditAnnotation describes how to produce an audit annotation for an API request.spec.auditAnnotations.key (string), requiredkey specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: \"{ValidatingAdmissionPolicy name}/{key}\".If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.Required.spec.auditAnnotations.valueExpression (string), requiredvalueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.If multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.Required.spec.failurePolicy (string)failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-confi",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_qa_6614"
  },
  {
    "question": "What is ValidatingAdmissionPolicy?",
    "answer": "a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a d m i s s i o n r e g i s t r a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_1_6615"
  },
  {
    "question": "What is ValidatingAdmissionPolicy?",
    "answer": "V a l i d a t i n g A d m i s s i o n P o l i c y   d e s c r i b e s   t h e   d e f i n i t i o n   o f   a n   a d m i s s i o n   v a l i d a t i o n   p o l i c y   t h a t   a c c e p t s   o r   r e j e c t s   a n   o b j e c t   w i t h o u t   c h a n g i n g   i t .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a . s p e c   ( V a l i d a t i n g A d m i s s i o n P o l i c y S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y . V a l i d a t i n g A d m i s s i o n P o l i c y S p e c   i s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   A d m i s s i o n P o l i c y . s p e c . a u d i t A n n o t a t i o n s   ( [ ] A u d i t A n n o t a t i o n ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e a u d i t A n n o t a t i o n s   c o n t a i n s   C E L   e x p r e s s i o n s   w h i c h   a r e   u s e d   t o   p r o d u c e   a u d i t   a n n o t a t i o n s   f o r   t h e   a u d i t   e v e n t   o f   t h e   A P I   r e q u e s t .   v a l i d a t i o n s   a n d   a u d i t A n n o t a t i o n s   m a y   n o t   b o t h   b e   e m p t y ;   a   l e a s t   o n e   o f   v a l i d a t i o n s   o r   a u d i t A n n o t a t i o n s   i s   r e q u i r e d . A u d i t A n n o t a t i o n   d e s c r i b e s   h o w   t o   p r o d u c e   a n   a u d i t   a n n o t a t i o n   f o r   a n   A P I   r e q u e s t . s p e c . a u d i t A n n o t a t i o n s . k e y   ( s t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_2_6616"
  },
  {
    "question": "What is ValidatingAdmissionPolicyList?",
    "answer": "V a l i d a t i n g A d m i s s i o n P o l i c y L i s t   i s   a   l i s t   o f   V a l i d a t i n g A d m i s s i o n P o l i c y .   i t e m s   ( [ ] V a l i d a t i n g A d m i s s i o n P o l i c y ) ,   r e q u i r e d L i s t   o f   V a l i d a t i n g A d m i s s i o n P o l i c y . a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] V a l i d a t i n g A d m i s s i o n P o l i c y ) ,   r e q u i r e d   L i s t   o f   V a l i d a t i n g A d m i s s i o n P o l i c y .   a p i V e r s i o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_2_6617"
  },
  {
    "question": "What is ValidatingAdmissionPolicyBinding?",
    "answer": "V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   b i n d s   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   w i t h   p a r a m e r i z e d   r e s o u r c e s .   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   a n d   p a r a m e t e r   C R D s   t o g e t h e r   d e f i n e   h o w   c l u s t e r   a d m i n i s t r a t o r s   c o n f i g u r e   p o l i c i e s   f o r   c l u s t e r s .   F o r   a   g i v e n   a d m i s s i o n   r e q u e s t ,   e a c h   b i n d i n g   w i l l   c a u s e   i t s   p o l i c y   t o   b e   e v a l u a t e d   N   t i m e s ,   w h e r e   N   i s   1   f o r   p o l i c i e s / b i n d i n g s   t h a t   d o n ' t   u s e   p a r a m s ,   o t h e r w i s e   N   i s   t h e   n u m b e r   o f   p a r a m e t e r s   s e l e c t e d   b y   t h e   b i n d i n g .   T h e   C E L   e x p r e s s i o n s   o f   a   p o l i c y   m u s t   h a v e   a   c o m p u t e d   C E L   c o s t   b e l o w   t h e   m a x i m u m   C E L   b u d g e t .   E a c h   e v a l u a t i o n   o f   t h e   p o l i c y   i s   g i v e n   a n   i n d e p e n d e n t   C E L   c o s t   b u d g e t .   A d d i n g / r e m o v i n g   p o l i c i e s ,   b i n d i n g s ,   o r   p a r a m s   c a n   n o t   a f f e c t   w h e t h e r   a   g i v e n   ( p o l i c y ,   b i n d i n g ,   p a r a m )   c o m b i n a t i o n   i s   w i t h i n   i t s   o w n   C E L   b u d g e t .   a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_2_6618"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6619"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6620"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6621"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6622"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6623"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6624"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6625"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6626"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6627"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6628"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6629"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   O K   2 0 1   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   C r e a t e d   2 0 2   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6630"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6631"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6632"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   O K   2 0 1   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6633"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6634"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6635"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   O K   2 0 1   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6636"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6637"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6638"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   O K   2 0 1   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6639"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6640"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6641"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   O K   2 0 1   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6642"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6643"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6644"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6645"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6646"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6647"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/validating-admission-policy-v1/",
    "id": "k8s_00343_section_4_6648"
  },
  {
    "question": "What is kubectl?",
    "answer": "kubectlSynopsiskubectl controls the Kubernetes cluster manager.Find more information in Command line tool (kubectl).kubectl [flags] Options--add-dir-headerIf true, adds the file directory to the header of the log messages--alsologtostderrlog to standard error as well as files--as stringUsername to impersonate for the operation--as-group stringArrayGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--azure-container-registry-config stringPath to the file containing Azure container registry configuration information.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cloud-provider-gce-l7lb-src-cidrs cidrs Default: 130.211.0.0/22,35.191.0.0/16CIDRs opened in GCE firewall for L7 LB traffic proxy & health checks--cloud-provider-gce-lb-src-cidrs cidrs Default: 130.211.0.0/22,209.85.152.0/22,209.85.204.0/22,35.191.0.0/16CIDRs opened in GCE firewall for L4 LB traffic proxy & health checks--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--default-not-ready-toleration-seconds int Default: 300Indicates the tolerationSeconds of the toleration for notReady:NoExecute that is added by default to every pod that does not already have such a toleration.--default-unreachable-toleration-seconds int Default: 300Indicates the tolerationSeconds of the toleration for unreachable:NoExecute that is added by default to every pod that does not already have such a toleration.-h, --helphelp for kubectl--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--log-backtrace-at traceLocation Default: :0when logging hits line file:N, emit a stack trace--log-dir stringIf non-empty, write log files in this directory--log-file stringIf non-empty, use this log file--log-file-max-size uint Default: 1800Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited.--log-flush-frequency duration Default: 5sMaximum number of seconds between log flushes--logtostderr Default: truelog to standard error instead of files--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--one-outputIf true, only write logs to their native severity level (vs also writing to each lower severity level)--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout stri",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl/",
    "id": "k8s_00344_qa_6649"
  },
  {
    "question": "How does kubectl work?",
    "answer": "kubectlSynopsiskubectl controls the Kubernetes cluster manager.Find more information in Command line tool (kubectl).kubectl [flags] Options--add-dir-headerIf true, adds the file directory to the header of the log messages--alsologtostderrlog to standard error as well as files--as stringUsername to impersonate for the operation--as-group stringArrayGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--azure-container-registry-config stringPath to the file containing Azure container registry configuration information.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cloud-provider-gce-l7lb-src-cidrs cidrs Default: 130.211.0.0/22,35.191.0.0/16CIDRs opened in GCE firewall for L7 LB traffic proxy & health checks--cloud-provider-gce-lb-src-cidrs cidrs Default: 130.211.0.0/22,209.85.152.0/22,209.85.204.0/22,35.191.0.0/16CIDRs opened in GCE firewall for L4 LB traffic proxy & health checks--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--default-not-ready-toleration-seconds int Default: 300Indicates the tolerationSeconds of the toleration for notReady:NoExecute that is added by default to every pod that does not already have such a toleration.--default-unreachable-toleration-seconds int Default: 300Indicates the tolerationSeconds of the toleration for unreachable:NoExecute that is added by default to every pod that does not already have such a toleration.-h, --helphelp for kubectl--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--log-backtrace-at traceLocation Default: :0when logging hits line file:N, emit a stack trace--log-dir stringIf non-empty, write log files in this directory--log-file stringIf non-empty, use this log file--log-file-max-size uint Default: 1800Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited.--log-flush-frequency duration Default: 5sMaximum number of seconds between log flushes--logtostderr Default: truelog to standard error instead of files--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--one-outputIf true, only write logs to their native severity level (vs also writing to each lower severity level)--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout stri",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl/",
    "id": "k8s_00344_qa_6650"
  },
  {
    "question": "When would you use kubectl?",
    "answer": "kubectlSynopsiskubectl controls the Kubernetes cluster manager.Find more information in Command line tool (kubectl).kubectl [flags] Options--add-dir-headerIf true, adds the file directory to the header of the log messages--alsologtostderrlog to standard error as well as files--as stringUsername to impersonate for the operation--as-group stringArrayGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--azure-container-registry-config stringPath to the file containing Azure container registry configuration information.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cloud-provider-gce-l7lb-src-cidrs cidrs Default: 130.211.0.0/22,35.191.0.0/16CIDRs opened in GCE firewall for L7 LB traffic proxy & health checks--cloud-provider-gce-lb-src-cidrs cidrs Default: 130.211.0.0/22,209.85.152.0/22,209.85.204.0/22,35.191.0.0/16CIDRs opened in GCE firewall for L4 LB traffic proxy & health checks--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--default-not-ready-toleration-seconds int Default: 300Indicates the tolerationSeconds of the toleration for notReady:NoExecute that is added by default to every pod that does not already have such a toleration.--default-unreachable-toleration-seconds int Default: 300Indicates the tolerationSeconds of the toleration for unreachable:NoExecute that is added by default to every pod that does not already have such a toleration.-h, --helphelp for kubectl--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--log-backtrace-at traceLocation Default: :0when logging hits line file:N, emit a stack trace--log-dir stringIf non-empty, write log files in this directory--log-file stringIf non-empty, use this log file--log-file-max-size uint Default: 1800Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited.--log-flush-frequency duration Default: 5sMaximum number of seconds between log flushes--logtostderr Default: truelog to standard error instead of files--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--one-outputIf true, only write logs to their native severity level (vs also writing to each lower severity level)--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout stri",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl/",
    "id": "k8s_00344_qa_6651"
  },
  {
    "question": "What are the benefits of kubectl?",
    "answer": "kubectlSynopsiskubectl controls the Kubernetes cluster manager.Find more information in Command line tool (kubectl).kubectl [flags] Options--add-dir-headerIf true, adds the file directory to the header of the log messages--alsologtostderrlog to standard error as well as files--as stringUsername to impersonate for the operation--as-group stringArrayGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--azure-container-registry-config stringPath to the file containing Azure container registry configuration information.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cloud-provider-gce-l7lb-src-cidrs cidrs Default: 130.211.0.0/22,35.191.0.0/16CIDRs opened in GCE firewall for L7 LB traffic proxy & health checks--cloud-provider-gce-lb-src-cidrs cidrs Default: 130.211.0.0/22,209.85.152.0/22,209.85.204.0/22,35.191.0.0/16CIDRs opened in GCE firewall for L4 LB traffic proxy & health checks--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--default-not-ready-toleration-seconds int Default: 300Indicates the tolerationSeconds of the toleration for notReady:NoExecute that is added by default to every pod that does not already have such a toleration.--default-unreachable-toleration-seconds int Default: 300Indicates the tolerationSeconds of the toleration for unreachable:NoExecute that is added by default to every pod that does not already have such a toleration.-h, --helphelp for kubectl--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--log-backtrace-at traceLocation Default: :0when logging hits line file:N, emit a stack trace--log-dir stringIf non-empty, write log files in this directory--log-file stringIf non-empty, use this log file--log-file-max-size uint Default: 1800Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited.--log-flush-frequency duration Default: 5sMaximum number of seconds between log flushes--logtostderr Default: truelog to standard error instead of files--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--one-outputIf true, only write logs to their native severity level (vs also writing to each lower severity level)--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout stri",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl/",
    "id": "k8s_00344_qa_6652"
  },
  {
    "question": "What is Synopsis?",
    "answer": "k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r .   F i n d   m o r e   i n f o r m a t i o n   i n   C o m m a n d   l i n e   t o o l   ( k u b e c t l ) .   k u b e c t l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl/",
    "id": "k8s_00344_section_2_6653"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   a n n o t a t e   -   U p d a t e   t h e   a n n o t a t i o n s   o n   a   r e s o u r c e k u b e c t l   a p i - r e s o u r c e s   -   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   o n   t h e   s e r v e r k u b e c t l   a p i - v e r s i o n s   -   P r i n t   t h e   s u p p o r t e d   A P I   v e r s i o n s   o n   t h e   s e r v e r ,   i n   t h e   f o r m   o f   \" g r o u p / v e r s i o n \" k u b e c t l   a p p l y   -   A p p l y   a   c o n f i g u r a t i o n   t o   a   r e s o u r c e   b y   f i l e n a m e   o r   s t d i n k u b e c t l   a t t a c h   -   A t t a c h   t o   a   r u n n i n g   c o n t a i n e r k u b e c t l   a u t h   -   I n s p e c t   a u t h o r i z a t i o n k u b e c t l   a u t o s c a l e   -   A u t o - s c a l e   a   D e p l o y m e n t ,   R e p l i c a S e t ,   o r   R e p l i c a t i o n C o n t r o l l e r k u b e c t l   c e r t i f i c a t e   -   M o d i f y   c e r t i f i c a t e   r e s o u r c e s . k u b e c t l   c l u s t e r - i n f o   -   D i s p l a y   c l u s t e r   i n f o k u b e c t l   c o m p l e t i o n   -   O u t p u t   s h e l l   c o m p l e t i o n   c o d e   f o r   t h e   s p e c i f i e d   s h e l l   ( b a s h   o r   z s h ) k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s k u b e c t l   c o r d o n   -   M a r k   n o d e   a s   u n s c h e d u l a b l e k u b e c t l   c p   -   C o p y   f i l e s   a n d   d i r e c t o r i e s   t o   a n d   f r o m   c o n t a i n e r s . k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n . k u b e c t l   d e b u g   -   C r e a t e   d e b u g g i n g   s e s s i o n s   f o r   t r o u b l e s h o o t i n g   w o r k l o a d s   a n d   n o d e s k u b e c t l   d e l e t e   -   D e l e t e   r e s o u r c e s   b y   f i l e n a m e s ,   s t d i n ,   r e s o u r c e s   a n d   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl/",
    "id": "k8s_00344_section_2_6654"
  },
  {
    "question": "What is Enforce Pod Security Standards with Namespace Labels?",
    "answer": "Enforce Pod Security Standards with Namespace LabelsNamespaces can be labeled to enforce the Pod Security Standards. The three policies privileged, baseline and restricted broadly cover the security spectrum and are implemented by the Pod Security admission controller.Before you beginPod Security Admission was available by default in Kubernetes v1.23, as a beta. From version 1.25 onwards, Pod Security Admission is generally available.To check the version, enter kubectl version.Requiring the baseline Pod Security Standard with namespace labelsThis manifest defines a Namespace my-baseline-namespace that:Blocks any pods that don't satisfy the baseline policy requirements.Generates a user-facing warning and adds an audit annotation to any created pod that does not meet the restricted policy requirements.Pins the versions of the baseline and restricted policies to v1.34.apiVersion: v1 kind: Namespace metadata: name: my-baseline-namespace labels: pod-security.kubernetes.io/enforce: baseline pod-security.kubernetes.io/enforce-version: v1.34 # We are setting these to our _desired_ `enforce` level. pod-security.kubernetes.io/audit: restricted pod-security.kubernetes.io/audit-version: v1.34 pod-security.kubernetes.io/warn: restricted pod-security.kubernetes.io/warn-version: v1.34 Add labels to existing namespaces with kubectl labelNote:When an enforce policy (or version) label is added or changed, the admission plugin will test each pod in the namespace against the new policy. Violations are returned to the user as warnings.It is helpful to apply the --dry-run flag when initially evaluating security profile changes for namespaces. The Pod Security Standard checks will still be run in dry run mode, giving you information about how the new policy would treat existing pods, without actually updating a policy.kubectl label --dry-run=server --overwrite ns --all \\ pod-security.kubernetes.io/enforce=baseline Applying to all namespacesIf you're just getting started with the Pod Security Standards, a suitable first step would be to configure all namespaces with audit annotations for a stricter level such as baseline:kubectl label --overwrite ns --all \\ pod-security.kubernetes.io/audit=baseline \\ pod-security.kubernetes.io/warn=baseline Note that this is not setting an enforce level, so that namespaces that haven't been explicitly evaluated can be distinguished. You can list namespaces without an explicitly set enforce level using this command:kubectl get namespaces --selector='!pod-security.kubernetes.io/enforce' Applying to a single namespaceYou can update a specific namespace as well. This command adds the enforce=restricted policy to my-existing-namespace, pinning the restricted policy version to v1.34.kubectl label --overwrite ns my-existing-namespace \\ pod-security.kubernetes.io/enforce=restricted \\ pod-security.kubernetes.io/enforce-version=v1.34",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/enforce-standards-namespace-labels/",
    "id": "k8s_00345_qa_6655"
  },
  {
    "question": "How does Enforce Pod Security Standards with Namespace Labels work?",
    "answer": "Enforce Pod Security Standards with Namespace LabelsNamespaces can be labeled to enforce the Pod Security Standards. The three policies privileged, baseline and restricted broadly cover the security spectrum and are implemented by the Pod Security admission controller.Before you beginPod Security Admission was available by default in Kubernetes v1.23, as a beta. From version 1.25 onwards, Pod Security Admission is generally available.To check the version, enter kubectl version.Requiring the baseline Pod Security Standard with namespace labelsThis manifest defines a Namespace my-baseline-namespace that:Blocks any pods that don't satisfy the baseline policy requirements.Generates a user-facing warning and adds an audit annotation to any created pod that does not meet the restricted policy requirements.Pins the versions of the baseline and restricted policies to v1.34.apiVersion: v1 kind: Namespace metadata: name: my-baseline-namespace labels: pod-security.kubernetes.io/enforce: baseline pod-security.kubernetes.io/enforce-version: v1.34 # We are setting these to our _desired_ `enforce` level. pod-security.kubernetes.io/audit: restricted pod-security.kubernetes.io/audit-version: v1.34 pod-security.kubernetes.io/warn: restricted pod-security.kubernetes.io/warn-version: v1.34 Add labels to existing namespaces with kubectl labelNote:When an enforce policy (or version) label is added or changed, the admission plugin will test each pod in the namespace against the new policy. Violations are returned to the user as warnings.It is helpful to apply the --dry-run flag when initially evaluating security profile changes for namespaces. The Pod Security Standard checks will still be run in dry run mode, giving you information about how the new policy would treat existing pods, without actually updating a policy.kubectl label --dry-run=server --overwrite ns --all \\ pod-security.kubernetes.io/enforce=baseline Applying to all namespacesIf you're just getting started with the Pod Security Standards, a suitable first step would be to configure all namespaces with audit annotations for a stricter level such as baseline:kubectl label --overwrite ns --all \\ pod-security.kubernetes.io/audit=baseline \\ pod-security.kubernetes.io/warn=baseline Note that this is not setting an enforce level, so that namespaces that haven't been explicitly evaluated can be distinguished. You can list namespaces without an explicitly set enforce level using this command:kubectl get namespaces --selector='!pod-security.kubernetes.io/enforce' Applying to a single namespaceYou can update a specific namespace as well. This command adds the enforce=restricted policy to my-existing-namespace, pinning the restricted policy version to v1.34.kubectl label --overwrite ns my-existing-namespace \\ pod-security.kubernetes.io/enforce=restricted \\ pod-security.kubernetes.io/enforce-version=v1.34",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/enforce-standards-namespace-labels/",
    "id": "k8s_00345_qa_6656"
  },
  {
    "question": "When would you use Enforce Pod Security Standards with Namespace Labels?",
    "answer": "Enforce Pod Security Standards with Namespace LabelsNamespaces can be labeled to enforce the Pod Security Standards. The three policies privileged, baseline and restricted broadly cover the security spectrum and are implemented by the Pod Security admission controller.Before you beginPod Security Admission was available by default in Kubernetes v1.23, as a beta. From version 1.25 onwards, Pod Security Admission is generally available.To check the version, enter kubectl version.Requiring the baseline Pod Security Standard with namespace labelsThis manifest defines a Namespace my-baseline-namespace that:Blocks any pods that don't satisfy the baseline policy requirements.Generates a user-facing warning and adds an audit annotation to any created pod that does not meet the restricted policy requirements.Pins the versions of the baseline and restricted policies to v1.34.apiVersion: v1 kind: Namespace metadata: name: my-baseline-namespace labels: pod-security.kubernetes.io/enforce: baseline pod-security.kubernetes.io/enforce-version: v1.34 # We are setting these to our _desired_ `enforce` level. pod-security.kubernetes.io/audit: restricted pod-security.kubernetes.io/audit-version: v1.34 pod-security.kubernetes.io/warn: restricted pod-security.kubernetes.io/warn-version: v1.34 Add labels to existing namespaces with kubectl labelNote:When an enforce policy (or version) label is added or changed, the admission plugin will test each pod in the namespace against the new policy. Violations are returned to the user as warnings.It is helpful to apply the --dry-run flag when initially evaluating security profile changes for namespaces. The Pod Security Standard checks will still be run in dry run mode, giving you information about how the new policy would treat existing pods, without actually updating a policy.kubectl label --dry-run=server --overwrite ns --all \\ pod-security.kubernetes.io/enforce=baseline Applying to all namespacesIf you're just getting started with the Pod Security Standards, a suitable first step would be to configure all namespaces with audit annotations for a stricter level such as baseline:kubectl label --overwrite ns --all \\ pod-security.kubernetes.io/audit=baseline \\ pod-security.kubernetes.io/warn=baseline Note that this is not setting an enforce level, so that namespaces that haven't been explicitly evaluated can be distinguished. You can list namespaces without an explicitly set enforce level using this command:kubectl get namespaces --selector='!pod-security.kubernetes.io/enforce' Applying to a single namespaceYou can update a specific namespace as well. This command adds the enforce=restricted policy to my-existing-namespace, pinning the restricted policy version to v1.34.kubectl label --overwrite ns my-existing-namespace \\ pod-security.kubernetes.io/enforce=restricted \\ pod-security.kubernetes.io/enforce-version=v1.34",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/enforce-standards-namespace-labels/",
    "id": "k8s_00345_qa_6657"
  },
  {
    "question": "What are the benefits of Enforce Pod Security Standards with Namespace Labels?",
    "answer": "Enforce Pod Security Standards with Namespace LabelsNamespaces can be labeled to enforce the Pod Security Standards. The three policies privileged, baseline and restricted broadly cover the security spectrum and are implemented by the Pod Security admission controller.Before you beginPod Security Admission was available by default in Kubernetes v1.23, as a beta. From version 1.25 onwards, Pod Security Admission is generally available.To check the version, enter kubectl version.Requiring the baseline Pod Security Standard with namespace labelsThis manifest defines a Namespace my-baseline-namespace that:Blocks any pods that don't satisfy the baseline policy requirements.Generates a user-facing warning and adds an audit annotation to any created pod that does not meet the restricted policy requirements.Pins the versions of the baseline and restricted policies to v1.34.apiVersion: v1 kind: Namespace metadata: name: my-baseline-namespace labels: pod-security.kubernetes.io/enforce: baseline pod-security.kubernetes.io/enforce-version: v1.34 # We are setting these to our _desired_ `enforce` level. pod-security.kubernetes.io/audit: restricted pod-security.kubernetes.io/audit-version: v1.34 pod-security.kubernetes.io/warn: restricted pod-security.kubernetes.io/warn-version: v1.34 Add labels to existing namespaces with kubectl labelNote:When an enforce policy (or version) label is added or changed, the admission plugin will test each pod in the namespace against the new policy. Violations are returned to the user as warnings.It is helpful to apply the --dry-run flag when initially evaluating security profile changes for namespaces. The Pod Security Standard checks will still be run in dry run mode, giving you information about how the new policy would treat existing pods, without actually updating a policy.kubectl label --dry-run=server --overwrite ns --all \\ pod-security.kubernetes.io/enforce=baseline Applying to all namespacesIf you're just getting started with the Pod Security Standards, a suitable first step would be to configure all namespaces with audit annotations for a stricter level such as baseline:kubectl label --overwrite ns --all \\ pod-security.kubernetes.io/audit=baseline \\ pod-security.kubernetes.io/warn=baseline Note that this is not setting an enforce level, so that namespaces that haven't been explicitly evaluated can be distinguished. You can list namespaces without an explicitly set enforce level using this command:kubectl get namespaces --selector='!pod-security.kubernetes.io/enforce' Applying to a single namespaceYou can update a specific namespace as well. This command adds the enforce=restricted policy to my-existing-namespace, pinning the restricted policy version to v1.34.kubectl label --overwrite ns my-existing-namespace \\ pod-security.kubernetes.io/enforce=restricted \\ pod-security.kubernetes.io/enforce-version=v1.34",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/enforce-standards-namespace-labels/",
    "id": "k8s_00345_qa_6658"
  },
  {
    "question": "What is Enforce Pod Security Standards with Namespace Labels?",
    "answer": "N a m e s p a c e s   c a n   b e   l a b e l e d   t o   e n f o r c e   t h e   P o d   S e c u r i t y   S t a n d a r d s .   T h e   t h r e e   p o l i c i e s   p r i v i l e g e d ,   b a s e l i n e   a n d   r e s t r i c t e d   b r o a d l y   c o v e r   t h e   s e c u r i t y   s p e c t r u m   a n d   a r e   i m p l e m e n t e d   b y   t h e   P o d   S e c u r i t y   a d m i s s i o n   c o n t r o l l e r .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/enforce-standards-namespace-labels/",
    "id": "k8s_00345_section_1_6659"
  },
  {
    "question": "What is Before you begin?",
    "answer": "P o d   S e c u r i t y   A d m i s s i o n   w a s   a v a i l a b l e   b y   d e f a u l t   i n   K u b e r n e t e s   v 1 . 2 3 ,   a s   a   b e t a .   F r o m   v e r s i o n   1 . 2 5   o n w a r d s ,   P o d   S e c u r i t y   A d m i s s i o n   i s   g e n e r a l l y   a v a i l a b l e .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/enforce-standards-namespace-labels/",
    "id": "k8s_00345_section_2_6660"
  },
  {
    "question": "What is Requiring the baseline Pod Security Standard with namespace labels?",
    "answer": "T h i s   m a n i f e s t   d e f i n e s   a   N a m e s p a c e   m y - b a s e l i n e - n a m e s p a c e   t h a t :   B l o c k s   a n y   p o d s   t h a t   d o n ' t   s a t i s f y   t h e   b a s e l i n e   p o l i c y   r e q u i r e m e n t s . G e n e r a t e s   a   u s e r - f a c i n g   w a r n i n g   a n d   a d d s   a n   a u d i t   a n n o t a t i o n   t o   a n y   c r e a t e d   p o d   t h a t   d o e s   n o t   m e e t   t h e   r e s t r i c t e d   p o l i c y   r e q u i r e m e n t s . P i n s   t h e   v e r s i o n s   o f   t h e   b a s e l i n e   a n d   r e s t r i c t e d   p o l i c i e s   t o   v 1 . 3 4 .   a p i V e r s i o n :   v 1   k i n d :   N a m e s p a c e   m e t a d a t a :   n a m e :   m y - b a s e l i n e - n a m e s p a c e   l a b e l s :   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e :   b a s e l i n e   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e - v e r s i o n :   v 1 . 3 4   #   W e   a r e   s e t t i n g   t h e s e   t o   o u r   _ d e s i r e d _   ` e n f o r c e `   l e v e l .   p o d - s e c u r i t y . k u b e r n e t e s . i o / a u d i t :   r e s t r i c t e d   p o d - s e c u r i t y . k u b e r n e t e s . i o / a u d i t - v e r s i o n :   v 1 . 3 4   p o d - s e c u r i t y . k u b e r n e t e s . i o / w a r n :   r e s t r i c t e d   p o d - s e c u r i t y . k u b e r n e t e s . i o / w a r n - v e r s i o n :   v 1 . 3 4",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/enforce-standards-namespace-labels/",
    "id": "k8s_00345_section_2_6661"
  },
  {
    "question": "What is Note:?",
    "answer": "I t   i s   h e l p f u l   t o   a p p l y   t h e   - - d r y - r u n   f l a g   w h e n   i n i t i a l l y   e v a l u a t i n g   s e c u r i t y   p r o f i l e   c h a n g e s   f o r   n a m e s p a c e s .   T h e   P o d   S e c u r i t y   S t a n d a r d   c h e c k s   w i l l   s t i l l   b e   r u n   i n   d r y   r u n   m o d e ,   g i v i n g   y o u   i n f o r m a t i o n   a b o u t   h o w   t h e   n e w   p o l i c y   w o u l d   t r e a t   e x i s t i n g   p o d s ,   w i t h o u t   a c t u a l l y   u p d a t i n g   a   p o l i c y .   k u b e c t l   l a b e l   - - d r y - r u n = s e r v e r   - - o v e r w r i t e   n s   - - a l l   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e = b a s e l i n e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/enforce-standards-namespace-labels/",
    "id": "k8s_00345_section_4_6662"
  },
  {
    "question": "What is Applying to all namespaces?",
    "answer": "I f   y o u ' r e   j u s t   g e t t i n g   s t a r t e d   w i t h   t h e   P o d   S e c u r i t y   S t a n d a r d s ,   a   s u i t a b l e   f i r s t   s t e p   w o u l d   b e   t o   c o n f i g u r e   a l l   n a m e s p a c e s   w i t h   a u d i t   a n n o t a t i o n s   f o r   a   s t r i c t e r   l e v e l   s u c h   a s   b a s e l i n e :   k u b e c t l   l a b e l   - - o v e r w r i t e   n s   - - a l l   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / a u d i t = b a s e l i n e   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / w a r n = b a s e l i n e   N o t e   t h a t   t h i s   i s   n o t   s e t t i n g   a n   e n f o r c e   l e v e l ,   s o   t h a t   n a m e s p a c e s   t h a t   h a v e n ' t   b e e n   e x p l i c i t l y   e v a l u a t e d   c a n   b e   d i s t i n g u i s h e d .   Y o u   c a n   l i s t   n a m e s p a c e s   w i t h o u t   a n   e x p l i c i t l y   s e t   e n f o r c e   l e v e l   u s i n g   t h i s   c o m m a n d :   k u b e c t l   g e t   n a m e s p a c e s   - - s e l e c t o r = ' ! p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e '",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/enforce-standards-namespace-labels/",
    "id": "k8s_00345_section_3_6663"
  },
  {
    "question": "What is Applying to a single namespace?",
    "answer": "Y o u   c a n   u p d a t e   a   s p e c i f i c   n a m e s p a c e   a s   w e l l .   T h i s   c o m m a n d   a d d s   t h e   e n f o r c e = r e s t r i c t e d   p o l i c y   t o   m y - e x i s t i n g - n a m e s p a c e ,   p i n n i n g   t h e   r e s t r i c t e d   p o l i c y   v e r s i o n   t o   v 1 . 3 4 .   k u b e c t l   l a b e l   - - o v e r w r i t e   n s   m y - e x i s t i n g - n a m e s p a c e   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e = r e s t r i c t e d   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e - v e r s i o n = v 1 . 3 4",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/enforce-standards-namespace-labels/",
    "id": "k8s_00345_section_3_6664"
  },
  {
    "question": "What is Process ID Limits And Reservations?",
    "answer": "Process ID Limits And ReservationsFEATURE STATE: Kubernetes v1.20 [stable]Kubernetes allow you to limit the number of process IDs (PIDs) that a Pod can use. You can also reserve a number of allocatable PIDs for each node for use by the operating system and daemons (rather than by Pods).Process IDs (PIDs) are a fundamental resource on nodes. It is trivial to hit the task limit without hitting any other resource limits, which can then cause instability to a host machine.Cluster administrators require mechanisms to ensure that Pods running in the cluster cannot induce PID exhaustion that prevents host daemons (such as the kubelet or kube-proxy, and potentially also the container runtime) from running. In addition, it is important to ensure that PIDs are limited among Pods in order to ensure they have limited impact on other workloads on the same node.Note:On certain Linux installations, the operating system sets the PIDs limit to a low default, such as 32768. Consider raising the value of /proc/sys/kernel/pid_max.You can configure a kubelet to limit the number of PIDs a given Pod can consume. For example, if your node's host OS is set to use a maximum of 262144 PIDs and expect to host less than 250 Pods, one can give each Pod a budget of 1000 PIDs to prevent using up that node's overall number of available PIDs. If the admin wants to overcommit PIDs similar to CPU or memory, they may do so as well with some additional risks. Either way, a single Pod will not be able to bring the whole machine down. This kind of resource limiting helps to prevent simple fork bombs from affecting operation of an entire cluster.Per-Pod PID limiting allows administrators to protect one Pod from another, but does not ensure that all Pods scheduled onto that host are unable to impact the node overall. Per-Pod limiting also does not protect the node agents themselves from PID exhaustion.You can also reserve an amount of PIDs for node overhead, separate from the allocation to Pods. This is similar to how you can reserve CPU, memory, or other resources for use by the operating system and other facilities outside of Pods and their containers.PID limiting is an important sibling to compute resource requests and limits. However, you specify it in a different way: rather than defining a Pod's resource limit in the .spec for a Pod, you configure the limit as a setting on the kubelet. Pod-defined PID limits are not currently supported.Caution:This means that the limit that applies to a Pod may be different depending on where the Pod is scheduled. To make things simple, it's easiest if all Nodes use the same PID resource limits and reservations.Node PID limitsKubernetes allows you to reserve a number of process IDs for the system use. To configure the reservation, use the parameter pid=<number> in the --system-reserved and --kube-reserved command line options to the kubelet. The value you specified declares that the specified number of process IDs will be reserved for the system as",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/pid-limiting/",
    "id": "k8s_00346_qa_6665"
  },
  {
    "question": "How does Process ID Limits And Reservations work?",
    "answer": "Process ID Limits And ReservationsFEATURE STATE: Kubernetes v1.20 [stable]Kubernetes allow you to limit the number of process IDs (PIDs) that a Pod can use. You can also reserve a number of allocatable PIDs for each node for use by the operating system and daemons (rather than by Pods).Process IDs (PIDs) are a fundamental resource on nodes. It is trivial to hit the task limit without hitting any other resource limits, which can then cause instability to a host machine.Cluster administrators require mechanisms to ensure that Pods running in the cluster cannot induce PID exhaustion that prevents host daemons (such as the kubelet or kube-proxy, and potentially also the container runtime) from running. In addition, it is important to ensure that PIDs are limited among Pods in order to ensure they have limited impact on other workloads on the same node.Note:On certain Linux installations, the operating system sets the PIDs limit to a low default, such as 32768. Consider raising the value of /proc/sys/kernel/pid_max.You can configure a kubelet to limit the number of PIDs a given Pod can consume. For example, if your node's host OS is set to use a maximum of 262144 PIDs and expect to host less than 250 Pods, one can give each Pod a budget of 1000 PIDs to prevent using up that node's overall number of available PIDs. If the admin wants to overcommit PIDs similar to CPU or memory, they may do so as well with some additional risks. Either way, a single Pod will not be able to bring the whole machine down. This kind of resource limiting helps to prevent simple fork bombs from affecting operation of an entire cluster.Per-Pod PID limiting allows administrators to protect one Pod from another, but does not ensure that all Pods scheduled onto that host are unable to impact the node overall. Per-Pod limiting also does not protect the node agents themselves from PID exhaustion.You can also reserve an amount of PIDs for node overhead, separate from the allocation to Pods. This is similar to how you can reserve CPU, memory, or other resources for use by the operating system and other facilities outside of Pods and their containers.PID limiting is an important sibling to compute resource requests and limits. However, you specify it in a different way: rather than defining a Pod's resource limit in the .spec for a Pod, you configure the limit as a setting on the kubelet. Pod-defined PID limits are not currently supported.Caution:This means that the limit that applies to a Pod may be different depending on where the Pod is scheduled. To make things simple, it's easiest if all Nodes use the same PID resource limits and reservations.Node PID limitsKubernetes allows you to reserve a number of process IDs for the system use. To configure the reservation, use the parameter pid=<number> in the --system-reserved and --kube-reserved command line options to the kubelet. The value you specified declares that the specified number of process IDs will be reserved for the system as",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/pid-limiting/",
    "id": "k8s_00346_qa_6666"
  },
  {
    "question": "When would you use Process ID Limits And Reservations?",
    "answer": "Process ID Limits And ReservationsFEATURE STATE: Kubernetes v1.20 [stable]Kubernetes allow you to limit the number of process IDs (PIDs) that a Pod can use. You can also reserve a number of allocatable PIDs for each node for use by the operating system and daemons (rather than by Pods).Process IDs (PIDs) are a fundamental resource on nodes. It is trivial to hit the task limit without hitting any other resource limits, which can then cause instability to a host machine.Cluster administrators require mechanisms to ensure that Pods running in the cluster cannot induce PID exhaustion that prevents host daemons (such as the kubelet or kube-proxy, and potentially also the container runtime) from running. In addition, it is important to ensure that PIDs are limited among Pods in order to ensure they have limited impact on other workloads on the same node.Note:On certain Linux installations, the operating system sets the PIDs limit to a low default, such as 32768. Consider raising the value of /proc/sys/kernel/pid_max.You can configure a kubelet to limit the number of PIDs a given Pod can consume. For example, if your node's host OS is set to use a maximum of 262144 PIDs and expect to host less than 250 Pods, one can give each Pod a budget of 1000 PIDs to prevent using up that node's overall number of available PIDs. If the admin wants to overcommit PIDs similar to CPU or memory, they may do so as well with some additional risks. Either way, a single Pod will not be able to bring the whole machine down. This kind of resource limiting helps to prevent simple fork bombs from affecting operation of an entire cluster.Per-Pod PID limiting allows administrators to protect one Pod from another, but does not ensure that all Pods scheduled onto that host are unable to impact the node overall. Per-Pod limiting also does not protect the node agents themselves from PID exhaustion.You can also reserve an amount of PIDs for node overhead, separate from the allocation to Pods. This is similar to how you can reserve CPU, memory, or other resources for use by the operating system and other facilities outside of Pods and their containers.PID limiting is an important sibling to compute resource requests and limits. However, you specify it in a different way: rather than defining a Pod's resource limit in the .spec for a Pod, you configure the limit as a setting on the kubelet. Pod-defined PID limits are not currently supported.Caution:This means that the limit that applies to a Pod may be different depending on where the Pod is scheduled. To make things simple, it's easiest if all Nodes use the same PID resource limits and reservations.Node PID limitsKubernetes allows you to reserve a number of process IDs for the system use. To configure the reservation, use the parameter pid=<number> in the --system-reserved and --kube-reserved command line options to the kubelet. The value you specified declares that the specified number of process IDs will be reserved for the system as",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/pid-limiting/",
    "id": "k8s_00346_qa_6667"
  },
  {
    "question": "What are the benefits of Process ID Limits And Reservations?",
    "answer": "Process ID Limits And ReservationsFEATURE STATE: Kubernetes v1.20 [stable]Kubernetes allow you to limit the number of process IDs (PIDs) that a Pod can use. You can also reserve a number of allocatable PIDs for each node for use by the operating system and daemons (rather than by Pods).Process IDs (PIDs) are a fundamental resource on nodes. It is trivial to hit the task limit without hitting any other resource limits, which can then cause instability to a host machine.Cluster administrators require mechanisms to ensure that Pods running in the cluster cannot induce PID exhaustion that prevents host daemons (such as the kubelet or kube-proxy, and potentially also the container runtime) from running. In addition, it is important to ensure that PIDs are limited among Pods in order to ensure they have limited impact on other workloads on the same node.Note:On certain Linux installations, the operating system sets the PIDs limit to a low default, such as 32768. Consider raising the value of /proc/sys/kernel/pid_max.You can configure a kubelet to limit the number of PIDs a given Pod can consume. For example, if your node's host OS is set to use a maximum of 262144 PIDs and expect to host less than 250 Pods, one can give each Pod a budget of 1000 PIDs to prevent using up that node's overall number of available PIDs. If the admin wants to overcommit PIDs similar to CPU or memory, they may do so as well with some additional risks. Either way, a single Pod will not be able to bring the whole machine down. This kind of resource limiting helps to prevent simple fork bombs from affecting operation of an entire cluster.Per-Pod PID limiting allows administrators to protect one Pod from another, but does not ensure that all Pods scheduled onto that host are unable to impact the node overall. Per-Pod limiting also does not protect the node agents themselves from PID exhaustion.You can also reserve an amount of PIDs for node overhead, separate from the allocation to Pods. This is similar to how you can reserve CPU, memory, or other resources for use by the operating system and other facilities outside of Pods and their containers.PID limiting is an important sibling to compute resource requests and limits. However, you specify it in a different way: rather than defining a Pod's resource limit in the .spec for a Pod, you configure the limit as a setting on the kubelet. Pod-defined PID limits are not currently supported.Caution:This means that the limit that applies to a Pod may be different depending on where the Pod is scheduled. To make things simple, it's easiest if all Nodes use the same PID resource limits and reservations.Node PID limitsKubernetes allows you to reserve a number of process IDs for the system use. To configure the reservation, use the parameter pid=<number> in the --system-reserved and --kube-reserved command line options to the kubelet. The value you specified declares that the specified number of process IDs will be reserved for the system as",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/pid-limiting/",
    "id": "k8s_00346_qa_6668"
  },
  {
    "question": "What is Process ID Limits And Reservations?",
    "answer": "K u b e r n e t e s   a l l o w   y o u   t o   l i m i t   t h e   n u m b e r   o f   p r o c e s s   I D s   ( P I D s )   t h a t   a   P o d   c a n   u s e .   Y o u   c a n   a l s o   r e s e r v e   a   n u m b e r   o f   a l l o c a t a b l e   P I D s   f o r   e a c h   n o d e   f o r   u s e   b y   t h e   o p e r a t i n g   s y s t e m   a n d   d a e m o n s   ( r a t h e r   t h a n   b y   P o d s ) .   P r o c e s s   I D s   ( P I D s )   a r e   a   f u n d a m e n t a l   r e s o u r c e   o n   n o d e s .   I t   i s   t r i v i a l   t o   h i t   t h e   t a s k   l i m i t   w i t h o u t   h i t t i n g   a n y   o t h e r   r e s o u r c e   l i m i t s ,   w h i c h   c a n   t h e n   c a u s e   i n s t a b i l i t y   t o   a   h o s t   m a c h i n e .   C l u s t e r   a d m i n i s t r a t o r s   r e q u i r e   m e c h a n i s m s   t o   e n s u r e   t h a t   P o d s   r u n n i n g   i n   t h e   c l u s t e r   c a n n o t   i n d u c e   P I D   e x h a u s t i o n   t h a t   p r e v e n t s   h o s t   d a e m o n s   ( s u c h   a s   t h e   k u b e l e t   o r   k u b e - p r o x y ,   a n d   p o t e n t i a l l y   a l s o   t h e   c o n t a i n e r   r u n t i m e )   f r o m   r u n n i n g .   I n   a d d i t i o n ,   i t   i s   i m p o r t a n t   t o   e n s u r e   t h a t   P I D s   a r e   l i m i t e d   a m o n g   P o d s   i n   o r d e r   t o   e n s u r e   t h e y   h a v e   l i m i t e d   i m p a c t   o n   o t h e r   w o r k l o a d s   o n   t h e   s a m e   n o d e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/pid-limiting/",
    "id": "k8s_00346_section_1_6669"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   c o n f i g u r e   a   k u b e l e t   t o   l i m i t   t h e   n u m b e r   o f   P I D s   a   g i v e n   P o d   c a n   c o n s u m e .   F o r   e x a m p l e ,   i f   y o u r   n o d e ' s   h o s t   O S   i s   s e t   t o   u s e   a   m a x i m u m   o f   2 6 2 1 4 4   P I D s   a n d   e x p e c t   t o   h o s t   l e s s   t h a n   2 5 0   P o d s ,   o n e   c a n   g i v e   e a c h   P o d   a   b u d g e t   o f   1 0 0 0   P I D s   t o   p r e v e n t   u s i n g   u p   t h a t   n o d e ' s   o v e r a l l   n u m b e r   o f   a v a i l a b l e   P I D s .   I f   t h e   a d m i n   w a n t s   t o   o v e r c o m m i t   P I D s   s i m i l a r   t o   C P U   o r   m e m o r y ,   t h e y   m a y   d o   s o   a s   w e l l   w i t h   s o m e   a d d i t i o n a l   r i s k s .   E i t h e r   w a y ,   a   s i n g l e   P o d   w i l l   n o t   b e   a b l e   t o   b r i n g   t h e   w h o l e   m a c h i n e   d o w n .   T h i s   k i n d   o f   r e s o u r c e   l i m i t i n g   h e l p s   t o   p r e v e n t   s i m p l e   f o r k   b o m b s   f r o m   a f f e c t i n g   o p e r a t i o n   o f   a n   e n t i r e   c l u s t e r .   P e r - P o d   P I D   l i m i t i n g   a l l o w s   a d m i n i s t r a t o r s   t o   p r o t e c t   o n e   P o d   f r o m   a n o t h e r ,   b u t   d o e s   n o t   e n s u r e   t h a t   a l l   P o d s   s c h e d u l e d   o n t o   t h a t   h o s t   a r e   u n a b l e   t o   i m p a c t   t h e   n o d e   o v e r a l l .   P e r - P o d   l i m i t i n g   a l s o   d o e s   n o t   p r o t e c t   t h e   n o d e   a g e n t s   t h e m s e l v e s   f r o m   P I D   e x h a u s t i o n .   Y o u   c a n   a l s o   r e s e r v e   a n   a m o u n t   o f   P I D s   f o r   n o d e   o v e r h e a d ,   s e p a r a t e   f r o m   t h e   a l l o c a t i o n   t o   P o d s .   T h i s   i s   s i m i l a r   t o   h o w   y o u   c a n   r e s e ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/pid-limiting/",
    "id": "k8s_00346_section_4_6670"
  },
  {
    "question": "What is Node PID limits?",
    "answer": "K u b e r n e t e s   a l l o w s   y o u   t o   r e s e r v e   a   n u m b e r   o f   p r o c e s s   I D s   f o r   t h e   s y s t e m   u s e .   T o   c o n f i g u r e   t h e   r e s e r v a t i o n ,   u s e   t h e   p a r a m e t e r   p i d = < n u m b e r >   i n   t h e   - - s y s t e m - r e s e r v e d   a n d   - - k u b e - r e s e r v e d   c o m m a n d   l i n e   o p t i o n s   t o   t h e   k u b e l e t .   T h e   v a l u e   y o u   s p e c i f i e d   d e c l a r e s   t h a t   t h e   s p e c i f i e d   n u m b e r   o f   p r o c e s s   I D s   w i l l   b e   r e s e r v e d   f o r   t h e   s y s t e m   a s   a   w h o l e   a n d   f o r   K u b e r n e t e s   s y s t e m   d a e m o n s   r e s p e c t i v e l y .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/pid-limiting/",
    "id": "k8s_00346_section_2_6671"
  },
  {
    "question": "What is Pod PID limits?",
    "answer": "K u b e r n e t e s   a l l o w s   y o u   t o   l i m i t   t h e   n u m b e r   o f   p r o c e s s e s   r u n n i n g   i n   a   P o d .   Y o u   s p e c i f y   t h i s   l i m i t   a t   t h e   n o d e   l e v e l ,   r a t h e r   t h a n   c o n f i g u r i n g   i t   a s   a   r e s o u r c e   l i m i t   f o r   a   p a r t i c u l a r   P o d .   E a c h   N o d e   c a n   h a v e   a   d i f f e r e n t   P I D   l i m i t . T o   c o n f i g u r e   t h e   l i m i t ,   y o u   c a n   s p e c i f y   t h e   c o m m a n d   l i n e   p a r a m e t e r   - - p o d - m a x - p i d s   t o   t h e   k u b e l e t ,   o r   s e t   P o d P i d s L i m i t   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/pid-limiting/",
    "id": "k8s_00346_section_2_6672"
  },
  {
    "question": "What is PID based eviction?",
    "answer": "Y o u   c a n   c o n f i g u r e   k u b e l e t   t o   s t a r t   t e r m i n a t i n g   a   P o d   w h e n   i t   i s   m i s b e h a v i n g   a n d   c o n s u m i n g   a b n o r m a l   a m o u n t   o f   r e s o u r c e s .   T h i s   f e a t u r e   i s   c a l l e d   e v i c t i o n .   Y o u   c a n   C o n f i g u r e   O u t   o f   R e s o u r c e   H a n d l i n g   f o r   v a r i o u s   e v i c t i o n   s i g n a l s .   U s e   p i d . a v a i l a b l e   e v i c t i o n   s i g n a l   t o   c o n f i g u r e   t h e   t h r e s h o l d   f o r   n u m b e r   o f   P I D s   u s e d   b y   P o d .   Y o u   c a n   s e t   s o f t   a n d   h a r d   e v i c t i o n   p o l i c i e s .   H o w e v e r ,   e v e n   w i t h   t h e   h a r d   e v i c t i o n   p o l i c y ,   i f   t h e   n u m b e r   o f   P I D s   g r o w i n g   v e r y   f a s t ,   n o d e   c a n   s t i l l   g e t   i n t o   u n s t a b l e   s t a t e   b y   h i t t i n g   t h e   n o d e   P I D s   l i m i t .   E v i c t i o n   s i g n a l   v a l u e   i s   c a l c u l a t e d   p e r i o d i c a l l y   a n d   d o e s   N O T   e n f o r c e   t h e   l i m i t .   P I D   l i m i t i n g   -   p e r   P o d   a n d   p e r   N o d e   s e t s   t h e   h a r d   l i m i t .   O n c e   t h e   l i m i t   i s   h i t ,   w o r k l o a d   w i l l   s t a r t   e x p e r i e n c i n g   f a i l u r e s   w h e n   t r y i n g   t o   g e t   a   n e w   P I D .   I t   m a y   o r   m a y   n o t   l e a d   t o   r e s c h e d u l i n g   o f   a   P o d ,   d e p e n d i n g   o n   h o w   w o r k l o a d   r e a c t s   o n   t h e s e   f a i l u r e s   a n d   h o w   l i v e n e s s   a n d   r e a d i n e s s   p r o b e s   a r e   c o n f i g u r e d   f o r   t h e   P o d .   H o w e v e r ,   i f   l i m i t s   w e r e   s e t   c o r r e c t l y ,   y o u   c a n   g u a r a n t e e   t h a t   o t h e r   P o d s   w o r k l o a ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/pid-limiting/",
    "id": "k8s_00346_section_2_6673"
  },
  {
    "question": "What is What's next?",
    "answer": "R e f e r   t o   t h e   P I D   L i m i t i n g   e n h a n c e m e n t   d o c u m e n t   f o r   m o r e   i n f o r m a t i o n . F o r   h i s t o r i c a l   c o n t e x t ,   r e a d   P r o c e s s   I D   L i m i t i n g   f o r   S t a b i l i t y   I m p r o v e m e n t s   i n   K u b e r n e t e s   1 . 1 4 . R e a d   M a n a g i n g   R e s o u r c e s   f o r   C o n t a i n e r s . L e a r n   h o w   t o   C o n f i g u r e   O u t   o f   R e s o u r c e   H a n d l i n g .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/pid-limiting/",
    "id": "k8s_00346_section_2_6674"
  },
  {
    "question": "What is kubectl create clusterrolebinding?",
    "answer": "kubectl create clusterrolebindingSynopsisCreate a cluster role binding for a particular cluster role.kubectl create clusterrolebinding NAME --clusterrole=NAME [--user=username] [--group=groupname] [--serviceaccount=namespace:serviceaccountname] [--dry-run=server|client|none] Examples # Create a cluster role binding for user1, user2, and group1 using the cluster-admin cluster role kubectl create clusterrolebinding cluster-admin --clusterrole=cluster-admin --user=user1 --user=user2 --group=group1 Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--clusterrole stringClusterRole this ClusterRoleBinding should reference--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--group stringsGroups to bind to the clusterrole. The flag can be repeated to add multiple groups.-h, --helphelp for clusterrolebinding-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--serviceaccount stringsService accounts to bind to the clusterrole, in the format <namespace>:<name>. The flag can be repeated to add multiple service accounts.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--user stringsUsernames to bind to the clusterrole. The flag can be repeated to add multiple users.--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_clusterrolebinding/",
    "id": "k8s_00347_qa_6675"
  },
  {
    "question": "How does kubectl create clusterrolebinding work?",
    "answer": "kubectl create clusterrolebindingSynopsisCreate a cluster role binding for a particular cluster role.kubectl create clusterrolebinding NAME --clusterrole=NAME [--user=username] [--group=groupname] [--serviceaccount=namespace:serviceaccountname] [--dry-run=server|client|none] Examples # Create a cluster role binding for user1, user2, and group1 using the cluster-admin cluster role kubectl create clusterrolebinding cluster-admin --clusterrole=cluster-admin --user=user1 --user=user2 --group=group1 Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--clusterrole stringClusterRole this ClusterRoleBinding should reference--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--group stringsGroups to bind to the clusterrole. The flag can be repeated to add multiple groups.-h, --helphelp for clusterrolebinding-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--serviceaccount stringsService accounts to bind to the clusterrole, in the format <namespace>:<name>. The flag can be repeated to add multiple service accounts.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--user stringsUsernames to bind to the clusterrole. The flag can be repeated to add multiple users.--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_clusterrolebinding/",
    "id": "k8s_00347_qa_6676"
  },
  {
    "question": "When would you use kubectl create clusterrolebinding?",
    "answer": "kubectl create clusterrolebindingSynopsisCreate a cluster role binding for a particular cluster role.kubectl create clusterrolebinding NAME --clusterrole=NAME [--user=username] [--group=groupname] [--serviceaccount=namespace:serviceaccountname] [--dry-run=server|client|none] Examples # Create a cluster role binding for user1, user2, and group1 using the cluster-admin cluster role kubectl create clusterrolebinding cluster-admin --clusterrole=cluster-admin --user=user1 --user=user2 --group=group1 Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--clusterrole stringClusterRole this ClusterRoleBinding should reference--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--group stringsGroups to bind to the clusterrole. The flag can be repeated to add multiple groups.-h, --helphelp for clusterrolebinding-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--serviceaccount stringsService accounts to bind to the clusterrole, in the format <namespace>:<name>. The flag can be repeated to add multiple service accounts.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--user stringsUsernames to bind to the clusterrole. The flag can be repeated to add multiple users.--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_clusterrolebinding/",
    "id": "k8s_00347_qa_6677"
  },
  {
    "question": "What are the benefits of kubectl create clusterrolebinding?",
    "answer": "kubectl create clusterrolebindingSynopsisCreate a cluster role binding for a particular cluster role.kubectl create clusterrolebinding NAME --clusterrole=NAME [--user=username] [--group=groupname] [--serviceaccount=namespace:serviceaccountname] [--dry-run=server|client|none] Examples # Create a cluster role binding for user1, user2, and group1 using the cluster-admin cluster role kubectl create clusterrolebinding cluster-admin --clusterrole=cluster-admin --user=user1 --user=user2 --group=group1 Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--clusterrole stringClusterRole this ClusterRoleBinding should reference--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--group stringsGroups to bind to the clusterrole. The flag can be repeated to add multiple groups.-h, --helphelp for clusterrolebinding-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--serviceaccount stringsService accounts to bind to the clusterrole, in the format <namespace>:<name>. The flag can be repeated to add multiple service accounts.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--user stringsUsernames to bind to the clusterrole. The flag can be repeated to add multiple users.--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_clusterrolebinding/",
    "id": "k8s_00347_qa_6678"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   c l u s t e r   r o l e   b i n d i n g   f o r   a   p a r t i c u l a r   c l u s t e r   r o l e .   k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   N A M E   - - c l u s t e r r o l e = N A M E   [ - - u s e r = u s e r n a m e ]   [ - - g r o u p = g r o u p n a m e ]   [ - - s e r v i c e a c c o u n t = n a m e s p a c e : s e r v i c e a c c o u n t n a m e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_clusterrolebinding/",
    "id": "k8s_00347_section_2_6679"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   c l u s t e r   r o l e   b i n d i n g   f o r   u s e r 1 ,   u s e r 2 ,   a n d   g r o u p 1   u s i n g   t h e   c l u s t e r - a d m i n   c l u s t e r   r o l e   k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   c l u s t e r - a d m i n   - - c l u s t e r r o l e = c l u s t e r - a d m i n   - - u s e r = u s e r 1   - - u s e r = u s e r 2   - - g r o u p = g r o u p 1",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_clusterrolebinding/",
    "id": "k8s_00347_section_2_6680"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   C l u s t e r R o l e   t h i s   C l u s t e r R o l e B i n d i n g   s h o u l d   r e f e r e n c e   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   G r o u p s   t o   b i n d   t o   t h e   c l u s t e r r o l e .   T h e   f l a g   c a n   b e   r e p e a t e d   t o   a d d   m u l t i p l e   g r o u p s .   h e l p   f o r   c l u s t e r r o l e b i n d i n g   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   S e r v i c e   a c c o u n t s   t o   b i n d   t o   t h e   c l u s t e r r o l e ,   i n   t h e   f o r m a t   < n a m e s p a c e > : < n a m e > .   T h e   f l a ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_clusterrolebinding/",
    "id": "k8s_00347_section_2_6681"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_clusterrolebinding/",
    "id": "k8s_00347_section_2_6682"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_clusterrolebinding/",
    "id": "k8s_00347_section_2_6683"
  },
  {
    "question": "What is Mixed Version Proxy?",
    "answer": "Mixed Version ProxyFEATURE STATE: Kubernetes v1.28 [alpha] (enabled by default: false)Kubernetes 1.34 includes an alpha feature that lets an API Server proxy a resource requests to other peer API servers. This is useful when there are multiple API servers running different versions of Kubernetes in one cluster (for example, during a long-lived rollout to a new release of Kubernetes).This enables cluster administrators to configure highly available clusters that can be upgraded more safely, by directing resource requests (made during the upgrade) to the correct kube-apiserver. That proxying prevents users from seeing unexpected 404 Not Found errors that stem from the upgrade process.This mechanism is called the Mixed Version Proxy.Enabling the Mixed Version ProxyEnsure that UnknownVersionInteroperabilityProxy feature gate is enabled when you start the API Server:kube-apiserver \\ --feature-gates=UnknownVersionInteroperabilityProxy=true \\ # required command line arguments for this feature --peer-ca-file=<path to kube-apiserver CA cert> --proxy-client-cert-file=<path to aggregator proxy cert>, --proxy-client-key-file=<path to aggregator proxy key>, --requestheader-client-ca-file=<path to aggregator CA cert>, # requestheader-allowed-names can be set to blank to allow any Common Name --requestheader-allowed-names=<valid Common Names to verify proxy client cert against>, # optional flags for this feature --peer-advertise-ip=`IP of this kube-apiserver that should be used by peers to proxy requests` --peer-advertise-port=`port of this kube-apiserver that should be used by peers to proxy requests` # …and other flags as usual Proxy transport and authentication between API serversThe source kube-apiserver reuses the existing APIserver client authentication flags --proxy-client-cert-file and --proxy-client-key-file to present its identity that will be verified by its peer (the destination kube-apiserver). The destination API server verifies that peer connection based on the configuration you specify using the --requestheader-client-ca-file command line argument.To authenticate the destination server's serving certs, you must configure a certificate authority bundle by specifying the --peer-ca-file command line argument to the source API server.Configuration for peer API server connectivityTo set the network location of a kube-apiserver that peers will use to proxy requests, use the --peer-advertise-ip and --peer-advertise-port command line arguments to kube-apiserver or specify these fields in the API server configuration file. If these flags are unspecified, peers will use the value from either --advertise-address or --bind-address command line argument to the kube-apiserver. If those too, are unset, the host's default interface is used.Mixed version proxyingWhen you enable mixed version proxying, the aggregation layer loads a special filter that does the following:When a resource request reaches an API server that cannot serve that API (either because it is",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/mixed-version-proxy/",
    "id": "k8s_00348_qa_6684"
  },
  {
    "question": "How does Mixed Version Proxy work?",
    "answer": "Mixed Version ProxyFEATURE STATE: Kubernetes v1.28 [alpha] (enabled by default: false)Kubernetes 1.34 includes an alpha feature that lets an API Server proxy a resource requests to other peer API servers. This is useful when there are multiple API servers running different versions of Kubernetes in one cluster (for example, during a long-lived rollout to a new release of Kubernetes).This enables cluster administrators to configure highly available clusters that can be upgraded more safely, by directing resource requests (made during the upgrade) to the correct kube-apiserver. That proxying prevents users from seeing unexpected 404 Not Found errors that stem from the upgrade process.This mechanism is called the Mixed Version Proxy.Enabling the Mixed Version ProxyEnsure that UnknownVersionInteroperabilityProxy feature gate is enabled when you start the API Server:kube-apiserver \\ --feature-gates=UnknownVersionInteroperabilityProxy=true \\ # required command line arguments for this feature --peer-ca-file=<path to kube-apiserver CA cert> --proxy-client-cert-file=<path to aggregator proxy cert>, --proxy-client-key-file=<path to aggregator proxy key>, --requestheader-client-ca-file=<path to aggregator CA cert>, # requestheader-allowed-names can be set to blank to allow any Common Name --requestheader-allowed-names=<valid Common Names to verify proxy client cert against>, # optional flags for this feature --peer-advertise-ip=`IP of this kube-apiserver that should be used by peers to proxy requests` --peer-advertise-port=`port of this kube-apiserver that should be used by peers to proxy requests` # …and other flags as usual Proxy transport and authentication between API serversThe source kube-apiserver reuses the existing APIserver client authentication flags --proxy-client-cert-file and --proxy-client-key-file to present its identity that will be verified by its peer (the destination kube-apiserver). The destination API server verifies that peer connection based on the configuration you specify using the --requestheader-client-ca-file command line argument.To authenticate the destination server's serving certs, you must configure a certificate authority bundle by specifying the --peer-ca-file command line argument to the source API server.Configuration for peer API server connectivityTo set the network location of a kube-apiserver that peers will use to proxy requests, use the --peer-advertise-ip and --peer-advertise-port command line arguments to kube-apiserver or specify these fields in the API server configuration file. If these flags are unspecified, peers will use the value from either --advertise-address or --bind-address command line argument to the kube-apiserver. If those too, are unset, the host's default interface is used.Mixed version proxyingWhen you enable mixed version proxying, the aggregation layer loads a special filter that does the following:When a resource request reaches an API server that cannot serve that API (either because it is",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/mixed-version-proxy/",
    "id": "k8s_00348_qa_6685"
  },
  {
    "question": "When would you use Mixed Version Proxy?",
    "answer": "Mixed Version ProxyFEATURE STATE: Kubernetes v1.28 [alpha] (enabled by default: false)Kubernetes 1.34 includes an alpha feature that lets an API Server proxy a resource requests to other peer API servers. This is useful when there are multiple API servers running different versions of Kubernetes in one cluster (for example, during a long-lived rollout to a new release of Kubernetes).This enables cluster administrators to configure highly available clusters that can be upgraded more safely, by directing resource requests (made during the upgrade) to the correct kube-apiserver. That proxying prevents users from seeing unexpected 404 Not Found errors that stem from the upgrade process.This mechanism is called the Mixed Version Proxy.Enabling the Mixed Version ProxyEnsure that UnknownVersionInteroperabilityProxy feature gate is enabled when you start the API Server:kube-apiserver \\ --feature-gates=UnknownVersionInteroperabilityProxy=true \\ # required command line arguments for this feature --peer-ca-file=<path to kube-apiserver CA cert> --proxy-client-cert-file=<path to aggregator proxy cert>, --proxy-client-key-file=<path to aggregator proxy key>, --requestheader-client-ca-file=<path to aggregator CA cert>, # requestheader-allowed-names can be set to blank to allow any Common Name --requestheader-allowed-names=<valid Common Names to verify proxy client cert against>, # optional flags for this feature --peer-advertise-ip=`IP of this kube-apiserver that should be used by peers to proxy requests` --peer-advertise-port=`port of this kube-apiserver that should be used by peers to proxy requests` # …and other flags as usual Proxy transport and authentication between API serversThe source kube-apiserver reuses the existing APIserver client authentication flags --proxy-client-cert-file and --proxy-client-key-file to present its identity that will be verified by its peer (the destination kube-apiserver). The destination API server verifies that peer connection based on the configuration you specify using the --requestheader-client-ca-file command line argument.To authenticate the destination server's serving certs, you must configure a certificate authority bundle by specifying the --peer-ca-file command line argument to the source API server.Configuration for peer API server connectivityTo set the network location of a kube-apiserver that peers will use to proxy requests, use the --peer-advertise-ip and --peer-advertise-port command line arguments to kube-apiserver or specify these fields in the API server configuration file. If these flags are unspecified, peers will use the value from either --advertise-address or --bind-address command line argument to the kube-apiserver. If those too, are unset, the host's default interface is used.Mixed version proxyingWhen you enable mixed version proxying, the aggregation layer loads a special filter that does the following:When a resource request reaches an API server that cannot serve that API (either because it is",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/mixed-version-proxy/",
    "id": "k8s_00348_qa_6686"
  },
  {
    "question": "What are the benefits of Mixed Version Proxy?",
    "answer": "Mixed Version ProxyFEATURE STATE: Kubernetes v1.28 [alpha] (enabled by default: false)Kubernetes 1.34 includes an alpha feature that lets an API Server proxy a resource requests to other peer API servers. This is useful when there are multiple API servers running different versions of Kubernetes in one cluster (for example, during a long-lived rollout to a new release of Kubernetes).This enables cluster administrators to configure highly available clusters that can be upgraded more safely, by directing resource requests (made during the upgrade) to the correct kube-apiserver. That proxying prevents users from seeing unexpected 404 Not Found errors that stem from the upgrade process.This mechanism is called the Mixed Version Proxy.Enabling the Mixed Version ProxyEnsure that UnknownVersionInteroperabilityProxy feature gate is enabled when you start the API Server:kube-apiserver \\ --feature-gates=UnknownVersionInteroperabilityProxy=true \\ # required command line arguments for this feature --peer-ca-file=<path to kube-apiserver CA cert> --proxy-client-cert-file=<path to aggregator proxy cert>, --proxy-client-key-file=<path to aggregator proxy key>, --requestheader-client-ca-file=<path to aggregator CA cert>, # requestheader-allowed-names can be set to blank to allow any Common Name --requestheader-allowed-names=<valid Common Names to verify proxy client cert against>, # optional flags for this feature --peer-advertise-ip=`IP of this kube-apiserver that should be used by peers to proxy requests` --peer-advertise-port=`port of this kube-apiserver that should be used by peers to proxy requests` # …and other flags as usual Proxy transport and authentication between API serversThe source kube-apiserver reuses the existing APIserver client authentication flags --proxy-client-cert-file and --proxy-client-key-file to present its identity that will be verified by its peer (the destination kube-apiserver). The destination API server verifies that peer connection based on the configuration you specify using the --requestheader-client-ca-file command line argument.To authenticate the destination server's serving certs, you must configure a certificate authority bundle by specifying the --peer-ca-file command line argument to the source API server.Configuration for peer API server connectivityTo set the network location of a kube-apiserver that peers will use to proxy requests, use the --peer-advertise-ip and --peer-advertise-port command line arguments to kube-apiserver or specify these fields in the API server configuration file. If these flags are unspecified, peers will use the value from either --advertise-address or --bind-address command line argument to the kube-apiserver. If those too, are unset, the host's default interface is used.Mixed version proxyingWhen you enable mixed version proxying, the aggregation layer loads a special filter that does the following:When a resource request reaches an API server that cannot serve that API (either because it is",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/mixed-version-proxy/",
    "id": "k8s_00348_qa_6687"
  },
  {
    "question": "What is Mixed Version Proxy?",
    "answer": "K u b e r n e t e s   1 . 3 4   i n c l u d e s   a n   a l p h a   f e a t u r e   t h a t   l e t s   a n   A P I   S e r v e r   p r o x y   a   r e s o u r c e   r e q u e s t s   t o   o t h e r   p e e r   A P I   s e r v e r s .   T h i s   i s   u s e f u l   w h e n   t h e r e   a r e   m u l t i p l e   A P I   s e r v e r s   r u n n i n g   d i f f e r e n t   v e r s i o n s   o f   K u b e r n e t e s   i n   o n e   c l u s t e r   ( f o r   e x a m p l e ,   d u r i n g   a   l o n g - l i v e d   r o l l o u t   t o   a   n e w   r e l e a s e   o f   K u b e r n e t e s ) .   T h i s   e n a b l e s   c l u s t e r   a d m i n i s t r a t o r s   t o   c o n f i g u r e   h i g h l y   a v a i l a b l e   c l u s t e r s   t h a t   c a n   b e   u p g r a d e d   m o r e   s a f e l y ,   b y   d i r e c t i n g   r e s o u r c e   r e q u e s t s   ( m a d e   d u r i n g   t h e   u p g r a d e )   t o   t h e   c o r r e c t   k u b e - a p i s e r v e r .   T h a t   p r o x y i n g   p r e v e n t s   u s e r s   f r o m   s e e i n g   u n e x p e c t e d   4 0 4   N o t   F o u n d   e r r o r s   t h a t   s t e m   f r o m   t h e   u p g r a d e   p r o c e s s .   T h i s   m e c h a n i s m   i s   c a l l e d   t h e   M i x e d   V e r s i o n   P r o x y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/mixed-version-proxy/",
    "id": "k8s_00348_section_1_6688"
  },
  {
    "question": "What is Enabling the Mixed Version Proxy?",
    "answer": "E n s u r e   t h a t   U n k n o w n V e r s i o n I n t e r o p e r a b i l i t y P r o x y   f e a t u r e   g a t e   i s   e n a b l e d   w h e n   y o u   s t a r t   t h e   A P I   S e r v e r :   k u b e - a p i s e r v e r   \\   - - f e a t u r e - g a t e s = U n k n o w n V e r s i o n I n t e r o p e r a b i l i t y P r o x y = t r u e   \\   #   r e q u i r e d   c o m m a n d   l i n e   a r g u m e n t s   f o r   t h i s   f e a t u r e   - - p e e r - c a - f i l e = < p a t h   t o   k u b e - a p i s e r v e r   C A   c e r t >   - - p r o x y - c l i e n t - c e r t - f i l e = < p a t h   t o   a g g r e g a t o r   p r o x y   c e r t > ,   - - p r o x y - c l i e n t - k e y - f i l e = < p a t h   t o   a g g r e g a t o r   p r o x y   k e y > ,   - - r e q u e s t h e a d e r - c l i e n t - c a - f i l e = < p a t h   t o   a g g r e g a t o r   C A   c e r t > ,   #   r e q u e s t h e a d e r - a l l o w e d - n a m e s   c a n   b e   s e t   t o   b l a n k   t o   a l l o w   a n y   C o m m o n   N a m e   - - r e q u e s t h e a d e r - a l l o w e d - n a m e s = < v a l i d   C o m m o n   N a m e s   t o   v e r i f y   p r o x y   c l i e n t   c e r t   a g a i n s t > ,   #   o p t i o n a l   f l a g s   f o r   t h i s   f e a t u r e   - - p e e r - a d v e r t i s e - i p = ` I P   o f   t h i s   k u b e - a p i s e r v e r   t h a t   s h o u l d   b e   u s e d   b y   p e e r s   t o   p r o x y   r e q u e s t s `   - - p e e r - a d v e r t i s e - p o r t = ` p o r t   o f   t h i s   k u b e - a p i s e r v e r   t h a t   s h o u l d   b e   u s e d   b y   p e e r s   t o   p r o x y   r e q u e s t s `   #   … a n d   o t h e r   f l a g s   a s   u s u a l",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/mixed-version-proxy/",
    "id": "k8s_00348_section_2_6689"
  },
  {
    "question": "What is Proxy transport and authentication between API servers?",
    "answer": "T h e   s o u r c e   k u b e - a p i s e r v e r   r e u s e s   t h e   e x i s t i n g   A P I s e r v e r   c l i e n t   a u t h e n t i c a t i o n   f l a g s   - - p r o x y - c l i e n t - c e r t - f i l e   a n d   - - p r o x y - c l i e n t - k e y - f i l e   t o   p r e s e n t   i t s   i d e n t i t y   t h a t   w i l l   b e   v e r i f i e d   b y   i t s   p e e r   ( t h e   d e s t i n a t i o n   k u b e - a p i s e r v e r ) .   T h e   d e s t i n a t i o n   A P I   s e r v e r   v e r i f i e s   t h a t   p e e r   c o n n e c t i o n   b a s e d   o n   t h e   c o n f i g u r a t i o n   y o u   s p e c i f y   u s i n g   t h e   - - r e q u e s t h e a d e r - c l i e n t - c a - f i l e   c o m m a n d   l i n e   a r g u m e n t . T o   a u t h e n t i c a t e   t h e   d e s t i n a t i o n   s e r v e r ' s   s e r v i n g   c e r t s ,   y o u   m u s t   c o n f i g u r e   a   c e r t i f i c a t e   a u t h o r i t y   b u n d l e   b y   s p e c i f y i n g   t h e   - - p e e r - c a - f i l e   c o m m a n d   l i n e   a r g u m e n t   t o   t h e   s o u r c e   A P I   s e r v e r .   T h e   s o u r c e   k u b e - a p i s e r v e r   r e u s e s   t h e   e x i s t i n g   A P I s e r v e r   c l i e n t   a u t h e n t i c a t i o n   f l a g s   - - p r o x y - c l i e n t - c e r t - f i l e   a n d   - - p r o x y - c l i e n t - k e y - f i l e   t o   p r e s e n t   i t s   i d e n t i t y   t h a t   w i l l   b e   v e r i f i e d   b y   i t s   p e e r   ( t h e   d e s t i n a t i o n   k u b e - a p i s e r v e r ) .   T h e   d e s t i n a t i o n   A P I   s e r v e r   v e r i f i e s   t h a t   p e e r   c o n n e c t i o n   b a s e d   o n   t h e   c o n f i g u r a t i o n   y o u   s p e c i f y   u s i n g   t h e   - - r e q u e s t h e a d e r - c l i e n t - c a - f i l e   c o m m a n d   l i n e   a r g u m e n t .   T o   a u t h e n t i c a t e   t h e   d e s t i n a t i o n   s e r v ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/mixed-version-proxy/",
    "id": "k8s_00348_section_3_6690"
  },
  {
    "question": "What is Configuration for peer API server connectivity?",
    "answer": "T o   s e t   t h e   n e t w o r k   l o c a t i o n   o f   a   k u b e - a p i s e r v e r   t h a t   p e e r s   w i l l   u s e   t o   p r o x y   r e q u e s t s ,   u s e   t h e   - - p e e r - a d v e r t i s e - i p   a n d   - - p e e r - a d v e r t i s e - p o r t   c o m m a n d   l i n e   a r g u m e n t s   t o   k u b e - a p i s e r v e r   o r   s p e c i f y   t h e s e   f i e l d s   i n   t h e   A P I   s e r v e r   c o n f i g u r a t i o n   f i l e .   I f   t h e s e   f l a g s   a r e   u n s p e c i f i e d ,   p e e r s   w i l l   u s e   t h e   v a l u e   f r o m   e i t h e r   - - a d v e r t i s e - a d d r e s s   o r   - - b i n d - a d d r e s s   c o m m a n d   l i n e   a r g u m e n t   t o   t h e   k u b e - a p i s e r v e r .   I f   t h o s e   t o o ,   a r e   u n s e t ,   t h e   h o s t ' s   d e f a u l t   i n t e r f a c e   i s   u s e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/mixed-version-proxy/",
    "id": "k8s_00348_section_3_6691"
  },
  {
    "question": "What is Mixed version proxying?",
    "answer": "W h e n   y o u   e n a b l e   m i x e d   v e r s i o n   p r o x y i n g ,   t h e   a g g r e g a t i o n   l a y e r   l o a d s   a   s p e c i a l   f i l t e r   t h a t   d o e s   t h e   f o l l o w i n g :   W h e n   a   r e s o u r c e   r e q u e s t   r e a c h e s   a n   A P I   s e r v e r   t h a t   c a n n o t   s e r v e   t h a t   A P I   ( e i t h e r   b e c a u s e   i t   i s   a t   a   v e r s i o n   p r e - d a t i n g   t h e   i n t r o d u c t i o n   o f   t h e   A P I   o r   t h e   A P I   i s   t u r n e d   o f f   o n   t h e   A P I   s e r v e r )   t h e   A P I   s e r v e r   a t t e m p t s   t o   s e n d   t h e   r e q u e s t   t o   a   p e e r   A P I   s e r v e r   t h a t   c a n   s e r v e   t h e   r e q u e s t e d   A P I .   I t   d o e s   s o   b y   i d e n t i f y i n g   A P I   g r o u p s   /   v e r s i o n s   /   r e s o u r c e s   t h a t   t h e   l o c a l   s e r v e r   d o e s n ' t   r e c o g n i s e ,   a n d   t r i e s   t o   p r o x y   t h o s e   r e q u e s t s   t o   a   p e e r   A P I   s e r v e r   t h a t   i s   c a p a b l e   o f   h a n d l i n g   t h e   r e q u e s t . I f   t h e   p e e r   A P I   s e r v e r   f a i l s   t o   r e s p o n d ,   t h e   s o u r c e   A P I   s e r v e r   r e s p o n d s   w i t h   5 0 3   ( \" S e r v i c e   U n a v a i l a b l e \" )   e r r o r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/mixed-version-proxy/",
    "id": "k8s_00348_section_2_6692"
  },
  {
    "question": "What is How it works under the hood?",
    "answer": "W h e n   a n   A P I   S e r v e r   r e c e i v e s   a   r e s o u r c e   r e q u e s t ,   i t   f i r s t   c h e c k s   w h i c h   A P I   s e r v e r s   c a n   s e r v e   t h e   r e q u e s t e d   r e s o u r c e .   T h i s   c h e c k   h a p p e n s   u s i n g   t h e   i n t e r n a l   S t o r a g e V e r s i o n   A P I .   I f   t h e   r e s o u r c e   i s   k n o w n   t o   t h e   A P I   s e r v e r   t h a t   r e c e i v e d   t h e   r e q u e s t   ( f o r   e x a m p l e ,   G E T   / a p i / v 1 / p o d s / s o m e - p o d ) ,   t h e   r e q u e s t   i s   h a n d l e d   l o c a l l y . I f   t h e r e   i s   n o   i n t e r n a l   S t o r a g e V e r s i o n   o b j e c t   f o u n d   f o r   t h e   r e q u e s t e d   r e s o u r c e   ( f o r   e x a m p l e ,   G E T   / m y - a p i / v 1 / m y - r e s o u r c e )   a n d   t h e   c o n f i g u r e d   A P I S e r v i c e   s p e c i f i e s   p r o x y i n g   t o   a n   e x t e n s i o n   A P I   s e r v e r ,   t h a t   p r o x y i n g   h a p p e n s   f o l l o w i n g   t h e   u s u a l   f l o w   f o r   e x t e n s i o n   A P I s . I f   a   v a l i d   i n t e r n a l   S t o r a g e V e r s i o n   o b j e c t   i s   f o u n d   f o r   t h e   r e q u e s t e d   r e s o u r c e   ( f o r   e x a m p l e ,   G E T   / b a t c h / v 1 / j o b s )   a n d   t h e   A P I   s e r v e r   t r y i n g   t o   h a n d l e   t h e   r e q u e s t   ( t h e   h a n d l i n g   A P I   s e r v e r )   h a s   t h e   b a t c h   A P I   d i s a b l e d ,   t h e n   t h e   h a n d l i n g   A P I   s e r v e r   f e t c h e s   t h e   p e e r   A P I   s e r v e r s   t h a t   d o   s e r v e   t h e   r e l e v a n t   A P I   g r o u p   /   v e r s i o n   /   r e s o u r c e   ( a p i / v 1 / b a t c h   i n   t h i s   c a s e )   u s i n g   t h e   i n f o r m a t i o n   i n   t h e   f e t c h e d   S t o r a g e V e r s i o n   o b j e c t .   T h ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/mixed-version-proxy/",
    "id": "k8s_00348_section_3_6693"
  },
  {
    "question": "What is Debugging DNS Resolution?",
    "answer": "Debugging DNS ResolutionThis page provides hints on diagnosing DNS problems.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour cluster must be configured to use the CoreDNS addon or its precursor, kube-dns.Your Kubernetes server must be at or later than version v1.6.To check the version, enter kubectl version.Create a simple Pod to use as a test environmentadmin/dns/dnsutils.yaml apiVersion: v1 kind: Pod metadata: name: dnsutils namespace: default spec: containers: - name: dnsutils image: registry.k8s.io/e2e-test-images/agnhost:2.39 imagePullPolicy: IfNotPresent restartPolicy: Always Note:This example creates a pod in the default namespace. DNS name resolution for services depends on the namespace of the pod. For more information, review DNS for Services and Pods.Use that manifest to create a Pod:kubectl apply -f https://k8s.io/examples/admin/dns/dnsutils.yaml pod/dnsutils created …and verify its status:kubectl get pods dnsutils NAME READY STATUS RESTARTS AGE dnsutils 1/1 Running 0 <some-time> Once that Pod is running, you can exec nslookup in that environment. If you see something like the following, DNS is working correctly.kubectl exec -i -t dnsutils -- nslookup kubernetes.default Server: 10.0.0.10 Address 1: 10.0.0.10 Name: kubernetes.default Address 1: 10.0.0.1 If the nslookup command fails, check the following:Check the local DNS configuration firstTake a look inside the resolv.conf file. (See Customizing DNS Service and Known issues below for more information)kubectl exec -ti dnsutils -- cat /etc/resolv.conf Verify that the search path and name server are set up like the following (note that search path may vary for different cloud providers):search default.svc.cluster.local svc.cluster.local cluster.local google.internal c.gce_project_id.internal nameserver 10.0.0.10 options ndots:5 Errors such as the following indicate a problem with the CoreDNS (or kube-dns) add-on or with associated Services:kubectl exec -i -t dnsutils -- nslookup kubernetes.default Server: 10.0.0.10 Address 1: 10.0.0.10 nslookup: can't resolve 'kubernetes.default' orkubectl exec -i -t dnsutils -- nslookup kubernetes.default Server: 10.0.0.10 Address 1: 10.0.0.10 kube-dns.kube-system.svc.cluster.local nslookup: can't resolve 'kubernetes.default' Check if the DNS pod is runningUse the kubectl get pods command to verify that the DNS pod is running.kubectl get pods --namespace=kube-system -l k8s-app=kube-dns NAME READY STATUS RESTARTS AGE ... coredns-7b96bf9f76-5hsxb 1/1 Running 0 1h coredns-7b96bf9f76-mvmmt 1/1 Running 0 1h ... Note:The value for label k8s-app is kube-dns for both Core",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/",
    "id": "k8s_00349_qa_6694"
  },
  {
    "question": "How does Debugging DNS Resolution work?",
    "answer": "Debugging DNS ResolutionThis page provides hints on diagnosing DNS problems.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour cluster must be configured to use the CoreDNS addon or its precursor, kube-dns.Your Kubernetes server must be at or later than version v1.6.To check the version, enter kubectl version.Create a simple Pod to use as a test environmentadmin/dns/dnsutils.yaml apiVersion: v1 kind: Pod metadata: name: dnsutils namespace: default spec: containers: - name: dnsutils image: registry.k8s.io/e2e-test-images/agnhost:2.39 imagePullPolicy: IfNotPresent restartPolicy: Always Note:This example creates a pod in the default namespace. DNS name resolution for services depends on the namespace of the pod. For more information, review DNS for Services and Pods.Use that manifest to create a Pod:kubectl apply -f https://k8s.io/examples/admin/dns/dnsutils.yaml pod/dnsutils created …and verify its status:kubectl get pods dnsutils NAME READY STATUS RESTARTS AGE dnsutils 1/1 Running 0 <some-time> Once that Pod is running, you can exec nslookup in that environment. If you see something like the following, DNS is working correctly.kubectl exec -i -t dnsutils -- nslookup kubernetes.default Server: 10.0.0.10 Address 1: 10.0.0.10 Name: kubernetes.default Address 1: 10.0.0.1 If the nslookup command fails, check the following:Check the local DNS configuration firstTake a look inside the resolv.conf file. (See Customizing DNS Service and Known issues below for more information)kubectl exec -ti dnsutils -- cat /etc/resolv.conf Verify that the search path and name server are set up like the following (note that search path may vary for different cloud providers):search default.svc.cluster.local svc.cluster.local cluster.local google.internal c.gce_project_id.internal nameserver 10.0.0.10 options ndots:5 Errors such as the following indicate a problem with the CoreDNS (or kube-dns) add-on or with associated Services:kubectl exec -i -t dnsutils -- nslookup kubernetes.default Server: 10.0.0.10 Address 1: 10.0.0.10 nslookup: can't resolve 'kubernetes.default' orkubectl exec -i -t dnsutils -- nslookup kubernetes.default Server: 10.0.0.10 Address 1: 10.0.0.10 kube-dns.kube-system.svc.cluster.local nslookup: can't resolve 'kubernetes.default' Check if the DNS pod is runningUse the kubectl get pods command to verify that the DNS pod is running.kubectl get pods --namespace=kube-system -l k8s-app=kube-dns NAME READY STATUS RESTARTS AGE ... coredns-7b96bf9f76-5hsxb 1/1 Running 0 1h coredns-7b96bf9f76-mvmmt 1/1 Running 0 1h ... Note:The value for label k8s-app is kube-dns for both Core",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/",
    "id": "k8s_00349_qa_6695"
  },
  {
    "question": "When would you use Debugging DNS Resolution?",
    "answer": "Debugging DNS ResolutionThis page provides hints on diagnosing DNS problems.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour cluster must be configured to use the CoreDNS addon or its precursor, kube-dns.Your Kubernetes server must be at or later than version v1.6.To check the version, enter kubectl version.Create a simple Pod to use as a test environmentadmin/dns/dnsutils.yaml apiVersion: v1 kind: Pod metadata: name: dnsutils namespace: default spec: containers: - name: dnsutils image: registry.k8s.io/e2e-test-images/agnhost:2.39 imagePullPolicy: IfNotPresent restartPolicy: Always Note:This example creates a pod in the default namespace. DNS name resolution for services depends on the namespace of the pod. For more information, review DNS for Services and Pods.Use that manifest to create a Pod:kubectl apply -f https://k8s.io/examples/admin/dns/dnsutils.yaml pod/dnsutils created …and verify its status:kubectl get pods dnsutils NAME READY STATUS RESTARTS AGE dnsutils 1/1 Running 0 <some-time> Once that Pod is running, you can exec nslookup in that environment. If you see something like the following, DNS is working correctly.kubectl exec -i -t dnsutils -- nslookup kubernetes.default Server: 10.0.0.10 Address 1: 10.0.0.10 Name: kubernetes.default Address 1: 10.0.0.1 If the nslookup command fails, check the following:Check the local DNS configuration firstTake a look inside the resolv.conf file. (See Customizing DNS Service and Known issues below for more information)kubectl exec -ti dnsutils -- cat /etc/resolv.conf Verify that the search path and name server are set up like the following (note that search path may vary for different cloud providers):search default.svc.cluster.local svc.cluster.local cluster.local google.internal c.gce_project_id.internal nameserver 10.0.0.10 options ndots:5 Errors such as the following indicate a problem with the CoreDNS (or kube-dns) add-on or with associated Services:kubectl exec -i -t dnsutils -- nslookup kubernetes.default Server: 10.0.0.10 Address 1: 10.0.0.10 nslookup: can't resolve 'kubernetes.default' orkubectl exec -i -t dnsutils -- nslookup kubernetes.default Server: 10.0.0.10 Address 1: 10.0.0.10 kube-dns.kube-system.svc.cluster.local nslookup: can't resolve 'kubernetes.default' Check if the DNS pod is runningUse the kubectl get pods command to verify that the DNS pod is running.kubectl get pods --namespace=kube-system -l k8s-app=kube-dns NAME READY STATUS RESTARTS AGE ... coredns-7b96bf9f76-5hsxb 1/1 Running 0 1h coredns-7b96bf9f76-mvmmt 1/1 Running 0 1h ... Note:The value for label k8s-app is kube-dns for both Core",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/",
    "id": "k8s_00349_qa_6696"
  },
  {
    "question": "What are the benefits of Debugging DNS Resolution?",
    "answer": "Debugging DNS ResolutionThis page provides hints on diagnosing DNS problems.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour cluster must be configured to use the CoreDNS addon or its precursor, kube-dns.Your Kubernetes server must be at or later than version v1.6.To check the version, enter kubectl version.Create a simple Pod to use as a test environmentadmin/dns/dnsutils.yaml apiVersion: v1 kind: Pod metadata: name: dnsutils namespace: default spec: containers: - name: dnsutils image: registry.k8s.io/e2e-test-images/agnhost:2.39 imagePullPolicy: IfNotPresent restartPolicy: Always Note:This example creates a pod in the default namespace. DNS name resolution for services depends on the namespace of the pod. For more information, review DNS for Services and Pods.Use that manifest to create a Pod:kubectl apply -f https://k8s.io/examples/admin/dns/dnsutils.yaml pod/dnsutils created …and verify its status:kubectl get pods dnsutils NAME READY STATUS RESTARTS AGE dnsutils 1/1 Running 0 <some-time> Once that Pod is running, you can exec nslookup in that environment. If you see something like the following, DNS is working correctly.kubectl exec -i -t dnsutils -- nslookup kubernetes.default Server: 10.0.0.10 Address 1: 10.0.0.10 Name: kubernetes.default Address 1: 10.0.0.1 If the nslookup command fails, check the following:Check the local DNS configuration firstTake a look inside the resolv.conf file. (See Customizing DNS Service and Known issues below for more information)kubectl exec -ti dnsutils -- cat /etc/resolv.conf Verify that the search path and name server are set up like the following (note that search path may vary for different cloud providers):search default.svc.cluster.local svc.cluster.local cluster.local google.internal c.gce_project_id.internal nameserver 10.0.0.10 options ndots:5 Errors such as the following indicate a problem with the CoreDNS (or kube-dns) add-on or with associated Services:kubectl exec -i -t dnsutils -- nslookup kubernetes.default Server: 10.0.0.10 Address 1: 10.0.0.10 nslookup: can't resolve 'kubernetes.default' orkubectl exec -i -t dnsutils -- nslookup kubernetes.default Server: 10.0.0.10 Address 1: 10.0.0.10 kube-dns.kube-system.svc.cluster.local nslookup: can't resolve 'kubernetes.default' Check if the DNS pod is runningUse the kubectl get pods command to verify that the DNS pod is running.kubectl get pods --namespace=kube-system -l k8s-app=kube-dns NAME READY STATUS RESTARTS AGE ... coredns-7b96bf9f76-5hsxb 1/1 Running 0 1h coredns-7b96bf9f76-mvmmt 1/1 Running 0 1h ... Note:The value for label k8s-app is kube-dns for both Core",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/",
    "id": "k8s_00349_qa_6697"
  },
  {
    "question": "What is Debugging DNS Resolution?",
    "answer": "T h i s   p a g e   p r o v i d e s   h i n t s   o n   d i a g n o s i n g   D N S   p r o b l e m s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/",
    "id": "k8s_00349_section_1_6698"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   c l u s t e r   m u s t   b e   c o n f i g u r e d   t o   u s e   t h e   C o r e D N S   a d d o n   o r   i t s   p r e c u r s o r ,   k u b e - d n s .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 6 .   T o   c h ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/",
    "id": "k8s_00349_section_2_6699"
  },
  {
    "question": "What is Create a simple Pod to use as a test environment?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d n s u t i l s   n a m e s p a c e :   d e f a u l t   s p e c :   c o n t a i n e r s :   -   n a m e :   d n s u t i l s   i m a g e :   r e g i s t r y . k 8 s . i o / e 2 e - t e s t - i m a g e s / a g n h o s t : 2 . 3 9   i m a g e P u l l P o l i c y :   I f N o t P r e s e n t   r e s t a r t P o l i c y :   A l w a y s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/",
    "id": "k8s_00349_section_3_6700"
  },
  {
    "question": "What is Note:?",
    "answer": "U s e   t h a t   m a n i f e s t   t o   c r e a t e   a   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / d n s / d n s u t i l s . y a m l   p o d / d n s u t i l s   c r e a t e d   … a n d   v e r i f y   i t s   s t a t u s :   k u b e c t l   g e t   p o d s   d n s u t i l s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   d n s u t i l s   1 / 1   R u n n i n g   0   < s o m e - t i m e >   O n c e   t h a t   P o d   i s   r u n n i n g ,   y o u   c a n   e x e c   n s l o o k u p   i n   t h a t   e n v i r o n m e n t .   I f   y o u   s e e   s o m e t h i n g   l i k e   t h e   f o l l o w i n g ,   D N S   i s   w o r k i n g   c o r r e c t l y .   k u b e c t l   e x e c   - i   - t   d n s u t i l s   - -   n s l o o k u p   k u b e r n e t e s . d e f a u l t   S e r v e r :   1 0 . 0 . 0 . 1 0   A d d r e s s   1 :   1 0 . 0 . 0 . 1 0   N a m e :   k u b e r n e t e s . d e f a u l t   A d d r e s s   1 :   1 0 . 0 . 0 . 1   I f   t h e   n s l o o k u p   c o m m a n d   f a i l s ,   c h e c k   t h e   f o l l o w i n g :",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/",
    "id": "k8s_00349_section_4_6701"
  },
  {
    "question": "What is Check the local DNS configuration first?",
    "answer": "T a k e   a   l o o k   i n s i d e   t h e   r e s o l v . c o n f   f i l e .   ( S e e   C u s t o m i z i n g   D N S   S e r v i c e   a n d   K n o w n   i s s u e s   b e l o w   f o r   m o r e   i n f o r m a t i o n )   k u b e c t l   e x e c   - t i   d n s u t i l s   - -   c a t   / e t c / r e s o l v . c o n f   V e r i f y   t h a t   t h e   s e a r c h   p a t h   a n d   n a m e   s e r v e r   a r e   s e t   u p   l i k e   t h e   f o l l o w i n g   ( n o t e   t h a t   s e a r c h   p a t h   m a y   v a r y   f o r   d i f f e r e n t   c l o u d   p r o v i d e r s ) :   s e a r c h   d e f a u l t . s v c . c l u s t e r . l o c a l   s v c . c l u s t e r . l o c a l   c l u s t e r . l o c a l   g o o g l e . i n t e r n a l   c . g c e _ p r o j e c t _ i d . i n t e r n a l   n a m e s e r v e r   1 0 . 0 . 0 . 1 0   o p t i o n s   n d o t s : 5   E r r o r s   s u c h   a s   t h e   f o l l o w i n g   i n d i c a t e   a   p r o b l e m   w i t h   t h e   C o r e D N S   ( o r   k u b e - d n s )   a d d - o n   o r   w i t h   a s s o c i a t e d   S e r v i c e s :   k u b e c t l   e x e c   - i   - t   d n s u t i l s   - -   n s l o o k u p   k u b e r n e t e s . d e f a u l t   S e r v e r :   1 0 . 0 . 0 . 1 0   A d d r e s s   1 :   1 0 . 0 . 0 . 1 0   n s l o o k u p :   c a n ' t   r e s o l v e   ' k u b e r n e t e s . d e f a u l t '   o r   k u b e c t l   e x e c   - i   - t   d n s u t i l s   - -   n s l o o k u p   k u b e r n e t e s . d e f a u l t   S e r v e r :   1 0 . 0 . 0 . 1 0   A d d r e s s   1 :   1 0 . 0 . 0 . 1 0   k u b e - d n s . k u b e - s y s t e m . s v c . c l u s t e r . l o c a l   n s l o o k u p :   c a n ' t   r e s o l v e   ' k u b e r n e t e s . d e f a u l t '",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/",
    "id": "k8s_00349_section_3_6702"
  },
  {
    "question": "What is Check if the DNS pod is running?",
    "answer": "U s e   t h e   k u b e c t l   g e t   p o d s   c o m m a n d   t o   v e r i f y   t h a t   t h e   D N S   p o d   i s   r u n n i n g .   k u b e c t l   g e t   p o d s   - - n a m e s p a c e = k u b e - s y s t e m   - l   k 8 s - a p p = k u b e - d n s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   . . .   c o r e d n s - 7 b 9 6 b f 9 f 7 6 - 5 h s x b   1 / 1   R u n n i n g   0   1 h   c o r e d n s - 7 b 9 6 b f 9 f 7 6 - m v m m t   1 / 1   R u n n i n g   0   1 h   . . .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/",
    "id": "k8s_00349_section_3_6703"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   s e e   t h a t   n o   C o r e D N S   P o d   i s   r u n n i n g   o r   t h a t   t h e   P o d   h a s   f a i l e d / c o m p l e t e d ,   t h e   D N S   a d d - o n   m a y   n o t   b e   d e p l o y e d   b y   d e f a u l t   i n   y o u r   c u r r e n t   e n v i r o n m e n t   a n d   y o u   w i l l   h a v e   t o   d e p l o y   i t   m a n u a l l y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/",
    "id": "k8s_00349_section_4_6704"
  },
  {
    "question": "What is Check for errors in the DNS pod?",
    "answer": "U s e   t h e   k u b e c t l   l o g s   c o m m a n d   t o   s e e   l o g s   f o r   t h e   D N S   c o n t a i n e r s .   F o r   C o r e D N S :   k u b e c t l   l o g s   - - n a m e s p a c e = k u b e - s y s t e m   - l   k 8 s - a p p = k u b e - d n s   H e r e   i s   a n   e x a m p l e   o f   a   h e a l t h y   C o r e D N S   l o g :   . : 5 3   2 0 1 8 / 0 8 / 1 5   1 4 : 3 7 : 1 7   [ I N F O ]   C o r e D N S - 1 . 2 . 2   2 0 1 8 / 0 8 / 1 5   1 4 : 3 7 : 1 7   [ I N F O ]   l i n u x / a m d 6 4 ,   g o 1 . 1 0 . 3 ,   2 e 3 2 2 f 6   C o r e D N S - 1 . 2 . 2   l i n u x / a m d 6 4 ,   g o 1 . 1 0 . 3 ,   2 e 3 2 2 f 6   2 0 1 8 / 0 8 / 1 5   1 4 : 3 7 : 1 7   [ I N F O ]   p l u g i n / r e l o a d :   R u n n i n g   c o n f i g u r a t i o n   M D 5   =   2 4 e 6 c 5 9 e 8 3 c e 7 0 6 f 0 7 b c c 8 2 c 3 1 b 1 e a 1 c   S e e   i f   t h e r e   a r e   a n y   s u s p i c i o u s   o r   u n e x p e c t e d   m e s s a g e s   i n   t h e   l o g s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/",
    "id": "k8s_00349_section_3_6705"
  },
  {
    "question": "What is Is DNS service up??",
    "answer": "V e r i f y   t h a t   t h e   D N S   s e r v i c e   i s   u p   b y   u s i n g   t h e   k u b e c t l   g e t   s e r v i c e   c o m m a n d .   k u b e c t l   g e t   s v c   - - n a m e s p a c e = k u b e - s y s t e m   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   . . .   k u b e - d n s   C l u s t e r I P   1 0 . 0 . 0 . 1 0   < n o n e >   5 3 / U D P , 5 3 / T C P   1 h   . . .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/",
    "id": "k8s_00349_section_3_6706"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   h a v e   c r e a t e d   t h e   S e r v i c e   o r   i n   t h e   c a s e   i t   s h o u l d   b e   c r e a t e d   b y   d e f a u l t   b u t   i t   d o e s   n o t   a p p e a r ,   s e e   d e b u g g i n g   S e r v i c e s   f o r   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/",
    "id": "k8s_00349_section_4_6707"
  },
  {
    "question": "What is Are DNS endpoints exposed??",
    "answer": "Y o u   c a n   v e r i f y   t h a t   D N S   e n d p o i n t s   a r e   e x p o s e d   b y   u s i n g   t h e   k u b e c t l   g e t   e n d p o i n t s l i c e   c o m m a n d .   k u b e c t l   g e t   e n d p o i n t s l i c e s   - l   k 8 s . i o / s e r v i c e - n a m e = k u b e - d n s   - - n a m e s p a c e = k u b e - s y s t e m   N A M E   A D D R E S S T Y P E   P O R T S   E N D P O I N T S   A G E   k u b e - d n s - z x o j a   I P v 4   5 3   1 0 . 1 8 0 . 3 . 1 7 , 1 0 . 1 8 0 . 3 . 1 7   1 h   I f   y o u   d o   n o t   s e e   t h e   e n d p o i n t s ,   s e e   t h e   e n d p o i n t s   s e c t i o n   i n   t h e   d e b u g g i n g   S e r v i c e s   d o c u m e n t a t i o n .   F o r   a d d i t i o n a l   K u b e r n e t e s   D N S   e x a m p l e s ,   s e e   t h e   c l u s t e r - d n s   e x a m p l e s   i n   t h e   K u b e r n e t e s   G i t H u b   r e p o s i t o r y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/",
    "id": "k8s_00349_section_3_6708"
  },
  {
    "question": "What is Are DNS queries being received/processed??",
    "answer": "Y o u   c a n   v e r i f y   i f   q u e r i e s   a r e   b e i n g   r e c e i v e d   b y   C o r e D N S   b y   a d d i n g   t h e   l o g   p l u g i n   t o   t h e   C o r e D N S   c o n f i g u r a t i o n   ( a k a   C o r e f i l e ) .   T h e   C o r e D N S   C o r e f i l e   i s   h e l d   i n   a   C o n f i g M a p   n a m e d   c o r e d n s .   T o   e d i t   i t ,   u s e   t h e   c o m m a n d :   k u b e c t l   - n   k u b e - s y s t e m   e d i t   c o n f i g m a p   c o r e d n s   T h e n   a d d   l o g   i n   t h e   C o r e f i l e   s e c t i o n   p e r   t h e   e x a m p l e   b e l o w :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   c o r e d n s   n a m e s p a c e :   k u b e - s y s t e m   d a t a :   C o r e f i l e :   |   . : 5 3   {   l o g   e r r o r s   h e a l t h   k u b e r n e t e s   c l u s t e r . l o c a l   i n - a d d r . a r p a   i p 6 . a r p a   {   p o d s   i n s e c u r e   u p s t r e a m   f a l l t h r o u g h   i n - a d d r . a r p a   i p 6 . a r p a   }   p r o m e t h e u s   : 9 1 5 3   f o r w a r d   .   / e t c / r e s o l v . c o n f   c a c h e   3 0   l o o p   r e l o a d   l o a d b a l a n c e   }   A f t e r   s a v i n g   t h e   c h a n g e s ,   i t   m a y   t a k e   u p   t o   m i n u t e   o r   t w o   f o r   K u b e r n e t e s   t o   p r o p a g a t e   t h e s e   c h a n g e s   t o   t h e   C o r e D N S   p o d s .   N e x t ,   m a k e   s o m e   q u e r i e s   a n d   v i e w   t h e   l o g s   p e r   t h e   s e c t i o n s   a b o v e   i n   t h i s   d o c u m e n t .   I f   C o r e D N S   p o d s   a r e   r e c e i v i n g   t h e   q u e r i e s ,   y o u   s h o u l d   s e e   t h e m   i n   t h e   l o g s .   H e r e   i s   a n   e x a m p l e   o f   a   q u e r y   i n   t h e   l o g :   . : 5 3   2 0 1 8 / 0 8 / 1 5   1 4 : 3 7 : 1 5   [ I N F O ]   C o r e D N S - 1 . 2 . 0   2 0 1 8 ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/",
    "id": "k8s_00349_section_3_6709"
  },
  {
    "question": "What is Does CoreDNS have sufficient permissions??",
    "answer": "C o r e D N S   m u s t   b e   a b l e   t o   l i s t   s e r v i c e   a n d   e n d p o i n t s l i c e   r e l a t e d   r e s o u r c e s   t o   p r o p e r l y   r e s o l v e   s e r v i c e   n a m e s .   S a m p l e   e r r o r   m e s s a g e :   2 0 2 2 - 0 3 - 1 8 T 0 7 : 1 2 : 1 5 . 6 9 9 4 3 1 1 8 3 Z   [ I N F O ]   1 0 . 9 6 . 1 4 4 . 2 2 7 : 5 2 2 9 9   -   3 6 8 6   \" A   I N   s e r v e r p r o x y . c o n t o s o . n e t . c l u s t e r . l o c a l .   u d p   5 2   f a l s e   5 1 2 \"   S E R V F A I L   q r , a a , r d   1 4 5   0 . 0 0 0 0 9 1 2 2 1 s   F i r s t ,   g e t   t h e   c u r r e n t   C l u s t e r R o l e   o f   s y s t e m : c o r e d n s :   k u b e c t l   d e s c r i b e   c l u s t e r r o l e   s y s t e m : c o r e d n s   - n   k u b e - s y s t e m   E x p e c t e d   o u t p u t :   P o l i c y R u l e :   R e s o u r c e s   N o n - R e s o u r c e   U R L s   R e s o u r c e   N a m e s   V e r b s   - - - - - - - - -   - - - - - - - - - - - - - - - - -   - - - - - - - - - - - - - -   - - - - -   e n d p o i n t s   [ ]   [ ]   [ l i s t   w a t c h ]   n a m e s p a c e s   [ ]   [ ]   [ l i s t   w a t c h ]   p o d s   [ ]   [ ]   [ l i s t   w a t c h ]   s e r v i c e s   [ ]   [ ]   [ l i s t   w a t c h ]   e n d p o i n t s l i c e s . d i s c o v e r y . k 8 s . i o   [ ]   [ ]   [ l i s t   w a t c h ]   I f   a n y   p e r m i s s i o n s   a r e   m i s s i n g ,   e d i t   t h e   C l u s t e r R o l e   t o   a d d   t h e m :   k u b e c t l   e d i t   c l u s t e r r o l e   s y s t e m : c o r e d n s   - n   k u b e - s y s t e m   E x a m p l e   i n s e r t i o n   o f   E n d p o i n t S l i c e s   p e r m i s s i o n s :   . . .   -   a p i G r o u p s :   -   d i s c o v e r y . k 8 s . i o   r e s o u r c e s :   -   e n d p o i n t s l i c e s   v e r b s :   -   l i s t   -   w a t c h   . . .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/",
    "id": "k8s_00349_section_3_6710"
  },
  {
    "question": "What is Are you in the right namespace for the service??",
    "answer": "D N S   q u e r i e s   t h a t   d o n ' t   s p e c i f y   a   n a m e s p a c e   a r e   l i m i t e d   t o   t h e   p o d ' s   n a m e s p a c e .   I f   t h e   n a m e s p a c e   o f   t h e   p o d   a n d   s e r v i c e   d i f f e r ,   t h e   D N S   q u e r y   m u s t   i n c l u d e   t h e   n a m e s p a c e   o f   t h e   s e r v i c e .   T h i s   q u e r y   i s   l i m i t e d   t o   t h e   p o d ' s   n a m e s p a c e :   k u b e c t l   e x e c   - i   - t   d n s u t i l s   - -   n s l o o k u p   < s e r v i c e - n a m e >   T h i s   q u e r y   s p e c i f i e s   t h e   n a m e s p a c e :   k u b e c t l   e x e c   - i   - t   d n s u t i l s   - -   n s l o o k u p   < s e r v i c e - n a m e > . < n a m e s p a c e >   T o   l e a r n   m o r e   a b o u t   n a m e   r e s o l u t i o n ,   s e e   D N S   f o r   S e r v i c e s   a n d   P o d s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/",
    "id": "k8s_00349_section_3_6711"
  },
  {
    "question": "What is Known issues?",
    "answer": "S o m e   L i n u x   d i s t r i b u t i o n s   ( e . g .   U b u n t u )   u s e   a   l o c a l   D N S   r e s o l v e r   b y   d e f a u l t   ( s y s t e m d - r e s o l v e d ) .   S y s t e m d - r e s o l v e d   m o v e s   a n d   r e p l a c e s   / e t c / r e s o l v . c o n f   w i t h   a   s t u b   f i l e   t h a t   c a n   c a u s e   a   f a t a l   f o r w a r d i n g   l o o p   w h e n   r e s o l v i n g   n a m e s   i n   u p s t r e a m   s e r v e r s .   T h i s   c a n   b e   f i x e d   m a n u a l l y   b y   u s i n g   k u b e l e t ' s   - - r e s o l v - c o n f   f l a g   t o   p o i n t   t o   t h e   c o r r e c t   r e s o l v . c o n f   ( W i t h   s y s t e m d - r e s o l v e d ,   t h i s   i s   / r u n / s y s t e m d / r e s o l v e / r e s o l v . c o n f ) .   k u b e a d m   a u t o m a t i c a l l y   d e t e c t s   s y s t e m d - r e s o l v e d ,   a n d   a d j u s t s   t h e   k u b e l e t   f l a g s   a c c o r d i n g l y .   K u b e r n e t e s   i n s t a l l s   d o   n o t   c o n f i g u r e   t h e   n o d e s '   r e s o l v . c o n f   f i l e s   t o   u s e   t h e   c l u s t e r   D N S   b y   d e f a u l t ,   b e c a u s e   t h a t   p r o c e s s   i s   i n h e r e n t l y   d i s t r i b u t i o n - s p e c i f i c .   T h i s   s h o u l d   p r o b a b l y   b e   i m p l e m e n t e d   e v e n t u a l l y .   L i n u x ' s   l i b c   ( a . k . a .   g l i b c )   h a s   a   l i m i t   f o r   t h e   D N S   n a m e s e r v e r   r e c o r d s   t o   3   b y   d e f a u l t   a n d   K u b e r n e t e s   n e e d s   t o   c o n s u m e   1   n a m e s e r v e r   r e c o r d .   T h i s   m e a n s   t h a t   i f   a   l o c a l   i n s t a l l a t i o n   a l r e a d y   u s e s   3   n a m e s e r v e r s ,   s o m e   o f   t h o s e   e n t r i e s   w i l l   b e   l o s t .   T o   w o r k   a r o u n d   t h i s   l i m i t ,   t h e   n o d e   c a n   r u n   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/",
    "id": "k8s_00349_section_2_6712"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   A u t o s c a l i n g   t h e   D N S   S e r v i c e   i n   a   C l u s t e r . R e a d   D N S   f o r   S e r v i c e s   a n d   P o d s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/",
    "id": "k8s_00349_section_2_6713"
  },
  {
    "question": "What is Adding entries to Pod /etc/hosts with HostAliases?",
    "answer": "Adding entries to Pod /etc/hosts with HostAliasesAdding entries to a Pod's /etc/hosts file provides Pod-level override of hostname resolution when DNS and other options are not applicable. You can add these custom entries with the HostAliases field in PodSpec.The Kubernetes project recommends modifying DNS configuration using the hostAliases field (part of the .spec for a Pod), and not by using an init container or other means to edit /etc/hosts directly. Change made in other ways may be overwritten by the kubelet during Pod creation or restart.Default hosts file contentStart an Nginx Pod which is assigned a Pod IP:kubectl run nginx --image nginx pod/nginx created Examine a Pod IP:kubectl get pods --output=wide NAME READY STATUS RESTARTS AGE IP NODE nginx 1/1 Running 0 13s 10.200.0.4 worker0 The hosts file content would look like this:kubectl exec nginx -- cat /etc/hosts # Kubernetes-managed hosts file. 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet fe00::0 ip6-mcastprefix fe00::1 ip6-allnodes fe00::2 ip6-allrouters 10.200.0.4 nginx By default, the hosts file only includes IPv4 and IPv6 boilerplates like localhost and its own hostname.Adding additional entries with hostAliasesIn addition to the default boilerplate, you can add additional entries to the hosts file. For example: to resolve foo.local, bar.local to 127.0.0.1 and foo.remote, bar.remote to 10.1.2.3, you can configure HostAliases for a Pod under .spec.hostAliases:service/networking/hostaliases-pod.yaml apiVersion: v1 kind: Pod metadata: name: hostaliases-pod spec: restartPolicy: Never hostAliases: - ip: \"127.0.0.1\" hostnames: - \"foo.local\" - \"bar.local\" - ip: \"10.1.2.3\" hostnames: - \"foo.remote\" - \"bar.remote\" containers: - name: cat-hosts image: busybox:1.28 command: - cat args: - \"/etc/hosts\" You can start a Pod with that configuration by running:kubectl apply -f https://k8s.io/examples/service/networking/hostaliases-pod.yaml pod/hostaliases-pod created Examine a Pod's details to see its IPv4 address and its status:kubectl get pod --output=wide NAME READY STATUS RESTARTS AGE IP NODE hostaliases-pod 0/1 Completed 0 6s 10.200.0.5 worker0 The hosts file content looks like this:kubectl logs hostaliases-pod # Kubernetes-managed hosts file. 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet fe00::0 ip6-mcastprefix fe00::1 ip6-allnodes fe00::2 ip6-allrouters 10.200.0.5 hostaliases-pod # Entries added by HostAliases. 127.0.0.1 foo.local bar.local 10.1.2.3 foo.remote bar.remote with the additional entries specified at the bottom.Why does the kubelet manage the hosts file?The kubelet manages the hosts file for each container of the Pod to prevent the container runtime from modifying the file after the containers have already been started. Historically, Kubernetes always used Docker Engine as its container runtime, and Docker Engine would then modify the /etc/hosts file after each container had started.Current Kubernetes can use a",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/network/customize-hosts-file-for-pods/",
    "id": "k8s_00350_qa_6714"
  },
  {
    "question": "How does Adding entries to Pod /etc/hosts with HostAliases work?",
    "answer": "Adding entries to Pod /etc/hosts with HostAliasesAdding entries to a Pod's /etc/hosts file provides Pod-level override of hostname resolution when DNS and other options are not applicable. You can add these custom entries with the HostAliases field in PodSpec.The Kubernetes project recommends modifying DNS configuration using the hostAliases field (part of the .spec for a Pod), and not by using an init container or other means to edit /etc/hosts directly. Change made in other ways may be overwritten by the kubelet during Pod creation or restart.Default hosts file contentStart an Nginx Pod which is assigned a Pod IP:kubectl run nginx --image nginx pod/nginx created Examine a Pod IP:kubectl get pods --output=wide NAME READY STATUS RESTARTS AGE IP NODE nginx 1/1 Running 0 13s 10.200.0.4 worker0 The hosts file content would look like this:kubectl exec nginx -- cat /etc/hosts # Kubernetes-managed hosts file. 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet fe00::0 ip6-mcastprefix fe00::1 ip6-allnodes fe00::2 ip6-allrouters 10.200.0.4 nginx By default, the hosts file only includes IPv4 and IPv6 boilerplates like localhost and its own hostname.Adding additional entries with hostAliasesIn addition to the default boilerplate, you can add additional entries to the hosts file. For example: to resolve foo.local, bar.local to 127.0.0.1 and foo.remote, bar.remote to 10.1.2.3, you can configure HostAliases for a Pod under .spec.hostAliases:service/networking/hostaliases-pod.yaml apiVersion: v1 kind: Pod metadata: name: hostaliases-pod spec: restartPolicy: Never hostAliases: - ip: \"127.0.0.1\" hostnames: - \"foo.local\" - \"bar.local\" - ip: \"10.1.2.3\" hostnames: - \"foo.remote\" - \"bar.remote\" containers: - name: cat-hosts image: busybox:1.28 command: - cat args: - \"/etc/hosts\" You can start a Pod with that configuration by running:kubectl apply -f https://k8s.io/examples/service/networking/hostaliases-pod.yaml pod/hostaliases-pod created Examine a Pod's details to see its IPv4 address and its status:kubectl get pod --output=wide NAME READY STATUS RESTARTS AGE IP NODE hostaliases-pod 0/1 Completed 0 6s 10.200.0.5 worker0 The hosts file content looks like this:kubectl logs hostaliases-pod # Kubernetes-managed hosts file. 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet fe00::0 ip6-mcastprefix fe00::1 ip6-allnodes fe00::2 ip6-allrouters 10.200.0.5 hostaliases-pod # Entries added by HostAliases. 127.0.0.1 foo.local bar.local 10.1.2.3 foo.remote bar.remote with the additional entries specified at the bottom.Why does the kubelet manage the hosts file?The kubelet manages the hosts file for each container of the Pod to prevent the container runtime from modifying the file after the containers have already been started. Historically, Kubernetes always used Docker Engine as its container runtime, and Docker Engine would then modify the /etc/hosts file after each container had started.Current Kubernetes can use a",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/network/customize-hosts-file-for-pods/",
    "id": "k8s_00350_qa_6715"
  },
  {
    "question": "When would you use Adding entries to Pod /etc/hosts with HostAliases?",
    "answer": "Adding entries to Pod /etc/hosts with HostAliasesAdding entries to a Pod's /etc/hosts file provides Pod-level override of hostname resolution when DNS and other options are not applicable. You can add these custom entries with the HostAliases field in PodSpec.The Kubernetes project recommends modifying DNS configuration using the hostAliases field (part of the .spec for a Pod), and not by using an init container or other means to edit /etc/hosts directly. Change made in other ways may be overwritten by the kubelet during Pod creation or restart.Default hosts file contentStart an Nginx Pod which is assigned a Pod IP:kubectl run nginx --image nginx pod/nginx created Examine a Pod IP:kubectl get pods --output=wide NAME READY STATUS RESTARTS AGE IP NODE nginx 1/1 Running 0 13s 10.200.0.4 worker0 The hosts file content would look like this:kubectl exec nginx -- cat /etc/hosts # Kubernetes-managed hosts file. 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet fe00::0 ip6-mcastprefix fe00::1 ip6-allnodes fe00::2 ip6-allrouters 10.200.0.4 nginx By default, the hosts file only includes IPv4 and IPv6 boilerplates like localhost and its own hostname.Adding additional entries with hostAliasesIn addition to the default boilerplate, you can add additional entries to the hosts file. For example: to resolve foo.local, bar.local to 127.0.0.1 and foo.remote, bar.remote to 10.1.2.3, you can configure HostAliases for a Pod under .spec.hostAliases:service/networking/hostaliases-pod.yaml apiVersion: v1 kind: Pod metadata: name: hostaliases-pod spec: restartPolicy: Never hostAliases: - ip: \"127.0.0.1\" hostnames: - \"foo.local\" - \"bar.local\" - ip: \"10.1.2.3\" hostnames: - \"foo.remote\" - \"bar.remote\" containers: - name: cat-hosts image: busybox:1.28 command: - cat args: - \"/etc/hosts\" You can start a Pod with that configuration by running:kubectl apply -f https://k8s.io/examples/service/networking/hostaliases-pod.yaml pod/hostaliases-pod created Examine a Pod's details to see its IPv4 address and its status:kubectl get pod --output=wide NAME READY STATUS RESTARTS AGE IP NODE hostaliases-pod 0/1 Completed 0 6s 10.200.0.5 worker0 The hosts file content looks like this:kubectl logs hostaliases-pod # Kubernetes-managed hosts file. 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet fe00::0 ip6-mcastprefix fe00::1 ip6-allnodes fe00::2 ip6-allrouters 10.200.0.5 hostaliases-pod # Entries added by HostAliases. 127.0.0.1 foo.local bar.local 10.1.2.3 foo.remote bar.remote with the additional entries specified at the bottom.Why does the kubelet manage the hosts file?The kubelet manages the hosts file for each container of the Pod to prevent the container runtime from modifying the file after the containers have already been started. Historically, Kubernetes always used Docker Engine as its container runtime, and Docker Engine would then modify the /etc/hosts file after each container had started.Current Kubernetes can use a",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/network/customize-hosts-file-for-pods/",
    "id": "k8s_00350_qa_6716"
  },
  {
    "question": "What are the benefits of Adding entries to Pod /etc/hosts with HostAliases?",
    "answer": "Adding entries to Pod /etc/hosts with HostAliasesAdding entries to a Pod's /etc/hosts file provides Pod-level override of hostname resolution when DNS and other options are not applicable. You can add these custom entries with the HostAliases field in PodSpec.The Kubernetes project recommends modifying DNS configuration using the hostAliases field (part of the .spec for a Pod), and not by using an init container or other means to edit /etc/hosts directly. Change made in other ways may be overwritten by the kubelet during Pod creation or restart.Default hosts file contentStart an Nginx Pod which is assigned a Pod IP:kubectl run nginx --image nginx pod/nginx created Examine a Pod IP:kubectl get pods --output=wide NAME READY STATUS RESTARTS AGE IP NODE nginx 1/1 Running 0 13s 10.200.0.4 worker0 The hosts file content would look like this:kubectl exec nginx -- cat /etc/hosts # Kubernetes-managed hosts file. 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet fe00::0 ip6-mcastprefix fe00::1 ip6-allnodes fe00::2 ip6-allrouters 10.200.0.4 nginx By default, the hosts file only includes IPv4 and IPv6 boilerplates like localhost and its own hostname.Adding additional entries with hostAliasesIn addition to the default boilerplate, you can add additional entries to the hosts file. For example: to resolve foo.local, bar.local to 127.0.0.1 and foo.remote, bar.remote to 10.1.2.3, you can configure HostAliases for a Pod under .spec.hostAliases:service/networking/hostaliases-pod.yaml apiVersion: v1 kind: Pod metadata: name: hostaliases-pod spec: restartPolicy: Never hostAliases: - ip: \"127.0.0.1\" hostnames: - \"foo.local\" - \"bar.local\" - ip: \"10.1.2.3\" hostnames: - \"foo.remote\" - \"bar.remote\" containers: - name: cat-hosts image: busybox:1.28 command: - cat args: - \"/etc/hosts\" You can start a Pod with that configuration by running:kubectl apply -f https://k8s.io/examples/service/networking/hostaliases-pod.yaml pod/hostaliases-pod created Examine a Pod's details to see its IPv4 address and its status:kubectl get pod --output=wide NAME READY STATUS RESTARTS AGE IP NODE hostaliases-pod 0/1 Completed 0 6s 10.200.0.5 worker0 The hosts file content looks like this:kubectl logs hostaliases-pod # Kubernetes-managed hosts file. 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet fe00::0 ip6-mcastprefix fe00::1 ip6-allnodes fe00::2 ip6-allrouters 10.200.0.5 hostaliases-pod # Entries added by HostAliases. 127.0.0.1 foo.local bar.local 10.1.2.3 foo.remote bar.remote with the additional entries specified at the bottom.Why does the kubelet manage the hosts file?The kubelet manages the hosts file for each container of the Pod to prevent the container runtime from modifying the file after the containers have already been started. Historically, Kubernetes always used Docker Engine as its container runtime, and Docker Engine would then modify the /etc/hosts file after each container had started.Current Kubernetes can use a",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/network/customize-hosts-file-for-pods/",
    "id": "k8s_00350_qa_6717"
  },
  {
    "question": "What is Adding entries to Pod /etc/hosts with HostAliases?",
    "answer": "A d d i n g   e n t r i e s   t o   a   P o d ' s   / e t c / h o s t s   f i l e   p r o v i d e s   P o d - l e v e l   o v e r r i d e   o f   h o s t n a m e   r e s o l u t i o n   w h e n   D N S   a n d   o t h e r   o p t i o n s   a r e   n o t   a p p l i c a b l e .   Y o u   c a n   a d d   t h e s e   c u s t o m   e n t r i e s   w i t h   t h e   H o s t A l i a s e s   f i e l d   i n   P o d S p e c .   T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   m o d i f y i n g   D N S   c o n f i g u r a t i o n   u s i n g   t h e   h o s t A l i a s e s   f i e l d   ( p a r t   o f   t h e   . s p e c   f o r   a   P o d ) ,   a n d   n o t   b y   u s i n g   a n   i n i t   c o n t a i n e r   o r   o t h e r   m e a n s   t o   e d i t   / e t c / h o s t s   d i r e c t l y .   C h a n g e   m a d e   i n   o t h e r   w a y s   m a y   b e   o v e r w r i t t e n   b y   t h e   k u b e l e t   d u r i n g   P o d   c r e a t i o n   o r   r e s t a r t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/network/customize-hosts-file-for-pods/",
    "id": "k8s_00350_section_1_6718"
  },
  {
    "question": "What is Default hosts file content?",
    "answer": "S t a r t   a n   N g i n x   P o d   w h i c h   i s   a s s i g n e d   a   P o d   I P :   k u b e c t l   r u n   n g i n x   - - i m a g e   n g i n x   p o d / n g i n x   c r e a t e d   E x a m i n e   a   P o d   I P :   k u b e c t l   g e t   p o d s   - - o u t p u t = w i d e   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   n g i n x   1 / 1   R u n n i n g   0   1 3 s   1 0 . 2 0 0 . 0 . 4   w o r k e r 0   T h e   h o s t s   f i l e   c o n t e n t   w o u l d   l o o k   l i k e   t h i s :   k u b e c t l   e x e c   n g i n x   - -   c a t   / e t c / h o s t s   #   K u b e r n e t e s - m a n a g e d   h o s t s   f i l e .   1 2 7 . 0 . 0 . 1   l o c a l h o s t   : : 1   l o c a l h o s t   i p 6 - l o c a l h o s t   i p 6 - l o o p b a c k   f e 0 0 : : 0   i p 6 - l o c a l n e t   f e 0 0 : : 0   i p 6 - m c a s t p r e f i x   f e 0 0 : : 1   i p 6 - a l l n o d e s   f e 0 0 : : 2   i p 6 - a l l r o u t e r s   1 0 . 2 0 0 . 0 . 4   n g i n x   B y   d e f a u l t ,   t h e   h o s t s   f i l e   o n l y   i n c l u d e s   I P v 4   a n d   I P v 6   b o i l e r p l a t e s   l i k e   l o c a l h o s t   a n d   i t s   o w n   h o s t n a m e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/network/customize-hosts-file-for-pods/",
    "id": "k8s_00350_section_2_6719"
  },
  {
    "question": "What is Adding additional entries with hostAliases?",
    "answer": "I n   a d d i t i o n   t o   t h e   d e f a u l t   b o i l e r p l a t e ,   y o u   c a n   a d d   a d d i t i o n a l   e n t r i e s   t o   t h e   h o s t s   f i l e .   F o r   e x a m p l e :   t o   r e s o l v e   f o o . l o c a l ,   b a r . l o c a l   t o   1 2 7 . 0 . 0 . 1   a n d   f o o . r e m o t e ,   b a r . r e m o t e   t o   1 0 . 1 . 2 . 3 ,   y o u   c a n   c o n f i g u r e   H o s t A l i a s e s   f o r   a   P o d   u n d e r   . s p e c . h o s t A l i a s e s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   h o s t a l i a s e s - p o d   s p e c :   r e s t a r t P o l i c y :   N e v e r   h o s t A l i a s e s :   -   i p :   \" 1 2 7 . 0 . 0 . 1 \"   h o s t n a m e s :   -   \" f o o . l o c a l \"   -   \" b a r . l o c a l \"   -   i p :   \" 1 0 . 1 . 2 . 3 \"   h o s t n a m e s :   -   \" f o o . r e m o t e \"   -   \" b a r . r e m o t e \"   c o n t a i n e r s :   -   n a m e :   c a t - h o s t s   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   -   c a t   a r g s :   -   \" / e t c / h o s t s \"   Y o u   c a n   s t a r t   a   P o d   w i t h   t h a t   c o n f i g u r a t i o n   b y   r u n n i n g :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / s e r v i c e / n e t w o r k i n g / h o s t a l i a s e s - p o d . y a m l   p o d / h o s t a l i a s e s - p o d   c r e a t e d   E x a m i n e   a   P o d ' s   d e t a i l s   t o   s e e   i t s   I P v 4   a d d r e s s   a n d   i t s   s t a t u s :   k u b e c t l   g e t   p o d   - - o u t p u t = w i d e   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   h o s t a l i a s e s - p o d   0 / 1   C o m p l e t e d   0   6 s   1 0 . 2 0 0 . 0 . 5   w o r k e r 0   T h e   h o s t s   f i l e   c o n t e n t   l o o k s   l i k e   t h i s :   k u b e c t l   l o g s   h o s t a l i a s e s - p o d   #   K u b e r n e t e s - m a n a g e d   h o s t s   f ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/network/customize-hosts-file-for-pods/",
    "id": "k8s_00350_section_2_6720"
  },
  {
    "question": "What is Why does the kubelet manage the hosts file??",
    "answer": "T h e   k u b e l e t   m a n a g e s   t h e   h o s t s   f i l e   f o r   e a c h   c o n t a i n e r   o f   t h e   P o d   t o   p r e v e n t   t h e   c o n t a i n e r   r u n t i m e   f r o m   m o d i f y i n g   t h e   f i l e   a f t e r   t h e   c o n t a i n e r s   h a v e   a l r e a d y   b e e n   s t a r t e d .   H i s t o r i c a l l y ,   K u b e r n e t e s   a l w a y s   u s e d   D o c k e r   E n g i n e   a s   i t s   c o n t a i n e r   r u n t i m e ,   a n d   D o c k e r   E n g i n e   w o u l d   t h e n   m o d i f y   t h e   / e t c / h o s t s   f i l e   a f t e r   e a c h   c o n t a i n e r   h a d   s t a r t e d .   C u r r e n t   K u b e r n e t e s   c a n   u s e   a   v a r i e t y   o f   c o n t a i n e r   r u n t i m e s ;   e v e n   s o ,   t h e   k u b e l e t   m a n a g e s   t h e   h o s t s   f i l e   w i t h i n   e a c h   c o n t a i n e r   s o   t h a t   t h e   o u t c o m e   i s   a s   i n t e n d e d   r e g a r d l e s s   o f   w h i c h   c o n t a i n e r   r u n t i m e   y o u   u s e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/network/customize-hosts-file-for-pods/",
    "id": "k8s_00350_section_2_6721"
  },
  {
    "question": "What is Caution:?",
    "answer": "A v o i d   m a k i n g   m a n u a l   c h a n g e s   t o   t h e   h o s t s   f i l e   i n s i d e   a   c o n t a i n e r .   I f   y o u   m a k e   m a n u a l   c h a n g e s   t o   t h e   h o s t s   f i l e ,   t h o s e   c h a n g e s   a r e   l o s t   w h e n   t h e   c o n t a i n e r   e x i t s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/network/customize-hosts-file-for-pods/",
    "id": "k8s_00350_section_4_6722"
  },
  {
    "question": "What is Kubernetes Object Management?",
    "answer": "Kubernetes Object ManagementThe kubectl command-line tool supports several different ways to create and manage Kubernetes objects. This document provides an overview of the different approaches. Read the Kubectl book for details of managing objects by Kubectl.Management techniquesWarning:A Kubernetes object should be managed using only one technique. Mixing and matching techniques for the same object results in undefined behavior.Management techniqueOperates onRecommended environmentSupported writersLearning curveImperative commandsLive objectsDevelopment projects1+LowestImperative object configurationIndividual filesProduction projects1ModerateDeclarative object configurationDirectories of filesProduction projects1+HighestImperative commandsWhen using imperative commands, a user operates directly on live objects in a cluster. The user provides operations to the kubectl command as arguments or flags.This is the recommended way to get started or to run a one-off task in a cluster. Because this technique operates directly on live objects, it provides no history of previous configurations.ExamplesRun an instance of the nginx container by creating a Deployment object:kubectl create deployment nginx --image nginx Trade-offsAdvantages compared to object configuration:Commands are expressed as a single action word.Commands require only a single step to make changes to the cluster.Disadvantages compared to object configuration:Commands do not integrate with change review processes.Commands do not provide an audit trail associated with changes.Commands do not provide a source of records except for what is live.Commands do not provide a template for creating new objects.Imperative object configurationIn imperative object configuration, the kubectl command specifies the operation (create, replace, etc.), optional flags and at least one file name. The file specified must contain a full definition of the object in YAML or JSON format.See the API reference for more details on object definitions.Warning:The imperative replace command replaces the existing spec with the newly provided one, dropping all changes to the object missing from the configuration file. This approach should not be used with resource types whose specs are updated independently of the configuration file. Services of type LoadBalancer, for example, have their externalIPs field updated independently from the configuration by the cluster.ExamplesCreate the objects defined in a configuration file:kubectl create -f nginx.yaml Delete the objects defined in two configuration files:kubectl delete -f nginx.yaml -f redis.yaml Update the objects defined in a configuration file by overwriting the live configuration:kubectl replace -f nginx.yaml Trade-offsAdvantages compared to imperative commands:Object configuration can be stored in a source control system such as Git.Object configuration can integrate with processes such as reviewing changes before push and audit trails.Object configuration provides ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/object-management/",
    "id": "k8s_00351_qa_6723"
  },
  {
    "question": "How does Kubernetes Object Management work?",
    "answer": "Kubernetes Object ManagementThe kubectl command-line tool supports several different ways to create and manage Kubernetes objects. This document provides an overview of the different approaches. Read the Kubectl book for details of managing objects by Kubectl.Management techniquesWarning:A Kubernetes object should be managed using only one technique. Mixing and matching techniques for the same object results in undefined behavior.Management techniqueOperates onRecommended environmentSupported writersLearning curveImperative commandsLive objectsDevelopment projects1+LowestImperative object configurationIndividual filesProduction projects1ModerateDeclarative object configurationDirectories of filesProduction projects1+HighestImperative commandsWhen using imperative commands, a user operates directly on live objects in a cluster. The user provides operations to the kubectl command as arguments or flags.This is the recommended way to get started or to run a one-off task in a cluster. Because this technique operates directly on live objects, it provides no history of previous configurations.ExamplesRun an instance of the nginx container by creating a Deployment object:kubectl create deployment nginx --image nginx Trade-offsAdvantages compared to object configuration:Commands are expressed as a single action word.Commands require only a single step to make changes to the cluster.Disadvantages compared to object configuration:Commands do not integrate with change review processes.Commands do not provide an audit trail associated with changes.Commands do not provide a source of records except for what is live.Commands do not provide a template for creating new objects.Imperative object configurationIn imperative object configuration, the kubectl command specifies the operation (create, replace, etc.), optional flags and at least one file name. The file specified must contain a full definition of the object in YAML or JSON format.See the API reference for more details on object definitions.Warning:The imperative replace command replaces the existing spec with the newly provided one, dropping all changes to the object missing from the configuration file. This approach should not be used with resource types whose specs are updated independently of the configuration file. Services of type LoadBalancer, for example, have their externalIPs field updated independently from the configuration by the cluster.ExamplesCreate the objects defined in a configuration file:kubectl create -f nginx.yaml Delete the objects defined in two configuration files:kubectl delete -f nginx.yaml -f redis.yaml Update the objects defined in a configuration file by overwriting the live configuration:kubectl replace -f nginx.yaml Trade-offsAdvantages compared to imperative commands:Object configuration can be stored in a source control system such as Git.Object configuration can integrate with processes such as reviewing changes before push and audit trails.Object configuration provides ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/object-management/",
    "id": "k8s_00351_qa_6724"
  },
  {
    "question": "When would you use Kubernetes Object Management?",
    "answer": "Kubernetes Object ManagementThe kubectl command-line tool supports several different ways to create and manage Kubernetes objects. This document provides an overview of the different approaches. Read the Kubectl book for details of managing objects by Kubectl.Management techniquesWarning:A Kubernetes object should be managed using only one technique. Mixing and matching techniques for the same object results in undefined behavior.Management techniqueOperates onRecommended environmentSupported writersLearning curveImperative commandsLive objectsDevelopment projects1+LowestImperative object configurationIndividual filesProduction projects1ModerateDeclarative object configurationDirectories of filesProduction projects1+HighestImperative commandsWhen using imperative commands, a user operates directly on live objects in a cluster. The user provides operations to the kubectl command as arguments or flags.This is the recommended way to get started or to run a one-off task in a cluster. Because this technique operates directly on live objects, it provides no history of previous configurations.ExamplesRun an instance of the nginx container by creating a Deployment object:kubectl create deployment nginx --image nginx Trade-offsAdvantages compared to object configuration:Commands are expressed as a single action word.Commands require only a single step to make changes to the cluster.Disadvantages compared to object configuration:Commands do not integrate with change review processes.Commands do not provide an audit trail associated with changes.Commands do not provide a source of records except for what is live.Commands do not provide a template for creating new objects.Imperative object configurationIn imperative object configuration, the kubectl command specifies the operation (create, replace, etc.), optional flags and at least one file name. The file specified must contain a full definition of the object in YAML or JSON format.See the API reference for more details on object definitions.Warning:The imperative replace command replaces the existing spec with the newly provided one, dropping all changes to the object missing from the configuration file. This approach should not be used with resource types whose specs are updated independently of the configuration file. Services of type LoadBalancer, for example, have their externalIPs field updated independently from the configuration by the cluster.ExamplesCreate the objects defined in a configuration file:kubectl create -f nginx.yaml Delete the objects defined in two configuration files:kubectl delete -f nginx.yaml -f redis.yaml Update the objects defined in a configuration file by overwriting the live configuration:kubectl replace -f nginx.yaml Trade-offsAdvantages compared to imperative commands:Object configuration can be stored in a source control system such as Git.Object configuration can integrate with processes such as reviewing changes before push and audit trails.Object configuration provides ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/object-management/",
    "id": "k8s_00351_qa_6725"
  },
  {
    "question": "What are the benefits of Kubernetes Object Management?",
    "answer": "Kubernetes Object ManagementThe kubectl command-line tool supports several different ways to create and manage Kubernetes objects. This document provides an overview of the different approaches. Read the Kubectl book for details of managing objects by Kubectl.Management techniquesWarning:A Kubernetes object should be managed using only one technique. Mixing and matching techniques for the same object results in undefined behavior.Management techniqueOperates onRecommended environmentSupported writersLearning curveImperative commandsLive objectsDevelopment projects1+LowestImperative object configurationIndividual filesProduction projects1ModerateDeclarative object configurationDirectories of filesProduction projects1+HighestImperative commandsWhen using imperative commands, a user operates directly on live objects in a cluster. The user provides operations to the kubectl command as arguments or flags.This is the recommended way to get started or to run a one-off task in a cluster. Because this technique operates directly on live objects, it provides no history of previous configurations.ExamplesRun an instance of the nginx container by creating a Deployment object:kubectl create deployment nginx --image nginx Trade-offsAdvantages compared to object configuration:Commands are expressed as a single action word.Commands require only a single step to make changes to the cluster.Disadvantages compared to object configuration:Commands do not integrate with change review processes.Commands do not provide an audit trail associated with changes.Commands do not provide a source of records except for what is live.Commands do not provide a template for creating new objects.Imperative object configurationIn imperative object configuration, the kubectl command specifies the operation (create, replace, etc.), optional flags and at least one file name. The file specified must contain a full definition of the object in YAML or JSON format.See the API reference for more details on object definitions.Warning:The imperative replace command replaces the existing spec with the newly provided one, dropping all changes to the object missing from the configuration file. This approach should not be used with resource types whose specs are updated independently of the configuration file. Services of type LoadBalancer, for example, have their externalIPs field updated independently from the configuration by the cluster.ExamplesCreate the objects defined in a configuration file:kubectl create -f nginx.yaml Delete the objects defined in two configuration files:kubectl delete -f nginx.yaml -f redis.yaml Update the objects defined in a configuration file by overwriting the live configuration:kubectl replace -f nginx.yaml Trade-offsAdvantages compared to imperative commands:Object configuration can be stored in a source control system such as Git.Object configuration can integrate with processes such as reviewing changes before push and audit trails.Object configuration provides ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/object-management/",
    "id": "k8s_00351_qa_6726"
  },
  {
    "question": "What is Kubernetes Object Management?",
    "answer": "T h e   k u b e c t l   c o m m a n d - l i n e   t o o l   s u p p o r t s   s e v e r a l   d i f f e r e n t   w a y s   t o   c r e a t e   a n d   m a n a g e   K u b e r n e t e s   o b j e c t s .   T h i s   d o c u m e n t   p r o v i d e s   a n   o v e r v i e w   o f   t h e   d i f f e r e n t   a p p r o a c h e s .   R e a d   t h e   K u b e c t l   b o o k   f o r   d e t a i l s   o f   m a n a g i n g   o b j e c t s   b y   K u b e c t l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/object-management/",
    "id": "k8s_00351_section_1_6727"
  },
  {
    "question": "What is Imperative commands?",
    "answer": "W h e n   u s i n g   i m p e r a t i v e   c o m m a n d s ,   a   u s e r   o p e r a t e s   d i r e c t l y   o n   l i v e   o b j e c t s   i n   a   c l u s t e r .   T h e   u s e r   p r o v i d e s   o p e r a t i o n s   t o   t h e   k u b e c t l   c o m m a n d   a s   a r g u m e n t s   o r   f l a g s .   T h i s   i s   t h e   r e c o m m e n d e d   w a y   t o   g e t   s t a r t e d   o r   t o   r u n   a   o n e - o f f   t a s k   i n   a   c l u s t e r .   B e c a u s e   t h i s   t e c h n i q u e   o p e r a t e s   d i r e c t l y   o n   l i v e   o b j e c t s ,   i t   p r o v i d e s   n o   h i s t o r y   o f   p r e v i o u s   c o n f i g u r a t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/object-management/",
    "id": "k8s_00351_section_2_6728"
  },
  {
    "question": "What is Examples?",
    "answer": "R u n   a n   i n s t a n c e   o f   t h e   n g i n x   c o n t a i n e r   b y   c r e a t i n g   a   D e p l o y m e n t   o b j e c t :   k u b e c t l   c r e a t e   d e p l o y m e n t   n g i n x   - - i m a g e   n g i n x",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/object-management/",
    "id": "k8s_00351_section_3_6729"
  },
  {
    "question": "What is Trade-offs?",
    "answer": "A d v a n t a g e s   c o m p a r e d   t o   o b j e c t   c o n f i g u r a t i o n :   C o m m a n d s   a r e   e x p r e s s e d   a s   a   s i n g l e   a c t i o n   w o r d . C o m m a n d s   r e q u i r e   o n l y   a   s i n g l e   s t e p   t o   m a k e   c h a n g e s   t o   t h e   c l u s t e r .   D i s a d v a n t a g e s   c o m p a r e d   t o   o b j e c t   c o n f i g u r a t i o n :   C o m m a n d s   d o   n o t   i n t e g r a t e   w i t h   c h a n g e   r e v i e w   p r o c e s s e s . C o m m a n d s   d o   n o t   p r o v i d e   a n   a u d i t   t r a i l   a s s o c i a t e d   w i t h   c h a n g e s . C o m m a n d s   d o   n o t   p r o v i d e   a   s o u r c e   o f   r e c o r d s   e x c e p t   f o r   w h a t   i s   l i v e . C o m m a n d s   d o   n o t   p r o v i d e   a   t e m p l a t e   f o r   c r e a t i n g   n e w   o b j e c t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/object-management/",
    "id": "k8s_00351_section_3_6730"
  },
  {
    "question": "What is Imperative object configuration?",
    "answer": "I n   i m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n ,   t h e   k u b e c t l   c o m m a n d   s p e c i f i e s   t h e   o p e r a t i o n   ( c r e a t e ,   r e p l a c e ,   e t c . ) ,   o p t i o n a l   f l a g s   a n d   a t   l e a s t   o n e   f i l e   n a m e .   T h e   f i l e   s p e c i f i e d   m u s t   c o n t a i n   a   f u l l   d e f i n i t i o n   o f   t h e   o b j e c t   i n   Y A M L   o r   J S O N   f o r m a t .   S e e   t h e   A P I   r e f e r e n c e   f o r   m o r e   d e t a i l s   o n   o b j e c t   d e f i n i t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/object-management/",
    "id": "k8s_00351_section_2_6731"
  },
  {
    "question": "What is Examples?",
    "answer": "C r e a t e   t h e   o b j e c t s   d e f i n e d   i n   a   c o n f i g u r a t i o n   f i l e :   k u b e c t l   c r e a t e   - f   n g i n x . y a m l   D e l e t e   t h e   o b j e c t s   d e f i n e d   i n   t w o   c o n f i g u r a t i o n   f i l e s :   k u b e c t l   d e l e t e   - f   n g i n x . y a m l   - f   r e d i s . y a m l   U p d a t e   t h e   o b j e c t s   d e f i n e d   i n   a   c o n f i g u r a t i o n   f i l e   b y   o v e r w r i t i n g   t h e   l i v e   c o n f i g u r a t i o n :   k u b e c t l   r e p l a c e   - f   n g i n x . y a m l",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/object-management/",
    "id": "k8s_00351_section_3_6732"
  },
  {
    "question": "What is Trade-offs?",
    "answer": "A d v a n t a g e s   c o m p a r e d   t o   i m p e r a t i v e   c o m m a n d s :   O b j e c t   c o n f i g u r a t i o n   c a n   b e   s t o r e d   i n   a   s o u r c e   c o n t r o l   s y s t e m   s u c h   a s   G i t . O b j e c t   c o n f i g u r a t i o n   c a n   i n t e g r a t e   w i t h   p r o c e s s e s   s u c h   a s   r e v i e w i n g   c h a n g e s   b e f o r e   p u s h   a n d   a u d i t   t r a i l s . O b j e c t   c o n f i g u r a t i o n   p r o v i d e s   a   t e m p l a t e   f o r   c r e a t i n g   n e w   o b j e c t s .   D i s a d v a n t a g e s   c o m p a r e d   t o   i m p e r a t i v e   c o m m a n d s :   O b j e c t   c o n f i g u r a t i o n   r e q u i r e s   b a s i c   u n d e r s t a n d i n g   o f   t h e   o b j e c t   s c h e m a . O b j e c t   c o n f i g u r a t i o n   r e q u i r e s   t h e   a d d i t i o n a l   s t e p   o f   w r i t i n g   a   Y A M L   f i l e .   A d v a n t a g e s   c o m p a r e d   t o   d e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n :   I m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n   b e h a v i o r   i s   s i m p l e r   a n d   e a s i e r   t o   u n d e r s t a n d . A s   o f   K u b e r n e t e s   v e r s i o n   1 . 5 ,   i m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n   i s   m o r e   m a t u r e .   D i s a d v a n t a g e s   c o m p a r e d   t o   d e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n :   I m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n   w o r k s   b e s t   o n   f i l e s ,   n o t   d i r e c t o r i e s . U p d a t e s   t o   l i v e   o b j e c t s   m u s t   b e   r e f l e c t e d   i n   c o n f i g u r a t i o n   f i l e s ,   o r   t h e y   w i l l   b e   l o s t   d u r i n g   t h e   n e x t   r e p l a c e m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/object-management/",
    "id": "k8s_00351_section_3_6733"
  },
  {
    "question": "What is Declarative object configuration?",
    "answer": "W h e n   u s i n g   d e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n ,   a   u s e r   o p e r a t e s   o n   o b j e c t   c o n f i g u r a t i o n   f i l e s   s t o r e d   l o c a l l y ,   h o w e v e r   t h e   u s e r   d o e s   n o t   d e f i n e   t h e   o p e r a t i o n s   t o   b e   t a k e n   o n   t h e   f i l e s .   C r e a t e ,   u p d a t e ,   a n d   d e l e t e   o p e r a t i o n s   a r e   a u t o m a t i c a l l y   d e t e c t e d   p e r - o b j e c t   b y   k u b e c t l .   T h i s   e n a b l e s   w o r k i n g   o n   d i r e c t o r i e s ,   w h e r e   d i f f e r e n t   o p e r a t i o n s   m i g h t   b e   n e e d e d   f o r   d i f f e r e n t   o b j e c t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/object-management/",
    "id": "k8s_00351_section_2_6734"
  },
  {
    "question": "What is Examples?",
    "answer": "P r o c e s s   a l l   o b j e c t   c o n f i g u r a t i o n   f i l e s   i n   t h e   c o n f i g s   d i r e c t o r y ,   a n d   c r e a t e   o r   p a t c h   t h e   l i v e   o b j e c t s .   Y o u   c a n   f i r s t   d i f f   t o   s e e   w h a t   c h a n g e s   a r e   g o i n g   t o   b e   m a d e ,   a n d   t h e n   a p p l y :   k u b e c t l   d i f f   - f   c o n f i g s /   k u b e c t l   a p p l y   - f   c o n f i g s /   R e c u r s i v e l y   p r o c e s s   d i r e c t o r i e s :   k u b e c t l   d i f f   - R   - f   c o n f i g s /   k u b e c t l   a p p l y   - R   - f   c o n f i g s /",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/object-management/",
    "id": "k8s_00351_section_3_6735"
  },
  {
    "question": "What is Trade-offs?",
    "answer": "A d v a n t a g e s   c o m p a r e d   t o   i m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n :   C h a n g e s   m a d e   d i r e c t l y   t o   l i v e   o b j e c t s   a r e   r e t a i n e d ,   e v e n   i f   t h e y   a r e   n o t   m e r g e d   b a c k   i n t o   t h e   c o n f i g u r a t i o n   f i l e s . D e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n   h a s   b e t t e r   s u p p o r t   f o r   o p e r a t i n g   o n   d i r e c t o r i e s   a n d   a u t o m a t i c a l l y   d e t e c t i n g   o p e r a t i o n   t y p e s   ( c r e a t e ,   p a t c h ,   d e l e t e )   p e r - o b j e c t .   D i s a d v a n t a g e s   c o m p a r e d   t o   i m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n :   D e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n   i s   h a r d e r   t o   d e b u g   a n d   u n d e r s t a n d   r e s u l t s   w h e n   t h e y   a r e   u n e x p e c t e d . P a r t i a l   u p d a t e s   u s i n g   d i f f s   c r e a t e   c o m p l e x   m e r g e   a n d   p a t c h   o p e r a t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/object-management/",
    "id": "k8s_00351_section_3_6736"
  },
  {
    "question": "What is What's next?",
    "answer": "M a n a g i n g   K u b e r n e t e s   O b j e c t s   U s i n g   I m p e r a t i v e   C o m m a n d s I m p e r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s D e c l a r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s D e c l a r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   K u s t o m i z e K u b e c t l   C o m m a n d   R e f e r e n c e K u b e c t l   B o o k K u b e r n e t e s   A P I   R e f e r e n c e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/object-management/",
    "id": "k8s_00351_section_2_6737"
  },
  {
    "question": "What is kubectl api-versions?",
    "answer": "kubectl api-versionsSynopsisPrint the supported API versions on the server, in the form of \"group/version\".kubectl api-versions Examples # Print the supported API versions kubectl api-versions Options-h, --helphelp for api-versionsParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_api-versions/",
    "id": "k8s_00352_qa_6738"
  },
  {
    "question": "How does kubectl api-versions work?",
    "answer": "kubectl api-versionsSynopsisPrint the supported API versions on the server, in the form of \"group/version\".kubectl api-versions Examples # Print the supported API versions kubectl api-versions Options-h, --helphelp for api-versionsParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_api-versions/",
    "id": "k8s_00352_qa_6739"
  },
  {
    "question": "When would you use kubectl api-versions?",
    "answer": "kubectl api-versionsSynopsisPrint the supported API versions on the server, in the form of \"group/version\".kubectl api-versions Examples # Print the supported API versions kubectl api-versions Options-h, --helphelp for api-versionsParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_api-versions/",
    "id": "k8s_00352_qa_6740"
  },
  {
    "question": "What are the benefits of kubectl api-versions?",
    "answer": "kubectl api-versionsSynopsisPrint the supported API versions on the server, in the form of \"group/version\".kubectl api-versions Examples # Print the supported API versions kubectl api-versions Options-h, --helphelp for api-versionsParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_api-versions/",
    "id": "k8s_00352_qa_6741"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r i n t   t h e   s u p p o r t e d   A P I   v e r s i o n s   o n   t h e   s e r v e r ,   i n   t h e   f o r m   o f   \" g r o u p / v e r s i o n \" .   k u b e c t l   a p i - v e r s i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_api-versions/",
    "id": "k8s_00352_section_2_6742"
  },
  {
    "question": "What is Examples?",
    "answer": "#   P r i n t   t h e   s u p p o r t e d   A P I   v e r s i o n s   k u b e c t l   a p i - v e r s i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_api-versions/",
    "id": "k8s_00352_section_2_6743"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   a p i - v e r s i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_api-versions/",
    "id": "k8s_00352_section_2_6744"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_api-versions/",
    "id": "k8s_00352_section_2_6745"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_api-versions/",
    "id": "k8s_00352_section_2_6746"
  },
  {
    "question": "What is Service Internal Traffic Policy?",
    "answer": "Service Internal Traffic PolicyIf two Pods in your cluster want to communicate, and both Pods are actually running on the same node, use Service Internal Traffic Policy to keep network traffic within that node. Avoiding a round trip via the cluster network can help with reliability, performance (network latency and throughput), or cost.FEATURE STATE: Kubernetes v1.26 [stable]Service Internal Traffic Policy enables internal traffic restrictions to only route internal traffic to endpoints within the node the traffic originated from. The \"internal\" traffic here refers to traffic originated from Pods in the current cluster. This can help to reduce costs and improve performance.Using Service Internal Traffic PolicyYou can enable the internal-only traffic policy for a Service, by setting its .spec.internalTrafficPolicy to Local. This tells kube-proxy to only use node local endpoints for cluster internal traffic.Note:For pods on nodes with no endpoints for a given Service, the Service behaves as if it has zero endpoints (for Pods on this node) even if the service does have endpoints on other nodes.The following example shows what a Service looks like when you set .spec.internalTrafficPolicy to Local:apiVersion: v1 kind: Service metadata: name: my-service spec: selector: app.kubernetes.io/name: MyApp ports: - protocol: TCP port: 80 targetPort: 9376 internalTrafficPolicy: Local How it worksThe kube-proxy filters the endpoints it routes to based on the spec.internalTrafficPolicy setting. When it's set to Local, only node local endpoints are considered. When it's Cluster (the default), or is not set, Kubernetes considers all endpoints.What's nextRead about Topology Aware RoutingRead about Service External Traffic PolicyFollow the Connecting Applications with Services tutorial",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service-traffic-policy/",
    "id": "k8s_00353_qa_6747"
  },
  {
    "question": "How does Service Internal Traffic Policy work?",
    "answer": "Service Internal Traffic PolicyIf two Pods in your cluster want to communicate, and both Pods are actually running on the same node, use Service Internal Traffic Policy to keep network traffic within that node. Avoiding a round trip via the cluster network can help with reliability, performance (network latency and throughput), or cost.FEATURE STATE: Kubernetes v1.26 [stable]Service Internal Traffic Policy enables internal traffic restrictions to only route internal traffic to endpoints within the node the traffic originated from. The \"internal\" traffic here refers to traffic originated from Pods in the current cluster. This can help to reduce costs and improve performance.Using Service Internal Traffic PolicyYou can enable the internal-only traffic policy for a Service, by setting its .spec.internalTrafficPolicy to Local. This tells kube-proxy to only use node local endpoints for cluster internal traffic.Note:For pods on nodes with no endpoints for a given Service, the Service behaves as if it has zero endpoints (for Pods on this node) even if the service does have endpoints on other nodes.The following example shows what a Service looks like when you set .spec.internalTrafficPolicy to Local:apiVersion: v1 kind: Service metadata: name: my-service spec: selector: app.kubernetes.io/name: MyApp ports: - protocol: TCP port: 80 targetPort: 9376 internalTrafficPolicy: Local How it worksThe kube-proxy filters the endpoints it routes to based on the spec.internalTrafficPolicy setting. When it's set to Local, only node local endpoints are considered. When it's Cluster (the default), or is not set, Kubernetes considers all endpoints.What's nextRead about Topology Aware RoutingRead about Service External Traffic PolicyFollow the Connecting Applications with Services tutorial",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service-traffic-policy/",
    "id": "k8s_00353_qa_6748"
  },
  {
    "question": "When would you use Service Internal Traffic Policy?",
    "answer": "Service Internal Traffic PolicyIf two Pods in your cluster want to communicate, and both Pods are actually running on the same node, use Service Internal Traffic Policy to keep network traffic within that node. Avoiding a round trip via the cluster network can help with reliability, performance (network latency and throughput), or cost.FEATURE STATE: Kubernetes v1.26 [stable]Service Internal Traffic Policy enables internal traffic restrictions to only route internal traffic to endpoints within the node the traffic originated from. The \"internal\" traffic here refers to traffic originated from Pods in the current cluster. This can help to reduce costs and improve performance.Using Service Internal Traffic PolicyYou can enable the internal-only traffic policy for a Service, by setting its .spec.internalTrafficPolicy to Local. This tells kube-proxy to only use node local endpoints for cluster internal traffic.Note:For pods on nodes with no endpoints for a given Service, the Service behaves as if it has zero endpoints (for Pods on this node) even if the service does have endpoints on other nodes.The following example shows what a Service looks like when you set .spec.internalTrafficPolicy to Local:apiVersion: v1 kind: Service metadata: name: my-service spec: selector: app.kubernetes.io/name: MyApp ports: - protocol: TCP port: 80 targetPort: 9376 internalTrafficPolicy: Local How it worksThe kube-proxy filters the endpoints it routes to based on the spec.internalTrafficPolicy setting. When it's set to Local, only node local endpoints are considered. When it's Cluster (the default), or is not set, Kubernetes considers all endpoints.What's nextRead about Topology Aware RoutingRead about Service External Traffic PolicyFollow the Connecting Applications with Services tutorial",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service-traffic-policy/",
    "id": "k8s_00353_qa_6749"
  },
  {
    "question": "What are the benefits of Service Internal Traffic Policy?",
    "answer": "Service Internal Traffic PolicyIf two Pods in your cluster want to communicate, and both Pods are actually running on the same node, use Service Internal Traffic Policy to keep network traffic within that node. Avoiding a round trip via the cluster network can help with reliability, performance (network latency and throughput), or cost.FEATURE STATE: Kubernetes v1.26 [stable]Service Internal Traffic Policy enables internal traffic restrictions to only route internal traffic to endpoints within the node the traffic originated from. The \"internal\" traffic here refers to traffic originated from Pods in the current cluster. This can help to reduce costs and improve performance.Using Service Internal Traffic PolicyYou can enable the internal-only traffic policy for a Service, by setting its .spec.internalTrafficPolicy to Local. This tells kube-proxy to only use node local endpoints for cluster internal traffic.Note:For pods on nodes with no endpoints for a given Service, the Service behaves as if it has zero endpoints (for Pods on this node) even if the service does have endpoints on other nodes.The following example shows what a Service looks like when you set .spec.internalTrafficPolicy to Local:apiVersion: v1 kind: Service metadata: name: my-service spec: selector: app.kubernetes.io/name: MyApp ports: - protocol: TCP port: 80 targetPort: 9376 internalTrafficPolicy: Local How it worksThe kube-proxy filters the endpoints it routes to based on the spec.internalTrafficPolicy setting. When it's set to Local, only node local endpoints are considered. When it's Cluster (the default), or is not set, Kubernetes considers all endpoints.What's nextRead about Topology Aware RoutingRead about Service External Traffic PolicyFollow the Connecting Applications with Services tutorial",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service-traffic-policy/",
    "id": "k8s_00353_qa_6750"
  },
  {
    "question": "What is Service Internal Traffic Policy?",
    "answer": "S e r v i c e   I n t e r n a l   T r a f f i c   P o l i c y   e n a b l e s   i n t e r n a l   t r a f f i c   r e s t r i c t i o n s   t o   o n l y   r o u t e   i n t e r n a l   t r a f f i c   t o   e n d p o i n t s   w i t h i n   t h e   n o d e   t h e   t r a f f i c   o r i g i n a t e d   f r o m .   T h e   \" i n t e r n a l \"   t r a f f i c   h e r e   r e f e r s   t o   t r a f f i c   o r i g i n a t e d   f r o m   P o d s   i n   t h e   c u r r e n t   c l u s t e r .   T h i s   c a n   h e l p   t o   r e d u c e   c o s t s   a n d   i m p r o v e   p e r f o r m a n c e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service-traffic-policy/",
    "id": "k8s_00353_section_1_6751"
  },
  {
    "question": "What is Using Service Internal Traffic Policy?",
    "answer": "Y o u   c a n   e n a b l e   t h e   i n t e r n a l - o n l y   t r a f f i c   p o l i c y   f o r   a   S e r v i c e ,   b y   s e t t i n g   i t s   . s p e c . i n t e r n a l T r a f f i c P o l i c y   t o   L o c a l .   T h i s   t e l l s   k u b e - p r o x y   t o   o n l y   u s e   n o d e   l o c a l   e n d p o i n t s   f o r   c l u s t e r   i n t e r n a l   t r a f f i c .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service-traffic-policy/",
    "id": "k8s_00353_section_2_6752"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   f o l l o w i n g   e x a m p l e   s h o w s   w h a t   a   S e r v i c e   l o o k s   l i k e   w h e n   y o u   s e t   . s p e c . i n t e r n a l T r a f f i c P o l i c y   t o   L o c a l :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   s p e c :   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   8 0   t a r g e t P o r t :   9 3 7 6   i n t e r n a l T r a f f i c P o l i c y :   L o c a l",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service-traffic-policy/",
    "id": "k8s_00353_section_4_6753"
  },
  {
    "question": "What is How it works?",
    "answer": "T h e   k u b e - p r o x y   f i l t e r s   t h e   e n d p o i n t s   i t   r o u t e s   t o   b a s e d   o n   t h e   s p e c . i n t e r n a l T r a f f i c P o l i c y   s e t t i n g .   W h e n   i t ' s   s e t   t o   L o c a l ,   o n l y   n o d e   l o c a l   e n d p o i n t s   a r e   c o n s i d e r e d .   W h e n   i t ' s   C l u s t e r   ( t h e   d e f a u l t ) ,   o r   i s   n o t   s e t ,   K u b e r n e t e s   c o n s i d e r s   a l l   e n d p o i n t s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service-traffic-policy/",
    "id": "k8s_00353_section_2_6754"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   T o p o l o g y   A w a r e   R o u t i n g R e a d   a b o u t   S e r v i c e   E x t e r n a l   T r a f f i c   P o l i c y F o l l o w   t h e   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s   t u t o r i a l",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service-traffic-policy/",
    "id": "k8s_00353_section_2_6755"
  },
  {
    "question": "What is kubectl annotate?",
    "answer": "kubectl annotateSynopsisUpdate the annotations on one or more resources.All Kubernetes objects support the ability to store additional data with the object as annotations. Annotations are key/value pairs that can be larger than labels and include arbitrary string values such as structured JSON. Tools and system extensions may use annotations to store their own data.Attempting to set an annotation that already exists will fail unless --overwrite is set. If --resource-version is specified and does not match the current resource version on the server the command will fail.Use \"kubectl api-resources\" for a complete list of supported resources.kubectl annotate [--overwrite] (-f FILENAME | TYPE NAME) KEY_1=VAL_1 ... KEY_N=VAL_N [--resource-version=version] Examples # Update pod 'foo' with the annotation 'description' and the value 'my frontend' # If the same annotation is set multiple times, only the last value will be applied kubectl annotate pods foo description='my frontend' # Update a pod identified by type and name in \"pod.json\" kubectl annotate -f pod.json description='my frontend' # Update pod 'foo' with the annotation 'description' and the value 'my frontend running nginx', overwriting any existing value kubectl annotate --overwrite pods foo description='my frontend running nginx' # Update all pods in the namespace kubectl annotate pods --all description='my frontend running nginx' # Update pod 'foo' only if the resource is unchanged from version 1 kubectl annotate pods foo description='my frontend running nginx' --resource-version=1 # Update pod 'foo' by removing an annotation named 'description' if it exists # Does not require the --overwrite flag kubectl annotate pods foo description- Options--allSelect all resources, in the namespace of the specified resource types.-A, --all-namespacesIf true, check the specified action in all namespaces.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-annotate\"Name of the manager used to track field ownership.--field-selector stringSelector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.-f, --filename stringsFilename, directory, or URL to files identifying the resource to update the annotation-h, --helphelp for annotate-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--listIf true, display the annotations for a given resource.--localIf true, annotation will NOT contact api-server but run locally.-o, --output s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_annotate/",
    "id": "k8s_00354_qa_6756"
  },
  {
    "question": "How does kubectl annotate work?",
    "answer": "kubectl annotateSynopsisUpdate the annotations on one or more resources.All Kubernetes objects support the ability to store additional data with the object as annotations. Annotations are key/value pairs that can be larger than labels and include arbitrary string values such as structured JSON. Tools and system extensions may use annotations to store their own data.Attempting to set an annotation that already exists will fail unless --overwrite is set. If --resource-version is specified and does not match the current resource version on the server the command will fail.Use \"kubectl api-resources\" for a complete list of supported resources.kubectl annotate [--overwrite] (-f FILENAME | TYPE NAME) KEY_1=VAL_1 ... KEY_N=VAL_N [--resource-version=version] Examples # Update pod 'foo' with the annotation 'description' and the value 'my frontend' # If the same annotation is set multiple times, only the last value will be applied kubectl annotate pods foo description='my frontend' # Update a pod identified by type and name in \"pod.json\" kubectl annotate -f pod.json description='my frontend' # Update pod 'foo' with the annotation 'description' and the value 'my frontend running nginx', overwriting any existing value kubectl annotate --overwrite pods foo description='my frontend running nginx' # Update all pods in the namespace kubectl annotate pods --all description='my frontend running nginx' # Update pod 'foo' only if the resource is unchanged from version 1 kubectl annotate pods foo description='my frontend running nginx' --resource-version=1 # Update pod 'foo' by removing an annotation named 'description' if it exists # Does not require the --overwrite flag kubectl annotate pods foo description- Options--allSelect all resources, in the namespace of the specified resource types.-A, --all-namespacesIf true, check the specified action in all namespaces.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-annotate\"Name of the manager used to track field ownership.--field-selector stringSelector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.-f, --filename stringsFilename, directory, or URL to files identifying the resource to update the annotation-h, --helphelp for annotate-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--listIf true, display the annotations for a given resource.--localIf true, annotation will NOT contact api-server but run locally.-o, --output s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_annotate/",
    "id": "k8s_00354_qa_6757"
  },
  {
    "question": "When would you use kubectl annotate?",
    "answer": "kubectl annotateSynopsisUpdate the annotations on one or more resources.All Kubernetes objects support the ability to store additional data with the object as annotations. Annotations are key/value pairs that can be larger than labels and include arbitrary string values such as structured JSON. Tools and system extensions may use annotations to store their own data.Attempting to set an annotation that already exists will fail unless --overwrite is set. If --resource-version is specified and does not match the current resource version on the server the command will fail.Use \"kubectl api-resources\" for a complete list of supported resources.kubectl annotate [--overwrite] (-f FILENAME | TYPE NAME) KEY_1=VAL_1 ... KEY_N=VAL_N [--resource-version=version] Examples # Update pod 'foo' with the annotation 'description' and the value 'my frontend' # If the same annotation is set multiple times, only the last value will be applied kubectl annotate pods foo description='my frontend' # Update a pod identified by type and name in \"pod.json\" kubectl annotate -f pod.json description='my frontend' # Update pod 'foo' with the annotation 'description' and the value 'my frontend running nginx', overwriting any existing value kubectl annotate --overwrite pods foo description='my frontend running nginx' # Update all pods in the namespace kubectl annotate pods --all description='my frontend running nginx' # Update pod 'foo' only if the resource is unchanged from version 1 kubectl annotate pods foo description='my frontend running nginx' --resource-version=1 # Update pod 'foo' by removing an annotation named 'description' if it exists # Does not require the --overwrite flag kubectl annotate pods foo description- Options--allSelect all resources, in the namespace of the specified resource types.-A, --all-namespacesIf true, check the specified action in all namespaces.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-annotate\"Name of the manager used to track field ownership.--field-selector stringSelector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.-f, --filename stringsFilename, directory, or URL to files identifying the resource to update the annotation-h, --helphelp for annotate-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--listIf true, display the annotations for a given resource.--localIf true, annotation will NOT contact api-server but run locally.-o, --output s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_annotate/",
    "id": "k8s_00354_qa_6758"
  },
  {
    "question": "What are the benefits of kubectl annotate?",
    "answer": "kubectl annotateSynopsisUpdate the annotations on one or more resources.All Kubernetes objects support the ability to store additional data with the object as annotations. Annotations are key/value pairs that can be larger than labels and include arbitrary string values such as structured JSON. Tools and system extensions may use annotations to store their own data.Attempting to set an annotation that already exists will fail unless --overwrite is set. If --resource-version is specified and does not match the current resource version on the server the command will fail.Use \"kubectl api-resources\" for a complete list of supported resources.kubectl annotate [--overwrite] (-f FILENAME | TYPE NAME) KEY_1=VAL_1 ... KEY_N=VAL_N [--resource-version=version] Examples # Update pod 'foo' with the annotation 'description' and the value 'my frontend' # If the same annotation is set multiple times, only the last value will be applied kubectl annotate pods foo description='my frontend' # Update a pod identified by type and name in \"pod.json\" kubectl annotate -f pod.json description='my frontend' # Update pod 'foo' with the annotation 'description' and the value 'my frontend running nginx', overwriting any existing value kubectl annotate --overwrite pods foo description='my frontend running nginx' # Update all pods in the namespace kubectl annotate pods --all description='my frontend running nginx' # Update pod 'foo' only if the resource is unchanged from version 1 kubectl annotate pods foo description='my frontend running nginx' --resource-version=1 # Update pod 'foo' by removing an annotation named 'description' if it exists # Does not require the --overwrite flag kubectl annotate pods foo description- Options--allSelect all resources, in the namespace of the specified resource types.-A, --all-namespacesIf true, check the specified action in all namespaces.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-annotate\"Name of the manager used to track field ownership.--field-selector stringSelector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.-f, --filename stringsFilename, directory, or URL to files identifying the resource to update the annotation-h, --helphelp for annotate-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--listIf true, display the annotations for a given resource.--localIf true, annotation will NOT contact api-server but run locally.-o, --output s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_annotate/",
    "id": "k8s_00354_qa_6759"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e   t h e   a n n o t a t i o n s   o n   o n e   o r   m o r e   r e s o u r c e s .   A l l   K u b e r n e t e s   o b j e c t s   s u p p o r t   t h e   a b i l i t y   t o   s t o r e   a d d i t i o n a l   d a t a   w i t h   t h e   o b j e c t   a s   a n n o t a t i o n s .   A n n o t a t i o n s   a r e   k e y / v a l u e   p a i r s   t h a t   c a n   b e   l a r g e r   t h a n   l a b e l s   a n d   i n c l u d e   a r b i t r a r y   s t r i n g   v a l u e s   s u c h   a s   s t r u c t u r e d   J S O N .   T o o l s   a n d   s y s t e m   e x t e n s i o n s   m a y   u s e   a n n o t a t i o n s   t o   s t o r e   t h e i r   o w n   d a t a .   A t t e m p t i n g   t o   s e t   a n   a n n o t a t i o n   t h a t   a l r e a d y   e x i s t s   w i l l   f a i l   u n l e s s   - - o v e r w r i t e   i s   s e t .   I f   - - r e s o u r c e - v e r s i o n   i s   s p e c i f i e d   a n d   d o e s   n o t   m a t c h   t h e   c u r r e n t   r e s o u r c e   v e r s i o n   o n   t h e   s e r v e r   t h e   c o m m a n d   w i l l   f a i l .   U s e   \" k u b e c t l   a p i - r e s o u r c e s \"   f o r   a   c o m p l e t e   l i s t   o f   s u p p o r t e d   r e s o u r c e s .   k u b e c t l   a n n o t a t e   [ - - o v e r w r i t e ]   ( - f   F I L E N A M E   |   T Y P E   N A M E )   K E Y _ 1 = V A L _ 1   . . .   K E Y _ N = V A L _ N   [ - - r e s o u r c e - v e r s i o n = v e r s i o n ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_annotate/",
    "id": "k8s_00354_section_2_6760"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U p d a t e   p o d   ' f o o '   w i t h   t h e   a n n o t a t i o n   ' d e s c r i p t i o n '   a n d   t h e   v a l u e   ' m y   f r o n t e n d '   #   I f   t h e   s a m e   a n n o t a t i o n   i s   s e t   m u l t i p l e   t i m e s ,   o n l y   t h e   l a s t   v a l u e   w i l l   b e   a p p l i e d   k u b e c t l   a n n o t a t e   p o d s   f o o   d e s c r i p t i o n = ' m y   f r o n t e n d '   #   U p d a t e   a   p o d   i d e n t i f i e d   b y   t y p e   a n d   n a m e   i n   \" p o d . j s o n \"   k u b e c t l   a n n o t a t e   - f   p o d . j s o n   d e s c r i p t i o n = ' m y   f r o n t e n d '   #   U p d a t e   p o d   ' f o o '   w i t h   t h e   a n n o t a t i o n   ' d e s c r i p t i o n '   a n d   t h e   v a l u e   ' m y   f r o n t e n d   r u n n i n g   n g i n x ' ,   o v e r w r i t i n g   a n y   e x i s t i n g   v a l u e   k u b e c t l   a n n o t a t e   - - o v e r w r i t e   p o d s   f o o   d e s c r i p t i o n = ' m y   f r o n t e n d   r u n n i n g   n g i n x '   #   U p d a t e   a l l   p o d s   i n   t h e   n a m e s p a c e   k u b e c t l   a n n o t a t e   p o d s   - - a l l   d e s c r i p t i o n = ' m y   f r o n t e n d   r u n n i n g   n g i n x '   #   U p d a t e   p o d   ' f o o '   o n l y   i f   t h e   r e s o u r c e   i s   u n c h a n g e d   f r o m   v e r s i o n   1   k u b e c t l   a n n o t a t e   p o d s   f o o   d e s c r i p t i o n = ' m y   f r o n t e n d   r u n n i n g   n g i n x '   - - r e s o u r c e - v e r s i o n = 1   #   U p d a t e   p o d   ' f o o '   b y   r e m o v i n g   a n   a n n o t a t i o n   n a m e d   ' d e s c r i p t i o n '   i f   i t   e x i s t s   #   D o e s   n o t   r e q u i r e   t h e   - - o v e r w r i t e   f l a g   k u b e c t l   a n n o t a t e   p o d s   f o o   d e s c r i p t i o n -",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_annotate/",
    "id": "k8s_00354_section_2_6761"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s ,   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s .   I f   t r u e ,   c h e c k   t h e   s p e c i f i e d   a c t i o n   i n   a l l   n a m e s p a c e s .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   S e l e c t o r   ( f i e l d   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   a n d   ' ! = ' . ( e . g .   - - f i e l d - s e l e c t o r   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 ) .   T h e   s e r v e r   o n l y   s u p p o r t s   a   l i m i t e d   n u m b e r   o f   f i e l d   q u e r i e s   p e r   t y p e .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   u p d a t e   t h e   a n n o t a t i o n   h e l p   f o r   a n n o t a t e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   I f   t r u e ,   d i s p l a y   t h e   a n n o t a t i o n s   f o r   a   g i v e n   r e s o u r c e .   I f   t r u e ,   a n n o t a t i o n   w i l l   N O T   c o n t a c t   a p i - s e r v e r   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_annotate/",
    "id": "k8s_00354_section_2_6762"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_annotate/",
    "id": "k8s_00354_section_2_6763"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_annotate/",
    "id": "k8s_00354_section_2_6764"
  },
  {
    "question": "What is kubectl auth?",
    "answer": "kubectl authSynopsisInspect authorization.kubectl auth [flags] Options-h, --helphelp for authParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version--warnings-as-er",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/",
    "id": "k8s_00355_qa_6765"
  },
  {
    "question": "How does kubectl auth work?",
    "answer": "kubectl authSynopsisInspect authorization.kubectl auth [flags] Options-h, --helphelp for authParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version--warnings-as-er",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/",
    "id": "k8s_00355_qa_6766"
  },
  {
    "question": "When would you use kubectl auth?",
    "answer": "kubectl authSynopsisInspect authorization.kubectl auth [flags] Options-h, --helphelp for authParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version--warnings-as-er",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/",
    "id": "k8s_00355_qa_6767"
  },
  {
    "question": "What are the benefits of kubectl auth?",
    "answer": "kubectl authSynopsisInspect authorization.kubectl auth [flags] Options-h, --helphelp for authParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version--warnings-as-er",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/",
    "id": "k8s_00355_qa_6768"
  },
  {
    "question": "What is Synopsis?",
    "answer": "I n s p e c t   a u t h o r i z a t i o n .   k u b e c t l   a u t h   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/",
    "id": "k8s_00355_section_2_6769"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   a u t h",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/",
    "id": "k8s_00355_section_2_6770"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/",
    "id": "k8s_00355_section_2_6771"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   a u t h   c a n - i   -   C h e c k   w h e t h e r   a n   a c t i o n   i s   a l l o w e d k u b e c t l   a u t h   r e c o n c i l e   -   R e c o n c i l e s   r u l e s   f o r   R B A C   r o l e ,   r o l e   b i n d i n g ,   c l u s t e r   r o l e ,   a n d   c l u s t e r   r o l e   b i n d i n g   o b j e c t s k u b e c t l   a u t h   w h o a m i   -   E x p e r i m e n t a l :   C h e c k   s e l f   s u b j e c t   a t t r i b u t e s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/",
    "id": "k8s_00355_section_2_6772"
  },
  {
    "question": "What is Change the default StorageClass?",
    "answer": "Change the default StorageClassThis page shows how to change the default Storage Class that is used to provision volumes for PersistentVolumeClaims that have no special requirements.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Why change the default storage class?Depending on the installation method, your Kubernetes cluster may be deployed with an existing StorageClass that is marked as default. This default StorageClass is then used to dynamically provision storage for PersistentVolumeClaims that do not require any specific storage class. See PersistentVolumeClaim documentation for details.The pre-installed default StorageClass may not fit well with your expected workload; for example, it might provision storage that is too expensive. If this is the case, you can either change the default StorageClass or disable it completely to avoid dynamic provisioning of storage.Deleting the default StorageClass may not work, as it may be re-created automatically by the addon manager running in your cluster. Please consult the docs for your installation for details about addon manager and how to disable individual addons.Changing the default StorageClassList the StorageClasses in your cluster:kubectl get storageclass The output is similar to this:NAME PROVISIONER AGE standard (default) kubernetes.io/gce-pd 1d gold kubernetes.io/gce-pd 1d The default StorageClass is marked by (default).Mark the default StorageClass as non-default:The default StorageClass has an annotation storageclass.kubernetes.io/is-default-class set to true. Any other value or absence of the annotation is interpreted as false.To mark a StorageClass as non-default, you need to change its value to false:kubectl patch storageclass standard -p '{\"metadata\": {\"annotations\":{\"storageclass.kubernetes.io/is-default-class\":\"false\"}}}' where standard is the name of your chosen StorageClass.Mark a StorageClass as default:Similar to the previous step, you need to add/set the annotation storageclass.kubernetes.io/is-default-class=true.kubectl patch storageclass gold -p '{\"metadata\": {\"annotations\":{\"storageclass.kubernetes.io/is-default-class\":\"true\"}}}' Please note you can have multiple StorageClass marked as default. If more than one StorageClass is marked as default, a PersistentVolumeClaim without an explicitly defined storageClassName will be created using the most recently created default StorageClass. When a PersistentVolumeClaim is created with a specified volumeName, it remains in a pending state if the static volume's storageClassName does not match the StorageCl",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-default-storage-class/",
    "id": "k8s_00356_qa_6773"
  },
  {
    "question": "How does Change the default StorageClass work?",
    "answer": "Change the default StorageClassThis page shows how to change the default Storage Class that is used to provision volumes for PersistentVolumeClaims that have no special requirements.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Why change the default storage class?Depending on the installation method, your Kubernetes cluster may be deployed with an existing StorageClass that is marked as default. This default StorageClass is then used to dynamically provision storage for PersistentVolumeClaims that do not require any specific storage class. See PersistentVolumeClaim documentation for details.The pre-installed default StorageClass may not fit well with your expected workload; for example, it might provision storage that is too expensive. If this is the case, you can either change the default StorageClass or disable it completely to avoid dynamic provisioning of storage.Deleting the default StorageClass may not work, as it may be re-created automatically by the addon manager running in your cluster. Please consult the docs for your installation for details about addon manager and how to disable individual addons.Changing the default StorageClassList the StorageClasses in your cluster:kubectl get storageclass The output is similar to this:NAME PROVISIONER AGE standard (default) kubernetes.io/gce-pd 1d gold kubernetes.io/gce-pd 1d The default StorageClass is marked by (default).Mark the default StorageClass as non-default:The default StorageClass has an annotation storageclass.kubernetes.io/is-default-class set to true. Any other value or absence of the annotation is interpreted as false.To mark a StorageClass as non-default, you need to change its value to false:kubectl patch storageclass standard -p '{\"metadata\": {\"annotations\":{\"storageclass.kubernetes.io/is-default-class\":\"false\"}}}' where standard is the name of your chosen StorageClass.Mark a StorageClass as default:Similar to the previous step, you need to add/set the annotation storageclass.kubernetes.io/is-default-class=true.kubectl patch storageclass gold -p '{\"metadata\": {\"annotations\":{\"storageclass.kubernetes.io/is-default-class\":\"true\"}}}' Please note you can have multiple StorageClass marked as default. If more than one StorageClass is marked as default, a PersistentVolumeClaim without an explicitly defined storageClassName will be created using the most recently created default StorageClass. When a PersistentVolumeClaim is created with a specified volumeName, it remains in a pending state if the static volume's storageClassName does not match the StorageCl",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-default-storage-class/",
    "id": "k8s_00356_qa_6774"
  },
  {
    "question": "When would you use Change the default StorageClass?",
    "answer": "Change the default StorageClassThis page shows how to change the default Storage Class that is used to provision volumes for PersistentVolumeClaims that have no special requirements.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Why change the default storage class?Depending on the installation method, your Kubernetes cluster may be deployed with an existing StorageClass that is marked as default. This default StorageClass is then used to dynamically provision storage for PersistentVolumeClaims that do not require any specific storage class. See PersistentVolumeClaim documentation for details.The pre-installed default StorageClass may not fit well with your expected workload; for example, it might provision storage that is too expensive. If this is the case, you can either change the default StorageClass or disable it completely to avoid dynamic provisioning of storage.Deleting the default StorageClass may not work, as it may be re-created automatically by the addon manager running in your cluster. Please consult the docs for your installation for details about addon manager and how to disable individual addons.Changing the default StorageClassList the StorageClasses in your cluster:kubectl get storageclass The output is similar to this:NAME PROVISIONER AGE standard (default) kubernetes.io/gce-pd 1d gold kubernetes.io/gce-pd 1d The default StorageClass is marked by (default).Mark the default StorageClass as non-default:The default StorageClass has an annotation storageclass.kubernetes.io/is-default-class set to true. Any other value or absence of the annotation is interpreted as false.To mark a StorageClass as non-default, you need to change its value to false:kubectl patch storageclass standard -p '{\"metadata\": {\"annotations\":{\"storageclass.kubernetes.io/is-default-class\":\"false\"}}}' where standard is the name of your chosen StorageClass.Mark a StorageClass as default:Similar to the previous step, you need to add/set the annotation storageclass.kubernetes.io/is-default-class=true.kubectl patch storageclass gold -p '{\"metadata\": {\"annotations\":{\"storageclass.kubernetes.io/is-default-class\":\"true\"}}}' Please note you can have multiple StorageClass marked as default. If more than one StorageClass is marked as default, a PersistentVolumeClaim without an explicitly defined storageClassName will be created using the most recently created default StorageClass. When a PersistentVolumeClaim is created with a specified volumeName, it remains in a pending state if the static volume's storageClassName does not match the StorageCl",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-default-storage-class/",
    "id": "k8s_00356_qa_6775"
  },
  {
    "question": "What are the benefits of Change the default StorageClass?",
    "answer": "Change the default StorageClassThis page shows how to change the default Storage Class that is used to provision volumes for PersistentVolumeClaims that have no special requirements.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Why change the default storage class?Depending on the installation method, your Kubernetes cluster may be deployed with an existing StorageClass that is marked as default. This default StorageClass is then used to dynamically provision storage for PersistentVolumeClaims that do not require any specific storage class. See PersistentVolumeClaim documentation for details.The pre-installed default StorageClass may not fit well with your expected workload; for example, it might provision storage that is too expensive. If this is the case, you can either change the default StorageClass or disable it completely to avoid dynamic provisioning of storage.Deleting the default StorageClass may not work, as it may be re-created automatically by the addon manager running in your cluster. Please consult the docs for your installation for details about addon manager and how to disable individual addons.Changing the default StorageClassList the StorageClasses in your cluster:kubectl get storageclass The output is similar to this:NAME PROVISIONER AGE standard (default) kubernetes.io/gce-pd 1d gold kubernetes.io/gce-pd 1d The default StorageClass is marked by (default).Mark the default StorageClass as non-default:The default StorageClass has an annotation storageclass.kubernetes.io/is-default-class set to true. Any other value or absence of the annotation is interpreted as false.To mark a StorageClass as non-default, you need to change its value to false:kubectl patch storageclass standard -p '{\"metadata\": {\"annotations\":{\"storageclass.kubernetes.io/is-default-class\":\"false\"}}}' where standard is the name of your chosen StorageClass.Mark a StorageClass as default:Similar to the previous step, you need to add/set the annotation storageclass.kubernetes.io/is-default-class=true.kubectl patch storageclass gold -p '{\"metadata\": {\"annotations\":{\"storageclass.kubernetes.io/is-default-class\":\"true\"}}}' Please note you can have multiple StorageClass marked as default. If more than one StorageClass is marked as default, a PersistentVolumeClaim without an explicitly defined storageClassName will be created using the most recently created default StorageClass. When a PersistentVolumeClaim is created with a specified volumeName, it remains in a pending state if the static volume's storageClassName does not match the StorageCl",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-default-storage-class/",
    "id": "k8s_00356_qa_6776"
  },
  {
    "question": "What is Change the default StorageClass?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c h a n g e   t h e   d e f a u l t   S t o r a g e   C l a s s   t h a t   i s   u s e d   t o   p r o v i s i o n   v o l u m e s   f o r   P e r s i s t e n t V o l u m e C l a i m s   t h a t   h a v e   n o   s p e c i a l   r e q u i r e m e n t s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-default-storage-class/",
    "id": "k8s_00356_section_1_6777"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-default-storage-class/",
    "id": "k8s_00356_section_2_6778"
  },
  {
    "question": "What is Why change the default storage class??",
    "answer": "D e p e n d i n g   o n   t h e   i n s t a l l a t i o n   m e t h o d ,   y o u r   K u b e r n e t e s   c l u s t e r   m a y   b e   d e p l o y e d   w i t h   a n   e x i s t i n g   S t o r a g e C l a s s   t h a t   i s   m a r k e d   a s   d e f a u l t .   T h i s   d e f a u l t   S t o r a g e C l a s s   i s   t h e n   u s e d   t o   d y n a m i c a l l y   p r o v i s i o n   s t o r a g e   f o r   P e r s i s t e n t V o l u m e C l a i m s   t h a t   d o   n o t   r e q u i r e   a n y   s p e c i f i c   s t o r a g e   c l a s s .   S e e   P e r s i s t e n t V o l u m e C l a i m   d o c u m e n t a t i o n   f o r   d e t a i l s .   T h e   p r e - i n s t a l l e d   d e f a u l t   S t o r a g e C l a s s   m a y   n o t   f i t   w e l l   w i t h   y o u r   e x p e c t e d   w o r k l o a d ;   f o r   e x a m p l e ,   i t   m i g h t   p r o v i s i o n   s t o r a g e   t h a t   i s   t o o   e x p e n s i v e .   I f   t h i s   i s   t h e   c a s e ,   y o u   c a n   e i t h e r   c h a n g e   t h e   d e f a u l t   S t o r a g e C l a s s   o r   d i s a b l e   i t   c o m p l e t e l y   t o   a v o i d   d y n a m i c   p r o v i s i o n i n g   o f   s t o r a g e .   D e l e t i n g   t h e   d e f a u l t   S t o r a g e C l a s s   m a y   n o t   w o r k ,   a s   i t   m a y   b e   r e - c r e a t e d   a u t o m a t i c a l l y   b y   t h e   a d d o n   m a n a g e r   r u n n i n g   i n   y o u r   c l u s t e r .   P l e a s e   c o n s u l t   t h e   d o c s   f o r   y o u r   i n s t a l l a t i o n   f o r   d e t a i l s   a b o u t   a d d o n   m a n a g e r   a n d   h o w   t o   d i s a b l e   i n d i v i d u a l   a d d o n s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-default-storage-class/",
    "id": "k8s_00356_section_2_6779"
  },
  {
    "question": "What is Changing the default StorageClass?",
    "answer": "L i s t   t h e   S t o r a g e C l a s s e s   i n   y o u r   c l u s t e r : k u b e c t l   g e t   s t o r a g e c l a s s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   P R O V I S I O N E R   A G E   s t a n d a r d   ( d e f a u l t )   k u b e r n e t e s . i o / g c e - p d   1 d   g o l d   k u b e r n e t e s . i o / g c e - p d   1 d   T h e   d e f a u l t   S t o r a g e C l a s s   i s   m a r k e d   b y   ( d e f a u l t ) . M a r k   t h e   d e f a u l t   S t o r a g e C l a s s   a s   n o n - d e f a u l t : T h e   d e f a u l t   S t o r a g e C l a s s   h a s   a n   a n n o t a t i o n   s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s   s e t   t o   t r u e .   A n y   o t h e r   v a l u e   o r   a b s e n c e   o f   t h e   a n n o t a t i o n   i s   i n t e r p r e t e d   a s   f a l s e . T o   m a r k   a   S t o r a g e C l a s s   a s   n o n - d e f a u l t ,   y o u   n e e d   t o   c h a n g e   i t s   v a l u e   t o   f a l s e : k u b e c t l   p a t c h   s t o r a g e c l a s s   s t a n d a r d   - p   ' { \" m e t a d a t a \" :   { \" a n n o t a t i o n s \" : { \" s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s \" : \" f a l s e \" } } } '   w h e r e   s t a n d a r d   i s   t h e   n a m e   o f   y o u r   c h o s e n   S t o r a g e C l a s s . M a r k   a   S t o r a g e C l a s s   a s   d e f a u l t : S i m i l a r   t o   t h e   p r e v i o u s   s t e p ,   y o u   n e e d   t o   a d d / s e t   t h e   a n n o t a t i o n   s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s = t r u e . k u b e c t l   p a t c h   s t o r a g e c l a s s   g o l d   - p   ' { \" m e t a d a t a \" :   { \" a n n o t a t i o n s \" : { \" s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s \" : \" t r u e \" } } } '   P l e a s e   n o t e   y o u   c a n   h a v e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-default-storage-class/",
    "id": "k8s_00356_section_2_6780"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   P e r s i s t e n t V o l u m e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-default-storage-class/",
    "id": "k8s_00356_section_2_6781"
  },
  {
    "question": "What is kubectl create quota?",
    "answer": "kubectl create quotaSynopsisCreate a resource quota with the specified name, hard limits, and optional scopes.kubectl create quota NAME [--hard=key1=value1,key2=value2] [--scopes=Scope1,Scope2] [--dry-run=server|client|none] Examples # Create a new resource quota named my-quota kubectl create quota my-quota --hard=cpu=1,memory=1G,pods=2,services=3,replicationcontrollers=2,resourcequotas=1,secrets=5,persistentvolumeclaims=10 # Create a new resource quota named best-effort kubectl create quota best-effort --hard=pods=100 --scopes=BestEffort Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--hard stringA comma-delimited set of resource=quantity pairs that define a hard limit.-h, --helphelp for quota-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--scopes stringA comma-delimited set of quota scopes that must all match each object tracked by the quota.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache direct",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_quota/",
    "id": "k8s_00357_qa_6782"
  },
  {
    "question": "How does kubectl create quota work?",
    "answer": "kubectl create quotaSynopsisCreate a resource quota with the specified name, hard limits, and optional scopes.kubectl create quota NAME [--hard=key1=value1,key2=value2] [--scopes=Scope1,Scope2] [--dry-run=server|client|none] Examples # Create a new resource quota named my-quota kubectl create quota my-quota --hard=cpu=1,memory=1G,pods=2,services=3,replicationcontrollers=2,resourcequotas=1,secrets=5,persistentvolumeclaims=10 # Create a new resource quota named best-effort kubectl create quota best-effort --hard=pods=100 --scopes=BestEffort Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--hard stringA comma-delimited set of resource=quantity pairs that define a hard limit.-h, --helphelp for quota-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--scopes stringA comma-delimited set of quota scopes that must all match each object tracked by the quota.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache direct",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_quota/",
    "id": "k8s_00357_qa_6783"
  },
  {
    "question": "When would you use kubectl create quota?",
    "answer": "kubectl create quotaSynopsisCreate a resource quota with the specified name, hard limits, and optional scopes.kubectl create quota NAME [--hard=key1=value1,key2=value2] [--scopes=Scope1,Scope2] [--dry-run=server|client|none] Examples # Create a new resource quota named my-quota kubectl create quota my-quota --hard=cpu=1,memory=1G,pods=2,services=3,replicationcontrollers=2,resourcequotas=1,secrets=5,persistentvolumeclaims=10 # Create a new resource quota named best-effort kubectl create quota best-effort --hard=pods=100 --scopes=BestEffort Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--hard stringA comma-delimited set of resource=quantity pairs that define a hard limit.-h, --helphelp for quota-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--scopes stringA comma-delimited set of quota scopes that must all match each object tracked by the quota.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache direct",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_quota/",
    "id": "k8s_00357_qa_6784"
  },
  {
    "question": "What are the benefits of kubectl create quota?",
    "answer": "kubectl create quotaSynopsisCreate a resource quota with the specified name, hard limits, and optional scopes.kubectl create quota NAME [--hard=key1=value1,key2=value2] [--scopes=Scope1,Scope2] [--dry-run=server|client|none] Examples # Create a new resource quota named my-quota kubectl create quota my-quota --hard=cpu=1,memory=1G,pods=2,services=3,replicationcontrollers=2,resourcequotas=1,secrets=5,persistentvolumeclaims=10 # Create a new resource quota named best-effort kubectl create quota best-effort --hard=pods=100 --scopes=BestEffort Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--hard stringA comma-delimited set of resource=quantity pairs that define a hard limit.-h, --helphelp for quota-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--scopes stringA comma-delimited set of quota scopes that must all match each object tracked by the quota.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache direct",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_quota/",
    "id": "k8s_00357_qa_6785"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   r e s o u r c e   q u o t a   w i t h   t h e   s p e c i f i e d   n a m e ,   h a r d   l i m i t s ,   a n d   o p t i o n a l   s c o p e s .   k u b e c t l   c r e a t e   q u o t a   N A M E   [ - - h a r d = k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 ]   [ - - s c o p e s = S c o p e 1 , S c o p e 2 ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_quota/",
    "id": "k8s_00357_section_2_6786"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   r e s o u r c e   q u o t a   n a m e d   m y - q u o t a   k u b e c t l   c r e a t e   q u o t a   m y - q u o t a   - - h a r d = c p u = 1 , m e m o r y = 1 G , p o d s = 2 , s e r v i c e s = 3 , r e p l i c a t i o n c o n t r o l l e r s = 2 , r e s o u r c e q u o t a s = 1 , s e c r e t s = 5 , p e r s i s t e n t v o l u m e c l a i m s = 1 0   #   C r e a t e   a   n e w   r e s o u r c e   q u o t a   n a m e d   b e s t - e f f o r t   k u b e c t l   c r e a t e   q u o t a   b e s t - e f f o r t   - - h a r d = p o d s = 1 0 0   - - s c o p e s = B e s t E f f o r t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_quota/",
    "id": "k8s_00357_section_2_6787"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   A   c o m m a - d e l i m i t e d   s e t   o f   r e s o u r c e = q u a n t i t y   p a i r s   t h a t   d e f i n e   a   h a r d   l i m i t .   h e l p   f o r   q u o t a   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   A   c o m m a - d e l i m i t e d   s e t   o f   q u o t a   s c o p e s   t h a t   m u s t   a l l   m a t c h   e a c h   o b j e c t   t r a c k e d   b y   t h e   q u o t a .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_quota/",
    "id": "k8s_00357_section_2_6788"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_quota/",
    "id": "k8s_00357_section_2_6789"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_quota/",
    "id": "k8s_00357_section_2_6790"
  },
  {
    "question": "What is Ephemeral Containers?",
    "answer": "Ephemeral ContainersFEATURE STATE: Kubernetes v1.25 [stable]This page provides an overview of ephemeral containers: a special type of container that runs temporarily in an existing Pod to accomplish user-initiated actions such as troubleshooting. You use ephemeral containers to inspect services rather than to build applications.Understanding ephemeral containersPods are the fundamental building block of Kubernetes applications. Since Pods are intended to be disposable and replaceable, you cannot add a container to a Pod once it has been created. Instead, you usually delete and replace Pods in a controlled fashion using deployments.Sometimes it's necessary to inspect the state of an existing Pod, however, for example to troubleshoot a hard-to-reproduce bug. In these cases you can run an ephemeral container in an existing Pod to inspect its state and run arbitrary commands.What is an ephemeral container?Ephemeral containers differ from other containers in that they lack guarantees for resources or execution, and they will never be automatically restarted, so they are not appropriate for building applications. Ephemeral containers are described using the same ContainerSpec as regular containers, but many fields are incompatible and disallowed for ephemeral containers.Ephemeral containers may not have ports, so fields such as ports, livenessProbe, readinessProbe are disallowed.Pod resource allocations are immutable, so setting resources is disallowed.For a complete list of allowed fields, see the EphemeralContainer reference documentation.Ephemeral containers are created using a special ephemeralcontainers handler in the API rather than by adding them directly to pod.spec, so it's not possible to add an ephemeral container using kubectl edit.Like regular containers, you may not change or remove an ephemeral container after you have added it to a Pod.Note:Ephemeral containers are not supported by static pods.Uses for ephemeral containersEphemeral containers are useful for interactive troubleshooting when kubectl exec is insufficient because a container has crashed or a container image doesn't include debugging utilities.In particular, distroless images enable you to deploy minimal container images that reduce attack surface and exposure to bugs and vulnerabilities. Since distroless images do not include a shell or any debugging utilities, it's difficult to troubleshoot distroless images using kubectl exec alone.When using ephemeral containers, it's helpful to enable process namespace sharing so you can view processes in other containers.What's nextLearn how to debug pods using ephemeral containers.",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/ephemeral-containers/",
    "id": "k8s_00358_qa_6791"
  },
  {
    "question": "How does Ephemeral Containers work?",
    "answer": "Ephemeral ContainersFEATURE STATE: Kubernetes v1.25 [stable]This page provides an overview of ephemeral containers: a special type of container that runs temporarily in an existing Pod to accomplish user-initiated actions such as troubleshooting. You use ephemeral containers to inspect services rather than to build applications.Understanding ephemeral containersPods are the fundamental building block of Kubernetes applications. Since Pods are intended to be disposable and replaceable, you cannot add a container to a Pod once it has been created. Instead, you usually delete and replace Pods in a controlled fashion using deployments.Sometimes it's necessary to inspect the state of an existing Pod, however, for example to troubleshoot a hard-to-reproduce bug. In these cases you can run an ephemeral container in an existing Pod to inspect its state and run arbitrary commands.What is an ephemeral container?Ephemeral containers differ from other containers in that they lack guarantees for resources or execution, and they will never be automatically restarted, so they are not appropriate for building applications. Ephemeral containers are described using the same ContainerSpec as regular containers, but many fields are incompatible and disallowed for ephemeral containers.Ephemeral containers may not have ports, so fields such as ports, livenessProbe, readinessProbe are disallowed.Pod resource allocations are immutable, so setting resources is disallowed.For a complete list of allowed fields, see the EphemeralContainer reference documentation.Ephemeral containers are created using a special ephemeralcontainers handler in the API rather than by adding them directly to pod.spec, so it's not possible to add an ephemeral container using kubectl edit.Like regular containers, you may not change or remove an ephemeral container after you have added it to a Pod.Note:Ephemeral containers are not supported by static pods.Uses for ephemeral containersEphemeral containers are useful for interactive troubleshooting when kubectl exec is insufficient because a container has crashed or a container image doesn't include debugging utilities.In particular, distroless images enable you to deploy minimal container images that reduce attack surface and exposure to bugs and vulnerabilities. Since distroless images do not include a shell or any debugging utilities, it's difficult to troubleshoot distroless images using kubectl exec alone.When using ephemeral containers, it's helpful to enable process namespace sharing so you can view processes in other containers.What's nextLearn how to debug pods using ephemeral containers.",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/ephemeral-containers/",
    "id": "k8s_00358_qa_6792"
  },
  {
    "question": "When would you use Ephemeral Containers?",
    "answer": "Ephemeral ContainersFEATURE STATE: Kubernetes v1.25 [stable]This page provides an overview of ephemeral containers: a special type of container that runs temporarily in an existing Pod to accomplish user-initiated actions such as troubleshooting. You use ephemeral containers to inspect services rather than to build applications.Understanding ephemeral containersPods are the fundamental building block of Kubernetes applications. Since Pods are intended to be disposable and replaceable, you cannot add a container to a Pod once it has been created. Instead, you usually delete and replace Pods in a controlled fashion using deployments.Sometimes it's necessary to inspect the state of an existing Pod, however, for example to troubleshoot a hard-to-reproduce bug. In these cases you can run an ephemeral container in an existing Pod to inspect its state and run arbitrary commands.What is an ephemeral container?Ephemeral containers differ from other containers in that they lack guarantees for resources or execution, and they will never be automatically restarted, so they are not appropriate for building applications. Ephemeral containers are described using the same ContainerSpec as regular containers, but many fields are incompatible and disallowed for ephemeral containers.Ephemeral containers may not have ports, so fields such as ports, livenessProbe, readinessProbe are disallowed.Pod resource allocations are immutable, so setting resources is disallowed.For a complete list of allowed fields, see the EphemeralContainer reference documentation.Ephemeral containers are created using a special ephemeralcontainers handler in the API rather than by adding them directly to pod.spec, so it's not possible to add an ephemeral container using kubectl edit.Like regular containers, you may not change or remove an ephemeral container after you have added it to a Pod.Note:Ephemeral containers are not supported by static pods.Uses for ephemeral containersEphemeral containers are useful for interactive troubleshooting when kubectl exec is insufficient because a container has crashed or a container image doesn't include debugging utilities.In particular, distroless images enable you to deploy minimal container images that reduce attack surface and exposure to bugs and vulnerabilities. Since distroless images do not include a shell or any debugging utilities, it's difficult to troubleshoot distroless images using kubectl exec alone.When using ephemeral containers, it's helpful to enable process namespace sharing so you can view processes in other containers.What's nextLearn how to debug pods using ephemeral containers.",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/ephemeral-containers/",
    "id": "k8s_00358_qa_6793"
  },
  {
    "question": "What are the benefits of Ephemeral Containers?",
    "answer": "Ephemeral ContainersFEATURE STATE: Kubernetes v1.25 [stable]This page provides an overview of ephemeral containers: a special type of container that runs temporarily in an existing Pod to accomplish user-initiated actions such as troubleshooting. You use ephemeral containers to inspect services rather than to build applications.Understanding ephemeral containersPods are the fundamental building block of Kubernetes applications. Since Pods are intended to be disposable and replaceable, you cannot add a container to a Pod once it has been created. Instead, you usually delete and replace Pods in a controlled fashion using deployments.Sometimes it's necessary to inspect the state of an existing Pod, however, for example to troubleshoot a hard-to-reproduce bug. In these cases you can run an ephemeral container in an existing Pod to inspect its state and run arbitrary commands.What is an ephemeral container?Ephemeral containers differ from other containers in that they lack guarantees for resources or execution, and they will never be automatically restarted, so they are not appropriate for building applications. Ephemeral containers are described using the same ContainerSpec as regular containers, but many fields are incompatible and disallowed for ephemeral containers.Ephemeral containers may not have ports, so fields such as ports, livenessProbe, readinessProbe are disallowed.Pod resource allocations are immutable, so setting resources is disallowed.For a complete list of allowed fields, see the EphemeralContainer reference documentation.Ephemeral containers are created using a special ephemeralcontainers handler in the API rather than by adding them directly to pod.spec, so it's not possible to add an ephemeral container using kubectl edit.Like regular containers, you may not change or remove an ephemeral container after you have added it to a Pod.Note:Ephemeral containers are not supported by static pods.Uses for ephemeral containersEphemeral containers are useful for interactive troubleshooting when kubectl exec is insufficient because a container has crashed or a container image doesn't include debugging utilities.In particular, distroless images enable you to deploy minimal container images that reduce attack surface and exposure to bugs and vulnerabilities. Since distroless images do not include a shell or any debugging utilities, it's difficult to troubleshoot distroless images using kubectl exec alone.When using ephemeral containers, it's helpful to enable process namespace sharing so you can view processes in other containers.What's nextLearn how to debug pods using ephemeral containers.",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/ephemeral-containers/",
    "id": "k8s_00358_qa_6794"
  },
  {
    "question": "What is Ephemeral Containers?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   o f   e p h e m e r a l   c o n t a i n e r s :   a   s p e c i a l   t y p e   o f   c o n t a i n e r   t h a t   r u n s   t e m p o r a r i l y   i n   a n   e x i s t i n g   P o d   t o   a c c o m p l i s h   u s e r - i n i t i a t e d   a c t i o n s   s u c h   a s   t r o u b l e s h o o t i n g .   Y o u   u s e   e p h e m e r a l   c o n t a i n e r s   t o   i n s p e c t   s e r v i c e s   r a t h e r   t h a n   t o   b u i l d   a p p l i c a t i o n s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/ephemeral-containers/",
    "id": "k8s_00358_section_1_6795"
  },
  {
    "question": "What is Understanding ephemeral containers?",
    "answer": "P o d s   a r e   t h e   f u n d a m e n t a l   b u i l d i n g   b l o c k   o f   K u b e r n e t e s   a p p l i c a t i o n s .   S i n c e   P o d s   a r e   i n t e n d e d   t o   b e   d i s p o s a b l e   a n d   r e p l a c e a b l e ,   y o u   c a n n o t   a d d   a   c o n t a i n e r   t o   a   P o d   o n c e   i t   h a s   b e e n   c r e a t e d .   I n s t e a d ,   y o u   u s u a l l y   d e l e t e   a n d   r e p l a c e   P o d s   i n   a   c o n t r o l l e d   f a s h i o n   u s i n g   d e p l o y m e n t s .   S o m e t i m e s   i t ' s   n e c e s s a r y   t o   i n s p e c t   t h e   s t a t e   o f   a n   e x i s t i n g   P o d ,   h o w e v e r ,   f o r   e x a m p l e   t o   t r o u b l e s h o o t   a   h a r d - t o - r e p r o d u c e   b u g .   I n   t h e s e   c a s e s   y o u   c a n   r u n   a n   e p h e m e r a l   c o n t a i n e r   i n   a n   e x i s t i n g   P o d   t o   i n s p e c t   i t s   s t a t e   a n d   r u n   a r b i t r a r y   c o m m a n d s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/ephemeral-containers/",
    "id": "k8s_00358_section_2_6796"
  },
  {
    "question": "What is What is an ephemeral container??",
    "answer": "E p h e m e r a l   c o n t a i n e r s   d i f f e r   f r o m   o t h e r   c o n t a i n e r s   i n   t h a t   t h e y   l a c k   g u a r a n t e e s   f o r   r e s o u r c e s   o r   e x e c u t i o n ,   a n d   t h e y   w i l l   n e v e r   b e   a u t o m a t i c a l l y   r e s t a r t e d ,   s o   t h e y   a r e   n o t   a p p r o p r i a t e   f o r   b u i l d i n g   a p p l i c a t i o n s .   E p h e m e r a l   c o n t a i n e r s   a r e   d e s c r i b e d   u s i n g   t h e   s a m e   C o n t a i n e r S p e c   a s   r e g u l a r   c o n t a i n e r s ,   b u t   m a n y   f i e l d s   a r e   i n c o m p a t i b l e   a n d   d i s a l l o w e d   f o r   e p h e m e r a l   c o n t a i n e r s .   E p h e m e r a l   c o n t a i n e r s   m a y   n o t   h a v e   p o r t s ,   s o   f i e l d s   s u c h   a s   p o r t s ,   l i v e n e s s P r o b e ,   r e a d i n e s s P r o b e   a r e   d i s a l l o w e d . P o d   r e s o u r c e   a l l o c a t i o n s   a r e   i m m u t a b l e ,   s o   s e t t i n g   r e s o u r c e s   i s   d i s a l l o w e d . F o r   a   c o m p l e t e   l i s t   o f   a l l o w e d   f i e l d s ,   s e e   t h e   E p h e m e r a l C o n t a i n e r   r e f e r e n c e   d o c u m e n t a t i o n .   E p h e m e r a l   c o n t a i n e r s   a r e   c r e a t e d   u s i n g   a   s p e c i a l   e p h e m e r a l c o n t a i n e r s   h a n d l e r   i n   t h e   A P I   r a t h e r   t h a n   b y   a d d i n g   t h e m   d i r e c t l y   t o   p o d . s p e c ,   s o   i t ' s   n o t   p o s s i b l e   t o   a d d   a n   e p h e m e r a l   c o n t a i n e r   u s i n g   k u b e c t l   e d i t .   L i k e   r e g u l a r   c o n t a i n e r s ,   y o u   m a y   n o t   c h a n g e   o r   r e m o v e   a n   e p h e m e r a l   c o n t a i n e r   a f t e r   y o u   h a v e   a d d e d   i t   t o   a   P o d .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/ephemeral-containers/",
    "id": "k8s_00358_section_3_6797"
  },
  {
    "question": "What is Uses for ephemeral containers?",
    "answer": "E p h e m e r a l   c o n t a i n e r s   a r e   u s e f u l   f o r   i n t e r a c t i v e   t r o u b l e s h o o t i n g   w h e n   k u b e c t l   e x e c   i s   i n s u f f i c i e n t   b e c a u s e   a   c o n t a i n e r   h a s   c r a s h e d   o r   a   c o n t a i n e r   i m a g e   d o e s n ' t   i n c l u d e   d e b u g g i n g   u t i l i t i e s .   I n   p a r t i c u l a r ,   d i s t r o l e s s   i m a g e s   e n a b l e   y o u   t o   d e p l o y   m i n i m a l   c o n t a i n e r   i m a g e s   t h a t   r e d u c e   a t t a c k   s u r f a c e   a n d   e x p o s u r e   t o   b u g s   a n d   v u l n e r a b i l i t i e s .   S i n c e   d i s t r o l e s s   i m a g e s   d o   n o t   i n c l u d e   a   s h e l l   o r   a n y   d e b u g g i n g   u t i l i t i e s ,   i t ' s   d i f f i c u l t   t o   t r o u b l e s h o o t   d i s t r o l e s s   i m a g e s   u s i n g   k u b e c t l   e x e c   a l o n e .   W h e n   u s i n g   e p h e m e r a l   c o n t a i n e r s ,   i t ' s   h e l p f u l   t o   e n a b l e   p r o c e s s   n a m e s p a c e   s h a r i n g   s o   y o u   c a n   v i e w   p r o c e s s e s   i n   o t h e r   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/ephemeral-containers/",
    "id": "k8s_00358_section_2_6798"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   d e b u g   p o d s   u s i n g   e p h e m e r a l   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/ephemeral-containers/",
    "id": "k8s_00358_section_2_6799"
  },
  {
    "question": "What is Pod Scheduling Readiness?",
    "answer": "Pod Scheduling ReadinessFEATURE STATE: Kubernetes v1.30 [stable]Pods were considered ready for scheduling once created. Kubernetes scheduler does its due diligence to find nodes to place all pending Pods. However, in a real-world case, some Pods may stay in a \"miss-essential-resources\" state for a long period. These Pods actually churn the scheduler (and downstream integrators like Cluster AutoScaler) in an unnecessary manner.By specifying/removing a Pod's .spec.schedulingGates, you can control when a Pod is ready to be considered for scheduling.Configuring Pod schedulingGatesThe schedulingGates field contains a list of strings, and each string literal is perceived as a criteria that Pod should be satisfied before considered schedulable. This field can be initialized only when a Pod is created (either by the client, or mutated during admission). After creation, each schedulingGate can be removed in arbitrary order, but addition of a new scheduling gate is disallowed.Figure. Pod SchedulingGatesUsage exampleTo mark a Pod not-ready for scheduling, you can create it with one or more scheduling gates like this:pods/pod-with-scheduling-gates.yaml apiVersion: v1 kind: Pod metadata: name: test-pod spec: schedulingGates: - name: example.com/foo - name: example.com/bar containers: - name: pause image: registry.k8s.io/pause:3.6 After the Pod's creation, you can check its state using:kubectl get pod test-pod The output reveals it's in SchedulingGated state:NAME READY STATUS RESTARTS AGE test-pod 0/1 SchedulingGated 0 7s You can also check its schedulingGates field by running:kubectl get pod test-pod -o jsonpath='{.spec.schedulingGates}' The output is:[{\"name\":\"example.com/foo\"},{\"name\":\"example.com/bar\"}] To inform scheduler this Pod is ready for scheduling, you can remove its schedulingGates entirely by reapplying a modified manifest:pods/pod-without-scheduling-gates.yaml apiVersion: v1 kind: Pod metadata: name: test-pod spec: containers: - name: pause image: registry.k8s.io/pause:3.6 You can check if the schedulingGates is cleared by running:kubectl get pod test-pod -o jsonpath='{.spec.schedulingGates}' The output is expected to be empty. And you can check its latest status by running:kubectl get pod test-pod -o wide Given the test-pod doesn't request any CPU/memory resources, it's expected that this Pod's state get transited from previous SchedulingGated to Running:NAME READY STATUS RESTARTS AGE IP NODE test-pod 1/1 Running 0 15s 10.0.0.4 node-2 ObservabilityThe metric scheduler_pending_pods comes with a new label \"gated\" to distinguish whether a Pod has been tried scheduling but claimed as unschedulable, or explicitly marked as not ready for scheduling. You can use scheduler_pending_pods{queue=\"gated\"} to check the metric result.Mutable Pod scheduling directivesYou can mutate scheduling directives of Pods while they have scheduling gates, with certain constraints. At a high level, you can only tighten the scheduling directives of a Pod. In other words, t",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-scheduling-readiness/",
    "id": "k8s_00359_qa_6800"
  },
  {
    "question": "How does Pod Scheduling Readiness work?",
    "answer": "Pod Scheduling ReadinessFEATURE STATE: Kubernetes v1.30 [stable]Pods were considered ready for scheduling once created. Kubernetes scheduler does its due diligence to find nodes to place all pending Pods. However, in a real-world case, some Pods may stay in a \"miss-essential-resources\" state for a long period. These Pods actually churn the scheduler (and downstream integrators like Cluster AutoScaler) in an unnecessary manner.By specifying/removing a Pod's .spec.schedulingGates, you can control when a Pod is ready to be considered for scheduling.Configuring Pod schedulingGatesThe schedulingGates field contains a list of strings, and each string literal is perceived as a criteria that Pod should be satisfied before considered schedulable. This field can be initialized only when a Pod is created (either by the client, or mutated during admission). After creation, each schedulingGate can be removed in arbitrary order, but addition of a new scheduling gate is disallowed.Figure. Pod SchedulingGatesUsage exampleTo mark a Pod not-ready for scheduling, you can create it with one or more scheduling gates like this:pods/pod-with-scheduling-gates.yaml apiVersion: v1 kind: Pod metadata: name: test-pod spec: schedulingGates: - name: example.com/foo - name: example.com/bar containers: - name: pause image: registry.k8s.io/pause:3.6 After the Pod's creation, you can check its state using:kubectl get pod test-pod The output reveals it's in SchedulingGated state:NAME READY STATUS RESTARTS AGE test-pod 0/1 SchedulingGated 0 7s You can also check its schedulingGates field by running:kubectl get pod test-pod -o jsonpath='{.spec.schedulingGates}' The output is:[{\"name\":\"example.com/foo\"},{\"name\":\"example.com/bar\"}] To inform scheduler this Pod is ready for scheduling, you can remove its schedulingGates entirely by reapplying a modified manifest:pods/pod-without-scheduling-gates.yaml apiVersion: v1 kind: Pod metadata: name: test-pod spec: containers: - name: pause image: registry.k8s.io/pause:3.6 You can check if the schedulingGates is cleared by running:kubectl get pod test-pod -o jsonpath='{.spec.schedulingGates}' The output is expected to be empty. And you can check its latest status by running:kubectl get pod test-pod -o wide Given the test-pod doesn't request any CPU/memory resources, it's expected that this Pod's state get transited from previous SchedulingGated to Running:NAME READY STATUS RESTARTS AGE IP NODE test-pod 1/1 Running 0 15s 10.0.0.4 node-2 ObservabilityThe metric scheduler_pending_pods comes with a new label \"gated\" to distinguish whether a Pod has been tried scheduling but claimed as unschedulable, or explicitly marked as not ready for scheduling. You can use scheduler_pending_pods{queue=\"gated\"} to check the metric result.Mutable Pod scheduling directivesYou can mutate scheduling directives of Pods while they have scheduling gates, with certain constraints. At a high level, you can only tighten the scheduling directives of a Pod. In other words, t",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-scheduling-readiness/",
    "id": "k8s_00359_qa_6801"
  },
  {
    "question": "When would you use Pod Scheduling Readiness?",
    "answer": "Pod Scheduling ReadinessFEATURE STATE: Kubernetes v1.30 [stable]Pods were considered ready for scheduling once created. Kubernetes scheduler does its due diligence to find nodes to place all pending Pods. However, in a real-world case, some Pods may stay in a \"miss-essential-resources\" state for a long period. These Pods actually churn the scheduler (and downstream integrators like Cluster AutoScaler) in an unnecessary manner.By specifying/removing a Pod's .spec.schedulingGates, you can control when a Pod is ready to be considered for scheduling.Configuring Pod schedulingGatesThe schedulingGates field contains a list of strings, and each string literal is perceived as a criteria that Pod should be satisfied before considered schedulable. This field can be initialized only when a Pod is created (either by the client, or mutated during admission). After creation, each schedulingGate can be removed in arbitrary order, but addition of a new scheduling gate is disallowed.Figure. Pod SchedulingGatesUsage exampleTo mark a Pod not-ready for scheduling, you can create it with one or more scheduling gates like this:pods/pod-with-scheduling-gates.yaml apiVersion: v1 kind: Pod metadata: name: test-pod spec: schedulingGates: - name: example.com/foo - name: example.com/bar containers: - name: pause image: registry.k8s.io/pause:3.6 After the Pod's creation, you can check its state using:kubectl get pod test-pod The output reveals it's in SchedulingGated state:NAME READY STATUS RESTARTS AGE test-pod 0/1 SchedulingGated 0 7s You can also check its schedulingGates field by running:kubectl get pod test-pod -o jsonpath='{.spec.schedulingGates}' The output is:[{\"name\":\"example.com/foo\"},{\"name\":\"example.com/bar\"}] To inform scheduler this Pod is ready for scheduling, you can remove its schedulingGates entirely by reapplying a modified manifest:pods/pod-without-scheduling-gates.yaml apiVersion: v1 kind: Pod metadata: name: test-pod spec: containers: - name: pause image: registry.k8s.io/pause:3.6 You can check if the schedulingGates is cleared by running:kubectl get pod test-pod -o jsonpath='{.spec.schedulingGates}' The output is expected to be empty. And you can check its latest status by running:kubectl get pod test-pod -o wide Given the test-pod doesn't request any CPU/memory resources, it's expected that this Pod's state get transited from previous SchedulingGated to Running:NAME READY STATUS RESTARTS AGE IP NODE test-pod 1/1 Running 0 15s 10.0.0.4 node-2 ObservabilityThe metric scheduler_pending_pods comes with a new label \"gated\" to distinguish whether a Pod has been tried scheduling but claimed as unschedulable, or explicitly marked as not ready for scheduling. You can use scheduler_pending_pods{queue=\"gated\"} to check the metric result.Mutable Pod scheduling directivesYou can mutate scheduling directives of Pods while they have scheduling gates, with certain constraints. At a high level, you can only tighten the scheduling directives of a Pod. In other words, t",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-scheduling-readiness/",
    "id": "k8s_00359_qa_6802"
  },
  {
    "question": "What are the benefits of Pod Scheduling Readiness?",
    "answer": "Pod Scheduling ReadinessFEATURE STATE: Kubernetes v1.30 [stable]Pods were considered ready for scheduling once created. Kubernetes scheduler does its due diligence to find nodes to place all pending Pods. However, in a real-world case, some Pods may stay in a \"miss-essential-resources\" state for a long period. These Pods actually churn the scheduler (and downstream integrators like Cluster AutoScaler) in an unnecessary manner.By specifying/removing a Pod's .spec.schedulingGates, you can control when a Pod is ready to be considered for scheduling.Configuring Pod schedulingGatesThe schedulingGates field contains a list of strings, and each string literal is perceived as a criteria that Pod should be satisfied before considered schedulable. This field can be initialized only when a Pod is created (either by the client, or mutated during admission). After creation, each schedulingGate can be removed in arbitrary order, but addition of a new scheduling gate is disallowed.Figure. Pod SchedulingGatesUsage exampleTo mark a Pod not-ready for scheduling, you can create it with one or more scheduling gates like this:pods/pod-with-scheduling-gates.yaml apiVersion: v1 kind: Pod metadata: name: test-pod spec: schedulingGates: - name: example.com/foo - name: example.com/bar containers: - name: pause image: registry.k8s.io/pause:3.6 After the Pod's creation, you can check its state using:kubectl get pod test-pod The output reveals it's in SchedulingGated state:NAME READY STATUS RESTARTS AGE test-pod 0/1 SchedulingGated 0 7s You can also check its schedulingGates field by running:kubectl get pod test-pod -o jsonpath='{.spec.schedulingGates}' The output is:[{\"name\":\"example.com/foo\"},{\"name\":\"example.com/bar\"}] To inform scheduler this Pod is ready for scheduling, you can remove its schedulingGates entirely by reapplying a modified manifest:pods/pod-without-scheduling-gates.yaml apiVersion: v1 kind: Pod metadata: name: test-pod spec: containers: - name: pause image: registry.k8s.io/pause:3.6 You can check if the schedulingGates is cleared by running:kubectl get pod test-pod -o jsonpath='{.spec.schedulingGates}' The output is expected to be empty. And you can check its latest status by running:kubectl get pod test-pod -o wide Given the test-pod doesn't request any CPU/memory resources, it's expected that this Pod's state get transited from previous SchedulingGated to Running:NAME READY STATUS RESTARTS AGE IP NODE test-pod 1/1 Running 0 15s 10.0.0.4 node-2 ObservabilityThe metric scheduler_pending_pods comes with a new label \"gated\" to distinguish whether a Pod has been tried scheduling but claimed as unschedulable, or explicitly marked as not ready for scheduling. You can use scheduler_pending_pods{queue=\"gated\"} to check the metric result.Mutable Pod scheduling directivesYou can mutate scheduling directives of Pods while they have scheduling gates, with certain constraints. At a high level, you can only tighten the scheduling directives of a Pod. In other words, t",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-scheduling-readiness/",
    "id": "k8s_00359_qa_6803"
  },
  {
    "question": "What is Pod Scheduling Readiness?",
    "answer": "P o d s   w e r e   c o n s i d e r e d   r e a d y   f o r   s c h e d u l i n g   o n c e   c r e a t e d .   K u b e r n e t e s   s c h e d u l e r   d o e s   i t s   d u e   d i l i g e n c e   t o   f i n d   n o d e s   t o   p l a c e   a l l   p e n d i n g   P o d s .   H o w e v e r ,   i n   a   r e a l - w o r l d   c a s e ,   s o m e   P o d s   m a y   s t a y   i n   a   \" m i s s - e s s e n t i a l - r e s o u r c e s \"   s t a t e   f o r   a   l o n g   p e r i o d .   T h e s e   P o d s   a c t u a l l y   c h u r n   t h e   s c h e d u l e r   ( a n d   d o w n s t r e a m   i n t e g r a t o r s   l i k e   C l u s t e r   A u t o S c a l e r )   i n   a n   u n n e c e s s a r y   m a n n e r .   B y   s p e c i f y i n g / r e m o v i n g   a   P o d ' s   . s p e c . s c h e d u l i n g G a t e s ,   y o u   c a n   c o n t r o l   w h e n   a   P o d   i s   r e a d y   t o   b e   c o n s i d e r e d   f o r   s c h e d u l i n g .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-scheduling-readiness/",
    "id": "k8s_00359_section_1_6804"
  },
  {
    "question": "What is Configuring Pod schedulingGates?",
    "answer": "T h e   s c h e d u l i n g G a t e s   f i e l d   c o n t a i n s   a   l i s t   o f   s t r i n g s ,   a n d   e a c h   s t r i n g   l i t e r a l   i s   p e r c e i v e d   a s   a   c r i t e r i a   t h a t   P o d   s h o u l d   b e   s a t i s f i e d   b e f o r e   c o n s i d e r e d   s c h e d u l a b l e .   T h i s   f i e l d   c a n   b e   i n i t i a l i z e d   o n l y   w h e n   a   P o d   i s   c r e a t e d   ( e i t h e r   b y   t h e   c l i e n t ,   o r   m u t a t e d   d u r i n g   a d m i s s i o n ) .   A f t e r   c r e a t i o n ,   e a c h   s c h e d u l i n g G a t e   c a n   b e   r e m o v e d   i n   a r b i t r a r y   o r d e r ,   b u t   a d d i t i o n   o f   a   n e w   s c h e d u l i n g   g a t e   i s   d i s a l l o w e d .   F i g u r e .   P o d   S c h e d u l i n g G a t e s",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-scheduling-readiness/",
    "id": "k8s_00359_section_2_6805"
  },
  {
    "question": "What is Usage example?",
    "answer": "T o   m a r k   a   P o d   n o t - r e a d y   f o r   s c h e d u l i n g ,   y o u   c a n   c r e a t e   i t   w i t h   o n e   o r   m o r e   s c h e d u l i n g   g a t e s   l i k e   t h i s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t - p o d   s p e c :   s c h e d u l i n g G a t e s :   -   n a m e :   e x a m p l e . c o m / f o o   -   n a m e :   e x a m p l e . c o m / b a r   c o n t a i n e r s :   -   n a m e :   p a u s e   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 6   A f t e r   t h e   P o d ' s   c r e a t i o n ,   y o u   c a n   c h e c k   i t s   s t a t e   u s i n g :   k u b e c t l   g e t   p o d   t e s t - p o d   T h e   o u t p u t   r e v e a l s   i t ' s   i n   S c h e d u l i n g G a t e d   s t a t e :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   t e s t - p o d   0 / 1   S c h e d u l i n g G a t e d   0   7 s   Y o u   c a n   a l s o   c h e c k   i t s   s c h e d u l i n g G a t e s   f i e l d   b y   r u n n i n g :   k u b e c t l   g e t   p o d   t e s t - p o d   - o   j s o n p a t h = ' { . s p e c . s c h e d u l i n g G a t e s } '   T h e   o u t p u t   i s :   [ { \" n a m e \" : \" e x a m p l e . c o m / f o o \" } , { \" n a m e \" : \" e x a m p l e . c o m / b a r \" } ]   T o   i n f o r m   s c h e d u l e r   t h i s   P o d   i s   r e a d y   f o r   s c h e d u l i n g ,   y o u   c a n   r e m o v e   i t s   s c h e d u l i n g G a t e s   e n t i r e l y   b y   r e a p p l y i n g   a   m o d i f i e d   m a n i f e s t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   p a u s e   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 6   Y o u   c a n   c h e c k   i f   t h e   s c h e d u l i n g G a t e s   i s   c l e a r e d   b y   r u n n i n g :   k u b e c t l   g e t   p o d   t e s t - ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-scheduling-readiness/",
    "id": "k8s_00359_section_2_6806"
  },
  {
    "question": "What is Observability?",
    "answer": "T h e   m e t r i c   s c h e d u l e r _ p e n d i n g _ p o d s   c o m e s   w i t h   a   n e w   l a b e l   \" g a t e d \"   t o   d i s t i n g u i s h   w h e t h e r   a   P o d   h a s   b e e n   t r i e d   s c h e d u l i n g   b u t   c l a i m e d   a s   u n s c h e d u l a b l e ,   o r   e x p l i c i t l y   m a r k e d   a s   n o t   r e a d y   f o r   s c h e d u l i n g .   Y o u   c a n   u s e   s c h e d u l e r _ p e n d i n g _ p o d s { q u e u e = \" g a t e d \" }   t o   c h e c k   t h e   m e t r i c   r e s u l t .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-scheduling-readiness/",
    "id": "k8s_00359_section_2_6807"
  },
  {
    "question": "What is Mutable Pod scheduling directives?",
    "answer": "Y o u   c a n   m u t a t e   s c h e d u l i n g   d i r e c t i v e s   o f   P o d s   w h i l e   t h e y   h a v e   s c h e d u l i n g   g a t e s ,   w i t h   c e r t a i n   c o n s t r a i n t s .   A t   a   h i g h   l e v e l ,   y o u   c a n   o n l y   t i g h t e n   t h e   s c h e d u l i n g   d i r e c t i v e s   o f   a   P o d .   I n   o t h e r   w o r d s ,   t h e   u p d a t e d   d i r e c t i v e s   w o u l d   c a u s e   t h e   P o d s   t o   o n l y   b e   a b l e   t o   b e   s c h e d u l e d   o n   a   s u b s e t   o f   t h e   n o d e s   t h a t   i t   w o u l d   p r e v i o u s l y   m a t c h .   M o r e   c o n c r e t e l y ,   t h e   r u l e s   f o r   u p d a t i n g   a   P o d ' s   s c h e d u l i n g   d i r e c t i v e s   a r e   a s   f o l l o w s :   F o r   . s p e c . n o d e S e l e c t o r ,   o n l y   a d d i t i o n s   a r e   a l l o w e d .   I f   a b s e n t ,   i t   w i l l   b e   a l l o w e d   t o   b e   s e t . F o r   s p e c . a f f i n i t y . n o d e A f f i n i t y ,   i f   n i l ,   t h e n   s e t t i n g   a n y t h i n g   i s   a l l o w e d . I f   N o d e S e l e c t o r T e r m s   w a s   e m p t y ,   i t   w i l l   b e   a l l o w e d   t o   b e   s e t .   I f   n o t   e m p t y ,   t h e n   o n l y   a d d i t i o n s   o f   N o d e S e l e c t o r R e q u i r e m e n t s   t o   m a t c h E x p r e s s i o n s   o r   f i e l d E x p r e s s i o n s   a r e   a l l o w e d ,   a n d   n o   c h a n g e s   t o   e x i s t i n g   m a t c h E x p r e s s i o n s   a n d   f i e l d E x p r e s s i o n s   w i l l   b e   a l l o w e d .   T h i s   i s   b e c a u s e   t h e   t e r m s   i n   . r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n . N o d e S e l e c t o r T e r m s ,   a r e   O R e d   w h i l e   t h e   e x p r e s s i o n s   i n   n o d e S e l e c t o r T e r m s [ ] . m a t c h E x p r e s s ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-scheduling-readiness/",
    "id": "k8s_00359_section_2_6808"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   t h e   P o d S c h e d u l i n g R e a d i n e s s   K E P   f o r   m o r e   d e t a i l s",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-scheduling-readiness/",
    "id": "k8s_00359_section_2_6809"
  },
  {
    "question": "What is CSIStorageCapacity?",
    "answer": "CSIStorageCapacityCSIStorageCapacity stores the result of one CSI GetCapacity call.apiVersion: storage.k8s.io/v1import \"k8s.io/api/storage/v1\"CSIStorageCapacityCSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.For example this can express things like: - StorageClass \"standard\" has \"1234 GiB\" available in \"topology.kubernetes.io/zone=us-east1\" - StorageClass \"localssd\" has \"10 GiB\" available in \"kubernetes.io/hostname=knode-abc123\"The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zeroThe producer of these objects can decide which approach is more suitable.They are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.apiVersion: storage.k8s.io/v1kind: CSIStorageCapacitymetadata (ObjectMeta)Standard object's metadata. The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends with the unique CSI driver name.Objects are namespaced.More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatastorageClassName (string), requiredstorageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.capacity (Quantity)capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable.maximumVolumeSize (Quantity)maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_qa_6810"
  },
  {
    "question": "How does CSIStorageCapacity work?",
    "answer": "CSIStorageCapacityCSIStorageCapacity stores the result of one CSI GetCapacity call.apiVersion: storage.k8s.io/v1import \"k8s.io/api/storage/v1\"CSIStorageCapacityCSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.For example this can express things like: - StorageClass \"standard\" has \"1234 GiB\" available in \"topology.kubernetes.io/zone=us-east1\" - StorageClass \"localssd\" has \"10 GiB\" available in \"kubernetes.io/hostname=knode-abc123\"The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zeroThe producer of these objects can decide which approach is more suitable.They are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.apiVersion: storage.k8s.io/v1kind: CSIStorageCapacitymetadata (ObjectMeta)Standard object's metadata. The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends with the unique CSI driver name.Objects are namespaced.More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatastorageClassName (string), requiredstorageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.capacity (Quantity)capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable.maximumVolumeSize (Quantity)maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_qa_6811"
  },
  {
    "question": "When would you use CSIStorageCapacity?",
    "answer": "CSIStorageCapacityCSIStorageCapacity stores the result of one CSI GetCapacity call.apiVersion: storage.k8s.io/v1import \"k8s.io/api/storage/v1\"CSIStorageCapacityCSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.For example this can express things like: - StorageClass \"standard\" has \"1234 GiB\" available in \"topology.kubernetes.io/zone=us-east1\" - StorageClass \"localssd\" has \"10 GiB\" available in \"kubernetes.io/hostname=knode-abc123\"The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zeroThe producer of these objects can decide which approach is more suitable.They are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.apiVersion: storage.k8s.io/v1kind: CSIStorageCapacitymetadata (ObjectMeta)Standard object's metadata. The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends with the unique CSI driver name.Objects are namespaced.More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatastorageClassName (string), requiredstorageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.capacity (Quantity)capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable.maximumVolumeSize (Quantity)maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_qa_6812"
  },
  {
    "question": "What are the benefits of CSIStorageCapacity?",
    "answer": "CSIStorageCapacityCSIStorageCapacity stores the result of one CSI GetCapacity call.apiVersion: storage.k8s.io/v1import \"k8s.io/api/storage/v1\"CSIStorageCapacityCSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.For example this can express things like: - StorageClass \"standard\" has \"1234 GiB\" available in \"topology.kubernetes.io/zone=us-east1\" - StorageClass \"localssd\" has \"10 GiB\" available in \"kubernetes.io/hostname=knode-abc123\"The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zeroThe producer of these objects can decide which approach is more suitable.They are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.apiVersion: storage.k8s.io/v1kind: CSIStorageCapacitymetadata (ObjectMeta)Standard object's metadata. The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends with the unique CSI driver name.Objects are namespaced.More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatastorageClassName (string), requiredstorageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.capacity (Quantity)capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable.maximumVolumeSize (Quantity)maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_qa_6813"
  },
  {
    "question": "What is CSIStorageCapacity?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / s t o r a g e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_1_6814"
  },
  {
    "question": "What is CSIStorageCapacity?",
    "answer": "C S I S t o r a g e C a p a c i t y   s t o r e s   t h e   r e s u l t   o f   o n e   C S I   G e t C a p a c i t y   c a l l .   F o r   a   g i v e n   S t o r a g e C l a s s ,   t h i s   d e s c r i b e s   t h e   a v a i l a b l e   c a p a c i t y   i n   a   p a r t i c u l a r   t o p o l o g y   s e g m e n t .   T h i s   c a n   b e   u s e d   w h e n   c o n s i d e r i n g   w h e r e   t o   i n s t a n t i a t e   n e w   P e r s i s t e n t V o l u m e s .   F o r   e x a m p l e   t h i s   c a n   e x p r e s s   t h i n g s   l i k e :   -   S t o r a g e C l a s s   \" s t a n d a r d \"   h a s   \" 1 2 3 4   G i B \"   a v a i l a b l e   i n   \" t o p o l o g y . k u b e r n e t e s . i o / z o n e = u s - e a s t 1 \"   -   S t o r a g e C l a s s   \" l o c a l s s d \"   h a s   \" 1 0   G i B \"   a v a i l a b l e   i n   \" k u b e r n e t e s . i o / h o s t n a m e = k n o d e - a b c 1 2 3 \"   T h e   f o l l o w i n g   t h r e e   c a s e s   a l l   i m p l y   t h a t   n o   c a p a c i t y   i s   a v a i l a b l e   f o r   a   c e r t a i n   c o m b i n a t i o n :   -   n o   o b j e c t   e x i s t s   w i t h   s u i t a b l e   t o p o l o g y   a n d   s t o r a g e   c l a s s   n a m e   -   s u c h   a n   o b j e c t   e x i s t s ,   b u t   t h e   c a p a c i t y   i s   u n s e t   -   s u c h   a n   o b j e c t   e x i s t s ,   b u t   t h e   c a p a c i t y   i s   z e r o   T h e   p r o d u c e r   o f   t h e s e   o b j e c t s   c a n   d e c i d e   w h i c h   a p p r o a c h   i s   m o r e   s u i t a b l e .   T h e y   a r e   c o n s u m e d   b y   t h e   k u b e - s c h e d u l e r   w h e n   a   C S I   d r i v e r   o p t s   i n t o   c a p a c i t y - a w a r e   s c h e d u l i n g   w i t h   C S I D r i v e r S p e c . S t o r a g e C a p a c i t y .   T h e   s c h e d u l e r   c o m p a r e s   t h e   M a x i m u m V o l u m e S i z e   a g a i n s t   t h e   r e q u e s t e d   s i z ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_2_6815"
  },
  {
    "question": "What is CSIStorageCapacityList?",
    "answer": "C S I S t o r a g e C a p a c i t y L i s t   i s   a   c o l l e c t i o n   o f   C S I S t o r a g e C a p a c i t y   o b j e c t s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   C S I S t o r a g e C a p a c i t y L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] C S I S t o r a g e C a p a c i t y ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   C S I S t o r a g e C a p a c i t y   o b j e c t s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   C S I S t o r a g e C a p a c i t y L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] C S I S t o r a g e C a p a c i t y ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   C S I S t o r a g e C a p a c i t y   o b j e c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_2_6816"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_4_6817"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I S t o r a g e C a p a c i t y n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I S t o r a g e C a p a c i t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_4_6818"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I S t o r a g e C a p a c i t y ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_4_6819"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_4_6820"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_4_6821"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I S t o r a g e C a p a c i t y L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_4_6822"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i s t o r a g e c a p a c i t i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_4_6823"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_4_6824"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I S t o r a g e C a p a c i t y L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_4_6825"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_4_6826"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C S I S t o r a g e C a p a c i t y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C S I S t o r a g e C a p a c i t y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_4_6827"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I S t o r a g e C a p a c i t y ) :   O K   2 0 1   ( C S I S t o r a g e C a p a c i t y ) :   C r e a t e d   2 0 2   ( C S I S t o r a g e C a p a c i t y ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_4_6828"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_4_6829"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I S t o r a g e C a p a c i t y n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C S I S t o r a g e C a p a c i t y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I S t o r a g e C a p a c i t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C S I S t o r a g e C a p a c i t y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_4_6830"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I S t o r a g e C a p a c i t y ) :   O K   2 0 1   ( C S I S t o r a g e C a p a c i t y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_4_6831"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_4_6832"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I S t o r a g e C a p a c i t y n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I S t o r a g e C a p a c i t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_4_6833"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I S t o r a g e C a p a c i t y ) :   O K   2 0 1   ( C S I S t o r a g e C a p a c i t y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_4_6834"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_4_6835"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I S t o r a g e C a p a c i t y n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I S t o r a g e C a p a c i t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_4_6836"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_4_6837"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_4_6838"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_4_6839"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/",
    "id": "k8s_00360_section_4_6840"
  },
  {
    "question": "What is Run a Single-Instance Stateful Application?",
    "answer": "Run a Single-Instance Stateful ApplicationThis page shows you how to run a single-instance stateful application in Kubernetes using a PersistentVolume and a Deployment. The application is MySQL.ObjectivesCreate a PersistentVolume referencing a disk in your environment.Create a MySQL Deployment.Expose MySQL to other pods in the cluster at a known DNS name.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.You need to either have a dynamic PersistentVolume provisioner with a default StorageClass, or statically provision PersistentVolumes yourself to satisfy the PersistentVolumeClaims used here.Deploy MySQLYou can run a stateful application by creating a Kubernetes Deployment and connecting it to an existing PersistentVolume using a PersistentVolumeClaim. For example, this YAML file describes a Deployment that runs MySQL and references the PersistentVolumeClaim. The file defines a volume mount for /var/lib/mysql, and then creates a PersistentVolumeClaim that looks for a 20G volume. This claim is satisfied by any existing volume that meets the requirements, or by a dynamic provisioner.Note: The password is defined in the config yaml, and this is insecure. See Kubernetes Secrets for a secure solution.application/mysql/mysql-deployment.yaml apiVersion: v1 kind: Service metadata: name: mysql spec: ports: - port: 3306 selector: app: mysql clusterIP: None --- apiVersion: apps/v1 kind: Deployment metadata: name: mysql spec: selector: matchLabels: app: mysql strategy: type: Recreate template: metadata: labels: app: mysql spec: containers: - image: mysql:9 name: mysql env: # Use secret in real usage - name: MYSQL_ROOT_PASSWORD value: password ports: - containerPort: 3306 name: mysql volumeMounts: - name: mysql-persistent-storage mountPath: /var/lib/mysql volumes: - name: mysql-persistent-storage persistentVolumeClaim: claimName: mysql-pv-claim application/mysql/mysql-pv.yaml apiVersion: v1 kind: PersistentVolume metadata: name: mysql-pv-volume labels: type: local spec: storageClassName: manual capacity: storage: 20Gi accessModes: - ReadWriteOnce hostPath: path: \"/mnt/data\" --- apiVersion: v1 kind: PersistentVolumeClaim metadata: name: mysql-pv-claim spec: storageClassName: manual accessModes: - ReadWriteOnce resources: requests: storage: 20Gi Deploy the PV and PVC of the YAML file:kubectl apply -f https://k8s.io/examples/application/mysql/mysql-pv.yaml Deploy the contents of the YAML file:kubectl apply -f https://k8s.io/examples/application/mysql/mysql-deployment.yaml Display information about the Deployment:kubectl describe deploymen",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-single-instance-stateful-application/",
    "id": "k8s_00361_qa_6841"
  },
  {
    "question": "How does Run a Single-Instance Stateful Application work?",
    "answer": "Run a Single-Instance Stateful ApplicationThis page shows you how to run a single-instance stateful application in Kubernetes using a PersistentVolume and a Deployment. The application is MySQL.ObjectivesCreate a PersistentVolume referencing a disk in your environment.Create a MySQL Deployment.Expose MySQL to other pods in the cluster at a known DNS name.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.You need to either have a dynamic PersistentVolume provisioner with a default StorageClass, or statically provision PersistentVolumes yourself to satisfy the PersistentVolumeClaims used here.Deploy MySQLYou can run a stateful application by creating a Kubernetes Deployment and connecting it to an existing PersistentVolume using a PersistentVolumeClaim. For example, this YAML file describes a Deployment that runs MySQL and references the PersistentVolumeClaim. The file defines a volume mount for /var/lib/mysql, and then creates a PersistentVolumeClaim that looks for a 20G volume. This claim is satisfied by any existing volume that meets the requirements, or by a dynamic provisioner.Note: The password is defined in the config yaml, and this is insecure. See Kubernetes Secrets for a secure solution.application/mysql/mysql-deployment.yaml apiVersion: v1 kind: Service metadata: name: mysql spec: ports: - port: 3306 selector: app: mysql clusterIP: None --- apiVersion: apps/v1 kind: Deployment metadata: name: mysql spec: selector: matchLabels: app: mysql strategy: type: Recreate template: metadata: labels: app: mysql spec: containers: - image: mysql:9 name: mysql env: # Use secret in real usage - name: MYSQL_ROOT_PASSWORD value: password ports: - containerPort: 3306 name: mysql volumeMounts: - name: mysql-persistent-storage mountPath: /var/lib/mysql volumes: - name: mysql-persistent-storage persistentVolumeClaim: claimName: mysql-pv-claim application/mysql/mysql-pv.yaml apiVersion: v1 kind: PersistentVolume metadata: name: mysql-pv-volume labels: type: local spec: storageClassName: manual capacity: storage: 20Gi accessModes: - ReadWriteOnce hostPath: path: \"/mnt/data\" --- apiVersion: v1 kind: PersistentVolumeClaim metadata: name: mysql-pv-claim spec: storageClassName: manual accessModes: - ReadWriteOnce resources: requests: storage: 20Gi Deploy the PV and PVC of the YAML file:kubectl apply -f https://k8s.io/examples/application/mysql/mysql-pv.yaml Deploy the contents of the YAML file:kubectl apply -f https://k8s.io/examples/application/mysql/mysql-deployment.yaml Display information about the Deployment:kubectl describe deploymen",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-single-instance-stateful-application/",
    "id": "k8s_00361_qa_6842"
  },
  {
    "question": "When would you use Run a Single-Instance Stateful Application?",
    "answer": "Run a Single-Instance Stateful ApplicationThis page shows you how to run a single-instance stateful application in Kubernetes using a PersistentVolume and a Deployment. The application is MySQL.ObjectivesCreate a PersistentVolume referencing a disk in your environment.Create a MySQL Deployment.Expose MySQL to other pods in the cluster at a known DNS name.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.You need to either have a dynamic PersistentVolume provisioner with a default StorageClass, or statically provision PersistentVolumes yourself to satisfy the PersistentVolumeClaims used here.Deploy MySQLYou can run a stateful application by creating a Kubernetes Deployment and connecting it to an existing PersistentVolume using a PersistentVolumeClaim. For example, this YAML file describes a Deployment that runs MySQL and references the PersistentVolumeClaim. The file defines a volume mount for /var/lib/mysql, and then creates a PersistentVolumeClaim that looks for a 20G volume. This claim is satisfied by any existing volume that meets the requirements, or by a dynamic provisioner.Note: The password is defined in the config yaml, and this is insecure. See Kubernetes Secrets for a secure solution.application/mysql/mysql-deployment.yaml apiVersion: v1 kind: Service metadata: name: mysql spec: ports: - port: 3306 selector: app: mysql clusterIP: None --- apiVersion: apps/v1 kind: Deployment metadata: name: mysql spec: selector: matchLabels: app: mysql strategy: type: Recreate template: metadata: labels: app: mysql spec: containers: - image: mysql:9 name: mysql env: # Use secret in real usage - name: MYSQL_ROOT_PASSWORD value: password ports: - containerPort: 3306 name: mysql volumeMounts: - name: mysql-persistent-storage mountPath: /var/lib/mysql volumes: - name: mysql-persistent-storage persistentVolumeClaim: claimName: mysql-pv-claim application/mysql/mysql-pv.yaml apiVersion: v1 kind: PersistentVolume metadata: name: mysql-pv-volume labels: type: local spec: storageClassName: manual capacity: storage: 20Gi accessModes: - ReadWriteOnce hostPath: path: \"/mnt/data\" --- apiVersion: v1 kind: PersistentVolumeClaim metadata: name: mysql-pv-claim spec: storageClassName: manual accessModes: - ReadWriteOnce resources: requests: storage: 20Gi Deploy the PV and PVC of the YAML file:kubectl apply -f https://k8s.io/examples/application/mysql/mysql-pv.yaml Deploy the contents of the YAML file:kubectl apply -f https://k8s.io/examples/application/mysql/mysql-deployment.yaml Display information about the Deployment:kubectl describe deploymen",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-single-instance-stateful-application/",
    "id": "k8s_00361_qa_6843"
  },
  {
    "question": "What are the benefits of Run a Single-Instance Stateful Application?",
    "answer": "Run a Single-Instance Stateful ApplicationThis page shows you how to run a single-instance stateful application in Kubernetes using a PersistentVolume and a Deployment. The application is MySQL.ObjectivesCreate a PersistentVolume referencing a disk in your environment.Create a MySQL Deployment.Expose MySQL to other pods in the cluster at a known DNS name.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.You need to either have a dynamic PersistentVolume provisioner with a default StorageClass, or statically provision PersistentVolumes yourself to satisfy the PersistentVolumeClaims used here.Deploy MySQLYou can run a stateful application by creating a Kubernetes Deployment and connecting it to an existing PersistentVolume using a PersistentVolumeClaim. For example, this YAML file describes a Deployment that runs MySQL and references the PersistentVolumeClaim. The file defines a volume mount for /var/lib/mysql, and then creates a PersistentVolumeClaim that looks for a 20G volume. This claim is satisfied by any existing volume that meets the requirements, or by a dynamic provisioner.Note: The password is defined in the config yaml, and this is insecure. See Kubernetes Secrets for a secure solution.application/mysql/mysql-deployment.yaml apiVersion: v1 kind: Service metadata: name: mysql spec: ports: - port: 3306 selector: app: mysql clusterIP: None --- apiVersion: apps/v1 kind: Deployment metadata: name: mysql spec: selector: matchLabels: app: mysql strategy: type: Recreate template: metadata: labels: app: mysql spec: containers: - image: mysql:9 name: mysql env: # Use secret in real usage - name: MYSQL_ROOT_PASSWORD value: password ports: - containerPort: 3306 name: mysql volumeMounts: - name: mysql-persistent-storage mountPath: /var/lib/mysql volumes: - name: mysql-persistent-storage persistentVolumeClaim: claimName: mysql-pv-claim application/mysql/mysql-pv.yaml apiVersion: v1 kind: PersistentVolume metadata: name: mysql-pv-volume labels: type: local spec: storageClassName: manual capacity: storage: 20Gi accessModes: - ReadWriteOnce hostPath: path: \"/mnt/data\" --- apiVersion: v1 kind: PersistentVolumeClaim metadata: name: mysql-pv-claim spec: storageClassName: manual accessModes: - ReadWriteOnce resources: requests: storage: 20Gi Deploy the PV and PVC of the YAML file:kubectl apply -f https://k8s.io/examples/application/mysql/mysql-pv.yaml Deploy the contents of the YAML file:kubectl apply -f https://k8s.io/examples/application/mysql/mysql-deployment.yaml Display information about the Deployment:kubectl describe deploymen",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-single-instance-stateful-application/",
    "id": "k8s_00361_qa_6844"
  },
  {
    "question": "What is Run a Single-Instance Stateful Application?",
    "answer": "T h i s   p a g e   s h o w s   y o u   h o w   t o   r u n   a   s i n g l e - i n s t a n c e   s t a t e f u l   a p p l i c a t i o n   i n   K u b e r n e t e s   u s i n g   a   P e r s i s t e n t V o l u m e   a n d   a   D e p l o y m e n t .   T h e   a p p l i c a t i o n   i s   M y S Q L .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-single-instance-stateful-application/",
    "id": "k8s_00361_section_1_6845"
  },
  {
    "question": "What is Objectives?",
    "answer": "C r e a t e   a   P e r s i s t e n t V o l u m e   r e f e r e n c i n g   a   d i s k   i n   y o u r   e n v i r o n m e n t . C r e a t e   a   M y S Q L   D e p l o y m e n t . E x p o s e   M y S Q L   t o   o t h e r   p o d s   i n   t h e   c l u s t e r   a t   a   k n o w n   D N S   n a m e .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-single-instance-stateful-application/",
    "id": "k8s_00361_section_2_6846"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n . Y o u   n e e d   t o   e i t h e r   h a v e   a   d y n a m i c   P e r s i s t e n t V o l u m e   p r o v i s i o n e r   w i t h   a   d e f a u l t   S t o r a g e C l a s s ,   o r   s t a t i c a l l y   p r o v i s i o n   P e r s i s t e n t V o l u m e s   y o u r s e l f   t o   s a t i s f y   t h e   P e r s i s t e n t V o l u m e C l a i m s   u s e d   h e r e .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-single-instance-stateful-application/",
    "id": "k8s_00361_section_2_6847"
  },
  {
    "question": "What is Deploy MySQL?",
    "answer": "Y o u   c a n   r u n   a   s t a t e f u l   a p p l i c a t i o n   b y   c r e a t i n g   a   K u b e r n e t e s   D e p l o y m e n t   a n d   c o n n e c t i n g   i t   t o   a n   e x i s t i n g   P e r s i s t e n t V o l u m e   u s i n g   a   P e r s i s t e n t V o l u m e C l a i m .   F o r   e x a m p l e ,   t h i s   Y A M L   f i l e   d e s c r i b e s   a   D e p l o y m e n t   t h a t   r u n s   M y S Q L   a n d   r e f e r e n c e s   t h e   P e r s i s t e n t V o l u m e C l a i m .   T h e   f i l e   d e f i n e s   a   v o l u m e   m o u n t   f o r   / v a r / l i b / m y s q l ,   a n d   t h e n   c r e a t e s   a   P e r s i s t e n t V o l u m e C l a i m   t h a t   l o o k s   f o r   a   2 0 G   v o l u m e .   T h i s   c l a i m   i s   s a t i s f i e d   b y   a n y   e x i s t i n g   v o l u m e   t h a t   m e e t s   t h e   r e q u i r e m e n t s ,   o r   b y   a   d y n a m i c   p r o v i s i o n e r .   N o t e :   T h e   p a s s w o r d   i s   d e f i n e d   i n   t h e   c o n f i g   y a m l ,   a n d   t h i s   i s   i n s e c u r e .   S e e   K u b e r n e t e s   S e c r e t s   f o r   a   s e c u r e   s o l u t i o n .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y s q l   s p e c :   p o r t s :   -   p o r t :   3 3 0 6   s e l e c t o r :   a p p :   m y s q l   c l u s t e r I P :   N o n e   - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   m y s q l   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   m y s q l   s t r a t e g y :   t y p e :   R e c r e a t e   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   m y s q l   s p e c :   c o n t a i n e r s :   -   i m a g e :   m y s q l : 9   n a m e :   m y s q l   e n v :   #   U s e   s e c r e t   i n   r e a l   u s a g e   -   n a m e :   M Y S Q L _ R O O T _ P A S S W O R D   v a l u e : ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-single-instance-stateful-application/",
    "id": "k8s_00361_section_2_6848"
  },
  {
    "question": "What is Accessing the MySQL instance?",
    "answer": "T h e   p r e c e d i n g   Y A M L   f i l e   c r e a t e s   a   s e r v i c e   t h a t   a l l o w s   o t h e r   P o d s   i n   t h e   c l u s t e r   t o   a c c e s s   t h e   d a t a b a s e .   T h e   S e r v i c e   o p t i o n   c l u s t e r I P :   N o n e   l e t s   t h e   S e r v i c e   D N S   n a m e   r e s o l v e   d i r e c t l y   t o   t h e   P o d ' s   I P   a d d r e s s .   T h i s   i s   o p t i m a l   w h e n   y o u   h a v e   o n l y   o n e   P o d   b e h i n d   a   S e r v i c e   a n d   y o u   d o n ' t   i n t e n d   t o   i n c r e a s e   t h e   n u m b e r   o f   P o d s .   R u n   a   M y S Q L   c l i e n t   t o   c o n n e c t   t o   t h e   s e r v e r :   k u b e c t l   r u n   - i t   - - r m   - - i m a g e = m y s q l : 9   - - r e s t a r t = N e v e r   m y s q l - c l i e n t   - -   m y s q l   - h   m y s q l   - p p a s s w o r d   T h i s   c o m m a n d   c r e a t e s   a   n e w   P o d   i n   t h e   c l u s t e r   r u n n i n g   a   M y S Q L   c l i e n t   a n d   c o n n e c t s   i t   t o   t h e   s e r v e r   t h r o u g h   t h e   S e r v i c e .   I f   i t   c o n n e c t s ,   y o u   k n o w   y o u r   s t a t e f u l   M y S Q L   d a t a b a s e   i s   u p   a n d   r u n n i n g .   W a i t i n g   f o r   p o d   d e f a u l t / m y s q l - c l i e n t - 2 7 4 4 4 2 4 3 9 - z y p 6 i   t o   b e   r u n n i n g ,   s t a t u s   i s   P e n d i n g ,   p o d   r e a d y :   f a l s e   I f   y o u   d o n ' t   s e e   a   c o m m a n d   p r o m p t ,   t r y   p r e s s i n g   e n t e r .   m y s q l >",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-single-instance-stateful-application/",
    "id": "k8s_00361_section_2_6849"
  },
  {
    "question": "What is Updating?",
    "answer": "T h e   i m a g e   o r   a n y   o t h e r   p a r t   o f   t h e   D e p l o y m e n t   c a n   b e   u p d a t e d   a s   u s u a l   w i t h   t h e   k u b e c t l   a p p l y   c o m m a n d .   H e r e   a r e   s o m e   p r e c a u t i o n s   t h a t   a r e   s p e c i f i c   t o   s t a t e f u l   a p p s :   D o n ' t   s c a l e   t h e   a p p .   T h i s   s e t u p   i s   f o r   s i n g l e - i n s t a n c e   a p p s   o n l y .   T h e   u n d e r l y i n g   P e r s i s t e n t V o l u m e   c a n   o n l y   b e   m o u n t e d   t o   o n e   P o d .   F o r   c l u s t e r e d   s t a t e f u l   a p p s ,   s e e   t h e   S t a t e f u l S e t   d o c u m e n t a t i o n . U s e   s t r a t e g y :   t y p e :   R e c r e a t e   i n   t h e   D e p l o y m e n t   c o n f i g u r a t i o n   Y A M L   f i l e .   T h i s   i n s t r u c t s   K u b e r n e t e s   t o   n o t   u s e   r o l l i n g   u p d a t e s .   R o l l i n g   u p d a t e s   w i l l   n o t   w o r k ,   a s   y o u   c a n n o t   h a v e   m o r e   t h a n   o n e   P o d   r u n n i n g   a t   a   t i m e .   T h e   R e c r e a t e   s t r a t e g y   w i l l   s t o p   t h e   f i r s t   p o d   b e f o r e   c r e a t i n g   a   n e w   o n e   w i t h   t h e   u p d a t e d   c o n f i g u r a t i o n .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-single-instance-stateful-application/",
    "id": "k8s_00361_section_2_6850"
  },
  {
    "question": "What is Deleting a deployment?",
    "answer": "D e l e t e   t h e   d e p l o y e d   o b j e c t s   b y   n a m e :   k u b e c t l   d e l e t e   d e p l o y m e n t , s v c   m y s q l   k u b e c t l   d e l e t e   p v c   m y s q l - p v - c l a i m   k u b e c t l   d e l e t e   p v   m y s q l - p v - v o l u m e   I f   y o u   m a n u a l l y   p r o v i s i o n e d   a   P e r s i s t e n t V o l u m e ,   y o u   a l s o   n e e d   t o   m a n u a l l y   d e l e t e   i t ,   a s   w e l l   a s   r e l e a s e   t h e   u n d e r l y i n g   r e s o u r c e .   I f   y o u   u s e d   a   d y n a m i c   p r o v i s i o n e r ,   i t   a u t o m a t i c a l l y   d e l e t e s   t h e   P e r s i s t e n t V o l u m e   w h e n   i t   s e e s   t h a t   y o u   d e l e t e d   t h e   P e r s i s t e n t V o l u m e C l a i m .   S o m e   d y n a m i c   p r o v i s i o n e r s   ( s u c h   a s   t h o s e   f o r   E B S   a n d   P D )   a l s o   r e l e a s e   t h e   u n d e r l y i n g   r e s o u r c e   u p o n   d e l e t i n g   t h e   P e r s i s t e n t V o l u m e .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-single-instance-stateful-application/",
    "id": "k8s_00361_section_2_6851"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   D e p l o y m e n t   o b j e c t s . L e a r n   m o r e   a b o u t   D e p l o y i n g   a p p l i c a t i o n s k u b e c t l   r u n   d o c u m e n t a t i o n V o l u m e s   a n d   P e r s i s t e n t   V o l u m e s   L e a r n   m o r e   a b o u t   D e p l o y m e n t   o b j e c t s .   L e a r n   m o r e   a b o u t   D e p l o y i n g   a p p l i c a t i o n s   k u b e c t l   r u n   d o c u m e n t a t i o n   V o l u m e s   a n d   P e r s i s t e n t   V o l u m e s",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-single-instance-stateful-application/",
    "id": "k8s_00361_section_2_6852"
  },
  {
    "question": "What is Node Labels Populated By The Kubelet?",
    "answer": "Node Labels Populated By The KubeletKubernetes nodes come pre-populated with a standard set of labels.You can also set your own labels on nodes, either through the kubelet configuration or using the Kubernetes API.Preset labelsThe preset labels that Kubernetes sets on nodes are:kubernetes.io/archkubernetes.io/hostnamekubernetes.io/osnode.kubernetes.io/instance-type (if known to the kubelet – Kubernetes may not have this information to set the label)topology.kubernetes.io/region (if known to the kubelet – Kubernetes may not have this information to set the label)topology.kubernetes.io/zone (if known to the kubelet – Kubernetes may not have this information to set the label)Note:The value of these labels is cloud provider specific and is not guaranteed to be reliable. For example, the value of kubernetes.io/hostname may be the same as the node name in some environments and a different value in other environments.What's nextSee Well-Known Labels, Annotations and Taints for a list of common labels.Learn how to add a label to a node.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/node-labels/",
    "id": "k8s_00362_qa_6853"
  },
  {
    "question": "How does Node Labels Populated By The Kubelet work?",
    "answer": "Node Labels Populated By The KubeletKubernetes nodes come pre-populated with a standard set of labels.You can also set your own labels on nodes, either through the kubelet configuration or using the Kubernetes API.Preset labelsThe preset labels that Kubernetes sets on nodes are:kubernetes.io/archkubernetes.io/hostnamekubernetes.io/osnode.kubernetes.io/instance-type (if known to the kubelet – Kubernetes may not have this information to set the label)topology.kubernetes.io/region (if known to the kubelet – Kubernetes may not have this information to set the label)topology.kubernetes.io/zone (if known to the kubelet – Kubernetes may not have this information to set the label)Note:The value of these labels is cloud provider specific and is not guaranteed to be reliable. For example, the value of kubernetes.io/hostname may be the same as the node name in some environments and a different value in other environments.What's nextSee Well-Known Labels, Annotations and Taints for a list of common labels.Learn how to add a label to a node.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/node-labels/",
    "id": "k8s_00362_qa_6854"
  },
  {
    "question": "When would you use Node Labels Populated By The Kubelet?",
    "answer": "Node Labels Populated By The KubeletKubernetes nodes come pre-populated with a standard set of labels.You can also set your own labels on nodes, either through the kubelet configuration or using the Kubernetes API.Preset labelsThe preset labels that Kubernetes sets on nodes are:kubernetes.io/archkubernetes.io/hostnamekubernetes.io/osnode.kubernetes.io/instance-type (if known to the kubelet – Kubernetes may not have this information to set the label)topology.kubernetes.io/region (if known to the kubelet – Kubernetes may not have this information to set the label)topology.kubernetes.io/zone (if known to the kubelet – Kubernetes may not have this information to set the label)Note:The value of these labels is cloud provider specific and is not guaranteed to be reliable. For example, the value of kubernetes.io/hostname may be the same as the node name in some environments and a different value in other environments.What's nextSee Well-Known Labels, Annotations and Taints for a list of common labels.Learn how to add a label to a node.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/node-labels/",
    "id": "k8s_00362_qa_6855"
  },
  {
    "question": "What are the benefits of Node Labels Populated By The Kubelet?",
    "answer": "Node Labels Populated By The KubeletKubernetes nodes come pre-populated with a standard set of labels.You can also set your own labels on nodes, either through the kubelet configuration or using the Kubernetes API.Preset labelsThe preset labels that Kubernetes sets on nodes are:kubernetes.io/archkubernetes.io/hostnamekubernetes.io/osnode.kubernetes.io/instance-type (if known to the kubelet – Kubernetes may not have this information to set the label)topology.kubernetes.io/region (if known to the kubelet – Kubernetes may not have this information to set the label)topology.kubernetes.io/zone (if known to the kubelet – Kubernetes may not have this information to set the label)Note:The value of these labels is cloud provider specific and is not guaranteed to be reliable. For example, the value of kubernetes.io/hostname may be the same as the node name in some environments and a different value in other environments.What's nextSee Well-Known Labels, Annotations and Taints for a list of common labels.Learn how to add a label to a node.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/node-labels/",
    "id": "k8s_00362_qa_6856"
  },
  {
    "question": "What is Node Labels Populated By The Kubelet?",
    "answer": "K u b e r n e t e s   n o d e s   c o m e   p r e - p o p u l a t e d   w i t h   a   s t a n d a r d   s e t   o f   l a b e l s .   Y o u   c a n   a l s o   s e t   y o u r   o w n   l a b e l s   o n   n o d e s ,   e i t h e r   t h r o u g h   t h e   k u b e l e t   c o n f i g u r a t i o n   o r   u s i n g   t h e   K u b e r n e t e s   A P I .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/node-labels/",
    "id": "k8s_00362_section_1_6857"
  },
  {
    "question": "What is Preset labels?",
    "answer": "T h e   p r e s e t   l a b e l s   t h a t   K u b e r n e t e s   s e t s   o n   n o d e s   a r e :   k u b e r n e t e s . i o / a r c h k u b e r n e t e s . i o / h o s t n a m e k u b e r n e t e s . i o / o s n o d e . k u b e r n e t e s . i o / i n s t a n c e - t y p e   ( i f   k n o w n   t o   t h e   k u b e l e t   –   K u b e r n e t e s   m a y   n o t   h a v e   t h i s   i n f o r m a t i o n   t o   s e t   t h e   l a b e l ) t o p o l o g y . k u b e r n e t e s . i o / r e g i o n   ( i f   k n o w n   t o   t h e   k u b e l e t   –   K u b e r n e t e s   m a y   n o t   h a v e   t h i s   i n f o r m a t i o n   t o   s e t   t h e   l a b e l ) t o p o l o g y . k u b e r n e t e s . i o / z o n e   ( i f   k n o w n   t o   t h e   k u b e l e t   –   K u b e r n e t e s   m a y   n o t   h a v e   t h i s   i n f o r m a t i o n   t o   s e t   t h e   l a b e l )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/node-labels/",
    "id": "k8s_00362_section_2_6858"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   W e l l - K n o w n   L a b e l s ,   A n n o t a t i o n s   a n d   T a i n t s   f o r   a   l i s t   o f   c o m m o n   l a b e l s . L e a r n   h o w   t o   a d d   a   l a b e l   t o   a   n o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/node-labels/",
    "id": "k8s_00362_section_2_6859"
  },
  {
    "question": "What is Swap memory management?",
    "answer": "Swap memory managementKubernetes can be configured to use swap memory on a node, allowing the kernel to free up physical memory by swapping out pages to backing storage. This is useful for multiple use-cases. For example, nodes running workloads that can benefit from using swap, such as those that have large memory footprints but only access a portion of that memory at any given time. It also helps prevent Pods from being terminated during memory pressure spikes, shields nodes from system-level memory spikes that might compromise its stability, allows for more flexible memory management on the node, and much more.To learn about configuring swap in your cluster, read Configuring swap memory on Kubernetes nodes.Operating system supportLinux nodes support swap; you need to configure each node to enable it. By default, the kubelet will not start on a Linux node that has swap enabled.Windows nodes require swap space. By default, the kubelet does not start on a Windows node that has swap disabled.How does it work?There are a number of possible ways that one could envision swap use on a node. If kubelet is already running on a node, it would need to be restarted after swap is provisioned in order to identify it.When kubelet starts on a node in which swap is provisioned and available (with the failSwapOn: false configuration), kubelet will:Be able to start on this swap-enabled node.Direct the Container Runtime Interface (CRI) implementation, often referred to as the container runtime, to allocate zero swap memory to Kubernetes workloads by default.Swap configuration on a node is exposed to a cluster admin via the memorySwap in the KubeletConfiguration. As a cluster administrator, you can specify the node's behaviour in the presence of swap memory by setting memorySwap.swapBehavior.Swap behaviorsYou need to pick a swap behavior to use. Different nodes in your cluster can use different swap behaviors.The swap behaviors you can choose for Linux nodes are:NoSwap (default)Workloads running as Pods on this node do not and cannot use swap.LimitedSwapKubernetes workloads can utilize swap memory.Note:If you choose the NoSwap behavior, and you configure the kubelet to tolerate swap space (failSwapOn: false), then your workloads don't use any swap.However, processes outside of Kubernetes-managed containers, such as systemi services (and even the kubelet itself!) can utilize swap.You can read configuring swap memory on Kubernetes nodes to learn about enabling swap for your cluster.Container runtime integrationThe kubelet uses the container runtime API, and directs the container runtime to apply specific configuration (for example, in the cgroup v2 case, memory.swap.max) in a manner that will enable the desired swap configuration for a container. For runtimes that use control groups, or cgroups, the container runtime is then responsible for writing these settings to the container-level cgroup.Observability for swap useNode and container level metric statisticsKubelet",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/",
    "id": "k8s_00363_qa_6860"
  },
  {
    "question": "How does Swap memory management work?",
    "answer": "Swap memory managementKubernetes can be configured to use swap memory on a node, allowing the kernel to free up physical memory by swapping out pages to backing storage. This is useful for multiple use-cases. For example, nodes running workloads that can benefit from using swap, such as those that have large memory footprints but only access a portion of that memory at any given time. It also helps prevent Pods from being terminated during memory pressure spikes, shields nodes from system-level memory spikes that might compromise its stability, allows for more flexible memory management on the node, and much more.To learn about configuring swap in your cluster, read Configuring swap memory on Kubernetes nodes.Operating system supportLinux nodes support swap; you need to configure each node to enable it. By default, the kubelet will not start on a Linux node that has swap enabled.Windows nodes require swap space. By default, the kubelet does not start on a Windows node that has swap disabled.How does it work?There are a number of possible ways that one could envision swap use on a node. If kubelet is already running on a node, it would need to be restarted after swap is provisioned in order to identify it.When kubelet starts on a node in which swap is provisioned and available (with the failSwapOn: false configuration), kubelet will:Be able to start on this swap-enabled node.Direct the Container Runtime Interface (CRI) implementation, often referred to as the container runtime, to allocate zero swap memory to Kubernetes workloads by default.Swap configuration on a node is exposed to a cluster admin via the memorySwap in the KubeletConfiguration. As a cluster administrator, you can specify the node's behaviour in the presence of swap memory by setting memorySwap.swapBehavior.Swap behaviorsYou need to pick a swap behavior to use. Different nodes in your cluster can use different swap behaviors.The swap behaviors you can choose for Linux nodes are:NoSwap (default)Workloads running as Pods on this node do not and cannot use swap.LimitedSwapKubernetes workloads can utilize swap memory.Note:If you choose the NoSwap behavior, and you configure the kubelet to tolerate swap space (failSwapOn: false), then your workloads don't use any swap.However, processes outside of Kubernetes-managed containers, such as systemi services (and even the kubelet itself!) can utilize swap.You can read configuring swap memory on Kubernetes nodes to learn about enabling swap for your cluster.Container runtime integrationThe kubelet uses the container runtime API, and directs the container runtime to apply specific configuration (for example, in the cgroup v2 case, memory.swap.max) in a manner that will enable the desired swap configuration for a container. For runtimes that use control groups, or cgroups, the container runtime is then responsible for writing these settings to the container-level cgroup.Observability for swap useNode and container level metric statisticsKubelet",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/",
    "id": "k8s_00363_qa_6861"
  },
  {
    "question": "When would you use Swap memory management?",
    "answer": "Swap memory managementKubernetes can be configured to use swap memory on a node, allowing the kernel to free up physical memory by swapping out pages to backing storage. This is useful for multiple use-cases. For example, nodes running workloads that can benefit from using swap, such as those that have large memory footprints but only access a portion of that memory at any given time. It also helps prevent Pods from being terminated during memory pressure spikes, shields nodes from system-level memory spikes that might compromise its stability, allows for more flexible memory management on the node, and much more.To learn about configuring swap in your cluster, read Configuring swap memory on Kubernetes nodes.Operating system supportLinux nodes support swap; you need to configure each node to enable it. By default, the kubelet will not start on a Linux node that has swap enabled.Windows nodes require swap space. By default, the kubelet does not start on a Windows node that has swap disabled.How does it work?There are a number of possible ways that one could envision swap use on a node. If kubelet is already running on a node, it would need to be restarted after swap is provisioned in order to identify it.When kubelet starts on a node in which swap is provisioned and available (with the failSwapOn: false configuration), kubelet will:Be able to start on this swap-enabled node.Direct the Container Runtime Interface (CRI) implementation, often referred to as the container runtime, to allocate zero swap memory to Kubernetes workloads by default.Swap configuration on a node is exposed to a cluster admin via the memorySwap in the KubeletConfiguration. As a cluster administrator, you can specify the node's behaviour in the presence of swap memory by setting memorySwap.swapBehavior.Swap behaviorsYou need to pick a swap behavior to use. Different nodes in your cluster can use different swap behaviors.The swap behaviors you can choose for Linux nodes are:NoSwap (default)Workloads running as Pods on this node do not and cannot use swap.LimitedSwapKubernetes workloads can utilize swap memory.Note:If you choose the NoSwap behavior, and you configure the kubelet to tolerate swap space (failSwapOn: false), then your workloads don't use any swap.However, processes outside of Kubernetes-managed containers, such as systemi services (and even the kubelet itself!) can utilize swap.You can read configuring swap memory on Kubernetes nodes to learn about enabling swap for your cluster.Container runtime integrationThe kubelet uses the container runtime API, and directs the container runtime to apply specific configuration (for example, in the cgroup v2 case, memory.swap.max) in a manner that will enable the desired swap configuration for a container. For runtimes that use control groups, or cgroups, the container runtime is then responsible for writing these settings to the container-level cgroup.Observability for swap useNode and container level metric statisticsKubelet",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/",
    "id": "k8s_00363_qa_6862"
  },
  {
    "question": "What are the benefits of Swap memory management?",
    "answer": "Swap memory managementKubernetes can be configured to use swap memory on a node, allowing the kernel to free up physical memory by swapping out pages to backing storage. This is useful for multiple use-cases. For example, nodes running workloads that can benefit from using swap, such as those that have large memory footprints but only access a portion of that memory at any given time. It also helps prevent Pods from being terminated during memory pressure spikes, shields nodes from system-level memory spikes that might compromise its stability, allows for more flexible memory management on the node, and much more.To learn about configuring swap in your cluster, read Configuring swap memory on Kubernetes nodes.Operating system supportLinux nodes support swap; you need to configure each node to enable it. By default, the kubelet will not start on a Linux node that has swap enabled.Windows nodes require swap space. By default, the kubelet does not start on a Windows node that has swap disabled.How does it work?There are a number of possible ways that one could envision swap use on a node. If kubelet is already running on a node, it would need to be restarted after swap is provisioned in order to identify it.When kubelet starts on a node in which swap is provisioned and available (with the failSwapOn: false configuration), kubelet will:Be able to start on this swap-enabled node.Direct the Container Runtime Interface (CRI) implementation, often referred to as the container runtime, to allocate zero swap memory to Kubernetes workloads by default.Swap configuration on a node is exposed to a cluster admin via the memorySwap in the KubeletConfiguration. As a cluster administrator, you can specify the node's behaviour in the presence of swap memory by setting memorySwap.swapBehavior.Swap behaviorsYou need to pick a swap behavior to use. Different nodes in your cluster can use different swap behaviors.The swap behaviors you can choose for Linux nodes are:NoSwap (default)Workloads running as Pods on this node do not and cannot use swap.LimitedSwapKubernetes workloads can utilize swap memory.Note:If you choose the NoSwap behavior, and you configure the kubelet to tolerate swap space (failSwapOn: false), then your workloads don't use any swap.However, processes outside of Kubernetes-managed containers, such as systemi services (and even the kubelet itself!) can utilize swap.You can read configuring swap memory on Kubernetes nodes to learn about enabling swap for your cluster.Container runtime integrationThe kubelet uses the container runtime API, and directs the container runtime to apply specific configuration (for example, in the cgroup v2 case, memory.swap.max) in a manner that will enable the desired swap configuration for a container. For runtimes that use control groups, or cgroups, the container runtime is then responsible for writing these settings to the container-level cgroup.Observability for swap useNode and container level metric statisticsKubelet",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/",
    "id": "k8s_00363_qa_6863"
  },
  {
    "question": "What is Swap memory management?",
    "answer": "K u b e r n e t e s   c a n   b e   c o n f i g u r e d   t o   u s e   s w a p   m e m o r y   o n   a   n o d e ,   a l l o w i n g   t h e   k e r n e l   t o   f r e e   u p   p h y s i c a l   m e m o r y   b y   s w a p p i n g   o u t   p a g e s   t o   b a c k i n g   s t o r a g e .   T h i s   i s   u s e f u l   f o r   m u l t i p l e   u s e - c a s e s .   F o r   e x a m p l e ,   n o d e s   r u n n i n g   w o r k l o a d s   t h a t   c a n   b e n e f i t   f r o m   u s i n g   s w a p ,   s u c h   a s   t h o s e   t h a t   h a v e   l a r g e   m e m o r y   f o o t p r i n t s   b u t   o n l y   a c c e s s   a   p o r t i o n   o f   t h a t   m e m o r y   a t   a n y   g i v e n   t i m e .   I t   a l s o   h e l p s   p r e v e n t   P o d s   f r o m   b e i n g   t e r m i n a t e d   d u r i n g   m e m o r y   p r e s s u r e   s p i k e s ,   s h i e l d s   n o d e s   f r o m   s y s t e m - l e v e l   m e m o r y   s p i k e s   t h a t   m i g h t   c o m p r o m i s e   i t s   s t a b i l i t y ,   a l l o w s   f o r   m o r e   f l e x i b l e   m e m o r y   m a n a g e m e n t   o n   t h e   n o d e ,   a n d   m u c h   m o r e .   T o   l e a r n   a b o u t   c o n f i g u r i n g   s w a p   i n   y o u r   c l u s t e r ,   r e a d   C o n f i g u r i n g   s w a p   m e m o r y   o n   K u b e r n e t e s   n o d e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/",
    "id": "k8s_00363_section_1_6864"
  },
  {
    "question": "What is Operating system support?",
    "answer": "L i n u x   n o d e s   s u p p o r t   s w a p ;   y o u   n e e d   t o   c o n f i g u r e   e a c h   n o d e   t o   e n a b l e   i t .   B y   d e f a u l t ,   t h e   k u b e l e t   w i l l   n o t   s t a r t   o n   a   L i n u x   n o d e   t h a t   h a s   s w a p   e n a b l e d . W i n d o w s   n o d e s   r e q u i r e   s w a p   s p a c e .   B y   d e f a u l t ,   t h e   k u b e l e t   d o e s   n o t   s t a r t   o n   a   W i n d o w s   n o d e   t h a t   h a s   s w a p   d i s a b l e d .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/",
    "id": "k8s_00363_section_2_6865"
  },
  {
    "question": "What is How does it work??",
    "answer": "T h e r e   a r e   a   n u m b e r   o f   p o s s i b l e   w a y s   t h a t   o n e   c o u l d   e n v i s i o n   s w a p   u s e   o n   a   n o d e .   I f   k u b e l e t   i s   a l r e a d y   r u n n i n g   o n   a   n o d e ,   i t   w o u l d   n e e d   t o   b e   r e s t a r t e d   a f t e r   s w a p   i s   p r o v i s i o n e d   i n   o r d e r   t o   i d e n t i f y   i t .   W h e n   k u b e l e t   s t a r t s   o n   a   n o d e   i n   w h i c h   s w a p   i s   p r o v i s i o n e d   a n d   a v a i l a b l e   ( w i t h   t h e   f a i l S w a p O n :   f a l s e   c o n f i g u r a t i o n ) ,   k u b e l e t   w i l l :   B e   a b l e   t o   s t a r t   o n   t h i s   s w a p - e n a b l e d   n o d e . D i r e c t   t h e   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I )   i m p l e m e n t a t i o n ,   o f t e n   r e f e r r e d   t o   a s   t h e   c o n t a i n e r   r u n t i m e ,   t o   a l l o c a t e   z e r o   s w a p   m e m o r y   t o   K u b e r n e t e s   w o r k l o a d s   b y   d e f a u l t .   S w a p   c o n f i g u r a t i o n   o n   a   n o d e   i s   e x p o s e d   t o   a   c l u s t e r   a d m i n   v i a   t h e   m e m o r y S w a p   i n   t h e   K u b e l e t C o n f i g u r a t i o n .   A s   a   c l u s t e r   a d m i n i s t r a t o r ,   y o u   c a n   s p e c i f y   t h e   n o d e ' s   b e h a v i o u r   i n   t h e   p r e s e n c e   o f   s w a p   m e m o r y   b y   s e t t i n g   m e m o r y S w a p . s w a p B e h a v i o r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/",
    "id": "k8s_00363_section_2_6866"
  },
  {
    "question": "What is Swap behaviors?",
    "answer": "Y o u   n e e d   t o   p i c k   a   s w a p   b e h a v i o r   t o   u s e .   D i f f e r e n t   n o d e s   i n   y o u r   c l u s t e r   c a n   u s e   d i f f e r e n t   s w a p   b e h a v i o r s .   T h e   s w a p   b e h a v i o r s   y o u   c a n   c h o o s e   f o r   L i n u x   n o d e s   a r e :",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/",
    "id": "k8s_00363_section_3_6867"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   c h o o s e   t h e   N o S w a p   b e h a v i o r ,   a n d   y o u   c o n f i g u r e   t h e   k u b e l e t   t o   t o l e r a t e   s w a p   s p a c e   ( f a i l S w a p O n :   f a l s e ) ,   t h e n   y o u r   w o r k l o a d s   d o n ' t   u s e   a n y   s w a p .   H o w e v e r ,   p r o c e s s e s   o u t s i d e   o f   K u b e r n e t e s - m a n a g e d   c o n t a i n e r s ,   s u c h   a s   s y s t e m i   s e r v i c e s   ( a n d   e v e n   t h e   k u b e l e t   i t s e l f ! )   c a n   u t i l i z e   s w a p .   Y o u   c a n   r e a d   c o n f i g u r i n g   s w a p   m e m o r y   o n   K u b e r n e t e s   n o d e s   t o   l e a r n   a b o u t   e n a b l i n g   s w a p   f o r   y o u r   c l u s t e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/",
    "id": "k8s_00363_section_4_6868"
  },
  {
    "question": "What is Container runtime integration?",
    "answer": "T h e   k u b e l e t   u s e s   t h e   c o n t a i n e r   r u n t i m e   A P I ,   a n d   d i r e c t s   t h e   c o n t a i n e r   r u n t i m e   t o   a p p l y   s p e c i f i c   c o n f i g u r a t i o n   ( f o r   e x a m p l e ,   i n   t h e   c g r o u p   v 2   c a s e ,   m e m o r y . s w a p . m a x )   i n   a   m a n n e r   t h a t   w i l l   e n a b l e   t h e   d e s i r e d   s w a p   c o n f i g u r a t i o n   f o r   a   c o n t a i n e r .   F o r   r u n t i m e s   t h a t   u s e   c o n t r o l   g r o u p s ,   o r   c g r o u p s ,   t h e   c o n t a i n e r   r u n t i m e   i s   t h e n   r e s p o n s i b l e   f o r   w r i t i n g   t h e s e   s e t t i n g s   t o   t h e   c o n t a i n e r - l e v e l   c g r o u p .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/",
    "id": "k8s_00363_section_3_6869"
  },
  {
    "question": "What is Node and container level metric statistics?",
    "answer": "K u b e l e t   n o w   c o l l e c t s   n o d e   a n d   c o n t a i n e r   l e v e l   m e t r i c   s t a t i s t i c s ,   w h i c h   c a n   b e   a c c e s s e d   a t   t h e   / m e t r i c s / r e s o u r c e   ( w h i c h   i s   u s e d   m a i n l y   b y   m o n i t o r i n g   t o o l s   l i k e   P r o m e t h e u s )   a n d   / s t a t s / s u m m a r y   ( w h i c h   i s   u s e d   m a i n l y   b y   A u t o s c a l e r s )   k u b e l e t   H T T P   e n d p o i n t s .   T h i s   a l l o w s   c l i e n t s   w h o   c a n   d i r e c t l y   r e q u e s t   t h e   k u b e l e t   t o   m o n i t o r   s w a p   u s a g e   a n d   r e m a i n i n g   s w a p   m e m o r y   w h e n   u s i n g   L i m i t e d S w a p .   A d d i t i o n a l l y ,   a   m a c h i n e _ s w a p _ b y t e s   m e t r i c   h a s   b e e n   a d d e d   t o   c a d v i s o r   t o   s h o w   t h e   t o t a l   p h y s i c a l   s w a p   c a p a c i t y   o f   t h e   m a c h i n e .   S e e   t h i s   p a g e   f o r   m o r e   i n f o .   F o r   e x a m p l e ,   t h e s e   / m e t r i c s / r e s o u r c e   a r e   s u p p o r t e d :   n o d e _ s w a p _ u s a g e _ b y t e s :   C u r r e n t   s w a p   u s a g e   o f   t h e   n o d e   i n   b y t e s . c o n t a i n e r _ s w a p _ u s a g e _ b y t e s :   C u r r e n t   a m o u n t   o f   t h e   c o n t a i n e r   s w a p   u s a g e   i n   b y t e s . c o n t a i n e r _ s w a p _ l i m i t _ b y t e s :   C u r r e n t   a m o u n t   o f   t h e   c o n t a i n e r   s w a p   l i m i t   i n   b y t e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/",
    "id": "k8s_00363_section_3_6870"
  },
  {
    "question": "What is Using kubectl top --show-swap?",
    "answer": "Q u e r y i n g   m e t r i c s   i s   v a l u a b l e ,   b u t   s o m e w h a t   c u m b e r s o m e ,   a s   t h e s e   m e t r i c s   a r e   d e s i g n e d   t o   b e   u s e d   b y   s o f t w a r e   r a t h e r   t h a n   h u m a n s .   I n   o r d e r   t o   c o n s u m e   t h i s   d a t a   i n   a   m o r e   u s e r - f r i e n d l y   w a y ,   t h e   k u b e c t l   t o p   c o m m a n d   h a s   b e e n   e x t e n d e d   t o   s u p p o r t   s w a p   m e t r i c s ,   u s i n g   t h e   - - s h o w - s w a p   f l a g .   I n   o r d e r   t o   r e c e i v e   i n f o r m a t i o n   a b o u t   s w a p   u s a g e   o n   n o d e s ,   k u b e c t l   t o p   n o d e s   - - s h o w - s w a p   c a n   b e   u s e d :   k u b e c t l   t o p   n o d e s   - - s h o w - s w a p   T h i s   w i l l   r e s u l t   i n   a n   o u t p u t   s i m i l a r   t o :   N A M E   C P U ( c o r e s )   C P U ( % )   M E M O R Y ( b y t e s )   M E M O R Y ( % )   S W A P ( b y t e s )   S W A P ( % )   n o d e 1   1 m   1 0 %   2 M i   1 0 %   1 M i   0 %   n o d e 2   5 m   1 0 %   6 M i   1 0 %   2 M i   0 %   n o d e 3   3 m   1 0 %   4 M i   1 0 %   < u n k n o w n >   < u n k n o w n >   I n   o r d e r   t o   r e c e i v e   i n f o r m a t i o n   a b o u t   s w a p   u s a g e   b y   p o d s ,   k u b e c t l   t o p   n o d e s   - - s h o w - s w a p   c a n   b e   u s e d :   k u b e c t l   t o p   p o d   - n   k u b e - s y s t e m   - - s h o w - s w a p   T h i s   w i l l   r e s u l t   i n   a n   o u t p u t   s i m i l a r   t o :   N A M E   C P U ( c o r e s )   M E M O R Y ( b y t e s )   S W A P ( b y t e s )   c o r e d n s - 5 8 d 5 b c 5 c d b - 5 n b k 4   2 m   1 9 M i   0 M i   c o r e d n s - 5 8 d 5 b c 5 c d b - j s h 2 6   3 m   3 7 M i   0 M i   e t c d - n o d e 0 1   5 1 m   1 4 3 M i   5 M i   k u b e - a p i s e r v e r - n o d e 0 1   9 8 m   8 2 4 M i   1 6 M i   k u b e - c o n t r o l l e r ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/",
    "id": "k8s_00363_section_3_6871"
  },
  {
    "question": "What is Nodes to report swap capacity as part of node status?",
    "answer": "A   n e w   n o d e   s t a t u s   f i e l d   i s   n o w   a d d e d ,   n o d e . s t a t u s . n o d e I n f o . s w a p . c a p a c i t y ,   t o   r e p o r t   t h e   s w a p   c a p a c i t y   o f   a   n o d e .   A s   a n   e x a m p l e ,   t h e   f o l l o w i n g   c o m m a n d   c a n   b e   u s e d   t o   r e t r i e v e   t h e   s w a p   c a p a c i t y   o f   t h e   n o d e s   i n   a   c l u s t e r :   k u b e c t l   g e t   n o d e s   - o   g o - t e m p l a t e = ' { { r a n g e   . i t e m s } } { { . m e t a d a t a . n a m e } } :   { { i f   . s t a t u s . n o d e I n f o . s w a p . c a p a c i t y } } { { . s t a t u s . n o d e I n f o . s w a p . c a p a c i t y } } { { e l s e } } < u n k n o w n > { { e n d } } { { \" \\ n \" } } { { e n d } } '   T h i s   w i l l   r e s u l t   i n   a n   o u t p u t   s i m i l a r   t o :   n o d e 1 :   2 1 4 7 4 8 3 6 4 8 0   n o d e 2 :   4 2 9 4 9 6 6 4 7 6 8   n o d e 3 :   < u n k n o w n >",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/",
    "id": "k8s_00363_section_3_6872"
  },
  {
    "question": "What is Swap discovery using Node Feature Discovery (NFD)?",
    "answer": "N o d e   F e a t u r e   D i s c o v e r y   i s   a   K u b e r n e t e s   a d d o n   f o r   d e t e c t i n g   h a r d w a r e   f e a t u r e s   a n d   c o n f i g u r a t i o n .   I t   c a n   b e   u t i l i z e d   t o   d i s c o v e r   w h i c h   n o d e s   a r e   p r o v i s i o n e d   w i t h   s w a p .   A s   a n   e x a m p l e ,   t o   f i g u r e   o u t   w h i c h   n o d e s   a r e   p r o v i s i o n e d   w i t h   s w a p ,   u s e   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   g e t   n o d e s   - o   j s o n p a t h = ' { r a n g e   . i t e m s [ ? ( @ . m e t a d a t a . l a b e l s . f e a t u r e \\ . n o d e \\ . k u b e r n e t e s \\ . i o / m e m o r y - s w a p ) ] } { . m e t a d a t a . n a m e } { \" \\ t \" } { . m e t a d a t a . l a b e l s . f e a t u r e \\ . n o d e \\ . k u b e r n e t e s \\ . i o / m e m o r y - s w a p } { \" \\ n \" } { e n d } '   T h i s   w i l l   r e s u l t   i n   a n   o u t p u t   s i m i l a r   t o :   k 8 s - w o r k e r 1 :   t r u e   k 8 s - w o r k e r 2 :   t r u e   k 8 s - w o r k e r 3 :   f a l s e   I n   t h i s   e x a m p l e ,   s w a p   i s   p r o v i s i o n e d   o n   n o d e s   k 8 s - w o r k e r 1   a n d   k 8 s - w o r k e r 2 ,   b u t   n o t   o n   k 8 s - w o r k e r 3 .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/",
    "id": "k8s_00363_section_3_6873"
  },
  {
    "question": "What is Caution:?",
    "answer": "H a v i n g   s w a p   a v a i l a b l e   o n   a   s y s t e m   r e d u c e s   p r e d i c t a b i l i t y .   W h i l e   s w a p   c a n   e n h a n c e   p e r f o r m a n c e   b y   m a k i n g   m o r e   R A M   a v a i l a b l e ,   s w a p p i n g   d a t a   b a c k   t o   m e m o r y   i s   a   h e a v y   o p e r a t i o n ,   s o m e t i m e s   s l o w e r   b y   m a n y   o r d e r s   o f   m a g n i t u d e ,   w h i c h   c a n   c a u s e   u n e x p e c t e d   p e r f o r m a n c e   r e g r e s s i o n s .   F u r t h e r m o r e ,   s w a p   c h a n g e s   a   s y s t e m ' s   b e h a v i o u r   u n d e r   m e m o r y   p r e s s u r e .   E n a b l i n g   s w a p   i n c r e a s e s   t h e   r i s k   o f   n o i s y   n e i g h b o r s ,   w h e r e   P o d s   t h a t   f r e q u e n t l y   u s e   t h e i r   R A M   m a y   c a u s e   o t h e r   P o d s   t o   s w a p .   I n   a d d i t i o n ,   s i n c e   s w a p   a l l o w s   f o r   g r e a t e r   m e m o r y   u s a g e   f o r   w o r k l o a d s   i n   K u b e r n e t e s   t h a t   c a n n o t   b e   p r e d i c t a b l y   a c c o u n t e d   f o r ,   a n d   d u e   t o   u n e x p e c t e d   p a c k i n g   c o n f i g u r a t i o n s ,   t h e   s c h e d u l e r   c u r r e n t l y   d o e s   n o t   a c c o u n t   f o r   s w a p   m e m o r y   u s a g e .   T h i s   h e i g h t e n s   t h e   r i s k   o f   n o i s y   n e i g h b o r s .   T h e   p e r f o r m a n c e   o f   a   n o d e   w i t h   s w a p   m e m o r y   e n a b l e d   d e p e n d s   o n   t h e   u n d e r l y i n g   p h y s i c a l   s t o r a g e .   W h e n   s w a p   m e m o r y   i s   i n   u s e ,   p e r f o r m a n c e   w i l l   b e   s i g n i f i c a n t l y   w o r s e   i n   a n   I / O   o p e r a t i o n s   p e r   s e c o n d   ( I O P S )   c o n s t r a i n e d   e n v i r o n m e n t ,   s u c h   a s   a   c l o u d   V M   w i t h   I / O ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/",
    "id": "k8s_00363_section_4_6874"
  },
  {
    "question": "What is Memory-backed volumes?",
    "answer": "O n   L i n u x   n o d e s ,   m e m o r y - b a c k e d   v o l u m e s   ( s u c h   a s   s e c r e t   v o l u m e   m o u n t s ,   o r   e m p t y D i r   w i t h   m e d i u m :   M e m o r y )   a r e   i m p l e m e n t e d   w i t h   a   t m p f s   f i l e s y s t e m .   T h e   c o n t e n t s   o f   s u c h   v o l u m e s   s h o u l d   r e m a i n   i n   m e m o r y   a t   a l l   t i m e s ,   h e n c e   s h o u l d   n o t   b e   s w a p p e d   t o   d i s k .   T o   e n s u r e   t h e   c o n t e n t s   o f   s u c h   v o l u m e s   r e m a i n   i n   m e m o r y ,   t h e   n o s w a p   t m p f s   o p t i o n   i s   b e i n g   u s e d .   T h e   L i n u x   k e r n e l   o f f i c i a l l y   s u p p o r t s   t h e   n o s w a p   o p t i o n   f r o m   v e r s i o n   6 . 3   ( m o r e   i n f o   c a n   b e   f o u n d   i n   L i n u x   K e r n e l   V e r s i o n   R e q u i r e m e n t s ) .   H o w e v e r ,   t h e   d i f f e r e n t   d i s t r i b u t i o n s   o f t e n   c h o o s e   t o   b a c k p o r t   t h i s   m o u n t   o p t i o n   t o   o l d e r   L i n u x   v e r s i o n s   a s   w e l l .   I n   o r d e r   t o   v e r i f y   w h e t h e r   t h e   n o d e   s u p p o r t s   t h e   n o s w a p   o p t i o n ,   t h e   k u b e l e t   w i l l   d o   t h e   f o l l o w i n g :   I f   t h e   k e r n e l ' s   v e r s i o n   i s   a b o v e   6 . 3   t h e n   t h e   n o s w a p   o p t i o n   w i l l   b e   a s s u m e d   t o   b e   s u p p o r t e d . O t h e r w i s e ,   k u b e l e t   w o u l d   t r y   t o   m o u n t   a   d u m m y   t m p f s   w i t h   t h e   n o s w a p   o p t i o n   a t   s t a r t u p .   I f   k u b e l e t   f a i l s   w i t h   a n   e r r o r   i n d i c a t i n g   o f   a n   u n k n o w n   o p t i o n ,   n o s w a p   w i l l   b e   a s s u m e d   t o   n o t   b e   s u p p o r t e d ,   h e n c e   w i l l   n o t   b e   u s e d . ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/",
    "id": "k8s_00363_section_3_6875"
  },
  {
    "question": "What is Evictions?",
    "answer": "C o n f i g u r i n g   m e m o r y   e v i c t i o n   t h r e s h o l d s   f o r   s w a p - e n a b l e d   n o d e s   c a n   b e   t r i c k y .   W i t h   s w a p   b e i n g   d i s a b l e d ,   i t   i s   r e a s o n a b l e   t o   c o n f i g u r e   k u b e l e t ' s   e v i c t i o n   t h r e s h o l d s   t o   b e   a   b i t   l o w e r   t h a n   t h e   n o d e ' s   m e m o r y   c a p a c i t y .   T h e   r a t i o n a l e   i s   t h a t   w e   w a n t   K u b e r n e t e s   t o   s t a r t   e v i c t i n g   P o d s   b e f o r e   t h e   n o d e   r u n s   o u t   o f   m e m o r y   a n d   i n v o k e s   t h e   O u t   O f   M e m o r y   ( O O M )   k i l l e r ,   s i n c e   t h e   O O M   k i l l e r   i s   n o t   K u b e r n e t e s - a w a r e ,   t h e r e f o r e   d o e s   n o t   c o n s i d e r   t h i n g s   l i k e   Q o S ,   p o d   p r i o r i t y ,   o r   o t h e r   K u b e r n e t e s - s p e c i f i c   f a c t o r s .   W i t h   s w a p   e n a b l e d ,   t h e   s i t u a t i o n   i s   m o r e   c o m p l e x .   I n   L i n u x ,   t h e   v m . m i n _ f r e e _ k b y t e s   p a r a m e t e r   d e f i n e s   t h e   m e m o r y   t h r e s h o l d   f o r   t h e   k e r n e l   t o   s t a r t   a g g r e s s i v e l y   r e c l a i m i n g   m e m o r y ,   w h i c h   i n c l u d e s   s w a p p i n g   o u t   p a g e s .   I f   t h e   k u b e l e t ' s   e v i c t i o n   t h r e s h o l d s   a r e   s e t   i n   a   w a y   t h a t   e v i c t i o n   w o u l d   t a k e   p l a c e   b e f o r e   t h e   k e r n e l   s t a r t s   r e c l a i m i n g   m e m o r y ,   i t   c o u l d   l e a d   t o   w o r k l o a d s   n e v e r   b e i n g   a b l e   t o   s w a p   o u t   d u r i n g   n o d e   m e m o r y   p r e s s u r e .   H o w e v e r ,   s e t t i n g   t h e   e v i c t i o n   t h r e s h o l d s   t o o   h i g h   c o u l d   r e s u l t   i n   t h e   n o d ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/",
    "id": "k8s_00363_section_3_6876"
  },
  {
    "question": "What is Unutilized swap space?",
    "answer": "U n d e r   t h e   L i m i t e d S w a p   b e h a v i o r ,   t h e   a m o u n t   o f   s w a p   a v a i l a b l e   t o   a   P o d   i s   d e t e r m i n e d   a u t o m a t i c a l l y ,   b a s e d   o n   t h e   p r o p o r t i o n   o f   t h e   m e m o r y   r e q u e s t e d   r e l a t i v e   t o   t h e   n o d e ' s   t o t a l   m e m o r y   ( F o r   m o r e   d e t a i l s ,   s e e   t h e   s e c t i o n   b e l o w ) .   T h i s   d e s i g n   m e a n s   t h a t   u s u a l l y   t h e r e   w o u l d   b e   s o m e   p o r t i o n   o f   s w a p   t h a t   w i l l   r e m a i n   r e s t r i c t e d   f o r   K u b e r n e t e s   w o r k l o a d s .   F o r   e x a m p l e ,   s i n c e   K u b e r n e t e s   1 . 3 4   d o e s   n o t   p e r m i t   s w a p   u s e   f o r   P o d s   i n   t h e   G u a r a n t e e d   Q o S   c l a s s ,   t h e   a m o u n t   o f   s w a p   t h a t ' s   p r o p o r t i o n a l   t o   t h e   m e m o r y   r e q u e s t   f o r   G u a r a n t e e d   p o d s   w o u l d   r e m a i n   u n u s e d   b y   K u b e r n e t e s   w o r k l o a d s .   T h i s   b e h a v i o r   c a r r i e s   s o m e   r i s k   i n   a   s i t u a t i o n   w h e r e   m a n y   p o d s   a r e   n o t   e l i g i b l e   f o r   s w a p p i n g .   O n   t h e   o t h e r   h a n d ,   i t   e f f e c t i v e l y   k e e p s   s o m e   s y s t e m - r e s e r v e d   a m o u n t   o f   s w a p   m e m o r y   t h a t   c a n   b e   u s e d   b y   p r o c e s s e s   o u t s i d e   o f   K u b e r n e t e s '   s c o p e ,   s u c h   a s   s y s t e m   d a e m o n s   a n d   e v e n   k u b e l e t   i t s e l f .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/",
    "id": "k8s_00363_section_3_6877"
  },
  {
    "question": "What is Disable swap for system-critical daemons?",
    "answer": "D u r i n g   t h e   t e s t i n g   p h a s e   a n d   b a s e d   o n   u s e r",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/",
    "id": "k8s_00363_section_3_6878"
  },
  {
    "question": "What is Protect system-critical daemons for I/O latency?",
    "answer": "S w a p   c a n   i n c r e a s e   t h e   I / O   l o a d   o n   a   n o d e .   W h e n   m e m o r y   p r e s s u r e   c a u s e s   t h e   k e r n e l   t o   r a p i d l y   s w a p   p a g e s   i n   a n d   o u t ,   s y s t e m - c r i t i c a l   d a e m o n s   a n d   s e r v i c e s   t h a t   r e l y   o n   I / O   o p e r a t i o n s   m a y   e x p e r i e n c e   p e r f o r m a n c e   d e g r a d a t i o n .   T o   m i t i g a t e   t h i s ,   i t   i s   r e c o m m e n d e d   f o r   s y s t e m d   u s e r s   t o   p r i o r i t i z e   t h e   s y s t e m   s l i c e   i n   t e r m s   o f   I / O   l a t e n c y .   F o r   n o n - s y s t e m d   u s e r s ,   s e t t i n g   u p   a   d e d i c a t e d   c g r o u p   f o r   s y s t e m   d a e m o n s   a n d   p r o c e s s e s   a n d   p r i o r i t i z i n g   I / O   l a t e n c y   i n   t h e   s a m e   w a y   i s   a d v i s e d .   T h i s   c a n   b e   a c h i e v e d   b y   s e t t i n g   i o . l a t e n c y   f o r   t h e   s y s t e m   s l i c e ,   t h e r e b y   g r a n t i n g   i t   h i g h e r   I / O   p r i o r i t y .   S e e   c g r o u p ' s   d o c u m e n t a t i o n   f o r   m o r e   i n f o .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/",
    "id": "k8s_00363_section_3_6879"
  },
  {
    "question": "What is Swap and control plane nodes?",
    "answer": "T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   r u n n i n g   c o n t r o l   p l a n e   n o d e s   w i t h o u t   a n y   s w a p   s p a c e   c o n f i g u r e d .   T h e   c o n t r o l   p l a n e   p r i m a r i l y   h o s t s   G u a r a n t e e d   Q o S   P o d s ,   s o   s w a p   c a n   g e n e r a l l y   b e   d i s a b l e d .   T h e   m a i n   c o n c e r n   i s   t h a t   s w a p p i n g   c r i t i c a l   s e r v i c e s   o n   t h e   c o n t r o l   p l a n e   c o u l d   n e g a t i v e l y   i m p a c t   p e r f o r m a n c e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/",
    "id": "k8s_00363_section_3_6880"
  },
  {
    "question": "What is Use of a dedicated disk for swap?",
    "answer": "T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   u s i n g   e n c r y p t e d   s w a p ,   w h e n e v e r   y o u   r u n   n o d e s   w i t h   s w a p   e n a b l e d .   I f   s w a p   r e s i d e s   o n   a   p a r t i t i o n   o r   t h e   r o o t   f i l e s y s t e m ,   w o r k l o a d s   m a y   i n t e r f e r e   w i t h   s y s t e m   p r o c e s s e s   t h a t   n e e d   t o   w r i t e   t o   d i s k .   W h e n   t h e y   s h a r e   t h e   s a m e   d i s k ,   p r o c e s s e s   c a n   o v e r w h e l m   s w a p ,   d i s r u p t i n g   t h e   I / O   o f   k u b e l e t ,   c o n t a i n e r   r u n t i m e ,   a n d   s y s t e m d ,   w h i c h   w o u l d   i m p a c t   o t h e r   w o r k l o a d s .   S i n c e   s w a p   s p a c e   i s   l o c a t e d   o n   a   d i s k ,   i t   i s   c r u c i a l   t o   e n s u r e   t h e   d i s k   i s   f a s t   e n o u g h   f o r   t h e   i n t e n d e d   u s e   c a s e s .   A l t e r n a t i v e l y ,   o n e   c a n   c o n f i g u r e   I / O   p r i o r i t i e s   b e t w e e n   d i f f e r e n t   m a p p e d   a r e a s   o f   a   s i n g l e   b a c k i n g   d e v i c e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/",
    "id": "k8s_00363_section_3_6881"
  },
  {
    "question": "What is Swap-aware scheduling?",
    "answer": "K u b e r n e t e s   1 . 3 4   d o e s   n o t   s u p p o r t   a l l o c a t i n g   P o d s   t o   n o d e s   i n   a   w a y   t h a t   a c c o u n t s   f o r   s w a p   m e m o r y   u s a g e .   T h e   s c h e d u l e r   t y p i c a l l y   u s e s   r e q u e s t s   f o r   i n f r a s t r u c t u r e   r e s o u r c e s   t o   g u i d e   P o d   p l a c e m e n t ,   a n d   P o d s   d o   n o t   r e q u e s t   s w a p   s p a c e ;   t h e y   j u s t   r e q u e s t   m e m o r y .   T h i s   m e a n s   t h a t   t h e   s c h e d u l e r   d o e s   n o t   c o n s i d e r   s w a p   m e m o r y   w h e n   m a k i n g   s c h e d u l i n g   d e c i s i o n s .   W h i l e   t h i s   i s   s o m e t h i n g   w e   a r e   a c t i v e l y   w o r k i n g   o n ,   i t   i s   n o t   y e t   i m p l e m e n t e d .   I n   o r d e r   f o r   a d m i n i s t r a t o r s   t o   e n s u r e   t h a t   P o d s   a r e   n o t   s c h e d u l e d   o n   n o d e s   w i t h   s w a p   m e m o r y   u n l e s s   t h e y   a r e   s p e c i f i c a l l y   i n t e n d e d   t o   u s e   i t ,   A d m i n i s t r a t o r s   c a n   t a i n t   n o d e s   w i t h   s w a p   a v a i l a b l e   t o   p r o t e c t   a g a i n s t   t h i s   p r o b l e m .   T a i n t s   w i l l   e n s u r e   t h a t   w o r k l o a d s   w h i c h   t o l e r a t e   s w a p   w i l l   n o t   s p i l l   o n t o   n o d e s   w i t h o u t   s w a p   u n d e r   l o a d .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/",
    "id": "k8s_00363_section_3_6882"
  },
  {
    "question": "What is Selecting storage for optimal performance?",
    "answer": "T h e   s t o r a g e   d e v i c e   d e s i g n a t e d   f o r   s w a p   s p a c e   i s   c r i t i c a l   t o   m a i n t a i n i n g   s y s t e m   r e s p o n s i v e n e s s   d u r i n g   h i g h   m e m o r y   u s a g e .   R o t a t i o n a l   h a r d   d i s k   d r i v e s   ( H D D s )   a r e   i l l - s u i t e d   f o r   t h i s   t a s k   a s   t h e i r   m e c h a n i c a l   n a t u r e   i n t r o d u c e s   s i g n i f i c a n t   l a t e n c y ,   l e a d i n g   t o   s e v e r e   p e r f o r m a n c e   d e g r a d a t i o n   a n d   s y s t e m   t h r a s h i n g .   F o r   m o d e r n   p e r f o r m a n c e   n e e d s ,   a   d e v i c e   s u c h   a s   a   S o l i d   S t a t e   D r i v e   ( S S D )   i s   p r o b a b l y   t h e   a p p r o p r i a t e   c h o i c e   f o r   s w a p ,   a s   i t s   l o w - l a t e n c y   e l e c t r o n i c   a c c e s s   m i n i m i z e s   t h e   s l o w d o w n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/",
    "id": "k8s_00363_section_3_6883"
  },
  {
    "question": "What is How is the swap limit being determined with LimitedSwap??",
    "answer": "T h e   c o n f i g u r a t i o n   o f   s w a p   m e m o r y ,   i n c l u d i n g   i t s   l i m i t a t i o n s ,   p r e s e n t s   a   s i g n i f i c a n t   c h a l l e n g e .   N o t   o n l y   i s   i t   p r o n e   t o   m i s c o n f i g u r a t i o n ,   b u t   a s   a   s y s t e m - l e v e l   p r o p e r t y ,   a n y   m i s c o n f i g u r a t i o n   c o u l d   p o t e n t i a l l y   c o m p r o m i s e   t h e   e n t i r e   n o d e   r a t h e r   t h a n   j u s t   a   s p e c i f i c   w o r k l o a d .   T o   m i t i g a t e   t h i s   r i s k   a n d   e n s u r e   t h e   h e a l t h   o f   t h e   n o d e ,   w e   h a v e   i m p l e m e n t e d   S w a p   w i t h   a u t o m a t i c   c o n f i g u r a t i o n   o f   l i m i t a t i o n s .   W i t h   L i m i t e d S w a p ,   P o d s   t h a t   d o   n o t   f a l l   u n d e r   t h e   B u r s t a b l e   Q o S   c l a s s i f i c a t i o n   ( i . e .   B e s t E f f o r t / G u a r a n t e e d   Q o S   P o d s )   a r e   p r o h i b i t e d   f r o m   u t i l i z i n g   s w a p   m e m o r y .   B e s t E f f o r t   Q o S   P o d s   e x h i b i t   u n p r e d i c t a b l e   m e m o r y   c o n s u m p t i o n   p a t t e r n s   a n d   l a c k   i n f o r m a t i o n   r e g a r d i n g   t h e i r   m e m o r y   u s a g e ,   m a k i n g   i t   d i f f i c u l t   t o   d e t e r m i n e   a   s a f e   a l l o c a t i o n   o f   s w a p   m e m o r y .   C o n v e r s e l y ,   G u a r a n t e e d   Q o S   P o d s   a r e   t y p i c a l l y   e m p l o y e d   f o r   a p p l i c a t i o n s   t h a t   r e l y   o n   t h e   p r e c i s e   a l l o c a t i o n   o f   r e s o u r c e s   s p e c i f i e d   b y   t h e   w o r k l o a d ,   w i t h   m e m o r y   b e i n g   i m m e d i a t e l y   a v a i l a b l e .   T o   m a i n t a i n   t h e   a f o r e m e n t i o n e d   s e c u r i t y   a n d   n o d e   h e a l t h   g u a r a n t ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/",
    "id": "k8s_00363_section_3_6884"
  },
  {
    "question": "What is What's next?",
    "answer": "T o   l e a r n   a b o u t   m a n a g i n g   s w a p   o n   L i n u x   n o d e s ,   r e a d   c o n f i g u r i n g   s w a p   m e m o r y   o n   K u b e r n e t e s   n o d e s . Y o u   c a n   c h e c k   o u t   a   b l o g   p o s t   a b o u t   K u b e r n e t e s   a n d   s w a p F o r   b a c k g r o u n d   i n f o r m a t i o n ,   p l e a s e   s e e   t h e   o r i g i n a l   K E P ,   K E P - 2 4 0 0 ,   a n d   i t s   d e s i g n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/swap-memory-management/",
    "id": "k8s_00363_section_2_6885"
  },
  {
    "question": "What is kubectl config get-contexts?",
    "answer": "kubectl config get-contextsSynopsisDisplay one or many contexts from the kubeconfig file.kubectl config get-contexts [(-o|--output=)name)] Examples # List all the contexts in your kubeconfig file kubectl config get-contexts # Describe one context in your kubeconfig file kubectl config get-contexts my-context Options-h, --helphelp for get-contexts--no-headersWhen using the default or custom-column output format, don't print headers (default print headers).-o, --output stringOutput format. One of: (name).Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-contexts/",
    "id": "k8s_00364_qa_6886"
  },
  {
    "question": "How does kubectl config get-contexts work?",
    "answer": "kubectl config get-contextsSynopsisDisplay one or many contexts from the kubeconfig file.kubectl config get-contexts [(-o|--output=)name)] Examples # List all the contexts in your kubeconfig file kubectl config get-contexts # Describe one context in your kubeconfig file kubectl config get-contexts my-context Options-h, --helphelp for get-contexts--no-headersWhen using the default or custom-column output format, don't print headers (default print headers).-o, --output stringOutput format. One of: (name).Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-contexts/",
    "id": "k8s_00364_qa_6887"
  },
  {
    "question": "When would you use kubectl config get-contexts?",
    "answer": "kubectl config get-contextsSynopsisDisplay one or many contexts from the kubeconfig file.kubectl config get-contexts [(-o|--output=)name)] Examples # List all the contexts in your kubeconfig file kubectl config get-contexts # Describe one context in your kubeconfig file kubectl config get-contexts my-context Options-h, --helphelp for get-contexts--no-headersWhen using the default or custom-column output format, don't print headers (default print headers).-o, --output stringOutput format. One of: (name).Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-contexts/",
    "id": "k8s_00364_qa_6888"
  },
  {
    "question": "What are the benefits of kubectl config get-contexts?",
    "answer": "kubectl config get-contextsSynopsisDisplay one or many contexts from the kubeconfig file.kubectl config get-contexts [(-o|--output=)name)] Examples # List all the contexts in your kubeconfig file kubectl config get-contexts # Describe one context in your kubeconfig file kubectl config get-contexts my-context Options-h, --helphelp for get-contexts--no-headersWhen using the default or custom-column output format, don't print headers (default print headers).-o, --output stringOutput format. One of: (name).Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-contexts/",
    "id": "k8s_00364_qa_6889"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   o n e   o r   m a n y   c o n t e x t s   f r o m   t h e   k u b e c o n f i g   f i l e .   k u b e c t l   c o n f i g   g e t - c o n t e x t s   [ ( - o | - - o u t p u t = ) n a m e ) ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-contexts/",
    "id": "k8s_00364_section_2_6890"
  },
  {
    "question": "What is Examples?",
    "answer": "#   L i s t   a l l   t h e   c o n t e x t s   i n   y o u r   k u b e c o n f i g   f i l e   k u b e c t l   c o n f i g   g e t - c o n t e x t s   #   D e s c r i b e   o n e   c o n t e x t   i n   y o u r   k u b e c o n f i g   f i l e   k u b e c t l   c o n f i g   g e t - c o n t e x t s   m y - c o n t e x t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-contexts/",
    "id": "k8s_00364_section_2_6891"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   g e t - c o n t e x t s   W h e n   u s i n g   t h e   d e f a u l t   o r   c u s t o m - c o l u m n   o u t p u t   f o r m a t ,   d o n ' t   p r i n t   h e a d e r s   ( d e f a u l t   p r i n t   h e a d e r s ) .   O u t p u t   f o r m a t .   O n e   o f :   ( n a m e ) .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-contexts/",
    "id": "k8s_00364_section_2_6892"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-contexts/",
    "id": "k8s_00364_section_2_6893"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-contexts/",
    "id": "k8s_00364_section_2_6894"
  },
  {
    "question": "What is kubectl apply edit-last-applied?",
    "answer": "kubectl apply edit-last-appliedSynopsisEdit the latest last-applied-configuration annotations of resources from the default editor.The edit-last-applied command allows you to directly edit any API resource you can retrieve via the command-line tools. It will open the editor defined by your KUBE_EDITOR, or EDITOR environment variables, or fall back to 'vi' for Linux or 'notepad' for Windows. You can edit multiple objects, although changes are applied one at a time. The command accepts file names as well as command-line arguments, although the files you point to must be previously saved versions of resources.The default format is YAML. To edit in JSON, specify \"-o json\".The flag --windows-line-endings can be used to force Windows line endings, otherwise the default for your operating system will be used.In the event an error occurs while updating, a temporary file will be created on disk that contains your unapplied changes. The most common error when updating a resource is another editor changing the resource on the server. When this occurs, you will have to apply your changes to the newer version of the resource, or update your temporary saved copy to include the latest resource version.kubectl apply edit-last-applied (RESOURCE/NAME | -f FILENAME) Examples # Edit the last-applied-configuration annotations by type/name in YAML kubectl apply edit-last-applied deployment/nginx # Edit the last-applied-configuration annotations by file in JSON kubectl apply edit-last-applied -f deploy.yaml -o json Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--field-manager string Default: \"kubectl-client-side-apply\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files to use to edit the resource-h, --helphelp for edit-last-applied-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_edit-last-applied/",
    "id": "k8s_00365_qa_6895"
  },
  {
    "question": "How does kubectl apply edit-last-applied work?",
    "answer": "kubectl apply edit-last-appliedSynopsisEdit the latest last-applied-configuration annotations of resources from the default editor.The edit-last-applied command allows you to directly edit any API resource you can retrieve via the command-line tools. It will open the editor defined by your KUBE_EDITOR, or EDITOR environment variables, or fall back to 'vi' for Linux or 'notepad' for Windows. You can edit multiple objects, although changes are applied one at a time. The command accepts file names as well as command-line arguments, although the files you point to must be previously saved versions of resources.The default format is YAML. To edit in JSON, specify \"-o json\".The flag --windows-line-endings can be used to force Windows line endings, otherwise the default for your operating system will be used.In the event an error occurs while updating, a temporary file will be created on disk that contains your unapplied changes. The most common error when updating a resource is another editor changing the resource on the server. When this occurs, you will have to apply your changes to the newer version of the resource, or update your temporary saved copy to include the latest resource version.kubectl apply edit-last-applied (RESOURCE/NAME | -f FILENAME) Examples # Edit the last-applied-configuration annotations by type/name in YAML kubectl apply edit-last-applied deployment/nginx # Edit the last-applied-configuration annotations by file in JSON kubectl apply edit-last-applied -f deploy.yaml -o json Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--field-manager string Default: \"kubectl-client-side-apply\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files to use to edit the resource-h, --helphelp for edit-last-applied-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_edit-last-applied/",
    "id": "k8s_00365_qa_6896"
  },
  {
    "question": "When would you use kubectl apply edit-last-applied?",
    "answer": "kubectl apply edit-last-appliedSynopsisEdit the latest last-applied-configuration annotations of resources from the default editor.The edit-last-applied command allows you to directly edit any API resource you can retrieve via the command-line tools. It will open the editor defined by your KUBE_EDITOR, or EDITOR environment variables, or fall back to 'vi' for Linux or 'notepad' for Windows. You can edit multiple objects, although changes are applied one at a time. The command accepts file names as well as command-line arguments, although the files you point to must be previously saved versions of resources.The default format is YAML. To edit in JSON, specify \"-o json\".The flag --windows-line-endings can be used to force Windows line endings, otherwise the default for your operating system will be used.In the event an error occurs while updating, a temporary file will be created on disk that contains your unapplied changes. The most common error when updating a resource is another editor changing the resource on the server. When this occurs, you will have to apply your changes to the newer version of the resource, or update your temporary saved copy to include the latest resource version.kubectl apply edit-last-applied (RESOURCE/NAME | -f FILENAME) Examples # Edit the last-applied-configuration annotations by type/name in YAML kubectl apply edit-last-applied deployment/nginx # Edit the last-applied-configuration annotations by file in JSON kubectl apply edit-last-applied -f deploy.yaml -o json Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--field-manager string Default: \"kubectl-client-side-apply\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files to use to edit the resource-h, --helphelp for edit-last-applied-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_edit-last-applied/",
    "id": "k8s_00365_qa_6897"
  },
  {
    "question": "What are the benefits of kubectl apply edit-last-applied?",
    "answer": "kubectl apply edit-last-appliedSynopsisEdit the latest last-applied-configuration annotations of resources from the default editor.The edit-last-applied command allows you to directly edit any API resource you can retrieve via the command-line tools. It will open the editor defined by your KUBE_EDITOR, or EDITOR environment variables, or fall back to 'vi' for Linux or 'notepad' for Windows. You can edit multiple objects, although changes are applied one at a time. The command accepts file names as well as command-line arguments, although the files you point to must be previously saved versions of resources.The default format is YAML. To edit in JSON, specify \"-o json\".The flag --windows-line-endings can be used to force Windows line endings, otherwise the default for your operating system will be used.In the event an error occurs while updating, a temporary file will be created on disk that contains your unapplied changes. The most common error when updating a resource is another editor changing the resource on the server. When this occurs, you will have to apply your changes to the newer version of the resource, or update your temporary saved copy to include the latest resource version.kubectl apply edit-last-applied (RESOURCE/NAME | -f FILENAME) Examples # Edit the last-applied-configuration annotations by type/name in YAML kubectl apply edit-last-applied deployment/nginx # Edit the last-applied-configuration annotations by file in JSON kubectl apply edit-last-applied -f deploy.yaml -o json Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--field-manager string Default: \"kubectl-client-side-apply\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files to use to edit the resource-h, --helphelp for edit-last-applied-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_edit-last-applied/",
    "id": "k8s_00365_qa_6898"
  },
  {
    "question": "What is Synopsis?",
    "answer": "E d i t   t h e   l a t e s t   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   o f   r e s o u r c e s   f r o m   t h e   d e f a u l t   e d i t o r .   T h e   e d i t - l a s t - a p p l i e d   c o m m a n d   a l l o w s   y o u   t o   d i r e c t l y   e d i t   a n y   A P I   r e s o u r c e   y o u   c a n   r e t r i e v e   v i a   t h e   c o m m a n d - l i n e   t o o l s .   I t   w i l l   o p e n   t h e   e d i t o r   d e f i n e d   b y   y o u r   K U B E _ E D I T O R ,   o r   E D I T O R   e n v i r o n m e n t   v a r i a b l e s ,   o r   f a l l   b a c k   t o   ' v i '   f o r   L i n u x   o r   ' n o t e p a d '   f o r   W i n d o w s .   Y o u   c a n   e d i t   m u l t i p l e   o b j e c t s ,   a l t h o u g h   c h a n g e s   a r e   a p p l i e d   o n e   a t   a   t i m e .   T h e   c o m m a n d   a c c e p t s   f i l e   n a m e s   a s   w e l l   a s   c o m m a n d - l i n e   a r g u m e n t s ,   a l t h o u g h   t h e   f i l e s   y o u   p o i n t   t o   m u s t   b e   p r e v i o u s l y   s a v e d   v e r s i o n s   o f   r e s o u r c e s .   T h e   d e f a u l t   f o r m a t   i s   Y A M L .   T o   e d i t   i n   J S O N ,   s p e c i f y   \" - o   j s o n \" .   T h e   f l a g   - - w i n d o w s - l i n e - e n d i n g s   c a n   b e   u s e d   t o   f o r c e   W i n d o w s   l i n e   e n d i n g s ,   o t h e r w i s e   t h e   d e f a u l t   f o r   y o u r   o p e r a t i n g   s y s t e m   w i l l   b e   u s e d .   I n   t h e   e v e n t   a n   e r r o r   o c c u r s   w h i l e   u p d a t i n g ,   a   t e m p o r a r y   f i l e   w i l l   b e   c r e a t e d   o n   d i s k   t h a t   c o n t a i n s   y o u r   u n a p p l i e d   c h a n g e s .   T h e   m o s t   c o m m o n   e r r o r   w h e n   u p d a t i n g   a   r e s o u r c e   i s   a n o t h e r   e d i t o r   c h a n g i n g   t h e   r e s o u r c e   o n   t h e   s e r v ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_edit-last-applied/",
    "id": "k8s_00365_section_2_6899"
  },
  {
    "question": "What is Examples?",
    "answer": "#   E d i t   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   t y p e / n a m e   i n   Y A M L   k u b e c t l   a p p l y   e d i t - l a s t - a p p l i e d   d e p l o y m e n t / n g i n x   #   E d i t   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   f i l e   i n   J S O N   k u b e c t l   a p p l y   e d i t - l a s t - a p p l i e d   - f   d e p l o y . y a m l   - o   j s o n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_edit-last-applied/",
    "id": "k8s_00365_section_2_6900"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   t o   u s e   t o   e d i t   t h e   r e s o u r c e   h e l p   f o r   e d i t - l a s t - a p p l i e d   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t e x t / t e m p l a t e / # p k g - o v e r v i e w ] .   M u s t   b e   o n e   o f :   s t r i c t   ( o r   t r u e ) ,   w a r n ,   i g n o r e   ( o r   f a l s e ) .   \" t r u e \"   o r   \" s t r i c t \"   w i l l ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_edit-last-applied/",
    "id": "k8s_00365_section_2_6901"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_edit-last-applied/",
    "id": "k8s_00365_section_2_6902"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   a p p l y   -   A p p l y   a   c o n f i g u r a t i o n   t o   a   r e s o u r c e   b y   f i l e   n a m e   o r   s t d i n   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_edit-last-applied/",
    "id": "k8s_00365_section_2_6903"
  },
  {
    "question": "What is Generating Reference Documentation for kubectl Commands?",
    "answer": "Generating Reference Documentation for kubectl CommandsThis page shows how to generate the kubectl command reference.Note:This topic shows how to generate reference documentation for kubectl commands like kubectl apply and kubectl taint. This topic does not show how to generate the kubectl options reference page. For instructions on how to generate the kubectl options reference page, see Generating Reference Pages for Kubernetes Components and Tools.Before you beginRequirements:You need a machine that is running Linux or macOS.You need to have these tools installed:Python v3.7.x+GitGolang version 1.13+Pip used to install PyYAMLPyYAML v5.1.2makegcc compiler/linkerDocker (Required only for kubectl command reference)Your PATH environment variable must include the required build tools, such as the Go binary and python.You need to know how to create a pull request to a GitHub repository. This involves creating your own fork of the repository. For more information, see Work from a local clone.Set up the local repositoriesCreate a local workspace and set your GOPATH:mkdir -p $HOME/<workspace> export GOPATH=$HOME/<workspace> Get a local clone of the following repositories:go get -u github.com/spf13/pflag go get -u github.com/spf13/cobra go get -u gopkg.in/yaml.v2 go get -u github.com/kubernetes-sigs/reference-docs If you don't already have the kubernetes/website repository, get it now:git clone https://github.com/<your-username>/website $GOPATH/src/github.com/<your-username>/website Get a clone of the kubernetes/kubernetes repository as k8s.io/kubernetes:git clone https://github.com/kubernetes/kubernetes $GOPATH/src/k8s.io/kubernetes Remove the spf13 package from $GOPATH/src/k8s.io/kubernetes/vendor/github.com:rm -rf $GOPATH/src/k8s.io/kubernetes/vendor/github.com/spf13 The kubernetes/kubernetes repository provides the kubectl and kustomize source code.Determine the base directory of your clone of the kubernetes/kubernetes repository. For example, if you followed the preceding step to get the repository, your base directory is $GOPATH/src/k8s.io/kubernetes. The remaining steps refer to your base directory as <k8s-base>.Determine the base directory of your clone of the kubernetes/website repository. For example, if you followed the preceding step to get the repository, your base directory is $GOPATH/src/github.com/<your-username>/website. The remaining steps refer to your base directory as <web-base>.Determine the base directory of your clone of the kubernetes-sigs/reference-docs repository. For example, if you followed the preceding step to get the repository, your base directory is $GOPATH/src/github.com/kubernetes-sigs/reference-docs. The remaining steps refer to your base directory as <rdocs-base>.In your local k8s.io/kubernetes repository, check out the branch of interest, and make sure it is up to date. For example, if you want to generate docs for Kubernetes 1.33.0, you could use these commands:cd <k8s-base> git checkout v1.33.0 git pull https://gi",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubectl/",
    "id": "k8s_00366_qa_6904"
  },
  {
    "question": "How does Generating Reference Documentation for kubectl Commands work?",
    "answer": "Generating Reference Documentation for kubectl CommandsThis page shows how to generate the kubectl command reference.Note:This topic shows how to generate reference documentation for kubectl commands like kubectl apply and kubectl taint. This topic does not show how to generate the kubectl options reference page. For instructions on how to generate the kubectl options reference page, see Generating Reference Pages for Kubernetes Components and Tools.Before you beginRequirements:You need a machine that is running Linux or macOS.You need to have these tools installed:Python v3.7.x+GitGolang version 1.13+Pip used to install PyYAMLPyYAML v5.1.2makegcc compiler/linkerDocker (Required only for kubectl command reference)Your PATH environment variable must include the required build tools, such as the Go binary and python.You need to know how to create a pull request to a GitHub repository. This involves creating your own fork of the repository. For more information, see Work from a local clone.Set up the local repositoriesCreate a local workspace and set your GOPATH:mkdir -p $HOME/<workspace> export GOPATH=$HOME/<workspace> Get a local clone of the following repositories:go get -u github.com/spf13/pflag go get -u github.com/spf13/cobra go get -u gopkg.in/yaml.v2 go get -u github.com/kubernetes-sigs/reference-docs If you don't already have the kubernetes/website repository, get it now:git clone https://github.com/<your-username>/website $GOPATH/src/github.com/<your-username>/website Get a clone of the kubernetes/kubernetes repository as k8s.io/kubernetes:git clone https://github.com/kubernetes/kubernetes $GOPATH/src/k8s.io/kubernetes Remove the spf13 package from $GOPATH/src/k8s.io/kubernetes/vendor/github.com:rm -rf $GOPATH/src/k8s.io/kubernetes/vendor/github.com/spf13 The kubernetes/kubernetes repository provides the kubectl and kustomize source code.Determine the base directory of your clone of the kubernetes/kubernetes repository. For example, if you followed the preceding step to get the repository, your base directory is $GOPATH/src/k8s.io/kubernetes. The remaining steps refer to your base directory as <k8s-base>.Determine the base directory of your clone of the kubernetes/website repository. For example, if you followed the preceding step to get the repository, your base directory is $GOPATH/src/github.com/<your-username>/website. The remaining steps refer to your base directory as <web-base>.Determine the base directory of your clone of the kubernetes-sigs/reference-docs repository. For example, if you followed the preceding step to get the repository, your base directory is $GOPATH/src/github.com/kubernetes-sigs/reference-docs. The remaining steps refer to your base directory as <rdocs-base>.In your local k8s.io/kubernetes repository, check out the branch of interest, and make sure it is up to date. For example, if you want to generate docs for Kubernetes 1.33.0, you could use these commands:cd <k8s-base> git checkout v1.33.0 git pull https://gi",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubectl/",
    "id": "k8s_00366_qa_6905"
  },
  {
    "question": "When would you use Generating Reference Documentation for kubectl Commands?",
    "answer": "Generating Reference Documentation for kubectl CommandsThis page shows how to generate the kubectl command reference.Note:This topic shows how to generate reference documentation for kubectl commands like kubectl apply and kubectl taint. This topic does not show how to generate the kubectl options reference page. For instructions on how to generate the kubectl options reference page, see Generating Reference Pages for Kubernetes Components and Tools.Before you beginRequirements:You need a machine that is running Linux or macOS.You need to have these tools installed:Python v3.7.x+GitGolang version 1.13+Pip used to install PyYAMLPyYAML v5.1.2makegcc compiler/linkerDocker (Required only for kubectl command reference)Your PATH environment variable must include the required build tools, such as the Go binary and python.You need to know how to create a pull request to a GitHub repository. This involves creating your own fork of the repository. For more information, see Work from a local clone.Set up the local repositoriesCreate a local workspace and set your GOPATH:mkdir -p $HOME/<workspace> export GOPATH=$HOME/<workspace> Get a local clone of the following repositories:go get -u github.com/spf13/pflag go get -u github.com/spf13/cobra go get -u gopkg.in/yaml.v2 go get -u github.com/kubernetes-sigs/reference-docs If you don't already have the kubernetes/website repository, get it now:git clone https://github.com/<your-username>/website $GOPATH/src/github.com/<your-username>/website Get a clone of the kubernetes/kubernetes repository as k8s.io/kubernetes:git clone https://github.com/kubernetes/kubernetes $GOPATH/src/k8s.io/kubernetes Remove the spf13 package from $GOPATH/src/k8s.io/kubernetes/vendor/github.com:rm -rf $GOPATH/src/k8s.io/kubernetes/vendor/github.com/spf13 The kubernetes/kubernetes repository provides the kubectl and kustomize source code.Determine the base directory of your clone of the kubernetes/kubernetes repository. For example, if you followed the preceding step to get the repository, your base directory is $GOPATH/src/k8s.io/kubernetes. The remaining steps refer to your base directory as <k8s-base>.Determine the base directory of your clone of the kubernetes/website repository. For example, if you followed the preceding step to get the repository, your base directory is $GOPATH/src/github.com/<your-username>/website. The remaining steps refer to your base directory as <web-base>.Determine the base directory of your clone of the kubernetes-sigs/reference-docs repository. For example, if you followed the preceding step to get the repository, your base directory is $GOPATH/src/github.com/kubernetes-sigs/reference-docs. The remaining steps refer to your base directory as <rdocs-base>.In your local k8s.io/kubernetes repository, check out the branch of interest, and make sure it is up to date. For example, if you want to generate docs for Kubernetes 1.33.0, you could use these commands:cd <k8s-base> git checkout v1.33.0 git pull https://gi",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubectl/",
    "id": "k8s_00366_qa_6906"
  },
  {
    "question": "What are the benefits of Generating Reference Documentation for kubectl Commands?",
    "answer": "Generating Reference Documentation for kubectl CommandsThis page shows how to generate the kubectl command reference.Note:This topic shows how to generate reference documentation for kubectl commands like kubectl apply and kubectl taint. This topic does not show how to generate the kubectl options reference page. For instructions on how to generate the kubectl options reference page, see Generating Reference Pages for Kubernetes Components and Tools.Before you beginRequirements:You need a machine that is running Linux or macOS.You need to have these tools installed:Python v3.7.x+GitGolang version 1.13+Pip used to install PyYAMLPyYAML v5.1.2makegcc compiler/linkerDocker (Required only for kubectl command reference)Your PATH environment variable must include the required build tools, such as the Go binary and python.You need to know how to create a pull request to a GitHub repository. This involves creating your own fork of the repository. For more information, see Work from a local clone.Set up the local repositoriesCreate a local workspace and set your GOPATH:mkdir -p $HOME/<workspace> export GOPATH=$HOME/<workspace> Get a local clone of the following repositories:go get -u github.com/spf13/pflag go get -u github.com/spf13/cobra go get -u gopkg.in/yaml.v2 go get -u github.com/kubernetes-sigs/reference-docs If you don't already have the kubernetes/website repository, get it now:git clone https://github.com/<your-username>/website $GOPATH/src/github.com/<your-username>/website Get a clone of the kubernetes/kubernetes repository as k8s.io/kubernetes:git clone https://github.com/kubernetes/kubernetes $GOPATH/src/k8s.io/kubernetes Remove the spf13 package from $GOPATH/src/k8s.io/kubernetes/vendor/github.com:rm -rf $GOPATH/src/k8s.io/kubernetes/vendor/github.com/spf13 The kubernetes/kubernetes repository provides the kubectl and kustomize source code.Determine the base directory of your clone of the kubernetes/kubernetes repository. For example, if you followed the preceding step to get the repository, your base directory is $GOPATH/src/k8s.io/kubernetes. The remaining steps refer to your base directory as <k8s-base>.Determine the base directory of your clone of the kubernetes/website repository. For example, if you followed the preceding step to get the repository, your base directory is $GOPATH/src/github.com/<your-username>/website. The remaining steps refer to your base directory as <web-base>.Determine the base directory of your clone of the kubernetes-sigs/reference-docs repository. For example, if you followed the preceding step to get the repository, your base directory is $GOPATH/src/github.com/kubernetes-sigs/reference-docs. The remaining steps refer to your base directory as <rdocs-base>.In your local k8s.io/kubernetes repository, check out the branch of interest, and make sure it is up to date. For example, if you want to generate docs for Kubernetes 1.33.0, you could use these commands:cd <k8s-base> git checkout v1.33.0 git pull https://gi",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubectl/",
    "id": "k8s_00366_qa_6907"
  },
  {
    "question": "What is Generating Reference Documentation for kubectl Commands?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   g e n e r a t e   t h e   k u b e c t l   c o m m a n d   r e f e r e n c e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubectl/",
    "id": "k8s_00366_section_1_6908"
  },
  {
    "question": "What is Requirements:?",
    "answer": "Y o u   n e e d   a   m a c h i n e   t h a t   i s   r u n n i n g   L i n u x   o r   m a c O S . Y o u   n e e d   t o   h a v e   t h e s e   t o o l s   i n s t a l l e d : P y t h o n   v 3 . 7 . x + G i t G o l a n g   v e r s i o n   1 . 1 3 + P i p   u s e d   t o   i n s t a l l   P y Y A M L P y Y A M L   v 5 . 1 . 2 m a k e g c c   c o m p i l e r / l i n k e r D o c k e r   ( R e q u i r e d   o n l y   f o r   k u b e c t l   c o m m a n d   r e f e r e n c e ) Y o u r   P A T H   e n v i r o n m e n t   v a r i a b l e   m u s t   i n c l u d e   t h e   r e q u i r e d   b u i l d   t o o l s ,   s u c h   a s   t h e   G o   b i n a r y   a n d   p y t h o n . Y o u   n e e d   t o   k n o w   h o w   t o   c r e a t e   a   p u l l   r e q u e s t   t o   a   G i t H u b   r e p o s i t o r y .   T h i s   i n v o l v e s   c r e a t i n g   y o u r   o w n   f o r k   o f   t h e   r e p o s i t o r y .   F o r   m o r e   i n f o r m a t i o n ,   s e e   W o r k   f r o m   a   l o c a l   c l o n e .   Y o u   n e e d   a   m a c h i n e   t h a t   i s   r u n n i n g   L i n u x   o r   m a c O S .   Y o u   n e e d   t o   h a v e   t h e s e   t o o l s   i n s t a l l e d :   P y t h o n   v 3 . 7 . x + G i t G o l a n g   v e r s i o n   1 . 1 3 + P i p   u s e d   t o   i n s t a l l   P y Y A M L P y Y A M L   v 5 . 1 . 2 m a k e g c c   c o m p i l e r / l i n k e r D o c k e r   ( R e q u i r e d   o n l y   f o r   k u b e c t l   c o m m a n d   r e f e r e n c e )   Y o u r   P A T H   e n v i r o n m e n t   v a r i a b l e   m u s t   i n c l u d e   t h e   r e q u i r e d   b u i l d   t o o l s ,   s u c h   a s   t h e   G o   b i n a r y   a n d   p y t h o n .   Y o u   n e e d   t o   k n o w   h o w   t o   c r e a t e   a   p u l l   r e q u e s t   t o   a   G i t H u b   r e p o s i t o r y .   T h i s   i n v o l v e s   c r e a t i n g   y o u r   o w n   f o r k   o f   t h e   r e p o s i t o r y .   F o r   m o r ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubectl/",
    "id": "k8s_00366_section_3_6909"
  },
  {
    "question": "What is Set up the local repositories?",
    "answer": "C r e a t e   a   l o c a l   w o r k s p a c e   a n d   s e t   y o u r   G O P A T H :   m k d i r   - p   $ H O M E / < w o r k s p a c e >   e x p o r t   G O P A T H = $ H O M E / < w o r k s p a c e >   G e t   a   l o c a l   c l o n e   o f   t h e   f o l l o w i n g   r e p o s i t o r i e s :   g o   g e t   - u   g i t h u b . c o m / s p f 1 3 / p f l a g   g o   g e t   - u   g i t h u b . c o m / s p f 1 3 / c o b r a   g o   g e t   - u   g o p k g . i n / y a m l . v 2   g o   g e t   - u   g i t h u b . c o m / k u b e r n e t e s - s i g s / r e f e r e n c e - d o c s   I f   y o u   d o n ' t   a l r e a d y   h a v e   t h e   k u b e r n e t e s / w e b s i t e   r e p o s i t o r y ,   g e t   i t   n o w :   g i t   c l o n e   h t t p s : / / g i t h u b . c o m / < y o u r - u s e r n a m e > / w e b s i t e   $ G O P A T H / s r c / g i t h u b . c o m / < y o u r - u s e r n a m e > / w e b s i t e   G e t   a   c l o n e   o f   t h e   k u b e r n e t e s / k u b e r n e t e s   r e p o s i t o r y   a s   k 8 s . i o / k u b e r n e t e s :   g i t   c l o n e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k u b e r n e t e s   $ G O P A T H / s r c / k 8 s . i o / k u b e r n e t e s   R e m o v e   t h e   s p f 1 3   p a c k a g e   f r o m   $ G O P A T H / s r c / k 8 s . i o / k u b e r n e t e s / v e n d o r / g i t h u b . c o m :   r m   - r f   $ G O P A T H / s r c / k 8 s . i o / k u b e r n e t e s / v e n d o r / g i t h u b . c o m / s p f 1 3   T h e   k u b e r n e t e s / k u b e r n e t e s   r e p o s i t o r y   p r o v i d e s   t h e   k u b e c t l   a n d   k u s t o m i z e   s o u r c e   c o d e .   D e t e r m i n e   t h e   b a s e   d i r e c t o r y   o f   y o u r   c l o n e   o f   t h e   k u b e r n e t e s / k u b e r n e t e s   r e p o s i t o r y .   F o r   e x a m p l e ,   i f   y o u   f o l l o w e d   t h e   p r e c e d i n g   s t e p   t o   g e t   t h e   r e p o s ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubectl/",
    "id": "k8s_00366_section_2_6910"
  },
  {
    "question": "What is Edit the kubectl source code?",
    "answer": "T h e   k u b e c t l   c o m m a n d   r e f e r e n c e   d o c u m e n t a t i o n   i s   a u t o m a t i c a l l y   g e n e r a t e d   f r o m   t h e   k u b e c t l   s o u r c e   c o d e .   I f   y o u   w a n t   t o   c h a n g e   t h e   r e f e r e n c e   d o c u m e n t a t i o n ,   t h e   f i r s t   s t e p   i s   t o   c h a n g e   o n e   o r   m o r e   c o m m e n t s   i n   t h e   k u b e c t l   s o u r c e   c o d e .   M a k e   t h e   c h a n g e   i n   y o u r   l o c a l   k u b e r n e t e s / k u b e r n e t e s   r e p o s i t o r y ,   a n d   t h e n   s u b m i t   a   p u l l   r e q u e s t   t o   t h e   m a s t e r   b r a n c h   o f   g i t h u b . c o m / k u b e r n e t e s / k u b e r n e t e s .   P R   5 6 6 7 3   i s   a n   e x a m p l e   o f   a   p u l l   r e q u e s t   t h a t   f i x e s   a   t y p o   i n   t h e   k u b e c t l   s o u r c e   c o d e .   M o n i t o r   y o u r   p u l l   r e q u e s t ,   a n d   r e s p o n d   t o   r e v i e w e r   c o m m e n t s .   C o n t i n u e   t o   m o n i t o r   y o u r   p u l l   r e q u e s t   u n t i l   i t   i s   m e r g e d   i n t o   t h e   t a r g e t   b r a n c h   o f   t h e   k u b e r n e t e s / k u b e r n e t e s   r e p o s i t o r y .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubectl/",
    "id": "k8s_00366_section_2_6911"
  },
  {
    "question": "What is Cherry pick your change into a release branch?",
    "answer": "Y o u r   c h a n g e   i s   n o w   i n   t h e   m a s t e r   b r a n c h ,   w h i c h   i s   u s e d   f o r   d e v e l o p m e n t   o f   t h e   n e x t   K u b e r n e t e s   r e l e a s e .   I f   y o u   w a n t   y o u r   c h a n g e   t o   a p p e a r   i n   t h e   d o c s   f o r   a   K u b e r n e t e s   v e r s i o n   t h a t   h a s   a l r e a d y   b e e n   r e l e a s e d ,   y o u   n e e d   t o   p r o p o s e   t h a t   y o u r   c h a n g e   b e   c h e r r y   p i c k e d   i n t o   t h e   r e l e a s e   b r a n c h .   F o r   e x a m p l e ,   s u p p o s e   t h e   m a s t e r   b r a n c h   i s   b e i n g   u s e d   t o   d e v e l o p   K u b e r n e t e s   1 . 3 4   a n d   y o u   w a n t   t o   b a c k p o r t   y o u r   c h a n g e   t o   t h e   r e l e a s e - 1 . 3 3   b r a n c h .   F o r   i n s t r u c t i o n s   o n   h o w   t o   d o   t h i s ,   s e e   P r o p o s e   a   C h e r r y   P i c k .   M o n i t o r   y o u r   c h e r r y - p i c k   p u l l   r e q u e s t   u n t i l   i t   i s   m e r g e d   i n t o   t h e   r e l e a s e   b r a n c h .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubectl/",
    "id": "k8s_00366_section_2_6912"
  },
  {
    "question": "What is Set build variables?",
    "answer": "G o   t o   < r d o c s - b a s e > .   O n   y o u   c o m m a n d   l i n e ,   s e t   t h e   f o l l o w i n g   e n v i r o n m e n t   v a r i a b l e s .   S e t   K 8 S _ R O O T   t o   < k 8 s - b a s e > . S e t   K 8 S _ W E B R O O T   t o   < w e b - b a s e > . S e t   K 8 S _ R E L E A S E   t o   t h e   v e r s i o n   o f   t h e   d o c s   y o u   w a n t   t o   b u i l d .   F o r   e x a m p l e ,   i f   y o u   w a n t   t o   b u i l d   d o c s   f o r   K u b e r n e t e s   1 . 3 3 ,   s e t   K 8 S _ R E L E A S E   t o   1 . 3 3 .   F o r   e x a m p l e :   e x p o r t   K 8 S _ W E B R O O T = $ G O P A T H / s r c / g i t h u b . c o m / < y o u r - u s e r n a m e > / w e b s i t e   e x p o r t   K 8 S _ R O O T = $ G O P A T H / s r c / k 8 s . i o / k u b e r n e t e s   e x p o r t   K 8 S _ R E L E A S E = 1 . 3 3",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubectl/",
    "id": "k8s_00366_section_2_6913"
  },
  {
    "question": "What is Creating a versioned directory?",
    "answer": "T h e   c r e a t e v e r s i o n d i r s   b u i l d   t a r g e t   c r e a t e s   a   v e r s i o n e d   d i r e c t o r y   a n d   c o p i e s   t h e   k u b e c t l   r e f e r e n c e   c o n f i g u r a t i o n   f i l e s   t o   t h e   v e r s i o n e d   d i r e c t o r y .   T h e   v e r s i o n e d   d i r e c t o r y   n a m e   f o l l o w s   t h e   p a t t e r n   o f   v < m a j o r > _ < m i n o r > .   I n   t h e   < r d o c s - b a s e >   d i r e c t o r y ,   r u n   t h e   f o l l o w i n g   b u i l d   t a r g e t :   c d   < r d o c s - b a s e >   m a k e   c r e a t e v e r s i o n d i r s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubectl/",
    "id": "k8s_00366_section_2_6914"
  },
  {
    "question": "What is Check out a release tag in k8s.io/kubernetes?",
    "answer": "I n   y o u r   l o c a l   < k 8 s - b a s e >   r e p o s i t o r y ,   c h e c k   o u t   t h e   b r a n c h   t h a t   h a s   t h e   v e r s i o n   o f   K u b e r n e t e s   t h a t   y o u   w a n t   t o   d o c u m e n t .   F o r   e x a m p l e ,   i f   y o u   w a n t   t o   g e n e r a t e   d o c s   f o r   K u b e r n e t e s   1 . 3 3 . 0 ,   c h e c k   o u t   t h e   v 1 . 3 3   t a g .   M a k e   s u r e   y o u r   l o c a l   b r a n c h   i s   u p   t o   d a t e .   c d   < k 8 s - b a s e >   g i t   c h e c k o u t   v 1 . 3 3 . 0   g i t   p u l l   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k u b e r n e t e s   v 1 . 3 3 . 0",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubectl/",
    "id": "k8s_00366_section_2_6915"
  },
  {
    "question": "What is Run the doc generation code?",
    "answer": "I n   y o u r   l o c a l   < r d o c s - b a s e > ,   r u n   t h e   c o p y c l i   b u i l d   t a r g e t .   T h e   c o m m a n d   r u n s   a s   r o o t :   c d   < r d o c s - b a s e >   m a k e   c o p y c l i   T h e   c o p y c l i   c o m m a n d   c l e a n s   t h e   t e m p o r a r y   b u i l d   d i r e c t o r y ,   g e n e r a t e s   t h e   k u b e c t l   c o m m a n d   f i l e s ,   a n d   c o p i e s   t h e   c o l l a t e d   k u b e c t l   c o m m a n d   r e f e r e n c e   H T M L   p a g e   a n d   a s s e t s   t o   < w e b - b a s e > .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubectl/",
    "id": "k8s_00366_section_2_6916"
  },
  {
    "question": "What is Locate the generated files?",
    "answer": "V e r i f y   t h a t   t h e s e   t w o   f i l e s   h a v e   b e e n   g e n e r a t e d :   [   - e   \" < r d o c s - b a s e > / g e n - k u b e c t l d o c s / g e n e r a t o r s / b u i l d / i n d e x . h t m l \"   ]   & &   e c h o   \" i n d e x . h t m l   b u i l t \"   | |   e c h o   \" n o   i n d e x . h t m l \"   [   - e   \" < r d o c s - b a s e > / g e n - k u b e c t l d o c s / g e n e r a t o r s / b u i l d / n a v D a t a . j s \"   ]   & &   e c h o   \" n a v D a t a . j s   b u i l t \"   | |   e c h o   \" n o   n a v D a t a . j s \"",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubectl/",
    "id": "k8s_00366_section_2_6917"
  },
  {
    "question": "What is Locate the copied files?",
    "answer": "V e r i f y   t h a t   a l l   g e n e r a t e d   f i l e s   h a v e   b e e n   c o p i e d   t o   y o u r   < w e b - b a s e > :   c d   < w e b - b a s e >   g i t   s t a t u s   T h e   o u t p u t   s h o u l d   i n c l u d e   t h e   m o d i f i e d   f i l e s :   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e c t l / k u b e c t l - c o m m a n d s . h t m l   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e c t l / n a v D a t a . j s   T h e   o u t p u t   m a y   a l s o   i n c l u d e :   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e c t l / s c r o l l . j s   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e c t l / s t y l e s h e e t . c s s   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e c t l / t a b v i s i b i l i t y . j s   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e c t l / n o d e _ m o d u l e s / b o o t s t r a p / d i s t / c s s / b o o t s t r a p . m i n . c s s   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e c t l / n o d e _ m o d u l e s / h i g h l i g h t . j s / s t y l e s / d e f a u l t . c s s   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e c t l / n o d e _ m o d u l e s / j q u e r y . s c r o l l t o / j q u e r y . s c r o l l T o . m i n . j s   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e c t l / n o d e _ m o d u l e s / j q u e r y / d i s t / j q u e r y . m i n . j s   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e c t l / n o d e _ m o d u l e s / f o n t - a w e s o m e / c s s / f o n t - a w e s o m e . m i n . c s s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubectl/",
    "id": "k8s_00366_section_2_6918"
  },
  {
    "question": "What is Locally test the documentation?",
    "answer": "B u i l d   t h e   K u b e r n e t e s   d o c u m e n t a t i o n   i n   y o u r   l o c a l   < w e b - b a s e > .   c d   < w e b - b a s e >   g i t   s u b m o d u l e   u p d a t e   - - i n i t   - - r e c u r s i v e   - - d e p t h   1   #   i f   n o t   a l r e a d y   d o n e   m a k e   c o n t a i n e r - s e r v e   V i e w   t h e   l o c a l   p r e v i e w .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubectl/",
    "id": "k8s_00366_section_2_6919"
  },
  {
    "question": "What is Add and commit changes in kubernetes/website?",
    "answer": "R u n   g i t   a d d   a n d   g i t   c o m m i t   t o   c o m m i t   t h e   f i l e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubectl/",
    "id": "k8s_00366_section_2_6920"
  },
  {
    "question": "What is Create a pull request?",
    "answer": "C r e a t e   a   p u l l   r e q u e s t   t o   t h e   k u b e r n e t e s / w e b s i t e   r e p o s i t o r y .   M o n i t o r   y o u r   p u l l   r e q u e s t ,   a n d   r e s p o n d   t o   r e v i e w   c o m m e n t s   a s   n e e d e d .   C o n t i n u e   t o   m o n i t o r   y o u r   p u l l   r e q u e s t   u n t i l   i t   i s   m e r g e d .   A   f e w   m i n u t e s   a f t e r   y o u r   p u l l   r e q u e s t   i s   m e r g e d ,   y o u r   u p d a t e d   r e f e r e n c e   t o p i c s   w i l l   b e   v i s i b l e   i n   t h e   p u b l i s h e d   d o c u m e n t a t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubectl/",
    "id": "k8s_00366_section_2_6921"
  },
  {
    "question": "What is What's next?",
    "answer": "G e n e r a t i n g   R e f e r e n c e   D o c u m e n t a t i o n   Q u i c k s t a r t G e n e r a t i n g   R e f e r e n c e   D o c u m e n t a t i o n   f o r   K u b e r n e t e s   C o m p o n e n t s   a n d   T o o l s G e n e r a t i n g   R e f e r e n c e   D o c u m e n t a t i o n   f o r   t h e   K u b e r n e t e s   A P I",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubectl/",
    "id": "k8s_00366_section_2_6922"
  },
  {
    "question": "What is Generate Certificates Manually?",
    "answer": "Generate Certificates ManuallyWhen using client certificate authentication, you can generate certificates manually through easyrsa, openssl or cfssl.easyrsaeasyrsa can manually generate certificates for your cluster.Download, unpack, and initialize the patched version of easyrsa3.curl -LO https://dl.k8s.io/easy-rsa/easy-rsa.tar.gz tar xzf easy-rsa.tar.gz cd easy-rsa-master/easyrsa3 ./easyrsa init-pki Generate a new certificate authority (CA). --batch sets automatic mode; --req-cn specifies the Common Name (CN) for the CA's new root certificate../easyrsa --batch \"--req-cn=${MASTER_IP}@`date +%s`\" build-ca nopass Generate server certificate and key.The argument --subject-alt-name sets the possible IPs and DNS names the API server will be accessed with. The MASTER_CLUSTER_IP is usually the first IP from the service CIDR that is specified as the --service-cluster-ip-range argument for both the API server and the controller manager component. The argument --days is used to set the number of days after which the certificate expires. The sample below also assumes that you are using cluster.local as the default DNS domain name../easyrsa --subject-alt-name=\"IP:${MASTER_IP},\"\\ \"IP:${MASTER_CLUSTER_IP},\"\\ \"DNS:kubernetes,\"\\ \"DNS:kubernetes.default,\"\\ \"DNS:kubernetes.default.svc,\"\\ \"DNS:kubernetes.default.svc.cluster,\"\\ \"DNS:kubernetes.default.svc.cluster.local\" \\ --days=10000 \\ build-server-full server nopass Copy pki/ca.crt, pki/issued/server.crt, and pki/private/server.key to your directory.Fill in and add the following parameters into the API server start parameters:--client-ca-file=/yourdirectory/ca.crt --tls-cert-file=/yourdirectory/server.crt --tls-private-key-file=/yourdirectory/server.key opensslopenssl can manually generate certificates for your cluster.Generate a ca.key with 2048bit:openssl genrsa -out ca.key 2048 According to the ca.key generate a ca.crt (use -days to set the certificate effective time):openssl req -x509 -new -nodes -key ca.key -subj \"/CN=${MASTER_IP}\" -days 10000 -out ca.crt Generate a server.key with 2048bit:openssl genrsa -out server.key 2048 Create a config file for generating a Certificate Signing Request (CSR).Be sure to substitute the values marked with angle brackets (e.g. <MASTER_IP>) with real values before saving this to a file (e.g. csr.conf). Note that the value for MASTER_CLUSTER_IP is the service cluster IP for the API server as described in previous subsection. The sample below also assumes that you are using cluster.local as the default DNS domain name.[ req ] default_bits = 2048 prompt = no default_md = sha256 req_extensions = req_ext distinguished_name = dn [ dn ] C = <country> ST = <state> L = <city> O = <organization> OU = <organization unit> CN = <MASTER_IP> [ req_ext ] subjectAltName = @alt_names [ alt_names ] DNS.1 = kubernetes DNS.2 = kubernetes.default DNS.3 = kubernetes.default.svc DNS.4 = kubernetes.default.svc.cluster DNS.5 = kubernetes.default.svc.cluster.local IP.1 = <MASTER_IP> IP.2 = <MASTER_CLUST",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/certificates/",
    "id": "k8s_00367_qa_6923"
  },
  {
    "question": "How does Generate Certificates Manually work?",
    "answer": "Generate Certificates ManuallyWhen using client certificate authentication, you can generate certificates manually through easyrsa, openssl or cfssl.easyrsaeasyrsa can manually generate certificates for your cluster.Download, unpack, and initialize the patched version of easyrsa3.curl -LO https://dl.k8s.io/easy-rsa/easy-rsa.tar.gz tar xzf easy-rsa.tar.gz cd easy-rsa-master/easyrsa3 ./easyrsa init-pki Generate a new certificate authority (CA). --batch sets automatic mode; --req-cn specifies the Common Name (CN) for the CA's new root certificate../easyrsa --batch \"--req-cn=${MASTER_IP}@`date +%s`\" build-ca nopass Generate server certificate and key.The argument --subject-alt-name sets the possible IPs and DNS names the API server will be accessed with. The MASTER_CLUSTER_IP is usually the first IP from the service CIDR that is specified as the --service-cluster-ip-range argument for both the API server and the controller manager component. The argument --days is used to set the number of days after which the certificate expires. The sample below also assumes that you are using cluster.local as the default DNS domain name../easyrsa --subject-alt-name=\"IP:${MASTER_IP},\"\\ \"IP:${MASTER_CLUSTER_IP},\"\\ \"DNS:kubernetes,\"\\ \"DNS:kubernetes.default,\"\\ \"DNS:kubernetes.default.svc,\"\\ \"DNS:kubernetes.default.svc.cluster,\"\\ \"DNS:kubernetes.default.svc.cluster.local\" \\ --days=10000 \\ build-server-full server nopass Copy pki/ca.crt, pki/issued/server.crt, and pki/private/server.key to your directory.Fill in and add the following parameters into the API server start parameters:--client-ca-file=/yourdirectory/ca.crt --tls-cert-file=/yourdirectory/server.crt --tls-private-key-file=/yourdirectory/server.key opensslopenssl can manually generate certificates for your cluster.Generate a ca.key with 2048bit:openssl genrsa -out ca.key 2048 According to the ca.key generate a ca.crt (use -days to set the certificate effective time):openssl req -x509 -new -nodes -key ca.key -subj \"/CN=${MASTER_IP}\" -days 10000 -out ca.crt Generate a server.key with 2048bit:openssl genrsa -out server.key 2048 Create a config file for generating a Certificate Signing Request (CSR).Be sure to substitute the values marked with angle brackets (e.g. <MASTER_IP>) with real values before saving this to a file (e.g. csr.conf). Note that the value for MASTER_CLUSTER_IP is the service cluster IP for the API server as described in previous subsection. The sample below also assumes that you are using cluster.local as the default DNS domain name.[ req ] default_bits = 2048 prompt = no default_md = sha256 req_extensions = req_ext distinguished_name = dn [ dn ] C = <country> ST = <state> L = <city> O = <organization> OU = <organization unit> CN = <MASTER_IP> [ req_ext ] subjectAltName = @alt_names [ alt_names ] DNS.1 = kubernetes DNS.2 = kubernetes.default DNS.3 = kubernetes.default.svc DNS.4 = kubernetes.default.svc.cluster DNS.5 = kubernetes.default.svc.cluster.local IP.1 = <MASTER_IP> IP.2 = <MASTER_CLUST",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/certificates/",
    "id": "k8s_00367_qa_6924"
  },
  {
    "question": "When would you use Generate Certificates Manually?",
    "answer": "Generate Certificates ManuallyWhen using client certificate authentication, you can generate certificates manually through easyrsa, openssl or cfssl.easyrsaeasyrsa can manually generate certificates for your cluster.Download, unpack, and initialize the patched version of easyrsa3.curl -LO https://dl.k8s.io/easy-rsa/easy-rsa.tar.gz tar xzf easy-rsa.tar.gz cd easy-rsa-master/easyrsa3 ./easyrsa init-pki Generate a new certificate authority (CA). --batch sets automatic mode; --req-cn specifies the Common Name (CN) for the CA's new root certificate../easyrsa --batch \"--req-cn=${MASTER_IP}@`date +%s`\" build-ca nopass Generate server certificate and key.The argument --subject-alt-name sets the possible IPs and DNS names the API server will be accessed with. The MASTER_CLUSTER_IP is usually the first IP from the service CIDR that is specified as the --service-cluster-ip-range argument for both the API server and the controller manager component. The argument --days is used to set the number of days after which the certificate expires. The sample below also assumes that you are using cluster.local as the default DNS domain name../easyrsa --subject-alt-name=\"IP:${MASTER_IP},\"\\ \"IP:${MASTER_CLUSTER_IP},\"\\ \"DNS:kubernetes,\"\\ \"DNS:kubernetes.default,\"\\ \"DNS:kubernetes.default.svc,\"\\ \"DNS:kubernetes.default.svc.cluster,\"\\ \"DNS:kubernetes.default.svc.cluster.local\" \\ --days=10000 \\ build-server-full server nopass Copy pki/ca.crt, pki/issued/server.crt, and pki/private/server.key to your directory.Fill in and add the following parameters into the API server start parameters:--client-ca-file=/yourdirectory/ca.crt --tls-cert-file=/yourdirectory/server.crt --tls-private-key-file=/yourdirectory/server.key opensslopenssl can manually generate certificates for your cluster.Generate a ca.key with 2048bit:openssl genrsa -out ca.key 2048 According to the ca.key generate a ca.crt (use -days to set the certificate effective time):openssl req -x509 -new -nodes -key ca.key -subj \"/CN=${MASTER_IP}\" -days 10000 -out ca.crt Generate a server.key with 2048bit:openssl genrsa -out server.key 2048 Create a config file for generating a Certificate Signing Request (CSR).Be sure to substitute the values marked with angle brackets (e.g. <MASTER_IP>) with real values before saving this to a file (e.g. csr.conf). Note that the value for MASTER_CLUSTER_IP is the service cluster IP for the API server as described in previous subsection. The sample below also assumes that you are using cluster.local as the default DNS domain name.[ req ] default_bits = 2048 prompt = no default_md = sha256 req_extensions = req_ext distinguished_name = dn [ dn ] C = <country> ST = <state> L = <city> O = <organization> OU = <organization unit> CN = <MASTER_IP> [ req_ext ] subjectAltName = @alt_names [ alt_names ] DNS.1 = kubernetes DNS.2 = kubernetes.default DNS.3 = kubernetes.default.svc DNS.4 = kubernetes.default.svc.cluster DNS.5 = kubernetes.default.svc.cluster.local IP.1 = <MASTER_IP> IP.2 = <MASTER_CLUST",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/certificates/",
    "id": "k8s_00367_qa_6925"
  },
  {
    "question": "What are the benefits of Generate Certificates Manually?",
    "answer": "Generate Certificates ManuallyWhen using client certificate authentication, you can generate certificates manually through easyrsa, openssl or cfssl.easyrsaeasyrsa can manually generate certificates for your cluster.Download, unpack, and initialize the patched version of easyrsa3.curl -LO https://dl.k8s.io/easy-rsa/easy-rsa.tar.gz tar xzf easy-rsa.tar.gz cd easy-rsa-master/easyrsa3 ./easyrsa init-pki Generate a new certificate authority (CA). --batch sets automatic mode; --req-cn specifies the Common Name (CN) for the CA's new root certificate../easyrsa --batch \"--req-cn=${MASTER_IP}@`date +%s`\" build-ca nopass Generate server certificate and key.The argument --subject-alt-name sets the possible IPs and DNS names the API server will be accessed with. The MASTER_CLUSTER_IP is usually the first IP from the service CIDR that is specified as the --service-cluster-ip-range argument for both the API server and the controller manager component. The argument --days is used to set the number of days after which the certificate expires. The sample below also assumes that you are using cluster.local as the default DNS domain name../easyrsa --subject-alt-name=\"IP:${MASTER_IP},\"\\ \"IP:${MASTER_CLUSTER_IP},\"\\ \"DNS:kubernetes,\"\\ \"DNS:kubernetes.default,\"\\ \"DNS:kubernetes.default.svc,\"\\ \"DNS:kubernetes.default.svc.cluster,\"\\ \"DNS:kubernetes.default.svc.cluster.local\" \\ --days=10000 \\ build-server-full server nopass Copy pki/ca.crt, pki/issued/server.crt, and pki/private/server.key to your directory.Fill in and add the following parameters into the API server start parameters:--client-ca-file=/yourdirectory/ca.crt --tls-cert-file=/yourdirectory/server.crt --tls-private-key-file=/yourdirectory/server.key opensslopenssl can manually generate certificates for your cluster.Generate a ca.key with 2048bit:openssl genrsa -out ca.key 2048 According to the ca.key generate a ca.crt (use -days to set the certificate effective time):openssl req -x509 -new -nodes -key ca.key -subj \"/CN=${MASTER_IP}\" -days 10000 -out ca.crt Generate a server.key with 2048bit:openssl genrsa -out server.key 2048 Create a config file for generating a Certificate Signing Request (CSR).Be sure to substitute the values marked with angle brackets (e.g. <MASTER_IP>) with real values before saving this to a file (e.g. csr.conf). Note that the value for MASTER_CLUSTER_IP is the service cluster IP for the API server as described in previous subsection. The sample below also assumes that you are using cluster.local as the default DNS domain name.[ req ] default_bits = 2048 prompt = no default_md = sha256 req_extensions = req_ext distinguished_name = dn [ dn ] C = <country> ST = <state> L = <city> O = <organization> OU = <organization unit> CN = <MASTER_IP> [ req_ext ] subjectAltName = @alt_names [ alt_names ] DNS.1 = kubernetes DNS.2 = kubernetes.default DNS.3 = kubernetes.default.svc DNS.4 = kubernetes.default.svc.cluster DNS.5 = kubernetes.default.svc.cluster.local IP.1 = <MASTER_IP> IP.2 = <MASTER_CLUST",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/certificates/",
    "id": "k8s_00367_qa_6926"
  },
  {
    "question": "What is Generate Certificates Manually?",
    "answer": "W h e n   u s i n g   c l i e n t   c e r t i f i c a t e   a u t h e n t i c a t i o n ,   y o u   c a n   g e n e r a t e   c e r t i f i c a t e s   m a n u a l l y   t h r o u g h   e a s y r s a ,   o p e n s s l   o r   c f s s l .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/certificates/",
    "id": "k8s_00367_section_1_6927"
  },
  {
    "question": "What is easyrsa?",
    "answer": "e a s y r s a   c a n   m a n u a l l y   g e n e r a t e   c e r t i f i c a t e s   f o r   y o u r   c l u s t e r .   D o w n l o a d ,   u n p a c k ,   a n d   i n i t i a l i z e   t h e   p a t c h e d   v e r s i o n   o f   e a s y r s a 3 . c u r l   - L O   h t t p s : / / d l . k 8 s . i o / e a s y - r s a / e a s y - r s a . t a r . g z   t a r   x z f   e a s y - r s a . t a r . g z   c d   e a s y - r s a - m a s t e r / e a s y r s a 3   . / e a s y r s a   i n i t - p k i   G e n e r a t e   a   n e w   c e r t i f i c a t e   a u t h o r i t y   ( C A ) .   - - b a t c h   s e t s   a u t o m a t i c   m o d e ;   - - r e q - c n   s p e c i f i e s   t h e   C o m m o n   N a m e   ( C N )   f o r   t h e   C A ' s   n e w   r o o t   c e r t i f i c a t e . . / e a s y r s a   - - b a t c h   \" - - r e q - c n = $ { M A S T E R _ I P } @ ` d a t e   + % s ` \"   b u i l d - c a   n o p a s s   G e n e r a t e   s e r v e r   c e r t i f i c a t e   a n d   k e y . T h e   a r g u m e n t   - - s u b j e c t - a l t - n a m e   s e t s   t h e   p o s s i b l e   I P s   a n d   D N S   n a m e s   t h e   A P I   s e r v e r   w i l l   b e   a c c e s s e d   w i t h .   T h e   M A S T E R _ C L U S T E R _ I P   i s   u s u a l l y   t h e   f i r s t   I P   f r o m   t h e   s e r v i c e   C I D R   t h a t   i s   s p e c i f i e d   a s   t h e   - - s e r v i c e - c l u s t e r - i p - r a n g e   a r g u m e n t   f o r   b o t h   t h e   A P I   s e r v e r   a n d   t h e   c o n t r o l l e r   m a n a g e r   c o m p o n e n t .   T h e   a r g u m e n t   - - d a y s   i s   u s e d   t o   s e t   t h e   n u m b e r   o f   d a y s   a f t e r   w h i c h   t h e   c e r t i f i c a t e   e x p i r e s .   T h e   s a m p l e   b e l o w   a l s o   a s s u m e s   t h a t   y o u   a r e   u s i n g   c l u s t e r . l o c a l   a s   t h e   d e f a u l t   D N S   d o m a i n   n a m e . . / e a s y r s a   - - s u b j e c ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/certificates/",
    "id": "k8s_00367_section_3_6928"
  },
  {
    "question": "What is openssl?",
    "answer": "o p e n s s l   c a n   m a n u a l l y   g e n e r a t e   c e r t i f i c a t e s   f o r   y o u r   c l u s t e r .   G e n e r a t e   a   c a . k e y   w i t h   2 0 4 8 b i t : o p e n s s l   g e n r s a   - o u t   c a . k e y   2 0 4 8   A c c o r d i n g   t o   t h e   c a . k e y   g e n e r a t e   a   c a . c r t   ( u s e   - d a y s   t o   s e t   t h e   c e r t i f i c a t e   e f f e c t i v e   t i m e ) : o p e n s s l   r e q   - x 5 0 9   - n e w   - n o d e s   - k e y   c a . k e y   - s u b j   \" / C N = $ { M A S T E R _ I P } \"   - d a y s   1 0 0 0 0   - o u t   c a . c r t   G e n e r a t e   a   s e r v e r . k e y   w i t h   2 0 4 8 b i t : o p e n s s l   g e n r s a   - o u t   s e r v e r . k e y   2 0 4 8   C r e a t e   a   c o n f i g   f i l e   f o r   g e n e r a t i n g   a   C e r t i f i c a t e   S i g n i n g   R e q u e s t   ( C S R ) . B e   s u r e   t o   s u b s t i t u t e   t h e   v a l u e s   m a r k e d   w i t h   a n g l e   b r a c k e t s   ( e . g .   < M A S T E R _ I P > )   w i t h   r e a l   v a l u e s   b e f o r e   s a v i n g   t h i s   t o   a   f i l e   ( e . g .   c s r . c o n f ) .   N o t e   t h a t   t h e   v a l u e   f o r   M A S T E R _ C L U S T E R _ I P   i s   t h e   s e r v i c e   c l u s t e r   I P   f o r   t h e   A P I   s e r v e r   a s   d e s c r i b e d   i n   p r e v i o u s   s u b s e c t i o n .   T h e   s a m p l e   b e l o w   a l s o   a s s u m e s   t h a t   y o u   a r e   u s i n g   c l u s t e r . l o c a l   a s   t h e   d e f a u l t   D N S   d o m a i n   n a m e . [   r e q   ]   d e f a u l t _ b i t s   =   2 0 4 8   p r o m p t   =   n o   d e f a u l t _ m d   =   s h a 2 5 6   r e q _ e x t e n s i o n s   =   r e q _ e x t   d i s t i n g u i s h e d _ n a m e   =   d n   [   d n   ]   C   =   < c o u n t r y >   S T   =   < s t a t e >   L   =   < c i t y >   O   =   < o r g a n i z a t i o n >   O U   =   < o r g a n i z a t i o ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/certificates/",
    "id": "k8s_00367_section_3_6929"
  },
  {
    "question": "What is cfssl?",
    "answer": "c f s s l   i s   a n o t h e r   t o o l   f o r   c e r t i f i c a t e   g e n e r a t i o n .   D o w n l o a d ,   u n p a c k   a n d   p r e p a r e   t h e   c o m m a n d   l i n e   t o o l s   a s   s h o w n   b e l o w . N o t e   t h a t   y o u   m a y   n e e d   t o   a d a p t   t h e   s a m p l e   c o m m a n d s   b a s e d   o n   t h e   h a r d w a r e   a r c h i t e c t u r e   a n d   c f s s l   v e r s i o n   y o u   a r e   u s i n g . c u r l   - L   h t t p s : / / g i t h u b . c o m / c l o u d f l a r e / c f s s l / r e l e a s e s / d o w n l o a d / v 1 . 5 . 0 / c f s s l _ 1 . 5 . 0 _ l i n u x _ a m d 6 4   - o   c f s s l   c h m o d   + x   c f s s l   c u r l   - L   h t t p s : / / g i t h u b . c o m / c l o u d f l a r e / c f s s l / r e l e a s e s / d o w n l o a d / v 1 . 5 . 0 / c f s s l j s o n _ 1 . 5 . 0 _ l i n u x _ a m d 6 4   - o   c f s s l j s o n   c h m o d   + x   c f s s l j s o n   c u r l   - L   h t t p s : / / g i t h u b . c o m / c l o u d f l a r e / c f s s l / r e l e a s e s / d o w n l o a d / v 1 . 5 . 0 / c f s s l - c e r t i n f o _ 1 . 5 . 0 _ l i n u x _ a m d 6 4   - o   c f s s l - c e r t i n f o   c h m o d   + x   c f s s l - c e r t i n f o   C r e a t e   a   d i r e c t o r y   t o   h o l d   t h e   a r t i f a c t s   a n d   i n i t i a l i z e   c f s s l : m k d i r   c e r t   c d   c e r t   . . / c f s s l   p r i n t - d e f a u l t s   c o n f i g   >   c o n f i g . j s o n   . . / c f s s l   p r i n t - d e f a u l t s   c s r   >   c s r . j s o n   C r e a t e   a   J S O N   c o n f i g   f i l e   f o r   g e n e r a t i n g   t h e   C A   f i l e ,   f o r   e x a m p l e ,   c a - c o n f i g . j s o n : {   \" s i g n i n g \" :   {   \" d e f a u l t \" :   {   \" e x p i r y \" :   \" 8 7 6 0 h \"   } ,   \" p r o f i l e s \" :   {   \" k u b e r n e t e s \" :   {   \" u s a g e s \" :   [   \" s i g n i n g \" ,   \" k e y   e n c i p h e r m e n t \" ,   \" s e r v ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/certificates/",
    "id": "k8s_00367_section_3_6930"
  },
  {
    "question": "What is Distributing Self-Signed CA Certificate?",
    "answer": "A   c l i e n t   n o d e   m a y   r e f u s e   t o   r e c o g n i z e   a   s e l f - s i g n e d   C A   c e r t i f i c a t e   a s   v a l i d .   F o r   a   n o n - p r o d u c t i o n   d e p l o y m e n t ,   o r   f o r   a   d e p l o y m e n t   t h a t   r u n s   b e h i n d   a   c o m p a n y   f i r e w a l l ,   y o u   c a n   d i s t r i b u t e   a   s e l f - s i g n e d   C A   c e r t i f i c a t e   t o   a l l   c l i e n t s   a n d   r e f r e s h   t h e   l o c a l   l i s t   f o r   v a l i d   c e r t i f i c a t e s .   O n   e a c h   c l i e n t ,   p e r f o r m   t h e   f o l l o w i n g   o p e r a t i o n s :   s u d o   c p   c a . c r t   / u s r / l o c a l / s h a r e / c a - c e r t i f i c a t e s / k u b e r n e t e s . c r t   s u d o   u p d a t e - c a - c e r t i f i c a t e s   U p d a t i n g   c e r t i f i c a t e s   i n   / e t c / s s l / c e r t s . . .   1   a d d e d ,   0   r e m o v e d ;   d o n e .   R u n n i n g   h o o k s   i n   / e t c / c a - c e r t i f i c a t e s / u p d a t e . d . . . .   d o n e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/certificates/",
    "id": "k8s_00367_section_2_6931"
  },
  {
    "question": "What is Certificates API?",
    "answer": "Y o u   c a n   u s e   t h e   c e r t i f i c a t e s . k 8 s . i o   A P I   t o   p r o v i s i o n   x 5 0 9   c e r t i f i c a t e s   t o   u s e   f o r   a u t h e n t i c a t i o n   a s   d o c u m e n t e d   i n   t h e   M a n a g i n g   T L S   i n   a   c l u s t e r   t a s k   p a g e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/certificates/",
    "id": "k8s_00367_section_2_6932"
  },
  {
    "question": "What is Create static Pods?",
    "answer": "Create static PodsStatic Pods are managed directly by the kubelet daemon on a specific node, without the API server observing them. Unlike Pods that are managed by the control plane (for example, a Deployment); instead, the kubelet watches each static Pod (and restarts it if it fails).Static Pods are always bound to one Kubelet on a specific node.The kubelet automatically tries to create a mirror Pod on the Kubernetes API server for each static Pod. This means that the Pods running on a node are visible on the API server, but cannot be controlled from there. The Pod names will be suffixed with the node hostname with a leading hyphen.Note:If you are running clustered Kubernetes and are using static Pods to run a Pod on every node, you should probably be using a DaemonSet instead.Note:The spec of a static Pod cannot refer to other API objects (e.g., ServiceAccount, ConfigMap, Secret, etc).Note:Static pods do not support ephemeral containers.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.This page assumes you're using CRI-O to run Pods, and that your nodes are running the Fedora operating system. Instructions for other distributions or Kubernetes installations may vary.Create a static podYou can configure a static Pod with either a file system hosted configuration file or a web hosted configuration file.Filesystem-hosted static Pod manifestManifests are standard Pod definitions in JSON or YAML format in a specific directory. Use the staticPodPath: <the directory> field in the kubelet configuration file, which periodically scans the directory and creates/deletes static Pods as YAML/JSON files appear/disappear there. Note that the kubelet will ignore files starting with dots when scanning the specified directory.For example, this is how to start a simple web server as a static Pod:Choose a node where you want to run the static Pod. In this example, it's my-node1.ssh my-node1 Choose a directory, say /etc/kubernetes/manifests and place a web server Pod definition there, for example /etc/kubernetes/manifests/static-web.yaml:# Run this command on the node where kubelet is running mkdir -p /etc/kubernetes/manifests/ cat <<EOF >/etc/kubernetes/manifests/static-web.yaml apiVersion: v1 kind: Pod metadata: name: static-web labels: role: myrole spec: containers: - name: web image: nginx ports: - name: web containerPort: 80 protocol: TCP EOF Configure the kubelet on that node to set a staticPodPath value in the kubelet configuration file.See Set Kubelet Parameters Via A Configuration File for more information.An alternative and deprec",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/static-pod/",
    "id": "k8s_00368_qa_6933"
  },
  {
    "question": "How does Create static Pods work?",
    "answer": "Create static PodsStatic Pods are managed directly by the kubelet daemon on a specific node, without the API server observing them. Unlike Pods that are managed by the control plane (for example, a Deployment); instead, the kubelet watches each static Pod (and restarts it if it fails).Static Pods are always bound to one Kubelet on a specific node.The kubelet automatically tries to create a mirror Pod on the Kubernetes API server for each static Pod. This means that the Pods running on a node are visible on the API server, but cannot be controlled from there. The Pod names will be suffixed with the node hostname with a leading hyphen.Note:If you are running clustered Kubernetes and are using static Pods to run a Pod on every node, you should probably be using a DaemonSet instead.Note:The spec of a static Pod cannot refer to other API objects (e.g., ServiceAccount, ConfigMap, Secret, etc).Note:Static pods do not support ephemeral containers.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.This page assumes you're using CRI-O to run Pods, and that your nodes are running the Fedora operating system. Instructions for other distributions or Kubernetes installations may vary.Create a static podYou can configure a static Pod with either a file system hosted configuration file or a web hosted configuration file.Filesystem-hosted static Pod manifestManifests are standard Pod definitions in JSON or YAML format in a specific directory. Use the staticPodPath: <the directory> field in the kubelet configuration file, which periodically scans the directory and creates/deletes static Pods as YAML/JSON files appear/disappear there. Note that the kubelet will ignore files starting with dots when scanning the specified directory.For example, this is how to start a simple web server as a static Pod:Choose a node where you want to run the static Pod. In this example, it's my-node1.ssh my-node1 Choose a directory, say /etc/kubernetes/manifests and place a web server Pod definition there, for example /etc/kubernetes/manifests/static-web.yaml:# Run this command on the node where kubelet is running mkdir -p /etc/kubernetes/manifests/ cat <<EOF >/etc/kubernetes/manifests/static-web.yaml apiVersion: v1 kind: Pod metadata: name: static-web labels: role: myrole spec: containers: - name: web image: nginx ports: - name: web containerPort: 80 protocol: TCP EOF Configure the kubelet on that node to set a staticPodPath value in the kubelet configuration file.See Set Kubelet Parameters Via A Configuration File for more information.An alternative and deprec",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/static-pod/",
    "id": "k8s_00368_qa_6934"
  },
  {
    "question": "When would you use Create static Pods?",
    "answer": "Create static PodsStatic Pods are managed directly by the kubelet daemon on a specific node, without the API server observing them. Unlike Pods that are managed by the control plane (for example, a Deployment); instead, the kubelet watches each static Pod (and restarts it if it fails).Static Pods are always bound to one Kubelet on a specific node.The kubelet automatically tries to create a mirror Pod on the Kubernetes API server for each static Pod. This means that the Pods running on a node are visible on the API server, but cannot be controlled from there. The Pod names will be suffixed with the node hostname with a leading hyphen.Note:If you are running clustered Kubernetes and are using static Pods to run a Pod on every node, you should probably be using a DaemonSet instead.Note:The spec of a static Pod cannot refer to other API objects (e.g., ServiceAccount, ConfigMap, Secret, etc).Note:Static pods do not support ephemeral containers.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.This page assumes you're using CRI-O to run Pods, and that your nodes are running the Fedora operating system. Instructions for other distributions or Kubernetes installations may vary.Create a static podYou can configure a static Pod with either a file system hosted configuration file or a web hosted configuration file.Filesystem-hosted static Pod manifestManifests are standard Pod definitions in JSON or YAML format in a specific directory. Use the staticPodPath: <the directory> field in the kubelet configuration file, which periodically scans the directory and creates/deletes static Pods as YAML/JSON files appear/disappear there. Note that the kubelet will ignore files starting with dots when scanning the specified directory.For example, this is how to start a simple web server as a static Pod:Choose a node where you want to run the static Pod. In this example, it's my-node1.ssh my-node1 Choose a directory, say /etc/kubernetes/manifests and place a web server Pod definition there, for example /etc/kubernetes/manifests/static-web.yaml:# Run this command on the node where kubelet is running mkdir -p /etc/kubernetes/manifests/ cat <<EOF >/etc/kubernetes/manifests/static-web.yaml apiVersion: v1 kind: Pod metadata: name: static-web labels: role: myrole spec: containers: - name: web image: nginx ports: - name: web containerPort: 80 protocol: TCP EOF Configure the kubelet on that node to set a staticPodPath value in the kubelet configuration file.See Set Kubelet Parameters Via A Configuration File for more information.An alternative and deprec",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/static-pod/",
    "id": "k8s_00368_qa_6935"
  },
  {
    "question": "What are the benefits of Create static Pods?",
    "answer": "Create static PodsStatic Pods are managed directly by the kubelet daemon on a specific node, without the API server observing them. Unlike Pods that are managed by the control plane (for example, a Deployment); instead, the kubelet watches each static Pod (and restarts it if it fails).Static Pods are always bound to one Kubelet on a specific node.The kubelet automatically tries to create a mirror Pod on the Kubernetes API server for each static Pod. This means that the Pods running on a node are visible on the API server, but cannot be controlled from there. The Pod names will be suffixed with the node hostname with a leading hyphen.Note:If you are running clustered Kubernetes and are using static Pods to run a Pod on every node, you should probably be using a DaemonSet instead.Note:The spec of a static Pod cannot refer to other API objects (e.g., ServiceAccount, ConfigMap, Secret, etc).Note:Static pods do not support ephemeral containers.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.This page assumes you're using CRI-O to run Pods, and that your nodes are running the Fedora operating system. Instructions for other distributions or Kubernetes installations may vary.Create a static podYou can configure a static Pod with either a file system hosted configuration file or a web hosted configuration file.Filesystem-hosted static Pod manifestManifests are standard Pod definitions in JSON or YAML format in a specific directory. Use the staticPodPath: <the directory> field in the kubelet configuration file, which periodically scans the directory and creates/deletes static Pods as YAML/JSON files appear/disappear there. Note that the kubelet will ignore files starting with dots when scanning the specified directory.For example, this is how to start a simple web server as a static Pod:Choose a node where you want to run the static Pod. In this example, it's my-node1.ssh my-node1 Choose a directory, say /etc/kubernetes/manifests and place a web server Pod definition there, for example /etc/kubernetes/manifests/static-web.yaml:# Run this command on the node where kubelet is running mkdir -p /etc/kubernetes/manifests/ cat <<EOF >/etc/kubernetes/manifests/static-web.yaml apiVersion: v1 kind: Pod metadata: name: static-web labels: role: myrole spec: containers: - name: web image: nginx ports: - name: web containerPort: 80 protocol: TCP EOF Configure the kubelet on that node to set a staticPodPath value in the kubelet configuration file.See Set Kubelet Parameters Via A Configuration File for more information.An alternative and deprec",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/static-pod/",
    "id": "k8s_00368_qa_6936"
  },
  {
    "question": "What is Create static Pods?",
    "answer": "S t a t i c   P o d s   a r e   m a n a g e d   d i r e c t l y   b y   t h e   k u b e l e t   d a e m o n   o n   a   s p e c i f i c   n o d e ,   w i t h o u t   t h e   A P I   s e r v e r   o b s e r v i n g   t h e m .   U n l i k e   P o d s   t h a t   a r e   m a n a g e d   b y   t h e   c o n t r o l   p l a n e   ( f o r   e x a m p l e ,   a   D e p l o y m e n t ) ;   i n s t e a d ,   t h e   k u b e l e t   w a t c h e s   e a c h   s t a t i c   P o d   ( a n d   r e s t a r t s   i t   i f   i t   f a i l s ) .   S t a t i c   P o d s   a r e   a l w a y s   b o u n d   t o   o n e   K u b e l e t   o n   a   s p e c i f i c   n o d e .   T h e   k u b e l e t   a u t o m a t i c a l l y   t r i e s   t o   c r e a t e   a   m i r r o r   P o d   o n   t h e   K u b e r n e t e s   A P I   s e r v e r   f o r   e a c h   s t a t i c   P o d .   T h i s   m e a n s   t h a t   t h e   P o d s   r u n n i n g   o n   a   n o d e   a r e   v i s i b l e   o n   t h e   A P I   s e r v e r ,   b u t   c a n n o t   b e   c o n t r o l l e d   f r o m   t h e r e .   T h e   P o d   n a m e s   w i l l   b e   s u f f i x e d   w i t h   t h e   n o d e   h o s t n a m e   w i t h   a   l e a d i n g   h y p h e n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/static-pod/",
    "id": "k8s_00368_section_1_6937"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   T h i s   p a g e   a s s u m e s   y o u ' r e   u s i n g   C R I - O   t o   r u n   P o d s ,   a n d   t h a t   y o u ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/static-pod/",
    "id": "k8s_00368_section_2_6938"
  },
  {
    "question": "What is Create a static pod?",
    "answer": "Y o u   c a n   c o n f i g u r e   a   s t a t i c   P o d   w i t h   e i t h e r   a   f i l e   s y s t e m   h o s t e d   c o n f i g u r a t i o n   f i l e   o r   a   w e b   h o s t e d   c o n f i g u r a t i o n   f i l e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/static-pod/",
    "id": "k8s_00368_section_2_6939"
  },
  {
    "question": "What is Filesystem-hosted static Pod manifest?",
    "answer": "M a n i f e s t s   a r e   s t a n d a r d   P o d   d e f i n i t i o n s   i n   J S O N   o r   Y A M L   f o r m a t   i n   a   s p e c i f i c   d i r e c t o r y .   U s e   t h e   s t a t i c P o d P a t h :   < t h e   d i r e c t o r y >   f i e l d   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e ,   w h i c h   p e r i o d i c a l l y   s c a n s   t h e   d i r e c t o r y   a n d   c r e a t e s / d e l e t e s   s t a t i c   P o d s   a s   Y A M L / J S O N   f i l e s   a p p e a r / d i s a p p e a r   t h e r e .   N o t e   t h a t   t h e   k u b e l e t   w i l l   i g n o r e   f i l e s   s t a r t i n g   w i t h   d o t s   w h e n   s c a n n i n g   t h e   s p e c i f i e d   d i r e c t o r y .   F o r   e x a m p l e ,   t h i s   i s   h o w   t o   s t a r t   a   s i m p l e   w e b   s e r v e r   a s   a   s t a t i c   P o d :   C h o o s e   a   n o d e   w h e r e   y o u   w a n t   t o   r u n   t h e   s t a t i c   P o d .   I n   t h i s   e x a m p l e ,   i t ' s   m y - n o d e 1 . s s h   m y - n o d e 1   C h o o s e   a   d i r e c t o r y ,   s a y   / e t c / k u b e r n e t e s / m a n i f e s t s   a n d   p l a c e   a   w e b   s e r v e r   P o d   d e f i n i t i o n   t h e r e ,   f o r   e x a m p l e   / e t c / k u b e r n e t e s / m a n i f e s t s / s t a t i c - w e b . y a m l : #   R u n   t h i s   c o m m a n d   o n   t h e   n o d e   w h e r e   k u b e l e t   i s   r u n n i n g   m k d i r   - p   / e t c / k u b e r n e t e s / m a n i f e s t s /   c a t   < < E O F   > / e t c / k u b e r n e t e s / m a n i f e s t s / s t a t i c - w e b . y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s t a t i c - w e b   l a b e l s :   r o l e :   m y r o l e   s p e c :   c o n t a i n e r s :   -   n a m e :   w e b   i m a g e :   n g i n x   p o r t s :   -   n a m e :   w e b   c o n t a i n e r P o r t :   8 0   p r o t o c o ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/static-pod/",
    "id": "k8s_00368_section_3_6940"
  },
  {
    "question": "What is Web-hosted static pod manifest?",
    "answer": "K u b e l e t   p e r i o d i c a l l y   d o w n l o a d s   a   f i l e   s p e c i f i e d   b y   - - m a n i f e s t - u r l = < U R L >   a r g u m e n t   a n d   i n t e r p r e t s   i t   a s   a   J S O N / Y A M L   f i l e   t h a t   c o n t a i n s   P o d   d e f i n i t i o n s .   S i m i l a r   t o   h o w   f i l e s y s t e m - h o s t e d   m a n i f e s t s   w o r k ,   t h e   k u b e l e t   r e f e t c h e s   t h e   m a n i f e s t   o n   a   s c h e d u l e .   I f   t h e r e   a r e   c h a n g e s   t o   t h e   l i s t   o f   s t a t i c   P o d s ,   t h e   k u b e l e t   a p p l i e s   t h e m .   T o   u s e   t h i s   a p p r o a c h :   C r e a t e   a   Y A M L   f i l e   a n d   s t o r e   i t   o n   a   w e b   s e r v e r   s o   t h a t   y o u   c a n   p a s s   t h e   U R L   o f   t h a t   f i l e   t o   t h e   k u b e l e t . a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s t a t i c - w e b   l a b e l s :   r o l e :   m y r o l e   s p e c :   c o n t a i n e r s :   -   n a m e :   w e b   i m a g e :   n g i n x   p o r t s :   -   n a m e :   w e b   c o n t a i n e r P o r t :   8 0   p r o t o c o l :   T C P   C o n f i g u r e   t h e   k u b e l e t   o n   y o u r   s e l e c t e d   n o d e   t o   u s e   t h i s   w e b   m a n i f e s t   b y   r u n n i n g   i t   w i t h   - - m a n i f e s t - u r l = < m a n i f e s t - u r l > .   O n   F e d o r a ,   e d i t   / e t c / k u b e r n e t e s / k u b e l e t   t o   i n c l u d e   t h i s   l i n e : K U B E L E T _ A R G S = \" - - c l u s t e r - d n s = 1 0 . 2 5 4 . 0 . 1 0   - - c l u s t e r - d o m a i n = k u b e . l o c a l   - - m a n i f e s t - u r l = < m a n i f e s t - u r l > \"   R e s t a r t   t h e   k u b e l e t .   O n   F e d o r a ,   y o u   w o u l d   r u n : #   R u n   t h i s   c o m m a n d   o n   t h e   n o d e   w h e r e   t h e   k u b e l e t   i s   r u n n i ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/static-pod/",
    "id": "k8s_00368_section_3_6941"
  },
  {
    "question": "What is Observe static pod behavior?",
    "answer": "W h e n   t h e   k u b e l e t   s t a r t s ,   i t   a u t o m a t i c a l l y   s t a r t s   a l l   d e f i n e d   s t a t i c   P o d s .   A s   y o u   h a v e   d e f i n e d   a   s t a t i c   P o d   a n d   r e s t a r t e d   t h e   k u b e l e t ,   t h e   n e w   s t a t i c   P o d   s h o u l d   a l r e a d y   b e   r u n n i n g .   Y o u   c a n   v i e w   r u n n i n g   c o n t a i n e r s   ( i n c l u d i n g   s t a t i c   P o d s )   b y   r u n n i n g   ( o n   t h e   n o d e ) :   #   R u n   t h i s   c o m m a n d   o n   t h e   n o d e   w h e r e   t h e   k u b e l e t   i s   r u n n i n g   c r i c t l   p s   T h e   o u t p u t   m i g h t   b e   s o m e t h i n g   l i k e :   C O N T A I N E R   I M A G E   C R E A T E D   S T A T E   N A M E   A T T E M P T   P O D   I D   1 2 9 f d 7 d 3 8 2 0 1 8   d o c k e r . i o / l i b r a r y / n g i n x @ s h a 2 5 6 : . . .   1 1   m i n u t e s   a g o   R u n n i n g   w e b   0   3 4 5 3 3 c 6 7 2 9 1 0 6",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/static-pod/",
    "id": "k8s_00368_section_2_6942"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   s e e   t h e   m i r r o r   P o d   o n   t h e   A P I   s e r v e r :   k u b e c t l   g e t   p o d s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   s t a t i c - w e b - m y - n o d e 1   1 / 1   R u n n i n g   0   2 m",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/static-pod/",
    "id": "k8s_00368_section_4_6943"
  },
  {
    "question": "What is Note:?",
    "answer": "L a b e l s   f r o m   t h e   s t a t i c   P o d   a r e   p r o p a g a t e d   i n t o   t h e   m i r r o r   P o d .   Y o u   c a n   u s e   t h o s e   l a b e l s   a s   n o r m a l   v i a   s e l e c t o r s ,   e t c .   I f   y o u   t r y   t o   u s e   k u b e c t l   t o   d e l e t e   t h e   m i r r o r   P o d   f r o m   t h e   A P I   s e r v e r ,   t h e   k u b e l e t   d o e s n ' t   r e m o v e   t h e   s t a t i c   P o d :   k u b e c t l   d e l e t e   p o d   s t a t i c - w e b - m y - n o d e 1   p o d   \" s t a t i c - w e b - m y - n o d e 1 \"   d e l e t e d   Y o u   c a n   s e e   t h a t   t h e   P o d   i s   s t i l l   r u n n i n g :   k u b e c t l   g e t   p o d s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   s t a t i c - w e b - m y - n o d e 1   1 / 1   R u n n i n g   0   4 s   B a c k   o n   y o u r   n o d e   w h e r e   t h e   k u b e l e t   i s   r u n n i n g ,   y o u   c a n   t r y   t o   s t o p   t h e   c o n t a i n e r   m a n u a l l y .   Y o u ' l l   s e e   t h a t ,   a f t e r   a   t i m e ,   t h e   k u b e l e t   w i l l   n o t i c e   a n d   w i l l   r e s t a r t   t h e   P o d   a u t o m a t i c a l l y :   #   R u n   t h e s e   c o m m a n d s   o n   t h e   n o d e   w h e r e   t h e   k u b e l e t   i s   r u n n i n g   c r i c t l   s t o p   1 2 9 f d 7 d 3 8 2 0 1 8   #   r e p l a c e   w i t h   t h e   I D   o f   y o u r   c o n t a i n e r   s l e e p   2 0   c r i c t l   p s   C O N T A I N E R   I M A G E   C R E A T E D   S T A T E   N A M E   A T T E M P T   P O D   I D   8 9 d b 4 5 5 3 e 1 e e b   d o c k e r . i o / l i b r a r y / n g i n x @ s h a 2 5 6 : . . .   1 9   s e c o n d s   a g o   R u n n i n g   w e b   1   3 4 5 3 3 c 6 7 2 9 1 0 6   O n c e   y o u   i d e n t i f y   t h e   r i g h t   c o n t a i n e r ,   y o u   c a n   g e t   t h e   l o g s   f o r   t h a t   c o n t a i n e r   w i t h   c r i c t l ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/static-pod/",
    "id": "k8s_00368_section_4_6944"
  },
  {
    "question": "What is Dynamic addition and removal of static pods?",
    "answer": "T h e   r u n n i n g   k u b e l e t   p e r i o d i c a l l y   s c a n s   t h e   c o n f i g u r e d   d i r e c t o r y   ( / e t c / k u b e r n e t e s / m a n i f e s t s   i n   o u r   e x a m p l e )   f o r   c h a n g e s   a n d   a d d s / r e m o v e s   P o d s   a s   f i l e s   a p p e a r / d i s a p p e a r   i n   t h i s   d i r e c t o r y .   #   T h i s   a s s u m e s   y o u   a r e   u s i n g   f i l e s y s t e m - h o s t e d   s t a t i c   P o d   c o n f i g u r a t i o n   #   R u n   t h e s e   c o m m a n d s   o n   t h e   n o d e   w h e r e   t h e   c o n t a i n e r   i s   r u n n i n g   #   m v   / e t c / k u b e r n e t e s / m a n i f e s t s / s t a t i c - w e b . y a m l   / t m p   s l e e p   2 0   c r i c t l   p s   #   Y o u   s e e   t h a t   n o   n g i n x   c o n t a i n e r   i s   r u n n i n g   m v   / t m p / s t a t i c - w e b . y a m l   / e t c / k u b e r n e t e s / m a n i f e s t s /   s l e e p   2 0   c r i c t l   p s   C O N T A I N E R   I M A G E   C R E A T E D   S T A T E   N A M E   A T T E M P T   P O D   I D   f 4 2 7 6 3 8 8 7 1 c 3 5   d o c k e r . i o / l i b r a r y / n g i n x @ s h a 2 5 6 : . . .   1 9   s e c o n d s   a g o   R u n n i n g   w e b   1   3 4 5 3 3 c 6 7 2 9 1 0 6",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/static-pod/",
    "id": "k8s_00368_section_2_6945"
  },
  {
    "question": "What is What's next?",
    "answer": "G e n e r a t e   s t a t i c   P o d   m a n i f e s t s   f o r   c o n t r o l   p l a n e   c o m p o n e n t s G e n e r a t e   s t a t i c   P o d   m a n i f e s t   f o r   l o c a l   e t c d D e b u g g i n g   K u b e r n e t e s   n o d e s   w i t h   c r i c t l L e a r n   m o r e   a b o u t   c r i c t l . M a p   d o c k e r   C L I   c o m m a n d s   t o   c r i c t l . S e t   u p   e t c d   i n s t a n c e s   a s   s t a t i c   p o d s   m a n a g e d   b y   a   k u b e l e t",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/static-pod/",
    "id": "k8s_00368_section_2_6946"
  },
  {
    "question": "What is Updating Configuration via a ConfigMap?",
    "answer": "Updating Configuration via a ConfigMapThis page provides a step-by-step example of updating configuration within a Pod via a ConfigMap and builds upon the Configure a Pod to Use a ConfigMap task.At the end of this tutorial, you will understand how to change the configuration for a running application.This tutorial uses the alpine and nginx images as examples.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou need to have the curl command-line tool for making HTTP requests from the terminal or command prompt. If you do not have curl available, you can install it. Check the documentation for your local operating system.ObjectivesUpdate configuration via a ConfigMap mounted as a VolumeUpdate environment variables of a Pod via a ConfigMapUpdate configuration via a ConfigMap in a multi-container PodUpdate configuration via a ConfigMap in a Pod possessing a Sidecar ContainerUpdate configuration via a ConfigMap mounted as a VolumeUse the kubectl create configmap command to create a ConfigMap from literal values:kubectl create configmap sport --from-literal=sport=football Below is an example of a Deployment manifest with the ConfigMap sport mounted as a volume into the Pod's only container.deployments/deployment-with-configmap-as-volume.yaml apiVersion: apps/v1 kind: Deployment metadata: name: configmap-volume labels: app.kubernetes.io/name: configmap-volume spec: replicas: 3 selector: matchLabels: app.kubernetes.io/name: configmap-volume template: metadata: labels: app.kubernetes.io/name: configmap-volume spec: containers: - name: alpine image: alpine:3 command: - /bin/sh - -c - while true; do echo \"$(date) My preferred sport is $(cat /etc/config/sport)\"; sleep 10; done; ports: - containerPort: 80 volumeMounts: - name: config-volume mountPath: /etc/config volumes: - name: config-volume configMap: name: sportCreate the Deployment:kubectl apply -f https://k8s.io/examples/deployments/deployment-with-configmap-as-volume.yaml Check the pods for this Deployment to ensure they are ready (matching by selector):kubectl get pods --selector=app.kubernetes.io/name=configmap-volume You should see an output similar to:NAME READY STATUS RESTARTS AGE configmap-volume-6b976dfdcf-qxvbm 1/1 Running 0 72s configmap-volume-6b976dfdcf-skpvm 1/1 Running 0 72s configmap-volume-6b976dfdcf-tbc6r 1/1 Running 0 72s On each node where one of these Pods is running, the kubelet fetches the data for that ConfigMap and translates it to files in a local volume. The kubelet then mounts that volume into the container, as specified in the Pod template. The code running in that container loads the informat",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/updating-configuration-via-a-configmap/",
    "id": "k8s_00369_qa_6947"
  },
  {
    "question": "How does Updating Configuration via a ConfigMap work?",
    "answer": "Updating Configuration via a ConfigMapThis page provides a step-by-step example of updating configuration within a Pod via a ConfigMap and builds upon the Configure a Pod to Use a ConfigMap task.At the end of this tutorial, you will understand how to change the configuration for a running application.This tutorial uses the alpine and nginx images as examples.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou need to have the curl command-line tool for making HTTP requests from the terminal or command prompt. If you do not have curl available, you can install it. Check the documentation for your local operating system.ObjectivesUpdate configuration via a ConfigMap mounted as a VolumeUpdate environment variables of a Pod via a ConfigMapUpdate configuration via a ConfigMap in a multi-container PodUpdate configuration via a ConfigMap in a Pod possessing a Sidecar ContainerUpdate configuration via a ConfigMap mounted as a VolumeUse the kubectl create configmap command to create a ConfigMap from literal values:kubectl create configmap sport --from-literal=sport=football Below is an example of a Deployment manifest with the ConfigMap sport mounted as a volume into the Pod's only container.deployments/deployment-with-configmap-as-volume.yaml apiVersion: apps/v1 kind: Deployment metadata: name: configmap-volume labels: app.kubernetes.io/name: configmap-volume spec: replicas: 3 selector: matchLabels: app.kubernetes.io/name: configmap-volume template: metadata: labels: app.kubernetes.io/name: configmap-volume spec: containers: - name: alpine image: alpine:3 command: - /bin/sh - -c - while true; do echo \"$(date) My preferred sport is $(cat /etc/config/sport)\"; sleep 10; done; ports: - containerPort: 80 volumeMounts: - name: config-volume mountPath: /etc/config volumes: - name: config-volume configMap: name: sportCreate the Deployment:kubectl apply -f https://k8s.io/examples/deployments/deployment-with-configmap-as-volume.yaml Check the pods for this Deployment to ensure they are ready (matching by selector):kubectl get pods --selector=app.kubernetes.io/name=configmap-volume You should see an output similar to:NAME READY STATUS RESTARTS AGE configmap-volume-6b976dfdcf-qxvbm 1/1 Running 0 72s configmap-volume-6b976dfdcf-skpvm 1/1 Running 0 72s configmap-volume-6b976dfdcf-tbc6r 1/1 Running 0 72s On each node where one of these Pods is running, the kubelet fetches the data for that ConfigMap and translates it to files in a local volume. The kubelet then mounts that volume into the container, as specified in the Pod template. The code running in that container loads the informat",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/updating-configuration-via-a-configmap/",
    "id": "k8s_00369_qa_6948"
  },
  {
    "question": "When would you use Updating Configuration via a ConfigMap?",
    "answer": "Updating Configuration via a ConfigMapThis page provides a step-by-step example of updating configuration within a Pod via a ConfigMap and builds upon the Configure a Pod to Use a ConfigMap task.At the end of this tutorial, you will understand how to change the configuration for a running application.This tutorial uses the alpine and nginx images as examples.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou need to have the curl command-line tool for making HTTP requests from the terminal or command prompt. If you do not have curl available, you can install it. Check the documentation for your local operating system.ObjectivesUpdate configuration via a ConfigMap mounted as a VolumeUpdate environment variables of a Pod via a ConfigMapUpdate configuration via a ConfigMap in a multi-container PodUpdate configuration via a ConfigMap in a Pod possessing a Sidecar ContainerUpdate configuration via a ConfigMap mounted as a VolumeUse the kubectl create configmap command to create a ConfigMap from literal values:kubectl create configmap sport --from-literal=sport=football Below is an example of a Deployment manifest with the ConfigMap sport mounted as a volume into the Pod's only container.deployments/deployment-with-configmap-as-volume.yaml apiVersion: apps/v1 kind: Deployment metadata: name: configmap-volume labels: app.kubernetes.io/name: configmap-volume spec: replicas: 3 selector: matchLabels: app.kubernetes.io/name: configmap-volume template: metadata: labels: app.kubernetes.io/name: configmap-volume spec: containers: - name: alpine image: alpine:3 command: - /bin/sh - -c - while true; do echo \"$(date) My preferred sport is $(cat /etc/config/sport)\"; sleep 10; done; ports: - containerPort: 80 volumeMounts: - name: config-volume mountPath: /etc/config volumes: - name: config-volume configMap: name: sportCreate the Deployment:kubectl apply -f https://k8s.io/examples/deployments/deployment-with-configmap-as-volume.yaml Check the pods for this Deployment to ensure they are ready (matching by selector):kubectl get pods --selector=app.kubernetes.io/name=configmap-volume You should see an output similar to:NAME READY STATUS RESTARTS AGE configmap-volume-6b976dfdcf-qxvbm 1/1 Running 0 72s configmap-volume-6b976dfdcf-skpvm 1/1 Running 0 72s configmap-volume-6b976dfdcf-tbc6r 1/1 Running 0 72s On each node where one of these Pods is running, the kubelet fetches the data for that ConfigMap and translates it to files in a local volume. The kubelet then mounts that volume into the container, as specified in the Pod template. The code running in that container loads the informat",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/updating-configuration-via-a-configmap/",
    "id": "k8s_00369_qa_6949"
  },
  {
    "question": "What are the benefits of Updating Configuration via a ConfigMap?",
    "answer": "Updating Configuration via a ConfigMapThis page provides a step-by-step example of updating configuration within a Pod via a ConfigMap and builds upon the Configure a Pod to Use a ConfigMap task.At the end of this tutorial, you will understand how to change the configuration for a running application.This tutorial uses the alpine and nginx images as examples.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou need to have the curl command-line tool for making HTTP requests from the terminal or command prompt. If you do not have curl available, you can install it. Check the documentation for your local operating system.ObjectivesUpdate configuration via a ConfigMap mounted as a VolumeUpdate environment variables of a Pod via a ConfigMapUpdate configuration via a ConfigMap in a multi-container PodUpdate configuration via a ConfigMap in a Pod possessing a Sidecar ContainerUpdate configuration via a ConfigMap mounted as a VolumeUse the kubectl create configmap command to create a ConfigMap from literal values:kubectl create configmap sport --from-literal=sport=football Below is an example of a Deployment manifest with the ConfigMap sport mounted as a volume into the Pod's only container.deployments/deployment-with-configmap-as-volume.yaml apiVersion: apps/v1 kind: Deployment metadata: name: configmap-volume labels: app.kubernetes.io/name: configmap-volume spec: replicas: 3 selector: matchLabels: app.kubernetes.io/name: configmap-volume template: metadata: labels: app.kubernetes.io/name: configmap-volume spec: containers: - name: alpine image: alpine:3 command: - /bin/sh - -c - while true; do echo \"$(date) My preferred sport is $(cat /etc/config/sport)\"; sleep 10; done; ports: - containerPort: 80 volumeMounts: - name: config-volume mountPath: /etc/config volumes: - name: config-volume configMap: name: sportCreate the Deployment:kubectl apply -f https://k8s.io/examples/deployments/deployment-with-configmap-as-volume.yaml Check the pods for this Deployment to ensure they are ready (matching by selector):kubectl get pods --selector=app.kubernetes.io/name=configmap-volume You should see an output similar to:NAME READY STATUS RESTARTS AGE configmap-volume-6b976dfdcf-qxvbm 1/1 Running 0 72s configmap-volume-6b976dfdcf-skpvm 1/1 Running 0 72s configmap-volume-6b976dfdcf-tbc6r 1/1 Running 0 72s On each node where one of these Pods is running, the kubelet fetches the data for that ConfigMap and translates it to files in a local volume. The kubelet then mounts that volume into the container, as specified in the Pod template. The code running in that container loads the informat",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/updating-configuration-via-a-configmap/",
    "id": "k8s_00369_qa_6950"
  },
  {
    "question": "What is Updating Configuration via a ConfigMap?",
    "answer": "T h i s   p a g e   p r o v i d e s   a   s t e p - b y - s t e p   e x a m p l e   o f   u p d a t i n g   c o n f i g u r a t i o n   w i t h i n   a   P o d   v i a   a   C o n f i g M a p   a n d   b u i l d s   u p o n   t h e   C o n f i g u r e   a   P o d   t o   U s e   a   C o n f i g M a p   t a s k . A t   t h e   e n d   o f   t h i s   t u t o r i a l ,   y o u   w i l l   u n d e r s t a n d   h o w   t o   c h a n g e   t h e   c o n f i g u r a t i o n   f o r   a   r u n n i n g   a p p l i c a t i o n . T h i s   t u t o r i a l   u s e s   t h e   a l p i n e   a n d   n g i n x   i m a g e s   a s   e x a m p l e s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/updating-configuration-via-a-configmap/",
    "id": "k8s_00369_section_1_6951"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   n e e d   t o   h a v e   t h e   c u r l   c o m m a n d - l i n e   t o o l   f o r   m a k i n g   H T T P   r e q u e s t s   f r o m   t h e   t e r m i n a l   o r   c o m m a n d   p r o m p t .   I f   y o u   d o   n o t   h a v e   c u r l   a v a i l a b l e ,   y o u   c a n   i n s t a l l   i t .   C h e c k   t h e   d o c u m e n t a t i o n   f o r   y o u r   l o c a l   o p e r a t i n g   s y s t e m .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/updating-configuration-via-a-configmap/",
    "id": "k8s_00369_section_2_6952"
  },
  {
    "question": "What is Objectives?",
    "answer": "U p d a t e   c o n f i g u r a t i o n   v i a   a   C o n f i g M a p   m o u n t e d   a s   a   V o l u m e U p d a t e   e n v i r o n m e n t   v a r i a b l e s   o f   a   P o d   v i a   a   C o n f i g M a p U p d a t e   c o n f i g u r a t i o n   v i a   a   C o n f i g M a p   i n   a   m u l t i - c o n t a i n e r   P o d U p d a t e   c o n f i g u r a t i o n   v i a   a   C o n f i g M a p   i n   a   P o d   p o s s e s s i n g   a   S i d e c a r   C o n t a i n e r",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/updating-configuration-via-a-configmap/",
    "id": "k8s_00369_section_2_6953"
  },
  {
    "question": "What is Update configuration via a ConfigMap mounted as a Volume?",
    "answer": "U s e   t h e   k u b e c t l   c r e a t e   c o n f i g m a p   c o m m a n d   t o   c r e a t e   a   C o n f i g M a p   f r o m   l i t e r a l   v a l u e s :   k u b e c t l   c r e a t e   c o n f i g m a p   s p o r t   - - f r o m - l i t e r a l = s p o r t = f o o t b a l l   B e l o w   i s   a n   e x a m p l e   o f   a   D e p l o y m e n t   m a n i f e s t   w i t h   t h e   C o n f i g M a p   s p o r t   m o u n t e d   a s   a   v o l u m e   i n t o   t h e   P o d ' s   o n l y   c o n t a i n e r .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   c o n f i g m a p - v o l u m e   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   c o n f i g m a p - v o l u m e   s p e c :   r e p l i c a s :   3   s e l e c t o r :   m a t c h L a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   c o n f i g m a p - v o l u m e   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   c o n f i g m a p - v o l u m e   s p e c :   c o n t a i n e r s :   -   n a m e :   a l p i n e   i m a g e :   a l p i n e : 3   c o m m a n d :   -   / b i n / s h   -   - c   -   w h i l e   t r u e ;   d o   e c h o   \" $ ( d a t e )   M y   p r e f e r r e d   s p o r t   i s   $ ( c a t   / e t c / c o n f i g / s p o r t ) \" ;   s l e e p   1 0 ;   d o n e ;   p o r t s :   -   c o n t a i n e r P o r t :   8 0   v o l u m e M o u n t s :   -   n a m e :   c o n f i g - v o l u m e   m o u n t P a t h :   / e t c / c o n f i g   v o l u m e s :   -   n a m e :   c o n f i g - v o l u m e   c o n f i g M a p :   n a m e :   s p o r t   C r e a t e   t h e   D e p l o y m e n t :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d e p l o y m e n t s / d e p l o y m e n t - w i t h - c o n f i g m a p - a s - v o l u m e . y a m l   C h e c k   t h e   p o d s   f o r   t h i s   D e p l o y m e n t   t o   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/updating-configuration-via-a-configmap/",
    "id": "k8s_00369_section_2_6954"
  },
  {
    "question": "What is Update environment variables of a Pod via a ConfigMap?",
    "answer": "U s e   t h e   k u b e c t l   c r e a t e   c o n f i g m a p   c o m m a n d   t o   c r e a t e   a   C o n f i g M a p   f r o m   l i t e r a l   v a l u e s :   k u b e c t l   c r e a t e   c o n f i g m a p   f r u i t s   - - f r o m - l i t e r a l = f r u i t s = a p p l e s   B e l o w   i s   a n   e x a m p l e   o f   a   D e p l o y m e n t   m a n i f e s t   w i t h   a n   e n v i r o n m e n t   v a r i a b l e   c o n f i g u r e d   v i a   t h e   C o n f i g M a p   f r u i t s .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   c o n f i g m a p - e n v - v a r   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   c o n f i g m a p - e n v - v a r   s p e c :   r e p l i c a s :   3   s e l e c t o r :   m a t c h L a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   c o n f i g m a p - e n v - v a r   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   c o n f i g m a p - e n v - v a r   s p e c :   c o n t a i n e r s :   -   n a m e :   a l p i n e   i m a g e :   a l p i n e : 3   e n v :   -   n a m e :   F R U I T S   v a l u e F r o m :   c o n f i g M a p K e y R e f :   k e y :   f r u i t s   n a m e :   f r u i t s   c o m m a n d :   -   / b i n / s h   -   - c   -   w h i l e   t r u e ;   d o   e c h o   \" $ ( d a t e )   T h e   b a s k e t   i s   f u l l   o f   $ F R U I T S \" ;   s l e e p   1 0 ;   d o n e ;   p o r t s :   -   c o n t a i n e r P o r t :   8 0   C r e a t e   t h e   D e p l o y m e n t :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d e p l o y m e n t s / d e p l o y m e n t - w i t h - c o n f i g m a p - a s - e n v v a r . y a m l   C h e c k   t h e   p o d s   f o r   t h i s   D e p l o y m e n t   t o   e n s u r e   t h e y   a r e   r e a d y   ( m a t c h i n g   b y   s e l e c t o r ) :   k u b e c t l   g e t   p o d s   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/updating-configuration-via-a-configmap/",
    "id": "k8s_00369_section_2_6955"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   t r i g g e r   t h a t   r e p l a c e m e n t .   P e r f o r m   a   r o l l o u t   f o r   t h e   D e p l o y m e n t ,   u s i n g   k u b e c t l   r o l l o u t :   #   T r i g g e r   t h e   r o l l o u t   k u b e c t l   r o l l o u t   r e s t a r t   d e p l o y m e n t   c o n f i g m a p - e n v - v a r   #   W a i t   f o r   t h e   r o l l o u t   t o   c o m p l e t e   k u b e c t l   r o l l o u t   s t a t u s   d e p l o y m e n t   c o n f i g m a p - e n v - v a r   - - w a t c h = t r u e   N e x t ,   c h e c k   t h e   D e p l o y m e n t :   k u b e c t l   g e t   d e p l o y m e n t   c o n f i g m a p - e n v - v a r   Y o u   s h o u l d   s e e   a n   o u t p u t   s i m i l a r   t o :   N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   c o n f i g m a p - e n v - v a r   3 / 3   3   3   1 2 m   C h e c k   t h e   P o d s :   k u b e c t l   g e t   p o d s   - - s e l e c t o r = a p p . k u b e r n e t e s . i o / n a m e = c o n f i g m a p - e n v - v a r   T h e   r o l l o u t   c a u s e s   K u b e r n e t e s   t o   m a k e   a   n e w   R e p l i c a S e t   f o r   t h e   D e p l o y m e n t ;   t h a t   m e a n s   t h e   e x i s t i n g   P o d s   e v e n t u a l l y   t e r m i n a t e ,   a n d   n e w   o n e s   a r e   c r e a t e d .   A f t e r   f e w   s e c o n d s ,   y o u   s h o u l d   s e e   a n   o u t p u t   s i m i l a r   t o :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   c o n f i g m a p - e n v - v a r - 6 d 9 4 d 8 9 b f 5 - 2 p h 2 l   1 / 1   R u n n i n g   0   1 3 s   c o n f i g m a p - e n v - v a r - 6 d 9 4 d 8 9 b f 5 - 7 4 t w x   1 / 1   R u n n i n g   0   8 s   c o n f i g m a p - e n v - v a r - 6 d 9 4 d 8 9 b f 5 - d 5 v x 8   1 / 1   R u n n i n g   0   1 1 s",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/updating-configuration-via-a-configmap/",
    "id": "k8s_00369_section_4_6956"
  },
  {
    "question": "What is Note:?",
    "answer": "V i e w   t h e   l o g s   f o r   a   P o d   i n   t h i s   D e p l o y m e n t :   #   P i c k   o n e   P o d   t h a t   b e l o n g s   t o   t h e   D e p l o y m e n t ,   a n d   v i e w   i t s   l o g s   k u b e c t l   l o g s   d e p l o y m e n t / c o n f i g m a p - e n v - v a r   Y o u   s h o u l d   s e e   a n   o u t p u t   s i m i l a r   t o   t h e   b e l o w :   F o u n d   3   p o d s ,   u s i n g   p o d / c o n f i g m a p - e n v - v a r - 6 d 9 f f 8 9 f b 6 - b z c f 6   T h u   J a n   4   1 6 : 3 0 : 3 5   U T C   2 0 2 4   T h e   b a s k e t   i s   f u l l   o f   m a n g o e s   T h u   J a n   4   1 6 : 3 0 : 4 5   U T C   2 0 2 4   T h e   b a s k e t   i s   f u l l   o f   m a n g o e s   T h u   J a n   4   1 6 : 3 0 : 5 5   U T C   2 0 2 4   T h e   b a s k e t   i s   f u l l   o f   m a n g o e s   T h i s   d e m o n s t r a t e s   t h e   s c e n a r i o   o f   u p d a t i n g   e n v i r o n m e n t   v a r i a b l e s   i n   a   P o d   t h a t   a r e   d e r i v e d   f r o m   a   C o n f i g M a p .   C h a n g e s   t o   t h e   C o n f i g M a p   v a l u e s   a r e   a p p l i e d   t o   t h e   P o d   d u r i n g   t h e   s u b s e q u e n t   r o l l o u t .   I f   P o d s   g e t   c r e a t e d   f o r   a n o t h e r   r e a s o n ,   s u c h   a s   s c a l i n g   u p   t h e   D e p l o y m e n t ,   t h e n   t h e   n e w   P o d s   a l s o   u s e   t h e   l a t e s t   c o n f i g u r a t i o n   v a l u e s ;   i f   y o u   d o n ' t   t r i g g e r   a   r o l l o u t ,   t h e n   y o u   m i g h t   f i n d   t h a t   y o u r   a p p   i s   r u n n i n g   w i t h   a   m i x   o f   o l d   a n d   n e w   e n v i r o n m e n t   v a r i a b l e   v a l u e s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/updating-configuration-via-a-configmap/",
    "id": "k8s_00369_section_4_6957"
  },
  {
    "question": "What is Update configuration via a ConfigMap in a multi-container Pod?",
    "answer": "U s e   t h e   k u b e c t l   c r e a t e   c o n f i g m a p   c o m m a n d   t o   c r e a t e   a   C o n f i g M a p   f r o m   l i t e r a l   v a l u e s :   k u b e c t l   c r e a t e   c o n f i g m a p   c o l o r   - - f r o m - l i t e r a l = c o l o r = r e d   B e l o w   i s   a n   e x a m p l e   m a n i f e s t   f o r   a   D e p l o y m e n t   t h a t   m a n a g e s   a   s e t   o f   P o d s ,   e a c h   w i t h   t w o   c o n t a i n e r s .   T h e   t w o   c o n t a i n e r s   s h a r e   a n   e m p t y D i r   v o l u m e   t h a t   t h e y   u s e   t o   c o m m u n i c a t e .   T h e   f i r s t   c o n t a i n e r   r u n s   a   w e b   s e r v e r   ( n g i n x ) .   T h e   m o u n t   p a t h   f o r   t h e   s h a r e d   v o l u m e   i n   t h e   w e b   s e r v e r   c o n t a i n e r   i s   / u s r / s h a r e / n g i n x / h t m l .   T h e   s e c o n d   h e l p e r   c o n t a i n e r   i s   b a s e d   o n   a l p i n e ,   a n d   f o r   t h i s   c o n t a i n e r   t h e   e m p t y D i r   v o l u m e   i s   m o u n t e d   a t   / p o d - d a t a .   T h e   h e l p e r   c o n t a i n e r   w r i t e s   a   f i l e   i n   H T M L   t h a t   h a s   i t s   c o n t e n t   b a s e d   o n   a   C o n f i g M a p .   T h e   w e b   s e r v e r   c o n t a i n e r   s e r v e s   t h e   H T M L   v i a   H T T P .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   c o n f i g m a p - t w o - c o n t a i n e r s   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   c o n f i g m a p - t w o - c o n t a i n e r s   s p e c :   r e p l i c a s :   3   s e l e c t o r :   m a t c h L a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   c o n f i g m a p - t w o - c o n t a i n e r s   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   c o n f i g m a p - t w o - c o n t ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/updating-configuration-via-a-configmap/",
    "id": "k8s_00369_section_2_6958"
  },
  {
    "question": "What is Update configuration via a ConfigMap in a Pod possessing a sidecar container?",
    "answer": "T h e   a b o v e   s c e n a r i o   c a n   b e   r e p l i c a t e d   b y   u s i n g   a   S i d e c a r   C o n t a i n e r   a s   a   h e l p e r   c o n t a i n e r   t o   w r i t e   t h e   H T M L   f i l e . A s   a   S i d e c a r   C o n t a i n e r   i s   c o n c e p t u a l l y   a n   I n i t   C o n t a i n e r ,   i t   i s   g u a r a n t e e d   t o   s t a r t   b e f o r e   t h e   m a i n   w e b   s e r v e r   c o n t a i n e r . T h i s   e n s u r e s   t h a t   t h e   H T M L   f i l e   i s   a l w a y s   a v a i l a b l e   w h e n   t h e   w e b   s e r v e r   i s   r e a d y   t o   s e r v e   i t .   I f   y o u   a r e   c o n t i n u i n g   f r o m   t h e   p r e v i o u s   s c e n a r i o ,   y o u   c a n   r e u s e   t h e   C o n f i g M a p   n a m e d   c o l o r   f o r   t h i s   s c e n a r i o . I f   y o u   a r e   e x e c u t i n g   t h i s   s c e n a r i o   i n d e p e n d e n t l y ,   u s e   t h e   k u b e c t l   c r e a t e   c o n f i g m a p   c o m m a n d   t o   c r e a t e   a   C o n f i g M a p   f r o m   l i t e r a l   v a l u e s :   k u b e c t l   c r e a t e   c o n f i g m a p   c o l o r   - - f r o m - l i t e r a l = c o l o r = b l u e   B e l o w   i s   a n   e x a m p l e   m a n i f e s t   f o r   a   D e p l o y m e n t   t h a t   m a n a g e s   a   s e t   o f   P o d s ,   e a c h   w i t h   a   m a i n   c o n t a i n e r   a n d   a   s i d e c a r   c o n t a i n e r .   T h e   t w o   c o n t a i n e r s   s h a r e   a n   e m p t y D i r   v o l u m e   t h a t   t h e y   u s e   t o   c o m m u n i c a t e .   T h e   m a i n   c o n t a i n e r   r u n s   a   w e b   s e r v e r   ( N G I N X ) .   T h e   m o u n t   p a t h   f o r   t h e   s h a r e d   v o l u m e   i n   t h e   w e b   s e r v e r   c o n t a i n e r   i s   / u s r / s h a r e / n g i n x / h t m l .   T h e   s e c o n d   c o n t a i n e r   i s   a   S i d e c a r   C o n t ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/updating-configuration-via-a-configmap/",
    "id": "k8s_00369_section_2_6959"
  },
  {
    "question": "What is Note:?",
    "answer": "I m m u t a b l e   C o n f i g M a p s   a r e   e s p e c i a l l y   u s e d   f o r   c o n f i g u r a t i o n   t h a t   i s   c o n s t a n t   a n d   i s   n o t   e x p e c t e d   t o   c h a n g e   o v e r   t i m e .   M a r k i n g   a   C o n f i g M a p   a s   i m m u t a b l e   a l l o w s   a   p e r f o r m a n c e   i m p r o v e m e n t   w h e r e   t h e   k u b e l e t   d o e s   n o t   w a t c h   f o r   c h a n g e s .   I f   y o u   d o   n e e d   t o   m a k e   a   c h a n g e ,   y o u   s h o u l d   p l a n   t o   e i t h e r :   c h a n g e   t h e   n a m e   o f   t h e   C o n f i g M a p ,   a n d   s w i t c h   t o   r u n n i n g   P o d s   t h a t   r e f e r e n c e   t h e   n e w   n a m e r e p l a c e   a l l   t h e   n o d e s   i n   y o u r   c l u s t e r   t h a t   h a v e   p r e v i o u s l y   r u n   a   P o d   t h a t   u s e d   t h e   o l d   v a l u e r e s t a r t   t h e   k u b e l e t   o n   a n y   n o d e   w h e r e   t h e   k u b e l e t   p r e v i o u s l y   l o a d e d   t h e   o l d   C o n f i g M a p   A n   e x a m p l e   m a n i f e s t   f o r   a n   I m m u t a b l e   C o n f i g M a p   i s   s h o w n   b e l o w .   a p i V e r s i o n :   v 1   d a t a :   c o m p a n y _ n a m e :   \" A C M E ,   I n c . \"   #   e x i s t i n g   f i c t i o n a l   c o m p a n y   n a m e   k i n d :   C o n f i g M a p   i m m u t a b l e :   t r u e   m e t a d a t a :   n a m e :   c o m p a n y - n a m e - 2 0 1 5 0 8 0 1   C r e a t e   t h e   I m m u t a b l e   C o n f i g M a p :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / c o n f i g m a p / i m m u t a b l e - c o n f i g m a p . y a m l   B e l o w   i s   a n   e x a m p l e   o f   a   D e p l o y m e n t   m a n i f e s t   w i t h   t h e   I m m u t a b l e   C o n f i g M a p   c o m p a n y - n a m e - 2 0 1 5 0 8 0 1   m o u n t e d   a s   a   v o l u m e   i n t o   t ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/updating-configuration-via-a-configmap/",
    "id": "k8s_00369_section_4_6960"
  },
  {
    "question": "What is Note:?",
    "answer": "C r e a t e   a   n e w   i m m u t a b l e   C o n f i g M a p   b y   u s i n g   t h e   m a n i f e s t   s h o w n   b e l o w :   a p i V e r s i o n :   v 1   d a t a :   c o m p a n y _ n a m e :   \" F i k t i v e s u n t e r n e h m e n   G m b H \"   #   n e w   f i c t i o n a l   c o m p a n y   n a m e   k i n d :   C o n f i g M a p   i m m u t a b l e :   t r u e   m e t a d a t a :   n a m e :   c o m p a n y - n a m e - 2 0 2 4 0 3 1 2   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / c o n f i g m a p / n e w - i m m u t a b l e - c o n f i g m a p . y a m l   Y o u   s h o u l d   s e e   a n   o u t p u t   s i m i l a r   t o :   c o n f i g m a p / c o m p a n y - n a m e - 2 0 2 4 0 3 1 2   c r e a t e d   C h e c k   t h e   n e w l y   c r e a t e d   C o n f i g M a p :   k u b e c t l   g e t   c o n f i g m a p   Y o u   s h o u l d   s e e   a n   o u t p u t   d i s p l a y i n g   b o t h   t h e   o l d   a n d   n e w   C o n f i g M a p s :   N A M E   D A T A   A G E   c o m p a n y - n a m e - 2 0 1 5 0 8 0 1   1   2 2 m   c o m p a n y - n a m e - 2 0 2 4 0 3 1 2   1   2 4 s   M o d i f y   t h e   D e p l o y m e n t   t o   r e f e r e n c e   t h e   n e w   C o n f i g M a p .   E d i t   t h e   D e p l o y m e n t :   k u b e c t l   e d i t   d e p l o y m e n t   i m m u t a b l e - c o n f i g m a p - v o l u m e   I n   t h e   e d i t o r   t h a t   a p p e a r s ,   u p d a t e   t h e   e x i s t i n g   v o l u m e   d e f i n i t i o n   t o   u s e   t h e   n e w   C o n f i g M a p .   v o l u m e s :   -   c o n f i g M a p :   d e f a u l t M o d e :   4 2 0   n a m e :   c o m p a n y - n a m e - 2 0 2 4 0 3 1 2   #   U p d a t e   t h i s   f i e l d   n a m e :   c o n f i g - v o l u m e   Y o u   s h o u l d   s e e   t h e   f o l l o w i n g   o u t p u t :   d e p l o y m e n t . a p p s / i m m u t a b l e - c o n f i g m a p - v o l u m e   e d i t e d   T h i s   w ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/updating-configuration-via-a-configmap/",
    "id": "k8s_00369_section_4_6961"
  },
  {
    "question": "What is Summary?",
    "answer": "C h a n g e s   t o   a   C o n f i g M a p   m o u n t e d   a s   a   V o l u m e   o n   a   P o d   a r e   a v a i l a b l e   s e a m l e s s l y   a f t e r   t h e   s u b s e q u e n t   k u b e l e t   s y n c .   C h a n g e s   t o   a   C o n f i g M a p   t h a t   c o n f i g u r e s   e n v i r o n m e n t   v a r i a b l e s   f o r   a   P o d   a r e   a v a i l a b l e   a f t e r   t h e   s u b s e q u e n t   r o l l o u t   f o r   t h e   P o d .   O n c e   a   C o n f i g M a p   i s   m a r k e d   a s   i m m u t a b l e ,   i t   i s   n o t   p o s s i b l e   t o   r e v e r t   t h i s   c h a n g e   ( y o u   c a n n o t   m a k e   a n   i m m u t a b l e   C o n f i g M a p   m u t a b l e ) ,   a n d   y o u   a l s o   c a n n o t   m a k e   a n y   c h a n g e   t o   t h e   c o n t e n t s   o f   t h e   d a t a   o r   t h e   b i n a r y D a t a   f i e l d .   Y o u   c a n   d e l e t e   a n d   r e c r e a t e   t h e   C o n f i g M a p ,   o r   y o u   c a n   m a k e   a   n e w   d i f f e r e n t   C o n f i g M a p .   W h e n   y o u   d e l e t e   a   C o n f i g M a p ,   r u n n i n g   c o n t a i n e r s   a n d   t h e i r   P o d s   m a i n t a i n   a   m o u n t   p o i n t   t o   a n y   v o l u m e   t h a t   r e f e r e n c e d   t h a t   e x i s t i n g   C o n f i g M a p .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/updating-configuration-via-a-configmap/",
    "id": "k8s_00369_section_2_6962"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "T e r m i n a t e   t h e   k u b e c t l   p o r t - f o r w a r d   c o m m a n d s   i n   c a s e   t h e y   a r e   r u n n i n g .   D e l e t e   t h e   r e s o u r c e s   c r e a t e d   d u r i n g   t h e   t u t o r i a l :   k u b e c t l   d e l e t e   d e p l o y m e n t   c o n f i g m a p - v o l u m e   c o n f i g m a p - e n v - v a r   c o n f i g m a p - t w o - c o n t a i n e r s   c o n f i g m a p - s i d e c a r - c o n t a i n e r   i m m u t a b l e - c o n f i g m a p - v o l u m e   k u b e c t l   d e l e t e   s e r v i c e   c o n f i g m a p - s e r v i c e   c o n f i g m a p - s i d e c a r - s e r v i c e   k u b e c t l   d e l e t e   c o n f i g m a p   s p o r t   f r u i t s   c o l o r   c o m p a n y - n a m e - 2 0 2 4 0 3 1 2   k u b e c t l   d e l e t e   c o n f i g m a p   c o m p a n y - n a m e - 2 0 1 5 0 8 0 1   #   I n   c a s e   i t   w a s   n o t   h a n d l e d   d u r i n g   t h e   t a s k   e x e c u t i o n",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/updating-configuration-via-a-configmap/",
    "id": "k8s_00369_section_2_6963"
  },
  {
    "question": "What is Use Calico for NetworkPolicy?",
    "answer": "Use Calico for NetworkPolicyThis page shows a couple of quick ways to create a Calico cluster on Kubernetes.Before you beginDecide whether you want to deploy a cloud or local cluster.Creating a Calico cluster with Google Kubernetes Engine (GKE)Prerequisite: gcloud.To launch a GKE cluster with Calico, include the --enable-network-policy flag.Syntaxgcloud container clusters create [CLUSTER_NAME] --enable-network-policy Examplegcloud container clusters create my-calico-cluster --enable-network-policy To verify the deployment, use the following command.kubectl get pods --namespace=kube-system The Calico pods begin with calico. Check to make sure each one has a status of Running.Creating a local Calico cluster with kubeadmTo get a local single-host Calico cluster in fifteen minutes using kubeadm, refer to the Calico Quickstart.What's nextOnce your cluster is running, you can follow the Declare Network Policy to try out Kubernetes NetworkPolicy.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/calico-network-policy/",
    "id": "k8s_00370_qa_6964"
  },
  {
    "question": "How does Use Calico for NetworkPolicy work?",
    "answer": "Use Calico for NetworkPolicyThis page shows a couple of quick ways to create a Calico cluster on Kubernetes.Before you beginDecide whether you want to deploy a cloud or local cluster.Creating a Calico cluster with Google Kubernetes Engine (GKE)Prerequisite: gcloud.To launch a GKE cluster with Calico, include the --enable-network-policy flag.Syntaxgcloud container clusters create [CLUSTER_NAME] --enable-network-policy Examplegcloud container clusters create my-calico-cluster --enable-network-policy To verify the deployment, use the following command.kubectl get pods --namespace=kube-system The Calico pods begin with calico. Check to make sure each one has a status of Running.Creating a local Calico cluster with kubeadmTo get a local single-host Calico cluster in fifteen minutes using kubeadm, refer to the Calico Quickstart.What's nextOnce your cluster is running, you can follow the Declare Network Policy to try out Kubernetes NetworkPolicy.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/calico-network-policy/",
    "id": "k8s_00370_qa_6965"
  },
  {
    "question": "When would you use Use Calico for NetworkPolicy?",
    "answer": "Use Calico for NetworkPolicyThis page shows a couple of quick ways to create a Calico cluster on Kubernetes.Before you beginDecide whether you want to deploy a cloud or local cluster.Creating a Calico cluster with Google Kubernetes Engine (GKE)Prerequisite: gcloud.To launch a GKE cluster with Calico, include the --enable-network-policy flag.Syntaxgcloud container clusters create [CLUSTER_NAME] --enable-network-policy Examplegcloud container clusters create my-calico-cluster --enable-network-policy To verify the deployment, use the following command.kubectl get pods --namespace=kube-system The Calico pods begin with calico. Check to make sure each one has a status of Running.Creating a local Calico cluster with kubeadmTo get a local single-host Calico cluster in fifteen minutes using kubeadm, refer to the Calico Quickstart.What's nextOnce your cluster is running, you can follow the Declare Network Policy to try out Kubernetes NetworkPolicy.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/calico-network-policy/",
    "id": "k8s_00370_qa_6966"
  },
  {
    "question": "What are the benefits of Use Calico for NetworkPolicy?",
    "answer": "Use Calico for NetworkPolicyThis page shows a couple of quick ways to create a Calico cluster on Kubernetes.Before you beginDecide whether you want to deploy a cloud or local cluster.Creating a Calico cluster with Google Kubernetes Engine (GKE)Prerequisite: gcloud.To launch a GKE cluster with Calico, include the --enable-network-policy flag.Syntaxgcloud container clusters create [CLUSTER_NAME] --enable-network-policy Examplegcloud container clusters create my-calico-cluster --enable-network-policy To verify the deployment, use the following command.kubectl get pods --namespace=kube-system The Calico pods begin with calico. Check to make sure each one has a status of Running.Creating a local Calico cluster with kubeadmTo get a local single-host Calico cluster in fifteen minutes using kubeadm, refer to the Calico Quickstart.What's nextOnce your cluster is running, you can follow the Declare Network Policy to try out Kubernetes NetworkPolicy.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/calico-network-policy/",
    "id": "k8s_00370_qa_6967"
  },
  {
    "question": "What is Use Calico for NetworkPolicy?",
    "answer": "T h i s   p a g e   s h o w s   a   c o u p l e   o f   q u i c k   w a y s   t o   c r e a t e   a   C a l i c o   c l u s t e r   o n   K u b e r n e t e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/calico-network-policy/",
    "id": "k8s_00370_section_1_6968"
  },
  {
    "question": "What is Before you begin?",
    "answer": "D e c i d e   w h e t h e r   y o u   w a n t   t o   d e p l o y   a   c l o u d   o r   l o c a l   c l u s t e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/calico-network-policy/",
    "id": "k8s_00370_section_2_6969"
  },
  {
    "question": "What is Creating a Calico cluster with Google Kubernetes Engine (GKE)?",
    "answer": "P r e r e q u i s i t e :   g c l o u d .   T o   l a u n c h   a   G K E   c l u s t e r   w i t h   C a l i c o ,   i n c l u d e   t h e   - - e n a b l e - n e t w o r k - p o l i c y   f l a g . S y n t a x g c l o u d   c o n t a i n e r   c l u s t e r s   c r e a t e   [ C L U S T E R _ N A M E ]   - - e n a b l e - n e t w o r k - p o l i c y   E x a m p l e g c l o u d   c o n t a i n e r   c l u s t e r s   c r e a t e   m y - c a l i c o - c l u s t e r   - - e n a b l e - n e t w o r k - p o l i c y   T o   v e r i f y   t h e   d e p l o y m e n t ,   u s e   t h e   f o l l o w i n g   c o m m a n d . k u b e c t l   g e t   p o d s   - - n a m e s p a c e = k u b e - s y s t e m   T h e   C a l i c o   p o d s   b e g i n   w i t h   c a l i c o .   C h e c k   t o   m a k e   s u r e   e a c h   o n e   h a s   a   s t a t u s   o f   R u n n i n g .   T o   l a u n c h   a   G K E   c l u s t e r   w i t h   C a l i c o ,   i n c l u d e   t h e   - - e n a b l e - n e t w o r k - p o l i c y   f l a g .   S y n t a x   g c l o u d   c o n t a i n e r   c l u s t e r s   c r e a t e   [ C L U S T E R _ N A M E ]   - - e n a b l e - n e t w o r k - p o l i c y   E x a m p l e   g c l o u d   c o n t a i n e r   c l u s t e r s   c r e a t e   m y - c a l i c o - c l u s t e r   - - e n a b l e - n e t w o r k - p o l i c y   T o   v e r i f y   t h e   d e p l o y m e n t ,   u s e   t h e   f o l l o w i n g   c o m m a n d .   k u b e c t l   g e t   p o d s   - - n a m e s p a c e = k u b e - s y s t e m   T h e   C a l i c o   p o d s   b e g i n   w i t h   c a l i c o .   C h e c k   t o   m a k e   s u r e   e a c h   o n e   h a s   a   s t a t u s   o f   R u n n i n g .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/calico-network-policy/",
    "id": "k8s_00370_section_2_6970"
  },
  {
    "question": "What is Creating a local Calico cluster with kubeadm?",
    "answer": "T o   g e t   a   l o c a l   s i n g l e - h o s t   C a l i c o   c l u s t e r   i n   f i f t e e n   m i n u t e s   u s i n g   k u b e a d m ,   r e f e r   t o   t h e   C a l i c o   Q u i c k s t a r t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/calico-network-policy/",
    "id": "k8s_00370_section_2_6971"
  },
  {
    "question": "What is What's next?",
    "answer": "O n c e   y o u r   c l u s t e r   i s   r u n n i n g ,   y o u   c a n   f o l l o w   t h e   D e c l a r e   N e t w o r k   P o l i c y   t o   t r y   o u t   K u b e r n e t e s   N e t w o r k P o l i c y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/calico-network-policy/",
    "id": "k8s_00370_section_2_6972"
  },
  {
    "question": "What is IPv4/IPv6 dual-stack?",
    "answer": "IPv4/IPv6 dual-stackKubernetes lets you configure single-stack IPv4 networking, single-stack IPv6 networking, or dual stack networking with both network families active. This page explains how.FEATURE STATE: Kubernetes v1.23 [stable]IPv4/IPv6 dual-stack networking enables the allocation of both IPv4 and IPv6 addresses to Pods and Services.IPv4/IPv6 dual-stack networking is enabled by default for your Kubernetes cluster starting in 1.21, allowing the simultaneous assignment of both IPv4 and IPv6 addresses.Supported FeaturesIPv4/IPv6 dual-stack on your Kubernetes cluster provides the following features:Dual-stack Pod networking (a single IPv4 and IPv6 address assignment per Pod)IPv4 and IPv6 enabled ServicesPod off-cluster egress routing (eg. the Internet) via both IPv4 and IPv6 interfacesPrerequisitesThe following prerequisites are needed in order to utilize IPv4/IPv6 dual-stack Kubernetes clusters:Kubernetes 1.20 or laterFor information about using dual-stack services with earlier Kubernetes versions, refer to the documentation for that version of Kubernetes.Provider support for dual-stack networking (Cloud provider or otherwise must be able to provide Kubernetes nodes with routable IPv4/IPv6 network interfaces)A network plugin that supports dual-stack networking.Configure IPv4/IPv6 dual-stackTo configure IPv4/IPv6 dual-stack, set dual-stack cluster network assignments:kube-apiserver:--service-cluster-ip-range=<IPv4 CIDR>,<IPv6 CIDR>kube-controller-manager:--cluster-cidr=<IPv4 CIDR>,<IPv6 CIDR>--service-cluster-ip-range=<IPv4 CIDR>,<IPv6 CIDR>--node-cidr-mask-size-ipv4|--node-cidr-mask-size-ipv6 defaults to /24 for IPv4 and /64 for IPv6kube-proxy:--cluster-cidr=<IPv4 CIDR>,<IPv6 CIDR>kubelet:--node-ip=<IPv4 IP>,<IPv6 IP>This option is required for bare metal dual-stack nodes (nodes that do not define a cloud provider with the --cloud-provider flag). If you are using a cloud provider and choose to override the node IPs chosen by the cloud provider, set the --node-ip option.(The legacy built-in cloud providers do not support dual-stack --node-ip.)Note:An example of an IPv4 CIDR: 10.244.0.0/16 (though you would supply your own address range)An example of an IPv6 CIDR: fdXY:IJKL:MNOP:15::/64 (this shows the format but is not a valid address - see RFC 4193)ServicesYou can create Services which can use IPv4, IPv6, or both.The address family of a Service defaults to the address family of the first service cluster IP range (configured via the --service-cluster-ip-range flag to the kube-apiserver).When you define a Service you can optionally configure it as dual stack. To specify the behavior you want, you set the .spec.ipFamilyPolicy field to one of the following values:SingleStack: Single-stack service. The control plane allocates a cluster IP for the Service, using the first configured service cluster IP range.PreferDualStack: Allocates both IPv4 and IPv6 cluster IPs for the Service when dual-stack is enabled. If dual-stack is not enabled or supported,",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dual-stack/",
    "id": "k8s_00371_qa_6973"
  },
  {
    "question": "How does IPv4/IPv6 dual-stack work?",
    "answer": "IPv4/IPv6 dual-stackKubernetes lets you configure single-stack IPv4 networking, single-stack IPv6 networking, or dual stack networking with both network families active. This page explains how.FEATURE STATE: Kubernetes v1.23 [stable]IPv4/IPv6 dual-stack networking enables the allocation of both IPv4 and IPv6 addresses to Pods and Services.IPv4/IPv6 dual-stack networking is enabled by default for your Kubernetes cluster starting in 1.21, allowing the simultaneous assignment of both IPv4 and IPv6 addresses.Supported FeaturesIPv4/IPv6 dual-stack on your Kubernetes cluster provides the following features:Dual-stack Pod networking (a single IPv4 and IPv6 address assignment per Pod)IPv4 and IPv6 enabled ServicesPod off-cluster egress routing (eg. the Internet) via both IPv4 and IPv6 interfacesPrerequisitesThe following prerequisites are needed in order to utilize IPv4/IPv6 dual-stack Kubernetes clusters:Kubernetes 1.20 or laterFor information about using dual-stack services with earlier Kubernetes versions, refer to the documentation for that version of Kubernetes.Provider support for dual-stack networking (Cloud provider or otherwise must be able to provide Kubernetes nodes with routable IPv4/IPv6 network interfaces)A network plugin that supports dual-stack networking.Configure IPv4/IPv6 dual-stackTo configure IPv4/IPv6 dual-stack, set dual-stack cluster network assignments:kube-apiserver:--service-cluster-ip-range=<IPv4 CIDR>,<IPv6 CIDR>kube-controller-manager:--cluster-cidr=<IPv4 CIDR>,<IPv6 CIDR>--service-cluster-ip-range=<IPv4 CIDR>,<IPv6 CIDR>--node-cidr-mask-size-ipv4|--node-cidr-mask-size-ipv6 defaults to /24 for IPv4 and /64 for IPv6kube-proxy:--cluster-cidr=<IPv4 CIDR>,<IPv6 CIDR>kubelet:--node-ip=<IPv4 IP>,<IPv6 IP>This option is required for bare metal dual-stack nodes (nodes that do not define a cloud provider with the --cloud-provider flag). If you are using a cloud provider and choose to override the node IPs chosen by the cloud provider, set the --node-ip option.(The legacy built-in cloud providers do not support dual-stack --node-ip.)Note:An example of an IPv4 CIDR: 10.244.0.0/16 (though you would supply your own address range)An example of an IPv6 CIDR: fdXY:IJKL:MNOP:15::/64 (this shows the format but is not a valid address - see RFC 4193)ServicesYou can create Services which can use IPv4, IPv6, or both.The address family of a Service defaults to the address family of the first service cluster IP range (configured via the --service-cluster-ip-range flag to the kube-apiserver).When you define a Service you can optionally configure it as dual stack. To specify the behavior you want, you set the .spec.ipFamilyPolicy field to one of the following values:SingleStack: Single-stack service. The control plane allocates a cluster IP for the Service, using the first configured service cluster IP range.PreferDualStack: Allocates both IPv4 and IPv6 cluster IPs for the Service when dual-stack is enabled. If dual-stack is not enabled or supported,",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dual-stack/",
    "id": "k8s_00371_qa_6974"
  },
  {
    "question": "When would you use IPv4/IPv6 dual-stack?",
    "answer": "IPv4/IPv6 dual-stackKubernetes lets you configure single-stack IPv4 networking, single-stack IPv6 networking, or dual stack networking with both network families active. This page explains how.FEATURE STATE: Kubernetes v1.23 [stable]IPv4/IPv6 dual-stack networking enables the allocation of both IPv4 and IPv6 addresses to Pods and Services.IPv4/IPv6 dual-stack networking is enabled by default for your Kubernetes cluster starting in 1.21, allowing the simultaneous assignment of both IPv4 and IPv6 addresses.Supported FeaturesIPv4/IPv6 dual-stack on your Kubernetes cluster provides the following features:Dual-stack Pod networking (a single IPv4 and IPv6 address assignment per Pod)IPv4 and IPv6 enabled ServicesPod off-cluster egress routing (eg. the Internet) via both IPv4 and IPv6 interfacesPrerequisitesThe following prerequisites are needed in order to utilize IPv4/IPv6 dual-stack Kubernetes clusters:Kubernetes 1.20 or laterFor information about using dual-stack services with earlier Kubernetes versions, refer to the documentation for that version of Kubernetes.Provider support for dual-stack networking (Cloud provider or otherwise must be able to provide Kubernetes nodes with routable IPv4/IPv6 network interfaces)A network plugin that supports dual-stack networking.Configure IPv4/IPv6 dual-stackTo configure IPv4/IPv6 dual-stack, set dual-stack cluster network assignments:kube-apiserver:--service-cluster-ip-range=<IPv4 CIDR>,<IPv6 CIDR>kube-controller-manager:--cluster-cidr=<IPv4 CIDR>,<IPv6 CIDR>--service-cluster-ip-range=<IPv4 CIDR>,<IPv6 CIDR>--node-cidr-mask-size-ipv4|--node-cidr-mask-size-ipv6 defaults to /24 for IPv4 and /64 for IPv6kube-proxy:--cluster-cidr=<IPv4 CIDR>,<IPv6 CIDR>kubelet:--node-ip=<IPv4 IP>,<IPv6 IP>This option is required for bare metal dual-stack nodes (nodes that do not define a cloud provider with the --cloud-provider flag). If you are using a cloud provider and choose to override the node IPs chosen by the cloud provider, set the --node-ip option.(The legacy built-in cloud providers do not support dual-stack --node-ip.)Note:An example of an IPv4 CIDR: 10.244.0.0/16 (though you would supply your own address range)An example of an IPv6 CIDR: fdXY:IJKL:MNOP:15::/64 (this shows the format but is not a valid address - see RFC 4193)ServicesYou can create Services which can use IPv4, IPv6, or both.The address family of a Service defaults to the address family of the first service cluster IP range (configured via the --service-cluster-ip-range flag to the kube-apiserver).When you define a Service you can optionally configure it as dual stack. To specify the behavior you want, you set the .spec.ipFamilyPolicy field to one of the following values:SingleStack: Single-stack service. The control plane allocates a cluster IP for the Service, using the first configured service cluster IP range.PreferDualStack: Allocates both IPv4 and IPv6 cluster IPs for the Service when dual-stack is enabled. If dual-stack is not enabled or supported,",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dual-stack/",
    "id": "k8s_00371_qa_6975"
  },
  {
    "question": "What are the benefits of IPv4/IPv6 dual-stack?",
    "answer": "IPv4/IPv6 dual-stackKubernetes lets you configure single-stack IPv4 networking, single-stack IPv6 networking, or dual stack networking with both network families active. This page explains how.FEATURE STATE: Kubernetes v1.23 [stable]IPv4/IPv6 dual-stack networking enables the allocation of both IPv4 and IPv6 addresses to Pods and Services.IPv4/IPv6 dual-stack networking is enabled by default for your Kubernetes cluster starting in 1.21, allowing the simultaneous assignment of both IPv4 and IPv6 addresses.Supported FeaturesIPv4/IPv6 dual-stack on your Kubernetes cluster provides the following features:Dual-stack Pod networking (a single IPv4 and IPv6 address assignment per Pod)IPv4 and IPv6 enabled ServicesPod off-cluster egress routing (eg. the Internet) via both IPv4 and IPv6 interfacesPrerequisitesThe following prerequisites are needed in order to utilize IPv4/IPv6 dual-stack Kubernetes clusters:Kubernetes 1.20 or laterFor information about using dual-stack services with earlier Kubernetes versions, refer to the documentation for that version of Kubernetes.Provider support for dual-stack networking (Cloud provider or otherwise must be able to provide Kubernetes nodes with routable IPv4/IPv6 network interfaces)A network plugin that supports dual-stack networking.Configure IPv4/IPv6 dual-stackTo configure IPv4/IPv6 dual-stack, set dual-stack cluster network assignments:kube-apiserver:--service-cluster-ip-range=<IPv4 CIDR>,<IPv6 CIDR>kube-controller-manager:--cluster-cidr=<IPv4 CIDR>,<IPv6 CIDR>--service-cluster-ip-range=<IPv4 CIDR>,<IPv6 CIDR>--node-cidr-mask-size-ipv4|--node-cidr-mask-size-ipv6 defaults to /24 for IPv4 and /64 for IPv6kube-proxy:--cluster-cidr=<IPv4 CIDR>,<IPv6 CIDR>kubelet:--node-ip=<IPv4 IP>,<IPv6 IP>This option is required for bare metal dual-stack nodes (nodes that do not define a cloud provider with the --cloud-provider flag). If you are using a cloud provider and choose to override the node IPs chosen by the cloud provider, set the --node-ip option.(The legacy built-in cloud providers do not support dual-stack --node-ip.)Note:An example of an IPv4 CIDR: 10.244.0.0/16 (though you would supply your own address range)An example of an IPv6 CIDR: fdXY:IJKL:MNOP:15::/64 (this shows the format but is not a valid address - see RFC 4193)ServicesYou can create Services which can use IPv4, IPv6, or both.The address family of a Service defaults to the address family of the first service cluster IP range (configured via the --service-cluster-ip-range flag to the kube-apiserver).When you define a Service you can optionally configure it as dual stack. To specify the behavior you want, you set the .spec.ipFamilyPolicy field to one of the following values:SingleStack: Single-stack service. The control plane allocates a cluster IP for the Service, using the first configured service cluster IP range.PreferDualStack: Allocates both IPv4 and IPv6 cluster IPs for the Service when dual-stack is enabled. If dual-stack is not enabled or supported,",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dual-stack/",
    "id": "k8s_00371_qa_6976"
  },
  {
    "question": "What is IPv4/IPv6 dual-stack?",
    "answer": "I P v 4 / I P v 6   d u a l - s t a c k   n e t w o r k i n g   e n a b l e s   t h e   a l l o c a t i o n   o f   b o t h   I P v 4   a n d   I P v 6   a d d r e s s e s   t o   P o d s   a n d   S e r v i c e s .   I P v 4 / I P v 6   d u a l - s t a c k   n e t w o r k i n g   i s   e n a b l e d   b y   d e f a u l t   f o r   y o u r   K u b e r n e t e s   c l u s t e r   s t a r t i n g   i n   1 . 2 1 ,   a l l o w i n g   t h e   s i m u l t a n e o u s   a s s i g n m e n t   o f   b o t h   I P v 4   a n d   I P v 6   a d d r e s s e s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dual-stack/",
    "id": "k8s_00371_section_1_6977"
  },
  {
    "question": "What is Supported Features?",
    "answer": "I P v 4 / I P v 6   d u a l - s t a c k   o n   y o u r   K u b e r n e t e s   c l u s t e r   p r o v i d e s   t h e   f o l l o w i n g   f e a t u r e s :   D u a l - s t a c k   P o d   n e t w o r k i n g   ( a   s i n g l e   I P v 4   a n d   I P v 6   a d d r e s s   a s s i g n m e n t   p e r   P o d ) I P v 4   a n d   I P v 6   e n a b l e d   S e r v i c e s P o d   o f f - c l u s t e r   e g r e s s   r o u t i n g   ( e g .   t h e   I n t e r n e t )   v i a   b o t h   I P v 4   a n d   I P v 6   i n t e r f a c e s",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dual-stack/",
    "id": "k8s_00371_section_2_6978"
  },
  {
    "question": "What is Prerequisites?",
    "answer": "T h e   f o l l o w i n g   p r e r e q u i s i t e s   a r e   n e e d e d   i n   o r d e r   t o   u t i l i z e   I P v 4 / I P v 6   d u a l - s t a c k   K u b e r n e t e s   c l u s t e r s :   K u b e r n e t e s   1 . 2 0   o r   l a t e r F o r   i n f o r m a t i o n   a b o u t   u s i n g   d u a l - s t a c k   s e r v i c e s   w i t h   e a r l i e r   K u b e r n e t e s   v e r s i o n s ,   r e f e r   t o   t h e   d o c u m e n t a t i o n   f o r   t h a t   v e r s i o n   o f   K u b e r n e t e s . P r o v i d e r   s u p p o r t   f o r   d u a l - s t a c k   n e t w o r k i n g   ( C l o u d   p r o v i d e r   o r   o t h e r w i s e   m u s t   b e   a b l e   t o   p r o v i d e   K u b e r n e t e s   n o d e s   w i t h   r o u t a b l e   I P v 4 / I P v 6   n e t w o r k   i n t e r f a c e s ) A   n e t w o r k   p l u g i n   t h a t   s u p p o r t s   d u a l - s t a c k   n e t w o r k i n g .   K u b e r n e t e s   1 . 2 0   o r   l a t e r   F o r   i n f o r m a t i o n   a b o u t   u s i n g   d u a l - s t a c k   s e r v i c e s   w i t h   e a r l i e r   K u b e r n e t e s   v e r s i o n s ,   r e f e r   t o   t h e   d o c u m e n t a t i o n   f o r   t h a t   v e r s i o n   o f   K u b e r n e t e s .   P r o v i d e r   s u p p o r t   f o r   d u a l - s t a c k   n e t w o r k i n g   ( C l o u d   p r o v i d e r   o r   o t h e r w i s e   m u s t   b e   a b l e   t o   p r o v i d e   K u b e r n e t e s   n o d e s   w i t h   r o u t a b l e   I P v 4 / I P v 6   n e t w o r k   i n t e r f a c e s )   A   n e t w o r k   p l u g i n   t h a t   s u p p o r t s   d u a l - s t a c k   n e t w o r k i n g .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dual-stack/",
    "id": "k8s_00371_section_2_6979"
  },
  {
    "question": "What is Configure IPv4/IPv6 dual-stack?",
    "answer": "T o   c o n f i g u r e   I P v 4 / I P v 6   d u a l - s t a c k ,   s e t   d u a l - s t a c k   c l u s t e r   n e t w o r k   a s s i g n m e n t s :   k u b e - a p i s e r v e r : - - s e r v i c e - c l u s t e r - i p - r a n g e = < I P v 4   C I D R > , < I P v 6   C I D R > k u b e - c o n t r o l l e r - m a n a g e r : - - c l u s t e r - c i d r = < I P v 4   C I D R > , < I P v 6   C I D R > - - s e r v i c e - c l u s t e r - i p - r a n g e = < I P v 4   C I D R > , < I P v 6   C I D R > - - n o d e - c i d r - m a s k - s i z e - i p v 4 | - - n o d e - c i d r - m a s k - s i z e - i p v 6   d e f a u l t s   t o   / 2 4   f o r   I P v 4   a n d   / 6 4   f o r   I P v 6 k u b e - p r o x y : - - c l u s t e r - c i d r = < I P v 4   C I D R > , < I P v 6   C I D R > k u b e l e t : - - n o d e - i p = < I P v 4   I P > , < I P v 6   I P > T h i s   o p t i o n   i s   r e q u i r e d   f o r   b a r e   m e t a l   d u a l - s t a c k   n o d e s   ( n o d e s   t h a t   d o   n o t   d e f i n e   a   c l o u d   p r o v i d e r   w i t h   t h e   - - c l o u d - p r o v i d e r   f l a g ) .   I f   y o u   a r e   u s i n g   a   c l o u d   p r o v i d e r   a n d   c h o o s e   t o   o v e r r i d e   t h e   n o d e   I P s   c h o s e n   b y   t h e   c l o u d   p r o v i d e r ,   s e t   t h e   - - n o d e - i p   o p t i o n . ( T h e   l e g a c y   b u i l t - i n   c l o u d   p r o v i d e r s   d o   n o t   s u p p o r t   d u a l - s t a c k   - - n o d e - i p . )   - - s e r v i c e - c l u s t e r - i p - r a n g e = < I P v 4   C I D R > , < I P v 6   C I D R >   - - c l u s t e r - c i d r = < I P v 4   C I D R > , < I P v 6   C I D R > - - s e r v i c e - c l u s t e r - i p - r a n g e = < I P v 4   C I D R > , < I P v 6   C I D R > - - n o d e - c i d r - m a s k - s i z e - i p v 4 | - - n o d e - c i d r - m a s k - s i z e - i p v 6   d e f a u l t s   t o   / 2 4   f o r   I P v 4   a n d   / 6 4   f o r   I ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dual-stack/",
    "id": "k8s_00371_section_2_6980"
  },
  {
    "question": "What is Note:?",
    "answer": "A n   e x a m p l e   o f   a n   I P v 4   C I D R :   1 0 . 2 4 4 . 0 . 0 / 1 6   ( t h o u g h   y o u   w o u l d   s u p p l y   y o u r   o w n   a d d r e s s   r a n g e )   A n   e x a m p l e   o f   a n   I P v 6   C I D R :   f d X Y : I J K L : M N O P : 1 5 : : / 6 4   ( t h i s   s h o w s   t h e   f o r m a t   b u t   i s   n o t   a   v a l i d   a d d r e s s   -   s e e   R F C   4 1 9 3 )",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dual-stack/",
    "id": "k8s_00371_section_4_6981"
  },
  {
    "question": "What is Services?",
    "answer": "Y o u   c a n   c r e a t e   S e r v i c e s   w h i c h   c a n   u s e   I P v 4 ,   I P v 6 ,   o r   b o t h .   T h e   a d d r e s s   f a m i l y   o f   a   S e r v i c e   d e f a u l t s   t o   t h e   a d d r e s s   f a m i l y   o f   t h e   f i r s t   s e r v i c e   c l u s t e r   I P   r a n g e   ( c o n f i g u r e d   v i a   t h e   - - s e r v i c e - c l u s t e r - i p - r a n g e   f l a g   t o   t h e   k u b e - a p i s e r v e r ) .   W h e n   y o u   d e f i n e   a   S e r v i c e   y o u   c a n   o p t i o n a l l y   c o n f i g u r e   i t   a s   d u a l   s t a c k .   T o   s p e c i f y   t h e   b e h a v i o r   y o u   w a n t ,   y o u   s e t   t h e   . s p e c . i p F a m i l y P o l i c y   f i e l d   t o   o n e   o f   t h e   f o l l o w i n g   v a l u e s :   S i n g l e S t a c k :   S i n g l e - s t a c k   s e r v i c e .   T h e   c o n t r o l   p l a n e   a l l o c a t e s   a   c l u s t e r   I P   f o r   t h e   S e r v i c e ,   u s i n g   t h e   f i r s t   c o n f i g u r e d   s e r v i c e   c l u s t e r   I P   r a n g e . P r e f e r D u a l S t a c k :   A l l o c a t e s   b o t h   I P v 4   a n d   I P v 6   c l u s t e r   I P s   f o r   t h e   S e r v i c e   w h e n   d u a l - s t a c k   i s   e n a b l e d .   I f   d u a l - s t a c k   i s   n o t   e n a b l e d   o r   s u p p o r t e d ,   i t   f a l l s   b a c k   t o   s i n g l e - s t a c k   b e h a v i o r . R e q u i r e D u a l S t a c k :   A l l o c a t e s   S e r v i c e   . s p e c . c l u s t e r I P s   f r o m   b o t h   I P v 4   a n d   I P v 6   a d d r e s s   r a n g e s   w h e n   d u a l - s t a c k   i s   e n a b l e d .   I f   d u a l - s t a c k   i s   n o t   e n a b l e d   o r   s u p p o r t e d ,   t h e   S e r v i c e   A P I   o b j e c t   c r e a t i o n   f a i l s . S e l e c t s   t h e   . s p e c . c l u s t e r I P   f r o m   t h e   l i s t   o f   . s p e c . c l u s t ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dual-stack/",
    "id": "k8s_00371_section_2_6982"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   s e t   . s p e c . i p F a m i l i e s   t o   a n y   o f   t h e   f o l l o w i n g   a r r a y   v a l u e s :   [ \" I P v 4 \" ] [ \" I P v 6 \" ] [ \" I P v 4 \" , \" I P v 6 \" ]   ( d u a l   s t a c k ) [ \" I P v 6 \" , \" I P v 4 \" ]   ( d u a l   s t a c k )   T h e   f i r s t   f a m i l y   y o u   l i s t   i s   u s e d   f o r   t h e   l e g a c y   . s p e c . c l u s t e r I P   f i e l d .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dual-stack/",
    "id": "k8s_00371_section_4_6983"
  },
  {
    "question": "What is Dual-stack Service configuration scenarios?",
    "answer": "T h e s e   e x a m p l e s   d e m o n s t r a t e   t h e   b e h a v i o r   o f   v a r i o u s   d u a l - s t a c k   S e r v i c e   c o n f i g u r a t i o n   s c e n a r i o s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dual-stack/",
    "id": "k8s_00371_section_3_6984"
  },
  {
    "question": "What is Dual-stack options on new Services?",
    "answer": "T h i s   S e r v i c e   s p e c i f i c a t i o n   d o e s   n o t   e x p l i c i t l y   d e f i n e   . s p e c . i p F a m i l y P o l i c y .   W h e n   y o u   c r e a t e   t h i s   S e r v i c e ,   K u b e r n e t e s   a s s i g n s   a   c l u s t e r   I P   f o r   t h e   S e r v i c e   f r o m   t h e   f i r s t   c o n f i g u r e d   s e r v i c e - c l u s t e r - i p - r a n g e   a n d   s e t s   t h e   . s p e c . i p F a m i l y P o l i c y   t o   S i n g l e S t a c k .   ( S e r v i c e s   w i t h o u t   s e l e c t o r s   a n d   h e a d l e s s   S e r v i c e s   w i t h   s e l e c t o r s   w i l l   b e h a v e   i n   t h i s   s a m e   w a y . ) s e r v i c e / n e t w o r k i n g / d u a l - s t a c k - d e f a u l t - s v c . y a m l   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   s p e c :   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   8 0   T h i s   S e r v i c e   s p e c i f i c a t i o n   e x p l i c i t l y   d e f i n e s   P r e f e r D u a l S t a c k   i n   . s p e c . i p F a m i l y P o l i c y .   W h e n   y o u   c r e a t e   t h i s   S e r v i c e   o n   a   d u a l - s t a c k   c l u s t e r ,   K u b e r n e t e s   a s s i g n s   b o t h   I P v 4   a n d   I P v 6   a d d r e s s e s   f o r   t h e   s e r v i c e .   T h e   c o n t r o l   p l a n e   u p d a t e s   t h e   . s p e c   f o r   t h e   S e r v i c e   t o   r e c o r d   t h e   I P   a d d r e s s   a s s i g n m e n t s .   T h e   f i e l d   . s p e c . c l u s t e r I P s   i s   t h e   p r i m a r y   f i e l d ,   a n d   c o n t a i n s   b o t h   a s s i g n e d   I P   a d d r e s s e s ;   . s p e c . c l u s t e r I P   i s   a   s e c o n d a r y   f i e l d   w i t h   i t s ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dual-stack/",
    "id": "k8s_00371_section_4_6985"
  },
  {
    "question": "What is Dual-stack defaults on existing Services?",
    "answer": "T h e s e   e x a m p l e s   d e m o n s t r a t e   t h e   d e f a u l t   b e h a v i o r   w h e n   d u a l - s t a c k   i s   n e w l y   e n a b l e d   o n   a   c l u s t e r   w h e r e   S e r v i c e s   a l r e a d y   e x i s t .   ( U p g r a d i n g   a n   e x i s t i n g   c l u s t e r   t o   1 . 2 1   o r   b e y o n d   w i l l   e n a b l e   d u a l - s t a c k . )   W h e n   d u a l - s t a c k   i s   e n a b l e d   o n   a   c l u s t e r ,   e x i s t i n g   S e r v i c e s   ( w h e t h e r   I P v 4   o r   I P v 6 )   a r e   c o n f i g u r e d   b y   t h e   c o n t r o l   p l a n e   t o   s e t   . s p e c . i p F a m i l y P o l i c y   t o   S i n g l e S t a c k   a n d   s e t   . s p e c . i p F a m i l i e s   t o   t h e   a d d r e s s   f a m i l y   o f   t h e   e x i s t i n g   S e r v i c e .   T h e   e x i s t i n g   S e r v i c e   c l u s t e r   I P   w i l l   b e   s t o r e d   i n   . s p e c . c l u s t e r I P s . s e r v i c e / n e t w o r k i n g / d u a l - s t a c k - d e f a u l t - s v c . y a m l   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   s p e c :   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   8 0   Y o u   c a n   v a l i d a t e   t h i s   b e h a v i o r   b y   u s i n g   k u b e c t l   t o   i n s p e c t   a n   e x i s t i n g   s e r v i c e . k u b e c t l   g e t   s v c   m y - s e r v i c e   - o   y a m l   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   n a m e :   m y - s e r v i c e   s p e c :   c l u s t e r I P :   1 0 . 0 . 1 9 7 . 1 2 3   c l u s t e r I P s :   -   1 0 . 0 . 1 9 7 . 1 2 3   i p F a m i l i e s :   -   I P v 4 ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dual-stack/",
    "id": "k8s_00371_section_4_6986"
  },
  {
    "question": "What is Switching Services between single-stack and dual-stack?",
    "answer": "S e r v i c e s   c a n   b e   c h a n g e d   f r o m   s i n g l e - s t a c k   t o   d u a l - s t a c k   a n d   f r o m   d u a l - s t a c k   t o   s i n g l e - s t a c k .   T o   c h a n g e   a   S e r v i c e   f r o m   s i n g l e - s t a c k   t o   d u a l - s t a c k ,   c h a n g e   . s p e c . i p F a m i l y P o l i c y   f r o m   S i n g l e S t a c k   t o   P r e f e r D u a l S t a c k   o r   R e q u i r e D u a l S t a c k   a s   d e s i r e d .   W h e n   y o u   c h a n g e   t h i s   S e r v i c e   f r o m   s i n g l e - s t a c k   t o   d u a l - s t a c k ,   K u b e r n e t e s   a s s i g n s   t h e   m i s s i n g   a d d r e s s   f a m i l y   s o   t h a t   t h e   S e r v i c e   n o w   h a s   I P v 4   a n d   I P v 6   a d d r e s s e s . E d i t   t h e   S e r v i c e   s p e c i f i c a t i o n   u p d a t i n g   t h e   . s p e c . i p F a m i l y P o l i c y   f r o m   S i n g l e S t a c k   t o   P r e f e r D u a l S t a c k . B e f o r e : s p e c :   i p F a m i l y P o l i c y :   S i n g l e S t a c k   A f t e r : s p e c :   i p F a m i l y P o l i c y :   P r e f e r D u a l S t a c k   T o   c h a n g e   a   S e r v i c e   f r o m   d u a l - s t a c k   t o   s i n g l e - s t a c k ,   c h a n g e   . s p e c . i p F a m i l y P o l i c y   f r o m   P r e f e r D u a l S t a c k   o r   R e q u i r e D u a l S t a c k   t o   S i n g l e S t a c k .   W h e n   y o u   c h a n g e   t h i s   S e r v i c e   f r o m   d u a l - s t a c k   t o   s i n g l e - s t a c k ,   K u b e r n e t e s   r e t a i n s   o n l y   t h e   f i r s t   e l e m e n t   i n   t h e   . s p e c . c l u s t e r I P s   a r r a y ,   a n d   s e t s   . s p e c . c l u s t e r I P   t o   t h a t   I P   a d d r e s s   a n d   s e t s   . s p e c . i p F a m i l i e s   t o   t h e   a d d r e s s   f a m i l y   o f   . s p e c . c l u s t e r I P s .   T o   c h a n g e   a   S e r v i c e   f r o m   s ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dual-stack/",
    "id": "k8s_00371_section_4_6987"
  },
  {
    "question": "What is Headless Services without selector?",
    "answer": "F o r   H e a d l e s s   S e r v i c e s   w i t h o u t   s e l e c t o r s   a n d   w i t h o u t   . s p e c . i p F a m i l y P o l i c y   e x p l i c i t l y   s e t ,   t h e   . s p e c . i p F a m i l y P o l i c y   f i e l d   d e f a u l t s   t o   R e q u i r e D u a l S t a c k .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dual-stack/",
    "id": "k8s_00371_section_3_6988"
  },
  {
    "question": "What is Service type LoadBalancer?",
    "answer": "T o   p r o v i s i o n   a   d u a l - s t a c k   l o a d   b a l a n c e r   f o r   y o u r   S e r v i c e :   S e t   t h e   . s p e c . t y p e   f i e l d   t o   L o a d B a l a n c e r S e t   . s p e c . i p F a m i l y P o l i c y   f i e l d   t o   P r e f e r D u a l S t a c k   o r   R e q u i r e D u a l S t a c k",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dual-stack/",
    "id": "k8s_00371_section_3_6989"
  },
  {
    "question": "What is Egress traffic?",
    "answer": "I f   y o u   w a n t   t o   e n a b l e   e g r e s s   t r a f f i c   i n   o r d e r   t o   r e a c h   o f f - c l u s t e r   d e s t i n a t i o n s   ( e g .   t h e   p u b l i c   I n t e r n e t )   f r o m   a   P o d   t h a t   u s e s   n o n - p u b l i c l y   r o u t a b l e   I P v 6   a d d r e s s e s ,   y o u   n e e d   t o   e n a b l e   t h e   P o d   t o   u s e   a   p u b l i c l y   r o u t e d   I P v 6   a d d r e s s   v i a   a   m e c h a n i s m   s u c h   a s   t r a n s p a r e n t   p r o x y i n g   o r   I P   m a s q u e r a d i n g .   T h e   i p - m a s q - a g e n t   p r o j e c t   s u p p o r t s   I P   m a s q u e r a d i n g   o n   d u a l - s t a c k   c l u s t e r s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dual-stack/",
    "id": "k8s_00371_section_2_6990"
  },
  {
    "question": "What is Windows support?",
    "answer": "K u b e r n e t e s   o n   W i n d o w s   d o e s   n o t   s u p p o r t   s i n g l e - s t a c k   \" I P v 6 - o n l y \"   n e t w o r k i n g .   H o w e v e r ,   d u a l - s t a c k   I P v 4 / I P v 6   n e t w o r k i n g   f o r   p o d s   a n d   n o d e s   w i t h   s i n g l e - f a m i l y   s e r v i c e s   i s   s u p p o r t e d .   Y o u   c a n   u s e   I P v 4 / I P v 6   d u a l - s t a c k   n e t w o r k i n g   w i t h   l 2 b r i d g e   n e t w o r k s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dual-stack/",
    "id": "k8s_00371_section_2_6991"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   r e a d   m o r e   a b o u t   t h e   d i f f e r e n t   n e t w o r k   m o d e s   f o r   W i n d o w s   w i t h i n   t h e   N e t w o r k i n g   o n   W i n d o w s   t o p i c .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dual-stack/",
    "id": "k8s_00371_section_4_6992"
  },
  {
    "question": "What is What's next?",
    "answer": "V a l i d a t e   I P v 4 / I P v 6   d u a l - s t a c k   n e t w o r k i n g E n a b l e   d u a l - s t a c k   n e t w o r k i n g   u s i n g   k u b e a d m",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dual-stack/",
    "id": "k8s_00371_section_2_6993"
  },
  {
    "question": "What is PersistentVolumeClaim?",
    "answer": "PersistentVolumeClaimPersistentVolumeClaim is a user's request for and claim to a persistent volume.apiVersion: v1import \"k8s.io/api/core/v1\"PersistentVolumeClaimPersistentVolumeClaim is a user's request for and claim to a persistent volumeapiVersion: v1kind: PersistentVolumeClaimmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PersistentVolumeClaimSpec)spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaimsstatus (PersistentVolumeClaimStatus)status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaimsPersistentVolumeClaimSpecPersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributesaccessModes ([]string)Atomic: will be replaced during a mergeaccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1selector (LabelSelector)selector is a label query over volumes to consider for binding.resources (VolumeResourceRequirements)resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resourcesVolumeResourceRequirements describes the storage resource requirements for a volume.resources.limits (map[string]Quantity)Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/resources.requests (map[string]Quantity)Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/volumeName (string)volumeName is the binding reference to the PersistentVolume backing this claim.storageClassName (string)storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1volumeMode (string)volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.Beta leveldataSource (TypedLocalObjectReference)dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (Persist",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_qa_6994"
  },
  {
    "question": "How does PersistentVolumeClaim work?",
    "answer": "PersistentVolumeClaimPersistentVolumeClaim is a user's request for and claim to a persistent volume.apiVersion: v1import \"k8s.io/api/core/v1\"PersistentVolumeClaimPersistentVolumeClaim is a user's request for and claim to a persistent volumeapiVersion: v1kind: PersistentVolumeClaimmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PersistentVolumeClaimSpec)spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaimsstatus (PersistentVolumeClaimStatus)status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaimsPersistentVolumeClaimSpecPersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributesaccessModes ([]string)Atomic: will be replaced during a mergeaccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1selector (LabelSelector)selector is a label query over volumes to consider for binding.resources (VolumeResourceRequirements)resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resourcesVolumeResourceRequirements describes the storage resource requirements for a volume.resources.limits (map[string]Quantity)Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/resources.requests (map[string]Quantity)Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/volumeName (string)volumeName is the binding reference to the PersistentVolume backing this claim.storageClassName (string)storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1volumeMode (string)volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.Beta leveldataSource (TypedLocalObjectReference)dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (Persist",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_qa_6995"
  },
  {
    "question": "When would you use PersistentVolumeClaim?",
    "answer": "PersistentVolumeClaimPersistentVolumeClaim is a user's request for and claim to a persistent volume.apiVersion: v1import \"k8s.io/api/core/v1\"PersistentVolumeClaimPersistentVolumeClaim is a user's request for and claim to a persistent volumeapiVersion: v1kind: PersistentVolumeClaimmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PersistentVolumeClaimSpec)spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaimsstatus (PersistentVolumeClaimStatus)status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaimsPersistentVolumeClaimSpecPersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributesaccessModes ([]string)Atomic: will be replaced during a mergeaccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1selector (LabelSelector)selector is a label query over volumes to consider for binding.resources (VolumeResourceRequirements)resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resourcesVolumeResourceRequirements describes the storage resource requirements for a volume.resources.limits (map[string]Quantity)Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/resources.requests (map[string]Quantity)Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/volumeName (string)volumeName is the binding reference to the PersistentVolume backing this claim.storageClassName (string)storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1volumeMode (string)volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.Beta leveldataSource (TypedLocalObjectReference)dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (Persist",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_qa_6996"
  },
  {
    "question": "What are the benefits of PersistentVolumeClaim?",
    "answer": "PersistentVolumeClaimPersistentVolumeClaim is a user's request for and claim to a persistent volume.apiVersion: v1import \"k8s.io/api/core/v1\"PersistentVolumeClaimPersistentVolumeClaim is a user's request for and claim to a persistent volumeapiVersion: v1kind: PersistentVolumeClaimmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PersistentVolumeClaimSpec)spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaimsstatus (PersistentVolumeClaimStatus)status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaimsPersistentVolumeClaimSpecPersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributesaccessModes ([]string)Atomic: will be replaced during a mergeaccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1selector (LabelSelector)selector is a label query over volumes to consider for binding.resources (VolumeResourceRequirements)resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resourcesVolumeResourceRequirements describes the storage resource requirements for a volume.resources.limits (map[string]Quantity)Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/resources.requests (map[string]Quantity)Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/volumeName (string)volumeName is the binding reference to the PersistentVolume backing this claim.storageClassName (string)storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1volumeMode (string)volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.Beta leveldataSource (TypedLocalObjectReference)dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (Persist",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_qa_6997"
  },
  {
    "question": "What is PersistentVolumeClaim?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_1_6998"
  },
  {
    "question": "What is PersistentVolumeClaim?",
    "answer": "P e r s i s t e n t V o l u m e C l a i m   i s   a   u s e r ' s   r e q u e s t   f o r   a n d   c l a i m   t o   a   p e r s i s t e n t   v o l u m e   a p i V e r s i o n :   v 1 k i n d :   P e r s i s t e n t V o l u m e C l a i m m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( P e r s i s t e n t V o l u m e C l a i m S p e c ) s p e c   d e f i n e s   t h e   d e s i r e d   c h a r a c t e r i s t i c s   o f   a   v o l u m e   r e q u e s t e d   b y   a   p o d   a u t h o r .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p e r s i s t e n t v o l u m e c l a i m s s t a t u s   ( P e r s i s t e n t V o l u m e C l a i m S t a t u s ) s t a t u s   r e p r e s e n t s   t h e   c u r r e n t   i n f o r m a t i o n / s t a t u s   o f   a   p e r s i s t e n t   v o l u m e   c l a i m .   R e a d - o n l y .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p e r s i s t e n t v o l u m e c l a i m s   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( P e r s i s t e n t V o l u m e C l a i m S p e c )   s p e c   d e f i n e s   t h e   d e s i r e d   c h a r a c t e r i s t i c s   o f   a   v o l u m e   r e q u e s t e d   b y   a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_2_6999"
  },
  {
    "question": "What is PersistentVolumeClaimSpec?",
    "answer": "P e r s i s t e n t V o l u m e C l a i m S p e c   d e s c r i b e s   t h e   c o m m o n   a t t r i b u t e s   o f   s t o r a g e   d e v i c e s   a n d   a l l o w s   a   S o u r c e   f o r   p r o v i d e r - s p e c i f i c   a t t r i b u t e s   a c c e s s M o d e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e a c c e s s M o d e s   c o n t a i n s   t h e   d e s i r e d   a c c e s s   m o d e s   t h e   v o l u m e   s h o u l d   h a v e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # a c c e s s - m o d e s - 1 s e l e c t o r   ( L a b e l S e l e c t o r ) s e l e c t o r   i s   a   l a b e l   q u e r y   o v e r   v o l u m e s   t o   c o n s i d e r   f o r   b i n d i n g . r e s o u r c e s   ( V o l u m e R e s o u r c e R e q u i r e m e n t s ) r e s o u r c e s   r e p r e s e n t s   t h e   m i n i m u m   r e s o u r c e s   t h e   v o l u m e   s h o u l d   h a v e .   I f   R e c o v e r V o l u m e E x p a n s i o n F a i l u r e   f e a t u r e   i s   e n a b l e d   u s e r s   a r e   a l l o w e d   t o   s p e c i f y   r e s o u r c e   r e q u i r e m e n t s   t h a t   a r e   l o w e r   t h a n   p r e v i o u s   v a l u e   b u t   m u s t   s t i l l   b e   h i g h e r   t h a n   c a p a c i t y   r e c o r d e d   i n   t h e   s t a t u s   f i e l d   o f   t h e   c l a i m .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # r e s o u r c e s V o l u m e R e s o u r c e R e q u i r e m e n t s   d e s c r i b e s   t h e   s t o r a g e   r e s o u r c e   r e q u i r e m e n t s   f o r   a   v o l u m e . r e s o u r c e s . l i m i t s   ( m a p [ s t r i n g ] Q u a n t i t y ) L i m i t s   d e s c r i b e s   t h e   m a x i m u m   a m o u n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_2_7000"
  },
  {
    "question": "What is Beta level?",
    "answer": "d a t a S o u r c e   ( T y p e d L o c a l O b j e c t R e f e r e n c e ) d a t a S o u r c e   f i e l d   c a n   b e   u s e d   t o   s p e c i f y   e i t h e r :   *   A n   e x i s t i n g   V o l u m e S n a p s h o t   o b j e c t   ( s n a p s h o t . s t o r a g e . k 8 s . i o / V o l u m e S n a p s h o t )   *   A n   e x i s t i n g   P V C   ( P e r s i s t e n t V o l u m e C l a i m )   I f   t h e   p r o v i s i o n e r   o r   a n   e x t e r n a l   c o n t r o l l e r   c a n   s u p p o r t   t h e   s p e c i f i e d   d a t a   s o u r c e ,   i t   w i l l   c r e a t e   a   n e w   v o l u m e   b a s e d   o n   t h e   c o n t e n t s   o f   t h e   s p e c i f i e d   d a t a   s o u r c e .   W h e n   t h e   A n y V o l u m e D a t a S o u r c e   f e a t u r e   g a t e   i s   e n a b l e d ,   d a t a S o u r c e   c o n t e n t s   w i l l   b e   c o p i e d   t o   d a t a S o u r c e R e f ,   a n d   d a t a S o u r c e R e f   c o n t e n t s   w i l l   b e   c o p i e d   t o   d a t a S o u r c e   w h e n   d a t a S o u r c e R e f . n a m e s p a c e   i s   n o t   s p e c i f i e d .   I f   t h e   n a m e s p a c e   i s   s p e c i f i e d ,   t h e n   d a t a S o u r c e R e f   w i l l   n o t   b e   c o p i e d   t o   d a t a S o u r c e . d a t a S o u r c e R e f   ( T y p e d O b j e c t R e f e r e n c e ) d a t a S o u r c e R e f   s p e c i f i e s   t h e   o b j e c t   f r o m   w h i c h   t o   p o p u l a t e   t h e   v o l u m e   w i t h   d a t a ,   i f   a   n o n - e m p t y   v o l u m e   i s   d e s i r e d .   T h i s   m a y   b e   a n y   o b j e c t   f r o m   a   n o n - e m p t y   A P I   g r o u p   ( n o n   c o r e   o b j e c t )   o r   a   P e r s i s t e n t V o l u m e C l a i m   o b j e c t .   W h e n   t h i s   f i e l d   i s   s p e c i f i e d ,   v o l u m e   b i n d i n g   w i l l   o n l y   s u c c e e d   i f   t h e   t y p e   o f   t h e   s p e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_3_7001"
  },
  {
    "question": "What is PersistentVolumeClaimStatus?",
    "answer": "P e r s i s t e n t V o l u m e C l a i m S t a t u s   i s   t h e   c u r r e n t   s t a t u s   o f   a   p e r s i s t e n t   v o l u m e   c l a i m .   a c c e s s M o d e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e a c c e s s M o d e s   c o n t a i n s   t h e   a c t u a l   a c c e s s   m o d e s   t h e   v o l u m e   b a c k i n g   t h e   P V C   h a s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # a c c e s s - m o d e s - 1 a l l o c a t e d R e s o u r c e S t a t u s e s   ( m a p [ s t r i n g ] s t r i n g ) a l l o c a t e d R e s o u r c e S t a t u s e s   s t o r e s   s t a t u s   o f   r e s o u r c e   b e i n g   r e s i z e d   f o r   t h e   g i v e n   P V C .   K e y   n a m e s   f o l l o w   s t a n d a r d   K u b e r n e t e s   l a b e l   s y n t a x .   V a l i d   v a l u e s   a r e   e i t h e r :   *   U n - p r e f i x e d   k e y s :   -   s t o r a g e   -   t h e   c a p a c i t y   o f   t h e   v o l u m e .   *   C u s t o m   r e s o u r c e s   m u s t   u s e   i m p l e m e n t a t i o n - d e f i n e d   p r e f i x e d   n a m e s   s u c h   a s   \" e x a m p l e . c o m / m y - c u s t o m - r e s o u r c e \"   A p a r t   f r o m   a b o v e   v a l u e s   -   k e y s   t h a t   a r e   u n p r e f i x e d   o r   h a v e   k u b e r n e t e s . i o   p r e f i x   a r e   c o n s i d e r e d   r e s e r v e d   a n d   h e n c e   m a y   n o t   b e   u s e d . C l a i m R e s o u r c e S t a t u s   c a n   b e   i n   a n y   o f   f o l l o w i n g   s t a t e s :   -   C o n t r o l l e r R e s i z e I n P r o g r e s s :   S t a t e   s e t   w h e n   r e s i z e   c o n t r o l l e r   s t a r t s   r e s i z i n g   t h e   v o l u m e   i n   c o n t r o l - p l a n e .   -   C o n t r o l l e r R e s i z e F a i l e d :   S t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_2_7002"
  },
  {
    "question": "What is PersistentVolumeClaimList?",
    "answer": "P e r s i s t e n t V o l u m e C l a i m L i s t   i s   a   l i s t   o f   P e r s i s t e n t V o l u m e C l a i m   i t e m s .   a p i V e r s i o n :   v 1 k i n d :   P e r s i s t e n t V o l u m e C l a i m L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] P e r s i s t e n t V o l u m e C l a i m ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   p e r s i s t e n t   v o l u m e   c l a i m s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p e r s i s t e n t v o l u m e c l a i m s   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] P e r s i s t e n t V o l u m e C l a i m ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   p e r s i s t e n t   v o l u m e   c l a i m s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p e r s i s t e n t v o l u m e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_2_7003"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7004"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7005"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7006"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7007"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7008"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7009"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7010"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7011"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7012"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / p e r s i s t e n t v o l u m e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7013"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7014"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7015"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7016"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P e r s i s t e n t V o l u m e C l a i m ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P e r s i s t e n t V o l u m e C l a i m ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7017"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e C l a i m ) :   C r e a t e d   2 0 2   ( P e r s i s t e n t V o l u m e C l a i m ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7018"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7019"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P e r s i s t e n t V o l u m e C l a i m ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P e r s i s t e n t V o l u m e C l a i m ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7020"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e C l a i m ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7021"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7022"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P e r s i s t e n t V o l u m e C l a i m ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P e r s i s t e n t V o l u m e C l a i m ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7023"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e C l a i m ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7024"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7025"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7026"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e C l a i m ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7027"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7028"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7029"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e C l a i m ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7030"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7031"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7032"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m ) :   O K   2 0 2   ( P e r s i s t e n t V o l u m e C l a i m ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7033"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7034"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7035"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/",
    "id": "k8s_00372_section_4_7036"
  },
  {
    "question": "What is Bootstrapping clusters with kubeadm?",
    "answer": "Bootstrapping clusters with kubeadmInstalling kubeadmTroubleshooting kubeadmCreating a cluster with kubeadmCustomizing components with the kubeadm APIOptions for Highly Available TopologyCreating Highly Available Clusters with kubeadmSet up a High Availability etcd Cluster with kubeadmConfiguring each kubelet in your cluster using kubeadmDual-stack support with kubeadm",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/",
    "id": "k8s_00373_qa_7037"
  },
  {
    "question": "How does Bootstrapping clusters with kubeadm work?",
    "answer": "Bootstrapping clusters with kubeadmInstalling kubeadmTroubleshooting kubeadmCreating a cluster with kubeadmCustomizing components with the kubeadm APIOptions for Highly Available TopologyCreating Highly Available Clusters with kubeadmSet up a High Availability etcd Cluster with kubeadmConfiguring each kubelet in your cluster using kubeadmDual-stack support with kubeadm",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/",
    "id": "k8s_00373_qa_7038"
  },
  {
    "question": "When would you use Bootstrapping clusters with kubeadm?",
    "answer": "Bootstrapping clusters with kubeadmInstalling kubeadmTroubleshooting kubeadmCreating a cluster with kubeadmCustomizing components with the kubeadm APIOptions for Highly Available TopologyCreating Highly Available Clusters with kubeadmSet up a High Availability etcd Cluster with kubeadmConfiguring each kubelet in your cluster using kubeadmDual-stack support with kubeadm",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/",
    "id": "k8s_00373_qa_7039"
  },
  {
    "question": "What are the benefits of Bootstrapping clusters with kubeadm?",
    "answer": "Bootstrapping clusters with kubeadmInstalling kubeadmTroubleshooting kubeadmCreating a cluster with kubeadmCustomizing components with the kubeadm APIOptions for Highly Available TopologyCreating Highly Available Clusters with kubeadmSet up a High Availability etcd Cluster with kubeadmConfiguring each kubelet in your cluster using kubeadmDual-stack support with kubeadm",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/",
    "id": "k8s_00373_qa_7040"
  },
  {
    "question": "What is Jobs?",
    "answer": "JobsJobs represent one-off tasks that run to completion and then stop.A Job creates one or more Pods and will continue to retry execution of the Pods until a specified number of them successfully terminate. As pods successfully complete, the Job tracks the successful completions. When a specified number of successful completions is reached, the task (ie, Job) is complete. Deleting a Job will clean up the Pods it created. Suspending a Job will delete its active Pods until the Job is resumed again.A simple case is to create one Job object in order to reliably run one Pod to completion. The Job object will start a new Pod if the first Pod fails or is deleted (for example due to a node hardware failure or a node reboot).You can also use a Job to run multiple Pods in parallel.If you want to run a Job (either a single task, or several in parallel) on a schedule, see CronJob.Running an example JobHere is an example Job config. It computes π to 2000 places and prints it out. It takes around 10s to complete.controllers/job.yaml apiVersion: batch/v1 kind: Job metadata: name: pi spec: template: spec: containers: - name: pi image: perl:5.34.0 command: [\"perl\", \"-Mbignum=bpi\", \"-wle\", \"print bpi(2000)\"] restartPolicy: Never backoffLimit: 4 You can run the example with this command:kubectl apply -f https://kubernetes.io/examples/controllers/job.yaml The output is similar to this:job.batch/pi created Check on the status of the Job with kubectl: Name: pi Namespace: default Selector: batch.kubernetes.io/controller-uid=c9948307-e56d-4b5d-8302-ae2d7b7da67c Labels: batch.kubernetes.io/controller-uid=c9948307-e56d-4b5d-8302-ae2d7b7da67c batch.kubernetes.io/job-name=pi ... Annotations: batch.kubernetes.io/job-tracking: \"\" Parallelism: 1 Completions: 1 Start Time: Mon, 02 Dec 2019 15:20:11 +0200 Completed At: Mon, 02 Dec 2019 15:21:16 +0200 Duration: 65s Pods Statuses: 0 Running / 1 Succeeded / 0 Failed Pod Template: Labels: batch.kubernetes.io/controller-uid=c9948307-e56d-4b5d-8302-ae2d7b7da67c batch.kubernetes.io/job-name=pi Containers: pi: Image: perl:5.34.0 Port: <none> Host Port: <none> Command: perl -Mbignum=bpi -wle print bpi(2000) Environment: <none> Mounts: <none> Volumes: <none> Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal SuccessfulCreate 21s job-controller Created pod: pi-xf9p4 Normal Completed 18s job-controller Job completed apiVersion: batch/v1 kind: Job metadata: annotations: batch.kubernetes.io/job-tracking: \"\" ... creationTimestamp: \"2022-11-10T17:53:53Z\" generation: 1 labels: batch.kubernetes.io/controller-uid: 863452e6-270d-420e-9b94-53a54146c223 batch.kubernetes.io/job-name: pi name: pi namespace: default resourceVersion: \"4751\" uid: 204fb678-040b-497f-9266-35ffa8716d14 spec: backoffLimit: 4 completionMode: NonIndexed completions: 1 parallelism: 1 selector: matchLabels: batch.kubernetes.io/controller-uid: 863452e6-270d-420e-9b94-53a54146c223 suspend: false template: metadata: creationTimestamp: null labels: batch.kubern",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_qa_7041"
  },
  {
    "question": "How does Jobs work?",
    "answer": "JobsJobs represent one-off tasks that run to completion and then stop.A Job creates one or more Pods and will continue to retry execution of the Pods until a specified number of them successfully terminate. As pods successfully complete, the Job tracks the successful completions. When a specified number of successful completions is reached, the task (ie, Job) is complete. Deleting a Job will clean up the Pods it created. Suspending a Job will delete its active Pods until the Job is resumed again.A simple case is to create one Job object in order to reliably run one Pod to completion. The Job object will start a new Pod if the first Pod fails or is deleted (for example due to a node hardware failure or a node reboot).You can also use a Job to run multiple Pods in parallel.If you want to run a Job (either a single task, or several in parallel) on a schedule, see CronJob.Running an example JobHere is an example Job config. It computes π to 2000 places and prints it out. It takes around 10s to complete.controllers/job.yaml apiVersion: batch/v1 kind: Job metadata: name: pi spec: template: spec: containers: - name: pi image: perl:5.34.0 command: [\"perl\", \"-Mbignum=bpi\", \"-wle\", \"print bpi(2000)\"] restartPolicy: Never backoffLimit: 4 You can run the example with this command:kubectl apply -f https://kubernetes.io/examples/controllers/job.yaml The output is similar to this:job.batch/pi created Check on the status of the Job with kubectl: Name: pi Namespace: default Selector: batch.kubernetes.io/controller-uid=c9948307-e56d-4b5d-8302-ae2d7b7da67c Labels: batch.kubernetes.io/controller-uid=c9948307-e56d-4b5d-8302-ae2d7b7da67c batch.kubernetes.io/job-name=pi ... Annotations: batch.kubernetes.io/job-tracking: \"\" Parallelism: 1 Completions: 1 Start Time: Mon, 02 Dec 2019 15:20:11 +0200 Completed At: Mon, 02 Dec 2019 15:21:16 +0200 Duration: 65s Pods Statuses: 0 Running / 1 Succeeded / 0 Failed Pod Template: Labels: batch.kubernetes.io/controller-uid=c9948307-e56d-4b5d-8302-ae2d7b7da67c batch.kubernetes.io/job-name=pi Containers: pi: Image: perl:5.34.0 Port: <none> Host Port: <none> Command: perl -Mbignum=bpi -wle print bpi(2000) Environment: <none> Mounts: <none> Volumes: <none> Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal SuccessfulCreate 21s job-controller Created pod: pi-xf9p4 Normal Completed 18s job-controller Job completed apiVersion: batch/v1 kind: Job metadata: annotations: batch.kubernetes.io/job-tracking: \"\" ... creationTimestamp: \"2022-11-10T17:53:53Z\" generation: 1 labels: batch.kubernetes.io/controller-uid: 863452e6-270d-420e-9b94-53a54146c223 batch.kubernetes.io/job-name: pi name: pi namespace: default resourceVersion: \"4751\" uid: 204fb678-040b-497f-9266-35ffa8716d14 spec: backoffLimit: 4 completionMode: NonIndexed completions: 1 parallelism: 1 selector: matchLabels: batch.kubernetes.io/controller-uid: 863452e6-270d-420e-9b94-53a54146c223 suspend: false template: metadata: creationTimestamp: null labels: batch.kubern",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_qa_7042"
  },
  {
    "question": "When would you use Jobs?",
    "answer": "JobsJobs represent one-off tasks that run to completion and then stop.A Job creates one or more Pods and will continue to retry execution of the Pods until a specified number of them successfully terminate. As pods successfully complete, the Job tracks the successful completions. When a specified number of successful completions is reached, the task (ie, Job) is complete. Deleting a Job will clean up the Pods it created. Suspending a Job will delete its active Pods until the Job is resumed again.A simple case is to create one Job object in order to reliably run one Pod to completion. The Job object will start a new Pod if the first Pod fails or is deleted (for example due to a node hardware failure or a node reboot).You can also use a Job to run multiple Pods in parallel.If you want to run a Job (either a single task, or several in parallel) on a schedule, see CronJob.Running an example JobHere is an example Job config. It computes π to 2000 places and prints it out. It takes around 10s to complete.controllers/job.yaml apiVersion: batch/v1 kind: Job metadata: name: pi spec: template: spec: containers: - name: pi image: perl:5.34.0 command: [\"perl\", \"-Mbignum=bpi\", \"-wle\", \"print bpi(2000)\"] restartPolicy: Never backoffLimit: 4 You can run the example with this command:kubectl apply -f https://kubernetes.io/examples/controllers/job.yaml The output is similar to this:job.batch/pi created Check on the status of the Job with kubectl: Name: pi Namespace: default Selector: batch.kubernetes.io/controller-uid=c9948307-e56d-4b5d-8302-ae2d7b7da67c Labels: batch.kubernetes.io/controller-uid=c9948307-e56d-4b5d-8302-ae2d7b7da67c batch.kubernetes.io/job-name=pi ... Annotations: batch.kubernetes.io/job-tracking: \"\" Parallelism: 1 Completions: 1 Start Time: Mon, 02 Dec 2019 15:20:11 +0200 Completed At: Mon, 02 Dec 2019 15:21:16 +0200 Duration: 65s Pods Statuses: 0 Running / 1 Succeeded / 0 Failed Pod Template: Labels: batch.kubernetes.io/controller-uid=c9948307-e56d-4b5d-8302-ae2d7b7da67c batch.kubernetes.io/job-name=pi Containers: pi: Image: perl:5.34.0 Port: <none> Host Port: <none> Command: perl -Mbignum=bpi -wle print bpi(2000) Environment: <none> Mounts: <none> Volumes: <none> Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal SuccessfulCreate 21s job-controller Created pod: pi-xf9p4 Normal Completed 18s job-controller Job completed apiVersion: batch/v1 kind: Job metadata: annotations: batch.kubernetes.io/job-tracking: \"\" ... creationTimestamp: \"2022-11-10T17:53:53Z\" generation: 1 labels: batch.kubernetes.io/controller-uid: 863452e6-270d-420e-9b94-53a54146c223 batch.kubernetes.io/job-name: pi name: pi namespace: default resourceVersion: \"4751\" uid: 204fb678-040b-497f-9266-35ffa8716d14 spec: backoffLimit: 4 completionMode: NonIndexed completions: 1 parallelism: 1 selector: matchLabels: batch.kubernetes.io/controller-uid: 863452e6-270d-420e-9b94-53a54146c223 suspend: false template: metadata: creationTimestamp: null labels: batch.kubern",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_qa_7043"
  },
  {
    "question": "What are the benefits of Jobs?",
    "answer": "JobsJobs represent one-off tasks that run to completion and then stop.A Job creates one or more Pods and will continue to retry execution of the Pods until a specified number of them successfully terminate. As pods successfully complete, the Job tracks the successful completions. When a specified number of successful completions is reached, the task (ie, Job) is complete. Deleting a Job will clean up the Pods it created. Suspending a Job will delete its active Pods until the Job is resumed again.A simple case is to create one Job object in order to reliably run one Pod to completion. The Job object will start a new Pod if the first Pod fails or is deleted (for example due to a node hardware failure or a node reboot).You can also use a Job to run multiple Pods in parallel.If you want to run a Job (either a single task, or several in parallel) on a schedule, see CronJob.Running an example JobHere is an example Job config. It computes π to 2000 places and prints it out. It takes around 10s to complete.controllers/job.yaml apiVersion: batch/v1 kind: Job metadata: name: pi spec: template: spec: containers: - name: pi image: perl:5.34.0 command: [\"perl\", \"-Mbignum=bpi\", \"-wle\", \"print bpi(2000)\"] restartPolicy: Never backoffLimit: 4 You can run the example with this command:kubectl apply -f https://kubernetes.io/examples/controllers/job.yaml The output is similar to this:job.batch/pi created Check on the status of the Job with kubectl: Name: pi Namespace: default Selector: batch.kubernetes.io/controller-uid=c9948307-e56d-4b5d-8302-ae2d7b7da67c Labels: batch.kubernetes.io/controller-uid=c9948307-e56d-4b5d-8302-ae2d7b7da67c batch.kubernetes.io/job-name=pi ... Annotations: batch.kubernetes.io/job-tracking: \"\" Parallelism: 1 Completions: 1 Start Time: Mon, 02 Dec 2019 15:20:11 +0200 Completed At: Mon, 02 Dec 2019 15:21:16 +0200 Duration: 65s Pods Statuses: 0 Running / 1 Succeeded / 0 Failed Pod Template: Labels: batch.kubernetes.io/controller-uid=c9948307-e56d-4b5d-8302-ae2d7b7da67c batch.kubernetes.io/job-name=pi Containers: pi: Image: perl:5.34.0 Port: <none> Host Port: <none> Command: perl -Mbignum=bpi -wle print bpi(2000) Environment: <none> Mounts: <none> Volumes: <none> Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal SuccessfulCreate 21s job-controller Created pod: pi-xf9p4 Normal Completed 18s job-controller Job completed apiVersion: batch/v1 kind: Job metadata: annotations: batch.kubernetes.io/job-tracking: \"\" ... creationTimestamp: \"2022-11-10T17:53:53Z\" generation: 1 labels: batch.kubernetes.io/controller-uid: 863452e6-270d-420e-9b94-53a54146c223 batch.kubernetes.io/job-name: pi name: pi namespace: default resourceVersion: \"4751\" uid: 204fb678-040b-497f-9266-35ffa8716d14 spec: backoffLimit: 4 completionMode: NonIndexed completions: 1 parallelism: 1 selector: matchLabels: batch.kubernetes.io/controller-uid: 863452e6-270d-420e-9b94-53a54146c223 suspend: false template: metadata: creationTimestamp: null labels: batch.kubern",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_qa_7044"
  },
  {
    "question": "What is Jobs?",
    "answer": "A   J o b   c r e a t e s   o n e   o r   m o r e   P o d s   a n d   w i l l   c o n t i n u e   t o   r e t r y   e x e c u t i o n   o f   t h e   P o d s   u n t i l   a   s p e c i f i e d   n u m b e r   o f   t h e m   s u c c e s s f u l l y   t e r m i n a t e .   A s   p o d s   s u c c e s s f u l l y   c o m p l e t e ,   t h e   J o b   t r a c k s   t h e   s u c c e s s f u l   c o m p l e t i o n s .   W h e n   a   s p e c i f i e d   n u m b e r   o f   s u c c e s s f u l   c o m p l e t i o n s   i s   r e a c h e d ,   t h e   t a s k   ( i e ,   J o b )   i s   c o m p l e t e .   D e l e t i n g   a   J o b   w i l l   c l e a n   u p   t h e   P o d s   i t   c r e a t e d .   S u s p e n d i n g   a   J o b   w i l l   d e l e t e   i t s   a c t i v e   P o d s   u n t i l   t h e   J o b   i s   r e s u m e d   a g a i n .   A   s i m p l e   c a s e   i s   t o   c r e a t e   o n e   J o b   o b j e c t   i n   o r d e r   t o   r e l i a b l y   r u n   o n e   P o d   t o   c o m p l e t i o n .   T h e   J o b   o b j e c t   w i l l   s t a r t   a   n e w   P o d   i f   t h e   f i r s t   P o d   f a i l s   o r   i s   d e l e t e d   ( f o r   e x a m p l e   d u e   t o   a   n o d e   h a r d w a r e   f a i l u r e   o r   a   n o d e   r e b o o t ) .   Y o u   c a n   a l s o   u s e   a   J o b   t o   r u n   m u l t i p l e   P o d s   i n   p a r a l l e l .   I f   y o u   w a n t   t o   r u n   a   J o b   ( e i t h e r   a   s i n g l e   t a s k ,   o r   s e v e r a l   i n   p a r a l l e l )   o n   a   s c h e d u l e ,   s e e   C r o n J o b .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_1_7045"
  },
  {
    "question": "What is Running an example Job?",
    "answer": "H e r e   i s   a n   e x a m p l e   J o b   c o n f i g .   I t   c o m p u t e s   π   t o   2 0 0 0   p l a c e s   a n d   p r i n t s   i t   o u t .   I t   t a k e s   a r o u n d   1 0 s   t o   c o m p l e t e .   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   p i   s p e c :   t e m p l a t e :   s p e c :   c o n t a i n e r s :   -   n a m e :   p i   i m a g e :   p e r l : 5 . 3 4 . 0   c o m m a n d :   [ \" p e r l \" ,   \" - M b i g n u m = b p i \" ,   \" - w l e \" ,   \" p r i n t   b p i ( 2 0 0 0 ) \" ]   r e s t a r t P o l i c y :   N e v e r   b a c k o f f L i m i t :   4   Y o u   c a n   r u n   t h e   e x a m p l e   w i t h   t h i s   c o m m a n d :   k u b e c t l   a p p l y   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / c o n t r o l l e r s / j o b . y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   j o b . b a t c h / p i   c r e a t e d   C h e c k   o n   t h e   s t a t u s   o f   t h e   J o b   w i t h   k u b e c t l :   N a m e :   p i   N a m e s p a c e :   d e f a u l t   S e l e c t o r :   b a t c h . k u b e r n e t e s . i o / c o n t r o l l e r - u i d = c 9 9 4 8 3 0 7 - e 5 6 d - 4 b 5 d - 8 3 0 2 - a e 2 d 7 b 7 d a 6 7 c   L a b e l s :   b a t c h . k u b e r n e t e s . i o / c o n t r o l l e r - u i d = c 9 9 4 8 3 0 7 - e 5 6 d - 4 b 5 d - 8 3 0 2 - a e 2 d 7 b 7 d a 6 7 c   b a t c h . k u b e r n e t e s . i o / j o b - n a m e = p i   . . .   A n n o t a t i o n s :   b a t c h . k u b e r n e t e s . i o / j o b - t r a c k i n g :   \" \"   P a r a l l e l i s m :   1   C o m p l e t i o n s :   1   S t a r t   T i m e :   M o n ,   0 2   D e c   2 0 1 9   1 5 : 2 0 : 1 1   + 0 2 0 0   C o m p l e t e d   A t :   M o n ,   0 2   D e c   2 0 1 9   1 5 : 2 1 : 1 6   + 0 2 0 0   D u r a t i o n :   6 5 s   P o d s   S t a t u s e s :   0   R u n n i n g   /   1   S u c c e e d e d   /   0   F a i l e d   P o d   T e m ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_2_7046"
  },
  {
    "question": "What is Writing a Job spec?",
    "answer": "A s   w i t h   a l l   o t h e r   K u b e r n e t e s   c o n f i g ,   a   J o b   n e e d s   a p i V e r s i o n ,   k i n d ,   a n d   m e t a d a t a   f i e l d s .   W h e n   t h e   c o n t r o l   p l a n e   c r e a t e s   n e w   P o d s   f o r   a   J o b ,   t h e   . m e t a d a t a . n a m e   o f   t h e   J o b   i s   p a r t   o f   t h e   b a s i s   f o r   n a m i n g   t h o s e   P o d s .   T h e   n a m e   o f   a   J o b   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   v a l u e ,   b u t   t h i s   c a n   p r o d u c e   u n e x p e c t e d   r e s u l t s   f o r   t h e   P o d   h o s t n a m e s .   F o r   b e s t   c o m p a t i b i l i t y ,   t h e   n a m e   s h o u l d   f o l l o w   t h e   m o r e   r e s t r i c t i v e   r u l e s   f o r   a   D N S   l a b e l .   E v e n   w h e n   t h e   n a m e   i s   a   D N S   s u b d o m a i n ,   t h e   n a m e   m u s t   b e   n o   l o n g e r   t h a n   6 3   c h a r a c t e r s .   A   J o b   a l s o   n e e d s   a   . s p e c   s e c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_2_7047"
  },
  {
    "question": "What is Job Labels?",
    "answer": "J o b   l a b e l s   w i l l   h a v e   b a t c h . k u b e r n e t e s . i o /   p r e f i x   f o r   j o b - n a m e   a n d   c o n t r o l l e r - u i d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_3_7048"
  },
  {
    "question": "What is Pod Template?",
    "answer": "T h e   . s p e c . t e m p l a t e   i s   t h e   o n l y   r e q u i r e d   f i e l d   o f   t h e   . s p e c .   T h e   . s p e c . t e m p l a t e   i s   a   p o d   t e m p l a t e .   I t   h a s   e x a c t l y   t h e   s a m e   s c h e m a   a s   a   P o d ,   e x c e p t   i t   i s   n e s t e d   a n d   d o e s   n o t   h a v e   a n   a p i V e r s i o n   o r   k i n d .   I n   a d d i t i o n   t o   r e q u i r e d   f i e l d s   f o r   a   P o d ,   a   p o d   t e m p l a t e   i n   a   J o b   m u s t   s p e c i f y   a p p r o p r i a t e   l a b e l s   ( s e e   p o d   s e l e c t o r )   a n d   a n   a p p r o p r i a t e   r e s t a r t   p o l i c y .   O n l y   a   R e s t a r t P o l i c y   e q u a l   t o   N e v e r   o r   O n F a i l u r e   i s   a l l o w e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_3_7049"
  },
  {
    "question": "What is Pod selector?",
    "answer": "T h e   . s p e c . s e l e c t o r   f i e l d   i s   o p t i o n a l .   I n   a l m o s t   a l l   c a s e s   y o u   s h o u l d   n o t   s p e c i f y   i t .   S e e   s e c t i o n   s p e c i f y i n g   y o u r   o w n   p o d   s e l e c t o r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_3_7050"
  },
  {
    "question": "What is Parallel execution for Jobs?",
    "answer": "T h e r e   a r e   t h r e e   m a i n   t y p e s   o f   t a s k   s u i t a b l e   t o   r u n   a s   a   J o b :   N o n - p a r a l l e l   J o b s n o r m a l l y ,   o n l y   o n e   P o d   i s   s t a r t e d ,   u n l e s s   t h e   P o d   f a i l s . t h e   J o b   i s   c o m p l e t e   a s   s o o n   a s   i t s   P o d   t e r m i n a t e s   s u c c e s s f u l l y . P a r a l l e l   J o b s   w i t h   a   f i x e d   c o m p l e t i o n   c o u n t : s p e c i f y   a   n o n - z e r o   p o s i t i v e   v a l u e   f o r   . s p e c . c o m p l e t i o n s . t h e   J o b   r e p r e s e n t s   t h e   o v e r a l l   t a s k ,   a n d   i s   c o m p l e t e   w h e n   t h e r e   a r e   . s p e c . c o m p l e t i o n s   s u c c e s s f u l   P o d s . w h e n   u s i n g   . s p e c . c o m p l e t i o n M o d e = \" I n d e x e d \" ,   e a c h   P o d   g e t s   a   d i f f e r e n t   i n d e x   i n   t h e   r a n g e   0   t o   . s p e c . c o m p l e t i o n s - 1 . P a r a l l e l   J o b s   w i t h   a   w o r k   q u e u e : d o   n o t   s p e c i f y   . s p e c . c o m p l e t i o n s ,   d e f a u l t   t o   . s p e c . p a r a l l e l i s m . t h e   P o d s   m u s t   c o o r d i n a t e   a m o n g s t   t h e m s e l v e s   o r   a n   e x t e r n a l   s e r v i c e   t o   d e t e r m i n e   w h a t   e a c h   s h o u l d   w o r k   o n .   F o r   e x a m p l e ,   a   P o d   m i g h t   f e t c h   a   b a t c h   o f   u p   t o   N   i t e m s   f r o m   t h e   w o r k   q u e u e . e a c h   P o d   i s   i n d e p e n d e n t l y   c a p a b l e   o f   d e t e r m i n i n g   w h e t h e r   o r   n o t   a l l   i t s   p e e r s   a r e   d o n e ,   a n d   t h u s   t h a t   t h e   e n t i r e   J o b   i s   d o n e . w h e n   a n y   P o d   f r o m   t h e   J o b   t e r m i n a t e s   w i t h   s u c c e s s ,   n o   n e w   P o d s   a r e   c r e a t e d . o n c e   a t   l e a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_3_7051"
  },
  {
    "question": "What is Controlling parallelism?",
    "answer": "T h e   r e q u e s t e d   p a r a l l e l i s m   ( . s p e c . p a r a l l e l i s m )   c a n   b e   s e t   t o   a n y   n o n - n e g a t i v e   v a l u e .   I f   i t   i s   u n s p e c i f i e d ,   i t   d e f a u l t s   t o   1 .   I f   i t   i s   s p e c i f i e d   a s   0 ,   t h e n   t h e   J o b   i s   e f f e c t i v e l y   p a u s e d   u n t i l   i t   i s   i n c r e a s e d .   A c t u a l   p a r a l l e l i s m   ( n u m b e r   o f   p o d s   r u n n i n g   a t   a n y   i n s t a n t )   m a y   b e   m o r e   o r   l e s s   t h a n   r e q u e s t e d   p a r a l l e l i s m ,   f o r   a   v a r i e t y   o f   r e a s o n s :   F o r   f i x e d   c o m p l e t i o n   c o u n t   J o b s ,   t h e   a c t u a l   n u m b e r   o f   p o d s   r u n n i n g   i n   p a r a l l e l   w i l l   n o t   e x c e e d   t h e   n u m b e r   o f   r e m a i n i n g   c o m p l e t i o n s .   H i g h e r   v a l u e s   o f   . s p e c . p a r a l l e l i s m   a r e   e f f e c t i v e l y   i g n o r e d . F o r   w o r k   q u e u e   J o b s ,   n o   n e w   P o d s   a r e   s t a r t e d   a f t e r   a n y   P o d   h a s   s u c c e e d e d   - -   r e m a i n i n g   P o d s   a r e   a l l o w e d   t o   c o m p l e t e ,   h o w e v e r . I f   t h e   J o b   C o n t r o l l e r   h a s   n o t   h a d   t i m e   t o   r e a c t . I f   t h e   J o b   c o n t r o l l e r   f a i l e d   t o   c r e a t e   P o d s   f o r   a n y   r e a s o n   ( l a c k   o f   R e s o u r c e Q u o t a ,   l a c k   o f   p e r m i s s i o n ,   e t c . ) ,   t h e n   t h e r e   m a y   b e   f e w e r   p o d s   t h a n   r e q u e s t e d . T h e   J o b   c o n t r o l l e r   m a y   t h r o t t l e   n e w   P o d   c r e a t i o n   d u e   t o   e x c e s s i v e   p r e v i o u s   p o d   f a i l u r e s   i n   t h e   s a m e   J o b . W h e n   a   P o d   i s   g r a c e f u l l y   s h u t   d o w n ,   i t   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_4_7052"
  },
  {
    "question": "What is Completion mode?",
    "answer": "J o b s   w i t h   f i x e d   c o m p l e t i o n   c o u n t   -   t h a t   i s ,   j o b s   t h a t   h a v e   n o n   n u l l   . s p e c . c o m p l e t i o n s   -   c a n   h a v e   a   c o m p l e t i o n   m o d e   t h a t   i s   s p e c i f i e d   i n   . s p e c . c o m p l e t i o n M o d e :   N o n I n d e x e d   ( d e f a u l t ) :   t h e   J o b   i s   c o n s i d e r e d   c o m p l e t e   w h e n   t h e r e   h a v e   b e e n   . s p e c . c o m p l e t i o n s   s u c c e s s f u l l y   c o m p l e t e d   P o d s .   I n   o t h e r   w o r d s ,   e a c h   P o d   c o m p l e t i o n   i s   h o m o l o g o u s   t o   e a c h   o t h e r .   N o t e   t h a t   J o b s   t h a t   h a v e   n u l l   . s p e c . c o m p l e t i o n s   a r e   i m p l i c i t l y   N o n I n d e x e d . I n d e x e d :   t h e   P o d s   o f   a   J o b   g e t   a n   a s s o c i a t e d   c o m p l e t i o n   i n d e x   f r o m   0   t o   . s p e c . c o m p l e t i o n s - 1 .   T h e   i n d e x   i s   a v a i l a b l e   t h r o u g h   f o u r   m e c h a n i s m s : T h e   P o d   a n n o t a t i o n   b a t c h . k u b e r n e t e s . i o / j o b - c o m p l e t i o n - i n d e x . T h e   P o d   l a b e l   b a t c h . k u b e r n e t e s . i o / j o b - c o m p l e t i o n - i n d e x   ( f o r   v 1 . 2 8   a n d   l a t e r ) .   N o t e   t h e   f e a t u r e   g a t e   P o d I n d e x L a b e l   m u s t   b e   e n a b l e d   t o   u s e   t h i s   l a b e l ,   a n d   i t   i s   e n a b l e d   b y   d e f a u l t . A s   p a r t   o f   t h e   P o d   h o s t n a m e ,   f o l l o w i n g   t h e   p a t t e r n   $ ( j o b - n a m e ) - $ ( i n d e x ) .   W h e n   y o u   u s e   a n   I n d e x e d   J o b   i n   c o m b i n a t i o n   w i t h   a   S e r v i c e ,   P o d s   w i t h i n   t h e   J o b   c a n   u s e   t h e   d e t e r m i n i s t i c   h o s t n a m e s   t o   a d d r e s s   e a c h   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_3_7053"
  },
  {
    "question": "What is Handling Pod and container failures?",
    "answer": "A   c o n t a i n e r   i n   a   P o d   m a y   f a i l   f o r   a   n u m b e r   o f   r e a s o n s ,   s u c h   a s   b e c a u s e   t h e   p r o c e s s   i n   i t   e x i t e d   w i t h   a   n o n - z e r o   e x i t   c o d e ,   o r   t h e   c o n t a i n e r   w a s   k i l l e d   f o r   e x c e e d i n g   a   m e m o r y   l i m i t ,   e t c .   I f   t h i s   h a p p e n s ,   a n d   t h e   . s p e c . t e m p l a t e . s p e c . r e s t a r t P o l i c y   =   \" O n F a i l u r e \" ,   t h e n   t h e   P o d   s t a y s   o n   t h e   n o d e ,   b u t   t h e   c o n t a i n e r   i s   r e - r u n .   T h e r e f o r e ,   y o u r   p r o g r a m   n e e d s   t o   h a n d l e   t h e   c a s e   w h e n   i t   i s   r e s t a r t e d   l o c a l l y ,   o r   e l s e   s p e c i f y   . s p e c . t e m p l a t e . s p e c . r e s t a r t P o l i c y   =   \" N e v e r \" .   S e e   p o d   l i f e c y c l e   f o r   m o r e   i n f o r m a t i o n   o n   r e s t a r t P o l i c y .   A n   e n t i r e   P o d   c a n   a l s o   f a i l ,   f o r   a   n u m b e r   o f   r e a s o n s ,   s u c h   a s   w h e n   t h e   p o d   i s   k i c k e d   o f f   t h e   n o d e   ( n o d e   i s   u p g r a d e d ,   r e b o o t e d ,   d e l e t e d ,   e t c . ) ,   o r   i f   a   c o n t a i n e r   o f   t h e   P o d   f a i l s   a n d   t h e   . s p e c . t e m p l a t e . s p e c . r e s t a r t P o l i c y   =   \" N e v e r \" .   W h e n   a   P o d   f a i l s ,   t h e n   t h e   J o b   c o n t r o l l e r   s t a r t s   a   n e w   P o d .   T h i s   m e a n s   t h a t   y o u r   a p p l i c a t i o n   n e e d s   t o   h a n d l e   t h e   c a s e   w h e n   i t   i s   r e s t a r t e d   i n   a   n e w   p o d .   I n   p a r t i c u l a r ,   i t   n e e d s   t o   h a n d l e   t e m p o r a r y   f i l e s ,   l o c k s ,   i n c o m p l e t e   o u t p u t   a n d   t h e   l i k e   c a u s e d   b y ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_2_7054"
  },
  {
    "question": "What is Pod backoff failure policy?",
    "answer": "T h e r e   a r e   s i t u a t i o n s   w h e r e   y o u   w a n t   t o   f a i l   a   J o b   a f t e r   s o m e   a m o u n t   o f   r e t r i e s   d u e   t o   a   l o g i c a l   e r r o r   i n   c o n f i g u r a t i o n   e t c .   T o   d o   s o ,   s e t   . s p e c . b a c k o f f L i m i t   t o   s p e c i f y   t h e   n u m b e r   o f   r e t r i e s   b e f o r e   c o n s i d e r i n g   a   J o b   a s   f a i l e d .   T h e   . s p e c . b a c k o f f L i m i t   i s   s e t   b y   d e f a u l t   t o   6 ,   u n l e s s   t h e   b a c k o f f   l i m i t   p e r   i n d e x   ( o n l y   I n d e x e d   J o b )   i s   s p e c i f i e d .   W h e n   . s p e c . b a c k o f f L i m i t P e r I n d e x   i s   s p e c i f i e d ,   t h e n   . s p e c . b a c k o f f L i m i t   d e f a u l t s   t o   2 1 4 7 4 8 3 6 4 7   ( M a x I n t 3 2 ) .   F a i l e d   P o d s   a s s o c i a t e d   w i t h   t h e   J o b   a r e   r e c r e a t e d   b y   t h e   J o b   c o n t r o l l e r   w i t h   a n   e x p o n e n t i a l   b a c k - o f f   d e l a y   ( 1 0 s ,   2 0 s ,   4 0 s   . . . )   c a p p e d   a t   s i x   m i n u t e s .   T h e   n u m b e r   o f   r e t r i e s   i s   c a l c u l a t e d   i n   t w o   w a y s :   T h e   n u m b e r   o f   P o d s   w i t h   . s t a t u s . p h a s e   =   \" F a i l e d \" . W h e n   u s i n g   r e s t a r t P o l i c y   =   \" O n F a i l u r e \" ,   t h e   n u m b e r   o f   r e t r i e s   i n   a l l   t h e   c o n t a i n e r s   o f   P o d s   w i t h   . s t a t u s . p h a s e   e q u a l   t o   P e n d i n g   o r   R u n n i n g .   I f   e i t h e r   o f   t h e   c a l c u l a t i o n s   r e a c h e s   t h e   . s p e c . b a c k o f f L i m i t ,   t h e   J o b   i s   c o n s i d e r e d   f a i l e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_3_7055"
  },
  {
    "question": "What is Backoff limit per index?",
    "answer": "W h e n   y o u   r u n   a n   i n d e x e d   J o b ,   y o u   c a n   c h o o s e   t o   h a n d l e   r e t r i e s   f o r   p o d   f a i l u r e s   i n d e p e n d e n t l y   f o r   e a c h   i n d e x .   T o   d o   s o ,   s e t   t h e   . s p e c . b a c k o f f L i m i t P e r I n d e x   t o   s p e c i f y   t h e   m a x i m a l   n u m b e r   o f   p o d   f a i l u r e s   p e r   i n d e x .   W h e n   t h e   p e r - i n d e x   b a c k o f f   l i m i t   i s   e x c e e d e d   f o r   a n   i n d e x ,   K u b e r n e t e s   c o n s i d e r s   t h e   i n d e x   a s   f a i l e d   a n d   a d d s   i t   t o   t h e   . s t a t u s . f a i l e d I n d e x e s   f i e l d .   T h e   s u c c e e d e d   i n d e x e s ,   t h o s e   w i t h   a   s u c c e s s f u l l y   e x e c u t e d   p o d s ,   a r e   r e c o r d e d   i n   t h e   . s t a t u s . c o m p l e t e d I n d e x e s   f i e l d ,   r e g a r d l e s s   o f   w h e t h e r   y o u   s e t   t h e   b a c k o f f L i m i t P e r I n d e x   f i e l d .   N o t e   t h a t   a   f a i l i n g   i n d e x   d o e s   n o t   i n t e r r u p t   e x e c u t i o n   o f   o t h e r   i n d e x e s .   O n c e   a l l   i n d e x e s   f i n i s h   f o r   a   J o b   w h e r e   y o u   s p e c i f i e d   a   b a c k o f f   l i m i t   p e r   i n d e x ,   i f   a t   l e a s t   o n e   o f   t h o s e   i n d e x e s   d i d   f a i l ,   t h e   J o b   c o n t r o l l e r   m a r k s   t h e   o v e r a l l   J o b   a s   f a i l e d ,   b y   s e t t i n g   t h e   F a i l e d   c o n d i t i o n   i n   t h e   s t a t u s .   T h e   J o b   g e t s   m a r k e d   a s   f a i l e d   e v e n   i f   s o m e ,   p o t e n t i a l l y   n e a r l y   a l l ,   o f   t h e   i n d e x e s   w e r e   p r o c e s s e d   s u c c e s s f u l l y .   Y o u   c a n   a d d i t i o n a l l y   l i m i t   t h e   m a x i m a l   n u m b e r   o f   i n d e x e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_3_7056"
  },
  {
    "question": "What is Pod failure policy?",
    "answer": "A   P o d   f a i l u r e   p o l i c y ,   d e f i n e d   w i t h   t h e   . s p e c . p o d F a i l u r e P o l i c y   f i e l d ,   e n a b l e s   y o u r   c l u s t e r   t o   h a n d l e   P o d   f a i l u r e s   b a s e d   o n   t h e   c o n t a i n e r   e x i t   c o d e s   a n d   t h e   P o d   c o n d i t i o n s .   I n   s o m e   s i t u a t i o n s ,   y o u   m a y   w a n t   t o   h a v e   a   b e t t e r   c o n t r o l   w h e n   h a n d l i n g   P o d   f a i l u r e s   t h a n   t h e   c o n t r o l   p r o v i d e d   b y   t h e   P o d   b a c k o f f   f a i l u r e   p o l i c y ,   w h i c h   i s   b a s e d   o n   t h e   J o b ' s   . s p e c . b a c k o f f L i m i t .   T h e s e   a r e   s o m e   e x a m p l e s   o f   u s e   c a s e s :   T o   o p t i m i z e   c o s t s   o f   r u n n i n g   w o r k l o a d s   b y   a v o i d i n g   u n n e c e s s a r y   P o d   r e s t a r t s ,   y o u   c a n   t e r m i n a t e   a   J o b   a s   s o o n   a s   o n e   o f   i t s   P o d s   f a i l s   w i t h   a n   e x i t   c o d e   i n d i c a t i n g   a   s o f t w a r e   b u g . T o   g u a r a n t e e   t h a t   y o u r   J o b   f i n i s h e s   e v e n   i f   t h e r e   a r e   d i s r u p t i o n s ,   y o u   c a n   i g n o r e   P o d   f a i l u r e s   c a u s e d   b y   d i s r u p t i o n s   ( s u c h   a s   p r e e m p t i o n ,   A P I - i n i t i a t e d   e v i c t i o n   o r   t a i n t - b a s e d   e v i c t i o n )   s o   t h a t   t h e y   d o n ' t   c o u n t   t o w a r d s   t h e   . s p e c . b a c k o f f L i m i t   l i m i t   o f   r e t r i e s .   Y o u   c a n   c o n f i g u r e   a   P o d   f a i l u r e   p o l i c y ,   i n   t h e   . s p e c . p o d F a i l u r e P o l i c y   f i e l d ,   t o   m e e t   t h e   a b o v e   u s e   c a s e s .   T h i s   p o l i c y   c a n   h a n d l e   P o d   f a i l u r e s   b a s e d   o n   t h e   c o n t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_3_7057"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   s e c o n d   r u l e   o f   t h e   P o d   f a i l u r e   p o l i c y ,   s p e c i f y i n g   t h e   I g n o r e   a c t i o n   f o r   f a i l e d   P o d s   w i t h   c o n d i t i o n   D i s r u p t i o n T a r g e t   e x c l u d e s   P o d   d i s r u p t i o n s   f r o m   b e i n g   c o u n t e d   t o w a r d s   t h e   . s p e c . b a c k o f f L i m i t   l i m i t   o f   r e t r i e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_4_7058"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e s e   a r e   s o m e   r e q u i r e m e n t s   a n d   s e m a n t i c s   o f   t h e   A P I :   i f   y o u   w a n t   t o   u s e   a   . s p e c . p o d F a i l u r e P o l i c y   f i e l d   f o r   a   J o b ,   y o u   m u s t   a l s o   d e f i n e   t h a t   J o b ' s   p o d   t e m p l a t e   w i t h   . s p e c . r e s t a r t P o l i c y   s e t   t o   N e v e r . t h e   P o d   f a i l u r e   p o l i c y   r u l e s   y o u   s p e c i f y   u n d e r   s p e c . p o d F a i l u r e P o l i c y . r u l e s   a r e   e v a l u a t e d   i n   o r d e r .   O n c e   a   r u l e   m a t c h e s   a   P o d   f a i l u r e ,   t h e   r e m a i n i n g   r u l e s   a r e   i g n o r e d .   W h e n   n o   r u l e   m a t c h e s   t h e   P o d   f a i l u r e ,   t h e   d e f a u l t   h a n d l i n g   a p p l i e s . y o u   m a y   w a n t   t o   r e s t r i c t   a   r u l e   t o   a   s p e c i f i c   c o n t a i n e r   b y   s p e c i f y i n g   i t s   n a m e   i n s p e c . p o d F a i l u r e P o l i c y . r u l e s [ * ] . o n E x i t C o d e s . c o n t a i n e r N a m e .   W h e n   n o t   s p e c i f i e d   t h e   r u l e   a p p l i e s   t o   a l l   c o n t a i n e r s .   W h e n   s p e c i f i e d ,   i t   s h o u l d   m a t c h   o n e   t h e   c o n t a i n e r   o r   i n i t C o n t a i n e r   n a m e s   i n   t h e   P o d   t e m p l a t e . y o u   m a y   s p e c i f y   t h e   a c t i o n   t a k e n   w h e n   a   P o d   f a i l u r e   p o l i c y   i s   m a t c h e d   b y   s p e c . p o d F a i l u r e P o l i c y . r u l e s [ * ] . a c t i o n .   P o s s i b l e   v a l u e s   a r e : F a i l J o b :   u s e   t o   i n d i c a t e   t h a t   t h e   P o d ' s   j o b   s h o u l d   b e   m a r k e d   a s   F a i l e d   a n d   a l l   r u n n i n g   P o d s   s h o u l d   b e   t e r m i n a t e d . I g n o r e :   u s e   t o   i n d i c a t e   t h a t   t h e   c o u ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_4_7059"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   y o u   u s e   t h e   p o d F a i l u r e P o l i c y ,   a n d   t h e   J o b   f a i l s   d u e   t o   t h e   p o d   m a t c h i n g   t h e   r u l e   w i t h   t h e   F a i l J o b   a c t i o n ,   t h e n   t h e   J o b   c o n t r o l l e r   t r i g g e r s   t h e   J o b   t e r m i n a t i o n   p r o c e s s   b y   a d d i n g   t h e   F a i l u r e T a r g e t   c o n d i t i o n .   F o r   m o r e   d e t a i l s ,   s e e   J o b   t e r m i n a t i o n   a n d   c l e a n u p .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_4_7060"
  },
  {
    "question": "What is Success policy?",
    "answer": "W h e n   c r e a t i n g   a n   I n d e x e d   J o b ,   y o u   c a n   d e f i n e   w h e n   a   J o b   c a n   b e   d e c l a r e d   a s   s u c c e e d e d   u s i n g   a   . s p e c . s u c c e s s P o l i c y ,   b a s e d   o n   t h e   p o d s   t h a t   s u c c e e d e d .   B y   d e f a u l t ,   a   J o b   s u c c e e d s   w h e n   t h e   n u m b e r   o f   s u c c e e d e d   P o d s   e q u a l s   . s p e c . c o m p l e t i o n s .   T h e s e   a r e   s o m e   s i t u a t i o n s   w h e r e   y o u   m i g h t   w a n t   a d d i t i o n a l   c o n t r o l   f o r   d e c l a r i n g   a   J o b   s u c c e e d e d :   W h e n   r u n n i n g   s i m u l a t i o n s   w i t h   d i f f e r e n t   p a r a m e t e r s ,   y o u   m i g h t   n o t   n e e d   a l l   t h e   s i m u l a t i o n s   t o   s u c c e e d   f o r   t h e   o v e r a l l   J o b   t o   b e   s u c c e s s f u l . W h e n   f o l l o w i n g   a   l e a d e r - w o r k e r   p a t t e r n ,   o n l y   t h e   s u c c e s s   o f   t h e   l e a d e r   d e t e r m i n e s   t h e   s u c c e s s   o r   f a i l u r e   o f   a   J o b .   E x a m p l e s   o f   t h i s   a r e   f r a m e w o r k s   l i k e   M P I   a n d   P y T o r c h   e t c .   Y o u   c a n   c o n f i g u r e   a   s u c c e s s   p o l i c y ,   i n   t h e   . s p e c . s u c c e s s P o l i c y   f i e l d ,   t o   m e e t   t h e   a b o v e   u s e   c a s e s .   T h i s   p o l i c y   c a n   h a n d l e   J o b   s u c c e s s   b a s e d   o n   t h e   s u c c e e d e d   p o d s .   A f t e r   t h e   J o b   m e e t s   t h e   s u c c e s s   p o l i c y ,   t h e   j o b   c o n t r o l l e r   t e r m i n a t e s   t h e   l i n g e r i n g   P o d s .   A   s u c c e s s   p o l i c y   i s   d e f i n e d   b y   r u l e s .   E a c h   r u l e   c a n   t a k e   o n e   o f   t h e   f o l l o w i n g   f o r m s :   W h e n   y o u   s p e c i f y   t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_2_7061"
  },
  {
    "question": "What is Job termination and cleanup?",
    "answer": "W h e n   a   J o b   c o m p l e t e s ,   n o   m o r e   P o d s   a r e   c r e a t e d ,   b u t   t h e   P o d s   a r e   u s u a l l y   n o t   d e l e t e d   e i t h e r .   K e e p i n g   t h e m   a r o u n d   a l l o w s   y o u   t o   s t i l l   v i e w   t h e   l o g s   o f   c o m p l e t e d   p o d s   t o   c h e c k   f o r   e r r o r s ,   w a r n i n g s ,   o r   o t h e r   d i a g n o s t i c   o u t p u t .   T h e   j o b   o b j e c t   a l s o   r e m a i n s   a f t e r   i t   i s   c o m p l e t e d   s o   t h a t   y o u   c a n   v i e w   i t s   s t a t u s .   I t   i s   u p   t o   t h e   u s e r   t o   d e l e t e   o l d   j o b s   a f t e r   n o t i n g   t h e i r   s t a t u s .   D e l e t e   t h e   j o b   w i t h   k u b e c t l   ( e . g .   k u b e c t l   d e l e t e   j o b s / p i   o r   k u b e c t l   d e l e t e   - f   . / j o b . y a m l ) .   W h e n   y o u   d e l e t e   t h e   j o b   u s i n g   k u b e c t l ,   a l l   t h e   p o d s   i t   c r e a t e d   a r e   d e l e t e d   t o o .   B y   d e f a u l t ,   a   J o b   w i l l   r u n   u n i n t e r r u p t e d   u n l e s s   a   P o d   f a i l s   ( r e s t a r t P o l i c y = N e v e r )   o r   a   C o n t a i n e r   e x i t s   i n   e r r o r   ( r e s t a r t P o l i c y = O n F a i l u r e ) ,   a t   w h i c h   p o i n t   t h e   J o b   d e f e r s   t o   t h e   . s p e c . b a c k o f f L i m i t   d e s c r i b e d   a b o v e .   O n c e   . s p e c . b a c k o f f L i m i t   h a s   b e e n   r e a c h e d   t h e   J o b   w i l l   b e   m a r k e d   a s   f a i l e d   a n d   a n y   r u n n i n g   P o d s   w i l l   b e   t e r m i n a t e d .   A n o t h e r   w a y   t o   t e r m i n a t e   a   J o b   i s   b y   s e t t i n g   a n   a c t i v e   d e a d l i n e .   D o   t h i s   b y   s e t t i n g   t h e   . s p e c . a c t i v e D e a d l i n e S e c o n d s   f i e l d   o f   t h e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_2_7062"
  },
  {
    "question": "What is Terminal Job conditions?",
    "answer": "A   J o b   h a s   t w o   p o s s i b l e   t e r m i n a l   s t a t e s ,   e a c h   o f   w h i c h   h a s   a   c o r r e s p o n d i n g   J o b   c o n d i t i o n :   S u c c e e d e d :   J o b   c o n d i t i o n   C o m p l e t e F a i l e d :   J o b   c o n d i t i o n   F a i l e d   J o b s   f a i l   f o r   t h e   f o l l o w i n g   r e a s o n s :   T h e   n u m b e r   o f   P o d   f a i l u r e s   e x c e e d e d   t h e   s p e c i f i e d   . s p e c . b a c k o f f L i m i t   i n   t h e   J o b   s p e c i f i c a t i o n .   F o r   d e t a i l s ,   s e e   P o d   b a c k o f f   f a i l u r e   p o l i c y . T h e   J o b   r u n t i m e   e x c e e d e d   t h e   s p e c i f i e d   . s p e c . a c t i v e D e a d l i n e S e c o n d s A n   i n d e x e d   J o b   t h a t   u s e d   . s p e c . b a c k o f f L i m i t P e r I n d e x   h a s   f a i l e d   i n d e x e s .   F o r   d e t a i l s ,   s e e   B a c k o f f   l i m i t   p e r   i n d e x . T h e   n u m b e r   o f   f a i l e d   i n d e x e s   i n   t h e   J o b   e x c e e d e d   t h e   s p e c i f i e d   s p e c . m a x F a i l e d I n d e x e s .   F o r   d e t a i l s ,   s e e   B a c k o f f   l i m i t   p e r   i n d e x A   f a i l e d   P o d   m a t c h e s   a   r u l e   i n   . s p e c . p o d F a i l u r e P o l i c y   t h a t   h a s   t h e   F a i l J o b   a c t i o n .   F o r   d e t a i l s   a b o u t   h o w   P o d   f a i l u r e   p o l i c y   r u l e s   m i g h t   a f f e c t   f a i l u r e   e v a l u a t i o n ,   s e e   P o d   f a i l u r e   p o l i c y .   J o b s   s u c c e e d   f o r   t h e   f o l l o w i n g   r e a s o n s :   T h e   n u m b e r   o f   s u c c e e d e d   P o d s   r e a c h e d   t h e   s p e c i f i e d   . s p e c . c o m p l e t i o n s T h e   c r i t e r i a   s p e c i f i e d   i n   . s p e c . s u c c e s s P o l i c y   a r e   m e t .   F o r   d e t a i l s ,   s e e   S ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_3_7063"
  },
  {
    "question": "What is Termination of Job pods?",
    "answer": "T h e   J o b   c o n t r o l l e r   a d d s   t h e   F a i l u r e T a r g e t   c o n d i t i o n   o r   t h e   S u c c e s s C r i t e r i a M e t   c o n d i t i o n   t o   t h e   J o b   t o   t r i g g e r   P o d   t e r m i n a t i o n   a f t e r   a   J o b   m e e t s   e i t h e r   t h e   s u c c e s s   o r   f a i l u r e   c r i t e r i a .   F a c t o r s   l i k e   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   m i g h t   i n c r e a s e   t h e   a m o u n t   o f   t i m e   f r o m   t h e   m o m e n t   t h a t   t h e   J o b   c o n t r o l l e r   a d d s   t h e   F a i l u r e T a r g e t   c o n d i t i o n   o r   t h e   S u c c e s s C r i t e r i a M e t   c o n d i t i o n   t o   t h e   m o m e n t   t h a t   a l l   o f   t h e   J o b   P o d s   t e r m i n a t e   a n d   t h e   J o b   c o n t r o l l e r   a d d s   a   t e r m i n a l   c o n d i t i o n   ( F a i l e d   o r   C o m p l e t e ) .   Y o u   c a n   u s e   t h e   F a i l u r e T a r g e t   o r   t h e   S u c c e s s C r i t e r i a M e t   c o n d i t i o n   t o   e v a l u a t e   w h e t h e r   t h e   J o b   h a s   f a i l e d   o r   s u c c e e d e d   w i t h o u t   h a v i n g   t o   w a i t   f o r   t h e   c o n t r o l l e r   t o   a d d   a   t e r m i n a l   c o n d i t i o n .   F o r   e x a m p l e ,   y o u   m i g h t   w a n t   t o   d e c i d e   w h e n   t o   c r e a t e   a   r e p l a c e m e n t   J o b   t h a t   r e p l a c e s   a   f a i l e d   J o b .   I f   y o u   r e p l a c e   t h e   f a i l e d   J o b   w h e n   t h e   F a i l u r e T a r g e t   c o n d i t i o n   a p p e a r s ,   y o u r   r e p l a c e m e n t   J o b   r u n s   s o o n e r ,   b u t   c o u l d   r e s u l t   i n   P o d s   f r o m   t h e   f a i l e d   a n d   t h e   r e p l a c e m e n t   J o b   r u n n i n g   a t   t h e   s a m e   t i m e ,   u s i n g   e x t r a   c o m p u t e   r e s o u ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_3_7064"
  },
  {
    "question": "What is Clean up finished jobs automatically?",
    "answer": "F i n i s h e d   J o b s   a r e   u s u a l l y   n o   l o n g e r   n e e d e d   i n   t h e   s y s t e m .   K e e p i n g   t h e m   a r o u n d   i n   t h e   s y s t e m   w i l l   p u t   p r e s s u r e   o n   t h e   A P I   s e r v e r .   I f   t h e   J o b s   a r e   m a n a g e d   d i r e c t l y   b y   a   h i g h e r   l e v e l   c o n t r o l l e r ,   s u c h   a s   C r o n J o b s ,   t h e   J o b s   c a n   b e   c l e a n e d   u p   b y   C r o n J o b s   b a s e d   o n   t h e   s p e c i f i e d   c a p a c i t y - b a s e d   c l e a n u p   p o l i c y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_2_7065"
  },
  {
    "question": "What is TTL mechanism for finished Jobs?",
    "answer": "A n o t h e r   w a y   t o   c l e a n   u p   f i n i s h e d   J o b s   ( e i t h e r   C o m p l e t e   o r   F a i l e d )   a u t o m a t i c a l l y   i s   t o   u s e   a   T T L   m e c h a n i s m   p r o v i d e d   b y   a   T T L   c o n t r o l l e r   f o r   f i n i s h e d   r e s o u r c e s ,   b y   s p e c i f y i n g   t h e   . s p e c . t t l S e c o n d s A f t e r F i n i s h e d   f i e l d   o f   t h e   J o b .   W h e n   t h e   T T L   c o n t r o l l e r   c l e a n s   u p   t h e   J o b ,   i t   w i l l   d e l e t e   t h e   J o b   c a s c a d i n g l y ,   i . e .   d e l e t e   i t s   d e p e n d e n t   o b j e c t s ,   s u c h   a s   P o d s ,   t o g e t h e r   w i t h   t h e   J o b .   N o t e   t h a t   w h e n   t h e   J o b   i s   d e l e t e d ,   i t s   l i f e c y c l e   g u a r a n t e e s ,   s u c h   a s   f i n a l i z e r s ,   w i l l   b e   h o n o r e d .   F o r   e x a m p l e :   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   p i - w i t h - t t l   s p e c :   t t l S e c o n d s A f t e r F i n i s h e d :   1 0 0   t e m p l a t e :   s p e c :   c o n t a i n e r s :   -   n a m e :   p i   i m a g e :   p e r l : 5 . 3 4 . 0   c o m m a n d :   [ \" p e r l \" ,   \" - M b i g n u m = b p i \" ,   \" - w l e \" ,   \" p r i n t   b p i ( 2 0 0 0 ) \" ]   r e s t a r t P o l i c y :   N e v e r   T h e   J o b   p i - w i t h - t t l   w i l l   b e   e l i g i b l e   t o   b e   a u t o m a t i c a l l y   d e l e t e d ,   1 0 0   s e c o n d s   a f t e r   i t   f i n i s h e s .   I f   t h e   f i e l d   i s   s e t   t o   0 ,   t h e   J o b   w i l l   b e   e l i g i b l e   t o   b e   a u t o m a t i c a l l y   d e l e t e d   i m m e d i a t e l y   a f t e r   i t   f i n i s h e s .   I f   t h e   f i e l d   i s   u n s e t ,   t h i s   J o b   w o n ' t   b e   c l e a n e d   u p   b y   t h e   T T L   c o n t r o l l e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_3_7066"
  },
  {
    "question": "What is Note:?",
    "answer": "I t   i s   r e c o m m e n d e d   t o   s e t   t t l S e c o n d s A f t e r F i n i s h e d   f i e l d   b e c a u s e   u n m a n a g e d   j o b s   ( J o b s   t h a t   y o u   c r e a t e d   d i r e c t l y ,   a n d   n o t   i n d i r e c t l y   t h r o u g h   o t h e r   w o r k l o a d   A P I s   s u c h   a s   C r o n J o b )   h a v e   a   d e f a u l t   d e l e t i o n   p o l i c y   o f   o r p h a n D e p e n d e n t s   c a u s i n g   P o d s   c r e a t e d   b y   a n   u n m a n a g e d   J o b   t o   b e   l e f t   a r o u n d   a f t e r   t h a t   J o b   i s   f u l l y   d e l e t e d .   E v e n   t h o u g h   t h e   c o n t r o l   p l a n e   e v e n t u a l l y   g a r b a g e   c o l l e c t s   t h e   P o d s   f r o m   a   d e l e t e d   J o b   a f t e r   t h e y   e i t h e r   f a i l   o r   c o m p l e t e ,   s o m e t i m e s   t h o s e   l i n g e r i n g   p o d s   m a y   c a u s e   c l u s t e r   p e r f o r m a n c e   d e g r a d a t i o n   o r   i n   w o r s t   c a s e   c a u s e   t h e   c l u s t e r   t o   g o   o f f l i n e   d u e   t o   t h i s   d e g r a d a t i o n .   Y o u   c a n   u s e   L i m i t R a n g e s   a n d   R e s o u r c e Q u o t a s   t o   p l a c e   a   c a p   o n   t h e   a m o u n t   o f   r e s o u r c e s   t h a t   a   p a r t i c u l a r   n a m e s p a c e   c a n   c o n s u m e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_4_7067"
  },
  {
    "question": "What is Job patterns?",
    "answer": "T h e   J o b   o b j e c t   c a n   b e   u s e d   t o   p r o c e s s   a   s e t   o f   i n d e p e n d e n t   b u t   r e l a t e d   w o r k   i t e m s .   T h e s e   m i g h t   b e   e m a i l s   t o   b e   s e n t ,   f r a m e s   t o   b e   r e n d e r e d ,   f i l e s   t o   b e   t r a n s c o d e d ,   r a n g e s   o f   k e y s   i n   a   N o S Q L   d a t a b a s e   t o   s c a n ,   a n d   s o   o n .   I n   a   c o m p l e x   s y s t e m ,   t h e r e   m a y   b e   m u l t i p l e   d i f f e r e n t   s e t s   o f   w o r k   i t e m s .   H e r e   w e   a r e   j u s t   c o n s i d e r i n g   o n e   s e t   o f   w o r k   i t e m s   t h a t   t h e   u s e r   w a n t s   t o   m a n a g e   t o g e t h e r   —   a   b a t c h   j o b .   T h e r e   a r e   s e v e r a l   d i f f e r e n t   p a t t e r n s   f o r   p a r a l l e l   c o m p u t a t i o n ,   e a c h   w i t h   s t r e n g t h s   a n d   w e a k n e s s e s .   T h e   t r a d e o f f s   a r e :   O n e   J o b   o b j e c t   f o r   e a c h   w o r k   i t e m ,   v e r s u s   a   s i n g l e   J o b   o b j e c t   f o r   a l l   w o r k   i t e m s .   O n e   J o b   p e r   w o r k   i t e m   c r e a t e s   s o m e   o v e r h e a d   f o r   t h e   u s e r   a n d   f o r   t h e   s y s t e m   t o   m a n a g e   l a r g e   n u m b e r s   o f   J o b   o b j e c t s .   A   s i n g l e   J o b   f o r   a l l   w o r k   i t e m s   i s   b e t t e r   f o r   l a r g e   n u m b e r s   o f   i t e m s . N u m b e r   o f   P o d s   c r e a t e d   e q u a l s   n u m b e r   o f   w o r k   i t e m s ,   v e r s u s   e a c h   P o d   c a n   p r o c e s s   m u l t i p l e   w o r k   i t e m s .   W h e n   t h e   n u m b e r   o f   P o d s   e q u a l s   t h e   n u m b e r   o f   w o r k   i t e m s ,   t h e   P o d s   t y p i c a l l y   r e q u i r e s   l e s s   m o d i f i c a t i o n   t o   e x i s t i n g   c o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_2_7068"
  },
  {
    "question": "What is Suspending a Job?",
    "answer": "W h e n   a   J o b   i s   c r e a t e d ,   t h e   J o b   c o n t r o l l e r   w i l l   i m m e d i a t e l y   b e g i n   c r e a t i n g   P o d s   t o   s a t i s f y   t h e   J o b ' s   r e q u i r e m e n t s   a n d   w i l l   c o n t i n u e   t o   d o   s o   u n t i l   t h e   J o b   i s   c o m p l e t e .   H o w e v e r ,   y o u   m a y   w a n t   t o   t e m p o r a r i l y   s u s p e n d   a   J o b ' s   e x e c u t i o n   a n d   r e s u m e   i t   l a t e r ,   o r   s t a r t   J o b s   i n   s u s p e n d e d   s t a t e   a n d   h a v e   a   c u s t o m   c o n t r o l l e r   d e c i d e   l a t e r   w h e n   t o   s t a r t   t h e m .   T o   s u s p e n d   a   J o b ,   y o u   c a n   u p d a t e   t h e   . s p e c . s u s p e n d   f i e l d   o f   t h e   J o b   t o   t r u e ;   l a t e r ,   w h e n   y o u   w a n t   t o   r e s u m e   i t   a g a i n ,   u p d a t e   i t   t o   f a l s e .   C r e a t i n g   a   J o b   w i t h   . s p e c . s u s p e n d   s e t   t o   t r u e   w i l l   c r e a t e   i t   i n   t h e   s u s p e n d e d   s t a t e .   W h e n   a   J o b   i s   r e s u m e d   f r o m   s u s p e n s i o n ,   i t s   . s t a t u s . s t a r t T i m e   f i e l d   w i l l   b e   r e s e t   t o   t h e   c u r r e n t   t i m e .   T h i s   m e a n s   t h a t   t h e   . s p e c . a c t i v e D e a d l i n e S e c o n d s   t i m e r   w i l l   b e   s t o p p e d   a n d   r e s e t   w h e n   a   J o b   i s   s u s p e n d e d   a n d   r e s u m e d .   W h e n   y o u   s u s p e n d   a   J o b ,   a n y   r u n n i n g   P o d s   t h a t   d o n ' t   h a v e   a   s t a t u s   o f   C o m p l e t e d   w i l l   b e   t e r m i n a t e d   w i t h   a   S I G T E R M   s i g n a l .   T h e   P o d ' s   g r a c e f u l   t e r m i n a t i o n   p e r i o d   w i l l   b e   h o n o r e d   a n d   y o u r   P o d   m u s t   h a n d l e   t h i s   s i g n a l   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_3_7069"
  },
  {
    "question": "What is Mutable Scheduling Directives?",
    "answer": "I n   m o s t   c a s e s ,   a   p a r a l l e l   j o b   w i l l   w a n t   t h e   p o d s   t o   r u n   w i t h   c o n s t r a i n t s ,   l i k e   a l l   i n   t h e   s a m e   z o n e ,   o r   a l l   e i t h e r   o n   G P U   m o d e l   x   o r   y   b u t   n o t   a   m i x   o f   b o t h .   T h e   s u s p e n d   f i e l d   i s   t h e   f i r s t   s t e p   t o w a r d s   a c h i e v i n g   t h o s e   s e m a n t i c s .   S u s p e n d   a l l o w s   a   c u s t o m   q u e u e   c o n t r o l l e r   t o   d e c i d e   w h e n   a   j o b   s h o u l d   s t a r t ;   H o w e v e r ,   o n c e   a   j o b   i s   u n s u s p e n d e d ,   a   c u s t o m   q u e u e   c o n t r o l l e r   h a s   n o   i n f l u e n c e   o n   w h e r e   t h e   p o d s   o f   a   j o b   w i l l   a c t u a l l y   l a n d .   T h i s   f e a t u r e   a l l o w s   u p d a t i n g   a   J o b ' s   s c h e d u l i n g   d i r e c t i v e s   b e f o r e   i t   s t a r t s ,   w h i c h   g i v e s   c u s t o m   q u e u e   c o n t r o l l e r s   t h e   a b i l i t y   t o   i n f l u e n c e   p o d   p l a c e m e n t   w h i l e   a t   t h e   s a m e   t i m e   o f f l o a d i n g   a c t u a l   p o d - t o - n o d e   a s s i g n m e n t   t o   k u b e - s c h e d u l e r .   T h i s   i s   a l l o w e d   o n l y   f o r   s u s p e n d e d   J o b s   t h a t   h a v e   n e v e r   b e e n   u n s u s p e n d e d   b e f o r e .   T h e   f i e l d s   i n   a   J o b ' s   p o d   t e m p l a t e   t h a t   c a n   b e   u p d a t e d   a r e   n o d e   a f f i n i t y ,   n o d e   s e l e c t o r ,   t o l e r a t i o n s ,   l a b e l s ,   a n n o t a t i o n s   a n d   s c h e d u l i n g   g a t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_3_7070"
  },
  {
    "question": "What is Specifying your own Pod selector?",
    "answer": "N o r m a l l y ,   w h e n   y o u   c r e a t e   a   J o b   o b j e c t ,   y o u   d o   n o t   s p e c i f y   . s p e c . s e l e c t o r .   T h e   s y s t e m   d e f a u l t i n g   l o g i c   a d d s   t h i s   f i e l d   w h e n   t h e   J o b   i s   c r e a t e d .   I t   p i c k s   a   s e l e c t o r   v a l u e   t h a t   w i l l   n o t   o v e r l a p   w i t h   a n y   o t h e r   j o b s .   H o w e v e r ,   i n   s o m e   c a s e s ,   y o u   m i g h t   n e e d   t o   o v e r r i d e   t h i s   a u t o m a t i c a l l y   s e t   s e l e c t o r .   T o   d o   t h i s ,   y o u   c a n   s p e c i f y   t h e   . s p e c . s e l e c t o r   o f   t h e   J o b .   B e   v e r y   c a r e f u l   w h e n   d o i n g   t h i s .   I f   y o u   s p e c i f y   a   l a b e l   s e l e c t o r   w h i c h   i s   n o t   u n i q u e   t o   t h e   p o d s   o f   t h a t   J o b ,   a n d   w h i c h   m a t c h e s   u n r e l a t e d   P o d s ,   t h e n   p o d s   o f   t h e   u n r e l a t e d   j o b   m a y   b e   d e l e t e d ,   o r   t h i s   J o b   m a y   c o u n t   o t h e r   P o d s   a s   c o m p l e t i n g   i t ,   o r   o n e   o r   b o t h   J o b s   m a y   r e f u s e   t o   c r e a t e   P o d s   o r   r u n   t o   c o m p l e t i o n .   I f   a   n o n - u n i q u e   s e l e c t o r   i s   c h o s e n ,   t h e n   o t h e r   c o n t r o l l e r s   ( e . g .   R e p l i c a t i o n C o n t r o l l e r )   a n d   t h e i r   P o d s   m a y   b e h a v e   i n   u n p r e d i c t a b l e   w a y s   t o o .   K u b e r n e t e s   w i l l   n o t   s t o p   y o u   f r o m   m a k i n g   a   m i s t a k e   w h e n   s p e c i f y i n g   . s p e c . s e l e c t o r .   H e r e   i s   a n   e x a m p l e   o f   a   c a s e   w h e n   y o u   m i g h t   w a n t   t o   u s e   t h i s   f e a t u r e .   S a y   J o b   o l d   i s   a l r e a d y   r u n n i n g .   Y o u   w a n t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_3_7071"
  },
  {
    "question": "What is Job tracking with finalizers?",
    "answer": "T h e   c o n t r o l   p l a n e   k e e p s   t r a c k   o f   t h e   P o d s   t h a t   b e l o n g   t o   a n y   J o b   a n d   n o t i c e s   i f   a n y   s u c h   P o d   i s   r e m o v e d   f r o m   t h e   A P I   s e r v e r .   T o   d o   t h a t ,   t h e   J o b   c o n t r o l l e r   c r e a t e s   P o d s   w i t h   t h e   f i n a l i z e r   b a t c h . k u b e r n e t e s . i o / j o b - t r a c k i n g .   T h e   c o n t r o l l e r   r e m o v e s   t h e   f i n a l i z e r   o n l y   a f t e r   t h e   P o d   h a s   b e e n   a c c o u n t e d   f o r   i n   t h e   J o b   s t a t u s ,   a l l o w i n g   t h e   P o d   t o   b e   r e m o v e d   b y   o t h e r   c o n t r o l l e r s   o r   u s e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_3_7072"
  },
  {
    "question": "What is Elastic Indexed Jobs?",
    "answer": "Y o u   c a n   s c a l e   I n d e x e d   J o b s   u p   o r   d o w n   b y   m u t a t i n g   b o t h   . s p e c . p a r a l l e l i s m   a n d   . s p e c . c o m p l e t i o n s   t o g e t h e r   s u c h   t h a t   . s p e c . p a r a l l e l i s m   = =   . s p e c . c o m p l e t i o n s .   W h e n   s c a l i n g   d o w n ,   K u b e r n e t e s   r e m o v e s   t h e   P o d s   w i t h   h i g h e r   i n d e x e s .   U s e   c a s e s   f o r   e l a s t i c   I n d e x e d   J o b s   i n c l u d e   b a t c h   w o r k l o a d s   w h i c h   r e q u i r e   s c a l i n g   a n   i n d e x e d   J o b ,   s u c h   a s   M P I ,   H o r o v o d ,   R a y ,   a n d   P y T o r c h   t r a i n i n g   j o b s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_3_7073"
  },
  {
    "question": "What is Delayed creation of replacement pods?",
    "answer": "B y   d e f a u l t ,   t h e   J o b   c o n t r o l l e r   r e c r e a t e s   P o d s   a s   s o o n   t h e y   e i t h e r   f a i l   o r   a r e   t e r m i n a t i n g   ( h a v e   a   d e l e t i o n   t i m e s t a m p ) .   T h i s   m e a n s   t h a t ,   a t   a   g i v e n   t i m e ,   w h e n   s o m e   o f   t h e   P o d s   a r e   t e r m i n a t i n g ,   t h e   n u m b e r   o f   r u n n i n g   P o d s   f o r   a   J o b   c a n   b e   g r e a t e r   t h a n   p a r a l l e l i s m   o r   g r e a t e r   t h a n   o n e   P o d   p e r   i n d e x   ( i f   y o u   a r e   u s i n g   a n   I n d e x e d   J o b ) .   Y o u   m a y   c h o o s e   t o   c r e a t e   r e p l a c e m e n t   P o d s   o n l y   w h e n   t h e   t e r m i n a t i n g   P o d   i s   f u l l y   t e r m i n a l   ( h a s   s t a t u s . p h a s e :   F a i l e d ) .   T o   d o   t h i s ,   s e t   t h e   . s p e c . p o d R e p l a c e m e n t P o l i c y :   F a i l e d .   T h e   d e f a u l t   r e p l a c e m e n t   p o l i c y   d e p e n d s   o n   w h e t h e r   t h e   J o b   h a s   a   p o d F a i l u r e P o l i c y   s e t .   W i t h   n o   P o d   f a i l u r e   p o l i c y   d e f i n e d   f o r   a   J o b ,   o m i t t i n g   t h e   p o d R e p l a c e m e n t P o l i c y   f i e l d   s e l e c t s   t h e   T e r m i n a t i n g O r F a i l e d   r e p l a c e m e n t   p o l i c y :   t h e   c o n t r o l   p l a n e   c r e a t e s   r e p l a c e m e n t   P o d s   i m m e d i a t e l y   u p o n   P o d   d e l e t i o n   ( a s   s o o n   a s   t h e   c o n t r o l   p l a n e   s e e s   t h a t   a   P o d   f o r   t h i s   J o b   h a s   d e l e t i o n T i m e s t a m p   s e t ) .   F o r   J o b s   w i t h   a   P o d   f a i l u r e   p o l i c y   s e t ,   t h e   d e f a u l t   p o d R e p l a c e m e n t P o l i c y   i s   F a i l e d ,   a n d   n o   o t h e r   v a l u e   i s   p e r m i t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_3_7074"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   f e a t u r e   a l l o w s   y o u   t o   d i s a b l e   t h e   b u i l t - i n   J o b   c o n t r o l l e r ,   f o r   a   s p e c i f i c   J o b ,   a n d   d e l e g a t e   r e c o n c i l i a t i o n   o f   t h e   J o b   t o   a n   e x t e r n a l   c o n t r o l l e r .   Y o u   i n d i c a t e   t h e   c o n t r o l l e r   t h a t   r e c o n c i l e s   t h e   J o b   b y   s e t t i n g   a   c u s t o m   v a l u e   f o r   t h e   s p e c . m a n a g e d B y   f i e l d   -   a n y   v a l u e   o t h e r   t h a n   k u b e r n e t e s . i o / j o b - c o n t r o l l e r .   T h e   v a l u e   o f   t h e   f i e l d   i s   i m m u t a b l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_4_7075"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   d e v e l o p i n g   a n   e x t e r n a l   J o b   c o n t r o l l e r   b e   a w a r e   t h a t   y o u r   c o n t r o l l e r   n e e d s   t o   o p e r a t e   i n   a   f a s h i o n   c o n f o r m a n t   w i t h   t h e   d e f i n i t i o n s   o f   t h e   A P I   s p e c   a n d   s t a t u s   f i e l d s   o f   t h e   J o b   o b j e c t .   P l e a s e   r e v i e w   t h e s e   i n   d e t a i l   i n   t h e   J o b   A P I .   W e   a l s o   r e c o m m e n d   t h a t   y o u   r u n   t h e   e 2 e   c o n f o r m a n c e   t e s t s   f o r   t h e   J o b   o b j e c t   t o   v e r i f y   y o u r   i m p l e m e n t a t i o n .   F i n a l l y ,   w h e n   d e v e l o p i n g   a n   e x t e r n a l   J o b   c o n t r o l l e r   m a k e   s u r e   i t   d o e s   n o t   u s e   t h e   b a t c h . k u b e r n e t e s . i o / j o b - t r a c k i n g   f i n a l i z e r ,   r e s e r v e d   f o r   t h e   b u i l t - i n   c o n t r o l l e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_4_7076"
  },
  {
    "question": "What is Bare Pods?",
    "answer": "W h e n   t h e   n o d e   t h a t   a   P o d   i s   r u n n i n g   o n   r e b o o t s   o r   f a i l s ,   t h e   p o d   i s   t e r m i n a t e d   a n d   w i l l   n o t   b e   r e s t a r t e d .   H o w e v e r ,   a   J o b   w i l l   c r e a t e   n e w   P o d s   t o   r e p l a c e   t e r m i n a t e d   o n e s .   F o r   t h i s   r e a s o n ,   w e   r e c o m m e n d   t h a t   y o u   u s e   a   J o b   r a t h e r   t h a n   a   b a r e   P o d ,   e v e n   i f   y o u r   a p p l i c a t i o n   r e q u i r e s   o n l y   a   s i n g l e   P o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_3_7077"
  },
  {
    "question": "What is Replication Controller?",
    "answer": "J o b s   a r e   c o m p l e m e n t a r y   t o   R e p l i c a t i o n   C o n t r o l l e r s .   A   R e p l i c a t i o n   C o n t r o l l e r   m a n a g e s   P o d s   w h i c h   a r e   n o t   e x p e c t e d   t o   t e r m i n a t e   ( e . g .   w e b   s e r v e r s ) ,   a n d   a   J o b   m a n a g e s   P o d s   t h a t   a r e   e x p e c t e d   t o   t e r m i n a t e   ( e . g .   b a t c h   t a s k s ) .   A s   d i s c u s s e d   i n   P o d   L i f e c y c l e ,   J o b   i s   o n l y   a p p r o p r i a t e   f o r   p o d s   w i t h   R e s t a r t P o l i c y   e q u a l   t o   O n F a i l u r e   o r   N e v e r .   ( N o t e :   I f   R e s t a r t P o l i c y   i s   n o t   s e t ,   t h e   d e f a u l t   v a l u e   i s   A l w a y s . )",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_3_7078"
  },
  {
    "question": "What is Single Job starts controller Pod?",
    "answer": "A n o t h e r   p a t t e r n   i s   f o r   a   s i n g l e   J o b   t o   c r e a t e   a   P o d   w h i c h   t h e n   c r e a t e s   o t h e r   P o d s ,   a c t i n g   a s   a   s o r t   o f   c u s t o m   c o n t r o l l e r   f o r   t h o s e   P o d s .   T h i s   a l l o w s   t h e   m o s t   f l e x i b i l i t y ,   b u t   m a y   b e   s o m e w h a t   c o m p l i c a t e d   t o   g e t   s t a r t e d   w i t h   a n d   o f f e r s   l e s s   i n t e g r a t i o n   w i t h   K u b e r n e t e s .   O n e   e x a m p l e   o f   t h i s   p a t t e r n   w o u l d   b e   a   J o b   w h i c h   s t a r t s   a   P o d   w h i c h   r u n s   a   s c r i p t   t h a t   i n   t u r n   s t a r t s   a   S p a r k   m a s t e r   c o n t r o l l e r   ( s e e   s p a r k   e x a m p l e ) ,   r u n s   a   s p a r k   d r i v e r ,   a n d   t h e n   c l e a n s   u p .   A n   a d v a n t a g e   o f   t h i s   a p p r o a c h   i s   t h a t   t h e   o v e r a l l   p r o c e s s   g e t s   t h e   c o m p l e t i o n   g u a r a n t e e   o f   a   J o b   o b j e c t ,   b u t   m a i n t a i n s   c o m p l e t e   c o n t r o l   o v e r   w h a t   P o d s   a r e   c r e a t e d   a n d   h o w   w o r k   i s   a s s i g n e d   t o   t h e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_3_7079"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   P o d s . R e a d   a b o u t   d i f f e r e n t   w a y s   o f   r u n n i n g   J o b s : C o a r s e   P a r a l l e l   P r o c e s s i n g   U s i n g   a   W o r k   Q u e u e F i n e   P a r a l l e l   P r o c e s s i n g   U s i n g   a   W o r k   Q u e u e U s e   a n   i n d e x e d   J o b   f o r   p a r a l l e l   p r o c e s s i n g   w i t h   s t a t i c   w o r k   a s s i g n m e n t C r e a t e   m u l t i p l e   J o b s   b a s e d   o n   a   t e m p l a t e :   P a r a l l e l   P r o c e s s i n g   u s i n g   E x p a n s i o n s F o l l o w   t h e   l i n k s   w i t h i n   C l e a n   u p   f i n i s h e d   j o b s   a u t o m a t i c a l l y   t o   l e a r n   m o r e   a b o u t   h o w   y o u r   c l u s t e r   c a n   c l e a n   u p   c o m p l e t e d   a n d   /   o r   f a i l e d   t a s k s . J o b   i s   p a r t   o f   t h e   K u b e r n e t e s   R E S T   A P I .   R e a d   t h e   J o b   o b j e c t   d e f i n i t i o n   t o   u n d e r s t a n d   t h e   A P I   f o r   j o b s . R e a d   a b o u t   C r o n J o b ,   w h i c h   y o u   c a n   u s e   t o   d e f i n e   a   s e r i e s   o f   J o b s   t h a t   w i l l   r u n   b a s e d   o n   a   s c h e d u l e ,   s i m i l a r   t o   t h e   U N I X   t o o l   c r o n . P r a c t i c e   h o w   t o   c o n f i g u r e   h a n d l i n g   o f   r e t r i a b l e   a n d   n o n - r e t r i a b l e   p o d   f a i l u r e s   u s i n g   p o d F a i l u r e P o l i c y ,   b a s e d   o n   t h e   s t e p - b y - s t e p   e x a m p l e s .   C o a r s e   P a r a l l e l   P r o c e s s i n g   U s i n g   a   W o r k   Q u e u e F i n e   P a r a l l e l   P r o c e s s i n g   U s i n g   a   W o r k   Q u e u e U s e   a n   i n d e x e d   J o b   f o r   p a r a l l e l   p r o c e s s i n g   w i t h   s t a t i c   w o r k   a s s i g n m e n t C r e a t e   m u l t i p l e   J o b s   b a s e d   o n   a   t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/job/",
    "id": "k8s_00374_section_2_7080"
  },
  {
    "question": "What is kubectl create poddisruptionbudget?",
    "answer": "kubectl create poddisruptionbudgetSynopsisCreate a pod disruption budget with the specified name, selector, and desired minimum available pods.kubectl create poddisruptionbudget NAME --selector=SELECTOR --min-available=N [--dry-run=server|client|none] Examples # Create a pod disruption budget named my-pdb that will select all pods with the app=rails label # and require at least one of them being available at any point in time kubectl create poddisruptionbudget my-pdb --selector=app=rails --min-available=1 # Create a pod disruption budget named my-pdb that will select all pods with the app=nginx label # and require at least half of the pods selected to be available at any point in time kubectl create pdb my-pdb --selector=app=nginx --min-available=50% Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for poddisruptionbudget--max-unavailable stringThe maximum number or percentage of unavailable pods this budget requires.--min-available stringThe minimum number or percentage of available pods this budget requires.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--selector stringA label selector to use for this budget. Only equality-based selector requirements are supported.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_poddisruptionbudget/",
    "id": "k8s_00375_qa_7081"
  },
  {
    "question": "How does kubectl create poddisruptionbudget work?",
    "answer": "kubectl create poddisruptionbudgetSynopsisCreate a pod disruption budget with the specified name, selector, and desired minimum available pods.kubectl create poddisruptionbudget NAME --selector=SELECTOR --min-available=N [--dry-run=server|client|none] Examples # Create a pod disruption budget named my-pdb that will select all pods with the app=rails label # and require at least one of them being available at any point in time kubectl create poddisruptionbudget my-pdb --selector=app=rails --min-available=1 # Create a pod disruption budget named my-pdb that will select all pods with the app=nginx label # and require at least half of the pods selected to be available at any point in time kubectl create pdb my-pdb --selector=app=nginx --min-available=50% Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for poddisruptionbudget--max-unavailable stringThe maximum number or percentage of unavailable pods this budget requires.--min-available stringThe minimum number or percentage of available pods this budget requires.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--selector stringA label selector to use for this budget. Only equality-based selector requirements are supported.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_poddisruptionbudget/",
    "id": "k8s_00375_qa_7082"
  },
  {
    "question": "When would you use kubectl create poddisruptionbudget?",
    "answer": "kubectl create poddisruptionbudgetSynopsisCreate a pod disruption budget with the specified name, selector, and desired minimum available pods.kubectl create poddisruptionbudget NAME --selector=SELECTOR --min-available=N [--dry-run=server|client|none] Examples # Create a pod disruption budget named my-pdb that will select all pods with the app=rails label # and require at least one of them being available at any point in time kubectl create poddisruptionbudget my-pdb --selector=app=rails --min-available=1 # Create a pod disruption budget named my-pdb that will select all pods with the app=nginx label # and require at least half of the pods selected to be available at any point in time kubectl create pdb my-pdb --selector=app=nginx --min-available=50% Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for poddisruptionbudget--max-unavailable stringThe maximum number or percentage of unavailable pods this budget requires.--min-available stringThe minimum number or percentage of available pods this budget requires.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--selector stringA label selector to use for this budget. Only equality-based selector requirements are supported.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_poddisruptionbudget/",
    "id": "k8s_00375_qa_7083"
  },
  {
    "question": "What are the benefits of kubectl create poddisruptionbudget?",
    "answer": "kubectl create poddisruptionbudgetSynopsisCreate a pod disruption budget with the specified name, selector, and desired minimum available pods.kubectl create poddisruptionbudget NAME --selector=SELECTOR --min-available=N [--dry-run=server|client|none] Examples # Create a pod disruption budget named my-pdb that will select all pods with the app=rails label # and require at least one of them being available at any point in time kubectl create poddisruptionbudget my-pdb --selector=app=rails --min-available=1 # Create a pod disruption budget named my-pdb that will select all pods with the app=nginx label # and require at least half of the pods selected to be available at any point in time kubectl create pdb my-pdb --selector=app=nginx --min-available=50% Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for poddisruptionbudget--max-unavailable stringThe maximum number or percentage of unavailable pods this budget requires.--min-available stringThe minimum number or percentage of available pods this budget requires.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--selector stringA label selector to use for this budget. Only equality-based selector requirements are supported.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_poddisruptionbudget/",
    "id": "k8s_00375_qa_7084"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   p o d   d i s r u p t i o n   b u d g e t   w i t h   t h e   s p e c i f i e d   n a m e ,   s e l e c t o r ,   a n d   d e s i r e d   m i n i m u m   a v a i l a b l e   p o d s .   k u b e c t l   c r e a t e   p o d d i s r u p t i o n b u d g e t   N A M E   - - s e l e c t o r = S E L E C T O R   - - m i n - a v a i l a b l e = N   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_poddisruptionbudget/",
    "id": "k8s_00375_section_2_7085"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   p o d   d i s r u p t i o n   b u d g e t   n a m e d   m y - p d b   t h a t   w i l l   s e l e c t   a l l   p o d s   w i t h   t h e   a p p = r a i l s   l a b e l   #   a n d   r e q u i r e   a t   l e a s t   o n e   o f   t h e m   b e i n g   a v a i l a b l e   a t   a n y   p o i n t   i n   t i m e   k u b e c t l   c r e a t e   p o d d i s r u p t i o n b u d g e t   m y - p d b   - - s e l e c t o r = a p p = r a i l s   - - m i n - a v a i l a b l e = 1   #   C r e a t e   a   p o d   d i s r u p t i o n   b u d g e t   n a m e d   m y - p d b   t h a t   w i l l   s e l e c t   a l l   p o d s   w i t h   t h e   a p p = n g i n x   l a b e l   #   a n d   r e q u i r e   a t   l e a s t   h a l f   o f   t h e   p o d s   s e l e c t e d   t o   b e   a v a i l a b l e   a t   a n y   p o i n t   i n   t i m e   k u b e c t l   c r e a t e   p d b   m y - p d b   - - s e l e c t o r = a p p = n g i n x   - - m i n - a v a i l a b l e = 5 0 %",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_poddisruptionbudget/",
    "id": "k8s_00375_section_2_7086"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   p o d d i s r u p t i o n b u d g e t   T h e   m a x i m u m   n u m b e r   o r   p e r c e n t a g e   o f   u n a v a i l a b l e   p o d s   t h i s   b u d g e t   r e q u i r e s .   T h e   m i n i m u m   n u m b e r   o r   p e r c e n t a g e   o f   a v a i l a b l e   p o d s   t h i s   b u d g e t   r e q u i r e s .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   A   l a b e l   s e l e c t o r   t o   u s e   f o r   t h i s   b u d g e t .   O n l y   e q u a l i t y - b a s e d   s e l e c t o r   r e q u ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_poddisruptionbudget/",
    "id": "k8s_00375_section_2_7087"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_poddisruptionbudget/",
    "id": "k8s_00375_section_2_7088"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_poddisruptionbudget/",
    "id": "k8s_00375_section_2_7089"
  },
  {
    "question": "What is Debug Init Containers?",
    "answer": "Debug Init ContainersThis page shows how to investigate problems related to the execution of Init Containers. The example command lines below refer to the Pod as <pod-name> and the Init Containers as <init-container-1> and <init-container-2>.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.You should be familiar with the basics of Init Containers.You should have Configured an Init Container.Checking the status of Init ContainersDisplay the status of your pod:kubectl get pod <pod-name> For example, a status of Init:1/2 indicates that one of two Init Containers has completed successfully:NAME READY STATUS RESTARTS AGE <pod-name> 0/1 Init:1/2 0 7s See Understanding Pod status for more examples of status values and their meanings.Getting details about Init ContainersView more detailed information about Init Container execution:kubectl describe pod <pod-name> For example, a Pod with two Init Containers might show the following:Init Containers: <init-container-1>: Container ID: ... ... State: Terminated Reason: Completed Exit Code: 0 Started: ... Finished: ... Ready: True Restart Count: 0 ... <init-container-2>: Container ID: ... ... State: Waiting Reason: CrashLoopBackOff Last State: Terminated Reason: Error Exit Code: 1 Started: ... Finished: ... Ready: False Restart Count: 3 ... You can also access the Init Container statuses programmatically by reading the status.initContainerStatuses field on the Pod Spec:kubectl get pod nginx --template '{{.status.initContainerStatuses}}' This command will return the same information as above in raw JSON.Accessing logs from Init ContainersPass the Init Container name along with the Pod name to access its logs.kubectl logs <pod-name> -c <init-container-2> Init Containers that run a shell script print commands as they're executed. For example, you can do this in Bash by running set -x at the beginning of the script.Understanding Pod statusA Pod status beginning with Init: summarizes the status of Init Container execution. The table below describes some example status values that you might see while debugging Init Containers.StatusMeaningInit:N/MThe Pod has M Init Containers, and N have completed so far.Init:ErrorAn Init Container has failed to execute.Init:CrashLoopBackOffAn Init Container has failed repeatedly.PendingThe Pod has not yet begun executing Init Containers.PodInitializing or RunningThe Pod has already finished executing Init Containers.",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-init-containers/",
    "id": "k8s_00376_qa_7090"
  },
  {
    "question": "How does Debug Init Containers work?",
    "answer": "Debug Init ContainersThis page shows how to investigate problems related to the execution of Init Containers. The example command lines below refer to the Pod as <pod-name> and the Init Containers as <init-container-1> and <init-container-2>.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.You should be familiar with the basics of Init Containers.You should have Configured an Init Container.Checking the status of Init ContainersDisplay the status of your pod:kubectl get pod <pod-name> For example, a status of Init:1/2 indicates that one of two Init Containers has completed successfully:NAME READY STATUS RESTARTS AGE <pod-name> 0/1 Init:1/2 0 7s See Understanding Pod status for more examples of status values and their meanings.Getting details about Init ContainersView more detailed information about Init Container execution:kubectl describe pod <pod-name> For example, a Pod with two Init Containers might show the following:Init Containers: <init-container-1>: Container ID: ... ... State: Terminated Reason: Completed Exit Code: 0 Started: ... Finished: ... Ready: True Restart Count: 0 ... <init-container-2>: Container ID: ... ... State: Waiting Reason: CrashLoopBackOff Last State: Terminated Reason: Error Exit Code: 1 Started: ... Finished: ... Ready: False Restart Count: 3 ... You can also access the Init Container statuses programmatically by reading the status.initContainerStatuses field on the Pod Spec:kubectl get pod nginx --template '{{.status.initContainerStatuses}}' This command will return the same information as above in raw JSON.Accessing logs from Init ContainersPass the Init Container name along with the Pod name to access its logs.kubectl logs <pod-name> -c <init-container-2> Init Containers that run a shell script print commands as they're executed. For example, you can do this in Bash by running set -x at the beginning of the script.Understanding Pod statusA Pod status beginning with Init: summarizes the status of Init Container execution. The table below describes some example status values that you might see while debugging Init Containers.StatusMeaningInit:N/MThe Pod has M Init Containers, and N have completed so far.Init:ErrorAn Init Container has failed to execute.Init:CrashLoopBackOffAn Init Container has failed repeatedly.PendingThe Pod has not yet begun executing Init Containers.PodInitializing or RunningThe Pod has already finished executing Init Containers.",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-init-containers/",
    "id": "k8s_00376_qa_7091"
  },
  {
    "question": "When would you use Debug Init Containers?",
    "answer": "Debug Init ContainersThis page shows how to investigate problems related to the execution of Init Containers. The example command lines below refer to the Pod as <pod-name> and the Init Containers as <init-container-1> and <init-container-2>.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.You should be familiar with the basics of Init Containers.You should have Configured an Init Container.Checking the status of Init ContainersDisplay the status of your pod:kubectl get pod <pod-name> For example, a status of Init:1/2 indicates that one of two Init Containers has completed successfully:NAME READY STATUS RESTARTS AGE <pod-name> 0/1 Init:1/2 0 7s See Understanding Pod status for more examples of status values and their meanings.Getting details about Init ContainersView more detailed information about Init Container execution:kubectl describe pod <pod-name> For example, a Pod with two Init Containers might show the following:Init Containers: <init-container-1>: Container ID: ... ... State: Terminated Reason: Completed Exit Code: 0 Started: ... Finished: ... Ready: True Restart Count: 0 ... <init-container-2>: Container ID: ... ... State: Waiting Reason: CrashLoopBackOff Last State: Terminated Reason: Error Exit Code: 1 Started: ... Finished: ... Ready: False Restart Count: 3 ... You can also access the Init Container statuses programmatically by reading the status.initContainerStatuses field on the Pod Spec:kubectl get pod nginx --template '{{.status.initContainerStatuses}}' This command will return the same information as above in raw JSON.Accessing logs from Init ContainersPass the Init Container name along with the Pod name to access its logs.kubectl logs <pod-name> -c <init-container-2> Init Containers that run a shell script print commands as they're executed. For example, you can do this in Bash by running set -x at the beginning of the script.Understanding Pod statusA Pod status beginning with Init: summarizes the status of Init Container execution. The table below describes some example status values that you might see while debugging Init Containers.StatusMeaningInit:N/MThe Pod has M Init Containers, and N have completed so far.Init:ErrorAn Init Container has failed to execute.Init:CrashLoopBackOffAn Init Container has failed repeatedly.PendingThe Pod has not yet begun executing Init Containers.PodInitializing or RunningThe Pod has already finished executing Init Containers.",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-init-containers/",
    "id": "k8s_00376_qa_7092"
  },
  {
    "question": "What are the benefits of Debug Init Containers?",
    "answer": "Debug Init ContainersThis page shows how to investigate problems related to the execution of Init Containers. The example command lines below refer to the Pod as <pod-name> and the Init Containers as <init-container-1> and <init-container-2>.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.You should be familiar with the basics of Init Containers.You should have Configured an Init Container.Checking the status of Init ContainersDisplay the status of your pod:kubectl get pod <pod-name> For example, a status of Init:1/2 indicates that one of two Init Containers has completed successfully:NAME READY STATUS RESTARTS AGE <pod-name> 0/1 Init:1/2 0 7s See Understanding Pod status for more examples of status values and their meanings.Getting details about Init ContainersView more detailed information about Init Container execution:kubectl describe pod <pod-name> For example, a Pod with two Init Containers might show the following:Init Containers: <init-container-1>: Container ID: ... ... State: Terminated Reason: Completed Exit Code: 0 Started: ... Finished: ... Ready: True Restart Count: 0 ... <init-container-2>: Container ID: ... ... State: Waiting Reason: CrashLoopBackOff Last State: Terminated Reason: Error Exit Code: 1 Started: ... Finished: ... Ready: False Restart Count: 3 ... You can also access the Init Container statuses programmatically by reading the status.initContainerStatuses field on the Pod Spec:kubectl get pod nginx --template '{{.status.initContainerStatuses}}' This command will return the same information as above in raw JSON.Accessing logs from Init ContainersPass the Init Container name along with the Pod name to access its logs.kubectl logs <pod-name> -c <init-container-2> Init Containers that run a shell script print commands as they're executed. For example, you can do this in Bash by running set -x at the beginning of the script.Understanding Pod statusA Pod status beginning with Init: summarizes the status of Init Container execution. The table below describes some example status values that you might see while debugging Init Containers.StatusMeaningInit:N/MThe Pod has M Init Containers, and N have completed so far.Init:ErrorAn Init Container has failed to execute.Init:CrashLoopBackOffAn Init Container has failed repeatedly.PendingThe Pod has not yet begun executing Init Containers.PodInitializing or RunningThe Pod has already finished executing Init Containers.",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-init-containers/",
    "id": "k8s_00376_qa_7093"
  },
  {
    "question": "What is Debug Init Containers?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   i n v e s t i g a t e   p r o b l e m s   r e l a t e d   t o   t h e   e x e c u t i o n   o f   I n i t   C o n t a i n e r s .   T h e   e x a m p l e   c o m m a n d   l i n e s   b e l o w   r e f e r   t o   t h e   P o d   a s   < p o d - n a m e >   a n d   t h e   I n i t   C o n t a i n e r s   a s   < i n i t - c o n t a i n e r - 1 >   a n d   < i n i t - c o n t a i n e r - 2 > .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-init-containers/",
    "id": "k8s_00376_section_1_7094"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   s h o u l d   b e   f a m i l i a r   w i t h   t h e   b a s i c s   o f   I n i t   C o n t a i n e r s . Y o u   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-init-containers/",
    "id": "k8s_00376_section_2_7095"
  },
  {
    "question": "What is Checking the status of Init Containers?",
    "answer": "D i s p l a y   t h e   s t a t u s   o f   y o u r   p o d :   k u b e c t l   g e t   p o d   < p o d - n a m e >   F o r   e x a m p l e ,   a   s t a t u s   o f   I n i t : 1 / 2   i n d i c a t e s   t h a t   o n e   o f   t w o   I n i t   C o n t a i n e r s   h a s   c o m p l e t e d   s u c c e s s f u l l y :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   < p o d - n a m e >   0 / 1   I n i t : 1 / 2   0   7 s   S e e   U n d e r s t a n d i n g   P o d   s t a t u s   f o r   m o r e   e x a m p l e s   o f   s t a t u s   v a l u e s   a n d   t h e i r   m e a n i n g s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-init-containers/",
    "id": "k8s_00376_section_2_7096"
  },
  {
    "question": "What is Getting details about Init Containers?",
    "answer": "V i e w   m o r e   d e t a i l e d   i n f o r m a t i o n   a b o u t   I n i t   C o n t a i n e r   e x e c u t i o n :   k u b e c t l   d e s c r i b e   p o d   < p o d - n a m e >   F o r   e x a m p l e ,   a   P o d   w i t h   t w o   I n i t   C o n t a i n e r s   m i g h t   s h o w   t h e   f o l l o w i n g :   I n i t   C o n t a i n e r s :   < i n i t - c o n t a i n e r - 1 > :   C o n t a i n e r   I D :   . . .   . . .   S t a t e :   T e r m i n a t e d   R e a s o n :   C o m p l e t e d   E x i t   C o d e :   0   S t a r t e d :   . . .   F i n i s h e d :   . . .   R e a d y :   T r u e   R e s t a r t   C o u n t :   0   . . .   < i n i t - c o n t a i n e r - 2 > :   C o n t a i n e r   I D :   . . .   . . .   S t a t e :   W a i t i n g   R e a s o n :   C r a s h L o o p B a c k O f f   L a s t   S t a t e :   T e r m i n a t e d   R e a s o n :   E r r o r   E x i t   C o d e :   1   S t a r t e d :   . . .   F i n i s h e d :   . . .   R e a d y :   F a l s e   R e s t a r t   C o u n t :   3   . . .   Y o u   c a n   a l s o   a c c e s s   t h e   I n i t   C o n t a i n e r   s t a t u s e s   p r o g r a m m a t i c a l l y   b y   r e a d i n g   t h e   s t a t u s . i n i t C o n t a i n e r S t a t u s e s   f i e l d   o n   t h e   P o d   S p e c :   k u b e c t l   g e t   p o d   n g i n x   - - t e m p l a t e   ' { { . s t a t u s . i n i t C o n t a i n e r S t a t u s e s } } '   T h i s   c o m m a n d   w i l l   r e t u r n   t h e   s a m e   i n f o r m a t i o n   a s   a b o v e   i n   r a w   J S O N .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-init-containers/",
    "id": "k8s_00376_section_2_7097"
  },
  {
    "question": "What is Accessing logs from Init Containers?",
    "answer": "P a s s   t h e   I n i t   C o n t a i n e r   n a m e   a l o n g   w i t h   t h e   P o d   n a m e   t o   a c c e s s   i t s   l o g s .   k u b e c t l   l o g s   < p o d - n a m e >   - c   < i n i t - c o n t a i n e r - 2 >   I n i t   C o n t a i n e r s   t h a t   r u n   a   s h e l l   s c r i p t   p r i n t   c o m m a n d s   a s   t h e y ' r e   e x e c u t e d .   F o r   e x a m p l e ,   y o u   c a n   d o   t h i s   i n   B a s h   b y   r u n n i n g   s e t   - x   a t   t h e   b e g i n n i n g   o f   t h e   s c r i p t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-init-containers/",
    "id": "k8s_00376_section_2_7098"
  },
  {
    "question": "What is Understanding Pod status?",
    "answer": "A   P o d   s t a t u s   b e g i n n i n g   w i t h   I n i t :   s u m m a r i z e s   t h e   s t a t u s   o f   I n i t   C o n t a i n e r   e x e c u t i o n .   T h e   t a b l e   b e l o w   d e s c r i b e s   s o m e   e x a m p l e   s t a t u s   v a l u e s   t h a t   y o u   m i g h t   s e e   w h i l e   d e b u g g i n g   I n i t   C o n t a i n e r s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-init-containers/",
    "id": "k8s_00376_section_2_7099"
  },
  {
    "question": "What is Service?",
    "answer": "ServiceExpose an application running in your cluster behind a single outward-facing endpoint, even when the workload is split across multiple backends.In Kubernetes, a Service is a method for exposing a network application that is running as one or more Pods in your cluster.A key aim of Services in Kubernetes is that you don't need to modify your existing application to use an unfamiliar service discovery mechanism. You can run code in Pods, whether this is a code designed for a cloud-native world, or an older app you've containerized. You use a Service to make that set of Pods available on the network so that clients can interact with it.If you use a Deployment to run your app, that Deployment can create and destroy Pods dynamically. From one moment to the",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_qa_7100"
  },
  {
    "question": "How does Service work?",
    "answer": "ServiceExpose an application running in your cluster behind a single outward-facing endpoint, even when the workload is split across multiple backends.In Kubernetes, a Service is a method for exposing a network application that is running as one or more Pods in your cluster.A key aim of Services in Kubernetes is that you don't need to modify your existing application to use an unfamiliar service discovery mechanism. You can run code in Pods, whether this is a code designed for a cloud-native world, or an older app you've containerized. You use a Service to make that set of Pods available on the network so that clients can interact with it.If you use a Deployment to run your app, that Deployment can create and destroy Pods dynamically. From one moment to the",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_qa_7101"
  },
  {
    "question": "When would you use Service?",
    "answer": "ServiceExpose an application running in your cluster behind a single outward-facing endpoint, even when the workload is split across multiple backends.In Kubernetes, a Service is a method for exposing a network application that is running as one or more Pods in your cluster.A key aim of Services in Kubernetes is that you don't need to modify your existing application to use an unfamiliar service discovery mechanism. You can run code in Pods, whether this is a code designed for a cloud-native world, or an older app you've containerized. You use a Service to make that set of Pods available on the network so that clients can interact with it.If you use a Deployment to run your app, that Deployment can create and destroy Pods dynamically. From one moment to the",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_qa_7102"
  },
  {
    "question": "What are the benefits of Service?",
    "answer": "ServiceExpose an application running in your cluster behind a single outward-facing endpoint, even when the workload is split across multiple backends.In Kubernetes, a Service is a method for exposing a network application that is running as one or more Pods in your cluster.A key aim of Services in Kubernetes is that you don't need to modify your existing application to use an unfamiliar service discovery mechanism. You can run code in Pods, whether this is a code designed for a cloud-native world, or an older app you've containerized. You use a Service to make that set of Pods available on the network so that clients can interact with it.If you use a Deployment to run your app, that Deployment can create and destroy Pods dynamically. From one moment to the",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_qa_7103"
  },
  {
    "question": "What is Service?",
    "answer": "I n   K u b e r n e t e s ,   a   S e r v i c e   i s   a   m e t h o d   f o r   e x p o s i n g   a   n e t w o r k   a p p l i c a t i o n   t h a t   i s   r u n n i n g   a s   o n e   o r   m o r e   P o d s   i n   y o u r   c l u s t e r .   A   k e y   a i m   o f   S e r v i c e s   i n   K u b e r n e t e s   i s   t h a t   y o u   d o n ' t   n e e d   t o   m o d i f y   y o u r   e x i s t i n g   a p p l i c a t i o n   t o   u s e   a n   u n f a m i l i a r   s e r v i c e   d i s c o v e r y   m e c h a n i s m .   Y o u   c a n   r u n   c o d e   i n   P o d s ,   w h e t h e r   t h i s   i s   a   c o d e   d e s i g n e d   f o r   a   c l o u d - n a t i v e   w o r l d ,   o r   a n   o l d e r   a p p   y o u ' v e   c o n t a i n e r i z e d .   Y o u   u s e   a   S e r v i c e   t o   m a k e   t h a t   s e t   o f   P o d s   a v a i l a b l e   o n   t h e   n e t w o r k   s o   t h a t   c l i e n t s   c a n   i n t e r a c t   w i t h   i t .   I f   y o u   u s e   a   D e p l o y m e n t   t o   r u n   y o u r   a p p ,   t h a t   D e p l o y m e n t   c a n   c r e a t e   a n d   d e s t r o y   P o d s   d y n a m i c a l l y .   F r o m   o n e   m o m e n t   t o   t h e   n e x t ,   y o u   d o n ' t   k n o w   h o w   m a n y   o f   t h o s e   P o d s   a r e   w o r k i n g   a n d   h e a l t h y ;   y o u   m i g h t   n o t   e v e n   k n o w   w h a t   t h o s e   h e a l t h y   P o d s   a r e   n a m e d .   K u b e r n e t e s   P o d s   a r e   c r e a t e d   a n d   d e s t r o y e d   t o   m a t c h   t h e   d e s i r e d   s t a t e   o f   y o u r   c l u s t e r .   P o d s   a r e   e p h e m e r a l   r e s o u r c e s   ( y o u   s h o u l d   n o t   e x p e c t   t h a t   a n   i n d i v i d u a l   P o d   i s   r e l i a b l e   a n d   d u r a b l e ) .   E a c h   P o d   g e t s   i t s   o w n   I P   a d d r e s s   ( K u b e r n e t e s   e x p e c t s   n e t w o r k   p l u g i ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_1_7104"
  },
  {
    "question": "What is Services in Kubernetes?",
    "answer": "T h e   S e r v i c e   A P I ,   p a r t   o f   K u b e r n e t e s ,   i s   a n   a b s t r a c t i o n   t o   h e l p   y o u   e x p o s e   g r o u p s   o f   P o d s   o v e r   a   n e t w o r k .   E a c h   S e r v i c e   o b j e c t   d e f i n e s   a   l o g i c a l   s e t   o f   e n d p o i n t s   ( u s u a l l y   t h e s e   e n d p o i n t s   a r e   P o d s )   a l o n g   w i t h   a   p o l i c y   a b o u t   h o w   t o   m a k e   t h o s e   p o d s   a c c e s s i b l e .   F o r   e x a m p l e ,   c o n s i d e r   a   s t a t e l e s s   i m a g e - p r o c e s s i n g   b a c k e n d   w h i c h   i s   r u n n i n g   w i t h   3   r e p l i c a s .   T h o s e   r e p l i c a s   a r e   f u n g i b l e — f r o n t e n d s   d o   n o t   c a r e   w h i c h   b a c k e n d   t h e y   u s e .   W h i l e   t h e   a c t u a l   P o d s   t h a t   c o m p o s e   t h e   b a c k e n d   s e t   m a y   c h a n g e ,   t h e   f r o n t e n d   c l i e n t s   s h o u l d   n o t   n e e d   t o   b e   a w a r e   o f   t h a t ,   n o r   s h o u l d   t h e y   n e e d   t o   k e e p   t r a c k   o f   t h e   s e t   o f   b a c k e n d s   t h e m s e l v e s .   T h e   S e r v i c e   a b s t r a c t i o n   e n a b l e s   t h i s   d e c o u p l i n g .   T h e   s e t   o f   P o d s   t a r g e t e d   b y   a   S e r v i c e   i s   u s u a l l y   d e t e r m i n e d   b y   a   s e l e c t o r   t h a t   y o u   d e f i n e .   T o   l e a r n   a b o u t   o t h e r   w a y s   t o   d e f i n e   S e r v i c e   e n d p o i n t s ,   s e e   S e r v i c e s   w i t h o u t   s e l e c t o r s .   I f   y o u r   w o r k l o a d   s p e a k s   H T T P ,   y o u   m i g h t   c h o o s e   t o   u s e   a n   I n g r e s s   t o   c o n t r o l   h o w   w e b   t r a f f i c   r e a c h e s   t h a t   w o r k l o a d .   I n g r e s s   i s   n o t   a   S e r v i c e   t y p e ,   b u t   i t   a c t s   a ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_2_7105"
  },
  {
    "question": "What is Cloud-native service discovery?",
    "answer": "I f   y o u ' r e   a b l e   t o   u s e   K u b e r n e t e s   A P I s   f o r   s e r v i c e   d i s c o v e r y   i n   y o u r   a p p l i c a t i o n ,   y o u   c a n   q u e r y   t h e   A P I   s e r v e r   f o r   m a t c h i n g   E n d p o i n t S l i c e s .   K u b e r n e t e s   u p d a t e s   t h e   E n d p o i n t S l i c e s   f o r   a   S e r v i c e   w h e n e v e r   t h e   s e t   o f   P o d s   i n   a   S e r v i c e   c h a n g e s .   F o r   n o n - n a t i v e   a p p l i c a t i o n s ,   K u b e r n e t e s   o f f e r s   w a y s   t o   p l a c e   a   n e t w o r k   p o r t   o r   l o a d   b a l a n c e r   i n   b e t w e e n   y o u r   a p p l i c a t i o n   a n d   t h e   b a c k e n d   P o d s .   E i t h e r   w a y ,   y o u r   w o r k l o a d   c a n   u s e   t h e s e   s e r v i c e   d i s c o v e r y   m e c h a n i s m s   t o   f i n d   t h e   t a r g e t   i t   w a n t s   t o   c o n n e c t   t o .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_3_7106"
  },
  {
    "question": "What is Defining a Service?",
    "answer": "A   S e r v i c e   i s   a n   o b j e c t   ( t h e   s a m e   w a y   t h a t   a   P o d   o r   a   C o n f i g M a p   i s   a n   o b j e c t ) .   Y o u   c a n   c r e a t e ,   v i e w   o r   m o d i f y   S e r v i c e   d e f i n i t i o n s   u s i n g   t h e   K u b e r n e t e s   A P I .   U s u a l l y   y o u   u s e   a   t o o l   s u c h   a s   k u b e c t l   t o   m a k e   t h o s e   A P I   c a l l s   f o r   y o u .   F o r   e x a m p l e ,   s u p p o s e   y o u   h a v e   a   s e t   o f   P o d s   t h a t   e a c h   l i s t e n   o n   T C P   p o r t   9 3 7 6   a n d   a r e   l a b e l l e d   a s   a p p . k u b e r n e t e s . i o / n a m e = M y A p p .   Y o u   c a n   d e f i n e   a   S e r v i c e   t o   p u b l i s h   t h a t   T C P   l i s t e n e r :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   s p e c :   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   8 0   t a r g e t P o r t :   9 3 7 6   A p p l y i n g   t h i s   m a n i f e s t   c r e a t e s   a   n e w   S e r v i c e   n a m e d   \" m y - s e r v i c e \"   w i t h   t h e   d e f a u l t   C l u s t e r I P   s e r v i c e   t y p e .   T h e   S e r v i c e   t a r g e t s   T C P   p o r t   9 3 7 6   o n   a n y   P o d   w i t h   t h e   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   l a b e l .   K u b e r n e t e s   a s s i g n s   t h i s   S e r v i c e   a n   I P   a d d r e s s   ( t h e   c l u s t e r   I P ) ,   t h a t   i s   u s e d   b y   t h e   v i r t u a l   I P   a d d r e s s   m e c h a n i s m .   F o r   m o r e   d e t a i l s   o n   t h a t   m e c h a n i s m ,   r e a d   V i r t u a l   I P s   a n d   S e r v i c e   P r o x i e s .   T h e   c o n t r o l l e r   f o r   t h a t   S e r v i c e   c o n t i n u o u s l y   s c a n s   f o r   ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_2_7107"
  },
  {
    "question": "What is Relaxed naming requirements for Service objects?",
    "answer": "T h e   R e l a x e d S e r v i c e N a m e V a l i d a t i o n   f e a t u r e   g a t e   a l l o w s   S e r v i c e   o b j e c t   n a m e s   t o   s t a r t   w i t h   a   d i g i t .   W h e n   t h i s   f e a t u r e   g a t e   i s   e n a b l e d ,   S e r v i c e   o b j e c t   n a m e s   m u s t   b e   v a l i d   R F C   1 1 2 3   l a b e l   n a m e s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_3_7108"
  },
  {
    "question": "What is Port definitions?",
    "answer": "P o r t   d e f i n i t i o n s   i n   P o d s   h a v e   n a m e s ,   a n d   y o u   c a n   r e f e r e n c e   t h e s e   n a m e s   i n   t h e   t a r g e t P o r t   a t t r i b u t e   o f   a   S e r v i c e .   F o r   e x a m p l e ,   w e   c a n   b i n d   t h e   t a r g e t P o r t   o f   t h e   S e r v i c e   t o   t h e   P o d   p o r t   i n   t h e   f o l l o w i n g   w a y :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   p r o x y   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : s t a b l e   p o r t s :   -   c o n t a i n e r P o r t :   8 0   n a m e :   h t t p - w e b - s v c   - - -   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   n g i n x - s e r v i c e   s p e c :   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   p r o x y   p o r t s :   -   n a m e :   n a m e - o f - s e r v i c e - p o r t   p r o t o c o l :   T C P   p o r t :   8 0   t a r g e t P o r t :   h t t p - w e b - s v c   T h i s   w o r k s   e v e n   i f   t h e r e   i s   a   m i x t u r e   o f   P o d s   i n   t h e   S e r v i c e   u s i n g   a   s i n g l e   c o n f i g u r e d   n a m e ,   w i t h   t h e   s a m e   n e t w o r k   p r o t o c o l   a v a i l a b l e   v i a   d i f f e r e n t   p o r t   n u m b e r s .   T h i s   o f f e r s   a   l o t   o f   f l e x i b i l i t y   f o r   d e p l o y i n g   a n d   e v o l v i n g   y o u r   S e r v i c e s .   F o r   e x a m p l e ,   y o u   c a n   c h a n g e   t h e   p o r t   n u m b e r s   t h a t   P o d s   e x p o s e   i n   t h e   n e x t   v e r s i o n   o f   y o u r   b a c k e n d   s o f t w a r e ,   w i t h o u t   b r e a k i n g   c l i e n t s .   T h e   d e f a u l t   p r o t o c o l   f o r   S e r v i c e s   i s   T C P ;   y o u   c ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_3_7109"
  },
  {
    "question": "What is Services without selectors?",
    "answer": "S e r v i c e s   m o s t   c o m m o n l y   a b s t r a c t   a c c e s s   t o   K u b e r n e t e s   P o d s   t h a n k s   t o   t h e   s e l e c t o r ,   b u t   w h e n   u s e d   w i t h   a   c o r r e s p o n d i n g   s e t   o f   E n d p o i n t S l i c e s   o b j e c t s   a n d   w i t h o u t   a   s e l e c t o r ,   t h e   S e r v i c e   c a n   a b s t r a c t   o t h e r   k i n d s   o f   b a c k e n d s ,   i n c l u d i n g   o n e s   t h a t   r u n   o u t s i d e   t h e   c l u s t e r .   F o r   e x a m p l e :   Y o u   w a n t   t o   h a v e   a n   e x t e r n a l   d a t a b a s e   c l u s t e r   i n   p r o d u c t i o n ,   b u t   i n   y o u r   t e s t   e n v i r o n m e n t   y o u   u s e   y o u r   o w n   d a t a b a s e s . Y o u   w a n t   t o   p o i n t   y o u r   S e r v i c e   t o   a   S e r v i c e   i n   a   d i f f e r e n t   N a m e s p a c e   o r   o n   a n o t h e r   c l u s t e r . Y o u   a r e   m i g r a t i n g   a   w o r k l o a d   t o   K u b e r n e t e s .   W h i l e   e v a l u a t i n g   t h e   a p p r o a c h ,   y o u   r u n   o n l y   a   p o r t i o n   o f   y o u r   b a c k e n d s   i n   K u b e r n e t e s .   I n   a n y   o f   t h e s e   s c e n a r i o s   y o u   c a n   d e f i n e   a   S e r v i c e   w i t h o u t   s p e c i f y i n g   a   s e l e c t o r   t o   m a t c h   P o d s .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   s p e c :   p o r t s :   -   n a m e :   h t t p   p r o t o c o l :   T C P   p o r t :   8 0   t a r g e t P o r t :   9 3 7 6   B e c a u s e   t h i s   S e r v i c e   h a s   n o   s e l e c t o r ,   t h e   c o r r e s p o n d i n g   E n d p o i n t S l i c e   o b j e c t s   a r e   n o t   c r e a t e d   a u t o m a t i c a l l y .   Y o u   c a n   m a p   t h e   S e r v i c e   t o   t h e   n e t w o r k   a d d r ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_3_7110"
  },
  {
    "question": "What is Custom EndpointSlices?",
    "answer": "W h e n   y o u   c r e a t e   a n   E n d p o i n t S l i c e   o b j e c t   f o r   a   S e r v i c e ,   y o u   c a n   u s e   a n y   n a m e   f o r   t h e   E n d p o i n t S l i c e .   E a c h   E n d p o i n t S l i c e   i n   a   n a m e s p a c e   m u s t   h a v e   a   u n i q u e   n a m e .   Y o u   l i n k   a n   E n d p o i n t S l i c e   t o   a   S e r v i c e   b y   s e t t i n g   t h e   k u b e r n e t e s . i o / s e r v i c e - n a m e   l a b e l   o n   t h a t   E n d p o i n t S l i c e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_4_7111"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   e n d p o i n t   I P s   m u s t   n o t   b e :   l o o p b a c k   ( 1 2 7 . 0 . 0 . 0 / 8   f o r   I P v 4 ,   : : 1 / 1 2 8   f o r   I P v 6 ) ,   o r   l i n k - l o c a l   ( 1 6 9 . 2 5 4 . 0 . 0 / 1 6   a n d   2 2 4 . 0 . 0 . 0 / 2 4   f o r   I P v 4 ,   f e 8 0 : : / 6 4   f o r   I P v 6 ) .   T h e   e n d p o i n t   I P   a d d r e s s e s   c a n n o t   b e   t h e   c l u s t e r   I P s   o f   o t h e r   K u b e r n e t e s   S e r v i c e s ,   b e c a u s e   k u b e - p r o x y   d o e s n ' t   s u p p o r t   v i r t u a l   I P s   a s   a   d e s t i n a t i o n .   F o r   a n   E n d p o i n t S l i c e   t h a t   y o u   c r e a t e   y o u r s e l f ,   o r   i n   y o u r   o w n   c o d e ,   y o u   s h o u l d   a l s o   p i c k   a   v a l u e   t o   u s e   f o r   t h e   l a b e l   e n d p o i n t s l i c e . k u b e r n e t e s . i o / m a n a g e d - b y .   I f   y o u   c r e a t e   y o u r   o w n   c o n t r o l l e r   c o d e   t o   m a n a g e   E n d p o i n t S l i c e s ,   c o n s i d e r   u s i n g   a   v a l u e   s i m i l a r   t o   \" m y - d o m a i n . e x a m p l e / n a m e - o f - c o n t r o l l e r \" .   I f   y o u   a r e   u s i n g   a   t h i r d   p a r t y   t o o l ,   u s e   t h e   n a m e   o f   t h e   t o o l   i n   a l l - l o w e r c a s e   a n d   c h a n g e   s p a c e s   a n d   o t h e r   p u n c t u a t i o n   t o   d a s h e s   ( - ) .   I f   p e o p l e   a r e   d i r e c t l y   u s i n g   a   t o o l   s u c h   a s   k u b e c t l   t o   m a n a g e   E n d p o i n t S l i c e s ,   u s e   a   n a m e   t h a t   d e s c r i b e s   t h i s   m a n u a l   m a n a g e m e n t ,   s u c h   a s   \" s t a f f \"   o r   \" c l u s t e r - a d m i n s \" .   Y o u   s h o u l d   a v o i d   u s i n g   t h e   r e s e r v e d   v a l u e   \" c o n t r o l l e r \" ,   w h i c h   i d e n t i f i e s   E n d p o i n t S l i c e s   m a n a g e d   b y ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_4_7112"
  },
  {
    "question": "What is Accessing a Service without a selector?",
    "answer": "A c c e s s i n g   a   S e r v i c e   w i t h o u t   a   s e l e c t o r   w o r k s   t h e   s a m e   a s   i f   i t   h a d   a   s e l e c t o r .   I n   t h e   e x a m p l e   f o r   a   S e r v i c e   w i t h o u t   a   s e l e c t o r ,   t r a f f i c   i s   r o u t e d   t o   o n e   o f   t h e   t w o   e n d p o i n t s   d e f i n e d   i n   t h e   E n d p o i n t S l i c e   m a n i f e s t :   a   T C P   c o n n e c t i o n   t o   1 0 . 1 . 2 . 3   o r   1 0 . 4 . 5 . 6 ,   o n   p o r t   9 3 7 6 .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_4_7113"
  },
  {
    "question": "What is Note:?",
    "answer": "A n   E x t e r n a l N a m e   S e r v i c e   i s   a   s p e c i a l   c a s e   o f   S e r v i c e   t h a t   d o e s   n o t   h a v e   s e l e c t o r s   a n d   u s e s   D N S   n a m e s   i n s t e a d .   F o r   m o r e   i n f o r m a t i o n ,   s e e   t h e   E x t e r n a l N a m e   s e c t i o n .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_4_7114"
  },
  {
    "question": "What is EndpointSlices?",
    "answer": "E n d p o i n t S l i c e s   a r e   o b j e c t s   t h a t   r e p r e s e n t   a   s u b s e t   ( a   s l i c e )   o f   t h e   b a c k i n g   n e t w o r k   e n d p o i n t s   f o r   a   S e r v i c e .   Y o u r   K u b e r n e t e s   c l u s t e r   t r a c k s   h o w   m a n y   e n d p o i n t s   e a c h   E n d p o i n t S l i c e   r e p r e s e n t s .   I f   t h e r e   a r e   s o   m a n y   e n d p o i n t s   f o r   a   S e r v i c e   t h a t   a   t h r e s h o l d   i s   r e a c h e d ,   t h e n   K u b e r n e t e s   a d d s   a n o t h e r   e m p t y   E n d p o i n t S l i c e   a n d   s t o r e s   n e w   e n d p o i n t   i n f o r m a t i o n   t h e r e .   B y   d e f a u l t ,   K u b e r n e t e s   m a k e s   a   n e w   E n d p o i n t S l i c e   o n c e   t h e   e x i s t i n g   E n d p o i n t S l i c e s   a l l   c o n t a i n   a t   l e a s t   1 0 0   e n d p o i n t s .   K u b e r n e t e s   d o e s   n o t   m a k e   t h e   n e w   E n d p o i n t S l i c e   u n t i l   a n   e x t r a   e n d p o i n t   n e e d s   t o   b e   a d d e d .   S e e   E n d p o i n t S l i c e s   f o r   m o r e   i n f o r m a t i o n   a b o u t   t h i s   A P I .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_3_7115"
  },
  {
    "question": "What is Endpoints (deprecated)?",
    "answer": "T h e   E n d p o i n t S l i c e   A P I   i s   t h e   e v o l u t i o n   o f   t h e   o l d e r   E n d p o i n t s   A P I .   T h e   d e p r e c a t e d   E n d p o i n t s   A P I   h a s   s e v e r a l   p r o b l e m s   r e l a t i v e   t o   E n d p o i n t S l i c e :   I t   d o e s   n o t   s u p p o r t   d u a l - s t a c k   c l u s t e r s . I t   d o e s   n o t   c o n t a i n   i n f o r m a t i o n   n e e d e d   t o   s u p p o r t   n e w e r   f e a t u r e s ,   s u c h   a s   t r a f f i c D i s t r i b u t i o n . I t   w i l l   t r u n c a t e   t h e   l i s t   o f   e n d p o i n t s   i f   i t   i s   t o o   l o n g   t o   f i t   i n   a   s i n g l e   o b j e c t .   B e c a u s e   o f   t h i s ,   i t   i s   r e c o m m e n d e d   t h a t   a l l   c l i e n t s   u s e   t h e   E n d p o i n t S l i c e   A P I   r a t h e r   t h a n   E n d p o i n t s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_3_7116"
  },
  {
    "question": "What is Over-capacity endpoints?",
    "answer": "K u b e r n e t e s   l i m i t s   t h e   n u m b e r   o f   e n d p o i n t s   t h a t   c a n   f i t   i n   a   s i n g l e   E n d p o i n t s   o b j e c t .   W h e n   t h e r e   a r e   o v e r   1 0 0 0   b a c k i n g   e n d p o i n t s   f o r   a   S e r v i c e ,   K u b e r n e t e s   t r u n c a t e s   t h e   d a t a   i n   t h e   E n d p o i n t s   o b j e c t .   B e c a u s e   a   S e r v i c e   c a n   b e   l i n k e d   w i t h   m o r e   t h a n   o n e   E n d p o i n t S l i c e ,   t h e   1 0 0 0   b a c k i n g   e n d p o i n t   l i m i t   o n l y   a f f e c t s   t h e   l e g a c y   E n d p o i n t s   A P I .   I n   t h a t   c a s e ,   K u b e r n e t e s   s e l e c t s   a t   m o s t   1 0 0 0   p o s s i b l e   b a c k e n d   e n d p o i n t s   t o   s t o r e   i n t o   t h e   E n d p o i n t s   o b j e c t ,   a n d   s e t s   a n   a n n o t a t i o n   o n   t h e   E n d p o i n t s :   e n d p o i n t s . k u b e r n e t e s . i o / o v e r - c a p a c i t y :   t r u n c a t e d .   T h e   c o n t r o l   p l a n e   a l s o   r e m o v e s   t h a t   a n n o t a t i o n   i f   t h e   n u m b e r   o f   b a c k e n d   P o d s   d r o p s   b e l o w   1 0 0 0 .   T r a f f i c   i s   s t i l l   s e n t   t o   b a c k e n d s ,   b u t   a n y   l o a d   b a l a n c i n g   m e c h a n i s m   t h a t   r e l i e s   o n   t h e   l e g a c y   E n d p o i n t s   A P I   o n l y   s e n d s   t r a f f i c   t o   a t   m o s t   1 0 0 0   o f   t h e   a v a i l a b l e   b a c k i n g   e n d p o i n t s .   T h e   s a m e   A P I   l i m i t   m e a n s   t h a t   y o u   c a n n o t   m a n u a l l y   u p d a t e   a n   E n d p o i n t s   t o   h a v e   m o r e   t h a n   1 0 0 0   e n d p o i n t s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_4_7117"
  },
  {
    "question": "What is Application protocol?",
    "answer": "T h e   a p p P r o t o c o l   f i e l d   p r o v i d e s   a   w a y   t o   s p e c i f y   a n   a p p l i c a t i o n   p r o t o c o l   f o r   e a c h   S e r v i c e   p o r t .   T h i s   i s   u s e d   a s   a   h i n t   f o r   i m p l e m e n t a t i o n s   t o   o f f e r   r i c h e r   b e h a v i o r   f o r   p r o t o c o l s   t h a t   t h e y   u n d e r s t a n d .   T h e   v a l u e   o f   t h i s   f i e l d   i s   m i r r o r e d   b y   t h e   c o r r e s p o n d i n g   E n d p o i n t s   a n d   E n d p o i n t S l i c e   o b j e c t s .   T h i s   f i e l d   f o l l o w s   s t a n d a r d   K u b e r n e t e s   l a b e l   s y n t a x .   V a l i d   v a l u e s   a r e   o n e   o f :   I A N A   s t a n d a r d   s e r v i c e   n a m e s . I m p l e m e n t a t i o n - d e f i n e d   p r e f i x e d   n a m e s   s u c h   a s   m y c o m p a n y . c o m / m y - c u s t o m - p r o t o c o l . K u b e r n e t e s - d e f i n e d   p r e f i x e d   n a m e s :   I A N A   s t a n d a r d   s e r v i c e   n a m e s .   I m p l e m e n t a t i o n - d e f i n e d   p r e f i x e d   n a m e s   s u c h   a s   m y c o m p a n y . c o m / m y - c u s t o m - p r o t o c o l .   K u b e r n e t e s - d e f i n e d   p r e f i x e d   n a m e s :",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_3_7118"
  },
  {
    "question": "What is Multi-port Services?",
    "answer": "F o r   s o m e   S e r v i c e s ,   y o u   n e e d   t o   e x p o s e   m o r e   t h a n   o n e   p o r t .   K u b e r n e t e s   l e t s   y o u   c o n f i g u r e   m u l t i p l e   p o r t   d e f i n i t i o n s   o n   a   S e r v i c e   o b j e c t .   W h e n   u s i n g   m u l t i p l e   p o r t s   f o r   a   S e r v i c e ,   y o u   m u s t   g i v e   a l l   o f   y o u r   p o r t s   n a m e s   s o   t h a t   t h e s e   a r e   u n a m b i g u o u s .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   s p e c :   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   n a m e :   h t t p   p r o t o c o l :   T C P   p o r t :   8 0   t a r g e t P o r t :   9 3 7 6   -   n a m e :   h t t p s   p r o t o c o l :   T C P   p o r t :   4 4 3   t a r g e t P o r t :   9 3 7 7",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_3_7119"
  },
  {
    "question": "What is Note:?",
    "answer": "A s   w i t h   K u b e r n e t e s   n a m e s   i n   g e n e r a l ,   n a m e s   f o r   p o r t s   m u s t   o n l y   c o n t a i n   l o w e r c a s e   a l p h a n u m e r i c   c h a r a c t e r s   a n d   - .   P o r t   n a m e s   m u s t   a l s o   s t a r t   a n d   e n d   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r .   F o r   e x a m p l e ,   t h e   n a m e s   1 2 3 - a b c   a n d   w e b   a r e   v a l i d ,   b u t   1 2 3 _ a b c   a n d   - w e b   a r e   n o t .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_4_7120"
  },
  {
    "question": "What is Service type?",
    "answer": "F o r   s o m e   p a r t s   o f   y o u r   a p p l i c a t i o n   ( f o r   e x a m p l e ,   f r o n t e n d s )   y o u   m a y   w a n t   t o   e x p o s e   a   S e r v i c e   o n t o   a n   e x t e r n a l   I P   a d d r e s s ,   o n e   t h a t ' s   a c c e s s i b l e   f r o m   o u t s i d e   o f   y o u r   c l u s t e r .   K u b e r n e t e s   S e r v i c e   t y p e s   a l l o w   y o u   t o   s p e c i f y   w h a t   k i n d   o f   S e r v i c e   y o u   w a n t .   T h e   a v a i l a b l e   t y p e   v a l u e s   a n d   t h e i r   b e h a v i o r s   a r e :   T h e   t y p e   f i e l d   i n   t h e   S e r v i c e   A P I   i s   d e s i g n e d   a s   n e s t e d   f u n c t i o n a l i t y   -   e a c h   l e v e l   a d d s   t o   t h e   p r e v i o u s .   H o w e v e r   t h e r e   i s   a n   e x c e p t i o n   t o   t h i s   n e s t e d   d e s i g n .   Y o u   c a n   d e f i n e   a   L o a d B a l a n c e r   S e r v i c e   b y   d i s a b l i n g   t h e   l o a d   b a l a n c e r   N o d e P o r t   a l l o c a t i o n .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_2_7121"
  },
  {
    "question": "What is type: ClusterIP?",
    "answer": "T h i s   d e f a u l t   S e r v i c e   t y p e   a s s i g n s   a n   I P   a d d r e s s   f r o m   a   p o o l   o f   I P   a d d r e s s e s   t h a t   y o u r   c l u s t e r   h a s   r e s e r v e d   f o r   t h a t   p u r p o s e .   S e v e r a l   o f   t h e   o t h e r   t y p e s   f o r   S e r v i c e   b u i l d   o n   t h e   C l u s t e r I P   t y p e   a s   a   f o u n d a t i o n .   I f   y o u   d e f i n e   a   S e r v i c e   t h a t   h a s   t h e   . s p e c . c l u s t e r I P   s e t   t o   \" N o n e \"   t h e n   K u b e r n e t e s   d o e s   n o t   a s s i g n   a n   I P   a d d r e s s .   S e e   h e a d l e s s   S e r v i c e s   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_3_7122"
  },
  {
    "question": "What is Choosing your own IP address?",
    "answer": "Y o u   c a n   s p e c i f y   y o u r   o w n   c l u s t e r   I P   a d d r e s s   a s   p a r t   o f   a   S e r v i c e   c r e a t i o n   r e q u e s t .   T o   d o   t h i s ,   s e t   t h e   . s p e c . c l u s t e r I P   f i e l d .   F o r   e x a m p l e ,   i f   y o u   a l r e a d y   h a v e   a n   e x i s t i n g   D N S   e n t r y   t h a t   y o u   w i s h   t o   r e u s e ,   o r   l e g a c y   s y s t e m s   t h a t   a r e   c o n f i g u r e d   f o r   a   s p e c i f i c   I P   a d d r e s s   a n d   d i f f i c u l t   t o   r e - c o n f i g u r e .   T h e   I P   a d d r e s s   t h a t   y o u   c h o o s e   m u s t   b e   a   v a l i d   I P v 4   o r   I P v 6   a d d r e s s   f r o m   w i t h i n   t h e   s e r v i c e - c l u s t e r - i p - r a n g e   C I D R   r a n g e   t h a t   i s   c o n f i g u r e d   f o r   t h e   A P I   s e r v e r .   I f   y o u   t r y   t o   c r e a t e   a   S e r v i c e   w i t h   a n   i n v a l i d   c l u s t e r I P   a d d r e s s   v a l u e ,   t h e   A P I   s e r v e r   w i l l   r e t u r n   a   4 2 2   H T T P   s t a t u s   c o d e   t o   i n d i c a t e   t h a t   t h e r e ' s   a   p r o b l e m .   R e a d   a v o i d i n g   c o l l i s i o n s   t o   l e a r n   h o w   K u b e r n e t e s   h e l p s   r e d u c e   t h e   r i s k   a n d   i m p a c t   o f   t w o   d i f f e r e n t   S e r v i c e s   b o t h   t r y i n g   t o   u s e   t h e   s a m e   I P   a d d r e s s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_4_7123"
  },
  {
    "question": "What is type: NodePort?",
    "answer": "I f   y o u   s e t   t h e   t y p e   f i e l d   t o   N o d e P o r t ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   a l l o c a t e s   a   p o r t   f r o m   a   r a n g e   s p e c i f i e d   b y   - - s e r v i c e - n o d e - p o r t - r a n g e   f l a g   ( d e f a u l t :   3 0 0 0 0 - 3 2 7 6 7 ) .   E a c h   n o d e   p r o x i e s   t h a t   p o r t   ( t h e   s a m e   p o r t   n u m b e r   o n   e v e r y   N o d e )   i n t o   y o u r   S e r v i c e .   Y o u r   S e r v i c e   r e p o r t s   t h e   a l l o c a t e d   p o r t   i n   i t s   . s p e c . p o r t s [ * ] . n o d e P o r t   f i e l d .   U s i n g   a   N o d e P o r t   g i v e s   y o u   t h e   f r e e d o m   t o   s e t   u p   y o u r   o w n   l o a d   b a l a n c i n g   s o l u t i o n ,   t o   c o n f i g u r e   e n v i r o n m e n t s   t h a t   a r e   n o t   f u l l y   s u p p o r t e d   b y   K u b e r n e t e s ,   o r   e v e n   t o   e x p o s e   o n e   o r   m o r e   n o d e s '   I P   a d d r e s s e s   d i r e c t l y .   F o r   a   n o d e   p o r t   S e r v i c e ,   K u b e r n e t e s   a d d i t i o n a l l y   a l l o c a t e s   a   p o r t   ( T C P ,   U D P   o r   S C T P   t o   m a t c h   t h e   p r o t o c o l   o f   t h e   S e r v i c e ) .   E v e r y   n o d e   i n   t h e   c l u s t e r   c o n f i g u r e s   i t s e l f   t o   l i s t e n   o n   t h a t   a s s i g n e d   p o r t   a n d   t o   f o r w a r d   t r a f f i c   t o   o n e   o f   t h e   r e a d y   e n d p o i n t s   a s s o c i a t e d   w i t h   t h a t   S e r v i c e .   Y o u ' l l   b e   a b l e   t o   c o n t a c t   t h e   t y p e :   N o d e P o r t   S e r v i c e ,   f r o m   o u t s i d e   t h e   c l u s t e r ,   b y   c o n n e c t i n g   t o   a n y   n o d e   u s i n g   t h e   a p p r o p r i a t e   p r o t o c o l   ( f o r   e x a m p l e :   T C P ) ,   a n d   t h e   a p p r o p r i a t e   ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_3_7124"
  },
  {
    "question": "What is Choosing your own port?",
    "answer": "I f   y o u   w a n t   a   s p e c i f i c   p o r t   n u m b e r ,   y o u   c a n   s p e c i f y   a   v a l u e   i n   t h e   n o d e P o r t   f i e l d .   T h e   c o n t r o l   p l a n e   w i l l   e i t h e r   a l l o c a t e   y o u   t h a t   p o r t   o r   r e p o r t   t h a t   t h e   A P I   t r a n s a c t i o n   f a i l e d .   T h i s   m e a n s   t h a t   y o u   n e e d   t o   t a k e   c a r e   o f   p o s s i b l e   p o r t   c o l l i s i o n s   y o u r s e l f .   Y o u   a l s o   h a v e   t o   u s e   a   v a l i d   p o r t   n u m b e r ,   o n e   t h a t ' s   i n s i d e   t h e   r a n g e   c o n f i g u r e d   f o r   N o d e P o r t   u s e .   H e r e   i s   a n   e x a m p l e   m a n i f e s t   f o r   a   S e r v i c e   o f   t y p e :   N o d e P o r t   t h a t   s p e c i f i e s   a   N o d e P o r t   v a l u e   ( 3 0 0 0 7 ,   i n   t h i s   e x a m p l e ) :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   s p e c :   t y p e :   N o d e P o r t   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   p o r t :   8 0   #   B y   d e f a u l t   a n d   f o r   c o n v e n i e n c e ,   t h e   ` t a r g e t P o r t `   i s   s e t   t o   #   t h e   s a m e   v a l u e   a s   t h e   ` p o r t `   f i e l d .   t a r g e t P o r t :   8 0   #   O p t i o n a l   f i e l d   #   B y   d e f a u l t   a n d   f o r   c o n v e n i e n c e ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   #   w i l l   a l l o c a t e   a   p o r t   f r o m   a   r a n g e   ( d e f a u l t :   3 0 0 0 0 - 3 2 7 6 7 )   n o d e P o r t :   3 0 0 0 7",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_4_7125"
  },
  {
    "question": "What is Reserve Nodeport ranges to avoid collisions?",
    "answer": "T h e   p o l i c y   f o r   a s s i g n i n g   p o r t s   t o   N o d e P o r t   s e r v i c e s   a p p l i e s   t o   b o t h   t h e   a u t o - a s s i g n m e n t   a n d   t h e   m a n u a l   a s s i g n m e n t   s c e n a r i o s .   W h e n   a   u s e r   w a n t s   t o   c r e a t e   a   N o d e P o r t   s e r v i c e   t h a t   u s e s   a   s p e c i f i c   p o r t ,   t h e   t a r g e t   p o r t   m a y   c o n f l i c t   w i t h   a n o t h e r   p o r t   t h a t   h a s   a l r e a d y   b e e n   a s s i g n e d .   T o   a v o i d   t h i s   p r o b l e m ,   t h e   p o r t   r a n g e   f o r   N o d e P o r t   s e r v i c e s   i s   d i v i d e d   i n t o   t w o   b a n d s .   D y n a m i c   p o r t   a s s i g n m e n t   u s e s   t h e   u p p e r   b a n d   b y   d e f a u l t ,   a n d   i t   m a y   u s e   t h e   l o w e r   b a n d   o n c e   t h e   u p p e r   b a n d   h a s   b e e n   e x h a u s t e d .   U s e r s   c a n   t h e n   a l l o c a t e   f r o m   t h e   l o w e r   b a n d   w i t h   a   l o w e r   r i s k   o f   p o r t   c o l l i s i o n .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_4_7126"
  },
  {
    "question": "What is Custom IP address configuration for type: NodePort Services?",
    "answer": "Y o u   c a n   s e t   u p   n o d e s   i n   y o u r   c l u s t e r   t o   u s e   a   p a r t i c u l a r   I P   a d d r e s s   f o r   s e r v i n g   n o d e   p o r t   s e r v i c e s .   Y o u   m i g h t   w a n t   t o   d o   t h i s   i f   e a c h   n o d e   i s   c o n n e c t e d   t o   m u l t i p l e   n e t w o r k s   ( f o r   e x a m p l e :   o n e   n e t w o r k   f o r   a p p l i c a t i o n   t r a f f i c ,   a n d   a n o t h e r   n e t w o r k   f o r   t r a f f i c   b e t w e e n   n o d e s   a n d   t h e   c o n t r o l   p l a n e ) .   I f   y o u   w a n t   t o   s p e c i f y   p a r t i c u l a r   I P   a d d r e s s ( e s )   t o   p r o x y   t h e   p o r t ,   y o u   c a n   s e t   t h e   - - n o d e p o r t - a d d r e s s e s   f l a g   f o r   k u b e - p r o x y   o r   t h e   e q u i v a l e n t   n o d e P o r t A d d r e s s e s   f i e l d   o f   t h e   k u b e - p r o x y   c o n f i g u r a t i o n   f i l e   t o   p a r t i c u l a r   I P   b l o c k ( s ) .   T h i s   f l a g   t a k e s   a   c o m m a - d e l i m i t e d   l i s t   o f   I P   b l o c k s   ( e . g .   1 0 . 0 . 0 . 0 / 8 ,   1 9 2 . 0 . 2 . 0 / 2 5 )   t o   s p e c i f y   I P   a d d r e s s   r a n g e s   t h a t   k u b e - p r o x y   s h o u l d   c o n s i d e r   a s   l o c a l   t o   t h i s   n o d e .   F o r   e x a m p l e ,   i f   y o u   s t a r t   k u b e - p r o x y   w i t h   t h e   - - n o d e p o r t - a d d r e s s e s = 1 2 7 . 0 . 0 . 0 / 8   f l a g ,   k u b e - p r o x y   o n l y   s e l e c t s   t h e   l o o p b a c k   i n t e r f a c e   f o r   N o d e P o r t   S e r v i c e s .   T h e   d e f a u l t   f o r   - - n o d e p o r t - a d d r e s s e s   i s   a n   e m p t y   l i s t .   T h i s   m e a n s   t h a t   k u b e - p r o x y   s h o u l d   c o n s i d e r   a l l   a v a i l a b l e   n e t w o r k   i n t e r f a c e s   f o r   N o d e P o r t .   ( T h a t ' s ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_4_7127"
  },
  {
    "question": "What is type: LoadBalancer?",
    "answer": "O n   c l o u d   p r o v i d e r s   w h i c h   s u p p o r t   e x t e r n a l   l o a d   b a l a n c e r s ,   s e t t i n g   t h e   t y p e   f i e l d   t o   L o a d B a l a n c e r   p r o v i s i o n s   a   l o a d   b a l a n c e r   f o r   y o u r   S e r v i c e .   T h e   a c t u a l   c r e a t i o n   o f   t h e   l o a d   b a l a n c e r   h a p p e n s   a s y n c h r o n o u s l y ,   a n d   i n f o r m a t i o n   a b o u t   t h e   p r o v i s i o n e d   b a l a n c e r   i s   p u b l i s h e d   i n   t h e   S e r v i c e ' s   . s t a t u s . l o a d B a l a n c e r   f i e l d .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   s p e c :   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   8 0   t a r g e t P o r t :   9 3 7 6   c l u s t e r I P :   1 0 . 0 . 1 7 1 . 2 3 9   t y p e :   L o a d B a l a n c e r   s t a t u s :   l o a d B a l a n c e r :   i n g r e s s :   -   i p :   1 9 2 . 0 . 2 . 1 2 7   T r a f f i c   f r o m   t h e   e x t e r n a l   l o a d   b a l a n c e r   i s   d i r e c t e d   a t   t h e   b a c k e n d   P o d s .   T h e   c l o u d   p r o v i d e r   d e c i d e s   h o w   i t   i s   l o a d   b a l a n c e d .   T o   i m p l e m e n t   a   S e r v i c e   o f   t y p e :   L o a d B a l a n c e r ,   K u b e r n e t e s   t y p i c a l l y   s t a r t s   o f f   b y   m a k i n g   t h e   c h a n g e s   t h a t   a r e   e q u i v a l e n t   t o   y o u   r e q u e s t i n g   a   S e r v i c e   o f   t y p e :   N o d e P o r t .   T h e   c l o u d - c o n t r o l l e r - m a n a g e r   c o m p o n e n t   t h e n   c o n f i g u r e s   t h e   e x t e r n a l   l o a d   b a l a n c e r   t o   f o r w a r d   t r a f f i c   t o   t h a t   a s s i g n e d   n o d e   p o r t .   Y o u   c a n   c o n ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_3_7128"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e . s p e c . l o a d B a l a n c e r I P   f i e l d   f o r   a   S e r v i c e   w a s   d e p r e c a t e d   i n   K u b e r n e t e s   v 1 . 2 4 .   T h i s   f i e l d   w a s   u n d e r - s p e c i f i e d   a n d   i t s   m e a n i n g   v a r i e s   a c r o s s   i m p l e m e n t a t i o n s .   I t   a l s o   c a n n o t   s u p p o r t   d u a l - s t a c k   n e t w o r k i n g .   T h i s   f i e l d   m a y   b e   r e m o v e d   i n   a   f u t u r e   A P I   v e r s i o n .   I f   y o u ' r e   i n t e g r a t i n g   w i t h   a   p r o v i d e r   t h a t   s u p p o r t s   s p e c i f y i n g   t h e   l o a d   b a l a n c e r   I P   a d d r e s s ( e s )   f o r   a   S e r v i c e   v i a   a   ( p r o v i d e r   s p e c i f i c )   a n n o t a t i o n ,   y o u   s h o u l d   s w i t c h   t o   d o i n g   t h a t .   I f   y o u   a r e   w r i t i n g   c o d e   f o r   a   l o a d   b a l a n c e r   i n t e g r a t i o n   w i t h   K u b e r n e t e s ,   a v o i d   u s i n g   t h i s   f i e l d .   Y o u   c a n   i n t e g r a t e   w i t h   G a t e w a y   r a t h e r   t h a n   S e r v i c e ,   o r   y o u   c a n   d e f i n e   y o u r   o w n   ( p r o v i d e r   s p e c i f i c )   a n n o t a t i o n s   o n   t h e   S e r v i c e   t h a t   s p e c i f y   t h e   e q u i v a l e n t   d e t a i l .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_4_7129"
  },
  {
    "question": "What is Node liveness impact on load balancer traffic?",
    "answer": "L o a d   b a l a n c e r   h e a l t h   c h e c k s   a r e   c r i t i c a l   t o   m o d e r n   a p p l i c a t i o n s .   T h e y   a r e   u s e d   t o   d e t e r m i n e   w h i c h   s e r v e r   ( v i r t u a l   m a c h i n e ,   o r   I P   a d d r e s s )   t h e   l o a d   b a l a n c e r   s h o u l d   d i s p a t c h   t r a f f i c   t o .   T h e   K u b e r n e t e s   A P I s   d o   n o t   d e f i n e   h o w   h e a l t h   c h e c k s   h a v e   t o   b e   i m p l e m e n t e d   f o r   K u b e r n e t e s   m a n a g e d   l o a d   b a l a n c e r s ,   i n s t e a d   i t ' s   t h e   c l o u d   p r o v i d e r s   ( a n d   t h e   p e o p l e   i m p l e m e n t i n g   i n t e g r a t i o n   c o d e )   w h o   d e c i d e   o n   t h e   b e h a v i o r .   L o a d   b a l a n c e r   h e a l t h   c h e c k s   a r e   e x t e n s i v e l y   u s e d   w i t h i n   t h e   c o n t e x t   o f   s u p p o r t i n g   t h e   e x t e r n a l T r a f f i c P o l i c y   f i e l d   f o r   S e r v i c e s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_4_7130"
  },
  {
    "question": "What is Load balancers with mixed protocol types?",
    "answer": "B y   d e f a u l t ,   f o r   L o a d B a l a n c e r   t y p e   o f   S e r v i c e s ,   w h e n   t h e r e   i s   m o r e   t h a n   o n e   p o r t   d e f i n e d ,   a l l   p o r t s   m u s t   h a v e   t h e   s a m e   p r o t o c o l ,   a n d   t h e   p r o t o c o l   m u s t   b e   o n e   w h i c h   i s   s u p p o r t e d   b y   t h e   c l o u d   p r o v i d e r .   T h e   f e a t u r e   g a t e   M i x e d P r o t o c o l L B S e r v i c e   ( e n a b l e d   b y   d e f a u l t   f o r   t h e   k u b e - a p i s e r v e r   a s   o f   v 1 . 2 4 )   a l l o w s   t h e   u s e   o f   d i f f e r e n t   p r o t o c o l s   f o r   L o a d B a l a n c e r   t y p e   o f   S e r v i c e s ,   w h e n   t h e r e   i s   m o r e   t h a n   o n e   p o r t   d e f i n e d .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_4_7131"
  },
  {
    "question": "What is Disabling load balancer NodePort allocation?",
    "answer": "Y o u   c a n   o p t i o n a l l y   d i s a b l e   n o d e   p o r t   a l l o c a t i o n   f o r   a   S e r v i c e   o f   t y p e :   L o a d B a l a n c e r ,   b y   s e t t i n g   t h e   f i e l d   s p e c . a l l o c a t e L o a d B a l a n c e r N o d e P o r t s   t o   f a l s e .   T h i s   s h o u l d   o n l y   b e   u s e d   f o r   l o a d   b a l a n c e r   i m p l e m e n t a t i o n s   t h a t   r o u t e   t r a f f i c   d i r e c t l y   t o   p o d s   a s   o p p o s e d   t o   u s i n g   n o d e   p o r t s .   B y   d e f a u l t ,   s p e c . a l l o c a t e L o a d B a l a n c e r N o d e P o r t s   i s   t r u e   a n d   t y p e   L o a d B a l a n c e r   S e r v i c e s   w i l l   c o n t i n u e   t o   a l l o c a t e   n o d e   p o r t s .   I f   s p e c . a l l o c a t e L o a d B a l a n c e r N o d e P o r t s   i s   s e t   t o   f a l s e   o n   a n   e x i s t i n g   S e r v i c e   w i t h   a l l o c a t e d   n o d e   p o r t s ,   t h o s e   n o d e   p o r t s   w i l l   n o t   b e   d e - a l l o c a t e d   a u t o m a t i c a l l y .   Y o u   m u s t   e x p l i c i t l y   r e m o v e   t h e   n o d e P o r t s   e n t r y   i n   e v e r y   S e r v i c e   p o r t   t o   d e - a l l o c a t e   t h o s e   n o d e   p o r t s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_4_7132"
  },
  {
    "question": "What is Specifying class of load balancer implementation?",
    "answer": "F o r   a   S e r v i c e   w i t h   t y p e   s e t   t o   L o a d B a l a n c e r ,   t h e   . s p e c . l o a d B a l a n c e r C l a s s   f i e l d   e n a b l e s   y o u   t o   u s e   a   l o a d   b a l a n c e r   i m p l e m e n t a t i o n   o t h e r   t h a n   t h e   c l o u d   p r o v i d e r   d e f a u l t .   B y   d e f a u l t ,   . s p e c . l o a d B a l a n c e r C l a s s   i s   n o t   s e t   a n d   a   L o a d B a l a n c e r   t y p e   o f   S e r v i c e   u s e s   t h e   c l o u d   p r o v i d e r ' s   d e f a u l t   l o a d   b a l a n c e r   i m p l e m e n t a t i o n   i f   t h e   c l u s t e r   i s   c o n f i g u r e d   w i t h   a   c l o u d   p r o v i d e r   u s i n g   t h e   - - c l o u d - p r o v i d e r   c o m p o n e n t   f l a g .   I f   y o u   s p e c i f y   . s p e c . l o a d B a l a n c e r C l a s s ,   i t   i s   a s s u m e d   t h a t   a   l o a d   b a l a n c e r   i m p l e m e n t a t i o n   t h a t   m a t c h e s   t h e   s p e c i f i e d   c l a s s   i s   w a t c h i n g   f o r   S e r v i c e s .   A n y   d e f a u l t   l o a d   b a l a n c e r   i m p l e m e n t a t i o n   ( f o r   e x a m p l e ,   t h e   o n e   p r o v i d e d   b y   t h e   c l o u d   p r o v i d e r )   w i l l   i g n o r e   S e r v i c e s   t h a t   h a v e   t h i s   f i e l d   s e t .   s p e c . l o a d B a l a n c e r C l a s s   c a n   b e   s e t   o n   a   S e r v i c e   o f   t y p e   L o a d B a l a n c e r   o n l y .   O n c e   s e t ,   i t   c a n n o t   b e   c h a n g e d .   T h e   v a l u e   o f   s p e c . l o a d B a l a n c e r C l a s s   m u s t   b e   a   l a b e l - s t y l e   i d e n t i f i e r ,   w i t h   a n   o p t i o n a l   p r e f i x   s u c h   a s   \" i n t e r n a l - v i p \"   o r   \" e x a m p l e . c o m / i n t e r n a l - v i p \" .   U n p r e f i x e d   n a m e s   a r e   r e s e r v e d   f o r   e n d - u s e r s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_4_7133"
  },
  {
    "question": "What is Load balancer IP address mode?",
    "answer": "F o r   a   S e r v i c e   o f   t y p e :   L o a d B a l a n c e r ,   a   c o n t r o l l e r   c a n   s e t   . s t a t u s . l o a d B a l a n c e r . i n g r e s s . i p M o d e .   T h e   . s t a t u s . l o a d B a l a n c e r . i n g r e s s . i p M o d e   s p e c i f i e s   h o w   t h e   l o a d - b a l a n c e r   I P   b e h a v e s .   I t   m a y   b e   s p e c i f i e d   o n l y   w h e n   t h e   . s t a t u s . l o a d B a l a n c e r . i n g r e s s . i p   f i e l d   i s   a l s o   s p e c i f i e d .   T h e r e   a r e   t w o   p o s s i b l e   v a l u e s   f o r   . s t a t u s . l o a d B a l a n c e r . i n g r e s s . i p M o d e :   \" V I P \"   a n d   \" P r o x y \" .   T h e   d e f a u l t   v a l u e   i s   \" V I P \"   m e a n i n g   t h a t   t r a f f i c   i s   d e l i v e r e d   t o   t h e   n o d e   w i t h   t h e   d e s t i n a t i o n   s e t   t o   t h e   l o a d - b a l a n c e r ' s   I P   a n d   p o r t .   T h e r e   a r e   t w o   c a s e s   w h e n   s e t t i n g   t h i s   t o   \" P r o x y \" ,   d e p e n d i n g   o n   h o w   t h e   l o a d - b a l a n c e r   f r o m   t h e   c l o u d   p r o v i d e r   d e l i v e r s   t h e   t r a f f i c s :   I f   t h e   t r a f f i c   i s   d e l i v e r e d   t o   t h e   n o d e   t h e n   D N A T e d   t o   t h e   p o d ,   t h e   d e s t i n a t i o n   w o u l d   b e   s e t   t o   t h e   n o d e ' s   I P   a n d   n o d e   p o r t ; I f   t h e   t r a f f i c   i s   d e l i v e r e d   d i r e c t l y   t o   t h e   p o d ,   t h e   d e s t i n a t i o n   w o u l d   b e   s e t   t o   t h e   p o d ' s   I P   a n d   p o r t .   S e r v i c e   i m p l e m e n t a t i o n s   m a y   u s e   t h i s   i n f o r m a t i o n   t o   a d j u s t   t r a f f i c   r o u t i n g .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_4_7134"
  },
  {
    "question": "What is Internal load balancer?",
    "answer": "I n   a   m i x e d   e n v i r o n m e n t   i t   i s   s o m e t i m e s   n e c e s s a r y   t o   r o u t e   t r a f f i c   f r o m   S e r v i c e s   i n s i d e   t h e   s a m e   ( v i r t u a l )   n e t w o r k   a d d r e s s   b l o c k .   I n   a   s p l i t - h o r i z o n   D N S   e n v i r o n m e n t   y o u   w o u l d   n e e d   t w o   S e r v i c e s   t o   b e   a b l e   t o   r o u t e   b o t h   e x t e r n a l   a n d   i n t e r n a l   t r a f f i c   t o   y o u r   e n d p o i n t s .   T o   s e t   a n   i n t e r n a l   l o a d   b a l a n c e r ,   a d d   o n e   o f   t h e   f o l l o w i n g   a n n o t a t i o n s   t o   y o u r   S e r v i c e   d e p e n d i n g   o n   t h e   c l o u d   s e r v i c e   p r o v i d e r   y o u ' r e   u s i n g :   S e l e c t   o n e   o f   t h e   t a b s .   S e l e c t   o n e   o f   t h e   t a b s .   m e t a d a t a :   n a m e :   m y - s e r v i c e   a n n o t a t i o n s :   n e t w o r k i n g . g k e . i o / l o a d - b a l a n c e r - t y p e :   \" I n t e r n a l \"   m e t a d a t a :   n a m e :   m y - s e r v i c e   a n n o t a t i o n s :   n e t w o r k i n g . g k e . i o / l o a d - b a l a n c e r - t y p e :   \" I n t e r n a l \"   m e t a d a t a :   n a m e :   m y - s e r v i c e   a n n o t a t i o n s :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - i n t e r n a l :   \" t r u e \"   m e t a d a t a :   n a m e :   m y - s e r v i c e   a n n o t a t i o n s :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - i n t e r n a l :   \" t r u e \"   m e t a d a t a :   n a m e :   m y - s e r v i c e   a n n o t a t i o n s :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a z u r e - l o a d - b a l a n c e r - i n t e r n a l :   \" t r u e \"   m e t a d a t a :   n a m e :   m y - s e r v i c e   a n n o t a t i o n s :   s e r v i c e . b e t a . k u b e r n ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_4_7135"
  },
  {
    "question": "What is type: ExternalName?",
    "answer": "S e r v i c e s   o f   t y p e   E x t e r n a l N a m e   m a p   a   S e r v i c e   t o   a   D N S   n a m e ,   n o t   t o   a   t y p i c a l   s e l e c t o r   s u c h   a s   m y - s e r v i c e   o r   c a s s a n d r a .   Y o u   s p e c i f y   t h e s e   S e r v i c e s   w i t h   t h e   s p e c . e x t e r n a l N a m e   p a r a m e t e r .   T h i s   S e r v i c e   d e f i n i t i o n ,   f o r   e x a m p l e ,   m a p s   t h e   m y - s e r v i c e   S e r v i c e   i n   t h e   p r o d   n a m e s p a c e   t o   m y . d a t a b a s e . e x a m p l e . c o m :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   n a m e s p a c e :   p r o d   s p e c :   t y p e :   E x t e r n a l N a m e   e x t e r n a l N a m e :   m y . d a t a b a s e . e x a m p l e . c o m",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_3_7136"
  },
  {
    "question": "What is Note:?",
    "answer": "A   S e r v i c e   o f   t y p e :   E x t e r n a l N a m e   a c c e p t s   a n   I P v 4   a d d r e s s   s t r i n g ,   b u t   t r e a t s   t h a t   s t r i n g   a s   a   D N S   n a m e   c o m p r i s e d   o f   d i g i t s ,   n o t   a s   a n   I P   a d d r e s s   ( t h e   i n t e r n e t   d o e s   n o t   h o w e v e r   a l l o w   s u c h   n a m e s   i n   D N S ) .   S e r v i c e s   w i t h   e x t e r n a l   n a m e s   t h a t   r e s e m b l e   I P v 4   a d d r e s s e s   a r e   n o t   r e s o l v e d   b y   D N S   s e r v e r s .   I f   y o u   w a n t   t o   m a p   a   S e r v i c e   d i r e c t l y   t o   a   s p e c i f i c   I P   a d d r e s s ,   c o n s i d e r   u s i n g   h e a d l e s s   S e r v i c e s .   W h e n   l o o k i n g   u p   t h e   h o s t   m y - s e r v i c e . p r o d . s v c . c l u s t e r . l o c a l ,   t h e   c l u s t e r   D N S   S e r v i c e   r e t u r n s   a   C N A M E   r e c o r d   w i t h   t h e   v a l u e   m y . d a t a b a s e . e x a m p l e . c o m .   A c c e s s i n g   m y - s e r v i c e   w o r k s   i n   t h e   s a m e   w a y   a s   o t h e r   S e r v i c e s   b u t   w i t h   t h e   c r u c i a l   d i f f e r e n c e   t h a t   r e d i r e c t i o n   h a p p e n s   a t   t h e   D N S   l e v e l   r a t h e r   t h a n   v i a   p r o x y i n g   o r   f o r w a r d i n g .   S h o u l d   y o u   l a t e r   d e c i d e   t o   m o v e   y o u r   d a t a b a s e   i n t o   y o u r   c l u s t e r ,   y o u   c a n   s t a r t   i t s   P o d s ,   a d d   a p p r o p r i a t e   s e l e c t o r s   o r   e n d p o i n t s ,   a n d   c h a n g e   t h e   S e r v i c e ' s   t y p e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_4_7137"
  },
  {
    "question": "What is Caution:?",
    "answer": "Y o u   m a y   h a v e   t r o u b l e   u s i n g   E x t e r n a l N a m e   f o r   s o m e   c o m m o n   p r o t o c o l s ,   i n c l u d i n g   H T T P   a n d   H T T P S .   I f   y o u   u s e   E x t e r n a l N a m e   t h e n   t h e   h o s t n a m e   u s e d   b y   c l i e n t s   i n s i d e   y o u r   c l u s t e r   i s   d i f f e r e n t   f r o m   t h e   n a m e   t h a t   t h e   E x t e r n a l N a m e   r e f e r e n c e s .   F o r   p r o t o c o l s   t h a t   u s e   h o s t n a m e s   t h i s   d i f f e r e n c e   m a y   l e a d   t o   e r r o r s   o r   u n e x p e c t e d   r e s p o n s e s .   H T T P   r e q u e s t s   w i l l   h a v e   a   H o s t :   h e a d e r   t h a t   t h e   o r i g i n   s e r v e r   d o e s   n o t   r e c o g n i z e ;   T L S   s e r v e r s   w i l l   n o t   b e   a b l e   t o   p r o v i d e   a   c e r t i f i c a t e   m a t c h i n g   t h e   h o s t n a m e   t h a t   t h e   c l i e n t   c o n n e c t e d   t o .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_4_7138"
  },
  {
    "question": "What is Headless Services?",
    "answer": "S o m e t i m e s   y o u   d o n ' t   n e e d   l o a d - b a l a n c i n g   a n d   a   s i n g l e   S e r v i c e   I P .   I n   t h i s   c a s e ,   y o u   c a n   c r e a t e   w h a t   a r e   t e r m e d   h e a d l e s s   S e r v i c e s ,   b y   e x p l i c i t l y   s p e c i f y i n g   \" N o n e \"   f o r   t h e   c l u s t e r   I P   a d d r e s s   ( . s p e c . c l u s t e r I P ) .   Y o u   c a n   u s e   a   h e a d l e s s   S e r v i c e   t o   i n t e r f a c e   w i t h   o t h e r   s e r v i c e   d i s c o v e r y   m e c h a n i s m s ,   w i t h o u t   b e i n g   t i e d   t o   K u b e r n e t e s '   i m p l e m e n t a t i o n .   F o r   h e a d l e s s   S e r v i c e s ,   a   c l u s t e r   I P   i s   n o t   a l l o c a t e d ,   k u b e - p r o x y   d o e s   n o t   h a n d l e   t h e s e   S e r v i c e s ,   a n d   t h e r e   i s   n o   l o a d   b a l a n c i n g   o r   p r o x y i n g   d o n e   b y   t h e   p l a t f o r m   f o r   t h e m .   A   h e a d l e s s   S e r v i c e   a l l o w s   a   c l i e n t   t o   c o n n e c t   t o   w h i c h e v e r   P o d   i t   p r e f e r s ,   d i r e c t l y .   S e r v i c e s   t h a t   a r e   h e a d l e s s   d o n ' t   c o n f i g u r e   r o u t e s   a n d   p a c k e t   f o r w a r d i n g   u s i n g   v i r t u a l   I P   a d d r e s s e s   a n d   p r o x i e s ;   i n s t e a d ,   h e a d l e s s   S e r v i c e s   r e p o r t   t h e   e n d p o i n t   I P   a d d r e s s e s   o f   t h e   i n d i v i d u a l   p o d s   v i a   i n t e r n a l   D N S   r e c o r d s ,   s e r v e d   t h r o u g h   t h e   c l u s t e r ' s   D N S   s e r v i c e .   T o   d e f i n e   a   h e a d l e s s   S e r v i c e ,   y o u   m a k e   a   S e r v i c e   w i t h   . s p e c . t y p e   s e t   t o   C l u s t e r I P   ( w h i c h   i s   a l s o   t h e   d e f a u l t   f o r   t y p e ) ,   a n d   y o u   a d d i t i o n a l l ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_2_7139"
  },
  {
    "question": "What is With selectors?",
    "answer": "F o r   h e a d l e s s   S e r v i c e s   t h a t   d e f i n e   s e l e c t o r s ,   t h e   e n d p o i n t s   c o n t r o l l e r   c r e a t e s   E n d p o i n t S l i c e s   i n   t h e   K u b e r n e t e s   A P I ,   a n d   m o d i f i e s   t h e   D N S   c o n f i g u r a t i o n   t o   r e t u r n   A   o r   A A A A   r e c o r d s   ( I P v 4   o r   I P v 6   a d d r e s s e s )   t h a t   p o i n t   d i r e c t l y   t o   t h e   P o d s   b a c k i n g   t h e   S e r v i c e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_3_7140"
  },
  {
    "question": "What is Without selectors?",
    "answer": "F o r   h e a d l e s s   S e r v i c e s   t h a t   d o   n o t   d e f i n e   s e l e c t o r s ,   t h e   c o n t r o l   p l a n e   d o e s   n o t   c r e a t e   E n d p o i n t S l i c e   o b j e c t s .   H o w e v e r ,   t h e   D N S   s y s t e m   l o o k s   f o r   a n d   c o n f i g u r e s   e i t h e r :   D N S   C N A M E   r e c o r d s   f o r   t y p e :   E x t e r n a l N a m e   S e r v i c e s . D N S   A   /   A A A A   r e c o r d s   f o r   a l l   I P   a d d r e s s e s   o f   t h e   S e r v i c e ' s   r e a d y   e n d p o i n t s ,   f o r   a l l   S e r v i c e   t y p e s   o t h e r   t h a n   E x t e r n a l N a m e . F o r   I P v 4   e n d p o i n t s ,   t h e   D N S   s y s t e m   c r e a t e s   A   r e c o r d s . F o r   I P v 6   e n d p o i n t s ,   t h e   D N S   s y s t e m   c r e a t e s   A A A A   r e c o r d s .   F o r   I P v 4   e n d p o i n t s ,   t h e   D N S   s y s t e m   c r e a t e s   A   r e c o r d s . F o r   I P v 6   e n d p o i n t s ,   t h e   D N S   s y s t e m   c r e a t e s   A A A A   r e c o r d s .   W h e n   y o u   d e f i n e   a   h e a d l e s s   S e r v i c e   w i t h o u t   a   s e l e c t o r ,   t h e   p o r t   m u s t   m a t c h   t h e   t a r g e t P o r t .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_3_7141"
  },
  {
    "question": "What is Discovering services?",
    "answer": "F o r   c l i e n t s   r u n n i n g   i n s i d e   y o u r   c l u s t e r ,   K u b e r n e t e s   s u p p o r t s   t w o   p r i m a r y   m o d e s   o f   f i n d i n g   a   S e r v i c e :   e n v i r o n m e n t   v a r i a b l e s   a n d   D N S .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_2_7142"
  },
  {
    "question": "What is Environment variables?",
    "answer": "W h e n   a   P o d   i s   r u n   o n   a   N o d e ,   t h e   k u b e l e t   a d d s   a   s e t   o f   e n v i r o n m e n t   v a r i a b l e s   f o r   e a c h   a c t i v e   S e r v i c e .   I t   a d d s   { S V C N A M E } _ S E R V I C E _ H O S T   a n d   { S V C N A M E } _ S E R V I C E _ P O R T   v a r i a b l e s ,   w h e r e   t h e   S e r v i c e   n a m e   i s   u p p e r - c a s e d   a n d   d a s h e s   a r e   c o n v e r t e d   t o   u n d e r s c o r e s .   F o r   e x a m p l e ,   t h e   S e r v i c e   r e d i s - p r i m a r y   w h i c h   e x p o s e s   T C P   p o r t   6 3 7 9   a n d   h a s   b e e n   a l l o c a t e d   c l u s t e r   I P   a d d r e s s   1 0 . 0 . 0 . 1 1 ,   p r o d u c e s   t h e   f o l l o w i n g   e n v i r o n m e n t   v a r i a b l e s :   R E D I S _ P R I M A R Y _ S E R V I C E _ H O S T = 1 0 . 0 . 0 . 1 1   R E D I S _ P R I M A R Y _ S E R V I C E _ P O R T = 6 3 7 9   R E D I S _ P R I M A R Y _ P O R T = t c p : / / 1 0 . 0 . 0 . 1 1 : 6 3 7 9   R E D I S _ P R I M A R Y _ P O R T _ 6 3 7 9 _ T C P = t c p : / / 1 0 . 0 . 0 . 1 1 : 6 3 7 9   R E D I S _ P R I M A R Y _ P O R T _ 6 3 7 9 _ T C P _ P R O T O = t c p   R E D I S _ P R I M A R Y _ P O R T _ 6 3 7 9 _ T C P _ P O R T = 6 3 7 9   R E D I S _ P R I M A R Y _ P O R T _ 6 3 7 9 _ T C P _ A D D R = 1 0 . 0 . 0 . 1 1",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_3_7143"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   y o u   h a v e   a   P o d   t h a t   n e e d s   t o   a c c e s s   a   S e r v i c e ,   a n d   y o u   a r e   u s i n g   t h e   e n v i r o n m e n t   v a r i a b l e   m e t h o d   t o   p u b l i s h   t h e   p o r t   a n d   c l u s t e r   I P   t o   t h e   c l i e n t   P o d s ,   y o u   m u s t   c r e a t e   t h e   S e r v i c e   b e f o r e   t h e   c l i e n t   P o d s   c o m e   i n t o   e x i s t e n c e .   O t h e r w i s e ,   t h o s e   c l i e n t   P o d s   w o n ' t   h a v e   t h e i r   e n v i r o n m e n t   v a r i a b l e s   p o p u l a t e d .   I f   y o u   o n l y   u s e   D N S   t o   d i s c o v e r   t h e   c l u s t e r   I P   f o r   a   S e r v i c e ,   y o u   d o n ' t   n e e d   t o   w o r r y   a b o u t   t h i s   o r d e r i n g   i s s u e .   K u b e r n e t e s   a l s o   s u p p o r t s   a n d   p r o v i d e s   v a r i a b l e s   t h a t   a r e   c o m p a t i b l e   w i t h   D o c k e r   E n g i n e ' s   \" l e g a c y   c o n t a i n e r   l i n k s \"   f e a t u r e .   Y o u   c a n   r e a d   m a k e L i n k V a r i a b l e s   t o   s e e   h o w   t h i s   i s   i m p l e m e n t e d   i n   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_4_7144"
  },
  {
    "question": "What is DNS?",
    "answer": "Y o u   c a n   ( a n d   a l m o s t   a l w a y s   s h o u l d )   s e t   u p   a   D N S   s e r v i c e   f o r   y o u r   K u b e r n e t e s   c l u s t e r   u s i n g   a n   a d d - o n .   A   c l u s t e r - a w a r e   D N S   s e r v e r ,   s u c h   a s   C o r e D N S ,   w a t c h e s   t h e   K u b e r n e t e s   A P I   f o r   n e w   S e r v i c e s   a n d   c r e a t e s   a   s e t   o f   D N S   r e c o r d s   f o r   e a c h   o n e .   I f   D N S   h a s   b e e n   e n a b l e d   t h r o u g h o u t   y o u r   c l u s t e r   t h e n   a l l   P o d s   s h o u l d   a u t o m a t i c a l l y   b e   a b l e   t o   r e s o l v e   S e r v i c e s   b y   t h e i r   D N S   n a m e .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   S e r v i c e   c a l l e d   m y - s e r v i c e   i n   a   K u b e r n e t e s   n a m e s p a c e   m y - n s ,   t h e   c o n t r o l   p l a n e   a n d   t h e   D N S   S e r v i c e   a c t i n g   t o g e t h e r   c r e a t e   a   D N S   r e c o r d   f o r   m y - s e r v i c e . m y - n s .   P o d s   i n   t h e   m y - n s   n a m e s p a c e   s h o u l d   b e   a b l e   t o   f i n d   t h e   s e r v i c e   b y   d o i n g   a   n a m e   l o o k u p   f o r   m y - s e r v i c e   ( m y - s e r v i c e . m y - n s   w o u l d   a l s o   w o r k ) .   P o d s   i n   o t h e r   n a m e s p a c e s   m u s t   q u a l i f y   t h e   n a m e   a s   m y - s e r v i c e . m y - n s .   T h e s e   n a m e s   w i l l   r e s o l v e   t o   t h e   c l u s t e r   I P   a s s i g n e d   f o r   t h e   S e r v i c e .   K u b e r n e t e s   a l s o   s u p p o r t s   D N S   S R V   ( S e r v i c e )   r e c o r d s   f o r   n a m e d   p o r t s .   I f   t h e   m y - s e r v i c e . m y - n s   S e r v i c e   h a s   a   p o r t   n a m e d   h t t p   w i t h   t h e   p r o t o c o l   s e t   t o   T C P ,   y o u   c a n   d o   a   D N S   S R V   q u e r ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_3_7145"
  },
  {
    "question": "What is Virtual IP addressing mechanism?",
    "answer": "R e a d   V i r t u a l   I P s   a n d   S e r v i c e   P r o x i e s   e x p l a i n s   t h e   m e c h a n i s m   K u b e r n e t e s   p r o v i d e s   t o   e x p o s e   a   S e r v i c e   w i t h   a   v i r t u a l   I P   a d d r e s s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_2_7146"
  },
  {
    "question": "What is Traffic policies?",
    "answer": "Y o u   c a n   s e t   t h e   . s p e c . i n t e r n a l T r a f f i c P o l i c y   a n d   . s p e c . e x t e r n a l T r a f f i c P o l i c y   f i e l d s   t o   c o n t r o l   h o w   K u b e r n e t e s   r o u t e s   t r a f f i c   t o   h e a l t h y   ( “ r e a d y ” )   b a c k e n d s .   S e e   T r a f f i c   P o l i c i e s   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_3_7147"
  },
  {
    "question": "What is Traffic distribution?",
    "answer": "T h e   . s p e c . t r a f f i c D i s t r i b u t i o n   f i e l d   p r o v i d e s   a n o t h e r   w a y   t o   i n f l u e n c e   t r a f f i c   r o u t i n g   w i t h i n   a   K u b e r n e t e s   S e r v i c e .   W h i l e   t r a f f i c   p o l i c i e s   f o c u s   o n   s t r i c t   s e m a n t i c   g u a r a n t e e s ,   t r a f f i c   d i s t r i b u t i o n   a l l o w s   y o u   t o   e x p r e s s   p r e f e r e n c e s   ( s u c h   a s   r o u t i n g   t o   t o p o l o g i c a l l y   c l o s e r   e n d p o i n t s ) .   T h i s   c a n   h e l p   o p t i m i z e   f o r   p e r f o r m a n c e ,   c o s t ,   o r   r e l i a b i l i t y .   I n   K u b e r n e t e s   1 . 3 4 ,   t h e   f o l l o w i n g   f i e l d   v a l u e   i s   s u p p o r t e d :   I n   K u b e r n e t e s   1 . 3 4 ,   t w o   a d d i t i o n a l   v a l u e s   a r e   a v a i l a b l e   ( u n l e s s   t h e   P r e f e r S a m e T r a f f i c D i s t r i b u t i o n   f e a t u r e   g a t e   i s   d i s a b l e d ) :   I f   t h e   f i e l d   i s   n o t   s e t ,   t h e   i m p l e m e n t a t i o n   w i l l   a p p l y   i t s   d e f a u l t   r o u t i n g   s t r a t e g y .   S e e   T r a f f i c   D i s t r i b u t i o n   f o r   m o r e   d e t a i l s",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_3_7148"
  },
  {
    "question": "What is Session stickiness?",
    "answer": "I f   y o u   w a n t   t o   m a k e   s u r e   t h a t   c o n n e c t i o n s   f r o m   a   p a r t i c u l a r   c l i e n t   a r e   p a s s e d   t o   t h e   s a m e   P o d   e a c h   t i m e ,   y o u   c a n   c o n f i g u r e   s e s s i o n   a f f i n i t y   b a s e d   o n   t h e   c l i e n t ' s   I P   a d d r e s s .   R e a d   s e s s i o n   a f f i n i t y   t o   l e a r n   m o r e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_3_7149"
  },
  {
    "question": "What is External IPs?",
    "answer": "I f   t h e r e   a r e   e x t e r n a l   I P s   t h a t   r o u t e   t o   o n e   o r   m o r e   c l u s t e r   n o d e s ,   K u b e r n e t e s   S e r v i c e s   c a n   b e   e x p o s e d   o n   t h o s e   e x t e r n a l I P s .   W h e n   n e t w o r k   t r a f f i c   a r r i v e s   i n t o   t h e   c l u s t e r ,   w i t h   t h e   e x t e r n a l   I P   ( a s   d e s t i n a t i o n   I P )   a n d   t h e   p o r t   m a t c h i n g   t h a t   S e r v i c e ,   r u l e s   a n d   r o u t e s   t h a t   K u b e r n e t e s   h a s   c o n f i g u r e d   e n s u r e   t h a t   t h e   t r a f f i c   i s   r o u t e d   t o   o n e   o f   t h e   e n d p o i n t s   f o r   t h a t   S e r v i c e .   W h e n   y o u   d e f i n e   a   S e r v i c e ,   y o u   c a n   s p e c i f y   e x t e r n a l I P s   f o r   a n y   s e r v i c e   t y p e .   I n   t h e   e x a m p l e   b e l o w ,   t h e   S e r v i c e   n a m e d   \" m y - s e r v i c e \"   c a n   b e   a c c e s s e d   b y   c l i e n t s   u s i n g   T C P ,   o n   \" 1 9 8 . 5 1 . 1 0 0 . 3 2 : 8 0 \"   ( c a l c u l a t e d   f r o m   . s p e c . e x t e r n a l I P s [ ]   a n d   . s p e c . p o r t s [ ] . p o r t ) .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   s p e c :   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   n a m e :   h t t p   p r o t o c o l :   T C P   p o r t :   8 0   t a r g e t P o r t :   4 9 1 5 2   e x t e r n a l I P s :   -   1 9 8 . 5 1 . 1 0 0 . 3 2",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_2_7150"
  },
  {
    "question": "What is API Object?",
    "answer": "S e r v i c e   i s   a   t o p - l e v e l   r e s o u r c e   i n   t h e   K u b e r n e t e s   R E S T   A P I .   Y o u   c a n   f i n d   m o r e   d e t a i l s   a b o u t   t h e   S e r v i c e   A P I   o b j e c t .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_2_7151"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   S e r v i c e s   a n d   h o w   t h e y   f i t   i n t o   K u b e r n e t e s :   F o l l o w   t h e   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s   t u t o r i a l . R e a d   a b o u t   I n g r e s s ,   w h i c h   e x p o s e s   H T T P   a n d   H T T P S   r o u t e s   f r o m   o u t s i d e   t h e   c l u s t e r   t o   S e r v i c e s   w i t h i n   y o u r   c l u s t e r . R e a d   a b o u t   G a t e w a y ,   a n   e x t e n s i o n   t o   K u b e r n e t e s   t h a t   p r o v i d e s   m o r e   f l e x i b i l i t y   t h a n   I n g r e s s .   F o r   m o r e   c o n t e x t ,   r e a d   t h e   f o l l o w i n g :   V i r t u a l   I P s   a n d   S e r v i c e   P r o x i e s E n d p o i n t S l i c e s S e r v i c e   A P I   r e f e r e n c e E n d p o i n t S l i c e   A P I   r e f e r e n c e E n d p o i n t   A P I   r e f e r e n c e   ( l e g a c y )",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/service/",
    "id": "k8s_00377_section_2_7152"
  },
  {
    "question": "What is kubectl config rename-context?",
    "answer": "kubectl config rename-contextSynopsisRenames a context from the kubeconfig file.CONTEXT_NAME is the context name that you want to change.NEW_NAME is the new name you want to set.Note: If the context being renamed is the 'current-context', this field will also be updated.kubectl config rename-context CONTEXT_NAME NEW_NAME Examples # Rename the context 'old-name' to 'new-name' in your kubeconfig file kubectl config rename-context old-name new-name Options-h, --helphelp for rename-contextParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_rename-context/",
    "id": "k8s_00378_qa_7153"
  },
  {
    "question": "How does kubectl config rename-context work?",
    "answer": "kubectl config rename-contextSynopsisRenames a context from the kubeconfig file.CONTEXT_NAME is the context name that you want to change.NEW_NAME is the new name you want to set.Note: If the context being renamed is the 'current-context', this field will also be updated.kubectl config rename-context CONTEXT_NAME NEW_NAME Examples # Rename the context 'old-name' to 'new-name' in your kubeconfig file kubectl config rename-context old-name new-name Options-h, --helphelp for rename-contextParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_rename-context/",
    "id": "k8s_00378_qa_7154"
  },
  {
    "question": "When would you use kubectl config rename-context?",
    "answer": "kubectl config rename-contextSynopsisRenames a context from the kubeconfig file.CONTEXT_NAME is the context name that you want to change.NEW_NAME is the new name you want to set.Note: If the context being renamed is the 'current-context', this field will also be updated.kubectl config rename-context CONTEXT_NAME NEW_NAME Examples # Rename the context 'old-name' to 'new-name' in your kubeconfig file kubectl config rename-context old-name new-name Options-h, --helphelp for rename-contextParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_rename-context/",
    "id": "k8s_00378_qa_7155"
  },
  {
    "question": "What are the benefits of kubectl config rename-context?",
    "answer": "kubectl config rename-contextSynopsisRenames a context from the kubeconfig file.CONTEXT_NAME is the context name that you want to change.NEW_NAME is the new name you want to set.Note: If the context being renamed is the 'current-context', this field will also be updated.kubectl config rename-context CONTEXT_NAME NEW_NAME Examples # Rename the context 'old-name' to 'new-name' in your kubeconfig file kubectl config rename-context old-name new-name Options-h, --helphelp for rename-contextParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_rename-context/",
    "id": "k8s_00378_qa_7156"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n a m e s   a   c o n t e x t   f r o m   t h e   k u b e c o n f i g   f i l e .   C O N T E X T _ N A M E   i s   t h e   c o n t e x t   n a m e   t h a t   y o u   w a n t   t o   c h a n g e .   N E W _ N A M E   i s   t h e   n e w   n a m e   y o u   w a n t   t o   s e t .   N o t e :   I f   t h e   c o n t e x t   b e i n g   r e n a m e d   i s   t h e   ' c u r r e n t - c o n t e x t ' ,   t h i s   f i e l d   w i l l   a l s o   b e   u p d a t e d .   k u b e c t l   c o n f i g   r e n a m e - c o n t e x t   C O N T E X T _ N A M E   N E W _ N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_rename-context/",
    "id": "k8s_00378_section_2_7157"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R e n a m e   t h e   c o n t e x t   ' o l d - n a m e '   t o   ' n e w - n a m e '   i n   y o u r   k u b e c o n f i g   f i l e   k u b e c t l   c o n f i g   r e n a m e - c o n t e x t   o l d - n a m e   n e w - n a m e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_rename-context/",
    "id": "k8s_00378_section_2_7158"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   r e n a m e - c o n t e x t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_rename-context/",
    "id": "k8s_00378_section_2_7159"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_rename-context/",
    "id": "k8s_00378_section_2_7160"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_rename-context/",
    "id": "k8s_00378_section_2_7161"
  },
  {
    "question": "What is StorageClass?",
    "answer": "StorageClassStorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.apiVersion: storage.k8s.io/v1import \"k8s.io/api/storage/v1\"StorageClassStorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.apiVersion: storage.k8s.io/v1kind: StorageClassmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataprovisioner (string), requiredprovisioner indicates the type of the provisioner.allowVolumeExpansion (boolean)allowVolumeExpansion shows whether the storage class allow volume expand.allowedTopologies ([]TopologySelectorTerm)Atomic: will be replaced during a mergeallowedTopologies restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.allowedTopologies.matchLabelExpressions ([]TopologySelectorLabelRequirement)Atomic: will be replaced during a mergeA list of topology selector requirements by labels.A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.allowedTopologies.matchLabelExpressions.key (string), requiredThe label key that the selector applies to.allowedTopologies.matchLabelExpressions.values ([]string), requiredAtomic: will be replaced during a mergeAn array of string values. One value must match the label to be selected. Each entry in Values is ORed.mountOptions ([]string)Atomic: will be replaced during a mergemountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid.parameters (map[string]string)parameters holds the parameters for the provisioner that should create volumes of this storage class.reclaimPolicy (string)reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.volumeBindingMode (string)volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.StorageClassListStorageClassList is a collection of storage classes.apiVersion: storage.k8s.io/v1kind: StorageClassListmetadata (ListMe",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_qa_7162"
  },
  {
    "question": "How does StorageClass work?",
    "answer": "StorageClassStorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.apiVersion: storage.k8s.io/v1import \"k8s.io/api/storage/v1\"StorageClassStorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.apiVersion: storage.k8s.io/v1kind: StorageClassmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataprovisioner (string), requiredprovisioner indicates the type of the provisioner.allowVolumeExpansion (boolean)allowVolumeExpansion shows whether the storage class allow volume expand.allowedTopologies ([]TopologySelectorTerm)Atomic: will be replaced during a mergeallowedTopologies restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.allowedTopologies.matchLabelExpressions ([]TopologySelectorLabelRequirement)Atomic: will be replaced during a mergeA list of topology selector requirements by labels.A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.allowedTopologies.matchLabelExpressions.key (string), requiredThe label key that the selector applies to.allowedTopologies.matchLabelExpressions.values ([]string), requiredAtomic: will be replaced during a mergeAn array of string values. One value must match the label to be selected. Each entry in Values is ORed.mountOptions ([]string)Atomic: will be replaced during a mergemountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid.parameters (map[string]string)parameters holds the parameters for the provisioner that should create volumes of this storage class.reclaimPolicy (string)reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.volumeBindingMode (string)volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.StorageClassListStorageClassList is a collection of storage classes.apiVersion: storage.k8s.io/v1kind: StorageClassListmetadata (ListMe",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_qa_7163"
  },
  {
    "question": "When would you use StorageClass?",
    "answer": "StorageClassStorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.apiVersion: storage.k8s.io/v1import \"k8s.io/api/storage/v1\"StorageClassStorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.apiVersion: storage.k8s.io/v1kind: StorageClassmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataprovisioner (string), requiredprovisioner indicates the type of the provisioner.allowVolumeExpansion (boolean)allowVolumeExpansion shows whether the storage class allow volume expand.allowedTopologies ([]TopologySelectorTerm)Atomic: will be replaced during a mergeallowedTopologies restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.allowedTopologies.matchLabelExpressions ([]TopologySelectorLabelRequirement)Atomic: will be replaced during a mergeA list of topology selector requirements by labels.A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.allowedTopologies.matchLabelExpressions.key (string), requiredThe label key that the selector applies to.allowedTopologies.matchLabelExpressions.values ([]string), requiredAtomic: will be replaced during a mergeAn array of string values. One value must match the label to be selected. Each entry in Values is ORed.mountOptions ([]string)Atomic: will be replaced during a mergemountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid.parameters (map[string]string)parameters holds the parameters for the provisioner that should create volumes of this storage class.reclaimPolicy (string)reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.volumeBindingMode (string)volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.StorageClassListStorageClassList is a collection of storage classes.apiVersion: storage.k8s.io/v1kind: StorageClassListmetadata (ListMe",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_qa_7164"
  },
  {
    "question": "What are the benefits of StorageClass?",
    "answer": "StorageClassStorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.apiVersion: storage.k8s.io/v1import \"k8s.io/api/storage/v1\"StorageClassStorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.apiVersion: storage.k8s.io/v1kind: StorageClassmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataprovisioner (string), requiredprovisioner indicates the type of the provisioner.allowVolumeExpansion (boolean)allowVolumeExpansion shows whether the storage class allow volume expand.allowedTopologies ([]TopologySelectorTerm)Atomic: will be replaced during a mergeallowedTopologies restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.allowedTopologies.matchLabelExpressions ([]TopologySelectorLabelRequirement)Atomic: will be replaced during a mergeA list of topology selector requirements by labels.A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.allowedTopologies.matchLabelExpressions.key (string), requiredThe label key that the selector applies to.allowedTopologies.matchLabelExpressions.values ([]string), requiredAtomic: will be replaced during a mergeAn array of string values. One value must match the label to be selected. Each entry in Values is ORed.mountOptions ([]string)Atomic: will be replaced during a mergemountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid.parameters (map[string]string)parameters holds the parameters for the provisioner that should create volumes of this storage class.reclaimPolicy (string)reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.volumeBindingMode (string)volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.StorageClassListStorageClassList is a collection of storage classes.apiVersion: storage.k8s.io/v1kind: StorageClassListmetadata (ListMe",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_qa_7165"
  },
  {
    "question": "What is StorageClass?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / s t o r a g e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_section_1_7166"
  },
  {
    "question": "What is StorageClass?",
    "answer": "S t o r a g e C l a s s   d e s c r i b e s   t h e   p a r a m e t e r s   f o r   a   c l a s s   o f   s t o r a g e   f o r   w h i c h   P e r s i s t e n t V o l u m e s   c a n   b e   d y n a m i c a l l y   p r o v i s i o n e d .   S t o r a g e C l a s s e s   a r e   n o n - n a m e s p a c e d ;   t h e   n a m e   o f   t h e   s t o r a g e   c l a s s   a c c o r d i n g   t o   e t c d   i s   i n   O b j e c t M e t a . N a m e .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   S t o r a g e C l a s s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a p r o v i s i o n e r   ( s t r i n g ) ,   r e q u i r e d p r o v i s i o n e r   i n d i c a t e s   t h e   t y p e   o f   t h e   p r o v i s i o n e r . a l l o w V o l u m e E x p a n s i o n   ( b o o l e a n ) a l l o w V o l u m e E x p a n s i o n   s h o w s   w h e t h e r   t h e   s t o r a g e   c l a s s   a l l o w   v o l u m e   e x p a n d . a l l o w e d T o p o l o g i e s   ( [ ] T o p o l o g y S e l e c t o r T e r m ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e a l l o w e d T o p o l o g i e s   r e s t r i c t   t h e   n o d e   t o p o l o g i e s   w h e r e   v o l u m e s   c a n   b e   d y n a m i c a l l y   p r o v i s i o n e d .   E a c h   v o l u m e   p l u g i n   d e f i n e s   i t s   o w n   s u p p o r t e d   t o p o l o g y   s p e c i f i c a t i o n s .   A n   e m p t y   T o p o l o g y S e l e c t o r T e r m   l i s t   m e a n s   t h e r e   i s   n o   t o p o l o g y   r e s t r i c t i o n .   T h i s   f i e l d   i s   o n l y   h o n o r e d   b y   s e r v e r s   t h a t   e n a b l e   t h e   V o l u m e S c h e d u l i n g   f ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_section_2_7167"
  },
  {
    "question": "What is StorageClassList?",
    "answer": "S t o r a g e C l a s s L i s t   i s   a   c o l l e c t i o n   o f   s t o r a g e   c l a s s e s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   S t o r a g e C l a s s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] S t o r a g e C l a s s ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   S t o r a g e C l a s s e s   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] S t o r a g e C l a s s ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   S t o r a g e C l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_section_2_7168"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_section_4_7169"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e C l a s s p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e C l a s s   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_section_4_7170"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e C l a s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_section_4_7171"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_section_4_7172"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_section_4_7173"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e C l a s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_section_4_7174"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_section_4_7175"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   S t o r a g e C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   S t o r a g e C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_section_4_7176"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e C l a s s ) :   O K   2 0 1   ( S t o r a g e C l a s s ) :   C r e a t e d   2 0 2   ( S t o r a g e C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_section_4_7177"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_section_4_7178"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e C l a s s b o d y :   S t o r a g e C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e C l a s s   b o d y :   S t o r a g e C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_section_4_7179"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e C l a s s ) :   O K   2 0 1   ( S t o r a g e C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_section_4_7180"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_section_4_7181"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e C l a s s b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e C l a s s   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_section_4_7182"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e C l a s s ) :   O K   2 0 1   ( S t o r a g e C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_section_4_7183"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_section_4_7184"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e C l a s s b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e C l a s s   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_section_4_7185"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e C l a s s ) :   O K   2 0 2   ( S t o r a g e C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_section_4_7186"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_section_4_7187"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_section_4_7188"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1/",
    "id": "k8s_00379_section_4_7189"
  },
  {
    "question": "What is FlowSchema?",
    "answer": "FlowSchemaFlowSchema defines the schema of a group of flows.apiVersion: flowcontrol.apiserver.k8s.io/v1import \"k8s.io/api/flowcontrol/v1\"FlowSchemaFlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".apiVersion: flowcontrol.apiserver.k8s.io/v1kind: FlowSchemametadata (ObjectMeta)metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (FlowSchemaSpec)spec is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (FlowSchemaStatus)status is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusFlowSchemaSpecFlowSchemaSpec describes how the FlowSchema's specification looks like.distinguisherMethod (FlowDistinguisherMethod)distinguisherMethod defines how to compute the flow distinguisher for requests that match this schema. nil specifies that the distinguisher is disabled and thus will always be the empty string.FlowDistinguisherMethod specifies the method of a flow distinguisher.distinguisherMethod.type (string), requiredtype is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required.matchingPrecedence (int32)matchingPrecedence is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.priorityLevelConfiguration (PriorityLevelConfigurationReference), requiredpriorityLevelConfiguration should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required.PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.priorityLevelConfiguration.name (string), requiredname is the name of the priority level configuration being referenced Required.rules ([]PolicyRulesWithSubjects)Atomic: will be replaced during a mergerules describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_qa_7190"
  },
  {
    "question": "How does FlowSchema work?",
    "answer": "FlowSchemaFlowSchema defines the schema of a group of flows.apiVersion: flowcontrol.apiserver.k8s.io/v1import \"k8s.io/api/flowcontrol/v1\"FlowSchemaFlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".apiVersion: flowcontrol.apiserver.k8s.io/v1kind: FlowSchemametadata (ObjectMeta)metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (FlowSchemaSpec)spec is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (FlowSchemaStatus)status is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusFlowSchemaSpecFlowSchemaSpec describes how the FlowSchema's specification looks like.distinguisherMethod (FlowDistinguisherMethod)distinguisherMethod defines how to compute the flow distinguisher for requests that match this schema. nil specifies that the distinguisher is disabled and thus will always be the empty string.FlowDistinguisherMethod specifies the method of a flow distinguisher.distinguisherMethod.type (string), requiredtype is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required.matchingPrecedence (int32)matchingPrecedence is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.priorityLevelConfiguration (PriorityLevelConfigurationReference), requiredpriorityLevelConfiguration should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required.PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.priorityLevelConfiguration.name (string), requiredname is the name of the priority level configuration being referenced Required.rules ([]PolicyRulesWithSubjects)Atomic: will be replaced during a mergerules describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_qa_7191"
  },
  {
    "question": "When would you use FlowSchema?",
    "answer": "FlowSchemaFlowSchema defines the schema of a group of flows.apiVersion: flowcontrol.apiserver.k8s.io/v1import \"k8s.io/api/flowcontrol/v1\"FlowSchemaFlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".apiVersion: flowcontrol.apiserver.k8s.io/v1kind: FlowSchemametadata (ObjectMeta)metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (FlowSchemaSpec)spec is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (FlowSchemaStatus)status is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusFlowSchemaSpecFlowSchemaSpec describes how the FlowSchema's specification looks like.distinguisherMethod (FlowDistinguisherMethod)distinguisherMethod defines how to compute the flow distinguisher for requests that match this schema. nil specifies that the distinguisher is disabled and thus will always be the empty string.FlowDistinguisherMethod specifies the method of a flow distinguisher.distinguisherMethod.type (string), requiredtype is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required.matchingPrecedence (int32)matchingPrecedence is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.priorityLevelConfiguration (PriorityLevelConfigurationReference), requiredpriorityLevelConfiguration should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required.PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.priorityLevelConfiguration.name (string), requiredname is the name of the priority level configuration being referenced Required.rules ([]PolicyRulesWithSubjects)Atomic: will be replaced during a mergerules describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_qa_7192"
  },
  {
    "question": "What are the benefits of FlowSchema?",
    "answer": "FlowSchemaFlowSchema defines the schema of a group of flows.apiVersion: flowcontrol.apiserver.k8s.io/v1import \"k8s.io/api/flowcontrol/v1\"FlowSchemaFlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".apiVersion: flowcontrol.apiserver.k8s.io/v1kind: FlowSchemametadata (ObjectMeta)metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (FlowSchemaSpec)spec is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (FlowSchemaStatus)status is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusFlowSchemaSpecFlowSchemaSpec describes how the FlowSchema's specification looks like.distinguisherMethod (FlowDistinguisherMethod)distinguisherMethod defines how to compute the flow distinguisher for requests that match this schema. nil specifies that the distinguisher is disabled and thus will always be the empty string.FlowDistinguisherMethod specifies the method of a flow distinguisher.distinguisherMethod.type (string), requiredtype is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required.matchingPrecedence (int32)matchingPrecedence is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.priorityLevelConfiguration (PriorityLevelConfigurationReference), requiredpriorityLevelConfiguration should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required.PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.priorityLevelConfiguration.name (string), requiredname is the name of the priority level configuration being referenced Required.rules ([]PolicyRulesWithSubjects)Atomic: will be replaced during a mergerules describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_qa_7193"
  },
  {
    "question": "What is FlowSchema?",
    "answer": "a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / f l o w c o n t r o l / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_1_7194"
  },
  {
    "question": "What is FlowSchema?",
    "answer": "F l o w S c h e m a   d e f i n e s   t h e   s c h e m a   o f   a   g r o u p   o f   f l o w s .   N o t e   t h a t   a   f l o w   i s   m a d e   u p   o f   a   s e t   o f   i n b o u n d   A P I   r e q u e s t s   w i t h   s i m i l a r   a t t r i b u t e s   a n d   i s   i d e n t i f i e d   b y   a   p a i r   o f   s t r i n g s :   t h e   n a m e   o f   t h e   F l o w S c h e m a   a n d   a   \" f l o w   d i s t i n g u i s h e r \" .   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 k i n d :   F l o w S c h e m a m e t a d a t a   ( O b j e c t M e t a ) m e t a d a t a   i s   t h e   s t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( F l o w S c h e m a S p e c ) s p e c   i s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   a   F l o w S c h e m a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( F l o w S c h e m a S t a t u s ) s t a t u s   i s   t h e   c u r r e n t   s t a t u s   o f   a   F l o w S c h e m a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   k i n d :   F l o w S c h e m a   m e t a d a t a   ( O b j e c t M e t a )   m e t a d a t a   i s   t h e   s t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_2_7195"
  },
  {
    "question": "What is FlowSchemaSpec?",
    "answer": "F l o w S c h e m a S p e c   d e s c r i b e s   h o w   t h e   F l o w S c h e m a ' s   s p e c i f i c a t i o n   l o o k s   l i k e .   d i s t i n g u i s h e r M e t h o d   ( F l o w D i s t i n g u i s h e r M e t h o d ) d i s t i n g u i s h e r M e t h o d   d e f i n e s   h o w   t o   c o m p u t e   t h e   f l o w   d i s t i n g u i s h e r   f o r   r e q u e s t s   t h a t   m a t c h   t h i s   s c h e m a .   n i l   s p e c i f i e s   t h a t   t h e   d i s t i n g u i s h e r   i s   d i s a b l e d   a n d   t h u s   w i l l   a l w a y s   b e   t h e   e m p t y   s t r i n g . F l o w D i s t i n g u i s h e r M e t h o d   s p e c i f i e s   t h e   m e t h o d   o f   a   f l o w   d i s t i n g u i s h e r . d i s t i n g u i s h e r M e t h o d . t y p e   ( s t r i n g ) ,   r e q u i r e d t y p e   i s   t h e   t y p e   o f   f l o w   d i s t i n g u i s h e r   m e t h o d   T h e   s u p p o r t e d   t y p e s   a r e   \" B y U s e r \"   a n d   \" B y N a m e s p a c e \" .   R e q u i r e d . m a t c h i n g P r e c e d e n c e   ( i n t 3 2 ) m a t c h i n g P r e c e d e n c e   i s   u s e d   t o   c h o o s e   a m o n g   t h e   F l o w S c h e m a s   t h a t   m a t c h   a   g i v e n   r e q u e s t .   T h e   c h o s e n   F l o w S c h e m a   i s   a m o n g   t h o s e   w i t h   t h e   n u m e r i c a l l y   l o w e s t   ( w h i c h   w e   t a k e   t o   b e   l o g i c a l l y   h i g h e s t )   M a t c h i n g P r e c e d e n c e .   E a c h   M a t c h i n g P r e c e d e n c e   v a l u e   m u s t   b e   r a n g e d   i n   [ 1 , 1 0 0 0 0 ] .   N o t e   t h a t   i f   t h e   p r e c e d e n c e   i s   n o t   s p e c i f i e d ,   i t   w i l l   b e   s e t   t o   1 0 0 0   a s   d e f a u l t . p r i o r i t y L e v e l C o n f i g u r a t i o n   ( P r i o r i t y L e v e l C o n f i g u r a t i o n R e f e r e n c e ) ,   r e q u i r e d p r i o r i t y L e v e l C o n f i g u ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_2_7196"
  },
  {
    "question": "What is FlowSchemaStatus?",
    "answer": "F l o w S c h e m a S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t e   o f   a   F l o w S c h e m a .   c o n d i t i o n s   ( [ ] F l o w S c h e m a C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e c o n d i t i o n s   i s   a   l i s t   o f   t h e   c u r r e n t   s t a t e s   o f   F l o w S c h e m a . F l o w S c h e m a C o n d i t i o n   d e s c r i b e s   c o n d i t i o n s   f o r   a   F l o w S c h e m a . c o n d i t i o n s . l a s t T r a n s i t i o n T i m e   ( T i m e ) l a s t T r a n s i t i o n T i m e   i s   t h e   l a s t   t i m e   t h e   c o n d i t i o n   t r a n s i t i o n e d   f r o m   o n e   s t a t u s   t o   a n o t h e r . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c o n d i t i o n s . m e s s a g e   ( s t r i n g ) m e s s a g e   i s   a   h u m a n - r e a d a b l e   m e s s a g e   i n d i c a t i n g   d e t a i l s   a b o u t   l a s t   t r a n s i t i o n . c o n d i t i o n s . r e a s o n   ( s t r i n g ) r e a s o n   i s   a   u n i q u e ,   o n e - w o r d ,   C a m e l C a s e   r e a s o n   f o r   t h e   c o n d i t i o n ' s   l a s t   t r a n s i t i o n . c o n d i t i o n s . s t a t u s   ( s t r i n g ) s t a t u s   i s   t h e   s t a t u s   o f   t h e   c o n d i t i o n .   C a n   b e   T r u e ,   F a l s e ,   U n k n o w n .   R e q u i r e d . c o n d i t i o n s . t y p e   ( s t r i n g ) t y p e   i s   t h e   t y p e   o f   t h e   c o n d i t i o n .   R e q u i r e d .   c o n d i t i o n s   ( [ ] F l ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_2_7197"
  },
  {
    "question": "What is FlowSchemaList?",
    "answer": "F l o w S c h e m a L i s t   i s   a   l i s t   o f   F l o w S c h e m a   o b j e c t s .   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 k i n d :   F l o w S c h e m a L i s t m e t a d a t a   ( L i s t M e t a ) m e t a d a t a   i s   t h e   s t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] F l o w S c h e m a ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   F l o w S c h e m a s .   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   k i n d :   F l o w S c h e m a L i s t   m e t a d a t a   ( L i s t M e t a )   m e t a d a t a   i s   t h e   s t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] F l o w S c h e m a ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   F l o w S c h e m a s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_2_7198"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7199"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   F l o w S c h e m a p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   F l o w S c h e m a   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7200"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( F l o w S c h e m a ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7201"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7202"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   F l o w S c h e m a p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   F l o w S c h e m a   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7203"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( F l o w S c h e m a ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7204"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7205"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7206"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( F l o w S c h e m a L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7207"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7208"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   F l o w S c h e m a ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   F l o w S c h e m a ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7209"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( F l o w S c h e m a ) :   O K   2 0 1   ( F l o w S c h e m a ) :   C r e a t e d   2 0 2   ( F l o w S c h e m a ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7210"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7211"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   F l o w S c h e m a b o d y :   F l o w S c h e m a ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   F l o w S c h e m a   b o d y :   F l o w S c h e m a ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7212"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( F l o w S c h e m a ) :   O K   2 0 1   ( F l o w S c h e m a ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7213"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7214"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   F l o w S c h e m a b o d y :   F l o w S c h e m a ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   F l o w S c h e m a   b o d y :   F l o w S c h e m a ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7215"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( F l o w S c h e m a ) :   O K   2 0 1   ( F l o w S c h e m a ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7216"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7217"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   F l o w S c h e m a b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   F l o w S c h e m a   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7218"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( F l o w S c h e m a ) :   O K   2 0 1   ( F l o w S c h e m a ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7219"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7220"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   F l o w S c h e m a b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   F l o w S c h e m a   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7221"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( F l o w S c h e m a ) :   O K   2 0 1   ( F l o w S c h e m a ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7222"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7223"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   F l o w S c h e m a b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   F l o w S c h e m a   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7224"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7225"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7226"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7227"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/flow-schema-v1/",
    "id": "k8s_00380_section_4_7228"
  },
  {
    "question": "What is Configure DNS for a Cluster?",
    "answer": "Configure DNS for a ClusterKubernetes offers a DNS cluster addon, which most of the supported environments enable by default. In Kubernetes version 1.11 and later, CoreDNS is recommended and is installed by default with kubeadm.For more information on how to configure CoreDNS for a Kubernetes cluster, see the Customizing DNS Service. An example demonstrating how to use Kubernetes DNS with kube-dns, see the Kubernetes DNS sample plugin.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-dns-cluster/",
    "id": "k8s_00381_qa_7229"
  },
  {
    "question": "How does Configure DNS for a Cluster work?",
    "answer": "Configure DNS for a ClusterKubernetes offers a DNS cluster addon, which most of the supported environments enable by default. In Kubernetes version 1.11 and later, CoreDNS is recommended and is installed by default with kubeadm.For more information on how to configure CoreDNS for a Kubernetes cluster, see the Customizing DNS Service. An example demonstrating how to use Kubernetes DNS with kube-dns, see the Kubernetes DNS sample plugin.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-dns-cluster/",
    "id": "k8s_00381_qa_7230"
  },
  {
    "question": "When would you use Configure DNS for a Cluster?",
    "answer": "Configure DNS for a ClusterKubernetes offers a DNS cluster addon, which most of the supported environments enable by default. In Kubernetes version 1.11 and later, CoreDNS is recommended and is installed by default with kubeadm.For more information on how to configure CoreDNS for a Kubernetes cluster, see the Customizing DNS Service. An example demonstrating how to use Kubernetes DNS with kube-dns, see the Kubernetes DNS sample plugin.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-dns-cluster/",
    "id": "k8s_00381_qa_7231"
  },
  {
    "question": "What are the benefits of Configure DNS for a Cluster?",
    "answer": "Configure DNS for a ClusterKubernetes offers a DNS cluster addon, which most of the supported environments enable by default. In Kubernetes version 1.11 and later, CoreDNS is recommended and is installed by default with kubeadm.For more information on how to configure CoreDNS for a Kubernetes cluster, see the Customizing DNS Service. An example demonstrating how to use Kubernetes DNS with kube-dns, see the Kubernetes DNS sample plugin.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-dns-cluster/",
    "id": "k8s_00381_qa_7232"
  },
  {
    "question": "What is Configure DNS for a Cluster?",
    "answer": "K u b e r n e t e s   o f f e r s   a   D N S   c l u s t e r   a d d o n ,   w h i c h   m o s t   o f   t h e   s u p p o r t e d   e n v i r o n m e n t s   e n a b l e   b y   d e f a u l t .   I n   K u b e r n e t e s   v e r s i o n   1 . 1 1   a n d   l a t e r ,   C o r e D N S   i s   r e c o m m e n d e d   a n d   i s   i n s t a l l e d   b y   d e f a u l t   w i t h   k u b e a d m .   F o r   m o r e   i n f o r m a t i o n   o n   h o w   t o   c o n f i g u r e   C o r e D N S   f o r   a   K u b e r n e t e s   c l u s t e r ,   s e e   t h e   C u s t o m i z i n g   D N S   S e r v i c e .   A n   e x a m p l e   d e m o n s t r a t i n g   h o w   t o   u s e   K u b e r n e t e s   D N S   w i t h   k u b e - d n s ,   s e e   t h e   K u b e r n e t e s   D N S   s a m p l e   p l u g i n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/configure-dns-cluster/",
    "id": "k8s_00381_section_1_7233"
  },
  {
    "question": "What is DaemonSet?",
    "answer": "DaemonSetA DaemonSet defines Pods that provide node-local facilities. These might be fundamental to the operation of your cluster, such as a networking helper tool, or be part of an add-on.A DaemonSet ensures that all (or some) Nodes run a copy of a Pod. As nodes are added to the cluster, Pods are added to them. As nodes are removed from the cluster, those Pods are garbage collected. Deleting a DaemonSet will clean up the Pods it created.Some typical uses of a DaemonSet are:running a cluster storage daemon on every noderunning a logs collection daemon on every noderunning a node monitoring daemon on every nodeIn a simple case, one DaemonSet, covering all nodes, would be used for each type of daemon. A more complex setup might use multiple DaemonSets for a single type of daemon, but with different flags and/or different memory and cpu requests for different hardware types.Writing a DaemonSet SpecCreate a DaemonSetYou can describe a DaemonSet in a YAML file. For example, the daemonset.yaml file below describes a DaemonSet that runs the fluentd-elasticsearch Docker image:controllers/daemonset.yaml apiVersion: apps/v1 kind: DaemonSet metadata: name: fluentd-elasticsearch namespace: kube-system labels: k8s-app: fluentd-logging spec: selector: matchLabels: name: fluentd-elasticsearch template: metadata: labels: name: fluentd-elasticsearch spec: tolerations: # these tolerations are to have the daemonset runnable on control plane nodes # remove them if your control plane nodes should not run pods - key: node-role.kubernetes.io/control-plane operator: Exists effect: NoSchedule - key: node-role.kubernetes.io/master operator: Exists effect: NoSchedule containers: - name: fluentd-elasticsearch image: quay.io/fluentd_elasticsearch/fluentd:v5.0.1 resources: limits: memory: 200Mi requests: cpu: 100m memory: 200Mi volumeMounts: - name: varlog mountPath: /var/log # it may be desirable to set a high priority class to ensure that a DaemonSet Pod # preempts running Pods # priorityClassName: important terminationGracePeriodSeconds: 30 volumes: - name: varlog hostPath: path: /var/log Create a DaemonSet based on the YAML file:kubectl apply -f https://k8s.io/examples/controllers/daemonset.yaml Required FieldsAs with all other Kubernetes config, a DaemonSet needs apiVersion, kind, and metadata fields. For general information about working with config files, see running stateless applications and object management using kubectl.The name of a DaemonSet object must be a valid DNS subdomain name.A DaemonSet also needs a .spec section.Pod TemplateThe .spec.template is one of the required fields in .spec.The .spec.template is a pod template. It has exactly the same schema as a Pod, except it is nested and does not have an apiVersion or kind.In addition to required fields for a Pod, a Pod template in a DaemonSet has to specify appropriate labels (see pod selector).A Pod Template in a DaemonSet must have a RestartPolicy equal to Always, or be unspecified, which defaults to Alway",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset",
    "id": "k8s_00382_qa_7234"
  },
  {
    "question": "How does DaemonSet work?",
    "answer": "DaemonSetA DaemonSet defines Pods that provide node-local facilities. These might be fundamental to the operation of your cluster, such as a networking helper tool, or be part of an add-on.A DaemonSet ensures that all (or some) Nodes run a copy of a Pod. As nodes are added to the cluster, Pods are added to them. As nodes are removed from the cluster, those Pods are garbage collected. Deleting a DaemonSet will clean up the Pods it created.Some typical uses of a DaemonSet are:running a cluster storage daemon on every noderunning a logs collection daemon on every noderunning a node monitoring daemon on every nodeIn a simple case, one DaemonSet, covering all nodes, would be used for each type of daemon. A more complex setup might use multiple DaemonSets for a single type of daemon, but with different flags and/or different memory and cpu requests for different hardware types.Writing a DaemonSet SpecCreate a DaemonSetYou can describe a DaemonSet in a YAML file. For example, the daemonset.yaml file below describes a DaemonSet that runs the fluentd-elasticsearch Docker image:controllers/daemonset.yaml apiVersion: apps/v1 kind: DaemonSet metadata: name: fluentd-elasticsearch namespace: kube-system labels: k8s-app: fluentd-logging spec: selector: matchLabels: name: fluentd-elasticsearch template: metadata: labels: name: fluentd-elasticsearch spec: tolerations: # these tolerations are to have the daemonset runnable on control plane nodes # remove them if your control plane nodes should not run pods - key: node-role.kubernetes.io/control-plane operator: Exists effect: NoSchedule - key: node-role.kubernetes.io/master operator: Exists effect: NoSchedule containers: - name: fluentd-elasticsearch image: quay.io/fluentd_elasticsearch/fluentd:v5.0.1 resources: limits: memory: 200Mi requests: cpu: 100m memory: 200Mi volumeMounts: - name: varlog mountPath: /var/log # it may be desirable to set a high priority class to ensure that a DaemonSet Pod # preempts running Pods # priorityClassName: important terminationGracePeriodSeconds: 30 volumes: - name: varlog hostPath: path: /var/log Create a DaemonSet based on the YAML file:kubectl apply -f https://k8s.io/examples/controllers/daemonset.yaml Required FieldsAs with all other Kubernetes config, a DaemonSet needs apiVersion, kind, and metadata fields. For general information about working with config files, see running stateless applications and object management using kubectl.The name of a DaemonSet object must be a valid DNS subdomain name.A DaemonSet also needs a .spec section.Pod TemplateThe .spec.template is one of the required fields in .spec.The .spec.template is a pod template. It has exactly the same schema as a Pod, except it is nested and does not have an apiVersion or kind.In addition to required fields for a Pod, a Pod template in a DaemonSet has to specify appropriate labels (see pod selector).A Pod Template in a DaemonSet must have a RestartPolicy equal to Always, or be unspecified, which defaults to Alway",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset",
    "id": "k8s_00382_qa_7235"
  },
  {
    "question": "When would you use DaemonSet?",
    "answer": "DaemonSetA DaemonSet defines Pods that provide node-local facilities. These might be fundamental to the operation of your cluster, such as a networking helper tool, or be part of an add-on.A DaemonSet ensures that all (or some) Nodes run a copy of a Pod. As nodes are added to the cluster, Pods are added to them. As nodes are removed from the cluster, those Pods are garbage collected. Deleting a DaemonSet will clean up the Pods it created.Some typical uses of a DaemonSet are:running a cluster storage daemon on every noderunning a logs collection daemon on every noderunning a node monitoring daemon on every nodeIn a simple case, one DaemonSet, covering all nodes, would be used for each type of daemon. A more complex setup might use multiple DaemonSets for a single type of daemon, but with different flags and/or different memory and cpu requests for different hardware types.Writing a DaemonSet SpecCreate a DaemonSetYou can describe a DaemonSet in a YAML file. For example, the daemonset.yaml file below describes a DaemonSet that runs the fluentd-elasticsearch Docker image:controllers/daemonset.yaml apiVersion: apps/v1 kind: DaemonSet metadata: name: fluentd-elasticsearch namespace: kube-system labels: k8s-app: fluentd-logging spec: selector: matchLabels: name: fluentd-elasticsearch template: metadata: labels: name: fluentd-elasticsearch spec: tolerations: # these tolerations are to have the daemonset runnable on control plane nodes # remove them if your control plane nodes should not run pods - key: node-role.kubernetes.io/control-plane operator: Exists effect: NoSchedule - key: node-role.kubernetes.io/master operator: Exists effect: NoSchedule containers: - name: fluentd-elasticsearch image: quay.io/fluentd_elasticsearch/fluentd:v5.0.1 resources: limits: memory: 200Mi requests: cpu: 100m memory: 200Mi volumeMounts: - name: varlog mountPath: /var/log # it may be desirable to set a high priority class to ensure that a DaemonSet Pod # preempts running Pods # priorityClassName: important terminationGracePeriodSeconds: 30 volumes: - name: varlog hostPath: path: /var/log Create a DaemonSet based on the YAML file:kubectl apply -f https://k8s.io/examples/controllers/daemonset.yaml Required FieldsAs with all other Kubernetes config, a DaemonSet needs apiVersion, kind, and metadata fields. For general information about working with config files, see running stateless applications and object management using kubectl.The name of a DaemonSet object must be a valid DNS subdomain name.A DaemonSet also needs a .spec section.Pod TemplateThe .spec.template is one of the required fields in .spec.The .spec.template is a pod template. It has exactly the same schema as a Pod, except it is nested and does not have an apiVersion or kind.In addition to required fields for a Pod, a Pod template in a DaemonSet has to specify appropriate labels (see pod selector).A Pod Template in a DaemonSet must have a RestartPolicy equal to Always, or be unspecified, which defaults to Alway",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset",
    "id": "k8s_00382_qa_7236"
  },
  {
    "question": "What are the benefits of DaemonSet?",
    "answer": "DaemonSetA DaemonSet defines Pods that provide node-local facilities. These might be fundamental to the operation of your cluster, such as a networking helper tool, or be part of an add-on.A DaemonSet ensures that all (or some) Nodes run a copy of a Pod. As nodes are added to the cluster, Pods are added to them. As nodes are removed from the cluster, those Pods are garbage collected. Deleting a DaemonSet will clean up the Pods it created.Some typical uses of a DaemonSet are:running a cluster storage daemon on every noderunning a logs collection daemon on every noderunning a node monitoring daemon on every nodeIn a simple case, one DaemonSet, covering all nodes, would be used for each type of daemon. A more complex setup might use multiple DaemonSets for a single type of daemon, but with different flags and/or different memory and cpu requests for different hardware types.Writing a DaemonSet SpecCreate a DaemonSetYou can describe a DaemonSet in a YAML file. For example, the daemonset.yaml file below describes a DaemonSet that runs the fluentd-elasticsearch Docker image:controllers/daemonset.yaml apiVersion: apps/v1 kind: DaemonSet metadata: name: fluentd-elasticsearch namespace: kube-system labels: k8s-app: fluentd-logging spec: selector: matchLabels: name: fluentd-elasticsearch template: metadata: labels: name: fluentd-elasticsearch spec: tolerations: # these tolerations are to have the daemonset runnable on control plane nodes # remove them if your control plane nodes should not run pods - key: node-role.kubernetes.io/control-plane operator: Exists effect: NoSchedule - key: node-role.kubernetes.io/master operator: Exists effect: NoSchedule containers: - name: fluentd-elasticsearch image: quay.io/fluentd_elasticsearch/fluentd:v5.0.1 resources: limits: memory: 200Mi requests: cpu: 100m memory: 200Mi volumeMounts: - name: varlog mountPath: /var/log # it may be desirable to set a high priority class to ensure that a DaemonSet Pod # preempts running Pods # priorityClassName: important terminationGracePeriodSeconds: 30 volumes: - name: varlog hostPath: path: /var/log Create a DaemonSet based on the YAML file:kubectl apply -f https://k8s.io/examples/controllers/daemonset.yaml Required FieldsAs with all other Kubernetes config, a DaemonSet needs apiVersion, kind, and metadata fields. For general information about working with config files, see running stateless applications and object management using kubectl.The name of a DaemonSet object must be a valid DNS subdomain name.A DaemonSet also needs a .spec section.Pod TemplateThe .spec.template is one of the required fields in .spec.The .spec.template is a pod template. It has exactly the same schema as a Pod, except it is nested and does not have an apiVersion or kind.In addition to required fields for a Pod, a Pod template in a DaemonSet has to specify appropriate labels (see pod selector).A Pod Template in a DaemonSet must have a RestartPolicy equal to Always, or be unspecified, which defaults to Alway",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset",
    "id": "k8s_00382_qa_7237"
  },
  {
    "question": "What is DaemonSet?",
    "answer": "A   D a e m o n S e t   e n s u r e s   t h a t   a l l   ( o r   s o m e )   N o d e s   r u n   a   c o p y   o f   a   P o d .   A s   n o d e s   a r e   a d d e d   t o   t h e   c l u s t e r ,   P o d s   a r e   a d d e d   t o   t h e m .   A s   n o d e s   a r e   r e m o v e d   f r o m   t h e   c l u s t e r ,   t h o s e   P o d s   a r e   g a r b a g e   c o l l e c t e d .   D e l e t i n g   a   D a e m o n S e t   w i l l   c l e a n   u p   t h e   P o d s   i t   c r e a t e d .   S o m e   t y p i c a l   u s e s   o f   a   D a e m o n S e t   a r e :   r u n n i n g   a   c l u s t e r   s t o r a g e   d a e m o n   o n   e v e r y   n o d e r u n n i n g   a   l o g s   c o l l e c t i o n   d a e m o n   o n   e v e r y   n o d e r u n n i n g   a   n o d e   m o n i t o r i n g   d a e m o n   o n   e v e r y   n o d e   I n   a   s i m p l e   c a s e ,   o n e   D a e m o n S e t ,   c o v e r i n g   a l l   n o d e s ,   w o u l d   b e   u s e d   f o r   e a c h   t y p e   o f   d a e m o n .   A   m o r e   c o m p l e x   s e t u p   m i g h t   u s e   m u l t i p l e   D a e m o n S e t s   f o r   a   s i n g l e   t y p e   o f   d a e m o n ,   b u t   w i t h   d i f f e r e n t   f l a g s   a n d / o r   d i f f e r e n t   m e m o r y   a n d   c p u   r e q u e s t s   f o r   d i f f e r e n t   h a r d w a r e   t y p e s .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset",
    "id": "k8s_00382_section_1_7238"
  },
  {
    "question": "What is Create a DaemonSet?",
    "answer": "Y o u   c a n   d e s c r i b e   a   D a e m o n S e t   i n   a   Y A M L   f i l e .   F o r   e x a m p l e ,   t h e   d a e m o n s e t . y a m l   f i l e   b e l o w   d e s c r i b e s   a   D a e m o n S e t   t h a t   r u n s   t h e   f l u e n t d - e l a s t i c s e a r c h   D o c k e r   i m a g e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D a e m o n S e t   m e t a d a t a :   n a m e :   f l u e n t d - e l a s t i c s e a r c h   n a m e s p a c e :   k u b e - s y s t e m   l a b e l s :   k 8 s - a p p :   f l u e n t d - l o g g i n g   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   n a m e :   f l u e n t d - e l a s t i c s e a r c h   t e m p l a t e :   m e t a d a t a :   l a b e l s :   n a m e :   f l u e n t d - e l a s t i c s e a r c h   s p e c :   t o l e r a t i o n s :   #   t h e s e   t o l e r a t i o n s   a r e   t o   h a v e   t h e   d a e m o n s e t   r u n n a b l e   o n   c o n t r o l   p l a n e   n o d e s   #   r e m o v e   t h e m   i f   y o u r   c o n t r o l   p l a n e   n o d e s   s h o u l d   n o t   r u n   p o d s   -   k e y :   n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e   o p e r a t o r :   E x i s t s   e f f e c t :   N o S c h e d u l e   -   k e y :   n o d e - r o l e . k u b e r n e t e s . i o / m a s t e r   o p e r a t o r :   E x i s t s   e f f e c t :   N o S c h e d u l e   c o n t a i n e r s :   -   n a m e :   f l u e n t d - e l a s t i c s e a r c h   i m a g e :   q u a y . i o / f l u e n t d _ e l a s t i c s e a r c h / f l u e n t d : v 5 . 0 . 1   r e s o u r c e s :   l i m i t s :   m e m o r y :   2 0 0 M i   r e q u e s t s :   c p u :   1 0 0 m   m e m o r y :   2 0 0 M i   v o l u m e M o u n t s :   -   n a m e :   v a r l o g   m o u n t P a t h :   / v a r / l o g   #   i t   m a y   b e   d e s i r a b l e   t o   s e t   a   h i g h   p r i o r i t y   c l a s s   t o   e n s u r e   t h a t   a   D a e m o ",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset",
    "id": "k8s_00382_section_3_7239"
  },
  {
    "question": "What is Required Fields?",
    "answer": "A s   w i t h   a l l   o t h e r   K u b e r n e t e s   c o n f i g ,   a   D a e m o n S e t   n e e d s   a p i V e r s i o n ,   k i n d ,   a n d   m e t a d a t a   f i e l d s .   F o r   g e n e r a l   i n f o r m a t i o n   a b o u t   w o r k i n g   w i t h   c o n f i g   f i l e s ,   s e e   r u n n i n g   s t a t e l e s s   a p p l i c a t i o n s   a n d   o b j e c t   m a n a g e m e n t   u s i n g   k u b e c t l .   T h e   n a m e   o f   a   D a e m o n S e t   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   A   D a e m o n S e t   a l s o   n e e d s   a   . s p e c   s e c t i o n .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset",
    "id": "k8s_00382_section_3_7240"
  },
  {
    "question": "What is Pod Template?",
    "answer": "T h e   . s p e c . t e m p l a t e   i s   o n e   o f   t h e   r e q u i r e d   f i e l d s   i n   . s p e c .   T h e   . s p e c . t e m p l a t e   i s   a   p o d   t e m p l a t e .   I t   h a s   e x a c t l y   t h e   s a m e   s c h e m a   a s   a   P o d ,   e x c e p t   i t   i s   n e s t e d   a n d   d o e s   n o t   h a v e   a n   a p i V e r s i o n   o r   k i n d .   I n   a d d i t i o n   t o   r e q u i r e d   f i e l d s   f o r   a   P o d ,   a   P o d   t e m p l a t e   i n   a   D a e m o n S e t   h a s   t o   s p e c i f y   a p p r o p r i a t e   l a b e l s   ( s e e   p o d   s e l e c t o r ) .   A   P o d   T e m p l a t e   i n   a   D a e m o n S e t   m u s t   h a v e   a   R e s t a r t P o l i c y   e q u a l   t o   A l w a y s ,   o r   b e   u n s p e c i f i e d ,   w h i c h   d e f a u l t s   t o   A l w a y s .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset",
    "id": "k8s_00382_section_3_7241"
  },
  {
    "question": "What is Pod Selector?",
    "answer": "T h e   . s p e c . s e l e c t o r   f i e l d   i s   a   p o d   s e l e c t o r .   I t   w o r k s   t h e   s a m e   a s   t h e   . s p e c . s e l e c t o r   o f   a   J o b .   Y o u   m u s t   s p e c i f y   a   p o d   s e l e c t o r   t h a t   m a t c h e s   t h e   l a b e l s   o f   t h e   . s p e c . t e m p l a t e .   A l s o ,   o n c e   a   D a e m o n S e t   i s   c r e a t e d ,   i t s   . s p e c . s e l e c t o r   c a n   n o t   b e   m u t a t e d .   M u t a t i n g   t h e   p o d   s e l e c t o r   c a n   l e a d   t o   t h e   u n i n t e n t i o n a l   o r p h a n i n g   o f   P o d s ,   a n d   i t   w a s   f o u n d   t o   b e   c o n f u s i n g   t o   u s e r s .   T h e   . s p e c . s e l e c t o r   i s   a n   o b j e c t   c o n s i s t i n g   o f   t w o   f i e l d s :   m a t c h L a b e l s   -   w o r k s   t h e   s a m e   a s   t h e   . s p e c . s e l e c t o r   o f   a   R e p l i c a t i o n C o n t r o l l e r . m a t c h E x p r e s s i o n s   -   a l l o w s   t o   b u i l d   m o r e   s o p h i s t i c a t e d   s e l e c t o r s   b y   s p e c i f y i n g   k e y ,   l i s t   o f   v a l u e s   a n d   a n   o p e r a t o r   t h a t   r e l a t e s   t h e   k e y   a n d   v a l u e s .   W h e n   t h e   t w o   a r e   s p e c i f i e d   t h e   r e s u l t   i s   A N D e d .   T h e   . s p e c . s e l e c t o r   m u s t   m a t c h   t h e   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s .   C o n f i g   w i t h   t h e s e   t w o   n o t   m a t c h i n g   w i l l   b e   r e j e c t e d   b y   t h e   A P I .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset",
    "id": "k8s_00382_section_3_7242"
  },
  {
    "question": "What is Running Pods on select Nodes?",
    "answer": "I f   y o u   s p e c i f y   a   . s p e c . t e m p l a t e . s p e c . n o d e S e l e c t o r ,   t h e n   t h e   D a e m o n S e t   c o n t r o l l e r   w i l l   c r e a t e   P o d s   o n   n o d e s   w h i c h   m a t c h   t h a t   n o d e   s e l e c t o r .   L i k e w i s e   i f   y o u   s p e c i f y   a   . s p e c . t e m p l a t e . s p e c . a f f i n i t y ,   t h e n   D a e m o n S e t   c o n t r o l l e r   w i l l   c r e a t e   P o d s   o n   n o d e s   w h i c h   m a t c h   t h a t   n o d e   a f f i n i t y .   I f   y o u   d o   n o t   s p e c i f y   e i t h e r ,   t h e n   t h e   D a e m o n S e t   c o n t r o l l e r   w i l l   c r e a t e   P o d s   o n   a l l   n o d e s .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset",
    "id": "k8s_00382_section_3_7243"
  },
  {
    "question": "What is How Daemon Pods are scheduled?",
    "answer": "A   D a e m o n S e t   c a n   b e   u s e d   t o   e n s u r e   t h a t   a l l   e l i g i b l e   n o d e s   r u n   a   c o p y   o f   a   P o d .   T h e   D a e m o n S e t   c o n t r o l l e r   c r e a t e s   a   P o d   f o r   e a c h   e l i g i b l e   n o d e   a n d   a d d s   t h e   s p e c . a f f i n i t y . n o d e A f f i n i t y   f i e l d   o f   t h e   P o d   t o   m a t c h   t h e   t a r g e t   h o s t .   A f t e r   t h e   P o d   i s   c r e a t e d ,   t h e   d e f a u l t   s c h e d u l e r   t y p i c a l l y   t a k e s   o v e r   a n d   t h e n   b i n d s   t h e   P o d   t o   t h e   t a r g e t   h o s t   b y   s e t t i n g   t h e   . s p e c . n o d e N a m e   f i e l d .   I f   t h e   n e w   P o d   c a n n o t   f i t   o n   t h e   n o d e ,   t h e   d e f a u l t   s c h e d u l e r   m a y   p r e e m p t   ( e v i c t )   s o m e   o f   t h e   e x i s t i n g   P o d s   b a s e d   o n   t h e   p r i o r i t y   o f   t h e   n e w   P o d .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset",
    "id": "k8s_00382_section_2_7244"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   u s e r   c a n   s p e c i f y   a   d i f f e r e n t   s c h e d u l e r   f o r   t h e   P o d s   o f   t h e   D a e m o n S e t ,   b y   s e t t i n g   t h e   . s p e c . t e m p l a t e . s p e c . s c h e d u l e r N a m e   f i e l d   o f   t h e   D a e m o n S e t .   T h e   o r i g i n a l   n o d e   a f f i n i t y   s p e c i f i e d   a t   t h e   . s p e c . t e m p l a t e . s p e c . a f f i n i t y . n o d e A f f i n i t y   f i e l d   ( i f   s p e c i f i e d )   i s   t a k e n   i n t o   c o n s i d e r a t i o n   b y   t h e   D a e m o n S e t   c o n t r o l l e r   w h e n   e v a l u a t i n g   t h e   e l i g i b l e   n o d e s ,   b u t   i s   r e p l a c e d   o n   t h e   c r e a t e d   P o d   w i t h   t h e   n o d e   a f f i n i t y   t h a t   m a t c h e s   t h e   n a m e   o f   t h e   e l i g i b l e   n o d e .   n o d e A f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   n o d e S e l e c t o r T e r m s :   -   m a t c h F i e l d s :   -   k e y :   m e t a d a t a . n a m e   o p e r a t o r :   I n   v a l u e s :   -   t a r g e t - h o s t - n a m e",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset",
    "id": "k8s_00382_section_4_7245"
  },
  {
    "question": "What is Taints and tolerations?",
    "answer": "T h e   D a e m o n S e t   c o n t r o l l e r   a u t o m a t i c a l l y   a d d s   a   s e t   o f   t o l e r a t i o n s   t o   D a e m o n S e t   P o d s :   Y o u   c a n   a d d   y o u r   o w n   t o l e r a t i o n s   t o   t h e   P o d s   o f   a   D a e m o n S e t   a s   w e l l ,   b y   d e f i n i n g   t h e s e   i n   t h e   P o d   t e m p l a t e   o f   t h e   D a e m o n S e t .   B e c a u s e   t h e   D a e m o n S e t   c o n t r o l l e r   s e t s   t h e   n o d e . k u b e r n e t e s . i o / u n s c h e d u l a b l e : N o S c h e d u l e   t o l e r a t i o n   a u t o m a t i c a l l y ,   K u b e r n e t e s   c a n   r u n   D a e m o n S e t   P o d s   o n   n o d e s   t h a t   a r e   m a r k e d   a s   u n s c h e d u l a b l e .   I f   y o u   u s e   a   D a e m o n S e t   t o   p r o v i d e   a n   i m p o r t a n t   n o d e - l e v e l   f u n c t i o n ,   s u c h   a s   c l u s t e r   n e t w o r k i n g ,   i t   i s   h e l p f u l   t h a t   K u b e r n e t e s   p l a c e s   D a e m o n S e t   P o d s   o n   n o d e s   b e f o r e   t h e y   a r e   r e a d y .   F o r   e x a m p l e ,   w i t h o u t   t h a t   s p e c i a l   t o l e r a t i o n ,   y o u   c o u l d   e n d   u p   i n   a   d e a d l o c k   s i t u a t i o n   w h e r e   t h e   n o d e   i s   n o t   m a r k e d   a s   r e a d y   b e c a u s e   t h e   n e t w o r k   p l u g i n   i s   n o t   r u n n i n g   t h e r e ,   a n d   a t   t h e   s a m e   t i m e   t h e   n e t w o r k   p l u g i n   i s   n o t   r u n n i n g   o n   t h a t   n o d e   b e c a u s e   t h e   n o d e   i s   n o t   y e t   r e a d y .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset",
    "id": "k8s_00382_section_3_7246"
  },
  {
    "question": "What is Communicating with Daemon Pods?",
    "answer": "S o m e   p o s s i b l e   p a t t e r n s   f o r   c o m m u n i c a t i n g   w i t h   P o d s   i n   a   D a e m o n S e t   a r e :   P u s h :   P o d s   i n   t h e   D a e m o n S e t   a r e   c o n f i g u r e d   t o   s e n d   u p d a t e s   t o   a n o t h e r   s e r v i c e ,   s u c h   a s   a   s t a t s   d a t a b a s e .   T h e y   d o   n o t   h a v e   c l i e n t s . N o d e I P   a n d   K n o w n   P o r t :   P o d s   i n   t h e   D a e m o n S e t   c a n   u s e   a   h o s t P o r t ,   s o   t h a t   t h e   p o d s   a r e   r e a c h a b l e   v i a   t h e   n o d e   I P s .   C l i e n t s   k n o w   t h e   l i s t   o f   n o d e   I P s   s o m e h o w ,   a n d   k n o w   t h e   p o r t   b y   c o n v e n t i o n . D N S :   C r e a t e   a   h e a d l e s s   s e r v i c e   w i t h   t h e   s a m e   p o d   s e l e c t o r ,   a n d   t h e n   d i s c o v e r   D a e m o n S e t s   u s i n g   t h e   e n d p o i n t s   r e s o u r c e   o r   r e t r i e v e   m u l t i p l e   A   r e c o r d s   f r o m   D N S . S e r v i c e :   C r e a t e   a   s e r v i c e   w i t h   t h e   s a m e   P o d   s e l e c t o r ,   a n d   u s e   t h e   s e r v i c e   t o   r e a c h   a   d a e m o n   o n   a   r a n d o m   n o d e .   U s e   S e r v i c e   I n t e r n a l   T r a f f i c   P o l i c y   t o   l i m i t   t o   p o d s   o n   t h e   s a m e   n o d e .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset",
    "id": "k8s_00382_section_2_7247"
  },
  {
    "question": "What is Updating a DaemonSet?",
    "answer": "I f   n o d e   l a b e l s   a r e   c h a n g e d ,   t h e   D a e m o n S e t   w i l l   p r o m p t l y   a d d   P o d s   t o   n e w l y   m a t c h i n g   n o d e s   a n d   d e l e t e   P o d s   f r o m   n e w l y   n o t - m a t c h i n g   n o d e s .   Y o u   c a n   m o d i f y   t h e   P o d s   t h a t   a   D a e m o n S e t   c r e a t e s .   H o w e v e r ,   P o d s   d o   n o t   a l l o w   a l l   f i e l d s   t o   b e   u p d a t e d .   A l s o ,   t h e   D a e m o n S e t   c o n t r o l l e r   w i l l   u s e   t h e   o r i g i n a l   t e m p l a t e   t h e   n e x t   t i m e   a   n o d e   ( e v e n   w i t h   t h e   s a m e   n a m e )   i s   c r e a t e d .   Y o u   c a n   d e l e t e   a   D a e m o n S e t .   I f   y o u   s p e c i f y   - - c a s c a d e = o r p h a n   w i t h   k u b e c t l ,   t h e n   t h e   P o d s   w i l l   b e   l e f t   o n   t h e   n o d e s .   I f   y o u   s u b s e q u e n t l y   c r e a t e   a   n e w   D a e m o n S e t   w i t h   t h e   s a m e   s e l e c t o r ,   t h e   n e w   D a e m o n S e t   a d o p t s   t h e   e x i s t i n g   P o d s .   I f   a n y   P o d s   n e e d   r e p l a c i n g   t h e   D a e m o n S e t   r e p l a c e s   t h e m   a c c o r d i n g   t o   i t s   u p d a t e S t r a t e g y .   Y o u   c a n   p e r f o r m   a   r o l l i n g   u p d a t e   o n   a   D a e m o n S e t .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset",
    "id": "k8s_00382_section_2_7248"
  },
  {
    "question": "What is Init scripts?",
    "answer": "I t   i s   c e r t a i n l y   p o s s i b l e   t o   r u n   d a e m o n   p r o c e s s e s   b y   d i r e c t l y   s t a r t i n g   t h e m   o n   a   n o d e   ( e . g .   u s i n g   i n i t ,   u p s t a r t d ,   o r   s y s t e m d ) .   T h i s   i s   p e r f e c t l y   f i n e .   H o w e v e r ,   t h e r e   a r e   s e v e r a l   a d v a n t a g e s   t o   r u n n i n g   s u c h   p r o c e s s e s   v i a   a   D a e m o n S e t :   A b i l i t y   t o   m o n i t o r   a n d   m a n a g e   l o g s   f o r   d a e m o n s   i n   t h e   s a m e   w a y   a s   a p p l i c a t i o n s . S a m e   c o n f i g   l a n g u a g e   a n d   t o o l s   ( e . g .   P o d   t e m p l a t e s ,   k u b e c t l )   f o r   d a e m o n s   a n d   a p p l i c a t i o n s . R u n n i n g   d a e m o n s   i n   c o n t a i n e r s   w i t h   r e s o u r c e   l i m i t s   i n c r e a s e s   i s o l a t i o n   b e t w e e n   d a e m o n s   f r o m   a p p   c o n t a i n e r s .   H o w e v e r ,   t h i s   c a n   a l s o   b e   a c c o m p l i s h e d   b y   r u n n i n g   t h e   d a e m o n s   i n   a   c o n t a i n e r   b u t   n o t   i n   a   P o d .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset",
    "id": "k8s_00382_section_3_7249"
  },
  {
    "question": "What is Bare Pods?",
    "answer": "I t   i s   p o s s i b l e   t o   c r e a t e   P o d s   d i r e c t l y   w h i c h   s p e c i f y   a   p a r t i c u l a r   n o d e   t o   r u n   o n .   H o w e v e r ,   a   D a e m o n S e t   r e p l a c e s   P o d s   t h a t   a r e   d e l e t e d   o r   t e r m i n a t e d   f o r   a n y   r e a s o n ,   s u c h   a s   i n   t h e   c a s e   o f   n o d e   f a i l u r e   o r   d i s r u p t i v e   n o d e   m a i n t e n a n c e ,   s u c h   a s   a   k e r n e l   u p g r a d e .   F o r   t h i s   r e a s o n ,   y o u   s h o u l d   u s e   a   D a e m o n S e t   r a t h e r   t h a n   c r e a t i n g   i n d i v i d u a l   P o d s .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset",
    "id": "k8s_00382_section_3_7250"
  },
  {
    "question": "What is Static Pods?",
    "answer": "I t   i s   p o s s i b l e   t o   c r e a t e   P o d s   b y   w r i t i n g   a   f i l e   t o   a   c e r t a i n   d i r e c t o r y   w a t c h e d   b y   K u b e l e t .   T h e s e   a r e   c a l l e d   s t a t i c   p o d s .   U n l i k e   D a e m o n S e t ,   s t a t i c   P o d s   c a n n o t   b e   m a n a g e d   w i t h   k u b e c t l   o r   o t h e r   K u b e r n e t e s   A P I   c l i e n t s .   S t a t i c   P o d s   d o   n o t   d e p e n d   o n   t h e   a p i s e r v e r ,   m a k i n g   t h e m   u s e f u l   i n   c l u s t e r   b o o t s t r a p p i n g   c a s e s .   A l s o ,   s t a t i c   P o d s   m a y   b e   d e p r e c a t e d   i n   t h e   f u t u r e .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset",
    "id": "k8s_00382_section_3_7251"
  },
  {
    "question": "What is Deployments?",
    "answer": "D a e m o n S e t s   a r e   s i m i l a r   t o   D e p l o y m e n t s   i n   t h a t   t h e y   b o t h   c r e a t e   P o d s ,   a n d   t h o s e   P o d s   h a v e   p r o c e s s e s   w h i c h   a r e   n o t   e x p e c t e d   t o   t e r m i n a t e   ( e . g .   w e b   s e r v e r s ,   s t o r a g e   s e r v e r s ) .   U s e   a   D e p l o y m e n t   f o r   s t a t e l e s s   s e r v i c e s ,   l i k e   f r o n t e n d s ,   w h e r e   s c a l i n g   u p   a n d   d o w n   t h e   n u m b e r   o f   r e p l i c a s   a n d   r o l l i n g   o u t   u p d a t e s   a r e   m o r e   i m p o r t a n t   t h a n   c o n t r o l l i n g   e x a c t l y   w h i c h   h o s t   t h e   P o d   r u n s   o n .   U s e   a   D a e m o n S e t   w h e n   i t   i s   i m p o r t a n t   t h a t   a   c o p y   o f   a   P o d   a l w a y s   r u n   o n   a l l   o r   c e r t a i n   h o s t s ,   i f   t h e   D a e m o n S e t   p r o v i d e s   n o d e - l e v e l   f u n c t i o n a l i t y   t h a t   a l l o w s   o t h e r   P o d s   t o   r u n   c o r r e c t l y   o n   t h a t   p a r t i c u l a r   n o d e .   F o r   e x a m p l e ,   n e t w o r k   p l u g i n s   o f t e n   i n c l u d e   a   c o m p o n e n t   t h a t   r u n s   a s   a   D a e m o n S e t .   T h e   D a e m o n S e t   c o m p o n e n t   m a k e s   s u r e   t h a t   t h e   n o d e   w h e r e   i t ' s   r u n n i n g   h a s   w o r k i n g   c l u s t e r   n e t w o r k i n g .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset",
    "id": "k8s_00382_section_3_7252"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   P o d s . L e a r n   a b o u t   s t a t i c   P o d s ,   w h i c h   a r e   u s e f u l   f o r   r u n n i n g   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t s . F i n d   o u t   h o w   t o   u s e   D a e m o n S e t s P e r f o r m   a   r o l l i n g   u p d a t e   o n   a   D a e m o n S e t P e r f o r m   a   r o l l b a c k   o n   a   D a e m o n S e t   ( f o r   e x a m p l e ,   i f   a   r o l l   o u t   d i d n ' t   w o r k   h o w   y o u   e x p e c t e d ) . U n d e r s t a n d   h o w   K u b e r n e t e s   a s s i g n s   P o d s   t o   N o d e s . L e a r n   a b o u t   d e v i c e   p l u g i n s   a n d   a d d   o n s ,   w h i c h   o f t e n   r u n   a s   D a e m o n S e t s . D a e m o n S e t   i s   a   t o p - l e v e l   r e s o u r c e   i n   t h e   K u b e r n e t e s   R E S T   A P I .   R e a d   t h e   D a e m o n S e t   o b j e c t   d e f i n i t i o n   t o   u n d e r s t a n d   t h e   A P I   f o r   d a e m o n   s e t s .   L e a r n   a b o u t   s t a t i c   P o d s ,   w h i c h   a r e   u s e f u l   f o r   r u n n i n g   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t s .   P e r f o r m   a   r o l l i n g   u p d a t e   o n   a   D a e m o n S e t P e r f o r m   a   r o l l b a c k   o n   a   D a e m o n S e t   ( f o r   e x a m p l e ,   i f   a   r o l l   o u t   d i d n ' t   w o r k   h o w   y o u   e x p e c t e d ) .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/daemonset",
    "id": "k8s_00382_section_2_7253"
  },
  {
    "question": "What is NodeSelectorRequirement?",
    "answer": "NodeSelectorRequirementA node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.import \"k8s.io/api/core/v1\"A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.key (string), requiredThe label key that the selector applies to.operator (string), requiredRepresents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.values ([]string)Atomic: will be replaced during a mergeAn array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/node-selector-requirement/",
    "id": "k8s_00383_qa_7254"
  },
  {
    "question": "How does NodeSelectorRequirement work?",
    "answer": "NodeSelectorRequirementA node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.import \"k8s.io/api/core/v1\"A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.key (string), requiredThe label key that the selector applies to.operator (string), requiredRepresents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.values ([]string)Atomic: will be replaced during a mergeAn array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/node-selector-requirement/",
    "id": "k8s_00383_qa_7255"
  },
  {
    "question": "When would you use NodeSelectorRequirement?",
    "answer": "NodeSelectorRequirementA node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.import \"k8s.io/api/core/v1\"A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.key (string), requiredThe label key that the selector applies to.operator (string), requiredRepresents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.values ([]string)Atomic: will be replaced during a mergeAn array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/node-selector-requirement/",
    "id": "k8s_00383_qa_7256"
  },
  {
    "question": "What are the benefits of NodeSelectorRequirement?",
    "answer": "NodeSelectorRequirementA node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.import \"k8s.io/api/core/v1\"A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.key (string), requiredThe label key that the selector applies to.operator (string), requiredRepresents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.values ([]string)Atomic: will be replaced during a mergeAn array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/node-selector-requirement/",
    "id": "k8s_00383_qa_7257"
  },
  {
    "question": "What is NodeSelectorRequirement?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"   A   n o d e   s e l e c t o r   r e q u i r e m e n t   i s   a   s e l e c t o r   t h a t   c o n t a i n s   v a l u e s ,   a   k e y ,   a n d   a n   o p e r a t o r   t h a t   r e l a t e s   t h e   k e y   a n d   v a l u e s .   k e y   ( s t r i n g ) ,   r e q u i r e d T h e   l a b e l   k e y   t h a t   t h e   s e l e c t o r   a p p l i e s   t o . o p e r a t o r   ( s t r i n g ) ,   r e q u i r e d R e p r e s e n t s   a   k e y ' s   r e l a t i o n s h i p   t o   a   s e t   o f   v a l u e s .   V a l i d   o p e r a t o r s   a r e   I n ,   N o t I n ,   E x i s t s ,   D o e s N o t E x i s t .   G t ,   a n d   L t . v a l u e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A n   a r r a y   o f   s t r i n g   v a l u e s .   I f   t h e   o p e r a t o r   i s   I n   o r   N o t I n ,   t h e   v a l u e s   a r r a y   m u s t   b e   n o n - e m p t y .   I f   t h e   o p e r a t o r   i s   E x i s t s   o r   D o e s N o t E x i s t ,   t h e   v a l u e s   a r r a y   m u s t   b e   e m p t y .   I f   t h e   o p e r a t o r   i s   G t   o r   L t ,   t h e   v a l u e s   a r r a y   m u s t   h a v e   a   s i n g l e   e l e m e n t ,   w h i c h   w i l l   b e   i n t e r p r e t e d   a s   a n   i n t e g e r .   T h i s   a r r a y   i s   r e p l a c e d   d u r i n g   a   s t r a t e g i c   m e r g e   p a t c h .   k e y   ( s t r i n g ) ,   r e q u i r e d   T h e   l a b e l   k e y   t h a t   t h e   s e l e c t o r   a p p l i e s   t o .   o p e r a t o r   ( s t r i n g ) ,   r e q u i r e d   R e p r e s e n t s   a   k e y ' s   r e l a t i o n s h i p   t o   a   s e t   o f   v a l u e s .   V a l i d   o p e r a t o r s   a r e   I n ,   N o t I n ,   E x i s t s ,   D o e s N o t E x i s t .   G t ,   a n d   L t .   v a l u e s   ( [ ] s t r i n g )   A t o m i c :   w i l l   b e   r e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/node-selector-requirement/",
    "id": "k8s_00383_section_1_7258"
  },
  {
    "question": "What is kubectl create cronjob?",
    "answer": "kubectl create cronjobSynopsisCreate a cron job with the specified name.kubectl create cronjob NAME --image=image --schedule='0/5 * * * ?' -- [COMMAND] [args...] [flags] Examples # Create a cron job kubectl create cronjob my-job --image=busybox --schedule=\"*/1 * * * *\" # Create a cron job with a command kubectl create cronjob my-job --image=busybox --schedule=\"*/1 * * * *\" -- date Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for cronjob--image stringImage name to run.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--restart stringjob's restart policy. supported values: OnFailure, Never--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--schedule stringA schedule in the Cron format the job should be run with.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_cronjob/",
    "id": "k8s_00384_qa_7259"
  },
  {
    "question": "How does kubectl create cronjob work?",
    "answer": "kubectl create cronjobSynopsisCreate a cron job with the specified name.kubectl create cronjob NAME --image=image --schedule='0/5 * * * ?' -- [COMMAND] [args...] [flags] Examples # Create a cron job kubectl create cronjob my-job --image=busybox --schedule=\"*/1 * * * *\" # Create a cron job with a command kubectl create cronjob my-job --image=busybox --schedule=\"*/1 * * * *\" -- date Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for cronjob--image stringImage name to run.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--restart stringjob's restart policy. supported values: OnFailure, Never--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--schedule stringA schedule in the Cron format the job should be run with.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_cronjob/",
    "id": "k8s_00384_qa_7260"
  },
  {
    "question": "When would you use kubectl create cronjob?",
    "answer": "kubectl create cronjobSynopsisCreate a cron job with the specified name.kubectl create cronjob NAME --image=image --schedule='0/5 * * * ?' -- [COMMAND] [args...] [flags] Examples # Create a cron job kubectl create cronjob my-job --image=busybox --schedule=\"*/1 * * * *\" # Create a cron job with a command kubectl create cronjob my-job --image=busybox --schedule=\"*/1 * * * *\" -- date Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for cronjob--image stringImage name to run.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--restart stringjob's restart policy. supported values: OnFailure, Never--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--schedule stringA schedule in the Cron format the job should be run with.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_cronjob/",
    "id": "k8s_00384_qa_7261"
  },
  {
    "question": "What are the benefits of kubectl create cronjob?",
    "answer": "kubectl create cronjobSynopsisCreate a cron job with the specified name.kubectl create cronjob NAME --image=image --schedule='0/5 * * * ?' -- [COMMAND] [args...] [flags] Examples # Create a cron job kubectl create cronjob my-job --image=busybox --schedule=\"*/1 * * * *\" # Create a cron job with a command kubectl create cronjob my-job --image=busybox --schedule=\"*/1 * * * *\" -- date Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for cronjob--image stringImage name to run.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--restart stringjob's restart policy. supported values: OnFailure, Never--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--schedule stringA schedule in the Cron format the job should be run with.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_cronjob/",
    "id": "k8s_00384_qa_7262"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   c r o n   j o b   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   c r o n j o b   N A M E   - - i m a g e = i m a g e   - - s c h e d u l e = ' 0 / 5   *   *   *   ? '   - -   [ C O M M A N D ]   [ a r g s . . . ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_cronjob/",
    "id": "k8s_00384_section_2_7263"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   c r o n   j o b   k u b e c t l   c r e a t e   c r o n j o b   m y - j o b   - - i m a g e = b u s y b o x   - - s c h e d u l e = \" * / 1   *   *   *   * \"   #   C r e a t e   a   c r o n   j o b   w i t h   a   c o m m a n d   k u b e c t l   c r e a t e   c r o n j o b   m y - j o b   - - i m a g e = b u s y b o x   - - s c h e d u l e = \" * / 1   *   *   *   * \"   - -   d a t e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_cronjob/",
    "id": "k8s_00384_section_2_7264"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   c r o n j o b   I m a g e   n a m e   t o   r u n .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   j o b ' s   r e s t a r t   p o l i c y .   s u p p o r t e d   v a l u e s :   O n F a i l u r e ,   N e v e r   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   A   s c h e d u l e   i n   t h e   C r o n   f o r m a t   t h e   j o b   s h o u l d   b e   r u n   w i t h .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_cronjob/",
    "id": "k8s_00384_section_2_7265"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_cronjob/",
    "id": "k8s_00384_section_2_7266"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_cronjob/",
    "id": "k8s_00384_section_2_7267"
  },
  {
    "question": "What is Coordinated Leader Election?",
    "answer": "Coordinated Leader ElectionFEATURE STATE: Kubernetes v1.33 [beta] (enabled by default: false)Kubernetes 1.34 includes a beta feature that allows control plane components to deterministically select a leader via coordinated leader election. This is useful to satisfy Kubernetes version skew constraints during cluster upgrades. Currently, the only builtin selection strategy is OldestEmulationVersion, preferring the leader with the lowest emulation version, followed by binary version, followed by creation timestamp.Enabling coordinated leader electionEnsure that CoordinatedLeaderElection feature gate is enabled when you start the API Server: and that the coordination.k8s.io/v1beta1 API group is enabled.This can be done by setting flags --feature-gates=\"CoordinatedLeaderElection=true\" and --runtime-config=\"coordination.k8s.io/v1beta1=true\".Component configurationProvided that you have enabled the CoordinatedLeaderElection feature gate andhave the coordination.k8s.io/v1beta1 API group enabled, compatible control planecomponents automatically use the LeaseCandidate and Lease APIs to elect a leaderas needed.For Kubernetes 1.34, two control plane components(kube-controller-manager and kube-scheduler) automatically use coordinatedleader election when the feature gate and API group are enabled.",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/coordinated-leader-election/",
    "id": "k8s_00385_qa_7268"
  },
  {
    "question": "How does Coordinated Leader Election work?",
    "answer": "Coordinated Leader ElectionFEATURE STATE: Kubernetes v1.33 [beta] (enabled by default: false)Kubernetes 1.34 includes a beta feature that allows control plane components to deterministically select a leader via coordinated leader election. This is useful to satisfy Kubernetes version skew constraints during cluster upgrades. Currently, the only builtin selection strategy is OldestEmulationVersion, preferring the leader with the lowest emulation version, followed by binary version, followed by creation timestamp.Enabling coordinated leader electionEnsure that CoordinatedLeaderElection feature gate is enabled when you start the API Server: and that the coordination.k8s.io/v1beta1 API group is enabled.This can be done by setting flags --feature-gates=\"CoordinatedLeaderElection=true\" and --runtime-config=\"coordination.k8s.io/v1beta1=true\".Component configurationProvided that you have enabled the CoordinatedLeaderElection feature gate andhave the coordination.k8s.io/v1beta1 API group enabled, compatible control planecomponents automatically use the LeaseCandidate and Lease APIs to elect a leaderas needed.For Kubernetes 1.34, two control plane components(kube-controller-manager and kube-scheduler) automatically use coordinatedleader election when the feature gate and API group are enabled.",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/coordinated-leader-election/",
    "id": "k8s_00385_qa_7269"
  },
  {
    "question": "When would you use Coordinated Leader Election?",
    "answer": "Coordinated Leader ElectionFEATURE STATE: Kubernetes v1.33 [beta] (enabled by default: false)Kubernetes 1.34 includes a beta feature that allows control plane components to deterministically select a leader via coordinated leader election. This is useful to satisfy Kubernetes version skew constraints during cluster upgrades. Currently, the only builtin selection strategy is OldestEmulationVersion, preferring the leader with the lowest emulation version, followed by binary version, followed by creation timestamp.Enabling coordinated leader electionEnsure that CoordinatedLeaderElection feature gate is enabled when you start the API Server: and that the coordination.k8s.io/v1beta1 API group is enabled.This can be done by setting flags --feature-gates=\"CoordinatedLeaderElection=true\" and --runtime-config=\"coordination.k8s.io/v1beta1=true\".Component configurationProvided that you have enabled the CoordinatedLeaderElection feature gate andhave the coordination.k8s.io/v1beta1 API group enabled, compatible control planecomponents automatically use the LeaseCandidate and Lease APIs to elect a leaderas needed.For Kubernetes 1.34, two control plane components(kube-controller-manager and kube-scheduler) automatically use coordinatedleader election when the feature gate and API group are enabled.",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/coordinated-leader-election/",
    "id": "k8s_00385_qa_7270"
  },
  {
    "question": "What are the benefits of Coordinated Leader Election?",
    "answer": "Coordinated Leader ElectionFEATURE STATE: Kubernetes v1.33 [beta] (enabled by default: false)Kubernetes 1.34 includes a beta feature that allows control plane components to deterministically select a leader via coordinated leader election. This is useful to satisfy Kubernetes version skew constraints during cluster upgrades. Currently, the only builtin selection strategy is OldestEmulationVersion, preferring the leader with the lowest emulation version, followed by binary version, followed by creation timestamp.Enabling coordinated leader electionEnsure that CoordinatedLeaderElection feature gate is enabled when you start the API Server: and that the coordination.k8s.io/v1beta1 API group is enabled.This can be done by setting flags --feature-gates=\"CoordinatedLeaderElection=true\" and --runtime-config=\"coordination.k8s.io/v1beta1=true\".Component configurationProvided that you have enabled the CoordinatedLeaderElection feature gate andhave the coordination.k8s.io/v1beta1 API group enabled, compatible control planecomponents automatically use the LeaseCandidate and Lease APIs to elect a leaderas needed.For Kubernetes 1.34, two control plane components(kube-controller-manager and kube-scheduler) automatically use coordinatedleader election when the feature gate and API group are enabled.",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/coordinated-leader-election/",
    "id": "k8s_00385_qa_7271"
  },
  {
    "question": "What is Coordinated Leader Election?",
    "answer": "K u b e r n e t e s   1 . 3 4   i n c l u d e s   a   b e t a   f e a t u r e   t h a t   a l l o w s   c o n t r o l   p l a n e   c o m p o n e n t s   t o   d e t e r m i n i s t i c a l l y   s e l e c t   a   l e a d e r   v i a   c o o r d i n a t e d   l e a d e r   e l e c t i o n .   T h i s   i s   u s e f u l   t o   s a t i s f y   K u b e r n e t e s   v e r s i o n   s k e w   c o n s t r a i n t s   d u r i n g   c l u s t e r   u p g r a d e s .   C u r r e n t l y ,   t h e   o n l y   b u i l t i n   s e l e c t i o n   s t r a t e g y   i s   O l d e s t E m u l a t i o n V e r s i o n ,   p r e f e r r i n g   t h e   l e a d e r   w i t h   t h e   l o w e s t   e m u l a t i o n   v e r s i o n ,   f o l l o w e d   b y   b i n a r y   v e r s i o n ,   f o l l o w e d   b y   c r e a t i o n   t i m e s t a m p .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/coordinated-leader-election/",
    "id": "k8s_00385_section_1_7272"
  },
  {
    "question": "What is Enabling coordinated leader election?",
    "answer": "E n s u r e   t h a t   C o o r d i n a t e d L e a d e r E l e c t i o n   f e a t u r e   g a t e   i s   e n a b l e d   w h e n   y o u   s t a r t   t h e   A P I   S e r v e r :   a n d   t h a t   t h e   c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1   A P I   g r o u p   i s   e n a b l e d .   T h i s   c a n   b e   d o n e   b y   s e t t i n g   f l a g s   - - f e a t u r e - g a t e s = \" C o o r d i n a t e d L e a d e r E l e c t i o n = t r u e \"   a n d   - - r u n t i m e - c o n f i g = \" c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 = t r u e \" .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/coordinated-leader-election/",
    "id": "k8s_00385_section_2_7273"
  },
  {
    "question": "What is Component configuration?",
    "answer": "P r o v i d e d   t h a t   y o u   h a v e   e n a b l e d   t h e   C o o r d i n a t e d L e a d e r E l e c t i o n   f e a t u r e   g a t e   a n d h a v e   t h e   c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1   A P I   g r o u p   e n a b l e d ,   c o m p a t i b l e   c o n t r o l   p l a n e c o m p o n e n t s   a u t o m a t i c a l l y   u s e   t h e   L e a s e C a n d i d a t e   a n d   L e a s e   A P I s   t o   e l e c t   a   l e a d e r a s   n e e d e d .   F o r   K u b e r n e t e s   1 . 3 4 ,   t w o   c o n t r o l   p l a n e   c o m p o n e n t s ( k u b e - c o n t r o l l e r - m a n a g e r   a n d   k u b e - s c h e d u l e r )   a u t o m a t i c a l l y   u s e   c o o r d i n a t e d l e a d e r   e l e c t i o n   w h e n   t h e   f e a t u r e   g a t e   a n d   A P I   g r o u p   a r e   e n a b l e d .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/coordinated-leader-election/",
    "id": "k8s_00385_section_2_7274"
  },
  {
    "question": "What is Configure a Pod to Use a Projected Volume for Storage?",
    "answer": "Configure a Pod to Use a Projected Volume for StorageThis page shows how to use a projected Volume to mount several existing volume sources into the same directory. Currently, secret, configMap, downwardAPI, and serviceAccountToken volumes can be projected.Note:serviceAccountToken is not a volume type.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Configure a projected volume for a podIn this exercise, you create username and password Secrets from local files. You then create a Pod that runs one container, using a projected Volume to mount the Secrets into the same shared directory.Here is the configuration file for the Pod:pods/storage/projected.yaml apiVersion: v1 kind: Pod metadata: name: test-projected-volume spec: containers: - name: test-projected-volume image: busybox:1.28 args: - sleep - \"86400\" volumeMounts: - name: all-in-one mountPath: \"/projected-volume\" readOnly: true volumes: - name: all-in-one projected: sources: - secret: name: user - secret: name: pass Create the Secrets:# Create files containing the username and password: echo -n \"admin\" > ./username.txt echo -n \"1f2d1e2e67df\" > ./password.txt # Package these files into secrets: kubectl create secret generic user --from-file=./username.txt kubectl create secret generic pass --from-file=./password.txt Create the Pod:kubectl apply -f https://k8s.io/examples/pods/storage/projected.yaml Verify that the Pod's container is running, and then watch for changes to the Pod:kubectl get --watch pod test-projected-volume The output looks like this:NAME READY STATUS RESTARTS AGE test-projected-volume 1/1 Running 0 14s In another terminal, get a shell to the running container:kubectl exec -it test-projected-volume -- /bin/sh In your shell, verify that the projected-volume directory contains your projected sources:ls /projected-volume/ Clean upDelete the Pod and the Secrets:kubectl delete pod test-projected-volume kubectl delete secret user pass What's nextLearn more about projected volumes.Read the all-in-one volume design document.",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-projected-volume-storage/",
    "id": "k8s_00386_qa_7275"
  },
  {
    "question": "How does Configure a Pod to Use a Projected Volume for Storage work?",
    "answer": "Configure a Pod to Use a Projected Volume for StorageThis page shows how to use a projected Volume to mount several existing volume sources into the same directory. Currently, secret, configMap, downwardAPI, and serviceAccountToken volumes can be projected.Note:serviceAccountToken is not a volume type.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Configure a projected volume for a podIn this exercise, you create username and password Secrets from local files. You then create a Pod that runs one container, using a projected Volume to mount the Secrets into the same shared directory.Here is the configuration file for the Pod:pods/storage/projected.yaml apiVersion: v1 kind: Pod metadata: name: test-projected-volume spec: containers: - name: test-projected-volume image: busybox:1.28 args: - sleep - \"86400\" volumeMounts: - name: all-in-one mountPath: \"/projected-volume\" readOnly: true volumes: - name: all-in-one projected: sources: - secret: name: user - secret: name: pass Create the Secrets:# Create files containing the username and password: echo -n \"admin\" > ./username.txt echo -n \"1f2d1e2e67df\" > ./password.txt # Package these files into secrets: kubectl create secret generic user --from-file=./username.txt kubectl create secret generic pass --from-file=./password.txt Create the Pod:kubectl apply -f https://k8s.io/examples/pods/storage/projected.yaml Verify that the Pod's container is running, and then watch for changes to the Pod:kubectl get --watch pod test-projected-volume The output looks like this:NAME READY STATUS RESTARTS AGE test-projected-volume 1/1 Running 0 14s In another terminal, get a shell to the running container:kubectl exec -it test-projected-volume -- /bin/sh In your shell, verify that the projected-volume directory contains your projected sources:ls /projected-volume/ Clean upDelete the Pod and the Secrets:kubectl delete pod test-projected-volume kubectl delete secret user pass What's nextLearn more about projected volumes.Read the all-in-one volume design document.",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-projected-volume-storage/",
    "id": "k8s_00386_qa_7276"
  },
  {
    "question": "When would you use Configure a Pod to Use a Projected Volume for Storage?",
    "answer": "Configure a Pod to Use a Projected Volume for StorageThis page shows how to use a projected Volume to mount several existing volume sources into the same directory. Currently, secret, configMap, downwardAPI, and serviceAccountToken volumes can be projected.Note:serviceAccountToken is not a volume type.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Configure a projected volume for a podIn this exercise, you create username and password Secrets from local files. You then create a Pod that runs one container, using a projected Volume to mount the Secrets into the same shared directory.Here is the configuration file for the Pod:pods/storage/projected.yaml apiVersion: v1 kind: Pod metadata: name: test-projected-volume spec: containers: - name: test-projected-volume image: busybox:1.28 args: - sleep - \"86400\" volumeMounts: - name: all-in-one mountPath: \"/projected-volume\" readOnly: true volumes: - name: all-in-one projected: sources: - secret: name: user - secret: name: pass Create the Secrets:# Create files containing the username and password: echo -n \"admin\" > ./username.txt echo -n \"1f2d1e2e67df\" > ./password.txt # Package these files into secrets: kubectl create secret generic user --from-file=./username.txt kubectl create secret generic pass --from-file=./password.txt Create the Pod:kubectl apply -f https://k8s.io/examples/pods/storage/projected.yaml Verify that the Pod's container is running, and then watch for changes to the Pod:kubectl get --watch pod test-projected-volume The output looks like this:NAME READY STATUS RESTARTS AGE test-projected-volume 1/1 Running 0 14s In another terminal, get a shell to the running container:kubectl exec -it test-projected-volume -- /bin/sh In your shell, verify that the projected-volume directory contains your projected sources:ls /projected-volume/ Clean upDelete the Pod and the Secrets:kubectl delete pod test-projected-volume kubectl delete secret user pass What's nextLearn more about projected volumes.Read the all-in-one volume design document.",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-projected-volume-storage/",
    "id": "k8s_00386_qa_7277"
  },
  {
    "question": "What are the benefits of Configure a Pod to Use a Projected Volume for Storage?",
    "answer": "Configure a Pod to Use a Projected Volume for StorageThis page shows how to use a projected Volume to mount several existing volume sources into the same directory. Currently, secret, configMap, downwardAPI, and serviceAccountToken volumes can be projected.Note:serviceAccountToken is not a volume type.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Configure a projected volume for a podIn this exercise, you create username and password Secrets from local files. You then create a Pod that runs one container, using a projected Volume to mount the Secrets into the same shared directory.Here is the configuration file for the Pod:pods/storage/projected.yaml apiVersion: v1 kind: Pod metadata: name: test-projected-volume spec: containers: - name: test-projected-volume image: busybox:1.28 args: - sleep - \"86400\" volumeMounts: - name: all-in-one mountPath: \"/projected-volume\" readOnly: true volumes: - name: all-in-one projected: sources: - secret: name: user - secret: name: pass Create the Secrets:# Create files containing the username and password: echo -n \"admin\" > ./username.txt echo -n \"1f2d1e2e67df\" > ./password.txt # Package these files into secrets: kubectl create secret generic user --from-file=./username.txt kubectl create secret generic pass --from-file=./password.txt Create the Pod:kubectl apply -f https://k8s.io/examples/pods/storage/projected.yaml Verify that the Pod's container is running, and then watch for changes to the Pod:kubectl get --watch pod test-projected-volume The output looks like this:NAME READY STATUS RESTARTS AGE test-projected-volume 1/1 Running 0 14s In another terminal, get a shell to the running container:kubectl exec -it test-projected-volume -- /bin/sh In your shell, verify that the projected-volume directory contains your projected sources:ls /projected-volume/ Clean upDelete the Pod and the Secrets:kubectl delete pod test-projected-volume kubectl delete secret user pass What's nextLearn more about projected volumes.Read the all-in-one volume design document.",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-projected-volume-storage/",
    "id": "k8s_00386_qa_7278"
  },
  {
    "question": "What is Configure a Pod to Use a Projected Volume for Storage?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   a   p r o j e c t e d   V o l u m e   t o   m o u n t   s e v e r a l   e x i s t i n g   v o l u m e   s o u r c e s   i n t o   t h e   s a m e   d i r e c t o r y .   C u r r e n t l y ,   s e c r e t ,   c o n f i g M a p ,   d o w n w a r d A P I ,   a n d   s e r v i c e A c c o u n t T o k e n   v o l u m e s   c a n   b e   p r o j e c t e d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-projected-volume-storage/",
    "id": "k8s_00386_section_1_7279"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-projected-volume-storage/",
    "id": "k8s_00386_section_2_7280"
  },
  {
    "question": "What is Configure a projected volume for a pod?",
    "answer": "I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   u s e r n a m e   a n d   p a s s w o r d   S e c r e t s   f r o m   l o c a l   f i l e s .   Y o u   t h e n   c r e a t e   a   P o d   t h a t   r u n s   o n e   c o n t a i n e r ,   u s i n g   a   p r o j e c t e d   V o l u m e   t o   m o u n t   t h e   S e c r e t s   i n t o   t h e   s a m e   s h a r e d   d i r e c t o r y .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t - p r o j e c t e d - v o l u m e   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - p r o j e c t e d - v o l u m e   i m a g e :   b u s y b o x : 1 . 2 8   a r g s :   -   s l e e p   -   \" 8 6 4 0 0 \"   v o l u m e M o u n t s :   -   n a m e :   a l l - i n - o n e   m o u n t P a t h :   \" / p r o j e c t e d - v o l u m e \"   r e a d O n l y :   t r u e   v o l u m e s :   -   n a m e :   a l l - i n - o n e   p r o j e c t e d :   s o u r c e s :   -   s e c r e t :   n a m e :   u s e r   -   s e c r e t :   n a m e :   p a s s   C r e a t e   t h e   S e c r e t s : #   C r e a t e   f i l e s   c o n t a i n i n g   t h e   u s e r n a m e   a n d   p a s s w o r d :   e c h o   - n   \" a d m i n \"   >   . / u s e r n a m e . t x t   e c h o   - n   \" 1 f 2 d 1 e 2 e 6 7 d f \"   >   . / p a s s w o r d . t x t   #   P a c k a g e   t h e s e   f i l e s   i n t o   s e c r e t s :   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   u s e r   - - f r o m - f i l e = . / u s e r n a m e . t x t   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   p a s s   - - f r o m - f i l e = . / p a s s w o r d . t x t   C r e a t e   t h e   P o d : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s t o r a g e / p r o j e c t e d . y a m l   V e r i f y   t h a t   t h e   P o d ' s   c o n t a i n e r   i s   r u n n i n ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-projected-volume-storage/",
    "id": "k8s_00386_section_2_7281"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   t h e   P o d   a n d   t h e   S e c r e t s :   k u b e c t l   d e l e t e   p o d   t e s t - p r o j e c t e d - v o l u m e   k u b e c t l   d e l e t e   s e c r e t   u s e r   p a s s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-projected-volume-storage/",
    "id": "k8s_00386_section_2_7282"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   p r o j e c t e d   v o l u m e s . R e a d   t h e   a l l - i n - o n e   v o l u m e   d e s i g n   d o c u m e n t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-projected-volume-storage/",
    "id": "k8s_00386_section_2_7283"
  },
  {
    "question": "What is Node-specific Volume Limits?",
    "answer": "Node-specific Volume LimitsThis page describes the maximum number of volumes that can be attached to a Node for various cloud providers.Cloud providers like Google, Amazon, and Microsoft typically have a limit on how many volumes can be attached to a Node. It is important for Kubernetes to respect those limits. Otherwise, Pods scheduled on a Node could get stuck waiting for volumes to attach.Kubernetes default limitsThe Kubernetes scheduler has default limits on the number of volumes that can be attached to a Node:Cloud serviceMaximum volumes per NodeAmazon Elastic Block Store (EBS)39Google Persistent Disk16Microsoft Azure Disk Storage16Dynamic volume limitsFEATURE STATE: Kubernetes v1.17 [stable]Dynamic volume limits are supported for following volume types.Amazon EBSGoogle Persistent DiskAzure DiskCSIFor volumes managed by in-tree volume plugins, Kubernetes automatically determines the Node type and enforces the appropriate maximum number of volumes for the node. For example:On Google Compute Engine, up to 127 volumes can be attached to a node, depending on the node type.For Amazon EBS disks on M5,C5,R5,T3 and Z1D instance types, Kubernetes allows only 25 volumes to be attached to a Node. For other instance types on Amazon Elastic Compute Cloud (EC2), Kubernetes allows 39 volumes to be attached to a Node.On Azure, up to 64 disks can be attached to a node, depending on the node type. For more details, refer to Sizes for virtual machines in Azure.If a CSI storage driver advertises a maximum number of volumes for a Node (using NodeGetInfo), the kube-scheduler honors that limit. Refer to the CSI specifications for details.For volumes managed by in-tree plugins that have been migrated to a CSI driver, the maximum number of volumes will be the one reported by the CSI driver.Mutable CSI Node Allocatable CountFEATURE STATE: Kubernetes v1.34 [beta] (enabled by default: false)CSI drivers can dynamically adjust the maximum number of volumes that can be attached to a Node at runtime. This enhances scheduling accuracy and reduces pod scheduling failures due to changes in resource availability.To use this feature, you must enable the MutableCSINodeAllocatableCount feature gate on the following components:kube-apiserverkubeletPeriodic UpdatesWhen enabled, CSI drivers can request periodic updates to their volume limits by setting the nodeAllocatableUpdatePeriodSeconds field in the CSIDriver specification. For example:apiVersion: storage.k8s.io/v1 kind: CSIDriver metadata: name: hostpath.csi.k8s.io spec: nodeAllocatableUpdatePeriodSeconds: 60 Kubelet will periodically call the corresponding CSI driver’s NodeGetInfo endpoint to refresh the maximum number of attachable volumes, using the interval specified in nodeAllocatableUpdatePeriodSeconds. The minimum allowed value for this field is 10 seconds.If a volume attachment operation fails with a ResourceExhausted error (gRPC code 8), Kubernetes triggers an immediate update to the allocatable volume count for that N",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-limits/",
    "id": "k8s_00387_qa_7284"
  },
  {
    "question": "How does Node-specific Volume Limits work?",
    "answer": "Node-specific Volume LimitsThis page describes the maximum number of volumes that can be attached to a Node for various cloud providers.Cloud providers like Google, Amazon, and Microsoft typically have a limit on how many volumes can be attached to a Node. It is important for Kubernetes to respect those limits. Otherwise, Pods scheduled on a Node could get stuck waiting for volumes to attach.Kubernetes default limitsThe Kubernetes scheduler has default limits on the number of volumes that can be attached to a Node:Cloud serviceMaximum volumes per NodeAmazon Elastic Block Store (EBS)39Google Persistent Disk16Microsoft Azure Disk Storage16Dynamic volume limitsFEATURE STATE: Kubernetes v1.17 [stable]Dynamic volume limits are supported for following volume types.Amazon EBSGoogle Persistent DiskAzure DiskCSIFor volumes managed by in-tree volume plugins, Kubernetes automatically determines the Node type and enforces the appropriate maximum number of volumes for the node. For example:On Google Compute Engine, up to 127 volumes can be attached to a node, depending on the node type.For Amazon EBS disks on M5,C5,R5,T3 and Z1D instance types, Kubernetes allows only 25 volumes to be attached to a Node. For other instance types on Amazon Elastic Compute Cloud (EC2), Kubernetes allows 39 volumes to be attached to a Node.On Azure, up to 64 disks can be attached to a node, depending on the node type. For more details, refer to Sizes for virtual machines in Azure.If a CSI storage driver advertises a maximum number of volumes for a Node (using NodeGetInfo), the kube-scheduler honors that limit. Refer to the CSI specifications for details.For volumes managed by in-tree plugins that have been migrated to a CSI driver, the maximum number of volumes will be the one reported by the CSI driver.Mutable CSI Node Allocatable CountFEATURE STATE: Kubernetes v1.34 [beta] (enabled by default: false)CSI drivers can dynamically adjust the maximum number of volumes that can be attached to a Node at runtime. This enhances scheduling accuracy and reduces pod scheduling failures due to changes in resource availability.To use this feature, you must enable the MutableCSINodeAllocatableCount feature gate on the following components:kube-apiserverkubeletPeriodic UpdatesWhen enabled, CSI drivers can request periodic updates to their volume limits by setting the nodeAllocatableUpdatePeriodSeconds field in the CSIDriver specification. For example:apiVersion: storage.k8s.io/v1 kind: CSIDriver metadata: name: hostpath.csi.k8s.io spec: nodeAllocatableUpdatePeriodSeconds: 60 Kubelet will periodically call the corresponding CSI driver’s NodeGetInfo endpoint to refresh the maximum number of attachable volumes, using the interval specified in nodeAllocatableUpdatePeriodSeconds. The minimum allowed value for this field is 10 seconds.If a volume attachment operation fails with a ResourceExhausted error (gRPC code 8), Kubernetes triggers an immediate update to the allocatable volume count for that N",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-limits/",
    "id": "k8s_00387_qa_7285"
  },
  {
    "question": "When would you use Node-specific Volume Limits?",
    "answer": "Node-specific Volume LimitsThis page describes the maximum number of volumes that can be attached to a Node for various cloud providers.Cloud providers like Google, Amazon, and Microsoft typically have a limit on how many volumes can be attached to a Node. It is important for Kubernetes to respect those limits. Otherwise, Pods scheduled on a Node could get stuck waiting for volumes to attach.Kubernetes default limitsThe Kubernetes scheduler has default limits on the number of volumes that can be attached to a Node:Cloud serviceMaximum volumes per NodeAmazon Elastic Block Store (EBS)39Google Persistent Disk16Microsoft Azure Disk Storage16Dynamic volume limitsFEATURE STATE: Kubernetes v1.17 [stable]Dynamic volume limits are supported for following volume types.Amazon EBSGoogle Persistent DiskAzure DiskCSIFor volumes managed by in-tree volume plugins, Kubernetes automatically determines the Node type and enforces the appropriate maximum number of volumes for the node. For example:On Google Compute Engine, up to 127 volumes can be attached to a node, depending on the node type.For Amazon EBS disks on M5,C5,R5,T3 and Z1D instance types, Kubernetes allows only 25 volumes to be attached to a Node. For other instance types on Amazon Elastic Compute Cloud (EC2), Kubernetes allows 39 volumes to be attached to a Node.On Azure, up to 64 disks can be attached to a node, depending on the node type. For more details, refer to Sizes for virtual machines in Azure.If a CSI storage driver advertises a maximum number of volumes for a Node (using NodeGetInfo), the kube-scheduler honors that limit. Refer to the CSI specifications for details.For volumes managed by in-tree plugins that have been migrated to a CSI driver, the maximum number of volumes will be the one reported by the CSI driver.Mutable CSI Node Allocatable CountFEATURE STATE: Kubernetes v1.34 [beta] (enabled by default: false)CSI drivers can dynamically adjust the maximum number of volumes that can be attached to a Node at runtime. This enhances scheduling accuracy and reduces pod scheduling failures due to changes in resource availability.To use this feature, you must enable the MutableCSINodeAllocatableCount feature gate on the following components:kube-apiserverkubeletPeriodic UpdatesWhen enabled, CSI drivers can request periodic updates to their volume limits by setting the nodeAllocatableUpdatePeriodSeconds field in the CSIDriver specification. For example:apiVersion: storage.k8s.io/v1 kind: CSIDriver metadata: name: hostpath.csi.k8s.io spec: nodeAllocatableUpdatePeriodSeconds: 60 Kubelet will periodically call the corresponding CSI driver’s NodeGetInfo endpoint to refresh the maximum number of attachable volumes, using the interval specified in nodeAllocatableUpdatePeriodSeconds. The minimum allowed value for this field is 10 seconds.If a volume attachment operation fails with a ResourceExhausted error (gRPC code 8), Kubernetes triggers an immediate update to the allocatable volume count for that N",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-limits/",
    "id": "k8s_00387_qa_7286"
  },
  {
    "question": "What are the benefits of Node-specific Volume Limits?",
    "answer": "Node-specific Volume LimitsThis page describes the maximum number of volumes that can be attached to a Node for various cloud providers.Cloud providers like Google, Amazon, and Microsoft typically have a limit on how many volumes can be attached to a Node. It is important for Kubernetes to respect those limits. Otherwise, Pods scheduled on a Node could get stuck waiting for volumes to attach.Kubernetes default limitsThe Kubernetes scheduler has default limits on the number of volumes that can be attached to a Node:Cloud serviceMaximum volumes per NodeAmazon Elastic Block Store (EBS)39Google Persistent Disk16Microsoft Azure Disk Storage16Dynamic volume limitsFEATURE STATE: Kubernetes v1.17 [stable]Dynamic volume limits are supported for following volume types.Amazon EBSGoogle Persistent DiskAzure DiskCSIFor volumes managed by in-tree volume plugins, Kubernetes automatically determines the Node type and enforces the appropriate maximum number of volumes for the node. For example:On Google Compute Engine, up to 127 volumes can be attached to a node, depending on the node type.For Amazon EBS disks on M5,C5,R5,T3 and Z1D instance types, Kubernetes allows only 25 volumes to be attached to a Node. For other instance types on Amazon Elastic Compute Cloud (EC2), Kubernetes allows 39 volumes to be attached to a Node.On Azure, up to 64 disks can be attached to a node, depending on the node type. For more details, refer to Sizes for virtual machines in Azure.If a CSI storage driver advertises a maximum number of volumes for a Node (using NodeGetInfo), the kube-scheduler honors that limit. Refer to the CSI specifications for details.For volumes managed by in-tree plugins that have been migrated to a CSI driver, the maximum number of volumes will be the one reported by the CSI driver.Mutable CSI Node Allocatable CountFEATURE STATE: Kubernetes v1.34 [beta] (enabled by default: false)CSI drivers can dynamically adjust the maximum number of volumes that can be attached to a Node at runtime. This enhances scheduling accuracy and reduces pod scheduling failures due to changes in resource availability.To use this feature, you must enable the MutableCSINodeAllocatableCount feature gate on the following components:kube-apiserverkubeletPeriodic UpdatesWhen enabled, CSI drivers can request periodic updates to their volume limits by setting the nodeAllocatableUpdatePeriodSeconds field in the CSIDriver specification. For example:apiVersion: storage.k8s.io/v1 kind: CSIDriver metadata: name: hostpath.csi.k8s.io spec: nodeAllocatableUpdatePeriodSeconds: 60 Kubelet will periodically call the corresponding CSI driver’s NodeGetInfo endpoint to refresh the maximum number of attachable volumes, using the interval specified in nodeAllocatableUpdatePeriodSeconds. The minimum allowed value for this field is 10 seconds.If a volume attachment operation fails with a ResourceExhausted error (gRPC code 8), Kubernetes triggers an immediate update to the allocatable volume count for that N",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-limits/",
    "id": "k8s_00387_qa_7287"
  },
  {
    "question": "What is Node-specific Volume Limits?",
    "answer": "T h i s   p a g e   d e s c r i b e s   t h e   m a x i m u m   n u m b e r   o f   v o l u m e s   t h a t   c a n   b e   a t t a c h e d   t o   a   N o d e   f o r   v a r i o u s   c l o u d   p r o v i d e r s .   C l o u d   p r o v i d e r s   l i k e   G o o g l e ,   A m a z o n ,   a n d   M i c r o s o f t   t y p i c a l l y   h a v e   a   l i m i t   o n   h o w   m a n y   v o l u m e s   c a n   b e   a t t a c h e d   t o   a   N o d e .   I t   i s   i m p o r t a n t   f o r   K u b e r n e t e s   t o   r e s p e c t   t h o s e   l i m i t s .   O t h e r w i s e ,   P o d s   s c h e d u l e d   o n   a   N o d e   c o u l d   g e t   s t u c k   w a i t i n g   f o r   v o l u m e s   t o   a t t a c h .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-limits/",
    "id": "k8s_00387_section_1_7288"
  },
  {
    "question": "What is Kubernetes default limits?",
    "answer": "T h e   K u b e r n e t e s   s c h e d u l e r   h a s   d e f a u l t   l i m i t s   o n   t h e   n u m b e r   o f   v o l u m e s   t h a t   c a n   b e   a t t a c h e d   t o   a   N o d e :",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-limits/",
    "id": "k8s_00387_section_2_7289"
  },
  {
    "question": "What is Dynamic volume limits?",
    "answer": "D y n a m i c   v o l u m e   l i m i t s   a r e   s u p p o r t e d   f o r   f o l l o w i n g   v o l u m e   t y p e s .   A m a z o n   E B S G o o g l e   P e r s i s t e n t   D i s k A z u r e   D i s k C S I   F o r   v o l u m e s   m a n a g e d   b y   i n - t r e e   v o l u m e   p l u g i n s ,   K u b e r n e t e s   a u t o m a t i c a l l y   d e t e r m i n e s   t h e   N o d e   t y p e   a n d   e n f o r c e s   t h e   a p p r o p r i a t e   m a x i m u m   n u m b e r   o f   v o l u m e s   f o r   t h e   n o d e .   F o r   e x a m p l e :   O n   G o o g l e   C o m p u t e   E n g i n e ,   u p   t o   1 2 7   v o l u m e s   c a n   b e   a t t a c h e d   t o   a   n o d e ,   d e p e n d i n g   o n   t h e   n o d e   t y p e . F o r   A m a z o n   E B S   d i s k s   o n   M 5 , C 5 , R 5 , T 3   a n d   Z 1 D   i n s t a n c e   t y p e s ,   K u b e r n e t e s   a l l o w s   o n l y   2 5   v o l u m e s   t o   b e   a t t a c h e d   t o   a   N o d e .   F o r   o t h e r   i n s t a n c e   t y p e s   o n   A m a z o n   E l a s t i c   C o m p u t e   C l o u d   ( E C 2 ) ,   K u b e r n e t e s   a l l o w s   3 9   v o l u m e s   t o   b e   a t t a c h e d   t o   a   N o d e . O n   A z u r e ,   u p   t o   6 4   d i s k s   c a n   b e   a t t a c h e d   t o   a   n o d e ,   d e p e n d i n g   o n   t h e   n o d e   t y p e .   F o r   m o r e   d e t a i l s ,   r e f e r   t o   S i z e s   f o r   v i r t u a l   m a c h i n e s   i n   A z u r e . I f   a   C S I   s t o r a g e   d r i v e r   a d v e r t i s e s   a   m a x i m u m   n u m b e r   o f   v o l u m e s   f o r   a   N o d e   ( u s i n g   N o d e G e t I n f o ) ,   t h e   k u b e - s c h e d u l e r   h o n o r s   t h a t   l i m i t .   R e f e r   t o   t h e   C S I   s p e c i f i c a t i o n s   f o r   d e t a i l s . F o r   v o l u m e s   m a n a g e d   b y   i n - t r e e   p l u g i n s   t h a t   h a v e   b e e n   m ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-limits/",
    "id": "k8s_00387_section_2_7290"
  },
  {
    "question": "What is Mutable CSI Node Allocatable Count?",
    "answer": "C S I   d r i v e r s   c a n   d y n a m i c a l l y   a d j u s t   t h e   m a x i m u m   n u m b e r   o f   v o l u m e s   t h a t   c a n   b e   a t t a c h e d   t o   a   N o d e   a t   r u n t i m e .   T h i s   e n h a n c e s   s c h e d u l i n g   a c c u r a c y   a n d   r e d u c e s   p o d   s c h e d u l i n g   f a i l u r e s   d u e   t o   c h a n g e s   i n   r e s o u r c e   a v a i l a b i l i t y .   T o   u s e   t h i s   f e a t u r e ,   y o u   m u s t   e n a b l e   t h e   M u t a b l e C S I N o d e A l l o c a t a b l e C o u n t   f e a t u r e   g a t e   o n   t h e   f o l l o w i n g   c o m p o n e n t s :   k u b e - a p i s e r v e r k u b e l e t",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-limits/",
    "id": "k8s_00387_section_3_7291"
  },
  {
    "question": "What is Periodic Updates?",
    "answer": "W h e n   e n a b l e d ,   C S I   d r i v e r s   c a n   r e q u e s t   p e r i o d i c   u p d a t e s   t o   t h e i r   v o l u m e   l i m i t s   b y   s e t t i n g   t h e   n o d e A l l o c a t a b l e U p d a t e P e r i o d S e c o n d s   f i e l d   i n   t h e   C S I D r i v e r   s p e c i f i c a t i o n .   F o r   e x a m p l e :   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   C S I D r i v e r   m e t a d a t a :   n a m e :   h o s t p a t h . c s i . k 8 s . i o   s p e c :   n o d e A l l o c a t a b l e U p d a t e P e r i o d S e c o n d s :   6 0   K u b e l e t   w i l l   p e r i o d i c a l l y   c a l l   t h e   c o r r e s p o n d i n g   C S I   d r i v e r ’ s   N o d e G e t I n f o   e n d p o i n t   t o   r e f r e s h   t h e   m a x i m u m   n u m b e r   o f   a t t a c h a b l e   v o l u m e s ,   u s i n g   t h e   i n t e r v a l   s p e c i f i e d   i n   n o d e A l l o c a t a b l e U p d a t e P e r i o d S e c o n d s .   T h e   m i n i m u m   a l l o w e d   v a l u e   f o r   t h i s   f i e l d   i s   1 0   s e c o n d s .   I f   a   v o l u m e   a t t a c h m e n t   o p e r a t i o n   f a i l s   w i t h   a   R e s o u r c e E x h a u s t e d   e r r o r   ( g R P C   c o d e   8 ) ,   K u b e r n e t e s   t r i g g e r s   a n   i m m e d i a t e   u p d a t e   t o   t h e   a l l o c a t a b l e   v o l u m e   c o u n t   f o r   t h a t   N o d e .   A d d i t i o n a l l y ,   k u b e l e t   m a r k s   a f f e c t e d   p o d s   a s   F a i l e d ,   a l l o w i n g   t h e i r   c o n t r o l l e r s   t o   h a n d l e   r e c r e a t i o n .   T h i s   p r e v e n t s   p o d s   f r o m   g e t t i n g   s t u c k   i n d e f i n i t e l y   i n   t h e   C o n t a i n e r C r e a t i n g   s t a t e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-limits/",
    "id": "k8s_00387_section_4_7292"
  },
  {
    "question": "What is Configure the Aggregation Layer?",
    "answer": "Configure the Aggregation LayerConfiguring the aggregation layer allows the Kubernetes apiserver to be extended with additional APIs, which are not part of the core Kubernetes APIs.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Note:There are a few setup requirements for getting the aggregation layer working in your environment to support mutual TLS auth between the proxy and extension apiservers. Kubernetes and the kube-apiserver have multiple CAs, so make sure that the proxy is signed by the aggregation layer CA and not by something else, like the Kubernetes general CA.Caution:Reusing the same CA for different client types can negatively impact the cluster's ability to function. For more information, see CA Reusage and Conflicts.Authentication FlowUnlike Custom Resource Definitions (CRDs), the Aggregation API involves another server - your Extension apiserver - in addition to the standard Kubernetes apiserver. The Kubernetes apiserver will need to communicate with your extension apiserver, and your extension apiserver will need to communicate with the Kubernetes apiserver. In order for this communication to be secured, the Kubernetes apiserver uses x509 certificates to authenticate itself to the extension apiserver.This section describes how the authentication and authorization flows work, and how to configure them.The high-level flow is as follows:Kubernetes apiserver: authenticate the requesting user and authorize their rights to the requested API path.Kubernetes apiserver: proxy the request to the extension apiserverExtension apiserver: authenticate the request from the Kubernetes apiserverExtension apiserver: authorize the request from the original userExtension apiserver: executeThe rest of this section describes these steps in detail.The flow can be seen in the following diagram.The source for the above swimlanes can be found in the source of this document.Kubernetes Apiserver Authentication and AuthorizationA request to an API path that is served by an extension apiserver begins the same way as all API requests: communication to the Kubernetes apiserver. This path already has been registered with the Kubernetes apiserver by the extension apiserver.The user communicates with the Kubernetes apiserver, requesting access to the path. The Kubernetes apiserver uses standard authentication and authorization configured with the Kubernetes apiserver to authenticate the user and authorize access to the specific path.For an overview of authenticating to a Kubernetes cluster, see \"Authenticating to a Cluster\". For an over",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-aggregation-layer/",
    "id": "k8s_00388_qa_7293"
  },
  {
    "question": "How does Configure the Aggregation Layer work?",
    "answer": "Configure the Aggregation LayerConfiguring the aggregation layer allows the Kubernetes apiserver to be extended with additional APIs, which are not part of the core Kubernetes APIs.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Note:There are a few setup requirements for getting the aggregation layer working in your environment to support mutual TLS auth between the proxy and extension apiservers. Kubernetes and the kube-apiserver have multiple CAs, so make sure that the proxy is signed by the aggregation layer CA and not by something else, like the Kubernetes general CA.Caution:Reusing the same CA for different client types can negatively impact the cluster's ability to function. For more information, see CA Reusage and Conflicts.Authentication FlowUnlike Custom Resource Definitions (CRDs), the Aggregation API involves another server - your Extension apiserver - in addition to the standard Kubernetes apiserver. The Kubernetes apiserver will need to communicate with your extension apiserver, and your extension apiserver will need to communicate with the Kubernetes apiserver. In order for this communication to be secured, the Kubernetes apiserver uses x509 certificates to authenticate itself to the extension apiserver.This section describes how the authentication and authorization flows work, and how to configure them.The high-level flow is as follows:Kubernetes apiserver: authenticate the requesting user and authorize their rights to the requested API path.Kubernetes apiserver: proxy the request to the extension apiserverExtension apiserver: authenticate the request from the Kubernetes apiserverExtension apiserver: authorize the request from the original userExtension apiserver: executeThe rest of this section describes these steps in detail.The flow can be seen in the following diagram.The source for the above swimlanes can be found in the source of this document.Kubernetes Apiserver Authentication and AuthorizationA request to an API path that is served by an extension apiserver begins the same way as all API requests: communication to the Kubernetes apiserver. This path already has been registered with the Kubernetes apiserver by the extension apiserver.The user communicates with the Kubernetes apiserver, requesting access to the path. The Kubernetes apiserver uses standard authentication and authorization configured with the Kubernetes apiserver to authenticate the user and authorize access to the specific path.For an overview of authenticating to a Kubernetes cluster, see \"Authenticating to a Cluster\". For an over",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-aggregation-layer/",
    "id": "k8s_00388_qa_7294"
  },
  {
    "question": "When would you use Configure the Aggregation Layer?",
    "answer": "Configure the Aggregation LayerConfiguring the aggregation layer allows the Kubernetes apiserver to be extended with additional APIs, which are not part of the core Kubernetes APIs.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Note:There are a few setup requirements for getting the aggregation layer working in your environment to support mutual TLS auth between the proxy and extension apiservers. Kubernetes and the kube-apiserver have multiple CAs, so make sure that the proxy is signed by the aggregation layer CA and not by something else, like the Kubernetes general CA.Caution:Reusing the same CA for different client types can negatively impact the cluster's ability to function. For more information, see CA Reusage and Conflicts.Authentication FlowUnlike Custom Resource Definitions (CRDs), the Aggregation API involves another server - your Extension apiserver - in addition to the standard Kubernetes apiserver. The Kubernetes apiserver will need to communicate with your extension apiserver, and your extension apiserver will need to communicate with the Kubernetes apiserver. In order for this communication to be secured, the Kubernetes apiserver uses x509 certificates to authenticate itself to the extension apiserver.This section describes how the authentication and authorization flows work, and how to configure them.The high-level flow is as follows:Kubernetes apiserver: authenticate the requesting user and authorize their rights to the requested API path.Kubernetes apiserver: proxy the request to the extension apiserverExtension apiserver: authenticate the request from the Kubernetes apiserverExtension apiserver: authorize the request from the original userExtension apiserver: executeThe rest of this section describes these steps in detail.The flow can be seen in the following diagram.The source for the above swimlanes can be found in the source of this document.Kubernetes Apiserver Authentication and AuthorizationA request to an API path that is served by an extension apiserver begins the same way as all API requests: communication to the Kubernetes apiserver. This path already has been registered with the Kubernetes apiserver by the extension apiserver.The user communicates with the Kubernetes apiserver, requesting access to the path. The Kubernetes apiserver uses standard authentication and authorization configured with the Kubernetes apiserver to authenticate the user and authorize access to the specific path.For an overview of authenticating to a Kubernetes cluster, see \"Authenticating to a Cluster\". For an over",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-aggregation-layer/",
    "id": "k8s_00388_qa_7295"
  },
  {
    "question": "What are the benefits of Configure the Aggregation Layer?",
    "answer": "Configure the Aggregation LayerConfiguring the aggregation layer allows the Kubernetes apiserver to be extended with additional APIs, which are not part of the core Kubernetes APIs.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Note:There are a few setup requirements for getting the aggregation layer working in your environment to support mutual TLS auth between the proxy and extension apiservers. Kubernetes and the kube-apiserver have multiple CAs, so make sure that the proxy is signed by the aggregation layer CA and not by something else, like the Kubernetes general CA.Caution:Reusing the same CA for different client types can negatively impact the cluster's ability to function. For more information, see CA Reusage and Conflicts.Authentication FlowUnlike Custom Resource Definitions (CRDs), the Aggregation API involves another server - your Extension apiserver - in addition to the standard Kubernetes apiserver. The Kubernetes apiserver will need to communicate with your extension apiserver, and your extension apiserver will need to communicate with the Kubernetes apiserver. In order for this communication to be secured, the Kubernetes apiserver uses x509 certificates to authenticate itself to the extension apiserver.This section describes how the authentication and authorization flows work, and how to configure them.The high-level flow is as follows:Kubernetes apiserver: authenticate the requesting user and authorize their rights to the requested API path.Kubernetes apiserver: proxy the request to the extension apiserverExtension apiserver: authenticate the request from the Kubernetes apiserverExtension apiserver: authorize the request from the original userExtension apiserver: executeThe rest of this section describes these steps in detail.The flow can be seen in the following diagram.The source for the above swimlanes can be found in the source of this document.Kubernetes Apiserver Authentication and AuthorizationA request to an API path that is served by an extension apiserver begins the same way as all API requests: communication to the Kubernetes apiserver. This path already has been registered with the Kubernetes apiserver by the extension apiserver.The user communicates with the Kubernetes apiserver, requesting access to the path. The Kubernetes apiserver uses standard authentication and authorization configured with the Kubernetes apiserver to authenticate the user and authorize access to the specific path.For an overview of authenticating to a Kubernetes cluster, see \"Authenticating to a Cluster\". For an over",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-aggregation-layer/",
    "id": "k8s_00388_qa_7296"
  },
  {
    "question": "What is Configure the Aggregation Layer?",
    "answer": "C o n f i g u r i n g   t h e   a g g r e g a t i o n   l a y e r   a l l o w s   t h e   K u b e r n e t e s   a p i s e r v e r   t o   b e   e x t e n d e d   w i t h   a d d i t i o n a l   A P I s ,   w h i c h   a r e   n o t   p a r t   o f   t h e   c o r e   K u b e r n e t e s   A P I s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-aggregation-layer/",
    "id": "k8s_00388_section_1_7297"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-aggregation-layer/",
    "id": "k8s_00388_section_2_7298"
  },
  {
    "question": "What is Authentication Flow?",
    "answer": "U n l i k e   C u s t o m   R e s o u r c e   D e f i n i t i o n s   ( C R D s ) ,   t h e   A g g r e g a t i o n   A P I   i n v o l v e s   a n o t h e r   s e r v e r   -   y o u r   E x t e n s i o n   a p i s e r v e r   -   i n   a d d i t i o n   t o   t h e   s t a n d a r d   K u b e r n e t e s   a p i s e r v e r .   T h e   K u b e r n e t e s   a p i s e r v e r   w i l l   n e e d   t o   c o m m u n i c a t e   w i t h   y o u r   e x t e n s i o n   a p i s e r v e r ,   a n d   y o u r   e x t e n s i o n   a p i s e r v e r   w i l l   n e e d   t o   c o m m u n i c a t e   w i t h   t h e   K u b e r n e t e s   a p i s e r v e r .   I n   o r d e r   f o r   t h i s   c o m m u n i c a t i o n   t o   b e   s e c u r e d ,   t h e   K u b e r n e t e s   a p i s e r v e r   u s e s   x 5 0 9   c e r t i f i c a t e s   t o   a u t h e n t i c a t e   i t s e l f   t o   t h e   e x t e n s i o n   a p i s e r v e r .   T h i s   s e c t i o n   d e s c r i b e s   h o w   t h e   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n   f l o w s   w o r k ,   a n d   h o w   t o   c o n f i g u r e   t h e m .   T h e   h i g h - l e v e l   f l o w   i s   a s   f o l l o w s :   K u b e r n e t e s   a p i s e r v e r :   a u t h e n t i c a t e   t h e   r e q u e s t i n g   u s e r   a n d   a u t h o r i z e   t h e i r   r i g h t s   t o   t h e   r e q u e s t e d   A P I   p a t h . K u b e r n e t e s   a p i s e r v e r :   p r o x y   t h e   r e q u e s t   t o   t h e   e x t e n s i o n   a p i s e r v e r E x t e n s i o n   a p i s e r v e r :   a u t h e n t i c a t e   t h e   r e q u e s t   f r o m   t h e   K u b e r n e t e s   a p i s e r v e r E x t e n s i o n   a p i s e r v e r :   a u t h o r i z e   t h e   r e q u e s t   f r o m   t h e   o r i g i n a l   u s e r E x t e n s i o n   a p i s e r v e r :   e x e c u t e   T h e   r e s t   o f   t h i s   s e c t i o n   d e s c r i b e s   t h e s e   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-aggregation-layer/",
    "id": "k8s_00388_section_2_7299"
  },
  {
    "question": "What is Kubernetes Apiserver Authentication and Authorization?",
    "answer": "A   r e q u e s t   t o   a n   A P I   p a t h   t h a t   i s   s e r v e d   b y   a n   e x t e n s i o n   a p i s e r v e r   b e g i n s   t h e   s a m e   w a y   a s   a l l   A P I   r e q u e s t s :   c o m m u n i c a t i o n   t o   t h e   K u b e r n e t e s   a p i s e r v e r .   T h i s   p a t h   a l r e a d y   h a s   b e e n   r e g i s t e r e d   w i t h   t h e   K u b e r n e t e s   a p i s e r v e r   b y   t h e   e x t e n s i o n   a p i s e r v e r .   T h e   u s e r   c o m m u n i c a t e s   w i t h   t h e   K u b e r n e t e s   a p i s e r v e r ,   r e q u e s t i n g   a c c e s s   t o   t h e   p a t h .   T h e   K u b e r n e t e s   a p i s e r v e r   u s e s   s t a n d a r d   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n   c o n f i g u r e d   w i t h   t h e   K u b e r n e t e s   a p i s e r v e r   t o   a u t h e n t i c a t e   t h e   u s e r   a n d   a u t h o r i z e   a c c e s s   t o   t h e   s p e c i f i c   p a t h .   F o r   a n   o v e r v i e w   o f   a u t h e n t i c a t i n g   t o   a   K u b e r n e t e s   c l u s t e r ,   s e e   \" A u t h e n t i c a t i n g   t o   a   C l u s t e r \" .   F o r   a n   o v e r v i e w   o f   a u t h o r i z a t i o n   o f   a c c e s s   t o   K u b e r n e t e s   c l u s t e r   r e s o u r c e s ,   s e e   \" A u t h o r i z a t i o n   O v e r v i e w \" .   E v e r y t h i n g   t o   t h i s   p o i n t   h a s   b e e n   s t a n d a r d   K u b e r n e t e s   A P I   r e q u e s t s ,   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n .   T h e   K u b e r n e t e s   a p i s e r v e r   n o w   i s   p r e p a r e d   t o   s e n d   t h e   r e q u e s t   t o   t h e   e x t e n s i o n   a p i s e r v e r .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-aggregation-layer/",
    "id": "k8s_00388_section_3_7300"
  },
  {
    "question": "What is Kubernetes Apiserver Proxies the Request?",
    "answer": "T h e   K u b e r n e t e s   a p i s e r v e r   n o w   w i l l   s e n d ,   o r   p r o x y ,   t h e   r e q u e s t   t o   t h e   e x t e n s i o n   a p i s e r v e r   t h a t   r e g i s t e r e d   t o   h a n d l e   t h e   r e q u e s t .   I n   o r d e r   t o   d o   s o ,   i t   n e e d s   t o   k n o w   s e v e r a l   t h i n g s :   H o w   s h o u l d   t h e   K u b e r n e t e s   a p i s e r v e r   a u t h e n t i c a t e   t o   t h e   e x t e n s i o n   a p i s e r v e r ,   i n f o r m i n g   t h e   e x t e n s i o n   a p i s e r v e r   t h a t   t h e   r e q u e s t ,   w h i c h   c o m e s   o v e r   t h e   n e t w o r k ,   i s   c o m i n g   f r o m   a   v a l i d   K u b e r n e t e s   a p i s e r v e r ? H o w   s h o u l d   t h e   K u b e r n e t e s   a p i s e r v e r   i n f o r m   t h e   e x t e n s i o n   a p i s e r v e r   o f   t h e   u s e r n a m e   a n d   g r o u p   f o r   w h i c h   t h e   o r i g i n a l   r e q u e s t   w a s   a u t h e n t i c a t e d ?   I n   o r d e r   t o   p r o v i d e   f o r   t h e s e   t w o ,   y o u   m u s t   c o n f i g u r e   t h e   K u b e r n e t e s   a p i s e r v e r   u s i n g   s e v e r a l   f l a g s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-aggregation-layer/",
    "id": "k8s_00388_section_3_7301"
  },
  {
    "question": "What is Kubernetes Apiserver Client Authentication?",
    "answer": "T h e   K u b e r n e t e s   a p i s e r v e r   c o n n e c t s   t o   t h e   e x t e n s i o n   a p i s e r v e r   o v e r   T L S ,   a u t h e n t i c a t i n g   i t s e l f   u s i n g   a   c l i e n t   c e r t i f i c a t e .   Y o u   m u s t   p r o v i d e   t h e   f o l l o w i n g   t o   t h e   K u b e r n e t e s   a p i s e r v e r   u p o n   s t a r t u p ,   u s i n g   t h e   p r o v i d e d   f l a g s :   p r i v a t e   k e y   f i l e   v i a   - - p r o x y - c l i e n t - k e y - f i l e s i g n e d   c l i e n t   c e r t i f i c a t e   f i l e   v i a   - - p r o x y - c l i e n t - c e r t - f i l e c e r t i f i c a t e   o f   t h e   C A   t h a t   s i g n e d   t h e   c l i e n t   c e r t i f i c a t e   f i l e   v i a   - - r e q u e s t h e a d e r - c l i e n t - c a - f i l e v a l i d   C o m m o n   N a m e   v a l u e s   ( C N s )   i n   t h e   s i g n e d   c l i e n t   c e r t i f i c a t e   v i a   - - r e q u e s t h e a d e r - a l l o w e d - n a m e s   T h e   K u b e r n e t e s   a p i s e r v e r   w i l l   u s e   t h e   f i l e s   i n d i c a t e d   b y   - - p r o x y - c l i e n t - * - f i l e   t o   a u t h e n t i c a t e   t o   t h e   e x t e n s i o n   a p i s e r v e r .   I n   o r d e r   f o r   t h e   r e q u e s t   t o   b e   c o n s i d e r e d   v a l i d   b y   a   c o m p l i a n t   e x t e n s i o n   a p i s e r v e r ,   t h e   f o l l o w i n g   c o n d i t i o n s   m u s t   b e   m e t :   T h e   c o n n e c t i o n   m u s t   b e   m a d e   u s i n g   a   c l i e n t   c e r t i f i c a t e   t h a t   i s   s i g n e d   b y   t h e   C A   w h o s e   c e r t i f i c a t e   i s   i n   - - r e q u e s t h e a d e r - c l i e n t - c a - f i l e . T h e   c o n n e c t i o n   m u s t   b e   m a d e   u s i n g   a   c l i e n t   c e r t i f i c a t e   w h o s e   C N   i s   o n e   o f   t h o s e   l i s t e d   i n   - - r e q u e s t h e a d ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-aggregation-layer/",
    "id": "k8s_00388_section_4_7302"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   s t a r t e d   w i t h   t h e s e   o p t i o n s ,   t h e   K u b e r n e t e s   a p i s e r v e r   w i l l :   U s e   t h e m   t o   a u t h e n t i c a t e   t o   t h e   e x t e n s i o n   a p i s e r v e r . C r e a t e   a   c o n f i g m a p   i n   t h e   k u b e - s y s t e m   n a m e s p a c e   c a l l e d   e x t e n s i o n - a p i s e r v e r - a u t h e n t i c a t i o n ,   i n   w h i c h   i t   w i l l   p l a c e   t h e   C A   c e r t i f i c a t e   a n d   t h e   a l l o w e d   C N s .   T h e s e   i n   t u r n   c a n   b e   r e t r i e v e d   b y   e x t e n s i o n   a p i s e r v e r s   t o   v a l i d a t e   r e q u e s t s .   N o t e   t h a t   t h e   s a m e   c l i e n t   c e r t i f i c a t e   i s   u s e d   b y   t h e   K u b e r n e t e s   a p i s e r v e r   t o   a u t h e n t i c a t e   a g a i n s t   a l l   e x t e n s i o n   a p i s e r v e r s .   I t   d o e s   n o t   c r e a t e   a   c l i e n t   c e r t i f i c a t e   p e r   e x t e n s i o n   a p i s e r v e r ,   b u t   r a t h e r   a   s i n g l e   o n e   t o   a u t h e n t i c a t e   a s   t h e   K u b e r n e t e s   a p i s e r v e r .   T h i s   s a m e   o n e   i s   r e u s e d   f o r   a l l   e x t e n s i o n   a p i s e r v e r   r e q u e s t s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-aggregation-layer/",
    "id": "k8s_00388_section_4_7303"
  },
  {
    "question": "What is Original Request Username and Group?",
    "answer": "W h e n   t h e   K u b e r n e t e s   a p i s e r v e r   p r o x i e s   t h e   r e q u e s t   t o   t h e   e x t e n s i o n   a p i s e r v e r ,   i t   i n f o r m s   t h e   e x t e n s i o n   a p i s e r v e r   o f   t h e   u s e r n a m e   a n d   g r o u p   w i t h   w h i c h   t h e   o r i g i n a l   r e q u e s t   s u c c e s s f u l l y   a u t h e n t i c a t e d .   I t   p r o v i d e s   t h e s e   i n   h t t p   h e a d e r s   o f   i t s   p r o x i e d   r e q u e s t .   Y o u   m u s t   i n f o r m   t h e   K u b e r n e t e s   a p i s e r v e r   o f   t h e   n a m e s   o f   t h e   h e a d e r s   t o   b e   u s e d .   t h e   h e a d e r   i n   w h i c h   t o   s t o r e   t h e   u s e r n a m e   v i a   - - r e q u e s t h e a d e r - u s e r n a m e - h e a d e r s t h e   h e a d e r   i n   w h i c h   t o   s t o r e   t h e   g r o u p   v i a   - - r e q u e s t h e a d e r - g r o u p - h e a d e r s t h e   p r e f i x   t o   a p p e n d   t o   a l l   e x t r a   h e a d e r s   v i a   - - r e q u e s t h e a d e r - e x t r a - h e a d e r s - p r e f i x   T h e s e   h e a d e r   n a m e s   a r e   a l s o   p l a c e d   i n   t h e   e x t e n s i o n - a p i s e r v e r - a u t h e n t i c a t i o n   c o n f i g m a p ,   s o   t h e y   c a n   b e   r e t r i e v e d   a n d   u s e d   b y   e x t e n s i o n   a p i s e r v e r s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-aggregation-layer/",
    "id": "k8s_00388_section_4_7304"
  },
  {
    "question": "What is Extension Apiserver Authenticates the Request?",
    "answer": "T h e   e x t e n s i o n   a p i s e r v e r ,   u p o n   r e c e i v i n g   a   p r o x i e d   r e q u e s t   f r o m   t h e   K u b e r n e t e s   a p i s e r v e r ,   m u s t   v a l i d a t e   t h a t   t h e   r e q u e s t   a c t u a l l y   d i d   c o m e   f r o m   a   v a l i d   a u t h e n t i c a t i n g   p r o x y ,   w h i c h   r o l e   t h e   K u b e r n e t e s   a p i s e r v e r   i s   f u l f i l l i n g .   T h e   e x t e n s i o n   a p i s e r v e r   v a l i d a t e s   i t   v i a :   R e t r i e v e   t h e   f o l l o w i n g   f r o m   t h e   c o n f i g m a p   i n   k u b e - s y s t e m ,   a s   d e s c r i b e d   a b o v e : C l i e n t   C A   c e r t i f i c a t e L i s t   o f   a l l o w e d   n a m e s   ( C N s ) H e a d e r   n a m e s   f o r   u s e r n a m e ,   g r o u p   a n d   e x t r a   i n f o C h e c k   t h a t   t h e   T L S   c o n n e c t i o n   w a s   a u t h e n t i c a t e d   u s i n g   a   c l i e n t   c e r t i f i c a t e   w h i c h : W a s   s i g n e d   b y   t h e   C A   w h o s e   c e r t i f i c a t e   m a t c h e s   t h e   r e t r i e v e d   C A   c e r t i f i c a t e . H a s   a   C N   i n   t h e   l i s t   o f   a l l o w e d   C N s ,   u n l e s s   t h e   l i s t   i s   b l a n k ,   i n   w h i c h   c a s e   a l l   C N s   a r e   a l l o w e d . E x t r a c t   t h e   u s e r n a m e   a n d   g r o u p   f r o m   t h e   a p p r o p r i a t e   h e a d e r s   C l i e n t   C A   c e r t i f i c a t e L i s t   o f   a l l o w e d   n a m e s   ( C N s ) H e a d e r   n a m e s   f o r   u s e r n a m e ,   g r o u p   a n d   e x t r a   i n f o   W a s   s i g n e d   b y   t h e   C A   w h o s e   c e r t i f i c a t e   m a t c h e s   t h e   r e t r i e v e d   C A   c e r t i f i c a t e . H a s   a   C N   i n   t h e   l i s t   o f   a l l o w e d   C N s ,   u n l e s s   t h e   l i s t   i s   b l a n k ,   i n   w h i c h   c a s e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-aggregation-layer/",
    "id": "k8s_00388_section_3_7305"
  },
  {
    "question": "What is Extension Apiserver Authorizes the Request?",
    "answer": "T h e   e x t e n s i o n   a p i s e r v e r   n o w   c a n   v a l i d a t e   t h a t   t h e   u s e r / g r o u p   r e t r i e v e d   f r o m   t h e   h e a d e r s   a r e   a u t h o r i z e d   t o   e x e c u t e   t h e   g i v e n   r e q u e s t .   I t   d o e s   s o   b y   s e n d i n g   a   s t a n d a r d   S u b j e c t A c c e s s R e v i e w   r e q u e s t   t o   t h e   K u b e r n e t e s   a p i s e r v e r .   I n   o r d e r   f o r   t h e   e x t e n s i o n   a p i s e r v e r   t o   b e   a u t h o r i z e d   i t s e l f   t o   s u b m i t   t h e   S u b j e c t A c c e s s R e v i e w   r e q u e s t   t o   t h e   K u b e r n e t e s   a p i s e r v e r ,   i t   n e e d s   t h e   c o r r e c t   p e r m i s s i o n s .   K u b e r n e t e s   i n c l u d e s   a   d e f a u l t   C l u s t e r R o l e   n a m e d   s y s t e m : a u t h - d e l e g a t o r   t h a t   h a s   t h e   a p p r o p r i a t e   p e r m i s s i o n s .   I t   c a n   b e   g r a n t e d   t o   t h e   e x t e n s i o n   a p i s e r v e r ' s   s e r v i c e   a c c o u n t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-aggregation-layer/",
    "id": "k8s_00388_section_3_7306"
  },
  {
    "question": "What is Extension Apiserver Executes?",
    "answer": "I f   t h e   S u b j e c t A c c e s s R e v i e w   p a s s e s ,   t h e   e x t e n s i o n   a p i s e r v e r   e x e c u t e s   t h e   r e q u e s t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-aggregation-layer/",
    "id": "k8s_00388_section_3_7307"
  },
  {
    "question": "What is Enable Kubernetes Apiserver flags?",
    "answer": "E n a b l e   t h e   a g g r e g a t i o n   l a y e r   v i a   t h e   f o l l o w i n g   k u b e - a p i s e r v e r   f l a g s .   T h e y   m a y   h a v e   a l r e a d y   b e e n   t a k e n   c a r e   o f   b y   y o u r   p r o v i d e r .   - - r e q u e s t h e a d e r - c l i e n t - c a - f i l e = < p a t h   t o   a g g r e g a t o r   C A   c e r t >   - - r e q u e s t h e a d e r - a l l o w e d - n a m e s = f r o n t - p r o x y - c l i e n t   - - r e q u e s t h e a d e r - e x t r a - h e a d e r s - p r e f i x = X - R e m o t e - E x t r a -   - - r e q u e s t h e a d e r - g r o u p - h e a d e r s = X - R e m o t e - G r o u p   - - r e q u e s t h e a d e r - u s e r n a m e - h e a d e r s = X - R e m o t e - U s e r   - - p r o x y - c l i e n t - c e r t - f i l e = < p a t h   t o   a g g r e g a t o r   p r o x y   c e r t >   - - p r o x y - c l i e n t - k e y - f i l e = < p a t h   t o   a g g r e g a t o r   p r o x y   k e y >",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-aggregation-layer/",
    "id": "k8s_00388_section_2_7308"
  },
  {
    "question": "What is CA Reusage and Conflicts?",
    "answer": "T h e   K u b e r n e t e s   a p i s e r v e r   h a s   t w o   c l i e n t   C A   o p t i o n s :   - - c l i e n t - c a - f i l e - - r e q u e s t h e a d e r - c l i e n t - c a - f i l e   E a c h   o f   t h e s e   f u n c t i o n s   i n d e p e n d e n t l y   a n d   c a n   c o n f l i c t   w i t h   e a c h   o t h e r ,   i f   n o t   u s e d   c o r r e c t l y .   - - c l i e n t - c a - f i l e :   W h e n   a   r e q u e s t   a r r i v e s   t o   t h e   K u b e r n e t e s   a p i s e r v e r ,   i f   t h i s   o p t i o n   i s   e n a b l e d ,   t h e   K u b e r n e t e s   a p i s e r v e r   c h e c k s   t h e   c e r t i f i c a t e   o f   t h e   r e q u e s t .   I f   i t   i s   s i g n e d   b y   o n e   o f   t h e   C A   c e r t i f i c a t e s   i n   t h e   f i l e   r e f e r e n c e d   b y   - - c l i e n t - c a - f i l e ,   t h e n   t h e   r e q u e s t   i s   t r e a t e d   a s   a   l e g i t i m a t e   r e q u e s t ,   a n d   t h e   u s e r   i s   t h e   v a l u e   o f   t h e   c o m m o n   n a m e   C N = ,   w h i l e   t h e   g r o u p   i s   t h e   o r g a n i z a t i o n   O = .   S e e   t h e   d o c u m e n t a t i o n   o n   T L S   a u t h e n t i c a t i o n . - - r e q u e s t h e a d e r - c l i e n t - c a - f i l e :   W h e n   a   r e q u e s t   a r r i v e s   t o   t h e   K u b e r n e t e s   a p i s e r v e r ,   i f   t h i s   o p t i o n   i s   e n a b l e d ,   t h e   K u b e r n e t e s   a p i s e r v e r   c h e c k s   t h e   c e r t i f i c a t e   o f   t h e   r e q u e s t .   I f   i t   i s   s i g n e d   b y   o n e   o f   t h e   C A   c e r t i f i c a t e s   i n   t h e   f i l e   r e f e r e n c e   b y   - - r e q u e s t h e a d e r - c l i e n t - c a - f i l e ,   t h e n   t h e   r e q u e s t   i s   t r e a t e d   a s   a   p o t e n t i a l l y   l e g i t i m a t e   r e q u e s t .   T h e   K u b e r n e t e s   a p i s e r v e r   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-aggregation-layer/",
    "id": "k8s_00388_section_3_7309"
  },
  {
    "question": "What is Warning:?",
    "answer": "I f   y o u   a r e   n o t   r u n n i n g   k u b e - p r o x y   o n   a   h o s t   r u n n i n g   t h e   A P I   s e r v e r ,   t h e n   y o u   m u s t   m a k e   s u r e   t h a t   t h e   s y s t e m   i s   e n a b l e d   w i t h   t h e   f o l l o w i n g   k u b e - a p i s e r v e r   f l a g :   - - e n a b l e - a g g r e g a t o r - r o u t i n g = t r u e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-aggregation-layer/",
    "id": "k8s_00388_section_4_7310"
  },
  {
    "question": "What is Register APIService objects?",
    "answer": "Y o u   c a n   d y n a m i c a l l y   c o n f i g u r e   w h a t   c l i e n t   r e q u e s t s   a r e   p r o x i e d   t o   e x t e n s i o n   a p i s e r v e r .   T h e   f o l l o w i n g   i s   a n   e x a m p l e   r e g i s t r a t i o n :   a p i V e r s i o n :   a p i r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   A P I S e r v i c e   m e t a d a t a :   n a m e :   < n a m e   o f   t h e   r e g i s t r a t i o n   o b j e c t >   s p e c :   g r o u p :   < A P I   g r o u p   n a m e   t h i s   e x t e n s i o n   a p i s e r v e r   h o s t s >   v e r s i o n :   < A P I   v e r s i o n   t h i s   e x t e n s i o n   a p i s e r v e r   h o s t s >   g r o u p P r i o r i t y M i n i m u m :   < p r i o r i t y   t h i s   A P I S e r v i c e   f o r   t h i s   g r o u p ,   s e e   A P I   d o c u m e n t a t i o n >   v e r s i o n P r i o r i t y :   < p r i o r i t i z e s   o r d e r i n g   o f   t h i s   v e r s i o n   w i t h i n   a   g r o u p ,   s e e   A P I   d o c u m e n t a t i o n >   s e r v i c e :   n a m e s p a c e :   < n a m e s p a c e   o f   t h e   e x t e n s i o n   a p i s e r v e r   s e r v i c e >   n a m e :   < n a m e   o f   t h e   e x t e n s i o n   a p i s e r v e r   s e r v i c e >   c a B u n d l e :   < p e m   e n c o d e d   c a   c e r t   t h a t   s i g n s   t h e   s e r v e r   c e r t   u s e d   b y   t h e   w e b h o o k >   T h e   n a m e   o f   a n   A P I S e r v i c e   o b j e c t   m u s t   b e   a   v a l i d   p a t h   s e g m e n t   n a m e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-aggregation-layer/",
    "id": "k8s_00388_section_3_7311"
  },
  {
    "question": "What is Contacting the extension apiserver?",
    "answer": "O n c e   t h e   K u b e r n e t e s   a p i s e r v e r   h a s   d e t e r m i n e d   a   r e q u e s t   s h o u l d   b e   s e n t   t o   a n   e x t e n s i o n   a p i s e r v e r ,   i t   n e e d s   t o   k n o w   h o w   t o   c o n t a c t   i t .   T h e   s e r v i c e   s t a n z a   i s   a   r e f e r e n c e   t o   t h e   s e r v i c e   f o r   a n   e x t e n s i o n   a p i s e r v e r .   T h e   s e r v i c e   n a m e s p a c e   a n d   n a m e   a r e   r e q u i r e d .   T h e   p o r t   i s   o p t i o n a l   a n d   d e f a u l t s   t o   4 4 3 .   H e r e   i s   a n   e x a m p l e   o f   a n   e x t e n s i o n   a p i s e r v e r   t h a t   i s   c o n f i g u r e d   t o   b e   c a l l e d   o n   p o r t   \" 1 2 3 4 \" ,   a n d   t o   v e r i f y   t h e   T L S   c o n n e c t i o n   a g a i n s t   t h e   S e r v e r N a m e   m y - s e r v i c e - n a m e . m y - s e r v i c e - n a m e s p a c e . s v c   u s i n g   a   c u s t o m   C A   b u n d l e .   a p i V e r s i o n :   a p i r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   A P I S e r v i c e   . . .   s p e c :   . . .   s e r v i c e :   n a m e s p a c e :   m y - s e r v i c e - n a m e s p a c e   n a m e :   m y - s e r v i c e - n a m e   p o r t :   1 2 3 4   c a B u n d l e :   \" C i 0 t L S 0 t Q k . . . < b a s e 6 4 - e n c o d e d   P E M   b u n d l e > . . . t L S 0 K \"   . . .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-aggregation-layer/",
    "id": "k8s_00388_section_4_7312"
  },
  {
    "question": "What is What's next?",
    "answer": "S e t   u p   a n   e x t e n s i o n   a p i - s e r v e r   t o   w o r k   w i t h   t h e   a g g r e g a t i o n   l a y e r . F o r   a   h i g h   l e v e l   o v e r v i e w ,   s e e   E x t e n d i n g   t h e   K u b e r n e t e s   A P I   w i t h   t h e   a g g r e g a t i o n   l a y e r . L e a r n   h o w   t o   E x t e n d   t h e   K u b e r n e t e s   A P I   U s i n g   C u s t o m   R e s o u r c e   D e f i n i t i o n s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/configure-aggregation-layer/",
    "id": "k8s_00388_section_2_7313"
  },
  {
    "question": "What is GETTING STARTED?",
    "answer": "Kubectl Reference Docs GETTING STARTEDcreateclusterroleclusterrolebindingconfigmapcronjobdeploymentingressjobnamespacepoddisruptionbudgetpriorityclassquotarolerolebindingsecretsecret docker-registrysecret genericsecret tlsserviceservice clusteripservice externalnameservice loadbalancerservice nodeportserviceaccountgetrunexposedeleteAPP MANAGEMENTapplyedit-last-appliedset-last-appliedview-last-appliedannotateautoscaledebugdiffeditkustomizelabelpatchreplacerollouthistorypauserestartresumestatusundoscalesetenvimageresourcesselectorserviceaccountsubjectwaitWORKING WITH APPSattachauthcan-ireconcilecpdescribeexeclogsport-forwardproxytopnodepodCLUSTER MANAGEMENTapi-versionscertificateapprovedenycluster-infodumpcordondraintaintuncordonKUBECTL SETTINGS AND USAGEalphaapi-resourcescompletionconfigcurrent-contextdelete-clusterdelete-contextdelete-userget-clustersget-contextsget-usersrename-contextsetset-clusterset-contextset-credentialsunsetuse-contextviewexplainoptionspluginlistversionCopyright 2020 The Kubernetes Authors. example GETTING STARTED This section contains the most basic commands for getting a workload running on your cluster. run will start running 1 or more instances of a container image on your cluster. expose will load balance traffic across the running instances, and can create a HA proxy for accessing the containers from outside the cluster. Once your workloads are running, you can use the commands in the WORKING WITH APPS section to inspect them. create Create a pod using the data in pod.json kubectl create -f ./pod.json Create a pod based on the JSON passed into stdin cat pod.json | kubectl create -f - Edit the data in docker-registry.yaml in JSON then create the resource using the edited data kubectl create -f docker-registry.yaml --edit -o json Create a resource from a file or from stdin. JSON and YAML formats are accepted. Usage $ kubectl create -f FILENAME Flags Name Shorthand Default Usage allow-missing-template-keys true If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats. dry-run none Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource. edit false Edit the API resource before creating field-manager kubectl-create Name of the manager used to track field ownership. filename f [] Filename, directory, or URL to files to use to create the resource kustomize k Process the kustomization directory. This flag can't be used together with -f or -R. output o Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file. raw Raw URI to POST to the server. Uses the transport specified by the kubeconfig file. record false Record current kubectl command in the resource annotation. If set to false, do not record the command. If set to true, record",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_qa_7314"
  },
  {
    "question": "How does GETTING STARTED work?",
    "answer": "Kubectl Reference Docs GETTING STARTEDcreateclusterroleclusterrolebindingconfigmapcronjobdeploymentingressjobnamespacepoddisruptionbudgetpriorityclassquotarolerolebindingsecretsecret docker-registrysecret genericsecret tlsserviceservice clusteripservice externalnameservice loadbalancerservice nodeportserviceaccountgetrunexposedeleteAPP MANAGEMENTapplyedit-last-appliedset-last-appliedview-last-appliedannotateautoscaledebugdiffeditkustomizelabelpatchreplacerollouthistorypauserestartresumestatusundoscalesetenvimageresourcesselectorserviceaccountsubjectwaitWORKING WITH APPSattachauthcan-ireconcilecpdescribeexeclogsport-forwardproxytopnodepodCLUSTER MANAGEMENTapi-versionscertificateapprovedenycluster-infodumpcordondraintaintuncordonKUBECTL SETTINGS AND USAGEalphaapi-resourcescompletionconfigcurrent-contextdelete-clusterdelete-contextdelete-userget-clustersget-contextsget-usersrename-contextsetset-clusterset-contextset-credentialsunsetuse-contextviewexplainoptionspluginlistversionCopyright 2020 The Kubernetes Authors. example GETTING STARTED This section contains the most basic commands for getting a workload running on your cluster. run will start running 1 or more instances of a container image on your cluster. expose will load balance traffic across the running instances, and can create a HA proxy for accessing the containers from outside the cluster. Once your workloads are running, you can use the commands in the WORKING WITH APPS section to inspect them. create Create a pod using the data in pod.json kubectl create -f ./pod.json Create a pod based on the JSON passed into stdin cat pod.json | kubectl create -f - Edit the data in docker-registry.yaml in JSON then create the resource using the edited data kubectl create -f docker-registry.yaml --edit -o json Create a resource from a file or from stdin. JSON and YAML formats are accepted. Usage $ kubectl create -f FILENAME Flags Name Shorthand Default Usage allow-missing-template-keys true If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats. dry-run none Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource. edit false Edit the API resource before creating field-manager kubectl-create Name of the manager used to track field ownership. filename f [] Filename, directory, or URL to files to use to create the resource kustomize k Process the kustomization directory. This flag can't be used together with -f or -R. output o Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file. raw Raw URI to POST to the server. Uses the transport specified by the kubeconfig file. record false Record current kubectl command in the resource annotation. If set to false, do not record the command. If set to true, record",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_qa_7315"
  },
  {
    "question": "When would you use GETTING STARTED?",
    "answer": "Kubectl Reference Docs GETTING STARTEDcreateclusterroleclusterrolebindingconfigmapcronjobdeploymentingressjobnamespacepoddisruptionbudgetpriorityclassquotarolerolebindingsecretsecret docker-registrysecret genericsecret tlsserviceservice clusteripservice externalnameservice loadbalancerservice nodeportserviceaccountgetrunexposedeleteAPP MANAGEMENTapplyedit-last-appliedset-last-appliedview-last-appliedannotateautoscaledebugdiffeditkustomizelabelpatchreplacerollouthistorypauserestartresumestatusundoscalesetenvimageresourcesselectorserviceaccountsubjectwaitWORKING WITH APPSattachauthcan-ireconcilecpdescribeexeclogsport-forwardproxytopnodepodCLUSTER MANAGEMENTapi-versionscertificateapprovedenycluster-infodumpcordondraintaintuncordonKUBECTL SETTINGS AND USAGEalphaapi-resourcescompletionconfigcurrent-contextdelete-clusterdelete-contextdelete-userget-clustersget-contextsget-usersrename-contextsetset-clusterset-contextset-credentialsunsetuse-contextviewexplainoptionspluginlistversionCopyright 2020 The Kubernetes Authors. example GETTING STARTED This section contains the most basic commands for getting a workload running on your cluster. run will start running 1 or more instances of a container image on your cluster. expose will load balance traffic across the running instances, and can create a HA proxy for accessing the containers from outside the cluster. Once your workloads are running, you can use the commands in the WORKING WITH APPS section to inspect them. create Create a pod using the data in pod.json kubectl create -f ./pod.json Create a pod based on the JSON passed into stdin cat pod.json | kubectl create -f - Edit the data in docker-registry.yaml in JSON then create the resource using the edited data kubectl create -f docker-registry.yaml --edit -o json Create a resource from a file or from stdin. JSON and YAML formats are accepted. Usage $ kubectl create -f FILENAME Flags Name Shorthand Default Usage allow-missing-template-keys true If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats. dry-run none Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource. edit false Edit the API resource before creating field-manager kubectl-create Name of the manager used to track field ownership. filename f [] Filename, directory, or URL to files to use to create the resource kustomize k Process the kustomization directory. This flag can't be used together with -f or -R. output o Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file. raw Raw URI to POST to the server. Uses the transport specified by the kubeconfig file. record false Record current kubectl command in the resource annotation. If set to false, do not record the command. If set to true, record",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_qa_7316"
  },
  {
    "question": "What are the benefits of GETTING STARTED?",
    "answer": "Kubectl Reference Docs GETTING STARTEDcreateclusterroleclusterrolebindingconfigmapcronjobdeploymentingressjobnamespacepoddisruptionbudgetpriorityclassquotarolerolebindingsecretsecret docker-registrysecret genericsecret tlsserviceservice clusteripservice externalnameservice loadbalancerservice nodeportserviceaccountgetrunexposedeleteAPP MANAGEMENTapplyedit-last-appliedset-last-appliedview-last-appliedannotateautoscaledebugdiffeditkustomizelabelpatchreplacerollouthistorypauserestartresumestatusundoscalesetenvimageresourcesselectorserviceaccountsubjectwaitWORKING WITH APPSattachauthcan-ireconcilecpdescribeexeclogsport-forwardproxytopnodepodCLUSTER MANAGEMENTapi-versionscertificateapprovedenycluster-infodumpcordondraintaintuncordonKUBECTL SETTINGS AND USAGEalphaapi-resourcescompletionconfigcurrent-contextdelete-clusterdelete-contextdelete-userget-clustersget-contextsget-usersrename-contextsetset-clusterset-contextset-credentialsunsetuse-contextviewexplainoptionspluginlistversionCopyright 2020 The Kubernetes Authors. example GETTING STARTED This section contains the most basic commands for getting a workload running on your cluster. run will start running 1 or more instances of a container image on your cluster. expose will load balance traffic across the running instances, and can create a HA proxy for accessing the containers from outside the cluster. Once your workloads are running, you can use the commands in the WORKING WITH APPS section to inspect them. create Create a pod using the data in pod.json kubectl create -f ./pod.json Create a pod based on the JSON passed into stdin cat pod.json | kubectl create -f - Edit the data in docker-registry.yaml in JSON then create the resource using the edited data kubectl create -f docker-registry.yaml --edit -o json Create a resource from a file or from stdin. JSON and YAML formats are accepted. Usage $ kubectl create -f FILENAME Flags Name Shorthand Default Usage allow-missing-template-keys true If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats. dry-run none Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource. edit false Edit the API resource before creating field-manager kubectl-create Name of the manager used to track field ownership. filename f [] Filename, directory, or URL to files to use to create the resource kustomize k Process the kustomization directory. This flag can't be used together with -f or -R. output o Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file. raw Raw URI to POST to the server. Uses the transport specified by the kubeconfig file. record false Record current kubectl command in the resource annotation. If set to false, do not record the command. If set to true, record",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_qa_7317"
  },
  {
    "question": "What is GETTING STARTED?",
    "answer": "T h i s   s e c t i o n   c o n t a i n s   t h e   m o s t   b a s i c   c o m m a n d s   f o r   g e t t i n g   a   w o r k l o a d   r u n n i n g   o n   y o u r   c l u s t e r .   r u n   w i l l   s t a r t   r u n n i n g   1   o r   m o r e   i n s t a n c e s   o f   a   c o n t a i n e r   i m a g e   o n   y o u r   c l u s t e r .   e x p o s e   w i l l   l o a d   b a l a n c e   t r a f f i c   a c r o s s   t h e   r u n n i n g   i n s t a n c e s ,   a n d   c a n   c r e a t e   a   H A   p r o x y   f o r   a c c e s s i n g   t h e   c o n t a i n e r s   f r o m   o u t s i d e   t h e   c l u s t e r .   O n c e   y o u r   w o r k l o a d s   a r e   r u n n i n g ,   y o u   c a n   u s e   t h e   c o m m a n d s   i n   t h e   W O R K I N G   W I T H   A P P S   s e c t i o n   t o   i n s p e c t   t h e m .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7318"
  },
  {
    "question": "What is create?",
    "answer": "C r e a t e   a   p o d   u s i n g   t h e   d a t a   i n   p o d . j s o n   k u b e c t l   c r e a t e   - f   . / p o d . j s o n   C r e a t e   a   p o d   b a s e d   o n   t h e   J S O N   p a s s e d   i n t o   s t d i n   c a t   p o d . j s o n   |   k u b e c t l   c r e a t e   - f   -   E d i t   t h e   d a t a   i n   d o c k e r - r e g i s t r y . y a m l   i n   J S O N   t h e n   c r e a t e   t h e   r e s o u r c e   u s i n g   t h e   e d i t e d   d a t a   k u b e c t l   c r e a t e   - f   d o c k e r - r e g i s t r y . y a m l   - - e d i t   - o   j s o n   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n .   J S O N   a n d   Y A M L   f o r m a t s   a r e   a c c e p t e d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7319"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   - f   F I L E N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7320"
  },
  {
    "question": "What is clusterrole?",
    "answer": "C r e a t e   a   c l u s t e r   r o l e   n a m e d   \" p o d - r e a d e r \"   t h a t   a l l o w s   u s e r   t o   p e r f o r m   \" g e t \" ,   \" w a t c h \"   a n d   \" l i s t \"   o n   p o d s   k u b e c t l   c r e a t e   c l u s t e r r o l e   p o d - r e a d e r   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = p o d s   C r e a t e   a   c l u s t e r   r o l e   n a m e d   \" p o d - r e a d e r \"   w i t h   R e s o u r c e N a m e   s p e c i f i e d   k u b e c t l   c r e a t e   c l u s t e r r o l e   p o d - r e a d e r   - - v e r b = g e t   - - r e s o u r c e = p o d s   - - r e s o u r c e - n a m e = r e a d a b l e p o d   - - r e s o u r c e - n a m e = a n o t h e r p o d   C r e a t e   a   c l u s t e r   r o l e   n a m e d   \" f o o \"   w i t h   A P I   G r o u p   s p e c i f i e d   k u b e c t l   c r e a t e   c l u s t e r r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = r s . e x t e n s i o n s   C r e a t e   a   c l u s t e r   r o l e   n a m e d   \" f o o \"   w i t h   S u b R e s o u r c e   s p e c i f i e d   k u b e c t l   c r e a t e   c l u s t e r r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = p o d s , p o d s / s t a t u s   C r e a t e   a   c l u s t e r   r o l e   n a m e   \" f o o \"   w i t h   N o n R e s o u r c e U R L   s p e c i f i e d   k u b e c t l   c r e a t e   c l u s t e r r o l e   \" f o o \"   - - v e r b = g e t   - - n o n - r e s o u r c e - u r l = / l o g s / *   C r e a t e   a   c l u s t e r   r o l e   n a m e   \" m o n i t o r i n g \"   w i t h   A g g r e g a t i o n R u l e   s p e c i f i e d   k u b e c t l   c r e a t e   c l u s t e r r o l e   m o n i t o r i n g   - - a g g r e g a t i o n - r u l e = \" r b a c . e x a m p l e . c o m / a g g r e g a t e - t o - m o n i t o r i n g = t r u e \"   C r e a t e   a   c l u s t e r   r o l e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7321"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   c l u s t e r r o l e   N A M E   - - v e r b = v e r b   - - r e s o u r c e = r e s o u r c e . g r o u p   [ - - r e s o u r c e - n a m e = r e s o u r c e n a m e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7322"
  },
  {
    "question": "What is clusterrolebinding?",
    "answer": "C r e a t e   a   c l u s t e r   r o l e   b i n d i n g   f o r   u s e r 1 ,   u s e r 2 ,   a n d   g r o u p 1   u s i n g   t h e   c l u s t e r - a d m i n   c l u s t e r   r o l e   k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   c l u s t e r - a d m i n   - - c l u s t e r r o l e = c l u s t e r - a d m i n   - - u s e r = u s e r 1   - - u s e r = u s e r 2   - - g r o u p = g r o u p 1   C r e a t e   a   c l u s t e r   r o l e   b i n d i n g   f o r   a   p a r t i c u l a r   c l u s t e r   r o l e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7323"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   N A M E   - - c l u s t e r r o l e = N A M E   [ - - u s e r = u s e r n a m e ]   [ - - g r o u p = g r o u p n a m e ]   [ - - s e r v i c e a c c o u n t = n a m e s p a c e : s e r v i c e a c c o u n t n a m e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7324"
  },
  {
    "question": "What is configmap?",
    "answer": "C r e a t e   a   n e w   c o n f i g   m a p   n a m e d   m y - c o n f i g   b a s e d   o n   f o l d e r   b a r   k u b e c t l   c r e a t e   c o n f i g m a p   m y - c o n f i g   - - f r o m - f i l e = p a t h / t o / b a r   C r e a t e   a   n e w   c o n f i g   m a p   n a m e d   m y - c o n f i g   w i t h   s p e c i f i e d   k e y s   i n s t e a d   o f   f i l e   b a s e n a m e s   o n   d i s k   k u b e c t l   c r e a t e   c o n f i g m a p   m y - c o n f i g   - - f r o m - f i l e = k e y 1 = / p a t h / t o / b a r / f i l e 1 . t x t   - - f r o m - f i l e = k e y 2 = / p a t h / t o / b a r / f i l e 2 . t x t   C r e a t e   a   n e w   c o n f i g   m a p   n a m e d   m y - c o n f i g   w i t h   k e y 1 = c o n f i g 1   a n d   k e y 2 = c o n f i g 2   k u b e c t l   c r e a t e   c o n f i g m a p   m y - c o n f i g   - - f r o m - l i t e r a l = k e y 1 = c o n f i g 1   - - f r o m - l i t e r a l = k e y 2 = c o n f i g 2   C r e a t e   a   n e w   c o n f i g   m a p   n a m e d   m y - c o n f i g   f r o m   t h e   k e y = v a l u e   p a i r s   i n   t h e   f i l e   k u b e c t l   c r e a t e   c o n f i g m a p   m y - c o n f i g   - - f r o m - f i l e = p a t h / t o / b a r   C r e a t e   a   n e w   c o n f i g   m a p   n a m e d   m y - c o n f i g   f r o m   a n   e n v   f i l e   k u b e c t l   c r e a t e   c o n f i g m a p   m y - c o n f i g   - - f r o m - e n v - f i l e = p a t h / t o / b a r . e n v   C r e a t e   a   c o n f i g   m a p   b a s e d   o n   a   f i l e ,   d i r e c t o r y ,   o r   s p e c i f i e d   l i t e r a l   v a l u e .   A   s i n g l e   c o n f i g   m a p   m a y   p a c k a g e   o n e   o r   m o r e   k e y / v a l u e   p a i r s .   W h e n   c r e a t i n g   a   c o n f i g   m a p   b a s e d   o n   a   f i l e ,   t h e   k e y   w i l l   d e f a u l t   t o   t h e   b a s e n a m e   o f   t h e   f i l e ,   a n d   t h e   v a l u e   w ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7325"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   c o n f i g m a p   N A M E   [ - - f r o m - f i l e = [ k e y = ] s o u r c e ]   [ - - f r o m - l i t e r a l = k e y 1 = v a l u e 1 ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7326"
  },
  {
    "question": "What is cronjob?",
    "answer": "C r e a t e   a   c r o n   j o b   k u b e c t l   c r e a t e   c r o n j o b   m y - j o b   - - i m a g e = b u s y b o x   - - s c h e d u l e = \" * / 1   *   *   *   * \"   C r e a t e   a   c r o n   j o b   w i t h   a   c o m m a n d   k u b e c t l   c r e a t e   c r o n j o b   m y - j o b   - - i m a g e = b u s y b o x   - - s c h e d u l e = \" * / 1   *   *   *   * \"   - -   d a t e   C r e a t e   a   c r o n   j o b   w i t h   t h e   s p e c i f i e d   n a m e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7327"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   c r o n j o b   N A M E   - - i m a g e = i m a g e   - - s c h e d u l e = ' 0 / 5   *   *   *   ? '   - -   [ C O M M A N D ]   [ a r g s . . . ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7328"
  },
  {
    "question": "What is deployment?",
    "answer": "C r e a t e   a   d e p l o y m e n t   n a m e d   m y - d e p   t h a t   r u n s   t h e   b u s y b o x   i m a g e   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - - i m a g e = b u s y b o x   C r e a t e   a   d e p l o y m e n t   w i t h   a   c o m m a n d   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - - i m a g e = b u s y b o x   - -   d a t e   C r e a t e   a   d e p l o y m e n t   n a m e d   m y - d e p   t h a t   r u n s   t h e   n g i n x   i m a g e   w i t h   3   r e p l i c a s   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - - i m a g e = n g i n x   - - r e p l i c a s = 3   C r e a t e   a   d e p l o y m e n t   n a m e d   m y - d e p   t h a t   r u n s   t h e   b u s y b o x   i m a g e   a n d   e x p o s e   p o r t   5 7 0 1   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - - i m a g e = b u s y b o x   - - p o r t = 5 7 0 1   C r e a t e   a   d e p l o y m e n t   w i t h   t h e   s p e c i f i e d   n a m e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7329"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   d e p l o y m e n t   N A M E   - - i m a g e = i m a g e   - -   [ C O M M A N D ]   [ a r g s . . . ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7330"
  },
  {
    "question": "What is ingress?",
    "answer": "C r e a t e   a   s i n g l e   i n g r e s s   c a l l e d   ' s i m p l e '   t h a t   d i r e c t s   r e q u e s t s   t o   f o o . c o m / b a r   t o   s v c   #   s v c 1 : 8 0 8 0   w i t h   a   t l s   s e c r e t   \" m y - c e r t \"   k u b e c t l   c r e a t e   i n g r e s s   s i m p l e   - - r u l e = \" f o o . c o m / b a r = s v c 1 : 8 0 8 0 , t l s = m y - c e r t \"   C r e a t e   a   c a t c h   a l l   i n g r e s s   o f   \" / p a t h \"   p o i n t i n g   t o   s e r v i c e   s v c : p o r t   a n d   I n g r e s s   C l a s s   a s   \" o t h e r i n g r e s s \"   k u b e c t l   c r e a t e   i n g r e s s   c a t c h - a l l   - - c l a s s = o t h e r i n g r e s s   - - r u l e = \" / p a t h = s v c : p o r t \"   C r e a t e   a n   i n g r e s s   w i t h   t w o   a n n o t a t i o n s :   i n g r e s s . a n n o t a t i o n 1   a n d   i n g r e s s . a n n o t a t i o n s 2   k u b e c t l   c r e a t e   i n g r e s s   a n n o t a t e d   - - c l a s s = d e f a u l t   - - r u l e = \" f o o . c o m / b a r = s v c : p o r t \"   \\   - - a n n o t a t i o n   i n g r e s s . a n n o t a t i o n 1 = f o o   \\   - - a n n o t a t i o n   i n g r e s s . a n n o t a t i o n 2 = b l a   C r e a t e   a n   i n g r e s s   w i t h   t h e   s a m e   h o s t   a n d   m u l t i p l e   p a t h s   k u b e c t l   c r e a t e   i n g r e s s   m u l t i p a t h   - - c l a s s = d e f a u l t   \\   - - r u l e = \" f o o . c o m / = s v c : p o r t \"   \\   - - r u l e = \" f o o . c o m / a d m i n / = s v c a d m i n : p o r t a d m i n \"   C r e a t e   a n   i n g r e s s   w i t h   m u l t i p l e   h o s t s   a n d   t h e   p a t h T y p e   a s   P r e f i x   k u b e c t l   c r e a t e   i n g r e s s   i n g r e s s 1   - - c l a s s = d e f a u l t   \\   - - r u l e = \" f o o . c o m / p a t h * = s v c : 8 0 8 0 \"   \\   - - r u l e = \" b a r . c o m / a d m i n * = s v c 2 : h t t p \"   C r e a t e   a n   i n g r e s s   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7331"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   i n g r e s s   N A M E   - - r u l e = h o s t / p a t h = s e r v i c e : p o r t [ , t l s [ = s e c r e t ] ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7332"
  },
  {
    "question": "What is job?",
    "answer": "C r e a t e   a   j o b   k u b e c t l   c r e a t e   j o b   m y - j o b   - - i m a g e = b u s y b o x   C r e a t e   a   j o b   w i t h   a   c o m m a n d   k u b e c t l   c r e a t e   j o b   m y - j o b   - - i m a g e = b u s y b o x   - -   d a t e   C r e a t e   a   j o b   f r o m   a   c r o n   j o b   n a m e d   \" a - c r o n j o b \"   k u b e c t l   c r e a t e   j o b   t e s t - j o b   - - f r o m = c r o n j o b / a - c r o n j o b   C r e a t e   a   j o b   w i t h   t h e   s p e c i f i e d   n a m e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7333"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   j o b   N A M E   - - i m a g e = i m a g e   [ - - f r o m = c r o n j o b / n a m e ]   - -   [ C O M M A N D ]   [ a r g s . . . ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7334"
  },
  {
    "question": "What is namespace?",
    "answer": "C r e a t e   a   n e w   n a m e s p a c e   n a m e d   m y - n a m e s p a c e   k u b e c t l   c r e a t e   n a m e s p a c e   m y - n a m e s p a c e   C r e a t e   a   n a m e s p a c e   w i t h   t h e   s p e c i f i e d   n a m e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7335"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   n a m e s p a c e   N A M E   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7336"
  },
  {
    "question": "What is poddisruptionbudget?",
    "answer": "C r e a t e   a   p o d   d i s r u p t i o n   b u d g e t   n a m e d   m y - p d b   t h a t   w i l l   s e l e c t   a l l   p o d s   w i t h   t h e   a p p = r a i l s   l a b e l   #   a n d   r e q u i r e   a t   l e a s t   o n e   o f   t h e m   b e i n g   a v a i l a b l e   a t   a n y   p o i n t   i n   t i m e   k u b e c t l   c r e a t e   p o d d i s r u p t i o n b u d g e t   m y - p d b   - - s e l e c t o r = a p p = r a i l s   - - m i n - a v a i l a b l e = 1   C r e a t e   a   p o d   d i s r u p t i o n   b u d g e t   n a m e d   m y - p d b   t h a t   w i l l   s e l e c t   a l l   p o d s   w i t h   t h e   a p p = n g i n x   l a b e l   #   a n d   r e q u i r e   a t   l e a s t   h a l f   o f   t h e   p o d s   s e l e c t e d   t o   b e   a v a i l a b l e   a t   a n y   p o i n t   i n   t i m e   k u b e c t l   c r e a t e   p d b   m y - p d b   - - s e l e c t o r = a p p = n g i n x   - - m i n - a v a i l a b l e = 5 0 %   C r e a t e   a   p o d   d i s r u p t i o n   b u d g e t   w i t h   t h e   s p e c i f i e d   n a m e ,   s e l e c t o r ,   a n d   d e s i r e d   m i n i m u m   a v a i l a b l e   p o d s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7337"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   p o d d i s r u p t i o n b u d g e t   N A M E   - - s e l e c t o r = S E L E C T O R   - - m i n - a v a i l a b l e = N   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7338"
  },
  {
    "question": "What is priorityclass?",
    "answer": "C r e a t e   a   p r i o r i t y   c l a s s   n a m e d   h i g h - p r i o r i t y   k u b e c t l   c r e a t e   p r i o r i t y c l a s s   h i g h - p r i o r i t y   - - v a l u e = 1 0 0 0   - - d e s c r i p t i o n = \" h i g h   p r i o r i t y \"   C r e a t e   a   p r i o r i t y   c l a s s   n a m e d   d e f a u l t - p r i o r i t y   t h a t   i s   c o n s i d e r e d   a s   t h e   g l o b a l   d e f a u l t   p r i o r i t y   k u b e c t l   c r e a t e   p r i o r i t y c l a s s   d e f a u l t - p r i o r i t y   - - v a l u e = 1 0 0 0   - - g l o b a l - d e f a u l t = t r u e   - - d e s c r i p t i o n = \" d e f a u l t   p r i o r i t y \"   C r e a t e   a   p r i o r i t y   c l a s s   n a m e d   h i g h - p r i o r i t y   t h a t   c a n n o t   p r e e m p t   p o d s   w i t h   l o w e r   p r i o r i t y   k u b e c t l   c r e a t e   p r i o r i t y c l a s s   h i g h - p r i o r i t y   - - v a l u e = 1 0 0 0   - - d e s c r i p t i o n = \" h i g h   p r i o r i t y \"   - - p r e e m p t i o n - p o l i c y = \" N e v e r \"   C r e a t e   a   p r i o r i t y   c l a s s   w i t h   t h e   s p e c i f i e d   n a m e ,   v a l u e ,   g l o b a l D e f a u l t   a n d   d e s c r i p t i o n .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7339"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   p r i o r i t y c l a s s   N A M E   - - v a l u e = V A L U E   - - g l o b a l - d e f a u l t = B O O L   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7340"
  },
  {
    "question": "What is quota?",
    "answer": "C r e a t e   a   n e w   r e s o u r c e   q u o t a   n a m e d   m y - q u o t a   k u b e c t l   c r e a t e   q u o t a   m y - q u o t a   - - h a r d = c p u = 1 , m e m o r y = 1 G , p o d s = 2 , s e r v i c e s = 3 , r e p l i c a t i o n c o n t r o l l e r s = 2 , r e s o u r c e q u o t a s = 1 , s e c r e t s = 5 , p e r s i s t e n t v o l u m e c l a i m s = 1 0   C r e a t e   a   n e w   r e s o u r c e   q u o t a   n a m e d   b e s t - e f f o r t   k u b e c t l   c r e a t e   q u o t a   b e s t - e f f o r t   - - h a r d = p o d s = 1 0 0   - - s c o p e s = B e s t E f f o r t   C r e a t e   a   r e s o u r c e   q u o t a   w i t h   t h e   s p e c i f i e d   n a m e ,   h a r d   l i m i t s ,   a n d   o p t i o n a l   s c o p e s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7341"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   q u o t a   N A M E   [ - - h a r d = k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 ]   [ - - s c o p e s = S c o p e 1 , S c o p e 2 ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7342"
  },
  {
    "question": "What is role?",
    "answer": "C r e a t e   a   r o l e   n a m e d   \" p o d - r e a d e r \"   t h a t   a l l o w s   u s e r   t o   p e r f o r m   \" g e t \" ,   \" w a t c h \"   a n d   \" l i s t \"   o n   p o d s   k u b e c t l   c r e a t e   r o l e   p o d - r e a d e r   - - v e r b = g e t   - - v e r b = l i s t   - - v e r b = w a t c h   - - r e s o u r c e = p o d s   C r e a t e   a   r o l e   n a m e d   \" p o d - r e a d e r \"   w i t h   R e s o u r c e N a m e   s p e c i f i e d   k u b e c t l   c r e a t e   r o l e   p o d - r e a d e r   - - v e r b = g e t   - - r e s o u r c e = p o d s   - - r e s o u r c e - n a m e = r e a d a b l e p o d   - - r e s o u r c e - n a m e = a n o t h e r p o d   C r e a t e   a   r o l e   n a m e d   \" f o o \"   w i t h   A P I   G r o u p   s p e c i f i e d   k u b e c t l   c r e a t e   r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = r s . e x t e n s i o n s   C r e a t e   a   r o l e   n a m e d   \" f o o \"   w i t h   S u b R e s o u r c e   s p e c i f i e d   k u b e c t l   c r e a t e   r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = p o d s , p o d s / s t a t u s   C r e a t e   a   r o l e   w i t h   s i n g l e   r u l e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7343"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   r o l e   N A M E   - - v e r b = v e r b   - - r e s o u r c e = r e s o u r c e . g r o u p / s u b r e s o u r c e   [ - - r e s o u r c e - n a m e = r e s o u r c e n a m e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7344"
  },
  {
    "question": "What is rolebinding?",
    "answer": "C r e a t e   a   r o l e   b i n d i n g   f o r   u s e r 1 ,   u s e r 2 ,   a n d   g r o u p 1   u s i n g   t h e   a d m i n   c l u s t e r   r o l e   k u b e c t l   c r e a t e   r o l e b i n d i n g   a d m i n   - - c l u s t e r r o l e = a d m i n   - - u s e r = u s e r 1   - - u s e r = u s e r 2   - - g r o u p = g r o u p 1   C r e a t e   a   r o l e   b i n d i n g   f o r   a   p a r t i c u l a r   r o l e   o r   c l u s t e r   r o l e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7345"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   r o l e b i n d i n g   N A M E   - - c l u s t e r r o l e = N A M E | - - r o l e = N A M E   [ - - u s e r = u s e r n a m e ]   [ - - g r o u p = g r o u p n a m e ]   [ - - s e r v i c e a c c o u n t = n a m e s p a c e : s e r v i c e a c c o u n t n a m e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7346"
  },
  {
    "question": "What is secret?",
    "answer": "C r e a t e   a   s e c r e t   u s i n g   s p e c i f i e d   s u b c o m m a n d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7347"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   s e c r e t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7348"
  },
  {
    "question": "What is secret docker-registry?",
    "answer": "I f   y o u   d o n ' t   a l r e a d y   h a v e   a   . d o c k e r c f g   f i l e ,   y o u   c a n   c r e a t e   a   d o c k e r c f g   s e c r e t   d i r e c t l y   b y   u s i n g :   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   m y - s e c r e t   - - d o c k e r - s e r v e r = D O C K E R _ R E G I S T R Y _ S E R V E R   - - d o c k e r - u s e r n a m e = D O C K E R _ U S E R   - - d o c k e r - p a s s w o r d = D O C K E R _ P A S S W O R D   - - d o c k e r - e m a i l = D O C K E R _ E M A I L   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   f r o m   ~ / . d o c k e r / c o n f i g . j s o n   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   m y - s e c r e t   - - f r o m - f i l e = . d o c k e r c o n f i g j s o n = p a t h / t o / . d o c k e r / c o n f i g . j s o n   C r e a t e   a   n e w   s e c r e t   f o r   u s e   w i t h   D o c k e r   r e g i s t r i e s .   D o c k e r c f g   s e c r e t s   a r e   u s e d   t o   a u t h e n t i c a t e   a g a i n s t   D o c k e r   r e g i s t r i e s .   W h e n   u s i n g   t h e   D o c k e r   c o m m a n d   l i n e   t o   p u s h   i m a g e s ,   y o u   c a n   a u t h e n t i c a t e   t o   a   g i v e n   r e g i s t r y   b y   r u n n i n g :   ' $   d o c k e r   l o g i n   D O C K E R _ R E G I S T R Y _ S E R V E R   - - u s e r n a m e = D O C K E R _ U S E R   - - p a s s w o r d = D O C K E R _ P A S S W O R D   - - e m a i l = D O C K E R _ E M A I L ' .   T h a t   p r o d u c e s   a   ~ / . d o c k e r c f g   f i l e   t h a t   i s   u s e d   b y   s u b s e q u e n t   ' d o c k e r   p u s h '   a n d   ' d o c k e r   p u l l '   c o m m a n d s   t o   a u t h e n t i c a t e   t o   t h e   r e g i s t r y .   T h e   e m a i l   a d d r e s s   i s   o p t i o n a l .   W h e n   c r e a t i n g   a p p l i c a t i o n s ,   y o u   m a y   h a v e   a   D o c k e r   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7349"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   N A M E   - - d o c k e r - u s e r n a m e = u s e r   - - d o c k e r - p a s s w o r d = p a s s w o r d   - - d o c k e r - e m a i l = e m a i l   [ - - d o c k e r - s e r v e r = s t r i n g ]   [ - - f r o m - f i l e = [ k e y = ] s o u r c e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7350"
  },
  {
    "question": "What is secret generic?",
    "answer": "C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   w i t h   k e y s   f o r   e a c h   f i l e   i n   f o l d e r   b a r   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - f i l e = p a t h / t o / b a r   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   w i t h   s p e c i f i e d   k e y s   i n s t e a d   o f   n a m e s   o n   d i s k   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - f i l e = s s h - p r i v a t e k e y = p a t h / t o / i d _ r s a   - - f r o m - f i l e = s s h - p u b l i c k e y = p a t h / t o / i d _ r s a . p u b   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   w i t h   k e y 1 = s u p e r s e c r e t   a n d   k e y 2 = t o p s e c r e t   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - l i t e r a l = k e y 1 = s u p e r s e c r e t   - - f r o m - l i t e r a l = k e y 2 = t o p s e c r e t   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   u s i n g   a   c o m b i n a t i o n   o f   a   f i l e   a n d   a   l i t e r a l   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - f i l e = s s h - p r i v a t e k e y = p a t h / t o / i d _ r s a   - - f r o m - l i t e r a l = p a s s p h r a s e = t o p s e c r e t   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   f r o m   a n   e n v   f i l e   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - e n v - f i l e = p a t h / t o / b a r . e n v   C r e a t e   a   s e c r e t   b a s e d   o n   a   f i l e ,   d i r e c t o r y ,   o r   s p e c i f i e d   l i t e r a l   v a l u e .   A   s i n g l e   s e c r e t   m a y   p a c k a g e   o n e   o r   m o r e   k e y / v a l u e   p a i r s .   W h e n   c r e a t i n g   a   s e c r e t   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7351"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   g e n e r i c   N A M E   [ - - t y p e = s t r i n g ]   [ - - f r o m - f i l e = [ k e y = ] s o u r c e ]   [ - - f r o m - l i t e r a l = k e y 1 = v a l u e 1 ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7352"
  },
  {
    "question": "What is secret tls?",
    "answer": "C r e a t e   a   n e w   T L S   s e c r e t   n a m e d   t l s - s e c r e t   w i t h   t h e   g i v e n   k e y   p a i r   k u b e c t l   c r e a t e   s e c r e t   t l s   t l s - s e c r e t   - - c e r t = p a t h / t o / t l s . c e r t   - - k e y = p a t h / t o / t l s . k e y   C r e a t e   a   T L S   s e c r e t   f r o m   t h e   g i v e n   p u b l i c / p r i v a t e   k e y   p a i r .   T h e   p u b l i c / p r i v a t e   k e y   p a i r   m u s t   e x i s t   b e f o r e h a n d .   T h e   p u b l i c   k e y   c e r t i f i c a t e   m u s t   b e   . P E M   e n c o d e d   a n d   m a t c h   t h e   g i v e n   p r i v a t e   k e y .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7353"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   s e c r e t   t l s   N A M E   - - c e r t = p a t h / t o / c e r t / f i l e   - - k e y = p a t h / t o / k e y / f i l e   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7354"
  },
  {
    "question": "What is service?",
    "answer": "C r e a t e   a   s e r v i c e   u s i n g   a   s p e c i f i e d   s u b c o m m a n d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7355"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   s e r v i c e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7356"
  },
  {
    "question": "What is service clusterip?",
    "answer": "C r e a t e   a   n e w   C l u s t e r I P   s e r v i c e   n a m e d   m y - c s   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   m y - c s   - - t c p = 5 6 7 8 : 8 0 8 0   C r e a t e   a   n e w   C l u s t e r I P   s e r v i c e   n a m e d   m y - c s   ( i n   h e a d l e s s   m o d e )   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   m y - c s   - - c l u s t e r i p = \" N o n e \"   C r e a t e   a   C l u s t e r I P   s e r v i c e   w i t h   t h e   s p e c i f i e d   n a m e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7357"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   N A M E   [ - - t c p = < p o r t > : < t a r g e t P o r t > ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7358"
  },
  {
    "question": "What is service externalname?",
    "answer": "C r e a t e   a   n e w   E x t e r n a l N a m e   s e r v i c e   n a m e d   m y - n s   k u b e c t l   c r e a t e   s e r v i c e   e x t e r n a l n a m e   m y - n s   - - e x t e r n a l - n a m e   b a r . c o m   C r e a t e   a n   E x t e r n a l N a m e   s e r v i c e   w i t h   t h e   s p e c i f i e d   n a m e .   E x t e r n a l N a m e   s e r v i c e   r e f e r e n c e s   t o   a n   e x t e r n a l   D N S   a d d r e s s   i n s t e a d   o f   o n l y   p o d s ,   w h i c h   w i l l   a l l o w   a p p l i c a t i o n   a u t h o r s   t o   r e f e r e n c e   s e r v i c e s   t h a t   e x i s t   o f f   p l a t f o r m ,   o n   o t h e r   c l u s t e r s ,   o r   l o c a l l y .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7359"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   s e r v i c e   e x t e r n a l n a m e   N A M E   - - e x t e r n a l - n a m e   e x t e r n a l . n a m e   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7360"
  },
  {
    "question": "What is service loadbalancer?",
    "answer": "C r e a t e   a   n e w   L o a d B a l a n c e r   s e r v i c e   n a m e d   m y - l b s   k u b e c t l   c r e a t e   s e r v i c e   l o a d b a l a n c e r   m y - l b s   - - t c p = 5 6 7 8 : 8 0 8 0   C r e a t e   a   L o a d B a l a n c e r   s e r v i c e   w i t h   t h e   s p e c i f i e d   n a m e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7361"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   s e r v i c e   l o a d b a l a n c e r   N A M E   [ - - t c p = p o r t : t a r g e t P o r t ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7362"
  },
  {
    "question": "What is service nodeport?",
    "answer": "C r e a t e   a   n e w   N o d e P o r t   s e r v i c e   n a m e d   m y - n s   k u b e c t l   c r e a t e   s e r v i c e   n o d e p o r t   m y - n s   - - t c p = 5 6 7 8 : 8 0 8 0   C r e a t e   a   N o d e P o r t   s e r v i c e   w i t h   t h e   s p e c i f i e d   n a m e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7363"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   s e r v i c e   n o d e p o r t   N A M E   [ - - t c p = p o r t : t a r g e t P o r t ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7364"
  },
  {
    "question": "What is serviceaccount?",
    "answer": "C r e a t e   a   n e w   s e r v i c e   a c c o u n t   n a m e d   m y - s e r v i c e - a c c o u n t   k u b e c t l   c r e a t e   s e r v i c e a c c o u n t   m y - s e r v i c e - a c c o u n t   C r e a t e   a   s e r v i c e   a c c o u n t   w i t h   t h e   s p e c i f i e d   n a m e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7365"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   s e r v i c e a c c o u n t   N A M E   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7366"
  },
  {
    "question": "What is get?",
    "answer": "L i s t   a l l   p o d s   i n   p s   o u t p u t   f o r m a t   k u b e c t l   g e t   p o d s   L i s t   a l l   p o d s   i n   p s   o u t p u t   f o r m a t   w i t h   m o r e   i n f o r m a t i o n   ( s u c h   a s   n o d e   n a m e )   k u b e c t l   g e t   p o d s   - o   w i d e   L i s t   a   s i n g l e   r e p l i c a t i o n   c o n t r o l l e r   w i t h   s p e c i f i e d   N A M E   i n   p s   o u t p u t   f o r m a t   k u b e c t l   g e t   r e p l i c a t i o n c o n t r o l l e r   w e b   L i s t   d e p l o y m e n t s   i n   J S O N   o u t p u t   f o r m a t ,   i n   t h e   \" v 1 \"   v e r s i o n   o f   t h e   \" a p p s \"   A P I   g r o u p   k u b e c t l   g e t   d e p l o y m e n t s . v 1 . a p p s   - o   j s o n   L i s t   a   s i n g l e   p o d   i n   J S O N   o u t p u t   f o r m a t   k u b e c t l   g e t   - o   j s o n   p o d   w e b - p o d - 1 3 j e 7   L i s t   a   p o d   i d e n t i f i e d   b y   t y p e   a n d   n a m e   s p e c i f i e d   i n   \" p o d . y a m l \"   i n   J S O N   o u t p u t   f o r m a t   k u b e c t l   g e t   - f   p o d . y a m l   - o   j s o n   L i s t   r e s o u r c e s   f r o m   a   d i r e c t o r y   w i t h   k u s t o m i z a t i o n . y a m l   -   e . g .   d i r / k u s t o m i z a t i o n . y a m l   k u b e c t l   g e t   - k   d i r /   R e t u r n   o n l y   t h e   p h a s e   v a l u e   o f   t h e   s p e c i f i e d   p o d   k u b e c t l   g e t   - o   t e m p l a t e   p o d / w e b - p o d - 1 3 j e 7   - - t e m p l a t e = { { . s t a t u s . p h a s e } }   L i s t   r e s o u r c e   i n f o r m a t i o n   i n   c u s t o m   c o l u m n s   k u b e c t l   g e t   p o d   t e s t - p o d   - o   c u s t o m - c o l u m n s = C O N T A I N E R : . s p e c . c o n t a i n e r s [ 0 ] . n a m e , I M A G E : . s p e c . c o n t a i n e r s [ 0 ] . i m a g e   L i s t   a l l   r e p l i c a t i o n   c o n t r o l l e r s   a ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7367"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   g e t   [ ( - o | - - o u t p u t = ) j s o n | y a m l | n a m e | g o - t e m p l a t e | g o - t e m p l a t e - f i l e | t e m p l a t e | t e m p l a t e f i l e | j s o n p a t h | j s o n p a t h - a s - j s o n | j s o n p a t h - f i l e | c u s t o m - c o l u m n s | c u s t o m - c o l u m n s - f i l e | w i d e ]   ( T Y P E [ . V E R S I O N ] [ . G R O U P ]   [ N A M E   |   - l   l a b e l ]   |   T Y P E [ . V E R S I O N ] [ . G R O U P ] / N A M E   . . . )   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7368"
  },
  {
    "question": "What is run?",
    "answer": "S t a r t   a   n g i n x   p o d   k u b e c t l   r u n   n g i n x   - - i m a g e = n g i n x   S t a r t   a   h a z e l c a s t   p o d   a n d   l e t   t h e   c o n t a i n e r   e x p o s e   p o r t   5 7 0 1   k u b e c t l   r u n   h a z e l c a s t   - - i m a g e = h a z e l c a s t / h a z e l c a s t   - - p o r t = 5 7 0 1   S t a r t   a   h a z e l c a s t   p o d   a n d   s e t   e n v i r o n m e n t   v a r i a b l e s   \" D N S _ D O M A I N = c l u s t e r \"   a n d   \" P O D _ N A M E S P A C E = d e f a u l t \"   i n   t h e   c o n t a i n e r   k u b e c t l   r u n   h a z e l c a s t   - - i m a g e = h a z e l c a s t / h a z e l c a s t   - - e n v = \" D N S _ D O M A I N = c l u s t e r \"   - - e n v = \" P O D _ N A M E S P A C E = d e f a u l t \"   S t a r t   a   h a z e l c a s t   p o d   a n d   s e t   l a b e l s   \" a p p = h a z e l c a s t \"   a n d   \" e n v = p r o d \"   i n   t h e   c o n t a i n e r   k u b e c t l   r u n   h a z e l c a s t   - - i m a g e = h a z e l c a s t / h a z e l c a s t   - - l a b e l s = \" a p p = h a z e l c a s t , e n v = p r o d \"   D r y   r u n ;   p r i n t   t h e   c o r r e s p o n d i n g   A P I   o b j e c t s   w i t h o u t   c r e a t i n g   t h e m   k u b e c t l   r u n   n g i n x   - - i m a g e = n g i n x   - - d r y - r u n = c l i e n t   S t a r t   a   n g i n x   p o d ,   b u t   o v e r l o a d   t h e   s p e c   w i t h   a   p a r t i a l   s e t   o f   v a l u e s   p a r s e d   f r o m   J S O N   k u b e c t l   r u n   n g i n x   - - i m a g e = n g i n x   - - o v e r r i d e s = ' {   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" s p e c \" :   {   . . .   }   } '   S t a r t   a   b u s y b o x   p o d   a n d   k e e p   i t   i n   t h e   f o r e g r o u n d ,   d o n ' t   r e s t a r t   i t   i f   i t   e x i t s   k u b e c t l   r u n   - i   - t   b u s y b o x   - - i m a g e = b u s y b o x   - - r e s t a r t = N e v e r   S t a r t   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7369"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   r u n   N A M E   - - i m a g e = i m a g e   [ - - e n v = \" k e y = v a l u e \" ]   [ - - p o r t = p o r t ]   [ - - d r y - r u n = s e r v e r | c l i e n t ]   [ - - o v e r r i d e s = i n l i n e - j s o n ]   [ - - c o m m a n d ]   - -   [ C O M M A N D ]   [ a r g s . . . ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7370"
  },
  {
    "question": "What is expose?",
    "answer": "C r e a t e   a   s e r v i c e   f o r   a   r e p l i c a t e d   n g i n x ,   w h i c h   s e r v e s   o n   p o r t   8 0   a n d   c o n n e c t s   t o   t h e   c o n t a i n e r s   o n   p o r t   8 0 0 0   k u b e c t l   e x p o s e   r c   n g i n x   - - p o r t = 8 0   - - t a r g e t - p o r t = 8 0 0 0   C r e a t e   a   s e r v i c e   f o r   a   r e p l i c a t i o n   c o n t r o l l e r   i d e n t i f i e d   b y   t y p e   a n d   n a m e   s p e c i f i e d   i n   \" n g i n x - c o n t r o l l e r . y a m l \" ,   w h i c h   s e r v e s   o n   p o r t   8 0   a n d   c o n n e c t s   t o   t h e   c o n t a i n e r s   o n   p o r t   8 0 0 0   k u b e c t l   e x p o s e   - f   n g i n x - c o n t r o l l e r . y a m l   - - p o r t = 8 0   - - t a r g e t - p o r t = 8 0 0 0   C r e a t e   a   s e r v i c e   f o r   a   p o d   v a l i d - p o d ,   w h i c h   s e r v e s   o n   p o r t   4 4 4   w i t h   t h e   n a m e   \" f r o n t e n d \"   k u b e c t l   e x p o s e   p o d   v a l i d - p o d   - - p o r t = 4 4 4   - - n a m e = f r o n t e n d   C r e a t e   a   s e c o n d   s e r v i c e   b a s e d   o n   t h e   a b o v e   s e r v i c e ,   e x p o s i n g   t h e   c o n t a i n e r   p o r t   8 4 4 3   a s   p o r t   4 4 3   w i t h   t h e   n a m e   \" n g i n x - h t t p s \"   k u b e c t l   e x p o s e   s e r v i c e   n g i n x   - - p o r t = 4 4 3   - - t a r g e t - p o r t = 8 4 4 3   - - n a m e = n g i n x - h t t p s   C r e a t e   a   s e r v i c e   f o r   a   r e p l i c a t e d   s t r e a m i n g   a p p l i c a t i o n   o n   p o r t   4 1 0 0   b a l a n c i n g   U D P   t r a f f i c   a n d   n a m e d   ' v i d e o - s t r e a m ' .   k u b e c t l   e x p o s e   r c   s t r e a m e r   - - p o r t = 4 1 0 0   - - p r o t o c o l = U D P   - - n a m e = v i d e o - s t r e a m   C r e a t e   a   s e r v i c e   f o r   a   r e p l i c a t e d   n g i n x   u s i n g   r e p l i ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7371"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   e x p o s e   ( - f   F I L E N A M E   |   T Y P E   N A M E )   [ - - p o r t = p o r t ]   [ - - p r o t o c o l = T C P | U D P | S C T P ]   [ - - t a r g e t - p o r t = n u m b e r - o r - n a m e ]   [ - - n a m e = n a m e ]   [ - - e x t e r n a l - i p = e x t e r n a l - i p - o f - s e r v i c e ]   [ - - t y p e = t y p e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7372"
  },
  {
    "question": "What is delete?",
    "answer": "D e l e t e   a   p o d   u s i n g   t h e   t y p e   a n d   n a m e   s p e c i f i e d   i n   p o d . j s o n   k u b e c t l   d e l e t e   - f   . / p o d . j s o n   D e l e t e   r e s o u r c e s   f r o m   a   d i r e c t o r y   c o n t a i n i n g   k u s t o m i z a t i o n . y a m l   -   e . g .   d i r / k u s t o m i z a t i o n . y a m l   k u b e c t l   d e l e t e   - k   d i r   D e l e t e   a   p o d   b a s e d   o n   t h e   t y p e   a n d   n a m e   i n   t h e   J S O N   p a s s e d   i n t o   s t d i n   c a t   p o d . j s o n   |   k u b e c t l   d e l e t e   - f   -   D e l e t e   p o d s   a n d   s e r v i c e s   w i t h   s a m e   n a m e s   \" b a z \"   a n d   \" f o o \"   k u b e c t l   d e l e t e   p o d , s e r v i c e   b a z   f o o   D e l e t e   p o d s   a n d   s e r v i c e s   w i t h   l a b e l   n a m e = m y L a b e l   k u b e c t l   d e l e t e   p o d s , s e r v i c e s   - l   n a m e = m y L a b e l   D e l e t e   a   p o d   w i t h   m i n i m a l   d e l a y   k u b e c t l   d e l e t e   p o d   f o o   - - n o w   F o r c e   d e l e t e   a   p o d   o n   a   d e a d   n o d e   k u b e c t l   d e l e t e   p o d   f o o   - - f o r c e   D e l e t e   a l l   p o d s   k u b e c t l   d e l e t e   p o d s   - - a l l   D e l e t e   r e s o u r c e s   b y   f i l e   n a m e s ,   s t d i n ,   r e s o u r c e s   a n d   n a m e s ,   o r   b y   r e s o u r c e s   a n d   l a b e l   s e l e c t o r .   J S O N   a n d   Y A M L   f o r m a t s   a r e   a c c e p t e d .   O n l y   o n e   t y p e   o f   a r g u m e n t   m a y   b e   s p e c i f i e d :   f i l e   n a m e s ,   r e s o u r c e s   a n d   n a m e s ,   o r   r e s o u r c e s   a n d   l a b e l   s e l e c t o r .   S o m e   r e s o u r c e s ,   s u c h   a s   p o d s ,   s u p p o r t   g r a c e f u l   d e l e t i o n .   T h e s e   r e s o u r c e s   d e f i n e   a   d e f a u l t   p e r i o ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7373"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   d e l e t e   ( [ - f   F I L E N A M E ]   |   [ - k   D I R E C T O R Y ]   |   T Y P E   [ ( N A M E   |   - l   l a b e l   |   - - a l l ) ] )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7374"
  },
  {
    "question": "What is APP MANAGEMENT?",
    "answer": "T h i s   s e c t i o n   c o n t a i n s   c o m m a n d s   f o r   c r e a t i n g ,   u p d a t i n g ,   d e l e t i n g ,   a n d   v i e w i n g   y o u r   w o r k l o a d s   i n   a   K u b e r n e t e s   c l u s t e r .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7375"
  },
  {
    "question": "What is apply?",
    "answer": "A p p l y   t h e   c o n f i g u r a t i o n   i n   p o d . j s o n   t o   a   p o d   k u b e c t l   a p p l y   - f   . / p o d . j s o n   A p p l y   r e s o u r c e s   f r o m   a   d i r e c t o r y   c o n t a i n i n g   k u s t o m i z a t i o n . y a m l   -   e . g .   d i r / k u s t o m i z a t i o n . y a m l   k u b e c t l   a p p l y   - k   d i r /   A p p l y   t h e   J S O N   p a s s e d   i n t o   s t d i n   t o   a   p o d   c a t   p o d . j s o n   |   k u b e c t l   a p p l y   - f   -   N o t e :   - - p r u n e   i s   s t i l l   i n   A l p h a   #   A p p l y   t h e   c o n f i g u r a t i o n   i n   m a n i f e s t . y a m l   t h a t   m a t c h e s   l a b e l   a p p = n g i n x   a n d   d e l e t e   a l l   o t h e r   r e s o u r c e s   t h a t   a r e   n o t   i n   t h e   f i l e   a n d   m a t c h   l a b e l   a p p = n g i n x   k u b e c t l   a p p l y   - - p r u n e   - f   m a n i f e s t . y a m l   - l   a p p = n g i n x   A p p l y   t h e   c o n f i g u r a t i o n   i n   m a n i f e s t . y a m l   a n d   d e l e t e   a l l   t h e   o t h e r   c o n f i g   m a p s   t h a t   a r e   n o t   i n   t h e   f i l e   k u b e c t l   a p p l y   - - p r u n e   - f   m a n i f e s t . y a m l   - - a l l   - - p r u n e - w h i t e l i s t = c o r e / v 1 / C o n f i g M a p   A p p l y   a   c o n f i g u r a t i o n   t o   a   r e s o u r c e   b y   f i l e   n a m e   o r   s t d i n .   T h e   r e s o u r c e   n a m e   m u s t   b e   s p e c i f i e d .   T h i s   r e s o u r c e   w i l l   b e   c r e a t e d   i f   i t   d o e s n ' t   e x i s t   y e t .   T o   u s e   ' a p p l y ' ,   a l w a y s   c r e a t e   t h e   r e s o u r c e   i n i t i a l l y   w i t h   e i t h e r   ' a p p l y '   o r   ' c r e a t e   - - s a v e - c o n f i g ' .   J S O N   a n d   Y A M L   f o r m a t s   a r e   a c c e p t e d .   A l p h a   D i s c l a i m e r :   t h e   - - p r u ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7376"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   a p p l y   ( - f   F I L E N A M E   |   - k   D I R E C T O R Y )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7377"
  },
  {
    "question": "What is edit-last-applied?",
    "answer": "E d i t   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   t y p e / n a m e   i n   Y A M L   k u b e c t l   a p p l y   e d i t - l a s t - a p p l i e d   d e p l o y m e n t / n g i n x   E d i t   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   f i l e   i n   J S O N   k u b e c t l   a p p l y   e d i t - l a s t - a p p l i e d   - f   d e p l o y . y a m l   - o   j s o n   E d i t   t h e   l a t e s t   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   o f   r e s o u r c e s   f r o m   t h e   d e f a u l t   e d i t o r .   T h e   e d i t - l a s t - a p p l i e d   c o m m a n d   a l l o w s   y o u   t o   d i r e c t l y   e d i t   a n y   A P I   r e s o u r c e   y o u   c a n   r e t r i e v e   v i a   t h e   c o m m a n d - l i n e   t o o l s .   I t   w i l l   o p e n   t h e   e d i t o r   d e f i n e d   b y   y o u r   K U B E _ E D I T O R ,   o r   E D I T O R   e n v i r o n m e n t   v a r i a b l e s ,   o r   f a l l   b a c k   t o   ' v i '   f o r   L i n u x   o r   ' n o t e p a d '   f o r   W i n d o w s .   Y o u   c a n   e d i t   m u l t i p l e   o b j e c t s ,   a l t h o u g h   c h a n g e s   a r e   a p p l i e d   o n e   a t   a   t i m e .   T h e   c o m m a n d   a c c e p t s   f i l e   n a m e s   a s   w e l l   a s   c o m m a n d - l i n e   a r g u m e n t s ,   a l t h o u g h   t h e   f i l e s   y o u   p o i n t   t o   m u s t   b e   p r e v i o u s l y   s a v e d   v e r s i o n s   o f   r e s o u r c e s .   T h e   d e f a u l t   f o r m a t   i s   Y A M L .   T o   e d i t   i n   J S O N ,   s p e c i f y   \" - o   j s o n \" .   T h e   f l a g   - - w i n d o w s - l i n e - e n d i n g s   c a n   b e   u s e d   t o   f o r c e   W i n d o w s   l i n e   e n d i n g s ,   o t h e r w i s e   t h e   d e f a u l t   f o r   y o u r   o p e r a t i n g   s y s t e m ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7378"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   a p p l y   e d i t - l a s t - a p p l i e d   ( R E S O U R C E / N A M E   |   - f   F I L E N A M E )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7379"
  },
  {
    "question": "What is set-last-applied?",
    "answer": "S e t   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   o f   a   r e s o u r c e   t o   m a t c h   t h e   c o n t e n t s   o f   a   f i l e   k u b e c t l   a p p l y   s e t - l a s t - a p p l i e d   - f   d e p l o y . y a m l   E x e c u t e   s e t - l a s t - a p p l i e d   a g a i n s t   e a c h   c o n f i g u r a t i o n   f i l e   i n   a   d i r e c t o r y   k u b e c t l   a p p l y   s e t - l a s t - a p p l i e d   - f   p a t h /   S e t   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   o f   a   r e s o u r c e   t o   m a t c h   t h e   c o n t e n t s   o f   a   f i l e ;   w i l l   c r e a t e   t h e   a n n o t a t i o n   i f   i t   d o e s   n o t   a l r e a d y   e x i s t   k u b e c t l   a p p l y   s e t - l a s t - a p p l i e d   - f   d e p l o y . y a m l   - - c r e a t e - a n n o t a t i o n = t r u e   S e t   t h e   l a t e s t   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   s e t t i n g   i t   t o   m a t c h   t h e   c o n t e n t s   o f   a   f i l e .   T h i s   r e s u l t s   i n   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   b e i n g   u p d a t e d   a s   t h o u g h   ' k u b e c t l   a p p l y   - f   '   w a s   r u n ,   w i t h o u t   u p d a t i n g   a n y   o t h e r   p a r t s   o f   t h e   o b j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7380"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   a p p l y   s e t - l a s t - a p p l i e d   - f   F I L E N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7381"
  },
  {
    "question": "What is view-last-applied?",
    "answer": "V i e w   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   t y p e / n a m e   i n   Y A M L   k u b e c t l   a p p l y   v i e w - l a s t - a p p l i e d   d e p l o y m e n t / n g i n x   V i e w   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   f i l e   i n   J S O N   k u b e c t l   a p p l y   v i e w - l a s t - a p p l i e d   - f   d e p l o y . y a m l   - o   j s o n   V i e w   t h e   l a t e s t   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   t y p e / n a m e   o r   f i l e .   T h e   d e f a u l t   o u t p u t   w i l l   b e   p r i n t e d   t o   s t d o u t   i n   Y A M L   f o r m a t .   Y o u   c a n   u s e   t h e   - o   o p t i o n   t o   c h a n g e   t h e   o u t p u t   f o r m a t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7382"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   a p p l y   v i e w - l a s t - a p p l i e d   ( T Y P E   [ N A M E   |   - l   l a b e l ]   |   T Y P E / N A M E   |   - f   F I L E N A M E )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7383"
  },
  {
    "question": "What is annotate?",
    "answer": "U p d a t e   p o d   ' f o o '   w i t h   t h e   a n n o t a t i o n   ' d e s c r i p t i o n '   a n d   t h e   v a l u e   ' m y   f r o n t e n d '   #   I f   t h e   s a m e   a n n o t a t i o n   i s   s e t   m u l t i p l e   t i m e s ,   o n l y   t h e   l a s t   v a l u e   w i l l   b e   a p p l i e d   k u b e c t l   a n n o t a t e   p o d s   f o o   d e s c r i p t i o n = ' m y   f r o n t e n d '   U p d a t e   a   p o d   i d e n t i f i e d   b y   t y p e   a n d   n a m e   i n   \" p o d . j s o n \"   k u b e c t l   a n n o t a t e   - f   p o d . j s o n   d e s c r i p t i o n = ' m y   f r o n t e n d '   U p d a t e   p o d   ' f o o '   w i t h   t h e   a n n o t a t i o n   ' d e s c r i p t i o n '   a n d   t h e   v a l u e   ' m y   f r o n t e n d   r u n n i n g   n g i n x ' ,   o v e r w r i t i n g   a n y   e x i s t i n g   v a l u e   k u b e c t l   a n n o t a t e   - - o v e r w r i t e   p o d s   f o o   d e s c r i p t i o n = ' m y   f r o n t e n d   r u n n i n g   n g i n x '   U p d a t e   a l l   p o d s   i n   t h e   n a m e s p a c e   k u b e c t l   a n n o t a t e   p o d s   - - a l l   d e s c r i p t i o n = ' m y   f r o n t e n d   r u n n i n g   n g i n x '   U p d a t e   p o d   ' f o o '   o n l y   i f   t h e   r e s o u r c e   i s   u n c h a n g e d   f r o m   v e r s i o n   1   k u b e c t l   a n n o t a t e   p o d s   f o o   d e s c r i p t i o n = ' m y   f r o n t e n d   r u n n i n g   n g i n x '   - - r e s o u r c e - v e r s i o n = 1   U p d a t e   p o d   ' f o o '   b y   r e m o v i n g   a n   a n n o t a t i o n   n a m e d   ' d e s c r i p t i o n '   i f   i t   e x i s t s   #   D o e s   n o t   r e q u i r e   t h e   - - o v e r w r i t e   f l a g   k u b e c t l   a n n o t a t e   p o d s   f o o   d e s c r i p t i o n -   U p d a t e   t h e   a n n o t a t i o n s   o n   o n e   o r   m o r e   r e s o u r c e s .   A l l   K u b e r n e t e s ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7384"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   a n n o t a t e   [ - - o v e r w r i t e ]   ( - f   F I L E N A M E   |   T Y P E   N A M E )   K E Y _ 1 = V A L _ 1   . . .   K E Y _ N = V A L _ N   [ - - r e s o u r c e - v e r s i o n = v e r s i o n ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7385"
  },
  {
    "question": "What is autoscale?",
    "answer": "A u t o   s c a l e   a   d e p l o y m e n t   \" f o o \" ,   w i t h   t h e   n u m b e r   o f   p o d s   b e t w e e n   2   a n d   1 0 ,   n o   t a r g e t   C P U   u t i l i z a t i o n   s p e c i f i e d   s o   a   d e f a u l t   a u t o s c a l i n g   p o l i c y   w i l l   b e   u s e d   k u b e c t l   a u t o s c a l e   d e p l o y m e n t   f o o   - - m i n = 2   - - m a x = 1 0   A u t o   s c a l e   a   r e p l i c a t i o n   c o n t r o l l e r   \" f o o \" ,   w i t h   t h e   n u m b e r   o f   p o d s   b e t w e e n   1   a n d   5 ,   t a r g e t   C P U   u t i l i z a t i o n   a t   8 0 %   k u b e c t l   a u t o s c a l e   r c   f o o   - - m a x = 5   - - c p u - p e r c e n t = 8 0   C r e a t e s   a n   a u t o s c a l e r   t h a t   a u t o m a t i c a l l y   c h o o s e s   a n d   s e t s   t h e   n u m b e r   o f   p o d s   t h a t   r u n   i n   a   K u b e r n e t e s   c l u s t e r .   L o o k s   u p   a   d e p l o y m e n t ,   r e p l i c a   s e t ,   s t a t e f u l   s e t ,   o r   r e p l i c a t i o n   c o n t r o l l e r   b y   n a m e   a n d   c r e a t e s   a n   a u t o s c a l e r   t h a t   u s e s   t h e   g i v e n   r e s o u r c e   a s   a   r e f e r e n c e .   A n   a u t o s c a l e r   c a n   a u t o m a t i c a l l y   i n c r e a s e   o r   d e c r e a s e   n u m b e r   o f   p o d s   d e p l o y e d   w i t h i n   t h e   s y s t e m   a s   n e e d e d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7386"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   a u t o s c a l e   ( - f   F I L E N A M E   |   T Y P E   N A M E   |   T Y P E / N A M E )   [ - - m i n = M I N P O D S ]   - - m a x = M A X P O D S   [ - - c p u - p e r c e n t = C P U ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7387"
  },
  {
    "question": "What is debug?",
    "answer": "C r e a t e   a n   i n t e r a c t i v e   d e b u g g i n g   s e s s i o n   i n   p o d   m y p o d   a n d   i m m e d i a t e l y   a t t a c h   t o   i t .   #   ( r e q u i r e s   t h e   E p h e m e r a l C o n t a i n e r s   f e a t u r e   t o   b e   e n a b l e d   i n   t h e   c l u s t e r )   k u b e c t l   d e b u g   m y p o d   - i t   - - i m a g e = b u s y b o x   C r e a t e   a   d e b u g   c o n t a i n e r   n a m e d   d e b u g g e r   u s i n g   a   c u s t o m   a u t o m a t e d   d e b u g g i n g   i m a g e .   #   ( r e q u i r e s   t h e   E p h e m e r a l C o n t a i n e r s   f e a t u r e   t o   b e   e n a b l e d   i n   t h e   c l u s t e r )   k u b e c t l   d e b u g   - - i m a g e = m y p r o j / d e b u g - t o o l s   - c   d e b u g g e r   m y p o d   C r e a t e   a   c o p y   o f   m y p o d   a d d i n g   a   d e b u g   c o n t a i n e r   a n d   a t t a c h   t o   i t   k u b e c t l   d e b u g   m y p o d   - i t   - - i m a g e = b u s y b o x   - - c o p y - t o = m y - d e b u g g e r   C r e a t e   a   c o p y   o f   m y p o d   c h a n g i n g   t h e   c o m m a n d   o f   m y c o n t a i n e r   k u b e c t l   d e b u g   m y p o d   - i t   - - c o p y - t o = m y - d e b u g g e r   - - c o n t a i n e r = m y c o n t a i n e r   - -   s h   C r e a t e   a   c o p y   o f   m y p o d   c h a n g i n g   a l l   c o n t a i n e r   i m a g e s   t o   b u s y b o x   k u b e c t l   d e b u g   m y p o d   - - c o p y - t o = m y - d e b u g g e r   - - s e t - i m a g e = * = b u s y b o x   C r e a t e   a   c o p y   o f   m y p o d   a d d i n g   a   d e b u g   c o n t a i n e r   a n d   c h a n g i n g   c o n t a i n e r   i m a g e s   k u b e c t l   d e b u g   m y p o d   - i t   - - c o p y - t o = m y - d e b u g g e r   - - i m a g e = d e b i a n   - - s e t - i m a g e = a p p = a p p : d e b u g , s i d e c a r = s i d e c a r : d e b u g   C r e a t e   a n   i ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7388"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   d e b u g   ( P O D   |   T Y P E [ [ . V E R S I O N ] . G R O U P ] / N A M E )   [   - -   C O M M A N D   [ a r g s . . . ]   ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7389"
  },
  {
    "question": "What is diff?",
    "answer": "D i f f   r e s o u r c e s   i n c l u d e d   i n   p o d . j s o n   k u b e c t l   d i f f   - f   p o d . j s o n   D i f f   f i l e   r e a d   f r o m   s t d i n   c a t   s e r v i c e . y a m l   |   k u b e c t l   d i f f   - f   -   D i f f   c o n f i g u r a t i o n s   s p e c i f i e d   b y   f i l e   n a m e   o r   s t d i n   b e t w e e n   t h e   c u r r e n t   o n l i n e   c o n f i g u r a t i o n ,   a n d   t h e   c o n f i g u r a t i o n   a s   i t   w o u l d   b e   i f   a p p l i e d .   T h e   o u t p u t   i s   a l w a y s   Y A M L .   K U B E C T L _ E X T E R N A L _ D I F F   e n v i r o n m e n t   v a r i a b l e   c a n   b e   u s e d   t o   s e l e c t   y o u r   o w n   d i f f   c o m m a n d .   U s e r s   c a n   u s e   e x t e r n a l   c o m m a n d s   w i t h   p a r a m s   t o o ,   e x a m p l e :   K U B E C T L _ E X T E R N A L _ D I F F = \" c o l o r d i f f   - N   - u \"   B y   d e f a u l t ,   t h e   \" d i f f \"   c o m m a n d   a v a i l a b l e   i n   y o u r   p a t h   w i l l   b e   r u n   w i t h   t h e   \" - u \"   ( u n i f i e d   d i f f )   a n d   \" - N \"   ( t r e a t   a b s e n t   f i l e s   a s   e m p t y )   o p t i o n s .   E x i t   s t a t u s :   0   N o   d i f f e r e n c e s   w e r e   f o u n d .   1   D i f f e r e n c e s   w e r e   f o u n d .   > 1   K u b e c t l   o r   d i f f   f a i l e d   w i t h   a n   e r r o r .   N o t e :   K U B E C T L _ E X T E R N A L _ D I F F ,   i f   u s e d ,   i s   e x p e c t e d   t o   f o l l o w   t h a t   c o n v e n t i o n .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7390"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   d i f f   - f   F I L E N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7391"
  },
  {
    "question": "What is edit?",
    "answer": "E d i t   t h e   s e r v i c e   n a m e d   ' d o c k e r - r e g i s t r y '   k u b e c t l   e d i t   s v c / d o c k e r - r e g i s t r y   U s e   a n   a l t e r n a t i v e   e d i t o r   K U B E _ E D I T O R = \" n a n o \"   k u b e c t l   e d i t   s v c / d o c k e r - r e g i s t r y   E d i t   t h e   j o b   ' m y j o b '   i n   J S O N   u s i n g   t h e   v 1   A P I   f o r m a t   k u b e c t l   e d i t   j o b . v 1 . b a t c h / m y j o b   - o   j s o n   E d i t   t h e   d e p l o y m e n t   ' m y d e p l o y m e n t '   i n   Y A M L   a n d   s a v e   t h e   m o d i f i e d   c o n f i g   i n   i t s   a n n o t a t i o n   k u b e c t l   e d i t   d e p l o y m e n t / m y d e p l o y m e n t   - o   y a m l   - - s a v e - c o n f i g   E d i t   a   r e s o u r c e   f r o m   t h e   d e f a u l t   e d i t o r .   T h e   e d i t   c o m m a n d   a l l o w s   y o u   t o   d i r e c t l y   e d i t   a n y   A P I   r e s o u r c e   y o u   c a n   r e t r i e v e   v i a   t h e   c o m m a n d - l i n e   t o o l s .   I t   w i l l   o p e n   t h e   e d i t o r   d e f i n e d   b y   y o u r   K U B E _ E D I T O R ,   o r   E D I T O R   e n v i r o n m e n t   v a r i a b l e s ,   o r   f a l l   b a c k   t o   ' v i '   f o r   L i n u x   o r   ' n o t e p a d '   f o r   W i n d o w s .   Y o u   c a n   e d i t   m u l t i p l e   o b j e c t s ,   a l t h o u g h   c h a n g e s   a r e   a p p l i e d   o n e   a t   a   t i m e .   T h e   c o m m a n d   a c c e p t s   f i l e   n a m e s   a s   w e l l   a s   c o m m a n d - l i n e   a r g u m e n t s ,   a l t h o u g h   t h e   f i l e s   y o u   p o i n t   t o   m u s t   b e   p r e v i o u s l y   s a v e d   v e r s i o n s   o f   r e s o u r c e s .   E d i t i n g   i s   d o n e   w i t h   t h e   A P I   v e r s i o n   u s e d   t o   f e t c h   t h e   r e s o u r c e .   T o   e d i t   u s i n g   a   s p e c i f i c   A P I   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7392"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   e d i t   ( R E S O U R C E / N A M E   |   - f   F I L E N A M E )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7393"
  },
  {
    "question": "What is kustomize?",
    "answer": "B u i l d   t h e   c u r r e n t   w o r k i n g   d i r e c t o r y   k u b e c t l   k u s t o m i z e   B u i l d   s o m e   s h a r e d   c o n f i g u r a t i o n   d i r e c t o r y   k u b e c t l   k u s t o m i z e   / h o m e / c o n f i g / p r o d u c t i o n   B u i l d   f r o m   g i t h u b   k u b e c t l   k u s t o m i z e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s - s i g s / k u s t o m i z e . g i t / e x a m p l e s / h e l l o W o r l d ? r e f = v 1 . 0 . 6   B u i l d   a   s e t   o f   K R M   r e s o u r c e s   u s i n g   a   ' k u s t o m i z a t i o n . y a m l '   f i l e .   T h e   D I R   a r g u m e n t   m u s t   b e   a   p a t h   t o   a   d i r e c t o r y   c o n t a i n i n g   ' k u s t o m i z a t i o n . y a m l ' ,   o r   a   g i t   r e p o s i t o r y   U R L   w i t h   a   p a t h   s u f f i x   s p e c i f y i n g   s a m e   w i t h   r e s p e c t   t o   t h e   r e p o s i t o r y   r o o t .   I f   D I R   i s   o m i t t e d ,   ' . '   i s   a s s u m e d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7394"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   k u s t o m i z e   D I R",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7395"
  },
  {
    "question": "What is label?",
    "answer": "U p d a t e   p o d   ' f o o '   w i t h   t h e   l a b e l   ' u n h e a l t h y '   a n d   t h e   v a l u e   ' t r u e '   k u b e c t l   l a b e l   p o d s   f o o   u n h e a l t h y = t r u e   U p d a t e   p o d   ' f o o '   w i t h   t h e   l a b e l   ' s t a t u s '   a n d   t h e   v a l u e   ' u n h e a l t h y ' ,   o v e r w r i t i n g   a n y   e x i s t i n g   v a l u e   k u b e c t l   l a b e l   - - o v e r w r i t e   p o d s   f o o   s t a t u s = u n h e a l t h y   U p d a t e   a l l   p o d s   i n   t h e   n a m e s p a c e   k u b e c t l   l a b e l   p o d s   - - a l l   s t a t u s = u n h e a l t h y   U p d a t e   a   p o d   i d e n t i f i e d   b y   t h e   t y p e   a n d   n a m e   i n   \" p o d . j s o n \"   k u b e c t l   l a b e l   - f   p o d . j s o n   s t a t u s = u n h e a l t h y   U p d a t e   p o d   ' f o o '   o n l y   i f   t h e   r e s o u r c e   i s   u n c h a n g e d   f r o m   v e r s i o n   1   k u b e c t l   l a b e l   p o d s   f o o   s t a t u s = u n h e a l t h y   - - r e s o u r c e - v e r s i o n = 1   U p d a t e   p o d   ' f o o '   b y   r e m o v i n g   a   l a b e l   n a m e d   ' b a r '   i f   i t   e x i s t s   #   D o e s   n o t   r e q u i r e   t h e   - - o v e r w r i t e   f l a g   k u b e c t l   l a b e l   p o d s   f o o   b a r -   U p d a t e   t h e   l a b e l s   o n   a   r e s o u r c e .   A   l a b e l   k e y   a n d   v a l u e   m u s t   b e g i n   w i t h   a   l e t t e r   o r   n u m b e r ,   a n d   m a y   c o n t a i n   l e t t e r s ,   n u m b e r s ,   h y p h e n s ,   d o t s ,   a n d   u n d e r s c o r e s ,   u p   t o   6 3   c h a r a c t e r s   e a c h .   O p t i o n a l l y ,   t h e   k e y   c a n   b e g i n   w i t h   a   D N S   s u b d o m a i n   p r e f i x   a n d   a   s i n g l e   ' / ' ,   l i k e   e x a m p l e . c o m / m y - a p p .   I f   - - o v e r w r i t e   i s   t r u e ,   t h e n ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7396"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   l a b e l   [ - - o v e r w r i t e ]   ( - f   F I L E N A M E   |   T Y P E   N A M E )   K E Y _ 1 = V A L _ 1   . . .   K E Y _ N = V A L _ N   [ - - r e s o u r c e - v e r s i o n = v e r s i o n ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7397"
  },
  {
    "question": "What is patch?",
    "answer": "P a r t i a l l y   u p d a t e   a   n o d e   u s i n g   a   s t r a t e g i c   m e r g e   p a t c h ,   s p e c i f y i n g   t h e   p a t c h   a s   J S O N   k u b e c t l   p a t c h   n o d e   k 8 s - n o d e - 1   - p   ' { \" s p e c \" : { \" u n s c h e d u l a b l e \" : t r u e } } '   P a r t i a l l y   u p d a t e   a   n o d e   u s i n g   a   s t r a t e g i c   m e r g e   p a t c h ,   s p e c i f y i n g   t h e   p a t c h   a s   Y A M L   k u b e c t l   p a t c h   n o d e   k 8 s - n o d e - 1   - p   $ ' s p e c : \\ n   u n s c h e d u l a b l e :   t r u e '   P a r t i a l l y   u p d a t e   a   n o d e   i d e n t i f i e d   b y   t h e   t y p e   a n d   n a m e   s p e c i f i e d   i n   \" n o d e . j s o n \"   u s i n g   s t r a t e g i c   m e r g e   p a t c h   k u b e c t l   p a t c h   - f   n o d e . j s o n   - p   ' { \" s p e c \" : { \" u n s c h e d u l a b l e \" : t r u e } } '   U p d a t e   a   c o n t a i n e r ' s   i m a g e ;   s p e c . c o n t a i n e r s [ * ] . n a m e   i s   r e q u i r e d   b e c a u s e   i t ' s   a   m e r g e   k e y   k u b e c t l   p a t c h   p o d   v a l i d - p o d   - p   ' { \" s p e c \" : { \" c o n t a i n e r s \" : [ { \" n a m e \" : \" k u b e r n e t e s - s e r v e - h o s t n a m e \" , \" i m a g e \" : \" n e w   i m a g e \" } ] } } '   U p d a t e   a   c o n t a i n e r ' s   i m a g e   u s i n g   a   J S O N   p a t c h   w i t h   p o s i t i o n a l   a r r a y s   k u b e c t l   p a t c h   p o d   v a l i d - p o d   - - t y p e = ' j s o n '   - p = ' [ { \" o p \" :   \" r e p l a c e \" ,   \" p a t h \" :   \" / s p e c / c o n t a i n e r s / 0 / i m a g e \" ,   \" v a l u e \" : \" n e w   i m a g e \" } ] '   U p d a t e   f i e l d s   o f   a   r e s o u r c e   u s i n g   s t r a t e g i c   m e r g e   p a t c h ,   a   J S O N   m e r g e   p a t c h ,   o r   a   J S O N   p a t c h .   J S O N   a n d   Y A M L   f o r m a t s   a r e   a c c e p t e d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7398"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   p a t c h   ( - f   F I L E N A M E   |   T Y P E   N A M E )   [ - p   P A T C H | - - p a t c h - f i l e   F I L E ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7399"
  },
  {
    "question": "What is replace?",
    "answer": "R e p l a c e   a   p o d   u s i n g   t h e   d a t a   i n   p o d . j s o n   k u b e c t l   r e p l a c e   - f   . / p o d . j s o n   R e p l a c e   a   p o d   b a s e d   o n   t h e   J S O N   p a s s e d   i n t o   s t d i n   c a t   p o d . j s o n   |   k u b e c t l   r e p l a c e   - f   -   U p d a t e   a   s i n g l e - c o n t a i n e r   p o d ' s   i m a g e   v e r s i o n   ( t a g )   t o   v 4   k u b e c t l   g e t   p o d   m y p o d   - o   y a m l   |   s e d   ' s / \\ ( i m a g e :   m y i m a g e \\ ) : . * $ / \\ 1 : v 4 / '   |   k u b e c t l   r e p l a c e   - f   -   F o r c e   r e p l a c e ,   d e l e t e   a n d   t h e n   r e - c r e a t e   t h e   r e s o u r c e   k u b e c t l   r e p l a c e   - - f o r c e   - f   . / p o d . j s o n   R e p l a c e   a   r e s o u r c e   b y   f i l e   n a m e   o r   s t d i n .   J S O N   a n d   Y A M L   f o r m a t s   a r e   a c c e p t e d .   I f   r e p l a c i n g   a n   e x i s t i n g   r e s o u r c e ,   t h e   c o m p l e t e   r e s o u r c e   s p e c   m u s t   b e   p r o v i d e d .   T h i s   c a n   b e   o b t a i n e d   b y   $   k u b e c t l   g e t   T Y P E   N A M E   - o   y a m l",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7400"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   r e p l a c e   - f   F I L E N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7401"
  },
  {
    "question": "What is rollout?",
    "answer": "R o l l b a c k   t o   t h e   p r e v i o u s   d e p l o y m e n t   k u b e c t l   r o l l o u t   u n d o   d e p l o y m e n t / a b c   C h e c k   t h e   r o l l o u t   s t a t u s   o f   a   d a e m o n s e t   k u b e c t l   r o l l o u t   s t a t u s   d a e m o n s e t / f o o   M a n a g e   t h e   r o l l o u t   o f   a   r e s o u r c e .   V a l i d   r e s o u r c e   t y p e s   i n c l u d e :   d e p l o y m e n t s   d a e m o n s e t s   s t a t e f u l s e t s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7402"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   r o l l o u t   S U B C O M M A N D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7403"
  },
  {
    "question": "What is history?",
    "answer": "V i e w   t h e   r o l l o u t   h i s t o r y   o f   a   d e p l o y m e n t   k u b e c t l   r o l l o u t   h i s t o r y   d e p l o y m e n t / a b c   V i e w   t h e   d e t a i l s   o f   d a e m o n s e t   r e v i s i o n   3   k u b e c t l   r o l l o u t   h i s t o r y   d a e m o n s e t / a b c   - - r e v i s i o n = 3   V i e w   p r e v i o u s   r o l l o u t   r e v i s i o n s   a n d   c o n f i g u r a t i o n s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7404"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   r o l l o u t   h i s t o r y   ( T Y P E   N A M E   |   T Y P E / N A M E )   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7405"
  },
  {
    "question": "What is pause?",
    "answer": "M a r k   t h e   n g i n x   d e p l o y m e n t   a s   p a u s e d   #   A n y   c u r r e n t   s t a t e   o f   t h e   d e p l o y m e n t   w i l l   c o n t i n u e   i t s   f u n c t i o n ;   n e w   u p d a t e s   #   t o   t h e   d e p l o y m e n t   w i l l   n o t   h a v e   a n   e f f e c t   a s   l o n g   a s   t h e   d e p l o y m e n t   i s   p a u s e d   k u b e c t l   r o l l o u t   p a u s e   d e p l o y m e n t / n g i n x   M a r k   t h e   p r o v i d e d   r e s o u r c e   a s   p a u s e d .   P a u s e d   r e s o u r c e s   w i l l   n o t   b e   r e c o n c i l e d   b y   a   c o n t r o l l e r .   U s e   \" k u b e c t l   r o l l o u t   r e s u m e \"   t o   r e s u m e   a   p a u s e d   r e s o u r c e .   C u r r e n t l y   o n l y   d e p l o y m e n t s   s u p p o r t   b e i n g   p a u s e d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7406"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   r o l l o u t   p a u s e   R E S O U R C E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7407"
  },
  {
    "question": "What is restart?",
    "answer": "R e s t a r t   a   d e p l o y m e n t   k u b e c t l   r o l l o u t   r e s t a r t   d e p l o y m e n t / n g i n x   R e s t a r t   a   d a e m o n   s e t   k u b e c t l   r o l l o u t   r e s t a r t   d a e m o n s e t / a b c   R e s t a r t   a   r e s o u r c e .   R e s o u r c e   r o l l o u t   w i l l   b e   r e s t a r t e d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7408"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   r o l l o u t   r e s t a r t   R E S O U R C E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7409"
  },
  {
    "question": "What is resume?",
    "answer": "R e s u m e   a n   a l r e a d y   p a u s e d   d e p l o y m e n t   k u b e c t l   r o l l o u t   r e s u m e   d e p l o y m e n t / n g i n x   R e s u m e   a   p a u s e d   r e s o u r c e .   P a u s e d   r e s o u r c e s   w i l l   n o t   b e   r e c o n c i l e d   b y   a   c o n t r o l l e r .   B y   r e s u m i n g   a   r e s o u r c e ,   w e   a l l o w   i t   t o   b e   r e c o n c i l e d   a g a i n .   C u r r e n t l y   o n l y   d e p l o y m e n t s   s u p p o r t   b e i n g   r e s u m e d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7410"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   r o l l o u t   r e s u m e   R E S O U R C E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7411"
  },
  {
    "question": "What is status?",
    "answer": "W a t c h   t h e   r o l l o u t   s t a t u s   o f   a   d e p l o y m e n t   k u b e c t l   r o l l o u t   s t a t u s   d e p l o y m e n t / n g i n x   S h o w   t h e   s t a t u s   o f   t h e   r o l l o u t .   B y   d e f a u l t   ' r o l l o u t   s t a t u s '   w i l l   w a t c h   t h e   s t a t u s   o f   t h e   l a t e s t   r o l l o u t   u n t i l   i t ' s   d o n e .   I f   y o u   d o n ' t   w a n t   t o   w a i t   f o r   t h e   r o l l o u t   t o   f i n i s h   t h e n   y o u   c a n   u s e   - - w a t c h = f a l s e .   N o t e   t h a t   i f   a   n e w   r o l l o u t   s t a r t s   i n - b e t w e e n ,   t h e n   ' r o l l o u t   s t a t u s '   w i l l   c o n t i n u e   w a t c h i n g   t h e   l a t e s t   r e v i s i o n .   I f   y o u   w a n t   t o   p i n   t o   a   s p e c i f i c   r e v i s i o n   a n d   a b o r t   i f   i t   i s   r o l l e d   o v e r   b y   a n o t h e r   r e v i s i o n ,   u s e   - - r e v i s i o n = N   w h e r e   N   i s   t h e   r e v i s i o n   y o u   n e e d   t o   w a t c h   f o r .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7412"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   r o l l o u t   s t a t u s   ( T Y P E   N A M E   |   T Y P E / N A M E )   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7413"
  },
  {
    "question": "What is undo?",
    "answer": "R o l l   b a c k   t o   t h e   p r e v i o u s   d e p l o y m e n t   k u b e c t l   r o l l o u t   u n d o   d e p l o y m e n t / a b c   R o l l   b a c k   t o   d a e m o n s e t   r e v i s i o n   3   k u b e c t l   r o l l o u t   u n d o   d a e m o n s e t / a b c   - - t o - r e v i s i o n = 3   R o l l   b a c k   t o   t h e   p r e v i o u s   d e p l o y m e n t   w i t h   d r y - r u n   k u b e c t l   r o l l o u t   u n d o   - - d r y - r u n = s e r v e r   d e p l o y m e n t / a b c   R o l l   b a c k   t o   a   p r e v i o u s   r o l l o u t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7414"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   r o l l o u t   u n d o   ( T Y P E   N A M E   |   T Y P E / N A M E )   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7415"
  },
  {
    "question": "What is scale?",
    "answer": "S c a l e   a   r e p l i c a   s e t   n a m e d   ' f o o '   t o   3   k u b e c t l   s c a l e   - - r e p l i c a s = 3   r s / f o o   S c a l e   a   r e s o u r c e   i d e n t i f i e d   b y   t y p e   a n d   n a m e   s p e c i f i e d   i n   \" f o o . y a m l \"   t o   3   k u b e c t l   s c a l e   - - r e p l i c a s = 3   - f   f o o . y a m l   I f   t h e   d e p l o y m e n t   n a m e d   m y s q l ' s   c u r r e n t   s i z e   i s   2 ,   s c a l e   m y s q l   t o   3   k u b e c t l   s c a l e   - - c u r r e n t - r e p l i c a s = 2   - - r e p l i c a s = 3   d e p l o y m e n t / m y s q l   S c a l e   m u l t i p l e   r e p l i c a t i o n   c o n t r o l l e r s   k u b e c t l   s c a l e   - - r e p l i c a s = 5   r c / f o o   r c / b a r   r c / b a z   S c a l e   s t a t e f u l   s e t   n a m e d   ' w e b '   t o   3   k u b e c t l   s c a l e   - - r e p l i c a s = 3   s t a t e f u l s e t / w e b   S e t   a   n e w   s i z e   f o r   a   d e p l o y m e n t ,   r e p l i c a   s e t ,   r e p l i c a t i o n   c o n t r o l l e r ,   o r   s t a t e f u l   s e t .   S c a l e   a l s o   a l l o w s   u s e r s   t o   s p e c i f y   o n e   o r   m o r e   p r e c o n d i t i o n s   f o r   t h e   s c a l e   a c t i o n .   I f   - - c u r r e n t - r e p l i c a s   o r   - - r e s o u r c e - v e r s i o n   i s   s p e c i f i e d ,   i t   i s   v a l i d a t e d   b e f o r e   t h e   s c a l e   i s   a t t e m p t e d ,   a n d   i t   i s   g u a r a n t e e d   t h a t   t h e   p r e c o n d i t i o n   h o l d s   t r u e   w h e n   t h e   s c a l e   i s   s e n t   t o   t h e   s e r v e r .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7416"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   s c a l e   [ - - r e s o u r c e - v e r s i o n = v e r s i o n ]   [ - - c u r r e n t - r e p l i c a s = c o u n t ]   - - r e p l i c a s = C O U N T   ( - f   F I L E N A M E   |   T Y P E   N A M E )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7417"
  },
  {
    "question": "What is set?",
    "answer": "C o n f i g u r e   a p p l i c a t i o n   r e s o u r c e s .   T h e s e   c o m m a n d s   h e l p   y o u   m a k e   c h a n g e s   t o   e x i s t i n g   a p p l i c a t i o n   r e s o u r c e s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7418"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   s e t   S U B C O M M A N D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7419"
  },
  {
    "question": "What is env?",
    "answer": "U p d a t e   d e p l o y m e n t   ' r e g i s t r y '   w i t h   a   n e w   e n v i r o n m e n t   v a r i a b l e   k u b e c t l   s e t   e n v   d e p l o y m e n t / r e g i s t r y   S T O R A G E _ D I R = / l o c a l   L i s t   t h e   e n v i r o n m e n t   v a r i a b l e s   d e f i n e d   o n   a   d e p l o y m e n t s   ' s a m p l e - b u i l d '   k u b e c t l   s e t   e n v   d e p l o y m e n t / s a m p l e - b u i l d   - - l i s t   L i s t   t h e   e n v i r o n m e n t   v a r i a b l e s   d e f i n e d   o n   a l l   p o d s   k u b e c t l   s e t   e n v   p o d s   - - a l l   - - l i s t   O u t p u t   m o d i f i e d   d e p l o y m e n t   i n   Y A M L ,   a n d   d o e s   n o t   a l t e r   t h e   o b j e c t   o n   t h e   s e r v e r   k u b e c t l   s e t   e n v   d e p l o y m e n t / s a m p l e - b u i l d   S T O R A G E _ D I R = / d a t a   - o   y a m l   U p d a t e   a l l   c o n t a i n e r s   i n   a l l   r e p l i c a t i o n   c o n t r o l l e r s   i n   t h e   p r o j e c t   t o   h a v e   E N V = p r o d   k u b e c t l   s e t   e n v   r c   - - a l l   E N V = p r o d   I m p o r t   e n v i r o n m e n t   f r o m   a   s e c r e t   k u b e c t l   s e t   e n v   - - f r o m = s e c r e t / m y s e c r e t   d e p l o y m e n t / m y a p p   I m p o r t   e n v i r o n m e n t   f r o m   a   c o n f i g   m a p   w i t h   a   p r e f i x   k u b e c t l   s e t   e n v   - - f r o m = c o n f i g m a p / m y c o n f i g m a p   - - p r e f i x = M Y S Q L _   d e p l o y m e n t / m y a p p   I m p o r t   s p e c i f i c   k e y s   f r o m   a   c o n f i g   m a p   k u b e c t l   s e t   e n v   - - k e y s = m y - e x a m p l e - k e y   - - f r o m = c o n f i g m a p / m y c o n f i g m a p   d e p l o y m e n t / m y a p p   R e m o v e   t h e   e n v i r o n m e n t   v a r i a b l e   E N V   f r o m   c o n t a i n e r   ' c 1 '   i n   a l l   d e p l o y m e n t   c ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7420"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   s e t   e n v   R E S O U R C E / N A M E   K E Y _ 1 = V A L _ 1   . . .   K E Y _ N = V A L _ N",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7421"
  },
  {
    "question": "What is image?",
    "answer": "S e t   a   d e p l o y m e n t ' s   n g i n x   c o n t a i n e r   i m a g e   t o   ' n g i n x : 1 . 9 . 1 ' ,   a n d   i t s   b u s y b o x   c o n t a i n e r   i m a g e   t o   ' b u s y b o x '   k u b e c t l   s e t   i m a g e   d e p l o y m e n t / n g i n x   b u s y b o x = b u s y b o x   n g i n x = n g i n x : 1 . 9 . 1   U p d a t e   a l l   d e p l o y m e n t s '   a n d   r c ' s   n g i n x   c o n t a i n e r ' s   i m a g e   t o   ' n g i n x : 1 . 9 . 1 '   k u b e c t l   s e t   i m a g e   d e p l o y m e n t s , r c   n g i n x = n g i n x : 1 . 9 . 1   - - a l l   U p d a t e   i m a g e   o f   a l l   c o n t a i n e r s   o f   d a e m o n s e t   a b c   t o   ' n g i n x : 1 . 9 . 1 '   k u b e c t l   s e t   i m a g e   d a e m o n s e t   a b c   * = n g i n x : 1 . 9 . 1   P r i n t   r e s u l t   ( i n   y a m l   f o r m a t )   o f   u p d a t i n g   n g i n x   c o n t a i n e r   i m a g e   f r o m   l o c a l   f i l e ,   w i t h o u t   h i t t i n g   t h e   s e r v e r   k u b e c t l   s e t   i m a g e   - f   p a t h / t o / f i l e . y a m l   n g i n x = n g i n x : 1 . 9 . 1   - - l o c a l   - o   y a m l   U p d a t e   e x i s t i n g   c o n t a i n e r   i m a g e ( s )   o f   r e s o u r c e s .   P o s s i b l e   r e s o u r c e s   i n c l u d e   ( c a s e   i n s e n s i t i v e ) :   p o d   ( p o ) ,   r e p l i c a t i o n c o n t r o l l e r   ( r c ) ,   d e p l o y m e n t   ( d e p l o y ) ,   d a e m o n s e t   ( d s ) ,   s t a t e f u l s e t   ( s t s ) ,   c r o n j o b   ( c j ) ,   r e p l i c a s e t   ( r s )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7422"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   s e t   i m a g e   ( - f   F I L E N A M E   |   T Y P E   N A M E )   C O N T A I N E R _ N A M E _ 1 = C O N T A I N E R _ I M A G E _ 1   . . .   C O N T A I N E R _ N A M E _ N = C O N T A I N E R _ I M A G E _ N",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7423"
  },
  {
    "question": "What is resources?",
    "answer": "S e t   a   d e p l o y m e n t s   n g i n x   c o n t a i n e r   c p u   l i m i t s   t o   \" 2 0 0 m \"   a n d   m e m o r y   t o   \" 5 1 2 M i \"   k u b e c t l   s e t   r e s o u r c e s   d e p l o y m e n t   n g i n x   - c = n g i n x   - - l i m i t s = c p u = 2 0 0 m , m e m o r y = 5 1 2 M i   S e t   t h e   r e s o u r c e   r e q u e s t   a n d   l i m i t s   f o r   a l l   c o n t a i n e r s   i n   n g i n x   k u b e c t l   s e t   r e s o u r c e s   d e p l o y m e n t   n g i n x   - - l i m i t s = c p u = 2 0 0 m , m e m o r y = 5 1 2 M i   - - r e q u e s t s = c p u = 1 0 0 m , m e m o r y = 2 5 6 M i   R e m o v e   t h e   r e s o u r c e   r e q u e s t s   f o r   r e s o u r c e s   o n   c o n t a i n e r s   i n   n g i n x   k u b e c t l   s e t   r e s o u r c e s   d e p l o y m e n t   n g i n x   - - l i m i t s = c p u = 0 , m e m o r y = 0   - - r e q u e s t s = c p u = 0 , m e m o r y = 0   P r i n t   t h e   r e s u l t   ( i n   y a m l   f o r m a t )   o f   u p d a t i n g   n g i n x   c o n t a i n e r   l i m i t s   f r o m   a   l o c a l ,   w i t h o u t   h i t t i n g   t h e   s e r v e r   k u b e c t l   s e t   r e s o u r c e s   - f   p a t h / t o / f i l e . y a m l   - - l i m i t s = c p u = 2 0 0 m , m e m o r y = 5 1 2 M i   - - l o c a l   - o   y a m l   S p e c i f y   c o m p u t e   r e s o u r c e   r e q u i r e m e n t s   ( C P U ,   m e m o r y )   f o r   a n y   r e s o u r c e   t h a t   d e f i n e s   a   p o d   t e m p l a t e .   I f   a   p o d   i s   s u c c e s s f u l l y   s c h e d u l e d ,   i t   i s   g u a r a n t e e d   t h e   a m o u n t   o f   r e s o u r c e   r e q u e s t e d ,   b u t   m a y   b u r s t   u p   t o   i t s   s p e c i f i e d   l i m i t s .   F o r   e a c h   c o m p u t e   r e s o u r c e ,   i f   a   l i m i t   i s   s p e c i f i e d   a n d   a   r e q u e s t   i s   o m i t t e d ,   t h e   r e q u e s t   w i l l   d ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7424"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   s e t   r e s o u r c e s   ( - f   F I L E N A M E   |   T Y P E   N A M E )   ( [ - - l i m i t s = L I M I T S   &   - - r e q u e s t s = R E Q U E S T S ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7425"
  },
  {
    "question": "What is selector?",
    "answer": "S e t   t h e   l a b e l s   a n d   s e l e c t o r   b e f o r e   c r e a t i n g   a   d e p l o y m e n t / s e r v i c e   p a i r   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   m y - s v c   - - c l u s t e r i p = \" N o n e \"   - o   y a m l   - - d r y - r u n = c l i e n t   |   k u b e c t l   s e t   s e l e c t o r   - - l o c a l   - f   -   ' e n v i r o n m e n t = q a '   - o   y a m l   |   k u b e c t l   c r e a t e   - f   -   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - o   y a m l   - - d r y - r u n = c l i e n t   |   k u b e c t l   l a b e l   - - l o c a l   - f   -   e n v i r o n m e n t = q a   - o   y a m l   |   k u b e c t l   c r e a t e   - f   -   S e t   t h e   s e l e c t o r   o n   a   r e s o u r c e .   N o t e   t h a t   t h e   n e w   s e l e c t o r   w i l l   o v e r w r i t e   t h e   o l d   s e l e c t o r   i f   t h e   r e s o u r c e   h a d   o n e   p r i o r   t o   t h e   i n v o c a t i o n   o f   ' s e t   s e l e c t o r ' .   A   s e l e c t o r   m u s t   b e g i n   w i t h   a   l e t t e r   o r   n u m b e r ,   a n d   m a y   c o n t a i n   l e t t e r s ,   n u m b e r s ,   h y p h e n s ,   d o t s ,   a n d   u n d e r s c o r e s ,   u p   t o   6 3   c h a r a c t e r s .   I f   - - r e s o u r c e - v e r s i o n   i s   s p e c i f i e d ,   t h e n   u p d a t e s   w i l l   u s e   t h i s   r e s o u r c e   v e r s i o n ,   o t h e r w i s e   t h e   e x i s t i n g   r e s o u r c e - v e r s i o n   w i l l   b e   u s e d .   N o t e :   c u r r e n t l y   s e l e c t o r s   c a n   o n l y   b e   s e t   o n   S e r v i c e   o b j e c t s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7426"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   s e t   s e l e c t o r   ( - f   F I L E N A M E   |   T Y P E   N A M E )   E X P R E S S I O N S   [ - - r e s o u r c e - v e r s i o n = v e r s i o n ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7427"
  },
  {
    "question": "What is serviceaccount?",
    "answer": "S e t   d e p l o y m e n t   n g i n x - d e p l o y m e n t ' s   s e r v i c e   a c c o u n t   t o   s e r v i c e a c c o u n t 1   k u b e c t l   s e t   s e r v i c e a c c o u n t   d e p l o y m e n t   n g i n x - d e p l o y m e n t   s e r v i c e a c c o u n t 1   P r i n t   t h e   r e s u l t   ( i n   Y A M L   f o r m a t )   o f   u p d a t e d   n g i n x   d e p l o y m e n t   w i t h   t h e   s e r v i c e   a c c o u n t   f r o m   l o c a l   f i l e ,   w i t h o u t   h i t t i n g   t h e   A P I   s e r v e r   k u b e c t l   s e t   s a   - f   n g i n x - d e p l o y m e n t . y a m l   s e r v i c e a c c o u n t 1   - - l o c a l   - - d r y - r u n = c l i e n t   - o   y a m l   U p d a t e   t h e   s e r v i c e   a c c o u n t   o f   p o d   t e m p l a t e   r e s o u r c e s .   P o s s i b l e   r e s o u r c e s   ( c a s e   i n s e n s i t i v e )   c a n   b e :   r e p l i c a t i o n c o n t r o l l e r   ( r c ) ,   d e p l o y m e n t   ( d e p l o y ) ,   d a e m o n s e t   ( d s ) ,   j o b ,   r e p l i c a s e t   ( r s ) ,   s t a t e f u l s e t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7428"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   s e t   s e r v i c e a c c o u n t   ( - f   F I L E N A M E   |   T Y P E   N A M E )   S E R V I C E _ A C C O U N T",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7429"
  },
  {
    "question": "What is subject?",
    "answer": "U p d a t e   a   c l u s t e r   r o l e   b i n d i n g   f o r   s e r v i c e a c c o u n t 1   k u b e c t l   s e t   s u b j e c t   c l u s t e r r o l e b i n d i n g   a d m i n   - - s e r v i c e a c c o u n t = n a m e s p a c e : s e r v i c e a c c o u n t 1   U p d a t e   a   r o l e   b i n d i n g   f o r   u s e r 1 ,   u s e r 2 ,   a n d   g r o u p 1   k u b e c t l   s e t   s u b j e c t   r o l e b i n d i n g   a d m i n   - - u s e r = u s e r 1   - - u s e r = u s e r 2   - - g r o u p = g r o u p 1   P r i n t   t h e   r e s u l t   ( i n   Y A M L   f o r m a t )   o f   u p d a t i n g   r o l e b i n d i n g   s u b j e c t s   f r o m   a   l o c a l ,   w i t h o u t   h i t t i n g   t h e   s e r v e r   k u b e c t l   c r e a t e   r o l e b i n d i n g   a d m i n   - - r o l e = a d m i n   - - u s e r = a d m i n   - o   y a m l   - - d r y - r u n = c l i e n t   |   k u b e c t l   s e t   s u b j e c t   - - l o c a l   - f   -   - - u s e r = f o o   - o   y a m l   U p d a t e   t h e   u s e r ,   g r o u p ,   o r   s e r v i c e   a c c o u n t   i n   a   r o l e   b i n d i n g   o r   c l u s t e r   r o l e   b i n d i n g .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7430"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   s e t   s u b j e c t   ( - f   F I L E N A M E   |   T Y P E   N A M E )   [ - - u s e r = u s e r n a m e ]   [ - - g r o u p = g r o u p n a m e ]   [ - - s e r v i c e a c c o u n t = n a m e s p a c e : s e r v i c e a c c o u n t n a m e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7431"
  },
  {
    "question": "What is wait?",
    "answer": "W a i t   f o r   t h e   p o d   \" b u s y b o x 1 \"   t o   c o n t a i n   t h e   s t a t u s   c o n d i t i o n   o f   t y p e   \" R e a d y \"   k u b e c t l   w a i t   - - f o r = c o n d i t i o n = R e a d y   p o d / b u s y b o x 1   T h e   d e f a u l t   v a l u e   o f   s t a t u s   c o n d i t i o n   i s   t r u e ;   y o u   c a n   s e t   i t   t o   f a l s e   k u b e c t l   w a i t   - - f o r = c o n d i t i o n = R e a d y = f a l s e   p o d / b u s y b o x 1   W a i t   f o r   t h e   p o d   \" b u s y b o x 1 \"   t o   b e   d e l e t e d ,   w i t h   a   t i m e o u t   o f   6 0 s ,   a f t e r   h a v i n g   i s s u e d   t h e   \" d e l e t e \"   c o m m a n d   k u b e c t l   d e l e t e   p o d / b u s y b o x 1   k u b e c t l   w a i t   - - f o r = d e l e t e   p o d / b u s y b o x 1   - - t i m e o u t = 6 0 s   E x p e r i m e n t a l :   W a i t   f o r   a   s p e c i f i c   c o n d i t i o n   o n   o n e   o r   m a n y   r e s o u r c e s .   T h e   c o m m a n d   t a k e s   m u l t i p l e   r e s o u r c e s   a n d   w a i t s   u n t i l   t h e   s p e c i f i e d   c o n d i t i o n   i s   s e e n   i n   t h e   S t a t u s   f i e l d   o f   e v e r y   g i v e n   r e s o u r c e .   A l t e r n a t i v e l y ,   t h e   c o m m a n d   c a n   w a i t   f o r   t h e   g i v e n   s e t   o f   r e s o u r c e s   t o   b e   d e l e t e d   b y   p r o v i d i n g   t h e   \" d e l e t e \"   k e y w o r d   a s   t h e   v a l u e   t o   t h e   - - f o r   f l a g .   A   s u c c e s s f u l   m e s s a g e   w i l l   b e   p r i n t e d   t o   s t d o u t   i n d i c a t i n g   w h e n   t h e   s p e c i f i e d   c o n d i t i o n   h a s   b e e n   m e t .   Y o u   c a n   u s e   - o   o p t i o n   t o   c h a n g e   t o   o u t p u t   d e s t i n a t i o n .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7432"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   w a i t   ( [ - f   F I L E N A M E ]   |   r e s o u r c e . g r o u p / r e s o u r c e . n a m e   |   r e s o u r c e . g r o u p   [ ( - l   l a b e l   |   - - a l l ) ] )   [ - - f o r = d e l e t e | - - f o r   c o n d i t i o n = a v a i l a b l e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7433"
  },
  {
    "question": "What is WORKING WITH APPS?",
    "answer": "T h i s   s e c t i o n   c o n t a i n s   c o m m a n d s   f o r   i n s p e c t i n g   a n d   d e b u g g i n g   y o u r   a p p l i c a t i o n s .   l o g s   w i l l   p r i n t   t h e   l o g s   f r o m   t h e   s p e c i f i e d   p o d   +   c o n t a i n e r .   e x e c   c a n   b e   u s e d   t o   g e t   a n   i n t e r a c t i v e   s h e l l   o n   a   p o d   +   c o n t a i n e r .   d e s c r i b e   w i l l   p r i n t   d e b u g   i n f o r m a t i o n   a b o u t   t h e   g i v e n   r e s o u r c e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7434"
  },
  {
    "question": "What is attach?",
    "answer": "G e t   o u t p u t   f r o m   r u n n i n g   p o d   m y p o d ;   u s e   t h e   ' k u b e c t l . k u b e r n e t e s . i o / d e f a u l t - c o n t a i n e r '   a n n o t a t i o n   #   f o r   s e l e c t i n g   t h e   c o n t a i n e r   t o   b e   a t t a c h e d   o r   t h e   f i r s t   c o n t a i n e r   i n   t h e   p o d   w i l l   b e   c h o s e n   k u b e c t l   a t t a c h   m y p o d   G e t   o u t p u t   f r o m   r u b y - c o n t a i n e r   f r o m   p o d   m y p o d   k u b e c t l   a t t a c h   m y p o d   - c   r u b y - c o n t a i n e r   S w i t c h   t o   r a w   t e r m i n a l   m o d e ;   s e n d s   s t d i n   t o   ' b a s h '   i n   r u b y - c o n t a i n e r   f r o m   p o d   m y p o d   #   a n d   s e n d s   s t d o u t / s t d e r r   f r o m   ' b a s h '   b a c k   t o   t h e   c l i e n t   k u b e c t l   a t t a c h   m y p o d   - c   r u b y - c o n t a i n e r   - i   - t   G e t   o u t p u t   f r o m   t h e   f i r s t   p o d   o f   a   r e p l i c a   s e t   n a m e d   n g i n x   k u b e c t l   a t t a c h   r s / n g i n x   A t t a c h   t o   a   p r o c e s s   t h a t   i s   a l r e a d y   r u n n i n g   i n s i d e   a n   e x i s t i n g   c o n t a i n e r .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7435"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   a t t a c h   ( P O D   |   T Y P E / N A M E )   - c   C O N T A I N E R",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7436"
  },
  {
    "question": "What is auth?",
    "answer": "I n s p e c t   a u t h o r i z a t i o n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7437"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   a u t h",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7438"
  },
  {
    "question": "What is can-i?",
    "answer": "C h e c k   t o   s e e   i f   I   c a n   c r e a t e   p o d s   i n   a n y   n a m e s p a c e   k u b e c t l   a u t h   c a n - i   c r e a t e   p o d s   - - a l l - n a m e s p a c e s   C h e c k   t o   s e e   i f   I   c a n   l i s t   d e p l o y m e n t s   i n   m y   c u r r e n t   n a m e s p a c e   k u b e c t l   a u t h   c a n - i   l i s t   d e p l o y m e n t s . a p p s   C h e c k   t o   s e e   i f   I   c a n   d o   e v e r y t h i n g   i n   m y   c u r r e n t   n a m e s p a c e   ( \" * \"   m e a n s   a l l )   k u b e c t l   a u t h   c a n - i   ' * '   ' * '   C h e c k   t o   s e e   i f   I   c a n   g e t   t h e   j o b   n a m e d   \" b a r \"   i n   n a m e s p a c e   \" f o o \"   k u b e c t l   a u t h   c a n - i   l i s t   j o b s . b a t c h / b a r   - n   f o o   C h e c k   t o   s e e   i f   I   c a n   r e a d   p o d   l o g s   k u b e c t l   a u t h   c a n - i   g e t   p o d s   - - s u b r e s o u r c e = l o g   C h e c k   t o   s e e   i f   I   c a n   a c c e s s   t h e   U R L   / l o g s /   k u b e c t l   a u t h   c a n - i   g e t   / l o g s /   L i s t   a l l   a l l o w e d   a c t i o n s   i n   n a m e s p a c e   \" f o o \"   k u b e c t l   a u t h   c a n - i   - - l i s t   - - n a m e s p a c e = f o o   C h e c k   w h e t h e r   a n   a c t i o n   i s   a l l o w e d .   V E R B   i s   a   l o g i c a l   K u b e r n e t e s   A P I   v e r b   l i k e   ' g e t ' ,   ' l i s t ' ,   ' w a t c h ' ,   ' d e l e t e ' ,   e t c .   T Y P E   i s   a   K u b e r n e t e s   r e s o u r c e .   S h o r t c u t s   a n d   g r o u p s   w i l l   b e   r e s o l v e d .   N O N R E S O U R C E U R L   i s   a   p a r t i a l   U R L   t h a t   s t a r t s   w i t h   \" / \" .   N A M E   i s   t h e   n a m e   o f   a   p a r t i c u l a r   K u b e r n e t e s   r e s o u r c e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7439"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   a u t h   c a n - i   V E R B   [ T Y P E   |   T Y P E / N A M E   |   N O N R E S O U R C E U R L ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7440"
  },
  {
    "question": "What is reconcile?",
    "answer": "R e c o n c i l e   R B A C   r e s o u r c e s   f r o m   a   f i l e   k u b e c t l   a u t h   r e c o n c i l e   - f   m y - r b a c - r u l e s . y a m l   R e c o n c i l e s   r u l e s   f o r   R B A C   r o l e ,   r o l e   b i n d i n g ,   c l u s t e r   r o l e ,   a n d   c l u s t e r   r o l e   b i n d i n g   o b j e c t s .   M i s s i n g   o b j e c t s   a r e   c r e a t e d ,   a n d   t h e   c o n t a i n i n g   n a m e s p a c e   i s   c r e a t e d   f o r   n a m e s p a c e d   o b j e c t s ,   i f   r e q u i r e d .   E x i s t i n g   r o l e s   a r e   u p d a t e d   t o   i n c l u d e   t h e   p e r m i s s i o n s   i n   t h e   i n p u t   o b j e c t s ,   a n d   r e m o v e   e x t r a   p e r m i s s i o n s   i f   - - r e m o v e - e x t r a - p e r m i s s i o n s   i s   s p e c i f i e d .   E x i s t i n g   b i n d i n g s   a r e   u p d a t e d   t o   i n c l u d e   t h e   s u b j e c t s   i n   t h e   i n p u t   o b j e c t s ,   a n d   r e m o v e   e x t r a   s u b j e c t s   i f   - - r e m o v e - e x t r a - s u b j e c t s   i s   s p e c i f i e d .   T h i s   i s   p r e f e r r e d   t o   ' a p p l y '   f o r   R B A C   r e s o u r c e s   s o   t h a t   s e m a n t i c a l l y - a w a r e   m e r g i n g   o f   r u l e s   a n d   s u b j e c t s   i s   d o n e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7441"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   a u t h   r e c o n c i l e   - f   F I L E N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7442"
  },
  {
    "question": "What is cp?",
    "answer": "! ! ! I m p o r t a n t   N o t e ! ! !   #   R e q u i r e s   t h a t   t h e   ' t a r '   b i n a r y   i s   p r e s e n t   i n   y o u r   c o n t a i n e r   #   i m a g e .   I f   ' t a r '   i s   n o t   p r e s e n t ,   ' k u b e c t l   c p '   w i l l   f a i l .   #   #   F o r   a d v a n c e d   u s e   c a s e s ,   s u c h   a s   s y m l i n k s ,   w i l d c a r d   e x p a n s i o n   o r   #   f i l e   m o d e   p r e s e r v a t i o n ,   c o n s i d e r   u s i n g   ' k u b e c t l   e x e c ' .   #   C o p y   / t m p / f o o   l o c a l   f i l e   t o   / t m p / b a r   i n   a   r e m o t e   p o d   i n   n a m e s p a c e   t a r   c f   -   / t m p / f o o   |   k u b e c t l   e x e c   - i   - n   < s o m e - n a m e s p a c e >   < s o m e - p o d >   - -   t a r   x f   -   - C   / t m p / b a r   C o p y   / t m p / f o o   f r o m   a   r e m o t e   p o d   t o   / t m p / b a r   l o c a l l y   k u b e c t l   e x e c   - n   < s o m e - n a m e s p a c e >   < s o m e - p o d >   - -   t a r   c f   -   / t m p / f o o   |   t a r   x f   -   - C   / t m p / b a r   C o p y   / t m p / f o o _ d i r   l o c a l   d i r e c t o r y   t o   / t m p / b a r _ d i r   i n   a   r e m o t e   p o d   i n   t h e   d e f a u l t   n a m e s p a c e   k u b e c t l   c p   / t m p / f o o _ d i r   < s o m e - p o d > : / t m p / b a r _ d i r   C o p y   / t m p / f o o   l o c a l   f i l e   t o   / t m p / b a r   i n   a   r e m o t e   p o d   i n   a   s p e c i f i c   c o n t a i n e r   k u b e c t l   c p   / t m p / f o o   < s o m e - p o d > : / t m p / b a r   - c   < s p e c i f i c - c o n t a i n e r >   C o p y   / t m p / f o o   l o c a l   f i l e   t o   / t m p / b a r   i n   a   r e m o t e   p o d   i n   n a m e s p a c e   k u b e c t l   c p   / t m p / f o o   < s o m e - n a m e s p a c e > / < s o m e - p o d > : / t m p / b a r   C o p y   / t m p / f o o   f r o m   a   r e m o t e   p o d   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7443"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c p   < f i l e - s p e c - s r c >   < f i l e - s p e c - d e s t >",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7444"
  },
  {
    "question": "What is describe?",
    "answer": "D e s c r i b e   a   n o d e   k u b e c t l   d e s c r i b e   n o d e s   k u b e r n e t e s - n o d e - e m t 8 . c . m y p r o j e c t . i n t e r n a l   D e s c r i b e   a   p o d   k u b e c t l   d e s c r i b e   p o d s / n g i n x   D e s c r i b e   a   p o d   i d e n t i f i e d   b y   t y p e   a n d   n a m e   i n   \" p o d . j s o n \"   k u b e c t l   d e s c r i b e   - f   p o d . j s o n   D e s c r i b e   a l l   p o d s   k u b e c t l   d e s c r i b e   p o d s   D e s c r i b e   p o d s   b y   l a b e l   n a m e = m y L a b e l   k u b e c t l   d e s c r i b e   p o   - l   n a m e = m y L a b e l   D e s c r i b e   a l l   p o d s   m a n a g e d   b y   t h e   ' f r o n t e n d '   r e p l i c a t i o n   c o n t r o l l e r   ( r c - c r e a t e d   p o d s   #   g e t   t h e   n a m e   o f   t h e   r c   a s   a   p r e f i x   i n   t h e   p o d   t h e   n a m e )   k u b e c t l   d e s c r i b e   p o d s   f r o n t e n d   S h o w   d e t a i l s   o f   a   s p e c i f i c   r e s o u r c e   o r   g r o u p   o f   r e s o u r c e s .   P r i n t   a   d e t a i l e d   d e s c r i p t i o n   o f   t h e   s e l e c t e d   r e s o u r c e s ,   i n c l u d i n g   r e l a t e d   r e s o u r c e s   s u c h   a s   e v e n t s   o r   c o n t r o l l e r s .   Y o u   m a y   s e l e c t   a   s i n g l e   o b j e c t   b y   n a m e ,   a l l   o b j e c t s   o f   t h a t   t y p e ,   p r o v i d e   a   n a m e   p r e f i x ,   o r   l a b e l   s e l e c t o r .   F o r   e x a m p l e :   $   k u b e c t l   d e s c r i b e   T Y P E   N A M E _ P R E F I X   w i l l   f i r s t   c h e c k   f o r   a n   e x a c t   m a t c h   o n   T Y P E   a n d   N A M E _ P R E F I X .   I f   n o   s u c h   r e s o u r c e   e x i s t s ,   i t   w i l l   o u t p u t   d e t a i l s   f o r   e v e r y   r e s o u r c e   t h a t   h a s   a   n a m e   p r e f i x e d   w i t h   N A M E _ P R E F I X .   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7445"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   d e s c r i b e   ( - f   F I L E N A M E   |   T Y P E   [ N A M E _ P R E F I X   |   - l   l a b e l ]   |   T Y P E / N A M E )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7446"
  },
  {
    "question": "What is exec?",
    "answer": "G e t   o u t p u t   f r o m   r u n n i n g   t h e   ' d a t e '   c o m m a n d   f r o m   p o d   m y p o d ,   u s i n g   t h e   f i r s t   c o n t a i n e r   b y   d e f a u l t   k u b e c t l   e x e c   m y p o d   - -   d a t e   G e t   o u t p u t   f r o m   r u n n i n g   t h e   ' d a t e '   c o m m a n d   i n   r u b y - c o n t a i n e r   f r o m   p o d   m y p o d   k u b e c t l   e x e c   m y p o d   - c   r u b y - c o n t a i n e r   - -   d a t e   S w i t c h   t o   r a w   t e r m i n a l   m o d e ;   s e n d s   s t d i n   t o   ' b a s h '   i n   r u b y - c o n t a i n e r   f r o m   p o d   m y p o d   #   a n d   s e n d s   s t d o u t / s t d e r r   f r o m   ' b a s h '   b a c k   t o   t h e   c l i e n t   k u b e c t l   e x e c   m y p o d   - c   r u b y - c o n t a i n e r   - i   - t   - -   b a s h   - i l   L i s t   c o n t e n t s   o f   / u s r   f r o m   t h e   f i r s t   c o n t a i n e r   o f   p o d   m y p o d   a n d   s o r t   b y   m o d i f i c a t i o n   t i m e   #   I f   t h e   c o m m a n d   y o u   w a n t   t o   e x e c u t e   i n   t h e   p o d   h a s   a n y   f l a g s   i n   c o m m o n   ( e . g .   - i ) ,   #   y o u   m u s t   u s e   t w o   d a s h e s   ( - - )   t o   s e p a r a t e   y o u r   c o m m a n d ' s   f l a g s / a r g u m e n t s   #   A l s o   n o t e ,   d o   n o t   s u r r o u n d   y o u r   c o m m a n d   a n d   i t s   f l a g s / a r g u m e n t s   w i t h   q u o t e s   #   u n l e s s   t h a t   i s   h o w   y o u   w o u l d   e x e c u t e   i t   n o r m a l l y   ( i . e . ,   d o   l s   - t   / u s r ,   n o t   \" l s   - t   / u s r \" )   k u b e c t l   e x e c   m y p o d   - i   - t   - -   l s   - t   / u s r   G e t   o u t p u t   f r o m   r u n n i n g   ' d a t e '   c o m m a n d   f r o m   t h e   f i r s t   p o d   o f   t h e   d e p l o y m e n t   m y d e p l o y m e n t ,   u s i n g   t h e   f i r s t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7447"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   e x e c   ( P O D   |   T Y P E / N A M E )   [ - c   C O N T A I N E R ]   [ f l a g s ]   - -   C O M M A N D   [ a r g s . . . ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7448"
  },
  {
    "question": "What is logs?",
    "answer": "R e t u r n   s n a p s h o t   l o g s   f r o m   p o d   n g i n x   w i t h   o n l y   o n e   c o n t a i n e r   k u b e c t l   l o g s   n g i n x   R e t u r n   s n a p s h o t   l o g s   f r o m   p o d   n g i n x   w i t h   m u l t i   c o n t a i n e r s   k u b e c t l   l o g s   n g i n x   - - a l l - c o n t a i n e r s = t r u e   R e t u r n   s n a p s h o t   l o g s   f r o m   a l l   c o n t a i n e r s   i n   p o d s   d e f i n e d   b y   l a b e l   a p p = n g i n x   k u b e c t l   l o g s   - l   a p p = n g i n x   - - a l l - c o n t a i n e r s = t r u e   R e t u r n   s n a p s h o t   o f   p r e v i o u s   t e r m i n a t e d   r u b y   c o n t a i n e r   l o g s   f r o m   p o d   w e b - 1   k u b e c t l   l o g s   - p   - c   r u b y   w e b - 1   B e g i n   s t r e a m i n g   t h e   l o g s   o f   t h e   r u b y   c o n t a i n e r   i n   p o d   w e b - 1   k u b e c t l   l o g s   - f   - c   r u b y   w e b - 1   B e g i n   s t r e a m i n g   t h e   l o g s   f r o m   a l l   c o n t a i n e r s   i n   p o d s   d e f i n e d   b y   l a b e l   a p p = n g i n x   k u b e c t l   l o g s   - f   - l   a p p = n g i n x   - - a l l - c o n t a i n e r s = t r u e   D i s p l a y   o n l y   t h e   m o s t   r e c e n t   2 0   l i n e s   o f   o u t p u t   i n   p o d   n g i n x   k u b e c t l   l o g s   - - t a i l = 2 0   n g i n x   S h o w   a l l   l o g s   f r o m   p o d   n g i n x   w r i t t e n   i n   t h e   l a s t   h o u r   k u b e c t l   l o g s   - - s i n c e = 1 h   n g i n x   S h o w   l o g s   f r o m   a   k u b e l e t   w i t h   a n   e x p i r e d   s e r v i n g   c e r t i f i c a t e   k u b e c t l   l o g s   - - i n s e c u r e - s k i p - t l s - v e r i f y - b a c k e n d   n g i n x   R e t u r n   s n a p s h o t   l o g s   f r o m   f i r s t   c o n t a i n e r   o f   a   j o b   n a m e d   h e l l o   k u b e c t l   l o g s   j o b / h e l l ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7449"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   l o g s   [ - f ]   [ - p ]   ( P O D   |   T Y P E / N A M E )   [ - c   C O N T A I N E R ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7450"
  },
  {
    "question": "What is port-forward?",
    "answer": "L i s t e n   o n   p o r t s   5 0 0 0   a n d   6 0 0 0   l o c a l l y ,   f o r w a r d i n g   d a t a   t o / f r o m   p o r t s   5 0 0 0   a n d   6 0 0 0   i n   t h e   p o d   k u b e c t l   p o r t - f o r w a r d   p o d / m y p o d   5 0 0 0   6 0 0 0   L i s t e n   o n   p o r t s   5 0 0 0   a n d   6 0 0 0   l o c a l l y ,   f o r w a r d i n g   d a t a   t o / f r o m   p o r t s   5 0 0 0   a n d   6 0 0 0   i n   a   p o d   s e l e c t e d   b y   t h e   d e p l o y m e n t   k u b e c t l   p o r t - f o r w a r d   d e p l o y m e n t / m y d e p l o y m e n t   5 0 0 0   6 0 0 0   L i s t e n   o n   p o r t   8 4 4 3   l o c a l l y ,   f o r w a r d i n g   t o   t h e   t a r g e t P o r t   o f   t h e   s e r v i c e ' s   p o r t   n a m e d   \" h t t p s \"   i n   a   p o d   s e l e c t e d   b y   t h e   s e r v i c e   k u b e c t l   p o r t - f o r w a r d   s e r v i c e / m y s e r v i c e   8 4 4 3 : h t t p s   L i s t e n   o n   p o r t   8 8 8 8   l o c a l l y ,   f o r w a r d i n g   t o   5 0 0 0   i n   t h e   p o d   k u b e c t l   p o r t - f o r w a r d   p o d / m y p o d   8 8 8 8 : 5 0 0 0   L i s t e n   o n   p o r t   8 8 8 8   o n   a l l   a d d r e s s e s ,   f o r w a r d i n g   t o   5 0 0 0   i n   t h e   p o d   k u b e c t l   p o r t - f o r w a r d   - - a d d r e s s   0 . 0 . 0 . 0   p o d / m y p o d   8 8 8 8 : 5 0 0 0   L i s t e n   o n   p o r t   8 8 8 8   o n   l o c a l h o s t   a n d   s e l e c t e d   I P ,   f o r w a r d i n g   t o   5 0 0 0   i n   t h e   p o d   k u b e c t l   p o r t - f o r w a r d   - - a d d r e s s   l o c a l h o s t , 1 0 . 1 9 . 2 1 . 2 3   p o d / m y p o d   8 8 8 8 : 5 0 0 0   L i s t e n   o n   a   r a n d o m   p o r t   l o c a l l y ,   f o r w a r d i n g   t o   5 0 0 0   i n   t h e   p o d   k u b e c t l   p o r t - f o r w a r d   p o d / m y p o d   : 5 0 0 0   F o r w a r d   o n e   o r   m o r e   l o c a l   p o r t s   t o ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7451"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   p o r t - f o r w a r d   T Y P E / N A M E   [ o p t i o n s ]   [ L O C A L _ P O R T : ] R E M O T E _ P O R T   [ . . . [ L O C A L _ P O R T _ N : ] R E M O T E _ P O R T _ N ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7452"
  },
  {
    "question": "What is proxy?",
    "answer": "T o   p r o x y   a l l   o f   t h e   K u b e r n e t e s   A P I   a n d   n o t h i n g   e l s e   k u b e c t l   p r o x y   - - a p i - p r e f i x = /   T o   p r o x y   o n l y   p a r t   o f   t h e   K u b e r n e t e s   A P I   a n d   a l s o   s o m e   s t a t i c   f i l e s   #   Y o u   c a n   g e t   p o d s   i n f o   w i t h   ' c u r l   l o c a l h o s t : 8 0 0 1 / a p i / v 1 / p o d s '   k u b e c t l   p r o x y   - - w w w = / m y / f i l e s   - - w w w - p r e f i x = / s t a t i c /   - - a p i - p r e f i x = / a p i /   T o   p r o x y   t h e   e n t i r e   K u b e r n e t e s   A P I   a t   a   d i f f e r e n t   r o o t   #   Y o u   c a n   g e t   p o d s   i n f o   w i t h   ' c u r l   l o c a l h o s t : 8 0 0 1 / c u s t o m / a p i / v 1 / p o d s '   k u b e c t l   p r o x y   - - a p i - p r e f i x = / c u s t o m /   R u n   a   p r o x y   t o   t h e   K u b e r n e t e s   A P I   s e r v e r   o n   p o r t   8 0 1 1 ,   s e r v i n g   s t a t i c   c o n t e n t   f r o m   . / l o c a l / w w w /   k u b e c t l   p r o x y   - - p o r t = 8 0 1 1   - - w w w = . / l o c a l / w w w /   R u n   a   p r o x y   t o   t h e   K u b e r n e t e s   A P I   s e r v e r   o n   a n   a r b i t r a r y   l o c a l   p o r t   #   T h e   c h o s e n   p o r t   f o r   t h e   s e r v e r   w i l l   b e   o u t p u t   t o   s t d o u t   k u b e c t l   p r o x y   - - p o r t = 0   R u n   a   p r o x y   t o   t h e   K u b e r n e t e s   A P I   s e r v e r ,   c h a n g i n g   t h e   A P I   p r e f i x   t o   k 8 s - a p i   #   T h i s   m a k e s   e . g .   t h e   p o d s   A P I   a v a i l a b l e   a t   l o c a l h o s t : 8 0 0 1 / k 8 s - a p i / v 1 / p o d s /   k u b e c t l   p r o x y   - - a p i - p r e f i x = / k 8 s - a p i   C r e a t e s   a   p r o x y   s e r v e r   o r   a p p l i c a t i o n - l e v e l   g a t e w a y   b e t w e e n   l o c a l h o s t   a n d   t h e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7453"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   p r o x y   [ - - p o r t = P O R T ]   [ - - w w w = s t a t i c - d i r ]   [ - - w w w - p r e f i x = p r e f i x ]   [ - - a p i - p r e f i x = p r e f i x ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7454"
  },
  {
    "question": "What is top?",
    "answer": "D i s p l a y   R e s o u r c e   ( C P U / M e m o r y )   u s a g e .   T h e   t o p   c o m m a n d   a l l o w s   y o u   t o   s e e   t h e   r e s o u r c e   c o n s u m p t i o n   f o r   n o d e s   o r   p o d s .   T h i s   c o m m a n d   r e q u i r e s   M e t r i c s   S e r v e r   t o   b e   c o r r e c t l y   c o n f i g u r e d   a n d   w o r k i n g   o n   t h e   s e r v e r .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7455"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   t o p",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7456"
  },
  {
    "question": "What is node?",
    "answer": "S h o w   m e t r i c s   f o r   a l l   n o d e s   k u b e c t l   t o p   n o d e   S h o w   m e t r i c s   f o r   a   g i v e n   n o d e   k u b e c t l   t o p   n o d e   N O D E _ N A M E   D i s p l a y   r e s o u r c e   ( C P U / m e m o r y )   u s a g e   o f   n o d e s .   T h e   t o p - n o d e   c o m m a n d   a l l o w s   y o u   t o   s e e   t h e   r e s o u r c e   c o n s u m p t i o n   o f   n o d e s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7457"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   t o p   n o d e   [ N A M E   |   - l   l a b e l ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7458"
  },
  {
    "question": "What is pod?",
    "answer": "S h o w   m e t r i c s   f o r   a l l   p o d s   i n   t h e   d e f a u l t   n a m e s p a c e   k u b e c t l   t o p   p o d   S h o w   m e t r i c s   f o r   a l l   p o d s   i n   t h e   g i v e n   n a m e s p a c e   k u b e c t l   t o p   p o d   - - n a m e s p a c e = N A M E S P A C E   S h o w   m e t r i c s   f o r   a   g i v e n   p o d   a n d   i t s   c o n t a i n e r s   k u b e c t l   t o p   p o d   P O D _ N A M E   - - c o n t a i n e r s   S h o w   m e t r i c s   f o r   t h e   p o d s   d e f i n e d   b y   l a b e l   n a m e = m y L a b e l   k u b e c t l   t o p   p o d   - l   n a m e = m y L a b e l   D i s p l a y   r e s o u r c e   ( C P U / m e m o r y )   u s a g e   o f   p o d s .   T h e   ' t o p   p o d '   c o m m a n d   a l l o w s   y o u   t o   s e e   t h e   r e s o u r c e   c o n s u m p t i o n   o f   p o d s .   D u e   t o   t h e   m e t r i c s   p i p e l i n e   d e l a y ,   t h e y   m a y   b e   u n a v a i l a b l e   f o r   a   f e w   m i n u t e s   s i n c e   p o d   c r e a t i o n .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7459"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   t o p   p o d   [ N A M E   |   - l   l a b e l ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7460"
  },
  {
    "question": "What is api-versions?",
    "answer": "P r i n t   t h e   s u p p o r t e d   A P I   v e r s i o n s   k u b e c t l   a p i - v e r s i o n s   P r i n t   t h e   s u p p o r t e d   A P I   v e r s i o n s   o n   t h e   s e r v e r ,   i n   t h e   f o r m   o f   \" g r o u p / v e r s i o n \" .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7461"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   a p i - v e r s i o n s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7462"
  },
  {
    "question": "What is certificate?",
    "answer": "M o d i f y   c e r t i f i c a t e   r e s o u r c e s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7463"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c e r t i f i c a t e   S U B C O M M A N D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7464"
  },
  {
    "question": "What is approve?",
    "answer": "A p p r o v e   C S R   ' c s r - s q g z p '   k u b e c t l   c e r t i f i c a t e   a p p r o v e   c s r - s q g z p   A p p r o v e   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t .   k u b e c t l   c e r t i f i c a t e   a p p r o v e   a l l o w s   a   c l u s t e r   a d m i n   t o   a p p r o v e   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t   ( C S R ) .   T h i s   a c t i o n   t e l l s   a   c e r t i f i c a t e   s i g n i n g   c o n t r o l l e r   t o   i s s u e   a   c e r t i f i c a t e   t o   t h e   r e q u e s t o r   w i t h   t h e   a t t r i b u t e s   r e q u e s t e d   i n   t h e   C S R .   S E C U R I T Y   N O T I C E :   D e p e n d i n g   o n   t h e   r e q u e s t e d   a t t r i b u t e s ,   t h e   i s s u e d   c e r t i f i c a t e   c a n   p o t e n t i a l l y   g r a n t   a   r e q u e s t e r   a c c e s s   t o   c l u s t e r   r e s o u r c e s   o r   t o   a u t h e n t i c a t e   a s   a   r e q u e s t e d   i d e n t i t y .   B e f o r e   a p p r o v i n g   a   C S R ,   e n s u r e   y o u   u n d e r s t a n d   w h a t   t h e   s i g n e d   c e r t i f i c a t e   c a n   d o .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7465"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c e r t i f i c a t e   a p p r o v e   ( - f   F I L E N A M E   |   N A M E )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7466"
  },
  {
    "question": "What is deny?",
    "answer": "D e n y   C S R   ' c s r - s q g z p '   k u b e c t l   c e r t i f i c a t e   d e n y   c s r - s q g z p   D e n y   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t .   k u b e c t l   c e r t i f i c a t e   d e n y   a l l o w s   a   c l u s t e r   a d m i n   t o   d e n y   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t   ( C S R ) .   T h i s   a c t i o n   t e l l s   a   c e r t i f i c a t e   s i g n i n g   c o n t r o l l e r   t o   n o t   t o   i s s u e   a   c e r t i f i c a t e   t o   t h e   r e q u e s t o r .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7467"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c e r t i f i c a t e   d e n y   ( - f   F I L E N A M E   |   N A M E )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7468"
  },
  {
    "question": "What is cluster-info?",
    "answer": "P r i n t   t h e   a d d r e s s   o f   t h e   c o n t r o l   p l a n e   a n d   c l u s t e r   s e r v i c e s   k u b e c t l   c l u s t e r - i n f o   D i s p l a y   a d d r e s s e s   o f   t h e   c o n t r o l   p l a n e   a n d   s e r v i c e s   w i t h   l a b e l   k u b e r n e t e s . i o / c l u s t e r - s e r v i c e = t r u e .   T o   f u r t h e r   d e b u g   a n d   d i a g n o s e   c l u s t e r   p r o b l e m s ,   u s e   ' k u b e c t l   c l u s t e r - i n f o   d u m p ' .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7469"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c l u s t e r - i n f o",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7470"
  },
  {
    "question": "What is dump?",
    "answer": "D u m p   c u r r e n t   c l u s t e r   s t a t e   t o   s t d o u t   k u b e c t l   c l u s t e r - i n f o   d u m p   D u m p   c u r r e n t   c l u s t e r   s t a t e   t o   / p a t h / t o / c l u s t e r - s t a t e   k u b e c t l   c l u s t e r - i n f o   d u m p   - - o u t p u t - d i r e c t o r y = / p a t h / t o / c l u s t e r - s t a t e   D u m p   a l l   n a m e s p a c e s   t o   s t d o u t   k u b e c t l   c l u s t e r - i n f o   d u m p   - - a l l - n a m e s p a c e s   D u m p   a   s e t   o f   n a m e s p a c e s   t o   / p a t h / t o / c l u s t e r - s t a t e   k u b e c t l   c l u s t e r - i n f o   d u m p   - - n a m e s p a c e s   d e f a u l t , k u b e - s y s t e m   - - o u t p u t - d i r e c t o r y = / p a t h / t o / c l u s t e r - s t a t e   D u m p   c l u s t e r   i n f o r m a t i o n   o u t   s u i t a b l e   f o r   d e b u g g i n g   a n d   d i a g n o s i n g   c l u s t e r   p r o b l e m s .   B y   d e f a u l t ,   d u m p s   e v e r y t h i n g   t o   s t d o u t .   Y o u   c a n   o p t i o n a l l y   s p e c i f y   a   d i r e c t o r y   w i t h   - - o u t p u t - d i r e c t o r y .   I f   y o u   s p e c i f y   a   d i r e c t o r y ,   K u b e r n e t e s   w i l l   b u i l d   a   s e t   o f   f i l e s   i n   t h a t   d i r e c t o r y .   B y   d e f a u l t ,   o n l y   d u m p s   t h i n g s   i n   t h e   c u r r e n t   n a m e s p a c e   a n d   ' k u b e - s y s t e m '   n a m e s p a c e ,   b u t   y o u   c a n   s w i t c h   t o   a   d i f f e r e n t   n a m e s p a c e   w i t h   t h e   - - n a m e s p a c e s   f l a g ,   o r   s p e c i f y   - - a l l - n a m e s p a c e s   t o   d u m p   a l l   n a m e s p a c e s .   T h e   c o m m a n d   a l s o   d u m p s   t h e   l o g s   o f   a l l   o f   t h e   p o d s   i n   t h e   c l u s t e r ;   t h e s e   l o g s   a r e   d u m p e d   i n t o   d i f f e r e n t   d i r e c t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7471"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c l u s t e r - i n f o   d u m p",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7472"
  },
  {
    "question": "What is cordon?",
    "answer": "M a r k   n o d e   \" f o o \"   a s   u n s c h e d u l a b l e   k u b e c t l   c o r d o n   f o o   M a r k   n o d e   a s   u n s c h e d u l a b l e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7473"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o r d o n   N O D E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7474"
  },
  {
    "question": "What is drain?",
    "answer": "D r a i n   n o d e   \" f o o \" ,   e v e n   i f   t h e r e   a r e   p o d s   n o t   m a n a g e d   b y   a   r e p l i c a t i o n   c o n t r o l l e r ,   r e p l i c a   s e t ,   j o b ,   d a e m o n   s e t   o r   s t a t e f u l   s e t   o n   i t   k u b e c t l   d r a i n   f o o   - - f o r c e   A s   a b o v e ,   b u t   a b o r t   i f   t h e r e   a r e   p o d s   n o t   m a n a g e d   b y   a   r e p l i c a t i o n   c o n t r o l l e r ,   r e p l i c a   s e t ,   j o b ,   d a e m o n   s e t   o r   s t a t e f u l   s e t ,   a n d   u s e   a   g r a c e   p e r i o d   o f   1 5   m i n u t e s   k u b e c t l   d r a i n   f o o   - - g r a c e - p e r i o d = 9 0 0   D r a i n   n o d e   i n   p r e p a r a t i o n   f o r   m a i n t e n a n c e .   T h e   g i v e n   n o d e   w i l l   b e   m a r k e d   u n s c h e d u l a b l e   t o   p r e v e n t   n e w   p o d s   f r o m   a r r i v i n g .   ' d r a i n '   e v i c t s   t h e   p o d s   i f   t h e   A P I   s e r v e r   s u p p o r t s   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / p o d s / d i s r u p t i o n s /   .   O t h e r w i s e ,   i t   w i l l   u s e   n o r m a l   D E L E T E   t o   d e l e t e   t h e   p o d s .   T h e   ' d r a i n '   e v i c t s   o r   d e l e t e s   a l l   p o d s   e x c e p t   m i r r o r   p o d s   ( w h i c h   c a n n o t   b e   d e l e t e d   t h r o u g h   t h e   A P I   s e r v e r ) .   I f   t h e r e   a r e   d a e m o n   s e t - m a n a g e d   p o d s ,   d r a i n   w i l l   n o t   p r o c e e d   w i t h o u t   - - i g n o r e - d a e m o n s e t s ,   a n d   r e g a r d l e s s   i t   w i l l   n o t   d e l e t e   a n y   d a e m o n   s e t - m a n a g e d   p o d s ,   b e c a u s e   t h o s e   p o d s   w o u l d   b e   i m m e d i a t e l y   r e p l a c e d   b y   t h e   d a e m o n   s e t   c o n t r o l l e r ,   w h i c h   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7475"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   d r a i n   N O D E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7476"
  },
  {
    "question": "What is taint?",
    "answer": "U p d a t e   n o d e   ' f o o '   w i t h   a   t a i n t   w i t h   k e y   ' d e d i c a t e d '   a n d   v a l u e   ' s p e c i a l - u s e r '   a n d   e f f e c t   ' N o S c h e d u l e '   #   I f   a   t a i n t   w i t h   t h a t   k e y   a n d   e f f e c t   a l r e a d y   e x i s t s ,   i t s   v a l u e   i s   r e p l a c e d   a s   s p e c i f i e d   k u b e c t l   t a i n t   n o d e s   f o o   d e d i c a t e d = s p e c i a l - u s e r : N o S c h e d u l e   R e m o v e   f r o m   n o d e   ' f o o '   t h e   t a i n t   w i t h   k e y   ' d e d i c a t e d '   a n d   e f f e c t   ' N o S c h e d u l e '   i f   o n e   e x i s t s   k u b e c t l   t a i n t   n o d e s   f o o   d e d i c a t e d : N o S c h e d u l e -   R e m o v e   f r o m   n o d e   ' f o o '   a l l   t h e   t a i n t s   w i t h   k e y   ' d e d i c a t e d '   k u b e c t l   t a i n t   n o d e s   f o o   d e d i c a t e d -   A d d   a   t a i n t   w i t h   k e y   ' d e d i c a t e d '   o n   n o d e s   h a v i n g   l a b e l   m y l a b e l = X   k u b e c t l   t a i n t   n o d e   - l   m y L a b e l = X   d e d i c a t e d = f o o : P r e f e r N o S c h e d u l e   A d d   t o   n o d e   ' f o o '   a   t a i n t   w i t h   k e y   ' b a r '   a n d   n o   v a l u e   k u b e c t l   t a i n t   n o d e s   f o o   b a r : N o S c h e d u l e   U p d a t e   t h e   t a i n t s   o n   o n e   o r   m o r e   n o d e s .   A   t a i n t   c o n s i s t s   o f   a   k e y ,   v a l u e ,   a n d   e f f e c t .   A s   a n   a r g u m e n t   h e r e ,   i t   i s   e x p r e s s e d   a s   k e y = v a l u e : e f f e c t .   T h e   k e y   m u s t   b e g i n   w i t h   a   l e t t e r   o r   n u m b e r ,   a n d   m a y   c o n t a i n   l e t t e r s ,   n u m b e r s ,   h y p h e n s ,   d o t s ,   a n d   u n d e r s c o r e s ,   u p   t o   2 5 3   c h a r a c t e r s .   O p t i o n a l l y ,   t h e   k e y   c a n ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7477"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   t a i n t   N O D E   N A M E   K E Y _ 1 = V A L _ 1 : T A I N T _ E F F E C T _ 1   . . .   K E Y _ N = V A L _ N : T A I N T _ E F F E C T _ N",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7478"
  },
  {
    "question": "What is uncordon?",
    "answer": "M a r k   n o d e   \" f o o \"   a s   s c h e d u l a b l e   k u b e c t l   u n c o r d o n   f o o   M a r k   n o d e   a s   s c h e d u l a b l e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7479"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   u n c o r d o n   N O D E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7480"
  },
  {
    "question": "What is alpha?",
    "answer": "T h e s e   c o m m a n d s   c o r r e s p o n d   t o   a l p h a   f e a t u r e s   t h a t   a r e   n o t   e n a b l e d   i n   K u b e r n e t e s   c l u s t e r s   b y   d e f a u l t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7481"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   a l p h a",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7482"
  },
  {
    "question": "What is api-resources?",
    "answer": "P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   k u b e c t l   a p i - r e s o u r c e s   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   w i t h   m o r e   i n f o r m a t i o n   k u b e c t l   a p i - r e s o u r c e s   - o   w i d e   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   s o r t e d   b y   a   c o l u m n   k u b e c t l   a p i - r e s o u r c e s   - - s o r t - b y = n a m e   P r i n t   t h e   s u p p o r t e d   n a m e s p a c e d   r e s o u r c e s   k u b e c t l   a p i - r e s o u r c e s   - - n a m e s p a c e d = t r u e   P r i n t   t h e   s u p p o r t e d   n o n - n a m e s p a c e d   r e s o u r c e s   k u b e c t l   a p i - r e s o u r c e s   - - n a m e s p a c e d = f a l s e   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   w i t h   a   s p e c i f i c   A P I G r o u p   k u b e c t l   a p i - r e s o u r c e s   - - a p i - g r o u p = e x t e n s i o n s   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   o n   t h e   s e r v e r .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7483"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   a p i - r e s o u r c e s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7484"
  },
  {
    "question": "What is completion?",
    "answer": "I n s t a l l i n g   b a s h   c o m p l e t i o n   o n   m a c O S   u s i n g   h o m e b r e w   # #   I f   r u n n i n g   B a s h   3 . 2   i n c l u d e d   w i t h   m a c O S   b r e w   i n s t a l l   b a s h - c o m p l e t i o n   o r ,   i f   r u n n i n g   B a s h   4 . 1 +   b r e w   i n s t a l l   b a s h - c o m p l e t i o n @ 2   I f   k u b e c t l   i s   i n s t a l l e d   v i a   h o m e b r e w ,   t h i s   s h o u l d   s t a r t   w o r k i n g   i m m e d i a t e l y   # #   I f   y o u ' v e   i n s t a l l e d   v i a   o t h e r   m e a n s ,   y o u   m a y   n e e d   a d d   t h e   c o m p l e t i o n   t o   y o u r   c o m p l e t i o n   d i r e c t o r y   k u b e c t l   c o m p l e t i o n   b a s h   >   $ ( b r e w   - - p r e f i x ) / e t c / b a s h _ c o m p l e t i o n . d / k u b e c t l   I n s t a l l i n g   b a s h   c o m p l e t i o n   o n   L i n u x   # #   I f   b a s h - c o m p l e t i o n   i s   n o t   i n s t a l l e d   o n   L i n u x ,   i n s t a l l   t h e   ' b a s h - c o m p l e t i o n '   p a c k a g e   # #   v i a   y o u r   d i s t r i b u t i o n ' s   p a c k a g e   m a n a g e r .   # #   L o a d   t h e   k u b e c t l   c o m p l e t i o n   c o d e   f o r   b a s h   i n t o   t h e   c u r r e n t   s h e l l   s o u r c e   < ( k u b e c t l   c o m p l e t i o n   b a s h )   W r i t e   b a s h   c o m p l e t i o n   c o d e   t o   a   f i l e   a n d   s o u r c e   i t   f r o m   . b a s h _ p r o f i l e   k u b e c t l   c o m p l e t i o n   b a s h   >   ~ / . k u b e / c o m p l e t i o n . b a s h . i n c   p r i n t f   \"   K u b e c t l   s h e l l   c o m p l e t i o n   s o u r c e   ' $ H O M E / . k u b e / c o m p l e t i o n . b a s h . i n c '   \"   > >   $ H O M E / . b a s h _ p r o f i l e   s o u r c e   $ H O M E / . b a s h _ p r o f i l e   L o a d   t h e   k u b e c t l   c o m p l e t i o n   c o d e   f o r   z s h [ 1 ]   i n t o   t h ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7485"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o m p l e t i o n   S H E L L",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7486"
  },
  {
    "question": "What is config?",
    "answer": "M o d i f y   k u b e c o n f i g   f i l e s   u s i n g   s u b c o m m a n d s   l i k e   \" k u b e c t l   c o n f i g   s e t   c u r r e n t - c o n t e x t   m y - c o n t e x t \"   T h e   l o a d i n g   o r d e r   f o l l o w s   t h e s e   r u l e s :   I f   t h e   - - k u b e c o n f i g   f l a g   i s   s e t ,   t h e n   o n l y   t h a t   f i l e   i s   l o a d e d .   T h e   f l a g   m a y   o n l y   b e   s e t   o n c e   a n d   n o   m e r g i n g   t a k e s   p l a c e .   I f   $ K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   i s   s e t ,   t h e n   i t   i s   u s e d   a s   a   l i s t   o f   p a t h s   ( n o r m a l   p a t h   d e l i m i t i n g   r u l e s   f o r   y o u r   s y s t e m ) .   T h e s e   p a t h s   a r e   m e r g e d .   W h e n   a   v a l u e   i s   m o d i f i e d ,   i t   i s   m o d i f i e d   i n   t h e   f i l e   t h a t   d e f i n e s   t h e   s t a n z a .   W h e n   a   v a l u e   i s   c r e a t e d ,   i t   i s   c r e a t e d   i n   t h e   f i r s t   f i l e   t h a t   e x i s t s .   I f   n o   f i l e s   i n   t h e   c h a i n   e x i s t ,   t h e n   i t   c r e a t e s   t h e   l a s t   f i l e   i n   t h e   l i s t .   O t h e r w i s e ,   $ { H O M E } / . k u b e / c o n f i g   i s   u s e d   a n d   n o   m e r g i n g   t a k e s   p l a c e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7487"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   S U B C O M M A N D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7488"
  },
  {
    "question": "What is current-context?",
    "answer": "D i s p l a y   t h e   c u r r e n t - c o n t e x t   k u b e c t l   c o n f i g   c u r r e n t - c o n t e x t   D i s p l a y   t h e   c u r r e n t - c o n t e x t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7489"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   c u r r e n t - c o n t e x t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7490"
  },
  {
    "question": "What is delete-cluster?",
    "answer": "D e l e t e   t h e   m i n i k u b e   c l u s t e r   k u b e c t l   c o n f i g   d e l e t e - c l u s t e r   m i n i k u b e   D e l e t e   t h e   s p e c i f i e d   c l u s t e r   f r o m   t h e   k u b e c o n f i g .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7491"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   d e l e t e - c l u s t e r   N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7492"
  },
  {
    "question": "What is delete-context?",
    "answer": "D e l e t e   t h e   c o n t e x t   f o r   t h e   m i n i k u b e   c l u s t e r   k u b e c t l   c o n f i g   d e l e t e - c o n t e x t   m i n i k u b e   D e l e t e   t h e   s p e c i f i e d   c o n t e x t   f r o m   t h e   k u b e c o n f i g .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7493"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   d e l e t e - c o n t e x t   N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7494"
  },
  {
    "question": "What is delete-user?",
    "answer": "D e l e t e   t h e   m i n i k u b e   u s e r   k u b e c t l   c o n f i g   d e l e t e - u s e r   m i n i k u b e   D e l e t e   t h e   s p e c i f i e d   u s e r   f r o m   t h e   k u b e c o n f i g .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7495"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   d e l e t e - u s e r   N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7496"
  },
  {
    "question": "What is get-clusters?",
    "answer": "L i s t   t h e   c l u s t e r s   t h a t   k u b e c t l   k n o w s   a b o u t   k u b e c t l   c o n f i g   g e t - c l u s t e r s   D i s p l a y   c l u s t e r s   d e f i n e d   i n   t h e   k u b e c o n f i g .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7497"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   g e t - c l u s t e r s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7498"
  },
  {
    "question": "What is get-contexts?",
    "answer": "L i s t   a l l   t h e   c o n t e x t s   i n   y o u r   k u b e c o n f i g   f i l e   k u b e c t l   c o n f i g   g e t - c o n t e x t s   D e s c r i b e   o n e   c o n t e x t   i n   y o u r   k u b e c o n f i g   f i l e   k u b e c t l   c o n f i g   g e t - c o n t e x t s   m y - c o n t e x t   D i s p l a y   o n e   o r   m a n y   c o n t e x t s   f r o m   t h e   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7499"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   g e t - c o n t e x t s   [ ( - o | - - o u t p u t = ) n a m e ) ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7500"
  },
  {
    "question": "What is get-users?",
    "answer": "L i s t   t h e   u s e r s   t h a t   k u b e c t l   k n o w s   a b o u t   k u b e c t l   c o n f i g   g e t - u s e r s   D i s p l a y   u s e r s   d e f i n e d   i n   t h e   k u b e c o n f i g .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7501"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   g e t - u s e r s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7502"
  },
  {
    "question": "What is rename-context?",
    "answer": "R e n a m e   t h e   c o n t e x t   ' o l d - n a m e '   t o   ' n e w - n a m e '   i n   y o u r   k u b e c o n f i g   f i l e   k u b e c t l   c o n f i g   r e n a m e - c o n t e x t   o l d - n a m e   n e w - n a m e   R e n a m e s   a   c o n t e x t   f r o m   t h e   k u b e c o n f i g   f i l e .   C O N T E X T _ N A M E   i s   t h e   c o n t e x t   n a m e   t h a t   y o u   w a n t   t o   c h a n g e .   N E W _ N A M E   i s   t h e   n e w   n a m e   y o u   w a n t   t o   s e t .   N o t e :   I f   t h e   c o n t e x t   b e i n g   r e n a m e d   i s   t h e   ' c u r r e n t - c o n t e x t ' ,   t h i s   f i e l d   w i l l   a l s o   b e   u p d a t e d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7503"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   r e n a m e - c o n t e x t   C O N T E X T _ N A M E   N E W _ N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7504"
  },
  {
    "question": "What is set?",
    "answer": "S e t   t h e   s e r v e r   f i e l d   o n   t h e   m y - c l u s t e r   c l u s t e r   t o   h t t p s : / / 1 . 2 . 3 . 4   k u b e c t l   c o n f i g   s e t   c l u s t e r s . m y - c l u s t e r . s e r v e r   h t t p s : / / 1 . 2 . 3 . 4   S e t   t h e   c e r t i f i c a t e - a u t h o r i t y - d a t a   f i e l d   o n   t h e   m y - c l u s t e r   c l u s t e r   k u b e c t l   c o n f i g   s e t   c l u s t e r s . m y - c l u s t e r . c e r t i f i c a t e - a u t h o r i t y - d a t a   $ ( e c h o   \" c e r t _ d a t a _ h e r e \"   |   b a s e 6 4   - i   - )   S e t   t h e   c l u s t e r   f i e l d   i n   t h e   m y - c o n t e x t   c o n t e x t   t o   m y - c l u s t e r   k u b e c t l   c o n f i g   s e t   c o n t e x t s . m y - c o n t e x t . c l u s t e r   m y - c l u s t e r   S e t   t h e   c l i e n t - k e y - d a t a   f i e l d   i n   t h e   c l u s t e r - a d m i n   u s e r   u s i n g   - - s e t - r a w - b y t e s   o p t i o n   k u b e c t l   c o n f i g   s e t   u s e r s . c l u s t e r - a d m i n . c l i e n t - k e y - d a t a   c e r t _ d a t a _ h e r e   - - s e t - r a w - b y t e s = t r u e   S e t   a n   i n d i v i d u a l   v a l u e   i n   a   k u b e c o n f i g   f i l e .   P R O P E R T Y _ N A M E   i s   a   d o t   d e l i m i t e d   n a m e   w h e r e   e a c h   t o k e n   r e p r e s e n t s   e i t h e r   a n   a t t r i b u t e   n a m e   o r   a   m a p   k e y .   M a p   k e y s   m a y   n o t   c o n t a i n   d o t s .   P R O P E R T Y _ V A L U E   i s   t h e   n e w   v a l u e   y o u   w a n t   t o   s e t .   B i n a r y   f i e l d s   s u c h   a s   ' c e r t i f i c a t e - a u t h o r i t y - d a t a '   e x p e c t   a   b a s e 6 4   e n c o d e d   s t r i n g   u n l e s s   t h e   - - s e t - r a w - b y t e s   f l a g   i s   u s e d .   S p e c i f y i n g   a n   a t t r i b u t e   n a m e   t h a t   a l r e a d y   e x i s t s   w ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7505"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   s e t   P R O P E R T Y _ N A M E   P R O P E R T Y _ V A L U E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7506"
  },
  {
    "question": "What is set-cluster?",
    "answer": "S e t   o n l y   t h e   s e r v e r   f i e l d   o n   t h e   e 2 e   c l u s t e r   e n t r y   w i t h o u t   t o u c h i n g   o t h e r   v a l u e s   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - s e r v e r = h t t p s : / / 1 . 2 . 3 . 4   E m b e d   c e r t i f i c a t e   a u t h o r i t y   d a t a   f o r   t h e   e 2 e   c l u s t e r   e n t r y   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - e m b e d - c e r t s   - - c e r t i f i c a t e - a u t h o r i t y = ~ / . k u b e / e 2 e / k u b e r n e t e s . c a . c r t   D i s a b l e   c e r t   c h e c k i n g   f o r   t h e   d e v   c l u s t e r   e n t r y   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - i n s e c u r e - s k i p - t l s - v e r i f y = t r u e   S e t   c u s t o m   T L S   s e r v e r   n a m e   t o   u s e   f o r   v a l i d a t i o n   f o r   t h e   e 2 e   c l u s t e r   e n t r y   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - t l s - s e r v e r - n a m e = m y - c l u s t e r - n a m e   S e t   a   c l u s t e r   e n t r y   i n   k u b e c o n f i g .   S p e c i f y i n g   a   n a m e   t h a t   a l r e a d y   e x i s t s   w i l l   m e r g e   n e w   f i e l d s   o n   t o p   o f   e x i s t i n g   v a l u e s   f o r   t h o s e   f i e l d s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7507"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   s e t - c l u s t e r   N A M E   [ - - s e r v e r = s e r v e r ]   [ - - c e r t i f i c a t e - a u t h o r i t y = p a t h / t o / c e r t i f i c a t e / a u t h o r i t y ]   [ - - i n s e c u r e - s k i p - t l s - v e r i f y = t r u e ]   [ - - t l s - s e r v e r - n a m e = e x a m p l e . c o m ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7508"
  },
  {
    "question": "What is set-context?",
    "answer": "S e t   t h e   u s e r   f i e l d   o n   t h e   g c e   c o n t e x t   e n t r y   w i t h o u t   t o u c h i n g   o t h e r   v a l u e s   k u b e c t l   c o n f i g   s e t - c o n t e x t   g c e   - - u s e r = c l u s t e r - a d m i n   S e t   a   c o n t e x t   e n t r y   i n   k u b e c o n f i g .   S p e c i f y i n g   a   n a m e   t h a t   a l r e a d y   e x i s t s   w i l l   m e r g e   n e w   f i e l d s   o n   t o p   o f   e x i s t i n g   v a l u e s   f o r   t h o s e   f i e l d s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7509"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   s e t - c o n t e x t   [ N A M E   |   - - c u r r e n t ]   [ - - c l u s t e r = c l u s t e r _ n i c k n a m e ]   [ - - u s e r = u s e r _ n i c k n a m e ]   [ - - n a m e s p a c e = n a m e s p a c e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7510"
  },
  {
    "question": "What is set-credentials?",
    "answer": "S e t   o n l y   t h e   \" c l i e n t - k e y \"   f i e l d   o n   t h e   \" c l u s t e r - a d m i n \"   #   e n t r y ,   w i t h o u t   t o u c h i n g   o t h e r   v a l u e s   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - c l i e n t - k e y = ~ / . k u b e / a d m i n . k e y   S e t   b a s i c   a u t h   f o r   t h e   \" c l u s t e r - a d m i n \"   e n t r y   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - u s e r n a m e = a d m i n   - - p a s s w o r d = u X F G w e U 9 l 3 5 q c i f   E m b e d   c l i e n t   c e r t i f i c a t e   d a t a   i n   t h e   \" c l u s t e r - a d m i n \"   e n t r y   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - c l i e n t - c e r t i f i c a t e = ~ / . k u b e / a d m i n . c r t   - - e m b e d - c e r t s = t r u e   E n a b l e   t h e   G o o g l e   C o m p u t e   P l a t f o r m   a u t h   p r o v i d e r   f o r   t h e   \" c l u s t e r - a d m i n \"   e n t r y   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - a u t h - p r o v i d e r = g c p   E n a b l e   t h e   O p e n I D   C o n n e c t   a u t h   p r o v i d e r   f o r   t h e   \" c l u s t e r - a d m i n \"   e n t r y   w i t h   a d d i t i o n a l   a r g s   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - a u t h - p r o v i d e r = o i d c   - - a u t h - p r o v i d e r - a r g = c l i e n t - i d = f o o   - - a u t h - p r o v i d e r - a r g = c l i e n t - s e c r e t = b a r   R e m o v e   t h e   \" c l i e n t - s e c r e t \"   c o n f i g   v a l u e   f o r   t h e   O p e n I D   C o n n e c t   a u t h   p r o v i d e r   f o r   t h e   \" c l u s t e r - a d m i n \"   e n t r y   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - a u t h - p r ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7511"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   N A M E   [ - - c l i e n t - c e r t i f i c a t e = p a t h / t o / c e r t f i l e ]   [ - - c l i e n t - k e y = p a t h / t o / k e y f i l e ]   [ - - t o k e n = b e a r e r _ t o k e n ]   [ - - u s e r n a m e = b a s i c _ u s e r ]   [ - - p a s s w o r d = b a s i c _ p a s s w o r d ]   [ - - a u t h - p r o v i d e r = p r o v i d e r _ n a m e ]   [ - - a u t h - p r o v i d e r - a r g = k e y = v a l u e ]   [ - - e x e c - c o m m a n d = e x e c _ c o m m a n d ]   [ - - e x e c - a p i - v e r s i o n = e x e c _ a p i _ v e r s i o n ]   [ - - e x e c - a r g = a r g ]   [ - - e x e c - e n v = k e y = v a l u e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7512"
  },
  {
    "question": "What is unset?",
    "answer": "U n s e t   t h e   c u r r e n t - c o n t e x t   k u b e c t l   c o n f i g   u n s e t   c u r r e n t - c o n t e x t   U n s e t   n a m e s p a c e   i n   f o o   c o n t e x t   k u b e c t l   c o n f i g   u n s e t   c o n t e x t s . f o o . n a m e s p a c e   U n s e t   a n   i n d i v i d u a l   v a l u e   i n   a   k u b e c o n f i g   f i l e .   P R O P E R T Y _ N A M E   i s   a   d o t   d e l i m i t e d   n a m e   w h e r e   e a c h   t o k e n   r e p r e s e n t s   e i t h e r   a n   a t t r i b u t e   n a m e   o r   a   m a p   k e y .   M a p   k e y s   m a y   n o t   c o n t a i n   d o t s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7513"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   u n s e t   P R O P E R T Y _ N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7514"
  },
  {
    "question": "What is use-context?",
    "answer": "U s e   t h e   c o n t e x t   f o r   t h e   m i n i k u b e   c l u s t e r   k u b e c t l   c o n f i g   u s e - c o n t e x t   m i n i k u b e   S e t   t h e   c u r r e n t - c o n t e x t   i n   a   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7515"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   u s e - c o n t e x t   C O N T E X T _ N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7516"
  },
  {
    "question": "What is view?",
    "answer": "S h o w   m e r g e d   k u b e c o n f i g   s e t t i n g s   k u b e c t l   c o n f i g   v i e w   S h o w   m e r g e d   k u b e c o n f i g   s e t t i n g s   a n d   r a w   c e r t i f i c a t e   d a t a   k u b e c t l   c o n f i g   v i e w   - - r a w   G e t   t h e   p a s s w o r d   f o r   t h e   e 2 e   u s e r   k u b e c t l   c o n f i g   v i e w   - o   j s o n p a t h = ' { . u s e r s [ ? ( @ . n a m e   = =   \" e 2 e \" ) ] . u s e r . p a s s w o r d } '   D i s p l a y   m e r g e d   k u b e c o n f i g   s e t t i n g s   o r   a   s p e c i f i e d   k u b e c o n f i g   f i l e .   Y o u   c a n   u s e   - - o u t p u t   j s o n p a t h = { . . . }   t o   e x t r a c t   s p e c i f i c   v a l u e s   u s i n g   a   j s o n p a t h   e x p r e s s i o n .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7517"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   v i e w",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7518"
  },
  {
    "question": "What is explain?",
    "answer": "G e t   t h e   d o c u m e n t a t i o n   o f   t h e   r e s o u r c e   a n d   i t s   f i e l d s   k u b e c t l   e x p l a i n   p o d s   G e t   t h e   d o c u m e n t a t i o n   o f   a   s p e c i f i c   f i e l d   o f   a   r e s o u r c e   k u b e c t l   e x p l a i n   p o d s . s p e c . c o n t a i n e r s   L i s t   t h e   f i e l d s   f o r   s u p p o r t e d   r e s o u r c e s .   T h i s   c o m m a n d   d e s c r i b e s   t h e   f i e l d s   a s s o c i a t e d   w i t h   e a c h   s u p p o r t e d   A P I   r e s o u r c e .   F i e l d s   a r e   i d e n t i f i e d   v i a   a   s i m p l e   J S O N P a t h   i d e n t i f i e r :   < t y p e > . < f i e l d N a m e > [ . < f i e l d N a m e > ]   A d d   t h e   - - r e c u r s i v e   f l a g   t o   d i s p l a y   a l l   o f   t h e   f i e l d s   a t   o n c e   w i t h o u t   d e s c r i p t i o n s .   I n f o r m a t i o n   a b o u t   e a c h   f i e l d   i s   r e t r i e v e d   f r o m   t h e   s e r v e r   i n   O p e n A P I   f o r m a t .   U s e   \" k u b e c t l   a p i - r e s o u r c e s \"   f o r   a   c o m p l e t e   l i s t   o f   s u p p o r t e d   r e s o u r c e s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7519"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   e x p l a i n   R E S O U R C E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7520"
  },
  {
    "question": "What is options?",
    "answer": "P r i n t   f l a g s   i n h e r i t e d   b y   a l l   c o m m a n d s   k u b e c t l   o p t i o n s   P r i n t   t h e   l i s t   o f   f l a g s   i n h e r i t e d   b y   a l l   c o m m a n d s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7521"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   o p t i o n s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7522"
  },
  {
    "question": "What is plugin?",
    "answer": "P r o v i d e s   u t i l i t i e s   f o r   i n t e r a c t i n g   w i t h   p l u g i n s .   P l u g i n s   p r o v i d e   e x t e n d e d   f u n c t i o n a l i t y   t h a t   i s   n o t   p a r t   o f   t h e   m a j o r   c o m m a n d - l i n e   d i s t r i b u t i o n .   P l e a s e   r e f e r   t o   t h e   d o c u m e n t a t i o n   a n d   e x a m p l e s   f o r   m o r e   i n f o r m a t i o n   a b o u t   h o w   w r i t e   y o u r   o w n   p l u g i n s .   T h e   e a s i e s t   w a y   t o   d i s c o v e r   a n d   i n s t a l l   p l u g i n s   i s   v i a   t h e   k u b e r n e t e s   s u b - p r o j e c t   k r e w .   T o   i n s t a l l   k r e w ,   v i s i t   h t t p s : / / k r e w . s i g s . k 8 s . i o / d o c s / u s e r - g u i d e / s e t u p / i n s t a l l /",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7523"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   p l u g i n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7524"
  },
  {
    "question": "What is list?",
    "answer": "L i s t   a l l   a v a i l a b l e   p l u g i n   f i l e s   o n   a   u s e r ' s   P A T H .   A v a i l a b l e   p l u g i n   f i l e s   a r e   t h o s e   t h a t   a r e :   -   e x e c u t a b l e   -   a n y w h e r e   o n   t h e   u s e r ' s   P A T H   -   b e g i n   w i t h   \" k u b e c t l - \"",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_2_7525"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   p l u g i n   l i s t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7526"
  },
  {
    "question": "What is version?",
    "answer": "P r i n t   t h e   c l i e n t   a n d   s e r v e r   v e r s i o n s   f o r   t h e   c u r r e n t   c o n t e x t   k u b e c t l   v e r s i o n   P r i n t   t h e   c l i e n t   a n d   s e r v e r   v e r s i o n   i n f o r m a t i o n   f o r   t h e   c u r r e n t   c o n t e x t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_1_7527"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   v e r s i o n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands",
    "id": "k8s_00389_section_3_7528"
  },
  {
    "question": "What is StatefulSets?",
    "answer": "StatefulSetsA StatefulSet runs a group of Pods, and maintains a sticky identity for each of those Pods. This is useful for managing applications that need persistent storage or a stable, unique network identity.StatefulSet is the workload API object used to manage stateful applications.Manages the deployment and scaling of a set of Pods, and provides guarantees about the ordering and uniqueness of these Pods.Like a Deployment, a StatefulSet manages Pods that are based on an identical container spec. Unlike a Deployment, a StatefulSet maintains a sticky identity for each of its Pods. These pods are created from the same spec, but are not interchangeable: each has a persistent identifier that it maintains across any rescheduling.If you want to use storage volumes to provide persistence for your workload, you can use a StatefulSet as part of the solution. Although individual Pods in a StatefulSet are susceptible to failure, the persistent Pod identifiers make it easier to match existing volumes to the new Pods that replace any that have failed.Using StatefulSetsStatefulSets are valuable for applications that require one or more of the following.Stable, unique network identifiers.Stable, persistent storage.Ordered, graceful deployment and scaling.Ordered, automated rolling updates.In the above, stable is synonymous with persistence across Pod (re)scheduling. If an application doesn't require any stable identifiers or ordered deployment, deletion, or scaling, you should deploy your application using a workload object that provides a set of stateless replicas. Deployment or ReplicaSet may be better suited to your stateless needs.LimitationsThe storage for a given Pod must either be provisioned by a PersistentVolume Provisioner (examples here) based on the requested storage class, or pre-provisioned by an admin.Deleting and/or scaling a StatefulSet down will not delete the volumes associated with the StatefulSet. This is done to ensure data safety, which is generally more valuable than an automatic purge of all related StatefulSet resources.StatefulSets currently require a Headless Service to be responsible for the network identity of the Pods. You are responsible for creating this Service.StatefulSets do not provide any guarantees on the termination of pods when a StatefulSet is deleted. To achieve ordered and graceful termination of the pods in the StatefulSet, it is possible to scale the StatefulSet down to 0 prior to deletion.When using Rolling Updates with the default Pod Management Policy (OrderedReady), it's possible to get into a broken state that requires manual intervention to repair.ComponentsThe example below demonstrates the components of a StatefulSet.apiVersion: v1 kind: Service metadata: name: nginx labels: app: nginx spec: ports: - port: 80 name: web clusterIP: None selector: app: nginx --- apiVersion: apps/v1 kind: StatefulSet metadata: name: web spec: selector: matchLabels: app: nginx # has to match .spec.template.metadata.labels serv",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_qa_7529"
  },
  {
    "question": "How does StatefulSets work?",
    "answer": "StatefulSetsA StatefulSet runs a group of Pods, and maintains a sticky identity for each of those Pods. This is useful for managing applications that need persistent storage or a stable, unique network identity.StatefulSet is the workload API object used to manage stateful applications.Manages the deployment and scaling of a set of Pods, and provides guarantees about the ordering and uniqueness of these Pods.Like a Deployment, a StatefulSet manages Pods that are based on an identical container spec. Unlike a Deployment, a StatefulSet maintains a sticky identity for each of its Pods. These pods are created from the same spec, but are not interchangeable: each has a persistent identifier that it maintains across any rescheduling.If you want to use storage volumes to provide persistence for your workload, you can use a StatefulSet as part of the solution. Although individual Pods in a StatefulSet are susceptible to failure, the persistent Pod identifiers make it easier to match existing volumes to the new Pods that replace any that have failed.Using StatefulSetsStatefulSets are valuable for applications that require one or more of the following.Stable, unique network identifiers.Stable, persistent storage.Ordered, graceful deployment and scaling.Ordered, automated rolling updates.In the above, stable is synonymous with persistence across Pod (re)scheduling. If an application doesn't require any stable identifiers or ordered deployment, deletion, or scaling, you should deploy your application using a workload object that provides a set of stateless replicas. Deployment or ReplicaSet may be better suited to your stateless needs.LimitationsThe storage for a given Pod must either be provisioned by a PersistentVolume Provisioner (examples here) based on the requested storage class, or pre-provisioned by an admin.Deleting and/or scaling a StatefulSet down will not delete the volumes associated with the StatefulSet. This is done to ensure data safety, which is generally more valuable than an automatic purge of all related StatefulSet resources.StatefulSets currently require a Headless Service to be responsible for the network identity of the Pods. You are responsible for creating this Service.StatefulSets do not provide any guarantees on the termination of pods when a StatefulSet is deleted. To achieve ordered and graceful termination of the pods in the StatefulSet, it is possible to scale the StatefulSet down to 0 prior to deletion.When using Rolling Updates with the default Pod Management Policy (OrderedReady), it's possible to get into a broken state that requires manual intervention to repair.ComponentsThe example below demonstrates the components of a StatefulSet.apiVersion: v1 kind: Service metadata: name: nginx labels: app: nginx spec: ports: - port: 80 name: web clusterIP: None selector: app: nginx --- apiVersion: apps/v1 kind: StatefulSet metadata: name: web spec: selector: matchLabels: app: nginx # has to match .spec.template.metadata.labels serv",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_qa_7530"
  },
  {
    "question": "When would you use StatefulSets?",
    "answer": "StatefulSetsA StatefulSet runs a group of Pods, and maintains a sticky identity for each of those Pods. This is useful for managing applications that need persistent storage or a stable, unique network identity.StatefulSet is the workload API object used to manage stateful applications.Manages the deployment and scaling of a set of Pods, and provides guarantees about the ordering and uniqueness of these Pods.Like a Deployment, a StatefulSet manages Pods that are based on an identical container spec. Unlike a Deployment, a StatefulSet maintains a sticky identity for each of its Pods. These pods are created from the same spec, but are not interchangeable: each has a persistent identifier that it maintains across any rescheduling.If you want to use storage volumes to provide persistence for your workload, you can use a StatefulSet as part of the solution. Although individual Pods in a StatefulSet are susceptible to failure, the persistent Pod identifiers make it easier to match existing volumes to the new Pods that replace any that have failed.Using StatefulSetsStatefulSets are valuable for applications that require one or more of the following.Stable, unique network identifiers.Stable, persistent storage.Ordered, graceful deployment and scaling.Ordered, automated rolling updates.In the above, stable is synonymous with persistence across Pod (re)scheduling. If an application doesn't require any stable identifiers or ordered deployment, deletion, or scaling, you should deploy your application using a workload object that provides a set of stateless replicas. Deployment or ReplicaSet may be better suited to your stateless needs.LimitationsThe storage for a given Pod must either be provisioned by a PersistentVolume Provisioner (examples here) based on the requested storage class, or pre-provisioned by an admin.Deleting and/or scaling a StatefulSet down will not delete the volumes associated with the StatefulSet. This is done to ensure data safety, which is generally more valuable than an automatic purge of all related StatefulSet resources.StatefulSets currently require a Headless Service to be responsible for the network identity of the Pods. You are responsible for creating this Service.StatefulSets do not provide any guarantees on the termination of pods when a StatefulSet is deleted. To achieve ordered and graceful termination of the pods in the StatefulSet, it is possible to scale the StatefulSet down to 0 prior to deletion.When using Rolling Updates with the default Pod Management Policy (OrderedReady), it's possible to get into a broken state that requires manual intervention to repair.ComponentsThe example below demonstrates the components of a StatefulSet.apiVersion: v1 kind: Service metadata: name: nginx labels: app: nginx spec: ports: - port: 80 name: web clusterIP: None selector: app: nginx --- apiVersion: apps/v1 kind: StatefulSet metadata: name: web spec: selector: matchLabels: app: nginx # has to match .spec.template.metadata.labels serv",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_qa_7531"
  },
  {
    "question": "What are the benefits of StatefulSets?",
    "answer": "StatefulSetsA StatefulSet runs a group of Pods, and maintains a sticky identity for each of those Pods. This is useful for managing applications that need persistent storage or a stable, unique network identity.StatefulSet is the workload API object used to manage stateful applications.Manages the deployment and scaling of a set of Pods, and provides guarantees about the ordering and uniqueness of these Pods.Like a Deployment, a StatefulSet manages Pods that are based on an identical container spec. Unlike a Deployment, a StatefulSet maintains a sticky identity for each of its Pods. These pods are created from the same spec, but are not interchangeable: each has a persistent identifier that it maintains across any rescheduling.If you want to use storage volumes to provide persistence for your workload, you can use a StatefulSet as part of the solution. Although individual Pods in a StatefulSet are susceptible to failure, the persistent Pod identifiers make it easier to match existing volumes to the new Pods that replace any that have failed.Using StatefulSetsStatefulSets are valuable for applications that require one or more of the following.Stable, unique network identifiers.Stable, persistent storage.Ordered, graceful deployment and scaling.Ordered, automated rolling updates.In the above, stable is synonymous with persistence across Pod (re)scheduling. If an application doesn't require any stable identifiers or ordered deployment, deletion, or scaling, you should deploy your application using a workload object that provides a set of stateless replicas. Deployment or ReplicaSet may be better suited to your stateless needs.LimitationsThe storage for a given Pod must either be provisioned by a PersistentVolume Provisioner (examples here) based on the requested storage class, or pre-provisioned by an admin.Deleting and/or scaling a StatefulSet down will not delete the volumes associated with the StatefulSet. This is done to ensure data safety, which is generally more valuable than an automatic purge of all related StatefulSet resources.StatefulSets currently require a Headless Service to be responsible for the network identity of the Pods. You are responsible for creating this Service.StatefulSets do not provide any guarantees on the termination of pods when a StatefulSet is deleted. To achieve ordered and graceful termination of the pods in the StatefulSet, it is possible to scale the StatefulSet down to 0 prior to deletion.When using Rolling Updates with the default Pod Management Policy (OrderedReady), it's possible to get into a broken state that requires manual intervention to repair.ComponentsThe example below demonstrates the components of a StatefulSet.apiVersion: v1 kind: Service metadata: name: nginx labels: app: nginx spec: ports: - port: 80 name: web clusterIP: None selector: app: nginx --- apiVersion: apps/v1 kind: StatefulSet metadata: name: web spec: selector: matchLabels: app: nginx # has to match .spec.template.metadata.labels serv",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_qa_7532"
  },
  {
    "question": "What is StatefulSets?",
    "answer": "S t a t e f u l S e t   i s   t h e   w o r k l o a d   A P I   o b j e c t   u s e d   t o   m a n a g e   s t a t e f u l   a p p l i c a t i o n s .   M a n a g e s   t h e   d e p l o y m e n t   a n d   s c a l i n g   o f   a   s e t   o f   P o d s ,   a n d   p r o v i d e s   g u a r a n t e e s   a b o u t   t h e   o r d e r i n g   a n d   u n i q u e n e s s   o f   t h e s e   P o d s .   L i k e   a   D e p l o y m e n t ,   a   S t a t e f u l S e t   m a n a g e s   P o d s   t h a t   a r e   b a s e d   o n   a n   i d e n t i c a l   c o n t a i n e r   s p e c .   U n l i k e   a   D e p l o y m e n t ,   a   S t a t e f u l S e t   m a i n t a i n s   a   s t i c k y   i d e n t i t y   f o r   e a c h   o f   i t s   P o d s .   T h e s e   p o d s   a r e   c r e a t e d   f r o m   t h e   s a m e   s p e c ,   b u t   a r e   n o t   i n t e r c h a n g e a b l e :   e a c h   h a s   a   p e r s i s t e n t   i d e n t i f i e r   t h a t   i t   m a i n t a i n s   a c r o s s   a n y   r e s c h e d u l i n g .   I f   y o u   w a n t   t o   u s e   s t o r a g e   v o l u m e s   t o   p r o v i d e   p e r s i s t e n c e   f o r   y o u r   w o r k l o a d ,   y o u   c a n   u s e   a   S t a t e f u l S e t   a s   p a r t   o f   t h e   s o l u t i o n .   A l t h o u g h   i n d i v i d u a l   P o d s   i n   a   S t a t e f u l S e t   a r e   s u s c e p t i b l e   t o   f a i l u r e ,   t h e   p e r s i s t e n t   P o d   i d e n t i f i e r s   m a k e   i t   e a s i e r   t o   m a t c h   e x i s t i n g   v o l u m e s   t o   t h e   n e w   P o d s   t h a t   r e p l a c e   a n y   t h a t   h a v e   f a i l e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_1_7533"
  },
  {
    "question": "What is Using StatefulSets?",
    "answer": "S t a t e f u l S e t s   a r e   v a l u a b l e   f o r   a p p l i c a t i o n s   t h a t   r e q u i r e   o n e   o r   m o r e   o f   t h e   f o l l o w i n g .   S t a b l e ,   u n i q u e   n e t w o r k   i d e n t i f i e r s . S t a b l e ,   p e r s i s t e n t   s t o r a g e . O r d e r e d ,   g r a c e f u l   d e p l o y m e n t   a n d   s c a l i n g . O r d e r e d ,   a u t o m a t e d   r o l l i n g   u p d a t e s .   I n   t h e   a b o v e ,   s t a b l e   i s   s y n o n y m o u s   w i t h   p e r s i s t e n c e   a c r o s s   P o d   ( r e ) s c h e d u l i n g .   I f   a n   a p p l i c a t i o n   d o e s n ' t   r e q u i r e   a n y   s t a b l e   i d e n t i f i e r s   o r   o r d e r e d   d e p l o y m e n t ,   d e l e t i o n ,   o r   s c a l i n g ,   y o u   s h o u l d   d e p l o y   y o u r   a p p l i c a t i o n   u s i n g   a   w o r k l o a d   o b j e c t   t h a t   p r o v i d e s   a   s e t   o f   s t a t e l e s s   r e p l i c a s .   D e p l o y m e n t   o r   R e p l i c a S e t   m a y   b e   b e t t e r   s u i t e d   t o   y o u r   s t a t e l e s s   n e e d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_2_7534"
  },
  {
    "question": "What is Limitations?",
    "answer": "T h e   s t o r a g e   f o r   a   g i v e n   P o d   m u s t   e i t h e r   b e   p r o v i s i o n e d   b y   a   P e r s i s t e n t V o l u m e   P r o v i s i o n e r   ( e x a m p l e s   h e r e )   b a s e d   o n   t h e   r e q u e s t e d   s t o r a g e   c l a s s ,   o r   p r e - p r o v i s i o n e d   b y   a n   a d m i n . D e l e t i n g   a n d / o r   s c a l i n g   a   S t a t e f u l S e t   d o w n   w i l l   n o t   d e l e t e   t h e   v o l u m e s   a s s o c i a t e d   w i t h   t h e   S t a t e f u l S e t .   T h i s   i s   d o n e   t o   e n s u r e   d a t a   s a f e t y ,   w h i c h   i s   g e n e r a l l y   m o r e   v a l u a b l e   t h a n   a n   a u t o m a t i c   p u r g e   o f   a l l   r e l a t e d   S t a t e f u l S e t   r e s o u r c e s . S t a t e f u l S e t s   c u r r e n t l y   r e q u i r e   a   H e a d l e s s   S e r v i c e   t o   b e   r e s p o n s i b l e   f o r   t h e   n e t w o r k   i d e n t i t y   o f   t h e   P o d s .   Y o u   a r e   r e s p o n s i b l e   f o r   c r e a t i n g   t h i s   S e r v i c e . S t a t e f u l S e t s   d o   n o t   p r o v i d e   a n y   g u a r a n t e e s   o n   t h e   t e r m i n a t i o n   o f   p o d s   w h e n   a   S t a t e f u l S e t   i s   d e l e t e d .   T o   a c h i e v e   o r d e r e d   a n d   g r a c e f u l   t e r m i n a t i o n   o f   t h e   p o d s   i n   t h e   S t a t e f u l S e t ,   i t   i s   p o s s i b l e   t o   s c a l e   t h e   S t a t e f u l S e t   d o w n   t o   0   p r i o r   t o   d e l e t i o n . W h e n   u s i n g   R o l l i n g   U p d a t e s   w i t h   t h e   d e f a u l t   P o d   M a n a g e m e n t   P o l i c y   ( O r d e r e d R e a d y ) ,   i t ' s   p o s s i b l e   t o   g e t   i n t o   a   b r o k e n   s t a t e   t h a t   r e q u i r e s   m a n u a l   i n t e r v e n t i o n   t o   r e p a i r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_2_7535"
  },
  {
    "question": "What is Components?",
    "answer": "T h e   e x a m p l e   b e l o w   d e m o n s t r a t e s   t h e   c o m p o n e n t s   o f   a   S t a t e f u l S e t .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   n g i n x   l a b e l s :   a p p :   n g i n x   s p e c :   p o r t s :   -   p o r t :   8 0   n a m e :   w e b   c l u s t e r I P :   N o n e   s e l e c t o r :   a p p :   n g i n x   - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a :   n a m e :   w e b   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   #   h a s   t o   m a t c h   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s   s e r v i c e N a m e :   \" n g i n x \"   r e p l i c a s :   3   #   b y   d e f a u l t   i s   1   m i n R e a d y S e c o n d s :   1 0   #   b y   d e f a u l t   i s   0   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   #   h a s   t o   m a t c h   . s p e c . s e l e c t o r . m a t c h L a b e l s   s p e c :   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s :   1 0   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   r e g i s t r y . k 8 s . i o / n g i n x - s l i m : 0 . 2 4   p o r t s :   -   c o n t a i n e r P o r t :   8 0   n a m e :   w e b   v o l u m e M o u n t s :   -   n a m e :   w w w   m o u n t P a t h :   / u s r / s h a r e / n g i n x / h t m l   v o l u m e C l a i m T e m p l a t e s :   -   m e t a d a t a :   n a m e :   w w w   s p e c :   a c c e s s M o d e s :   [   \" R e a d W r i t e O n c e \"   ]   s t o r a g e C l a s s N a m e :   \" m y - s t o r a g e - c l a s s \"   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   1 G i",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_2_7536"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   t h e   a b o v e   e x a m p l e :   A   H e a d l e s s   S e r v i c e ,   n a m e d   n g i n x ,   i s   u s e d   t o   c o n t r o l   t h e   n e t w o r k   d o m a i n . T h e   S t a t e f u l S e t ,   n a m e d   w e b ,   h a s   a   S p e c   t h a t   i n d i c a t e s   t h a t   3   r e p l i c a s   o f   t h e   n g i n x   c o n t a i n e r   w i l l   b e   l a u n c h e d   i n   u n i q u e   P o d s . T h e   v o l u m e C l a i m T e m p l a t e s   w i l l   p r o v i d e   s t a b l e   s t o r a g e   u s i n g   P e r s i s t e n t V o l u m e s   p r o v i s i o n e d   b y   a   P e r s i s t e n t V o l u m e   P r o v i s i o n e r .   T h e   n a m e   o f   a   S t a t e f u l S e t   o b j e c t   m u s t   b e   a   v a l i d   D N S   l a b e l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_4_7537"
  },
  {
    "question": "What is Pod Selector?",
    "answer": "Y o u   m u s t   s e t   t h e   . s p e c . s e l e c t o r   f i e l d   o f   a   S t a t e f u l S e t   t o   m a t c h   t h e   l a b e l s   o f   i t s   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s .   F a i l i n g   t o   s p e c i f y   a   m a t c h i n g   P o d   S e l e c t o r   w i l l   r e s u l t   i n   a   v a l i d a t i o n   e r r o r   d u r i n g   S t a t e f u l S e t   c r e a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_3_7538"
  },
  {
    "question": "What is Volume Claim Templates?",
    "answer": "Y o u   c a n   s e t   t h e   . s p e c . v o l u m e C l a i m T e m p l a t e s   f i e l d   t o   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m .   T h i s   w i l l   p r o v i d e   s t a b l e   s t o r a g e   t o   t h e   S t a t e f u l S e t   i f   e i t h e r   T h e   S t o r a g e C l a s s   s p e c i f i e d   f o r   t h e   v o l u m e   c l a i m   i s   s e t   u p   t o   u s e   d y n a m i c   p r o v i s i o n i n g ,   o r T h e   c l u s t e r   a l r e a d y   c o n t a i n s   a   P e r s i s t e n t V o l u m e   w i t h   t h e   c o r r e c t   S t o r a g e C l a s s   a n d   s u f f i c i e n t   a v a i l a b l e   s t o r a g e   s p a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_3_7539"
  },
  {
    "question": "What is Minimum ready seconds?",
    "answer": ". s p e c . m i n R e a d y S e c o n d s   i s   a n   o p t i o n a l   f i e l d   t h a t   s p e c i f i e s   t h e   m i n i m u m   n u m b e r   o f   s e c o n d s   f o r   w h i c h   a   n e w l y   c r e a t e d   P o d   s h o u l d   b e   r u n n i n g   a n d   r e a d y   w i t h o u t   a n y   o f   i t s   c o n t a i n e r s   c r a s h i n g ,   f o r   i t   t o   b e   c o n s i d e r e d   a v a i l a b l e .   T h i s   i s   u s e d   t o   c h e c k   p r o g r e s s i o n   o f   a   r o l l o u t   w h e n   u s i n g   a   R o l l i n g   U p d a t e   s t r a t e g y .   T h i s   f i e l d   d e f a u l t s   t o   0   ( t h e   P o d   w i l l   b e   c o n s i d e r e d   a v a i l a b l e   a s   s o o n   a s   i t   i s   r e a d y ) .   T o   l e a r n   m o r e   a b o u t   w h e n   a   P o d   i s   c o n s i d e r e d   r e a d y ,   s e e   C o n t a i n e r   P r o b e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_3_7540"
  },
  {
    "question": "What is Pod Identity?",
    "answer": "S t a t e f u l S e t   P o d s   h a v e   a   u n i q u e   i d e n t i t y   t h a t   c o n s i s t s   o f   a n   o r d i n a l ,   a   s t a b l e   n e t w o r k   i d e n t i t y ,   a n d   s t a b l e   s t o r a g e .   T h e   i d e n t i t y   s t i c k s   t o   t h e   P o d ,   r e g a r d l e s s   o f   w h i c h   n o d e   i t ' s   ( r e ) s c h e d u l e d   o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_2_7541"
  },
  {
    "question": "What is Ordinal Index?",
    "answer": "F o r   a   S t a t e f u l S e t   w i t h   N   r e p l i c a s ,   e a c h   P o d   i n   t h e   S t a t e f u l S e t   w i l l   b e   a s s i g n e d   a n   i n t e g e r   o r d i n a l ,   t h a t   i s   u n i q u e   o v e r   t h e   S e t .   B y   d e f a u l t ,   p o d s   w i l l   b e   a s s i g n e d   o r d i n a l s   f r o m   0   u p   t h r o u g h   N - 1 .   T h e   S t a t e f u l S e t   c o n t r o l l e r   w i l l   a l s o   a d d   a   p o d   l a b e l   w i t h   t h i s   i n d e x :   a p p s . k u b e r n e t e s . i o / p o d - i n d e x .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_3_7542"
  },
  {
    "question": "What is Start ordinal?",
    "answer": ". s p e c . o r d i n a l s   i s   a n   o p t i o n a l   f i e l d   t h a t   a l l o w s   y o u   t o   c o n f i g u r e   t h e   i n t e g e r   o r d i n a l s   a s s i g n e d   t o   e a c h   P o d .   I t   d e f a u l t s   t o   n i l .   W i t h i n   t h e   f i e l d ,   y o u   c a n   c o n f i g u r e   t h e   f o l l o w i n g   o p t i o n s :   . s p e c . o r d i n a l s . s t a r t :   I f   t h e   . s p e c . o r d i n a l s . s t a r t   f i e l d   i s   s e t ,   P o d s   w i l l   b e   a s s i g n e d   o r d i n a l s   f r o m   . s p e c . o r d i n a l s . s t a r t   u p   t h r o u g h   . s p e c . o r d i n a l s . s t a r t   +   . s p e c . r e p l i c a s   -   1 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_3_7543"
  },
  {
    "question": "What is Stable Network ID?",
    "answer": "E a c h   P o d   i n   a   S t a t e f u l S e t   d e r i v e s   i t s   h o s t n a m e   f r o m   t h e   n a m e   o f   t h e   S t a t e f u l S e t   a n d   t h e   o r d i n a l   o f   t h e   P o d .   T h e   p a t t e r n   f o r   t h e   c o n s t r u c t e d   h o s t n a m e   i s   $ ( s t a t e f u l s e t   n a m e ) - $ ( o r d i n a l ) .   T h e   e x a m p l e   a b o v e   w i l l   c r e a t e   t h r e e   P o d s   n a m e d   w e b - 0 , w e b - 1 , w e b - 2 .   A   S t a t e f u l S e t   c a n   u s e   a   H e a d l e s s   S e r v i c e   t o   c o n t r o l   t h e   d o m a i n   o f   i t s   P o d s .   T h e   d o m a i n   m a n a g e d   b y   t h i s   S e r v i c e   t a k e s   t h e   f o r m :   $ ( s e r v i c e   n a m e ) . $ ( n a m e s p a c e ) . s v c . c l u s t e r . l o c a l ,   w h e r e   \" c l u s t e r . l o c a l \"   i s   t h e   c l u s t e r   d o m a i n .   A s   e a c h   P o d   i s   c r e a t e d ,   i t   g e t s   a   m a t c h i n g   D N S   s u b d o m a i n ,   t a k i n g   t h e   f o r m :   $ ( p o d n a m e ) . $ ( g o v e r n i n g   s e r v i c e   d o m a i n ) ,   w h e r e   t h e   g o v e r n i n g   s e r v i c e   i s   d e f i n e d   b y   t h e   s e r v i c e N a m e   f i e l d   o n   t h e   S t a t e f u l S e t .   D e p e n d i n g   o n   h o w   D N S   i s   c o n f i g u r e d   i n   y o u r   c l u s t e r ,   y o u   m a y   n o t   b e   a b l e   t o   l o o k   u p   t h e   D N S   n a m e   f o r   a   n e w l y - r u n   P o d   i m m e d i a t e l y .   T h i s   b e h a v i o r   c a n   o c c u r   w h e n   o t h e r   c l i e n t s   i n   t h e   c l u s t e r   h a v e   a l r e a d y   s e n t   q u e r i e s   f o r   t h e   h o s t n a m e   o f   t h e   P o d   b e f o r e   i t   w a s   c r e a t e d .   N e g a t i v e   c a c h i n g   ( n o r m a l   i n   D N S )   m e a n s   t h a t   t h e   r e s u l t s   o f   p r e v i o u s ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_3_7544"
  },
  {
    "question": "What is Stable Storage?",
    "answer": "F o r   e a c h   V o l u m e C l a i m T e m p l a t e   e n t r y   d e f i n e d   i n   a   S t a t e f u l S e t ,   e a c h   P o d   r e c e i v e s   o n e   P e r s i s t e n t V o l u m e C l a i m .   I n   t h e   n g i n x   e x a m p l e   a b o v e ,   e a c h   P o d   r e c e i v e s   a   s i n g l e   P e r s i s t e n t V o l u m e   w i t h   a   S t o r a g e C l a s s   o f   m y - s t o r a g e - c l a s s   a n d   1   G i B   o f   p r o v i s i o n e d   s t o r a g e .   I f   n o   S t o r a g e C l a s s   i s   s p e c i f i e d ,   t h e n   t h e   d e f a u l t   S t o r a g e C l a s s   w i l l   b e   u s e d .   W h e n   a   P o d   i s   ( r e ) s c h e d u l e d   o n t o   a   n o d e ,   i t s   v o l u m e M o u n t s   m o u n t   t h e   P e r s i s t e n t V o l u m e s   a s s o c i a t e d   w i t h   i t s   P e r s i s t e n t V o l u m e   C l a i m s .   N o t e   t h a t ,   t h e   P e r s i s t e n t V o l u m e s   a s s o c i a t e d   w i t h   t h e   P o d s '   P e r s i s t e n t V o l u m e   C l a i m s   a r e   n o t   d e l e t e d   w h e n   t h e   P o d s ,   o r   S t a t e f u l S e t   a r e   d e l e t e d .   T h i s   m u s t   b e   d o n e   m a n u a l l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_3_7545"
  },
  {
    "question": "What is Pod Name Label?",
    "answer": "W h e n   t h e   S t a t e f u l S e t   c o n t r o l l e r   c r e a t e s   a   P o d ,   i t   a d d s   a   l a b e l ,   s t a t e f u l s e t . k u b e r n e t e s . i o / p o d - n a m e ,   t h a t   i s   s e t   t o   t h e   n a m e   o f   t h e   P o d .   T h i s   l a b e l   a l l o w s   y o u   t o   a t t a c h   a   S e r v i c e   t o   a   s p e c i f i c   P o d   i n   t h e   S t a t e f u l S e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_3_7546"
  },
  {
    "question": "What is Pod index label?",
    "answer": "W h e n   t h e   S t a t e f u l S e t   c o n t r o l l e r   c r e a t e s   a   P o d ,   t h e   n e w   P o d   i s   l a b e l l e d   w i t h   a p p s . k u b e r n e t e s . i o / p o d - i n d e x .   T h e   v a l u e   o f   t h i s   l a b e l   i s   t h e   o r d i n a l   i n d e x   o f   t h e   P o d .   T h i s   l a b e l   a l l o w s   y o u   t o   r o u t e   t r a f f i c   t o   a   p a r t i c u l a r   p o d   i n d e x ,   f i l t e r   l o g s / m e t r i c s   u s i n g   t h e   p o d   i n d e x   l a b e l ,   a n d   m o r e .   N o t e   t h e   f e a t u r e   g a t e   P o d I n d e x L a b e l   i s   e n a b l e d   a n d   l o c k e d   b y   d e f a u l t   f o r   t h i s   f e a t u r e ,   i n   o r d e r   t o   d i s a b l e   i t ,   u s e r s   w i l l   h a v e   t o   u s e   s e r v e r   e m u l a t e d   v e r s i o n   v 1 . 3 1 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_3_7547"
  },
  {
    "question": "What is Deployment and Scaling Guarantees?",
    "answer": "F o r   a   S t a t e f u l S e t   w i t h   N   r e p l i c a s ,   w h e n   P o d s   a r e   b e i n g   d e p l o y e d ,   t h e y   a r e   c r e a t e d   s e q u e n t i a l l y ,   i n   o r d e r   f r o m   { 0 . . N - 1 } . W h e n   P o d s   a r e   b e i n g   d e l e t e d ,   t h e y   a r e   t e r m i n a t e d   i n   r e v e r s e   o r d e r ,   f r o m   { N - 1 . . 0 } . B e f o r e   a   s c a l i n g   o p e r a t i o n   i s   a p p l i e d   t o   a   P o d ,   a l l   o f   i t s   p r e d e c e s s o r s   m u s t   b e   R u n n i n g   a n d   R e a d y . B e f o r e   a   P o d   i s   t e r m i n a t e d ,   a l l   o f   i t s   s u c c e s s o r s   m u s t   b e   c o m p l e t e l y   s h u t d o w n .   T h e   S t a t e f u l S e t   s h o u l d   n o t   s p e c i f y   a   p o d . S p e c . T e r m i n a t i o n G r a c e P e r i o d S e c o n d s   o f   0 .   T h i s   p r a c t i c e   i s   u n s a f e   a n d   s t r o n g l y   d i s c o u r a g e d .   F o r   f u r t h e r   e x p l a n a t i o n ,   p l e a s e   r e f e r   t o   f o r c e   d e l e t i n g   S t a t e f u l S e t   P o d s .   W h e n   t h e   n g i n x   e x a m p l e   a b o v e   i s   c r e a t e d ,   t h r e e   P o d s   w i l l   b e   d e p l o y e d   i n   t h e   o r d e r   w e b - 0 ,   w e b - 1 ,   w e b - 2 .   w e b - 1   w i l l   n o t   b e   d e p l o y e d   b e f o r e   w e b - 0   i s   R u n n i n g   a n d   R e a d y ,   a n d   w e b - 2   w i l l   n o t   b e   d e p l o y e d   u n t i l   w e b - 1   i s   R u n n i n g   a n d   R e a d y .   I f   w e b - 0   s h o u l d   f a i l ,   a f t e r   w e b - 1   i s   R u n n i n g   a n d   R e a d y ,   b u t   b e f o r e   w e b - 2   i s   l a u n c h e d ,   w e b - 2   w i l l   n o t   b e   l a u n c h e d   u n t i l   w e b - 0   i s   s u c c e s s f u l l y   r e l a u n c h e d   a n d   b e c o m e s   R u n n i n g   a n d   R e a d y .   I f   a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_2_7548"
  },
  {
    "question": "What is Pod Management Policies?",
    "answer": "S t a t e f u l S e t   a l l o w s   y o u   t o   r e l a x   i t s   o r d e r i n g   g u a r a n t e e s   w h i l e   p r e s e r v i n g   i t s   u n i q u e n e s s   a n d   i d e n t i t y   g u a r a n t e e s   v i a   i t s   . s p e c . p o d M a n a g e m e n t P o l i c y   f i e l d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_3_7549"
  },
  {
    "question": "What is OrderedReady Pod Management?",
    "answer": "O r d e r e d R e a d y   p o d   m a n a g e m e n t   i s   t h e   d e f a u l t   f o r   S t a t e f u l S e t s .   I t   i m p l e m e n t s   t h e   b e h a v i o r   d e s c r i b e d   a b o v e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_4_7550"
  },
  {
    "question": "What is Parallel Pod Management?",
    "answer": "P a r a l l e l   p o d   m a n a g e m e n t   t e l l s   t h e   S t a t e f u l S e t   c o n t r o l l e r   t o   l a u n c h   o r   t e r m i n a t e   a l l   P o d s   i n   p a r a l l e l ,   a n d   t o   n o t   w a i t   f o r   P o d s   t o   b e c o m e   R u n n i n g   a n d   R e a d y   o r   c o m p l e t e l y   t e r m i n a t e d   p r i o r   t o   l a u n c h i n g   o r   t e r m i n a t i n g   a n o t h e r   P o d .   T h i s   o p t i o n   o n l y   a f f e c t s   t h e   b e h a v i o r   f o r   s c a l i n g   o p e r a t i o n s .   U p d a t e s   a r e   n o t   a f f e c t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_4_7551"
  },
  {
    "question": "What is Update strategies?",
    "answer": "A   S t a t e f u l S e t ' s   . s p e c . u p d a t e S t r a t e g y   f i e l d   a l l o w s   y o u   t o   c o n f i g u r e   a n d   d i s a b l e   a u t o m a t e d   r o l l i n g   u p d a t e s   f o r   c o n t a i n e r s ,   l a b e l s ,   r e s o u r c e   r e q u e s t / l i m i t s ,   a n d   a n n o t a t i o n s   f o r   t h e   P o d s   i n   a   S t a t e f u l S e t .   T h e r e   a r e   t w o   p o s s i b l e   v a l u e s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_2_7552"
  },
  {
    "question": "What is Rolling Updates?",
    "answer": "W h e n   a   S t a t e f u l S e t ' s   . s p e c . u p d a t e S t r a t e g y . t y p e   i s   s e t   t o   R o l l i n g U p d a t e ,   t h e   S t a t e f u l S e t   c o n t r o l l e r   w i l l   d e l e t e   a n d   r e c r e a t e   e a c h   P o d   i n   t h e   S t a t e f u l S e t .   I t   w i l l   p r o c e e d   i n   t h e   s a m e   o r d e r   a s   P o d   t e r m i n a t i o n   ( f r o m   t h e   l a r g e s t   o r d i n a l   t o   t h e   s m a l l e s t ) ,   u p d a t i n g   e a c h   P o d   o n e   a t   a   t i m e .   T h e   K u b e r n e t e s   c o n t r o l   p l a n e   w a i t s   u n t i l   a n   u p d a t e d   P o d   i s   R u n n i n g   a n d   R e a d y   p r i o r   t o   u p d a t i n g   i t s   p r e d e c e s s o r .   I f   y o u   h a v e   s e t   . s p e c . m i n R e a d y S e c o n d s   ( s e e   M i n i m u m   R e a d y   S e c o n d s ) ,   t h e   c o n t r o l   p l a n e   a d d i t i o n a l l y   w a i t s   t h a t   a m o u n t   o f   t i m e   a f t e r   t h e   P o d   t u r n s   r e a d y ,   b e f o r e   m o v i n g   o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_2_7553"
  },
  {
    "question": "What is Partitioned rolling updates?",
    "answer": "T h e   R o l l i n g U p d a t e   u p d a t e   s t r a t e g y   c a n   b e   p a r t i t i o n e d ,   b y   s p e c i f y i n g   a   . s p e c . u p d a t e S t r a t e g y . r o l l i n g U p d a t e . p a r t i t i o n .   I f   a   p a r t i t i o n   i s   s p e c i f i e d ,   a l l   P o d s   w i t h   a n   o r d i n a l   t h a t   i s   g r e a t e r   t h a n   o r   e q u a l   t o   t h e   p a r t i t i o n   w i l l   b e   u p d a t e d   w h e n   t h e   S t a t e f u l S e t ' s   . s p e c . t e m p l a t e   i s   u p d a t e d .   A l l   P o d s   w i t h   a n   o r d i n a l   t h a t   i s   l e s s   t h a n   t h e   p a r t i t i o n   w i l l   n o t   b e   u p d a t e d ,   a n d ,   e v e n   i f   t h e y   a r e   d e l e t e d ,   t h e y   w i l l   b e   r e c r e a t e d   a t   t h e   p r e v i o u s   v e r s i o n .   I f   a   S t a t e f u l S e t ' s   . s p e c . u p d a t e S t r a t e g y . r o l l i n g U p d a t e . p a r t i t i o n   i s   g r e a t e r   t h a n   i t s   . s p e c . r e p l i c a s ,   u p d a t e s   t o   i t s   . s p e c . t e m p l a t e   w i l l   n o t   b e   p r o p a g a t e d   t o   i t s   P o d s .   I n   m o s t   c a s e s   y o u   w i l l   n o t   n e e d   t o   u s e   a   p a r t i t i o n ,   b u t   t h e y   a r e   u s e f u l   i f   y o u   w a n t   t o   s t a g e   a n   u p d a t e ,   r o l l   o u t   a   c a n a r y ,   o r   p e r f o r m   a   p h a s e d   r o l l   o u t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_3_7554"
  },
  {
    "question": "What is Maximum unavailable Pods?",
    "answer": "Y o u   c a n   c o n t r o l   t h e   m a x i m u m   n u m b e r   o f   P o d s   t h a t   c a n   b e   u n a v a i l a b l e   d u r i n g   a n   u p d a t e   b y   s p e c i f y i n g   t h e   . s p e c . u p d a t e S t r a t e g y . r o l l i n g U p d a t e . m a x U n a v a i l a b l e   f i e l d .   T h e   v a l u e   c a n   b e   a n   a b s o l u t e   n u m b e r   ( f o r   e x a m p l e ,   5 )   o r   a   p e r c e n t a g e   o f   d e s i r e d   P o d s   ( f o r   e x a m p l e ,   1 0 % ) .   A b s o l u t e   n u m b e r   i s   c a l c u l a t e d   f r o m   t h e   p e r c e n t a g e   v a l u e   b y   r o u n d i n g   i t   u p .   T h i s   f i e l d   c a n n o t   b e   0 .   T h e   d e f a u l t   s e t t i n g   i s   1 .   T h i s   f i e l d   a p p l i e s   t o   a l l   P o d s   i n   t h e   r a n g e   0   t o   r e p l i c a s   -   1 .   I f   t h e r e   i s   a n y   u n a v a i l a b l e   P o d   i n   t h e   r a n g e   0   t o   r e p l i c a s   -   1 ,   i t   w i l l   b e   c o u n t e d   t o w a r d s   m a x U n a v a i l a b l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_3_7555"
  },
  {
    "question": "What is Forced rollback?",
    "answer": "W h e n   u s i n g   R o l l i n g   U p d a t e s   w i t h   t h e   d e f a u l t   P o d   M a n a g e m e n t   P o l i c y   ( O r d e r e d R e a d y ) ,   i t ' s   p o s s i b l e   t o   g e t   i n t o   a   b r o k e n   s t a t e   t h a t   r e q u i r e s   m a n u a l   i n t e r v e n t i o n   t o   r e p a i r .   I f   y o u   u p d a t e   t h e   P o d   t e m p l a t e   t o   a   c o n f i g u r a t i o n   t h a t   n e v e r   b e c o m e s   R u n n i n g   a n d   R e a d y   ( f o r   e x a m p l e ,   d u e   t o   a   b a d   b i n a r y   o r   a p p l i c a t i o n - l e v e l   c o n f i g u r a t i o n   e r r o r ) ,   S t a t e f u l S e t   w i l l   s t o p   t h e   r o l l o u t   a n d   w a i t .   I n   t h i s   s t a t e ,   i t ' s   n o t   e n o u g h   t o   r e v e r t   t h e   P o d   t e m p l a t e   t o   a   g o o d   c o n f i g u r a t i o n .   D u e   t o   a   k n o w n   i s s u e ,   S t a t e f u l S e t   w i l l   c o n t i n u e   t o   w a i t   f o r   t h e   b r o k e n   P o d   t o   b e c o m e   R e a d y   ( w h i c h   n e v e r   h a p p e n s )   b e f o r e   i t   w i l l   a t t e m p t   t o   r e v e r t   i t   b a c k   t o   t h e   w o r k i n g   c o n f i g u r a t i o n .   A f t e r   r e v e r t i n g   t h e   t e m p l a t e ,   y o u   m u s t   a l s o   d e l e t e   a n y   P o d s   t h a t   S t a t e f u l S e t   h a d   a l r e a d y   a t t e m p t e d   t o   r u n   w i t h   t h e   b a d   c o n f i g u r a t i o n .   S t a t e f u l S e t   w i l l   t h e n   b e g i n   t o   r e c r e a t e   t h e   P o d s   u s i n g   t h e   r e v e r t e d   t e m p l a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_3_7556"
  },
  {
    "question": "What is Revision history?",
    "answer": "C o n t r o l l e r R e v i s i o n   i s   a   K u b e r n e t e s   A P I   r e s o u r c e   u s e d   b y   c o n t r o l l e r s ,   s u c h   a s   t h e   S t a t e f u l S e t   c o n t r o l l e r ,   t o   t r a c k   h i s t o r i c a l   c o n f i g u r a t i o n   c h a n g e s .   S t a t e f u l S e t s   u s e   C o n t r o l l e r R e v i s i o n s   t o   m a i n t a i n   a   r e v i s i o n   h i s t o r y ,   e n a b l i n g   r o l l b a c k s   a n d   v e r s i o n   t r a c k i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_2_7557"
  },
  {
    "question": "What is How StatefulSets track changes using ControllerRevisions?",
    "answer": "W h e n   y o u   u p d a t e   a   S t a t e f u l S e t ' s   P o d   t e m p l a t e   ( s p e c . t e m p l a t e ) ,   t h e   S t a t e f u l S e t   c o n t r o l l e r :   P r e p a r e s   a   n e w   C o n t r o l l e r R e v i s i o n   o b j e c t S t o r e s   a   s n a p s h o t   o f   t h e   P o d   t e m p l a t e   a n d   m e t a d a t a A s s i g n s   a n   i n c r e m e n t a l   r e v i s i o n   n u m b e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_3_7558"
  },
  {
    "question": "What is Key Properties?",
    "answer": "C o n t r o l l e r R e v i s i o n   k e y   p r o p e r t i e s   a n d   o t h e r   d e t a i l s   c a n   b e   c h e c k e d   h e r e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_4_7559"
  },
  {
    "question": "What is Managing Revision History?",
    "answer": "C o n t r o l   r e t a i n e d   r e v i s i o n s   w i t h   . s p e c . r e v i s i o n H i s t o r y L i m i t :   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a :   n a m e :   w e b a p p   s p e c :   r e v i s i o n H i s t o r y L i m i t :   5   #   K e e p   l a s t   5   r e v i s i o n s   #   . . .   o t h e r   s p e c   f i e l d s   . . .   D e f a u l t :   1 0   r e v i s i o n s   r e t a i n e d   i f   u n s p e c i f i e d C l e a n u p :   O l d e s t   r e v i s i o n s   a r e   g a r b a g e - c o l l e c t e d   w h e n   e x c e e d i n g   t h e   l i m i t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_3_7560"
  },
  {
    "question": "What is Performing Rollbacks?",
    "answer": "Y o u   c a n   r e v e r t   t o   a   p r e v i o u s   c o n f i g u r a t i o n   u s i n g :   #   V i e w   r e v i s i o n   h i s t o r y   k u b e c t l   r o l l o u t   h i s t o r y   s t a t e f u l s e t / w e b a p p   #   R o l l b a c k   t o   a   s p e c i f i c   r e v i s i o n   k u b e c t l   r o l l o u t   u n d o   s t a t e f u l s e t / w e b a p p   - - t o - r e v i s i o n = 3   T h i s   w i l l :   A p p l y   t h e   P o d   t e m p l a t e   f r o m   r e v i s i o n   3 C r e a t e   a   n e w   C o n t r o l l e r R e v i s i o n   w i t h   a n   u p d a t e d   r e v i s i o n   n u m b e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_4_7561"
  },
  {
    "question": "What is Inspecting ControllerRevisions?",
    "answer": "T o   v i e w   a s s o c i a t e d   C o n t r o l l e r R e v i s i o n s :   #   L i s t   a l l   r e v i s i o n s   f o r   t h e   S t a t e f u l S e t   k u b e c t l   g e t   c o n t r o l l e r r e v i s i o n s   - l   a p p . k u b e r n e t e s . i o / n a m e = w e b a p p   #   V i e w   d e t a i l e d   c o n f i g u r a t i o n   o f   a   s p e c i f i c   r e v i s i o n   k u b e c t l   g e t   c o n t r o l l e r r e v i s i o n / w e b a p p - 3   - o   y a m l",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_4_7562"
  },
  {
    "question": "What is Retention Policy?",
    "answer": "S e t   r e v i s i o n H i s t o r y L i m i t   b e t w e e n   5 – 1 0   f o r   m o s t   w o r k l o a d s I n c r e a s e   o n l y   i f   d e e p   r o l l b a c k   h i s t o r y   i s   r e q u i r e d",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_5_7563"
  },
  {
    "question": "What is Monitoring?",
    "answer": "R e g u l a r l y   c h e c k   r e v i s i o n s   w i t h : k u b e c t l   g e t   c o n t r o l l e r r e v i s i o n s   A l e r t   o n   r a p i d   r e v i s i o n   c o u n t   g r o w t h   R e g u l a r l y   c h e c k   r e v i s i o n s   w i t h :   k u b e c t l   g e t   c o n t r o l l e r r e v i s i o n s   A l e r t   o n   r a p i d   r e v i s i o n   c o u n t   g r o w t h",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_5_7564"
  },
  {
    "question": "What is Avoid?",
    "answer": "M a n u a l   e d i t s   t o   C o n t r o l l e r R e v i s i o n   o b j e c t s . U s i n g   r e v i s i o n s   a s   a   b a c k u p   m e c h a n i s m   ( u s e   a c t u a l   b a c k u p   t o o l s ) . S e t t i n g   r e v i s i o n H i s t o r y L i m i t :   0   ( d i s a b l e s   r o l l b a c k   c a p a b i l i t y ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_5_7565"
  },
  {
    "question": "What is PersistentVolumeClaim retention?",
    "answer": "T h e   o p t i o n a l   . s p e c . p e r s i s t e n t V o l u m e C l a i m R e t e n t i o n P o l i c y   f i e l d   c o n t r o l s   i f   a n d   h o w   P V C s   a r e   d e l e t e d   d u r i n g   t h e   l i f e c y c l e   o f   a   S t a t e f u l S e t .   Y o u   m u s t   e n a b l e   t h e   S t a t e f u l S e t A u t o D e l e t e P V C   f e a t u r e   g a t e   o n   t h e   A P I   s e r v e r   a n d   t h e   c o n t r o l l e r   m a n a g e r   t o   u s e   t h i s   f i e l d .   O n c e   e n a b l e d ,   t h e r e   a r e   t w o   p o l i c i e s   y o u   c a n   c o n f i g u r e   f o r   e a c h   S t a t e f u l S e t :   F o r   e a c h   p o l i c y   t h a t   y o u   c a n   c o n f i g u r e ,   y o u   c a n   s e t   t h e   v a l u e   t o   e i t h e r   D e l e t e   o r   R e t a i n .   B e a r   i n   m i n d   t h a t   t h e s e   p o l i c i e s   o n l y   a p p l y   w h e n   P o d s   a r e   b e i n g   r e m o v e d   d u e   t o   t h e   S t a t e f u l S e t   b e i n g   d e l e t e d   o r   s c a l e d   d o w n .   F o r   e x a m p l e ,   i f   a   P o d   a s s o c i a t e d   w i t h   a   S t a t e f u l S e t   f a i l s   d u e   t o   n o d e   f a i l u r e ,   a n d   t h e   c o n t r o l   p l a n e   c r e a t e s   a   r e p l a c e m e n t   P o d ,   t h e   S t a t e f u l S e t   r e t a i n s   t h e   e x i s t i n g   P V C .   T h e   e x i s t i n g   v o l u m e   i s   u n a f f e c t e d ,   a n d   t h e   c l u s t e r   w i l l   a t t a c h   i t   t o   t h e   n o d e   w h e r e   t h e   n e w   P o d   i s   a b o u t   t o   l a u n c h .   T h e   d e f a u l t   f o r   p o l i c i e s   i s   R e t a i n ,   m a t c h i n g   t h e   S t a t e f u l S e t   b e h a v i o r   b e f o r e   t h i s   n e w   f e a t u r e .   H e r e   i s   a n   e x a m p l e   p o l i c y .   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   . . ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_2_7566"
  },
  {
    "question": "What is Replicas?",
    "answer": ". s p e c . r e p l i c a s   i s   a n   o p t i o n a l   f i e l d   t h a t   s p e c i f i e s   t h e   n u m b e r   o f   d e s i r e d   P o d s .   I t   d e f a u l t s   t o   1 .   S h o u l d   y o u   m a n u a l l y   s c a l e   a   d e p l o y m e n t ,   e x a m p l e   v i a   k u b e c t l   s c a l e   s t a t e f u l s e t   s t a t e f u l s e t   - - r e p l i c a s = X ,   a n d   t h e n   y o u   u p d a t e   t h a t   S t a t e f u l S e t   b a s e d   o n   a   m a n i f e s t   ( f o r   e x a m p l e :   b y   r u n n i n g   k u b e c t l   a p p l y   - f   s t a t e f u l s e t . y a m l ) ,   t h e n   a p p l y i n g   t h a t   m a n i f e s t   o v e r w r i t e s   t h e   m a n u a l   s c a l i n g   t h a t   y o u   p r e v i o u s l y   d i d .   I f   a   H o r i z o n t a l P o d A u t o s c a l e r   ( o r   a n y   s i m i l a r   A P I   f o r   h o r i z o n t a l   s c a l i n g )   i s   m a n a g i n g   s c a l i n g   f o r   a   S t a t e f u l s e t ,   d o n ' t   s e t   . s p e c . r e p l i c a s .   I n s t e a d ,   a l l o w   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   t o   m a n a g e   t h e   . s p e c . r e p l i c a s   f i e l d   a u t o m a t i c a l l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_3_7567"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   P o d s . F i n d   o u t   h o w   t o   u s e   S t a t e f u l S e t s F o l l o w   a n   e x a m p l e   o f   d e p l o y i n g   a   s t a t e f u l   a p p l i c a t i o n . F o l l o w   a n   e x a m p l e   o f   d e p l o y i n g   C a s s a n d r a   w i t h   S t a t e f u l   S e t s . F o l l o w   a n   e x a m p l e   o f   r u n n i n g   a   r e p l i c a t e d   s t a t e f u l   a p p l i c a t i o n . L e a r n   h o w   t o   s c a l e   a   S t a t e f u l S e t . L e a r n   w h a t ' s   i n v o l v e d   w h e n   y o u   d e l e t e   a   S t a t e f u l S e t . L e a r n   h o w   t o   c o n f i g u r e   a   P o d   t o   u s e   a   v o l u m e   f o r   s t o r a g e . L e a r n   h o w   t o   c o n f i g u r e   a   P o d   t o   u s e   a   P e r s i s t e n t V o l u m e   f o r   s t o r a g e . S t a t e f u l S e t   i s   a   t o p - l e v e l   r e s o u r c e   i n   t h e   K u b e r n e t e s   R E S T   A P I .   R e a d   t h e   S t a t e f u l S e t   o b j e c t   d e f i n i t i o n   t o   u n d e r s t a n d   t h e   A P I   f o r   s t a t e f u l   s e t s . R e a d   a b o u t   P o d D i s r u p t i o n B u d g e t   a n d   h o w   y o u   c a n   u s e   i t   t o   m a n a g e   a p p l i c a t i o n   a v a i l a b i l i t y   d u r i n g   d i s r u p t i o n s .   F o l l o w   a n   e x a m p l e   o f   d e p l o y i n g   a   s t a t e f u l   a p p l i c a t i o n . F o l l o w   a n   e x a m p l e   o f   d e p l o y i n g   C a s s a n d r a   w i t h   S t a t e f u l   S e t s . F o l l o w   a n   e x a m p l e   o f   r u n n i n g   a   r e p l i c a t e d   s t a t e f u l   a p p l i c a t i o n . L e a r n   h o w   t o   s c a l e   a   S t a t e f u l S e t . L e a r n   w h a t ' s   i n v o l v e d   w h e n   y o u   d e l e t e   a   S t a t e f u l S e t . L e a r n   h o w   t o   c o n f i g u r e   a   P o d   t o   u s e   a   v o l u m e   f o r   s t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/",
    "id": "k8s_00390_section_2_7568"
  },
  {
    "question": "What is Available Documentation Versions?",
    "answer": "Available Documentation VersionsThis website contains documentation for the current version of Kubernetes and the four previous versions of Kubernetes.The availability of documentation for a Kubernetes version is separate from whether that release is currently supported. Read Support period to learn about which versions of Kubernetes are officially supported, and for how long.Latest versionv1.34 (this documentation)Older versionsv1.33v1.32v1.31v1.30",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/home/supported-doc-versions/",
    "id": "k8s_00391_qa_7569"
  },
  {
    "question": "How does Available Documentation Versions work?",
    "answer": "Available Documentation VersionsThis website contains documentation for the current version of Kubernetes and the four previous versions of Kubernetes.The availability of documentation for a Kubernetes version is separate from whether that release is currently supported. Read Support period to learn about which versions of Kubernetes are officially supported, and for how long.Latest versionv1.34 (this documentation)Older versionsv1.33v1.32v1.31v1.30",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/home/supported-doc-versions/",
    "id": "k8s_00391_qa_7570"
  },
  {
    "question": "When would you use Available Documentation Versions?",
    "answer": "Available Documentation VersionsThis website contains documentation for the current version of Kubernetes and the four previous versions of Kubernetes.The availability of documentation for a Kubernetes version is separate from whether that release is currently supported. Read Support period to learn about which versions of Kubernetes are officially supported, and for how long.Latest versionv1.34 (this documentation)Older versionsv1.33v1.32v1.31v1.30",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/home/supported-doc-versions/",
    "id": "k8s_00391_qa_7571"
  },
  {
    "question": "What are the benefits of Available Documentation Versions?",
    "answer": "Available Documentation VersionsThis website contains documentation for the current version of Kubernetes and the four previous versions of Kubernetes.The availability of documentation for a Kubernetes version is separate from whether that release is currently supported. Read Support period to learn about which versions of Kubernetes are officially supported, and for how long.Latest versionv1.34 (this documentation)Older versionsv1.33v1.32v1.31v1.30",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/home/supported-doc-versions/",
    "id": "k8s_00391_qa_7572"
  },
  {
    "question": "What is Available Documentation Versions?",
    "answer": "T h i s   w e b s i t e   c o n t a i n s   d o c u m e n t a t i o n   f o r   t h e   c u r r e n t   v e r s i o n   o f   K u b e r n e t e s   a n d   t h e   f o u r   p r e v i o u s   v e r s i o n s   o f   K u b e r n e t e s .   T h e   a v a i l a b i l i t y   o f   d o c u m e n t a t i o n   f o r   a   K u b e r n e t e s   v e r s i o n   i s   s e p a r a t e   f r o m   w h e t h e r   t h a t   r e l e a s e   i s   c u r r e n t l y   s u p p o r t e d .   R e a d   S u p p o r t   p e r i o d   t o   l e a r n   a b o u t   w h i c h   v e r s i o n s   o f   K u b e r n e t e s   a r e   o f f i c i a l l y   s u p p o r t e d ,   a n d   f o r   h o w   l o n g .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/home/supported-doc-versions/",
    "id": "k8s_00391_section_1_7573"
  },
  {
    "question": "What is Latest version?",
    "answer": "v 1 . 3 4   ( t h i s   d o c u m e n t a t i o n )",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/home/supported-doc-versions/",
    "id": "k8s_00391_section_2_7574"
  },
  {
    "question": "What is Older versions?",
    "answer": "v 1 . 3 3 v 1 . 3 2 v 1 . 3 1 v 1 . 3 0",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/home/supported-doc-versions/",
    "id": "k8s_00391_section_2_7575"
  },
  {
    "question": "What is Define Environment Variables for a Container?",
    "answer": "Define Environment Variables for a ContainerThis page shows how to define environment variables for a container in a Kubernetes Pod.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesDefine an environment variable for a containerWhen you create a Pod, you can set environment variables for the containers that run in the Pod. To set environment variables, include the env or envFrom field in the configuration file.The env and envFrom fields have different effects.envallows you to set environment variables for a container, specifying a value directly for each variable that you name.envFromallows you to set environment variables for a container by referencing either a ConfigMap or a Secret. When you use envFrom, all the key-value pairs in the referenced ConfigMap or Secret are set as environment variables for the container. You can also specify a common prefix string.You can read more about ConfigMap and Secret.This page explains how to use env.In this exercise, you create a Pod that runs one container. The configuration file for the Pod defines an environment variable with name DEMO_GREETING and value \"Hello from the environment\". Here is the configuration manifest for the Pod:pods/inject/envars.yaml apiVersion: v1 kind: Pod metadata: name: envar-demo labels: purpose: demonstrate-envars spec: containers: - name: envar-demo-container image: gcr.io/google-samples/hello-app:2.0 env: - name: DEMO_GREETING value: \"Hello from the environment\" - name: DEMO_FAREWELL value: \"Such a sweet sorrow\" Create a Pod based on that manifest:kubectl apply -f https://k8s.io/examples/pods/inject/envars.yaml List the running Pods:kubectl get pods -l purpose=demonstrate-envars The output is similar to:NAME READY STATUS RESTARTS AGE envar-demo 1/1 Running 0 9s List the Pod's container environment variables:kubectl exec envar-demo -- printenv The output is similar to this:NODE_VERSION=4.4.2 EXAMPLE_SERVICE_PORT_8080_TCP_ADDR=10.3.245.237 HOSTNAME=envar-demo ... DEMO_GREETING=Hello from the environment DEMO_FAREWELL=Such a sweet sorrow Note:The environment variables set using the env or envFrom field override any environment variables specified in the container image.Note:Environment variables may reference each other, however ordering is important. Variables making use of others defined in the same context must come later in the list. Similarly, avoid circular references.Using environment variables inside of your configEnvironment variables that you define in a Pod's configuration under .spec.containers[*].env[*] can be used elsewhere in the configuration, for example in commands and arguments t",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/",
    "id": "k8s_00392_qa_7576"
  },
  {
    "question": "How does Define Environment Variables for a Container work?",
    "answer": "Define Environment Variables for a ContainerThis page shows how to define environment variables for a container in a Kubernetes Pod.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesDefine an environment variable for a containerWhen you create a Pod, you can set environment variables for the containers that run in the Pod. To set environment variables, include the env or envFrom field in the configuration file.The env and envFrom fields have different effects.envallows you to set environment variables for a container, specifying a value directly for each variable that you name.envFromallows you to set environment variables for a container by referencing either a ConfigMap or a Secret. When you use envFrom, all the key-value pairs in the referenced ConfigMap or Secret are set as environment variables for the container. You can also specify a common prefix string.You can read more about ConfigMap and Secret.This page explains how to use env.In this exercise, you create a Pod that runs one container. The configuration file for the Pod defines an environment variable with name DEMO_GREETING and value \"Hello from the environment\". Here is the configuration manifest for the Pod:pods/inject/envars.yaml apiVersion: v1 kind: Pod metadata: name: envar-demo labels: purpose: demonstrate-envars spec: containers: - name: envar-demo-container image: gcr.io/google-samples/hello-app:2.0 env: - name: DEMO_GREETING value: \"Hello from the environment\" - name: DEMO_FAREWELL value: \"Such a sweet sorrow\" Create a Pod based on that manifest:kubectl apply -f https://k8s.io/examples/pods/inject/envars.yaml List the running Pods:kubectl get pods -l purpose=demonstrate-envars The output is similar to:NAME READY STATUS RESTARTS AGE envar-demo 1/1 Running 0 9s List the Pod's container environment variables:kubectl exec envar-demo -- printenv The output is similar to this:NODE_VERSION=4.4.2 EXAMPLE_SERVICE_PORT_8080_TCP_ADDR=10.3.245.237 HOSTNAME=envar-demo ... DEMO_GREETING=Hello from the environment DEMO_FAREWELL=Such a sweet sorrow Note:The environment variables set using the env or envFrom field override any environment variables specified in the container image.Note:Environment variables may reference each other, however ordering is important. Variables making use of others defined in the same context must come later in the list. Similarly, avoid circular references.Using environment variables inside of your configEnvironment variables that you define in a Pod's configuration under .spec.containers[*].env[*] can be used elsewhere in the configuration, for example in commands and arguments t",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/",
    "id": "k8s_00392_qa_7577"
  },
  {
    "question": "When would you use Define Environment Variables for a Container?",
    "answer": "Define Environment Variables for a ContainerThis page shows how to define environment variables for a container in a Kubernetes Pod.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesDefine an environment variable for a containerWhen you create a Pod, you can set environment variables for the containers that run in the Pod. To set environment variables, include the env or envFrom field in the configuration file.The env and envFrom fields have different effects.envallows you to set environment variables for a container, specifying a value directly for each variable that you name.envFromallows you to set environment variables for a container by referencing either a ConfigMap or a Secret. When you use envFrom, all the key-value pairs in the referenced ConfigMap or Secret are set as environment variables for the container. You can also specify a common prefix string.You can read more about ConfigMap and Secret.This page explains how to use env.In this exercise, you create a Pod that runs one container. The configuration file for the Pod defines an environment variable with name DEMO_GREETING and value \"Hello from the environment\". Here is the configuration manifest for the Pod:pods/inject/envars.yaml apiVersion: v1 kind: Pod metadata: name: envar-demo labels: purpose: demonstrate-envars spec: containers: - name: envar-demo-container image: gcr.io/google-samples/hello-app:2.0 env: - name: DEMO_GREETING value: \"Hello from the environment\" - name: DEMO_FAREWELL value: \"Such a sweet sorrow\" Create a Pod based on that manifest:kubectl apply -f https://k8s.io/examples/pods/inject/envars.yaml List the running Pods:kubectl get pods -l purpose=demonstrate-envars The output is similar to:NAME READY STATUS RESTARTS AGE envar-demo 1/1 Running 0 9s List the Pod's container environment variables:kubectl exec envar-demo -- printenv The output is similar to this:NODE_VERSION=4.4.2 EXAMPLE_SERVICE_PORT_8080_TCP_ADDR=10.3.245.237 HOSTNAME=envar-demo ... DEMO_GREETING=Hello from the environment DEMO_FAREWELL=Such a sweet sorrow Note:The environment variables set using the env or envFrom field override any environment variables specified in the container image.Note:Environment variables may reference each other, however ordering is important. Variables making use of others defined in the same context must come later in the list. Similarly, avoid circular references.Using environment variables inside of your configEnvironment variables that you define in a Pod's configuration under .spec.containers[*].env[*] can be used elsewhere in the configuration, for example in commands and arguments t",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/",
    "id": "k8s_00392_qa_7578"
  },
  {
    "question": "What are the benefits of Define Environment Variables for a Container?",
    "answer": "Define Environment Variables for a ContainerThis page shows how to define environment variables for a container in a Kubernetes Pod.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesDefine an environment variable for a containerWhen you create a Pod, you can set environment variables for the containers that run in the Pod. To set environment variables, include the env or envFrom field in the configuration file.The env and envFrom fields have different effects.envallows you to set environment variables for a container, specifying a value directly for each variable that you name.envFromallows you to set environment variables for a container by referencing either a ConfigMap or a Secret. When you use envFrom, all the key-value pairs in the referenced ConfigMap or Secret are set as environment variables for the container. You can also specify a common prefix string.You can read more about ConfigMap and Secret.This page explains how to use env.In this exercise, you create a Pod that runs one container. The configuration file for the Pod defines an environment variable with name DEMO_GREETING and value \"Hello from the environment\". Here is the configuration manifest for the Pod:pods/inject/envars.yaml apiVersion: v1 kind: Pod metadata: name: envar-demo labels: purpose: demonstrate-envars spec: containers: - name: envar-demo-container image: gcr.io/google-samples/hello-app:2.0 env: - name: DEMO_GREETING value: \"Hello from the environment\" - name: DEMO_FAREWELL value: \"Such a sweet sorrow\" Create a Pod based on that manifest:kubectl apply -f https://k8s.io/examples/pods/inject/envars.yaml List the running Pods:kubectl get pods -l purpose=demonstrate-envars The output is similar to:NAME READY STATUS RESTARTS AGE envar-demo 1/1 Running 0 9s List the Pod's container environment variables:kubectl exec envar-demo -- printenv The output is similar to this:NODE_VERSION=4.4.2 EXAMPLE_SERVICE_PORT_8080_TCP_ADDR=10.3.245.237 HOSTNAME=envar-demo ... DEMO_GREETING=Hello from the environment DEMO_FAREWELL=Such a sweet sorrow Note:The environment variables set using the env or envFrom field override any environment variables specified in the container image.Note:Environment variables may reference each other, however ordering is important. Variables making use of others defined in the same context must come later in the list. Similarly, avoid circular references.Using environment variables inside of your configEnvironment variables that you define in a Pod's configuration under .spec.containers[*].env[*] can be used elsewhere in the configuration, for example in commands and arguments t",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/",
    "id": "k8s_00392_qa_7579"
  },
  {
    "question": "What is Define Environment Variables for a Container?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   d e f i n e   e n v i r o n m e n t   v a r i a b l e s   f o r   a   c o n t a i n e r   i n   a   K u b e r n e t e s   P o d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/",
    "id": "k8s_00392_section_1_7580"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/",
    "id": "k8s_00392_section_2_7581"
  },
  {
    "question": "What is Define an environment variable for a container?",
    "answer": "W h e n   y o u   c r e a t e   a   P o d ,   y o u   c a n   s e t   e n v i r o n m e n t   v a r i a b l e s   f o r   t h e   c o n t a i n e r s   t h a t   r u n   i n   t h e   P o d .   T o   s e t   e n v i r o n m e n t   v a r i a b l e s ,   i n c l u d e   t h e   e n v   o r   e n v F r o m   f i e l d   i n   t h e   c o n f i g u r a t i o n   f i l e .   T h e   e n v   a n d   e n v F r o m   f i e l d s   h a v e   d i f f e r e n t   e f f e c t s .   Y o u   c a n   r e a d   m o r e   a b o u t   C o n f i g M a p   a n d   S e c r e t .   T h i s   p a g e   e x p l a i n s   h o w   t o   u s e   e n v .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   r u n s   o n e   c o n t a i n e r .   T h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d   d e f i n e s   a n   e n v i r o n m e n t   v a r i a b l e   w i t h   n a m e   D E M O _ G R E E T I N G   a n d   v a l u e   \" H e l l o   f r o m   t h e   e n v i r o n m e n t \" .   H e r e   i s   t h e   c o n f i g u r a t i o n   m a n i f e s t   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e n v a r - d e m o   l a b e l s :   p u r p o s e :   d e m o n s t r a t e - e n v a r s   s p e c :   c o n t a i n e r s :   -   n a m e :   e n v a r - d e m o - c o n t a i n e r   i m a g e :   g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 2 . 0   e n v :   -   n a m e :   D E M O _ G R E E T I N G   v a l u e :   \" H e l l o   f r o m   t h e   e n v i r o n m e n t \"   -   n a m e :   D E M O _ F A R E W E L L   v a l u e :   \" S u c h   a   s w e e t   s o r r o w \"   C r e a t e   a   P o d   b a s e d   o n   t h a t   m a n i f e s t : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i n j e c t / e n v a r s . y a m l   L i s t   t h e   r u n n i n g   P o d s : k u b e c t l   g e t   p o d s   - l   p u r p o s e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/",
    "id": "k8s_00392_section_2_7582"
  },
  {
    "question": "What is Using environment variables inside of your config?",
    "answer": "E n v i r o n m e n t   v a r i a b l e s   t h a t   y o u   d e f i n e   i n   a   P o d ' s   c o n f i g u r a t i o n   u n d e r   . s p e c . c o n t a i n e r s [ * ] . e n v [ * ]   c a n   b e   u s e d   e l s e w h e r e   i n   t h e   c o n f i g u r a t i o n ,   f o r   e x a m p l e   i n   c o m m a n d s   a n d   a r g u m e n t s   t h a t   y o u   s e t   f o r   t h e   P o d ' s   c o n t a i n e r s .   I n   t h e   e x a m p l e   c o n f i g u r a t i o n   b e l o w ,   t h e   G R E E T I N G ,   H O N O R I F I C ,   a n d   N A M E   e n v i r o n m e n t   v a r i a b l e s   a r e   s e t   t o   W a r m   g r e e t i n g s   t o ,   T h e   M o s t   H o n o r a b l e ,   a n d   K u b e r n e t e s ,   r e s p e c t i v e l y .   T h e   e n v i r o n m e n t   v a r i a b l e   M E S S A G E   c o m b i n e s   t h e   s e t   o f   a l l   t h e s e   e n v i r o n m e n t   v a r i a b l e s   a n d   t h e n   u s e s   i t   a s   a   C L I   a r g u m e n t   p a s s e d   t o   t h e   e n v - p r i n t - d e m o   c o n t a i n e r .   E n v i r o n m e n t   v a r i a b l e   n a m e s   m a y   c o n s i s t   o f   a n y   p r i n t a b l e   A S C I I   c h a r a c t e r s   e x c e p t   ' = ' .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p r i n t - g r e e t i n g   s p e c :   c o n t a i n e r s :   -   n a m e :   e n v - p r i n t - d e m o   i m a g e :   b a s h   e n v :   -   n a m e :   G R E E T I N G   v a l u e :   \" W a r m   g r e e t i n g s   t o \"   -   n a m e :   H O N O R I F I C   v a l u e :   \" T h e   M o s t   H o n o r a b l e \"   -   n a m e :   N A M E   v a l u e :   \" K u b e r n e t e s \"   -   n a m e :   M E S S A G E   v a l u e :   \" $ ( G R E E T I N G )   $ ( H O N O R I F I C )   $ ( N A M E ) \"   c o m m a n d :   [ \" e c h o \" ]   a r g s :   [ \" $ ( M E S S A G E ) \" ]   U p o n   c r e a t i o n ,   t h e   c o m m a n d   e c h o   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/",
    "id": "k8s_00392_section_2_7583"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   e n v i r o n m e n t   v a r i a b l e s . L e a r n   a b o u t   u s i n g   s e c r e t s   a s   e n v i r o n m e n t   v a r i a b l e s . S e e   E n v V a r S o u r c e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/",
    "id": "k8s_00392_section_2_7584"
  },
  {
    "question": "What is Field Selectors?",
    "answer": "Field SelectorsField selectors let you select Kubernetes objects based on the value of one or more resource fields. Here are some examples of field selector queries:metadata.name=my-servicemetadata.namespace!=defaultstatus.phase=PendingThis kubectl command selects all Pods for which the value of the status.phase field is Running:kubectl get pods --field-selector status.phase=Running Note:Field selectors are essentially resource filters. By default, no selectors/filters are applied, meaning that all resources of the specified type are selected. This makes the kubectl queries kubectl get pods and kubectl get pods --field-selector \"\" equivalent.Supported fieldsSupported field selectors vary by Kubernetes resource type. All resource types support the metadata.name and metadata.namespace fields. Using unsupported field selectors produces an error. For example:kubectl get ingress --field-selector foo.bar=baz Error from server (BadRequest): Unable to find \"ingresses\" that match label selector \"\", field selector \"foo.bar=baz\": \"foo.bar\" is not a known field selector: only \"metadata.name\", \"metadata.namespace\" List of supported fieldsKindFieldsPodspec.nodeNamespec.restartPolicyspec.schedulerNamespec.serviceAccountNamespec.hostNetworkstatus.phasestatus.podIPstatus.nominatedNodeNameEventinvolvedObject.kindinvolvedObject.namespaceinvolvedObject.nameinvolvedObject.uidinvolvedObject.apiVersioninvolvedObject.resourceVersioninvolvedObject.fieldPathreasonreportingComponentsourcetypeSecrettypeNamespacestatus.phaseReplicaSetstatus.replicasReplicationControllerstatus.replicasJobstatus.successfulNodespec.unschedulableCertificateSigningRequestspec.signerNameCustom resources fieldsAll custom resource types support the metadata.name and metadata.namespace fields.Additionally, the spec.versions[*].selectableFields field of a CustomResourceDefinition declares which other fields in a custom resource may be used in field selectors. See selectable fields for custom resources for more information about how to use field selectors with CustomResourceDefinitions.Supported operatorsYou can use the =, ==, and != operators with field selectors (= and == mean the same thing). This kubectl command, for example, selects all Kubernetes Services that aren't in the default namespace:kubectl get services --all-namespaces --field-selector metadata.namespace!=default Note:Set-based operators (in, notin, exists) are not supported for field selectors.Chained selectorsAs with label and other selectors, field selectors can be chained together as a comma-separated list. This kubectl command selects all Pods for which the status.phase does not equal Running and the spec.restartPolicy field equals Always:kubectl get pods --field-selector=status.phase!=Running,spec.restartPolicy=Always Multiple resource typesYou can use field selectors across multiple resource types. This kubectl command selects all Statefulsets and Services that are not in the default namespace:kubectl get statefulsets,services --",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/",
    "id": "k8s_00393_qa_7585"
  },
  {
    "question": "How does Field Selectors work?",
    "answer": "Field SelectorsField selectors let you select Kubernetes objects based on the value of one or more resource fields. Here are some examples of field selector queries:metadata.name=my-servicemetadata.namespace!=defaultstatus.phase=PendingThis kubectl command selects all Pods for which the value of the status.phase field is Running:kubectl get pods --field-selector status.phase=Running Note:Field selectors are essentially resource filters. By default, no selectors/filters are applied, meaning that all resources of the specified type are selected. This makes the kubectl queries kubectl get pods and kubectl get pods --field-selector \"\" equivalent.Supported fieldsSupported field selectors vary by Kubernetes resource type. All resource types support the metadata.name and metadata.namespace fields. Using unsupported field selectors produces an error. For example:kubectl get ingress --field-selector foo.bar=baz Error from server (BadRequest): Unable to find \"ingresses\" that match label selector \"\", field selector \"foo.bar=baz\": \"foo.bar\" is not a known field selector: only \"metadata.name\", \"metadata.namespace\" List of supported fieldsKindFieldsPodspec.nodeNamespec.restartPolicyspec.schedulerNamespec.serviceAccountNamespec.hostNetworkstatus.phasestatus.podIPstatus.nominatedNodeNameEventinvolvedObject.kindinvolvedObject.namespaceinvolvedObject.nameinvolvedObject.uidinvolvedObject.apiVersioninvolvedObject.resourceVersioninvolvedObject.fieldPathreasonreportingComponentsourcetypeSecrettypeNamespacestatus.phaseReplicaSetstatus.replicasReplicationControllerstatus.replicasJobstatus.successfulNodespec.unschedulableCertificateSigningRequestspec.signerNameCustom resources fieldsAll custom resource types support the metadata.name and metadata.namespace fields.Additionally, the spec.versions[*].selectableFields field of a CustomResourceDefinition declares which other fields in a custom resource may be used in field selectors. See selectable fields for custom resources for more information about how to use field selectors with CustomResourceDefinitions.Supported operatorsYou can use the =, ==, and != operators with field selectors (= and == mean the same thing). This kubectl command, for example, selects all Kubernetes Services that aren't in the default namespace:kubectl get services --all-namespaces --field-selector metadata.namespace!=default Note:Set-based operators (in, notin, exists) are not supported for field selectors.Chained selectorsAs with label and other selectors, field selectors can be chained together as a comma-separated list. This kubectl command selects all Pods for which the status.phase does not equal Running and the spec.restartPolicy field equals Always:kubectl get pods --field-selector=status.phase!=Running,spec.restartPolicy=Always Multiple resource typesYou can use field selectors across multiple resource types. This kubectl command selects all Statefulsets and Services that are not in the default namespace:kubectl get statefulsets,services --",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/",
    "id": "k8s_00393_qa_7586"
  },
  {
    "question": "When would you use Field Selectors?",
    "answer": "Field SelectorsField selectors let you select Kubernetes objects based on the value of one or more resource fields. Here are some examples of field selector queries:metadata.name=my-servicemetadata.namespace!=defaultstatus.phase=PendingThis kubectl command selects all Pods for which the value of the status.phase field is Running:kubectl get pods --field-selector status.phase=Running Note:Field selectors are essentially resource filters. By default, no selectors/filters are applied, meaning that all resources of the specified type are selected. This makes the kubectl queries kubectl get pods and kubectl get pods --field-selector \"\" equivalent.Supported fieldsSupported field selectors vary by Kubernetes resource type. All resource types support the metadata.name and metadata.namespace fields. Using unsupported field selectors produces an error. For example:kubectl get ingress --field-selector foo.bar=baz Error from server (BadRequest): Unable to find \"ingresses\" that match label selector \"\", field selector \"foo.bar=baz\": \"foo.bar\" is not a known field selector: only \"metadata.name\", \"metadata.namespace\" List of supported fieldsKindFieldsPodspec.nodeNamespec.restartPolicyspec.schedulerNamespec.serviceAccountNamespec.hostNetworkstatus.phasestatus.podIPstatus.nominatedNodeNameEventinvolvedObject.kindinvolvedObject.namespaceinvolvedObject.nameinvolvedObject.uidinvolvedObject.apiVersioninvolvedObject.resourceVersioninvolvedObject.fieldPathreasonreportingComponentsourcetypeSecrettypeNamespacestatus.phaseReplicaSetstatus.replicasReplicationControllerstatus.replicasJobstatus.successfulNodespec.unschedulableCertificateSigningRequestspec.signerNameCustom resources fieldsAll custom resource types support the metadata.name and metadata.namespace fields.Additionally, the spec.versions[*].selectableFields field of a CustomResourceDefinition declares which other fields in a custom resource may be used in field selectors. See selectable fields for custom resources for more information about how to use field selectors with CustomResourceDefinitions.Supported operatorsYou can use the =, ==, and != operators with field selectors (= and == mean the same thing). This kubectl command, for example, selects all Kubernetes Services that aren't in the default namespace:kubectl get services --all-namespaces --field-selector metadata.namespace!=default Note:Set-based operators (in, notin, exists) are not supported for field selectors.Chained selectorsAs with label and other selectors, field selectors can be chained together as a comma-separated list. This kubectl command selects all Pods for which the status.phase does not equal Running and the spec.restartPolicy field equals Always:kubectl get pods --field-selector=status.phase!=Running,spec.restartPolicy=Always Multiple resource typesYou can use field selectors across multiple resource types. This kubectl command selects all Statefulsets and Services that are not in the default namespace:kubectl get statefulsets,services --",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/",
    "id": "k8s_00393_qa_7587"
  },
  {
    "question": "What are the benefits of Field Selectors?",
    "answer": "Field SelectorsField selectors let you select Kubernetes objects based on the value of one or more resource fields. Here are some examples of field selector queries:metadata.name=my-servicemetadata.namespace!=defaultstatus.phase=PendingThis kubectl command selects all Pods for which the value of the status.phase field is Running:kubectl get pods --field-selector status.phase=Running Note:Field selectors are essentially resource filters. By default, no selectors/filters are applied, meaning that all resources of the specified type are selected. This makes the kubectl queries kubectl get pods and kubectl get pods --field-selector \"\" equivalent.Supported fieldsSupported field selectors vary by Kubernetes resource type. All resource types support the metadata.name and metadata.namespace fields. Using unsupported field selectors produces an error. For example:kubectl get ingress --field-selector foo.bar=baz Error from server (BadRequest): Unable to find \"ingresses\" that match label selector \"\", field selector \"foo.bar=baz\": \"foo.bar\" is not a known field selector: only \"metadata.name\", \"metadata.namespace\" List of supported fieldsKindFieldsPodspec.nodeNamespec.restartPolicyspec.schedulerNamespec.serviceAccountNamespec.hostNetworkstatus.phasestatus.podIPstatus.nominatedNodeNameEventinvolvedObject.kindinvolvedObject.namespaceinvolvedObject.nameinvolvedObject.uidinvolvedObject.apiVersioninvolvedObject.resourceVersioninvolvedObject.fieldPathreasonreportingComponentsourcetypeSecrettypeNamespacestatus.phaseReplicaSetstatus.replicasReplicationControllerstatus.replicasJobstatus.successfulNodespec.unschedulableCertificateSigningRequestspec.signerNameCustom resources fieldsAll custom resource types support the metadata.name and metadata.namespace fields.Additionally, the spec.versions[*].selectableFields field of a CustomResourceDefinition declares which other fields in a custom resource may be used in field selectors. See selectable fields for custom resources for more information about how to use field selectors with CustomResourceDefinitions.Supported operatorsYou can use the =, ==, and != operators with field selectors (= and == mean the same thing). This kubectl command, for example, selects all Kubernetes Services that aren't in the default namespace:kubectl get services --all-namespaces --field-selector metadata.namespace!=default Note:Set-based operators (in, notin, exists) are not supported for field selectors.Chained selectorsAs with label and other selectors, field selectors can be chained together as a comma-separated list. This kubectl command selects all Pods for which the status.phase does not equal Running and the spec.restartPolicy field equals Always:kubectl get pods --field-selector=status.phase!=Running,spec.restartPolicy=Always Multiple resource typesYou can use field selectors across multiple resource types. This kubectl command selects all Statefulsets and Services that are not in the default namespace:kubectl get statefulsets,services --",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/",
    "id": "k8s_00393_qa_7588"
  },
  {
    "question": "What is Field Selectors?",
    "answer": "F i e l d   s e l e c t o r s   l e t   y o u   s e l e c t   K u b e r n e t e s   o b j e c t s   b a s e d   o n   t h e   v a l u e   o f   o n e   o r   m o r e   r e s o u r c e   f i e l d s .   H e r e   a r e   s o m e   e x a m p l e s   o f   f i e l d   s e l e c t o r   q u e r i e s :   m e t a d a t a . n a m e = m y - s e r v i c e m e t a d a t a . n a m e s p a c e ! = d e f a u l t s t a t u s . p h a s e = P e n d i n g   T h i s   k u b e c t l   c o m m a n d   s e l e c t s   a l l   P o d s   f o r   w h i c h   t h e   v a l u e   o f   t h e   s t a t u s . p h a s e   f i e l d   i s   R u n n i n g :   k u b e c t l   g e t   p o d s   - - f i e l d - s e l e c t o r   s t a t u s . p h a s e = R u n n i n g",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/",
    "id": "k8s_00393_section_1_7589"
  },
  {
    "question": "What is Supported fields?",
    "answer": "S u p p o r t e d   f i e l d   s e l e c t o r s   v a r y   b y   K u b e r n e t e s   r e s o u r c e   t y p e .   A l l   r e s o u r c e   t y p e s   s u p p o r t   t h e   m e t a d a t a . n a m e   a n d   m e t a d a t a . n a m e s p a c e   f i e l d s .   U s i n g   u n s u p p o r t e d   f i e l d   s e l e c t o r s   p r o d u c e s   a n   e r r o r .   F o r   e x a m p l e :   k u b e c t l   g e t   i n g r e s s   - - f i e l d - s e l e c t o r   f o o . b a r = b a z   E r r o r   f r o m   s e r v e r   ( B a d R e q u e s t ) :   U n a b l e   t o   f i n d   \" i n g r e s s e s \"   t h a t   m a t c h   l a b e l   s e l e c t o r   \" \" ,   f i e l d   s e l e c t o r   \" f o o . b a r = b a z \" :   \" f o o . b a r \"   i s   n o t   a   k n o w n   f i e l d   s e l e c t o r :   o n l y   \" m e t a d a t a . n a m e \" ,   \" m e t a d a t a . n a m e s p a c e \"",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/",
    "id": "k8s_00393_section_2_7590"
  },
  {
    "question": "What is Custom resources fields?",
    "answer": "A l l   c u s t o m   r e s o u r c e   t y p e s   s u p p o r t   t h e   m e t a d a t a . n a m e   a n d   m e t a d a t a . n a m e s p a c e   f i e l d s .   A d d i t i o n a l l y ,   t h e   s p e c . v e r s i o n s [ * ] . s e l e c t a b l e F i e l d s   f i e l d   o f   a   C u s t o m R e s o u r c e D e f i n i t i o n   d e c l a r e s   w h i c h   o t h e r   f i e l d s   i n   a   c u s t o m   r e s o u r c e   m a y   b e   u s e d   i n   f i e l d   s e l e c t o r s .   S e e   s e l e c t a b l e   f i e l d s   f o r   c u s t o m   r e s o u r c e s   f o r   m o r e   i n f o r m a t i o n   a b o u t   h o w   t o   u s e   f i e l d   s e l e c t o r s   w i t h   C u s t o m R e s o u r c e D e f i n i t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/",
    "id": "k8s_00393_section_3_7591"
  },
  {
    "question": "What is Supported operators?",
    "answer": "Y o u   c a n   u s e   t h e   = ,   = = ,   a n d   ! =   o p e r a t o r s   w i t h   f i e l d   s e l e c t o r s   ( =   a n d   = =   m e a n   t h e   s a m e   t h i n g ) .   T h i s   k u b e c t l   c o m m a n d ,   f o r   e x a m p l e ,   s e l e c t s   a l l   K u b e r n e t e s   S e r v i c e s   t h a t   a r e n ' t   i n   t h e   d e f a u l t   n a m e s p a c e :   k u b e c t l   g e t   s e r v i c e s   - - a l l - n a m e s p a c e s   - - f i e l d - s e l e c t o r   m e t a d a t a . n a m e s p a c e ! = d e f a u l t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/",
    "id": "k8s_00393_section_2_7592"
  },
  {
    "question": "What is Chained selectors?",
    "answer": "A s   w i t h   l a b e l   a n d   o t h e r   s e l e c t o r s ,   f i e l d   s e l e c t o r s   c a n   b e   c h a i n e d   t o g e t h e r   a s   a   c o m m a - s e p a r a t e d   l i s t .   T h i s   k u b e c t l   c o m m a n d   s e l e c t s   a l l   P o d s   f o r   w h i c h   t h e   s t a t u s . p h a s e   d o e s   n o t   e q u a l   R u n n i n g   a n d   t h e   s p e c . r e s t a r t P o l i c y   f i e l d   e q u a l s   A l w a y s :   k u b e c t l   g e t   p o d s   - - f i e l d - s e l e c t o r = s t a t u s . p h a s e ! = R u n n i n g , s p e c . r e s t a r t P o l i c y = A l w a y s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/",
    "id": "k8s_00393_section_2_7593"
  },
  {
    "question": "What is Multiple resource types?",
    "answer": "Y o u   c a n   u s e   f i e l d   s e l e c t o r s   a c r o s s   m u l t i p l e   r e s o u r c e   t y p e s .   T h i s   k u b e c t l   c o m m a n d   s e l e c t s   a l l   S t a t e f u l s e t s   a n d   S e r v i c e s   t h a t   a r e   n o t   i n   t h e   d e f a u l t   n a m e s p a c e :   k u b e c t l   g e t   s t a t e f u l s e t s , s e r v i c e s   - - a l l - n a m e s p a c e s   - - f i e l d - s e l e c t o r   m e t a d a t a . n a m e s p a c e ! = d e f a u l t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/",
    "id": "k8s_00393_section_2_7594"
  },
  {
    "question": "What is Validate node setup?",
    "answer": "Validate node setupNode Conformance TestNode conformance test is a containerized test framework that provides a system verification and functionality test for a node. The test validates whether the node meets the minimum requirements for Kubernetes; a node that passes the test is qualified to join a Kubernetes cluster.Node PrerequisiteTo run node conformance test, a node must satisfy the same prerequisites as a standard Kubernetes node. At a minimum, the node should have the following daemons installed:CRI-compatible container runtimes such as Docker, containerd and CRI-OkubeletRunning Node Conformance TestTo run the node conformance test, perform the following steps:Work out the value of the --kubeconfig option for the kubelet; for example: --kubeconfig=/var/lib/kubelet/config.yaml. Because the test framework starts a local control plane to test the kubelet, use http://localhost:8080 as the URL of the API server. There are some other kubelet command line parameters you may want to use:--cloud-provider: If you are using --cloud-provider=gce, you should remove the flag to run the test.Run the node conformance test with command:# $CONFIG_DIR is the pod manifest path of your kubelet. # $LOG_DIR is the test output path. sudo docker run -it --rm --privileged --net=host \\ -v /:/rootfs -v $CONFIG_DIR:$CONFIG_DIR -v $LOG_DIR:/var/result \\ registry.k8s.io/node-test:0.2 Running Node Conformance Test for Other ArchitecturesKubernetes also provides node conformance test docker images for other architectures:ArchImageamd64node-test-amd64armnode-test-armarm64node-test-arm64Running Selected TestTo run specific tests, overwrite the environment variable FOCUS with the regular expression of tests you want to run.sudo docker run -it --rm --privileged --net=host \\ -v /:/rootfs:ro -v $CONFIG_DIR:$CONFIG_DIR -v $LOG_DIR:/var/result \\ -e FOCUS=MirrorPod \\ # Only run MirrorPod test registry.k8s.io/node-test:0.2 To skip specific tests, overwrite the environment variable SKIP with the regular expression of tests you want to skip.sudo docker run -it --rm --privileged --net=host \\ -v /:/rootfs:ro -v $CONFIG_DIR:$CONFIG_DIR -v $LOG_DIR:/var/result \\ -e SKIP=MirrorPod \\ # Run all conformance tests but skip MirrorPod test registry.k8s.io/node-test:0.2 Node conformance test is a containerized version of node e2e test. By default, it runs all conformance tests.Theoretically, you can run any node e2e test if you configure the container and mount required volumes properly. But it is strongly recommended to only run conformance test, because it requires much more complex configuration to run non-conformance test.CaveatsThe test leaves some docker images on the node, including the node conformance test image and images of containers used in the functionality test.The test leaves dead containers on the node. These containers are created during the functionality test.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/node-conformance/",
    "id": "k8s_00394_qa_7595"
  },
  {
    "question": "How does Validate node setup work?",
    "answer": "Validate node setupNode Conformance TestNode conformance test is a containerized test framework that provides a system verification and functionality test for a node. The test validates whether the node meets the minimum requirements for Kubernetes; a node that passes the test is qualified to join a Kubernetes cluster.Node PrerequisiteTo run node conformance test, a node must satisfy the same prerequisites as a standard Kubernetes node. At a minimum, the node should have the following daemons installed:CRI-compatible container runtimes such as Docker, containerd and CRI-OkubeletRunning Node Conformance TestTo run the node conformance test, perform the following steps:Work out the value of the --kubeconfig option for the kubelet; for example: --kubeconfig=/var/lib/kubelet/config.yaml. Because the test framework starts a local control plane to test the kubelet, use http://localhost:8080 as the URL of the API server. There are some other kubelet command line parameters you may want to use:--cloud-provider: If you are using --cloud-provider=gce, you should remove the flag to run the test.Run the node conformance test with command:# $CONFIG_DIR is the pod manifest path of your kubelet. # $LOG_DIR is the test output path. sudo docker run -it --rm --privileged --net=host \\ -v /:/rootfs -v $CONFIG_DIR:$CONFIG_DIR -v $LOG_DIR:/var/result \\ registry.k8s.io/node-test:0.2 Running Node Conformance Test for Other ArchitecturesKubernetes also provides node conformance test docker images for other architectures:ArchImageamd64node-test-amd64armnode-test-armarm64node-test-arm64Running Selected TestTo run specific tests, overwrite the environment variable FOCUS with the regular expression of tests you want to run.sudo docker run -it --rm --privileged --net=host \\ -v /:/rootfs:ro -v $CONFIG_DIR:$CONFIG_DIR -v $LOG_DIR:/var/result \\ -e FOCUS=MirrorPod \\ # Only run MirrorPod test registry.k8s.io/node-test:0.2 To skip specific tests, overwrite the environment variable SKIP with the regular expression of tests you want to skip.sudo docker run -it --rm --privileged --net=host \\ -v /:/rootfs:ro -v $CONFIG_DIR:$CONFIG_DIR -v $LOG_DIR:/var/result \\ -e SKIP=MirrorPod \\ # Run all conformance tests but skip MirrorPod test registry.k8s.io/node-test:0.2 Node conformance test is a containerized version of node e2e test. By default, it runs all conformance tests.Theoretically, you can run any node e2e test if you configure the container and mount required volumes properly. But it is strongly recommended to only run conformance test, because it requires much more complex configuration to run non-conformance test.CaveatsThe test leaves some docker images on the node, including the node conformance test image and images of containers used in the functionality test.The test leaves dead containers on the node. These containers are created during the functionality test.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/node-conformance/",
    "id": "k8s_00394_qa_7596"
  },
  {
    "question": "When would you use Validate node setup?",
    "answer": "Validate node setupNode Conformance TestNode conformance test is a containerized test framework that provides a system verification and functionality test for a node. The test validates whether the node meets the minimum requirements for Kubernetes; a node that passes the test is qualified to join a Kubernetes cluster.Node PrerequisiteTo run node conformance test, a node must satisfy the same prerequisites as a standard Kubernetes node. At a minimum, the node should have the following daemons installed:CRI-compatible container runtimes such as Docker, containerd and CRI-OkubeletRunning Node Conformance TestTo run the node conformance test, perform the following steps:Work out the value of the --kubeconfig option for the kubelet; for example: --kubeconfig=/var/lib/kubelet/config.yaml. Because the test framework starts a local control plane to test the kubelet, use http://localhost:8080 as the URL of the API server. There are some other kubelet command line parameters you may want to use:--cloud-provider: If you are using --cloud-provider=gce, you should remove the flag to run the test.Run the node conformance test with command:# $CONFIG_DIR is the pod manifest path of your kubelet. # $LOG_DIR is the test output path. sudo docker run -it --rm --privileged --net=host \\ -v /:/rootfs -v $CONFIG_DIR:$CONFIG_DIR -v $LOG_DIR:/var/result \\ registry.k8s.io/node-test:0.2 Running Node Conformance Test for Other ArchitecturesKubernetes also provides node conformance test docker images for other architectures:ArchImageamd64node-test-amd64armnode-test-armarm64node-test-arm64Running Selected TestTo run specific tests, overwrite the environment variable FOCUS with the regular expression of tests you want to run.sudo docker run -it --rm --privileged --net=host \\ -v /:/rootfs:ro -v $CONFIG_DIR:$CONFIG_DIR -v $LOG_DIR:/var/result \\ -e FOCUS=MirrorPod \\ # Only run MirrorPod test registry.k8s.io/node-test:0.2 To skip specific tests, overwrite the environment variable SKIP with the regular expression of tests you want to skip.sudo docker run -it --rm --privileged --net=host \\ -v /:/rootfs:ro -v $CONFIG_DIR:$CONFIG_DIR -v $LOG_DIR:/var/result \\ -e SKIP=MirrorPod \\ # Run all conformance tests but skip MirrorPod test registry.k8s.io/node-test:0.2 Node conformance test is a containerized version of node e2e test. By default, it runs all conformance tests.Theoretically, you can run any node e2e test if you configure the container and mount required volumes properly. But it is strongly recommended to only run conformance test, because it requires much more complex configuration to run non-conformance test.CaveatsThe test leaves some docker images on the node, including the node conformance test image and images of containers used in the functionality test.The test leaves dead containers on the node. These containers are created during the functionality test.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/node-conformance/",
    "id": "k8s_00394_qa_7597"
  },
  {
    "question": "What are the benefits of Validate node setup?",
    "answer": "Validate node setupNode Conformance TestNode conformance test is a containerized test framework that provides a system verification and functionality test for a node. The test validates whether the node meets the minimum requirements for Kubernetes; a node that passes the test is qualified to join a Kubernetes cluster.Node PrerequisiteTo run node conformance test, a node must satisfy the same prerequisites as a standard Kubernetes node. At a minimum, the node should have the following daemons installed:CRI-compatible container runtimes such as Docker, containerd and CRI-OkubeletRunning Node Conformance TestTo run the node conformance test, perform the following steps:Work out the value of the --kubeconfig option for the kubelet; for example: --kubeconfig=/var/lib/kubelet/config.yaml. Because the test framework starts a local control plane to test the kubelet, use http://localhost:8080 as the URL of the API server. There are some other kubelet command line parameters you may want to use:--cloud-provider: If you are using --cloud-provider=gce, you should remove the flag to run the test.Run the node conformance test with command:# $CONFIG_DIR is the pod manifest path of your kubelet. # $LOG_DIR is the test output path. sudo docker run -it --rm --privileged --net=host \\ -v /:/rootfs -v $CONFIG_DIR:$CONFIG_DIR -v $LOG_DIR:/var/result \\ registry.k8s.io/node-test:0.2 Running Node Conformance Test for Other ArchitecturesKubernetes also provides node conformance test docker images for other architectures:ArchImageamd64node-test-amd64armnode-test-armarm64node-test-arm64Running Selected TestTo run specific tests, overwrite the environment variable FOCUS with the regular expression of tests you want to run.sudo docker run -it --rm --privileged --net=host \\ -v /:/rootfs:ro -v $CONFIG_DIR:$CONFIG_DIR -v $LOG_DIR:/var/result \\ -e FOCUS=MirrorPod \\ # Only run MirrorPod test registry.k8s.io/node-test:0.2 To skip specific tests, overwrite the environment variable SKIP with the regular expression of tests you want to skip.sudo docker run -it --rm --privileged --net=host \\ -v /:/rootfs:ro -v $CONFIG_DIR:$CONFIG_DIR -v $LOG_DIR:/var/result \\ -e SKIP=MirrorPod \\ # Run all conformance tests but skip MirrorPod test registry.k8s.io/node-test:0.2 Node conformance test is a containerized version of node e2e test. By default, it runs all conformance tests.Theoretically, you can run any node e2e test if you configure the container and mount required volumes properly. But it is strongly recommended to only run conformance test, because it requires much more complex configuration to run non-conformance test.CaveatsThe test leaves some docker images on the node, including the node conformance test image and images of containers used in the functionality test.The test leaves dead containers on the node. These containers are created during the functionality test.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/node-conformance/",
    "id": "k8s_00394_qa_7598"
  },
  {
    "question": "What is Node Conformance Test?",
    "answer": "N o d e   c o n f o r m a n c e   t e s t   i s   a   c o n t a i n e r i z e d   t e s t   f r a m e w o r k   t h a t   p r o v i d e s   a   s y s t e m   v e r i f i c a t i o n   a n d   f u n c t i o n a l i t y   t e s t   f o r   a   n o d e .   T h e   t e s t   v a l i d a t e s   w h e t h e r   t h e   n o d e   m e e t s   t h e   m i n i m u m   r e q u i r e m e n t s   f o r   K u b e r n e t e s ;   a   n o d e   t h a t   p a s s e s   t h e   t e s t   i s   q u a l i f i e d   t o   j o i n   a   K u b e r n e t e s   c l u s t e r .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/node-conformance/",
    "id": "k8s_00394_section_2_7599"
  },
  {
    "question": "What is Node Prerequisite?",
    "answer": "T o   r u n   n o d e   c o n f o r m a n c e   t e s t ,   a   n o d e   m u s t   s a t i s f y   t h e   s a m e   p r e r e q u i s i t e s   a s   a   s t a n d a r d   K u b e r n e t e s   n o d e .   A t   a   m i n i m u m ,   t h e   n o d e   s h o u l d   h a v e   t h e   f o l l o w i n g   d a e m o n s   i n s t a l l e d :   C R I - c o m p a t i b l e   c o n t a i n e r   r u n t i m e s   s u c h   a s   D o c k e r ,   c o n t a i n e r d   a n d   C R I - O k u b e l e t",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/node-conformance/",
    "id": "k8s_00394_section_2_7600"
  },
  {
    "question": "What is Running Node Conformance Test?",
    "answer": "T o   r u n   t h e   n o d e   c o n f o r m a n c e   t e s t ,   p e r f o r m   t h e   f o l l o w i n g   s t e p s :   W o r k   o u t   t h e   v a l u e   o f   t h e   - - k u b e c o n f i g   o p t i o n   f o r   t h e   k u b e l e t ;   f o r   e x a m p l e :   - - k u b e c o n f i g = / v a r / l i b / k u b e l e t / c o n f i g . y a m l .   B e c a u s e   t h e   t e s t   f r a m e w o r k   s t a r t s   a   l o c a l   c o n t r o l   p l a n e   t o   t e s t   t h e   k u b e l e t ,   u s e   h t t p : / / l o c a l h o s t : 8 0 8 0   a s   t h e   U R L   o f   t h e   A P I   s e r v e r .   T h e r e   a r e   s o m e   o t h e r   k u b e l e t   c o m m a n d   l i n e   p a r a m e t e r s   y o u   m a y   w a n t   t o   u s e : - - c l o u d - p r o v i d e r :   I f   y o u   a r e   u s i n g   - - c l o u d - p r o v i d e r = g c e ,   y o u   s h o u l d   r e m o v e   t h e   f l a g   t o   r u n   t h e   t e s t . R u n   t h e   n o d e   c o n f o r m a n c e   t e s t   w i t h   c o m m a n d : #   $ C O N F I G _ D I R   i s   t h e   p o d   m a n i f e s t   p a t h   o f   y o u r   k u b e l e t .   #   $ L O G _ D I R   i s   t h e   t e s t   o u t p u t   p a t h .   s u d o   d o c k e r   r u n   - i t   - - r m   - - p r i v i l e g e d   - - n e t = h o s t   \\   - v   / : / r o o t f s   - v   $ C O N F I G _ D I R : $ C O N F I G _ D I R   - v   $ L O G _ D I R : / v a r / r e s u l t   \\   r e g i s t r y . k 8 s . i o / n o d e - t e s t : 0 . 2   W o r k   o u t   t h e   v a l u e   o f   t h e   - - k u b e c o n f i g   o p t i o n   f o r   t h e   k u b e l e t ;   f o r   e x a m p l e :   - - k u b e c o n f i g = / v a r / l i b / k u b e l e t / c o n f i g . y a m l .   B e c a u s e   t h e   t e s t   f r a m e w o r k   s t a r t s   a   l o c a l   c o n t r o l   p l a n e   t o   t e s t   t h e   k u b e l e t ,   u s e   h t t p : / / l o c a l h o s t : 8 0 8 0   a s   t h e   U ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/node-conformance/",
    "id": "k8s_00394_section_2_7601"
  },
  {
    "question": "What is Running Node Conformance Test for Other Architectures?",
    "answer": "K u b e r n e t e s   a l s o   p r o v i d e s   n o d e   c o n f o r m a n c e   t e s t   d o c k e r   i m a g e s   f o r   o t h e r   a r c h i t e c t u r e s :",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/node-conformance/",
    "id": "k8s_00394_section_2_7602"
  },
  {
    "question": "What is Running Selected Test?",
    "answer": "T o   r u n   s p e c i f i c   t e s t s ,   o v e r w r i t e   t h e   e n v i r o n m e n t   v a r i a b l e   F O C U S   w i t h   t h e   r e g u l a r   e x p r e s s i o n   o f   t e s t s   y o u   w a n t   t o   r u n .   s u d o   d o c k e r   r u n   - i t   - - r m   - - p r i v i l e g e d   - - n e t = h o s t   \\   - v   / : / r o o t f s : r o   - v   $ C O N F I G _ D I R : $ C O N F I G _ D I R   - v   $ L O G _ D I R : / v a r / r e s u l t   \\   - e   F O C U S = M i r r o r P o d   \\   #   O n l y   r u n   M i r r o r P o d   t e s t   r e g i s t r y . k 8 s . i o / n o d e - t e s t : 0 . 2   T o   s k i p   s p e c i f i c   t e s t s ,   o v e r w r i t e   t h e   e n v i r o n m e n t   v a r i a b l e   S K I P   w i t h   t h e   r e g u l a r   e x p r e s s i o n   o f   t e s t s   y o u   w a n t   t o   s k i p .   s u d o   d o c k e r   r u n   - i t   - - r m   - - p r i v i l e g e d   - - n e t = h o s t   \\   - v   / : / r o o t f s : r o   - v   $ C O N F I G _ D I R : $ C O N F I G _ D I R   - v   $ L O G _ D I R : / v a r / r e s u l t   \\   - e   S K I P = M i r r o r P o d   \\   #   R u n   a l l   c o n f o r m a n c e   t e s t s   b u t   s k i p   M i r r o r P o d   t e s t   r e g i s t r y . k 8 s . i o / n o d e - t e s t : 0 . 2   N o d e   c o n f o r m a n c e   t e s t   i s   a   c o n t a i n e r i z e d   v e r s i o n   o f   n o d e   e 2 e   t e s t .   B y   d e f a u l t ,   i t   r u n s   a l l   c o n f o r m a n c e   t e s t s .   T h e o r e t i c a l l y ,   y o u   c a n   r u n   a n y   n o d e   e 2 e   t e s t   i f   y o u   c o n f i g u r e   t h e   c o n t a i n e r   a n d   m o u n t   r e q u i r e d   v o l u m e s   p r o p e r l y .   B u t   i t   i s   s t r o n g l y   r e c o m m e n d e d   t o   o n l y   r u n   c o n f o r m a n c e   t e s t ,   b e c a u s e   i t   r e q u i r e s   m u c h   m o r e   c o m p l e x   c o n f i g u r a t i o n   t o   r u n   n ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/node-conformance/",
    "id": "k8s_00394_section_2_7603"
  },
  {
    "question": "What is Caveats?",
    "answer": "T h e   t e s t   l e a v e s   s o m e   d o c k e r   i m a g e s   o n   t h e   n o d e ,   i n c l u d i n g   t h e   n o d e   c o n f o r m a n c e   t e s t   i m a g e   a n d   i m a g e s   o f   c o n t a i n e r s   u s e d   i n   t h e   f u n c t i o n a l i t y   t e s t . T h e   t e s t   l e a v e s   d e a d   c o n t a i n e r s   o n   t h e   n o d e .   T h e s e   c o n t a i n e r s   a r e   c r e a t e d   d u r i n g   t h e   f u n c t i o n a l i t y   t e s t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/node-conformance/",
    "id": "k8s_00394_section_2_7604"
  },
  {
    "question": "What is Pod Hostname?",
    "answer": "Pod HostnameThis page explains how to set a Pod's hostname, potential side effects after configuration, and the underlying mechanics.Default Pod hostnameWhen a Pod is created, its hostname (as observed from within the Pod) is derived from the Pod's metadata.name value. Both the hostname and its corresponding fully qualified domain name (FQDN) are set to the metadata.name value (from the Pod's perspective)apiVersion: v1 kind: Pod metadata: name: busybox-1 spec: containers: - image: busybox:1.28 command: - sleep - \"3600\" name: busybox The Pod created by this manifest will have its hostname and fully qualified domain name (FQDN) set to busybox-1.Hostname with pod's hostname and subdomain fieldsThe Pod spec includes an optional hostname field. When set, this value takes precedence over the Pod's metadata.name as the hostname (observed from within the Pod). For example, a Pod with spec.hostname set to my-host will have its hostname set to my-host.The Pod spec also includes an optional subdomain field, indicating the Pod belongs to a subdomain within its namespace. If a Pod has spec.hostname set to \"foo\" and spec.subdomain set to \"bar\" in the namespace my-namespace, its hostname becomes foo and its fully qualified domain name (FQDN) becomes foo.bar.my-namespace.svc.cluster-domain.example (observed from within the Pod).When both hostname and subdomain are set, the cluster's DNS server will create A and/or AAAA records based on these fields. Refer to: Pod's hostname and subdomain fields.Hostname with pod's setHostnameAsFQDN fieldsFEATURE STATE: Kubernetes v1.22 [stable]When a Pod is configured to have fully qualified domain name (FQDN), its hostname is the short hostname. For example, if you have a Pod with the fully qualified domain name busybox-1.busybox-subdomain.my-namespace.svc.cluster-domain.example, then by default the hostname command inside that Pod returns busybox-1 and the hostname --fqdn command returns the FQDN.When both setHostnameAsFQDN: true and the subdomain field is set in the Pod spec, the kubelet writes the Pod's FQDN into the hostname for that Pod's namespace. In this case, both hostname and hostname --fqdn return the Pod's FQDN.The Pod's FQDN is constructed in the same manner as previously defined. It is composed of the Pod's spec.hostname (if specified) or metadata.name field, the spec.subdomain, the namespace name, and the cluster domain suffix.Note:In Linux, the hostname field of the kernel (the nodename field of struct utsname) is limited to 64 characters.If a Pod enables this feature and its FQDN is longer than 64 character, it will fail to start. The Pod will remain in Pending status (ContainerCreating as seen by kubectl) generating error events, such as \"Failed to construct FQDN from Pod hostname and cluster domain\".This means that when using this field, you must ensure the combined length of the Pod's metadata.name (or spec.hostname) and spec.subdomain fields results in an FQDN that does not exceed 64 characters.Hostname wit",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-hostname/",
    "id": "k8s_00395_qa_7605"
  },
  {
    "question": "How does Pod Hostname work?",
    "answer": "Pod HostnameThis page explains how to set a Pod's hostname, potential side effects after configuration, and the underlying mechanics.Default Pod hostnameWhen a Pod is created, its hostname (as observed from within the Pod) is derived from the Pod's metadata.name value. Both the hostname and its corresponding fully qualified domain name (FQDN) are set to the metadata.name value (from the Pod's perspective)apiVersion: v1 kind: Pod metadata: name: busybox-1 spec: containers: - image: busybox:1.28 command: - sleep - \"3600\" name: busybox The Pod created by this manifest will have its hostname and fully qualified domain name (FQDN) set to busybox-1.Hostname with pod's hostname and subdomain fieldsThe Pod spec includes an optional hostname field. When set, this value takes precedence over the Pod's metadata.name as the hostname (observed from within the Pod). For example, a Pod with spec.hostname set to my-host will have its hostname set to my-host.The Pod spec also includes an optional subdomain field, indicating the Pod belongs to a subdomain within its namespace. If a Pod has spec.hostname set to \"foo\" and spec.subdomain set to \"bar\" in the namespace my-namespace, its hostname becomes foo and its fully qualified domain name (FQDN) becomes foo.bar.my-namespace.svc.cluster-domain.example (observed from within the Pod).When both hostname and subdomain are set, the cluster's DNS server will create A and/or AAAA records based on these fields. Refer to: Pod's hostname and subdomain fields.Hostname with pod's setHostnameAsFQDN fieldsFEATURE STATE: Kubernetes v1.22 [stable]When a Pod is configured to have fully qualified domain name (FQDN), its hostname is the short hostname. For example, if you have a Pod with the fully qualified domain name busybox-1.busybox-subdomain.my-namespace.svc.cluster-domain.example, then by default the hostname command inside that Pod returns busybox-1 and the hostname --fqdn command returns the FQDN.When both setHostnameAsFQDN: true and the subdomain field is set in the Pod spec, the kubelet writes the Pod's FQDN into the hostname for that Pod's namespace. In this case, both hostname and hostname --fqdn return the Pod's FQDN.The Pod's FQDN is constructed in the same manner as previously defined. It is composed of the Pod's spec.hostname (if specified) or metadata.name field, the spec.subdomain, the namespace name, and the cluster domain suffix.Note:In Linux, the hostname field of the kernel (the nodename field of struct utsname) is limited to 64 characters.If a Pod enables this feature and its FQDN is longer than 64 character, it will fail to start. The Pod will remain in Pending status (ContainerCreating as seen by kubectl) generating error events, such as \"Failed to construct FQDN from Pod hostname and cluster domain\".This means that when using this field, you must ensure the combined length of the Pod's metadata.name (or spec.hostname) and spec.subdomain fields results in an FQDN that does not exceed 64 characters.Hostname wit",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-hostname/",
    "id": "k8s_00395_qa_7606"
  },
  {
    "question": "When would you use Pod Hostname?",
    "answer": "Pod HostnameThis page explains how to set a Pod's hostname, potential side effects after configuration, and the underlying mechanics.Default Pod hostnameWhen a Pod is created, its hostname (as observed from within the Pod) is derived from the Pod's metadata.name value. Both the hostname and its corresponding fully qualified domain name (FQDN) are set to the metadata.name value (from the Pod's perspective)apiVersion: v1 kind: Pod metadata: name: busybox-1 spec: containers: - image: busybox:1.28 command: - sleep - \"3600\" name: busybox The Pod created by this manifest will have its hostname and fully qualified domain name (FQDN) set to busybox-1.Hostname with pod's hostname and subdomain fieldsThe Pod spec includes an optional hostname field. When set, this value takes precedence over the Pod's metadata.name as the hostname (observed from within the Pod). For example, a Pod with spec.hostname set to my-host will have its hostname set to my-host.The Pod spec also includes an optional subdomain field, indicating the Pod belongs to a subdomain within its namespace. If a Pod has spec.hostname set to \"foo\" and spec.subdomain set to \"bar\" in the namespace my-namespace, its hostname becomes foo and its fully qualified domain name (FQDN) becomes foo.bar.my-namespace.svc.cluster-domain.example (observed from within the Pod).When both hostname and subdomain are set, the cluster's DNS server will create A and/or AAAA records based on these fields. Refer to: Pod's hostname and subdomain fields.Hostname with pod's setHostnameAsFQDN fieldsFEATURE STATE: Kubernetes v1.22 [stable]When a Pod is configured to have fully qualified domain name (FQDN), its hostname is the short hostname. For example, if you have a Pod with the fully qualified domain name busybox-1.busybox-subdomain.my-namespace.svc.cluster-domain.example, then by default the hostname command inside that Pod returns busybox-1 and the hostname --fqdn command returns the FQDN.When both setHostnameAsFQDN: true and the subdomain field is set in the Pod spec, the kubelet writes the Pod's FQDN into the hostname for that Pod's namespace. In this case, both hostname and hostname --fqdn return the Pod's FQDN.The Pod's FQDN is constructed in the same manner as previously defined. It is composed of the Pod's spec.hostname (if specified) or metadata.name field, the spec.subdomain, the namespace name, and the cluster domain suffix.Note:In Linux, the hostname field of the kernel (the nodename field of struct utsname) is limited to 64 characters.If a Pod enables this feature and its FQDN is longer than 64 character, it will fail to start. The Pod will remain in Pending status (ContainerCreating as seen by kubectl) generating error events, such as \"Failed to construct FQDN from Pod hostname and cluster domain\".This means that when using this field, you must ensure the combined length of the Pod's metadata.name (or spec.hostname) and spec.subdomain fields results in an FQDN that does not exceed 64 characters.Hostname wit",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-hostname/",
    "id": "k8s_00395_qa_7607"
  },
  {
    "question": "What are the benefits of Pod Hostname?",
    "answer": "Pod HostnameThis page explains how to set a Pod's hostname, potential side effects after configuration, and the underlying mechanics.Default Pod hostnameWhen a Pod is created, its hostname (as observed from within the Pod) is derived from the Pod's metadata.name value. Both the hostname and its corresponding fully qualified domain name (FQDN) are set to the metadata.name value (from the Pod's perspective)apiVersion: v1 kind: Pod metadata: name: busybox-1 spec: containers: - image: busybox:1.28 command: - sleep - \"3600\" name: busybox The Pod created by this manifest will have its hostname and fully qualified domain name (FQDN) set to busybox-1.Hostname with pod's hostname and subdomain fieldsThe Pod spec includes an optional hostname field. When set, this value takes precedence over the Pod's metadata.name as the hostname (observed from within the Pod). For example, a Pod with spec.hostname set to my-host will have its hostname set to my-host.The Pod spec also includes an optional subdomain field, indicating the Pod belongs to a subdomain within its namespace. If a Pod has spec.hostname set to \"foo\" and spec.subdomain set to \"bar\" in the namespace my-namespace, its hostname becomes foo and its fully qualified domain name (FQDN) becomes foo.bar.my-namespace.svc.cluster-domain.example (observed from within the Pod).When both hostname and subdomain are set, the cluster's DNS server will create A and/or AAAA records based on these fields. Refer to: Pod's hostname and subdomain fields.Hostname with pod's setHostnameAsFQDN fieldsFEATURE STATE: Kubernetes v1.22 [stable]When a Pod is configured to have fully qualified domain name (FQDN), its hostname is the short hostname. For example, if you have a Pod with the fully qualified domain name busybox-1.busybox-subdomain.my-namespace.svc.cluster-domain.example, then by default the hostname command inside that Pod returns busybox-1 and the hostname --fqdn command returns the FQDN.When both setHostnameAsFQDN: true and the subdomain field is set in the Pod spec, the kubelet writes the Pod's FQDN into the hostname for that Pod's namespace. In this case, both hostname and hostname --fqdn return the Pod's FQDN.The Pod's FQDN is constructed in the same manner as previously defined. It is composed of the Pod's spec.hostname (if specified) or metadata.name field, the spec.subdomain, the namespace name, and the cluster domain suffix.Note:In Linux, the hostname field of the kernel (the nodename field of struct utsname) is limited to 64 characters.If a Pod enables this feature and its FQDN is longer than 64 character, it will fail to start. The Pod will remain in Pending status (ContainerCreating as seen by kubectl) generating error events, such as \"Failed to construct FQDN from Pod hostname and cluster domain\".This means that when using this field, you must ensure the combined length of the Pod's metadata.name (or spec.hostname) and spec.subdomain fields results in an FQDN that does not exceed 64 characters.Hostname wit",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-hostname/",
    "id": "k8s_00395_qa_7608"
  },
  {
    "question": "What is Pod Hostname?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   t o   s e t   a   P o d ' s   h o s t n a m e ,   p o t e n t i a l   s i d e   e f f e c t s   a f t e r   c o n f i g u r a t i o n ,   a n d   t h e   u n d e r l y i n g   m e c h a n i c s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-hostname/",
    "id": "k8s_00395_section_1_7609"
  },
  {
    "question": "What is Default Pod hostname?",
    "answer": "W h e n   a   P o d   i s   c r e a t e d ,   i t s   h o s t n a m e   ( a s   o b s e r v e d   f r o m   w i t h i n   t h e   P o d )   i s   d e r i v e d   f r o m   t h e   P o d ' s   m e t a d a t a . n a m e   v a l u e .   B o t h   t h e   h o s t n a m e   a n d   i t s   c o r r e s p o n d i n g   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N )   a r e   s e t   t o   t h e   m e t a d a t a . n a m e   v a l u e   ( f r o m   t h e   P o d ' s   p e r s p e c t i v e )   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   b u s y b o x - 1   s p e c :   c o n t a i n e r s :   -   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   -   s l e e p   -   \" 3 6 0 0 \"   n a m e :   b u s y b o x   T h e   P o d   c r e a t e d   b y   t h i s   m a n i f e s t   w i l l   h a v e   i t s   h o s t n a m e   a n d   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N )   s e t   t o   b u s y b o x - 1 .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-hostname/",
    "id": "k8s_00395_section_2_7610"
  },
  {
    "question": "What is Hostname with pod's hostname and subdomain fields?",
    "answer": "T h e   P o d   s p e c   i n c l u d e s   a n   o p t i o n a l   h o s t n a m e   f i e l d .   W h e n   s e t ,   t h i s   v a l u e   t a k e s   p r e c e d e n c e   o v e r   t h e   P o d ' s   m e t a d a t a . n a m e   a s   t h e   h o s t n a m e   ( o b s e r v e d   f r o m   w i t h i n   t h e   P o d ) .   F o r   e x a m p l e ,   a   P o d   w i t h   s p e c . h o s t n a m e   s e t   t o   m y - h o s t   w i l l   h a v e   i t s   h o s t n a m e   s e t   t o   m y - h o s t .   T h e   P o d   s p e c   a l s o   i n c l u d e s   a n   o p t i o n a l   s u b d o m a i n   f i e l d ,   i n d i c a t i n g   t h e   P o d   b e l o n g s   t o   a   s u b d o m a i n   w i t h i n   i t s   n a m e s p a c e .   I f   a   P o d   h a s   s p e c . h o s t n a m e   s e t   t o   \" f o o \"   a n d   s p e c . s u b d o m a i n   s e t   t o   \" b a r \"   i n   t h e   n a m e s p a c e   m y - n a m e s p a c e ,   i t s   h o s t n a m e   b e c o m e s   f o o   a n d   i t s   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N )   b e c o m e s   f o o . b a r . m y - n a m e s p a c e . s v c . c l u s t e r - d o m a i n . e x a m p l e   ( o b s e r v e d   f r o m   w i t h i n   t h e   P o d ) .   W h e n   b o t h   h o s t n a m e   a n d   s u b d o m a i n   a r e   s e t ,   t h e   c l u s t e r ' s   D N S   s e r v e r   w i l l   c r e a t e   A   a n d / o r   A A A A   r e c o r d s   b a s e d   o n   t h e s e   f i e l d s .   R e f e r   t o :   P o d ' s   h o s t n a m e   a n d   s u b d o m a i n   f i e l d s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-hostname/",
    "id": "k8s_00395_section_2_7611"
  },
  {
    "question": "What is Hostname with pod's setHostnameAsFQDN fields?",
    "answer": "W h e n   a   P o d   i s   c o n f i g u r e d   t o   h a v e   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N ) ,   i t s   h o s t n a m e   i s   t h e   s h o r t   h o s t n a m e .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   P o d   w i t h   t h e   f u l l y   q u a l i f i e d   d o m a i n   n a m e   b u s y b o x - 1 . b u s y b o x - s u b d o m a i n . m y - n a m e s p a c e . s v c . c l u s t e r - d o m a i n . e x a m p l e ,   t h e n   b y   d e f a u l t   t h e   h o s t n a m e   c o m m a n d   i n s i d e   t h a t   P o d   r e t u r n s   b u s y b o x - 1   a n d   t h e   h o s t n a m e   - - f q d n   c o m m a n d   r e t u r n s   t h e   F Q D N .   W h e n   b o t h   s e t H o s t n a m e A s F Q D N :   t r u e   a n d   t h e   s u b d o m a i n   f i e l d   i s   s e t   i n   t h e   P o d   s p e c ,   t h e   k u b e l e t   w r i t e s   t h e   P o d ' s   F Q D N   i n t o   t h e   h o s t n a m e   f o r   t h a t   P o d ' s   n a m e s p a c e .   I n   t h i s   c a s e ,   b o t h   h o s t n a m e   a n d   h o s t n a m e   - - f q d n   r e t u r n   t h e   P o d ' s   F Q D N .   T h e   P o d ' s   F Q D N   i s   c o n s t r u c t e d   i n   t h e   s a m e   m a n n e r   a s   p r e v i o u s l y   d e f i n e d .   I t   i s   c o m p o s e d   o f   t h e   P o d ' s   s p e c . h o s t n a m e   ( i f   s p e c i f i e d )   o r   m e t a d a t a . n a m e   f i e l d ,   t h e   s p e c . s u b d o m a i n ,   t h e   n a m e s p a c e   n a m e ,   a n d   t h e   c l u s t e r   d o m a i n   s u f f i x .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-hostname/",
    "id": "k8s_00395_section_2_7612"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   L i n u x ,   t h e   h o s t n a m e   f i e l d   o f   t h e   k e r n e l   ( t h e   n o d e n a m e   f i e l d   o f   s t r u c t   u t s n a m e )   i s   l i m i t e d   t o   6 4   c h a r a c t e r s .   I f   a   P o d   e n a b l e s   t h i s   f e a t u r e   a n d   i t s   F Q D N   i s   l o n g e r   t h a n   6 4   c h a r a c t e r ,   i t   w i l l   f a i l   t o   s t a r t .   T h e   P o d   w i l l   r e m a i n   i n   P e n d i n g   s t a t u s   ( C o n t a i n e r C r e a t i n g   a s   s e e n   b y   k u b e c t l )   g e n e r a t i n g   e r r o r   e v e n t s ,   s u c h   a s   \" F a i l e d   t o   c o n s t r u c t   F Q D N   f r o m   P o d   h o s t n a m e   a n d   c l u s t e r   d o m a i n \" .   T h i s   m e a n s   t h a t   w h e n   u s i n g   t h i s   f i e l d ,   y o u   m u s t   e n s u r e   t h e   c o m b i n e d   l e n g t h   o f   t h e   P o d ' s   m e t a d a t a . n a m e   ( o r   s p e c . h o s t n a m e )   a n d   s p e c . s u b d o m a i n   f i e l d s   r e s u l t s   i n   a n   F Q D N   t h a t   d o e s   n o t   e x c e e d   6 4   c h a r a c t e r s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-hostname/",
    "id": "k8s_00395_section_4_7613"
  },
  {
    "question": "What is Hostname with pod's hostnameOverride?",
    "answer": "S e t t i n g   a   v a l u e   f o r   h o s t n a m e O v e r r i d e   i n   t h e   P o d   s p e c   c a u s e s   t h e   k u b e l e t   t o   u n c o n d i t i o n a l l y   s e t   b o t h   t h e   P o d ' s   h o s t n a m e   a n d   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N )   t o   t h e   h o s t n a m e O v e r r i d e   v a l u e .   T h e   h o s t n a m e O v e r r i d e   f i e l d   h a s   a   l e n g t h   l i m i t a t i o n   o f   6 4   c h a r a c t e r s   a n d   m u s t   a d h e r e   t o   t h e   D N S   s u b d o m a i n   n a m e s   s t a n d a r d   d e f i n e d   i n   R F C   1 1 2 3 .   E x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   b u s y b o x - 2 - b u s y b o x - e x a m p l e - d o m a i n   s p e c :   h o s t n a m e O v e r r i d e :   b u s y b o x - 2 . b u s y b o x . e x a m p l e . d o m a i n   c o n t a i n e r s :   -   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   -   s l e e p   -   \" 3 6 0 0 \"   n a m e :   b u s y b o x",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-hostname/",
    "id": "k8s_00395_section_2_7614"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   h o s t n a m e O v e r r i d e   i s   s e t   a l o n g s i d e   h o s t n a m e   a n d   s u b d o m a i n   f i e l d s :   T h e   h o s t n a m e   i n s i d e   t h e   P o d   i s   o v e r r i d d e n   t o   t h e   h o s t n a m e O v e r r i d e   v a l u e . T h e   P o d ' s   A   a n d / o r   A A A A   r e c o r d s   i n   t h e   c l u s t e r   D N S   s e r v e r   a r e   s t i l l   g e n e r a t e d   b a s e d   o n   t h e   h o s t n a m e   a n d   s u b d o m a i n   f i e l d s .   T h e   h o s t n a m e   i n s i d e   t h e   P o d   i s   o v e r r i d d e n   t o   t h e   h o s t n a m e O v e r r i d e   v a l u e .   T h e   P o d ' s   A   a n d / o r   A A A A   r e c o r d s   i n   t h e   c l u s t e r   D N S   s e r v e r   a r e   s t i l l   g e n e r a t e d   b a s e d   o n   t h e   h o s t n a m e   a n d   s u b d o m a i n   f i e l d s .   N o t e :   I f   h o s t n a m e O v e r r i d e   i s   s e t ,   y o u   c a n n o t   s i m u l t a n e o u s l y   s e t   t h e   h o s t N e t w o r k   a n d   s e t H o s t n a m e A s F Q D N   f i e l d s .   T h e   A P I   s e r v e r   w i l l   e x p l i c i t l y   r e j e c t   a n y   c r e a t e   r e q u e s t   a t t e m p t i n g   t h i s   c o m b i n a t i o n .   F o r   d e t a i l s   o n   b e h a v i o r   w h e n   h o s t n a m e O v e r r i d e   i s   s e t   i n   c o m b i n a t i o n   w i t h   o t h e r   f i e l d s   ( h o s t n a m e ,   s u b d o m a i n ,   s e t H o s t n a m e A s F Q D N ,   h o s t N e t w o r k ) ,   s e e   t h e   t a b l e   i n   t h e   K E P - 4 7 6 2   d e s i g n   d e t a i l s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-hostname/",
    "id": "k8s_00395_section_4_7615"
  },
  {
    "question": "What is Ingress?",
    "answer": "IngressIngress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend.apiVersion: networking.k8s.io/v1import \"k8s.io/api/networking/v1\"IngressIngress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.apiVersion: networking.k8s.io/v1kind: Ingressmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (IngressSpec)spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (IngressStatus)status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusIngressSpecIngressSpec describes the Ingress the user wishes to exist.defaultBackend (IngressBackend)defaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller.ingressClassName (string)ingressClassName is the name of an IngressClass cluster resource. Ingress controller implementations use this field to know whether they should be serving this Ingress resource, by a transitive connection (controller -> IngressClass -> Ingress resource). Although the kubernetes.io/ingress.class annotation (simple constant name) was never formally defined, it was widely supported by Ingress controllers to create a direct binding between Ingress controller and Ingress resources. Newly created Ingress resources should prefer using the field. However, even though the annotation is officially deprecated, for backwards compatibility reasons, ingress controllers should still honor that annotation if present.rules ([]IngressRule)Atomic: will be replaced during a mergerules is a list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.rules.host (string)host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the IP in the Spec of the parent Ingress. 2. The : delimiter is not respected because ports are not allowed. Currently the port of an Ingress is implicitly :80 for http and :443 for https. Both these may chan",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_qa_7616"
  },
  {
    "question": "How does Ingress work?",
    "answer": "IngressIngress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend.apiVersion: networking.k8s.io/v1import \"k8s.io/api/networking/v1\"IngressIngress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.apiVersion: networking.k8s.io/v1kind: Ingressmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (IngressSpec)spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (IngressStatus)status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusIngressSpecIngressSpec describes the Ingress the user wishes to exist.defaultBackend (IngressBackend)defaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller.ingressClassName (string)ingressClassName is the name of an IngressClass cluster resource. Ingress controller implementations use this field to know whether they should be serving this Ingress resource, by a transitive connection (controller -> IngressClass -> Ingress resource). Although the kubernetes.io/ingress.class annotation (simple constant name) was never formally defined, it was widely supported by Ingress controllers to create a direct binding between Ingress controller and Ingress resources. Newly created Ingress resources should prefer using the field. However, even though the annotation is officially deprecated, for backwards compatibility reasons, ingress controllers should still honor that annotation if present.rules ([]IngressRule)Atomic: will be replaced during a mergerules is a list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.rules.host (string)host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the IP in the Spec of the parent Ingress. 2. The : delimiter is not respected because ports are not allowed. Currently the port of an Ingress is implicitly :80 for http and :443 for https. Both these may chan",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_qa_7617"
  },
  {
    "question": "When would you use Ingress?",
    "answer": "IngressIngress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend.apiVersion: networking.k8s.io/v1import \"k8s.io/api/networking/v1\"IngressIngress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.apiVersion: networking.k8s.io/v1kind: Ingressmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (IngressSpec)spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (IngressStatus)status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusIngressSpecIngressSpec describes the Ingress the user wishes to exist.defaultBackend (IngressBackend)defaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller.ingressClassName (string)ingressClassName is the name of an IngressClass cluster resource. Ingress controller implementations use this field to know whether they should be serving this Ingress resource, by a transitive connection (controller -> IngressClass -> Ingress resource). Although the kubernetes.io/ingress.class annotation (simple constant name) was never formally defined, it was widely supported by Ingress controllers to create a direct binding between Ingress controller and Ingress resources. Newly created Ingress resources should prefer using the field. However, even though the annotation is officially deprecated, for backwards compatibility reasons, ingress controllers should still honor that annotation if present.rules ([]IngressRule)Atomic: will be replaced during a mergerules is a list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.rules.host (string)host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the IP in the Spec of the parent Ingress. 2. The : delimiter is not respected because ports are not allowed. Currently the port of an Ingress is implicitly :80 for http and :443 for https. Both these may chan",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_qa_7618"
  },
  {
    "question": "What are the benefits of Ingress?",
    "answer": "IngressIngress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend.apiVersion: networking.k8s.io/v1import \"k8s.io/api/networking/v1\"IngressIngress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.apiVersion: networking.k8s.io/v1kind: Ingressmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (IngressSpec)spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (IngressStatus)status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusIngressSpecIngressSpec describes the Ingress the user wishes to exist.defaultBackend (IngressBackend)defaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller.ingressClassName (string)ingressClassName is the name of an IngressClass cluster resource. Ingress controller implementations use this field to know whether they should be serving this Ingress resource, by a transitive connection (controller -> IngressClass -> Ingress resource). Although the kubernetes.io/ingress.class annotation (simple constant name) was never formally defined, it was widely supported by Ingress controllers to create a direct binding between Ingress controller and Ingress resources. Newly created Ingress resources should prefer using the field. However, even though the annotation is officially deprecated, for backwards compatibility reasons, ingress controllers should still honor that annotation if present.rules ([]IngressRule)Atomic: will be replaced during a mergerules is a list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.rules.host (string)host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the IP in the Spec of the parent Ingress. 2. The : delimiter is not respected because ports are not allowed. Currently the port of an Ingress is implicitly :80 for http and :443 for https. Both these may chan",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_qa_7619"
  },
  {
    "question": "What is Ingress?",
    "answer": "a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / n e t w o r k i n g / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_1_7620"
  },
  {
    "question": "What is Ingress?",
    "answer": "I n g r e s s   i s   a   c o l l e c t i o n   o f   r u l e s   t h a t   a l l o w   i n b o u n d   c o n n e c t i o n s   t o   r e a c h   t h e   e n d p o i n t s   d e f i n e d   b y   a   b a c k e n d .   A n   I n g r e s s   c a n   b e   c o n f i g u r e d   t o   g i v e   s e r v i c e s   e x t e r n a l l y - r e a c h a b l e   u r l s ,   l o a d   b a l a n c e   t r a f f i c ,   t e r m i n a t e   S S L ,   o f f e r   n a m e   b a s e d   v i r t u a l   h o s t i n g   e t c .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   I n g r e s s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( I n g r e s s S p e c ) s p e c   i s   t h e   d e s i r e d   s t a t e   o f   t h e   I n g r e s s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( I n g r e s s S t a t u s ) s t a t u s   i s   t h e   c u r r e n t   s t a t e   o f   t h e   I n g r e s s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_2_7621"
  },
  {
    "question": "What is IngressSpec?",
    "answer": "I n g r e s s S p e c   d e s c r i b e s   t h e   I n g r e s s   t h e   u s e r   w i s h e s   t o   e x i s t .   d e f a u l t B a c k e n d   ( I n g r e s s B a c k e n d ) d e f a u l t B a c k e n d   i s   t h e   b a c k e n d   t h a t   s h o u l d   h a n d l e   r e q u e s t s   t h a t   d o n ' t   m a t c h   a n y   r u l e .   I f   R u l e s   a r e   n o t   s p e c i f i e d ,   D e f a u l t B a c k e n d   m u s t   b e   s p e c i f i e d .   I f   D e f a u l t B a c k e n d   i s   n o t   s e t ,   t h e   h a n d l i n g   o f   r e q u e s t s   t h a t   d o   n o t   m a t c h   a n y   o f   t h e   r u l e s   w i l l   b e   u p   t o   t h e   I n g r e s s   c o n t r o l l e r . i n g r e s s C l a s s N a m e   ( s t r i n g ) i n g r e s s C l a s s N a m e   i s   t h e   n a m e   o f   a n   I n g r e s s C l a s s   c l u s t e r   r e s o u r c e .   I n g r e s s   c o n t r o l l e r   i m p l e m e n t a t i o n s   u s e   t h i s   f i e l d   t o   k n o w   w h e t h e r   t h e y   s h o u l d   b e   s e r v i n g   t h i s   I n g r e s s   r e s o u r c e ,   b y   a   t r a n s i t i v e   c o n n e c t i o n   ( c o n t r o l l e r   - >   I n g r e s s C l a s s   - >   I n g r e s s   r e s o u r c e ) .   A l t h o u g h   t h e   k u b e r n e t e s . i o / i n g r e s s . c l a s s   a n n o t a t i o n   ( s i m p l e   c o n s t a n t   n a m e )   w a s   n e v e r   f o r m a l l y   d e f i n e d ,   i t   w a s   w i d e l y   s u p p o r t e d   b y   I n g r e s s   c o n t r o l l e r s   t o   c r e a t e   a   d i r e c t   b i n d i n g   b e t w e e n   I n g r e s s   c o n t r o l l e r   a n d   I n g r e s s   r e s o u r c e s .   N e w l y   c r e a t e d   I n g r e s s   r e s o u r c e s   s h o u l d   p r e f e r   u s i n g   t h e   f i e l d .   H o w e v e r ,   e v e n   t h o u g h   t h e   a n n o t a t i o n   i s   o f f i c i a l l y   d e p r e c a t e d ,   f o r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_2_7622"
  },
  {
    "question": "What is IngressBackend?",
    "answer": "I n g r e s s B a c k e n d   d e s c r i b e s   a l l   e n d p o i n t s   f o r   a   g i v e n   s e r v i c e   a n d   p o r t .   r e s o u r c e   ( T y p e d L o c a l O b j e c t R e f e r e n c e ) r e s o u r c e   i s   a n   O b j e c t R e f   t o   a n o t h e r   K u b e r n e t e s   r e s o u r c e   i n   t h e   n a m e s p a c e   o f   t h e   I n g r e s s   o b j e c t .   I f   r e s o u r c e   i s   s p e c i f i e d ,   a   s e r v i c e . N a m e   a n d   s e r v i c e . P o r t   m u s t   n o t   b e   s p e c i f i e d .   T h i s   i s   a   m u t u a l l y   e x c l u s i v e   s e t t i n g   w i t h   \" S e r v i c e \" . s e r v i c e   ( I n g r e s s S e r v i c e B a c k e n d ) s e r v i c e   r e f e r e n c e s   a   s e r v i c e   a s   a   b a c k e n d .   T h i s   i s   a   m u t u a l l y   e x c l u s i v e   s e t t i n g   w i t h   \" R e s o u r c e \" . I n g r e s s S e r v i c e B a c k e n d   r e f e r e n c e s   a   K u b e r n e t e s   S e r v i c e   a s   a   B a c k e n d . s e r v i c e . n a m e   ( s t r i n g ) ,   r e q u i r e d n a m e   i s   t h e   r e f e r e n c e d   s e r v i c e .   T h e   s e r v i c e   m u s t   e x i s t   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   I n g r e s s   o b j e c t . s e r v i c e . p o r t   ( S e r v i c e B a c k e n d P o r t ) p o r t   o f   t h e   r e f e r e n c e d   s e r v i c e .   A   p o r t   n a m e   o r   p o r t   n u m b e r   i s   r e q u i r e d   f o r   a   I n g r e s s S e r v i c e B a c k e n d . S e r v i c e B a c k e n d P o r t   i s   t h e   s e r v i c e   p o r t   b e i n g   r e f e r e n c e d . s e r v i c e . p o r t . n a m e   ( s t r i n g ) n a m e   i s   t h e   n a m e   o f   t h e   p o r t   o n   t h e   S e r v i c e .   T h i s   i s   a   m u t u a l l y   e x c l u s i v e   s e t t i n g   w i t h   \" N u m b e r \" . s e r v i c e . p o r t . n u m b e r   ( i n t 3 2 ) n u m b e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_2_7623"
  },
  {
    "question": "What is IngressStatus?",
    "answer": "I n g r e s s S t a t u s   d e s c r i b e   t h e   c u r r e n t   s t a t e   o f   t h e   I n g r e s s .   l o a d B a l a n c e r   ( I n g r e s s L o a d B a l a n c e r S t a t u s ) l o a d B a l a n c e r   c o n t a i n s   t h e   c u r r e n t   s t a t u s   o f   t h e   l o a d - b a l a n c e r . I n g r e s s L o a d B a l a n c e r S t a t u s   r e p r e s e n t s   t h e   s t a t u s   o f   a   l o a d - b a l a n c e r . l o a d B a l a n c e r . i n g r e s s   ( [ ] I n g r e s s L o a d B a l a n c e r I n g r e s s ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e i n g r e s s   i s   a   l i s t   c o n t a i n i n g   i n g r e s s   p o i n t s   f o r   t h e   l o a d - b a l a n c e r . I n g r e s s L o a d B a l a n c e r I n g r e s s   r e p r e s e n t s   t h e   s t a t u s   o f   a   l o a d - b a l a n c e r   i n g r e s s   p o i n t . l o a d B a l a n c e r . i n g r e s s . h o s t n a m e   ( s t r i n g ) h o s t n a m e   i s   s e t   f o r   l o a d - b a l a n c e r   i n g r e s s   p o i n t s   t h a t   a r e   D N S   b a s e d . l o a d B a l a n c e r . i n g r e s s . i p   ( s t r i n g ) i p   i s   s e t   f o r   l o a d - b a l a n c e r   i n g r e s s   p o i n t s   t h a t   a r e   I P   b a s e d . l o a d B a l a n c e r . i n g r e s s . p o r t s   ( [ ] I n g r e s s P o r t S t a t u s ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e p o r t s   p r o v i d e s   i n f o r m a t i o n   a b o u t   t h e   p o r t s   e x p o s e d   b y   t h i s   L o a d B a l a n c e r . I n g r e s s P o r t S t a t u s   r e p r e s e n t s   t h e   e r r o r   c o n d i t i o n   o f   a   s e r v i c e   p o r t l o a d B a l a n c e r . i n g r e s s . p o r t s . p o r t   ( i n t 3 2 ) ,   r e q u i r e d p o r t   i s   t h e   p o r t   n u m b e r   o f   t h e   i n g r e s s   p o r t . l o a d B a l a n c e r . i n g r e s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_2_7624"
  },
  {
    "question": "What is IngressList?",
    "answer": "I n g r e s s L i s t   i s   a   c o l l e c t i o n   o f   I n g r e s s .   i t e m s   ( [ ] I n g r e s s ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   I n g r e s s . a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] I n g r e s s ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   I n g r e s s .   a p i V e r s i o n   ( s t r i n g )   A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_2_7625"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7626"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7627"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7628"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7629"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7630"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7631"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7632"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7633"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7634"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7635"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7636"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7637"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7638"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   I n g r e s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   I n g r e s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7639"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s ) :   O K   2 0 1   ( I n g r e s s ) :   C r e a t e d   2 0 2   ( I n g r e s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7640"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7641"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   I n g r e s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   I n g r e s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7642"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s ) :   O K   2 0 1   ( I n g r e s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7643"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7644"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   I n g r e s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   I n g r e s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7645"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s ) :   O K   2 0 1   ( I n g r e s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7646"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7647"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7648"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s ) :   O K   2 0 1   ( I n g r e s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7649"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7650"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7651"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s ) :   O K   2 0 1   ( I n g r e s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7652"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7653"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7654"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7655"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7656"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7657"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/",
    "id": "k8s_00396_section_4_7658"
  },
  {
    "question": "What is Kubelet Device Manager API Versions?",
    "answer": "Kubelet Device Manager API VersionsThis page provides details of version compatibility between the Kubernetes device plugin API, and different versions of Kubernetes itself.Compatibility matrixv1alpha1v1beta1Kubernetes 1.21-✓Kubernetes 1.22-✓Kubernetes 1.23-✓Kubernetes 1.24-✓Kubernetes 1.25-✓Kubernetes 1.26-✓Key:✓ Exactly the same features / API objects in both device plugin API and the Kubernetes version.+ The device plugin API has features or API objects that may not be present in the Kubernetes cluster, either because the device plugin API has added additional new API calls, or that the server has removed an old API call. However, everything they have in common (most other APIs) will work. Note that alpha APIs may vanish or change significantly between one minor release and the next.- The Kubernetes cluster has features the device plugin API can't use, either because server has added additional API calls, or that device plugin API has removed an old API call. However, everything they share in common (most APIs) will work.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/node/device-plugin-api-versions/",
    "id": "k8s_00397_qa_7659"
  },
  {
    "question": "How does Kubelet Device Manager API Versions work?",
    "answer": "Kubelet Device Manager API VersionsThis page provides details of version compatibility between the Kubernetes device plugin API, and different versions of Kubernetes itself.Compatibility matrixv1alpha1v1beta1Kubernetes 1.21-✓Kubernetes 1.22-✓Kubernetes 1.23-✓Kubernetes 1.24-✓Kubernetes 1.25-✓Kubernetes 1.26-✓Key:✓ Exactly the same features / API objects in both device plugin API and the Kubernetes version.+ The device plugin API has features or API objects that may not be present in the Kubernetes cluster, either because the device plugin API has added additional new API calls, or that the server has removed an old API call. However, everything they have in common (most other APIs) will work. Note that alpha APIs may vanish or change significantly between one minor release and the next.- The Kubernetes cluster has features the device plugin API can't use, either because server has added additional API calls, or that device plugin API has removed an old API call. However, everything they share in common (most APIs) will work.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/node/device-plugin-api-versions/",
    "id": "k8s_00397_qa_7660"
  },
  {
    "question": "When would you use Kubelet Device Manager API Versions?",
    "answer": "Kubelet Device Manager API VersionsThis page provides details of version compatibility between the Kubernetes device plugin API, and different versions of Kubernetes itself.Compatibility matrixv1alpha1v1beta1Kubernetes 1.21-✓Kubernetes 1.22-✓Kubernetes 1.23-✓Kubernetes 1.24-✓Kubernetes 1.25-✓Kubernetes 1.26-✓Key:✓ Exactly the same features / API objects in both device plugin API and the Kubernetes version.+ The device plugin API has features or API objects that may not be present in the Kubernetes cluster, either because the device plugin API has added additional new API calls, or that the server has removed an old API call. However, everything they have in common (most other APIs) will work. Note that alpha APIs may vanish or change significantly between one minor release and the next.- The Kubernetes cluster has features the device plugin API can't use, either because server has added additional API calls, or that device plugin API has removed an old API call. However, everything they share in common (most APIs) will work.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/node/device-plugin-api-versions/",
    "id": "k8s_00397_qa_7661"
  },
  {
    "question": "What are the benefits of Kubelet Device Manager API Versions?",
    "answer": "Kubelet Device Manager API VersionsThis page provides details of version compatibility between the Kubernetes device plugin API, and different versions of Kubernetes itself.Compatibility matrixv1alpha1v1beta1Kubernetes 1.21-✓Kubernetes 1.22-✓Kubernetes 1.23-✓Kubernetes 1.24-✓Kubernetes 1.25-✓Kubernetes 1.26-✓Key:✓ Exactly the same features / API objects in both device plugin API and the Kubernetes version.+ The device plugin API has features or API objects that may not be present in the Kubernetes cluster, either because the device plugin API has added additional new API calls, or that the server has removed an old API call. However, everything they have in common (most other APIs) will work. Note that alpha APIs may vanish or change significantly between one minor release and the next.- The Kubernetes cluster has features the device plugin API can't use, either because server has added additional API calls, or that device plugin API has removed an old API call. However, everything they share in common (most APIs) will work.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/node/device-plugin-api-versions/",
    "id": "k8s_00397_qa_7662"
  },
  {
    "question": "What is Kubelet Device Manager API Versions?",
    "answer": "T h i s   p a g e   p r o v i d e s   d e t a i l s   o f   v e r s i o n   c o m p a t i b i l i t y   b e t w e e n   t h e   K u b e r n e t e s   d e v i c e   p l u g i n   A P I ,   a n d   d i f f e r e n t   v e r s i o n s   o f   K u b e r n e t e s   i t s e l f .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/node/device-plugin-api-versions/",
    "id": "k8s_00397_section_1_7663"
  },
  {
    "question": "What is Compatibility matrix?",
    "answer": "K e y :   ✓   E x a c t l y   t h e   s a m e   f e a t u r e s   /   A P I   o b j e c t s   i n   b o t h   d e v i c e   p l u g i n   A P I   a n d   t h e   K u b e r n e t e s   v e r s i o n . +   T h e   d e v i c e   p l u g i n   A P I   h a s   f e a t u r e s   o r   A P I   o b j e c t s   t h a t   m a y   n o t   b e   p r e s e n t   i n   t h e   K u b e r n e t e s   c l u s t e r ,   e i t h e r   b e c a u s e   t h e   d e v i c e   p l u g i n   A P I   h a s   a d d e d   a d d i t i o n a l   n e w   A P I   c a l l s ,   o r   t h a t   t h e   s e r v e r   h a s   r e m o v e d   a n   o l d   A P I   c a l l .   H o w e v e r ,   e v e r y t h i n g   t h e y   h a v e   i n   c o m m o n   ( m o s t   o t h e r   A P I s )   w i l l   w o r k .   N o t e   t h a t   a l p h a   A P I s   m a y   v a n i s h   o r   c h a n g e   s i g n i f i c a n t l y   b e t w e e n   o n e   m i n o r   r e l e a s e   a n d   t h e   n e x t . -   T h e   K u b e r n e t e s   c l u s t e r   h a s   f e a t u r e s   t h e   d e v i c e   p l u g i n   A P I   c a n ' t   u s e ,   e i t h e r   b e c a u s e   s e r v e r   h a s   a d d e d   a d d i t i o n a l   A P I   c a l l s ,   o r   t h a t   d e v i c e   p l u g i n   A P I   h a s   r e m o v e d   a n   o l d   A P I   c a l l .   H o w e v e r ,   e v e r y t h i n g   t h e y   s h a r e   i n   c o m m o n   ( m o s t   A P I s )   w i l l   w o r k .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/node/device-plugin-api-versions/",
    "id": "k8s_00397_section_2_7664"
  },
  {
    "question": "What is kubectl create ingress?",
    "answer": "kubectl create ingressSynopsisCreate an ingress with the specified name.kubectl create ingress NAME --rule=host/path=service:port[,tls[=secret]] Examples # Create a single ingress called 'simple' that directs requests to foo.com/bar to svc # svc1:8080 with a TLS secret \"my-cert\" kubectl create ingress simple --rule=\"foo.com/bar=svc1:8080,tls=my-cert\" # Create a catch all ingress of \"/path\" pointing to service svc:port and Ingress Class as \"otheringress\" kubectl create ingress catch-all --class=otheringress --rule=\"/path=svc:port\" # Create an ingress with two annotations: ingress.annotation1 and ingress.annotations2 kubectl create ingress annotated --class=default --rule=\"foo.com/bar=svc:port\" \\ --annotation ingress.annotation1=foo \\ --annotation ingress.annotation2=bla # Create an ingress with the same host and multiple paths kubectl create ingress multipath --class=default \\ --rule=\"foo.com/=svc:port\" \\ --rule=\"foo.com/admin/=svcadmin:portadmin\" # Create an ingress with multiple hosts and the pathType as Prefix kubectl create ingress ingress1 --class=default \\ --rule=\"foo.com/path*=svc:8080\" \\ --rule=\"bar.com/admin*=svc2:http\" # Create an ingress with TLS enabled using the default ingress certificate and different path types kubectl create ingress ingtls --class=default \\ --rule=\"foo.com/=svc:https,tls\" \\ --rule=\"foo.com/path/subpath*=othersvc:8080\" # Create an ingress with TLS enabled using a specific secret and pathType as Prefix kubectl create ingress ingsecret --class=default \\ --rule=\"foo.com/*=svc:8080,tls=secret1\" # Create an ingress with a default backend kubectl create ingress ingdefault --class=default \\ --default-backend=defaultsvc:http \\ --rule=\"foo.com/*=svc:8080,tls=secret1\" Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--annotation stringsAnnotation to insert in the ingress object, in the format annotation=value--class stringIngress Class to be used--default-backend stringDefault service for backend, in format of svcname:port--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for ingress-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--rule stringsRule in format host/path=service:port[,tls=secretname]. Paths containing the leading character '*' are considered pathType=Prefix. tls argument is optional.--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perfor",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_ingress/",
    "id": "k8s_00398_qa_7665"
  },
  {
    "question": "How does kubectl create ingress work?",
    "answer": "kubectl create ingressSynopsisCreate an ingress with the specified name.kubectl create ingress NAME --rule=host/path=service:port[,tls[=secret]] Examples # Create a single ingress called 'simple' that directs requests to foo.com/bar to svc # svc1:8080 with a TLS secret \"my-cert\" kubectl create ingress simple --rule=\"foo.com/bar=svc1:8080,tls=my-cert\" # Create a catch all ingress of \"/path\" pointing to service svc:port and Ingress Class as \"otheringress\" kubectl create ingress catch-all --class=otheringress --rule=\"/path=svc:port\" # Create an ingress with two annotations: ingress.annotation1 and ingress.annotations2 kubectl create ingress annotated --class=default --rule=\"foo.com/bar=svc:port\" \\ --annotation ingress.annotation1=foo \\ --annotation ingress.annotation2=bla # Create an ingress with the same host and multiple paths kubectl create ingress multipath --class=default \\ --rule=\"foo.com/=svc:port\" \\ --rule=\"foo.com/admin/=svcadmin:portadmin\" # Create an ingress with multiple hosts and the pathType as Prefix kubectl create ingress ingress1 --class=default \\ --rule=\"foo.com/path*=svc:8080\" \\ --rule=\"bar.com/admin*=svc2:http\" # Create an ingress with TLS enabled using the default ingress certificate and different path types kubectl create ingress ingtls --class=default \\ --rule=\"foo.com/=svc:https,tls\" \\ --rule=\"foo.com/path/subpath*=othersvc:8080\" # Create an ingress with TLS enabled using a specific secret and pathType as Prefix kubectl create ingress ingsecret --class=default \\ --rule=\"foo.com/*=svc:8080,tls=secret1\" # Create an ingress with a default backend kubectl create ingress ingdefault --class=default \\ --default-backend=defaultsvc:http \\ --rule=\"foo.com/*=svc:8080,tls=secret1\" Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--annotation stringsAnnotation to insert in the ingress object, in the format annotation=value--class stringIngress Class to be used--default-backend stringDefault service for backend, in format of svcname:port--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for ingress-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--rule stringsRule in format host/path=service:port[,tls=secretname]. Paths containing the leading character '*' are considered pathType=Prefix. tls argument is optional.--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perfor",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_ingress/",
    "id": "k8s_00398_qa_7666"
  },
  {
    "question": "When would you use kubectl create ingress?",
    "answer": "kubectl create ingressSynopsisCreate an ingress with the specified name.kubectl create ingress NAME --rule=host/path=service:port[,tls[=secret]] Examples # Create a single ingress called 'simple' that directs requests to foo.com/bar to svc # svc1:8080 with a TLS secret \"my-cert\" kubectl create ingress simple --rule=\"foo.com/bar=svc1:8080,tls=my-cert\" # Create a catch all ingress of \"/path\" pointing to service svc:port and Ingress Class as \"otheringress\" kubectl create ingress catch-all --class=otheringress --rule=\"/path=svc:port\" # Create an ingress with two annotations: ingress.annotation1 and ingress.annotations2 kubectl create ingress annotated --class=default --rule=\"foo.com/bar=svc:port\" \\ --annotation ingress.annotation1=foo \\ --annotation ingress.annotation2=bla # Create an ingress with the same host and multiple paths kubectl create ingress multipath --class=default \\ --rule=\"foo.com/=svc:port\" \\ --rule=\"foo.com/admin/=svcadmin:portadmin\" # Create an ingress with multiple hosts and the pathType as Prefix kubectl create ingress ingress1 --class=default \\ --rule=\"foo.com/path*=svc:8080\" \\ --rule=\"bar.com/admin*=svc2:http\" # Create an ingress with TLS enabled using the default ingress certificate and different path types kubectl create ingress ingtls --class=default \\ --rule=\"foo.com/=svc:https,tls\" \\ --rule=\"foo.com/path/subpath*=othersvc:8080\" # Create an ingress with TLS enabled using a specific secret and pathType as Prefix kubectl create ingress ingsecret --class=default \\ --rule=\"foo.com/*=svc:8080,tls=secret1\" # Create an ingress with a default backend kubectl create ingress ingdefault --class=default \\ --default-backend=defaultsvc:http \\ --rule=\"foo.com/*=svc:8080,tls=secret1\" Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--annotation stringsAnnotation to insert in the ingress object, in the format annotation=value--class stringIngress Class to be used--default-backend stringDefault service for backend, in format of svcname:port--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for ingress-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--rule stringsRule in format host/path=service:port[,tls=secretname]. Paths containing the leading character '*' are considered pathType=Prefix. tls argument is optional.--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perfor",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_ingress/",
    "id": "k8s_00398_qa_7667"
  },
  {
    "question": "What are the benefits of kubectl create ingress?",
    "answer": "kubectl create ingressSynopsisCreate an ingress with the specified name.kubectl create ingress NAME --rule=host/path=service:port[,tls[=secret]] Examples # Create a single ingress called 'simple' that directs requests to foo.com/bar to svc # svc1:8080 with a TLS secret \"my-cert\" kubectl create ingress simple --rule=\"foo.com/bar=svc1:8080,tls=my-cert\" # Create a catch all ingress of \"/path\" pointing to service svc:port and Ingress Class as \"otheringress\" kubectl create ingress catch-all --class=otheringress --rule=\"/path=svc:port\" # Create an ingress with two annotations: ingress.annotation1 and ingress.annotations2 kubectl create ingress annotated --class=default --rule=\"foo.com/bar=svc:port\" \\ --annotation ingress.annotation1=foo \\ --annotation ingress.annotation2=bla # Create an ingress with the same host and multiple paths kubectl create ingress multipath --class=default \\ --rule=\"foo.com/=svc:port\" \\ --rule=\"foo.com/admin/=svcadmin:portadmin\" # Create an ingress with multiple hosts and the pathType as Prefix kubectl create ingress ingress1 --class=default \\ --rule=\"foo.com/path*=svc:8080\" \\ --rule=\"bar.com/admin*=svc2:http\" # Create an ingress with TLS enabled using the default ingress certificate and different path types kubectl create ingress ingtls --class=default \\ --rule=\"foo.com/=svc:https,tls\" \\ --rule=\"foo.com/path/subpath*=othersvc:8080\" # Create an ingress with TLS enabled using a specific secret and pathType as Prefix kubectl create ingress ingsecret --class=default \\ --rule=\"foo.com/*=svc:8080,tls=secret1\" # Create an ingress with a default backend kubectl create ingress ingdefault --class=default \\ --default-backend=defaultsvc:http \\ --rule=\"foo.com/*=svc:8080,tls=secret1\" Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--annotation stringsAnnotation to insert in the ingress object, in the format annotation=value--class stringIngress Class to be used--default-backend stringDefault service for backend, in format of svcname:port--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for ingress-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--rule stringsRule in format host/path=service:port[,tls=secretname]. Paths containing the leading character '*' are considered pathType=Prefix. tls argument is optional.--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perfor",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_ingress/",
    "id": "k8s_00398_qa_7668"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a n   i n g r e s s   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   i n g r e s s   N A M E   - - r u l e = h o s t / p a t h = s e r v i c e : p o r t [ , t l s [ = s e c r e t ] ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_ingress/",
    "id": "k8s_00398_section_2_7669"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   s i n g l e   i n g r e s s   c a l l e d   ' s i m p l e '   t h a t   d i r e c t s   r e q u e s t s   t o   f o o . c o m / b a r   t o   s v c   #   s v c 1 : 8 0 8 0   w i t h   a   T L S   s e c r e t   \" m y - c e r t \"   k u b e c t l   c r e a t e   i n g r e s s   s i m p l e   - - r u l e = \" f o o . c o m / b a r = s v c 1 : 8 0 8 0 , t l s = m y - c e r t \"   #   C r e a t e   a   c a t c h   a l l   i n g r e s s   o f   \" / p a t h \"   p o i n t i n g   t o   s e r v i c e   s v c : p o r t   a n d   I n g r e s s   C l a s s   a s   \" o t h e r i n g r e s s \"   k u b e c t l   c r e a t e   i n g r e s s   c a t c h - a l l   - - c l a s s = o t h e r i n g r e s s   - - r u l e = \" / p a t h = s v c : p o r t \"   #   C r e a t e   a n   i n g r e s s   w i t h   t w o   a n n o t a t i o n s :   i n g r e s s . a n n o t a t i o n 1   a n d   i n g r e s s . a n n o t a t i o n s 2   k u b e c t l   c r e a t e   i n g r e s s   a n n o t a t e d   - - c l a s s = d e f a u l t   - - r u l e = \" f o o . c o m / b a r = s v c : p o r t \"   \\   - - a n n o t a t i o n   i n g r e s s . a n n o t a t i o n 1 = f o o   \\   - - a n n o t a t i o n   i n g r e s s . a n n o t a t i o n 2 = b l a   #   C r e a t e   a n   i n g r e s s   w i t h   t h e   s a m e   h o s t   a n d   m u l t i p l e   p a t h s   k u b e c t l   c r e a t e   i n g r e s s   m u l t i p a t h   - - c l a s s = d e f a u l t   \\   - - r u l e = \" f o o . c o m / = s v c : p o r t \"   \\   - - r u l e = \" f o o . c o m / a d m i n / = s v c a d m i n : p o r t a d m i n \"   #   C r e a t e   a n   i n g r e s s   w i t h   m u l t i p l e   h o s t s   a n d   t h e   p a t h T y p e   a s   P r e f i x   k u b e c t l   c r e a t e   i n g r e s s   i n g r e s s 1   - - c l a s s = d e f a u l t   \\   - - r u l e = \" f o o . c o m / p a t h * = s v c : 8 0 8 0 \"   \\   - - r u l e = \" b a r . c o m / a d m i n * = s v c 2 : h t t p \"   #   C r e a t e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_ingress/",
    "id": "k8s_00398_section_2_7670"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   A n n o t a t i o n   t o   i n s e r t   i n   t h e   i n g r e s s   o b j e c t ,   i n   t h e   f o r m a t   a n n o t a t i o n = v a l u e   I n g r e s s   C l a s s   t o   b e   u s e d   D e f a u l t   s e r v i c e   f o r   b a c k e n d ,   i n   f o r m a t   o f   s v c n a m e : p o r t   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   i n g r e s s   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   R u l e   i n   f o r m a t   h o s t / p a t h = s e r v i c e : p o r t [ , t l s = s e c r e t n a m e ] .   P a t h s   c o n t a i n i n g   t h e   l e a d i n g   c h a r a c t e r   ' * '   a r e   c o n s i d e r e d   p a t h T y p e = P r e f i x .   t l s   a r g u m e n t   i s   o p t i o n a l .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_ingress/",
    "id": "k8s_00398_section_2_7671"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_ingress/",
    "id": "k8s_00398_section_2_7672"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_ingress/",
    "id": "k8s_00398_section_2_7673"
  },
  {
    "question": "What is Namespaces Walkthrough?",
    "answer": "Namespaces WalkthroughKubernetes namespaces help different projects, teams, or customers to share a Kubernetes cluster.It does this by providing the following:A scope for Names.A mechanism to attach authorization and policy to a subsection of the cluster.Use of multiple namespaces is optional.This example demonstrates how to use Kubernetes namespaces to subdivide your cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.PrerequisitesThis example assumes the following:You have an existing Kubernetes cluster.You have a basic understanding of Kubernetes Pods, Services, and Deployments.Understand the default namespaceBy default, a Kubernetes cluster will instantiate a default namespace when provisioning the cluster to hold the default set of Pods, Services, and Deployments used by the cluster.Assuming you have a fresh cluster, you can inspect the available namespaces by doing the following:kubectl get namespaces NAME STATUS AGE default Active 13m Create new namespacesFor this exercise, we will create two additional Kubernetes namespaces to hold our content.Let's imagine a scenario where an organization is using a shared Kubernetes cluster for development and production use cases.The development team would like to maintain a space in the cluster where they can get a view on the list of Pods, Services, and Deployments they use to build and run their application. In this space, Kubernetes resources come and go, and the restrictions on who can or cannot modify resources are relaxed to enable agile development.The operations team would like to maintain a space in the cluster where they can enforce strict procedures on who can or cannot manipulate the set of Pods, Services, and Deployments that run the production site.One pattern this organization could follow is to partition the Kubernetes cluster into two namespaces: development and production.Let's create two new namespaces to hold our work.Use the file namespace-dev.yaml which describes a development namespace:admin/namespace-dev.yaml apiVersion: v1 kind: Namespace metadata: name: development labels: name: development Create the development namespace using kubectl.kubectl create -f https://k8s.io/examples/admin/namespace-dev.yaml Save the following contents into file namespace-prod.yaml which describes a production namespace:admin/namespace-prod.yaml apiVersion: v1 kind: Namespace metadata: name: production labels: name: production And then let's create the production namespace using kubectl.kubectl create -f https://k8s.io/examples/admin/namespace-prod.yaml To be sure thi",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/namespaces-walkthrough/",
    "id": "k8s_00399_qa_7674"
  },
  {
    "question": "How does Namespaces Walkthrough work?",
    "answer": "Namespaces WalkthroughKubernetes namespaces help different projects, teams, or customers to share a Kubernetes cluster.It does this by providing the following:A scope for Names.A mechanism to attach authorization and policy to a subsection of the cluster.Use of multiple namespaces is optional.This example demonstrates how to use Kubernetes namespaces to subdivide your cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.PrerequisitesThis example assumes the following:You have an existing Kubernetes cluster.You have a basic understanding of Kubernetes Pods, Services, and Deployments.Understand the default namespaceBy default, a Kubernetes cluster will instantiate a default namespace when provisioning the cluster to hold the default set of Pods, Services, and Deployments used by the cluster.Assuming you have a fresh cluster, you can inspect the available namespaces by doing the following:kubectl get namespaces NAME STATUS AGE default Active 13m Create new namespacesFor this exercise, we will create two additional Kubernetes namespaces to hold our content.Let's imagine a scenario where an organization is using a shared Kubernetes cluster for development and production use cases.The development team would like to maintain a space in the cluster where they can get a view on the list of Pods, Services, and Deployments they use to build and run their application. In this space, Kubernetes resources come and go, and the restrictions on who can or cannot modify resources are relaxed to enable agile development.The operations team would like to maintain a space in the cluster where they can enforce strict procedures on who can or cannot manipulate the set of Pods, Services, and Deployments that run the production site.One pattern this organization could follow is to partition the Kubernetes cluster into two namespaces: development and production.Let's create two new namespaces to hold our work.Use the file namespace-dev.yaml which describes a development namespace:admin/namespace-dev.yaml apiVersion: v1 kind: Namespace metadata: name: development labels: name: development Create the development namespace using kubectl.kubectl create -f https://k8s.io/examples/admin/namespace-dev.yaml Save the following contents into file namespace-prod.yaml which describes a production namespace:admin/namespace-prod.yaml apiVersion: v1 kind: Namespace metadata: name: production labels: name: production And then let's create the production namespace using kubectl.kubectl create -f https://k8s.io/examples/admin/namespace-prod.yaml To be sure thi",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/namespaces-walkthrough/",
    "id": "k8s_00399_qa_7675"
  },
  {
    "question": "When would you use Namespaces Walkthrough?",
    "answer": "Namespaces WalkthroughKubernetes namespaces help different projects, teams, or customers to share a Kubernetes cluster.It does this by providing the following:A scope for Names.A mechanism to attach authorization and policy to a subsection of the cluster.Use of multiple namespaces is optional.This example demonstrates how to use Kubernetes namespaces to subdivide your cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.PrerequisitesThis example assumes the following:You have an existing Kubernetes cluster.You have a basic understanding of Kubernetes Pods, Services, and Deployments.Understand the default namespaceBy default, a Kubernetes cluster will instantiate a default namespace when provisioning the cluster to hold the default set of Pods, Services, and Deployments used by the cluster.Assuming you have a fresh cluster, you can inspect the available namespaces by doing the following:kubectl get namespaces NAME STATUS AGE default Active 13m Create new namespacesFor this exercise, we will create two additional Kubernetes namespaces to hold our content.Let's imagine a scenario where an organization is using a shared Kubernetes cluster for development and production use cases.The development team would like to maintain a space in the cluster where they can get a view on the list of Pods, Services, and Deployments they use to build and run their application. In this space, Kubernetes resources come and go, and the restrictions on who can or cannot modify resources are relaxed to enable agile development.The operations team would like to maintain a space in the cluster where they can enforce strict procedures on who can or cannot manipulate the set of Pods, Services, and Deployments that run the production site.One pattern this organization could follow is to partition the Kubernetes cluster into two namespaces: development and production.Let's create two new namespaces to hold our work.Use the file namespace-dev.yaml which describes a development namespace:admin/namespace-dev.yaml apiVersion: v1 kind: Namespace metadata: name: development labels: name: development Create the development namespace using kubectl.kubectl create -f https://k8s.io/examples/admin/namespace-dev.yaml Save the following contents into file namespace-prod.yaml which describes a production namespace:admin/namespace-prod.yaml apiVersion: v1 kind: Namespace metadata: name: production labels: name: production And then let's create the production namespace using kubectl.kubectl create -f https://k8s.io/examples/admin/namespace-prod.yaml To be sure thi",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/namespaces-walkthrough/",
    "id": "k8s_00399_qa_7676"
  },
  {
    "question": "What are the benefits of Namespaces Walkthrough?",
    "answer": "Namespaces WalkthroughKubernetes namespaces help different projects, teams, or customers to share a Kubernetes cluster.It does this by providing the following:A scope for Names.A mechanism to attach authorization and policy to a subsection of the cluster.Use of multiple namespaces is optional.This example demonstrates how to use Kubernetes namespaces to subdivide your cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.PrerequisitesThis example assumes the following:You have an existing Kubernetes cluster.You have a basic understanding of Kubernetes Pods, Services, and Deployments.Understand the default namespaceBy default, a Kubernetes cluster will instantiate a default namespace when provisioning the cluster to hold the default set of Pods, Services, and Deployments used by the cluster.Assuming you have a fresh cluster, you can inspect the available namespaces by doing the following:kubectl get namespaces NAME STATUS AGE default Active 13m Create new namespacesFor this exercise, we will create two additional Kubernetes namespaces to hold our content.Let's imagine a scenario where an organization is using a shared Kubernetes cluster for development and production use cases.The development team would like to maintain a space in the cluster where they can get a view on the list of Pods, Services, and Deployments they use to build and run their application. In this space, Kubernetes resources come and go, and the restrictions on who can or cannot modify resources are relaxed to enable agile development.The operations team would like to maintain a space in the cluster where they can enforce strict procedures on who can or cannot manipulate the set of Pods, Services, and Deployments that run the production site.One pattern this organization could follow is to partition the Kubernetes cluster into two namespaces: development and production.Let's create two new namespaces to hold our work.Use the file namespace-dev.yaml which describes a development namespace:admin/namespace-dev.yaml apiVersion: v1 kind: Namespace metadata: name: development labels: name: development Create the development namespace using kubectl.kubectl create -f https://k8s.io/examples/admin/namespace-dev.yaml Save the following contents into file namespace-prod.yaml which describes a production namespace:admin/namespace-prod.yaml apiVersion: v1 kind: Namespace metadata: name: production labels: name: production And then let's create the production namespace using kubectl.kubectl create -f https://k8s.io/examples/admin/namespace-prod.yaml To be sure thi",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/namespaces-walkthrough/",
    "id": "k8s_00399_qa_7677"
  },
  {
    "question": "What is Namespaces Walkthrough?",
    "answer": "K u b e r n e t e s   n a m e s p a c e s   h e l p   d i f f e r e n t   p r o j e c t s ,   t e a m s ,   o r   c u s t o m e r s   t o   s h a r e   a   K u b e r n e t e s   c l u s t e r .   I t   d o e s   t h i s   b y   p r o v i d i n g   t h e   f o l l o w i n g :   A   s c o p e   f o r   N a m e s . A   m e c h a n i s m   t o   a t t a c h   a u t h o r i z a t i o n   a n d   p o l i c y   t o   a   s u b s e c t i o n   o f   t h e   c l u s t e r .   U s e   o f   m u l t i p l e   n a m e s p a c e s   i s   o p t i o n a l .   T h i s   e x a m p l e   d e m o n s t r a t e s   h o w   t o   u s e   K u b e r n e t e s   n a m e s p a c e s   t o   s u b d i v i d e   y o u r   c l u s t e r .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/namespaces-walkthrough/",
    "id": "k8s_00399_section_1_7678"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/namespaces-walkthrough/",
    "id": "k8s_00399_section_2_7679"
  },
  {
    "question": "What is Prerequisites?",
    "answer": "T h i s   e x a m p l e   a s s u m e s   t h e   f o l l o w i n g :   Y o u   h a v e   a n   e x i s t i n g   K u b e r n e t e s   c l u s t e r . Y o u   h a v e   a   b a s i c   u n d e r s t a n d i n g   o f   K u b e r n e t e s   P o d s ,   S e r v i c e s ,   a n d   D e p l o y m e n t s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/namespaces-walkthrough/",
    "id": "k8s_00399_section_2_7680"
  },
  {
    "question": "What is Understand the default namespace?",
    "answer": "B y   d e f a u l t ,   a   K u b e r n e t e s   c l u s t e r   w i l l   i n s t a n t i a t e   a   d e f a u l t   n a m e s p a c e   w h e n   p r o v i s i o n i n g   t h e   c l u s t e r   t o   h o l d   t h e   d e f a u l t   s e t   o f   P o d s ,   S e r v i c e s ,   a n d   D e p l o y m e n t s   u s e d   b y   t h e   c l u s t e r .   A s s u m i n g   y o u   h a v e   a   f r e s h   c l u s t e r ,   y o u   c a n   i n s p e c t   t h e   a v a i l a b l e   n a m e s p a c e s   b y   d o i n g   t h e   f o l l o w i n g :   k u b e c t l   g e t   n a m e s p a c e s   N A M E   S T A T U S   A G E   d e f a u l t   A c t i v e   1 3 m",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/namespaces-walkthrough/",
    "id": "k8s_00399_section_2_7681"
  },
  {
    "question": "What is Create new namespaces?",
    "answer": "F o r   t h i s   e x e r c i s e ,   w e   w i l l   c r e a t e   t w o   a d d i t i o n a l   K u b e r n e t e s   n a m e s p a c e s   t o   h o l d   o u r   c o n t e n t .   L e t ' s   i m a g i n e   a   s c e n a r i o   w h e r e   a n   o r g a n i z a t i o n   i s   u s i n g   a   s h a r e d   K u b e r n e t e s   c l u s t e r   f o r   d e v e l o p m e n t   a n d   p r o d u c t i o n   u s e   c a s e s .   T h e   d e v e l o p m e n t   t e a m   w o u l d   l i k e   t o   m a i n t a i n   a   s p a c e   i n   t h e   c l u s t e r   w h e r e   t h e y   c a n   g e t   a   v i e w   o n   t h e   l i s t   o f   P o d s ,   S e r v i c e s ,   a n d   D e p l o y m e n t s   t h e y   u s e   t o   b u i l d   a n d   r u n   t h e i r   a p p l i c a t i o n .   I n   t h i s   s p a c e ,   K u b e r n e t e s   r e s o u r c e s   c o m e   a n d   g o ,   a n d   t h e   r e s t r i c t i o n s   o n   w h o   c a n   o r   c a n n o t   m o d i f y   r e s o u r c e s   a r e   r e l a x e d   t o   e n a b l e   a g i l e   d e v e l o p m e n t .   T h e   o p e r a t i o n s   t e a m   w o u l d   l i k e   t o   m a i n t a i n   a   s p a c e   i n   t h e   c l u s t e r   w h e r e   t h e y   c a n   e n f o r c e   s t r i c t   p r o c e d u r e s   o n   w h o   c a n   o r   c a n n o t   m a n i p u l a t e   t h e   s e t   o f   P o d s ,   S e r v i c e s ,   a n d   D e p l o y m e n t s   t h a t   r u n   t h e   p r o d u c t i o n   s i t e .   O n e   p a t t e r n   t h i s   o r g a n i z a t i o n   c o u l d   f o l l o w   i s   t o   p a r t i t i o n   t h e   K u b e r n e t e s   c l u s t e r   i n t o   t w o   n a m e s p a c e s :   d e v e l o p m e n t   a n d   p r o d u c t i o n .   L e t ' s   c r e a t e   t w o   n e w   n a m e s p a c e s   t o   h o l d   o u r   w o r k .   U s e   t h e   f i l e   n a m e s p a c e - d e v . y a m l   w h i c h   d e s c r i b e s   a   d e v e l ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/namespaces-walkthrough/",
    "id": "k8s_00399_section_2_7682"
  },
  {
    "question": "What is Create pods in each namespace?",
    "answer": "A   K u b e r n e t e s   n a m e s p a c e   p r o v i d e s   t h e   s c o p e   f o r   P o d s ,   S e r v i c e s ,   a n d   D e p l o y m e n t s   i n   t h e   c l u s t e r .   U s e r s   i n t e r a c t i n g   w i t h   o n e   n a m e s p a c e   d o   n o t   s e e   t h e   c o n t e n t   i n   a n o t h e r   n a m e s p a c e .   T o   d e m o n s t r a t e   t h i s ,   l e t ' s   s p i n   u p   a   s i m p l e   D e p l o y m e n t   a n d   P o d s   i n   t h e   d e v e l o p m e n t   n a m e s p a c e .   W e   f i r s t   c h e c k   w h a t   i s   t h e   c u r r e n t   c o n t e x t :   k u b e c t l   c o n f i g   v i e w   a p i V e r s i o n :   v 1   c l u s t e r s :   -   c l u s t e r :   c e r t i f i c a t e - a u t h o r i t y - d a t a :   R E D A C T E D   s e r v e r :   h t t p s : / / 1 3 0 . 2 1 1 . 1 2 2 . 1 8 0   n a m e :   l i t h e - c o c o a - 9 2 1 0 3 _ k u b e r n e t e s   c o n t e x t s :   -   c o n t e x t :   c l u s t e r :   l i t h e - c o c o a - 9 2 1 0 3 _ k u b e r n e t e s   u s e r :   l i t h e - c o c o a - 9 2 1 0 3 _ k u b e r n e t e s   n a m e :   l i t h e - c o c o a - 9 2 1 0 3 _ k u b e r n e t e s   c u r r e n t - c o n t e x t :   l i t h e - c o c o a - 9 2 1 0 3 _ k u b e r n e t e s   k i n d :   C o n f i g   p r e f e r e n c e s :   { }   u s e r s :   -   n a m e :   l i t h e - c o c o a - 9 2 1 0 3 _ k u b e r n e t e s   u s e r :   c l i e n t - c e r t i f i c a t e - d a t a :   R E D A C T E D   c l i e n t - k e y - d a t a :   R E D A C T E D   t o k e n :   6 5 r Z W 7 8 y 8 H b w X X t S X u U w 9 D b P 4 F L j H i 4 b   -   n a m e :   l i t h e - c o c o a - 9 2 1 0 3 _ k u b e r n e t e s - b a s i c - a u t h   u s e r :   p a s s w o r d :   h 5 M 0 F t U U I f l B S d I 7   u s e r n a m e :   a d m i n   k u b e c t l   c o n f i g   c u r r e n t - c o n t e x t   l i t h e - c o c o a - 9 2 1 0 3 _ k u b e r n e t e s   T h e   n e x t   s t e p   i ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/namespaces-walkthrough/",
    "id": "k8s_00399_section_2_7683"
  },
  {
    "question": "What is kubectl proxy?",
    "answer": "kubectl proxySynopsisCreates a proxy server or application-level gateway between localhost and the Kubernetes API server. It also allows serving static content over specified HTTP path. All incoming data enters through one port and gets forwarded to the remote Kubernetes API server port, except for the path matching the static content path.kubectl proxy [--port=PORT] [--www=static-dir] [--www-prefix=prefix] [--api-prefix=prefix] Examples # To proxy all of the Kubernetes API and nothing else kubectl proxy --api-prefix=/ # To proxy only part of the Kubernetes API and also some static files # You can get pods info with 'curl localhost:8001/api/v1/pods' kubectl proxy --www=/my/files --www-prefix=/static/ --api-prefix=/api/ # To proxy the entire Kubernetes API at a different root # You can get pods info with 'curl localhost:8001/custom/api/v1/pods' kubectl proxy --api-prefix=/custom/ # Run a proxy to the Kubernetes API server on port 8011, serving static content from ./local/www/ kubectl proxy --port=8011 --www=./local/www/ # Run a proxy to the Kubernetes API server on an arbitrary local port # The chosen port for the server will be output to stdout kubectl proxy --port=0 # Run a proxy to the Kubernetes API server, changing the API prefix to k8s-api # This makes e.g. the pods API available at localhost:8001/k8s-api/v1/pods/ kubectl proxy --api-prefix=/k8s-api Options--accept-hosts string Default: \"^localhost$,^127\\.0\\.0\\.1$,^\\[::1\\]$\"Regular expression for hosts that the proxy should accept.--accept-paths string Default: \"^.*\"Regular expression for paths that the proxy should accept.--address string Default: \"127.0.0.1\"The IP address on which to serve on.--api-prefix string Default: \"/\"Prefix to serve the proxied API under.--append-server-pathIf true, enables automatic path appending of the kube context server path to each request.--disable-filterIf true, disable request filtering in the proxy. This is dangerous, and can leave you vulnerable to XSRF attacks, when used with an accessible port.-h, --helphelp for proxy--keepalive durationkeepalive specifies the keep-alive period for an active network connection. Set to 0 to disable keepalive.-p, --port int Default: 8001The port on which to run the proxy. Set to 0 to pick a random port.--reject-methods string Default: \"^$\"Regular expression for HTTP methods that the proxy should reject (example --reject-methods='POST,PUT,PATCH').--reject-paths string Default: \"^/api/.*/pods/.*/exec,^/api/.*/pods/.*/attach\"Regular expression for paths that the proxy should reject. Paths specified here will be rejected even accepted by --accept-paths.-u, --unix-socket stringUnix socket on which to run the proxy.-w, --www stringAlso serve static files from the given directory under the specified prefix.-P, --www-prefix string Default: \"/static/\"Prefix to serve static files under, if static file directory is specified.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_proxy/",
    "id": "k8s_00400_qa_7684"
  },
  {
    "question": "How does kubectl proxy work?",
    "answer": "kubectl proxySynopsisCreates a proxy server or application-level gateway between localhost and the Kubernetes API server. It also allows serving static content over specified HTTP path. All incoming data enters through one port and gets forwarded to the remote Kubernetes API server port, except for the path matching the static content path.kubectl proxy [--port=PORT] [--www=static-dir] [--www-prefix=prefix] [--api-prefix=prefix] Examples # To proxy all of the Kubernetes API and nothing else kubectl proxy --api-prefix=/ # To proxy only part of the Kubernetes API and also some static files # You can get pods info with 'curl localhost:8001/api/v1/pods' kubectl proxy --www=/my/files --www-prefix=/static/ --api-prefix=/api/ # To proxy the entire Kubernetes API at a different root # You can get pods info with 'curl localhost:8001/custom/api/v1/pods' kubectl proxy --api-prefix=/custom/ # Run a proxy to the Kubernetes API server on port 8011, serving static content from ./local/www/ kubectl proxy --port=8011 --www=./local/www/ # Run a proxy to the Kubernetes API server on an arbitrary local port # The chosen port for the server will be output to stdout kubectl proxy --port=0 # Run a proxy to the Kubernetes API server, changing the API prefix to k8s-api # This makes e.g. the pods API available at localhost:8001/k8s-api/v1/pods/ kubectl proxy --api-prefix=/k8s-api Options--accept-hosts string Default: \"^localhost$,^127\\.0\\.0\\.1$,^\\[::1\\]$\"Regular expression for hosts that the proxy should accept.--accept-paths string Default: \"^.*\"Regular expression for paths that the proxy should accept.--address string Default: \"127.0.0.1\"The IP address on which to serve on.--api-prefix string Default: \"/\"Prefix to serve the proxied API under.--append-server-pathIf true, enables automatic path appending of the kube context server path to each request.--disable-filterIf true, disable request filtering in the proxy. This is dangerous, and can leave you vulnerable to XSRF attacks, when used with an accessible port.-h, --helphelp for proxy--keepalive durationkeepalive specifies the keep-alive period for an active network connection. Set to 0 to disable keepalive.-p, --port int Default: 8001The port on which to run the proxy. Set to 0 to pick a random port.--reject-methods string Default: \"^$\"Regular expression for HTTP methods that the proxy should reject (example --reject-methods='POST,PUT,PATCH').--reject-paths string Default: \"^/api/.*/pods/.*/exec,^/api/.*/pods/.*/attach\"Regular expression for paths that the proxy should reject. Paths specified here will be rejected even accepted by --accept-paths.-u, --unix-socket stringUnix socket on which to run the proxy.-w, --www stringAlso serve static files from the given directory under the specified prefix.-P, --www-prefix string Default: \"/static/\"Prefix to serve static files under, if static file directory is specified.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_proxy/",
    "id": "k8s_00400_qa_7685"
  },
  {
    "question": "When would you use kubectl proxy?",
    "answer": "kubectl proxySynopsisCreates a proxy server or application-level gateway between localhost and the Kubernetes API server. It also allows serving static content over specified HTTP path. All incoming data enters through one port and gets forwarded to the remote Kubernetes API server port, except for the path matching the static content path.kubectl proxy [--port=PORT] [--www=static-dir] [--www-prefix=prefix] [--api-prefix=prefix] Examples # To proxy all of the Kubernetes API and nothing else kubectl proxy --api-prefix=/ # To proxy only part of the Kubernetes API and also some static files # You can get pods info with 'curl localhost:8001/api/v1/pods' kubectl proxy --www=/my/files --www-prefix=/static/ --api-prefix=/api/ # To proxy the entire Kubernetes API at a different root # You can get pods info with 'curl localhost:8001/custom/api/v1/pods' kubectl proxy --api-prefix=/custom/ # Run a proxy to the Kubernetes API server on port 8011, serving static content from ./local/www/ kubectl proxy --port=8011 --www=./local/www/ # Run a proxy to the Kubernetes API server on an arbitrary local port # The chosen port for the server will be output to stdout kubectl proxy --port=0 # Run a proxy to the Kubernetes API server, changing the API prefix to k8s-api # This makes e.g. the pods API available at localhost:8001/k8s-api/v1/pods/ kubectl proxy --api-prefix=/k8s-api Options--accept-hosts string Default: \"^localhost$,^127\\.0\\.0\\.1$,^\\[::1\\]$\"Regular expression for hosts that the proxy should accept.--accept-paths string Default: \"^.*\"Regular expression for paths that the proxy should accept.--address string Default: \"127.0.0.1\"The IP address on which to serve on.--api-prefix string Default: \"/\"Prefix to serve the proxied API under.--append-server-pathIf true, enables automatic path appending of the kube context server path to each request.--disable-filterIf true, disable request filtering in the proxy. This is dangerous, and can leave you vulnerable to XSRF attacks, when used with an accessible port.-h, --helphelp for proxy--keepalive durationkeepalive specifies the keep-alive period for an active network connection. Set to 0 to disable keepalive.-p, --port int Default: 8001The port on which to run the proxy. Set to 0 to pick a random port.--reject-methods string Default: \"^$\"Regular expression for HTTP methods that the proxy should reject (example --reject-methods='POST,PUT,PATCH').--reject-paths string Default: \"^/api/.*/pods/.*/exec,^/api/.*/pods/.*/attach\"Regular expression for paths that the proxy should reject. Paths specified here will be rejected even accepted by --accept-paths.-u, --unix-socket stringUnix socket on which to run the proxy.-w, --www stringAlso serve static files from the given directory under the specified prefix.-P, --www-prefix string Default: \"/static/\"Prefix to serve static files under, if static file directory is specified.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_proxy/",
    "id": "k8s_00400_qa_7686"
  },
  {
    "question": "What are the benefits of kubectl proxy?",
    "answer": "kubectl proxySynopsisCreates a proxy server or application-level gateway between localhost and the Kubernetes API server. It also allows serving static content over specified HTTP path. All incoming data enters through one port and gets forwarded to the remote Kubernetes API server port, except for the path matching the static content path.kubectl proxy [--port=PORT] [--www=static-dir] [--www-prefix=prefix] [--api-prefix=prefix] Examples # To proxy all of the Kubernetes API and nothing else kubectl proxy --api-prefix=/ # To proxy only part of the Kubernetes API and also some static files # You can get pods info with 'curl localhost:8001/api/v1/pods' kubectl proxy --www=/my/files --www-prefix=/static/ --api-prefix=/api/ # To proxy the entire Kubernetes API at a different root # You can get pods info with 'curl localhost:8001/custom/api/v1/pods' kubectl proxy --api-prefix=/custom/ # Run a proxy to the Kubernetes API server on port 8011, serving static content from ./local/www/ kubectl proxy --port=8011 --www=./local/www/ # Run a proxy to the Kubernetes API server on an arbitrary local port # The chosen port for the server will be output to stdout kubectl proxy --port=0 # Run a proxy to the Kubernetes API server, changing the API prefix to k8s-api # This makes e.g. the pods API available at localhost:8001/k8s-api/v1/pods/ kubectl proxy --api-prefix=/k8s-api Options--accept-hosts string Default: \"^localhost$,^127\\.0\\.0\\.1$,^\\[::1\\]$\"Regular expression for hosts that the proxy should accept.--accept-paths string Default: \"^.*\"Regular expression for paths that the proxy should accept.--address string Default: \"127.0.0.1\"The IP address on which to serve on.--api-prefix string Default: \"/\"Prefix to serve the proxied API under.--append-server-pathIf true, enables automatic path appending of the kube context server path to each request.--disable-filterIf true, disable request filtering in the proxy. This is dangerous, and can leave you vulnerable to XSRF attacks, when used with an accessible port.-h, --helphelp for proxy--keepalive durationkeepalive specifies the keep-alive period for an active network connection. Set to 0 to disable keepalive.-p, --port int Default: 8001The port on which to run the proxy. Set to 0 to pick a random port.--reject-methods string Default: \"^$\"Regular expression for HTTP methods that the proxy should reject (example --reject-methods='POST,PUT,PATCH').--reject-paths string Default: \"^/api/.*/pods/.*/exec,^/api/.*/pods/.*/attach\"Regular expression for paths that the proxy should reject. Paths specified here will be rejected even accepted by --accept-paths.-u, --unix-socket stringUnix socket on which to run the proxy.-w, --www stringAlso serve static files from the given directory under the specified prefix.-P, --www-prefix string Default: \"/static/\"Prefix to serve static files under, if static file directory is specified.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_proxy/",
    "id": "k8s_00400_qa_7687"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e s   a   p r o x y   s e r v e r   o r   a p p l i c a t i o n - l e v e l   g a t e w a y   b e t w e e n   l o c a l h o s t   a n d   t h e   K u b e r n e t e s   A P I   s e r v e r .   I t   a l s o   a l l o w s   s e r v i n g   s t a t i c   c o n t e n t   o v e r   s p e c i f i e d   H T T P   p a t h .   A l l   i n c o m i n g   d a t a   e n t e r s   t h r o u g h   o n e   p o r t   a n d   g e t s   f o r w a r d e d   t o   t h e   r e m o t e   K u b e r n e t e s   A P I   s e r v e r   p o r t ,   e x c e p t   f o r   t h e   p a t h   m a t c h i n g   t h e   s t a t i c   c o n t e n t   p a t h .   k u b e c t l   p r o x y   [ - - p o r t = P O R T ]   [ - - w w w = s t a t i c - d i r ]   [ - - w w w - p r e f i x = p r e f i x ]   [ - - a p i - p r e f i x = p r e f i x ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_proxy/",
    "id": "k8s_00400_section_2_7688"
  },
  {
    "question": "What is Examples?",
    "answer": "#   T o   p r o x y   a l l   o f   t h e   K u b e r n e t e s   A P I   a n d   n o t h i n g   e l s e   k u b e c t l   p r o x y   - - a p i - p r e f i x = /   #   T o   p r o x y   o n l y   p a r t   o f   t h e   K u b e r n e t e s   A P I   a n d   a l s o   s o m e   s t a t i c   f i l e s   #   Y o u   c a n   g e t   p o d s   i n f o   w i t h   ' c u r l   l o c a l h o s t : 8 0 0 1 / a p i / v 1 / p o d s '   k u b e c t l   p r o x y   - - w w w = / m y / f i l e s   - - w w w - p r e f i x = / s t a t i c /   - - a p i - p r e f i x = / a p i /   #   T o   p r o x y   t h e   e n t i r e   K u b e r n e t e s   A P I   a t   a   d i f f e r e n t   r o o t   #   Y o u   c a n   g e t   p o d s   i n f o   w i t h   ' c u r l   l o c a l h o s t : 8 0 0 1 / c u s t o m / a p i / v 1 / p o d s '   k u b e c t l   p r o x y   - - a p i - p r e f i x = / c u s t o m /   #   R u n   a   p r o x y   t o   t h e   K u b e r n e t e s   A P I   s e r v e r   o n   p o r t   8 0 1 1 ,   s e r v i n g   s t a t i c   c o n t e n t   f r o m   . / l o c a l / w w w /   k u b e c t l   p r o x y   - - p o r t = 8 0 1 1   - - w w w = . / l o c a l / w w w /   #   R u n   a   p r o x y   t o   t h e   K u b e r n e t e s   A P I   s e r v e r   o n   a n   a r b i t r a r y   l o c a l   p o r t   #   T h e   c h o s e n   p o r t   f o r   t h e   s e r v e r   w i l l   b e   o u t p u t   t o   s t d o u t   k u b e c t l   p r o x y   - - p o r t = 0   #   R u n   a   p r o x y   t o   t h e   K u b e r n e t e s   A P I   s e r v e r ,   c h a n g i n g   t h e   A P I   p r e f i x   t o   k 8 s - a p i   #   T h i s   m a k e s   e . g .   t h e   p o d s   A P I   a v a i l a b l e   a t   l o c a l h o s t : 8 0 0 1 / k 8 s - a p i / v 1 / p o d s /   k u b e c t l   p r o x y   - - a p i - p r e f i x = / k 8 s - a p i",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_proxy/",
    "id": "k8s_00400_section_2_7689"
  },
  {
    "question": "What is Options?",
    "answer": "R e g u l a r   e x p r e s s i o n   f o r   h o s t s   t h a t   t h e   p r o x y   s h o u l d   a c c e p t .   R e g u l a r   e x p r e s s i o n   f o r   p a t h s   t h a t   t h e   p r o x y   s h o u l d   a c c e p t .   T h e   I P   a d d r e s s   o n   w h i c h   t o   s e r v e   o n .   P r e f i x   t o   s e r v e   t h e   p r o x i e d   A P I   u n d e r .   I f   t r u e ,   e n a b l e s   a u t o m a t i c   p a t h   a p p e n d i n g   o f   t h e   k u b e   c o n t e x t   s e r v e r   p a t h   t o   e a c h   r e q u e s t .   I f   t r u e ,   d i s a b l e   r e q u e s t   f i l t e r i n g   i n   t h e   p r o x y .   T h i s   i s   d a n g e r o u s ,   a n d   c a n   l e a v e   y o u   v u l n e r a b l e   t o   X S R F   a t t a c k s ,   w h e n   u s e d   w i t h   a n   a c c e s s i b l e   p o r t .   h e l p   f o r   p r o x y   k e e p a l i v e   s p e c i f i e s   t h e   k e e p - a l i v e   p e r i o d   f o r   a n   a c t i v e   n e t w o r k   c o n n e c t i o n .   S e t   t o   0   t o   d i s a b l e   k e e p a l i v e .   T h e   p o r t   o n   w h i c h   t o   r u n   t h e   p r o x y .   S e t   t o   0   t o   p i c k   a   r a n d o m   p o r t .   R e g u l a r   e x p r e s s i o n   f o r   H T T P   m e t h o d s   t h a t   t h e   p r o x y   s h o u l d   r e j e c t   ( e x a m p l e   - - r e j e c t - m e t h o d s = ' P O S T , P U T , P A T C H ' ) .   R e g u l a r   e x p r e s s i o n   f o r   p a t h s   t h a t   t h e   p r o x y   s h o u l d   r e j e c t .   P a t h s   s p e c i f i e d   h e r e   w i l l   b e   r e j e c t e d   e v e n   a c c e p t e d   b y   - - a c c e p t - p a t h s .   U n i x   s o c k e t   o n   w h i c h   t o   r u n   t h e   p r o x y .   A l s o   s e r v e   s t a t i c   f i l e s   f r o m   t h e   g i v e n   d i r e c t o r y   u n d e r   t h e   s p e c i f i e d   p r e f i x .   P r e f i x   t o   s e r v e   s t a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_proxy/",
    "id": "k8s_00400_section_2_7690"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_proxy/",
    "id": "k8s_00400_section_2_7691"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_proxy/",
    "id": "k8s_00400_section_2_7692"
  },
  {
    "question": "What is kubeadm kubeconfig?",
    "answer": "kubeadm kubeconfigkubeadm kubeconfig provides utilities for managing kubeconfig files.For examples on how to use kubeadm kubeconfig user see Generating kubeconfig files for additional users.kubeadm kubeconfigSynopsisKubeconfig file utilities.Options-h, --helphelp for kubeconfigOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm kubeconfig userThis command can be used to output a kubeconfig file for an additional user.SynopsisOutput a kubeconfig file for an additional user.kubeadm kubeconfig user [flags] Examples # Output a kubeconfig file for an additional user named foo kubeadm kubeconfig user --client-name=foo # Output a kubeconfig file for an additional user named foo using a kubeadm config file bar kubeadm kubeconfig user --client-name=foo --config=bar Options--client-name stringThe name of user. It will be used as the CN if client certificates are created--config stringPath to a kubeadm configuration file.-h, --helphelp for user--org stringsThe organizations of the client certificate. It will be used as the O if client certificates are created--token stringThe token that should be used as the authentication mechanism for this kubeconfig, instead of client certificates--validity-period duration Default: 8760h0m0sThe validity period of the client certificate. It is an offset from the current time.Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-kubeconfig/",
    "id": "k8s_00401_qa_7693"
  },
  {
    "question": "How does kubeadm kubeconfig work?",
    "answer": "kubeadm kubeconfigkubeadm kubeconfig provides utilities for managing kubeconfig files.For examples on how to use kubeadm kubeconfig user see Generating kubeconfig files for additional users.kubeadm kubeconfigSynopsisKubeconfig file utilities.Options-h, --helphelp for kubeconfigOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm kubeconfig userThis command can be used to output a kubeconfig file for an additional user.SynopsisOutput a kubeconfig file for an additional user.kubeadm kubeconfig user [flags] Examples # Output a kubeconfig file for an additional user named foo kubeadm kubeconfig user --client-name=foo # Output a kubeconfig file for an additional user named foo using a kubeadm config file bar kubeadm kubeconfig user --client-name=foo --config=bar Options--client-name stringThe name of user. It will be used as the CN if client certificates are created--config stringPath to a kubeadm configuration file.-h, --helphelp for user--org stringsThe organizations of the client certificate. It will be used as the O if client certificates are created--token stringThe token that should be used as the authentication mechanism for this kubeconfig, instead of client certificates--validity-period duration Default: 8760h0m0sThe validity period of the client certificate. It is an offset from the current time.Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-kubeconfig/",
    "id": "k8s_00401_qa_7694"
  },
  {
    "question": "When would you use kubeadm kubeconfig?",
    "answer": "kubeadm kubeconfigkubeadm kubeconfig provides utilities for managing kubeconfig files.For examples on how to use kubeadm kubeconfig user see Generating kubeconfig files for additional users.kubeadm kubeconfigSynopsisKubeconfig file utilities.Options-h, --helphelp for kubeconfigOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm kubeconfig userThis command can be used to output a kubeconfig file for an additional user.SynopsisOutput a kubeconfig file for an additional user.kubeadm kubeconfig user [flags] Examples # Output a kubeconfig file for an additional user named foo kubeadm kubeconfig user --client-name=foo # Output a kubeconfig file for an additional user named foo using a kubeadm config file bar kubeadm kubeconfig user --client-name=foo --config=bar Options--client-name stringThe name of user. It will be used as the CN if client certificates are created--config stringPath to a kubeadm configuration file.-h, --helphelp for user--org stringsThe organizations of the client certificate. It will be used as the O if client certificates are created--token stringThe token that should be used as the authentication mechanism for this kubeconfig, instead of client certificates--validity-period duration Default: 8760h0m0sThe validity period of the client certificate. It is an offset from the current time.Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-kubeconfig/",
    "id": "k8s_00401_qa_7695"
  },
  {
    "question": "What are the benefits of kubeadm kubeconfig?",
    "answer": "kubeadm kubeconfigkubeadm kubeconfig provides utilities for managing kubeconfig files.For examples on how to use kubeadm kubeconfig user see Generating kubeconfig files for additional users.kubeadm kubeconfigSynopsisKubeconfig file utilities.Options-h, --helphelp for kubeconfigOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm kubeconfig userThis command can be used to output a kubeconfig file for an additional user.SynopsisOutput a kubeconfig file for an additional user.kubeadm kubeconfig user [flags] Examples # Output a kubeconfig file for an additional user named foo kubeadm kubeconfig user --client-name=foo # Output a kubeconfig file for an additional user named foo using a kubeadm config file bar kubeadm kubeconfig user --client-name=foo --config=bar Options--client-name stringThe name of user. It will be used as the CN if client certificates are created--config stringPath to a kubeadm configuration file.-h, --helphelp for user--org stringsThe organizations of the client certificate. It will be used as the O if client certificates are created--token stringThe token that should be used as the authentication mechanism for this kubeconfig, instead of client certificates--validity-period duration Default: 8760h0m0sThe validity period of the client certificate. It is an offset from the current time.Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-kubeconfig/",
    "id": "k8s_00401_qa_7696"
  },
  {
    "question": "What is kubeadm kubeconfig?",
    "answer": "k u b e a d m   k u b e c o n f i g   p r o v i d e s   u t i l i t i e s   f o r   m a n a g i n g   k u b e c o n f i g   f i l e s .   F o r   e x a m p l e s   o n   h o w   t o   u s e   k u b e a d m   k u b e c o n f i g   u s e r   s e e   G e n e r a t i n g   k u b e c o n f i g   f i l e s   f o r   a d d i t i o n a l   u s e r s .",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-kubeconfig/",
    "id": "k8s_00401_section_1_7697"
  },
  {
    "question": "What is kubeadm kubeconfig?",
    "answer": "S y n o p s i s K u b e c o n f i g   f i l e   u t i l i t i e s . O p t i o n s - h ,   - - h e l p h e l p   f o r   k u b e c o n f i g O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-kubeconfig/",
    "id": "k8s_00401_section_2_7698"
  },
  {
    "question": "What is Synopsis?",
    "answer": "K u b e c o n f i g   f i l e   u t i l i t i e s .",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-kubeconfig/",
    "id": "k8s_00401_section_3_7699"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   k u b e c o n f i g",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-kubeconfig/",
    "id": "k8s_00401_section_3_7700"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-kubeconfig/",
    "id": "k8s_00401_section_3_7701"
  },
  {
    "question": "What is kubeadm kubeconfig user?",
    "answer": "T h i s   c o m m a n d   c a n   b e   u s e d   t o   o u t p u t   a   k u b e c o n f i g   f i l e   f o r   a n   a d d i t i o n a l   u s e r .   S y n o p s i s O u t p u t   a   k u b e c o n f i g   f i l e   f o r   a n   a d d i t i o n a l   u s e r . k u b e a d m   k u b e c o n f i g   u s e r   [ f l a g s ]   E x a m p l e s   #   O u t p u t   a   k u b e c o n f i g   f i l e   f o r   a n   a d d i t i o n a l   u s e r   n a m e d   f o o   k u b e a d m   k u b e c o n f i g   u s e r   - - c l i e n t - n a m e = f o o   #   O u t p u t   a   k u b e c o n f i g   f i l e   f o r   a n   a d d i t i o n a l   u s e r   n a m e d   f o o   u s i n g   a   k u b e a d m   c o n f i g   f i l e   b a r   k u b e a d m   k u b e c o n f i g   u s e r   - - c l i e n t - n a m e = f o o   - - c o n f i g = b a r   O p t i o n s - - c l i e n t - n a m e   s t r i n g T h e   n a m e   o f   u s e r .   I t   w i l l   b e   u s e d   a s   t h e   C N   i f   c l i e n t   c e r t i f i c a t e s   a r e   c r e a t e d - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l p h e l p   f o r   u s e r - - o r g   s t r i n g s T h e   o r g a n i z a t i o n s   o f   t h e   c l i e n t   c e r t i f i c a t e .   I t   w i l l   b e   u s e d   a s   t h e   O   i f   c l i e n t   c e r t i f i c a t e s   a r e   c r e a t e d - - t o k e n   s t r i n g T h e   t o k e n   t h a t   s h o u l d   b e   u s e d   a s   t h e   a u t h e n t i c a t i o n   m e c h a n i s m   f o r   t h i s   k u b e c o n f i g ,   i n s t e a d   o f   c l i e n t   c e r t i f i c a t e s - - v a l i d i t y - p e r i o d   d u r a t i o n   D e f a u l t :   8 7 6 0 h 0 m 0 s T h e   v a l i d i t y   p e r i o d   o f   t h e   c l i e n t   c e r t i f i c a t e .   I t   i s   a n   o f f s e t   f r o m   t h e   c u r r e n t   t i m e . O p t i o n s   i n h e r i t e d   f r o m   ",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-kubeconfig/",
    "id": "k8s_00401_section_2_7702"
  },
  {
    "question": "What is Synopsis?",
    "answer": "O u t p u t   a   k u b e c o n f i g   f i l e   f o r   a n   a d d i t i o n a l   u s e r .   k u b e a d m   k u b e c o n f i g   u s e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-kubeconfig/",
    "id": "k8s_00401_section_3_7703"
  },
  {
    "question": "What is Examples?",
    "answer": "#   O u t p u t   a   k u b e c o n f i g   f i l e   f o r   a n   a d d i t i o n a l   u s e r   n a m e d   f o o   k u b e a d m   k u b e c o n f i g   u s e r   - - c l i e n t - n a m e = f o o   #   O u t p u t   a   k u b e c o n f i g   f i l e   f o r   a n   a d d i t i o n a l   u s e r   n a m e d   f o o   u s i n g   a   k u b e a d m   c o n f i g   f i l e   b a r   k u b e a d m   k u b e c o n f i g   u s e r   - - c l i e n t - n a m e = f o o   - - c o n f i g = b a r",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-kubeconfig/",
    "id": "k8s_00401_section_3_7704"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   n a m e   o f   u s e r .   I t   w i l l   b e   u s e d   a s   t h e   C N   i f   c l i e n t   c e r t i f i c a t e s   a r e   c r e a t e d   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   u s e r   T h e   o r g a n i z a t i o n s   o f   t h e   c l i e n t   c e r t i f i c a t e .   I t   w i l l   b e   u s e d   a s   t h e   O   i f   c l i e n t   c e r t i f i c a t e s   a r e   c r e a t e d   T h e   t o k e n   t h a t   s h o u l d   b e   u s e d   a s   t h e   a u t h e n t i c a t i o n   m e c h a n i s m   f o r   t h i s   k u b e c o n f i g ,   i n s t e a d   o f   c l i e n t   c e r t i f i c a t e s   T h e   v a l i d i t y   p e r i o d   o f   t h e   c l i e n t   c e r t i f i c a t e .   I t   i s   a n   o f f s e t   f r o m   t h e   c u r r e n t   t i m e .",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-kubeconfig/",
    "id": "k8s_00401_section_3_7705"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-kubeconfig/",
    "id": "k8s_00401_section_3_7706"
  },
  {
    "question": "What is kubectl edit?",
    "answer": "kubectl editSynopsisEdit a resource from the default editor.The edit command allows you to directly edit any API resource you can retrieve via the command-line tools. It will open the editor defined by your KUBE_EDITOR, or EDITOR environment variables, or fall back to 'vi' for Linux or 'notepad' for Windows. When attempting to open the editor, it will first attempt to use the shell that has been defined in the 'SHELL' environment variable. If this is not defined, the default shell will be used, which is '/bin/bash' for Linux or 'cmd' for Windows.You can edit multiple objects, although changes are applied one at a time. The command accepts file names as well as command-line arguments, although the files you point to must be previously saved versions of resources.Editing is done with the API version used to fetch the resource. To edit using a specific API version, fully-qualify the resource, version, and group.The default format is YAML. To edit in JSON, specify \"-o json\".The flag --windows-line-endings can be used to force Windows line endings, otherwise the default for your operating system will be used.In the event an error occurs while updating, a temporary file will be created on disk that contains your unapplied changes. The most common error when updating a resource is another editor changing the resource on the server. When this occurs, you will have to apply your changes to the newer version of the resource, or update your temporary saved copy to include the latest resource version.kubectl edit (RESOURCE/NAME | -f FILENAME) Examples # Edit the service named 'registry' kubectl edit svc/registry # Use an alternative editor KUBE_EDITOR=\"nano\" kubectl edit svc/registry # Edit the job 'myjob' in JSON using the v1 API format kubectl edit job.v1.batch/myjob -o json # Edit the deployment 'mydeployment' in YAML and save the modified config in its annotation kubectl edit deployment/mydeployment -o yaml --save-config # Edit the 'status' subresource for the 'mydeployment' deployment kubectl edit deployment mydeployment --subresource='status' Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--field-manager string Default: \"kubectl-edit\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files to use to edit the resource-h, --helphelp for edit-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--output-patchOutput the patch if the resource is edited.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--save-configIf true, the configuration of curren",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_edit/",
    "id": "k8s_00402_qa_7707"
  },
  {
    "question": "How does kubectl edit work?",
    "answer": "kubectl editSynopsisEdit a resource from the default editor.The edit command allows you to directly edit any API resource you can retrieve via the command-line tools. It will open the editor defined by your KUBE_EDITOR, or EDITOR environment variables, or fall back to 'vi' for Linux or 'notepad' for Windows. When attempting to open the editor, it will first attempt to use the shell that has been defined in the 'SHELL' environment variable. If this is not defined, the default shell will be used, which is '/bin/bash' for Linux or 'cmd' for Windows.You can edit multiple objects, although changes are applied one at a time. The command accepts file names as well as command-line arguments, although the files you point to must be previously saved versions of resources.Editing is done with the API version used to fetch the resource. To edit using a specific API version, fully-qualify the resource, version, and group.The default format is YAML. To edit in JSON, specify \"-o json\".The flag --windows-line-endings can be used to force Windows line endings, otherwise the default for your operating system will be used.In the event an error occurs while updating, a temporary file will be created on disk that contains your unapplied changes. The most common error when updating a resource is another editor changing the resource on the server. When this occurs, you will have to apply your changes to the newer version of the resource, or update your temporary saved copy to include the latest resource version.kubectl edit (RESOURCE/NAME | -f FILENAME) Examples # Edit the service named 'registry' kubectl edit svc/registry # Use an alternative editor KUBE_EDITOR=\"nano\" kubectl edit svc/registry # Edit the job 'myjob' in JSON using the v1 API format kubectl edit job.v1.batch/myjob -o json # Edit the deployment 'mydeployment' in YAML and save the modified config in its annotation kubectl edit deployment/mydeployment -o yaml --save-config # Edit the 'status' subresource for the 'mydeployment' deployment kubectl edit deployment mydeployment --subresource='status' Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--field-manager string Default: \"kubectl-edit\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files to use to edit the resource-h, --helphelp for edit-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--output-patchOutput the patch if the resource is edited.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--save-configIf true, the configuration of curren",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_edit/",
    "id": "k8s_00402_qa_7708"
  },
  {
    "question": "When would you use kubectl edit?",
    "answer": "kubectl editSynopsisEdit a resource from the default editor.The edit command allows you to directly edit any API resource you can retrieve via the command-line tools. It will open the editor defined by your KUBE_EDITOR, or EDITOR environment variables, or fall back to 'vi' for Linux or 'notepad' for Windows. When attempting to open the editor, it will first attempt to use the shell that has been defined in the 'SHELL' environment variable. If this is not defined, the default shell will be used, which is '/bin/bash' for Linux or 'cmd' for Windows.You can edit multiple objects, although changes are applied one at a time. The command accepts file names as well as command-line arguments, although the files you point to must be previously saved versions of resources.Editing is done with the API version used to fetch the resource. To edit using a specific API version, fully-qualify the resource, version, and group.The default format is YAML. To edit in JSON, specify \"-o json\".The flag --windows-line-endings can be used to force Windows line endings, otherwise the default for your operating system will be used.In the event an error occurs while updating, a temporary file will be created on disk that contains your unapplied changes. The most common error when updating a resource is another editor changing the resource on the server. When this occurs, you will have to apply your changes to the newer version of the resource, or update your temporary saved copy to include the latest resource version.kubectl edit (RESOURCE/NAME | -f FILENAME) Examples # Edit the service named 'registry' kubectl edit svc/registry # Use an alternative editor KUBE_EDITOR=\"nano\" kubectl edit svc/registry # Edit the job 'myjob' in JSON using the v1 API format kubectl edit job.v1.batch/myjob -o json # Edit the deployment 'mydeployment' in YAML and save the modified config in its annotation kubectl edit deployment/mydeployment -o yaml --save-config # Edit the 'status' subresource for the 'mydeployment' deployment kubectl edit deployment mydeployment --subresource='status' Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--field-manager string Default: \"kubectl-edit\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files to use to edit the resource-h, --helphelp for edit-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--output-patchOutput the patch if the resource is edited.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--save-configIf true, the configuration of curren",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_edit/",
    "id": "k8s_00402_qa_7709"
  },
  {
    "question": "What are the benefits of kubectl edit?",
    "answer": "kubectl editSynopsisEdit a resource from the default editor.The edit command allows you to directly edit any API resource you can retrieve via the command-line tools. It will open the editor defined by your KUBE_EDITOR, or EDITOR environment variables, or fall back to 'vi' for Linux or 'notepad' for Windows. When attempting to open the editor, it will first attempt to use the shell that has been defined in the 'SHELL' environment variable. If this is not defined, the default shell will be used, which is '/bin/bash' for Linux or 'cmd' for Windows.You can edit multiple objects, although changes are applied one at a time. The command accepts file names as well as command-line arguments, although the files you point to must be previously saved versions of resources.Editing is done with the API version used to fetch the resource. To edit using a specific API version, fully-qualify the resource, version, and group.The default format is YAML. To edit in JSON, specify \"-o json\".The flag --windows-line-endings can be used to force Windows line endings, otherwise the default for your operating system will be used.In the event an error occurs while updating, a temporary file will be created on disk that contains your unapplied changes. The most common error when updating a resource is another editor changing the resource on the server. When this occurs, you will have to apply your changes to the newer version of the resource, or update your temporary saved copy to include the latest resource version.kubectl edit (RESOURCE/NAME | -f FILENAME) Examples # Edit the service named 'registry' kubectl edit svc/registry # Use an alternative editor KUBE_EDITOR=\"nano\" kubectl edit svc/registry # Edit the job 'myjob' in JSON using the v1 API format kubectl edit job.v1.batch/myjob -o json # Edit the deployment 'mydeployment' in YAML and save the modified config in its annotation kubectl edit deployment/mydeployment -o yaml --save-config # Edit the 'status' subresource for the 'mydeployment' deployment kubectl edit deployment mydeployment --subresource='status' Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--field-manager string Default: \"kubectl-edit\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files to use to edit the resource-h, --helphelp for edit-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--output-patchOutput the patch if the resource is edited.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--save-configIf true, the configuration of curren",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_edit/",
    "id": "k8s_00402_qa_7710"
  },
  {
    "question": "What is Synopsis?",
    "answer": "E d i t   a   r e s o u r c e   f r o m   t h e   d e f a u l t   e d i t o r .   T h e   e d i t   c o m m a n d   a l l o w s   y o u   t o   d i r e c t l y   e d i t   a n y   A P I   r e s o u r c e   y o u   c a n   r e t r i e v e   v i a   t h e   c o m m a n d - l i n e   t o o l s .   I t   w i l l   o p e n   t h e   e d i t o r   d e f i n e d   b y   y o u r   K U B E _ E D I T O R ,   o r   E D I T O R   e n v i r o n m e n t   v a r i a b l e s ,   o r   f a l l   b a c k   t o   ' v i '   f o r   L i n u x   o r   ' n o t e p a d '   f o r   W i n d o w s .   W h e n   a t t e m p t i n g   t o   o p e n   t h e   e d i t o r ,   i t   w i l l   f i r s t   a t t e m p t   t o   u s e   t h e   s h e l l   t h a t   h a s   b e e n   d e f i n e d   i n   t h e   ' S H E L L '   e n v i r o n m e n t   v a r i a b l e .   I f   t h i s   i s   n o t   d e f i n e d ,   t h e   d e f a u l t   s h e l l   w i l l   b e   u s e d ,   w h i c h   i s   ' / b i n / b a s h '   f o r   L i n u x   o r   ' c m d '   f o r   W i n d o w s .   Y o u   c a n   e d i t   m u l t i p l e   o b j e c t s ,   a l t h o u g h   c h a n g e s   a r e   a p p l i e d   o n e   a t   a   t i m e .   T h e   c o m m a n d   a c c e p t s   f i l e   n a m e s   a s   w e l l   a s   c o m m a n d - l i n e   a r g u m e n t s ,   a l t h o u g h   t h e   f i l e s   y o u   p o i n t   t o   m u s t   b e   p r e v i o u s l y   s a v e d   v e r s i o n s   o f   r e s o u r c e s .   E d i t i n g   i s   d o n e   w i t h   t h e   A P I   v e r s i o n   u s e d   t o   f e t c h   t h e   r e s o u r c e .   T o   e d i t   u s i n g   a   s p e c i f i c   A P I   v e r s i o n ,   f u l l y - q u a l i f y   t h e   r e s o u r c e ,   v e r s i o n ,   a n d   g r o u p .   T h e   d e f a u l t   f o r m a t   i s   Y A M L .   T o   e d i t   i n   J S O N ,   s p e c i f y   \" - o   j s o n \" .   T h e   f l a g   - - w i n d o w s - l i n e - e n d i n g ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_edit/",
    "id": "k8s_00402_section_2_7711"
  },
  {
    "question": "What is Examples?",
    "answer": "#   E d i t   t h e   s e r v i c e   n a m e d   ' r e g i s t r y '   k u b e c t l   e d i t   s v c / r e g i s t r y   #   U s e   a n   a l t e r n a t i v e   e d i t o r   K U B E _ E D I T O R = \" n a n o \"   k u b e c t l   e d i t   s v c / r e g i s t r y   #   E d i t   t h e   j o b   ' m y j o b '   i n   J S O N   u s i n g   t h e   v 1   A P I   f o r m a t   k u b e c t l   e d i t   j o b . v 1 . b a t c h / m y j o b   - o   j s o n   #   E d i t   t h e   d e p l o y m e n t   ' m y d e p l o y m e n t '   i n   Y A M L   a n d   s a v e   t h e   m o d i f i e d   c o n f i g   i n   i t s   a n n o t a t i o n   k u b e c t l   e d i t   d e p l o y m e n t / m y d e p l o y m e n t   - o   y a m l   - - s a v e - c o n f i g   #   E d i t   t h e   ' s t a t u s '   s u b r e s o u r c e   f o r   t h e   ' m y d e p l o y m e n t '   d e p l o y m e n t   k u b e c t l   e d i t   d e p l o y m e n t   m y d e p l o y m e n t   - - s u b r e s o u r c e = ' s t a t u s '",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_edit/",
    "id": "k8s_00402_section_2_7712"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   t o   u s e   t o   e d i t   t h e   r e s o u r c e   h e l p   f o r   e d i t   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   O u t p u t   t h e   p a t c h   i f   t h e   r e s o u r c e   i s   e d i t e d .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   I f   s p e c i f i e d ,   e d i t   w i l ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_edit/",
    "id": "k8s_00402_section_2_7713"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_edit/",
    "id": "k8s_00402_section_2_7714"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_edit/",
    "id": "k8s_00402_section_2_7715"
  },
  {
    "question": "What is API-initiated Eviction?",
    "answer": "API-initiated EvictionAPI-initiated eviction is the process by which you use the Eviction API to create an Eviction object that triggers graceful pod termination.You can request eviction by calling the Eviction API directly, or programmatically using a client of the API server, like the kubectl drain command. This creates an Eviction object, which causes the API server to terminate the Pod.API-initiated evictions respect your configured PodDisruptionBudgets and terminationGracePeriodSeconds.Using the API to create an Eviction object for a Pod is like performing a policy-controlled DELETE operation on the Pod.Calling the Eviction APIYou can use a Kubernetes language client to access the Kubernetes API and create an Eviction object. To do this, you POST the attempted operation, similar to the following example:Note:policy/v1 Eviction is available in v1.22+. Use policy/v1beta1 with prior releases.{ \"apiVersion\": \"policy/v1\", \"kind\": \"Eviction\", \"metadata\": { \"name\": \"quux\", \"namespace\": \"default\" } } Note:Deprecated in v1.22 in favor of policy/v1{ \"apiVersion\": \"policy/v1beta1\", \"kind\": \"Eviction\", \"metadata\": { \"name\": \"quux\", \"namespace\": \"default\" } } Alternatively, you can attempt an eviction operation by accessing the API using curl or wget, similar to the following example:curl -v -H 'Content-type: application/json' https://your-cluster-api-endpoint.example/api/v1/namespaces/default/pods/quux/eviction -d @eviction.json How API-initiated eviction worksWhen you request an eviction using the API, the API server performs admission checks and responds in one of the following ways:200 OK: the eviction is allowed, the Eviction subresource is created, and the Pod is deleted, similar to sending a DELETE request to the Pod URL.429 Too Many Requests: the eviction is not currently allowed because of the configured PodDisruptionBudget. You may be able to attempt the eviction again later. You might also see this response because of API rate limiting.500 Internal Server Error: the eviction is not allowed because there is a misconfiguration, like if multiple PodDisruptionBudgets reference the same Pod.If the Pod you want to evict isn't part of a workload that has a PodDisruptionBudget, the API server always returns 200 OK and allows the eviction.If the API server allows the eviction, the Pod is deleted as follows:The Pod resource in the API server is updated with a deletion timestamp, after which the API server considers the Pod resource to be terminated. The Pod resource is also marked with the configured grace period.The kubelet on the node where the local Pod is running notices that the Pod resource is marked for termination and starts to gracefully shut down the local Pod.While the kubelet is shutting the Pod down, the control plane removes the Pod from EndpointSlice objects. As a result, controllers no longer consider the Pod as a valid object.After the grace period for the Pod expires, the kubelet forcefully terminates the local Pod.The kubelet tells th",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/api-eviction/",
    "id": "k8s_00403_qa_7716"
  },
  {
    "question": "How does API-initiated Eviction work?",
    "answer": "API-initiated EvictionAPI-initiated eviction is the process by which you use the Eviction API to create an Eviction object that triggers graceful pod termination.You can request eviction by calling the Eviction API directly, or programmatically using a client of the API server, like the kubectl drain command. This creates an Eviction object, which causes the API server to terminate the Pod.API-initiated evictions respect your configured PodDisruptionBudgets and terminationGracePeriodSeconds.Using the API to create an Eviction object for a Pod is like performing a policy-controlled DELETE operation on the Pod.Calling the Eviction APIYou can use a Kubernetes language client to access the Kubernetes API and create an Eviction object. To do this, you POST the attempted operation, similar to the following example:Note:policy/v1 Eviction is available in v1.22+. Use policy/v1beta1 with prior releases.{ \"apiVersion\": \"policy/v1\", \"kind\": \"Eviction\", \"metadata\": { \"name\": \"quux\", \"namespace\": \"default\" } } Note:Deprecated in v1.22 in favor of policy/v1{ \"apiVersion\": \"policy/v1beta1\", \"kind\": \"Eviction\", \"metadata\": { \"name\": \"quux\", \"namespace\": \"default\" } } Alternatively, you can attempt an eviction operation by accessing the API using curl or wget, similar to the following example:curl -v -H 'Content-type: application/json' https://your-cluster-api-endpoint.example/api/v1/namespaces/default/pods/quux/eviction -d @eviction.json How API-initiated eviction worksWhen you request an eviction using the API, the API server performs admission checks and responds in one of the following ways:200 OK: the eviction is allowed, the Eviction subresource is created, and the Pod is deleted, similar to sending a DELETE request to the Pod URL.429 Too Many Requests: the eviction is not currently allowed because of the configured PodDisruptionBudget. You may be able to attempt the eviction again later. You might also see this response because of API rate limiting.500 Internal Server Error: the eviction is not allowed because there is a misconfiguration, like if multiple PodDisruptionBudgets reference the same Pod.If the Pod you want to evict isn't part of a workload that has a PodDisruptionBudget, the API server always returns 200 OK and allows the eviction.If the API server allows the eviction, the Pod is deleted as follows:The Pod resource in the API server is updated with a deletion timestamp, after which the API server considers the Pod resource to be terminated. The Pod resource is also marked with the configured grace period.The kubelet on the node where the local Pod is running notices that the Pod resource is marked for termination and starts to gracefully shut down the local Pod.While the kubelet is shutting the Pod down, the control plane removes the Pod from EndpointSlice objects. As a result, controllers no longer consider the Pod as a valid object.After the grace period for the Pod expires, the kubelet forcefully terminates the local Pod.The kubelet tells th",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/api-eviction/",
    "id": "k8s_00403_qa_7717"
  },
  {
    "question": "When would you use API-initiated Eviction?",
    "answer": "API-initiated EvictionAPI-initiated eviction is the process by which you use the Eviction API to create an Eviction object that triggers graceful pod termination.You can request eviction by calling the Eviction API directly, or programmatically using a client of the API server, like the kubectl drain command. This creates an Eviction object, which causes the API server to terminate the Pod.API-initiated evictions respect your configured PodDisruptionBudgets and terminationGracePeriodSeconds.Using the API to create an Eviction object for a Pod is like performing a policy-controlled DELETE operation on the Pod.Calling the Eviction APIYou can use a Kubernetes language client to access the Kubernetes API and create an Eviction object. To do this, you POST the attempted operation, similar to the following example:Note:policy/v1 Eviction is available in v1.22+. Use policy/v1beta1 with prior releases.{ \"apiVersion\": \"policy/v1\", \"kind\": \"Eviction\", \"metadata\": { \"name\": \"quux\", \"namespace\": \"default\" } } Note:Deprecated in v1.22 in favor of policy/v1{ \"apiVersion\": \"policy/v1beta1\", \"kind\": \"Eviction\", \"metadata\": { \"name\": \"quux\", \"namespace\": \"default\" } } Alternatively, you can attempt an eviction operation by accessing the API using curl or wget, similar to the following example:curl -v -H 'Content-type: application/json' https://your-cluster-api-endpoint.example/api/v1/namespaces/default/pods/quux/eviction -d @eviction.json How API-initiated eviction worksWhen you request an eviction using the API, the API server performs admission checks and responds in one of the following ways:200 OK: the eviction is allowed, the Eviction subresource is created, and the Pod is deleted, similar to sending a DELETE request to the Pod URL.429 Too Many Requests: the eviction is not currently allowed because of the configured PodDisruptionBudget. You may be able to attempt the eviction again later. You might also see this response because of API rate limiting.500 Internal Server Error: the eviction is not allowed because there is a misconfiguration, like if multiple PodDisruptionBudgets reference the same Pod.If the Pod you want to evict isn't part of a workload that has a PodDisruptionBudget, the API server always returns 200 OK and allows the eviction.If the API server allows the eviction, the Pod is deleted as follows:The Pod resource in the API server is updated with a deletion timestamp, after which the API server considers the Pod resource to be terminated. The Pod resource is also marked with the configured grace period.The kubelet on the node where the local Pod is running notices that the Pod resource is marked for termination and starts to gracefully shut down the local Pod.While the kubelet is shutting the Pod down, the control plane removes the Pod from EndpointSlice objects. As a result, controllers no longer consider the Pod as a valid object.After the grace period for the Pod expires, the kubelet forcefully terminates the local Pod.The kubelet tells th",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/api-eviction/",
    "id": "k8s_00403_qa_7718"
  },
  {
    "question": "What are the benefits of API-initiated Eviction?",
    "answer": "API-initiated EvictionAPI-initiated eviction is the process by which you use the Eviction API to create an Eviction object that triggers graceful pod termination.You can request eviction by calling the Eviction API directly, or programmatically using a client of the API server, like the kubectl drain command. This creates an Eviction object, which causes the API server to terminate the Pod.API-initiated evictions respect your configured PodDisruptionBudgets and terminationGracePeriodSeconds.Using the API to create an Eviction object for a Pod is like performing a policy-controlled DELETE operation on the Pod.Calling the Eviction APIYou can use a Kubernetes language client to access the Kubernetes API and create an Eviction object. To do this, you POST the attempted operation, similar to the following example:Note:policy/v1 Eviction is available in v1.22+. Use policy/v1beta1 with prior releases.{ \"apiVersion\": \"policy/v1\", \"kind\": \"Eviction\", \"metadata\": { \"name\": \"quux\", \"namespace\": \"default\" } } Note:Deprecated in v1.22 in favor of policy/v1{ \"apiVersion\": \"policy/v1beta1\", \"kind\": \"Eviction\", \"metadata\": { \"name\": \"quux\", \"namespace\": \"default\" } } Alternatively, you can attempt an eviction operation by accessing the API using curl or wget, similar to the following example:curl -v -H 'Content-type: application/json' https://your-cluster-api-endpoint.example/api/v1/namespaces/default/pods/quux/eviction -d @eviction.json How API-initiated eviction worksWhen you request an eviction using the API, the API server performs admission checks and responds in one of the following ways:200 OK: the eviction is allowed, the Eviction subresource is created, and the Pod is deleted, similar to sending a DELETE request to the Pod URL.429 Too Many Requests: the eviction is not currently allowed because of the configured PodDisruptionBudget. You may be able to attempt the eviction again later. You might also see this response because of API rate limiting.500 Internal Server Error: the eviction is not allowed because there is a misconfiguration, like if multiple PodDisruptionBudgets reference the same Pod.If the Pod you want to evict isn't part of a workload that has a PodDisruptionBudget, the API server always returns 200 OK and allows the eviction.If the API server allows the eviction, the Pod is deleted as follows:The Pod resource in the API server is updated with a deletion timestamp, after which the API server considers the Pod resource to be terminated. The Pod resource is also marked with the configured grace period.The kubelet on the node where the local Pod is running notices that the Pod resource is marked for termination and starts to gracefully shut down the local Pod.While the kubelet is shutting the Pod down, the control plane removes the Pod from EndpointSlice objects. As a result, controllers no longer consider the Pod as a valid object.After the grace period for the Pod expires, the kubelet forcefully terminates the local Pod.The kubelet tells th",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/api-eviction/",
    "id": "k8s_00403_qa_7719"
  },
  {
    "question": "What is API-initiated Eviction?",
    "answer": "A P I - i n i t i a t e d   e v i c t i o n   i s   t h e   p r o c e s s   b y   w h i c h   y o u   u s e   t h e   E v i c t i o n   A P I   t o   c r e a t e   a n   E v i c t i o n   o b j e c t   t h a t   t r i g g e r s   g r a c e f u l   p o d   t e r m i n a t i o n .   Y o u   c a n   r e q u e s t   e v i c t i o n   b y   c a l l i n g   t h e   E v i c t i o n   A P I   d i r e c t l y ,   o r   p r o g r a m m a t i c a l l y   u s i n g   a   c l i e n t   o f   t h e   A P I   s e r v e r ,   l i k e   t h e   k u b e c t l   d r a i n   c o m m a n d .   T h i s   c r e a t e s   a n   E v i c t i o n   o b j e c t ,   w h i c h   c a u s e s   t h e   A P I   s e r v e r   t o   t e r m i n a t e   t h e   P o d .   A P I - i n i t i a t e d   e v i c t i o n s   r e s p e c t   y o u r   c o n f i g u r e d   P o d D i s r u p t i o n B u d g e t s   a n d   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s .   U s i n g   t h e   A P I   t o   c r e a t e   a n   E v i c t i o n   o b j e c t   f o r   a   P o d   i s   l i k e   p e r f o r m i n g   a   p o l i c y - c o n t r o l l e d   D E L E T E   o p e r a t i o n   o n   t h e   P o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/api-eviction/",
    "id": "k8s_00403_section_1_7720"
  },
  {
    "question": "What is Calling the Eviction API?",
    "answer": "Y o u   c a n   u s e   a   K u b e r n e t e s   l a n g u a g e   c l i e n t   t o   a c c e s s   t h e   K u b e r n e t e s   A P I   a n d   c r e a t e   a n   E v i c t i o n   o b j e c t .   T o   d o   t h i s ,   y o u   P O S T   t h e   a t t e m p t e d   o p e r a t i o n ,   s i m i l a r   t o   t h e   f o l l o w i n g   e x a m p l e :   N o t e : p o l i c y / v 1   E v i c t i o n   i s   a v a i l a b l e   i n   v 1 . 2 2 + .   U s e   p o l i c y / v 1 b e t a 1   w i t h   p r i o r   r e l e a s e s . {   \" a p i V e r s i o n \" :   \" p o l i c y / v 1 \" ,   \" k i n d \" :   \" E v i c t i o n \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" q u u x \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \"   }   }",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/api-eviction/",
    "id": "k8s_00403_section_2_7721"
  },
  {
    "question": "What is Note:?",
    "answer": "{   \" a p i V e r s i o n \" :   \" p o l i c y / v 1 \" ,   \" k i n d \" :   \" E v i c t i o n \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" q u u x \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \"   }   }   N o t e : D e p r e c a t e d   i n   v 1 . 2 2   i n   f a v o r   o f   p o l i c y / v 1 {   \" a p i V e r s i o n \" :   \" p o l i c y / v 1 b e t a 1 \" ,   \" k i n d \" :   \" E v i c t i o n \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" q u u x \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \"   }   }",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/api-eviction/",
    "id": "k8s_00403_section_4_7722"
  },
  {
    "question": "What is Note:?",
    "answer": "{   \" a p i V e r s i o n \" :   \" p o l i c y / v 1 b e t a 1 \" ,   \" k i n d \" :   \" E v i c t i o n \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" q u u x \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \"   }   }   A l t e r n a t i v e l y ,   y o u   c a n   a t t e m p t   a n   e v i c t i o n   o p e r a t i o n   b y   a c c e s s i n g   t h e   A P I   u s i n g   c u r l   o r   w g e t ,   s i m i l a r   t o   t h e   f o l l o w i n g   e x a m p l e :   c u r l   - v   - H   ' C o n t e n t - t y p e :   a p p l i c a t i o n / j s o n '   h t t p s : / / y o u r - c l u s t e r - a p i - e n d p o i n t . e x a m p l e / a p i / v 1 / n a m e s p a c e s / d e f a u l t / p o d s / q u u x / e v i c t i o n   - d   @ e v i c t i o n . j s o n",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/api-eviction/",
    "id": "k8s_00403_section_4_7723"
  },
  {
    "question": "What is How API-initiated eviction works?",
    "answer": "W h e n   y o u   r e q u e s t   a n   e v i c t i o n   u s i n g   t h e   A P I ,   t h e   A P I   s e r v e r   p e r f o r m s   a d m i s s i o n   c h e c k s   a n d   r e s p o n d s   i n   o n e   o f   t h e   f o l l o w i n g   w a y s :   2 0 0   O K :   t h e   e v i c t i o n   i s   a l l o w e d ,   t h e   E v i c t i o n   s u b r e s o u r c e   i s   c r e a t e d ,   a n d   t h e   P o d   i s   d e l e t e d ,   s i m i l a r   t o   s e n d i n g   a   D E L E T E   r e q u e s t   t o   t h e   P o d   U R L . 4 2 9   T o o   M a n y   R e q u e s t s :   t h e   e v i c t i o n   i s   n o t   c u r r e n t l y   a l l o w e d   b e c a u s e   o f   t h e   c o n f i g u r e d   P o d D i s r u p t i o n B u d g e t .   Y o u   m a y   b e   a b l e   t o   a t t e m p t   t h e   e v i c t i o n   a g a i n   l a t e r .   Y o u   m i g h t   a l s o   s e e   t h i s   r e s p o n s e   b e c a u s e   o f   A P I   r a t e   l i m i t i n g . 5 0 0   I n t e r n a l   S e r v e r   E r r o r :   t h e   e v i c t i o n   i s   n o t   a l l o w e d   b e c a u s e   t h e r e   i s   a   m i s c o n f i g u r a t i o n ,   l i k e   i f   m u l t i p l e   P o d D i s r u p t i o n B u d g e t s   r e f e r e n c e   t h e   s a m e   P o d .   I f   t h e   P o d   y o u   w a n t   t o   e v i c t   i s n ' t   p a r t   o f   a   w o r k l o a d   t h a t   h a s   a   P o d D i s r u p t i o n B u d g e t ,   t h e   A P I   s e r v e r   a l w a y s   r e t u r n s   2 0 0   O K   a n d   a l l o w s   t h e   e v i c t i o n .   I f   t h e   A P I   s e r v e r   a l l o w s   t h e   e v i c t i o n ,   t h e   P o d   i s   d e l e t e d   a s   f o l l o w s :   T h e   P o d   r e s o u r c e   i n   t h e   A P I   s e r v e r   i s   u p d a t e d   w i t h   a   d e l e t i o n   t i m e s t a m p ,   a f t e r   w h i c h   t h e   A P I   s e r v e r   c o n s i d e r s   t h e   P o d   r e s o u r c e   t o   b e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/api-eviction/",
    "id": "k8s_00403_section_2_7724"
  },
  {
    "question": "What is Troubleshooting stuck evictions?",
    "answer": "I n   s o m e   c a s e s ,   y o u r   a p p l i c a t i o n s   m a y   e n t e r   a   b r o k e n   s t a t e ,   w h e r e   t h e   E v i c t i o n   A P I   w i l l   o n l y   r e t u r n   4 2 9   o r   5 0 0   r e s p o n s e s   u n t i l   y o u   i n t e r v e n e .   T h i s   c a n   h a p p e n   i f ,   f o r   e x a m p l e ,   a   R e p l i c a S e t   c r e a t e s   p o d s   f o r   y o u r   a p p l i c a t i o n   b u t   n e w   p o d s   d o   n o t   e n t e r   a   R e a d y   s t a t e .   Y o u   m a y   a l s o   n o t i c e   t h i s   b e h a v i o r   i n   c a s e s   w h e r e   t h e   l a s t   e v i c t e d   P o d   h a d   a   l o n g   t e r m i n a t i o n   g r a c e   p e r i o d .   I f   y o u   n o t i c e   s t u c k   e v i c t i o n s ,   t r y   o n e   o f   t h e   f o l l o w i n g   s o l u t i o n s :   A b o r t   o r   p a u s e   t h e   a u t o m a t e d   o p e r a t i o n   c a u s i n g   t h e   i s s u e .   I n v e s t i g a t e   t h e   s t u c k   a p p l i c a t i o n   b e f o r e   y o u   r e s t a r t   t h e   o p e r a t i o n . W a i t   a   w h i l e ,   t h e n   d i r e c t l y   d e l e t e   t h e   P o d   f r o m   y o u r   c l u s t e r   c o n t r o l   p l a n e   i n s t e a d   o f   u s i n g   t h e   E v i c t i o n   A P I .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/api-eviction/",
    "id": "k8s_00403_section_2_7725"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   p r o t e c t   y o u r   a p p l i c a t i o n s   w i t h   a   P o d   D i s r u p t i o n   B u d g e t . L e a r n   a b o u t   N o d e - p r e s s u r e   E v i c t i o n . L e a r n   a b o u t   P o d   P r i o r i t y   a n d   P r e e m p t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/api-eviction/",
    "id": "k8s_00403_section_2_7726"
  },
  {
    "question": "What is Connect a Frontend to a Backend Using Services?",
    "answer": "Connect a Frontend to a Backend Using ServicesThis task shows how to create a frontend and a backend microservice. The backend microservice is a hello greeter. The frontend exposes the backend using nginx and a Kubernetes Service object.ObjectivesCreate and run a sample hello backend microservice using a Deployment object.Use a Service object to send traffic to the backend microservice's multiple replicas.Create and run a nginx frontend microservice, also using a Deployment object.Configure the frontend microservice to send traffic to the backend microservice.Use a Service object of type=LoadBalancer to expose the frontend microservice outside the cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.This task uses Services with external load balancers, which require a supported environment. If your environment does not support this, you can use a Service of type NodePort instead.Creating the backend using a DeploymentThe backend is a simple hello greeter microservice. Here is the configuration file for the backend Deployment:service/access/backend-deployment.yaml --- apiVersion: apps/v1 kind: Deployment metadata: name: backend spec: selector: matchLabels: app: hello tier: backend track: stable replicas: 3 template: metadata: labels: app: hello tier: backend track: stable spec: containers: - name: hello image: \"gcr.io/google-samples/hello-go-gke:1.0\" ports: - name: http containerPort: 80 ...Create the backend Deployment:kubectl apply -f https://k8s.io/examples/service/access/backend-deployment.yaml View information about the backend Deployment:kubectl describe deployment backend The output is similar to this:Name: backend Namespace: default CreationTimestamp: Mon, 24 Oct 2016 14:21:02 -0700 Labels: app=hello tier=backend track=stable Annotations: deployment.kubernetes.io/revision=1 Selector: app=hello,tier=backend,track=stable Replicas: 3 desired | 3 updated | 3 total | 3 available | 0 unavailable StrategyType: RollingUpdate MinReadySeconds: 0 RollingUpdateStrategy: 1 max unavailable, 1 max surge Pod Template: Labels: app=hello tier=backend track=stable Containers: hello: Image: \"gcr.io/google-samples/hello-go-gke:1.0\" Port: 80/TCP Environment: <none> Mounts: <none> Volumes: <none> Conditions: Type Status Reason ---- ------ ------ Available True MinimumReplicasAvailable Progressing True NewReplicaSetAvailable OldReplicaSets: <none> NewReplicaSet: hello-3621623197 (3/3 replicas created) Events: ... Creating the hello Service objectThe key to sending requests from a frontend to a backend is the backend Service. A Servic",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/connecting-frontend-backend/",
    "id": "k8s_00404_qa_7727"
  },
  {
    "question": "How does Connect a Frontend to a Backend Using Services work?",
    "answer": "Connect a Frontend to a Backend Using ServicesThis task shows how to create a frontend and a backend microservice. The backend microservice is a hello greeter. The frontend exposes the backend using nginx and a Kubernetes Service object.ObjectivesCreate and run a sample hello backend microservice using a Deployment object.Use a Service object to send traffic to the backend microservice's multiple replicas.Create and run a nginx frontend microservice, also using a Deployment object.Configure the frontend microservice to send traffic to the backend microservice.Use a Service object of type=LoadBalancer to expose the frontend microservice outside the cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.This task uses Services with external load balancers, which require a supported environment. If your environment does not support this, you can use a Service of type NodePort instead.Creating the backend using a DeploymentThe backend is a simple hello greeter microservice. Here is the configuration file for the backend Deployment:service/access/backend-deployment.yaml --- apiVersion: apps/v1 kind: Deployment metadata: name: backend spec: selector: matchLabels: app: hello tier: backend track: stable replicas: 3 template: metadata: labels: app: hello tier: backend track: stable spec: containers: - name: hello image: \"gcr.io/google-samples/hello-go-gke:1.0\" ports: - name: http containerPort: 80 ...Create the backend Deployment:kubectl apply -f https://k8s.io/examples/service/access/backend-deployment.yaml View information about the backend Deployment:kubectl describe deployment backend The output is similar to this:Name: backend Namespace: default CreationTimestamp: Mon, 24 Oct 2016 14:21:02 -0700 Labels: app=hello tier=backend track=stable Annotations: deployment.kubernetes.io/revision=1 Selector: app=hello,tier=backend,track=stable Replicas: 3 desired | 3 updated | 3 total | 3 available | 0 unavailable StrategyType: RollingUpdate MinReadySeconds: 0 RollingUpdateStrategy: 1 max unavailable, 1 max surge Pod Template: Labels: app=hello tier=backend track=stable Containers: hello: Image: \"gcr.io/google-samples/hello-go-gke:1.0\" Port: 80/TCP Environment: <none> Mounts: <none> Volumes: <none> Conditions: Type Status Reason ---- ------ ------ Available True MinimumReplicasAvailable Progressing True NewReplicaSetAvailable OldReplicaSets: <none> NewReplicaSet: hello-3621623197 (3/3 replicas created) Events: ... Creating the hello Service objectThe key to sending requests from a frontend to a backend is the backend Service. A Servic",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/connecting-frontend-backend/",
    "id": "k8s_00404_qa_7728"
  },
  {
    "question": "When would you use Connect a Frontend to a Backend Using Services?",
    "answer": "Connect a Frontend to a Backend Using ServicesThis task shows how to create a frontend and a backend microservice. The backend microservice is a hello greeter. The frontend exposes the backend using nginx and a Kubernetes Service object.ObjectivesCreate and run a sample hello backend microservice using a Deployment object.Use a Service object to send traffic to the backend microservice's multiple replicas.Create and run a nginx frontend microservice, also using a Deployment object.Configure the frontend microservice to send traffic to the backend microservice.Use a Service object of type=LoadBalancer to expose the frontend microservice outside the cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.This task uses Services with external load balancers, which require a supported environment. If your environment does not support this, you can use a Service of type NodePort instead.Creating the backend using a DeploymentThe backend is a simple hello greeter microservice. Here is the configuration file for the backend Deployment:service/access/backend-deployment.yaml --- apiVersion: apps/v1 kind: Deployment metadata: name: backend spec: selector: matchLabels: app: hello tier: backend track: stable replicas: 3 template: metadata: labels: app: hello tier: backend track: stable spec: containers: - name: hello image: \"gcr.io/google-samples/hello-go-gke:1.0\" ports: - name: http containerPort: 80 ...Create the backend Deployment:kubectl apply -f https://k8s.io/examples/service/access/backend-deployment.yaml View information about the backend Deployment:kubectl describe deployment backend The output is similar to this:Name: backend Namespace: default CreationTimestamp: Mon, 24 Oct 2016 14:21:02 -0700 Labels: app=hello tier=backend track=stable Annotations: deployment.kubernetes.io/revision=1 Selector: app=hello,tier=backend,track=stable Replicas: 3 desired | 3 updated | 3 total | 3 available | 0 unavailable StrategyType: RollingUpdate MinReadySeconds: 0 RollingUpdateStrategy: 1 max unavailable, 1 max surge Pod Template: Labels: app=hello tier=backend track=stable Containers: hello: Image: \"gcr.io/google-samples/hello-go-gke:1.0\" Port: 80/TCP Environment: <none> Mounts: <none> Volumes: <none> Conditions: Type Status Reason ---- ------ ------ Available True MinimumReplicasAvailable Progressing True NewReplicaSetAvailable OldReplicaSets: <none> NewReplicaSet: hello-3621623197 (3/3 replicas created) Events: ... Creating the hello Service objectThe key to sending requests from a frontend to a backend is the backend Service. A Servic",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/connecting-frontend-backend/",
    "id": "k8s_00404_qa_7729"
  },
  {
    "question": "What are the benefits of Connect a Frontend to a Backend Using Services?",
    "answer": "Connect a Frontend to a Backend Using ServicesThis task shows how to create a frontend and a backend microservice. The backend microservice is a hello greeter. The frontend exposes the backend using nginx and a Kubernetes Service object.ObjectivesCreate and run a sample hello backend microservice using a Deployment object.Use a Service object to send traffic to the backend microservice's multiple replicas.Create and run a nginx frontend microservice, also using a Deployment object.Configure the frontend microservice to send traffic to the backend microservice.Use a Service object of type=LoadBalancer to expose the frontend microservice outside the cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.This task uses Services with external load balancers, which require a supported environment. If your environment does not support this, you can use a Service of type NodePort instead.Creating the backend using a DeploymentThe backend is a simple hello greeter microservice. Here is the configuration file for the backend Deployment:service/access/backend-deployment.yaml --- apiVersion: apps/v1 kind: Deployment metadata: name: backend spec: selector: matchLabels: app: hello tier: backend track: stable replicas: 3 template: metadata: labels: app: hello tier: backend track: stable spec: containers: - name: hello image: \"gcr.io/google-samples/hello-go-gke:1.0\" ports: - name: http containerPort: 80 ...Create the backend Deployment:kubectl apply -f https://k8s.io/examples/service/access/backend-deployment.yaml View information about the backend Deployment:kubectl describe deployment backend The output is similar to this:Name: backend Namespace: default CreationTimestamp: Mon, 24 Oct 2016 14:21:02 -0700 Labels: app=hello tier=backend track=stable Annotations: deployment.kubernetes.io/revision=1 Selector: app=hello,tier=backend,track=stable Replicas: 3 desired | 3 updated | 3 total | 3 available | 0 unavailable StrategyType: RollingUpdate MinReadySeconds: 0 RollingUpdateStrategy: 1 max unavailable, 1 max surge Pod Template: Labels: app=hello tier=backend track=stable Containers: hello: Image: \"gcr.io/google-samples/hello-go-gke:1.0\" Port: 80/TCP Environment: <none> Mounts: <none> Volumes: <none> Conditions: Type Status Reason ---- ------ ------ Available True MinimumReplicasAvailable Progressing True NewReplicaSetAvailable OldReplicaSets: <none> NewReplicaSet: hello-3621623197 (3/3 replicas created) Events: ... Creating the hello Service objectThe key to sending requests from a frontend to a backend is the backend Service. A Servic",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/connecting-frontend-backend/",
    "id": "k8s_00404_qa_7730"
  },
  {
    "question": "What is Connect a Frontend to a Backend Using Services?",
    "answer": "T h i s   t a s k   s h o w s   h o w   t o   c r e a t e   a   f r o n t e n d   a n d   a   b a c k e n d   m i c r o s e r v i c e .   T h e   b a c k e n d   m i c r o s e r v i c e   i s   a   h e l l o   g r e e t e r .   T h e   f r o n t e n d   e x p o s e s   t h e   b a c k e n d   u s i n g   n g i n x   a n d   a   K u b e r n e t e s   S e r v i c e   o b j e c t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/connecting-frontend-backend/",
    "id": "k8s_00404_section_1_7731"
  },
  {
    "question": "What is Objectives?",
    "answer": "C r e a t e   a n d   r u n   a   s a m p l e   h e l l o   b a c k e n d   m i c r o s e r v i c e   u s i n g   a   D e p l o y m e n t   o b j e c t . U s e   a   S e r v i c e   o b j e c t   t o   s e n d   t r a f f i c   t o   t h e   b a c k e n d   m i c r o s e r v i c e ' s   m u l t i p l e   r e p l i c a s . C r e a t e   a n d   r u n   a   n g i n x   f r o n t e n d   m i c r o s e r v i c e ,   a l s o   u s i n g   a   D e p l o y m e n t   o b j e c t . C o n f i g u r e   t h e   f r o n t e n d   m i c r o s e r v i c e   t o   s e n d   t r a f f i c   t o   t h e   b a c k e n d   m i c r o s e r v i c e . U s e   a   S e r v i c e   o b j e c t   o f   t y p e = L o a d B a l a n c e r   t o   e x p o s e   t h e   f r o n t e n d   m i c r o s e r v i c e   o u t s i d e   t h e   c l u s t e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/connecting-frontend-backend/",
    "id": "k8s_00404_section_2_7732"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   T h i s   t a s k   u s e s   S e r v i c e s   w i t h   e x t e r n a l   l o a d   b a l a n c e r s ,   w h i c h   r e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/connecting-frontend-backend/",
    "id": "k8s_00404_section_2_7733"
  },
  {
    "question": "What is Creating the backend using a Deployment?",
    "answer": "T h e   b a c k e n d   i s   a   s i m p l e   h e l l o   g r e e t e r   m i c r o s e r v i c e .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   b a c k e n d   D e p l o y m e n t :   - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   b a c k e n d   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   h e l l o   t i e r :   b a c k e n d   t r a c k :   s t a b l e   r e p l i c a s :   3   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   h e l l o   t i e r :   b a c k e n d   t r a c k :   s t a b l e   s p e c :   c o n t a i n e r s :   -   n a m e :   h e l l o   i m a g e :   \" g c r . i o / g o o g l e - s a m p l e s / h e l l o - g o - g k e : 1 . 0 \"   p o r t s :   -   n a m e :   h t t p   c o n t a i n e r P o r t :   8 0   . . .   C r e a t e   t h e   b a c k e n d   D e p l o y m e n t :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / s e r v i c e / a c c e s s / b a c k e n d - d e p l o y m e n t . y a m l   V i e w   i n f o r m a t i o n   a b o u t   t h e   b a c k e n d   D e p l o y m e n t :   k u b e c t l   d e s c r i b e   d e p l o y m e n t   b a c k e n d   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N a m e :   b a c k e n d   N a m e s p a c e :   d e f a u l t   C r e a t i o n T i m e s t a m p :   M o n ,   2 4   O c t   2 0 1 6   1 4 : 2 1 : 0 2   - 0 7 0 0   L a b e l s :   a p p = h e l l o   t i e r = b a c k e n d   t r a c k = s t a b l e   A n n o t a t i o n s :   d e p l o y m e n t . k u b e r n e t e s . i o / r e v i s i o n = 1   S e l e c t o r :   a p p = h e l l o , t i e r = b a c k e n d , t r a c k = s t a b l e   R e p l i c a s :   3   d e s i r e d   |   3   u p d a t e d   |   3   t o t a l   |   3   a v a i l a b l e   |   0   u n a v a i l a b l e   S t r a t e g y T y p e :   R o l l i n g U p d a t e   M i n R e a d ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/connecting-frontend-backend/",
    "id": "k8s_00404_section_2_7734"
  },
  {
    "question": "What is Creating the hello Service object?",
    "answer": "T h e   k e y   t o   s e n d i n g   r e q u e s t s   f r o m   a   f r o n t e n d   t o   a   b a c k e n d   i s   t h e   b a c k e n d   S e r v i c e .   A   S e r v i c e   c r e a t e s   a   p e r s i s t e n t   I P   a d d r e s s   a n d   D N S   n a m e   e n t r y   s o   t h a t   t h e   b a c k e n d   m i c r o s e r v i c e   c a n   a l w a y s   b e   r e a c h e d .   A   S e r v i c e   u s e s   s e l e c t o r s   t o   f i n d   t h e   P o d s   t h a t   i t   r o u t e s   t r a f f i c   t o .   F i r s t ,   e x p l o r e   t h e   S e r v i c e   c o n f i g u r a t i o n   f i l e :   - - -   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   h e l l o   s p e c :   s e l e c t o r :   a p p :   h e l l o   t i e r :   b a c k e n d   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   8 0   t a r g e t P o r t :   h t t p   . . .   I n   t h e   c o n f i g u r a t i o n   f i l e ,   y o u   c a n   s e e   t h a t   t h e   S e r v i c e ,   n a m e d   h e l l o   r o u t e s   t r a f f i c   t o   P o d s   t h a t   h a v e   t h e   l a b e l s   a p p :   h e l l o   a n d   t i e r :   b a c k e n d .   C r e a t e   t h e   b a c k e n d   S e r v i c e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / s e r v i c e / a c c e s s / b a c k e n d - s e r v i c e . y a m l   A t   t h i s   p o i n t ,   y o u   h a v e   a   b a c k e n d   D e p l o y m e n t   r u n n i n g   t h r e e   r e p l i c a s   o f   y o u r   h e l l o   a p p l i c a t i o n ,   a n d   y o u   h a v e   a   S e r v i c e   t h a t   c a n   r o u t e   t r a f f i c   t o   t h e m .   H o w e v e r ,   t h i s   s e r v i c e   i s   n e i t h e r   a v a i l a b l e   n o r   r e s o l v a b l e   o u t s i d e   t h e   c l u s t e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/connecting-frontend-backend/",
    "id": "k8s_00404_section_2_7735"
  },
  {
    "question": "What is Creating the frontend?",
    "answer": "N o w   t h a t   y o u   h a v e   y o u r   b a c k e n d   r u n n i n g ,   y o u   c a n   c r e a t e   a   f r o n t e n d   t h a t   i s   a c c e s s i b l e   o u t s i d e   t h e   c l u s t e r ,   a n d   c o n n e c t s   t o   t h e   b a c k e n d   b y   p r o x y i n g   r e q u e s t s   t o   i t .   T h e   f r o n t e n d   s e n d s   r e q u e s t s   t o   t h e   b a c k e n d   w o r k e r   P o d s   b y   u s i n g   t h e   D N S   n a m e   g i v e n   t o   t h e   b a c k e n d   S e r v i c e .   T h e   D N S   n a m e   i s   h e l l o ,   w h i c h   i s   t h e   v a l u e   o f   t h e   n a m e   f i e l d   i n   t h e   e x a m p l e s / s e r v i c e / a c c e s s / b a c k e n d - s e r v i c e . y a m l   c o n f i g u r a t i o n   f i l e .   T h e   P o d s   i n   t h e   f r o n t e n d   D e p l o y m e n t   r u n   a   n g i n x   i m a g e   t h a t   i s   c o n f i g u r e d   t o   p r o x y   r e q u e s t s   t o   t h e   h e l l o   b a c k e n d   S e r v i c e .   H e r e   i s   t h e   n g i n x   c o n f i g u r a t i o n   f i l e :   #   T h e   i d e n t i f i e r   B a c k e n d   i s   i n t e r n a l   t o   n g i n x ,   a n d   u s e d   t o   n a m e   t h i s   s p e c i f i c   u p s t r e a m   u p s t r e a m   B a c k e n d   {   #   h e l l o   i s   t h e   i n t e r n a l   D N S   n a m e   u s e d   b y   t h e   b a c k e n d   S e r v i c e   i n s i d e   K u b e r n e t e s   s e r v e r   h e l l o ;   }   s e r v e r   {   l i s t e n   8 0 ;   l o c a t i o n   /   {   #   T h e   f o l l o w i n g   s t a t e m e n t   w i l l   p r o x y   t r a f f i c   t o   t h e   u p s t r e a m   n a m e d   B a c k e n d   p r o x y _ p a s s   h t t p : / / B a c k e n d ;   }   }   s e r v e r   {   l i s t e n   8 0 ;   l o c a t i o n   /   {   #   T h e   f o l l o w i n g   s t a t e m e n t   w i l l   p r o x y   t r a f f i c   t o   t h e   u p s t r e a m   n a m e d   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/connecting-frontend-backend/",
    "id": "k8s_00404_section_2_7736"
  },
  {
    "question": "What is Interact with the frontend Service?",
    "answer": "O n c e   y o u ' v e   c r e a t e d   a   S e r v i c e   o f   t y p e   L o a d B a l a n c e r ,   y o u   c a n   u s e   t h i s   c o m m a n d   t o   f i n d   t h e   e x t e r n a l   I P :   k u b e c t l   g e t   s e r v i c e   f r o n t e n d   - - w a t c h   T h i s   d i s p l a y s   t h e   c o n f i g u r a t i o n   f o r   t h e   f r o n t e n d   S e r v i c e   a n d   w a t c h e s   f o r   c h a n g e s .   I n i t i a l l y ,   t h e   e x t e r n a l   I P   i s   l i s t e d   a s   < p e n d i n g > :   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   f r o n t e n d   L o a d B a l a n c e r   1 0 . 5 1 . 2 5 2 . 1 1 6   < p e n d i n g >   8 0 / T C P   1 0 s   A s   s o o n   a s   a n   e x t e r n a l   I P   i s   p r o v i s i o n e d ,   h o w e v e r ,   t h e   c o n f i g u r a t i o n   u p d a t e s   t o   i n c l u d e   t h e   n e w   I P   u n d e r   t h e   E X T E R N A L - I P   h e a d i n g :   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   f r o n t e n d   L o a d B a l a n c e r   1 0 . 5 1 . 2 5 2 . 1 1 6   X X X . X X X . X X X . X X X   8 0 / T C P   1 m   T h a t   I P   c a n   n o w   b e   u s e d   t o   i n t e r a c t   w i t h   t h e   f r o n t e n d   s e r v i c e   f r o m   o u t s i d e   t h e   c l u s t e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/connecting-frontend-backend/",
    "id": "k8s_00404_section_2_7737"
  },
  {
    "question": "What is Send traffic through the frontend?",
    "answer": "T h e   f r o n t e n d   a n d   b a c k e n d   a r e   n o w   c o n n e c t e d .   Y o u   c a n   h i t   t h e   e n d p o i n t   b y   u s i n g   t h e   c u r l   c o m m a n d   o n   t h e   e x t e r n a l   I P   o f   y o u r   f r o n t e n d   S e r v i c e .   c u r l   h t t p : / / $ { E X T E R N A L _ I P }   #   r e p l a c e   t h i s   w i t h   t h e   E X T E R N A L - I P   y o u   s a w   e a r l i e r   T h e   o u t p u t   s h o w s   t h e   m e s s a g e   g e n e r a t e d   b y   t h e   b a c k e n d :   { \" m e s s a g e \" : \" H e l l o \" }",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/connecting-frontend-backend/",
    "id": "k8s_00404_section_2_7738"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "T o   d e l e t e   t h e   S e r v i c e s ,   e n t e r   t h i s   c o m m a n d :   k u b e c t l   d e l e t e   s e r v i c e s   f r o n t e n d   b a c k e n d   T o   d e l e t e   t h e   D e p l o y m e n t s ,   t h e   R e p l i c a S e t s   a n d   t h e   P o d s   t h a t   a r e   r u n n i n g   t h e   b a c k e n d   a n d   f r o n t e n d   a p p l i c a t i o n s ,   e n t e r   t h i s   c o m m a n d :   k u b e c t l   d e l e t e   d e p l o y m e n t   f r o n t e n d   b a c k e n d",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/connecting-frontend-backend/",
    "id": "k8s_00404_section_2_7739"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   S e r v i c e s L e a r n   m o r e   a b o u t   C o n f i g M a p s L e a r n   m o r e   a b o u t   D N S   f o r   S e r v i c e   a n d   P o d s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/connecting-frontend-backend/",
    "id": "k8s_00404_section_2_7740"
  },
  {
    "question": "What is Cloud Controller Manager?",
    "answer": "Cloud Controller ManagerFEATURE STATE: Kubernetes v1.11 [beta]Cloud infrastructure technologies let you run Kubernetes on public, private, and hybrid clouds. Kubernetes believes in automated, API-driven infrastructure without tight coupling between components.The cloud-controller-manager is a Kubernetes control plane component that embeds cloud-specific control logic. The cloud controller manager lets you link your cluster into your cloud provider's API, and separates out the components that interact with that cloud platform from components that only interact with your cluster.By decoupling the interoperability logic between Kubernetes and the underlying cloud infrastructure, the cloud-controller-manager component enables cloud providers to release features at a different pace compared to the main Kubernetes project.The cloud-controller-manager is structured using a plugin mechanism that allows different cloud providers to integrate their platforms with Kubernetes.DesignThe cloud controller manager runs in the control plane as a replicated set of processes (usually, these are containers in Pods). Each cloud-controller-manager implements multiple controllers in a single process.Note:You can also run the cloud controller manager as a Kubernetes addon rather than as part of the control plane.Cloud controller manager functionsThe controllers inside the cloud controller manager include:Node controllerThe node controller is responsible for updating Node objects when new servers are created in your cloud infrastructure. The node controller obtains information about the hosts running inside your tenancy with the cloud provider. The node controller performs the following functions:Update a Node object with the corresponding server's unique identifier obtained from the cloud provider API.Annotating and labelling the Node object with cloud-specific information, such as the region the node is deployed into and the resources (CPU, memory, etc) that it has available.Obtain the node's hostname and network addresses.Verifying the node's health. In case a node becomes unresponsive, this controller checks with your cloud provider's API to see if the server has been deactivated / deleted / terminated. If the node has been deleted from the cloud, the controller deletes the Node object from your Kubernetes cluster.Some cloud provider implementations split this into a node controller and a separate node lifecycle controller.Route controllerThe route controller is responsible for configuring routes in the cloud appropriately so that containers on different nodes in your Kubernetes cluster can communicate with each other.Depending on the cloud provider, the route controller might also allocate blocks of IP addresses for the Pod network.Service controllerServices integrate with cloud infrastructure components such as managed load balancers, IP addresses, network packet filtering, and target health checking. The service controller interacts with your cloud provider's APIs",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cloud-controller/",
    "id": "k8s_00405_qa_7741"
  },
  {
    "question": "How does Cloud Controller Manager work?",
    "answer": "Cloud Controller ManagerFEATURE STATE: Kubernetes v1.11 [beta]Cloud infrastructure technologies let you run Kubernetes on public, private, and hybrid clouds. Kubernetes believes in automated, API-driven infrastructure without tight coupling between components.The cloud-controller-manager is a Kubernetes control plane component that embeds cloud-specific control logic. The cloud controller manager lets you link your cluster into your cloud provider's API, and separates out the components that interact with that cloud platform from components that only interact with your cluster.By decoupling the interoperability logic between Kubernetes and the underlying cloud infrastructure, the cloud-controller-manager component enables cloud providers to release features at a different pace compared to the main Kubernetes project.The cloud-controller-manager is structured using a plugin mechanism that allows different cloud providers to integrate their platforms with Kubernetes.DesignThe cloud controller manager runs in the control plane as a replicated set of processes (usually, these are containers in Pods). Each cloud-controller-manager implements multiple controllers in a single process.Note:You can also run the cloud controller manager as a Kubernetes addon rather than as part of the control plane.Cloud controller manager functionsThe controllers inside the cloud controller manager include:Node controllerThe node controller is responsible for updating Node objects when new servers are created in your cloud infrastructure. The node controller obtains information about the hosts running inside your tenancy with the cloud provider. The node controller performs the following functions:Update a Node object with the corresponding server's unique identifier obtained from the cloud provider API.Annotating and labelling the Node object with cloud-specific information, such as the region the node is deployed into and the resources (CPU, memory, etc) that it has available.Obtain the node's hostname and network addresses.Verifying the node's health. In case a node becomes unresponsive, this controller checks with your cloud provider's API to see if the server has been deactivated / deleted / terminated. If the node has been deleted from the cloud, the controller deletes the Node object from your Kubernetes cluster.Some cloud provider implementations split this into a node controller and a separate node lifecycle controller.Route controllerThe route controller is responsible for configuring routes in the cloud appropriately so that containers on different nodes in your Kubernetes cluster can communicate with each other.Depending on the cloud provider, the route controller might also allocate blocks of IP addresses for the Pod network.Service controllerServices integrate with cloud infrastructure components such as managed load balancers, IP addresses, network packet filtering, and target health checking. The service controller interacts with your cloud provider's APIs",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cloud-controller/",
    "id": "k8s_00405_qa_7742"
  },
  {
    "question": "When would you use Cloud Controller Manager?",
    "answer": "Cloud Controller ManagerFEATURE STATE: Kubernetes v1.11 [beta]Cloud infrastructure technologies let you run Kubernetes on public, private, and hybrid clouds. Kubernetes believes in automated, API-driven infrastructure without tight coupling between components.The cloud-controller-manager is a Kubernetes control plane component that embeds cloud-specific control logic. The cloud controller manager lets you link your cluster into your cloud provider's API, and separates out the components that interact with that cloud platform from components that only interact with your cluster.By decoupling the interoperability logic between Kubernetes and the underlying cloud infrastructure, the cloud-controller-manager component enables cloud providers to release features at a different pace compared to the main Kubernetes project.The cloud-controller-manager is structured using a plugin mechanism that allows different cloud providers to integrate their platforms with Kubernetes.DesignThe cloud controller manager runs in the control plane as a replicated set of processes (usually, these are containers in Pods). Each cloud-controller-manager implements multiple controllers in a single process.Note:You can also run the cloud controller manager as a Kubernetes addon rather than as part of the control plane.Cloud controller manager functionsThe controllers inside the cloud controller manager include:Node controllerThe node controller is responsible for updating Node objects when new servers are created in your cloud infrastructure. The node controller obtains information about the hosts running inside your tenancy with the cloud provider. The node controller performs the following functions:Update a Node object with the corresponding server's unique identifier obtained from the cloud provider API.Annotating and labelling the Node object with cloud-specific information, such as the region the node is deployed into and the resources (CPU, memory, etc) that it has available.Obtain the node's hostname and network addresses.Verifying the node's health. In case a node becomes unresponsive, this controller checks with your cloud provider's API to see if the server has been deactivated / deleted / terminated. If the node has been deleted from the cloud, the controller deletes the Node object from your Kubernetes cluster.Some cloud provider implementations split this into a node controller and a separate node lifecycle controller.Route controllerThe route controller is responsible for configuring routes in the cloud appropriately so that containers on different nodes in your Kubernetes cluster can communicate with each other.Depending on the cloud provider, the route controller might also allocate blocks of IP addresses for the Pod network.Service controllerServices integrate with cloud infrastructure components such as managed load balancers, IP addresses, network packet filtering, and target health checking. The service controller interacts with your cloud provider's APIs",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cloud-controller/",
    "id": "k8s_00405_qa_7743"
  },
  {
    "question": "What are the benefits of Cloud Controller Manager?",
    "answer": "Cloud Controller ManagerFEATURE STATE: Kubernetes v1.11 [beta]Cloud infrastructure technologies let you run Kubernetes on public, private, and hybrid clouds. Kubernetes believes in automated, API-driven infrastructure without tight coupling between components.The cloud-controller-manager is a Kubernetes control plane component that embeds cloud-specific control logic. The cloud controller manager lets you link your cluster into your cloud provider's API, and separates out the components that interact with that cloud platform from components that only interact with your cluster.By decoupling the interoperability logic between Kubernetes and the underlying cloud infrastructure, the cloud-controller-manager component enables cloud providers to release features at a different pace compared to the main Kubernetes project.The cloud-controller-manager is structured using a plugin mechanism that allows different cloud providers to integrate their platforms with Kubernetes.DesignThe cloud controller manager runs in the control plane as a replicated set of processes (usually, these are containers in Pods). Each cloud-controller-manager implements multiple controllers in a single process.Note:You can also run the cloud controller manager as a Kubernetes addon rather than as part of the control plane.Cloud controller manager functionsThe controllers inside the cloud controller manager include:Node controllerThe node controller is responsible for updating Node objects when new servers are created in your cloud infrastructure. The node controller obtains information about the hosts running inside your tenancy with the cloud provider. The node controller performs the following functions:Update a Node object with the corresponding server's unique identifier obtained from the cloud provider API.Annotating and labelling the Node object with cloud-specific information, such as the region the node is deployed into and the resources (CPU, memory, etc) that it has available.Obtain the node's hostname and network addresses.Verifying the node's health. In case a node becomes unresponsive, this controller checks with your cloud provider's API to see if the server has been deactivated / deleted / terminated. If the node has been deleted from the cloud, the controller deletes the Node object from your Kubernetes cluster.Some cloud provider implementations split this into a node controller and a separate node lifecycle controller.Route controllerThe route controller is responsible for configuring routes in the cloud appropriately so that containers on different nodes in your Kubernetes cluster can communicate with each other.Depending on the cloud provider, the route controller might also allocate blocks of IP addresses for the Pod network.Service controllerServices integrate with cloud infrastructure components such as managed load balancers, IP addresses, network packet filtering, and target health checking. The service controller interacts with your cloud provider's APIs",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cloud-controller/",
    "id": "k8s_00405_qa_7744"
  },
  {
    "question": "What is Cloud Controller Manager?",
    "answer": "C l o u d   i n f r a s t r u c t u r e   t e c h n o l o g i e s   l e t   y o u   r u n   K u b e r n e t e s   o n   p u b l i c ,   p r i v a t e ,   a n d   h y b r i d   c l o u d s .   K u b e r n e t e s   b e l i e v e s   i n   a u t o m a t e d ,   A P I - d r i v e n   i n f r a s t r u c t u r e   w i t h o u t   t i g h t   c o u p l i n g   b e t w e e n   c o m p o n e n t s .   T h e   c l o u d - c o n t r o l l e r - m a n a g e r   i s   a   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t   t h a t   e m b e d s   c l o u d - s p e c i f i c   c o n t r o l   l o g i c .   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   l e t s   y o u   l i n k   y o u r   c l u s t e r   i n t o   y o u r   c l o u d   p r o v i d e r ' s   A P I ,   a n d   s e p a r a t e s   o u t   t h e   c o m p o n e n t s   t h a t   i n t e r a c t   w i t h   t h a t   c l o u d   p l a t f o r m   f r o m   c o m p o n e n t s   t h a t   o n l y   i n t e r a c t   w i t h   y o u r   c l u s t e r .   T h e   c l o u d - c o n t r o l l e r - m a n a g e r   i s   a   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t   t h a t   e m b e d s   c l o u d - s p e c i f i c   c o n t r o l   l o g i c .   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   l e t s   y o u   l i n k   y o u r   c l u s t e r   i n t o   y o u r   c l o u d   p r o v i d e r ' s   A P I ,   a n d   s e p a r a t e s   o u t   t h e   c o m p o n e n t s   t h a t   i n t e r a c t   w i t h   t h a t   c l o u d   p l a t f o r m   f r o m   c o m p o n e n t s   t h a t   o n l y   i n t e r a c t   w i t h   y o u r   c l u s t e r .   B y   d e c o u p l i n g   t h e   i n t e r o p e r a b i l i t y   l o g i c   b e t w e e n   K u b e r n e t e s   a n d   t h e   u n d e r l y i n g   c l o u d   i n f r a s t r u c t u r e ,   t h e   c l o u d - c o n t r o l l e r - m a n a g e r   c o m p o n e n t   e n a b l e s   c l o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cloud-controller/",
    "id": "k8s_00405_section_1_7745"
  },
  {
    "question": "What is Design?",
    "answer": "T h e   c l o u d   c o n t r o l l e r   m a n a g e r   r u n s   i n   t h e   c o n t r o l   p l a n e   a s   a   r e p l i c a t e d   s e t   o f   p r o c e s s e s   ( u s u a l l y ,   t h e s e   a r e   c o n t a i n e r s   i n   P o d s ) .   E a c h   c l o u d - c o n t r o l l e r - m a n a g e r   i m p l e m e n t s   m u l t i p l e   c o n t r o l l e r s   i n   a   s i n g l e   p r o c e s s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cloud-controller/",
    "id": "k8s_00405_section_2_7746"
  },
  {
    "question": "What is Cloud controller manager functions?",
    "answer": "T h e   c o n t r o l l e r s   i n s i d e   t h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n c l u d e :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cloud-controller/",
    "id": "k8s_00405_section_2_7747"
  },
  {
    "question": "What is Node controller?",
    "answer": "T h e   n o d e   c o n t r o l l e r   i s   r e s p o n s i b l e   f o r   u p d a t i n g   N o d e   o b j e c t s   w h e n   n e w   s e r v e r s   a r e   c r e a t e d   i n   y o u r   c l o u d   i n f r a s t r u c t u r e .   T h e   n o d e   c o n t r o l l e r   o b t a i n s   i n f o r m a t i o n   a b o u t   t h e   h o s t s   r u n n i n g   i n s i d e   y o u r   t e n a n c y   w i t h   t h e   c l o u d   p r o v i d e r .   T h e   n o d e   c o n t r o l l e r   p e r f o r m s   t h e   f o l l o w i n g   f u n c t i o n s :   U p d a t e   a   N o d e   o b j e c t   w i t h   t h e   c o r r e s p o n d i n g   s e r v e r ' s   u n i q u e   i d e n t i f i e r   o b t a i n e d   f r o m   t h e   c l o u d   p r o v i d e r   A P I . A n n o t a t i n g   a n d   l a b e l l i n g   t h e   N o d e   o b j e c t   w i t h   c l o u d - s p e c i f i c   i n f o r m a t i o n ,   s u c h   a s   t h e   r e g i o n   t h e   n o d e   i s   d e p l o y e d   i n t o   a n d   t h e   r e s o u r c e s   ( C P U ,   m e m o r y ,   e t c )   t h a t   i t   h a s   a v a i l a b l e . O b t a i n   t h e   n o d e ' s   h o s t n a m e   a n d   n e t w o r k   a d d r e s s e s . V e r i f y i n g   t h e   n o d e ' s   h e a l t h .   I n   c a s e   a   n o d e   b e c o m e s   u n r e s p o n s i v e ,   t h i s   c o n t r o l l e r   c h e c k s   w i t h   y o u r   c l o u d   p r o v i d e r ' s   A P I   t o   s e e   i f   t h e   s e r v e r   h a s   b e e n   d e a c t i v a t e d   /   d e l e t e d   /   t e r m i n a t e d .   I f   t h e   n o d e   h a s   b e e n   d e l e t e d   f r o m   t h e   c l o u d ,   t h e   c o n t r o l l e r   d e l e t e s   t h e   N o d e   o b j e c t   f r o m   y o u r   K u b e r n e t e s   c l u s t e r .   S o m e   c l o u d   p r o v i d e r   i m p l e m e n t a t i o n s   s p l i t   t h i s   i n t o   a   n o d e   c o n t r o l l e r   a n d   a   s e p a r a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cloud-controller/",
    "id": "k8s_00405_section_3_7748"
  },
  {
    "question": "What is Route controller?",
    "answer": "T h e   r o u t e   c o n t r o l l e r   i s   r e s p o n s i b l e   f o r   c o n f i g u r i n g   r o u t e s   i n   t h e   c l o u d   a p p r o p r i a t e l y   s o   t h a t   c o n t a i n e r s   o n   d i f f e r e n t   n o d e s   i n   y o u r   K u b e r n e t e s   c l u s t e r   c a n   c o m m u n i c a t e   w i t h   e a c h   o t h e r .   D e p e n d i n g   o n   t h e   c l o u d   p r o v i d e r ,   t h e   r o u t e   c o n t r o l l e r   m i g h t   a l s o   a l l o c a t e   b l o c k s   o f   I P   a d d r e s s e s   f o r   t h e   P o d   n e t w o r k .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cloud-controller/",
    "id": "k8s_00405_section_3_7749"
  },
  {
    "question": "What is Service controller?",
    "answer": "S e r v i c e s   i n t e g r a t e   w i t h   c l o u d   i n f r a s t r u c t u r e   c o m p o n e n t s   s u c h   a s   m a n a g e d   l o a d   b a l a n c e r s ,   I P   a d d r e s s e s ,   n e t w o r k   p a c k e t   f i l t e r i n g ,   a n d   t a r g e t   h e a l t h   c h e c k i n g .   T h e   s e r v i c e   c o n t r o l l e r   i n t e r a c t s   w i t h   y o u r   c l o u d   p r o v i d e r ' s   A P I s   t o   s e t   u p   l o a d   b a l a n c e r s   a n d   o t h e r   i n f r a s t r u c t u r e   c o m p o n e n t s   w h e n   y o u   d e c l a r e   a   S e r v i c e   r e s o u r c e   t h a t   r e q u i r e s   t h e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cloud-controller/",
    "id": "k8s_00405_section_3_7750"
  },
  {
    "question": "What is Authorization?",
    "answer": "T h i s   s e c t i o n   b r e a k s   d o w n   t h e   a c c e s s   t h a t   t h e   c l o u d   c o n t r o l l e r   m a n a g e r   r e q u i r e s   o n   v a r i o u s   A P I   o b j e c t s ,   i n   o r d e r   t o   p e r f o r m   i t s   o p e r a t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cloud-controller/",
    "id": "k8s_00405_section_2_7751"
  },
  {
    "question": "What is Node controller?",
    "answer": "T h e   N o d e   c o n t r o l l e r   o n l y   w o r k s   w i t h   N o d e   o b j e c t s .   I t   r e q u i r e s   f u l l   a c c e s s   t o   r e a d   a n d   m o d i f y   N o d e   o b j e c t s .   v 1 / N o d e :   g e t l i s t c r e a t e u p d a t e p a t c h w a t c h d e l e t e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cloud-controller/",
    "id": "k8s_00405_section_3_7752"
  },
  {
    "question": "What is Route controller?",
    "answer": "T h e   r o u t e   c o n t r o l l e r   l i s t e n s   t o   N o d e   o b j e c t   c r e a t i o n   a n d   c o n f i g u r e s   r o u t e s   a p p r o p r i a t e l y .   I t   r e q u i r e s   G e t   a c c e s s   t o   N o d e   o b j e c t s .   v 1 / N o d e :   g e t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cloud-controller/",
    "id": "k8s_00405_section_3_7753"
  },
  {
    "question": "What is Service controller?",
    "answer": "T h e   s e r v i c e   c o n t r o l l e r   w a t c h e s   f o r   S e r v i c e   o b j e c t   c r e a t e ,   u p d a t e   a n d   d e l e t e   e v e n t s   a n d   t h e n   c o n f i g u r e s   l o a d   b a l a n c e r s   f o r   t h o s e   S e r v i c e s   a p p r o p r i a t e l y .   T o   a c c e s s   S e r v i c e s ,   i t   r e q u i r e s   l i s t ,   a n d   w a t c h   a c c e s s .   T o   u p d a t e   S e r v i c e s ,   i t   r e q u i r e s   p a t c h   a n d   u p d a t e   a c c e s s   t o   t h e   s t a t u s   s u b r e s o u r c e .   v 1 / S e r v i c e :   l i s t g e t w a t c h p a t c h u p d a t e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cloud-controller/",
    "id": "k8s_00405_section_3_7754"
  },
  {
    "question": "What is Others?",
    "answer": "T h e   i m p l e m e n t a t i o n   o f   t h e   c o r e   o f   t h e   c l o u d   c o n t r o l l e r   m a n a g e r   r e q u i r e s   a c c e s s   t o   c r e a t e   E v e n t   o b j e c t s ,   a n d   t o   e n s u r e   s e c u r e   o p e r a t i o n ,   i t   r e q u i r e s   a c c e s s   t o   c r e a t e   S e r v i c e A c c o u n t s .   v 1 / E v e n t :   c r e a t e p a t c h u p d a t e   v 1 / S e r v i c e A c c o u n t :   c r e a t e   T h e   R B A C   C l u s t e r R o l e   f o r   t h e   c l o u d   c o n t r o l l e r   m a n a g e r   l o o k s   l i k e :   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   n a m e :   c l o u d - c o n t r o l l e r - m a n a g e r   r u l e s :   -   a p i G r o u p s :   -   \" \"   r e s o u r c e s :   -   e v e n t s   v e r b s :   -   c r e a t e   -   p a t c h   -   u p d a t e   -   a p i G r o u p s :   -   \" \"   r e s o u r c e s :   -   n o d e s   v e r b s :   -   ' * '   -   a p i G r o u p s :   -   \" \"   r e s o u r c e s :   -   n o d e s / s t a t u s   v e r b s :   -   p a t c h   -   a p i G r o u p s :   -   \" \"   r e s o u r c e s :   -   s e r v i c e s   v e r b s :   -   l i s t   -   w a t c h   -   a p i G r o u p s :   -   \" \"   r e s o u r c e s :   -   s e r v i c e s / s t a t u s   v e r b s :   -   p a t c h   -   u p d a t e   -   a p i G r o u p s :   -   \" \"   r e s o u r c e s :   -   s e r v i c e a c c o u n t s   v e r b s :   -   c r e a t e   -   a p i G r o u p s :   -   \" \"   r e s o u r c e s :   -   p e r s i s t e n t v o l u m e s   v e r b s :   -   g e t   -   l i s t   -   u p d a t e   -   w a t c h",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cloud-controller/",
    "id": "k8s_00405_section_3_7755"
  },
  {
    "question": "What is What's next?",
    "answer": "C l o u d   C o n t r o l l e r   M a n a g e r   A d m i n i s t r a t i o n   h a s   i n s t r u c t i o n s   o n   r u n n i n g   a n d   m a n a g i n g   t h e   c l o u d   c o n t r o l l e r   m a n a g e r . T o   u p g r a d e   a   H A   c o n t r o l   p l a n e   t o   u s e   t h e   c l o u d   c o n t r o l l e r   m a n a g e r ,   s e e   M i g r a t e   R e p l i c a t e d   C o n t r o l   P l a n e   T o   U s e   C l o u d   C o n t r o l l e r   M a n a g e r . W a n t   t o   k n o w   h o w   t o   i m p l e m e n t   y o u r   o w n   c l o u d   c o n t r o l l e r   m a n a g e r ,   o r   e x t e n d   a n   e x i s t i n g   p r o j e c t ? T h e   c l o u d   c o n t r o l l e r   m a n a g e r   u s e s   G o   i n t e r f a c e s ,   s p e c i f i c a l l y ,   C l o u d P r o v i d e r   i n t e r f a c e   d e f i n e d   i n   c l o u d . g o   f r o m   k u b e r n e t e s / c l o u d - p r o v i d e r   t o   a l l o w   i m p l e m e n t a t i o n s   f r o m   a n y   c l o u d   t o   b e   p l u g g e d   i n . T h e   i m p l e m e n t a t i o n   o f   t h e   s h a r e d   c o n t r o l l e r s   h i g h l i g h t e d   i n   t h i s   d o c u m e n t   ( N o d e ,   R o u t e ,   a n d   S e r v i c e ) ,   a n d   s o m e   s c a f f o l d i n g   a l o n g   w i t h   t h e   s h a r e d   c l o u d p r o v i d e r   i n t e r f a c e ,   i s   p a r t   o f   t h e   K u b e r n e t e s   c o r e .   I m p l e m e n t a t i o n s   s p e c i f i c   t o   c l o u d   p r o v i d e r s   a r e   o u t s i d e   t h e   c o r e   o f   K u b e r n e t e s   a n d   i m p l e m e n t   t h e   C l o u d P r o v i d e r   i n t e r f a c e . F o r   m o r e   i n f o r m a t i o n   a b o u t   d e v e l o p i n g   p l u g i n s ,   s e e   D e v e l o p i n g   C l o u d   C o n t r o l l e r   M a n a g e r .   C l o u d   C o n t r o l l e r   M a n a g e r   A d m i n i s t r a t i o n   h a s   i n s t r u c t i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/cloud-controller/",
    "id": "k8s_00405_section_2_7756"
  },
  {
    "question": "What is Blog article mirroring?",
    "answer": "Blog article mirroringThere are two official Kubernetes blogs, and the CNCF has its own blog where you can cover Kubernetes too. For the main Kubernetes blog, we (the Kubernetes project) like to publish articles with different perspectives and special focuses, that have a link to Kubernetes.Some articles appear on both blogs: there is a primary version of the article, and a mirror article on the other blog.This page describes the criteria for mirroring, the motivation for mirroring, and explains what you should do to ensure that an article publishes to both blogs.Before you beginMake sure you are familiar with the introduction sections of contributing to Kubernetes blogs, not just to learn about the two official blogs and the differences between them, but also to get an overview of the process.Why we mirrorMirroring is nearly always from the contributor blog to the main blog. The project does this for articles that are about the contributor community, or a part of it, but are also relevant to the wider set of readers for Kubernetes' main blog.As an author (or reviewer), consider the target audience and whether the blog post is appropriate for the main blog. For example: if the target audience are Kubernetes contributors only, then the contributor blog. may be more appropriate; if the blog post is about open source in general then it may be more suitable on another site outside the Kubernetes project.This consideration about target audience applies to original and mirrored articles equally.The Kubernetes project is willing to mirror any blog article that was published to https://kubernetes.dev/blog/ (the contributor blog), provided that all of the following criteria are met:the mirrored article has the same publication date as the original (it should have the same publication time too, but you can also set a time stamp up to 12 hours later for special cases)For PRs that add a mirrored article to the main blog after the original article has merged into the contributor blog, ensure that all of the following criteria are met:No articles were published to the main blog after the original article was published to the contributor blog.There are no main blog articles scheduled for publication between the publication time of the original article and the publication time of your mirrored article.This is because the Kubernetes project doesn't want to add articles to people's feeds, such as RSS, except at the very end of their feed.the original article doesn't contravene any strongly recommended review guidelines or community normsthe mirrored article will have canonicalUrl set correctly in its front matterthe audience for the original article would find it relevantthe article content is not off-topic for the target blog where the mirror article would appearMirroring from the main blog to the contributor blog is rare, but could feasibly happen.How to mirrorYou make a PR against the other Git repository (usually, https://github.com/kubernetes/website) that ad",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-mirroring/",
    "id": "k8s_00406_qa_7757"
  },
  {
    "question": "How does Blog article mirroring work?",
    "answer": "Blog article mirroringThere are two official Kubernetes blogs, and the CNCF has its own blog where you can cover Kubernetes too. For the main Kubernetes blog, we (the Kubernetes project) like to publish articles with different perspectives and special focuses, that have a link to Kubernetes.Some articles appear on both blogs: there is a primary version of the article, and a mirror article on the other blog.This page describes the criteria for mirroring, the motivation for mirroring, and explains what you should do to ensure that an article publishes to both blogs.Before you beginMake sure you are familiar with the introduction sections of contributing to Kubernetes blogs, not just to learn about the two official blogs and the differences between them, but also to get an overview of the process.Why we mirrorMirroring is nearly always from the contributor blog to the main blog. The project does this for articles that are about the contributor community, or a part of it, but are also relevant to the wider set of readers for Kubernetes' main blog.As an author (or reviewer), consider the target audience and whether the blog post is appropriate for the main blog. For example: if the target audience are Kubernetes contributors only, then the contributor blog. may be more appropriate; if the blog post is about open source in general then it may be more suitable on another site outside the Kubernetes project.This consideration about target audience applies to original and mirrored articles equally.The Kubernetes project is willing to mirror any blog article that was published to https://kubernetes.dev/blog/ (the contributor blog), provided that all of the following criteria are met:the mirrored article has the same publication date as the original (it should have the same publication time too, but you can also set a time stamp up to 12 hours later for special cases)For PRs that add a mirrored article to the main blog after the original article has merged into the contributor blog, ensure that all of the following criteria are met:No articles were published to the main blog after the original article was published to the contributor blog.There are no main blog articles scheduled for publication between the publication time of the original article and the publication time of your mirrored article.This is because the Kubernetes project doesn't want to add articles to people's feeds, such as RSS, except at the very end of their feed.the original article doesn't contravene any strongly recommended review guidelines or community normsthe mirrored article will have canonicalUrl set correctly in its front matterthe audience for the original article would find it relevantthe article content is not off-topic for the target blog where the mirror article would appearMirroring from the main blog to the contributor blog is rare, but could feasibly happen.How to mirrorYou make a PR against the other Git repository (usually, https://github.com/kubernetes/website) that ad",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-mirroring/",
    "id": "k8s_00406_qa_7758"
  },
  {
    "question": "When would you use Blog article mirroring?",
    "answer": "Blog article mirroringThere are two official Kubernetes blogs, and the CNCF has its own blog where you can cover Kubernetes too. For the main Kubernetes blog, we (the Kubernetes project) like to publish articles with different perspectives and special focuses, that have a link to Kubernetes.Some articles appear on both blogs: there is a primary version of the article, and a mirror article on the other blog.This page describes the criteria for mirroring, the motivation for mirroring, and explains what you should do to ensure that an article publishes to both blogs.Before you beginMake sure you are familiar with the introduction sections of contributing to Kubernetes blogs, not just to learn about the two official blogs and the differences between them, but also to get an overview of the process.Why we mirrorMirroring is nearly always from the contributor blog to the main blog. The project does this for articles that are about the contributor community, or a part of it, but are also relevant to the wider set of readers for Kubernetes' main blog.As an author (or reviewer), consider the target audience and whether the blog post is appropriate for the main blog. For example: if the target audience are Kubernetes contributors only, then the contributor blog. may be more appropriate; if the blog post is about open source in general then it may be more suitable on another site outside the Kubernetes project.This consideration about target audience applies to original and mirrored articles equally.The Kubernetes project is willing to mirror any blog article that was published to https://kubernetes.dev/blog/ (the contributor blog), provided that all of the following criteria are met:the mirrored article has the same publication date as the original (it should have the same publication time too, but you can also set a time stamp up to 12 hours later for special cases)For PRs that add a mirrored article to the main blog after the original article has merged into the contributor blog, ensure that all of the following criteria are met:No articles were published to the main blog after the original article was published to the contributor blog.There are no main blog articles scheduled for publication between the publication time of the original article and the publication time of your mirrored article.This is because the Kubernetes project doesn't want to add articles to people's feeds, such as RSS, except at the very end of their feed.the original article doesn't contravene any strongly recommended review guidelines or community normsthe mirrored article will have canonicalUrl set correctly in its front matterthe audience for the original article would find it relevantthe article content is not off-topic for the target blog where the mirror article would appearMirroring from the main blog to the contributor blog is rare, but could feasibly happen.How to mirrorYou make a PR against the other Git repository (usually, https://github.com/kubernetes/website) that ad",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-mirroring/",
    "id": "k8s_00406_qa_7759"
  },
  {
    "question": "What are the benefits of Blog article mirroring?",
    "answer": "Blog article mirroringThere are two official Kubernetes blogs, and the CNCF has its own blog where you can cover Kubernetes too. For the main Kubernetes blog, we (the Kubernetes project) like to publish articles with different perspectives and special focuses, that have a link to Kubernetes.Some articles appear on both blogs: there is a primary version of the article, and a mirror article on the other blog.This page describes the criteria for mirroring, the motivation for mirroring, and explains what you should do to ensure that an article publishes to both blogs.Before you beginMake sure you are familiar with the introduction sections of contributing to Kubernetes blogs, not just to learn about the two official blogs and the differences between them, but also to get an overview of the process.Why we mirrorMirroring is nearly always from the contributor blog to the main blog. The project does this for articles that are about the contributor community, or a part of it, but are also relevant to the wider set of readers for Kubernetes' main blog.As an author (or reviewer), consider the target audience and whether the blog post is appropriate for the main blog. For example: if the target audience are Kubernetes contributors only, then the contributor blog. may be more appropriate; if the blog post is about open source in general then it may be more suitable on another site outside the Kubernetes project.This consideration about target audience applies to original and mirrored articles equally.The Kubernetes project is willing to mirror any blog article that was published to https://kubernetes.dev/blog/ (the contributor blog), provided that all of the following criteria are met:the mirrored article has the same publication date as the original (it should have the same publication time too, but you can also set a time stamp up to 12 hours later for special cases)For PRs that add a mirrored article to the main blog after the original article has merged into the contributor blog, ensure that all of the following criteria are met:No articles were published to the main blog after the original article was published to the contributor blog.There are no main blog articles scheduled for publication between the publication time of the original article and the publication time of your mirrored article.This is because the Kubernetes project doesn't want to add articles to people's feeds, such as RSS, except at the very end of their feed.the original article doesn't contravene any strongly recommended review guidelines or community normsthe mirrored article will have canonicalUrl set correctly in its front matterthe audience for the original article would find it relevantthe article content is not off-topic for the target blog where the mirror article would appearMirroring from the main blog to the contributor blog is rare, but could feasibly happen.How to mirrorYou make a PR against the other Git repository (usually, https://github.com/kubernetes/website) that ad",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-mirroring/",
    "id": "k8s_00406_qa_7760"
  },
  {
    "question": "What is Blog article mirroring?",
    "answer": "T h e r e   a r e   t w o   o f f i c i a l   K u b e r n e t e s   b l o g s ,   a n d   t h e   C N C F   h a s   i t s   o w n   b l o g   w h e r e   y o u   c a n   c o v e r   K u b e r n e t e s   t o o .   F o r   t h e   m a i n   K u b e r n e t e s   b l o g ,   w e   ( t h e   K u b e r n e t e s   p r o j e c t )   l i k e   t o   p u b l i s h   a r t i c l e s   w i t h   d i f f e r e n t   p e r s p e c t i v e s   a n d   s p e c i a l   f o c u s e s ,   t h a t   h a v e   a   l i n k   t o   K u b e r n e t e s .   S o m e   a r t i c l e s   a p p e a r   o n   b o t h   b l o g s :   t h e r e   i s   a   p r i m a r y   v e r s i o n   o f   t h e   a r t i c l e ,   a n d   a   m i r r o r   a r t i c l e   o n   t h e   o t h e r   b l o g .   T h i s   p a g e   d e s c r i b e s   t h e   c r i t e r i a   f o r   m i r r o r i n g ,   t h e   m o t i v a t i o n   f o r   m i r r o r i n g ,   a n d   e x p l a i n s   w h a t   y o u   s h o u l d   d o   t o   e n s u r e   t h a t   a n   a r t i c l e   p u b l i s h e s   t o   b o t h   b l o g s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-mirroring/",
    "id": "k8s_00406_section_1_7761"
  },
  {
    "question": "What is Before you begin?",
    "answer": "M a k e   s u r e   y o u   a r e   f a m i l i a r   w i t h   t h e   i n t r o d u c t i o n   s e c t i o n s   o f   c o n t r i b u t i n g   t o   K u b e r n e t e s   b l o g s ,   n o t   j u s t   t o   l e a r n   a b o u t   t h e   t w o   o f f i c i a l   b l o g s   a n d   t h e   d i f f e r e n c e s   b e t w e e n   t h e m ,   b u t   a l s o   t o   g e t   a n   o v e r v i e w   o f   t h e   p r o c e s s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-mirroring/",
    "id": "k8s_00406_section_1_7762"
  },
  {
    "question": "What is Why we mirror?",
    "answer": "M i r r o r i n g   i s   n e a r l y   a l w a y s   f r o m   t h e   c o n t r i b u t o r   b l o g   t o   t h e   m a i n   b l o g .   T h e   p r o j e c t   d o e s   t h i s   f o r   a r t i c l e s   t h a t   a r e   a b o u t   t h e   c o n t r i b u t o r   c o m m u n i t y ,   o r   a   p a r t   o f   i t ,   b u t   a r e   a l s o   r e l e v a n t   t o   t h e   w i d e r   s e t   o f   r e a d e r s   f o r   K u b e r n e t e s '   m a i n   b l o g .   A s   a n   a u t h o r   ( o r   r e v i e w e r ) ,   c o n s i d e r   t h e   t a r g e t   a u d i e n c e   a n d   w h e t h e r   t h e   b l o g   p o s t   i s   a p p r o p r i a t e   f o r   t h e   m a i n   b l o g .   F o r   e x a m p l e :   i f   t h e   t a r g e t   a u d i e n c e   a r e   K u b e r n e t e s   c o n t r i b u t o r s   o n l y ,   t h e n   t h e   c o n t r i b u t o r   b l o g .   m a y   b e   m o r e   a p p r o p r i a t e ;   i f   t h e   b l o g   p o s t   i s   a b o u t   o p e n   s o u r c e   i n   g e n e r a l   t h e n   i t   m a y   b e   m o r e   s u i t a b l e   o n   a n o t h e r   s i t e   o u t s i d e   t h e   K u b e r n e t e s   p r o j e c t .   T h i s   c o n s i d e r a t i o n   a b o u t   t a r g e t   a u d i e n c e   a p p l i e s   t o   o r i g i n a l   a n d   m i r r o r e d   a r t i c l e s   e q u a l l y .   T h e   K u b e r n e t e s   p r o j e c t   i s   w i l l i n g   t o   m i r r o r   a n y   b l o g   a r t i c l e   t h a t   w a s   p u b l i s h e d   t o   h t t p s : / / k u b e r n e t e s . d e v / b l o g /   ( t h e   c o n t r i b u t o r   b l o g ) ,   p r o v i d e d   t h a t   a l l   o f   t h e   f o l l o w i n g   c r i t e r i a   a r e   m e t :   t h e   m i r r o r e d   a r t i c l e   h a s   t h e   s a m e   p u b l i c a t i o n   d a t e   a s   t h e   o r i g i n a l   ( i t   s h o u l d   h a v e   t h e   s a m e   p u b l i c a t i o n   t i m e   t o o ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-mirroring/",
    "id": "k8s_00406_section_2_7763"
  },
  {
    "question": "What is How to mirror?",
    "answer": "Y o u   m a k e   a   P R   a g a i n s t   t h e   o t h e r   G i t   r e p o s i t o r y   ( u s u a l l y ,   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / w e b s i t e )   t h a t   a d d s   t h e   a r t i c l e .   Y o u   d o   t h i s   b e f o r e   t h e   a r t i c l e s   m e r g e .   A s   t h e   a r t i c l e   a u t h o r ,   y o u   s h o u l d   s e t   t h e   c a n o n i c a l   U R L   f o r   t h e   m i r r o r e d   a r t i c l e ,   t o   t h e   U R L   o f   t h e   o r i g i n a l   a r t i c l e   ( y o u   c a n   u s e   a   p r e v i e w   t o   p r e d i c t   t h e   U R L   a n d   f i l l   t h i s   i n   a h e a d   o f   a c t u a l   p u b l i c a t i o n ) .   U s e   t h e   c a n o n i c a l U r l   f i e l d   i n   f r o n t   m a t t e r   f o r   t h i s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/article-mirroring/",
    "id": "k8s_00406_section_2_7764"
  },
  {
    "question": "What is Migrating telemetry and security agents from dockershim?",
    "answer": "Migrating telemetry and security agents from dockershimNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Kubernetes' support for direct integration with Docker Engine is deprecated and has been removed. Most apps do not have a direct dependency on runtime hosting containers. However, there are still a lot of telemetry and monitoring agents that have a dependency on Docker to collect containers metadata, logs, and metrics. This document aggregates information on how to detect these dependencies as well as links on how to migrate these agents to use generic tools or alternative runtimes.Telemetry and security agentsWithin a Kubernetes cluster there are a few different ways to run telemetry or security agents. Some agents have a direct dependency on Docker Engine when they run as DaemonSets or directly on nodes.Why do some telemetry agents communicate with Docker Engine?Historically, Kubernetes was written to work specifically with Docker Engine. Kubernetes took care of networking and scheduling, relying on Docker Engine for launching and running containers (within Pods) on a node. Some information that is relevant to telemetry, such as a pod name, is only available from Kubernetes components. Other data, such as container metrics, is not the responsibility of the container runtime. Early telemetry agents needed to query the container runtime and Kubernetes to report an accurate picture. Over time, Kubernetes gained the ability to support multiple runtimes, and now supports any runtime that is compatible with the container runtime interface.Some telemetry agents rely specifically on Docker Engine tooling. For example, an agent might run a command such as docker ps or docker top to list containers and processes or docker logs to receive streamed logs. If nodes in your existing cluster use Docker Engine, and you switch to a different container runtime, these commands will not work any longer.Identify DaemonSets that depend on Docker EngineIf a pod wants to make calls to the dockerd running on the node, the pod must either:mount the filesystem containing the Docker daemon's privileged socket, as a volume; ormount the specific path of the Docker daemon's privileged socket directly, also as a volume.For example: on COS images, Docker exposes its Unix domain socket at /var/run/docker.sock This means that the pod spec will include a hostPath volume mount of /var/run/docker.sock.Here's a sample shell script to find Pods that have a mount directly mapping the Docker socket. This script outputs the namespace and name of the pod. You can remove the grep '/var/run/docker.sock' to review other mounts.kubectl get pods --all-namespaces \\ -o=jsonpath='{range .items[*]}{\"\\n\"}{.metadata.namespace}{\":\\t\"}{.metadata.name}",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/migrating-telemetry-and-security-agents/",
    "id": "k8s_00407_qa_7765"
  },
  {
    "question": "How does Migrating telemetry and security agents from dockershim work?",
    "answer": "Migrating telemetry and security agents from dockershimNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Kubernetes' support for direct integration with Docker Engine is deprecated and has been removed. Most apps do not have a direct dependency on runtime hosting containers. However, there are still a lot of telemetry and monitoring agents that have a dependency on Docker to collect containers metadata, logs, and metrics. This document aggregates information on how to detect these dependencies as well as links on how to migrate these agents to use generic tools or alternative runtimes.Telemetry and security agentsWithin a Kubernetes cluster there are a few different ways to run telemetry or security agents. Some agents have a direct dependency on Docker Engine when they run as DaemonSets or directly on nodes.Why do some telemetry agents communicate with Docker Engine?Historically, Kubernetes was written to work specifically with Docker Engine. Kubernetes took care of networking and scheduling, relying on Docker Engine for launching and running containers (within Pods) on a node. Some information that is relevant to telemetry, such as a pod name, is only available from Kubernetes components. Other data, such as container metrics, is not the responsibility of the container runtime. Early telemetry agents needed to query the container runtime and Kubernetes to report an accurate picture. Over time, Kubernetes gained the ability to support multiple runtimes, and now supports any runtime that is compatible with the container runtime interface.Some telemetry agents rely specifically on Docker Engine tooling. For example, an agent might run a command such as docker ps or docker top to list containers and processes or docker logs to receive streamed logs. If nodes in your existing cluster use Docker Engine, and you switch to a different container runtime, these commands will not work any longer.Identify DaemonSets that depend on Docker EngineIf a pod wants to make calls to the dockerd running on the node, the pod must either:mount the filesystem containing the Docker daemon's privileged socket, as a volume; ormount the specific path of the Docker daemon's privileged socket directly, also as a volume.For example: on COS images, Docker exposes its Unix domain socket at /var/run/docker.sock This means that the pod spec will include a hostPath volume mount of /var/run/docker.sock.Here's a sample shell script to find Pods that have a mount directly mapping the Docker socket. This script outputs the namespace and name of the pod. You can remove the grep '/var/run/docker.sock' to review other mounts.kubectl get pods --all-namespaces \\ -o=jsonpath='{range .items[*]}{\"\\n\"}{.metadata.namespace}{\":\\t\"}{.metadata.name}",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/migrating-telemetry-and-security-agents/",
    "id": "k8s_00407_qa_7766"
  },
  {
    "question": "When would you use Migrating telemetry and security agents from dockershim?",
    "answer": "Migrating telemetry and security agents from dockershimNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Kubernetes' support for direct integration with Docker Engine is deprecated and has been removed. Most apps do not have a direct dependency on runtime hosting containers. However, there are still a lot of telemetry and monitoring agents that have a dependency on Docker to collect containers metadata, logs, and metrics. This document aggregates information on how to detect these dependencies as well as links on how to migrate these agents to use generic tools or alternative runtimes.Telemetry and security agentsWithin a Kubernetes cluster there are a few different ways to run telemetry or security agents. Some agents have a direct dependency on Docker Engine when they run as DaemonSets or directly on nodes.Why do some telemetry agents communicate with Docker Engine?Historically, Kubernetes was written to work specifically with Docker Engine. Kubernetes took care of networking and scheduling, relying on Docker Engine for launching and running containers (within Pods) on a node. Some information that is relevant to telemetry, such as a pod name, is only available from Kubernetes components. Other data, such as container metrics, is not the responsibility of the container runtime. Early telemetry agents needed to query the container runtime and Kubernetes to report an accurate picture. Over time, Kubernetes gained the ability to support multiple runtimes, and now supports any runtime that is compatible with the container runtime interface.Some telemetry agents rely specifically on Docker Engine tooling. For example, an agent might run a command such as docker ps or docker top to list containers and processes or docker logs to receive streamed logs. If nodes in your existing cluster use Docker Engine, and you switch to a different container runtime, these commands will not work any longer.Identify DaemonSets that depend on Docker EngineIf a pod wants to make calls to the dockerd running on the node, the pod must either:mount the filesystem containing the Docker daemon's privileged socket, as a volume; ormount the specific path of the Docker daemon's privileged socket directly, also as a volume.For example: on COS images, Docker exposes its Unix domain socket at /var/run/docker.sock This means that the pod spec will include a hostPath volume mount of /var/run/docker.sock.Here's a sample shell script to find Pods that have a mount directly mapping the Docker socket. This script outputs the namespace and name of the pod. You can remove the grep '/var/run/docker.sock' to review other mounts.kubectl get pods --all-namespaces \\ -o=jsonpath='{range .items[*]}{\"\\n\"}{.metadata.namespace}{\":\\t\"}{.metadata.name}",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/migrating-telemetry-and-security-agents/",
    "id": "k8s_00407_qa_7767"
  },
  {
    "question": "What are the benefits of Migrating telemetry and security agents from dockershim?",
    "answer": "Migrating telemetry and security agents from dockershimNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Kubernetes' support for direct integration with Docker Engine is deprecated and has been removed. Most apps do not have a direct dependency on runtime hosting containers. However, there are still a lot of telemetry and monitoring agents that have a dependency on Docker to collect containers metadata, logs, and metrics. This document aggregates information on how to detect these dependencies as well as links on how to migrate these agents to use generic tools or alternative runtimes.Telemetry and security agentsWithin a Kubernetes cluster there are a few different ways to run telemetry or security agents. Some agents have a direct dependency on Docker Engine when they run as DaemonSets or directly on nodes.Why do some telemetry agents communicate with Docker Engine?Historically, Kubernetes was written to work specifically with Docker Engine. Kubernetes took care of networking and scheduling, relying on Docker Engine for launching and running containers (within Pods) on a node. Some information that is relevant to telemetry, such as a pod name, is only available from Kubernetes components. Other data, such as container metrics, is not the responsibility of the container runtime. Early telemetry agents needed to query the container runtime and Kubernetes to report an accurate picture. Over time, Kubernetes gained the ability to support multiple runtimes, and now supports any runtime that is compatible with the container runtime interface.Some telemetry agents rely specifically on Docker Engine tooling. For example, an agent might run a command such as docker ps or docker top to list containers and processes or docker logs to receive streamed logs. If nodes in your existing cluster use Docker Engine, and you switch to a different container runtime, these commands will not work any longer.Identify DaemonSets that depend on Docker EngineIf a pod wants to make calls to the dockerd running on the node, the pod must either:mount the filesystem containing the Docker daemon's privileged socket, as a volume; ormount the specific path of the Docker daemon's privileged socket directly, also as a volume.For example: on COS images, Docker exposes its Unix domain socket at /var/run/docker.sock This means that the pod spec will include a hostPath volume mount of /var/run/docker.sock.Here's a sample shell script to find Pods that have a mount directly mapping the Docker socket. This script outputs the namespace and name of the pod. You can remove the grep '/var/run/docker.sock' to review other mounts.kubectl get pods --all-namespaces \\ -o=jsonpath='{range .items[*]}{\"\\n\"}{.metadata.namespace}{\":\\t\"}{.metadata.name}",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/migrating-telemetry-and-security-agents/",
    "id": "k8s_00407_qa_7768"
  },
  {
    "question": "What is Migrating telemetry and security agents from dockershim?",
    "answer": "K u b e r n e t e s '   s u p p o r t   f o r   d i r e c t   i n t e g r a t i o n   w i t h   D o c k e r   E n g i n e   i s   d e p r e c a t e d   a n d   h a s   b e e n   r e m o v e d .   M o s t   a p p s   d o   n o t   h a v e   a   d i r e c t   d e p e n d e n c y   o n   r u n t i m e   h o s t i n g   c o n t a i n e r s .   H o w e v e r ,   t h e r e   a r e   s t i l l   a   l o t   o f   t e l e m e t r y   a n d   m o n i t o r i n g   a g e n t s   t h a t   h a v e   a   d e p e n d e n c y   o n   D o c k e r   t o   c o l l e c t   c o n t a i n e r s   m e t a d a t a ,   l o g s ,   a n d   m e t r i c s .   T h i s   d o c u m e n t   a g g r e g a t e s   i n f o r m a t i o n   o n   h o w   t o   d e t e c t   t h e s e   d e p e n d e n c i e s   a s   w e l l   a s   l i n k s   o n   h o w   t o   m i g r a t e   t h e s e   a g e n t s   t o   u s e   g e n e r i c   t o o l s   o r   a l t e r n a t i v e   r u n t i m e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/migrating-telemetry-and-security-agents/",
    "id": "k8s_00407_section_1_7769"
  },
  {
    "question": "What is Telemetry and security agents?",
    "answer": "W i t h i n   a   K u b e r n e t e s   c l u s t e r   t h e r e   a r e   a   f e w   d i f f e r e n t   w a y s   t o   r u n   t e l e m e t r y   o r   s e c u r i t y   a g e n t s .   S o m e   a g e n t s   h a v e   a   d i r e c t   d e p e n d e n c y   o n   D o c k e r   E n g i n e   w h e n   t h e y   r u n   a s   D a e m o n S e t s   o r   d i r e c t l y   o n   n o d e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/migrating-telemetry-and-security-agents/",
    "id": "k8s_00407_section_2_7770"
  },
  {
    "question": "What is Why do some telemetry agents communicate with Docker Engine??",
    "answer": "H i s t o r i c a l l y ,   K u b e r n e t e s   w a s   w r i t t e n   t o   w o r k   s p e c i f i c a l l y   w i t h   D o c k e r   E n g i n e .   K u b e r n e t e s   t o o k   c a r e   o f   n e t w o r k i n g   a n d   s c h e d u l i n g ,   r e l y i n g   o n   D o c k e r   E n g i n e   f o r   l a u n c h i n g   a n d   r u n n i n g   c o n t a i n e r s   ( w i t h i n   P o d s )   o n   a   n o d e .   S o m e   i n f o r m a t i o n   t h a t   i s   r e l e v a n t   t o   t e l e m e t r y ,   s u c h   a s   a   p o d   n a m e ,   i s   o n l y   a v a i l a b l e   f r o m   K u b e r n e t e s   c o m p o n e n t s .   O t h e r   d a t a ,   s u c h   a s   c o n t a i n e r   m e t r i c s ,   i s   n o t   t h e   r e s p o n s i b i l i t y   o f   t h e   c o n t a i n e r   r u n t i m e .   E a r l y   t e l e m e t r y   a g e n t s   n e e d e d   t o   q u e r y   t h e   c o n t a i n e r   r u n t i m e   a n d   K u b e r n e t e s   t o   r e p o r t   a n   a c c u r a t e   p i c t u r e .   O v e r   t i m e ,   K u b e r n e t e s   g a i n e d   t h e   a b i l i t y   t o   s u p p o r t   m u l t i p l e   r u n t i m e s ,   a n d   n o w   s u p p o r t s   a n y   r u n t i m e   t h a t   i s   c o m p a t i b l e   w i t h   t h e   c o n t a i n e r   r u n t i m e   i n t e r f a c e .   S o m e   t e l e m e t r y   a g e n t s   r e l y   s p e c i f i c a l l y   o n   D o c k e r   E n g i n e   t o o l i n g .   F o r   e x a m p l e ,   a n   a g e n t   m i g h t   r u n   a   c o m m a n d   s u c h   a s   d o c k e r   p s   o r   d o c k e r   t o p   t o   l i s t   c o n t a i n e r s   a n d   p r o c e s s e s   o r   d o c k e r   l o g s   t o   r e c e i v e   s t r e a m e d   l o g s .   I f   n o d e s   i n   y o u r   e x i s t i n g   c l u s t e r   u s e   D o c k e r   E n g i n e ,   a n d   y o u   s w i t c h   t o   a   d i f f e r e n t   c o n t a i n e r   r u n t i m e , ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/migrating-telemetry-and-security-agents/",
    "id": "k8s_00407_section_3_7771"
  },
  {
    "question": "What is Identify DaemonSets that depend on Docker Engine?",
    "answer": "I f   a   p o d   w a n t s   t o   m a k e   c a l l s   t o   t h e   d o c k e r d   r u n n i n g   o n   t h e   n o d e ,   t h e   p o d   m u s t   e i t h e r :   m o u n t   t h e   f i l e s y s t e m   c o n t a i n i n g   t h e   D o c k e r   d a e m o n ' s   p r i v i l e g e d   s o c k e t ,   a s   a   v o l u m e ;   o r m o u n t   t h e   s p e c i f i c   p a t h   o f   t h e   D o c k e r   d a e m o n ' s   p r i v i l e g e d   s o c k e t   d i r e c t l y ,   a l s o   a s   a   v o l u m e .   F o r   e x a m p l e :   o n   C O S   i m a g e s ,   D o c k e r   e x p o s e s   i t s   U n i x   d o m a i n   s o c k e t   a t   / v a r / r u n / d o c k e r . s o c k   T h i s   m e a n s   t h a t   t h e   p o d   s p e c   w i l l   i n c l u d e   a   h o s t P a t h   v o l u m e   m o u n t   o f   / v a r / r u n / d o c k e r . s o c k .   H e r e ' s   a   s a m p l e   s h e l l   s c r i p t   t o   f i n d   P o d s   t h a t   h a v e   a   m o u n t   d i r e c t l y   m a p p i n g   t h e   D o c k e r   s o c k e t .   T h i s   s c r i p t   o u t p u t s   t h e   n a m e s p a c e   a n d   n a m e   o f   t h e   p o d .   Y o u   c a n   r e m o v e   t h e   g r e p   ' / v a r / r u n / d o c k e r . s o c k '   t o   r e v i e w   o t h e r   m o u n t s .   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s   \\   - o = j s o n p a t h = ' { r a n g e   . i t e m s [ * ] } { \" \\ n \" } { . m e t a d a t a . n a m e s p a c e } { \" : \\ t \" } { . m e t a d a t a . n a m e } { \" : \\ t \" } { r a n g e   . s p e c . v o l u m e s [ * ] } { . h o s t P a t h . p a t h } { \" ,   \" } { e n d } { e n d } '   \\   |   s o r t   \\   |   g r e p   ' / v a r / r u n / d o c k e r . s o c k '",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/migrating-telemetry-and-security-agents/",
    "id": "k8s_00407_section_3_7772"
  },
  {
    "question": "What is Detecting Docker dependency from node agents?",
    "answer": "I f   y o u r   c l u s t e r   n o d e s   a r e   c u s t o m i z e d   a n d   i n s t a l l   a d d i t i o n a l   s e c u r i t y   a n d   t e l e m e t r y   a g e n t s   o n   t h e   n o d e ,   c h e c k   w i t h   t h e   a g e n t   v e n d o r   t o   v e r i f y   w h e t h e r   i t   h a s   a n y   d e p e n d e n c y   o n   D o c k e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/migrating-telemetry-and-security-agents/",
    "id": "k8s_00407_section_3_7773"
  },
  {
    "question": "What is Telemetry and security agent vendors?",
    "answer": "T h i s   s e c t i o n   i s   i n t e n d e d   t o   a g g r e g a t e   i n f o r m a t i o n   a b o u t   v a r i o u s   t e l e m e t r y   a n d   s e c u r i t y   a g e n t s   t h a t   m a y   h a v e   a   d e p e n d e n c y   o n   c o n t a i n e r   r u n t i m e s .   W e   k e e p   t h e   w o r k   i n   p r o g r e s s   v e r s i o n   o f   m i g r a t i o n   i n s t r u c t i o n s   f o r   v a r i o u s   t e l e m e t r y   a n d   s e c u r i t y   a g e n t   v e n d o r s   i n   G o o g l e   d o c .   P l e a s e   c o n t a c t   t h e   v e n d o r   t o   g e t   u p   t o   d a t e   i n s t r u c t i o n s   f o r   m i g r a t i n g   f r o m   d o c k e r s h i m .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/migrating-telemetry-and-security-agents/",
    "id": "k8s_00407_section_3_7774"
  },
  {
    "question": "What is Aqua?",
    "answer": "N o   c h a n g e s   a r e   n e e d e d :   e v e r y t h i n g   s h o u l d   w o r k   s e a m l e s s l y   o n   t h e   r u n t i m e   s w i t c h .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/migrating-telemetry-and-security-agents/",
    "id": "k8s_00407_section_3_7775"
  },
  {
    "question": "What is Datadog?",
    "answer": "H o w   t o   m i g r a t e :   D o c k e r   d e p r e c a t i o n   i n   K u b e r n e t e s   T h e   p o d   t h a t   a c c e s s e s   D o c k e r   E n g i n e   m a y   h a v e   a   n a m e   c o n t a i n i n g   a n y   o f :   d a t a d o g - a g e n t d a t a d o g d d - a g e n t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/migrating-telemetry-and-security-agents/",
    "id": "k8s_00407_section_3_7776"
  },
  {
    "question": "What is Dynatrace?",
    "answer": "H o w   t o   m i g r a t e :   M i g r a t i n g   f r o m   D o c k e r - o n l y   t o   g e n e r i c   c o n t a i n e r   m e t r i c s   i n   D y n a t r a c e   C o n t a i n e r d   s u p p o r t   a n n o u n c e m e n t :   G e t   a u t o m a t e d   f u l l - s t a c k   v i s i b i l i t y   i n t o   c o n t a i n e r d - b a s e d   K u b e r n e t e s   e n v i r o n m e n t s   C R I - O   s u p p o r t   a n n o u n c e m e n t :   G e t   a u t o m a t e d   f u l l - s t a c k   v i s i b i l i t y   i n t o   y o u r   C R I - O   K u b e r n e t e s   c o n t a i n e r s   ( B e t a )   T h e   p o d   a c c e s s i n g   D o c k e r   m a y   h a v e   n a m e   c o n t a i n i n g :   d y n a t r a c e - o n e a g e n t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/migrating-telemetry-and-security-agents/",
    "id": "k8s_00407_section_3_7777"
  },
  {
    "question": "What is Falco?",
    "answer": "H o w   t o   m i g r a t e :   M i g r a t e   F a l c o   f r o m   d o c k e r s h i m   F a l c o   s u p p o r t s   a n y   C R I - c o m p a t i b l e   r u n t i m e   ( c o n t a i n e r d   i s   u s e d   i n   t h e   d e f a u l t   c o n f i g u r a t i o n ) ;   t h e   d o c u m e n t a t i o n   e x p l a i n s   a l l   d e t a i l s .   T h e   p o d   a c c e s s i n g   D o c k e r   m a y   h a v e   n a m e   c o n t a i n i n g :   f a l c o",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/migrating-telemetry-and-security-agents/",
    "id": "k8s_00407_section_3_7778"
  },
  {
    "question": "What is Prisma Cloud Compute?",
    "answer": "C h e c k   d o c u m e n t a t i o n   f o r   P r i s m a   C l o u d ,   u n d e r   t h e   \" I n s t a l l   P r i s m a   C l o u d   o n   a   C R I   ( n o n - D o c k e r )   c l u s t e r \"   s e c t i o n .   T h e   p o d   a c c e s s i n g   D o c k e r   m a y   b e   n a m e d   l i k e :   t w i s t l o c k - d e f e n d e r - d s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/migrating-telemetry-and-security-agents/",
    "id": "k8s_00407_section_3_7779"
  },
  {
    "question": "What is SignalFx (Splunk)?",
    "answer": "T h e   S i g n a l F x   S m a r t   A g e n t   ( d e p r e c a t e d )   u s e s   s e v e r a l   d i f f e r e n t   m o n i t o r s   f o r   K u b e r n e t e s   i n c l u d i n g   k u b e r n e t e s - c l u s t e r ,   k u b e l e t - s t a t s / k u b e l e t - m e t r i c s ,   a n d   d o c k e r - c o n t a i n e r - s t a t s .   T h e   k u b e l e t - s t a t s   m o n i t o r   w a s   p r e v i o u s l y   d e p r e c a t e d   b y   t h e   v e n d o r ,   i n   f a v o r   o f   k u b e l e t - m e t r i c s .   T h e   d o c k e r - c o n t a i n e r - s t a t s   m o n i t o r   i s   t h e   o n e   a f f e c t e d   b y   d o c k e r s h i m   r e m o v a l .   D o   n o t   u s e   t h e   d o c k e r - c o n t a i n e r - s t a t s   w i t h   c o n t a i n e r   r u n t i m e s   o t h e r   t h a n   D o c k e r   E n g i n e .   H o w   t o   m i g r a t e   f r o m   d o c k e r s h i m - d e p e n d e n t   a g e n t :   R e m o v e   d o c k e r - c o n t a i n e r - s t a t s   f r o m   t h e   l i s t   o f   c o n f i g u r e d   m o n i t o r s .   N o t e ,   k e e p i n g   t h i s   m o n i t o r   e n a b l e d   w i t h   n o n - d o c k e r s h i m   r u n t i m e   w i l l   r e s u l t   i n   i n c o r r e c t   m e t r i c s   b e i n g   r e p o r t e d   w h e n   d o c k e r   i s   i n s t a l l e d   o n   n o d e   a n d   n o   m e t r i c s   w h e n   d o c k e r   i s   n o t   i n s t a l l e d . E n a b l e   a n d   c o n f i g u r e   k u b e l e t - m e t r i c s   m o n i t o r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/migrating-telemetry-and-security-agents/",
    "id": "k8s_00407_section_3_7780"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   P o d   a c c e s s i n g   D o c k e r   m a y   b e   n a m e d   s o m e t h i n g   l i k e :   s i g n a l f x - a g e n t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/migrating-telemetry-and-security-agents/",
    "id": "k8s_00407_section_4_7781"
  },
  {
    "question": "What is Yahoo Kubectl Flame?",
    "answer": "F l a m e   d o e s   n o t   s u p p o r t   c o n t a i n e r   r u n t i m e s   o t h e r   t h a n   D o c k e r .   S e e   h t t p s : / / g i t h u b . c o m / y a h o o / k u b e c t l - f l a m e / i s s u e s / 5 1   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/migrating-telemetry-and-security-agents/",
    "id": "k8s_00407_section_3_7782"
  },
  {
    "question": "What is Downward API?",
    "answer": "Downward APIThere are two ways to expose Pod and container fields to a running container: environment variables, and as files that are populated by a special volume type. Together, these two ways of exposing Pod and container fields are called the downward API.It is sometimes useful for a container to have information about itself, without being overly coupled to Kubernetes. The downward API allows containers to consume information about themselves or the cluster without using the Kubernetes client or API server.An example is an existing application that assumes a particular well-known environment variable holds a unique identifier. One possibility is to wrap the application, but that is tedious and error-prone, and it violates the goal of low coupling. A better option would be to use the Pod's name as an identifier, and inject the Pod's name into the well-known environment variable.In Kubernetes, there are two ways to expose Pod and container fields to a running container:as environment variablesas files in a downwardAPI volumeTogether, these two ways of exposing Pod and container fields are called the downward API.Available fieldsOnly some Kubernetes API fields are available through the downward API. This section lists which fields you can make available.You can pass information from available Pod-level fields using fieldRef. At the API level, the spec for a Pod always defines at least one Container. You can pass information from available Container-level fields using resourceFieldRef.Information available via fieldRefFor some Pod-level fields, you can provide them to a container either as an environment variable or using a downwardAPI volume. The fields available via either mechanism are:metadata.namethe pod's namemetadata.namespacethe pod's namespacemetadata.uidthe pod's unique IDmetadata.annotations['<KEY>']the value of the pod's annotation named <KEY> (for example, metadata.annotations['myannotation'])metadata.labels['<KEY>']the text value of the pod's label named <KEY> (for example, metadata.labels['mylabel'])The following information is available through environment variables but not as a downwardAPI volume fieldRef:spec.serviceAccountNamethe name of the pod's service accountspec.nodeNamethe name of the node where the Pod is executingstatus.hostIPthe primary IP address of the node to which the Pod is assignedstatus.hostIPsthe IP addresses is a dual-stack version of status.hostIP, the first is always the same as status.hostIP.status.podIPthe pod's primary IP address (usually, its IPv4 address)status.podIPsthe IP addresses is a dual-stack version of status.podIP, the first is always the same as status.podIPThe following information is available through a downwardAPI volume fieldRef, but not as environment variables:metadata.labelsall of the pod's labels, formatted as label-key=\"escaped-label-value\" with one label per linemetadata.annotationsall of the pod's annotations, formatted as annotation-key=\"escaped-annotation-value\" with one annotat",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/downward-api/",
    "id": "k8s_00408_qa_7783"
  },
  {
    "question": "How does Downward API work?",
    "answer": "Downward APIThere are two ways to expose Pod and container fields to a running container: environment variables, and as files that are populated by a special volume type. Together, these two ways of exposing Pod and container fields are called the downward API.It is sometimes useful for a container to have information about itself, without being overly coupled to Kubernetes. The downward API allows containers to consume information about themselves or the cluster without using the Kubernetes client or API server.An example is an existing application that assumes a particular well-known environment variable holds a unique identifier. One possibility is to wrap the application, but that is tedious and error-prone, and it violates the goal of low coupling. A better option would be to use the Pod's name as an identifier, and inject the Pod's name into the well-known environment variable.In Kubernetes, there are two ways to expose Pod and container fields to a running container:as environment variablesas files in a downwardAPI volumeTogether, these two ways of exposing Pod and container fields are called the downward API.Available fieldsOnly some Kubernetes API fields are available through the downward API. This section lists which fields you can make available.You can pass information from available Pod-level fields using fieldRef. At the API level, the spec for a Pod always defines at least one Container. You can pass information from available Container-level fields using resourceFieldRef.Information available via fieldRefFor some Pod-level fields, you can provide them to a container either as an environment variable or using a downwardAPI volume. The fields available via either mechanism are:metadata.namethe pod's namemetadata.namespacethe pod's namespacemetadata.uidthe pod's unique IDmetadata.annotations['<KEY>']the value of the pod's annotation named <KEY> (for example, metadata.annotations['myannotation'])metadata.labels['<KEY>']the text value of the pod's label named <KEY> (for example, metadata.labels['mylabel'])The following information is available through environment variables but not as a downwardAPI volume fieldRef:spec.serviceAccountNamethe name of the pod's service accountspec.nodeNamethe name of the node where the Pod is executingstatus.hostIPthe primary IP address of the node to which the Pod is assignedstatus.hostIPsthe IP addresses is a dual-stack version of status.hostIP, the first is always the same as status.hostIP.status.podIPthe pod's primary IP address (usually, its IPv4 address)status.podIPsthe IP addresses is a dual-stack version of status.podIP, the first is always the same as status.podIPThe following information is available through a downwardAPI volume fieldRef, but not as environment variables:metadata.labelsall of the pod's labels, formatted as label-key=\"escaped-label-value\" with one label per linemetadata.annotationsall of the pod's annotations, formatted as annotation-key=\"escaped-annotation-value\" with one annotat",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/downward-api/",
    "id": "k8s_00408_qa_7784"
  },
  {
    "question": "When would you use Downward API?",
    "answer": "Downward APIThere are two ways to expose Pod and container fields to a running container: environment variables, and as files that are populated by a special volume type. Together, these two ways of exposing Pod and container fields are called the downward API.It is sometimes useful for a container to have information about itself, without being overly coupled to Kubernetes. The downward API allows containers to consume information about themselves or the cluster without using the Kubernetes client or API server.An example is an existing application that assumes a particular well-known environment variable holds a unique identifier. One possibility is to wrap the application, but that is tedious and error-prone, and it violates the goal of low coupling. A better option would be to use the Pod's name as an identifier, and inject the Pod's name into the well-known environment variable.In Kubernetes, there are two ways to expose Pod and container fields to a running container:as environment variablesas files in a downwardAPI volumeTogether, these two ways of exposing Pod and container fields are called the downward API.Available fieldsOnly some Kubernetes API fields are available through the downward API. This section lists which fields you can make available.You can pass information from available Pod-level fields using fieldRef. At the API level, the spec for a Pod always defines at least one Container. You can pass information from available Container-level fields using resourceFieldRef.Information available via fieldRefFor some Pod-level fields, you can provide them to a container either as an environment variable or using a downwardAPI volume. The fields available via either mechanism are:metadata.namethe pod's namemetadata.namespacethe pod's namespacemetadata.uidthe pod's unique IDmetadata.annotations['<KEY>']the value of the pod's annotation named <KEY> (for example, metadata.annotations['myannotation'])metadata.labels['<KEY>']the text value of the pod's label named <KEY> (for example, metadata.labels['mylabel'])The following information is available through environment variables but not as a downwardAPI volume fieldRef:spec.serviceAccountNamethe name of the pod's service accountspec.nodeNamethe name of the node where the Pod is executingstatus.hostIPthe primary IP address of the node to which the Pod is assignedstatus.hostIPsthe IP addresses is a dual-stack version of status.hostIP, the first is always the same as status.hostIP.status.podIPthe pod's primary IP address (usually, its IPv4 address)status.podIPsthe IP addresses is a dual-stack version of status.podIP, the first is always the same as status.podIPThe following information is available through a downwardAPI volume fieldRef, but not as environment variables:metadata.labelsall of the pod's labels, formatted as label-key=\"escaped-label-value\" with one label per linemetadata.annotationsall of the pod's annotations, formatted as annotation-key=\"escaped-annotation-value\" with one annotat",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/downward-api/",
    "id": "k8s_00408_qa_7785"
  },
  {
    "question": "What are the benefits of Downward API?",
    "answer": "Downward APIThere are two ways to expose Pod and container fields to a running container: environment variables, and as files that are populated by a special volume type. Together, these two ways of exposing Pod and container fields are called the downward API.It is sometimes useful for a container to have information about itself, without being overly coupled to Kubernetes. The downward API allows containers to consume information about themselves or the cluster without using the Kubernetes client or API server.An example is an existing application that assumes a particular well-known environment variable holds a unique identifier. One possibility is to wrap the application, but that is tedious and error-prone, and it violates the goal of low coupling. A better option would be to use the Pod's name as an identifier, and inject the Pod's name into the well-known environment variable.In Kubernetes, there are two ways to expose Pod and container fields to a running container:as environment variablesas files in a downwardAPI volumeTogether, these two ways of exposing Pod and container fields are called the downward API.Available fieldsOnly some Kubernetes API fields are available through the downward API. This section lists which fields you can make available.You can pass information from available Pod-level fields using fieldRef. At the API level, the spec for a Pod always defines at least one Container. You can pass information from available Container-level fields using resourceFieldRef.Information available via fieldRefFor some Pod-level fields, you can provide them to a container either as an environment variable or using a downwardAPI volume. The fields available via either mechanism are:metadata.namethe pod's namemetadata.namespacethe pod's namespacemetadata.uidthe pod's unique IDmetadata.annotations['<KEY>']the value of the pod's annotation named <KEY> (for example, metadata.annotations['myannotation'])metadata.labels['<KEY>']the text value of the pod's label named <KEY> (for example, metadata.labels['mylabel'])The following information is available through environment variables but not as a downwardAPI volume fieldRef:spec.serviceAccountNamethe name of the pod's service accountspec.nodeNamethe name of the node where the Pod is executingstatus.hostIPthe primary IP address of the node to which the Pod is assignedstatus.hostIPsthe IP addresses is a dual-stack version of status.hostIP, the first is always the same as status.hostIP.status.podIPthe pod's primary IP address (usually, its IPv4 address)status.podIPsthe IP addresses is a dual-stack version of status.podIP, the first is always the same as status.podIPThe following information is available through a downwardAPI volume fieldRef, but not as environment variables:metadata.labelsall of the pod's labels, formatted as label-key=\"escaped-label-value\" with one label per linemetadata.annotationsall of the pod's annotations, formatted as annotation-key=\"escaped-annotation-value\" with one annotat",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/downward-api/",
    "id": "k8s_00408_qa_7786"
  },
  {
    "question": "What is Downward API?",
    "answer": "I t   i s   s o m e t i m e s   u s e f u l   f o r   a   c o n t a i n e r   t o   h a v e   i n f o r m a t i o n   a b o u t   i t s e l f ,   w i t h o u t   b e i n g   o v e r l y   c o u p l e d   t o   K u b e r n e t e s .   T h e   d o w n w a r d   A P I   a l l o w s   c o n t a i n e r s   t o   c o n s u m e   i n f o r m a t i o n   a b o u t   t h e m s e l v e s   o r   t h e   c l u s t e r   w i t h o u t   u s i n g   t h e   K u b e r n e t e s   c l i e n t   o r   A P I   s e r v e r .   A n   e x a m p l e   i s   a n   e x i s t i n g   a p p l i c a t i o n   t h a t   a s s u m e s   a   p a r t i c u l a r   w e l l - k n o w n   e n v i r o n m e n t   v a r i a b l e   h o l d s   a   u n i q u e   i d e n t i f i e r .   O n e   p o s s i b i l i t y   i s   t o   w r a p   t h e   a p p l i c a t i o n ,   b u t   t h a t   i s   t e d i o u s   a n d   e r r o r - p r o n e ,   a n d   i t   v i o l a t e s   t h e   g o a l   o f   l o w   c o u p l i n g .   A   b e t t e r   o p t i o n   w o u l d   b e   t o   u s e   t h e   P o d ' s   n a m e   a s   a n   i d e n t i f i e r ,   a n d   i n j e c t   t h e   P o d ' s   n a m e   i n t o   t h e   w e l l - k n o w n   e n v i r o n m e n t   v a r i a b l e .   I n   K u b e r n e t e s ,   t h e r e   a r e   t w o   w a y s   t o   e x p o s e   P o d   a n d   c o n t a i n e r   f i e l d s   t o   a   r u n n i n g   c o n t a i n e r :   a s   e n v i r o n m e n t   v a r i a b l e s a s   f i l e s   i n   a   d o w n w a r d A P I   v o l u m e   T o g e t h e r ,   t h e s e   t w o   w a y s   o f   e x p o s i n g   P o d   a n d   c o n t a i n e r   f i e l d s   a r e   c a l l e d   t h e   d o w n w a r d   A P I .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/downward-api/",
    "id": "k8s_00408_section_1_7787"
  },
  {
    "question": "What is Available fields?",
    "answer": "O n l y   s o m e   K u b e r n e t e s   A P I   f i e l d s   a r e   a v a i l a b l e   t h r o u g h   t h e   d o w n w a r d   A P I .   T h i s   s e c t i o n   l i s t s   w h i c h   f i e l d s   y o u   c a n   m a k e   a v a i l a b l e .   Y o u   c a n   p a s s   i n f o r m a t i o n   f r o m   a v a i l a b l e   P o d - l e v e l   f i e l d s   u s i n g   f i e l d R e f .   A t   t h e   A P I   l e v e l ,   t h e   s p e c   f o r   a   P o d   a l w a y s   d e f i n e s   a t   l e a s t   o n e   C o n t a i n e r .   Y o u   c a n   p a s s   i n f o r m a t i o n   f r o m   a v a i l a b l e   C o n t a i n e r - l e v e l   f i e l d s   u s i n g   r e s o u r c e F i e l d R e f .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/downward-api/",
    "id": "k8s_00408_section_2_7788"
  },
  {
    "question": "What is Information available via fieldRef?",
    "answer": "F o r   s o m e   P o d - l e v e l   f i e l d s ,   y o u   c a n   p r o v i d e   t h e m   t o   a   c o n t a i n e r   e i t h e r   a s   a n   e n v i r o n m e n t   v a r i a b l e   o r   u s i n g   a   d o w n w a r d A P I   v o l u m e .   T h e   f i e l d s   a v a i l a b l e   v i a   e i t h e r   m e c h a n i s m   a r e :   T h e   f o l l o w i n g   i n f o r m a t i o n   i s   a v a i l a b l e   t h r o u g h   e n v i r o n m e n t   v a r i a b l e s   b u t   n o t   a s   a   d o w n w a r d A P I   v o l u m e   f i e l d R e f :   T h e   f o l l o w i n g   i n f o r m a t i o n   i s   a v a i l a b l e   t h r o u g h   a   d o w n w a r d A P I   v o l u m e   f i e l d R e f ,   b u t   n o t   a s   e n v i r o n m e n t   v a r i a b l e s :",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/downward-api/",
    "id": "k8s_00408_section_3_7789"
  },
  {
    "question": "What is Information available via resourceFieldRef?",
    "answer": "T h e s e   c o n t a i n e r - l e v e l   f i e l d s   a l l o w   y o u   t o   p r o v i d e   i n f o r m a t i o n   a b o u t   r e q u e s t s   a n d   l i m i t s   f o r   r e s o u r c e s   s u c h   a s   C P U   a n d   m e m o r y .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/downward-api/",
    "id": "k8s_00408_section_3_7790"
  },
  {
    "question": "What is Note:?",
    "answer": "C o n t a i n e r   C P U   a n d   m e m o r y   r e s o u r c e s   c a n   b e   r e s i z e d   w h i l e   t h e   c o n t a i n e r   i s   r u n n i n g .   I f   t h i s   h a p p e n s ,   a   d o w n w a r d   A P I   v o l u m e   w i l l   b e   u p d a t e d ,   b u t   e n v i r o n m e n t   v a r i a b l e s   w i l l   n o t   b e   u p d a t e d   u n l e s s   t h e   c o n t a i n e r   r e s t a r t s .   S e e   R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/downward-api/",
    "id": "k8s_00408_section_4_7791"
  },
  {
    "question": "What is Fallback information for resource limits?",
    "answer": "I f   C P U   a n d   m e m o r y   l i m i t s   a r e   n o t   s p e c i f i e d   f o r   a   c o n t a i n e r ,   a n d   y o u   u s e   t h e   d o w n w a r d   A P I   t o   t r y   t o   e x p o s e   t h a t   i n f o r m a t i o n ,   t h e n   t h e   k u b e l e t   d e f a u l t s   t o   e x p o s i n g   t h e   m a x i m u m   a l l o c a t a b l e   v a l u e   f o r   C P U   a n d   m e m o r y   b a s e d   o n   t h e   n o d e   a l l o c a t a b l e   c a l c u l a t i o n .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/downward-api/",
    "id": "k8s_00408_section_4_7792"
  },
  {
    "question": "What is What's next?",
    "answer": "Y o u   c a n   r e a d   a b o u t   d o w n w a r d A P I   v o l u m e s .   Y o u   c a n   t r y   u s i n g   t h e   d o w n w a r d   A P I   t o   e x p o s e   c o n t a i n e r -   o r   P o d - l e v e l   i n f o r m a t i o n :   a s   e n v i r o n m e n t   v a r i a b l e s a s   f i l e s   i n   d o w n w a r d A P I   v o l u m e",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/downward-api/",
    "id": "k8s_00408_section_2_7793"
  },
  {
    "question": "What is ServiceCIDR?",
    "answer": "ServiceCIDRServiceCIDR defines a range of IP addresses using CIDR format (e.apiVersion: networking.k8s.io/v1import \"k8s.io/api/networking/v1\"ServiceCIDRServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.apiVersion: networking.k8s.io/v1kind: ServiceCIDRmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (ServiceCIDRSpec)spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (ServiceCIDRStatus)status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusServiceCIDRSpecServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.cidrs ([]string)Atomic: will be replaced during a mergeCIDRs defines the IP blocks in CIDR notation (e.g. \"192.168.0.0/24\" or \"2001:db8::/64\") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.ServiceCIDRStatusServiceCIDRStatus describes the current state of the ServiceCIDR.conditions ([]Condition)Patch strategy: merge on key typeMap: unique values on key type will be kept during a mergeconditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service stateCondition contains details for one aspect of the current state of this API Resource.conditions.lastTransitionTime (Time), requiredlastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.conditions.message (string), requiredmessage is a human readable message indicating details about the transition. This may be an empty string.conditions.reason (string), requiredreason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.conditions.status (string), requiredstatus of the condition, one of True, False, Unknown.conditions.type (string), requiredtype of condition in CamelCase or in foo.example.com/CamelCase.conditions.observedGeneration (int64)observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedG",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_qa_7794"
  },
  {
    "question": "How does ServiceCIDR work?",
    "answer": "ServiceCIDRServiceCIDR defines a range of IP addresses using CIDR format (e.apiVersion: networking.k8s.io/v1import \"k8s.io/api/networking/v1\"ServiceCIDRServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.apiVersion: networking.k8s.io/v1kind: ServiceCIDRmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (ServiceCIDRSpec)spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (ServiceCIDRStatus)status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusServiceCIDRSpecServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.cidrs ([]string)Atomic: will be replaced during a mergeCIDRs defines the IP blocks in CIDR notation (e.g. \"192.168.0.0/24\" or \"2001:db8::/64\") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.ServiceCIDRStatusServiceCIDRStatus describes the current state of the ServiceCIDR.conditions ([]Condition)Patch strategy: merge on key typeMap: unique values on key type will be kept during a mergeconditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service stateCondition contains details for one aspect of the current state of this API Resource.conditions.lastTransitionTime (Time), requiredlastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.conditions.message (string), requiredmessage is a human readable message indicating details about the transition. This may be an empty string.conditions.reason (string), requiredreason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.conditions.status (string), requiredstatus of the condition, one of True, False, Unknown.conditions.type (string), requiredtype of condition in CamelCase or in foo.example.com/CamelCase.conditions.observedGeneration (int64)observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedG",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_qa_7795"
  },
  {
    "question": "When would you use ServiceCIDR?",
    "answer": "ServiceCIDRServiceCIDR defines a range of IP addresses using CIDR format (e.apiVersion: networking.k8s.io/v1import \"k8s.io/api/networking/v1\"ServiceCIDRServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.apiVersion: networking.k8s.io/v1kind: ServiceCIDRmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (ServiceCIDRSpec)spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (ServiceCIDRStatus)status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusServiceCIDRSpecServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.cidrs ([]string)Atomic: will be replaced during a mergeCIDRs defines the IP blocks in CIDR notation (e.g. \"192.168.0.0/24\" or \"2001:db8::/64\") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.ServiceCIDRStatusServiceCIDRStatus describes the current state of the ServiceCIDR.conditions ([]Condition)Patch strategy: merge on key typeMap: unique values on key type will be kept during a mergeconditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service stateCondition contains details for one aspect of the current state of this API Resource.conditions.lastTransitionTime (Time), requiredlastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.conditions.message (string), requiredmessage is a human readable message indicating details about the transition. This may be an empty string.conditions.reason (string), requiredreason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.conditions.status (string), requiredstatus of the condition, one of True, False, Unknown.conditions.type (string), requiredtype of condition in CamelCase or in foo.example.com/CamelCase.conditions.observedGeneration (int64)observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedG",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_qa_7796"
  },
  {
    "question": "What are the benefits of ServiceCIDR?",
    "answer": "ServiceCIDRServiceCIDR defines a range of IP addresses using CIDR format (e.apiVersion: networking.k8s.io/v1import \"k8s.io/api/networking/v1\"ServiceCIDRServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.apiVersion: networking.k8s.io/v1kind: ServiceCIDRmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (ServiceCIDRSpec)spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (ServiceCIDRStatus)status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusServiceCIDRSpecServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.cidrs ([]string)Atomic: will be replaced during a mergeCIDRs defines the IP blocks in CIDR notation (e.g. \"192.168.0.0/24\" or \"2001:db8::/64\") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.ServiceCIDRStatusServiceCIDRStatus describes the current state of the ServiceCIDR.conditions ([]Condition)Patch strategy: merge on key typeMap: unique values on key type will be kept during a mergeconditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service stateCondition contains details for one aspect of the current state of this API Resource.conditions.lastTransitionTime (Time), requiredlastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.conditions.message (string), requiredmessage is a human readable message indicating details about the transition. This may be an empty string.conditions.reason (string), requiredreason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.conditions.status (string), requiredstatus of the condition, one of True, False, Unknown.conditions.type (string), requiredtype of condition in CamelCase or in foo.example.com/CamelCase.conditions.observedGeneration (int64)observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedG",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_qa_7797"
  },
  {
    "question": "What is ServiceCIDR?",
    "answer": "a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / n e t w o r k i n g / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_1_7798"
  },
  {
    "question": "What is ServiceCIDR?",
    "answer": "S e r v i c e C I D R   d e f i n e s   a   r a n g e   o f   I P   a d d r e s s e s   u s i n g   C I D R   f o r m a t   ( e . g .   1 9 2 . 1 6 8 . 0 . 0 / 2 4   o r   2 0 0 1 : d b 2 : : / 6 4 ) .   T h i s   r a n g e   i s   u s e d   t o   a l l o c a t e   C l u s t e r I P s   t o   S e r v i c e   o b j e c t s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   S e r v i c e C I D R m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( S e r v i c e C I D R S p e c ) s p e c   i s   t h e   d e s i r e d   s t a t e   o f   t h e   S e r v i c e C I D R .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( S e r v i c e C I D R S t a t u s ) s t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t e   o f   t h e   S e r v i c e C I D R .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   S e r v i c e C I D R   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( S e r v i c e C I D R S p e c )   s p e c   i s   t h e   d e s i r e d   s t a t e   o f   t h e   S e r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_2_7799"
  },
  {
    "question": "What is ServiceCIDRSpec?",
    "answer": "S e r v i c e C I D R S p e c   d e f i n e   t h e   C I D R s   t h e   u s e r   w a n t s   t o   u s e   f o r   a l l o c a t i n g   C l u s t e r I P s   f o r   S e r v i c e s .   c i d r s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e C I D R s   d e f i n e s   t h e   I P   b l o c k s   i n   C I D R   n o t a t i o n   ( e . g .   \" 1 9 2 . 1 6 8 . 0 . 0 / 2 4 \"   o r   \" 2 0 0 1 : d b 8 : : / 6 4 \" )   f r o m   w h i c h   t o   a s s i g n   s e r v i c e   c l u s t e r   I P s .   M a x   o f   t w o   C I D R s   i s   a l l o w e d ,   o n e   o f   e a c h   I P   f a m i l y .   T h i s   f i e l d   i s   i m m u t a b l e .   c i d r s   ( [ ] s t r i n g )   A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e   C I D R s   d e f i n e s   t h e   I P   b l o c k s   i n   C I D R   n o t a t i o n   ( e . g .   \" 1 9 2 . 1 6 8 . 0 . 0 / 2 4 \"   o r   \" 2 0 0 1 : d b 8 : : / 6 4 \" )   f r o m   w h i c h   t o   a s s i g n   s e r v i c e   c l u s t e r   I P s .   M a x   o f   t w o   C I D R s   i s   a l l o w e d ,   o n e   o f   e a c h   I P   f a m i l y .   T h i s   f i e l d   i s   i m m u t a b l e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_2_7800"
  },
  {
    "question": "What is ServiceCIDRStatus?",
    "answer": "S e r v i c e C I D R S t a t u s   d e s c r i b e s   t h e   c u r r e n t   s t a t e   o f   t h e   S e r v i c e C I D R .   c o n d i t i o n s   ( [ ] C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e c o n d i t i o n s   h o l d s   a n   a r r a y   o f   m e t a v 1 . C o n d i t i o n   t h a t   d e s c r i b e   t h e   s t a t e   o f   t h e   S e r v i c e C I D R .   C u r r e n t   s e r v i c e   s t a t e C o n d i t i o n   c o n t a i n s   d e t a i l s   f o r   o n e   a s p e c t   o f   t h e   c u r r e n t   s t a t e   o f   t h i s   A P I   R e s o u r c e . c o n d i t i o n s . l a s t T r a n s i t i o n T i m e   ( T i m e ) ,   r e q u i r e d l a s t T r a n s i t i o n T i m e   i s   t h e   l a s t   t i m e   t h e   c o n d i t i o n   t r a n s i t i o n e d   f r o m   o n e   s t a t u s   t o   a n o t h e r .   T h i s   s h o u l d   b e   w h e n   t h e   u n d e r l y i n g   c o n d i t i o n   c h a n g e d .   I f   t h a t   i s   n o t   k n o w n ,   t h e n   u s i n g   t h e   t i m e   w h e n   t h e   A P I   f i e l d   c h a n g e d   i s   a c c e p t a b l e . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c o n d i t i o n s . m e s s a g e   ( s t r i n g ) ,   r e q u i r e d m e s s a g e   i s   a   h u m a n   r e a d a b l e   m e s s a g e   i n d i c a t i n g   d e t a i l s   a b o u t   t h e   t r a n s i t i o n .   T h i s   m a y   b e   a n   e m p t y   s t r i n g . c o n d i t i o n s . r e a s o n   ( s t r i n g ) ,   r e q u i r e d r e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_2_7801"
  },
  {
    "question": "What is ServiceCIDRList?",
    "answer": "S e r v i c e C I D R L i s t   c o n t a i n s   a   l i s t   o f   S e r v i c e C I D R   o b j e c t s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   S e r v i c e C I D R L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] S e r v i c e C I D R ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   S e r v i c e C I D R s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   S e r v i c e C I D R L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] S e r v i c e C I D R ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   S e r v i c e C I D R s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_2_7802"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7803"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e C I D R p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e C I D R   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7804"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e C I D R ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7805"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7806"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e C I D R p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e C I D R   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7807"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e C I D R ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7808"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7809"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7810"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e C I D R L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7811"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7812"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   S e r v i c e C I D R ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   S e r v i c e C I D R ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7813"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e C I D R ) :   O K   2 0 1   ( S e r v i c e C I D R ) :   C r e a t e d   2 0 2   ( S e r v i c e C I D R ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7814"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7815"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e C I D R b o d y :   S e r v i c e C I D R ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e C I D R   b o d y :   S e r v i c e C I D R ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7816"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e C I D R ) :   O K   2 0 1   ( S e r v i c e C I D R ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7817"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7818"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e C I D R b o d y :   S e r v i c e C I D R ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e C I D R   b o d y :   S e r v i c e C I D R ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7819"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e C I D R ) :   O K   2 0 1   ( S e r v i c e C I D R ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7820"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7821"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e C I D R b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e C I D R   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7822"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e C I D R ) :   O K   2 0 1   ( S e r v i c e C I D R ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7823"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7824"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e C I D R b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e C I D R   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7825"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e C I D R ) :   O K   2 0 1   ( S e r v i c e C I D R ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7826"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7827"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e C I D R b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e C I D R   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7828"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7829"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7830"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7831"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1/",
    "id": "k8s_00409_section_4_7832"
  },
  {
    "question": "What is Using CoreDNS for Service Discovery?",
    "answer": "Using CoreDNS for Service DiscoveryThis page describes the CoreDNS upgrade process and how to install CoreDNS instead of kube-dns.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.9.To check the version, enter kubectl version.About CoreDNSCoreDNS is a flexible, extensible DNS server that can serve as the Kubernetes cluster DNS. Like Kubernetes, the CoreDNS project is hosted by the CNCF.You can use CoreDNS instead of kube-dns in your cluster by replacing kube-dns in an existing deployment, or by using tools like kubeadm that will deploy and upgrade the cluster for you.Installing CoreDNSFor manual deployment or replacement of kube-dns, see the documentation at the CoreDNS website.Migrating to CoreDNSUpgrading an existing cluster with kubeadmIn Kubernetes version 1.21, kubeadm removed its support for kube-dns as a DNS application. For kubeadm v1.34, the only supported cluster DNS application is CoreDNS.You can move to CoreDNS when you use kubeadm to upgrade a cluster that is using kube-dns. In this case, kubeadm generates the CoreDNS configuration (\"Corefile\") based upon the kube-dns ConfigMap, preserving configurations for stub domains, and upstream name server.Upgrading CoreDNSYou can check the version of CoreDNS that kubeadm installs for each version of Kubernetes in the page CoreDNS version in Kubernetes.CoreDNS can be upgraded manually in case you want to only upgrade CoreDNS or use your own custom image. There is a helpful guideline and walkthrough available to ensure a smooth upgrade. Make sure the existing CoreDNS configuration (\"Corefile\") is retained when upgrading your cluster.If you are upgrading your cluster using the kubeadm tool, kubeadm can take care of retaining the existing CoreDNS configuration automatically.Tuning CoreDNSWhen resource utilisation is a concern, it may be useful to tune the configuration of CoreDNS. For more details, check out the documentation on scaling CoreDNS.What's nextYou can configure CoreDNS to support many more use cases than kube-dns does by modifying the CoreDNS configuration (\"Corefile\"). For more information, see the documentation for the kubernetes CoreDNS plugin, or read the Custom DNS Entries for Kubernetes. in the CoreDNS blog.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/coredns/",
    "id": "k8s_00410_qa_7833"
  },
  {
    "question": "How does Using CoreDNS for Service Discovery work?",
    "answer": "Using CoreDNS for Service DiscoveryThis page describes the CoreDNS upgrade process and how to install CoreDNS instead of kube-dns.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.9.To check the version, enter kubectl version.About CoreDNSCoreDNS is a flexible, extensible DNS server that can serve as the Kubernetes cluster DNS. Like Kubernetes, the CoreDNS project is hosted by the CNCF.You can use CoreDNS instead of kube-dns in your cluster by replacing kube-dns in an existing deployment, or by using tools like kubeadm that will deploy and upgrade the cluster for you.Installing CoreDNSFor manual deployment or replacement of kube-dns, see the documentation at the CoreDNS website.Migrating to CoreDNSUpgrading an existing cluster with kubeadmIn Kubernetes version 1.21, kubeadm removed its support for kube-dns as a DNS application. For kubeadm v1.34, the only supported cluster DNS application is CoreDNS.You can move to CoreDNS when you use kubeadm to upgrade a cluster that is using kube-dns. In this case, kubeadm generates the CoreDNS configuration (\"Corefile\") based upon the kube-dns ConfigMap, preserving configurations for stub domains, and upstream name server.Upgrading CoreDNSYou can check the version of CoreDNS that kubeadm installs for each version of Kubernetes in the page CoreDNS version in Kubernetes.CoreDNS can be upgraded manually in case you want to only upgrade CoreDNS or use your own custom image. There is a helpful guideline and walkthrough available to ensure a smooth upgrade. Make sure the existing CoreDNS configuration (\"Corefile\") is retained when upgrading your cluster.If you are upgrading your cluster using the kubeadm tool, kubeadm can take care of retaining the existing CoreDNS configuration automatically.Tuning CoreDNSWhen resource utilisation is a concern, it may be useful to tune the configuration of CoreDNS. For more details, check out the documentation on scaling CoreDNS.What's nextYou can configure CoreDNS to support many more use cases than kube-dns does by modifying the CoreDNS configuration (\"Corefile\"). For more information, see the documentation for the kubernetes CoreDNS plugin, or read the Custom DNS Entries for Kubernetes. in the CoreDNS blog.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/coredns/",
    "id": "k8s_00410_qa_7834"
  },
  {
    "question": "When would you use Using CoreDNS for Service Discovery?",
    "answer": "Using CoreDNS for Service DiscoveryThis page describes the CoreDNS upgrade process and how to install CoreDNS instead of kube-dns.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.9.To check the version, enter kubectl version.About CoreDNSCoreDNS is a flexible, extensible DNS server that can serve as the Kubernetes cluster DNS. Like Kubernetes, the CoreDNS project is hosted by the CNCF.You can use CoreDNS instead of kube-dns in your cluster by replacing kube-dns in an existing deployment, or by using tools like kubeadm that will deploy and upgrade the cluster for you.Installing CoreDNSFor manual deployment or replacement of kube-dns, see the documentation at the CoreDNS website.Migrating to CoreDNSUpgrading an existing cluster with kubeadmIn Kubernetes version 1.21, kubeadm removed its support for kube-dns as a DNS application. For kubeadm v1.34, the only supported cluster DNS application is CoreDNS.You can move to CoreDNS when you use kubeadm to upgrade a cluster that is using kube-dns. In this case, kubeadm generates the CoreDNS configuration (\"Corefile\") based upon the kube-dns ConfigMap, preserving configurations for stub domains, and upstream name server.Upgrading CoreDNSYou can check the version of CoreDNS that kubeadm installs for each version of Kubernetes in the page CoreDNS version in Kubernetes.CoreDNS can be upgraded manually in case you want to only upgrade CoreDNS or use your own custom image. There is a helpful guideline and walkthrough available to ensure a smooth upgrade. Make sure the existing CoreDNS configuration (\"Corefile\") is retained when upgrading your cluster.If you are upgrading your cluster using the kubeadm tool, kubeadm can take care of retaining the existing CoreDNS configuration automatically.Tuning CoreDNSWhen resource utilisation is a concern, it may be useful to tune the configuration of CoreDNS. For more details, check out the documentation on scaling CoreDNS.What's nextYou can configure CoreDNS to support many more use cases than kube-dns does by modifying the CoreDNS configuration (\"Corefile\"). For more information, see the documentation for the kubernetes CoreDNS plugin, or read the Custom DNS Entries for Kubernetes. in the CoreDNS blog.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/coredns/",
    "id": "k8s_00410_qa_7835"
  },
  {
    "question": "What are the benefits of Using CoreDNS for Service Discovery?",
    "answer": "Using CoreDNS for Service DiscoveryThis page describes the CoreDNS upgrade process and how to install CoreDNS instead of kube-dns.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.9.To check the version, enter kubectl version.About CoreDNSCoreDNS is a flexible, extensible DNS server that can serve as the Kubernetes cluster DNS. Like Kubernetes, the CoreDNS project is hosted by the CNCF.You can use CoreDNS instead of kube-dns in your cluster by replacing kube-dns in an existing deployment, or by using tools like kubeadm that will deploy and upgrade the cluster for you.Installing CoreDNSFor manual deployment or replacement of kube-dns, see the documentation at the CoreDNS website.Migrating to CoreDNSUpgrading an existing cluster with kubeadmIn Kubernetes version 1.21, kubeadm removed its support for kube-dns as a DNS application. For kubeadm v1.34, the only supported cluster DNS application is CoreDNS.You can move to CoreDNS when you use kubeadm to upgrade a cluster that is using kube-dns. In this case, kubeadm generates the CoreDNS configuration (\"Corefile\") based upon the kube-dns ConfigMap, preserving configurations for stub domains, and upstream name server.Upgrading CoreDNSYou can check the version of CoreDNS that kubeadm installs for each version of Kubernetes in the page CoreDNS version in Kubernetes.CoreDNS can be upgraded manually in case you want to only upgrade CoreDNS or use your own custom image. There is a helpful guideline and walkthrough available to ensure a smooth upgrade. Make sure the existing CoreDNS configuration (\"Corefile\") is retained when upgrading your cluster.If you are upgrading your cluster using the kubeadm tool, kubeadm can take care of retaining the existing CoreDNS configuration automatically.Tuning CoreDNSWhen resource utilisation is a concern, it may be useful to tune the configuration of CoreDNS. For more details, check out the documentation on scaling CoreDNS.What's nextYou can configure CoreDNS to support many more use cases than kube-dns does by modifying the CoreDNS configuration (\"Corefile\"). For more information, see the documentation for the kubernetes CoreDNS plugin, or read the Custom DNS Entries for Kubernetes. in the CoreDNS blog.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/coredns/",
    "id": "k8s_00410_qa_7836"
  },
  {
    "question": "What is Using CoreDNS for Service Discovery?",
    "answer": "T h i s   p a g e   d e s c r i b e s   t h e   C o r e D N S   u p g r a d e   p r o c e s s   a n d   h o w   t o   i n s t a l l   C o r e D N S   i n s t e a d   o f   k u b e - d n s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/coredns/",
    "id": "k8s_00410_section_1_7837"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 9 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/coredns/",
    "id": "k8s_00410_section_2_7838"
  },
  {
    "question": "What is About CoreDNS?",
    "answer": "C o r e D N S   i s   a   f l e x i b l e ,   e x t e n s i b l e   D N S   s e r v e r   t h a t   c a n   s e r v e   a s   t h e   K u b e r n e t e s   c l u s t e r   D N S .   L i k e   K u b e r n e t e s ,   t h e   C o r e D N S   p r o j e c t   i s   h o s t e d   b y   t h e   C N C F .   Y o u   c a n   u s e   C o r e D N S   i n s t e a d   o f   k u b e - d n s   i n   y o u r   c l u s t e r   b y   r e p l a c i n g   k u b e - d n s   i n   a n   e x i s t i n g   d e p l o y m e n t ,   o r   b y   u s i n g   t o o l s   l i k e   k u b e a d m   t h a t   w i l l   d e p l o y   a n d   u p g r a d e   t h e   c l u s t e r   f o r   y o u .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/coredns/",
    "id": "k8s_00410_section_2_7839"
  },
  {
    "question": "What is Installing CoreDNS?",
    "answer": "F o r   m a n u a l   d e p l o y m e n t   o r   r e p l a c e m e n t   o f   k u b e - d n s ,   s e e   t h e   d o c u m e n t a t i o n   a t   t h e   C o r e D N S   w e b s i t e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/coredns/",
    "id": "k8s_00410_section_2_7840"
  },
  {
    "question": "What is Upgrading an existing cluster with kubeadm?",
    "answer": "I n   K u b e r n e t e s   v e r s i o n   1 . 2 1 ,   k u b e a d m   r e m o v e d   i t s   s u p p o r t   f o r   k u b e - d n s   a s   a   D N S   a p p l i c a t i o n .   F o r   k u b e a d m   v 1 . 3 4 ,   t h e   o n l y   s u p p o r t e d   c l u s t e r   D N S   a p p l i c a t i o n   i s   C o r e D N S .   Y o u   c a n   m o v e   t o   C o r e D N S   w h e n   y o u   u s e   k u b e a d m   t o   u p g r a d e   a   c l u s t e r   t h a t   i s   u s i n g   k u b e - d n s .   I n   t h i s   c a s e ,   k u b e a d m   g e n e r a t e s   t h e   C o r e D N S   c o n f i g u r a t i o n   ( \" C o r e f i l e \" )   b a s e d   u p o n   t h e   k u b e - d n s   C o n f i g M a p ,   p r e s e r v i n g   c o n f i g u r a t i o n s   f o r   s t u b   d o m a i n s ,   a n d   u p s t r e a m   n a m e   s e r v e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/coredns/",
    "id": "k8s_00410_section_3_7841"
  },
  {
    "question": "What is Upgrading CoreDNS?",
    "answer": "Y o u   c a n   c h e c k   t h e   v e r s i o n   o f   C o r e D N S   t h a t   k u b e a d m   i n s t a l l s   f o r   e a c h   v e r s i o n   o f   K u b e r n e t e s   i n   t h e   p a g e   C o r e D N S   v e r s i o n   i n   K u b e r n e t e s .   C o r e D N S   c a n   b e   u p g r a d e d   m a n u a l l y   i n   c a s e   y o u   w a n t   t o   o n l y   u p g r a d e   C o r e D N S   o r   u s e   y o u r   o w n   c u s t o m   i m a g e .   T h e r e   i s   a   h e l p f u l   g u i d e l i n e   a n d   w a l k t h r o u g h   a v a i l a b l e   t o   e n s u r e   a   s m o o t h   u p g r a d e .   M a k e   s u r e   t h e   e x i s t i n g   C o r e D N S   c o n f i g u r a t i o n   ( \" C o r e f i l e \" )   i s   r e t a i n e d   w h e n   u p g r a d i n g   y o u r   c l u s t e r .   I f   y o u   a r e   u p g r a d i n g   y o u r   c l u s t e r   u s i n g   t h e   k u b e a d m   t o o l ,   k u b e a d m   c a n   t a k e   c a r e   o f   r e t a i n i n g   t h e   e x i s t i n g   C o r e D N S   c o n f i g u r a t i o n   a u t o m a t i c a l l y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/coredns/",
    "id": "k8s_00410_section_2_7842"
  },
  {
    "question": "What is Tuning CoreDNS?",
    "answer": "W h e n   r e s o u r c e   u t i l i s a t i o n   i s   a   c o n c e r n ,   i t   m a y   b e   u s e f u l   t o   t u n e   t h e   c o n f i g u r a t i o n   o f   C o r e D N S .   F o r   m o r e   d e t a i l s ,   c h e c k   o u t   t h e   d o c u m e n t a t i o n   o n   s c a l i n g   C o r e D N S .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/coredns/",
    "id": "k8s_00410_section_2_7843"
  },
  {
    "question": "What is What's next?",
    "answer": "Y o u   c a n   c o n f i g u r e   C o r e D N S   t o   s u p p o r t   m a n y   m o r e   u s e   c a s e s   t h a n   k u b e - d n s   d o e s   b y   m o d i f y i n g   t h e   C o r e D N S   c o n f i g u r a t i o n   ( \" C o r e f i l e \" ) .   F o r   m o r e   i n f o r m a t i o n ,   s e e   t h e   d o c u m e n t a t i o n   f o r   t h e   k u b e r n e t e s   C o r e D N S   p l u g i n ,   o r   r e a d   t h e   C u s t o m   D N S   E n t r i e s   f o r   K u b e r n e t e s .   i n   t h e   C o r e D N S   b l o g .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/coredns/",
    "id": "k8s_00410_section_2_7844"
  },
  {
    "question": "What is Cluster Architecture?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Cluster ArchitectureThe architectural concepts behind Kubernetes.1: Nodes2: Communication between Nodes and the Control Plane3: Controllers4: Leases5: Cloud Controller Manager6: About cgroup v27: Kubernetes Self-Healing8: Container Runtime Interface (CRI)9: Garbage Collection10: Mixed Version ProxyA Kubernetes cluster consists of a control plane plus a set of worker machines, called nodes, that run containerized applications. Every cluster needs at least one worker node in order to run Pods.The worker node(s) host the Pods that are the components of the application workload. The control plane manages the worker nodes and the Pods in the cluster. In production environments, the control plane usually runs across multiple computers and a cluster usually runs multiple nodes, providing fault-tolerance and high availability.This document outlines the various components you need to have for a complete and working Kubernetes cluster.Figure 1. Kubernetes cluster components.About this architectureThe diagram in Figure 1 presents an example reference architecture for a Kubernetes cluster. The actual distribution of components can vary based on specific cluster setups and requirements.In the diagram, each node runs the kube-proxy component. You need a network proxy component on each node to ensure that the Service API and associated behaviors are available on your cluster network. However, some network plugins provide their own, third party implementation of proxying. When you use that kind of network plugin, the node does not need to run kube-proxy.Control plane componentsThe control plane's components make global decisions about the cluster (for example, scheduling), as well as detecting and responding to cluster events (for example, starting up a new pod when a Deployment's replicas field is unsatisfied).Control plane components can be run on any machine in the cluster. However, for simplicity, setup scripts typically start all control plane components on the same machine, and do not run user containers on this machine. See Creating Highly Available clusters with kubeadm for an example control plane setup that runs across multiple machines.kube-apiserverThe API server is a component of the Kubernetes control plane that exposes the Kubernetes API. The API server is the front end for the Kubernetes control plane.The main implementation of a Kubernetes API server is kube-apiserver. kube-apiserver is designed to scale horizontally—that is, it scales by deploying more instances. You can run several instances of kube-apiserver and balance traffic between those instances.etcdConsistent and highly-available key value store used as Kubernetes' backing store for all cluster data.If your Kubernetes cluster uses etcd as its backing store, make sure you have a back up plan for the data.You can find in-depth information about etcd in the official documenta",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_qa_7845"
  },
  {
    "question": "How does Cluster Architecture work?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Cluster ArchitectureThe architectural concepts behind Kubernetes.1: Nodes2: Communication between Nodes and the Control Plane3: Controllers4: Leases5: Cloud Controller Manager6: About cgroup v27: Kubernetes Self-Healing8: Container Runtime Interface (CRI)9: Garbage Collection10: Mixed Version ProxyA Kubernetes cluster consists of a control plane plus a set of worker machines, called nodes, that run containerized applications. Every cluster needs at least one worker node in order to run Pods.The worker node(s) host the Pods that are the components of the application workload. The control plane manages the worker nodes and the Pods in the cluster. In production environments, the control plane usually runs across multiple computers and a cluster usually runs multiple nodes, providing fault-tolerance and high availability.This document outlines the various components you need to have for a complete and working Kubernetes cluster.Figure 1. Kubernetes cluster components.About this architectureThe diagram in Figure 1 presents an example reference architecture for a Kubernetes cluster. The actual distribution of components can vary based on specific cluster setups and requirements.In the diagram, each node runs the kube-proxy component. You need a network proxy component on each node to ensure that the Service API and associated behaviors are available on your cluster network. However, some network plugins provide their own, third party implementation of proxying. When you use that kind of network plugin, the node does not need to run kube-proxy.Control plane componentsThe control plane's components make global decisions about the cluster (for example, scheduling), as well as detecting and responding to cluster events (for example, starting up a new pod when a Deployment's replicas field is unsatisfied).Control plane components can be run on any machine in the cluster. However, for simplicity, setup scripts typically start all control plane components on the same machine, and do not run user containers on this machine. See Creating Highly Available clusters with kubeadm for an example control plane setup that runs across multiple machines.kube-apiserverThe API server is a component of the Kubernetes control plane that exposes the Kubernetes API. The API server is the front end for the Kubernetes control plane.The main implementation of a Kubernetes API server is kube-apiserver. kube-apiserver is designed to scale horizontally—that is, it scales by deploying more instances. You can run several instances of kube-apiserver and balance traffic between those instances.etcdConsistent and highly-available key value store used as Kubernetes' backing store for all cluster data.If your Kubernetes cluster uses etcd as its backing store, make sure you have a back up plan for the data.You can find in-depth information about etcd in the official documenta",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_qa_7846"
  },
  {
    "question": "When would you use Cluster Architecture?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Cluster ArchitectureThe architectural concepts behind Kubernetes.1: Nodes2: Communication between Nodes and the Control Plane3: Controllers4: Leases5: Cloud Controller Manager6: About cgroup v27: Kubernetes Self-Healing8: Container Runtime Interface (CRI)9: Garbage Collection10: Mixed Version ProxyA Kubernetes cluster consists of a control plane plus a set of worker machines, called nodes, that run containerized applications. Every cluster needs at least one worker node in order to run Pods.The worker node(s) host the Pods that are the components of the application workload. The control plane manages the worker nodes and the Pods in the cluster. In production environments, the control plane usually runs across multiple computers and a cluster usually runs multiple nodes, providing fault-tolerance and high availability.This document outlines the various components you need to have for a complete and working Kubernetes cluster.Figure 1. Kubernetes cluster components.About this architectureThe diagram in Figure 1 presents an example reference architecture for a Kubernetes cluster. The actual distribution of components can vary based on specific cluster setups and requirements.In the diagram, each node runs the kube-proxy component. You need a network proxy component on each node to ensure that the Service API and associated behaviors are available on your cluster network. However, some network plugins provide their own, third party implementation of proxying. When you use that kind of network plugin, the node does not need to run kube-proxy.Control plane componentsThe control plane's components make global decisions about the cluster (for example, scheduling), as well as detecting and responding to cluster events (for example, starting up a new pod when a Deployment's replicas field is unsatisfied).Control plane components can be run on any machine in the cluster. However, for simplicity, setup scripts typically start all control plane components on the same machine, and do not run user containers on this machine. See Creating Highly Available clusters with kubeadm for an example control plane setup that runs across multiple machines.kube-apiserverThe API server is a component of the Kubernetes control plane that exposes the Kubernetes API. The API server is the front end for the Kubernetes control plane.The main implementation of a Kubernetes API server is kube-apiserver. kube-apiserver is designed to scale horizontally—that is, it scales by deploying more instances. You can run several instances of kube-apiserver and balance traffic between those instances.etcdConsistent and highly-available key value store used as Kubernetes' backing store for all cluster data.If your Kubernetes cluster uses etcd as its backing store, make sure you have a back up plan for the data.You can find in-depth information about etcd in the official documenta",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_qa_7847"
  },
  {
    "question": "What are the benefits of Cluster Architecture?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Cluster ArchitectureThe architectural concepts behind Kubernetes.1: Nodes2: Communication between Nodes and the Control Plane3: Controllers4: Leases5: Cloud Controller Manager6: About cgroup v27: Kubernetes Self-Healing8: Container Runtime Interface (CRI)9: Garbage Collection10: Mixed Version ProxyA Kubernetes cluster consists of a control plane plus a set of worker machines, called nodes, that run containerized applications. Every cluster needs at least one worker node in order to run Pods.The worker node(s) host the Pods that are the components of the application workload. The control plane manages the worker nodes and the Pods in the cluster. In production environments, the control plane usually runs across multiple computers and a cluster usually runs multiple nodes, providing fault-tolerance and high availability.This document outlines the various components you need to have for a complete and working Kubernetes cluster.Figure 1. Kubernetes cluster components.About this architectureThe diagram in Figure 1 presents an example reference architecture for a Kubernetes cluster. The actual distribution of components can vary based on specific cluster setups and requirements.In the diagram, each node runs the kube-proxy component. You need a network proxy component on each node to ensure that the Service API and associated behaviors are available on your cluster network. However, some network plugins provide their own, third party implementation of proxying. When you use that kind of network plugin, the node does not need to run kube-proxy.Control plane componentsThe control plane's components make global decisions about the cluster (for example, scheduling), as well as detecting and responding to cluster events (for example, starting up a new pod when a Deployment's replicas field is unsatisfied).Control plane components can be run on any machine in the cluster. However, for simplicity, setup scripts typically start all control plane components on the same machine, and do not run user containers on this machine. See Creating Highly Available clusters with kubeadm for an example control plane setup that runs across multiple machines.kube-apiserverThe API server is a component of the Kubernetes control plane that exposes the Kubernetes API. The API server is the front end for the Kubernetes control plane.The main implementation of a Kubernetes API server is kube-apiserver. kube-apiserver is designed to scale horizontally—that is, it scales by deploying more instances. You can run several instances of kube-apiserver and balance traffic between those instances.etcdConsistent and highly-available key value store used as Kubernetes' backing store for all cluster data.If your Kubernetes cluster uses etcd as its backing store, make sure you have a back up plan for the data.You can find in-depth information about etcd in the official documenta",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_qa_7848"
  },
  {
    "question": "What is Cluster Architecture?",
    "answer": "1 :   N o d e s 2 :   C o m m u n i c a t i o n   b e t w e e n   N o d e s   a n d   t h e   C o n t r o l   P l a n e 3 :   C o n t r o l l e r s 4 :   L e a s e s 5 :   C l o u d   C o n t r o l l e r   M a n a g e r 6 :   A b o u t   c g r o u p   v 2 7 :   K u b e r n e t e s   S e l f - H e a l i n g 8 :   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I ) 9 :   G a r b a g e   C o l l e c t i o n 1 0 :   M i x e d   V e r s i o n   P r o x y   A   K u b e r n e t e s   c l u s t e r   c o n s i s t s   o f   a   c o n t r o l   p l a n e   p l u s   a   s e t   o f   w o r k e r   m a c h i n e s ,   c a l l e d   n o d e s ,   t h a t   r u n   c o n t a i n e r i z e d   a p p l i c a t i o n s .   E v e r y   c l u s t e r   n e e d s   a t   l e a s t   o n e   w o r k e r   n o d e   i n   o r d e r   t o   r u n   P o d s .   T h e   w o r k e r   n o d e ( s )   h o s t   t h e   P o d s   t h a t   a r e   t h e   c o m p o n e n t s   o f   t h e   a p p l i c a t i o n   w o r k l o a d .   T h e   c o n t r o l   p l a n e   m a n a g e s   t h e   w o r k e r   n o d e s   a n d   t h e   P o d s   i n   t h e   c l u s t e r .   I n   p r o d u c t i o n   e n v i r o n m e n t s ,   t h e   c o n t r o l   p l a n e   u s u a l l y   r u n s   a c r o s s   m u l t i p l e   c o m p u t e r s   a n d   a   c l u s t e r   u s u a l l y   r u n s   m u l t i p l e   n o d e s ,   p r o v i d i n g   f a u l t - t o l e r a n c e   a n d   h i g h   a v a i l a b i l i t y .   T h i s   d o c u m e n t   o u t l i n e s   t h e   v a r i o u s   c o m p o n e n t s   y o u   n e e d   t o   h a v e   f o r   a   c o m p l e t e   a n d   w o r k i n g   K u b e r n e t e s   c l u s t e r .   F i g u r e   1 .   K u b e r n e t e s   c l u s t e r   c o m p o n e n t s .   T h e   d i a g r a m   i n   F i g u r e   1   p r e s e n t s   a n   e x a m p l e   r e f e r e n c e   a r c h i t e c t u r e   f o r   a   K u b e r n e t ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_1_7849"
  },
  {
    "question": "What is Control plane components?",
    "answer": "T h e   c o n t r o l   p l a n e ' s   c o m p o n e n t s   m a k e   g l o b a l   d e c i s i o n s   a b o u t   t h e   c l u s t e r   ( f o r   e x a m p l e ,   s c h e d u l i n g ) ,   a s   w e l l   a s   d e t e c t i n g   a n d   r e s p o n d i n g   t o   c l u s t e r   e v e n t s   ( f o r   e x a m p l e ,   s t a r t i n g   u p   a   n e w   p o d   w h e n   a   D e p l o y m e n t ' s   r e p l i c a s   f i e l d   i s   u n s a t i s f i e d ) .   C o n t r o l   p l a n e   c o m p o n e n t s   c a n   b e   r u n   o n   a n y   m a c h i n e   i n   t h e   c l u s t e r .   H o w e v e r ,   f o r   s i m p l i c i t y ,   s e t u p   s c r i p t s   t y p i c a l l y   s t a r t   a l l   c o n t r o l   p l a n e   c o m p o n e n t s   o n   t h e   s a m e   m a c h i n e ,   a n d   d o   n o t   r u n   u s e r   c o n t a i n e r s   o n   t h i s   m a c h i n e .   S e e   C r e a t i n g   H i g h l y   A v a i l a b l e   c l u s t e r s   w i t h   k u b e a d m   f o r   a n   e x a m p l e   c o n t r o l   p l a n e   s e t u p   t h a t   r u n s   a c r o s s   m u l t i p l e   m a c h i n e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7850"
  },
  {
    "question": "What is kube-apiserver?",
    "answer": "T h e   A P I   s e r v e r   i s   a   c o m p o n e n t   o f   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   t h a t   e x p o s e s   t h e   K u b e r n e t e s   A P I .   T h e   A P I   s e r v e r   i s   t h e   f r o n t   e n d   f o r   t h e   K u b e r n e t e s   c o n t r o l   p l a n e .   T h e   m a i n   i m p l e m e n t a t i o n   o f   a   K u b e r n e t e s   A P I   s e r v e r   i s   k u b e - a p i s e r v e r .   k u b e - a p i s e r v e r   i s   d e s i g n e d   t o   s c a l e   h o r i z o n t a l l y — t h a t   i s ,   i t   s c a l e s   b y   d e p l o y i n g   m o r e   i n s t a n c e s .   Y o u   c a n   r u n   s e v e r a l   i n s t a n c e s   o f   k u b e - a p i s e r v e r   a n d   b a l a n c e   t r a f f i c   b e t w e e n   t h o s e   i n s t a n c e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7851"
  },
  {
    "question": "What is etcd?",
    "answer": "C o n s i s t e n t   a n d   h i g h l y - a v a i l a b l e   k e y   v a l u e   s t o r e   u s e d   a s   K u b e r n e t e s '   b a c k i n g   s t o r e   f o r   a l l   c l u s t e r   d a t a .   I f   y o u r   K u b e r n e t e s   c l u s t e r   u s e s   e t c d   a s   i t s   b a c k i n g   s t o r e ,   m a k e   s u r e   y o u   h a v e   a   b a c k   u p   p l a n   f o r   t h e   d a t a .   Y o u   c a n   f i n d   i n - d e p t h   i n f o r m a t i o n   a b o u t   e t c d   i n   t h e   o f f i c i a l   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7852"
  },
  {
    "question": "What is kube-scheduler?",
    "answer": "C o n t r o l   p l a n e   c o m p o n e n t   t h a t   w a t c h e s   f o r   n e w l y   c r e a t e d   P o d s   w i t h   n o   a s s i g n e d   n o d e ,   a n d   s e l e c t s   a   n o d e   f o r   t h e m   t o   r u n   o n .   F a c t o r s   t a k e n   i n t o   a c c o u n t   f o r   s c h e d u l i n g   d e c i s i o n s   i n c l u d e :   i n d i v i d u a l   a n d   c o l l e c t i v e   r e s o u r c e   r e q u i r e m e n t s ,   h a r d w a r e / s o f t w a r e / p o l i c y   c o n s t r a i n t s ,   a f f i n i t y   a n d   a n t i - a f f i n i t y   s p e c i f i c a t i o n s ,   d a t a   l o c a l i t y ,   i n t e r - w o r k l o a d   i n t e r f e r e n c e ,   a n d   d e a d l i n e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7853"
  },
  {
    "question": "What is kube-controller-manager?",
    "answer": "C o n t r o l   p l a n e   c o m p o n e n t   t h a t   r u n s   c o n t r o l l e r   p r o c e s s e s .   L o g i c a l l y ,   e a c h   c o n t r o l l e r   i s   a   s e p a r a t e   p r o c e s s ,   b u t   t o   r e d u c e   c o m p l e x i t y ,   t h e y   a r e   a l l   c o m p i l e d   i n t o   a   s i n g l e   b i n a r y   a n d   r u n   i n   a   s i n g l e   p r o c e s s .   T h e r e   a r e   m a n y   d i f f e r e n t   t y p e s   o f   c o n t r o l l e r s .   S o m e   e x a m p l e s   o f   t h e m   a r e :   N o d e   c o n t r o l l e r :   R e s p o n s i b l e   f o r   n o t i c i n g   a n d   r e s p o n d i n g   w h e n   n o d e s   g o   d o w n . J o b   c o n t r o l l e r :   W a t c h e s   f o r   J o b   o b j e c t s   t h a t   r e p r e s e n t   o n e - o f f   t a s k s ,   t h e n   c r e a t e s   P o d s   t o   r u n   t h o s e   t a s k s   t o   c o m p l e t i o n . E n d p o i n t S l i c e   c o n t r o l l e r :   P o p u l a t e s   E n d p o i n t S l i c e   o b j e c t s   ( t o   p r o v i d e   a   l i n k   b e t w e e n   S e r v i c e s   a n d   P o d s ) . S e r v i c e A c c o u n t   c o n t r o l l e r :   C r e a t e   d e f a u l t   S e r v i c e A c c o u n t s   f o r   n e w   n a m e s p a c e s .   T h e   a b o v e   i s   n o t   a n   e x h a u s t i v e   l i s t .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7854"
  },
  {
    "question": "What is cloud-controller-manager?",
    "answer": "T h e   c l o u d - c o n t r o l l e r - m a n a g e r   o n l y   r u n s   c o n t r o l l e r s   t h a t   a r e   s p e c i f i c   t o   y o u r   c l o u d   p r o v i d e r .   I f   y o u   a r e   r u n n i n g   K u b e r n e t e s   o n   y o u r   o w n   p r e m i s e s ,   o r   i n   a   l e a r n i n g   e n v i r o n m e n t   i n s i d e   y o u r   o w n   P C ,   t h e   c l u s t e r   d o e s   n o t   h a v e   a   c l o u d   c o n t r o l l e r   m a n a g e r .   A s   w i t h   t h e   k u b e - c o n t r o l l e r - m a n a g e r ,   t h e   c l o u d - c o n t r o l l e r - m a n a g e r   c o m b i n e s   s e v e r a l   l o g i c a l l y   i n d e p e n d e n t   c o n t r o l   l o o p s   i n t o   a   s i n g l e   b i n a r y   t h a t   y o u   r u n   a s   a   s i n g l e   p r o c e s s .   Y o u   c a n   s c a l e   h o r i z o n t a l l y   ( r u n   m o r e   t h a n   o n e   c o p y )   t o   i m p r o v e   p e r f o r m a n c e   o r   t o   h e l p   t o l e r a t e   f a i l u r e s .   T h e   f o l l o w i n g   c o n t r o l l e r s   c a n   h a v e   c l o u d   p r o v i d e r   d e p e n d e n c i e s :   N o d e   c o n t r o l l e r :   F o r   c h e c k i n g   t h e   c l o u d   p r o v i d e r   t o   d e t e r m i n e   i f   a   n o d e   h a s   b e e n   d e l e t e d   i n   t h e   c l o u d   a f t e r   i t   s t o p s   r e s p o n d i n g R o u t e   c o n t r o l l e r :   F o r   s e t t i n g   u p   r o u t e s   i n   t h e   u n d e r l y i n g   c l o u d   i n f r a s t r u c t u r e S e r v i c e   c o n t r o l l e r :   F o r   c r e a t i n g ,   u p d a t i n g   a n d   d e l e t i n g   c l o u d   p r o v i d e r   l o a d   b a l a n c e r s",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7855"
  },
  {
    "question": "What is Node components?",
    "answer": "N o d e   c o m p o n e n t s   r u n   o n   e v e r y   n o d e ,   m a i n t a i n i n g   r u n n i n g   p o d s   a n d   p r o v i d i n g   t h e   K u b e r n e t e s   r u n t i m e   e n v i r o n m e n t .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7856"
  },
  {
    "question": "What is kubelet?",
    "answer": "A n   a g e n t   t h a t   r u n s   o n   e a c h   n o d e   i n   t h e   c l u s t e r .   I t   m a k e s   s u r e   t h a t   c o n t a i n e r s   a r e   r u n n i n g   i n   a   P o d .   T h e   k u b e l e t   t a k e s   a   s e t   o f   P o d S p e c s   t h a t   a r e   p r o v i d e d   t h r o u g h   v a r i o u s   m e c h a n i s m s   a n d   e n s u r e s   t h a t   t h e   c o n t a i n e r s   d e s c r i b e d   i n   t h o s e   P o d S p e c s   a r e   r u n n i n g   a n d   h e a l t h y .   T h e   k u b e l e t   d o e s n ' t   m a n a g e   c o n t a i n e r s   w h i c h   w e r e   n o t   c r e a t e d   b y   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7857"
  },
  {
    "question": "What is kube-proxy (optional)?",
    "answer": "k u b e - p r o x y   i s   a   n e t w o r k   p r o x y   t h a t   r u n s   o n   e a c h   n o d e   i n   y o u r   c l u s t e r ,   i m p l e m e n t i n g   p a r t   o f   t h e   K u b e r n e t e s   S e r v i c e   c o n c e p t . k u b e - p r o x y   m a i n t a i n s   n e t w o r k   r u l e s   o n   n o d e s .   T h e s e   n e t w o r k   r u l e s   a l l o w   n e t w o r k   c o m m u n i c a t i o n   t o   y o u r   P o d s   f r o m   n e t w o r k   s e s s i o n s   i n s i d e   o r   o u t s i d e   o f   y o u r   c l u s t e r . k u b e - p r o x y   u s e s   t h e   o p e r a t i n g   s y s t e m   p a c k e t   f i l t e r i n g   l a y e r   i f   t h e r e   i s   o n e   a n d   i t ' s   a v a i l a b l e .   O t h e r w i s e ,   k u b e - p r o x y   f o r w a r d s   t h e   t r a f f i c   i t s e l f . I f   y o u   u s e   a   n e t w o r k   p l u g i n   t h a t   i m p l e m e n t s   p a c k e t   f o r w a r d i n g   f o r   S e r v i c e s   b y   i t s e l f ,   a n d   p r o v i d i n g   e q u i v a l e n t   b e h a v i o r   t o   k u b e - p r o x y ,   t h e n   y o u   d o   n o t   n e e d   t o   r u n   k u b e - p r o x y   o n   t h e   n o d e s   i n   y o u r   c l u s t e r .   k u b e - p r o x y   i s   a   n e t w o r k   p r o x y   t h a t   r u n s   o n   e a c h   n o d e   i n   y o u r   c l u s t e r ,   i m p l e m e n t i n g   p a r t   o f   t h e   K u b e r n e t e s   S e r v i c e   c o n c e p t .   k u b e - p r o x y   m a i n t a i n s   n e t w o r k   r u l e s   o n   n o d e s .   T h e s e   n e t w o r k   r u l e s   a l l o w   n e t w o r k   c o m m u n i c a t i o n   t o   y o u r   P o d s   f r o m   n e t w o r k   s e s s i o n s   i n s i d e   o r   o u t s i d e   o f   y o u r   c l u s t e r .   k u b e - p r o x y   u s e s   t h e   o p e r a t i n g   s y s t e m   p a c k e t   f i l t e r i n g   l a y e r   i f   t h e r e   i s   o n e   a n d   ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7858"
  },
  {
    "question": "What is Container runtime?",
    "answer": "A   f u n d a m e n t a l   c o m p o n e n t   t h a t   e m p o w e r s   K u b e r n e t e s   t o   r u n   c o n t a i n e r s   e f f e c t i v e l y .   I t   i s   r e s p o n s i b l e   f o r   m a n a g i n g   t h e   e x e c u t i o n   a n d   l i f e c y c l e   o f   c o n t a i n e r s   w i t h i n   t h e   K u b e r n e t e s   e n v i r o n m e n t .   K u b e r n e t e s   s u p p o r t s   c o n t a i n e r   r u n t i m e s   s u c h   a s   c o n t a i n e r d ,   C R I - O ,   a n d   a n y   o t h e r   i m p l e m e n t a t i o n   o f   t h e   K u b e r n e t e s   C R I   ( C o n t a i n e r   R u n t i m e   I n t e r f a c e ) .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7859"
  },
  {
    "question": "What is Addons?",
    "answer": "A d d o n s   u s e   K u b e r n e t e s   r e s o u r c e s   ( D a e m o n S e t ,   D e p l o y m e n t ,   e t c )   t o   i m p l e m e n t   c l u s t e r   f e a t u r e s .   B e c a u s e   t h e s e   a r e   p r o v i d i n g   c l u s t e r - l e v e l   f e a t u r e s ,   n a m e s p a c e d   r e s o u r c e s   f o r   a d d o n s   b e l o n g   w i t h i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   S e l e c t e d   a d d o n s   a r e   d e s c r i b e d   b e l o w ;   f o r   a n   e x t e n d e d   l i s t   o f   a v a i l a b l e   a d d o n s ,   p l e a s e   s e e   A d d o n s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7860"
  },
  {
    "question": "What is DNS?",
    "answer": "W h i l e   t h e   o t h e r   a d d o n s   a r e   n o t   s t r i c t l y   r e q u i r e d ,   a l l   K u b e r n e t e s   c l u s t e r s   s h o u l d   h a v e   c l u s t e r   D N S ,   a s   m a n y   e x a m p l e s   r e l y   o n   i t .   C l u s t e r   D N S   i s   a   D N S   s e r v e r ,   i n   a d d i t i o n   t o   t h e   o t h e r   D N S   s e r v e r ( s )   i n   y o u r   e n v i r o n m e n t ,   w h i c h   s e r v e s   D N S   r e c o r d s   f o r   K u b e r n e t e s   s e r v i c e s .   C o n t a i n e r s   s t a r t e d   b y   K u b e r n e t e s   a u t o m a t i c a l l y   i n c l u d e   t h i s   D N S   s e r v e r   i n   t h e i r   D N S   s e a r c h e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7861"
  },
  {
    "question": "What is Web UI (Dashboard)?",
    "answer": "D a s h b o a r d   i s   a   g e n e r a l   p u r p o s e ,   w e b - b a s e d   U I   f o r   K u b e r n e t e s   c l u s t e r s .   I t   a l l o w s   u s e r s   t o   m a n a g e   a n d   t r o u b l e s h o o t   a p p l i c a t i o n s   r u n n i n g   i n   t h e   c l u s t e r ,   a s   w e l l   a s   t h e   c l u s t e r   i t s e l f .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7862"
  },
  {
    "question": "What is Container resource monitoring?",
    "answer": "C o n t a i n e r   R e s o u r c e   M o n i t o r i n g   r e c o r d s   g e n e r i c   t i m e - s e r i e s   m e t r i c s   a b o u t   c o n t a i n e r s   i n   a   c e n t r a l   d a t a b a s e ,   a n d   p r o v i d e s   a   U I   f o r   b r o w s i n g   t h a t   d a t a .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7863"
  },
  {
    "question": "What is Cluster-level Logging?",
    "answer": "A   c l u s t e r - l e v e l   l o g g i n g   m e c h a n i s m   i s   r e s p o n s i b l e   f o r   s a v i n g   c o n t a i n e r   l o g s   t o   a   c e n t r a l   l o g   s t o r e   w i t h   a   s e a r c h / b r o w s i n g   i n t e r f a c e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7864"
  },
  {
    "question": "What is Network plugins?",
    "answer": "N e t w o r k   p l u g i n s   a r e   s o f t w a r e   c o m p o n e n t s   t h a t   i m p l e m e n t   t h e   c o n t a i n e r   n e t w o r k   i n t e r f a c e   ( C N I )   s p e c i f i c a t i o n .   T h e y   a r e   r e s p o n s i b l e   f o r   a l l o c a t i n g   I P   a d d r e s s e s   t o   p o d s   a n d   e n a b l i n g   t h e m   t o   c o m m u n i c a t e   w i t h   e a c h   o t h e r   w i t h i n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7865"
  },
  {
    "question": "What is Architecture variations?",
    "answer": "W h i l e   t h e   c o r e   c o m p o n e n t s   o f   K u b e r n e t e s   r e m a i n   c o n s i s t e n t ,   t h e   w a y   t h e y   a r e   d e p l o y e d   a n d   m a n a g e d   c a n   v a r y .   U n d e r s t a n d i n g   t h e s e   v a r i a t i o n s   i s   c r u c i a l   f o r   d e s i g n i n g   a n d   m a i n t a i n i n g   K u b e r n e t e s   c l u s t e r s   t h a t   m e e t   s p e c i f i c   o p e r a t i o n a l   n e e d s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7866"
  },
  {
    "question": "What is Control plane deployment options?",
    "answer": "T h e   c o n t r o l   p l a n e   c o m p o n e n t s   c a n   b e   d e p l o y e d   i n   s e v e r a l   w a y s :",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7867"
  },
  {
    "question": "What is Workload placement considerations?",
    "answer": "T h e   p l a c e m e n t   o f   w o r k l o a d s ,   i n c l u d i n g   t h e   c o n t r o l   p l a n e   c o m p o n e n t s ,   c a n   v a r y   b a s e d   o n   c l u s t e r   s i z e ,   p e r f o r m a n c e   r e q u i r e m e n t s ,   a n d   o p e r a t i o n a l   p o l i c i e s :   I n   s m a l l e r   o r   d e v e l o p m e n t   c l u s t e r s ,   c o n t r o l   p l a n e   c o m p o n e n t s   a n d   u s e r   w o r k l o a d s   m i g h t   r u n   o n   t h e   s a m e   n o d e s . L a r g e r   p r o d u c t i o n   c l u s t e r s   o f t e n   d e d i c a t e   s p e c i f i c   n o d e s   t o   c o n t r o l   p l a n e   c o m p o n e n t s ,   s e p a r a t i n g   t h e m   f r o m   u s e r   w o r k l o a d s . S o m e   o r g a n i z a t i o n s   r u n   c r i t i c a l   a d d - o n s   o r   m o n i t o r i n g   t o o l s   o n   c o n t r o l   p l a n e   n o d e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7868"
  },
  {
    "question": "What is Cluster management tools?",
    "answer": "T o o l s   l i k e   k u b e a d m ,   k o p s ,   a n d   K u b e s p r a y   o f f e r   d i f f e r e n t   a p p r o a c h e s   t o   d e p l o y i n g   a n d   m a n a g i n g   c l u s t e r s ,   e a c h   w i t h   i t s   o w n   m e t h o d   o f   c o m p o n e n t   l a y o u t   a n d   m a n a g e m e n t .   T h e   f l e x i b i l i t y   o f   K u b e r n e t e s   a r c h i t e c t u r e   a l l o w s   o r g a n i z a t i o n s   t o   t a i l o r   t h e i r   c l u s t e r s   t o   s p e c i f i c   n e e d s ,   b a l a n c i n g   f a c t o r s   s u c h   a s   o p e r a t i o n a l   c o m p l e x i t y ,   p e r f o r m a n c e ,   a n d   m a n a g e m e n t   o v e r h e a d .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7869"
  },
  {
    "question": "What is Customization and extensibility?",
    "answer": "K u b e r n e t e s   a r c h i t e c t u r e   a l l o w s   f o r   s i g n i f i c a n t   c u s t o m i z a t i o n :   C u s t o m   s c h e d u l e r s   c a n   b e   d e p l o y e d   t o   w o r k   a l o n g s i d e   t h e   d e f a u l t   K u b e r n e t e s   s c h e d u l e r   o r   t o   r e p l a c e   i t   e n t i r e l y . A P I   s e r v e r s   c a n   b e   e x t e n d e d   w i t h   C u s t o m R e s o u r c e D e f i n i t i o n s   a n d   A P I   A g g r e g a t i o n . C l o u d   p r o v i d e r s   c a n   i n t e g r a t e   d e e p l y   w i t h   K u b e r n e t e s   u s i n g   t h e   c l o u d - c o n t r o l l e r - m a n a g e r .   T h e   f l e x i b i l i t y   o f   K u b e r n e t e s   a r c h i t e c t u r e   a l l o w s   o r g a n i z a t i o n s   t o   t a i l o r   t h e i r   c l u s t e r s   t o   s p e c i f i c   n e e d s ,   b a l a n c i n g   f a c t o r s   s u c h   a s   o p e r a t i o n a l   c o m p l e x i t y ,   p e r f o r m a n c e ,   a n d   m a n a g e m e n t   o v e r h e a d .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7870"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   t h e   f o l l o w i n g :   N o d e s   a n d   t h e i r   c o m m u n i c a t i o n   w i t h   t h e   c o n t r o l   p l a n e . K u b e r n e t e s   c o n t r o l l e r s . k u b e - s c h e d u l e r   w h i c h   i s   t h e   d e f a u l t   s c h e d u l e r   f o r   K u b e r n e t e s . E t c d ' s   o f f i c i a l   d o c u m e n t a t i o n . S e v e r a l   c o n t a i n e r   r u n t i m e s   i n   K u b e r n e t e s . I n t e g r a t i n g   w i t h   c l o u d   p r o v i d e r s   u s i n g   c l o u d - c o n t r o l l e r - m a n a g e r . k u b e c t l   c o m m a n d s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7871"
  },
  {
    "question": "What is 1 - Nodes?",
    "answer": "K u b e r n e t e s   r u n s   y o u r   w o r k l o a d   b y   p l a c i n g   c o n t a i n e r s   i n t o   P o d s   t o   r u n   o n   N o d e s .   A   n o d e   m a y   b e   a   v i r t u a l   o r   p h y s i c a l   m a c h i n e ,   d e p e n d i n g   o n   t h e   c l u s t e r .   E a c h   n o d e   i s   m a n a g e d   b y   t h e   c o n t r o l   p l a n e   a n d   c o n t a i n s   t h e   s e r v i c e s   n e c e s s a r y   t o   r u n   P o d s .   T y p i c a l l y   y o u   h a v e   s e v e r a l   n o d e s   i n   a   c l u s t e r ;   i n   a   l e a r n i n g   o r   r e s o u r c e - l i m i t e d   e n v i r o n m e n t ,   y o u   m i g h t   h a v e   o n l y   o n e   n o d e .   T h e   c o m p o n e n t s   o n   a   n o d e   i n c l u d e   t h e   k u b e l e t ,   a   c o n t a i n e r   r u n t i m e ,   a n d   t h e   k u b e - p r o x y .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_1_7872"
  },
  {
    "question": "What is Management?",
    "answer": "T h e r e   a r e   t w o   m a i n   w a y s   t o   h a v e   N o d e s   a d d e d   t o   t h e   A P I   s e r v e r :   T h e   k u b e l e t   o n   a   n o d e   s e l f - r e g i s t e r s   t o   t h e   c o n t r o l   p l a n e Y o u   ( o r   a n o t h e r   h u m a n   u s e r )   m a n u a l l y   a d d   a   N o d e   o b j e c t   A f t e r   y o u   c r e a t e   a   N o d e   o b j e c t ,   o r   t h e   k u b e l e t   o n   a   n o d e   s e l f - r e g i s t e r s ,   t h e   c o n t r o l   p l a n e   c h e c k s   w h e t h e r   t h e   n e w   N o d e   o b j e c t   i s   v a l i d .   F o r   e x a m p l e ,   i f   y o u   t r y   t o   c r e a t e   a   N o d e   f r o m   t h e   f o l l o w i n g   J S O N   m a n i f e s t :   {   \" k i n d \" :   \" N o d e \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" 1 0 . 2 4 0 . 7 9 . 1 5 7 \" ,   \" l a b e l s \" :   {   \" n a m e \" :   \" m y - f i r s t - k 8 s - n o d e \"   }   }   }   K u b e r n e t e s   c r e a t e s   a   N o d e   o b j e c t   i n t e r n a l l y   ( t h e   r e p r e s e n t a t i o n ) .   K u b e r n e t e s   c h e c k s   t h a t   a   k u b e l e t   h a s   r e g i s t e r e d   t o   t h e   A P I   s e r v e r   t h a t   m a t c h e s   t h e   m e t a d a t a . n a m e   f i e l d   o f   t h e   N o d e .   I f   t h e   n o d e   i s   h e a l t h y   ( i . e .   a l l   n e c e s s a r y   s e r v i c e s   a r e   r u n n i n g ) ,   t h e n   i t   i s   e l i g i b l e   t o   r u n   a   P o d .   O t h e r w i s e ,   t h a t   n o d e   i s   i g n o r e d   f o r   a n y   c l u s t e r   a c t i v i t y   u n t i l   i t   b e c o m e s   h e a l t h y .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7873"
  },
  {
    "question": "What is Note:?",
    "answer": "K u b e r n e t e s   k e e p s   t h e   o b j e c t   f o r   t h e   i n v a l i d   N o d e   a n d   c o n t i n u e s   c h e c k i n g   t o   s e e   w h e t h e r   i t   b e c o m e s   h e a l t h y .   Y o u ,   o r   a   c o n t r o l l e r ,   m u s t   e x p l i c i t l y   d e l e t e   t h e   N o d e   o b j e c t   t o   s t o p   t h a t   h e a l t h   c h e c k i n g .   T h e   n a m e   o f   a   N o d e   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_4_7874"
  },
  {
    "question": "What is Node name uniqueness?",
    "answer": "T h e   n a m e   i d e n t i f i e s   a   N o d e .   T w o   N o d e s   c a n n o t   h a v e   t h e   s a m e   n a m e   a t   t h e   s a m e   t i m e .   K u b e r n e t e s   a l s o   a s s u m e s   t h a t   a   r e s o u r c e   w i t h   t h e   s a m e   n a m e   i s   t h e   s a m e   o b j e c t .   I n   c a s e   o f   a   N o d e ,   i t   i s   i m p l i c i t l y   a s s u m e d   t h a t   a n   i n s t a n c e   u s i n g   t h e   s a m e   n a m e   w i l l   h a v e   t h e   s a m e   s t a t e   ( e . g .   n e t w o r k   s e t t i n g s ,   r o o t   d i s k   c o n t e n t s )   a n d   a t t r i b u t e s   l i k e   n o d e   l a b e l s .   T h i s   m a y   l e a d   t o   i n c o n s i s t e n c i e s   i f   a n   i n s t a n c e   w a s   m o d i f i e d   w i t h o u t   c h a n g i n g   i t s   n a m e .   I f   t h e   N o d e   n e e d s   t o   b e   r e p l a c e d   o r   u p d a t e d   s i g n i f i c a n t l y ,   t h e   e x i s t i n g   N o d e   o b j e c t   n e e d s   t o   b e   r e m o v e d   f r o m   A P I   s e r v e r   f i r s t   a n d   r e - a d d e d   a f t e r   t h e   u p d a t e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7875"
  },
  {
    "question": "What is Self-registration of Nodes?",
    "answer": "W h e n   t h e   k u b e l e t   f l a g   - - r e g i s t e r - n o d e   i s   t r u e   ( t h e   d e f a u l t ) ,   t h e   k u b e l e t   w i l l   a t t e m p t   t o   r e g i s t e r   i t s e l f   w i t h   t h e   A P I   s e r v e r .   T h i s   i s   t h e   p r e f e r r e d   p a t t e r n ,   u s e d   b y   m o s t   d i s t r o s .   F o r   s e l f - r e g i s t r a t i o n ,   t h e   k u b e l e t   i s   s t a r t e d   w i t h   t h e   f o l l o w i n g   o p t i o n s :   - - k u b e c o n f i g   -   P a t h   t o   c r e d e n t i a l s   t o   a u t h e n t i c a t e   i t s e l f   t o   t h e   A P I   s e r v e r . - - c l o u d - p r o v i d e r   -   H o w   t o   t a l k   t o   a   c l o u d   p r o v i d e r   t o   r e a d   m e t a d a t a   a b o u t   i t s e l f . - - r e g i s t e r - n o d e   -   A u t o m a t i c a l l y   r e g i s t e r   w i t h   t h e   A P I   s e r v e r . - - r e g i s t e r - w i t h - t a i n t s   -   R e g i s t e r   t h e   n o d e   w i t h   t h e   g i v e n   l i s t   o f   t a i n t s   ( c o m m a   s e p a r a t e d   < k e y > = < v a l u e > : < e f f e c t > ) . N o - o p   i f   r e g i s t e r - n o d e   i s   f a l s e . - - n o d e - i p   -   O p t i o n a l   c o m m a - s e p a r a t e d   l i s t   o f   t h e   I P   a d d r e s s e s   f o r   t h e   n o d e .   Y o u   c a n   o n l y   s p e c i f y   a   s i n g l e   a d d r e s s   f o r   e a c h   a d d r e s s   f a m i l y .   F o r   e x a m p l e ,   i n   a   s i n g l e - s t a c k   I P v 4   c l u s t e r ,   y o u   s e t   t h i s   v a l u e   t o   b e   t h e   I P v 4   a d d r e s s   t h a t   t h e   k u b e l e t   s h o u l d   u s e   f o r   t h e   n o d e .   S e e   c o n f i g u r e   I P v 4 / I P v 6   d u a l   s t a c k   f o r   d e t a i l s   o f   r u n n i n g   a   d u a l - s t a c k   c l u s t e r . I f   y o u   d o n ' t   p r o v i d e   t h i s   a r g u m e n t ,   ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7876"
  },
  {
    "question": "What is Note:?",
    "answer": "A s   m e n t i o n e d   i n   t h e   N o d e   n a m e   u n i q u e n e s s   s e c t i o n ,   w h e n   N o d e   c o n f i g u r a t i o n   n e e d s   t o   b e   u p d a t e d ,   i t   i s   a   g o o d   p r a c t i c e   t o   r e - r e g i s t e r   t h e   n o d e   w i t h   t h e   A P I   s e r v e r .   F o r   e x a m p l e ,   i f   t h e   k u b e l e t   i s   b e i n g   r e s t a r t e d   w i t h   a   n e w   s e t   o f   - - n o d e - l a b e l s ,   b u t   t h e   s a m e   N o d e   n a m e   i s   u s e d ,   t h e   c h a n g e   w i l l   n o t   t a k e   e f f e c t ,   a s   l a b e l s   a r e   o n l y   s e t   ( o r   m o d i f i e d )   u p o n   N o d e   r e g i s t r a t i o n   w i t h   t h e   A P I   s e r v e r .   P o d s   a l r e a d y   s c h e d u l e d   o n   t h e   N o d e   m a y   m i s b e h a v e   o r   c a u s e   i s s u e s   i f   t h e   N o d e   c o n f i g u r a t i o n   w i l l   b e   c h a n g e d   o n   k u b e l e t   r e s t a r t .   F o r   e x a m p l e ,   a l r e a d y   r u n n i n g   P o d   m a y   b e   t a i n t e d   a g a i n s t   t h e   n e w   l a b e l s   a s s i g n e d   t o   t h e   N o d e ,   w h i l e   o t h e r   P o d s ,   t h a t   a r e   i n c o m p a t i b l e   w i t h   t h a t   P o d   w i l l   b e   s c h e d u l e d   b a s e d   o n   t h i s   n e w   l a b e l .   N o d e   r e - r e g i s t r a t i o n   e n s u r e s   a l l   P o d s   w i l l   b e   d r a i n e d   a n d   p r o p e r l y   r e - s c h e d u l e d .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_4_7877"
  },
  {
    "question": "What is Manual Node administration?",
    "answer": "Y o u   c a n   c r e a t e   a n d   m o d i f y   N o d e   o b j e c t s   u s i n g   k u b e c t l .   W h e n   y o u   w a n t   t o   c r e a t e   N o d e   o b j e c t s   m a n u a l l y ,   s e t   t h e   k u b e l e t   f l a g   - - r e g i s t e r - n o d e = f a l s e .   Y o u   c a n   m o d i f y   N o d e   o b j e c t s   r e g a r d l e s s   o f   t h e   s e t t i n g   o f   - - r e g i s t e r - n o d e .   F o r   e x a m p l e ,   y o u   c a n   s e t   l a b e l s   o n   a n   e x i s t i n g   N o d e   o r   m a r k   i t   u n s c h e d u l a b l e .   Y o u   c a n   s e t   o p t i o n a l   n o d e   r o l e ( s )   f o r   n o d e s   b y   a d d i n g   o n e   o r   m o r e   n o d e - r o l e . k u b e r n e t e s . i o / < r o l e > :   < r o l e >   l a b e l s   t o   t h e   n o d e   w h e r e   c h a r a c t e r s   o f   < r o l e >   a r e   l i m i t e d   b y   t h e   s y n t a x   r u l e s   f o r   l a b e l s .   K u b e r n e t e s   i g n o r e s   t h e   l a b e l   v a l u e   f o r   n o d e   r o l e s ;   b y   c o n v e n t i o n ,   y o u   c a n   s e t   i t   t o   t h e   s a m e   s t r i n g   y o u   u s e d   f o r   t h e   n o d e   r o l e   i n   t h e   l a b e l   k e y .   Y o u   c a n   u s e   l a b e l s   o n   N o d e s   i n   c o n j u n c t i o n   w i t h   n o d e   s e l e c t o r s   o n   P o d s   t o   c o n t r o l   s c h e d u l i n g .   F o r   e x a m p l e ,   y o u   c a n   c o n s t r a i n   a   P o d   t o   o n l y   b e   e l i g i b l e   t o   r u n   o n   a   s u b s e t   o f   t h e   a v a i l a b l e   n o d e s .   M a r k i n g   a   n o d e   a s   u n s c h e d u l a b l e   p r e v e n t s   t h e   s c h e d u l e r   f r o m   p l a c i n g   n e w   p o d s   o n t o   t h a t   N o d e   b u t   d o e s   n o t   a f f e c t   e x i s t i n g   P o d s   o n   t h e   N o d e .   T h i s   i s   u s e f u l   a s   a   p r e p a r a t o r ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7878"
  },
  {
    "question": "What is Node status?",
    "answer": "A   N o d e ' s   s t a t u s   c o n t a i n s   t h e   f o l l o w i n g   i n f o r m a t i o n :   A d d r e s s e s C o n d i t i o n s C a p a c i t y   a n d   A l l o c a t a b l e I n f o   Y o u   c a n   u s e   k u b e c t l   t o   v i e w   a   N o d e ' s   s t a t u s   a n d   o t h e r   d e t a i l s :   k u b e c t l   d e s c r i b e   n o d e   < i n s e r t - n o d e - n a m e - h e r e >   S e e   N o d e   S t a t u s   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7879"
  },
  {
    "question": "What is Node heartbeats?",
    "answer": "H e a r t b e a t s ,   s e n t   b y   K u b e r n e t e s   n o d e s ,   h e l p   y o u r   c l u s t e r   d e t e r m i n e   t h e   a v a i l a b i l i t y   o f   e a c h   n o d e ,   a n d   t o   t a k e   a c t i o n   w h e n   f a i l u r e s   a r e   d e t e c t e d .   F o r   n o d e s   t h e r e   a r e   t w o   f o r m s   o f   h e a r t b e a t s :   U p d a t e s   t o   t h e   . s t a t u s   o f   a   N o d e . L e a s e   o b j e c t s   w i t h i n   t h e   k u b e - n o d e - l e a s e   n a m e s p a c e .   E a c h   N o d e   h a s   a n   a s s o c i a t e d   L e a s e   o b j e c t .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7880"
  },
  {
    "question": "What is Node controller?",
    "answer": "T h e   n o d e   c o n t r o l l e r   i s   a   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t   t h a t   m a n a g e s   v a r i o u s   a s p e c t s   o f   n o d e s .   T h e   n o d e   c o n t r o l l e r   h a s   m u l t i p l e   r o l e s   i n   a   n o d e ' s   l i f e .   T h e   f i r s t   i s   a s s i g n i n g   a   C I D R   b l o c k   t o   t h e   n o d e   w h e n   i t   i s   r e g i s t e r e d   ( i f   C I D R   a s s i g n m e n t   i s   t u r n e d   o n ) .   T h e   s e c o n d   i s   k e e p i n g   t h e   n o d e   c o n t r o l l e r ' s   i n t e r n a l   l i s t   o f   n o d e s   u p   t o   d a t e   w i t h   t h e   c l o u d   p r o v i d e r ' s   l i s t   o f   a v a i l a b l e   m a c h i n e s .   W h e n   r u n n i n g   i n   a   c l o u d   e n v i r o n m e n t   a n d   w h e n e v e r   a   n o d e   i s   u n h e a l t h y ,   t h e   n o d e   c o n t r o l l e r   a s k s   t h e   c l o u d   p r o v i d e r   i f   t h e   V M   f o r   t h a t   n o d e   i s   s t i l l   a v a i l a b l e .   I f   n o t ,   t h e   n o d e   c o n t r o l l e r   d e l e t e s   t h e   n o d e   f r o m   i t s   l i s t   o f   n o d e s .   T h e   t h i r d   i s   m o n i t o r i n g   t h e   n o d e s '   h e a l t h .   T h e   n o d e   c o n t r o l l e r   i s   r e s p o n s i b l e   f o r :   I n   t h e   c a s e   t h a t   a   n o d e   b e c o m e s   u n r e a c h a b l e ,   u p d a t i n g   t h e   R e a d y   c o n d i t i o n   i n   t h e   N o d e ' s   . s t a t u s   f i e l d .   I n   t h i s   c a s e   t h e   n o d e   c o n t r o l l e r   s e t s   t h e   R e a d y   c o n d i t i o n   t o   U n k n o w n . I f   a   n o d e   r e m a i n s   u n r e a c h a b l e :   t r i g g e r i n g   A P I - i n i t i a t e d   e v i c t i o n   f o r   a l l   o f   t h e   P o d s   o n   t h e   u n r e a c h a b l e   n o d e .   B y   d e f a u l t ,   t h e ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7881"
  },
  {
    "question": "What is Rate limits on eviction?",
    "answer": "I n   m o s t   c a s e s ,   t h e   n o d e   c o n t r o l l e r   l i m i t s   t h e   e v i c t i o n   r a t e   t o   - - n o d e - e v i c t i o n - r a t e   ( d e f a u l t   0 . 1 )   p e r   s e c o n d ,   m e a n i n g   i t   w o n ' t   e v i c t   p o d s   f r o m   m o r e   t h a n   1   n o d e   p e r   1 0   s e c o n d s .   T h e   n o d e   e v i c t i o n   b e h a v i o r   c h a n g e s   w h e n   a   n o d e   i n   a   g i v e n   a v a i l a b i l i t y   z o n e   b e c o m e s   u n h e a l t h y .   T h e   n o d e   c o n t r o l l e r   c h e c k s   w h a t   p e r c e n t a g e   o f   n o d e s   i n   t h e   z o n e   a r e   u n h e a l t h y   ( t h e   R e a d y   c o n d i t i o n   i s   U n k n o w n   o r   F a l s e )   a t   t h e   s a m e   t i m e :   I f   t h e   f r a c t i o n   o f   u n h e a l t h y   n o d e s   i s   a t   l e a s t   - - u n h e a l t h y - z o n e - t h r e s h o l d   ( d e f a u l t   0 . 5 5 ) ,   t h e n   t h e   e v i c t i o n   r a t e   i s   r e d u c e d . I f   t h e   c l u s t e r   i s   s m a l l   ( i . e .   h a s   l e s s   t h a n   o r   e q u a l   t o   - - l a r g e - c l u s t e r - s i z e - t h r e s h o l d   n o d e s   -   d e f a u l t   5 0 ) ,   t h e n   e v i c t i o n s   a r e   s t o p p e d . O t h e r w i s e ,   t h e   e v i c t i o n   r a t e   i s   r e d u c e d   t o   - - s e c o n d a r y - n o d e - e v i c t i o n - r a t e   ( d e f a u l t   0 . 0 1 )   p e r   s e c o n d .   T h e   r e a s o n   t h e s e   p o l i c i e s   a r e   i m p l e m e n t e d   p e r   a v a i l a b i l i t y   z o n e   i s   b e c a u s e   o n e   a v a i l a b i l i t y   z o n e   m i g h t   b e c o m e   p a r t i t i o n e d   f r o m   t h e   c o n t r o l   p l a n e   w h i l e   t h e   o t h e r s   r e m a i n   c o n n e c t e d .   I f   y o u r   c l u s t e r   d o e s   n o t   s p a n   m u l t i p l e   c l o u d   p r o v i d ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7882"
  },
  {
    "question": "What is Resource capacity tracking?",
    "answer": "N o d e   o b j e c t s   t r a c k   i n f o r m a t i o n   a b o u t   t h e   N o d e ' s   r e s o u r c e   c a p a c i t y :   f o r   e x a m p l e ,   t h e   a m o u n t   o f   m e m o r y   a v a i l a b l e   a n d   t h e   n u m b e r   o f   C P U s .   N o d e s   t h a t   s e l f   r e g i s t e r   r e p o r t   t h e i r   c a p a c i t y   d u r i n g   r e g i s t r a t i o n .   I f   y o u   m a n u a l l y   a d d   a   N o d e ,   t h e n   y o u   n e e d   t o   s e t   t h e   n o d e ' s   c a p a c i t y   i n f o r m a t i o n   w h e n   y o u   a d d   i t .   T h e   K u b e r n e t e s   s c h e d u l e r   e n s u r e s   t h a t   t h e r e   a r e   e n o u g h   r e s o u r c e s   f o r   a l l   t h e   P o d s   o n   a   N o d e .   T h e   s c h e d u l e r   c h e c k s   t h a t   t h e   s u m   o f   t h e   r e q u e s t s   o f   c o n t a i n e r s   o n   t h e   n o d e   i s   n o   g r e a t e r   t h a n   t h e   n o d e ' s   c a p a c i t y .   T h a t   s u m   o f   r e q u e s t s   i n c l u d e s   a l l   c o n t a i n e r s   m a n a g e d   b y   t h e   k u b e l e t ,   b u t   e x c l u d e s   a n y   c o n t a i n e r s   s t a r t e d   d i r e c t l y   b y   t h e   c o n t a i n e r   r u n t i m e ,   a n d   a l s o   e x c l u d e s   a n y   p r o c e s s e s   r u n n i n g   o u t s i d e   o f   t h e   k u b e l e t ' s   c o n t r o l .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7883"
  },
  {
    "question": "What is Node topology?",
    "answer": "I f   y o u   h a v e   e n a b l e d   t h e   T o p o l o g y M a n a g e r   f e a t u r e   g a t e ,   t h e n   t h e   k u b e l e t   c a n   u s e   t o p o l o g y   h i n t s   w h e n   m a k i n g   r e s o u r c e   a s s i g n m e n t   d e c i s i o n s .   S e e   C o n t r o l   T o p o l o g y   M a n a g e m e n t   P o l i c i e s   o n   a   N o d e   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7884"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   t h e   f o l l o w i n g :   C o m p o n e n t s   t h a t   m a k e   u p   a   n o d e . A P I   d e f i n i t i o n   f o r   N o d e . N o d e   s e c t i o n   o f   t h e   a r c h i t e c t u r e   d e s i g n   d o c u m e n t . G r a c e f u l / n o n - g r a c e f u l   n o d e   s h u t d o w n . N o d e   a u t o s c a l i n g   t o   m a n a g e   t h e   n u m b e r   a n d   s i z e   o f   n o d e s   i n   y o u r   c l u s t e r . T a i n t s   a n d   T o l e r a t i o n s . N o d e   R e s o u r c e   M a n a g e r s . R e s o u r c e   M a n a g e m e n t   f o r   W i n d o w s   n o d e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7885"
  },
  {
    "question": "What is 2 - Communication between Nodes and the Control Plane?",
    "answer": "T h i s   d o c u m e n t   c a t a l o g s   t h e   c o m m u n i c a t i o n   p a t h s   b e t w e e n   t h e   A P I   s e r v e r   a n d   t h e   K u b e r n e t e s   c l u s t e r .   T h e   i n t e n t   i s   t o   a l l o w   u s e r s   t o   c u s t o m i z e   t h e i r   i n s t a l l a t i o n   t o   h a r d e n   t h e   n e t w o r k   c o n f i g u r a t i o n   s u c h   t h a t   t h e   c l u s t e r   c a n   b e   r u n   o n   a n   u n t r u s t e d   n e t w o r k   ( o r   o n   f u l l y   p u b l i c   I P s   o n   a   c l o u d   p r o v i d e r ) .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_1_7886"
  },
  {
    "question": "What is Node to Control Plane?",
    "answer": "K u b e r n e t e s   h a s   a   \" h u b - a n d - s p o k e \"   A P I   p a t t e r n .   A l l   A P I   u s a g e   f r o m   n o d e s   ( o r   t h e   p o d s   t h e y   r u n )   t e r m i n a t e s   a t   t h e   A P I   s e r v e r .   N o n e   o f   t h e   o t h e r   c o n t r o l   p l a n e   c o m p o n e n t s   a r e   d e s i g n e d   t o   e x p o s e   r e m o t e   s e r v i c e s .   T h e   A P I   s e r v e r   i s   c o n f i g u r e d   t o   l i s t e n   f o r   r e m o t e   c o n n e c t i o n s   o n   a   s e c u r e   H T T P S   p o r t   ( t y p i c a l l y   4 4 3 )   w i t h   o n e   o r   m o r e   f o r m s   o f   c l i e n t   a u t h e n t i c a t i o n   e n a b l e d .   O n e   o r   m o r e   f o r m s   o f   a u t h o r i z a t i o n   s h o u l d   b e   e n a b l e d ,   e s p e c i a l l y   i f   a n o n y m o u s   r e q u e s t s   o r   s e r v i c e   a c c o u n t   t o k e n s   a r e   a l l o w e d .   N o d e s   s h o u l d   b e   p r o v i s i o n e d   w i t h   t h e   p u b l i c   r o o t   c e r t i f i c a t e   f o r   t h e   c l u s t e r   s u c h   t h a t   t h e y   c a n   c o n n e c t   s e c u r e l y   t o   t h e   A P I   s e r v e r   a l o n g   w i t h   v a l i d   c l i e n t   c r e d e n t i a l s .   A   g o o d   a p p r o a c h   i s   t h a t   t h e   c l i e n t   c r e d e n t i a l s   p r o v i d e d   t o   t h e   k u b e l e t   a r e   i n   t h e   f o r m   o f   a   c l i e n t   c e r t i f i c a t e .   S e e   k u b e l e t   T L S   b o o t s t r a p p i n g   f o r   a u t o m a t e d   p r o v i s i o n i n g   o f   k u b e l e t   c l i e n t   c e r t i f i c a t e s .   P o d s   t h a t   w i s h   t o   c o n n e c t   t o   t h e   A P I   s e r v e r   c a n   d o   s o   s e c u r e l y   b y   l e v e r a g i n g   a   s e r v i c e   a c c o u n t   s o   t h a t   K u b e r n e t e s   w i l l   a u t o m a t i c a l l y   i n j e c t   ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7887"
  },
  {
    "question": "What is Control plane to node?",
    "answer": "T h e r e   a r e   t w o   p r i m a r y   c o m m u n i c a t i o n   p a t h s   f r o m   t h e   c o n t r o l   p l a n e   ( t h e   A P I   s e r v e r )   t o   t h e   n o d e s .   T h e   f i r s t   i s   f r o m   t h e   A P I   s e r v e r   t o   t h e   k u b e l e t   p r o c e s s   w h i c h   r u n s   o n   e a c h   n o d e   i n   t h e   c l u s t e r .   T h e   s e c o n d   i s   f r o m   t h e   A P I   s e r v e r   t o   a n y   n o d e ,   p o d ,   o r   s e r v i c e   t h r o u g h   t h e   A P I   s e r v e r ' s   p r o x y   f u n c t i o n a l i t y .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7888"
  },
  {
    "question": "What is API server to kubelet?",
    "answer": "T h e   c o n n e c t i o n s   f r o m   t h e   A P I   s e r v e r   t o   t h e   k u b e l e t   a r e   u s e d   f o r :   F e t c h i n g   l o g s   f o r   p o d s . A t t a c h i n g   ( u s u a l l y   t h r o u g h   k u b e c t l )   t o   r u n n i n g   p o d s . P r o v i d i n g   t h e   k u b e l e t ' s   p o r t - f o r w a r d i n g   f u n c t i o n a l i t y .   T h e s e   c o n n e c t i o n s   t e r m i n a t e   a t   t h e   k u b e l e t ' s   H T T P S   e n d p o i n t .   B y   d e f a u l t ,   t h e   A P I   s e r v e r   d o e s   n o t   v e r i f y   t h e   k u b e l e t ' s   s e r v i n g   c e r t i f i c a t e ,   w h i c h   m a k e s   t h e   c o n n e c t i o n   s u b j e c t   t o   m a n - i n - t h e - m i d d l e   a t t a c k s   a n d   u n s a f e   t o   r u n   o v e r   u n t r u s t e d   a n d / o r   p u b l i c   n e t w o r k s .   T o   v e r i f y   t h i s   c o n n e c t i o n ,   u s e   t h e   - - k u b e l e t - c e r t i f i c a t e - a u t h o r i t y   f l a g   t o   p r o v i d e   t h e   A P I   s e r v e r   w i t h   a   r o o t   c e r t i f i c a t e   b u n d l e   t o   u s e   t o   v e r i f y   t h e   k u b e l e t ' s   s e r v i n g   c e r t i f i c a t e .   I f   t h a t   i s   n o t   p o s s i b l e ,   u s e   S S H   t u n n e l i n g   b e t w e e n   t h e   A P I   s e r v e r   a n d   k u b e l e t   i f   r e q u i r e d   t o   a v o i d   c o n n e c t i n g   o v e r   a n   u n t r u s t e d   o r   p u b l i c   n e t w o r k .   F i n a l l y ,   K u b e l e t   a u t h e n t i c a t i o n   a n d / o r   a u t h o r i z a t i o n   s h o u l d   b e   e n a b l e d   t o   s e c u r e   t h e   k u b e l e t   A P I .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7889"
  },
  {
    "question": "What is API server to nodes, pods, and services?",
    "answer": "T h e   c o n n e c t i o n s   f r o m   t h e   A P I   s e r v e r   t o   a   n o d e ,   p o d ,   o r   s e r v i c e   d e f a u l t   t o   p l a i n   H T T P   c o n n e c t i o n s   a n d   a r e   t h e r e f o r e   n e i t h e r   a u t h e n t i c a t e d   n o r   e n c r y p t e d .   T h e y   c a n   b e   r u n   o v e r   a   s e c u r e   H T T P S   c o n n e c t i o n   b y   p r e f i x i n g   h t t p s :   t o   t h e   n o d e ,   p o d ,   o r   s e r v i c e   n a m e   i n   t h e   A P I   U R L ,   b u t   t h e y   w i l l   n o t   v a l i d a t e   t h e   c e r t i f i c a t e   p r o v i d e d   b y   t h e   H T T P S   e n d p o i n t   n o r   p r o v i d e   c l i e n t   c r e d e n t i a l s .   S o   w h i l e   t h e   c o n n e c t i o n   w i l l   b e   e n c r y p t e d ,   i t   w i l l   n o t   p r o v i d e   a n y   g u a r a n t e e s   o f   i n t e g r i t y .   T h e s e   c o n n e c t i o n s   a r e   n o t   c u r r e n t l y   s a f e   t o   r u n   o v e r   u n t r u s t e d   o r   p u b l i c   n e t w o r k s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7890"
  },
  {
    "question": "What is SSH tunnels?",
    "answer": "K u b e r n e t e s   s u p p o r t s   S S H   t u n n e l s   t o   p r o t e c t   t h e   c o n t r o l   p l a n e   t o   n o d e s   c o m m u n i c a t i o n   p a t h s .   I n   t h i s   c o n f i g u r a t i o n ,   t h e   A P I   s e r v e r   i n i t i a t e s   a n   S S H   t u n n e l   t o   e a c h   n o d e   i n   t h e   c l u s t e r   ( c o n n e c t i n g   t o   t h e   S S H   s e r v e r   l i s t e n i n g   o n   p o r t   2 2 )   a n d   p a s s e s   a l l   t r a f f i c   d e s t i n e d   f o r   a   k u b e l e t ,   n o d e ,   p o d ,   o r   s e r v i c e   t h r o u g h   t h e   t u n n e l .   T h i s   t u n n e l   e n s u r e s   t h a t   t h e   t r a f f i c   i s   n o t   e x p o s e d   o u t s i d e   o f   t h e   n e t w o r k   i n   w h i c h   t h e   n o d e s   a r e   r u n n i n g .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7891"
  },
  {
    "question": "What is Konnectivity service?",
    "answer": "A s   a   r e p l a c e m e n t   t o   t h e   S S H   t u n n e l s ,   t h e   K o n n e c t i v i t y   s e r v i c e   p r o v i d e s   T C P   l e v e l   p r o x y   f o r   t h e   c o n t r o l   p l a n e   t o   c l u s t e r   c o m m u n i c a t i o n .   T h e   K o n n e c t i v i t y   s e r v i c e   c o n s i s t s   o f   t w o   p a r t s :   t h e   K o n n e c t i v i t y   s e r v e r   i n   t h e   c o n t r o l   p l a n e   n e t w o r k   a n d   t h e   K o n n e c t i v i t y   a g e n t s   i n   t h e   n o d e s   n e t w o r k .   T h e   K o n n e c t i v i t y   a g e n t s   i n i t i a t e   c o n n e c t i o n s   t o   t h e   K o n n e c t i v i t y   s e r v e r   a n d   m a i n t a i n   t h e   n e t w o r k   c o n n e c t i o n s .   A f t e r   e n a b l i n g   t h e   K o n n e c t i v i t y   s e r v i c e ,   a l l   c o n t r o l   p l a n e   t o   n o d e s   t r a f f i c   g o e s   t h r o u g h   t h e s e   c o n n e c t i o n s .   F o l l o w   t h e   K o n n e c t i v i t y   s e r v i c e   t a s k   t o   s e t   u p   t h e   K o n n e c t i v i t y   s e r v i c e   i n   y o u r   c l u s t e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7892"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t s L e a r n   m o r e   a b o u t   H u b s   a n d   S p o k e   m o d e l L e a r n   h o w   t o   S e c u r e   a   C l u s t e r L e a r n   m o r e   a b o u t   t h e   K u b e r n e t e s   A P I S e t   u p   K o n n e c t i v i t y   s e r v i c e U s e   P o r t   F o r w a r d i n g   t o   A c c e s s   A p p l i c a t i o n s   i n   a   C l u s t e r L e a r n   h o w   t o   F e t c h   l o g s   f o r   P o d s ,   u s e   k u b e c t l   p o r t - f o r w a r d",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7893"
  },
  {
    "question": "What is 3 - Controllers?",
    "answer": "I n   r o b o t i c s   a n d   a u t o m a t i o n ,   a   c o n t r o l   l o o p   i s   a   n o n - t e r m i n a t i n g   l o o p   t h a t   r e g u l a t e s   t h e   s t a t e   o f   a   s y s t e m .   H e r e   i s   o n e   e x a m p l e   o f   a   c o n t r o l   l o o p :   a   t h e r m o s t a t   i n   a   r o o m .   W h e n   y o u   s e t   t h e   t e m p e r a t u r e ,   t h a t ' s   t e l l i n g   t h e   t h e r m o s t a t   a b o u t   y o u r   d e s i r e d   s t a t e .   T h e   a c t u a l   r o o m   t e m p e r a t u r e   i s   t h e   c u r r e n t   s t a t e .   T h e   t h e r m o s t a t   a c t s   t o   b r i n g   t h e   c u r r e n t   s t a t e   c l o s e r   t o   t h e   d e s i r e d   s t a t e ,   b y   t u r n i n g   e q u i p m e n t   o n   o r   o f f .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_1_7894"
  },
  {
    "question": "What is Controller pattern?",
    "answer": "A   c o n t r o l l e r   t r a c k s   a t   l e a s t   o n e   K u b e r n e t e s   r e s o u r c e   t y p e .   T h e s e   o b j e c t s   h a v e   a   s p e c   f i e l d   t h a t   r e p r e s e n t s   t h e   d e s i r e d   s t a t e .   T h e   c o n t r o l l e r ( s )   f o r   t h a t   r e s o u r c e   a r e   r e s p o n s i b l e   f o r   m a k i n g   t h e   c u r r e n t   s t a t e   c o m e   c l o s e r   t o   t h a t   d e s i r e d   s t a t e .   T h e   c o n t r o l l e r   m i g h t   c a r r y   t h e   a c t i o n   o u t   i t s e l f ;   m o r e   c o m m o n l y ,   i n   K u b e r n e t e s ,   a   c o n t r o l l e r   w i l l   s e n d   m e s s a g e s   t o   t h e   A P I   s e r v e r   t h a t   h a v e   u s e f u l   s i d e   e f f e c t s .   Y o u ' l l   s e e   e x a m p l e s   o f   t h i s   b e l o w .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7895"
  },
  {
    "question": "What is Control via API server?",
    "answer": "T h e   J o b   c o n t r o l l e r   i s   a n   e x a m p l e   o f   a   K u b e r n e t e s   b u i l t - i n   c o n t r o l l e r .   B u i l t - i n   c o n t r o l l e r s   m a n a g e   s t a t e   b y   i n t e r a c t i n g   w i t h   t h e   c l u s t e r   A P I   s e r v e r .   J o b   i s   a   K u b e r n e t e s   r e s o u r c e   t h a t   r u n s   a   P o d ,   o r   p e r h a p s   s e v e r a l   P o d s ,   t o   c a r r y   o u t   a   t a s k   a n d   t h e n   s t o p .   ( O n c e   s c h e d u l e d ,   P o d   o b j e c t s   b e c o m e   p a r t   o f   t h e   d e s i r e d   s t a t e   f o r   a   k u b e l e t ) .   W h e n   t h e   J o b   c o n t r o l l e r   s e e s   a   n e w   t a s k   i t   m a k e s   s u r e   t h a t ,   s o m e w h e r e   i n   y o u r   c l u s t e r ,   t h e   k u b e l e t s   o n   a   s e t   o f   N o d e s   a r e   r u n n i n g   t h e   r i g h t   n u m b e r   o f   P o d s   t o   g e t   t h e   w o r k   d o n e .   T h e   J o b   c o n t r o l l e r   d o e s   n o t   r u n   a n y   P o d s   o r   c o n t a i n e r s   i t s e l f .   I n s t e a d ,   t h e   J o b   c o n t r o l l e r   t e l l s   t h e   A P I   s e r v e r   t o   c r e a t e   o r   r e m o v e   P o d s .   O t h e r   c o m p o n e n t s   i n   t h e   c o n t r o l   p l a n e   a c t   o n   t h e   n e w   i n f o r m a t i o n   ( t h e r e   a r e   n e w   P o d s   t o   s c h e d u l e   a n d   r u n ) ,   a n d   e v e n t u a l l y   t h e   w o r k   i s   d o n e .   A f t e r   y o u   c r e a t e   a   n e w   J o b ,   t h e   d e s i r e d   s t a t e   i s   f o r   t h a t   J o b   t o   b e   c o m p l e t e d .   T h e   J o b   c o n t r o l l e r   m a k e s   t h e   c u r r e n t   s t a t e   f o r   t h a t   J o b   b e   n e a r e r   t o   y o u r   d e s i r e d   s t a t e :   c r e a t i n g   P o d s   t h a t   d o   t h e   w o r k   y o u   w a n t e d   f o r ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7896"
  },
  {
    "question": "What is Direct control?",
    "answer": "I n   c o n t r a s t   w i t h   J o b ,   s o m e   c o n t r o l l e r s   n e e d   t o   m a k e   c h a n g e s   t o   t h i n g s   o u t s i d e   o f   y o u r   c l u s t e r .   F o r   e x a m p l e ,   i f   y o u   u s e   a   c o n t r o l   l o o p   t o   m a k e   s u r e   t h e r e   a r e   e n o u g h   N o d e s   i n   y o u r   c l u s t e r ,   t h e n   t h a t   c o n t r o l l e r   n e e d s   s o m e t h i n g   o u t s i d e   t h e   c u r r e n t   c l u s t e r   t o   s e t   u p   n e w   N o d e s   w h e n   n e e d e d .   C o n t r o l l e r s   t h a t   i n t e r a c t   w i t h   e x t e r n a l   s t a t e   f i n d   t h e i r   d e s i r e d   s t a t e   f r o m   t h e   A P I   s e r v e r ,   t h e n   c o m m u n i c a t e   d i r e c t l y   w i t h   a n   e x t e r n a l   s y s t e m   t o   b r i n g   t h e   c u r r e n t   s t a t e   c l o s e r   i n   l i n e .   ( T h e r e   a c t u a l l y   i s   a   c o n t r o l l e r   t h a t   h o r i z o n t a l l y   s c a l e s   t h e   n o d e s   i n   y o u r   c l u s t e r . )   T h e   i m p o r t a n t   p o i n t   h e r e   i s   t h a t   t h e   c o n t r o l l e r   m a k e s   s o m e   c h a n g e s   t o   b r i n g   a b o u t   y o u r   d e s i r e d   s t a t e ,   a n d   t h e n   r e p o r t s   t h e   c u r r e n t   s t a t e   b a c k   t o   y o u r   c l u s t e r ' s   A P I   s e r v e r .   O t h e r   c o n t r o l   l o o p s   c a n   o b s e r v e   t h a t   r e p o r t e d   d a t a   a n d   t a k e   t h e i r   o w n   a c t i o n s .   I n   t h e   t h e r m o s t a t   e x a m p l e ,   i f   t h e   r o o m   i s   v e r y   c o l d   t h e n   a   d i f f e r e n t   c o n t r o l l e r   m i g h t   a l s o   t u r n   o n   a   f r o s t   p r o t e c t i o n   h e a t e r .   W i t h   K u b e r n e t e s   c l u s t e r s ,   t h e   c o n t r o l   p l a n e   i n d i r e c t l y   w o r k s   w i t h   I P ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7897"
  },
  {
    "question": "What is Desired versus current state?",
    "answer": "K u b e r n e t e s   t a k e s   a   c l o u d - n a t i v e   v i e w   o f   s y s t e m s ,   a n d   i s   a b l e   t o   h a n d l e   c o n s t a n t   c h a n g e .   Y o u r   c l u s t e r   c o u l d   b e   c h a n g i n g   a t   a n y   p o i n t   a s   w o r k   h a p p e n s   a n d   c o n t r o l   l o o p s   a u t o m a t i c a l l y   f i x   f a i l u r e s .   T h i s   m e a n s   t h a t ,   p o t e n t i a l l y ,   y o u r   c l u s t e r   n e v e r   r e a c h e s   a   s t a b l e   s t a t e .   A s   l o n g   a s   t h e   c o n t r o l l e r s   f o r   y o u r   c l u s t e r   a r e   r u n n i n g   a n d   a b l e   t o   m a k e   u s e f u l   c h a n g e s ,   i t   d o e s n ' t   m a t t e r   i f   t h e   o v e r a l l   s t a t e   i s   s t a b l e   o r   n o t .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7898"
  },
  {
    "question": "What is Design?",
    "answer": "A s   a   t e n e t   o f   i t s   d e s i g n ,   K u b e r n e t e s   u s e s   l o t s   o f   c o n t r o l l e r s   t h a t   e a c h   m a n a g e   a   p a r t i c u l a r   a s p e c t   o f   c l u s t e r   s t a t e .   M o s t   c o m m o n l y ,   a   p a r t i c u l a r   c o n t r o l   l o o p   ( c o n t r o l l e r )   u s e s   o n e   k i n d   o f   r e s o u r c e   a s   i t s   d e s i r e d   s t a t e ,   a n d   h a s   a   d i f f e r e n t   k i n d   o f   r e s o u r c e   t h a t   i t   m a n a g e s   t o   m a k e   t h a t   d e s i r e d   s t a t e   h a p p e n .   F o r   e x a m p l e ,   a   c o n t r o l l e r   f o r   J o b s   t r a c k s   J o b   o b j e c t s   ( t o   d i s c o v e r   n e w   w o r k )   a n d   P o d   o b j e c t s   ( t o   r u n   t h e   J o b s ,   a n d   t h e n   t o   s e e   w h e n   t h e   w o r k   i s   f i n i s h e d ) .   I n   t h i s   c a s e   s o m e t h i n g   e l s e   c r e a t e s   t h e   J o b s ,   w h e r e a s   t h e   J o b   c o n t r o l l e r   c r e a t e s   P o d s .   I t ' s   u s e f u l   t o   h a v e   s i m p l e   c o n t r o l l e r s   r a t h e r   t h a n   o n e ,   m o n o l i t h i c   s e t   o f   c o n t r o l   l o o p s   t h a t   a r e   i n t e r l i n k e d .   C o n t r o l l e r s   c a n   f a i l ,   s o   K u b e r n e t e s   i s   d e s i g n e d   t o   a l l o w   f o r   t h a t .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7899"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e r e   c a n   b e   s e v e r a l   c o n t r o l l e r s   t h a t   c r e a t e   o r   u p d a t e   t h e   s a m e   k i n d   o f   o b j e c t .   B e h i n d   t h e   s c e n e s ,   K u b e r n e t e s   c o n t r o l l e r s   m a k e   s u r e   t h a t   t h e y   o n l y   p a y   a t t e n t i o n   t o   t h e   r e s o u r c e s   l i n k e d   t o   t h e i r   c o n t r o l l i n g   r e s o u r c e .   F o r   e x a m p l e ,   y o u   c a n   h a v e   D e p l o y m e n t s   a n d   J o b s ;   t h e s e   b o t h   c r e a t e   P o d s .   T h e   J o b   c o n t r o l l e r   d o e s   n o t   d e l e t e   t h e   P o d s   t h a t   y o u r   D e p l o y m e n t   c r e a t e d ,   b e c a u s e   t h e r e   i s   i n f o r m a t i o n   ( l a b e l s )   t h e   c o n t r o l l e r s   c a n   u s e   t o   t e l l   t h o s e   P o d s   a p a r t .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_4_7900"
  },
  {
    "question": "What is Ways of running controllers?",
    "answer": "K u b e r n e t e s   c o m e s   w i t h   a   s e t   o f   b u i l t - i n   c o n t r o l l e r s   t h a t   r u n   i n s i d e   t h e   k u b e - c o n t r o l l e r - m a n a g e r .   T h e s e   b u i l t - i n   c o n t r o l l e r s   p r o v i d e   i m p o r t a n t   c o r e   b e h a v i o r s .   T h e   D e p l o y m e n t   c o n t r o l l e r   a n d   J o b   c o n t r o l l e r   a r e   e x a m p l e s   o f   c o n t r o l l e r s   t h a t   c o m e   a s   p a r t   o f   K u b e r n e t e s   i t s e l f   ( \" b u i l t - i n \"   c o n t r o l l e r s ) .   K u b e r n e t e s   l e t s   y o u   r u n   a   r e s i l i e n t   c o n t r o l   p l a n e ,   s o   t h a t   i f   a n y   o f   t h e   b u i l t - i n   c o n t r o l l e r s   w e r e   t o   f a i l ,   a n o t h e r   p a r t   o f   t h e   c o n t r o l   p l a n e   w i l l   t a k e   o v e r   t h e   w o r k .   Y o u   c a n   f i n d   c o n t r o l l e r s   t h a t   r u n   o u t s i d e   t h e   c o n t r o l   p l a n e ,   t o   e x t e n d   K u b e r n e t e s .   O r ,   i f   y o u   w a n t ,   y o u   c a n   w r i t e   a   n e w   c o n t r o l l e r   y o u r s e l f .   Y o u   c a n   r u n   y o u r   o w n   c o n t r o l l e r   a s   a   s e t   o f   P o d s ,   o r   e x t e r n a l l y   t o   K u b e r n e t e s .   W h a t   f i t s   b e s t   w i l l   d e p e n d   o n   w h a t   t h a t   p a r t i c u l a r   c o n t r o l l e r   d o e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7901"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   t h e   K u b e r n e t e s   c o n t r o l   p l a n e D i s c o v e r   s o m e   o f   t h e   b a s i c   K u b e r n e t e s   o b j e c t s L e a r n   m o r e   a b o u t   t h e   K u b e r n e t e s   A P I I f   y o u   w a n t   t o   w r i t e   y o u r   o w n   c o n t r o l l e r ,   s e e   K u b e r n e t e s   e x t e n s i o n   p a t t e r n s   a n d   t h e   s a m p l e - c o n t r o l l e r   r e p o s i t o r y .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7902"
  },
  {
    "question": "What is 4 - Leases?",
    "answer": "D i s t r i b u t e d   s y s t e m s   o f t e n   h a v e   a   n e e d   f o r   l e a s e s ,   w h i c h   p r o v i d e   a   m e c h a n i s m   t o   l o c k   s h a r e d   r e s o u r c e s   a n d   c o o r d i n a t e   a c t i v i t y   b e t w e e n   m e m b e r s   o f   a   s e t .   I n   K u b e r n e t e s ,   t h e   l e a s e   c o n c e p t   i s   r e p r e s e n t e d   b y   L e a s e   o b j e c t s   i n   t h e   c o o r d i n a t i o n . k 8 s . i o   A P I   G r o u p ,   w h i c h   a r e   u s e d   f o r   s y s t e m - c r i t i c a l   c a p a b i l i t i e s   s u c h   a s   n o d e   h e a r t b e a t s   a n d   c o m p o n e n t - l e v e l   l e a d e r   e l e c t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_1_7903"
  },
  {
    "question": "What is Node heartbeats?",
    "answer": "K u b e r n e t e s   u s e s   t h e   L e a s e   A P I   t o   c o m m u n i c a t e   k u b e l e t   n o d e   h e a r t b e a t s   t o   t h e   K u b e r n e t e s   A P I   s e r v e r .   F o r   e v e r y   N o d e   ,   t h e r e   i s   a   L e a s e   o b j e c t   w i t h   a   m a t c h i n g   n a m e   i n   t h e   k u b e - n o d e - l e a s e   n a m e s p a c e .   U n d e r   t h e   h o o d ,   e v e r y   k u b e l e t   h e a r t b e a t   i s   a n   u p d a t e   r e q u e s t   t o   t h i s   L e a s e   o b j e c t ,   u p d a t i n g   t h e   s p e c . r e n e w T i m e   f i e l d   f o r   t h e   L e a s e .   T h e   K u b e r n e t e s   c o n t r o l   p l a n e   u s e s   t h e   t i m e   s t a m p   o f   t h i s   f i e l d   t o   d e t e r m i n e   t h e   a v a i l a b i l i t y   o f   t h i s   N o d e .   S e e   N o d e   L e a s e   o b j e c t s   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7904"
  },
  {
    "question": "What is Leader election?",
    "answer": "K u b e r n e t e s   a l s o   u s e s   L e a s e s   t o   e n s u r e   o n l y   o n e   i n s t a n c e   o f   a   c o m p o n e n t   i s   r u n n i n g   a t   a n y   g i v e n   t i m e .   T h i s   i s   u s e d   b y   c o n t r o l   p l a n e   c o m p o n e n t s   l i k e   k u b e - c o n t r o l l e r - m a n a g e r   a n d   k u b e - s c h e d u l e r   i n   H A   c o n f i g u r a t i o n s ,   w h e r e   o n l y   o n e   i n s t a n c e   o f   t h e   c o m p o n e n t   s h o u l d   b e   a c t i v e l y   r u n n i n g   w h i l e   t h e   o t h e r   i n s t a n c e s   a r e   o n   s t a n d - b y .   R e a d   c o o r d i n a t e d   l e a d e r   e l e c t i o n   t o   l e a r n   a b o u t   h o w   K u b e r n e t e s   b u i l d s   o n   t h e   L e a s e   A P I   t o   s e l e c t   w h i c h   c o m p o n e n t   i n s t a n c e   a c t s   a s   l e a d e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7905"
  },
  {
    "question": "What is API server identity?",
    "answer": "S t a r t i n g   i n   K u b e r n e t e s   v 1 . 2 6 ,   e a c h   k u b e - a p i s e r v e r   u s e s   t h e   L e a s e   A P I   t o   p u b l i s h   i t s   i d e n t i t y   t o   t h e   r e s t   o f   t h e   s y s t e m .   W h i l e   n o t   p a r t i c u l a r l y   u s e f u l   o n   i t s   o w n ,   t h i s   p r o v i d e s   a   m e c h a n i s m   f o r   c l i e n t s   t o   d i s c o v e r   h o w   m a n y   i n s t a n c e s   o f   k u b e - a p i s e r v e r   a r e   o p e r a t i n g   t h e   K u b e r n e t e s   c o n t r o l   p l a n e .   E x i s t e n c e   o f   k u b e - a p i s e r v e r   l e a s e s   e n a b l e s   f u t u r e   c a p a b i l i t i e s   t h a t   m a y   r e q u i r e   c o o r d i n a t i o n   b e t w e e n   e a c h   k u b e - a p i s e r v e r .   Y o u   c a n   i n s p e c t   L e a s e s   o w n e d   b y   e a c h   k u b e - a p i s e r v e r   b y   c h e c k i n g   f o r   l e a s e   o b j e c t s   i n   t h e   k u b e - s y s t e m   n a m e s p a c e   w i t h   t h e   n a m e   a p i s e r v e r - < s h a 2 5 6 - h a s h > .   A l t e r n a t i v e l y   y o u   c a n   u s e   t h e   l a b e l   s e l e c t o r   a p i s e r v e r . k u b e r n e t e s . i o / i d e n t i t y = k u b e - a p i s e r v e r :   k u b e c t l   - n   k u b e - s y s t e m   g e t   l e a s e   - l   a p i s e r v e r . k u b e r n e t e s . i o / i d e n t i t y = k u b e - a p i s e r v e r   N A M E   H O L D E R   A G E   a p i s e r v e r - 0 7 a 5 e a 9 b 9 b 0 7 2 c 4 a 5 f 3 d 1 c 3 7 0 2   a p i s e r v e r - 0 7 a 5 e a 9 b 9 b 0 7 2 c 4 a 5 f 3 d 1 c 3 7 0 2 _ 0 c 8 9 1 4 f 7 - 0 f 3 5 - 4 4 0 e - 8 6 7 6 - 7 8 4 4 9 7 7 d 3 a 0 5   5 m 3 3 s   a p i s e r v e r - 7 b e 9 e 0 6 1 c 5 9 d 3 6 8 b 3 d d a f 1 3 7 6 e   a p i s e r v e r - 7 b e 9 e 0 6 1 c 5 9 d 3 6 8 b 3 d d a f 1 3 7 6 e _ 8 4 f 2 a 8 5 d - 3 7 c 1 - 4 b 1 4 - b 6 b 9 - 6 0 3 e 6 2 e 4 8 9 6 f   4 m 2 3 s   a p i s e r v ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7906"
  },
  {
    "question": "What is Workloads?",
    "answer": "Y o u r   o w n   w o r k l o a d   c a n   d e f i n e   i t s   o w n   u s e   o f   L e a s e s .   F o r   e x a m p l e ,   y o u   m i g h t   r u n   a   c u s t o m   c o n t r o l l e r   w h e r e   a   p r i m a r y   o r   l e a d e r   m e m b e r   p e r f o r m s   o p e r a t i o n s   t h a t   i t s   p e e r s   d o   n o t .   Y o u   d e f i n e   a   L e a s e   s o   t h a t   t h e   c o n t r o l l e r   r e p l i c a s   c a n   s e l e c t   o r   e l e c t   a   l e a d e r ,   u s i n g   t h e   K u b e r n e t e s   A P I   f o r   c o o r d i n a t i o n .   I f   y o u   d o   u s e   a   L e a s e ,   i t ' s   a   g o o d   p r a c t i c e   t o   d e f i n e   a   n a m e   f o r   t h e   L e a s e   t h a t   i s   o b v i o u s l y   l i n k e d   t o   t h e   p r o d u c t   o r   c o m p o n e n t .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   c o m p o n e n t   n a m e d   E x a m p l e   F o o ,   u s e   a   L e a s e   n a m e d   e x a m p l e - f o o .   I f   a   c l u s t e r   o p e r a t o r   o r   a n o t h e r   e n d   u s e r   c o u l d   d e p l o y   m u l t i p l e   i n s t a n c e s   o f   a   c o m p o n e n t ,   s e l e c t   a   n a m e   p r e f i x   a n d   p i c k   a   m e c h a n i s m   ( s u c h   a s   h a s h   o f   t h e   n a m e   o f   t h e   D e p l o y m e n t )   t o   a v o i d   n a m e   c o l l i s i o n s   f o r   t h e   L e a s e s .   Y o u   c a n   u s e   a n o t h e r   a p p r o a c h   s o   l o n g   a s   i t   a c h i e v e s   t h e   s a m e   o u t c o m e :   d i f f e r e n t   s o f t w a r e   p r o d u c t s   d o   n o t   c o n f l i c t   w i t h   o n e   a n o t h e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7907"
  },
  {
    "question": "What is 5 - Cloud Controller Manager?",
    "answer": "C l o u d   i n f r a s t r u c t u r e   t e c h n o l o g i e s   l e t   y o u   r u n   K u b e r n e t e s   o n   p u b l i c ,   p r i v a t e ,   a n d   h y b r i d   c l o u d s .   K u b e r n e t e s   b e l i e v e s   i n   a u t o m a t e d ,   A P I - d r i v e n   i n f r a s t r u c t u r e   w i t h o u t   t i g h t   c o u p l i n g   b e t w e e n   c o m p o n e n t s .   T h e   c l o u d - c o n t r o l l e r - m a n a g e r   i s   a   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t   t h a t   e m b e d s   c l o u d - s p e c i f i c   c o n t r o l   l o g i c .   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   l e t s   y o u   l i n k   y o u r   c l u s t e r   i n t o   y o u r   c l o u d   p r o v i d e r ' s   A P I ,   a n d   s e p a r a t e s   o u t   t h e   c o m p o n e n t s   t h a t   i n t e r a c t   w i t h   t h a t   c l o u d   p l a t f o r m   f r o m   c o m p o n e n t s   t h a t   o n l y   i n t e r a c t   w i t h   y o u r   c l u s t e r .   T h e   c l o u d - c o n t r o l l e r - m a n a g e r   i s   a   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t   t h a t   e m b e d s   c l o u d - s p e c i f i c   c o n t r o l   l o g i c .   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   l e t s   y o u   l i n k   y o u r   c l u s t e r   i n t o   y o u r   c l o u d   p r o v i d e r ' s   A P I ,   a n d   s e p a r a t e s   o u t   t h e   c o m p o n e n t s   t h a t   i n t e r a c t   w i t h   t h a t   c l o u d   p l a t f o r m   f r o m   c o m p o n e n t s   t h a t   o n l y   i n t e r a c t   w i t h   y o u r   c l u s t e r .   B y   d e c o u p l i n g   t h e   i n t e r o p e r a b i l i t y   l o g i c   b e t w e e n   K u b e r n e t e s   a n d   t h e   u n d e r l y i n g   c l o u d   i n f r a s t r u c t u r e ,   t h e   c l o u d - c o n t r o l l e r - m a n a g e r   c o m p o n e n t   e n a b l e s   c l o ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_1_7908"
  },
  {
    "question": "What is Design?",
    "answer": "T h e   c l o u d   c o n t r o l l e r   m a n a g e r   r u n s   i n   t h e   c o n t r o l   p l a n e   a s   a   r e p l i c a t e d   s e t   o f   p r o c e s s e s   ( u s u a l l y ,   t h e s e   a r e   c o n t a i n e r s   i n   P o d s ) .   E a c h   c l o u d - c o n t r o l l e r - m a n a g e r   i m p l e m e n t s   m u l t i p l e   c o n t r o l l e r s   i n   a   s i n g l e   p r o c e s s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7909"
  },
  {
    "question": "What is Cloud controller manager functions?",
    "answer": "T h e   c o n t r o l l e r s   i n s i d e   t h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n c l u d e :",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7910"
  },
  {
    "question": "What is Node controller?",
    "answer": "T h e   n o d e   c o n t r o l l e r   i s   r e s p o n s i b l e   f o r   u p d a t i n g   N o d e   o b j e c t s   w h e n   n e w   s e r v e r s   a r e   c r e a t e d   i n   y o u r   c l o u d   i n f r a s t r u c t u r e .   T h e   n o d e   c o n t r o l l e r   o b t a i n s   i n f o r m a t i o n   a b o u t   t h e   h o s t s   r u n n i n g   i n s i d e   y o u r   t e n a n c y   w i t h   t h e   c l o u d   p r o v i d e r .   T h e   n o d e   c o n t r o l l e r   p e r f o r m s   t h e   f o l l o w i n g   f u n c t i o n s :   U p d a t e   a   N o d e   o b j e c t   w i t h   t h e   c o r r e s p o n d i n g   s e r v e r ' s   u n i q u e   i d e n t i f i e r   o b t a i n e d   f r o m   t h e   c l o u d   p r o v i d e r   A P I . A n n o t a t i n g   a n d   l a b e l l i n g   t h e   N o d e   o b j e c t   w i t h   c l o u d - s p e c i f i c   i n f o r m a t i o n ,   s u c h   a s   t h e   r e g i o n   t h e   n o d e   i s   d e p l o y e d   i n t o   a n d   t h e   r e s o u r c e s   ( C P U ,   m e m o r y ,   e t c )   t h a t   i t   h a s   a v a i l a b l e . O b t a i n   t h e   n o d e ' s   h o s t n a m e   a n d   n e t w o r k   a d d r e s s e s . V e r i f y i n g   t h e   n o d e ' s   h e a l t h .   I n   c a s e   a   n o d e   b e c o m e s   u n r e s p o n s i v e ,   t h i s   c o n t r o l l e r   c h e c k s   w i t h   y o u r   c l o u d   p r o v i d e r ' s   A P I   t o   s e e   i f   t h e   s e r v e r   h a s   b e e n   d e a c t i v a t e d   /   d e l e t e d   /   t e r m i n a t e d .   I f   t h e   n o d e   h a s   b e e n   d e l e t e d   f r o m   t h e   c l o u d ,   t h e   c o n t r o l l e r   d e l e t e s   t h e   N o d e   o b j e c t   f r o m   y o u r   K u b e r n e t e s   c l u s t e r .   S o m e   c l o u d   p r o v i d e r   i m p l e m e n t a t i o n s   s p l i t   t h i s   i n t o   a   n o d e   c o n t r o l l e r   a n d   a   s e p a r a ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7911"
  },
  {
    "question": "What is Route controller?",
    "answer": "T h e   r o u t e   c o n t r o l l e r   i s   r e s p o n s i b l e   f o r   c o n f i g u r i n g   r o u t e s   i n   t h e   c l o u d   a p p r o p r i a t e l y   s o   t h a t   c o n t a i n e r s   o n   d i f f e r e n t   n o d e s   i n   y o u r   K u b e r n e t e s   c l u s t e r   c a n   c o m m u n i c a t e   w i t h   e a c h   o t h e r .   D e p e n d i n g   o n   t h e   c l o u d   p r o v i d e r ,   t h e   r o u t e   c o n t r o l l e r   m i g h t   a l s o   a l l o c a t e   b l o c k s   o f   I P   a d d r e s s e s   f o r   t h e   P o d   n e t w o r k .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7912"
  },
  {
    "question": "What is Service controller?",
    "answer": "S e r v i c e s   i n t e g r a t e   w i t h   c l o u d   i n f r a s t r u c t u r e   c o m p o n e n t s   s u c h   a s   m a n a g e d   l o a d   b a l a n c e r s ,   I P   a d d r e s s e s ,   n e t w o r k   p a c k e t   f i l t e r i n g ,   a n d   t a r g e t   h e a l t h   c h e c k i n g .   T h e   s e r v i c e   c o n t r o l l e r   i n t e r a c t s   w i t h   y o u r   c l o u d   p r o v i d e r ' s   A P I s   t o   s e t   u p   l o a d   b a l a n c e r s   a n d   o t h e r   i n f r a s t r u c t u r e   c o m p o n e n t s   w h e n   y o u   d e c l a r e   a   S e r v i c e   r e s o u r c e   t h a t   r e q u i r e s   t h e m .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7913"
  },
  {
    "question": "What is Authorization?",
    "answer": "T h i s   s e c t i o n   b r e a k s   d o w n   t h e   a c c e s s   t h a t   t h e   c l o u d   c o n t r o l l e r   m a n a g e r   r e q u i r e s   o n   v a r i o u s   A P I   o b j e c t s ,   i n   o r d e r   t o   p e r f o r m   i t s   o p e r a t i o n s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7914"
  },
  {
    "question": "What is Node controller?",
    "answer": "T h e   N o d e   c o n t r o l l e r   o n l y   w o r k s   w i t h   N o d e   o b j e c t s .   I t   r e q u i r e s   f u l l   a c c e s s   t o   r e a d   a n d   m o d i f y   N o d e   o b j e c t s .   v 1 / N o d e :   g e t l i s t c r e a t e u p d a t e p a t c h w a t c h d e l e t e",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7915"
  },
  {
    "question": "What is Route controller?",
    "answer": "T h e   r o u t e   c o n t r o l l e r   l i s t e n s   t o   N o d e   o b j e c t   c r e a t i o n   a n d   c o n f i g u r e s   r o u t e s   a p p r o p r i a t e l y .   I t   r e q u i r e s   G e t   a c c e s s   t o   N o d e   o b j e c t s .   v 1 / N o d e :   g e t",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7916"
  },
  {
    "question": "What is Service controller?",
    "answer": "T h e   s e r v i c e   c o n t r o l l e r   w a t c h e s   f o r   S e r v i c e   o b j e c t   c r e a t e ,   u p d a t e   a n d   d e l e t e   e v e n t s   a n d   t h e n   c o n f i g u r e s   l o a d   b a l a n c e r s   f o r   t h o s e   S e r v i c e s   a p p r o p r i a t e l y .   T o   a c c e s s   S e r v i c e s ,   i t   r e q u i r e s   l i s t ,   a n d   w a t c h   a c c e s s .   T o   u p d a t e   S e r v i c e s ,   i t   r e q u i r e s   p a t c h   a n d   u p d a t e   a c c e s s   t o   t h e   s t a t u s   s u b r e s o u r c e .   v 1 / S e r v i c e :   l i s t g e t w a t c h p a t c h u p d a t e",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7917"
  },
  {
    "question": "What is Others?",
    "answer": "T h e   i m p l e m e n t a t i o n   o f   t h e   c o r e   o f   t h e   c l o u d   c o n t r o l l e r   m a n a g e r   r e q u i r e s   a c c e s s   t o   c r e a t e   E v e n t   o b j e c t s ,   a n d   t o   e n s u r e   s e c u r e   o p e r a t i o n ,   i t   r e q u i r e s   a c c e s s   t o   c r e a t e   S e r v i c e A c c o u n t s .   v 1 / E v e n t :   c r e a t e p a t c h u p d a t e   v 1 / S e r v i c e A c c o u n t :   c r e a t e   T h e   R B A C   C l u s t e r R o l e   f o r   t h e   c l o u d   c o n t r o l l e r   m a n a g e r   l o o k s   l i k e :   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   n a m e :   c l o u d - c o n t r o l l e r - m a n a g e r   r u l e s :   -   a p i G r o u p s :   -   \" \"   r e s o u r c e s :   -   e v e n t s   v e r b s :   -   c r e a t e   -   p a t c h   -   u p d a t e   -   a p i G r o u p s :   -   \" \"   r e s o u r c e s :   -   n o d e s   v e r b s :   -   ' * '   -   a p i G r o u p s :   -   \" \"   r e s o u r c e s :   -   n o d e s / s t a t u s   v e r b s :   -   p a t c h   -   a p i G r o u p s :   -   \" \"   r e s o u r c e s :   -   s e r v i c e s   v e r b s :   -   l i s t   -   w a t c h   -   a p i G r o u p s :   -   \" \"   r e s o u r c e s :   -   s e r v i c e s / s t a t u s   v e r b s :   -   p a t c h   -   u p d a t e   -   a p i G r o u p s :   -   \" \"   r e s o u r c e s :   -   s e r v i c e a c c o u n t s   v e r b s :   -   c r e a t e   -   a p i G r o u p s :   -   \" \"   r e s o u r c e s :   -   p e r s i s t e n t v o l u m e s   v e r b s :   -   g e t   -   l i s t   -   u p d a t e   -   w a t c h",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7918"
  },
  {
    "question": "What is What's next?",
    "answer": "C l o u d   C o n t r o l l e r   M a n a g e r   A d m i n i s t r a t i o n   h a s   i n s t r u c t i o n s   o n   r u n n i n g   a n d   m a n a g i n g   t h e   c l o u d   c o n t r o l l e r   m a n a g e r . T o   u p g r a d e   a   H A   c o n t r o l   p l a n e   t o   u s e   t h e   c l o u d   c o n t r o l l e r   m a n a g e r ,   s e e   M i g r a t e   R e p l i c a t e d   C o n t r o l   P l a n e   T o   U s e   C l o u d   C o n t r o l l e r   M a n a g e r . W a n t   t o   k n o w   h o w   t o   i m p l e m e n t   y o u r   o w n   c l o u d   c o n t r o l l e r   m a n a g e r ,   o r   e x t e n d   a n   e x i s t i n g   p r o j e c t ? T h e   c l o u d   c o n t r o l l e r   m a n a g e r   u s e s   G o   i n t e r f a c e s ,   s p e c i f i c a l l y ,   C l o u d P r o v i d e r   i n t e r f a c e   d e f i n e d   i n   c l o u d . g o   f r o m   k u b e r n e t e s / c l o u d - p r o v i d e r   t o   a l l o w   i m p l e m e n t a t i o n s   f r o m   a n y   c l o u d   t o   b e   p l u g g e d   i n . T h e   i m p l e m e n t a t i o n   o f   t h e   s h a r e d   c o n t r o l l e r s   h i g h l i g h t e d   i n   t h i s   d o c u m e n t   ( N o d e ,   R o u t e ,   a n d   S e r v i c e ) ,   a n d   s o m e   s c a f f o l d i n g   a l o n g   w i t h   t h e   s h a r e d   c l o u d p r o v i d e r   i n t e r f a c e ,   i s   p a r t   o f   t h e   K u b e r n e t e s   c o r e .   I m p l e m e n t a t i o n s   s p e c i f i c   t o   c l o u d   p r o v i d e r s   a r e   o u t s i d e   t h e   c o r e   o f   K u b e r n e t e s   a n d   i m p l e m e n t   t h e   C l o u d P r o v i d e r   i n t e r f a c e . F o r   m o r e   i n f o r m a t i o n   a b o u t   d e v e l o p i n g   p l u g i n s ,   s e e   D e v e l o p i n g   C l o u d   C o n t r o l l e r   M a n a g e r .   C l o u d   C o n t r o l l e r   M a n a g e r   A d m i n i s t r a t i o n   h a s   i n s t r u c t i ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7919"
  },
  {
    "question": "What is 6 - About cgroup v2?",
    "answer": "O n   L i n u x ,   c o n t r o l   g r o u p s   c o n s t r a i n   r e s o u r c e s   t h a t   a r e   a l l o c a t e d   t o   p r o c e s s e s .   T h e   k u b e l e t   a n d   t h e   u n d e r l y i n g   c o n t a i n e r   r u n t i m e   n e e d   t o   i n t e r f a c e   w i t h   c g r o u p s   t o   e n f o r c e   r e s o u r c e   m a n a g e m e n t   f o r   p o d s   a n d   c o n t a i n e r s   w h i c h   i n c l u d e s   c p u / m e m o r y   r e q u e s t s   a n d   l i m i t s   f o r   c o n t a i n e r i z e d   w o r k l o a d s .   T h e r e   a r e   t w o   v e r s i o n s   o f   c g r o u p s   i n   L i n u x :   c g r o u p   v 1   a n d   c g r o u p   v 2 .   c g r o u p   v 2   i s   t h e   n e w   g e n e r a t i o n   o f   t h e   c g r o u p   A P I .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_1_7920"
  },
  {
    "question": "What is What is cgroup v2??",
    "answer": "c g r o u p   v 2   i s   t h e   n e x t   v e r s i o n   o f   t h e   L i n u x   c g r o u p   A P I .   c g r o u p   v 2   p r o v i d e s   a   u n i f i e d   c o n t r o l   s y s t e m   w i t h   e n h a n c e d   r e s o u r c e   m a n a g e m e n t   c a p a b i l i t i e s .   c g r o u p   v 2   o f f e r s   s e v e r a l   i m p r o v e m e n t s   o v e r   c g r o u p   v 1 ,   s u c h   a s   t h e   f o l l o w i n g :   S i n g l e   u n i f i e d   h i e r a r c h y   d e s i g n   i n   A P I S a f e r   s u b - t r e e   d e l e g a t i o n   t o   c o n t a i n e r s N e w e r   f e a t u r e s   l i k e   P r e s s u r e   S t a l l   I n f o r m a t i o n E n h a n c e d   r e s o u r c e   a l l o c a t i o n   m a n a g e m e n t   a n d   i s o l a t i o n   a c r o s s   m u l t i p l e   r e s o u r c e s U n i f i e d   a c c o u n t i n g   f o r   d i f f e r e n t   t y p e s   o f   m e m o r y   a l l o c a t i o n s   ( n e t w o r k   m e m o r y ,   k e r n e l   m e m o r y ,   e t c ) A c c o u n t i n g   f o r   n o n - i m m e d i a t e   r e s o u r c e   c h a n g e s   s u c h   a s   p a g e   c a c h e   w r i t e   b a c k s   U n i f i e d   a c c o u n t i n g   f o r   d i f f e r e n t   t y p e s   o f   m e m o r y   a l l o c a t i o n s   ( n e t w o r k   m e m o r y ,   k e r n e l   m e m o r y ,   e t c ) A c c o u n t i n g   f o r   n o n - i m m e d i a t e   r e s o u r c e   c h a n g e s   s u c h   a s   p a g e   c a c h e   w r i t e   b a c k s   S o m e   K u b e r n e t e s   f e a t u r e s   e x c l u s i v e l y   u s e   c g r o u p   v 2   f o r   e n h a n c e d   r e s o u r c e   m a n a g e m e n t   a n d   i s o l a t i o n .   F o r   e x a m p l e ,   t h e   M e m o r y Q o S   f e a t u r e   i m p r o v e s   m e m o r y   Q o S   a n d   r e l i e s   o n   c g r o u p   v 2   p r i m i t i v e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7921"
  },
  {
    "question": "What is Using cgroup v2?",
    "answer": "T h e   r e c o m m e n d e d   w a y   t o   u s e   c g r o u p   v 2   i s   t o   u s e   a   L i n u x   d i s t r i b u t i o n   t h a t   e n a b l e s   a n d   u s e s   c g r o u p   v 2   b y   d e f a u l t .   T o   c h e c k   i f   y o u r   d i s t r i b u t i o n   u s e s   c g r o u p   v 2 ,   r e f e r   t o   I d e n t i f y   c g r o u p   v e r s i o n   o n   L i n u x   n o d e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7922"
  },
  {
    "question": "What is Requirements?",
    "answer": "c g r o u p   v 2   h a s   t h e   f o l l o w i n g   r e q u i r e m e n t s :   O S   d i s t r i b u t i o n   e n a b l e s   c g r o u p   v 2 L i n u x   K e r n e l   v e r s i o n   i s   5 . 8   o r   l a t e r C o n t a i n e r   r u n t i m e   s u p p o r t s   c g r o u p   v 2 .   F o r   e x a m p l e : c o n t a i n e r d   v 1 . 4   a n d   l a t e r c r i - o   v 1 . 2 0   a n d   l a t e r T h e   k u b e l e t   a n d   t h e   c o n t a i n e r   r u n t i m e   a r e   c o n f i g u r e d   t o   u s e   t h e   s y s t e m d   c g r o u p   d r i v e r   c o n t a i n e r d   v 1 . 4   a n d   l a t e r c r i - o   v 1 . 2 0   a n d   l a t e r",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7923"
  },
  {
    "question": "What is Linux Distribution cgroup v2 support?",
    "answer": "F o r   a   l i s t   o f   L i n u x   d i s t r i b u t i o n s   t h a t   u s e   c g r o u p   v 2 ,   r e f e r   t o   t h e   c g r o u p   v 2   d o c u m e n t a t i o n   C o n t a i n e r   O p t i m i z e d   O S   ( s i n c e   M 9 7 ) U b u n t u   ( s i n c e   2 1 . 1 0 ,   2 2 . 0 4 +   r e c o m m e n d e d ) D e b i a n   G N U / L i n u x   ( s i n c e   D e b i a n   1 1   b u l l s e y e ) F e d o r a   ( s i n c e   3 1 ) A r c h   L i n u x   ( s i n c e   A p r i l   2 0 2 1 ) R H E L   a n d   R H E L - l i k e   d i s t r i b u t i o n s   ( s i n c e   9 )   T o   c h e c k   i f   y o u r   d i s t r i b u t i o n   i s   u s i n g   c g r o u p   v 2 ,   r e f e r   t o   y o u r   d i s t r i b u t i o n ' s   d o c u m e n t a t i o n   o r   f o l l o w   t h e   i n s t r u c t i o n s   i n   I d e n t i f y   t h e   c g r o u p   v e r s i o n   o n   L i n u x   n o d e s .   Y o u   c a n   a l s o   e n a b l e   c g r o u p   v 2   m a n u a l l y   o n   y o u r   L i n u x   d i s t r i b u t i o n   b y   m o d i f y i n g   t h e   k e r n e l   c m d l i n e   b o o t   a r g u m e n t s .   I f   y o u r   d i s t r i b u t i o n   u s e s   G R U B ,   s y s t e m d . u n i f i e d _ c g r o u p _ h i e r a r c h y = 1   s h o u l d   b e   a d d e d   i n   G R U B _ C M D L I N E _ L I N U X   u n d e r   / e t c / d e f a u l t / g r u b ,   f o l l o w e d   b y   s u d o   u p d a t e - g r u b .   H o w e v e r ,   t h e   r e c o m m e n d e d   a p p r o a c h   i s   t o   u s e   a   d i s t r i b u t i o n   t h a t   a l r e a d y   e n a b l e s   c g r o u p   v 2   b y   d e f a u l t .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7924"
  },
  {
    "question": "What is Migrating to cgroup v2?",
    "answer": "T o   m i g r a t e   t o   c g r o u p   v 2 ,   e n s u r e   t h a t   y o u   m e e t   t h e   r e q u i r e m e n t s ,   t h e n   u p g r a d e   t o   a   k e r n e l   v e r s i o n   t h a t   e n a b l e s   c g r o u p   v 2   b y   d e f a u l t .   T h e   k u b e l e t   a u t o m a t i c a l l y   d e t e c t s   t h a t   t h e   O S   i s   r u n n i n g   o n   c g r o u p   v 2   a n d   p e r f o r m s   a c c o r d i n g l y   w i t h   n o   a d d i t i o n a l   c o n f i g u r a t i o n   r e q u i r e d .   T h e r e   s h o u l d   n o t   b e   a n y   n o t i c e a b l e   d i f f e r e n c e   i n   t h e   u s e r   e x p e r i e n c e   w h e n   s w i t c h i n g   t o   c g r o u p   v 2 ,   u n l e s s   u s e r s   a r e   a c c e s s i n g   t h e   c g r o u p   f i l e   s y s t e m   d i r e c t l y ,   e i t h e r   o n   t h e   n o d e   o r   f r o m   w i t h i n   t h e   c o n t a i n e r s .   c g r o u p   v 2   u s e s   a   d i f f e r e n t   A P I   t h a n   c g r o u p   v 1 ,   s o   i f   t h e r e   a r e   a n y   a p p l i c a t i o n s   t h a t   d i r e c t l y   a c c e s s   t h e   c g r o u p   f i l e   s y s t e m ,   t h e y   n e e d   t o   b e   u p d a t e d   t o   n e w e r   v e r s i o n s   t h a t   s u p p o r t   c g r o u p   v 2 .   F o r   e x a m p l e :   S o m e   t h i r d - p a r t y   m o n i t o r i n g   a n d   s e c u r i t y   a g e n t s   m a y   d e p e n d   o n   t h e   c g r o u p   f i l e s y s t e m .   U p d a t e   t h e s e   a g e n t s   t o   v e r s i o n s   t h a t   s u p p o r t   c g r o u p   v 2 . I f   y o u   r u n   c A d v i s o r   a s   a   s t a n d - a l o n e   D a e m o n S e t   f o r   m o n i t o r i n g   p o d s   a n d   c o n t a i n e r s ,   u p d a t e   i t   t o   v 0 . 4 3 . 0   o r   l a t e r . I f   y o u   d e p l o y   J a v a   a p p l i c a t i o n s ,   p r e f e r   t o   u s e   v e r s i o n s   w h i c h   f u l ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7925"
  },
  {
    "question": "What is Identify the cgroup version on Linux Nodes?",
    "answer": "T h e   c g r o u p   v e r s i o n   d e p e n d s   o n   t h e   L i n u x   d i s t r i b u t i o n   b e i n g   u s e d   a n d   t h e   d e f a u l t   c g r o u p   v e r s i o n   c o n f i g u r e d   o n   t h e   O S .   T o   c h e c k   w h i c h   c g r o u p   v e r s i o n   y o u r   d i s t r i b u t i o n   u s e s ,   r u n   t h e   s t a t   - f c   % T   / s y s / f s / c g r o u p /   c o m m a n d   o n   t h e   n o d e :   s t a t   - f c   % T   / s y s / f s / c g r o u p /   F o r   c g r o u p   v 2 ,   t h e   o u t p u t   i s   c g r o u p 2 f s .   F o r   c g r o u p   v 1 ,   t h e   o u t p u t   i s   t m p f s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7926"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   c g r o u p s L e a r n   m o r e   a b o u t   c o n t a i n e r   r u n t i m e L e a r n   m o r e   a b o u t   c g r o u p   d r i v e r s",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7927"
  },
  {
    "question": "What is 7 - Kubernetes Self-Healing?",
    "answer": "K u b e r n e t e s   i s   d e s i g n e d   w i t h   s e l f - h e a l i n g   c a p a b i l i t i e s   t h a t   h e l p   m a i n t a i n   t h e   h e a l t h   a n d   a v a i l a b i l i t y   o f   w o r k l o a d s .   I t   a u t o m a t i c a l l y   r e p l a c e s   f a i l e d   c o n t a i n e r s ,   r e s c h e d u l e s   w o r k l o a d s   w h e n   n o d e s   b e c o m e   u n a v a i l a b l e ,   a n d   e n s u r e s   t h a t   t h e   d e s i r e d   s t a t e   o f   t h e   s y s t e m   i s   m a i n t a i n e d .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_1_7928"
  },
  {
    "question": "What is Self-Healing capabilities?",
    "answer": "C o n t a i n e r - l e v e l   r e s t a r t s :   I f   a   c o n t a i n e r   i n s i d e   a   P o d   f a i l s ,   K u b e r n e t e s   r e s t a r t s   i t   b a s e d   o n   t h e   r e s t a r t P o l i c y . R e p l i c a   r e p l a c e m e n t :   I f   a   P o d   i n   a   D e p l o y m e n t   o r   S t a t e f u l S e t   f a i l s ,   K u b e r n e t e s   c r e a t e s   a   r e p l a c e m e n t   P o d   t o   m a i n t a i n   t h e   s p e c i f i e d   n u m b e r   o f   r e p l i c a s .   I f   a   P o d   f a i l s   t h a t   i s   p a r t   o f   a   D a e m o n S e t   f a i l s ,   t h e   c o n t r o l   p l a n e   c r e a t e s   a   r e p l a c e m e n t   P o d   t o   r u n   o n   t h e   s a m e   n o d e . P e r s i s t e n t   s t o r a g e   r e c o v e r y :   I f   a   n o d e   i s   r u n n i n g   a   P o d   w i t h   a   P e r s i s t e n t V o l u m e   ( P V )   a t t a c h e d ,   a n d   t h e   n o d e   f a i l s ,   K u b e r n e t e s   c a n   r e a t t a c h   t h e   v o l u m e   t o   a   n e w   P o d   o n   a   d i f f e r e n t   n o d e . L o a d   b a l a n c i n g   f o r   S e r v i c e s :   I f   a   P o d   b e h i n d   a   S e r v i c e   f a i l s ,   K u b e r n e t e s   a u t o m a t i c a l l y   r e m o v e s   i t   f r o m   t h e   S e r v i c e ' s   e n d p o i n t s   t o   r o u t e   t r a f f i c   o n l y   t o   h e a l t h y   P o d s .   C o n t a i n e r - l e v e l   r e s t a r t s :   I f   a   c o n t a i n e r   i n s i d e   a   P o d   f a i l s ,   K u b e r n e t e s   r e s t a r t s   i t   b a s e d   o n   t h e   r e s t a r t P o l i c y .   R e p l i c a   r e p l a c e m e n t :   I f   a   P o d   i n   a   D e p l o y m e n t   o r   S t a t e f u l S e t   f a i l s ,   K u b e r n e t e s   c r e a t e s   a   r e p l a c e m e n t   P o d   t o   m a i n t a i n   t h e   s p e c i f i e d   n u m b e r   o f   r e p l i c a s .   I f   a   P o d ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7929"
  },
  {
    "question": "What is Considerations?",
    "answer": "S t o r a g e   F a i l u r e s :   I f   a   p e r s i s t e n t   v o l u m e   b e c o m e s   u n a v a i l a b l e ,   r e c o v e r y   s t e p s   m a y   b e   r e q u i r e d . A p p l i c a t i o n   E r r o r s :   K u b e r n e t e s   c a n   r e s t a r t   c o n t a i n e r s ,   b u t   u n d e r l y i n g   a p p l i c a t i o n   i s s u e s   m u s t   b e   a d d r e s s e d   s e p a r a t e l y .   S t o r a g e   F a i l u r e s :   I f   a   p e r s i s t e n t   v o l u m e   b e c o m e s   u n a v a i l a b l e ,   r e c o v e r y   s t e p s   m a y   b e   r e q u i r e d .   A p p l i c a t i o n   E r r o r s :   K u b e r n e t e s   c a n   r e s t a r t   c o n t a i n e r s ,   b u t   u n d e r l y i n g   a p p l i c a t i o n   i s s u e s   m u s t   b e   a d d r e s s e d   s e p a r a t e l y .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7930"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   m o r e   a b o u t   P o d s L e a r n   a b o u t   K u b e r n e t e s   C o n t r o l l e r s E x p l o r e   P e r s i s t e n t V o l u m e s R e a d   a b o u t   n o d e   a u t o s c a l i n g .   N o d e   a u t o s c a l i n g   a l s o   p r o v i d e s   a u t o m a t i c   h e a l i n g   i f   o r   w h e n   n o d e s   f a i l   i n   y o u r   c l u s t e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7931"
  },
  {
    "question": "What is 8 - Container Runtime Interface (CRI)?",
    "answer": "T h e   C R I   i s   a   p l u g i n   i n t e r f a c e   w h i c h   e n a b l e s   t h e   k u b e l e t   t o   u s e   a   w i d e   v a r i e t y   o f   c o n t a i n e r   r u n t i m e s ,   w i t h o u t   h a v i n g   a   n e e d   t o   r e c o m p i l e   t h e   c l u s t e r   c o m p o n e n t s .   Y o u   n e e d   a   w o r k i n g   c o n t a i n e r   r u n t i m e   o n   e a c h   N o d e   i n   y o u r   c l u s t e r ,   s o   t h a t   t h e   k u b e l e t   c a n   l a u n c h   P o d s   a n d   t h e i r   c o n t a i n e r s .   T h e   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I )   i s   t h e   m a i n   p r o t o c o l   f o r   t h e   c o m m u n i c a t i o n   b e t w e e n   t h e   k u b e l e t   a n d   C o n t a i n e r   R u n t i m e .   T h e   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I )   i s   t h e   m a i n   p r o t o c o l   f o r   t h e   c o m m u n i c a t i o n   b e t w e e n   t h e   k u b e l e t   a n d   C o n t a i n e r   R u n t i m e .   T h e   K u b e r n e t e s   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I )   d e f i n e s   t h e   m a i n   g R P C   p r o t o c o l   f o r   t h e   c o m m u n i c a t i o n   b e t w e e n   t h e   n o d e   c o m p o n e n t s   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_1_7932"
  },
  {
    "question": "What is The API?",
    "answer": "T h e   k u b e l e t   a c t s   a s   a   c l i e n t   w h e n   c o n n e c t i n g   t o   t h e   c o n t a i n e r   r u n t i m e   v i a   g R P C .   T h e   r u n t i m e   a n d   i m a g e   s e r v i c e   e n d p o i n t s   h a v e   t o   b e   a v a i l a b l e   i n   t h e   c o n t a i n e r   r u n t i m e ,   w h i c h   c a n   b e   c o n f i g u r e d   s e p a r a t e l y   w i t h i n   t h e   k u b e l e t   b y   u s i n g   t h e   - - c o n t a i n e r - r u n t i m e - e n d p o i n t   c o m m a n d   l i n e   f l a g .   F o r   K u b e r n e t e s   v 1 . 2 6   a n d   l a t e r ,   t h e   k u b e l e t   r e q u i r e s   t h a t   t h e   c o n t a i n e r   r u n t i m e   s u p p o r t s   t h e   v 1   C R I   A P I .   I f   a   c o n t a i n e r   r u n t i m e   d o e s   n o t   s u p p o r t   t h e   v 1   A P I ,   t h e   k u b e l e t   w i l l   n o t   r e g i s t e r   t h e   n o d e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7933"
  },
  {
    "question": "What is Upgrading?",
    "answer": "W h e n   u p g r a d i n g   t h e   K u b e r n e t e s   v e r s i o n   o n   a   n o d e ,   t h e   k u b e l e t   r e s t a r t s .   I f   t h e   c o n t a i n e r   r u n t i m e   d o e s   n o t   s u p p o r t   t h e   v 1   C R I   A P I ,   t h e   k u b e l e t   w i l l   f a i l   t o   r e g i s t e r   a n d   r e p o r t   a n   e r r o r .   I f   a   g R P C   r e - d i a l   i s   r e q u i r e d   b e c a u s e   t h e   c o n t a i n e r   r u n t i m e   h a s   b e e n   u p g r a d e d ,   t h e   r u n t i m e   m u s t   s u p p o r t   t h e   v 1   C R I   A P I   f o r   t h e   c o n n e c t i o n   t o   s u c c e e d .   T h i s   m i g h t   r e q u i r e   a   r e s t a r t   o f   t h e   k u b e l e t   a f t e r   t h e   c o n t a i n e r   r u n t i m e   i s   c o r r e c t l y   c o n f i g u r e d .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7934"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   t h e   C R I   p r o t o c o l   d e f i n i t i o n",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7935"
  },
  {
    "question": "What is 9 - Garbage Collection?",
    "answer": "G a r b a g e   c o l l e c t i o n   i s   a   c o l l e c t i v e   t e r m   f o r   t h e   v a r i o u s   m e c h a n i s m s   K u b e r n e t e s   u s e s   t o   c l e a n   u p   c l u s t e r   r e s o u r c e s .   T h i s   a l l o w s   t h e   c l e a n   u p   o f   r e s o u r c e s   l i k e   t h e   f o l l o w i n g :   T e r m i n a t e d   p o d s C o m p l e t e d   J o b s O b j e c t s   w i t h o u t   o w n e r   r e f e r e n c e s U n u s e d   c o n t a i n e r s   a n d   c o n t a i n e r   i m a g e s D y n a m i c a l l y   p r o v i s i o n e d   P e r s i s t e n t V o l u m e s   w i t h   a   S t o r a g e C l a s s   r e c l a i m   p o l i c y   o f   D e l e t e S t a l e   o r   e x p i r e d   C e r t i f i c a t e S i g n i n g R e q u e s t s   ( C S R s ) N o d e s   d e l e t e d   i n   t h e   f o l l o w i n g   s c e n a r i o s : O n   a   c l o u d   w h e n   t h e   c l u s t e r   u s e s   a   c l o u d   c o n t r o l l e r   m a n a g e r O n - p r e m i s e s   w h e n   t h e   c l u s t e r   u s e s   a n   a d d o n   s i m i l a r   t o   a   c l o u d   c o n t r o l l e r   m a n a g e r N o d e   L e a s e   o b j e c t s   O n   a   c l o u d   w h e n   t h e   c l u s t e r   u s e s   a   c l o u d   c o n t r o l l e r   m a n a g e r O n - p r e m i s e s   w h e n   t h e   c l u s t e r   u s e s   a n   a d d o n   s i m i l a r   t o   a   c l o u d   c o n t r o l l e r   m a n a g e r",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_1_7936"
  },
  {
    "question": "What is Owners and dependents?",
    "answer": "M a n y   o b j e c t s   i n   K u b e r n e t e s   l i n k   t o   e a c h   o t h e r   t h r o u g h   o w n e r   r e f e r e n c e s .   O w n e r   r e f e r e n c e s   t e l l   t h e   c o n t r o l   p l a n e   w h i c h   o b j e c t s   a r e   d e p e n d e n t   o n   o t h e r s .   K u b e r n e t e s   u s e s   o w n e r   r e f e r e n c e s   t o   g i v e   t h e   c o n t r o l   p l a n e ,   a n d   o t h e r   A P I   c l i e n t s ,   t h e   o p p o r t u n i t y   t o   c l e a n   u p   r e l a t e d   r e s o u r c e s   b e f o r e   d e l e t i n g   a n   o b j e c t .   I n   m o s t   c a s e s ,   K u b e r n e t e s   m a n a g e s   o w n e r   r e f e r e n c e s   a u t o m a t i c a l l y .   O w n e r s h i p   i s   d i f f e r e n t   f r o m   t h e   l a b e l s   a n d   s e l e c t o r s   m e c h a n i s m   t h a t   s o m e   r e s o u r c e s   a l s o   u s e .   F o r   e x a m p l e ,   c o n s i d e r   a   S e r v i c e   t h a t   c r e a t e s   E n d p o i n t S l i c e   o b j e c t s .   T h e   S e r v i c e   u s e s   l a b e l s   t o   a l l o w   t h e   c o n t r o l   p l a n e   t o   d e t e r m i n e   w h i c h   E n d p o i n t S l i c e   o b j e c t s   a r e   u s e d   f o r   t h a t   S e r v i c e .   I n   a d d i t i o n   t o   t h e   l a b e l s ,   e a c h   E n d p o i n t S l i c e   t h a t   i s   m a n a g e d   o n   b e h a l f   o f   a   S e r v i c e   h a s   a n   o w n e r   r e f e r e n c e .   O w n e r   r e f e r e n c e s   h e l p   d i f f e r e n t   p a r t s   o f   K u b e r n e t e s   a v o i d   i n t e r f e r i n g   w i t h   o b j e c t s   t h e y   d o n ’ t   c o n t r o l .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7937"
  },
  {
    "question": "What is Note:?",
    "answer": "C r o s s - n a m e s p a c e   o w n e r   r e f e r e n c e s   a r e   d i s a l l o w e d   b y   d e s i g n .   N a m e s p a c e d   d e p e n d e n t s   c a n   s p e c i f y   c l u s t e r - s c o p e d   o r   n a m e s p a c e d   o w n e r s .   A   n a m e s p a c e d   o w n e r   m u s t   e x i s t   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   d e p e n d e n t .   I f   i t   d o e s   n o t ,   t h e   o w n e r   r e f e r e n c e   i s   t r e a t e d   a s   a b s e n t ,   a n d   t h e   d e p e n d e n t   i s   s u b j e c t   t o   d e l e t i o n   o n c e   a l l   o w n e r s   a r e   v e r i f i e d   a b s e n t .   C l u s t e r - s c o p e d   d e p e n d e n t s   c a n   o n l y   s p e c i f y   c l u s t e r - s c o p e d   o w n e r s .   I n   v 1 . 2 0 + ,   i f   a   c l u s t e r - s c o p e d   d e p e n d e n t   s p e c i f i e s   a   n a m e s p a c e d   k i n d   a s   a n   o w n e r ,   i t   i s   t r e a t e d   a s   h a v i n g   a n   u n r e s o l v a b l e   o w n e r   r e f e r e n c e ,   a n d   i s   n o t   a b l e   t o   b e   g a r b a g e   c o l l e c t e d .   I n   v 1 . 2 0 + ,   i f   t h e   g a r b a g e   c o l l e c t o r   d e t e c t s   a n   i n v a l i d   c r o s s - n a m e s p a c e   o w n e r R e f e r e n c e ,   o r   a   c l u s t e r - s c o p e d   d e p e n d e n t   w i t h   a n   o w n e r R e f e r e n c e   r e f e r e n c i n g   a   n a m e s p a c e d   k i n d ,   a   w a r n i n g   E v e n t   w i t h   a   r e a s o n   o f   O w n e r R e f I n v a l i d N a m e s p a c e   a n d   a n   i n v o l v e d O b j e c t   o f   t h e   i n v a l i d   d e p e n d e n t   i s   r e p o r t e d .   Y o u   c a n   c h e c k   f o r   t h a t   k i n d   o f   E v e n t   b y   r u n n i n g   k u b e c t l   g e t   e v e n t s   - A   - - f i e l d - s e l e c t o r = r e a s o n = O w n e r R e f I n v a l i d N a m e s p a c e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_4_7938"
  },
  {
    "question": "What is Cascading deletion?",
    "answer": "K u b e r n e t e s   c h e c k s   f o r   a n d   d e l e t e s   o b j e c t s   t h a t   n o   l o n g e r   h a v e   o w n e r   r e f e r e n c e s ,   l i k e   t h e   p o d s   l e f t   b e h i n d   w h e n   y o u   d e l e t e   a   R e p l i c a S e t .   W h e n   y o u   d e l e t e   a n   o b j e c t ,   y o u   c a n   c o n t r o l   w h e t h e r   K u b e r n e t e s   d e l e t e s   t h e   o b j e c t ' s   d e p e n d e n t s   a u t o m a t i c a l l y ,   i n   a   p r o c e s s   c a l l e d   c a s c a d i n g   d e l e t i o n .   T h e r e   a r e   t w o   t y p e s   o f   c a s c a d i n g   d e l e t i o n ,   a s   f o l l o w s :   F o r e g r o u n d   c a s c a d i n g   d e l e t i o n B a c k g r o u n d   c a s c a d i n g   d e l e t i o n   Y o u   c a n   a l s o   c o n t r o l   h o w   a n d   w h e n   g a r b a g e   c o l l e c t i o n   d e l e t e s   r e s o u r c e s   t h a t   h a v e   o w n e r   r e f e r e n c e s   u s i n g   K u b e r n e t e s   f i n a l i z e r s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7939"
  },
  {
    "question": "What is Foreground cascading deletion?",
    "answer": "I n   f o r e g r o u n d   c a s c a d i n g   d e l e t i o n ,   t h e   o w n e r   o b j e c t   y o u ' r e   d e l e t i n g   f i r s t   e n t e r s   a   d e l e t i o n   i n   p r o g r e s s   s t a t e .   I n   t h i s   s t a t e ,   t h e   f o l l o w i n g   h a p p e n s   t o   t h e   o w n e r   o b j e c t :   T h e   K u b e r n e t e s   A P I   s e r v e r   s e t s   t h e   o b j e c t ' s   m e t a d a t a . d e l e t i o n T i m e s t a m p   f i e l d   t o   t h e   t i m e   t h e   o b j e c t   w a s   m a r k e d   f o r   d e l e t i o n . T h e   K u b e r n e t e s   A P I   s e r v e r   a l s o   s e t s   t h e   m e t a d a t a . f i n a l i z e r s   f i e l d   t o   f o r e g r o u n d D e l e t i o n . T h e   o b j e c t   r e m a i n s   v i s i b l e   t h r o u g h   t h e   K u b e r n e t e s   A P I   u n t i l   t h e   d e l e t i o n   p r o c e s s   i s   c o m p l e t e .   A f t e r   t h e   o w n e r   o b j e c t   e n t e r s   t h e   d e l e t i o n   i n   p r o g r e s s   s t a t e ,   t h e   c o n t r o l l e r   d e l e t e s   d e p e n d e n t s   i t   k n o w s   a b o u t .   A f t e r   d e l e t i n g   a l l   t h e   d e p e n d e n t   o b j e c t s   i t   k n o w s   a b o u t ,   t h e   c o n t r o l l e r   d e l e t e s   t h e   o w n e r   o b j e c t .   A t   t h i s   p o i n t ,   t h e   o b j e c t   i s   n o   l o n g e r   v i s i b l e   i n   t h e   K u b e r n e t e s   A P I .   D u r i n g   f o r e g r o u n d   c a s c a d i n g   d e l e t i o n ,   t h e   o n l y   d e p e n d e n t s   t h a t   b l o c k   o w n e r   d e l e t i o n   a r e   t h o s e   t h a t   h a v e   t h e   o w n e r R e f e r e n c e . b l o c k O w n e r D e l e t i o n = t r u e   f i e l d   a n d   a r e   i n   t h e   g a r b a g e   c o l l e c t i o n   c o n t r o l l e r   c a c h e .   T h e   g a r b a g e   c o l l e c t i o n   c o n t r o l l e r   c a c h e   m ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7940"
  },
  {
    "question": "What is Background cascading deletion?",
    "answer": "I n   b a c k g r o u n d   c a s c a d i n g   d e l e t i o n ,   t h e   K u b e r n e t e s   A P I   s e r v e r   d e l e t e s   t h e   o w n e r   o b j e c t   i m m e d i a t e l y   a n d   t h e   g a r b a g e   c o l l e c t o r   c o n t r o l l e r   ( c u s t o m   o r   d e f a u l t )   c l e a n s   u p   t h e   d e p e n d e n t   o b j e c t s   i n   t h e   b a c k g r o u n d .   I f   a   f i n a l i z e r   e x i s t s ,   i t   e n s u r e s   t h a t   o b j e c t s   a r e   n o t   d e l e t e d   u n t i l   a l l   n e c e s s a r y   c l e a n - u p   t a s k s   a r e   c o m p l e t e d .   B y   d e f a u l t ,   K u b e r n e t e s   u s e s   b a c k g r o u n d   c a s c a d i n g   d e l e t i o n   u n l e s s   y o u   m a n u a l l y   u s e   f o r e g r o u n d   d e l e t i o n   o r   c h o o s e   t o   o r p h a n   t h e   d e p e n d e n t   o b j e c t s .   S e e   U s e   b a c k g r o u n d   c a s c a d i n g   d e l e t i o n   t o   l e a r n   m o r e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7941"
  },
  {
    "question": "What is Orphaned dependents?",
    "answer": "W h e n   K u b e r n e t e s   d e l e t e s   a n   o w n e r   o b j e c t ,   t h e   d e p e n d e n t s   l e f t   b e h i n d   a r e   c a l l e d   o r p h a n   o b j e c t s .   B y   d e f a u l t ,   K u b e r n e t e s   d e l e t e s   d e p e n d e n t   o b j e c t s .   T o   l e a r n   h o w   t o   o v e r r i d e   t h i s   b e h a v i o u r ,   s e e   D e l e t e   o w n e r   o b j e c t s   a n d   o r p h a n   d e p e n d e n t s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7942"
  },
  {
    "question": "What is Garbage collection of unused containers and images?",
    "answer": "T h e   k u b e l e t   p e r f o r m s   g a r b a g e   c o l l e c t i o n   o n   u n u s e d   i m a g e s   e v e r y   f i v e   m i n u t e s   a n d   o n   u n u s e d   c o n t a i n e r s   e v e r y   m i n u t e .   Y o u   s h o u l d   a v o i d   u s i n g   e x t e r n a l   g a r b a g e   c o l l e c t i o n   t o o l s ,   a s   t h e s e   c a n   b r e a k   t h e   k u b e l e t   b e h a v i o r   a n d   r e m o v e   c o n t a i n e r s   t h a t   s h o u l d   e x i s t .   T o   c o n f i g u r e   o p t i o n s   f o r   u n u s e d   c o n t a i n e r   a n d   i m a g e   g a r b a g e   c o l l e c t i o n ,   t u n e   t h e   k u b e l e t   u s i n g   a   c o n f i g u r a t i o n   f i l e   a n d   c h a n g e   t h e   p a r a m e t e r s   r e l a t e d   t o   g a r b a g e   c o l l e c t i o n   u s i n g   t h e   K u b e l e t C o n f i g u r a t i o n   r e s o u r c e   t y p e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7943"
  },
  {
    "question": "What is Container image lifecycle?",
    "answer": "K u b e r n e t e s   m a n a g e s   t h e   l i f e c y c l e   o f   a l l   i m a g e s   t h r o u g h   i t s   i m a g e   m a n a g e r ,   w h i c h   i s   p a r t   o f   t h e   k u b e l e t ,   w i t h   t h e   c o o p e r a t i o n   o f   c a d v i s o r .   T h e   k u b e l e t   c o n s i d e r s   t h e   f o l l o w i n g   d i s k   u s a g e   l i m i t s   w h e n   m a k i n g   g a r b a g e   c o l l e c t i o n   d e c i s i o n s :   H i g h T h r e s h o l d P e r c e n t L o w T h r e s h o l d P e r c e n t   D i s k   u s a g e   a b o v e   t h e   c o n f i g u r e d   H i g h T h r e s h o l d P e r c e n t   v a l u e   t r i g g e r s   g a r b a g e   c o l l e c t i o n ,   w h i c h   d e l e t e s   i m a g e s   i n   o r d e r   b a s e d   o n   t h e   l a s t   t i m e   t h e y   w e r e   u s e d ,   s t a r t i n g   w i t h   t h e   o l d e s t   f i r s t .   T h e   k u b e l e t   d e l e t e s   i m a g e s   u n t i l   d i s k   u s a g e   r e a c h e s   t h e   L o w T h r e s h o l d P e r c e n t   v a l u e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7944"
  },
  {
    "question": "What is Garbage collection for unused container images?",
    "answer": "A s   a   b e t a   f e a t u r e ,   y o u   c a n   s p e c i f y   t h e   m a x i m u m   t i m e   a   l o c a l   i m a g e   c a n   b e   u n u s e d   f o r ,   r e g a r d l e s s   o f   d i s k   u s a g e .   T h i s   i s   a   k u b e l e t   s e t t i n g   t h a t   y o u   c o n f i g u r e   f o r   e a c h   n o d e .   T o   c o n f i g u r e   t h e   s e t t i n g ,   y o u   n e e d   t o   s e t   a   v a l u e   f o r   t h e   i m a g e M a x i m u m G C A g e   f i e l d   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e .   T h e   v a l u e   i s   s p e c i f i e d   a s   a   K u b e r n e t e s   d u r a t i o n .   S e e   d u r a t i o n   i n   t h e   g l o s s a r y   f o r   m o r e   d e t a i l s .   F o r   e x a m p l e ,   y o u   c a n   s e t   t h e   c o n f i g u r a t i o n   f i e l d   t o   1 2 h 4 5 m ,   w h i c h   m e a n s   1 2   h o u r s   a n d   4 5   m i n u t e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_4_7945"
  },
  {
    "question": "What is Container garbage collection?",
    "answer": "T h e   k u b e l e t   g a r b a g e   c o l l e c t s   u n u s e d   c o n t a i n e r s   b a s e d   o n   t h e   f o l l o w i n g   v a r i a b l e s ,   w h i c h   y o u   c a n   d e f i n e :   M i n A g e :   t h e   m i n i m u m   a g e   a t   w h i c h   t h e   k u b e l e t   c a n   g a r b a g e   c o l l e c t   a   c o n t a i n e r .   D i s a b l e   b y   s e t t i n g   t o   0 . M a x P e r P o d C o n t a i n e r :   t h e   m a x i m u m   n u m b e r   o f   d e a d   c o n t a i n e r s   e a c h   P o d   c a n   h a v e .   D i s a b l e   b y   s e t t i n g   t o   l e s s   t h a n   0 . M a x C o n t a i n e r s :   t h e   m a x i m u m   n u m b e r   o f   d e a d   c o n t a i n e r s   t h e   c l u s t e r   c a n   h a v e .   D i s a b l e   b y   s e t t i n g   t o   l e s s   t h a n   0 .   I n   a d d i t i o n   t o   t h e s e   v a r i a b l e s ,   t h e   k u b e l e t   g a r b a g e   c o l l e c t s   u n i d e n t i f i e d   a n d   d e l e t e d   c o n t a i n e r s ,   t y p i c a l l y   s t a r t i n g   w i t h   t h e   o l d e s t   f i r s t .   M a x P e r P o d C o n t a i n e r   a n d   M a x C o n t a i n e r s   m a y   p o t e n t i a l l y   c o n f l i c t   w i t h   e a c h   o t h e r   i n   s i t u a t i o n s   w h e r e   r e t a i n i n g   t h e   m a x i m u m   n u m b e r   o f   c o n t a i n e r s   p e r   P o d   ( M a x P e r P o d C o n t a i n e r )   w o u l d   g o   o u t s i d e   t h e   a l l o w a b l e   t o t a l   o f   g l o b a l   d e a d   c o n t a i n e r s   ( M a x C o n t a i n e r s ) .   I n   t h i s   s i t u a t i o n ,   t h e   k u b e l e t   a d j u s t s   M a x P e r P o d C o n t a i n e r   t o   a d d r e s s   t h e   c o n f l i c t .   A   w o r s t - c a s e   s c e n a r i o   w o u l d   b e   t o   d o w n g r a d e   M a x P e r P o d C o n t a i n e r   t o   1   a n d   e v i c t   t h e   o l d e s t   c o n t a i n e r s .   ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7946"
  },
  {
    "question": "What is Configuring garbage collection?",
    "answer": "Y o u   c a n   t u n e   g a r b a g e   c o l l e c t i o n   o f   r e s o u r c e s   b y   c o n f i g u r i n g   o p t i o n s   s p e c i f i c   t o   t h e   c o n t r o l l e r s   m a n a g i n g   t h o s e   r e s o u r c e s .   T h e   f o l l o w i n g   p a g e s   s h o w   y o u   h o w   t o   c o n f i g u r e   g a r b a g e   c o l l e c t i o n :   C o n f i g u r i n g   c a s c a d i n g   d e l e t i o n   o f   K u b e r n e t e s   o b j e c t s C o n f i g u r i n g   c l e a n u p   o f   f i n i s h e d   J o b s",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7947"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   o w n e r s h i p   o f   K u b e r n e t e s   o b j e c t s . L e a r n   m o r e   a b o u t   K u b e r n e t e s   f i n a l i z e r s . L e a r n   a b o u t   t h e   T T L   c o n t r o l l e r   t h a t   c l e a n s   u p   f i n i s h e d   J o b s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7948"
  },
  {
    "question": "What is 10 - Mixed Version Proxy?",
    "answer": "K u b e r n e t e s   1 . 3 4   i n c l u d e s   a n   a l p h a   f e a t u r e   t h a t   l e t s   a n   A P I   S e r v e r   p r o x y   a   r e s o u r c e   r e q u e s t s   t o   o t h e r   p e e r   A P I   s e r v e r s .   T h i s   i s   u s e f u l   w h e n   t h e r e   a r e   m u l t i p l e   A P I   s e r v e r s   r u n n i n g   d i f f e r e n t   v e r s i o n s   o f   K u b e r n e t e s   i n   o n e   c l u s t e r   ( f o r   e x a m p l e ,   d u r i n g   a   l o n g - l i v e d   r o l l o u t   t o   a   n e w   r e l e a s e   o f   K u b e r n e t e s ) .   T h i s   e n a b l e s   c l u s t e r   a d m i n i s t r a t o r s   t o   c o n f i g u r e   h i g h l y   a v a i l a b l e   c l u s t e r s   t h a t   c a n   b e   u p g r a d e d   m o r e   s a f e l y ,   b y   d i r e c t i n g   r e s o u r c e   r e q u e s t s   ( m a d e   d u r i n g   t h e   u p g r a d e )   t o   t h e   c o r r e c t   k u b e - a p i s e r v e r .   T h a t   p r o x y i n g   p r e v e n t s   u s e r s   f r o m   s e e i n g   u n e x p e c t e d   4 0 4   N o t   F o u n d   e r r o r s   t h a t   s t e m   f r o m   t h e   u p g r a d e   p r o c e s s .   T h i s   m e c h a n i s m   i s   c a l l e d   t h e   M i x e d   V e r s i o n   P r o x y .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_1_7949"
  },
  {
    "question": "What is Enabling the Mixed Version Proxy?",
    "answer": "E n s u r e   t h a t   U n k n o w n V e r s i o n I n t e r o p e r a b i l i t y P r o x y   f e a t u r e   g a t e   i s   e n a b l e d   w h e n   y o u   s t a r t   t h e   A P I   S e r v e r :   k u b e - a p i s e r v e r   \\   - - f e a t u r e - g a t e s = U n k n o w n V e r s i o n I n t e r o p e r a b i l i t y P r o x y = t r u e   \\   #   r e q u i r e d   c o m m a n d   l i n e   a r g u m e n t s   f o r   t h i s   f e a t u r e   - - p e e r - c a - f i l e = < p a t h   t o   k u b e - a p i s e r v e r   C A   c e r t >   - - p r o x y - c l i e n t - c e r t - f i l e = < p a t h   t o   a g g r e g a t o r   p r o x y   c e r t > ,   - - p r o x y - c l i e n t - k e y - f i l e = < p a t h   t o   a g g r e g a t o r   p r o x y   k e y > ,   - - r e q u e s t h e a d e r - c l i e n t - c a - f i l e = < p a t h   t o   a g g r e g a t o r   C A   c e r t > ,   #   r e q u e s t h e a d e r - a l l o w e d - n a m e s   c a n   b e   s e t   t o   b l a n k   t o   a l l o w   a n y   C o m m o n   N a m e   - - r e q u e s t h e a d e r - a l l o w e d - n a m e s = < v a l i d   C o m m o n   N a m e s   t o   v e r i f y   p r o x y   c l i e n t   c e r t   a g a i n s t > ,   #   o p t i o n a l   f l a g s   f o r   t h i s   f e a t u r e   - - p e e r - a d v e r t i s e - i p = ` I P   o f   t h i s   k u b e - a p i s e r v e r   t h a t   s h o u l d   b e   u s e d   b y   p e e r s   t o   p r o x y   r e q u e s t s `   - - p e e r - a d v e r t i s e - p o r t = ` p o r t   o f   t h i s   k u b e - a p i s e r v e r   t h a t   s h o u l d   b e   u s e d   b y   p e e r s   t o   p r o x y   r e q u e s t s `   #   … a n d   o t h e r   f l a g s   a s   u s u a l",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7950"
  },
  {
    "question": "What is Proxy transport and authentication between API servers?",
    "answer": "T h e   s o u r c e   k u b e - a p i s e r v e r   r e u s e s   t h e   e x i s t i n g   A P I s e r v e r   c l i e n t   a u t h e n t i c a t i o n   f l a g s   - - p r o x y - c l i e n t - c e r t - f i l e   a n d   - - p r o x y - c l i e n t - k e y - f i l e   t o   p r e s e n t   i t s   i d e n t i t y   t h a t   w i l l   b e   v e r i f i e d   b y   i t s   p e e r   ( t h e   d e s t i n a t i o n   k u b e - a p i s e r v e r ) .   T h e   d e s t i n a t i o n   A P I   s e r v e r   v e r i f i e s   t h a t   p e e r   c o n n e c t i o n   b a s e d   o n   t h e   c o n f i g u r a t i o n   y o u   s p e c i f y   u s i n g   t h e   - - r e q u e s t h e a d e r - c l i e n t - c a - f i l e   c o m m a n d   l i n e   a r g u m e n t . T o   a u t h e n t i c a t e   t h e   d e s t i n a t i o n   s e r v e r ' s   s e r v i n g   c e r t s ,   y o u   m u s t   c o n f i g u r e   a   c e r t i f i c a t e   a u t h o r i t y   b u n d l e   b y   s p e c i f y i n g   t h e   - - p e e r - c a - f i l e   c o m m a n d   l i n e   a r g u m e n t   t o   t h e   s o u r c e   A P I   s e r v e r .   T h e   s o u r c e   k u b e - a p i s e r v e r   r e u s e s   t h e   e x i s t i n g   A P I s e r v e r   c l i e n t   a u t h e n t i c a t i o n   f l a g s   - - p r o x y - c l i e n t - c e r t - f i l e   a n d   - - p r o x y - c l i e n t - k e y - f i l e   t o   p r e s e n t   i t s   i d e n t i t y   t h a t   w i l l   b e   v e r i f i e d   b y   i t s   p e e r   ( t h e   d e s t i n a t i o n   k u b e - a p i s e r v e r ) .   T h e   d e s t i n a t i o n   A P I   s e r v e r   v e r i f i e s   t h a t   p e e r   c o n n e c t i o n   b a s e d   o n   t h e   c o n f i g u r a t i o n   y o u   s p e c i f y   u s i n g   t h e   - - r e q u e s t h e a d e r - c l i e n t - c a - f i l e   c o m m a n d   l i n e   a r g u m e n t .   T o   a u t h e n t i c a t e   t h e   d e s t i n a t i o n   s e r v ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7951"
  },
  {
    "question": "What is Configuration for peer API server connectivity?",
    "answer": "T o   s e t   t h e   n e t w o r k   l o c a t i o n   o f   a   k u b e - a p i s e r v e r   t h a t   p e e r s   w i l l   u s e   t o   p r o x y   r e q u e s t s ,   u s e   t h e   - - p e e r - a d v e r t i s e - i p   a n d   - - p e e r - a d v e r t i s e - p o r t   c o m m a n d   l i n e   a r g u m e n t s   t o   k u b e - a p i s e r v e r   o r   s p e c i f y   t h e s e   f i e l d s   i n   t h e   A P I   s e r v e r   c o n f i g u r a t i o n   f i l e .   I f   t h e s e   f l a g s   a r e   u n s p e c i f i e d ,   p e e r s   w i l l   u s e   t h e   v a l u e   f r o m   e i t h e r   - - a d v e r t i s e - a d d r e s s   o r   - - b i n d - a d d r e s s   c o m m a n d   l i n e   a r g u m e n t   t o   t h e   k u b e - a p i s e r v e r .   I f   t h o s e   t o o ,   a r e   u n s e t ,   t h e   h o s t ' s   d e f a u l t   i n t e r f a c e   i s   u s e d .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7952"
  },
  {
    "question": "What is Mixed version proxying?",
    "answer": "W h e n   y o u   e n a b l e   m i x e d   v e r s i o n   p r o x y i n g ,   t h e   a g g r e g a t i o n   l a y e r   l o a d s   a   s p e c i a l   f i l t e r   t h a t   d o e s   t h e   f o l l o w i n g :   W h e n   a   r e s o u r c e   r e q u e s t   r e a c h e s   a n   A P I   s e r v e r   t h a t   c a n n o t   s e r v e   t h a t   A P I   ( e i t h e r   b e c a u s e   i t   i s   a t   a   v e r s i o n   p r e - d a t i n g   t h e   i n t r o d u c t i o n   o f   t h e   A P I   o r   t h e   A P I   i s   t u r n e d   o f f   o n   t h e   A P I   s e r v e r )   t h e   A P I   s e r v e r   a t t e m p t s   t o   s e n d   t h e   r e q u e s t   t o   a   p e e r   A P I   s e r v e r   t h a t   c a n   s e r v e   t h e   r e q u e s t e d   A P I .   I t   d o e s   s o   b y   i d e n t i f y i n g   A P I   g r o u p s   /   v e r s i o n s   /   r e s o u r c e s   t h a t   t h e   l o c a l   s e r v e r   d o e s n ' t   r e c o g n i s e ,   a n d   t r i e s   t o   p r o x y   t h o s e   r e q u e s t s   t o   a   p e e r   A P I   s e r v e r   t h a t   i s   c a p a b l e   o f   h a n d l i n g   t h e   r e q u e s t . I f   t h e   p e e r   A P I   s e r v e r   f a i l s   t o   r e s p o n d ,   t h e   s o u r c e   A P I   s e r v e r   r e s p o n d s   w i t h   5 0 3   ( \" S e r v i c e   U n a v a i l a b l e \" )   e r r o r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_2_7953"
  },
  {
    "question": "What is How it works under the hood?",
    "answer": "W h e n   a n   A P I   S e r v e r   r e c e i v e s   a   r e s o u r c e   r e q u e s t ,   i t   f i r s t   c h e c k s   w h i c h   A P I   s e r v e r s   c a n   s e r v e   t h e   r e q u e s t e d   r e s o u r c e .   T h i s   c h e c k   h a p p e n s   u s i n g   t h e   i n t e r n a l   S t o r a g e V e r s i o n   A P I .   I f   t h e   r e s o u r c e   i s   k n o w n   t o   t h e   A P I   s e r v e r   t h a t   r e c e i v e d   t h e   r e q u e s t   ( f o r   e x a m p l e ,   G E T   / a p i / v 1 / p o d s / s o m e - p o d ) ,   t h e   r e q u e s t   i s   h a n d l e d   l o c a l l y . I f   t h e r e   i s   n o   i n t e r n a l   S t o r a g e V e r s i o n   o b j e c t   f o u n d   f o r   t h e   r e q u e s t e d   r e s o u r c e   ( f o r   e x a m p l e ,   G E T   / m y - a p i / v 1 / m y - r e s o u r c e )   a n d   t h e   c o n f i g u r e d   A P I S e r v i c e   s p e c i f i e s   p r o x y i n g   t o   a n   e x t e n s i o n   A P I   s e r v e r ,   t h a t   p r o x y i n g   h a p p e n s   f o l l o w i n g   t h e   u s u a l   f l o w   f o r   e x t e n s i o n   A P I s . I f   a   v a l i d   i n t e r n a l   S t o r a g e V e r s i o n   o b j e c t   i s   f o u n d   f o r   t h e   r e q u e s t e d   r e s o u r c e   ( f o r   e x a m p l e ,   G E T   / b a t c h / v 1 / j o b s )   a n d   t h e   A P I   s e r v e r   t r y i n g   t o   h a n d l e   t h e   r e q u e s t   ( t h e   h a n d l i n g   A P I   s e r v e r )   h a s   t h e   b a t c h   A P I   d i s a b l e d ,   t h e n   t h e   h a n d l i n g   A P I   s e r v e r   f e t c h e s   t h e   p e e r   A P I   s e r v e r s   t h a t   d o   s e r v e   t h e   r e l e v a n t   A P I   g r o u p   /   v e r s i o n   /   r e s o u r c e   ( a p i / v 1 / b a t c h   i n   t h i s   c a s e )   u s i n g   t h e   i n f o r m a t i o n   i n   t h e   f e t c h e d   S t o r a g e V e r s i o n   o b j e c t .   T h ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/_print/",
    "id": "k8s_00411_section_3_7954"
  },
  {
    "question": "What is List All Container Images Running in a Cluster?",
    "answer": "List All Container Images Running in a ClusterThis page shows how to use kubectl to list all of the Container images for Pods running in a cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.In this exercise you will use kubectl to fetch all of the Pods running in a cluster, and format the output to pull out the list of Containers for each.List all Container images in all namespacesFetch all Pods in all namespaces using kubectl get pods --all-namespacesFormat the output to include only the list of Container image names using -o jsonpath={.items[*].spec['initContainers', 'containers'][*].image}. This will recursively parse out the image field from the returned json.See the jsonpath reference for further information on how to use jsonpath.Format the output using standard tools: tr, sort, uniqUse tr to replace spaces with newlinesUse sort to sort the resultsUse uniq to aggregate image countskubectl get pods --all-namespaces -o jsonpath=\"{.items[*].spec['initContainers', 'containers'][*].image}\" |\\ tr -s '[[:space:]]' '\\n' |\\ sort |\\ uniq -c The jsonpath is interpreted as follows:.items[*]: for each returned value.spec: get the spec['initContainers', 'containers'][*]: for each container.image: get the imageNote:When fetching a single Pod by name, for example kubectl get pod nginx, the .items[*] portion of the path should be omitted because a single Pod is returned instead of a list of items.List Container images by PodThe formatting can be controlled further by using the range operation to iterate over elements individually.kubectl get pods --all-namespaces -o jsonpath='{range .items[*]}{\"\\n\"}{.metadata.name}{\":\\t\"}{range .spec.containers[*]}{.image}{\", \"}{end}{end}' |\\ sort List Container images filtering by Pod labelTo target only Pods matching a specific label, use the -l flag. The following matches only Pods with labels matching app=nginx.kubectl get pods --all-namespaces -o jsonpath=\"{.items[*].spec.containers[*].image}\" -l app=nginx List Container images filtering by Pod namespaceTo target only pods in a specific namespace, use the namespace flag. The following matches only Pods in the kube-system namespace.kubectl get pods --namespace kube-system -o jsonpath=\"{.items[*].spec.containers[*].image}\" List Container images using a go-template instead of jsonpathAs an alternative to jsonpath, Kubectl supports using go-templates for formatting the output:kubectl get pods --all-namespaces -o go-template --template=\"{{range .items}}{{range .spec.containers}}{{.image}} {{end}}{{end}}\" What's nextReferenceJsonpath reference",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/list-all-running-container-images/",
    "id": "k8s_00412_qa_7955"
  },
  {
    "question": "How does List All Container Images Running in a Cluster work?",
    "answer": "List All Container Images Running in a ClusterThis page shows how to use kubectl to list all of the Container images for Pods running in a cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.In this exercise you will use kubectl to fetch all of the Pods running in a cluster, and format the output to pull out the list of Containers for each.List all Container images in all namespacesFetch all Pods in all namespaces using kubectl get pods --all-namespacesFormat the output to include only the list of Container image names using -o jsonpath={.items[*].spec['initContainers', 'containers'][*].image}. This will recursively parse out the image field from the returned json.See the jsonpath reference for further information on how to use jsonpath.Format the output using standard tools: tr, sort, uniqUse tr to replace spaces with newlinesUse sort to sort the resultsUse uniq to aggregate image countskubectl get pods --all-namespaces -o jsonpath=\"{.items[*].spec['initContainers', 'containers'][*].image}\" |\\ tr -s '[[:space:]]' '\\n' |\\ sort |\\ uniq -c The jsonpath is interpreted as follows:.items[*]: for each returned value.spec: get the spec['initContainers', 'containers'][*]: for each container.image: get the imageNote:When fetching a single Pod by name, for example kubectl get pod nginx, the .items[*] portion of the path should be omitted because a single Pod is returned instead of a list of items.List Container images by PodThe formatting can be controlled further by using the range operation to iterate over elements individually.kubectl get pods --all-namespaces -o jsonpath='{range .items[*]}{\"\\n\"}{.metadata.name}{\":\\t\"}{range .spec.containers[*]}{.image}{\", \"}{end}{end}' |\\ sort List Container images filtering by Pod labelTo target only Pods matching a specific label, use the -l flag. The following matches only Pods with labels matching app=nginx.kubectl get pods --all-namespaces -o jsonpath=\"{.items[*].spec.containers[*].image}\" -l app=nginx List Container images filtering by Pod namespaceTo target only pods in a specific namespace, use the namespace flag. The following matches only Pods in the kube-system namespace.kubectl get pods --namespace kube-system -o jsonpath=\"{.items[*].spec.containers[*].image}\" List Container images using a go-template instead of jsonpathAs an alternative to jsonpath, Kubectl supports using go-templates for formatting the output:kubectl get pods --all-namespaces -o go-template --template=\"{{range .items}}{{range .spec.containers}}{{.image}} {{end}}{{end}}\" What's nextReferenceJsonpath reference",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/list-all-running-container-images/",
    "id": "k8s_00412_qa_7956"
  },
  {
    "question": "When would you use List All Container Images Running in a Cluster?",
    "answer": "List All Container Images Running in a ClusterThis page shows how to use kubectl to list all of the Container images for Pods running in a cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.In this exercise you will use kubectl to fetch all of the Pods running in a cluster, and format the output to pull out the list of Containers for each.List all Container images in all namespacesFetch all Pods in all namespaces using kubectl get pods --all-namespacesFormat the output to include only the list of Container image names using -o jsonpath={.items[*].spec['initContainers', 'containers'][*].image}. This will recursively parse out the image field from the returned json.See the jsonpath reference for further information on how to use jsonpath.Format the output using standard tools: tr, sort, uniqUse tr to replace spaces with newlinesUse sort to sort the resultsUse uniq to aggregate image countskubectl get pods --all-namespaces -o jsonpath=\"{.items[*].spec['initContainers', 'containers'][*].image}\" |\\ tr -s '[[:space:]]' '\\n' |\\ sort |\\ uniq -c The jsonpath is interpreted as follows:.items[*]: for each returned value.spec: get the spec['initContainers', 'containers'][*]: for each container.image: get the imageNote:When fetching a single Pod by name, for example kubectl get pod nginx, the .items[*] portion of the path should be omitted because a single Pod is returned instead of a list of items.List Container images by PodThe formatting can be controlled further by using the range operation to iterate over elements individually.kubectl get pods --all-namespaces -o jsonpath='{range .items[*]}{\"\\n\"}{.metadata.name}{\":\\t\"}{range .spec.containers[*]}{.image}{\", \"}{end}{end}' |\\ sort List Container images filtering by Pod labelTo target only Pods matching a specific label, use the -l flag. The following matches only Pods with labels matching app=nginx.kubectl get pods --all-namespaces -o jsonpath=\"{.items[*].spec.containers[*].image}\" -l app=nginx List Container images filtering by Pod namespaceTo target only pods in a specific namespace, use the namespace flag. The following matches only Pods in the kube-system namespace.kubectl get pods --namespace kube-system -o jsonpath=\"{.items[*].spec.containers[*].image}\" List Container images using a go-template instead of jsonpathAs an alternative to jsonpath, Kubectl supports using go-templates for formatting the output:kubectl get pods --all-namespaces -o go-template --template=\"{{range .items}}{{range .spec.containers}}{{.image}} {{end}}{{end}}\" What's nextReferenceJsonpath reference",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/list-all-running-container-images/",
    "id": "k8s_00412_qa_7957"
  },
  {
    "question": "What are the benefits of List All Container Images Running in a Cluster?",
    "answer": "List All Container Images Running in a ClusterThis page shows how to use kubectl to list all of the Container images for Pods running in a cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.In this exercise you will use kubectl to fetch all of the Pods running in a cluster, and format the output to pull out the list of Containers for each.List all Container images in all namespacesFetch all Pods in all namespaces using kubectl get pods --all-namespacesFormat the output to include only the list of Container image names using -o jsonpath={.items[*].spec['initContainers', 'containers'][*].image}. This will recursively parse out the image field from the returned json.See the jsonpath reference for further information on how to use jsonpath.Format the output using standard tools: tr, sort, uniqUse tr to replace spaces with newlinesUse sort to sort the resultsUse uniq to aggregate image countskubectl get pods --all-namespaces -o jsonpath=\"{.items[*].spec['initContainers', 'containers'][*].image}\" |\\ tr -s '[[:space:]]' '\\n' |\\ sort |\\ uniq -c The jsonpath is interpreted as follows:.items[*]: for each returned value.spec: get the spec['initContainers', 'containers'][*]: for each container.image: get the imageNote:When fetching a single Pod by name, for example kubectl get pod nginx, the .items[*] portion of the path should be omitted because a single Pod is returned instead of a list of items.List Container images by PodThe formatting can be controlled further by using the range operation to iterate over elements individually.kubectl get pods --all-namespaces -o jsonpath='{range .items[*]}{\"\\n\"}{.metadata.name}{\":\\t\"}{range .spec.containers[*]}{.image}{\", \"}{end}{end}' |\\ sort List Container images filtering by Pod labelTo target only Pods matching a specific label, use the -l flag. The following matches only Pods with labels matching app=nginx.kubectl get pods --all-namespaces -o jsonpath=\"{.items[*].spec.containers[*].image}\" -l app=nginx List Container images filtering by Pod namespaceTo target only pods in a specific namespace, use the namespace flag. The following matches only Pods in the kube-system namespace.kubectl get pods --namespace kube-system -o jsonpath=\"{.items[*].spec.containers[*].image}\" List Container images using a go-template instead of jsonpathAs an alternative to jsonpath, Kubectl supports using go-templates for formatting the output:kubectl get pods --all-namespaces -o go-template --template=\"{{range .items}}{{range .spec.containers}}{{.image}} {{end}}{{end}}\" What's nextReferenceJsonpath reference",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/list-all-running-container-images/",
    "id": "k8s_00412_qa_7958"
  },
  {
    "question": "What is List All Container Images Running in a Cluster?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   k u b e c t l   t o   l i s t   a l l   o f   t h e   C o n t a i n e r   i m a g e s   f o r   P o d s   r u n n i n g   i n   a   c l u s t e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/list-all-running-container-images/",
    "id": "k8s_00412_section_1_7959"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   I n   t h i s   e x e r c i s e   y o u   w i l l   u s e   k u b e c t l   t o   f e t c h   a l l   o f   t h e   P o d s ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/list-all-running-container-images/",
    "id": "k8s_00412_section_2_7960"
  },
  {
    "question": "What is List all Container images in all namespaces?",
    "answer": "F e t c h   a l l   P o d s   i n   a l l   n a m e s p a c e s   u s i n g   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s F o r m a t   t h e   o u t p u t   t o   i n c l u d e   o n l y   t h e   l i s t   o f   C o n t a i n e r   i m a g e   n a m e s   u s i n g   - o   j s o n p a t h = { . i t e m s [ * ] . s p e c [ ' i n i t C o n t a i n e r s ' ,   ' c o n t a i n e r s ' ] [ * ] . i m a g e } .   T h i s   w i l l   r e c u r s i v e l y   p a r s e   o u t   t h e   i m a g e   f i e l d   f r o m   t h e   r e t u r n e d   j s o n . S e e   t h e   j s o n p a t h   r e f e r e n c e   f o r   f u r t h e r   i n f o r m a t i o n   o n   h o w   t o   u s e   j s o n p a t h . F o r m a t   t h e   o u t p u t   u s i n g   s t a n d a r d   t o o l s :   t r ,   s o r t ,   u n i q U s e   t r   t o   r e p l a c e   s p a c e s   w i t h   n e w l i n e s U s e   s o r t   t o   s o r t   t h e   r e s u l t s U s e   u n i q   t o   a g g r e g a t e   i m a g e   c o u n t s   S e e   t h e   j s o n p a t h   r e f e r e n c e   f o r   f u r t h e r   i n f o r m a t i o n   o n   h o w   t o   u s e   j s o n p a t h .   U s e   t r   t o   r e p l a c e   s p a c e s   w i t h   n e w l i n e s U s e   s o r t   t o   s o r t   t h e   r e s u l t s U s e   u n i q   t o   a g g r e g a t e   i m a g e   c o u n t s   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s   - o   j s o n p a t h = \" { . i t e m s [ * ] . s p e c [ ' i n i t C o n t a i n e r s ' ,   ' c o n t a i n e r s ' ] [ * ] . i m a g e } \"   | \\   t r   - s   ' [ [ : s p a c e : ] ] '   ' \\ n '   | \\   s o r t   | \\   u n i q   - c   T h e   j s o n p a t h   i s   i n t e r p r e t e d   a s   f o l l o w s :   . i t e m s [ * ] :   f o r   e a c h   r e t u r n e d   v a l u e . s p e c :   g e t   t h e   s p e c [ ' i n i t C o n t a i n e r s ' ,   ' c o n t a i n e r s ' ] [ * ] :   f o r   e a c h   c o n t a i n e r . i m a g e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/list-all-running-container-images/",
    "id": "k8s_00412_section_2_7961"
  },
  {
    "question": "What is List Container images by Pod?",
    "answer": "T h e   f o r m a t t i n g   c a n   b e   c o n t r o l l e d   f u r t h e r   b y   u s i n g   t h e   r a n g e   o p e r a t i o n   t o   i t e r a t e   o v e r   e l e m e n t s   i n d i v i d u a l l y .   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s   - o   j s o n p a t h = ' { r a n g e   . i t e m s [ * ] } { \" \\ n \" } { . m e t a d a t a . n a m e } { \" : \\ t \" } { r a n g e   . s p e c . c o n t a i n e r s [ * ] } { . i m a g e } { \" ,   \" } { e n d } { e n d } '   | \\   s o r t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/list-all-running-container-images/",
    "id": "k8s_00412_section_2_7962"
  },
  {
    "question": "What is List Container images filtering by Pod label?",
    "answer": "T o   t a r g e t   o n l y   P o d s   m a t c h i n g   a   s p e c i f i c   l a b e l ,   u s e   t h e   - l   f l a g .   T h e   f o l l o w i n g   m a t c h e s   o n l y   P o d s   w i t h   l a b e l s   m a t c h i n g   a p p = n g i n x .   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s   - o   j s o n p a t h = \" { . i t e m s [ * ] . s p e c . c o n t a i n e r s [ * ] . i m a g e } \"   - l   a p p = n g i n x",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/list-all-running-container-images/",
    "id": "k8s_00412_section_2_7963"
  },
  {
    "question": "What is List Container images filtering by Pod namespace?",
    "answer": "T o   t a r g e t   o n l y   p o d s   i n   a   s p e c i f i c   n a m e s p a c e ,   u s e   t h e   n a m e s p a c e   f l a g .   T h e   f o l l o w i n g   m a t c h e s   o n l y   P o d s   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   k u b e c t l   g e t   p o d s   - - n a m e s p a c e   k u b e - s y s t e m   - o   j s o n p a t h = \" { . i t e m s [ * ] . s p e c . c o n t a i n e r s [ * ] . i m a g e } \"",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/list-all-running-container-images/",
    "id": "k8s_00412_section_2_7964"
  },
  {
    "question": "What is List Container images using a go-template instead of jsonpath?",
    "answer": "A s   a n   a l t e r n a t i v e   t o   j s o n p a t h ,   K u b e c t l   s u p p o r t s   u s i n g   g o - t e m p l a t e s   f o r   f o r m a t t i n g   t h e   o u t p u t :   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s   - o   g o - t e m p l a t e   - - t e m p l a t e = \" { { r a n g e   . i t e m s } } { { r a n g e   . s p e c . c o n t a i n e r s } } { { . i m a g e } }   { { e n d } } { { e n d } } \"",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/list-all-running-container-images/",
    "id": "k8s_00412_section_2_7965"
  },
  {
    "question": "What is Reference?",
    "answer": "J s o n p a t h   r e f e r e n c e   g u i d e G o   t e m p l a t e   r e f e r e n c e   g u i d e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/list-all-running-container-images/",
    "id": "k8s_00412_section_3_7966"
  },
  {
    "question": "What is kube-apiserver Audit Configuration (v1)?",
    "answer": "kube-apiserver Audit Configuration (v1)Resource TypesEventEventListPolicyPolicyListEventAppears in:EventListEvent captures all the information that can be included in an API audit log.FieldDescriptionapiVersionstringaudit.k8s.io/v1kindstringEventlevel [Required]LevelAuditLevel at which event was generatedauditID [Required]k8s.io/apimachinery/pkg/types.UIDUnique audit ID, generated for each request.stage [Required]StageStage of the request handling when this event instance was generated.requestURI [Required]stringRequestURI is the request URI as sent by the client to a server.verb [Required]stringVerb is the kubernetes verb associated with the request. For non-resource requests, this is the lower-cased HTTP method.user [Required]authentication/v1.UserInfoAuthenticated user information.impersonatedUserauthentication/v1.UserInfoImpersonated user information.sourceIPs[]stringSource IPs, from where the request originated and intermediate proxies. The source IPs are listed from (in order):X-Forwarded-For request header IPsX-Real-Ip header, if not present in the X-Forwarded-For listThe remote address for the connection, if it doesn't match the last IP in the list up to here (X-Forwarded-For or X-Real-Ip). Note: All but the last IP can be arbitrarily set by the client.userAgentstringUserAgent records the user agent string reported by the client. Note that the UserAgent is provided by the client, and must not be trusted.objectRefObjectReferenceObject reference this request is targeted at. Does not apply for List-type requests, or non-resource requests.responseStatusmeta/v1.StatusThe response status, populated even when the ResponseObject is not a Status type. For successful responses, this will only include the Code and StatusSuccess. For non-status type error responses, this will be auto-populated with the error Message.requestObjectk8s.io/apimachinery/pkg/runtime.UnknownAPI object from the request, in JSON format. The RequestObject is recorded as-is in the request (possibly re-encoded as JSON), prior to version conversion, defaulting, admission or merging. It is an external versioned object type, and may not be a valid object on its own. Omitted for non-resource requests. Only logged at Request Level and higher.responseObjectk8s.io/apimachinery/pkg/runtime.UnknownAPI object returned in the response, in JSON. The ResponseObject is recorded after conversion to the external type, and serialized as JSON. Omitted for non-resource requests. Only logged at Response Level.requestReceivedTimestampmeta/v1.MicroTimeTime the request reached the apiserver.stageTimestampmeta/v1.MicroTimeTime the request reached current audit stage.annotationsmap[string]stringAnnotations is an unstructured key value map stored with an audit event that may be set by plugins invoked in the request serving chain, including authentication, authorization and admission plugins. Note that these annotations are for the audit event, and do not correspond to the metadata.annotations of the subm",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-audit.v1/",
    "id": "k8s_00413_qa_7967"
  },
  {
    "question": "How does kube-apiserver Audit Configuration (v1) work?",
    "answer": "kube-apiserver Audit Configuration (v1)Resource TypesEventEventListPolicyPolicyListEventAppears in:EventListEvent captures all the information that can be included in an API audit log.FieldDescriptionapiVersionstringaudit.k8s.io/v1kindstringEventlevel [Required]LevelAuditLevel at which event was generatedauditID [Required]k8s.io/apimachinery/pkg/types.UIDUnique audit ID, generated for each request.stage [Required]StageStage of the request handling when this event instance was generated.requestURI [Required]stringRequestURI is the request URI as sent by the client to a server.verb [Required]stringVerb is the kubernetes verb associated with the request. For non-resource requests, this is the lower-cased HTTP method.user [Required]authentication/v1.UserInfoAuthenticated user information.impersonatedUserauthentication/v1.UserInfoImpersonated user information.sourceIPs[]stringSource IPs, from where the request originated and intermediate proxies. The source IPs are listed from (in order):X-Forwarded-For request header IPsX-Real-Ip header, if not present in the X-Forwarded-For listThe remote address for the connection, if it doesn't match the last IP in the list up to here (X-Forwarded-For or X-Real-Ip). Note: All but the last IP can be arbitrarily set by the client.userAgentstringUserAgent records the user agent string reported by the client. Note that the UserAgent is provided by the client, and must not be trusted.objectRefObjectReferenceObject reference this request is targeted at. Does not apply for List-type requests, or non-resource requests.responseStatusmeta/v1.StatusThe response status, populated even when the ResponseObject is not a Status type. For successful responses, this will only include the Code and StatusSuccess. For non-status type error responses, this will be auto-populated with the error Message.requestObjectk8s.io/apimachinery/pkg/runtime.UnknownAPI object from the request, in JSON format. The RequestObject is recorded as-is in the request (possibly re-encoded as JSON), prior to version conversion, defaulting, admission or merging. It is an external versioned object type, and may not be a valid object on its own. Omitted for non-resource requests. Only logged at Request Level and higher.responseObjectk8s.io/apimachinery/pkg/runtime.UnknownAPI object returned in the response, in JSON. The ResponseObject is recorded after conversion to the external type, and serialized as JSON. Omitted for non-resource requests. Only logged at Response Level.requestReceivedTimestampmeta/v1.MicroTimeTime the request reached the apiserver.stageTimestampmeta/v1.MicroTimeTime the request reached current audit stage.annotationsmap[string]stringAnnotations is an unstructured key value map stored with an audit event that may be set by plugins invoked in the request serving chain, including authentication, authorization and admission plugins. Note that these annotations are for the audit event, and do not correspond to the metadata.annotations of the subm",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-audit.v1/",
    "id": "k8s_00413_qa_7968"
  },
  {
    "question": "When would you use kube-apiserver Audit Configuration (v1)?",
    "answer": "kube-apiserver Audit Configuration (v1)Resource TypesEventEventListPolicyPolicyListEventAppears in:EventListEvent captures all the information that can be included in an API audit log.FieldDescriptionapiVersionstringaudit.k8s.io/v1kindstringEventlevel [Required]LevelAuditLevel at which event was generatedauditID [Required]k8s.io/apimachinery/pkg/types.UIDUnique audit ID, generated for each request.stage [Required]StageStage of the request handling when this event instance was generated.requestURI [Required]stringRequestURI is the request URI as sent by the client to a server.verb [Required]stringVerb is the kubernetes verb associated with the request. For non-resource requests, this is the lower-cased HTTP method.user [Required]authentication/v1.UserInfoAuthenticated user information.impersonatedUserauthentication/v1.UserInfoImpersonated user information.sourceIPs[]stringSource IPs, from where the request originated and intermediate proxies. The source IPs are listed from (in order):X-Forwarded-For request header IPsX-Real-Ip header, if not present in the X-Forwarded-For listThe remote address for the connection, if it doesn't match the last IP in the list up to here (X-Forwarded-For or X-Real-Ip). Note: All but the last IP can be arbitrarily set by the client.userAgentstringUserAgent records the user agent string reported by the client. Note that the UserAgent is provided by the client, and must not be trusted.objectRefObjectReferenceObject reference this request is targeted at. Does not apply for List-type requests, or non-resource requests.responseStatusmeta/v1.StatusThe response status, populated even when the ResponseObject is not a Status type. For successful responses, this will only include the Code and StatusSuccess. For non-status type error responses, this will be auto-populated with the error Message.requestObjectk8s.io/apimachinery/pkg/runtime.UnknownAPI object from the request, in JSON format. The RequestObject is recorded as-is in the request (possibly re-encoded as JSON), prior to version conversion, defaulting, admission or merging. It is an external versioned object type, and may not be a valid object on its own. Omitted for non-resource requests. Only logged at Request Level and higher.responseObjectk8s.io/apimachinery/pkg/runtime.UnknownAPI object returned in the response, in JSON. The ResponseObject is recorded after conversion to the external type, and serialized as JSON. Omitted for non-resource requests. Only logged at Response Level.requestReceivedTimestampmeta/v1.MicroTimeTime the request reached the apiserver.stageTimestampmeta/v1.MicroTimeTime the request reached current audit stage.annotationsmap[string]stringAnnotations is an unstructured key value map stored with an audit event that may be set by plugins invoked in the request serving chain, including authentication, authorization and admission plugins. Note that these annotations are for the audit event, and do not correspond to the metadata.annotations of the subm",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-audit.v1/",
    "id": "k8s_00413_qa_7969"
  },
  {
    "question": "What are the benefits of kube-apiserver Audit Configuration (v1)?",
    "answer": "kube-apiserver Audit Configuration (v1)Resource TypesEventEventListPolicyPolicyListEventAppears in:EventListEvent captures all the information that can be included in an API audit log.FieldDescriptionapiVersionstringaudit.k8s.io/v1kindstringEventlevel [Required]LevelAuditLevel at which event was generatedauditID [Required]k8s.io/apimachinery/pkg/types.UIDUnique audit ID, generated for each request.stage [Required]StageStage of the request handling when this event instance was generated.requestURI [Required]stringRequestURI is the request URI as sent by the client to a server.verb [Required]stringVerb is the kubernetes verb associated with the request. For non-resource requests, this is the lower-cased HTTP method.user [Required]authentication/v1.UserInfoAuthenticated user information.impersonatedUserauthentication/v1.UserInfoImpersonated user information.sourceIPs[]stringSource IPs, from where the request originated and intermediate proxies. The source IPs are listed from (in order):X-Forwarded-For request header IPsX-Real-Ip header, if not present in the X-Forwarded-For listThe remote address for the connection, if it doesn't match the last IP in the list up to here (X-Forwarded-For or X-Real-Ip). Note: All but the last IP can be arbitrarily set by the client.userAgentstringUserAgent records the user agent string reported by the client. Note that the UserAgent is provided by the client, and must not be trusted.objectRefObjectReferenceObject reference this request is targeted at. Does not apply for List-type requests, or non-resource requests.responseStatusmeta/v1.StatusThe response status, populated even when the ResponseObject is not a Status type. For successful responses, this will only include the Code and StatusSuccess. For non-status type error responses, this will be auto-populated with the error Message.requestObjectk8s.io/apimachinery/pkg/runtime.UnknownAPI object from the request, in JSON format. The RequestObject is recorded as-is in the request (possibly re-encoded as JSON), prior to version conversion, defaulting, admission or merging. It is an external versioned object type, and may not be a valid object on its own. Omitted for non-resource requests. Only logged at Request Level and higher.responseObjectk8s.io/apimachinery/pkg/runtime.UnknownAPI object returned in the response, in JSON. The ResponseObject is recorded after conversion to the external type, and serialized as JSON. Omitted for non-resource requests. Only logged at Response Level.requestReceivedTimestampmeta/v1.MicroTimeTime the request reached the apiserver.stageTimestampmeta/v1.MicroTimeTime the request reached current audit stage.annotationsmap[string]stringAnnotations is an unstructured key value map stored with an audit event that may be set by plugins invoked in the request serving chain, including authentication, authorization and admission plugins. Note that these annotations are for the audit event, and do not correspond to the metadata.annotations of the subm",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-audit.v1/",
    "id": "k8s_00413_qa_7970"
  },
  {
    "question": "What is Resource Types?",
    "answer": "E v e n t E v e n t L i s t P o l i c y P o l i c y L i s t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-audit.v1/",
    "id": "k8s_00413_section_2_7971"
  },
  {
    "question": "What is Event?",
    "answer": "A p p e a r s   i n :   E v e n t L i s t   E v e n t   c a p t u r e s   a l l   t h e   i n f o r m a t i o n   t h a t   c a n   b e   i n c l u d e d   i n   a n   A P I   a u d i t   l o g .   A u d i t L e v e l   a t   w h i c h   e v e n t   w a s   g e n e r a t e d   U n i q u e   a u d i t   I D ,   g e n e r a t e d   f o r   e a c h   r e q u e s t .   S t a g e   o f   t h e   r e q u e s t   h a n d l i n g   w h e n   t h i s   e v e n t   i n s t a n c e   w a s   g e n e r a t e d .   R e q u e s t U R I   i s   t h e   r e q u e s t   U R I   a s   s e n t   b y   t h e   c l i e n t   t o   a   s e r v e r .   V e r b   i s   t h e   k u b e r n e t e s   v e r b   a s s o c i a t e d   w i t h   t h e   r e q u e s t .   F o r   n o n - r e s o u r c e   r e q u e s t s ,   t h i s   i s   t h e   l o w e r - c a s e d   H T T P   m e t h o d .   A u t h e n t i c a t e d   u s e r   i n f o r m a t i o n .   I m p e r s o n a t e d   u s e r   i n f o r m a t i o n .   S o u r c e   I P s ,   f r o m   w h e r e   t h e   r e q u e s t   o r i g i n a t e d   a n d   i n t e r m e d i a t e   p r o x i e s .   T h e   s o u r c e   I P s   a r e   l i s t e d   f r o m   ( i n   o r d e r ) :   X - F o r w a r d e d - F o r   r e q u e s t   h e a d e r   I P s X - R e a l - I p   h e a d e r ,   i f   n o t   p r e s e n t   i n   t h e   X - F o r w a r d e d - F o r   l i s t T h e   r e m o t e   a d d r e s s   f o r   t h e   c o n n e c t i o n ,   i f   i t   d o e s n ' t   m a t c h   t h e   l a s t   I P   i n   t h e   l i s t   u p   t o   h e r e   ( X - F o r w a r d e d - F o r   o r   X - R e a l - I p ) .   N o t e :   A l l   b u t   t h e   l a s t   I P   c a n   b e   a r b i t r a r i l y   s e t   b y   t h e   c l i e n t .   U s e r A g e n t   r e c o r d s   t h e   u s e r   a g e n t   s t r i n g   r e p o r t e d   b y   t h e   c l i e n t .   N o t e   t h a t   t h e   U s e r A g e n t   i s   p r o v i d e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-audit.v1/",
    "id": "k8s_00413_section_2_7972"
  },
  {
    "question": "What is EventList?",
    "answer": "E v e n t L i s t   i s   a   l i s t   o f   a u d i t   E v e n t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-audit.v1/",
    "id": "k8s_00413_section_2_7973"
  },
  {
    "question": "What is Policy?",
    "answer": "A p p e a r s   i n :   P o l i c y L i s t   P o l i c y   d e f i n e s   t h e   c o n f i g u r a t i o n   o f   a u d i t   l o g g i n g ,   a n d   t h e   r u l e s   f o r   h o w   d i f f e r e n t   r e q u e s t   c a t e g o r i e s   a r e   l o g g e d .   O b j e c t M e t a   i s   i n c l u d e d   f o r   i n t e r o p e r a b i l i t y   w i t h   A P I   i n f r a s t r u c t u r e .   R u l e s   s p e c i f y   t h e   a u d i t   L e v e l   a   r e q u e s t   s h o u l d   b e   r e c o r d e d   a t .   A   r e q u e s t   m a y   m a t c h   m u l t i p l e   r u l e s ,   i n   w h i c h   c a s e   t h e   F I R S T   m a t c h i n g   r u l e   i s   u s e d .   T h e   d e f a u l t   a u d i t   l e v e l   i s   N o n e ,   b u t   c a n   b e   o v e r r i d d e n   b y   a   c a t c h - a l l   r u l e   a t   t h e   e n d   o f   t h e   l i s t .   P o l i c y R u l e s   a r e   s t r i c t l y   o r d e r e d .   O m i t S t a g e s   i s   a   l i s t   o f   s t a g e s   f o r   w h i c h   n o   e v e n t s   a r e   c r e a t e d .   N o t e   t h a t   t h i s   c a n   a l s o   b e   s p e c i f i e d   p e r   r u l e   i n   w h i c h   c a s e   t h e   u n i o n   o f   b o t h   a r e   o m i t t e d .   O m i t M a n a g e d F i e l d s   i n d i c a t e s   w h e t h e r   t o   o m i t   t h e   m a n a g e d   f i e l d s   o f   t h e   r e q u e s t   a n d   r e s p o n s e   b o d i e s   f r o m   b e i n g   w r i t t e n   t o   t h e   A P I   a u d i t   l o g .   T h i s   i s   u s e d   a s   a   g l o b a l   d e f a u l t   -   a   v a l u e   o f   ' t r u e '   w i l l   o m i t   t h e   m a n a g e d   f i e l d s ,   o t h e r w i s e   t h e   m a n a g e d   f i e l d s   w i l l   b e   i n c l u d e d   i n   t h e   A P I   a u d i t   l o g .   N o t e   t h a t   t h i s   c a n   a l s o   b e   s p e c i f i e d   p e r   r u l e   i n   w h i c h   c a s e   t h e   v a l u e   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-audit.v1/",
    "id": "k8s_00413_section_2_7974"
  },
  {
    "question": "What is PolicyList?",
    "answer": "P o l i c y L i s t   i s   a   l i s t   o f   a u d i t   P o l i c i e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-audit.v1/",
    "id": "k8s_00413_section_2_7975"
  },
  {
    "question": "What is GroupResources?",
    "answer": "A p p e a r s   i n :   P o l i c y R u l e   G r o u p R e s o u r c e s   r e p r e s e n t s   r e s o u r c e   k i n d s   i n   a n   A P I   g r o u p .   G r o u p   i s   t h e   n a m e   o f   t h e   A P I   g r o u p   t h a t   c o n t a i n s   t h e   r e s o u r c e s .   T h e   e m p t y   s t r i n g   r e p r e s e n t s   t h e   c o r e   A P I   g r o u p .   R e s o u r c e s   i s   a   l i s t   o f   r e s o u r c e s   t h i s   r u l e   a p p l i e s   t o .   F o r   e x a m p l e :   p o d s   m a t c h e s   p o d s . p o d s / l o g   m a t c h e s   t h e   l o g   s u b r e s o u r c e   o f   p o d s . *   m a t c h e s   a l l   r e s o u r c e s   a n d   t h e i r   s u b r e s o u r c e s . p o d s / *   m a t c h e s   a l l   s u b r e s o u r c e s   o f   p o d s . * / s c a l e   m a t c h e s   a l l   s c a l e   s u b r e s o u r c e s .   I f   w i l d c a r d   i s   p r e s e n t ,   t h e   v a l i d a t i o n   r u l e   w i l l   e n s u r e   r e s o u r c e s   d o   n o t   o v e r l a p   w i t h   e a c h   o t h e r .   A n   e m p t y   l i s t   i m p l i e s   a l l   r e s o u r c e s   a n d   s u b r e s o u r c e s   i n   t h i s   A P I   g r o u p s   a p p l y .   R e s o u r c e N a m e s   i s   a   l i s t   o f   r e s o u r c e   i n s t a n c e   n a m e s   t h a t   t h e   p o l i c y   m a t c h e s .   U s i n g   t h i s   f i e l d   r e q u i r e s   R e s o u r c e s   t o   b e   s p e c i f i e d .   A n   e m p t y   l i s t   i m p l i e s   t h a t   e v e r y   i n s t a n c e   o f   t h e   r e s o u r c e   i s   m a t c h e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-audit.v1/",
    "id": "k8s_00413_section_2_7976"
  },
  {
    "question": "What is Level?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   E v e n t P o l i c y R u l e   E v e n t   P o l i c y R u l e   L e v e l   d e f i n e s   t h e   a m o u n t   o f   i n f o r m a t i o n   l o g g e d   d u r i n g   a u d i t i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-audit.v1/",
    "id": "k8s_00413_section_2_7977"
  },
  {
    "question": "What is ObjectReference?",
    "answer": "A p p e a r s   i n :   E v e n t   O b j e c t R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   i n s p e c t   o r   m o d i f y   t h e   r e f e r r e d   o b j e c t .   A P I G r o u p   i s   t h e   n a m e   o f   t h e   A P I   g r o u p   t h a t   c o n t a i n s   t h e   r e f e r r e d   o b j e c t .   T h e   e m p t y   s t r i n g   r e p r e s e n t s   t h e   c o r e   A P I   g r o u p .   A P I V e r s i o n   i s   t h e   v e r s i o n   o f   t h e   A P I   g r o u p   t h a t   c o n t a i n s   t h e   r e f e r r e d   o b j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-audit.v1/",
    "id": "k8s_00413_section_2_7978"
  },
  {
    "question": "What is PolicyRule?",
    "answer": "A p p e a r s   i n :   P o l i c y   P o l i c y R u l e   m a p s   r e q u e s t s   b a s e d   o f f   m e t a d a t a   t o   a n   a u d i t   L e v e l .   R e q u e s t s   m u s t   m a t c h   t h e   r u l e s   o f   e v e r y   f i e l d   ( a n   i n t e r s e c t i o n   o f   r u l e s ) .   T h e   L e v e l   t h a t   r e q u e s t s   m a t c h i n g   t h i s   r u l e   a r e   r e c o r d e d   a t .   T h e   u s e r s   ( b y   a u t h e n t i c a t e d   u s e r   n a m e )   t h i s   r u l e   a p p l i e s   t o .   A n   e m p t y   l i s t   i m p l i e s   e v e r y   u s e r .   T h e   u s e r   g r o u p s   t h i s   r u l e   a p p l i e s   t o .   A   u s e r   i s   c o n s i d e r e d   m a t c h i n g   i f   i t   i s   a   m e m b e r   o f   a n y   o f   t h e   U s e r G r o u p s .   A n   e m p t y   l i s t   i m p l i e s   e v e r y   u s e r   g r o u p .   T h e   v e r b s   t h a t   m a t c h   t h i s   r u l e .   A n   e m p t y   l i s t   i m p l i e s   e v e r y   v e r b .   R e s o u r c e s   t h a t   t h i s   r u l e   m a t c h e s .   A n   e m p t y   l i s t   i m p l i e s   a l l   k i n d s   i n   a l l   A P I   g r o u p s .   N a m e s p a c e s   t h a t   t h i s   r u l e   m a t c h e s .   T h e   e m p t y   s t r i n g   \" \"   m a t c h e s   n o n - n a m e s p a c e d   r e s o u r c e s .   A n   e m p t y   l i s t   i m p l i e s   e v e r y   n a m e s p a c e .   N o n R e s o u r c e U R L s   i s   a   s e t   o f   U R L   p a t h s   t h a t   s h o u l d   b e   a u d i t e d .   * s   a r e   a l l o w e d ,   b u t   o n l y   a s   t h e   f u l l ,   f i n a l   s t e p   i n   t h e   p a t h .   E x a m p l e s :   / m e t r i c s   -   L o g   r e q u e s t s   f o r   a p i s e r v e r   m e t r i c s / h e a l t h z *   -   L o g   a l l   h e a l t h   c h e c k s   O m i t S t a g e s   i s   a   l i s t   o f   s t a g e s   f o r   w h i c h   n o   e v ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-audit.v1/",
    "id": "k8s_00413_section_2_7979"
  },
  {
    "question": "What is Stage?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   E v e n t P o l i c y P o l i c y R u l e   E v e n t   P o l i c y   P o l i c y R u l e   S t a g e   d e f i n e s   t h e   s t a g e s   i n   r e q u e s t   h a n d l i n g   t h a t   a u d i t   e v e n t s   m a y   b e   g e n e r a t e d .   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-audit.v1/",
    "id": "k8s_00413_section_2_7980"
  },
  {
    "question": "What is Node Reference Information?",
    "answer": "Node Reference InformationThis section contains the following reference topics about nodes:the kubelet's checkpoint APIa list of Articles on dockershim Removal and on Using CRI-compatible RuntimesKubelet Device Manager API VersionsNode Labels Populated By The KubeletLocal Files And Paths Used By The KubeletNode .status informationLinux Node Swap BehaviorsSeccomp informationYou can also read node reference details from elsewhere in the Kubernetes documentation, including:Node Metrics Data.CRI Pod & Container Metrics.Understand Pressure Stall Information (PSI) Metrics.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/",
    "id": "k8s_00414_qa_7981"
  },
  {
    "question": "How does Node Reference Information work?",
    "answer": "Node Reference InformationThis section contains the following reference topics about nodes:the kubelet's checkpoint APIa list of Articles on dockershim Removal and on Using CRI-compatible RuntimesKubelet Device Manager API VersionsNode Labels Populated By The KubeletLocal Files And Paths Used By The KubeletNode .status informationLinux Node Swap BehaviorsSeccomp informationYou can also read node reference details from elsewhere in the Kubernetes documentation, including:Node Metrics Data.CRI Pod & Container Metrics.Understand Pressure Stall Information (PSI) Metrics.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/",
    "id": "k8s_00414_qa_7982"
  },
  {
    "question": "When would you use Node Reference Information?",
    "answer": "Node Reference InformationThis section contains the following reference topics about nodes:the kubelet's checkpoint APIa list of Articles on dockershim Removal and on Using CRI-compatible RuntimesKubelet Device Manager API VersionsNode Labels Populated By The KubeletLocal Files And Paths Used By The KubeletNode .status informationLinux Node Swap BehaviorsSeccomp informationYou can also read node reference details from elsewhere in the Kubernetes documentation, including:Node Metrics Data.CRI Pod & Container Metrics.Understand Pressure Stall Information (PSI) Metrics.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/",
    "id": "k8s_00414_qa_7983"
  },
  {
    "question": "What are the benefits of Node Reference Information?",
    "answer": "Node Reference InformationThis section contains the following reference topics about nodes:the kubelet's checkpoint APIa list of Articles on dockershim Removal and on Using CRI-compatible RuntimesKubelet Device Manager API VersionsNode Labels Populated By The KubeletLocal Files And Paths Used By The KubeletNode .status informationLinux Node Swap BehaviorsSeccomp informationYou can also read node reference details from elsewhere in the Kubernetes documentation, including:Node Metrics Data.CRI Pod & Container Metrics.Understand Pressure Stall Information (PSI) Metrics.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/",
    "id": "k8s_00414_qa_7984"
  },
  {
    "question": "What is Node Reference Information?",
    "answer": "T h i s   s e c t i o n   c o n t a i n s   t h e   f o l l o w i n g   r e f e r e n c e   t o p i c s   a b o u t   n o d e s :   t h e   k u b e l e t ' s   c h e c k p o i n t   A P I a   l i s t   o f   A r t i c l e s   o n   d o c k e r s h i m   R e m o v a l   a n d   o n   U s i n g   C R I - c o m p a t i b l e   R u n t i m e s K u b e l e t   D e v i c e   M a n a g e r   A P I   V e r s i o n s N o d e   L a b e l s   P o p u l a t e d   B y   T h e   K u b e l e t L o c a l   F i l e s   A n d   P a t h s   U s e d   B y   T h e   K u b e l e t N o d e   . s t a t u s   i n f o r m a t i o n L i n u x   N o d e   S w a p   B e h a v i o r s S e c c o m p   i n f o r m a t i o n   t h e   k u b e l e t ' s   c h e c k p o i n t   A P I   a   l i s t   o f   A r t i c l e s   o n   d o c k e r s h i m   R e m o v a l   a n d   o n   U s i n g   C R I - c o m p a t i b l e   R u n t i m e s   K u b e l e t   D e v i c e   M a n a g e r   A P I   V e r s i o n s   N o d e   L a b e l s   P o p u l a t e d   B y   T h e   K u b e l e t   L o c a l   F i l e s   A n d   P a t h s   U s e d   B y   T h e   K u b e l e t   N o d e   . s t a t u s   i n f o r m a t i o n   L i n u x   N o d e   S w a p   B e h a v i o r s   S e c c o m p   i n f o r m a t i o n   Y o u   c a n   a l s o   r e a d   n o d e   r e f e r e n c e   d e t a i l s   f r o m   e l s e w h e r e   i n   t h e   K u b e r n e t e s   d o c u m e n t a t i o n ,   i n c l u d i n g :   N o d e   M e t r i c s   D a t a . C R I   P o d   &   C o n t a i n e r   M e t r i c s . U n d e r s t a n d   P r e s s u r e   S t a l l   I n f o r m a t i o n   ( P S I )   M e t r i c s .   N o d e   M e t r i c s   D a t a .   C R I   P o d   &   C o n t a i n e r   M e t r i c s .   U n d e r s t a n d   P r e s s u r e   S t a l l   I n f o r m a t i o n   ( P S I )   M e t r i c s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/",
    "id": "k8s_00414_section_1_7985"
  },
  {
    "question": "What is Images?",
    "answer": "ImagesA container image represents binary data that encapsulates an application and all its software dependencies. Container images are executable software bundles that can run standalone and that make very well-defined assumptions about their runtime environment.You typically create a container image of your application and push it to a registry before referring to it in a Pod.This page provides an outline of the container image concept.Note:If you are looking for the container images for a Kubernetes release (such as v1.34, the latest minor release), visit Download Kubernetes.Image namesContainer images are usually given a name such as pause, example/mycontainer, or kube-apiserver. Images can also include a registry hostname; for example: fictional.registry.example/imagename, and possibly a port number as well; for example: fictional.registry.example:10443/imagename.If you don't specify a registry hostname, Kubernetes assumes that you mean the Docker public registry. You can change this behavior by setting a default image registry in the container runtime configuration.After the image name part you can add a tag or digest (in the same way you would when using with commands like docker or podman). Tags let you identify different versions of the same series of images. Digests are a unique identifier for a specific version of an image. Digests are hashes of the image's content, and are immutable. Tags can be moved to point to different images, but digests are fixed.Image tags consist of lowercase and uppercase letters, digits, underscores (_), periods (.), and dashes (-). A tag can be up to 128 characters long, and must conform to the following regex pattern: [a-zA-Z0-9_][a-zA-Z0-9._-]{0,127}. You can read more about it and find the validation regex in the OCI Distribution Specification. If you don't specify a tag, Kubernetes assumes you mean the tag latest.Image digests consists of a hash algorithm (such as sha256) and a hash value. For example: sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07. You can find more information about the digest format in the OCI Image Specification.Some image name examples that Kubernetes can use are:busybox — Image name only, no tag or digest. Kubernetes will use the Docker public registry and latest tag. Equivalent to docker.io/library/busybox:latest.busybox:1.32.0 — Image name with tag. Kubernetes will use the Docker public registry. Equivalent to docker.io/library/busybox:1.32.0.registry.k8s.io/pause:latest — Image name with a custom registry and latest tag.registry.k8s.io/pause:3.5 — Image name with a custom registry and non-latest tag.registry.k8s.io/pause@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07 — Image name with digest.registry.k8s.io/pause:3.5@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07 — Image name with tag and digest. Only the digest will be used for pulling.Updating imagesWhen you first create a Deployment, StatefulSet, Pod,",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_qa_7986"
  },
  {
    "question": "How does Images work?",
    "answer": "ImagesA container image represents binary data that encapsulates an application and all its software dependencies. Container images are executable software bundles that can run standalone and that make very well-defined assumptions about their runtime environment.You typically create a container image of your application and push it to a registry before referring to it in a Pod.This page provides an outline of the container image concept.Note:If you are looking for the container images for a Kubernetes release (such as v1.34, the latest minor release), visit Download Kubernetes.Image namesContainer images are usually given a name such as pause, example/mycontainer, or kube-apiserver. Images can also include a registry hostname; for example: fictional.registry.example/imagename, and possibly a port number as well; for example: fictional.registry.example:10443/imagename.If you don't specify a registry hostname, Kubernetes assumes that you mean the Docker public registry. You can change this behavior by setting a default image registry in the container runtime configuration.After the image name part you can add a tag or digest (in the same way you would when using with commands like docker or podman). Tags let you identify different versions of the same series of images. Digests are a unique identifier for a specific version of an image. Digests are hashes of the image's content, and are immutable. Tags can be moved to point to different images, but digests are fixed.Image tags consist of lowercase and uppercase letters, digits, underscores (_), periods (.), and dashes (-). A tag can be up to 128 characters long, and must conform to the following regex pattern: [a-zA-Z0-9_][a-zA-Z0-9._-]{0,127}. You can read more about it and find the validation regex in the OCI Distribution Specification. If you don't specify a tag, Kubernetes assumes you mean the tag latest.Image digests consists of a hash algorithm (such as sha256) and a hash value. For example: sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07. You can find more information about the digest format in the OCI Image Specification.Some image name examples that Kubernetes can use are:busybox — Image name only, no tag or digest. Kubernetes will use the Docker public registry and latest tag. Equivalent to docker.io/library/busybox:latest.busybox:1.32.0 — Image name with tag. Kubernetes will use the Docker public registry. Equivalent to docker.io/library/busybox:1.32.0.registry.k8s.io/pause:latest — Image name with a custom registry and latest tag.registry.k8s.io/pause:3.5 — Image name with a custom registry and non-latest tag.registry.k8s.io/pause@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07 — Image name with digest.registry.k8s.io/pause:3.5@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07 — Image name with tag and digest. Only the digest will be used for pulling.Updating imagesWhen you first create a Deployment, StatefulSet, Pod,",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_qa_7987"
  },
  {
    "question": "When would you use Images?",
    "answer": "ImagesA container image represents binary data that encapsulates an application and all its software dependencies. Container images are executable software bundles that can run standalone and that make very well-defined assumptions about their runtime environment.You typically create a container image of your application and push it to a registry before referring to it in a Pod.This page provides an outline of the container image concept.Note:If you are looking for the container images for a Kubernetes release (such as v1.34, the latest minor release), visit Download Kubernetes.Image namesContainer images are usually given a name such as pause, example/mycontainer, or kube-apiserver. Images can also include a registry hostname; for example: fictional.registry.example/imagename, and possibly a port number as well; for example: fictional.registry.example:10443/imagename.If you don't specify a registry hostname, Kubernetes assumes that you mean the Docker public registry. You can change this behavior by setting a default image registry in the container runtime configuration.After the image name part you can add a tag or digest (in the same way you would when using with commands like docker or podman). Tags let you identify different versions of the same series of images. Digests are a unique identifier for a specific version of an image. Digests are hashes of the image's content, and are immutable. Tags can be moved to point to different images, but digests are fixed.Image tags consist of lowercase and uppercase letters, digits, underscores (_), periods (.), and dashes (-). A tag can be up to 128 characters long, and must conform to the following regex pattern: [a-zA-Z0-9_][a-zA-Z0-9._-]{0,127}. You can read more about it and find the validation regex in the OCI Distribution Specification. If you don't specify a tag, Kubernetes assumes you mean the tag latest.Image digests consists of a hash algorithm (such as sha256) and a hash value. For example: sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07. You can find more information about the digest format in the OCI Image Specification.Some image name examples that Kubernetes can use are:busybox — Image name only, no tag or digest. Kubernetes will use the Docker public registry and latest tag. Equivalent to docker.io/library/busybox:latest.busybox:1.32.0 — Image name with tag. Kubernetes will use the Docker public registry. Equivalent to docker.io/library/busybox:1.32.0.registry.k8s.io/pause:latest — Image name with a custom registry and latest tag.registry.k8s.io/pause:3.5 — Image name with a custom registry and non-latest tag.registry.k8s.io/pause@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07 — Image name with digest.registry.k8s.io/pause:3.5@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07 — Image name with tag and digest. Only the digest will be used for pulling.Updating imagesWhen you first create a Deployment, StatefulSet, Pod,",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_qa_7988"
  },
  {
    "question": "What are the benefits of Images?",
    "answer": "ImagesA container image represents binary data that encapsulates an application and all its software dependencies. Container images are executable software bundles that can run standalone and that make very well-defined assumptions about their runtime environment.You typically create a container image of your application and push it to a registry before referring to it in a Pod.This page provides an outline of the container image concept.Note:If you are looking for the container images for a Kubernetes release (such as v1.34, the latest minor release), visit Download Kubernetes.Image namesContainer images are usually given a name such as pause, example/mycontainer, or kube-apiserver. Images can also include a registry hostname; for example: fictional.registry.example/imagename, and possibly a port number as well; for example: fictional.registry.example:10443/imagename.If you don't specify a registry hostname, Kubernetes assumes that you mean the Docker public registry. You can change this behavior by setting a default image registry in the container runtime configuration.After the image name part you can add a tag or digest (in the same way you would when using with commands like docker or podman). Tags let you identify different versions of the same series of images. Digests are a unique identifier for a specific version of an image. Digests are hashes of the image's content, and are immutable. Tags can be moved to point to different images, but digests are fixed.Image tags consist of lowercase and uppercase letters, digits, underscores (_), periods (.), and dashes (-). A tag can be up to 128 characters long, and must conform to the following regex pattern: [a-zA-Z0-9_][a-zA-Z0-9._-]{0,127}. You can read more about it and find the validation regex in the OCI Distribution Specification. If you don't specify a tag, Kubernetes assumes you mean the tag latest.Image digests consists of a hash algorithm (such as sha256) and a hash value. For example: sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07. You can find more information about the digest format in the OCI Image Specification.Some image name examples that Kubernetes can use are:busybox — Image name only, no tag or digest. Kubernetes will use the Docker public registry and latest tag. Equivalent to docker.io/library/busybox:latest.busybox:1.32.0 — Image name with tag. Kubernetes will use the Docker public registry. Equivalent to docker.io/library/busybox:1.32.0.registry.k8s.io/pause:latest — Image name with a custom registry and latest tag.registry.k8s.io/pause:3.5 — Image name with a custom registry and non-latest tag.registry.k8s.io/pause@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07 — Image name with digest.registry.k8s.io/pause:3.5@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07 — Image name with tag and digest. Only the digest will be used for pulling.Updating imagesWhen you first create a Deployment, StatefulSet, Pod,",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_qa_7989"
  },
  {
    "question": "What is Images?",
    "answer": "A   c o n t a i n e r   i m a g e   r e p r e s e n t s   b i n a r y   d a t a   t h a t   e n c a p s u l a t e s   a n   a p p l i c a t i o n   a n d   a l l   i t s   s o f t w a r e   d e p e n d e n c i e s .   C o n t a i n e r   i m a g e s   a r e   e x e c u t a b l e   s o f t w a r e   b u n d l e s   t h a t   c a n   r u n   s t a n d a l o n e   a n d   t h a t   m a k e   v e r y   w e l l - d e f i n e d   a s s u m p t i o n s   a b o u t   t h e i r   r u n t i m e   e n v i r o n m e n t .   Y o u   t y p i c a l l y   c r e a t e   a   c o n t a i n e r   i m a g e   o f   y o u r   a p p l i c a t i o n   a n d   p u s h   i t   t o   a   r e g i s t r y   b e f o r e   r e f e r r i n g   t o   i t   i n   a   P o d .   T h i s   p a g e   p r o v i d e s   a n   o u t l i n e   o f   t h e   c o n t a i n e r   i m a g e   c o n c e p t .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_section_1_7990"
  },
  {
    "question": "What is Image names?",
    "answer": "C o n t a i n e r   i m a g e s   a r e   u s u a l l y   g i v e n   a   n a m e   s u c h   a s   p a u s e ,   e x a m p l e / m y c o n t a i n e r ,   o r   k u b e - a p i s e r v e r .   I m a g e s   c a n   a l s o   i n c l u d e   a   r e g i s t r y   h o s t n a m e ;   f o r   e x a m p l e :   f i c t i o n a l . r e g i s t r y . e x a m p l e / i m a g e n a m e ,   a n d   p o s s i b l y   a   p o r t   n u m b e r   a s   w e l l ;   f o r   e x a m p l e :   f i c t i o n a l . r e g i s t r y . e x a m p l e : 1 0 4 4 3 / i m a g e n a m e .   I f   y o u   d o n ' t   s p e c i f y   a   r e g i s t r y   h o s t n a m e ,   K u b e r n e t e s   a s s u m e s   t h a t   y o u   m e a n   t h e   D o c k e r   p u b l i c   r e g i s t r y .   Y o u   c a n   c h a n g e   t h i s   b e h a v i o r   b y   s e t t i n g   a   d e f a u l t   i m a g e   r e g i s t r y   i n   t h e   c o n t a i n e r   r u n t i m e   c o n f i g u r a t i o n .   A f t e r   t h e   i m a g e   n a m e   p a r t   y o u   c a n   a d d   a   t a g   o r   d i g e s t   ( i n   t h e   s a m e   w a y   y o u   w o u l d   w h e n   u s i n g   w i t h   c o m m a n d s   l i k e   d o c k e r   o r   p o d m a n ) .   T a g s   l e t   y o u   i d e n t i f y   d i f f e r e n t   v e r s i o n s   o f   t h e   s a m e   s e r i e s   o f   i m a g e s .   D i g e s t s   a r e   a   u n i q u e   i d e n t i f i e r   f o r   a   s p e c i f i c   v e r s i o n   o f   a n   i m a g e .   D i g e s t s   a r e   h a s h e s   o f   t h e   i m a g e ' s   c o n t e n t ,   a n d   a r e   i m m u t a b l e .   T a g s   c a n   b e   m o v e d   t o   p o i n t   t o   d i f f e r e n t   i m a g e s ,   b u t   d i g e s t s   a r e   f i x e d .   I m a g e   t a g s   c o n s i s t   o f   l o w e r c a s e   a n d   u p p e r c a s e   l e t t e r s ,   d i g i t s ,   u n d e r s c o r e s   ( _ ) ,   p e r i o d s   ( . ) ,   a n d   d a s h e s   ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_section_2_7991"
  },
  {
    "question": "What is Updating images?",
    "answer": "W h e n   y o u   f i r s t   c r e a t e   a   D e p l o y m e n t ,   S t a t e f u l S e t ,   P o d ,   o r   o t h e r   o b j e c t   t h a t   i n c l u d e s   a   P o d T e m p l a t e ,   a n d   a   p u l l   p o l i c y   w a s   n o t   e x p l i c i t l y   s p e c i f i e d ,   t h e n   b y   d e f a u l t   t h e   p u l l   p o l i c y   o f   a l l   c o n t a i n e r s   i n   t h a t   P o d   w i l l   b e   s e t   t o   I f N o t P r e s e n t .   T h i s   p o l i c y   c a u s e s   t h e   k u b e l e t   t o   s k i p   p u l l i n g   a n   i m a g e   i f   i t   a l r e a d y   e x i s t s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_section_2_7992"
  },
  {
    "question": "What is Image pull policy?",
    "answer": "T h e   i m a g e P u l l P o l i c y   f o r   a   c o n t a i n e r   a n d   t h e   t a g   o f   t h e   i m a g e   b o t h   a f f e c t   w h e n   t h e   k u b e l e t   a t t e m p t s   t o   p u l l   ( d o w n l o a d )   t h e   s p e c i f i e d   i m a g e .   H e r e ' s   a   l i s t   o f   t h e   v a l u e s   y o u   c a n   s e t   f o r   i m a g e P u l l P o l i c y   a n d   t h e   e f f e c t s   t h e s e   v a l u e s   h a v e :   T h e   c a c h i n g   s e m a n t i c s   o f   t h e   u n d e r l y i n g   i m a g e   p r o v i d e r   m a k e   e v e n   i m a g e P u l l P o l i c y :   A l w a y s   e f f i c i e n t ,   a s   l o n g   a s   t h e   r e g i s t r y   i s   r e l i a b l y   a c c e s s i b l e .   Y o u r   c o n t a i n e r   r u n t i m e   c a n   n o t i c e   t h a t   t h e   i m a g e   l a y e r s   a l r e a d y   e x i s t   o n   t h e   n o d e   s o   t h a t   t h e y   d o n ' t   n e e d   t o   b e   d o w n l o a d e d   a g a i n .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_section_3_7993"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   s h o u l d   a v o i d   u s i n g   t h e   : l a t e s t   t a g   w h e n   d e p l o y i n g   c o n t a i n e r s   i n   p r o d u c t i o n   a s   i t   i s   h a r d e r   t o   t r a c k   w h i c h   v e r s i o n   o f   t h e   i m a g e   i s   r u n n i n g   a n d   m o r e   d i f f i c u l t   t o   r o l l   b a c k   p r o p e r l y .   I n s t e a d ,   s p e c i f y   a   m e a n i n g f u l   t a g   s u c h   a s   v 1 . 4 2 . 0   a n d / o r   a   d i g e s t .   T o   m a k e   s u r e   t h e   P o d   a l w a y s   u s e s   t h e   s a m e   v e r s i o n   o f   a   c o n t a i n e r   i m a g e ,   y o u   c a n   s p e c i f y   t h e   i m a g e ' s   d i g e s t ;   r e p l a c e   < i m a g e - n a m e > : < t a g >   w i t h   < i m a g e - n a m e > @ < d i g e s t >   ( f o r   e x a m p l e ,   i m a g e @ s h a 2 5 6 : 4 5 b 2 3 d e e 0 8 a f 5 e 4 3 a 7 f e a 6 c 4 c f 9 c 2 5 c c f 2 6 9 e e 1 1 3 1 6 8 c 1 9 7 2 2 f 8 7 8 7 6 6 7 7 c 5 c b 2 ) .   W h e n   u s i n g   i m a g e   t a g s ,   i f   t h e   i m a g e   r e g i s t r y   w e r e   t o   c h a n g e   t h e   c o d e   t h a t   t h e   t a g   o n   t h a t   i m a g e   r e p r e s e n t s ,   y o u   m i g h t   e n d   u p   w i t h   a   m i x   o f   P o d s   r u n n i n g   t h e   o l d   a n d   n e w   c o d e .   A n   i m a g e   d i g e s t   u n i q u e l y   i d e n t i f i e s   a   s p e c i f i c   v e r s i o n   o f   t h e   i m a g e ,   s o   K u b e r n e t e s   r u n s   t h e   s a m e   c o d e   e v e r y   t i m e   i t   s t a r t s   a   c o n t a i n e r   w i t h   t h a t   i m a g e   n a m e   a n d   d i g e s t   s p e c i f i e d .   S p e c i f y i n g   a n   i m a g e   b y   d i g e s t   p i n s   t h e   c o d e   t h a t   y o u   r u n   s o   t h a t   a   c h a n g e   a t   t h e   r e g i s t r y   c a n n o t   l e a d   t o   t h a t   m i x   o f   v e r s i o n s .   T h e r e   a r e   t h i r ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_section_4_7994"
  },
  {
    "question": "What is Default image pull policy?",
    "answer": "W h e n   y o u   ( o r   a   c o n t r o l l e r )   s u b m i t   a   n e w   P o d   t o   t h e   A P I   s e r v e r ,   y o u r   c l u s t e r   s e t s   t h e   i m a g e P u l l P o l i c y   f i e l d   w h e n   s p e c i f i c   c o n d i t i o n s   a r e   m e t :   i f   y o u   o m i t   t h e   i m a g e P u l l P o l i c y   f i e l d ,   a n d   y o u   s p e c i f y   t h e   d i g e s t   f o r   t h e   c o n t a i n e r   i m a g e ,   t h e   i m a g e P u l l P o l i c y   i s   a u t o m a t i c a l l y   s e t   t o   I f N o t P r e s e n t . i f   y o u   o m i t   t h e   i m a g e P u l l P o l i c y   f i e l d ,   a n d   t h e   t a g   f o r   t h e   c o n t a i n e r   i m a g e   i s   : l a t e s t ,   i m a g e P u l l P o l i c y   i s   a u t o m a t i c a l l y   s e t   t o   A l w a y s . i f   y o u   o m i t   t h e   i m a g e P u l l P o l i c y   f i e l d ,   a n d   y o u   d o n ' t   s p e c i f y   t h e   t a g   f o r   t h e   c o n t a i n e r   i m a g e ,   i m a g e P u l l P o l i c y   i s   a u t o m a t i c a l l y   s e t   t o   A l w a y s . i f   y o u   o m i t   t h e   i m a g e P u l l P o l i c y   f i e l d ,   a n d   y o u   s p e c i f y   a   t a g   f o r   t h e   c o n t a i n e r   i m a g e   t h a t   i s n ' t   : l a t e s t ,   t h e   i m a g e P u l l P o l i c y   i s   a u t o m a t i c a l l y   s e t   t o   I f N o t P r e s e n t .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_section_4_7995"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   v a l u e   o f   i m a g e P u l l P o l i c y   o f   t h e   c o n t a i n e r   i s   a l w a y s   s e t   w h e n   t h e   o b j e c t   i s   f i r s t   c r e a t e d ,   a n d   i s   n o t   u p d a t e d   i f   t h e   i m a g e ' s   t a g   o r   d i g e s t   l a t e r   c h a n g e s .   F o r   e x a m p l e ,   i f   y o u   c r e a t e   a   D e p l o y m e n t   w i t h   a n   i m a g e   w h o s e   t a g   i s   n o t   : l a t e s t ,   a n d   l a t e r   u p d a t e   t h a t   D e p l o y m e n t ' s   i m a g e   t o   a   : l a t e s t   t a g ,   t h e   i m a g e P u l l P o l i c y   f i e l d   w i l l   n o t   c h a n g e   t o   A l w a y s .   Y o u   m u s t   m a n u a l l y   c h a n g e   t h e   p u l l   p o l i c y   o f   a n y   o b j e c t   a f t e r   i t s   i n i t i a l   c r e a t i o n .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_section_4_7996"
  },
  {
    "question": "What is Required image pull?",
    "answer": "I f   y o u   w o u l d   l i k e   t o   a l w a y s   f o r c e   a   p u l l ,   y o u   c a n   d o   o n e   o f   t h e   f o l l o w i n g :   S e t   t h e   i m a g e P u l l P o l i c y   o f   t h e   c o n t a i n e r   t o   A l w a y s . O m i t   t h e   i m a g e P u l l P o l i c y   a n d   u s e   : l a t e s t   a s   t h e   t a g   f o r   t h e   i m a g e   t o   u s e ;   K u b e r n e t e s   w i l l   s e t   t h e   p o l i c y   t o   A l w a y s   w h e n   y o u   s u b m i t   t h e   P o d . O m i t   t h e   i m a g e P u l l P o l i c y   a n d   t h e   t a g   f o r   t h e   i m a g e   t o   u s e ;   K u b e r n e t e s   w i l l   s e t   t h e   p o l i c y   t o   A l w a y s   w h e n   y o u   s u b m i t   t h e   P o d . E n a b l e   t h e   A l w a y s P u l l I m a g e s   a d m i s s i o n   c o n t r o l l e r .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_section_4_7997"
  },
  {
    "question": "What is ImagePullBackOff?",
    "answer": "W h e n   a   k u b e l e t   s t a r t s   c r e a t i n g   c o n t a i n e r s   f o r   a   P o d   u s i n g   a   c o n t a i n e r   r u n t i m e ,   i t   m i g h t   b e   p o s s i b l e   t h e   c o n t a i n e r   i s   i n   W a i t i n g   s t a t e   b e c a u s e   o f   I m a g e P u l l B a c k O f f .   T h e   s t a t u s   I m a g e P u l l B a c k O f f   m e a n s   t h a t   a   c o n t a i n e r   c o u l d   n o t   s t a r t   b e c a u s e   K u b e r n e t e s   c o u l d   n o t   p u l l   a   c o n t a i n e r   i m a g e   ( f o r   r e a s o n s   s u c h   a s   i n v a l i d   i m a g e   n a m e ,   o r   p u l l i n g   f r o m   a   p r i v a t e   r e g i s t r y   w i t h o u t   i m a g e P u l l S e c r e t ) .   T h e   B a c k O f f   p a r t   i n d i c a t e s   t h a t   K u b e r n e t e s   w i l l   k e e p   t r y i n g   t o   p u l l   t h e   i m a g e ,   w i t h   a n   i n c r e a s i n g   b a c k - o f f   d e l a y .   K u b e r n e t e s   r a i s e s   t h e   d e l a y   b e t w e e n   e a c h   a t t e m p t   u n t i l   i t   r e a c h e s   a   c o m p i l e d - i n   l i m i t ,   w h i c h   i s   3 0 0   s e c o n d s   ( 5   m i n u t e s ) .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_section_3_7998"
  },
  {
    "question": "What is Image pull per runtime class?",
    "answer": "F E A T U R E   S T A T E :   K u b e r n e t e s   v 1 . 2 9   [ a l p h a ]   ( e n a b l e d   b y   d e f a u l t :   f a l s e ) K u b e r n e t e s   i n c l u d e s   a l p h a   s u p p o r t   f o r   p e r f o r m i n g   i m a g e   p u l l s   b a s e d   o n   t h e   R u n t i m e C l a s s   o f   a   P o d .   I f   y o u   e n a b l e   t h e   R u n t i m e C l a s s I n I m a g e C r i A p i   f e a t u r e   g a t e ,   t h e   k u b e l e t   r e f e r e n c e s   c o n t a i n e r   i m a g e s   b y   a   t u p l e   o f   i m a g e   n a m e   a n d   r u n t i m e   h a n d l e r   r a t h e r   t h a n   j u s t   t h e   i m a g e   n a m e   o r   d i g e s t .   Y o u r   c o n t a i n e r   r u n t i m e   m a y   a d a p t   i t s   b e h a v i o r   b a s e d   o n   t h e   s e l e c t e d   r u n t i m e   h a n d l e r .   P u l l i n g   i m a g e s   b a s e d   o n   r u n t i m e   c l a s s   i s   u s e f u l   f o r   V M - b a s e d   c o n t a i n e r s ,   s u c h   a s   W i n d o w s   H y p e r - V   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_section_3_7999"
  },
  {
    "question": "What is Serial and parallel image pulls?",
    "answer": "B y   d e f a u l t ,   t h e   k u b e l e t   p u l l s   i m a g e s   s e r i a l l y .   I n   o t h e r   w o r d s ,   t h e   k u b e l e t   s e n d s   o n l y   o n e   i m a g e   p u l l   r e q u e s t   t o   t h e   i m a g e   s e r v i c e   a t   a   t i m e .   O t h e r   i m a g e   p u l l   r e q u e s t s   h a v e   t o   w a i t   u n t i l   t h e   o n e   b e i n g   p r o c e s s e d   i s   c o m p l e t e .   N o d e s   m a k e   i m a g e   p u l l   d e c i s i o n s   i n   i s o l a t i o n .   E v e n   w h e n   y o u   u s e   s e r i a l i z e d   i m a g e   p u l l s ,   t w o   d i f f e r e n t   n o d e s   c a n   p u l l   t h e   s a m e   i m a g e   i n   p a r a l l e l .   I f   y o u   w o u l d   l i k e   t o   e n a b l e   p a r a l l e l   i m a g e   p u l l s ,   y o u   c a n   s e t   t h e   f i e l d   s e r i a l i z e I m a g e P u l l s   t o   f a l s e   i n   t h e   k u b e l e t   c o n f i g u r a t i o n .   W i t h   s e r i a l i z e I m a g e P u l l s   s e t   t o   f a l s e ,   i m a g e   p u l l   r e q u e s t s   w i l l   b e   s e n t   t o   t h e   i m a g e   s e r v i c e   i m m e d i a t e l y ,   a n d   m u l t i p l e   i m a g e s   w i l l   b e   p u l l e d   a t   t h e   s a m e   t i m e .   W h e n   e n a b l i n g   p a r a l l e l   i m a g e   p u l l s ,   e n s u r e   t h a t   t h e   i m a g e   s e r v i c e   o f   y o u r   c o n t a i n e r   r u n t i m e   c a n   h a n d l e   p a r a l l e l   i m a g e   p u l l s .   T h e   k u b e l e t   n e v e r   p u l l s   m u l t i p l e   i m a g e s   i n   p a r a l l e l   o n   b e h a l f   o f   o n e   P o d .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   P o d   t h a t   h a s   a n   i n i t   c o n t a i n e r   a n d   a n   a p p l i c a t i o n   c o n t a i n e r ,   t h e   i m a g e   p u l l s   f o r   t h e   t w o   c o n t a i n e r s   w i l l   n o t   b e   p a r a ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_section_2_8000"
  },
  {
    "question": "What is Maximum parallel image pulls?",
    "answer": "W h e n   s e r i a l i z e I m a g e P u l l s   i s   s e t   t o   f a l s e ,   t h e   k u b e l e t   d e f a u l t s   t o   n o   l i m i t   o n   t h e   m a x i m u m   n u m b e r   o f   i m a g e s   b e i n g   p u l l e d   a t   t h e   s a m e   t i m e .   I f   y o u   w o u l d   l i k e   t o   l i m i t   t h e   n u m b e r   o f   p a r a l l e l   i m a g e   p u l l s ,   y o u   c a n   s e t   t h e   f i e l d   m a x P a r a l l e l I m a g e P u l l s   i n   t h e   k u b e l e t   c o n f i g u r a t i o n .   W i t h   m a x P a r a l l e l I m a g e P u l l s   s e t   t o   n ,   o n l y   n   i m a g e s   c a n   b e   p u l l e d   a t   t h e   s a m e   t i m e ,   a n d   a n y   i m a g e   p u l l   b e y o n d   n   w i l l   h a v e   t o   w a i t   u n t i l   a t   l e a s t   o n e   o n g o i n g   i m a g e   p u l l   i s   c o m p l e t e .   L i m i t i n g   t h e   n u m b e r   o f   p a r a l l e l   i m a g e   p u l l s   p r e v e n t s   i m a g e   p u l l i n g   f r o m   c o n s u m i n g   t o o   m u c h   n e t w o r k   b a n d w i d t h   o r   d i s k   I / O ,   w h e n   p a r a l l e l   i m a g e   p u l l i n g   i s   e n a b l e d .   Y o u   c a n   s e t   m a x P a r a l l e l I m a g e P u l l s   t o   a   p o s i t i v e   n u m b e r   t h a t   i s   g r e a t e r   t h a n   o r   e q u a l   t o   1 .   I f   y o u   s e t   m a x P a r a l l e l I m a g e P u l l s   t o   b e   g r e a t e r   t h a n   o r   e q u a l   t o   2 ,   y o u   m u s t   s e t   s e r i a l i z e I m a g e P u l l s   t o   f a l s e .   T h e   k u b e l e t   w i l l   f a i l   t o   s t a r t   w i t h   a n   i n v a l i d   m a x P a r a l l e l I m a g e P u l l s   s e t t i n g .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_section_3_8001"
  },
  {
    "question": "What is Multi-architecture images with image indexes?",
    "answer": "A s   w e l l   a s   p r o v i d i n g   b i n a r y   i m a g e s ,   a   c o n t a i n e r   r e g i s t r y   c a n   a l s o   s e r v e   a   c o n t a i n e r   i m a g e   i n d e x .   A n   i m a g e   i n d e x   c a n   p o i n t   t o   m u l t i p l e   i m a g e   m a n i f e s t s   f o r   a r c h i t e c t u r e - s p e c i f i c   v e r s i o n s   o f   a   c o n t a i n e r .   T h e   i d e a   i s   t h a t   y o u   c a n   h a v e   a   n a m e   f o r   a n   i m a g e   ( f o r   e x a m p l e :   p a u s e ,   e x a m p l e / m y c o n t a i n e r ,   k u b e - a p i s e r v e r )   a n d   a l l o w   d i f f e r e n t   s y s t e m s   t o   f e t c h   t h e   r i g h t   b i n a r y   i m a g e   f o r   t h e   m a c h i n e   a r c h i t e c t u r e   t h e y   a r e   u s i n g .   T h e   K u b e r n e t e s   p r o j e c t   t y p i c a l l y   c r e a t e s   c o n t a i n e r   i m a g e s   f o r   i t s   r e l e a s e s   w i t h   n a m e s   t h a t   i n c l u d e   t h e   s u f f i x   - $ ( A R C H ) .   F o r   b a c k w a r d   c o m p a t i b i l i t y ,   g e n e r a t e   o l d e r   i m a g e s   w i t h   s u f f i x e s .   F o r   i n s t a n c e ,   a n   i m a g e   n a m e d   a s   p a u s e   w o u l d   b e   a   m u l t i - a r c h i t e c t u r e   i m a g e   c o n t a i n i n g   m a n i f e s t s   f o r   a l l   s u p p o r t e d   a r c h i t e c t u r e s ,   w h i l e   p a u s e - a m d 6 4   w o u l d   b e   a   b a c k w a r d - c o m p a t i b l e   v e r s i o n   f o r   o l d e r   c o n f i g u r a t i o n s ,   o r   f o r   Y A M L   f i l e s   w i t h   h a r d c o d e d   i m a g e   n a m e s   c o n t a i n i n g   s u f f i x e s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_section_2_8002"
  },
  {
    "question": "What is Using a private registry?",
    "answer": "P r i v a t e   r e g i s t r i e s   m a y   r e q u i r e   a u t h e n t i c a t i o n   t o   b e   a b l e   t o   d i s c o v e r   a n d / o r   p u l l   i m a g e s   f r o m   t h e m .   C r e d e n t i a l s   c a n   b e   p r o v i d e d   i n   s e v e r a l   w a y s :   S p e c i f y i n g   i m a g e P u l l S e c r e t s   w h e n   y o u   d e f i n e   a   P o d O n l y   P o d s   w h i c h   p r o v i d e   t h e i r   o w n   k e y s   c a n   a c c e s s   t h e   p r i v a t e   r e g i s t r y . C o n f i g u r i n g   N o d e s   t o   A u t h e n t i c a t e   t o   a   P r i v a t e   R e g i s t r y A l l   P o d s   c a n   r e a d   a n y   c o n f i g u r e d   p r i v a t e   r e g i s t r i e s . R e q u i r e s   n o d e   c o n f i g u r a t i o n   b y   c l u s t e r   a d m i n i s t r a t o r . U s i n g   a   k u b e l e t   c r e d e n t i a l   p r o v i d e r   p l u g i n   t o   d y n a m i c a l l y   f e t c h   c r e d e n t i a l s   f o r   p r i v a t e   r e g i s t r i e s T h e   k u b e l e t   c a n   b e   c o n f i g u r e d   t o   u s e   c r e d e n t i a l   p r o v i d e r   e x e c   p l u g i n   f o r   t h e   r e s p e c t i v e   p r i v a t e   r e g i s t r y . P r e - p u l l e d   I m a g e s A l l   P o d s   c a n   u s e   a n y   i m a g e s   c a c h e d   o n   a   n o d e . R e q u i r e s   r o o t   a c c e s s   t o   a l l   n o d e s   t o   s e t   u p . V e n d o r - s p e c i f i c   o r   l o c a l   e x t e n s i o n s I f   y o u ' r e   u s i n g   a   c u s t o m   n o d e   c o n f i g u r a t i o n ,   y o u   ( o r   y o u r   c l o u d   p r o v i d e r )   c a n   i m p l e m e n t   y o u r   m e c h a n i s m   f o r   a u t h e n t i c a t i n g   t h e   n o d e   t o   t h e   c o n t a i n e r   r e g i s t r y .   S p e c i f y i n g   i m a g e P u l l S e c r e t s   w h e n   y o u   d e f i n e   a   P o d   O n l y   P o d s   w h i c h   p r o v i d e   ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_section_2_8003"
  },
  {
    "question": "What is Note:?",
    "answer": "K u b e r n e t e s   s u p p o r t s   s p e c i f y i n g   c o n t a i n e r   i m a g e   r e g i s t r y   k e y s   o n   a   P o d .   A l l   i m a g e P u l l S e c r e t s   m u s t   b e   S e c r e t s   t h a t   e x i s t   i n   t h e   s a m e   N a m e s p a c e   a s   t h e   P o d .   T h e s e   S e c r e t s   m u s t   b e   o f   t y p e   k u b e r n e t e s . i o / d o c k e r c f g   o r   k u b e r n e t e s . i o / d o c k e r c o n f i g j s o n .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_section_4_8004"
  },
  {
    "question": "What is Configuring nodes to authenticate to a private registry?",
    "answer": "S p e c i f i c   i n s t r u c t i o n s   f o r   s e t t i n g   c r e d e n t i a l s   d e p e n d s   o n   t h e   c o n t a i n e r   r u n t i m e   a n d   r e g i s t r y   y o u   c h o s e   t o   u s e .   Y o u   s h o u l d   r e f e r   t o   y o u r   s o l u t i o n ' s   d o c u m e n t a t i o n   f o r   t h e   m o s t   a c c u r a t e   i n f o r m a t i o n .   F o r   a n   e x a m p l e   o f   c o n f i g u r i n g   a   p r i v a t e   c o n t a i n e r   i m a g e   r e g i s t r y ,   s e e   t h e   P u l l   a n   I m a g e   f r o m   a   P r i v a t e   R e g i s t r y   t a s k .   T h a t   e x a m p l e   u s e s   a   p r i v a t e   r e g i s t r y   i n   D o c k e r   H u b .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_section_3_8005"
  },
  {
    "question": "What is Kubelet credential provider for authenticated image pulls?",
    "answer": "Y o u   c a n   c o n f i g u r e   t h e   k u b e l e t   t o   i n v o k e   a   p l u g i n   b i n a r y   t o   d y n a m i c a l l y   f e t c h   r e g i s t r y   c r e d e n t i a l s   f o r   a   c o n t a i n e r   i m a g e .   T h i s   i s   t h e   m o s t   r o b u s t   a n d   v e r s a t i l e   w a y   t o   f e t c h   c r e d e n t i a l s   f o r   p r i v a t e   r e g i s t r i e s ,   b u t   a l s o   r e q u i r e s   k u b e l e t - l e v e l   c o n f i g u r a t i o n   t o   e n a b l e .   T h i s   t e c h n i q u e   c a n   b e   e s p e c i a l l y   u s e f u l   f o r   r u n n i n g   s t a t i c   P o d s   t h a t   r e q u i r e   c o n t a i n e r   i m a g e s   h o s t e d   i n   a   p r i v a t e   r e g i s t r y .   U s i n g   a   S e r v i c e A c c o u n t   o r   a   S e c r e t   t o   p r o v i d e   p r i v a t e   r e g i s t r y   c r e d e n t i a l s   i s   n o t   p o s s i b l e   i n   t h e   s p e c i f i c a t i o n   o f   a   s t a t i c   P o d ,   b e c a u s e   i t   c a n n o t   h a v e   r e f e r e n c e s   t o   o t h e r   A P I   r e s o u r c e s   i n   i t s   s p e c i f i c a t i o n .   S e e   C o n f i g u r e   a   k u b e l e t   i m a g e   c r e d e n t i a l   p r o v i d e r   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_section_3_8006"
  },
  {
    "question": "What is Interpretation of config.json?",
    "answer": "T h e   i n t e r p r e t a t i o n   o f   c o n f i g . j s o n   v a r i e s   b e t w e e n   t h e   o r i g i n a l   D o c k e r   i m p l e m e n t a t i o n   a n d   t h e   K u b e r n e t e s   i n t e r p r e t a t i o n .   I n   D o c k e r ,   t h e   a u t h s   k e y s   c a n   o n l y   s p e c i f y   r o o t   U R L s ,   w h e r e a s   K u b e r n e t e s   a l l o w s   g l o b   U R L s   a s   w e l l   a s   p r e f i x - m a t c h e d   p a t h s .   T h e   o n l y   l i m i t a t i o n   i s   t h a t   g l o b   p a t t e r n s   ( * )   h a v e   t o   i n c l u d e   t h e   d o t   ( . )   f o r   e a c h   s u b d o m a i n .   T h e   a m o u n t   o f   m a t c h e d   s u b d o m a i n s   h a s   t o   b e   e q u a l   t o   t h e   a m o u n t   o f   g l o b   p a t t e r n s   ( * . ) ,   f o r   e x a m p l e :   * . k u b e r n e t e s . i o   w i l l   n o t   m a t c h   k u b e r n e t e s . i o ,   b u t   w i l l   m a t c h   a b c . k u b e r n e t e s . i o . * . * . k u b e r n e t e s . i o   w i l l   n o t   m a t c h   a b c . k u b e r n e t e s . i o ,   b u t   w i l l   m a t c h   a b c . d e f . k u b e r n e t e s . i o . p r e f i x . * . i o   w i l l   m a t c h   p r e f i x . k u b e r n e t e s . i o . * - g o o d . k u b e r n e t e s . i o   w i l l   m a t c h   p r e f i x - g o o d . k u b e r n e t e s . i o .   T h i s   m e a n s   t h a t   a   c o n f i g . j s o n   l i k e   t h i s   i s   v a l i d :   {   \" a u t h s \" :   {   \" m y - r e g i s t r y . e x a m p l e / i m a g e s \" :   {   \" a u t h \" :   \" … \"   } ,   \" * . m y - r e g i s t r y . e x a m p l e / i m a g e s \" :   {   \" a u t h \" :   \" … \"   }   }   }   I m a g e   p u l l   o p e r a t i o n s   p a s s   t h e   c r e d e n t i a l s   t o   t h e   C R I   c o n t a i n e r   r u n t i m e   f o r   e v e r y   v a l i d   p a t t e r n .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   c o n t a i n e ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_section_3_8007"
  },
  {
    "question": "What is Note:?",
    "answer": "B y   d e f a u l t ,   t h e   k u b e l e t   t r i e s   t o   p u l l   e a c h   i m a g e   f r o m   t h e   s p e c i f i e d   r e g i s t r y .   H o w e v e r ,   i f   t h e   i m a g e P u l l P o l i c y   p r o p e r t y   o f   t h e   c o n t a i n e r   i s   s e t   t o   I f N o t P r e s e n t   o r   N e v e r ,   t h e n   a   l o c a l   i m a g e   i s   u s e d   ( p r e f e r e n t i a l l y   o r   e x c l u s i v e l y ,   r e s p e c t i v e l y ) .   I f   y o u   w a n t   t o   r e l y   o n   p r e - p u l l e d   i m a g e s   a s   a   s u b s t i t u t e   f o r   r e g i s t r y   a u t h e n t i c a t i o n ,   y o u   m u s t   e n s u r e   a l l   n o d e s   i n   t h e   c l u s t e r   h a v e   t h e   s a m e   p r e - p u l l e d   i m a g e s .   T h i s   c a n   b e   u s e d   t o   p r e l o a d   c e r t a i n   i m a g e s   f o r   s p e e d   o r   a s   a n   a l t e r n a t i v e   t o   a u t h e n t i c a t i n g   t o   a   p r i v a t e   r e g i s t r y .   S i m i l a r   t o   t h e   u s a g e   o f   t h e   k u b e l e t   c r e d e n t i a l   p r o v i d e r ,   p r e - p u l l e d   i m a g e s   a r e   a l s o   s u i t a b l e   f o r   l a u n c h i n g   s t a t i c   P o d s   t h a t   d e p e n d   o n   i m a g e s   h o s t e d   i n   a   p r i v a t e   r e g i s t r y .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_section_4_8008"
  },
  {
    "question": "What is Note:?",
    "answer": "A c c e s s   t o   p r e - p u l l e d   i m a g e s   m a y   b e   a u t h o r i z e d   a c c o r d i n g   t o   i m a g e   p u l l   c r e d e n t i a l   v e r i f i c a t i o n .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_section_4_8009"
  },
  {
    "question": "What is Ensure image pull credential verification?",
    "answer": "I f   t h e   K u b e l e t E n s u r e S e c r e t P u l l e d I m a g e s   f e a t u r e   g a t e   i s   e n a b l e d   f o r   y o u r   c l u s t e r ,   K u b e r n e t e s   w i l l   v a l i d a t e   i m a g e   c r e d e n t i a l s   f o r   e v e r y   i m a g e   t h a t   r e q u i r e s   c r e d e n t i a l s   t o   b e   p u l l e d ,   e v e n   i f   t h a t   i m a g e   i s   a l r e a d y   p r e s e n t   o n   t h e   n o d e .   T h i s   v a l i d a t i o n   e n s u r e s   t h a t   i m a g e s   i n   a   P o d   r e q u e s t   w h i c h   h a v e   n o t   b e e n   s u c c e s s f u l l y   p u l l e d   w i t h   t h e   p r o v i d e d   c r e d e n t i a l s   m u s t   r e - p u l l   t h e   i m a g e s   f r o m   t h e   r e g i s t r y .   A d d i t i o n a l l y ,   i m a g e   p u l l s   t h a t   r e - u s e   t h e   s a m e   c r e d e n t i a l s   w h i c h   p r e v i o u s l y   r e s u l t e d   i n   a   s u c c e s s f u l   i m a g e   p u l l   w i l l   n o t   n e e d   t o   r e - p u l l   f r o m   t h e   r e g i s t r y   a n d   a r e   i n s t e a d   v a l i d a t e d   l o c a l l y   w i t h o u t   a c c e s s i n g   t h e   r e g i s t r y   ( p r o v i d e d   t h e   i m a g e   i s   a v a i l a b l e   l o c a l l y ) .   T h i s   i s   c o n t r o l l e d   b y   t h e i m a g e P u l l C r e d e n t i a l s V e r i f i c a t i o n P o l i c y   f i e l d   i n   t h e   K u b e l e t   c o n f i g u r a t i o n .   T h i s   c o n f i g u r a t i o n   c o n t r o l s   w h e n   i m a g e   p u l l   c r e d e n t i a l s   m u s t   b e   v e r i f i e d   i f   t h e   i m a g e   i s   a l r e a d y   p r e s e n t   o n   t h e   n o d e :   N e v e r V e r i f y :   M i m i c s   t h e   b e h a v i o r   o f   h a v i n g   t h i s   f e a t u r e   g a t e   d i s a b l e d .   I f   t h e   i m a g e   i s   p r e s e n t   l o c a l l y ,   i m a g e   p u l l   c r e d e n t ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_section_4_8010"
  },
  {
    "question": "What is Creating a Secret with a Docker config?",
    "answer": "Y o u   n e e d   t o   k n o w   t h e   u s e r n a m e ,   r e g i s t r y   p a s s w o r d   a n d   c l i e n t   e m a i l   a d d r e s s   f o r   a u t h e n t i c a t i n g   t o   t h e   r e g i s t r y ,   a s   w e l l   a s   i t s   h o s t n a m e .   R u n   t h e   f o l l o w i n g   c o m m a n d ,   s u b s t i t u t i n g   p l a c e h o l d e r s   w i t h   t h e   a p p r o p r i a t e   v a l u e s :   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   < n a m e >   \\   - - d o c k e r - s e r v e r = < d o c k e r - r e g i s t r y - s e r v e r >   \\   - - d o c k e r - u s e r n a m e = < d o c k e r - u s e r >   \\   - - d o c k e r - p a s s w o r d = < d o c k e r - p a s s w o r d >   \\   - - d o c k e r - e m a i l = < d o c k e r - e m a i l >   I f   y o u   a l r e a d y   h a v e   a   D o c k e r   c r e d e n t i a l s   f i l e   t h e n ,   r a t h e r   t h a n   u s i n g   t h e   a b o v e   c o m m a n d ,   y o u   c a n   i m p o r t   t h e   c r e d e n t i a l s   f i l e   a s   a   K u b e r n e t e s   S e c r e t .   C r e a t e   a   S e c r e t   b a s e d   o n   e x i s t i n g   D o c k e r   c r e d e n t i a l s   e x p l a i n s   h o w   t o   s e t   t h i s   u p .   T h i s   i s   p a r t i c u l a r l y   u s e f u l   i f   y o u   a r e   u s i n g   m u l t i p l e   p r i v a t e   c o n t a i n e r   r e g i s t r i e s ,   a s   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   c r e a t e s   a   S e c r e t   t h a t   o n l y   w o r k s   w i t h   a   s i n g l e   p r i v a t e   r e g i s t r y .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_section_4_8011"
  },
  {
    "question": "What is Referring to imagePullSecrets on a Pod?",
    "answer": "N o w ,   y o u   c a n   c r e a t e   p o d s   w h i c h   r e f e r e n c e   t h a t   s e c r e t   b y   a d d i n g   t h e   i m a g e P u l l S e c r e t s   s e c t i o n   t o   a   P o d   d e f i n i t i o n .   E a c h   i t e m   i n   t h e   i m a g e P u l l S e c r e t s   a r r a y   c a n   o n l y   r e f e r e n c e   o n e   S e c r e t   i n   t h e   s a m e   n a m e s p a c e .   F o r   e x a m p l e :   c a t   < < E O F   >   p o d . y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   f o o   n a m e s p a c e :   a w e s o m e a p p s   s p e c :   c o n t a i n e r s :   -   n a m e :   f o o   i m a g e :   j a n e d o e / a w e s o m e a p p : v 1   i m a g e P u l l S e c r e t s :   -   n a m e :   m y r e g i s t r y k e y   E O F   c a t   < < E O F   > >   . / k u s t o m i z a t i o n . y a m l   r e s o u r c e s :   -   p o d . y a m l   E O F   T h i s   n e e d s   t o   b e   d o n e   f o r   e a c h   P o d   t h a t   i s   u s i n g   a   p r i v a t e   r e g i s t r y .   H o w e v e r ,   y o u   c a n   a u t o m a t e   t h i s   p r o c e s s   b y   s p e c i f y i n g   t h e   i m a g e P u l l S e c r e t s   s e c t i o n   i n   a   S e r v i c e A c c o u n t   r e s o u r c e .   S e e   A d d   I m a g e P u l l S e c r e t s   t o   a   S e r v i c e   A c c o u n t   f o r   d e t a i l e d   i n s t r u c t i o n s .   Y o u   c a n   u s e   t h i s   i n   c o n j u n c t i o n   w i t h   a   p e r - n o d e   . d o c k e r / c o n f i g . j s o n .   T h e   c r e d e n t i a l s   w i l l   b e   m e r g e d .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_section_4_8012"
  },
  {
    "question": "What is Use cases?",
    "answer": "T h e r e   a r e   a   n u m b e r   o f   s o l u t i o n s   f o r   c o n f i g u r i n g   p r i v a t e   r e g i s t r i e s .   H e r e   a r e   s o m e   c o m m o n   u s e   c a s e s   a n d   s u g g e s t e d   s o l u t i o n s .   C l u s t e r   r u n n i n g   o n l y   n o n - p r o p r i e t a r y   ( e . g .   o p e n - s o u r c e )   i m a g e s .   N o   n e e d   t o   h i d e   i m a g e s . U s e   p u b l i c   i m a g e s   f r o m   a   p u b l i c   r e g i s t r y N o   c o n f i g u r a t i o n   r e q u i r e d . S o m e   c l o u d   p r o v i d e r s   a u t o m a t i c a l l y   c a c h e   o r   m i r r o r   p u b l i c   i m a g e s ,   w h i c h   i m p r o v e s   a v a i l a b i l i t y   a n d   r e d u c e s   t h e   t i m e   t o   p u l l   i m a g e s . C l u s t e r   r u n n i n g   s o m e   p r o p r i e t a r y   i m a g e s   w h i c h   s h o u l d   b e   h i d d e n   t o   t h o s e   o u t s i d e   t h e   c o m p a n y ,   b u t   v i s i b l e   t o   a l l   c l u s t e r   u s e r s . U s e   a   h o s t e d   p r i v a t e   r e g i s t r y M a n u a l   c o n f i g u r a t i o n   m a y   b e   r e q u i r e d   o n   t h e   n o d e s   t h a t   n e e d   t o   a c c e s s   t o   p r i v a t e   r e g i s t r y . O r ,   r u n   a n   i n t e r n a l   p r i v a t e   r e g i s t r y   b e h i n d   y o u r   f i r e w a l l   w i t h   o p e n   r e a d   a c c e s s . N o   K u b e r n e t e s   c o n f i g u r a t i o n   i s   r e q u i r e d . U s e   a   h o s t e d   c o n t a i n e r   i m a g e   r e g i s t r y   s e r v i c e   t h a t   c o n t r o l s   i m a g e   a c c e s s I t   w i l l   w o r k   b e t t e r   w i t h   N o d e   a u t o s c a l i n g   t h a n   m a n u a l   n o d e   c o n f i g u r a t i o n . O r ,   o n   a   c l u s t e r   w h e r e   c h a n g i n g   t h e   n o d e   c o n f i g u r a t i o n   i s   i n c o n v e n i e n t ,   u s e   i m a g e P u ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_section_2_8013"
  },
  {
    "question": "What is Legacy built-in kubelet credential provider?",
    "answer": "I n   o l d e r   v e r s i o n s   o f   K u b e r n e t e s ,   t h e   k u b e l e t   h a d   a   d i r e c t   i n t e g r a t i o n   w i t h   c l o u d   p r o v i d e r   c r e d e n t i a l s .   T h i s   p r o v i d e d   t h e   a b i l i t y   t o   d y n a m i c a l l y   f e t c h   c r e d e n t i a l s   f o r   i m a g e   r e g i s t r i e s .   T h e r e   w e r e   t h r e e   b u i l t - i n   i m p l e m e n t a t i o n s   o f   t h e   k u b e l e t   c r e d e n t i a l   p r o v i d e r   i n t e g r a t i o n :   A C R   ( A z u r e   C o n t a i n e r   R e g i s t r y ) ,   E C R   ( E l a s t i c   C o n t a i n e r   R e g i s t r y ) ,   a n d   G C R   ( G o o g l e   C o n t a i n e r   R e g i s t r y ) .   S t a r t i n g   w i t h   v e r s i o n   1 . 2 6   o f   K u b e r n e t e s ,   t h e   l e g a c y   m e c h a n i s m   h a s   b e e n   r e m o v e d ,   s o   y o u   w o u l d   n e e d   t o   e i t h e r :   c o n f i g u r e   a   k u b e l e t   i m a g e   c r e d e n t i a l   p r o v i d e r   o n   e a c h   n o d e ;   o r s p e c i f y   i m a g e   p u l l   c r e d e n t i a l s   u s i n g   i m a g e P u l l S e c r e t s   a n d   a t   l e a s t   o n e   S e c r e t .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_section_2_8014"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   t h e   O C I   I m a g e   M a n i f e s t   S p e c i f i c a t i o n . L e a r n   a b o u t   c o n t a i n e r   i m a g e   g a r b a g e   c o l l e c t i o n . L e a r n   m o r e   a b o u t   p u l l i n g   a n   I m a g e   f r o m   a   P r i v a t e   R e g i s t r y .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/images/",
    "id": "k8s_00415_section_2_8015"
  },
  {
    "question": "What is Authentication Resources?",
    "answer": "Authentication ResourcesServiceAccountServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets.TokenRequestTokenRequest requests a token for a given service account.TokenReviewTokenReview attempts to authenticate a token to a known user.CertificateSigningRequestCertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.ClusterTrustBundle v1beta1ClusterTrustBundle is a cluster-scoped container for X.SelfSubjectReviewSelfSubjectReview contains the user information that the kube-apiserver has about the user making this request.PodCertificateRequest v1alpha1PodCertificateRequest encodes a pod requesting a certificate from a given signer.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/",
    "id": "k8s_00416_qa_8016"
  },
  {
    "question": "How does Authentication Resources work?",
    "answer": "Authentication ResourcesServiceAccountServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets.TokenRequestTokenRequest requests a token for a given service account.TokenReviewTokenReview attempts to authenticate a token to a known user.CertificateSigningRequestCertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.ClusterTrustBundle v1beta1ClusterTrustBundle is a cluster-scoped container for X.SelfSubjectReviewSelfSubjectReview contains the user information that the kube-apiserver has about the user making this request.PodCertificateRequest v1alpha1PodCertificateRequest encodes a pod requesting a certificate from a given signer.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/",
    "id": "k8s_00416_qa_8017"
  },
  {
    "question": "When would you use Authentication Resources?",
    "answer": "Authentication ResourcesServiceAccountServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets.TokenRequestTokenRequest requests a token for a given service account.TokenReviewTokenReview attempts to authenticate a token to a known user.CertificateSigningRequestCertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.ClusterTrustBundle v1beta1ClusterTrustBundle is a cluster-scoped container for X.SelfSubjectReviewSelfSubjectReview contains the user information that the kube-apiserver has about the user making this request.PodCertificateRequest v1alpha1PodCertificateRequest encodes a pod requesting a certificate from a given signer.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/",
    "id": "k8s_00416_qa_8018"
  },
  {
    "question": "What are the benefits of Authentication Resources?",
    "answer": "Authentication ResourcesServiceAccountServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets.TokenRequestTokenRequest requests a token for a given service account.TokenReviewTokenReview attempts to authenticate a token to a known user.CertificateSigningRequestCertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.ClusterTrustBundle v1beta1ClusterTrustBundle is a cluster-scoped container for X.SelfSubjectReviewSelfSubjectReview contains the user information that the kube-apiserver has about the user making this request.PodCertificateRequest v1alpha1PodCertificateRequest encodes a pod requesting a certificate from a given signer.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/",
    "id": "k8s_00416_qa_8019"
  },
  {
    "question": "What is ServiceAccount?",
    "answer": "S e r v i c e A c c o u n t   b i n d s   t o g e t h e r :   *   a   n a m e ,   u n d e r s t o o d   b y   u s e r s ,   a n d   p e r h a p s   b y   p e r i p h e r a l   s y s t e m s ,   f o r   a n   i d e n t i t y   *   a   p r i n c i p a l   t h a t   c a n   b e   a u t h e n t i c a t e d   a n d   a u t h o r i z e d   *   a   s e t   o f   s e c r e t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/",
    "id": "k8s_00416_section_5_8020"
  },
  {
    "question": "What is TokenRequest?",
    "answer": "T o k e n R e q u e s t   r e q u e s t s   a   t o k e n   f o r   a   g i v e n   s e r v i c e   a c c o u n t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/",
    "id": "k8s_00416_section_5_8021"
  },
  {
    "question": "What is TokenReview?",
    "answer": "T o k e n R e v i e w   a t t e m p t s   t o   a u t h e n t i c a t e   a   t o k e n   t o   a   k n o w n   u s e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/",
    "id": "k8s_00416_section_5_8022"
  },
  {
    "question": "What is CertificateSigningRequest?",
    "answer": "C e r t i f i c a t e S i g n i n g R e q u e s t   o b j e c t s   p r o v i d e   a   m e c h a n i s m   t o   o b t a i n   x 5 0 9   c e r t i f i c a t e s   b y   s u b m i t t i n g   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t ,   a n d   h a v i n g   i t   a s y n c h r o n o u s l y   a p p r o v e d   a n d   i s s u e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/",
    "id": "k8s_00416_section_5_8023"
  },
  {
    "question": "What is ClusterTrustBundle v1beta1?",
    "answer": "C l u s t e r T r u s t B u n d l e   i s   a   c l u s t e r - s c o p e d   c o n t a i n e r   f o r   X .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/",
    "id": "k8s_00416_section_5_8024"
  },
  {
    "question": "What is SelfSubjectReview?",
    "answer": "S e l f S u b j e c t R e v i e w   c o n t a i n s   t h e   u s e r   i n f o r m a t i o n   t h a t   t h e   k u b e - a p i s e r v e r   h a s   a b o u t   t h e   u s e r   m a k i n g   t h i s   r e q u e s t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/",
    "id": "k8s_00416_section_5_8025"
  },
  {
    "question": "What is PodCertificateRequest v1alpha1?",
    "answer": "P o d C e r t i f i c a t e R e q u e s t   e n c o d e s   a   p o d   r e q u e s t i n g   a   c e r t i f i c a t e   f r o m   a   g i v e n   s i g n e r .   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/",
    "id": "k8s_00416_section_5_8026"
  },
  {
    "question": "What is kubeadm join phase?",
    "answer": "kubeadm join phasekubeadm join phase enables you to invoke atomic steps of the join process. Hence, you can let kubeadm do some of the work and you can fill in the gaps if you wish to apply customization.kubeadm join phase is consistent with the kubeadm join workflow, and behind the scene both use the same code.kubeadm join phaseSynopsisUse this command to invoke single phase of the \"join\" workflowkubeadm join phase [flags] Options-h, --helphelp for phaseOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm join phase preflightUsing this phase you can execute preflight checks on a joining node.Run join pre-flight checksSynopsisRun pre-flight checks for kubeadm join.kubeadm join phase preflight [api-server-endpoint] [flags] Examples # Run join pre-flight checks using a config file. kubeadm join phase preflight --config kubeadm-config.yaml Options--apiserver-advertise-address stringIf the node should host a new control plane instance, the IP address the API Server will advertise it's listening on. If not set the default network interface will be used.--apiserver-bind-port int32 Default: 6443If the node should host a new control plane instance, the port for the API Server to bind to.--certificate-key stringUse this key to decrypt the certificate secrets uploaded by init. The certificate key is a hex encoded string that is an AES key of size 32 bytes.--config stringPath to a kubeadm configuration file.--control-planeCreate a new control plane instance on this node--cri-socket stringPath to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.--discovery-file stringFor file-based discovery, a file or URL from which to load cluster information.--discovery-token stringFor token-based discovery, the token used to validate cluster information fetched from the API server.--discovery-token-ca-cert-hash stringsFor token-based discovery, validate that the root CA public key matches this hash (format: \"<type>:<value>\").--discovery-token-unsafe-skip-ca-verificationFor token-based discovery, allow joining without --discovery-token-ca-cert-hash pinning.--dry-runDon't apply any changes; just output what would be done.-h, --helphelp for preflight--ignore-preflight-errors stringsA list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.--node-name stringSpecify the node name.--tls-bootstrap-token stringSpecify the token used to temporarily authenticate with the Kubernetes Control Plane while joining the node.--token stringUse this token for both discovery-token and tls-bootstrap-token when those values are not provided.Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the pr",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_qa_8027"
  },
  {
    "question": "How does kubeadm join phase work?",
    "answer": "kubeadm join phasekubeadm join phase enables you to invoke atomic steps of the join process. Hence, you can let kubeadm do some of the work and you can fill in the gaps if you wish to apply customization.kubeadm join phase is consistent with the kubeadm join workflow, and behind the scene both use the same code.kubeadm join phaseSynopsisUse this command to invoke single phase of the \"join\" workflowkubeadm join phase [flags] Options-h, --helphelp for phaseOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm join phase preflightUsing this phase you can execute preflight checks on a joining node.Run join pre-flight checksSynopsisRun pre-flight checks for kubeadm join.kubeadm join phase preflight [api-server-endpoint] [flags] Examples # Run join pre-flight checks using a config file. kubeadm join phase preflight --config kubeadm-config.yaml Options--apiserver-advertise-address stringIf the node should host a new control plane instance, the IP address the API Server will advertise it's listening on. If not set the default network interface will be used.--apiserver-bind-port int32 Default: 6443If the node should host a new control plane instance, the port for the API Server to bind to.--certificate-key stringUse this key to decrypt the certificate secrets uploaded by init. The certificate key is a hex encoded string that is an AES key of size 32 bytes.--config stringPath to a kubeadm configuration file.--control-planeCreate a new control plane instance on this node--cri-socket stringPath to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.--discovery-file stringFor file-based discovery, a file or URL from which to load cluster information.--discovery-token stringFor token-based discovery, the token used to validate cluster information fetched from the API server.--discovery-token-ca-cert-hash stringsFor token-based discovery, validate that the root CA public key matches this hash (format: \"<type>:<value>\").--discovery-token-unsafe-skip-ca-verificationFor token-based discovery, allow joining without --discovery-token-ca-cert-hash pinning.--dry-runDon't apply any changes; just output what would be done.-h, --helphelp for preflight--ignore-preflight-errors stringsA list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.--node-name stringSpecify the node name.--tls-bootstrap-token stringSpecify the token used to temporarily authenticate with the Kubernetes Control Plane while joining the node.--token stringUse this token for both discovery-token and tls-bootstrap-token when those values are not provided.Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the pr",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_qa_8028"
  },
  {
    "question": "When would you use kubeadm join phase?",
    "answer": "kubeadm join phasekubeadm join phase enables you to invoke atomic steps of the join process. Hence, you can let kubeadm do some of the work and you can fill in the gaps if you wish to apply customization.kubeadm join phase is consistent with the kubeadm join workflow, and behind the scene both use the same code.kubeadm join phaseSynopsisUse this command to invoke single phase of the \"join\" workflowkubeadm join phase [flags] Options-h, --helphelp for phaseOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm join phase preflightUsing this phase you can execute preflight checks on a joining node.Run join pre-flight checksSynopsisRun pre-flight checks for kubeadm join.kubeadm join phase preflight [api-server-endpoint] [flags] Examples # Run join pre-flight checks using a config file. kubeadm join phase preflight --config kubeadm-config.yaml Options--apiserver-advertise-address stringIf the node should host a new control plane instance, the IP address the API Server will advertise it's listening on. If not set the default network interface will be used.--apiserver-bind-port int32 Default: 6443If the node should host a new control plane instance, the port for the API Server to bind to.--certificate-key stringUse this key to decrypt the certificate secrets uploaded by init. The certificate key is a hex encoded string that is an AES key of size 32 bytes.--config stringPath to a kubeadm configuration file.--control-planeCreate a new control plane instance on this node--cri-socket stringPath to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.--discovery-file stringFor file-based discovery, a file or URL from which to load cluster information.--discovery-token stringFor token-based discovery, the token used to validate cluster information fetched from the API server.--discovery-token-ca-cert-hash stringsFor token-based discovery, validate that the root CA public key matches this hash (format: \"<type>:<value>\").--discovery-token-unsafe-skip-ca-verificationFor token-based discovery, allow joining without --discovery-token-ca-cert-hash pinning.--dry-runDon't apply any changes; just output what would be done.-h, --helphelp for preflight--ignore-preflight-errors stringsA list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.--node-name stringSpecify the node name.--tls-bootstrap-token stringSpecify the token used to temporarily authenticate with the Kubernetes Control Plane while joining the node.--token stringUse this token for both discovery-token and tls-bootstrap-token when those values are not provided.Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the pr",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_qa_8029"
  },
  {
    "question": "What are the benefits of kubeadm join phase?",
    "answer": "kubeadm join phasekubeadm join phase enables you to invoke atomic steps of the join process. Hence, you can let kubeadm do some of the work and you can fill in the gaps if you wish to apply customization.kubeadm join phase is consistent with the kubeadm join workflow, and behind the scene both use the same code.kubeadm join phaseSynopsisUse this command to invoke single phase of the \"join\" workflowkubeadm join phase [flags] Options-h, --helphelp for phaseOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm join phase preflightUsing this phase you can execute preflight checks on a joining node.Run join pre-flight checksSynopsisRun pre-flight checks for kubeadm join.kubeadm join phase preflight [api-server-endpoint] [flags] Examples # Run join pre-flight checks using a config file. kubeadm join phase preflight --config kubeadm-config.yaml Options--apiserver-advertise-address stringIf the node should host a new control plane instance, the IP address the API Server will advertise it's listening on. If not set the default network interface will be used.--apiserver-bind-port int32 Default: 6443If the node should host a new control plane instance, the port for the API Server to bind to.--certificate-key stringUse this key to decrypt the certificate secrets uploaded by init. The certificate key is a hex encoded string that is an AES key of size 32 bytes.--config stringPath to a kubeadm configuration file.--control-planeCreate a new control plane instance on this node--cri-socket stringPath to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.--discovery-file stringFor file-based discovery, a file or URL from which to load cluster information.--discovery-token stringFor token-based discovery, the token used to validate cluster information fetched from the API server.--discovery-token-ca-cert-hash stringsFor token-based discovery, validate that the root CA public key matches this hash (format: \"<type>:<value>\").--discovery-token-unsafe-skip-ca-verificationFor token-based discovery, allow joining without --discovery-token-ca-cert-hash pinning.--dry-runDon't apply any changes; just output what would be done.-h, --helphelp for preflight--ignore-preflight-errors stringsA list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.--node-name stringSpecify the node name.--tls-bootstrap-token stringSpecify the token used to temporarily authenticate with the Kubernetes Control Plane while joining the node.--token stringUse this token for both discovery-token and tls-bootstrap-token when those values are not provided.Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the pr",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_qa_8030"
  },
  {
    "question": "What is kubeadm join phase?",
    "answer": "k u b e a d m   j o i n   p h a s e   e n a b l e s   y o u   t o   i n v o k e   a t o m i c   s t e p s   o f   t h e   j o i n   p r o c e s s .   H e n c e ,   y o u   c a n   l e t   k u b e a d m   d o   s o m e   o f   t h e   w o r k   a n d   y o u   c a n   f i l l   i n   t h e   g a p s   i f   y o u   w i s h   t o   a p p l y   c u s t o m i z a t i o n .   k u b e a d m   j o i n   p h a s e   i s   c o n s i s t e n t   w i t h   t h e   k u b e a d m   j o i n   w o r k f l o w ,   a n d   b e h i n d   t h e   s c e n e   b o t h   u s e   t h e   s a m e   c o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_1_8031"
  },
  {
    "question": "What is kubeadm join phase?",
    "answer": "S y n o p s i s U s e   t h i s   c o m m a n d   t o   i n v o k e   s i n g l e   p h a s e   o f   t h e   \" j o i n \"   w o r k f l o w k u b e a d m   j o i n   p h a s e   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   p h a s e O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_2_8032"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U s e   t h i s   c o m m a n d   t o   i n v o k e   s i n g l e   p h a s e   o f   t h e   \" j o i n \"   w o r k f l o w   k u b e a d m   j o i n   p h a s e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8033"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   p h a s e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8034"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8035"
  },
  {
    "question": "What is kubeadm join phase preflight?",
    "answer": "U s i n g   t h i s   p h a s e   y o u   c a n   e x e c u t e   p r e f l i g h t   c h e c k s   o n   a   j o i n i n g   n o d e .   R u n   j o i n   p r e - f l i g h t   c h e c k s S y n o p s i s R u n   p r e - f l i g h t   c h e c k s   f o r   k u b e a d m   j o i n . k u b e a d m   j o i n   p h a s e   p r e f l i g h t   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]   E x a m p l e s   #   R u n   j o i n   p r e - f l i g h t   c h e c k s   u s i n g   a   c o n f i g   f i l e .   k u b e a d m   j o i n   p h a s e   p r e f l i g h t   - - c o n f i g   k u b e a d m - c o n f i g . y a m l   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - b i n d - p o r t   i n t 3 2   D e f a u l t :   6 4 4 3 I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   p o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o . - - c e r t i f i c a t e - k e y   s t r i n g U s e   t h i s   k e y   t o   d e c r y p t   t h e   c e r t i f i c a t e   s e c r e t s   u p l o a d e d   b y   i n i t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e - - c r i - s o c k e t   s t r i n g P a t h   t o   t h e   C R I   s o c k e t   t o   c o n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_2_8036"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   p r e - f l i g h t   c h e c k s   f o r   k u b e a d m   j o i n .   k u b e a d m   j o i n   p h a s e   p r e f l i g h t   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8037"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R u n   j o i n   p r e - f l i g h t   c h e c k s   u s i n g   a   c o n f i g   f i l e .   k u b e a d m   j o i n   p h a s e   p r e f l i g h t   - - c o n f i g   k u b e a d m - c o n f i g . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8038"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   p o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   U s e   t h i s   k e y   t o   d e c r y p t   t h e   c e r t i f i c a t e   s e c r e t s   u p l o a d e d   b y   i n i t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) .   F o r   t o k e n - b a s e d   d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8039"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8040"
  },
  {
    "question": "What is kubeadm join phase control-plane-prepare?",
    "answer": "U s i n g   t h i s   p h a s e   y o u   c a n   p r e p a r e   a   n o d e   f o r   s e r v i n g   a   c o n t r o l - p l a n e .   S y n o p s i s P r e p a r e   t h e   m a c h i n e   f o r   s e r v i n g   a   c o n t r o l   p l a n e k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   [ f l a g s ]   E x a m p l e s   #   P r e p a r e s   t h e   m a c h i n e   f o r   s e r v i n g   a   c o n t r o l   p l a n e   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   a l l   O p t i o n s - h ,   - - h e l p h e l p   f o r   c o n t r o l - p l a n e - p r e p a r e O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_2_8041"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r e p a r e   t h e   m a c h i n e   f o r   s e r v i n g   a   c o n t r o l   p l a n e   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8042"
  },
  {
    "question": "What is Examples?",
    "answer": "#   P r e p a r e s   t h e   m a c h i n e   f o r   s e r v i n g   a   c o n t r o l   p l a n e   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   a l l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8043"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c o n t r o l - p l a n e - p r e p a r e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8044"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s P r e p a r e   t h e   m a c h i n e   f o r   s e r v i n g   a   c o n t r o l   p l a n e k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   a l l   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - b i n d - p o r t   i n t 3 2   D e f a u l t :   6 4 4 3 I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   p o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o . - - c e r t i f i c a t e - k e y   s t r i n g U s e   t h i s   k e y   t o   d e c r y p t   t h e   c e r t i f i c a t e   s e c r e t s   u p l o a d e d   b y   i n i t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e - - d i s c o v e r y - f i l e   s t r i n g F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n . - - d i s c o v e r y - t o k e n   s t r i n g F o r   t o k ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8045"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r e p a r e   t h e   m a c h i n e   f o r   s e r v i n g   a   c o n t r o l   p l a n e   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   a l l   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8046"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   p o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   U s e   t h i s   k e y   t o   d e c r y p t   t h e   c e r t i f i c a t e   s e c r e t s   u p l o a d e d   b y   i n i t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   a l l o w   j o i n i n g   w i t h o u t   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   p i n n i n g .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a l l   S p e c i f y   t h e   n o d e   n a m e .   P a t h   t o   a   d i r e c t o r y   t h a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8047"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s D o w n l o a d   c e r t i f i c a t e s   s h a r e d   a m o n g   c o n t r o l - p l a n e   n o d e s   f r o m   t h e   k u b e a d m - c e r t s   S e c r e t k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   d o w n l o a d - c e r t s   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]   O p t i o n s - - c e r t i f i c a t e - k e y   s t r i n g U s e   t h i s   k e y   t o   d e c r y p t   t h e   c e r t i f i c a t e   s e c r e t s   u p l o a d e d   b y   i n i t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e - - d i s c o v e r y - f i l e   s t r i n g F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n . - - d i s c o v e r y - t o k e n   s t r i n g F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r . - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   s t r i n g s F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) . - - d i s c o v e r y - t o k e n - u n s a f e - s k i p - c a - v e r i f i c a t i o n F o r   t o k ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8048"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D o w n l o a d   c e r t i f i c a t e s   s h a r e d   a m o n g   c o n t r o l - p l a n e   n o d e s   f r o m   t h e   k u b e a d m - c e r t s   S e c r e t   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   d o w n l o a d - c e r t s   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8049"
  },
  {
    "question": "What is Options?",
    "answer": "U s e   t h i s   k e y   t o   d e c r y p t   t h e   c e r t i f i c a t e   s e c r e t s   u p l o a d e d   b y   i n i t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   a l l o w   j o i n i n g   w i t h o u t   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   p i n n i n g .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   d o w n l o a d - c e r t s   S p e c i f y   t h e   t o k e n   u s e d   t o   t e m p o r a r i l y   a u t h e n t i c a t e   w i t h   t h e   K u b e r n e t e s   C o n t r o l   P l a n e   w h i l e   j o i n i n g   t h e   n o d e .   U s e   t h i s   t o k e n   f o r   b o t h   d i s c o v e r y - t o k e n   a n d   t l s - b o o t s t r a p - t o k e n   w h e n   t h o s e   v a l u e s   a r e   n o t   p r o v i d e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8050"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   c e r t i f i c a t e s   f o r   t h e   n e w   c o n t r o l   p l a n e   c o m p o n e n t s k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   c e r t s   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e - - d i s c o v e r y - f i l e   s t r i n g F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n . - - d i s c o v e r y - t o k e n   s t r i n g F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r . - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   s t r i n g s F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) . - - d i s c o v e r y - t o k e n - u n s a f e - s k i p - c a - v e r i f i c a t i o n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8051"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   c e r t i f i c a t e s   f o r   t h e   n e w   c o n t r o l   p l a n e   c o m p o n e n t s   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   c e r t s   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8052"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   a l l o w   j o i n i n g   w i t h o u t   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   p i n n i n g .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   c e r t s   S p e c i f y   t h e   n o d e   n a m e .   S p e c i f y   t h e   t o k e n   u s e d   t o   t e m p o r a r i l y   a u t h e n t i c a t e   w i t h   t h e   K u b e r n e t e s   C o n t r o l   P l a n e   w h i l e   j o i n i n g   t h e   n o d e .   U s e   t h i s   t o k e n   f o r   b o t h   d i s c o v e r y - t o k e n   a n d   t l s - b o o t s t r a p - t o k e n   w h e n   t h o s e   v a l u e s   a r e   n o t   p r o v i d e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8053"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   k u b e c o n f i g   f o r   t h e   n e w   c o n t r o l   p l a n e   c o m p o n e n t s k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   k u b e c o n f i g   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]   O p t i o n s - - c e r t i f i c a t e - k e y   s t r i n g U s e   t h i s   k e y   t o   d e c r y p t   t h e   c e r t i f i c a t e   s e c r e t s   u p l o a d e d   b y   i n i t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e - - d i s c o v e r y - f i l e   s t r i n g F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n . - - d i s c o v e r y - t o k e n   s t r i n g F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r . - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   s t r i n g s F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) . - - d i s c o v e r y - t o k e n - u n s a f e - s k i p - c a - v e r i f i c a t i o n F o r   t o k e n - b a s e d   d i s c o v e r y ,   a l l o w   j o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8054"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   k u b e c o n f i g   f o r   t h e   n e w   c o n t r o l   p l a n e   c o m p o n e n t s   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   k u b e c o n f i g   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8055"
  },
  {
    "question": "What is Options?",
    "answer": "U s e   t h i s   k e y   t o   d e c r y p t   t h e   c e r t i f i c a t e   s e c r e t s   u p l o a d e d   b y   i n i t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   a l l o w   j o i n i n g   w i t h o u t   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   p i n n i n g .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   k u b e c o n f i g   S p e c i f y   t h e   t o k e n   u s e d   t o   t e m p o r a r i l y   a u t h e n t i c a t e   w i t h   t h e   K u b e r n e t e s   C o n t r o l   P l a n e   w h i l e   j o i n i n g   t h e   n o d e .   U s e   t h i s   t o k e n   f o r   b o t h   d i s c o v e r y - t o k e n   a n d   t l s - b o o t s t r a p - t o k e n   w h e n   t h o s e   v a l u e s   a r e   n o t   p r o v i d e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8056"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   m a n i f e s t s   f o r   t h e   n e w   c o n t r o l   p l a n e   c o m p o n e n t s k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   c o n t r o l - p l a n e   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - b i n d - p o r t   i n t 3 2   D e f a u l t :   6 4 4 3 I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   p o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   c o n t r o l - p l a n e - - p a t c h e s   s t r i n g P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8057"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   m a n i f e s t s   f o r   t h e   n e w   c o n t r o l   p l a n e   c o m p o n e n t s   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   c o n t r o l - p l a n e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8058"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   p o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   c o n t r o l - p l a n e   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8059"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8060"
  },
  {
    "question": "What is kubeadm join phase kubelet-start?",
    "answer": "U s i n g   t h i s   p h a s e   y o u   c a n   w r i t e   t h e   k u b e l e t   s e t t i n g s ,   c e r t i f i c a t e s   a n d   ( r e ) s t a r t   t h e   k u b e l e t .   W r i t e   k u b e l e t   s e t t i n g s ,   c e r t i f i c a t e s   a n d   ( r e ) s t a r t   t h e   k u b e l e t S y n o p s i s W r i t e   a   f i l e   w i t h   K u b e l e t C o n f i g u r a t i o n   a n d   a n   e n v i r o n m e n t   f i l e   w i t h   n o d e   s p e c i f i c   k u b e l e t   s e t t i n g s ,   a n d   t h e n   ( r e ) s t a r t   k u b e l e t . k u b e a d m   j o i n   p h a s e   k u b e l e t - s t a r t   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c r i - s o c k e t   s t r i n g P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t . - - d i s c o v e r y - f i l e   s t r i n g F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n . - - d i s c o v e r y - t o k e n   s t r i n g F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r . - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   s t r i n g s F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) . - - d i s c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_2_8061"
  },
  {
    "question": "What is Synopsis?",
    "answer": "W r i t e   a   f i l e   w i t h   K u b e l e t C o n f i g u r a t i o n   a n d   a n   e n v i r o n m e n t   f i l e   w i t h   n o d e   s p e c i f i c   k u b e l e t   s e t t i n g s ,   a n d   t h e n   ( r e ) s t a r t   k u b e l e t .   k u b e a d m   j o i n   p h a s e   k u b e l e t - s t a r t   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8062"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   a l l o w   j o i n i n g   w i t h o u t   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   p i n n i n g .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   k u b e l e t - s t a r t   S p e c i f y   t h e   n o d e   n a m e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8063"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8064"
  },
  {
    "question": "What is kubeadm join phase control-plane-join?",
    "answer": "U s i n g   t h i s   p h a s e   y o u   c a n   j o i n   a   n o d e   a s   a   c o n t r o l - p l a n e   i n s t a n c e .   S y n o p s i s J o i n   a   m a c h i n e   a s   a   c o n t r o l   p l a n e   i n s t a n c e k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - j o i n   [ f l a g s ]   E x a m p l e s   #   J o i n s   a   m a c h i n e   a s   a   c o n t r o l   p l a n e   i n s t a n c e   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - j o i n   a l l   O p t i o n s - h ,   - - h e l p h e l p   f o r   c o n t r o l - p l a n e - j o i n O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_2_8065"
  },
  {
    "question": "What is Synopsis?",
    "answer": "J o i n   a   m a c h i n e   a s   a   c o n t r o l   p l a n e   i n s t a n c e   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - j o i n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8066"
  },
  {
    "question": "What is Examples?",
    "answer": "#   J o i n s   a   m a c h i n e   a s   a   c o n t r o l   p l a n e   i n s t a n c e   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - j o i n   a l l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8067"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c o n t r o l - p l a n e - j o i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8068"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s J o i n   a   m a c h i n e   a s   a   c o n t r o l   p l a n e   i n s t a n c e k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - j o i n   a l l   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   a l l - - n o d e - n a m e   s t r i n g S p e c i f y   t h e   n o d e   n a m e . - - p a t c h e s   s t r i n g P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8069"
  },
  {
    "question": "What is Synopsis?",
    "answer": "J o i n   a   m a c h i n e   a s   a   c o n t r o l   p l a n e   i n s t a n c e   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - j o i n   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8070"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a l l   S p e c i f y   t h e   n o d e   n a m e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8071"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s A d d   a   n e w   l o c a l   e t c d   m e m b e r k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - j o i n   e t c d   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   e t c d - - n o d e - n a m e   s t r i n g S p e c i f y   t h e   n o d e   n a m e . - - p a t c h e s   s t r i n g P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8072"
  },
  {
    "question": "What is Synopsis?",
    "answer": "A d d   a   n e w   l o c a l   e t c d   m e m b e r   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - j o i n   e t c d   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8073"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   e t c d   S p e c i f y   t h e   n o d e   n a m e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8074"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s M a r k   a   n o d e   a s   a   c o n t r o l - p l a n e k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - j o i n   m a r k - c o n t r o l - p l a n e   [ f l a g s ]   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   m a r k - c o n t r o l - p l a n e - - n o d e - n a m e   s t r i n g S p e c i f y   t h e   n o d e   n a m e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8075"
  },
  {
    "question": "What is Synopsis?",
    "answer": "M a r k   a   n o d e   a s   a   c o n t r o l - p l a n e   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - j o i n   m a r k - c o n t r o l - p l a n e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8076"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   m a r k - c o n t r o l - p l a n e   S p e c i f y   t h e   n o d e   n a m e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8077"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_3_8078"
  },
  {
    "question": "What is What's next?",
    "answer": "k u b e a d m   i n i t   t o   b o o t s t r a p   a   K u b e r n e t e s   c o n t r o l - p l a n e   n o d e k u b e a d m   j o i n   t o   c o n n e c t   a   n o d e   t o   t h e   c l u s t e r k u b e a d m   r e s e t   t o   r e v e r t   a n y   c h a n g e s   m a d e   t o   t h i s   h o s t   b y   k u b e a d m   i n i t   o r   k u b e a d m   j o i n k u b e a d m   a l p h a   t o   t r y   e x p e r i m e n t a l   f u n c t i o n a l i t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join-phase/",
    "id": "k8s_00417_section_2_8079"
  },
  {
    "question": "What is Install Tools?",
    "answer": "Install ToolsSet up Kubernetes tools on your computer.kubectlThe Kubernetes command-line tool, kubectl, allows you to run commands against Kubernetes clusters. You can use kubectl to deploy applications, inspect and manage cluster resources, and view logs. For more information including a complete list of kubectl operations, see the kubectl reference documentation.kubectl is installable on a variety of Linux platforms, macOS and Windows. Find your preferred operating system below.Install kubectl on LinuxInstall kubectl on macOSInstall kubectl on Windowskindkind lets you run Kubernetes on your local computer. This tool requires that you have either Docker or Podman installed.The kind Quick Start page shows you what you need to do to get up and running with kind.View kind Quick Start GuideminikubeLike kind, minikube is a tool that lets you run Kubernetes locally. minikube runs an all-in-one or a multi-node local Kubernetes cluster on your personal computer (including Windows, macOS and Linux PCs) so that you can try out Kubernetes, or for daily development work.You can follow the official Get Started! guide if your focus is on getting the tool installed.View minikube Get Started! GuideOnce you have minikube working, you can use it to run a sample application.kubeadmYou can use the kubeadm tool to create and manage Kubernetes clusters. It performs the actions necessary to get a minimum viable, secure cluster up and running in a user friendly way.Installing kubeadm shows you how to install kubeadm. Once installed, you can use it to create a cluster.View kubeadm Install Guide",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/learning-environment/",
    "id": "k8s_00418_qa_8080"
  },
  {
    "question": "How does Install Tools work?",
    "answer": "Install ToolsSet up Kubernetes tools on your computer.kubectlThe Kubernetes command-line tool, kubectl, allows you to run commands against Kubernetes clusters. You can use kubectl to deploy applications, inspect and manage cluster resources, and view logs. For more information including a complete list of kubectl operations, see the kubectl reference documentation.kubectl is installable on a variety of Linux platforms, macOS and Windows. Find your preferred operating system below.Install kubectl on LinuxInstall kubectl on macOSInstall kubectl on Windowskindkind lets you run Kubernetes on your local computer. This tool requires that you have either Docker or Podman installed.The kind Quick Start page shows you what you need to do to get up and running with kind.View kind Quick Start GuideminikubeLike kind, minikube is a tool that lets you run Kubernetes locally. minikube runs an all-in-one or a multi-node local Kubernetes cluster on your personal computer (including Windows, macOS and Linux PCs) so that you can try out Kubernetes, or for daily development work.You can follow the official Get Started! guide if your focus is on getting the tool installed.View minikube Get Started! GuideOnce you have minikube working, you can use it to run a sample application.kubeadmYou can use the kubeadm tool to create and manage Kubernetes clusters. It performs the actions necessary to get a minimum viable, secure cluster up and running in a user friendly way.Installing kubeadm shows you how to install kubeadm. Once installed, you can use it to create a cluster.View kubeadm Install Guide",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/learning-environment/",
    "id": "k8s_00418_qa_8081"
  },
  {
    "question": "When would you use Install Tools?",
    "answer": "Install ToolsSet up Kubernetes tools on your computer.kubectlThe Kubernetes command-line tool, kubectl, allows you to run commands against Kubernetes clusters. You can use kubectl to deploy applications, inspect and manage cluster resources, and view logs. For more information including a complete list of kubectl operations, see the kubectl reference documentation.kubectl is installable on a variety of Linux platforms, macOS and Windows. Find your preferred operating system below.Install kubectl on LinuxInstall kubectl on macOSInstall kubectl on Windowskindkind lets you run Kubernetes on your local computer. This tool requires that you have either Docker or Podman installed.The kind Quick Start page shows you what you need to do to get up and running with kind.View kind Quick Start GuideminikubeLike kind, minikube is a tool that lets you run Kubernetes locally. minikube runs an all-in-one or a multi-node local Kubernetes cluster on your personal computer (including Windows, macOS and Linux PCs) so that you can try out Kubernetes, or for daily development work.You can follow the official Get Started! guide if your focus is on getting the tool installed.View minikube Get Started! GuideOnce you have minikube working, you can use it to run a sample application.kubeadmYou can use the kubeadm tool to create and manage Kubernetes clusters. It performs the actions necessary to get a minimum viable, secure cluster up and running in a user friendly way.Installing kubeadm shows you how to install kubeadm. Once installed, you can use it to create a cluster.View kubeadm Install Guide",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/learning-environment/",
    "id": "k8s_00418_qa_8082"
  },
  {
    "question": "What are the benefits of Install Tools?",
    "answer": "Install ToolsSet up Kubernetes tools on your computer.kubectlThe Kubernetes command-line tool, kubectl, allows you to run commands against Kubernetes clusters. You can use kubectl to deploy applications, inspect and manage cluster resources, and view logs. For more information including a complete list of kubectl operations, see the kubectl reference documentation.kubectl is installable on a variety of Linux platforms, macOS and Windows. Find your preferred operating system below.Install kubectl on LinuxInstall kubectl on macOSInstall kubectl on Windowskindkind lets you run Kubernetes on your local computer. This tool requires that you have either Docker or Podman installed.The kind Quick Start page shows you what you need to do to get up and running with kind.View kind Quick Start GuideminikubeLike kind, minikube is a tool that lets you run Kubernetes locally. minikube runs an all-in-one or a multi-node local Kubernetes cluster on your personal computer (including Windows, macOS and Linux PCs) so that you can try out Kubernetes, or for daily development work.You can follow the official Get Started! guide if your focus is on getting the tool installed.View minikube Get Started! GuideOnce you have minikube working, you can use it to run a sample application.kubeadmYou can use the kubeadm tool to create and manage Kubernetes clusters. It performs the actions necessary to get a minimum viable, secure cluster up and running in a user friendly way.Installing kubeadm shows you how to install kubeadm. Once installed, you can use it to create a cluster.View kubeadm Install Guide",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/learning-environment/",
    "id": "k8s_00418_qa_8083"
  },
  {
    "question": "What is kubectl?",
    "answer": "T h e   K u b e r n e t e s   c o m m a n d - l i n e   t o o l ,   k u b e c t l ,   a l l o w s   y o u   t o   r u n   c o m m a n d s   a g a i n s t   K u b e r n e t e s   c l u s t e r s .   Y o u   c a n   u s e   k u b e c t l   t o   d e p l o y   a p p l i c a t i o n s ,   i n s p e c t   a n d   m a n a g e   c l u s t e r   r e s o u r c e s ,   a n d   v i e w   l o g s .   F o r   m o r e   i n f o r m a t i o n   i n c l u d i n g   a   c o m p l e t e   l i s t   o f   k u b e c t l   o p e r a t i o n s ,   s e e   t h e   k u b e c t l   r e f e r e n c e   d o c u m e n t a t i o n .   k u b e c t l   i s   i n s t a l l a b l e   o n   a   v a r i e t y   o f   L i n u x   p l a t f o r m s ,   m a c O S   a n d   W i n d o w s .   F i n d   y o u r   p r e f e r r e d   o p e r a t i n g   s y s t e m   b e l o w .   I n s t a l l   k u b e c t l   o n   L i n u x I n s t a l l   k u b e c t l   o n   m a c O S I n s t a l l   k u b e c t l   o n   W i n d o w s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/learning-environment/",
    "id": "k8s_00418_section_2_8084"
  },
  {
    "question": "What is kind?",
    "answer": "k i n d   l e t s   y o u   r u n   K u b e r n e t e s   o n   y o u r   l o c a l   c o m p u t e r .   T h i s   t o o l   r e q u i r e s   t h a t   y o u   h a v e   e i t h e r   D o c k e r   o r   P o d m a n   i n s t a l l e d .   T h e   k i n d   Q u i c k   S t a r t   p a g e   s h o w s   y o u   w h a t   y o u   n e e d   t o   d o   t o   g e t   u p   a n d   r u n n i n g   w i t h   k i n d .   V i e w   k i n d   Q u i c k   S t a r t   G u i d e",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/learning-environment/",
    "id": "k8s_00418_section_2_8085"
  },
  {
    "question": "What is minikube?",
    "answer": "L i k e   k i n d ,   m i n i k u b e   i s   a   t o o l   t h a t   l e t s   y o u   r u n   K u b e r n e t e s   l o c a l l y .   m i n i k u b e   r u n s   a n   a l l - i n - o n e   o r   a   m u l t i - n o d e   l o c a l   K u b e r n e t e s   c l u s t e r   o n   y o u r   p e r s o n a l   c o m p u t e r   ( i n c l u d i n g   W i n d o w s ,   m a c O S   a n d   L i n u x   P C s )   s o   t h a t   y o u   c a n   t r y   o u t   K u b e r n e t e s ,   o r   f o r   d a i l y   d e v e l o p m e n t   w o r k .   Y o u   c a n   f o l l o w   t h e   o f f i c i a l   G e t   S t a r t e d !   g u i d e   i f   y o u r   f o c u s   i s   o n   g e t t i n g   t h e   t o o l   i n s t a l l e d .   V i e w   m i n i k u b e   G e t   S t a r t e d !   G u i d e   O n c e   y o u   h a v e   m i n i k u b e   w o r k i n g ,   y o u   c a n   u s e   i t   t o   r u n   a   s a m p l e   a p p l i c a t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/learning-environment/",
    "id": "k8s_00418_section_2_8086"
  },
  {
    "question": "What is kubeadm?",
    "answer": "Y o u   c a n   u s e   t h e   k u b e a d m   t o o l   t o   c r e a t e   a n d   m a n a g e   K u b e r n e t e s   c l u s t e r s .   I t   p e r f o r m s   t h e   a c t i o n s   n e c e s s a r y   t o   g e t   a   m i n i m u m   v i a b l e ,   s e c u r e   c l u s t e r   u p   a n d   r u n n i n g   i n   a   u s e r   f r i e n d l y   w a y .   I n s t a l l i n g   k u b e a d m   s h o w s   y o u   h o w   t o   i n s t a l l   k u b e a d m .   O n c e   i n s t a l l e d ,   y o u   c a n   u s e   i t   t o   c r e a t e   a   c l u s t e r .   V i e w   k u b e a d m   I n s t a l l   G u i d e",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/learning-environment/",
    "id": "k8s_00418_section_2_8087"
  },
  {
    "question": "What is kube-controller-manager Configuration (v1alpha1)?",
    "answer": "kube-controller-manager Configuration (v1alpha1)Resource TypesCloudControllerManagerConfigurationLeaderMigrationConfigurationKubeControllerManagerConfigurationClientConnectionConfigurationAppears in:KubeSchedulerConfigurationGenericControllerManagerConfigurationClientConnectionConfiguration contains details for constructing a client.FieldDescriptionkubeconfig [Required]stringkubeconfig is the path to a KubeConfig file.acceptContentTypes [Required]stringacceptContentTypes defines the Accept header sent by clients when connecting to a server, overriding the default value of 'application/json'. This field will control all connections to the server used by a particular client.contentType [Required]stringcontentType is the content type used when sending data to the server from this client.qps [Required]float32qps controls the number of queries per second allowed for this connection.burst [Required]int32burst allows extra queries to accumulate when a client is exceeding its rate.DebuggingConfigurationAppears in:KubeSchedulerConfigurationGenericControllerManagerConfigurationDebuggingConfiguration holds configuration for Debugging related features.FieldDescriptionenableProfiling [Required]boolenableProfiling enables profiling via web interface host:port/debug/pprof/enableContentionProfiling [Required]boolenableContentionProfiling enables block profiling, if enableProfiling is true.LeaderElectionConfigurationAppears in:KubeSchedulerConfigurationGenericControllerManagerConfigurationLeaderElectionConfiguration defines the configuration of leader election clients for components that can run with leader election enabled.FieldDescriptionleaderElect [Required]boolleaderElect enables a leader election client to gain leadership before executing the main loop. Enable this when running replicated components for high availability.leaseDuration [Required]meta/v1.DurationleaseDuration is the duration that non-leader candidates will wait after observing a leadership renewal until attempting to acquire leadership of a led but unrenewed leader slot. This is effectively the maximum duration that a leader can be stopped before it is replaced by another candidate. This is only applicable if leader election is enabled.renewDeadline [Required]meta/v1.DurationrenewDeadline is the interval between attempts by the acting master to renew a leadership slot before it stops leading. This must be less than or equal to the lease duration. This is only applicable if leader election is enabled.retryPeriod [Required]meta/v1.DurationretryPeriod is the duration the clients should wait between attempting acquisition and renewal of a leadership. This is only applicable if leader election is enabled.resourceLock [Required]stringresourceLock indicates the resource object type that will be used to lock during leader election cycles.resourceName [Required]stringresourceName indicates the name of resource object that will be used to lock during leader election cycles.resourceNamespace [Required]s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_qa_8088"
  },
  {
    "question": "How does kube-controller-manager Configuration (v1alpha1) work?",
    "answer": "kube-controller-manager Configuration (v1alpha1)Resource TypesCloudControllerManagerConfigurationLeaderMigrationConfigurationKubeControllerManagerConfigurationClientConnectionConfigurationAppears in:KubeSchedulerConfigurationGenericControllerManagerConfigurationClientConnectionConfiguration contains details for constructing a client.FieldDescriptionkubeconfig [Required]stringkubeconfig is the path to a KubeConfig file.acceptContentTypes [Required]stringacceptContentTypes defines the Accept header sent by clients when connecting to a server, overriding the default value of 'application/json'. This field will control all connections to the server used by a particular client.contentType [Required]stringcontentType is the content type used when sending data to the server from this client.qps [Required]float32qps controls the number of queries per second allowed for this connection.burst [Required]int32burst allows extra queries to accumulate when a client is exceeding its rate.DebuggingConfigurationAppears in:KubeSchedulerConfigurationGenericControllerManagerConfigurationDebuggingConfiguration holds configuration for Debugging related features.FieldDescriptionenableProfiling [Required]boolenableProfiling enables profiling via web interface host:port/debug/pprof/enableContentionProfiling [Required]boolenableContentionProfiling enables block profiling, if enableProfiling is true.LeaderElectionConfigurationAppears in:KubeSchedulerConfigurationGenericControllerManagerConfigurationLeaderElectionConfiguration defines the configuration of leader election clients for components that can run with leader election enabled.FieldDescriptionleaderElect [Required]boolleaderElect enables a leader election client to gain leadership before executing the main loop. Enable this when running replicated components for high availability.leaseDuration [Required]meta/v1.DurationleaseDuration is the duration that non-leader candidates will wait after observing a leadership renewal until attempting to acquire leadership of a led but unrenewed leader slot. This is effectively the maximum duration that a leader can be stopped before it is replaced by another candidate. This is only applicable if leader election is enabled.renewDeadline [Required]meta/v1.DurationrenewDeadline is the interval between attempts by the acting master to renew a leadership slot before it stops leading. This must be less than or equal to the lease duration. This is only applicable if leader election is enabled.retryPeriod [Required]meta/v1.DurationretryPeriod is the duration the clients should wait between attempting acquisition and renewal of a leadership. This is only applicable if leader election is enabled.resourceLock [Required]stringresourceLock indicates the resource object type that will be used to lock during leader election cycles.resourceName [Required]stringresourceName indicates the name of resource object that will be used to lock during leader election cycles.resourceNamespace [Required]s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_qa_8089"
  },
  {
    "question": "When would you use kube-controller-manager Configuration (v1alpha1)?",
    "answer": "kube-controller-manager Configuration (v1alpha1)Resource TypesCloudControllerManagerConfigurationLeaderMigrationConfigurationKubeControllerManagerConfigurationClientConnectionConfigurationAppears in:KubeSchedulerConfigurationGenericControllerManagerConfigurationClientConnectionConfiguration contains details for constructing a client.FieldDescriptionkubeconfig [Required]stringkubeconfig is the path to a KubeConfig file.acceptContentTypes [Required]stringacceptContentTypes defines the Accept header sent by clients when connecting to a server, overriding the default value of 'application/json'. This field will control all connections to the server used by a particular client.contentType [Required]stringcontentType is the content type used when sending data to the server from this client.qps [Required]float32qps controls the number of queries per second allowed for this connection.burst [Required]int32burst allows extra queries to accumulate when a client is exceeding its rate.DebuggingConfigurationAppears in:KubeSchedulerConfigurationGenericControllerManagerConfigurationDebuggingConfiguration holds configuration for Debugging related features.FieldDescriptionenableProfiling [Required]boolenableProfiling enables profiling via web interface host:port/debug/pprof/enableContentionProfiling [Required]boolenableContentionProfiling enables block profiling, if enableProfiling is true.LeaderElectionConfigurationAppears in:KubeSchedulerConfigurationGenericControllerManagerConfigurationLeaderElectionConfiguration defines the configuration of leader election clients for components that can run with leader election enabled.FieldDescriptionleaderElect [Required]boolleaderElect enables a leader election client to gain leadership before executing the main loop. Enable this when running replicated components for high availability.leaseDuration [Required]meta/v1.DurationleaseDuration is the duration that non-leader candidates will wait after observing a leadership renewal until attempting to acquire leadership of a led but unrenewed leader slot. This is effectively the maximum duration that a leader can be stopped before it is replaced by another candidate. This is only applicable if leader election is enabled.renewDeadline [Required]meta/v1.DurationrenewDeadline is the interval between attempts by the acting master to renew a leadership slot before it stops leading. This must be less than or equal to the lease duration. This is only applicable if leader election is enabled.retryPeriod [Required]meta/v1.DurationretryPeriod is the duration the clients should wait between attempting acquisition and renewal of a leadership. This is only applicable if leader election is enabled.resourceLock [Required]stringresourceLock indicates the resource object type that will be used to lock during leader election cycles.resourceName [Required]stringresourceName indicates the name of resource object that will be used to lock during leader election cycles.resourceNamespace [Required]s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_qa_8090"
  },
  {
    "question": "What are the benefits of kube-controller-manager Configuration (v1alpha1)?",
    "answer": "kube-controller-manager Configuration (v1alpha1)Resource TypesCloudControllerManagerConfigurationLeaderMigrationConfigurationKubeControllerManagerConfigurationClientConnectionConfigurationAppears in:KubeSchedulerConfigurationGenericControllerManagerConfigurationClientConnectionConfiguration contains details for constructing a client.FieldDescriptionkubeconfig [Required]stringkubeconfig is the path to a KubeConfig file.acceptContentTypes [Required]stringacceptContentTypes defines the Accept header sent by clients when connecting to a server, overriding the default value of 'application/json'. This field will control all connections to the server used by a particular client.contentType [Required]stringcontentType is the content type used when sending data to the server from this client.qps [Required]float32qps controls the number of queries per second allowed for this connection.burst [Required]int32burst allows extra queries to accumulate when a client is exceeding its rate.DebuggingConfigurationAppears in:KubeSchedulerConfigurationGenericControllerManagerConfigurationDebuggingConfiguration holds configuration for Debugging related features.FieldDescriptionenableProfiling [Required]boolenableProfiling enables profiling via web interface host:port/debug/pprof/enableContentionProfiling [Required]boolenableContentionProfiling enables block profiling, if enableProfiling is true.LeaderElectionConfigurationAppears in:KubeSchedulerConfigurationGenericControllerManagerConfigurationLeaderElectionConfiguration defines the configuration of leader election clients for components that can run with leader election enabled.FieldDescriptionleaderElect [Required]boolleaderElect enables a leader election client to gain leadership before executing the main loop. Enable this when running replicated components for high availability.leaseDuration [Required]meta/v1.DurationleaseDuration is the duration that non-leader candidates will wait after observing a leadership renewal until attempting to acquire leadership of a led but unrenewed leader slot. This is effectively the maximum duration that a leader can be stopped before it is replaced by another candidate. This is only applicable if leader election is enabled.renewDeadline [Required]meta/v1.DurationrenewDeadline is the interval between attempts by the acting master to renew a leadership slot before it stops leading. This must be less than or equal to the lease duration. This is only applicable if leader election is enabled.retryPeriod [Required]meta/v1.DurationretryPeriod is the duration the clients should wait between attempting acquisition and renewal of a leadership. This is only applicable if leader election is enabled.resourceLock [Required]stringresourceLock indicates the resource object type that will be used to lock during leader election cycles.resourceName [Required]stringresourceName indicates the name of resource object that will be used to lock during leader election cycles.resourceNamespace [Required]s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_qa_8091"
  },
  {
    "question": "What is Resource Types?",
    "answer": "C l o u d C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n L e a d e r M i g r a t i o n C o n f i g u r a t i o n K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8092"
  },
  {
    "question": "What is ClientConnectionConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e S c h e d u l e r C o n f i g u r a t i o n G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   K u b e S c h e d u l e r C o n f i g u r a t i o n   G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   C l i e n t C o n n e c t i o n C o n f i g u r a t i o n   c o n t a i n s   d e t a i l s   f o r   c o n s t r u c t i n g   a   c l i e n t .   k u b e c o n f i g   i s   t h e   p a t h   t o   a   K u b e C o n f i g   f i l e .   a c c e p t C o n t e n t T y p e s   d e f i n e s   t h e   A c c e p t   h e a d e r   s e n t   b y   c l i e n t s   w h e n   c o n n e c t i n g   t o   a   s e r v e r ,   o v e r r i d i n g   t h e   d e f a u l t   v a l u e   o f   ' a p p l i c a t i o n / j s o n ' .   T h i s   f i e l d   w i l l   c o n t r o l   a l l   c o n n e c t i o n s   t o   t h e   s e r v e r   u s e d   b y   a   p a r t i c u l a r   c l i e n t .   c o n t e n t T y p e   i s   t h e   c o n t e n t   t y p e   u s e d   w h e n   s e n d i n g   d a t a   t o   t h e   s e r v e r   f r o m   t h i s   c l i e n t .   q p s   c o n t r o l s   t h e   n u m b e r   o f   q u e r i e s   p e r   s e c o n d   a l l o w e d   f o r   t h i s   c o n n e c t i o n .   b u r s t   a l l o w s   e x t r a   q u e r i e s   t o   a c c u m u l a t e   w h e n   a   c l i e n t   i s   e x c e e d i n g   i t s   r a t e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8093"
  },
  {
    "question": "What is DebuggingConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e S c h e d u l e r C o n f i g u r a t i o n G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   K u b e S c h e d u l e r C o n f i g u r a t i o n   G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   D e b u g g i n g C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   D e b u g g i n g   r e l a t e d   f e a t u r e s .   e n a b l e P r o f i l i n g   e n a b l e s   p r o f i l i n g   v i a   w e b   i n t e r f a c e   h o s t : p o r t / d e b u g / p p r o f /   e n a b l e C o n t e n t i o n P r o f i l i n g   e n a b l e s   b l o c k   p r o f i l i n g ,   i f   e n a b l e P r o f i l i n g   i s   t r u e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8094"
  },
  {
    "question": "What is LeaderElectionConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e S c h e d u l e r C o n f i g u r a t i o n G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   K u b e S c h e d u l e r C o n f i g u r a t i o n   G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   L e a d e r E l e c t i o n C o n f i g u r a t i o n   d e f i n e s   t h e   c o n f i g u r a t i o n   o f   l e a d e r   e l e c t i o n   c l i e n t s   f o r   c o m p o n e n t s   t h a t   c a n   r u n   w i t h   l e a d e r   e l e c t i o n   e n a b l e d .   l e a d e r E l e c t   e n a b l e s   a   l e a d e r   e l e c t i o n   c l i e n t   t o   g a i n   l e a d e r s h i p   b e f o r e   e x e c u t i n g   t h e   m a i n   l o o p .   E n a b l e   t h i s   w h e n   r u n n i n g   r e p l i c a t e d   c o m p o n e n t s   f o r   h i g h   a v a i l a b i l i t y .   l e a s e D u r a t i o n   i s   t h e   d u r a t i o n   t h a t   n o n - l e a d e r   c a n d i d a t e s   w i l l   w a i t   a f t e r   o b s e r v i n g   a   l e a d e r s h i p   r e n e w a l   u n t i l   a t t e m p t i n g   t o   a c q u i r e   l e a d e r s h i p   o f   a   l e d   b u t   u n r e n e w e d   l e a d e r   s l o t .   T h i s   i s   e f f e c t i v e l y   t h e   m a x i m u m   d u r a t i o n   t h a t   a   l e a d e r   c a n   b e   s t o p p e d   b e f o r e   i t   i s   r e p l a c e d   b y   a n o t h e r   c a n d i d a t e .   T h i s   i s   o n l y   a p p l i c a b l e   i f   l e a d e r   e l e c t i o n   i s   e n a b l e d .   r e n e w D e a d l i n e   i s   t h e   i n t e r v a l   b e t w e e n   a t t e m p t s   b y   t h e   a c t i n g   m a s t e r   t o   r e n e w   a   l e a d e r s h i p   s l o t   b e f o r e   i t   s t o p s   l e a d i n g .   T h i s   m u s t   b e   l e s s   t h a n   o r   e q u a l   t o   t h e   l e a s e   d u r a t i o n .   T h i s   i s   o n l y   a p p l i c a b l e   i f   l e a d ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8095"
  },
  {
    "question": "What is NodeControllerConfiguration?",
    "answer": "A p p e a r s   i n :   C l o u d C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   N o d e C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   N o d e C o n t r o l l e r .   C o n c u r r e n t N o d e S y n c s   i s   t h e   n u m b e r   o f   w o r k e r s   c o n c u r r e n t l y   s y n c h r o n i z i n g   n o d e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8096"
  },
  {
    "question": "What is ServiceControllerConfiguration?",
    "answer": "A p p e a r s   i n :   C l o u d C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   C l o u d C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   S e r v i c e C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   S e r v i c e C o n t r o l l e r .   c o n c u r r e n t S e r v i c e S y n c s   i s   t h e   n u m b e r   o f   s e r v i c e s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   m o r e   r e s p o n s i v e   s e r v i c e   m a n a g e m e n t ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8097"
  },
  {
    "question": "What is CloudControllerManagerConfiguration?",
    "answer": "C l o u d C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   c l o u d - c o n t r o l l e r   m a n a g e r .   G e n e r i c   h o l d s   c o n f i g u r a t i o n   f o r   a   g e n e r i c   c o n t r o l l e r - m a n a g e r   K u b e C l o u d S h a r e d C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   s h a r e d   r e l a t e d   f e a t u r e s   b o t h   i n   c l o u d   c o n t r o l l e r   m a n a g e r   a n d   k u b e - c o n t r o l l e r   m a n a g e r .   N o d e C o n t r o l l e r   h o l d s   c o n f i g u r a t i o n   f o r   n o d e   c o n t r o l l e r   r e l a t e d   f e a t u r e s .   S e r v i c e C o n t r o l l e r C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   S e r v i c e C o n t r o l l e r   r e l a t e d   f e a t u r e s .   N o d e S t a t u s U p d a t e F r e q u e n c y   i s   t h e   f r e q u e n c y   a t   w h i c h   t h e   c o n t r o l l e r   u p d a t e s   n o d e s '   s t a t u s   W e b h o o k   i s   t h e   c o n f i g u r a t i o n   f o r   c l o u d - c o n t r o l l e r - m a n a g e r   h o s t e d   w e b h o o k s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8098"
  },
  {
    "question": "What is CloudProviderConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C l o u d S h a r e d C o n f i g u r a t i o n   C l o u d P r o v i d e r C o n f i g u r a t i o n   c o n t a i n s   b a s i c a l l y   e l e m e n t s   a b o u t   c l o u d   p r o v i d e r .   N a m e   i s   t h e   p r o v i d e r   f o r   c l o u d   s e r v i c e s .   c l o u d C o n f i g F i l e   i s   t h e   p a t h   t o   t h e   c l o u d   p r o v i d e r   c o n f i g u r a t i o n   f i l e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8099"
  },
  {
    "question": "What is KubeCloudSharedConfiguration?",
    "answer": "A p p e a r s   i n :   C l o u d C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   C l o u d C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   K u b e C l o u d S h a r e d C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   s h a r e d   b y   b o t h   k u b e - c o n t r o l l e r   m a n a g e r   a n d   c l o u d - c o n t r o l l e r   m a n a g e r ,   b u t   n o t   g e n e r i c c o n f i g .   C l o u d P r o v i d e r C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   C l o u d P r o v i d e r   r e l a t e d   f e a t u r e s .   e x t e r n a l C l o u d V o l u m e P l u g i n   s p e c i f i e s   t h e   p l u g i n   t o   u s e   w h e n   c l o u d P r o v i d e r   i s   \" e x t e r n a l \" .   I t   i s   c u r r e n t l y   u s e d   b y   t h e   i n   r e p o   c l o u d   p r o v i d e r s   t o   h a n d l e   n o d e   a n d   v o l u m e   c o n t r o l   i n   t h e   K C M .   u s e S e r v i c e A c c o u n t C r e d e n t i a l s   i n d i c a t e s   w h e t h e r   c o n t r o l l e r s   s h o u l d   b e   r u n   w i t h   i n d i v i d u a l   s e r v i c e   a c c o u n t   c r e d e n t i a l s .   r u n   w i t h   u n t a g g e d   c l o u d   i n s t a n c e s   r o u t e R e c o n c i l i a t i o n P e r i o d   i s   t h e   p e r i o d   f o r   r e c o n c i l i n g   r o u t e s   c r e a t e d   f o r   N o d e s   b y   c l o u d   p r o v i d e r . .   n o d e M o n i t o r P e r i o d   i s   t h e   p e r i o d   f o r   s y n c i n g   N o d e S t a t u s   i n   N o d e C o n t r o l l e r .   c l u s t e r N a m e   i s   t h e   i n s t a n c e   p r e f i x   f o r   t h e   c l u s t e r .   c l u s t e r C I D R   i s   C I D R   R a n g e   f o r   P o d s   i n   c l u s t e r .   A l l o c a t e N o d e C ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8100"
  },
  {
    "question": "What is WebhookConfiguration?",
    "answer": "A p p e a r s   i n :   C l o u d C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   W e b h o o k C o n f i g u r a t i o n   c o n t a i n s   c o n f i g u r a t i o n   r e l a t e d   t o   c l o u d - c o n t r o l l e r - m a n a g e r   h o s t e d   w e b h o o k s   W e b h o o k s   i s   t h e   l i s t   o f   w e b h o o k s   t o   e n a b l e   o r   d i s a b l e   ' * '   m e a n s   \" a l l   e n a b l e d   b y   d e f a u l t   w e b h o o k s \"   ' f o o '   m e a n s   \" e n a b l e   ' f o o ' \"   ' - f o o '   m e a n s   \" d i s a b l e   ' f o o ' \"   f i r s t   i t e m   f o r   a   p a r t i c u l a r   n a m e   w i n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8101"
  },
  {
    "question": "What is LeaderMigrationConfiguration?",
    "answer": "A p p e a r s   i n :   G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   L e a d e r M i g r a t i o n C o n f i g u r a t i o n   p r o v i d e s   v e r s i o n e d   c o n f i g u r a t i o n   f o r   a l l   m i g r a t i n g   l e a d e r   l o c k s .   L e a d e r N a m e   i s   t h e   n a m e   o f   t h e   l e a d e r   e l e c t i o n   r e s o u r c e   t h a t   p r o t e c t s   t h e   m i g r a t i o n   E . g .   1 - 2 0 - K C M - t o - 1 - 2 1 - C C M   R e s o u r c e L o c k   i n d i c a t e s   t h e   r e s o u r c e   o b j e c t   t y p e   t h a t   w i l l   b e   u s e d   t o   l o c k   S h o u l d   b e   \" l e a s e s \"   o r   \" e n d p o i n t s \"   C o n t r o l l e r L e a d e r s   c o n t a i n s   a   l i s t   o f   m i g r a t i n g   l e a d e r   l o c k   c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8102"
  },
  {
    "question": "What is ControllerLeaderConfiguration?",
    "answer": "A p p e a r s   i n :   L e a d e r M i g r a t i o n C o n f i g u r a t i o n   C o n t r o l l e r L e a d e r C o n f i g u r a t i o n   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   m i g r a t i n g   l e a d e r   l o c k .   N a m e   i s   t h e   n a m e   o f   t h e   c o n t r o l l e r   b e i n g   m i g r a t e d   E . g .   s e r v i c e - c o n t r o l l e r ,   r o u t e - c o n t r o l l e r ,   c l o u d - n o d e - c o n t r o l l e r ,   e t c   C o m p o n e n t   i s   t h e   n a m e   o f   t h e   c o m p o n e n t   i n   w h i c h   t h e   c o n t r o l l e r   s h o u l d   b e   r u n n i n g .   E . g .   k u b e - c o n t r o l l e r - m a n a g e r ,   c l o u d - c o n t r o l l e r - m a n a g e r ,   e t c   O r   ' * '   m e a n i n g   t h e   c o n t r o l l e r   c a n   b e   r u n   u n d e r   a n y   c o m p o n e n t   t h a t   p a r t i c i p a t e s   i n   t h e   m i g r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8103"
  },
  {
    "question": "What is GenericControllerManagerConfiguration?",
    "answer": "A p p e a r s   i n :   C l o u d C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   C l o u d C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   a   g e n e r i c   c o n t r o l l e r - m a n a g e r .   p o r t   i s   t h e   p o r t   t h a t   t h e   c o n t r o l l e r - m a n a g e r ' s   h t t p   s e r v i c e   r u n s   o n .   a d d r e s s   i s   t h e   I P   a d d r e s s   t o   s e r v e   o n   ( s e t   t o   0 . 0 . 0 . 0   f o r   a l l   i n t e r f a c e s ) .   m i n R e s y n c P e r i o d   i s   t h e   r e s y n c   p e r i o d   i n   r e f l e c t o r s ;   w i l l   b e   r a n d o m   b e t w e e n   m i n R e s y n c P e r i o d   a n d   2 * m i n R e s y n c P e r i o d .   C l i e n t C o n n e c t i o n   s p e c i f i e s   t h e   k u b e c o n f i g   f i l e   a n d   c l i e n t   c o n n e c t i o n   s e t t i n g s   f o r   t h e   p r o x y   s e r v e r   t o   u s e   w h e n   c o m m u n i c a t i n g   w i t h   t h e   a p i s e r v e r .   H o w   l o n g   t o   w a i t   b e t w e e n   s t a r t i n g   c o n t r o l l e r   m a n a g e r s   l e a d e r E l e c t i o n   d e f i n e s   t h e   c o n f i g u r a t i o n   o f   l e a d e r   e l e c t i o n   c l i e n t .   C o n t r o l l e r s   i s   t h e   l i s t   o f   c o n t r o l l e r s   t o   e n a b l e   o r   d i s a b l e   ' * '   m e a n s   \" a l l   e n a b l e d   b y   d e f a u l t   c o n t r o l l e r s \"   ' f o o '   m e a n s   \" e n a b l e   ' f o o ' \"   ' - f o o '   m e a n s   \" d i s a b l e   ' f o o ' \"   f i r s t   i t e m   f o r   a   p a r t i c u l a r   n a m e   w i n s   D e b u g g i n g C o n f i g u r a t i o n   h o l d s   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8104"
  },
  {
    "question": "What is KubeControllerManagerConfiguration?",
    "answer": "K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   k u b e - c o n t r o l l e r   m a n a g e r .   G e n e r i c   h o l d s   c o n f i g u r a t i o n   f o r   a   g e n e r i c   c o n t r o l l e r - m a n a g e r   K u b e C l o u d S h a r e d C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   s h a r e d   r e l a t e d   f e a t u r e s   b o t h   i n   c l o u d   c o n t r o l l e r   m a n a g e r   a n d   k u b e - c o n t r o l l e r   m a n a g e r .   A t t a c h D e t a c h C o n t r o l l e r C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   A t t a c h D e t a c h C o n t r o l l e r   r e l a t e d   f e a t u r e s .   C S R S i g n i n g C o n t r o l l e r C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   C S R S i g n i n g C o n t r o l l e r   r e l a t e d   f e a t u r e s .   D a e m o n S e t C o n t r o l l e r C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   D a e m o n S e t C o n t r o l l e r   r e l a t e d   f e a t u r e s .   D e p l o y m e n t C o n t r o l l e r C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   D e p l o y m e n t C o n t r o l l e r   r e l a t e d   f e a t u r e s .   S t a t e f u l S e t C o n t r o l l e r C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   S t a t e f u l S e t C o n t r o l l e r   r e l a t e d   f e a t u r e s .   D e p r e c a t e d C o n t r o l l e r C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   s o m e   d e p r e c a t e d   f e a t u r e s .   E n d p o i n t C o n t r o l l e r C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   E n d p o i n t C o n t r o l l e r   r e l a t e d   f e a t u r e s .   E n d p o i n t S l i c e C o n t r o l l e r C o n f i g u r a t i o n   h o l d s   c o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8105"
  },
  {
    "question": "What is AttachDetachControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   A t t a c h D e t a c h C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   A t t a c h D e t a c h C o n t r o l l e r .   R e c o n c i l e r   r u n s   a   p e r i o d i c   l o o p   t o   r e c o n c i l e   t h e   d e s i r e d   s t a t e   o f   t h e   w i t h   t h e   a c t u a l   s t a t e   o f   t h e   w o r l d   b y   t r i g g e r i n g   a t t a c h   d e t a c h   o p e r a t i o n s .   T h i s   f l a g   e n a b l e s   o r   d i s a b l e s   r e c o n c i l e .   I s   f a l s e   b y   d e f a u l t ,   a n d   t h u s   e n a b l e d .   R e c o n c i l e r S y n c L o o p P e r i o d   i s   t h e   a m o u n t   o f   t i m e   t h e   r e c o n c i l e r   s y n c   s t a t e s   l o o p   w a i t   b e t w e e n   s u c c e s s i v e   e x e c u t i o n s .   I s   s e t   t o   6 0   s e c   b y   d e f a u l t .   D i s a b l e F o r c e D e t a c h O n T i m e o u t   d i s a b l e s   f o r c e   d e t a c h   w h e n   t h e   m a x i m u m   u n m o u n t   t i m e   i s   e x c e e d e d .   I s   f a l s e   b y   d e f a u l t ,   a n d   t h u s   f o r c e   d e t a c h   o n   u n m o u n t   i s   e n a b l e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8106"
  },
  {
    "question": "What is CSRSigningConfiguration?",
    "answer": "A p p e a r s   i n :   C S R S i g n i n g C o n t r o l l e r C o n f i g u r a t i o n   C S R S i g n i n g C o n f i g u r a t i o n   h o l d s   i n f o r m a t i o n   a b o u t   a   p a r t i c u l a r   C S R   s i g n e r   c e r t F i l e   i s   t h e   f i l e n a m e   c o n t a i n i n g   a   P E M - e n c o d e d   X 5 0 9   C A   c e r t i f i c a t e   u s e d   t o   i s s u e   c e r t i f i c a t e s   k e y F i l e   i s   t h e   f i l e n a m e   c o n t a i n i n g   a   P E M - e n c o d e d   R S A   o r   E C D S A   p r i v a t e   k e y   u s e d   t o   i s s u e   c e r t i f i c a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8107"
  },
  {
    "question": "What is CSRSigningControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   C S R S i g n i n g C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   C S R S i g n i n g C o n t r o l l e r .   c l u s t e r S i g n i n g C e r t F i l e   i s   t h e   f i l e n a m e   c o n t a i n i n g   a   P E M - e n c o d e d   X 5 0 9   C A   c e r t i f i c a t e   u s e d   t o   i s s u e   c l u s t e r - s c o p e d   c e r t i f i c a t e s   c l u s t e r S i g n i n g C e r t F i l e   i s   t h e   f i l e n a m e   c o n t a i n i n g   a   P E M - e n c o d e d   R S A   o r   E C D S A   p r i v a t e   k e y   u s e d   t o   i s s u e   c l u s t e r - s c o p e d   c e r t i f i c a t e s   k u b e l e t S e r v i n g S i g n e r C o n f i g u r a t i o n   h o l d s   t h e   c e r t i f i c a t e   a n d   k e y   u s e d   t o   i s s u e   c e r t i f i c a t e s   f o r   t h e   k u b e r n e t e s . i o / k u b e l e t - s e r v i n g   s i g n e r   k u b e l e t C l i e n t S i g n e r C o n f i g u r a t i o n   h o l d s   t h e   c e r t i f i c a t e   a n d   k e y   u s e d   t o   i s s u e   c e r t i f i c a t e s   f o r   t h e   k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t - k u b e l e t   k u b e A P I S e r v e r C l i e n t S i g n e r C o n f i g u r a t i o n   h o l d s   t h e   c e r t i f i c a t e   a n d   k e y   u s e d   t o   i s s u e   c e r t i f i c a t e s   f o r   t h e   k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t   l e g a c y U n k n o w n S i g n e r C o n f i g u r a t i o n   h o l d s   t h e   c e r t i f i c a t e   a n d   k e y   u s e d   t o   i s s u e   c e r t i f i c a t e s   f o r   t h e   k u b e r n e t e s . i o / l e g a c y - u n k n o w n   c l u s t e r S i g n i n g D u r a t i o n   i s   t h e   m a x   l e n g t h   o f   d u r a t i o n   s i g n e d   c e r t i f ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8108"
  },
  {
    "question": "What is CronJobControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   C r o n J o b C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   C r o n g J o b 2 C o n t r o l l e r .   c o n c u r r e n t C r o n J o b S y n c s   i s   t h e   n u m b e r   o f   j o b   o b j e c t s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   m o r e   r e s p o n s i v e   j o b s ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8109"
  },
  {
    "question": "What is DaemonSetControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   D a e m o n S e t C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   D a e m o n S e t C o n t r o l l e r .   c o n c u r r e n t D a e m o n S e t S y n c s   i s   t h e   n u m b e r   o f   d a e m o n s e t   o b j e c t s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   m o r e   r e s p o n s i v e   d a e m o n s e t ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8110"
  },
  {
    "question": "What is DeploymentControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   D e p l o y m e n t C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   D e p l o y m e n t C o n t r o l l e r .   c o n c u r r e n t D e p l o y m e n t S y n c s   i s   t h e   n u m b e r   o f   d e p l o y m e n t   o b j e c t s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   m o r e   r e s p o n s i v e   d e p l o y m e n t s ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8111"
  },
  {
    "question": "What is DeprecatedControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   D e p r e c a t e d C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   b e   d e p r e c a t e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8112"
  },
  {
    "question": "What is EndpointControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   E n d p o i n t C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   E n d p o i n t C o n t r o l l e r .   c o n c u r r e n t E n d p o i n t S y n c s   i s   t h e   n u m b e r   o f   e n d p o i n t   s y n c i n g   o p e r a t i o n s   t h a t   w i l l   b e   d o n e   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   f a s t e r   e n d p o i n t   u p d a t i n g ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .   E n d p o i n t U p d a t e s B a t c h P e r i o d   d e s c r i b e s   t h e   l e n g t h   o f   e n d p o i n t   u p d a t e s   b a t c h i n g   p e r i o d .   P r o c e s s i n g   o f   p o d   c h a n g e s   w i l l   b e   d e l a y e d   b y   t h i s   d u r a t i o n   t o   j o i n   t h e m   w i t h   p o t e n t i a l   u p c o m i n g   u p d a t e s   a n d   r e d u c e   t h e   o v e r a l l   n u m b e r   o f   e n d p o i n t s   u p d a t e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8113"
  },
  {
    "question": "What is EndpointSliceControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   E n d p o i n t S l i c e C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   E n d p o i n t S l i c e C o n t r o l l e r .   c o n c u r r e n t S e r v i c e E n d p o i n t S y n c s   i s   t h e   n u m b e r   o f   s e r v i c e   e n d p o i n t   s y n c i n g   o p e r a t i o n s   t h a t   w i l l   b e   d o n e   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   f a s t e r   e n d p o i n t   s l i c e   u p d a t i n g ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .   m a x E n d p o i n t s P e r S l i c e   i s   t h e   m a x i m u m   n u m b e r   o f   e n d p o i n t s   t h a t   w i l l   b e   a d d e d   t o   a n   E n d p o i n t S l i c e .   M o r e   e n d p o i n t s   p e r   s l i c e   w i l l   r e s u l t   i n   f e w e r   a n d   l a r g e r   e n d p o i n t   s l i c e s ,   b u t   l a r g e r   r e s o u r c e s .   E n d p o i n t U p d a t e s B a t c h P e r i o d   d e s c r i b e s   t h e   l e n g t h   o f   e n d p o i n t   u p d a t e s   b a t c h i n g   p e r i o d .   P r o c e s s i n g   o f   p o d   c h a n g e s   w i l l   b e   d e l a y e d   b y   t h i s   d u r a t i o n   t o   j o i n   t h e m   w i t h   p o t e n t i a l   u p c o m i n g   u p d a t e s   a n d   r e d u c e   t h e   o v e r a l l   n u m b e r   o f   e n d p o i n t s   u p d a t e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8114"
  },
  {
    "question": "What is EndpointSliceMirroringControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   E n d p o i n t S l i c e M i r r o r i n g C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   E n d p o i n t S l i c e M i r r o r i n g C o n t r o l l e r .   m i r r o r i n g C o n c u r r e n t S e r v i c e E n d p o i n t S y n c s   i s   t h e   n u m b e r   o f   s e r v i c e   e n d p o i n t   s y n c i n g   o p e r a t i o n s   t h a t   w i l l   b e   d o n e   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   f a s t e r   e n d p o i n t   s l i c e   u p d a t i n g ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .   m i r r o r i n g M a x E n d p o i n t s P e r S u b s e t   i s   t h e   m a x i m u m   n u m b e r   o f   e n d p o i n t s   t h a t   w i l l   b e   m i r r o r e d   t o   a n   E n d p o i n t S l i c e   f o r   a n   E n d p o i n t S u b s e t .   m i r r o r i n g E n d p o i n t U p d a t e s B a t c h P e r i o d   c a n   b e   u s e d   t o   b a t c h   E n d p o i n t S l i c e   u p d a t e s .   A l l   u p d a t e s   t r i g g e r e d   b y   E n d p o i n t S l i c e   c h a n g e s   w i l l   b e   d e l a y e d   b y   u p   t o   ' m i r r o r i n g E n d p o i n t U p d a t e s B a t c h P e r i o d ' .   I f   o t h e r   a d d r e s s e s   i n   t h e   s a m e   E n d p o i n t s   r e s o u r c e   c h a n g e   i n   t h a t   p e r i o d ,   t h e y   w i l l   b e   b a t c h e d   t o   a   s i n g l e   E n d p o i n t S l i c e   u p d a t e .   D e f a u l t   0   v a l u e   m e a n s   t h a t   e a c h   E n d p o i n t s   u p d a t e   t r i g g e r s   a n   E n d p o i n t S l i c e   u p d a t e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8115"
  },
  {
    "question": "What is EphemeralVolumeControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   E p h e m e r a l V o l u m e C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   E p h e m e r a l V o l u m e C o n t r o l l e r .   C o n c u r r e n t E p h e m e r a l V o l u m e S y n c s e S y n c s   i s   t h e   n u m b e r   o f   e p h e m e r a l   v o l u m e   s y n c i n g   o p e r a t i o n s   t h a t   w i l l   b e   d o n e   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   f a s t e r   e p h e m e r a l   v o l u m e   u p d a t i n g ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8116"
  },
  {
    "question": "What is GarbageCollectorControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   G a r b a g e C o l l e c t o r C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   G a r b a g e C o l l e c t o r C o n t r o l l e r .   e n a b l e s   t h e   g e n e r i c   g a r b a g e   c o l l e c t o r .   M U S T   b e   s y n c e d   w i t h   t h e   c o r r e s p o n d i n g   f l a g   o f   t h e   k u b e - a p i s e r v e r .   W A R N I N G :   t h e   g e n e r i c   g a r b a g e   c o l l e c t o r   i s   a n   a l p h a   f e a t u r e .   c o n c u r r e n t G C S y n c s   i s   t h e   n u m b e r   o f   g a r b a g e   c o l l e c t o r   w o r k e r s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .   g c I g n o r e d R e s o u r c e s   i s   t h e   l i s t   o f   G r o u p R e s o u r c e s   t h a t   g a r b a g e   c o l l e c t i o n   s h o u l d   i g n o r e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8117"
  },
  {
    "question": "What is GroupResource?",
    "answer": "A p p e a r s   i n :   G a r b a g e C o l l e c t o r C o n t r o l l e r C o n f i g u r a t i o n   G r o u p R e s o u r c e   d e s c r i b e s   a n   g r o u p   r e s o u r c e .   g r o u p   i s   t h e   g r o u p   p o r t i o n   o f   t h e   G r o u p R e s o u r c e .   r e s o u r c e   i s   t h e   r e s o u r c e   p o r t i o n   o f   t h e   G r o u p R e s o u r c e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8118"
  },
  {
    "question": "What is HPAControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   H P A C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   H P A C o n t r o l l e r .   C o n c u r r e n t H o r i z o n t a l P o d A u t o s c a l e r S y n c s   i s   t h e   n u m b e r   o f   H P A   o b j e c t s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   m o r e   r e s p o n s i v e   H P A   p r o c e s s i n g ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .   H o r i z o n t a l P o d A u t o s c a l e r S y n c P e r i o d   i s   t h e   p e r i o d   f o r   s y n c i n g   t h e   n u m b e r   o f   p o d s   i n   h o r i z o n t a l   p o d   a u t o s c a l e r .   H o r i z o n t a l P o d A u t o s c a l e r D o w n c a l e S t a b i l i z a t i o n W i n d o w   i s   a   p e r i o d   f o r   w h i c h   a u t o s c a l e r   w i l l   l o o k   b a c k w a r d s   a n d   n o t   s c a l e   d o w n   b e l o w   a n y   r e c o m m e n d a t i o n   i t   m a d e   d u r i n g   t h a t   p e r i o d .   H o r i z o n t a l P o d A u t o s c a l e r T o l e r a n c e   i s   t h e   t o l e r a n c e   f o r   w h e n   r e s o u r c e   u s a g e   s u g g e s t s   u p s c a l i n g / d o w n s c a l i n g   H o r i z o n t a l P o d A u t o s c a l e r C P U I n i t i a l i z a t i o n P e r i o d   i s   t h e   p e r i o d   a f t e r   p o d   s t a r t   w h e n   C P U   s a m p l e s   m i g h t   b e   s k i p p e d .   H o r i z o n t a l P o d A u t o s c a l e r I n i t i a l R e a d i n e s s D e l a y   i s   p e r i o d   a f t e r   p o d   s t a r t   d u r i n g   w h i c h   r e a d i n e s s   c h a n g e s   a r e   t r e a t e d   a s   r e a d i n e s s   b e i n g   s e t   f o r   t h e   f i r s t   t i m e .   T h e   o n l y   e f f e c t   o f   t h i s   i s   t h a t   H P A ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8119"
  },
  {
    "question": "What is JobControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   J o b C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   J o b C o n t r o l l e r .   c o n c u r r e n t J o b S y n c s   i s   t h e   n u m b e r   o f   j o b   o b j e c t s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   m o r e   r e s p o n s i v e   j o b s ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8120"
  },
  {
    "question": "What is LegacySATokenCleanerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   L e g a c y S A T o k e n C l e a n e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   L e g a c y S A T o k e n C l e a n e r   C l e a n U p P e r i o d   i s   t h e   p e r i o d   o f   t i m e   s i n c e   t h e   l a s t   u s a g e   o f   a n   a u t o - g e n e r a t e d   s e r v i c e   a c c o u n t   t o k e n   b e f o r e   i t   c a n   b e   d e l e t e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8121"
  },
  {
    "question": "What is NamespaceControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   N a m e s p a c e C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   N a m e s p a c e C o n t r o l l e r .   n a m e s p a c e S y n c P e r i o d   i s   t h e   p e r i o d   f o r   s y n c i n g   n a m e s p a c e   l i f e - c y c l e   u p d a t e s .   c o n c u r r e n t N a m e s p a c e S y n c s   i s   t h e   n u m b e r   o f   n a m e s p a c e   o b j e c t s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8122"
  },
  {
    "question": "What is NodeIPAMControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   N o d e I P A M C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   N o d e I p a m C o n t r o l l e r .   s e r v i c e C I D R   i s   C I D R   R a n g e   f o r   S e r v i c e s   i n   c l u s t e r .   s e c o n d a r y S e r v i c e C I D R   i s   C I D R   R a n g e   f o r   S e r v i c e s   i n   c l u s t e r .   T h i s   i s   u s e d   i n   d u a l   s t a c k   c l u s t e r s .   S e c o n d a r y S e r v i c e C I D R   m u s t   b e   o f   d i f f e r e n t   I P   f a m i l y   t h a n   S e r v i c e C I D R   N o d e C I D R M a s k S i z e   i s   t h e   m a s k   s i z e   f o r   n o d e   c i d r   i n   c l u s t e r .   N o d e C I D R M a s k S i z e I P v 4   i s   t h e   m a s k   s i z e   f o r   n o d e   c i d r   i n   d u a l - s t a c k   c l u s t e r .   N o d e C I D R M a s k S i z e I P v 6   i s   t h e   m a s k   s i z e   f o r   n o d e   c i d r   i n   d u a l - s t a c k   c l u s t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8123"
  },
  {
    "question": "What is NodeLifecycleControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   N o d e L i f e c y c l e C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   N o d e L i f e c y c l e C o n t r o l l e r .   n o d e E v i c t i o n R a t e   i s   t h e   n u m b e r   o f   n o d e s   p e r   s e c o n d   o n   w h i c h   p o d s   a r e   d e l e t e d   i n   c a s e   o f   n o d e   f a i l u r e   w h e n   a   z o n e   i s   h e a l t h y   s e c o n d a r y N o d e E v i c t i o n R a t e   i s   t h e   n u m b e r   o f   n o d e s   p e r   s e c o n d   o n   w h i c h   p o d s   a r e   d e l e t e d   i n   c a s e   o f   n o d e   f a i l u r e   w h e n   a   z o n e   i s   u n h e a l t h y   n o d e S t a r t u p G r a c e P e r i o d   i s   t h e   a m o u n t   o f   t i m e   w h i c h   w e   a l l o w   s t a r t i n g   a   n o d e   t o   b e   u n r e s p o n s i v e   b e f o r e   m a r k i n g   i t   u n h e a l t h y .   n o d e M o n t i o r G r a c e P e r i o d   i s   t h e   a m o u n t   o f   t i m e   w h i c h   w e   a l l o w   a   r u n n i n g   n o d e   t o   b e   u n r e s p o n s i v e   b e f o r e   m a r k i n g   i t   u n h e a l t h y .   M u s t   b e   N   t i m e s   m o r e   t h a n   k u b e l e t ' s   n o d e S t a t u s U p d a t e F r e q u e n c y ,   w h e r e   N   m e a n s   n u m b e r   o f   r e t r i e s   a l l o w e d   f o r   k u b e l e t   t o   p o s t   n o d e   s t a t u s .   T h i s   v a l u e   s h o u l d   a l s o   b e   g r e a t e r   t h a n   t h e   s u m   o f   H T T P 2 _ P I N G _ T I M E O U T _ S E C O N D S   a n d   H T T P 2 _ R E A D _ I D L E _ T I M E O U T _ S E C O N D S .   p o d E v i c t i o n T i m e o u t   i s   t h e   g r a c e   p e r i o d   f o r   d e l e t i n g   p o d s   o n   f a i l e d   n o d e s .   s e c o n d a r y N o d e E v i c t i o n R a t e   i s   i m p ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8124"
  },
  {
    "question": "What is PersistentVolumeBinderControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   P e r s i s t e n t V o l u m e B i n d e r C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   P e r s i s t e n t V o l u m e B i n d e r C o n t r o l l e r .   p v C l a i m B i n d e r S y n c P e r i o d   i s   t h e   p e r i o d   f o r   s y n c i n g   p e r s i s t e n t   v o l u m e s   a n d   p e r s i s t e n t   v o l u m e   c l a i m s .   v o l u m e C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   v o l u m e   r e l a t e d   f e a t u r e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8125"
  },
  {
    "question": "What is PersistentVolumeRecyclerConfiguration?",
    "answer": "A p p e a r s   i n :   V o l u m e C o n f i g u r a t i o n   P e r s i s t e n t V o l u m e R e c y c l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   p e r s i s t e n t   v o l u m e   p l u g i n s .   m a x i m u m R e t r y   i s   n u m b e r   o f   r e t r i e s   t h e   P V   r e c y c l e r   w i l l   e x e c u t e   o n   f a i l u r e   t o   r e c y c l e   P V .   m i n i m u m T i m e o u t N F S   i s   t h e   m i n i m u m   A c t i v e D e a d l i n e S e c o n d s   t o   u s e   f o r   a n   N F S   R e c y c l e r   p o d .   p o d T e m p l a t e F i l e P a t h N F S   i s   t h e   f i l e   p a t h   t o   a   p o d   d e f i n i t i o n   u s e d   a s   a   t e m p l a t e   f o r   N F S   p e r s i s t e n t   v o l u m e   r e c y c l i n g   i n c r e m e n t T i m e o u t N F S   i s   t h e   i n c r e m e n t   o f   t i m e   a d d e d   p e r   G i   t o   A c t i v e D e a d l i n e S e c o n d s   f o r   a n   N F S   s c r u b b e r   p o d .   p o d T e m p l a t e F i l e P a t h H o s t P a t h   i s   t h e   f i l e   p a t h   t o   a   p o d   d e f i n i t i o n   u s e d   a s   a   t e m p l a t e   f o r   H o s t P a t h   p e r s i s t e n t   v o l u m e   r e c y c l i n g .   T h i s   i s   f o r   d e v e l o p m e n t   a n d   t e s t i n g   o n l y   a n d   w i l l   n o t   w o r k   i n   a   m u l t i - n o d e   c l u s t e r .   m i n i m u m T i m e o u t H o s t P a t h   i s   t h e   m i n i m u m   A c t i v e D e a d l i n e S e c o n d s   t o   u s e   f o r   a   H o s t P a t h   R e c y c l e r   p o d .   T h i s   i s   f o r   d e v e l o p m e n t   a n d   t e s t i n g   o n l y   a n d   w i l l   n o t   w o r k   i n   a   m u l t i - n o d e   c l u s t e r .   i n c r e m e n t T i m e o u t H o s t P a t h   i s   t h e   i n c r e m e n t   o f   t i m e   a d d e d   p e r   G i   t o   A c t i v e D e a d l i n e S e c o n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8126"
  },
  {
    "question": "What is PodGCControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   P o d G C C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   P o d G C C o n t r o l l e r .   t e r m i n a t e d P o d G C T h r e s h o l d   i s   t h e   n u m b e r   o f   t e r m i n a t e d   p o d s   t h a t   c a n   e x i s t   b e f o r e   t h e   t e r m i n a t e d   p o d   g a r b a g e   c o l l e c t o r   s t a r t s   d e l e t i n g   t e r m i n a t e d   p o d s .   I f   < =   0 ,   t h e   t e r m i n a t e d   p o d   g a r b a g e   c o l l e c t o r   i s   d i s a b l e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8127"
  },
  {
    "question": "What is ReplicaSetControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   R e p l i c a S e t C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   R e p l i c a S e t C o n t r o l l e r .   c o n c u r r e n t R S S y n c s   i s   t h e   n u m b e r   o f   r e p l i c a   s e t s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   m o r e   r e s p o n s i v e   r e p l i c a   m a n a g e m e n t ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8128"
  },
  {
    "question": "What is ReplicationControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   R e p l i c a t i o n C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   R e p l i c a t i o n C o n t r o l l e r .   c o n c u r r e n t R C S y n c s   i s   t h e   n u m b e r   o f   r e p l i c a t i o n   c o n t r o l l e r s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   m o r e   r e s p o n s i v e   r e p l i c a   m a n a g e m e n t ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8129"
  },
  {
    "question": "What is ResourceQuotaControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   R e s o u r c e Q u o t a C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   R e s o u r c e Q u o t a C o n t r o l l e r .   r e s o u r c e Q u o t a S y n c P e r i o d   i s   t h e   p e r i o d   f o r   s y n c i n g   q u o t a   u s a g e   s t a t u s   i n   t h e   s y s t e m .   c o n c u r r e n t R e s o u r c e Q u o t a S y n c s   i s   t h e   n u m b e r   o f   r e s o u r c e   q u o t a s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   m o r e   r e s p o n s i v e   q u o t a   m a n a g e m e n t ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8130"
  },
  {
    "question": "What is SAControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   S A C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   S e r v i c e A c c o u n t C o n t r o l l e r .   s e r v i c e A c c o u n t K e y F i l e   i s   t h e   f i l e n a m e   c o n t a i n i n g   a   P E M - e n c o d e d   p r i v a t e   R S A   k e y   u s e d   t o   s i g n   s e r v i c e   a c c o u n t   t o k e n s .   c o n c u r r e n t S A T o k e n S y n c s   i s   t h e   n u m b e r   o f   s e r v i c e   a c c o u n t   t o k e n   s y n c i n g   o p e r a t i o n s   t h a t   w i l l   b e   d o n e   c o n c u r r e n t l y .   r o o t C A F i l e   i s   t h e   r o o t   c e r t i f i c a t e   a u t h o r i t y   w i l l   b e   i n c l u d e d   i n   s e r v i c e   a c c o u n t ' s   t o k e n   s e c r e t .   T h i s   m u s t   b e   a   v a l i d   P E M - e n c o d e d   C A   b u n d l e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8131"
  },
  {
    "question": "What is StatefulSetControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   S t a t e f u l S e t C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   S t a t e f u l S e t C o n t r o l l e r .   c o n c u r r e n t S t a t e f u l S e t S y n c s   i s   t h e   n u m b e r   o f   s t a t e f u l s e t   o b j e c t s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   m o r e   r e s p o n s i v e   s t a t e f u l s e t s ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8132"
  },
  {
    "question": "What is TTLAfterFinishedControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   T T L A f t e r F i n i s h e d C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   T T L A f t e r F i n i s h e d C o n t r o l l e r .   c o n c u r r e n t T T L S y n c s   i s   t h e   n u m b e r   o f   T T L - a f t e r - f i n i s h e d   c o l l e c t o r   w o r k e r s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8133"
  },
  {
    "question": "What is ValidatingAdmissionPolicyStatusControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   V a l i d a t i n g A d m i s s i o n P o l i c y S t a t u s C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   V a l i d a t i n g A d m i s s i o n P o l i c y S t a t u s C o n t r o l l e r .   C o n c u r r e n t P o l i c y S y n c s   i s   t h e   n u m b e r   o f   p o l i c y   o b j e c t s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   q u i c k e r   t y p e   c h e c k i n g ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .   T h e   d e f a u l t   v a l u e   i s   5 .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8134"
  },
  {
    "question": "What is VolumeConfiguration?",
    "answer": "A p p e a r s   i n :   P e r s i s t e n t V o l u m e B i n d e r C o n t r o l l e r C o n f i g u r a t i o n   V o l u m e C o n f i g u r a t i o n   c o n t a i n s   a l l   e n u m e r a t e d   f l a g s   m e a n t   t o   c o n f i g u r e   a l l   v o l u m e   p l u g i n s .   F r o m   t h i s   c o n f i g ,   t h e   c o n t r o l l e r - m a n a g e r   b i n a r y   w i l l   c r e a t e   m a n y   i n s t a n c e s   o f   v o l u m e . V o l u m e C o n f i g ,   e a c h   c o n t a i n i n g   o n l y   t h e   c o n f i g u r a t i o n   n e e d e d   f o r   t h a t   p l u g i n   w h i c h   a r e   t h e n   p a s s e d   t o   t h e   a p p r o p r i a t e   p l u g i n .   T h e   C o n t r o l l e r M a n a g e r   b i n a r y   i s   t h e   o n l y   p a r t   o f   t h e   c o d e   w h i c h   k n o w s   w h a t   p l u g i n s   a r e   s u p p o r t e d   a n d   w h i c h   f l a g s   c o r r e s p o n d   t o   e a c h   p l u g i n .   e n a b l e H o s t P a t h P r o v i s i o n i n g   e n a b l e s   H o s t P a t h   P V   p r o v i s i o n i n g   w h e n   r u n n i n g   w i t h o u t   a   c l o u d   p r o v i d e r .   T h i s   a l l o w s   t e s t i n g   a n d   d e v e l o p m e n t   o f   p r o v i s i o n i n g   f e a t u r e s .   H o s t P a t h   p r o v i s i o n i n g   i s   n o t   s u p p o r t e d   i n   a n y   w a y ,   w o n ' t   w o r k   i n   a   m u l t i - n o d e   c l u s t e r ,   a n d   s h o u l d   n o t   b e   u s e d   f o r   a n y t h i n g   o t h e r   t h a n   t e s t i n g   o r   d e v e l o p m e n t .   e n a b l e D y n a m i c P r o v i s i o n i n g   e n a b l e s   t h e   p r o v i s i o n i n g   o f   v o l u m e s   w h e n   r u n n i n g   w i t h i n   a n   e n v i r o n m e n t   t h a t   s u p p o r t s   d y n a m i c   p r o v i s i o n i n g .   D e f a u l t s   t o   t r u e .   p e r s i s t e n t V o l u m e R e c y c l e r C o n f i g u r a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-controller-manager-config.v1alpha1/",
    "id": "k8s_00419_section_2_8135"
  },
  {
    "question": "What is kubectl apply view-last-applied?",
    "answer": "kubectl apply view-last-appliedSynopsisView the latest last-applied-configuration annotations by type/name or file.The default output will be printed to stdout in YAML format. You can use the -o option to change the output format.kubectl apply view-last-applied (TYPE [NAME | -l label] | TYPE/NAME | -f FILENAME) Examples # View the last-applied-configuration annotations by type/name in YAML kubectl apply view-last-applied deployment/nginx # View the last-applied-configuration annotations by file in JSON kubectl apply view-last-applied -f deploy.yaml -o json Options--allSelect all resources in the namespace of the specified resource types-f, --filename stringsFilename, directory, or URL to files that contains the last-applied-configuration annotations-h, --helphelp for view-last-applied-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output string Default: \"yaml\"Output format. Must be one of (yaml, json)-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait befor",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_view-last-applied/",
    "id": "k8s_00420_qa_8136"
  },
  {
    "question": "How does kubectl apply view-last-applied work?",
    "answer": "kubectl apply view-last-appliedSynopsisView the latest last-applied-configuration annotations by type/name or file.The default output will be printed to stdout in YAML format. You can use the -o option to change the output format.kubectl apply view-last-applied (TYPE [NAME | -l label] | TYPE/NAME | -f FILENAME) Examples # View the last-applied-configuration annotations by type/name in YAML kubectl apply view-last-applied deployment/nginx # View the last-applied-configuration annotations by file in JSON kubectl apply view-last-applied -f deploy.yaml -o json Options--allSelect all resources in the namespace of the specified resource types-f, --filename stringsFilename, directory, or URL to files that contains the last-applied-configuration annotations-h, --helphelp for view-last-applied-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output string Default: \"yaml\"Output format. Must be one of (yaml, json)-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait befor",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_view-last-applied/",
    "id": "k8s_00420_qa_8137"
  },
  {
    "question": "When would you use kubectl apply view-last-applied?",
    "answer": "kubectl apply view-last-appliedSynopsisView the latest last-applied-configuration annotations by type/name or file.The default output will be printed to stdout in YAML format. You can use the -o option to change the output format.kubectl apply view-last-applied (TYPE [NAME | -l label] | TYPE/NAME | -f FILENAME) Examples # View the last-applied-configuration annotations by type/name in YAML kubectl apply view-last-applied deployment/nginx # View the last-applied-configuration annotations by file in JSON kubectl apply view-last-applied -f deploy.yaml -o json Options--allSelect all resources in the namespace of the specified resource types-f, --filename stringsFilename, directory, or URL to files that contains the last-applied-configuration annotations-h, --helphelp for view-last-applied-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output string Default: \"yaml\"Output format. Must be one of (yaml, json)-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait befor",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_view-last-applied/",
    "id": "k8s_00420_qa_8138"
  },
  {
    "question": "What are the benefits of kubectl apply view-last-applied?",
    "answer": "kubectl apply view-last-appliedSynopsisView the latest last-applied-configuration annotations by type/name or file.The default output will be printed to stdout in YAML format. You can use the -o option to change the output format.kubectl apply view-last-applied (TYPE [NAME | -l label] | TYPE/NAME | -f FILENAME) Examples # View the last-applied-configuration annotations by type/name in YAML kubectl apply view-last-applied deployment/nginx # View the last-applied-configuration annotations by file in JSON kubectl apply view-last-applied -f deploy.yaml -o json Options--allSelect all resources in the namespace of the specified resource types-f, --filename stringsFilename, directory, or URL to files that contains the last-applied-configuration annotations-h, --helphelp for view-last-applied-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output string Default: \"yaml\"Output format. Must be one of (yaml, json)-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait befor",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_view-last-applied/",
    "id": "k8s_00420_qa_8139"
  },
  {
    "question": "What is Synopsis?",
    "answer": "V i e w   t h e   l a t e s t   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   t y p e / n a m e   o r   f i l e .   T h e   d e f a u l t   o u t p u t   w i l l   b e   p r i n t e d   t o   s t d o u t   i n   Y A M L   f o r m a t .   Y o u   c a n   u s e   t h e   - o   o p t i o n   t o   c h a n g e   t h e   o u t p u t   f o r m a t .   k u b e c t l   a p p l y   v i e w - l a s t - a p p l i e d   ( T Y P E   [ N A M E   |   - l   l a b e l ]   |   T Y P E / N A M E   |   - f   F I L E N A M E )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_view-last-applied/",
    "id": "k8s_00420_section_2_8140"
  },
  {
    "question": "What is Examples?",
    "answer": "#   V i e w   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   t y p e / n a m e   i n   Y A M L   k u b e c t l   a p p l y   v i e w - l a s t - a p p l i e d   d e p l o y m e n t / n g i n x   #   V i e w   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   f i l e   i n   J S O N   k u b e c t l   a p p l y   v i e w - l a s t - a p p l i e d   - f   d e p l o y . y a m l   - o   j s o n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_view-last-applied/",
    "id": "k8s_00420_section_2_8141"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   t h a t   c o n t a i n s   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   h e l p   f o r   v i e w - l a s t - a p p l i e d   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   M u s t   b e   o n e   o f   ( y a m l ,   j s o n )   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_view-last-applied/",
    "id": "k8s_00420_section_2_8142"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_view-last-applied/",
    "id": "k8s_00420_section_2_8143"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   a p p l y   -   A p p l y   a   c o n f i g u r a t i o n   t o   a   r e s o u r c e   b y   f i l e   n a m e   o r   s t d i n   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_view-last-applied/",
    "id": "k8s_00420_section_2_8144"
  },
  {
    "question": "What is Volumes?",
    "answer": "VolumesKubernetes volumes provide a way for containers in a pod to access and share data via the filesystem. There are different kinds of volume that you can use for different purposes, such as:populating a configuration file based on a ConfigMap or a Secretproviding some temporary scratch space for a podsharing a filesystem between two different containers in the same podsharing a filesystem between two different pods (even if those Pods run on different nodes)durably storing data so that it stays available even if the Pod restarts or is replacedpassing configuration information to an app running in a container, based on details of the Pod the container is in (for example: telling a sidecar container what namespace the Pod is running in)providing read-only access to data in a different container imageData sharing can be between different local processes within a container, or between different containers, or between Pods.Why volumes are importantData persistence: On-disk files in a container are ephemeral, which presents some problems for non-trivial applications when running in containers. One problem occurs when a container crashes or is stopped, the container state is not saved so all of the files that were created or modified during the lifetime of the container are lost. After a crash, kubelet restarts the container with a clean state.Shared storage: Another problem occurs when multiple containers are running in a Pod and need to share files. It can be challenging to set up and access a shared filesystem across all of the containers.The Kubernetes volume abstraction can help you to solve both of these problems.Before you learn about volumes, PersistentVolumes and PersistentVolumeClaims, you should read up about Pods and make sure that you understand how Kubernetes uses Pods to run containers.How volumes workKubernetes supports many types of volumes. A Pod can use any number of volume types simultaneously. Ephemeral volume types have a lifetime linked to a specific Pod, but persistent volumes exist beyond the lifetime of any individual pod. When a pod ceases to exist, Kubernetes destroys ephemeral volumes; however, Kubernetes does not destroy persistent volumes. For any kind of volume in a given pod, data is preserved across container restarts.At its core, a volume is a directory, possibly with some data in it, which is accessible to the containers in a pod. How that directory comes to be, the medium that backs it, and the contents of it are determined by the particular volume type used.To use a volume, specify the volumes to provide for the Pod in .spec.volumes and declare where to mount those volumes into containers in .spec.containers[*].volumeMounts.When a pod is launched, a process in the container sees a filesystem view composed from the initial contents of the container image, plus volumes (if defined) mounted inside the container. The process sees a root filesystem that initially matches the contents of the container image. Any write",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_qa_8145"
  },
  {
    "question": "How does Volumes work?",
    "answer": "VolumesKubernetes volumes provide a way for containers in a pod to access and share data via the filesystem. There are different kinds of volume that you can use for different purposes, such as:populating a configuration file based on a ConfigMap or a Secretproviding some temporary scratch space for a podsharing a filesystem between two different containers in the same podsharing a filesystem between two different pods (even if those Pods run on different nodes)durably storing data so that it stays available even if the Pod restarts or is replacedpassing configuration information to an app running in a container, based on details of the Pod the container is in (for example: telling a sidecar container what namespace the Pod is running in)providing read-only access to data in a different container imageData sharing can be between different local processes within a container, or between different containers, or between Pods.Why volumes are importantData persistence: On-disk files in a container are ephemeral, which presents some problems for non-trivial applications when running in containers. One problem occurs when a container crashes or is stopped, the container state is not saved so all of the files that were created or modified during the lifetime of the container are lost. After a crash, kubelet restarts the container with a clean state.Shared storage: Another problem occurs when multiple containers are running in a Pod and need to share files. It can be challenging to set up and access a shared filesystem across all of the containers.The Kubernetes volume abstraction can help you to solve both of these problems.Before you learn about volumes, PersistentVolumes and PersistentVolumeClaims, you should read up about Pods and make sure that you understand how Kubernetes uses Pods to run containers.How volumes workKubernetes supports many types of volumes. A Pod can use any number of volume types simultaneously. Ephemeral volume types have a lifetime linked to a specific Pod, but persistent volumes exist beyond the lifetime of any individual pod. When a pod ceases to exist, Kubernetes destroys ephemeral volumes; however, Kubernetes does not destroy persistent volumes. For any kind of volume in a given pod, data is preserved across container restarts.At its core, a volume is a directory, possibly with some data in it, which is accessible to the containers in a pod. How that directory comes to be, the medium that backs it, and the contents of it are determined by the particular volume type used.To use a volume, specify the volumes to provide for the Pod in .spec.volumes and declare where to mount those volumes into containers in .spec.containers[*].volumeMounts.When a pod is launched, a process in the container sees a filesystem view composed from the initial contents of the container image, plus volumes (if defined) mounted inside the container. The process sees a root filesystem that initially matches the contents of the container image. Any write",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_qa_8146"
  },
  {
    "question": "When would you use Volumes?",
    "answer": "VolumesKubernetes volumes provide a way for containers in a pod to access and share data via the filesystem. There are different kinds of volume that you can use for different purposes, such as:populating a configuration file based on a ConfigMap or a Secretproviding some temporary scratch space for a podsharing a filesystem between two different containers in the same podsharing a filesystem between two different pods (even if those Pods run on different nodes)durably storing data so that it stays available even if the Pod restarts or is replacedpassing configuration information to an app running in a container, based on details of the Pod the container is in (for example: telling a sidecar container what namespace the Pod is running in)providing read-only access to data in a different container imageData sharing can be between different local processes within a container, or between different containers, or between Pods.Why volumes are importantData persistence: On-disk files in a container are ephemeral, which presents some problems for non-trivial applications when running in containers. One problem occurs when a container crashes or is stopped, the container state is not saved so all of the files that were created or modified during the lifetime of the container are lost. After a crash, kubelet restarts the container with a clean state.Shared storage: Another problem occurs when multiple containers are running in a Pod and need to share files. It can be challenging to set up and access a shared filesystem across all of the containers.The Kubernetes volume abstraction can help you to solve both of these problems.Before you learn about volumes, PersistentVolumes and PersistentVolumeClaims, you should read up about Pods and make sure that you understand how Kubernetes uses Pods to run containers.How volumes workKubernetes supports many types of volumes. A Pod can use any number of volume types simultaneously. Ephemeral volume types have a lifetime linked to a specific Pod, but persistent volumes exist beyond the lifetime of any individual pod. When a pod ceases to exist, Kubernetes destroys ephemeral volumes; however, Kubernetes does not destroy persistent volumes. For any kind of volume in a given pod, data is preserved across container restarts.At its core, a volume is a directory, possibly with some data in it, which is accessible to the containers in a pod. How that directory comes to be, the medium that backs it, and the contents of it are determined by the particular volume type used.To use a volume, specify the volumes to provide for the Pod in .spec.volumes and declare where to mount those volumes into containers in .spec.containers[*].volumeMounts.When a pod is launched, a process in the container sees a filesystem view composed from the initial contents of the container image, plus volumes (if defined) mounted inside the container. The process sees a root filesystem that initially matches the contents of the container image. Any write",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_qa_8147"
  },
  {
    "question": "What are the benefits of Volumes?",
    "answer": "VolumesKubernetes volumes provide a way for containers in a pod to access and share data via the filesystem. There are different kinds of volume that you can use for different purposes, such as:populating a configuration file based on a ConfigMap or a Secretproviding some temporary scratch space for a podsharing a filesystem between two different containers in the same podsharing a filesystem between two different pods (even if those Pods run on different nodes)durably storing data so that it stays available even if the Pod restarts or is replacedpassing configuration information to an app running in a container, based on details of the Pod the container is in (for example: telling a sidecar container what namespace the Pod is running in)providing read-only access to data in a different container imageData sharing can be between different local processes within a container, or between different containers, or between Pods.Why volumes are importantData persistence: On-disk files in a container are ephemeral, which presents some problems for non-trivial applications when running in containers. One problem occurs when a container crashes or is stopped, the container state is not saved so all of the files that were created or modified during the lifetime of the container are lost. After a crash, kubelet restarts the container with a clean state.Shared storage: Another problem occurs when multiple containers are running in a Pod and need to share files. It can be challenging to set up and access a shared filesystem across all of the containers.The Kubernetes volume abstraction can help you to solve both of these problems.Before you learn about volumes, PersistentVolumes and PersistentVolumeClaims, you should read up about Pods and make sure that you understand how Kubernetes uses Pods to run containers.How volumes workKubernetes supports many types of volumes. A Pod can use any number of volume types simultaneously. Ephemeral volume types have a lifetime linked to a specific Pod, but persistent volumes exist beyond the lifetime of any individual pod. When a pod ceases to exist, Kubernetes destroys ephemeral volumes; however, Kubernetes does not destroy persistent volumes. For any kind of volume in a given pod, data is preserved across container restarts.At its core, a volume is a directory, possibly with some data in it, which is accessible to the containers in a pod. How that directory comes to be, the medium that backs it, and the contents of it are determined by the particular volume type used.To use a volume, specify the volumes to provide for the Pod in .spec.volumes and declare where to mount those volumes into containers in .spec.containers[*].volumeMounts.When a pod is launched, a process in the container sees a filesystem view composed from the initial contents of the container image, plus volumes (if defined) mounted inside the container. The process sees a root filesystem that initially matches the contents of the container image. Any write",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_qa_8148"
  },
  {
    "question": "What is Volumes?",
    "answer": "K u b e r n e t e s   v o l u m e s   p r o v i d e   a   w a y   f o r   c o n t a i n e r s   i n   a   p o d   t o   a c c e s s   a n d   s h a r e   d a t a   v i a   t h e   f i l e s y s t e m .   T h e r e   a r e   d i f f e r e n t   k i n d s   o f   v o l u m e   t h a t   y o u   c a n   u s e   f o r   d i f f e r e n t   p u r p o s e s ,   s u c h   a s :   p o p u l a t i n g   a   c o n f i g u r a t i o n   f i l e   b a s e d   o n   a   C o n f i g M a p   o r   a   S e c r e t p r o v i d i n g   s o m e   t e m p o r a r y   s c r a t c h   s p a c e   f o r   a   p o d s h a r i n g   a   f i l e s y s t e m   b e t w e e n   t w o   d i f f e r e n t   c o n t a i n e r s   i n   t h e   s a m e   p o d s h a r i n g   a   f i l e s y s t e m   b e t w e e n   t w o   d i f f e r e n t   p o d s   ( e v e n   i f   t h o s e   P o d s   r u n   o n   d i f f e r e n t   n o d e s ) d u r a b l y   s t o r i n g   d a t a   s o   t h a t   i t   s t a y s   a v a i l a b l e   e v e n   i f   t h e   P o d   r e s t a r t s   o r   i s   r e p l a c e d p a s s i n g   c o n f i g u r a t i o n   i n f o r m a t i o n   t o   a n   a p p   r u n n i n g   i n   a   c o n t a i n e r ,   b a s e d   o n   d e t a i l s   o f   t h e   P o d   t h e   c o n t a i n e r   i s   i n   ( f o r   e x a m p l e :   t e l l i n g   a   s i d e c a r   c o n t a i n e r   w h a t   n a m e s p a c e   t h e   P o d   i s   r u n n i n g   i n ) p r o v i d i n g   r e a d - o n l y   a c c e s s   t o   d a t a   i n   a   d i f f e r e n t   c o n t a i n e r   i m a g e   D a t a   s h a r i n g   c a n   b e   b e t w e e n   d i f f e r e n t   l o c a l   p r o c e s s e s   w i t h i n   a   c o n t a i n e r ,   o r   b e t w e e n   d i f f e r e n t   c o n t a i n e r s ,   o r   b e t w e e n   P o d s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_1_8149"
  },
  {
    "question": "What is Why volumes are important?",
    "answer": "D a t a   p e r s i s t e n c e :   O n - d i s k   f i l e s   i n   a   c o n t a i n e r   a r e   e p h e m e r a l ,   w h i c h   p r e s e n t s   s o m e   p r o b l e m s   f o r   n o n - t r i v i a l   a p p l i c a t i o n s   w h e n   r u n n i n g   i n   c o n t a i n e r s .   O n e   p r o b l e m   o c c u r s   w h e n   a   c o n t a i n e r   c r a s h e s   o r   i s   s t o p p e d ,   t h e   c o n t a i n e r   s t a t e   i s   n o t   s a v e d   s o   a l l   o f   t h e   f i l e s   t h a t   w e r e   c r e a t e d   o r   m o d i f i e d   d u r i n g   t h e   l i f e t i m e   o f   t h e   c o n t a i n e r   a r e   l o s t .   A f t e r   a   c r a s h ,   k u b e l e t   r e s t a r t s   t h e   c o n t a i n e r   w i t h   a   c l e a n   s t a t e . S h a r e d   s t o r a g e :   A n o t h e r   p r o b l e m   o c c u r s   w h e n   m u l t i p l e   c o n t a i n e r s   a r e   r u n n i n g   i n   a   P o d   a n d   n e e d   t o   s h a r e   f i l e s .   I t   c a n   b e   c h a l l e n g i n g   t o   s e t   u p   a n d   a c c e s s   a   s h a r e d   f i l e s y s t e m   a c r o s s   a l l   o f   t h e   c o n t a i n e r s .   D a t a   p e r s i s t e n c e :   O n - d i s k   f i l e s   i n   a   c o n t a i n e r   a r e   e p h e m e r a l ,   w h i c h   p r e s e n t s   s o m e   p r o b l e m s   f o r   n o n - t r i v i a l   a p p l i c a t i o n s   w h e n   r u n n i n g   i n   c o n t a i n e r s .   O n e   p r o b l e m   o c c u r s   w h e n   a   c o n t a i n e r   c r a s h e s   o r   i s   s t o p p e d ,   t h e   c o n t a i n e r   s t a t e   i s   n o t   s a v e d   s o   a l l   o f   t h e   f i l e s   t h a t   w e r e   c r e a t e d   o r   m o d i f i e d   d u r i n g   t h e   l i f e t i m e   o f   t h e   c o n t a i n e r   a r e   l o s t .   A f t e r   a   c r a s h ,   k u b e l e t   r e s t a r t s   t h e   c o n t a i n e r   w i t h   a   c l e a n ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_2_8150"
  },
  {
    "question": "What is How volumes work?",
    "answer": "K u b e r n e t e s   s u p p o r t s   m a n y   t y p e s   o f   v o l u m e s .   A   P o d   c a n   u s e   a n y   n u m b e r   o f   v o l u m e   t y p e s   s i m u l t a n e o u s l y .   E p h e m e r a l   v o l u m e   t y p e s   h a v e   a   l i f e t i m e   l i n k e d   t o   a   s p e c i f i c   P o d ,   b u t   p e r s i s t e n t   v o l u m e s   e x i s t   b e y o n d   t h e   l i f e t i m e   o f   a n y   i n d i v i d u a l   p o d .   W h e n   a   p o d   c e a s e s   t o   e x i s t ,   K u b e r n e t e s   d e s t r o y s   e p h e m e r a l   v o l u m e s ;   h o w e v e r ,   K u b e r n e t e s   d o e s   n o t   d e s t r o y   p e r s i s t e n t   v o l u m e s .   F o r   a n y   k i n d   o f   v o l u m e   i n   a   g i v e n   p o d ,   d a t a   i s   p r e s e r v e d   a c r o s s   c o n t a i n e r   r e s t a r t s .   A t   i t s   c o r e ,   a   v o l u m e   i s   a   d i r e c t o r y ,   p o s s i b l y   w i t h   s o m e   d a t a   i n   i t ,   w h i c h   i s   a c c e s s i b l e   t o   t h e   c o n t a i n e r s   i n   a   p o d .   H o w   t h a t   d i r e c t o r y   c o m e s   t o   b e ,   t h e   m e d i u m   t h a t   b a c k s   i t ,   a n d   t h e   c o n t e n t s   o f   i t   a r e   d e t e r m i n e d   b y   t h e   p a r t i c u l a r   v o l u m e   t y p e   u s e d .   T o   u s e   a   v o l u m e ,   s p e c i f y   t h e   v o l u m e s   t o   p r o v i d e   f o r   t h e   P o d   i n   . s p e c . v o l u m e s   a n d   d e c l a r e   w h e r e   t o   m o u n t   t h o s e   v o l u m e s   i n t o   c o n t a i n e r s   i n   . s p e c . c o n t a i n e r s [ * ] . v o l u m e M o u n t s .   W h e n   a   p o d   i s   l a u n c h e d ,   a   p r o c e s s   i n   t h e   c o n t a i n e r   s e e s   a   f i l e s y s t e m   v i e w   c o m p o s e d   f r o m   t h e   i n i t i a l   c o n t e n t s   o f   t h e   c o n t a i n e r   i m a g e ,   p l ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_2_8151"
  },
  {
    "question": "What is Types of volumes?",
    "answer": "K u b e r n e t e s   s u p p o r t s   s e v e r a l   t y p e s   o f   v o l u m e s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_2_8152"
  },
  {
    "question": "What is awsElasticBlockStore (deprecated)?",
    "answer": "I n   K u b e r n e t e s   1 . 3 4 ,   a l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   a w s E l a s t i c B l o c k S t o r e   t y p e   a r e   r e d i r e c t e d   t o   t h e   e b s . c s i . a w s . c o m   C S I   d r i v e r .   T h e   A W S E l a s t i c B l o c k S t o r e   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 1 9   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 2 7   r e l e a s e .   T h e   K u b e r n e t e s   p r o j e c t   s u g g e s t s   t h a t   y o u   u s e   t h e   A W S   E B S   t h i r d   p a r t y   s t o r a g e   d r i v e r   i n s t e a d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_3_8153"
  },
  {
    "question": "What is azureDisk (deprecated)?",
    "answer": "I n   K u b e r n e t e s   1 . 3 4 ,   a l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   a z u r e D i s k   t y p e   a r e   r e d i r e c t e d   t o   t h e   d i s k . c s i . a z u r e . c o m   C S I   d r i v e r .   T h e   A z u r e D i s k   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 1 9   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 2 7   r e l e a s e .   T h e   K u b e r n e t e s   p r o j e c t   s u g g e s t s   t h a t   y o u   u s e   t h e   A z u r e   D i s k   t h i r d   p a r t y   s t o r a g e   d r i v e r   i n s t e a d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_3_8154"
  },
  {
    "question": "What is azureFile (deprecated)?",
    "answer": "I n   K u b e r n e t e s   1 . 3 4 ,   a l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   a z u r e F i l e   t y p e   a r e   r e d i r e c t e d   t o   t h e   f i l e . c s i . a z u r e . c o m   C S I   d r i v e r .   T h e   A z u r e F i l e   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 2 1   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 3 0   r e l e a s e .   T h e   K u b e r n e t e s   p r o j e c t   s u g g e s t s   t h a t   y o u   u s e   t h e   A z u r e   F i l e   t h i r d   p a r t y   s t o r a g e   d r i v e r   i n s t e a d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_3_8155"
  },
  {
    "question": "What is cephfs (removed)?",
    "answer": "K u b e r n e t e s   1 . 3 4   d o e s   n o t   i n c l u d e   a   c e p h f s   v o l u m e   t y p e .   T h e   c e p h f s   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 2 8   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 3 1   r e l e a s e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_3_8156"
  },
  {
    "question": "What is cinder (deprecated)?",
    "answer": "I n   K u b e r n e t e s   1 . 3 4 ,   a l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   c i n d e r   t y p e   a r e   r e d i r e c t e d   t o   t h e   c i n d e r . c s i . o p e n s t a c k . o r g   C S I   d r i v e r .   T h e   O p e n S t a c k   C i n d e r   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 1 1   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 2 6   r e l e a s e .   T h e   K u b e r n e t e s   p r o j e c t   s u g g e s t s   t h a t   y o u   u s e   t h e   O p e n S t a c k   C i n d e r   t h i r d   p a r t y   s t o r a g e   d r i v e r   i n s t e a d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_3_8157"
  },
  {
    "question": "What is configMap?",
    "answer": "A   C o n f i g M a p   p r o v i d e s   a   w a y   t o   i n j e c t   c o n f i g u r a t i o n   d a t a   i n t o   p o d s .   T h e   d a t a   s t o r e d   i n   a   C o n f i g M a p   c a n   b e   r e f e r e n c e d   i n   a   v o l u m e   o f   t y p e   c o n f i g M a p   a n d   t h e n   c o n s u m e d   b y   c o n t a i n e r i z e d   a p p l i c a t i o n s   r u n n i n g   i n   a   p o d .   W h e n   r e f e r e n c i n g   a   C o n f i g M a p ,   y o u   p r o v i d e   t h e   n a m e   o f   t h e   C o n f i g M a p   i n   t h e   v o l u m e .   Y o u   c a n   c u s t o m i z e   t h e   p a t h   t o   u s e   f o r   a   s p e c i f i c   e n t r y   i n   t h e   C o n f i g M a p .   T h e   f o l l o w i n g   c o n f i g u r a t i o n   s h o w s   h o w   t o   m o u n t   t h e   l o g - c o n f i g   C o n f i g M a p   o n t o   a   P o d   c a l l e d   c o n f i g m a p - p o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o n f i g m a p - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   ' e c h o   \" T h e   a p p   i s   r u n n i n g ! \"   & &   t a i l   - f   / d e v / n u l l ' ]   v o l u m e M o u n t s :   -   n a m e :   c o n f i g - v o l   m o u n t P a t h :   / e t c / c o n f i g   v o l u m e s :   -   n a m e :   c o n f i g - v o l   c o n f i g M a p :   n a m e :   l o g - c o n f i g   i t e m s :   -   k e y :   l o g _ l e v e l   p a t h :   l o g _ l e v e l . c o n f   T h e   l o g - c o n f i g   C o n f i g M a p   i s   m o u n t e d   a s   a   v o l u m e ,   a n d   a l l   c o n t e n t s   s t o r e d   i n   i t s   l o g _ l e v e l   e n t r y   a r e   m o u n t e d   i n t o   t h e   P o d   a t   p a t h   / e t c / c o n f i g / l o g _ l e v e l . c o n f .   N o t e   t h a t   t h i s   p a t h   i s   d e r i v e d   f r o ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_3_8158"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   m u s t   c r e a t e   a   C o n f i g M a p   b e f o r e   y o u   c a n   u s e   i t . A   C o n f i g M a p   i s   a l w a y s   m o u n t e d   a s   r e a d O n l y . A   c o n t a i n e r   u s i n g   a   C o n f i g M a p   a s   a   s u b P a t h   v o l u m e   m o u n t   w i l l   n o t   r e c e i v e   u p d a t e s   w h e n   t h e   C o n f i g M a p   c h a n g e s . T e x t   d a t a   i s   e x p o s e d   a s   f i l e s   u s i n g   t h e   U T F - 8   c h a r a c t e r   e n c o d i n g .   F o r   o t h e r   c h a r a c t e r   e n c o d i n g s ,   u s e   b i n a r y D a t a .   Y o u   m u s t   c r e a t e   a   C o n f i g M a p   b e f o r e   y o u   c a n   u s e   i t .   A   C o n f i g M a p   i s   a l w a y s   m o u n t e d   a s   r e a d O n l y .   A   c o n t a i n e r   u s i n g   a   C o n f i g M a p   a s   a   s u b P a t h   v o l u m e   m o u n t   w i l l   n o t   r e c e i v e   u p d a t e s   w h e n   t h e   C o n f i g M a p   c h a n g e s .   T e x t   d a t a   i s   e x p o s e d   a s   f i l e s   u s i n g   t h e   U T F - 8   c h a r a c t e r   e n c o d i n g .   F o r   o t h e r   c h a r a c t e r   e n c o d i n g s ,   u s e   b i n a r y D a t a .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_4_8159"
  },
  {
    "question": "What is downwardAPI?",
    "answer": "A   d o w n w a r d A P I   v o l u m e   m a k e s   d o w n w a r d   A P I   d a t a   a v a i l a b l e   t o   a p p l i c a t i o n s .   W i t h i n   t h e   v o l u m e ,   y o u   c a n   f i n d   t h e   e x p o s e d   d a t a   a s   r e a d - o n l y   f i l e s   i n   p l a i n   t e x t   f o r m a t .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_3_8160"
  },
  {
    "question": "What is Note:?",
    "answer": "S e e   E x p o s e   P o d   I n f o r m a t i o n   t o   C o n t a i n e r s   T h r o u g h   F i l e s   t o   l e a r n   m o r e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_4_8161"
  },
  {
    "question": "What is emptyDir?",
    "answer": "F o r   a   P o d   t h a t   d e f i n e s   a n   e m p t y D i r   v o l u m e ,   t h e   v o l u m e   i s   c r e a t e d   w h e n   t h e   P o d   i s   a s s i g n e d   t o   a   n o d e .   A s   t h e   n a m e   s a y s ,   t h e   e m p t y D i r   v o l u m e   i s   i n i t i a l l y   e m p t y .   A l l   c o n t a i n e r s   i n   t h e   P o d   c a n   r e a d   a n d   w r i t e   t h e   s a m e   f i l e s   i n   t h e   e m p t y D i r   v o l u m e ,   t h o u g h   t h a t   v o l u m e   c a n   b e   m o u n t e d   a t   t h e   s a m e   o r   d i f f e r e n t   p a t h s   i n   e a c h   c o n t a i n e r .   W h e n   a   P o d   i s   r e m o v e d   f r o m   a   n o d e   f o r   a n y   r e a s o n ,   t h e   d a t a   i n   t h e   e m p t y D i r   i s   d e l e t e d   p e r m a n e n t l y .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_3_8162"
  },
  {
    "question": "What is Note:?",
    "answer": "S o m e   u s e s   f o r   a n   e m p t y D i r   a r e :   s c r a t c h   s p a c e ,   s u c h   a s   f o r   a   d i s k - b a s e d   m e r g e   s o r t c h e c k p o i n t i n g   a   l o n g   c o m p u t a t i o n   f o r   r e c o v e r y   f r o m   c r a s h e s h o l d i n g   f i l e s   t h a t   a   c o n t e n t - m a n a g e r   c o n t a i n e r   f e t c h e s   w h i l e   a   w e b s e r v e r   c o n t a i n e r   s e r v e s   t h e   d a t a   T h e   e m p t y D i r . m e d i u m   f i e l d   c o n t r o l s   w h e r e   e m p t y D i r   v o l u m e s   a r e   s t o r e d .   B y   d e f a u l t   e m p t y D i r   v o l u m e s   a r e   s t o r e d   o n   w h a t e v e r   m e d i u m   t h a t   b a c k s   t h e   n o d e   s u c h   a s   d i s k ,   S S D ,   o r   n e t w o r k   s t o r a g e ,   d e p e n d i n g   o n   y o u r   e n v i r o n m e n t .   I f   y o u   s e t   t h e   e m p t y D i r . m e d i u m   f i e l d   t o   \" M e m o r y \" ,   K u b e r n e t e s   m o u n t s   a   t m p f s   ( R A M - b a c k e d   f i l e s y s t e m )   f o r   y o u   i n s t e a d .   W h i l e   t m p f s   i s   v e r y   f a s t ,   b e   a w a r e   t h a t ,   u n l i k e   d i s k s ,   f i l e s   y o u   w r i t e   c o u n t   a g a i n s t   t h e   m e m o r y   l i m i t   o f   t h e   c o n t a i n e r   t h a t   w r o t e   t h e m .   A   s i z e   l i m i t   c a n   b e   s p e c i f i e d   f o r   t h e   d e f a u l t   m e d i u m ,   w h i c h   l i m i t s   t h e   c a p a c i t y   o f   t h e   e m p t y D i r   v o l u m e .   T h e   s t o r a g e   i s   a l l o c a t e d   f r o m   n o d e   e p h e m e r a l   s t o r a g e .   I f   t h a t   i s   f i l l e d   u p   f r o m   a n o t h e r   s o u r c e   ( f o r   e x a m p l e ,   l o g   f i l e s   o r   i m a g e   o v e r l a y s ) ,   t h e   e m p t y D i r   m a y   r u n   o u t   o f   c a p a c i t y   b e f o r e   t h i s ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_4_8163"
  },
  {
    "question": "What is emptyDir configuration example?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t - p d   s p e c :   c o n t a i n e r s :   -   i m a g e :   r e g i s t r y . k 8 s . i o / t e s t - w e b s e r v e r   n a m e :   t e s t - c o n t a i n e r   v o l u m e M o u n t s :   -   m o u n t P a t h :   / c a c h e   n a m e :   c a c h e - v o l u m e   v o l u m e s :   -   n a m e :   c a c h e - v o l u m e   e m p t y D i r :   s i z e L i m i t :   5 0 0 M i",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_4_8164"
  },
  {
    "question": "What is emptyDir memory configuration example?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t - p d   s p e c :   c o n t a i n e r s :   -   i m a g e :   r e g i s t r y . k 8 s . i o / t e s t - w e b s e r v e r   n a m e :   t e s t - c o n t a i n e r   v o l u m e M o u n t s :   -   m o u n t P a t h :   / c a c h e   n a m e :   c a c h e - v o l u m e   v o l u m e s :   -   n a m e :   c a c h e - v o l u m e   e m p t y D i r :   s i z e L i m i t :   5 0 0 M i   m e d i u m :   M e m o r y",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_4_8165"
  },
  {
    "question": "What is fc (fibre channel)?",
    "answer": "A n   f c   v o l u m e   t y p e   a l l o w s   a n   e x i s t i n g   f i b r e   c h a n n e l   b l o c k   s t o r a g e   v o l u m e   t o   b e   m o u n t e d   i n   a   P o d .   Y o u   c a n   s p e c i f y   s i n g l e   o r   m u l t i p l e   t a r g e t   w o r l d   w i d e   n a m e s   ( W W N s )   u s i n g   t h e   p a r a m e t e r   t a r g e t W W N s   i n   y o u r   V o l u m e   c o n f i g u r a t i o n .   I f   m u l t i p l e   W W N s   a r e   s p e c i f i e d ,   t a r g e t W W N s   e x p e c t   t h a t   t h o s e   W W N s   a r e   f r o m   m u l t i - p a t h   c o n n e c t i o n s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_3_8166"
  },
  {
    "question": "What is gcePersistentDisk (deprecated)?",
    "answer": "I n   K u b e r n e t e s   1 . 3 4 ,   a l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   g c e P e r s i s t e n t D i s k   t y p e   a r e   r e d i r e c t e d   t o   t h e   p d . c s i . s t o r a g e . g k e . i o   C S I   d r i v e r .   T h e   g c e P e r s i s t e n t D i s k   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 1 7   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 2 8   r e l e a s e .   T h e   K u b e r n e t e s   p r o j e c t   s u g g e s t s   t h a t   y o u   u s e   t h e   G o o g l e   C o m p u t e   E n g i n e   P e r s i s t e n t   D i s k   C S I   t h i r d   p a r t y   s t o r a g e   d r i v e r   i n s t e a d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_3_8167"
  },
  {
    "question": "What is Warning:?",
    "answer": "T h e   g i t R e p o   v o l u m e   p l u g i n   i s   d e p r e c a t e d   a n d   i s   d i s a b l e d   b y   d e f a u l t .   T o   p r o v i s i o n   a   P o d   t h a t   h a s   a   G i t   r e p o s i t o r y   m o u n t e d ,   y o u   c a n   m o u n t   a n   e m p t y D i r   v o l u m e   i n t o   a n   i n i t   c o n t a i n e r   t h a t   c l o n e s   t h e   r e p o   u s i n g   G i t ,   t h e n   m o u n t   t h e   E m p t y D i r   i n t o   t h e   P o d ' s   c o n t a i n e r .   Y o u   c a n   r e s t r i c t   t h e   u s e   o f   g i t R e p o   v o l u m e s   i n   y o u r   c l u s t e r   u s i n g   p o l i c i e s ,   s u c h   a s   V a l i d a t i n g A d m i s s i o n P o l i c y .   Y o u   c a n   u s e   t h e   f o l l o w i n g   C o m m o n   E x p r e s s i o n   L a n g u a g e   ( C E L )   e x p r e s s i o n   a s   p a r t   o f   a   p o l i c y   t o   r e j e c t   u s e   o f   g i t R e p o   v o l u m e s :   ! h a s ( o b j e c t . s p e c . v o l u m e s )   | |   ! o b j e c t . s p e c . v o l u m e s . e x i s t s ( v ,   h a s ( v . g i t R e p o ) )   Y o u   c a n   u s e   t h i s   d e p r e c a t e d   s t o r a g e   p l u g i n   i n   y o u r   c l u s t e r   i f   y o u   e x p l i c i t l y   e n a b l e   t h e   G i t R e p o V o l u m e D r i v e r   f e a t u r e   g a t e .   A   g i t R e p o   v o l u m e   i s   a n   e x a m p l e   o f   a   v o l u m e   p l u g i n .   T h i s   p l u g i n   m o u n t s   a n   e m p t y   d i r e c t o r y   a n d   c l o n e s   a   g i t   r e p o s i t o r y   i n t o   t h i s   d i r e c t o r y   f o r   y o u r   P o d   t o   u s e .   H e r e   i s   a n   e x a m p l e   o f   a   g i t R e p o   v o l u m e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s e r v e r   s p e c :   c o n t a i n e r s :   -   i m a g e :   n g i n x   n a m e :   n g i n x   v o l u m e M o u n t s :   -   ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_4_8168"
  },
  {
    "question": "What is glusterfs (removed)?",
    "answer": "K u b e r n e t e s   1 . 3 4   d o e s   n o t   i n c l u d e   a   g l u s t e r f s   v o l u m e   t y p e .   T h e   G l u s t e r F S   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 2 5   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 2 6   r e l e a s e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_3_8169"
  },
  {
    "question": "What is hostPath?",
    "answer": "A   h o s t P a t h   v o l u m e   m o u n t s   a   f i l e   o r   d i r e c t o r y   f r o m   t h e   h o s t   n o d e ' s   f i l e s y s t e m   i n t o   y o u r   P o d .   T h i s   i s   n o t   s o m e t h i n g   t h a t   m o s t   P o d s   w i l l   n e e d ,   b u t   i t   o f f e r s   a   p o w e r f u l   e s c a p e   h a t c h   f o r   s o m e   a p p l i c a t i o n s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_3_8170"
  },
  {
    "question": "What is Warning:?",
    "answer": "U s i n g   t h e   h o s t P a t h   v o l u m e   t y p e   p r e s e n t s   m a n y   s e c u r i t y   r i s k s .   I f   y o u   c a n   a v o i d   u s i n g   a   h o s t P a t h   v o l u m e ,   y o u   s h o u l d .   F o r   e x a m p l e ,   d e f i n e   a   l o c a l   P e r s i s t e n t V o l u m e ,   a n d   u s e   t h a t   i n s t e a d .   I f   y o u   a r e   r e s t r i c t i n g   a c c e s s   t o   s p e c i f i c   d i r e c t o r i e s   o n   t h e   n o d e   u s i n g   a d m i s s i o n - t i m e   v a l i d a t i o n ,   t h a t   r e s t r i c t i o n   i s   o n l y   e f f e c t i v e   w h e n   y o u   a d d i t i o n a l l y   r e q u i r e   t h a t   a n y   m o u n t s   o f   t h a t   h o s t P a t h   v o l u m e   a r e   r e a d   o n l y .   I f   y o u   a l l o w   a   r e a d - w r i t e   m o u n t   o f   a n y   h o s t   p a t h   b y   a n   u n t r u s t e d   P o d ,   t h e   c o n t a i n e r s   i n   t h a t   P o d   m a y   b e   a b l e   t o   s u b v e r t   t h e   r e a d - w r i t e   h o s t   m o u n t .   T a k e   c a r e   w h e n   u s i n g   h o s t P a t h   v o l u m e s ,   w h e t h e r   t h e s e   a r e   m o u n t e d   a s   r e a d - o n l y   o r   a s   r e a d - w r i t e ,   b e c a u s e :   A c c e s s   t o   t h e   h o s t   f i l e s y s t e m   c a n   e x p o s e   p r i v i l e g e d   s y s t e m   c r e d e n t i a l s   ( s u c h   a s   f o r   t h e   k u b e l e t )   o r   p r i v i l e g e d   A P I s   ( s u c h   a s   t h e   c o n t a i n e r   r u n t i m e   s o c k e t )   t h a t   c a n   b e   u s e d   f o r   c o n t a i n e r   e s c a p e   o r   t o   a t t a c k   o t h e r   p a r t s   o f   t h e   c l u s t e r . P o d s   w i t h   i d e n t i c a l   c o n f i g u r a t i o n   ( s u c h   a s   c r e a t e d   f r o m   a   P o d T e m p l a t e )   m a y   b e h a v e   d i f f e r e n t l y   o n   d i f f e r e n t   n o d e s   ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_4_8171"
  },
  {
    "question": "What is hostPath volume types?",
    "answer": "I n   a d d i t i o n   t o   t h e   r e q u i r e d   p a t h   p r o p e r t y ,   y o u   c a n   o p t i o n a l l y   s p e c i f y   a   t y p e   f o r   a   h o s t P a t h   v o l u m e .   T h e   a v a i l a b l e   v a l u e s   f o r   t y p e   a r e :",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_4_8172"
  },
  {
    "question": "What is Caution:?",
    "answer": "S o m e   f i l e s   o r   d i r e c t o r i e s   c r e a t e d   o n   t h e   u n d e r l y i n g   h o s t s   m i g h t   o n l y   b e   a c c e s s i b l e   b y   r o o t .   Y o u   t h e n   e i t h e r   n e e d   t o   r u n   y o u r   p r o c e s s   a s   r o o t   i n   a   p r i v i l e g e d   c o n t a i n e r   o r   m o d i f y   t h e   f i l e   p e r m i s s i o n s   o n   t h e   h o s t   t o   r e a d   f r o m   o r   w r i t e   t o   a   h o s t P a t h   v o l u m e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_4_8173"
  },
  {
    "question": "What is hostPath configuration example?",
    "answer": "- - -   #   T h i s   m a n i f e s t   m o u n t s   / d a t a / f o o   o n   t h e   h o s t   a s   / f o o   i n s i d e   t h e   #   s i n g l e   c o n t a i n e r   t h a t   r u n s   w i t h i n   t h e   h o s t p a t h - e x a m p l e - l i n u x   P o d .   #   #   T h e   m o u n t   i n t o   t h e   c o n t a i n e r   i s   r e a d - o n l y .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   h o s t p a t h - e x a m p l e - l i n u x   s p e c :   o s :   {   n a m e :   l i n u x   }   n o d e S e l e c t o r :   k u b e r n e t e s . i o / o s :   l i n u x   c o n t a i n e r s :   -   n a m e :   e x a m p l e - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / t e s t - w e b s e r v e r   v o l u m e M o u n t s :   -   m o u n t P a t h :   / f o o   n a m e :   e x a m p l e - v o l u m e   r e a d O n l y :   t r u e   v o l u m e s :   -   n a m e :   e x a m p l e - v o l u m e   #   m o u n t   / d a t a / f o o ,   b u t   o n l y   i f   t h a t   d i r e c t o r y   a l r e a d y   e x i s t s   h o s t P a t h :   p a t h :   / d a t a / f o o   #   d i r e c t o r y   l o c a t i o n   o n   h o s t   t y p e :   D i r e c t o r y   #   t h i s   f i e l d   i s   o p t i o n a l   - - -   #   T h i s   m a n i f e s t   m o u n t s   / d a t a / f o o   o n   t h e   h o s t   a s   / f o o   i n s i d e   t h e   #   s i n g l e   c o n t a i n e r   t h a t   r u n s   w i t h i n   t h e   h o s t p a t h - e x a m p l e - l i n u x   P o d .   #   #   T h e   m o u n t   i n t o   t h e   c o n t a i n e r   i s   r e a d - o n l y .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   h o s t p a t h - e x a m p l e - l i n u x   s p e c :   o s :   {   n a m e :   l i n u x   }   n o d e S e l e c t o r :   k u b e r n e t e s . i o / o s :   l i n u x   c o n t a i n e r s :   -   n a m e :   e x a m p l e - c o n t a i n e r   i m a g e :   ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_4_8174"
  },
  {
    "question": "What is hostPath FileOrCreate configuration example?",
    "answer": "T h e   f o l l o w i n g   m a n i f e s t   d e f i n e s   a   P o d   t h a t   m o u n t s   / v a r / l o c a l / a a a   i n s i d e   t h e   s i n g l e   c o n t a i n e r   i n   t h e   P o d .   I f   t h e   n o d e   d o e s   n o t   a l r e a d y   h a v e   a   p a t h   / v a r / l o c a l / a a a ,   t h e   k u b e l e t   c r e a t e s   i t   a s   a   d i r e c t o r y   a n d   t h e n   m o u n t s   i t   i n t o   t h e   P o d .   I f   / v a r / l o c a l / a a a   a l r e a d y   e x i s t s   b u t   i s   n o t   a   d i r e c t o r y ,   t h e   P o d   f a i l s .   A d d i t i o n a l l y ,   t h e   k u b e l e t   a t t e m p t s   t o   m a k e   a   f i l e   n a m e d   / v a r / l o c a l / a a a / 1 . t x t   i n s i d e   t h a t   d i r e c t o r y   ( a s   s e e n   f r o m   t h e   h o s t ) ;   i f   s o m e t h i n g   a l r e a d y   e x i s t s   a t   t h a t   p a t h   a n d   i s n ' t   a   r e g u l a r   f i l e ,   t h e   P o d   f a i l s .   H e r e ' s   t h e   e x a m p l e   m a n i f e s t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t - w e b s e r v e r   s p e c :   o s :   {   n a m e :   l i n u x   }   n o d e S e l e c t o r :   k u b e r n e t e s . i o / o s :   l i n u x   c o n t a i n e r s :   -   n a m e :   t e s t - w e b s e r v e r   i m a g e :   r e g i s t r y . k 8 s . i o / t e s t - w e b s e r v e r : l a t e s t   v o l u m e M o u n t s :   -   m o u n t P a t h :   / v a r / l o c a l / a a a   n a m e :   m y d i r   -   m o u n t P a t h :   / v a r / l o c a l / a a a / 1 . t x t   n a m e :   m y f i l e   v o l u m e s :   -   n a m e :   m y d i r   h o s t P a t h :   #   E n s u r e   t h e   f i l e   d i r e c t o r y   i s   c r e a t e d .   p a t h :   / v a r / l o c a l / a a a   t y p e :   D i r e c t o r y O r C r e a t e   -   n a m e :   m y f i l e   h o s t P a t h :   p a t h :   / v a r / l o c a l / ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_4_8175"
  },
  {
    "question": "What is image?",
    "answer": "A n   i m a g e   v o l u m e   s o u r c e   r e p r e s e n t s   a n   O C I   o b j e c t   ( a   c o n t a i n e r   i m a g e   o r   a r t i f a c t )   w h i c h   i s   a v a i l a b l e   o n   t h e   k u b e l e t ' s   h o s t   m a c h i n e .   A n   e x a m p l e   o f   u s i n g   t h e   i m a g e   v o l u m e   s o u r c e   i s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   i m a g e - v o l u m e   s p e c :   c o n t a i n e r s :   -   n a m e :   s h e l l   c o m m a n d :   [ \" s l e e p \" ,   \" i n f i n i t y \" ]   i m a g e :   d e b i a n   v o l u m e M o u n t s :   -   n a m e :   v o l u m e   m o u n t P a t h :   / v o l u m e   v o l u m e s :   -   n a m e :   v o l u m e   i m a g e :   r e f e r e n c e :   q u a y . i o / c r i o / a r t i f a c t : v 2   p u l l P o l i c y :   I f N o t P r e s e n t   T h e   v o l u m e   i s   r e s o l v e d   a t   p o d   s t a r t u p   d e p e n d i n g   o n   w h i c h   p u l l P o l i c y   v a l u e   i s   p r o v i d e d :   T h e   v o l u m e   g e t s   r e - r e s o l v e d   i f   t h e   p o d   g e t s   d e l e t e d   a n d   r e c r e a t e d ,   w h i c h   m e a n s   t h a t   n e w   r e m o t e   c o n t e n t   w i l l   b e c o m e   a v a i l a b l e   o n   p o d   r e c r e a t i o n .   A   f a i l u r e   t o   r e s o l v e   o r   p u l l   t h e   i m a g e   d u r i n g   p o d   s t a r t u p   w i l l   b l o c k   c o n t a i n e r s   f r o m   s t a r t i n g   a n d   m a y   a d d   s i g n i f i c a n t   l a t e n c y .   F a i l u r e s   w i l l   b e   r e t r i e d   u s i n g   n o r m a l   v o l u m e   b a c k o f f   a n d   w i l l   b e   r e p o r t e d   o n   t h e   p o d   r e a s o n   a n d   m e s s a g e .   T h e   t y p e s   o f   o b j e c t s   t h a t   m a y   b e   m o u n t e d   b y   t h i s   v o l u m e   a r e   d e f i n e d   b y   t h e   c o n t a i n e r   r u n ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_3_8176"
  },
  {
    "question": "What is iscsi?",
    "answer": "A n   i s c s i   v o l u m e   a l l o w s   a n   e x i s t i n g   i S C S I   ( S C S I   o v e r   I P )   v o l u m e   t o   b e   m o u n t e d   i n t o   y o u r   P o d .   U n l i k e   e m p t y D i r ,   w h i c h   i s   e r a s e d   w h e n   a   P o d   i s   r e m o v e d ,   t h e   c o n t e n t s   o f   a n   i s c s i   v o l u m e   a r e   p r e s e r v e d   a n d   t h e   v o l u m e   i s   m e r e l y   u n m o u n t e d .   T h i s   m e a n s   t h a t   a n   i s c s i   v o l u m e   c a n   b e   p r e - p o p u l a t e d   w i t h   d a t a ,   a n d   t h a t   d a t a   c a n   b e   s h a r e d   b e t w e e n   p o d s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_3_8177"
  },
  {
    "question": "What is Note:?",
    "answer": "A   f e a t u r e   o f   i S C S I   i s   t h a t   i t   c a n   b e   m o u n t e d   a s   r e a d - o n l y   b y   m u l t i p l e   c o n s u m e r s   s i m u l t a n e o u s l y .   T h i s   m e a n s   t h a t   y o u   c a n   p r e - p o p u l a t e   a   v o l u m e   w i t h   y o u r   d a t a s e t   a n d   t h e n   s e r v e   i t   i n   p a r a l l e l   f r o m   a s   m a n y   P o d s   a s   y o u   n e e d .   U n f o r t u n a t e l y ,   i S C S I   v o l u m e s   c a n   o n l y   b e   m o u n t e d   b y   a   s i n g l e   c o n s u m e r   i n   r e a d - w r i t e   m o d e .   S i m u l t a n e o u s   w r i t e r s   a r e   n o t   a l l o w e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_4_8178"
  },
  {
    "question": "What is local?",
    "answer": "A   l o c a l   v o l u m e   r e p r e s e n t s   a   m o u n t e d   l o c a l   s t o r a g e   d e v i c e   s u c h   a s   a   d i s k ,   p a r t i t i o n   o r   d i r e c t o r y .   L o c a l   v o l u m e s   c a n   o n l y   b e   u s e d   a s   a   s t a t i c a l l y   c r e a t e d   P e r s i s t e n t V o l u m e .   D y n a m i c   p r o v i s i o n i n g   i s   n o t   s u p p o r t e d .   C o m p a r e d   t o   h o s t P a t h   v o l u m e s ,   l o c a l   v o l u m e s   a r e   u s e d   i n   a   d u r a b l e   a n d   p o r t a b l e   m a n n e r   w i t h o u t   m a n u a l l y   s c h e d u l i n g   p o d s   t o   n o d e s .   T h e   s y s t e m   i s   a w a r e   o f   t h e   v o l u m e ' s   n o d e   c o n s t r a i n t s   b y   l o o k i n g   a t   t h e   n o d e   a f f i n i t y   o n   t h e   P e r s i s t e n t V o l u m e .   H o w e v e r ,   l o c a l   v o l u m e s   a r e   s u b j e c t   t o   t h e   a v a i l a b i l i t y   o f   t h e   u n d e r l y i n g   n o d e   a n d   a r e   n o t   s u i t a b l e   f o r   a l l   a p p l i c a t i o n s .   I f   a   n o d e   b e c o m e s   u n h e a l t h y ,   t h e n   t h e   l o c a l   v o l u m e   b e c o m e s   i n a c c e s s i b l e   t o   t h e   p o d .   T h e   p o d   u s i n g   t h i s   v o l u m e   i s   u n a b l e   t o   r u n .   A p p l i c a t i o n s   u s i n g   l o c a l   v o l u m e s   m u s t   b e   a b l e   t o   t o l e r a t e   t h i s   r e d u c e d   a v a i l a b i l i t y ,   a s   w e l l   a s   p o t e n t i a l   d a t a   l o s s ,   d e p e n d i n g   o n   t h e   d u r a b i l i t y   c h a r a c t e r i s t i c s   o f   t h e   u n d e r l y i n g   d i s k .   T h e   f o l l o w i n g   e x a m p l e   s h o w s   a   P e r s i s t e n t V o l u m e   u s i n g   a   l o c a l   v o l u m e   a n d   n o d e A f f i n i t y :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_3_8179"
  },
  {
    "question": "What is nfs?",
    "answer": "A n   n f s   v o l u m e   a l l o w s   a n   e x i s t i n g   N F S   ( N e t w o r k   F i l e   S y s t e m )   s h a r e   t o   b e   m o u n t e d   i n t o   a   P o d .   U n l i k e   e m p t y D i r ,   w h i c h   i s   e r a s e d   w h e n   a   P o d   i s   r e m o v e d ,   t h e   c o n t e n t s   o f   a n   n f s   v o l u m e   a r e   p r e s e r v e d   a n d   t h e   v o l u m e   i s   m e r e l y   u n m o u n t e d .   T h i s   m e a n s   t h a t   a n   N F S   v o l u m e   c a n   b e   p r e - p o p u l a t e d   w i t h   d a t a ,   a n d   t h a t   d a t a   c a n   b e   s h a r e d   b e t w e e n   p o d s .   N F S   c a n   b e   m o u n t e d   b y   m u l t i p l e   w r i t e r s   s i m u l t a n e o u s l y .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t - p d   s p e c :   c o n t a i n e r s :   -   i m a g e :   r e g i s t r y . k 8 s . i o / t e s t - w e b s e r v e r   n a m e :   t e s t - c o n t a i n e r   v o l u m e M o u n t s :   -   m o u n t P a t h :   / m y - n f s - d a t a   n a m e :   t e s t - v o l u m e   v o l u m e s :   -   n a m e :   t e s t - v o l u m e   n f s :   s e r v e r :   m y - n f s - s e r v e r . e x a m p l e . c o m   p a t h :   / m y - n f s - v o l u m e   r e a d O n l y :   t r u e",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_3_8180"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   m u s t   h a v e   y o u r   o w n   N F S   s e r v e r   r u n n i n g   w i t h   t h e   s h a r e   e x p o r t e d   b e f o r e   y o u   c a n   u s e   i t .   A l s o   n o t e   t h a t   y o u   c a n ' t   s p e c i f y   N F S   m o u n t   o p t i o n s   i n   a   P o d   s p e c .   Y o u   c a n   e i t h e r   s e t   m o u n t   o p t i o n s   s e r v e r - s i d e   o r   u s e   / e t c / n f s m o u n t . c o n f .   Y o u   c a n   a l s o   m o u n t   N F S   v o l u m e s   v i a   P e r s i s t e n t V o l u m e s   w h i c h   d o   a l l o w   y o u   t o   s e t   m o u n t   o p t i o n s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_4_8181"
  },
  {
    "question": "What is persistentVolumeClaim?",
    "answer": "A   p e r s i s t e n t V o l u m e C l a i m   v o l u m e   i s   u s e d   t o   m o u n t   a   P e r s i s t e n t V o l u m e   i n t o   a   P o d .   P e r s i s t e n t V o l u m e C l a i m s   a r e   a   w a y   f o r   u s e r s   t o   \" c l a i m \"   d u r a b l e   s t o r a g e   ( s u c h   a s   a n   i S C S I   v o l u m e )   w i t h o u t   k n o w i n g   t h e   d e t a i l s   o f   t h e   p a r t i c u l a r   c l o u d   e n v i r o n m e n t .   S e e   t h e   i n f o r m a t i o n   a b o u t   P e r s i s t e n t V o l u m e s   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_3_8182"
  },
  {
    "question": "What is portworxVolume (deprecated)?",
    "answer": "A   p o r t w o r x V o l u m e   i s   a n   e l a s t i c   b l o c k   s t o r a g e   l a y e r   t h a t   r u n s   h y p e r c o n v e r g e d   w i t h   K u b e r n e t e s .   P o r t w o r x   f i n g e r p r i n t s   s t o r a g e   i n   a   s e r v e r ,   t i e r s   b a s e d   o n   c a p a b i l i t i e s ,   a n d   a g g r e g a t e s   c a p a c i t y   a c r o s s   m u l t i p l e   s e r v e r s .   P o r t w o r x   r u n s   i n - g u e s t   i n   v i r t u a l   m a c h i n e s   o r   o n   b a r e   m e t a l   L i n u x   n o d e s .   A   p o r t w o r x V o l u m e   c a n   b e   d y n a m i c a l l y   c r e a t e d   t h r o u g h   K u b e r n e t e s   o r   i t   c a n   a l s o   b e   p r e - p r o v i s i o n e d   a n d   r e f e r e n c e d   i n s i d e   a   P o d .   H e r e   i s   a n   e x a m p l e   P o d   r e f e r e n c i n g   a   p r e - p r o v i s i o n e d   P o r t w o r x   v o l u m e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t - p o r t w o r x - v o l u m e - p o d   s p e c :   c o n t a i n e r s :   -   i m a g e :   r e g i s t r y . k 8 s . i o / t e s t - w e b s e r v e r   n a m e :   t e s t - c o n t a i n e r   v o l u m e M o u n t s :   -   m o u n t P a t h :   / m n t   n a m e :   p x v o l   v o l u m e s :   -   n a m e :   p x v o l   #   T h i s   P o r t w o r x   v o l u m e   m u s t   a l r e a d y   e x i s t .   p o r t w o r x V o l u m e :   v o l u m e I D :   \" p x v o l \"   f s T y p e :   \" < f s - t y p e > \"",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_3_8183"
  },
  {
    "question": "What is Portworx CSI migration?",
    "answer": "I n   K u b e r n e t e s   1 . 3 4 ,   a l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   P o r t w o r x   v o l u m e s   a r e   r e d i r e c t e d   t o   t h e   p x d . p o r t w o r x . c o m   C o n t a i n e r   S t o r a g e   I n t e r f a c e   ( C S I )   D r i v e r   b y   d e f a u l t . P o r t w o r x   C S I   D r i v e r   m u s t   b e   i n s t a l l e d   o n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_4_8184"
  },
  {
    "question": "What is projected?",
    "answer": "A   p r o j e c t e d   v o l u m e   m a p s   s e v e r a l   e x i s t i n g   v o l u m e   s o u r c e s   i n t o   t h e   s a m e   d i r e c t o r y .   F o r   m o r e   d e t a i l s ,   s e e   p r o j e c t e d   v o l u m e s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_3_8185"
  },
  {
    "question": "What is rbd (removed)?",
    "answer": "K u b e r n e t e s   1 . 3 4   d o e s   n o t   i n c l u d e   a   r b d   v o l u m e   t y p e .   T h e   R a d o s   B l o c k   D e v i c e   ( R B D )   i n - t r e e   s t o r a g e   d r i v e r   a n d   i t s   c s i   m i g r a t i o n   s u p p o r t   w e r e   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 2 8   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 3 1   r e l e a s e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_3_8186"
  },
  {
    "question": "What is secret?",
    "answer": "A   s e c r e t   v o l u m e   i s   u s e d   t o   p a s s   s e n s i t i v e   i n f o r m a t i o n ,   s u c h   a s   p a s s w o r d s ,   t o   P o d s .   Y o u   c a n   s t o r e   s e c r e t s   i n   t h e   K u b e r n e t e s   A P I   a n d   m o u n t   t h e m   a s   f i l e s   f o r   u s e   b y   p o d s   w i t h o u t   c o u p l i n g   t o   K u b e r n e t e s   d i r e c t l y .   s e c r e t   v o l u m e s   a r e   b a c k e d   b y   t m p f s   ( a   R A M - b a c k e d   f i l e s y s t e m )   s o   t h e y   a r e   n e v e r   w r i t t e n   t o   n o n - v o l a t i l e   s t o r a g e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_3_8187"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   m u s t   c r e a t e   a   S e c r e t   i n   t h e   K u b e r n e t e s   A P I   b e f o r e   y o u   c a n   u s e   i t . A   S e c r e t   i s   a l w a y s   m o u n t e d   a s   r e a d O n l y . A   c o n t a i n e r   u s i n g   a   S e c r e t   a s   a   s u b P a t h   v o l u m e   m o u n t   w i l l   n o t   r e c e i v e   S e c r e t   u p d a t e s .   Y o u   m u s t   c r e a t e   a   S e c r e t   i n   t h e   K u b e r n e t e s   A P I   b e f o r e   y o u   c a n   u s e   i t .   A   S e c r e t   i s   a l w a y s   m o u n t e d   a s   r e a d O n l y .   A   c o n t a i n e r   u s i n g   a   S e c r e t   a s   a   s u b P a t h   v o l u m e   m o u n t   w i l l   n o t   r e c e i v e   S e c r e t   u p d a t e s .   F o r   m o r e   d e t a i l s ,   s e e   C o n f i g u r i n g   S e c r e t s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_4_8188"
  },
  {
    "question": "What is vsphereVolume (deprecated)?",
    "answer": "I n   K u b e r n e t e s   1 . 3 4 ,   a l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   v s p h e r e V o l u m e   t y p e   a r e   r e d i r e c t e d   t o   t h e   c s i . v s p h e r e . v m w a r e . c o m   C S I   d r i v e r .   T h e   v s p h e r e V o l u m e   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 1 9   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 3 0   r e l e a s e .   T h e   K u b e r n e t e s   p r o j e c t   s u g g e s t s   t h a t   y o u   u s e   t h e   v S p h e r e   C S I   t h i r d   p a r t y   s t o r a g e   d r i v e r   i n s t e a d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_3_8189"
  },
  {
    "question": "What is Using subPath?",
    "answer": "S o m e t i m e s ,   i t   i s   u s e f u l   t o   s h a r e   o n e   v o l u m e   f o r   m u l t i p l e   u s e s   i n   a   s i n g l e   p o d .   T h e   v o l u m e M o u n t s [ * ] . s u b P a t h   p r o p e r t y   s p e c i f i e s   a   s u b - p a t h   i n s i d e   t h e   r e f e r e n c e d   v o l u m e   i n s t e a d   o f   i t s   r o o t .   T h e   f o l l o w i n g   e x a m p l e   s h o w s   h o w   t o   c o n f i g u r e   a   P o d   w i t h   a   L A M P   s t a c k   ( L i n u x   A p a c h e   M y S Q L   P H P )   u s i n g   a   s i n g l e ,   s h a r e d   v o l u m e .   T h i s   s a m p l e   s u b P a t h   c o n f i g u r a t i o n   i s   n o t   r e c o m m e n d e d   f o r   p r o d u c t i o n   u s e .   T h e   P H P   a p p l i c a t i o n ' s   c o d e   a n d   a s s e t s   m a p   t o   t h e   v o l u m e ' s   h t m l   f o l d e r   a n d   t h e   M y S Q L   d a t a b a s e   i s   s t o r e d   i n   t h e   v o l u m e ' s   m y s q l   f o l d e r .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y - l a m p - s i t e   s p e c :   c o n t a i n e r s :   -   n a m e :   m y s q l   i m a g e :   m y s q l   e n v :   -   n a m e :   M Y S Q L _ R O O T _ P A S S W O R D   v a l u e :   \" r o o t p a s s w d \"   v o l u m e M o u n t s :   -   m o u n t P a t h :   / v a r / l i b / m y s q l   n a m e :   s i t e - d a t a   s u b P a t h :   m y s q l   -   n a m e :   p h p   i m a g e :   p h p : 7 . 0 - a p a c h e   v o l u m e M o u n t s :   -   m o u n t P a t h :   / v a r / w w w / h t m l   n a m e :   s i t e - d a t a   s u b P a t h :   h t m l   v o l u m e s :   -   n a m e :   s i t e - d a t a   p e r s i s t e n t V o l u m e C l a i m :   c l a i m N a m e :   m y - l a m p - s i t e - d a t a",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_2_8190"
  },
  {
    "question": "What is Using subPath with expanded environment variables?",
    "answer": "U s e   t h e   s u b P a t h E x p r   f i e l d   t o   c o n s t r u c t   s u b P a t h   d i r e c t o r y   n a m e s   f r o m   d o w n w a r d   A P I   e n v i r o n m e n t   v a r i a b l e s .   T h e   s u b P a t h   a n d   s u b P a t h E x p r   p r o p e r t i e s   a r e   m u t u a l l y   e x c l u s i v e .   I n   t h i s   e x a m p l e ,   a   P o d   u s e s   s u b P a t h E x p r   t o   c r e a t e   a   d i r e c t o r y   p o d 1   w i t h i n   t h e   h o s t P a t h   v o l u m e   / v a r / l o g / p o d s .   T h e   h o s t P a t h   v o l u m e   t a k e s   t h e   P o d   n a m e   f r o m   t h e   d o w n w a r d A P I .   T h e   h o s t   d i r e c t o r y   / v a r / l o g / p o d s / p o d 1   i s   m o u n t e d   a t   / l o g s   i n   t h e   c o n t a i n e r .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p o d 1   s p e c :   c o n t a i n e r s :   -   n a m e :   c o n t a i n e r 1   e n v :   -   n a m e :   P O D _ N A M E   v a l u e F r o m :   f i e l d R e f :   a p i V e r s i o n :   v 1   f i e l d P a t h :   m e t a d a t a . n a m e   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [   \" s h \" ,   \" - c \" ,   \" w h i l e   [   t r u e   ] ;   d o   e c h o   ' H e l l o ' ;   s l e e p   1 0 ;   d o n e   |   t e e   - a   / l o g s / h e l l o . t x t \"   ]   v o l u m e M o u n t s :   -   n a m e :   w o r k d i r 1   m o u n t P a t h :   / l o g s   #   T h e   v a r i a b l e   e x p a n s i o n   u s e s   r o u n d   b r a c k e t s   ( n o t   c u r l y   b r a c k e t s ) .   s u b P a t h E x p r :   $ ( P O D _ N A M E )   r e s t a r t P o l i c y :   N e v e r   v o l u m e s :   -   n a m e :   w o r k d i r 1   h o s t P a t h :   p a t h :   / v a r / l o g / p o d s",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_3_8191"
  },
  {
    "question": "What is Resources?",
    "answer": "T h e   s t o r a g e   m e d i u m   ( s u c h   a s   D i s k   o r   S S D )   o f   a n   e m p t y D i r   v o l u m e   i s   d e t e r m i n e d   b y   t h e   m e d i u m   o f   t h e   f i l e s y s t e m   h o l d i n g   t h e   k u b e l e t   r o o t   d i r   ( t y p i c a l l y   / v a r / l i b / k u b e l e t ) .   T h e r e   i s   n o   l i m i t   o n   h o w   m u c h   s p a c e   a n   e m p t y D i r   o r   h o s t P a t h   v o l u m e   c a n   c o n s u m e ,   a n d   n o   i s o l a t i o n   b e t w e e n   c o n t a i n e r s   o r   p o d s .   T o   l e a r n   a b o u t   r e q u e s t i n g   s p a c e   u s i n g   a   r e s o u r c e   s p e c i f i c a t i o n ,   s e e   h o w   t o   m a n a g e   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_2_8192"
  },
  {
    "question": "What is Out-of-tree volume plugins?",
    "answer": "T h e   o u t - o f - t r e e   v o l u m e   p l u g i n s   i n c l u d e   C o n t a i n e r   S t o r a g e   I n t e r f a c e   ( C S I ) ,   a n d   a l s o   F l e x V o l u m e   ( w h i c h   i s   d e p r e c a t e d ) .   T h e s e   p l u g i n s   e n a b l e   s t o r a g e   v e n d o r s   t o   c r e a t e   c u s t o m   s t o r a g e   p l u g i n s   w i t h o u t   a d d i n g   t h e i r   p l u g i n   s o u r c e   c o d e   t o   t h e   K u b e r n e t e s   r e p o s i t o r y .   P r e v i o u s l y ,   a l l   v o l u m e   p l u g i n s   w e r e   \" i n - t r e e \" .   T h e   \" i n - t r e e \"   p l u g i n s   w e r e   b u i l t ,   l i n k e d ,   c o m p i l e d ,   a n d   s h i p p e d   w i t h   t h e   c o r e   K u b e r n e t e s   b i n a r i e s .   T h i s   m e a n t   t h a t   a d d i n g   a   n e w   s t o r a g e   s y s t e m   t o   K u b e r n e t e s   ( a   v o l u m e   p l u g i n )   r e q u i r e d   c h e c k i n g   c o d e   i n t o   t h e   c o r e   K u b e r n e t e s   c o d e   r e p o s i t o r y .   B o t h   C S I   a n d   F l e x V o l u m e   a l l o w   v o l u m e   p l u g i n s   t o   b e   d e v e l o p e d   i n d e p e n d e n t l y   o f   t h e   K u b e r n e t e s   c o d e   b a s e ,   a n d   d e p l o y e d   ( i n s t a l l e d )   o n   K u b e r n e t e s   c l u s t e r s   a s   e x t e n s i o n s .   F o r   s t o r a g e   v e n d o r s   l o o k i n g   t o   c r e a t e   a n   o u t - o f - t r e e   v o l u m e   p l u g i n ,   p l e a s e   r e f e r   t o   t h e   v o l u m e   p l u g i n   F A Q .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_2_8193"
  },
  {
    "question": "What is csi?",
    "answer": "C o n t a i n e r   S t o r a g e   I n t e r f a c e   ( C S I )   d e f i n e s   a   s t a n d a r d   i n t e r f a c e   f o r   c o n t a i n e r   o r c h e s t r a t i o n   s y s t e m s   ( l i k e   K u b e r n e t e s )   t o   e x p o s e   a r b i t r a r y   s t o r a g e   s y s t e m s   t o   t h e i r   c o n t a i n e r   w o r k l o a d s .   P l e a s e   r e a d   t h e   C S I   d e s i g n   p r o p o s a l   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_3_8194"
  },
  {
    "question": "What is Note:?",
    "answer": "O n c e   a   C S I - c o m p a t i b l e   v o l u m e   d r i v e r   i s   d e p l o y e d   o n   a   K u b e r n e t e s   c l u s t e r ,   u s e r s   m a y   u s e   t h e   c s i   v o l u m e   t y p e   t o   a t t a c h   o r   m o u n t   t h e   v o l u m e s   e x p o s e d   b y   t h e   C S I   d r i v e r .   A   c s i   v o l u m e   c a n   b e   u s e d   i n   a   P o d   i n   t h r e e   d i f f e r e n t   w a y s :   t h r o u g h   a   r e f e r e n c e   t o   a   P e r s i s t e n t V o l u m e C l a i m w i t h   a   g e n e r i c   e p h e m e r a l   v o l u m e w i t h   a   C S I   e p h e m e r a l   v o l u m e   i f   t h e   d r i v e r   s u p p o r t s   t h a t   T h e   f o l l o w i n g   f i e l d s   a r e   a v a i l a b l e   t o   s t o r a g e   a d m i n i s t r a t o r s   t o   c o n f i g u r e   a   C S I   p e r s i s t e n t   v o l u m e :   d r i v e r :   A   s t r i n g   v a l u e   t h a t   s p e c i f i e s   t h e   n a m e   o f   t h e   v o l u m e   d r i v e r   t o   u s e .   T h i s   v a l u e   m u s t   c o r r e s p o n d   t o   t h e   v a l u e   r e t u r n e d   i n   t h e   G e t P l u g i n I n f o R e s p o n s e   b y   t h e   C S I   d r i v e r   a s   d e f i n e d   i n   t h e   C S I   s p e c .   I t   i s   u s e d   b y   K u b e r n e t e s   t o   i d e n t i f y   w h i c h   C S I   d r i v e r   t o   c a l l   o u t   t o ,   a n d   b y   C S I   d r i v e r   c o m p o n e n t s   t o   i d e n t i f y   w h i c h   P V   o b j e c t s   b e l o n g   t o   t h e   C S I   d r i v e r . v o l u m e H a n d l e :   A   s t r i n g   v a l u e   t h a t   u n i q u e l y   i d e n t i f i e s   t h e   v o l u m e .   T h i s   v a l u e   m u s t   c o r r e s p o n d   t o   t h e   v a l u e   r e t u r n e d   i n   t h e   v o l u m e . i d   f i e l d   o f   t h e   C r e a t e V o l u m e R e s p o n s e   b y   t h e   C S I   d r i v e r   a s   d e f i ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_4_8195"
  },
  {
    "question": "What is CSI raw block volume support?",
    "answer": "V e n d o r s   w i t h   e x t e r n a l   C S I   d r i v e r s   c a n   i m p l e m e n t   r a w   b l o c k   v o l u m e   s u p p o r t   i n   K u b e r n e t e s   w o r k l o a d s .   Y o u   c a n   s e t   u p   y o u r   P e r s i s t e n t V o l u m e / P e r s i s t e n t V o l u m e C l a i m   w i t h   r a w   b l o c k   v o l u m e   s u p p o r t   a s   u s u a l ,   w i t h o u t   a n y   C S I - s p e c i f i c   c h a n g e s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_4_8196"
  },
  {
    "question": "What is CSI ephemeral volumes?",
    "answer": "Y o u   c a n   d i r e c t l y   c o n f i g u r e   C S I   v o l u m e s   w i t h i n   t h e   P o d   s p e c i f i c a t i o n .   V o l u m e s   s p e c i f i e d   i n   t h i s   w a y   a r e   e p h e m e r a l   a n d   d o   n o t   p e r s i s t   a c r o s s   p o d   r e s t a r t s .   S e e   E p h e m e r a l   V o l u m e s   f o r   m o r e   i n f o r m a t i o n .   F o r   m o r e   i n f o r m a t i o n   o n   h o w   t o   d e v e l o p   a   C S I   d r i v e r ,   r e f e r   t o   t h e   k u b e r n e t e s - c s i   d o c u m e n t a t i o n",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_4_8197"
  },
  {
    "question": "What is Windows CSI proxy?",
    "answer": "C S I   n o d e   p l u g i n s   n e e d   t o   p e r f o r m   v a r i o u s   p r i v i l e g e d   o p e r a t i o n s   l i k e   s c a n n i n g   o f   d i s k   d e v i c e s   a n d   m o u n t i n g   o f   f i l e   s y s t e m s .   T h e s e   o p e r a t i o n s   d i f f e r   f o r   e a c h   h o s t   o p e r a t i n g   s y s t e m .   F o r   L i n u x   w o r k e r   n o d e s ,   c o n t a i n e r i z e d   C S I   n o d e   p l u g i n s   a r e   t y p i c a l l y   d e p l o y e d   a s   p r i v i l e g e d   c o n t a i n e r s .   F o r   W i n d o w s   w o r k e r   n o d e s ,   p r i v i l e g e d   o p e r a t i o n s   f o r   c o n t a i n e r i z e d   C S I   n o d e   p l u g i n s   i s   s u p p o r t e d   u s i n g   c s i - p r o x y ,   a   c o m m u n i t y - m a n a g e d ,   s t a n d - a l o n e   b i n a r y   t h a t   n e e d s   t o   b e   p r e - i n s t a l l e d   o n   e a c h   W i n d o w s   n o d e .   F o r   m o r e   d e t a i l s ,   r e f e r   t o   t h e   d e p l o y m e n t   g u i d e   o f   t h e   C S I   p l u g i n   y o u   w i s h   t o   d e p l o y .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_4_8198"
  },
  {
    "question": "What is Migrating to CSI drivers from in-tree plugins?",
    "answer": "T h e   C S I M i g r a t i o n   f e a t u r e   d i r e c t s   o p e r a t i o n s   a g a i n s t   e x i s t i n g   i n - t r e e   p l u g i n s   t o   c o r r e s p o n d i n g   C S I   p l u g i n s   ( w h i c h   a r e   e x p e c t e d   t o   b e   i n s t a l l e d   a n d   c o n f i g u r e d ) .   A s   a   r e s u l t ,   o p e r a t o r s   d o   n o t   h a v e   t o   m a k e   a n y   c o n f i g u r a t i o n   c h a n g e s   t o   e x i s t i n g   S t o r a g e   C l a s s e s ,   P e r s i s t e n t V o l u m e s   o r   P e r s i s t e n t V o l u m e C l a i m s   ( r e f e r r i n g   t o   i n - t r e e   p l u g i n s )   w h e n   t r a n s i t i o n i n g   t o   a   C S I   d r i v e r   t h a t   s u p e r s e d e s   a n   i n - t r e e   p l u g i n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_4_8199"
  },
  {
    "question": "What is Note:?",
    "answer": "E x i s t i n g   P V s   c r e a t e d   b y   a n   i n - t r e e   v o l u m e   p l u g i n   c a n   s t i l l   b e   u s e d   i n   t h e   f u t u r e   w i t h o u t   a n y   c o n f i g u r a t i o n   c h a n g e s ,   e v e n   a f t e r   t h e   m i g r a t i o n   t o   C S I   i s   c o m p l e t e d   f o r   t h a t   v o l u m e   t y p e ,   a n d   e v e n   a f t e r   y o u   u p g r a d e   t o   a   v e r s i o n   o f   K u b e r n e t e s   t h a t   d o e s n ' t   h a v e   c o m p i l e d - i n   s u p p o r t   f o r   t h a t   k i n d   o f   s t o r a g e .   A s   p a r t   o f   t h a t   m i g r a t i o n ,   y o u   -   o r   a n o t h e r   c l u s t e r   a d m i n i s t r a t o r   -   m u s t   h a v e   i n s t a l l e d   a n d   c o n f i g u r e d   t h e   a p p r o p r i a t e   C S I   d r i v e r   f o r   t h a t   s t o r a g e .   T h e   c o r e   o f   K u b e r n e t e s   d o e s   n o t   i n s t a l l   t h a t   s o f t w a r e   f o r   y o u .   A f t e r   t h a t   m i g r a t i o n ,   y o u   c a n   a l s o   d e f i n e   n e w   P V C s   a n d   P V s   t h a t   r e f e r   t o   t h e   l e g a c y ,   b u i l t - i n   s t o r a g e   i n t e g r a t i o n s .   P r o v i d e d   y o u   h a v e   t h e   a p p r o p r i a t e   C S I   d r i v e r   i n s t a l l e d   a n d   c o n f i g u r e d ,   t h e   P V   c r e a t i o n   c o n t i n u e s   t o   w o r k ,   e v e n   f o r   b r a n d   n e w   v o l u m e s .   T h e   a c t u a l   s t o r a g e   m a n a g e m e n t   n o w   h a p p e n s   t h r o u g h   t h e   C S I   d r i v e r .   T h e   o p e r a t i o n s   a n d   f e a t u r e s   t h a t   a r e   s u p p o r t e d   i n c l u d e :   p r o v i s i o n i n g / d e l e t e ,   a t t a c h / d e t a c h ,   m o u n t / u n m o u n t   a n d   r e s i z i n g   o f   v o l u m e s .   I n - t r e e   p l u g i n s   t h a t   s u p p o r t   C S I M i g r a t i o n ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_4_8200"
  },
  {
    "question": "What is flexVolume (deprecated)?",
    "answer": "F l e x V o l u m e   i s   a n   o u t - o f - t r e e   p l u g i n   i n t e r f a c e   t h a t   u s e s   a n   e x e c - b a s e d   m o d e l   t o   i n t e r f a c e   w i t h   s t o r a g e   d r i v e r s .   T h e   F l e x V o l u m e   d r i v e r   b i n a r i e s   m u s t   b e   i n s t a l l e d   i n   a   p r e - d e f i n e d   v o l u m e   p l u g i n   p a t h   o n   e a c h   n o d e   a n d   i n   s o m e   c a s e s   t h e   c o n t r o l   p l a n e   n o d e s   a s   w e l l .   P o d s   i n t e r a c t   w i t h   F l e x V o l u m e   d r i v e r s   t h r o u g h   t h e   f l e x V o l u m e   i n - t r e e   v o l u m e   p l u g i n .   T h e   f o l l o w i n g   F l e x V o l u m e   p l u g i n s ,   d e p l o y e d   a s   P o w e r S h e l l   s c r i p t s   o n   t h e   h o s t ,   s u p p o r t   W i n d o w s   n o d e s :   S M B i S C S I",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_3_8201"
  },
  {
    "question": "What is Note:?",
    "answer": "F l e x V o l u m e   i s   d e p r e c a t e d .   U s i n g   a n   o u t - o f - t r e e   C S I   d r i v e r   i s   t h e   r e c o m m e n d e d   w a y   t o   i n t e g r a t e   e x t e r n a l   s t o r a g e   w i t h   K u b e r n e t e s .   M a i n t a i n e r s   o f   F l e x V o l u m e   d r i v e r   s h o u l d   i m p l e m e n t   a   C S I   D r i v e r   a n d   h e l p   t o   m i g r a t e   u s e r s   o f   F l e x V o l u m e   d r i v e r s   t o   C S I .   U s e r s   o f   F l e x V o l u m e   s h o u l d   m o v e   t h e i r   w o r k l o a d s   t o   u s e   t h e   e q u i v a l e n t   C S I   D r i v e r .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_4_8202"
  },
  {
    "question": "What is Caution:?",
    "answer": "M o u n t   p r o p a g a t i o n   a l l o w s   f o r   s h a r i n g   v o l u m e s   m o u n t e d   b y   a   c o n t a i n e r   t o   o t h e r   c o n t a i n e r s   i n   t h e   s a m e   p o d ,   o r   e v e n   t o   o t h e r   p o d s   o n   t h e   s a m e   n o d e .   M o u n t   p r o p a g a t i o n   o f   a   v o l u m e   i s   c o n t r o l l e d   b y   t h e   m o u n t P r o p a g a t i o n   f i e l d   i n   c o n t a i n e r s [ * ] . v o l u m e M o u n t s .   I t s   v a l u e s   a r e :   N o n e   -   T h i s   v o l u m e   m o u n t   w i l l   n o t   r e c e i v e   a n y   s u b s e q u e n t   m o u n t s   t h a t   a r e   m o u n t e d   t o   t h i s   v o l u m e   o r   a n y   o f   i t s   s u b d i r e c t o r i e s   b y   t h e   h o s t .   I n   s i m i l a r   f a s h i o n ,   n o   m o u n t s   c r e a t e d   b y   t h e   c o n t a i n e r   w i l l   b e   v i s i b l e   o n   t h e   h o s t .   T h i s   i s   t h e   d e f a u l t   m o d e . T h i s   m o d e   i s   e q u a l   t o   r p r i v a t e   m o u n t   p r o p a g a t i o n   a s   d e s c r i b e d   i n   m o u n t ( 8 ) H o w e v e r ,   t h e   C R I   r u n t i m e   m a y   c h o o s e   r s l a v e   m o u n t   p r o p a g a t i o n   ( i . e . ,   H o s t T o C o n t a i n e r )   i n s t e a d ,   w h e n   r p r i v a t e   p r o p a g a t i o n   i s   n o t   a p p l i c a b l e .   c r i - d o c k e r d   ( D o c k e r )   i s   k n o w n   t o   c h o o s e   r s l a v e   m o u n t   p r o p a g a t i o n   w h e n   t h e   m o u n t   s o u r c e   c o n t a i n s   t h e   D o c k e r   d a e m o n ' s   r o o t   d i r e c t o r y   ( / v a r / l i b / d o c k e r ) . H o s t T o C o n t a i n e r   -   T h i s   v o l u m e   m o u n t   w i l l   r e c e i v e   a l l   s u b s e q u e n t   m o u n t s   t h a t   a r e   m o u n t e d   t o   t h i s   v o l u m e   o r   a n y   o f   i t s   s u b d i r e c t ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_4_8203"
  },
  {
    "question": "What is Read-only mounts?",
    "answer": "A   m o u n t   c a n   b e   m a d e   r e a d - o n l y   b y   s e t t i n g   t h e   . s p e c . c o n t a i n e r s [ ] . v o l u m e M o u n t s [ ] . r e a d O n l y   f i e l d   t o   t r u e .   T h i s   d o e s   n o t   m a k e   t h e   v o l u m e   i t s e l f   r e a d - o n l y ,   b u t   t h a t   s p e c i f i c   c o n t a i n e r   w i l l   n o t   b e   a b l e   t o   w r i t e   t o   i t .   O t h e r   c o n t a i n e r s   i n   t h e   P o d   m a y   m o u n t   t h e   s a m e   v o l u m e   a s   r e a d - w r i t e .   O n   L i n u x ,   r e a d - o n l y   m o u n t s   a r e   n o t   r e c u r s i v e l y   r e a d - o n l y   b y   d e f a u l t .   F o r   e x a m p l e ,   c o n s i d e r   a   P o d   w h i c h   m o u n t s   t h e   h o s t s   / m n t   a s   a   h o s t P a t h   v o l u m e .   I f   t h e r e   i s   a n o t h e r   f i l e s y s t e m   m o u n t e d   r e a d - w r i t e   o n   / m n t / < S U B M O U N T >   ( s u c h   a s   t m p f s ,   N F S ,   o r   U S B   s t o r a g e ) ,   t h e   v o l u m e   m o u n t e d   i n t o   t h e   c o n t a i n e r ( s )   w i l l   a l s o   h a v e   a   w r i t e a b l e   / m n t / < S U B M O U N T > ,   e v e n   i f   t h e   m o u n t   i t s e l f   w a s   s p e c i f i e d   a s   r e a d - o n l y .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_2_8204"
  },
  {
    "question": "What is Recursive read-only mounts?",
    "answer": "R e c u r s i v e   r e a d - o n l y   m o u n t s   c a n   b e   e n a b l e d   b y   s e t t i n g   t h e   R e c u r s i v e R e a d O n l y M o u n t s   f e a t u r e   g a t e   f o r   k u b e l e t   a n d   k u b e - a p i s e r v e r ,   a n d   s e t t i n g   t h e   . s p e c . c o n t a i n e r s [ ] . v o l u m e M o u n t s [ ] . r e c u r s i v e R e a d O n l y   f i e l d   f o r   a   p o d .   T h e   a l l o w e d   v a l u e s   a r e :   D i s a b l e d   ( d e f a u l t ) :   n o   e f f e c t . E n a b l e d :   m a k e s   t h e   m o u n t   r e c u r s i v e l y   r e a d - o n l y .   N e e d s   a l l   t h e   f o l l o w i n g   r e q u i r e m e n t s   t o   b e   s a t i s f i e d : r e a d O n l y   i s   s e t   t o   t r u e m o u n t P r o p a g a t i o n   i s   u n s e t ,   o r ,   s e t   t o   N o n e T h e   h o s t   i s   r u n n i n g   w i t h   L i n u x   k e r n e l   v 5 . 1 2   o r   l a t e r T h e   C R I - l e v e l   c o n t a i n e r   r u n t i m e   s u p p o r t s   r e c u r s i v e   r e a d - o n l y   m o u n t s T h e   O C I - l e v e l   c o n t a i n e r   r u n t i m e   s u p p o r t s   r e c u r s i v e   r e a d - o n l y   m o u n t s . I t   w i l l   f a i l   i f   a n y   o f   t h e s e   i s   n o t   t r u e . I f P o s s i b l e :   a t t e m p t s   t o   a p p l y   E n a b l e d ,   a n d   f a l l s   b a c k   t o   D i s a b l e d   i f   t h e   f e a t u r e   i s   n o t   s u p p o r t e d   b y   t h e   k e r n e l   o r   t h e   r u n t i m e   c l a s s .   D i s a b l e d   ( d e f a u l t ) :   n o   e f f e c t .   E n a b l e d :   m a k e s   t h e   m o u n t   r e c u r s i v e l y   r e a d - o n l y .   N e e d s   a l l   t h e   f o l l o w i n g   r e q u i r e m e n t s   t o   b e   s a t i s f i e d :   r e a d O n l y   i s   s e t   t o   t r u e m o u n t P r o p a g a t i o n   i s   u n s e t ,   o r ,   s e t   t o   N o n e T h e   h o s t   ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_3_8205"
  },
  {
    "question": "What is Implementations?",
    "answer": "T h e   f o l l o w i n g   c o n t a i n e r   r u n t i m e s   a r e   k n o w n   t o   s u p p o r t   r e c u r s i v e   r e a d - o n l y   m o u n t s .   C R I - l e v e l :   c o n t a i n e r d ,   s i n c e   v 2 . 0 C R I - O ,   s i n c e   v 1 . 3 0   O C I - l e v e l :   r u n c ,   s i n c e   v 1 . 1 c r u n ,   s i n c e   v 1 . 8 . 6",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_4_8206"
  },
  {
    "question": "What is What's next?",
    "answer": "F o l l o w   a n   e x a m p l e   o f   d e p l o y i n g   W o r d P r e s s   a n d   M y S Q L   w i t h   P e r s i s t e n t   V o l u m e s .   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/volumes/",
    "id": "k8s_00421_section_2_8207"
  },
  {
    "question": "What is Reviewing for approvers and reviewers?",
    "answer": "Reviewing for approvers and reviewersSIG Docs Reviewers and Approvers do a few extra things when reviewing a change.Every week a specific docs approver volunteers to triage and review pull requests. This person is the \"PR Wrangler\" for the week. See the PR Wrangler scheduler for more information. To become a PR Wrangler, attend the weekly SIG Docs meeting and volunteer. Even if you are not on the schedule for the current week, you can still review pull requests (PRs) that are not already under active review.In addition to the rotation, a bot assigns reviewers and approvers for the PR based on the owners for the affected files.Reviewing a PRKubernetes documentation follows the Kubernetes code review process.Everything described in Reviewing a pull request applies, but Reviewers and Approvers should also do the following:Using the /assign Prow command to assign a specific reviewer to a PR as needed. This is extra important when it comes to requesting technical review from code contributors.Note:Look at the reviewers field in the front-matter at the top of a Markdown file to see who can provide technical review.Making sure the PR follows the Content and Style guides; link the author to the relevant part of the guide(s) if it doesn't.Using the GitHub Request Changes option when applicable to suggest changes to the PR author.Changing your review status in GitHub using the /approve or /lgtm Prow commands, if your suggestions are implemented.Commit into another person's PRLeaving PR comments is helpful, but there might be times when you need to commit into another person's PR instead.Do not \"take over\" for another person unless they explicitly ask you to, or you want to resurrect a long-abandoned PR. While it may be faster in the short term, it deprives the person of the chance to contribute.The process you use depends on whether you need to edit a file that is already in the scope of the PR, or a file that the PR has not yet touched.You can't commit into someone else's PR if either of the following things is true:If the PR author pushed their branch directly to the https://github.com/kubernetes/website/ repository. Only a reviewer with push access can commit to another user's PR.Note:Encourage the author to push their branch to their fork before opening the PR next time.The PR author explicitly disallows edits from approvers.Prow commands for reviewingProw is the Kubernetes-based CI/CD system that runs jobs against pull requests (PRs). Prow enables chatbot-style commands to handle GitHub actions across the Kubernetes organization, like adding and removing labels, closing issues, and assigning an approver. Enter Prow commands as GitHub comments using the /<command-name> format.The most common prow commands reviewers and approvers use are:Prow commands for reviewingProw CommandRole RestrictionsDescription/lgtmOrganization membersSignals that you've finished reviewing a PR and are satisfied with the changes./approveApproversApproves a PR for merging./assi",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/for-approvers/",
    "id": "k8s_00422_qa_8208"
  },
  {
    "question": "How does Reviewing for approvers and reviewers work?",
    "answer": "Reviewing for approvers and reviewersSIG Docs Reviewers and Approvers do a few extra things when reviewing a change.Every week a specific docs approver volunteers to triage and review pull requests. This person is the \"PR Wrangler\" for the week. See the PR Wrangler scheduler for more information. To become a PR Wrangler, attend the weekly SIG Docs meeting and volunteer. Even if you are not on the schedule for the current week, you can still review pull requests (PRs) that are not already under active review.In addition to the rotation, a bot assigns reviewers and approvers for the PR based on the owners for the affected files.Reviewing a PRKubernetes documentation follows the Kubernetes code review process.Everything described in Reviewing a pull request applies, but Reviewers and Approvers should also do the following:Using the /assign Prow command to assign a specific reviewer to a PR as needed. This is extra important when it comes to requesting technical review from code contributors.Note:Look at the reviewers field in the front-matter at the top of a Markdown file to see who can provide technical review.Making sure the PR follows the Content and Style guides; link the author to the relevant part of the guide(s) if it doesn't.Using the GitHub Request Changes option when applicable to suggest changes to the PR author.Changing your review status in GitHub using the /approve or /lgtm Prow commands, if your suggestions are implemented.Commit into another person's PRLeaving PR comments is helpful, but there might be times when you need to commit into another person's PR instead.Do not \"take over\" for another person unless they explicitly ask you to, or you want to resurrect a long-abandoned PR. While it may be faster in the short term, it deprives the person of the chance to contribute.The process you use depends on whether you need to edit a file that is already in the scope of the PR, or a file that the PR has not yet touched.You can't commit into someone else's PR if either of the following things is true:If the PR author pushed their branch directly to the https://github.com/kubernetes/website/ repository. Only a reviewer with push access can commit to another user's PR.Note:Encourage the author to push their branch to their fork before opening the PR next time.The PR author explicitly disallows edits from approvers.Prow commands for reviewingProw is the Kubernetes-based CI/CD system that runs jobs against pull requests (PRs). Prow enables chatbot-style commands to handle GitHub actions across the Kubernetes organization, like adding and removing labels, closing issues, and assigning an approver. Enter Prow commands as GitHub comments using the /<command-name> format.The most common prow commands reviewers and approvers use are:Prow commands for reviewingProw CommandRole RestrictionsDescription/lgtmOrganization membersSignals that you've finished reviewing a PR and are satisfied with the changes./approveApproversApproves a PR for merging./assi",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/for-approvers/",
    "id": "k8s_00422_qa_8209"
  },
  {
    "question": "When would you use Reviewing for approvers and reviewers?",
    "answer": "Reviewing for approvers and reviewersSIG Docs Reviewers and Approvers do a few extra things when reviewing a change.Every week a specific docs approver volunteers to triage and review pull requests. This person is the \"PR Wrangler\" for the week. See the PR Wrangler scheduler for more information. To become a PR Wrangler, attend the weekly SIG Docs meeting and volunteer. Even if you are not on the schedule for the current week, you can still review pull requests (PRs) that are not already under active review.In addition to the rotation, a bot assigns reviewers and approvers for the PR based on the owners for the affected files.Reviewing a PRKubernetes documentation follows the Kubernetes code review process.Everything described in Reviewing a pull request applies, but Reviewers and Approvers should also do the following:Using the /assign Prow command to assign a specific reviewer to a PR as needed. This is extra important when it comes to requesting technical review from code contributors.Note:Look at the reviewers field in the front-matter at the top of a Markdown file to see who can provide technical review.Making sure the PR follows the Content and Style guides; link the author to the relevant part of the guide(s) if it doesn't.Using the GitHub Request Changes option when applicable to suggest changes to the PR author.Changing your review status in GitHub using the /approve or /lgtm Prow commands, if your suggestions are implemented.Commit into another person's PRLeaving PR comments is helpful, but there might be times when you need to commit into another person's PR instead.Do not \"take over\" for another person unless they explicitly ask you to, or you want to resurrect a long-abandoned PR. While it may be faster in the short term, it deprives the person of the chance to contribute.The process you use depends on whether you need to edit a file that is already in the scope of the PR, or a file that the PR has not yet touched.You can't commit into someone else's PR if either of the following things is true:If the PR author pushed their branch directly to the https://github.com/kubernetes/website/ repository. Only a reviewer with push access can commit to another user's PR.Note:Encourage the author to push their branch to their fork before opening the PR next time.The PR author explicitly disallows edits from approvers.Prow commands for reviewingProw is the Kubernetes-based CI/CD system that runs jobs against pull requests (PRs). Prow enables chatbot-style commands to handle GitHub actions across the Kubernetes organization, like adding and removing labels, closing issues, and assigning an approver. Enter Prow commands as GitHub comments using the /<command-name> format.The most common prow commands reviewers and approvers use are:Prow commands for reviewingProw CommandRole RestrictionsDescription/lgtmOrganization membersSignals that you've finished reviewing a PR and are satisfied with the changes./approveApproversApproves a PR for merging./assi",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/for-approvers/",
    "id": "k8s_00422_qa_8210"
  },
  {
    "question": "What are the benefits of Reviewing for approvers and reviewers?",
    "answer": "Reviewing for approvers and reviewersSIG Docs Reviewers and Approvers do a few extra things when reviewing a change.Every week a specific docs approver volunteers to triage and review pull requests. This person is the \"PR Wrangler\" for the week. See the PR Wrangler scheduler for more information. To become a PR Wrangler, attend the weekly SIG Docs meeting and volunteer. Even if you are not on the schedule for the current week, you can still review pull requests (PRs) that are not already under active review.In addition to the rotation, a bot assigns reviewers and approvers for the PR based on the owners for the affected files.Reviewing a PRKubernetes documentation follows the Kubernetes code review process.Everything described in Reviewing a pull request applies, but Reviewers and Approvers should also do the following:Using the /assign Prow command to assign a specific reviewer to a PR as needed. This is extra important when it comes to requesting technical review from code contributors.Note:Look at the reviewers field in the front-matter at the top of a Markdown file to see who can provide technical review.Making sure the PR follows the Content and Style guides; link the author to the relevant part of the guide(s) if it doesn't.Using the GitHub Request Changes option when applicable to suggest changes to the PR author.Changing your review status in GitHub using the /approve or /lgtm Prow commands, if your suggestions are implemented.Commit into another person's PRLeaving PR comments is helpful, but there might be times when you need to commit into another person's PR instead.Do not \"take over\" for another person unless they explicitly ask you to, or you want to resurrect a long-abandoned PR. While it may be faster in the short term, it deprives the person of the chance to contribute.The process you use depends on whether you need to edit a file that is already in the scope of the PR, or a file that the PR has not yet touched.You can't commit into someone else's PR if either of the following things is true:If the PR author pushed their branch directly to the https://github.com/kubernetes/website/ repository. Only a reviewer with push access can commit to another user's PR.Note:Encourage the author to push their branch to their fork before opening the PR next time.The PR author explicitly disallows edits from approvers.Prow commands for reviewingProw is the Kubernetes-based CI/CD system that runs jobs against pull requests (PRs). Prow enables chatbot-style commands to handle GitHub actions across the Kubernetes organization, like adding and removing labels, closing issues, and assigning an approver. Enter Prow commands as GitHub comments using the /<command-name> format.The most common prow commands reviewers and approvers use are:Prow commands for reviewingProw CommandRole RestrictionsDescription/lgtmOrganization membersSignals that you've finished reviewing a PR and are satisfied with the changes./approveApproversApproves a PR for merging./assi",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/for-approvers/",
    "id": "k8s_00422_qa_8211"
  },
  {
    "question": "What is Reviewing for approvers and reviewers?",
    "answer": "S I G   D o c s   R e v i e w e r s   a n d   A p p r o v e r s   d o   a   f e w   e x t r a   t h i n g s   w h e n   r e v i e w i n g   a   c h a n g e .   E v e r y   w e e k   a   s p e c i f i c   d o c s   a p p r o v e r   v o l u n t e e r s   t o   t r i a g e   a n d   r e v i e w   p u l l   r e q u e s t s .   T h i s   p e r s o n   i s   t h e   \" P R   W r a n g l e r \"   f o r   t h e   w e e k .   S e e   t h e   P R   W r a n g l e r   s c h e d u l e r   f o r   m o r e   i n f o r m a t i o n .   T o   b e c o m e   a   P R   W r a n g l e r ,   a t t e n d   t h e   w e e k l y   S I G   D o c s   m e e t i n g   a n d   v o l u n t e e r .   E v e n   i f   y o u   a r e   n o t   o n   t h e   s c h e d u l e   f o r   t h e   c u r r e n t   w e e k ,   y o u   c a n   s t i l l   r e v i e w   p u l l   r e q u e s t s   ( P R s )   t h a t   a r e   n o t   a l r e a d y   u n d e r   a c t i v e   r e v i e w .   I n   a d d i t i o n   t o   t h e   r o t a t i o n ,   a   b o t   a s s i g n s   r e v i e w e r s   a n d   a p p r o v e r s   f o r   t h e   P R   b a s e d   o n   t h e   o w n e r s   f o r   t h e   a f f e c t e d   f i l e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/for-approvers/",
    "id": "k8s_00422_section_1_8212"
  },
  {
    "question": "What is Reviewing a PR?",
    "answer": "K u b e r n e t e s   d o c u m e n t a t i o n   f o l l o w s   t h e   K u b e r n e t e s   c o d e   r e v i e w   p r o c e s s .   E v e r y t h i n g   d e s c r i b e d   i n   R e v i e w i n g   a   p u l l   r e q u e s t   a p p l i e s ,   b u t   R e v i e w e r s   a n d   A p p r o v e r s   s h o u l d   a l s o   d o   t h e   f o l l o w i n g :   U s i n g   t h e   / a s s i g n   P r o w   c o m m a n d   t o   a s s i g n   a   s p e c i f i c   r e v i e w e r   t o   a   P R   a s   n e e d e d .   T h i s   i s   e x t r a   i m p o r t a n t   w h e n   i t   c o m e s   t o   r e q u e s t i n g   t e c h n i c a l   r e v i e w   f r o m   c o d e   c o n t r i b u t o r s . N o t e : L o o k   a t   t h e   r e v i e w e r s   f i e l d   i n   t h e   f r o n t - m a t t e r   a t   t h e   t o p   o f   a   M a r k d o w n   f i l e   t o   s e e   w h o   c a n   p r o v i d e   t e c h n i c a l   r e v i e w . M a k i n g   s u r e   t h e   P R   f o l l o w s   t h e   C o n t e n t   a n d   S t y l e   g u i d e s ;   l i n k   t h e   a u t h o r   t o   t h e   r e l e v a n t   p a r t   o f   t h e   g u i d e ( s )   i f   i t   d o e s n ' t . U s i n g   t h e   G i t H u b   R e q u e s t   C h a n g e s   o p t i o n   w h e n   a p p l i c a b l e   t o   s u g g e s t   c h a n g e s   t o   t h e   P R   a u t h o r . C h a n g i n g   y o u r   r e v i e w   s t a t u s   i n   G i t H u b   u s i n g   t h e   / a p p r o v e   o r   / l g t m   P r o w   c o m m a n d s ,   i f   y o u r   s u g g e s t i o n s   a r e   i m p l e m e n t e d .   U s i n g   t h e   / a s s i g n   P r o w   c o m m a n d   t o   a s s i g n   a   s p e c i f i c   r e v i e w e r   t o   a   P R   a s   n e e d e d .   T h i s   i s   e x t r a   i m p o r t a n t   w h e n   i t   c o m e s   t o   r e q u e s t i n g   t e c h n i c a l   r e v i e w   f r o m   c o d e   c o n t r i b u t o r s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/for-approvers/",
    "id": "k8s_00422_section_2_8213"
  },
  {
    "question": "What is Note:?",
    "answer": "M a k i n g   s u r e   t h e   P R   f o l l o w s   t h e   C o n t e n t   a n d   S t y l e   g u i d e s ;   l i n k   t h e   a u t h o r   t o   t h e   r e l e v a n t   p a r t   o f   t h e   g u i d e ( s )   i f   i t   d o e s n ' t .   U s i n g   t h e   G i t H u b   R e q u e s t   C h a n g e s   o p t i o n   w h e n   a p p l i c a b l e   t o   s u g g e s t   c h a n g e s   t o   t h e   P R   a u t h o r .   C h a n g i n g   y o u r   r e v i e w   s t a t u s   i n   G i t H u b   u s i n g   t h e   / a p p r o v e   o r   / l g t m   P r o w   c o m m a n d s ,   i f   y o u r   s u g g e s t i o n s   a r e   i m p l e m e n t e d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/for-approvers/",
    "id": "k8s_00422_section_4_8214"
  },
  {
    "question": "What is Commit into another person's PR?",
    "answer": "L e a v i n g   P R   c o m m e n t s   i s   h e l p f u l ,   b u t   t h e r e   m i g h t   b e   t i m e s   w h e n   y o u   n e e d   t o   c o m m i t   i n t o   a n o t h e r   p e r s o n ' s   P R   i n s t e a d .   D o   n o t   \" t a k e   o v e r \"   f o r   a n o t h e r   p e r s o n   u n l e s s   t h e y   e x p l i c i t l y   a s k   y o u   t o ,   o r   y o u   w a n t   t o   r e s u r r e c t   a   l o n g - a b a n d o n e d   P R .   W h i l e   i t   m a y   b e   f a s t e r   i n   t h e   s h o r t   t e r m ,   i t   d e p r i v e s   t h e   p e r s o n   o f   t h e   c h a n c e   t o   c o n t r i b u t e .   T h e   p r o c e s s   y o u   u s e   d e p e n d s   o n   w h e t h e r   y o u   n e e d   t o   e d i t   a   f i l e   t h a t   i s   a l r e a d y   i n   t h e   s c o p e   o f   t h e   P R ,   o r   a   f i l e   t h a t   t h e   P R   h a s   n o t   y e t   t o u c h e d .   Y o u   c a n ' t   c o m m i t   i n t o   s o m e o n e   e l s e ' s   P R   i f   e i t h e r   o f   t h e   f o l l o w i n g   t h i n g s   i s   t r u e :   I f   t h e   P R   a u t h o r   p u s h e d   t h e i r   b r a n c h   d i r e c t l y   t o   t h e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / w e b s i t e /   r e p o s i t o r y .   O n l y   a   r e v i e w e r   w i t h   p u s h   a c c e s s   c a n   c o m m i t   t o   a n o t h e r   u s e r ' s   P R . N o t e : E n c o u r a g e   t h e   a u t h o r   t o   p u s h   t h e i r   b r a n c h   t o   t h e i r   f o r k   b e f o r e   o p e n i n g   t h e   P R   n e x t   t i m e . T h e   P R   a u t h o r   e x p l i c i t l y   d i s a l l o w s   e d i t s   f r o m   a p p r o v e r s .   I f   t h e   P R   a u t h o r   p u s h e d   t h e i r   b r a n c h   d i r e c t l y   t o   t h e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / w e b s i t e /   r e p o s i t o r y .   O n l y   a   r e v i e w e r   w i t h ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/for-approvers/",
    "id": "k8s_00422_section_2_8215"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   P R   a u t h o r   e x p l i c i t l y   d i s a l l o w s   e d i t s   f r o m   a p p r o v e r s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/for-approvers/",
    "id": "k8s_00422_section_4_8216"
  },
  {
    "question": "What is Prow commands for reviewing?",
    "answer": "P r o w   i s   t h e   K u b e r n e t e s - b a s e d   C I / C D   s y s t e m   t h a t   r u n s   j o b s   a g a i n s t   p u l l   r e q u e s t s   ( P R s ) .   P r o w   e n a b l e s   c h a t b o t - s t y l e   c o m m a n d s   t o   h a n d l e   G i t H u b   a c t i o n s   a c r o s s   t h e   K u b e r n e t e s   o r g a n i z a t i o n ,   l i k e   a d d i n g   a n d   r e m o v i n g   l a b e l s ,   c l o s i n g   i s s u e s ,   a n d   a s s i g n i n g   a n   a p p r o v e r .   E n t e r   P r o w   c o m m a n d s   a s   G i t H u b   c o m m e n t s   u s i n g   t h e   / < c o m m a n d - n a m e >   f o r m a t .   T h e   m o s t   c o m m o n   p r o w   c o m m a n d s   r e v i e w e r s   a n d   a p p r o v e r s   u s e   a r e :   T o   v i e w   t h e   c o m m a n d s   t h a t   y o u   c a n   u s e   i n   a   P R ,   s e e   t h e   P r o w   C o m m a n d   R e f e r e n c e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/for-approvers/",
    "id": "k8s_00422_section_2_8217"
  },
  {
    "question": "What is Triage and categorize issues?",
    "answer": "I n   g e n e r a l ,   S I G   D o c s   f o l l o w s   t h e   K u b e r n e t e s   i s s u e   t r i a g e   p r o c e s s   a n d   u s e s   t h e   s a m e   l a b e l s .   T h i s   G i t H u b   I s s u e   f i l t e r   f i n d s   i s s u e s   t h a t   m i g h t   n e e d   t r i a g e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/for-approvers/",
    "id": "k8s_00422_section_2_8218"
  },
  {
    "question": "What is Triaging an issue?",
    "answer": "V a l i d a t e   t h e   i s s u e M a k e   s u r e   t h e   i s s u e   i s   a b o u t   w e b s i t e   d o c u m e n t a t i o n .   S o m e   i s s u e s   c a n   b e   c l o s e d   q u i c k l y   b y   a n s w e r i n g   a   q u e s t i o n   o r   p o i n t i n g   t h e   r e p o r t e r   t o   a   r e s o u r c e .   S e e   t h e   S u p p o r t   r e q u e s t s   o r   c o d e   b u g   r e p o r t s   s e c t i o n   f o r   d e t a i l s . A s s e s s   w h e t h e r   t h e   i s s u e   h a s   m e r i t . A d d   t h e   t r i a g e / n e e d s - i n f o r m a t i o n   l a b e l   i f   t h e   i s s u e   d o e s n ' t   h a v e   e n o u g h   d e t a i l   t o   b e   a c t i o n a b l e   o r   t h e   t e m p l a t e   i s   n o t   f i l l e d   o u t   a d e q u a t e l y . C l o s e   t h e   i s s u e   i f   i t   h a s   b o t h   t h e   l i f e c y c l e / s t a l e   a n d   t r i a g e / n e e d s - i n f o r m a t i o n   l a b e l s . A d d   a   p r i o r i t y   l a b e l   ( t h e   I s s u e   T r i a g e   G u i d e l i n e s   d e f i n e   p r i o r i t y   l a b e l s   i n   d e t a i l )   V a l i d a t e   t h e   i s s u e   M a k e   s u r e   t h e   i s s u e   i s   a b o u t   w e b s i t e   d o c u m e n t a t i o n .   S o m e   i s s u e s   c a n   b e   c l o s e d   q u i c k l y   b y   a n s w e r i n g   a   q u e s t i o n   o r   p o i n t i n g   t h e   r e p o r t e r   t o   a   r e s o u r c e .   S e e   t h e   S u p p o r t   r e q u e s t s   o r   c o d e   b u g   r e p o r t s   s e c t i o n   f o r   d e t a i l s . A s s e s s   w h e t h e r   t h e   i s s u e   h a s   m e r i t . A d d   t h e   t r i a g e / n e e d s - i n f o r m a t i o n   l a b e l   i f   t h e   i s s u e   d o e s n ' t   h a v e   e n o u g h   d e t a i l   t o   b e   a c t i o n a b l e   o r   t h e   t e m p l a t e   i s   n o t   f i l l e d   o u t   a d e q u a t e l y . C l o s e   t h e   ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/for-approvers/",
    "id": "k8s_00422_section_3_8219"
  },
  {
    "question": "What is Adding and removing issue labels?",
    "answer": "T o   a d d   a   l a b e l ,   l e a v e   a   c o m m e n t   i n   o n e   o f   t h e   f o l l o w i n g   f o r m a t s :   / < l a b e l - t o - a d d >   ( f o r   e x a m p l e ,   / g o o d - f i r s t - i s s u e ) / < l a b e l - c a t e g o r y >   < l a b e l - t o - a d d >   ( f o r   e x a m p l e ,   / t r i a g e   n e e d s - i n f o r m a t i o n   o r   / l a n g u a g e   j a )   T o   r e m o v e   a   l a b e l ,   l e a v e   a   c o m m e n t   i n   o n e   o f   t h e   f o l l o w i n g   f o r m a t s :   / r e m o v e - < l a b e l - t o - r e m o v e >   ( f o r   e x a m p l e ,   / r e m o v e - h e l p ) / r e m o v e - < l a b e l - c a t e g o r y >   < l a b e l - t o - r e m o v e >   ( f o r   e x a m p l e ,   / r e m o v e - t r i a g e   n e e d s - i n f o r m a t i o n )   I n   b o t h   c a s e s ,   t h e   l a b e l   m u s t   a l r e a d y   e x i s t .   I f   y o u   t r y   t o   a d d   a   l a b e l   t h a t   d o e s   n o t   e x i s t ,   t h e   c o m m a n d   i s   s i l e n t l y   i g n o r e d .   F o r   a   l i s t   o f   a l l   l a b e l s ,   s e e   t h e   w e b s i t e   r e p o s i t o r y ' s   L a b e l s   s e c t i o n .   N o t   a l l   l a b e l s   a r e   u s e d   b y   S I G   D o c s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/for-approvers/",
    "id": "k8s_00422_section_2_8220"
  },
  {
    "question": "What is Issue lifecycle labels?",
    "answer": "I s s u e s   a r e   g e n e r a l l y   o p e n e d   a n d   c l o s e d   q u i c k l y .   H o w e v e r ,   s o m e t i m e s   a n   i s s u e   i s   i n a c t i v e   a f t e r   i t s   o p e n e d .   O t h e r   t i m e s ,   a n   i s s u e   m a y   n e e d   t o   r e m a i n   o p e n   f o r   l o n g e r   t h a n   9 0   d a y s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/for-approvers/",
    "id": "k8s_00422_section_3_8221"
  },
  {
    "question": "What is Handling special issue types?",
    "answer": "S I G   D o c s   e n c o u n t e r s   t h e   f o l l o w i n g   t y p e s   o f   i s s u e s   o f t e n   e n o u g h   t o   d o c u m e n t   h o w   t o   h a n d l e   t h e m .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/for-approvers/",
    "id": "k8s_00422_section_2_8222"
  },
  {
    "question": "What is Duplicate issues?",
    "answer": "I f   a   s i n g l e   p r o b l e m   h a s   o n e   o r   m o r e   i s s u e s   o p e n   f o r   i t ,   c o m b i n e   t h e m   i n t o   a   s i n g l e   i s s u e .   Y o u   s h o u l d   d e c i d e   w h i c h   i s s u e   t o   k e e p   o p e n   ( o r   o p e n   a   n e w   i s s u e ) ,   t h e n   m o v e   o v e r   a l l   r e l e v a n t   i n f o r m a t i o n   a n d   l i n k   r e l a t e d   i s s u e s .   F i n a l l y ,   l a b e l   a l l   o t h e r   i s s u e s   t h a t   d e s c r i b e   t h e   s a m e   p r o b l e m   w i t h   t r i a g e / d u p l i c a t e   a n d   c l o s e   t h e m .   O n l y   h a v i n g   a   s i n g l e   i s s u e   t o   w o r k   o n   r e d u c e s   c o n f u s i o n   a n d   a v o i d s   d u p l i c a t e   w o r k   o n   t h e   s a m e   p r o b l e m .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/for-approvers/",
    "id": "k8s_00422_section_3_8223"
  },
  {
    "question": "What is Dead link issues?",
    "answer": "I f   t h e   d e a d   l i n k   i s s u e   i s   i n   t h e   A P I   o r   k u b e c t l   d o c u m e n t a t i o n ,   a s s i g n   t h e m   / p r i o r i t y   c r i t i c a l - u r g e n t   u n t i l   t h e   p r o b l e m   i s   f u l l y   u n d e r s t o o d .   A s s i g n   a l l   o t h e r   d e a d   l i n k   i s s u e s   / p r i o r i t y   i m p o r t a n t - l o n g t e r m ,   a s   t h e y   m u s t   b e   m a n u a l l y   f i x e d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/for-approvers/",
    "id": "k8s_00422_section_3_8224"
  },
  {
    "question": "What is Blog issues?",
    "answer": "W e   e x p e c t   K u b e r n e t e s   B l o g   e n t r i e s   t o   b e c o m e   o u t d a t e d   o v e r   t i m e .   T h e r e f o r e ,   w e   o n l y   m a i n t a i n   b l o g   e n t r i e s   l e s s   t h a n   a   y e a r   o l d .   I f   a n   i s s u e   i s   r e l a t e d   t o   a   b l o g   e n t r y   t h a t   i s   m o r e   t h a n   o n e   y e a r   o l d ,   y o u   s h o u l d   t y p i c a l l y   c l o s e   t h e   i s s u e   w i t h o u t   f i x i n g .   Y o u   c a n   s e n d   a   l i n k   t o   a r t i c l e   u p d a t e s   a n d   m a i n t e n a n c e   a s   p a r t   o f   t h e   m e s s a g e   y o u   s e n d   w h e n   y o u   c l o s e   t h e   P R .   I t   i s   O K   t o   m a k e   a n   e x c e p t i o n   w h e r e   a   r e l e v a n t   j u s t i f i c a t i o n   a p p l i e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/for-approvers/",
    "id": "k8s_00422_section_3_8225"
  },
  {
    "question": "What is Support requests or code bug reports?",
    "answer": "S o m e   d o c s   i s s u e s   a r e   a c t u a l l y   i s s u e s   w i t h   t h e   u n d e r l y i n g   c o d e ,   o r   r e q u e s t s   f o r   a s s i s t a n c e   w h e n   s o m e t h i n g ,   f o r   e x a m p l e   a   t u t o r i a l ,   d o e s n ' t   w o r k .   F o r   i s s u e s   u n r e l a t e d   t o   d o c s ,   c l o s e   t h e   i s s u e   w i t h   t h e   k i n d / s u p p o r t   l a b e l   a n d   a   c o m m e n t   d i r e c t i n g   t h e   r e q u e s t e r   t o   s u p p o r t   v e n u e s   ( S l a c k ,   S t a c k   O v e r f l o w )   a n d ,   i f   r e l e v a n t ,   t h e   r e p o s i t o r y   t o   f i l e   a n   i s s u e   f o r   b u g s   w i t h   f e a t u r e s   ( k u b e r n e t e s / k u b e r n e t e s   i s   a   g r e a t   p l a c e   t o   s t a r t ) .   S a m p l e   r e s p o n s e   t o   a   r e q u e s t   f o r   s u p p o r t :   T h i s   i s s u e   s o u n d s   m o r e   l i k e   a   r e q u e s t   f o r   s u p p o r t   a n d   l e s s   l i k e   a n   i s s u e   s p e c i f i c a l l y   f o r   d o c s .   I   e n c o u r a g e   y o u   t o   b r i n g   y o u r   q u e s t i o n   t o   t h e   ` # k u b e r n e t e s - u s e r s `   c h a n n e l   i n   [ K u b e r n e t e s   s l a c k ] ( h t t p s : / / s l a c k . k 8 s . i o / ) .   Y o u   c a n   a l s o   s e a r c h   r e s o u r c e s   l i k e   [ S t a c k   O v e r f l o w ] ( h t t p s : / / s t a c k o v e r f l o w . c o m / q u e s t i o n s / t a g g e d / k u b e r n e t e s )   f o r   a n s w e r s   t o   s i m i l a r   q u e s t i o n s .   Y o u   c a n   a l s o   o p e n   i s s u e s   f o r   K u b e r n e t e s   f u n c t i o n a l i t y   i n   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k u b e r n e t e s .   I f   t h i s   i s   a   d o c u m e n t a t i o n   i s s u e ,   p l e a s e   r e - o p e n   t h i s   i s s u e .   S a m p l e   c o d e   b u g   r e p ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/for-approvers/",
    "id": "k8s_00422_section_3_8226"
  },
  {
    "question": "What is Squashing?",
    "answer": "A s   a n   a p p r o v e r ,   w h e n   y o u   r e v i e w   p u l l   r e q u e s t s   ( P R s ) ,   t h e r e   a r e   v a r i o u s   c a s e s   w h e r e   y o u   m i g h t   d o   t h e   f o l l o w i n g :   A d v i s e   t h e   c o n t r i b u t o r   t o   s q u a s h   t h e i r   c o m m i t s . S q u a s h   t h e   c o m m i t s   f o r   t h e   c o n t r i b u t o r . A d v i s e   t h e   c o n t r i b u t o r   n o t   t o   s q u a s h   y e t . P r e v e n t   s q u a s h i n g .   A d v i s i n g   c o n t r i b u t o r s   t o   s q u a s h :   A   n e w   c o n t r i b u t o r   m i g h t   n o t   k n o w   t h a t   t h e y   s h o u l d   s q u a s h   c o m m i t s   i n   t h e i r   p u l l   r e q u e s t s   ( P R s ) .   I f   t h i s   i s   t h e   c a s e ,   a d v i s e   t h e m   t o   d o   s o ,   p r o v i d e   l i n k s   t o   u s e f u l   i n f o r m a t i o n ,   a n d   o f f e r   t o   a r r a n g e   h e l p   i f   t h e y   n e e d   i t .   S o m e   u s e f u l   l i n k s :   O p e n i n g   p u l l   r e q u e s t s   a n d   s q u a s h i n g   y o u r   c o m m i t s   f o r   d o c u m e n t a t i o n   c o n t r i b u t o r s . G i t H u b   W o r k f l o w ,   i n c l u d i n g   d i a g r a m s ,   f o r   d e v e l o p e r s .   S q u a s h i n g   c o m m i t s   f o r   c o n t r i b u t o r s :   I f   a   c o n t r i b u t o r   m i g h t   h a v e   d i f f i c u l t y   s q u a s h i n g   c o m m i t s   o r   t h e r e   i s   t i m e   p r e s s u r e   t o   m e r g e   a   P R ,   y o u   c a n   p e r f o r m   t h e   s q u a s h   f o r   t h e m :   T h e   k u b e r n e t e s / w e b s i t e   r e p o   i s   c o n f i g u r e d   t o   a l l o w   s q u a s h i n g   f o r   p u l l   r e q u e s t   m e r g e s .   S i m p l y   s e l e c t   t h e   S q u a s h   c o m m i t s   b u t t o n . I n   t h e   P R ,   i f   t h e   c o n t r i b u t o r   e n a b l e s   m a i n t ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/review/for-approvers/",
    "id": "k8s_00422_section_3_8227"
  },
  {
    "question": "What is Namespace?",
    "answer": "NamespaceNamespace provides a scope for Names.apiVersion: v1import \"k8s.io/api/core/v1\"NamespaceNamespace provides a scope for Names. Use of multiple namespaces is optional.apiVersion: v1kind: Namespacemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (NamespaceSpec)Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (NamespaceStatus)Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusNamespaceSpecNamespaceSpec describes the attributes on a Namespace.finalizers ([]string)Atomic: will be replaced during a mergeFinalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/NamespaceStatusNamespaceStatus is information about the current status of a Namespace.conditions ([]NamespaceCondition)Patch strategy: merge on key typeMap: unique values on key type will be kept during a mergeRepresents the latest available observations of a namespace's current state.NamespaceCondition contains details about state of namespace.conditions.status (string), requiredStatus of the condition, one of True, False, Unknown.conditions.type (string), requiredType of namespace controller condition.conditions.lastTransitionTime (Time)Last time the condition transitioned from one status to another.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.conditions.message (string)Human-readable message indicating details about last transition.conditions.reason (string)Unique, one-word, CamelCase reason for the condition's last transition.phase (string)Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/NamespaceListNamespaceList is a list of Namespaces.apiVersion: v1kind: NamespaceListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems ([]Namespace), requiredItems is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/Operationsget read the specified NamespaceHTTP RequestGET /api/v1/namespaces/{name}Parametersname (in path): string, requiredname of the Namespacepretty (in query): stringprettyResponse200 (Namespace): OK401: Unauthorizedget read status of the specified NamespaceHTTP RequestGET /api/v1/namespaces/{name}/statusParametersname (in path): string, requiredname of the Namespacepretty (in query): stringprettyResponse200 (Namespace): OK401: Unauthorizedlist list or watch obje",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_qa_8228"
  },
  {
    "question": "How does Namespace work?",
    "answer": "NamespaceNamespace provides a scope for Names.apiVersion: v1import \"k8s.io/api/core/v1\"NamespaceNamespace provides a scope for Names. Use of multiple namespaces is optional.apiVersion: v1kind: Namespacemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (NamespaceSpec)Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (NamespaceStatus)Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusNamespaceSpecNamespaceSpec describes the attributes on a Namespace.finalizers ([]string)Atomic: will be replaced during a mergeFinalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/NamespaceStatusNamespaceStatus is information about the current status of a Namespace.conditions ([]NamespaceCondition)Patch strategy: merge on key typeMap: unique values on key type will be kept during a mergeRepresents the latest available observations of a namespace's current state.NamespaceCondition contains details about state of namespace.conditions.status (string), requiredStatus of the condition, one of True, False, Unknown.conditions.type (string), requiredType of namespace controller condition.conditions.lastTransitionTime (Time)Last time the condition transitioned from one status to another.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.conditions.message (string)Human-readable message indicating details about last transition.conditions.reason (string)Unique, one-word, CamelCase reason for the condition's last transition.phase (string)Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/NamespaceListNamespaceList is a list of Namespaces.apiVersion: v1kind: NamespaceListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems ([]Namespace), requiredItems is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/Operationsget read the specified NamespaceHTTP RequestGET /api/v1/namespaces/{name}Parametersname (in path): string, requiredname of the Namespacepretty (in query): stringprettyResponse200 (Namespace): OK401: Unauthorizedget read status of the specified NamespaceHTTP RequestGET /api/v1/namespaces/{name}/statusParametersname (in path): string, requiredname of the Namespacepretty (in query): stringprettyResponse200 (Namespace): OK401: Unauthorizedlist list or watch obje",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_qa_8229"
  },
  {
    "question": "When would you use Namespace?",
    "answer": "NamespaceNamespace provides a scope for Names.apiVersion: v1import \"k8s.io/api/core/v1\"NamespaceNamespace provides a scope for Names. Use of multiple namespaces is optional.apiVersion: v1kind: Namespacemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (NamespaceSpec)Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (NamespaceStatus)Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusNamespaceSpecNamespaceSpec describes the attributes on a Namespace.finalizers ([]string)Atomic: will be replaced during a mergeFinalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/NamespaceStatusNamespaceStatus is information about the current status of a Namespace.conditions ([]NamespaceCondition)Patch strategy: merge on key typeMap: unique values on key type will be kept during a mergeRepresents the latest available observations of a namespace's current state.NamespaceCondition contains details about state of namespace.conditions.status (string), requiredStatus of the condition, one of True, False, Unknown.conditions.type (string), requiredType of namespace controller condition.conditions.lastTransitionTime (Time)Last time the condition transitioned from one status to another.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.conditions.message (string)Human-readable message indicating details about last transition.conditions.reason (string)Unique, one-word, CamelCase reason for the condition's last transition.phase (string)Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/NamespaceListNamespaceList is a list of Namespaces.apiVersion: v1kind: NamespaceListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems ([]Namespace), requiredItems is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/Operationsget read the specified NamespaceHTTP RequestGET /api/v1/namespaces/{name}Parametersname (in path): string, requiredname of the Namespacepretty (in query): stringprettyResponse200 (Namespace): OK401: Unauthorizedget read status of the specified NamespaceHTTP RequestGET /api/v1/namespaces/{name}/statusParametersname (in path): string, requiredname of the Namespacepretty (in query): stringprettyResponse200 (Namespace): OK401: Unauthorizedlist list or watch obje",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_qa_8230"
  },
  {
    "question": "What are the benefits of Namespace?",
    "answer": "NamespaceNamespace provides a scope for Names.apiVersion: v1import \"k8s.io/api/core/v1\"NamespaceNamespace provides a scope for Names. Use of multiple namespaces is optional.apiVersion: v1kind: Namespacemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (NamespaceSpec)Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (NamespaceStatus)Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusNamespaceSpecNamespaceSpec describes the attributes on a Namespace.finalizers ([]string)Atomic: will be replaced during a mergeFinalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/NamespaceStatusNamespaceStatus is information about the current status of a Namespace.conditions ([]NamespaceCondition)Patch strategy: merge on key typeMap: unique values on key type will be kept during a mergeRepresents the latest available observations of a namespace's current state.NamespaceCondition contains details about state of namespace.conditions.status (string), requiredStatus of the condition, one of True, False, Unknown.conditions.type (string), requiredType of namespace controller condition.conditions.lastTransitionTime (Time)Last time the condition transitioned from one status to another.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.conditions.message (string)Human-readable message indicating details about last transition.conditions.reason (string)Unique, one-word, CamelCase reason for the condition's last transition.phase (string)Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/NamespaceListNamespaceList is a list of Namespaces.apiVersion: v1kind: NamespaceListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems ([]Namespace), requiredItems is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/Operationsget read the specified NamespaceHTTP RequestGET /api/v1/namespaces/{name}Parametersname (in path): string, requiredname of the Namespacepretty (in query): stringprettyResponse200 (Namespace): OK401: Unauthorizedget read status of the specified NamespaceHTTP RequestGET /api/v1/namespaces/{name}/statusParametersname (in path): string, requiredname of the Namespacepretty (in query): stringprettyResponse200 (Namespace): OK401: Unauthorizedlist list or watch obje",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_qa_8231"
  },
  {
    "question": "What is Namespace?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_1_8232"
  },
  {
    "question": "What is Namespace?",
    "answer": "N a m e s p a c e   p r o v i d e s   a   s c o p e   f o r   N a m e s .   U s e   o f   m u l t i p l e   n a m e s p a c e s   i s   o p t i o n a l .   a p i V e r s i o n :   v 1 k i n d :   N a m e s p a c e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( N a m e s p a c e S p e c ) S p e c   d e f i n e s   t h e   b e h a v i o r   o f   t h e   N a m e s p a c e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( N a m e s p a c e S t a t u s ) S t a t u s   d e s c r i b e s   t h e   c u r r e n t   s t a t u s   o f   a   N a m e s p a c e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   v 1   k i n d :   N a m e s p a c e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( N a m e s p a c e S p e c )   S p e c   d e f i n e s   t h e   b e h a v i o r   o f   t h e   N a m e s p a c e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   s t a t u s   ( N a m e s p a c e S t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_2_8233"
  },
  {
    "question": "What is NamespaceSpec?",
    "answer": "N a m e s p a c e S p e c   d e s c r i b e s   t h e   a t t r i b u t e s   o n   a   N a m e s p a c e .   f i n a l i z e r s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e F i n a l i z e r s   i s   a n   o p a q u e   l i s t   o f   v a l u e s   t h a t   m u s t   b e   e m p t y   t o   p e r m a n e n t l y   r e m o v e   o b j e c t   f r o m   s t o r a g e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / a d m i n i s t e r - c l u s t e r / n a m e s p a c e s /   f i n a l i z e r s   ( [ ] s t r i n g )   A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e   F i n a l i z e r s   i s   a n   o p a q u e   l i s t   o f   v a l u e s   t h a t   m u s t   b e   e m p t y   t o   p e r m a n e n t l y   r e m o v e   o b j e c t   f r o m   s t o r a g e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / a d m i n i s t e r - c l u s t e r / n a m e s p a c e s /",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_2_8234"
  },
  {
    "question": "What is NamespaceStatus?",
    "answer": "N a m e s p a c e S t a t u s   i s   i n f o r m a t i o n   a b o u t   t h e   c u r r e n t   s t a t u s   o f   a   N a m e s p a c e .   c o n d i t i o n s   ( [ ] N a m e s p a c e C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e R e p r e s e n t s   t h e   l a t e s t   a v a i l a b l e   o b s e r v a t i o n s   o f   a   n a m e s p a c e ' s   c u r r e n t   s t a t e . N a m e s p a c e C o n d i t i o n   c o n t a i n s   d e t a i l s   a b o u t   s t a t e   o f   n a m e s p a c e . c o n d i t i o n s . s t a t u s   ( s t r i n g ) ,   r e q u i r e d S t a t u s   o f   t h e   c o n d i t i o n ,   o n e   o f   T r u e ,   F a l s e ,   U n k n o w n . c o n d i t i o n s . t y p e   ( s t r i n g ) ,   r e q u i r e d T y p e   o f   n a m e s p a c e   c o n t r o l l e r   c o n d i t i o n . c o n d i t i o n s . l a s t T r a n s i t i o n T i m e   ( T i m e ) L a s t   t i m e   t h e   c o n d i t i o n   t r a n s i t i o n e d   f r o m   o n e   s t a t u s   t o   a n o t h e r . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c o n d i t i o n s . m e s s a g e   ( s t r i n g ) H u m a n - r e a d a b l e   m e s s a g e   i n d i c a t i n g   d e t a i l s   a b o u t   l a s t   t r a n s i t i o n . c o n d i t i o n s . r e a s o n   ( s t r i n g ) U n i q u e ,   o n e - w o r d ,   C a m e l C a s e   r e a s o n   f o r   t h e   c o n d i t i o n ' s   l a s t   t r a n s i t i o n . p h a s e   ( s t r i n g ) P h a s e   i s   t h e   c u r r e n t   l i f e c y c l e   p h ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_2_8235"
  },
  {
    "question": "What is NamespaceList?",
    "answer": "N a m e s p a c e L i s t   i s   a   l i s t   o f   N a m e s p a c e s .   a p i V e r s i o n :   v 1 k i n d :   N a m e s p a c e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] N a m e s p a c e ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   N a m e s p a c e   o b j e c t s   i n   t h e   l i s t .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s p a c e s /   a p i V e r s i o n :   v 1   k i n d :   N a m e s p a c e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] N a m e s p a c e ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   N a m e s p a c e   o b j e c t s   i n   t h e   l i s t .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s p a c e s /",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_2_8236"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8237"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8238"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8239"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8240"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8241"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8242"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8243"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8244"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8245"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8246"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   N a m e s p a c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   N a m e s p a c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8247"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e ) :   O K   2 0 1   ( N a m e s p a c e ) :   C r e a t e d   2 0 2   ( N a m e s p a c e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8248"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8249"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N a m e s p a c e b o d y :   N a m e s p a c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N a m e s p a c e   b o d y :   N a m e s p a c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8250"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e ) :   O K   2 0 1   ( N a m e s p a c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8251"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e } / f i n a l i z e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8252"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N a m e s p a c e b o d y :   N a m e s p a c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N a m e s p a c e   b o d y :   N a m e s p a c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8253"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e ) :   O K   2 0 1   ( N a m e s p a c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8254"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8255"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N a m e s p a c e b o d y :   N a m e s p a c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N a m e s p a c e   b o d y :   N a m e s p a c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8256"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e ) :   O K   2 0 1   ( N a m e s p a c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8257"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8258"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8259"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e ) :   O K   2 0 1   ( N a m e s p a c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8260"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8261"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8262"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e ) :   O K   2 0 1   ( N a m e s p a c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8263"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8264"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8265"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/namespace-v1/",
    "id": "k8s_00423_section_4_8266"
  },
  {
    "question": "What is Cluster Architecture?",
    "answer": "Cluster ArchitectureThe architectural concepts behind Kubernetes.A Kubernetes cluster consists of a control plane plus a set of worker machines, called nodes, that run containerized applications. Every cluster needs at least one worker node in order to run Pods.The worker node(s) host the Pods that are the components of the application workload. The control plane manages the worker nodes and the Pods in the cluster. In production environments, the control plane usually runs across multiple computers and a cluster usually runs multiple nodes, providing fault-tolerance and high availability.This document outlines the various components you need to have for a complete and working Kubernetes cluster.Figure 1. Kubernetes cluster components.About this architectureThe diagram in Figure 1 presents an example reference architecture for a Kubernetes cluster. The actual distribution of components can vary based on specific cluster setups and requirements.In the diagram, each node runs the kube-proxy component. You need a network proxy component on each node to ensure that the Service API and associated behaviors are available on your cluster network. However, some network plugins provide their own, third party implementation of proxying. When you use that kind of network plugin, the node does not need to run kube-proxy.Control plane componentsThe control plane's components make global decisions about the cluster (for example, scheduling), as well as detecting and responding to cluster events (for example, starting up a new pod when a Deployment's replicas field is unsatisfied).Control plane components can be run on any machine in the cluster. However, for simplicity, setup scripts typically start all control plane components on the same machine, and do not run user containers on this machine. See Creating Highly Available clusters with kubeadm for an example control plane setup that runs across multiple machines.kube-apiserverThe API server is a component of the Kubernetes control plane that exposes the Kubernetes API. The API server is the front end for the Kubernetes control plane.The main implementation of a Kubernetes API server is kube-apiserver. kube-apiserver is designed to scale horizontally—that is, it scales by deploying more instances. You can run several instances of kube-apiserver and balance traffic between those instances.etcdConsistent and highly-available key value store used as Kubernetes' backing store for all cluster data.If your Kubernetes cluster uses etcd as its backing store, make sure you have a back up plan for the data.You can find in-depth information about etcd in the official documentation.kube-schedulerControl plane component that watches for newly created Pods with no assigned node, and selects a node for them to run on.Factors taken into account for scheduling decisions include: individual and collective resource requirements, hardware/software/policy constraints, affinity and anti-affinity specifications, data locality, int",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_qa_8267"
  },
  {
    "question": "How does Cluster Architecture work?",
    "answer": "Cluster ArchitectureThe architectural concepts behind Kubernetes.A Kubernetes cluster consists of a control plane plus a set of worker machines, called nodes, that run containerized applications. Every cluster needs at least one worker node in order to run Pods.The worker node(s) host the Pods that are the components of the application workload. The control plane manages the worker nodes and the Pods in the cluster. In production environments, the control plane usually runs across multiple computers and a cluster usually runs multiple nodes, providing fault-tolerance and high availability.This document outlines the various components you need to have for a complete and working Kubernetes cluster.Figure 1. Kubernetes cluster components.About this architectureThe diagram in Figure 1 presents an example reference architecture for a Kubernetes cluster. The actual distribution of components can vary based on specific cluster setups and requirements.In the diagram, each node runs the kube-proxy component. You need a network proxy component on each node to ensure that the Service API and associated behaviors are available on your cluster network. However, some network plugins provide their own, third party implementation of proxying. When you use that kind of network plugin, the node does not need to run kube-proxy.Control plane componentsThe control plane's components make global decisions about the cluster (for example, scheduling), as well as detecting and responding to cluster events (for example, starting up a new pod when a Deployment's replicas field is unsatisfied).Control plane components can be run on any machine in the cluster. However, for simplicity, setup scripts typically start all control plane components on the same machine, and do not run user containers on this machine. See Creating Highly Available clusters with kubeadm for an example control plane setup that runs across multiple machines.kube-apiserverThe API server is a component of the Kubernetes control plane that exposes the Kubernetes API. The API server is the front end for the Kubernetes control plane.The main implementation of a Kubernetes API server is kube-apiserver. kube-apiserver is designed to scale horizontally—that is, it scales by deploying more instances. You can run several instances of kube-apiserver and balance traffic between those instances.etcdConsistent and highly-available key value store used as Kubernetes' backing store for all cluster data.If your Kubernetes cluster uses etcd as its backing store, make sure you have a back up plan for the data.You can find in-depth information about etcd in the official documentation.kube-schedulerControl plane component that watches for newly created Pods with no assigned node, and selects a node for them to run on.Factors taken into account for scheduling decisions include: individual and collective resource requirements, hardware/software/policy constraints, affinity and anti-affinity specifications, data locality, int",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_qa_8268"
  },
  {
    "question": "When would you use Cluster Architecture?",
    "answer": "Cluster ArchitectureThe architectural concepts behind Kubernetes.A Kubernetes cluster consists of a control plane plus a set of worker machines, called nodes, that run containerized applications. Every cluster needs at least one worker node in order to run Pods.The worker node(s) host the Pods that are the components of the application workload. The control plane manages the worker nodes and the Pods in the cluster. In production environments, the control plane usually runs across multiple computers and a cluster usually runs multiple nodes, providing fault-tolerance and high availability.This document outlines the various components you need to have for a complete and working Kubernetes cluster.Figure 1. Kubernetes cluster components.About this architectureThe diagram in Figure 1 presents an example reference architecture for a Kubernetes cluster. The actual distribution of components can vary based on specific cluster setups and requirements.In the diagram, each node runs the kube-proxy component. You need a network proxy component on each node to ensure that the Service API and associated behaviors are available on your cluster network. However, some network plugins provide their own, third party implementation of proxying. When you use that kind of network plugin, the node does not need to run kube-proxy.Control plane componentsThe control plane's components make global decisions about the cluster (for example, scheduling), as well as detecting and responding to cluster events (for example, starting up a new pod when a Deployment's replicas field is unsatisfied).Control plane components can be run on any machine in the cluster. However, for simplicity, setup scripts typically start all control plane components on the same machine, and do not run user containers on this machine. See Creating Highly Available clusters with kubeadm for an example control plane setup that runs across multiple machines.kube-apiserverThe API server is a component of the Kubernetes control plane that exposes the Kubernetes API. The API server is the front end for the Kubernetes control plane.The main implementation of a Kubernetes API server is kube-apiserver. kube-apiserver is designed to scale horizontally—that is, it scales by deploying more instances. You can run several instances of kube-apiserver and balance traffic between those instances.etcdConsistent and highly-available key value store used as Kubernetes' backing store for all cluster data.If your Kubernetes cluster uses etcd as its backing store, make sure you have a back up plan for the data.You can find in-depth information about etcd in the official documentation.kube-schedulerControl plane component that watches for newly created Pods with no assigned node, and selects a node for them to run on.Factors taken into account for scheduling decisions include: individual and collective resource requirements, hardware/software/policy constraints, affinity and anti-affinity specifications, data locality, int",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_qa_8269"
  },
  {
    "question": "What are the benefits of Cluster Architecture?",
    "answer": "Cluster ArchitectureThe architectural concepts behind Kubernetes.A Kubernetes cluster consists of a control plane plus a set of worker machines, called nodes, that run containerized applications. Every cluster needs at least one worker node in order to run Pods.The worker node(s) host the Pods that are the components of the application workload. The control plane manages the worker nodes and the Pods in the cluster. In production environments, the control plane usually runs across multiple computers and a cluster usually runs multiple nodes, providing fault-tolerance and high availability.This document outlines the various components you need to have for a complete and working Kubernetes cluster.Figure 1. Kubernetes cluster components.About this architectureThe diagram in Figure 1 presents an example reference architecture for a Kubernetes cluster. The actual distribution of components can vary based on specific cluster setups and requirements.In the diagram, each node runs the kube-proxy component. You need a network proxy component on each node to ensure that the Service API and associated behaviors are available on your cluster network. However, some network plugins provide their own, third party implementation of proxying. When you use that kind of network plugin, the node does not need to run kube-proxy.Control plane componentsThe control plane's components make global decisions about the cluster (for example, scheduling), as well as detecting and responding to cluster events (for example, starting up a new pod when a Deployment's replicas field is unsatisfied).Control plane components can be run on any machine in the cluster. However, for simplicity, setup scripts typically start all control plane components on the same machine, and do not run user containers on this machine. See Creating Highly Available clusters with kubeadm for an example control plane setup that runs across multiple machines.kube-apiserverThe API server is a component of the Kubernetes control plane that exposes the Kubernetes API. The API server is the front end for the Kubernetes control plane.The main implementation of a Kubernetes API server is kube-apiserver. kube-apiserver is designed to scale horizontally—that is, it scales by deploying more instances. You can run several instances of kube-apiserver and balance traffic between those instances.etcdConsistent and highly-available key value store used as Kubernetes' backing store for all cluster data.If your Kubernetes cluster uses etcd as its backing store, make sure you have a back up plan for the data.You can find in-depth information about etcd in the official documentation.kube-schedulerControl plane component that watches for newly created Pods with no assigned node, and selects a node for them to run on.Factors taken into account for scheduling decisions include: individual and collective resource requirements, hardware/software/policy constraints, affinity and anti-affinity specifications, data locality, int",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_qa_8270"
  },
  {
    "question": "What is Cluster Architecture?",
    "answer": "A   K u b e r n e t e s   c l u s t e r   c o n s i s t s   o f   a   c o n t r o l   p l a n e   p l u s   a   s e t   o f   w o r k e r   m a c h i n e s ,   c a l l e d   n o d e s ,   t h a t   r u n   c o n t a i n e r i z e d   a p p l i c a t i o n s .   E v e r y   c l u s t e r   n e e d s   a t   l e a s t   o n e   w o r k e r   n o d e   i n   o r d e r   t o   r u n   P o d s .   T h e   w o r k e r   n o d e ( s )   h o s t   t h e   P o d s   t h a t   a r e   t h e   c o m p o n e n t s   o f   t h e   a p p l i c a t i o n   w o r k l o a d .   T h e   c o n t r o l   p l a n e   m a n a g e s   t h e   w o r k e r   n o d e s   a n d   t h e   P o d s   i n   t h e   c l u s t e r .   I n   p r o d u c t i o n   e n v i r o n m e n t s ,   t h e   c o n t r o l   p l a n e   u s u a l l y   r u n s   a c r o s s   m u l t i p l e   c o m p u t e r s   a n d   a   c l u s t e r   u s u a l l y   r u n s   m u l t i p l e   n o d e s ,   p r o v i d i n g   f a u l t - t o l e r a n c e   a n d   h i g h   a v a i l a b i l i t y .   T h i s   d o c u m e n t   o u t l i n e s   t h e   v a r i o u s   c o m p o n e n t s   y o u   n e e d   t o   h a v e   f o r   a   c o m p l e t e   a n d   w o r k i n g   K u b e r n e t e s   c l u s t e r .   F i g u r e   1 .   K u b e r n e t e s   c l u s t e r   c o m p o n e n t s .   T h e   d i a g r a m   i n   F i g u r e   1   p r e s e n t s   a n   e x a m p l e   r e f e r e n c e   a r c h i t e c t u r e   f o r   a   K u b e r n e t e s   c l u s t e r .   T h e   a c t u a l   d i s t r i b u t i o n   o f   c o m p o n e n t s   c a n   v a r y   b a s e d   o n   s p e c i f i c   c l u s t e r   s e t u p s   a n d   r e q u i r e m e n t s .   I n   t h e   d i a g r a m ,   e a c h   n o d e   r u n s   t h e   k u b e - p r o x y   c o m p o n e n t .   Y o u   n e e d   a   n e t w o r k   p r o x y   c o m p o n e n t   o n   e a c h   n o d e   t o   e n s u r e   t h a t   t h e   S ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_section_1_8271"
  },
  {
    "question": "What is Control plane components?",
    "answer": "T h e   c o n t r o l   p l a n e ' s   c o m p o n e n t s   m a k e   g l o b a l   d e c i s i o n s   a b o u t   t h e   c l u s t e r   ( f o r   e x a m p l e ,   s c h e d u l i n g ) ,   a s   w e l l   a s   d e t e c t i n g   a n d   r e s p o n d i n g   t o   c l u s t e r   e v e n t s   ( f o r   e x a m p l e ,   s t a r t i n g   u p   a   n e w   p o d   w h e n   a   D e p l o y m e n t ' s   r e p l i c a s   f i e l d   i s   u n s a t i s f i e d ) .   C o n t r o l   p l a n e   c o m p o n e n t s   c a n   b e   r u n   o n   a n y   m a c h i n e   i n   t h e   c l u s t e r .   H o w e v e r ,   f o r   s i m p l i c i t y ,   s e t u p   s c r i p t s   t y p i c a l l y   s t a r t   a l l   c o n t r o l   p l a n e   c o m p o n e n t s   o n   t h e   s a m e   m a c h i n e ,   a n d   d o   n o t   r u n   u s e r   c o n t a i n e r s   o n   t h i s   m a c h i n e .   S e e   C r e a t i n g   H i g h l y   A v a i l a b l e   c l u s t e r s   w i t h   k u b e a d m   f o r   a n   e x a m p l e   c o n t r o l   p l a n e   s e t u p   t h a t   r u n s   a c r o s s   m u l t i p l e   m a c h i n e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_section_2_8272"
  },
  {
    "question": "What is kube-apiserver?",
    "answer": "T h e   A P I   s e r v e r   i s   a   c o m p o n e n t   o f   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   t h a t   e x p o s e s   t h e   K u b e r n e t e s   A P I .   T h e   A P I   s e r v e r   i s   t h e   f r o n t   e n d   f o r   t h e   K u b e r n e t e s   c o n t r o l   p l a n e .   T h e   m a i n   i m p l e m e n t a t i o n   o f   a   K u b e r n e t e s   A P I   s e r v e r   i s   k u b e - a p i s e r v e r .   k u b e - a p i s e r v e r   i s   d e s i g n e d   t o   s c a l e   h o r i z o n t a l l y — t h a t   i s ,   i t   s c a l e s   b y   d e p l o y i n g   m o r e   i n s t a n c e s .   Y o u   c a n   r u n   s e v e r a l   i n s t a n c e s   o f   k u b e - a p i s e r v e r   a n d   b a l a n c e   t r a f f i c   b e t w e e n   t h o s e   i n s t a n c e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_section_3_8273"
  },
  {
    "question": "What is etcd?",
    "answer": "C o n s i s t e n t   a n d   h i g h l y - a v a i l a b l e   k e y   v a l u e   s t o r e   u s e d   a s   K u b e r n e t e s '   b a c k i n g   s t o r e   f o r   a l l   c l u s t e r   d a t a .   I f   y o u r   K u b e r n e t e s   c l u s t e r   u s e s   e t c d   a s   i t s   b a c k i n g   s t o r e ,   m a k e   s u r e   y o u   h a v e   a   b a c k   u p   p l a n   f o r   t h e   d a t a .   Y o u   c a n   f i n d   i n - d e p t h   i n f o r m a t i o n   a b o u t   e t c d   i n   t h e   o f f i c i a l   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_section_3_8274"
  },
  {
    "question": "What is kube-scheduler?",
    "answer": "C o n t r o l   p l a n e   c o m p o n e n t   t h a t   w a t c h e s   f o r   n e w l y   c r e a t e d   P o d s   w i t h   n o   a s s i g n e d   n o d e ,   a n d   s e l e c t s   a   n o d e   f o r   t h e m   t o   r u n   o n .   F a c t o r s   t a k e n   i n t o   a c c o u n t   f o r   s c h e d u l i n g   d e c i s i o n s   i n c l u d e :   i n d i v i d u a l   a n d   c o l l e c t i v e   r e s o u r c e   r e q u i r e m e n t s ,   h a r d w a r e / s o f t w a r e / p o l i c y   c o n s t r a i n t s ,   a f f i n i t y   a n d   a n t i - a f f i n i t y   s p e c i f i c a t i o n s ,   d a t a   l o c a l i t y ,   i n t e r - w o r k l o a d   i n t e r f e r e n c e ,   a n d   d e a d l i n e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_section_3_8275"
  },
  {
    "question": "What is kube-controller-manager?",
    "answer": "C o n t r o l   p l a n e   c o m p o n e n t   t h a t   r u n s   c o n t r o l l e r   p r o c e s s e s .   L o g i c a l l y ,   e a c h   c o n t r o l l e r   i s   a   s e p a r a t e   p r o c e s s ,   b u t   t o   r e d u c e   c o m p l e x i t y ,   t h e y   a r e   a l l   c o m p i l e d   i n t o   a   s i n g l e   b i n a r y   a n d   r u n   i n   a   s i n g l e   p r o c e s s .   T h e r e   a r e   m a n y   d i f f e r e n t   t y p e s   o f   c o n t r o l l e r s .   S o m e   e x a m p l e s   o f   t h e m   a r e :   N o d e   c o n t r o l l e r :   R e s p o n s i b l e   f o r   n o t i c i n g   a n d   r e s p o n d i n g   w h e n   n o d e s   g o   d o w n . J o b   c o n t r o l l e r :   W a t c h e s   f o r   J o b   o b j e c t s   t h a t   r e p r e s e n t   o n e - o f f   t a s k s ,   t h e n   c r e a t e s   P o d s   t o   r u n   t h o s e   t a s k s   t o   c o m p l e t i o n . E n d p o i n t S l i c e   c o n t r o l l e r :   P o p u l a t e s   E n d p o i n t S l i c e   o b j e c t s   ( t o   p r o v i d e   a   l i n k   b e t w e e n   S e r v i c e s   a n d   P o d s ) . S e r v i c e A c c o u n t   c o n t r o l l e r :   C r e a t e   d e f a u l t   S e r v i c e A c c o u n t s   f o r   n e w   n a m e s p a c e s .   T h e   a b o v e   i s   n o t   a n   e x h a u s t i v e   l i s t .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_section_3_8276"
  },
  {
    "question": "What is cloud-controller-manager?",
    "answer": "T h e   c l o u d - c o n t r o l l e r - m a n a g e r   o n l y   r u n s   c o n t r o l l e r s   t h a t   a r e   s p e c i f i c   t o   y o u r   c l o u d   p r o v i d e r .   I f   y o u   a r e   r u n n i n g   K u b e r n e t e s   o n   y o u r   o w n   p r e m i s e s ,   o r   i n   a   l e a r n i n g   e n v i r o n m e n t   i n s i d e   y o u r   o w n   P C ,   t h e   c l u s t e r   d o e s   n o t   h a v e   a   c l o u d   c o n t r o l l e r   m a n a g e r .   A s   w i t h   t h e   k u b e - c o n t r o l l e r - m a n a g e r ,   t h e   c l o u d - c o n t r o l l e r - m a n a g e r   c o m b i n e s   s e v e r a l   l o g i c a l l y   i n d e p e n d e n t   c o n t r o l   l o o p s   i n t o   a   s i n g l e   b i n a r y   t h a t   y o u   r u n   a s   a   s i n g l e   p r o c e s s .   Y o u   c a n   s c a l e   h o r i z o n t a l l y   ( r u n   m o r e   t h a n   o n e   c o p y )   t o   i m p r o v e   p e r f o r m a n c e   o r   t o   h e l p   t o l e r a t e   f a i l u r e s .   T h e   f o l l o w i n g   c o n t r o l l e r s   c a n   h a v e   c l o u d   p r o v i d e r   d e p e n d e n c i e s :   N o d e   c o n t r o l l e r :   F o r   c h e c k i n g   t h e   c l o u d   p r o v i d e r   t o   d e t e r m i n e   i f   a   n o d e   h a s   b e e n   d e l e t e d   i n   t h e   c l o u d   a f t e r   i t   s t o p s   r e s p o n d i n g R o u t e   c o n t r o l l e r :   F o r   s e t t i n g   u p   r o u t e s   i n   t h e   u n d e r l y i n g   c l o u d   i n f r a s t r u c t u r e S e r v i c e   c o n t r o l l e r :   F o r   c r e a t i n g ,   u p d a t i n g   a n d   d e l e t i n g   c l o u d   p r o v i d e r   l o a d   b a l a n c e r s",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_section_3_8277"
  },
  {
    "question": "What is Node components?",
    "answer": "N o d e   c o m p o n e n t s   r u n   o n   e v e r y   n o d e ,   m a i n t a i n i n g   r u n n i n g   p o d s   a n d   p r o v i d i n g   t h e   K u b e r n e t e s   r u n t i m e   e n v i r o n m e n t .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_section_2_8278"
  },
  {
    "question": "What is kubelet?",
    "answer": "A n   a g e n t   t h a t   r u n s   o n   e a c h   n o d e   i n   t h e   c l u s t e r .   I t   m a k e s   s u r e   t h a t   c o n t a i n e r s   a r e   r u n n i n g   i n   a   P o d .   T h e   k u b e l e t   t a k e s   a   s e t   o f   P o d S p e c s   t h a t   a r e   p r o v i d e d   t h r o u g h   v a r i o u s   m e c h a n i s m s   a n d   e n s u r e s   t h a t   t h e   c o n t a i n e r s   d e s c r i b e d   i n   t h o s e   P o d S p e c s   a r e   r u n n i n g   a n d   h e a l t h y .   T h e   k u b e l e t   d o e s n ' t   m a n a g e   c o n t a i n e r s   w h i c h   w e r e   n o t   c r e a t e d   b y   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_section_3_8279"
  },
  {
    "question": "What is kube-proxy (optional)?",
    "answer": "k u b e - p r o x y   i s   a   n e t w o r k   p r o x y   t h a t   r u n s   o n   e a c h   n o d e   i n   y o u r   c l u s t e r ,   i m p l e m e n t i n g   p a r t   o f   t h e   K u b e r n e t e s   S e r v i c e   c o n c e p t . k u b e - p r o x y   m a i n t a i n s   n e t w o r k   r u l e s   o n   n o d e s .   T h e s e   n e t w o r k   r u l e s   a l l o w   n e t w o r k   c o m m u n i c a t i o n   t o   y o u r   P o d s   f r o m   n e t w o r k   s e s s i o n s   i n s i d e   o r   o u t s i d e   o f   y o u r   c l u s t e r . k u b e - p r o x y   u s e s   t h e   o p e r a t i n g   s y s t e m   p a c k e t   f i l t e r i n g   l a y e r   i f   t h e r e   i s   o n e   a n d   i t ' s   a v a i l a b l e .   O t h e r w i s e ,   k u b e - p r o x y   f o r w a r d s   t h e   t r a f f i c   i t s e l f . I f   y o u   u s e   a   n e t w o r k   p l u g i n   t h a t   i m p l e m e n t s   p a c k e t   f o r w a r d i n g   f o r   S e r v i c e s   b y   i t s e l f ,   a n d   p r o v i d i n g   e q u i v a l e n t   b e h a v i o r   t o   k u b e - p r o x y ,   t h e n   y o u   d o   n o t   n e e d   t o   r u n   k u b e - p r o x y   o n   t h e   n o d e s   i n   y o u r   c l u s t e r .   k u b e - p r o x y   i s   a   n e t w o r k   p r o x y   t h a t   r u n s   o n   e a c h   n o d e   i n   y o u r   c l u s t e r ,   i m p l e m e n t i n g   p a r t   o f   t h e   K u b e r n e t e s   S e r v i c e   c o n c e p t .   k u b e - p r o x y   m a i n t a i n s   n e t w o r k   r u l e s   o n   n o d e s .   T h e s e   n e t w o r k   r u l e s   a l l o w   n e t w o r k   c o m m u n i c a t i o n   t o   y o u r   P o d s   f r o m   n e t w o r k   s e s s i o n s   i n s i d e   o r   o u t s i d e   o f   y o u r   c l u s t e r .   k u b e - p r o x y   u s e s   t h e   o p e r a t i n g   s y s t e m   p a c k e t   f i l t e r i n g   l a y e r   i f   t h e r e   i s   o n e   a n d   ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_section_3_8280"
  },
  {
    "question": "What is Container runtime?",
    "answer": "A   f u n d a m e n t a l   c o m p o n e n t   t h a t   e m p o w e r s   K u b e r n e t e s   t o   r u n   c o n t a i n e r s   e f f e c t i v e l y .   I t   i s   r e s p o n s i b l e   f o r   m a n a g i n g   t h e   e x e c u t i o n   a n d   l i f e c y c l e   o f   c o n t a i n e r s   w i t h i n   t h e   K u b e r n e t e s   e n v i r o n m e n t .   K u b e r n e t e s   s u p p o r t s   c o n t a i n e r   r u n t i m e s   s u c h   a s   c o n t a i n e r d ,   C R I - O ,   a n d   a n y   o t h e r   i m p l e m e n t a t i o n   o f   t h e   K u b e r n e t e s   C R I   ( C o n t a i n e r   R u n t i m e   I n t e r f a c e ) .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_section_3_8281"
  },
  {
    "question": "What is Addons?",
    "answer": "A d d o n s   u s e   K u b e r n e t e s   r e s o u r c e s   ( D a e m o n S e t ,   D e p l o y m e n t ,   e t c )   t o   i m p l e m e n t   c l u s t e r   f e a t u r e s .   B e c a u s e   t h e s e   a r e   p r o v i d i n g   c l u s t e r - l e v e l   f e a t u r e s ,   n a m e s p a c e d   r e s o u r c e s   f o r   a d d o n s   b e l o n g   w i t h i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   S e l e c t e d   a d d o n s   a r e   d e s c r i b e d   b e l o w ;   f o r   a n   e x t e n d e d   l i s t   o f   a v a i l a b l e   a d d o n s ,   p l e a s e   s e e   A d d o n s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_section_2_8282"
  },
  {
    "question": "What is DNS?",
    "answer": "W h i l e   t h e   o t h e r   a d d o n s   a r e   n o t   s t r i c t l y   r e q u i r e d ,   a l l   K u b e r n e t e s   c l u s t e r s   s h o u l d   h a v e   c l u s t e r   D N S ,   a s   m a n y   e x a m p l e s   r e l y   o n   i t .   C l u s t e r   D N S   i s   a   D N S   s e r v e r ,   i n   a d d i t i o n   t o   t h e   o t h e r   D N S   s e r v e r ( s )   i n   y o u r   e n v i r o n m e n t ,   w h i c h   s e r v e s   D N S   r e c o r d s   f o r   K u b e r n e t e s   s e r v i c e s .   C o n t a i n e r s   s t a r t e d   b y   K u b e r n e t e s   a u t o m a t i c a l l y   i n c l u d e   t h i s   D N S   s e r v e r   i n   t h e i r   D N S   s e a r c h e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_section_3_8283"
  },
  {
    "question": "What is Web UI (Dashboard)?",
    "answer": "D a s h b o a r d   i s   a   g e n e r a l   p u r p o s e ,   w e b - b a s e d   U I   f o r   K u b e r n e t e s   c l u s t e r s .   I t   a l l o w s   u s e r s   t o   m a n a g e   a n d   t r o u b l e s h o o t   a p p l i c a t i o n s   r u n n i n g   i n   t h e   c l u s t e r ,   a s   w e l l   a s   t h e   c l u s t e r   i t s e l f .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_section_3_8284"
  },
  {
    "question": "What is Container resource monitoring?",
    "answer": "C o n t a i n e r   R e s o u r c e   M o n i t o r i n g   r e c o r d s   g e n e r i c   t i m e - s e r i e s   m e t r i c s   a b o u t   c o n t a i n e r s   i n   a   c e n t r a l   d a t a b a s e ,   a n d   p r o v i d e s   a   U I   f o r   b r o w s i n g   t h a t   d a t a .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_section_3_8285"
  },
  {
    "question": "What is Cluster-level Logging?",
    "answer": "A   c l u s t e r - l e v e l   l o g g i n g   m e c h a n i s m   i s   r e s p o n s i b l e   f o r   s a v i n g   c o n t a i n e r   l o g s   t o   a   c e n t r a l   l o g   s t o r e   w i t h   a   s e a r c h / b r o w s i n g   i n t e r f a c e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_section_3_8286"
  },
  {
    "question": "What is Network plugins?",
    "answer": "N e t w o r k   p l u g i n s   a r e   s o f t w a r e   c o m p o n e n t s   t h a t   i m p l e m e n t   t h e   c o n t a i n e r   n e t w o r k   i n t e r f a c e   ( C N I )   s p e c i f i c a t i o n .   T h e y   a r e   r e s p o n s i b l e   f o r   a l l o c a t i n g   I P   a d d r e s s e s   t o   p o d s   a n d   e n a b l i n g   t h e m   t o   c o m m u n i c a t e   w i t h   e a c h   o t h e r   w i t h i n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_section_3_8287"
  },
  {
    "question": "What is Architecture variations?",
    "answer": "W h i l e   t h e   c o r e   c o m p o n e n t s   o f   K u b e r n e t e s   r e m a i n   c o n s i s t e n t ,   t h e   w a y   t h e y   a r e   d e p l o y e d   a n d   m a n a g e d   c a n   v a r y .   U n d e r s t a n d i n g   t h e s e   v a r i a t i o n s   i s   c r u c i a l   f o r   d e s i g n i n g   a n d   m a i n t a i n i n g   K u b e r n e t e s   c l u s t e r s   t h a t   m e e t   s p e c i f i c   o p e r a t i o n a l   n e e d s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_section_2_8288"
  },
  {
    "question": "What is Control plane deployment options?",
    "answer": "T h e   c o n t r o l   p l a n e   c o m p o n e n t s   c a n   b e   d e p l o y e d   i n   s e v e r a l   w a y s :",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_section_3_8289"
  },
  {
    "question": "What is Workload placement considerations?",
    "answer": "T h e   p l a c e m e n t   o f   w o r k l o a d s ,   i n c l u d i n g   t h e   c o n t r o l   p l a n e   c o m p o n e n t s ,   c a n   v a r y   b a s e d   o n   c l u s t e r   s i z e ,   p e r f o r m a n c e   r e q u i r e m e n t s ,   a n d   o p e r a t i o n a l   p o l i c i e s :   I n   s m a l l e r   o r   d e v e l o p m e n t   c l u s t e r s ,   c o n t r o l   p l a n e   c o m p o n e n t s   a n d   u s e r   w o r k l o a d s   m i g h t   r u n   o n   t h e   s a m e   n o d e s . L a r g e r   p r o d u c t i o n   c l u s t e r s   o f t e n   d e d i c a t e   s p e c i f i c   n o d e s   t o   c o n t r o l   p l a n e   c o m p o n e n t s ,   s e p a r a t i n g   t h e m   f r o m   u s e r   w o r k l o a d s . S o m e   o r g a n i z a t i o n s   r u n   c r i t i c a l   a d d - o n s   o r   m o n i t o r i n g   t o o l s   o n   c o n t r o l   p l a n e   n o d e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_section_3_8290"
  },
  {
    "question": "What is Cluster management tools?",
    "answer": "T o o l s   l i k e   k u b e a d m ,   k o p s ,   a n d   K u b e s p r a y   o f f e r   d i f f e r e n t   a p p r o a c h e s   t o   d e p l o y i n g   a n d   m a n a g i n g   c l u s t e r s ,   e a c h   w i t h   i t s   o w n   m e t h o d   o f   c o m p o n e n t   l a y o u t   a n d   m a n a g e m e n t .   T h e   f l e x i b i l i t y   o f   K u b e r n e t e s   a r c h i t e c t u r e   a l l o w s   o r g a n i z a t i o n s   t o   t a i l o r   t h e i r   c l u s t e r s   t o   s p e c i f i c   n e e d s ,   b a l a n c i n g   f a c t o r s   s u c h   a s   o p e r a t i o n a l   c o m p l e x i t y ,   p e r f o r m a n c e ,   a n d   m a n a g e m e n t   o v e r h e a d .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_section_3_8291"
  },
  {
    "question": "What is Customization and extensibility?",
    "answer": "K u b e r n e t e s   a r c h i t e c t u r e   a l l o w s   f o r   s i g n i f i c a n t   c u s t o m i z a t i o n :   C u s t o m   s c h e d u l e r s   c a n   b e   d e p l o y e d   t o   w o r k   a l o n g s i d e   t h e   d e f a u l t   K u b e r n e t e s   s c h e d u l e r   o r   t o   r e p l a c e   i t   e n t i r e l y . A P I   s e r v e r s   c a n   b e   e x t e n d e d   w i t h   C u s t o m R e s o u r c e D e f i n i t i o n s   a n d   A P I   A g g r e g a t i o n . C l o u d   p r o v i d e r s   c a n   i n t e g r a t e   d e e p l y   w i t h   K u b e r n e t e s   u s i n g   t h e   c l o u d - c o n t r o l l e r - m a n a g e r .   T h e   f l e x i b i l i t y   o f   K u b e r n e t e s   a r c h i t e c t u r e   a l l o w s   o r g a n i z a t i o n s   t o   t a i l o r   t h e i r   c l u s t e r s   t o   s p e c i f i c   n e e d s ,   b a l a n c i n g   f a c t o r s   s u c h   a s   o p e r a t i o n a l   c o m p l e x i t y ,   p e r f o r m a n c e ,   a n d   m a n a g e m e n t   o v e r h e a d .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_section_3_8292"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   t h e   f o l l o w i n g :   N o d e s   a n d   t h e i r   c o m m u n i c a t i o n   w i t h   t h e   c o n t r o l   p l a n e . K u b e r n e t e s   c o n t r o l l e r s . k u b e - s c h e d u l e r   w h i c h   i s   t h e   d e f a u l t   s c h e d u l e r   f o r   K u b e r n e t e s . E t c d ' s   o f f i c i a l   d o c u m e n t a t i o n . S e v e r a l   c o n t a i n e r   r u n t i m e s   i n   K u b e r n e t e s . I n t e g r a t i n g   w i t h   c l o u d   p r o v i d e r s   u s i n g   c l o u d - c o n t r o l l e r - m a n a g e r . k u b e c t l   c o m m a n d s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/",
    "id": "k8s_00424_section_2_8293"
  },
  {
    "question": "What is Installing Addons?",
    "answer": "Installing AddonsNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Add-ons extend the functionality of Kubernetes.This page lists some of the available add-ons and links to their respective installation instructions. The list does not try to be exhaustive.Networking and Network PolicyACI provides integrated container networking and network security with Cisco ACI.Antrea operates at Layer 3/4 to provide networking and security services for Kubernetes, leveraging Open vSwitch as the networking data plane. Antrea is a CNCF project at the Sandbox level.Calico is a networking and network policy provider. Calico supports a flexible set of networking options so you can choose the most efficient option for your situation, including non-overlay and overlay networks, with or without BGP. Calico uses the same engine to enforce network policy for hosts, pods, and (if using Istio & Envoy) applications at the service mesh layer.Canal unites Flannel and Calico, providing networking and network policy.Cilium is a networking, observability, and security solution with an eBPF-based data plane. Cilium provides a simple flat Layer 3 network with the ability to span multiple clusters in either a native routing or overlay/encapsulation mode, and can enforce network policies on L3-L7 using an identity-based security model that is decoupled from network addressing. Cilium can act as a replacement for kube-proxy; it also offers additional, opt-in observability and security features. Cilium is a CNCF project at the Graduated level.CNI-Genie enables Kubernetes to seamlessly connect to a choice of CNI plugins, such as Calico, Canal, Flannel, or Weave. CNI-Genie is a CNCF project at the Sandbox level.Contiv provides configurable networking (native L3 using BGP, overlay using vxlan, classic L2, and Cisco-SDN/ACI) for various use cases and a rich policy framework. Contiv project is fully open sourced. The installer provides both kubeadm and non-kubeadm based installation options.Contrail, based on Tungsten Fabric, is an open source, multi-cloud network virtualization and policy management platform. Contrail and Tungsten Fabric are integrated with orchestration systems such as Kubernetes, OpenShift, OpenStack and Mesos, and provide isolation modes for virtual machines, containers/pods and bare metal workloads.Flannel is an overlay network provider that can be used with Kubernetes.Gateway API is an open source project managed by the SIG Network community and provides an expressive, extensible, and role-oriented API for modeling service networking.Knitter is a plugin to support multiple network interfaces in a Kubernetes pod.Multus is a Multi plugin for multiple network support in Kubernetes to support all CNI plugins (e.g. Calico, ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/addons/",
    "id": "k8s_00425_qa_8294"
  },
  {
    "question": "How does Installing Addons work?",
    "answer": "Installing AddonsNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Add-ons extend the functionality of Kubernetes.This page lists some of the available add-ons and links to their respective installation instructions. The list does not try to be exhaustive.Networking and Network PolicyACI provides integrated container networking and network security with Cisco ACI.Antrea operates at Layer 3/4 to provide networking and security services for Kubernetes, leveraging Open vSwitch as the networking data plane. Antrea is a CNCF project at the Sandbox level.Calico is a networking and network policy provider. Calico supports a flexible set of networking options so you can choose the most efficient option for your situation, including non-overlay and overlay networks, with or without BGP. Calico uses the same engine to enforce network policy for hosts, pods, and (if using Istio & Envoy) applications at the service mesh layer.Canal unites Flannel and Calico, providing networking and network policy.Cilium is a networking, observability, and security solution with an eBPF-based data plane. Cilium provides a simple flat Layer 3 network with the ability to span multiple clusters in either a native routing or overlay/encapsulation mode, and can enforce network policies on L3-L7 using an identity-based security model that is decoupled from network addressing. Cilium can act as a replacement for kube-proxy; it also offers additional, opt-in observability and security features. Cilium is a CNCF project at the Graduated level.CNI-Genie enables Kubernetes to seamlessly connect to a choice of CNI plugins, such as Calico, Canal, Flannel, or Weave. CNI-Genie is a CNCF project at the Sandbox level.Contiv provides configurable networking (native L3 using BGP, overlay using vxlan, classic L2, and Cisco-SDN/ACI) for various use cases and a rich policy framework. Contiv project is fully open sourced. The installer provides both kubeadm and non-kubeadm based installation options.Contrail, based on Tungsten Fabric, is an open source, multi-cloud network virtualization and policy management platform. Contrail and Tungsten Fabric are integrated with orchestration systems such as Kubernetes, OpenShift, OpenStack and Mesos, and provide isolation modes for virtual machines, containers/pods and bare metal workloads.Flannel is an overlay network provider that can be used with Kubernetes.Gateway API is an open source project managed by the SIG Network community and provides an expressive, extensible, and role-oriented API for modeling service networking.Knitter is a plugin to support multiple network interfaces in a Kubernetes pod.Multus is a Multi plugin for multiple network support in Kubernetes to support all CNI plugins (e.g. Calico, ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/addons/",
    "id": "k8s_00425_qa_8295"
  },
  {
    "question": "When would you use Installing Addons?",
    "answer": "Installing AddonsNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Add-ons extend the functionality of Kubernetes.This page lists some of the available add-ons and links to their respective installation instructions. The list does not try to be exhaustive.Networking and Network PolicyACI provides integrated container networking and network security with Cisco ACI.Antrea operates at Layer 3/4 to provide networking and security services for Kubernetes, leveraging Open vSwitch as the networking data plane. Antrea is a CNCF project at the Sandbox level.Calico is a networking and network policy provider. Calico supports a flexible set of networking options so you can choose the most efficient option for your situation, including non-overlay and overlay networks, with or without BGP. Calico uses the same engine to enforce network policy for hosts, pods, and (if using Istio & Envoy) applications at the service mesh layer.Canal unites Flannel and Calico, providing networking and network policy.Cilium is a networking, observability, and security solution with an eBPF-based data plane. Cilium provides a simple flat Layer 3 network with the ability to span multiple clusters in either a native routing or overlay/encapsulation mode, and can enforce network policies on L3-L7 using an identity-based security model that is decoupled from network addressing. Cilium can act as a replacement for kube-proxy; it also offers additional, opt-in observability and security features. Cilium is a CNCF project at the Graduated level.CNI-Genie enables Kubernetes to seamlessly connect to a choice of CNI plugins, such as Calico, Canal, Flannel, or Weave. CNI-Genie is a CNCF project at the Sandbox level.Contiv provides configurable networking (native L3 using BGP, overlay using vxlan, classic L2, and Cisco-SDN/ACI) for various use cases and a rich policy framework. Contiv project is fully open sourced. The installer provides both kubeadm and non-kubeadm based installation options.Contrail, based on Tungsten Fabric, is an open source, multi-cloud network virtualization and policy management platform. Contrail and Tungsten Fabric are integrated with orchestration systems such as Kubernetes, OpenShift, OpenStack and Mesos, and provide isolation modes for virtual machines, containers/pods and bare metal workloads.Flannel is an overlay network provider that can be used with Kubernetes.Gateway API is an open source project managed by the SIG Network community and provides an expressive, extensible, and role-oriented API for modeling service networking.Knitter is a plugin to support multiple network interfaces in a Kubernetes pod.Multus is a Multi plugin for multiple network support in Kubernetes to support all CNI plugins (e.g. Calico, ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/addons/",
    "id": "k8s_00425_qa_8296"
  },
  {
    "question": "What are the benefits of Installing Addons?",
    "answer": "Installing AddonsNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Add-ons extend the functionality of Kubernetes.This page lists some of the available add-ons and links to their respective installation instructions. The list does not try to be exhaustive.Networking and Network PolicyACI provides integrated container networking and network security with Cisco ACI.Antrea operates at Layer 3/4 to provide networking and security services for Kubernetes, leveraging Open vSwitch as the networking data plane. Antrea is a CNCF project at the Sandbox level.Calico is a networking and network policy provider. Calico supports a flexible set of networking options so you can choose the most efficient option for your situation, including non-overlay and overlay networks, with or without BGP. Calico uses the same engine to enforce network policy for hosts, pods, and (if using Istio & Envoy) applications at the service mesh layer.Canal unites Flannel and Calico, providing networking and network policy.Cilium is a networking, observability, and security solution with an eBPF-based data plane. Cilium provides a simple flat Layer 3 network with the ability to span multiple clusters in either a native routing or overlay/encapsulation mode, and can enforce network policies on L3-L7 using an identity-based security model that is decoupled from network addressing. Cilium can act as a replacement for kube-proxy; it also offers additional, opt-in observability and security features. Cilium is a CNCF project at the Graduated level.CNI-Genie enables Kubernetes to seamlessly connect to a choice of CNI plugins, such as Calico, Canal, Flannel, or Weave. CNI-Genie is a CNCF project at the Sandbox level.Contiv provides configurable networking (native L3 using BGP, overlay using vxlan, classic L2, and Cisco-SDN/ACI) for various use cases and a rich policy framework. Contiv project is fully open sourced. The installer provides both kubeadm and non-kubeadm based installation options.Contrail, based on Tungsten Fabric, is an open source, multi-cloud network virtualization and policy management platform. Contrail and Tungsten Fabric are integrated with orchestration systems such as Kubernetes, OpenShift, OpenStack and Mesos, and provide isolation modes for virtual machines, containers/pods and bare metal workloads.Flannel is an overlay network provider that can be used with Kubernetes.Gateway API is an open source project managed by the SIG Network community and provides an expressive, extensible, and role-oriented API for modeling service networking.Knitter is a plugin to support multiple network interfaces in a Kubernetes pod.Multus is a Multi plugin for multiple network support in Kubernetes to support all CNI plugins (e.g. Calico, ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/addons/",
    "id": "k8s_00425_qa_8297"
  },
  {
    "question": "What is Installing Addons?",
    "answer": "A d d - o n s   e x t e n d   t h e   f u n c t i o n a l i t y   o f   K u b e r n e t e s .   T h i s   p a g e   l i s t s   s o m e   o f   t h e   a v a i l a b l e   a d d - o n s   a n d   l i n k s   t o   t h e i r   r e s p e c t i v e   i n s t a l l a t i o n   i n s t r u c t i o n s .   T h e   l i s t   d o e s   n o t   t r y   t o   b e   e x h a u s t i v e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/addons/",
    "id": "k8s_00425_section_1_8298"
  },
  {
    "question": "What is Networking and Network Policy?",
    "answer": "A C I   p r o v i d e s   i n t e g r a t e d   c o n t a i n e r   n e t w o r k i n g   a n d   n e t w o r k   s e c u r i t y   w i t h   C i s c o   A C I . A n t r e a   o p e r a t e s   a t   L a y e r   3 / 4   t o   p r o v i d e   n e t w o r k i n g   a n d   s e c u r i t y   s e r v i c e s   f o r   K u b e r n e t e s ,   l e v e r a g i n g   O p e n   v S w i t c h   a s   t h e   n e t w o r k i n g   d a t a   p l a n e .   A n t r e a   i s   a   C N C F   p r o j e c t   a t   t h e   S a n d b o x   l e v e l . C a l i c o   i s   a   n e t w o r k i n g   a n d   n e t w o r k   p o l i c y   p r o v i d e r .   C a l i c o   s u p p o r t s   a   f l e x i b l e   s e t   o f   n e t w o r k i n g   o p t i o n s   s o   y o u   c a n   c h o o s e   t h e   m o s t   e f f i c i e n t   o p t i o n   f o r   y o u r   s i t u a t i o n ,   i n c l u d i n g   n o n - o v e r l a y   a n d   o v e r l a y   n e t w o r k s ,   w i t h   o r   w i t h o u t   B G P .   C a l i c o   u s e s   t h e   s a m e   e n g i n e   t o   e n f o r c e   n e t w o r k   p o l i c y   f o r   h o s t s ,   p o d s ,   a n d   ( i f   u s i n g   I s t i o   &   E n v o y )   a p p l i c a t i o n s   a t   t h e   s e r v i c e   m e s h   l a y e r . C a n a l   u n i t e s   F l a n n e l   a n d   C a l i c o ,   p r o v i d i n g   n e t w o r k i n g   a n d   n e t w o r k   p o l i c y . C i l i u m   i s   a   n e t w o r k i n g ,   o b s e r v a b i l i t y ,   a n d   s e c u r i t y   s o l u t i o n   w i t h   a n   e B P F - b a s e d   d a t a   p l a n e .   C i l i u m   p r o v i d e s   a   s i m p l e   f l a t   L a y e r   3   n e t w o r k   w i t h   t h e   a b i l i t y   t o   s p a n   m u l t i p l e   c l u s t e r s   i n   e i t h e r   a   n a t i v e   r o u t i n g   o r   o v e r l a y / e n c a p s u l a t i o n   m o d e ,   a n d   c a n   e n f o r c e   n e t w o r k   p o l i c i e s   o n   L 3 - L 7   u s i ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/addons/",
    "id": "k8s_00425_section_2_8299"
  },
  {
    "question": "What is Service Discovery?",
    "answer": "C o r e D N S   i s   a   f l e x i b l e ,   e x t e n s i b l e   D N S   s e r v e r   w h i c h   c a n   b e   i n s t a l l e d   a s   t h e   i n - c l u s t e r   D N S   f o r   p o d s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/addons/",
    "id": "k8s_00425_section_2_8300"
  },
  {
    "question": "What is Visualization & Control?",
    "answer": "D a s h b o a r d   i s   a   d a s h b o a r d   w e b   i n t e r f a c e   f o r   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/addons/",
    "id": "k8s_00425_section_2_8301"
  },
  {
    "question": "What is Infrastructure?",
    "answer": "K u b e V i r t   i s   a n   a d d - o n   t o   r u n   v i r t u a l   m a c h i n e s   o n   K u b e r n e t e s .   U s u a l l y   r u n   o n   b a r e - m e t a l   c l u s t e r s . T h e   n o d e   p r o b l e m   d e t e c t o r   r u n s   o n   L i n u x   n o d e s   a n d   r e p o r t s   s y s t e m   i s s u e s   a s   e i t h e r   E v e n t s   o r   N o d e   c o n d i t i o n s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/addons/",
    "id": "k8s_00425_section_2_8302"
  },
  {
    "question": "What is Instrumentation?",
    "answer": "k u b e - s t a t e - m e t r i c s",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/addons/",
    "id": "k8s_00425_section_2_8303"
  },
  {
    "question": "What is Legacy Add-ons?",
    "answer": "T h e r e   a r e   s e v e r a l   o t h e r   a d d - o n s   d o c u m e n t e d   i n   t h e   d e p r e c a t e d   c l u s t e r / a d d o n s   d i r e c t o r y .   W e l l - m a i n t a i n e d   o n e s   s h o u l d   b e   l i n k e d   t o   h e r e .   P R s   w e l c o m e !   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/addons/",
    "id": "k8s_00425_section_2_8304"
  },
  {
    "question": "What is Using ABAC Authorization?",
    "answer": "Using ABAC AuthorizationAttribute-based access control (ABAC) defines an access control paradigm whereby access rights are granted to users through the use of policies which combine attributes together.Policy File FormatTo enable ABAC mode, specify --authorization-policy-file=SOME_FILENAME and --authorization-mode=ABAC on startup.The file format is one JSON object per line. There should be no enclosing list or map, only one map per line.Each line is a \"policy object\", where each such object is a map with the following properties:Versioning properties:apiVersion, type string; valid values are \"abac.authorization.kubernetes.io/v1beta1\". Allows versioning and conversion of the policy format.kind, type string: valid values are \"Policy\". Allows versioning and conversion of the policy format.spec property set to a map with the following properties:Subject-matching properties:user, type string; the user-string from --token-auth-file. If you specify user, it must match the username of the authenticated user.group, type string; if you specify group, it must match one of the groups of the authenticated user. system:authenticated matches all authenticated requests. system:unauthenticated matches all unauthenticated requests.Resource-matching properties:apiGroup, type string; an API group.Ex: apps, networking.k8s.ioWildcard: * matches all API groups.namespace, type string; a namespace.Ex: kube-systemWildcard: * matches all resource requests.resource, type string; a resource typeEx: pods, deploymentsWildcard: * matches all resource requests.Non-resource-matching properties:nonResourcePath, type string; non-resource request paths.Ex: /version or /apisWildcard:* matches all non-resource requests./foo/* matches all subpaths of /foo/.readonly, type boolean, when true, means that the Resource-matching policy only applies to get, list, and watch operations, Non-resource-matching policy only applies to get operation.Note:An unset property is the same as a property set to the zero value for its type (e.g. empty string, 0, false). However, unset should be preferred for readability.In the future, policies may be expressed in a JSON format, and managed via a REST interface.Authorization AlgorithmA request has attributes which correspond to the properties of a policy object.When a request is received, the attributes are determined. Unknown attributes are set to the zero value of its type (e.g. empty string, 0, false).A property set to \"*\" will match any value of the corresponding attribute.The tuple of attributes is checked for a match against every policy in the policy file. If at least one line matches the request attributes, then the request is authorized (but may fail later validation).To permit any authenticated user to do something, write a policy with the group property set to \"system:authenticated\".To permit any unauthenticated user to do something, write a policy with the group property set to \"system:unauthenticated\".To permit a user to do anything, write a pol",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/abac/",
    "id": "k8s_00426_qa_8305"
  },
  {
    "question": "How does Using ABAC Authorization work?",
    "answer": "Using ABAC AuthorizationAttribute-based access control (ABAC) defines an access control paradigm whereby access rights are granted to users through the use of policies which combine attributes together.Policy File FormatTo enable ABAC mode, specify --authorization-policy-file=SOME_FILENAME and --authorization-mode=ABAC on startup.The file format is one JSON object per line. There should be no enclosing list or map, only one map per line.Each line is a \"policy object\", where each such object is a map with the following properties:Versioning properties:apiVersion, type string; valid values are \"abac.authorization.kubernetes.io/v1beta1\". Allows versioning and conversion of the policy format.kind, type string: valid values are \"Policy\". Allows versioning and conversion of the policy format.spec property set to a map with the following properties:Subject-matching properties:user, type string; the user-string from --token-auth-file. If you specify user, it must match the username of the authenticated user.group, type string; if you specify group, it must match one of the groups of the authenticated user. system:authenticated matches all authenticated requests. system:unauthenticated matches all unauthenticated requests.Resource-matching properties:apiGroup, type string; an API group.Ex: apps, networking.k8s.ioWildcard: * matches all API groups.namespace, type string; a namespace.Ex: kube-systemWildcard: * matches all resource requests.resource, type string; a resource typeEx: pods, deploymentsWildcard: * matches all resource requests.Non-resource-matching properties:nonResourcePath, type string; non-resource request paths.Ex: /version or /apisWildcard:* matches all non-resource requests./foo/* matches all subpaths of /foo/.readonly, type boolean, when true, means that the Resource-matching policy only applies to get, list, and watch operations, Non-resource-matching policy only applies to get operation.Note:An unset property is the same as a property set to the zero value for its type (e.g. empty string, 0, false). However, unset should be preferred for readability.In the future, policies may be expressed in a JSON format, and managed via a REST interface.Authorization AlgorithmA request has attributes which correspond to the properties of a policy object.When a request is received, the attributes are determined. Unknown attributes are set to the zero value of its type (e.g. empty string, 0, false).A property set to \"*\" will match any value of the corresponding attribute.The tuple of attributes is checked for a match against every policy in the policy file. If at least one line matches the request attributes, then the request is authorized (but may fail later validation).To permit any authenticated user to do something, write a policy with the group property set to \"system:authenticated\".To permit any unauthenticated user to do something, write a policy with the group property set to \"system:unauthenticated\".To permit a user to do anything, write a pol",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/abac/",
    "id": "k8s_00426_qa_8306"
  },
  {
    "question": "When would you use Using ABAC Authorization?",
    "answer": "Using ABAC AuthorizationAttribute-based access control (ABAC) defines an access control paradigm whereby access rights are granted to users through the use of policies which combine attributes together.Policy File FormatTo enable ABAC mode, specify --authorization-policy-file=SOME_FILENAME and --authorization-mode=ABAC on startup.The file format is one JSON object per line. There should be no enclosing list or map, only one map per line.Each line is a \"policy object\", where each such object is a map with the following properties:Versioning properties:apiVersion, type string; valid values are \"abac.authorization.kubernetes.io/v1beta1\". Allows versioning and conversion of the policy format.kind, type string: valid values are \"Policy\". Allows versioning and conversion of the policy format.spec property set to a map with the following properties:Subject-matching properties:user, type string; the user-string from --token-auth-file. If you specify user, it must match the username of the authenticated user.group, type string; if you specify group, it must match one of the groups of the authenticated user. system:authenticated matches all authenticated requests. system:unauthenticated matches all unauthenticated requests.Resource-matching properties:apiGroup, type string; an API group.Ex: apps, networking.k8s.ioWildcard: * matches all API groups.namespace, type string; a namespace.Ex: kube-systemWildcard: * matches all resource requests.resource, type string; a resource typeEx: pods, deploymentsWildcard: * matches all resource requests.Non-resource-matching properties:nonResourcePath, type string; non-resource request paths.Ex: /version or /apisWildcard:* matches all non-resource requests./foo/* matches all subpaths of /foo/.readonly, type boolean, when true, means that the Resource-matching policy only applies to get, list, and watch operations, Non-resource-matching policy only applies to get operation.Note:An unset property is the same as a property set to the zero value for its type (e.g. empty string, 0, false). However, unset should be preferred for readability.In the future, policies may be expressed in a JSON format, and managed via a REST interface.Authorization AlgorithmA request has attributes which correspond to the properties of a policy object.When a request is received, the attributes are determined. Unknown attributes are set to the zero value of its type (e.g. empty string, 0, false).A property set to \"*\" will match any value of the corresponding attribute.The tuple of attributes is checked for a match against every policy in the policy file. If at least one line matches the request attributes, then the request is authorized (but may fail later validation).To permit any authenticated user to do something, write a policy with the group property set to \"system:authenticated\".To permit any unauthenticated user to do something, write a policy with the group property set to \"system:unauthenticated\".To permit a user to do anything, write a pol",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/abac/",
    "id": "k8s_00426_qa_8307"
  },
  {
    "question": "What are the benefits of Using ABAC Authorization?",
    "answer": "Using ABAC AuthorizationAttribute-based access control (ABAC) defines an access control paradigm whereby access rights are granted to users through the use of policies which combine attributes together.Policy File FormatTo enable ABAC mode, specify --authorization-policy-file=SOME_FILENAME and --authorization-mode=ABAC on startup.The file format is one JSON object per line. There should be no enclosing list or map, only one map per line.Each line is a \"policy object\", where each such object is a map with the following properties:Versioning properties:apiVersion, type string; valid values are \"abac.authorization.kubernetes.io/v1beta1\". Allows versioning and conversion of the policy format.kind, type string: valid values are \"Policy\". Allows versioning and conversion of the policy format.spec property set to a map with the following properties:Subject-matching properties:user, type string; the user-string from --token-auth-file. If you specify user, it must match the username of the authenticated user.group, type string; if you specify group, it must match one of the groups of the authenticated user. system:authenticated matches all authenticated requests. system:unauthenticated matches all unauthenticated requests.Resource-matching properties:apiGroup, type string; an API group.Ex: apps, networking.k8s.ioWildcard: * matches all API groups.namespace, type string; a namespace.Ex: kube-systemWildcard: * matches all resource requests.resource, type string; a resource typeEx: pods, deploymentsWildcard: * matches all resource requests.Non-resource-matching properties:nonResourcePath, type string; non-resource request paths.Ex: /version or /apisWildcard:* matches all non-resource requests./foo/* matches all subpaths of /foo/.readonly, type boolean, when true, means that the Resource-matching policy only applies to get, list, and watch operations, Non-resource-matching policy only applies to get operation.Note:An unset property is the same as a property set to the zero value for its type (e.g. empty string, 0, false). However, unset should be preferred for readability.In the future, policies may be expressed in a JSON format, and managed via a REST interface.Authorization AlgorithmA request has attributes which correspond to the properties of a policy object.When a request is received, the attributes are determined. Unknown attributes are set to the zero value of its type (e.g. empty string, 0, false).A property set to \"*\" will match any value of the corresponding attribute.The tuple of attributes is checked for a match against every policy in the policy file. If at least one line matches the request attributes, then the request is authorized (but may fail later validation).To permit any authenticated user to do something, write a policy with the group property set to \"system:authenticated\".To permit any unauthenticated user to do something, write a policy with the group property set to \"system:unauthenticated\".To permit a user to do anything, write a pol",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/abac/",
    "id": "k8s_00426_qa_8308"
  },
  {
    "question": "What is Using ABAC Authorization?",
    "answer": "A t t r i b u t e - b a s e d   a c c e s s   c o n t r o l   ( A B A C )   d e f i n e s   a n   a c c e s s   c o n t r o l   p a r a d i g m   w h e r e b y   a c c e s s   r i g h t s   a r e   g r a n t e d   t o   u s e r s   t h r o u g h   t h e   u s e   o f   p o l i c i e s   w h i c h   c o m b i n e   a t t r i b u t e s   t o g e t h e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/abac/",
    "id": "k8s_00426_section_1_8309"
  },
  {
    "question": "What is Policy File Format?",
    "answer": "T o   e n a b l e   A B A C   m o d e ,   s p e c i f y   - - a u t h o r i z a t i o n - p o l i c y - f i l e = S O M E _ F I L E N A M E   a n d   - - a u t h o r i z a t i o n - m o d e = A B A C   o n   s t a r t u p .   T h e   f i l e   f o r m a t   i s   o n e   J S O N   o b j e c t   p e r   l i n e .   T h e r e   s h o u l d   b e   n o   e n c l o s i n g   l i s t   o r   m a p ,   o n l y   o n e   m a p   p e r   l i n e .   E a c h   l i n e   i s   a   \" p o l i c y   o b j e c t \" ,   w h e r e   e a c h   s u c h   o b j e c t   i s   a   m a p   w i t h   t h e   f o l l o w i n g   p r o p e r t i e s :   V e r s i o n i n g   p r o p e r t i e s : a p i V e r s i o n ,   t y p e   s t r i n g ;   v a l i d   v a l u e s   a r e   \" a b a c . a u t h o r i z a t i o n . k u b e r n e t e s . i o / v 1 b e t a 1 \" .   A l l o w s   v e r s i o n i n g   a n d   c o n v e r s i o n   o f   t h e   p o l i c y   f o r m a t . k i n d ,   t y p e   s t r i n g :   v a l i d   v a l u e s   a r e   \" P o l i c y \" .   A l l o w s   v e r s i o n i n g   a n d   c o n v e r s i o n   o f   t h e   p o l i c y   f o r m a t . s p e c   p r o p e r t y   s e t   t o   a   m a p   w i t h   t h e   f o l l o w i n g   p r o p e r t i e s : S u b j e c t - m a t c h i n g   p r o p e r t i e s : u s e r ,   t y p e   s t r i n g ;   t h e   u s e r - s t r i n g   f r o m   - - t o k e n - a u t h - f i l e .   I f   y o u   s p e c i f y   u s e r ,   i t   m u s t   m a t c h   t h e   u s e r n a m e   o f   t h e   a u t h e n t i c a t e d   u s e r . g r o u p ,   t y p e   s t r i n g ;   i f   y o u   s p e c i f y   g r o u p ,   i t   m u s t   m a t c h   o n e   o f   t h e   g r o u p s   o f   t h e   a u t h e n t i c a t e d   u s e r .   s y s t e m : a u t h e n t i c a t e d   m a t c h e s   a l l   a u t h e n t i c a t e d   r e q u e s t s .   s y s t e m : u n a u t h e n t i c a t e d   m a t c h e s   a l l   u n a u t h e n t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/abac/",
    "id": "k8s_00426_section_2_8310"
  },
  {
    "question": "What is Note:?",
    "answer": "A n   u n s e t   p r o p e r t y   i s   t h e   s a m e   a s   a   p r o p e r t y   s e t   t o   t h e   z e r o   v a l u e   f o r   i t s   t y p e   ( e . g .   e m p t y   s t r i n g ,   0 ,   f a l s e ) .   H o w e v e r ,   u n s e t   s h o u l d   b e   p r e f e r r e d   f o r   r e a d a b i l i t y .   I n   t h e   f u t u r e ,   p o l i c i e s   m a y   b e   e x p r e s s e d   i n   a   J S O N   f o r m a t ,   a n d   m a n a g e d   v i a   a   R E S T   i n t e r f a c e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/abac/",
    "id": "k8s_00426_section_4_8311"
  },
  {
    "question": "What is Authorization Algorithm?",
    "answer": "A   r e q u e s t   h a s   a t t r i b u t e s   w h i c h   c o r r e s p o n d   t o   t h e   p r o p e r t i e s   o f   a   p o l i c y   o b j e c t .   W h e n   a   r e q u e s t   i s   r e c e i v e d ,   t h e   a t t r i b u t e s   a r e   d e t e r m i n e d .   U n k n o w n   a t t r i b u t e s   a r e   s e t   t o   t h e   z e r o   v a l u e   o f   i t s   t y p e   ( e . g .   e m p t y   s t r i n g ,   0 ,   f a l s e ) .   A   p r o p e r t y   s e t   t o   \" * \"   w i l l   m a t c h   a n y   v a l u e   o f   t h e   c o r r e s p o n d i n g   a t t r i b u t e .   T h e   t u p l e   o f   a t t r i b u t e s   i s   c h e c k e d   f o r   a   m a t c h   a g a i n s t   e v e r y   p o l i c y   i n   t h e   p o l i c y   f i l e .   I f   a t   l e a s t   o n e   l i n e   m a t c h e s   t h e   r e q u e s t   a t t r i b u t e s ,   t h e n   t h e   r e q u e s t   i s   a u t h o r i z e d   ( b u t   m a y   f a i l   l a t e r   v a l i d a t i o n ) .   T o   p e r m i t   a n y   a u t h e n t i c a t e d   u s e r   t o   d o   s o m e t h i n g ,   w r i t e   a   p o l i c y   w i t h   t h e   g r o u p   p r o p e r t y   s e t   t o   \" s y s t e m : a u t h e n t i c a t e d \" .   T o   p e r m i t   a n y   u n a u t h e n t i c a t e d   u s e r   t o   d o   s o m e t h i n g ,   w r i t e   a   p o l i c y   w i t h   t h e   g r o u p   p r o p e r t y   s e t   t o   \" s y s t e m : u n a u t h e n t i c a t e d \" .   T o   p e r m i t   a   u s e r   t o   d o   a n y t h i n g ,   w r i t e   a   p o l i c y   w i t h   t h e   a p i G r o u p ,   n a m e s p a c e ,   r e s o u r c e ,   a n d   n o n R e s o u r c e P a t h   p r o p e r t i e s   s e t   t o   \" * \" .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/abac/",
    "id": "k8s_00426_section_2_8312"
  },
  {
    "question": "What is Kubectl?",
    "answer": "K u b e c t l   u s e s   t h e   / a p i   a n d   / a p i s   e n d p o i n t s   o f   a p i s e r v e r   t o   d i s c o v e r   s e r v e d   r e s o u r c e   t y p e s ,   a n d   v a l i d a t e s   o b j e c t s   s e n t   t o   t h e   A P I   b y   c r e a t e / u p d a t e   o p e r a t i o n s   u s i n g   s c h e m a   i n f o r m a t i o n   l o c a t e d   a t   / o p e n a p i / v 2 .   W h e n   u s i n g   A B A C   a u t h o r i z a t i o n ,   t h o s e   s p e c i a l   r e s o u r c e s   h a v e   t o   b e   e x p l i c i t l y   e x p o s e d   v i a   t h e   n o n R e s o u r c e P a t h   p r o p e r t y   i n   a   p o l i c y   ( s e e   e x a m p l e s   b e l o w ) :   / a p i ,   / a p i / * ,   / a p i s ,   a n d   / a p i s / *   f o r   A P I   v e r s i o n   n e g o t i a t i o n . / v e r s i o n   f o r   r e t r i e v i n g   t h e   s e r v e r   v e r s i o n   v i a   k u b e c t l   v e r s i o n . / s w a g g e r a p i / *   f o r   c r e a t e / u p d a t e   o p e r a t i o n s .   T o   i n s p e c t   t h e   H T T P   c a l l s   i n v o l v e d   i n   a   s p e c i f i c   k u b e c t l   o p e r a t i o n   y o u   c a n   t u r n   u p   t h e   v e r b o s i t y :   k u b e c t l   - - v = 8   v e r s i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/abac/",
    "id": "k8s_00426_section_2_8313"
  },
  {
    "question": "What is Examples?",
    "answer": "A l i c e   c a n   d o   a n y t h i n g   t o   a l l   r e s o u r c e s : { \" a p i V e r s i o n \" :   \" a b a c . a u t h o r i z a t i o n . k u b e r n e t e s . i o / v 1 b e t a 1 \" ,   \" k i n d \" :   \" P o l i c y \" ,   \" s p e c \" :   { \" u s e r \" :   \" a l i c e \" ,   \" n a m e s p a c e \" :   \" * \" ,   \" r e s o u r c e \" :   \" * \" ,   \" a p i G r o u p \" :   \" * \" } }   T h e   k u b e l e t   c a n   r e a d   a n y   p o d s : { \" a p i V e r s i o n \" :   \" a b a c . a u t h o r i z a t i o n . k u b e r n e t e s . i o / v 1 b e t a 1 \" ,   \" k i n d \" :   \" P o l i c y \" ,   \" s p e c \" :   { \" u s e r \" :   \" k u b e l e t \" ,   \" n a m e s p a c e \" :   \" * \" ,   \" r e s o u r c e \" :   \" p o d s \" ,   \" r e a d o n l y \" :   t r u e } }   T h e   k u b e l e t   c a n   r e a d   a n d   w r i t e   e v e n t s : { \" a p i V e r s i o n \" :   \" a b a c . a u t h o r i z a t i o n . k u b e r n e t e s . i o / v 1 b e t a 1 \" ,   \" k i n d \" :   \" P o l i c y \" ,   \" s p e c \" :   { \" u s e r \" :   \" k u b e l e t \" ,   \" n a m e s p a c e \" :   \" * \" ,   \" r e s o u r c e \" :   \" e v e n t s \" } }   B o b   c a n   j u s t   r e a d   p o d s   i n   n a m e s p a c e   \" p r o j e c t C a r i b o u \" : { \" a p i V e r s i o n \" :   \" a b a c . a u t h o r i z a t i o n . k u b e r n e t e s . i o / v 1 b e t a 1 \" ,   \" k i n d \" :   \" P o l i c y \" ,   \" s p e c \" :   { \" u s e r \" :   \" b o b \" ,   \" n a m e s p a c e \" :   \" p r o j e c t C a r i b o u \" ,   \" r e s o u r c e \" :   \" p o d s \" ,   \" r e a d o n l y \" :   t r u e } }   A n y o n e   c a n   m a k e   r e a d - o n l y   r e q u e s t s   t o   a l l   n o n - r e s o u r c e   p a t h s : { \" a p i V e r s i o n \" :   \" a b a c . a u t h o r i z a t i o n . k u b e r n e t e s . i o / v 1 b e t a 1 \" ,   \" k i n d \" :   \" P o l i c y \" ,   \" s p e c \" :   { \" g r o u p \" :   \" s y s t e m : a u t h e n t i c a t e d \" ,   \" r e a d o n l y \" :   t r u e ,   \" n o n R e s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/abac/",
    "id": "k8s_00426_section_2_8314"
  },
  {
    "question": "What is A quick note on service accounts?",
    "answer": "E v e r y   s e r v i c e   a c c o u n t   h a s   a   c o r r e s p o n d i n g   A B A C   u s e r n a m e ,   a n d   t h a t   s e r v i c e   a c c o u n t ' s   u s e r n a m e   i s   g e n e r a t e d   a c c o r d i n g   t o   t h e   n a m i n g   c o n v e n t i o n :   s y s t e m : s e r v i c e a c c o u n t : < n a m e s p a c e > : < s e r v i c e a c c o u n t n a m e >   C r e a t i n g   a   n e w   n a m e s p a c e   l e a d s   t o   t h e   c r e a t i o n   o f   a   n e w   s e r v i c e   a c c o u n t   i n   t h e   f o l l o w i n g   f o r m a t :   s y s t e m : s e r v i c e a c c o u n t : < n a m e s p a c e > : d e f a u l t   F o r   e x a m p l e ,   i f   y o u   w a n t e d   t o   g r a n t   t h e   d e f a u l t   s e r v i c e   a c c o u n t   ( i n   t h e   k u b e - s y s t e m   n a m e s p a c e )   f u l l   p r i v i l e g e   t o   t h e   A P I   u s i n g   A B A C ,   y o u   w o u l d   a d d   t h i s   l i n e   t o   y o u r   p o l i c y   f i l e :   { \" a p i V e r s i o n \" : \" a b a c . a u t h o r i z a t i o n . k u b e r n e t e s . i o / v 1 b e t a 1 \" , \" k i n d \" : \" P o l i c y \" , \" s p e c \" : { \" u s e r \" : \" s y s t e m : s e r v i c e a c c o u n t : k u b e - s y s t e m : d e f a u l t \" , \" n a m e s p a c e \" : \" * \" , \" r e s o u r c e \" : \" * \" , \" a p i G r o u p \" : \" * \" } }   T h e   a p i s e r v e r   w i l l   n e e d   t o   b e   r e s t a r t e d   t o   p i c k   u p   t h e   n e w   p o l i c y   l i n e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/abac/",
    "id": "k8s_00426_section_2_8315"
  },
  {
    "question": "What is Advanced contributing?",
    "answer": "Advanced contributingThis page assumes that you understand how to contribute to new content and review others' work, and are ready to learn about more ways to contribute. You need to use the Git command line client and other tools for some of these tasks.Propose improvementsSIG Docs members can propose improvements.After you've been contributing to the Kubernetes documentation for a while, you may have ideas for improving the Style Guide , the Content Guide, the toolchain used to build the documentation, the website style, the processes for reviewing and merging pull requests, or other aspects of the documentation. For maximum transparency, these types of proposals need to be discussed in a SIG Docs meeting or on the kubernetes-sig-docs mailing list. In addition, it can help to have some context about the way things currently work and why past decisions have been made before proposing sweeping changes. The quickest way to get answers to questions about how the documentation currently works is to ask in the #sig-docs Slack channel on kubernetes.slack.comAfter the discussion has taken place and the SIG is in agreement about the desired outcome, you can work on the proposed changes in the way that is the most appropriate. For instance, an update to the style guide or the website's functionality might involve opening a pull request, while a change related to documentation testing might involve working with sig-testing.Coordinate docs for a Kubernetes releaseSIG Docs approvers can coordinate docs for a Kubernetes release.Each Kubernetes release is coordinated by a team of people participating in the sig-release Special Interest Group (SIG). Others on the release team for a given release include an overall release lead, as well as representatives from sig-testing and others. To find out more about Kubernetes release processes, refer to https://github.com/kubernetes/sig-release.The SIG Docs representative for a given release coordinates the following tasks:Monitor the feature-tracking spreadsheet for new or changed features with an impact on documentation. If the documentation for a given feature won't be ready for the release, the feature may not be allowed to go into the release.Attend sig-release meetings regularly and give updates on the status of the docs for the release.Review and copyedit feature documentation drafted by the SIG responsible for implementing the feature.Merge release-related pull requests and maintain the Git feature branch for the release.Mentor other SIG Docs contributors who want to learn how to do this role in the future. This is known as \"shadowing\".Publish the documentation changes related to the release when the release artifacts are published.Coordinating a release is typically a 3-4 month commitment, and the duty is rotated among SIG Docs approvers.Serve as a New Contributor AmbassadorSIG Docs approvers can serve as New Contributor Ambassadors.New Contributor Ambassadors welcome new contributors to SIG-Docs, suggest PRs t",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/advanced/",
    "id": "k8s_00427_qa_8316"
  },
  {
    "question": "How does Advanced contributing work?",
    "answer": "Advanced contributingThis page assumes that you understand how to contribute to new content and review others' work, and are ready to learn about more ways to contribute. You need to use the Git command line client and other tools for some of these tasks.Propose improvementsSIG Docs members can propose improvements.After you've been contributing to the Kubernetes documentation for a while, you may have ideas for improving the Style Guide , the Content Guide, the toolchain used to build the documentation, the website style, the processes for reviewing and merging pull requests, or other aspects of the documentation. For maximum transparency, these types of proposals need to be discussed in a SIG Docs meeting or on the kubernetes-sig-docs mailing list. In addition, it can help to have some context about the way things currently work and why past decisions have been made before proposing sweeping changes. The quickest way to get answers to questions about how the documentation currently works is to ask in the #sig-docs Slack channel on kubernetes.slack.comAfter the discussion has taken place and the SIG is in agreement about the desired outcome, you can work on the proposed changes in the way that is the most appropriate. For instance, an update to the style guide or the website's functionality might involve opening a pull request, while a change related to documentation testing might involve working with sig-testing.Coordinate docs for a Kubernetes releaseSIG Docs approvers can coordinate docs for a Kubernetes release.Each Kubernetes release is coordinated by a team of people participating in the sig-release Special Interest Group (SIG). Others on the release team for a given release include an overall release lead, as well as representatives from sig-testing and others. To find out more about Kubernetes release processes, refer to https://github.com/kubernetes/sig-release.The SIG Docs representative for a given release coordinates the following tasks:Monitor the feature-tracking spreadsheet for new or changed features with an impact on documentation. If the documentation for a given feature won't be ready for the release, the feature may not be allowed to go into the release.Attend sig-release meetings regularly and give updates on the status of the docs for the release.Review and copyedit feature documentation drafted by the SIG responsible for implementing the feature.Merge release-related pull requests and maintain the Git feature branch for the release.Mentor other SIG Docs contributors who want to learn how to do this role in the future. This is known as \"shadowing\".Publish the documentation changes related to the release when the release artifacts are published.Coordinating a release is typically a 3-4 month commitment, and the duty is rotated among SIG Docs approvers.Serve as a New Contributor AmbassadorSIG Docs approvers can serve as New Contributor Ambassadors.New Contributor Ambassadors welcome new contributors to SIG-Docs, suggest PRs t",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/advanced/",
    "id": "k8s_00427_qa_8317"
  },
  {
    "question": "When would you use Advanced contributing?",
    "answer": "Advanced contributingThis page assumes that you understand how to contribute to new content and review others' work, and are ready to learn about more ways to contribute. You need to use the Git command line client and other tools for some of these tasks.Propose improvementsSIG Docs members can propose improvements.After you've been contributing to the Kubernetes documentation for a while, you may have ideas for improving the Style Guide , the Content Guide, the toolchain used to build the documentation, the website style, the processes for reviewing and merging pull requests, or other aspects of the documentation. For maximum transparency, these types of proposals need to be discussed in a SIG Docs meeting or on the kubernetes-sig-docs mailing list. In addition, it can help to have some context about the way things currently work and why past decisions have been made before proposing sweeping changes. The quickest way to get answers to questions about how the documentation currently works is to ask in the #sig-docs Slack channel on kubernetes.slack.comAfter the discussion has taken place and the SIG is in agreement about the desired outcome, you can work on the proposed changes in the way that is the most appropriate. For instance, an update to the style guide or the website's functionality might involve opening a pull request, while a change related to documentation testing might involve working with sig-testing.Coordinate docs for a Kubernetes releaseSIG Docs approvers can coordinate docs for a Kubernetes release.Each Kubernetes release is coordinated by a team of people participating in the sig-release Special Interest Group (SIG). Others on the release team for a given release include an overall release lead, as well as representatives from sig-testing and others. To find out more about Kubernetes release processes, refer to https://github.com/kubernetes/sig-release.The SIG Docs representative for a given release coordinates the following tasks:Monitor the feature-tracking spreadsheet for new or changed features with an impact on documentation. If the documentation for a given feature won't be ready for the release, the feature may not be allowed to go into the release.Attend sig-release meetings regularly and give updates on the status of the docs for the release.Review and copyedit feature documentation drafted by the SIG responsible for implementing the feature.Merge release-related pull requests and maintain the Git feature branch for the release.Mentor other SIG Docs contributors who want to learn how to do this role in the future. This is known as \"shadowing\".Publish the documentation changes related to the release when the release artifacts are published.Coordinating a release is typically a 3-4 month commitment, and the duty is rotated among SIG Docs approvers.Serve as a New Contributor AmbassadorSIG Docs approvers can serve as New Contributor Ambassadors.New Contributor Ambassadors welcome new contributors to SIG-Docs, suggest PRs t",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/advanced/",
    "id": "k8s_00427_qa_8318"
  },
  {
    "question": "What are the benefits of Advanced contributing?",
    "answer": "Advanced contributingThis page assumes that you understand how to contribute to new content and review others' work, and are ready to learn about more ways to contribute. You need to use the Git command line client and other tools for some of these tasks.Propose improvementsSIG Docs members can propose improvements.After you've been contributing to the Kubernetes documentation for a while, you may have ideas for improving the Style Guide , the Content Guide, the toolchain used to build the documentation, the website style, the processes for reviewing and merging pull requests, or other aspects of the documentation. For maximum transparency, these types of proposals need to be discussed in a SIG Docs meeting or on the kubernetes-sig-docs mailing list. In addition, it can help to have some context about the way things currently work and why past decisions have been made before proposing sweeping changes. The quickest way to get answers to questions about how the documentation currently works is to ask in the #sig-docs Slack channel on kubernetes.slack.comAfter the discussion has taken place and the SIG is in agreement about the desired outcome, you can work on the proposed changes in the way that is the most appropriate. For instance, an update to the style guide or the website's functionality might involve opening a pull request, while a change related to documentation testing might involve working with sig-testing.Coordinate docs for a Kubernetes releaseSIG Docs approvers can coordinate docs for a Kubernetes release.Each Kubernetes release is coordinated by a team of people participating in the sig-release Special Interest Group (SIG). Others on the release team for a given release include an overall release lead, as well as representatives from sig-testing and others. To find out more about Kubernetes release processes, refer to https://github.com/kubernetes/sig-release.The SIG Docs representative for a given release coordinates the following tasks:Monitor the feature-tracking spreadsheet for new or changed features with an impact on documentation. If the documentation for a given feature won't be ready for the release, the feature may not be allowed to go into the release.Attend sig-release meetings regularly and give updates on the status of the docs for the release.Review and copyedit feature documentation drafted by the SIG responsible for implementing the feature.Merge release-related pull requests and maintain the Git feature branch for the release.Mentor other SIG Docs contributors who want to learn how to do this role in the future. This is known as \"shadowing\".Publish the documentation changes related to the release when the release artifacts are published.Coordinating a release is typically a 3-4 month commitment, and the duty is rotated among SIG Docs approvers.Serve as a New Contributor AmbassadorSIG Docs approvers can serve as New Contributor Ambassadors.New Contributor Ambassadors welcome new contributors to SIG-Docs, suggest PRs t",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/advanced/",
    "id": "k8s_00427_qa_8319"
  },
  {
    "question": "What is Advanced contributing?",
    "answer": "T h i s   p a g e   a s s u m e s   t h a t   y o u   u n d e r s t a n d   h o w   t o   c o n t r i b u t e   t o   n e w   c o n t e n t   a n d   r e v i e w   o t h e r s '   w o r k ,   a n d   a r e   r e a d y   t o   l e a r n   a b o u t   m o r e   w a y s   t o   c o n t r i b u t e .   Y o u   n e e d   t o   u s e   t h e   G i t   c o m m a n d   l i n e   c l i e n t   a n d   o t h e r   t o o l s   f o r   s o m e   o f   t h e s e   t a s k s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/advanced/",
    "id": "k8s_00427_section_1_8320"
  },
  {
    "question": "What is Propose improvements?",
    "answer": "S I G   D o c s   m e m b e r s   c a n   p r o p o s e   i m p r o v e m e n t s .   A f t e r   y o u ' v e   b e e n   c o n t r i b u t i n g   t o   t h e   K u b e r n e t e s   d o c u m e n t a t i o n   f o r   a   w h i l e ,   y o u   m a y   h a v e   i d e a s   f o r   i m p r o v i n g   t h e   S t y l e   G u i d e   ,   t h e   C o n t e n t   G u i d e ,   t h e   t o o l c h a i n   u s e d   t o   b u i l d   t h e   d o c u m e n t a t i o n ,   t h e   w e b s i t e   s t y l e ,   t h e   p r o c e s s e s   f o r   r e v i e w i n g   a n d   m e r g i n g   p u l l   r e q u e s t s ,   o r   o t h e r   a s p e c t s   o f   t h e   d o c u m e n t a t i o n .   F o r   m a x i m u m   t r a n s p a r e n c y ,   t h e s e   t y p e s   o f   p r o p o s a l s   n e e d   t o   b e   d i s c u s s e d   i n   a   S I G   D o c s   m e e t i n g   o r   o n   t h e   k u b e r n e t e s - s i g - d o c s   m a i l i n g   l i s t .   I n   a d d i t i o n ,   i t   c a n   h e l p   t o   h a v e   s o m e   c o n t e x t   a b o u t   t h e   w a y   t h i n g s   c u r r e n t l y   w o r k   a n d   w h y   p a s t   d e c i s i o n s   h a v e   b e e n   m a d e   b e f o r e   p r o p o s i n g   s w e e p i n g   c h a n g e s .   T h e   q u i c k e s t   w a y   t o   g e t   a n s w e r s   t o   q u e s t i o n s   a b o u t   h o w   t h e   d o c u m e n t a t i o n   c u r r e n t l y   w o r k s   i s   t o   a s k   i n   t h e   # s i g - d o c s   S l a c k   c h a n n e l   o n   k u b e r n e t e s . s l a c k . c o m   A f t e r   t h e   d i s c u s s i o n   h a s   t a k e n   p l a c e   a n d   t h e   S I G   i s   i n   a g r e e m e n t   a b o u t   t h e   d e s i r e d   o u t c o m e ,   y o u   c a n   w o r k   o n   t h e   p r o p o s e d   c h a n g e s   i n   t h e   w a y   t h a t   i s   t h e   m o s t   a p p r o p r i a t e .   F o r   i n s t a n c e ,   a n   u p d a t e   t o   t h e   s t y ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/advanced/",
    "id": "k8s_00427_section_2_8321"
  },
  {
    "question": "What is Coordinate docs for a Kubernetes release?",
    "answer": "S I G   D o c s   a p p r o v e r s   c a n   c o o r d i n a t e   d o c s   f o r   a   K u b e r n e t e s   r e l e a s e .   E a c h   K u b e r n e t e s   r e l e a s e   i s   c o o r d i n a t e d   b y   a   t e a m   o f   p e o p l e   p a r t i c i p a t i n g   i n   t h e   s i g - r e l e a s e   S p e c i a l   I n t e r e s t   G r o u p   ( S I G ) .   O t h e r s   o n   t h e   r e l e a s e   t e a m   f o r   a   g i v e n   r e l e a s e   i n c l u d e   a n   o v e r a l l   r e l e a s e   l e a d ,   a s   w e l l   a s   r e p r e s e n t a t i v e s   f r o m   s i g - t e s t i n g   a n d   o t h e r s .   T o   f i n d   o u t   m o r e   a b o u t   K u b e r n e t e s   r e l e a s e   p r o c e s s e s ,   r e f e r   t o   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / s i g - r e l e a s e .   T h e   S I G   D o c s   r e p r e s e n t a t i v e   f o r   a   g i v e n   r e l e a s e   c o o r d i n a t e s   t h e   f o l l o w i n g   t a s k s :   M o n i t o r   t h e   f e a t u r e - t r a c k i n g   s p r e a d s h e e t   f o r   n e w   o r   c h a n g e d   f e a t u r e s   w i t h   a n   i m p a c t   o n   d o c u m e n t a t i o n .   I f   t h e   d o c u m e n t a t i o n   f o r   a   g i v e n   f e a t u r e   w o n ' t   b e   r e a d y   f o r   t h e   r e l e a s e ,   t h e   f e a t u r e   m a y   n o t   b e   a l l o w e d   t o   g o   i n t o   t h e   r e l e a s e . A t t e n d   s i g - r e l e a s e   m e e t i n g s   r e g u l a r l y   a n d   g i v e   u p d a t e s   o n   t h e   s t a t u s   o f   t h e   d o c s   f o r   t h e   r e l e a s e . R e v i e w   a n d   c o p y e d i t   f e a t u r e   d o c u m e n t a t i o n   d r a f t e d   b y   t h e   S I G   r e s p o n s i b l e   f o r   i m p l e m e n t i n g   t h e   f e a t u r e . M e r g e   r e l e a s e - r e l a t e d   p u l l   r e q u e s t s   a n d   m a i n t a i n   t h e   G i t   f e a t u r ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/advanced/",
    "id": "k8s_00427_section_2_8322"
  },
  {
    "question": "What is Serve as a New Contributor Ambassador?",
    "answer": "S I G   D o c s   a p p r o v e r s   c a n   s e r v e   a s   N e w   C o n t r i b u t o r   A m b a s s a d o r s .   N e w   C o n t r i b u t o r   A m b a s s a d o r s   w e l c o m e   n e w   c o n t r i b u t o r s   t o   S I G - D o c s ,   s u g g e s t   P R s   t o   n e w   c o n t r i b u t o r s ,   a n d   m e n t o r   n e w   c o n t r i b u t o r s   t h r o u g h   t h e i r   f i r s t   f e w   P R   s u b m i s s i o n s .   R e s p o n s i b i l i t i e s   f o r   N e w   C o n t r i b u t o r   A m b a s s a d o r s   i n c l u d e :   M o n i t o r i n g   t h e   # s i g - d o c s   S l a c k   c h a n n e l   f o r   q u e s t i o n s   f r o m   n e w   c o n t r i b u t o r s . W o r k i n g   w i t h   P R   w r a n g l e r s   t o   i d e n t i f y   g o o d   f i r s t   i s s u e s   f o r   n e w   c o n t r i b u t o r s . M e n t o r i n g   n e w   c o n t r i b u t o r s   t h r o u g h   t h e i r   f i r s t   f e w   P R s   t o   t h e   d o c s   r e p o . H e l p i n g   n e w   c o n t r i b u t o r s   c r e a t e   t h e   m o r e   c o m p l e x   P R s   t h e y   n e e d   t o   b e c o m e   K u b e r n e t e s   m e m b e r s . S p o n s o r i n g   c o n t r i b u t o r s   o n   t h e i r   p a t h   t o   b e c o m i n g   K u b e r n e t e s   m e m b e r s . H o s t i n g   a   m o n t h l y   m e e t i n g   t o   h e l p   a n d   m e n t o r   n e w   c o n t r i b u t o r s .   C u r r e n t   N e w   C o n t r i b u t o r   A m b a s s a d o r s   a r e   a n n o u n c e d   a t   e a c h   S I G - D o c s   m e e t i n g   a n d   i n   t h e   K u b e r n e t e s   # s i g - d o c s   c h a n n e l .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/advanced/",
    "id": "k8s_00427_section_2_8323"
  },
  {
    "question": "What is Sponsor a new contributor?",
    "answer": "S I G   D o c s   r e v i e w e r s   c a n   s p o n s o r   n e w   c o n t r i b u t o r s .   A f t e r   a   n e w   c o n t r i b u t o r   h a s   s u c c e s s f u l l y   s u b m i t t e d   5   s u b s t a n t i v e   p u l l   r e q u e s t s   t o   o n e   o r   m o r e   K u b e r n e t e s   r e p o s i t o r i e s ,   t h e y   a r e   e l i g i b l e   t o   a p p l y   f o r   m e m b e r s h i p   i n   t h e   K u b e r n e t e s   o r g a n i z a t i o n .   T h e   c o n t r i b u t o r ' s   m e m b e r s h i p   n e e d s   t o   b e   b a c k e d   b y   t w o   s p o n s o r s   w h o   a r e   a l r e a d y   r e v i e w e r s .   N e w   d o c s   c o n t r i b u t o r s   c a n   r e q u e s t   s p o n s o r s   b y   a s k i n g   i n   t h e   # s i g - d o c s   c h a n n e l   o n   t h e   K u b e r n e t e s   S l a c k   i n s t a n c e   o r   o n   t h e   S I G   D o c s   m a i l i n g   l i s t .   I f   y o u   f e e l   c o n f i d e n t   a b o u t   t h e   a p p l i c a n t ' s   w o r k ,   y o u   v o l u n t e e r   t o   s p o n s o r   t h e m .   W h e n   t h e y   s u b m i t   t h e i r   m e m b e r s h i p   a p p l i c a t i o n ,   r e p l y   t o   t h e   a p p l i c a t i o n   w i t h   a   \" + 1 \"   a n d   i n c l u d e   d e t a i l s   a b o u t   w h y   y o u   t h i n k   t h e   a p p l i c a n t   i s   a   g o o d   f i t   f o r   m e m b e r s h i p   i n   t h e   K u b e r n e t e s   o r g a n i z a t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/advanced/",
    "id": "k8s_00427_section_2_8324"
  },
  {
    "question": "What is Serve as a SIG Co-chair?",
    "answer": "S I G   D o c s   m e m b e r s   c a n   s e r v e   a   t e r m   a s   a   c o - c h a i r   o f   S I G   D o c s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/advanced/",
    "id": "k8s_00427_section_2_8325"
  },
  {
    "question": "What is Prerequisites?",
    "answer": "A   K u b e r n e t e s   m e m b e r   m u s t   m e e t   t h e   f o l l o w i n g   r e q u i r e m e n t s   t o   b e   a   c o - c h a i r :   U n d e r s t a n d   S I G   D o c s   w o r k f l o w s   a n d   t o o l i n g :   g i t ,   H u g o ,   l o c a l i z a t i o n ,   b l o g   s u b p r o j e c t U n d e r s t a n d   h o w   o t h e r   K u b e r n e t e s   S I G s   a n d   r e p o s i t o r i e s   a f f e c t   t h e   S I G   D o c s   w o r k f l o w ,   i n c l u d i n g :   t e a m s   i n   k / o r g ,   t h e   p r o c e s s   i n   k / c o m m u n i t y ,   p l u g i n s   i n   k / t e s t - i n f r a ,   a n d   t h e   r o l e   o f   S I G   A r c h i t e c t u r e .   I n   a d d i t i o n ,   u n d e r s t a n d   h o w   t h e   K u b e r n e t e s   d o c s   r e l e a s e   p r o c e s s   w o r k s . A p p r o v e d   b y   t h e   S I G   D o c s   c o m m u n i t y   e i t h e r   d i r e c t l y   o r   v i a   l a z y   c o n s e n s u s . C o m m i t   a t   l e a s t   5   h o u r s   p e r   w e e k   ( a n d   o f t e n   m o r e )   t o   t h e   r o l e   f o r   a   m i n i m u m   o f   6   m o n t h s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/advanced/",
    "id": "k8s_00427_section_3_8326"
  },
  {
    "question": "What is Responsibilities?",
    "answer": "T h e   r o l e   o f   c o - c h a i r   i s   o n e   o f   s e r v i c e :   c o - c h a i r s   b u i l d   c o n t r i b u t o r   c a p a c i t y ,   h a n d l e   p r o c e s s   a n d   p o l i c y ,   s c h e d u l e   a n d   r u n   m e e t i n g s ,   s c h e d u l e   P R   w r a n g l e r s ,   a d v o c a t e   f o r   d o c s   i n   t h e   K u b e r n e t e s   c o m m u n i t y ,   m a k e   s u r e   t h a t   d o c s   s u c c e e d   i n   K u b e r n e t e s   r e l e a s e   c y c l e s ,   a n d   k e e p   S I G   D o c s   f o c u s e d   o n   e f f e c t i v e   p r i o r i t i e s .   R e s p o n s i b i l i t i e s   i n c l u d e :   K e e p   S I G   D o c s   f o c u s e d   o n   m a x i m i z i n g   d e v e l o p e r   h a p p i n e s s   t h r o u g h   e x c e l l e n t   d o c u m e n t a t i o n E x e m p l i f y   t h e   c o m m u n i t y   c o d e   o f   c o n d u c t   a n d   h o l d   S I G   m e m b e r s   a c c o u n t a b l e   t o   i t L e a r n   a n d   s e t   b e s t   p r a c t i c e s   f o r   t h e   S I G   b y   u p d a t i n g   c o n t r i b u t i o n   g u i d e l i n e s S c h e d u l e   a n d   r u n   S I G   m e e t i n g s :   w e e k l y   s t a t u s   u p d a t e s ,   q u a r t e r l y   r e t r o / p l a n n i n g   s e s s i o n s ,   a n d   o t h e r s   a s   n e e d e d S c h e d u l e   a n d   r u n   d o c   s p r i n t s   a t   K u b e C o n   e v e n t s   a n d   o t h e r   c o n f e r e n c e s R e c r u i t   f o r   a n d   a d v o c a t e   o n   b e h a l f   o f   S I G   D o c s   w i t h   t h e   C N C F   a n d   i t s   p l a t i n u m   p a r t n e r s ,   i n c l u d i n g   G o o g l e ,   O r a c l e ,   A z u r e ,   I B M ,   a n d   H u a w e i K e e p   t h e   S I G   r u n n i n g   s m o o t h l y",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/advanced/",
    "id": "k8s_00427_section_3_8327"
  },
  {
    "question": "What is Running effective meetings?",
    "answer": "T o   s c h e d u l e   a n d   r u n   e f f e c t i v e   m e e t i n g s ,   t h e s e   g u i d e l i n e s   s h o w   w h a t   t o   d o ,   h o w   t o   d o   i t ,   a n d   w h y .   U p h o l d   t h e   c o m m u n i t y   c o d e   o f   c o n d u c t :   H o l d   r e s p e c t f u l ,   i n c l u s i v e   d i s c u s s i o n s   w i t h   r e s p e c t f u l ,   i n c l u s i v e   l a n g u a g e .   S e t   a   c l e a r   a g e n d a :   S e t   a   c l e a r   a g e n d a   o f   t o p i c s P u b l i s h   t h e   a g e n d a   i n   a d v a n c e   F o r   w e e k l y   m e e t i n g s ,   c o p y p a s t e   t h e   p r e v i o u s   w e e k ' s   n o t e s   i n t o   t h e   \" P a s t   m e e t i n g s \"   s e c t i o n   o f   t h e   n o t e s   C o l l a b o r a t e   o n   a c c u r a t e   n o t e s :   R e c o r d   t h e   m e e t i n g ' s   d i s c u s s i o n C o n s i d e r   d e l e g a t i n g   t h e   r o l e   o f   n o t e - t a k e r   A s s i g n   a c t i o n   i t e m s   c l e a r l y   a n d   a c c u r a t e l y :   R e c o r d   t h e   a c t i o n   i t e m ,   w h o   i s   a s s i g n e d   t o   i t ,   a n d   t h e   e x p e c t e d   c o m p l e t i o n   d a t e   M o d e r a t e   a s   n e e d e d :   I f   d i s c u s s i o n   s t r a y s   f r o m   t h e   a g e n d a ,   r e f o c u s   p a r t i c i p a n t s   o n   t h e   c u r r e n t   t o p i c M a k e   r o o m   f o r   d i f f e r e n t   d i s c u s s i o n   s t y l e s   w h i l e   k e e p i n g   t h e   d i s c u s s i o n   f o c u s e d   a n d   h o n o r i n g   f o l k s '   t i m e   H o n o r   f o l k s '   t i m e :   B e g i n   a n d   e n d   m e e t i n g s   o n   t i m e .   U s e   Z o o m   e f f e c t i v e l y :   F a m i l i a r i z e   y o u r s e l f   w i t h   Z o o m   g u i d e l i n e s   f o r   K u b e r n e t e s C l a i m   t h e   h o s t   r o l e   w h e n   y o u   l o g   i n   b y   e n t e r i n g ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/advanced/",
    "id": "k8s_00427_section_3_8328"
  },
  {
    "question": "What is Recording meetings on Zoom?",
    "answer": "W h e n   y o u ' r e   r e a d y   t o   s t a r t   t h e   r e c o r d i n g ,   c l i c k   R e c o r d   t o   C l o u d .   W h e n   y o u ' r e   r e a d y   t o   s t o p   r e c o r d i n g ,   c l i c k   S t o p .   T h e   v i d e o   u p l o a d s   a u t o m a t i c a l l y   t o   Y o u T u b e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/advanced/",
    "id": "k8s_00427_section_3_8329"
  },
  {
    "question": "What is Offboarding a SIG Co-chair (Emeritus)?",
    "answer": "S e e :   k / c o m m u n i t y / s i g - d o c s / o f f b o a r d i n g . m d",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/advanced/",
    "id": "k8s_00427_section_3_8330"
  },
  {
    "question": "What is Kubelet authentication/authorization?",
    "answer": "Kubelet authentication/authorizationOverviewA kubelet's HTTPS endpoint exposes APIs which give access to data of varying sensitivity, and allow you to perform operations with varying levels of power on the node and within containers.This document describes how to authenticate and authorize access to the kubelet's HTTPS endpoint.Kubelet authenticationBy default, requests to the kubelet's HTTPS endpoint that are not rejected by other configured authentication methods are treated as anonymous requests, and given a username of system:anonymous and a group of system:unauthenticated.To disable anonymous access and send 401 Unauthorized responses to unauthenticated requests:start the kubelet with the --anonymous-auth=false flagTo enable X509 client certificate authentication to the kubelet's HTTPS endpoint:start the kubelet with the --client-ca-file flag, providing a CA bundle to verify client certificates withstart the apiserver with --kubelet-client-certificate and --kubelet-client-key flagssee the apiserver authentication documentation for more detailsTo enable API bearer tokens (including service account tokens) to be used to authenticate to the kubelet's HTTPS endpoint:ensure the authentication.k8s.io/v1beta1 API group is enabled in the API serverstart the kubelet with the --authentication-token-webhook and --kubeconfig flagsthe kubelet calls the TokenReview API on the configured API server to determine user information from bearer tokensKubelet authorizationAny request that is successfully authenticated (including an anonymous request) is then authorized. The default authorization mode is AlwaysAllow, which allows all requests.There are many possible reasons to subdivide access to the kubelet API:anonymous auth is enabled, but anonymous users' ability to call the kubelet API should be limitedbearer token auth is enabled, but arbitrary API users' (like service accounts) ability to call the kubelet API should be limitedclient certificate auth is enabled, but only some of the client certificates signed by the configured CA should be allowed to use the kubelet APITo subdivide access to the kubelet API, delegate authorization to the API server:ensure the authorization.k8s.io/v1beta1 API group is enabled in the API serverstart the kubelet with the --authorization-mode=Webhook and the --kubeconfig flagsthe kubelet calls the SubjectAccessReview API on the configured API server to determine whether each request is authorizedThe kubelet authorizes API requests using the same request attributes approach as the apiserver.The verb is determined from the incoming request's HTTP verb:HTTP verbrequest verbPOSTcreateGET, HEADgetPUTupdatePATCHpatchDELETEdeleteThe resource and subresource is determined from the incoming request's path:Kubelet APIresourcesubresource/stats/*nodesstats/metrics/*nodesmetrics/logs/*nodeslog/spec/*nodesspec/checkpoint/*nodescheckpointall othersnodesproxyThe namespace and API group attributes are always an empty string, and the resource na",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-authn-authz/",
    "id": "k8s_00428_qa_8331"
  },
  {
    "question": "How does Kubelet authentication/authorization work?",
    "answer": "Kubelet authentication/authorizationOverviewA kubelet's HTTPS endpoint exposes APIs which give access to data of varying sensitivity, and allow you to perform operations with varying levels of power on the node and within containers.This document describes how to authenticate and authorize access to the kubelet's HTTPS endpoint.Kubelet authenticationBy default, requests to the kubelet's HTTPS endpoint that are not rejected by other configured authentication methods are treated as anonymous requests, and given a username of system:anonymous and a group of system:unauthenticated.To disable anonymous access and send 401 Unauthorized responses to unauthenticated requests:start the kubelet with the --anonymous-auth=false flagTo enable X509 client certificate authentication to the kubelet's HTTPS endpoint:start the kubelet with the --client-ca-file flag, providing a CA bundle to verify client certificates withstart the apiserver with --kubelet-client-certificate and --kubelet-client-key flagssee the apiserver authentication documentation for more detailsTo enable API bearer tokens (including service account tokens) to be used to authenticate to the kubelet's HTTPS endpoint:ensure the authentication.k8s.io/v1beta1 API group is enabled in the API serverstart the kubelet with the --authentication-token-webhook and --kubeconfig flagsthe kubelet calls the TokenReview API on the configured API server to determine user information from bearer tokensKubelet authorizationAny request that is successfully authenticated (including an anonymous request) is then authorized. The default authorization mode is AlwaysAllow, which allows all requests.There are many possible reasons to subdivide access to the kubelet API:anonymous auth is enabled, but anonymous users' ability to call the kubelet API should be limitedbearer token auth is enabled, but arbitrary API users' (like service accounts) ability to call the kubelet API should be limitedclient certificate auth is enabled, but only some of the client certificates signed by the configured CA should be allowed to use the kubelet APITo subdivide access to the kubelet API, delegate authorization to the API server:ensure the authorization.k8s.io/v1beta1 API group is enabled in the API serverstart the kubelet with the --authorization-mode=Webhook and the --kubeconfig flagsthe kubelet calls the SubjectAccessReview API on the configured API server to determine whether each request is authorizedThe kubelet authorizes API requests using the same request attributes approach as the apiserver.The verb is determined from the incoming request's HTTP verb:HTTP verbrequest verbPOSTcreateGET, HEADgetPUTupdatePATCHpatchDELETEdeleteThe resource and subresource is determined from the incoming request's path:Kubelet APIresourcesubresource/stats/*nodesstats/metrics/*nodesmetrics/logs/*nodeslog/spec/*nodesspec/checkpoint/*nodescheckpointall othersnodesproxyThe namespace and API group attributes are always an empty string, and the resource na",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-authn-authz/",
    "id": "k8s_00428_qa_8332"
  },
  {
    "question": "When would you use Kubelet authentication/authorization?",
    "answer": "Kubelet authentication/authorizationOverviewA kubelet's HTTPS endpoint exposes APIs which give access to data of varying sensitivity, and allow you to perform operations with varying levels of power on the node and within containers.This document describes how to authenticate and authorize access to the kubelet's HTTPS endpoint.Kubelet authenticationBy default, requests to the kubelet's HTTPS endpoint that are not rejected by other configured authentication methods are treated as anonymous requests, and given a username of system:anonymous and a group of system:unauthenticated.To disable anonymous access and send 401 Unauthorized responses to unauthenticated requests:start the kubelet with the --anonymous-auth=false flagTo enable X509 client certificate authentication to the kubelet's HTTPS endpoint:start the kubelet with the --client-ca-file flag, providing a CA bundle to verify client certificates withstart the apiserver with --kubelet-client-certificate and --kubelet-client-key flagssee the apiserver authentication documentation for more detailsTo enable API bearer tokens (including service account tokens) to be used to authenticate to the kubelet's HTTPS endpoint:ensure the authentication.k8s.io/v1beta1 API group is enabled in the API serverstart the kubelet with the --authentication-token-webhook and --kubeconfig flagsthe kubelet calls the TokenReview API on the configured API server to determine user information from bearer tokensKubelet authorizationAny request that is successfully authenticated (including an anonymous request) is then authorized. The default authorization mode is AlwaysAllow, which allows all requests.There are many possible reasons to subdivide access to the kubelet API:anonymous auth is enabled, but anonymous users' ability to call the kubelet API should be limitedbearer token auth is enabled, but arbitrary API users' (like service accounts) ability to call the kubelet API should be limitedclient certificate auth is enabled, but only some of the client certificates signed by the configured CA should be allowed to use the kubelet APITo subdivide access to the kubelet API, delegate authorization to the API server:ensure the authorization.k8s.io/v1beta1 API group is enabled in the API serverstart the kubelet with the --authorization-mode=Webhook and the --kubeconfig flagsthe kubelet calls the SubjectAccessReview API on the configured API server to determine whether each request is authorizedThe kubelet authorizes API requests using the same request attributes approach as the apiserver.The verb is determined from the incoming request's HTTP verb:HTTP verbrequest verbPOSTcreateGET, HEADgetPUTupdatePATCHpatchDELETEdeleteThe resource and subresource is determined from the incoming request's path:Kubelet APIresourcesubresource/stats/*nodesstats/metrics/*nodesmetrics/logs/*nodeslog/spec/*nodesspec/checkpoint/*nodescheckpointall othersnodesproxyThe namespace and API group attributes are always an empty string, and the resource na",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-authn-authz/",
    "id": "k8s_00428_qa_8333"
  },
  {
    "question": "What are the benefits of Kubelet authentication/authorization?",
    "answer": "Kubelet authentication/authorizationOverviewA kubelet's HTTPS endpoint exposes APIs which give access to data of varying sensitivity, and allow you to perform operations with varying levels of power on the node and within containers.This document describes how to authenticate and authorize access to the kubelet's HTTPS endpoint.Kubelet authenticationBy default, requests to the kubelet's HTTPS endpoint that are not rejected by other configured authentication methods are treated as anonymous requests, and given a username of system:anonymous and a group of system:unauthenticated.To disable anonymous access and send 401 Unauthorized responses to unauthenticated requests:start the kubelet with the --anonymous-auth=false flagTo enable X509 client certificate authentication to the kubelet's HTTPS endpoint:start the kubelet with the --client-ca-file flag, providing a CA bundle to verify client certificates withstart the apiserver with --kubelet-client-certificate and --kubelet-client-key flagssee the apiserver authentication documentation for more detailsTo enable API bearer tokens (including service account tokens) to be used to authenticate to the kubelet's HTTPS endpoint:ensure the authentication.k8s.io/v1beta1 API group is enabled in the API serverstart the kubelet with the --authentication-token-webhook and --kubeconfig flagsthe kubelet calls the TokenReview API on the configured API server to determine user information from bearer tokensKubelet authorizationAny request that is successfully authenticated (including an anonymous request) is then authorized. The default authorization mode is AlwaysAllow, which allows all requests.There are many possible reasons to subdivide access to the kubelet API:anonymous auth is enabled, but anonymous users' ability to call the kubelet API should be limitedbearer token auth is enabled, but arbitrary API users' (like service accounts) ability to call the kubelet API should be limitedclient certificate auth is enabled, but only some of the client certificates signed by the configured CA should be allowed to use the kubelet APITo subdivide access to the kubelet API, delegate authorization to the API server:ensure the authorization.k8s.io/v1beta1 API group is enabled in the API serverstart the kubelet with the --authorization-mode=Webhook and the --kubeconfig flagsthe kubelet calls the SubjectAccessReview API on the configured API server to determine whether each request is authorizedThe kubelet authorizes API requests using the same request attributes approach as the apiserver.The verb is determined from the incoming request's HTTP verb:HTTP verbrequest verbPOSTcreateGET, HEADgetPUTupdatePATCHpatchDELETEdeleteThe resource and subresource is determined from the incoming request's path:Kubelet APIresourcesubresource/stats/*nodesstats/metrics/*nodesmetrics/logs/*nodeslog/spec/*nodesspec/checkpoint/*nodescheckpointall othersnodesproxyThe namespace and API group attributes are always an empty string, and the resource na",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-authn-authz/",
    "id": "k8s_00428_qa_8334"
  },
  {
    "question": "What is Overview?",
    "answer": "A   k u b e l e t ' s   H T T P S   e n d p o i n t   e x p o s e s   A P I s   w h i c h   g i v e   a c c e s s   t o   d a t a   o f   v a r y i n g   s e n s i t i v i t y ,   a n d   a l l o w   y o u   t o   p e r f o r m   o p e r a t i o n s   w i t h   v a r y i n g   l e v e l s   o f   p o w e r   o n   t h e   n o d e   a n d   w i t h i n   c o n t a i n e r s .   T h i s   d o c u m e n t   d e s c r i b e s   h o w   t o   a u t h e n t i c a t e   a n d   a u t h o r i z e   a c c e s s   t o   t h e   k u b e l e t ' s   H T T P S   e n d p o i n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-authn-authz/",
    "id": "k8s_00428_section_2_8335"
  },
  {
    "question": "What is Kubelet authentication?",
    "answer": "B y   d e f a u l t ,   r e q u e s t s   t o   t h e   k u b e l e t ' s   H T T P S   e n d p o i n t   t h a t   a r e   n o t   r e j e c t e d   b y   o t h e r   c o n f i g u r e d   a u t h e n t i c a t i o n   m e t h o d s   a r e   t r e a t e d   a s   a n o n y m o u s   r e q u e s t s ,   a n d   g i v e n   a   u s e r n a m e   o f   s y s t e m : a n o n y m o u s   a n d   a   g r o u p   o f   s y s t e m : u n a u t h e n t i c a t e d .   T o   d i s a b l e   a n o n y m o u s   a c c e s s   a n d   s e n d   4 0 1   U n a u t h o r i z e d   r e s p o n s e s   t o   u n a u t h e n t i c a t e d   r e q u e s t s :   s t a r t   t h e   k u b e l e t   w i t h   t h e   - - a n o n y m o u s - a u t h = f a l s e   f l a g   T o   e n a b l e   X 5 0 9   c l i e n t   c e r t i f i c a t e   a u t h e n t i c a t i o n   t o   t h e   k u b e l e t ' s   H T T P S   e n d p o i n t :   s t a r t   t h e   k u b e l e t   w i t h   t h e   - - c l i e n t - c a - f i l e   f l a g ,   p r o v i d i n g   a   C A   b u n d l e   t o   v e r i f y   c l i e n t   c e r t i f i c a t e s   w i t h s t a r t   t h e   a p i s e r v e r   w i t h   - - k u b e l e t - c l i e n t - c e r t i f i c a t e   a n d   - - k u b e l e t - c l i e n t - k e y   f l a g s s e e   t h e   a p i s e r v e r   a u t h e n t i c a t i o n   d o c u m e n t a t i o n   f o r   m o r e   d e t a i l s   T o   e n a b l e   A P I   b e a r e r   t o k e n s   ( i n c l u d i n g   s e r v i c e   a c c o u n t   t o k e n s )   t o   b e   u s e d   t o   a u t h e n t i c a t e   t o   t h e   k u b e l e t ' s   H T T P S   e n d p o i n t :   e n s u r e   t h e   a u t h e n t i c a t i o n . k 8 s . i o / v 1 b e t a 1   A P I   g r o u p   i s   e n a b l e d   i n   t h e   A P I   s e r v e r s t a r t   t h e   k u b e l e t   w i t h   t h e   - - a u t h e n t i c a t i o n - t o k e n - w e b h o o k   a n d   - - k u b e c o n f i g   f l a g s t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-authn-authz/",
    "id": "k8s_00428_section_2_8336"
  },
  {
    "question": "What is Kubelet authorization?",
    "answer": "A n y   r e q u e s t   t h a t   i s   s u c c e s s f u l l y   a u t h e n t i c a t e d   ( i n c l u d i n g   a n   a n o n y m o u s   r e q u e s t )   i s   t h e n   a u t h o r i z e d .   T h e   d e f a u l t   a u t h o r i z a t i o n   m o d e   i s   A l w a y s A l l o w ,   w h i c h   a l l o w s   a l l   r e q u e s t s .   T h e r e   a r e   m a n y   p o s s i b l e   r e a s o n s   t o   s u b d i v i d e   a c c e s s   t o   t h e   k u b e l e t   A P I :   a n o n y m o u s   a u t h   i s   e n a b l e d ,   b u t   a n o n y m o u s   u s e r s '   a b i l i t y   t o   c a l l   t h e   k u b e l e t   A P I   s h o u l d   b e   l i m i t e d b e a r e r   t o k e n   a u t h   i s   e n a b l e d ,   b u t   a r b i t r a r y   A P I   u s e r s '   ( l i k e   s e r v i c e   a c c o u n t s )   a b i l i t y   t o   c a l l   t h e   k u b e l e t   A P I   s h o u l d   b e   l i m i t e d c l i e n t   c e r t i f i c a t e   a u t h   i s   e n a b l e d ,   b u t   o n l y   s o m e   o f   t h e   c l i e n t   c e r t i f i c a t e s   s i g n e d   b y   t h e   c o n f i g u r e d   C A   s h o u l d   b e   a l l o w e d   t o   u s e   t h e   k u b e l e t   A P I   T o   s u b d i v i d e   a c c e s s   t o   t h e   k u b e l e t   A P I ,   d e l e g a t e   a u t h o r i z a t i o n   t o   t h e   A P I   s e r v e r :   e n s u r e   t h e   a u t h o r i z a t i o n . k 8 s . i o / v 1 b e t a 1   A P I   g r o u p   i s   e n a b l e d   i n   t h e   A P I   s e r v e r s t a r t   t h e   k u b e l e t   w i t h   t h e   - - a u t h o r i z a t i o n - m o d e = W e b h o o k   a n d   t h e   - - k u b e c o n f i g   f l a g s t h e   k u b e l e t   c a l l s   t h e   S u b j e c t A c c e s s R e v i e w   A P I   o n   t h e   c o n f i g u r e d   A P I   s e r v e r   t o   d e t e r m i n e   w h e t h e r   e a c h   r e q u e s t   i s   a u t h o r i z e d   T h e   k u b e l e t   a u t h o r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-authn-authz/",
    "id": "k8s_00428_section_2_8337"
  },
  {
    "question": "What is Fine-grained authorization?",
    "answer": "W h e n   t h e   f e a t u r e   g a t e   K u b e l e t F i n e G r a i n e d A u t h z   i s   e n a b l e d   k u b e l e t   p e r f o r m s   a   f i n e - g r a i n e d   c h e c k   b e f o r e   f a l l i n g   b a c k   t o   t h e   p r o x y   s u b r e s o u r c e   f o r   t h e   / p o d s ,   / r u n n i n g P o d s ,   / c o n f i g z   a n d   / h e a l t h z   e n d p o i n t s .   T h e   r e s o u r c e   a n d   s u b r e s o u r c e   a r e   d e t e r m i n e d   f r o m   t h e   i n c o m i n g   r e q u e s t ' s   p a t h :   W h e n   t h e   f e a t u r e - g a t e   K u b e l e t F i n e G r a i n e d A u t h z   i s   e n a b l e d ,   e n s u r e   t h e   u s e r   i d e n t i f i e d   b y   t h e   - - k u b e l e t - c l i e n t - c e r t i f i c a t e   a n d   - - k u b e l e t - c l i e n t - k e y   f l a g s   p a s s e d   t o   t h e   A P I   s e r v e r   i s   a u t h o r i z e d   f o r   t h e   f o l l o w i n g   a t t r i b u t e s :   v e r b = * ,   r e s o u r c e = n o d e s ,   s u b r e s o u r c e = p r o x y v e r b = * ,   r e s o u r c e = n o d e s ,   s u b r e s o u r c e = s t a t s v e r b = * ,   r e s o u r c e = n o d e s ,   s u b r e s o u r c e = l o g v e r b = * ,   r e s o u r c e = n o d e s ,   s u b r e s o u r c e = m e t r i c s v e r b = * ,   r e s o u r c e = n o d e s ,   s u b r e s o u r c e = c o n f i g z v e r b = * ,   r e s o u r c e = n o d e s ,   s u b r e s o u r c e = h e a l t h z v e r b = * ,   r e s o u r c e = n o d e s ,   s u b r e s o u r c e = p o d s   I f   R B A C   a u t h o r i z a t i o n   i s   u s e d ,   e n a b l i n g   t h i s   g a t e   a l s o   e n s u r e   t h a t   t h e   b u i l t i n   s y s t e m : k u b e l e t - a p i - a d m i n   C l u s t e r R o l e   i s   u p d a t e d   w i t h   p e r m i s s i o n s   t o   a c c e s s   a l l   t h e   a b o v e   m e n t i o n e d   s u b r e s o u r c e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/kubelet-authn-authz/",
    "id": "k8s_00428_section_3_8338"
  },
  {
    "question": "What is Kubelet Configuration (v1beta1)?",
    "answer": "Kubelet Configuration (v1beta1)Resource TypesCredentialProviderConfigKubeletConfigurationSerializedNodeConfigSourceFormatOptionsAppears in:LoggingConfigurationFormatOptions contains options for the different logging formats.FieldDescriptiontext [Required]TextOptions[Alpha] Text contains options for logging format \"text\". Only available when the LoggingAlphaOptions feature gate is enabled.json [Required]JSONOptions[Alpha] JSON contains options for logging format \"json\". Only available when the LoggingAlphaOptions feature gate is enabled.JSONOptionsAppears in:FormatOptionsJSONOptions contains options for logging format \"json\".FieldDescriptionOutputRoutingOptions [Required]OutputRoutingOptions(Members of OutputRoutingOptions are embedded into this type.) No description provided.LogFormatFactoryLogFormatFactory provides support for a certain additional, non-default log format.LoggingConfigurationAppears in:KubeletConfigurationLoggingConfiguration contains logging options.FieldDescriptionformat [Required]stringFormat Flag specifies the structure of log messages. default value of format is textflushFrequency [Required]TimeOrMetaDurationMaximum time between log flushes. If a string, parsed as a duration (i.e. \"1s\") If an int, the maximum number of nanoseconds (i.e. 1s = 1000000000). Ignored if the selected logging backend writes log messages without buffering.verbosity [Required]VerbosityLevelVerbosity is the threshold that determines which log messages are logged. Default is zero which logs only the most important messages. Higher values enable additional messages. Error messages are always logged.vmodule [Required]VModuleConfigurationVModule overrides the verbosity threshold for individual files. Only supported for \"text\" log format.options [Required]FormatOptions[Alpha] Options holds additional parameters that are specific to the different logging formats. Only the options for the selected format get used, but all of them get validated. Only available when the LoggingAlphaOptions feature gate is enabled.LoggingOptionsLoggingOptions can be used with ValidateAndApplyWithOptions to override certain global defaults.FieldDescriptionErrorStream [Required]io.WriterErrorStream can be used to override the os.Stderr default.InfoStream [Required]io.WriterInfoStream can be used to override the os.Stdout default.OutputRoutingOptionsAppears in:JSONOptionsTextOptionsOutputRoutingOptions contains options that are supported by both \"text\" and \"json\".FieldDescriptionsplitStream [Required]bool[Alpha] SplitStream redirects error messages to stderr while info messages go to stdout, with buffering. The default is to write both to stdout, without buffering. Only available when the LoggingAlphaOptions feature gate is enabled.infoBufferSize [Required]k8s.io/apimachinery/pkg/api/resource.QuantityValue[Alpha] InfoBufferSize sets the size of the info stream when using split streams. The default is zero, which disables buffering. Only available when the LoggingAlphaOptions featu",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_qa_8339"
  },
  {
    "question": "How does Kubelet Configuration (v1beta1) work?",
    "answer": "Kubelet Configuration (v1beta1)Resource TypesCredentialProviderConfigKubeletConfigurationSerializedNodeConfigSourceFormatOptionsAppears in:LoggingConfigurationFormatOptions contains options for the different logging formats.FieldDescriptiontext [Required]TextOptions[Alpha] Text contains options for logging format \"text\". Only available when the LoggingAlphaOptions feature gate is enabled.json [Required]JSONOptions[Alpha] JSON contains options for logging format \"json\". Only available when the LoggingAlphaOptions feature gate is enabled.JSONOptionsAppears in:FormatOptionsJSONOptions contains options for logging format \"json\".FieldDescriptionOutputRoutingOptions [Required]OutputRoutingOptions(Members of OutputRoutingOptions are embedded into this type.) No description provided.LogFormatFactoryLogFormatFactory provides support for a certain additional, non-default log format.LoggingConfigurationAppears in:KubeletConfigurationLoggingConfiguration contains logging options.FieldDescriptionformat [Required]stringFormat Flag specifies the structure of log messages. default value of format is textflushFrequency [Required]TimeOrMetaDurationMaximum time between log flushes. If a string, parsed as a duration (i.e. \"1s\") If an int, the maximum number of nanoseconds (i.e. 1s = 1000000000). Ignored if the selected logging backend writes log messages without buffering.verbosity [Required]VerbosityLevelVerbosity is the threshold that determines which log messages are logged. Default is zero which logs only the most important messages. Higher values enable additional messages. Error messages are always logged.vmodule [Required]VModuleConfigurationVModule overrides the verbosity threshold for individual files. Only supported for \"text\" log format.options [Required]FormatOptions[Alpha] Options holds additional parameters that are specific to the different logging formats. Only the options for the selected format get used, but all of them get validated. Only available when the LoggingAlphaOptions feature gate is enabled.LoggingOptionsLoggingOptions can be used with ValidateAndApplyWithOptions to override certain global defaults.FieldDescriptionErrorStream [Required]io.WriterErrorStream can be used to override the os.Stderr default.InfoStream [Required]io.WriterInfoStream can be used to override the os.Stdout default.OutputRoutingOptionsAppears in:JSONOptionsTextOptionsOutputRoutingOptions contains options that are supported by both \"text\" and \"json\".FieldDescriptionsplitStream [Required]bool[Alpha] SplitStream redirects error messages to stderr while info messages go to stdout, with buffering. The default is to write both to stdout, without buffering. Only available when the LoggingAlphaOptions feature gate is enabled.infoBufferSize [Required]k8s.io/apimachinery/pkg/api/resource.QuantityValue[Alpha] InfoBufferSize sets the size of the info stream when using split streams. The default is zero, which disables buffering. Only available when the LoggingAlphaOptions featu",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_qa_8340"
  },
  {
    "question": "When would you use Kubelet Configuration (v1beta1)?",
    "answer": "Kubelet Configuration (v1beta1)Resource TypesCredentialProviderConfigKubeletConfigurationSerializedNodeConfigSourceFormatOptionsAppears in:LoggingConfigurationFormatOptions contains options for the different logging formats.FieldDescriptiontext [Required]TextOptions[Alpha] Text contains options for logging format \"text\". Only available when the LoggingAlphaOptions feature gate is enabled.json [Required]JSONOptions[Alpha] JSON contains options for logging format \"json\". Only available when the LoggingAlphaOptions feature gate is enabled.JSONOptionsAppears in:FormatOptionsJSONOptions contains options for logging format \"json\".FieldDescriptionOutputRoutingOptions [Required]OutputRoutingOptions(Members of OutputRoutingOptions are embedded into this type.) No description provided.LogFormatFactoryLogFormatFactory provides support for a certain additional, non-default log format.LoggingConfigurationAppears in:KubeletConfigurationLoggingConfiguration contains logging options.FieldDescriptionformat [Required]stringFormat Flag specifies the structure of log messages. default value of format is textflushFrequency [Required]TimeOrMetaDurationMaximum time between log flushes. If a string, parsed as a duration (i.e. \"1s\") If an int, the maximum number of nanoseconds (i.e. 1s = 1000000000). Ignored if the selected logging backend writes log messages without buffering.verbosity [Required]VerbosityLevelVerbosity is the threshold that determines which log messages are logged. Default is zero which logs only the most important messages. Higher values enable additional messages. Error messages are always logged.vmodule [Required]VModuleConfigurationVModule overrides the verbosity threshold for individual files. Only supported for \"text\" log format.options [Required]FormatOptions[Alpha] Options holds additional parameters that are specific to the different logging formats. Only the options for the selected format get used, but all of them get validated. Only available when the LoggingAlphaOptions feature gate is enabled.LoggingOptionsLoggingOptions can be used with ValidateAndApplyWithOptions to override certain global defaults.FieldDescriptionErrorStream [Required]io.WriterErrorStream can be used to override the os.Stderr default.InfoStream [Required]io.WriterInfoStream can be used to override the os.Stdout default.OutputRoutingOptionsAppears in:JSONOptionsTextOptionsOutputRoutingOptions contains options that are supported by both \"text\" and \"json\".FieldDescriptionsplitStream [Required]bool[Alpha] SplitStream redirects error messages to stderr while info messages go to stdout, with buffering. The default is to write both to stdout, without buffering. Only available when the LoggingAlphaOptions feature gate is enabled.infoBufferSize [Required]k8s.io/apimachinery/pkg/api/resource.QuantityValue[Alpha] InfoBufferSize sets the size of the info stream when using split streams. The default is zero, which disables buffering. Only available when the LoggingAlphaOptions featu",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_qa_8341"
  },
  {
    "question": "What are the benefits of Kubelet Configuration (v1beta1)?",
    "answer": "Kubelet Configuration (v1beta1)Resource TypesCredentialProviderConfigKubeletConfigurationSerializedNodeConfigSourceFormatOptionsAppears in:LoggingConfigurationFormatOptions contains options for the different logging formats.FieldDescriptiontext [Required]TextOptions[Alpha] Text contains options for logging format \"text\". Only available when the LoggingAlphaOptions feature gate is enabled.json [Required]JSONOptions[Alpha] JSON contains options for logging format \"json\". Only available when the LoggingAlphaOptions feature gate is enabled.JSONOptionsAppears in:FormatOptionsJSONOptions contains options for logging format \"json\".FieldDescriptionOutputRoutingOptions [Required]OutputRoutingOptions(Members of OutputRoutingOptions are embedded into this type.) No description provided.LogFormatFactoryLogFormatFactory provides support for a certain additional, non-default log format.LoggingConfigurationAppears in:KubeletConfigurationLoggingConfiguration contains logging options.FieldDescriptionformat [Required]stringFormat Flag specifies the structure of log messages. default value of format is textflushFrequency [Required]TimeOrMetaDurationMaximum time between log flushes. If a string, parsed as a duration (i.e. \"1s\") If an int, the maximum number of nanoseconds (i.e. 1s = 1000000000). Ignored if the selected logging backend writes log messages without buffering.verbosity [Required]VerbosityLevelVerbosity is the threshold that determines which log messages are logged. Default is zero which logs only the most important messages. Higher values enable additional messages. Error messages are always logged.vmodule [Required]VModuleConfigurationVModule overrides the verbosity threshold for individual files. Only supported for \"text\" log format.options [Required]FormatOptions[Alpha] Options holds additional parameters that are specific to the different logging formats. Only the options for the selected format get used, but all of them get validated. Only available when the LoggingAlphaOptions feature gate is enabled.LoggingOptionsLoggingOptions can be used with ValidateAndApplyWithOptions to override certain global defaults.FieldDescriptionErrorStream [Required]io.WriterErrorStream can be used to override the os.Stderr default.InfoStream [Required]io.WriterInfoStream can be used to override the os.Stdout default.OutputRoutingOptionsAppears in:JSONOptionsTextOptionsOutputRoutingOptions contains options that are supported by both \"text\" and \"json\".FieldDescriptionsplitStream [Required]bool[Alpha] SplitStream redirects error messages to stderr while info messages go to stdout, with buffering. The default is to write both to stdout, without buffering. Only available when the LoggingAlphaOptions feature gate is enabled.infoBufferSize [Required]k8s.io/apimachinery/pkg/api/resource.QuantityValue[Alpha] InfoBufferSize sets the size of the info stream when using split streams. The default is zero, which disables buffering. Only available when the LoggingAlphaOptions featu",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_qa_8342"
  },
  {
    "question": "What is Resource Types?",
    "answer": "C r e d e n t i a l P r o v i d e r C o n f i g K u b e l e t C o n f i g u r a t i o n S e r i a l i z e d N o d e C o n f i g S o u r c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8343"
  },
  {
    "question": "What is FormatOptions?",
    "answer": "A p p e a r s   i n :   L o g g i n g C o n f i g u r a t i o n   F o r m a t O p t i o n s   c o n t a i n s   o p t i o n s   f o r   t h e   d i f f e r e n t   l o g g i n g   f o r m a t s .   [ A l p h a ]   T e x t   c o n t a i n s   o p t i o n s   f o r   l o g g i n g   f o r m a t   \" t e x t \" .   O n l y   a v a i l a b l e   w h e n   t h e   L o g g i n g A l p h a O p t i o n s   f e a t u r e   g a t e   i s   e n a b l e d .   [ A l p h a ]   J S O N   c o n t a i n s   o p t i o n s   f o r   l o g g i n g   f o r m a t   \" j s o n \" .   O n l y   a v a i l a b l e   w h e n   t h e   L o g g i n g A l p h a O p t i o n s   f e a t u r e   g a t e   i s   e n a b l e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8344"
  },
  {
    "question": "What is JSONOptions?",
    "answer": "A p p e a r s   i n :   F o r m a t O p t i o n s   J S O N O p t i o n s   c o n t a i n s   o p t i o n s   f o r   l o g g i n g   f o r m a t   \" j s o n \" .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8345"
  },
  {
    "question": "What is LogFormatFactory?",
    "answer": "L o g F o r m a t F a c t o r y   p r o v i d e s   s u p p o r t   f o r   a   c e r t a i n   a d d i t i o n a l ,   n o n - d e f a u l t   l o g   f o r m a t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8346"
  },
  {
    "question": "What is LoggingConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e l e t C o n f i g u r a t i o n   L o g g i n g C o n f i g u r a t i o n   c o n t a i n s   l o g g i n g   o p t i o n s .   F o r m a t   F l a g   s p e c i f i e s   t h e   s t r u c t u r e   o f   l o g   m e s s a g e s .   d e f a u l t   v a l u e   o f   f o r m a t   i s   t e x t   M a x i m u m   t i m e   b e t w e e n   l o g   f l u s h e s .   I f   a   s t r i n g ,   p a r s e d   a s   a   d u r a t i o n   ( i . e .   \" 1 s \" )   I f   a n   i n t ,   t h e   m a x i m u m   n u m b e r   o f   n a n o s e c o n d s   ( i . e .   1 s   =   1 0 0 0 0 0 0 0 0 0 ) .   I g n o r e d   i f   t h e   s e l e c t e d   l o g g i n g   b a c k e n d   w r i t e s   l o g   m e s s a g e s   w i t h o u t   b u f f e r i n g .   V e r b o s i t y   i s   t h e   t h r e s h o l d   t h a t   d e t e r m i n e s   w h i c h   l o g   m e s s a g e s   a r e   l o g g e d .   D e f a u l t   i s   z e r o   w h i c h   l o g s   o n l y   t h e   m o s t   i m p o r t a n t   m e s s a g e s .   H i g h e r   v a l u e s   e n a b l e   a d d i t i o n a l   m e s s a g e s .   E r r o r   m e s s a g e s   a r e   a l w a y s   l o g g e d .   V M o d u l e   o v e r r i d e s   t h e   v e r b o s i t y   t h r e s h o l d   f o r   i n d i v i d u a l   f i l e s .   O n l y   s u p p o r t e d   f o r   \" t e x t \"   l o g   f o r m a t .   [ A l p h a ]   O p t i o n s   h o l d s   a d d i t i o n a l   p a r a m e t e r s   t h a t   a r e   s p e c i f i c   t o   t h e   d i f f e r e n t   l o g g i n g   f o r m a t s .   O n l y   t h e   o p t i o n s   f o r   t h e   s e l e c t e d   f o r m a t   g e t   u s e d ,   b u t   a l l   o f   t h e m   g e t   v a l i d a t e d .   O n l y   a v a i l a b l e   w h e n   t h e   L o g g i n g A l p h a O p t i o n s   f e a t u r e   g a t e   i s   e n a b l e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8347"
  },
  {
    "question": "What is LoggingOptions?",
    "answer": "L o g g i n g O p t i o n s   c a n   b e   u s e d   w i t h   V a l i d a t e A n d A p p l y W i t h O p t i o n s   t o   o v e r r i d e   c e r t a i n   g l o b a l   d e f a u l t s .   E r r o r S t r e a m   c a n   b e   u s e d   t o   o v e r r i d e   t h e   o s . S t d e r r   d e f a u l t .   I n f o S t r e a m   c a n   b e   u s e d   t o   o v e r r i d e   t h e   o s . S t d o u t   d e f a u l t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8348"
  },
  {
    "question": "What is OutputRoutingOptions?",
    "answer": "A p p e a r s   i n :   J S O N O p t i o n s T e x t O p t i o n s   J S O N O p t i o n s   T e x t O p t i o n s   O u t p u t R o u t i n g O p t i o n s   c o n t a i n s   o p t i o n s   t h a t   a r e   s u p p o r t e d   b y   b o t h   \" t e x t \"   a n d   \" j s o n \" .   [ A l p h a ]   S p l i t S t r e a m   r e d i r e c t s   e r r o r   m e s s a g e s   t o   s t d e r r   w h i l e   i n f o   m e s s a g e s   g o   t o   s t d o u t ,   w i t h   b u f f e r i n g .   T h e   d e f a u l t   i s   t o   w r i t e   b o t h   t o   s t d o u t ,   w i t h o u t   b u f f e r i n g .   O n l y   a v a i l a b l e   w h e n   t h e   L o g g i n g A l p h a O p t i o n s   f e a t u r e   g a t e   i s   e n a b l e d .   [ A l p h a ]   I n f o B u f f e r S i z e   s e t s   t h e   s i z e   o f   t h e   i n f o   s t r e a m   w h e n   u s i n g   s p l i t   s t r e a m s .   T h e   d e f a u l t   i s   z e r o ,   w h i c h   d i s a b l e s   b u f f e r i n g .   O n l y   a v a i l a b l e   w h e n   t h e   L o g g i n g A l p h a O p t i o n s   f e a t u r e   g a t e   i s   e n a b l e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8349"
  },
  {
    "question": "What is TextOptions?",
    "answer": "A p p e a r s   i n :   F o r m a t O p t i o n s   T e x t O p t i o n s   c o n t a i n s   o p t i o n s   f o r   l o g g i n g   f o r m a t   \" t e x t \" .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8350"
  },
  {
    "question": "What is TimeOrMetaDuration?",
    "answer": "A p p e a r s   i n :   L o g g i n g C o n f i g u r a t i o n   T i m e O r M e t a D u r a t i o n   i s   p r e s e n t   o n l y   f o r   b a c k w a r d s   c o m p a t i b i l i t y   f o r   t h e   f l u s h F r e q u e n c y   f i e l d ,   a n d   n e w   f i e l d s   s h o u l d   u s e   m e t a v 1 . D u r a t i o n .   D u r a t i o n   h o l d s   t h e   d u r a t i o n   S e r i a l i z e A s S t r i n g   c o n t r o l s   w h e t h e r   t h e   v a l u e   i s   s e r i a l i z e d   a s   a   s t r i n g   o r   a n   i n t e g e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8351"
  },
  {
    "question": "What is TracingConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e l e t C o n f i g u r a t i o n   T r a c i n g C o n f i g u r a t i o n   p r o v i d e s   v e r s i o n e d   c o n f i g u r a t i o n   f o r   O p e n T e l e m e t r y   t r a c i n g   c l i e n t s .   E n d p o i n t   o f   t h e   c o l l e c t o r   t h i s   c o m p o n e n t   w i l l   r e p o r t   t r a c e s   t o .   T h e   c o n n e c t i o n   i s   i n s e c u r e ,   a n d   d o e s   n o t   c u r r e n t l y   s u p p o r t   T L S .   R e c o m m e n d e d   i s   u n s e t ,   a n d   e n d p o i n t   i s   t h e   o t l p   g r p c   d e f a u l t ,   l o c a l h o s t : 4 3 1 7 .   S a m p l i n g R a t e P e r M i l l i o n   i s   t h e   n u m b e r   o f   s a m p l e s   t o   c o l l e c t   p e r   m i l l i o n   s p a n s .   R e c o m m e n d e d   i s   u n s e t .   I f   u n s e t ,   s a m p l e r   r e s p e c t s   i t s   p a r e n t   s p a n ' s   s a m p l i n g   r a t e ,   b u t   o t h e r w i s e   n e v e r   s a m p l e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8352"
  },
  {
    "question": "What is VModuleConfiguration?",
    "answer": "( A l i a s   o f   [ ] k 8 s . i o / c o m p o n e n t - b a s e / l o g s / a p i / v 1 . V M o d u l e I t e m )   A p p e a r s   i n :   L o g g i n g C o n f i g u r a t i o n   V M o d u l e C o n f i g u r a t i o n   i s   a   c o l l e c t i o n   o f   i n d i v i d u a l   f i l e   n a m e s   o r   p a t t e r n s   a n d   t h e   c o r r e s p o n d i n g   v e r b o s i t y   t h r e s h o l d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8353"
  },
  {
    "question": "What is VerbosityLevel?",
    "answer": "( A l i a s   o f   u i n t 3 2 )   A p p e a r s   i n :   L o g g i n g C o n f i g u r a t i o n   V e r b o s i t y L e v e l   r e p r e s e n t s   a   k l o g   o r   l o g r   v e r b o s i t y   t h r e s h o l d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8354"
  },
  {
    "question": "What is CredentialProviderConfig?",
    "answer": "C r e d e n t i a l P r o v i d e r C o n f i g   i s   t h e   c o n f i g u r a t i o n   c o n t a i n i n g   i n f o r m a t i o n   a b o u t   e a c h   e x e c   c r e d e n t i a l   p r o v i d e r .   K u b e l e t   r e a d s   t h i s   c o n f i g u r a t i o n   f r o m   d i s k   a n d   e n a b l e s   e a c h   p r o v i d e r   a s   s p e c i f i e d   b y   t h e   C r e d e n t i a l P r o v i d e r   t y p e .   p r o v i d e r s   i s   a   l i s t   o f   c r e d e n t i a l   p r o v i d e r   p l u g i n s   t h a t   w i l l   b e   e n a b l e d   b y   t h e   k u b e l e t .   M u l t i p l e   p r o v i d e r s   m a y   m a t c h   a g a i n s t   a   s i n g l e   i m a g e ,   i n   w h i c h   c a s e   c r e d e n t i a l s   f r o m   a l l   p r o v i d e r s   w i l l   b e   r e t u r n e d   t o   t h e   k u b e l e t .   I f   m u l t i p l e   p r o v i d e r s   a r e   c a l l e d   f o r   a   s i n g l e   i m a g e ,   t h e   r e s u l t s   a r e   c o m b i n e d .   I f   p r o v i d e r s   r e t u r n   o v e r l a p p i n g   a u t h   k e y s ,   t h e   v a l u e   f r o m   t h e   p r o v i d e r   e a r l i e r   i n   t h i s   l i s t   i s   a t t e m p t e d   f i r s t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8355"
  },
  {
    "question": "What is KubeletConfiguration?",
    "answer": "K u b e l e t C o n f i g u r a t i o n   c o n t a i n s   t h e   c o n f i g u r a t i o n   f o r   t h e   K u b e l e t   e n a b l e S e r v e r   e n a b l e s   K u b e l e t ' s   s e c u r e d   s e r v e r .   N o t e :   K u b e l e t ' s   i n s e c u r e   p o r t   i s   c o n t r o l l e d   b y   t h e   r e a d O n l y P o r t   o p t i o n .   D e f a u l t :   t r u e   s t a t i c P o d P a t h   i s   t h e   p a t h   t o   t h e   d i r e c t o r y   c o n t a i n i n g   l o c a l   ( s t a t i c )   p o d s   t o   r u n ,   o r   t h e   p a t h   t o   a   s i n g l e   s t a t i c   p o d   f i l e .   D e f a u l t :   \" \"   p o d L o g s D i r   i s   a   c u s t o m   r o o t   d i r e c t o r y   p a t h   k u b e l e t   w i l l   u s e   t o   p l a c e   p o d ' s   l o g   f i l e s .   D e f a u l t :   \" / v a r / l o g / p o d s / \"   N o t e :   i t   i s   n o t   r e c o m m e n d e d   t o   u s e   t h e   t e m p   f o l d e r   a s   a   l o g   d i r e c t o r y   a s   i t   m a y   c a u s e   u n e x p e c t e d   b e h a v i o r   i n   m a n y   p l a c e s .   s y n c F r e q u e n c y   i s   t h e   m a x   p e r i o d   b e t w e e n   s y n c h r o n i z i n g   r u n n i n g   c o n t a i n e r s   a n d   c o n f i g .   D e f a u l t :   \" 1 m \"   f i l e C h e c k F r e q u e n c y   i s   t h e   d u r a t i o n   b e t w e e n   c h e c k i n g   c o n f i g   f i l e s   f o r   n e w   d a t a .   D e f a u l t :   \" 2 0 s \"   h t t p C h e c k F r e q u e n c y   i s   t h e   d u r a t i o n   b e t w e e n   c h e c k i n g   h t t p   f o r   n e w   d a t a .   D e f a u l t :   \" 2 0 s \"   s t a t i c P o d U R L   i s   t h e   U R L   f o r   a c c e s s i n g   s t a t i c   p o d s   t o   r u n .   D e f a u l t :   \" \"   s t a t i c P o d U R L H e a d e r   i s   a   m a p   o f   s l i c e s   w i t h   H T T P   h e a d e r s   t o   u s e   w h e n   a c c e s s i n g   t h e   p o d ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8356"
  },
  {
    "question": "What is SerializedNodeConfigSource?",
    "answer": "S e r i a l i z e d N o d e C o n f i g S o u r c e   a l l o w s   u s   t o   s e r i a l i z e   v 1 . N o d e C o n f i g S o u r c e .   T h i s   t y p e   i s   u s e d   i n t e r n a l l y   b y   t h e   K u b e l e t   f o r   t r a c k i n g   c h e c k p o i n t e d   d y n a m i c   c o n f i g s .   I t   e x i s t s   i n   t h e   k u b e l e t c o n f i g   A P I   g r o u p   b e c a u s e   i t   i s   c l a s s i f i e d   a s   a   v e r s i o n e d   i n p u t   t o   t h e   K u b e l e t .   s o u r c e   i s   t h e   s o u r c e   t h a t   w e   a r e   s e r i a l i z i n g .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8357"
  },
  {
    "question": "What is CrashLoopBackOffConfig?",
    "answer": "A p p e a r s   i n :   K u b e l e t C o n f i g u r a t i o n   m a x C o n t a i n e r R e s t a r t P e r i o d   i s   t h e   m a x i m u m   d u r a t i o n   t h e   b a c k o f f   d e l a y   c a n   a c c r u e   t o   f o r   c o n t a i n e r   r e s t a r t s ,   m i n i m u m   1   s e c o n d ,   m a x i m u m   3 0 0   s e c o n d s .   I f   n o t   s e t ,   d e f a u l t s   t o   t h e   i n t e r n a l   c r a s h l o o p b a c k o f f   m a x i m u m   ( 3 0 0 s ) .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8358"
  },
  {
    "question": "What is CredentialProvider?",
    "answer": "A p p e a r s   i n :   C r e d e n t i a l P r o v i d e r C o n f i g   C r e d e n t i a l P r o v i d e r   r e p r e s e n t s   a n   e x e c   p l u g i n   t o   b e   i n v o k e d   b y   t h e   k u b e l e t .   T h e   p l u g i n   i s   o n l y   i n v o k e d   w h e n   a n   i m a g e   b e i n g   p u l l e d   m a t c h e s   t h e   i m a g e s   h a n d l e d   b y   t h e   p l u g i n   ( s e e   m a t c h I m a g e s ) .   n a m e   i s   t h e   r e q u i r e d   n a m e   o f   t h e   c r e d e n t i a l   p r o v i d e r .   I t   m u s t   m a t c h   t h e   n a m e   o f   t h e   p r o v i d e r   e x e c u t a b l e   a s   s e e n   b y   t h e   k u b e l e t .   T h e   e x e c u t a b l e   m u s t   b e   i n   t h e   k u b e l e t ' s   b i n   d i r e c t o r y   ( s e t   b y   t h e   - - i m a g e - c r e d e n t i a l - p r o v i d e r - b i n - d i r   f l a g ) .   R e q u i r e d   t o   b e   u n i q u e   a c r o s s   a l l   p r o v i d e r s .   m a t c h I m a g e s   i s   a   r e q u i r e d   l i s t   o f   s t r i n g s   u s e d   t o   m a t c h   a g a i n s t   i m a g e s   i n   o r d e r   t o   d e t e r m i n e   i f   t h i s   p r o v i d e r   s h o u l d   b e   i n v o k e d .   I f   o n e   o f   t h e   s t r i n g s   m a t c h e s   t h e   r e q u e s t e d   i m a g e   f r o m   t h e   k u b e l e t ,   t h e   p l u g i n   w i l l   b e   i n v o k e d   a n d   g i v e n   a   c h a n c e   t o   p r o v i d e   c r e d e n t i a l s .   I m a g e s   a r e   e x p e c t e d   t o   c o n t a i n   t h e   r e g i s t r y   d o m a i n   a n d   U R L   p a t h .   E a c h   e n t r y   i n   m a t c h I m a g e s   i s   a   p a t t e r n   w h i c h   c a n   o p t i o n a l l y   c o n t a i n   a   p o r t   a n d   a   p a t h .   G l o b s   c a n   b e   u s e d   i n   t h e   d o m a i n ,   b u t   n o t   i n   t h e   p o r t   o r   t h e   p a t h .   G l o b s   a r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8359"
  },
  {
    "question": "What is ExecEnvVar?",
    "answer": "A p p e a r s   i n :   C r e d e n t i a l P r o v i d e r   E x e c E n v V a r   i s   u s e d   f o r   s e t t i n g   e n v i r o n m e n t   v a r i a b l e s   w h e n   e x e c u t i n g   a n   e x e c - b a s e d   c r e d e n t i a l   p l u g i n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8360"
  },
  {
    "question": "What is ImagePullCredentialsVerificationPolicy?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   K u b e l e t C o n f i g u r a t i o n   I m a g e P u l l C r e d e n t i a l s V e r i f i c a t i o n P o l i c y   i s   a n   e n u m   f o r   t h e   p o l i c y   t h a t   i s   e n f o r c e d   w h e n   p o d   i s   r e q u e s t i n g   a n   i m a g e   t h a t   a p p e a r s   o n   t h e   s y s t e m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8361"
  },
  {
    "question": "What is KubeletAnonymousAuthentication?",
    "answer": "A p p e a r s   i n :   K u b e l e t A u t h e n t i c a t i o n   e n a b l e d   a l l o w s   a n o n y m o u s   r e q u e s t s   t o   t h e   k u b e l e t   s e r v e r .   R e q u e s t s   t h a t   a r e   n o t   r e j e c t e d   b y   a n o t h e r   a u t h e n t i c a t i o n   m e t h o d   a r e   t r e a t e d   a s   a n o n y m o u s   r e q u e s t s .   A n o n y m o u s   r e q u e s t s   h a v e   a   u s e r n a m e   o f   s y s t e m : a n o n y m o u s ,   a n d   a   g r o u p   n a m e   o f   s y s t e m : u n a u t h e n t i c a t e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8362"
  },
  {
    "question": "What is KubeletAuthentication?",
    "answer": "A p p e a r s   i n :   K u b e l e t C o n f i g u r a t i o n   x 5 0 9   c o n t a i n s   s e t t i n g s   r e l a t e d   t o   x 5 0 9   c l i e n t   c e r t i f i c a t e   a u t h e n t i c a t i o n .   w e b h o o k   c o n t a i n s   s e t t i n g s   r e l a t e d   t o   w e b h o o k   b e a r e r   t o k e n   a u t h e n t i c a t i o n .   a n o n y m o u s   c o n t a i n s   s e t t i n g s   r e l a t e d   t o   a n o n y m o u s   a u t h e n t i c a t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8363"
  },
  {
    "question": "What is KubeletAuthorization?",
    "answer": "A p p e a r s   i n :   K u b e l e t C o n f i g u r a t i o n   m o d e   i s   t h e   a u t h o r i z a t i o n   m o d e   t o   a p p l y   t o   r e q u e s t s   t o   t h e   k u b e l e t   s e r v e r .   V a l i d   v a l u e s   a r e   A l w a y s A l l o w   a n d   W e b h o o k .   W e b h o o k   m o d e   u s e s   t h e   S u b j e c t A c c e s s R e v i e w   A P I   t o   d e t e r m i n e   a u t h o r i z a t i o n .   w e b h o o k   c o n t a i n s   s e t t i n g s   r e l a t e d   t o   W e b h o o k   a u t h o r i z a t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8364"
  },
  {
    "question": "What is KubeletAuthorizationMode?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   K u b e l e t A u t h o r i z a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8365"
  },
  {
    "question": "What is KubeletWebhookAuthentication?",
    "answer": "A p p e a r s   i n :   K u b e l e t A u t h e n t i c a t i o n   e n a b l e d   a l l o w s   b e a r e r   t o k e n   a u t h e n t i c a t i o n   b a c k e d   b y   t h e   t o k e n r e v i e w s . a u t h e n t i c a t i o n . k 8 s . i o   A P I .   c a c h e T T L   e n a b l e s   c a c h i n g   o f   a u t h e n t i c a t i o n   r e s u l t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8366"
  },
  {
    "question": "What is KubeletWebhookAuthorization?",
    "answer": "A p p e a r s   i n :   K u b e l e t A u t h o r i z a t i o n   c a c h e A u t h o r i z e d T T L   i s   t h e   d u r a t i o n   t o   c a c h e   ' a u t h o r i z e d '   r e s p o n s e s   f r o m   t h e   w e b h o o k   a u t h o r i z e r .   c a c h e U n a u t h o r i z e d T T L   i s   t h e   d u r a t i o n   t o   c a c h e   ' u n a u t h o r i z e d '   r e s p o n s e s   f r o m   t h e   w e b h o o k   a u t h o r i z e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8367"
  },
  {
    "question": "What is KubeletX509Authentication?",
    "answer": "A p p e a r s   i n :   K u b e l e t A u t h e n t i c a t i o n   c l i e n t C A F i l e   i s   t h e   p a t h   t o   a   P E M - e n c o d e d   c e r t i f i c a t e   b u n d l e .   I f   s e t ,   a n y   r e q u e s t   p r e s e n t i n g   a   c l i e n t   c e r t i f i c a t e   s i g n e d   b y   o n e   o f   t h e   a u t h o r i t i e s   i n   t h e   b u n d l e   i s   a u t h e n t i c a t e d   w i t h   a   u s e r n a m e   c o r r e s p o n d i n g   t o   t h e   C o m m o n N a m e ,   a n d   g r o u p s   c o r r e s p o n d i n g   t o   t h e   O r g a n i z a t i o n   i n   t h e   c l i e n t   c e r t i f i c a t e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8368"
  },
  {
    "question": "What is MemoryReservation?",
    "answer": "A p p e a r s   i n :   K u b e l e t C o n f i g u r a t i o n   M e m o r y R e s e r v a t i o n   s p e c i f i e s   t h e   m e m o r y   r e s e r v a t i o n   o f   d i f f e r e n t   t y p e s   f o r   e a c h   N U M A   n o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8369"
  },
  {
    "question": "What is MemorySwapConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e l e t C o n f i g u r a t i o n   s w a p B e h a v i o r   c o n f i g u r e s   s w a p   m e m o r y   a v a i l a b l e   t o   c o n t a i n e r   w o r k l o a d s .   M a y   b e   o n e   o f   \" \" ,   \" N o S w a p \" :   w o r k l o a d s   c a n   n o t   u s e   s w a p ,   d e f a u l t   o p t i o n .   \" L i m i t e d S w a p \" :   w o r k l o a d   s w a p   u s a g e   i s   l i m i t e d .   T h e   s w a p   l i m i t   i s   p r o p o r t i o n a t e   t o   t h e   c o n t a i n e r ' s   m e m o r y   r e q u e s t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8370"
  },
  {
    "question": "What is ResourceChangeDetectionStrategy?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   K u b e l e t C o n f i g u r a t i o n   R e s o u r c e C h a n g e D e t e c t i o n S t r a t e g y   d e n o t e s   a   m o d e   i n   w h i c h   i n t e r n a l   m a n a g e r s   ( s e c r e t ,   c o n f i g m a p )   a r e   d i s c o v e r i n g   o b j e c t   c h a n g e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8371"
  },
  {
    "question": "What is ShutdownGracePeriodByPodPriority?",
    "answer": "A p p e a r s   i n :   K u b e l e t C o n f i g u r a t i o n   S h u t d o w n G r a c e P e r i o d B y P o d P r i o r i t y   s p e c i f i e s   t h e   s h u t d o w n   g r a c e   p e r i o d   f o r   P o d s   b a s e d   o n   t h e i r   a s s o c i a t e d   p r i o r i t y   c l a s s   v a l u e   p r i o r i t y   i s   t h e   p r i o r i t y   v a l u e   a s s o c i a t e d   w i t h   t h e   s h u t d o w n   g r a c e   p e r i o d   s h u t d o w n G r a c e P e r i o d S e c o n d s   i s   t h e   s h u t d o w n   g r a c e   p e r i o d   i n   s e c o n d s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8372"
  },
  {
    "question": "What is UserNamespaces?",
    "answer": "A p p e a r s   i n :   K u b e l e t C o n f i g u r a t i o n   U s e r N a m e s p a c e s   c o n t a i n s   U s e r   N a m e s p a c e   c o n f i g u r a t i o n s .   I D s P e r P o d   i s   t h e   m a p p i n g   l e n g t h   o f   U I D s   a n d   G I D s .   T h e   l e n g t h   m u s t   b e   a   m u l t i p l e   o f   6 5 5 3 6 ,   a n d   m u s t   b e   l e s s   t h a n   1 < < 3 2 .   O n   n o n - l i n u x   s u c h   a s   w i n d o w s ,   o n l y   n u l l   /   a b s e n t   i s   a l l o w e d .   C h a n g i n g   t h e   v a l u e   m a y   r e q u i r e   r e c r e a t i n g   a l l   c o n t a i n e r s   o n   t h e   n o d e .   D e f a u l t :   6 5 5 3 6   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/",
    "id": "k8s_00429_section_2_8373"
  },
  {
    "question": "What is WebhookAdmission Configuration (v1)?",
    "answer": "WebhookAdmission Configuration (v1)Package v1 is the v1 version of the API.Resource TypesWebhookAdmissionWebhookAdmissionWebhookAdmission provides configuration for the webhook admission controller.FieldDescriptionapiVersionstringapiserver.config.k8s.io/v1kindstringWebhookAdmissionkubeConfigFile [Required]stringKubeConfigFile is the path to the kubeconfig file.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-webhookadmission.v1/",
    "id": "k8s_00430_qa_8374"
  },
  {
    "question": "How does WebhookAdmission Configuration (v1) work?",
    "answer": "WebhookAdmission Configuration (v1)Package v1 is the v1 version of the API.Resource TypesWebhookAdmissionWebhookAdmissionWebhookAdmission provides configuration for the webhook admission controller.FieldDescriptionapiVersionstringapiserver.config.k8s.io/v1kindstringWebhookAdmissionkubeConfigFile [Required]stringKubeConfigFile is the path to the kubeconfig file.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-webhookadmission.v1/",
    "id": "k8s_00430_qa_8375"
  },
  {
    "question": "When would you use WebhookAdmission Configuration (v1)?",
    "answer": "WebhookAdmission Configuration (v1)Package v1 is the v1 version of the API.Resource TypesWebhookAdmissionWebhookAdmissionWebhookAdmission provides configuration for the webhook admission controller.FieldDescriptionapiVersionstringapiserver.config.k8s.io/v1kindstringWebhookAdmissionkubeConfigFile [Required]stringKubeConfigFile is the path to the kubeconfig file.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-webhookadmission.v1/",
    "id": "k8s_00430_qa_8376"
  },
  {
    "question": "What are the benefits of WebhookAdmission Configuration (v1)?",
    "answer": "WebhookAdmission Configuration (v1)Package v1 is the v1 version of the API.Resource TypesWebhookAdmissionWebhookAdmissionWebhookAdmission provides configuration for the webhook admission controller.FieldDescriptionapiVersionstringapiserver.config.k8s.io/v1kindstringWebhookAdmissionkubeConfigFile [Required]stringKubeConfigFile is the path to the kubeconfig file.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-webhookadmission.v1/",
    "id": "k8s_00430_qa_8377"
  },
  {
    "question": "What is WebhookAdmission Configuration (v1)?",
    "answer": "P a c k a g e   v 1   i s   t h e   v 1   v e r s i o n   o f   t h e   A P I .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-webhookadmission.v1/",
    "id": "k8s_00430_section_1_8378"
  },
  {
    "question": "What is Resource Types?",
    "answer": "W e b h o o k A d m i s s i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-webhookadmission.v1/",
    "id": "k8s_00430_section_2_8379"
  },
  {
    "question": "What is WebhookAdmission?",
    "answer": "W e b h o o k A d m i s s i o n   p r o v i d e s   c o n f i g u r a t i o n   f o r   t h e   w e b h o o k   a d m i s s i o n   c o n t r o l l e r .   K u b e C o n f i g F i l e   i s   t h e   p a t h   t o   t h e   k u b e c o n f i g   f i l e .   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-webhookadmission.v1/",
    "id": "k8s_00430_section_2_8380"
  },
  {
    "question": "What is Kubelet Configuration Directory Merging?",
    "answer": "Kubelet Configuration Directory MergingWhen using the kubelet's --config-dir flag to specify a drop-in directory for configuration, there is some specific behavior on how different types are merged.Here are some examples of how different data types behave during configuration merging:Structure FieldsThere are two types of structure fields in a YAML structure: singular (or a scalar type) and embedded (structures that contain scalar types). The configuration merging process handles the overriding of singular and embedded struct fields to create a resulting kubelet configuration.For instance, you may want a baseline kubelet configuration for all nodes, but you may want to customize the address and authorization fields. This can be done as follows:Main kubelet configuration file contents:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration port: 20250 authorization: mode: Webhook webhook: cacheAuthorizedTTL: \"5m\" cacheUnauthorizedTTL: \"30s\" serializeImagePulls: false address: \"192.168.0.1\" Contents of a file in --config-dir directory:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration authorization: mode: AlwaysAllow webhook: cacheAuthorizedTTL: \"8m\" cacheUnauthorizedTTL: \"45s\" address: \"192.168.0.8\" The resulting configuration will be as follows:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration port: 20250 serializeImagePulls: false authorization: mode: AlwaysAllow webhook: cacheAuthorizedTTL: \"8m\" cacheUnauthorizedTTL: \"45s\" address: \"192.168.0.8\" ListsYou can override the slices/lists values of the kubelet configuration. However, the entire list gets overridden during the merging process. For example, you can override the clusterDNS list as follows:Main kubelet configuration file contents:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration port: 20250 serializeImagePulls: false clusterDNS: - \"192.168.0.9\" - \"192.168.0.8\" Contents of a file in --config-dir directory:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration clusterDNS: - \"192.168.0.2\" - \"192.168.0.3\" - \"192.168.0.5\" The resulting configuration will be as follows:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration port: 20250 serializeImagePulls: false clusterDNS: - \"192.168.0.2\" - \"192.168.0.3\" - \"192.168.0.5\" Maps, including Nested StructuresIndividual fields in maps, regardless of their value types (boolean, string, etc.), can be selectively overridden. However, for map[string][]string, the entire list associated with a specific field gets overridden. Let's understand this better with an example, particularly on fields like featureGates and staticPodURLHeader:Main kubelet configuration file contents:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration port: 20250 serializeImagePulls: false featureGates: AllAlpha: false MemoryQoS: true staticPodURLHeader: kubelet-api-support: - \"Authorization: 234APSDFA\" - \"X-Custom-Header: 123\" custom-static-pod: - \"Authorization: 223EW",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-config-directory-merging/",
    "id": "k8s_00431_qa_8381"
  },
  {
    "question": "How does Kubelet Configuration Directory Merging work?",
    "answer": "Kubelet Configuration Directory MergingWhen using the kubelet's --config-dir flag to specify a drop-in directory for configuration, there is some specific behavior on how different types are merged.Here are some examples of how different data types behave during configuration merging:Structure FieldsThere are two types of structure fields in a YAML structure: singular (or a scalar type) and embedded (structures that contain scalar types). The configuration merging process handles the overriding of singular and embedded struct fields to create a resulting kubelet configuration.For instance, you may want a baseline kubelet configuration for all nodes, but you may want to customize the address and authorization fields. This can be done as follows:Main kubelet configuration file contents:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration port: 20250 authorization: mode: Webhook webhook: cacheAuthorizedTTL: \"5m\" cacheUnauthorizedTTL: \"30s\" serializeImagePulls: false address: \"192.168.0.1\" Contents of a file in --config-dir directory:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration authorization: mode: AlwaysAllow webhook: cacheAuthorizedTTL: \"8m\" cacheUnauthorizedTTL: \"45s\" address: \"192.168.0.8\" The resulting configuration will be as follows:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration port: 20250 serializeImagePulls: false authorization: mode: AlwaysAllow webhook: cacheAuthorizedTTL: \"8m\" cacheUnauthorizedTTL: \"45s\" address: \"192.168.0.8\" ListsYou can override the slices/lists values of the kubelet configuration. However, the entire list gets overridden during the merging process. For example, you can override the clusterDNS list as follows:Main kubelet configuration file contents:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration port: 20250 serializeImagePulls: false clusterDNS: - \"192.168.0.9\" - \"192.168.0.8\" Contents of a file in --config-dir directory:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration clusterDNS: - \"192.168.0.2\" - \"192.168.0.3\" - \"192.168.0.5\" The resulting configuration will be as follows:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration port: 20250 serializeImagePulls: false clusterDNS: - \"192.168.0.2\" - \"192.168.0.3\" - \"192.168.0.5\" Maps, including Nested StructuresIndividual fields in maps, regardless of their value types (boolean, string, etc.), can be selectively overridden. However, for map[string][]string, the entire list associated with a specific field gets overridden. Let's understand this better with an example, particularly on fields like featureGates and staticPodURLHeader:Main kubelet configuration file contents:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration port: 20250 serializeImagePulls: false featureGates: AllAlpha: false MemoryQoS: true staticPodURLHeader: kubelet-api-support: - \"Authorization: 234APSDFA\" - \"X-Custom-Header: 123\" custom-static-pod: - \"Authorization: 223EW",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-config-directory-merging/",
    "id": "k8s_00431_qa_8382"
  },
  {
    "question": "When would you use Kubelet Configuration Directory Merging?",
    "answer": "Kubelet Configuration Directory MergingWhen using the kubelet's --config-dir flag to specify a drop-in directory for configuration, there is some specific behavior on how different types are merged.Here are some examples of how different data types behave during configuration merging:Structure FieldsThere are two types of structure fields in a YAML structure: singular (or a scalar type) and embedded (structures that contain scalar types). The configuration merging process handles the overriding of singular and embedded struct fields to create a resulting kubelet configuration.For instance, you may want a baseline kubelet configuration for all nodes, but you may want to customize the address and authorization fields. This can be done as follows:Main kubelet configuration file contents:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration port: 20250 authorization: mode: Webhook webhook: cacheAuthorizedTTL: \"5m\" cacheUnauthorizedTTL: \"30s\" serializeImagePulls: false address: \"192.168.0.1\" Contents of a file in --config-dir directory:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration authorization: mode: AlwaysAllow webhook: cacheAuthorizedTTL: \"8m\" cacheUnauthorizedTTL: \"45s\" address: \"192.168.0.8\" The resulting configuration will be as follows:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration port: 20250 serializeImagePulls: false authorization: mode: AlwaysAllow webhook: cacheAuthorizedTTL: \"8m\" cacheUnauthorizedTTL: \"45s\" address: \"192.168.0.8\" ListsYou can override the slices/lists values of the kubelet configuration. However, the entire list gets overridden during the merging process. For example, you can override the clusterDNS list as follows:Main kubelet configuration file contents:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration port: 20250 serializeImagePulls: false clusterDNS: - \"192.168.0.9\" - \"192.168.0.8\" Contents of a file in --config-dir directory:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration clusterDNS: - \"192.168.0.2\" - \"192.168.0.3\" - \"192.168.0.5\" The resulting configuration will be as follows:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration port: 20250 serializeImagePulls: false clusterDNS: - \"192.168.0.2\" - \"192.168.0.3\" - \"192.168.0.5\" Maps, including Nested StructuresIndividual fields in maps, regardless of their value types (boolean, string, etc.), can be selectively overridden. However, for map[string][]string, the entire list associated with a specific field gets overridden. Let's understand this better with an example, particularly on fields like featureGates and staticPodURLHeader:Main kubelet configuration file contents:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration port: 20250 serializeImagePulls: false featureGates: AllAlpha: false MemoryQoS: true staticPodURLHeader: kubelet-api-support: - \"Authorization: 234APSDFA\" - \"X-Custom-Header: 123\" custom-static-pod: - \"Authorization: 223EW",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-config-directory-merging/",
    "id": "k8s_00431_qa_8383"
  },
  {
    "question": "What are the benefits of Kubelet Configuration Directory Merging?",
    "answer": "Kubelet Configuration Directory MergingWhen using the kubelet's --config-dir flag to specify a drop-in directory for configuration, there is some specific behavior on how different types are merged.Here are some examples of how different data types behave during configuration merging:Structure FieldsThere are two types of structure fields in a YAML structure: singular (or a scalar type) and embedded (structures that contain scalar types). The configuration merging process handles the overriding of singular and embedded struct fields to create a resulting kubelet configuration.For instance, you may want a baseline kubelet configuration for all nodes, but you may want to customize the address and authorization fields. This can be done as follows:Main kubelet configuration file contents:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration port: 20250 authorization: mode: Webhook webhook: cacheAuthorizedTTL: \"5m\" cacheUnauthorizedTTL: \"30s\" serializeImagePulls: false address: \"192.168.0.1\" Contents of a file in --config-dir directory:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration authorization: mode: AlwaysAllow webhook: cacheAuthorizedTTL: \"8m\" cacheUnauthorizedTTL: \"45s\" address: \"192.168.0.8\" The resulting configuration will be as follows:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration port: 20250 serializeImagePulls: false authorization: mode: AlwaysAllow webhook: cacheAuthorizedTTL: \"8m\" cacheUnauthorizedTTL: \"45s\" address: \"192.168.0.8\" ListsYou can override the slices/lists values of the kubelet configuration. However, the entire list gets overridden during the merging process. For example, you can override the clusterDNS list as follows:Main kubelet configuration file contents:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration port: 20250 serializeImagePulls: false clusterDNS: - \"192.168.0.9\" - \"192.168.0.8\" Contents of a file in --config-dir directory:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration clusterDNS: - \"192.168.0.2\" - \"192.168.0.3\" - \"192.168.0.5\" The resulting configuration will be as follows:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration port: 20250 serializeImagePulls: false clusterDNS: - \"192.168.0.2\" - \"192.168.0.3\" - \"192.168.0.5\" Maps, including Nested StructuresIndividual fields in maps, regardless of their value types (boolean, string, etc.), can be selectively overridden. However, for map[string][]string, the entire list associated with a specific field gets overridden. Let's understand this better with an example, particularly on fields like featureGates and staticPodURLHeader:Main kubelet configuration file contents:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration port: 20250 serializeImagePulls: false featureGates: AllAlpha: false MemoryQoS: true staticPodURLHeader: kubelet-api-support: - \"Authorization: 234APSDFA\" - \"X-Custom-Header: 123\" custom-static-pod: - \"Authorization: 223EW",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-config-directory-merging/",
    "id": "k8s_00431_qa_8384"
  },
  {
    "question": "What is Kubelet Configuration Directory Merging?",
    "answer": "W h e n   u s i n g   t h e   k u b e l e t ' s   - - c o n f i g - d i r   f l a g   t o   s p e c i f y   a   d r o p - i n   d i r e c t o r y   f o r   c o n f i g u r a t i o n ,   t h e r e   i s   s o m e   s p e c i f i c   b e h a v i o r   o n   h o w   d i f f e r e n t   t y p e s   a r e   m e r g e d .   H e r e   a r e   s o m e   e x a m p l e s   o f   h o w   d i f f e r e n t   d a t a   t y p e s   b e h a v e   d u r i n g   c o n f i g u r a t i o n   m e r g i n g :",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-config-directory-merging/",
    "id": "k8s_00431_section_1_8385"
  },
  {
    "question": "What is Structure Fields?",
    "answer": "T h e r e   a r e   t w o   t y p e s   o f   s t r u c t u r e   f i e l d s   i n   a   Y A M L   s t r u c t u r e :   s i n g u l a r   ( o r   a   s c a l a r   t y p e )   a n d   e m b e d d e d   ( s t r u c t u r e s   t h a t   c o n t a i n   s c a l a r   t y p e s ) .   T h e   c o n f i g u r a t i o n   m e r g i n g   p r o c e s s   h a n d l e s   t h e   o v e r r i d i n g   o f   s i n g u l a r   a n d   e m b e d d e d   s t r u c t   f i e l d s   t o   c r e a t e   a   r e s u l t i n g   k u b e l e t   c o n f i g u r a t i o n .   F o r   i n s t a n c e ,   y o u   m a y   w a n t   a   b a s e l i n e   k u b e l e t   c o n f i g u r a t i o n   f o r   a l l   n o d e s ,   b u t   y o u   m a y   w a n t   t o   c u s t o m i z e   t h e   a d d r e s s   a n d   a u t h o r i z a t i o n   f i e l d s .   T h i s   c a n   b e   d o n e   a s   f o l l o w s :   M a i n   k u b e l e t   c o n f i g u r a t i o n   f i l e   c o n t e n t s :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   p o r t :   2 0 2 5 0   a u t h o r i z a t i o n :   m o d e :   W e b h o o k   w e b h o o k :   c a c h e A u t h o r i z e d T T L :   \" 5 m \"   c a c h e U n a u t h o r i z e d T T L :   \" 3 0 s \"   s e r i a l i z e I m a g e P u l l s :   f a l s e   a d d r e s s :   \" 1 9 2 . 1 6 8 . 0 . 1 \"   C o n t e n t s   o f   a   f i l e   i n   - - c o n f i g - d i r   d i r e c t o r y :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   a u t h o r i z a t i o n :   m o d e :   A l w a y s A l l o w   w e b h o o k :   c a c h e A u t h o r i z e d T T L :   \" 8 m \"   c a c h e U n a u t h o r i z e d T T L :   \" 4 5 s \"   a d d r e s s :   \" 1 9 2 . 1 6 8 . 0 . 8 \"   T h e   r e s u l t i n g   c o n f i g u r a t i o n   w i l l   b e   a s   f o l l o w s :   ",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-config-directory-merging/",
    "id": "k8s_00431_section_3_8386"
  },
  {
    "question": "What is Lists?",
    "answer": "Y o u   c a n   o v e r r i d e   t h e   s l i c e s / l i s t s   v a l u e s   o f   t h e   k u b e l e t   c o n f i g u r a t i o n .   H o w e v e r ,   t h e   e n t i r e   l i s t   g e t s   o v e r r i d d e n   d u r i n g   t h e   m e r g i n g   p r o c e s s .   F o r   e x a m p l e ,   y o u   c a n   o v e r r i d e   t h e   c l u s t e r D N S   l i s t   a s   f o l l o w s :   M a i n   k u b e l e t   c o n f i g u r a t i o n   f i l e   c o n t e n t s :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   p o r t :   2 0 2 5 0   s e r i a l i z e I m a g e P u l l s :   f a l s e   c l u s t e r D N S :   -   \" 1 9 2 . 1 6 8 . 0 . 9 \"   -   \" 1 9 2 . 1 6 8 . 0 . 8 \"   C o n t e n t s   o f   a   f i l e   i n   - - c o n f i g - d i r   d i r e c t o r y :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   c l u s t e r D N S :   -   \" 1 9 2 . 1 6 8 . 0 . 2 \"   -   \" 1 9 2 . 1 6 8 . 0 . 3 \"   -   \" 1 9 2 . 1 6 8 . 0 . 5 \"   T h e   r e s u l t i n g   c o n f i g u r a t i o n   w i l l   b e   a s   f o l l o w s :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   p o r t :   2 0 2 5 0   s e r i a l i z e I m a g e P u l l s :   f a l s e   c l u s t e r D N S :   -   \" 1 9 2 . 1 6 8 . 0 . 2 \"   -   \" 1 9 2 . 1 6 8 . 0 . 3 \"   -   \" 1 9 2 . 1 6 8 . 0 . 5 \"",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-config-directory-merging/",
    "id": "k8s_00431_section_3_8387"
  },
  {
    "question": "What is Maps, including Nested Structures?",
    "answer": "I n d i v i d u a l   f i e l d s   i n   m a p s ,   r e g a r d l e s s   o f   t h e i r   v a l u e   t y p e s   ( b o o l e a n ,   s t r i n g ,   e t c . ) ,   c a n   b e   s e l e c t i v e l y   o v e r r i d d e n .   H o w e v e r ,   f o r   m a p [ s t r i n g ] [ ] s t r i n g ,   t h e   e n t i r e   l i s t   a s s o c i a t e d   w i t h   a   s p e c i f i c   f i e l d   g e t s   o v e r r i d d e n .   L e t ' s   u n d e r s t a n d   t h i s   b e t t e r   w i t h   a n   e x a m p l e ,   p a r t i c u l a r l y   o n   f i e l d s   l i k e   f e a t u r e G a t e s   a n d   s t a t i c P o d U R L H e a d e r :   M a i n   k u b e l e t   c o n f i g u r a t i o n   f i l e   c o n t e n t s :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   p o r t :   2 0 2 5 0   s e r i a l i z e I m a g e P u l l s :   f a l s e   f e a t u r e G a t e s :   A l l A l p h a :   f a l s e   M e m o r y Q o S :   t r u e   s t a t i c P o d U R L H e a d e r :   k u b e l e t - a p i - s u p p o r t :   -   \" A u t h o r i z a t i o n :   2 3 4 A P S D F A \"   -   \" X - C u s t o m - H e a d e r :   1 2 3 \"   c u s t o m - s t a t i c - p o d :   -   \" A u t h o r i z a t i o n :   2 2 3 E W R W E R \"   -   \" X - C u s t o m - H e a d e r :   4 5 6 \"   C o n t e n t s   o f   a   f i l e   i n   - - c o n f i g - d i r   d i r e c t o r y :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   f e a t u r e G a t e s :   M e m o r y Q o S :   f a l s e   K u b e l e t T r a c i n g :   t r u e   D y n a m i c R e s o u r c e A l l o c a t i o n :   t r u e   s t a t i c P o d U R L H e a d e r :   c u s t o m - s t a t i c - p o d :   -   \" A u t h o r i z a t i o n :   2 2 3 E W R W E R \"   -   \" X - C u s t o m - H e a d e r :   3 4 5 \"   T h e   r e s u l t i n g   c o n f ",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-config-directory-merging/",
    "id": "k8s_00431_section_3_8388"
  },
  {
    "question": "What is kubeadm Configuration (v1beta4)?",
    "answer": "kubeadm Configuration (v1beta4)OverviewPackage v1beta4 defines the v1beta4 version of the kubeadm configuration file format. This version improves on the v1beta3 format by fixing some minor issues and adding a few new fields.A list of changes since v1beta3:v1.33:Add an EtcdUpgrade field to UpgradeConfiguration.plan that can be used to control whether the etcd upgrade plan should be displayed.v1.31:Support custom environment variables in control plane components under ClusterConfiguration. Use apiServer.extraEnvs, controllerManager.extraEnvs, scheduler.extraEnvs, etcd.local.extraEnvs.The ResetConfiguration API type is now supported in v1beta4. Users are able to reset a node by passing a --config file to kubeadm reset.Dry run mode is now configureable in InitConfiguration and JoinConfigurationB.Replace the existing string/string extra argument maps with structured extra arguments that support duplicates. The change applies to ClusterConfiguration - apiServer.extraArgs, controllerManager.extraArgs, scheduler.extraArgs, etcd.local.extraArgs. Also to nodeRegistration.kubeletExtraArgs.Add ClusterConfiguration.encryptionAlgorithm that can be used to set the asymmetric encryption algorithm used for this cluster's keys and certificates. Can be one of \"RSA-2048\" (default), \"RSA-3072\", \"RSA-4096\" or \"ECDSA-P256\".Add ClusterConfiguration.dns.disabled and ClusterConfiguration.proxy.disabled that can be used to disable the CoreDNS and kube-proxy addons during cluster initialization. Skipping the related addons phases, during cluster creation will set the same fields to true.Add the nodeRegistration.imagePullSerial field in InitConfiguration and JoinConfiguration, which can be used to control if kubeadm pulls images serially or in parallel.The UpgradeConfiguration kubeadm API is now supported in v1beta4 when passing --config to kubeadm upgrade subcommands. Usage of component configuration for kubelet and kube-proxy, InitConfiguration and ClusterConfiguration is deprecated and will be ignored when passing --config to upgrade subcommands.Add a Timeouts structure to InitConfiguration, JoinConfiguration, ResetConfiguration and UpgradeConfiguration that can be used to configure various timeouts. The ClusterConfiguration.timeoutForControlPlane field is replaced by Timeouts.controlPlaneComponentHealthCheck. The JoinConfiguration.discovery.timeout is replaced by timeouts.Discovery.Add a certificateValidityPeriod and caCertificateValidityPeriod fields to ClusterConfiguration. These fields can be used to control the validity period of certificates generated by kubeadm during sub-commands such as init, join, upgrade and certs. Default values continue to be 1 year for non-CA certificates and 10 years for CA certificates. Only non-CA certificates continue to be renewable by kubeadm certs renew.Migration from old kubeadm config versionskubeadm v1.15.x and newer can be used to migrate from v1beta1 to v1beta2.kubeadm v1.22.x and newer no longer support v1beta1 and older APIs, ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_qa_8389"
  },
  {
    "question": "How does kubeadm Configuration (v1beta4) work?",
    "answer": "kubeadm Configuration (v1beta4)OverviewPackage v1beta4 defines the v1beta4 version of the kubeadm configuration file format. This version improves on the v1beta3 format by fixing some minor issues and adding a few new fields.A list of changes since v1beta3:v1.33:Add an EtcdUpgrade field to UpgradeConfiguration.plan that can be used to control whether the etcd upgrade plan should be displayed.v1.31:Support custom environment variables in control plane components under ClusterConfiguration. Use apiServer.extraEnvs, controllerManager.extraEnvs, scheduler.extraEnvs, etcd.local.extraEnvs.The ResetConfiguration API type is now supported in v1beta4. Users are able to reset a node by passing a --config file to kubeadm reset.Dry run mode is now configureable in InitConfiguration and JoinConfigurationB.Replace the existing string/string extra argument maps with structured extra arguments that support duplicates. The change applies to ClusterConfiguration - apiServer.extraArgs, controllerManager.extraArgs, scheduler.extraArgs, etcd.local.extraArgs. Also to nodeRegistration.kubeletExtraArgs.Add ClusterConfiguration.encryptionAlgorithm that can be used to set the asymmetric encryption algorithm used for this cluster's keys and certificates. Can be one of \"RSA-2048\" (default), \"RSA-3072\", \"RSA-4096\" or \"ECDSA-P256\".Add ClusterConfiguration.dns.disabled and ClusterConfiguration.proxy.disabled that can be used to disable the CoreDNS and kube-proxy addons during cluster initialization. Skipping the related addons phases, during cluster creation will set the same fields to true.Add the nodeRegistration.imagePullSerial field in InitConfiguration and JoinConfiguration, which can be used to control if kubeadm pulls images serially or in parallel.The UpgradeConfiguration kubeadm API is now supported in v1beta4 when passing --config to kubeadm upgrade subcommands. Usage of component configuration for kubelet and kube-proxy, InitConfiguration and ClusterConfiguration is deprecated and will be ignored when passing --config to upgrade subcommands.Add a Timeouts structure to InitConfiguration, JoinConfiguration, ResetConfiguration and UpgradeConfiguration that can be used to configure various timeouts. The ClusterConfiguration.timeoutForControlPlane field is replaced by Timeouts.controlPlaneComponentHealthCheck. The JoinConfiguration.discovery.timeout is replaced by timeouts.Discovery.Add a certificateValidityPeriod and caCertificateValidityPeriod fields to ClusterConfiguration. These fields can be used to control the validity period of certificates generated by kubeadm during sub-commands such as init, join, upgrade and certs. Default values continue to be 1 year for non-CA certificates and 10 years for CA certificates. Only non-CA certificates continue to be renewable by kubeadm certs renew.Migration from old kubeadm config versionskubeadm v1.15.x and newer can be used to migrate from v1beta1 to v1beta2.kubeadm v1.22.x and newer no longer support v1beta1 and older APIs, ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_qa_8390"
  },
  {
    "question": "When would you use kubeadm Configuration (v1beta4)?",
    "answer": "kubeadm Configuration (v1beta4)OverviewPackage v1beta4 defines the v1beta4 version of the kubeadm configuration file format. This version improves on the v1beta3 format by fixing some minor issues and adding a few new fields.A list of changes since v1beta3:v1.33:Add an EtcdUpgrade field to UpgradeConfiguration.plan that can be used to control whether the etcd upgrade plan should be displayed.v1.31:Support custom environment variables in control plane components under ClusterConfiguration. Use apiServer.extraEnvs, controllerManager.extraEnvs, scheduler.extraEnvs, etcd.local.extraEnvs.The ResetConfiguration API type is now supported in v1beta4. Users are able to reset a node by passing a --config file to kubeadm reset.Dry run mode is now configureable in InitConfiguration and JoinConfigurationB.Replace the existing string/string extra argument maps with structured extra arguments that support duplicates. The change applies to ClusterConfiguration - apiServer.extraArgs, controllerManager.extraArgs, scheduler.extraArgs, etcd.local.extraArgs. Also to nodeRegistration.kubeletExtraArgs.Add ClusterConfiguration.encryptionAlgorithm that can be used to set the asymmetric encryption algorithm used for this cluster's keys and certificates. Can be one of \"RSA-2048\" (default), \"RSA-3072\", \"RSA-4096\" or \"ECDSA-P256\".Add ClusterConfiguration.dns.disabled and ClusterConfiguration.proxy.disabled that can be used to disable the CoreDNS and kube-proxy addons during cluster initialization. Skipping the related addons phases, during cluster creation will set the same fields to true.Add the nodeRegistration.imagePullSerial field in InitConfiguration and JoinConfiguration, which can be used to control if kubeadm pulls images serially or in parallel.The UpgradeConfiguration kubeadm API is now supported in v1beta4 when passing --config to kubeadm upgrade subcommands. Usage of component configuration for kubelet and kube-proxy, InitConfiguration and ClusterConfiguration is deprecated and will be ignored when passing --config to upgrade subcommands.Add a Timeouts structure to InitConfiguration, JoinConfiguration, ResetConfiguration and UpgradeConfiguration that can be used to configure various timeouts. The ClusterConfiguration.timeoutForControlPlane field is replaced by Timeouts.controlPlaneComponentHealthCheck. The JoinConfiguration.discovery.timeout is replaced by timeouts.Discovery.Add a certificateValidityPeriod and caCertificateValidityPeriod fields to ClusterConfiguration. These fields can be used to control the validity period of certificates generated by kubeadm during sub-commands such as init, join, upgrade and certs. Default values continue to be 1 year for non-CA certificates and 10 years for CA certificates. Only non-CA certificates continue to be renewable by kubeadm certs renew.Migration from old kubeadm config versionskubeadm v1.15.x and newer can be used to migrate from v1beta1 to v1beta2.kubeadm v1.22.x and newer no longer support v1beta1 and older APIs, ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_qa_8391"
  },
  {
    "question": "What are the benefits of kubeadm Configuration (v1beta4)?",
    "answer": "kubeadm Configuration (v1beta4)OverviewPackage v1beta4 defines the v1beta4 version of the kubeadm configuration file format. This version improves on the v1beta3 format by fixing some minor issues and adding a few new fields.A list of changes since v1beta3:v1.33:Add an EtcdUpgrade field to UpgradeConfiguration.plan that can be used to control whether the etcd upgrade plan should be displayed.v1.31:Support custom environment variables in control plane components under ClusterConfiguration. Use apiServer.extraEnvs, controllerManager.extraEnvs, scheduler.extraEnvs, etcd.local.extraEnvs.The ResetConfiguration API type is now supported in v1beta4. Users are able to reset a node by passing a --config file to kubeadm reset.Dry run mode is now configureable in InitConfiguration and JoinConfigurationB.Replace the existing string/string extra argument maps with structured extra arguments that support duplicates. The change applies to ClusterConfiguration - apiServer.extraArgs, controllerManager.extraArgs, scheduler.extraArgs, etcd.local.extraArgs. Also to nodeRegistration.kubeletExtraArgs.Add ClusterConfiguration.encryptionAlgorithm that can be used to set the asymmetric encryption algorithm used for this cluster's keys and certificates. Can be one of \"RSA-2048\" (default), \"RSA-3072\", \"RSA-4096\" or \"ECDSA-P256\".Add ClusterConfiguration.dns.disabled and ClusterConfiguration.proxy.disabled that can be used to disable the CoreDNS and kube-proxy addons during cluster initialization. Skipping the related addons phases, during cluster creation will set the same fields to true.Add the nodeRegistration.imagePullSerial field in InitConfiguration and JoinConfiguration, which can be used to control if kubeadm pulls images serially or in parallel.The UpgradeConfiguration kubeadm API is now supported in v1beta4 when passing --config to kubeadm upgrade subcommands. Usage of component configuration for kubelet and kube-proxy, InitConfiguration and ClusterConfiguration is deprecated and will be ignored when passing --config to upgrade subcommands.Add a Timeouts structure to InitConfiguration, JoinConfiguration, ResetConfiguration and UpgradeConfiguration that can be used to configure various timeouts. The ClusterConfiguration.timeoutForControlPlane field is replaced by Timeouts.controlPlaneComponentHealthCheck. The JoinConfiguration.discovery.timeout is replaced by timeouts.Discovery.Add a certificateValidityPeriod and caCertificateValidityPeriod fields to ClusterConfiguration. These fields can be used to control the validity period of certificates generated by kubeadm during sub-commands such as init, join, upgrade and certs. Default values continue to be 1 year for non-CA certificates and 10 years for CA certificates. Only non-CA certificates continue to be renewable by kubeadm certs renew.Migration from old kubeadm config versionskubeadm v1.15.x and newer can be used to migrate from v1beta1 to v1beta2.kubeadm v1.22.x and newer no longer support v1beta1 and older APIs, ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_qa_8392"
  },
  {
    "question": "What is Overview?",
    "answer": "P a c k a g e   v 1 b e t a 4   d e f i n e s   t h e   v 1 b e t a 4   v e r s i o n   o f   t h e   k u b e a d m   c o n f i g u r a t i o n   f i l e   f o r m a t .   T h i s   v e r s i o n   i m p r o v e s   o n   t h e   v 1 b e t a 3   f o r m a t   b y   f i x i n g   s o m e   m i n o r   i s s u e s   a n d   a d d i n g   a   f e w   n e w   f i e l d s .   A   l i s t   o f   c h a n g e s   s i n c e   v 1 b e t a 3 :   v 1 . 3 3 :   A d d   a n   E t c d U p g r a d e   f i e l d   t o   U p g r a d e C o n f i g u r a t i o n . p l a n   t h a t   c a n   b e   u s e d   t o   c o n t r o l   w h e t h e r   t h e   e t c d   u p g r a d e   p l a n   s h o u l d   b e   d i s p l a y e d .   v 1 . 3 1 :   S u p p o r t   c u s t o m   e n v i r o n m e n t   v a r i a b l e s   i n   c o n t r o l   p l a n e   c o m p o n e n t s   u n d e r   C l u s t e r C o n f i g u r a t i o n .   U s e   a p i S e r v e r . e x t r a E n v s ,   c o n t r o l l e r M a n a g e r . e x t r a E n v s ,   s c h e d u l e r . e x t r a E n v s ,   e t c d . l o c a l . e x t r a E n v s . T h e   R e s e t C o n f i g u r a t i o n   A P I   t y p e   i s   n o w   s u p p o r t e d   i n   v 1 b e t a 4 .   U s e r s   a r e   a b l e   t o   r e s e t   a   n o d e   b y   p a s s i n g   a   - - c o n f i g   f i l e   t o   k u b e a d m   r e s e t . D r y   r u n   m o d e   i s   n o w   c o n f i g u r e a b l e   i n   I n i t C o n f i g u r a t i o n   a n d   J o i n C o n f i g u r a t i o n B . R e p l a c e   t h e   e x i s t i n g   s t r i n g / s t r i n g   e x t r a   a r g u m e n t   m a p s   w i t h   s t r u c t u r e d   e x t r a   a r g u m e n t s   t h a t   s u p p o r t   d u p l i c a t e s .   T h e   c h a n g e   a p p l i e s   t o   C l u s t e r C o n f i g u r a t i o n   -   a p i S e r v e r . e x t r a A r g s ,   c o n t r o l l e r M a n a g e r . e x t r a A r g s ,   s c h e d u l e r . e x t r a A r g s ,   e t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8393"
  },
  {
    "question": "What is Migration from old kubeadm config versions?",
    "answer": "k u b e a d m   v 1 . 1 5 . x   a n d   n e w e r   c a n   b e   u s e d   t o   m i g r a t e   f r o m   v 1 b e t a 1   t o   v 1 b e t a 2 . k u b e a d m   v 1 . 2 2 . x   a n d   n e w e r   n o   l o n g e r   s u p p o r t   v 1 b e t a 1   a n d   o l d e r   A P I s ,   b u t   c a n   b e   u s e d   t o   m i g r a t e   v 1 b e t a 2   t o   v 1 b e t a 3 . k u b e a d m   v 1 . 2 7 . x   a n d   n e w e r   n o   l o n g e r   s u p p o r t   v 1 b e t a 2   a n d   o l d e r   A P I s . k u b e a d m   v 1 . 3 1 . x   a n d   n e w e r   c a n   b e   u s e d   t o   m i g r a t e   f r o m   v 1 b e t a 3   t o   v 1 b e t a 4 .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_1_8394"
  },
  {
    "question": "What is Basics?",
    "answer": "T h e   p r e f e r r e d   w a y   t o   c o n f i g u r e   k u b e a d m   i s   t o   p a s s   a   Y A M L   c o n f i g u r a t i o n   f i l e   w i t h   t h e   - - c o n f i g   o p t i o n .   S o m e   o f   t h e   c o n f i g u r a t i o n   o p t i o n s   d e f i n e d   i n   t h e   k u b e a d m   c o n f i g   f i l e   a r e   a l s o   a v a i l a b l e   a s   c o m m a n d   l i n e   f l a g s ,   b u t   o n l y   t h e   m o s t   c o m m o n / s i m p l e   u s e   c a s e   a r e   s u p p o r t e d   w i t h   t h i s   a p p r o a c h .   A   k u b e a d m   c o n f i g   f i l e   c o u l d   c o n t a i n   m u l t i p l e   c o n f i g u r a t i o n   t y p e s   s e p a r a t e d   u s i n g   t h r e e   d a s h e s   ( - - - ) .   k u b e a d m   s u p p o r t s   t h e   f o l l o w i n g   c o n f i g u r a t i o n   t y p e s :   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   I n i t C o n f i g u r a t i o n   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   C l u s t e r C o n f i g u r a t i o n   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   a p i V e r s i o n :   k u b e p r o x y . c o n f i g . k 8 s . i o / v 1 a l p h a 1   k i n d :   K u b e P r o x y C o n f i g u r a t i o n   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   J o i n C o n f i g u r a t i o n   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   R e s e t C o n f i g u r a t i o n   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   U p g r a d e C o n f i g u r a t i o n   T o   p r i n t   t h e   d e f a u l t s   f o r   i n i t   a n d   j o i n   a c t i o n s   u s e   t h e   f o l l o w i n g   c o m m a n d s :   k u b e a d m   c o n f i g   p r i n t   i n i t - d e f a u l t s   k u b ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8395"
  },
  {
    "question": "What is Kubeadm init configuration types?",
    "answer": "W h e n   e x e c u t i n g   k u b e a d m   i n i t   w i t h   t h e   - - c o n f i g   o p t i o n ,   t h e   f o l l o w i n g   c o n f i g u r a t i o n   t y p e s   c o u l d   b e   u s e d :   I n i t C o n f i g u r a t i o n ,   C l u s t e r C o n f i g u r a t i o n ,   K u b e P r o x y C o n f i g u r a t i o n ,   K u b e l e t C o n f i g u r a t i o n ,   b u t   o n l y   o n e   b e t w e e n   I n i t C o n f i g u r a t i o n   a n d   C l u s t e r C o n f i g u r a t i o n   i s   m a n d a t o r y .   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   I n i t C o n f i g u r a t i o n   b o o t s t r a p T o k e n s :   . . .   n o d e R e g i s t r a t i o n :   . . .   T h e   I n i t C o n f i g u r a t i o n   t y p e   s h o u l d   b e   u s e d   t o   c o n f i g u r e   r u n t i m e   s e t t i n g s ,   t h a t   i n   c a s e   o f   k u b e a d m   i n i t   a r e   t h e   c o n f i g u r a t i o n   o f   t h e   b o o t s t r a p   t o k e n   a n d   a l l   t h e   s e t t i n g   w h i c h   a r e   s p e c i f i c   t o   t h e   n o d e   w h e r e   k u b e a d m   i s   e x e c u t e d ,   i n c l u d i n g :   N o d e R e g i s t r a t i o n ,   t h a t   h o l d s   f i e l d s   t h a t   r e l a t e   t o   r e g i s t e r i n g   t h e   n e w   n o d e   t o   t h e   c l u s t e r ;   u s e   i t   t o   c u s t o m i z e   t h e   n o d e   n a m e ,   t h e   C R I   s o c k e t   t o   u s e   o r   a n y   o t h e r   s e t t i n g s   t h a t   s h o u l d   a p p l y   t o   t h i s   n o d e   o n l y   ( e . g .   t h e   n o d e   i p ) . L o c a l A P I E n d p o i n t ,   t h a t   r e p r e s e n t s   t h e   e n d p o i n t   o f   t h e   i n s t a n c e   o f   t h e   A P I   s e r v e r   t o   b e   d e p l o y e d   o n   t h i s   n o d e ;   u s e   i t   e . g .   t o   c u s t o m i z e   t h e   A P I   s e r v e r   a d v e r t i s e   a d d r e s s . ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8396"
  },
  {
    "question": "What is Kubeadm join configuration types?",
    "answer": "W h e n   e x e c u t i n g   k u b e a d m   j o i n   w i t h   t h e   - - c o n f i g   o p t i o n ,   t h e   J o i n C o n f i g u r a t i o n   t y p e   s h o u l d   b e   p r o v i d e d .   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   J o i n C o n f i g u r a t i o n   d i s c o v e r y :   b o o t s t r a p T o k e n :   a p i S e r v e r E n d p o i n t :   s o m e - a d d r e s s : 6 4 4 3   t o k e n :   a b c d e f . 0 1 2 3 4 5 6 7 8 9 a b c d e f   u n s a f e S k i p C A V e r i f i c a t i o n :   t r u e   t l s B o o t s t r a p T o k e n :   a b c d e f . 0 1 2 3 4 5 6 7 8 9 a b c d e f   T h e   J o i n C o n f i g u r a t i o n   t y p e   s h o u l d   b e   u s e d   t o   c o n f i g u r e   r u n t i m e   s e t t i n g s ,   t h a t   i n   c a s e   o f   k u b e a d m   j o i n   a r e   t h e   d i s c o v e r y   m e t h o d   u s e d   f o r   a c c e s s i n g   t h e   c l u s t e r   i n f o   a n d   a l l   t h e   s e t t i n g   w h i c h   a r e   s p e c i f i c   t o   t h e   n o d e   w h e r e   k u b e a d m   i s   e x e c u t e d ,   i n c l u d i n g :   n o d e R e g i s t r a t i o n ,   t h a t   h o l d s   f i e l d s   t h a t   r e l a t e   t o   r e g i s t e r i n g   t h e   n e w   n o d e   t o   t h e   c l u s t e r ;   u s e   i t   t o   c u s t o m i z e   t h e   n o d e   n a m e ,   t h e   C R I   s o c k e t   t o   u s e   o r   a n y   o t h e r   s e t t i n g s   t h a t   s h o u l d   a p p l y   t o   t h i s   n o d e   o n l y   ( e . g .   t h e   n o d e   i p ) . a p i E n d p o i n t ,   t h a t   r e p r e s e n t s   t h e   e n d p o i n t   o f   t h e   i n s t a n c e   o f   t h e   A P I   s e r v e r   t o   b e   e v e n t u a l l y   d e p l o y e d   o n   t h i s   n o d e .   n o d e R e g i s t r a t i o n ,   t h a t   h o l d s   f i e l d s   t h a t   r e l a t e   t o   r e g i s t e r i n g   t h e   n e w   n o d e   t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8397"
  },
  {
    "question": "What is Kubeadm reset configuration types?",
    "answer": "W h e n   e x e c u t i n g   k u b e a d m   r e s e t   w i t h   t h e   - - c o n f i g   o p t i o n ,   t h e   R e s e t C o n f i g u r a t i o n   t y p e   s h o u l d   b e   p r o v i d e d .   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   R e s e t C o n f i g u r a t i o n   . . .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8398"
  },
  {
    "question": "What is Kubeadm upgrade configuration types?",
    "answer": "W h e n   e x e c u t i n g   k u b e a d m   u p g r a d e   w i t h   t h e   - - c o n f i g   o p t i o n ,   t h e   U p g r a d e C o n f i g u r a t i o n   t y p e   s h o u l d   b e   p r o v i d e d .   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   U p g r a d e C o n f i g u r a t i o n   a p p l y :   . . .   d i f f :   . . .   n o d e :   . . .   p l a n :   . . .   T h e   U p g r a d e C o n f i g u r a t i o n   s t r u c t u r e   i n c l u d e s   a   f e w   s u b s t r u c t u r e s   t h a t   o n l y   a p p l y   t o   d i f f e r e n t   s u b c o m m a n d s   o f   k u b e a d m   u p g r a d e .   F o r   e x a m p l e ,   t h e   a p p l y   s u b s t r u c t u r e   w i l l   b e   u s e d   w i t h   t h e   k u b e a d m   u p g r a d e   a p p l y   s u b c o m m a n d   a n d   a l l   o t h e r   s u b s t r u c t u r e s   w i l l   b e   i g n o r e d   i n   s u c h   a   c a s e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8399"
  },
  {
    "question": "What is Resource Types?",
    "answer": "C l u s t e r C o n f i g u r a t i o n I n i t C o n f i g u r a t i o n J o i n C o n f i g u r a t i o n R e s e t C o n f i g u r a t i o n U p g r a d e C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8400"
  },
  {
    "question": "What is BootstrapToken?",
    "answer": "A p p e a r s   i n :   I n i t C o n f i g u r a t i o n I n i t C o n f i g u r a t i o n   I n i t C o n f i g u r a t i o n   I n i t C o n f i g u r a t i o n   B o o t s t r a p T o k e n   d e s c r i b e s   o n e   b o o t s t r a p   t o k e n ,   s t o r e d   a s   a   S e c r e t   i n   t h e   c l u s t e r   t o k e n   i s   u s e d   f o r   e s t a b l i s h i n g   b i d i r e c t i o n a l   t r u s t   b e t w e e n   n o d e s   a n d   c o n t r o l - p l a n e s .   U s e d   f o r   j o i n i n g   n o d e s   i n   t h e   c l u s t e r .   d e s c r i p t i o n   s e t s   a   h u m a n - f r i e n d l y   m e s s a g e   w h y   t h i s   t o k e n   e x i s t s   a n d   w h a t   i t ' s   u s e d   f o r ,   s o   o t h e r   a d m i n i s t r a t o r s   c a n   k n o w   i t s   p u r p o s e .   t t l   d e f i n e s   t h e   t i m e   t o   l i v e   f o r   t h i s   t o k e n .   D e f a u l t s   t o   2 4 h .   e x p i r e s   a n d   t t l   a r e   m u t u a l l y   e x c l u s i v e .   e x p i r e s   s p e c i f i e s   t h e   t i m e s t a m p   w h e n   t h i s   t o k e n   e x p i r e s .   D e f a u l t s   t o   b e i n g   s e t   d y n a m i c a l l y   a t   r u n t i m e   b a s e d   o n   t h e   t t l .   e x p i r e s   a n d   t t l   a r e   m u t u a l l y   e x c l u s i v e .   u s a g e s   d e s c r i b e s   t h e   w a y s   i n   w h i c h   t h i s   t o k e n   c a n   b e   u s e d .   C a n   b y   d e f a u l t   b e   u s e d   f o r   e s t a b l i s h i n g   b i d i r e c t i o n a l   t r u s t ,   b u t   t h a t   c a n   b e   c h a n g e d   h e r e .   g r o u p s   s p e c i f i e s   t h e   e x t r a   g r o u p s   t h a t   t h i s   t o k e n   w i l l   a u t h e n t i c a t e   a s   w h e n / i f   u s e d   f o r   a u t h e n t i c a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8401"
  },
  {
    "question": "What is BootstrapTokenString?",
    "answer": "A p p e a r s   i n :   B o o t s t r a p T o k e n   B o o t s t r a p T o k e n S t r i n g   i s   a   t o k e n   o f   t h e   f o r m a t   a b c d e f . a b c d e f 0 1 2 3 4 5 6 7 8 9   t h a t   i s   u s e d   f o r   b o t h   v a l i d a t i o n   o f   t h e   p r a c t i c a l l y   o f   t h e   A P I   s e r v e r   f r o m   a   j o i n i n g   n o d e ' s   p o i n t   o f   v i e w   a n d   a s   a n   a u t h e n t i c a t i o n   m e t h o d   f o r   t h e   n o d e   i n   t h e   b o o t s t r a p   p h a s e   o f   \" k u b e a d m   j o i n \" .   T h i s   t o k e n   i s   a n d   s h o u l d   b e   s h o r t - l i v e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8402"
  },
  {
    "question": "What is ClusterConfiguration?",
    "answer": "C l u s t e r C o n f i g u r a t i o n   c o n t a i n s   c l u s t e r - w i d e   c o n f i g u r a t i o n   f o r   a   k u b e a d m   c l u s t e r .   e t c d   h o l d s   t h e   c o n f i g u r a t i o n   f o r   e t c d .   n e t w o r k i n g   h o l d s   c o n f i g u r a t i o n   f o r   t h e   n e t w o r k i n g   t o p o l o g y   o f   t h e   c l u s t e r .   k u b e r n e t e s V e r s i o n   i s   t h e   t a r g e t   v e r s i o n   o f   t h e   c o n t r o l   p l a n e .   c o n t r o l P l a n e E n d p o i n t   s e t s   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e ;   I t   c a n   b e   a   v a l i d   I P   a d d r e s s   o r   a   R F C - 1 1 2 3   D N S   s u b d o m a i n ,   b o t h   w i t h   o p t i o n a l   T C P   p o r t .   I n   c a s e   t h e   c o n t r o l P l a n e E n d p o i n t   i s   n o t   s p e c i f i e d ,   t h e   a d v e r t i s e A d d r e s s   +   b i n d P o r t   a r e   u s e d ;   i n   c a s e   t h e   c o n t r o l P l a n e E n d p o i n t   i s   s p e c i f i e d   b u t   w i t h o u t   a   T C P   p o r t ,   t h e   b i n d P o r t   i s   u s e d .   P o s s i b l e   u s a g e s   a r e :   I n   a   c l u s t e r   w i t h   m o r e   t h a n   o n e   c o n t r o l   p l a n e   i n s t a n c e s ,   t h i s   f i e l d   s h o u l d   b e   a s s i g n e d   t h e   a d d r e s s   o f   t h e   e x t e r n a l   l o a d   b a l a n c e r   i n   f r o n t   o f   t h e   c o n t r o l   p l a n e   i n s t a n c e s . I n   e n v i r o n m e n t s   w i t h   e n f o r c e d   n o d e   r e c y c l i n g ,   t h e   c o n t r o l P l a n e E n d p o i n t   c o u l d   b e   u s e d   f o r   a s s i g n i n g   a   s t a b l e   D N S   t o   t h e   c o n t r o l   p l a n e .   a p i S e r v e r   c o n t a i n s   e x t r a   s e t t i n g s   f o r   t h e   A P I   s e r v e r .   c o n t r o l l e r M a n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8403"
  },
  {
    "question": "What is InitConfiguration?",
    "answer": "I n i t C o n f i g u r a t i o n   c o n t a i n s   a   l i s t   o f   e l e m e n t s   t h a t   i s   s p e c i f i c   \" k u b e a d m   i n i t \" - o n l y   r u n t i m e   i n f o r m a t i o n .   k u b e a d m   i n i t - o n l y   i n f o r m a t i o n .   T h e s e   f i e l d s   a r e   s o l e l y   u s e d   t h e   f i r s t   t i m e   k u b e a d m   i n i t   r u n s .   A f t e r   t h a t ,   t h e   i n f o r m a t i o n   i n   t h e   f i e l d s   I S   N O T   u p l o a d e d   t o   t h e   k u b e a d m - c o n f i g   C o n f i g M a p   t h a t   i s   u s e d   b y   k u b e a d m   u p g r a d e   f o r   i n s t a n c e .   T h e s e   f i e l d s   m u s t   b e   o m i t e m p t y .   b o o t s t r a p T o k e n s   i s   r e s p e c t e d   a t   k u b e a d m   i n i t   t i m e   a n d   d e s c r i b e s   a   s e t   o f   B o o t s t r a p   T o k e n s   t o   c r e a t e .   T h i s   i n f o r m a t i o n   I S   N O T   u p l o a d e d   t o   t h e   k u b e a d m   c l u s t e r   c o n f i g m a p ,   p a r t l y   b e c a u s e   o f   i t s   s e n s i t i v e   n a t u r e   d r y R u n   t e l l s   i f   t h e   d r y   r u n   m o d e   i s   e n a b l e d ,   d o n ' t   a p p l y   a n y   c h a n g e   i n   d r y   r u n   m o d e ,   j u s t   o u t   p u t   w h a t   w o u l d   b e   d o n e .   n o d e R e g i s t r a t i o n   h o l d s   f i e l d s   t h a t   r e l a t e   t o   r e g i s t e r i n g   t h e   n e w   c o n t r o l - p l a n e   n o d e   t o   t h e   c l u s t e r .   l o c a l A P I E n d p o i n t   r e p r e s e n t s   t h e   e n d p o i n t   o f   t h e   A P I   s e r v e r   i n s t a n c e   t h a t ' s   d e p l o y e d   o n   t h i s   c o n t r o l   p l a n e   n o d e .   I n   H A   s e t u p s ,   t h i s   d i f f e r s   f r o m   C l u s t e r C o n f i g u r a t i o n . c o n t r o l P l a n e E n d p o i n t   i n   t h e   s e n s e   t h a t   c o n t r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8404"
  },
  {
    "question": "What is JoinConfiguration?",
    "answer": "J o i n C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   a   p a r t i c u l a r   n o d e .   d r y R u n   t e l l s   i f   t h e   d r y   r u n   m o d e   i s   e n a b l e d ,   d o n ' t   a p p l y   a n y   c h a n g e   i f   i t   i s   s e t ,   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   n o d e R e g i s t r a t i o n   h o l d s   f i e l d s   t h a t   r e l a t e   t o   r e g i s t e r i n g   t h e   n e w   c o n t r o l - p l a n e   n o d e   t o   t h e   c l u s t e r   c a C e r t P a t h   i s   t h e   p a t h   t o   t h e   S S L   c e r t i f i c a t e   a u t h o r i t y   u s e d   t o   s e c u r e   c o m m u n i c a t i o n s   b e t w e e n   n o d e   a n d   c o n t r o l - p l a n e .   D e f a u l t s   t o   \" / e t c / k u b e r n e t e s / p k i / c a . c r t \" .   d i s c o v e r y   s p e c i f i e s   t h e   o p t i o n s   f o r   t h e   k u b e l e t   t o   u s e   d u r i n g   t h e   T L S   b o o t s t r a p   p r o c e s s .   c o n t r o l P l a n e   d e f i n e s   t h e   a d d i t i o n a l   c o n t r o l   p l a n e   i n s t a n c e   t o   b e   d e p l o y e d   o n   t h e   j o i n i n g   n o d e .   I f   n i l ,   n o   a d d i t i o n a l   c o n t r o l   p l a n e   i n s t a n c e   w i l l   b e   d e p l o y e d .   s k i p P h a s e s   i s   a   l i s t   o f   p h a s e s   t o   s k i p   d u r i n g   c o m m a n d   e x e c u t i o n .   T h e   l i s t   o f   p h a s e s   c a n   b e   o b t a i n e d   w i t h   t h e   k u b e a d m   j o i n   - - h e l p   c o m m a n d .   T h e   f l a g   - - s k i p - p h a s e s   t a k e s   p r e c e d e n c e   o v e r   t h i s   f i e l d .   p a t c h e s   c o n t a i n s   o p t i o n s   r e l a t e d   t o   a p p l y i n g   p a t c h e s   t o   c o m p o n e n t s   d e p l o y e d   b y   k u b e a d m   d u r i n g   k u b e a d m   j o i n .   t i m e o u t s   h o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8405"
  },
  {
    "question": "What is ResetConfiguration?",
    "answer": "R e s e t C o n f i g u r a t i o n   c o n t a i n s   a   l i s t   o f   f i e l d s   t h a t   a r e   s p e c i f i c a l l y   k u b e a d m   r e s e t - o n l y   r u n t i m e   i n f o r m a t i o n .   c l e a n u p T m p D i r   s p e c i f i e s   w h e t h e r   t h e   \" / e t c / k u b e r n e t e s / t m p \"   d i r e c t o r y   s h o u l d   b e   c l e a n e d   d u r i n g   t h e   r e s e t   p r o c e s s .   c e r t i f i c a t e s D i r   s p e c i f i e s   t h e   d i r e c t o r y   w h e r e   t h e   c e r t i f i c a t e s   a r e   s t o r e d .   I f   s p e c i f i e d ,   i t   w i l l   b e   c l e a n e d   d u r i n g   t h e   r e s e t   p r o c e s s .   c r i S o c k e t   i s   u s e d   t o   r e t r i e v e   c o n t a i n e r   r u n t i m e   i n f o r o m a t i o n   a n d   u s e d   f o r   t h e   r e m o v a l   o f   t h e   c o n t a i n e r s .   I f   c r i S o c k e t   i s   n o t   s p e c i f i e d   b y   f l a g   o r   c o n f i g   f i l e ,   k u b e a d m   w i l l   t r y   t o   d e t e c t   o n e   v a l i d   C R I   s o c k e t   i n s t e a d .   d r y R u n   t e l l s   i f   t h e   d r y   r u n   m o d e   i s   e n a b l e d ,   d o n ' t   a p p l y   a n y   c h a n g e   i f   i t   i s   s e t   a n d   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   T h e   f o r c e   f l a g   i n s t r u c t s   k u b e a d m   t o   r e s e t   t h e   n o d e   w i t h o u t   p r o m p t i n g   f o r   c o n f i r m a t i o n .   i g n o r e P r e f l i g h t E r r o r s   p r o v i d e s   a   l i s t   o f   p r e - f l i g h t   e r r o r s   t o   b e   i g n o r e d   d u r i n g   t h e   r e s e t   p r o c e s s ,   e . g .   I s P r i v i l e g e d U s e r , S w a p .   V a l u e   a l l   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .   s k i p P h a s e s   i s   a   l i s t   o f   p h a s e s   t o   s k i p   d u r i n g   c o m m a n d   e x e c ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8406"
  },
  {
    "question": "What is UpgradeConfiguration?",
    "answer": "U p g r a d e C o n f i g u r a t i o n   c o n t a i n s   a   l i s t   o f   o p t i o n s   t h a t   a r e   s p e c i f i c   t o   k u b e a d m   u p g r a d e   s u b c o m m a n d s .   a p p l y   h o l d s   a   l i s t   o f   o p t i o n s   t h a t   a r e   s p e c i f i c   t o   t h e   k u b e a d m   u p g r a d e   a p p l y   c o m m a n d .   d i f f   h o l d s   a   l i s t   o f   o p t i o n s   t h a t   a r e   s p e c i f i c   t o   t h e   k u b e a d m   u p g r a d e   d i f f   c o m m a n d .   n o d e   h o l d s   a   l i s t   o f   o p t i o n s   t h a t   a r e   s p e c i f i c   t o   t h e   k u b e a d m   u p g r a d e   n o d e   c o m m a n d .   p l a n   h o l d s   a   l i s t   o f   o p t i o n s   t h a t   a r e   s p e c i f i c   t o   t h e   k u b e a d m   u p g r a d e   p l a n   c o m m a n d .   t i m e o u t s   h o l d s   v a r i o u s   t i m e o u t s   t h a t   a p p l y   t o   k u b e a d m   c o m m a n d s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8407"
  },
  {
    "question": "What is APIEndpoint?",
    "answer": "A p p e a r s   i n :   I n i t C o n f i g u r a t i o n J o i n C o n t r o l P l a n e   I n i t C o n f i g u r a t i o n   J o i n C o n t r o l P l a n e   A P I E n d p o i n t   s t r u c t   c o n t a i n s   e l e m e n t s   o f   A P I   s e r v e r   i n s t a n c e   d e p l o y e d   o n   a   n o d e .   a d v e r t i s e A d d r e s s   s e t s   t h e   I P   a d d r e s s   f o r   t h e   A P I   s e r v e r   t o   a d v e r t i s e .   b i n d P o r t   s e t s   t h e   s e c u r e   p o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   D e f a u l t s   t o   6 4 4 3 .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8408"
  },
  {
    "question": "What is APIServer?",
    "answer": "A p p e a r s   i n :   C l u s t e r C o n f i g u r a t i o n   A P I S e r v e r   h o l d s   s e t t i n g s   n e c e s s a r y   f o r   A P I   s e r v e r   d e p l o y m e n t s   i n   t h e   c l u s t e r   c e r t S A N s   s e t s   e x t r a   S u b j e c t   A l t e r n a t i v e   N a m e s   ( S A N s )   f o r   t h e   A P I   S e r v e r   s i g n i n g   c e r t i f i c a t e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8409"
  },
  {
    "question": "What is Arg?",
    "answer": "A p p e a r s   i n :   C o n t r o l P l a n e C o m p o n e n t L o c a l E t c d N o d e R e g i s t r a t i o n O p t i o n s   C o n t r o l P l a n e C o m p o n e n t   L o c a l E t c d   N o d e R e g i s t r a t i o n O p t i o n s   A r g   r e p r e s e n t s   a n   a r g u m e n t   w i t h   a   n a m e   a n d   a   v a l u e .   T h e   n a m e   o f   t h e   a r g u m e n t .   T h e   v a l u e   o f   t h e   a r g u m e n t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8410"
  },
  {
    "question": "What is BootstrapTokenDiscovery?",
    "answer": "A p p e a r s   i n :   D i s c o v e r y   B o o t s t r a p T o k e n D i s c o v e r y   i s   u s e d   t o   s e t   t h e   o p t i o n s   f o r   b o o t s t r a p   t o k e n   b a s e d   d i s c o v e r y .   t o k e n   i s   a   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   c o n t r o l - p l a n e .   a p i S e r v e r E n d p o i n t   i s   a n   I P   o r   d o m a i n   n a m e   t o   t h e   A P I   s e r v e r   f r o m   w h i c h   i n f o r m a t i o n   w i l l   b e   f e t c h e d .   c a C e r t H a s h e s   s p e c i f i e s   a   s e t   o f   p u b l i c   k e y   p i n s   t o   v e r i f y   w h e n   t o k e n - b a s e d   d i s c o v e r y   i s   u s e d .   T h e   r o o t   C A   f o u n d   d u r i n g   d i s c o v e r y   m u s t   m a t c h   o n e   o f   t h e s e   v a l u e s .   S p e c i f y i n g   a n   e m p t y   s e t   d i s a b l e s   r o o t   C A   p i n n i n g ,   w h i c h   c a n   b e   u n s a f e .   E a c h   h a s h   i s   s p e c i f i e d   a s   < t y p e > : < v a l u e > ,   w h e r e   t h e   o n l y   c u r r e n t l y   s u p p o r t e d   t y p e   i s   \" s h a 2 5 6 \" .   T h i s   i s   a   h e x - e n c o d e d   S H A - 2 5 6   h a s h   o f   t h e   S u b j e c t   P u b l i c   K e y   I n f o   ( S P K I )   o b j e c t   i n   D E R - e n c o d e d   A S N . 1 .   T h e s e   h a s h e s   c a n   b e   / /   c a l c u l a t e d   u s i n g ,   f o r   e x a m p l e ,   O p e n S S L .   u n s a f e S k i p C A V e r i f i c a t i o n   a l l o w s   t o k e n - b a s e d   d i s c o v e r y   w i t h o u t   C A   v e r i f i c a t i o n   v i a   c a C e r t H a s h e s .   T h i s   c a n   w e a k e n   t h e   s e c u r i t y   o f   k u b e a d m   s i n c e   o t h e r   n o d e s   c a n   i m p e r s o n a t e   t h e   c o n t r o l - p l a n e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8411"
  },
  {
    "question": "What is ControlPlaneComponent?",
    "answer": "A p p e a r s   i n :   C l u s t e r C o n f i g u r a t i o n A P I S e r v e r   C l u s t e r C o n f i g u r a t i o n   A P I S e r v e r   C o n t r o l P l a n e C o m p o n e n t   h o l d s   s e t t i n g s   c o m m o n   t o   c o n t r o l   p l a n e   c o m p o n e n t   o f   t h e   c l u s t e r   e x t r a A r g s   i s   a n   e x t r a   s e t   o f   f l a g s   t o   p a s s   t o   t h e   c o n t r o l   p l a n e   c o m p o n e n t .   A n   a r g u m e n t   n a m e   i n   t h i s   l i s t   i s   t h e   f l a g   n a m e   a s   i t   a p p e a r s   o n   t h e   c o m m a n d   l i n e   e x c e p t   w i t h o u t   l e a d i n g   d a s h ( e s ) .   E x t r a   a r g u m e n t s   w i l l   o v e r r i d e   e x i s t i n g   d e f a u l t   a r g u m e n t s .   D u p l i c a t e   e x t r a   a r g u m e n t s   a r e   a l l o w e d .   e x t r a V o l u m e s   i s   a n   e x t r a   s e t   o f   h o s t   v o l u m e s ,   m o u n t e d   t o   t h e   c o n t r o l   p l a n e   c o m p o n e n t .   e x t r a E n v s   i s   a n   e x t r a   s e t   o f   e n v i r o n m e n t   v a r i a b l e s   t o   p a s s   t o   t h e   c o n t r o l   p l a n e   c o m p o n e n t .   E n v i r o n m e n t   v a r i a b l e s   p a s s e d   u s i n g   e x t r a E n v s   w i l l   o v e r r i d e   a n y   e x i s t i n g   e n v i r o n m e n t   v a r i a b l e s ,   o r   * _ p r o x y   e n v i r o n m e n t   v a r i a b l e s   t h a t   k u b e a d m   a d d s   b y   d e f a u l t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8412"
  },
  {
    "question": "What is DNS?",
    "answer": "A p p e a r s   i n :   C l u s t e r C o n f i g u r a t i o n   D N S   d e f i n e s   t h e   D N S   a d d o n   t h a t   s h o u l d   b e   u s e d   i n   t h e   c l u s t e r   i m a g e M e t a   a l l o w s   t o   c u s t o m i z e   t h e   i m a g e   u s e d   f o r   t h e   D N S   a d d o n .   d i s a b l e d   s p e c i f i e s   w h e t h e r   t o   d i s a b l e   t h i s   a d d o n   i n   t h e   c l u s t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8413"
  },
  {
    "question": "What is Discovery?",
    "answer": "A p p e a r s   i n :   J o i n C o n f i g u r a t i o n   D i s c o v e r y   s p e c i f i e s   t h e   o p t i o n s   f o r   t h e   k u b e l e t   t o   u s e   d u r i n g   t h e   T L S   B o o t s t r a p   p r o c e s s   b o o t s t r a p T o k e n   i s   u s e d   t o   s e t   t h e   o p t i o n s   f o r   b o o t s t r a p   t o k e n   b a s e d   d i s c o v e r y .   b o o t s t r a p T o k e n   a n d   f i l e   a r e   m u t u a l l y   e x c l u s i v e .   f i l e   i s   u s e d   t o   s p e c i f y   a   f i l e   o r   U R L   t o   a   k u b e c o n f i g   f i l e   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   b o o t s t r a p T o k e n   a n d   f i l e   a r e   m u t u a l l y   e x c l u s i v e .   t l s B o o t s t r a p T o k e n   i s   a   t o k e n   u s e d   f o r   T L S   b o o t s t r a p p i n g .   I f   b o o t s t r a p T o k e n   i s   s e t ,   t h i s   f i e l d   i s   d e f a u l t e d   t o   b o o t s t r a p T o k e n . t o k e n ,   b u t   c a n   b e   o v e r r i d d e n .   I f   f i l e   i s   s e t ,   t h i s   f i e l d   m u s t   b e   s e t   i n   c a s e   t h e   K u b e C o n f i g F i l e   d o e s   n o t   c o n t a i n   a n y   o t h e r   a u t h e n t i c a t i o n   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8414"
  },
  {
    "question": "What is EncryptionAlgorithmType?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   C l u s t e r C o n f i g u r a t i o n   E n c r y p t i o n A l g o r i t h m T y p e   c a n   d e f i n e   a n   a s y m m e t r i c   e n c r y p t i o n   a l g o r i t h m   t y p e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8415"
  },
  {
    "question": "What is EnvVar?",
    "answer": "A p p e a r s   i n :   C o n t r o l P l a n e C o m p o n e n t L o c a l E t c d   C o n t r o l P l a n e C o m p o n e n t   L o c a l E t c d   E n v V a r   r e p r e s e n t s   a n   e n v i r o n m e n t   v a r i a b l e   p r e s e n t   i n   a   C o n t a i n e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8416"
  },
  {
    "question": "What is Etcd?",
    "answer": "A p p e a r s   i n :   C l u s t e r C o n f i g u r a t i o n   E t c d   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   E t c d   c o n f i g u r a t i o n .   l o c a l   p r o v i d e s   c o n f i g u r a t i o n   k n o b s   f o r   c o n f i g u r i n g   t h e   l o c a l   e t c d   i n s t a n c e .   l o c a l   a n d   e x t e r n a l   a r e   m u t u a l l y   e x c l u s i v e .   e x t e r n a l   d e s c r i b e s   h o w   t o   c o n n e c t   t o   a n   e x t e r n a l   e t c d   c l u s t e r .   l o c a l   a n d   e x t e r n a l   a r e   m u t u a l l y   e x c l u s i v e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8417"
  },
  {
    "question": "What is ExternalEtcd?",
    "answer": "A p p e a r s   i n :   E t c d   E x t e r n a l E t c d   d e s c r i b e s   a n   e x t e r n a l   e t c d   c l u s t e r .   K u b e a d m   h a s   n o   k n o w l e d g e   o f   w h e r e   c e r t i f i c a t e   f i l e s   l i v e   a n d   t h e y   m u s t   b e   s u p p l i e d .   e n d p o i n t s   c o n t a i n s   t h e   l i s t   o f   e t c d   m e m b e r s .   c a F i l e   i s   a n   S S L   C e r t i f i c a t e   A u t h o r i t y   ( C A )   f i l e   u s e d   t o   s e c u r e   e t c d   c o m m u n i c a t i o n .   R e q u i r e d   i f   u s i n g   a   T L S   c o n n e c t i o n .   c e r t F i l e   i s   a n   S S L   c e r t i f i c a t i o n   f i l e   u s e d   t o   s e c u r e   e t c d   c o m m u n i c a t i o n .   R e q u i r e d   i f   u s i n g   a   T L S   c o n n e c t i o n .   k e y F i l e   i s   a n   S S L   k e y   f i l e   u s e d   t o   s e c u r e   e t c d   c o m m u n i c a t i o n .   R e q u i r e d   i f   u s i n g   a   T L S   c o n n e c t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8418"
  },
  {
    "question": "What is FileDiscovery?",
    "answer": "A p p e a r s   i n :   D i s c o v e r y   F i l e D i s c o v e r y   i s   u s e d   t o   s p e c i f y   a   f i l e   o r   U R L   t o   a   k u b e c o n f i g   f i l e   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   k u b e C o n f i g P a t h   i s   u s e d   t o   s p e c i f y   t h e   a c t u a l   f i l e   p a t h   o r   U R L   t o   t h e   k u b e c o n f i g   f i l e   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8419"
  },
  {
    "question": "What is HostPathMount?",
    "answer": "A p p e a r s   i n :   C o n t r o l P l a n e C o m p o n e n t   H o s t P a t h M o u n t   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   v o l u m e s   t h a t   a r e   m o u n t e d   f r o m   t h e   h o s t .   n a m e   i s   t h e   n a m e   o f   t h e   v o l u m e   i n s i d e   t h e   P o d   t e m p l a t e .   h o s t P a t h   i s   t h e   p a t h   i n   t h e   h o s t   t h a t   w i l l   b e   m o u n t e d   i n s i d e   t h e   P o d .   m o u n t P a t h   i s   t h e   p a t h   i n s i d e   t h e   P o d   w h e r e   h o s t P a t h   w i l l   b e   m o u n t e d .   r e a d O n l y   c o n t r o l s   w r i t e   a c c e s s   t o   t h e   v o l u m e .   p a t h T y p e   i s   t h e   t y p e   o f   t h e   h o s t P a t h .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8420"
  },
  {
    "question": "What is ImageMeta?",
    "answer": "A p p e a r s   i n :   D N S L o c a l E t c d   D N S   L o c a l E t c d   I m a g e M e t a   a l l o w s   t o   c u s t o m i z e   t h e   i m a g e   u s e d   f o r   c o m p o n e n t s   t h a t   a r e   n o t   o r i g i n a t e d   f r o m   t h e   K u b e r n e t e s / K u b e r n e t e s   r e l e a s e   p r o c e s s   i m a g e R e p o s i t o r y   s e t s   t h e   c o n t a i n e r   r e g i s t r y   t o   p u l l   i m a g e s   f r o m .   i f   n o t   s e t ,   t h e   i m a g e R e p o s i t o r y   d e f i n e d   i n   C l u s t e r C o n f i g u r a t i o n   w i l l   b e   u s e d   i n s t e a d .   i m a g e T a g   a l l o w s   t o   s p e c i f y   a   t a g   f o r   t h e   i m a g e .   I n   c a s e   t h i s   v a l u e   i s   s e t ,   k u b e a d m   d o e s   n o t   c h a n g e   a u t o m a t i c a l l y   t h e   v e r s i o n   o f   t h e   a b o v e   c o m p o n e n t s   d u r i n g   u p g r a d e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8421"
  },
  {
    "question": "What is JoinControlPlane?",
    "answer": "A p p e a r s   i n :   J o i n C o n f i g u r a t i o n   J o i n C o n t r o l P l a n e   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   a n   a d d i t i o n a l   c o n t r o l   p l a n e   i n s t a n c e   t o   b e   d e p l o y e d   o n   t h e   j o i n i n g   n o d e .   l o c a l A P I E n d p o i n t   r e p r e s e n t s   t h e   e n d p o i n t   o f   t h e   A P I   s e r v e r   i n s t a n c e   t o   b e   d e p l o y e d   o n   t h i s   n o d e .   c e r t i f i c a t e K e y   i s   t h e   k e y   t h a t   i s   u s e d   f o r   d e c r y p t i o n   o f   c e r t i f i c a t e s   a f t e r   t h e y   a r e   d o w n l o a d e d   f r o m   t h e   S e c r e t   u p o n   j o i n i n g   a   n e w   c o n t r o l   p l a n e   n o d e .   T h e   c o r r e s p o n d i n g   e n c r y p t i o n   k e y   i s   i n   t h e   I n i t C o n f i g u r a t i o n .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8422"
  },
  {
    "question": "What is LocalEtcd?",
    "answer": "A p p e a r s   i n :   E t c d   L o c a l E t c d   d e s c r i b e s   t h a t   k u b e a d m   s h o u l d   r u n   a n   e t c d   c l u s t e r   l o c a l l y .   I m a g e M e t a   a l l o w s   t o   c u s t o m i z e   t h e   c o n t a i n e r   u s e d   f o r   e t c d   d a t a D i r   i s   t h e   d i r e c t o r y   e t c d   w i l l   p l a c e   i t s   d a t a .   D e f a u l t s   t o   \" / v a r / l i b / e t c d \" .   e x t r a A r g s   a r e   e x t r a   a r g u m e n t s   p r o v i d e d   t o   t h e   e t c d   b i n a r y   w h e n   r u n   i n s i d e   a   s t a t i c   P o d .   A n   a r g u m e n t   n a m e   i n   t h i s   l i s t   i s   t h e   f l a g   n a m e   a s   i t   a p p e a r s   o n   t h e   c o m m a n d   l i n e   e x c e p t   w i t h o u t   l e a d i n g   d a s h ( e s ) .   E x t r a   a r g u m e n t s   w i l l   o v e r r i d e   e x i s t i n g   d e f a u l t   a r g u m e n t s .   D u p l i c a t e   e x t r a   a r g u m e n t s   a r e   a l l o w e d .   e x t r a E n v s   i s   a n   e x t r a   s e t   o f   e n v i r o n m e n t   v a r i a b l e s   t o   p a s s   t o   t h e   c o n t r o l   p l a n e   c o m p o n e n t .   E n v i r o n m e n t   v a r i a b l e s   p a s s e d   u s i n g   e x t r a E n v s   w i l l   o v e r r i d e   a n y   e x i s t i n g   e n v i r o n m e n t   v a r i a b l e s ,   o r   * _ p r o x y   e n v i r o n m e n t   v a r i a b l e s   t h a t   k u b e a d m   a d d s   b y   d e f a u l t .   s e r v e r C e r t S A N s   s e t s   e x t r a   S u b j e c t   A l t e r n a t i v e   N a m e s   ( S A N s )   f o r   t h e   e t c d   s e r v e r   s i g n i n g   c e r t i f i c a t e .   p e e r C e r t S A N s   s e t s   e x t r a   S u b j e c t   A l t e r n a t i v e   N a m e s   ( S A N s )   f o r   t h e   e t c d   p e e r   s i g n i n g   c e r t i f i c a t e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8423"
  },
  {
    "question": "What is Networking?",
    "answer": "A p p e a r s   i n :   C l u s t e r C o n f i g u r a t i o n   N e t w o r k i n g   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   c l u s t e r ' s   n e t w o r k i n g   c o n f i g u r a t i o n .   s e r v i c e S u b n e t   i s   t h e   s u b n e t   u s e d   b y   K u b e r n e t e s   S e r v i c e s .   D e f a u l t s   t o   \" 1 0 . 9 6 . 0 . 0 / 1 2 \" .   p o d S u b n e t   i s   t h e   s u b n e t   u s e d   b y   P o d s .   d n s D o m a i n   i s   t h e   d n s   d o m a i n   u s e d   b y   K u b e r n e t e s   S e r v i c e s .   D e f a u l t s   t o   \" c l u s t e r . l o c a l \" .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8424"
  },
  {
    "question": "What is NodeRegistrationOptions?",
    "answer": "A p p e a r s   i n :   I n i t C o n f i g u r a t i o n J o i n C o n f i g u r a t i o n   I n i t C o n f i g u r a t i o n   J o i n C o n f i g u r a t i o n   N o d e R e g i s t r a t i o n O p t i o n s   h o l d s   f i e l d s   t h a t   r e l a t e   t o   r e g i s t e r i n g   a   n e w   c o n t r o l - p l a n e   o r   n o d e   t o   t h e   c l u s t e r ,   e i t h e r   v i a   k u b e a d m   i n i t   o r   k u b e a d m   j o i n .   n a m e   i s   t h e   . M e t a d a t a . N a m e   f i e l d   o f   t h e   N o d e   A P I   o b j e c t   t h a t   w i l l   b e   c r e a t e d   i n   t h i s   k u b e a d m   i n i t   o r   k u b e a d m   j o i n   o p e r a t i o n .   T h i s   f i e l d   i s   a l s o   u s e d   i n   t h e   C o m m o n N a m e   f i e l d   o f   t h e   k u b e l e t ' s   c l i e n t   c e r t i f i c a t e   t o   t h e   A P I   s e r v e r .   D e f a u l t s   t o   t h e   h o s t n a m e   o f   t h e   n o d e   i f   n o t   p r o v i d e d .   c r i S o c k e t   i s   u s e d   t o   r e t r i e v e   c o n t a i n e r   r u n t i m e   i n f o .   T h i s   i n f o r m a t i o n   w i l l   b e   a n n o t a t e d   t o   t h e   N o d e   A P I   o b j e c t ,   f o r   l a t e r   r e - u s e .   t a i n t s   s p e c i f i e s   t h e   t a i n t s   t h e   N o d e   A P I   o b j e c t   s h o u l d   b e   r e g i s t e r e d   w i t h .   I f   t h i s   f i e l d   i s   u n s e t ,   i . e .   n i l ,   i t   w i l l   b e   d e f a u l t e d   w i t h   a   c o n t r o l - p l a n e   t a i n t   f o r   c o n t r o l - p l a n e   n o d e s .   I f   y o u   d o n ' t   w a n t   t o   t a i n t   y o u r   c o n t r o l - p l a n e   n o d e ,   s e t   t h i s   f i e l d   t o   a n   e m p t y   l i s t ,   i . e .   t a i n t s :   [ ]   i n   t h e   Y A M L   f i l e .   T h i s   f i e l d   i s   s o l e l y   u s e d   f o r   N o d e   r e g i s t r a t i o n .   k u b e l ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8425"
  },
  {
    "question": "What is Patches?",
    "answer": "A p p e a r s   i n :   I n i t C o n f i g u r a t i o n J o i n C o n f i g u r a t i o n U p g r a d e A p p l y C o n f i g u r a t i o n U p g r a d e N o d e C o n f i g u r a t i o n   I n i t C o n f i g u r a t i o n   J o i n C o n f i g u r a t i o n   U p g r a d e A p p l y C o n f i g u r a t i o n   U p g r a d e N o d e C o n f i g u r a t i o n   P a t c h e s   c o n t a i n s   o p t i o n s   r e l a t e d   t o   a p p l y i n g   p a t c h e s   t o   c o m p o n e n t s   d e p l o y e d   b y   k u b e a d m .   d i r e c t o r y   i s   a   p a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8426"
  },
  {
    "question": "What is Proxy?",
    "answer": "A p p e a r s   i n :   C l u s t e r C o n f i g u r a t i o n   P r o x y   d e f i n e s   t h e   p r o x y   a d d o n   t h a t   s h o u l d   b e   u s e d   i n   t h e   c l u s t e r .   d i s a b l e d   s p e c i f i e s   w h e t h e r   t o   d i s a b l e   t h i s   a d d o n   i n   t h e   c l u s t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8427"
  },
  {
    "question": "What is Timeouts?",
    "answer": "A p p e a r s   i n :   I n i t C o n f i g u r a t i o n J o i n C o n f i g u r a t i o n R e s e t C o n f i g u r a t i o n U p g r a d e C o n f i g u r a t i o n   I n i t C o n f i g u r a t i o n   J o i n C o n f i g u r a t i o n   R e s e t C o n f i g u r a t i o n   U p g r a d e C o n f i g u r a t i o n   T i m e o u t s   h o l d s   v a r i o u s   t i m e o u t s   t h a t   a p p l y   t o   k u b e a d m   c o m m a n d s .   c o n t r o l P l a n e C o m p o n e n t H e a l t h C h e c k   i s   t h e   a m o u n t   o f   t i m e   t o   w a i t   f o r   a   c o n t r o l   p l a n e   c o m p o n e n t ,   s u c h   a s   t h e   A P I   s e r v e r ,   t o   b e   h e a l t h y   d u r i n g   k u b e a d m   i n i t   a n d   k u b e a d m   j o i n .   D e f a u l t :   4 m   k u b e l e t H e a l t h C h e c k   i s   t h e   a m o u n t   o f   t i m e   t o   w a i t   f o r   t h e   k u b e l e t   t o   b e   h e a l t h y   d u r i n g   k u b e a d m   i n i t   a n d   k u b e a d m   j o i n .   D e f a u l t :   4 m   k u b e r n e t e s A P I C a l l   i s   t h e   a m o u n t   o f   t i m e   t o   w a i t   f o r   t h e   k u b e a d m   c l i e n t   t o   c o m p l e t e   a   r e q u e s t   t o   t h e   A P I   s e r v e r .   T h i s   a p p l i e s   t o   a l l   t y p e s   o f   m e t h o d s   ( G E T ,   P O S T ,   e t c ) .   D e f a u l t :   1 m   e t c d A P I C a l l   i s   t h e   a m o u n t   o f   t i m e   t o   w a i t   f o r   t h e   k u b e a d m   e t c d   c l i e n t   t o   c o m p l e t e   a   r e q u e s t   t o   t h e   e t c d   c l u s t e r .   D e f a u l t :   2 m   t l s B o o t s t r a p   i s   t h e   a m o u n t   o f   t i m e   t o   w a i t   f o r   t h e   k u b e l e t   t o   c o m p l e t e   T L S   b o o t s t r a p   f o r   a   j o i n i n g   n o d e .   D e f a u l t :   5 m   d i s c o v e r y   i s   t h e   a m o u n t   o f   t i m e   t o   w a i t   f o r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8428"
  },
  {
    "question": "What is UpgradeApplyConfiguration?",
    "answer": "A p p e a r s   i n :   U p g r a d e C o n f i g u r a t i o n   U p g r a d e A p p l y C o n f i g u r a t i o n   c o n t a i n s   a   l i s t   o f   c o n f i g u r a b l e   o p t i o n s   w h i c h   a r e   s p e c i f i c   t o   t h e   \" k u b e a d m   u p g r a d e   a p p l y \"   c o m m a n d .   k u b e r n e t e s V e r s i o n   i s   t h e   t a r g e t   v e r s i o n   o f   t h e   c o n t r o l   p l a n e .   a l l o w E x p e r i m e n t a l U p g r a d e s   i n s t r u c t s   k u b e a d m   t o   s h o w   u n s t a b l e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w s   u p g r a d i n g   t o   a n   a l p h a / b e t a / r e l e a s e   c a n d i d a t e   v e r s i o n   o f   K u b e r n e t e s .   D e f a u l t :   f a l s e   E n a b l e   a l l o w R C U p g r a d e s   w i l l   s h o w   r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w s   u p g r a d i n g   t o   a   r e l e a s e   c a n d i d a t e   v e r s i o n   o f   K u b e r n e t e s .   c e r t i f i c a t e R e n e w a l   i n s t r u c t s   k u b e a d m   t o   e x e c u t e   c e r t i f i c a t e   r e n e w a l   d u r i n g   u p g r a d e s .   D e f a u l t s   t o   t r u e .   d r y R u n   t e l l s   i f   t h e   d r y   r u n   m o d e   i s   e n a b l e d ,   d o n ' t   a p p l y   a n y   c h a n g e   i f   i t   i s   a n d   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   e t c d U p g r a d e   i n s t r u c t s   k u b e a d m   t o   e x e c u t e   e t c d   u p g r a d e   d u r i n g   u p g r a d e s .   D e f a u l t s   t o   t r u e .   f o r c e U p g r a d e   f l a g   i n s t r u c t s   k u b e a d m   t o   u p g r a d e   t h e   c l u s t e r   w i t h o u t   p r o m p t i n g   f o r   c o n f i r m a t i o n .   i g n o r e P r e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8429"
  },
  {
    "question": "What is UpgradeDiffConfiguration?",
    "answer": "A p p e a r s   i n :   U p g r a d e C o n f i g u r a t i o n   U p g r a d e D i f f C o n f i g u r a t i o n   c o n t a i n s   a   l i s t   o f   c o n f i g u r a b l e   o p t i o n s   w h i c h   a r e   s p e c i f i c   t o   t h e   k u b e a d m   u p g r a d e   d i f f   c o m m a n d .   k u b e r n e t e s V e r s i o n   i s   t h e   t a r g e t   v e r s i o n   o f   t h e   c o n t r o l   p l a n e .   d i f f C o n t e x t L i n e s   i s   t h e   n u m b e r   o f   l i n e s   o f   c o n t e x t   i n   t h e   d i f f .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8430"
  },
  {
    "question": "What is UpgradeNodeConfiguration?",
    "answer": "A p p e a r s   i n :   U p g r a d e C o n f i g u r a t i o n   U p g r a d e N o d e C o n f i g u r a t i o n   c o n t a i n s   a   l i s t   o f   c o n f i g u r a b l e   o p t i o n s   w h i c h   a r e   s p e c i f i c   t o   t h e   \" k u b e a d m   u p g r a d e   n o d e \"   c o m m a n d .   c e r t i f i c a t e R e n e w a l   i n s t r u c t s   k u b e a d m   t o   e x e c u t e   c e r t i f i c a t e   r e n e w a l   d u r i n g   u p g r a d e s .   D e f a u l t s   t o   t r u e .   d r y R u n   t e l l s   i f   t h e   d r y   r u n   m o d e   i s   e n a b l e d ,   d o n ' t   a p p l y   a n y   c h a n g e   i f   i t   i s   a n d   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   e t c d U p g r a d e   i n s t r u c t s   k u b e a d m   t o   e x e c u t e   e t c d   u p g r a d e   d u r i n g   u p g r a d e s .   D e f a u l t s   t o   t r u e .   i g n o r e P r e f l i g h t E r r o r s   p r o v i d e s   a   s l i c e   o f   p r e - f l i g h t   e r r o r s   t o   b e   i g n o r e d   d u r i n g   t h e   u p g r a d e   p r o c e s s ,   e . g .   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .   s k i p P h a s e s   i s   a   l i s t   o f   p h a s e s   t o   s k i p   d u r i n g   c o m m a n d   e x e c u t i o n .   T h e   l i s t   o f   p h a s e s   c a n   b e   o b t a i n e d   w i t h   t h e   k u b e a d m   u p g r a d e   n o d e   p h a s e   - - h e l p   c o m m a n d .   p a t c h e s   c o n t a i n s   o p t i o n s   r e l a t e d   t o   a p p l y i n g   p a t c h e s   t o   c o m p o n e n t s   d e p l o y e d   b y   k u b e a d m   d u r i n g   k u b e a d m   u p g r a d e .   i m a g e P u l l P o l i c y   s p e c i f i e s   t h e   p o l i c y   f o r   i m a g e   p u l l i n g   d u r i n g   k u b e a d m   u p g r a d e   n o d e   o p e r a t i o n s .   T h e   v ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8431"
  },
  {
    "question": "What is UpgradePlanConfiguration?",
    "answer": "A p p e a r s   i n :   U p g r a d e C o n f i g u r a t i o n   U p g r a d e P l a n C o n f i g u r a t i o n   c o n t a i n s   a   l i s t   o f   c o n f i g u r a b l e   o p t i o n s   w h i c h   a r e   s p e c i f i c   t o   t h e   \" k u b e a d m   u p g r a d e   p l a n \"   c o m m a n d .   k u b e r n e t e s V e r s i o n   i s   t h e   t a r g e t   v e r s i o n   o f   t h e   c o n t r o l   p l a n e .   a l l o w E x p e r i m e n t a l U p g r a d e s   i n s t r u c t s   k u b e a d m   t o   s h o w   u n s t a b l e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w s   u p g r a d i n g   t o   a n   a l p h a / b e t a / r e l e a s e   c a n d i d a t e   v e r s i o n   o f   K u b e r n e t e s .   D e f a u l t :   f a l s e   E n a b l e   a l l o w R C U p g r a d e s   w i l l   s h o w   r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w s   u p g r a d i n g   t o   a   r e l e a s e   c a n d i d a t e   v e r s i o n   o f   K u b e r n e t e s .   d r y R u n   t e l l s   i f   t h e   d r y   r u n   m o d e   i s   e n a b l e d ,   d o n ' t   a p p l y   a n y   c h a n g e   i f   i t   i s   a n d   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   i g n o r e P r e f l i g h t E r r o r s   p r o v i d e s   a   s l i c e   o f   p r e - f l i g h t   e r r o r s   t o   b e   i g n o r e d   d u r i n g   t h e   u p g r a d e   p r o c e s s ,   e . g .   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .   p r i n t C o n f i g   s p e c i f i e s   w h e t h e r   t h e   c o n f i g u r a t i o n   f i l e   t h a t   w i l l   b e   u s e d   i n   t h e   u p g r a d e   s h o u l d   b e   p r i n t e d   o r   n o t .   T h i s   p a g e   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/",
    "id": "k8s_00432_section_2_8432"
  },
  {
    "question": "What is Set up Konnectivity service?",
    "answer": "Set up Konnectivity serviceThe Konnectivity service provides a TCP level proxy for the control plane to cluster communication.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube.Configure the Konnectivity serviceThe following steps require an egress configuration, for example:admin/konnectivity/egress-selector-configuration.yaml apiVersion: apiserver.k8s.io/v1beta1 kind: EgressSelectorConfiguration egressSelections: # Since we want to control the egress traffic to the cluster, we use the # \"cluster\" as the name. Other supported values are \"etcd\", and \"controlplane\". - name: cluster connection: # This controls the protocol between the API Server and the Konnectivity # server. Supported values are \"GRPC\" and \"HTTPConnect\". There is no # end user visible difference between the two modes. You need to set the # Konnectivity server to work in the same mode. proxyProtocol: GRPC transport: # This controls what transport the API Server uses to communicate with the # Konnectivity server. UDS is recommended if the Konnectivity server # locates on the same machine as the API Server. You need to configure the # Konnectivity server to listen on the same UDS socket. # The other supported transport is \"tcp\". You will need to set up TLS # config to secure the TCP transport. uds: udsName: /etc/kubernetes/konnectivity-server/konnectivity-server.socket You need to configure the API Server to use the Konnectivity service and direct the network traffic to the cluster nodes:Make sure that Service Account Token Volume Projection feature enabled in your cluster. It is enabled by default since Kubernetes v1.20.Create an egress configuration file such as admin/konnectivity/egress-selector-configuration.yaml.Set the --egress-selector-config-file flag of the API Server to the path of your API Server egress configuration file.If you use UDS connection, add volumes config to the kube-apiserver:spec: containers: volumeMounts: - name: konnectivity-uds mountPath: /etc/kubernetes/konnectivity-server readOnly: false volumes: - name: konnectivity-uds hostPath: path: /etc/kubernetes/konnectivity-server type: DirectoryOrCreate Generate or obtain a certificate and kubeconfig for konnectivity-server. For example, you can use the OpenSSL command line tool to issue a X.509 certificate, using the cluster CA certificate /etc/kubernetes/pki/ca.crt from a control-plane host.openssl req -subj \"/CN=system:konnectivity-server\" -new -newkey rsa:2048 -nodes -out konnectivity.csr -keyout konnectivity.key openssl x509 -req -in konnectivity.csr -CA /etc/kubernetes/pki/ca.crt -CAkey /etc/kubernetes/pki/ca.key -CAcreateserial -out konnectivity.crt -days 375 -sha256 SERVER=$(kubectl config view -o jsonpath='{.clusters..serv",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/setup-konnectivity/",
    "id": "k8s_00433_qa_8433"
  },
  {
    "question": "How does Set up Konnectivity service work?",
    "answer": "Set up Konnectivity serviceThe Konnectivity service provides a TCP level proxy for the control plane to cluster communication.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube.Configure the Konnectivity serviceThe following steps require an egress configuration, for example:admin/konnectivity/egress-selector-configuration.yaml apiVersion: apiserver.k8s.io/v1beta1 kind: EgressSelectorConfiguration egressSelections: # Since we want to control the egress traffic to the cluster, we use the # \"cluster\" as the name. Other supported values are \"etcd\", and \"controlplane\". - name: cluster connection: # This controls the protocol between the API Server and the Konnectivity # server. Supported values are \"GRPC\" and \"HTTPConnect\". There is no # end user visible difference between the two modes. You need to set the # Konnectivity server to work in the same mode. proxyProtocol: GRPC transport: # This controls what transport the API Server uses to communicate with the # Konnectivity server. UDS is recommended if the Konnectivity server # locates on the same machine as the API Server. You need to configure the # Konnectivity server to listen on the same UDS socket. # The other supported transport is \"tcp\". You will need to set up TLS # config to secure the TCP transport. uds: udsName: /etc/kubernetes/konnectivity-server/konnectivity-server.socket You need to configure the API Server to use the Konnectivity service and direct the network traffic to the cluster nodes:Make sure that Service Account Token Volume Projection feature enabled in your cluster. It is enabled by default since Kubernetes v1.20.Create an egress configuration file such as admin/konnectivity/egress-selector-configuration.yaml.Set the --egress-selector-config-file flag of the API Server to the path of your API Server egress configuration file.If you use UDS connection, add volumes config to the kube-apiserver:spec: containers: volumeMounts: - name: konnectivity-uds mountPath: /etc/kubernetes/konnectivity-server readOnly: false volumes: - name: konnectivity-uds hostPath: path: /etc/kubernetes/konnectivity-server type: DirectoryOrCreate Generate or obtain a certificate and kubeconfig for konnectivity-server. For example, you can use the OpenSSL command line tool to issue a X.509 certificate, using the cluster CA certificate /etc/kubernetes/pki/ca.crt from a control-plane host.openssl req -subj \"/CN=system:konnectivity-server\" -new -newkey rsa:2048 -nodes -out konnectivity.csr -keyout konnectivity.key openssl x509 -req -in konnectivity.csr -CA /etc/kubernetes/pki/ca.crt -CAkey /etc/kubernetes/pki/ca.key -CAcreateserial -out konnectivity.crt -days 375 -sha256 SERVER=$(kubectl config view -o jsonpath='{.clusters..serv",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/setup-konnectivity/",
    "id": "k8s_00433_qa_8434"
  },
  {
    "question": "When would you use Set up Konnectivity service?",
    "answer": "Set up Konnectivity serviceThe Konnectivity service provides a TCP level proxy for the control plane to cluster communication.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube.Configure the Konnectivity serviceThe following steps require an egress configuration, for example:admin/konnectivity/egress-selector-configuration.yaml apiVersion: apiserver.k8s.io/v1beta1 kind: EgressSelectorConfiguration egressSelections: # Since we want to control the egress traffic to the cluster, we use the # \"cluster\" as the name. Other supported values are \"etcd\", and \"controlplane\". - name: cluster connection: # This controls the protocol between the API Server and the Konnectivity # server. Supported values are \"GRPC\" and \"HTTPConnect\". There is no # end user visible difference between the two modes. You need to set the # Konnectivity server to work in the same mode. proxyProtocol: GRPC transport: # This controls what transport the API Server uses to communicate with the # Konnectivity server. UDS is recommended if the Konnectivity server # locates on the same machine as the API Server. You need to configure the # Konnectivity server to listen on the same UDS socket. # The other supported transport is \"tcp\". You will need to set up TLS # config to secure the TCP transport. uds: udsName: /etc/kubernetes/konnectivity-server/konnectivity-server.socket You need to configure the API Server to use the Konnectivity service and direct the network traffic to the cluster nodes:Make sure that Service Account Token Volume Projection feature enabled in your cluster. It is enabled by default since Kubernetes v1.20.Create an egress configuration file such as admin/konnectivity/egress-selector-configuration.yaml.Set the --egress-selector-config-file flag of the API Server to the path of your API Server egress configuration file.If you use UDS connection, add volumes config to the kube-apiserver:spec: containers: volumeMounts: - name: konnectivity-uds mountPath: /etc/kubernetes/konnectivity-server readOnly: false volumes: - name: konnectivity-uds hostPath: path: /etc/kubernetes/konnectivity-server type: DirectoryOrCreate Generate or obtain a certificate and kubeconfig for konnectivity-server. For example, you can use the OpenSSL command line tool to issue a X.509 certificate, using the cluster CA certificate /etc/kubernetes/pki/ca.crt from a control-plane host.openssl req -subj \"/CN=system:konnectivity-server\" -new -newkey rsa:2048 -nodes -out konnectivity.csr -keyout konnectivity.key openssl x509 -req -in konnectivity.csr -CA /etc/kubernetes/pki/ca.crt -CAkey /etc/kubernetes/pki/ca.key -CAcreateserial -out konnectivity.crt -days 375 -sha256 SERVER=$(kubectl config view -o jsonpath='{.clusters..serv",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/setup-konnectivity/",
    "id": "k8s_00433_qa_8435"
  },
  {
    "question": "What are the benefits of Set up Konnectivity service?",
    "answer": "Set up Konnectivity serviceThe Konnectivity service provides a TCP level proxy for the control plane to cluster communication.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube.Configure the Konnectivity serviceThe following steps require an egress configuration, for example:admin/konnectivity/egress-selector-configuration.yaml apiVersion: apiserver.k8s.io/v1beta1 kind: EgressSelectorConfiguration egressSelections: # Since we want to control the egress traffic to the cluster, we use the # \"cluster\" as the name. Other supported values are \"etcd\", and \"controlplane\". - name: cluster connection: # This controls the protocol between the API Server and the Konnectivity # server. Supported values are \"GRPC\" and \"HTTPConnect\". There is no # end user visible difference between the two modes. You need to set the # Konnectivity server to work in the same mode. proxyProtocol: GRPC transport: # This controls what transport the API Server uses to communicate with the # Konnectivity server. UDS is recommended if the Konnectivity server # locates on the same machine as the API Server. You need to configure the # Konnectivity server to listen on the same UDS socket. # The other supported transport is \"tcp\". You will need to set up TLS # config to secure the TCP transport. uds: udsName: /etc/kubernetes/konnectivity-server/konnectivity-server.socket You need to configure the API Server to use the Konnectivity service and direct the network traffic to the cluster nodes:Make sure that Service Account Token Volume Projection feature enabled in your cluster. It is enabled by default since Kubernetes v1.20.Create an egress configuration file such as admin/konnectivity/egress-selector-configuration.yaml.Set the --egress-selector-config-file flag of the API Server to the path of your API Server egress configuration file.If you use UDS connection, add volumes config to the kube-apiserver:spec: containers: volumeMounts: - name: konnectivity-uds mountPath: /etc/kubernetes/konnectivity-server readOnly: false volumes: - name: konnectivity-uds hostPath: path: /etc/kubernetes/konnectivity-server type: DirectoryOrCreate Generate or obtain a certificate and kubeconfig for konnectivity-server. For example, you can use the OpenSSL command line tool to issue a X.509 certificate, using the cluster CA certificate /etc/kubernetes/pki/ca.crt from a control-plane host.openssl req -subj \"/CN=system:konnectivity-server\" -new -newkey rsa:2048 -nodes -out konnectivity.csr -keyout konnectivity.key openssl x509 -req -in konnectivity.csr -CA /etc/kubernetes/pki/ca.crt -CAkey /etc/kubernetes/pki/ca.key -CAcreateserial -out konnectivity.crt -days 375 -sha256 SERVER=$(kubectl config view -o jsonpath='{.clusters..serv",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/setup-konnectivity/",
    "id": "k8s_00433_qa_8436"
  },
  {
    "question": "What is Set up Konnectivity service?",
    "answer": "T h e   K o n n e c t i v i t y   s e r v i c e   p r o v i d e s   a   T C P   l e v e l   p r o x y   f o r   t h e   c o n t r o l   p l a n e   t o   c l u s t e r   c o m m u n i c a t i o n .",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/setup-konnectivity/",
    "id": "k8s_00433_section_1_8437"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e .",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/setup-konnectivity/",
    "id": "k8s_00433_section_2_8438"
  },
  {
    "question": "What is Configure the Konnectivity service?",
    "answer": "T h e   f o l l o w i n g   s t e p s   r e q u i r e   a n   e g r e s s   c o n f i g u r a t i o n ,   f o r   e x a m p l e :   a p i V e r s i o n :   a p i s e r v e r . k 8 s . i o / v 1 b e t a 1   k i n d :   E g r e s s S e l e c t o r C o n f i g u r a t i o n   e g r e s s S e l e c t i o n s :   #   S i n c e   w e   w a n t   t o   c o n t r o l   t h e   e g r e s s   t r a f f i c   t o   t h e   c l u s t e r ,   w e   u s e   t h e   #   \" c l u s t e r \"   a s   t h e   n a m e .   O t h e r   s u p p o r t e d   v a l u e s   a r e   \" e t c d \" ,   a n d   \" c o n t r o l p l a n e \" .   -   n a m e :   c l u s t e r   c o n n e c t i o n :   #   T h i s   c o n t r o l s   t h e   p r o t o c o l   b e t w e e n   t h e   A P I   S e r v e r   a n d   t h e   K o n n e c t i v i t y   #   s e r v e r .   S u p p o r t e d   v a l u e s   a r e   \" G R P C \"   a n d   \" H T T P C o n n e c t \" .   T h e r e   i s   n o   #   e n d   u s e r   v i s i b l e   d i f f e r e n c e   b e t w e e n   t h e   t w o   m o d e s .   Y o u   n e e d   t o   s e t   t h e   #   K o n n e c t i v i t y   s e r v e r   t o   w o r k   i n   t h e   s a m e   m o d e .   p r o x y P r o t o c o l :   G R P C   t r a n s p o r t :   #   T h i s   c o n t r o l s   w h a t   t r a n s p o r t   t h e   A P I   S e r v e r   u s e s   t o   c o m m u n i c a t e   w i t h   t h e   #   K o n n e c t i v i t y   s e r v e r .   U D S   i s   r e c o m m e n d e d   i f   t h e   K o n n e c t i v i t y   s e r v e r   #   l o c a t e s   o n   t h e   s a m e   m a c h i n e   a s   t h e   A P I   S e r v e r .   Y o u   n e e d   t o   c o n f i g u r e   t h e   #   K o n n e c t i v i t y   s e r v e r   t o   l i s t e n   o n   t h e   s a m e   U D S   s o c k e t .   #   T h e   o t h e r   s u p p o r t e d   t r a n s p o r t   i s   \" t c p \" .   Y o u   w i l l   n e e d   t o   s e t   u p   T L S   #   c o n f i g   t o   s e c u r e   t h e   T C ",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/setup-konnectivity/",
    "id": "k8s_00433_section_2_8439"
  },
  {
    "question": "What is kubectl rollout history?",
    "answer": "kubectl rollout historySynopsisView previous rollout revisions and configurations.kubectl rollout history (TYPE NAME | TYPE/NAME) [flags] Examples # View the rollout history of a deployment kubectl rollout history deployment/abc # View the details of daemonset revision 3 kubectl rollout history daemonset/abc --revision=3 Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for history-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--revision intSee the details, including podTemplate of the revision specified-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for bas",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_history/",
    "id": "k8s_00434_qa_8440"
  },
  {
    "question": "How does kubectl rollout history work?",
    "answer": "kubectl rollout historySynopsisView previous rollout revisions and configurations.kubectl rollout history (TYPE NAME | TYPE/NAME) [flags] Examples # View the rollout history of a deployment kubectl rollout history deployment/abc # View the details of daemonset revision 3 kubectl rollout history daemonset/abc --revision=3 Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for history-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--revision intSee the details, including podTemplate of the revision specified-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for bas",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_history/",
    "id": "k8s_00434_qa_8441"
  },
  {
    "question": "When would you use kubectl rollout history?",
    "answer": "kubectl rollout historySynopsisView previous rollout revisions and configurations.kubectl rollout history (TYPE NAME | TYPE/NAME) [flags] Examples # View the rollout history of a deployment kubectl rollout history deployment/abc # View the details of daemonset revision 3 kubectl rollout history daemonset/abc --revision=3 Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for history-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--revision intSee the details, including podTemplate of the revision specified-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for bas",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_history/",
    "id": "k8s_00434_qa_8442"
  },
  {
    "question": "What are the benefits of kubectl rollout history?",
    "answer": "kubectl rollout historySynopsisView previous rollout revisions and configurations.kubectl rollout history (TYPE NAME | TYPE/NAME) [flags] Examples # View the rollout history of a deployment kubectl rollout history deployment/abc # View the details of daemonset revision 3 kubectl rollout history daemonset/abc --revision=3 Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for history-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--revision intSee the details, including podTemplate of the revision specified-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for bas",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_history/",
    "id": "k8s_00434_qa_8443"
  },
  {
    "question": "What is Synopsis?",
    "answer": "V i e w   p r e v i o u s   r o l l o u t   r e v i s i o n s   a n d   c o n f i g u r a t i o n s .   k u b e c t l   r o l l o u t   h i s t o r y   ( T Y P E   N A M E   |   T Y P E / N A M E )   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_history/",
    "id": "k8s_00434_section_2_8444"
  },
  {
    "question": "What is Examples?",
    "answer": "#   V i e w   t h e   r o l l o u t   h i s t o r y   o f   a   d e p l o y m e n t   k u b e c t l   r o l l o u t   h i s t o r y   d e p l o y m e n t / a b c   #   V i e w   t h e   d e t a i l s   o f   d a e m o n s e t   r e v i s i o n   3   k u b e c t l   r o l l o u t   h i s t o r y   d a e m o n s e t / a b c   - - r e v i s i o n = 3",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_history/",
    "id": "k8s_00434_section_2_8445"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   h i s t o r y   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   S e e   t h e   d e t a i l s ,   i n c l u d i n g   p o d T e m p l a t e   o f   t h e   r e v i s i o n   s p e c i f i e d   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_history/",
    "id": "k8s_00434_section_2_8446"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_history/",
    "id": "k8s_00434_section_2_8447"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   r o l l o u t   -   M a n a g e   t h e   r o l l o u t   o f   a   r e s o u r c e   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_history/",
    "id": "k8s_00434_section_2_8448"
  },
  {
    "question": "What is Generating Reference Pages for Kubernetes Components and Tools?",
    "answer": "Generating Reference Pages for Kubernetes Components and ToolsThis page shows how to build the Kubernetes component and tool reference pages.Before you beginStart with the Prerequisites section in the Reference Documentation Quickstart guide.Follow the Reference Documentation Quickstart to generate the Kubernetes component and tool reference pages.What's nextGenerating Reference Documentation QuickstartGenerating Reference Documentation for kubectl CommandsGenerating Reference Documentation for the Kubernetes APIContributing to the Upstream Kubernetes Project for Documentation",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubernetes-components/",
    "id": "k8s_00435_qa_8449"
  },
  {
    "question": "How does Generating Reference Pages for Kubernetes Components and Tools work?",
    "answer": "Generating Reference Pages for Kubernetes Components and ToolsThis page shows how to build the Kubernetes component and tool reference pages.Before you beginStart with the Prerequisites section in the Reference Documentation Quickstart guide.Follow the Reference Documentation Quickstart to generate the Kubernetes component and tool reference pages.What's nextGenerating Reference Documentation QuickstartGenerating Reference Documentation for kubectl CommandsGenerating Reference Documentation for the Kubernetes APIContributing to the Upstream Kubernetes Project for Documentation",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubernetes-components/",
    "id": "k8s_00435_qa_8450"
  },
  {
    "question": "When would you use Generating Reference Pages for Kubernetes Components and Tools?",
    "answer": "Generating Reference Pages for Kubernetes Components and ToolsThis page shows how to build the Kubernetes component and tool reference pages.Before you beginStart with the Prerequisites section in the Reference Documentation Quickstart guide.Follow the Reference Documentation Quickstart to generate the Kubernetes component and tool reference pages.What's nextGenerating Reference Documentation QuickstartGenerating Reference Documentation for kubectl CommandsGenerating Reference Documentation for the Kubernetes APIContributing to the Upstream Kubernetes Project for Documentation",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubernetes-components/",
    "id": "k8s_00435_qa_8451"
  },
  {
    "question": "What are the benefits of Generating Reference Pages for Kubernetes Components and Tools?",
    "answer": "Generating Reference Pages for Kubernetes Components and ToolsThis page shows how to build the Kubernetes component and tool reference pages.Before you beginStart with the Prerequisites section in the Reference Documentation Quickstart guide.Follow the Reference Documentation Quickstart to generate the Kubernetes component and tool reference pages.What's nextGenerating Reference Documentation QuickstartGenerating Reference Documentation for kubectl CommandsGenerating Reference Documentation for the Kubernetes APIContributing to the Upstream Kubernetes Project for Documentation",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubernetes-components/",
    "id": "k8s_00435_qa_8452"
  },
  {
    "question": "What is Generating Reference Pages for Kubernetes Components and Tools?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   b u i l d   t h e   K u b e r n e t e s   c o m p o n e n t   a n d   t o o l   r e f e r e n c e   p a g e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubernetes-components/",
    "id": "k8s_00435_section_1_8453"
  },
  {
    "question": "What is Before you begin?",
    "answer": "S t a r t   w i t h   t h e   P r e r e q u i s i t e s   s e c t i o n   i n   t h e   R e f e r e n c e   D o c u m e n t a t i o n   Q u i c k s t a r t   g u i d e .   F o l l o w   t h e   R e f e r e n c e   D o c u m e n t a t i o n   Q u i c k s t a r t   t o   g e n e r a t e   t h e   K u b e r n e t e s   c o m p o n e n t   a n d   t o o l   r e f e r e n c e   p a g e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubernetes-components/",
    "id": "k8s_00435_section_2_8454"
  },
  {
    "question": "What is What's next?",
    "answer": "G e n e r a t i n g   R e f e r e n c e   D o c u m e n t a t i o n   Q u i c k s t a r t G e n e r a t i n g   R e f e r e n c e   D o c u m e n t a t i o n   f o r   k u b e c t l   C o m m a n d s G e n e r a t i n g   R e f e r e n c e   D o c u m e n t a t i o n   f o r   t h e   K u b e r n e t e s   A P I C o n t r i b u t i n g   t o   t h e   U p s t r e a m   K u b e r n e t e s   P r o j e c t   f o r   D o c u m e n t a t i o n",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/kubernetes-components/",
    "id": "k8s_00435_section_2_8455"
  },
  {
    "question": "What is Limit Storage Consumption?",
    "answer": "Limit Storage ConsumptionThis example demonstrates how to limit the amount of storage consumed in a namespace.The following resources are used in the demonstration: ResourceQuota, LimitRange, and PersistentVolumeClaim.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Scenario: Limiting Storage ConsumptionThe cluster-admin is operating a cluster on behalf of a user population and the admin wants to control how much storage a single namespace can consume in order to control cost.The admin would like to limit:The number of persistent volume claims in a namespaceThe amount of storage each claim can requestThe amount of cumulative storage the namespace can haveLimitRange to limit requests for storageAdding a LimitRange to a namespace enforces storage request sizes to a minimum and maximum. Storage is requested via PersistentVolumeClaim. The admission controller that enforces limit ranges will reject any PVC that is above or below the values set by the admin.In this example, a PVC requesting 10Gi of storage would be rejected because it exceeds the 2Gi max.apiVersion: v1 kind: LimitRange metadata: name: storagelimits spec: limits: - type: PersistentVolumeClaim max: storage: 2Gi min: storage: 1Gi Minimum storage requests are used when the underlying storage provider requires certain minimums. For example, AWS EBS volumes have a 1Gi minimum requirement.ResourceQuota to limit PVC count and cumulative storage capacityAdmins can limit the number of PVCs in a namespace as well as the cumulative capacity of those PVCs. New PVCs that exceed either maximum value will be rejected.In this example, a 6th PVC in the namespace would be rejected because it exceeds the maximum count of 5. Alternatively, a 5Gi maximum quota when combined with the 2Gi max limit above, cannot have 3 PVCs where each has 2Gi. That would be 6Gi requested for a namespace capped at 5Gi.apiVersion: v1 kind: ResourceQuota metadata: name: storagequota spec: hard: persistentvolumeclaims: \"5\" requests.storage: \"5Gi\" SummaryA limit range can put a ceiling on how much storage is requested while a resource quota can effectively cap the storage consumed by a namespace through claim counts and cumulative storage capacity. The allows a cluster-admin to plan their cluster's storage budget without risk of any one project going over their allotment.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/limit-storage-consumption/",
    "id": "k8s_00436_qa_8456"
  },
  {
    "question": "How does Limit Storage Consumption work?",
    "answer": "Limit Storage ConsumptionThis example demonstrates how to limit the amount of storage consumed in a namespace.The following resources are used in the demonstration: ResourceQuota, LimitRange, and PersistentVolumeClaim.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Scenario: Limiting Storage ConsumptionThe cluster-admin is operating a cluster on behalf of a user population and the admin wants to control how much storage a single namespace can consume in order to control cost.The admin would like to limit:The number of persistent volume claims in a namespaceThe amount of storage each claim can requestThe amount of cumulative storage the namespace can haveLimitRange to limit requests for storageAdding a LimitRange to a namespace enforces storage request sizes to a minimum and maximum. Storage is requested via PersistentVolumeClaim. The admission controller that enforces limit ranges will reject any PVC that is above or below the values set by the admin.In this example, a PVC requesting 10Gi of storage would be rejected because it exceeds the 2Gi max.apiVersion: v1 kind: LimitRange metadata: name: storagelimits spec: limits: - type: PersistentVolumeClaim max: storage: 2Gi min: storage: 1Gi Minimum storage requests are used when the underlying storage provider requires certain minimums. For example, AWS EBS volumes have a 1Gi minimum requirement.ResourceQuota to limit PVC count and cumulative storage capacityAdmins can limit the number of PVCs in a namespace as well as the cumulative capacity of those PVCs. New PVCs that exceed either maximum value will be rejected.In this example, a 6th PVC in the namespace would be rejected because it exceeds the maximum count of 5. Alternatively, a 5Gi maximum quota when combined with the 2Gi max limit above, cannot have 3 PVCs where each has 2Gi. That would be 6Gi requested for a namespace capped at 5Gi.apiVersion: v1 kind: ResourceQuota metadata: name: storagequota spec: hard: persistentvolumeclaims: \"5\" requests.storage: \"5Gi\" SummaryA limit range can put a ceiling on how much storage is requested while a resource quota can effectively cap the storage consumed by a namespace through claim counts and cumulative storage capacity. The allows a cluster-admin to plan their cluster's storage budget without risk of any one project going over their allotment.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/limit-storage-consumption/",
    "id": "k8s_00436_qa_8457"
  },
  {
    "question": "When would you use Limit Storage Consumption?",
    "answer": "Limit Storage ConsumptionThis example demonstrates how to limit the amount of storage consumed in a namespace.The following resources are used in the demonstration: ResourceQuota, LimitRange, and PersistentVolumeClaim.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Scenario: Limiting Storage ConsumptionThe cluster-admin is operating a cluster on behalf of a user population and the admin wants to control how much storage a single namespace can consume in order to control cost.The admin would like to limit:The number of persistent volume claims in a namespaceThe amount of storage each claim can requestThe amount of cumulative storage the namespace can haveLimitRange to limit requests for storageAdding a LimitRange to a namespace enforces storage request sizes to a minimum and maximum. Storage is requested via PersistentVolumeClaim. The admission controller that enforces limit ranges will reject any PVC that is above or below the values set by the admin.In this example, a PVC requesting 10Gi of storage would be rejected because it exceeds the 2Gi max.apiVersion: v1 kind: LimitRange metadata: name: storagelimits spec: limits: - type: PersistentVolumeClaim max: storage: 2Gi min: storage: 1Gi Minimum storage requests are used when the underlying storage provider requires certain minimums. For example, AWS EBS volumes have a 1Gi minimum requirement.ResourceQuota to limit PVC count and cumulative storage capacityAdmins can limit the number of PVCs in a namespace as well as the cumulative capacity of those PVCs. New PVCs that exceed either maximum value will be rejected.In this example, a 6th PVC in the namespace would be rejected because it exceeds the maximum count of 5. Alternatively, a 5Gi maximum quota when combined with the 2Gi max limit above, cannot have 3 PVCs where each has 2Gi. That would be 6Gi requested for a namespace capped at 5Gi.apiVersion: v1 kind: ResourceQuota metadata: name: storagequota spec: hard: persistentvolumeclaims: \"5\" requests.storage: \"5Gi\" SummaryA limit range can put a ceiling on how much storage is requested while a resource quota can effectively cap the storage consumed by a namespace through claim counts and cumulative storage capacity. The allows a cluster-admin to plan their cluster's storage budget without risk of any one project going over their allotment.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/limit-storage-consumption/",
    "id": "k8s_00436_qa_8458"
  },
  {
    "question": "What are the benefits of Limit Storage Consumption?",
    "answer": "Limit Storage ConsumptionThis example demonstrates how to limit the amount of storage consumed in a namespace.The following resources are used in the demonstration: ResourceQuota, LimitRange, and PersistentVolumeClaim.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Scenario: Limiting Storage ConsumptionThe cluster-admin is operating a cluster on behalf of a user population and the admin wants to control how much storage a single namespace can consume in order to control cost.The admin would like to limit:The number of persistent volume claims in a namespaceThe amount of storage each claim can requestThe amount of cumulative storage the namespace can haveLimitRange to limit requests for storageAdding a LimitRange to a namespace enforces storage request sizes to a minimum and maximum. Storage is requested via PersistentVolumeClaim. The admission controller that enforces limit ranges will reject any PVC that is above or below the values set by the admin.In this example, a PVC requesting 10Gi of storage would be rejected because it exceeds the 2Gi max.apiVersion: v1 kind: LimitRange metadata: name: storagelimits spec: limits: - type: PersistentVolumeClaim max: storage: 2Gi min: storage: 1Gi Minimum storage requests are used when the underlying storage provider requires certain minimums. For example, AWS EBS volumes have a 1Gi minimum requirement.ResourceQuota to limit PVC count and cumulative storage capacityAdmins can limit the number of PVCs in a namespace as well as the cumulative capacity of those PVCs. New PVCs that exceed either maximum value will be rejected.In this example, a 6th PVC in the namespace would be rejected because it exceeds the maximum count of 5. Alternatively, a 5Gi maximum quota when combined with the 2Gi max limit above, cannot have 3 PVCs where each has 2Gi. That would be 6Gi requested for a namespace capped at 5Gi.apiVersion: v1 kind: ResourceQuota metadata: name: storagequota spec: hard: persistentvolumeclaims: \"5\" requests.storage: \"5Gi\" SummaryA limit range can put a ceiling on how much storage is requested while a resource quota can effectively cap the storage consumed by a namespace through claim counts and cumulative storage capacity. The allows a cluster-admin to plan their cluster's storage budget without risk of any one project going over their allotment.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/limit-storage-consumption/",
    "id": "k8s_00436_qa_8459"
  },
  {
    "question": "What is Limit Storage Consumption?",
    "answer": "T h i s   e x a m p l e   d e m o n s t r a t e s   h o w   t o   l i m i t   t h e   a m o u n t   o f   s t o r a g e   c o n s u m e d   i n   a   n a m e s p a c e .   T h e   f o l l o w i n g   r e s o u r c e s   a r e   u s e d   i n   t h e   d e m o n s t r a t i o n :   R e s o u r c e Q u o t a ,   L i m i t R a n g e ,   a n d   P e r s i s t e n t V o l u m e C l a i m .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/limit-storage-consumption/",
    "id": "k8s_00436_section_1_8460"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/limit-storage-consumption/",
    "id": "k8s_00436_section_2_8461"
  },
  {
    "question": "What is Scenario: Limiting Storage Consumption?",
    "answer": "T h e   c l u s t e r - a d m i n   i s   o p e r a t i n g   a   c l u s t e r   o n   b e h a l f   o f   a   u s e r   p o p u l a t i o n   a n d   t h e   a d m i n   w a n t s   t o   c o n t r o l   h o w   m u c h   s t o r a g e   a   s i n g l e   n a m e s p a c e   c a n   c o n s u m e   i n   o r d e r   t o   c o n t r o l   c o s t .   T h e   a d m i n   w o u l d   l i k e   t o   l i m i t :   T h e   n u m b e r   o f   p e r s i s t e n t   v o l u m e   c l a i m s   i n   a   n a m e s p a c e T h e   a m o u n t   o f   s t o r a g e   e a c h   c l a i m   c a n   r e q u e s t T h e   a m o u n t   o f   c u m u l a t i v e   s t o r a g e   t h e   n a m e s p a c e   c a n   h a v e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/limit-storage-consumption/",
    "id": "k8s_00436_section_2_8462"
  },
  {
    "question": "What is LimitRange to limit requests for storage?",
    "answer": "A d d i n g   a   L i m i t R a n g e   t o   a   n a m e s p a c e   e n f o r c e s   s t o r a g e   r e q u e s t   s i z e s   t o   a   m i n i m u m   a n d   m a x i m u m .   S t o r a g e   i s   r e q u e s t e d   v i a   P e r s i s t e n t V o l u m e C l a i m .   T h e   a d m i s s i o n   c o n t r o l l e r   t h a t   e n f o r c e s   l i m i t   r a n g e s   w i l l   r e j e c t   a n y   P V C   t h a t   i s   a b o v e   o r   b e l o w   t h e   v a l u e s   s e t   b y   t h e   a d m i n .   I n   t h i s   e x a m p l e ,   a   P V C   r e q u e s t i n g   1 0 G i   o f   s t o r a g e   w o u l d   b e   r e j e c t e d   b e c a u s e   i t   e x c e e d s   t h e   2 G i   m a x .   a p i V e r s i o n :   v 1   k i n d :   L i m i t R a n g e   m e t a d a t a :   n a m e :   s t o r a g e l i m i t s   s p e c :   l i m i t s :   -   t y p e :   P e r s i s t e n t V o l u m e C l a i m   m a x :   s t o r a g e :   2 G i   m i n :   s t o r a g e :   1 G i   M i n i m u m   s t o r a g e   r e q u e s t s   a r e   u s e d   w h e n   t h e   u n d e r l y i n g   s t o r a g e   p r o v i d e r   r e q u i r e s   c e r t a i n   m i n i m u m s .   F o r   e x a m p l e ,   A W S   E B S   v o l u m e s   h a v e   a   1 G i   m i n i m u m   r e q u i r e m e n t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/limit-storage-consumption/",
    "id": "k8s_00436_section_2_8463"
  },
  {
    "question": "What is ResourceQuota to limit PVC count and cumulative storage capacity?",
    "answer": "A d m i n s   c a n   l i m i t   t h e   n u m b e r   o f   P V C s   i n   a   n a m e s p a c e   a s   w e l l   a s   t h e   c u m u l a t i v e   c a p a c i t y   o f   t h o s e   P V C s .   N e w   P V C s   t h a t   e x c e e d   e i t h e r   m a x i m u m   v a l u e   w i l l   b e   r e j e c t e d .   I n   t h i s   e x a m p l e ,   a   6 t h   P V C   i n   t h e   n a m e s p a c e   w o u l d   b e   r e j e c t e d   b e c a u s e   i t   e x c e e d s   t h e   m a x i m u m   c o u n t   o f   5 .   A l t e r n a t i v e l y ,   a   5 G i   m a x i m u m   q u o t a   w h e n   c o m b i n e d   w i t h   t h e   2 G i   m a x   l i m i t   a b o v e ,   c a n n o t   h a v e   3   P V C s   w h e r e   e a c h   h a s   2 G i .   T h a t   w o u l d   b e   6 G i   r e q u e s t e d   f o r   a   n a m e s p a c e   c a p p e d   a t   5 G i .   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a   m e t a d a t a :   n a m e :   s t o r a g e q u o t a   s p e c :   h a r d :   p e r s i s t e n t v o l u m e c l a i m s :   \" 5 \"   r e q u e s t s . s t o r a g e :   \" 5 G i \"",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/limit-storage-consumption/",
    "id": "k8s_00436_section_2_8464"
  },
  {
    "question": "What is Summary?",
    "answer": "A   l i m i t   r a n g e   c a n   p u t   a   c e i l i n g   o n   h o w   m u c h   s t o r a g e   i s   r e q u e s t e d   w h i l e   a   r e s o u r c e   q u o t a   c a n   e f f e c t i v e l y   c a p   t h e   s t o r a g e   c o n s u m e d   b y   a   n a m e s p a c e   t h r o u g h   c l a i m   c o u n t s   a n d   c u m u l a t i v e   s t o r a g e   c a p a c i t y .   T h e   a l l o w s   a   c l u s t e r - a d m i n   t o   p l a n   t h e i r   c l u s t e r ' s   s t o r a g e   b u d g e t   w i t h o u t   r i s k   o f   a n y   o n e   p r o j e c t   g o i n g   o v e r   t h e i r   a l l o t m e n t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/limit-storage-consumption/",
    "id": "k8s_00436_section_2_8465"
  },
  {
    "question": "What is kubectl events?",
    "answer": "kubectl eventsSynopsisDisplay events.Prints a table of the most important information about events. You can request events for a namespace, for all namespace, or filtered to only those pertaining to a specified resource.kubectl events [(-o|--output=)json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file] [--for TYPE/NAME] [--watch] [--types=Normal,Warning] Examples # List recent events in the default namespace kubectl events # List recent events in all namespaces kubectl events --all-namespaces # List recent events for the specified pod, then wait for more events and list them as they arrive kubectl events --for pod/web-pod-13je7 --watch # List recent events in YAML format kubectl events -oyaml # List recent only events of type 'Warning' or 'Normal' kubectl events --types=Warning,Normal Options-A, --all-namespacesIf present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--chunk-size int Default: 500Return large lists in chunks rather than all at once. Pass 0 to disable. This flag is beta and may change in the future.--for stringFilter events to only those pertaining to the specified resource.-h, --helphelp for events--no-headersWhen using the default output format, don't print headers.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--types stringsOutput only events of given types.-w, --watchAfter listing the requested events, watch for more events.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS con",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_events/",
    "id": "k8s_00437_qa_8466"
  },
  {
    "question": "How does kubectl events work?",
    "answer": "kubectl eventsSynopsisDisplay events.Prints a table of the most important information about events. You can request events for a namespace, for all namespace, or filtered to only those pertaining to a specified resource.kubectl events [(-o|--output=)json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file] [--for TYPE/NAME] [--watch] [--types=Normal,Warning] Examples # List recent events in the default namespace kubectl events # List recent events in all namespaces kubectl events --all-namespaces # List recent events for the specified pod, then wait for more events and list them as they arrive kubectl events --for pod/web-pod-13je7 --watch # List recent events in YAML format kubectl events -oyaml # List recent only events of type 'Warning' or 'Normal' kubectl events --types=Warning,Normal Options-A, --all-namespacesIf present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--chunk-size int Default: 500Return large lists in chunks rather than all at once. Pass 0 to disable. This flag is beta and may change in the future.--for stringFilter events to only those pertaining to the specified resource.-h, --helphelp for events--no-headersWhen using the default output format, don't print headers.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--types stringsOutput only events of given types.-w, --watchAfter listing the requested events, watch for more events.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS con",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_events/",
    "id": "k8s_00437_qa_8467"
  },
  {
    "question": "When would you use kubectl events?",
    "answer": "kubectl eventsSynopsisDisplay events.Prints a table of the most important information about events. You can request events for a namespace, for all namespace, or filtered to only those pertaining to a specified resource.kubectl events [(-o|--output=)json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file] [--for TYPE/NAME] [--watch] [--types=Normal,Warning] Examples # List recent events in the default namespace kubectl events # List recent events in all namespaces kubectl events --all-namespaces # List recent events for the specified pod, then wait for more events and list them as they arrive kubectl events --for pod/web-pod-13je7 --watch # List recent events in YAML format kubectl events -oyaml # List recent only events of type 'Warning' or 'Normal' kubectl events --types=Warning,Normal Options-A, --all-namespacesIf present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--chunk-size int Default: 500Return large lists in chunks rather than all at once. Pass 0 to disable. This flag is beta and may change in the future.--for stringFilter events to only those pertaining to the specified resource.-h, --helphelp for events--no-headersWhen using the default output format, don't print headers.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--types stringsOutput only events of given types.-w, --watchAfter listing the requested events, watch for more events.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS con",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_events/",
    "id": "k8s_00437_qa_8468"
  },
  {
    "question": "What are the benefits of kubectl events?",
    "answer": "kubectl eventsSynopsisDisplay events.Prints a table of the most important information about events. You can request events for a namespace, for all namespace, or filtered to only those pertaining to a specified resource.kubectl events [(-o|--output=)json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file] [--for TYPE/NAME] [--watch] [--types=Normal,Warning] Examples # List recent events in the default namespace kubectl events # List recent events in all namespaces kubectl events --all-namespaces # List recent events for the specified pod, then wait for more events and list them as they arrive kubectl events --for pod/web-pod-13je7 --watch # List recent events in YAML format kubectl events -oyaml # List recent only events of type 'Warning' or 'Normal' kubectl events --types=Warning,Normal Options-A, --all-namespacesIf present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--chunk-size int Default: 500Return large lists in chunks rather than all at once. Pass 0 to disable. This flag is beta and may change in the future.--for stringFilter events to only those pertaining to the specified resource.-h, --helphelp for events--no-headersWhen using the default output format, don't print headers.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--types stringsOutput only events of given types.-w, --watchAfter listing the requested events, watch for more events.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS con",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_events/",
    "id": "k8s_00437_qa_8469"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   e v e n t s .   P r i n t s   a   t a b l e   o f   t h e   m o s t   i m p o r t a n t   i n f o r m a t i o n   a b o u t   e v e n t s .   Y o u   c a n   r e q u e s t   e v e n t s   f o r   a   n a m e s p a c e ,   f o r   a l l   n a m e s p a c e ,   o r   f i l t e r e d   t o   o n l y   t h o s e   p e r t a i n i n g   t o   a   s p e c i f i e d   r e s o u r c e .   k u b e c t l   e v e n t s   [ ( - o | - - o u t p u t = ) j s o n | y a m l | n a m e | g o - t e m p l a t e | g o - t e m p l a t e - f i l e | t e m p l a t e | t e m p l a t e f i l e | j s o n p a t h | j s o n p a t h - a s - j s o n | j s o n p a t h - f i l e ]   [ - - f o r   T Y P E / N A M E ]   [ - - w a t c h ]   [ - - t y p e s = N o r m a l , W a r n i n g ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_events/",
    "id": "k8s_00437_section_2_8470"
  },
  {
    "question": "What is Examples?",
    "answer": "#   L i s t   r e c e n t   e v e n t s   i n   t h e   d e f a u l t   n a m e s p a c e   k u b e c t l   e v e n t s   #   L i s t   r e c e n t   e v e n t s   i n   a l l   n a m e s p a c e s   k u b e c t l   e v e n t s   - - a l l - n a m e s p a c e s   #   L i s t   r e c e n t   e v e n t s   f o r   t h e   s p e c i f i e d   p o d ,   t h e n   w a i t   f o r   m o r e   e v e n t s   a n d   l i s t   t h e m   a s   t h e y   a r r i v e   k u b e c t l   e v e n t s   - - f o r   p o d / w e b - p o d - 1 3 j e 7   - - w a t c h   #   L i s t   r e c e n t   e v e n t s   i n   Y A M L   f o r m a t   k u b e c t l   e v e n t s   - o y a m l   #   L i s t   r e c e n t   o n l y   e v e n t s   o f   t y p e   ' W a r n i n g '   o r   ' N o r m a l '   k u b e c t l   e v e n t s   - - t y p e s = W a r n i n g , N o r m a l",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_events/",
    "id": "k8s_00437_section_2_8471"
  },
  {
    "question": "What is Options?",
    "answer": "I f   p r e s e n t ,   l i s t   t h e   r e q u e s t e d   o b j e c t ( s )   a c r o s s   a l l   n a m e s p a c e s .   N a m e s p a c e   i n   c u r r e n t   c o n t e x t   i s   i g n o r e d   e v e n   i f   s p e c i f i e d   w i t h   - - n a m e s p a c e .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   R e t u r n   l a r g e   l i s t s   i n   c h u n k s   r a t h e r   t h a n   a l l   a t   o n c e .   P a s s   0   t o   d i s a b l e .   T h i s   f l a g   i s   b e t a   a n d   m a y   c h a n g e   i n   t h e   f u t u r e .   F i l t e r   e v e n t s   t o   o n l y   t h o s e   p e r t a i n i n g   t o   t h e   s p e c i f i e d   r e s o u r c e .   h e l p   f o r   e v e n t s   W h e n   u s i n g   t h e   d e f a u l t   o u t p u t   f o r m a t ,   d o n ' t   p r i n t   h e a d e r s .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t e x t / t e m p l a t e / # p k g - o v e r v i e w ] .   O u t p u t   o n l y   e v e n t s   o f   g i v e n   t y p e s .   A f t e r   l i s t i n g   t h e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_events/",
    "id": "k8s_00437_section_2_8472"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_events/",
    "id": "k8s_00437_section_2_8473"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_events/",
    "id": "k8s_00437_section_2_8474"
  },
  {
    "question": "What is Find Out What Container Runtime is Used on a Node?",
    "answer": "Find Out What Container Runtime is Used on a NodeThis page outlines steps to find out what container runtime the nodes in your cluster use.Depending on the way you run your cluster, the container runtime for the nodes may have been pre-configured or you need to configure it. If you're using a managed Kubernetes service, there might be vendor-specific ways to check what container runtime is configured for the nodes. The method described on this page should work whenever the execution of kubectl is allowed.Before you beginInstall and configure kubectl. See Install Tools section for details.Find out the container runtime used on a NodeUse kubectl to fetch and show node information:kubectl get nodes -o wide The output is similar to the following. The column CONTAINER-RUNTIME outputs the runtime and its version.For Docker Engine, the output is similar to this:NAME STATUS VERSION CONTAINER-RUNTIME node-1 Ready v1.16.15 docker://19.3.1 node-2 Ready v1.16.15 docker://19.3.1 node-3 Ready v1.16.15 docker://19.3.1 If your runtime shows as Docker Engine, you still might not be affected by the removal of dockershim in Kubernetes v1.24. Check the runtime endpoint to see if you use dockershim. If you don't use dockershim, you aren't affected.For containerd, the output is similar to this:NAME STATUS VERSION CONTAINER-RUNTIME node-1 Ready v1.19.6 containerd://1.4.1 node-2 Ready v1.19.6 containerd://1.4.1 node-3 Ready v1.19.6 containerd://1.4.1 Find out more information about container runtimes on Container Runtimes page.Find out what container runtime endpoint you useThe container runtime talks to the kubelet over a Unix socket using the CRI protocol, which is based on the gRPC framework. The kubelet acts as a client, and the runtime acts as the server. In some cases, you might find it useful to know which socket your nodes use. For example, with the removal of dockershim in Kubernetes v1.24 and later, you might want to know whether you use Docker Engine with dockershim.Note:If you currently use Docker Engine in your nodes with cri-dockerd, you aren't affected by the dockershim removal.You can check which socket you use by checking the kubelet configuration on your nodes.Read the starting commands for the kubelet process:tr \\\\0 ' ' < /proc/\"$(pgrep kubelet)\"/cmdline If you don't have tr or pgrep, check the command line for the kubelet process manually.In the output, look for the --container-runtime flag and the --container-runtime-endpoint flag.If your nodes use Kubernetes v1.23 and earlier and these flags aren't present or if the --container-runtime flag is not remote, you use the dockershim socket with Docker Engine. The --container-runtime command line argument is not available in Kubernetes v1.27 and later.If the --container-runtime-endpoint flag is present, check the socket name to find out which runtime you use. For example, unix:///run/containerd/containerd.sock is the containerd endpoint.If you want to change the Container Runtime on a Node from Docker En",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/find-out-runtime-you-use/",
    "id": "k8s_00438_qa_8475"
  },
  {
    "question": "How does Find Out What Container Runtime is Used on a Node work?",
    "answer": "Find Out What Container Runtime is Used on a NodeThis page outlines steps to find out what container runtime the nodes in your cluster use.Depending on the way you run your cluster, the container runtime for the nodes may have been pre-configured or you need to configure it. If you're using a managed Kubernetes service, there might be vendor-specific ways to check what container runtime is configured for the nodes. The method described on this page should work whenever the execution of kubectl is allowed.Before you beginInstall and configure kubectl. See Install Tools section for details.Find out the container runtime used on a NodeUse kubectl to fetch and show node information:kubectl get nodes -o wide The output is similar to the following. The column CONTAINER-RUNTIME outputs the runtime and its version.For Docker Engine, the output is similar to this:NAME STATUS VERSION CONTAINER-RUNTIME node-1 Ready v1.16.15 docker://19.3.1 node-2 Ready v1.16.15 docker://19.3.1 node-3 Ready v1.16.15 docker://19.3.1 If your runtime shows as Docker Engine, you still might not be affected by the removal of dockershim in Kubernetes v1.24. Check the runtime endpoint to see if you use dockershim. If you don't use dockershim, you aren't affected.For containerd, the output is similar to this:NAME STATUS VERSION CONTAINER-RUNTIME node-1 Ready v1.19.6 containerd://1.4.1 node-2 Ready v1.19.6 containerd://1.4.1 node-3 Ready v1.19.6 containerd://1.4.1 Find out more information about container runtimes on Container Runtimes page.Find out what container runtime endpoint you useThe container runtime talks to the kubelet over a Unix socket using the CRI protocol, which is based on the gRPC framework. The kubelet acts as a client, and the runtime acts as the server. In some cases, you might find it useful to know which socket your nodes use. For example, with the removal of dockershim in Kubernetes v1.24 and later, you might want to know whether you use Docker Engine with dockershim.Note:If you currently use Docker Engine in your nodes with cri-dockerd, you aren't affected by the dockershim removal.You can check which socket you use by checking the kubelet configuration on your nodes.Read the starting commands for the kubelet process:tr \\\\0 ' ' < /proc/\"$(pgrep kubelet)\"/cmdline If you don't have tr or pgrep, check the command line for the kubelet process manually.In the output, look for the --container-runtime flag and the --container-runtime-endpoint flag.If your nodes use Kubernetes v1.23 and earlier and these flags aren't present or if the --container-runtime flag is not remote, you use the dockershim socket with Docker Engine. The --container-runtime command line argument is not available in Kubernetes v1.27 and later.If the --container-runtime-endpoint flag is present, check the socket name to find out which runtime you use. For example, unix:///run/containerd/containerd.sock is the containerd endpoint.If you want to change the Container Runtime on a Node from Docker En",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/find-out-runtime-you-use/",
    "id": "k8s_00438_qa_8476"
  },
  {
    "question": "When would you use Find Out What Container Runtime is Used on a Node?",
    "answer": "Find Out What Container Runtime is Used on a NodeThis page outlines steps to find out what container runtime the nodes in your cluster use.Depending on the way you run your cluster, the container runtime for the nodes may have been pre-configured or you need to configure it. If you're using a managed Kubernetes service, there might be vendor-specific ways to check what container runtime is configured for the nodes. The method described on this page should work whenever the execution of kubectl is allowed.Before you beginInstall and configure kubectl. See Install Tools section for details.Find out the container runtime used on a NodeUse kubectl to fetch and show node information:kubectl get nodes -o wide The output is similar to the following. The column CONTAINER-RUNTIME outputs the runtime and its version.For Docker Engine, the output is similar to this:NAME STATUS VERSION CONTAINER-RUNTIME node-1 Ready v1.16.15 docker://19.3.1 node-2 Ready v1.16.15 docker://19.3.1 node-3 Ready v1.16.15 docker://19.3.1 If your runtime shows as Docker Engine, you still might not be affected by the removal of dockershim in Kubernetes v1.24. Check the runtime endpoint to see if you use dockershim. If you don't use dockershim, you aren't affected.For containerd, the output is similar to this:NAME STATUS VERSION CONTAINER-RUNTIME node-1 Ready v1.19.6 containerd://1.4.1 node-2 Ready v1.19.6 containerd://1.4.1 node-3 Ready v1.19.6 containerd://1.4.1 Find out more information about container runtimes on Container Runtimes page.Find out what container runtime endpoint you useThe container runtime talks to the kubelet over a Unix socket using the CRI protocol, which is based on the gRPC framework. The kubelet acts as a client, and the runtime acts as the server. In some cases, you might find it useful to know which socket your nodes use. For example, with the removal of dockershim in Kubernetes v1.24 and later, you might want to know whether you use Docker Engine with dockershim.Note:If you currently use Docker Engine in your nodes with cri-dockerd, you aren't affected by the dockershim removal.You can check which socket you use by checking the kubelet configuration on your nodes.Read the starting commands for the kubelet process:tr \\\\0 ' ' < /proc/\"$(pgrep kubelet)\"/cmdline If you don't have tr or pgrep, check the command line for the kubelet process manually.In the output, look for the --container-runtime flag and the --container-runtime-endpoint flag.If your nodes use Kubernetes v1.23 and earlier and these flags aren't present or if the --container-runtime flag is not remote, you use the dockershim socket with Docker Engine. The --container-runtime command line argument is not available in Kubernetes v1.27 and later.If the --container-runtime-endpoint flag is present, check the socket name to find out which runtime you use. For example, unix:///run/containerd/containerd.sock is the containerd endpoint.If you want to change the Container Runtime on a Node from Docker En",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/find-out-runtime-you-use/",
    "id": "k8s_00438_qa_8477"
  },
  {
    "question": "What are the benefits of Find Out What Container Runtime is Used on a Node?",
    "answer": "Find Out What Container Runtime is Used on a NodeThis page outlines steps to find out what container runtime the nodes in your cluster use.Depending on the way you run your cluster, the container runtime for the nodes may have been pre-configured or you need to configure it. If you're using a managed Kubernetes service, there might be vendor-specific ways to check what container runtime is configured for the nodes. The method described on this page should work whenever the execution of kubectl is allowed.Before you beginInstall and configure kubectl. See Install Tools section for details.Find out the container runtime used on a NodeUse kubectl to fetch and show node information:kubectl get nodes -o wide The output is similar to the following. The column CONTAINER-RUNTIME outputs the runtime and its version.For Docker Engine, the output is similar to this:NAME STATUS VERSION CONTAINER-RUNTIME node-1 Ready v1.16.15 docker://19.3.1 node-2 Ready v1.16.15 docker://19.3.1 node-3 Ready v1.16.15 docker://19.3.1 If your runtime shows as Docker Engine, you still might not be affected by the removal of dockershim in Kubernetes v1.24. Check the runtime endpoint to see if you use dockershim. If you don't use dockershim, you aren't affected.For containerd, the output is similar to this:NAME STATUS VERSION CONTAINER-RUNTIME node-1 Ready v1.19.6 containerd://1.4.1 node-2 Ready v1.19.6 containerd://1.4.1 node-3 Ready v1.19.6 containerd://1.4.1 Find out more information about container runtimes on Container Runtimes page.Find out what container runtime endpoint you useThe container runtime talks to the kubelet over a Unix socket using the CRI protocol, which is based on the gRPC framework. The kubelet acts as a client, and the runtime acts as the server. In some cases, you might find it useful to know which socket your nodes use. For example, with the removal of dockershim in Kubernetes v1.24 and later, you might want to know whether you use Docker Engine with dockershim.Note:If you currently use Docker Engine in your nodes with cri-dockerd, you aren't affected by the dockershim removal.You can check which socket you use by checking the kubelet configuration on your nodes.Read the starting commands for the kubelet process:tr \\\\0 ' ' < /proc/\"$(pgrep kubelet)\"/cmdline If you don't have tr or pgrep, check the command line for the kubelet process manually.In the output, look for the --container-runtime flag and the --container-runtime-endpoint flag.If your nodes use Kubernetes v1.23 and earlier and these flags aren't present or if the --container-runtime flag is not remote, you use the dockershim socket with Docker Engine. The --container-runtime command line argument is not available in Kubernetes v1.27 and later.If the --container-runtime-endpoint flag is present, check the socket name to find out which runtime you use. For example, unix:///run/containerd/containerd.sock is the containerd endpoint.If you want to change the Container Runtime on a Node from Docker En",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/find-out-runtime-you-use/",
    "id": "k8s_00438_qa_8478"
  },
  {
    "question": "What is Find Out What Container Runtime is Used on a Node?",
    "answer": "T h i s   p a g e   o u t l i n e s   s t e p s   t o   f i n d   o u t   w h a t   c o n t a i n e r   r u n t i m e   t h e   n o d e s   i n   y o u r   c l u s t e r   u s e .   D e p e n d i n g   o n   t h e   w a y   y o u   r u n   y o u r   c l u s t e r ,   t h e   c o n t a i n e r   r u n t i m e   f o r   t h e   n o d e s   m a y   h a v e   b e e n   p r e - c o n f i g u r e d   o r   y o u   n e e d   t o   c o n f i g u r e   i t .   I f   y o u ' r e   u s i n g   a   m a n a g e d   K u b e r n e t e s   s e r v i c e ,   t h e r e   m i g h t   b e   v e n d o r - s p e c i f i c   w a y s   t o   c h e c k   w h a t   c o n t a i n e r   r u n t i m e   i s   c o n f i g u r e d   f o r   t h e   n o d e s .   T h e   m e t h o d   d e s c r i b e d   o n   t h i s   p a g e   s h o u l d   w o r k   w h e n e v e r   t h e   e x e c u t i o n   o f   k u b e c t l   i s   a l l o w e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/find-out-runtime-you-use/",
    "id": "k8s_00438_section_1_8479"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n s t a l l   a n d   c o n f i g u r e   k u b e c t l .   S e e   I n s t a l l   T o o l s   s e c t i o n   f o r   d e t a i l s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/find-out-runtime-you-use/",
    "id": "k8s_00438_section_2_8480"
  },
  {
    "question": "What is Find out the container runtime used on a Node?",
    "answer": "U s e   k u b e c t l   t o   f e t c h   a n d   s h o w   n o d e   i n f o r m a t i o n :   k u b e c t l   g e t   n o d e s   - o   w i d e   T h e   o u t p u t   i s   s i m i l a r   t o   t h e   f o l l o w i n g .   T h e   c o l u m n   C O N T A I N E R - R U N T I M E   o u t p u t s   t h e   r u n t i m e   a n d   i t s   v e r s i o n .   F o r   D o c k e r   E n g i n e ,   t h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   S T A T U S   V E R S I O N   C O N T A I N E R - R U N T I M E   n o d e - 1   R e a d y   v 1 . 1 6 . 1 5   d o c k e r : / / 1 9 . 3 . 1   n o d e - 2   R e a d y   v 1 . 1 6 . 1 5   d o c k e r : / / 1 9 . 3 . 1   n o d e - 3   R e a d y   v 1 . 1 6 . 1 5   d o c k e r : / / 1 9 . 3 . 1   I f   y o u r   r u n t i m e   s h o w s   a s   D o c k e r   E n g i n e ,   y o u   s t i l l   m i g h t   n o t   b e   a f f e c t e d   b y   t h e   r e m o v a l   o f   d o c k e r s h i m   i n   K u b e r n e t e s   v 1 . 2 4 .   C h e c k   t h e   r u n t i m e   e n d p o i n t   t o   s e e   i f   y o u   u s e   d o c k e r s h i m .   I f   y o u   d o n ' t   u s e   d o c k e r s h i m ,   y o u   a r e n ' t   a f f e c t e d .   F o r   c o n t a i n e r d ,   t h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   S T A T U S   V E R S I O N   C O N T A I N E R - R U N T I M E   n o d e - 1   R e a d y   v 1 . 1 9 . 6   c o n t a i n e r d : / / 1 . 4 . 1   n o d e - 2   R e a d y   v 1 . 1 9 . 6   c o n t a i n e r d : / / 1 . 4 . 1   n o d e - 3   R e a d y   v 1 . 1 9 . 6   c o n t a i n e r d : / / 1 . 4 . 1   F i n d   o u t   m o r e   i n f o r m a t i o n   a b o u t   c o n t a i n e r   r u n t i m e s   o n   C o n t a i n e r   R u n t i m e s   p a g e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/find-out-runtime-you-use/",
    "id": "k8s_00438_section_2_8481"
  },
  {
    "question": "What is Find out what container runtime endpoint you use?",
    "answer": "T h e   c o n t a i n e r   r u n t i m e   t a l k s   t o   t h e   k u b e l e t   o v e r   a   U n i x   s o c k e t   u s i n g   t h e   C R I   p r o t o c o l ,   w h i c h   i s   b a s e d   o n   t h e   g R P C   f r a m e w o r k .   T h e   k u b e l e t   a c t s   a s   a   c l i e n t ,   a n d   t h e   r u n t i m e   a c t s   a s   t h e   s e r v e r .   I n   s o m e   c a s e s ,   y o u   m i g h t   f i n d   i t   u s e f u l   t o   k n o w   w h i c h   s o c k e t   y o u r   n o d e s   u s e .   F o r   e x a m p l e ,   w i t h   t h e   r e m o v a l   o f   d o c k e r s h i m   i n   K u b e r n e t e s   v 1 . 2 4   a n d   l a t e r ,   y o u   m i g h t   w a n t   t o   k n o w   w h e t h e r   y o u   u s e   D o c k e r   E n g i n e   w i t h   d o c k e r s h i m .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/find-out-runtime-you-use/",
    "id": "k8s_00438_section_2_8482"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   c h e c k   w h i c h   s o c k e t   y o u   u s e   b y   c h e c k i n g   t h e   k u b e l e t   c o n f i g u r a t i o n   o n   y o u r   n o d e s .   R e a d   t h e   s t a r t i n g   c o m m a n d s   f o r   t h e   k u b e l e t   p r o c e s s : t r   \\ \\ 0   '   '   <   / p r o c / \" $ ( p g r e p   k u b e l e t ) \" / c m d l i n e   I f   y o u   d o n ' t   h a v e   t r   o r   p g r e p ,   c h e c k   t h e   c o m m a n d   l i n e   f o r   t h e   k u b e l e t   p r o c e s s   m a n u a l l y . I n   t h e   o u t p u t ,   l o o k   f o r   t h e   - - c o n t a i n e r - r u n t i m e   f l a g   a n d   t h e   - - c o n t a i n e r - r u n t i m e - e n d p o i n t   f l a g . I f   y o u r   n o d e s   u s e   K u b e r n e t e s   v 1 . 2 3   a n d   e a r l i e r   a n d   t h e s e   f l a g s   a r e n ' t   p r e s e n t   o r   i f   t h e   - - c o n t a i n e r - r u n t i m e   f l a g   i s   n o t   r e m o t e ,   y o u   u s e   t h e   d o c k e r s h i m   s o c k e t   w i t h   D o c k e r   E n g i n e .   T h e   - - c o n t a i n e r - r u n t i m e   c o m m a n d   l i n e   a r g u m e n t   i s   n o t   a v a i l a b l e   i n   K u b e r n e t e s   v 1 . 2 7   a n d   l a t e r . I f   t h e   - - c o n t a i n e r - r u n t i m e - e n d p o i n t   f l a g   i s   p r e s e n t ,   c h e c k   t h e   s o c k e t   n a m e   t o   f i n d   o u t   w h i c h   r u n t i m e   y o u   u s e .   F o r   e x a m p l e ,   u n i x : / / / r u n / c o n t a i n e r d / c o n t a i n e r d . s o c k   i s   t h e   c o n t a i n e r d   e n d p o i n t .   R e a d   t h e   s t a r t i n g   c o m m a n d s   f o r   t h e   k u b e l e t   p r o c e s s :   t r   \\ \\ 0   '   '   <   / p r o c / \" $ ( p g r e p   k u b e l e t ) \" / c m d l i n e   I f   y o u   d o n ' t   h a v e   t r   o r   p g r e p ,   c h e c k   t h e   c o m m a n d   l i n e   f o r   t h e   k u b e l e t   p r o c ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/find-out-runtime-you-use/",
    "id": "k8s_00438_section_4_8483"
  },
  {
    "question": "What is Service ClusterIP allocation?",
    "answer": "Service ClusterIP allocationIn Kubernetes, Services are an abstract way to expose an application running on a set of Pods. Services can have a cluster-scoped virtual IP address (using a Service of type: ClusterIP). Clients can connect using that virtual IP address, and Kubernetes then load-balances traffic to that Service across the different backing Pods.How Service ClusterIPs are allocated?When Kubernetes needs to assign a virtual IP address for a Service, that assignment happens one of two ways:dynamicallythe cluster's control plane automatically picks a free IP address from within the configured IP range for type: ClusterIP Services.staticallyyou specify an IP address of your choice, from within the configured IP range for Services.Across your whole cluster, every Service ClusterIP must be unique. Trying to create a Service with a specific ClusterIP that has already been allocated will return an error.Why do you need to reserve Service Cluster IPs?Sometimes you may want to have Services running in well-known IP addresses, so other components and users in the cluster can use them.The best example is the DNS Service for the cluster. As a soft convention, some Kubernetes installers assign the 10th IP address from the Service IP range to the DNS service. Assuming you configured your cluster with Service IP range 10.96.0.0/16 and you want your DNS Service IP to be 10.96.0.10, you'd have to create a Service like this:apiVersion: v1 kind: Service metadata: labels: k8s-app: kube-dns kubernetes.io/cluster-service: \"true\" kubernetes.io/name: CoreDNS name: kube-dns namespace: kube-system spec: clusterIP: 10.96.0.10 ports: - name: dns port: 53 protocol: UDP targetPort: 53 - name: dns-tcp port: 53 protocol: TCP targetPort: 53 selector: k8s-app: kube-dns type: ClusterIP But, as it was explained before, the IP address 10.96.0.10 has not been reserved. If other Services are created before or in parallel with dynamic allocation, there is a chance they can allocate this IP. Hence, you will not be able to create the DNS Service because it will fail with a conflict error.How can you avoid Service ClusterIP conflicts?The allocation strategy implemented in Kubernetes to allocate ClusterIPs to Services reduces the risk of collision.The ClusterIP range is divided, based on the formula min(max(16, cidrSize / 16), 256), described as never less than 16 or more than 256 with a graduated step between them.Dynamic IP assignment uses the upper band by default, once this has been exhausted it will use the lower range. This will allow users to use static allocations on the lower band with a low risk of collision.ExamplesExample 1This example uses the IP address range: 10.96.0.0/24 (CIDR notation) for the IP addresses of Services.Range Size: 28 - 2 = 254Band Offset: min(max(16, 256/16), 256) = min(16, 256) = 16Static band start: 10.96.0.1Static band end: 10.96.0.16Range end: 10.96.0.254pie showData title 10.96.0.0/24 \"Static\" : 16 \"Dynamic\" : 238JavaScript must be enabled to ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/cluster-ip-allocation/",
    "id": "k8s_00439_qa_8484"
  },
  {
    "question": "How does Service ClusterIP allocation work?",
    "answer": "Service ClusterIP allocationIn Kubernetes, Services are an abstract way to expose an application running on a set of Pods. Services can have a cluster-scoped virtual IP address (using a Service of type: ClusterIP). Clients can connect using that virtual IP address, and Kubernetes then load-balances traffic to that Service across the different backing Pods.How Service ClusterIPs are allocated?When Kubernetes needs to assign a virtual IP address for a Service, that assignment happens one of two ways:dynamicallythe cluster's control plane automatically picks a free IP address from within the configured IP range for type: ClusterIP Services.staticallyyou specify an IP address of your choice, from within the configured IP range for Services.Across your whole cluster, every Service ClusterIP must be unique. Trying to create a Service with a specific ClusterIP that has already been allocated will return an error.Why do you need to reserve Service Cluster IPs?Sometimes you may want to have Services running in well-known IP addresses, so other components and users in the cluster can use them.The best example is the DNS Service for the cluster. As a soft convention, some Kubernetes installers assign the 10th IP address from the Service IP range to the DNS service. Assuming you configured your cluster with Service IP range 10.96.0.0/16 and you want your DNS Service IP to be 10.96.0.10, you'd have to create a Service like this:apiVersion: v1 kind: Service metadata: labels: k8s-app: kube-dns kubernetes.io/cluster-service: \"true\" kubernetes.io/name: CoreDNS name: kube-dns namespace: kube-system spec: clusterIP: 10.96.0.10 ports: - name: dns port: 53 protocol: UDP targetPort: 53 - name: dns-tcp port: 53 protocol: TCP targetPort: 53 selector: k8s-app: kube-dns type: ClusterIP But, as it was explained before, the IP address 10.96.0.10 has not been reserved. If other Services are created before or in parallel with dynamic allocation, there is a chance they can allocate this IP. Hence, you will not be able to create the DNS Service because it will fail with a conflict error.How can you avoid Service ClusterIP conflicts?The allocation strategy implemented in Kubernetes to allocate ClusterIPs to Services reduces the risk of collision.The ClusterIP range is divided, based on the formula min(max(16, cidrSize / 16), 256), described as never less than 16 or more than 256 with a graduated step between them.Dynamic IP assignment uses the upper band by default, once this has been exhausted it will use the lower range. This will allow users to use static allocations on the lower band with a low risk of collision.ExamplesExample 1This example uses the IP address range: 10.96.0.0/24 (CIDR notation) for the IP addresses of Services.Range Size: 28 - 2 = 254Band Offset: min(max(16, 256/16), 256) = min(16, 256) = 16Static band start: 10.96.0.1Static band end: 10.96.0.16Range end: 10.96.0.254pie showData title 10.96.0.0/24 \"Static\" : 16 \"Dynamic\" : 238JavaScript must be enabled to ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/cluster-ip-allocation/",
    "id": "k8s_00439_qa_8485"
  },
  {
    "question": "When would you use Service ClusterIP allocation?",
    "answer": "Service ClusterIP allocationIn Kubernetes, Services are an abstract way to expose an application running on a set of Pods. Services can have a cluster-scoped virtual IP address (using a Service of type: ClusterIP). Clients can connect using that virtual IP address, and Kubernetes then load-balances traffic to that Service across the different backing Pods.How Service ClusterIPs are allocated?When Kubernetes needs to assign a virtual IP address for a Service, that assignment happens one of two ways:dynamicallythe cluster's control plane automatically picks a free IP address from within the configured IP range for type: ClusterIP Services.staticallyyou specify an IP address of your choice, from within the configured IP range for Services.Across your whole cluster, every Service ClusterIP must be unique. Trying to create a Service with a specific ClusterIP that has already been allocated will return an error.Why do you need to reserve Service Cluster IPs?Sometimes you may want to have Services running in well-known IP addresses, so other components and users in the cluster can use them.The best example is the DNS Service for the cluster. As a soft convention, some Kubernetes installers assign the 10th IP address from the Service IP range to the DNS service. Assuming you configured your cluster with Service IP range 10.96.0.0/16 and you want your DNS Service IP to be 10.96.0.10, you'd have to create a Service like this:apiVersion: v1 kind: Service metadata: labels: k8s-app: kube-dns kubernetes.io/cluster-service: \"true\" kubernetes.io/name: CoreDNS name: kube-dns namespace: kube-system spec: clusterIP: 10.96.0.10 ports: - name: dns port: 53 protocol: UDP targetPort: 53 - name: dns-tcp port: 53 protocol: TCP targetPort: 53 selector: k8s-app: kube-dns type: ClusterIP But, as it was explained before, the IP address 10.96.0.10 has not been reserved. If other Services are created before or in parallel with dynamic allocation, there is a chance they can allocate this IP. Hence, you will not be able to create the DNS Service because it will fail with a conflict error.How can you avoid Service ClusterIP conflicts?The allocation strategy implemented in Kubernetes to allocate ClusterIPs to Services reduces the risk of collision.The ClusterIP range is divided, based on the formula min(max(16, cidrSize / 16), 256), described as never less than 16 or more than 256 with a graduated step between them.Dynamic IP assignment uses the upper band by default, once this has been exhausted it will use the lower range. This will allow users to use static allocations on the lower band with a low risk of collision.ExamplesExample 1This example uses the IP address range: 10.96.0.0/24 (CIDR notation) for the IP addresses of Services.Range Size: 28 - 2 = 254Band Offset: min(max(16, 256/16), 256) = min(16, 256) = 16Static band start: 10.96.0.1Static band end: 10.96.0.16Range end: 10.96.0.254pie showData title 10.96.0.0/24 \"Static\" : 16 \"Dynamic\" : 238JavaScript must be enabled to ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/cluster-ip-allocation/",
    "id": "k8s_00439_qa_8486"
  },
  {
    "question": "What are the benefits of Service ClusterIP allocation?",
    "answer": "Service ClusterIP allocationIn Kubernetes, Services are an abstract way to expose an application running on a set of Pods. Services can have a cluster-scoped virtual IP address (using a Service of type: ClusterIP). Clients can connect using that virtual IP address, and Kubernetes then load-balances traffic to that Service across the different backing Pods.How Service ClusterIPs are allocated?When Kubernetes needs to assign a virtual IP address for a Service, that assignment happens one of two ways:dynamicallythe cluster's control plane automatically picks a free IP address from within the configured IP range for type: ClusterIP Services.staticallyyou specify an IP address of your choice, from within the configured IP range for Services.Across your whole cluster, every Service ClusterIP must be unique. Trying to create a Service with a specific ClusterIP that has already been allocated will return an error.Why do you need to reserve Service Cluster IPs?Sometimes you may want to have Services running in well-known IP addresses, so other components and users in the cluster can use them.The best example is the DNS Service for the cluster. As a soft convention, some Kubernetes installers assign the 10th IP address from the Service IP range to the DNS service. Assuming you configured your cluster with Service IP range 10.96.0.0/16 and you want your DNS Service IP to be 10.96.0.10, you'd have to create a Service like this:apiVersion: v1 kind: Service metadata: labels: k8s-app: kube-dns kubernetes.io/cluster-service: \"true\" kubernetes.io/name: CoreDNS name: kube-dns namespace: kube-system spec: clusterIP: 10.96.0.10 ports: - name: dns port: 53 protocol: UDP targetPort: 53 - name: dns-tcp port: 53 protocol: TCP targetPort: 53 selector: k8s-app: kube-dns type: ClusterIP But, as it was explained before, the IP address 10.96.0.10 has not been reserved. If other Services are created before or in parallel with dynamic allocation, there is a chance they can allocate this IP. Hence, you will not be able to create the DNS Service because it will fail with a conflict error.How can you avoid Service ClusterIP conflicts?The allocation strategy implemented in Kubernetes to allocate ClusterIPs to Services reduces the risk of collision.The ClusterIP range is divided, based on the formula min(max(16, cidrSize / 16), 256), described as never less than 16 or more than 256 with a graduated step between them.Dynamic IP assignment uses the upper band by default, once this has been exhausted it will use the lower range. This will allow users to use static allocations on the lower band with a low risk of collision.ExamplesExample 1This example uses the IP address range: 10.96.0.0/24 (CIDR notation) for the IP addresses of Services.Range Size: 28 - 2 = 254Band Offset: min(max(16, 256/16), 256) = min(16, 256) = 16Static band start: 10.96.0.1Static band end: 10.96.0.16Range end: 10.96.0.254pie showData title 10.96.0.0/24 \"Static\" : 16 \"Dynamic\" : 238JavaScript must be enabled to ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/cluster-ip-allocation/",
    "id": "k8s_00439_qa_8487"
  },
  {
    "question": "What is Service ClusterIP allocation?",
    "answer": "I n   K u b e r n e t e s ,   S e r v i c e s   a r e   a n   a b s t r a c t   w a y   t o   e x p o s e   a n   a p p l i c a t i o n   r u n n i n g   o n   a   s e t   o f   P o d s .   S e r v i c e s   c a n   h a v e   a   c l u s t e r - s c o p e d   v i r t u a l   I P   a d d r e s s   ( u s i n g   a   S e r v i c e   o f   t y p e :   C l u s t e r I P ) .   C l i e n t s   c a n   c o n n e c t   u s i n g   t h a t   v i r t u a l   I P   a d d r e s s ,   a n d   K u b e r n e t e s   t h e n   l o a d - b a l a n c e s   t r a f f i c   t o   t h a t   S e r v i c e   a c r o s s   t h e   d i f f e r e n t   b a c k i n g   P o d s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/cluster-ip-allocation/",
    "id": "k8s_00439_section_1_8488"
  },
  {
    "question": "What is How Service ClusterIPs are allocated??",
    "answer": "W h e n   K u b e r n e t e s   n e e d s   t o   a s s i g n   a   v i r t u a l   I P   a d d r e s s   f o r   a   S e r v i c e ,   t h a t   a s s i g n m e n t   h a p p e n s   o n e   o f   t w o   w a y s :   A c r o s s   y o u r   w h o l e   c l u s t e r ,   e v e r y   S e r v i c e   C l u s t e r I P   m u s t   b e   u n i q u e .   T r y i n g   t o   c r e a t e   a   S e r v i c e   w i t h   a   s p e c i f i c   C l u s t e r I P   t h a t   h a s   a l r e a d y   b e e n   a l l o c a t e d   w i l l   r e t u r n   a n   e r r o r .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/cluster-ip-allocation/",
    "id": "k8s_00439_section_2_8489"
  },
  {
    "question": "What is Why do you need to reserve Service Cluster IPs??",
    "answer": "S o m e t i m e s   y o u   m a y   w a n t   t o   h a v e   S e r v i c e s   r u n n i n g   i n   w e l l - k n o w n   I P   a d d r e s s e s ,   s o   o t h e r   c o m p o n e n t s   a n d   u s e r s   i n   t h e   c l u s t e r   c a n   u s e   t h e m .   T h e   b e s t   e x a m p l e   i s   t h e   D N S   S e r v i c e   f o r   t h e   c l u s t e r .   A s   a   s o f t   c o n v e n t i o n ,   s o m e   K u b e r n e t e s   i n s t a l l e r s   a s s i g n   t h e   1 0 t h   I P   a d d r e s s   f r o m   t h e   S e r v i c e   I P   r a n g e   t o   t h e   D N S   s e r v i c e .   A s s u m i n g   y o u   c o n f i g u r e d   y o u r   c l u s t e r   w i t h   S e r v i c e   I P   r a n g e   1 0 . 9 6 . 0 . 0 / 1 6   a n d   y o u   w a n t   y o u r   D N S   S e r v i c e   I P   t o   b e   1 0 . 9 6 . 0 . 1 0 ,   y o u ' d   h a v e   t o   c r e a t e   a   S e r v i c e   l i k e   t h i s :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   l a b e l s :   k 8 s - a p p :   k u b e - d n s   k u b e r n e t e s . i o / c l u s t e r - s e r v i c e :   \" t r u e \"   k u b e r n e t e s . i o / n a m e :   C o r e D N S   n a m e :   k u b e - d n s   n a m e s p a c e :   k u b e - s y s t e m   s p e c :   c l u s t e r I P :   1 0 . 9 6 . 0 . 1 0   p o r t s :   -   n a m e :   d n s   p o r t :   5 3   p r o t o c o l :   U D P   t a r g e t P o r t :   5 3   -   n a m e :   d n s - t c p   p o r t :   5 3   p r o t o c o l :   T C P   t a r g e t P o r t :   5 3   s e l e c t o r :   k 8 s - a p p :   k u b e - d n s   t y p e :   C l u s t e r I P   B u t ,   a s   i t   w a s   e x p l a i n e d   b e f o r e ,   t h e   I P   a d d r e s s   1 0 . 9 6 . 0 . 1 0   h a s   n o t   b e e n   r e s e r v e d .   I f   o t h e r   S e r v i c e s   a r e   c r e a t e d   b e f o r e   o r   i n   p a r a l l e l   w i t h   d y n a m i c   a l l o c a t i o n ,   t h e r e   i s   a   c h a ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/cluster-ip-allocation/",
    "id": "k8s_00439_section_2_8490"
  },
  {
    "question": "What is How can you avoid Service ClusterIP conflicts??",
    "answer": "T h e   a l l o c a t i o n   s t r a t e g y   i m p l e m e n t e d   i n   K u b e r n e t e s   t o   a l l o c a t e   C l u s t e r I P s   t o   S e r v i c e s   r e d u c e s   t h e   r i s k   o f   c o l l i s i o n .   T h e   C l u s t e r I P   r a n g e   i s   d i v i d e d ,   b a s e d   o n   t h e   f o r m u l a   m i n ( m a x ( 1 6 ,   c i d r S i z e   /   1 6 ) ,   2 5 6 ) ,   d e s c r i b e d   a s   n e v e r   l e s s   t h a n   1 6   o r   m o r e   t h a n   2 5 6   w i t h   a   g r a d u a t e d   s t e p   b e t w e e n   t h e m .   D y n a m i c   I P   a s s i g n m e n t   u s e s   t h e   u p p e r   b a n d   b y   d e f a u l t ,   o n c e   t h i s   h a s   b e e n   e x h a u s t e d   i t   w i l l   u s e   t h e   l o w e r   r a n g e .   T h i s   w i l l   a l l o w   u s e r s   t o   u s e   s t a t i c   a l l o c a t i o n s   o n   t h e   l o w e r   b a n d   w i t h   a   l o w   r i s k   o f   c o l l i s i o n .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/cluster-ip-allocation/",
    "id": "k8s_00439_section_2_8491"
  },
  {
    "question": "What is Example 1?",
    "answer": "T h i s   e x a m p l e   u s e s   t h e   I P   a d d r e s s   r a n g e :   1 0 . 9 6 . 0 . 0 / 2 4   ( C I D R   n o t a t i o n )   f o r   t h e   I P   a d d r e s s e s   o f   S e r v i c e s .   R a n g e   S i z e :   2 8   -   2   =   2 5 4 B a n d   O f f s e t :   m i n ( m a x ( 1 6 ,   2 5 6 / 1 6 ) ,   2 5 6 )   =   m i n ( 1 6 ,   2 5 6 )   =   1 6 S t a t i c   b a n d   s t a r t :   1 0 . 9 6 . 0 . 1 S t a t i c   b a n d   e n d :   1 0 . 9 6 . 0 . 1 6 R a n g e   e n d :   1 0 . 9 6 . 0 . 2 5 4",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/cluster-ip-allocation/",
    "id": "k8s_00439_section_3_8492"
  },
  {
    "question": "What is Example 2?",
    "answer": "T h i s   e x a m p l e   u s e s   t h e   I P   a d d r e s s   r a n g e :   1 0 . 9 6 . 0 . 0 / 2 0   ( C I D R   n o t a t i o n )   f o r   t h e   I P   a d d r e s s e s   o f   S e r v i c e s .   R a n g e   S i z e :   2 1 2   -   2   =   4 0 9 4 B a n d   O f f s e t :   m i n ( m a x ( 1 6 ,   4 0 9 6 / 1 6 ) ,   2 5 6 )   =   m i n ( 2 5 6 ,   2 5 6 )   =   2 5 6 S t a t i c   b a n d   s t a r t :   1 0 . 9 6 . 0 . 1 S t a t i c   b a n d   e n d :   1 0 . 9 6 . 1 . 0 R a n g e   e n d :   1 0 . 9 6 . 1 5 . 2 5 4",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/cluster-ip-allocation/",
    "id": "k8s_00439_section_3_8493"
  },
  {
    "question": "What is Example 3?",
    "answer": "T h i s   e x a m p l e   u s e s   t h e   I P   a d d r e s s   r a n g e :   1 0 . 9 6 . 0 . 0 / 1 6   ( C I D R   n o t a t i o n )   f o r   t h e   I P   a d d r e s s e s   o f   S e r v i c e s .   R a n g e   S i z e :   2 1 6   -   2   =   6 5 5 3 4 B a n d   O f f s e t :   m i n ( m a x ( 1 6 ,   6 5 5 3 6 / 1 6 ) ,   2 5 6 )   =   m i n ( 4 0 9 6 ,   2 5 6 )   =   2 5 6 S t a t i c   b a n d   s t a r t :   1 0 . 9 6 . 0 . 1 S t a t i c   b a n d   e n d s :   1 0 . 9 6 . 1 . 0 R a n g e   e n d :   1 0 . 9 6 . 2 5 5 . 2 5 4",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/cluster-ip-allocation/",
    "id": "k8s_00439_section_3_8494"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   S e r v i c e   E x t e r n a l   T r a f f i c   P o l i c y R e a d   a b o u t   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s R e a d   a b o u t   S e r v i c e s",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/cluster-ip-allocation/",
    "id": "k8s_00439_section_2_8495"
  },
  {
    "question": "What is Kubernetes Scheduler?",
    "answer": "Kubernetes SchedulerIn Kubernetes, scheduling refers to making sure that Pods are matched to Nodes so that Kubelet can run them.Scheduling overviewA scheduler watches for newly created Pods that have no Node assigned. For every Pod that the scheduler discovers, the scheduler becomes responsible for finding the best Node for that Pod to run on. The scheduler reaches this placement decision taking into account the scheduling principles described below.If you want to understand why Pods are placed onto a particular Node, or if you're planning to implement a custom scheduler yourself, this page will help you learn about scheduling.kube-schedulerkube-scheduler is the default scheduler for Kubernetes and runs as part of the control plane. kube-scheduler is designed so that, if you want and need to, you can write your own scheduling component and use that instead.Kube-scheduler selects an optimal node to run newly created or not yet scheduled (unscheduled) pods. Since containers in pods - and pods themselves - can have different requirements, the scheduler filters out any nodes that don't meet a Pod's specific scheduling needs. Alternatively, the API lets you specify a node for a Pod when you create it, but this is unusual and is only done in special cases.In a cluster, Nodes that meet the scheduling requirements for a Pod are called feasible nodes. If none of the nodes are suitable, the pod remains unscheduled until the scheduler is able to place it.The scheduler finds feasible Nodes for a Pod and then runs a set of functions to score the feasible Nodes and picks a Node with the highest score among the feasible ones to run the Pod. The scheduler then notifies the API server about this decision in a process called binding.Factors that need to be taken into account for scheduling decisions include individual and collective resource requirements, hardware / software / policy constraints, affinity and anti-affinity specifications, data locality, inter-workload interference, and so on.Node selection in kube-schedulerkube-scheduler selects a node for the pod in a 2-step operation:FilteringScoringThe filtering step finds the set of Nodes where it's feasible to schedule the Pod. For example, the PodFitsResources filter checks whether a candidate Node has enough available resources to meet a Pod's specific resource requests. After this step, the node list contains any suitable Nodes; often, there will be more than one. If the list is empty, that Pod isn't (yet) schedulable.In the scoring step, the scheduler ranks the remaining nodes to choose the most suitable Pod placement. The scheduler assigns a score to each Node that survived filtering, basing this score on the active scoring rules.Finally, kube-scheduler assigns the Pod to the Node with the highest ranking. If there is more than one node with equal scores, kube-scheduler selects one of these at random.There are two supported ways to configure the filtering and scoring behavior of the scheduler:Scheduling ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/kube-scheduler/",
    "id": "k8s_00440_qa_8496"
  },
  {
    "question": "How does Kubernetes Scheduler work?",
    "answer": "Kubernetes SchedulerIn Kubernetes, scheduling refers to making sure that Pods are matched to Nodes so that Kubelet can run them.Scheduling overviewA scheduler watches for newly created Pods that have no Node assigned. For every Pod that the scheduler discovers, the scheduler becomes responsible for finding the best Node for that Pod to run on. The scheduler reaches this placement decision taking into account the scheduling principles described below.If you want to understand why Pods are placed onto a particular Node, or if you're planning to implement a custom scheduler yourself, this page will help you learn about scheduling.kube-schedulerkube-scheduler is the default scheduler for Kubernetes and runs as part of the control plane. kube-scheduler is designed so that, if you want and need to, you can write your own scheduling component and use that instead.Kube-scheduler selects an optimal node to run newly created or not yet scheduled (unscheduled) pods. Since containers in pods - and pods themselves - can have different requirements, the scheduler filters out any nodes that don't meet a Pod's specific scheduling needs. Alternatively, the API lets you specify a node for a Pod when you create it, but this is unusual and is only done in special cases.In a cluster, Nodes that meet the scheduling requirements for a Pod are called feasible nodes. If none of the nodes are suitable, the pod remains unscheduled until the scheduler is able to place it.The scheduler finds feasible Nodes for a Pod and then runs a set of functions to score the feasible Nodes and picks a Node with the highest score among the feasible ones to run the Pod. The scheduler then notifies the API server about this decision in a process called binding.Factors that need to be taken into account for scheduling decisions include individual and collective resource requirements, hardware / software / policy constraints, affinity and anti-affinity specifications, data locality, inter-workload interference, and so on.Node selection in kube-schedulerkube-scheduler selects a node for the pod in a 2-step operation:FilteringScoringThe filtering step finds the set of Nodes where it's feasible to schedule the Pod. For example, the PodFitsResources filter checks whether a candidate Node has enough available resources to meet a Pod's specific resource requests. After this step, the node list contains any suitable Nodes; often, there will be more than one. If the list is empty, that Pod isn't (yet) schedulable.In the scoring step, the scheduler ranks the remaining nodes to choose the most suitable Pod placement. The scheduler assigns a score to each Node that survived filtering, basing this score on the active scoring rules.Finally, kube-scheduler assigns the Pod to the Node with the highest ranking. If there is more than one node with equal scores, kube-scheduler selects one of these at random.There are two supported ways to configure the filtering and scoring behavior of the scheduler:Scheduling ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/kube-scheduler/",
    "id": "k8s_00440_qa_8497"
  },
  {
    "question": "When would you use Kubernetes Scheduler?",
    "answer": "Kubernetes SchedulerIn Kubernetes, scheduling refers to making sure that Pods are matched to Nodes so that Kubelet can run them.Scheduling overviewA scheduler watches for newly created Pods that have no Node assigned. For every Pod that the scheduler discovers, the scheduler becomes responsible for finding the best Node for that Pod to run on. The scheduler reaches this placement decision taking into account the scheduling principles described below.If you want to understand why Pods are placed onto a particular Node, or if you're planning to implement a custom scheduler yourself, this page will help you learn about scheduling.kube-schedulerkube-scheduler is the default scheduler for Kubernetes and runs as part of the control plane. kube-scheduler is designed so that, if you want and need to, you can write your own scheduling component and use that instead.Kube-scheduler selects an optimal node to run newly created or not yet scheduled (unscheduled) pods. Since containers in pods - and pods themselves - can have different requirements, the scheduler filters out any nodes that don't meet a Pod's specific scheduling needs. Alternatively, the API lets you specify a node for a Pod when you create it, but this is unusual and is only done in special cases.In a cluster, Nodes that meet the scheduling requirements for a Pod are called feasible nodes. If none of the nodes are suitable, the pod remains unscheduled until the scheduler is able to place it.The scheduler finds feasible Nodes for a Pod and then runs a set of functions to score the feasible Nodes and picks a Node with the highest score among the feasible ones to run the Pod. The scheduler then notifies the API server about this decision in a process called binding.Factors that need to be taken into account for scheduling decisions include individual and collective resource requirements, hardware / software / policy constraints, affinity and anti-affinity specifications, data locality, inter-workload interference, and so on.Node selection in kube-schedulerkube-scheduler selects a node for the pod in a 2-step operation:FilteringScoringThe filtering step finds the set of Nodes where it's feasible to schedule the Pod. For example, the PodFitsResources filter checks whether a candidate Node has enough available resources to meet a Pod's specific resource requests. After this step, the node list contains any suitable Nodes; often, there will be more than one. If the list is empty, that Pod isn't (yet) schedulable.In the scoring step, the scheduler ranks the remaining nodes to choose the most suitable Pod placement. The scheduler assigns a score to each Node that survived filtering, basing this score on the active scoring rules.Finally, kube-scheduler assigns the Pod to the Node with the highest ranking. If there is more than one node with equal scores, kube-scheduler selects one of these at random.There are two supported ways to configure the filtering and scoring behavior of the scheduler:Scheduling ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/kube-scheduler/",
    "id": "k8s_00440_qa_8498"
  },
  {
    "question": "What are the benefits of Kubernetes Scheduler?",
    "answer": "Kubernetes SchedulerIn Kubernetes, scheduling refers to making sure that Pods are matched to Nodes so that Kubelet can run them.Scheduling overviewA scheduler watches for newly created Pods that have no Node assigned. For every Pod that the scheduler discovers, the scheduler becomes responsible for finding the best Node for that Pod to run on. The scheduler reaches this placement decision taking into account the scheduling principles described below.If you want to understand why Pods are placed onto a particular Node, or if you're planning to implement a custom scheduler yourself, this page will help you learn about scheduling.kube-schedulerkube-scheduler is the default scheduler for Kubernetes and runs as part of the control plane. kube-scheduler is designed so that, if you want and need to, you can write your own scheduling component and use that instead.Kube-scheduler selects an optimal node to run newly created or not yet scheduled (unscheduled) pods. Since containers in pods - and pods themselves - can have different requirements, the scheduler filters out any nodes that don't meet a Pod's specific scheduling needs. Alternatively, the API lets you specify a node for a Pod when you create it, but this is unusual and is only done in special cases.In a cluster, Nodes that meet the scheduling requirements for a Pod are called feasible nodes. If none of the nodes are suitable, the pod remains unscheduled until the scheduler is able to place it.The scheduler finds feasible Nodes for a Pod and then runs a set of functions to score the feasible Nodes and picks a Node with the highest score among the feasible ones to run the Pod. The scheduler then notifies the API server about this decision in a process called binding.Factors that need to be taken into account for scheduling decisions include individual and collective resource requirements, hardware / software / policy constraints, affinity and anti-affinity specifications, data locality, inter-workload interference, and so on.Node selection in kube-schedulerkube-scheduler selects a node for the pod in a 2-step operation:FilteringScoringThe filtering step finds the set of Nodes where it's feasible to schedule the Pod. For example, the PodFitsResources filter checks whether a candidate Node has enough available resources to meet a Pod's specific resource requests. After this step, the node list contains any suitable Nodes; often, there will be more than one. If the list is empty, that Pod isn't (yet) schedulable.In the scoring step, the scheduler ranks the remaining nodes to choose the most suitable Pod placement. The scheduler assigns a score to each Node that survived filtering, basing this score on the active scoring rules.Finally, kube-scheduler assigns the Pod to the Node with the highest ranking. If there is more than one node with equal scores, kube-scheduler selects one of these at random.There are two supported ways to configure the filtering and scoring behavior of the scheduler:Scheduling ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/kube-scheduler/",
    "id": "k8s_00440_qa_8499"
  },
  {
    "question": "What is Kubernetes Scheduler?",
    "answer": "I n   K u b e r n e t e s ,   s c h e d u l i n g   r e f e r s   t o   m a k i n g   s u r e   t h a t   P o d s   a r e   m a t c h e d   t o   N o d e s   s o   t h a t   K u b e l e t   c a n   r u n   t h e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/kube-scheduler/",
    "id": "k8s_00440_section_1_8500"
  },
  {
    "question": "What is Scheduling overview?",
    "answer": "A   s c h e d u l e r   w a t c h e s   f o r   n e w l y   c r e a t e d   P o d s   t h a t   h a v e   n o   N o d e   a s s i g n e d .   F o r   e v e r y   P o d   t h a t   t h e   s c h e d u l e r   d i s c o v e r s ,   t h e   s c h e d u l e r   b e c o m e s   r e s p o n s i b l e   f o r   f i n d i n g   t h e   b e s t   N o d e   f o r   t h a t   P o d   t o   r u n   o n .   T h e   s c h e d u l e r   r e a c h e s   t h i s   p l a c e m e n t   d e c i s i o n   t a k i n g   i n t o   a c c o u n t   t h e   s c h e d u l i n g   p r i n c i p l e s   d e s c r i b e d   b e l o w .   I f   y o u   w a n t   t o   u n d e r s t a n d   w h y   P o d s   a r e   p l a c e d   o n t o   a   p a r t i c u l a r   N o d e ,   o r   i f   y o u ' r e   p l a n n i n g   t o   i m p l e m e n t   a   c u s t o m   s c h e d u l e r   y o u r s e l f ,   t h i s   p a g e   w i l l   h e l p   y o u   l e a r n   a b o u t   s c h e d u l i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/kube-scheduler/",
    "id": "k8s_00440_section_2_8501"
  },
  {
    "question": "What is kube-scheduler?",
    "answer": "k u b e - s c h e d u l e r   i s   t h e   d e f a u l t   s c h e d u l e r   f o r   K u b e r n e t e s   a n d   r u n s   a s   p a r t   o f   t h e   c o n t r o l   p l a n e .   k u b e - s c h e d u l e r   i s   d e s i g n e d   s o   t h a t ,   i f   y o u   w a n t   a n d   n e e d   t o ,   y o u   c a n   w r i t e   y o u r   o w n   s c h e d u l i n g   c o m p o n e n t   a n d   u s e   t h a t   i n s t e a d .   K u b e - s c h e d u l e r   s e l e c t s   a n   o p t i m a l   n o d e   t o   r u n   n e w l y   c r e a t e d   o r   n o t   y e t   s c h e d u l e d   ( u n s c h e d u l e d )   p o d s .   S i n c e   c o n t a i n e r s   i n   p o d s   -   a n d   p o d s   t h e m s e l v e s   -   c a n   h a v e   d i f f e r e n t   r e q u i r e m e n t s ,   t h e   s c h e d u l e r   f i l t e r s   o u t   a n y   n o d e s   t h a t   d o n ' t   m e e t   a   P o d ' s   s p e c i f i c   s c h e d u l i n g   n e e d s .   A l t e r n a t i v e l y ,   t h e   A P I   l e t s   y o u   s p e c i f y   a   n o d e   f o r   a   P o d   w h e n   y o u   c r e a t e   i t ,   b u t   t h i s   i s   u n u s u a l   a n d   i s   o n l y   d o n e   i n   s p e c i a l   c a s e s .   I n   a   c l u s t e r ,   N o d e s   t h a t   m e e t   t h e   s c h e d u l i n g   r e q u i r e m e n t s   f o r   a   P o d   a r e   c a l l e d   f e a s i b l e   n o d e s .   I f   n o n e   o f   t h e   n o d e s   a r e   s u i t a b l e ,   t h e   p o d   r e m a i n s   u n s c h e d u l e d   u n t i l   t h e   s c h e d u l e r   i s   a b l e   t o   p l a c e   i t .   T h e   s c h e d u l e r   f i n d s   f e a s i b l e   N o d e s   f o r   a   P o d   a n d   t h e n   r u n s   a   s e t   o f   f u n c t i o n s   t o   s c o r e   t h e   f e a s i b l e   N o d e s   a n d   p i c k s   a   N o d e   w i t h   t h e   h i g h e s t   s c o r e   a m o n g   t h e   f e a s i b l e   o n e s   t o   r u n   t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/kube-scheduler/",
    "id": "k8s_00440_section_2_8502"
  },
  {
    "question": "What is Node selection in kube-scheduler?",
    "answer": "k u b e - s c h e d u l e r   s e l e c t s   a   n o d e   f o r   t h e   p o d   i n   a   2 - s t e p   o p e r a t i o n :   F i l t e r i n g S c o r i n g   T h e   f i l t e r i n g   s t e p   f i n d s   t h e   s e t   o f   N o d e s   w h e r e   i t ' s   f e a s i b l e   t o   s c h e d u l e   t h e   P o d .   F o r   e x a m p l e ,   t h e   P o d F i t s R e s o u r c e s   f i l t e r   c h e c k s   w h e t h e r   a   c a n d i d a t e   N o d e   h a s   e n o u g h   a v a i l a b l e   r e s o u r c e s   t o   m e e t   a   P o d ' s   s p e c i f i c   r e s o u r c e   r e q u e s t s .   A f t e r   t h i s   s t e p ,   t h e   n o d e   l i s t   c o n t a i n s   a n y   s u i t a b l e   N o d e s ;   o f t e n ,   t h e r e   w i l l   b e   m o r e   t h a n   o n e .   I f   t h e   l i s t   i s   e m p t y ,   t h a t   P o d   i s n ' t   ( y e t )   s c h e d u l a b l e .   I n   t h e   s c o r i n g   s t e p ,   t h e   s c h e d u l e r   r a n k s   t h e   r e m a i n i n g   n o d e s   t o   c h o o s e   t h e   m o s t   s u i t a b l e   P o d   p l a c e m e n t .   T h e   s c h e d u l e r   a s s i g n s   a   s c o r e   t o   e a c h   N o d e   t h a t   s u r v i v e d   f i l t e r i n g ,   b a s i n g   t h i s   s c o r e   o n   t h e   a c t i v e   s c o r i n g   r u l e s .   F i n a l l y ,   k u b e - s c h e d u l e r   a s s i g n s   t h e   P o d   t o   t h e   N o d e   w i t h   t h e   h i g h e s t   r a n k i n g .   I f   t h e r e   i s   m o r e   t h a n   o n e   n o d e   w i t h   e q u a l   s c o r e s ,   k u b e - s c h e d u l e r   s e l e c t s   o n e   o f   t h e s e   a t   r a n d o m .   T h e r e   a r e   t w o   s u p p o r t e d   w a y s   t o   c o n f i g u r e   t h e   f i l t e r i n g   a n d   s c o r i n g   b e h a v i o r   o f   t h e   s c h e d u l e r :   S c h e d u l i n g   P o l i c i e s   a l l o w   y o u   t o   c o n f i g u r e   P r e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/kube-scheduler/",
    "id": "k8s_00440_section_3_8503"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   s c h e d u l e r   p e r f o r m a n c e   t u n i n g R e a d   a b o u t   P o d   t o p o l o g y   s p r e a d   c o n s t r a i n t s R e a d   t h e   r e f e r e n c e   d o c u m e n t a t i o n   f o r   k u b e - s c h e d u l e r R e a d   t h e   k u b e - s c h e d u l e r   c o n f i g   ( v 1 )   r e f e r e n c e L e a r n   a b o u t   c o n f i g u r i n g   m u l t i p l e   s c h e d u l e r s L e a r n   a b o u t   t o p o l o g y   m a n a g e m e n t   p o l i c i e s L e a r n   a b o u t   P o d   O v e r h e a d L e a r n   a b o u t   s c h e d u l i n g   o f   P o d s   t h a t   u s e   v o l u m e s   i n : V o l u m e   T o p o l o g y   S u p p o r t S t o r a g e   C a p a c i t y   T r a c k i n g N o d e - s p e c i f i c   V o l u m e   L i m i t s   V o l u m e   T o p o l o g y   S u p p o r t S t o r a g e   C a p a c i t y   T r a c k i n g N o d e - s p e c i f i c   V o l u m e   L i m i t s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/kube-scheduler/",
    "id": "k8s_00440_section_2_8504"
  },
  {
    "question": "What is Get a Shell to a Running Container?",
    "answer": "Get a Shell to a Running ContainerThis page shows how to use kubectl exec to get a shell to a running container.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesGetting a shell to a containerIn this exercise, you create a Pod that has one container. The container runs the nginx image. Here is the configuration file for the Pod:application/shell-demo.yaml apiVersion: v1 kind: Pod metadata: name: shell-demo spec: volumes: - name: shared-data emptyDir: {} containers: - name: nginx image: nginx volumeMounts: - name: shared-data mountPath: /usr/share/nginx/html hostNetwork: true dnsPolicy: Default Create the Pod:kubectl apply -f https://k8s.io/examples/application/shell-demo.yaml Verify that the container is running:kubectl get pod shell-demo Get a shell to the running container:kubectl exec --stdin --tty shell-demo -- /bin/bash Note:The double dash (--) separates the arguments you want to pass to the command from the kubectl arguments.In your shell, list the root directory:# Run this inside the container ls / In your shell, experiment with other commands. Here are some examples:# You can run these example commands inside the container ls / cat /proc/mounts cat /proc/1/maps apt-get update apt-get install -y tcpdump tcpdump apt-get install -y lsof lsof apt-get install -y procps ps aux ps aux | grep nginx Writing the root page for nginxLook again at the configuration file for your Pod. The Pod has an emptyDir volume, and the container mounts the volume at /usr/share/nginx/html.In your shell, create an index.html file in the /usr/share/nginx/html directory:# Run this inside the container echo 'Hello shell demo' > /usr/share/nginx/html/index.html In your shell, send a GET request to the nginx server:# Run this in the shell inside your container apt-get update apt-get install curl curl http://localhost/ The output shows the text that you wrote to the index.html file:Hello shell demo When you are finished with your shell, enter exit.exit # To quit the shell in the container Running individual commands in a containerIn an ordinary command window, not your shell, list the environment variables in the running container:kubectl exec shell-demo -- env Experiment with running other commands. Here are some examples:kubectl exec shell-demo -- ps aux kubectl exec shell-demo -- ls / kubectl exec shell-demo -- cat /proc/1/mounts Opening a shell when a Pod has more than one containerIf a Pod has more than one container, use --container or -c to specify a container in the kubectl exec command. For example, suppose you have a Pod named my-pod, and the Pod has two containers named main-app",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/get-shell-running-container/",
    "id": "k8s_00441_qa_8505"
  },
  {
    "question": "How does Get a Shell to a Running Container work?",
    "answer": "Get a Shell to a Running ContainerThis page shows how to use kubectl exec to get a shell to a running container.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesGetting a shell to a containerIn this exercise, you create a Pod that has one container. The container runs the nginx image. Here is the configuration file for the Pod:application/shell-demo.yaml apiVersion: v1 kind: Pod metadata: name: shell-demo spec: volumes: - name: shared-data emptyDir: {} containers: - name: nginx image: nginx volumeMounts: - name: shared-data mountPath: /usr/share/nginx/html hostNetwork: true dnsPolicy: Default Create the Pod:kubectl apply -f https://k8s.io/examples/application/shell-demo.yaml Verify that the container is running:kubectl get pod shell-demo Get a shell to the running container:kubectl exec --stdin --tty shell-demo -- /bin/bash Note:The double dash (--) separates the arguments you want to pass to the command from the kubectl arguments.In your shell, list the root directory:# Run this inside the container ls / In your shell, experiment with other commands. Here are some examples:# You can run these example commands inside the container ls / cat /proc/mounts cat /proc/1/maps apt-get update apt-get install -y tcpdump tcpdump apt-get install -y lsof lsof apt-get install -y procps ps aux ps aux | grep nginx Writing the root page for nginxLook again at the configuration file for your Pod. The Pod has an emptyDir volume, and the container mounts the volume at /usr/share/nginx/html.In your shell, create an index.html file in the /usr/share/nginx/html directory:# Run this inside the container echo 'Hello shell demo' > /usr/share/nginx/html/index.html In your shell, send a GET request to the nginx server:# Run this in the shell inside your container apt-get update apt-get install curl curl http://localhost/ The output shows the text that you wrote to the index.html file:Hello shell demo When you are finished with your shell, enter exit.exit # To quit the shell in the container Running individual commands in a containerIn an ordinary command window, not your shell, list the environment variables in the running container:kubectl exec shell-demo -- env Experiment with running other commands. Here are some examples:kubectl exec shell-demo -- ps aux kubectl exec shell-demo -- ls / kubectl exec shell-demo -- cat /proc/1/mounts Opening a shell when a Pod has more than one containerIf a Pod has more than one container, use --container or -c to specify a container in the kubectl exec command. For example, suppose you have a Pod named my-pod, and the Pod has two containers named main-app",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/get-shell-running-container/",
    "id": "k8s_00441_qa_8506"
  },
  {
    "question": "When would you use Get a Shell to a Running Container?",
    "answer": "Get a Shell to a Running ContainerThis page shows how to use kubectl exec to get a shell to a running container.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesGetting a shell to a containerIn this exercise, you create a Pod that has one container. The container runs the nginx image. Here is the configuration file for the Pod:application/shell-demo.yaml apiVersion: v1 kind: Pod metadata: name: shell-demo spec: volumes: - name: shared-data emptyDir: {} containers: - name: nginx image: nginx volumeMounts: - name: shared-data mountPath: /usr/share/nginx/html hostNetwork: true dnsPolicy: Default Create the Pod:kubectl apply -f https://k8s.io/examples/application/shell-demo.yaml Verify that the container is running:kubectl get pod shell-demo Get a shell to the running container:kubectl exec --stdin --tty shell-demo -- /bin/bash Note:The double dash (--) separates the arguments you want to pass to the command from the kubectl arguments.In your shell, list the root directory:# Run this inside the container ls / In your shell, experiment with other commands. Here are some examples:# You can run these example commands inside the container ls / cat /proc/mounts cat /proc/1/maps apt-get update apt-get install -y tcpdump tcpdump apt-get install -y lsof lsof apt-get install -y procps ps aux ps aux | grep nginx Writing the root page for nginxLook again at the configuration file for your Pod. The Pod has an emptyDir volume, and the container mounts the volume at /usr/share/nginx/html.In your shell, create an index.html file in the /usr/share/nginx/html directory:# Run this inside the container echo 'Hello shell demo' > /usr/share/nginx/html/index.html In your shell, send a GET request to the nginx server:# Run this in the shell inside your container apt-get update apt-get install curl curl http://localhost/ The output shows the text that you wrote to the index.html file:Hello shell demo When you are finished with your shell, enter exit.exit # To quit the shell in the container Running individual commands in a containerIn an ordinary command window, not your shell, list the environment variables in the running container:kubectl exec shell-demo -- env Experiment with running other commands. Here are some examples:kubectl exec shell-demo -- ps aux kubectl exec shell-demo -- ls / kubectl exec shell-demo -- cat /proc/1/mounts Opening a shell when a Pod has more than one containerIf a Pod has more than one container, use --container or -c to specify a container in the kubectl exec command. For example, suppose you have a Pod named my-pod, and the Pod has two containers named main-app",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/get-shell-running-container/",
    "id": "k8s_00441_qa_8507"
  },
  {
    "question": "What are the benefits of Get a Shell to a Running Container?",
    "answer": "Get a Shell to a Running ContainerThis page shows how to use kubectl exec to get a shell to a running container.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesGetting a shell to a containerIn this exercise, you create a Pod that has one container. The container runs the nginx image. Here is the configuration file for the Pod:application/shell-demo.yaml apiVersion: v1 kind: Pod metadata: name: shell-demo spec: volumes: - name: shared-data emptyDir: {} containers: - name: nginx image: nginx volumeMounts: - name: shared-data mountPath: /usr/share/nginx/html hostNetwork: true dnsPolicy: Default Create the Pod:kubectl apply -f https://k8s.io/examples/application/shell-demo.yaml Verify that the container is running:kubectl get pod shell-demo Get a shell to the running container:kubectl exec --stdin --tty shell-demo -- /bin/bash Note:The double dash (--) separates the arguments you want to pass to the command from the kubectl arguments.In your shell, list the root directory:# Run this inside the container ls / In your shell, experiment with other commands. Here are some examples:# You can run these example commands inside the container ls / cat /proc/mounts cat /proc/1/maps apt-get update apt-get install -y tcpdump tcpdump apt-get install -y lsof lsof apt-get install -y procps ps aux ps aux | grep nginx Writing the root page for nginxLook again at the configuration file for your Pod. The Pod has an emptyDir volume, and the container mounts the volume at /usr/share/nginx/html.In your shell, create an index.html file in the /usr/share/nginx/html directory:# Run this inside the container echo 'Hello shell demo' > /usr/share/nginx/html/index.html In your shell, send a GET request to the nginx server:# Run this in the shell inside your container apt-get update apt-get install curl curl http://localhost/ The output shows the text that you wrote to the index.html file:Hello shell demo When you are finished with your shell, enter exit.exit # To quit the shell in the container Running individual commands in a containerIn an ordinary command window, not your shell, list the environment variables in the running container:kubectl exec shell-demo -- env Experiment with running other commands. Here are some examples:kubectl exec shell-demo -- ps aux kubectl exec shell-demo -- ls / kubectl exec shell-demo -- cat /proc/1/mounts Opening a shell when a Pod has more than one containerIf a Pod has more than one container, use --container or -c to specify a container in the kubectl exec command. For example, suppose you have a Pod named my-pod, and the Pod has two containers named main-app",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/get-shell-running-container/",
    "id": "k8s_00441_qa_8508"
  },
  {
    "question": "What is Get a Shell to a Running Container?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   k u b e c t l   e x e c   t o   g e t   a   s h e l l   t o   a   r u n n i n g   c o n t a i n e r .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/get-shell-running-container/",
    "id": "k8s_00441_section_1_8509"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/get-shell-running-container/",
    "id": "k8s_00441_section_2_8510"
  },
  {
    "question": "What is Getting a shell to a container?",
    "answer": "I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   r u n s   t h e   n g i n x   i m a g e .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s h e l l - d e m o   s p e c :   v o l u m e s :   -   n a m e :   s h a r e d - d a t a   e m p t y D i r :   { }   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   v o l u m e M o u n t s :   -   n a m e :   s h a r e d - d a t a   m o u n t P a t h :   / u s r / s h a r e / n g i n x / h t m l   h o s t N e t w o r k :   t r u e   d n s P o l i c y :   D e f a u l t   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / s h e l l - d e m o . y a m l   V e r i f y   t h a t   t h e   c o n t a i n e r   i s   r u n n i n g :   k u b e c t l   g e t   p o d   s h e l l - d e m o   G e t   a   s h e l l   t o   t h e   r u n n i n g   c o n t a i n e r :   k u b e c t l   e x e c   - - s t d i n   - - t t y   s h e l l - d e m o   - -   / b i n / b a s h",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/get-shell-running-container/",
    "id": "k8s_00441_section_2_8511"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   y o u r   s h e l l ,   l i s t   t h e   r o o t   d i r e c t o r y :   #   R u n   t h i s   i n s i d e   t h e   c o n t a i n e r   l s   /   I n   y o u r   s h e l l ,   e x p e r i m e n t   w i t h   o t h e r   c o m m a n d s .   H e r e   a r e   s o m e   e x a m p l e s :   #   Y o u   c a n   r u n   t h e s e   e x a m p l e   c o m m a n d s   i n s i d e   t h e   c o n t a i n e r   l s   /   c a t   / p r o c / m o u n t s   c a t   / p r o c / 1 / m a p s   a p t - g e t   u p d a t e   a p t - g e t   i n s t a l l   - y   t c p d u m p   t c p d u m p   a p t - g e t   i n s t a l l   - y   l s o f   l s o f   a p t - g e t   i n s t a l l   - y   p r o c p s   p s   a u x   p s   a u x   |   g r e p   n g i n x",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/get-shell-running-container/",
    "id": "k8s_00441_section_4_8512"
  },
  {
    "question": "What is Writing the root page for nginx?",
    "answer": "L o o k   a g a i n   a t   t h e   c o n f i g u r a t i o n   f i l e   f o r   y o u r   P o d .   T h e   P o d   h a s   a n   e m p t y D i r   v o l u m e ,   a n d   t h e   c o n t a i n e r   m o u n t s   t h e   v o l u m e   a t   / u s r / s h a r e / n g i n x / h t m l .   I n   y o u r   s h e l l ,   c r e a t e   a n   i n d e x . h t m l   f i l e   i n   t h e   / u s r / s h a r e / n g i n x / h t m l   d i r e c t o r y :   #   R u n   t h i s   i n s i d e   t h e   c o n t a i n e r   e c h o   ' H e l l o   s h e l l   d e m o '   >   / u s r / s h a r e / n g i n x / h t m l / i n d e x . h t m l   I n   y o u r   s h e l l ,   s e n d   a   G E T   r e q u e s t   t o   t h e   n g i n x   s e r v e r :   #   R u n   t h i s   i n   t h e   s h e l l   i n s i d e   y o u r   c o n t a i n e r   a p t - g e t   u p d a t e   a p t - g e t   i n s t a l l   c u r l   c u r l   h t t p : / / l o c a l h o s t /   T h e   o u t p u t   s h o w s   t h e   t e x t   t h a t   y o u   w r o t e   t o   t h e   i n d e x . h t m l   f i l e :   H e l l o   s h e l l   d e m o   W h e n   y o u   a r e   f i n i s h e d   w i t h   y o u r   s h e l l ,   e n t e r   e x i t .   e x i t   #   T o   q u i t   t h e   s h e l l   i n   t h e   c o n t a i n e r",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/get-shell-running-container/",
    "id": "k8s_00441_section_2_8513"
  },
  {
    "question": "What is Running individual commands in a container?",
    "answer": "I n   a n   o r d i n a r y   c o m m a n d   w i n d o w ,   n o t   y o u r   s h e l l ,   l i s t   t h e   e n v i r o n m e n t   v a r i a b l e s   i n   t h e   r u n n i n g   c o n t a i n e r :   k u b e c t l   e x e c   s h e l l - d e m o   - -   e n v   E x p e r i m e n t   w i t h   r u n n i n g   o t h e r   c o m m a n d s .   H e r e   a r e   s o m e   e x a m p l e s :   k u b e c t l   e x e c   s h e l l - d e m o   - -   p s   a u x   k u b e c t l   e x e c   s h e l l - d e m o   - -   l s   /   k u b e c t l   e x e c   s h e l l - d e m o   - -   c a t   / p r o c / 1 / m o u n t s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/get-shell-running-container/",
    "id": "k8s_00441_section_2_8514"
  },
  {
    "question": "What is Opening a shell when a Pod has more than one container?",
    "answer": "I f   a   P o d   h a s   m o r e   t h a n   o n e   c o n t a i n e r ,   u s e   - - c o n t a i n e r   o r   - c   t o   s p e c i f y   a   c o n t a i n e r   i n   t h e   k u b e c t l   e x e c   c o m m a n d .   F o r   e x a m p l e ,   s u p p o s e   y o u   h a v e   a   P o d   n a m e d   m y - p o d ,   a n d   t h e   P o d   h a s   t w o   c o n t a i n e r s   n a m e d   m a i n - a p p   a n d   h e l p e r - a p p .   T h e   f o l l o w i n g   c o m m a n d   w o u l d   o p e n   a   s h e l l   t o   t h e   m a i n - a p p   c o n t a i n e r .   k u b e c t l   e x e c   - i   - t   m y - p o d   - - c o n t a i n e r   m a i n - a p p   - -   / b i n / b a s h",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/get-shell-running-container/",
    "id": "k8s_00441_section_2_8515"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   k u b e c t l   e x e c",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/get-shell-running-container/",
    "id": "k8s_00441_section_2_8516"
  },
  {
    "question": "What is ListMeta?",
    "answer": "ListMetaListMeta describes metadata that synthetic resources must have, including lists and various status objects.import \"k8s.io/apimachinery/pkg/apis/meta/v1\"ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.continue (string)continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.remainingItemCount (int64)remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is estimating the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.resourceVersion (string)String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistencyselfLink (string)Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/list-meta/",
    "id": "k8s_00442_qa_8517"
  },
  {
    "question": "How does ListMeta work?",
    "answer": "ListMetaListMeta describes metadata that synthetic resources must have, including lists and various status objects.import \"k8s.io/apimachinery/pkg/apis/meta/v1\"ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.continue (string)continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.remainingItemCount (int64)remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is estimating the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.resourceVersion (string)String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistencyselfLink (string)Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/list-meta/",
    "id": "k8s_00442_qa_8518"
  },
  {
    "question": "When would you use ListMeta?",
    "answer": "ListMetaListMeta describes metadata that synthetic resources must have, including lists and various status objects.import \"k8s.io/apimachinery/pkg/apis/meta/v1\"ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.continue (string)continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.remainingItemCount (int64)remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is estimating the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.resourceVersion (string)String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistencyselfLink (string)Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/list-meta/",
    "id": "k8s_00442_qa_8519"
  },
  {
    "question": "What are the benefits of ListMeta?",
    "answer": "ListMetaListMeta describes metadata that synthetic resources must have, including lists and various status objects.import \"k8s.io/apimachinery/pkg/apis/meta/v1\"ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.continue (string)continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.remainingItemCount (int64)remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is estimating the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.resourceVersion (string)String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistencyselfLink (string)Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/list-meta/",
    "id": "k8s_00442_qa_8520"
  },
  {
    "question": "What is ListMeta?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i m a c h i n e r y / p k g / a p i s / m e t a / v 1 \"   L i s t M e t a   d e s c r i b e s   m e t a d a t a   t h a t   s y n t h e t i c   r e s o u r c e s   m u s t   h a v e ,   i n c l u d i n g   l i s t s   a n d   v a r i o u s   s t a t u s   o b j e c t s .   A   r e s o u r c e   m a y   h a v e   o n l y   o n e   o f   { O b j e c t M e t a ,   L i s t M e t a } .   c o n t i n u e   ( s t r i n g ) c o n t i n u e   m a y   b e   s e t   i f   t h e   u s e r   s e t   a   l i m i t   o n   t h e   n u m b e r   o f   i t e m s   r e t u r n e d ,   a n d   i n d i c a t e s   t h a t   t h e   s e r v e r   h a s   m o r e   d a t a   a v a i l a b l e .   T h e   v a l u e   i s   o p a q u e   a n d   m a y   b e   u s e d   t o   i s s u e   a n o t h e r   r e q u e s t   t o   t h e   e n d p o i n t   t h a t   s e r v e d   t h i s   l i s t   t o   r e t r i e v e   t h e   n e x t   s e t   o f   a v a i l a b l e   o b j e c t s .   C o n t i n u i n g   a   c o n s i s t e n t   l i s t   m a y   n o t   b e   p o s s i b l e   i f   t h e   s e r v e r   c o n f i g u r a t i o n   h a s   c h a n g e d   o r   m o r e   t h a n   a   f e w   m i n u t e s   h a v e   p a s s e d .   T h e   r e s o u r c e V e r s i o n   f i e l d   r e t u r n e d   w h e n   u s i n g   t h i s   c o n t i n u e   v a l u e   w i l l   b e   i d e n t i c a l   t o   t h e   v a l u e   i n   t h e   f i r s t   r e s p o n s e ,   u n l e s s   y o u   h a v e   r e c e i v e d   t h i s   t o k e n   f r o m   a n   e r r o r   m e s s a g e . r e m a i n i n g I t e m C o u n t   ( i n t 6 4 ) r e m a i n i n g I t e m C o u n t   i s   t h e   n u m b e r   o f   s u b s e q u e n t   i t e m s   i n   t h e   l i s t   w h i c h   a r e   n o t   i n c l u d e d   i n   t h i s   l i s t   r e s p o n s e .   I f   t h e   l i s t   r e q u e s t   c o n t a i n e d   l a b e l   o r   f i e l d   s e l e c t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/list-meta/",
    "id": "k8s_00442_section_1_8521"
  },
  {
    "question": "What is Configuration APIs?",
    "answer": "Configuration APIsClient Authentication (v1)Client Authentication (v1beta1)Event Rate Limit Configuration (v1alpha1)Image Policy API (v1alpha1)kube-apiserver Admission (v1)kube-apiserver Audit Configuration (v1)kube-apiserver Configuration (v1)kube-apiserver Configuration (v1alpha1)kube-apiserver Configuration (v1beta1)kube-controller-manager Configuration (v1alpha1)kube-proxy Configuration (v1alpha1)kube-scheduler Configuration (v1)kubeadm Configuration (v1beta3)kubeadm Configuration (v1beta4)kubeconfig (v1)Kubelet Configuration (v1)Kubelet Configuration (v1alpha1)Kubelet Configuration (v1beta1)Kubelet CredentialProvider (v1)kuberc (v1alpha1)WebhookAdmission Configuration (v1)",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/",
    "id": "k8s_00443_qa_8522"
  },
  {
    "question": "How does Configuration APIs work?",
    "answer": "Configuration APIsClient Authentication (v1)Client Authentication (v1beta1)Event Rate Limit Configuration (v1alpha1)Image Policy API (v1alpha1)kube-apiserver Admission (v1)kube-apiserver Audit Configuration (v1)kube-apiserver Configuration (v1)kube-apiserver Configuration (v1alpha1)kube-apiserver Configuration (v1beta1)kube-controller-manager Configuration (v1alpha1)kube-proxy Configuration (v1alpha1)kube-scheduler Configuration (v1)kubeadm Configuration (v1beta3)kubeadm Configuration (v1beta4)kubeconfig (v1)Kubelet Configuration (v1)Kubelet Configuration (v1alpha1)Kubelet Configuration (v1beta1)Kubelet CredentialProvider (v1)kuberc (v1alpha1)WebhookAdmission Configuration (v1)",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/",
    "id": "k8s_00443_qa_8523"
  },
  {
    "question": "When would you use Configuration APIs?",
    "answer": "Configuration APIsClient Authentication (v1)Client Authentication (v1beta1)Event Rate Limit Configuration (v1alpha1)Image Policy API (v1alpha1)kube-apiserver Admission (v1)kube-apiserver Audit Configuration (v1)kube-apiserver Configuration (v1)kube-apiserver Configuration (v1alpha1)kube-apiserver Configuration (v1beta1)kube-controller-manager Configuration (v1alpha1)kube-proxy Configuration (v1alpha1)kube-scheduler Configuration (v1)kubeadm Configuration (v1beta3)kubeadm Configuration (v1beta4)kubeconfig (v1)Kubelet Configuration (v1)Kubelet Configuration (v1alpha1)Kubelet Configuration (v1beta1)Kubelet CredentialProvider (v1)kuberc (v1alpha1)WebhookAdmission Configuration (v1)",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/",
    "id": "k8s_00443_qa_8524"
  },
  {
    "question": "What are the benefits of Configuration APIs?",
    "answer": "Configuration APIsClient Authentication (v1)Client Authentication (v1beta1)Event Rate Limit Configuration (v1alpha1)Image Policy API (v1alpha1)kube-apiserver Admission (v1)kube-apiserver Audit Configuration (v1)kube-apiserver Configuration (v1)kube-apiserver Configuration (v1alpha1)kube-apiserver Configuration (v1beta1)kube-controller-manager Configuration (v1alpha1)kube-proxy Configuration (v1alpha1)kube-scheduler Configuration (v1)kubeadm Configuration (v1beta3)kubeadm Configuration (v1beta4)kubeconfig (v1)Kubelet Configuration (v1)Kubelet Configuration (v1alpha1)Kubelet Configuration (v1beta1)Kubelet CredentialProvider (v1)kuberc (v1alpha1)WebhookAdmission Configuration (v1)",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/",
    "id": "k8s_00443_qa_8525"
  },
  {
    "question": "What is kubectl set selector?",
    "answer": "kubectl set selectorSynopsisSet the selector on a resource. Note that the new selector will overwrite the old selector if the resource had one prior to the invocation of 'set selector'.A selector must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to 63 characters. If --resource-version is specified, then updates will use this resource version, otherwise the existing resource-version will be used. Note: currently selectors can only be set on Service objects.kubectl set selector (-f FILENAME | TYPE NAME) EXPRESSIONS [--resource-version=version] Examples # Set the labels and selector before creating a deployment/service pair kubectl create service clusterip my-svc --clusterip=\"None\" -o yaml --dry-run=client | kubectl set selector --local -f - 'environment=qa' -o yaml | kubectl create -f - kubectl create deployment my-dep -o yaml --dry-run=client | kubectl label --local -f - environment=qa -o yaml | kubectl create -f - Options--allSelect all resources in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-set\"Name of the manager used to track field ownership.-f, --filename stringsidentifying the resource.-h, --helphelp for selector--localIf true, annotation will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursive Default: trueProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--resource-version stringIf non-empty, the selectors update will only succeed if this is the current resource-version for the object. Only valid when specifying a single resource.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_selector/",
    "id": "k8s_00444_qa_8526"
  },
  {
    "question": "How does kubectl set selector work?",
    "answer": "kubectl set selectorSynopsisSet the selector on a resource. Note that the new selector will overwrite the old selector if the resource had one prior to the invocation of 'set selector'.A selector must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to 63 characters. If --resource-version is specified, then updates will use this resource version, otherwise the existing resource-version will be used. Note: currently selectors can only be set on Service objects.kubectl set selector (-f FILENAME | TYPE NAME) EXPRESSIONS [--resource-version=version] Examples # Set the labels and selector before creating a deployment/service pair kubectl create service clusterip my-svc --clusterip=\"None\" -o yaml --dry-run=client | kubectl set selector --local -f - 'environment=qa' -o yaml | kubectl create -f - kubectl create deployment my-dep -o yaml --dry-run=client | kubectl label --local -f - environment=qa -o yaml | kubectl create -f - Options--allSelect all resources in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-set\"Name of the manager used to track field ownership.-f, --filename stringsidentifying the resource.-h, --helphelp for selector--localIf true, annotation will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursive Default: trueProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--resource-version stringIf non-empty, the selectors update will only succeed if this is the current resource-version for the object. Only valid when specifying a single resource.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_selector/",
    "id": "k8s_00444_qa_8527"
  },
  {
    "question": "When would you use kubectl set selector?",
    "answer": "kubectl set selectorSynopsisSet the selector on a resource. Note that the new selector will overwrite the old selector if the resource had one prior to the invocation of 'set selector'.A selector must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to 63 characters. If --resource-version is specified, then updates will use this resource version, otherwise the existing resource-version will be used. Note: currently selectors can only be set on Service objects.kubectl set selector (-f FILENAME | TYPE NAME) EXPRESSIONS [--resource-version=version] Examples # Set the labels and selector before creating a deployment/service pair kubectl create service clusterip my-svc --clusterip=\"None\" -o yaml --dry-run=client | kubectl set selector --local -f - 'environment=qa' -o yaml | kubectl create -f - kubectl create deployment my-dep -o yaml --dry-run=client | kubectl label --local -f - environment=qa -o yaml | kubectl create -f - Options--allSelect all resources in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-set\"Name of the manager used to track field ownership.-f, --filename stringsidentifying the resource.-h, --helphelp for selector--localIf true, annotation will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursive Default: trueProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--resource-version stringIf non-empty, the selectors update will only succeed if this is the current resource-version for the object. Only valid when specifying a single resource.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_selector/",
    "id": "k8s_00444_qa_8528"
  },
  {
    "question": "What are the benefits of kubectl set selector?",
    "answer": "kubectl set selectorSynopsisSet the selector on a resource. Note that the new selector will overwrite the old selector if the resource had one prior to the invocation of 'set selector'.A selector must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to 63 characters. If --resource-version is specified, then updates will use this resource version, otherwise the existing resource-version will be used. Note: currently selectors can only be set on Service objects.kubectl set selector (-f FILENAME | TYPE NAME) EXPRESSIONS [--resource-version=version] Examples # Set the labels and selector before creating a deployment/service pair kubectl create service clusterip my-svc --clusterip=\"None\" -o yaml --dry-run=client | kubectl set selector --local -f - 'environment=qa' -o yaml | kubectl create -f - kubectl create deployment my-dep -o yaml --dry-run=client | kubectl label --local -f - environment=qa -o yaml | kubectl create -f - Options--allSelect all resources in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-set\"Name of the manager used to track field ownership.-f, --filename stringsidentifying the resource.-h, --helphelp for selector--localIf true, annotation will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursive Default: trueProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--resource-version stringIf non-empty, the selectors update will only succeed if this is the current resource-version for the object. Only valid when specifying a single resource.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_selector/",
    "id": "k8s_00444_qa_8529"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S e t   t h e   s e l e c t o r   o n   a   r e s o u r c e .   N o t e   t h a t   t h e   n e w   s e l e c t o r   w i l l   o v e r w r i t e   t h e   o l d   s e l e c t o r   i f   t h e   r e s o u r c e   h a d   o n e   p r i o r   t o   t h e   i n v o c a t i o n   o f   ' s e t   s e l e c t o r ' .   A   s e l e c t o r   m u s t   b e g i n   w i t h   a   l e t t e r   o r   n u m b e r ,   a n d   m a y   c o n t a i n   l e t t e r s ,   n u m b e r s ,   h y p h e n s ,   d o t s ,   a n d   u n d e r s c o r e s ,   u p   t o   6 3   c h a r a c t e r s .   I f   - - r e s o u r c e - v e r s i o n   i s   s p e c i f i e d ,   t h e n   u p d a t e s   w i l l   u s e   t h i s   r e s o u r c e   v e r s i o n ,   o t h e r w i s e   t h e   e x i s t i n g   r e s o u r c e - v e r s i o n   w i l l   b e   u s e d .   N o t e :   c u r r e n t l y   s e l e c t o r s   c a n   o n l y   b e   s e t   o n   S e r v i c e   o b j e c t s .   k u b e c t l   s e t   s e l e c t o r   ( - f   F I L E N A M E   |   T Y P E   N A M E )   E X P R E S S I O N S   [ - - r e s o u r c e - v e r s i o n = v e r s i o n ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_selector/",
    "id": "k8s_00444_section_2_8530"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   t h e   l a b e l s   a n d   s e l e c t o r   b e f o r e   c r e a t i n g   a   d e p l o y m e n t / s e r v i c e   p a i r   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   m y - s v c   - - c l u s t e r i p = \" N o n e \"   - o   y a m l   - - d r y - r u n = c l i e n t   |   k u b e c t l   s e t   s e l e c t o r   - - l o c a l   - f   -   ' e n v i r o n m e n t = q a '   - o   y a m l   |   k u b e c t l   c r e a t e   - f   -   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - o   y a m l   - - d r y - r u n = c l i e n t   |   k u b e c t l   l a b e l   - - l o c a l   - f   -   e n v i r o n m e n t = q a   - o   y a m l   |   k u b e c t l   c r e a t e   - f   -",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_selector/",
    "id": "k8s_00444_section_2_8531"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   i d e n t i f y i n g   t h e   r e s o u r c e .   h e l p   f o r   s e l e c t o r   I f   t r u e ,   a n n o t a t i o n   w i l l   N O T   c o n t a c t   a p i - s e r v e r   b u t   r u n   l o c a l l y .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   I f   n o n - e m p t y ,   t h e   s e l e c t o r s   u p d a t e   w i l l   o n l y   s u c c e e d   i f   t h i s   i s   t h e   c u r r e n t   r e s o u r c e - v e r s i o n   f o r   t h e   o b j e c t .   O n l y   v a l i d   w h e n   s p e c i f y i n g   a   s i ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_selector/",
    "id": "k8s_00444_section_2_8532"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_selector/",
    "id": "k8s_00444_section_2_8533"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   s e t   -   S e t   s p e c i f i c   f e a t u r e s   o n   o b j e c t s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_selector/",
    "id": "k8s_00444_section_2_8534"
  },
  {
    "question": "What is Kubernetes Issue Tracker?",
    "answer": "Kubernetes Issue TrackerTo report a security issue, please follow the Kubernetes security disclosure process.Work on Kubernetes code and public issues are tracked using GitHub Issues.Official list of known CVEs (security vulnerabilities) that have been announced by the Security Response CommitteeCVE-related GitHub issuesSecurity-related announcements are sent to the kubernetes-security-announce@googlegroups.com mailing list.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/issues-security/issues/",
    "id": "k8s_00445_qa_8535"
  },
  {
    "question": "How does Kubernetes Issue Tracker work?",
    "answer": "Kubernetes Issue TrackerTo report a security issue, please follow the Kubernetes security disclosure process.Work on Kubernetes code and public issues are tracked using GitHub Issues.Official list of known CVEs (security vulnerabilities) that have been announced by the Security Response CommitteeCVE-related GitHub issuesSecurity-related announcements are sent to the kubernetes-security-announce@googlegroups.com mailing list.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/issues-security/issues/",
    "id": "k8s_00445_qa_8536"
  },
  {
    "question": "When would you use Kubernetes Issue Tracker?",
    "answer": "Kubernetes Issue TrackerTo report a security issue, please follow the Kubernetes security disclosure process.Work on Kubernetes code and public issues are tracked using GitHub Issues.Official list of known CVEs (security vulnerabilities) that have been announced by the Security Response CommitteeCVE-related GitHub issuesSecurity-related announcements are sent to the kubernetes-security-announce@googlegroups.com mailing list.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/issues-security/issues/",
    "id": "k8s_00445_qa_8537"
  },
  {
    "question": "What are the benefits of Kubernetes Issue Tracker?",
    "answer": "Kubernetes Issue TrackerTo report a security issue, please follow the Kubernetes security disclosure process.Work on Kubernetes code and public issues are tracked using GitHub Issues.Official list of known CVEs (security vulnerabilities) that have been announced by the Security Response CommitteeCVE-related GitHub issuesSecurity-related announcements are sent to the kubernetes-security-announce@googlegroups.com mailing list.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/issues-security/issues/",
    "id": "k8s_00445_qa_8538"
  },
  {
    "question": "What is Kubernetes Issue Tracker?",
    "answer": "T o   r e p o r t   a   s e c u r i t y   i s s u e ,   p l e a s e   f o l l o w   t h e   K u b e r n e t e s   s e c u r i t y   d i s c l o s u r e   p r o c e s s .   W o r k   o n   K u b e r n e t e s   c o d e   a n d   p u b l i c   i s s u e s   a r e   t r a c k e d   u s i n g   G i t H u b   I s s u e s .   O f f i c i a l   l i s t   o f   k n o w n   C V E s   ( s e c u r i t y   v u l n e r a b i l i t i e s )   t h a t   h a v e   b e e n   a n n o u n c e d   b y   t h e   S e c u r i t y   R e s p o n s e   C o m m i t t e e C V E - r e l a t e d   G i t H u b   i s s u e s   S e c u r i t y - r e l a t e d   a n n o u n c e m e n t s   a r e   s e n t   t o   t h e   k u b e r n e t e s - s e c u r i t y - a n n o u n c e @ g o o g l e g r o u p s . c o m   m a i l i n g   l i s t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/issues-security/issues/",
    "id": "k8s_00445_section_1_8539"
  },
  {
    "question": "What is Example: Deploying PHP Guestbook application with Redis?",
    "answer": "Example: Deploying PHP Guestbook application with RedisThis tutorial shows you how to build and deploy a simple (not production ready), multi-tier web application using Kubernetes and Docker. This example consists of the following components:A single-instance Redis to store guestbook entriesMultiple web frontend instancesObjectivesStart up a Redis leader.Start up two Redis followers.Start up the guestbook frontend.Expose and view the Frontend Service.Clean up.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.14.To check the version, enter kubectl version.Start up the Redis DatabaseThe guestbook application uses Redis to store its data.Creating the Redis DeploymentThe manifest file, included below, specifies a Deployment controller that runs a single replica Redis Pod.application/guestbook/redis-leader-deployment.yaml # SOURCE: https://cloud.google.com/kubernetes-engine/docs/tutorials/guestbook apiVersion: apps/v1 kind: Deployment metadata: name: redis-leader labels: app: redis role: leader tier: backend spec: replicas: 1 selector: matchLabels: app: redis template: metadata: labels: app: redis role: leader tier: backend spec: containers: - name: leader image: \"docker.io/redis:6.0.5\" resources: requests: cpu: 100m memory: 100Mi ports: - containerPort: 6379Launch a terminal window in the directory you downloaded the manifest files.Apply the Redis Deployment from the redis-leader-deployment.yaml file:kubectl apply -f https://k8s.io/examples/application/guestbook/redis-leader-deployment.yaml Query the list of Pods to verify that the Redis Pod is running:kubectl get pods The response should be similar to this:NAME READY STATUS RESTARTS AGE redis-leader-fb76b4755-xjr2n 1/1 Running 0 13s Run the following command to view the logs from the Redis leader Pod:kubectl logs -f deployment/redis-leader Creating the Redis leader ServiceThe guestbook application needs to communicate to the Redis to write its data. You need to apply a Service to proxy the traffic to the Redis Pod. A Service defines a policy to access the Pods.application/guestbook/redis-leader-service.yaml # SOURCE: https://cloud.google.com/kubernetes-engine/docs/tutorials/guestbook apiVersion: v1 kind: Service metadata: name: redis-leader labels: app: redis role: leader tier: backend spec: ports: - port: 6379 targetPort: 6379 selector: app: redis role: leader tier: backendApply the Redis Service from the following redis-leader-service.yaml file:kubectl apply -f https://k8s.io/examples/application/guestbook/redis-leader-service.yaml Query the list of Services",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/guestbook/",
    "id": "k8s_00446_qa_8540"
  },
  {
    "question": "How does Example: Deploying PHP Guestbook application with Redis work?",
    "answer": "Example: Deploying PHP Guestbook application with RedisThis tutorial shows you how to build and deploy a simple (not production ready), multi-tier web application using Kubernetes and Docker. This example consists of the following components:A single-instance Redis to store guestbook entriesMultiple web frontend instancesObjectivesStart up a Redis leader.Start up two Redis followers.Start up the guestbook frontend.Expose and view the Frontend Service.Clean up.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.14.To check the version, enter kubectl version.Start up the Redis DatabaseThe guestbook application uses Redis to store its data.Creating the Redis DeploymentThe manifest file, included below, specifies a Deployment controller that runs a single replica Redis Pod.application/guestbook/redis-leader-deployment.yaml # SOURCE: https://cloud.google.com/kubernetes-engine/docs/tutorials/guestbook apiVersion: apps/v1 kind: Deployment metadata: name: redis-leader labels: app: redis role: leader tier: backend spec: replicas: 1 selector: matchLabels: app: redis template: metadata: labels: app: redis role: leader tier: backend spec: containers: - name: leader image: \"docker.io/redis:6.0.5\" resources: requests: cpu: 100m memory: 100Mi ports: - containerPort: 6379Launch a terminal window in the directory you downloaded the manifest files.Apply the Redis Deployment from the redis-leader-deployment.yaml file:kubectl apply -f https://k8s.io/examples/application/guestbook/redis-leader-deployment.yaml Query the list of Pods to verify that the Redis Pod is running:kubectl get pods The response should be similar to this:NAME READY STATUS RESTARTS AGE redis-leader-fb76b4755-xjr2n 1/1 Running 0 13s Run the following command to view the logs from the Redis leader Pod:kubectl logs -f deployment/redis-leader Creating the Redis leader ServiceThe guestbook application needs to communicate to the Redis to write its data. You need to apply a Service to proxy the traffic to the Redis Pod. A Service defines a policy to access the Pods.application/guestbook/redis-leader-service.yaml # SOURCE: https://cloud.google.com/kubernetes-engine/docs/tutorials/guestbook apiVersion: v1 kind: Service metadata: name: redis-leader labels: app: redis role: leader tier: backend spec: ports: - port: 6379 targetPort: 6379 selector: app: redis role: leader tier: backendApply the Redis Service from the following redis-leader-service.yaml file:kubectl apply -f https://k8s.io/examples/application/guestbook/redis-leader-service.yaml Query the list of Services",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/guestbook/",
    "id": "k8s_00446_qa_8541"
  },
  {
    "question": "When would you use Example: Deploying PHP Guestbook application with Redis?",
    "answer": "Example: Deploying PHP Guestbook application with RedisThis tutorial shows you how to build and deploy a simple (not production ready), multi-tier web application using Kubernetes and Docker. This example consists of the following components:A single-instance Redis to store guestbook entriesMultiple web frontend instancesObjectivesStart up a Redis leader.Start up two Redis followers.Start up the guestbook frontend.Expose and view the Frontend Service.Clean up.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.14.To check the version, enter kubectl version.Start up the Redis DatabaseThe guestbook application uses Redis to store its data.Creating the Redis DeploymentThe manifest file, included below, specifies a Deployment controller that runs a single replica Redis Pod.application/guestbook/redis-leader-deployment.yaml # SOURCE: https://cloud.google.com/kubernetes-engine/docs/tutorials/guestbook apiVersion: apps/v1 kind: Deployment metadata: name: redis-leader labels: app: redis role: leader tier: backend spec: replicas: 1 selector: matchLabels: app: redis template: metadata: labels: app: redis role: leader tier: backend spec: containers: - name: leader image: \"docker.io/redis:6.0.5\" resources: requests: cpu: 100m memory: 100Mi ports: - containerPort: 6379Launch a terminal window in the directory you downloaded the manifest files.Apply the Redis Deployment from the redis-leader-deployment.yaml file:kubectl apply -f https://k8s.io/examples/application/guestbook/redis-leader-deployment.yaml Query the list of Pods to verify that the Redis Pod is running:kubectl get pods The response should be similar to this:NAME READY STATUS RESTARTS AGE redis-leader-fb76b4755-xjr2n 1/1 Running 0 13s Run the following command to view the logs from the Redis leader Pod:kubectl logs -f deployment/redis-leader Creating the Redis leader ServiceThe guestbook application needs to communicate to the Redis to write its data. You need to apply a Service to proxy the traffic to the Redis Pod. A Service defines a policy to access the Pods.application/guestbook/redis-leader-service.yaml # SOURCE: https://cloud.google.com/kubernetes-engine/docs/tutorials/guestbook apiVersion: v1 kind: Service metadata: name: redis-leader labels: app: redis role: leader tier: backend spec: ports: - port: 6379 targetPort: 6379 selector: app: redis role: leader tier: backendApply the Redis Service from the following redis-leader-service.yaml file:kubectl apply -f https://k8s.io/examples/application/guestbook/redis-leader-service.yaml Query the list of Services",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/guestbook/",
    "id": "k8s_00446_qa_8542"
  },
  {
    "question": "What are the benefits of Example: Deploying PHP Guestbook application with Redis?",
    "answer": "Example: Deploying PHP Guestbook application with RedisThis tutorial shows you how to build and deploy a simple (not production ready), multi-tier web application using Kubernetes and Docker. This example consists of the following components:A single-instance Redis to store guestbook entriesMultiple web frontend instancesObjectivesStart up a Redis leader.Start up two Redis followers.Start up the guestbook frontend.Expose and view the Frontend Service.Clean up.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.14.To check the version, enter kubectl version.Start up the Redis DatabaseThe guestbook application uses Redis to store its data.Creating the Redis DeploymentThe manifest file, included below, specifies a Deployment controller that runs a single replica Redis Pod.application/guestbook/redis-leader-deployment.yaml # SOURCE: https://cloud.google.com/kubernetes-engine/docs/tutorials/guestbook apiVersion: apps/v1 kind: Deployment metadata: name: redis-leader labels: app: redis role: leader tier: backend spec: replicas: 1 selector: matchLabels: app: redis template: metadata: labels: app: redis role: leader tier: backend spec: containers: - name: leader image: \"docker.io/redis:6.0.5\" resources: requests: cpu: 100m memory: 100Mi ports: - containerPort: 6379Launch a terminal window in the directory you downloaded the manifest files.Apply the Redis Deployment from the redis-leader-deployment.yaml file:kubectl apply -f https://k8s.io/examples/application/guestbook/redis-leader-deployment.yaml Query the list of Pods to verify that the Redis Pod is running:kubectl get pods The response should be similar to this:NAME READY STATUS RESTARTS AGE redis-leader-fb76b4755-xjr2n 1/1 Running 0 13s Run the following command to view the logs from the Redis leader Pod:kubectl logs -f deployment/redis-leader Creating the Redis leader ServiceThe guestbook application needs to communicate to the Redis to write its data. You need to apply a Service to proxy the traffic to the Redis Pod. A Service defines a policy to access the Pods.application/guestbook/redis-leader-service.yaml # SOURCE: https://cloud.google.com/kubernetes-engine/docs/tutorials/guestbook apiVersion: v1 kind: Service metadata: name: redis-leader labels: app: redis role: leader tier: backend spec: ports: - port: 6379 targetPort: 6379 selector: app: redis role: leader tier: backendApply the Redis Service from the following redis-leader-service.yaml file:kubectl apply -f https://k8s.io/examples/application/guestbook/redis-leader-service.yaml Query the list of Services",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/guestbook/",
    "id": "k8s_00446_qa_8543"
  },
  {
    "question": "What is Example: Deploying PHP Guestbook application with Redis?",
    "answer": "T h i s   t u t o r i a l   s h o w s   y o u   h o w   t o   b u i l d   a n d   d e p l o y   a   s i m p l e   ( n o t   p r o d u c t i o n   r e a d y ) ,   m u l t i - t i e r   w e b   a p p l i c a t i o n   u s i n g   K u b e r n e t e s   a n d   D o c k e r .   T h i s   e x a m p l e   c o n s i s t s   o f   t h e   f o l l o w i n g   c o m p o n e n t s :   A   s i n g l e - i n s t a n c e   R e d i s   t o   s t o r e   g u e s t b o o k   e n t r i e s M u l t i p l e   w e b   f r o n t e n d   i n s t a n c e s",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/guestbook/",
    "id": "k8s_00446_section_1_8544"
  },
  {
    "question": "What is Objectives?",
    "answer": "S t a r t   u p   a   R e d i s   l e a d e r . S t a r t   u p   t w o   R e d i s   f o l l o w e r s . S t a r t   u p   t h e   g u e s t b o o k   f r o n t e n d . E x p o s e   a n d   v i e w   t h e   F r o n t e n d   S e r v i c e . C l e a n   u p .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/guestbook/",
    "id": "k8s_00446_section_2_8545"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/guestbook/",
    "id": "k8s_00446_section_2_8546"
  },
  {
    "question": "What is Start up the Redis Database?",
    "answer": "T h e   g u e s t b o o k   a p p l i c a t i o n   u s e s   R e d i s   t o   s t o r e   i t s   d a t a .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/guestbook/",
    "id": "k8s_00446_section_2_8547"
  },
  {
    "question": "What is Creating the Redis Deployment?",
    "answer": "T h e   m a n i f e s t   f i l e ,   i n c l u d e d   b e l o w ,   s p e c i f i e s   a   D e p l o y m e n t   c o n t r o l l e r   t h a t   r u n s   a   s i n g l e   r e p l i c a   R e d i s   P o d .   #   S O U R C E :   h t t p s : / / c l o u d . g o o g l e . c o m / k u b e r n e t e s - e n g i n e / d o c s / t u t o r i a l s / g u e s t b o o k   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   r e d i s - l e a d e r   l a b e l s :   a p p :   r e d i s   r o l e :   l e a d e r   t i e r :   b a c k e n d   s p e c :   r e p l i c a s :   1   s e l e c t o r :   m a t c h L a b e l s :   a p p :   r e d i s   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   r e d i s   r o l e :   l e a d e r   t i e r :   b a c k e n d   s p e c :   c o n t a i n e r s :   -   n a m e :   l e a d e r   i m a g e :   \" d o c k e r . i o / r e d i s : 6 . 0 . 5 \"   r e s o u r c e s :   r e q u e s t s :   c p u :   1 0 0 m   m e m o r y :   1 0 0 M i   p o r t s :   -   c o n t a i n e r P o r t :   6 3 7 9   L a u n c h   a   t e r m i n a l   w i n d o w   i n   t h e   d i r e c t o r y   y o u   d o w n l o a d e d   t h e   m a n i f e s t   f i l e s . A p p l y   t h e   R e d i s   D e p l o y m e n t   f r o m   t h e   r e d i s - l e a d e r - d e p l o y m e n t . y a m l   f i l e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / g u e s t b o o k / r e d i s - l e a d e r - d e p l o y m e n t . y a m l   Q u e r y   t h e   l i s t   o f   P o d s   t o   v e r i f y   t h a t   t h e   R e d i s   P o d   i s   r u n n i n g : k u b e c t l   g e t   p o d s   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   r e d i s - l e a d e r - f b 7 6 b 4 7 5 5 - x j r 2 n   1 / 1   R u n n i n g   0   1 3 s   R u n   t h e   f o l l ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/guestbook/",
    "id": "k8s_00446_section_3_8548"
  },
  {
    "question": "What is Creating the Redis leader Service?",
    "answer": "T h e   g u e s t b o o k   a p p l i c a t i o n   n e e d s   t o   c o m m u n i c a t e   t o   t h e   R e d i s   t o   w r i t e   i t s   d a t a .   Y o u   n e e d   t o   a p p l y   a   S e r v i c e   t o   p r o x y   t h e   t r a f f i c   t o   t h e   R e d i s   P o d .   A   S e r v i c e   d e f i n e s   a   p o l i c y   t o   a c c e s s   t h e   P o d s .   #   S O U R C E :   h t t p s : / / c l o u d . g o o g l e . c o m / k u b e r n e t e s - e n g i n e / d o c s / t u t o r i a l s / g u e s t b o o k   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   r e d i s - l e a d e r   l a b e l s :   a p p :   r e d i s   r o l e :   l e a d e r   t i e r :   b a c k e n d   s p e c :   p o r t s :   -   p o r t :   6 3 7 9   t a r g e t P o r t :   6 3 7 9   s e l e c t o r :   a p p :   r e d i s   r o l e :   l e a d e r   t i e r :   b a c k e n d   A p p l y   t h e   R e d i s   S e r v i c e   f r o m   t h e   f o l l o w i n g   r e d i s - l e a d e r - s e r v i c e . y a m l   f i l e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / g u e s t b o o k / r e d i s - l e a d e r - s e r v i c e . y a m l   Q u e r y   t h e   l i s t   o f   S e r v i c e s   t o   v e r i f y   t h a t   t h e   R e d i s   S e r v i c e   i s   r u n n i n g : k u b e c t l   g e t   s e r v i c e   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o   t h i s : N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   k u b e r n e t e s   C l u s t e r I P   1 0 . 0 . 0 . 1   < n o n e >   4 4 3 / T C P   1 m   r e d i s - l e a d e r   C l u s t e r I P   1 0 . 1 0 3 . 7 8 . 2 4   < n o n e >   6 3 7 9 / T C P   1 6 s   A p p l y   t h e   R e d i s   S e r v i c e   f r o m   t h e   f o l l o w i n g   r e d i s - l e a d e r - s e r v i c e . y a m l   f i l e :   k u b e c t l   a p p l y   - f   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/guestbook/",
    "id": "k8s_00446_section_3_8549"
  },
  {
    "question": "What is Set up Redis followers?",
    "answer": "A l t h o u g h   t h e   R e d i s   l e a d e r   i s   a   s i n g l e   P o d ,   y o u   c a n   m a k e   i t   h i g h l y   a v a i l a b l e   a n d   m e e t   t r a f f i c   d e m a n d s   b y   a d d i n g   a   f e w   R e d i s   f o l l o w e r s ,   o r   r e p l i c a s .   #   S O U R C E :   h t t p s : / / c l o u d . g o o g l e . c o m / k u b e r n e t e s - e n g i n e / d o c s / t u t o r i a l s / g u e s t b o o k   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   r e d i s - f o l l o w e r   l a b e l s :   a p p :   r e d i s   r o l e :   f o l l o w e r   t i e r :   b a c k e n d   s p e c :   r e p l i c a s :   2   s e l e c t o r :   m a t c h L a b e l s :   a p p :   r e d i s   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   r e d i s   r o l e :   f o l l o w e r   t i e r :   b a c k e n d   s p e c :   c o n t a i n e r s :   -   n a m e :   f o l l o w e r   i m a g e :   u s - d o c k e r . p k g . d e v / g o o g l e - s a m p l e s / c o n t a i n e r s / g k e / g b - r e d i s - f o l l o w e r : v 2   r e s o u r c e s :   r e q u e s t s :   c p u :   1 0 0 m   m e m o r y :   1 0 0 M i   p o r t s :   -   c o n t a i n e r P o r t :   6 3 7 9   A p p l y   t h e   R e d i s   D e p l o y m e n t   f r o m   t h e   f o l l o w i n g   r e d i s - f o l l o w e r - d e p l o y m e n t . y a m l   f i l e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / g u e s t b o o k / r e d i s - f o l l o w e r - d e p l o y m e n t . y a m l   V e r i f y   t h a t   t h e   t w o   R e d i s   f o l l o w e r   r e p l i c a s   a r e   r u n n i n g   b y   q u e r y i n g   t h e   l i s t   o f   P o d s : k u b e c t l   g e t   p o d s   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   r e d i s - ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/guestbook/",
    "id": "k8s_00446_section_3_8550"
  },
  {
    "question": "What is Creating the Redis follower service?",
    "answer": "T h e   g u e s t b o o k   a p p l i c a t i o n   n e e d s   t o   c o m m u n i c a t e   w i t h   t h e   R e d i s   f o l l o w e r s   t o   r e a d   d a t a .   T o   m a k e   t h e   R e d i s   f o l l o w e r s   d i s c o v e r a b l e ,   y o u   m u s t   s e t   u p   a n o t h e r   S e r v i c e .   #   S O U R C E :   h t t p s : / / c l o u d . g o o g l e . c o m / k u b e r n e t e s - e n g i n e / d o c s / t u t o r i a l s / g u e s t b o o k   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   r e d i s - f o l l o w e r   l a b e l s :   a p p :   r e d i s   r o l e :   f o l l o w e r   t i e r :   b a c k e n d   s p e c :   p o r t s :   #   t h e   p o r t   t h a t   t h i s   s e r v i c e   s h o u l d   s e r v e   o n   -   p o r t :   6 3 7 9   s e l e c t o r :   a p p :   r e d i s   r o l e :   f o l l o w e r   t i e r :   b a c k e n d   A p p l y   t h e   R e d i s   S e r v i c e   f r o m   t h e   f o l l o w i n g   r e d i s - f o l l o w e r - s e r v i c e . y a m l   f i l e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / g u e s t b o o k / r e d i s - f o l l o w e r - s e r v i c e . y a m l   Q u e r y   t h e   l i s t   o f   S e r v i c e s   t o   v e r i f y   t h a t   t h e   R e d i s   S e r v i c e   i s   r u n n i n g : k u b e c t l   g e t   s e r v i c e   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o   t h i s : N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   k u b e r n e t e s   C l u s t e r I P   1 0 . 9 6 . 0 . 1   < n o n e >   4 4 3 / T C P   3 d 1 9 h   r e d i s - f o l l o w e r   C l u s t e r I P   1 0 . 1 1 0 . 1 6 2 . 4 2   < n o n e >   6 3 7 9 / T C P   9 s   r e d i s - l e a d e r   C l u s t e r I P   1 0 . 1 0 3 . 7 8 . 2 4   < n o n e >   6 3 7 9 / T C P   6 m 1 0 s   A p p l y   t h e   R e d i s   S e r v i c ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/guestbook/",
    "id": "k8s_00446_section_3_8551"
  },
  {
    "question": "What is Set up and Expose the Guestbook Frontend?",
    "answer": "N o w   t h a t   y o u   h a v e   t h e   R e d i s   s t o r a g e   o f   y o u r   g u e s t b o o k   u p   a n d   r u n n i n g ,   s t a r t   t h e   g u e s t b o o k   w e b   s e r v e r s .   L i k e   t h e   R e d i s   f o l l o w e r s ,   t h e   f r o n t e n d   i s   d e p l o y e d   u s i n g   a   K u b e r n e t e s   D e p l o y m e n t .   T h e   g u e s t b o o k   a p p   u s e s   a   P H P   f r o n t e n d .   I t   i s   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   e i t h e r   t h e   R e d i s   f o l l o w e r   o r   l e a d e r   S e r v i c e s ,   d e p e n d i n g   o n   w h e t h e r   t h e   r e q u e s t   i s   a   r e a d   o r   a   w r i t e .   T h e   f r o n t e n d   e x p o s e s   a   J S O N   i n t e r f a c e ,   a n d   s e r v e s   a   j Q u e r y - A j a x - b a s e d   U X .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/guestbook/",
    "id": "k8s_00446_section_2_8552"
  },
  {
    "question": "What is Creating the Guestbook Frontend Deployment?",
    "answer": "#   S O U R C E :   h t t p s : / / c l o u d . g o o g l e . c o m / k u b e r n e t e s - e n g i n e / d o c s / t u t o r i a l s / g u e s t b o o k   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   f r o n t e n d   s p e c :   r e p l i c a s :   3   s e l e c t o r :   m a t c h L a b e l s :   a p p :   g u e s t b o o k   t i e r :   f r o n t e n d   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   g u e s t b o o k   t i e r :   f r o n t e n d   s p e c :   c o n t a i n e r s :   -   n a m e :   p h p - r e d i s   i m a g e :   u s - d o c k e r . p k g . d e v / g o o g l e - s a m p l e s / c o n t a i n e r s / g k e / g b - f r o n t e n d : v 5   e n v :   -   n a m e :   G E T _ H O S T S _ F R O M   v a l u e :   \" d n s \"   r e s o u r c e s :   r e q u e s t s :   c p u :   1 0 0 m   m e m o r y :   1 0 0 M i   p o r t s :   -   c o n t a i n e r P o r t :   8 0   A p p l y   t h e   f r o n t e n d   D e p l o y m e n t   f r o m   t h e   f r o n t e n d - d e p l o y m e n t . y a m l   f i l e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / g u e s t b o o k / f r o n t e n d - d e p l o y m e n t . y a m l   Q u e r y   t h e   l i s t   o f   P o d s   t o   v e r i f y   t h a t   t h e   t h r e e   f r o n t e n d   r e p l i c a s   a r e   r u n n i n g : k u b e c t l   g e t   p o d s   - l   a p p = g u e s t b o o k   - l   t i e r = f r o n t e n d   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   f r o n t e n d - 8 5 5 9 5 f 5 b f 9 - 5 t q h b   1 / 1   R u n n i n g   0   4 7 s   f r o n t e n d - 8 5 5 9 5 f 5 b f 9 - q b z w m   1 / 1   R u n n i n g   0   4 7 s   f r o n t e n d - 8 5 5 9 5 f 5 b f 9 - z c h w c   1 / 1   R u n n i n g   0   4 7 s   A p p l y   t h e   f r o n t e n d   D e p l o ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/guestbook/",
    "id": "k8s_00446_section_3_8553"
  },
  {
    "question": "What is Creating the Frontend Service?",
    "answer": "T h e   R e d i s   S e r v i c e s   y o u   a p p l i e d   i s   o n l y   a c c e s s i b l e   w i t h i n   t h e   K u b e r n e t e s   c l u s t e r   b e c a u s e   t h e   d e f a u l t   t y p e   f o r   a   S e r v i c e   i s   C l u s t e r I P .   C l u s t e r I P   p r o v i d e s   a   s i n g l e   I P   a d d r e s s   f o r   t h e   s e t   o f   P o d s   t h e   S e r v i c e   i s   p o i n t i n g   t o .   T h i s   I P   a d d r e s s   i s   a c c e s s i b l e   o n l y   w i t h i n   t h e   c l u s t e r .   I f   y o u   w a n t   g u e s t s   t o   b e   a b l e   t o   a c c e s s   y o u r   g u e s t b o o k ,   y o u   m u s t   c o n f i g u r e   t h e   f r o n t e n d   S e r v i c e   t o   b e   e x t e r n a l l y   v i s i b l e ,   s o   a   c l i e n t   c a n   r e q u e s t   t h e   S e r v i c e   f r o m   o u t s i d e   t h e   K u b e r n e t e s   c l u s t e r .   H o w e v e r   a   K u b e r n e t e s   u s e r   c a n   u s e   k u b e c t l   p o r t - f o r w a r d   t o   a c c e s s   t h e   s e r v i c e   e v e n   t h o u g h   i t   u s e s   a   C l u s t e r I P .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/guestbook/",
    "id": "k8s_00446_section_3_8554"
  },
  {
    "question": "What is Note:?",
    "answer": "#   S O U R C E :   h t t p s : / / c l o u d . g o o g l e . c o m / k u b e r n e t e s - e n g i n e / d o c s / t u t o r i a l s / g u e s t b o o k   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   f r o n t e n d   l a b e l s :   a p p :   g u e s t b o o k   t i e r :   f r o n t e n d   s p e c :   #   i f   y o u r   c l u s t e r   s u p p o r t s   i t ,   u n c o m m e n t   t h e   f o l l o w i n g   t o   a u t o m a t i c a l l y   c r e a t e   #   a n   e x t e r n a l   l o a d - b a l a n c e d   I P   f o r   t h e   f r o n t e n d   s e r v i c e .   #   t y p e :   L o a d B a l a n c e r   # t y p e :   L o a d B a l a n c e r   p o r t s :   #   t h e   p o r t   t h a t   t h i s   s e r v i c e   s h o u l d   s e r v e   o n   -   p o r t :   8 0   s e l e c t o r :   a p p :   g u e s t b o o k   t i e r :   f r o n t e n d   A p p l y   t h e   f r o n t e n d   S e r v i c e   f r o m   t h e   f r o n t e n d - s e r v i c e . y a m l   f i l e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / g u e s t b o o k / f r o n t e n d - s e r v i c e . y a m l   Q u e r y   t h e   l i s t   o f   S e r v i c e s   t o   v e r i f y   t h a t   t h e   f r o n t e n d   S e r v i c e   i s   r u n n i n g : k u b e c t l   g e t   s e r v i c e s   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o   t h i s : N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   f r o n t e n d   C l u s t e r I P   1 0 . 9 7 . 2 8 . 2 3 0   < n o n e >   8 0 / T C P   1 9 s   k u b e r n e t e s   C l u s t e r I P   1 0 . 9 6 . 0 . 1   < n o n e >   4 4 3 / T C P   3 d 1 9 h   r e d i s - f o l l o w e r   C l u s t e r I P   1 0 . 1 1 0 . 1 6 2 . 4 2   < n o n e >   6 3 7 9 / T C P   5 m 4 8 s   r e d i s - l e a d e r   C l u s t e r I P   1 0 . 1 0 3 . 7 8 . 2 4   < n o n e >   6 3 7 9 / T C P   1 1 ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/guestbook/",
    "id": "k8s_00446_section_4_8555"
  },
  {
    "question": "What is Viewing the Frontend Service via kubectl port-forward?",
    "answer": "R u n   t h e   f o l l o w i n g   c o m m a n d   t o   f o r w a r d   p o r t   8 0 8 0   o n   y o u r   l o c a l   m a c h i n e   t o   p o r t   8 0   o n   t h e   s e r v i c e . k u b e c t l   p o r t - f o r w a r d   s v c / f r o n t e n d   8 0 8 0 : 8 0   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o   t h i s : F o r w a r d i n g   f r o m   1 2 7 . 0 . 0 . 1 : 8 0 8 0   - >   8 0   F o r w a r d i n g   f r o m   [ : : 1 ] : 8 0 8 0   - >   8 0   l o a d   t h e   p a g e   h t t p : / / l o c a l h o s t : 8 0 8 0   i n   y o u r   b r o w s e r   t o   v i e w   y o u r   g u e s t b o o k .   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   f o r w a r d   p o r t   8 0 8 0   o n   y o u r   l o c a l   m a c h i n e   t o   p o r t   8 0   o n   t h e   s e r v i c e .   k u b e c t l   p o r t - f o r w a r d   s v c / f r o n t e n d   8 0 8 0 : 8 0   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o   t h i s :   F o r w a r d i n g   f r o m   1 2 7 . 0 . 0 . 1 : 8 0 8 0   - >   8 0   F o r w a r d i n g   f r o m   [ : : 1 ] : 8 0 8 0   - >   8 0   l o a d   t h e   p a g e   h t t p : / / l o c a l h o s t : 8 0 8 0   i n   y o u r   b r o w s e r   t o   v i e w   y o u r   g u e s t b o o k .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/guestbook/",
    "id": "k8s_00446_section_3_8556"
  },
  {
    "question": "What is Viewing the Frontend Service via LoadBalancer?",
    "answer": "I f   y o u   d e p l o y e d   t h e   f r o n t e n d - s e r v i c e . y a m l   m a n i f e s t   w i t h   t y p e :   L o a d B a l a n c e r   y o u   n e e d   t o   f i n d   t h e   I P   a d d r e s s   t o   v i e w   y o u r   G u e s t b o o k .   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   g e t   t h e   I P   a d d r e s s   f o r   t h e   f r o n t e n d   S e r v i c e . k u b e c t l   g e t   s e r v i c e   f r o n t e n d   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o   t h i s : N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   f r o n t e n d   L o a d B a l a n c e r   1 0 . 5 1 . 2 4 2 . 1 3 6   1 0 9 . 1 9 7 . 9 2 . 2 2 9   8 0 : 3 2 3 7 2 / T C P   1 m   C o p y   t h e   e x t e r n a l   I P   a d d r e s s ,   a n d   l o a d   t h e   p a g e   i n   y o u r   b r o w s e r   t o   v i e w   y o u r   g u e s t b o o k .   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   g e t   t h e   I P   a d d r e s s   f o r   t h e   f r o n t e n d   S e r v i c e .   k u b e c t l   g e t   s e r v i c e   f r o n t e n d   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o   t h i s :   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   f r o n t e n d   L o a d B a l a n c e r   1 0 . 5 1 . 2 4 2 . 1 3 6   1 0 9 . 1 9 7 . 9 2 . 2 2 9   8 0 : 3 2 3 7 2 / T C P   1 m   C o p y   t h e   e x t e r n a l   I P   a d d r e s s ,   a n d   l o a d   t h e   p a g e   i n   y o u r   b r o w s e r   t o   v i e w   y o u r   g u e s t b o o k .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/guestbook/",
    "id": "k8s_00446_section_3_8557"
  },
  {
    "question": "What is Scale the Web Frontend?",
    "answer": "Y o u   c a n   s c a l e   u p   o r   d o w n   a s   n e e d e d   b e c a u s e   y o u r   s e r v e r s   a r e   d e f i n e d   a s   a   S e r v i c e   t h a t   u s e s   a   D e p l o y m e n t   c o n t r o l l e r .   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   s c a l e   u p   t h e   n u m b e r   o f   f r o n t e n d   P o d s : k u b e c t l   s c a l e   d e p l o y m e n t   f r o n t e n d   - - r e p l i c a s = 5   Q u e r y   t h e   l i s t   o f   P o d s   t o   v e r i f y   t h e   n u m b e r   o f   f r o n t e n d   P o d s   r u n n i n g : k u b e c t l   g e t   p o d s   T h e   r e s p o n s e   s h o u l d   l o o k   s i m i l a r   t o   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   f r o n t e n d - 8 5 5 9 5 f 5 b f 9 - 5 d f 5 m   1 / 1   R u n n i n g   0   8 3 s   f r o n t e n d - 8 5 5 9 5 f 5 b f 9 - 7 z m g 5   1 / 1   R u n n i n g   0   8 3 s   f r o n t e n d - 8 5 5 9 5 f 5 b f 9 - c p s k g   1 / 1   R u n n i n g   0   1 5 m   f r o n t e n d - 8 5 5 9 5 f 5 b f 9 - l 2 l 5 4   1 / 1   R u n n i n g   0   1 4 m   f r o n t e n d - 8 5 5 9 5 f 5 b f 9 - l 9 c 8 z   1 / 1   R u n n i n g   0   1 4 m   r e d i s - f o l l o w e r - d d d f b d c c 9 - 8 2 s f r   1 / 1   R u n n i n g   0   9 7 m   r e d i s - f o l l o w e r - d d d f b d c c 9 - q r t 5 k   1 / 1   R u n n i n g   0   9 7 m   r e d i s - l e a d e r - f b 7 6 b 4 7 5 5 - x j r 2 n   1 / 1   R u n n i n g   0   1 0 8 m   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   s c a l e   d o w n   t h e   n u m b e r   o f   f r o n t e n d   P o d s : k u b e c t l   s c a l e   d e p l o y m e n t   f r o n t e n d   - - r e p l i c a s = 2   Q u e r y   t h e   l i s t   o f   P o d s   t o   v e r i f y   t h e   n u m b e r   o f   f r o n t e n d   P o d s   r u n n i n g : k u b e c t l   g e t   p o d s   T h e   r e s p o n s e   s h o u l d   l o o k   s i m i l a r   t o   t h i s : N A M E   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/guestbook/",
    "id": "k8s_00446_section_2_8558"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "D e l e t i n g   t h e   D e p l o y m e n t s   a n d   S e r v i c e s   a l s o   d e l e t e s   a n y   r u n n i n g   P o d s .   U s e   l a b e l s   t o   d e l e t e   m u l t i p l e   r e s o u r c e s   w i t h   o n e   c o m m a n d .   R u n   t h e   f o l l o w i n g   c o m m a n d s   t o   d e l e t e   a l l   P o d s ,   D e p l o y m e n t s ,   a n d   S e r v i c e s . k u b e c t l   d e l e t e   d e p l o y m e n t   - l   a p p = r e d i s   k u b e c t l   d e l e t e   s e r v i c e   - l   a p p = r e d i s   k u b e c t l   d e l e t e   d e p l o y m e n t   f r o n t e n d   k u b e c t l   d e l e t e   s e r v i c e   f r o n t e n d   T h e   r e s p o n s e   s h o u l d   l o o k   s i m i l a r   t o   t h i s : d e p l o y m e n t . a p p s   \" r e d i s - f o l l o w e r \"   d e l e t e d   d e p l o y m e n t . a p p s   \" r e d i s - l e a d e r \"   d e l e t e d   d e p l o y m e n t . a p p s   \" f r o n t e n d \"   d e l e t e d   s e r v i c e   \" f r o n t e n d \"   d e l e t e d   Q u e r y   t h e   l i s t   o f   P o d s   t o   v e r i f y   t h a t   n o   P o d s   a r e   r u n n i n g : k u b e c t l   g e t   p o d s   T h e   r e s p o n s e   s h o u l d   l o o k   s i m i l a r   t o   t h i s : N o   r e s o u r c e s   f o u n d   i n   d e f a u l t   n a m e s p a c e .   R u n   t h e   f o l l o w i n g   c o m m a n d s   t o   d e l e t e   a l l   P o d s ,   D e p l o y m e n t s ,   a n d   S e r v i c e s .   k u b e c t l   d e l e t e   d e p l o y m e n t   - l   a p p = r e d i s   k u b e c t l   d e l e t e   s e r v i c e   - l   a p p = r e d i s   k u b e c t l   d e l e t e   d e p l o y m e n t   f r o n t e n d   k u b e c t l   d e l e t e   s e r v i c e   f r o n t e n d   T h e   r e s p o n s e   s h o u l d   l o o k   s i m i l a r   t o   t h i s :   d e p l o y m e n t . a p p s   \" r e d i s - f o l l o w e r \"   d e l e t e d   d e p l o y m e n t . a p p s   \" r e ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/guestbook/",
    "id": "k8s_00446_section_2_8559"
  },
  {
    "question": "What is What's next?",
    "answer": "C o m p l e t e   t h e   K u b e r n e t e s   B a s i c s   I n t e r a c t i v e   T u t o r i a l s U s e   K u b e r n e t e s   t o   c r e a t e   a   b l o g   u s i n g   P e r s i s t e n t   V o l u m e s   f o r   M y S Q L   a n d   W o r d p r e s s R e a d   m o r e   a b o u t   c o n n e c t i n g   a p p l i c a t i o n s   w i t h   s e r v i c e s R e a d   m o r e   a b o u t   u s i n g   l a b e l s   e f f e c t i v e l y",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/guestbook/",
    "id": "k8s_00446_section_2_8560"
  },
  {
    "question": "What is Kubelet Checkpoint API?",
    "answer": "Kubelet Checkpoint APIFEATURE STATE: Kubernetes v1.30 [beta] (enabled by default: true)Checkpointing a container is the functionality to create a stateful copy of a running container. Once you have a stateful copy of a container, you could move it to a different computer for debugging or similar purposes.If you move the checkpointed container data to a computer that's able to restore it, that restored container continues to run at exactly the same point it was checkpointed. You can also inspect the saved data, provided that you have suitable tools for doing so.Creating a checkpoint of a container might have security implications. Typically a checkpoint contains all memory pages of all processes in the checkpointed container. This means that everything that used to be in memory is now available on the local disk. This includes all private data and possibly keys used for encryption. The underlying CRI implementations (the container runtime on that node) should create the checkpoint archive to be only accessible by the root user. It is still important to remember if the checkpoint archive is transferred to another system all memory pages will be readable by the owner of the checkpoint archive.Operationspost checkpoint the specified containerTell the kubelet to checkpoint a specific container from the specified Pod.Consult the Kubelet authentication/authorization reference for more information about how access to the kubelet checkpoint interface is controlled.The kubelet will request a checkpoint from the underlying CRI implementation. In the checkpoint request the kubelet will specify the name of the checkpoint archive as checkpoint-<podFullName>-<containerName>-<timestamp>.tar and also request to store the checkpoint archive in the checkpoints directory below its root directory (as defined by --root-dir). This defaults to /var/lib/kubelet/checkpoints.The checkpoint archive is in tar format, and could be listed using an implementation of tar. The contents of the archive depend on the underlying CRI implementation (the container runtime on that node).HTTP RequestPOST /checkpoint/{namespace}/{pod}/{container}Parametersnamespace (in path): string, requiredNamespacepod (in path): string, requiredPodcontainer (in path): string, requiredContainertimeout (in query): integerTimeout in seconds to wait until the checkpoint creation is finished. If zero or no timeout is specified the default CRI timeout value will be used. Checkpoint creation time depends directly on the used memory of the container. The more memory a container uses the more time is required to create the corresponding checkpoint.Response200: OK401: Unauthorized404: Not Found (if the ContainerCheckpoint feature gate is disabled)404: Not Found (if the specified namespace, pod or container cannot be found)500: Internal Server Error (if the CRI implementation encounter an error during checkpointing (see error message for further details))500: Internal Server Error (if the CRI implementation does ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-checkpoint-api/",
    "id": "k8s_00447_qa_8561"
  },
  {
    "question": "How does Kubelet Checkpoint API work?",
    "answer": "Kubelet Checkpoint APIFEATURE STATE: Kubernetes v1.30 [beta] (enabled by default: true)Checkpointing a container is the functionality to create a stateful copy of a running container. Once you have a stateful copy of a container, you could move it to a different computer for debugging or similar purposes.If you move the checkpointed container data to a computer that's able to restore it, that restored container continues to run at exactly the same point it was checkpointed. You can also inspect the saved data, provided that you have suitable tools for doing so.Creating a checkpoint of a container might have security implications. Typically a checkpoint contains all memory pages of all processes in the checkpointed container. This means that everything that used to be in memory is now available on the local disk. This includes all private data and possibly keys used for encryption. The underlying CRI implementations (the container runtime on that node) should create the checkpoint archive to be only accessible by the root user. It is still important to remember if the checkpoint archive is transferred to another system all memory pages will be readable by the owner of the checkpoint archive.Operationspost checkpoint the specified containerTell the kubelet to checkpoint a specific container from the specified Pod.Consult the Kubelet authentication/authorization reference for more information about how access to the kubelet checkpoint interface is controlled.The kubelet will request a checkpoint from the underlying CRI implementation. In the checkpoint request the kubelet will specify the name of the checkpoint archive as checkpoint-<podFullName>-<containerName>-<timestamp>.tar and also request to store the checkpoint archive in the checkpoints directory below its root directory (as defined by --root-dir). This defaults to /var/lib/kubelet/checkpoints.The checkpoint archive is in tar format, and could be listed using an implementation of tar. The contents of the archive depend on the underlying CRI implementation (the container runtime on that node).HTTP RequestPOST /checkpoint/{namespace}/{pod}/{container}Parametersnamespace (in path): string, requiredNamespacepod (in path): string, requiredPodcontainer (in path): string, requiredContainertimeout (in query): integerTimeout in seconds to wait until the checkpoint creation is finished. If zero or no timeout is specified the default CRI timeout value will be used. Checkpoint creation time depends directly on the used memory of the container. The more memory a container uses the more time is required to create the corresponding checkpoint.Response200: OK401: Unauthorized404: Not Found (if the ContainerCheckpoint feature gate is disabled)404: Not Found (if the specified namespace, pod or container cannot be found)500: Internal Server Error (if the CRI implementation encounter an error during checkpointing (see error message for further details))500: Internal Server Error (if the CRI implementation does ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-checkpoint-api/",
    "id": "k8s_00447_qa_8562"
  },
  {
    "question": "When would you use Kubelet Checkpoint API?",
    "answer": "Kubelet Checkpoint APIFEATURE STATE: Kubernetes v1.30 [beta] (enabled by default: true)Checkpointing a container is the functionality to create a stateful copy of a running container. Once you have a stateful copy of a container, you could move it to a different computer for debugging or similar purposes.If you move the checkpointed container data to a computer that's able to restore it, that restored container continues to run at exactly the same point it was checkpointed. You can also inspect the saved data, provided that you have suitable tools for doing so.Creating a checkpoint of a container might have security implications. Typically a checkpoint contains all memory pages of all processes in the checkpointed container. This means that everything that used to be in memory is now available on the local disk. This includes all private data and possibly keys used for encryption. The underlying CRI implementations (the container runtime on that node) should create the checkpoint archive to be only accessible by the root user. It is still important to remember if the checkpoint archive is transferred to another system all memory pages will be readable by the owner of the checkpoint archive.Operationspost checkpoint the specified containerTell the kubelet to checkpoint a specific container from the specified Pod.Consult the Kubelet authentication/authorization reference for more information about how access to the kubelet checkpoint interface is controlled.The kubelet will request a checkpoint from the underlying CRI implementation. In the checkpoint request the kubelet will specify the name of the checkpoint archive as checkpoint-<podFullName>-<containerName>-<timestamp>.tar and also request to store the checkpoint archive in the checkpoints directory below its root directory (as defined by --root-dir). This defaults to /var/lib/kubelet/checkpoints.The checkpoint archive is in tar format, and could be listed using an implementation of tar. The contents of the archive depend on the underlying CRI implementation (the container runtime on that node).HTTP RequestPOST /checkpoint/{namespace}/{pod}/{container}Parametersnamespace (in path): string, requiredNamespacepod (in path): string, requiredPodcontainer (in path): string, requiredContainertimeout (in query): integerTimeout in seconds to wait until the checkpoint creation is finished. If zero or no timeout is specified the default CRI timeout value will be used. Checkpoint creation time depends directly on the used memory of the container. The more memory a container uses the more time is required to create the corresponding checkpoint.Response200: OK401: Unauthorized404: Not Found (if the ContainerCheckpoint feature gate is disabled)404: Not Found (if the specified namespace, pod or container cannot be found)500: Internal Server Error (if the CRI implementation encounter an error during checkpointing (see error message for further details))500: Internal Server Error (if the CRI implementation does ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-checkpoint-api/",
    "id": "k8s_00447_qa_8563"
  },
  {
    "question": "What are the benefits of Kubelet Checkpoint API?",
    "answer": "Kubelet Checkpoint APIFEATURE STATE: Kubernetes v1.30 [beta] (enabled by default: true)Checkpointing a container is the functionality to create a stateful copy of a running container. Once you have a stateful copy of a container, you could move it to a different computer for debugging or similar purposes.If you move the checkpointed container data to a computer that's able to restore it, that restored container continues to run at exactly the same point it was checkpointed. You can also inspect the saved data, provided that you have suitable tools for doing so.Creating a checkpoint of a container might have security implications. Typically a checkpoint contains all memory pages of all processes in the checkpointed container. This means that everything that used to be in memory is now available on the local disk. This includes all private data and possibly keys used for encryption. The underlying CRI implementations (the container runtime on that node) should create the checkpoint archive to be only accessible by the root user. It is still important to remember if the checkpoint archive is transferred to another system all memory pages will be readable by the owner of the checkpoint archive.Operationspost checkpoint the specified containerTell the kubelet to checkpoint a specific container from the specified Pod.Consult the Kubelet authentication/authorization reference for more information about how access to the kubelet checkpoint interface is controlled.The kubelet will request a checkpoint from the underlying CRI implementation. In the checkpoint request the kubelet will specify the name of the checkpoint archive as checkpoint-<podFullName>-<containerName>-<timestamp>.tar and also request to store the checkpoint archive in the checkpoints directory below its root directory (as defined by --root-dir). This defaults to /var/lib/kubelet/checkpoints.The checkpoint archive is in tar format, and could be listed using an implementation of tar. The contents of the archive depend on the underlying CRI implementation (the container runtime on that node).HTTP RequestPOST /checkpoint/{namespace}/{pod}/{container}Parametersnamespace (in path): string, requiredNamespacepod (in path): string, requiredPodcontainer (in path): string, requiredContainertimeout (in query): integerTimeout in seconds to wait until the checkpoint creation is finished. If zero or no timeout is specified the default CRI timeout value will be used. Checkpoint creation time depends directly on the used memory of the container. The more memory a container uses the more time is required to create the corresponding checkpoint.Response200: OK401: Unauthorized404: Not Found (if the ContainerCheckpoint feature gate is disabled)404: Not Found (if the specified namespace, pod or container cannot be found)500: Internal Server Error (if the CRI implementation encounter an error during checkpointing (see error message for further details))500: Internal Server Error (if the CRI implementation does ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-checkpoint-api/",
    "id": "k8s_00447_qa_8564"
  },
  {
    "question": "What is Kubelet Checkpoint API?",
    "answer": "C h e c k p o i n t i n g   a   c o n t a i n e r   i s   t h e   f u n c t i o n a l i t y   t o   c r e a t e   a   s t a t e f u l   c o p y   o f   a   r u n n i n g   c o n t a i n e r .   O n c e   y o u   h a v e   a   s t a t e f u l   c o p y   o f   a   c o n t a i n e r ,   y o u   c o u l d   m o v e   i t   t o   a   d i f f e r e n t   c o m p u t e r   f o r   d e b u g g i n g   o r   s i m i l a r   p u r p o s e s .   I f   y o u   m o v e   t h e   c h e c k p o i n t e d   c o n t a i n e r   d a t a   t o   a   c o m p u t e r   t h a t ' s   a b l e   t o   r e s t o r e   i t ,   t h a t   r e s t o r e d   c o n t a i n e r   c o n t i n u e s   t o   r u n   a t   e x a c t l y   t h e   s a m e   p o i n t   i t   w a s   c h e c k p o i n t e d .   Y o u   c a n   a l s o   i n s p e c t   t h e   s a v e d   d a t a ,   p r o v i d e d   t h a t   y o u   h a v e   s u i t a b l e   t o o l s   f o r   d o i n g   s o .   C r e a t i n g   a   c h e c k p o i n t   o f   a   c o n t a i n e r   m i g h t   h a v e   s e c u r i t y   i m p l i c a t i o n s .   T y p i c a l l y   a   c h e c k p o i n t   c o n t a i n s   a l l   m e m o r y   p a g e s   o f   a l l   p r o c e s s e s   i n   t h e   c h e c k p o i n t e d   c o n t a i n e r .   T h i s   m e a n s   t h a t   e v e r y t h i n g   t h a t   u s e d   t o   b e   i n   m e m o r y   i s   n o w   a v a i l a b l e   o n   t h e   l o c a l   d i s k .   T h i s   i n c l u d e s   a l l   p r i v a t e   d a t a   a n d   p o s s i b l y   k e y s   u s e d   f o r   e n c r y p t i o n .   T h e   u n d e r l y i n g   C R I   i m p l e m e n t a t i o n s   ( t h e   c o n t a i n e r   r u n t i m e   o n   t h a t   n o d e )   s h o u l d   c r e a t e   t h e   c h e c k p o i n t   a r c h i v e   t o   b e   o n l y   a c c e s s i b l e   b y   t h e   r o o t   u s e r .   I t   i s   s t i l l   i m p o r t a n t   t o   r e m e m b e r   i f   t h e   c ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-checkpoint-api/",
    "id": "k8s_00447_section_1_8565"
  },
  {
    "question": "What is post checkpoint the specified container?",
    "answer": "T e l l   t h e   k u b e l e t   t o   c h e c k p o i n t   a   s p e c i f i c   c o n t a i n e r   f r o m   t h e   s p e c i f i e d   P o d .   C o n s u l t   t h e   K u b e l e t   a u t h e n t i c a t i o n / a u t h o r i z a t i o n   r e f e r e n c e   f o r   m o r e   i n f o r m a t i o n   a b o u t   h o w   a c c e s s   t o   t h e   k u b e l e t   c h e c k p o i n t   i n t e r f a c e   i s   c o n t r o l l e d .   T h e   k u b e l e t   w i l l   r e q u e s t   a   c h e c k p o i n t   f r o m   t h e   u n d e r l y i n g   C R I   i m p l e m e n t a t i o n .   I n   t h e   c h e c k p o i n t   r e q u e s t   t h e   k u b e l e t   w i l l   s p e c i f y   t h e   n a m e   o f   t h e   c h e c k p o i n t   a r c h i v e   a s   c h e c k p o i n t - < p o d F u l l N a m e > - < c o n t a i n e r N a m e > - < t i m e s t a m p > . t a r   a n d   a l s o   r e q u e s t   t o   s t o r e   t h e   c h e c k p o i n t   a r c h i v e   i n   t h e   c h e c k p o i n t s   d i r e c t o r y   b e l o w   i t s   r o o t   d i r e c t o r y   ( a s   d e f i n e d   b y   - - r o o t - d i r ) .   T h i s   d e f a u l t s   t o   / v a r / l i b / k u b e l e t / c h e c k p o i n t s .   T h e   c h e c k p o i n t   a r c h i v e   i s   i n   t a r   f o r m a t ,   a n d   c o u l d   b e   l i s t e d   u s i n g   a n   i m p l e m e n t a t i o n   o f   t a r .   T h e   c o n t e n t s   o f   t h e   a r c h i v e   d e p e n d   o n   t h e   u n d e r l y i n g   C R I   i m p l e m e n t a t i o n   ( t h e   c o n t a i n e r   r u n t i m e   o n   t h a t   n o d e ) .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-checkpoint-api/",
    "id": "k8s_00447_section_3_8566"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / c h e c k p o i n t / { n a m e s p a c e } / { p o d } / { c o n t a i n e r }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-checkpoint-api/",
    "id": "k8s_00447_section_4_8567"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d N a m e s p a c e p o d   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d P o d c o n t a i n e r   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d C o n t a i n e r t i m e o u t   ( i n   q u e r y ) :   i n t e g e r T i m e o u t   i n   s e c o n d s   t o   w a i t   u n t i l   t h e   c h e c k p o i n t   c r e a t i o n   i s   f i n i s h e d .   I f   z e r o   o r   n o   t i m e o u t   i s   s p e c i f i e d   t h e   d e f a u l t   C R I   t i m e o u t   v a l u e   w i l l   b e   u s e d .   C h e c k p o i n t   c r e a t i o n   t i m e   d e p e n d s   d i r e c t l y   o n   t h e   u s e d   m e m o r y   o f   t h e   c o n t a i n e r .   T h e   m o r e   m e m o r y   a   c o n t a i n e r   u s e s   t h e   m o r e   t i m e   i s   r e q u i r e d   t o   c r e a t e   t h e   c o r r e s p o n d i n g   c h e c k p o i n t .   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   p o d   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   c o n t a i n e r   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   t i m e o u t   ( i n   q u e r y ) :   i n t e g e r   T i m e o u t   i n   s e c o n d s   t o   w a i t   u n t i l   t h e   c h e c k p o i n t   c r e a t i o n   i s   f i n i s h e d .   I f   z e r o   o r   n o   t i m e o u t   i s   s p e c i f i e d   t h e   d e f a u l t   C R I   t i m e o u t   v a l u e   w i l l   b e   u s e d .   C h e c k p o i n t   c r e a t i o n   t i m e   d e p e n d s   d i r e c t l y   o n   t h e   u s e d   m e m o r y   o f   t h e   c o n t a i n e r .   T h e   m o r e   m e m o r y   a   c o n t a i n e r   u s e s   t h e   m o r e   t i m e   i s   r e q u i r e d   t o   c r e a t e   t h e   c o r r e s p o n d i n g   c h e c k p o i n t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-checkpoint-api/",
    "id": "k8s_00447_section_4_8568"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0 :   O K   4 0 1 :   U n a u t h o r i z e d   4 0 4 :   N o t   F o u n d   ( i f   t h e   C o n t a i n e r C h e c k p o i n t   f e a t u r e   g a t e   i s   d i s a b l e d )   4 0 4 :   N o t   F o u n d   ( i f   t h e   s p e c i f i e d   n a m e s p a c e ,   p o d   o r   c o n t a i n e r   c a n n o t   b e   f o u n d )   5 0 0 :   I n t e r n a l   S e r v e r   E r r o r   ( i f   t h e   C R I   i m p l e m e n t a t i o n   e n c o u n t e r   a n   e r r o r   d u r i n g   c h e c k p o i n t i n g   ( s e e   e r r o r   m e s s a g e   f o r   f u r t h e r   d e t a i l s ) )   5 0 0 :   I n t e r n a l   S e r v e r   E r r o r   ( i f   t h e   C R I   i m p l e m e n t a t i o n   d o e s   n o t   i m p l e m e n t   t h e   c h e c k p o i n t   C R I   A P I   ( s e e   e r r o r   m e s s a g e   f o r   f u r t h e r   d e t a i l s ) )",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/node/kubelet-checkpoint-api/",
    "id": "k8s_00447_section_4_8569"
  },
  {
    "question": "What is kubectl plugin list?",
    "answer": "kubectl plugin listSynopsisList all available plugin files on a user's PATH. To see plugins binary names without the full path use --name-only flag.Available plugin files are those that are: - executable - anywhere on the user's PATH - begin with \"kubectl-\"kubectl plugin list [flags] Examples # List all available plugins kubectl plugin list # List only binary names of available plugins without paths kubectl plugin list --name-only Options-h, --helphelp for list--name-onlyIf true, display only the binary name of each plugin, rather than its full pathParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-nam",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_plugin/kubectl_plugin_list/",
    "id": "k8s_00448_qa_8570"
  },
  {
    "question": "How does kubectl plugin list work?",
    "answer": "kubectl plugin listSynopsisList all available plugin files on a user's PATH. To see plugins binary names without the full path use --name-only flag.Available plugin files are those that are: - executable - anywhere on the user's PATH - begin with \"kubectl-\"kubectl plugin list [flags] Examples # List all available plugins kubectl plugin list # List only binary names of available plugins without paths kubectl plugin list --name-only Options-h, --helphelp for list--name-onlyIf true, display only the binary name of each plugin, rather than its full pathParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-nam",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_plugin/kubectl_plugin_list/",
    "id": "k8s_00448_qa_8571"
  },
  {
    "question": "When would you use kubectl plugin list?",
    "answer": "kubectl plugin listSynopsisList all available plugin files on a user's PATH. To see plugins binary names without the full path use --name-only flag.Available plugin files are those that are: - executable - anywhere on the user's PATH - begin with \"kubectl-\"kubectl plugin list [flags] Examples # List all available plugins kubectl plugin list # List only binary names of available plugins without paths kubectl plugin list --name-only Options-h, --helphelp for list--name-onlyIf true, display only the binary name of each plugin, rather than its full pathParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-nam",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_plugin/kubectl_plugin_list/",
    "id": "k8s_00448_qa_8572"
  },
  {
    "question": "What are the benefits of kubectl plugin list?",
    "answer": "kubectl plugin listSynopsisList all available plugin files on a user's PATH. To see plugins binary names without the full path use --name-only flag.Available plugin files are those that are: - executable - anywhere on the user's PATH - begin with \"kubectl-\"kubectl plugin list [flags] Examples # List all available plugins kubectl plugin list # List only binary names of available plugins without paths kubectl plugin list --name-only Options-h, --helphelp for list--name-onlyIf true, display only the binary name of each plugin, rather than its full pathParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-nam",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_plugin/kubectl_plugin_list/",
    "id": "k8s_00448_qa_8573"
  },
  {
    "question": "What is Synopsis?",
    "answer": "L i s t   a l l   a v a i l a b l e   p l u g i n   f i l e s   o n   a   u s e r ' s   P A T H .   T o   s e e   p l u g i n s   b i n a r y   n a m e s   w i t h o u t   t h e   f u l l   p a t h   u s e   - - n a m e - o n l y   f l a g .   A v a i l a b l e   p l u g i n   f i l e s   a r e   t h o s e   t h a t   a r e :   -   e x e c u t a b l e   -   a n y w h e r e   o n   t h e   u s e r ' s   P A T H   -   b e g i n   w i t h   \" k u b e c t l - \"   k u b e c t l   p l u g i n   l i s t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_plugin/kubectl_plugin_list/",
    "id": "k8s_00448_section_2_8574"
  },
  {
    "question": "What is Examples?",
    "answer": "#   L i s t   a l l   a v a i l a b l e   p l u g i n s   k u b e c t l   p l u g i n   l i s t   #   L i s t   o n l y   b i n a r y   n a m e s   o f   a v a i l a b l e   p l u g i n s   w i t h o u t   p a t h s   k u b e c t l   p l u g i n   l i s t   - - n a m e - o n l y",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_plugin/kubectl_plugin_list/",
    "id": "k8s_00448_section_2_8575"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   l i s t   I f   t r u e ,   d i s p l a y   o n l y   t h e   b i n a r y   n a m e   o f   e a c h   p l u g i n ,   r a t h e r   t h a n   i t s   f u l l   p a t h",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_plugin/kubectl_plugin_list/",
    "id": "k8s_00448_section_2_8576"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_plugin/kubectl_plugin_list/",
    "id": "k8s_00448_section_2_8577"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   p l u g i n   -   P r o v i d e s   u t i l i t i e s   f o r   i n t e r a c t i n g   w i t h   p l u g i n s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_plugin/kubectl_plugin_list/",
    "id": "k8s_00448_section_2_8578"
  },
  {
    "question": "What is Installing Kubernetes with deployment tools?",
    "answer": "Installing Kubernetes with deployment toolsThere are many methods and tools for setting up your own production Kubernetes cluster. For example:kubeadmCluster API: A Kubernetes sub-project focused on providing declarative APIs and tooling to simplify provisioning, upgrading, and operating multiple Kubernetes clusters.kops: An automated cluster provisioning tool. For tutorials, best practices, configuration options and information on reaching out to the community, please check the kOps website for details.kubespray: A composition of Ansible playbooks, inventory, provisioning tools, and domain knowledge for generic OS/Kubernetes clusters configuration management tasks. You can reach out to the community on Slack channel #kubespray.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/",
    "id": "k8s_00449_qa_8579"
  },
  {
    "question": "How does Installing Kubernetes with deployment tools work?",
    "answer": "Installing Kubernetes with deployment toolsThere are many methods and tools for setting up your own production Kubernetes cluster. For example:kubeadmCluster API: A Kubernetes sub-project focused on providing declarative APIs and tooling to simplify provisioning, upgrading, and operating multiple Kubernetes clusters.kops: An automated cluster provisioning tool. For tutorials, best practices, configuration options and information on reaching out to the community, please check the kOps website for details.kubespray: A composition of Ansible playbooks, inventory, provisioning tools, and domain knowledge for generic OS/Kubernetes clusters configuration management tasks. You can reach out to the community on Slack channel #kubespray.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/",
    "id": "k8s_00449_qa_8580"
  },
  {
    "question": "When would you use Installing Kubernetes with deployment tools?",
    "answer": "Installing Kubernetes with deployment toolsThere are many methods and tools for setting up your own production Kubernetes cluster. For example:kubeadmCluster API: A Kubernetes sub-project focused on providing declarative APIs and tooling to simplify provisioning, upgrading, and operating multiple Kubernetes clusters.kops: An automated cluster provisioning tool. For tutorials, best practices, configuration options and information on reaching out to the community, please check the kOps website for details.kubespray: A composition of Ansible playbooks, inventory, provisioning tools, and domain knowledge for generic OS/Kubernetes clusters configuration management tasks. You can reach out to the community on Slack channel #kubespray.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/",
    "id": "k8s_00449_qa_8581"
  },
  {
    "question": "What are the benefits of Installing Kubernetes with deployment tools?",
    "answer": "Installing Kubernetes with deployment toolsThere are many methods and tools for setting up your own production Kubernetes cluster. For example:kubeadmCluster API: A Kubernetes sub-project focused on providing declarative APIs and tooling to simplify provisioning, upgrading, and operating multiple Kubernetes clusters.kops: An automated cluster provisioning tool. For tutorials, best practices, configuration options and information on reaching out to the community, please check the kOps website for details.kubespray: A composition of Ansible playbooks, inventory, provisioning tools, and domain knowledge for generic OS/Kubernetes clusters configuration management tasks. You can reach out to the community on Slack channel #kubespray.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/",
    "id": "k8s_00449_qa_8582"
  },
  {
    "question": "What is Installing Kubernetes with deployment tools?",
    "answer": "T h e r e   a r e   m a n y   m e t h o d s   a n d   t o o l s   f o r   s e t t i n g   u p   y o u r   o w n   p r o d u c t i o n   K u b e r n e t e s   c l u s t e r .   F o r   e x a m p l e :   k u b e a d m C l u s t e r   A P I :   A   K u b e r n e t e s   s u b - p r o j e c t   f o c u s e d   o n   p r o v i d i n g   d e c l a r a t i v e   A P I s   a n d   t o o l i n g   t o   s i m p l i f y   p r o v i s i o n i n g ,   u p g r a d i n g ,   a n d   o p e r a t i n g   m u l t i p l e   K u b e r n e t e s   c l u s t e r s . k o p s :   A n   a u t o m a t e d   c l u s t e r   p r o v i s i o n i n g   t o o l .   F o r   t u t o r i a l s ,   b e s t   p r a c t i c e s ,   c o n f i g u r a t i o n   o p t i o n s   a n d   i n f o r m a t i o n   o n   r e a c h i n g   o u t   t o   t h e   c o m m u n i t y ,   p l e a s e   c h e c k   t h e   k O p s   w e b s i t e   f o r   d e t a i l s . k u b e s p r a y :   A   c o m p o s i t i o n   o f   A n s i b l e   p l a y b o o k s ,   i n v e n t o r y ,   p r o v i s i o n i n g   t o o l s ,   a n d   d o m a i n   k n o w l e d g e   f o r   g e n e r i c   O S / K u b e r n e t e s   c l u s t e r s   c o n f i g u r a t i o n   m a n a g e m e n t   t a s k s .   Y o u   c a n   r e a c h   o u t   t o   t h e   c o m m u n i t y   o n   S l a c k   c h a n n e l   # k u b e s p r a y .   k u b e a d m   C l u s t e r   A P I :   A   K u b e r n e t e s   s u b - p r o j e c t   f o c u s e d   o n   p r o v i d i n g   d e c l a r a t i v e   A P I s   a n d   t o o l i n g   t o   s i m p l i f y   p r o v i s i o n i n g ,   u p g r a d i n g ,   a n d   o p e r a t i n g   m u l t i p l e   K u b e r n e t e s   c l u s t e r s .   k o p s :   A n   a u t o m a t e d   c l u s t e r   p r o v i s i o n i n g   t o o l .   F o r   t u t o r i a l s ,   b e s t   p r a c t i c e s ,   c o n f i g u r a t i o n   o p t i o n s   a n d   i n f o r m a t i o n   o n   r e a c h i n g ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/",
    "id": "k8s_00449_section_1_8583"
  },
  {
    "question": "What is Networking on Windows?",
    "answer": "Networking on WindowsKubernetes supports running nodes on either Linux or Windows. You can mix both kinds of node within a single cluster. This page provides an overview to networking specific to the Windows operating system.Container networking on WindowsNetworking for Windows containers is exposed through CNI plugins. Windows containers function similarly to virtual machines in regards to networking. Each container has a virtual network adapter (vNIC) which is connected to a Hyper-V virtual switch (vSwitch). The Host Networking Service (HNS) and the Host Compute Service (HCS) work together to create containers and attach container vNICs to networks. HCS is responsible for the management of containers whereas HNS is responsible for the management of networking resources such as:Virtual networks (including creation of vSwitches)Endpoints / vNICsNamespacesPolicies including packet encapsulations, load-balancing rules, ACLs, and NAT rules.The Windows HNS and vSwitch implement namespacing and can create virtual NICs as needed for a pod or container. However, many configurations such as DNS, routes, and metrics are stored in the Windows registry database rather than as files inside /etc, which is how Linux stores those configurations. The Windows registry for the container is separate from that of the host, so concepts like mapping /etc/resolv.conf from the host into a container don't have the same effect they would on Linux. These must be configured using Windows APIs run in the context of that container. Therefore CNI implementations need to call the HNS instead of relying on file mappings to pass network details into the pod or container.Network modesWindows supports five different networking drivers/modes: L2bridge, L2tunnel, Overlay (Beta), Transparent, and NAT. In a heterogeneous cluster with Windows and Linux worker nodes, you need to select a networking solution that is compatible on both Windows and Linux. The following table lists the out-of-tree plugins are supported on Windows, with recommendations on when to use each CNI:Network DriverDescriptionContainer Packet ModificationsNetwork PluginsNetwork Plugin CharacteristicsL2bridgeContainers are attached to an external vSwitch. Containers are attached to the underlay network, although the physical network doesn't need to learn the container MACs because they are rewritten on ingress/egress.MAC is rewritten to host MAC, IP may be rewritten to host IP using HNS OutboundNAT policy.win-bridge, Azure-CNI, Flannel host-gateway uses win-bridgewin-bridge uses L2bridge network mode, connects containers to the underlay of hosts, offering best performance. Requires user-defined routes (UDR) for inter-node connectivity.L2TunnelThis is a special case of l2bridge, but only used on Azure. All packets are sent to the virtualization host where SDN policy is applied.MAC rewritten, IP visible on the underlay networkAzure-CNIAzure-CNI allows integration of containers with Azure vNET, and allows them to leverage",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/windows-networking/",
    "id": "k8s_00450_qa_8584"
  },
  {
    "question": "How does Networking on Windows work?",
    "answer": "Networking on WindowsKubernetes supports running nodes on either Linux or Windows. You can mix both kinds of node within a single cluster. This page provides an overview to networking specific to the Windows operating system.Container networking on WindowsNetworking for Windows containers is exposed through CNI plugins. Windows containers function similarly to virtual machines in regards to networking. Each container has a virtual network adapter (vNIC) which is connected to a Hyper-V virtual switch (vSwitch). The Host Networking Service (HNS) and the Host Compute Service (HCS) work together to create containers and attach container vNICs to networks. HCS is responsible for the management of containers whereas HNS is responsible for the management of networking resources such as:Virtual networks (including creation of vSwitches)Endpoints / vNICsNamespacesPolicies including packet encapsulations, load-balancing rules, ACLs, and NAT rules.The Windows HNS and vSwitch implement namespacing and can create virtual NICs as needed for a pod or container. However, many configurations such as DNS, routes, and metrics are stored in the Windows registry database rather than as files inside /etc, which is how Linux stores those configurations. The Windows registry for the container is separate from that of the host, so concepts like mapping /etc/resolv.conf from the host into a container don't have the same effect they would on Linux. These must be configured using Windows APIs run in the context of that container. Therefore CNI implementations need to call the HNS instead of relying on file mappings to pass network details into the pod or container.Network modesWindows supports five different networking drivers/modes: L2bridge, L2tunnel, Overlay (Beta), Transparent, and NAT. In a heterogeneous cluster with Windows and Linux worker nodes, you need to select a networking solution that is compatible on both Windows and Linux. The following table lists the out-of-tree plugins are supported on Windows, with recommendations on when to use each CNI:Network DriverDescriptionContainer Packet ModificationsNetwork PluginsNetwork Plugin CharacteristicsL2bridgeContainers are attached to an external vSwitch. Containers are attached to the underlay network, although the physical network doesn't need to learn the container MACs because they are rewritten on ingress/egress.MAC is rewritten to host MAC, IP may be rewritten to host IP using HNS OutboundNAT policy.win-bridge, Azure-CNI, Flannel host-gateway uses win-bridgewin-bridge uses L2bridge network mode, connects containers to the underlay of hosts, offering best performance. Requires user-defined routes (UDR) for inter-node connectivity.L2TunnelThis is a special case of l2bridge, but only used on Azure. All packets are sent to the virtualization host where SDN policy is applied.MAC rewritten, IP visible on the underlay networkAzure-CNIAzure-CNI allows integration of containers with Azure vNET, and allows them to leverage",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/windows-networking/",
    "id": "k8s_00450_qa_8585"
  },
  {
    "question": "When would you use Networking on Windows?",
    "answer": "Networking on WindowsKubernetes supports running nodes on either Linux or Windows. You can mix both kinds of node within a single cluster. This page provides an overview to networking specific to the Windows operating system.Container networking on WindowsNetworking for Windows containers is exposed through CNI plugins. Windows containers function similarly to virtual machines in regards to networking. Each container has a virtual network adapter (vNIC) which is connected to a Hyper-V virtual switch (vSwitch). The Host Networking Service (HNS) and the Host Compute Service (HCS) work together to create containers and attach container vNICs to networks. HCS is responsible for the management of containers whereas HNS is responsible for the management of networking resources such as:Virtual networks (including creation of vSwitches)Endpoints / vNICsNamespacesPolicies including packet encapsulations, load-balancing rules, ACLs, and NAT rules.The Windows HNS and vSwitch implement namespacing and can create virtual NICs as needed for a pod or container. However, many configurations such as DNS, routes, and metrics are stored in the Windows registry database rather than as files inside /etc, which is how Linux stores those configurations. The Windows registry for the container is separate from that of the host, so concepts like mapping /etc/resolv.conf from the host into a container don't have the same effect they would on Linux. These must be configured using Windows APIs run in the context of that container. Therefore CNI implementations need to call the HNS instead of relying on file mappings to pass network details into the pod or container.Network modesWindows supports five different networking drivers/modes: L2bridge, L2tunnel, Overlay (Beta), Transparent, and NAT. In a heterogeneous cluster with Windows and Linux worker nodes, you need to select a networking solution that is compatible on both Windows and Linux. The following table lists the out-of-tree plugins are supported on Windows, with recommendations on when to use each CNI:Network DriverDescriptionContainer Packet ModificationsNetwork PluginsNetwork Plugin CharacteristicsL2bridgeContainers are attached to an external vSwitch. Containers are attached to the underlay network, although the physical network doesn't need to learn the container MACs because they are rewritten on ingress/egress.MAC is rewritten to host MAC, IP may be rewritten to host IP using HNS OutboundNAT policy.win-bridge, Azure-CNI, Flannel host-gateway uses win-bridgewin-bridge uses L2bridge network mode, connects containers to the underlay of hosts, offering best performance. Requires user-defined routes (UDR) for inter-node connectivity.L2TunnelThis is a special case of l2bridge, but only used on Azure. All packets are sent to the virtualization host where SDN policy is applied.MAC rewritten, IP visible on the underlay networkAzure-CNIAzure-CNI allows integration of containers with Azure vNET, and allows them to leverage",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/windows-networking/",
    "id": "k8s_00450_qa_8586"
  },
  {
    "question": "What are the benefits of Networking on Windows?",
    "answer": "Networking on WindowsKubernetes supports running nodes on either Linux or Windows. You can mix both kinds of node within a single cluster. This page provides an overview to networking specific to the Windows operating system.Container networking on WindowsNetworking for Windows containers is exposed through CNI plugins. Windows containers function similarly to virtual machines in regards to networking. Each container has a virtual network adapter (vNIC) which is connected to a Hyper-V virtual switch (vSwitch). The Host Networking Service (HNS) and the Host Compute Service (HCS) work together to create containers and attach container vNICs to networks. HCS is responsible for the management of containers whereas HNS is responsible for the management of networking resources such as:Virtual networks (including creation of vSwitches)Endpoints / vNICsNamespacesPolicies including packet encapsulations, load-balancing rules, ACLs, and NAT rules.The Windows HNS and vSwitch implement namespacing and can create virtual NICs as needed for a pod or container. However, many configurations such as DNS, routes, and metrics are stored in the Windows registry database rather than as files inside /etc, which is how Linux stores those configurations. The Windows registry for the container is separate from that of the host, so concepts like mapping /etc/resolv.conf from the host into a container don't have the same effect they would on Linux. These must be configured using Windows APIs run in the context of that container. Therefore CNI implementations need to call the HNS instead of relying on file mappings to pass network details into the pod or container.Network modesWindows supports five different networking drivers/modes: L2bridge, L2tunnel, Overlay (Beta), Transparent, and NAT. In a heterogeneous cluster with Windows and Linux worker nodes, you need to select a networking solution that is compatible on both Windows and Linux. The following table lists the out-of-tree plugins are supported on Windows, with recommendations on when to use each CNI:Network DriverDescriptionContainer Packet ModificationsNetwork PluginsNetwork Plugin CharacteristicsL2bridgeContainers are attached to an external vSwitch. Containers are attached to the underlay network, although the physical network doesn't need to learn the container MACs because they are rewritten on ingress/egress.MAC is rewritten to host MAC, IP may be rewritten to host IP using HNS OutboundNAT policy.win-bridge, Azure-CNI, Flannel host-gateway uses win-bridgewin-bridge uses L2bridge network mode, connects containers to the underlay of hosts, offering best performance. Requires user-defined routes (UDR) for inter-node connectivity.L2TunnelThis is a special case of l2bridge, but only used on Azure. All packets are sent to the virtualization host where SDN policy is applied.MAC rewritten, IP visible on the underlay networkAzure-CNIAzure-CNI allows integration of containers with Azure vNET, and allows them to leverage",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/windows-networking/",
    "id": "k8s_00450_qa_8587"
  },
  {
    "question": "What is Networking on Windows?",
    "answer": "K u b e r n e t e s   s u p p o r t s   r u n n i n g   n o d e s   o n   e i t h e r   L i n u x   o r   W i n d o w s .   Y o u   c a n   m i x   b o t h   k i n d s   o f   n o d e   w i t h i n   a   s i n g l e   c l u s t e r .   T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   t o   n e t w o r k i n g   s p e c i f i c   t o   t h e   W i n d o w s   o p e r a t i n g   s y s t e m .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/windows-networking/",
    "id": "k8s_00450_section_1_8588"
  },
  {
    "question": "What is Container networking on Windows?",
    "answer": "N e t w o r k i n g   f o r   W i n d o w s   c o n t a i n e r s   i s   e x p o s e d   t h r o u g h   C N I   p l u g i n s .   W i n d o w s   c o n t a i n e r s   f u n c t i o n   s i m i l a r l y   t o   v i r t u a l   m a c h i n e s   i n   r e g a r d s   t o   n e t w o r k i n g .   E a c h   c o n t a i n e r   h a s   a   v i r t u a l   n e t w o r k   a d a p t e r   ( v N I C )   w h i c h   i s   c o n n e c t e d   t o   a   H y p e r - V   v i r t u a l   s w i t c h   ( v S w i t c h ) .   T h e   H o s t   N e t w o r k i n g   S e r v i c e   ( H N S )   a n d   t h e   H o s t   C o m p u t e   S e r v i c e   ( H C S )   w o r k   t o g e t h e r   t o   c r e a t e   c o n t a i n e r s   a n d   a t t a c h   c o n t a i n e r   v N I C s   t o   n e t w o r k s .   H C S   i s   r e s p o n s i b l e   f o r   t h e   m a n a g e m e n t   o f   c o n t a i n e r s   w h e r e a s   H N S   i s   r e s p o n s i b l e   f o r   t h e   m a n a g e m e n t   o f   n e t w o r k i n g   r e s o u r c e s   s u c h   a s :   V i r t u a l   n e t w o r k s   ( i n c l u d i n g   c r e a t i o n   o f   v S w i t c h e s ) E n d p o i n t s   /   v N I C s N a m e s p a c e s P o l i c i e s   i n c l u d i n g   p a c k e t   e n c a p s u l a t i o n s ,   l o a d - b a l a n c i n g   r u l e s ,   A C L s ,   a n d   N A T   r u l e s .   T h e   W i n d o w s   H N S   a n d   v S w i t c h   i m p l e m e n t   n a m e s p a c i n g   a n d   c a n   c r e a t e   v i r t u a l   N I C s   a s   n e e d e d   f o r   a   p o d   o r   c o n t a i n e r .   H o w e v e r ,   m a n y   c o n f i g u r a t i o n s   s u c h   a s   D N S ,   r o u t e s ,   a n d   m e t r i c s   a r e   s t o r e d   i n   t h e   W i n d o w s   r e g i s t r y   d a t a b a s e   r a t h e r   t h a n   a s   f i l e s   i n s i d e   / e t c ,   w h i c h   i s   h o w   L i n u x   s t o r e s   t h o s e   c o n f i g u r a t i o n s .   T h e ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/windows-networking/",
    "id": "k8s_00450_section_2_8589"
  },
  {
    "question": "What is Network modes?",
    "answer": "W i n d o w s   s u p p o r t s   f i v e   d i f f e r e n t   n e t w o r k i n g   d r i v e r s / m o d e s :   L 2 b r i d g e ,   L 2 t u n n e l ,   O v e r l a y   ( B e t a ) ,   T r a n s p a r e n t ,   a n d   N A T .   I n   a   h e t e r o g e n e o u s   c l u s t e r   w i t h   W i n d o w s   a n d   L i n u x   w o r k e r   n o d e s ,   y o u   n e e d   t o   s e l e c t   a   n e t w o r k i n g   s o l u t i o n   t h a t   i s   c o m p a t i b l e   o n   b o t h   W i n d o w s   a n d   L i n u x .   T h e   f o l l o w i n g   t a b l e   l i s t s   t h e   o u t - o f - t r e e   p l u g i n s   a r e   s u p p o r t e d   o n   W i n d o w s ,   w i t h   r e c o m m e n d a t i o n s   o n   w h e n   t o   u s e   e a c h   C N I :   A s   o u t l i n e d   a b o v e ,   t h e   F l a n n e l   C N I   p l u g i n   i s   a l s o   s u p p o r t e d   o n   W i n d o w s   v i a   t h e   V X L A N   n e t w o r k   b a c k e n d   ( B e t a   s u p p o r t   ;   d e l e g a t e s   t o   w i n - o v e r l a y )   a n d   h o s t - g a t e w a y   n e t w o r k   b a c k e n d   ( s t a b l e   s u p p o r t ;   d e l e g a t e s   t o   w i n - b r i d g e ) .   T h i s   p l u g i n   s u p p o r t s   d e l e g a t i n g   t o   o n e   o f   t h e   r e f e r e n c e   C N I   p l u g i n s   ( w i n - o v e r l a y ,   w i n - b r i d g e ) ,   t o   w o r k   i n   c o n j u n c t i o n   w i t h   F l a n n e l   d a e m o n   o n   W i n d o w s   ( F l a n n e l d )   f o r   a u t o m a t i c   n o d e   s u b n e t   l e a s e   a s s i g n m e n t   a n d   H N S   n e t w o r k   c r e a t i o n .   T h i s   p l u g i n   r e a d s   i n   i t s   o w n   c o n f i g u r a t i o n   f i l e   ( c n i . c o n f ) ,   a n d   a g g r e g a t e s   i t   w i t h   t h e   e n v i r o n m e n t   v a r i a b l e s   f r o m   t h e   F l a n n e l D   g e n e r a t e d   s u b n e t . e n v   f i l e .   I t   t h e n   d ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/windows-networking/",
    "id": "k8s_00450_section_2_8590"
  },
  {
    "question": "What is IP address management (IPAM)?",
    "answer": "T h e   f o l l o w i n g   I P A M   o p t i o n s   a r e   s u p p o r t e d   o n   W i n d o w s :   h o s t - l o c a l a z u r e - v n e t - i p a m   ( f o r   a z u r e - c n i   o n l y ) W i n d o w s   S e r v e r   I P A M   ( f a l l b a c k   o p t i o n   i f   n o   I P A M   i s   s e t )",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/windows-networking/",
    "id": "k8s_00450_section_2_8591"
  },
  {
    "question": "What is Direct Server Return (DSR)?",
    "answer": "L o a d   b a l a n c i n g   m o d e   w h e r e   t h e   I P   a d d r e s s   f i x u p s   a n d   t h e   L B N A T   o c c u r s   a t   t h e   c o n t a i n e r   v S w i t c h   p o r t   d i r e c t l y ;   s e r v i c e   t r a f f i c   a r r i v e s   w i t h   t h e   s o u r c e   I P   s e t   a s   t h e   o r i g i n a t i n g   p o d   I P .   T h i s   p r o v i d e s   p e r f o r m a n c e   o p t i m i z a t i o n s   b y   a l l o w i n g   t h e   r e t u r n   t r a f f i c   r o u t e d   t h r o u g h   l o a d   b a l a n c e r s   t o   b y p a s s   t h e   l o a d   b a l a n c e r   a n d   r e s p o n d   d i r e c t l y   t o   t h e   c l i e n t ;   r e d u c i n g   l o a d   o n   t h e   l o a d   b a l a n c e r   a n d   a l s o   r e d u c i n g   o v e r a l l   l a t e n c y .   F o r   m o r e   i n f o r m a t i o n ,   r e a d   D i r e c t   S e r v e r   R e t u r n   ( D S R )   i n   a   n u t s h e l l .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/windows-networking/",
    "id": "k8s_00450_section_2_8592"
  },
  {
    "question": "What is Load balancing and Services?",
    "answer": "A   K u b e r n e t e s   S e r v i c e   i s   a n   a b s t r a c t i o n   t h a t   d e f i n e s   a   l o g i c a l   s e t   o f   P o d s   a n d   a   m e a n s   t o   a c c e s s   t h e m   o v e r   a   n e t w o r k .   I n   a   c l u s t e r   t h a t   i n c l u d e s   W i n d o w s   n o d e s ,   y o u   c a n   u s e   t h e   f o l l o w i n g   t y p e s   o f   S e r v i c e :   N o d e P o r t C l u s t e r I P L o a d B a l a n c e r E x t e r n a l N a m e   W i n d o w s   c o n t a i n e r   n e t w o r k i n g   d i f f e r s   i n   s o m e   i m p o r t a n t   w a y s   f r o m   L i n u x   n e t w o r k i n g .   T h e   M i c r o s o f t   d o c u m e n t a t i o n   f o r   W i n d o w s   C o n t a i n e r   N e t w o r k i n g   p r o v i d e s   a d d i t i o n a l   d e t a i l s   a n d   b a c k g r o u n d .   O n   W i n d o w s ,   y o u   c a n   u s e   t h e   f o l l o w i n g   s e t t i n g s   t o   c o n f i g u r e   S e r v i c e s   a n d   l o a d   b a l a n c i n g   b e h a v i o r :",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/windows-networking/",
    "id": "k8s_00450_section_2_8593"
  },
  {
    "question": "What is Limitations?",
    "answer": "T h e   f o l l o w i n g   n e t w o r k i n g   f u n c t i o n a l i t y   i s   n o t   s u p p o r t e d   o n   W i n d o w s   n o d e s :   H o s t   n e t w o r k i n g   m o d e L o c a l   N o d e P o r t   a c c e s s   f r o m   t h e   n o d e   i t s e l f   ( w o r k s   f o r   o t h e r   n o d e s   o r   e x t e r n a l   c l i e n t s ) M o r e   t h a n   6 4   b a c k e n d   p o d s   ( o r   u n i q u e   d e s t i n a t i o n   a d d r e s s e s )   f o r   a   s i n g l e   S e r v i c e I P v 6   c o m m u n i c a t i o n   b e t w e e n   W i n d o w s   p o d s   c o n n e c t e d   t o   o v e r l a y   n e t w o r k s L o c a l   T r a f f i c   P o l i c y   i n   n o n - D S R   m o d e O u t b o u n d   c o m m u n i c a t i o n   u s i n g   t h e   I C M P   p r o t o c o l   v i a   t h e   w i n - o v e r l a y ,   w i n - b r i d g e ,   o r   u s i n g   t h e   A z u r e - C N I   p l u g i n .   S p e c i f i c a l l y ,   t h e   W i n d o w s   d a t a   p l a n e   ( V F P )   d o e s n ' t   s u p p o r t   I C M P   p a c k e t   t r a n s p o s i t i o n s ,   a n d   t h i s   m e a n s : I C M P   p a c k e t s   d i r e c t e d   t o   d e s t i n a t i o n s   w i t h i n   t h e   s a m e   n e t w o r k   ( s u c h   a s   p o d   t o   p o d   c o m m u n i c a t i o n   v i a   p i n g )   w o r k   a s   e x p e c t e d ; T C P / U D P   p a c k e t s   w o r k   a s   e x p e c t e d ; I C M P   p a c k e t s   d i r e c t e d   t o   p a s s   t h r o u g h   a   r e m o t e   n e t w o r k   ( e . g .   p o d   t o   e x t e r n a l   i n t e r n e t   c o m m u n i c a t i o n   v i a   p i n g )   c a n n o t   b e   t r a n s p o s e d   a n d   t h u s   w i l l   n o t   b e   r o u t e d   b a c k   t o   t h e i r   s o u r c e ; S i n c e   T C P / U D P   p a c k e t s   c a n   s t i l l   b e   t r a n s p o s e d ,   y o u   c a n   s u b s t i t u t e   p i n g   < d e s t i n a t i o n >   w ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/windows-networking/",
    "id": "k8s_00450_section_2_8594"
  },
  {
    "question": "What is kubectl set?",
    "answer": "kubectl setSynopsisConfigure application resources.These commands help you make changes to existing application resources.kubectl set SUBCOMMAND Options-h, --helphelp for setParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=raw prints version inf",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/",
    "id": "k8s_00451_qa_8595"
  },
  {
    "question": "How does kubectl set work?",
    "answer": "kubectl setSynopsisConfigure application resources.These commands help you make changes to existing application resources.kubectl set SUBCOMMAND Options-h, --helphelp for setParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=raw prints version inf",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/",
    "id": "k8s_00451_qa_8596"
  },
  {
    "question": "When would you use kubectl set?",
    "answer": "kubectl setSynopsisConfigure application resources.These commands help you make changes to existing application resources.kubectl set SUBCOMMAND Options-h, --helphelp for setParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=raw prints version inf",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/",
    "id": "k8s_00451_qa_8597"
  },
  {
    "question": "What are the benefits of kubectl set?",
    "answer": "kubectl setSynopsisConfigure application resources.These commands help you make changes to existing application resources.kubectl set SUBCOMMAND Options-h, --helphelp for setParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=raw prints version inf",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/",
    "id": "k8s_00451_qa_8598"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C o n f i g u r e   a p p l i c a t i o n   r e s o u r c e s .   T h e s e   c o m m a n d s   h e l p   y o u   m a k e   c h a n g e s   t o   e x i s t i n g   a p p l i c a t i o n   r e s o u r c e s .   k u b e c t l   s e t   S U B C O M M A N D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/",
    "id": "k8s_00451_section_2_8599"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   s e t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/",
    "id": "k8s_00451_section_2_8600"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/",
    "id": "k8s_00451_section_2_8601"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   s e t   e n v   -   U p d a t e   e n v i r o n m e n t   v a r i a b l e s   o n   a   p o d   t e m p l a t e k u b e c t l   s e t   i m a g e   -   U p d a t e   t h e   i m a g e   o f   a   p o d   t e m p l a t e k u b e c t l   s e t   r e s o u r c e s   -   U p d a t e   r e s o u r c e   r e q u e s t s / l i m i t s   o n   o b j e c t s   w i t h   p o d   t e m p l a t e s k u b e c t l   s e t   s e l e c t o r   -   S e t   t h e   s e l e c t o r   o n   a   r e s o u r c e k u b e c t l   s e t   s e r v i c e a c c o u n t   -   U p d a t e   t h e   s e r v i c e   a c c o u n t   o f   a   r e s o u r c e k u b e c t l   s e t   s u b j e c t   -   U p d a t e   t h e   u s e r ,   g r o u p ,   o r   s e r v i c e   a c c o u n t   i n   a   r o l e   b i n d i n g   o r   c l u s t e r   r o l e   b i n d i n g   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/",
    "id": "k8s_00451_section_2_8602"
  },
  {
    "question": "What is Utilizing the NUMA-aware Memory Manager?",
    "answer": "Utilizing the NUMA-aware Memory ManagerFEATURE STATE: Kubernetes v1.32 [stable] (enabled by default: true)The Kubernetes Memory Manager enables the feature of guaranteed memory (and hugepages) allocation for pods in the Guaranteed QoS class.The Memory Manager employs hint generation protocol to yield the most suitable NUMA affinity for a pod. The Memory Manager feeds the central manager (Topology Manager) with these affinity hints. Based on both the hints and Topology Manager policy, the pod is rejected or admitted to the node.Moreover, the Memory Manager ensures that the memory which a pod requests is allocated from a minimum number of NUMA nodes.The Memory Manager is only pertinent to Linux based hosts.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.32.To check the version, enter kubectl version.To align memory resources with other requested resources in a Pod spec:the CPU Manager should be enabled and proper CPU Manager policy should be configured on a Node. See control CPU Management Policies;the Topology Manager should be enabled and proper Topology Manager policy should be configured on a Node. See control Topology Management Policies.Starting from v1.22, the Memory Manager is enabled by default through MemoryManager feature gate.Preceding v1.22, the kubelet must be started with the following flag:--feature-gates=MemoryManager=truein order to enable the Memory Manager feature.How does the Memory Manager Operate?The Memory Manager currently offers the guaranteed memory (and hugepages) allocation for Pods in Guaranteed QoS class. To immediately put the Memory Manager into operation follow the guidelines in the section Memory Manager configuration, and subsequently, prepare and deploy a Guaranteed pod as illustrated in the section Placing a Pod in the Guaranteed QoS class.The Memory Manager is a Hint Provider, and it provides topology hints for the Topology Manager which then aligns the requested resources according to these topology hints. On Linux, it also enforces cgroups (i.e. cpuset.mems) for pods. The complete flow diagram concerning pod admission and deployment process is illustrated in Memory Manager KEP: Design Overview and below:During this process, the Memory Manager updates its internal counters stored in Node Map and Memory Maps to manage guaranteed memory allocation.The Memory Manager updates the Node Map during the startup and runtime as follows.StartupThis occurs once a node administrator employs --reserved-memory (section Reserved memory flag). In this case, the Node Map becomes update",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/",
    "id": "k8s_00452_qa_8603"
  },
  {
    "question": "How does Utilizing the NUMA-aware Memory Manager work?",
    "answer": "Utilizing the NUMA-aware Memory ManagerFEATURE STATE: Kubernetes v1.32 [stable] (enabled by default: true)The Kubernetes Memory Manager enables the feature of guaranteed memory (and hugepages) allocation for pods in the Guaranteed QoS class.The Memory Manager employs hint generation protocol to yield the most suitable NUMA affinity for a pod. The Memory Manager feeds the central manager (Topology Manager) with these affinity hints. Based on both the hints and Topology Manager policy, the pod is rejected or admitted to the node.Moreover, the Memory Manager ensures that the memory which a pod requests is allocated from a minimum number of NUMA nodes.The Memory Manager is only pertinent to Linux based hosts.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.32.To check the version, enter kubectl version.To align memory resources with other requested resources in a Pod spec:the CPU Manager should be enabled and proper CPU Manager policy should be configured on a Node. See control CPU Management Policies;the Topology Manager should be enabled and proper Topology Manager policy should be configured on a Node. See control Topology Management Policies.Starting from v1.22, the Memory Manager is enabled by default through MemoryManager feature gate.Preceding v1.22, the kubelet must be started with the following flag:--feature-gates=MemoryManager=truein order to enable the Memory Manager feature.How does the Memory Manager Operate?The Memory Manager currently offers the guaranteed memory (and hugepages) allocation for Pods in Guaranteed QoS class. To immediately put the Memory Manager into operation follow the guidelines in the section Memory Manager configuration, and subsequently, prepare and deploy a Guaranteed pod as illustrated in the section Placing a Pod in the Guaranteed QoS class.The Memory Manager is a Hint Provider, and it provides topology hints for the Topology Manager which then aligns the requested resources according to these topology hints. On Linux, it also enforces cgroups (i.e. cpuset.mems) for pods. The complete flow diagram concerning pod admission and deployment process is illustrated in Memory Manager KEP: Design Overview and below:During this process, the Memory Manager updates its internal counters stored in Node Map and Memory Maps to manage guaranteed memory allocation.The Memory Manager updates the Node Map during the startup and runtime as follows.StartupThis occurs once a node administrator employs --reserved-memory (section Reserved memory flag). In this case, the Node Map becomes update",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/",
    "id": "k8s_00452_qa_8604"
  },
  {
    "question": "When would you use Utilizing the NUMA-aware Memory Manager?",
    "answer": "Utilizing the NUMA-aware Memory ManagerFEATURE STATE: Kubernetes v1.32 [stable] (enabled by default: true)The Kubernetes Memory Manager enables the feature of guaranteed memory (and hugepages) allocation for pods in the Guaranteed QoS class.The Memory Manager employs hint generation protocol to yield the most suitable NUMA affinity for a pod. The Memory Manager feeds the central manager (Topology Manager) with these affinity hints. Based on both the hints and Topology Manager policy, the pod is rejected or admitted to the node.Moreover, the Memory Manager ensures that the memory which a pod requests is allocated from a minimum number of NUMA nodes.The Memory Manager is only pertinent to Linux based hosts.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.32.To check the version, enter kubectl version.To align memory resources with other requested resources in a Pod spec:the CPU Manager should be enabled and proper CPU Manager policy should be configured on a Node. See control CPU Management Policies;the Topology Manager should be enabled and proper Topology Manager policy should be configured on a Node. See control Topology Management Policies.Starting from v1.22, the Memory Manager is enabled by default through MemoryManager feature gate.Preceding v1.22, the kubelet must be started with the following flag:--feature-gates=MemoryManager=truein order to enable the Memory Manager feature.How does the Memory Manager Operate?The Memory Manager currently offers the guaranteed memory (and hugepages) allocation for Pods in Guaranteed QoS class. To immediately put the Memory Manager into operation follow the guidelines in the section Memory Manager configuration, and subsequently, prepare and deploy a Guaranteed pod as illustrated in the section Placing a Pod in the Guaranteed QoS class.The Memory Manager is a Hint Provider, and it provides topology hints for the Topology Manager which then aligns the requested resources according to these topology hints. On Linux, it also enforces cgroups (i.e. cpuset.mems) for pods. The complete flow diagram concerning pod admission and deployment process is illustrated in Memory Manager KEP: Design Overview and below:During this process, the Memory Manager updates its internal counters stored in Node Map and Memory Maps to manage guaranteed memory allocation.The Memory Manager updates the Node Map during the startup and runtime as follows.StartupThis occurs once a node administrator employs --reserved-memory (section Reserved memory flag). In this case, the Node Map becomes update",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/",
    "id": "k8s_00452_qa_8605"
  },
  {
    "question": "What are the benefits of Utilizing the NUMA-aware Memory Manager?",
    "answer": "Utilizing the NUMA-aware Memory ManagerFEATURE STATE: Kubernetes v1.32 [stable] (enabled by default: true)The Kubernetes Memory Manager enables the feature of guaranteed memory (and hugepages) allocation for pods in the Guaranteed QoS class.The Memory Manager employs hint generation protocol to yield the most suitable NUMA affinity for a pod. The Memory Manager feeds the central manager (Topology Manager) with these affinity hints. Based on both the hints and Topology Manager policy, the pod is rejected or admitted to the node.Moreover, the Memory Manager ensures that the memory which a pod requests is allocated from a minimum number of NUMA nodes.The Memory Manager is only pertinent to Linux based hosts.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.32.To check the version, enter kubectl version.To align memory resources with other requested resources in a Pod spec:the CPU Manager should be enabled and proper CPU Manager policy should be configured on a Node. See control CPU Management Policies;the Topology Manager should be enabled and proper Topology Manager policy should be configured on a Node. See control Topology Management Policies.Starting from v1.22, the Memory Manager is enabled by default through MemoryManager feature gate.Preceding v1.22, the kubelet must be started with the following flag:--feature-gates=MemoryManager=truein order to enable the Memory Manager feature.How does the Memory Manager Operate?The Memory Manager currently offers the guaranteed memory (and hugepages) allocation for Pods in Guaranteed QoS class. To immediately put the Memory Manager into operation follow the guidelines in the section Memory Manager configuration, and subsequently, prepare and deploy a Guaranteed pod as illustrated in the section Placing a Pod in the Guaranteed QoS class.The Memory Manager is a Hint Provider, and it provides topology hints for the Topology Manager which then aligns the requested resources according to these topology hints. On Linux, it also enforces cgroups (i.e. cpuset.mems) for pods. The complete flow diagram concerning pod admission and deployment process is illustrated in Memory Manager KEP: Design Overview and below:During this process, the Memory Manager updates its internal counters stored in Node Map and Memory Maps to manage guaranteed memory allocation.The Memory Manager updates the Node Map during the startup and runtime as follows.StartupThis occurs once a node administrator employs --reserved-memory (section Reserved memory flag). In this case, the Node Map becomes update",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/",
    "id": "k8s_00452_qa_8606"
  },
  {
    "question": "What is Utilizing the NUMA-aware Memory Manager?",
    "answer": "T h e   K u b e r n e t e s   M e m o r y   M a n a g e r   e n a b l e s   t h e   f e a t u r e   o f   g u a r a n t e e d   m e m o r y   ( a n d   h u g e p a g e s )   a l l o c a t i o n   f o r   p o d s   i n   t h e   G u a r a n t e e d   Q o S   c l a s s .   T h e   M e m o r y   M a n a g e r   e m p l o y s   h i n t   g e n e r a t i o n   p r o t o c o l   t o   y i e l d   t h e   m o s t   s u i t a b l e   N U M A   a f f i n i t y   f o r   a   p o d .   T h e   M e m o r y   M a n a g e r   f e e d s   t h e   c e n t r a l   m a n a g e r   ( T o p o l o g y   M a n a g e r )   w i t h   t h e s e   a f f i n i t y   h i n t s .   B a s e d   o n   b o t h   t h e   h i n t s   a n d   T o p o l o g y   M a n a g e r   p o l i c y ,   t h e   p o d   i s   r e j e c t e d   o r   a d m i t t e d   t o   t h e   n o d e .   M o r e o v e r ,   t h e   M e m o r y   M a n a g e r   e n s u r e s   t h a t   t h e   m e m o r y   w h i c h   a   p o d   r e q u e s t s   i s   a l l o c a t e d   f r o m   a   m i n i m u m   n u m b e r   o f   N U M A   n o d e s .   T h e   M e m o r y   M a n a g e r   i s   o n l y   p e r t i n e n t   t o   L i n u x   b a s e d   h o s t s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/",
    "id": "k8s_00452_section_1_8607"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 3 2 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/",
    "id": "k8s_00452_section_2_8608"
  },
  {
    "question": "What is How does the Memory Manager Operate??",
    "answer": "T h e   M e m o r y   M a n a g e r   c u r r e n t l y   o f f e r s   t h e   g u a r a n t e e d   m e m o r y   ( a n d   h u g e p a g e s )   a l l o c a t i o n   f o r   P o d s   i n   G u a r a n t e e d   Q o S   c l a s s .   T o   i m m e d i a t e l y   p u t   t h e   M e m o r y   M a n a g e r   i n t o   o p e r a t i o n   f o l l o w   t h e   g u i d e l i n e s   i n   t h e   s e c t i o n   M e m o r y   M a n a g e r   c o n f i g u r a t i o n ,   a n d   s u b s e q u e n t l y ,   p r e p a r e   a n d   d e p l o y   a   G u a r a n t e e d   p o d   a s   i l l u s t r a t e d   i n   t h e   s e c t i o n   P l a c i n g   a   P o d   i n   t h e   G u a r a n t e e d   Q o S   c l a s s .   T h e   M e m o r y   M a n a g e r   i s   a   H i n t   P r o v i d e r ,   a n d   i t   p r o v i d e s   t o p o l o g y   h i n t s   f o r   t h e   T o p o l o g y   M a n a g e r   w h i c h   t h e n   a l i g n s   t h e   r e q u e s t e d   r e s o u r c e s   a c c o r d i n g   t o   t h e s e   t o p o l o g y   h i n t s .   O n   L i n u x ,   i t   a l s o   e n f o r c e s   c g r o u p s   ( i . e .   c p u s e t . m e m s )   f o r   p o d s .   T h e   c o m p l e t e   f l o w   d i a g r a m   c o n c e r n i n g   p o d   a d m i s s i o n   a n d   d e p l o y m e n t   p r o c e s s   i s   i l l u s t r a t e d   i n   M e m o r y   M a n a g e r   K E P :   D e s i g n   O v e r v i e w   a n d   b e l o w :   D u r i n g   t h i s   p r o c e s s ,   t h e   M e m o r y   M a n a g e r   u p d a t e s   i t s   i n t e r n a l   c o u n t e r s   s t o r e d   i n   N o d e   M a p   a n d   M e m o r y   M a p s   t o   m a n a g e   g u a r a n t e e d   m e m o r y   a l l o c a t i o n .   T h e   M e m o r y   M a n a g e r   u p d a t e s   t h e   N o d e   M a p   d u r i n g   t h e   s t a r t u p   a n d   r u n t i m e   a s   f o l l o w s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/",
    "id": "k8s_00452_section_2_8609"
  },
  {
    "question": "What is Startup?",
    "answer": "T h i s   o c c u r s   o n c e   a   n o d e   a d m i n i s t r a t o r   e m p l o y s   - - r e s e r v e d - m e m o r y   ( s e c t i o n   R e s e r v e d   m e m o r y   f l a g ) .   I n   t h i s   c a s e ,   t h e   N o d e   M a p   b e c o m e s   u p d a t e d   t o   r e f l e c t   t h i s   r e s e r v a t i o n   a s   i l l u s t r a t e d   i n   M e m o r y   M a n a g e r   K E P :   M e m o r y   M a p s   a t   s t a r t - u p   ( w i t h   e x a m p l e s ) .   T h e   a d m i n i s t r a t o r   m u s t   p r o v i d e   - - r e s e r v e d - m e m o r y   f l a g   w h e n   S t a t i c   p o l i c y   i s   c o n f i g u r e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/",
    "id": "k8s_00452_section_3_8610"
  },
  {
    "question": "What is Runtime?",
    "answer": "R e f e r e n c e   M e m o r y   M a n a g e r   K E P :   M e m o r y   M a p s   a t   r u n t i m e   ( w i t h   e x a m p l e s )   i l l u s t r a t e s   h o w   a   s u c c e s s f u l   p o d   d e p l o y m e n t   a f f e c t s   t h e   N o d e   M a p ,   a n d   i t   a l s o   r e l a t e s   t o   h o w   p o t e n t i a l   O u t - o f - M e m o r y   ( O O M )   s i t u a t i o n s   a r e   h a n d l e d   f u r t h e r   b y   K u b e r n e t e s   o r   o p e r a t i n g   s y s t e m .   I m p o r t a n t   t o p i c   i n   t h e   c o n t e x t   o f   M e m o r y   M a n a g e r   o p e r a t i o n   i s   t h e   m a n a g e m e n t   o f   N U M A   g r o u p s .   E a c h   t i m e   p o d ' s   m e m o r y   r e q u e s t   i s   i n   e x c e s s   o f   s i n g l e   N U M A   n o d e   c a p a c i t y ,   t h e   M e m o r y   M a n a g e r   a t t e m p t s   t o   c r e a t e   a   g r o u p   t h a t   c o m p r i s e s   s e v e r a l   N U M A   n o d e s   a n d   f e a t u r e s   e x t e n d   m e m o r y   c a p a c i t y .   T h e   p r o b l e m   h a s   b e e n   s o l v e d   a s   e l a b o r a t e d   i n   M e m o r y   M a n a g e r   K E P :   H o w   t o   e n a b l e   t h e   g u a r a n t e e d   m e m o r y   a l l o c a t i o n   o v e r   m a n y   N U M A   n o d e s ? .   A l s o ,   r e f e r e n c e   M e m o r y   M a n a g e r   K E P :   S i m u l a t i o n   -   h o w   t h e   M e m o r y   M a n a g e r   w o r k s ?   ( b y   e x a m p l e s )   i l l u s t r a t e s   h o w   t h e   m a n a g e m e n t   o f   g r o u p s   o c c u r s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/",
    "id": "k8s_00452_section_3_8611"
  },
  {
    "question": "What is Windows Support?",
    "answer": "W i n d o w s   s u p p o r t   c a n   b e   e n a b l e d   v i a   t h e   W i n d o w s C P U A n d M e m o r y A f f i n i t y   f e a t u r e   g a t e   a n d   i t   r e q u i r e s   s u p p o r t   i n   t h e   c o n t a i n e r   r u n t i m e .   O n l y   t h e   B e s t E f f o r t   P o l i c y   i s   s u p p o r t e d   o n   W i n d o w s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/",
    "id": "k8s_00452_section_3_8612"
  },
  {
    "question": "What is Memory Manager configuration?",
    "answer": "O t h e r   M a n a g e r s   s h o u l d   b e   f i r s t   p r e - c o n f i g u r e d .   N e x t ,   t h e   M e m o r y   M a n a g e r   f e a t u r e   s h o u l d   b e   e n a b l e d   a n d   b e   r u n   w i t h   S t a t i c   p o l i c y   ( s e c t i o n   S t a t i c   p o l i c y ) .   O p t i o n a l l y ,   s o m e   a m o u n t   o f   m e m o r y   c a n   b e   r e s e r v e d   f o r   s y s t e m   o r   k u b e l e t   p r o c e s s e s   t o   i n c r e a s e   n o d e   s t a b i l i t y   ( s e c t i o n   R e s e r v e d   m e m o r y   f l a g ) .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/",
    "id": "k8s_00452_section_2_8613"
  },
  {
    "question": "What is Policies?",
    "answer": "M e m o r y   M a n a g e r   s u p p o r t s   t w o   p o l i c i e s .   Y o u   c a n   s e l e c t   a   p o l i c y   v i a   a   k u b e l e t   f l a g   - - m e m o r y - m a n a g e r - p o l i c y :   N o n e   ( d e f a u l t ) S t a t i c   ( L i n u x   o n l y ) B e s t E f f o r t   ( W i n d o w s   O n l y )",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/",
    "id": "k8s_00452_section_3_8614"
  },
  {
    "question": "What is None policy?",
    "answer": "T h i s   i s   t h e   d e f a u l t   p o l i c y   a n d   d o e s   n o t   a f f e c t   t h e   m e m o r y   a l l o c a t i o n   i n   a n y   w a y .   I t   a c t s   t h e   s a m e   a s   i f   t h e   M e m o r y   M a n a g e r   i s   n o t   p r e s e n t   a t   a l l .   T h e   N o n e   p o l i c y   r e t u r n s   d e f a u l t   t o p o l o g y   h i n t .   T h i s   s p e c i a l   h i n t   d e n o t e s   t h a t   H i n t   P r o v i d e r   ( M e m o r y   M a n a g e r   i n   t h i s   c a s e )   h a s   n o   p r e f e r e n c e   f o r   N U M A   a f f i n i t y   w i t h   a n y   r e s o u r c e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/",
    "id": "k8s_00452_section_4_8615"
  },
  {
    "question": "What is Static policy?",
    "answer": "I n   t h e   c a s e   o f   t h e   G u a r a n t e e d   p o d ,   t h e   S t a t i c   M e m o r y   M a n a g e r   p o l i c y   r e t u r n s   t o p o l o g y   h i n t s   r e l a t i n g   t o   t h e   s e t   o f   N U M A   n o d e s   w h e r e   t h e   m e m o r y   c a n   b e   g u a r a n t e e d ,   a n d   r e s e r v e s   t h e   m e m o r y   t h r o u g h   u p d a t i n g   t h e   i n t e r n a l   N o d e M a p   o b j e c t .   I n   t h e   c a s e   o f   t h e   B e s t E f f o r t   o r   B u r s t a b l e   p o d ,   t h e   S t a t i c   M e m o r y   M a n a g e r   p o l i c y   s e n d s   b a c k   t h e   d e f a u l t   t o p o l o g y   h i n t   a s   t h e r e   i s   n o   r e q u e s t   f o r   t h e   g u a r a n t e e d   m e m o r y ,   a n d   d o e s   n o t   r e s e r v e   t h e   m e m o r y   i n   t h e   i n t e r n a l   N o d e M a p   o b j e c t .   T h i s   p o l i c y   i s   o n l y   s u p p o r t e d   o n   L i n u x .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/",
    "id": "k8s_00452_section_4_8616"
  },
  {
    "question": "What is BestEffort policy?",
    "answer": "T h i s   p o l i c y   i s   o n l y   s u p p o r t e d   o n   W i n d o w s .   O n   W i n d o w s ,   N U M A   n o d e   a s s i g n m e n t   w o r k s   d i f f e r e n t l y   t h a n   L i n u x .   T h e r e   i s   n o   m e c h a n i s m   t o   e n s u r e   t h a t   M e m o r y   a c c e s s   o n l y   c o m e s   f r o m   a   s p e c i f i c   N U M A   n o d e .   I n s t e a d   t h e   W i n d o w s   s c h e d u l e r   w i l l   s e l e c t   t h e   m o s t   o p t i m a l   N U M A   n o d e   b a s e d   o n   t h e   C P U ( s )   a s s i g n m e n t s .   I t   i s   p o s s i b l e   t h a t   W i n d o w s   m i g h t   u s e   o t h e r   N U M A   n o d e s   i f   d e e m e d   o p t i m a l   b y   t h e   W i n d o w s   s c h e d u l e r .   T h e   p o l i c y   d o e s   t r a c k   t h e   a m o u n t   o f   m e m o r y   a v a i l a b l e   a n d   r e q u e s t e d   t h r o u g h   t h e   i n t e r n a l   N o d e M a p .   T h e   m e m o r y   m a n a g e r   w i l l   m a k e   a   b e s t   e f f o r t   a t   e n s u r i n g   t h a t   e n o u g h   m e m o r y   i s   a v a i l a b l e   o n   a   N U M A   n o d e   b e f o r e   m a k i n g   t h e   a s s i g n m e n t . T h i s   m e a n s   t h a t   i n   m o s t   c a s e s   m e m o r y   a s s i g n m e n t   s h o u l d   f u n c t i o n   a s   e x p e c t e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/",
    "id": "k8s_00452_section_4_8617"
  },
  {
    "question": "What is Reserved memory flag?",
    "answer": "T h e   N o d e   A l l o c a t a b l e   m e c h a n i s m   i s   c o m m o n l y   u s e d   b y   n o d e   a d m i n i s t r a t o r s   t o   r e s e r v e   K 8 S   n o d e   s y s t e m   r e s o u r c e s   f o r   t h e   k u b e l e t   o r   o p e r a t i n g   s y s t e m   p r o c e s s e s   i n   o r d e r   t o   e n h a n c e   t h e   n o d e   s t a b i l i t y .   A   d e d i c a t e d   s e t   o f   f l a g s   c a n   b e   u s e d   f o r   t h i s   p u r p o s e   t o   s e t   t h e   t o t a l   a m o u n t   o f   r e s e r v e d   m e m o r y   f o r   a   n o d e .   T h i s   p r e - c o n f i g u r e d   v a l u e   i s   s u b s e q u e n t l y   u t i l i z e d   t o   c a l c u l a t e   t h e   r e a l   a m o u n t   o f   n o d e ' s   \" a l l o c a t a b l e \"   m e m o r y   a v a i l a b l e   t o   p o d s .   T h e   K u b e r n e t e s   s c h e d u l e r   i n c o r p o r a t e s   \" a l l o c a t a b l e \"   t o   o p t i m i s e   p o d   s c h e d u l i n g   p r o c e s s .   T h e   f o r e g o i n g   f l a g s   i n c l u d e   - - k u b e - r e s e r v e d ,   - - s y s t e m - r e s e r v e d   a n d   - - e v i c t i o n - t h r e s h o l d .   T h e   s u m   o f   t h e i r   v a l u e s   w i l l   a c c o u n t   f o r   t h e   t o t a l   a m o u n t   o f   r e s e r v e d   m e m o r y .   A   n e w   - - r e s e r v e d - m e m o r y   f l a g   w a s   a d d e d   t o   M e m o r y   M a n a g e r   t o   a l l o w   f o r   t h i s   t o t a l   r e s e r v e d   m e m o r y   t o   b e   s p l i t   ( b y   a   n o d e   a d m i n i s t r a t o r )   a n d   a c c o r d i n g l y   r e s e r v e d   a c r o s s   m a n y   N U M A   n o d e s .   T h e   f l a g   s p e c i f i e s   a   c o m m a - s e p a r a t e d   l i s t   o f   m e m o r y   r e s e r v a t i o n s   o f   d i f f e r e n t   m e m o r y   t y p e s   p e r   N U M A   n o d e .   M e m o r y   r e s e r v a t i o n s   a c ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/",
    "id": "k8s_00452_section_3_8618"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e   i s   a n   e x a m p l e   o f   a   c o r r e c t   c o n f i g u r a t i o n :   - - k u b e - r e s e r v e d = c p u = 4 , m e m o r y = 4 G i   - - s y s t e m - r e s e r v e d = c p u = 1 , m e m o r y = 1 G i   - - m e m o r y - m a n a g e r - p o l i c y = S t a t i c   - - r e s e r v e d - m e m o r y   ' 0 : m e m o r y = 3 G i ; 1 : m e m o r y = 2 1 4 8 M i '   P r i o r   t o   K u b e r n e t e s   1 . 3 2 ,   y o u   a l s o   n e e d   t o   a d d   - - f e a t u r e - g a t e s = M e m o r y M a n a g e r = t r u e   L e t   u s   v a l i d a t e   t h e   c o n f i g u r a t i o n   a b o v e :   k u b e - r e s e r v e d   +   s y s t e m - r e s e r v e d   +   e v i c t i o n - h a r d ( d e f a u l t )   =   r e s e r v e d - m e m o r y ( 0 )   +   r e s e r v e d - m e m o r y ( 1 ) 4 G i B   +   1 G i B   +   1 0 0 M i B   =   3 G i B   +   2 1 4 8 M i B 5 1 2 0 M i B   +   1 0 0 M i B   =   3 0 7 2 M i B   +   2 1 4 8 M i B 5 2 2 0 M i B   =   5 2 2 0 M i B   ( w h i c h   i s   c o r r e c t )",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/",
    "id": "k8s_00452_section_4_8619"
  },
  {
    "question": "What is Placing a Pod in the Guaranteed QoS class?",
    "answer": "I f   t h e   s e l e c t e d   p o l i c y   i s   a n y t h i n g   o t h e r   t h a n   N o n e ,   t h e   M e m o r y   M a n a g e r   i d e n t i f i e s   p o d s   t h a t   a r e   i n   t h e   G u a r a n t e e d   Q o S   c l a s s .   T h e   M e m o r y   M a n a g e r   p r o v i d e s   s p e c i f i c   t o p o l o g y   h i n t s   t o   t h e   T o p o l o g y   M a n a g e r   f o r   e a c h   G u a r a n t e e d   p o d .   F o r   p o d s   i n   a   Q o S   c l a s s   o t h e r   t h a n   G u a r a n t e e d ,   t h e   M e m o r y   M a n a g e r   p r o v i d e s   d e f a u l t   t o p o l o g y   h i n t s   t o   t h e   T o p o l o g y   M a n a g e r .   T h e   f o l l o w i n g   e x c e r p t s   f r o m   p o d   m a n i f e s t s   a s s i g n   a   p o d   t o   t h e   G u a r a n t e e d   Q o S   c l a s s .   P o d   w i t h   i n t e g e r   C P U ( s )   r u n s   i n   t h e   G u a r a n t e e d   Q o S   c l a s s ,   w h e n   r e q u e s t s   a r e   e q u a l   t o   l i m i t s :   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 2 0 0 M i \"   c p u :   \" 2 \"   e x a m p l e . c o m / d e v i c e :   \" 1 \"   r e q u e s t s :   m e m o r y :   \" 2 0 0 M i \"   c p u :   \" 2 \"   e x a m p l e . c o m / d e v i c e :   \" 1 \"   A l s o ,   a   p o d   s h a r i n g   C P U ( s )   r u n s   i n   t h e   G u a r a n t e e d   Q o S   c l a s s ,   w h e n   r e q u e s t s   a r e   e q u a l   t o   l i m i t s .   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 2 0 0 M i \"   c p u :   \" 3 0 0 m \"   e x a m p l e . c o m / d e v i c e :   \" 1 \"   r e q u e s t s :   m e m o r y :   \" 2 0 0 M i \"   c p u :   \" 3 0 0 m \"   e x a m p l e . c o m / d e v i c e :   \" 1 \"   N o t i c e   t h a t   b o t h   C P U   a n d   m e m ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/",
    "id": "k8s_00452_section_2_8620"
  },
  {
    "question": "What is Troubleshooting?",
    "answer": "T h e   f o l l o w i n g   m e a n s   c a n   b e   u s e d   t o   t r o u b l e s h o o t   t h e   r e a s o n   w h y   a   p o d   c o u l d   n o t   b e   d e p l o y e d   o r   b e c a m e   r e j e c t e d   a t   a   n o d e :   p o d   s t a t u s   -   i n d i c a t e s   t o p o l o g y   a f f i n i t y   e r r o r s s y s t e m   l o g s   -   i n c l u d e   v a l u a b l e   i n f o r m a t i o n   f o r   d e b u g g i n g ,   e . g . ,   a b o u t   g e n e r a t e d   h i n t s s t a t e   f i l e   -   t h e   d u m p   o f   i n t e r n a l   s t a t e   o f   t h e   M e m o r y   M a n a g e r   ( i n c l u d e s   N o d e   M a p   a n d   M e m o r y   M a p s ) s t a r t i n g   f r o m   v 1 . 2 2 ,   t h e   d e v i c e   p l u g i n   r e s o u r c e   A P I   c a n   b e   u s e d   t o   r e t r i e v e   i n f o r m a t i o n   a b o u t   t h e   m e m o r y   r e s e r v e d   f o r   c o n t a i n e r s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/",
    "id": "k8s_00452_section_2_8621"
  },
  {
    "question": "What is Pod status (TopologyAffinityError)?",
    "answer": "T h i s   e r r o r   t y p i c a l l y   o c c u r s   i n   t h e   f o l l o w i n g   s i t u a t i o n s :   a   n o d e   h a s   n o t   e n o u g h   r e s o u r c e s   a v a i l a b l e   t o   s a t i s f y   t h e   p o d ' s   r e q u e s t t h e   p o d ' s   r e q u e s t   i s   r e j e c t e d   d u e   t o   p a r t i c u l a r   T o p o l o g y   M a n a g e r   p o l i c y   c o n s t r a i n t s   T h e   e r r o r   a p p e a r s   i n   t h e   s t a t u s   o f   a   p o d :   k u b e c t l   g e t   p o d s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   g u a r a n t e e d   0 / 1   T o p o l o g y A f f i n i t y E r r o r   0   1 1 3 s   U s e   k u b e c t l   d e s c r i b e   p o d   < i d >   o r   k u b e c t l   g e t   e v e n t s   t o   o b t a i n   d e t a i l e d   e r r o r   m e s s a g e :   W a r n i n g   T o p o l o g y A f f i n i t y E r r o r   1 0 m   k u b e l e t ,   d e l l 8   R e s o u r c e s   c a n n o t   b e   a l l o c a t e d   w i t h   T o p o l o g y   l o c a l i t y",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/",
    "id": "k8s_00452_section_3_8622"
  },
  {
    "question": "What is System logs?",
    "answer": "S e a r c h   s y s t e m   l o g s   w i t h   r e s p e c t   t o   a   p a r t i c u l a r   p o d .   T h e   s e t   o f   h i n t s   t h a t   M e m o r y   M a n a g e r   g e n e r a t e d   f o r   t h e   p o d   c a n   b e   f o u n d   i n   t h e   l o g s .   A l s o ,   t h e   s e t   o f   h i n t s   g e n e r a t e d   b y   C P U   M a n a g e r   s h o u l d   b e   p r e s e n t   i n   t h e   l o g s .   T o p o l o g y   M a n a g e r   m e r g e s   t h e s e   h i n t s   t o   c a l c u l a t e   a   s i n g l e   b e s t   h i n t .   T h e   b e s t   h i n t   s h o u l d   b e   a l s o   p r e s e n t   i n   t h e   l o g s .   T h e   b e s t   h i n t   i n d i c a t e s   w h e r e   t o   a l l o c a t e   a l l   t h e   r e s o u r c e s .   T o p o l o g y   M a n a g e r   t e s t s   t h i s   h i n t   a g a i n s t   i t s   c u r r e n t   p o l i c y ,   a n d   b a s e d   o n   t h e   v e r d i c t ,   i t   e i t h e r   a d m i t s   t h e   p o d   t o   t h e   n o d e   o r   r e j e c t s   i t .   A l s o ,   s e a r c h   t h e   l o g s   f o r   o c c u r r e n c e s   a s s o c i a t e d   w i t h   t h e   M e m o r y   M a n a g e r ,   e . g .   t o   f i n d   o u t   i n f o r m a t i o n   a b o u t   c g r o u p s   a n d   c p u s e t . m e m s   u p d a t e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/",
    "id": "k8s_00452_section_3_8623"
  },
  {
    "question": "What is Examine the memory manager state on a node?",
    "answer": "L e t   u s   f i r s t   d e p l o y   a   s a m p l e   G u a r a n t e e d   p o d   w h o s e   s p e c i f i c a t i o n   i s   a s   f o l l o w s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   g u a r a n t e e d   s p e c :   c o n t a i n e r s :   -   n a m e :   g u a r a n t e e d   i m a g e :   c o n s u m e r   i m a g e P u l l P o l i c y :   N e v e r   r e s o u r c e s :   l i m i t s :   c p u :   \" 2 \"   m e m o r y :   1 5 0 G i   r e q u e s t s :   c p u :   \" 2 \"   m e m o r y :   1 5 0 G i   c o m m a n d :   [ \" s l e e p \" , \" i n f i n i t y \" ]   N e x t ,   l e t   u s   l o g   i n t o   t h e   n o d e   w h e r e   i t   w a s   d e p l o y e d   a n d   e x a m i n e   t h e   s t a t e   f i l e   i n   / v a r / l i b / k u b e l e t / m e m o r y _ m a n a g e r _ s t a t e :   {   \" p o l i c y N a m e \" : \" S t a t i c \" ,   \" m a c h i n e S t a t e \" : {   \" 0 \" : {   \" n u m b e r O f A s s i g n m e n t s \" : 1 ,   \" m e m o r y M a p \" : {   \" h u g e p a g e s - 1 G i \" : {   \" t o t a l \" : 0 ,   \" s y s t e m R e s e r v e d \" : 0 ,   \" a l l o c a t a b l e \" : 0 ,   \" r e s e r v e d \" : 0 ,   \" f r e e \" : 0   } ,   \" m e m o r y \" : {   \" t o t a l \" : 1 3 4 9 8 7 3 5 4 1 1 2 ,   \" s y s t e m R e s e r v e d \" : 3 2 2 1 2 2 5 4 7 2 ,   \" a l l o c a t a b l e \" : 1 3 1 7 6 6 1 2 8 6 4 0 ,   \" r e s e r v e d \" : 1 3 1 7 6 6 1 2 8 6 4 0 ,   \" f r e e \" : 0   }   } ,   \" n o d e s \" : [   0 ,   1   ]   } ,   \" 1 \" : {   \" n u m b e r O f A s s i g n m e n t s \" : 1 ,   \" m e m o r y M a p \" : {   \" h u g e p a g e s - 1 G i \" : {   \" t o t a l \" : 0 ,   \" s y s t e m R e s e r v e d \" : 0 ,   \" a l l o c a t a b l e \" : 0 ,   \" r e s e r v e d \" : 0 ,   \" f r e e \" : 0   } ,   \" m e m o r y \" : {   \" t o t a l \" : 1 3 5 2 8 6 7 2 2 5 6 0 ,   \" s y s t e m R e s e r v e d \" : 2 2 5 2 3 4 1 2 4 8 ,   \" a l l o c a t a b l e \" : 1 3 3 0 3 4 3 8 1 3 1 2 ,   \" r e s e r v e d \" : ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/",
    "id": "k8s_00452_section_3_8624"
  },
  {
    "question": "What is Device plugin resource API?",
    "answer": "T h e   k u b e l e t   p r o v i d e s   a   P o d R e s o u r c e L i s t e r   g R P C   s e r v i c e   t o   e n a b l e   d i s c o v e r y   o f   r e s o u r c e s   a n d   a s s o c i a t e d   m e t a d a t a .   B y   u s i n g   i t s   L i s t   g R P C   e n d p o i n t ,   i n f o r m a t i o n   a b o u t   r e s e r v e d   m e m o r y   f o r   e a c h   c o n t a i n e r   c a n   b e   r e t r i e v e d ,   w h i c h   i s   c o n t a i n e d   i n   p r o t o b u f   C o n t a i n e r M e m o r y   m e s s a g e .   T h i s   i n f o r m a t i o n   c a n   b e   r e t r i e v e d   s o l e l y   f o r   p o d s   i n   G u a r a n t e e d   Q o S   c l a s s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/",
    "id": "k8s_00452_section_3_8625"
  },
  {
    "question": "What is What's next?",
    "answer": "M e m o r y   M a n a g e r   K E P :   D e s i g n   O v e r v i e w M e m o r y   M a n a g e r   K E P :   M e m o r y   M a p s   a t   s t a r t - u p   ( w i t h   e x a m p l e s ) M e m o r y   M a n a g e r   K E P :   M e m o r y   M a p s   a t   r u n t i m e   ( w i t h   e x a m p l e s ) M e m o r y   M a n a g e r   K E P :   S i m u l a t i o n   -   h o w   t h e   M e m o r y   M a n a g e r   w o r k s ?   ( b y   e x a m p l e s ) M e m o r y   M a n a g e r   K E P :   T h e   C o n c e p t   o f   N o d e   M a p   a n d   M e m o r y   M a p s M e m o r y   M a n a g e r   K E P :   H o w   t o   e n a b l e   t h e   g u a r a n t e e d   m e m o r y   a l l o c a t i o n   o v e r   m a n y   N U M A   n o d e s ?",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/",
    "id": "k8s_00452_section_2_8626"
  },
  {
    "question": "What is SelfSubjectAccessReview?",
    "answer": "SelfSubjectAccessReviewSelfSubjectAccessReview checks whether or the current user can perform an action.apiVersion: authorization.k8s.io/v1import \"k8s.io/api/authorization/v1\"SelfSubjectAccessReviewSelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an actionapiVersion: authorization.k8s.io/v1kind: SelfSubjectAccessReviewmetadata (ObjectMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (SelfSubjectAccessReviewSpec), requiredSpec holds information about the request being evaluated. user and groups must be emptystatus (SubjectAccessReviewStatus)Status is filled in by the server and indicates whether the request is allowed or notSelfSubjectAccessReviewSpecSelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be setnonResourceAttributes (NonResourceAttributes)NonResourceAttributes describes information for a non-resource access requestNonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interfacenonResourceAttributes.path (string)Path is the URL path of the requestnonResourceAttributes.verb (string)Verb is the standard HTTP verbresourceAttributes (ResourceAttributes)ResourceAuthorizationAttributes describes information for a resource access requestResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interfaceresourceAttributes.fieldSelector (FieldSelectorAttributes)fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it.*FieldSelectorAttributes indicates a field limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.resourceAttributes.fieldSelector.rawSelector (string)rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSele",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/self-subject-access-review-v1/",
    "id": "k8s_00453_qa_8627"
  },
  {
    "question": "How does SelfSubjectAccessReview work?",
    "answer": "SelfSubjectAccessReviewSelfSubjectAccessReview checks whether or the current user can perform an action.apiVersion: authorization.k8s.io/v1import \"k8s.io/api/authorization/v1\"SelfSubjectAccessReviewSelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an actionapiVersion: authorization.k8s.io/v1kind: SelfSubjectAccessReviewmetadata (ObjectMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (SelfSubjectAccessReviewSpec), requiredSpec holds information about the request being evaluated. user and groups must be emptystatus (SubjectAccessReviewStatus)Status is filled in by the server and indicates whether the request is allowed or notSelfSubjectAccessReviewSpecSelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be setnonResourceAttributes (NonResourceAttributes)NonResourceAttributes describes information for a non-resource access requestNonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interfacenonResourceAttributes.path (string)Path is the URL path of the requestnonResourceAttributes.verb (string)Verb is the standard HTTP verbresourceAttributes (ResourceAttributes)ResourceAuthorizationAttributes describes information for a resource access requestResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interfaceresourceAttributes.fieldSelector (FieldSelectorAttributes)fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it.*FieldSelectorAttributes indicates a field limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.resourceAttributes.fieldSelector.rawSelector (string)rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSele",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/self-subject-access-review-v1/",
    "id": "k8s_00453_qa_8628"
  },
  {
    "question": "When would you use SelfSubjectAccessReview?",
    "answer": "SelfSubjectAccessReviewSelfSubjectAccessReview checks whether or the current user can perform an action.apiVersion: authorization.k8s.io/v1import \"k8s.io/api/authorization/v1\"SelfSubjectAccessReviewSelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an actionapiVersion: authorization.k8s.io/v1kind: SelfSubjectAccessReviewmetadata (ObjectMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (SelfSubjectAccessReviewSpec), requiredSpec holds information about the request being evaluated. user and groups must be emptystatus (SubjectAccessReviewStatus)Status is filled in by the server and indicates whether the request is allowed or notSelfSubjectAccessReviewSpecSelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be setnonResourceAttributes (NonResourceAttributes)NonResourceAttributes describes information for a non-resource access requestNonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interfacenonResourceAttributes.path (string)Path is the URL path of the requestnonResourceAttributes.verb (string)Verb is the standard HTTP verbresourceAttributes (ResourceAttributes)ResourceAuthorizationAttributes describes information for a resource access requestResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interfaceresourceAttributes.fieldSelector (FieldSelectorAttributes)fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it.*FieldSelectorAttributes indicates a field limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.resourceAttributes.fieldSelector.rawSelector (string)rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSele",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/self-subject-access-review-v1/",
    "id": "k8s_00453_qa_8629"
  },
  {
    "question": "What are the benefits of SelfSubjectAccessReview?",
    "answer": "SelfSubjectAccessReviewSelfSubjectAccessReview checks whether or the current user can perform an action.apiVersion: authorization.k8s.io/v1import \"k8s.io/api/authorization/v1\"SelfSubjectAccessReviewSelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an actionapiVersion: authorization.k8s.io/v1kind: SelfSubjectAccessReviewmetadata (ObjectMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (SelfSubjectAccessReviewSpec), requiredSpec holds information about the request being evaluated. user and groups must be emptystatus (SubjectAccessReviewStatus)Status is filled in by the server and indicates whether the request is allowed or notSelfSubjectAccessReviewSpecSelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be setnonResourceAttributes (NonResourceAttributes)NonResourceAttributes describes information for a non-resource access requestNonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interfacenonResourceAttributes.path (string)Path is the URL path of the requestnonResourceAttributes.verb (string)Verb is the standard HTTP verbresourceAttributes (ResourceAttributes)ResourceAuthorizationAttributes describes information for a resource access requestResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interfaceresourceAttributes.fieldSelector (FieldSelectorAttributes)fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it.*FieldSelectorAttributes indicates a field limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.resourceAttributes.fieldSelector.rawSelector (string)rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSele",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/self-subject-access-review-v1/",
    "id": "k8s_00453_qa_8630"
  },
  {
    "question": "What is SelfSubjectAccessReview?",
    "answer": "a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a u t h o r i z a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/self-subject-access-review-v1/",
    "id": "k8s_00453_section_1_8631"
  },
  {
    "question": "What is SelfSubjectAccessReview?",
    "answer": "S e l f S u b j e c t A c c e s s R e v i e w   c h e c k s   w h e t h e r   o r   t h e   c u r r e n t   u s e r   c a n   p e r f o r m   a n   a c t i o n .   N o t   f i l l i n g   i n   a   s p e c . n a m e s p a c e   m e a n s   \" i n   a l l   n a m e s p a c e s \" .   S e l f   i s   a   s p e c i a l   c a s e ,   b e c a u s e   u s e r s   s h o u l d   a l w a y s   b e   a b l e   t o   c h e c k   w h e t h e r   t h e y   c a n   p e r f o r m   a n   a c t i o n   a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   S e l f S u b j e c t A c c e s s R e v i e w m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( S e l f S u b j e c t A c c e s s R e v i e w S p e c ) ,   r e q u i r e d S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d .   u s e r   a n d   g r o u p s   m u s t   b e   e m p t y s t a t u s   ( S u b j e c t A c c e s s R e v i e w S t a t u s ) S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   a n d   i n d i c a t e s   w h e t h e r   t h e   r e q u e s t   i s   a l l o w e d   o r   n o t   a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   S e l f S u b j e c t A c c e s s R e v i e w   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( S e l f S u b j e c t A c c e s s R e v i e w S p e c ) ,   r e q u i r e d   S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/self-subject-access-review-v1/",
    "id": "k8s_00453_section_2_8632"
  },
  {
    "question": "What is SelfSubjectAccessReviewSpec?",
    "answer": "S e l f S u b j e c t A c c e s s R e v i e w S p e c   i s   a   d e s c r i p t i o n   o f   t h e   a c c e s s   r e q u e s t .   E x a c t l y   o n e   o f   R e s o u r c e A u t h o r i z a t i o n A t t r i b u t e s   a n d   N o n R e s o u r c e A u t h o r i z a t i o n A t t r i b u t e s   m u s t   b e   s e t   n o n R e s o u r c e A t t r i b u t e s   ( N o n R e s o u r c e A t t r i b u t e s ) N o n R e s o u r c e A t t r i b u t e s   d e s c r i b e s   i n f o r m a t i o n   f o r   a   n o n - r e s o u r c e   a c c e s s   r e q u e s t N o n R e s o u r c e A t t r i b u t e s   i n c l u d e s   t h e   a u t h o r i z a t i o n   a t t r i b u t e s   a v a i l a b l e   f o r   n o n - r e s o u r c e   r e q u e s t s   t o   t h e   A u t h o r i z e r   i n t e r f a c e n o n R e s o u r c e A t t r i b u t e s . p a t h   ( s t r i n g ) P a t h   i s   t h e   U R L   p a t h   o f   t h e   r e q u e s t n o n R e s o u r c e A t t r i b u t e s . v e r b   ( s t r i n g ) V e r b   i s   t h e   s t a n d a r d   H T T P   v e r b r e s o u r c e A t t r i b u t e s   ( R e s o u r c e A t t r i b u t e s ) R e s o u r c e A u t h o r i z a t i o n A t t r i b u t e s   d e s c r i b e s   i n f o r m a t i o n   f o r   a   r e s o u r c e   a c c e s s   r e q u e s t R e s o u r c e A t t r i b u t e s   i n c l u d e s   t h e   a u t h o r i z a t i o n   a t t r i b u t e s   a v a i l a b l e   f o r   r e s o u r c e   r e q u e s t s   t o   t h e   A u t h o r i z e r   i n t e r f a c e r e s o u r c e A t t r i b u t e s . f i e l d S e l e c t o r   ( F i e l d S e l e c t o r A t t r i b u t e s ) f i e l d S e l e c t o r   d e s c r i b e s   t h e   l i m i t a t i o n   o n   a c c e s s   b a s e d   o n   f i e l d .   I t   c a n   o n l y   l i m i t   a c c e s s ,   n o t   b r o a d e n   i t . * F i e l d S e l e c t o r A t t r i b u t e s   i n d i c a t e s   a   f i e l d   l i m i t e d   a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/self-subject-access-review-v1/",
    "id": "k8s_00453_section_2_8633"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t h o r i z a t i o n . k 8 s . i o / v 1 / s e l f s u b j e c t a c c e s s r e v i e w s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/self-subject-access-review-v1/",
    "id": "k8s_00453_section_4_8634"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   S e l f S u b j e c t A c c e s s R e v i e w ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   S e l f S u b j e c t A c c e s s R e v i e w ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/self-subject-access-review-v1/",
    "id": "k8s_00453_section_4_8635"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e l f S u b j e c t A c c e s s R e v i e w ) :   O K   2 0 1   ( S e l f S u b j e c t A c c e s s R e v i e w ) :   C r e a t e d   2 0 2   ( S e l f S u b j e c t A c c e s s R e v i e w ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/self-subject-access-review-v1/",
    "id": "k8s_00453_section_4_8636"
  },
  {
    "question": "What is Versions in CustomResourceDefinitions?",
    "answer": "Versions in CustomResourceDefinitionsThis page explains how to add versioning information to CustomResourceDefinitions, to indicate the stability level of your CustomResourceDefinitions or advance your API to a new version with conversion between API representations. It also describes how to upgrade an object from one version to another.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou should have an initial understanding of custom resources.Your Kubernetes server must be at or later than version v1.16.To check the version, enter kubectl version.OverviewThe CustomResourceDefinition API provides a workflow for introducing and upgrading to new versions of a CustomResourceDefinition.When a CustomResourceDefinition is created, the first version is set in the CustomResourceDefinition spec.versions list to an appropriate stability level and a version number. For example v1beta1 would indicate that the first version is not yet stable. All custom resource objects will initially be stored at this version.Once the CustomResourceDefinition is created, clients may begin using the v1beta1 API.Later it might be necessary to add new version such as v1.Adding a new version:Pick a conversion strategy. Since custom resource objects need the ability to be served at both versions, that means they will sometimes be served in a different version than the one stored. To make this possible, the custom resource objects must sometimes be converted between the version they are stored at and the version they are served at. If the conversion involves schema changes and requires custom logic, a conversion webhook should be used. If there are no schema changes, the default None conversion strategy may be used and only the apiVersion field will be modified when serving different versions.If using conversion webhooks, create and deploy the conversion webhook. See the Webhook conversion for more details.Update the CustomResourceDefinition to include the new version in the spec.versions list with served:true. Also, set spec.conversion field to the selected conversion strategy. If using a conversion webhook, configure spec.conversion.webhookClientConfig field to call the webhook.Once the new version is added, clients may incrementally migrate to the new version. It is perfectly safe for some clients to use the old version while others use the new version.Migrate stored objects to the new version:See the upgrade existing objects to a new stored version section.It is safe for clients to use both the old and new version before, during and after upgrading the objects to a new stored version.Removing ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_qa_8637"
  },
  {
    "question": "How does Versions in CustomResourceDefinitions work?",
    "answer": "Versions in CustomResourceDefinitionsThis page explains how to add versioning information to CustomResourceDefinitions, to indicate the stability level of your CustomResourceDefinitions or advance your API to a new version with conversion between API representations. It also describes how to upgrade an object from one version to another.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou should have an initial understanding of custom resources.Your Kubernetes server must be at or later than version v1.16.To check the version, enter kubectl version.OverviewThe CustomResourceDefinition API provides a workflow for introducing and upgrading to new versions of a CustomResourceDefinition.When a CustomResourceDefinition is created, the first version is set in the CustomResourceDefinition spec.versions list to an appropriate stability level and a version number. For example v1beta1 would indicate that the first version is not yet stable. All custom resource objects will initially be stored at this version.Once the CustomResourceDefinition is created, clients may begin using the v1beta1 API.Later it might be necessary to add new version such as v1.Adding a new version:Pick a conversion strategy. Since custom resource objects need the ability to be served at both versions, that means they will sometimes be served in a different version than the one stored. To make this possible, the custom resource objects must sometimes be converted between the version they are stored at and the version they are served at. If the conversion involves schema changes and requires custom logic, a conversion webhook should be used. If there are no schema changes, the default None conversion strategy may be used and only the apiVersion field will be modified when serving different versions.If using conversion webhooks, create and deploy the conversion webhook. See the Webhook conversion for more details.Update the CustomResourceDefinition to include the new version in the spec.versions list with served:true. Also, set spec.conversion field to the selected conversion strategy. If using a conversion webhook, configure spec.conversion.webhookClientConfig field to call the webhook.Once the new version is added, clients may incrementally migrate to the new version. It is perfectly safe for some clients to use the old version while others use the new version.Migrate stored objects to the new version:See the upgrade existing objects to a new stored version section.It is safe for clients to use both the old and new version before, during and after upgrading the objects to a new stored version.Removing ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_qa_8638"
  },
  {
    "question": "When would you use Versions in CustomResourceDefinitions?",
    "answer": "Versions in CustomResourceDefinitionsThis page explains how to add versioning information to CustomResourceDefinitions, to indicate the stability level of your CustomResourceDefinitions or advance your API to a new version with conversion between API representations. It also describes how to upgrade an object from one version to another.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou should have an initial understanding of custom resources.Your Kubernetes server must be at or later than version v1.16.To check the version, enter kubectl version.OverviewThe CustomResourceDefinition API provides a workflow for introducing and upgrading to new versions of a CustomResourceDefinition.When a CustomResourceDefinition is created, the first version is set in the CustomResourceDefinition spec.versions list to an appropriate stability level and a version number. For example v1beta1 would indicate that the first version is not yet stable. All custom resource objects will initially be stored at this version.Once the CustomResourceDefinition is created, clients may begin using the v1beta1 API.Later it might be necessary to add new version such as v1.Adding a new version:Pick a conversion strategy. Since custom resource objects need the ability to be served at both versions, that means they will sometimes be served in a different version than the one stored. To make this possible, the custom resource objects must sometimes be converted between the version they are stored at and the version they are served at. If the conversion involves schema changes and requires custom logic, a conversion webhook should be used. If there are no schema changes, the default None conversion strategy may be used and only the apiVersion field will be modified when serving different versions.If using conversion webhooks, create and deploy the conversion webhook. See the Webhook conversion for more details.Update the CustomResourceDefinition to include the new version in the spec.versions list with served:true. Also, set spec.conversion field to the selected conversion strategy. If using a conversion webhook, configure spec.conversion.webhookClientConfig field to call the webhook.Once the new version is added, clients may incrementally migrate to the new version. It is perfectly safe for some clients to use the old version while others use the new version.Migrate stored objects to the new version:See the upgrade existing objects to a new stored version section.It is safe for clients to use both the old and new version before, during and after upgrading the objects to a new stored version.Removing ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_qa_8639"
  },
  {
    "question": "What are the benefits of Versions in CustomResourceDefinitions?",
    "answer": "Versions in CustomResourceDefinitionsThis page explains how to add versioning information to CustomResourceDefinitions, to indicate the stability level of your CustomResourceDefinitions or advance your API to a new version with conversion between API representations. It also describes how to upgrade an object from one version to another.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou should have an initial understanding of custom resources.Your Kubernetes server must be at or later than version v1.16.To check the version, enter kubectl version.OverviewThe CustomResourceDefinition API provides a workflow for introducing and upgrading to new versions of a CustomResourceDefinition.When a CustomResourceDefinition is created, the first version is set in the CustomResourceDefinition spec.versions list to an appropriate stability level and a version number. For example v1beta1 would indicate that the first version is not yet stable. All custom resource objects will initially be stored at this version.Once the CustomResourceDefinition is created, clients may begin using the v1beta1 API.Later it might be necessary to add new version such as v1.Adding a new version:Pick a conversion strategy. Since custom resource objects need the ability to be served at both versions, that means they will sometimes be served in a different version than the one stored. To make this possible, the custom resource objects must sometimes be converted between the version they are stored at and the version they are served at. If the conversion involves schema changes and requires custom logic, a conversion webhook should be used. If there are no schema changes, the default None conversion strategy may be used and only the apiVersion field will be modified when serving different versions.If using conversion webhooks, create and deploy the conversion webhook. See the Webhook conversion for more details.Update the CustomResourceDefinition to include the new version in the spec.versions list with served:true. Also, set spec.conversion field to the selected conversion strategy. If using a conversion webhook, configure spec.conversion.webhookClientConfig field to call the webhook.Once the new version is added, clients may incrementally migrate to the new version. It is perfectly safe for some clients to use the old version while others use the new version.Migrate stored objects to the new version:See the upgrade existing objects to a new stored version section.It is safe for clients to use both the old and new version before, during and after upgrading the objects to a new stored version.Removing ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_qa_8640"
  },
  {
    "question": "What is Versions in CustomResourceDefinitions?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   t o   a d d   v e r s i o n i n g   i n f o r m a t i o n   t o   C u s t o m R e s o u r c e D e f i n i t i o n s ,   t o   i n d i c a t e   t h e   s t a b i l i t y   l e v e l   o f   y o u r   C u s t o m R e s o u r c e D e f i n i t i o n s   o r   a d v a n c e   y o u r   A P I   t o   a   n e w   v e r s i o n   w i t h   c o n v e r s i o n   b e t w e e n   A P I   r e p r e s e n t a t i o n s .   I t   a l s o   d e s c r i b e s   h o w   t o   u p g r a d e   a n   o b j e c t   f r o m   o n e   v e r s i o n   t o   a n o t h e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_section_1_8641"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   s h o u l d   h a v e   a n   i n i t i a l   u n d e r s t a n d i n g   o f   c u s t o m   r e s o u r c e s .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_section_2_8642"
  },
  {
    "question": "What is Overview?",
    "answer": "T h e   C u s t o m R e s o u r c e D e f i n i t i o n   A P I   p r o v i d e s   a   w o r k f l o w   f o r   i n t r o d u c i n g   a n d   u p g r a d i n g   t o   n e w   v e r s i o n s   o f   a   C u s t o m R e s o u r c e D e f i n i t i o n .   W h e n   a   C u s t o m R e s o u r c e D e f i n i t i o n   i s   c r e a t e d ,   t h e   f i r s t   v e r s i o n   i s   s e t   i n   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   s p e c . v e r s i o n s   l i s t   t o   a n   a p p r o p r i a t e   s t a b i l i t y   l e v e l   a n d   a   v e r s i o n   n u m b e r .   F o r   e x a m p l e   v 1 b e t a 1   w o u l d   i n d i c a t e   t h a t   t h e   f i r s t   v e r s i o n   i s   n o t   y e t   s t a b l e .   A l l   c u s t o m   r e s o u r c e   o b j e c t s   w i l l   i n i t i a l l y   b e   s t o r e d   a t   t h i s   v e r s i o n .   O n c e   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   i s   c r e a t e d ,   c l i e n t s   m a y   b e g i n   u s i n g   t h e   v 1 b e t a 1   A P I .   L a t e r   i t   m i g h t   b e   n e c e s s a r y   t o   a d d   n e w   v e r s i o n   s u c h   a s   v 1 .   A d d i n g   a   n e w   v e r s i o n :   P i c k   a   c o n v e r s i o n   s t r a t e g y .   S i n c e   c u s t o m   r e s o u r c e   o b j e c t s   n e e d   t h e   a b i l i t y   t o   b e   s e r v e d   a t   b o t h   v e r s i o n s ,   t h a t   m e a n s   t h e y   w i l l   s o m e t i m e s   b e   s e r v e d   i n   a   d i f f e r e n t   v e r s i o n   t h a n   t h e   o n e   s t o r e d .   T o   m a k e   t h i s   p o s s i b l e ,   t h e   c u s t o m   r e s o u r c e   o b j e c t s   m u s t   s o m e t i m e s   b e   c o n v e r t e d   b e t w e e n   t h e   v e r s i o n   t h e y   a r e   s t o r e d   a t   a n d   t h e   v e r s i o n   t h e y   a r e   s e r v e d   a t .   I f   t h e   c o n v e r s i o n   i n v o l v e s   s c h e m a   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_section_2_8643"
  },
  {
    "question": "What is Specify multiple versions?",
    "answer": "T h e   C u s t o m R e s o u r c e D e f i n i t i o n   A P I   v e r s i o n s   f i e l d   c a n   b e   u s e d   t o   s u p p o r t   m u l t i p l e   v e r s i o n s   o f   c u s t o m   r e s o u r c e s   t h a t   y o u   h a v e   d e v e l o p e d .   V e r s i o n s   c a n   h a v e   d i f f e r e n t   s c h e m a s ,   a n d   c o n v e r s i o n   w e b h o o k s   c a n   c o n v e r t   c u s t o m   r e s o u r c e s   b e t w e e n   v e r s i o n s .   W e b h o o k   c o n v e r s i o n s   s h o u l d   f o l l o w   t h e   K u b e r n e t e s   A P I   c o n v e n t i o n s   w h e r e v e r   a p p l i c a b l e .   S p e c i f i c a l l y ,   S e e   t h e   A P I   c h a n g e   d o c u m e n t a t i o n   f o r   a   s e t   o f   u s e f u l   g o t c h a s   a n d   s u g g e s t i o n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_section_2_8644"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   e x a m p l e   s h o w s   a   C u s t o m R e s o u r c e D e f i n i t i o n   w i t h   t w o   v e r s i o n s .   F o r   t h e   f i r s t   e x a m p l e ,   t h e   a s s u m p t i o n   i s   a l l   v e r s i o n s   s h a r e   t h e   s a m e   s c h e m a   w i t h   n o   c o n v e r s i o n   b e t w e e n   t h e m .   T h e   c o m m e n t s   i n   t h e   Y A M L   p r o v i d e   m o r e   c o n t e x t .   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   m e t a d a t a :   #   n a m e   m u s t   m a t c h   t h e   s p e c   f i e l d s   b e l o w ,   a n d   b e   i n   t h e   f o r m :   < p l u r a l > . < g r o u p >   n a m e :   c r o n t a b s . e x a m p l e . c o m   s p e c :   #   g r o u p   n a m e   t o   u s e   f o r   R E S T   A P I :   / a p i s / < g r o u p > / < v e r s i o n >   g r o u p :   e x a m p l e . c o m   #   l i s t   o f   v e r s i o n s   s u p p o r t e d   b y   t h i s   C u s t o m R e s o u r c e D e f i n i t i o n   v e r s i o n s :   -   n a m e :   v 1 b e t a 1   #   E a c h   v e r s i o n   c a n   b e   e n a b l e d / d i s a b l e d   b y   S e r v e d   f l a g .   s e r v e d :   t r u e   #   O n e   a n d   o n l y   o n e   v e r s i o n   m u s t   b e   m a r k e d   a s   t h e   s t o r a g e   v e r s i o n .   s t o r a g e :   t r u e   #   A   s c h e m a   i s   r e q u i r e d   s c h e m a :   o p e n A P I V 3 S c h e m a :   t y p e :   o b j e c t   p r o p e r t i e s :   h o s t :   t y p e :   s t r i n g   p o r t :   t y p e :   s t r i n g   -   n a m e :   v 1   s e r v e d :   t r u e   s t o r a g e :   f a l s e   s c h e m a :   o p e n A P I V 3 S c h e m a :   t y p e :   o b j e c t   p r o p e r t i e s :   h o s t :   t y p e :   s t r i n g   p o r t :   t y p e :   s t r i n g   #   T h e   c o n v e r s i o n   s e c t i o n   i s   i n t r o d u c e d   i ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_section_4_8645"
  },
  {
    "question": "What is Version priority?",
    "answer": "R e g a r d l e s s   o f   t h e   o r d e r   i n   w h i c h   v e r s i o n s   a r e   d e f i n e d   i n   a   C u s t o m R e s o u r c e D e f i n i t i o n ,   t h e   v e r s i o n   w i t h   t h e   h i g h e s t   p r i o r i t y   i s   u s e d   b y   k u b e c t l   a s   t h e   d e f a u l t   v e r s i o n   t o   a c c e s s   o b j e c t s .   T h e   p r i o r i t y   i s   d e t e r m i n e d   b y   p a r s i n g   t h e   n a m e   f i e l d   t o   d e t e r m i n e   t h e   v e r s i o n   n u m b e r ,   t h e   s t a b i l i t y   ( G A ,   B e t a ,   o r   A l p h a ) ,   a n d   t h e   s e q u e n c e   w i t h i n   t h a t   s t a b i l i t y   l e v e l .   T h e   a l g o r i t h m   u s e d   f o r   s o r t i n g   t h e   v e r s i o n s   i s   d e s i g n e d   t o   s o r t   v e r s i o n s   i n   t h e   s a m e   w a y   t h a t   t h e   K u b e r n e t e s   p r o j e c t   s o r t s   K u b e r n e t e s   v e r s i o n s .   V e r s i o n s   s t a r t   w i t h   a   v   f o l l o w e d   b y   a   n u m b e r ,   a n   o p t i o n a l   b e t a   o r   a l p h a   d e s i g n a t i o n ,   a n d   o p t i o n a l   a d d i t i o n a l   n u m e r i c   v e r s i o n i n g   i n f o r m a t i o n .   B r o a d l y ,   a   v e r s i o n   s t r i n g   m i g h t   l o o k   l i k e   v 2   o r   v 2 b e t a 1 .   V e r s i o n s   a r e   s o r t e d   u s i n g   t h e   f o l l o w i n g   a l g o r i t h m :   E n t r i e s   t h a t   f o l l o w   K u b e r n e t e s   v e r s i o n   p a t t e r n s   a r e   s o r t e d   b e f o r e   t h o s e   t h a t   d o   n o t . F o r   e n t r i e s   t h a t   f o l l o w   K u b e r n e t e s   v e r s i o n   p a t t e r n s ,   t h e   n u m e r i c   p o r t i o n s   o f   t h e   v e r s i o n   s t r i n g   i s   s o r t e d   l a r g e s t   t o   s m a l l e s t . I f   t h e   s t r i n g s   b e t a   o r   a l p h a   f o l l o w   t h e   f i r s t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_section_3_8646"
  },
  {
    "question": "What is Version deprecation?",
    "answer": "S t a r t i n g   i n   v 1 . 1 9 ,   a   C u s t o m R e s o u r c e D e f i n i t i o n   c a n   i n d i c a t e   a   p a r t i c u l a r   v e r s i o n   o f   t h e   r e s o u r c e   i t   d e f i n e s   i s   d e p r e c a t e d .   W h e n   A P I   r e q u e s t s   t o   a   d e p r e c a t e d   v e r s i o n   o f   t h a t   r e s o u r c e   a r e   m a d e ,   a   w a r n i n g   m e s s a g e   i s   r e t u r n e d   i n   t h e   A P I   r e s p o n s e   a s   a   h e a d e r .   T h e   w a r n i n g   m e s s a g e   f o r   e a c h   d e p r e c a t e d   v e r s i o n   o f   t h e   r e s o u r c e   c a n   b e   c u s t o m i z e d   i f   d e s i r e d .   A   c u s t o m i z e d   w a r n i n g   m e s s a g e   s h o u l d   i n d i c a t e   t h e   d e p r e c a t e d   A P I   g r o u p ,   v e r s i o n ,   a n d   k i n d ,   a n d   s h o u l d   i n d i c a t e   w h a t   A P I   g r o u p ,   v e r s i o n ,   a n d   k i n d   s h o u l d   b e   u s e d   i n s t e a d ,   i f   a p p l i c a b l e .   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   n a m e :   c r o n t a b s . e x a m p l e . c o m   s p e c :   g r o u p :   e x a m p l e . c o m   n a m e s :   p l u r a l :   c r o n t a b s   s i n g u l a r :   c r o n t a b   k i n d :   C r o n T a b   s c o p e :   N a m e s p a c e d   v e r s i o n s :   -   n a m e :   v 1 a l p h a 1   s e r v e d :   t r u e   s t o r a g e :   f a l s e   #   T h i s   i n d i c a t e s   t h e   v 1 a l p h a 1   v e r s i o n   o f   t h e   c u s t o m   r e s o u r c e   i s   d e p r e c a t e d .   #   A P I   r e q u e s t s   t o   t h i s   v e r s i o n   r e c e i v e   a   w a r n i n g   h e a d e r   i n   t h e   s e r v e r   r e s p o n s e .   d e p r e c a t e d :   t r u e   #   T h i s   o v e r r i d e s   t h e   d e f a u l t   w a r n i n g   r e t u r n e d   t o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_section_3_8647"
  },
  {
    "question": "What is Version removal?",
    "answer": "A n   o l d e r   A P I   v e r s i o n   c a n n o t   b e   d r o p p e d   f r o m   a   C u s t o m R e s o u r c e D e f i n i t i o n   m a n i f e s t   u n t i l   e x i s t i n g   s t o r e d   d a t a   h a s   b e e n   m i g r a t e d   t o   t h e   n e w e r   A P I   v e r s i o n   f o r   a l l   c l u s t e r s   t h a t   s e r v e d   t h e   o l d e r   v e r s i o n   o f   t h e   c u s t o m   r e s o u r c e ,   a n d   t h e   o l d   v e r s i o n   i s   r e m o v e d   f r o m   t h e   s t a t u s . s t o r e d V e r s i o n s   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n .   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   n a m e :   c r o n t a b s . e x a m p l e . c o m   s p e c :   g r o u p :   e x a m p l e . c o m   n a m e s :   p l u r a l :   c r o n t a b s   s i n g u l a r :   c r o n t a b   k i n d :   C r o n T a b   s c o p e :   N a m e s p a c e d   v e r s i o n s :   -   n a m e :   v 1 b e t a 1   #   T h i s   i n d i c a t e s   t h e   v 1 b e t a 1   v e r s i o n   o f   t h e   c u s t o m   r e s o u r c e   i s   n o   l o n g e r   s e r v e d .   #   A P I   r e q u e s t s   t o   t h i s   v e r s i o n   r e c e i v e   a   n o t   f o u n d   e r r o r   i n   t h e   s e r v e r   r e s p o n s e .   s e r v e d :   f a l s e   s c h e m a :   . . .   -   n a m e :   v 1   s e r v e d :   t r u e   #   T h e   n e w   s e r v e d   v e r s i o n   s h o u l d   b e   s e t   a s   t h e   s t o r a g e   v e r s i o n   s t o r a g e :   t r u e   s c h e m a :   . . .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_section_3_8648"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   a b o v e   e x a m p l e   h a s   a   N o n e   c o n v e r s i o n   b e t w e e n   v e r s i o n s   w h i c h   o n l y   s e t s   t h e   a p i V e r s i o n   f i e l d   o n   c o n v e r s i o n   a n d   d o e s   n o t   c h a n g e   t h e   r e s t   o f   t h e   o b j e c t .   T h e   A P I   s e r v e r   a l s o   s u p p o r t s   w e b h o o k   c o n v e r s i o n s   t h a t   c a l l   a n   e x t e r n a l   s e r v i c e   i n   c a s e   a   c o n v e r s i o n   i s   r e q u i r e d .   F o r   e x a m p l e   w h e n :   c u s t o m   r e s o u r c e   i s   r e q u e s t e d   i n   a   d i f f e r e n t   v e r s i o n   t h a n   s t o r e d   v e r s i o n . W a t c h   i s   c r e a t e d   i n   o n e   v e r s i o n   b u t   t h e   c h a n g e d   o b j e c t   i s   s t o r e d   i n   a n o t h e r   v e r s i o n . c u s t o m   r e s o u r c e   P U T   r e q u e s t   i s   i n   a   d i f f e r e n t   v e r s i o n   t h a n   s t o r a g e   v e r s i o n .   T o   c o v e r   a l l   o f   t h e s e   c a s e s   a n d   t o   o p t i m i z e   c o n v e r s i o n   b y   t h e   A P I   s e r v e r ,   t h e   c o n v e r s i o n   r e q u e s t s   m a y   c o n t a i n   m u l t i p l e   o b j e c t s   i n   o r d e r   t o   m i n i m i z e   t h e   e x t e r n a l   c a l l s .   T h e   w e b h o o k   s h o u l d   p e r f o r m   t h e s e   c o n v e r s i o n s   i n d e p e n d e n t l y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_section_4_8649"
  },
  {
    "question": "What is Write a conversion webhook server?",
    "answer": "P l e a s e   r e f e r   t o   t h e   i m p l e m e n t a t i o n   o f   t h e   c u s t o m   r e s o u r c e   c o n v e r s i o n   w e b h o o k   s e r v e r   t h a t   i s   v a l i d a t e d   i n   a   K u b e r n e t e s   e 2 e   t e s t .   T h e   w e b h o o k   h a n d l e s   t h e   C o n v e r s i o n R e v i e w   r e q u e s t s   s e n t   b y   t h e   A P I   s e r v e r s ,   a n d   s e n d s   b a c k   c o n v e r s i o n   r e s u l t s   w r a p p e d   i n   C o n v e r s i o n R e s p o n s e .   N o t e   t h a t   t h e   r e q u e s t   c o n t a i n s   a   l i s t   o f   c u s t o m   r e s o u r c e s   t h a t   n e e d   t o   b e   c o n v e r t e d   i n d e p e n d e n t l y   w i t h o u t   c h a n g i n g   t h e   o r d e r   o f   o b j e c t s .   T h e   e x a m p l e   s e r v e r   i s   o r g a n i z e d   i n   a   w a y   t o   b e   r e u s e d   f o r   o t h e r   c o n v e r s i o n s .   M o s t   o f   t h e   c o m m o n   c o d e   a r e   l o c a t e d   i n   t h e   f r a m e w o r k   f i l e   t h a t   l e a v e s   o n l y   o n e   f u n c t i o n   t o   b e   i m p l e m e n t e d   f o r   d i f f e r e n t   c o n v e r s i o n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_section_3_8650"
  },
  {
    "question": "What is Permissible mutations?",
    "answer": "A   c o n v e r s i o n   w e b h o o k   m u s t   n o t   m u t a t e   a n y t h i n g   i n s i d e   o f   m e t a d a t a   o f   t h e   c o n v e r t e d   o b j e c t   o t h e r   t h a n   l a b e l s   a n d   a n n o t a t i o n s .   A t t e m p t e d   c h a n g e s   t o   n a m e ,   U I D   a n d   n a m e s p a c e   a r e   r e j e c t e d   a n d   f a i l   t h e   r e q u e s t   w h i c h   c a u s e d   t h e   c o n v e r s i o n .   A l l   o t h e r   c h a n g e s   a r e   i g n o r e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_section_4_8651"
  },
  {
    "question": "What is Deploy the conversion webhook service?",
    "answer": "D o c u m e n t a t i o n   f o r   d e p l o y i n g   t h e   c o n v e r s i o n   w e b h o o k   i s   t h e   s a m e   a s   f o r   t h e   a d m i s s i o n   w e b h o o k   e x a m p l e   s e r v i c e .   T h e   a s s u m p t i o n   f o r   n e x t   s e c t i o n s   i s   t h a t   t h e   c o n v e r s i o n   w e b h o o k   s e r v e r   i s   d e p l o y e d   t o   a   s e r v i c e   n a m e d   e x a m p l e - c o n v e r s i o n - w e b h o o k - s e r v e r   i n   d e f a u l t   n a m e s p a c e   a n d   s e r v i n g   t r a f f i c   o n   p a t h   / c r d c o n v e r t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_section_3_8652"
  },
  {
    "question": "What is Configure CustomResourceDefinition to use conversion webhooks?",
    "answer": "T h e   N o n e   c o n v e r s i o n   e x a m p l e   c a n   b e   e x t e n d e d   t o   u s e   t h e   c o n v e r s i o n   w e b h o o k   b y   m o d i f y i n g   c o n v e r s i o n   s e c t i o n   o f   t h e   s p e c :   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   m e t a d a t a :   #   n a m e   m u s t   m a t c h   t h e   s p e c   f i e l d s   b e l o w ,   a n d   b e   i n   t h e   f o r m :   < p l u r a l > . < g r o u p >   n a m e :   c r o n t a b s . e x a m p l e . c o m   s p e c :   #   g r o u p   n a m e   t o   u s e   f o r   R E S T   A P I :   / a p i s / < g r o u p > / < v e r s i o n >   g r o u p :   e x a m p l e . c o m   #   l i s t   o f   v e r s i o n s   s u p p o r t e d   b y   t h i s   C u s t o m R e s o u r c e D e f i n i t i o n   v e r s i o n s :   -   n a m e :   v 1 b e t a 1   #   E a c h   v e r s i o n   c a n   b e   e n a b l e d / d i s a b l e d   b y   S e r v e d   f l a g .   s e r v e d :   t r u e   #   O n e   a n d   o n l y   o n e   v e r s i o n   m u s t   b e   m a r k e d   a s   t h e   s t o r a g e   v e r s i o n .   s t o r a g e :   t r u e   #   E a c h   v e r s i o n   c a n   d e f i n e   i t s   o w n   s c h e m a   w h e n   t h e r e   i s   n o   t o p - l e v e l   #   s c h e m a   i s   d e f i n e d .   s c h e m a :   o p e n A P I V 3 S c h e m a :   t y p e :   o b j e c t   p r o p e r t i e s :   h o s t P o r t :   t y p e :   s t r i n g   -   n a m e :   v 1   s e r v e d :   t r u e   s t o r a g e :   f a l s e   s c h e m a :   o p e n A P I V 3 S c h e m a :   t y p e :   o b j e c t   p r o p e r t i e s :   h o s t :   t y p e :   s t r i n g   p o r t :   t y p e :   s t r i n g   c o n v e r s i o n :   #   t h e   W e b h o o k   s t r a t e g y   i n s t r u c t s   t h e   A P I   s e r v e r   t o   c a l l   a n   e x t e r n a l   w e b h o o k   f o r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_section_3_8653"
  },
  {
    "question": "What is Contacting the webhook?",
    "answer": "O n c e   t h e   A P I   s e r v e r   h a s   d e t e r m i n e d   a   r e q u e s t   s h o u l d   b e   s e n t   t o   a   c o n v e r s i o n   w e b h o o k ,   i t   n e e d s   t o   k n o w   h o w   t o   c o n t a c t   t h e   w e b h o o k .   T h i s   i s   s p e c i f i e d   i n   t h e   w e b h o o k C l i e n t C o n f i g   s t a n z a   o f   t h e   w e b h o o k   c o n f i g u r a t i o n .   C o n v e r s i o n   w e b h o o k s   c a n   e i t h e r   b e   c a l l e d   v i a   a   U R L   o r   a   s e r v i c e   r e f e r e n c e ,   a n d   c a n   o p t i o n a l l y   i n c l u d e   a   c u s t o m   C A   b u n d l e   t o   u s e   t o   v e r i f y   t h e   T L S   c o n n e c t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_section_3_8654"
  },
  {
    "question": "What is URL?",
    "answer": "u r l   g i v e s   t h e   l o c a t i o n   o f   t h e   w e b h o o k ,   i n   s t a n d a r d   U R L   f o r m   ( s c h e m e : / / h o s t : p o r t / p a t h ) .   T h e   h o s t   s h o u l d   n o t   r e f e r   t o   a   s e r v i c e   r u n n i n g   i n   t h e   c l u s t e r ;   u s e   a   s e r v i c e   r e f e r e n c e   b y   s p e c i f y i n g   t h e   s e r v i c e   f i e l d   i n s t e a d .   T h e   h o s t   m i g h t   b e   r e s o l v e d   v i a   e x t e r n a l   D N S   i n   s o m e   a p i s e r v e r s   ( i . e . ,   k u b e - a p i s e r v e r   c a n n o t   r e s o l v e   i n - c l u s t e r   D N S   a s   t h a t   w o u l d   b e   a   l a y e r i n g   v i o l a t i o n ) .   h o s t   m a y   a l s o   b e   a n   I P   a d d r e s s .   P l e a s e   n o t e   t h a t   u s i n g   l o c a l h o s t   o r   1 2 7 . 0 . 0 . 1   a s   a   h o s t   i s   r i s k y   u n l e s s   y o u   t a k e   g r e a t   c a r e   t o   r u n   t h i s   w e b h o o k   o n   a l l   h o s t s   w h i c h   r u n   a n   a p i s e r v e r   w h i c h   m i g h t   n e e d   t o   m a k e   c a l l s   t o   t h i s   w e b h o o k .   S u c h   i n s t a l l a t i o n s   a r e   l i k e l y   t o   b e   n o n - p o r t a b l e   o r   n o t   r e a d i l y   r u n   i n   a   n e w   c l u s t e r .   T h e   s c h e m e   m u s t   b e   \" h t t p s \" ;   t h e   U R L   m u s t   b e g i n   w i t h   \" h t t p s : / / \" .   A t t e m p t i n g   t o   u s e   a   u s e r   o r   b a s i c   a u t h   ( f o r   e x a m p l e   \" u s e r : p a s s w o r d @ \" )   i s   n o t   a l l o w e d .   F r a g m e n t s   ( \" # . . . \" )   a n d   q u e r y   p a r a m e t e r s   ( \" ? . . . \" )   a r e   a l s o   n o t   a l l o w e d .   H e r e   i s   a n   e x a m p l e   o f   a   c o n v e r s i o n   w e b h o o k   c o n f i g u r e d   t o   c a l l   a   U R L   ( a n d   e x p e c t s   t h e   T L S   c e r t i f ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_section_3_8655"
  },
  {
    "question": "What is Service Reference?",
    "answer": "T h e   s e r v i c e   s t a n z a   i n s i d e   w e b h o o k C l i e n t C o n f i g   i s   a   r e f e r e n c e   t o   t h e   s e r v i c e   f o r   a   c o n v e r s i o n   w e b h o o k .   I f   t h e   w e b h o o k   i s   r u n n i n g   w i t h i n   t h e   c l u s t e r ,   t h e n   y o u   s h o u l d   u s e   s e r v i c e   i n s t e a d   o f   u r l .   T h e   s e r v i c e   n a m e s p a c e   a n d   n a m e   a r e   r e q u i r e d .   T h e   p o r t   i s   o p t i o n a l   a n d   d e f a u l t s   t o   4 4 3 .   T h e   p a t h   i s   o p t i o n a l   a n d   d e f a u l t s   t o   \" / \" .   H e r e   i s   a n   e x a m p l e   o f   a   w e b h o o k   t h a t   i s   c o n f i g u r e d   t o   c a l l   a   s e r v i c e   o n   p o r t   \" 1 2 3 4 \"   a t   t h e   s u b p a t h   \" / m y - p a t h \" ,   a n d   t o   v e r i f y   t h e   T L S   c o n n e c t i o n   a g a i n s t   t h e   S e r v e r N a m e   m y - s e r v i c e - n a m e . m y - s e r v i c e - n a m e s p a c e . s v c   u s i n g   a   c u s t o m   C A   b u n d l e .   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   . . .   s p e c :   . . .   c o n v e r s i o n :   s t r a t e g y :   W e b h o o k   w e b h o o k :   c l i e n t C o n f i g :   s e r v i c e :   n a m e s p a c e :   m y - s e r v i c e - n a m e s p a c e   n a m e :   m y - s e r v i c e - n a m e   p a t h :   / m y - p a t h   p o r t :   1 2 3 4   c a B u n d l e :   \" C i 0 t L S 0 t Q k . . . < b a s e 6 4 - e n c o d e d   P E M   b u n d l e > . . . t L S 0 K \"   . . .   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   . . .   s p e c :   . . .   c o n v e r s i o n :   s t r a t e g y :   W e b h o o k   w e b h o o k :   c l i e n t C o n f i g :   s e r v i c e :   n a m e s p a c e :   m y - ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_section_3_8656"
  },
  {
    "question": "What is Request?",
    "answer": "W e b h o o k s   a r e   s e n t   a   P O S T   r e q u e s t ,   w i t h   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n ,   w i t h   a   C o n v e r s i o n R e v i e w   A P I   o b j e c t   i n   t h e   a p i e x t e n s i o n s . k 8 s . i o   A P I   g r o u p   s e r i a l i z e d   t o   J S O N   a s   t h e   b o d y .   W e b h o o k s   c a n   s p e c i f y   w h a t   v e r s i o n s   o f   C o n v e r s i o n R e v i e w   o b j e c t s   t h e y   a c c e p t   w i t h   t h e   c o n v e r s i o n R e v i e w V e r s i o n s   f i e l d   i n   t h e i r   C u s t o m R e s o u r c e D e f i n i t i o n :   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   . . .   s p e c :   . . .   c o n v e r s i o n :   s t r a t e g y :   W e b h o o k   w e b h o o k :   c o n v e r s i o n R e v i e w V e r s i o n s :   [ \" v 1 \" ,   \" v 1 b e t a 1 \" ]   . . .   c o n v e r s i o n R e v i e w V e r s i o n s   i s   a   r e q u i r e d   f i e l d   w h e n   c r e a t i n g   a p i e x t e n s i o n s . k 8 s . i o / v 1   c u s t o m   r e s o u r c e   d e f i n i t i o n s .   W e b h o o k s   a r e   r e q u i r e d   t o   s u p p o r t   a t   l e a s t   o n e   C o n v e r s i o n R e v i e w   v e r s i o n   u n d e r s t o o d   b y   t h e   c u r r e n t   a n d   p r e v i o u s   A P I   s e r v e r .   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   . . .   s p e c :   . . .   c o n v e r s i o n :   s t r a t e g y :   W e b h o o k   w e b h o o k :   c o n v e r s i o n R e v i e w V e r s i o n s :   [ \" v 1 \" ,   \" v 1 b e t a 1 \" ]   . . .   c o n v e r s i o n R e v i e w V e r s i o n s   i s   a   r e q u i r e d   f i e l d   w h e n   c r e a t i n g   a p i e x t e n s i o n s . k 8 s . i o / v 1   c u s t o m   r e s o u r c e   d e f i n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_section_3_8657"
  },
  {
    "question": "What is Response?",
    "answer": "W e b h o o k s   r e s p o n d   w i t h   a   2 0 0   H T T P   s t a t u s   c o d e ,   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n ,   a n d   a   b o d y   c o n t a i n i n g   a   C o n v e r s i o n R e v i e w   o b j e c t   ( i n   t h e   s a m e   v e r s i o n   t h e y   w e r e   s e n t ) ,   w i t h   t h e   r e s p o n s e   s t a n z a   p o p u l a t e d ,   s e r i a l i z e d   t o   J S O N .   I f   c o n v e r s i o n   s u c c e e d s ,   a   w e b h o o k   s h o u l d   r e t u r n   a   r e s p o n s e   s t a n z a   c o n t a i n i n g   t h e   f o l l o w i n g   f i e l d s :   u i d ,   c o p i e d   f r o m   t h e   r e q u e s t . u i d   s e n t   t o   t h e   w e b h o o k r e s u l t ,   s e t   t o   { \" s t a t u s \" : \" S u c c e s s \" } c o n v e r t e d O b j e c t s ,   c o n t a i n i n g   a l l   o f   t h e   o b j e c t s   f r o m   r e q u e s t . o b j e c t s ,   c o n v e r t e d   t o   r e q u e s t . d e s i r e d A P I V e r s i o n   E x a m p l e   o f   a   m i n i m a l   s u c c e s s f u l   r e s p o n s e   f r o m   a   w e b h o o k :   {   \" a p i V e r s i o n \" :   \" a p i e x t e n s i o n s . k 8 s . i o / v 1 \" ,   \" k i n d \" :   \" C o n v e r s i o n R e v i e w \" ,   \" r e s p o n s e \" :   {   #   m u s t   m a t c h   < r e q u e s t . u i d >   \" u i d \" :   \" 7 0 5 a b 4 f 5 - 6 3 9 3 - 1 1 e 8 - b 7 c c - 4 2 0 1 0 a 8 0 0 0 0 2 \" ,   \" r e s u l t \" :   {   \" s t a t u s \" :   \" S u c c e s s \"   } ,   #   O b j e c t s   m u s t   m a t c h   t h e   o r d e r   o f   r e q u e s t . o b j e c t s ,   a n d   h a v e   a p i V e r s i o n   s e t   t o   < r e q u e s t . d e s i r e d A P I V e r s i o n > .   #   k i n d ,   m e t a d a t a . u i d ,   m e t a d a t a . n a m e ,   a n d   m e t a d a t a . n a m e s p a c e   f i e l d s   m u s t   n o t   b e   c h a n g e d   b y   t h e   w e b h o o k .   #   m e t a d a t a . l a b e l s   a n d   m e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_section_3_8658"
  },
  {
    "question": "What is Warning:?",
    "answer": "E x a m p l e   o f   a   r e s p o n s e   f r o m   a   w e b h o o k   i n d i c a t i n g   a   c o n v e r s i o n   r e q u e s t   f a i l e d ,   w i t h   a n   o p t i o n a l   m e s s a g e : {   \" a p i V e r s i o n \" :   \" a p i e x t e n s i o n s . k 8 s . i o / v 1 \" ,   \" k i n d \" :   \" C o n v e r s i o n R e v i e w \" ,   \" r e s p o n s e \" :   {   \" u i d \" :   \" < v a l u e   f r o m   r e q u e s t . u i d > \" ,   \" r e s u l t \" :   {   \" s t a t u s \" :   \" F a i l e d \" ,   \" m e s s a g e \" :   \" h o s t P o r t   c o u l d   n o t   b e   p a r s e d   i n t o   a   s e p a r a t e   h o s t   a n d   p o r t \"   }   }   }   {   #   D e p r e c a t e d   i n   v 1 . 1 6   i n   f a v o r   o f   a p i e x t e n s i o n s . k 8 s . i o / v 1   \" a p i V e r s i o n \" :   \" a p i e x t e n s i o n s . k 8 s . i o / v 1 b e t a 1 \" ,   \" k i n d \" :   \" C o n v e r s i o n R e v i e w \" ,   \" r e s p o n s e \" :   {   \" u i d \" :   \" < v a l u e   f r o m   r e q u e s t . u i d > \" ,   \" r e s u l t \" :   {   \" s t a t u s \" :   \" F a i l e d \" ,   \" m e s s a g e \" :   \" h o s t P o r t   c o u l d   n o t   b e   p a r s e d   i n t o   a   s e p a r a t e   h o s t   a n d   p o r t \"   }   }   }   {   \" a p i V e r s i o n \" :   \" a p i e x t e n s i o n s . k 8 s . i o / v 1 \" ,   \" k i n d \" :   \" C o n v e r s i o n R e v i e w \" ,   \" r e s p o n s e \" :   {   \" u i d \" :   \" < v a l u e   f r o m   r e q u e s t . u i d > \" ,   \" r e s u l t \" :   {   \" s t a t u s \" :   \" F a i l e d \" ,   \" m e s s a g e \" :   \" h o s t P o r t   c o u l d   n o t   b e   p a r s e d   i n t o   a   s e p a r a t e   h o s t   a n d   p o r t \"   }   }   }   {   \" a p i V e r s i o n \" :   \" a p i e x t e n s i o n s . k 8 s . i o / v 1 \" ,   \" k i n d \" :   \" C o n v e r s i o n R e v i e w \" ,   \" r e s p o n s e \" :   {   \" u i d \" :   \" < v a l u e   f r o m   r e q u e s t . u i d > \" ,   \" r e s u l t \" :   {   \" s t a t u s \" :   \" F a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_section_4_8659"
  },
  {
    "question": "What is Writing, reading, and updating versioned CustomResourceDefinition objects?",
    "answer": "W h e n   a n   o b j e c t   i s   w r i t t e n ,   i t   i s   s t o r e d   a t   t h e   v e r s i o n   d e s i g n a t e d   a s   t h e   s t o r a g e   v e r s i o n   a t   t h e   t i m e   o f   t h e   w r i t e .   I f   t h e   s t o r a g e   v e r s i o n   c h a n g e s ,   e x i s t i n g   o b j e c t s   a r e   n e v e r   c o n v e r t e d   a u t o m a t i c a l l y .   H o w e v e r ,   n e w l y - c r e a t e d   o r   u p d a t e d   o b j e c t s   a r e   w r i t t e n   a t   t h e   n e w   s t o r a g e   v e r s i o n .   I t   i s   p o s s i b l e   f o r   a n   o b j e c t   t o   h a v e   b e e n   w r i t t e n   a t   a   v e r s i o n   t h a t   i s   n o   l o n g e r   s e r v e d .   W h e n   y o u   r e a d   a n   o b j e c t ,   y o u   s p e c i f y   t h e   v e r s i o n   a s   p a r t   o f   t h e   p a t h .   Y o u   c a n   r e q u e s t   a n   o b j e c t   a t   a n y   v e r s i o n   t h a t   i s   c u r r e n t l y   s e r v e d .   I f   y o u   s p e c i f y   a   v e r s i o n   t h a t   i s   d i f f e r e n t   f r o m   t h e   o b j e c t ' s   s t o r e d   v e r s i o n ,   K u b e r n e t e s   r e t u r n s   t h e   o b j e c t   t o   y o u   a t   t h e   v e r s i o n   y o u   r e q u e s t e d ,   b u t   t h e   s t o r e d   o b j e c t   i s   n o t   c h a n g e d   o n   d i s k .   W h a t   h a p p e n s   t o   t h e   o b j e c t   t h a t   i s   b e i n g   r e t u r n e d   w h i l e   s e r v i n g   t h e   r e a d   r e q u e s t   d e p e n d s   o n   w h a t   i s   s p e c i f i e d   i n   t h e   C R D ' s   s p e c . c o n v e r s i o n :   i f   t h e   d e f a u l t   s t r a t e g y   v a l u e   N o n e   i s   s p e c i f i e d ,   t h e   o n l y   m o d i f i c a t i o n s   t o   t h e   o b j e c t   a r e   c h a n g i n g   t h e   a p i V e r s i o n   s t r i n g   a n d   p e r h a p s   p r u n i n g   u n k n o w n   f i e l d s   ( d e p e n d ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_section_2_8660"
  },
  {
    "question": "What is Previous storage versions?",
    "answer": "T h e   A P I   s e r v e r   r e c o r d s   e a c h   v e r s i o n   w h i c h   h a s   e v e r   b e e n   m a r k e d   a s   t h e   s t o r a g e   v e r s i o n   i n   t h e   s t a t u s   f i e l d   s t o r e d V e r s i o n s .   O b j e c t s   m a y   h a v e   b e e n   s t o r e d   a t   a n y   v e r s i o n   t h a t   h a s   e v e r   b e e n   d e s i g n a t e d   a s   a   s t o r a g e   v e r s i o n .   N o   o b j e c t s   c a n   e x i s t   i n   s t o r a g e   a t   a   v e r s i o n   t h a t   h a s   n e v e r   b e e n   a   s t o r a g e   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_section_3_8661"
  },
  {
    "question": "What is Upgrade existing objects to a new stored version?",
    "answer": "W h e n   d e p r e c a t i n g   v e r s i o n s   a n d   d r o p p i n g   s u p p o r t ,   s e l e c t   a   s t o r a g e   u p g r a d e   p r o c e d u r e .   O p t i o n   1 :   U s e   t h e   S t o r a g e   V e r s i o n   M i g r a t o r   R u n   t h e   s t o r a g e   V e r s i o n   m i g r a t o r R e m o v e   t h e   o l d   v e r s i o n   f r o m   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   s t a t u s . s t o r e d V e r s i o n s   f i e l d .   O p t i o n   2 :   M a n u a l l y   u p g r a d e   t h e   e x i s t i n g   o b j e c t s   t o   a   n e w   s t o r e d   v e r s i o n   T h e   f o l l o w i n g   i s   a n   e x a m p l e   p r o c e d u r e   t o   u p g r a d e   f r o m   v 1 b e t a 1   t o   v 1 .   S e t   v 1   a s   t h e   s t o r a g e   i n   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   f i l e   a n d   a p p l y   i t   u s i n g   k u b e c t l .   T h e   s t o r e d V e r s i o n s   i s   n o w   v 1 b e t a 1 ,   v 1 . W r i t e   a n   u p g r a d e   p r o c e d u r e   t o   l i s t   a l l   e x i s t i n g   o b j e c t s   a n d   w r i t e   t h e m   w i t h   t h e   s a m e   c o n t e n t .   T h i s   f o r c e s   t h e   b a c k e n d   t o   w r i t e   o b j e c t s   i n   t h e   c u r r e n t   s t o r a g e   v e r s i o n ,   w h i c h   i s   v 1 . R e m o v e   v 1 b e t a 1   f r o m   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   s t a t u s . s t o r e d V e r s i o n s   f i e l d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_section_2_8662"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e   i s   a n   e x a m p l e   o f   h o w   t o   p a t c h   t h e   s t a t u s   s u b r e s o u r c e   f o r   a   C R D   o b j e c t   u s i n g   k u b e c t l :   k u b e c t l   p a t c h   c u s t o m r e s o u r c e d e f i n i t i o n s   < C R D _ N a m e >   - - s u b r e s o u r c e = ' s t a t u s '   - - t y p e = ' m e r g e '   - p   ' { \" s t a t u s \" : { \" s t o r e d V e r s i o n s \" : [ \" v 1 \" ] } } '",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/",
    "id": "k8s_00454_section_4_8663"
  },
  {
    "question": "What is Concepts?",
    "answer": "The Concepts section helps you learn about the parts of the Kubernetes system and the abstractions Kubernetes uses to represent your cluster, and helps you obtain a deeper understanding of how Kubernetes works.OverviewKubernetes is a portable, extensible, open source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available.Cluster ArchitectureThe architectural concepts behind Kubernetes.ContainersTechnology for packaging an application along with its runtime dependencies.WorkloadsUnderstand Pods, the smallest deployable compute object in Kubernetes, and the higher-level abstractions that help you to run them.Services, Load Balancing, and NetworkingConcepts and resources behind networking in Kubernetes.StorageWays to provide both long-term and temporary storage to Pods in your cluster.ConfigurationResources that Kubernetes provides for configuring Pods.SecurityConcepts for keeping your cloud-native workload secure.PoliciesManage security and best-practices with policies.Scheduling, Preemption and EvictionCluster AdministrationLower-level detail relevant to creating or administering a Kubernetes cluster.Windows in KubernetesKubernetes supports nodes that run Microsoft Windows.Extending KubernetesDifferent ways to change the behavior of your Kubernetes cluster.",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/",
    "id": "k8s_00455_qa_8664"
  },
  {
    "question": "How does Concepts work?",
    "answer": "The Concepts section helps you learn about the parts of the Kubernetes system and the abstractions Kubernetes uses to represent your cluster, and helps you obtain a deeper understanding of how Kubernetes works.OverviewKubernetes is a portable, extensible, open source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available.Cluster ArchitectureThe architectural concepts behind Kubernetes.ContainersTechnology for packaging an application along with its runtime dependencies.WorkloadsUnderstand Pods, the smallest deployable compute object in Kubernetes, and the higher-level abstractions that help you to run them.Services, Load Balancing, and NetworkingConcepts and resources behind networking in Kubernetes.StorageWays to provide both long-term and temporary storage to Pods in your cluster.ConfigurationResources that Kubernetes provides for configuring Pods.SecurityConcepts for keeping your cloud-native workload secure.PoliciesManage security and best-practices with policies.Scheduling, Preemption and EvictionCluster AdministrationLower-level detail relevant to creating or administering a Kubernetes cluster.Windows in KubernetesKubernetes supports nodes that run Microsoft Windows.Extending KubernetesDifferent ways to change the behavior of your Kubernetes cluster.",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/",
    "id": "k8s_00455_qa_8665"
  },
  {
    "question": "When would you use Concepts?",
    "answer": "The Concepts section helps you learn about the parts of the Kubernetes system and the abstractions Kubernetes uses to represent your cluster, and helps you obtain a deeper understanding of how Kubernetes works.OverviewKubernetes is a portable, extensible, open source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available.Cluster ArchitectureThe architectural concepts behind Kubernetes.ContainersTechnology for packaging an application along with its runtime dependencies.WorkloadsUnderstand Pods, the smallest deployable compute object in Kubernetes, and the higher-level abstractions that help you to run them.Services, Load Balancing, and NetworkingConcepts and resources behind networking in Kubernetes.StorageWays to provide both long-term and temporary storage to Pods in your cluster.ConfigurationResources that Kubernetes provides for configuring Pods.SecurityConcepts for keeping your cloud-native workload secure.PoliciesManage security and best-practices with policies.Scheduling, Preemption and EvictionCluster AdministrationLower-level detail relevant to creating or administering a Kubernetes cluster.Windows in KubernetesKubernetes supports nodes that run Microsoft Windows.Extending KubernetesDifferent ways to change the behavior of your Kubernetes cluster.",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/",
    "id": "k8s_00455_qa_8666"
  },
  {
    "question": "What are the benefits of Concepts?",
    "answer": "The Concepts section helps you learn about the parts of the Kubernetes system and the abstractions Kubernetes uses to represent your cluster, and helps you obtain a deeper understanding of how Kubernetes works.OverviewKubernetes is a portable, extensible, open source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available.Cluster ArchitectureThe architectural concepts behind Kubernetes.ContainersTechnology for packaging an application along with its runtime dependencies.WorkloadsUnderstand Pods, the smallest deployable compute object in Kubernetes, and the higher-level abstractions that help you to run them.Services, Load Balancing, and NetworkingConcepts and resources behind networking in Kubernetes.StorageWays to provide both long-term and temporary storage to Pods in your cluster.ConfigurationResources that Kubernetes provides for configuring Pods.SecurityConcepts for keeping your cloud-native workload secure.PoliciesManage security and best-practices with policies.Scheduling, Preemption and EvictionCluster AdministrationLower-level detail relevant to creating or administering a Kubernetes cluster.Windows in KubernetesKubernetes supports nodes that run Microsoft Windows.Extending KubernetesDifferent ways to change the behavior of your Kubernetes cluster.",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/",
    "id": "k8s_00455_qa_8667"
  },
  {
    "question": "What is Concepts?",
    "answer": "K u b e r n e t e s   D o c u m e n t a t i o n   D o c u m e n t a t i o n   A v a i l a b l e   D o c u m e n t a t i o n   V e r s i o n s   G e t t i n g   s t a r t e d   L e a r n i n g   e n v i r o n m e n t   P r o d u c t i o n   e n v i r o n m e n t   C o n t a i n e r   R u n t i m e s   I n s t a l l i n g   K u b e r n e t e s   w i t h   d e p l o y m e n t   t o o l s   B o o t s t r a p p i n g   c l u s t e r s   w i t h   k u b e a d m   I n s t a l l i n g   k u b e a d m   T r o u b l e s h o o t i n g   k u b e a d m   C r e a t i n g   a   c l u s t e r   w i t h   k u b e a d m   C u s t o m i z i n g   c o m p o n e n t s   w i t h   t h e   k u b e a d m   A P I   O p t i o n s   f o r   H i g h l y   A v a i l a b l e   T o p o l o g y   C r e a t i n g   H i g h l y   A v a i l a b l e   C l u s t e r s   w i t h   k u b e a d m   S e t   u p   a   H i g h   A v a i l a b i l i t y   e t c d   C l u s t e r   w i t h   k u b e a d m   C o n f i g u r i n g   e a c h   k u b e l e t   i n   y o u r   c l u s t e r   u s i n g   k u b e a d m   D u a l - s t a c k   s u p p o r t   w i t h   k u b e a d m   T u r n k e y   C l o u d   S o l u t i o n s   B e s t   p r a c t i c e s   C o n s i d e r a t i o n s   f o r   l a r g e   c l u s t e r s   R u n n i n g   i n   m u l t i p l e   z o n e s   V a l i d a t e   n o d e   s e t u p   E n f o r c i n g   P o d   S e c u r i t y   S t a n d a r d s   P K I   c e r t i f i c a t e s   a n d   r e q u i r e m e n t s   C o n c e p t s   O v e r v i e w   K u b e r n e t e s   C o m p o n e n t s   O b j e c t s   I n   K u b e r n e t e s   K u b e r n e t e s   O b j e c t   M a n a g e m e n t   O b j e c t   N a m e s   a n d   I D s   L a b e l s   a n d   S e l e c t o r s   N a m e s p a c e s   A n n o t a t i o n s   F i e l d   S e l e c t o r s   F i n a l i z e r s   O w n e r s   a n d   D e p e n d e n t s   R e c o m m e n d e d   L a b e l s   T h e   K u b e r n e t e s ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/",
    "id": "k8s_00455_section_1_8668"
  },
  {
    "question": "What is Overview?",
    "answer": "K u b e r n e t e s   i s   a   p o r t a b l e ,   e x t e n s i b l e ,   o p e n   s o u r c e   p l a t f o r m   f o r   m a n a g i n g   c o n t a i n e r i z e d   w o r k l o a d s   a n d   s e r v i c e s ,   t h a t   f a c i l i t a t e s   b o t h   d e c l a r a t i v e   c o n f i g u r a t i o n   a n d   a u t o m a t i o n .   I t   h a s   a   l a r g e ,   r a p i d l y   g r o w i n g   e c o s y s t e m .   K u b e r n e t e s   s e r v i c e s ,   s u p p o r t ,   a n d   t o o l s   a r e   w i d e l y   a v a i l a b l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/",
    "id": "k8s_00455_section_5_8669"
  },
  {
    "question": "What is Cluster Architecture?",
    "answer": "T h e   a r c h i t e c t u r a l   c o n c e p t s   b e h i n d   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/",
    "id": "k8s_00455_section_5_8670"
  },
  {
    "question": "What is Containers?",
    "answer": "T e c h n o l o g y   f o r   p a c k a g i n g   a n   a p p l i c a t i o n   a l o n g   w i t h   i t s   r u n t i m e   d e p e n d e n c i e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/",
    "id": "k8s_00455_section_5_8671"
  },
  {
    "question": "What is Workloads?",
    "answer": "U n d e r s t a n d   P o d s ,   t h e   s m a l l e s t   d e p l o y a b l e   c o m p u t e   o b j e c t   i n   K u b e r n e t e s ,   a n d   t h e   h i g h e r - l e v e l   a b s t r a c t i o n s   t h a t   h e l p   y o u   t o   r u n   t h e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/",
    "id": "k8s_00455_section_5_8672"
  },
  {
    "question": "What is Services, Load Balancing, and Networking?",
    "answer": "C o n c e p t s   a n d   r e s o u r c e s   b e h i n d   n e t w o r k i n g   i n   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/",
    "id": "k8s_00455_section_5_8673"
  },
  {
    "question": "What is Storage?",
    "answer": "W a y s   t o   p r o v i d e   b o t h   l o n g - t e r m   a n d   t e m p o r a r y   s t o r a g e   t o   P o d s   i n   y o u r   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/",
    "id": "k8s_00455_section_5_8674"
  },
  {
    "question": "What is Configuration?",
    "answer": "R e s o u r c e s   t h a t   K u b e r n e t e s   p r o v i d e s   f o r   c o n f i g u r i n g   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/",
    "id": "k8s_00455_section_5_8675"
  },
  {
    "question": "What is Security?",
    "answer": "C o n c e p t s   f o r   k e e p i n g   y o u r   c l o u d - n a t i v e   w o r k l o a d   s e c u r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/",
    "id": "k8s_00455_section_5_8676"
  },
  {
    "question": "What is Policies?",
    "answer": "M a n a g e   s e c u r i t y   a n d   b e s t - p r a c t i c e s   w i t h   p o l i c i e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/",
    "id": "k8s_00455_section_5_8677"
  },
  {
    "question": "What is Cluster Administration?",
    "answer": "L o w e r - l e v e l   d e t a i l   r e l e v a n t   t o   c r e a t i n g   o r   a d m i n i s t e r i n g   a   K u b e r n e t e s   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/",
    "id": "k8s_00455_section_5_8678"
  },
  {
    "question": "What is Windows in Kubernetes?",
    "answer": "K u b e r n e t e s   s u p p o r t s   n o d e s   t h a t   r u n   M i c r o s o f t   W i n d o w s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/",
    "id": "k8s_00455_section_5_8679"
  },
  {
    "question": "What is Extending Kubernetes?",
    "answer": "D i f f e r e n t   w a y s   t o   c h a n g e   t h e   b e h a v i o r   o f   y o u r   K u b e r n e t e s   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/",
    "id": "k8s_00455_section_5_8680"
  },
  {
    "question": "What is Policies?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.PoliciesManage security and best-practices with policies.1: Limit Ranges2: Resource Quotas3: Process ID Limits And Reservations4: Node Resource ManagersKubernetes policies are configurations that manage other configurations or runtime behaviors. Kubernetes offers various forms of policies, described below:Apply policies using API objectsSome API objects act as policies. Here are some examples:NetworkPolicies can be used to restrict ingress and egress traffic for a workload.LimitRanges manage resource allocation constraints across different object kinds.ResourceQuotas limit resource consumption for a namespace.Apply policies using admission controllersAn admission controller runs in the API server and can validate or mutate API requests. Some admission controllers act to apply policies. For example, the AlwaysPullImages admission controller modifies a new Pod to set the image pull policy to Always.Kubernetes has several built-in admission controllers that are configurable via the API server --enable-admission-plugins flag.Details on admission controllers, with the complete list of available admission controllers, are documented in a dedicated section:Admission ControllersApply policies using ValidatingAdmissionPolicyValidating admission policies allow configurable validation checks to be executed in the API server using the Common Expression Language (CEL). For example, a ValidatingAdmissionPolicy can be used to disallow use of the latest image tag.A ValidatingAdmissionPolicy operates on an API request and can be used to block, audit, and warn users about non-compliant configurations.Details on the ValidatingAdmissionPolicy API, with examples, are documented in a dedicated section:Validating Admission PolicyApply policies using dynamic admission controlDynamic admission controllers (or admission webhooks) run outside the API server as separate applications that register to receive webhooks requests to perform validation or mutation of API requests.Dynamic admission controllers can be used to apply policies on API requests and trigger other policy-based workflows. A dynamic admission controller can perform complex checks including those that require retrieval of other cluster resources and external data. For example, an image verification check can lookup data from OCI registries to validate the container image signatures and attestations.Details on dynamic admission control are documented in a dedicated section:Dynamic Admission ControlImplementationsNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Dynamic Admission Controllers that act as flexible policy engines are being developed in ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_qa_8681"
  },
  {
    "question": "How does Policies work?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.PoliciesManage security and best-practices with policies.1: Limit Ranges2: Resource Quotas3: Process ID Limits And Reservations4: Node Resource ManagersKubernetes policies are configurations that manage other configurations or runtime behaviors. Kubernetes offers various forms of policies, described below:Apply policies using API objectsSome API objects act as policies. Here are some examples:NetworkPolicies can be used to restrict ingress and egress traffic for a workload.LimitRanges manage resource allocation constraints across different object kinds.ResourceQuotas limit resource consumption for a namespace.Apply policies using admission controllersAn admission controller runs in the API server and can validate or mutate API requests. Some admission controllers act to apply policies. For example, the AlwaysPullImages admission controller modifies a new Pod to set the image pull policy to Always.Kubernetes has several built-in admission controllers that are configurable via the API server --enable-admission-plugins flag.Details on admission controllers, with the complete list of available admission controllers, are documented in a dedicated section:Admission ControllersApply policies using ValidatingAdmissionPolicyValidating admission policies allow configurable validation checks to be executed in the API server using the Common Expression Language (CEL). For example, a ValidatingAdmissionPolicy can be used to disallow use of the latest image tag.A ValidatingAdmissionPolicy operates on an API request and can be used to block, audit, and warn users about non-compliant configurations.Details on the ValidatingAdmissionPolicy API, with examples, are documented in a dedicated section:Validating Admission PolicyApply policies using dynamic admission controlDynamic admission controllers (or admission webhooks) run outside the API server as separate applications that register to receive webhooks requests to perform validation or mutation of API requests.Dynamic admission controllers can be used to apply policies on API requests and trigger other policy-based workflows. A dynamic admission controller can perform complex checks including those that require retrieval of other cluster resources and external data. For example, an image verification check can lookup data from OCI registries to validate the container image signatures and attestations.Details on dynamic admission control are documented in a dedicated section:Dynamic Admission ControlImplementationsNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Dynamic Admission Controllers that act as flexible policy engines are being developed in ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_qa_8682"
  },
  {
    "question": "When would you use Policies?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.PoliciesManage security and best-practices with policies.1: Limit Ranges2: Resource Quotas3: Process ID Limits And Reservations4: Node Resource ManagersKubernetes policies are configurations that manage other configurations or runtime behaviors. Kubernetes offers various forms of policies, described below:Apply policies using API objectsSome API objects act as policies. Here are some examples:NetworkPolicies can be used to restrict ingress and egress traffic for a workload.LimitRanges manage resource allocation constraints across different object kinds.ResourceQuotas limit resource consumption for a namespace.Apply policies using admission controllersAn admission controller runs in the API server and can validate or mutate API requests. Some admission controllers act to apply policies. For example, the AlwaysPullImages admission controller modifies a new Pod to set the image pull policy to Always.Kubernetes has several built-in admission controllers that are configurable via the API server --enable-admission-plugins flag.Details on admission controllers, with the complete list of available admission controllers, are documented in a dedicated section:Admission ControllersApply policies using ValidatingAdmissionPolicyValidating admission policies allow configurable validation checks to be executed in the API server using the Common Expression Language (CEL). For example, a ValidatingAdmissionPolicy can be used to disallow use of the latest image tag.A ValidatingAdmissionPolicy operates on an API request and can be used to block, audit, and warn users about non-compliant configurations.Details on the ValidatingAdmissionPolicy API, with examples, are documented in a dedicated section:Validating Admission PolicyApply policies using dynamic admission controlDynamic admission controllers (or admission webhooks) run outside the API server as separate applications that register to receive webhooks requests to perform validation or mutation of API requests.Dynamic admission controllers can be used to apply policies on API requests and trigger other policy-based workflows. A dynamic admission controller can perform complex checks including those that require retrieval of other cluster resources and external data. For example, an image verification check can lookup data from OCI registries to validate the container image signatures and attestations.Details on dynamic admission control are documented in a dedicated section:Dynamic Admission ControlImplementationsNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Dynamic Admission Controllers that act as flexible policy engines are being developed in ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_qa_8683"
  },
  {
    "question": "What are the benefits of Policies?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.PoliciesManage security and best-practices with policies.1: Limit Ranges2: Resource Quotas3: Process ID Limits And Reservations4: Node Resource ManagersKubernetes policies are configurations that manage other configurations or runtime behaviors. Kubernetes offers various forms of policies, described below:Apply policies using API objectsSome API objects act as policies. Here are some examples:NetworkPolicies can be used to restrict ingress and egress traffic for a workload.LimitRanges manage resource allocation constraints across different object kinds.ResourceQuotas limit resource consumption for a namespace.Apply policies using admission controllersAn admission controller runs in the API server and can validate or mutate API requests. Some admission controllers act to apply policies. For example, the AlwaysPullImages admission controller modifies a new Pod to set the image pull policy to Always.Kubernetes has several built-in admission controllers that are configurable via the API server --enable-admission-plugins flag.Details on admission controllers, with the complete list of available admission controllers, are documented in a dedicated section:Admission ControllersApply policies using ValidatingAdmissionPolicyValidating admission policies allow configurable validation checks to be executed in the API server using the Common Expression Language (CEL). For example, a ValidatingAdmissionPolicy can be used to disallow use of the latest image tag.A ValidatingAdmissionPolicy operates on an API request and can be used to block, audit, and warn users about non-compliant configurations.Details on the ValidatingAdmissionPolicy API, with examples, are documented in a dedicated section:Validating Admission PolicyApply policies using dynamic admission controlDynamic admission controllers (or admission webhooks) run outside the API server as separate applications that register to receive webhooks requests to perform validation or mutation of API requests.Dynamic admission controllers can be used to apply policies on API requests and trigger other policy-based workflows. A dynamic admission controller can perform complex checks including those that require retrieval of other cluster resources and external data. For example, an image verification check can lookup data from OCI registries to validate the container image signatures and attestations.Details on dynamic admission control are documented in a dedicated section:Dynamic Admission ControlImplementationsNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Dynamic Admission Controllers that act as flexible policy engines are being developed in ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_qa_8684"
  },
  {
    "question": "What is Policies?",
    "answer": "1 :   L i m i t   R a n g e s 2 :   R e s o u r c e   Q u o t a s 3 :   P r o c e s s   I D   L i m i t s   A n d   R e s e r v a t i o n s 4 :   N o d e   R e s o u r c e   M a n a g e r s   K u b e r n e t e s   p o l i c i e s   a r e   c o n f i g u r a t i o n s   t h a t   m a n a g e   o t h e r   c o n f i g u r a t i o n s   o r   r u n t i m e   b e h a v i o r s .   K u b e r n e t e s   o f f e r s   v a r i o u s   f o r m s   o f   p o l i c i e s ,   d e s c r i b e d   b e l o w :",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_1_8685"
  },
  {
    "question": "What is Apply policies using API objects?",
    "answer": "S o m e   A P I   o b j e c t s   a c t   a s   p o l i c i e s .   H e r e   a r e   s o m e   e x a m p l e s :   N e t w o r k P o l i c i e s   c a n   b e   u s e d   t o   r e s t r i c t   i n g r e s s   a n d   e g r e s s   t r a f f i c   f o r   a   w o r k l o a d . L i m i t R a n g e s   m a n a g e   r e s o u r c e   a l l o c a t i o n   c o n s t r a i n t s   a c r o s s   d i f f e r e n t   o b j e c t   k i n d s . R e s o u r c e Q u o t a s   l i m i t   r e s o u r c e   c o n s u m p t i o n   f o r   a   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_2_8686"
  },
  {
    "question": "What is Apply policies using admission controllers?",
    "answer": "A n   a d m i s s i o n   c o n t r o l l e r   r u n s   i n   t h e   A P I   s e r v e r   a n d   c a n   v a l i d a t e   o r   m u t a t e   A P I   r e q u e s t s .   S o m e   a d m i s s i o n   c o n t r o l l e r s   a c t   t o   a p p l y   p o l i c i e s .   F o r   e x a m p l e ,   t h e   A l w a y s P u l l I m a g e s   a d m i s s i o n   c o n t r o l l e r   m o d i f i e s   a   n e w   P o d   t o   s e t   t h e   i m a g e   p u l l   p o l i c y   t o   A l w a y s .   K u b e r n e t e s   h a s   s e v e r a l   b u i l t - i n   a d m i s s i o n   c o n t r o l l e r s   t h a t   a r e   c o n f i g u r a b l e   v i a   t h e   A P I   s e r v e r   - - e n a b l e - a d m i s s i o n - p l u g i n s   f l a g .   D e t a i l s   o n   a d m i s s i o n   c o n t r o l l e r s ,   w i t h   t h e   c o m p l e t e   l i s t   o f   a v a i l a b l e   a d m i s s i o n   c o n t r o l l e r s ,   a r e   d o c u m e n t e d   i n   a   d e d i c a t e d   s e c t i o n :   A d m i s s i o n   C o n t r o l l e r s",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_2_8687"
  },
  {
    "question": "What is Apply policies using ValidatingAdmissionPolicy?",
    "answer": "V a l i d a t i n g   a d m i s s i o n   p o l i c i e s   a l l o w   c o n f i g u r a b l e   v a l i d a t i o n   c h e c k s   t o   b e   e x e c u t e d   i n   t h e   A P I   s e r v e r   u s i n g   t h e   C o m m o n   E x p r e s s i o n   L a n g u a g e   ( C E L ) .   F o r   e x a m p l e ,   a   V a l i d a t i n g A d m i s s i o n P o l i c y   c a n   b e   u s e d   t o   d i s a l l o w   u s e   o f   t h e   l a t e s t   i m a g e   t a g .   A   V a l i d a t i n g A d m i s s i o n P o l i c y   o p e r a t e s   o n   a n   A P I   r e q u e s t   a n d   c a n   b e   u s e d   t o   b l o c k ,   a u d i t ,   a n d   w a r n   u s e r s   a b o u t   n o n - c o m p l i a n t   c o n f i g u r a t i o n s .   D e t a i l s   o n   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   A P I ,   w i t h   e x a m p l e s ,   a r e   d o c u m e n t e d   i n   a   d e d i c a t e d   s e c t i o n :   V a l i d a t i n g   A d m i s s i o n   P o l i c y",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_2_8688"
  },
  {
    "question": "What is Apply policies using dynamic admission control?",
    "answer": "D y n a m i c   a d m i s s i o n   c o n t r o l l e r s   ( o r   a d m i s s i o n   w e b h o o k s )   r u n   o u t s i d e   t h e   A P I   s e r v e r   a s   s e p a r a t e   a p p l i c a t i o n s   t h a t   r e g i s t e r   t o   r e c e i v e   w e b h o o k s   r e q u e s t s   t o   p e r f o r m   v a l i d a t i o n   o r   m u t a t i o n   o f   A P I   r e q u e s t s .   D y n a m i c   a d m i s s i o n   c o n t r o l l e r s   c a n   b e   u s e d   t o   a p p l y   p o l i c i e s   o n   A P I   r e q u e s t s   a n d   t r i g g e r   o t h e r   p o l i c y - b a s e d   w o r k f l o w s .   A   d y n a m i c   a d m i s s i o n   c o n t r o l l e r   c a n   p e r f o r m   c o m p l e x   c h e c k s   i n c l u d i n g   t h o s e   t h a t   r e q u i r e   r e t r i e v a l   o f   o t h e r   c l u s t e r   r e s o u r c e s   a n d   e x t e r n a l   d a t a .   F o r   e x a m p l e ,   a n   i m a g e   v e r i f i c a t i o n   c h e c k   c a n   l o o k u p   d a t a   f r o m   O C I   r e g i s t r i e s   t o   v a l i d a t e   t h e   c o n t a i n e r   i m a g e   s i g n a t u r e s   a n d   a t t e s t a t i o n s .   D e t a i l s   o n   d y n a m i c   a d m i s s i o n   c o n t r o l   a r e   d o c u m e n t e d   i n   a   d e d i c a t e d   s e c t i o n :   D y n a m i c   A d m i s s i o n   C o n t r o l",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_2_8689"
  },
  {
    "question": "What is Implementations?",
    "answer": "D y n a m i c   A d m i s s i o n   C o n t r o l l e r s   t h a t   a c t   a s   f l e x i b l e   p o l i c y   e n g i n e s   a r e   b e i n g   d e v e l o p e d   i n   t h e   K u b e r n e t e s   e c o s y s t e m ,   s u c h   a s :   K u b e w a r d e n K y v e r n o O P A   G a t e k e e p e r P o l a r i s",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_3_8690"
  },
  {
    "question": "What is Apply policies using Kubelet configurations?",
    "answer": "K u b e r n e t e s   a l l o w s   c o n f i g u r i n g   t h e   K u b e l e t   o n   e a c h   w o r k e r   n o d e .   S o m e   K u b e l e t   c o n f i g u r a t i o n s   a c t   a s   p o l i c i e s :   P r o c e s s   I D   l i m i t s   a n d   r e s e r v a t i o n s   a r e   u s e d   t o   l i m i t   a n d   r e s e r v e   a l l o c a t a b l e   P I D s . N o d e   R e s o u r c e   M a n a g e r s   c a n   m a n a g e   c o m p u t e ,   m e m o r y ,   a n d   d e v i c e   r e s o u r c e s   f o r   l a t e n c y - c r i t i c a l   a n d   h i g h - t h r o u g h p u t   w o r k l o a d s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_2_8691"
  },
  {
    "question": "What is 1 - Limit Ranges?",
    "answer": "B y   d e f a u l t ,   c o n t a i n e r s   r u n   w i t h   u n b o u n d e d   c o m p u t e   r e s o u r c e s   o n   a   K u b e r n e t e s   c l u s t e r .   U s i n g   K u b e r n e t e s   r e s o u r c e   q u o t a s ,   a d m i n i s t r a t o r s   ( a l s o   t e r m e d   c l u s t e r   o p e r a t o r s )   c a n   r e s t r i c t   c o n s u m p t i o n   a n d   c r e a t i o n   o f   c l u s t e r   r e s o u r c e s   ( s u c h   a s   C P U   t i m e ,   m e m o r y ,   a n d   p e r s i s t e n t   s t o r a g e )   w i t h i n   a   s p e c i f i e d   n a m e s p a c e .   W i t h i n   a   n a m e s p a c e ,   a   P o d   c a n   c o n s u m e   a s   m u c h   C P U   a n d   m e m o r y   a s   i s   a l l o w e d   b y   t h e   R e s o u r c e Q u o t a s   t h a t   a p p l y   t o   t h a t   n a m e s p a c e .   A s   a   c l u s t e r   o p e r a t o r ,   o r   a s   a   n a m e s p a c e - l e v e l   a d m i n i s t r a t o r ,   y o u   m i g h t   a l s o   b e   c o n c e r n e d   a b o u t   m a k i n g   s u r e   t h a t   a   s i n g l e   o b j e c t   c a n n o t   m o n o p o l i z e   a l l   a v a i l a b l e   r e s o u r c e s   w i t h i n   a   n a m e s p a c e .   A   L i m i t R a n g e   i s   a   p o l i c y   t o   c o n s t r a i n   t h e   r e s o u r c e   a l l o c a t i o n s   ( l i m i t s   a n d   r e q u e s t s )   t h a t   y o u   c a n   s p e c i f y   f o r   e a c h   a p p l i c a b l e   o b j e c t   k i n d   ( s u c h   a s   P o d   o r   P e r s i s t e n t V o l u m e C l a i m )   i n   a   n a m e s p a c e .   A   L i m i t R a n g e   p r o v i d e s   c o n s t r a i n t s   t h a t   c a n :   E n f o r c e   m i n i m u m   a n d   m a x i m u m   c o m p u t e   r e s o u r c e s   u s a g e   p e r   P o d   o r   C o n t a i n e r   i n   a   n a m e s p a c e . E n f o r c e   m i n i m u m   a n d   m a x i m u m   s t o r a g e   r e q u e s t   p e r   P e r ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_1_8692"
  },
  {
    "question": "What is Constraints on resource limits and requests?",
    "answer": "T h e   a d m i n i s t r a t o r   c r e a t e s   a   L i m i t R a n g e   i n   a   n a m e s p a c e . U s e r s   c r e a t e   ( o r   t r y   t o   c r e a t e )   o b j e c t s   i n   t h a t   n a m e s p a c e ,   s u c h   a s   P o d s   o r   P e r s i s t e n t V o l u m e C l a i m s . F i r s t ,   t h e   L i m i t R a n g e   a d m i s s i o n   c o n t r o l l e r   a p p l i e s   d e f a u l t   r e q u e s t   a n d   l i m i t   v a l u e s   f o r   a l l   P o d s   ( a n d   t h e i r   c o n t a i n e r s )   t h a t   d o   n o t   s e t   c o m p u t e   r e s o u r c e   r e q u i r e m e n t s . S e c o n d ,   t h e   L i m i t R a n g e   t r a c k s   u s a g e   t o   e n s u r e   i t   d o e s   n o t   e x c e e d   r e s o u r c e   m i n i m u m ,   m a x i m u m   a n d   r a t i o   d e f i n e d   i n   a n y   L i m i t R a n g e   p r e s e n t   i n   t h e   n a m e s p a c e . I f   y o u   a t t e m p t   t o   c r e a t e   o r   u p d a t e   a n   o b j e c t   ( P o d   o r   P e r s i s t e n t V o l u m e C l a i m )   t h a t   v i o l a t e s   a   L i m i t R a n g e   c o n s t r a i n t ,   y o u r   r e q u e s t   t o   t h e   A P I   s e r v e r   w i l l   f a i l   w i t h   a n H T T P   s t a t u s   c o d e   4 0 3   F o r b i d d e n   a n d   a   m e s s a g e   e x p l a i n i n g   t h e   c o n s t r a i n t   t h a t   h a s   b e e n   v i o l a t e d . I f   y o u   a d d   a   L i m i t R a n g e   i n   a   n a m e s p a c e   t h a t   a p p l i e s   t o   c o m p u t e - r e l a t e d   r e s o u r c e s   s u c h   a s   c p u   a n d   m e m o r y ,   y o u   m u s t   s p e c i f y   r e q u e s t s   o r   l i m i t s   f o r   t h o s e   v a l u e s .   O t h e r w i s e ,   t h e   s y s t e m   m a y   r e j e c t   P o d   c r e a t i o n . L i m i t R a n g e   v a l i d a t i o n s   o c c u r   o n l y   a t   P o d   a d m i s s i o n   s t a g e ,   n o t   o n   r u n ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_2_8693"
  },
  {
    "question": "What is LimitRange and admission checks for Pods?",
    "answer": "A   L i m i t R a n g e   d o e s   n o t   c h e c k   t h e   c o n s i s t e n c y   o f   t h e   d e f a u l t   v a l u e s   i t   a p p l i e s .   T h i s   m e a n s   t h a t   a   d e f a u l t   v a l u e   f o r   t h e   l i m i t   t h a t   i s   s e t   b y   L i m i t R a n g e   m a y   b e   l e s s   t h a n   t h e   r e q u e s t   v a l u e   s p e c i f i e d   f o r   t h e   c o n t a i n e r   i n   t h e   s p e c   t h a t   a   c l i e n t   s u b m i t s   t o   t h e   A P I   s e r v e r .   I f   t h a t   h a p p e n s ,   t h e   f i n a l   P o d   w i l l   n o t   b e   s c h e d u l a b l e .   F o r   e x a m p l e ,   y o u   d e f i n e   a   L i m i t R a n g e   w i t h   b e l o w   m a n i f e s t : N o t e : T h e   f o l l o w i n g   e x a m p l e s   o p e r a t e   w i t h i n   t h e   d e f a u l t   n a m e s p a c e   o f   y o u r   c l u s t e r ,   a s   t h e   n a m e s p a c e   p a r a m e t e r   i s   u n d e f i n e d   a n d   t h e   L i m i t R a n g e   s c o p e   i s   l i m i t e d   t o   t h e   n a m e s p a c e   l e v e l .   T h i s   i m p l i e s   t h a t   a n y   r e f e r e n c e s   o r   o p e r a t i o n s   w i t h i n   t h e s e   e x a m p l e s   w i l l   i n t e r a c t   w i t h   e l e m e n t s   w i t h i n   t h e   d e f a u l t   n a m e s p a c e   o f   y o u r   c l u s t e r .   Y o u   c a n   o v e r r i d e   t h e   o p e r a t i n g   n a m e s p a c e   b y   c o n f i g u r i n g   n a m e s p a c e   i n   t h e   m e t a d a t a . n a m e s p a c e   f i e l d .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_2_8694"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   L i m i t R a n g e   m e t a d a t a :   n a m e :   c p u - r e s o u r c e - c o n s t r a i n t   s p e c :   l i m i t s :   -   d e f a u l t :   #   t h i s   s e c t i o n   d e f i n e s   d e f a u l t   l i m i t s   c p u :   5 0 0 m   d e f a u l t R e q u e s t :   #   t h i s   s e c t i o n   d e f i n e s   d e f a u l t   r e q u e s t s   c p u :   5 0 0 m   m a x :   #   m a x   a n d   m i n   d e f i n e   t h e   l i m i t   r a n g e   c p u :   \" 1 \"   m i n :   c p u :   1 0 0 m   t y p e :   C o n t a i n e r   a l o n g   w i t h   a   P o d   t h a t   d e c l a r e s   a   C P U   r e s o u r c e   r e q u e s t   o f   7 0 0 m ,   b u t   n o t   a   l i m i t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e x a m p l e - c o n f l i c t - w i t h - l i m i t r a n g e - c p u   s p e c :   c o n t a i n e r s :   -   n a m e :   d e m o   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 8   r e s o u r c e s :   r e q u e s t s :   c p u :   7 0 0 m   t h e n   t h a t   P o d   w i l l   n o t   b e   s c h e d u l e d ,   f a i l i n g   w i t h   a n   e r r o r   s i m i l a r   t o :   P o d   \" e x a m p l e - c o n f l i c t - w i t h - l i m i t r a n g e - c p u \"   i s   i n v a l i d :   s p e c . c o n t a i n e r s [ 0 ] . r e s o u r c e s . r e q u e s t s :   I n v a l i d   v a l u e :   \" 7 0 0 m \" :   m u s t   b e   l e s s   t h a n   o r   e q u a l   t o   c p u   l i m i t   I f   y o u   s e t   b o t h   r e q u e s t   a n d   l i m i t ,   t h e n   t h a t   n e w   P o d   w i l l   b e   s c h e d u l e d   s u c c e s s f u l l y   e v e n   w i t h   t h e   s a m e   L i m i t R a n g e   i n   p l a c e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e x a m p l e - n o - c o n f l i c t - w i t h - l i m i t r a n g e - c p u   s p e c :   c o n t a i n e r s :   -   n ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_4_8695"
  },
  {
    "question": "What is Example resource constraints?",
    "answer": "E x a m p l e s   o f   p o l i c i e s   t h a t   c o u l d   b e   c r e a t e d   u s i n g   L i m i t R a n g e   a r e :   I n   a   2   n o d e   c l u s t e r   w i t h   a   c a p a c i t y   o f   8   G i B   R A M   a n d   1 6   c o r e s ,   c o n s t r a i n   P o d s   i n   a   n a m e s p a c e   t o   r e q u e s t   1 0 0 m   o f   C P U   w i t h   a   m a x   l i m i t   o f   5 0 0 m   f o r   C P U   a n d   r e q u e s t   2 0 0 M i   f o r   M e m o r y   w i t h   a   m a x   l i m i t   o f   6 0 0 M i   f o r   M e m o r y . D e f i n e   d e f a u l t   C P U   l i m i t   a n d   r e q u e s t   t o   1 5 0 m   a n d   m e m o r y   d e f a u l t   r e q u e s t   t o   3 0 0 M i   f o r   C o n t a i n e r s   s t a r t e d   w i t h   n o   c p u   a n d   m e m o r y   r e q u e s t s   i n   t h e i r   s p e c s .   I n   t h e   c a s e   w h e r e   t h e   t o t a l   l i m i t s   o f   t h e   n a m e s p a c e   i s   l e s s   t h a n   t h e   s u m   o f   t h e   l i m i t s   o f   t h e   P o d s / C o n t a i n e r s ,   t h e r e   m a y   b e   c o n t e n t i o n   f o r   r e s o u r c e s .   I n   t h i s   c a s e ,   t h e   C o n t a i n e r s   o r   P o d s   w i l l   n o t   b e   c r e a t e d .   N e i t h e r   c o n t e n t i o n   n o r   c h a n g e s   t o   a   L i m i t R a n g e   w i l l   a f f e c t   a l r e a d y   c r e a t e d   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_2_8696"
  },
  {
    "question": "What is What's next?",
    "answer": "F o r   e x a m p l e s   o n   u s i n g   l i m i t s ,   s e e :   h o w   t o   c o n f i g u r e   m i n i m u m   a n d   m a x i m u m   C P U   c o n s t r a i n t s   p e r   n a m e s p a c e . h o w   t o   c o n f i g u r e   m i n i m u m   a n d   m a x i m u m   M e m o r y   c o n s t r a i n t s   p e r   n a m e s p a c e . h o w   t o   c o n f i g u r e   d e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   p e r   n a m e s p a c e . h o w   t o   c o n f i g u r e   d e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   p e r   n a m e s p a c e . h o w   t o   c o n f i g u r e   m i n i m u m   a n d   m a x i m u m   S t o r a g e   c o n s u m p t i o n   p e r   n a m e s p a c e . a   d e t a i l e d   e x a m p l e   o n   c o n f i g u r i n g   q u o t a   p e r   n a m e s p a c e .   R e f e r   t o   t h e   L i m i t R a n g e r   d e s i g n   d o c u m e n t   f o r   c o n t e x t   a n d   h i s t o r i c a l   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_2_8697"
  },
  {
    "question": "What is 2 - Resource Quotas?",
    "answer": "W h e n   s e v e r a l   u s e r s   o r   t e a m s   s h a r e   a   c l u s t e r   w i t h   a   f i x e d   n u m b e r   o f   n o d e s ,   t h e r e   i s   a   c o n c e r n   t h a t   o n e   t e a m   c o u l d   u s e   m o r e   t h a n   i t s   f a i r   s h a r e   o f   r e s o u r c e s .   R e s o u r c e   q u o t a s   a r e   a   t o o l   f o r   a d m i n i s t r a t o r s   t o   a d d r e s s   t h i s   c o n c e r n .   A   r e s o u r c e   q u o t a ,   d e f i n e d   b y   a   R e s o u r c e Q u o t a   o b j e c t ,   p r o v i d e s   c o n s t r a i n t s   t h a t   l i m i t   a g g r e g a t e   r e s o u r c e   c o n s u m p t i o n   p e r   n a m e s p a c e .   A   R e s o u r c e Q u o t a   c a n   a l s o   l i m i t   t h e   q u a n t i t y   o f   o b j e c t s   t h a t   c a n   b e   c r e a t e d   i n   a   n a m e s p a c e   b y   A P I   k i n d ,   a s   w e l l   a s   t h e   t o t a l   a m o u n t   o f   i n f r a s t r u c t u r e   r e s o u r c e s   t h a t   m a y   b e   c o n s u m e d   b y   A P I   o b j e c t s   f o u n d   i n   t h a t   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_1_8698"
  },
  {
    "question": "What is How Kubernetes ResourceQuotas work?",
    "answer": "R e s o u r c e Q u o t a s   w o r k   l i k e   t h i s :   D i f f e r e n t   t e a m s   w o r k   i n   d i f f e r e n t   n a m e s p a c e s .   T h i s   s e p a r a t i o n   c a n   b e   e n f o r c e d   w i t h   R B A C   o r   a n y   o t h e r   a u t h o r i z a t i o n   m e c h a n i s m . A   c l u s t e r   a d m i n i s t r a t o r   c r e a t e s   a t   l e a s t   o n e   R e s o u r c e Q u o t a   f o r   e a c h   n a m e s p a c e . T o   m a k e   s u r e   t h e   e n f o r c e m e n t   s t a y s   e n f o r c e d ,   t h e   c l u s t e r   a d m i n i s t r a t o r   s h o u l d   a l s o   r e s t r i c t   a c c e s s   t o   d e l e t e   o r   u p d a t e   t h a t   R e s o u r c e Q u o t a ;   f o r   e x a m p l e ,   b y   d e f i n i n g   a   V a l i d a t i n g A d m i s s i o n P o l i c y . U s e r s   c r e a t e   r e s o u r c e s   ( p o d s ,   s e r v i c e s ,   e t c . )   i n   t h e   n a m e s p a c e ,   a n d   t h e   q u o t a   s y s t e m   t r a c k s   u s a g e   t o   e n s u r e   i t   d o e s   n o t   e x c e e d   h a r d   r e s o u r c e   l i m i t s   d e f i n e d   i n   a   R e s o u r c e Q u o t a . Y o u   c a n   a p p l y   a   s c o p e   t o   a   R e s o u r c e Q u o t a   t o   l i m i t   w h e r e   i t   a p p l i e s , I f   c r e a t i n g   o r   u p d a t i n g   a   r e s o u r c e   v i o l a t e s   a   q u o t a   c o n s t r a i n t ,   t h e   c o n t r o l   p l a n e   r e j e c t s   t h a t   r e q u e s t   w i t h   H T T P   s t a t u s   c o d e   4 0 3   F o r b i d d e n .   T h e   e r r o r   i n c l u d e s   a   m e s s a g e   e x p l a i n i n g   t h e   c o n s t r a i n t   t h a t   w o u l d   h a v e   b e e n   v i o l a t e d . I f   q u o t a s   a r e   e n a b l e d   i n   a   n a m e s p a c e   f o r   r e s o u r c e   s u c h   a s   c p u   a n d   m e m o r y ,   u s e r s   m u s t   s p e c i f y   r e q u e s t s   o r   l i ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_2_8699"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   d e f i n e   a   L i m i t R a n g e   t o   f o r c e   d e f a u l t s   o n   p o d s   t h a t   m a k e   n o   c o m p u t e   r e s o u r c e   r e q u i r e m e n t s   ( s o   t h a t   u s e r s   d o n ' t   h a v e   t o   r e m e m b e r   t o   d o   t h a t ) .   Y o u   o f t e n   d o   n o t   c r e a t e   P o d s   d i r e c t l y ;   f o r   e x a m p l e ,   y o u   m o r e   u s u a l l y   c r e a t e   a   w o r k l o a d   m a n a g e m e n t   o b j e c t   s u c h   a s   a   D e p l o y m e n t .   I f   y o u   c r e a t e   a   D e p l o y m e n t   t h a t   t r i e s   t o   u s e   m o r e   r e s o u r c e s   t h a n   a r e   a v a i l a b l e ,   t h e   c r e a t i o n   o f   t h e   D e p l o y m e n t   ( o r   o t h e r   w o r k l o a d   m a n a g e m e n t   o b j e c t )   s u c c e e d s ,   b u t   t h e   D e p l o y m e n t   m a y   n o t   b e   a b l e   t o   g e t   a l l   o f   t h e   P o d s   i t   m a n a g e s   t o   e x i s t .   I n   t h a t   c a s e   y o u   c a n   c h e c k   t h e   s t a t u s   o f   t h e   D e p l o y m e n t ,   f o r   e x a m p l e   w i t h   k u b e c t l   d e s c r i b e ,   t o   s e e   w h a t   h a s   h a p p e n e d .   F o r   c p u   a n d   m e m o r y   r e s o u r c e s ,   R e s o u r c e Q u o t a s   e n f o r c e   t h a t   e v e r y   ( n e w )   p o d   i n   t h a t   n a m e s p a c e   s e t s   a   l i m i t   f o r   t h a t   r e s o u r c e .   I f   y o u   e n f o r c e   a   r e s o u r c e   q u o t a   i n   a   n a m e s p a c e   f o r   e i t h e r   c p u   o r   m e m o r y ,   y o u   a n d   o t h e r   c l i e n t s ,   m u s t   s p e c i f y   e i t h e r   r e q u e s t s   o r   l i m i t s   f o r   t h a t   r e s o u r c e ,   f o r   e v e r y   n e w   P o d   y o u   s u b m i t .   I f   y o u   d o n ' t ,   t h e   c o n t r o l   p l a n e   m a y   r e j e c t   a d m i s s i o n   f o r   t h a t ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_4_8700"
  },
  {
    "question": "What is Enabling Resource Quota?",
    "answer": "R e s o u r c e Q u o t a   s u p p o r t   i s   e n a b l e d   b y   d e f a u l t   f o r   m a n y   K u b e r n e t e s   d i s t r i b u t i o n s .   I t   i s   e n a b l e d   w h e n   t h e   A P I   s e r v e r   - - e n a b l e - a d m i s s i o n - p l u g i n s =   f l a g   h a s   R e s o u r c e Q u o t a   a s   o n e   o f   i t s   a r g u m e n t s .   A   r e s o u r c e   q u o t a   i s   e n f o r c e d   i n   a   p a r t i c u l a r   n a m e s p a c e   w h e n   t h e r e   i s   a   R e s o u r c e Q u o t a   i n   t h a t   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_2_8701"
  },
  {
    "question": "What is Types of resource quota?",
    "answer": "T h e   R e s o u r c e Q u o t a   m e c h a n i s m   l e t s   y o u   e n f o r c e   d i f f e r e n t   k i n d s   o f   l i m i t s .   T h i s   s e c t i o n   d e s c r i b e s   t h e   t y p e s   o f   l i m i t   t h a t   y o u   c a n   e n f o r c e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_2_8702"
  },
  {
    "question": "What is Quota for infrastructure resources?",
    "answer": "Y o u   c a n   l i m i t   t h e   t o t a l   s u m   o f   c o m p u t e   r e s o u r c e s   t h a t   c a n   b e   r e q u e s t e d   i n   a   g i v e n   n a m e s p a c e .   T h e   f o l l o w i n g   r e s o u r c e   t y p e s   a r e   s u p p o r t e d :",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_3_8703"
  },
  {
    "question": "What is Quota for extended resources?",
    "answer": "I n   a d d i t i o n   t o   t h e   r e s o u r c e s   m e n t i o n e d   a b o v e ,   i n   r e l e a s e   1 . 1 0 ,   q u o t a   s u p p o r t   f o r   e x t e n d e d   r e s o u r c e s   i s   a d d e d .   A s   o v e r c o m m i t   i s   n o t   a l l o w e d   f o r   e x t e n d e d   r e s o u r c e s ,   i t   m a k e s   n o   s e n s e   t o   s p e c i f y   b o t h   r e q u e s t s   a n d   l i m i t s   f o r   t h e   s a m e   e x t e n d e d   r e s o u r c e   i n   a   q u o t a .   S o   f o r   e x t e n d e d   r e s o u r c e s ,   o n l y   q u o t a   i t e m s   w i t h   p r e f i x   r e q u e s t s .   a r e   a l l o w e d .   T a k e   t h e   G P U   r e s o u r c e   a s   a n   e x a m p l e ,   i f   t h e   r e s o u r c e   n a m e   i s   n v i d i a . c o m / g p u ,   a n d   y o u   w a n t   t o   l i m i t   t h e   t o t a l   n u m b e r   o f   G P U s   r e q u e s t e d   i n   a   n a m e s p a c e   t o   4 ,   y o u   c a n   d e f i n e   a   q u o t a   a s   f o l l o w s :   r e q u e s t s . n v i d i a . c o m / g p u :   4   S e e   V i e w i n g   a n d   S e t t i n g   Q u o t a s   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_3_8704"
  },
  {
    "question": "What is Quota for storage?",
    "answer": "Y o u   c a n   l i m i t   t h e   t o t a l   s u m   o f   s t o r a g e   f o r   v o l u m e s   t h a t   c a n   b e   r e q u e s t e d   i n   a   g i v e n   n a m e s p a c e .   I n   a d d i t i o n ,   y o u   c a n   l i m i t   c o n s u m p t i o n   o f   s t o r a g e   r e s o u r c e s   b a s e d   o n   a s s o c i a t e d   S t o r a g e C l a s s .   F o r   e x a m p l e ,   i f   y o u   w a n t   t o   q u o t a   s t o r a g e   w i t h   g o l d   S t o r a g e C l a s s   s e p a r a t e   f r o m   a   b r o n z e   S t o r a g e C l a s s ,   y o u   c a n   d e f i n e   a   q u o t a   a s   f o l l o w s :   g o l d . s t o r a g e c l a s s . s t o r a g e . k 8 s . i o / r e q u e s t s . s t o r a g e :   5 0 0 G i b r o n z e . s t o r a g e c l a s s . s t o r a g e . k 8 s . i o / r e q u e s t s . s t o r a g e :   1 0 0 G i",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_3_8705"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   u s i n g   a   C R I   c o n t a i n e r   r u n t i m e ,   c o n t a i n e r   l o g s   w i l l   c o u n t   a g a i n s t   t h e   e p h e m e r a l   s t o r a g e   q u o t a .   T h i s   c a n   r e s u l t   i n   t h e   u n e x p e c t e d   e v i c t i o n   o f   p o d s   t h a t   h a v e   e x h a u s t e d   t h e i r   s t o r a g e   q u o t a s .   R e f e r   t o   L o g g i n g   A r c h i t e c t u r e   f o r   d e t a i l s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_4_8706"
  },
  {
    "question": "What is Quota on object count?",
    "answer": "Y o u   c a n   s e t   q u o t a   f o r   t h e   t o t a l   n u m b e r   o f   o n e   p a r t i c u l a r   r e s o u r c e   k i n d   i n   t h e   K u b e r n e t e s   A P I ,   u s i n g   t h e   f o l l o w i n g   s y n t a x :   c o u n t / < r e s o u r c e > . < g r o u p >   f o r   r e s o u r c e s   f r o m   n o n - c o r e   A P I   g r o u p s c o u n t / < r e s o u r c e >   f o r   r e s o u r c e s   f r o m   t h e   c o r e   A P I   g r o u p   F o r   e x a m p l e ,   t h e   P o d T e m p l a t e   A P I   i s   i n   t h e   c o r e   A P I   g r o u p   a n d   s o   i f   y o u   w a n t   t o   l i m i t   t h e   n u m b e r   o f   P o d T e m p l a t e   o b j e c t s   i n   a   n a m e s p a c e ,   y o u   u s e   c o u n t / p o d t e m p l a t e s .   T h e s e   t y p e s   o f   q u o t a s   a r e   u s e f u l   t o   p r o t e c t   a g a i n s t   e x h a u s t i o n   o f   c o n t r o l   p l a n e   s t o r a g e .   F o r   e x a m p l e ,   y o u   m a y   w a n t   t o   l i m i t   t h e   n u m b e r   o f   S e c r e t s   i n   a   s e r v e r   g i v e n   t h e i r   l a r g e   s i z e .   T o o   m a n y   S e c r e t s   i n   a   c l u s t e r   c a n   a c t u a l l y   p r e v e n t   s e r v e r s   a n d   c o n t r o l l e r s   f r o m   s t a r t i n g .   Y o u   c a n   s e t   a   q u o t a   f o r   J o b s   t o   p r o t e c t   a g a i n s t   a   p o o r l y   c o n f i g u r e d   C r o n J o b .   C r o n J o b s   t h a t   c r e a t e   t o o   m a n y   J o b s   i n   a   n a m e s p a c e   c a n   l e a d   t o   a   d e n i a l   o f   s e r v i c e .   I f   y o u   d e f i n e   a   q u o t a   t h i s   w a y ,   i t   a p p l i e s   t o   K u b e r n e t e s '   A P I s   t h a t   a r e   p a r t   o f   t h e   A P I   s e r v e r ,   a n d   t o   a n y   c u s t o m   r e s o u r c e s   b a c k e d   b y   a   C u s t o m R e s o u r c e D e f i n i t i o n .   F o ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_3_8707"
  },
  {
    "question": "What is Generic syntax?",
    "answer": "T h i s   i s   a   l i s t   o f   c o m m o n   e x a m p l e s   o f   o b j e c t   k i n d s   t h a t   y o u   m a y   w a n t   t o   p u t   u n d e r   o b j e c t   c o u n t   q u o t a ,   l i s t e d   b y   t h e   c o n f i g u r a t i o n   s t r i n g   t h a t   y o u   w o u l d   u s e .   c o u n t / p o d s c o u n t / p e r s i s t e n t v o l u m e c l a i m s c o u n t / s e r v i c e s c o u n t / s e c r e t s c o u n t / c o n f i g m a p s c o u n t / d e p l o y m e n t s . a p p s c o u n t / r e p l i c a s e t s . a p p s c o u n t / s t a t e f u l s e t s . a p p s c o u n t / j o b s . b a t c h c o u n t / c r o n j o b s . b a t c h",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_5_8708"
  },
  {
    "question": "What is Specialized syntax?",
    "answer": "T h e r e   i s   a n o t h e r   s y n t a x   o n l y   t o   s e t   t h e   s a m e   t y p e   o f   q u o t a ,   t h a t   o n l y   w o r k s   f o r   c e r t a i n   A P I   k i n d s .   T h e   f o l l o w i n g   t y p e s   a r e   s u p p o r t e d :   F o r   e x a m p l e ,   p o d s   q u o t a   c o u n t s   a n d   e n f o r c e s   a   m a x i m u m   o n   t h e   n u m b e r   o f   p o d s   c r e a t e d   i n   a   s i n g l e   n a m e s p a c e   t h a t   a r e   n o t   t e r m i n a l .   Y o u   m i g h t   w a n t   t o   s e t   a   p o d s   q u o t a   o n   a   n a m e s p a c e   t o   a v o i d   t h e   c a s e   w h e r e   a   u s e r   c r e a t e s   m a n y   s m a l l   p o d s   a n d   e x h a u s t s   t h e   c l u s t e r ' s   s u p p l y   o f   P o d   I P s .   Y o u   c a n   f i n d   m o r e   e x a m p l e s   o n   V i e w i n g   a n d   S e t t i n g   Q u o t a s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_5_8709"
  },
  {
    "question": "What is Quota Scopes?",
    "answer": "E a c h   q u o t a   c a n   h a v e   a n   a s s o c i a t e d   s e t   o f   s c o p e s .   A   q u o t a   w i l l   o n l y   m e a s u r e   u s a g e   f o r   a   r e s o u r c e   i f   i t   m a t c h e s   t h e   i n t e r s e c t i o n   o f   e n u m e r a t e d   s c o p e s .   W h e n   a   s c o p e   i s   a d d e d   t o   t h e   q u o t a ,   i t   l i m i t s   t h e   n u m b e r   o f   r e s o u r c e s   i t   s u p p o r t s   t o   t h o s e   t h a t   p e r t a i n   t o   t h e   s c o p e .   R e s o u r c e s   s p e c i f i e d   o n   t h e   q u o t a   o u t s i d e   o f   t h e   a l l o w e d   s e t   r e s u l t s   i n   a   v a l i d a t i o n   e r r o r .   T h e   B e s t E f f o r t   s c o p e   r e s t r i c t s   a   q u o t a   t o   t r a c k i n g   t h e   f o l l o w i n g   r e s o u r c e :   p o d s   T h e   T e r m i n a t i n g ,   N o t T e r m i n a t i n g ,   N o t B e s t E f f o r t   a n d   P r i o r i t y C l a s s   s c o p e s   r e s t r i c t   a   q u o t a   t o   t r a c k i n g   t h e   f o l l o w i n g   r e s o u r c e s :   p o d s c p u m e m o r y r e q u e s t s . c p u r e q u e s t s . m e m o r y l i m i t s . c p u l i m i t s . m e m o r y   N o t e   t h a t   y o u   c a n n o t   s p e c i f y   b o t h   t h e   T e r m i n a t i n g   a n d   t h e   N o t T e r m i n a t i n g   s c o p e s   i n   t h e   s a m e   q u o t a ,   a n d   y o u   c a n n o t   s p e c i f y   b o t h   t h e   B e s t E f f o r t   a n d   N o t B e s t E f f o r t   s c o p e s   i n   t h e   s a m e   q u o t a   e i t h e r .   T h e   s c o p e S e l e c t o r   s u p p o r t s   t h e   f o l l o w i n g   v a l u e s   i n   t h e   o p e r a t o r   f i e l d :   I n N o t I n E x i s t s D o e s N o t E x i s t   W h e n   u s i n g   o n e   o f   t h e   f o l l o w i n g   v a l u e s   a s   t h e   s c o p e N a m e   w h e n   d e f i n i n g   t h e   s c o p e S e l ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_2_8710"
  },
  {
    "question": "What is Resource Quota Per PriorityClass?",
    "answer": "P o d s   c a n   b e   c r e a t e d   a t   a   s p e c i f i c   p r i o r i t y .   Y o u   c a n   c o n t r o l   a   p o d ' s   c o n s u m p t i o n   o f   s y s t e m   r e s o u r c e s   b a s e d   o n   a   p o d ' s   p r i o r i t y ,   b y   u s i n g   t h e   s c o p e S e l e c t o r   f i e l d   i n   t h e   q u o t a   s p e c .   A   q u o t a   i s   m a t c h e d   a n d   c o n s u m e d   o n l y   i f   s c o p e S e l e c t o r   i n   t h e   q u o t a   s p e c   s e l e c t s   t h e   p o d .   W h e n   q u o t a   i s   s c o p e d   f o r   p r i o r i t y   c l a s s   u s i n g   s c o p e S e l e c t o r   f i e l d ,   q u o t a   o b j e c t   i s   r e s t r i c t e d   t o   t r a c k   o n l y   f o l l o w i n g   r e s o u r c e s :   p o d s c p u m e m o r y e p h e m e r a l - s t o r a g e l i m i t s . c p u l i m i t s . m e m o r y l i m i t s . e p h e m e r a l - s t o r a g e r e q u e s t s . c p u r e q u e s t s . m e m o r y r e q u e s t s . e p h e m e r a l - s t o r a g e   T h i s   e x a m p l e   c r e a t e s   a   q u o t a   o b j e c t   a n d   m a t c h e s   i t   w i t h   p o d s   a t   s p e c i f i c   p r i o r i t i e s .   T h e   e x a m p l e   w o r k s   a s   f o l l o w s :   P o d s   i n   t h e   c l u s t e r   h a v e   o n e   o f   t h e   t h r e e   p r i o r i t y   c l a s s e s ,   \" l o w \" ,   \" m e d i u m \" ,   \" h i g h \" . O n e   q u o t a   o b j e c t   i s   c r e a t e d   f o r   e a c h   p r i o r i t y .   S a v e   t h e   f o l l o w i n g   Y A M L   t o   a   f i l e   q u o t a . y a m l .   a p i V e r s i o n :   v 1   k i n d :   L i s t   i t e m s :   -   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a   m e t a d a t a :   n a m e :   p o d s - h i g h   s p e c :   h a r d :   c p u :   \" 1 0 0 0 \"   m e m o r y :   \" 2 0 0 G i \"   p o d s :   \" 1 0 \"   s c o p e S e l e c t o r :   m a t c h E x p r e s s i o n s :   ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_3_8711"
  },
  {
    "question": "What is Cross-namespace Pod Affinity Quota?",
    "answer": "O p e r a t o r s   c a n   u s e   C r o s s N a m e s p a c e P o d A f f i n i t y   q u o t a   s c o p e   t o   l i m i t   w h i c h   n a m e s p a c e s   a r e   a l l o w e d   t o   h a v e   p o d s   w i t h   a f f i n i t y   t e r m s   t h a t   c r o s s   n a m e s p a c e s .   S p e c i f i c a l l y ,   i t   c o n t r o l s   w h i c h   p o d s   a r e   a l l o w e d   t o   s e t   n a m e s p a c e s   o r   n a m e s p a c e S e l e c t o r   f i e l d s   i n   p o d   a f f i n i t y   t e r m s .   P r e v e n t i n g   u s e r s   f r o m   u s i n g   c r o s s - n a m e s p a c e   a f f i n i t y   t e r m s   m i g h t   b e   d e s i r e d   s i n c e   a   p o d   w i t h   a n t i - a f f i n i t y   c o n s t r a i n t s   c a n   b l o c k   p o d s   f r o m   a l l   o t h e r   n a m e s p a c e s   f r o m   g e t t i n g   s c h e d u l e d   i n   a   f a i l u r e   d o m a i n .   U s i n g   t h i s   s c o p e   o p e r a t o r s   c a n   p r e v e n t   c e r t a i n   n a m e s p a c e s   ( f o o - n s   i n   t h e   e x a m p l e   b e l o w )   f r o m   h a v i n g   p o d s   t h a t   u s e   c r o s s - n a m e s p a c e   p o d   a f f i n i t y   b y   c r e a t i n g   a   r e s o u r c e   q u o t a   o b j e c t   i n   t h a t   n a m e s p a c e   w i t h   C r o s s N a m e s p a c e P o d A f f i n i t y   s c o p e   a n d   h a r d   l i m i t   o f   0 :   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a   m e t a d a t a :   n a m e :   d i s a b l e - c r o s s - n a m e s p a c e - a f f i n i t y   n a m e s p a c e :   f o o - n s   s p e c :   h a r d :   p o d s :   \" 0 \"   s c o p e S e l e c t o r :   m a t c h E x p r e s s i o n s :   -   s c o p e N a m e :   C r o s s N a m e s p a c e P o d A f f i n i t y   o p e r a t o r :   E x i s t s   I f   o p e r a t o r s   w a n t   t o   d i s a l l o w   u s i n g   n a m e s p a c e s   a n d   n a m e s p a c e ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_3_8712"
  },
  {
    "question": "What is Resource Quota Per VolumeAttributesClass?",
    "answer": "P e r s i s t e n t V o l u m e C l a i m s   c a n   b e   c r e a t e d   w i t h   a   s p e c i f i c   v o l u m e   a t t r i b u t e s   c l a s s ,   a n d   m i g h t   b e   m o d i f i e d   a f t e r   c r e a t i o n .   Y o u   c a n   c o n t r o l   a   P V C ' s   c o n s u m p t i o n   o f   s t o r a g e   r e s o u r c e s   b a s e d   o n   t h e   a s s o c i a t e d   v o l u m e   a t t r i b u t e s   c l a s s e s ,   b y   u s i n g   t h e   s c o p e S e l e c t o r   f i e l d   i n   t h e   q u o t a   s p e c .   T h e   P V C   r e f e r e n c e s   t h e   a s s o c i a t e d   v o l u m e   a t t r i b u t e s   c l a s s   b y   t h e   f o l l o w i n g   f i e l d s :   s p e c . v o l u m e A t t r i b u t e s C l a s s N a m e s t a t u s . c u r r e n t V o l u m e A t t r i b u t e s C l a s s N a m e s t a t u s . m o d i f y V o l u m e S t a t u s . t a r g e t V o l u m e A t t r i b u t e s C l a s s N a m e   A   q u o t a   i s   m a t c h e d   a n d   c o n s u m e d   o n l y   i f   s c o p e S e l e c t o r   i n   t h e   q u o t a   s p e c   s e l e c t s   t h e   P V C .   W h e n   t h e   q u o t a   i s   s c o p e d   f o r   t h e   v o l u m e   a t t r i b u t e s   c l a s s   u s i n g   t h e   s c o p e S e l e c t o r   f i e l d ,   t h e   q u o t a   o b j e c t   i s   r e s t r i c t e d   t o   t r a c k   o n l y   t h e   f o l l o w i n g   r e s o u r c e s :   p e r s i s t e n t v o l u m e c l a i m s r e q u e s t s . s t o r a g e   T h i s   e x a m p l e   c r e a t e s   a   q u o t a   o b j e c t   a n d   m a t c h e s   i t   w i t h   P V C   a t   s p e c i f i c   v o l u m e   a t t r i b u t e s   c l a s s e s .   T h e   e x a m p l e   w o r k s   a s   f o l l o w s :   P V C s   i n   t h e   c l u s t e r   h a v e   a t   l e a s t   o n e   o f   t h e   t h r e e   v o l u m e   a t t r i b u t e s   c l a s s e s ,   \" g o l d \" ,   \" s i l v e r \" ,   \" c ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_3_8713"
  },
  {
    "question": "What is Requests compared to Limits?",
    "answer": "W h e n   a l l o c a t i n g   c o m p u t e   r e s o u r c e s ,   e a c h   c o n t a i n e r   m a y   s p e c i f y   a   r e q u e s t   a n d   a   l i m i t   v a l u e   f o r   e i t h e r   C P U   o r   m e m o r y .   T h e   q u o t a   c a n   b e   c o n f i g u r e d   t o   q u o t a   e i t h e r   v a l u e .   I f   t h e   q u o t a   h a s   a   v a l u e   s p e c i f i e d   f o r   r e q u e s t s . c p u   o r   r e q u e s t s . m e m o r y ,   t h e n   i t   r e q u i r e s   t h a t   e v e r y   i n c o m i n g   c o n t a i n e r   m a k e s   a n   e x p l i c i t   r e q u e s t   f o r   t h o s e   r e s o u r c e s .   I f   t h e   q u o t a   h a s   a   v a l u e   s p e c i f i e d   f o r   l i m i t s . c p u   o r   l i m i t s . m e m o r y ,   t h e n   i t   r e q u i r e s   t h a t   e v e r y   i n c o m i n g   c o n t a i n e r   s p e c i f i e s   a n   e x p l i c i t   l i m i t   f o r   t h o s e   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_2_8714"
  },
  {
    "question": "What is Viewing and Setting Quotas?",
    "answer": "k u b e c t l   s u p p o r t s   c r e a t i n g ,   u p d a t i n g ,   a n d   v i e w i n g   q u o t a s :   k u b e c t l   c r e a t e   n a m e s p a c e   m y s p a c e   c a t   < < E O F   >   c o m p u t e - r e s o u r c e s . y a m l   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a   m e t a d a t a :   n a m e :   c o m p u t e - r e s o u r c e s   s p e c :   h a r d :   r e q u e s t s . c p u :   \" 1 \"   r e q u e s t s . m e m o r y :   \" 1 G i \"   l i m i t s . c p u :   \" 2 \"   l i m i t s . m e m o r y :   \" 2 G i \"   r e q u e s t s . n v i d i a . c o m / g p u :   4   E O F   k u b e c t l   c r e a t e   - f   . / c o m p u t e - r e s o u r c e s . y a m l   - - n a m e s p a c e = m y s p a c e   c a t   < < E O F   >   o b j e c t - c o u n t s . y a m l   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a   m e t a d a t a :   n a m e :   o b j e c t - c o u n t s   s p e c :   h a r d :   c o n f i g m a p s :   \" 1 0 \"   p e r s i s t e n t v o l u m e c l a i m s :   \" 4 \"   p o d s :   \" 4 \"   r e p l i c a t i o n c o n t r o l l e r s :   \" 2 0 \"   s e c r e t s :   \" 1 0 \"   s e r v i c e s :   \" 1 0 \"   s e r v i c e s . l o a d b a l a n c e r s :   \" 2 \"   E O F   k u b e c t l   c r e a t e   - f   . / o b j e c t - c o u n t s . y a m l   - - n a m e s p a c e = m y s p a c e   k u b e c t l   g e t   q u o t a   - - n a m e s p a c e = m y s p a c e   N A M E   A G E   c o m p u t e - r e s o u r c e s   3 0 s   o b j e c t - c o u n t s   3 2 s   k u b e c t l   d e s c r i b e   q u o t a   c o m p u t e - r e s o u r c e s   - - n a m e s p a c e = m y s p a c e   N a m e :   c o m p u t e - r e s o u r c e s   N a m e s p a c e :   m y s p a c e   R e s o u r c e   U s e d   H a r d   - - - - - - - -   - - - -   - - - -   l i m i t s . c p u   0   2   l i m i t s . m e m o r y   0   2 G i   r e q u e s t s . c p u   0   1   r e q u e s t s . m e m o r y   0   1 G i   r e q u e s t ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_2_8715"
  },
  {
    "question": "What is Quota and Cluster Capacity?",
    "answer": "R e s o u r c e Q u o t a s   a r e   i n d e p e n d e n t   o f   t h e   c l u s t e r   c a p a c i t y .   T h e y   a r e   e x p r e s s e d   i n   a b s o l u t e   u n i t s .   S o ,   i f   y o u   a d d   n o d e s   t o   y o u r   c l u s t e r ,   t h i s   d o e s   n o t   a u t o m a t i c a l l y   g i v e   e a c h   n a m e s p a c e   t h e   a b i l i t y   t o   c o n s u m e   m o r e   r e s o u r c e s .   S o m e t i m e s   m o r e   c o m p l e x   p o l i c i e s   m a y   b e   d e s i r e d ,   s u c h   a s :   P r o p o r t i o n a l l y   d i v i d e   t o t a l   c l u s t e r   r e s o u r c e s   a m o n g   s e v e r a l   t e a m s . A l l o w   e a c h   t e n a n t   t o   g r o w   r e s o u r c e   u s a g e   a s   n e e d e d ,   b u t   h a v e   a   g e n e r o u s   l i m i t   t o   p r e v e n t   a c c i d e n t a l   r e s o u r c e   e x h a u s t i o n . D e t e c t   d e m a n d   f r o m   o n e   n a m e s p a c e ,   a d d   n o d e s ,   a n d   i n c r e a s e   q u o t a .   S u c h   p o l i c i e s   c o u l d   b e   i m p l e m e n t e d   u s i n g   R e s o u r c e Q u o t a s   a s   b u i l d i n g   b l o c k s ,   b y   w r i t i n g   a   \" c o n t r o l l e r \"   t h a t   w a t c h e s   t h e   q u o t a   u s a g e   a n d   a d j u s t s   t h e   q u o t a   h a r d   l i m i t s   o f   e a c h   n a m e s p a c e   a c c o r d i n g   t o   o t h e r   s i g n a l s .   N o t e   t h a t   r e s o u r c e   q u o t a   d i v i d e s   u p   a g g r e g a t e   c l u s t e r   r e s o u r c e s ,   b u t   i t   c r e a t e s   n o   r e s t r i c t i o n s   a r o u n d   n o d e s :   p o d s   f r o m   s e v e r a l   n a m e s p a c e s   m a y   r u n   o n   t h e   s a m e   n o d e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_2_8716"
  },
  {
    "question": "What is Limit Priority Class consumption by default?",
    "answer": "I t   m a y   b e   d e s i r e d   t h a t   p o d s   a t   a   p a r t i c u l a r   p r i o r i t y ,   s u c h   a s   \" c l u s t e r - s e r v i c e s \" ,   s h o u l d   b e   a l l o w e d   i n   a   n a m e s p a c e ,   i f   a n d   o n l y   i f ,   a   m a t c h i n g   q u o t a   o b j e c t   e x i s t s .   W i t h   t h i s   m e c h a n i s m ,   o p e r a t o r s   a r e   a b l e   t o   r e s t r i c t   u s a g e   o f   c e r t a i n   h i g h   p r i o r i t y   c l a s s e s   t o   a   l i m i t e d   n u m b e r   o f   n a m e s p a c e s   a n d   n o t   e v e r y   n a m e s p a c e   w i l l   b e   a b l e   t o   c o n s u m e   t h e s e   p r i o r i t y   c l a s s e s   b y   d e f a u l t .   T o   e n f o r c e   t h i s ,   k u b e - a p i s e r v e r   f l a g   - - a d m i s s i o n - c o n t r o l - c o n f i g - f i l e   s h o u l d   b e   u s e d   t o   p a s s   p a t h   t o   t h e   f o l l o w i n g   c o n f i g u r a t i o n   f i l e :   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   A d m i s s i o n C o n f i g u r a t i o n   p l u g i n s :   -   n a m e :   \" R e s o u r c e Q u o t a \"   c o n f i g u r a t i o n :   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   R e s o u r c e Q u o t a C o n f i g u r a t i o n   l i m i t e d R e s o u r c e s :   -   r e s o u r c e :   p o d s   m a t c h S c o p e s :   -   s c o p e N a m e :   P r i o r i t y C l a s s   o p e r a t o r :   I n   v a l u e s :   [ \" c l u s t e r - s e r v i c e s \" ]   T h e n ,   c r e a t e   a   r e s o u r c e   q u o t a   o b j e c t   i n   t h e   k u b e - s y s t e m   n a m e s p a c e :   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a   m e t a d a t a :   n a m e :   p o d s - c l u s t e r - s e r v i c e s   s p e c :   s c o p e S e l e c t o r :   m a t c h E x p r e s s i o n s :   -   o p e r a t o r ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_2_8717"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   a   d e t a i l e d   e x a m p l e   f o r   h o w   t o   u s e   r e s o u r c e   q u o t a . R e a d   t h e   R e s o u r c e Q u o t a   A P I   r e f e r e n c e L e a r n   a b o u t   L i m i t R a n g e s Y o u   c a n   r e a d   t h e   h i s t o r i c a l   R e s o u r c e Q u o t a   d e s i g n   d o c u m e n t   f o r   m o r e   i n f o r m a t i o n . Y o u   c a n   a l s o   r e a d   t h e   Q u o t a   s u p p o r t   f o r   p r i o r i t y   c l a s s   d e s i g n   d o c u m e n t .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_2_8718"
  },
  {
    "question": "What is 3 - Process ID Limits And Reservations?",
    "answer": "K u b e r n e t e s   a l l o w   y o u   t o   l i m i t   t h e   n u m b e r   o f   p r o c e s s   I D s   ( P I D s )   t h a t   a   P o d   c a n   u s e .   Y o u   c a n   a l s o   r e s e r v e   a   n u m b e r   o f   a l l o c a t a b l e   P I D s   f o r   e a c h   n o d e   f o r   u s e   b y   t h e   o p e r a t i n g   s y s t e m   a n d   d a e m o n s   ( r a t h e r   t h a n   b y   P o d s ) .   P r o c e s s   I D s   ( P I D s )   a r e   a   f u n d a m e n t a l   r e s o u r c e   o n   n o d e s .   I t   i s   t r i v i a l   t o   h i t   t h e   t a s k   l i m i t   w i t h o u t   h i t t i n g   a n y   o t h e r   r e s o u r c e   l i m i t s ,   w h i c h   c a n   t h e n   c a u s e   i n s t a b i l i t y   t o   a   h o s t   m a c h i n e .   C l u s t e r   a d m i n i s t r a t o r s   r e q u i r e   m e c h a n i s m s   t o   e n s u r e   t h a t   P o d s   r u n n i n g   i n   t h e   c l u s t e r   c a n n o t   i n d u c e   P I D   e x h a u s t i o n   t h a t   p r e v e n t s   h o s t   d a e m o n s   ( s u c h   a s   t h e   k u b e l e t   o r   k u b e - p r o x y ,   a n d   p o t e n t i a l l y   a l s o   t h e   c o n t a i n e r   r u n t i m e )   f r o m   r u n n i n g .   I n   a d d i t i o n ,   i t   i s   i m p o r t a n t   t o   e n s u r e   t h a t   P I D s   a r e   l i m i t e d   a m o n g   P o d s   i n   o r d e r   t o   e n s u r e   t h e y   h a v e   l i m i t e d   i m p a c t   o n   o t h e r   w o r k l o a d s   o n   t h e   s a m e   n o d e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_1_8719"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   c o n f i g u r e   a   k u b e l e t   t o   l i m i t   t h e   n u m b e r   o f   P I D s   a   g i v e n   P o d   c a n   c o n s u m e .   F o r   e x a m p l e ,   i f   y o u r   n o d e ' s   h o s t   O S   i s   s e t   t o   u s e   a   m a x i m u m   o f   2 6 2 1 4 4   P I D s   a n d   e x p e c t   t o   h o s t   l e s s   t h a n   2 5 0   P o d s ,   o n e   c a n   g i v e   e a c h   P o d   a   b u d g e t   o f   1 0 0 0   P I D s   t o   p r e v e n t   u s i n g   u p   t h a t   n o d e ' s   o v e r a l l   n u m b e r   o f   a v a i l a b l e   P I D s .   I f   t h e   a d m i n   w a n t s   t o   o v e r c o m m i t   P I D s   s i m i l a r   t o   C P U   o r   m e m o r y ,   t h e y   m a y   d o   s o   a s   w e l l   w i t h   s o m e   a d d i t i o n a l   r i s k s .   E i t h e r   w a y ,   a   s i n g l e   P o d   w i l l   n o t   b e   a b l e   t o   b r i n g   t h e   w h o l e   m a c h i n e   d o w n .   T h i s   k i n d   o f   r e s o u r c e   l i m i t i n g   h e l p s   t o   p r e v e n t   s i m p l e   f o r k   b o m b s   f r o m   a f f e c t i n g   o p e r a t i o n   o f   a n   e n t i r e   c l u s t e r .   P e r - P o d   P I D   l i m i t i n g   a l l o w s   a d m i n i s t r a t o r s   t o   p r o t e c t   o n e   P o d   f r o m   a n o t h e r ,   b u t   d o e s   n o t   e n s u r e   t h a t   a l l   P o d s   s c h e d u l e d   o n t o   t h a t   h o s t   a r e   u n a b l e   t o   i m p a c t   t h e   n o d e   o v e r a l l .   P e r - P o d   l i m i t i n g   a l s o   d o e s   n o t   p r o t e c t   t h e   n o d e   a g e n t s   t h e m s e l v e s   f r o m   P I D   e x h a u s t i o n .   Y o u   c a n   a l s o   r e s e r v e   a n   a m o u n t   o f   P I D s   f o r   n o d e   o v e r h e a d ,   s e p a r a t e   f r o m   t h e   a l l o c a t i o n   t o   P o d s .   T h i s   i s   s i m i l a r   t o   h o w   y o u   c a n   r e s e ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_4_8720"
  },
  {
    "question": "What is Node PID limits?",
    "answer": "K u b e r n e t e s   a l l o w s   y o u   t o   r e s e r v e   a   n u m b e r   o f   p r o c e s s   I D s   f o r   t h e   s y s t e m   u s e .   T o   c o n f i g u r e   t h e   r e s e r v a t i o n ,   u s e   t h e   p a r a m e t e r   p i d = < n u m b e r >   i n   t h e   - - s y s t e m - r e s e r v e d   a n d   - - k u b e - r e s e r v e d   c o m m a n d   l i n e   o p t i o n s   t o   t h e   k u b e l e t .   T h e   v a l u e   y o u   s p e c i f i e d   d e c l a r e s   t h a t   t h e   s p e c i f i e d   n u m b e r   o f   p r o c e s s   I D s   w i l l   b e   r e s e r v e d   f o r   t h e   s y s t e m   a s   a   w h o l e   a n d   f o r   K u b e r n e t e s   s y s t e m   d a e m o n s   r e s p e c t i v e l y .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_2_8721"
  },
  {
    "question": "What is Pod PID limits?",
    "answer": "K u b e r n e t e s   a l l o w s   y o u   t o   l i m i t   t h e   n u m b e r   o f   p r o c e s s e s   r u n n i n g   i n   a   P o d .   Y o u   s p e c i f y   t h i s   l i m i t   a t   t h e   n o d e   l e v e l ,   r a t h e r   t h a n   c o n f i g u r i n g   i t   a s   a   r e s o u r c e   l i m i t   f o r   a   p a r t i c u l a r   P o d .   E a c h   N o d e   c a n   h a v e   a   d i f f e r e n t   P I D   l i m i t . T o   c o n f i g u r e   t h e   l i m i t ,   y o u   c a n   s p e c i f y   t h e   c o m m a n d   l i n e   p a r a m e t e r   - - p o d - m a x - p i d s   t o   t h e   k u b e l e t ,   o r   s e t   P o d P i d s L i m i t   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_2_8722"
  },
  {
    "question": "What is PID based eviction?",
    "answer": "Y o u   c a n   c o n f i g u r e   k u b e l e t   t o   s t a r t   t e r m i n a t i n g   a   P o d   w h e n   i t   i s   m i s b e h a v i n g   a n d   c o n s u m i n g   a b n o r m a l   a m o u n t   o f   r e s o u r c e s .   T h i s   f e a t u r e   i s   c a l l e d   e v i c t i o n .   Y o u   c a n   C o n f i g u r e   O u t   o f   R e s o u r c e   H a n d l i n g   f o r   v a r i o u s   e v i c t i o n   s i g n a l s .   U s e   p i d . a v a i l a b l e   e v i c t i o n   s i g n a l   t o   c o n f i g u r e   t h e   t h r e s h o l d   f o r   n u m b e r   o f   P I D s   u s e d   b y   P o d .   Y o u   c a n   s e t   s o f t   a n d   h a r d   e v i c t i o n   p o l i c i e s .   H o w e v e r ,   e v e n   w i t h   t h e   h a r d   e v i c t i o n   p o l i c y ,   i f   t h e   n u m b e r   o f   P I D s   g r o w i n g   v e r y   f a s t ,   n o d e   c a n   s t i l l   g e t   i n t o   u n s t a b l e   s t a t e   b y   h i t t i n g   t h e   n o d e   P I D s   l i m i t .   E v i c t i o n   s i g n a l   v a l u e   i s   c a l c u l a t e d   p e r i o d i c a l l y   a n d   d o e s   N O T   e n f o r c e   t h e   l i m i t .   P I D   l i m i t i n g   -   p e r   P o d   a n d   p e r   N o d e   s e t s   t h e   h a r d   l i m i t .   O n c e   t h e   l i m i t   i s   h i t ,   w o r k l o a d   w i l l   s t a r t   e x p e r i e n c i n g   f a i l u r e s   w h e n   t r y i n g   t o   g e t   a   n e w   P I D .   I t   m a y   o r   m a y   n o t   l e a d   t o   r e s c h e d u l i n g   o f   a   P o d ,   d e p e n d i n g   o n   h o w   w o r k l o a d   r e a c t s   o n   t h e s e   f a i l u r e s   a n d   h o w   l i v e n e s s   a n d   r e a d i n e s s   p r o b e s   a r e   c o n f i g u r e d   f o r   t h e   P o d .   H o w e v e r ,   i f   l i m i t s   w e r e   s e t   c o r r e c t l y ,   y o u   c a n   g u a r a n t e e   t h a t   o t h e r   P o d s   w o r k l o a ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_2_8723"
  },
  {
    "question": "What is What's next?",
    "answer": "R e f e r   t o   t h e   P I D   L i m i t i n g   e n h a n c e m e n t   d o c u m e n t   f o r   m o r e   i n f o r m a t i o n . F o r   h i s t o r i c a l   c o n t e x t ,   r e a d   P r o c e s s   I D   L i m i t i n g   f o r   S t a b i l i t y   I m p r o v e m e n t s   i n   K u b e r n e t e s   1 . 1 4 . R e a d   M a n a g i n g   R e s o u r c e s   f o r   C o n t a i n e r s . L e a r n   h o w   t o   C o n f i g u r e   O u t   o f   R e s o u r c e   H a n d l i n g .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_2_8724"
  },
  {
    "question": "What is 4 - Node Resource Managers?",
    "answer": "I n   o r d e r   t o   s u p p o r t   l a t e n c y - c r i t i c a l   a n d   h i g h - t h r o u g h p u t   w o r k l o a d s ,   K u b e r n e t e s   o f f e r s   a   s u i t e   o f   R e s o u r c e   M a n a g e r s .   T h e   m a n a g e r s   a i m   t o   c o - o r d i n a t e   a n d   o p t i m i s e   t h e   a l i g n m e n t   o f   n o d e ' s   r e s o u r c e s   f o r   p o d s   c o n f i g u r e d   w i t h   a   s p e c i f i c   r e q u i r e m e n t   f o r   C P U s ,   d e v i c e s ,   a n d   m e m o r y   ( h u g e p a g e s )   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_1_8725"
  },
  {
    "question": "What is Hardware topology alignment policies?",
    "answer": "T o p o l o g y   M a n a g e r   i s   a   k u b e l e t   c o m p o n e n t   t h a t   a i m s   t o   c o o r d i n a t e   t h e   s e t   o f   c o m p o n e n t s   t h a t   a r e   r e s p o n s i b l e   f o r   t h e s e   o p t i m i z a t i o n s .   T h e   o v e r a l l   r e s o u r c e   m a n a g e m e n t   p r o c e s s   i s   g o v e r n e d   u s i n g   t h e   p o l i c y   y o u   s p e c i f y .   T o   l e a r n   m o r e ,   r e a d   C o n t r o l   T o p o l o g y   M a n a g e m e n t   P o l i c i e s   o n   a   N o d e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_2_8726"
  },
  {
    "question": "What is Policies for assigning CPUs to Pods?",
    "answer": "O n c e   a   P o d   i s   b o u n d   t o   a   N o d e ,   t h e   k u b e l e t   o n   t h a t   n o d e   m a y   n e e d   t o   e i t h e r   m u l t i p l e x   t h e   e x i s t i n g   h a r d w a r e   ( f o r   e x a m p l e ,   s h a r i n g   C P U s   a c r o s s   m u l t i p l e   P o d s )   o r   a l l o c a t e   h a r d w a r e   b y   d e d i c a t i n g   s o m e   r e s o u r c e   ( f o r   e x a m p l e ,   a s s i g n i n g   o n e   o f   m o r e   C P U s   f o r   a   P o d ' s   e x c l u s i v e   u s e ) .   B y   d e f a u l t ,   t h e   k u b e l e t   u s e s   C F S   q u o t a   t o   e n f o r c e   p o d   C P U   l i m i t s .   W h e n   t h e   n o d e   r u n s   m a n y   C P U - b o u n d   p o d s ,   t h e   w o r k l o a d   c a n   m o v e   t o   d i f f e r e n t   C P U   c o r e s   d e p e n d i n g   o n   w h e t h e r   t h e   p o d   i s   t h r o t t l e d   a n d   w h i c h   C P U   c o r e s   a r e   a v a i l a b l e   a t   s c h e d u l i n g   t i m e .   M a n y   w o r k l o a d s   a r e   n o t   s e n s i t i v e   t o   t h i s   m i g r a t i o n   a n d   t h u s   w o r k   f i n e   w i t h o u t   a n y   i n t e r v e n t i o n .   H o w e v e r ,   i n   w o r k l o a d s   w h e r e   C P U   c a c h e   a f f i n i t y   a n d   s c h e d u l i n g   l a t e n c y   s i g n i f i c a n t l y   a f f e c t   w o r k l o a d   p e r f o r m a n c e ,   t h e   k u b e l e t   a l l o w s   a l t e r n a t i v e   C P U   m a n a g e m e n t   p o l i c i e s   t o   d e t e r m i n e   s o m e   p l a c e m e n t   p r e f e r e n c e s   o n   t h e   n o d e .   T h i s   i s   i m p l e m e n t e d   u s i n g   t h e   C P U   M a n a g e r   a n d   i t s   p o l i c y .   T h e r e   a r e   t w o   a v a i l a b l e   p o l i c i e s :   n o n e :   t h e   n o n e   p o l i c y   e x p l i c i t l y   e n a b l e s   t h e   e x i s t i n g   d e f a u l t   C P U   a f f i ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_2_8727"
  },
  {
    "question": "What is Note:?",
    "answer": "C P U   M a n a g e r   d o e s n ' t   s u p p o r t   o f f l i n i n g   a n d   o n l i n i n g   o f   C P U s   a t   r u n t i m e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_4_8728"
  },
  {
    "question": "What is Static policy?",
    "answer": "T h e   s t a t i c   p o l i c y   e n a b l e s   f i n e r - g r a i n e d   C P U   m a n a g e m e n t   a n d   e x c l u s i v e   C P U   a s s i g n m e n t .   T h i s   p o l i c y   m a n a g e s   a   s h a r e d   p o o l   o f   C P U s   t h a t   i n i t i a l l y   c o n t a i n s   a l l   C P U s   i n   t h e   n o d e .   T h e   a m o u n t   o f   e x c l u s i v e l y   a l l o c a t a b l e   C P U s   i s   e q u a l   t o   t h e   t o t a l   n u m b e r   o f   C P U s   i n   t h e   n o d e   m i n u s   a n y   C P U   r e s e r v a t i o n s   s e t   b y   t h e   k u b e l e t   c o n f i g u r a t i o n .   C P U s   r e s e r v e d   b y   t h e s e   o p t i o n s   a r e   t a k e n ,   i n   i n t e g e r   q u a n t i t y ,   f r o m   t h e   i n i t i a l   s h a r e d   p o o l   i n   a s c e n d i n g   o r d e r   b y   p h y s i c a l   c o r e   I D .   T h i s   s h a r e d   p o o l   i s   t h e   s e t   o f   C P U s   o n   w h i c h   a n y   c o n t a i n e r s   i n   B e s t E f f o r t   a n d   B u r s t a b l e   p o d s   r u n .   C o n t a i n e r s   i n   G u a r a n t e e d   p o d s   w i t h   f r a c t i o n a l   C P U   r e q u e s t s   a l s o   r u n   o n   C P U s   i n   t h e   s h a r e d   p o o l .   O n l y   c o n t a i n e r s   t h a t   a r e   p a r t   o f   a   G u a r a n t e e d   p o d   a n d   h a v e   i n t e g e r   C P U   r e q u e s t s   a r e   a s s i g n e d   e x c l u s i v e   C P U s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_3_8729"
  },
  {
    "question": "What is Note:?",
    "answer": "A s   G u a r a n t e e d   p o d s   w h o s e   c o n t a i n e r s   f i t   t h e   r e q u i r e m e n t s   f o r   b e i n g   s t a t i c a l l y   a s s i g n e d   a r e   s c h e d u l e d   t o   t h e   n o d e ,   C P U s   a r e   r e m o v e d   f r o m   t h e   s h a r e d   p o o l   a n d   p l a c e d   i n   t h e   c p u s e t   f o r   t h e   c o n t a i n e r .   C F S   q u o t a   i s   n o t   u s e d   t o   b o u n d   t h e   C P U   u s a g e   o f   t h e s e   c o n t a i n e r s   a s   t h e i r   u s a g e   i s   b o u n d   b y   t h e   s c h e d u l i n g   d o m a i n   i t s e l f .   I n   o t h e r s   w o r d s ,   t h e   n u m b e r   o f   C P U s   i n   t h e   c o n t a i n e r   c p u s e t   i s   e q u a l   t o   t h e   i n t e g e r   C P U   l i m i t   s p e c i f i e d   i n   t h e   p o d   s p e c .   T h i s   s t a t i c   a s s i g n m e n t   i n c r e a s e s   C P U   a f f i n i t y   a n d   d e c r e a s e s   c o n t e x t   s w i t c h e s   d u e   t o   t h r o t t l i n g   f o r   t h e   C P U - b o u n d   w o r k l o a d .   C o n s i d e r   t h e   c o n t a i n e r s   i n   t h e   f o l l o w i n g   p o d   s p e c s :   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   T h e   p o d   a b o v e   r u n s   i n   t h e   B e s t E f f o r t   Q o S   c l a s s   b e c a u s e   n o   r e s o u r c e   r e q u e s t s   o r   l i m i t s   a r e   s p e c i f i e d .   I t   r u n s   i n   t h e   s h a r e d   p o o l .   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 2 0 0 M i \"   r e q u e s t s :   m e m o r y :   \" 1 0 0 M i \"   T h e   p o d   a b o v e   r u n s   i n   t h e   B u r s t a b l e   Q o S   c l a s s   b e c a u s e   r e s o u r c e   r e q u e s t s   d o   n o t   e q u a l   l i m i t s   a n d   t h e   c p u   q u ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_4_8730"
  },
  {
    "question": "What is Static policy options?",
    "answer": "H e r e   a r e   t h e   a v a i l a b l e   p o l i c y   o p t i o n s   f o r   t h e   s t a t i c   C P U   m a n a g e m e n t   p o l i c y ,   l i s t e d   i n   a l p h a b e t i c a l   o r d e r :   Y o u   c a n   t o g g l e   g r o u p s   o f   o p t i o n s   o n   a n d   o f f   b a s e d   u p o n   t h e i r   m a t u r i t y   l e v e l   u s i n g   t h e   f o l l o w i n g   f e a t u r e   g a t e s :   C P U M a n a g e r P o l i c y B e t a O p t i o n s   ( d e f a u l t   e n a b l e d ) .   D i s a b l e   t o   h i d e   b e t a - l e v e l   o p t i o n s . C P U M a n a g e r P o l i c y A l p h a O p t i o n s   ( d e f a u l t   d i s a b l e d ) .   E n a b l e   t o   s h o w   a l p h a - l e v e l   o p t i o n s .   Y o u   w i l l   s t i l l   h a v e   t o   e n a b l e   e a c h   o p t i o n   u s i n g   t h e   c p u M a n a g e r P o l i c y O p t i o n s   f i e l d   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e .   F o r   m o r e   d e t a i l   a b o u t   t h e   i n d i v i d u a l   o p t i o n s   y o u   c a n   c o n f i g u r e ,   r e a d   o n .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_4_8731"
  },
  {
    "question": "What is full-pcpus-only?",
    "answer": "I f   t h e   f u l l - p c p u s - o n l y   p o l i c y   o p t i o n   i s   s p e c i f i e d ,   t h e   s t a t i c   p o l i c y   w i l l   a l w a y s   a l l o c a t e   f u l l   p h y s i c a l   c o r e s .   B y   d e f a u l t ,   w i t h o u t   t h i s   o p t i o n ,   t h e   s t a t i c   p o l i c y   a l l o c a t e s   C P U s   u s i n g   a   t o p o l o g y - a w a r e   b e s t - f i t   a l l o c a t i o n .   O n   S M T   e n a b l e d   s y s t e m s ,   t h e   p o l i c y   c a n   a l l o c a t e   i n d i v i d u a l   v i r t u a l   c o r e s ,   w h i c h   c o r r e s p o n d   t o   h a r d w a r e   t h r e a d s .   T h i s   c a n   l e a d   t o   d i f f e r e n t   c o n t a i n e r s   s h a r i n g   t h e   s a m e   p h y s i c a l   c o r e s ;   t h i s   b e h a v i o u r   i n   t u r n   c o n t r i b u t e s   t o   t h e   n o i s y   n e i g h b o u r s   p r o b l e m .   W i t h   t h e   o p t i o n   e n a b l e d ,   t h e   p o d   w i l l   b e   a d m i t t e d   b y   t h e   k u b e l e t   o n l y   i f   t h e   C P U   r e q u e s t   o f   a l l   i t s   c o n t a i n e r s   c a n   b e   f u l f i l l e d   b y   a l l o c a t i n g   f u l l   p h y s i c a l   c o r e s .   I f   t h e   p o d   d o e s   n o t   p a s s   t h e   a d m i s s i o n ,   i t   w i l l   b e   p u t   i n   F a i l e d   s t a t e   w i t h   t h e   m e s s a g e   S M T A l i g n m e n t E r r o r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_5_8732"
  },
  {
    "question": "What is distribute-cpus-across-numa?",
    "answer": "I f   t h e   d i s t r i b u t e - c p u s - a c r o s s - n u m a p o l i c y   o p t i o n   i s   s p e c i f i e d ,   t h e   s t a t i c   p o l i c y   w i l l   e v e n l y   d i s t r i b u t e   C P U s   a c r o s s   N U M A   n o d e s   i n   c a s e s   w h e r e   m o r e   t h a n   o n e   N U M A   n o d e   i s   r e q u i r e d   t o   s a t i s f y   t h e   a l l o c a t i o n .   B y   d e f a u l t ,   t h e   C P U M a n a g e r   w i l l   p a c k   C P U s   o n t o   o n e   N U M A   n o d e   u n t i l   i t   i s   f i l l e d ,   w i t h   a n y   r e m a i n i n g   C P U s   s i m p l y   s p i l l i n g   o v e r   t o   t h e   n e x t   N U M A   n o d e .   T h i s   c a n   c a u s e   u n d e s i r e d   b o t t l e n e c k s   i n   p a r a l l e l   c o d e   r e l y i n g   o n   b a r r i e r s   ( a n d   s i m i l a r   s y n c h r o n i z a t i o n   p r i m i t i v e s ) ,   a s   t h i s   t y p e   o f   c o d e   t e n d s   t o   r u n   o n l y   a s   f a s t   a s   i t s   s l o w e s t   w o r k e r   ( w h i c h   i s   s l o w e d   d o w n   b y   t h e   f a c t   t h a t   f e w e r   C P U s   a r e   a v a i l a b l e   o n   a t   l e a s t   o n e   N U M A   n o d e ) .   B y   d i s t r i b u t i n g   C P U s   e v e n l y   a c r o s s   N U M A   n o d e s ,   a p p l i c a t i o n   d e v e l o p e r s   c a n   m o r e   e a s i l y   e n s u r e   t h a t   n o   s i n g l e   w o r k e r   s u f f e r s   f r o m   N U M A   e f f e c t s   m o r e   t h a n   a n y   o t h e r ,   i m p r o v i n g   t h e   o v e r a l l   p e r f o r m a n c e   o f   t h e s e   t y p e s   o f   a p p l i c a t i o n s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_5_8733"
  },
  {
    "question": "What is align-by-socket?",
    "answer": "I f   t h e   a l i g n - b y - s o c k e t   p o l i c y   o p t i o n   i s   s p e c i f i e d ,   C P U s   w i l l   b e   c o n s i d e r e d   a l i g n e d   a t   t h e   s o c k e t   b o u n d a r y   w h e n   d e c i d i n g   h o w   t o   a l l o c a t e   C P U s   t o   a   c o n t a i n e r .   B y   d e f a u l t ,   t h e   C P U M a n a g e r   a l i g n s   C P U   a l l o c a t i o n s   a t   t h e   N U M A   b o u n d a r y ,   w h i c h   c o u l d   r e s u l t   i n   p e r f o r m a n c e   d e g r a d a t i o n   i f   C P U s   n e e d   t o   b e   p u l l e d   f r o m   m o r e   t h a n   o n e   N U M A   n o d e   t o   s a t i s f y   t h e   a l l o c a t i o n .   A l t h o u g h   i t   t r i e s   t o   e n s u r e   t h a t   a l l   C P U s   a r e   a l l o c a t e d   f r o m   t h e   m i n i m u m   n u m b e r   o f   N U M A   n o d e s ,   t h e r e   i s   n o   g u a r a n t e e   t h a t   t h o s e   N U M A   n o d e s   w i l l   b e   o n   t h e   s a m e   s o c k e t .   B y   d i r e c t i n g   t h e   C P U M a n a g e r   t o   e x p l i c i t l y   a l i g n   C P U s   a t   t h e   s o c k e t   b o u n d a r y   r a t h e r   t h a n   t h e   N U M A   b o u n d a r y ,   w e   a r e   a b l e   t o   a v o i d   s u c h   i s s u e s .   N o t e ,   t h i s   p o l i c y   o p t i o n   i s   n o t   c o m p a t i b l e   w i t h   T o p o l o g y M a n a g e r   s i n g l e - n u m a - n o d e   p o l i c y   a n d   d o e s   n o t   a p p l y   t o   h a r d w a r e   w h e r e   t h e   n u m b e r   o f   s o c k e t s   i s   g r e a t e r   t h a n   n u m b e r   o f   N U M A   n o d e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_5_8734"
  },
  {
    "question": "What is distribute-cpus-across-cores?",
    "answer": "I f   t h e   d i s t r i b u t e - c p u s - a c r o s s - c o r e s   p o l i c y   o p t i o n   i s   s p e c i f i e d ,   t h e   s t a t i c   p o l i c y   w i l l   a t t e m p t   t o   a l l o c a t e   v i r t u a l   c o r e s   ( h a r d w a r e   t h r e a d s )   a c r o s s   d i f f e r e n t   p h y s i c a l   c o r e s .   B y   d e f a u l t ,   t h e   C P U M a n a g e r   t e n d s   t o   p a c k   C P U s   o n t o   a s   f e w   p h y s i c a l   c o r e s   a s   p o s s i b l e ,   w h i c h   c a n   l e a d   t o   c o n t e n t i o n   a m o n g   C P U s   o n   t h e   s a m e   p h y s i c a l   c o r e   a n d   r e s u l t   i n   p e r f o r m a n c e   b o t t l e n e c k s .   B y   e n a b l i n g   t h e   d i s t r i b u t e - c p u s - a c r o s s - c o r e s   p o l i c y ,   t h e   s t a t i c   p o l i c y   e n s u r e s   t h a t   C P U s   a r e   d i s t r i b u t e d   a c r o s s   a s   m a n y   p h y s i c a l   c o r e s   a s   p o s s i b l e ,   r e d u c i n g   t h e   c o n t e n t i o n   o n   t h e   s a m e   p h y s i c a l   c o r e   a n d   t h e r e b y   i m p r o v i n g   o v e r a l l   p e r f o r m a n c e .   H o w e v e r ,   i t   i s   i m p o r t a n t   t o   n o t e   t h a t   t h i s   s t r a t e g y   m i g h t   b e   l e s s   e f f e c t i v e   w h e n   t h e   s y s t e m   i s   h e a v i l y   l o a d e d .   U n d e r   s u c h   c o n d i t i o n s ,   t h e   b e n e f i t   o f   r e d u c i n g   c o n t e n t i o n   d i m i n i s h e s .   C o n v e r s e l y ,   d e f a u l t   b e h a v i o r   c a n   h e l p   i n   r e d u c i n g   i n t e r - c o r e   c o m m u n i c a t i o n   o v e r h e a d ,   p o t e n t i a l l y   p r o v i d i n g   b e t t e r   p e r f o r m a n c e   u n d e r   h i g h   l o a d   c o n d i t i o n s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_5_8735"
  },
  {
    "question": "What is strict-cpu-reservation?",
    "answer": "T h e   r e s e r v e d S y s t e m C P U s   p a r a m e t e r   i n   K u b e l e t C o n f i g u r a t i o n ,   o r   t h e   d e p r e c a t e d   k u b e l e t   c o m m a n d   l i n e   o p t i o n   - - r e s e r v e d - c p u s ,   d e f i n e s   a n   e x p l i c i t   C P U   s e t   f o r   O S   s y s t e m   d a e m o n s   a n d   k u b e r n e t e s   s y s t e m   d a e m o n s .   M o r e   d e t a i l s   o f   t h i s   p a r a m e t e r   c a n   b e   f o u n d   o n   t h e   E x p l i c i t l y   R e s e r v e d   C P U   L i s t   p a g e .   B y   d e f a u l t ,   t h i s   i s o l a t i o n   i s   i m p l e m e n t e d   o n l y   f o r   g u a r a n t e e d   p o d s   w i t h   i n t e g e r   C P U   r e q u e s t s   n o t   f o r   b u r s t a b l e   a n d   b e s t - e f f o r t   p o d s   ( a n d   g u a r a n t e e d   p o d s   w i t h   f r a c t i o n a l   C P U   r e q u e s t s ) .   A d m i s s i o n   i s   o n l y   c o m p a r i n g   t h e   C P U   r e q u e s t s   a g a i n s t   t h e   a l l o c a t a b l e   C P U s .   S i n c e   t h e   C P U   l i m i t   i s   h i g h e r   t h a n   t h e   r e q u e s t ,   t h e   d e f a u l t   b e h a v i o u r   a l l o w s   b u r s t a b l e   a n d   b e s t - e f f o r t   p o d s   t o   u s e   u p   t h e   c a p a c i t y   o f   r e s e r v e d S y s t e m C P U s   a n d   c a u s e   h o s t   O S   s e r v i c e s   t o   s t a r v e   i n   r e a l   l i f e   d e p l o y m e n t s .   I f   t h e   s t r i c t - c p u - r e s e r v a t i o n   p o l i c y   o p t i o n   i s   e n a b l e d ,   t h e   s t a t i c   p o l i c y   w i l l   n o t   a l l o w   a n y   w o r k l o a d   t o   u s e   t h e   C P U   c o r e s   s p e c i f i e d   i n   r e s e r v e d S y s t e m C P U s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_5_8736"
  },
  {
    "question": "What is prefer-align-cpus-by-uncorecache?",
    "answer": "I f   t h e   p r e f e r - a l i g n - c p u s - b y - u n c o r e c a c h e   p o l i c y   i s   s p e c i f i e d ,   t h e   s t a t i c   p o l i c y   w i l l   a l l o c a t e   C P U   r e s o u r c e s   f o r   i n d i v i d u a l   c o n t a i n e r s   s u c h   t h a t   a l l   C P U s   a s s i g n e d   t o   a   c o n t a i n e r   s h a r e   t h e   s a m e   u n c o r e   c a c h e   b l o c k   ( a l s o   k n o w n   a s   t h e   L a s t - L e v e l   C a c h e   o r   L L C ) .   B y   d e f a u l t ,   t h e   C P U M a n a g e r   w i l l   t i g h t l y   p a c k   C P U   a s s i g n m e n t s   w h i c h   c a n   r e s u l t   i n   c o n t a i n e r s   b e i n g   a s s i g n e d   C P U s   f r o m   m u l t i p l e   u n c o r e   c a c h e s .   T h i s   o p t i o n   e n a b l e s   t h e   C P U M a n a g e r   t o   a l l o c a t e   C P U s   i n   a   w a y   t h a t   m a x i m i z e s   t h e   e f f i c i e n t   u s e   o f   t h e   u n c o r e   c a c h e .   A l l o c a t i o n   i s   p e r f o r m e d   o n   a   b e s t - e f f o r t   b a s i s ,   a i m i n g   t o   a f f i n e   a s   m a n y   C P U s   a s   p o s s i b l e   w i t h i n   t h e   s a m e   u n c o r e   c a c h e .   I f   t h e   c o n t a i n e r ' s   C P U   r e q u i r e m e n t   e x c e e d s   t h e   C P U   c a p a c i t y   o f   a   s i n g l e   u n c o r e   c a c h e ,   t h e   C P U M a n a g e r   m i n i m i z e s   t h e   n u m b e r   o f   u n c o r e   c a c h e s   u s e d   i n   o r d e r   t o   m a i n t a i n   o p t i m a l   u n c o r e   c a c h e   a l i g n m e n t .   S p e c i f i c   w o r k l o a d s   c a n   b e n e f i t   i n   p e r f o r m a n c e   f r o m   t h e   r e d u c t i o n   o f   i n t e r - c a c h e   l a t e n c y   a n d   n o i s y   n e i g h b o r s   a t   t h e   c a c h e   l e v e l .   I f   t h e   C P U M a n a g e r   c a n n o t   a l i g n   o p t i m a l l y   w h i ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_5_8737"
  },
  {
    "question": "What is Memory Management Policies?",
    "answer": "T h e   K u b e r n e t e s   M e m o r y   M a n a g e r   e n a b l e s   t h e   f e a t u r e   o f   g u a r a n t e e d   m e m o r y   ( a n d   h u g e p a g e s )   a l l o c a t i o n   f o r   p o d s   i n   t h e   G u a r a n t e e d   Q o S   c l a s s .   T h e   M e m o r y   M a n a g e r   e m p l o y s   h i n t   g e n e r a t i o n   p r o t o c o l   t o   y i e l d   t h e   m o s t   s u i t a b l e   N U M A   a f f i n i t y   f o r   a   p o d .   T h e   M e m o r y   M a n a g e r   f e e d s   t h e   c e n t r a l   m a n a g e r   ( T o p o l o g y   M a n a g e r )   w i t h   t h e s e   a f f i n i t y   h i n t s .   B a s e d   o n   b o t h   t h e   h i n t s   a n d   T o p o l o g y   M a n a g e r   p o l i c y ,   t h e   p o d   i s   r e j e c t e d   o r   a d m i t t e d   t o   t h e   n o d e .   M o r e o v e r ,   t h e   M e m o r y   M a n a g e r   e n s u r e s   t h a t   t h e   m e m o r y   w h i c h   a   p o d   r e q u e s t s   i s   a l l o c a t e d   f r o m   a   m i n i m u m   n u m b e r   o f   N U M A   n o d e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_2_8738"
  },
  {
    "question": "What is Other resource managers?",
    "answer": "T h e   c o n f i g u r a t i o n   o f   i n d i v i d u a l   m a n a g e r s   i s   e l a b o r a t e d   i n   d e d i c a t e d   d o c u m e n t s :   D e v i c e   M a n a g e r   ©   2 0 2 5   T h e   K u b e r n e t e s   A u t h o r s   |   D o c u m e n t a t i o n   D i s t r i b u t e d   u n d e r   C C   B Y   4 . 0   ©   2 0 2 5   T h e   L i n u x   F o u n d a t i o n   ® .   A l l   r i g h t s   r e s e r v e d .   T h e   L i n u x   F o u n d a t i o n   h a s   r e g i s t e r e d   t r a d e m a r k s   a n d   u s e s   t r a d e m a r k s .   F o r   a   l i s t   o f   t r a d e m a r k s   o f   T h e   L i n u x   F o u n d a t i o n ,   p l e a s e   s e e   o u r   T r a d e m a r k   U s a g e   p a g e   I C P   l i c e n s e :   京 I C P 备 1 7 0 7 4 2 6 6 号 - 3",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/_print/",
    "id": "k8s_00456_section_2_8739"
  },
  {
    "question": "What is kubectl create rolebinding?",
    "answer": "kubectl create rolebindingSynopsisCreate a role binding for a particular role or cluster role.kubectl create rolebinding NAME --clusterrole=NAME|--role=NAME [--user=username] [--group=groupname] [--serviceaccount=namespace:serviceaccountname] [--dry-run=server|client|none] Examples # Create a role binding for user1, user2, and group1 using the admin cluster role kubectl create rolebinding admin --clusterrole=admin --user=user1 --user=user2 --group=group1 # Create a role binding for service account monitoring:sa-dev using the admin role kubectl create rolebinding admin-binding --role=admin --serviceaccount=monitoring:sa-dev Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--clusterrole stringClusterRole this RoleBinding should reference--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--group stringsGroups to bind to the role. The flag can be repeated to add multiple groups.-h, --helphelp for rolebinding-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--role stringRole this RoleBinding should reference--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--serviceaccount stringsService accounts to bind to the role, in the format <namespace>:<name>. The flag can be repeated to add multiple service accounts.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--user stringsUsernames to bind to the role. The flag can be repeated to add multiple users.--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inheri",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_rolebinding/",
    "id": "k8s_00457_qa_8740"
  },
  {
    "question": "How does kubectl create rolebinding work?",
    "answer": "kubectl create rolebindingSynopsisCreate a role binding for a particular role or cluster role.kubectl create rolebinding NAME --clusterrole=NAME|--role=NAME [--user=username] [--group=groupname] [--serviceaccount=namespace:serviceaccountname] [--dry-run=server|client|none] Examples # Create a role binding for user1, user2, and group1 using the admin cluster role kubectl create rolebinding admin --clusterrole=admin --user=user1 --user=user2 --group=group1 # Create a role binding for service account monitoring:sa-dev using the admin role kubectl create rolebinding admin-binding --role=admin --serviceaccount=monitoring:sa-dev Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--clusterrole stringClusterRole this RoleBinding should reference--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--group stringsGroups to bind to the role. The flag can be repeated to add multiple groups.-h, --helphelp for rolebinding-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--role stringRole this RoleBinding should reference--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--serviceaccount stringsService accounts to bind to the role, in the format <namespace>:<name>. The flag can be repeated to add multiple service accounts.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--user stringsUsernames to bind to the role. The flag can be repeated to add multiple users.--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inheri",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_rolebinding/",
    "id": "k8s_00457_qa_8741"
  },
  {
    "question": "When would you use kubectl create rolebinding?",
    "answer": "kubectl create rolebindingSynopsisCreate a role binding for a particular role or cluster role.kubectl create rolebinding NAME --clusterrole=NAME|--role=NAME [--user=username] [--group=groupname] [--serviceaccount=namespace:serviceaccountname] [--dry-run=server|client|none] Examples # Create a role binding for user1, user2, and group1 using the admin cluster role kubectl create rolebinding admin --clusterrole=admin --user=user1 --user=user2 --group=group1 # Create a role binding for service account monitoring:sa-dev using the admin role kubectl create rolebinding admin-binding --role=admin --serviceaccount=monitoring:sa-dev Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--clusterrole stringClusterRole this RoleBinding should reference--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--group stringsGroups to bind to the role. The flag can be repeated to add multiple groups.-h, --helphelp for rolebinding-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--role stringRole this RoleBinding should reference--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--serviceaccount stringsService accounts to bind to the role, in the format <namespace>:<name>. The flag can be repeated to add multiple service accounts.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--user stringsUsernames to bind to the role. The flag can be repeated to add multiple users.--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inheri",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_rolebinding/",
    "id": "k8s_00457_qa_8742"
  },
  {
    "question": "What are the benefits of kubectl create rolebinding?",
    "answer": "kubectl create rolebindingSynopsisCreate a role binding for a particular role or cluster role.kubectl create rolebinding NAME --clusterrole=NAME|--role=NAME [--user=username] [--group=groupname] [--serviceaccount=namespace:serviceaccountname] [--dry-run=server|client|none] Examples # Create a role binding for user1, user2, and group1 using the admin cluster role kubectl create rolebinding admin --clusterrole=admin --user=user1 --user=user2 --group=group1 # Create a role binding for service account monitoring:sa-dev using the admin role kubectl create rolebinding admin-binding --role=admin --serviceaccount=monitoring:sa-dev Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--clusterrole stringClusterRole this RoleBinding should reference--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--group stringsGroups to bind to the role. The flag can be repeated to add multiple groups.-h, --helphelp for rolebinding-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--role stringRole this RoleBinding should reference--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--serviceaccount stringsService accounts to bind to the role, in the format <namespace>:<name>. The flag can be repeated to add multiple service accounts.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--user stringsUsernames to bind to the role. The flag can be repeated to add multiple users.--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inheri",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_rolebinding/",
    "id": "k8s_00457_qa_8743"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   r o l e   b i n d i n g   f o r   a   p a r t i c u l a r   r o l e   o r   c l u s t e r   r o l e .   k u b e c t l   c r e a t e   r o l e b i n d i n g   N A M E   - - c l u s t e r r o l e = N A M E | - - r o l e = N A M E   [ - - u s e r = u s e r n a m e ]   [ - - g r o u p = g r o u p n a m e ]   [ - - s e r v i c e a c c o u n t = n a m e s p a c e : s e r v i c e a c c o u n t n a m e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_rolebinding/",
    "id": "k8s_00457_section_2_8744"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   r o l e   b i n d i n g   f o r   u s e r 1 ,   u s e r 2 ,   a n d   g r o u p 1   u s i n g   t h e   a d m i n   c l u s t e r   r o l e   k u b e c t l   c r e a t e   r o l e b i n d i n g   a d m i n   - - c l u s t e r r o l e = a d m i n   - - u s e r = u s e r 1   - - u s e r = u s e r 2   - - g r o u p = g r o u p 1   #   C r e a t e   a   r o l e   b i n d i n g   f o r   s e r v i c e   a c c o u n t   m o n i t o r i n g : s a - d e v   u s i n g   t h e   a d m i n   r o l e   k u b e c t l   c r e a t e   r o l e b i n d i n g   a d m i n - b i n d i n g   - - r o l e = a d m i n   - - s e r v i c e a c c o u n t = m o n i t o r i n g : s a - d e v",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_rolebinding/",
    "id": "k8s_00457_section_2_8745"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   C l u s t e r R o l e   t h i s   R o l e B i n d i n g   s h o u l d   r e f e r e n c e   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   G r o u p s   t o   b i n d   t o   t h e   r o l e .   T h e   f l a g   c a n   b e   r e p e a t e d   t o   a d d   m u l t i p l e   g r o u p s .   h e l p   f o r   r o l e b i n d i n g   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   R o l e   t h i s   R o l e B i n d i n g   s h o u l d   r e f e r e n c e   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   S e r v i c e   a c c o u n t s   t o   b i n d   t o   t h e   r o l e ,   i n   t h e   f o r m a t   < n a m e s p a c e > : < n a m ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_rolebinding/",
    "id": "k8s_00457_section_2_8746"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_rolebinding/",
    "id": "k8s_00457_section_2_8747"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_rolebinding/",
    "id": "k8s_00457_section_2_8748"
  },
  {
    "question": "What is kubectl create?",
    "answer": "kubectl createSynopsisCreate a resource from a file or from stdin.JSON and YAML formats are accepted.kubectl create -f FILENAME Examples # Create a pod using the data in pod.json kubectl create -f ./pod.json # Create a pod based on the JSON passed into stdin cat pod.json | kubectl create -f - # Edit the data in registry.yaml in JSON then create the resource using the edited data kubectl create -f registry.yaml --edit -o json Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--editEdit the API resource before creating--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files to use to create the resource-h, --helphelp for create-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--raw stringRaw URI to POST to the server. Uses the transport specified by the kubeconfig file.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/",
    "id": "k8s_00458_qa_8749"
  },
  {
    "question": "How does kubectl create work?",
    "answer": "kubectl createSynopsisCreate a resource from a file or from stdin.JSON and YAML formats are accepted.kubectl create -f FILENAME Examples # Create a pod using the data in pod.json kubectl create -f ./pod.json # Create a pod based on the JSON passed into stdin cat pod.json | kubectl create -f - # Edit the data in registry.yaml in JSON then create the resource using the edited data kubectl create -f registry.yaml --edit -o json Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--editEdit the API resource before creating--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files to use to create the resource-h, --helphelp for create-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--raw stringRaw URI to POST to the server. Uses the transport specified by the kubeconfig file.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/",
    "id": "k8s_00458_qa_8750"
  },
  {
    "question": "When would you use kubectl create?",
    "answer": "kubectl createSynopsisCreate a resource from a file or from stdin.JSON and YAML formats are accepted.kubectl create -f FILENAME Examples # Create a pod using the data in pod.json kubectl create -f ./pod.json # Create a pod based on the JSON passed into stdin cat pod.json | kubectl create -f - # Edit the data in registry.yaml in JSON then create the resource using the edited data kubectl create -f registry.yaml --edit -o json Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--editEdit the API resource before creating--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files to use to create the resource-h, --helphelp for create-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--raw stringRaw URI to POST to the server. Uses the transport specified by the kubeconfig file.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/",
    "id": "k8s_00458_qa_8751"
  },
  {
    "question": "What are the benefits of kubectl create?",
    "answer": "kubectl createSynopsisCreate a resource from a file or from stdin.JSON and YAML formats are accepted.kubectl create -f FILENAME Examples # Create a pod using the data in pod.json kubectl create -f ./pod.json # Create a pod based on the JSON passed into stdin cat pod.json | kubectl create -f - # Edit the data in registry.yaml in JSON then create the resource using the edited data kubectl create -f registry.yaml --edit -o json Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--editEdit the API resource before creating--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files to use to create the resource-h, --helphelp for create-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--raw stringRaw URI to POST to the server. Uses the transport specified by the kubeconfig file.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/",
    "id": "k8s_00458_qa_8752"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n .   J S O N   a n d   Y A M L   f o r m a t s   a r e   a c c e p t e d .   k u b e c t l   c r e a t e   - f   F I L E N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/",
    "id": "k8s_00458_section_2_8753"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   p o d   u s i n g   t h e   d a t a   i n   p o d . j s o n   k u b e c t l   c r e a t e   - f   . / p o d . j s o n   #   C r e a t e   a   p o d   b a s e d   o n   t h e   J S O N   p a s s e d   i n t o   s t d i n   c a t   p o d . j s o n   |   k u b e c t l   c r e a t e   - f   -   #   E d i t   t h e   d a t a   i n   r e g i s t r y . y a m l   i n   J S O N   t h e n   c r e a t e   t h e   r e s o u r c e   u s i n g   t h e   e d i t e d   d a t a   k u b e c t l   c r e a t e   - f   r e g i s t r y . y a m l   - - e d i t   - o   j s o n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/",
    "id": "k8s_00458_section_2_8754"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   E d i t   t h e   A P I   r e s o u r c e   b e f o r e   c r e a t i n g   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   t o   u s e   t o   c r e a t e   t h e   r e s o u r c e   h e l p   f o r   c r e a t e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   R a w   U R I   t o   P O S T   t o   t h e   s e r v e r .   U s e s   t h e   t r a n s p o r t   s p e c i f i e d   b y   t h e   k u b e c o n f i g   f i l e .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/",
    "id": "k8s_00458_section_2_8755"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/",
    "id": "k8s_00458_section_2_8756"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   c r e a t e   c l u s t e r r o l e   -   C r e a t e   a   c l u s t e r   r o l e k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   -   C r e a t e   a   c l u s t e r   r o l e   b i n d i n g   f o r   a   p a r t i c u l a r   c l u s t e r   r o l e k u b e c t l   c r e a t e   c o n f i g m a p   -   C r e a t e   a   c o n f i g   m a p   f r o m   a   l o c a l   f i l e ,   d i r e c t o r y   o r   l i t e r a l   v a l u e k u b e c t l   c r e a t e   c r o n j o b   -   C r e a t e   a   c r o n   j o b   w i t h   t h e   s p e c i f i e d   n a m e k u b e c t l   c r e a t e   d e p l o y m e n t   -   C r e a t e   a   d e p l o y m e n t   w i t h   t h e   s p e c i f i e d   n a m e k u b e c t l   c r e a t e   i n g r e s s   -   C r e a t e   a n   i n g r e s s   w i t h   t h e   s p e c i f i e d   n a m e k u b e c t l   c r e a t e   j o b   -   C r e a t e   a   j o b   w i t h   t h e   s p e c i f i e d   n a m e k u b e c t l   c r e a t e   n a m e s p a c e   -   C r e a t e   a   n a m e s p a c e   w i t h   t h e   s p e c i f i e d   n a m e k u b e c t l   c r e a t e   p o d d i s r u p t i o n b u d g e t   -   C r e a t e   a   p o d   d i s r u p t i o n   b u d g e t   w i t h   t h e   s p e c i f i e d   n a m e k u b e c t l   c r e a t e   p r i o r i t y c l a s s   -   C r e a t e   a   p r i o r i t y   c l a s s   w i t h   t h e   s p e c i f i e d   n a m e k u b e c t l   c r e a t e   q u o t a   -   C r e a t e   a   q u o t a   w i t h   t h e   s p e c i f i e d   n a m e k u b e c t l   c r e a t e   r o l e   -   C r e a t e   a   r o l e   w i t h   s i n g l e   r u l e k u b e c t l   c r e a t e   r o l e b i n d i n g   -   C r e a t e   a   r o l e   b i n d i n g   f o r   a   p a r t i c u l a r   r o l e   o r   c l u s t e r   r o l e k u b e c t l ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/",
    "id": "k8s_00458_section_2_8757"
  },
  {
    "question": "What is kubectl rollout?",
    "answer": "kubectl rolloutSynopsisManage the rollout of one or many resources.Valid resource types include:deploymentsdaemonsetsstatefulsetskubectl rollout SUBCOMMAND Examples # Rollback to the previous deployment kubectl rollout undo deployment/abc # Check the rollout status of a daemonset kubectl rollout status daemonset/foo # Restart a deployment kubectl rollout restart deployment/abc # Restart deployments with the 'app=nginx' label kubectl rollout restart deployment --selector=app=nginx Options-h, --helphelp for rolloutParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/",
    "id": "k8s_00459_qa_8758"
  },
  {
    "question": "How does kubectl rollout work?",
    "answer": "kubectl rolloutSynopsisManage the rollout of one or many resources.Valid resource types include:deploymentsdaemonsetsstatefulsetskubectl rollout SUBCOMMAND Examples # Rollback to the previous deployment kubectl rollout undo deployment/abc # Check the rollout status of a daemonset kubectl rollout status daemonset/foo # Restart a deployment kubectl rollout restart deployment/abc # Restart deployments with the 'app=nginx' label kubectl rollout restart deployment --selector=app=nginx Options-h, --helphelp for rolloutParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/",
    "id": "k8s_00459_qa_8759"
  },
  {
    "question": "When would you use kubectl rollout?",
    "answer": "kubectl rolloutSynopsisManage the rollout of one or many resources.Valid resource types include:deploymentsdaemonsetsstatefulsetskubectl rollout SUBCOMMAND Examples # Rollback to the previous deployment kubectl rollout undo deployment/abc # Check the rollout status of a daemonset kubectl rollout status daemonset/foo # Restart a deployment kubectl rollout restart deployment/abc # Restart deployments with the 'app=nginx' label kubectl rollout restart deployment --selector=app=nginx Options-h, --helphelp for rolloutParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/",
    "id": "k8s_00459_qa_8760"
  },
  {
    "question": "What are the benefits of kubectl rollout?",
    "answer": "kubectl rolloutSynopsisManage the rollout of one or many resources.Valid resource types include:deploymentsdaemonsetsstatefulsetskubectl rollout SUBCOMMAND Examples # Rollback to the previous deployment kubectl rollout undo deployment/abc # Check the rollout status of a daemonset kubectl rollout status daemonset/foo # Restart a deployment kubectl rollout restart deployment/abc # Restart deployments with the 'app=nginx' label kubectl rollout restart deployment --selector=app=nginx Options-h, --helphelp for rolloutParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/",
    "id": "k8s_00459_qa_8761"
  },
  {
    "question": "What is Synopsis?",
    "answer": "M a n a g e   t h e   r o l l o u t   o f   o n e   o r   m a n y   r e s o u r c e s .   V a l i d   r e s o u r c e   t y p e s   i n c l u d e :   d e p l o y m e n t s d a e m o n s e t s s t a t e f u l s e t s   k u b e c t l   r o l l o u t   S U B C O M M A N D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/",
    "id": "k8s_00459_section_2_8762"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R o l l b a c k   t o   t h e   p r e v i o u s   d e p l o y m e n t   k u b e c t l   r o l l o u t   u n d o   d e p l o y m e n t / a b c   #   C h e c k   t h e   r o l l o u t   s t a t u s   o f   a   d a e m o n s e t   k u b e c t l   r o l l o u t   s t a t u s   d a e m o n s e t / f o o   #   R e s t a r t   a   d e p l o y m e n t   k u b e c t l   r o l l o u t   r e s t a r t   d e p l o y m e n t / a b c   #   R e s t a r t   d e p l o y m e n t s   w i t h   t h e   ' a p p = n g i n x '   l a b e l   k u b e c t l   r o l l o u t   r e s t a r t   d e p l o y m e n t   - - s e l e c t o r = a p p = n g i n x",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/",
    "id": "k8s_00459_section_2_8763"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   r o l l o u t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/",
    "id": "k8s_00459_section_2_8764"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/",
    "id": "k8s_00459_section_2_8765"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   r o l l o u t   h i s t o r y   -   V i e w   r o l l o u t   h i s t o r y k u b e c t l   r o l l o u t   p a u s e   -   M a r k   t h e   p r o v i d e d   r e s o u r c e   a s   p a u s e d k u b e c t l   r o l l o u t   r e s t a r t   -   R e s t a r t   a   r e s o u r c e k u b e c t l   r o l l o u t   r e s u m e   -   R e s u m e   a   p a u s e d   r e s o u r c e k u b e c t l   r o l l o u t   s t a t u s   -   S h o w   t h e   s t a t u s   o f   t h e   r o l l o u t k u b e c t l   r o l l o u t   u n d o   -   U n d o   a   p r e v i o u s   r o l l o u t   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/",
    "id": "k8s_00459_section_2_8766"
  },
  {
    "question": "What is Define a Command and Arguments for a Container?",
    "answer": "Define a Command and Arguments for a ContainerThis page shows how to define commands and arguments when you run a container in a Pod.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Define a command and arguments when you create a PodWhen you create a Pod, you can define a command and arguments for the containers that run in the Pod. To define a command, include the command field in the configuration file. To define arguments for the command, include the args field in the configuration file. The command and arguments that you define cannot be changed after the Pod is created.The command and arguments that you define in the configuration file override the default command and arguments provided by the container image. If you define args, but do not define a command, the default command is used with your new arguments.Note:The command field corresponds to ENTRYPOINT, and the args field corresponds to CMD in some container runtimes.In this exercise, you create a Pod that runs one container. The configuration file for the Pod defines a command and two arguments:pods/commands.yaml apiVersion: v1 kind: Pod metadata: name: command-demo labels: purpose: demonstrate-command spec: containers: - name: command-demo-container image: debian command: [\"printenv\"] args: [\"HOSTNAME\", \"KUBERNETES_PORT\"] restartPolicy: OnFailure Create a Pod based on the YAML configuration file:kubectl apply -f https://k8s.io/examples/pods/commands.yaml List the running Pods:kubectl get pods The output shows that the container that ran in the command-demo Pod has completed.To see the output of the command that ran in the container, view the logs from the Pod:kubectl logs command-demo The output shows the values of the HOSTNAME and KUBERNETES_PORT environment variables:command-demo tcp://10.3.240.1:443 Use environment variables to define argumentsIn the preceding example, you defined the arguments directly by providing strings. As an alternative to providing strings directly, you can define arguments by using environment variables:env: - name: MESSAGE value: \"hello world\" command: [\"/bin/echo\"] args: [\"$(MESSAGE)\"] This means you can define an argument for a Pod using any of the techniques available for defining environment variables, including ConfigMaps and Secrets.Note:The environment variable appears in parentheses, \"$(VAR)\". This is required for the variable to be expanded in the command or args field.Run a command in a shellIn some cases, you need your command to run in a shell. For example, your command might consist of several commands piped together",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/",
    "id": "k8s_00460_qa_8767"
  },
  {
    "question": "How does Define a Command and Arguments for a Container work?",
    "answer": "Define a Command and Arguments for a ContainerThis page shows how to define commands and arguments when you run a container in a Pod.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Define a command and arguments when you create a PodWhen you create a Pod, you can define a command and arguments for the containers that run in the Pod. To define a command, include the command field in the configuration file. To define arguments for the command, include the args field in the configuration file. The command and arguments that you define cannot be changed after the Pod is created.The command and arguments that you define in the configuration file override the default command and arguments provided by the container image. If you define args, but do not define a command, the default command is used with your new arguments.Note:The command field corresponds to ENTRYPOINT, and the args field corresponds to CMD in some container runtimes.In this exercise, you create a Pod that runs one container. The configuration file for the Pod defines a command and two arguments:pods/commands.yaml apiVersion: v1 kind: Pod metadata: name: command-demo labels: purpose: demonstrate-command spec: containers: - name: command-demo-container image: debian command: [\"printenv\"] args: [\"HOSTNAME\", \"KUBERNETES_PORT\"] restartPolicy: OnFailure Create a Pod based on the YAML configuration file:kubectl apply -f https://k8s.io/examples/pods/commands.yaml List the running Pods:kubectl get pods The output shows that the container that ran in the command-demo Pod has completed.To see the output of the command that ran in the container, view the logs from the Pod:kubectl logs command-demo The output shows the values of the HOSTNAME and KUBERNETES_PORT environment variables:command-demo tcp://10.3.240.1:443 Use environment variables to define argumentsIn the preceding example, you defined the arguments directly by providing strings. As an alternative to providing strings directly, you can define arguments by using environment variables:env: - name: MESSAGE value: \"hello world\" command: [\"/bin/echo\"] args: [\"$(MESSAGE)\"] This means you can define an argument for a Pod using any of the techniques available for defining environment variables, including ConfigMaps and Secrets.Note:The environment variable appears in parentheses, \"$(VAR)\". This is required for the variable to be expanded in the command or args field.Run a command in a shellIn some cases, you need your command to run in a shell. For example, your command might consist of several commands piped together",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/",
    "id": "k8s_00460_qa_8768"
  },
  {
    "question": "When would you use Define a Command and Arguments for a Container?",
    "answer": "Define a Command and Arguments for a ContainerThis page shows how to define commands and arguments when you run a container in a Pod.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Define a command and arguments when you create a PodWhen you create a Pod, you can define a command and arguments for the containers that run in the Pod. To define a command, include the command field in the configuration file. To define arguments for the command, include the args field in the configuration file. The command and arguments that you define cannot be changed after the Pod is created.The command and arguments that you define in the configuration file override the default command and arguments provided by the container image. If you define args, but do not define a command, the default command is used with your new arguments.Note:The command field corresponds to ENTRYPOINT, and the args field corresponds to CMD in some container runtimes.In this exercise, you create a Pod that runs one container. The configuration file for the Pod defines a command and two arguments:pods/commands.yaml apiVersion: v1 kind: Pod metadata: name: command-demo labels: purpose: demonstrate-command spec: containers: - name: command-demo-container image: debian command: [\"printenv\"] args: [\"HOSTNAME\", \"KUBERNETES_PORT\"] restartPolicy: OnFailure Create a Pod based on the YAML configuration file:kubectl apply -f https://k8s.io/examples/pods/commands.yaml List the running Pods:kubectl get pods The output shows that the container that ran in the command-demo Pod has completed.To see the output of the command that ran in the container, view the logs from the Pod:kubectl logs command-demo The output shows the values of the HOSTNAME and KUBERNETES_PORT environment variables:command-demo tcp://10.3.240.1:443 Use environment variables to define argumentsIn the preceding example, you defined the arguments directly by providing strings. As an alternative to providing strings directly, you can define arguments by using environment variables:env: - name: MESSAGE value: \"hello world\" command: [\"/bin/echo\"] args: [\"$(MESSAGE)\"] This means you can define an argument for a Pod using any of the techniques available for defining environment variables, including ConfigMaps and Secrets.Note:The environment variable appears in parentheses, \"$(VAR)\". This is required for the variable to be expanded in the command or args field.Run a command in a shellIn some cases, you need your command to run in a shell. For example, your command might consist of several commands piped together",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/",
    "id": "k8s_00460_qa_8769"
  },
  {
    "question": "What are the benefits of Define a Command and Arguments for a Container?",
    "answer": "Define a Command and Arguments for a ContainerThis page shows how to define commands and arguments when you run a container in a Pod.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Define a command and arguments when you create a PodWhen you create a Pod, you can define a command and arguments for the containers that run in the Pod. To define a command, include the command field in the configuration file. To define arguments for the command, include the args field in the configuration file. The command and arguments that you define cannot be changed after the Pod is created.The command and arguments that you define in the configuration file override the default command and arguments provided by the container image. If you define args, but do not define a command, the default command is used with your new arguments.Note:The command field corresponds to ENTRYPOINT, and the args field corresponds to CMD in some container runtimes.In this exercise, you create a Pod that runs one container. The configuration file for the Pod defines a command and two arguments:pods/commands.yaml apiVersion: v1 kind: Pod metadata: name: command-demo labels: purpose: demonstrate-command spec: containers: - name: command-demo-container image: debian command: [\"printenv\"] args: [\"HOSTNAME\", \"KUBERNETES_PORT\"] restartPolicy: OnFailure Create a Pod based on the YAML configuration file:kubectl apply -f https://k8s.io/examples/pods/commands.yaml List the running Pods:kubectl get pods The output shows that the container that ran in the command-demo Pod has completed.To see the output of the command that ran in the container, view the logs from the Pod:kubectl logs command-demo The output shows the values of the HOSTNAME and KUBERNETES_PORT environment variables:command-demo tcp://10.3.240.1:443 Use environment variables to define argumentsIn the preceding example, you defined the arguments directly by providing strings. As an alternative to providing strings directly, you can define arguments by using environment variables:env: - name: MESSAGE value: \"hello world\" command: [\"/bin/echo\"] args: [\"$(MESSAGE)\"] This means you can define an argument for a Pod using any of the techniques available for defining environment variables, including ConfigMaps and Secrets.Note:The environment variable appears in parentheses, \"$(VAR)\". This is required for the variable to be expanded in the command or args field.Run a command in a shellIn some cases, you need your command to run in a shell. For example, your command might consist of several commands piped together",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/",
    "id": "k8s_00460_qa_8770"
  },
  {
    "question": "What is Define a Command and Arguments for a Container?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   d e f i n e   c o m m a n d s   a n d   a r g u m e n t s   w h e n   y o u   r u n   a   c o n t a i n e r   i n   a   P o d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/",
    "id": "k8s_00460_section_1_8771"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/",
    "id": "k8s_00460_section_2_8772"
  },
  {
    "question": "What is Define a command and arguments when you create a Pod?",
    "answer": "W h e n   y o u   c r e a t e   a   P o d ,   y o u   c a n   d e f i n e   a   c o m m a n d   a n d   a r g u m e n t s   f o r   t h e   c o n t a i n e r s   t h a t   r u n   i n   t h e   P o d .   T o   d e f i n e   a   c o m m a n d ,   i n c l u d e   t h e   c o m m a n d   f i e l d   i n   t h e   c o n f i g u r a t i o n   f i l e .   T o   d e f i n e   a r g u m e n t s   f o r   t h e   c o m m a n d ,   i n c l u d e   t h e   a r g s   f i e l d   i n   t h e   c o n f i g u r a t i o n   f i l e .   T h e   c o m m a n d   a n d   a r g u m e n t s   t h a t   y o u   d e f i n e   c a n n o t   b e   c h a n g e d   a f t e r   t h e   P o d   i s   c r e a t e d .   T h e   c o m m a n d   a n d   a r g u m e n t s   t h a t   y o u   d e f i n e   i n   t h e   c o n f i g u r a t i o n   f i l e   o v e r r i d e   t h e   d e f a u l t   c o m m a n d   a n d   a r g u m e n t s   p r o v i d e d   b y   t h e   c o n t a i n e r   i m a g e .   I f   y o u   d e f i n e   a r g s ,   b u t   d o   n o t   d e f i n e   a   c o m m a n d ,   t h e   d e f a u l t   c o m m a n d   i s   u s e d   w i t h   y o u r   n e w   a r g u m e n t s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/",
    "id": "k8s_00460_section_2_8773"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   r u n s   o n e   c o n t a i n e r .   T h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d   d e f i n e s   a   c o m m a n d   a n d   t w o   a r g u m e n t s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o m m a n d - d e m o   l a b e l s :   p u r p o s e :   d e m o n s t r a t e - c o m m a n d   s p e c :   c o n t a i n e r s :   -   n a m e :   c o m m a n d - d e m o - c o n t a i n e r   i m a g e :   d e b i a n   c o m m a n d :   [ \" p r i n t e n v \" ]   a r g s :   [ \" H O S T N A M E \" ,   \" K U B E R N E T E S _ P O R T \" ]   r e s t a r t P o l i c y :   O n F a i l u r e   C r e a t e   a   P o d   b a s e d   o n   t h e   Y A M L   c o n f i g u r a t i o n   f i l e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / c o m m a n d s . y a m l   L i s t   t h e   r u n n i n g   P o d s : k u b e c t l   g e t   p o d s   T h e   o u t p u t   s h o w s   t h a t   t h e   c o n t a i n e r   t h a t   r a n   i n   t h e   c o m m a n d - d e m o   P o d   h a s   c o m p l e t e d . T o   s e e   t h e   o u t p u t   o f   t h e   c o m m a n d   t h a t   r a n   i n   t h e   c o n t a i n e r ,   v i e w   t h e   l o g s   f r o m   t h e   P o d : k u b e c t l   l o g s   c o m m a n d - d e m o   T h e   o u t p u t   s h o w s   t h e   v a l u e s   o f   t h e   H O S T N A M E   a n d   K U B E R N E T E S _ P O R T   e n v i r o n m e n t   v a r i a b l e s : c o m m a n d - d e m o   t c p : / / 1 0 . 3 . 2 4 0 . 1 : 4 4 3   C r e a t e   a   P o d   b a s e d   o n   t h e   Y A M L   c o n f i g u r a t i o n   f i l e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / c o m m a n d s . y a m l   L i s t   t h e   r u n n i n g   P o d s :   k u b e c t l   g e t   p o d s   T h e   o u t p u t   s h ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/",
    "id": "k8s_00460_section_4_8774"
  },
  {
    "question": "What is Use environment variables to define arguments?",
    "answer": "I n   t h e   p r e c e d i n g   e x a m p l e ,   y o u   d e f i n e d   t h e   a r g u m e n t s   d i r e c t l y   b y   p r o v i d i n g   s t r i n g s .   A s   a n   a l t e r n a t i v e   t o   p r o v i d i n g   s t r i n g s   d i r e c t l y ,   y o u   c a n   d e f i n e   a r g u m e n t s   b y   u s i n g   e n v i r o n m e n t   v a r i a b l e s :   e n v :   -   n a m e :   M E S S A G E   v a l u e :   \" h e l l o   w o r l d \"   c o m m a n d :   [ \" / b i n / e c h o \" ]   a r g s :   [ \" $ ( M E S S A G E ) \" ]   T h i s   m e a n s   y o u   c a n   d e f i n e   a n   a r g u m e n t   f o r   a   P o d   u s i n g   a n y   o f   t h e   t e c h n i q u e s   a v a i l a b l e   f o r   d e f i n i n g   e n v i r o n m e n t   v a r i a b l e s ,   i n c l u d i n g   C o n f i g M a p s   a n d   S e c r e t s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/",
    "id": "k8s_00460_section_2_8775"
  },
  {
    "question": "What is Run a command in a shell?",
    "answer": "I n   s o m e   c a s e s ,   y o u   n e e d   y o u r   c o m m a n d   t o   r u n   i n   a   s h e l l .   F o r   e x a m p l e ,   y o u r   c o m m a n d   m i g h t   c o n s i s t   o f   s e v e r a l   c o m m a n d s   p i p e d   t o g e t h e r ,   o r   i t   m i g h t   b e   a   s h e l l   s c r i p t .   T o   r u n   y o u r   c o m m a n d   i n   a   s h e l l ,   w r a p   i t   l i k e   t h i s :   c o m m a n d :   [ \" / b i n / s h \" ]   a r g s :   [ \" - c \" ,   \" w h i l e   t r u e ;   d o   e c h o   h e l l o ;   s l e e p   1 0 ; d o n e \" ]",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/",
    "id": "k8s_00460_section_2_8776"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   c o n f i g u r i n g   p o d s   a n d   c o n t a i n e r s . L e a r n   m o r e   a b o u t   r u n n i n g   c o m m a n d s   i n   a   c o n t a i n e r . S e e   C o n t a i n e r .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/",
    "id": "k8s_00460_section_2_8777"
  },
  {
    "question": "What is Perform a Rollback on a DaemonSet?",
    "answer": "Perform a Rollback on a DaemonSetThis page shows how to perform a rollback on a DaemonSet.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.7.To check the version, enter kubectl version.You should already know how to perform a rolling update on a DaemonSet.Performing a rollback on a DaemonSetStep 1: Find the DaemonSet revision you want to roll back toYou can skip this step if you only want to roll back to the last revision.List all revisions of a DaemonSet:kubectl rollout history daemonset <daemonset-name> This returns a list of DaemonSet revisions:daemonsets \"<daemonset-name>\" REVISION CHANGE-CAUSE 1 ... 2 ... ... Change cause is copied from DaemonSet annotation kubernetes.io/change-cause to its revisions upon creation. You may specify --record=true in kubectl to record the command executed in the change cause annotation.To see the details of a specific revision:kubectl rollout history daemonset <daemonset-name> --revision=1 This returns the details of that revision:daemonsets \"<daemonset-name>\" with revision #1 Pod Template: Labels: foo=bar Containers: app: Image: ... Port: ... Environment: ... Mounts: ... Volumes: ... Step 2: Roll back to a specific revision# Specify the revision number you get from Step 1 in --to-revision kubectl rollout undo daemonset <daemonset-name> --to-revision=<revision> If it succeeds, the command returns:daemonset \"<daemonset-name>\" rolled back Note:If --to-revision flag is not specified, kubectl picks the most recent revision.Step 3: Watch the progress of the DaemonSet rollbackkubectl rollout undo daemonset tells the server to start rolling back the DaemonSet. The real rollback is done asynchronously inside the cluster control plane.To watch the progress of the rollback:kubectl rollout status ds/<daemonset-name> When the rollback is complete, the output is similar to:daemonset \"<daemonset-name>\" successfully rolled out Understanding DaemonSet revisionsIn the previous kubectl rollout history step, you got a list of DaemonSet revisions. Each revision is stored in a resource named ControllerRevision.To see what is stored in each revision, find the DaemonSet revision raw resources:kubectl get controllerrevision -l <daemonset-selector-key>=<daemonset-selector-value> This returns a list of ControllerRevisions:NAME CONTROLLER REVISION AGE <daemonset-name>-<revision-hash> DaemonSet/<daemonset-name> 1 1h <daemonset-name>-<revision-hash> DaemonSet/<daemonset-name> 2 1h Each ControllerRevision stores the annotations and template of a DaemonSet revision.kubectl rollout undo takes a specific",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/rollback-daemon-set/",
    "id": "k8s_00461_qa_8778"
  },
  {
    "question": "How does Perform a Rollback on a DaemonSet work?",
    "answer": "Perform a Rollback on a DaemonSetThis page shows how to perform a rollback on a DaemonSet.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.7.To check the version, enter kubectl version.You should already know how to perform a rolling update on a DaemonSet.Performing a rollback on a DaemonSetStep 1: Find the DaemonSet revision you want to roll back toYou can skip this step if you only want to roll back to the last revision.List all revisions of a DaemonSet:kubectl rollout history daemonset <daemonset-name> This returns a list of DaemonSet revisions:daemonsets \"<daemonset-name>\" REVISION CHANGE-CAUSE 1 ... 2 ... ... Change cause is copied from DaemonSet annotation kubernetes.io/change-cause to its revisions upon creation. You may specify --record=true in kubectl to record the command executed in the change cause annotation.To see the details of a specific revision:kubectl rollout history daemonset <daemonset-name> --revision=1 This returns the details of that revision:daemonsets \"<daemonset-name>\" with revision #1 Pod Template: Labels: foo=bar Containers: app: Image: ... Port: ... Environment: ... Mounts: ... Volumes: ... Step 2: Roll back to a specific revision# Specify the revision number you get from Step 1 in --to-revision kubectl rollout undo daemonset <daemonset-name> --to-revision=<revision> If it succeeds, the command returns:daemonset \"<daemonset-name>\" rolled back Note:If --to-revision flag is not specified, kubectl picks the most recent revision.Step 3: Watch the progress of the DaemonSet rollbackkubectl rollout undo daemonset tells the server to start rolling back the DaemonSet. The real rollback is done asynchronously inside the cluster control plane.To watch the progress of the rollback:kubectl rollout status ds/<daemonset-name> When the rollback is complete, the output is similar to:daemonset \"<daemonset-name>\" successfully rolled out Understanding DaemonSet revisionsIn the previous kubectl rollout history step, you got a list of DaemonSet revisions. Each revision is stored in a resource named ControllerRevision.To see what is stored in each revision, find the DaemonSet revision raw resources:kubectl get controllerrevision -l <daemonset-selector-key>=<daemonset-selector-value> This returns a list of ControllerRevisions:NAME CONTROLLER REVISION AGE <daemonset-name>-<revision-hash> DaemonSet/<daemonset-name> 1 1h <daemonset-name>-<revision-hash> DaemonSet/<daemonset-name> 2 1h Each ControllerRevision stores the annotations and template of a DaemonSet revision.kubectl rollout undo takes a specific",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/rollback-daemon-set/",
    "id": "k8s_00461_qa_8779"
  },
  {
    "question": "When would you use Perform a Rollback on a DaemonSet?",
    "answer": "Perform a Rollback on a DaemonSetThis page shows how to perform a rollback on a DaemonSet.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.7.To check the version, enter kubectl version.You should already know how to perform a rolling update on a DaemonSet.Performing a rollback on a DaemonSetStep 1: Find the DaemonSet revision you want to roll back toYou can skip this step if you only want to roll back to the last revision.List all revisions of a DaemonSet:kubectl rollout history daemonset <daemonset-name> This returns a list of DaemonSet revisions:daemonsets \"<daemonset-name>\" REVISION CHANGE-CAUSE 1 ... 2 ... ... Change cause is copied from DaemonSet annotation kubernetes.io/change-cause to its revisions upon creation. You may specify --record=true in kubectl to record the command executed in the change cause annotation.To see the details of a specific revision:kubectl rollout history daemonset <daemonset-name> --revision=1 This returns the details of that revision:daemonsets \"<daemonset-name>\" with revision #1 Pod Template: Labels: foo=bar Containers: app: Image: ... Port: ... Environment: ... Mounts: ... Volumes: ... Step 2: Roll back to a specific revision# Specify the revision number you get from Step 1 in --to-revision kubectl rollout undo daemonset <daemonset-name> --to-revision=<revision> If it succeeds, the command returns:daemonset \"<daemonset-name>\" rolled back Note:If --to-revision flag is not specified, kubectl picks the most recent revision.Step 3: Watch the progress of the DaemonSet rollbackkubectl rollout undo daemonset tells the server to start rolling back the DaemonSet. The real rollback is done asynchronously inside the cluster control plane.To watch the progress of the rollback:kubectl rollout status ds/<daemonset-name> When the rollback is complete, the output is similar to:daemonset \"<daemonset-name>\" successfully rolled out Understanding DaemonSet revisionsIn the previous kubectl rollout history step, you got a list of DaemonSet revisions. Each revision is stored in a resource named ControllerRevision.To see what is stored in each revision, find the DaemonSet revision raw resources:kubectl get controllerrevision -l <daemonset-selector-key>=<daemonset-selector-value> This returns a list of ControllerRevisions:NAME CONTROLLER REVISION AGE <daemonset-name>-<revision-hash> DaemonSet/<daemonset-name> 1 1h <daemonset-name>-<revision-hash> DaemonSet/<daemonset-name> 2 1h Each ControllerRevision stores the annotations and template of a DaemonSet revision.kubectl rollout undo takes a specific",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/rollback-daemon-set/",
    "id": "k8s_00461_qa_8780"
  },
  {
    "question": "What are the benefits of Perform a Rollback on a DaemonSet?",
    "answer": "Perform a Rollback on a DaemonSetThis page shows how to perform a rollback on a DaemonSet.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.7.To check the version, enter kubectl version.You should already know how to perform a rolling update on a DaemonSet.Performing a rollback on a DaemonSetStep 1: Find the DaemonSet revision you want to roll back toYou can skip this step if you only want to roll back to the last revision.List all revisions of a DaemonSet:kubectl rollout history daemonset <daemonset-name> This returns a list of DaemonSet revisions:daemonsets \"<daemonset-name>\" REVISION CHANGE-CAUSE 1 ... 2 ... ... Change cause is copied from DaemonSet annotation kubernetes.io/change-cause to its revisions upon creation. You may specify --record=true in kubectl to record the command executed in the change cause annotation.To see the details of a specific revision:kubectl rollout history daemonset <daemonset-name> --revision=1 This returns the details of that revision:daemonsets \"<daemonset-name>\" with revision #1 Pod Template: Labels: foo=bar Containers: app: Image: ... Port: ... Environment: ... Mounts: ... Volumes: ... Step 2: Roll back to a specific revision# Specify the revision number you get from Step 1 in --to-revision kubectl rollout undo daemonset <daemonset-name> --to-revision=<revision> If it succeeds, the command returns:daemonset \"<daemonset-name>\" rolled back Note:If --to-revision flag is not specified, kubectl picks the most recent revision.Step 3: Watch the progress of the DaemonSet rollbackkubectl rollout undo daemonset tells the server to start rolling back the DaemonSet. The real rollback is done asynchronously inside the cluster control plane.To watch the progress of the rollback:kubectl rollout status ds/<daemonset-name> When the rollback is complete, the output is similar to:daemonset \"<daemonset-name>\" successfully rolled out Understanding DaemonSet revisionsIn the previous kubectl rollout history step, you got a list of DaemonSet revisions. Each revision is stored in a resource named ControllerRevision.To see what is stored in each revision, find the DaemonSet revision raw resources:kubectl get controllerrevision -l <daemonset-selector-key>=<daemonset-selector-value> This returns a list of ControllerRevisions:NAME CONTROLLER REVISION AGE <daemonset-name>-<revision-hash> DaemonSet/<daemonset-name> 1 1h <daemonset-name>-<revision-hash> DaemonSet/<daemonset-name> 2 1h Each ControllerRevision stores the annotations and template of a DaemonSet revision.kubectl rollout undo takes a specific",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/rollback-daemon-set/",
    "id": "k8s_00461_qa_8781"
  },
  {
    "question": "What is Perform a Rollback on a DaemonSet?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   p e r f o r m   a   r o l l b a c k   o n   a   D a e m o n S e t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/rollback-daemon-set/",
    "id": "k8s_00461_section_1_8782"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 7 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/rollback-daemon-set/",
    "id": "k8s_00461_section_2_8783"
  },
  {
    "question": "What is Step 1: Find the DaemonSet revision you want to roll back to?",
    "answer": "Y o u   c a n   s k i p   t h i s   s t e p   i f   y o u   o n l y   w a n t   t o   r o l l   b a c k   t o   t h e   l a s t   r e v i s i o n .   L i s t   a l l   r e v i s i o n s   o f   a   D a e m o n S e t :   k u b e c t l   r o l l o u t   h i s t o r y   d a e m o n s e t   < d a e m o n s e t - n a m e >   T h i s   r e t u r n s   a   l i s t   o f   D a e m o n S e t   r e v i s i o n s :   d a e m o n s e t s   \" < d a e m o n s e t - n a m e > \"   R E V I S I O N   C H A N G E - C A U S E   1   . . .   2   . . .   . . .   C h a n g e   c a u s e   i s   c o p i e d   f r o m   D a e m o n S e t   a n n o t a t i o n   k u b e r n e t e s . i o / c h a n g e - c a u s e   t o   i t s   r e v i s i o n s   u p o n   c r e a t i o n .   Y o u   m a y   s p e c i f y   - - r e c o r d = t r u e   i n   k u b e c t l   t o   r e c o r d   t h e   c o m m a n d   e x e c u t e d   i n   t h e   c h a n g e   c a u s e   a n n o t a t i o n .   T o   s e e   t h e   d e t a i l s   o f   a   s p e c i f i c   r e v i s i o n :   k u b e c t l   r o l l o u t   h i s t o r y   d a e m o n s e t   < d a e m o n s e t - n a m e >   - - r e v i s i o n = 1   T h i s   r e t u r n s   t h e   d e t a i l s   o f   t h a t   r e v i s i o n :   d a e m o n s e t s   \" < d a e m o n s e t - n a m e > \"   w i t h   r e v i s i o n   # 1   P o d   T e m p l a t e :   L a b e l s :   f o o = b a r   C o n t a i n e r s :   a p p :   I m a g e :   . . .   P o r t :   . . .   E n v i r o n m e n t :   . . .   M o u n t s :   . . .   V o l u m e s :   . . .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/rollback-daemon-set/",
    "id": "k8s_00461_section_3_8784"
  },
  {
    "question": "What is Step 2: Roll back to a specific revision?",
    "answer": "#   S p e c i f y   t h e   r e v i s i o n   n u m b e r   y o u   g e t   f r o m   S t e p   1   i n   - - t o - r e v i s i o n   k u b e c t l   r o l l o u t   u n d o   d a e m o n s e t   < d a e m o n s e t - n a m e >   - - t o - r e v i s i o n = < r e v i s i o n >   I f   i t   s u c c e e d s ,   t h e   c o m m a n d   r e t u r n s :   d a e m o n s e t   \" < d a e m o n s e t - n a m e > \"   r o l l e d   b a c k",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/rollback-daemon-set/",
    "id": "k8s_00461_section_3_8785"
  },
  {
    "question": "What is Step 3: Watch the progress of the DaemonSet rollback?",
    "answer": "k u b e c t l   r o l l o u t   u n d o   d a e m o n s e t   t e l l s   t h e   s e r v e r   t o   s t a r t   r o l l i n g   b a c k   t h e   D a e m o n S e t .   T h e   r e a l   r o l l b a c k   i s   d o n e   a s y n c h r o n o u s l y   i n s i d e   t h e   c l u s t e r   c o n t r o l   p l a n e .   T o   w a t c h   t h e   p r o g r e s s   o f   t h e   r o l l b a c k :   k u b e c t l   r o l l o u t   s t a t u s   d s / < d a e m o n s e t - n a m e >   W h e n   t h e   r o l l b a c k   i s   c o m p l e t e ,   t h e   o u t p u t   i s   s i m i l a r   t o :   d a e m o n s e t   \" < d a e m o n s e t - n a m e > \"   s u c c e s s f u l l y   r o l l e d   o u t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/rollback-daemon-set/",
    "id": "k8s_00461_section_3_8786"
  },
  {
    "question": "What is Understanding DaemonSet revisions?",
    "answer": "I n   t h e   p r e v i o u s   k u b e c t l   r o l l o u t   h i s t o r y   s t e p ,   y o u   g o t   a   l i s t   o f   D a e m o n S e t   r e v i s i o n s .   E a c h   r e v i s i o n   i s   s t o r e d   i n   a   r e s o u r c e   n a m e d   C o n t r o l l e r R e v i s i o n .   T o   s e e   w h a t   i s   s t o r e d   i n   e a c h   r e v i s i o n ,   f i n d   t h e   D a e m o n S e t   r e v i s i o n   r a w   r e s o u r c e s :   k u b e c t l   g e t   c o n t r o l l e r r e v i s i o n   - l   < d a e m o n s e t - s e l e c t o r - k e y > = < d a e m o n s e t - s e l e c t o r - v a l u e >   T h i s   r e t u r n s   a   l i s t   o f   C o n t r o l l e r R e v i s i o n s :   N A M E   C O N T R O L L E R   R E V I S I O N   A G E   < d a e m o n s e t - n a m e > - < r e v i s i o n - h a s h >   D a e m o n S e t / < d a e m o n s e t - n a m e >   1   1 h   < d a e m o n s e t - n a m e > - < r e v i s i o n - h a s h >   D a e m o n S e t / < d a e m o n s e t - n a m e >   2   1 h   E a c h   C o n t r o l l e r R e v i s i o n   s t o r e s   t h e   a n n o t a t i o n s   a n d   t e m p l a t e   o f   a   D a e m o n S e t   r e v i s i o n .   k u b e c t l   r o l l o u t   u n d o   t a k e s   a   s p e c i f i c   C o n t r o l l e r R e v i s i o n   a n d   r e p l a c e s   D a e m o n S e t   t e m p l a t e   w i t h   t h e   t e m p l a t e   s t o r e d   i n   t h e   C o n t r o l l e r R e v i s i o n .   k u b e c t l   r o l l o u t   u n d o   i s   e q u i v a l e n t   t o   u p d a t i n g   D a e m o n S e t   t e m p l a t e   t o   a   p r e v i o u s   r e v i s i o n   t h r o u g h   o t h e r   c o m m a n d s ,   s u c h   a s   k u b e c t l   e d i t   o r   k u b e c t l   a p p l y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/rollback-daemon-set/",
    "id": "k8s_00461_section_2_8787"
  },
  {
    "question": "What is Troubleshooting?",
    "answer": "S e e   t r o u b l e s h o o t i n g   D a e m o n S e t   r o l l i n g   u p d a t e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/rollback-daemon-set/",
    "id": "k8s_00461_section_2_8788"
  },
  {
    "question": "What is Schedule GPUs?",
    "answer": "Schedule GPUsConfigure and schedule GPUs for use as a resource by nodes in a cluster.FEATURE STATE: Kubernetes v1.26 [stable]Kubernetes includes stable support for managing AMD and NVIDIA GPUs (graphical processing units) across different nodes in your cluster, using device plugins.This page describes how users can consume GPUs, and outlines some of the limitations in the implementation.Using device pluginsKubernetes implements device plugins to let Pods access specialized hardware features such as GPUs.Note: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.As an administrator, you have to install GPU drivers from the corresponding hardware vendor on the nodes and run the corresponding device plugin from the GPU vendor. Here are some links to vendors' instructions:AMDIntelNVIDIAOnce you have installed the plugin, your cluster exposes a custom schedulable resource such as amd.com/gpu or nvidia.com/gpu.You can consume these GPUs from your containers by requesting the custom GPU resource, the same way you request cpu or memory. However, there are some limitations in how you specify the resource requirements for custom devices.GPUs are only supposed to be specified in the limits section, which means:You can specify GPU limits without specifying requests, because Kubernetes will use the limit as the request value by default.You can specify GPU in both limits and requests but these two values must be equal.You cannot specify GPU requests without specifying limits.Here's an example manifest for a Pod that requests a GPU:apiVersion: v1 kind: Pod metadata: name: example-vector-add spec: restartPolicy: OnFailure containers: - name: example-vector-add image: \"registry.example/example-vector-add:v42\" resources: limits: gpu-vendor.example/example-gpu: 1 # requesting 1 GPU Manage clusters with different types of GPUsIf different nodes in your cluster have different types of GPUs, then you can use Node Labels and Node Selectors to schedule pods to appropriate nodes.For example:# Label your nodes with the accelerator type they have. kubectl label nodes node1 accelerator=example-gpu-x100 kubectl label nodes node2 accelerator=other-gpu-k915 That label key accelerator is just an example; you can use a different label key if you prefer.Automatic node labellingAs an administrator, you can automatically discover and label all your GPU enabled nodes by deploying Kubernetes Node Feature Discovery (NFD). NFD detects the hardware features that are available on each node in a Kubernetes cluster. Typically, NFD is configured to advertise those features as node labels, but NFD can also add extended resources, annotations, and node taints. NFD is compatible with all supported versions of Kubernetes. By default NFD create the feature ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/",
    "id": "k8s_00462_qa_8789"
  },
  {
    "question": "How does Schedule GPUs work?",
    "answer": "Schedule GPUsConfigure and schedule GPUs for use as a resource by nodes in a cluster.FEATURE STATE: Kubernetes v1.26 [stable]Kubernetes includes stable support for managing AMD and NVIDIA GPUs (graphical processing units) across different nodes in your cluster, using device plugins.This page describes how users can consume GPUs, and outlines some of the limitations in the implementation.Using device pluginsKubernetes implements device plugins to let Pods access specialized hardware features such as GPUs.Note: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.As an administrator, you have to install GPU drivers from the corresponding hardware vendor on the nodes and run the corresponding device plugin from the GPU vendor. Here are some links to vendors' instructions:AMDIntelNVIDIAOnce you have installed the plugin, your cluster exposes a custom schedulable resource such as amd.com/gpu or nvidia.com/gpu.You can consume these GPUs from your containers by requesting the custom GPU resource, the same way you request cpu or memory. However, there are some limitations in how you specify the resource requirements for custom devices.GPUs are only supposed to be specified in the limits section, which means:You can specify GPU limits without specifying requests, because Kubernetes will use the limit as the request value by default.You can specify GPU in both limits and requests but these two values must be equal.You cannot specify GPU requests without specifying limits.Here's an example manifest for a Pod that requests a GPU:apiVersion: v1 kind: Pod metadata: name: example-vector-add spec: restartPolicy: OnFailure containers: - name: example-vector-add image: \"registry.example/example-vector-add:v42\" resources: limits: gpu-vendor.example/example-gpu: 1 # requesting 1 GPU Manage clusters with different types of GPUsIf different nodes in your cluster have different types of GPUs, then you can use Node Labels and Node Selectors to schedule pods to appropriate nodes.For example:# Label your nodes with the accelerator type they have. kubectl label nodes node1 accelerator=example-gpu-x100 kubectl label nodes node2 accelerator=other-gpu-k915 That label key accelerator is just an example; you can use a different label key if you prefer.Automatic node labellingAs an administrator, you can automatically discover and label all your GPU enabled nodes by deploying Kubernetes Node Feature Discovery (NFD). NFD detects the hardware features that are available on each node in a Kubernetes cluster. Typically, NFD is configured to advertise those features as node labels, but NFD can also add extended resources, annotations, and node taints. NFD is compatible with all supported versions of Kubernetes. By default NFD create the feature ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/",
    "id": "k8s_00462_qa_8790"
  },
  {
    "question": "When would you use Schedule GPUs?",
    "answer": "Schedule GPUsConfigure and schedule GPUs for use as a resource by nodes in a cluster.FEATURE STATE: Kubernetes v1.26 [stable]Kubernetes includes stable support for managing AMD and NVIDIA GPUs (graphical processing units) across different nodes in your cluster, using device plugins.This page describes how users can consume GPUs, and outlines some of the limitations in the implementation.Using device pluginsKubernetes implements device plugins to let Pods access specialized hardware features such as GPUs.Note: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.As an administrator, you have to install GPU drivers from the corresponding hardware vendor on the nodes and run the corresponding device plugin from the GPU vendor. Here are some links to vendors' instructions:AMDIntelNVIDIAOnce you have installed the plugin, your cluster exposes a custom schedulable resource such as amd.com/gpu or nvidia.com/gpu.You can consume these GPUs from your containers by requesting the custom GPU resource, the same way you request cpu or memory. However, there are some limitations in how you specify the resource requirements for custom devices.GPUs are only supposed to be specified in the limits section, which means:You can specify GPU limits without specifying requests, because Kubernetes will use the limit as the request value by default.You can specify GPU in both limits and requests but these two values must be equal.You cannot specify GPU requests without specifying limits.Here's an example manifest for a Pod that requests a GPU:apiVersion: v1 kind: Pod metadata: name: example-vector-add spec: restartPolicy: OnFailure containers: - name: example-vector-add image: \"registry.example/example-vector-add:v42\" resources: limits: gpu-vendor.example/example-gpu: 1 # requesting 1 GPU Manage clusters with different types of GPUsIf different nodes in your cluster have different types of GPUs, then you can use Node Labels and Node Selectors to schedule pods to appropriate nodes.For example:# Label your nodes with the accelerator type they have. kubectl label nodes node1 accelerator=example-gpu-x100 kubectl label nodes node2 accelerator=other-gpu-k915 That label key accelerator is just an example; you can use a different label key if you prefer.Automatic node labellingAs an administrator, you can automatically discover and label all your GPU enabled nodes by deploying Kubernetes Node Feature Discovery (NFD). NFD detects the hardware features that are available on each node in a Kubernetes cluster. Typically, NFD is configured to advertise those features as node labels, but NFD can also add extended resources, annotations, and node taints. NFD is compatible with all supported versions of Kubernetes. By default NFD create the feature ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/",
    "id": "k8s_00462_qa_8791"
  },
  {
    "question": "What are the benefits of Schedule GPUs?",
    "answer": "Schedule GPUsConfigure and schedule GPUs for use as a resource by nodes in a cluster.FEATURE STATE: Kubernetes v1.26 [stable]Kubernetes includes stable support for managing AMD and NVIDIA GPUs (graphical processing units) across different nodes in your cluster, using device plugins.This page describes how users can consume GPUs, and outlines some of the limitations in the implementation.Using device pluginsKubernetes implements device plugins to let Pods access specialized hardware features such as GPUs.Note: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.As an administrator, you have to install GPU drivers from the corresponding hardware vendor on the nodes and run the corresponding device plugin from the GPU vendor. Here are some links to vendors' instructions:AMDIntelNVIDIAOnce you have installed the plugin, your cluster exposes a custom schedulable resource such as amd.com/gpu or nvidia.com/gpu.You can consume these GPUs from your containers by requesting the custom GPU resource, the same way you request cpu or memory. However, there are some limitations in how you specify the resource requirements for custom devices.GPUs are only supposed to be specified in the limits section, which means:You can specify GPU limits without specifying requests, because Kubernetes will use the limit as the request value by default.You can specify GPU in both limits and requests but these two values must be equal.You cannot specify GPU requests without specifying limits.Here's an example manifest for a Pod that requests a GPU:apiVersion: v1 kind: Pod metadata: name: example-vector-add spec: restartPolicy: OnFailure containers: - name: example-vector-add image: \"registry.example/example-vector-add:v42\" resources: limits: gpu-vendor.example/example-gpu: 1 # requesting 1 GPU Manage clusters with different types of GPUsIf different nodes in your cluster have different types of GPUs, then you can use Node Labels and Node Selectors to schedule pods to appropriate nodes.For example:# Label your nodes with the accelerator type they have. kubectl label nodes node1 accelerator=example-gpu-x100 kubectl label nodes node2 accelerator=other-gpu-k915 That label key accelerator is just an example; you can use a different label key if you prefer.Automatic node labellingAs an administrator, you can automatically discover and label all your GPU enabled nodes by deploying Kubernetes Node Feature Discovery (NFD). NFD detects the hardware features that are available on each node in a Kubernetes cluster. Typically, NFD is configured to advertise those features as node labels, but NFD can also add extended resources, annotations, and node taints. NFD is compatible with all supported versions of Kubernetes. By default NFD create the feature ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/",
    "id": "k8s_00462_qa_8792"
  },
  {
    "question": "What is Schedule GPUs?",
    "answer": "K u b e r n e t e s   i n c l u d e s   s t a b l e   s u p p o r t   f o r   m a n a g i n g   A M D   a n d   N V I D I A   G P U s   ( g r a p h i c a l   p r o c e s s i n g   u n i t s )   a c r o s s   d i f f e r e n t   n o d e s   i n   y o u r   c l u s t e r ,   u s i n g   d e v i c e   p l u g i n s .   T h i s   p a g e   d e s c r i b e s   h o w   u s e r s   c a n   c o n s u m e   G P U s ,   a n d   o u t l i n e s   s o m e   o f   t h e   l i m i t a t i o n s   i n   t h e   i m p l e m e n t a t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/",
    "id": "k8s_00462_section_1_8793"
  },
  {
    "question": "What is Using device plugins?",
    "answer": "K u b e r n e t e s   i m p l e m e n t s   d e v i c e   p l u g i n s   t o   l e t   P o d s   a c c e s s   s p e c i a l i z e d   h a r d w a r e   f e a t u r e s   s u c h   a s   G P U s .   A s   a n   a d m i n i s t r a t o r ,   y o u   h a v e   t o   i n s t a l l   G P U   d r i v e r s   f r o m   t h e   c o r r e s p o n d i n g   h a r d w a r e   v e n d o r   o n   t h e   n o d e s   a n d   r u n   t h e   c o r r e s p o n d i n g   d e v i c e   p l u g i n   f r o m   t h e   G P U   v e n d o r .   H e r e   a r e   s o m e   l i n k s   t o   v e n d o r s '   i n s t r u c t i o n s :   A M D I n t e l N V I D I A   O n c e   y o u   h a v e   i n s t a l l e d   t h e   p l u g i n ,   y o u r   c l u s t e r   e x p o s e s   a   c u s t o m   s c h e d u l a b l e   r e s o u r c e   s u c h   a s   a m d . c o m / g p u   o r   n v i d i a . c o m / g p u .   Y o u   c a n   c o n s u m e   t h e s e   G P U s   f r o m   y o u r   c o n t a i n e r s   b y   r e q u e s t i n g   t h e   c u s t o m   G P U   r e s o u r c e ,   t h e   s a m e   w a y   y o u   r e q u e s t   c p u   o r   m e m o r y .   H o w e v e r ,   t h e r e   a r e   s o m e   l i m i t a t i o n s   i n   h o w   y o u   s p e c i f y   t h e   r e s o u r c e   r e q u i r e m e n t s   f o r   c u s t o m   d e v i c e s .   G P U s   a r e   o n l y   s u p p o s e d   t o   b e   s p e c i f i e d   i n   t h e   l i m i t s   s e c t i o n ,   w h i c h   m e a n s :   Y o u   c a n   s p e c i f y   G P U   l i m i t s   w i t h o u t   s p e c i f y i n g   r e q u e s t s ,   b e c a u s e   K u b e r n e t e s   w i l l   u s e   t h e   l i m i t   a s   t h e   r e q u e s t   v a l u e   b y   d e f a u l t . Y o u   c a n   s p e c i f y   G P U   i n   b o t h   l i m i t s   a n d   r e q u e s t s   b u t   t h e s e   t w o   v a l u e s   m u s t   b e   e q u a l . Y o u   c a n n o t   s p e c i f y   G P U   r e q u e s t s   w i t ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/",
    "id": "k8s_00462_section_2_8794"
  },
  {
    "question": "What is Manage clusters with different types of GPUs?",
    "answer": "I f   d i f f e r e n t   n o d e s   i n   y o u r   c l u s t e r   h a v e   d i f f e r e n t   t y p e s   o f   G P U s ,   t h e n   y o u   c a n   u s e   N o d e   L a b e l s   a n d   N o d e   S e l e c t o r s   t o   s c h e d u l e   p o d s   t o   a p p r o p r i a t e   n o d e s .   F o r   e x a m p l e :   #   L a b e l   y o u r   n o d e s   w i t h   t h e   a c c e l e r a t o r   t y p e   t h e y   h a v e .   k u b e c t l   l a b e l   n o d e s   n o d e 1   a c c e l e r a t o r = e x a m p l e - g p u - x 1 0 0   k u b e c t l   l a b e l   n o d e s   n o d e 2   a c c e l e r a t o r = o t h e r - g p u - k 9 1 5   T h a t   l a b e l   k e y   a c c e l e r a t o r   i s   j u s t   a n   e x a m p l e ;   y o u   c a n   u s e   a   d i f f e r e n t   l a b e l   k e y   i f   y o u   p r e f e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/",
    "id": "k8s_00462_section_2_8795"
  },
  {
    "question": "What is Automatic node labelling?",
    "answer": "A s   a n   a d m i n i s t r a t o r ,   y o u   c a n   a u t o m a t i c a l l y   d i s c o v e r   a n d   l a b e l   a l l   y o u r   G P U   e n a b l e d   n o d e s   b y   d e p l o y i n g   K u b e r n e t e s   N o d e   F e a t u r e   D i s c o v e r y   ( N F D ) .   N F D   d e t e c t s   t h e   h a r d w a r e   f e a t u r e s   t h a t   a r e   a v a i l a b l e   o n   e a c h   n o d e   i n   a   K u b e r n e t e s   c l u s t e r .   T y p i c a l l y ,   N F D   i s   c o n f i g u r e d   t o   a d v e r t i s e   t h o s e   f e a t u r e s   a s   n o d e   l a b e l s ,   b u t   N F D   c a n   a l s o   a d d   e x t e n d e d   r e s o u r c e s ,   a n n o t a t i o n s ,   a n d   n o d e   t a i n t s .   N F D   i s   c o m p a t i b l e   w i t h   a l l   s u p p o r t e d   v e r s i o n s   o f   K u b e r n e t e s .   B y   d e f a u l t   N F D   c r e a t e   t h e   f e a t u r e   l a b e l s   f o r   t h e   d e t e c t e d   f e a t u r e s .   A d m i n i s t r a t o r s   c a n   l e v e r a g e   N F D   t o   a l s o   t a i n t   n o d e s   w i t h   s p e c i f i c   f e a t u r e s ,   s o   t h a t   o n l y   p o d s   t h a t   r e q u e s t   t h o s e   f e a t u r e s   c a n   b e   s c h e d u l e d   o n   t h o s e   n o d e s .   Y o u   a l s o   n e e d   a   p l u g i n   f o r   N F D   t h a t   a d d s   a p p r o p r i a t e   l a b e l s   t o   y o u r   n o d e s ;   t h e s e   m i g h t   b e   g e n e r i c   l a b e l s   o r   t h e y   c o u l d   b e   v e n d o r   s p e c i f i c .   Y o u r   G P U   v e n d o r   m a y   p r o v i d e   a   t h i r d   p a r t y   p l u g i n   f o r   N F D ;   c h e c k   t h e i r   d o c u m e n t a t i o n   f o r   m o r e   d e t a i l s .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e x a m p l e - v e c t o r - a d d   s p e c :   r e s t a r t P o l i c y :   O n F a i l u r e   #   Y o u   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/",
    "id": "k8s_00462_section_2_8796"
  },
  {
    "question": "What is GPU vendor implementations?",
    "answer": "I n t e l N V I D I A   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/",
    "id": "k8s_00462_section_4_8797"
  },
  {
    "question": "What is Kubernetes API Aggregation Layer?",
    "answer": "Kubernetes API Aggregation LayerThe aggregation layer allows Kubernetes to be extended with additional APIs, beyond what is offered by the core Kubernetes APIs. The additional APIs can either be ready-made solutions such as a metrics server, or APIs that you develop yourself.The aggregation layer is different from Custom Resource Definitions, which are a way to make the kube-apiserver recognise new kinds of object.Aggregation layerThe aggregation layer runs in-process with the kube-apiserver. Until an extension resource is registered, the aggregation layer will do nothing. To register an API, you add an APIService object, which \"claims\" the URL path in the Kubernetes API. At that point, the aggregation layer will proxy anything sent to that API path (e.g. /apis/myextension.mycompany.io/v1/…) to the registered APIService.The most common way to implement the APIService is to run an extension API server in Pod(s) that run in your cluster. If you're using the extension API server to manage resources in your cluster, the extension API server (also written as \"extension-apiserver\") is typically paired with one or more controllers. The apiserver-builder library provides a skeleton for both extension API servers and the associated controller(s).Response latencyExtension API servers should have low latency networking to and from the kube-apiserver. Discovery requests are required to round-trip from the kube-apiserver in five seconds or less.If your extension API server cannot achieve that latency requirement, consider making changes that let you meet it.What's nextTo get the aggregator working in your environment, configure the aggregation layer.Then, setup an extension api-server to work with the aggregation layer.Read about APIService in the API referenceLearn about Declarative Validation Concepts, an internal mechanism for defining validation rules that in the future will help support validation for extension API server development.Alternatively: learn how to extend the Kubernetes API using Custom Resource Definitions.",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/apiserver-aggregation/",
    "id": "k8s_00463_qa_8798"
  },
  {
    "question": "How does Kubernetes API Aggregation Layer work?",
    "answer": "Kubernetes API Aggregation LayerThe aggregation layer allows Kubernetes to be extended with additional APIs, beyond what is offered by the core Kubernetes APIs. The additional APIs can either be ready-made solutions such as a metrics server, or APIs that you develop yourself.The aggregation layer is different from Custom Resource Definitions, which are a way to make the kube-apiserver recognise new kinds of object.Aggregation layerThe aggregation layer runs in-process with the kube-apiserver. Until an extension resource is registered, the aggregation layer will do nothing. To register an API, you add an APIService object, which \"claims\" the URL path in the Kubernetes API. At that point, the aggregation layer will proxy anything sent to that API path (e.g. /apis/myextension.mycompany.io/v1/…) to the registered APIService.The most common way to implement the APIService is to run an extension API server in Pod(s) that run in your cluster. If you're using the extension API server to manage resources in your cluster, the extension API server (also written as \"extension-apiserver\") is typically paired with one or more controllers. The apiserver-builder library provides a skeleton for both extension API servers and the associated controller(s).Response latencyExtension API servers should have low latency networking to and from the kube-apiserver. Discovery requests are required to round-trip from the kube-apiserver in five seconds or less.If your extension API server cannot achieve that latency requirement, consider making changes that let you meet it.What's nextTo get the aggregator working in your environment, configure the aggregation layer.Then, setup an extension api-server to work with the aggregation layer.Read about APIService in the API referenceLearn about Declarative Validation Concepts, an internal mechanism for defining validation rules that in the future will help support validation for extension API server development.Alternatively: learn how to extend the Kubernetes API using Custom Resource Definitions.",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/apiserver-aggregation/",
    "id": "k8s_00463_qa_8799"
  },
  {
    "question": "When would you use Kubernetes API Aggregation Layer?",
    "answer": "Kubernetes API Aggregation LayerThe aggregation layer allows Kubernetes to be extended with additional APIs, beyond what is offered by the core Kubernetes APIs. The additional APIs can either be ready-made solutions such as a metrics server, or APIs that you develop yourself.The aggregation layer is different from Custom Resource Definitions, which are a way to make the kube-apiserver recognise new kinds of object.Aggregation layerThe aggregation layer runs in-process with the kube-apiserver. Until an extension resource is registered, the aggregation layer will do nothing. To register an API, you add an APIService object, which \"claims\" the URL path in the Kubernetes API. At that point, the aggregation layer will proxy anything sent to that API path (e.g. /apis/myextension.mycompany.io/v1/…) to the registered APIService.The most common way to implement the APIService is to run an extension API server in Pod(s) that run in your cluster. If you're using the extension API server to manage resources in your cluster, the extension API server (also written as \"extension-apiserver\") is typically paired with one or more controllers. The apiserver-builder library provides a skeleton for both extension API servers and the associated controller(s).Response latencyExtension API servers should have low latency networking to and from the kube-apiserver. Discovery requests are required to round-trip from the kube-apiserver in five seconds or less.If your extension API server cannot achieve that latency requirement, consider making changes that let you meet it.What's nextTo get the aggregator working in your environment, configure the aggregation layer.Then, setup an extension api-server to work with the aggregation layer.Read about APIService in the API referenceLearn about Declarative Validation Concepts, an internal mechanism for defining validation rules that in the future will help support validation for extension API server development.Alternatively: learn how to extend the Kubernetes API using Custom Resource Definitions.",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/apiserver-aggregation/",
    "id": "k8s_00463_qa_8800"
  },
  {
    "question": "What are the benefits of Kubernetes API Aggregation Layer?",
    "answer": "Kubernetes API Aggregation LayerThe aggregation layer allows Kubernetes to be extended with additional APIs, beyond what is offered by the core Kubernetes APIs. The additional APIs can either be ready-made solutions such as a metrics server, or APIs that you develop yourself.The aggregation layer is different from Custom Resource Definitions, which are a way to make the kube-apiserver recognise new kinds of object.Aggregation layerThe aggregation layer runs in-process with the kube-apiserver. Until an extension resource is registered, the aggregation layer will do nothing. To register an API, you add an APIService object, which \"claims\" the URL path in the Kubernetes API. At that point, the aggregation layer will proxy anything sent to that API path (e.g. /apis/myextension.mycompany.io/v1/…) to the registered APIService.The most common way to implement the APIService is to run an extension API server in Pod(s) that run in your cluster. If you're using the extension API server to manage resources in your cluster, the extension API server (also written as \"extension-apiserver\") is typically paired with one or more controllers. The apiserver-builder library provides a skeleton for both extension API servers and the associated controller(s).Response latencyExtension API servers should have low latency networking to and from the kube-apiserver. Discovery requests are required to round-trip from the kube-apiserver in five seconds or less.If your extension API server cannot achieve that latency requirement, consider making changes that let you meet it.What's nextTo get the aggregator working in your environment, configure the aggregation layer.Then, setup an extension api-server to work with the aggregation layer.Read about APIService in the API referenceLearn about Declarative Validation Concepts, an internal mechanism for defining validation rules that in the future will help support validation for extension API server development.Alternatively: learn how to extend the Kubernetes API using Custom Resource Definitions.",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/apiserver-aggregation/",
    "id": "k8s_00463_qa_8801"
  },
  {
    "question": "What is Kubernetes API Aggregation Layer?",
    "answer": "T h e   a g g r e g a t i o n   l a y e r   a l l o w s   K u b e r n e t e s   t o   b e   e x t e n d e d   w i t h   a d d i t i o n a l   A P I s ,   b e y o n d   w h a t   i s   o f f e r e d   b y   t h e   c o r e   K u b e r n e t e s   A P I s .   T h e   a d d i t i o n a l   A P I s   c a n   e i t h e r   b e   r e a d y - m a d e   s o l u t i o n s   s u c h   a s   a   m e t r i c s   s e r v e r ,   o r   A P I s   t h a t   y o u   d e v e l o p   y o u r s e l f .   T h e   a g g r e g a t i o n   l a y e r   i s   d i f f e r e n t   f r o m   C u s t o m   R e s o u r c e   D e f i n i t i o n s ,   w h i c h   a r e   a   w a y   t o   m a k e   t h e   k u b e - a p i s e r v e r   r e c o g n i s e   n e w   k i n d s   o f   o b j e c t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/apiserver-aggregation/",
    "id": "k8s_00463_section_1_8802"
  },
  {
    "question": "What is Aggregation layer?",
    "answer": "T h e   a g g r e g a t i o n   l a y e r   r u n s   i n - p r o c e s s   w i t h   t h e   k u b e - a p i s e r v e r .   U n t i l   a n   e x t e n s i o n   r e s o u r c e   i s   r e g i s t e r e d ,   t h e   a g g r e g a t i o n   l a y e r   w i l l   d o   n o t h i n g .   T o   r e g i s t e r   a n   A P I ,   y o u   a d d   a n   A P I S e r v i c e   o b j e c t ,   w h i c h   \" c l a i m s \"   t h e   U R L   p a t h   i n   t h e   K u b e r n e t e s   A P I .   A t   t h a t   p o i n t ,   t h e   a g g r e g a t i o n   l a y e r   w i l l   p r o x y   a n y t h i n g   s e n t   t o   t h a t   A P I   p a t h   ( e . g .   / a p i s / m y e x t e n s i o n . m y c o m p a n y . i o / v 1 / … )   t o   t h e   r e g i s t e r e d   A P I S e r v i c e .   T h e   m o s t   c o m m o n   w a y   t o   i m p l e m e n t   t h e   A P I S e r v i c e   i s   t o   r u n   a n   e x t e n s i o n   A P I   s e r v e r   i n   P o d ( s )   t h a t   r u n   i n   y o u r   c l u s t e r .   I f   y o u ' r e   u s i n g   t h e   e x t e n s i o n   A P I   s e r v e r   t o   m a n a g e   r e s o u r c e s   i n   y o u r   c l u s t e r ,   t h e   e x t e n s i o n   A P I   s e r v e r   ( a l s o   w r i t t e n   a s   \" e x t e n s i o n - a p i s e r v e r \" )   i s   t y p i c a l l y   p a i r e d   w i t h   o n e   o r   m o r e   c o n t r o l l e r s .   T h e   a p i s e r v e r - b u i l d e r   l i b r a r y   p r o v i d e s   a   s k e l e t o n   f o r   b o t h   e x t e n s i o n   A P I   s e r v e r s   a n d   t h e   a s s o c i a t e d   c o n t r o l l e r ( s ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/apiserver-aggregation/",
    "id": "k8s_00463_section_2_8803"
  },
  {
    "question": "What is Response latency?",
    "answer": "E x t e n s i o n   A P I   s e r v e r s   s h o u l d   h a v e   l o w   l a t e n c y   n e t w o r k i n g   t o   a n d   f r o m   t h e   k u b e - a p i s e r v e r .   D i s c o v e r y   r e q u e s t s   a r e   r e q u i r e d   t o   r o u n d - t r i p   f r o m   t h e   k u b e - a p i s e r v e r   i n   f i v e   s e c o n d s   o r   l e s s .   I f   y o u r   e x t e n s i o n   A P I   s e r v e r   c a n n o t   a c h i e v e   t h a t   l a t e n c y   r e q u i r e m e n t ,   c o n s i d e r   m a k i n g   c h a n g e s   t h a t   l e t   y o u   m e e t   i t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/apiserver-aggregation/",
    "id": "k8s_00463_section_3_8804"
  },
  {
    "question": "What is What's next?",
    "answer": "T o   g e t   t h e   a g g r e g a t o r   w o r k i n g   i n   y o u r   e n v i r o n m e n t ,   c o n f i g u r e   t h e   a g g r e g a t i o n   l a y e r . T h e n ,   s e t u p   a n   e x t e n s i o n   a p i - s e r v e r   t o   w o r k   w i t h   t h e   a g g r e g a t i o n   l a y e r . R e a d   a b o u t   A P I S e r v i c e   i n   t h e   A P I   r e f e r e n c e L e a r n   a b o u t   D e c l a r a t i v e   V a l i d a t i o n   C o n c e p t s ,   a n   i n t e r n a l   m e c h a n i s m   f o r   d e f i n i n g   v a l i d a t i o n   r u l e s   t h a t   i n   t h e   f u t u r e   w i l l   h e l p   s u p p o r t   v a l i d a t i o n   f o r   e x t e n s i o n   A P I   s e r v e r   d e v e l o p m e n t .   A l t e r n a t i v e l y :   l e a r n   h o w   t o   e x t e n d   t h e   K u b e r n e t e s   A P I   u s i n g   C u s t o m   R e s o u r c e   D e f i n i t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/apiserver-aggregation/",
    "id": "k8s_00463_section_2_8805"
  },
  {
    "question": "What is HorizontalPodAutoscaler?",
    "answer": "HorizontalPodAutoscalerconfiguration of a horizontal pod autoscaler.apiVersion: autoscaling/v1import \"k8s.io/api/autoscaling/v1\"HorizontalPodAutoscalerconfiguration of a horizontal pod autoscaler.apiVersion: autoscaling/v1kind: HorizontalPodAutoscalermetadata (ObjectMeta)Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (HorizontalPodAutoscalerSpec)spec defines the behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.status (HorizontalPodAutoscalerStatus)status is the current information about the autoscaler.HorizontalPodAutoscalerSpecspecification of a horizontal pod autoscaler.maxReplicas (int32), requiredmaxReplicas is the upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.scaleTargetRef (CrossVersionObjectReference), requiredreference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource.CrossVersionObjectReference contains enough information to let you identify the referred resource.scaleTargetRef.kind (string), requiredkind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsscaleTargetRef.name (string), requiredname is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesscaleTargetRef.apiVersion (string)apiVersion is the API version of the referentminReplicas (int32)minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.targetCPUUtilizationPercentage (int32)targetCPUUtilizationPercentage is the target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.HorizontalPodAutoscalerStatuscurrent status of a horizontal pod autoscalercurrentReplicas (int32), requiredcurrentReplicas is the current number of replicas of pods managed by this autoscaler.desiredReplicas (int32), requireddesiredReplicas is the desired number of replicas of pods managed by this autoscaler.currentCPUUtilizationPercentage (int32)currentCPUUtilizationPercentage is the current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.lastScaleTime (Time)lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.Time is a wrapper around time.Time whi",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_qa_8806"
  },
  {
    "question": "How does HorizontalPodAutoscaler work?",
    "answer": "HorizontalPodAutoscalerconfiguration of a horizontal pod autoscaler.apiVersion: autoscaling/v1import \"k8s.io/api/autoscaling/v1\"HorizontalPodAutoscalerconfiguration of a horizontal pod autoscaler.apiVersion: autoscaling/v1kind: HorizontalPodAutoscalermetadata (ObjectMeta)Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (HorizontalPodAutoscalerSpec)spec defines the behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.status (HorizontalPodAutoscalerStatus)status is the current information about the autoscaler.HorizontalPodAutoscalerSpecspecification of a horizontal pod autoscaler.maxReplicas (int32), requiredmaxReplicas is the upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.scaleTargetRef (CrossVersionObjectReference), requiredreference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource.CrossVersionObjectReference contains enough information to let you identify the referred resource.scaleTargetRef.kind (string), requiredkind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsscaleTargetRef.name (string), requiredname is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesscaleTargetRef.apiVersion (string)apiVersion is the API version of the referentminReplicas (int32)minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.targetCPUUtilizationPercentage (int32)targetCPUUtilizationPercentage is the target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.HorizontalPodAutoscalerStatuscurrent status of a horizontal pod autoscalercurrentReplicas (int32), requiredcurrentReplicas is the current number of replicas of pods managed by this autoscaler.desiredReplicas (int32), requireddesiredReplicas is the desired number of replicas of pods managed by this autoscaler.currentCPUUtilizationPercentage (int32)currentCPUUtilizationPercentage is the current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.lastScaleTime (Time)lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.Time is a wrapper around time.Time whi",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_qa_8807"
  },
  {
    "question": "When would you use HorizontalPodAutoscaler?",
    "answer": "HorizontalPodAutoscalerconfiguration of a horizontal pod autoscaler.apiVersion: autoscaling/v1import \"k8s.io/api/autoscaling/v1\"HorizontalPodAutoscalerconfiguration of a horizontal pod autoscaler.apiVersion: autoscaling/v1kind: HorizontalPodAutoscalermetadata (ObjectMeta)Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (HorizontalPodAutoscalerSpec)spec defines the behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.status (HorizontalPodAutoscalerStatus)status is the current information about the autoscaler.HorizontalPodAutoscalerSpecspecification of a horizontal pod autoscaler.maxReplicas (int32), requiredmaxReplicas is the upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.scaleTargetRef (CrossVersionObjectReference), requiredreference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource.CrossVersionObjectReference contains enough information to let you identify the referred resource.scaleTargetRef.kind (string), requiredkind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsscaleTargetRef.name (string), requiredname is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesscaleTargetRef.apiVersion (string)apiVersion is the API version of the referentminReplicas (int32)minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.targetCPUUtilizationPercentage (int32)targetCPUUtilizationPercentage is the target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.HorizontalPodAutoscalerStatuscurrent status of a horizontal pod autoscalercurrentReplicas (int32), requiredcurrentReplicas is the current number of replicas of pods managed by this autoscaler.desiredReplicas (int32), requireddesiredReplicas is the desired number of replicas of pods managed by this autoscaler.currentCPUUtilizationPercentage (int32)currentCPUUtilizationPercentage is the current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.lastScaleTime (Time)lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.Time is a wrapper around time.Time whi",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_qa_8808"
  },
  {
    "question": "What are the benefits of HorizontalPodAutoscaler?",
    "answer": "HorizontalPodAutoscalerconfiguration of a horizontal pod autoscaler.apiVersion: autoscaling/v1import \"k8s.io/api/autoscaling/v1\"HorizontalPodAutoscalerconfiguration of a horizontal pod autoscaler.apiVersion: autoscaling/v1kind: HorizontalPodAutoscalermetadata (ObjectMeta)Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (HorizontalPodAutoscalerSpec)spec defines the behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.status (HorizontalPodAutoscalerStatus)status is the current information about the autoscaler.HorizontalPodAutoscalerSpecspecification of a horizontal pod autoscaler.maxReplicas (int32), requiredmaxReplicas is the upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.scaleTargetRef (CrossVersionObjectReference), requiredreference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource.CrossVersionObjectReference contains enough information to let you identify the referred resource.scaleTargetRef.kind (string), requiredkind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsscaleTargetRef.name (string), requiredname is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesscaleTargetRef.apiVersion (string)apiVersion is the API version of the referentminReplicas (int32)minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.targetCPUUtilizationPercentage (int32)targetCPUUtilizationPercentage is the target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.HorizontalPodAutoscalerStatuscurrent status of a horizontal pod autoscalercurrentReplicas (int32), requiredcurrentReplicas is the current number of replicas of pods managed by this autoscaler.desiredReplicas (int32), requireddesiredReplicas is the desired number of replicas of pods managed by this autoscaler.currentCPUUtilizationPercentage (int32)currentCPUUtilizationPercentage is the current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.lastScaleTime (Time)lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.Time is a wrapper around time.Time whi",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_qa_8809"
  },
  {
    "question": "What is HorizontalPodAutoscaler?",
    "answer": "a p i V e r s i o n :   a u t o s c a l i n g / v 1   i m p o r t   \" k 8 s . i o / a p i / a u t o s c a l i n g / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_1_8810"
  },
  {
    "question": "What is HorizontalPodAutoscaler?",
    "answer": "c o n f i g u r a t i o n   o f   a   h o r i z o n t a l   p o d   a u t o s c a l e r .   a p i V e r s i o n :   a u t o s c a l i n g / v 1 k i n d :   H o r i z o n t a l P o d A u t o s c a l e r m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( H o r i z o n t a l P o d A u t o s c a l e r S p e c ) s p e c   d e f i n e s   t h e   b e h a v i o u r   o f   a u t o s c a l e r .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s . s t a t u s   ( H o r i z o n t a l P o d A u t o s c a l e r S t a t u s ) s t a t u s   i s   t h e   c u r r e n t   i n f o r m a t i o n   a b o u t   t h e   a u t o s c a l e r .   a p i V e r s i o n :   a u t o s c a l i n g / v 1   k i n d :   H o r i z o n t a l P o d A u t o s c a l e r   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( H o r i z o n t a l P o d A u t o s c a l e r S p e c )   s p e c   d e f i n e s   t h e   b e h a v i o u r   o f   a u t o s c a l e r .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s .   s t a t u s   ( H o r i z o n t a l P o d A u t o s c a l e r S t a t u s )   s t a t u s   i s   t h e   c u r r e n t   i n f o r m a t i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_2_8811"
  },
  {
    "question": "What is HorizontalPodAutoscalerSpec?",
    "answer": "s p e c i f i c a t i o n   o f   a   h o r i z o n t a l   p o d   a u t o s c a l e r .   m a x R e p l i c a s   ( i n t 3 2 ) ,   r e q u i r e d m a x R e p l i c a s   i s   t h e   u p p e r   l i m i t   f o r   t h e   n u m b e r   o f   p o d s   t h a t   c a n   b e   s e t   b y   t h e   a u t o s c a l e r ;   c a n n o t   b e   s m a l l e r   t h a n   M i n R e p l i c a s . s c a l e T a r g e t R e f   ( C r o s s V e r s i o n O b j e c t R e f e r e n c e ) ,   r e q u i r e d r e f e r e n c e   t o   s c a l e d   r e s o u r c e ;   h o r i z o n t a l   p o d   a u t o s c a l e r   w i l l   l e a r n   t h e   c u r r e n t   r e s o u r c e   c o n s u m p t i o n   a n d   w i l l   s e t   t h e   d e s i r e d   n u m b e r   o f   p o d s   b y   u s i n g   i t s   S c a l e   s u b r e s o u r c e . C r o s s V e r s i o n O b j e c t R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   i d e n t i f y   t h e   r e f e r r e d   r e s o u r c e . s c a l e T a r g e t R e f . k i n d   ( s t r i n g ) ,   r e q u i r e d k i n d   i s   t h e   k i n d   o f   t h e   r e f e r e n t ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s s c a l e T a r g e t R e f . n a m e   ( s t r i n g ) ,   r e q u i r e d n a m e   i s   t h e   n a m e   o f   t h e   r e f e r e n t ;   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s / # n a m e s s c a l e T a r g e t R e f . a p i V e r s i o n   ( s t r i n g ) a p i V e r s i o n   i s   t h e   A P I   v e r s i o n   o f   t h e   r e f e r e n t m i n R e p l i c a s   ( i n t 3 2 ) m i n R e p l i c a s   i s   t h e   l o w e r   l i m i t   f o r   t h e   n u ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_2_8812"
  },
  {
    "question": "What is HorizontalPodAutoscalerStatus?",
    "answer": "c u r r e n t   s t a t u s   o f   a   h o r i z o n t a l   p o d   a u t o s c a l e r   c u r r e n t R e p l i c a s   ( i n t 3 2 ) ,   r e q u i r e d c u r r e n t R e p l i c a s   i s   t h e   c u r r e n t   n u m b e r   o f   r e p l i c a s   o f   p o d s   m a n a g e d   b y   t h i s   a u t o s c a l e r . d e s i r e d R e p l i c a s   ( i n t 3 2 ) ,   r e q u i r e d d e s i r e d R e p l i c a s   i s   t h e   d e s i r e d   n u m b e r   o f   r e p l i c a s   o f   p o d s   m a n a g e d   b y   t h i s   a u t o s c a l e r . c u r r e n t C P U U t i l i z a t i o n P e r c e n t a g e   ( i n t 3 2 ) c u r r e n t C P U U t i l i z a t i o n P e r c e n t a g e   i s   t h e   c u r r e n t   a v e r a g e   C P U   u t i l i z a t i o n   o v e r   a l l   p o d s ,   r e p r e s e n t e d   a s   a   p e r c e n t a g e   o f   r e q u e s t e d   C P U ,   e . g .   7 0   m e a n s   t h a t   a n   a v e r a g e   p o d   i s   u s i n g   n o w   7 0 %   o f   i t s   r e q u e s t e d   C P U . l a s t S c a l e T i m e   ( T i m e ) l a s t S c a l e T i m e   i s   t h e   l a s t   t i m e   t h e   H o r i z o n t a l P o d A u t o s c a l e r   s c a l e d   t h e   n u m b e r   o f   p o d s ;   u s e d   b y   t h e   a u t o s c a l e r   t o   c o n t r o l   h o w   o f t e n   t h e   n u m b e r   o f   p o d s   i s   c h a n g e d . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . o b s e r v e d G e n e r a t i o n   ( i n t 6 4 ) o b s e r v e d G e n e r a t i o n   i s   t h e   m o s t   r e c e n t   g e n e r a t i o n   o b s e r v e d   b y   t h i s   a u t o s c a l e r .   c u r r e n t R e p l i c a s   ( i n t 3 ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_2_8813"
  },
  {
    "question": "What is HorizontalPodAutoscalerList?",
    "answer": "l i s t   o f   h o r i z o n t a l   p o d   a u t o s c a l e r   o b j e c t s .   a p i V e r s i o n :   a u t o s c a l i n g / v 1 k i n d :   H o r i z o n t a l P o d A u t o s c a l e r L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a . i t e m s   ( [ ] H o r i z o n t a l P o d A u t o s c a l e r ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   h o r i z o n t a l   p o d   a u t o s c a l e r   o b j e c t s .   a p i V e r s i o n :   a u t o s c a l i n g / v 1   k i n d :   H o r i z o n t a l P o d A u t o s c a l e r L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   i t e m s   ( [ ] H o r i z o n t a l P o d A u t o s c a l e r ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   h o r i z o n t a l   p o d   a u t o s c a l e r   o b j e c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_2_8814"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8815"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8816"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8817"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8818"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8819"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8820"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8821"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8822"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8823"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 1 / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8824"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8825"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8826"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8827"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8828"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   2 0 2   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8829"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8830"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8831"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8832"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8833"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8834"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8835"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8836"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8837"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8838"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8839"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8840"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8841"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8842"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8843"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8844"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8845"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8846"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/",
    "id": "k8s_00464_section_4_8847"
  },
  {
    "question": "What is Accessing the Kubernetes API from a Pod?",
    "answer": "Accessing the Kubernetes API from a PodThis guide demonstrates how to access the Kubernetes API from within a pod.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesAccessing the API from within a PodWhen accessing the API from within a Pod, locating and authenticating to the API server are slightly different to the external client case.The easiest way to use the Kubernetes API from a Pod is to use one of the official client libraries. These libraries can automatically discover the API server and authenticate.Using Official Client LibrariesFrom within a Pod, the recommended ways to connect to the Kubernetes API are:For a Go client, use the official Go client library. The rest.InClusterConfig() function handles API host discovery and authentication automatically. See an example here.For a Python client, use the official Python client library. The config.load_incluster_config() function handles API host discovery and authentication automatically. See an example here.There are a number of other libraries available, please refer to the Client Libraries page.In each case, the service account credentials of the Pod are used to communicate securely with the API server.Directly accessing the REST APIWhile running in a Pod, your container can create an HTTPS URL for the Kubernetes API server by fetching the KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT_HTTPS environment variables. The API server's in-cluster address is also published to a Service named kubernetes in the default namespace so that pods may reference kubernetes.default.svc as a DNS name for the local API server.Note:Kubernetes does not guarantee that the API server has a valid certificate for the hostname kubernetes.default.svc; however, the control plane is expected to present a valid certificate for the hostname or IP address that $KUBERNETES_SERVICE_HOST represents.The recommended way to authenticate to the API server is with a service account credential. By default, a Pod is associated with a service account, and a credential (token) for that service account is placed into the filesystem tree of each container in that Pod, at /var/run/secrets/kubernetes.io/serviceaccount/token.If available, a certificate bundle is placed into the filesystem tree of each container at /var/run/secrets/kubernetes.io/serviceaccount/ca.crt, and should be used to verify the serving certificate of the API server.Finally, the default namespace to be used for namespaced API operations is placed in a file at /var/run/secrets/kubernetes.io/serviceaccount/namespace in each container.Using kubectl proxyIf you would like to query t",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/access-api-from-pod/",
    "id": "k8s_00465_qa_8848"
  },
  {
    "question": "How does Accessing the Kubernetes API from a Pod work?",
    "answer": "Accessing the Kubernetes API from a PodThis guide demonstrates how to access the Kubernetes API from within a pod.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesAccessing the API from within a PodWhen accessing the API from within a Pod, locating and authenticating to the API server are slightly different to the external client case.The easiest way to use the Kubernetes API from a Pod is to use one of the official client libraries. These libraries can automatically discover the API server and authenticate.Using Official Client LibrariesFrom within a Pod, the recommended ways to connect to the Kubernetes API are:For a Go client, use the official Go client library. The rest.InClusterConfig() function handles API host discovery and authentication automatically. See an example here.For a Python client, use the official Python client library. The config.load_incluster_config() function handles API host discovery and authentication automatically. See an example here.There are a number of other libraries available, please refer to the Client Libraries page.In each case, the service account credentials of the Pod are used to communicate securely with the API server.Directly accessing the REST APIWhile running in a Pod, your container can create an HTTPS URL for the Kubernetes API server by fetching the KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT_HTTPS environment variables. The API server's in-cluster address is also published to a Service named kubernetes in the default namespace so that pods may reference kubernetes.default.svc as a DNS name for the local API server.Note:Kubernetes does not guarantee that the API server has a valid certificate for the hostname kubernetes.default.svc; however, the control plane is expected to present a valid certificate for the hostname or IP address that $KUBERNETES_SERVICE_HOST represents.The recommended way to authenticate to the API server is with a service account credential. By default, a Pod is associated with a service account, and a credential (token) for that service account is placed into the filesystem tree of each container in that Pod, at /var/run/secrets/kubernetes.io/serviceaccount/token.If available, a certificate bundle is placed into the filesystem tree of each container at /var/run/secrets/kubernetes.io/serviceaccount/ca.crt, and should be used to verify the serving certificate of the API server.Finally, the default namespace to be used for namespaced API operations is placed in a file at /var/run/secrets/kubernetes.io/serviceaccount/namespace in each container.Using kubectl proxyIf you would like to query t",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/access-api-from-pod/",
    "id": "k8s_00465_qa_8849"
  },
  {
    "question": "When would you use Accessing the Kubernetes API from a Pod?",
    "answer": "Accessing the Kubernetes API from a PodThis guide demonstrates how to access the Kubernetes API from within a pod.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesAccessing the API from within a PodWhen accessing the API from within a Pod, locating and authenticating to the API server are slightly different to the external client case.The easiest way to use the Kubernetes API from a Pod is to use one of the official client libraries. These libraries can automatically discover the API server and authenticate.Using Official Client LibrariesFrom within a Pod, the recommended ways to connect to the Kubernetes API are:For a Go client, use the official Go client library. The rest.InClusterConfig() function handles API host discovery and authentication automatically. See an example here.For a Python client, use the official Python client library. The config.load_incluster_config() function handles API host discovery and authentication automatically. See an example here.There are a number of other libraries available, please refer to the Client Libraries page.In each case, the service account credentials of the Pod are used to communicate securely with the API server.Directly accessing the REST APIWhile running in a Pod, your container can create an HTTPS URL for the Kubernetes API server by fetching the KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT_HTTPS environment variables. The API server's in-cluster address is also published to a Service named kubernetes in the default namespace so that pods may reference kubernetes.default.svc as a DNS name for the local API server.Note:Kubernetes does not guarantee that the API server has a valid certificate for the hostname kubernetes.default.svc; however, the control plane is expected to present a valid certificate for the hostname or IP address that $KUBERNETES_SERVICE_HOST represents.The recommended way to authenticate to the API server is with a service account credential. By default, a Pod is associated with a service account, and a credential (token) for that service account is placed into the filesystem tree of each container in that Pod, at /var/run/secrets/kubernetes.io/serviceaccount/token.If available, a certificate bundle is placed into the filesystem tree of each container at /var/run/secrets/kubernetes.io/serviceaccount/ca.crt, and should be used to verify the serving certificate of the API server.Finally, the default namespace to be used for namespaced API operations is placed in a file at /var/run/secrets/kubernetes.io/serviceaccount/namespace in each container.Using kubectl proxyIf you would like to query t",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/access-api-from-pod/",
    "id": "k8s_00465_qa_8850"
  },
  {
    "question": "What are the benefits of Accessing the Kubernetes API from a Pod?",
    "answer": "Accessing the Kubernetes API from a PodThis guide demonstrates how to access the Kubernetes API from within a pod.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesAccessing the API from within a PodWhen accessing the API from within a Pod, locating and authenticating to the API server are slightly different to the external client case.The easiest way to use the Kubernetes API from a Pod is to use one of the official client libraries. These libraries can automatically discover the API server and authenticate.Using Official Client LibrariesFrom within a Pod, the recommended ways to connect to the Kubernetes API are:For a Go client, use the official Go client library. The rest.InClusterConfig() function handles API host discovery and authentication automatically. See an example here.For a Python client, use the official Python client library. The config.load_incluster_config() function handles API host discovery and authentication automatically. See an example here.There are a number of other libraries available, please refer to the Client Libraries page.In each case, the service account credentials of the Pod are used to communicate securely with the API server.Directly accessing the REST APIWhile running in a Pod, your container can create an HTTPS URL for the Kubernetes API server by fetching the KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT_HTTPS environment variables. The API server's in-cluster address is also published to a Service named kubernetes in the default namespace so that pods may reference kubernetes.default.svc as a DNS name for the local API server.Note:Kubernetes does not guarantee that the API server has a valid certificate for the hostname kubernetes.default.svc; however, the control plane is expected to present a valid certificate for the hostname or IP address that $KUBERNETES_SERVICE_HOST represents.The recommended way to authenticate to the API server is with a service account credential. By default, a Pod is associated with a service account, and a credential (token) for that service account is placed into the filesystem tree of each container in that Pod, at /var/run/secrets/kubernetes.io/serviceaccount/token.If available, a certificate bundle is placed into the filesystem tree of each container at /var/run/secrets/kubernetes.io/serviceaccount/ca.crt, and should be used to verify the serving certificate of the API server.Finally, the default namespace to be used for namespaced API operations is placed in a file at /var/run/secrets/kubernetes.io/serviceaccount/namespace in each container.Using kubectl proxyIf you would like to query t",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/access-api-from-pod/",
    "id": "k8s_00465_qa_8851"
  },
  {
    "question": "What is Accessing the Kubernetes API from a Pod?",
    "answer": "T h i s   g u i d e   d e m o n s t r a t e s   h o w   t o   a c c e s s   t h e   K u b e r n e t e s   A P I   f r o m   w i t h i n   a   p o d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/access-api-from-pod/",
    "id": "k8s_00465_section_1_8852"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/access-api-from-pod/",
    "id": "k8s_00465_section_2_8853"
  },
  {
    "question": "What is Accessing the API from within a Pod?",
    "answer": "W h e n   a c c e s s i n g   t h e   A P I   f r o m   w i t h i n   a   P o d ,   l o c a t i n g   a n d   a u t h e n t i c a t i n g   t o   t h e   A P I   s e r v e r   a r e   s l i g h t l y   d i f f e r e n t   t o   t h e   e x t e r n a l   c l i e n t   c a s e .   T h e   e a s i e s t   w a y   t o   u s e   t h e   K u b e r n e t e s   A P I   f r o m   a   P o d   i s   t o   u s e   o n e   o f   t h e   o f f i c i a l   c l i e n t   l i b r a r i e s .   T h e s e   l i b r a r i e s   c a n   a u t o m a t i c a l l y   d i s c o v e r   t h e   A P I   s e r v e r   a n d   a u t h e n t i c a t e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/access-api-from-pod/",
    "id": "k8s_00465_section_2_8854"
  },
  {
    "question": "What is Using Official Client Libraries?",
    "answer": "F r o m   w i t h i n   a   P o d ,   t h e   r e c o m m e n d e d   w a y s   t o   c o n n e c t   t o   t h e   K u b e r n e t e s   A P I   a r e :   F o r   a   G o   c l i e n t ,   u s e   t h e   o f f i c i a l   G o   c l i e n t   l i b r a r y .   T h e   r e s t . I n C l u s t e r C o n f i g ( )   f u n c t i o n   h a n d l e s   A P I   h o s t   d i s c o v e r y   a n d   a u t h e n t i c a t i o n   a u t o m a t i c a l l y .   S e e   a n   e x a m p l e   h e r e . F o r   a   P y t h o n   c l i e n t ,   u s e   t h e   o f f i c i a l   P y t h o n   c l i e n t   l i b r a r y .   T h e   c o n f i g . l o a d _ i n c l u s t e r _ c o n f i g ( )   f u n c t i o n   h a n d l e s   A P I   h o s t   d i s c o v e r y   a n d   a u t h e n t i c a t i o n   a u t o m a t i c a l l y .   S e e   a n   e x a m p l e   h e r e . T h e r e   a r e   a   n u m b e r   o f   o t h e r   l i b r a r i e s   a v a i l a b l e ,   p l e a s e   r e f e r   t o   t h e   C l i e n t   L i b r a r i e s   p a g e .   F o r   a   G o   c l i e n t ,   u s e   t h e   o f f i c i a l   G o   c l i e n t   l i b r a r y .   T h e   r e s t . I n C l u s t e r C o n f i g ( )   f u n c t i o n   h a n d l e s   A P I   h o s t   d i s c o v e r y   a n d   a u t h e n t i c a t i o n   a u t o m a t i c a l l y .   S e e   a n   e x a m p l e   h e r e .   F o r   a   P y t h o n   c l i e n t ,   u s e   t h e   o f f i c i a l   P y t h o n   c l i e n t   l i b r a r y .   T h e   c o n f i g . l o a d _ i n c l u s t e r _ c o n f i g ( )   f u n c t i o n   h a n d l e s   A P I   h o s t   d i s c o v e r y   a n d   a u t h e n t i c a t i o n   a u t o m a t i c a l l y .   S e e   a n   e x a m p l e   h e r e .   T h e r e   a r e   a   n u m b e r   o f   o t h e r   l i b r a r i e s   a v a i l a b l e ,   p l e a s e   r e f e r   t o   t h e   C l i e n t   L i b r a r i e s   p a g e .   I n   e a c h   c a s e ,   t h e   s e r v i c ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/access-api-from-pod/",
    "id": "k8s_00465_section_3_8855"
  },
  {
    "question": "What is Directly accessing the REST API?",
    "answer": "W h i l e   r u n n i n g   i n   a   P o d ,   y o u r   c o n t a i n e r   c a n   c r e a t e   a n   H T T P S   U R L   f o r   t h e   K u b e r n e t e s   A P I   s e r v e r   b y   f e t c h i n g   t h e   K U B E R N E T E S _ S E R V I C E _ H O S T   a n d   K U B E R N E T E S _ S E R V I C E _ P O R T _ H T T P S   e n v i r o n m e n t   v a r i a b l e s .   T h e   A P I   s e r v e r ' s   i n - c l u s t e r   a d d r e s s   i s   a l s o   p u b l i s h e d   t o   a   S e r v i c e   n a m e d   k u b e r n e t e s   i n   t h e   d e f a u l t   n a m e s p a c e   s o   t h a t   p o d s   m a y   r e f e r e n c e   k u b e r n e t e s . d e f a u l t . s v c   a s   a   D N S   n a m e   f o r   t h e   l o c a l   A P I   s e r v e r .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/access-api-from-pod/",
    "id": "k8s_00465_section_3_8856"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   r e c o m m e n d e d   w a y   t o   a u t h e n t i c a t e   t o   t h e   A P I   s e r v e r   i s   w i t h   a   s e r v i c e   a c c o u n t   c r e d e n t i a l .   B y   d e f a u l t ,   a   P o d   i s   a s s o c i a t e d   w i t h   a   s e r v i c e   a c c o u n t ,   a n d   a   c r e d e n t i a l   ( t o k e n )   f o r   t h a t   s e r v i c e   a c c o u n t   i s   p l a c e d   i n t o   t h e   f i l e s y s t e m   t r e e   o f   e a c h   c o n t a i n e r   i n   t h a t   P o d ,   a t   / v a r / r u n / s e c r e t s / k u b e r n e t e s . i o / s e r v i c e a c c o u n t / t o k e n .   I f   a v a i l a b l e ,   a   c e r t i f i c a t e   b u n d l e   i s   p l a c e d   i n t o   t h e   f i l e s y s t e m   t r e e   o f   e a c h   c o n t a i n e r   a t   / v a r / r u n / s e c r e t s / k u b e r n e t e s . i o / s e r v i c e a c c o u n t / c a . c r t ,   a n d   s h o u l d   b e   u s e d   t o   v e r i f y   t h e   s e r v i n g   c e r t i f i c a t e   o f   t h e   A P I   s e r v e r .   F i n a l l y ,   t h e   d e f a u l t   n a m e s p a c e   t o   b e   u s e d   f o r   n a m e s p a c e d   A P I   o p e r a t i o n s   i s   p l a c e d   i n   a   f i l e   a t   / v a r / r u n / s e c r e t s / k u b e r n e t e s . i o / s e r v i c e a c c o u n t / n a m e s p a c e   i n   e a c h   c o n t a i n e r .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/access-api-from-pod/",
    "id": "k8s_00465_section_4_8857"
  },
  {
    "question": "What is Using kubectl proxy?",
    "answer": "I f   y o u   w o u l d   l i k e   t o   q u e r y   t h e   A P I   w i t h o u t   a n   o f f i c i a l   c l i e n t   l i b r a r y ,   y o u   c a n   r u n   k u b e c t l   p r o x y   a s   t h e   c o m m a n d   o f   a   n e w   s i d e c a r   c o n t a i n e r   i n   t h e   P o d .   T h i s   w a y ,   k u b e c t l   p r o x y   w i l l   a u t h e n t i c a t e   t o   t h e   A P I   a n d   e x p o s e   i t   o n   t h e   l o c a l h o s t   i n t e r f a c e   o f   t h e   P o d ,   s o   t h a t   o t h e r   c o n t a i n e r s   i n   t h e   P o d   c a n   u s e   i t   d i r e c t l y .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/access-api-from-pod/",
    "id": "k8s_00465_section_3_8858"
  },
  {
    "question": "What is Without using a proxy?",
    "answer": "I t   i s   p o s s i b l e   t o   a v o i d   u s i n g   t h e   k u b e c t l   p r o x y   b y   p a s s i n g   t h e   a u t h e n t i c a t i o n   t o k e n   d i r e c t l y   t o   t h e   A P I   s e r v e r .   T h e   i n t e r n a l   c e r t i f i c a t e   s e c u r e s   t h e   c o n n e c t i o n .   #   P o i n t   t o   t h e   i n t e r n a l   A P I   s e r v e r   h o s t n a m e   A P I S E R V E R = h t t p s : / / k u b e r n e t e s . d e f a u l t . s v c   #   P a t h   t o   S e r v i c e A c c o u n t   t o k e n   S E R V I C E A C C O U N T = / v a r / r u n / s e c r e t s / k u b e r n e t e s . i o / s e r v i c e a c c o u n t   #   R e a d   t h i s   P o d ' s   n a m e s p a c e   N A M E S P A C E = $ ( c a t   $ { S E R V I C E A C C O U N T } / n a m e s p a c e )   #   R e a d   t h e   S e r v i c e A c c o u n t   b e a r e r   t o k e n   T O K E N = $ ( c a t   $ { S E R V I C E A C C O U N T } / t o k e n )   #   R e f e r e n c e   t h e   i n t e r n a l   c e r t i f i c a t e   a u t h o r i t y   ( C A )   C A C E R T = $ { S E R V I C E A C C O U N T } / c a . c r t   #   E x p l o r e   t h e   A P I   w i t h   T O K E N   c u r l   - - c a c e r t   $ { C A C E R T }   - - h e a d e r   \" A u t h o r i z a t i o n :   B e a r e r   $ { T O K E N } \"   - X   G E T   $ { A P I S E R V E R } / a p i   T h e   o u t p u t   w i l l   b e   s i m i l a r   t o   t h i s :   {   \" k i n d \" :   \" A P I V e r s i o n s \" ,   \" v e r s i o n s \" :   [ \" v 1 \" ] ,   \" s e r v e r A d d r e s s B y C l i e n t C I D R s \" :   [   {   \" c l i e n t C I D R \" :   \" 0 . 0 . 0 . 0 / 0 \" ,   \" s e r v e r A d d r e s s \" :   \" 1 0 . 0 . 1 . 1 4 9 : 4 4 3 \"   }   ]   }",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/access-api-from-pod/",
    "id": "k8s_00465_section_3_8859"
  },
  {
    "question": "What is Linux kernel security constraints for Pods and containers?",
    "answer": "Linux kernel security constraints for Pods and containersOverview of Linux kernel security modules and constraints that you can use to harden your Pods and containers.This page describes some of the security features that are built into the Linux kernel that you can use in your Kubernetes workloads. To learn how to apply these features to your Pods and containers, refer to Configure a SecurityContext for a Pod or Container. You should already be familiar with Linux and with the basics of Kubernetes workloads.Run workloads without root privilegesWhen you deploy a workload in Kubernetes, use the Pod specification to restrict that workload from running as the root user on the node. You can use the Pod securityContext to define the specific Linux user and group for the processes in the Pod, and explicitly restrict containers from running as root users. Setting these values in the Pod manifest takes precedence over similar values in the container image, which is especially useful if you're running images that you don't own.Caution:Ensure that the user or group that you assign to the workload has the permissions required for the application to function correctly. Changing the user or group to one that doesn't have the correct permissions could lead to file access issues or failed operations.Configuring the kernel security features on this page provides fine-grained control over the actions that processes in your cluster can take, but managing these configurations can be challenging at scale. Running containers as non-root, or in user namespaces if you need root privileges, helps to reduce the chance that you'll need to enforce your configured kernel security capabilities.Security features in the Linux kernelKubernetes lets you configure and use Linux kernel features to improve isolation and harden your containerized workloads. Common features include the following:Secure computing mode (seccomp): Filter which system calls a process can makeAppArmor: Restrict the access privileges of individual programsSecurity Enhanced Linux (SELinux): Assign security labels to objects for more manageable security policy enforcementTo configure settings for one of these features, the operating system that you choose for your nodes must enable the feature in the kernel. For example, Ubuntu 7.10 and later enable AppArmor by default. To learn whether your OS enables a specific feature, consult the OS documentation.You use the securityContext field in your Pod specification to define the constraints that apply to those processes. The securityContext field also supports other security settings, such as specific Linux capabilities or file access permissions using UIDs and GIDs. To learn more, refer to Configure a SecurityContext for a Pod or Container.seccompSome of your workloads might need privileges to perform specific actions as the root user on your node's host machine. Linux uses capabilities to divide the available privileges into categories, so that processes can get",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/linux-kernel-security-constraints/",
    "id": "k8s_00466_qa_8860"
  },
  {
    "question": "How does Linux kernel security constraints for Pods and containers work?",
    "answer": "Linux kernel security constraints for Pods and containersOverview of Linux kernel security modules and constraints that you can use to harden your Pods and containers.This page describes some of the security features that are built into the Linux kernel that you can use in your Kubernetes workloads. To learn how to apply these features to your Pods and containers, refer to Configure a SecurityContext for a Pod or Container. You should already be familiar with Linux and with the basics of Kubernetes workloads.Run workloads without root privilegesWhen you deploy a workload in Kubernetes, use the Pod specification to restrict that workload from running as the root user on the node. You can use the Pod securityContext to define the specific Linux user and group for the processes in the Pod, and explicitly restrict containers from running as root users. Setting these values in the Pod manifest takes precedence over similar values in the container image, which is especially useful if you're running images that you don't own.Caution:Ensure that the user or group that you assign to the workload has the permissions required for the application to function correctly. Changing the user or group to one that doesn't have the correct permissions could lead to file access issues or failed operations.Configuring the kernel security features on this page provides fine-grained control over the actions that processes in your cluster can take, but managing these configurations can be challenging at scale. Running containers as non-root, or in user namespaces if you need root privileges, helps to reduce the chance that you'll need to enforce your configured kernel security capabilities.Security features in the Linux kernelKubernetes lets you configure and use Linux kernel features to improve isolation and harden your containerized workloads. Common features include the following:Secure computing mode (seccomp): Filter which system calls a process can makeAppArmor: Restrict the access privileges of individual programsSecurity Enhanced Linux (SELinux): Assign security labels to objects for more manageable security policy enforcementTo configure settings for one of these features, the operating system that you choose for your nodes must enable the feature in the kernel. For example, Ubuntu 7.10 and later enable AppArmor by default. To learn whether your OS enables a specific feature, consult the OS documentation.You use the securityContext field in your Pod specification to define the constraints that apply to those processes. The securityContext field also supports other security settings, such as specific Linux capabilities or file access permissions using UIDs and GIDs. To learn more, refer to Configure a SecurityContext for a Pod or Container.seccompSome of your workloads might need privileges to perform specific actions as the root user on your node's host machine. Linux uses capabilities to divide the available privileges into categories, so that processes can get",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/linux-kernel-security-constraints/",
    "id": "k8s_00466_qa_8861"
  },
  {
    "question": "When would you use Linux kernel security constraints for Pods and containers?",
    "answer": "Linux kernel security constraints for Pods and containersOverview of Linux kernel security modules and constraints that you can use to harden your Pods and containers.This page describes some of the security features that are built into the Linux kernel that you can use in your Kubernetes workloads. To learn how to apply these features to your Pods and containers, refer to Configure a SecurityContext for a Pod or Container. You should already be familiar with Linux and with the basics of Kubernetes workloads.Run workloads without root privilegesWhen you deploy a workload in Kubernetes, use the Pod specification to restrict that workload from running as the root user on the node. You can use the Pod securityContext to define the specific Linux user and group for the processes in the Pod, and explicitly restrict containers from running as root users. Setting these values in the Pod manifest takes precedence over similar values in the container image, which is especially useful if you're running images that you don't own.Caution:Ensure that the user or group that you assign to the workload has the permissions required for the application to function correctly. Changing the user or group to one that doesn't have the correct permissions could lead to file access issues or failed operations.Configuring the kernel security features on this page provides fine-grained control over the actions that processes in your cluster can take, but managing these configurations can be challenging at scale. Running containers as non-root, or in user namespaces if you need root privileges, helps to reduce the chance that you'll need to enforce your configured kernel security capabilities.Security features in the Linux kernelKubernetes lets you configure and use Linux kernel features to improve isolation and harden your containerized workloads. Common features include the following:Secure computing mode (seccomp): Filter which system calls a process can makeAppArmor: Restrict the access privileges of individual programsSecurity Enhanced Linux (SELinux): Assign security labels to objects for more manageable security policy enforcementTo configure settings for one of these features, the operating system that you choose for your nodes must enable the feature in the kernel. For example, Ubuntu 7.10 and later enable AppArmor by default. To learn whether your OS enables a specific feature, consult the OS documentation.You use the securityContext field in your Pod specification to define the constraints that apply to those processes. The securityContext field also supports other security settings, such as specific Linux capabilities or file access permissions using UIDs and GIDs. To learn more, refer to Configure a SecurityContext for a Pod or Container.seccompSome of your workloads might need privileges to perform specific actions as the root user on your node's host machine. Linux uses capabilities to divide the available privileges into categories, so that processes can get",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/linux-kernel-security-constraints/",
    "id": "k8s_00466_qa_8862"
  },
  {
    "question": "What are the benefits of Linux kernel security constraints for Pods and containers?",
    "answer": "Linux kernel security constraints for Pods and containersOverview of Linux kernel security modules and constraints that you can use to harden your Pods and containers.This page describes some of the security features that are built into the Linux kernel that you can use in your Kubernetes workloads. To learn how to apply these features to your Pods and containers, refer to Configure a SecurityContext for a Pod or Container. You should already be familiar with Linux and with the basics of Kubernetes workloads.Run workloads without root privilegesWhen you deploy a workload in Kubernetes, use the Pod specification to restrict that workload from running as the root user on the node. You can use the Pod securityContext to define the specific Linux user and group for the processes in the Pod, and explicitly restrict containers from running as root users. Setting these values in the Pod manifest takes precedence over similar values in the container image, which is especially useful if you're running images that you don't own.Caution:Ensure that the user or group that you assign to the workload has the permissions required for the application to function correctly. Changing the user or group to one that doesn't have the correct permissions could lead to file access issues or failed operations.Configuring the kernel security features on this page provides fine-grained control over the actions that processes in your cluster can take, but managing these configurations can be challenging at scale. Running containers as non-root, or in user namespaces if you need root privileges, helps to reduce the chance that you'll need to enforce your configured kernel security capabilities.Security features in the Linux kernelKubernetes lets you configure and use Linux kernel features to improve isolation and harden your containerized workloads. Common features include the following:Secure computing mode (seccomp): Filter which system calls a process can makeAppArmor: Restrict the access privileges of individual programsSecurity Enhanced Linux (SELinux): Assign security labels to objects for more manageable security policy enforcementTo configure settings for one of these features, the operating system that you choose for your nodes must enable the feature in the kernel. For example, Ubuntu 7.10 and later enable AppArmor by default. To learn whether your OS enables a specific feature, consult the OS documentation.You use the securityContext field in your Pod specification to define the constraints that apply to those processes. The securityContext field also supports other security settings, such as specific Linux capabilities or file access permissions using UIDs and GIDs. To learn more, refer to Configure a SecurityContext for a Pod or Container.seccompSome of your workloads might need privileges to perform specific actions as the root user on your node's host machine. Linux uses capabilities to divide the available privileges into categories, so that processes can get",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/linux-kernel-security-constraints/",
    "id": "k8s_00466_qa_8863"
  },
  {
    "question": "What is Linux kernel security constraints for Pods and containers?",
    "answer": "T h i s   p a g e   d e s c r i b e s   s o m e   o f   t h e   s e c u r i t y   f e a t u r e s   t h a t   a r e   b u i l t   i n t o   t h e   L i n u x   k e r n e l   t h a t   y o u   c a n   u s e   i n   y o u r   K u b e r n e t e s   w o r k l o a d s .   T o   l e a r n   h o w   t o   a p p l y   t h e s e   f e a t u r e s   t o   y o u r   P o d s   a n d   c o n t a i n e r s ,   r e f e r   t o   C o n f i g u r e   a   S e c u r i t y C o n t e x t   f o r   a   P o d   o r   C o n t a i n e r .   Y o u   s h o u l d   a l r e a d y   b e   f a m i l i a r   w i t h   L i n u x   a n d   w i t h   t h e   b a s i c s   o f   K u b e r n e t e s   w o r k l o a d s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/linux-kernel-security-constraints/",
    "id": "k8s_00466_section_1_8864"
  },
  {
    "question": "What is Run workloads without root privileges?",
    "answer": "W h e n   y o u   d e p l o y   a   w o r k l o a d   i n   K u b e r n e t e s ,   u s e   t h e   P o d   s p e c i f i c a t i o n   t o   r e s t r i c t   t h a t   w o r k l o a d   f r o m   r u n n i n g   a s   t h e   r o o t   u s e r   o n   t h e   n o d e .   Y o u   c a n   u s e   t h e   P o d   s e c u r i t y C o n t e x t   t o   d e f i n e   t h e   s p e c i f i c   L i n u x   u s e r   a n d   g r o u p   f o r   t h e   p r o c e s s e s   i n   t h e   P o d ,   a n d   e x p l i c i t l y   r e s t r i c t   c o n t a i n e r s   f r o m   r u n n i n g   a s   r o o t   u s e r s .   S e t t i n g   t h e s e   v a l u e s   i n   t h e   P o d   m a n i f e s t   t a k e s   p r e c e d e n c e   o v e r   s i m i l a r   v a l u e s   i n   t h e   c o n t a i n e r   i m a g e ,   w h i c h   i s   e s p e c i a l l y   u s e f u l   i f   y o u ' r e   r u n n i n g   i m a g e s   t h a t   y o u   d o n ' t   o w n .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/linux-kernel-security-constraints/",
    "id": "k8s_00466_section_2_8865"
  },
  {
    "question": "What is Caution:?",
    "answer": "C o n f i g u r i n g   t h e   k e r n e l   s e c u r i t y   f e a t u r e s   o n   t h i s   p a g e   p r o v i d e s   f i n e - g r a i n e d   c o n t r o l   o v e r   t h e   a c t i o n s   t h a t   p r o c e s s e s   i n   y o u r   c l u s t e r   c a n   t a k e ,   b u t   m a n a g i n g   t h e s e   c o n f i g u r a t i o n s   c a n   b e   c h a l l e n g i n g   a t   s c a l e .   R u n n i n g   c o n t a i n e r s   a s   n o n - r o o t ,   o r   i n   u s e r   n a m e s p a c e s   i f   y o u   n e e d   r o o t   p r i v i l e g e s ,   h e l p s   t o   r e d u c e   t h e   c h a n c e   t h a t   y o u ' l l   n e e d   t o   e n f o r c e   y o u r   c o n f i g u r e d   k e r n e l   s e c u r i t y   c a p a b i l i t i e s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/linux-kernel-security-constraints/",
    "id": "k8s_00466_section_4_8866"
  },
  {
    "question": "What is Security features in the Linux kernel?",
    "answer": "K u b e r n e t e s   l e t s   y o u   c o n f i g u r e   a n d   u s e   L i n u x   k e r n e l   f e a t u r e s   t o   i m p r o v e   i s o l a t i o n   a n d   h a r d e n   y o u r   c o n t a i n e r i z e d   w o r k l o a d s .   C o m m o n   f e a t u r e s   i n c l u d e   t h e   f o l l o w i n g :   S e c u r e   c o m p u t i n g   m o d e   ( s e c c o m p ) :   F i l t e r   w h i c h   s y s t e m   c a l l s   a   p r o c e s s   c a n   m a k e A p p A r m o r :   R e s t r i c t   t h e   a c c e s s   p r i v i l e g e s   o f   i n d i v i d u a l   p r o g r a m s S e c u r i t y   E n h a n c e d   L i n u x   ( S E L i n u x ) :   A s s i g n   s e c u r i t y   l a b e l s   t o   o b j e c t s   f o r   m o r e   m a n a g e a b l e   s e c u r i t y   p o l i c y   e n f o r c e m e n t   T o   c o n f i g u r e   s e t t i n g s   f o r   o n e   o f   t h e s e   f e a t u r e s ,   t h e   o p e r a t i n g   s y s t e m   t h a t   y o u   c h o o s e   f o r   y o u r   n o d e s   m u s t   e n a b l e   t h e   f e a t u r e   i n   t h e   k e r n e l .   F o r   e x a m p l e ,   U b u n t u   7 . 1 0   a n d   l a t e r   e n a b l e   A p p A r m o r   b y   d e f a u l t .   T o   l e a r n   w h e t h e r   y o u r   O S   e n a b l e s   a   s p e c i f i c   f e a t u r e ,   c o n s u l t   t h e   O S   d o c u m e n t a t i o n .   Y o u   u s e   t h e   s e c u r i t y C o n t e x t   f i e l d   i n   y o u r   P o d   s p e c i f i c a t i o n   t o   d e f i n e   t h e   c o n s t r a i n t s   t h a t   a p p l y   t o   t h o s e   p r o c e s s e s .   T h e   s e c u r i t y C o n t e x t   f i e l d   a l s o   s u p p o r t s   o t h e r   s e c u r i t y   s e t t i n g s ,   s u c h   a s   s p e c i f i c   L i n u x   c a p a b i l i t i e s   o r   f i l e   a c c e s s   p e r m i s s i o n s   u s i n g   U I D s   a n d   G I D s .   T o   l e a r n   m o r e ,   r e f e r   t o   C o n f i g ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/linux-kernel-security-constraints/",
    "id": "k8s_00466_section_2_8867"
  },
  {
    "question": "What is seccomp?",
    "answer": "S o m e   o f   y o u r   w o r k l o a d s   m i g h t   n e e d   p r i v i l e g e s   t o   p e r f o r m   s p e c i f i c   a c t i o n s   a s   t h e   r o o t   u s e r   o n   y o u r   n o d e ' s   h o s t   m a c h i n e .   L i n u x   u s e s   c a p a b i l i t i e s   t o   d i v i d e   t h e   a v a i l a b l e   p r i v i l e g e s   i n t o   c a t e g o r i e s ,   s o   t h a t   p r o c e s s e s   c a n   g e t   t h e   p r i v i l e g e s   r e q u i r e d   t o   p e r f o r m   s p e c i f i c   a c t i o n s   w i t h o u t   b e i n g   g r a n t e d   a l l   p r i v i l e g e s .   E a c h   c a p a b i l i t y   h a s   a   s e t   o f   s y s t e m   c a l l s   ( s y s c a l l s )   t h a t   a   p r o c e s s   c a n   m a k e .   s e c c o m p   l e t s   y o u   r e s t r i c t   t h e s e   i n d i v i d u a l   s y s c a l l s .   I t   c a n   b e   u s e d   t o   s a n d b o x   t h e   p r i v i l e g e s   o f   a   p r o c e s s ,   r e s t r i c t i n g   t h e   c a l l s   i t   i s   a b l e   t o   m a k e   f r o m   u s e r s p a c e   i n t o   t h e   k e r n e l .   I n   K u b e r n e t e s ,   y o u   u s e   a   c o n t a i n e r   r u n t i m e   o n   e a c h   n o d e   t o   r u n   y o u r   c o n t a i n e r s .   E x a m p l e   r u n t i m e s   i n c l u d e   C R I - O ,   D o c k e r ,   o r   c o n t a i n e r d .   E a c h   r u n t i m e   a l l o w s   o n l y   a   s u b s e t   o f   L i n u x   c a p a b i l i t i e s   b y   d e f a u l t .   Y o u   c a n   f u r t h e r   l i m i t   t h e   a l l o w e d   s y s c a l l s   i n d i v i d u a l l y   b y   u s i n g   a   s e c c o m p   p r o f i l e .   C o n t a i n e r   r u n t i m e s   u s u a l l y   i n c l u d e   a   d e f a u l t   s e c c o m p   p r o f i l e .   K u b e r n e t e s   l e t s   y o u   a u t o m a t i c a l l y   a p p l y   s e c c o m p   p r o f i l e s   l o a d e d   o n t o   a   n o d e   t o   y o ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/linux-kernel-security-constraints/",
    "id": "k8s_00466_section_3_8868"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   l e a r n   h o w   t o   i m p l e m e n t   s e c c o m p   i n   K u b e r n e t e s ,   r e f e r   t o   R e s t r i c t   a   C o n t a i n e r ' s   S y s c a l l s   w i t h   s e c c o m p   o r   t h e   S e c c o m p   n o d e   r e f e r e n c e   T o   l e a r n   m o r e   a b o u t   s e c c o m p ,   s e e   S e c c o m p   B P F   i n   t h e   L i n u x   k e r n e l   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/linux-kernel-security-constraints/",
    "id": "k8s_00466_section_4_8869"
  },
  {
    "question": "What is Considerations for seccomp?",
    "answer": "s e c c o m p   i s   a   l o w - l e v e l   s e c u r i t y   c o n f i g u r a t i o n   t h a t   y o u   s h o u l d   o n l y   c o n f i g u r e   y o u r s e l f   i f   y o u   r e q u i r e   f i n e - g r a i n e d   c o n t r o l   o v e r   L i n u x   s y s c a l l s .   U s i n g   s e c c o m p ,   e s p e c i a l l y   a t   s c a l e ,   h a s   t h e   f o l l o w i n g   r i s k s :   C o n f i g u r a t i o n s   m i g h t   b r e a k   d u r i n g   a p p l i c a t i o n   u p d a t e s A t t a c k e r s   c a n   s t i l l   u s e   a l l o w e d   s y s c a l l s   t o   e x p l o i t   v u l n e r a b i l i t i e s P r o f i l e   m a n a g e m e n t   f o r   i n d i v i d u a l   a p p l i c a t i o n s   b e c o m e s   c h a l l e n g i n g   a t   s c a l e   R e c o m m e n d a t i o n :   U s e   t h e   d e f a u l t   s e c c o m p   p r o f i l e   t h a t ' s   b u n d l e d   w i t h   y o u r   c o n t a i n e r   r u n t i m e .   I f   y o u   n e e d   a   m o r e   i s o l a t e d   e n v i r o n m e n t ,   c o n s i d e r   u s i n g   a   s a n d b o x ,   s u c h   a s   g V i s o r .   S a n d b o x e s   s o l v e   t h e   p r e c e d i n g   r i s k s   w i t h   c u s t o m   s e c c o m p   p r o f i l e s ,   b u t   r e q u i r e   m o r e   c o m p u t e   r e s o u r c e s   o n   y o u r   n o d e s   a n d   m i g h t   h a v e   c o m p a t i b i l i t y   i s s u e s   w i t h   G P U s   a n d   o t h e r   s p e c i a l i z e d   h a r d w a r e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/linux-kernel-security-constraints/",
    "id": "k8s_00466_section_4_8870"
  },
  {
    "question": "What is AppArmor and SELinux: policy-based mandatory access control?",
    "answer": "Y o u   c a n   u s e   L i n u x   p o l i c y - b a s e d   m a n d a t o r y   a c c e s s   c o n t r o l   ( M A C )   m e c h a n i s m s ,   s u c h   a s   A p p A r m o r   a n d   S E L i n u x ,   t o   h a r d e n   y o u r   K u b e r n e t e s   w o r k l o a d s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/linux-kernel-security-constraints/",
    "id": "k8s_00466_section_3_8871"
  },
  {
    "question": "What is AppArmor?",
    "answer": "A p p A r m o r   i s   a   L i n u x   k e r n e l   s e c u r i t y   m o d u l e   t h a t   s u p p l e m e n t s   t h e   s t a n d a r d   L i n u x   u s e r   a n d   g r o u p   b a s e d   p e r m i s s i o n s   t o   c o n f i n e   p r o g r a m s   t o   a   l i m i t e d   s e t   o f   r e s o u r c e s .   A p p A r m o r   c a n   b e   c o n f i g u r e d   f o r   a n y   a p p l i c a t i o n   t o   r e d u c e   i t s   p o t e n t i a l   a t t a c k   s u r f a c e   a n d   p r o v i d e   g r e a t e r   i n - d e p t h   d e f e n s e .   I t   i s   c o n f i g u r e d   t h r o u g h   p r o f i l e s   t u n e d   t o   a l l o w   t h e   a c c e s s   n e e d e d   b y   a   s p e c i f i c   p r o g r a m   o r   c o n t a i n e r ,   s u c h   a s   L i n u x   c a p a b i l i t i e s ,   n e t w o r k   a c c e s s ,   a n d   f i l e   p e r m i s s i o n s .   E a c h   p r o f i l e   c a n   b e   r u n   i n   e i t h e r   e n f o r c i n g   m o d e ,   w h i c h   b l o c k s   a c c e s s   t o   d i s a l l o w e d   r e s o u r c e s ,   o r   c o m p l a i n   m o d e ,   w h i c h   o n l y   r e p o r t s   v i o l a t i o n s .   A p p A r m o r   c a n   h e l p   y o u   t o   r u n   a   m o r e   s e c u r e   d e p l o y m e n t   b y   r e s t r i c t i n g   w h a t   c o n t a i n e r s   a r e   a l l o w e d   t o   d o ,   a n d / o r   p r o v i d e   b e t t e r   a u d i t i n g   t h r o u g h   s y s t e m   l o g s .   T h e   c o n t a i n e r   r u n t i m e   t h a t   y o u   u s e   m i g h t   s h i p   w i t h   a   d e f a u l t   A p p A r m o r   p r o f i l e ,   o r   y o u   c a n   u s e   a   c u s t o m   p r o f i l e .   T o   l e a r n   h o w   t o   u s e   A p p A r m o r   i n   K u b e r n e t e s ,   r e f e r   t o   R e s t r i c t   a   C o n t a i n e r ' s   A c c e s s   t o   R e s o u r c e s   w i t h   A p p A r m o r .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/linux-kernel-security-constraints/",
    "id": "k8s_00466_section_4_8872"
  },
  {
    "question": "What is SELinux?",
    "answer": "S E L i n u x   i s   a   L i n u x   k e r n e l   s e c u r i t y   m o d u l e   t h a t   l e t s   y o u   r e s t r i c t   t h e   a c c e s s   t h a t   a   s p e c i f i c   s u b j e c t ,   s u c h   a s   a   p r o c e s s ,   h a s   t o   t h e   f i l e s   o n   y o u r   s y s t e m .   Y o u   d e f i n e   s e c u r i t y   p o l i c i e s   t h a t   a p p l y   t o   s u b j e c t s   t h a t   h a v e   s p e c i f i c   S E L i n u x   l a b e l s .   W h e n   a   p r o c e s s   t h a t   h a s   a n   S E L i n u x   l a b e l   a t t e m p t s   t o   a c c e s s   a   f i l e ,   t h e   S E L i n u x   s e r v e r   c h e c k s   w h e t h e r   t h a t   p r o c e s s '   s e c u r i t y   p o l i c y   a l l o w s   t h e   a c c e s s   a n d   m a k e s   a n   a u t h o r i z a t i o n   d e c i s i o n .   I n   K u b e r n e t e s ,   y o u   c a n   s e t   a n   S E L i n u x   l a b e l   i n   t h e   s e c u r i t y C o n t e x t   f i e l d   o f   y o u r   m a n i f e s t .   T h e   s p e c i f i e d   l a b e l s   a r e   a s s i g n e d   t o   t h o s e   p r o c e s s e s .   I f   y o u   h a v e   c o n f i g u r e d   s e c u r i t y   p o l i c i e s   t h a t   a f f e c t   t h o s e   l a b e l s ,   t h e   h o s t   O S   k e r n e l   e n f o r c e s   t h e s e   p o l i c i e s .   T o   l e a r n   h o w   t o   u s e   S E L i n u x   i n   K u b e r n e t e s ,   r e f e r   t o   A s s i g n   S E L i n u x   l a b e l s   t o   a   c o n t a i n e r .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/linux-kernel-security-constraints/",
    "id": "k8s_00466_section_4_8873"
  },
  {
    "question": "What is Differences between AppArmor and SELinux?",
    "answer": "T h e   o p e r a t i n g   s y s t e m   o n   y o u r   L i n u x   n o d e s   u s u a l l y   i n c l u d e s   o n e   o f   e i t h e r   A p p A r m o r   o r   S E L i n u x .   B o t h   m e c h a n i s m s   p r o v i d e   s i m i l a r   t y p e s   o f   p r o t e c t i o n ,   b u t   h a v e   d i f f e r e n c e s   s u c h   a s   t h e   f o l l o w i n g :   C o n f i g u r a t i o n :   A p p A r m o r   u s e s   p r o f i l e s   t o   d e f i n e   a c c e s s   t o   r e s o u r c e s .   S E L i n u x   u s e s   p o l i c i e s   t h a t   a p p l y   t o   s p e c i f i c   l a b e l s . P o l i c y   a p p l i c a t i o n :   I n   A p p A r m o r ,   y o u   d e f i n e   r e s o u r c e s   u s i n g   f i l e   p a t h s .   S E L i n u x   u s e s   t h e   i n d e x   n o d e   ( i n o d e )   o f   a   r e s o u r c e   t o   i d e n t i f y   t h e   r e s o u r c e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/linux-kernel-security-constraints/",
    "id": "k8s_00466_section_4_8874"
  },
  {
    "question": "What is Summary of features?",
    "answer": "T h e   f o l l o w i n g   t a b l e   d e s c r i b e s   t h e   u s e   c a s e s   a n d   s c o p e   o f   e a c h   s e c u r i t y   c o n t r o l .   Y o u   c a n   u s e   a l l   o f   t h e s e   c o n t r o l s   t o g e t h e r   t o   b u i l d   a   m o r e   h a r d e n e d   s y s t e m .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/linux-kernel-security-constraints/",
    "id": "k8s_00466_section_3_8875"
  },
  {
    "question": "What is Considerations for managing custom configurations?",
    "answer": "s e c c o m p ,   A p p A r m o r ,   a n d   S E L i n u x   u s u a l l y   h a v e   a   d e f a u l t   c o n f i g u r a t i o n   t h a t   o f f e r s   b a s i c   p r o t e c t i o n s .   Y o u   c a n   a l s o   c r e a t e   c u s t o m   p r o f i l e s   a n d   p o l i c i e s   t h a t   m e e t   t h e   r e q u i r e m e n t s   o f   y o u r   w o r k l o a d s .   M a n a g i n g   a n d   d i s t r i b u t i n g   t h e s e   c u s t o m   c o n f i g u r a t i o n s   a t   s c a l e   m i g h t   b e   c h a l l e n g i n g ,   e s p e c i a l l y   i f   y o u   u s e   a l l   t h r e e   f e a t u r e s   t o g e t h e r .   T o   h e l p   y o u   t o   m a n a g e   t h e s e   c o n f i g u r a t i o n s   a t   s c a l e ,   u s e   a   t o o l   l i k e   t h e   K u b e r n e t e s   S e c u r i t y   P r o f i l e s   O p e r a t o r .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/linux-kernel-security-constraints/",
    "id": "k8s_00466_section_3_8876"
  },
  {
    "question": "What is Kernel-level security features and privileged containers?",
    "answer": "K u b e r n e t e s   l e t s   y o u   s p e c i f y   t h a t   s o m e   t r u s t e d   c o n t a i n e r s   c a n   r u n   i n   p r i v i l e g e d   m o d e .   A n y   c o n t a i n e r   i n   a   P o d   c a n   r u n   i n   p r i v i l e g e d   m o d e   t o   u s e   o p e r a t i n g   s y s t e m   a d m i n i s t r a t i v e   c a p a b i l i t i e s   t h a t   w o u l d   o t h e r w i s e   b e   i n a c c e s s i b l e .   T h i s   i s   a v a i l a b l e   f o r   b o t h   W i n d o w s   a n d   L i n u x .   P r i v i l e g e d   c o n t a i n e r s   e x p l i c i t l y   o v e r r i d e   s o m e   o f   t h e   L i n u x   k e r n e l   c o n s t r a i n t s   t h a t   y o u   m i g h t   u s e   i n   y o u r   w o r k l o a d s ,   a s   f o l l o w s :   s e c c o m p :   P r i v i l e g e d   c o n t a i n e r s   r u n   a s   t h e   U n c o n f i n e d   s e c c o m p   p r o f i l e ,   o v e r r i d i n g   a n y   s e c c o m p   p r o f i l e   t h a t   y o u   s p e c i f i e d   i n   y o u r   m a n i f e s t . A p p A r m o r :   P r i v i l e g e d   c o n t a i n e r s   i g n o r e   a n y   a p p l i e d   A p p A r m o r   p r o f i l e s . S E L i n u x :   P r i v i l e g e d   c o n t a i n e r s   r u n   a s   t h e   u n c o n f i n e d _ t   d o m a i n .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/linux-kernel-security-constraints/",
    "id": "k8s_00466_section_2_8877"
  },
  {
    "question": "What is Privileged containers?",
    "answer": "A n y   c o n t a i n e r   i n   a   P o d   c a n   e n a b l e   P r i v i l e g e d   m o d e   i f   y o u   s e t   t h e   p r i v i l e g e d :   t r u e   f i e l d   i n   t h e   s e c u r i t y C o n t e x t   f i e l d   f o r   t h e   c o n t a i n e r .   P r i v i l e g e d   c o n t a i n e r s   o v e r r i d e   o r   u n d o   m a n y   o t h e r   h a r d e n i n g   s e t t i n g s   s u c h   a s   t h e   a p p l i e d   s e c c o m p   p r o f i l e ,   A p p A r m o r   p r o f i l e ,   o r   S E L i n u x   c o n s t r a i n t s .   P r i v i l e g e d   c o n t a i n e r s   a r e   g i v e n   a l l   L i n u x   c a p a b i l i t i e s ,   i n c l u d i n g   c a p a b i l i t i e s   t h a t   t h e y   d o n ' t   r e q u i r e .   F o r   e x a m p l e ,   a   r o o t   u s e r   i n   a   p r i v i l e g e d   c o n t a i n e r   m i g h t   b e   a b l e   t o   u s e   t h e   C A P _ S Y S _ A D M I N   a n d   C A P _ N E T _ A D M I N   c a p a b i l i t i e s   o n   t h e   n o d e ,   b y p a s s i n g   t h e   r u n t i m e   s e c c o m p   c o n f i g u r a t i o n   a n d   o t h e r   r e s t r i c t i o n s .   I n   m o s t   c a s e s ,   y o u   s h o u l d   a v o i d   u s i n g   p r i v i l e g e d   c o n t a i n e r s ,   a n d   i n s t e a d   g r a n t   t h e   s p e c i f i c   c a p a b i l i t i e s   r e q u i r e d   b y   y o u r   c o n t a i n e r   u s i n g   t h e   c a p a b i l i t i e s   f i e l d   i n   t h e   s e c u r i t y C o n t e x t   f i e l d .   O n l y   u s e   p r i v i l e g e d   m o d e   i f   y o u   h a v e   a   c a p a b i l i t y   t h a t   y o u   c a n ' t   g r a n t   w i t h   t h e   s e c u r i t y C o n t e x t .   T h i s   i s   u s e f u l   f o r   c o n t a i n e r s   t h a t   w a n t   t o   u s e   o p e r a t i n g   s y s t e m   a d m i n i s t r a t i v e   c a p a b i l i t i e s   s u c h   a s   m a n i p u l a t i n g   t h e   n e t w o ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/linux-kernel-security-constraints/",
    "id": "k8s_00466_section_3_8878"
  },
  {
    "question": "What is Recommendations and best practices?",
    "answer": "B e f o r e   c o n f i g u r i n g   k e r n e l - l e v e l   s e c u r i t y   c a p a b i l i t i e s ,   y o u   s h o u l d   c o n s i d e r   i m p l e m e n t i n g   n e t w o r k - l e v e l   i s o l a t i o n .   F o r   m o r e   i n f o r m a t i o n ,   r e a d   t h e   S e c u r i t y   C h e c k l i s t . U n l e s s   n e c e s s a r y ,   r u n   L i n u x   w o r k l o a d s   a s   n o n - r o o t   b y   s e t t i n g   s p e c i f i c   u s e r   a n d   g r o u p   I D s   i n   y o u r   P o d   m a n i f e s t   a n d   b y   s p e c i f y i n g   r u n A s N o n R o o t :   t r u e .   A d d i t i o n a l l y ,   y o u   c a n   r u n   w o r k l o a d s   i n   u s e r   n a m e s p a c e s   b y   s e t t i n g   h o s t U s e r s :   f a l s e   i n   y o u r   P o d   m a n i f e s t .   T h i s   l e t s   y o u   r u n   c o n t a i n e r s   a s   r o o t   u s e r s   i n   t h e   u s e r   n a m e s p a c e ,   b u t   a s   n o n - r o o t   u s e r s   i n   t h e   h o s t   n a m e s p a c e   o n   t h e   n o d e .   T h i s   i s   s t i l l   i n   e a r l y   s t a g e s   o f   d e v e l o p m e n t   a n d   m i g h t   n o t   h a v e   t h e   l e v e l   o f   s u p p o r t   t h a t   y o u   n e e d .   F o r   i n s t r u c t i o n s ,   r e f e r   t o   U s e   a   U s e r   N a m e s p a c e   W i t h   a   P o d .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/linux-kernel-security-constraints/",
    "id": "k8s_00466_section_2_8879"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   u s e   A p p A r m o r L e a r n   h o w   t o   u s e   s e c c o m p L e a r n   h o w   t o   u s e   S E L i n u x S e c c o m p   N o d e   R e f e r e n c e",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/linux-kernel-security-constraints/",
    "id": "k8s_00466_section_2_8880"
  },
  {
    "question": "What is Page content types?",
    "answer": "Page content typesThe Kubernetes documentation follows several types of page content:ConceptTaskTutorialReferenceContent sectionsEach page content type contains a number of sections defined by Markdown comments and HTML headings. You can add content headings to your page with the heading shortcode. The comments and headings help maintain the structure of the page content types.Examples of Markdown comments defining page content sections:<!-- overview --> <!-- body --> To create common headings in your content pages, use the heading shortcode with a heading string.Examples of heading strings:whatsnextprerequisitesobjectivescleanupsynopsisseealsooptionsFor example, to create a whatsnext heading, add the heading shortcode with the \"whatsnext\" string:## {{% heading \"whatsnext\" %}} You can declare a prerequisites heading as follows:## {{% heading \"prerequisites\" %}} The heading shortcode expects one string parameter. The heading string parameter matches the prefix of a variable in the i18n/<lang>/<lang>.toml files. For example:i18n/en/en.toml:[whatsnext_heading] other = \"What's next\" i18n/ko/ko.toml:[whatsnext_heading] other = \"다음 내용\" Content typesEach content type informally defines its expected page structure. Create page content with the suggested page sections.ConceptA concept page explains some aspect of Kubernetes. For example, a concept page might describe the Kubernetes Deployment object and explain the role it plays as an application once it is deployed, scaled, and updated. Typically, concept pages don't include sequences of steps, but instead provide links to tasks or tutorials.To write a new concept page, create a Markdown file in a subdirectory of the /content/en/docs/concepts directory, with the following characteristics:Concept pages are divided into three sections:Page sectionoverviewbodywhatsnextThe overview and body sections appear as comments in the concept page. You can add the whatsnext section to your page with the heading shortcode.Fill each section with content. Follow these guidelines:Organize content with H2 and H3 headings.For overview, set the topic's context with a single paragraph.For body, explain the concept.For whatsnext, provide a bulleted list of topics (5 maximum) to learn more about the concept.Annotations is a published example of a concept page.TaskA task page shows how to do a single thing, typically by giving a short sequence of steps. Task pages have minimal explanation, but often provide links to conceptual topics that provide related background and knowledge.To write a new task page, create a Markdown file in a subdirectory of the /content/en/docs/tasks directory, with the following characteristics:Page sectionoverviewprerequisitesstepsdiscussionwhatsnextThe overview, steps, and discussion sections appear as comments in the task page. You can add the prerequisites and whatsnext sections to your page with the heading shortcode.Within each section, write your content. Use the following guidelines:Use a minimum",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/page-content-types/",
    "id": "k8s_00467_qa_8881"
  },
  {
    "question": "How does Page content types work?",
    "answer": "Page content typesThe Kubernetes documentation follows several types of page content:ConceptTaskTutorialReferenceContent sectionsEach page content type contains a number of sections defined by Markdown comments and HTML headings. You can add content headings to your page with the heading shortcode. The comments and headings help maintain the structure of the page content types.Examples of Markdown comments defining page content sections:<!-- overview --> <!-- body --> To create common headings in your content pages, use the heading shortcode with a heading string.Examples of heading strings:whatsnextprerequisitesobjectivescleanupsynopsisseealsooptionsFor example, to create a whatsnext heading, add the heading shortcode with the \"whatsnext\" string:## {{% heading \"whatsnext\" %}} You can declare a prerequisites heading as follows:## {{% heading \"prerequisites\" %}} The heading shortcode expects one string parameter. The heading string parameter matches the prefix of a variable in the i18n/<lang>/<lang>.toml files. For example:i18n/en/en.toml:[whatsnext_heading] other = \"What's next\" i18n/ko/ko.toml:[whatsnext_heading] other = \"다음 내용\" Content typesEach content type informally defines its expected page structure. Create page content with the suggested page sections.ConceptA concept page explains some aspect of Kubernetes. For example, a concept page might describe the Kubernetes Deployment object and explain the role it plays as an application once it is deployed, scaled, and updated. Typically, concept pages don't include sequences of steps, but instead provide links to tasks or tutorials.To write a new concept page, create a Markdown file in a subdirectory of the /content/en/docs/concepts directory, with the following characteristics:Concept pages are divided into three sections:Page sectionoverviewbodywhatsnextThe overview and body sections appear as comments in the concept page. You can add the whatsnext section to your page with the heading shortcode.Fill each section with content. Follow these guidelines:Organize content with H2 and H3 headings.For overview, set the topic's context with a single paragraph.For body, explain the concept.For whatsnext, provide a bulleted list of topics (5 maximum) to learn more about the concept.Annotations is a published example of a concept page.TaskA task page shows how to do a single thing, typically by giving a short sequence of steps. Task pages have minimal explanation, but often provide links to conceptual topics that provide related background and knowledge.To write a new task page, create a Markdown file in a subdirectory of the /content/en/docs/tasks directory, with the following characteristics:Page sectionoverviewprerequisitesstepsdiscussionwhatsnextThe overview, steps, and discussion sections appear as comments in the task page. You can add the prerequisites and whatsnext sections to your page with the heading shortcode.Within each section, write your content. Use the following guidelines:Use a minimum",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/page-content-types/",
    "id": "k8s_00467_qa_8882"
  },
  {
    "question": "When would you use Page content types?",
    "answer": "Page content typesThe Kubernetes documentation follows several types of page content:ConceptTaskTutorialReferenceContent sectionsEach page content type contains a number of sections defined by Markdown comments and HTML headings. You can add content headings to your page with the heading shortcode. The comments and headings help maintain the structure of the page content types.Examples of Markdown comments defining page content sections:<!-- overview --> <!-- body --> To create common headings in your content pages, use the heading shortcode with a heading string.Examples of heading strings:whatsnextprerequisitesobjectivescleanupsynopsisseealsooptionsFor example, to create a whatsnext heading, add the heading shortcode with the \"whatsnext\" string:## {{% heading \"whatsnext\" %}} You can declare a prerequisites heading as follows:## {{% heading \"prerequisites\" %}} The heading shortcode expects one string parameter. The heading string parameter matches the prefix of a variable in the i18n/<lang>/<lang>.toml files. For example:i18n/en/en.toml:[whatsnext_heading] other = \"What's next\" i18n/ko/ko.toml:[whatsnext_heading] other = \"다음 내용\" Content typesEach content type informally defines its expected page structure. Create page content with the suggested page sections.ConceptA concept page explains some aspect of Kubernetes. For example, a concept page might describe the Kubernetes Deployment object and explain the role it plays as an application once it is deployed, scaled, and updated. Typically, concept pages don't include sequences of steps, but instead provide links to tasks or tutorials.To write a new concept page, create a Markdown file in a subdirectory of the /content/en/docs/concepts directory, with the following characteristics:Concept pages are divided into three sections:Page sectionoverviewbodywhatsnextThe overview and body sections appear as comments in the concept page. You can add the whatsnext section to your page with the heading shortcode.Fill each section with content. Follow these guidelines:Organize content with H2 and H3 headings.For overview, set the topic's context with a single paragraph.For body, explain the concept.For whatsnext, provide a bulleted list of topics (5 maximum) to learn more about the concept.Annotations is a published example of a concept page.TaskA task page shows how to do a single thing, typically by giving a short sequence of steps. Task pages have minimal explanation, but often provide links to conceptual topics that provide related background and knowledge.To write a new task page, create a Markdown file in a subdirectory of the /content/en/docs/tasks directory, with the following characteristics:Page sectionoverviewprerequisitesstepsdiscussionwhatsnextThe overview, steps, and discussion sections appear as comments in the task page. You can add the prerequisites and whatsnext sections to your page with the heading shortcode.Within each section, write your content. Use the following guidelines:Use a minimum",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/page-content-types/",
    "id": "k8s_00467_qa_8883"
  },
  {
    "question": "What are the benefits of Page content types?",
    "answer": "Page content typesThe Kubernetes documentation follows several types of page content:ConceptTaskTutorialReferenceContent sectionsEach page content type contains a number of sections defined by Markdown comments and HTML headings. You can add content headings to your page with the heading shortcode. The comments and headings help maintain the structure of the page content types.Examples of Markdown comments defining page content sections:<!-- overview --> <!-- body --> To create common headings in your content pages, use the heading shortcode with a heading string.Examples of heading strings:whatsnextprerequisitesobjectivescleanupsynopsisseealsooptionsFor example, to create a whatsnext heading, add the heading shortcode with the \"whatsnext\" string:## {{% heading \"whatsnext\" %}} You can declare a prerequisites heading as follows:## {{% heading \"prerequisites\" %}} The heading shortcode expects one string parameter. The heading string parameter matches the prefix of a variable in the i18n/<lang>/<lang>.toml files. For example:i18n/en/en.toml:[whatsnext_heading] other = \"What's next\" i18n/ko/ko.toml:[whatsnext_heading] other = \"다음 내용\" Content typesEach content type informally defines its expected page structure. Create page content with the suggested page sections.ConceptA concept page explains some aspect of Kubernetes. For example, a concept page might describe the Kubernetes Deployment object and explain the role it plays as an application once it is deployed, scaled, and updated. Typically, concept pages don't include sequences of steps, but instead provide links to tasks or tutorials.To write a new concept page, create a Markdown file in a subdirectory of the /content/en/docs/concepts directory, with the following characteristics:Concept pages are divided into three sections:Page sectionoverviewbodywhatsnextThe overview and body sections appear as comments in the concept page. You can add the whatsnext section to your page with the heading shortcode.Fill each section with content. Follow these guidelines:Organize content with H2 and H3 headings.For overview, set the topic's context with a single paragraph.For body, explain the concept.For whatsnext, provide a bulleted list of topics (5 maximum) to learn more about the concept.Annotations is a published example of a concept page.TaskA task page shows how to do a single thing, typically by giving a short sequence of steps. Task pages have minimal explanation, but often provide links to conceptual topics that provide related background and knowledge.To write a new task page, create a Markdown file in a subdirectory of the /content/en/docs/tasks directory, with the following characteristics:Page sectionoverviewprerequisitesstepsdiscussionwhatsnextThe overview, steps, and discussion sections appear as comments in the task page. You can add the prerequisites and whatsnext sections to your page with the heading shortcode.Within each section, write your content. Use the following guidelines:Use a minimum",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/page-content-types/",
    "id": "k8s_00467_qa_8884"
  },
  {
    "question": "What is Page content types?",
    "answer": "T h e   K u b e r n e t e s   d o c u m e n t a t i o n   f o l l o w s   s e v e r a l   t y p e s   o f   p a g e   c o n t e n t :   C o n c e p t T a s k T u t o r i a l R e f e r e n c e",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/page-content-types/",
    "id": "k8s_00467_section_1_8885"
  },
  {
    "question": "What is Content sections?",
    "answer": "E a c h   p a g e   c o n t e n t   t y p e   c o n t a i n s   a   n u m b e r   o f   s e c t i o n s   d e f i n e d   b y   M a r k d o w n   c o m m e n t s   a n d   H T M L   h e a d i n g s .   Y o u   c a n   a d d   c o n t e n t   h e a d i n g s   t o   y o u r   p a g e   w i t h   t h e   h e a d i n g   s h o r t c o d e .   T h e   c o m m e n t s   a n d   h e a d i n g s   h e l p   m a i n t a i n   t h e   s t r u c t u r e   o f   t h e   p a g e   c o n t e n t   t y p e s .   E x a m p l e s   o f   M a r k d o w n   c o m m e n t s   d e f i n i n g   p a g e   c o n t e n t   s e c t i o n s :   < ! - -   o v e r v i e w   - - >   < ! - -   b o d y   - - >   T o   c r e a t e   c o m m o n   h e a d i n g s   i n   y o u r   c o n t e n t   p a g e s ,   u s e   t h e   h e a d i n g   s h o r t c o d e   w i t h   a   h e a d i n g   s t r i n g .   E x a m p l e s   o f   h e a d i n g   s t r i n g s :   w h a t s n e x t p r e r e q u i s i t e s o b j e c t i v e s c l e a n u p s y n o p s i s s e e a l s o o p t i o n s   F o r   e x a m p l e ,   t o   c r e a t e   a   w h a t s n e x t   h e a d i n g ,   a d d   t h e   h e a d i n g   s h o r t c o d e   w i t h   t h e   \" w h a t s n e x t \"   s t r i n g :   # #   { { %   h e a d i n g   \" w h a t s n e x t \"   % } }   Y o u   c a n   d e c l a r e   a   p r e r e q u i s i t e s   h e a d i n g   a s   f o l l o w s :   # #   { { %   h e a d i n g   \" p r e r e q u i s i t e s \"   % } }   T h e   h e a d i n g   s h o r t c o d e   e x p e c t s   o n e   s t r i n g   p a r a m e t e r .   T h e   h e a d i n g   s t r i n g   p a r a m e t e r   m a t c h e s   t h e   p r e f i x   o f   a   v a r i a b l e   i n   t h e   i 1 8 n / < l a n g > / < l a n g > . t o m l   f i l e s .   F o r   e x a m p l e :   i 1 8 n / e n / e n . t o m l :   [ w h a t s n e x t _ h e a d i n g ]   o t h e r   =   \" W h a t ' s   n e x t \"   i 1 8 n / k o / k o . t o m l :   [ w h a t s n ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/page-content-types/",
    "id": "k8s_00467_section_2_8886"
  },
  {
    "question": "What is Content types?",
    "answer": "E a c h   c o n t e n t   t y p e   i n f o r m a l l y   d e f i n e s   i t s   e x p e c t e d   p a g e   s t r u c t u r e .   C r e a t e   p a g e   c o n t e n t   w i t h   t h e   s u g g e s t e d   p a g e   s e c t i o n s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/page-content-types/",
    "id": "k8s_00467_section_2_8887"
  },
  {
    "question": "What is Concept?",
    "answer": "A   c o n c e p t   p a g e   e x p l a i n s   s o m e   a s p e c t   o f   K u b e r n e t e s .   F o r   e x a m p l e ,   a   c o n c e p t   p a g e   m i g h t   d e s c r i b e   t h e   K u b e r n e t e s   D e p l o y m e n t   o b j e c t   a n d   e x p l a i n   t h e   r o l e   i t   p l a y s   a s   a n   a p p l i c a t i o n   o n c e   i t   i s   d e p l o y e d ,   s c a l e d ,   a n d   u p d a t e d .   T y p i c a l l y ,   c o n c e p t   p a g e s   d o n ' t   i n c l u d e   s e q u e n c e s   o f   s t e p s ,   b u t   i n s t e a d   p r o v i d e   l i n k s   t o   t a s k s   o r   t u t o r i a l s .   T o   w r i t e   a   n e w   c o n c e p t   p a g e ,   c r e a t e   a   M a r k d o w n   f i l e   i n   a   s u b d i r e c t o r y   o f   t h e   / c o n t e n t / e n / d o c s / c o n c e p t s   d i r e c t o r y ,   w i t h   t h e   f o l l o w i n g   c h a r a c t e r i s t i c s :   C o n c e p t   p a g e s   a r e   d i v i d e d   i n t o   t h r e e   s e c t i o n s :   T h e   o v e r v i e w   a n d   b o d y   s e c t i o n s   a p p e a r   a s   c o m m e n t s   i n   t h e   c o n c e p t   p a g e .   Y o u   c a n   a d d   t h e   w h a t s n e x t   s e c t i o n   t o   y o u r   p a g e   w i t h   t h e   h e a d i n g   s h o r t c o d e .   F i l l   e a c h   s e c t i o n   w i t h   c o n t e n t .   F o l l o w   t h e s e   g u i d e l i n e s :   O r g a n i z e   c o n t e n t   w i t h   H 2   a n d   H 3   h e a d i n g s . F o r   o v e r v i e w ,   s e t   t h e   t o p i c ' s   c o n t e x t   w i t h   a   s i n g l e   p a r a g r a p h . F o r   b o d y ,   e x p l a i n   t h e   c o n c e p t . F o r   w h a t s n e x t ,   p r o v i d e   a   b u l l e t e d   l i s t   o f   t o p i c s   ( 5   m a x i m u m )   t o   l e a r n   m o r e   a b o u t   t h e   c o n c e p t .   A n n o t a t i o n s   i s   a   p u b l i s h e d   e x a m p l e   o f   a   c o n c e p t   ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/page-content-types/",
    "id": "k8s_00467_section_3_8888"
  },
  {
    "question": "What is Task?",
    "answer": "A   t a s k   p a g e   s h o w s   h o w   t o   d o   a   s i n g l e   t h i n g ,   t y p i c a l l y   b y   g i v i n g   a   s h o r t   s e q u e n c e   o f   s t e p s .   T a s k   p a g e s   h a v e   m i n i m a l   e x p l a n a t i o n ,   b u t   o f t e n   p r o v i d e   l i n k s   t o   c o n c e p t u a l   t o p i c s   t h a t   p r o v i d e   r e l a t e d   b a c k g r o u n d   a n d   k n o w l e d g e .   T o   w r i t e   a   n e w   t a s k   p a g e ,   c r e a t e   a   M a r k d o w n   f i l e   i n   a   s u b d i r e c t o r y   o f   t h e   / c o n t e n t / e n / d o c s / t a s k s   d i r e c t o r y ,   w i t h   t h e   f o l l o w i n g   c h a r a c t e r i s t i c s :   T h e   o v e r v i e w ,   s t e p s ,   a n d   d i s c u s s i o n   s e c t i o n s   a p p e a r   a s   c o m m e n t s   i n   t h e   t a s k   p a g e .   Y o u   c a n   a d d   t h e   p r e r e q u i s i t e s   a n d   w h a t s n e x t   s e c t i o n s   t o   y o u r   p a g e   w i t h   t h e   h e a d i n g   s h o r t c o d e .   W i t h i n   e a c h   s e c t i o n ,   w r i t e   y o u r   c o n t e n t .   U s e   t h e   f o l l o w i n g   g u i d e l i n e s :   U s e   a   m i n i m u m   o f   H 2   h e a d i n g s   ( w i t h   t w o   l e a d i n g   #   c h a r a c t e r s ) .   T h e   s e c t i o n s   t h e m s e l v e s   a r e   t i t l e d   a u t o m a t i c a l l y   b y   t h e   t e m p l a t e . F o r   o v e r v i e w ,   u s e   a   p a r a g r a p h   t o   s e t   c o n t e x t   f o r   t h e   e n t i r e   t o p i c . F o r   p r e r e q u i s i t e s ,   u s e   b u l l e t   l i s t s   w h e n   p o s s i b l e .   S t a r t   a d d i n g   a d d i t i o n a l   p r e r e q u i s i t e s   b e l o w   t h e   i n c l u d e .   T h e   d e f a u l t   p r e r e q u i s i t e s   i n c l u d e   a   r u n n i n g   K u b e r n e t e s   c l u s t e r . F o r   s t e p s ,   u s e   n u m b e r e d   l ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/page-content-types/",
    "id": "k8s_00467_section_3_8889"
  },
  {
    "question": "What is Tutorial?",
    "answer": "A   t u t o r i a l   p a g e   s h o w s   h o w   t o   a c c o m p l i s h   a   g o a l   t h a t   i s   l a r g e r   t h a n   a   s i n g l e   t a s k .   T y p i c a l l y   a   t u t o r i a l   p a g e   h a s   s e v e r a l   s e c t i o n s ,   e a c h   o f   w h i c h   h a s   a   s e q u e n c e   o f   s t e p s .   F o r   e x a m p l e ,   a   t u t o r i a l   m i g h t   p r o v i d e   a   w a l k t h r o u g h   o f   a   c o d e   s a m p l e   t h a t   i l l u s t r a t e s   a   c e r t a i n   f e a t u r e   o f   K u b e r n e t e s .   T u t o r i a l s   c a n   i n c l u d e   s u r f a c e - l e v e l   e x p l a n a t i o n s ,   b u t   s h o u l d   l i n k   t o   r e l a t e d   c o n c e p t   t o p i c s   f o r   d e e p   e x p l a n a t i o n s .   T o   w r i t e   a   n e w   t u t o r i a l   p a g e ,   c r e a t e   a   M a r k d o w n   f i l e   i n   a   s u b d i r e c t o r y   o f   t h e   / c o n t e n t / e n / d o c s / t u t o r i a l s   d i r e c t o r y ,   w i t h   t h e   f o l l o w i n g   c h a r a c t e r i s t i c s :   T h e   o v e r v i e w ,   o b j e c t i v e s ,   a n d   l e s s o n c o n t e n t   s e c t i o n s   a p p e a r   a s   c o m m e n t s   i n   t h e   t u t o r i a l   p a g e .   Y o u   c a n   a d d   t h e   p r e r e q u i s i t e s ,   c l e a n u p ,   a n d   w h a t s n e x t   s e c t i o n s   t o   y o u r   p a g e   w i t h   t h e   h e a d i n g   s h o r t c o d e .   W i t h i n   e a c h   s e c t i o n ,   w r i t e   y o u r   c o n t e n t .   U s e   t h e   f o l l o w i n g   g u i d e l i n e s :   U s e   a   m i n i m u m   o f   H 2   h e a d i n g s   ( w i t h   t w o   l e a d i n g   #   c h a r a c t e r s ) .   T h e   s e c t i o n s   t h e m s e l v e s   a r e   t i t l e d   a u t o m a t i c a l l y   b y   t h e   t e m p l a t e . F o r   o v e r v i e w ,   u s e   a   p a r a g r a p h   t o   s e t   c o n t e x t   f o r   ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/page-content-types/",
    "id": "k8s_00467_section_3_8890"
  },
  {
    "question": "What is Reference?",
    "answer": "A   c o m p o n e n t   t o o l   r e f e r e n c e   p a g e   s h o w s   t h e   d e s c r i p t i o n   a n d   f l a g   o p t i o n s   o u t p u t   f o r   a   K u b e r n e t e s   c o m p o n e n t   t o o l .   E a c h   p a g e   g e n e r a t e s   f r o m   s c r i p t s   u s i n g   t h e   c o m p o n e n t   t o o l   c o m m a n d s .   A   t o o l   r e f e r e n c e   p a g e   h a s   s e v e r a l   p o s s i b l e   s e c t i o n s :   E x a m p l e s   o f   p u b l i s h e d   t o o l   r e f e r e n c e   p a g e s   a r e :   k u b e a d m   i n i t k u b e - a p i s e r v e r k u b e c t l",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/page-content-types/",
    "id": "k8s_00467_section_3_8891"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   t h e   S t y l e   g u i d e L e a r n   a b o u t   t h e   C o n t e n t   g u i d e L e a r n   a b o u t   c o n t e n t   o r g a n i z a t i o n",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/page-content-types/",
    "id": "k8s_00467_section_2_8892"
  },
  {
    "question": "What is Upgrade A Cluster?",
    "answer": "Upgrade A ClusterThis page provides an overview of the steps you should follow to upgrade a Kubernetes cluster.The Kubernetes project recommends upgrading to the latest patch releases promptly, and to ensure that you are running a supported minor release of Kubernetes. Following this recommendation helps you to stay secure.The way that you upgrade a cluster depends on how you initially deployed it and on any subsequent changes.At a high level, the steps you perform are:Upgrade the control planeUpgrade the nodes in your clusterUpgrade clients such as kubectlAdjust manifests and other resources based on the API changes that accompany the new Kubernetes versionBefore you beginYou must have an existing cluster. This page is about upgrading from Kubernetes 1.33 to Kubernetes 1.34. If your cluster is not currently running Kubernetes 1.33 then please check the documentation for the version of Kubernetes that you plan to upgrade to.Upgrade approacheskubeadmIf your cluster was deployed using the kubeadm tool, refer to Upgrading kubeadm clusters for detailed information on how to upgrade the cluster.Once you have upgraded the cluster, remember to install the latest version of kubectl.Manual deploymentsCaution:These steps do not account for third-party extensions such as network and storage plugins.You should manually update the control plane following this sequence:etcd (all instances)kube-apiserver (all control plane hosts)kube-controller-managerkube-schedulercloud controller manager, if you use oneAt this point you should install the latest version of kubectl.For each node in your cluster, drain that node and then either replace it with a new node that uses the 1.34 kubelet, or upgrade the kubelet on that node and bring the node back into service.Caution:Draining nodes before upgrading kubelet ensures that pods are re-admitted and containers are re-created, which may be necessary to resolve some security issues or other important bugs.Other deploymentsRefer to the documentation for your cluster deployment tool to learn the recommended set up steps for maintenance.Post-upgrade tasksSwitch your cluster's storage API versionThe objects that are serialized into etcd for a cluster's internal representation of the Kubernetes resources active in the cluster are written using a particular version of the API.When the supported API changes, these objects may need to be rewritten in the newer API. Failure to do this will eventually result in resources that are no longer decodable or usable by the Kubernetes API server.For each affected object, fetch it using the latest supported API and then write it back also using the latest supported API.Update manifestsUpgrading to a new Kubernetes version can provide new APIs.You can use kubectl convert command to convert manifests between different API versions. For example:kubectl convert -f pod.yaml --output-version v1 The kubectl tool replaces the contents of pod.yaml with a manifest that sets kind to Pod (unchanged), but ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/cluster-upgrade/",
    "id": "k8s_00468_qa_8893"
  },
  {
    "question": "How does Upgrade A Cluster work?",
    "answer": "Upgrade A ClusterThis page provides an overview of the steps you should follow to upgrade a Kubernetes cluster.The Kubernetes project recommends upgrading to the latest patch releases promptly, and to ensure that you are running a supported minor release of Kubernetes. Following this recommendation helps you to stay secure.The way that you upgrade a cluster depends on how you initially deployed it and on any subsequent changes.At a high level, the steps you perform are:Upgrade the control planeUpgrade the nodes in your clusterUpgrade clients such as kubectlAdjust manifests and other resources based on the API changes that accompany the new Kubernetes versionBefore you beginYou must have an existing cluster. This page is about upgrading from Kubernetes 1.33 to Kubernetes 1.34. If your cluster is not currently running Kubernetes 1.33 then please check the documentation for the version of Kubernetes that you plan to upgrade to.Upgrade approacheskubeadmIf your cluster was deployed using the kubeadm tool, refer to Upgrading kubeadm clusters for detailed information on how to upgrade the cluster.Once you have upgraded the cluster, remember to install the latest version of kubectl.Manual deploymentsCaution:These steps do not account for third-party extensions such as network and storage plugins.You should manually update the control plane following this sequence:etcd (all instances)kube-apiserver (all control plane hosts)kube-controller-managerkube-schedulercloud controller manager, if you use oneAt this point you should install the latest version of kubectl.For each node in your cluster, drain that node and then either replace it with a new node that uses the 1.34 kubelet, or upgrade the kubelet on that node and bring the node back into service.Caution:Draining nodes before upgrading kubelet ensures that pods are re-admitted and containers are re-created, which may be necessary to resolve some security issues or other important bugs.Other deploymentsRefer to the documentation for your cluster deployment tool to learn the recommended set up steps for maintenance.Post-upgrade tasksSwitch your cluster's storage API versionThe objects that are serialized into etcd for a cluster's internal representation of the Kubernetes resources active in the cluster are written using a particular version of the API.When the supported API changes, these objects may need to be rewritten in the newer API. Failure to do this will eventually result in resources that are no longer decodable or usable by the Kubernetes API server.For each affected object, fetch it using the latest supported API and then write it back also using the latest supported API.Update manifestsUpgrading to a new Kubernetes version can provide new APIs.You can use kubectl convert command to convert manifests between different API versions. For example:kubectl convert -f pod.yaml --output-version v1 The kubectl tool replaces the contents of pod.yaml with a manifest that sets kind to Pod (unchanged), but ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/cluster-upgrade/",
    "id": "k8s_00468_qa_8894"
  },
  {
    "question": "When would you use Upgrade A Cluster?",
    "answer": "Upgrade A ClusterThis page provides an overview of the steps you should follow to upgrade a Kubernetes cluster.The Kubernetes project recommends upgrading to the latest patch releases promptly, and to ensure that you are running a supported minor release of Kubernetes. Following this recommendation helps you to stay secure.The way that you upgrade a cluster depends on how you initially deployed it and on any subsequent changes.At a high level, the steps you perform are:Upgrade the control planeUpgrade the nodes in your clusterUpgrade clients such as kubectlAdjust manifests and other resources based on the API changes that accompany the new Kubernetes versionBefore you beginYou must have an existing cluster. This page is about upgrading from Kubernetes 1.33 to Kubernetes 1.34. If your cluster is not currently running Kubernetes 1.33 then please check the documentation for the version of Kubernetes that you plan to upgrade to.Upgrade approacheskubeadmIf your cluster was deployed using the kubeadm tool, refer to Upgrading kubeadm clusters for detailed information on how to upgrade the cluster.Once you have upgraded the cluster, remember to install the latest version of kubectl.Manual deploymentsCaution:These steps do not account for third-party extensions such as network and storage plugins.You should manually update the control plane following this sequence:etcd (all instances)kube-apiserver (all control plane hosts)kube-controller-managerkube-schedulercloud controller manager, if you use oneAt this point you should install the latest version of kubectl.For each node in your cluster, drain that node and then either replace it with a new node that uses the 1.34 kubelet, or upgrade the kubelet on that node and bring the node back into service.Caution:Draining nodes before upgrading kubelet ensures that pods are re-admitted and containers are re-created, which may be necessary to resolve some security issues or other important bugs.Other deploymentsRefer to the documentation for your cluster deployment tool to learn the recommended set up steps for maintenance.Post-upgrade tasksSwitch your cluster's storage API versionThe objects that are serialized into etcd for a cluster's internal representation of the Kubernetes resources active in the cluster are written using a particular version of the API.When the supported API changes, these objects may need to be rewritten in the newer API. Failure to do this will eventually result in resources that are no longer decodable or usable by the Kubernetes API server.For each affected object, fetch it using the latest supported API and then write it back also using the latest supported API.Update manifestsUpgrading to a new Kubernetes version can provide new APIs.You can use kubectl convert command to convert manifests between different API versions. For example:kubectl convert -f pod.yaml --output-version v1 The kubectl tool replaces the contents of pod.yaml with a manifest that sets kind to Pod (unchanged), but ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/cluster-upgrade/",
    "id": "k8s_00468_qa_8895"
  },
  {
    "question": "What are the benefits of Upgrade A Cluster?",
    "answer": "Upgrade A ClusterThis page provides an overview of the steps you should follow to upgrade a Kubernetes cluster.The Kubernetes project recommends upgrading to the latest patch releases promptly, and to ensure that you are running a supported minor release of Kubernetes. Following this recommendation helps you to stay secure.The way that you upgrade a cluster depends on how you initially deployed it and on any subsequent changes.At a high level, the steps you perform are:Upgrade the control planeUpgrade the nodes in your clusterUpgrade clients such as kubectlAdjust manifests and other resources based on the API changes that accompany the new Kubernetes versionBefore you beginYou must have an existing cluster. This page is about upgrading from Kubernetes 1.33 to Kubernetes 1.34. If your cluster is not currently running Kubernetes 1.33 then please check the documentation for the version of Kubernetes that you plan to upgrade to.Upgrade approacheskubeadmIf your cluster was deployed using the kubeadm tool, refer to Upgrading kubeadm clusters for detailed information on how to upgrade the cluster.Once you have upgraded the cluster, remember to install the latest version of kubectl.Manual deploymentsCaution:These steps do not account for third-party extensions such as network and storage plugins.You should manually update the control plane following this sequence:etcd (all instances)kube-apiserver (all control plane hosts)kube-controller-managerkube-schedulercloud controller manager, if you use oneAt this point you should install the latest version of kubectl.For each node in your cluster, drain that node and then either replace it with a new node that uses the 1.34 kubelet, or upgrade the kubelet on that node and bring the node back into service.Caution:Draining nodes before upgrading kubelet ensures that pods are re-admitted and containers are re-created, which may be necessary to resolve some security issues or other important bugs.Other deploymentsRefer to the documentation for your cluster deployment tool to learn the recommended set up steps for maintenance.Post-upgrade tasksSwitch your cluster's storage API versionThe objects that are serialized into etcd for a cluster's internal representation of the Kubernetes resources active in the cluster are written using a particular version of the API.When the supported API changes, these objects may need to be rewritten in the newer API. Failure to do this will eventually result in resources that are no longer decodable or usable by the Kubernetes API server.For each affected object, fetch it using the latest supported API and then write it back also using the latest supported API.Update manifestsUpgrading to a new Kubernetes version can provide new APIs.You can use kubectl convert command to convert manifests between different API versions. For example:kubectl convert -f pod.yaml --output-version v1 The kubectl tool replaces the contents of pod.yaml with a manifest that sets kind to Pod (unchanged), but ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/cluster-upgrade/",
    "id": "k8s_00468_qa_8896"
  },
  {
    "question": "What is Upgrade A Cluster?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   o f   t h e   s t e p s   y o u   s h o u l d   f o l l o w   t o   u p g r a d e   a   K u b e r n e t e s   c l u s t e r .   T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   u p g r a d i n g   t o   t h e   l a t e s t   p a t c h   r e l e a s e s   p r o m p t l y ,   a n d   t o   e n s u r e   t h a t   y o u   a r e   r u n n i n g   a   s u p p o r t e d   m i n o r   r e l e a s e   o f   K u b e r n e t e s .   F o l l o w i n g   t h i s   r e c o m m e n d a t i o n   h e l p s   y o u   t o   s t a y   s e c u r e .   T h e   w a y   t h a t   y o u   u p g r a d e   a   c l u s t e r   d e p e n d s   o n   h o w   y o u   i n i t i a l l y   d e p l o y e d   i t   a n d   o n   a n y   s u b s e q u e n t   c h a n g e s .   A t   a   h i g h   l e v e l ,   t h e   s t e p s   y o u   p e r f o r m   a r e :   U p g r a d e   t h e   c o n t r o l   p l a n e U p g r a d e   t h e   n o d e s   i n   y o u r   c l u s t e r U p g r a d e   c l i e n t s   s u c h   a s   k u b e c t l A d j u s t   m a n i f e s t s   a n d   o t h e r   r e s o u r c e s   b a s e d   o n   t h e   A P I   c h a n g e s   t h a t   a c c o m p a n y   t h e   n e w   K u b e r n e t e s   v e r s i o n",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/cluster-upgrade/",
    "id": "k8s_00468_section_1_8897"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   m u s t   h a v e   a n   e x i s t i n g   c l u s t e r .   T h i s   p a g e   i s   a b o u t   u p g r a d i n g   f r o m   K u b e r n e t e s   1 . 3 3   t o   K u b e r n e t e s   1 . 3 4 .   I f   y o u r   c l u s t e r   i s   n o t   c u r r e n t l y   r u n n i n g   K u b e r n e t e s   1 . 3 3   t h e n   p l e a s e   c h e c k   t h e   d o c u m e n t a t i o n   f o r   t h e   v e r s i o n   o f   K u b e r n e t e s   t h a t   y o u   p l a n   t o   u p g r a d e   t o .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/cluster-upgrade/",
    "id": "k8s_00468_section_2_8898"
  },
  {
    "question": "What is kubeadm?",
    "answer": "I f   y o u r   c l u s t e r   w a s   d e p l o y e d   u s i n g   t h e   k u b e a d m   t o o l ,   r e f e r   t o   U p g r a d i n g   k u b e a d m   c l u s t e r s   f o r   d e t a i l e d   i n f o r m a t i o n   o n   h o w   t o   u p g r a d e   t h e   c l u s t e r .   O n c e   y o u   h a v e   u p g r a d e d   t h e   c l u s t e r ,   r e m e m b e r   t o   i n s t a l l   t h e   l a t e s t   v e r s i o n   o f   k u b e c t l .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/cluster-upgrade/",
    "id": "k8s_00468_section_3_8899"
  },
  {
    "question": "What is Caution:?",
    "answer": "Y o u   s h o u l d   m a n u a l l y   u p d a t e   t h e   c o n t r o l   p l a n e   f o l l o w i n g   t h i s   s e q u e n c e :   e t c d   ( a l l   i n s t a n c e s ) k u b e - a p i s e r v e r   ( a l l   c o n t r o l   p l a n e   h o s t s ) k u b e - c o n t r o l l e r - m a n a g e r k u b e - s c h e d u l e r c l o u d   c o n t r o l l e r   m a n a g e r ,   i f   y o u   u s e   o n e   A t   t h i s   p o i n t   y o u   s h o u l d   i n s t a l l   t h e   l a t e s t   v e r s i o n   o f   k u b e c t l .   F o r   e a c h   n o d e   i n   y o u r   c l u s t e r ,   d r a i n   t h a t   n o d e   a n d   t h e n   e i t h e r   r e p l a c e   i t   w i t h   a   n e w   n o d e   t h a t   u s e s   t h e   1 . 3 4   k u b e l e t ,   o r   u p g r a d e   t h e   k u b e l e t   o n   t h a t   n o d e   a n d   b r i n g   t h e   n o d e   b a c k   i n t o   s e r v i c e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/cluster-upgrade/",
    "id": "k8s_00468_section_4_8900"
  },
  {
    "question": "What is Other deployments?",
    "answer": "R e f e r   t o   t h e   d o c u m e n t a t i o n   f o r   y o u r   c l u s t e r   d e p l o y m e n t   t o o l   t o   l e a r n   t h e   r e c o m m e n d e d   s e t   u p   s t e p s   f o r   m a i n t e n a n c e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/cluster-upgrade/",
    "id": "k8s_00468_section_3_8901"
  },
  {
    "question": "What is Switch your cluster's storage API version?",
    "answer": "T h e   o b j e c t s   t h a t   a r e   s e r i a l i z e d   i n t o   e t c d   f o r   a   c l u s t e r ' s   i n t e r n a l   r e p r e s e n t a t i o n   o f   t h e   K u b e r n e t e s   r e s o u r c e s   a c t i v e   i n   t h e   c l u s t e r   a r e   w r i t t e n   u s i n g   a   p a r t i c u l a r   v e r s i o n   o f   t h e   A P I .   W h e n   t h e   s u p p o r t e d   A P I   c h a n g e s ,   t h e s e   o b j e c t s   m a y   n e e d   t o   b e   r e w r i t t e n   i n   t h e   n e w e r   A P I .   F a i l u r e   t o   d o   t h i s   w i l l   e v e n t u a l l y   r e s u l t   i n   r e s o u r c e s   t h a t   a r e   n o   l o n g e r   d e c o d a b l e   o r   u s a b l e   b y   t h e   K u b e r n e t e s   A P I   s e r v e r .   F o r   e a c h   a f f e c t e d   o b j e c t ,   f e t c h   i t   u s i n g   t h e   l a t e s t   s u p p o r t e d   A P I   a n d   t h e n   w r i t e   i t   b a c k   a l s o   u s i n g   t h e   l a t e s t   s u p p o r t e d   A P I .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/cluster-upgrade/",
    "id": "k8s_00468_section_3_8902"
  },
  {
    "question": "What is Update manifests?",
    "answer": "U p g r a d i n g   t o   a   n e w   K u b e r n e t e s   v e r s i o n   c a n   p r o v i d e   n e w   A P I s .   Y o u   c a n   u s e   k u b e c t l   c o n v e r t   c o m m a n d   t o   c o n v e r t   m a n i f e s t s   b e t w e e n   d i f f e r e n t   A P I   v e r s i o n s .   F o r   e x a m p l e :   k u b e c t l   c o n v e r t   - f   p o d . y a m l   - - o u t p u t - v e r s i o n   v 1   T h e   k u b e c t l   t o o l   r e p l a c e s   t h e   c o n t e n t s   o f   p o d . y a m l   w i t h   a   m a n i f e s t   t h a t   s e t s   k i n d   t o   P o d   ( u n c h a n g e d ) ,   b u t   w i t h   a   r e v i s e d   a p i V e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/cluster-upgrade/",
    "id": "k8s_00468_section_3_8903"
  },
  {
    "question": "What is Device Plugins?",
    "answer": "I f   y o u r   c l u s t e r   i s   r u n n i n g   d e v i c e   p l u g i n s   a n d   t h e   n o d e   n e e d s   t o   b e   u p g r a d e d   t o   a   K u b e r n e t e s   r e l e a s e   w i t h   a   n e w e r   d e v i c e   p l u g i n   A P I   v e r s i o n ,   d e v i c e   p l u g i n s   m u s t   b e   u p g r a d e d   t o   s u p p o r t   b o t h   v e r s i o n   b e f o r e   t h e   n o d e   i s   u p g r a d e d   i n   o r d e r   t o   g u a r a n t e e   t h a t   d e v i c e   a l l o c a t i o n s   c o n t i n u e   t o   c o m p l e t e   s u c c e s s f u l l y   d u r i n g   t h e   u p g r a d e .   R e f e r   t o   A P I   c o m p a t i b i l i t y   a n d   K u b e l e t   D e v i c e   M a n a g e r   A P I   V e r s i o n s   f o r   m o r e   d e t a i l s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/cluster-upgrade/",
    "id": "k8s_00468_section_3_8904"
  },
  {
    "question": "What is Specifying a Disruption Budget for your Application?",
    "answer": "Specifying a Disruption Budget for your ApplicationFEATURE STATE: Kubernetes v1.21 [stable]This page shows how to limit the number of concurrent disruptions that your application experiences, allowing for higher availability while permitting the cluster administrator to manage the clusters nodes.Before you beginYour Kubernetes server must be at or later than version v1.21.To check the version, enter kubectl version.You are the owner of an application running on a Kubernetes cluster that requires high availability.You should know how to deploy Replicated Stateless Applications and/or Replicated Stateful Applications.You should have read about Pod Disruptions.You should confirm with your cluster owner or service provider that they respect Pod Disruption Budgets.Protecting an Application with a PodDisruptionBudgetIdentify what application you want to protect with a PodDisruptionBudget (PDB).Think about how your application reacts to disruptions.Create a PDB definition as a YAML file.Create the PDB object from the YAML file.Identify an Application to ProtectThe most common use case when you want to protect an application specified by one of the built-in Kubernetes controllers:DeploymentReplicationControllerReplicaSetStatefulSetIn this case, make a note of the controller's .spec.selector; the same selector goes into the PDBs .spec.selector.From version 1.15 PDBs support custom controllers where the scale subresource is enabled.You can also use PDBs with pods which are not controlled by one of the above controllers, or arbitrary groups of pods, but there are some restrictions, described in Arbitrary workloads and arbitrary selectors.Think about how your application reacts to disruptionsDecide how many instances can be down at the same time for a short period due to a voluntary disruption.Stateless frontends:Concern: don't reduce serving capacity by more than 10%.Solution: use PDB with minAvailable 90% for example.Single-instance Stateful Application:Concern: do not terminate this application without talking to me.Possible Solution 1: Do not use a PDB and tolerate occasional downtime.Possible Solution 2: Set PDB with maxUnavailable=0. Have an understanding (outside of Kubernetes) that the cluster operator needs to consult you before termination. When the cluster operator contacts you, prepare for downtime, and then delete the PDB to indicate readiness for disruption. Recreate afterwards.Multiple-instance Stateful application such as Consul, ZooKeeper, or etcd:Concern: Do not reduce number of instances below quorum, otherwise writes fail.Possible Solution 1: set maxUnavailable to 1 (works with varying scale of application).Possible Solution 2: set minAvailable to quorum-size (e.g. 3 when scale is 5). (Allows more disruptions at once).Restartable Batch Job:Concern: Job needs to complete in case of voluntary disruption.Possible solution: Do not create a PDB. The Job controller will create a replacement pod.Rounding logic when specifying percentagesValues f",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/configure-pdb/",
    "id": "k8s_00469_qa_8905"
  },
  {
    "question": "How does Specifying a Disruption Budget for your Application work?",
    "answer": "Specifying a Disruption Budget for your ApplicationFEATURE STATE: Kubernetes v1.21 [stable]This page shows how to limit the number of concurrent disruptions that your application experiences, allowing for higher availability while permitting the cluster administrator to manage the clusters nodes.Before you beginYour Kubernetes server must be at or later than version v1.21.To check the version, enter kubectl version.You are the owner of an application running on a Kubernetes cluster that requires high availability.You should know how to deploy Replicated Stateless Applications and/or Replicated Stateful Applications.You should have read about Pod Disruptions.You should confirm with your cluster owner or service provider that they respect Pod Disruption Budgets.Protecting an Application with a PodDisruptionBudgetIdentify what application you want to protect with a PodDisruptionBudget (PDB).Think about how your application reacts to disruptions.Create a PDB definition as a YAML file.Create the PDB object from the YAML file.Identify an Application to ProtectThe most common use case when you want to protect an application specified by one of the built-in Kubernetes controllers:DeploymentReplicationControllerReplicaSetStatefulSetIn this case, make a note of the controller's .spec.selector; the same selector goes into the PDBs .spec.selector.From version 1.15 PDBs support custom controllers where the scale subresource is enabled.You can also use PDBs with pods which are not controlled by one of the above controllers, or arbitrary groups of pods, but there are some restrictions, described in Arbitrary workloads and arbitrary selectors.Think about how your application reacts to disruptionsDecide how many instances can be down at the same time for a short period due to a voluntary disruption.Stateless frontends:Concern: don't reduce serving capacity by more than 10%.Solution: use PDB with minAvailable 90% for example.Single-instance Stateful Application:Concern: do not terminate this application without talking to me.Possible Solution 1: Do not use a PDB and tolerate occasional downtime.Possible Solution 2: Set PDB with maxUnavailable=0. Have an understanding (outside of Kubernetes) that the cluster operator needs to consult you before termination. When the cluster operator contacts you, prepare for downtime, and then delete the PDB to indicate readiness for disruption. Recreate afterwards.Multiple-instance Stateful application such as Consul, ZooKeeper, or etcd:Concern: Do not reduce number of instances below quorum, otherwise writes fail.Possible Solution 1: set maxUnavailable to 1 (works with varying scale of application).Possible Solution 2: set minAvailable to quorum-size (e.g. 3 when scale is 5). (Allows more disruptions at once).Restartable Batch Job:Concern: Job needs to complete in case of voluntary disruption.Possible solution: Do not create a PDB. The Job controller will create a replacement pod.Rounding logic when specifying percentagesValues f",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/configure-pdb/",
    "id": "k8s_00469_qa_8906"
  },
  {
    "question": "When would you use Specifying a Disruption Budget for your Application?",
    "answer": "Specifying a Disruption Budget for your ApplicationFEATURE STATE: Kubernetes v1.21 [stable]This page shows how to limit the number of concurrent disruptions that your application experiences, allowing for higher availability while permitting the cluster administrator to manage the clusters nodes.Before you beginYour Kubernetes server must be at or later than version v1.21.To check the version, enter kubectl version.You are the owner of an application running on a Kubernetes cluster that requires high availability.You should know how to deploy Replicated Stateless Applications and/or Replicated Stateful Applications.You should have read about Pod Disruptions.You should confirm with your cluster owner or service provider that they respect Pod Disruption Budgets.Protecting an Application with a PodDisruptionBudgetIdentify what application you want to protect with a PodDisruptionBudget (PDB).Think about how your application reacts to disruptions.Create a PDB definition as a YAML file.Create the PDB object from the YAML file.Identify an Application to ProtectThe most common use case when you want to protect an application specified by one of the built-in Kubernetes controllers:DeploymentReplicationControllerReplicaSetStatefulSetIn this case, make a note of the controller's .spec.selector; the same selector goes into the PDBs .spec.selector.From version 1.15 PDBs support custom controllers where the scale subresource is enabled.You can also use PDBs with pods which are not controlled by one of the above controllers, or arbitrary groups of pods, but there are some restrictions, described in Arbitrary workloads and arbitrary selectors.Think about how your application reacts to disruptionsDecide how many instances can be down at the same time for a short period due to a voluntary disruption.Stateless frontends:Concern: don't reduce serving capacity by more than 10%.Solution: use PDB with minAvailable 90% for example.Single-instance Stateful Application:Concern: do not terminate this application without talking to me.Possible Solution 1: Do not use a PDB and tolerate occasional downtime.Possible Solution 2: Set PDB with maxUnavailable=0. Have an understanding (outside of Kubernetes) that the cluster operator needs to consult you before termination. When the cluster operator contacts you, prepare for downtime, and then delete the PDB to indicate readiness for disruption. Recreate afterwards.Multiple-instance Stateful application such as Consul, ZooKeeper, or etcd:Concern: Do not reduce number of instances below quorum, otherwise writes fail.Possible Solution 1: set maxUnavailable to 1 (works with varying scale of application).Possible Solution 2: set minAvailable to quorum-size (e.g. 3 when scale is 5). (Allows more disruptions at once).Restartable Batch Job:Concern: Job needs to complete in case of voluntary disruption.Possible solution: Do not create a PDB. The Job controller will create a replacement pod.Rounding logic when specifying percentagesValues f",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/configure-pdb/",
    "id": "k8s_00469_qa_8907"
  },
  {
    "question": "What are the benefits of Specifying a Disruption Budget for your Application?",
    "answer": "Specifying a Disruption Budget for your ApplicationFEATURE STATE: Kubernetes v1.21 [stable]This page shows how to limit the number of concurrent disruptions that your application experiences, allowing for higher availability while permitting the cluster administrator to manage the clusters nodes.Before you beginYour Kubernetes server must be at or later than version v1.21.To check the version, enter kubectl version.You are the owner of an application running on a Kubernetes cluster that requires high availability.You should know how to deploy Replicated Stateless Applications and/or Replicated Stateful Applications.You should have read about Pod Disruptions.You should confirm with your cluster owner or service provider that they respect Pod Disruption Budgets.Protecting an Application with a PodDisruptionBudgetIdentify what application you want to protect with a PodDisruptionBudget (PDB).Think about how your application reacts to disruptions.Create a PDB definition as a YAML file.Create the PDB object from the YAML file.Identify an Application to ProtectThe most common use case when you want to protect an application specified by one of the built-in Kubernetes controllers:DeploymentReplicationControllerReplicaSetStatefulSetIn this case, make a note of the controller's .spec.selector; the same selector goes into the PDBs .spec.selector.From version 1.15 PDBs support custom controllers where the scale subresource is enabled.You can also use PDBs with pods which are not controlled by one of the above controllers, or arbitrary groups of pods, but there are some restrictions, described in Arbitrary workloads and arbitrary selectors.Think about how your application reacts to disruptionsDecide how many instances can be down at the same time for a short period due to a voluntary disruption.Stateless frontends:Concern: don't reduce serving capacity by more than 10%.Solution: use PDB with minAvailable 90% for example.Single-instance Stateful Application:Concern: do not terminate this application without talking to me.Possible Solution 1: Do not use a PDB and tolerate occasional downtime.Possible Solution 2: Set PDB with maxUnavailable=0. Have an understanding (outside of Kubernetes) that the cluster operator needs to consult you before termination. When the cluster operator contacts you, prepare for downtime, and then delete the PDB to indicate readiness for disruption. Recreate afterwards.Multiple-instance Stateful application such as Consul, ZooKeeper, or etcd:Concern: Do not reduce number of instances below quorum, otherwise writes fail.Possible Solution 1: set maxUnavailable to 1 (works with varying scale of application).Possible Solution 2: set minAvailable to quorum-size (e.g. 3 when scale is 5). (Allows more disruptions at once).Restartable Batch Job:Concern: Job needs to complete in case of voluntary disruption.Possible solution: Do not create a PDB. The Job controller will create a replacement pod.Rounding logic when specifying percentagesValues f",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/configure-pdb/",
    "id": "k8s_00469_qa_8908"
  },
  {
    "question": "What is Specifying a Disruption Budget for your Application?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   l i m i t   t h e   n u m b e r   o f   c o n c u r r e n t   d i s r u p t i o n s   t h a t   y o u r   a p p l i c a t i o n   e x p e r i e n c e s ,   a l l o w i n g   f o r   h i g h e r   a v a i l a b i l i t y   w h i l e   p e r m i t t i n g   t h e   c l u s t e r   a d m i n i s t r a t o r   t o   m a n a g e   t h e   c l u s t e r s   n o d e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/configure-pdb/",
    "id": "k8s_00469_section_1_8909"
  },
  {
    "question": "What is Before you begin?",
    "answer": "T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   a r e   t h e   o w n e r   o f   a n   a p p l i c a t i o n   r u n n i n g   o n   a   K u b e r n e t e s   c l u s t e r   t h a t   r e q u i r e s   h i g h   a v a i l a b i l i t y . Y o u   s h o u l d   k n o w   h o w   t o   d e p l o y   R e p l i c a t e d   S t a t e l e s s   A p p l i c a t i o n s   a n d / o r   R e p l i c a t e d   S t a t e f u l   A p p l i c a t i o n s . Y o u   s h o u l d   h a v e   r e a d   a b o u t   P o d   D i s r u p t i o n s . Y o u   s h o u l d   c o n f i r m   w i t h   y o u r   c l u s t e r   o w n e r   o r   s e r v i c e   p r o v i d e r   t h a t   t h e y   r e s p e c t   P o d   D i s r u p t i o n   B u d g e t s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/configure-pdb/",
    "id": "k8s_00469_section_2_8910"
  },
  {
    "question": "What is Protecting an Application with a PodDisruptionBudget?",
    "answer": "I d e n t i f y   w h a t   a p p l i c a t i o n   y o u   w a n t   t o   p r o t e c t   w i t h   a   P o d D i s r u p t i o n B u d g e t   ( P D B ) . T h i n k   a b o u t   h o w   y o u r   a p p l i c a t i o n   r e a c t s   t o   d i s r u p t i o n s . C r e a t e   a   P D B   d e f i n i t i o n   a s   a   Y A M L   f i l e . C r e a t e   t h e   P D B   o b j e c t   f r o m   t h e   Y A M L   f i l e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/configure-pdb/",
    "id": "k8s_00469_section_2_8911"
  },
  {
    "question": "What is Identify an Application to Protect?",
    "answer": "T h e   m o s t   c o m m o n   u s e   c a s e   w h e n   y o u   w a n t   t o   p r o t e c t   a n   a p p l i c a t i o n   s p e c i f i e d   b y   o n e   o f   t h e   b u i l t - i n   K u b e r n e t e s   c o n t r o l l e r s :   D e p l o y m e n t R e p l i c a t i o n C o n t r o l l e r R e p l i c a S e t S t a t e f u l S e t   I n   t h i s   c a s e ,   m a k e   a   n o t e   o f   t h e   c o n t r o l l e r ' s   . s p e c . s e l e c t o r ;   t h e   s a m e   s e l e c t o r   g o e s   i n t o   t h e   P D B s   . s p e c . s e l e c t o r .   F r o m   v e r s i o n   1 . 1 5   P D B s   s u p p o r t   c u s t o m   c o n t r o l l e r s   w h e r e   t h e   s c a l e   s u b r e s o u r c e   i s   e n a b l e d .   Y o u   c a n   a l s o   u s e   P D B s   w i t h   p o d s   w h i c h   a r e   n o t   c o n t r o l l e d   b y   o n e   o f   t h e   a b o v e   c o n t r o l l e r s ,   o r   a r b i t r a r y   g r o u p s   o f   p o d s ,   b u t   t h e r e   a r e   s o m e   r e s t r i c t i o n s ,   d e s c r i b e d   i n   A r b i t r a r y   w o r k l o a d s   a n d   a r b i t r a r y   s e l e c t o r s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/configure-pdb/",
    "id": "k8s_00469_section_2_8912"
  },
  {
    "question": "What is Think about how your application reacts to disruptions?",
    "answer": "D e c i d e   h o w   m a n y   i n s t a n c e s   c a n   b e   d o w n   a t   t h e   s a m e   t i m e   f o r   a   s h o r t   p e r i o d   d u e   t o   a   v o l u n t a r y   d i s r u p t i o n .   S t a t e l e s s   f r o n t e n d s : C o n c e r n :   d o n ' t   r e d u c e   s e r v i n g   c a p a c i t y   b y   m o r e   t h a n   1 0 % . S o l u t i o n :   u s e   P D B   w i t h   m i n A v a i l a b l e   9 0 %   f o r   e x a m p l e . S i n g l e - i n s t a n c e   S t a t e f u l   A p p l i c a t i o n : C o n c e r n :   d o   n o t   t e r m i n a t e   t h i s   a p p l i c a t i o n   w i t h o u t   t a l k i n g   t o   m e . P o s s i b l e   S o l u t i o n   1 :   D o   n o t   u s e   a   P D B   a n d   t o l e r a t e   o c c a s i o n a l   d o w n t i m e . P o s s i b l e   S o l u t i o n   2 :   S e t   P D B   w i t h   m a x U n a v a i l a b l e = 0 .   H a v e   a n   u n d e r s t a n d i n g   ( o u t s i d e   o f   K u b e r n e t e s )   t h a t   t h e   c l u s t e r   o p e r a t o r   n e e d s   t o   c o n s u l t   y o u   b e f o r e   t e r m i n a t i o n .   W h e n   t h e   c l u s t e r   o p e r a t o r   c o n t a c t s   y o u ,   p r e p a r e   f o r   d o w n t i m e ,   a n d   t h e n   d e l e t e   t h e   P D B   t o   i n d i c a t e   r e a d i n e s s   f o r   d i s r u p t i o n .   R e c r e a t e   a f t e r w a r d s . M u l t i p l e - i n s t a n c e   S t a t e f u l   a p p l i c a t i o n   s u c h   a s   C o n s u l ,   Z o o K e e p e r ,   o r   e t c d : C o n c e r n :   D o   n o t   r e d u c e   n u m b e r   o f   i n s t a n c e s   b e l o w   q u o r u m ,   o t h e r w i s e   w r i t e s   f a i l . P o s s i b l e   S o l u t i o n   1 :   s e t   m a x U n a v a i l a b l e   t o   1   ( w o r k s   w i t h   v a r y i n g   s c a l e   o f   a p p l i c a t i o n ) . P o s s i b l e   S o l u t i o n   2 :   s e t   m i n A v a i l a b l e   t o   q u o r ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/configure-pdb/",
    "id": "k8s_00469_section_2_8913"
  },
  {
    "question": "What is Rounding logic when specifying percentages?",
    "answer": "V a l u e s   f o r   m i n A v a i l a b l e   o r   m a x U n a v a i l a b l e   c a n   b e   e x p r e s s e d   a s   i n t e g e r s   o r   a s   a   p e r c e n t a g e .   W h e n   y o u   s p e c i f y   a n   i n t e g e r ,   i t   r e p r e s e n t s   a   n u m b e r   o f   P o d s .   F o r   i n s t a n c e ,   i f   y o u   s e t   m i n A v a i l a b l e   t o   1 0 ,   t h e n   1 0   P o d s   m u s t   a l w a y s   b e   a v a i l a b l e ,   e v e n   d u r i n g   a   d i s r u p t i o n . W h e n   y o u   s p e c i f y   a   p e r c e n t a g e   b y   s e t t i n g   t h e   v a l u e   t o   a   s t r i n g   r e p r e s e n t a t i o n   o f   a   p e r c e n t a g e   ( e g .   \" 5 0 % \" ) ,   i t   r e p r e s e n t s   a   p e r c e n t a g e   o f   t o t a l   P o d s .   F o r   i n s t a n c e ,   i f   y o u   s e t   m i n A v a i l a b l e   t o   \" 5 0 % \" ,   t h e n   a t   l e a s t   5 0 %   o f   t h e   P o d s   r e m a i n   a v a i l a b l e   d u r i n g   a   d i s r u p t i o n .   W h e n   y o u   s p e c i f y   t h e   v a l u e   a s   a   p e r c e n t a g e ,   i t   m a y   n o t   m a p   t o   a n   e x a c t   n u m b e r   o f   P o d s .   F o r   e x a m p l e ,   i f   y o u   h a v e   7   P o d s   a n d   y o u   s e t   m i n A v a i l a b l e   t o   \" 5 0 % \" ,   i t ' s   n o t   i m m e d i a t e l y   o b v i o u s   w h e t h e r   t h a t   m e a n s   3   P o d s   o r   4   P o d s   m u s t   b e   a v a i l a b l e .   K u b e r n e t e s   r o u n d s   u p   t o   t h e   n e a r e s t   i n t e g e r ,   s o   i n   t h i s   c a s e ,   4   P o d s   m u s t   b e   a v a i l a b l e .   W h e n   y o u   s p e c i f y   t h e   v a l u e   m a x U n a v a i l a b l e   a s   a   p e r c e n t a g e ,   K u b e r n e t e s   r o u n d s   u p   t h e   n u m b e r   o f   P o d s   t h a t   m a y   b e   d i s r u p t e d .   T h e r e b y   a   d i s r u p t i o n   c a n   e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/configure-pdb/",
    "id": "k8s_00469_section_3_8914"
  },
  {
    "question": "What is Specifying a PodDisruptionBudget?",
    "answer": "A   P o d D i s r u p t i o n B u d g e t   h a s   t h r e e   f i e l d s :   A   l a b e l   s e l e c t o r   . s p e c . s e l e c t o r   t o   s p e c i f y   t h e   s e t   o f   p o d s   t o   w h i c h   i t   a p p l i e s .   T h i s   f i e l d   i s   r e q u i r e d . . s p e c . m i n A v a i l a b l e   w h i c h   i s   a   d e s c r i p t i o n   o f   t h e   n u m b e r   o f   p o d s   f r o m   t h a t   s e t   t h a t   m u s t   s t i l l   b e   a v a i l a b l e   a f t e r   t h e   e v i c t i o n ,   e v e n   i n   t h e   a b s e n c e   o f   t h e   e v i c t e d   p o d .   m i n A v a i l a b l e   c a n   b e   e i t h e r   a n   a b s o l u t e   n u m b e r   o r   a   p e r c e n t a g e . . s p e c . m a x U n a v a i l a b l e   ( a v a i l a b l e   i n   K u b e r n e t e s   1 . 7   a n d   h i g h e r )   w h i c h   i s   a   d e s c r i p t i o n   o f   t h e   n u m b e r   o f   p o d s   f r o m   t h a t   s e t   t h a t   c a n   b e   u n a v a i l a b l e   a f t e r   t h e   e v i c t i o n .   I t   c a n   b e   e i t h e r   a n   a b s o l u t e   n u m b e r   o r   a   p e r c e n t a g e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/configure-pdb/",
    "id": "k8s_00469_section_2_8915"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   s p e c i f y   o n l y   o n e   o f   m a x U n a v a i l a b l e   a n d   m i n A v a i l a b l e   i n   a   s i n g l e   P o d D i s r u p t i o n B u d g e t .   m a x U n a v a i l a b l e   c a n   o n l y   b e   u s e d   t o   c o n t r o l   t h e   e v i c t i o n   o f   p o d s   t h a t   a l l   h a v e   t h e   s a m e   a s s o c i a t e d   c o n t r o l l e r   m a n a g i n g   t h e m .   I n   t h e   e x a m p l e s   b e l o w ,   \" d e s i r e d   r e p l i c a s \"   i s   t h e   s c a l e   o f   t h e   c o n t r o l l e r   m a n a g i n g   t h e   p o d s   b e i n g   s e l e c t e d   b y   t h e   P o d D i s r u p t i o n B u d g e t .   E x a m p l e   1 :   W i t h   a   m i n A v a i l a b l e   o f   5 ,   e v i c t i o n s   a r e   a l l o w e d   a s   l o n g   a s   t h e y   l e a v e   b e h i n d   5   o r   m o r e   h e a l t h y   p o d s   a m o n g   t h o s e   s e l e c t e d   b y   t h e   P o d D i s r u p t i o n B u d g e t ' s   s e l e c t o r .   E x a m p l e   2 :   W i t h   a   m i n A v a i l a b l e   o f   3 0 % ,   e v i c t i o n s   a r e   a l l o w e d   a s   l o n g   a s   a t   l e a s t   3 0 %   o f   t h e   n u m b e r   o f   d e s i r e d   r e p l i c a s   a r e   h e a l t h y .   E x a m p l e   3 :   W i t h   a   m a x U n a v a i l a b l e   o f   5 ,   e v i c t i o n s   a r e   a l l o w e d   a s   l o n g   a s   t h e r e   a r e   a t   m o s t   5   u n h e a l t h y   r e p l i c a s   a m o n g   t h e   t o t a l   n u m b e r   o f   d e s i r e d   r e p l i c a s .   E x a m p l e   4 :   W i t h   a   m a x U n a v a i l a b l e   o f   3 0 % ,   e v i c t i o n s   a r e   a l l o w e d   a s   l o n g   a s   t h e   n u m b e r   o f   u n h e a l t h y   r e p l i c a s   d o e s   n o t   e x c e e d   3 0 %   o f   t h e   t o t a l   n u m b e r   o f   d e s i r e d   r e p l i c a   r o u n d e d   u p   t o   t h e   n e a r e s t ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/configure-pdb/",
    "id": "k8s_00469_section_4_8916"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   s e t   m a x U n a v a i l a b l e   t o   0 %   o r   0 ,   o r   y o u   s e t   m i n A v a i l a b l e   t o   1 0 0 %   o r   t h e   n u m b e r   o f   r e p l i c a s ,   y o u   a r e   r e q u i r i n g   z e r o   v o l u n t a r y   e v i c t i o n s .   W h e n   y o u   s e t   z e r o   v o l u n t a r y   e v i c t i o n s   f o r   a   w o r k l o a d   o b j e c t   s u c h   a s   R e p l i c a S e t ,   t h e n   y o u   c a n n o t   s u c c e s s f u l l y   d r a i n   a   N o d e   r u n n i n g   o n e   o f   t h o s e   P o d s .   I f   y o u   t r y   t o   d r a i n   a   N o d e   w h e r e   a n   u n e v i c t a b l e   P o d   i s   r u n n i n g ,   t h e   d r a i n   n e v e r   c o m p l e t e s .   T h i s   i s   p e r m i t t e d   a s   p e r   t h e   s e m a n t i c s   o f   P o d D i s r u p t i o n B u d g e t .   Y o u   c a n   f i n d   e x a m p l e s   o f   p o d   d i s r u p t i o n   b u d g e t s   d e f i n e d   b e l o w .   T h e y   m a t c h   p o d s   w i t h   t h e   l a b e l   a p p :   z o o k e e p e r .   E x a m p l e   P D B   U s i n g   m i n A v a i l a b l e :   a p i V e r s i o n :   p o l i c y / v 1   k i n d :   P o d D i s r u p t i o n B u d g e t   m e t a d a t a :   n a m e :   z k - p d b   s p e c :   m i n A v a i l a b l e :   2   s e l e c t o r :   m a t c h L a b e l s :   a p p :   z o o k e e p e r   E x a m p l e   P D B   U s i n g   m a x U n a v a i l a b l e :   a p i V e r s i o n :   p o l i c y / v 1   k i n d :   P o d D i s r u p t i o n B u d g e t   m e t a d a t a :   n a m e :   z k - p d b   s p e c :   m a x U n a v a i l a b l e :   1   s e l e c t o r :   m a t c h L a b e l s :   a p p :   z o o k e e p e r   F o r   e x a m p l e ,   i f   t h e   a b o v e   z k - p d b   o b j e c t   s e l e c t s   t h e   p o d s   o f   a   S t a t e f u l S e t   o f   s i z e   3 ,   b o t h   s p e c i f i c a t i o n s   h a v e   t h e   e x ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/configure-pdb/",
    "id": "k8s_00469_section_4_8917"
  },
  {
    "question": "What is Create the PDB object?",
    "answer": "Y o u   c a n   c r e a t e   o r   u p d a t e   t h e   P D B   o b j e c t   u s i n g   k u b e c t l .   k u b e c t l   a p p l y   - f   m y p d b . y a m l",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/configure-pdb/",
    "id": "k8s_00469_section_2_8918"
  },
  {
    "question": "What is Check the status of the PDB?",
    "answer": "U s e   k u b e c t l   t o   c h e c k   t h a t   y o u r   P D B   i s   c r e a t e d .   A s s u m i n g   y o u   d o n ' t   a c t u a l l y   h a v e   p o d s   m a t c h i n g   a p p :   z o o k e e p e r   i n   y o u r   n a m e s p a c e ,   t h e n   y o u ' l l   s e e   s o m e t h i n g   l i k e   t h i s :   k u b e c t l   g e t   p o d d i s r u p t i o n b u d g e t s   N A M E   M I N   A V A I L A B L E   M A X   U N A V A I L A B L E   A L L O W E D   D I S R U P T I O N S   A G E   z k - p d b   2   N / A   0   7 s   I f   t h e r e   a r e   m a t c h i n g   p o d s   ( s a y ,   3 ) ,   t h e n   y o u   w o u l d   s e e   s o m e t h i n g   l i k e   t h i s :   k u b e c t l   g e t   p o d d i s r u p t i o n b u d g e t s   N A M E   M I N   A V A I L A B L E   M A X   U N A V A I L A B L E   A L L O W E D   D I S R U P T I O N S   A G E   z k - p d b   2   N / A   1   7 s   T h e   n o n - z e r o   v a l u e   f o r   A L L O W E D   D I S R U P T I O N S   m e a n s   t h a t   t h e   d i s r u p t i o n   c o n t r o l l e r   h a s   s e e n   t h e   p o d s ,   c o u n t e d   t h e   m a t c h i n g   p o d s ,   a n d   u p d a t e d   t h e   s t a t u s   o f   t h e   P D B .   Y o u   c a n   g e t   m o r e   i n f o r m a t i o n   a b o u t   t h e   s t a t u s   o f   a   P D B   w i t h   t h i s   c o m m a n d :   k u b e c t l   g e t   p o d d i s r u p t i o n b u d g e t s   z k - p d b   - o   y a m l   a p i V e r s i o n :   p o l i c y / v 1   k i n d :   P o d D i s r u p t i o n B u d g e t   m e t a d a t a :   a n n o t a t i o n s :   …   c r e a t i o n T i m e s t a m p :   \" 2 0 2 0 - 0 3 - 0 4 T 0 4 : 2 2 : 5 6 Z \"   g e n e r a t i o n :   1   n a m e :   z k - p d b   …   s t a t u s :   c u r r e n t H e a l t h y :   3   d e s i r e d H e a l t h y :   2   d i s r u p t i o n s A l l o w e d :   1   e x p e c t e d P o d s :   3   o b s e r v e d G e n e r a t i o n :   1",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/configure-pdb/",
    "id": "k8s_00469_section_2_8919"
  },
  {
    "question": "What is Healthiness of a Pod?",
    "answer": "T h e   c u r r e n t   i m p l e m e n t a t i o n   c o n s i d e r s   h e a l t h y   p o d s ,   a s   p o d s   t h a t   h a v e   . s t a t u s . c o n d i t i o n s   i t e m   w i t h   t y p e = \" R e a d y \"   a n d   s t a t u s = \" T r u e \" .   T h e s e   p o d s   a r e   t r a c k e d   v i a   . s t a t u s . c u r r e n t H e a l t h y   f i e l d   i n   t h e   P D B   s t a t u s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/configure-pdb/",
    "id": "k8s_00469_section_3_8920"
  },
  {
    "question": "What is Unhealthy Pod Eviction Policy?",
    "answer": "P o d D i s r u p t i o n B u d g e t   g u a r d i n g   a n   a p p l i c a t i o n   e n s u r e s   t h a t   . s t a t u s . c u r r e n t H e a l t h y   n u m b e r   o f   p o d s   d o e s   n o t   f a l l   b e l o w   t h e   n u m b e r   s p e c i f i e d   i n   . s t a t u s . d e s i r e d H e a l t h y   b y   d i s a l l o w i n g   e v i c t i o n   o f   h e a l t h y   p o d s .   B y   u s i n g   . s p e c . u n h e a l t h y P o d E v i c t i o n P o l i c y ,   y o u   c a n   a l s o   d e f i n e   t h e   c r i t e r i a   w h e n   u n h e a l t h y   p o d s   s h o u l d   b e   c o n s i d e r e d   f o r   e v i c t i o n .   T h e   d e f a u l t   b e h a v i o r   w h e n   n o   p o l i c y   i s   s p e c i f i e d   c o r r e s p o n d s   t o   t h e   I f H e a l t h y B u d g e t   p o l i c y .   P o l i c i e s :   T h i s   p o l i c y   e n s u r e s   t h a t   r u n n i n g   p o d s   o f   a n   a l r e a d y   d i s r u p t e d   a p p l i c a t i o n   h a v e   t h e   b e s t   c h a n c e   t o   b e c o m e   h e a l t h y .   T h i s   h a s   n e g a t i v e   i m p l i c a t i o n s   f o r   d r a i n i n g   n o d e s ,   w h i c h   c a n   b e   b l o c k e d   b y   m i s b e h a v i n g   a p p l i c a t i o n s   t h a t   a r e   g u a r d e d   b y   a   P D B .   M o r e   s p e c i f i c a l l y   a p p l i c a t i o n s   w i t h   p o d s   i n   C r a s h L o o p B a c k O f f   s t a t e   ( d u e   t o   a   b u g   o r   m i s c o n f i g u r a t i o n ) ,   o r   p o d s   t h a t   a r e   j u s t   f a i l i n g   t o   r e p o r t   t h e   R e a d y   c o n d i t i o n .   T h i s   m e a n s   p r o s p e c t i v e   r u n n i n g   p o d s   o f   a   d i s r u p t e d   a p p l i c a t i o n   m i g h t   n o t   g e t   a   c h a n c e   t o   b e c o m e   h e a l t h y .   B y   u s i n g   t h i s   p o l i c y ,   c l u s t e r   m a n a g e r s   c a n   e a s i l y   e v i c ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/configure-pdb/",
    "id": "k8s_00469_section_2_8921"
  },
  {
    "question": "What is Arbitrary workloads and arbitrary selectors?",
    "answer": "Y o u   c a n   s k i p   t h i s   s e c t i o n   i f   y o u   o n l y   u s e   P D B s   w i t h   t h e   b u i l t - i n   w o r k l o a d   r e s o u r c e s   ( D e p l o y m e n t ,   R e p l i c a S e t ,   S t a t e f u l S e t   a n d   R e p l i c a t i o n C o n t r o l l e r )   o r   w i t h   c u s t o m   r e s o u r c e s   t h a t   i m p l e m e n t   a   s c a l e   s u b r e s o u r c e ,   a n d   w h e r e   t h e   P D B   s e l e c t o r   e x a c t l y   m a t c h e s   t h e   s e l e c t o r   o f   t h e   P o d ' s   o w n i n g   r e s o u r c e .   Y o u   c a n   u s e   a   P D B   w i t h   p o d s   c o n t r o l l e d   b y   a n o t h e r   r e s o u r c e ,   b y   a n   \" o p e r a t o r \" ,   o r   b a r e   p o d s ,   b u t   w i t h   t h e s e   r e s t r i c t i o n s :   o n l y   . s p e c . m i n A v a i l a b l e   c a n   b e   u s e d ,   n o t   . s p e c . m a x U n a v a i l a b l e . o n l y   a n   i n t e g e r   v a l u e   c a n   b e   u s e d   w i t h   . s p e c . m i n A v a i l a b l e ,   n o t   a   p e r c e n t a g e .   I t   i s   n o t   p o s s i b l e   t o   u s e   o t h e r   a v a i l a b i l i t y   c o n f i g u r a t i o n s ,   b e c a u s e   K u b e r n e t e s   c a n n o t   d e r i v e   a   t o t a l   n u m b e r   o f   p o d s   w i t h o u t   a   s u p p o r t e d   o w n i n g   r e s o u r c e .   Y o u   c a n   u s e   a   s e l e c t o r   w h i c h   s e l e c t s   a   s u b s e t   o r   s u p e r s e t   o f   t h e   p o d s   b e l o n g i n g   t o   a   w o r k l o a d   r e s o u r c e .   T h e   e v i c t i o n   A P I   w i l l   d i s a l l o w   e v i c t i o n   o f   a n y   p o d   c o v e r e d   b y   m u l t i p l e   P D B s ,   s o   m o s t   u s e r s   w i l l   w a n t   t o   a v o i d   o v e r l a p p i n g   s e l e c t o r s .   O n e   r e a s o n a b l e   u s e   o f   o v e r l a p p i n g   P D B s   i s   w h e n   p o d s   a r ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/run-application/configure-pdb/",
    "id": "k8s_00469_section_2_8922"
  },
  {
    "question": "What is kube-apiserver Configuration (v1beta1)?",
    "answer": "kube-apiserver Configuration (v1beta1)Package v1beta1 is the v1beta1 version of the API.Resource TypesAuthenticationConfigurationAuthorizationConfigurationEgressSelectorConfigurationTracingConfigurationTracingConfigurationAppears in:KubeletConfigurationTracingConfigurationTracingConfigurationTracingConfiguration provides versioned configuration for OpenTelemetry tracing clients.FieldDescriptionendpointstringEndpoint of the collector this component will report traces to. The connection is insecure, and does not currently support TLS. Recommended is unset, and endpoint is the otlp grpc default, localhost:4317.samplingRatePerMillionint32SamplingRatePerMillion is the number of samples to collect per million spans. Recommended is unset. If unset, sampler respects its parent span's sampling rate, but otherwise never samples.AuthenticationConfigurationAuthenticationConfiguration provides versioned configuration for authentication.FieldDescriptionapiVersionstringapiserver.k8s.io/v1beta1kindstringAuthenticationConfigurationjwt [Required][]JWTAuthenticatorjwt is a list of authenticator to authenticate Kubernetes users using JWT compliant tokens. The authenticator will attempt to parse a raw ID token, verify it's been signed by the configured issuer. The public key to verify the signature is discovered from the issuer's public endpoint using OIDC discovery. For an incoming token, each JWT authenticator will be attempted in the order in which it is specified in this list. Note however that other authenticators may run before or after the JWT authenticators. The specific position of JWT authenticators in relation to other authenticators is neither defined nor stable across releases. Since each JWT authenticator must have a unique issuer URL, at most one JWT authenticator will attempt to cryptographically validate the token.The minimum valid JWT payload must contain the following claims: { \"iss\": \"https://issuer.example.com\", \"aud\": [\"audience\"], \"exp\": 1234567890, \"\": \"username\" }anonymous [Required]AnonymousAuthConfigIf present --anonymous-auth must not be setAuthorizationConfigurationFieldDescriptionapiVersionstringapiserver.k8s.io/v1beta1kindstringAuthorizationConfigurationauthorizers [Required][]AuthorizerConfigurationAuthorizers is an ordered list of authorizers to authorize requests against. This is similar to the --authorization-modes kube-apiserver flag Must be at least one.EgressSelectorConfigurationEgressSelectorConfiguration provides versioned configuration for egress selector clients.FieldDescriptionapiVersionstringapiserver.k8s.io/v1beta1kindstringEgressSelectorConfigurationegressSelections [Required][]EgressSelectionconnectionServices contains a list of egress selection client configurationsTracingConfigurationTracingConfiguration provides versioned configuration for tracing clients.FieldDescriptionapiVersionstringapiserver.k8s.io/v1beta1kindstringTracingConfigurationTracingConfiguration [Required]TracingConfiguration(Members of TracingConfigura",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_qa_8923"
  },
  {
    "question": "How does kube-apiserver Configuration (v1beta1) work?",
    "answer": "kube-apiserver Configuration (v1beta1)Package v1beta1 is the v1beta1 version of the API.Resource TypesAuthenticationConfigurationAuthorizationConfigurationEgressSelectorConfigurationTracingConfigurationTracingConfigurationAppears in:KubeletConfigurationTracingConfigurationTracingConfigurationTracingConfiguration provides versioned configuration for OpenTelemetry tracing clients.FieldDescriptionendpointstringEndpoint of the collector this component will report traces to. The connection is insecure, and does not currently support TLS. Recommended is unset, and endpoint is the otlp grpc default, localhost:4317.samplingRatePerMillionint32SamplingRatePerMillion is the number of samples to collect per million spans. Recommended is unset. If unset, sampler respects its parent span's sampling rate, but otherwise never samples.AuthenticationConfigurationAuthenticationConfiguration provides versioned configuration for authentication.FieldDescriptionapiVersionstringapiserver.k8s.io/v1beta1kindstringAuthenticationConfigurationjwt [Required][]JWTAuthenticatorjwt is a list of authenticator to authenticate Kubernetes users using JWT compliant tokens. The authenticator will attempt to parse a raw ID token, verify it's been signed by the configured issuer. The public key to verify the signature is discovered from the issuer's public endpoint using OIDC discovery. For an incoming token, each JWT authenticator will be attempted in the order in which it is specified in this list. Note however that other authenticators may run before or after the JWT authenticators. The specific position of JWT authenticators in relation to other authenticators is neither defined nor stable across releases. Since each JWT authenticator must have a unique issuer URL, at most one JWT authenticator will attempt to cryptographically validate the token.The minimum valid JWT payload must contain the following claims: { \"iss\": \"https://issuer.example.com\", \"aud\": [\"audience\"], \"exp\": 1234567890, \"\": \"username\" }anonymous [Required]AnonymousAuthConfigIf present --anonymous-auth must not be setAuthorizationConfigurationFieldDescriptionapiVersionstringapiserver.k8s.io/v1beta1kindstringAuthorizationConfigurationauthorizers [Required][]AuthorizerConfigurationAuthorizers is an ordered list of authorizers to authorize requests against. This is similar to the --authorization-modes kube-apiserver flag Must be at least one.EgressSelectorConfigurationEgressSelectorConfiguration provides versioned configuration for egress selector clients.FieldDescriptionapiVersionstringapiserver.k8s.io/v1beta1kindstringEgressSelectorConfigurationegressSelections [Required][]EgressSelectionconnectionServices contains a list of egress selection client configurationsTracingConfigurationTracingConfiguration provides versioned configuration for tracing clients.FieldDescriptionapiVersionstringapiserver.k8s.io/v1beta1kindstringTracingConfigurationTracingConfiguration [Required]TracingConfiguration(Members of TracingConfigura",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_qa_8924"
  },
  {
    "question": "When would you use kube-apiserver Configuration (v1beta1)?",
    "answer": "kube-apiserver Configuration (v1beta1)Package v1beta1 is the v1beta1 version of the API.Resource TypesAuthenticationConfigurationAuthorizationConfigurationEgressSelectorConfigurationTracingConfigurationTracingConfigurationAppears in:KubeletConfigurationTracingConfigurationTracingConfigurationTracingConfiguration provides versioned configuration for OpenTelemetry tracing clients.FieldDescriptionendpointstringEndpoint of the collector this component will report traces to. The connection is insecure, and does not currently support TLS. Recommended is unset, and endpoint is the otlp grpc default, localhost:4317.samplingRatePerMillionint32SamplingRatePerMillion is the number of samples to collect per million spans. Recommended is unset. If unset, sampler respects its parent span's sampling rate, but otherwise never samples.AuthenticationConfigurationAuthenticationConfiguration provides versioned configuration for authentication.FieldDescriptionapiVersionstringapiserver.k8s.io/v1beta1kindstringAuthenticationConfigurationjwt [Required][]JWTAuthenticatorjwt is a list of authenticator to authenticate Kubernetes users using JWT compliant tokens. The authenticator will attempt to parse a raw ID token, verify it's been signed by the configured issuer. The public key to verify the signature is discovered from the issuer's public endpoint using OIDC discovery. For an incoming token, each JWT authenticator will be attempted in the order in which it is specified in this list. Note however that other authenticators may run before or after the JWT authenticators. The specific position of JWT authenticators in relation to other authenticators is neither defined nor stable across releases. Since each JWT authenticator must have a unique issuer URL, at most one JWT authenticator will attempt to cryptographically validate the token.The minimum valid JWT payload must contain the following claims: { \"iss\": \"https://issuer.example.com\", \"aud\": [\"audience\"], \"exp\": 1234567890, \"\": \"username\" }anonymous [Required]AnonymousAuthConfigIf present --anonymous-auth must not be setAuthorizationConfigurationFieldDescriptionapiVersionstringapiserver.k8s.io/v1beta1kindstringAuthorizationConfigurationauthorizers [Required][]AuthorizerConfigurationAuthorizers is an ordered list of authorizers to authorize requests against. This is similar to the --authorization-modes kube-apiserver flag Must be at least one.EgressSelectorConfigurationEgressSelectorConfiguration provides versioned configuration for egress selector clients.FieldDescriptionapiVersionstringapiserver.k8s.io/v1beta1kindstringEgressSelectorConfigurationegressSelections [Required][]EgressSelectionconnectionServices contains a list of egress selection client configurationsTracingConfigurationTracingConfiguration provides versioned configuration for tracing clients.FieldDescriptionapiVersionstringapiserver.k8s.io/v1beta1kindstringTracingConfigurationTracingConfiguration [Required]TracingConfiguration(Members of TracingConfigura",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_qa_8925"
  },
  {
    "question": "What are the benefits of kube-apiserver Configuration (v1beta1)?",
    "answer": "kube-apiserver Configuration (v1beta1)Package v1beta1 is the v1beta1 version of the API.Resource TypesAuthenticationConfigurationAuthorizationConfigurationEgressSelectorConfigurationTracingConfigurationTracingConfigurationAppears in:KubeletConfigurationTracingConfigurationTracingConfigurationTracingConfiguration provides versioned configuration for OpenTelemetry tracing clients.FieldDescriptionendpointstringEndpoint of the collector this component will report traces to. The connection is insecure, and does not currently support TLS. Recommended is unset, and endpoint is the otlp grpc default, localhost:4317.samplingRatePerMillionint32SamplingRatePerMillion is the number of samples to collect per million spans. Recommended is unset. If unset, sampler respects its parent span's sampling rate, but otherwise never samples.AuthenticationConfigurationAuthenticationConfiguration provides versioned configuration for authentication.FieldDescriptionapiVersionstringapiserver.k8s.io/v1beta1kindstringAuthenticationConfigurationjwt [Required][]JWTAuthenticatorjwt is a list of authenticator to authenticate Kubernetes users using JWT compliant tokens. The authenticator will attempt to parse a raw ID token, verify it's been signed by the configured issuer. The public key to verify the signature is discovered from the issuer's public endpoint using OIDC discovery. For an incoming token, each JWT authenticator will be attempted in the order in which it is specified in this list. Note however that other authenticators may run before or after the JWT authenticators. The specific position of JWT authenticators in relation to other authenticators is neither defined nor stable across releases. Since each JWT authenticator must have a unique issuer URL, at most one JWT authenticator will attempt to cryptographically validate the token.The minimum valid JWT payload must contain the following claims: { \"iss\": \"https://issuer.example.com\", \"aud\": [\"audience\"], \"exp\": 1234567890, \"\": \"username\" }anonymous [Required]AnonymousAuthConfigIf present --anonymous-auth must not be setAuthorizationConfigurationFieldDescriptionapiVersionstringapiserver.k8s.io/v1beta1kindstringAuthorizationConfigurationauthorizers [Required][]AuthorizerConfigurationAuthorizers is an ordered list of authorizers to authorize requests against. This is similar to the --authorization-modes kube-apiserver flag Must be at least one.EgressSelectorConfigurationEgressSelectorConfiguration provides versioned configuration for egress selector clients.FieldDescriptionapiVersionstringapiserver.k8s.io/v1beta1kindstringEgressSelectorConfigurationegressSelections [Required][]EgressSelectionconnectionServices contains a list of egress selection client configurationsTracingConfigurationTracingConfiguration provides versioned configuration for tracing clients.FieldDescriptionapiVersionstringapiserver.k8s.io/v1beta1kindstringTracingConfigurationTracingConfiguration [Required]TracingConfiguration(Members of TracingConfigura",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_qa_8926"
  },
  {
    "question": "What is kube-apiserver Configuration (v1beta1)?",
    "answer": "P a c k a g e   v 1 b e t a 1   i s   t h e   v 1 b e t a 1   v e r s i o n   o f   t h e   A P I .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_1_8927"
  },
  {
    "question": "What is Resource Types?",
    "answer": "A u t h e n t i c a t i o n C o n f i g u r a t i o n A u t h o r i z a t i o n C o n f i g u r a t i o n E g r e s s S e l e c t o r C o n f i g u r a t i o n T r a c i n g C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8928"
  },
  {
    "question": "What is TracingConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e l e t C o n f i g u r a t i o n T r a c i n g C o n f i g u r a t i o n T r a c i n g C o n f i g u r a t i o n   K u b e l e t C o n f i g u r a t i o n   T r a c i n g C o n f i g u r a t i o n   T r a c i n g C o n f i g u r a t i o n   T r a c i n g C o n f i g u r a t i o n   p r o v i d e s   v e r s i o n e d   c o n f i g u r a t i o n   f o r   O p e n T e l e m e t r y   t r a c i n g   c l i e n t s .   E n d p o i n t   o f   t h e   c o l l e c t o r   t h i s   c o m p o n e n t   w i l l   r e p o r t   t r a c e s   t o .   T h e   c o n n e c t i o n   i s   i n s e c u r e ,   a n d   d o e s   n o t   c u r r e n t l y   s u p p o r t   T L S .   R e c o m m e n d e d   i s   u n s e t ,   a n d   e n d p o i n t   i s   t h e   o t l p   g r p c   d e f a u l t ,   l o c a l h o s t : 4 3 1 7 .   S a m p l i n g R a t e P e r M i l l i o n   i s   t h e   n u m b e r   o f   s a m p l e s   t o   c o l l e c t   p e r   m i l l i o n   s p a n s .   R e c o m m e n d e d   i s   u n s e t .   I f   u n s e t ,   s a m p l e r   r e s p e c t s   i t s   p a r e n t   s p a n ' s   s a m p l i n g   r a t e ,   b u t   o t h e r w i s e   n e v e r   s a m p l e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8929"
  },
  {
    "question": "What is AuthenticationConfiguration?",
    "answer": "A u t h e n t i c a t i o n C o n f i g u r a t i o n   p r o v i d e s   v e r s i o n e d   c o n f i g u r a t i o n   f o r   a u t h e n t i c a t i o n .   j w t   i s   a   l i s t   o f   a u t h e n t i c a t o r   t o   a u t h e n t i c a t e   K u b e r n e t e s   u s e r s   u s i n g   J W T   c o m p l i a n t   t o k e n s .   T h e   a u t h e n t i c a t o r   w i l l   a t t e m p t   t o   p a r s e   a   r a w   I D   t o k e n ,   v e r i f y   i t ' s   b e e n   s i g n e d   b y   t h e   c o n f i g u r e d   i s s u e r .   T h e   p u b l i c   k e y   t o   v e r i f y   t h e   s i g n a t u r e   i s   d i s c o v e r e d   f r o m   t h e   i s s u e r ' s   p u b l i c   e n d p o i n t   u s i n g   O I D C   d i s c o v e r y .   F o r   a n   i n c o m i n g   t o k e n ,   e a c h   J W T   a u t h e n t i c a t o r   w i l l   b e   a t t e m p t e d   i n   t h e   o r d e r   i n   w h i c h   i t   i s   s p e c i f i e d   i n   t h i s   l i s t .   N o t e   h o w e v e r   t h a t   o t h e r   a u t h e n t i c a t o r s   m a y   r u n   b e f o r e   o r   a f t e r   t h e   J W T   a u t h e n t i c a t o r s .   T h e   s p e c i f i c   p o s i t i o n   o f   J W T   a u t h e n t i c a t o r s   i n   r e l a t i o n   t o   o t h e r   a u t h e n t i c a t o r s   i s   n e i t h e r   d e f i n e d   n o r   s t a b l e   a c r o s s   r e l e a s e s .   S i n c e   e a c h   J W T   a u t h e n t i c a t o r   m u s t   h a v e   a   u n i q u e   i s s u e r   U R L ,   a t   m o s t   o n e   J W T   a u t h e n t i c a t o r   w i l l   a t t e m p t   t o   c r y p t o g r a p h i c a l l y   v a l i d a t e   t h e   t o k e n .   T h e   m i n i m u m   v a l i d   J W T   p a y l o a d   m u s t   c o n t a i n   t h e   f o l l o w i n g   c l a i m s :   {   \" i s s \" :   \" h t t p s : / / i s s u e r . e x a m p l e . c o m \" ,   \" a u d \" :   [ \" a u d i e n c e \" ] ,   \" e x p \" :   1 2 3 4 5 6 ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8930"
  },
  {
    "question": "What is AuthorizationConfiguration?",
    "answer": "A u t h o r i z e r s   i s   a n   o r d e r e d   l i s t   o f   a u t h o r i z e r s   t o   a u t h o r i z e   r e q u e s t s   a g a i n s t .   T h i s   i s   s i m i l a r   t o   t h e   - - a u t h o r i z a t i o n - m o d e s   k u b e - a p i s e r v e r   f l a g   M u s t   b e   a t   l e a s t   o n e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8931"
  },
  {
    "question": "What is EgressSelectorConfiguration?",
    "answer": "E g r e s s S e l e c t o r C o n f i g u r a t i o n   p r o v i d e s   v e r s i o n e d   c o n f i g u r a t i o n   f o r   e g r e s s   s e l e c t o r   c l i e n t s .   c o n n e c t i o n S e r v i c e s   c o n t a i n s   a   l i s t   o f   e g r e s s   s e l e c t i o n   c l i e n t   c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8932"
  },
  {
    "question": "What is TracingConfiguration?",
    "answer": "T r a c i n g C o n f i g u r a t i o n   p r o v i d e s   v e r s i o n e d   c o n f i g u r a t i o n   f o r   t r a c i n g   c l i e n t s .   E m b e d   t h e   c o m p o n e n t   c o n f i g   t r a c i n g   c o n f i g u r a t i o n   s t r u c t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8933"
  },
  {
    "question": "What is AnonymousAuthCondition?",
    "answer": "A p p e a r s   i n :   A n o n y m o u s A u t h C o n f i g   A n o n y m o u s A u t h C o n d i t i o n   d e s c r i b e s   t h e   c o n d i t i o n   u n d e r   w h i c h   a n o n y m o u s   a u t h   s h o u l d   b e   e n a b l e d .   P a t h   f o r   w h i c h   a n o n y m o u s   a u t h   i s   e n a b l e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8934"
  },
  {
    "question": "What is AnonymousAuthConfig?",
    "answer": "A p p e a r s   i n :   A u t h e n t i c a t i o n C o n f i g u r a t i o n   A n o n y m o u s A u t h C o n f i g   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   t h e   a n o n y m o u s   a u t h e n t i c a t o r .   I f   s e t ,   a n o n y m o u s   a u t h   i s   o n l y   a l l o w e d   i f   t h e   r e q u e s t   m e e t s   o n e   o f   t h e   c o n d i t i o n s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8935"
  },
  {
    "question": "What is AudienceMatchPolicyType?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   I s s u e r   A u d i e n c e M a t c h P o l i c y T y p e   i s   a   s e t   o f   v a l i d   v a l u e s   f o r   i s s u e r . a u d i e n c e M a t c h P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8936"
  },
  {
    "question": "What is AuthorizerConfiguration?",
    "answer": "A p p e a r s   i n :   A u t h o r i z a t i o n C o n f i g u r a t i o n   T y p e   r e f e r s   t o   t h e   t y p e   o f   t h e   a u t h o r i z e r   \" W e b h o o k \"   i s   s u p p o r t e d   i n   t h e   g e n e r i c   A P I   s e r v e r   O t h e r   A P I   s e r v e r s   m a y   s u p p o r t   a d d i t i o n a l   a u t h o r i z e r   t y p e s   l i k e   N o d e ,   R B A C ,   A B A C ,   e t c .   N a m e   u s e d   t o   d e s c r i b e   t h e   w e b h o o k   T h i s   i s   e x p l i c i t l y   u s e d   i n   m o n i t o r i n g   m a c h i n e r y   f o r   m e t r i c s   N o t e :   N a m e s   m u s t   b e   D N S 1 1 2 3   l a b e l s   l i k e   m y a u t h o r i z e r n a m e   o r   s u b d o m a i n s   l i k e   m y a u t h o r i z e r . e x a m p l e . d o m a i n   R e q u i r e d ,   w i t h   n o   d e f a u l t   W e b h o o k   d e f i n e s   t h e   c o n f i g u r a t i o n   f o r   a   W e b h o o k   a u t h o r i z e r   M u s t   b e   d e f i n e d   w h e n   T y p e = W e b h o o k   M u s t   n o t   b e   d e f i n e d   w h e n   T y p e ! = W e b h o o k",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8937"
  },
  {
    "question": "What is ClaimMappings?",
    "answer": "A p p e a r s   i n :   J W T A u t h e n t i c a t o r   C l a i m M a p p i n g s   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   c l a i m   m a p p i n g   u s e r n a m e   r e p r e s e n t s   a n   o p t i o n   f o r   t h e   u s e r n a m e   a t t r i b u t e .   T h e   c l a i m ' s   v a l u e   m u s t   b e   a   s i n g u l a r   s t r i n g .   S a m e   a s   t h e   - - o i d c - u s e r n a m e - c l a i m   a n d   - - o i d c - u s e r n a m e - p r e f i x   f l a g s .   I f   u s e r n a m e . e x p r e s s i o n   i s   s e t ,   t h e   e x p r e s s i o n   m u s t   p r o d u c e   a   s t r i n g   v a l u e .   I f   u s e r n a m e . e x p r e s s i o n   u s e s   ' c l a i m s . e m a i l ' ,   t h e n   ' c l a i m s . e m a i l _ v e r i f i e d '   m u s t   b e   u s e d   i n   u s e r n a m e . e x p r e s s i o n   o r   e x t r a [ * ] . v a l u e E x p r e s s i o n   o r   c l a i m V a l i d a t i o n R u l e s [ * ] . e x p r e s s i o n .   A n   e x a m p l e   c l a i m   v a l i d a t i o n   r u l e   e x p r e s s i o n   t h a t   m a t c h e s   t h e   v a l i d a t i o n   a u t o m a t i c a l l y   a p p l i e d   w h e n   u s e r n a m e . c l a i m   i s   s e t   t o   ' e m a i l '   i s   ' c l a i m s . ? e m a i l _ v e r i f i e d . o r V a l u e ( t r u e )   = =   t r u e ' .   B y   e x p l i c i t l y   c o m p a r i n g   t h e   v a l u e   t o   t r u e ,   w e   l e t   t y p e - c h e c k i n g   s e e   t h e   r e s u l t   w i l l   b e   a   b o o l e a n ,   a n d   t o   m a k e   s u r e   a   n o n - b o o l e a n   e m a i l _ v e r i f i e d   c l a i m   w i l l   b e   c a u g h t   a t   r u n t i m e .   I n   t h e   f l a g   b a s e d   a p p r o a c h ,   t h e   - - o i d c - u s e r n a m e - c l a i m   a n d   - - o i d c - u s e r n a m e - p r e f i x   a r e   o p t i o n a l .   I f   - - o i d c - u s e r n a m e - c l a i m   i s   n o t   s e t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8938"
  },
  {
    "question": "What is ClaimOrExpression?",
    "answer": "A p p e a r s   i n :   C l a i m M a p p i n g s   C l a i m O r E x p r e s s i o n   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   c l a i m   o r   e x p r e s s i o n .   c l a i m   i s   t h e   J W T   c l a i m   t o   u s e .   E i t h e r   c l a i m   o r   e x p r e s s i o n   m u s t   b e   s e t .   M u t u a l l y   e x c l u s i v e   w i t h   e x p r e s s i o n .   e x p r e s s i o n   r e p r e s e n t s   t h e   e x p r e s s i o n   w h i c h   w i l l   b e   e v a l u a t e d   b y   C E L .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   t h e   t o k e n   c l a i m s ,   o r g a n i z e d   i n t o   C E L   v a r i a b l e :   ' c l a i m s '   i s   a   m a p   o f   c l a i m   n a m e s   t o   c l a i m   v a l u e s .   F o r   e x a m p l e ,   a   v a r i a b l e   n a m e d   ' s u b '   c a n   b e   a c c e s s e d   a s   ' c l a i m s . s u b ' .   N e s t e d   c l a i m s   c a n   b e   a c c e s s e d   u s i n g   d o t   n o t a t i o n ,   e . g .   ' c l a i m s . f o o . b a r ' .   D o c u m e n t a t i o n   o n   C E L :   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / u s i n g - a p i / c e l /   M u t u a l l y   e x c l u s i v e   w i t h   c l a i m .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8939"
  },
  {
    "question": "What is ClaimValidationRule?",
    "answer": "A p p e a r s   i n :   J W T A u t h e n t i c a t o r   C l a i m V a l i d a t i o n R u l e   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   c l a i m   v a l i d a t i o n   r u l e .   c l a i m   i s   t h e   n a m e   o f   a   r e q u i r e d   c l a i m .   S a m e   a s   - - o i d c - r e q u i r e d - c l a i m   f l a g .   O n l y   s t r i n g   c l a i m   k e y s   a r e   s u p p o r t e d .   M u t u a l l y   e x c l u s i v e   w i t h   e x p r e s s i o n   a n d   m e s s a g e .   r e q u i r e d V a l u e   i s   t h e   v a l u e   o f   a   r e q u i r e d   c l a i m .   S a m e   a s   - - o i d c - r e q u i r e d - c l a i m   f l a g .   O n l y   s t r i n g   c l a i m   v a l u e s   a r e   s u p p o r t e d .   I f   c l a i m   i s   s e t   a n d   r e q u i r e d V a l u e   i s   n o t   s e t ,   t h e   c l a i m   m u s t   b e   p r e s e n t   w i t h   a   v a l u e   s e t   t o   t h e   e m p t y   s t r i n g .   M u t u a l l y   e x c l u s i v e   w i t h   e x p r e s s i o n   a n d   m e s s a g e .   e x p r e s s i o n   r e p r e s e n t s   t h e   e x p r e s s i o n   w h i c h   w i l l   b e   e v a l u a t e d   b y   C E L .   M u s t   p r o d u c e   a   b o o l e a n .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   t h e   t o k e n   c l a i m s ,   o r g a n i z e d   i n t o   C E L   v a r i a b l e :   ' c l a i m s '   i s   a   m a p   o f   c l a i m   n a m e s   t o   c l a i m   v a l u e s .   F o r   e x a m p l e ,   a   v a r i a b l e   n a m e d   ' s u b '   c a n   b e   a c c e s s e d   a s   ' c l a i m s . s u b ' .   N e s t e d   c l a i m s   c a n   b e   a c c e s s e d   u s i n g   d o t   n o t a t i o n ,   e . g .   ' c l a i m s . f o o . b a r ' .   M u s t   r e t u r n   t r u e   f o r   t h e   v a l i d a t i o n   t o   p a s s .   D o c u m e n t a t i o n   o n   C E L : ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8940"
  },
  {
    "question": "What is Connection?",
    "answer": "A p p e a r s   i n :   E g r e s s S e l e c t i o n   C o n n e c t i o n   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   e g r e s s   s e l e c t i o n   c l i e n t .   P r o t o c o l   i s   t h e   p r o t o c o l   u s e d   t o   c o n n e c t   f r o m   c l i e n t   t o   t h e   k o n n e c t i v i t y   s e r v e r .   T r a n s p o r t   d e f i n e s   t h e   t r a n s p o r t   c o n f i g u r a t i o n s   w e   u s e   t o   d i a l   t o   t h e   k o n n e c t i v i t y   s e r v e r .   T h i s   i s   r e q u i r e d   i f   P r o x y P r o t o c o l   i s   H T T P C o n n e c t   o r   G R P C .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8941"
  },
  {
    "question": "What is EgressSelection?",
    "answer": "A p p e a r s   i n :   E g r e s s S e l e c t o r C o n f i g u r a t i o n   E g r e s s S e l e c t i o n   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   e g r e s s   s e l e c t i o n   c l i e n t .   n a m e   i s   t h e   n a m e   o f   t h e   e g r e s s   s e l e c t i o n .   C u r r e n t l y   s u p p o r t e d   v a l u e s   a r e   \" c o n t r o l p l a n e \" ,   \" m a s t e r \" ,   \" e t c d \"   a n d   \" c l u s t e r \"   T h e   \" m a s t e r \"   e g r e s s   s e l e c t o r   i s   d e p r e c a t e d   i n   f a v o r   o f   \" c o n t r o l p l a n e \"   c o n n e c t i o n   i s   t h e   e x a c t   i n f o r m a t i o n   u s e d   t o   c o n f i g u r e   t h e   e g r e s s   s e l e c t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8942"
  },
  {
    "question": "What is ExtraMapping?",
    "answer": "A p p e a r s   i n :   C l a i m M a p p i n g s   E x t r a M a p p i n g   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   e x t r a   m a p p i n g .   k e y   i s   a   s t r i n g   t o   u s e   a s   t h e   e x t r a   a t t r i b u t e   k e y .   k e y   m u s t   b e   a   d o m a i n - p r e f i x   p a t h   ( e . g .   e x a m p l e . o r g / f o o ) .   A l l   c h a r a c t e r s   b e f o r e   t h e   f i r s t   \" / \"   m u s t   b e   a   v a l i d   s u b d o m a i n   a s   d e f i n e d   b y   R F C   1 1 2 3 .   A l l   c h a r a c t e r s   t r a i l i n g   t h e   f i r s t   \" / \"   m u s t   b e   v a l i d   H T T P   P a t h   c h a r a c t e r s   a s   d e f i n e d   b y   R F C   3 9 8 6 .   k e y   m u s t   b e   l o w e r c a s e .   R e q u i r e d   t o   b e   u n i q u e .   v a l u e E x p r e s s i o n   i s   a   C E L   e x p r e s s i o n   t o   e x t r a c t   e x t r a   a t t r i b u t e   v a l u e .   v a l u e E x p r e s s i o n   m u s t   p r o d u c e   a   s t r i n g   o r   s t r i n g   a r r a y   v a l u e .   \" \" ,   [ ] ,   a n d   n u l l   v a l u e s   a r e   t r e a t e d   a s   t h e   e x t r a   m a p p i n g   n o t   b e i n g   p r e s e n t .   E m p t y   s t r i n g   v a l u e s   c o n t a i n e d   w i t h i n   a   s t r i n g   a r r a y   a r e   f i l t e r e d   o u t .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   t h e   t o k e n   c l a i m s ,   o r g a n i z e d   i n t o   C E L   v a r i a b l e :   ' c l a i m s '   i s   a   m a p   o f   c l a i m   n a m e s   t o   c l a i m   v a l u e s .   F o r   e x a m p l e ,   a   v a r i a b l e   n a m e d   ' s u b '   c a n   b e   a c c e s s e d   a s   ' c l a i m s . s u b ' .   N e s t e d   c l a i m s   c a n   b e   a c c e s s e d   u s i n g   d o t   n o t a t i o n ,   e . g .   ' c l a i m s . f o o . b a r ' .   D o c u m e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8943"
  },
  {
    "question": "What is Issuer?",
    "answer": "A p p e a r s   i n :   J W T A u t h e n t i c a t o r   I s s u e r   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a n   e x t e r n a l   p r o v i d e r ' s   s p e c i f i c   s e t t i n g s .   u r l   p o i n t s   t o   t h e   i s s u e r   U R L   i n   a   f o r m a t   h t t p s : / / u r l   o r   h t t p s : / / u r l / p a t h .   T h i s   m u s t   m a t c h   t h e   \" i s s \"   c l a i m   i n   t h e   p r e s e n t e d   J W T ,   a n d   t h e   i s s u e r   r e t u r n e d   f r o m   d i s c o v e r y .   S a m e   v a l u e   a s   t h e   - - o i d c - i s s u e r - u r l   f l a g .   D i s c o v e r y   i n f o r m a t i o n   i s   f e t c h e d   f r o m   \" { u r l } / . w e l l - k n o w n / o p e n i d - c o n f i g u r a t i o n \"   u n l e s s   o v e r r i d d e n   b y   d i s c o v e r y U R L .   R e q u i r e d   t o   b e   u n i q u e   a c r o s s   a l l   J W T   a u t h e n t i c a t o r s .   N o t e   t h a t   e g r e s s   s e l e c t i o n   c o n f i g u r a t i o n   i s   n o t   u s e d   f o r   t h i s   n e t w o r k   c o n n e c t i o n .   d i s c o v e r y U R L ,   i f   s p e c i f i e d ,   o v e r r i d e s   t h e   U R L   u s e d   t o   f e t c h   d i s c o v e r y   i n f o r m a t i o n   i n s t e a d   o f   u s i n g   \" { u r l } / . w e l l - k n o w n / o p e n i d - c o n f i g u r a t i o n \" .   T h e   e x a c t   v a l u e   s p e c i f i e d   i s   u s e d ,   s o   \" / . w e l l - k n o w n / o p e n i d - c o n f i g u r a t i o n \"   m u s t   b e   i n c l u d e d   i n   d i s c o v e r y U R L   i f   n e e d e d .   T h e   \" i s s u e r \"   f i e l d   i n   t h e   f e t c h e d   d i s c o v e r y   i n f o r m a t i o n   m u s t   m a t c h   t h e   \" i s s u e r . u r l \"   f i e l d   i n   t h e   A u t h e n t i c a t i o n C o n f i g u r a t i o n   a n d   w i l l   b e   u s e d   t o   v a l i d a t e   t h e   \" i s s \"   c l a i m   i n   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8944"
  },
  {
    "question": "What is JWTAuthenticator?",
    "answer": "A p p e a r s   i n :   A u t h e n t i c a t i o n C o n f i g u r a t i o n   J W T A u t h e n t i c a t o r   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   J W T   a u t h e n t i c a t o r .   i s s u e r   c o n t a i n s   t h e   b a s i c   O I D C   p r o v i d e r   c o n n e c t i o n   o p t i o n s .   c l a i m V a l i d a t i o n R u l e s   a r e   r u l e s   t h a t   a r e   a p p l i e d   t o   v a l i d a t e   t o k e n   c l a i m s   t o   a u t h e n t i c a t e   u s e r s .   c l a i m M a p p i n g s   p o i n t s   c l a i m s   o f   a   t o k e n   t o   b e   t r e a t e d   a s   u s e r   a t t r i b u t e s .   u s e r V a l i d a t i o n R u l e s   a r e   r u l e s   t h a t   a r e   a p p l i e d   t o   f i n a l   u s e r   b e f o r e   c o m p l e t i n g   a u t h e n t i c a t i o n .   T h e s e   a l l o w   i n v a r i a n t s   t o   b e   a p p l i e d   t o   i n c o m i n g   i d e n t i t i e s   s u c h   a s   p r e v e n t i n g   t h e   u s e   o f   t h e   s y s t e m :   p r e f i x   t h a t   i s   c o m m o n l y   u s e d   b y   K u b e r n e t e s   c o m p o n e n t s .   T h e   v a l i d a t i o n   r u l e s   a r e   l o g i c a l l y   A N D e d   t o g e t h e r   a n d   m u s t   a l l   r e t u r n   t r u e   f o r   t h e   v a l i d a t i o n   t o   p a s s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8945"
  },
  {
    "question": "What is PrefixedClaimOrExpression?",
    "answer": "A p p e a r s   i n :   C l a i m M a p p i n g s   P r e f i x e d C l a i m O r E x p r e s s i o n   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   p r e f i x e d   c l a i m   o r   e x p r e s s i o n .   c l a i m   i s   t h e   J W T   c l a i m   t o   u s e .   M u t u a l l y   e x c l u s i v e   w i t h   e x p r e s s i o n .   p r e f i x   i s   p r e p e n d e d   t o   c l a i m ' s   v a l u e   t o   p r e v e n t   c l a s h e s   w i t h   e x i s t i n g   n a m e s .   p r e f i x   n e e d s   t o   b e   s e t   i f   c l a i m   i s   s e t   a n d   c a n   b e   t h e   e m p t y   s t r i n g .   M u t u a l l y   e x c l u s i v e   w i t h   e x p r e s s i o n .   e x p r e s s i o n   r e p r e s e n t s   t h e   e x p r e s s i o n   w h i c h   w i l l   b e   e v a l u a t e d   b y   C E L .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   t h e   t o k e n   c l a i m s ,   o r g a n i z e d   i n t o   C E L   v a r i a b l e :   ' c l a i m s '   i s   a   m a p   o f   c l a i m   n a m e s   t o   c l a i m   v a l u e s .   F o r   e x a m p l e ,   a   v a r i a b l e   n a m e d   ' s u b '   c a n   b e   a c c e s s e d   a s   ' c l a i m s . s u b ' .   N e s t e d   c l a i m s   c a n   b e   a c c e s s e d   u s i n g   d o t   n o t a t i o n ,   e . g .   ' c l a i m s . f o o . b a r ' .   D o c u m e n t a t i o n   o n   C E L :   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / u s i n g - a p i / c e l /   M u t u a l l y   e x c l u s i v e   w i t h   c l a i m   a n d   p r e f i x .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8946"
  },
  {
    "question": "What is ProtocolType?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   C o n n e c t i o n   P r o t o c o l T y p e   i s   a   s e t   o f   v a l i d   v a l u e s   f o r   C o n n e c t i o n . P r o t o c o l T y p e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8947"
  },
  {
    "question": "What is TCPTransport?",
    "answer": "A p p e a r s   i n :   T r a n s p o r t   T C P T r a n s p o r t   p r o v i d e s   t h e   i n f o r m a t i o n   t o   c o n n e c t   t o   k o n n e c t i v i t y   s e r v e r   v i a   T C P   U R L   i s   t h e   l o c a t i o n   o f   t h e   k o n n e c t i v i t y   s e r v e r   t o   c o n n e c t   t o .   A s   a n   e x a m p l e   i t   m i g h t   b e   \" h t t p s : / / 1 2 7 . 0 . 0 . 1 : 8 1 3 1 \"   T L S C o n f i g   i s   t h e   c o n f i g   n e e d e d   t o   u s e   T L S   w h e n   c o n n e c t i n g   t o   k o n n e c t i v i t y   s e r v e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8948"
  },
  {
    "question": "What is TLSConfig?",
    "answer": "A p p e a r s   i n :   T C P T r a n s p o r t   T L S C o n f i g   p r o v i d e s   t h e   a u t h e n t i c a t i o n   i n f o r m a t i o n   t o   c o n n e c t   t o   k o n n e c t i v i t y   s e r v e r   O n l y   u s e d   w i t h   T C P T r a n s p o r t   c a B u n d l e   i s   t h e   f i l e   l o c a t i o n   o f   t h e   C A   t o   b e   u s e d   t o   d e t e r m i n e   t r u s t   w i t h   t h e   k o n n e c t i v i t y   s e r v e r .   M u s t   b e   a b s e n t / e m p t y   i f   T C P T r a n s p o r t . U R L   i s   p r e f i x e d   w i t h   h t t p : / /   I f   a b s e n t   w h i l e   T C P T r a n s p o r t . U R L   i s   p r e f i x e d   w i t h   h t t p s : / / ,   d e f a u l t   t o   s y s t e m   t r u s t   r o o t s .   c l i e n t K e y   i s   t h e   f i l e   l o c a t i o n   o f   t h e   c l i e n t   k e y   t o   b e   u s e d   i n   m t l s   h a n d s h a k e s   w i t h   t h e   k o n n e c t i v i t y   s e r v e r .   M u s t   b e   a b s e n t / e m p t y   i f   T C P T r a n s p o r t . U R L   i s   p r e f i x e d   w i t h   h t t p : / /   M u s t   b e   c o n f i g u r e d   i f   T C P T r a n s p o r t . U R L   i s   p r e f i x e d   w i t h   h t t p s : / /   c l i e n t C e r t   i s   t h e   f i l e   l o c a t i o n   o f   t h e   c l i e n t   c e r t i f i c a t e   t o   b e   u s e d   i n   m t l s   h a n d s h a k e s   w i t h   t h e   k o n n e c t i v i t y   s e r v e r .   M u s t   b e   a b s e n t / e m p t y   i f   T C P T r a n s p o r t . U R L   i s   p r e f i x e d   w i t h   h t t p : / /   M u s t   b e   c o n f i g u r e d   i f   T C P T r a n s p o r t . U R L   i s   p r e f i x e d   w i t h   h t t p s : / /",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8949"
  },
  {
    "question": "What is Transport?",
    "answer": "A p p e a r s   i n :   C o n n e c t i o n   T r a n s p o r t   d e f i n e s   t h e   t r a n s p o r t   c o n f i g u r a t i o n s   w e   u s e   t o   d i a l   t o   t h e   k o n n e c t i v i t y   s e r v e r   T C P   i s   t h e   T C P   c o n f i g u r a t i o n   f o r   c o m m u n i c a t i n g   w i t h   t h e   k o n n e c t i v i t y   s e r v e r   v i a   T C P   P r o x y P r o t o c o l   o f   G R P C   i s   n o t   s u p p o r t e d   w i t h   T C P   t r a n s p o r t   a t   t h e   m o m e n t   R e q u i r e s   a t   l e a s t   o n e   o f   T C P   o r   U D S   t o   b e   s e t   U D S   i s   t h e   U D S   c o n f i g u r a t i o n   f o r   c o m m u n i c a t i n g   w i t h   t h e   k o n n e c t i v i t y   s e r v e r   v i a   U D S   R e q u i r e s   a t   l e a s t   o n e   o f   T C P   o r   U D S   t o   b e   s e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8950"
  },
  {
    "question": "What is UDSTransport?",
    "answer": "A p p e a r s   i n :   T r a n s p o r t   U D S T r a n s p o r t   p r o v i d e s   t h e   i n f o r m a t i o n   t o   c o n n e c t   t o   k o n n e c t i v i t y   s e r v e r   v i a   U D S   U D S N a m e   i s   t h e   n a m e   o f   t h e   u n i x   d o m a i n   s o c k e t   t o   c o n n e c t   t o   k o n n e c t i v i t y   s e r v e r   T h i s   d o e s   n o t   u s e   a   u n i x : / /   p r e f i x .   ( E g :   / e t c / s r v / k u b e r n e t e s / k o n n e c t i v i t y - s e r v e r / k o n n e c t i v i t y - s e r v e r . s o c k e t )",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8951"
  },
  {
    "question": "What is UserValidationRule?",
    "answer": "A p p e a r s   i n :   J W T A u t h e n t i c a t o r   U s e r V a l i d a t i o n R u l e   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   u s e r   i n f o   v a l i d a t i o n   r u l e .   e x p r e s s i o n   r e p r e s e n t s   t h e   e x p r e s s i o n   w h i c h   w i l l   b e   e v a l u a t e d   b y   C E L .   M u s t   r e t u r n   t r u e   f o r   t h e   v a l i d a t i o n   t o   p a s s .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   U s e r I n f o ,   o r g a n i z e d   i n t o   C E L   v a r i a b l e :   ' u s e r '   -   a u t h e n t i c a t i o n . k 8 s . i o / v 1 ,   K i n d = U s e r I n f o   o b j e c t   R e f e r   t o   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / a p i / b l o b / r e l e a s e - 1 . 2 8 / a u t h e n t i c a t i o n / v 1 / t y p e s . g o # L 1 0 5 - L 1 2 2   f o r   t h e   d e f i n i t i o n .   A P I   d o c u m e n t a t i o n :   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e r n e t e s - a p i / v 1 . 2 8 / # u s e r i n f o - v 1 - a u t h e n t i c a t i o n - k 8 s - i o   D o c u m e n t a t i o n   o n   C E L :   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / u s i n g - a p i / c e l /   m e s s a g e   c u s t o m i z e s   t h e   r e t u r n e d   e r r o r   m e s s a g e   w h e n   r u l e   r e t u r n s   f a l s e .   m e s s a g e   i s   a   l i t e r a l   s t r i n g .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8952"
  },
  {
    "question": "What is WebhookConfiguration?",
    "answer": "A p p e a r s   i n :   A u t h o r i z e r C o n f i g u r a t i o n   T h e   d u r a t i o n   t o   c a c h e   ' a u t h o r i z e d '   r e s p o n s e s   f r o m   t h e   w e b h o o k   a u t h o r i z e r .   S a m e   a s   s e t t i n g   - - a u t h o r i z a t i o n - w e b h o o k - c a c h e - a u t h o r i z e d - t t l   f l a g   D e f a u l t :   5 m 0 s   T h e   d u r a t i o n   t o   c a c h e   ' u n a u t h o r i z e d '   r e s p o n s e s   f r o m   t h e   w e b h o o k   a u t h o r i z e r .   S a m e   a s   s e t t i n g   - - a u t h o r i z a t i o n - w e b h o o k - c a c h e - u n a u t h o r i z e d - t t l   f l a g   D e f a u l t :   3 0 s   T i m e o u t   f o r   t h e   w e b h o o k   r e q u e s t   M a x i m u m   a l l o w e d   v a l u e   i s   3 0 s .   R e q u i r e d ,   n o   d e f a u l t   v a l u e .   T h e   A P I   v e r s i o n   o f   t h e   a u t h o r i z a t i o n . k 8 s . i o   S u b j e c t A c c e s s R e v i e w   t o   s e n d   t o   a n d   e x p e c t   f r o m   t h e   w e b h o o k .   S a m e   a s   s e t t i n g   - - a u t h o r i z a t i o n - w e b h o o k - v e r s i o n   f l a g   V a l i d   v a l u e s :   v 1 b e t a 1 ,   v 1   R e q u i r e d ,   n o   d e f a u l t   v a l u e   M a t c h C o n d i t i o n S u b j e c t A c c e s s R e v i e w V e r s i o n   s p e c i f i e s   t h e   S u b j e c t A c c e s s R e v i e w   v e r s i o n   t h e   C E L   e x p r e s s i o n s   a r e   e v a l u a t e d   a g a i n s t   V a l i d   v a l u e s :   v 1   R e q u i r e d ,   n o   d e f a u l t   v a l u e   C o n t r o l s   t h e   a u t h o r i z a t i o n   d e c i s i o n   w h e n   a   w e b h o o k   r e q u e s t   f a i l s   t o   c o m p l e t e   o r   r e t u r n s   a   m a l f o r m e d   r e s p o n s e   o r   e r r o r s   e v a l u a t i n g   m a t c h C o n d i t i o n s .   V a l i d   v a l u e s :   N o O p i n i o n :   c o n t i n u e   t o   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8953"
  },
  {
    "question": "What is WebhookConnectionInfo?",
    "answer": "A p p e a r s   i n :   W e b h o o k C o n f i g u r a t i o n   C o n t r o l s   h o w   t h e   w e b h o o k   s h o u l d   c o m m u n i c a t e   w i t h   t h e   s e r v e r .   V a l i d   v a l u e s :   K u b e C o n f i g F i l e :   u s e   t h e   f i l e   s p e c i f i e d   i n   k u b e C o n f i g F i l e   t o   l o c a t e   t h e   s e r v e r . I n C l u s t e r C o n f i g :   u s e   t h e   i n - c l u s t e r   c o n f i g u r a t i o n   t o   c a l l   t h e   S u b j e c t A c c e s s R e v i e w   A P I   h o s t e d   b y   k u b e - a p i s e r v e r .   T h i s   m o d e   i s   n o t   a l l o w e d   f o r   k u b e - a p i s e r v e r .   P a t h   t o   K u b e C o n f i g F i l e   f o r   c o n n e c t i o n   i n f o   R e q u i r e d ,   i f   c o n n e c t i o n I n f o . T y p e   i s   K u b e C o n f i g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8954"
  },
  {
    "question": "What is WebhookMatchCondition?",
    "answer": "A p p e a r s   i n :   W e b h o o k C o n f i g u r a t i o n   e x p r e s s i o n   r e p r e s e n t s   t h e   e x p r e s s i o n   w h i c h   w i l l   b e   e v a l u a t e d   b y   C E L .   M u s t   e v a l u a t e   t o   b o o l .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   t h e   S u b j e c t A c c e s s R e v i e w   i n   v 1   v e r s i o n .   I f   v e r s i o n   s p e c i f i e d   b y   s u b j e c t A c c e s s R e v i e w V e r s i o n   i n   t h e   r e q u e s t   v a r i a b l e   i s   v 1 b e t a 1 ,   t h e   c o n t e n t s   w o u l d   b e   c o n v e r t e d   t o   t h e   v 1   v e r s i o n   b e f o r e   e v a l u a t i n g   t h e   C E L   e x p r e s s i o n .   ' r e s o u r c e A t t r i b u t e s '   d e s c r i b e s   i n f o r m a t i o n   f o r   a   r e s o u r c e   a c c e s s   r e q u e s t   a n d   i s   u n s e t   f o r   n o n - r e s o u r c e   r e q u e s t s .   e . g .   h a s ( r e q u e s t . r e s o u r c e A t t r i b u t e s )   & &   r e q u e s t . r e s o u r c e A t t r i b u t e s . n a m e s p a c e   = =   ' d e f a u l t ' ' n o n R e s o u r c e A t t r i b u t e s '   d e s c r i b e s   i n f o r m a t i o n   f o r   a   n o n - r e s o u r c e   a c c e s s   r e q u e s t   a n d   i s   u n s e t   f o r   r e s o u r c e   r e q u e s t s .   e . g .   h a s ( r e q u e s t . n o n R e s o u r c e A t t r i b u t e s )   & &   r e q u e s t . n o n R e s o u r c e A t t r i b u t e s . p a t h   = =   ' / h e a l t h z ' . ' u s e r '   i s   t h e   u s e r   t o   t e s t   f o r .   e . g .   r e q u e s t . u s e r   = =   ' a l i c e ' ' g r o u p s '   i s   t h e   g r o u p s   t o   t e s t   f o r .   e . g .   ( ' g r o u p 1 '   i n   r e q u e s t . g r o u p s ) ' e x t r a '   c o r r e s p o n d s   t o   t h e   u s e r . I n f o . G e t E x t r a ( )   m e t h o d   f r o m   t h e   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1beta1/",
    "id": "k8s_00470_section_2_8955"
  },
  {
    "question": "What is Exposing an External IP Address to Access an Application in a Cluster?",
    "answer": "Exposing an External IP Address to Access an Application in a ClusterThis page shows how to create a Kubernetes Service object that exposes an external IP address.Before you beginInstall kubectl.Use a cloud provider like Google Kubernetes Engine or Amazon Web Services to create a Kubernetes cluster. This tutorial creates an external load balancer, which requires a cloud provider.Configure kubectl to communicate with your Kubernetes API server. For instructions, see the documentation for your cloud provider.ObjectivesRun five instances of a Hello World application.Create a Service object that exposes an external IP address.Use the Service object to access the running application.Creating a service for an application running in five podsRun a Hello World application in your cluster:service/load-balancer-example.yaml apiVersion: apps/v1 kind: Deployment metadata: labels: app.kubernetes.io/name: load-balancer-example name: hello-world spec: replicas: 5 selector: matchLabels: app.kubernetes.io/name: load-balancer-example template: metadata: labels: app.kubernetes.io/name: load-balancer-example spec: containers: - image: gcr.io/google-samples/hello-app:2.0 name: hello-world ports: - containerPort: 8080 kubectl apply -f https://k8s.io/examples/service/load-balancer-example.yaml The preceding command creates a Deployment and an associated ReplicaSet. The ReplicaSet has five Pods each of which runs the Hello World application.Display information about the Deployment:kubectl get deployments hello-world kubectl describe deployments hello-world Display information about your ReplicaSet objects:kubectl get replicasets kubectl describe replicasets Create a Service object that exposes the deployment:kubectl expose deployment hello-world --type=LoadBalancer --name=my-service Display information about the Service:kubectl get services my-service The output is similar to:NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE my-service LoadBalancer 10.3.245.137 104.198.205.71 8080/TCP 54s Note:The type=LoadBalancer service is backed by external cloud providers, which is not covered in this example, please refer to this page for the details.Note:If the external IP address is shown as <pending>, wait for a minute and enter the same command again.Display detailed information about the Service:kubectl describe services my-service The output is similar to:Name: my-service Namespace: default Labels: app.kubernetes.io/name=load-balancer-example Annotations: <none> Selector: app.kubernetes.io/name=load-balancer-example Type: LoadBalancer IP: 10.3.245.137 LoadBalancer Ingress: 104.198.205.71 Port: <unset> 8080/TCP NodePort: <unset> 32377/TCP Endpoints: 10.0.0.6:8080,10.0.1.6:8080,10.0.1.7:8080 + 2 more... Session Affinity: None Events: <none> Make a note of the external IP address (LoadBalancer Ingress) exposed by your service. In this example, the external IP address is 104.198.205.71. Also note the value of Port and NodePort. In this example, the Port is 8080 and the NodePort is 32",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/",
    "id": "k8s_00471_qa_8956"
  },
  {
    "question": "How does Exposing an External IP Address to Access an Application in a Cluster work?",
    "answer": "Exposing an External IP Address to Access an Application in a ClusterThis page shows how to create a Kubernetes Service object that exposes an external IP address.Before you beginInstall kubectl.Use a cloud provider like Google Kubernetes Engine or Amazon Web Services to create a Kubernetes cluster. This tutorial creates an external load balancer, which requires a cloud provider.Configure kubectl to communicate with your Kubernetes API server. For instructions, see the documentation for your cloud provider.ObjectivesRun five instances of a Hello World application.Create a Service object that exposes an external IP address.Use the Service object to access the running application.Creating a service for an application running in five podsRun a Hello World application in your cluster:service/load-balancer-example.yaml apiVersion: apps/v1 kind: Deployment metadata: labels: app.kubernetes.io/name: load-balancer-example name: hello-world spec: replicas: 5 selector: matchLabels: app.kubernetes.io/name: load-balancer-example template: metadata: labels: app.kubernetes.io/name: load-balancer-example spec: containers: - image: gcr.io/google-samples/hello-app:2.0 name: hello-world ports: - containerPort: 8080 kubectl apply -f https://k8s.io/examples/service/load-balancer-example.yaml The preceding command creates a Deployment and an associated ReplicaSet. The ReplicaSet has five Pods each of which runs the Hello World application.Display information about the Deployment:kubectl get deployments hello-world kubectl describe deployments hello-world Display information about your ReplicaSet objects:kubectl get replicasets kubectl describe replicasets Create a Service object that exposes the deployment:kubectl expose deployment hello-world --type=LoadBalancer --name=my-service Display information about the Service:kubectl get services my-service The output is similar to:NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE my-service LoadBalancer 10.3.245.137 104.198.205.71 8080/TCP 54s Note:The type=LoadBalancer service is backed by external cloud providers, which is not covered in this example, please refer to this page for the details.Note:If the external IP address is shown as <pending>, wait for a minute and enter the same command again.Display detailed information about the Service:kubectl describe services my-service The output is similar to:Name: my-service Namespace: default Labels: app.kubernetes.io/name=load-balancer-example Annotations: <none> Selector: app.kubernetes.io/name=load-balancer-example Type: LoadBalancer IP: 10.3.245.137 LoadBalancer Ingress: 104.198.205.71 Port: <unset> 8080/TCP NodePort: <unset> 32377/TCP Endpoints: 10.0.0.6:8080,10.0.1.6:8080,10.0.1.7:8080 + 2 more... Session Affinity: None Events: <none> Make a note of the external IP address (LoadBalancer Ingress) exposed by your service. In this example, the external IP address is 104.198.205.71. Also note the value of Port and NodePort. In this example, the Port is 8080 and the NodePort is 32",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/",
    "id": "k8s_00471_qa_8957"
  },
  {
    "question": "When would you use Exposing an External IP Address to Access an Application in a Cluster?",
    "answer": "Exposing an External IP Address to Access an Application in a ClusterThis page shows how to create a Kubernetes Service object that exposes an external IP address.Before you beginInstall kubectl.Use a cloud provider like Google Kubernetes Engine or Amazon Web Services to create a Kubernetes cluster. This tutorial creates an external load balancer, which requires a cloud provider.Configure kubectl to communicate with your Kubernetes API server. For instructions, see the documentation for your cloud provider.ObjectivesRun five instances of a Hello World application.Create a Service object that exposes an external IP address.Use the Service object to access the running application.Creating a service for an application running in five podsRun a Hello World application in your cluster:service/load-balancer-example.yaml apiVersion: apps/v1 kind: Deployment metadata: labels: app.kubernetes.io/name: load-balancer-example name: hello-world spec: replicas: 5 selector: matchLabels: app.kubernetes.io/name: load-balancer-example template: metadata: labels: app.kubernetes.io/name: load-balancer-example spec: containers: - image: gcr.io/google-samples/hello-app:2.0 name: hello-world ports: - containerPort: 8080 kubectl apply -f https://k8s.io/examples/service/load-balancer-example.yaml The preceding command creates a Deployment and an associated ReplicaSet. The ReplicaSet has five Pods each of which runs the Hello World application.Display information about the Deployment:kubectl get deployments hello-world kubectl describe deployments hello-world Display information about your ReplicaSet objects:kubectl get replicasets kubectl describe replicasets Create a Service object that exposes the deployment:kubectl expose deployment hello-world --type=LoadBalancer --name=my-service Display information about the Service:kubectl get services my-service The output is similar to:NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE my-service LoadBalancer 10.3.245.137 104.198.205.71 8080/TCP 54s Note:The type=LoadBalancer service is backed by external cloud providers, which is not covered in this example, please refer to this page for the details.Note:If the external IP address is shown as <pending>, wait for a minute and enter the same command again.Display detailed information about the Service:kubectl describe services my-service The output is similar to:Name: my-service Namespace: default Labels: app.kubernetes.io/name=load-balancer-example Annotations: <none> Selector: app.kubernetes.io/name=load-balancer-example Type: LoadBalancer IP: 10.3.245.137 LoadBalancer Ingress: 104.198.205.71 Port: <unset> 8080/TCP NodePort: <unset> 32377/TCP Endpoints: 10.0.0.6:8080,10.0.1.6:8080,10.0.1.7:8080 + 2 more... Session Affinity: None Events: <none> Make a note of the external IP address (LoadBalancer Ingress) exposed by your service. In this example, the external IP address is 104.198.205.71. Also note the value of Port and NodePort. In this example, the Port is 8080 and the NodePort is 32",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/",
    "id": "k8s_00471_qa_8958"
  },
  {
    "question": "What are the benefits of Exposing an External IP Address to Access an Application in a Cluster?",
    "answer": "Exposing an External IP Address to Access an Application in a ClusterThis page shows how to create a Kubernetes Service object that exposes an external IP address.Before you beginInstall kubectl.Use a cloud provider like Google Kubernetes Engine or Amazon Web Services to create a Kubernetes cluster. This tutorial creates an external load balancer, which requires a cloud provider.Configure kubectl to communicate with your Kubernetes API server. For instructions, see the documentation for your cloud provider.ObjectivesRun five instances of a Hello World application.Create a Service object that exposes an external IP address.Use the Service object to access the running application.Creating a service for an application running in five podsRun a Hello World application in your cluster:service/load-balancer-example.yaml apiVersion: apps/v1 kind: Deployment metadata: labels: app.kubernetes.io/name: load-balancer-example name: hello-world spec: replicas: 5 selector: matchLabels: app.kubernetes.io/name: load-balancer-example template: metadata: labels: app.kubernetes.io/name: load-balancer-example spec: containers: - image: gcr.io/google-samples/hello-app:2.0 name: hello-world ports: - containerPort: 8080 kubectl apply -f https://k8s.io/examples/service/load-balancer-example.yaml The preceding command creates a Deployment and an associated ReplicaSet. The ReplicaSet has five Pods each of which runs the Hello World application.Display information about the Deployment:kubectl get deployments hello-world kubectl describe deployments hello-world Display information about your ReplicaSet objects:kubectl get replicasets kubectl describe replicasets Create a Service object that exposes the deployment:kubectl expose deployment hello-world --type=LoadBalancer --name=my-service Display information about the Service:kubectl get services my-service The output is similar to:NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE my-service LoadBalancer 10.3.245.137 104.198.205.71 8080/TCP 54s Note:The type=LoadBalancer service is backed by external cloud providers, which is not covered in this example, please refer to this page for the details.Note:If the external IP address is shown as <pending>, wait for a minute and enter the same command again.Display detailed information about the Service:kubectl describe services my-service The output is similar to:Name: my-service Namespace: default Labels: app.kubernetes.io/name=load-balancer-example Annotations: <none> Selector: app.kubernetes.io/name=load-balancer-example Type: LoadBalancer IP: 10.3.245.137 LoadBalancer Ingress: 104.198.205.71 Port: <unset> 8080/TCP NodePort: <unset> 32377/TCP Endpoints: 10.0.0.6:8080,10.0.1.6:8080,10.0.1.7:8080 + 2 more... Session Affinity: None Events: <none> Make a note of the external IP address (LoadBalancer Ingress) exposed by your service. In this example, the external IP address is 104.198.205.71. Also note the value of Port and NodePort. In this example, the Port is 8080 and the NodePort is 32",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/",
    "id": "k8s_00471_qa_8959"
  },
  {
    "question": "What is Exposing an External IP Address to Access an Application in a Cluster?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c r e a t e   a   K u b e r n e t e s   S e r v i c e   o b j e c t   t h a t   e x p o s e s   a n   e x t e r n a l   I P   a d d r e s s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/",
    "id": "k8s_00471_section_1_8960"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n s t a l l   k u b e c t l . U s e   a   c l o u d   p r o v i d e r   l i k e   G o o g l e   K u b e r n e t e s   E n g i n e   o r   A m a z o n   W e b   S e r v i c e s   t o   c r e a t e   a   K u b e r n e t e s   c l u s t e r .   T h i s   t u t o r i a l   c r e a t e s   a n   e x t e r n a l   l o a d   b a l a n c e r ,   w h i c h   r e q u i r e s   a   c l o u d   p r o v i d e r . C o n f i g u r e   k u b e c t l   t o   c o m m u n i c a t e   w i t h   y o u r   K u b e r n e t e s   A P I   s e r v e r .   F o r   i n s t r u c t i o n s ,   s e e   t h e   d o c u m e n t a t i o n   f o r   y o u r   c l o u d   p r o v i d e r .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/",
    "id": "k8s_00471_section_2_8961"
  },
  {
    "question": "What is Objectives?",
    "answer": "R u n   f i v e   i n s t a n c e s   o f   a   H e l l o   W o r l d   a p p l i c a t i o n . C r e a t e   a   S e r v i c e   o b j e c t   t h a t   e x p o s e s   a n   e x t e r n a l   I P   a d d r e s s . U s e   t h e   S e r v i c e   o b j e c t   t o   a c c e s s   t h e   r u n n i n g   a p p l i c a t i o n .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/",
    "id": "k8s_00471_section_2_8962"
  },
  {
    "question": "What is Creating a service for an application running in five pods?",
    "answer": "R u n   a   H e l l o   W o r l d   a p p l i c a t i o n   i n   y o u r   c l u s t e r : s e r v i c e / l o a d - b a l a n c e r - e x a m p l e . y a m l   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   l o a d - b a l a n c e r - e x a m p l e   n a m e :   h e l l o - w o r l d   s p e c :   r e p l i c a s :   5   s e l e c t o r :   m a t c h L a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   l o a d - b a l a n c e r - e x a m p l e   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   l o a d - b a l a n c e r - e x a m p l e   s p e c :   c o n t a i n e r s :   -   i m a g e :   g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 2 . 0   n a m e :   h e l l o - w o r l d   p o r t s :   -   c o n t a i n e r P o r t :   8 0 8 0   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / s e r v i c e / l o a d - b a l a n c e r - e x a m p l e . y a m l   T h e   p r e c e d i n g   c o m m a n d   c r e a t e s   a   D e p l o y m e n t   a n d   a n   a s s o c i a t e d   R e p l i c a S e t .   T h e   R e p l i c a S e t   h a s   f i v e   P o d s   e a c h   o f   w h i c h   r u n s   t h e   H e l l o   W o r l d   a p p l i c a t i o n . D i s p l a y   i n f o r m a t i o n   a b o u t   t h e   D e p l o y m e n t : k u b e c t l   g e t   d e p l o y m e n t s   h e l l o - w o r l d   k u b e c t l   d e s c r i b e   d e p l o y m e n t s   h e l l o - w o r l d   D i s p l a y   i n f o r m a t i o n   a b o u t   y o u r   R e p l i c a S e t   o b j e c t s : k u b e c t l   g e t   r e p l i c a s e t s   k u b e c t l   d e s c r i b e   r e p l i c a s e t s   C r e a t e   a   S e r v i c e   o b j e c t   t h a t   e x p o s e s   t h e   d e p l o y m e n t : k u b e c t l   e x p o s e   d e p l o y m e n t   h e l l o ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/",
    "id": "k8s_00471_section_2_8963"
  },
  {
    "question": "What is Note:?",
    "answer": "D i s p l a y   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   S e r v i c e :   k u b e c t l   d e s c r i b e   s e r v i c e s   m y - s e r v i c e   T h e   o u t p u t   i s   s i m i l a r   t o :   N a m e :   m y - s e r v i c e   N a m e s p a c e :   d e f a u l t   L a b e l s :   a p p . k u b e r n e t e s . i o / n a m e = l o a d - b a l a n c e r - e x a m p l e   A n n o t a t i o n s :   < n o n e >   S e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e = l o a d - b a l a n c e r - e x a m p l e   T y p e :   L o a d B a l a n c e r   I P :   1 0 . 3 . 2 4 5 . 1 3 7   L o a d B a l a n c e r   I n g r e s s :   1 0 4 . 1 9 8 . 2 0 5 . 7 1   P o r t :   < u n s e t >   8 0 8 0 / T C P   N o d e P o r t :   < u n s e t >   3 2 3 7 7 / T C P   E n d p o i n t s :   1 0 . 0 . 0 . 6 : 8 0 8 0 , 1 0 . 0 . 1 . 6 : 8 0 8 0 , 1 0 . 0 . 1 . 7 : 8 0 8 0   +   2   m o r e . . .   S e s s i o n   A f f i n i t y :   N o n e   E v e n t s :   < n o n e >   M a k e   a   n o t e   o f   t h e   e x t e r n a l   I P   a d d r e s s   ( L o a d B a l a n c e r   I n g r e s s )   e x p o s e d   b y   y o u r   s e r v i c e .   I n   t h i s   e x a m p l e ,   t h e   e x t e r n a l   I P   a d d r e s s   i s   1 0 4 . 1 9 8 . 2 0 5 . 7 1 .   A l s o   n o t e   t h e   v a l u e   o f   P o r t   a n d   N o d e P o r t .   I n   t h i s   e x a m p l e ,   t h e   P o r t   i s   8 0 8 0   a n d   t h e   N o d e P o r t   i s   3 2 3 7 7 .   I n   t h e   p r e c e d i n g   o u t p u t ,   y o u   c a n   s e e   t h a t   t h e   s e r v i c e   h a s   s e v e r a l   e n d p o i n t s :   1 0 . 0 . 0 . 6 : 8 0 8 0 , 1 0 . 0 . 1 . 6 : 8 0 8 0 , 1 0 . 0 . 1 . 7 : 8 0 8 0   +   2   m o r e .   T h e s e   a r e   i n t e r n a l   a d d r e s s e s   o f   t h e   p o d s   t h a t   a r e   r u n n i n g   t h e   H e l l o   W o r l d   a p p l i c a t i o n .   T o   v e r i f y   t h e s e   a r e   p o d   a d d r e s s e ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/",
    "id": "k8s_00471_section_4_8964"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "T o   d e l e t e   t h e   S e r v i c e ,   e n t e r   t h i s   c o m m a n d :   k u b e c t l   d e l e t e   s e r v i c e s   m y - s e r v i c e   T o   d e l e t e   t h e   D e p l o y m e n t ,   t h e   R e p l i c a S e t ,   a n d   t h e   P o d s   t h a t   a r e   r u n n i n g   t h e   H e l l o   W o r l d   a p p l i c a t i o n ,   e n t e r   t h i s   c o m m a n d :   k u b e c t l   d e l e t e   d e p l o y m e n t   h e l l o - w o r l d",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/",
    "id": "k8s_00471_section_2_8965"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   c o n n e c t i n g   a p p l i c a t i o n s   w i t h   s e r v i c e s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/",
    "id": "k8s_00471_section_2_8966"
  },
  {
    "question": "What is Admission Control in Kubernetes?",
    "answer": "Admission Control in KubernetesThis page provides an overview of admission controllers.An admission controller is a piece of code that intercepts requests to the Kubernetes API server prior to persistence of the resource, but after the request is authenticated and authorized.Several important features of Kubernetes require an admission controller to be enabled in order to properly support the feature. As a result, a Kubernetes API server that is not properly configured with the right set of admission controllers is an incomplete server that will not support all the features you expect.What are they?Admission controllers are code within the Kubernetes API server that check the data arriving in a request to modify a resource.Admission controllers apply to requests that create, delete, or modify objects. Admission controllers can also block custom verbs, such as a request to connect to a pod via an API server proxy. Admission controllers do not (and cannot) block requests to read (get, watch or list) objects, because reads bypass the admission control layer.Admission control mechanisms may be validating, mutating, or both. Mutating controllers may modify the data for the resource being modified; validating controllers may not.The admission controllers in Kubernetes 1.34 consist of the list below, are compiled into the kube-apiserver binary, and may only be configured by the cluster administrator.Admission control extension pointsWithin the full list, there are three special controllers: MutatingAdmissionWebhook, ValidatingAdmissionWebhook, and ValidatingAdmissionPolicy. The two webhook controllers execute the mutating and validating (respectively) admission control webhooks which are configured in the API. ValidatingAdmissionPolicy provides a way to embed declarative validation code within the API, without relying on any external HTTP callouts.You can use these three admission controllers to customize cluster behavior at admission time.Admission control phasesThe admission control process proceeds in two phases. In the first phase, mutating admission controllers are run. In the second phase, validating admission controllers are run. Note again that some of the controllers are both.If any of the controllers in either phase reject the request, the entire request is rejected immediately and an error is returned to the end-user.Finally, in addition to sometimes mutating the object in question, admission controllers may sometimes have side effects, that is, mutate related resources as part of request processing. Incrementing quota usage is the canonical example of why this is necessary. Any such side-effect needs a corresponding reclamation or reconciliation process, as a given admission controller does not know for sure that a given request will pass all of the other admission controllers.The ordering of these calls can be seen below.Why do I need them?Several important features of Kubernetes require an admission controller to be enabled in order to pro",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_qa_8967"
  },
  {
    "question": "How does Admission Control in Kubernetes work?",
    "answer": "Admission Control in KubernetesThis page provides an overview of admission controllers.An admission controller is a piece of code that intercepts requests to the Kubernetes API server prior to persistence of the resource, but after the request is authenticated and authorized.Several important features of Kubernetes require an admission controller to be enabled in order to properly support the feature. As a result, a Kubernetes API server that is not properly configured with the right set of admission controllers is an incomplete server that will not support all the features you expect.What are they?Admission controllers are code within the Kubernetes API server that check the data arriving in a request to modify a resource.Admission controllers apply to requests that create, delete, or modify objects. Admission controllers can also block custom verbs, such as a request to connect to a pod via an API server proxy. Admission controllers do not (and cannot) block requests to read (get, watch or list) objects, because reads bypass the admission control layer.Admission control mechanisms may be validating, mutating, or both. Mutating controllers may modify the data for the resource being modified; validating controllers may not.The admission controllers in Kubernetes 1.34 consist of the list below, are compiled into the kube-apiserver binary, and may only be configured by the cluster administrator.Admission control extension pointsWithin the full list, there are three special controllers: MutatingAdmissionWebhook, ValidatingAdmissionWebhook, and ValidatingAdmissionPolicy. The two webhook controllers execute the mutating and validating (respectively) admission control webhooks which are configured in the API. ValidatingAdmissionPolicy provides a way to embed declarative validation code within the API, without relying on any external HTTP callouts.You can use these three admission controllers to customize cluster behavior at admission time.Admission control phasesThe admission control process proceeds in two phases. In the first phase, mutating admission controllers are run. In the second phase, validating admission controllers are run. Note again that some of the controllers are both.If any of the controllers in either phase reject the request, the entire request is rejected immediately and an error is returned to the end-user.Finally, in addition to sometimes mutating the object in question, admission controllers may sometimes have side effects, that is, mutate related resources as part of request processing. Incrementing quota usage is the canonical example of why this is necessary. Any such side-effect needs a corresponding reclamation or reconciliation process, as a given admission controller does not know for sure that a given request will pass all of the other admission controllers.The ordering of these calls can be seen below.Why do I need them?Several important features of Kubernetes require an admission controller to be enabled in order to pro",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_qa_8968"
  },
  {
    "question": "When would you use Admission Control in Kubernetes?",
    "answer": "Admission Control in KubernetesThis page provides an overview of admission controllers.An admission controller is a piece of code that intercepts requests to the Kubernetes API server prior to persistence of the resource, but after the request is authenticated and authorized.Several important features of Kubernetes require an admission controller to be enabled in order to properly support the feature. As a result, a Kubernetes API server that is not properly configured with the right set of admission controllers is an incomplete server that will not support all the features you expect.What are they?Admission controllers are code within the Kubernetes API server that check the data arriving in a request to modify a resource.Admission controllers apply to requests that create, delete, or modify objects. Admission controllers can also block custom verbs, such as a request to connect to a pod via an API server proxy. Admission controllers do not (and cannot) block requests to read (get, watch or list) objects, because reads bypass the admission control layer.Admission control mechanisms may be validating, mutating, or both. Mutating controllers may modify the data for the resource being modified; validating controllers may not.The admission controllers in Kubernetes 1.34 consist of the list below, are compiled into the kube-apiserver binary, and may only be configured by the cluster administrator.Admission control extension pointsWithin the full list, there are three special controllers: MutatingAdmissionWebhook, ValidatingAdmissionWebhook, and ValidatingAdmissionPolicy. The two webhook controllers execute the mutating and validating (respectively) admission control webhooks which are configured in the API. ValidatingAdmissionPolicy provides a way to embed declarative validation code within the API, without relying on any external HTTP callouts.You can use these three admission controllers to customize cluster behavior at admission time.Admission control phasesThe admission control process proceeds in two phases. In the first phase, mutating admission controllers are run. In the second phase, validating admission controllers are run. Note again that some of the controllers are both.If any of the controllers in either phase reject the request, the entire request is rejected immediately and an error is returned to the end-user.Finally, in addition to sometimes mutating the object in question, admission controllers may sometimes have side effects, that is, mutate related resources as part of request processing. Incrementing quota usage is the canonical example of why this is necessary. Any such side-effect needs a corresponding reclamation or reconciliation process, as a given admission controller does not know for sure that a given request will pass all of the other admission controllers.The ordering of these calls can be seen below.Why do I need them?Several important features of Kubernetes require an admission controller to be enabled in order to pro",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_qa_8969"
  },
  {
    "question": "What are the benefits of Admission Control in Kubernetes?",
    "answer": "Admission Control in KubernetesThis page provides an overview of admission controllers.An admission controller is a piece of code that intercepts requests to the Kubernetes API server prior to persistence of the resource, but after the request is authenticated and authorized.Several important features of Kubernetes require an admission controller to be enabled in order to properly support the feature. As a result, a Kubernetes API server that is not properly configured with the right set of admission controllers is an incomplete server that will not support all the features you expect.What are they?Admission controllers are code within the Kubernetes API server that check the data arriving in a request to modify a resource.Admission controllers apply to requests that create, delete, or modify objects. Admission controllers can also block custom verbs, such as a request to connect to a pod via an API server proxy. Admission controllers do not (and cannot) block requests to read (get, watch or list) objects, because reads bypass the admission control layer.Admission control mechanisms may be validating, mutating, or both. Mutating controllers may modify the data for the resource being modified; validating controllers may not.The admission controllers in Kubernetes 1.34 consist of the list below, are compiled into the kube-apiserver binary, and may only be configured by the cluster administrator.Admission control extension pointsWithin the full list, there are three special controllers: MutatingAdmissionWebhook, ValidatingAdmissionWebhook, and ValidatingAdmissionPolicy. The two webhook controllers execute the mutating and validating (respectively) admission control webhooks which are configured in the API. ValidatingAdmissionPolicy provides a way to embed declarative validation code within the API, without relying on any external HTTP callouts.You can use these three admission controllers to customize cluster behavior at admission time.Admission control phasesThe admission control process proceeds in two phases. In the first phase, mutating admission controllers are run. In the second phase, validating admission controllers are run. Note again that some of the controllers are both.If any of the controllers in either phase reject the request, the entire request is rejected immediately and an error is returned to the end-user.Finally, in addition to sometimes mutating the object in question, admission controllers may sometimes have side effects, that is, mutate related resources as part of request processing. Incrementing quota usage is the canonical example of why this is necessary. Any such side-effect needs a corresponding reclamation or reconciliation process, as a given admission controller does not know for sure that a given request will pass all of the other admission controllers.The ordering of these calls can be seen below.Why do I need them?Several important features of Kubernetes require an admission controller to be enabled in order to pro",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_qa_8970"
  },
  {
    "question": "What is Admission Control in Kubernetes?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   o f   a d m i s s i o n   c o n t r o l l e r s .   A n   a d m i s s i o n   c o n t r o l l e r   i s   a   p i e c e   o f   c o d e   t h a t   i n t e r c e p t s   r e q u e s t s   t o   t h e   K u b e r n e t e s   A P I   s e r v e r   p r i o r   t o   p e r s i s t e n c e   o f   t h e   r e s o u r c e ,   b u t   a f t e r   t h e   r e q u e s t   i s   a u t h e n t i c a t e d   a n d   a u t h o r i z e d .   S e v e r a l   i m p o r t a n t   f e a t u r e s   o f   K u b e r n e t e s   r e q u i r e   a n   a d m i s s i o n   c o n t r o l l e r   t o   b e   e n a b l e d   i n   o r d e r   t o   p r o p e r l y   s u p p o r t   t h e   f e a t u r e .   A s   a   r e s u l t ,   a   K u b e r n e t e s   A P I   s e r v e r   t h a t   i s   n o t   p r o p e r l y   c o n f i g u r e d   w i t h   t h e   r i g h t   s e t   o f   a d m i s s i o n   c o n t r o l l e r s   i s   a n   i n c o m p l e t e   s e r v e r   t h a t   w i l l   n o t   s u p p o r t   a l l   t h e   f e a t u r e s   y o u   e x p e c t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_1_8971"
  },
  {
    "question": "What is What are they??",
    "answer": "A d m i s s i o n   c o n t r o l l e r s   a r e   c o d e   w i t h i n   t h e   K u b e r n e t e s   A P I   s e r v e r   t h a t   c h e c k   t h e   d a t a   a r r i v i n g   i n   a   r e q u e s t   t o   m o d i f y   a   r e s o u r c e .   A d m i s s i o n   c o n t r o l l e r s   a p p l y   t o   r e q u e s t s   t h a t   c r e a t e ,   d e l e t e ,   o r   m o d i f y   o b j e c t s .   A d m i s s i o n   c o n t r o l l e r s   c a n   a l s o   b l o c k   c u s t o m   v e r b s ,   s u c h   a s   a   r e q u e s t   t o   c o n n e c t   t o   a   p o d   v i a   a n   A P I   s e r v e r   p r o x y .   A d m i s s i o n   c o n t r o l l e r s   d o   n o t   ( a n d   c a n n o t )   b l o c k   r e q u e s t s   t o   r e a d   ( g e t ,   w a t c h   o r   l i s t )   o b j e c t s ,   b e c a u s e   r e a d s   b y p a s s   t h e   a d m i s s i o n   c o n t r o l   l a y e r .   A d m i s s i o n   c o n t r o l   m e c h a n i s m s   m a y   b e   v a l i d a t i n g ,   m u t a t i n g ,   o r   b o t h .   M u t a t i n g   c o n t r o l l e r s   m a y   m o d i f y   t h e   d a t a   f o r   t h e   r e s o u r c e   b e i n g   m o d i f i e d ;   v a l i d a t i n g   c o n t r o l l e r s   m a y   n o t .   T h e   a d m i s s i o n   c o n t r o l l e r s   i n   K u b e r n e t e s   1 . 3 4   c o n s i s t   o f   t h e   l i s t   b e l o w ,   a r e   c o m p i l e d   i n t o   t h e   k u b e - a p i s e r v e r   b i n a r y ,   a n d   m a y   o n l y   b e   c o n f i g u r e d   b y   t h e   c l u s t e r   a d m i n i s t r a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_2_8972"
  },
  {
    "question": "What is Admission control extension points?",
    "answer": "W i t h i n   t h e   f u l l   l i s t ,   t h e r e   a r e   t h r e e   s p e c i a l   c o n t r o l l e r s :   M u t a t i n g A d m i s s i o n W e b h o o k ,   V a l i d a t i n g A d m i s s i o n W e b h o o k ,   a n d   V a l i d a t i n g A d m i s s i o n P o l i c y .   T h e   t w o   w e b h o o k   c o n t r o l l e r s   e x e c u t e   t h e   m u t a t i n g   a n d   v a l i d a t i n g   ( r e s p e c t i v e l y )   a d m i s s i o n   c o n t r o l   w e b h o o k s   w h i c h   a r e   c o n f i g u r e d   i n   t h e   A P I .   V a l i d a t i n g A d m i s s i o n P o l i c y   p r o v i d e s   a   w a y   t o   e m b e d   d e c l a r a t i v e   v a l i d a t i o n   c o d e   w i t h i n   t h e   A P I ,   w i t h o u t   r e l y i n g   o n   a n y   e x t e r n a l   H T T P   c a l l o u t s .   Y o u   c a n   u s e   t h e s e   t h r e e   a d m i s s i o n   c o n t r o l l e r s   t o   c u s t o m i z e   c l u s t e r   b e h a v i o r   a t   a d m i s s i o n   t i m e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_8973"
  },
  {
    "question": "What is Admission control phases?",
    "answer": "T h e   a d m i s s i o n   c o n t r o l   p r o c e s s   p r o c e e d s   i n   t w o   p h a s e s .   I n   t h e   f i r s t   p h a s e ,   m u t a t i n g   a d m i s s i o n   c o n t r o l l e r s   a r e   r u n .   I n   t h e   s e c o n d   p h a s e ,   v a l i d a t i n g   a d m i s s i o n   c o n t r o l l e r s   a r e   r u n .   N o t e   a g a i n   t h a t   s o m e   o f   t h e   c o n t r o l l e r s   a r e   b o t h .   I f   a n y   o f   t h e   c o n t r o l l e r s   i n   e i t h e r   p h a s e   r e j e c t   t h e   r e q u e s t ,   t h e   e n t i r e   r e q u e s t   i s   r e j e c t e d   i m m e d i a t e l y   a n d   a n   e r r o r   i s   r e t u r n e d   t o   t h e   e n d - u s e r .   F i n a l l y ,   i n   a d d i t i o n   t o   s o m e t i m e s   m u t a t i n g   t h e   o b j e c t   i n   q u e s t i o n ,   a d m i s s i o n   c o n t r o l l e r s   m a y   s o m e t i m e s   h a v e   s i d e   e f f e c t s ,   t h a t   i s ,   m u t a t e   r e l a t e d   r e s o u r c e s   a s   p a r t   o f   r e q u e s t   p r o c e s s i n g .   I n c r e m e n t i n g   q u o t a   u s a g e   i s   t h e   c a n o n i c a l   e x a m p l e   o f   w h y   t h i s   i s   n e c e s s a r y .   A n y   s u c h   s i d e - e f f e c t   n e e d s   a   c o r r e s p o n d i n g   r e c l a m a t i o n   o r   r e c o n c i l i a t i o n   p r o c e s s ,   a s   a   g i v e n   a d m i s s i o n   c o n t r o l l e r   d o e s   n o t   k n o w   f o r   s u r e   t h a t   a   g i v e n   r e q u e s t   w i l l   p a s s   a l l   o f   t h e   o t h e r   a d m i s s i o n   c o n t r o l l e r s .   T h e   o r d e r i n g   o f   t h e s e   c a l l s   c a n   b e   s e e n   b e l o w .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_8974"
  },
  {
    "question": "What is Why do I need them??",
    "answer": "S e v e r a l   i m p o r t a n t   f e a t u r e s   o f   K u b e r n e t e s   r e q u i r e   a n   a d m i s s i o n   c o n t r o l l e r   t o   b e   e n a b l e d   i n   o r d e r   t o   p r o p e r l y   s u p p o r t   t h e   f e a t u r e .   A s   a   r e s u l t ,   a   K u b e r n e t e s   A P I   s e r v e r   t h a t   i s   n o t   p r o p e r l y   c o n f i g u r e d   w i t h   t h e   r i g h t   s e t   o f   a d m i s s i o n   c o n t r o l l e r s   i s   a n   i n c o m p l e t e   s e r v e r   a n d   w i l l   n o t   s u p p o r t   a l l   t h e   f e a t u r e s   y o u   e x p e c t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_2_8975"
  },
  {
    "question": "What is How do I turn on an admission controller??",
    "answer": "T h e   K u b e r n e t e s   A P I   s e r v e r   f l a g   e n a b l e - a d m i s s i o n - p l u g i n s   t a k e s   a   c o m m a - d e l i m i t e d   l i s t   o f   a d m i s s i o n   c o n t r o l   p l u g i n s   t o   i n v o k e   p r i o r   t o   m o d i f y i n g   o b j e c t s   i n   t h e   c l u s t e r .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   c o m m a n d   l i n e   e n a b l e s   t h e   N a m e s p a c e L i f e c y c l e   a n d   t h e   L i m i t R a n g e r   a d m i s s i o n   c o n t r o l   p l u g i n s :   k u b e - a p i s e r v e r   - - e n a b l e - a d m i s s i o n - p l u g i n s = N a m e s p a c e L i f e c y c l e , L i m i t R a n g e r   . . .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_2_8976"
  },
  {
    "question": "What is How do I turn off an admission controller??",
    "answer": "T h e   K u b e r n e t e s   A P I   s e r v e r   f l a g   d i s a b l e - a d m i s s i o n - p l u g i n s   t a k e s   a   c o m m a - d e l i m i t e d   l i s t   o f   a d m i s s i o n   c o n t r o l   p l u g i n s   t o   b e   d i s a b l e d ,   e v e n   i f   t h e y   a r e   i n   t h e   l i s t   o f   p l u g i n s   e n a b l e d   b y   d e f a u l t .   k u b e - a p i s e r v e r   - - d i s a b l e - a d m i s s i o n - p l u g i n s = P o d N o d e S e l e c t o r , A l w a y s D e n y   . . .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_2_8977"
  },
  {
    "question": "What is Which plugins are enabled by default??",
    "answer": "T o   s e e   w h i c h   a d m i s s i o n   p l u g i n s   a r e   e n a b l e d :   k u b e - a p i s e r v e r   - h   |   g r e p   e n a b l e - a d m i s s i o n - p l u g i n s   I n   K u b e r n e t e s   1 . 3 4 ,   t h e   d e f a u l t   o n e s   a r e :   C e r t i f i c a t e A p p r o v a l ,   C e r t i f i c a t e S i g n i n g ,   C e r t i f i c a t e S u b j e c t R e s t r i c t i o n ,   D e f a u l t I n g r e s s C l a s s ,   D e f a u l t S t o r a g e C l a s s ,   D e f a u l t T o l e r a t i o n S e c o n d s ,   L i m i t R a n g e r ,   M u t a t i n g A d m i s s i o n W e b h o o k ,   N a m e s p a c e L i f e c y c l e ,   P e r s i s t e n t V o l u m e C l a i m R e s i z e ,   P o d S e c u r i t y ,   P r i o r i t y ,   R e s o u r c e Q u o t a ,   R u n t i m e C l a s s ,   S e r v i c e A c c o u n t ,   S t o r a g e O b j e c t I n U s e P r o t e c t i o n ,   T a i n t N o d e s B y C o n d i t i o n ,   V a l i d a t i n g A d m i s s i o n P o l i c y ,   V a l i d a t i n g A d m i s s i o n W e b h o o k",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_2_8978"
  },
  {
    "question": "What is AlwaysAdmit?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   a l l o w s   a l l   p o d s   i n t o   t h e   c l u s t e r .   I t   i s   d e p r e c a t e d   b e c a u s e   i t s   b e h a v i o r   i s   t h e   s a m e   a s   i f   t h e r e   w e r e   n o   a d m i s s i o n   c o n t r o l l e r   a t   a l l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_8979"
  },
  {
    "question": "What is AlwaysDeny?",
    "answer": "T y p e :   V a l i d a t i n g .   R e j e c t s   a l l   r e q u e s t s .   A l w a y s D e n y   i s   d e p r e c a t e d   a s   i t   h a s   n o   r e a l   m e a n i n g .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_8980"
  },
  {
    "question": "What is AlwaysPullImages?",
    "answer": "T y p e :   M u t a t i n g   a n d   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   m o d i f i e s   e v e r y   n e w   P o d   t o   f o r c e   t h e   i m a g e   p u l l   p o l i c y   t o   A l w a y s .   T h i s   i s   u s e f u l   i n   a   m u l t i t e n a n t   c l u s t e r   s o   t h a t   u s e r s   c a n   b e   a s s u r e d   t h a t   t h e i r   p r i v a t e   i m a g e s   c a n   o n l y   b e   u s e d   b y   t h o s e   w h o   h a v e   t h e   c r e d e n t i a l s   t o   p u l l   t h e m .   W i t h o u t   t h i s   a d m i s s i o n   c o n t r o l l e r ,   o n c e   a n   i m a g e   h a s   b e e n   p u l l e d   t o   a   n o d e ,   a n y   p o d   f r o m   a n y   u s e r   c a n   u s e   i t   b y   k n o w i n g   t h e   i m a g e ' s   n a m e   ( a s s u m i n g   t h e   P o d   i s   s c h e d u l e d   o n t o   t h e   r i g h t   n o d e ) ,   w i t h o u t   a n y   a u t h o r i z a t i o n   c h e c k   a g a i n s t   t h e   i m a g e .   W h e n   t h i s   a d m i s s i o n   c o n t r o l l e r   i s   e n a b l e d ,   i m a g e s   a r e   a l w a y s   p u l l e d   p r i o r   t o   s t a r t i n g   c o n t a i n e r s ,   w h i c h   m e a n s   v a l i d   c r e d e n t i a l s   a r e   r e q u i r e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_8981"
  },
  {
    "question": "What is CertificateApproval?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   o b s e r v e s   r e q u e s t s   t o   a p p r o v e   C e r t i f i c a t e S i g n i n g R e q u e s t   r e s o u r c e s   a n d   p e r f o r m s   a d d i t i o n a l   a u t h o r i z a t i o n   c h e c k s   t o   e n s u r e   t h e   a p p r o v i n g   u s e r   h a s   p e r m i s s i o n   t o   a p p r o v e   c e r t i f i c a t e   r e q u e s t s   w i t h   t h e   s p e c . s i g n e r N a m e   r e q u e s t e d   o n   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   r e s o u r c e .   S e e   C e r t i f i c a t e   S i g n i n g   R e q u e s t s   f o r   m o r e   i n f o r m a t i o n   o n   t h e   p e r m i s s i o n s   r e q u i r e d   t o   p e r f o r m   d i f f e r e n t   a c t i o n s   o n   C e r t i f i c a t e S i g n i n g R e q u e s t   r e s o u r c e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_8982"
  },
  {
    "question": "What is CertificateSigning?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   o b s e r v e s   u p d a t e s   t o   t h e   s t a t u s . c e r t i f i c a t e   f i e l d   o f   C e r t i f i c a t e S i g n i n g R e q u e s t   r e s o u r c e s   a n d   p e r f o r m s   a n   a d d i t i o n a l   a u t h o r i z a t i o n   c h e c k s   t o   e n s u r e   t h e   s i g n i n g   u s e r   h a s   p e r m i s s i o n   t o   s i g n   c e r t i f i c a t e   r e q u e s t s   w i t h   t h e   s p e c . s i g n e r N a m e   r e q u e s t e d   o n   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   r e s o u r c e .   S e e   C e r t i f i c a t e   S i g n i n g   R e q u e s t s   f o r   m o r e   i n f o r m a t i o n   o n   t h e   p e r m i s s i o n s   r e q u i r e d   t o   p e r f o r m   d i f f e r e n t   a c t i o n s   o n   C e r t i f i c a t e S i g n i n g R e q u e s t   r e s o u r c e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_8983"
  },
  {
    "question": "What is CertificateSubjectRestriction?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   o b s e r v e s   c r e a t i o n   o f   C e r t i f i c a t e S i g n i n g R e q u e s t   r e s o u r c e s   t h a t   h a v e   a   s p e c . s i g n e r N a m e   o f   k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t .   I t   r e j e c t s   a n y   r e q u e s t   t h a t   s p e c i f i e s   a   ' g r o u p '   ( o r   ' o r g a n i z a t i o n   a t t r i b u t e ' )   o f   s y s t e m : m a s t e r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_8984"
  },
  {
    "question": "What is DefaultIngressClass?",
    "answer": "T y p e :   M u t a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   o b s e r v e s   c r e a t i o n   o f   I n g r e s s   o b j e c t s   t h a t   d o   n o t   r e q u e s t   a n y   s p e c i f i c   i n g r e s s   c l a s s   a n d   a u t o m a t i c a l l y   a d d s   a   d e f a u l t   i n g r e s s   c l a s s   t o   t h e m .   T h i s   w a y ,   u s e r s   t h a t   d o   n o t   r e q u e s t   a n y   s p e c i a l   i n g r e s s   c l a s s   d o   n o t   n e e d   t o   c a r e   a b o u t   t h e m   a t   a l l   a n d   t h e y   w i l l   g e t   t h e   d e f a u l t   o n e .   T h i s   a d m i s s i o n   c o n t r o l l e r   d o e s   n o t   d o   a n y t h i n g   w h e n   n o   d e f a u l t   i n g r e s s   c l a s s   i s   c o n f i g u r e d .   W h e n   m o r e   t h a n   o n e   i n g r e s s   c l a s s   i s   m a r k e d   a s   d e f a u l t ,   i t   r e j e c t s   a n y   c r e a t i o n   o f   I n g r e s s   w i t h   a n   e r r o r   a n d   a n   a d m i n i s t r a t o r   m u s t   r e v i s i t   t h e i r   I n g r e s s C l a s s   o b j e c t s   a n d   m a r k   o n l y   o n e   a s   d e f a u l t   ( w i t h   t h e   a n n o t a t i o n   \" i n g r e s s c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s \" ) .   T h i s   a d m i s s i o n   c o n t r o l l e r   i g n o r e s   a n y   I n g r e s s   u p d a t e s ;   i t   a c t s   o n l y   o n   c r e a t i o n .   S e e   t h e   I n g r e s s   d o c u m e n t a t i o n   f o r   m o r e   a b o u t   i n g r e s s   c l a s s e s   a n d   h o w   t o   m a r k   o n e   a s   d e f a u l t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_8985"
  },
  {
    "question": "What is DefaultStorageClass?",
    "answer": "T y p e :   M u t a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   o b s e r v e s   c r e a t i o n   o f   P e r s i s t e n t V o l u m e C l a i m   o b j e c t s   t h a t   d o   n o t   r e q u e s t   a n y   s p e c i f i c   s t o r a g e   c l a s s   a n d   a u t o m a t i c a l l y   a d d s   a   d e f a u l t   s t o r a g e   c l a s s   t o   t h e m .   T h i s   w a y ,   u s e r s   t h a t   d o   n o t   r e q u e s t   a n y   s p e c i a l   s t o r a g e   c l a s s   d o   n o t   n e e d   t o   c a r e   a b o u t   t h e m   a t   a l l   a n d   t h e y   w i l l   g e t   t h e   d e f a u l t   o n e .   T h i s   a d m i s s i o n   c o n t r o l l e r   d o e s   n o t h i n g   w h e n   n o   d e f a u l t   S t o r a g e C l a s s   e x i s t s .   W h e n   m o r e   t h a n   o n e   s t o r a g e   c l a s s   i s   m a r k e d   a s   d e f a u l t ,   a n d   y o u   t h e n   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   w i t h   n o   s t o r a g e C l a s s N a m e   s e t ,   K u b e r n e t e s   u s e s   t h e   m o s t   r e c e n t l y   c r e a t e d   d e f a u l t   S t o r a g e C l a s s .   W h e n   a   P e r s i s t e n t V o l u m e C l a i m   i s   c r e a t e d   w i t h   a   s p e c i f i e d   v o l u m e N a m e ,   i t   r e m a i n s   i n   a   p e n d i n g   s t a t e   i f   t h e   s t a t i c   v o l u m e ' s   s t o r a g e C l a s s N a m e   d o e s   n o t   m a t c h   t h e   s t o r a g e C l a s s N a m e   o n   t h e   P e r s i s t e n t V o l u m e C l a i m   a f t e r   a n y   d e f a u l t   S t o r a g e C l a s s   i s   a p p l i e d   t o   i t .   T h i s   a d m i s s i o n   c o n t r o l l e r   i g n o r e s   a n y   P e r s i s t e n t V o l u m e C l a i m   u p d a t e s ;   i t   a c t s   o n l y   o n   c r e a t i o n .   S e e   p e r s i s t e n t   v o l u m e   d o c u m e n t a t i o n   a b o u t   p e r s i s t e n t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_8986"
  },
  {
    "question": "What is DefaultTolerationSeconds?",
    "answer": "T y p e :   M u t a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   s e t s   t h e   d e f a u l t   f o r g i v e n e s s   t o l e r a t i o n   f o r   p o d s   t o   t o l e r a t e   t h e   t a i n t s   n o t r e a d y : N o E x e c u t e   a n d   u n r e a c h a b l e : N o E x e c u t e   b a s e d   o n   t h e   k 8 s - a p i s e r v e r   i n p u t   p a r a m e t e r s   d e f a u l t - n o t - r e a d y - t o l e r a t i o n - s e c o n d s   a n d   d e f a u l t - u n r e a c h a b l e - t o l e r a t i o n - s e c o n d s   i f   t h e   p o d s   d o n ' t   a l r e a d y   h a v e   t o l e r a t i o n   f o r   t a i n t s   n o d e . k u b e r n e t e s . i o / n o t - r e a d y : N o E x e c u t e   o r   n o d e . k u b e r n e t e s . i o / u n r e a c h a b l e : N o E x e c u t e .   T h e   d e f a u l t   v a l u e   f o r   d e f a u l t - n o t - r e a d y - t o l e r a t i o n - s e c o n d s   a n d   d e f a u l t - u n r e a c h a b l e - t o l e r a t i o n - s e c o n d s   i s   5   m i n u t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_8987"
  },
  {
    "question": "What is DenyServiceExternalIPs?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   r e j e c t s   a l l   n e t - n e w   u s a g e   o f   t h e   S e r v i c e   f i e l d   e x t e r n a l I P s .   T h i s   f e a t u r e   i s   v e r y   p o w e r f u l   ( a l l o w s   n e t w o r k   t r a f f i c   i n t e r c e p t i o n )   a n d   n o t   w e l l   c o n t r o l l e d   b y   p o l i c y .   W h e n   e n a b l e d ,   u s e r s   o f   t h e   c l u s t e r   m a y   n o t   c r e a t e   n e w   S e r v i c e s   w h i c h   u s e   e x t e r n a l I P s   a n d   m a y   n o t   a d d   n e w   v a l u e s   t o   e x t e r n a l I P s   o n   e x i s t i n g   S e r v i c e   o b j e c t s .   E x i s t i n g   u s e s   o f   e x t e r n a l I P s   a r e   n o t   a f f e c t e d ,   a n d   u s e r s   m a y   r e m o v e   v a l u e s   f r o m   e x t e r n a l I P s   o n   e x i s t i n g   S e r v i c e   o b j e c t s .   M o s t   u s e r s   d o   n o t   n e e d   t h i s   f e a t u r e   a t   a l l ,   a n d   c l u s t e r   a d m i n s   s h o u l d   c o n s i d e r   d i s a b l i n g   i t .   C l u s t e r s   t h a t   d o   n e e d   t o   u s e   t h i s   f e a t u r e   s h o u l d   c o n s i d e r   u s i n g   s o m e   c u s t o m   p o l i c y   t o   m a n a g e   u s a g e   o f   i t .   T h i s   a d m i s s i o n   c o n t r o l l e r   i s   d i s a b l e d   b y   d e f a u l t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_8988"
  },
  {
    "question": "What is EventRateLimit?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   m i t i g a t e s   t h e   p r o b l e m   w h e r e   t h e   A P I   s e r v e r   g e t s   f l o o d e d   b y   r e q u e s t s   t o   s t o r e   n e w   E v e n t s .   T h e   c l u s t e r   a d m i n   c a n   s p e c i f y   e v e n t   r a t e   l i m i t s   b y :   E n a b l i n g   t h e   E v e n t R a t e L i m i t   a d m i s s i o n   c o n t r o l l e r ; R e f e r e n c i n g   a n   E v e n t R a t e L i m i t   c o n f i g u r a t i o n   f i l e   f r o m   t h e   f i l e   p r o v i d e d   t o   t h e   A P I   s e r v e r ' s   c o m m a n d   l i n e   f l a g   - - a d m i s s i o n - c o n t r o l - c o n f i g - f i l e :   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   A d m i s s i o n C o n f i g u r a t i o n   p l u g i n s :   -   n a m e :   E v e n t R a t e L i m i t   p a t h :   e v e n t c o n f i g . y a m l   . . .   T h e r e   a r e   f o u r   t y p e s   o f   l i m i t s   t h a t   c a n   b e   s p e c i f i e d   i n   t h e   c o n f i g u r a t i o n :   S e r v e r :   A l l   E v e n t   r e q u e s t s   ( c r e a t i o n   o r   m o d i f i c a t i o n s )   r e c e i v e d   b y   t h e   A P I   s e r v e r   s h a r e   a   s i n g l e   b u c k e t . N a m e s p a c e :   E a c h   n a m e s p a c e   h a s   a   d e d i c a t e d   b u c k e t . U s e r :   E a c h   u s e r   i s   a l l o c a t e d   a   b u c k e t . S o u r c e A n d O b j e c t :   A   b u c k e t   i s   a s s i g n e d   b y   e a c h   c o m b i n a t i o n   o f   s o u r c e   a n d   i n v o l v e d   o b j e c t   o f   t h e   e v e n t .   B e l o w   i s   a   s a m p l e   e v e n t c o n f i g . y a m l   f o r   s u c h   a   c o n f i g u r a t i o n :   a p i V e r s i o n :   e v e n t r a t e l i m i t . a d m i s s i o n . k 8 s . i o / v 1 a l p h a 1   k i n d :   C o n f i g u r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_8989"
  },
  {
    "question": "What is ExtendedResourceToleration?",
    "answer": "T y p e :   M u t a t i n g .   T h i s   p l u g - i n   f a c i l i t a t e s   c r e a t i o n   o f   d e d i c a t e d   n o d e s   w i t h   e x t e n d e d   r e s o u r c e s .   I f   o p e r a t o r s   w a n t   t o   c r e a t e   d e d i c a t e d   n o d e s   w i t h   e x t e n d e d   r e s o u r c e s   ( l i k e   G P U s ,   F P G A s   e t c . ) ,   t h e y   a r e   e x p e c t e d   t o   t a i n t   t h e   n o d e   w i t h   t h e   e x t e n d e d   r e s o u r c e   n a m e   a s   t h e   k e y .   T h i s   a d m i s s i o n   c o n t r o l l e r ,   i f   e n a b l e d ,   a u t o m a t i c a l l y   a d d s   t o l e r a t i o n s   f o r   s u c h   t a i n t s   t o   p o d s   r e q u e s t i n g   e x t e n d e d   r e s o u r c e s ,   s o   u s e r s   d o n ' t   h a v e   t o   m a n u a l l y   a d d   t h e s e   t o l e r a t i o n s .   T h i s   a d m i s s i o n   c o n t r o l l e r   i s   d i s a b l e d   b y   d e f a u l t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_8990"
  },
  {
    "question": "What is ImagePolicyWebhook?",
    "answer": "T y p e :   V a l i d a t i n g .   T h e   I m a g e P o l i c y W e b h o o k   a d m i s s i o n   c o n t r o l l e r   a l l o w s   a   b a c k e n d   w e b h o o k   t o   m a k e   a d m i s s i o n   d e c i s i o n s .   T h i s   a d m i s s i o n   c o n t r o l l e r   i s   d i s a b l e d   b y   d e f a u l t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_8991"
  },
  {
    "question": "What is Configuration file format?",
    "answer": "I m a g e P o l i c y W e b h o o k   u s e s   a   c o n f i g u r a t i o n   f i l e   t o   s e t   o p t i o n s   f o r   t h e   b e h a v i o r   o f   t h e   b a c k e n d .   T h i s   f i l e   m a y   b e   j s o n   o r   y a m l   a n d   h a s   t h e   f o l l o w i n g   f o r m a t :   i m a g e P o l i c y :   k u b e C o n f i g F i l e :   / p a t h / t o / k u b e c o n f i g / f o r / b a c k e n d   #   t i m e   i n   s   t o   c a c h e   a p p r o v a l   a l l o w T T L :   5 0   #   t i m e   i n   s   t o   c a c h e   d e n i a l   d e n y T T L :   5 0   #   t i m e   i n   m s   t o   w a i t   b e t w e e n   r e t r i e s   r e t r y B a c k o f f :   5 0 0   #   d e t e r m i n e s   b e h a v i o r   i f   t h e   w e b h o o k   b a c k e n d   f a i l s   d e f a u l t A l l o w :   t r u e   R e f e r e n c e   t h e   I m a g e P o l i c y W e b h o o k   c o n f i g u r a t i o n   f i l e   f r o m   t h e   f i l e   p r o v i d e d   t o   t h e   A P I   s e r v e r ' s   c o m m a n d   l i n e   f l a g   - - a d m i s s i o n - c o n t r o l - c o n f i g - f i l e :   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   A d m i s s i o n C o n f i g u r a t i o n   p l u g i n s :   -   n a m e :   I m a g e P o l i c y W e b h o o k   p a t h :   i m a g e p o l i c y c o n f i g . y a m l   . . .   A l t e r n a t i v e l y ,   y o u   c a n   e m b e d   t h e   c o n f i g u r a t i o n   d i r e c t l y   i n   t h e   f i l e :   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   A d m i s s i o n C o n f i g u r a t i o n   p l u g i n s :   -   n a m e :   I m a g e P o l i c y W e b h o o k   c o n f i g u r a t i o n :   i m a g e P o l i c y :   k u b e C o n f i g F i l e :   < p a t h - t o - k u b e c o n f i g - f i l e >   a l l o w T T L :   5 0   d e n y T T L :   5 0   r e t r y B a c k o f f :   5 0 0   d e f a u l t A l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_4_8992"
  },
  {
    "question": "What is Request payloads?",
    "answer": "W h e n   f a c e d   w i t h   a n   a d m i s s i o n   d e c i s i o n ,   t h e   A P I   S e r v e r   P O S T s   a   J S O N   s e r i a l i z e d   i m a g e p o l i c y . k 8 s . i o / v 1 a l p h a 1   I m a g e R e v i e w   o b j e c t   d e s c r i b i n g   t h e   a c t i o n .   T h i s   o b j e c t   c o n t a i n s   f i e l d s   d e s c r i b i n g   t h e   c o n t a i n e r s   b e i n g   a d m i t t e d ,   a s   w e l l   a s   a n y   p o d   a n n o t a t i o n s   t h a t   m a t c h   * . i m a g e - p o l i c y . k 8 s . i o / * .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_4_8993"
  },
  {
    "question": "What is Note:?",
    "answer": "A n   e x a m p l e   r e q u e s t   b o d y :   {   \" a p i V e r s i o n \" :   \" i m a g e p o l i c y . k 8 s . i o / v 1 a l p h a 1 \" ,   \" k i n d \" :   \" I m a g e R e v i e w \" ,   \" s p e c \" :   {   \" c o n t a i n e r s \" :   [   {   \" i m a g e \" :   \" m y r e p o / m y i m a g e : v 1 \"   } ,   {   \" i m a g e \" :   \" m y r e p o / m y i m a g e @ s h a 2 5 6 : b e b 6 b d 6 a 6 8 f 1 1 4 c 1 d c 2 e a 4 b 2 8 d b 8 1 b d f 9 1 d e 2 0 2 a 9 0 1 4 9 7 2 b e c 5 e 4 d 9 1 7 1 d 9 0 e d \"   }   ] ,   \" a n n o t a t i o n s \" :   {   \" m y c l u s t e r . i m a g e - p o l i c y . k 8 s . i o / t i c k e t - 1 2 3 4 \" :   \" b r e a k - g l a s s \"   } ,   \" n a m e s p a c e \" :   \" m y n a m e s p a c e \"   }   }   T h e   r e m o t e   s e r v i c e   i s   e x p e c t e d   t o   f i l l   t h e   s t a t u s   f i e l d   o f   t h e   r e q u e s t   a n d   r e s p o n d   t o   e i t h e r   a l l o w   o r   d i s a l l o w   a c c e s s .   T h e   r e s p o n s e   b o d y ' s   s p e c   f i e l d   i s   i g n o r e d ,   a n d   m a y   b e   o m i t t e d .   A   p e r m i s s i v e   r e s p o n s e   w o u l d   r e t u r n :   {   \" a p i V e r s i o n \" :   \" i m a g e p o l i c y . k 8 s . i o / v 1 a l p h a 1 \" ,   \" k i n d \" :   \" I m a g e R e v i e w \" ,   \" s t a t u s \" :   {   \" a l l o w e d \" :   t r u e   }   }   T o   d i s a l l o w   a c c e s s ,   t h e   s e r v i c e   w o u l d   r e t u r n :   {   \" a p i V e r s i o n \" :   \" i m a g e p o l i c y . k 8 s . i o / v 1 a l p h a 1 \" ,   \" k i n d \" :   \" I m a g e R e v i e w \" ,   \" s t a t u s \" :   {   \" a l l o w e d \" :   f a l s e ,   \" r e a s o n \" :   \" i m a g e   c u r r e n t l y   b l a c k l i s t e d \"   }   }   F o r   f u r t h e r   d o c u m e n t a t i o n   r e f e r   t o   t h e   i m a g e p o l i c y . v 1 a l p h a 1   A P I .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_4_8994"
  },
  {
    "question": "What is Extending with Annotations?",
    "answer": "A l l   a n n o t a t i o n s   o n   a   P o d   t h a t   m a t c h   * . i m a g e - p o l i c y . k 8 s . i o / *   a r e   s e n t   t o   t h e   w e b h o o k .   S e n d i n g   a n n o t a t i o n s   a l l o w s   u s e r s   w h o   a r e   a w a r e   o f   t h e   i m a g e   p o l i c y   b a c k e n d   t o   s e n d   e x t r a   i n f o r m a t i o n   t o   i t ,   a n d   f o r   d i f f e r e n t   b a c k e n d s   i m p l e m e n t a t i o n s   t o   a c c e p t   d i f f e r e n t   i n f o r m a t i o n .   E x a m p l e s   o f   i n f o r m a t i o n   y o u   m i g h t   p u t   h e r e   a r e :   r e q u e s t   t o   \" b r e a k   g l a s s \"   t o   o v e r r i d e   a   p o l i c y ,   i n   c a s e   o f   e m e r g e n c y . a   t i c k e t   n u m b e r   f r o m   a   t i c k e t   s y s t e m   t h a t   d o c u m e n t s   t h e   b r e a k - g l a s s   r e q u e s t p r o v i d e   a   h i n t   t o   t h e   p o l i c y   s e r v e r   a s   t o   t h e   i m a g e I D   o f   t h e   i m a g e   b e i n g   p r o v i d e d ,   t o   s a v e   i t   a   l o o k u p   I n   a n y   c a s e ,   t h e   a n n o t a t i o n s   a r e   p r o v i d e d   b y   t h e   u s e r   a n d   a r e   n o t   v a l i d a t e d   b y   K u b e r n e t e s   i n   a n y   w a y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_4_8995"
  },
  {
    "question": "What is LimitPodHardAntiAffinityTopology?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   d e n i e s   a n y   p o d   t h a t   d e f i n e s   A n t i A f f i n i t y   t o p o l o g y   k e y   o t h e r   t h a n   k u b e r n e t e s . i o / h o s t n a m e   i n   r e q u i r e d D u r i n g S c h e d u l i n g R e q u i r e d D u r i n g E x e c u t i o n .   T h i s   a d m i s s i o n   c o n t r o l l e r   i s   d i s a b l e d   b y   d e f a u l t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_8996"
  },
  {
    "question": "What is LimitRanger?",
    "answer": "T y p e :   M u t a t i n g   a n d   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   w i l l   o b s e r v e   t h e   i n c o m i n g   r e q u e s t   a n d   e n s u r e   t h a t   i t   d o e s   n o t   v i o l a t e   a n y   o f   t h e   c o n s t r a i n t s   e n u m e r a t e d   i n   t h e   L i m i t R a n g e   o b j e c t   i n   a   N a m e s p a c e .   I f   y o u   a r e   u s i n g   L i m i t R a n g e   o b j e c t s   i n   y o u r   K u b e r n e t e s   d e p l o y m e n t ,   y o u   M U S T   u s e   t h i s   a d m i s s i o n   c o n t r o l l e r   t o   e n f o r c e   t h o s e   c o n s t r a i n t s .   L i m i t R a n g e r   c a n   a l s o   b e   u s e d   t o   a p p l y   d e f a u l t   r e s o u r c e   r e q u e s t s   t o   P o d s   t h a t   d o n ' t   s p e c i f y   a n y ;   c u r r e n t l y ,   t h e   d e f a u l t   L i m i t R a n g e r   a p p l i e s   a   0 . 1   C P U   r e q u i r e m e n t   t o   a l l   P o d s   i n   t h e   d e f a u l t   n a m e s p a c e .   S e e   t h e   L i m i t R a n g e   A P I   r e f e r e n c e   a n d   t h e   e x a m p l e   o f   L i m i t R a n g e   f o r   m o r e   d e t a i l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_8997"
  },
  {
    "question": "What is MutatingAdmissionWebhook?",
    "answer": "T y p e :   M u t a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   c a l l s   a n y   m u t a t i n g   w e b h o o k s   w h i c h   m a t c h   t h e   r e q u e s t .   M a t c h i n g   w e b h o o k s   a r e   c a l l e d   i n   s e r i a l ;   e a c h   o n e   m a y   m o d i f y   t h e   o b j e c t   i f   i t   d e s i r e s .   T h i s   a d m i s s i o n   c o n t r o l l e r   ( a s   i m p l i e d   b y   t h e   n a m e )   o n l y   r u n s   i n   t h e   m u t a t i n g   p h a s e .   I f   a   w e b h o o k   c a l l e d   b y   t h i s   h a s   s i d e   e f f e c t s   ( f o r   e x a m p l e ,   d e c r e m e n t i n g   q u o t a )   i t   m u s t   h a v e   a   r e c o n c i l i a t i o n   s y s t e m ,   a s   i t   i s   n o t   g u a r a n t e e d   t h a t   s u b s e q u e n t   w e b h o o k s   o r   v a l i d a t i n g   a d m i s s i o n   c o n t r o l l e r s   w i l l   p e r m i t   t h e   r e q u e s t   t o   f i n i s h .   I f   y o u   d i s a b l e   t h e   M u t a t i n g A d m i s s i o n W e b h o o k ,   y o u   m u s t   a l s o   d i s a b l e   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   o b j e c t   i n   t h e   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   g r o u p / v e r s i o n   v i a   t h e   - - r u n t i m e - c o n f i g   f l a g ,   b o t h   a r e   o n   b y   d e f a u l t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_8998"
  },
  {
    "question": "What is Use caution when authoring and installing mutating webhooks?",
    "answer": "U s e r s   m a y   b e   c o n f u s e d   w h e n   t h e   o b j e c t s   t h e y   t r y   t o   c r e a t e   a r e   d i f f e r e n t   f r o m   w h a t   t h e y   g e t   b a c k . B u i l t   i n   c o n t r o l   l o o p s   m a y   b r e a k   w h e n   t h e   o b j e c t s   t h e y   t r y   t o   c r e a t e   a r e   d i f f e r e n t   w h e n   r e a d   b a c k . S e t t i n g   o r i g i n a l l y   u n s e t   f i e l d s   i s   l e s s   l i k e l y   t o   c a u s e   p r o b l e m s   t h a n   o v e r w r i t i n g   f i e l d s   s e t   i n   t h e   o r i g i n a l   r e q u e s t .   A v o i d   d o i n g   t h e   l a t t e r . F u t u r e   c h a n g e s   t o   c o n t r o l   l o o p s   f o r   b u i l t - i n   r e s o u r c e s   o r   t h i r d - p a r t y   r e s o u r c e s   m a y   b r e a k   w e b h o o k s   t h a t   w o r k   w e l l   t o d a y .   E v e n   w h e n   t h e   w e b h o o k   i n s t a l l a t i o n   A P I   i s   f i n a l i z e d ,   n o t   a l l   p o s s i b l e   w e b h o o k   b e h a v i o r s   w i l l   b e   g u a r a n t e e d   t o   b e   s u p p o r t e d   i n d e f i n i t e l y .   S e t t i n g   o r i g i n a l l y   u n s e t   f i e l d s   i s   l e s s   l i k e l y   t o   c a u s e   p r o b l e m s   t h a n   o v e r w r i t i n g   f i e l d s   s e t   i n   t h e   o r i g i n a l   r e q u e s t .   A v o i d   d o i n g   t h e   l a t t e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_4_8999"
  },
  {
    "question": "What is NamespaceAutoProvision?",
    "answer": "T y p e :   M u t a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   e x a m i n e s   a l l   i n c o m i n g   r e q u e s t s   o n   n a m e s p a c e d   r e s o u r c e s   a n d   c h e c k s   i f   t h e   r e f e r e n c e d   n a m e s p a c e   d o e s   e x i s t .   I t   c r e a t e s   a   n a m e s p a c e   i f   i t   c a n n o t   b e   f o u n d .   T h i s   a d m i s s i o n   c o n t r o l l e r   i s   u s e f u l   i n   d e p l o y m e n t s   t h a t   d o   n o t   w a n t   t o   r e s t r i c t   c r e a t i o n   o f   a   n a m e s p a c e   p r i o r   t o   i t s   u s a g e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_9000"
  },
  {
    "question": "What is NamespaceExists?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   c h e c k s   a l l   r e q u e s t s   o n   n a m e s p a c e d   r e s o u r c e s   o t h e r   t h a n   N a m e s p a c e   i t s e l f .   I f   t h e   n a m e s p a c e   r e f e r e n c e d   f r o m   a   r e q u e s t   d o e s n ' t   e x i s t ,   t h e   r e q u e s t   i s   r e j e c t e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_9001"
  },
  {
    "question": "What is NamespaceLifecycle?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   e n f o r c e s   t h a t   a   N a m e s p a c e   t h a t   i s   u n d e r g o i n g   t e r m i n a t i o n   c a n n o t   h a v e   n e w   o b j e c t s   c r e a t e d   i n   i t ,   a n d   e n s u r e s   t h a t   r e q u e s t s   i n   a   n o n - e x i s t e n t   N a m e s p a c e   a r e   r e j e c t e d .   T h i s   a d m i s s i o n   c o n t r o l l e r   a l s o   p r e v e n t s   d e l e t i o n   o f   t h r e e   s y s t e m   r e s e r v e d   n a m e s p a c e s   d e f a u l t ,   k u b e - s y s t e m ,   k u b e - p u b l i c .   A   N a m e s p a c e   d e l e t i o n   k i c k s   o f f   a   s e q u e n c e   o f   o p e r a t i o n s   t h a t   r e m o v e   a l l   o b j e c t s   ( p o d s ,   s e r v i c e s ,   e t c . )   i n   t h a t   n a m e s p a c e .   I n   o r d e r   t o   e n f o r c e   i n t e g r i t y   o f   t h a t   p r o c e s s ,   w e   s t r o n g l y   r e c o m m e n d   r u n n i n g   t h i s   a d m i s s i o n   c o n t r o l l e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_9002"
  },
  {
    "question": "What is NodeRestriction?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   l i m i t s   t h e   N o d e   a n d   P o d   o b j e c t s   a   k u b e l e t   c a n   m o d i f y .   I n   o r d e r   t o   b e   l i m i t e d   b y   t h i s   a d m i s s i o n   c o n t r o l l e r ,   k u b e l e t s   m u s t   u s e   c r e d e n t i a l s   i n   t h e   s y s t e m : n o d e s   g r o u p ,   w i t h   a   u s e r n a m e   i n   t h e   f o r m   s y s t e m : n o d e : < n o d e N a m e > .   S u c h   k u b e l e t s   w i l l   o n l y   b e   a l l o w e d   t o   m o d i f y   t h e i r   o w n   N o d e   A P I   o b j e c t ,   a n d   o n l y   m o d i f y   P o d   A P I   o b j e c t s   t h a t   a r e   b o u n d   t o   t h e i r   n o d e .   k u b e l e t s   a r e   n o t   a l l o w e d   t o   u p d a t e   o r   r e m o v e   t a i n t s   f r o m   t h e i r   N o d e   A P I   o b j e c t .   T h e   N o d e R e s t r i c t i o n   a d m i s s i o n   p l u g i n   p r e v e n t s   k u b e l e t s   f r o m   d e l e t i n g   t h e i r   N o d e   A P I   o b j e c t ,   a n d   e n f o r c e s   k u b e l e t   m o d i f i c a t i o n   o f   l a b e l s   u n d e r   t h e   k u b e r n e t e s . i o /   o r   k 8 s . i o /   p r e f i x e s   a s   f o l l o w s :   P r e v e n t s   k u b e l e t s   f r o m   a d d i n g / r e m o v i n g / u p d a t i n g   l a b e l s   w i t h   a   n o d e - r e s t r i c t i o n . k u b e r n e t e s . i o /   p r e f i x .   T h i s   l a b e l   p r e f i x   i s   r e s e r v e d   f o r   a d m i n i s t r a t o r s   t o   l a b e l   t h e i r   N o d e   o b j e c t s   f o r   w o r k l o a d   i s o l a t i o n   p u r p o s e s ,   a n d   k u b e l e t s   w i l l   n o t   b e   a l l o w e d   t o   m o d i f y   l a b e l s   w i t h   t h a t   p r e f i x . A l l o w s   k u b e l e t s   t o   a d d / r e m o v e / u p d a t e   t h e s e   l a b e l s   a n d   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_9003"
  },
  {
    "question": "What is OwnerReferencesPermissionEnforcement?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   p r o t e c t s   t h e   a c c e s s   t o   t h e   m e t a d a t a . o w n e r R e f e r e n c e s   o f   a n   o b j e c t   s o   t h a t   o n l y   u s e r s   w i t h   d e l e t e   p e r m i s s i o n   t o   t h e   o b j e c t   c a n   c h a n g e   i t .   T h i s   a d m i s s i o n   c o n t r o l l e r   a l s o   p r o t e c t s   t h e   a c c e s s   t o   m e t a d a t a . o w n e r R e f e r e n c e s [ x ] . b l o c k O w n e r D e l e t i o n   o f   a n   o b j e c t ,   s o   t h a t   o n l y   u s e r s   w i t h   u p d a t e   p e r m i s s i o n   t o   t h e   f i n a l i z e r s   s u b r e s o u r c e   o f   t h e   r e f e r e n c e d   o w n e r   c a n   c h a n g e   i t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_9004"
  },
  {
    "question": "What is PersistentVolumeClaimResize?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   i m p l e m e n t s   a d d i t i o n a l   v a l i d a t i o n s   f o r   c h e c k i n g   i n c o m i n g   P e r s i s t e n t V o l u m e C l a i m   r e s i z e   r e q u e s t s .   E n a b l i n g   t h e   P e r s i s t e n t V o l u m e C l a i m R e s i z e   a d m i s s i o n   c o n t r o l l e r   i s   r e c o m m e n d e d .   T h i s   a d m i s s i o n   c o n t r o l l e r   p r e v e n t s   r e s i z i n g   o f   a l l   c l a i m s   b y   d e f a u l t   u n l e s s   a   c l a i m ' s   S t o r a g e C l a s s   e x p l i c i t l y   e n a b l e s   r e s i z i n g   b y   s e t t i n g   a l l o w V o l u m e E x p a n s i o n   t o   t r u e .   F o r   e x a m p l e :   a l l   P e r s i s t e n t V o l u m e C l a i m s   c r e a t e d   f r o m   t h e   f o l l o w i n g   S t o r a g e C l a s s   s u p p o r t   v o l u m e   e x p a n s i o n :   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   g l u s t e r - v o l - d e f a u l t   p r o v i s i o n e r :   k u b e r n e t e s . i o / g l u s t e r f s   p a r a m e t e r s :   r e s t u r l :   \" h t t p : / / 1 9 2 . 1 6 8 . 1 0 . 1 0 0 : 8 0 8 0 \"   r e s t u s e r :   \" \"   s e c r e t N a m e s p a c e :   \" \"   s e c r e t N a m e :   \" \"   a l l o w V o l u m e E x p a n s i o n :   t r u e   F o r   m o r e   i n f o r m a t i o n   a b o u t   p e r s i s t e n t   v o l u m e   c l a i m s ,   s e e   P e r s i s t e n t V o l u m e C l a i m s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_9005"
  },
  {
    "question": "What is PodNodeSelector?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   d e f a u l t s   a n d   l i m i t s   w h a t   n o d e   s e l e c t o r s   m a y   b e   u s e d   w i t h i n   a   n a m e s p a c e   b y   r e a d i n g   a   n a m e s p a c e   a n n o t a t i o n   a n d   a   g l o b a l   c o n f i g u r a t i o n .   T h i s   a d m i s s i o n   c o n t r o l l e r   i s   d i s a b l e d   b y   d e f a u l t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_9006"
  },
  {
    "question": "What is Configuration file format?",
    "answer": "P o d N o d e S e l e c t o r   u s e s   a   c o n f i g u r a t i o n   f i l e   t o   s e t   o p t i o n s   f o r   t h e   b e h a v i o r   o f   t h e   b a c k e n d .   N o t e   t h a t   t h e   c o n f i g u r a t i o n   f i l e   f o r m a t   w i l l   m o v e   t o   a   v e r s i o n e d   f i l e   i n   a   f u t u r e   r e l e a s e .   T h i s   f i l e   m a y   b e   j s o n   o r   y a m l   a n d   h a s   t h e   f o l l o w i n g   f o r m a t :   p o d N o d e S e l e c t o r P l u g i n C o n f i g :   c l u s t e r D e f a u l t N o d e S e l e c t o r :   n a m e - o f - n o d e - s e l e c t o r   n a m e s p a c e 1 :   n a m e - o f - n o d e - s e l e c t o r   n a m e s p a c e 2 :   n a m e - o f - n o d e - s e l e c t o r   R e f e r e n c e   t h e   P o d N o d e S e l e c t o r   c o n f i g u r a t i o n   f i l e   f r o m   t h e   f i l e   p r o v i d e d   t o   t h e   A P I   s e r v e r ' s   c o m m a n d   l i n e   f l a g   - - a d m i s s i o n - c o n t r o l - c o n f i g - f i l e :   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   A d m i s s i o n C o n f i g u r a t i o n   p l u g i n s :   -   n a m e :   P o d N o d e S e l e c t o r   p a t h :   p o d n o d e s e l e c t o r . y a m l   . . .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_4_9007"
  },
  {
    "question": "What is Configuration Annotation Format?",
    "answer": "P o d N o d e S e l e c t o r   u s e s   t h e   a n n o t a t i o n   k e y   s c h e d u l e r . a l p h a . k u b e r n e t e s . i o / n o d e - s e l e c t o r   t o   a s s i g n   n o d e   s e l e c t o r s   t o   n a m e s p a c e s .   a p i V e r s i o n :   v 1   k i n d :   N a m e s p a c e   m e t a d a t a :   a n n o t a t i o n s :   s c h e d u l e r . a l p h a . k u b e r n e t e s . i o / n o d e - s e l e c t o r :   n a m e - o f - n o d e - s e l e c t o r   n a m e :   n a m e s p a c e 3",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_4_9008"
  },
  {
    "question": "What is Internal Behavior?",
    "answer": "T h i s   a d m i s s i o n   c o n t r o l l e r   h a s   t h e   f o l l o w i n g   b e h a v i o r :   I f   t h e   N a m e s p a c e   h a s   a n   a n n o t a t i o n   w i t h   a   k e y   s c h e d u l e r . a l p h a . k u b e r n e t e s . i o / n o d e - s e l e c t o r ,   u s e   i t s   v a l u e   a s   t h e   n o d e   s e l e c t o r . I f   t h e   n a m e s p a c e   l a c k s   s u c h   a n   a n n o t a t i o n ,   u s e   t h e   c l u s t e r D e f a u l t N o d e S e l e c t o r   d e f i n e d   i n   t h e   P o d N o d e S e l e c t o r   p l u g i n   c o n f i g u r a t i o n   f i l e   a s   t h e   n o d e   s e l e c t o r . E v a l u a t e   t h e   p o d ' s   n o d e   s e l e c t o r   a g a i n s t   t h e   n a m e s p a c e   n o d e   s e l e c t o r   f o r   c o n f l i c t s .   C o n f l i c t s   r e s u l t   i n   r e j e c t i o n . E v a l u a t e   t h e   p o d ' s   n o d e   s e l e c t o r   a g a i n s t   t h e   n a m e s p a c e - s p e c i f i c   a l l o w e d   s e l e c t o r   d e f i n e d   t h e   p l u g i n   c o n f i g u r a t i o n   f i l e .   C o n f l i c t s   r e s u l t   i n   r e j e c t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_4_9009"
  },
  {
    "question": "What is PodSecurity?",
    "answer": "T y p e :   V a l i d a t i n g .   T h e   P o d S e c u r i t y   a d m i s s i o n   c o n t r o l l e r   c h e c k s   n e w   P o d s   b e f o r e   t h e y   a r e   a d m i t t e d ,   d e t e r m i n e s   i f   i t   s h o u l d   b e   a d m i t t e d   b a s e d   o n   t h e   r e q u e s t e d   s e c u r i t y   c o n t e x t   a n d   t h e   r e s t r i c t i o n s   o n   p e r m i t t e d   P o d   S e c u r i t y   S t a n d a r d s   f o r   t h e   n a m e s p a c e   t h a t   t h e   P o d   w o u l d   b e   i n .   S e e   t h e   P o d   S e c u r i t y   A d m i s s i o n   d o c u m e n t a t i o n   f o r   m o r e   i n f o r m a t i o n .   P o d S e c u r i t y   r e p l a c e d   a n   o l d e r   a d m i s s i o n   c o n t r o l l e r   n a m e d   P o d S e c u r i t y P o l i c y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_9010"
  },
  {
    "question": "What is PodTolerationRestriction?",
    "answer": "T y p e :   M u t a t i n g   a n d   V a l i d a t i n g .   T h e   P o d T o l e r a t i o n R e s t r i c t i o n   a d m i s s i o n   c o n t r o l l e r   v e r i f i e s   a n y   c o n f l i c t   b e t w e e n   t o l e r a t i o n s   o f   a   p o d   a n d   t h e   t o l e r a t i o n s   o f   i t s   n a m e s p a c e .   I t   r e j e c t s   t h e   p o d   r e q u e s t   i f   t h e r e   i s   a   c o n f l i c t .   I t   t h e n   m e r g e s   t h e   t o l e r a t i o n s   a n n o t a t e d   o n   t h e   n a m e s p a c e   i n t o   t h e   t o l e r a t i o n s   o f   t h e   p o d .   T h e   r e s u l t i n g   t o l e r a t i o n s   a r e   c h e c k e d   a g a i n s t   a   l i s t   o f   a l l o w e d   t o l e r a t i o n s   a n n o t a t e d   t o   t h e   n a m e s p a c e .   I f   t h e   c h e c k   s u c c e e d s ,   t h e   p o d   r e q u e s t   i s   a d m i t t e d   o t h e r w i s e   i t   i s   r e j e c t e d .   I f   t h e   n a m e s p a c e   o f   t h e   p o d   d o e s   n o t   h a v e   a n y   a s s o c i a t e d   d e f a u l t   t o l e r a t i o n s   o r   a l l o w e d   t o l e r a t i o n s   a n n o t a t e d ,   t h e   c l u s t e r - l e v e l   d e f a u l t   t o l e r a t i o n s   o r   c l u s t e r - l e v e l   l i s t   o f   a l l o w e d   t o l e r a t i o n s   a r e   u s e d   i n s t e a d   i f   t h e y   a r e   s p e c i f i e d .   T o l e r a t i o n s   t o   a   n a m e s p a c e   a r e   a s s i g n e d   v i a   t h e   s c h e d u l e r . a l p h a . k u b e r n e t e s . i o / d e f a u l t T o l e r a t i o n s   a n n o t a t i o n   k e y .   T h e   l i s t   o f   a l l o w e d   t o l e r a t i o n s   c a n   b e   a d d e d   v i a   t h e   s c h e d u l e r . a l p h a . k u b e r n e t e s . i o / t o l e r a t i o n s W h i t e l i s t   a n n o t a t i o n   k e y .   E x a m p l e   f o r   n a m e s p a c e   a n n o t a t i o n s :   a p i V e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_9011"
  },
  {
    "question": "What is PodTopologyLabels?",
    "answer": "T y p e :   M u t a t i n g   T h e   P o d T o p o l o g y L a b e l s   a d m i s s i o n   c o n t r o l l e r   m u t a t e s   t h e   p o d s / b i n d i n g   s u b r e s o u r c e s   f o r   a l l   p o d s   b o u n d   t o   a   N o d e ,   a d d i n g   t o p o l o g y   l a b e l s   m a t c h i n g   t h o s e   o f   t h e   b o u n d   N o d e .   T h i s   a l l o w s   N o d e   t o p o l o g y   l a b e l s   t o   b e   a v a i l a b l e   a s   p o d   l a b e l s ,   w h i c h   c a n   b e   s u r f a c e d   t o   r u n n i n g   c o n t a i n e r s   u s i n g   t h e   D o w n w a r d   A P I .   T h e   l a b e l s   a v a i l a b l e   a s   a   r e s u l t   o f   t h i s   c o n t r o l l e r   a r e   t h e   t o p o l o g y . k u b e r n e t e s . i o / r e g i o n   a n d   t o p o l o g y . k u b e r e n t e s . i o / z o n e   l a b e l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_9012"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   a d m i s s i o n   c o n t r o l l e r   i s   e n a b l e d   w h e n   t h e   P o d T o p o l o g y L a b e l s A d m i s s i o n   f e a t u r e   g a t e   i s   e n a b l e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_4_9013"
  },
  {
    "question": "What is Priority?",
    "answer": "T y p e :   M u t a t i n g   a n d   V a l i d a t i n g .   T h e   p r i o r i t y   a d m i s s i o n   c o n t r o l l e r   u s e s   t h e   p r i o r i t y C l a s s N a m e   f i e l d   a n d   p o p u l a t e s   t h e   i n t e g e r   v a l u e   o f   t h e   p r i o r i t y .   I f   t h e   p r i o r i t y   c l a s s   i s   n o t   f o u n d ,   t h e   P o d   i s   r e j e c t e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_9014"
  },
  {
    "question": "What is ResourceQuota?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   w i l l   o b s e r v e   t h e   i n c o m i n g   r e q u e s t   a n d   e n s u r e   t h a t   i t   d o e s   n o t   v i o l a t e   a n y   o f   t h e   c o n s t r a i n t s   e n u m e r a t e d   i n   t h e   R e s o u r c e Q u o t a   o b j e c t   i n   a   N a m e s p a c e .   I f   y o u   a r e   u s i n g   R e s o u r c e Q u o t a   o b j e c t s   i n   y o u r   K u b e r n e t e s   d e p l o y m e n t ,   y o u   M U S T   u s e   t h i s   a d m i s s i o n   c o n t r o l l e r   t o   e n f o r c e   q u o t a   c o n s t r a i n t s .   S e e   t h e   R e s o u r c e Q u o t a   A P I   r e f e r e n c e   a n d   t h e   e x a m p l e   o f   R e s o u r c e   Q u o t a   f o r   m o r e   d e t a i l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_9015"
  },
  {
    "question": "What is RuntimeClass?",
    "answer": "T y p e :   M u t a t i n g   a n d   V a l i d a t i n g .   I f   y o u   d e f i n e   a   R u n t i m e C l a s s   w i t h   P o d   o v e r h e a d   c o n f i g u r e d ,   t h i s   a d m i s s i o n   c o n t r o l l e r   c h e c k s   i n c o m i n g   P o d s .   W h e n   e n a b l e d ,   t h i s   a d m i s s i o n   c o n t r o l l e r   r e j e c t s   a n y   P o d   c r e a t e   r e q u e s t s   t h a t   h a v e   t h e   o v e r h e a d   a l r e a d y   s e t .   F o r   P o d s   t h a t   h a v e   a   R u n t i m e C l a s s   c o n f i g u r e d   a n d   s e l e c t e d   i n   t h e i r   . s p e c ,   t h i s   a d m i s s i o n   c o n t r o l l e r   s e t s   . s p e c . o v e r h e a d   i n   t h e   P o d   b a s e d   o n   t h e   v a l u e   d e f i n e d   i n   t h e   c o r r e s p o n d i n g   R u n t i m e C l a s s .   S e e   a l s o   P o d   O v e r h e a d   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_9016"
  },
  {
    "question": "What is ServiceAccount?",
    "answer": "T y p e :   M u t a t i n g   a n d   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   i m p l e m e n t s   a u t o m a t i o n   f o r   s e r v i c e A c c o u n t s .   T h e   K u b e r n e t e s   p r o j e c t   s t r o n g l y   r e c o m m e n d s   e n a b l i n g   t h i s   a d m i s s i o n   c o n t r o l l e r .   Y o u   s h o u l d   e n a b l e   t h i s   a d m i s s i o n   c o n t r o l l e r   i f   y o u   i n t e n d   t o   m a k e   a n y   u s e   o f   K u b e r n e t e s   S e r v i c e A c c o u n t   o b j e c t s .   T o   e n h a n c e   t h e   s e c u r i t y   m e a s u r e s   a r o u n d   S e c r e t s ,   u s e   s e p a r a t e   n a m e s p a c e s   t o   i s o l a t e   a c c e s s   t o   m o u n t e d   s e c r e t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_9017"
  },
  {
    "question": "What is StorageObjectInUseProtection?",
    "answer": "T y p e :   M u t a t i n g .   T h e   S t o r a g e O b j e c t I n U s e P r o t e c t i o n   p l u g i n   a d d s   t h e   k u b e r n e t e s . i o / p v c - p r o t e c t i o n   o r   k u b e r n e t e s . i o / p v - p r o t e c t i o n   f i n a l i z e r s   t o   n e w l y   c r e a t e d   P e r s i s t e n t   V o l u m e   C l a i m s   ( P V C s )   o r   P e r s i s t e n t   V o l u m e s   ( P V ) .   I n   c a s e   a   u s e r   d e l e t e s   a   P V C   o r   P V   t h e   P V C   o r   P V   i s   n o t   r e m o v e d   u n t i l   t h e   f i n a l i z e r   i s   r e m o v e d   f r o m   t h e   P V C   o r   P V   b y   P V C   o r   P V   P r o t e c t i o n   C o n t r o l l e r .   R e f e r   t o   t h e   S t o r a g e   O b j e c t   i n   U s e   P r o t e c t i o n   f o r   m o r e   d e t a i l e d   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_9018"
  },
  {
    "question": "What is TaintNodesByCondition?",
    "answer": "T y p e :   M u t a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   t a i n t s   n e w l y   c r e a t e d   N o d e s   a s   N o t R e a d y   a n d   N o S c h e d u l e .   T h a t   t a i n t i n g   a v o i d s   a   r a c e   c o n d i t i o n   t h a t   c o u l d   c a u s e   P o d s   t o   b e   s c h e d u l e d   o n   n e w   N o d e s   b e f o r e   t h e i r   t a i n t s   w e r e   u p d a t e d   t o   a c c u r a t e l y   r e f l e c t   t h e i r   r e p o r t e d   c o n d i t i o n s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_9019"
  },
  {
    "question": "What is ValidatingAdmissionPolicy?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   i m p l e m e n t s   t h e   C E L   v a l i d a t i o n   f o r   i n c o m i n g   m a t c h e d   r e q u e s t s .   I t   i s   e n a b l e d   w h e n   b o t h   f e a t u r e   g a t e   v a l i d a t i n g a d m i s s i o n p o l i c y   a n d   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1   g r o u p / v e r s i o n   a r e   e n a b l e d .   I f   a n y   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   f a i l s ,   t h e   r e q u e s t   f a i l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_9020"
  },
  {
    "question": "What is ValidatingAdmissionWebhook?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   c a l l s   a n y   v a l i d a t i n g   w e b h o o k s   w h i c h   m a t c h   t h e   r e q u e s t .   M a t c h i n g   w e b h o o k s   a r e   c a l l e d   i n   p a r a l l e l ;   i f   a n y   o f   t h e m   r e j e c t s   t h e   r e q u e s t ,   t h e   r e q u e s t   f a i l s .   T h i s   a d m i s s i o n   c o n t r o l l e r   o n l y   r u n s   i n   t h e   v a l i d a t i o n   p h a s e ;   t h e   w e b h o o k s   i t   c a l l s   m a y   n o t   m u t a t e   t h e   o b j e c t ,   a s   o p p o s e d   t o   t h e   w e b h o o k s   c a l l e d   b y   t h e   M u t a t i n g A d m i s s i o n W e b h o o k   a d m i s s i o n   c o n t r o l l e r .   I f   a   w e b h o o k   c a l l e d   b y   t h i s   h a s   s i d e   e f f e c t s   ( f o r   e x a m p l e ,   d e c r e m e n t i n g   q u o t a )   i t   m u s t   h a v e   a   r e c o n c i l i a t i o n   s y s t e m ,   a s   i t   i s   n o t   g u a r a n t e e d   t h a t   s u b s e q u e n t   w e b h o o k s   o r   o t h e r   v a l i d a t i n g   a d m i s s i o n   c o n t r o l l e r s   w i l l   p e r m i t   t h e   r e q u e s t   t o   f i n i s h .   I f   y o u   d i s a b l e   t h e   V a l i d a t i n g A d m i s s i o n W e b h o o k ,   y o u   m u s t   a l s o   d i s a b l e   t h e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   o b j e c t   i n   t h e   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   g r o u p / v e r s i o n   v i a   t h e   - - r u n t i m e - c o n f i g   f l a g .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_3_9021"
  },
  {
    "question": "What is Is there a recommended set of admission controllers to use??",
    "answer": "Y e s .   T h e   r e c o m m e n d e d   a d m i s s i o n   c o n t r o l l e r s   a r e   e n a b l e d   b y   d e f a u l t   ( s h o w n   h e r e ) ,   s o   y o u   d o   n o t   n e e d   t o   e x p l i c i t l y   s p e c i f y   t h e m .   Y o u   c a n   e n a b l e   a d d i t i o n a l   a d m i s s i o n   c o n t r o l l e r s   b e y o n d   t h e   d e f a u l t   s e t   u s i n g   t h e   - - e n a b l e - a d m i s s i o n - p l u g i n s   f l a g   ( o r d e r   d o e s n ' t   m a t t e r ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/",
    "id": "k8s_00472_section_2_9022"
  },
  {
    "question": "What is Running Automated Tasks with a CronJob?",
    "answer": "Running Automated Tasks with a CronJobThis page shows how to run automated tasks using Kubernetes CronJob object.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesCreating a CronJobCron jobs require a config file. Here is a manifest for a CronJob that runs a simple demonstration task every minute:application/job/cronjob.yaml apiVersion: batch/v1 kind: CronJob metadata: name: hello spec: schedule: \"* * * * *\" jobTemplate: spec: template: spec: containers: - name: hello image: busybox:1.28 imagePullPolicy: IfNotPresent command: - /bin/sh - -c - date; echo Hello from the Kubernetes cluster restartPolicy: OnFailure Run the example CronJob by using this command:kubectl create -f https://k8s.io/examples/application/job/cronjob.yaml The output is similar to this:cronjob.batch/hello created After creating the cron job, get its status using this command:kubectl get cronjob hello The output is similar to this:NAME SCHEDULE SUSPEND ACTIVE LAST SCHEDULE AGE hello */1 * * * * False 0 <none> 10s As you can see from the results of the command, the cron job has not scheduled or run any jobs yet. Watch for the job to be created in around one minute:kubectl get jobs --watch The output is similar to this:NAME COMPLETIONS DURATION AGE hello-4111706356 0/1 0s hello-4111706356 0/1 0s 0s hello-4111706356 1/1 5s 5s Now you've seen one running job scheduled by the \"hello\" cron job. You can stop watching the job and view the cron job again to see that it scheduled the job:kubectl get cronjob hello The output is similar to this:NAME SCHEDULE SUSPEND ACTIVE LAST SCHEDULE AGE hello */1 * * * * False 0 50s 75s You should see that the cron job hello successfully scheduled a job at the time specified in LAST SCHEDULE. There are currently 0 active jobs, meaning that the job has completed or failed.Now, find the pods that the last scheduled job created and view the standard output of one of the pods.Note:The job name is different from the pod name.# Replace \"hello-4111706356\" with the job name in your system pods=$(kubectl get pods --selector=job-name=hello-4111706356 --output=jsonpath={.items[*].metadata.name}) Show the pod log:kubectl logs $pods The output is similar to this:Fri Feb 22 11:02:09 UTC 2019 Hello from the Kubernetes cluster Deleting a CronJobWhen you don't need a cron job any more, delete it with kubectl delete cronjob <cronjob name>:kubectl delete cronjob hello Deleting the cron job removes all the jobs and pods it created and stops it from creating additional jobs. You can read more about removing jobs in garbage collection.",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/",
    "id": "k8s_00473_qa_9023"
  },
  {
    "question": "How does Running Automated Tasks with a CronJob work?",
    "answer": "Running Automated Tasks with a CronJobThis page shows how to run automated tasks using Kubernetes CronJob object.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesCreating a CronJobCron jobs require a config file. Here is a manifest for a CronJob that runs a simple demonstration task every minute:application/job/cronjob.yaml apiVersion: batch/v1 kind: CronJob metadata: name: hello spec: schedule: \"* * * * *\" jobTemplate: spec: template: spec: containers: - name: hello image: busybox:1.28 imagePullPolicy: IfNotPresent command: - /bin/sh - -c - date; echo Hello from the Kubernetes cluster restartPolicy: OnFailure Run the example CronJob by using this command:kubectl create -f https://k8s.io/examples/application/job/cronjob.yaml The output is similar to this:cronjob.batch/hello created After creating the cron job, get its status using this command:kubectl get cronjob hello The output is similar to this:NAME SCHEDULE SUSPEND ACTIVE LAST SCHEDULE AGE hello */1 * * * * False 0 <none> 10s As you can see from the results of the command, the cron job has not scheduled or run any jobs yet. Watch for the job to be created in around one minute:kubectl get jobs --watch The output is similar to this:NAME COMPLETIONS DURATION AGE hello-4111706356 0/1 0s hello-4111706356 0/1 0s 0s hello-4111706356 1/1 5s 5s Now you've seen one running job scheduled by the \"hello\" cron job. You can stop watching the job and view the cron job again to see that it scheduled the job:kubectl get cronjob hello The output is similar to this:NAME SCHEDULE SUSPEND ACTIVE LAST SCHEDULE AGE hello */1 * * * * False 0 50s 75s You should see that the cron job hello successfully scheduled a job at the time specified in LAST SCHEDULE. There are currently 0 active jobs, meaning that the job has completed or failed.Now, find the pods that the last scheduled job created and view the standard output of one of the pods.Note:The job name is different from the pod name.# Replace \"hello-4111706356\" with the job name in your system pods=$(kubectl get pods --selector=job-name=hello-4111706356 --output=jsonpath={.items[*].metadata.name}) Show the pod log:kubectl logs $pods The output is similar to this:Fri Feb 22 11:02:09 UTC 2019 Hello from the Kubernetes cluster Deleting a CronJobWhen you don't need a cron job any more, delete it with kubectl delete cronjob <cronjob name>:kubectl delete cronjob hello Deleting the cron job removes all the jobs and pods it created and stops it from creating additional jobs. You can read more about removing jobs in garbage collection.",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/",
    "id": "k8s_00473_qa_9024"
  },
  {
    "question": "When would you use Running Automated Tasks with a CronJob?",
    "answer": "Running Automated Tasks with a CronJobThis page shows how to run automated tasks using Kubernetes CronJob object.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesCreating a CronJobCron jobs require a config file. Here is a manifest for a CronJob that runs a simple demonstration task every minute:application/job/cronjob.yaml apiVersion: batch/v1 kind: CronJob metadata: name: hello spec: schedule: \"* * * * *\" jobTemplate: spec: template: spec: containers: - name: hello image: busybox:1.28 imagePullPolicy: IfNotPresent command: - /bin/sh - -c - date; echo Hello from the Kubernetes cluster restartPolicy: OnFailure Run the example CronJob by using this command:kubectl create -f https://k8s.io/examples/application/job/cronjob.yaml The output is similar to this:cronjob.batch/hello created After creating the cron job, get its status using this command:kubectl get cronjob hello The output is similar to this:NAME SCHEDULE SUSPEND ACTIVE LAST SCHEDULE AGE hello */1 * * * * False 0 <none> 10s As you can see from the results of the command, the cron job has not scheduled or run any jobs yet. Watch for the job to be created in around one minute:kubectl get jobs --watch The output is similar to this:NAME COMPLETIONS DURATION AGE hello-4111706356 0/1 0s hello-4111706356 0/1 0s 0s hello-4111706356 1/1 5s 5s Now you've seen one running job scheduled by the \"hello\" cron job. You can stop watching the job and view the cron job again to see that it scheduled the job:kubectl get cronjob hello The output is similar to this:NAME SCHEDULE SUSPEND ACTIVE LAST SCHEDULE AGE hello */1 * * * * False 0 50s 75s You should see that the cron job hello successfully scheduled a job at the time specified in LAST SCHEDULE. There are currently 0 active jobs, meaning that the job has completed or failed.Now, find the pods that the last scheduled job created and view the standard output of one of the pods.Note:The job name is different from the pod name.# Replace \"hello-4111706356\" with the job name in your system pods=$(kubectl get pods --selector=job-name=hello-4111706356 --output=jsonpath={.items[*].metadata.name}) Show the pod log:kubectl logs $pods The output is similar to this:Fri Feb 22 11:02:09 UTC 2019 Hello from the Kubernetes cluster Deleting a CronJobWhen you don't need a cron job any more, delete it with kubectl delete cronjob <cronjob name>:kubectl delete cronjob hello Deleting the cron job removes all the jobs and pods it created and stops it from creating additional jobs. You can read more about removing jobs in garbage collection.",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/",
    "id": "k8s_00473_qa_9025"
  },
  {
    "question": "What are the benefits of Running Automated Tasks with a CronJob?",
    "answer": "Running Automated Tasks with a CronJobThis page shows how to run automated tasks using Kubernetes CronJob object.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesCreating a CronJobCron jobs require a config file. Here is a manifest for a CronJob that runs a simple demonstration task every minute:application/job/cronjob.yaml apiVersion: batch/v1 kind: CronJob metadata: name: hello spec: schedule: \"* * * * *\" jobTemplate: spec: template: spec: containers: - name: hello image: busybox:1.28 imagePullPolicy: IfNotPresent command: - /bin/sh - -c - date; echo Hello from the Kubernetes cluster restartPolicy: OnFailure Run the example CronJob by using this command:kubectl create -f https://k8s.io/examples/application/job/cronjob.yaml The output is similar to this:cronjob.batch/hello created After creating the cron job, get its status using this command:kubectl get cronjob hello The output is similar to this:NAME SCHEDULE SUSPEND ACTIVE LAST SCHEDULE AGE hello */1 * * * * False 0 <none> 10s As you can see from the results of the command, the cron job has not scheduled or run any jobs yet. Watch for the job to be created in around one minute:kubectl get jobs --watch The output is similar to this:NAME COMPLETIONS DURATION AGE hello-4111706356 0/1 0s hello-4111706356 0/1 0s 0s hello-4111706356 1/1 5s 5s Now you've seen one running job scheduled by the \"hello\" cron job. You can stop watching the job and view the cron job again to see that it scheduled the job:kubectl get cronjob hello The output is similar to this:NAME SCHEDULE SUSPEND ACTIVE LAST SCHEDULE AGE hello */1 * * * * False 0 50s 75s You should see that the cron job hello successfully scheduled a job at the time specified in LAST SCHEDULE. There are currently 0 active jobs, meaning that the job has completed or failed.Now, find the pods that the last scheduled job created and view the standard output of one of the pods.Note:The job name is different from the pod name.# Replace \"hello-4111706356\" with the job name in your system pods=$(kubectl get pods --selector=job-name=hello-4111706356 --output=jsonpath={.items[*].metadata.name}) Show the pod log:kubectl logs $pods The output is similar to this:Fri Feb 22 11:02:09 UTC 2019 Hello from the Kubernetes cluster Deleting a CronJobWhen you don't need a cron job any more, delete it with kubectl delete cronjob <cronjob name>:kubectl delete cronjob hello Deleting the cron job removes all the jobs and pods it created and stops it from creating additional jobs. You can read more about removing jobs in garbage collection.",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/",
    "id": "k8s_00473_qa_9026"
  },
  {
    "question": "What is Running Automated Tasks with a CronJob?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   r u n   a u t o m a t e d   t a s k s   u s i n g   K u b e r n e t e s   C r o n J o b   o b j e c t .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/",
    "id": "k8s_00473_section_1_9027"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/",
    "id": "k8s_00473_section_2_9028"
  },
  {
    "question": "What is Creating a CronJob?",
    "answer": "C r o n   j o b s   r e q u i r e   a   c o n f i g   f i l e .   H e r e   i s   a   m a n i f e s t   f o r   a   C r o n J o b   t h a t   r u n s   a   s i m p l e   d e m o n s t r a t i o n   t a s k   e v e r y   m i n u t e :   a p i V e r s i o n :   b a t c h / v 1   k i n d :   C r o n J o b   m e t a d a t a :   n a m e :   h e l l o   s p e c :   s c h e d u l e :   \" *   *   *   *   * \"   j o b T e m p l a t e :   s p e c :   t e m p l a t e :   s p e c :   c o n t a i n e r s :   -   n a m e :   h e l l o   i m a g e :   b u s y b o x : 1 . 2 8   i m a g e P u l l P o l i c y :   I f N o t P r e s e n t   c o m m a n d :   -   / b i n / s h   -   - c   -   d a t e ;   e c h o   H e l l o   f r o m   t h e   K u b e r n e t e s   c l u s t e r   r e s t a r t P o l i c y :   O n F a i l u r e   R u n   t h e   e x a m p l e   C r o n J o b   b y   u s i n g   t h i s   c o m m a n d :   k u b e c t l   c r e a t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / j o b / c r o n j o b . y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   c r o n j o b . b a t c h / h e l l o   c r e a t e d   A f t e r   c r e a t i n g   t h e   c r o n   j o b ,   g e t   i t s   s t a t u s   u s i n g   t h i s   c o m m a n d :   k u b e c t l   g e t   c r o n j o b   h e l l o   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   S C H E D U L E   S U S P E N D   A C T I V E   L A S T   S C H E D U L E   A G E   h e l l o   * / 1   *   *   *   *   F a l s e   0   < n o n e >   1 0 s   A s   y o u   c a n   s e e   f r o m   t h e   r e s u l t s   o f   t h e   c o m m a n d ,   t h e   c r o n   j o b   h a s   n o t   s c h e d u l e d   o r   r u n   a n y   j o b s   y e t .   W a t c h   f o r   t h e   j o b   t o   b e   c r e a t e d   i n   a r o u n d   o n e   m i n u t e :   k u b e c t l   g e t   j o b s   - - w a t c h   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/",
    "id": "k8s_00473_section_2_9029"
  },
  {
    "question": "What is Note:?",
    "answer": "#   R e p l a c e   \" h e l l o - 4 1 1 1 7 0 6 3 5 6 \"   w i t h   t h e   j o b   n a m e   i n   y o u r   s y s t e m   p o d s = $ ( k u b e c t l   g e t   p o d s   - - s e l e c t o r = j o b - n a m e = h e l l o - 4 1 1 1 7 0 6 3 5 6   - - o u t p u t = j s o n p a t h = { . i t e m s [ * ] . m e t a d a t a . n a m e } )   S h o w   t h e   p o d   l o g :   k u b e c t l   l o g s   $ p o d s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   F r i   F e b   2 2   1 1 : 0 2 : 0 9   U T C   2 0 1 9   H e l l o   f r o m   t h e   K u b e r n e t e s   c l u s t e r",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/",
    "id": "k8s_00473_section_4_9030"
  },
  {
    "question": "What is Deleting a CronJob?",
    "answer": "W h e n   y o u   d o n ' t   n e e d   a   c r o n   j o b   a n y   m o r e ,   d e l e t e   i t   w i t h   k u b e c t l   d e l e t e   c r o n j o b   < c r o n j o b   n a m e > :   k u b e c t l   d e l e t e   c r o n j o b   h e l l o   D e l e t i n g   t h e   c r o n   j o b   r e m o v e s   a l l   t h e   j o b s   a n d   p o d s   i t   c r e a t e d   a n d   s t o p s   i t   f r o m   c r e a t i n g   a d d i t i o n a l   j o b s .   Y o u   c a n   r e a d   m o r e   a b o u t   r e m o v i n g   j o b s   i n   g a r b a g e   c o l l e c t i o n .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/",
    "id": "k8s_00473_section_2_9031"
  },
  {
    "question": "What is Containers?",
    "answer": "ContainersTechnology for packaging an application along with its runtime dependencies.This page will discuss containers and container images, as well as their use in operations and solution development.The word container is an overloaded term. Whenever you use the word, check whether your audience uses the same definition.Each container that you run is repeatable; the standardization from having dependencies included means that you get the same behavior wherever you run it.Containers decouple applications from the underlying host infrastructure. This makes deployment easier in different cloud or OS environments.Each node in a Kubernetes cluster runs the containers that form the Pods assigned to that node. Containers in a Pod are co-located and co-scheduled to run on the same node.Container imagesA container image is a ready-to-run software package containing everything needed to run an application: the code and any runtime it requires, application and system libraries, and default values for any essential settings.Containers are intended to be stateless and immutable: you should not change the code of a container that is already running. If you have a containerized application and want to make changes, the correct process is to build a new image that includes the change, then recreate the container to start from the updated image.Container runtimesA fundamental component that empowers Kubernetes to run containers effectively. It is responsible for managing the execution and lifecycle of containers within the Kubernetes environment.Kubernetes supports container runtimes such as containerd, CRI-O, and any other implementation of the Kubernetes CRI (Container Runtime Interface).Usually, you can allow your cluster to pick the default container runtime for a Pod. If you need to use more than one container runtime in your cluster, you can specify the RuntimeClass for a Pod to make sure that Kubernetes runs those containers using a particular container runtime.You can also use RuntimeClass to run different Pods with the same container runtime but with different settings.Container EnvironmentContainer Lifecycle Hooks",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/",
    "id": "k8s_00474_qa_9032"
  },
  {
    "question": "How does Containers work?",
    "answer": "ContainersTechnology for packaging an application along with its runtime dependencies.This page will discuss containers and container images, as well as their use in operations and solution development.The word container is an overloaded term. Whenever you use the word, check whether your audience uses the same definition.Each container that you run is repeatable; the standardization from having dependencies included means that you get the same behavior wherever you run it.Containers decouple applications from the underlying host infrastructure. This makes deployment easier in different cloud or OS environments.Each node in a Kubernetes cluster runs the containers that form the Pods assigned to that node. Containers in a Pod are co-located and co-scheduled to run on the same node.Container imagesA container image is a ready-to-run software package containing everything needed to run an application: the code and any runtime it requires, application and system libraries, and default values for any essential settings.Containers are intended to be stateless and immutable: you should not change the code of a container that is already running. If you have a containerized application and want to make changes, the correct process is to build a new image that includes the change, then recreate the container to start from the updated image.Container runtimesA fundamental component that empowers Kubernetes to run containers effectively. It is responsible for managing the execution and lifecycle of containers within the Kubernetes environment.Kubernetes supports container runtimes such as containerd, CRI-O, and any other implementation of the Kubernetes CRI (Container Runtime Interface).Usually, you can allow your cluster to pick the default container runtime for a Pod. If you need to use more than one container runtime in your cluster, you can specify the RuntimeClass for a Pod to make sure that Kubernetes runs those containers using a particular container runtime.You can also use RuntimeClass to run different Pods with the same container runtime but with different settings.Container EnvironmentContainer Lifecycle Hooks",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/",
    "id": "k8s_00474_qa_9033"
  },
  {
    "question": "When would you use Containers?",
    "answer": "ContainersTechnology for packaging an application along with its runtime dependencies.This page will discuss containers and container images, as well as their use in operations and solution development.The word container is an overloaded term. Whenever you use the word, check whether your audience uses the same definition.Each container that you run is repeatable; the standardization from having dependencies included means that you get the same behavior wherever you run it.Containers decouple applications from the underlying host infrastructure. This makes deployment easier in different cloud or OS environments.Each node in a Kubernetes cluster runs the containers that form the Pods assigned to that node. Containers in a Pod are co-located and co-scheduled to run on the same node.Container imagesA container image is a ready-to-run software package containing everything needed to run an application: the code and any runtime it requires, application and system libraries, and default values for any essential settings.Containers are intended to be stateless and immutable: you should not change the code of a container that is already running. If you have a containerized application and want to make changes, the correct process is to build a new image that includes the change, then recreate the container to start from the updated image.Container runtimesA fundamental component that empowers Kubernetes to run containers effectively. It is responsible for managing the execution and lifecycle of containers within the Kubernetes environment.Kubernetes supports container runtimes such as containerd, CRI-O, and any other implementation of the Kubernetes CRI (Container Runtime Interface).Usually, you can allow your cluster to pick the default container runtime for a Pod. If you need to use more than one container runtime in your cluster, you can specify the RuntimeClass for a Pod to make sure that Kubernetes runs those containers using a particular container runtime.You can also use RuntimeClass to run different Pods with the same container runtime but with different settings.Container EnvironmentContainer Lifecycle Hooks",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/",
    "id": "k8s_00474_qa_9034"
  },
  {
    "question": "What are the benefits of Containers?",
    "answer": "ContainersTechnology for packaging an application along with its runtime dependencies.This page will discuss containers and container images, as well as their use in operations and solution development.The word container is an overloaded term. Whenever you use the word, check whether your audience uses the same definition.Each container that you run is repeatable; the standardization from having dependencies included means that you get the same behavior wherever you run it.Containers decouple applications from the underlying host infrastructure. This makes deployment easier in different cloud or OS environments.Each node in a Kubernetes cluster runs the containers that form the Pods assigned to that node. Containers in a Pod are co-located and co-scheduled to run on the same node.Container imagesA container image is a ready-to-run software package containing everything needed to run an application: the code and any runtime it requires, application and system libraries, and default values for any essential settings.Containers are intended to be stateless and immutable: you should not change the code of a container that is already running. If you have a containerized application and want to make changes, the correct process is to build a new image that includes the change, then recreate the container to start from the updated image.Container runtimesA fundamental component that empowers Kubernetes to run containers effectively. It is responsible for managing the execution and lifecycle of containers within the Kubernetes environment.Kubernetes supports container runtimes such as containerd, CRI-O, and any other implementation of the Kubernetes CRI (Container Runtime Interface).Usually, you can allow your cluster to pick the default container runtime for a Pod. If you need to use more than one container runtime in your cluster, you can specify the RuntimeClass for a Pod to make sure that Kubernetes runs those containers using a particular container runtime.You can also use RuntimeClass to run different Pods with the same container runtime but with different settings.Container EnvironmentContainer Lifecycle Hooks",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/",
    "id": "k8s_00474_qa_9035"
  },
  {
    "question": "What is Containers?",
    "answer": "T h i s   p a g e   w i l l   d i s c u s s   c o n t a i n e r s   a n d   c o n t a i n e r   i m a g e s ,   a s   w e l l   a s   t h e i r   u s e   i n   o p e r a t i o n s   a n d   s o l u t i o n   d e v e l o p m e n t .   T h e   w o r d   c o n t a i n e r   i s   a n   o v e r l o a d e d   t e r m .   W h e n e v e r   y o u   u s e   t h e   w o r d ,   c h e c k   w h e t h e r   y o u r   a u d i e n c e   u s e s   t h e   s a m e   d e f i n i t i o n .   E a c h   c o n t a i n e r   t h a t   y o u   r u n   i s   r e p e a t a b l e ;   t h e   s t a n d a r d i z a t i o n   f r o m   h a v i n g   d e p e n d e n c i e s   i n c l u d e d   m e a n s   t h a t   y o u   g e t   t h e   s a m e   b e h a v i o r   w h e r e v e r   y o u   r u n   i t .   C o n t a i n e r s   d e c o u p l e   a p p l i c a t i o n s   f r o m   t h e   u n d e r l y i n g   h o s t   i n f r a s t r u c t u r e .   T h i s   m a k e s   d e p l o y m e n t   e a s i e r   i n   d i f f e r e n t   c l o u d   o r   O S   e n v i r o n m e n t s .   E a c h   n o d e   i n   a   K u b e r n e t e s   c l u s t e r   r u n s   t h e   c o n t a i n e r s   t h a t   f o r m   t h e   P o d s   a s s i g n e d   t o   t h a t   n o d e .   C o n t a i n e r s   i n   a   P o d   a r e   c o - l o c a t e d   a n d   c o - s c h e d u l e d   t o   r u n   o n   t h e   s a m e   n o d e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/",
    "id": "k8s_00474_section_1_9036"
  },
  {
    "question": "What is Container images?",
    "answer": "A   c o n t a i n e r   i m a g e   i s   a   r e a d y - t o - r u n   s o f t w a r e   p a c k a g e   c o n t a i n i n g   e v e r y t h i n g   n e e d e d   t o   r u n   a n   a p p l i c a t i o n :   t h e   c o d e   a n d   a n y   r u n t i m e   i t   r e q u i r e s ,   a p p l i c a t i o n   a n d   s y s t e m   l i b r a r i e s ,   a n d   d e f a u l t   v a l u e s   f o r   a n y   e s s e n t i a l   s e t t i n g s .   C o n t a i n e r s   a r e   i n t e n d e d   t o   b e   s t a t e l e s s   a n d   i m m u t a b l e :   y o u   s h o u l d   n o t   c h a n g e   t h e   c o d e   o f   a   c o n t a i n e r   t h a t   i s   a l r e a d y   r u n n i n g .   I f   y o u   h a v e   a   c o n t a i n e r i z e d   a p p l i c a t i o n   a n d   w a n t   t o   m a k e   c h a n g e s ,   t h e   c o r r e c t   p r o c e s s   i s   t o   b u i l d   a   n e w   i m a g e   t h a t   i n c l u d e s   t h e   c h a n g e ,   t h e n   r e c r e a t e   t h e   c o n t a i n e r   t o   s t a r t   f r o m   t h e   u p d a t e d   i m a g e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/",
    "id": "k8s_00474_section_2_9037"
  },
  {
    "question": "What is Container runtimes?",
    "answer": "A   f u n d a m e n t a l   c o m p o n e n t   t h a t   e m p o w e r s   K u b e r n e t e s   t o   r u n   c o n t a i n e r s   e f f e c t i v e l y .   I t   i s   r e s p o n s i b l e   f o r   m a n a g i n g   t h e   e x e c u t i o n   a n d   l i f e c y c l e   o f   c o n t a i n e r s   w i t h i n   t h e   K u b e r n e t e s   e n v i r o n m e n t .   K u b e r n e t e s   s u p p o r t s   c o n t a i n e r   r u n t i m e s   s u c h   a s   c o n t a i n e r d ,   C R I - O ,   a n d   a n y   o t h e r   i m p l e m e n t a t i o n   o f   t h e   K u b e r n e t e s   C R I   ( C o n t a i n e r   R u n t i m e   I n t e r f a c e ) .   U s u a l l y ,   y o u   c a n   a l l o w   y o u r   c l u s t e r   t o   p i c k   t h e   d e f a u l t   c o n t a i n e r   r u n t i m e   f o r   a   P o d .   I f   y o u   n e e d   t o   u s e   m o r e   t h a n   o n e   c o n t a i n e r   r u n t i m e   i n   y o u r   c l u s t e r ,   y o u   c a n   s p e c i f y   t h e   R u n t i m e C l a s s   f o r   a   P o d   t o   m a k e   s u r e   t h a t   K u b e r n e t e s   r u n s   t h o s e   c o n t a i n e r s   u s i n g   a   p a r t i c u l a r   c o n t a i n e r   r u n t i m e .   Y o u   c a n   a l s o   u s e   R u n t i m e C l a s s   t o   r u n   d i f f e r e n t   P o d s   w i t h   t h e   s a m e   c o n t a i n e r   r u n t i m e   b u t   w i t h   d i f f e r e n t   s e t t i n g s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/",
    "id": "k8s_00474_section_2_9038"
  },
  {
    "question": "What is ConfigMap?",
    "answer": "ConfigMapConfigMap holds configuration data for pods to consume.apiVersion: v1import \"k8s.io/api/core/v1\"ConfigMapConfigMap holds configuration data for pods to consume.apiVersion: v1kind: ConfigMapmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatabinaryData (map[string][]byte)BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.data (map[string]string)Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.immutable (boolean)Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.ConfigMapListConfigMapList is a resource containing a list of ConfigMap objects.apiVersion: v1kind: ConfigMapListmetadata (ListMeta)More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]ConfigMap), requiredItems is the list of ConfigMaps.Operationsget read the specified ConfigMapHTTP RequestGET /api/v1/namespaces/{namespace}/configmaps/{name}Parametersname (in path): string, requiredname of the ConfigMapnamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (ConfigMap): OK401: Unauthorizedlist list or watch objects of kind ConfigMapHTTP RequestGET /api/v1/namespaces/{namespace}/configmapsParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (ConfigMapList): OK401: Unauthorizedlist list or watch objects of kind ConfigMapHTTP RequestGET /api/v1/configmapsParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendIn",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_qa_9039"
  },
  {
    "question": "How does ConfigMap work?",
    "answer": "ConfigMapConfigMap holds configuration data for pods to consume.apiVersion: v1import \"k8s.io/api/core/v1\"ConfigMapConfigMap holds configuration data for pods to consume.apiVersion: v1kind: ConfigMapmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatabinaryData (map[string][]byte)BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.data (map[string]string)Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.immutable (boolean)Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.ConfigMapListConfigMapList is a resource containing a list of ConfigMap objects.apiVersion: v1kind: ConfigMapListmetadata (ListMeta)More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]ConfigMap), requiredItems is the list of ConfigMaps.Operationsget read the specified ConfigMapHTTP RequestGET /api/v1/namespaces/{namespace}/configmaps/{name}Parametersname (in path): string, requiredname of the ConfigMapnamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (ConfigMap): OK401: Unauthorizedlist list or watch objects of kind ConfigMapHTTP RequestGET /api/v1/namespaces/{namespace}/configmapsParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (ConfigMapList): OK401: Unauthorizedlist list or watch objects of kind ConfigMapHTTP RequestGET /api/v1/configmapsParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendIn",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_qa_9040"
  },
  {
    "question": "When would you use ConfigMap?",
    "answer": "ConfigMapConfigMap holds configuration data for pods to consume.apiVersion: v1import \"k8s.io/api/core/v1\"ConfigMapConfigMap holds configuration data for pods to consume.apiVersion: v1kind: ConfigMapmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatabinaryData (map[string][]byte)BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.data (map[string]string)Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.immutable (boolean)Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.ConfigMapListConfigMapList is a resource containing a list of ConfigMap objects.apiVersion: v1kind: ConfigMapListmetadata (ListMeta)More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]ConfigMap), requiredItems is the list of ConfigMaps.Operationsget read the specified ConfigMapHTTP RequestGET /api/v1/namespaces/{namespace}/configmaps/{name}Parametersname (in path): string, requiredname of the ConfigMapnamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (ConfigMap): OK401: Unauthorizedlist list or watch objects of kind ConfigMapHTTP RequestGET /api/v1/namespaces/{namespace}/configmapsParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (ConfigMapList): OK401: Unauthorizedlist list or watch objects of kind ConfigMapHTTP RequestGET /api/v1/configmapsParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendIn",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_qa_9041"
  },
  {
    "question": "What are the benefits of ConfigMap?",
    "answer": "ConfigMapConfigMap holds configuration data for pods to consume.apiVersion: v1import \"k8s.io/api/core/v1\"ConfigMapConfigMap holds configuration data for pods to consume.apiVersion: v1kind: ConfigMapmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatabinaryData (map[string][]byte)BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.data (map[string]string)Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.immutable (boolean)Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.ConfigMapListConfigMapList is a resource containing a list of ConfigMap objects.apiVersion: v1kind: ConfigMapListmetadata (ListMeta)More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]ConfigMap), requiredItems is the list of ConfigMaps.Operationsget read the specified ConfigMapHTTP RequestGET /api/v1/namespaces/{namespace}/configmaps/{name}Parametersname (in path): string, requiredname of the ConfigMapnamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (ConfigMap): OK401: Unauthorizedlist list or watch objects of kind ConfigMapHTTP RequestGET /api/v1/namespaces/{namespace}/configmapsParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (ConfigMapList): OK401: Unauthorizedlist list or watch objects of kind ConfigMapHTTP RequestGET /api/v1/configmapsParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendIn",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_qa_9042"
  },
  {
    "question": "What is ConfigMap?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_1_9043"
  },
  {
    "question": "What is ConfigMap?",
    "answer": "C o n f i g M a p   h o l d s   c o n f i g u r a t i o n   d a t a   f o r   p o d s   t o   c o n s u m e .   a p i V e r s i o n :   v 1 k i n d :   C o n f i g M a p m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a b i n a r y D a t a   ( m a p [ s t r i n g ] [ ] b y t e ) B i n a r y D a t a   c o n t a i n s   t h e   b i n a r y   d a t a .   E a c h   k e y   m u s t   c o n s i s t   o f   a l p h a n u m e r i c   c h a r a c t e r s ,   ' - ' ,   ' _ '   o r   ' . ' .   B i n a r y D a t a   c a n   c o n t a i n   b y t e   s e q u e n c e s   t h a t   a r e   n o t   i n   t h e   U T F - 8   r a n g e .   T h e   k e y s   s t o r e d   i n   B i n a r y D a t a   m u s t   n o t   o v e r l a p   w i t h   t h e   o n e s   i n   t h e   D a t a   f i e l d ,   t h i s   i s   e n f o r c e d   d u r i n g   v a l i d a t i o n   p r o c e s s .   U s i n g   t h i s   f i e l d   w i l l   r e q u i r e   1 . 1 0 +   a p i s e r v e r   a n d   k u b e l e t . d a t a   ( m a p [ s t r i n g ] s t r i n g ) D a t a   c o n t a i n s   t h e   c o n f i g u r a t i o n   d a t a .   E a c h   k e y   m u s t   c o n s i s t   o f   a l p h a n u m e r i c   c h a r a c t e r s ,   ' - ' ,   ' _ '   o r   ' . ' .   V a l u e s   w i t h   n o n - U T F - 8   b y t e   s e q u e n c e s   m u s t   u s e   t h e   B i n a r y D a t a   f i e l d .   T h e   k e y s   s t o r e d   i n   D a t a   m u s t   n o t   o v e r l a p   w i t h   t h e   k e y s   i n   t h e   B i n a r y D a t a   f i e l d ,   t h i s   i s   e n f o r c e d   d u r i n g   v a l i d a t i o n   p r o c e s s . i m m u t a b l e   ( b o o l e a n ) I m m u t a b l e ,   i f   s e t   t o   t r u e ,   e n s u r e s   t h ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_2_9044"
  },
  {
    "question": "What is ConfigMapList?",
    "answer": "C o n f i g M a p L i s t   i s   a   r e s o u r c e   c o n t a i n i n g   a   l i s t   o f   C o n f i g M a p   o b j e c t s .   a p i V e r s i o n :   v 1 k i n d :   C o n f i g M a p L i s t m e t a d a t a   ( L i s t M e t a ) M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] C o n f i g M a p ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   C o n f i g M a p s .   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p L i s t   m e t a d a t a   ( L i s t M e t a )   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] C o n f i g M a p ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   C o n f i g M a p s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_2_9045"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_4_9046"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o n f i g M a p n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o n f i g M a p   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_4_9047"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n f i g M a p ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_4_9048"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_4_9049"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_4_9050"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n f i g M a p L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_4_9051"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / c o n f i g m a p s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_4_9052"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_4_9053"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n f i g M a p L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_4_9054"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_4_9055"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C o n f i g M a p ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C o n f i g M a p ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_4_9056"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n f i g M a p ) :   O K   2 0 1   ( C o n f i g M a p ) :   C r e a t e d   2 0 2   ( C o n f i g M a p ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_4_9057"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_4_9058"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o n f i g M a p n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C o n f i g M a p ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o n f i g M a p   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C o n f i g M a p ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_4_9059"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n f i g M a p ) :   O K   2 0 1   ( C o n f i g M a p ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_4_9060"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_4_9061"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o n f i g M a p n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o n f i g M a p   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_4_9062"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n f i g M a p ) :   O K   2 0 1   ( C o n f i g M a p ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_4_9063"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_4_9064"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o n f i g M a p n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o n f i g M a p   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_4_9065"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_4_9066"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_4_9067"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_4_9068"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/",
    "id": "k8s_00475_section_4_9069"
  },
  {
    "question": "What is Participating in SIG Docs?",
    "answer": "Participating in SIG DocsSIG Docs is one of the special interest groups within the Kubernetes project, focused on writing, updating, and maintaining the documentation for Kubernetes as a whole. See SIG Docs from the community github repo for more information about the SIG.SIG Docs welcomes content and reviews from all contributors. Anyone can open a pull request (PR), and anyone is welcome to file issues about content or comment on pull requests in progress.You can also become a member, reviewer, or approver. These roles require greater access and entail certain responsibilities for approving and committing changes. See community-membership for more information on how membership works within the Kubernetes community.The rest of this document outlines some unique ways these roles function within SIG Docs, which is responsible for maintaining one of the most public-facing aspects of Kubernetes -- the Kubernetes website and documentation.SIG Docs chairpersonEach SIG, including SIG Docs, selects one or more SIG members to act as chairpersons. These are points of contact between SIG Docs and other parts of the Kubernetes organization. They require extensive knowledge of the structure of the Kubernetes project as a whole and how SIG Docs works within it. See Leadership for the current list of chairpersons.SIG Docs teams and automationAutomation in SIG Docs relies on two different mechanisms: GitHub teams and OWNERS files.GitHub teamsThere are two categories of SIG Docs teams on GitHub:@sig-docs-{language}-owners are approvers and leads@sig-docs-{language}-reviews are reviewersEach can be referenced with their @name in GitHub comments to communicate with everyone in that group.Sometimes Prow and GitHub teams overlap without matching exactly. For assignment of issues, pull requests, and to support PR approvals, the automation uses information from OWNERS files.OWNERS files and front-matterThe Kubernetes project uses an automation tool called prow for automation related to GitHub issues and pull requests. The Kubernetes website repository uses two prow plugins:blunderbussapproveThese two plugins use the OWNERS and OWNERS_ALIASES files in the top level of the kubernetes/website GitHub repository to control how prow works within the repository.An OWNERS file contains a list of people who are SIG Docs reviewers and approvers. OWNERS files can also exist in subdirectories, and can override who can act as a reviewer or approver of files in that subdirectory and its descendants. For more information about OWNERS files in general, see OWNERS.In addition, an individual Markdown file can list reviewers and approvers in its front-matter, either by listing individual GitHub usernames or GitHub groups.The combination of OWNERS files and front-matter in Markdown files determines the advice PR owners get from automated systems about who to ask for technical and editorial review of their PR.How merging worksWhen a pull request is merged to the branch used to publish con",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/",
    "id": "k8s_00476_qa_9070"
  },
  {
    "question": "How does Participating in SIG Docs work?",
    "answer": "Participating in SIG DocsSIG Docs is one of the special interest groups within the Kubernetes project, focused on writing, updating, and maintaining the documentation for Kubernetes as a whole. See SIG Docs from the community github repo for more information about the SIG.SIG Docs welcomes content and reviews from all contributors. Anyone can open a pull request (PR), and anyone is welcome to file issues about content or comment on pull requests in progress.You can also become a member, reviewer, or approver. These roles require greater access and entail certain responsibilities for approving and committing changes. See community-membership for more information on how membership works within the Kubernetes community.The rest of this document outlines some unique ways these roles function within SIG Docs, which is responsible for maintaining one of the most public-facing aspects of Kubernetes -- the Kubernetes website and documentation.SIG Docs chairpersonEach SIG, including SIG Docs, selects one or more SIG members to act as chairpersons. These are points of contact between SIG Docs and other parts of the Kubernetes organization. They require extensive knowledge of the structure of the Kubernetes project as a whole and how SIG Docs works within it. See Leadership for the current list of chairpersons.SIG Docs teams and automationAutomation in SIG Docs relies on two different mechanisms: GitHub teams and OWNERS files.GitHub teamsThere are two categories of SIG Docs teams on GitHub:@sig-docs-{language}-owners are approvers and leads@sig-docs-{language}-reviews are reviewersEach can be referenced with their @name in GitHub comments to communicate with everyone in that group.Sometimes Prow and GitHub teams overlap without matching exactly. For assignment of issues, pull requests, and to support PR approvals, the automation uses information from OWNERS files.OWNERS files and front-matterThe Kubernetes project uses an automation tool called prow for automation related to GitHub issues and pull requests. The Kubernetes website repository uses two prow plugins:blunderbussapproveThese two plugins use the OWNERS and OWNERS_ALIASES files in the top level of the kubernetes/website GitHub repository to control how prow works within the repository.An OWNERS file contains a list of people who are SIG Docs reviewers and approvers. OWNERS files can also exist in subdirectories, and can override who can act as a reviewer or approver of files in that subdirectory and its descendants. For more information about OWNERS files in general, see OWNERS.In addition, an individual Markdown file can list reviewers and approvers in its front-matter, either by listing individual GitHub usernames or GitHub groups.The combination of OWNERS files and front-matter in Markdown files determines the advice PR owners get from automated systems about who to ask for technical and editorial review of their PR.How merging worksWhen a pull request is merged to the branch used to publish con",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/",
    "id": "k8s_00476_qa_9071"
  },
  {
    "question": "When would you use Participating in SIG Docs?",
    "answer": "Participating in SIG DocsSIG Docs is one of the special interest groups within the Kubernetes project, focused on writing, updating, and maintaining the documentation for Kubernetes as a whole. See SIG Docs from the community github repo for more information about the SIG.SIG Docs welcomes content and reviews from all contributors. Anyone can open a pull request (PR), and anyone is welcome to file issues about content or comment on pull requests in progress.You can also become a member, reviewer, or approver. These roles require greater access and entail certain responsibilities for approving and committing changes. See community-membership for more information on how membership works within the Kubernetes community.The rest of this document outlines some unique ways these roles function within SIG Docs, which is responsible for maintaining one of the most public-facing aspects of Kubernetes -- the Kubernetes website and documentation.SIG Docs chairpersonEach SIG, including SIG Docs, selects one or more SIG members to act as chairpersons. These are points of contact between SIG Docs and other parts of the Kubernetes organization. They require extensive knowledge of the structure of the Kubernetes project as a whole and how SIG Docs works within it. See Leadership for the current list of chairpersons.SIG Docs teams and automationAutomation in SIG Docs relies on two different mechanisms: GitHub teams and OWNERS files.GitHub teamsThere are two categories of SIG Docs teams on GitHub:@sig-docs-{language}-owners are approvers and leads@sig-docs-{language}-reviews are reviewersEach can be referenced with their @name in GitHub comments to communicate with everyone in that group.Sometimes Prow and GitHub teams overlap without matching exactly. For assignment of issues, pull requests, and to support PR approvals, the automation uses information from OWNERS files.OWNERS files and front-matterThe Kubernetes project uses an automation tool called prow for automation related to GitHub issues and pull requests. The Kubernetes website repository uses two prow plugins:blunderbussapproveThese two plugins use the OWNERS and OWNERS_ALIASES files in the top level of the kubernetes/website GitHub repository to control how prow works within the repository.An OWNERS file contains a list of people who are SIG Docs reviewers and approvers. OWNERS files can also exist in subdirectories, and can override who can act as a reviewer or approver of files in that subdirectory and its descendants. For more information about OWNERS files in general, see OWNERS.In addition, an individual Markdown file can list reviewers and approvers in its front-matter, either by listing individual GitHub usernames or GitHub groups.The combination of OWNERS files and front-matter in Markdown files determines the advice PR owners get from automated systems about who to ask for technical and editorial review of their PR.How merging worksWhen a pull request is merged to the branch used to publish con",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/",
    "id": "k8s_00476_qa_9072"
  },
  {
    "question": "What are the benefits of Participating in SIG Docs?",
    "answer": "Participating in SIG DocsSIG Docs is one of the special interest groups within the Kubernetes project, focused on writing, updating, and maintaining the documentation for Kubernetes as a whole. See SIG Docs from the community github repo for more information about the SIG.SIG Docs welcomes content and reviews from all contributors. Anyone can open a pull request (PR), and anyone is welcome to file issues about content or comment on pull requests in progress.You can also become a member, reviewer, or approver. These roles require greater access and entail certain responsibilities for approving and committing changes. See community-membership for more information on how membership works within the Kubernetes community.The rest of this document outlines some unique ways these roles function within SIG Docs, which is responsible for maintaining one of the most public-facing aspects of Kubernetes -- the Kubernetes website and documentation.SIG Docs chairpersonEach SIG, including SIG Docs, selects one or more SIG members to act as chairpersons. These are points of contact between SIG Docs and other parts of the Kubernetes organization. They require extensive knowledge of the structure of the Kubernetes project as a whole and how SIG Docs works within it. See Leadership for the current list of chairpersons.SIG Docs teams and automationAutomation in SIG Docs relies on two different mechanisms: GitHub teams and OWNERS files.GitHub teamsThere are two categories of SIG Docs teams on GitHub:@sig-docs-{language}-owners are approvers and leads@sig-docs-{language}-reviews are reviewersEach can be referenced with their @name in GitHub comments to communicate with everyone in that group.Sometimes Prow and GitHub teams overlap without matching exactly. For assignment of issues, pull requests, and to support PR approvals, the automation uses information from OWNERS files.OWNERS files and front-matterThe Kubernetes project uses an automation tool called prow for automation related to GitHub issues and pull requests. The Kubernetes website repository uses two prow plugins:blunderbussapproveThese two plugins use the OWNERS and OWNERS_ALIASES files in the top level of the kubernetes/website GitHub repository to control how prow works within the repository.An OWNERS file contains a list of people who are SIG Docs reviewers and approvers. OWNERS files can also exist in subdirectories, and can override who can act as a reviewer or approver of files in that subdirectory and its descendants. For more information about OWNERS files in general, see OWNERS.In addition, an individual Markdown file can list reviewers and approvers in its front-matter, either by listing individual GitHub usernames or GitHub groups.The combination of OWNERS files and front-matter in Markdown files determines the advice PR owners get from automated systems about who to ask for technical and editorial review of their PR.How merging worksWhen a pull request is merged to the branch used to publish con",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/",
    "id": "k8s_00476_qa_9073"
  },
  {
    "question": "What is Participating in SIG Docs?",
    "answer": "S I G   D o c s   i s   o n e   o f   t h e   s p e c i a l   i n t e r e s t   g r o u p s   w i t h i n   t h e   K u b e r n e t e s   p r o j e c t ,   f o c u s e d   o n   w r i t i n g ,   u p d a t i n g ,   a n d   m a i n t a i n i n g   t h e   d o c u m e n t a t i o n   f o r   K u b e r n e t e s   a s   a   w h o l e .   S e e   S I G   D o c s   f r o m   t h e   c o m m u n i t y   g i t h u b   r e p o   f o r   m o r e   i n f o r m a t i o n   a b o u t   t h e   S I G .   S I G   D o c s   w e l c o m e s   c o n t e n t   a n d   r e v i e w s   f r o m   a l l   c o n t r i b u t o r s .   A n y o n e   c a n   o p e n   a   p u l l   r e q u e s t   ( P R ) ,   a n d   a n y o n e   i s   w e l c o m e   t o   f i l e   i s s u e s   a b o u t   c o n t e n t   o r   c o m m e n t   o n   p u l l   r e q u e s t s   i n   p r o g r e s s .   Y o u   c a n   a l s o   b e c o m e   a   m e m b e r ,   r e v i e w e r ,   o r   a p p r o v e r .   T h e s e   r o l e s   r e q u i r e   g r e a t e r   a c c e s s   a n d   e n t a i l   c e r t a i n   r e s p o n s i b i l i t i e s   f o r   a p p r o v i n g   a n d   c o m m i t t i n g   c h a n g e s .   S e e   c o m m u n i t y - m e m b e r s h i p   f o r   m o r e   i n f o r m a t i o n   o n   h o w   m e m b e r s h i p   w o r k s   w i t h i n   t h e   K u b e r n e t e s   c o m m u n i t y .   T h e   r e s t   o f   t h i s   d o c u m e n t   o u t l i n e s   s o m e   u n i q u e   w a y s   t h e s e   r o l e s   f u n c t i o n   w i t h i n   S I G   D o c s ,   w h i c h   i s   r e s p o n s i b l e   f o r   m a i n t a i n i n g   o n e   o f   t h e   m o s t   p u b l i c - f a c i n g   a s p e c t s   o f   K u b e r n e t e s   - -   t h e   K u b e r n e t e s   w e b s i t e   a n d   d o c u m e n t a t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/",
    "id": "k8s_00476_section_1_9074"
  },
  {
    "question": "What is SIG Docs chairperson?",
    "answer": "E a c h   S I G ,   i n c l u d i n g   S I G   D o c s ,   s e l e c t s   o n e   o r   m o r e   S I G   m e m b e r s   t o   a c t   a s   c h a i r p e r s o n s .   T h e s e   a r e   p o i n t s   o f   c o n t a c t   b e t w e e n   S I G   D o c s   a n d   o t h e r   p a r t s   o f   t h e   K u b e r n e t e s   o r g a n i z a t i o n .   T h e y   r e q u i r e   e x t e n s i v e   k n o w l e d g e   o f   t h e   s t r u c t u r e   o f   t h e   K u b e r n e t e s   p r o j e c t   a s   a   w h o l e   a n d   h o w   S I G   D o c s   w o r k s   w i t h i n   i t .   S e e   L e a d e r s h i p   f o r   t h e   c u r r e n t   l i s t   o f   c h a i r p e r s o n s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/",
    "id": "k8s_00476_section_2_9075"
  },
  {
    "question": "What is SIG Docs teams and automation?",
    "answer": "A u t o m a t i o n   i n   S I G   D o c s   r e l i e s   o n   t w o   d i f f e r e n t   m e c h a n i s m s :   G i t H u b   t e a m s   a n d   O W N E R S   f i l e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/",
    "id": "k8s_00476_section_2_9076"
  },
  {
    "question": "What is GitHub teams?",
    "answer": "T h e r e   a r e   t w o   c a t e g o r i e s   o f   S I G   D o c s   t e a m s   o n   G i t H u b :   @ s i g - d o c s - { l a n g u a g e } - o w n e r s   a r e   a p p r o v e r s   a n d   l e a d s @ s i g - d o c s - { l a n g u a g e } - r e v i e w s   a r e   r e v i e w e r s   E a c h   c a n   b e   r e f e r e n c e d   w i t h   t h e i r   @ n a m e   i n   G i t H u b   c o m m e n t s   t o   c o m m u n i c a t e   w i t h   e v e r y o n e   i n   t h a t   g r o u p .   S o m e t i m e s   P r o w   a n d   G i t H u b   t e a m s   o v e r l a p   w i t h o u t   m a t c h i n g   e x a c t l y .   F o r   a s s i g n m e n t   o f   i s s u e s ,   p u l l   r e q u e s t s ,   a n d   t o   s u p p o r t   P R   a p p r o v a l s ,   t h e   a u t o m a t i o n   u s e s   i n f o r m a t i o n   f r o m   O W N E R S   f i l e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/",
    "id": "k8s_00476_section_3_9077"
  },
  {
    "question": "What is OWNERS files and front-matter?",
    "answer": "T h e   K u b e r n e t e s   p r o j e c t   u s e s   a n   a u t o m a t i o n   t o o l   c a l l e d   p r o w   f o r   a u t o m a t i o n   r e l a t e d   t o   G i t H u b   i s s u e s   a n d   p u l l   r e q u e s t s .   T h e   K u b e r n e t e s   w e b s i t e   r e p o s i t o r y   u s e s   t w o   p r o w   p l u g i n s :   b l u n d e r b u s s a p p r o v e   T h e s e   t w o   p l u g i n s   u s e   t h e   O W N E R S   a n d   O W N E R S _ A L I A S E S   f i l e s   i n   t h e   t o p   l e v e l   o f   t h e   k u b e r n e t e s / w e b s i t e   G i t H u b   r e p o s i t o r y   t o   c o n t r o l   h o w   p r o w   w o r k s   w i t h i n   t h e   r e p o s i t o r y .   A n   O W N E R S   f i l e   c o n t a i n s   a   l i s t   o f   p e o p l e   w h o   a r e   S I G   D o c s   r e v i e w e r s   a n d   a p p r o v e r s .   O W N E R S   f i l e s   c a n   a l s o   e x i s t   i n   s u b d i r e c t o r i e s ,   a n d   c a n   o v e r r i d e   w h o   c a n   a c t   a s   a   r e v i e w e r   o r   a p p r o v e r   o f   f i l e s   i n   t h a t   s u b d i r e c t o r y   a n d   i t s   d e s c e n d a n t s .   F o r   m o r e   i n f o r m a t i o n   a b o u t   O W N E R S   f i l e s   i n   g e n e r a l ,   s e e   O W N E R S .   I n   a d d i t i o n ,   a n   i n d i v i d u a l   M a r k d o w n   f i l e   c a n   l i s t   r e v i e w e r s   a n d   a p p r o v e r s   i n   i t s   f r o n t - m a t t e r ,   e i t h e r   b y   l i s t i n g   i n d i v i d u a l   G i t H u b   u s e r n a m e s   o r   G i t H u b   g r o u p s .   T h e   c o m b i n a t i o n   o f   O W N E R S   f i l e s   a n d   f r o n t - m a t t e r   i n   M a r k d o w n   f i l e s   d e t e r m i n e s   t h e   a d v i c e   P R   o w n e r s   g e t   f r o m   a u t o m a t e d   s y s t e m s   a b o u t   w h o   t o   a s k   f o r   t e c h n i c a l   a n d   e d i t o r i a l   r e v i e w   o ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/",
    "id": "k8s_00476_section_3_9078"
  },
  {
    "question": "What is How merging works?",
    "answer": "W h e n   a   p u l l   r e q u e s t   i s   m e r g e d   t o   t h e   b r a n c h   u s e d   t o   p u b l i s h   c o n t e n t ,   t h a t   c o n t e n t   i s   p u b l i s h e d   t o   h t t p s : / / k u b e r n e t e s . i o .   T o   e n s u r e   t h a t   t h e   q u a l i t y   o f   o u r   p u b l i s h e d   c o n t e n t   i s   h i g h ,   w e   l i m i t   m e r g i n g   p u l l   r e q u e s t s   t o   S I G   D o c s   a p p r o v e r s .   H e r e ' s   h o w   i t   w o r k s .   W h e n   a   p u l l   r e q u e s t   h a s   b o t h   t h e   l g t m   a n d   a p p r o v e   l a b e l s ,   h a s   n o   h o l d   l a b e l s ,   a n d   a l l   t e s t s   a r e   p a s s i n g ,   t h e   p u l l   r e q u e s t   m e r g e s   a u t o m a t i c a l l y . K u b e r n e t e s   o r g a n i z a t i o n   m e m b e r s   a n d   S I G   D o c s   a p p r o v e r s   c a n   a d d   c o m m e n t s   t o   p r e v e n t   a u t o m a t i c   m e r g i n g   o f   a   g i v e n   p u l l   r e q u e s t   ( b y   a d d i n g   a   / h o l d   c o m m e n t   o r   w i t h h o l d i n g   a   / l g t m   c o m m e n t ) . A n y   K u b e r n e t e s   m e m b e r   c a n   a d d   t h e   l g t m   l a b e l   b y   a d d i n g   a   / l g t m   c o m m e n t . O n l y   S I G   D o c s   a p p r o v e r s   c a n   m e r g e   a   p u l l   r e q u e s t   b y   a d d i n g   a n   / a p p r o v e   c o m m e n t .   S o m e   a p p r o v e r s   a l s o   p e r f o r m   a d d i t i o n a l   s p e c i f i c   r o l e s ,   s u c h   a s   P R   W r a n g l e r   o r   S I G   D o c s   c h a i r p e r s o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/",
    "id": "k8s_00476_section_2_9079"
  },
  {
    "question": "What is What's next?",
    "answer": "F o r   m o r e   i n f o r m a t i o n   a b o u t   c o n t r i b u t i n g   t o   t h e   K u b e r n e t e s   d o c u m e n t a t i o n ,   s e e :   C o n t r i b u t i n g   n e w   c o n t e n t R e v i e w i n g   c o n t e n t D o c u m e n t a t i o n   s t y l e   g u i d e",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/",
    "id": "k8s_00476_section_2_9080"
  },
  {
    "question": "What is Pod Priority and Preemption?",
    "answer": "Pod Priority and PreemptionFEATURE STATE: Kubernetes v1.14 [stable]Pods can have priority. Priority indicates the importance of a Pod relative to other Pods. If a Pod cannot be scheduled, the scheduler tries to preempt (evict) lower priority Pods to make scheduling of the pending Pod possible.Warning:In a cluster where not all users are trusted, a malicious user could create Pods at the highest possible priorities, causing other Pods to be evicted/not get scheduled. An administrator can use ResourceQuota to prevent users from creating pods at high priorities.See limit Priority Class consumption by default for details.How to use priority and preemptionTo use priority and preemption:Add one or more PriorityClasses.Create Pods withpriorityClassName set to one of the added PriorityClasses. Of course you do not need to create the Pods directly; normally you would add priorityClassName to the Pod template of a collection object like a Deployment.Keep reading for more information about these steps.Note:Kubernetes already ships with two PriorityClasses: system-cluster-critical and system-node-critical. These are common classes and are used to ensure that critical components are always scheduled first.PriorityClassA PriorityClass is a non-namespaced object that defines a mapping from a priority class name to the integer value of the priority. The name is specified in the name field of the PriorityClass object's metadata. The value is specified in the required value field. The higher the value, the higher the priority. The name of a PriorityClass object must be a valid DNS subdomain name, and it cannot be prefixed with system-.A PriorityClass object can have any 32-bit integer value smaller than or equal to 1 billion. This means that the range of values for a PriorityClass object is from -2147483648 to 1000000000 inclusive. Larger numbers are reserved for built-in PriorityClasses that represent critical system Pods. A cluster admin should create one PriorityClass object for each such mapping that they want.PriorityClass also has two optional fields: globalDefault and description. The globalDefault field indicates that the value of this PriorityClass should be used for Pods without a priorityClassName. Only one PriorityClass with globalDefault set to true can exist in the system. If there is no PriorityClass with globalDefault set, the priority of Pods with no priorityClassName is zero.The description field is an arbitrary string. It is meant to tell users of the cluster when they should use this PriorityClass.Notes about PodPriority and existing clustersIf you upgrade an existing cluster without this feature, the priority of your existing Pods is effectively zero.Addition of a PriorityClass with globalDefault set to true does not change the priorities of existing Pods. The value of such a PriorityClass is used only for Pods created after the PriorityClass is added.If you delete a PriorityClass, existing Pods that use the name of the deleted PriorityClass r",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_qa_9081"
  },
  {
    "question": "How does Pod Priority and Preemption work?",
    "answer": "Pod Priority and PreemptionFEATURE STATE: Kubernetes v1.14 [stable]Pods can have priority. Priority indicates the importance of a Pod relative to other Pods. If a Pod cannot be scheduled, the scheduler tries to preempt (evict) lower priority Pods to make scheduling of the pending Pod possible.Warning:In a cluster where not all users are trusted, a malicious user could create Pods at the highest possible priorities, causing other Pods to be evicted/not get scheduled. An administrator can use ResourceQuota to prevent users from creating pods at high priorities.See limit Priority Class consumption by default for details.How to use priority and preemptionTo use priority and preemption:Add one or more PriorityClasses.Create Pods withpriorityClassName set to one of the added PriorityClasses. Of course you do not need to create the Pods directly; normally you would add priorityClassName to the Pod template of a collection object like a Deployment.Keep reading for more information about these steps.Note:Kubernetes already ships with two PriorityClasses: system-cluster-critical and system-node-critical. These are common classes and are used to ensure that critical components are always scheduled first.PriorityClassA PriorityClass is a non-namespaced object that defines a mapping from a priority class name to the integer value of the priority. The name is specified in the name field of the PriorityClass object's metadata. The value is specified in the required value field. The higher the value, the higher the priority. The name of a PriorityClass object must be a valid DNS subdomain name, and it cannot be prefixed with system-.A PriorityClass object can have any 32-bit integer value smaller than or equal to 1 billion. This means that the range of values for a PriorityClass object is from -2147483648 to 1000000000 inclusive. Larger numbers are reserved for built-in PriorityClasses that represent critical system Pods. A cluster admin should create one PriorityClass object for each such mapping that they want.PriorityClass also has two optional fields: globalDefault and description. The globalDefault field indicates that the value of this PriorityClass should be used for Pods without a priorityClassName. Only one PriorityClass with globalDefault set to true can exist in the system. If there is no PriorityClass with globalDefault set, the priority of Pods with no priorityClassName is zero.The description field is an arbitrary string. It is meant to tell users of the cluster when they should use this PriorityClass.Notes about PodPriority and existing clustersIf you upgrade an existing cluster without this feature, the priority of your existing Pods is effectively zero.Addition of a PriorityClass with globalDefault set to true does not change the priorities of existing Pods. The value of such a PriorityClass is used only for Pods created after the PriorityClass is added.If you delete a PriorityClass, existing Pods that use the name of the deleted PriorityClass r",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_qa_9082"
  },
  {
    "question": "When would you use Pod Priority and Preemption?",
    "answer": "Pod Priority and PreemptionFEATURE STATE: Kubernetes v1.14 [stable]Pods can have priority. Priority indicates the importance of a Pod relative to other Pods. If a Pod cannot be scheduled, the scheduler tries to preempt (evict) lower priority Pods to make scheduling of the pending Pod possible.Warning:In a cluster where not all users are trusted, a malicious user could create Pods at the highest possible priorities, causing other Pods to be evicted/not get scheduled. An administrator can use ResourceQuota to prevent users from creating pods at high priorities.See limit Priority Class consumption by default for details.How to use priority and preemptionTo use priority and preemption:Add one or more PriorityClasses.Create Pods withpriorityClassName set to one of the added PriorityClasses. Of course you do not need to create the Pods directly; normally you would add priorityClassName to the Pod template of a collection object like a Deployment.Keep reading for more information about these steps.Note:Kubernetes already ships with two PriorityClasses: system-cluster-critical and system-node-critical. These are common classes and are used to ensure that critical components are always scheduled first.PriorityClassA PriorityClass is a non-namespaced object that defines a mapping from a priority class name to the integer value of the priority. The name is specified in the name field of the PriorityClass object's metadata. The value is specified in the required value field. The higher the value, the higher the priority. The name of a PriorityClass object must be a valid DNS subdomain name, and it cannot be prefixed with system-.A PriorityClass object can have any 32-bit integer value smaller than or equal to 1 billion. This means that the range of values for a PriorityClass object is from -2147483648 to 1000000000 inclusive. Larger numbers are reserved for built-in PriorityClasses that represent critical system Pods. A cluster admin should create one PriorityClass object for each such mapping that they want.PriorityClass also has two optional fields: globalDefault and description. The globalDefault field indicates that the value of this PriorityClass should be used for Pods without a priorityClassName. Only one PriorityClass with globalDefault set to true can exist in the system. If there is no PriorityClass with globalDefault set, the priority of Pods with no priorityClassName is zero.The description field is an arbitrary string. It is meant to tell users of the cluster when they should use this PriorityClass.Notes about PodPriority and existing clustersIf you upgrade an existing cluster without this feature, the priority of your existing Pods is effectively zero.Addition of a PriorityClass with globalDefault set to true does not change the priorities of existing Pods. The value of such a PriorityClass is used only for Pods created after the PriorityClass is added.If you delete a PriorityClass, existing Pods that use the name of the deleted PriorityClass r",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_qa_9083"
  },
  {
    "question": "What are the benefits of Pod Priority and Preemption?",
    "answer": "Pod Priority and PreemptionFEATURE STATE: Kubernetes v1.14 [stable]Pods can have priority. Priority indicates the importance of a Pod relative to other Pods. If a Pod cannot be scheduled, the scheduler tries to preempt (evict) lower priority Pods to make scheduling of the pending Pod possible.Warning:In a cluster where not all users are trusted, a malicious user could create Pods at the highest possible priorities, causing other Pods to be evicted/not get scheduled. An administrator can use ResourceQuota to prevent users from creating pods at high priorities.See limit Priority Class consumption by default for details.How to use priority and preemptionTo use priority and preemption:Add one or more PriorityClasses.Create Pods withpriorityClassName set to one of the added PriorityClasses. Of course you do not need to create the Pods directly; normally you would add priorityClassName to the Pod template of a collection object like a Deployment.Keep reading for more information about these steps.Note:Kubernetes already ships with two PriorityClasses: system-cluster-critical and system-node-critical. These are common classes and are used to ensure that critical components are always scheduled first.PriorityClassA PriorityClass is a non-namespaced object that defines a mapping from a priority class name to the integer value of the priority. The name is specified in the name field of the PriorityClass object's metadata. The value is specified in the required value field. The higher the value, the higher the priority. The name of a PriorityClass object must be a valid DNS subdomain name, and it cannot be prefixed with system-.A PriorityClass object can have any 32-bit integer value smaller than or equal to 1 billion. This means that the range of values for a PriorityClass object is from -2147483648 to 1000000000 inclusive. Larger numbers are reserved for built-in PriorityClasses that represent critical system Pods. A cluster admin should create one PriorityClass object for each such mapping that they want.PriorityClass also has two optional fields: globalDefault and description. The globalDefault field indicates that the value of this PriorityClass should be used for Pods without a priorityClassName. Only one PriorityClass with globalDefault set to true can exist in the system. If there is no PriorityClass with globalDefault set, the priority of Pods with no priorityClassName is zero.The description field is an arbitrary string. It is meant to tell users of the cluster when they should use this PriorityClass.Notes about PodPriority and existing clustersIf you upgrade an existing cluster without this feature, the priority of your existing Pods is effectively zero.Addition of a PriorityClass with globalDefault set to true does not change the priorities of existing Pods. The value of such a PriorityClass is used only for Pods created after the PriorityClass is added.If you delete a PriorityClass, existing Pods that use the name of the deleted PriorityClass r",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_qa_9084"
  },
  {
    "question": "What is Pod Priority and Preemption?",
    "answer": "P o d s   c a n   h a v e   p r i o r i t y .   P r i o r i t y   i n d i c a t e s   t h e   i m p o r t a n c e   o f   a   P o d   r e l a t i v e   t o   o t h e r   P o d s .   I f   a   P o d   c a n n o t   b e   s c h e d u l e d ,   t h e   s c h e d u l e r   t r i e s   t o   p r e e m p t   ( e v i c t )   l o w e r   p r i o r i t y   P o d s   t o   m a k e   s c h e d u l i n g   o f   t h e   p e n d i n g   P o d   p o s s i b l e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_section_1_9085"
  },
  {
    "question": "What is Warning:?",
    "answer": "I n   a   c l u s t e r   w h e r e   n o t   a l l   u s e r s   a r e   t r u s t e d ,   a   m a l i c i o u s   u s e r   c o u l d   c r e a t e   P o d s   a t   t h e   h i g h e s t   p o s s i b l e   p r i o r i t i e s ,   c a u s i n g   o t h e r   P o d s   t o   b e   e v i c t e d / n o t   g e t   s c h e d u l e d .   A n   a d m i n i s t r a t o r   c a n   u s e   R e s o u r c e Q u o t a   t o   p r e v e n t   u s e r s   f r o m   c r e a t i n g   p o d s   a t   h i g h   p r i o r i t i e s .   S e e   l i m i t   P r i o r i t y   C l a s s   c o n s u m p t i o n   b y   d e f a u l t   f o r   d e t a i l s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_section_4_9086"
  },
  {
    "question": "What is How to use priority and preemption?",
    "answer": "T o   u s e   p r i o r i t y   a n d   p r e e m p t i o n :   A d d   o n e   o r   m o r e   P r i o r i t y C l a s s e s . C r e a t e   P o d s   w i t h p r i o r i t y C l a s s N a m e   s e t   t o   o n e   o f   t h e   a d d e d   P r i o r i t y C l a s s e s .   O f   c o u r s e   y o u   d o   n o t   n e e d   t o   c r e a t e   t h e   P o d s   d i r e c t l y ;   n o r m a l l y   y o u   w o u l d   a d d   p r i o r i t y C l a s s N a m e   t o   t h e   P o d   t e m p l a t e   o f   a   c o l l e c t i o n   o b j e c t   l i k e   a   D e p l o y m e n t .   A d d   o n e   o r   m o r e   P r i o r i t y C l a s s e s .   C r e a t e   P o d s   w i t h p r i o r i t y C l a s s N a m e   s e t   t o   o n e   o f   t h e   a d d e d   P r i o r i t y C l a s s e s .   O f   c o u r s e   y o u   d o   n o t   n e e d   t o   c r e a t e   t h e   P o d s   d i r e c t l y ;   n o r m a l l y   y o u   w o u l d   a d d   p r i o r i t y C l a s s N a m e   t o   t h e   P o d   t e m p l a t e   o f   a   c o l l e c t i o n   o b j e c t   l i k e   a   D e p l o y m e n t .   K e e p   r e a d i n g   f o r   m o r e   i n f o r m a t i o n   a b o u t   t h e s e   s t e p s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_section_2_9087"
  },
  {
    "question": "What is PriorityClass?",
    "answer": "A   P r i o r i t y C l a s s   i s   a   n o n - n a m e s p a c e d   o b j e c t   t h a t   d e f i n e s   a   m a p p i n g   f r o m   a   p r i o r i t y   c l a s s   n a m e   t o   t h e   i n t e g e r   v a l u e   o f   t h e   p r i o r i t y .   T h e   n a m e   i s   s p e c i f i e d   i n   t h e   n a m e   f i e l d   o f   t h e   P r i o r i t y C l a s s   o b j e c t ' s   m e t a d a t a .   T h e   v a l u e   i s   s p e c i f i e d   i n   t h e   r e q u i r e d   v a l u e   f i e l d .   T h e   h i g h e r   t h e   v a l u e ,   t h e   h i g h e r   t h e   p r i o r i t y .   T h e   n a m e   o f   a   P r i o r i t y C l a s s   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e ,   a n d   i t   c a n n o t   b e   p r e f i x e d   w i t h   s y s t e m - .   A   P r i o r i t y C l a s s   o b j e c t   c a n   h a v e   a n y   3 2 - b i t   i n t e g e r   v a l u e   s m a l l e r   t h a n   o r   e q u a l   t o   1   b i l l i o n .   T h i s   m e a n s   t h a t   t h e   r a n g e   o f   v a l u e s   f o r   a   P r i o r i t y C l a s s   o b j e c t   i s   f r o m   - 2 1 4 7 4 8 3 6 4 8   t o   1 0 0 0 0 0 0 0 0 0   i n c l u s i v e .   L a r g e r   n u m b e r s   a r e   r e s e r v e d   f o r   b u i l t - i n   P r i o r i t y C l a s s e s   t h a t   r e p r e s e n t   c r i t i c a l   s y s t e m   P o d s .   A   c l u s t e r   a d m i n   s h o u l d   c r e a t e   o n e   P r i o r i t y C l a s s   o b j e c t   f o r   e a c h   s u c h   m a p p i n g   t h a t   t h e y   w a n t .   P r i o r i t y C l a s s   a l s o   h a s   t w o   o p t i o n a l   f i e l d s :   g l o b a l D e f a u l t   a n d   d e s c r i p t i o n .   T h e   g l o b a l D e f a u l t   f i e l d   i n d i c a t e s   t h a t   t h e   v a l u e   o f   t h i s   P r i o r i t y C l a s s   s h o u l d   b e   u s e d   f o r   P o d s   w i t h o u t   a   p r i o r i t y C l a ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_section_2_9088"
  },
  {
    "question": "What is Notes about PodPriority and existing clusters?",
    "answer": "I f   y o u   u p g r a d e   a n   e x i s t i n g   c l u s t e r   w i t h o u t   t h i s   f e a t u r e ,   t h e   p r i o r i t y   o f   y o u r   e x i s t i n g   P o d s   i s   e f f e c t i v e l y   z e r o . A d d i t i o n   o f   a   P r i o r i t y C l a s s   w i t h   g l o b a l D e f a u l t   s e t   t o   t r u e   d o e s   n o t   c h a n g e   t h e   p r i o r i t i e s   o f   e x i s t i n g   P o d s .   T h e   v a l u e   o f   s u c h   a   P r i o r i t y C l a s s   i s   u s e d   o n l y   f o r   P o d s   c r e a t e d   a f t e r   t h e   P r i o r i t y C l a s s   i s   a d d e d . I f   y o u   d e l e t e   a   P r i o r i t y C l a s s ,   e x i s t i n g   P o d s   t h a t   u s e   t h e   n a m e   o f   t h e   d e l e t e d   P r i o r i t y C l a s s   r e m a i n   u n c h a n g e d ,   b u t   y o u   c a n n o t   c r e a t e   m o r e   P o d s   t h a t   u s e   t h e   n a m e   o f   t h e   d e l e t e d   P r i o r i t y C l a s s .   I f   y o u   u p g r a d e   a n   e x i s t i n g   c l u s t e r   w i t h o u t   t h i s   f e a t u r e ,   t h e   p r i o r i t y   o f   y o u r   e x i s t i n g   P o d s   i s   e f f e c t i v e l y   z e r o .   A d d i t i o n   o f   a   P r i o r i t y C l a s s   w i t h   g l o b a l D e f a u l t   s e t   t o   t r u e   d o e s   n o t   c h a n g e   t h e   p r i o r i t i e s   o f   e x i s t i n g   P o d s .   T h e   v a l u e   o f   s u c h   a   P r i o r i t y C l a s s   i s   u s e d   o n l y   f o r   P o d s   c r e a t e d   a f t e r   t h e   P r i o r i t y C l a s s   i s   a d d e d .   I f   y o u   d e l e t e   a   P r i o r i t y C l a s s ,   e x i s t i n g   P o d s   t h a t   u s e   t h e   n a m e   o f   t h e   d e l e t e d   P r i o r i t y C l a s s   r e m a i n   u n c h a n g e d ,   b u t   y o u   c a n n o t   c r e a t e   m o r e   P o d s   t h a t   u s e   t h e   n a m e   o f   t h e   d e l e t e d ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_section_3_9089"
  },
  {
    "question": "What is Example PriorityClass?",
    "answer": "a p i V e r s i o n :   s c h e d u l i n g . k 8 s . i o / v 1   k i n d :   P r i o r i t y C l a s s   m e t a d a t a :   n a m e :   h i g h - p r i o r i t y   v a l u e :   1 0 0 0 0 0 0   g l o b a l D e f a u l t :   f a l s e   d e s c r i p t i o n :   \" T h i s   p r i o r i t y   c l a s s   s h o u l d   b e   u s e d   f o r   X Y Z   s e r v i c e   p o d s   o n l y . \"",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_section_3_9090"
  },
  {
    "question": "What is Non-preempting PriorityClass?",
    "answer": "P o d s   w i t h   p r e e m p t i o n P o l i c y :   N e v e r   w i l l   b e   p l a c e d   i n   t h e   s c h e d u l i n g   q u e u e   a h e a d   o f   l o w e r - p r i o r i t y   p o d s ,   b u t   t h e y   c a n n o t   p r e e m p t   o t h e r   p o d s .   A   n o n - p r e e m p t i n g   p o d   w a i t i n g   t o   b e   s c h e d u l e d   w i l l   s t a y   i n   t h e   s c h e d u l i n g   q u e u e ,   u n t i l   s u f f i c i e n t   r e s o u r c e s   a r e   f r e e ,   a n d   i t   c a n   b e   s c h e d u l e d .   N o n - p r e e m p t i n g   p o d s ,   l i k e   o t h e r   p o d s ,   a r e   s u b j e c t   t o   s c h e d u l e r   b a c k - o f f .   T h i s   m e a n s   t h a t   i f   t h e   s c h e d u l e r   t r i e s   t h e s e   p o d s   a n d   t h e y   c a n n o t   b e   s c h e d u l e d ,   t h e y   w i l l   b e   r e t r i e d   w i t h   l o w e r   f r e q u e n c y ,   a l l o w i n g   o t h e r   p o d s   w i t h   l o w e r   p r i o r i t y   t o   b e   s c h e d u l e d   b e f o r e   t h e m .   N o n - p r e e m p t i n g   p o d s   m a y   s t i l l   b e   p r e e m p t e d   b y   o t h e r ,   h i g h - p r i o r i t y   p o d s .   p r e e m p t i o n P o l i c y   d e f a u l t s   t o   P r e e m p t L o w e r P r i o r i t y ,   w h i c h   w i l l   a l l o w   p o d s   o f   t h a t   P r i o r i t y C l a s s   t o   p r e e m p t   l o w e r - p r i o r i t y   p o d s   ( a s   i s   e x i s t i n g   d e f a u l t   b e h a v i o r ) .   I f   p r e e m p t i o n P o l i c y   i s   s e t   t o   N e v e r ,   p o d s   i n   t h a t   P r i o r i t y C l a s s   w i l l   b e   n o n - p r e e m p t i n g .   A n   e x a m p l e   u s e   c a s e   i s   f o r   d a t a   s c i e n c e   w o r k l o a d s .   A   u s e r   m a y   s u b m i t   a   j o b   t h a t   t h e y   w a n t   t o   b e   p r i o r i t i z e d   a b o v e   o t h e r   w o r k l o a d s ,   b ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_section_2_9091"
  },
  {
    "question": "What is Example Non-preempting PriorityClass?",
    "answer": "a p i V e r s i o n :   s c h e d u l i n g . k 8 s . i o / v 1   k i n d :   P r i o r i t y C l a s s   m e t a d a t a :   n a m e :   h i g h - p r i o r i t y - n o n p r e e m p t i n g   v a l u e :   1 0 0 0 0 0 0   p r e e m p t i o n P o l i c y :   N e v e r   g l o b a l D e f a u l t :   f a l s e   d e s c r i p t i o n :   \" T h i s   p r i o r i t y   c l a s s   w i l l   n o t   c a u s e   o t h e r   p o d s   t o   b e   p r e e m p t e d . \"",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_section_3_9092"
  },
  {
    "question": "What is Pod priority?",
    "answer": "A f t e r   y o u   h a v e   o n e   o r   m o r e   P r i o r i t y C l a s s e s ,   y o u   c a n   c r e a t e   P o d s   t h a t   s p e c i f y   o n e   o f   t h o s e   P r i o r i t y C l a s s   n a m e s   i n   t h e i r   s p e c i f i c a t i o n s .   T h e   p r i o r i t y   a d m i s s i o n   c o n t r o l l e r   u s e s   t h e   p r i o r i t y C l a s s N a m e   f i e l d   a n d   p o p u l a t e s   t h e   i n t e g e r   v a l u e   o f   t h e   p r i o r i t y .   I f   t h e   p r i o r i t y   c l a s s   i s   n o t   f o u n d ,   t h e   P o d   i s   r e j e c t e d .   T h e   f o l l o w i n g   Y A M L   i s   a n   e x a m p l e   o f   a   P o d   c o n f i g u r a t i o n   t h a t   u s e s   t h e   P r i o r i t y C l a s s   c r e a t e d   i n   t h e   p r e c e d i n g   e x a m p l e .   T h e   p r i o r i t y   a d m i s s i o n   c o n t r o l l e r   c h e c k s   t h e   s p e c i f i c a t i o n   a n d   r e s o l v e s   t h e   p r i o r i t y   o f   t h e   P o d   t o   1 0 0 0 0 0 0 .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   l a b e l s :   e n v :   t e s t   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   i m a g e P u l l P o l i c y :   I f N o t P r e s e n t   p r i o r i t y C l a s s N a m e :   h i g h - p r i o r i t y",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_section_2_9093"
  },
  {
    "question": "What is Effect of Pod priority on scheduling order?",
    "answer": "W h e n   P o d   p r i o r i t y   i s   e n a b l e d ,   t h e   s c h e d u l e r   o r d e r s   p e n d i n g   P o d s   b y   t h e i r   p r i o r i t y   a n d   a   p e n d i n g   P o d   i s   p l a c e d   a h e a d   o f   o t h e r   p e n d i n g   P o d s   w i t h   l o w e r   p r i o r i t y   i n   t h e   s c h e d u l i n g   q u e u e .   A s   a   r e s u l t ,   t h e   h i g h e r   p r i o r i t y   P o d   m a y   b e   s c h e d u l e d   s o o n e r   t h a n   P o d s   w i t h   l o w e r   p r i o r i t y   i f   i t s   s c h e d u l i n g   r e q u i r e m e n t s   a r e   m e t .   I f   s u c h   P o d   c a n n o t   b e   s c h e d u l e d ,   t h e   s c h e d u l e r   w i l l   c o n t i n u e   a n d   t r y   t o   s c h e d u l e   o t h e r   l o w e r   p r i o r i t y   P o d s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_section_3_9094"
  },
  {
    "question": "What is Preemption?",
    "answer": "W h e n   P o d s   a r e   c r e a t e d ,   t h e y   g o   t o   a   q u e u e   a n d   w a i t   t o   b e   s c h e d u l e d .   T h e   s c h e d u l e r   p i c k s   a   P o d   f r o m   t h e   q u e u e   a n d   t r i e s   t o   s c h e d u l e   i t   o n   a   N o d e .   I f   n o   N o d e   i s   f o u n d   t h a t   s a t i s f i e s   a l l   t h e   s p e c i f i e d   r e q u i r e m e n t s   o f   t h e   P o d ,   p r e e m p t i o n   l o g i c   i s   t r i g g e r e d   f o r   t h e   p e n d i n g   P o d .   L e t ' s   c a l l   t h e   p e n d i n g   P o d   P .   P r e e m p t i o n   l o g i c   t r i e s   t o   f i n d   a   N o d e   w h e r e   r e m o v a l   o f   o n e   o r   m o r e   P o d s   w i t h   l o w e r   p r i o r i t y   t h a n   P   w o u l d   e n a b l e   P   t o   b e   s c h e d u l e d   o n   t h a t   N o d e .   I f   s u c h   a   N o d e   i s   f o u n d ,   o n e   o r   m o r e   l o w e r   p r i o r i t y   P o d s   g e t   e v i c t e d   f r o m   t h e   N o d e .   A f t e r   t h e   P o d s   a r e   g o n e ,   P   c a n   b e   s c h e d u l e d   o n   t h e   N o d e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_section_2_9095"
  },
  {
    "question": "What is User exposed information?",
    "answer": "W h e n   P o d   P   p r e e m p t s   o n e   o r   m o r e   P o d s   o n   N o d e   N ,   n o m i n a t e d N o d e N a m e   f i e l d   o f   P o d   P ' s   s t a t u s   i s   s e t   t o   t h e   n a m e   o f   N o d e   N .   T h i s   f i e l d   h e l p s   t h e   s c h e d u l e r   t r a c k   r e s o u r c e s   r e s e r v e d   f o r   P o d   P   a n d   a l s o   g i v e s   u s e r s   i n f o r m a t i o n   a b o u t   p r e e m p t i o n s   i n   t h e i r   c l u s t e r s .   P l e a s e   n o t e   t h a t   P o d   P   i s   n o t   n e c e s s a r i l y   s c h e d u l e d   t o   t h e   \" n o m i n a t e d   N o d e \" .   T h e   s c h e d u l e r   a l w a y s   t r i e s   t h e   \" n o m i n a t e d   N o d e \"   b e f o r e   i t e r a t i n g   o v e r   a n y   o t h e r   n o d e s .   A f t e r   v i c t i m   P o d s   a r e   p r e e m p t e d ,   t h e y   g e t   t h e i r   g r a c e f u l   t e r m i n a t i o n   p e r i o d .   I f   a n o t h e r   n o d e   b e c o m e s   a v a i l a b l e   w h i l e   s c h e d u l e r   i s   w a i t i n g   f o r   t h e   v i c t i m   P o d s   t o   t e r m i n a t e ,   s c h e d u l e r   m a y   u s e   t h e   o t h e r   n o d e   t o   s c h e d u l e   P o d   P .   A s   a   r e s u l t   n o m i n a t e d N o d e N a m e   a n d   n o d e N a m e   o f   P o d   s p e c   a r e   n o t   a l w a y s   t h e   s a m e .   A l s o ,   i f   t h e   s c h e d u l e r   p r e e m p t s   P o d s   o n   N o d e   N ,   b u t   t h e n   a   h i g h e r   p r i o r i t y   P o d   t h a n   P o d   P   a r r i v e s ,   t h e   s c h e d u l e r   m a y   g i v e   N o d e   N   t o   t h e   n e w   h i g h e r   p r i o r i t y   P o d .   I n   s u c h   a   c a s e ,   s c h e d u l e r   c l e a r s   n o m i n a t e d N o d e N a m e   o f   P o d   P .   B y   d o i n g   t h i s ,   s c h e d u l e r   m a k e s   P o d   P   e l i g i b l e   t o   p r e e m ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_section_3_9096"
  },
  {
    "question": "What is Graceful termination of preemption victims?",
    "answer": "W h e n   P o d s   a r e   p r e e m p t e d ,   t h e   v i c t i m s   g e t   t h e i r   g r a c e f u l   t e r m i n a t i o n   p e r i o d .   T h e y   h a v e   t h a t   m u c h   t i m e   t o   f i n i s h   t h e i r   w o r k   a n d   e x i t .   I f   t h e y   d o n ' t ,   t h e y   a r e   k i l l e d .   T h i s   g r a c e f u l   t e r m i n a t i o n   p e r i o d   c r e a t e s   a   t i m e   g a p   b e t w e e n   t h e   p o i n t   t h a t   t h e   s c h e d u l e r   p r e e m p t s   P o d s   a n d   t h e   t i m e   w h e n   t h e   p e n d i n g   P o d   ( P )   c a n   b e   s c h e d u l e d   o n   t h e   N o d e   ( N ) .   I n   t h e   m e a n t i m e ,   t h e   s c h e d u l e r   k e e p s   s c h e d u l i n g   o t h e r   p e n d i n g   P o d s .   A s   v i c t i m s   e x i t   o r   g e t   t e r m i n a t e d ,   t h e   s c h e d u l e r   t r i e s   t o   s c h e d u l e   P o d s   i n   t h e   p e n d i n g   q u e u e .   T h e r e f o r e ,   t h e r e   i s   u s u a l l y   a   t i m e   g a p   b e t w e e n   t h e   p o i n t   t h a t   s c h e d u l e r   p r e e m p t s   v i c t i m s   a n d   t h e   t i m e   t h a t   P o d   P   i s   s c h e d u l e d .   I n   o r d e r   t o   m i n i m i z e   t h i s   g a p ,   o n e   c a n   s e t   g r a c e f u l   t e r m i n a t i o n   p e r i o d   o f   l o w e r   p r i o r i t y   P o d s   t o   z e r o   o r   a   s m a l l   n u m b e r .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_section_4_9097"
  },
  {
    "question": "What is PodDisruptionBudget is supported, but not guaranteed?",
    "answer": "A   P o d D i s r u p t i o n B u d g e t   ( P D B )   a l l o w s   a p p l i c a t i o n   o w n e r s   t o   l i m i t   t h e   n u m b e r   o f   P o d s   o f   a   r e p l i c a t e d   a p p l i c a t i o n   t h a t   a r e   d o w n   s i m u l t a n e o u s l y   f r o m   v o l u n t a r y   d i s r u p t i o n s .   K u b e r n e t e s   s u p p o r t s   P D B   w h e n   p r e e m p t i n g   P o d s ,   b u t   r e s p e c t i n g   P D B   i s   b e s t   e f f o r t .   T h e   s c h e d u l e r   t r i e s   t o   f i n d   v i c t i m s   w h o s e   P D B   a r e   n o t   v i o l a t e d   b y   p r e e m p t i o n ,   b u t   i f   n o   s u c h   v i c t i m s   a r e   f o u n d ,   p r e e m p t i o n   w i l l   s t i l l   h a p p e n ,   a n d   l o w e r   p r i o r i t y   P o d s   w i l l   b e   r e m o v e d   d e s p i t e   t h e i r   P D B s   b e i n g   v i o l a t e d .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_section_4_9098"
  },
  {
    "question": "What is Inter-Pod affinity on lower-priority Pods?",
    "answer": "A   N o d e   i s   c o n s i d e r e d   f o r   p r e e m p t i o n   o n l y   w h e n   t h e   a n s w e r   t o   t h i s   q u e s t i o n   i s   y e s :   \" I f   a l l   t h e   P o d s   w i t h   l o w e r   p r i o r i t y   t h a n   t h e   p e n d i n g   P o d   a r e   r e m o v e d   f r o m   t h e   N o d e ,   c a n   t h e   p e n d i n g   P o d   b e   s c h e d u l e d   o n   t h e   N o d e ? \"",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_section_4_9099"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   a   p e n d i n g   P o d   h a s   i n t e r - p o d   a f f i n i t y   t o   o n e   o r   m o r e   o f   t h e   l o w e r - p r i o r i t y   P o d s   o n   t h e   N o d e ,   t h e   i n t e r - P o d   a f f i n i t y   r u l e   c a n n o t   b e   s a t i s f i e d   i n   t h e   a b s e n c e   o f   t h o s e   l o w e r - p r i o r i t y   P o d s .   I n   t h i s   c a s e ,   t h e   s c h e d u l e r   d o e s   n o t   p r e e m p t   a n y   P o d s   o n   t h e   N o d e .   I n s t e a d ,   i t   l o o k s   f o r   a n o t h e r   N o d e .   T h e   s c h e d u l e r   m i g h t   f i n d   a   s u i t a b l e   N o d e   o r   i t   m i g h t   n o t .   T h e r e   i s   n o   g u a r a n t e e   t h a t   t h e   p e n d i n g   P o d   c a n   b e   s c h e d u l e d .   O u r   r e c o m m e n d e d   s o l u t i o n   f o r   t h i s   p r o b l e m   i s   t o   c r e a t e   i n t e r - P o d   a f f i n i t y   o n l y   t o w a r d s   e q u a l   o r   h i g h e r   p r i o r i t y   P o d s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_section_4_9100"
  },
  {
    "question": "What is Cross node preemption?",
    "answer": "S u p p o s e   a   N o d e   N   i s   b e i n g   c o n s i d e r e d   f o r   p r e e m p t i o n   s o   t h a t   a   p e n d i n g   P o d   P   c a n   b e   s c h e d u l e d   o n   N .   P   m i g h t   b e c o m e   f e a s i b l e   o n   N   o n l y   i f   a   P o d   o n   a n o t h e r   N o d e   i s   p r e e m p t e d .   H e r e ' s   a n   e x a m p l e :   P o d   P   i s   b e i n g   c o n s i d e r e d   f o r   N o d e   N . P o d   Q   i s   r u n n i n g   o n   a n o t h e r   N o d e   i n   t h e   s a m e   Z o n e   a s   N o d e   N . P o d   P   h a s   Z o n e - w i d e   a n t i - a f f i n i t y   w i t h   P o d   Q   ( t o p o l o g y K e y :   t o p o l o g y . k u b e r n e t e s . i o / z o n e ) . T h e r e   a r e   n o   o t h e r   c a s e s   o f   a n t i - a f f i n i t y   b e t w e e n   P o d   P   a n d   o t h e r   P o d s   i n   t h e   Z o n e . I n   o r d e r   t o   s c h e d u l e   P o d   P   o n   N o d e   N ,   P o d   Q   c a n   b e   p r e e m p t e d ,   b u t   s c h e d u l e r   d o e s   n o t   p e r f o r m   c r o s s - n o d e   p r e e m p t i o n .   S o ,   P o d   P   w i l l   b e   d e e m e d   u n s c h e d u l a b l e   o n   N o d e   N .   I f   P o d   Q   w e r e   r e m o v e d   f r o m   i t s   N o d e ,   t h e   P o d   a n t i - a f f i n i t y   v i o l a t i o n   w o u l d   b e   g o n e ,   a n d   P o d   P   c o u l d   p o s s i b l y   b e   s c h e d u l e d   o n   N o d e   N .   W e   m a y   c o n s i d e r   a d d i n g   c r o s s   N o d e   p r e e m p t i o n   i n   f u t u r e   v e r s i o n s   i f   t h e r e   i s   e n o u g h   d e m a n d   a n d   i f   w e   f i n d   a n   a l g o r i t h m   w i t h   r e a s o n a b l e   p e r f o r m a n c e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_section_4_9101"
  },
  {
    "question": "What is Troubleshooting?",
    "answer": "P o d   p r i o r i t y   a n d   p r e e m p t i o n   c a n   h a v e   u n w a n t e d   s i d e   e f f e c t s .   H e r e   a r e   s o m e   e x a m p l e s   o f   p o t e n t i a l   p r o b l e m s   a n d   w a y s   t o   d e a l   w i t h   t h e m .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_section_2_9102"
  },
  {
    "question": "What is Pods are preempted unnecessarily?",
    "answer": "P r e e m p t i o n   r e m o v e s   e x i s t i n g   P o d s   f r o m   a   c l u s t e r   u n d e r   r e s o u r c e   p r e s s u r e   t o   m a k e   r o o m   f o r   h i g h e r   p r i o r i t y   p e n d i n g   P o d s .   I f   y o u   g i v e   h i g h   p r i o r i t i e s   t o   c e r t a i n   P o d s   b y   m i s t a k e ,   t h e s e   u n i n t e n t i o n a l l y   h i g h   p r i o r i t y   P o d s   m a y   c a u s e   p r e e m p t i o n   i n   y o u r   c l u s t e r .   P o d   p r i o r i t y   i s   s p e c i f i e d   b y   s e t t i n g   t h e   p r i o r i t y C l a s s N a m e   f i e l d   i n   t h e   P o d ' s   s p e c i f i c a t i o n .   T h e   i n t e g e r   v a l u e   f o r   p r i o r i t y   i s   t h e n   r e s o l v e d   a n d   p o p u l a t e d   t o   t h e   p r i o r i t y   f i e l d   o f   p o d S p e c .   T o   a d d r e s s   t h e   p r o b l e m ,   y o u   c a n   c h a n g e   t h e   p r i o r i t y C l a s s N a m e   f o r   t h o s e   P o d s   t o   u s e   l o w e r   p r i o r i t y   c l a s s e s ,   o r   l e a v e   t h a t   f i e l d   e m p t y .   A n   e m p t y   p r i o r i t y C l a s s N a m e   i s   r e s o l v e d   t o   z e r o   b y   d e f a u l t .   W h e n   a   P o d   i s   p r e e m p t e d ,   t h e r e   w i l l   b e   e v e n t s   r e c o r d e d   f o r   t h e   p r e e m p t e d   P o d .   P r e e m p t i o n   s h o u l d   h a p p e n   o n l y   w h e n   a   c l u s t e r   d o e s   n o t   h a v e   e n o u g h   r e s o u r c e s   f o r   a   P o d .   I n   s u c h   c a s e s ,   p r e e m p t i o n   h a p p e n s   o n l y   w h e n   t h e   p r i o r i t y   o f   t h e   p e n d i n g   P o d   ( p r e e m p t o r )   i s   h i g h e r   t h a n   t h e   v i c t i m   P o d s .   P r e e m p t i o n   m u s t   n o t   h a p p e n   w h e n   t h e r e   i s   n o   p e n d i n g   P o d ,   o r   w h e n   t h e   p e n d i n g   P o ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_section_3_9103"
  },
  {
    "question": "What is Pods are preempted, but the preemptor is not scheduled?",
    "answer": "W h e n   p o d s   a r e   p r e e m p t e d ,   t h e y   r e c e i v e   t h e i r   r e q u e s t e d   g r a c e f u l   t e r m i n a t i o n   p e r i o d ,   w h i c h   i s   b y   d e f a u l t   3 0   s e c o n d s .   I f   t h e   v i c t i m   P o d s   d o   n o t   t e r m i n a t e   w i t h i n   t h i s   p e r i o d ,   t h e y   a r e   f o r c i b l y   t e r m i n a t e d .   O n c e   a l l   t h e   v i c t i m s   g o   a w a y ,   t h e   p r e e m p t o r   P o d   c a n   b e   s c h e d u l e d .   W h i l e   t h e   p r e e m p t o r   P o d   i s   w a i t i n g   f o r   t h e   v i c t i m s   t o   g o   a w a y ,   a   h i g h e r   p r i o r i t y   P o d   m a y   b e   c r e a t e d   t h a t   f i t s   o n   t h e   s a m e   N o d e .   I n   t h i s   c a s e ,   t h e   s c h e d u l e r   w i l l   s c h e d u l e   t h e   h i g h e r   p r i o r i t y   P o d   i n s t e a d   o f   t h e   p r e e m p t o r .   T h i s   i s   e x p e c t e d   b e h a v i o r :   t h e   P o d   w i t h   t h e   h i g h e r   p r i o r i t y   s h o u l d   t a k e   t h e   p l a c e   o f   a   P o d   w i t h   a   l o w e r   p r i o r i t y .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_section_3_9104"
  },
  {
    "question": "What is Higher priority Pods are preempted before lower priority pods?",
    "answer": "T h e   s c h e d u l e r   t r i e s   t o   f i n d   n o d e s   t h a t   c a n   r u n   a   p e n d i n g   P o d .   I f   n o   n o d e   i s   f o u n d ,   t h e   s c h e d u l e r   t r i e s   t o   r e m o v e   P o d s   w i t h   l o w e r   p r i o r i t y   f r o m   a n   a r b i t r a r y   n o d e   i n   o r d e r   t o   m a k e   r o o m   f o r   t h e   p e n d i n g   p o d .   I f   a   n o d e   w i t h   l o w   p r i o r i t y   P o d s   i s   n o t   f e a s i b l e   t o   r u n   t h e   p e n d i n g   P o d ,   t h e   s c h e d u l e r   m a y   c h o o s e   a n o t h e r   n o d e   w i t h   h i g h e r   p r i o r i t y   P o d s   ( c o m p a r e d   t o   t h e   P o d s   o n   t h e   o t h e r   n o d e )   f o r   p r e e m p t i o n .   T h e   v i c t i m s   m u s t   s t i l l   h a v e   l o w e r   p r i o r i t y   t h a n   t h e   p r e e m p t o r   P o d .   W h e n   t h e r e   a r e   m u l t i p l e   n o d e s   a v a i l a b l e   f o r   p r e e m p t i o n ,   t h e   s c h e d u l e r   t r i e s   t o   c h o o s e   t h e   n o d e   w i t h   a   s e t   o f   P o d s   w i t h   l o w e s t   p r i o r i t y .   H o w e v e r ,   i f   s u c h   P o d s   h a v e   P o d D i s r u p t i o n B u d g e t   t h a t   w o u l d   b e   v i o l a t e d   i f   t h e y   a r e   p r e e m p t e d   t h e n   t h e   s c h e d u l e r   m a y   c h o o s e   a n o t h e r   n o d e   w i t h   h i g h e r   p r i o r i t y   P o d s .   W h e n   m u l t i p l e   n o d e s   e x i s t   f o r   p r e e m p t i o n   a n d   n o n e   o f   t h e   a b o v e   s c e n a r i o s   a p p l y ,   t h e   s c h e d u l e r   c h o o s e s   a   n o d e   w i t h   t h e   l o w e s t   p r i o r i t y .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_section_3_9105"
  },
  {
    "question": "What is Interactions between Pod priority and quality of service?",
    "answer": "P o d   p r i o r i t y   a n d   Q o S   c l a s s   a r e   t w o   o r t h o g o n a l   f e a t u r e s   w i t h   f e w   i n t e r a c t i o n s   a n d   n o   d e f a u l t   r e s t r i c t i o n s   o n   s e t t i n g   t h e   p r i o r i t y   o f   a   P o d   b a s e d   o n   i t s   Q o S   c l a s s e s .   T h e   s c h e d u l e r ' s   p r e e m p t i o n   l o g i c   d o e s   n o t   c o n s i d e r   Q o S   w h e n   c h o o s i n g   p r e e m p t i o n   t a r g e t s .   P r e e m p t i o n   c o n s i d e r s   P o d   p r i o r i t y   a n d   a t t e m p t s   t o   c h o o s e   a   s e t   o f   t a r g e t s   w i t h   t h e   l o w e s t   p r i o r i t y .   H i g h e r - p r i o r i t y   P o d s   a r e   c o n s i d e r e d   f o r   p r e e m p t i o n   o n l y   i f   t h e   r e m o v a l   o f   t h e   l o w e s t   p r i o r i t y   P o d s   i s   n o t   s u f f i c i e n t   t o   a l l o w   t h e   s c h e d u l e r   t o   s c h e d u l e   t h e   p r e e m p t o r   P o d ,   o r   i f   t h e   l o w e s t   p r i o r i t y   P o d s   a r e   p r o t e c t e d   b y   P o d D i s r u p t i o n B u d g e t .   T h e   k u b e l e t   u s e s   P r i o r i t y   t o   d e t e r m i n e   p o d   o r d e r   f o r   n o d e - p r e s s u r e   e v i c t i o n .   Y o u   c a n   u s e   t h e   Q o S   c l a s s   t o   e s t i m a t e   t h e   o r d e r   i n   w h i c h   p o d s   a r e   m o s t   l i k e l y   t o   g e t   e v i c t e d .   T h e   k u b e l e t   r a n k s   p o d s   f o r   e v i c t i o n   b a s e d   o n   t h e   f o l l o w i n g   f a c t o r s :   W h e t h e r   t h e   s t a r v e d   r e s o u r c e   u s a g e   e x c e e d s   r e q u e s t s P o d   P r i o r i t y A m o u n t   o f   r e s o u r c e   u s a g e   r e l a t i v e   t o   r e q u e s t s   S e e   P o d   s e l e c t i o n   f o r   k u b e l e t   e v i c t i o n   f o r   m o r e   d e t a i l s .   k u ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_section_2_9106"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   u s i n g   R e s o u r c e Q u o t a s   i n   c o n n e c t i o n   w i t h   P r i o r i t y C l a s s e s :   l i m i t   P r i o r i t y   C l a s s   c o n s u m p t i o n   b y   d e f a u l t L e a r n   a b o u t   P o d   D i s r u p t i o n L e a r n   a b o u t   A P I - i n i t i a t e d   E v i c t i o n L e a r n   a b o u t   N o d e - p r e s s u r e   E v i c t i o n",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/",
    "id": "k8s_00477_section_2_9107"
  },
  {
    "question": "What is Event Rate Limit Configuration (v1alpha1)?",
    "answer": "Event Rate Limit Configuration (v1alpha1)Resource TypesConfigurationConfigurationConfiguration provides configuration for the EventRateLimit admission controller.FieldDescriptionapiVersionstringeventratelimit.admission.k8s.io/v1alpha1kindstringConfigurationlimits [Required][]Limitlimits are the limits to place on event queries received. Limits can be placed on events received server-wide, per namespace, per user, and per source+object. At least one limit is required.LimitAppears in:ConfigurationLimit is the configuration for a particular limit typeFieldDescriptiontype [Required]LimitTypetype is the type of limit to which this configuration appliesqps [Required]int32qps is the number of event queries per second that are allowed for this type of limit. The qps and burst fields are used together to determine if a particular event query is accepted. The qps determines how many queries are accepted once the burst amount of queries has been exhausted.burst [Required]int32burst is the burst number of event queries that are allowed for this type of limit. The qps and burst fields are used together to determine if a particular event query is accepted. The burst determines the maximum size of the allowance granted for a particular bucket. For example, if the burst is 10 and the qps is 3, then the admission control will accept 10 queries before blocking any queries. Every second, 3 more queries will be allowed. If some of that allowance is not used, then it will roll over to the next second, until the maximum allowance of 10 is reached.cacheSizeint32cacheSize is the size of the LRU cache for this type of limit. If a bucket is evicted from the cache, then the allowance for that bucket is reset. If more queries are later received for an evicted bucket, then that bucket will re-enter the cache with a clean slate, giving that bucket a full allowance of burst queries.The default cache size is 4096.If limitType is 'server', then cacheSize is ignored.LimitType(Alias of string)Appears in:LimitLimitType is the type of the limit (e.g., per-namespace)This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-eventratelimit.v1alpha1/",
    "id": "k8s_00478_qa_9108"
  },
  {
    "question": "How does Event Rate Limit Configuration (v1alpha1) work?",
    "answer": "Event Rate Limit Configuration (v1alpha1)Resource TypesConfigurationConfigurationConfiguration provides configuration for the EventRateLimit admission controller.FieldDescriptionapiVersionstringeventratelimit.admission.k8s.io/v1alpha1kindstringConfigurationlimits [Required][]Limitlimits are the limits to place on event queries received. Limits can be placed on events received server-wide, per namespace, per user, and per source+object. At least one limit is required.LimitAppears in:ConfigurationLimit is the configuration for a particular limit typeFieldDescriptiontype [Required]LimitTypetype is the type of limit to which this configuration appliesqps [Required]int32qps is the number of event queries per second that are allowed for this type of limit. The qps and burst fields are used together to determine if a particular event query is accepted. The qps determines how many queries are accepted once the burst amount of queries has been exhausted.burst [Required]int32burst is the burst number of event queries that are allowed for this type of limit. The qps and burst fields are used together to determine if a particular event query is accepted. The burst determines the maximum size of the allowance granted for a particular bucket. For example, if the burst is 10 and the qps is 3, then the admission control will accept 10 queries before blocking any queries. Every second, 3 more queries will be allowed. If some of that allowance is not used, then it will roll over to the next second, until the maximum allowance of 10 is reached.cacheSizeint32cacheSize is the size of the LRU cache for this type of limit. If a bucket is evicted from the cache, then the allowance for that bucket is reset. If more queries are later received for an evicted bucket, then that bucket will re-enter the cache with a clean slate, giving that bucket a full allowance of burst queries.The default cache size is 4096.If limitType is 'server', then cacheSize is ignored.LimitType(Alias of string)Appears in:LimitLimitType is the type of the limit (e.g., per-namespace)This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-eventratelimit.v1alpha1/",
    "id": "k8s_00478_qa_9109"
  },
  {
    "question": "When would you use Event Rate Limit Configuration (v1alpha1)?",
    "answer": "Event Rate Limit Configuration (v1alpha1)Resource TypesConfigurationConfigurationConfiguration provides configuration for the EventRateLimit admission controller.FieldDescriptionapiVersionstringeventratelimit.admission.k8s.io/v1alpha1kindstringConfigurationlimits [Required][]Limitlimits are the limits to place on event queries received. Limits can be placed on events received server-wide, per namespace, per user, and per source+object. At least one limit is required.LimitAppears in:ConfigurationLimit is the configuration for a particular limit typeFieldDescriptiontype [Required]LimitTypetype is the type of limit to which this configuration appliesqps [Required]int32qps is the number of event queries per second that are allowed for this type of limit. The qps and burst fields are used together to determine if a particular event query is accepted. The qps determines how many queries are accepted once the burst amount of queries has been exhausted.burst [Required]int32burst is the burst number of event queries that are allowed for this type of limit. The qps and burst fields are used together to determine if a particular event query is accepted. The burst determines the maximum size of the allowance granted for a particular bucket. For example, if the burst is 10 and the qps is 3, then the admission control will accept 10 queries before blocking any queries. Every second, 3 more queries will be allowed. If some of that allowance is not used, then it will roll over to the next second, until the maximum allowance of 10 is reached.cacheSizeint32cacheSize is the size of the LRU cache for this type of limit. If a bucket is evicted from the cache, then the allowance for that bucket is reset. If more queries are later received for an evicted bucket, then that bucket will re-enter the cache with a clean slate, giving that bucket a full allowance of burst queries.The default cache size is 4096.If limitType is 'server', then cacheSize is ignored.LimitType(Alias of string)Appears in:LimitLimitType is the type of the limit (e.g., per-namespace)This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-eventratelimit.v1alpha1/",
    "id": "k8s_00478_qa_9110"
  },
  {
    "question": "What are the benefits of Event Rate Limit Configuration (v1alpha1)?",
    "answer": "Event Rate Limit Configuration (v1alpha1)Resource TypesConfigurationConfigurationConfiguration provides configuration for the EventRateLimit admission controller.FieldDescriptionapiVersionstringeventratelimit.admission.k8s.io/v1alpha1kindstringConfigurationlimits [Required][]Limitlimits are the limits to place on event queries received. Limits can be placed on events received server-wide, per namespace, per user, and per source+object. At least one limit is required.LimitAppears in:ConfigurationLimit is the configuration for a particular limit typeFieldDescriptiontype [Required]LimitTypetype is the type of limit to which this configuration appliesqps [Required]int32qps is the number of event queries per second that are allowed for this type of limit. The qps and burst fields are used together to determine if a particular event query is accepted. The qps determines how many queries are accepted once the burst amount of queries has been exhausted.burst [Required]int32burst is the burst number of event queries that are allowed for this type of limit. The qps and burst fields are used together to determine if a particular event query is accepted. The burst determines the maximum size of the allowance granted for a particular bucket. For example, if the burst is 10 and the qps is 3, then the admission control will accept 10 queries before blocking any queries. Every second, 3 more queries will be allowed. If some of that allowance is not used, then it will roll over to the next second, until the maximum allowance of 10 is reached.cacheSizeint32cacheSize is the size of the LRU cache for this type of limit. If a bucket is evicted from the cache, then the allowance for that bucket is reset. If more queries are later received for an evicted bucket, then that bucket will re-enter the cache with a clean slate, giving that bucket a full allowance of burst queries.The default cache size is 4096.If limitType is 'server', then cacheSize is ignored.LimitType(Alias of string)Appears in:LimitLimitType is the type of the limit (e.g., per-namespace)This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-eventratelimit.v1alpha1/",
    "id": "k8s_00478_qa_9111"
  },
  {
    "question": "What is Resource Types?",
    "answer": "C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-eventratelimit.v1alpha1/",
    "id": "k8s_00478_section_2_9112"
  },
  {
    "question": "What is Configuration?",
    "answer": "C o n f i g u r a t i o n   p r o v i d e s   c o n f i g u r a t i o n   f o r   t h e   E v e n t R a t e L i m i t   a d m i s s i o n   c o n t r o l l e r .   l i m i t s   a r e   t h e   l i m i t s   t o   p l a c e   o n   e v e n t   q u e r i e s   r e c e i v e d .   L i m i t s   c a n   b e   p l a c e d   o n   e v e n t s   r e c e i v e d   s e r v e r - w i d e ,   p e r   n a m e s p a c e ,   p e r   u s e r ,   a n d   p e r   s o u r c e + o b j e c t .   A t   l e a s t   o n e   l i m i t   i s   r e q u i r e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-eventratelimit.v1alpha1/",
    "id": "k8s_00478_section_2_9113"
  },
  {
    "question": "What is Limit?",
    "answer": "A p p e a r s   i n :   C o n f i g u r a t i o n   L i m i t   i s   t h e   c o n f i g u r a t i o n   f o r   a   p a r t i c u l a r   l i m i t   t y p e   t y p e   i s   t h e   t y p e   o f   l i m i t   t o   w h i c h   t h i s   c o n f i g u r a t i o n   a p p l i e s   q p s   i s   t h e   n u m b e r   o f   e v e n t   q u e r i e s   p e r   s e c o n d   t h a t   a r e   a l l o w e d   f o r   t h i s   t y p e   o f   l i m i t .   T h e   q p s   a n d   b u r s t   f i e l d s   a r e   u s e d   t o g e t h e r   t o   d e t e r m i n e   i f   a   p a r t i c u l a r   e v e n t   q u e r y   i s   a c c e p t e d .   T h e   q p s   d e t e r m i n e s   h o w   m a n y   q u e r i e s   a r e   a c c e p t e d   o n c e   t h e   b u r s t   a m o u n t   o f   q u e r i e s   h a s   b e e n   e x h a u s t e d .   b u r s t   i s   t h e   b u r s t   n u m b e r   o f   e v e n t   q u e r i e s   t h a t   a r e   a l l o w e d   f o r   t h i s   t y p e   o f   l i m i t .   T h e   q p s   a n d   b u r s t   f i e l d s   a r e   u s e d   t o g e t h e r   t o   d e t e r m i n e   i f   a   p a r t i c u l a r   e v e n t   q u e r y   i s   a c c e p t e d .   T h e   b u r s t   d e t e r m i n e s   t h e   m a x i m u m   s i z e   o f   t h e   a l l o w a n c e   g r a n t e d   f o r   a   p a r t i c u l a r   b u c k e t .   F o r   e x a m p l e ,   i f   t h e   b u r s t   i s   1 0   a n d   t h e   q p s   i s   3 ,   t h e n   t h e   a d m i s s i o n   c o n t r o l   w i l l   a c c e p t   1 0   q u e r i e s   b e f o r e   b l o c k i n g   a n y   q u e r i e s .   E v e r y   s e c o n d ,   3   m o r e   q u e r i e s   w i l l   b e   a l l o w e d .   I f   s o m e   o f   t h a t   a l l o w a n c e   i s   n o t   u s e d ,   t h e n   i t   w i l l   r o l l   o v e r   t o   t h e   n e x t   s e c o n d ,   u n t i l   t h e   m a x i m u m   a l l o w a n c e   o f   1 0   i s   r e a c h e d . ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-eventratelimit.v1alpha1/",
    "id": "k8s_00478_section_2_9114"
  },
  {
    "question": "What is LimitType?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   L i m i t   L i m i t T y p e   i s   t h e   t y p e   o f   t h e   l i m i t   ( e . g . ,   p e r - n a m e s p a c e )   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-eventratelimit.v1alpha1/",
    "id": "k8s_00478_section_2_9115"
  },
  {
    "question": "What is Allocate Devices to Workloads with DRA?",
    "answer": "Allocate Devices to Workloads with DRAFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)This page shows you how to allocate devices to your Pods by using dynamic resource allocation (DRA). These instructions are for workload operators. Before reading this page, familiarize yourself with how DRA works and with DRA terminology like ResourceClaims and ResourceClaimTemplates. For more information, see Dynamic Resource Allocation (DRA).About device allocation with DRAAs a workload operator, you can claim devices for your workloads by creating ResourceClaims or ResourceClaimTemplates. When you deploy your workload, Kubernetes and the device drivers find available devices, allocate them to your Pods, and place the Pods on nodes that can access those devices.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be version v1.34.To check the version, enter kubectl version.Ensure that your cluster admin has set up DRA, attached devices, and installed drivers. For more information, see Set Up DRA in a Cluster.Identify devices to claimYour cluster administrator or the device drivers create DeviceClasses that define categories of devices. You can claim devices by using Common Expression Language to filter for specific device properties.Get a list of DeviceClasses in the cluster:kubectl get deviceclasses The output is similar to the following:NAME AGE driver.example.com 16m If you get a permission error, you might not have access to get DeviceClasses. Check with your cluster administrator or with the driver provider for available device properties.Claim resourcesYou can request resources from a DeviceClass by using ResourceClaims. To create a ResourceClaim, do one of the following:Manually create a ResourceClaim if you want multiple Pods to share access to the same devices, or if you want a claim to exist beyond the lifetime of a Pod.Use a ResourceClaimTemplate to let Kubernetes generate and manage per-Pod ResourceClaims. Create a ResourceClaimTemplate if you want every Pod to have access to separate devices that have similar configurations. For example, you might want simultaneous access to devices for Pods in a Job that uses parallel execution.If you directly reference a specific ResourceClaim in a Pod, that ResourceClaim must already exist in the cluster. If a referenced ResourceClaim doesn't exist, the Pod remains in a pending state until the ResourceClaim is created. You can reference an auto-generated ResourceClaim in a Pod, but this isn't recommended because auto-generated ResourceClaims are bound to the lifetime of the Pod that tr",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-resources/allocate-devices-dra/",
    "id": "k8s_00479_qa_9116"
  },
  {
    "question": "How does Allocate Devices to Workloads with DRA work?",
    "answer": "Allocate Devices to Workloads with DRAFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)This page shows you how to allocate devices to your Pods by using dynamic resource allocation (DRA). These instructions are for workload operators. Before reading this page, familiarize yourself with how DRA works and with DRA terminology like ResourceClaims and ResourceClaimTemplates. For more information, see Dynamic Resource Allocation (DRA).About device allocation with DRAAs a workload operator, you can claim devices for your workloads by creating ResourceClaims or ResourceClaimTemplates. When you deploy your workload, Kubernetes and the device drivers find available devices, allocate them to your Pods, and place the Pods on nodes that can access those devices.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be version v1.34.To check the version, enter kubectl version.Ensure that your cluster admin has set up DRA, attached devices, and installed drivers. For more information, see Set Up DRA in a Cluster.Identify devices to claimYour cluster administrator or the device drivers create DeviceClasses that define categories of devices. You can claim devices by using Common Expression Language to filter for specific device properties.Get a list of DeviceClasses in the cluster:kubectl get deviceclasses The output is similar to the following:NAME AGE driver.example.com 16m If you get a permission error, you might not have access to get DeviceClasses. Check with your cluster administrator or with the driver provider for available device properties.Claim resourcesYou can request resources from a DeviceClass by using ResourceClaims. To create a ResourceClaim, do one of the following:Manually create a ResourceClaim if you want multiple Pods to share access to the same devices, or if you want a claim to exist beyond the lifetime of a Pod.Use a ResourceClaimTemplate to let Kubernetes generate and manage per-Pod ResourceClaims. Create a ResourceClaimTemplate if you want every Pod to have access to separate devices that have similar configurations. For example, you might want simultaneous access to devices for Pods in a Job that uses parallel execution.If you directly reference a specific ResourceClaim in a Pod, that ResourceClaim must already exist in the cluster. If a referenced ResourceClaim doesn't exist, the Pod remains in a pending state until the ResourceClaim is created. You can reference an auto-generated ResourceClaim in a Pod, but this isn't recommended because auto-generated ResourceClaims are bound to the lifetime of the Pod that tr",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-resources/allocate-devices-dra/",
    "id": "k8s_00479_qa_9117"
  },
  {
    "question": "When would you use Allocate Devices to Workloads with DRA?",
    "answer": "Allocate Devices to Workloads with DRAFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)This page shows you how to allocate devices to your Pods by using dynamic resource allocation (DRA). These instructions are for workload operators. Before reading this page, familiarize yourself with how DRA works and with DRA terminology like ResourceClaims and ResourceClaimTemplates. For more information, see Dynamic Resource Allocation (DRA).About device allocation with DRAAs a workload operator, you can claim devices for your workloads by creating ResourceClaims or ResourceClaimTemplates. When you deploy your workload, Kubernetes and the device drivers find available devices, allocate them to your Pods, and place the Pods on nodes that can access those devices.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be version v1.34.To check the version, enter kubectl version.Ensure that your cluster admin has set up DRA, attached devices, and installed drivers. For more information, see Set Up DRA in a Cluster.Identify devices to claimYour cluster administrator or the device drivers create DeviceClasses that define categories of devices. You can claim devices by using Common Expression Language to filter for specific device properties.Get a list of DeviceClasses in the cluster:kubectl get deviceclasses The output is similar to the following:NAME AGE driver.example.com 16m If you get a permission error, you might not have access to get DeviceClasses. Check with your cluster administrator or with the driver provider for available device properties.Claim resourcesYou can request resources from a DeviceClass by using ResourceClaims. To create a ResourceClaim, do one of the following:Manually create a ResourceClaim if you want multiple Pods to share access to the same devices, or if you want a claim to exist beyond the lifetime of a Pod.Use a ResourceClaimTemplate to let Kubernetes generate and manage per-Pod ResourceClaims. Create a ResourceClaimTemplate if you want every Pod to have access to separate devices that have similar configurations. For example, you might want simultaneous access to devices for Pods in a Job that uses parallel execution.If you directly reference a specific ResourceClaim in a Pod, that ResourceClaim must already exist in the cluster. If a referenced ResourceClaim doesn't exist, the Pod remains in a pending state until the ResourceClaim is created. You can reference an auto-generated ResourceClaim in a Pod, but this isn't recommended because auto-generated ResourceClaims are bound to the lifetime of the Pod that tr",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-resources/allocate-devices-dra/",
    "id": "k8s_00479_qa_9118"
  },
  {
    "question": "What are the benefits of Allocate Devices to Workloads with DRA?",
    "answer": "Allocate Devices to Workloads with DRAFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)This page shows you how to allocate devices to your Pods by using dynamic resource allocation (DRA). These instructions are for workload operators. Before reading this page, familiarize yourself with how DRA works and with DRA terminology like ResourceClaims and ResourceClaimTemplates. For more information, see Dynamic Resource Allocation (DRA).About device allocation with DRAAs a workload operator, you can claim devices for your workloads by creating ResourceClaims or ResourceClaimTemplates. When you deploy your workload, Kubernetes and the device drivers find available devices, allocate them to your Pods, and place the Pods on nodes that can access those devices.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be version v1.34.To check the version, enter kubectl version.Ensure that your cluster admin has set up DRA, attached devices, and installed drivers. For more information, see Set Up DRA in a Cluster.Identify devices to claimYour cluster administrator or the device drivers create DeviceClasses that define categories of devices. You can claim devices by using Common Expression Language to filter for specific device properties.Get a list of DeviceClasses in the cluster:kubectl get deviceclasses The output is similar to the following:NAME AGE driver.example.com 16m If you get a permission error, you might not have access to get DeviceClasses. Check with your cluster administrator or with the driver provider for available device properties.Claim resourcesYou can request resources from a DeviceClass by using ResourceClaims. To create a ResourceClaim, do one of the following:Manually create a ResourceClaim if you want multiple Pods to share access to the same devices, or if you want a claim to exist beyond the lifetime of a Pod.Use a ResourceClaimTemplate to let Kubernetes generate and manage per-Pod ResourceClaims. Create a ResourceClaimTemplate if you want every Pod to have access to separate devices that have similar configurations. For example, you might want simultaneous access to devices for Pods in a Job that uses parallel execution.If you directly reference a specific ResourceClaim in a Pod, that ResourceClaim must already exist in the cluster. If a referenced ResourceClaim doesn't exist, the Pod remains in a pending state until the ResourceClaim is created. You can reference an auto-generated ResourceClaim in a Pod, but this isn't recommended because auto-generated ResourceClaims are bound to the lifetime of the Pod that tr",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-resources/allocate-devices-dra/",
    "id": "k8s_00479_qa_9119"
  },
  {
    "question": "What is Allocate Devices to Workloads with DRA?",
    "answer": "T h i s   p a g e   s h o w s   y o u   h o w   t o   a l l o c a t e   d e v i c e s   t o   y o u r   P o d s   b y   u s i n g   d y n a m i c   r e s o u r c e   a l l o c a t i o n   ( D R A ) .   T h e s e   i n s t r u c t i o n s   a r e   f o r   w o r k l o a d   o p e r a t o r s .   B e f o r e   r e a d i n g   t h i s   p a g e ,   f a m i l i a r i z e   y o u r s e l f   w i t h   h o w   D R A   w o r k s   a n d   w i t h   D R A   t e r m i n o l o g y   l i k e   R e s o u r c e C l a i m s   a n d   R e s o u r c e C l a i m T e m p l a t e s .   F o r   m o r e   i n f o r m a t i o n ,   s e e   D y n a m i c   R e s o u r c e   A l l o c a t i o n   ( D R A ) .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-resources/allocate-devices-dra/",
    "id": "k8s_00479_section_1_9120"
  },
  {
    "question": "What is About device allocation with DRA?",
    "answer": "A s   a   w o r k l o a d   o p e r a t o r ,   y o u   c a n   c l a i m   d e v i c e s   f o r   y o u r   w o r k l o a d s   b y   c r e a t i n g   R e s o u r c e C l a i m s   o r   R e s o u r c e C l a i m T e m p l a t e s .   W h e n   y o u   d e p l o y   y o u r   w o r k l o a d ,   K u b e r n e t e s   a n d   t h e   d e v i c e   d r i v e r s   f i n d   a v a i l a b l e   d e v i c e s ,   a l l o c a t e   t h e m   t o   y o u r   P o d s ,   a n d   p l a c e   t h e   P o d s   o n   n o d e s   t h a t   c a n   a c c e s s   t h o s e   d e v i c e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-resources/allocate-devices-dra/",
    "id": "k8s_00479_section_2_9121"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   v e r s i o n   v 1 . 3 4 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   E n s u r e   t h a t   y o u r   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-resources/allocate-devices-dra/",
    "id": "k8s_00479_section_2_9122"
  },
  {
    "question": "What is Identify devices to claim?",
    "answer": "Y o u r   c l u s t e r   a d m i n i s t r a t o r   o r   t h e   d e v i c e   d r i v e r s   c r e a t e   D e v i c e C l a s s e s   t h a t   d e f i n e   c a t e g o r i e s   o f   d e v i c e s .   Y o u   c a n   c l a i m   d e v i c e s   b y   u s i n g   C o m m o n   E x p r e s s i o n   L a n g u a g e   t o   f i l t e r   f o r   s p e c i f i c   d e v i c e   p r o p e r t i e s .   G e t   a   l i s t   o f   D e v i c e C l a s s e s   i n   t h e   c l u s t e r :   k u b e c t l   g e t   d e v i c e c l a s s e s   T h e   o u t p u t   i s   s i m i l a r   t o   t h e   f o l l o w i n g :   N A M E   A G E   d r i v e r . e x a m p l e . c o m   1 6 m   I f   y o u   g e t   a   p e r m i s s i o n   e r r o r ,   y o u   m i g h t   n o t   h a v e   a c c e s s   t o   g e t   D e v i c e C l a s s e s .   C h e c k   w i t h   y o u r   c l u s t e r   a d m i n i s t r a t o r   o r   w i t h   t h e   d r i v e r   p r o v i d e r   f o r   a v a i l a b l e   d e v i c e   p r o p e r t i e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-resources/allocate-devices-dra/",
    "id": "k8s_00479_section_2_9123"
  },
  {
    "question": "What is Claim resources?",
    "answer": "Y o u   c a n   r e q u e s t   r e s o u r c e s   f r o m   a   D e v i c e C l a s s   b y   u s i n g   R e s o u r c e C l a i m s .   T o   c r e a t e   a   R e s o u r c e C l a i m ,   d o   o n e   o f   t h e   f o l l o w i n g :   M a n u a l l y   c r e a t e   a   R e s o u r c e C l a i m   i f   y o u   w a n t   m u l t i p l e   P o d s   t o   s h a r e   a c c e s s   t o   t h e   s a m e   d e v i c e s ,   o r   i f   y o u   w a n t   a   c l a i m   t o   e x i s t   b e y o n d   t h e   l i f e t i m e   o f   a   P o d . U s e   a   R e s o u r c e C l a i m T e m p l a t e   t o   l e t   K u b e r n e t e s   g e n e r a t e   a n d   m a n a g e   p e r - P o d   R e s o u r c e C l a i m s .   C r e a t e   a   R e s o u r c e C l a i m T e m p l a t e   i f   y o u   w a n t   e v e r y   P o d   t o   h a v e   a c c e s s   t o   s e p a r a t e   d e v i c e s   t h a t   h a v e   s i m i l a r   c o n f i g u r a t i o n s .   F o r   e x a m p l e ,   y o u   m i g h t   w a n t   s i m u l t a n e o u s   a c c e s s   t o   d e v i c e s   f o r   P o d s   i n   a   J o b   t h a t   u s e s   p a r a l l e l   e x e c u t i o n .   I f   y o u   d i r e c t l y   r e f e r e n c e   a   s p e c i f i c   R e s o u r c e C l a i m   i n   a   P o d ,   t h a t   R e s o u r c e C l a i m   m u s t   a l r e a d y   e x i s t   i n   t h e   c l u s t e r .   I f   a   r e f e r e n c e d   R e s o u r c e C l a i m   d o e s n ' t   e x i s t ,   t h e   P o d   r e m a i n s   i n   a   p e n d i n g   s t a t e   u n t i l   t h e   R e s o u r c e C l a i m   i s   c r e a t e d .   Y o u   c a n   r e f e r e n c e   a n   a u t o - g e n e r a t e d   R e s o u r c e C l a i m   i n   a   P o d ,   b u t   t h i s   i s n ' t   r e c o m m e n d e d   b e c a u s e   a u t o - g e n e r a t e d   R e s o u r c e C l a i m s   a r e   b o u n d   t o   t h e   l i f e t i m e   o f   t h e   P o d   t h a t   t r i g g ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-resources/allocate-devices-dra/",
    "id": "k8s_00479_section_2_9124"
  },
  {
    "question": "What is Request devices in workloads using DRA?",
    "answer": "T o   r e q u e s t   d e v i c e   a l l o c a t i o n ,   s p e c i f y   a   R e s o u r c e C l a i m   o r   a   R e s o u r c e C l a i m T e m p l a t e   i n   t h e   r e s o u r c e C l a i m s   f i e l d   o f   t h e   P o d   s p e c i f i c a t i o n .   T h e n ,   r e q u e s t   a   s p e c i f i c   c l a i m   b y   n a m e   i n   t h e   r e s o u r c e s . c l a i m s   f i e l d   o f   a   c o n t a i n e r   i n   t h a t   P o d .   Y o u   c a n   s p e c i f y   m u l t i p l e   e n t r i e s   i n   t h e   r e s o u r c e C l a i m s   f i e l d   a n d   u s e   s p e c i f i c   c l a i m s   i n   d i f f e r e n t   c o n t a i n e r s .   R e v i e w   t h e   f o l l o w i n g   e x a m p l e   J o b : d r a / d r a - e x a m p l e - j o b . y a m l   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   e x a m p l e - d r a - j o b   s p e c :   c o m p l e t i o n s :   1 0   p a r a l l e l i s m :   2   t e m p l a t e :   s p e c :   r e s t a r t P o l i c y :   N e v e r   c o n t a i n e r s :   -   n a m e :   c o n t a i n e r 0   i m a g e :   u b u n t u : 2 4 . 0 4   c o m m a n d :   [ \" s l e e p \" ,   \" 9 9 9 9 \" ]   r e s o u r c e s :   c l a i m s :   -   n a m e :   s e p a r a t e - g p u - c l a i m   -   n a m e :   c o n t a i n e r 1   i m a g e :   u b u n t u : 2 4 . 0 4   c o m m a n d :   [ \" s l e e p \" ,   \" 9 9 9 9 \" ]   r e s o u r c e s :   c l a i m s :   -   n a m e :   s h a r e d - g p u - c l a i m   -   n a m e :   c o n t a i n e r 2   i m a g e :   u b u n t u : 2 4 . 0 4   c o m m a n d :   [ \" s l e e p \" ,   \" 9 9 9 9 \" ]   r e s o u r c e s :   c l a i m s :   -   n a m e :   s h a r e d - g p u - c l a i m   r e s o u r c e C l a i m s :   -   n a m e :   s e p a r a t e - g p u - c l a i m   r e s o u r c e C l a i m T e m p l a t e N a m e :   e x a m p l e - r e s o u r c e - c l a i m - t e m p l a t e   -   n a m e :   s h a r e d - g p ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-resources/allocate-devices-dra/",
    "id": "k8s_00479_section_2_9125"
  },
  {
    "question": "What is Clean up?",
    "answer": "T o   d e l e t e   t h e   K u b e r n e t e s   o b j e c t s   t h a t   y o u   c r e a t e d   i n   t h i s   t a s k ,   f o l l o w   t h e s e   s t e p s :   D e l e t e   t h e   e x a m p l e   J o b : k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / d r a - e x a m p l e - j o b . y a m l   T o   d e l e t e   y o u r   r e s o u r c e   c l a i m s ,   r u n   o n e   o f   t h e   f o l l o w i n g   c o m m a n d s : D e l e t e   t h e   R e s o u r c e C l a i m T e m p l a t e : k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / r e s o u r c e c l a i m t e m p l a t e . y a m l   D e l e t e   t h e   R e s o u r c e C l a i m : k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / r e s o u r c e c l a i m . y a m l   D e l e t e   t h e   e x a m p l e   J o b :   k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / d r a - e x a m p l e - j o b . y a m l   T o   d e l e t e   y o u r   r e s o u r c e   c l a i m s ,   r u n   o n e   o f   t h e   f o l l o w i n g   c o m m a n d s :   D e l e t e   t h e   R e s o u r c e C l a i m T e m p l a t e : k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / r e s o u r c e c l a i m t e m p l a t e . y a m l   D e l e t e   t h e   R e s o u r c e C l a i m : k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / r e s o u r c e c l a i m . y a m l   D e l e t e   t h e   R e s o u r c e C l a i m T e m p l a t e :   k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / r e s o u r c e c l a i m t e m p l a t e . y a m l   D e l e t e   t h e   R e s o u r c e C l a i m :   k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / r e s o u r c e c l a i m . y a m l",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-resources/allocate-devices-dra/",
    "id": "k8s_00479_section_2_9126"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   D R A",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-resources/allocate-devices-dra/",
    "id": "k8s_00479_section_2_9127"
  },
  {
    "question": "What is Using Source IP?",
    "answer": "Using Source IPApplications running in a Kubernetes cluster find and communicate with each other, and the outside world, through the Service abstraction. This document explains what happens to the source IP of packets sent to different types of Services, and how you can toggle this behavior according to your needs.Before you beginTerminologyThis document makes use of the following terms:NATNetwork address translationSource NATReplacing the source IP on a packet; in this page, that usually means replacing with the IP address of a node.Destination NATReplacing the destination IP on a packet; in this page, that usually means replacing with the IP address of a PodVIPA virtual IP address, such as the one assigned to every Service in Kuberneteskube-proxyA network daemon that orchestrates Service VIP management on every nodePrerequisitesYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesThe examples use a small nginx webserver that echoes back the source IP of requests it receives through an HTTP header. You can create it as follows:Note:The image in the following command only runs on AMD64 architectures.kubectl create deployment source-ip-app --image=registry.k8s.io/echoserver:1.10 The output is:deployment.apps/source-ip-app created ObjectivesExpose a simple application through various types of ServicesUnderstand how each Service type handles source IP NATUnderstand the tradeoffs involved in preserving source IPSource IP for Services with Type=ClusterIPPackets sent to ClusterIP from within the cluster are never source NAT'd if you're running kube-proxy in iptables mode, (the default). You can query the kube-proxy mode by fetching http://localhost:10249/proxyMode on the node where kube-proxy is running.kubectl get nodes The output is similar to this:NAME STATUS ROLES AGE VERSION kubernetes-node-6jst Ready <none> 2h v1.13.0 kubernetes-node-cx31 Ready <none> 2h v1.13.0 kubernetes-node-jj1t Ready <none> 2h v1.13.0 Get the proxy mode on one of the nodes (kube-proxy listens on port 10249):# Run this in a shell on the node you want to query. curl http://localhost:10249/proxyMode The output is:iptables You can test source IP preservation by creating a Service over the source IP app:kubectl expose deployment source-ip-app --name=clusterip --port=80 --target-port=8080 The output is:service/clusterip exposed kubectl get svc clusterip The output is similar to:NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE clusterip ClusterIP 10.0.170.92 <none> 80/TCP 51s And hitting the ClusterIP from a pod in the same cluster:kubectl run busybox -it --image=busybox:1.28 --restart=Never --rm The output is similar to t",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/source-ip/",
    "id": "k8s_00480_qa_9128"
  },
  {
    "question": "How does Using Source IP work?",
    "answer": "Using Source IPApplications running in a Kubernetes cluster find and communicate with each other, and the outside world, through the Service abstraction. This document explains what happens to the source IP of packets sent to different types of Services, and how you can toggle this behavior according to your needs.Before you beginTerminologyThis document makes use of the following terms:NATNetwork address translationSource NATReplacing the source IP on a packet; in this page, that usually means replacing with the IP address of a node.Destination NATReplacing the destination IP on a packet; in this page, that usually means replacing with the IP address of a PodVIPA virtual IP address, such as the one assigned to every Service in Kuberneteskube-proxyA network daemon that orchestrates Service VIP management on every nodePrerequisitesYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesThe examples use a small nginx webserver that echoes back the source IP of requests it receives through an HTTP header. You can create it as follows:Note:The image in the following command only runs on AMD64 architectures.kubectl create deployment source-ip-app --image=registry.k8s.io/echoserver:1.10 The output is:deployment.apps/source-ip-app created ObjectivesExpose a simple application through various types of ServicesUnderstand how each Service type handles source IP NATUnderstand the tradeoffs involved in preserving source IPSource IP for Services with Type=ClusterIPPackets sent to ClusterIP from within the cluster are never source NAT'd if you're running kube-proxy in iptables mode, (the default). You can query the kube-proxy mode by fetching http://localhost:10249/proxyMode on the node where kube-proxy is running.kubectl get nodes The output is similar to this:NAME STATUS ROLES AGE VERSION kubernetes-node-6jst Ready <none> 2h v1.13.0 kubernetes-node-cx31 Ready <none> 2h v1.13.0 kubernetes-node-jj1t Ready <none> 2h v1.13.0 Get the proxy mode on one of the nodes (kube-proxy listens on port 10249):# Run this in a shell on the node you want to query. curl http://localhost:10249/proxyMode The output is:iptables You can test source IP preservation by creating a Service over the source IP app:kubectl expose deployment source-ip-app --name=clusterip --port=80 --target-port=8080 The output is:service/clusterip exposed kubectl get svc clusterip The output is similar to:NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE clusterip ClusterIP 10.0.170.92 <none> 80/TCP 51s And hitting the ClusterIP from a pod in the same cluster:kubectl run busybox -it --image=busybox:1.28 --restart=Never --rm The output is similar to t",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/source-ip/",
    "id": "k8s_00480_qa_9129"
  },
  {
    "question": "When would you use Using Source IP?",
    "answer": "Using Source IPApplications running in a Kubernetes cluster find and communicate with each other, and the outside world, through the Service abstraction. This document explains what happens to the source IP of packets sent to different types of Services, and how you can toggle this behavior according to your needs.Before you beginTerminologyThis document makes use of the following terms:NATNetwork address translationSource NATReplacing the source IP on a packet; in this page, that usually means replacing with the IP address of a node.Destination NATReplacing the destination IP on a packet; in this page, that usually means replacing with the IP address of a PodVIPA virtual IP address, such as the one assigned to every Service in Kuberneteskube-proxyA network daemon that orchestrates Service VIP management on every nodePrerequisitesYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesThe examples use a small nginx webserver that echoes back the source IP of requests it receives through an HTTP header. You can create it as follows:Note:The image in the following command only runs on AMD64 architectures.kubectl create deployment source-ip-app --image=registry.k8s.io/echoserver:1.10 The output is:deployment.apps/source-ip-app created ObjectivesExpose a simple application through various types of ServicesUnderstand how each Service type handles source IP NATUnderstand the tradeoffs involved in preserving source IPSource IP for Services with Type=ClusterIPPackets sent to ClusterIP from within the cluster are never source NAT'd if you're running kube-proxy in iptables mode, (the default). You can query the kube-proxy mode by fetching http://localhost:10249/proxyMode on the node where kube-proxy is running.kubectl get nodes The output is similar to this:NAME STATUS ROLES AGE VERSION kubernetes-node-6jst Ready <none> 2h v1.13.0 kubernetes-node-cx31 Ready <none> 2h v1.13.0 kubernetes-node-jj1t Ready <none> 2h v1.13.0 Get the proxy mode on one of the nodes (kube-proxy listens on port 10249):# Run this in a shell on the node you want to query. curl http://localhost:10249/proxyMode The output is:iptables You can test source IP preservation by creating a Service over the source IP app:kubectl expose deployment source-ip-app --name=clusterip --port=80 --target-port=8080 The output is:service/clusterip exposed kubectl get svc clusterip The output is similar to:NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE clusterip ClusterIP 10.0.170.92 <none> 80/TCP 51s And hitting the ClusterIP from a pod in the same cluster:kubectl run busybox -it --image=busybox:1.28 --restart=Never --rm The output is similar to t",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/source-ip/",
    "id": "k8s_00480_qa_9130"
  },
  {
    "question": "What are the benefits of Using Source IP?",
    "answer": "Using Source IPApplications running in a Kubernetes cluster find and communicate with each other, and the outside world, through the Service abstraction. This document explains what happens to the source IP of packets sent to different types of Services, and how you can toggle this behavior according to your needs.Before you beginTerminologyThis document makes use of the following terms:NATNetwork address translationSource NATReplacing the source IP on a packet; in this page, that usually means replacing with the IP address of a node.Destination NATReplacing the destination IP on a packet; in this page, that usually means replacing with the IP address of a PodVIPA virtual IP address, such as the one assigned to every Service in Kuberneteskube-proxyA network daemon that orchestrates Service VIP management on every nodePrerequisitesYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesThe examples use a small nginx webserver that echoes back the source IP of requests it receives through an HTTP header. You can create it as follows:Note:The image in the following command only runs on AMD64 architectures.kubectl create deployment source-ip-app --image=registry.k8s.io/echoserver:1.10 The output is:deployment.apps/source-ip-app created ObjectivesExpose a simple application through various types of ServicesUnderstand how each Service type handles source IP NATUnderstand the tradeoffs involved in preserving source IPSource IP for Services with Type=ClusterIPPackets sent to ClusterIP from within the cluster are never source NAT'd if you're running kube-proxy in iptables mode, (the default). You can query the kube-proxy mode by fetching http://localhost:10249/proxyMode on the node where kube-proxy is running.kubectl get nodes The output is similar to this:NAME STATUS ROLES AGE VERSION kubernetes-node-6jst Ready <none> 2h v1.13.0 kubernetes-node-cx31 Ready <none> 2h v1.13.0 kubernetes-node-jj1t Ready <none> 2h v1.13.0 Get the proxy mode on one of the nodes (kube-proxy listens on port 10249):# Run this in a shell on the node you want to query. curl http://localhost:10249/proxyMode The output is:iptables You can test source IP preservation by creating a Service over the source IP app:kubectl expose deployment source-ip-app --name=clusterip --port=80 --target-port=8080 The output is:service/clusterip exposed kubectl get svc clusterip The output is similar to:NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE clusterip ClusterIP 10.0.170.92 <none> 80/TCP 51s And hitting the ClusterIP from a pod in the same cluster:kubectl run busybox -it --image=busybox:1.28 --restart=Never --rm The output is similar to t",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/source-ip/",
    "id": "k8s_00480_qa_9131"
  },
  {
    "question": "What is Using Source IP?",
    "answer": "A p p l i c a t i o n s   r u n n i n g   i n   a   K u b e r n e t e s   c l u s t e r   f i n d   a n d   c o m m u n i c a t e   w i t h   e a c h   o t h e r ,   a n d   t h e   o u t s i d e   w o r l d ,   t h r o u g h   t h e   S e r v i c e   a b s t r a c t i o n .   T h i s   d o c u m e n t   e x p l a i n s   w h a t   h a p p e n s   t o   t h e   s o u r c e   I P   o f   p a c k e t s   s e n t   t o   d i f f e r e n t   t y p e s   o f   S e r v i c e s ,   a n d   h o w   y o u   c a n   t o g g l e   t h i s   b e h a v i o r   a c c o r d i n g   t o   y o u r   n e e d s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/source-ip/",
    "id": "k8s_00480_section_1_9132"
  },
  {
    "question": "What is Terminology?",
    "answer": "T h i s   d o c u m e n t   m a k e s   u s e   o f   t h e   f o l l o w i n g   t e r m s :",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/source-ip/",
    "id": "k8s_00480_section_3_9133"
  },
  {
    "question": "What is Prerequisites?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T h e   e x a m p l e s   u s e   a   s m a l l   n g i n x   w e b s e r v e r   t h a t   e c h o e s   b a c k   t h e   s o u r c e   I P   o f   r e q u e s t s   i t   r e c e i v e s   t h r o u g h   a n   H T T P   h e a d e r .   Y o u   c a n   c r e a t e   i t   a s   f o l l o w s :",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/source-ip/",
    "id": "k8s_00480_section_3_9134"
  },
  {
    "question": "What is Note:?",
    "answer": "k u b e c t l   c r e a t e   d e p l o y m e n t   s o u r c e - i p - a p p   - - i m a g e = r e g i s t r y . k 8 s . i o / e c h o s e r v e r : 1 . 1 0   T h e   o u t p u t   i s :   d e p l o y m e n t . a p p s / s o u r c e - i p - a p p   c r e a t e d",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/source-ip/",
    "id": "k8s_00480_section_4_9135"
  },
  {
    "question": "What is Objectives?",
    "answer": "E x p o s e   a   s i m p l e   a p p l i c a t i o n   t h r o u g h   v a r i o u s   t y p e s   o f   S e r v i c e s U n d e r s t a n d   h o w   e a c h   S e r v i c e   t y p e   h a n d l e s   s o u r c e   I P   N A T U n d e r s t a n d   t h e   t r a d e o f f s   i n v o l v e d   i n   p r e s e r v i n g   s o u r c e   I P",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/source-ip/",
    "id": "k8s_00480_section_2_9136"
  },
  {
    "question": "What is Source IP for Services with Type=ClusterIP?",
    "answer": "P a c k e t s   s e n t   t o   C l u s t e r I P   f r o m   w i t h i n   t h e   c l u s t e r   a r e   n e v e r   s o u r c e   N A T ' d   i f   y o u ' r e   r u n n i n g   k u b e - p r o x y   i n   i p t a b l e s   m o d e ,   ( t h e   d e f a u l t ) .   Y o u   c a n   q u e r y   t h e   k u b e - p r o x y   m o d e   b y   f e t c h i n g   h t t p : / / l o c a l h o s t : 1 0 2 4 9 / p r o x y M o d e   o n   t h e   n o d e   w h e r e   k u b e - p r o x y   i s   r u n n i n g .   k u b e c t l   g e t   n o d e s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   S T A T U S   R O L E S   A G E   V E R S I O N   k u b e r n e t e s - n o d e - 6 j s t   R e a d y   < n o n e >   2 h   v 1 . 1 3 . 0   k u b e r n e t e s - n o d e - c x 3 1   R e a d y   < n o n e >   2 h   v 1 . 1 3 . 0   k u b e r n e t e s - n o d e - j j 1 t   R e a d y   < n o n e >   2 h   v 1 . 1 3 . 0   G e t   t h e   p r o x y   m o d e   o n   o n e   o f   t h e   n o d e s   ( k u b e - p r o x y   l i s t e n s   o n   p o r t   1 0 2 4 9 ) :   #   R u n   t h i s   i n   a   s h e l l   o n   t h e   n o d e   y o u   w a n t   t o   q u e r y .   c u r l   h t t p : / / l o c a l h o s t : 1 0 2 4 9 / p r o x y M o d e   T h e   o u t p u t   i s :   i p t a b l e s   Y o u   c a n   t e s t   s o u r c e   I P   p r e s e r v a t i o n   b y   c r e a t i n g   a   S e r v i c e   o v e r   t h e   s o u r c e   I P   a p p :   k u b e c t l   e x p o s e   d e p l o y m e n t   s o u r c e - i p - a p p   - - n a m e = c l u s t e r i p   - - p o r t = 8 0   - - t a r g e t - p o r t = 8 0 8 0   T h e   o u t p u t   i s :   s e r v i c e / c l u s t e r i p   e x p o s e d   k u b e c t l   g e t   s v c   c l u s t e r i p   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   c l u s t e r i p   C l u s t e r I P   1 0 . 0 . 1 7 0 . 9 2   < n o ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/source-ip/",
    "id": "k8s_00480_section_2_9137"
  },
  {
    "question": "What is Source IP for Services with Type=NodePort?",
    "answer": "P a c k e t s   s e n t   t o   S e r v i c e s   w i t h   T y p e = N o d e P o r t   a r e   s o u r c e   N A T ' d   b y   d e f a u l t .   Y o u   c a n   t e s t   t h i s   b y   c r e a t i n g   a   N o d e P o r t   S e r v i c e :   k u b e c t l   e x p o s e   d e p l o y m e n t   s o u r c e - i p - a p p   - - n a m e = n o d e p o r t   - - p o r t = 8 0   - - t a r g e t - p o r t = 8 0 8 0   - - t y p e = N o d e P o r t   T h e   o u t p u t   i s :   s e r v i c e / n o d e p o r t   e x p o s e d   N O D E P O R T = $ ( k u b e c t l   g e t   - o   j s o n p a t h = \" { . s p e c . p o r t s [ 0 ] . n o d e P o r t } \"   s e r v i c e s   n o d e p o r t )   N O D E S = $ ( k u b e c t l   g e t   n o d e s   - o   j s o n p a t h = ' {   $ . i t e m s [ * ] . s t a t u s . a d d r e s s e s [ ? ( @ . t y p e = = \" I n t e r n a l I P \" ) ] . a d d r e s s   } ' )   I f   y o u ' r e   r u n n i n g   o n   a   c l o u d   p r o v i d e r ,   y o u   m a y   n e e d   t o   o p e n   u p   a   f i r e w a l l - r u l e   f o r   t h e   n o d e s : n o d e p o r t   r e p o r t e d   a b o v e .   N o w   y o u   c a n   t r y   r e a c h i n g   t h e   S e r v i c e   f r o m   o u t s i d e   t h e   c l u s t e r   t h r o u g h   t h e   n o d e   p o r t   a l l o c a t e d   a b o v e .   f o r   n o d e   i n   $ N O D E S ;   d o   c u r l   - s   $ n o d e : $ N O D E P O R T   |   g r e p   - i   c l i e n t _ a d d r e s s ;   d o n e   T h e   o u t p u t   i s   s i m i l a r   t o :   c l i e n t _ a d d r e s s = 1 0 . 1 8 0 . 1 . 1   c l i e n t _ a d d r e s s = 1 0 . 2 4 0 . 0 . 5   c l i e n t _ a d d r e s s = 1 0 . 2 4 0 . 0 . 3   N o t e   t h a t   t h e s e   a r e   n o t   t h e   c o r r e c t   c l i e n t   I P s ,   t h e y ' r e   c l u s t e r   i n t e r n a l   I P s .   T h i s   i s   w h a t   h a p p e n s :   C l i e n t   s e n d s   p a c k e t   t o   n o d e 2 : n o d e P o r t n o d e 2   r e p l ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/source-ip/",
    "id": "k8s_00480_section_2_9138"
  },
  {
    "question": "What is Source IP for Services with Type=LoadBalancer?",
    "answer": "P a c k e t s   s e n t   t o   S e r v i c e s   w i t h   T y p e = L o a d B a l a n c e r   a r e   s o u r c e   N A T ' d   b y   d e f a u l t ,   b e c a u s e   a l l   s c h e d u l a b l e   K u b e r n e t e s   n o d e s   i n   t h e   R e a d y   s t a t e   a r e   e l i g i b l e   f o r   l o a d - b a l a n c e d   t r a f f i c .   S o   i f   p a c k e t s   a r r i v e   a t   a   n o d e   w i t h o u t   a n   e n d p o i n t ,   t h e   s y s t e m   p r o x i e s   i t   t o   a   n o d e   w i t h   a n   e n d p o i n t ,   r e p l a c i n g   t h e   s o u r c e   I P   o n   t h e   p a c k e t   w i t h   t h e   I P   o f   t h e   n o d e   ( a s   d e s c r i b e d   i n   t h e   p r e v i o u s   s e c t i o n ) .   Y o u   c a n   t e s t   t h i s   b y   e x p o s i n g   t h e   s o u r c e - i p - a p p   t h r o u g h   a   l o a d   b a l a n c e r :   k u b e c t l   e x p o s e   d e p l o y m e n t   s o u r c e - i p - a p p   - - n a m e = l o a d b a l a n c e r   - - p o r t = 8 0   - - t a r g e t - p o r t = 8 0 8 0   - - t y p e = L o a d B a l a n c e r   T h e   o u t p u t   i s :   s e r v i c e / l o a d b a l a n c e r   e x p o s e d   P r i n t   o u t   t h e   I P   a d d r e s s e s   o f   t h e   S e r v i c e :   k u b e c t l   g e t   s v c   l o a d b a l a n c e r   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   l o a d b a l a n c e r   L o a d B a l a n c e r   1 0 . 0 . 6 5 . 1 1 8   2 0 3 . 0 . 1 1 3 . 1 4 0   8 0 / T C P   5 m   N e x t ,   s e n d   a   r e q u e s t   t o   t h i s   S e r v i c e ' s   e x t e r n a l - i p :   c u r l   2 0 3 . 0 . 1 1 3 . 1 4 0   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   C L I E N T   V A L U E S :   c l i e n t _ a d d r e s s = 1 0 . 2 4 0 . 0 . 5   . . .   H o w e v e r ,   i f   y o u ' r e   r u n n i n g   o n   G o o g l e ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/source-ip/",
    "id": "k8s_00480_section_2_9139"
  },
  {
    "question": "What is Cross-platform support?",
    "answer": "O n l y   s o m e   c l o u d   p r o v i d e r s   o f f e r   s u p p o r t   f o r   s o u r c e   I P   p r e s e r v a t i o n   t h r o u g h   S e r v i c e s   w i t h   T y p e = L o a d B a l a n c e r .   T h e   c l o u d   p r o v i d e r   y o u ' r e   r u n n i n g   o n   m i g h t   f u l f i l l   t h e   r e q u e s t   f o r   a   l o a d b a l a n c e r   i n   a   f e w   d i f f e r e n t   w a y s :   W i t h   a   p r o x y   t h a t   t e r m i n a t e s   t h e   c l i e n t   c o n n e c t i o n   a n d   o p e n s   a   n e w   c o n n e c t i o n   t o   y o u r   n o d e s / e n d p o i n t s .   I n   s u c h   c a s e s   t h e   s o u r c e   I P   w i l l   a l w a y s   b e   t h a t   o f   t h e   c l o u d   L B ,   n o t   t h a t   o f   t h e   c l i e n t . W i t h   a   p a c k e t   f o r w a r d e r ,   s u c h   t h a t   r e q u e s t s   f r o m   t h e   c l i e n t   s e n t   t o   t h e   l o a d b a l a n c e r   V I P   e n d   u p   a t   t h e   n o d e   w i t h   t h e   s o u r c e   I P   o f   t h e   c l i e n t ,   n o t   a n   i n t e r m e d i a t e   p r o x y .   W i t h   a   p r o x y   t h a t   t e r m i n a t e s   t h e   c l i e n t   c o n n e c t i o n   a n d   o p e n s   a   n e w   c o n n e c t i o n   t o   y o u r   n o d e s / e n d p o i n t s .   I n   s u c h   c a s e s   t h e   s o u r c e   I P   w i l l   a l w a y s   b e   t h a t   o f   t h e   c l o u d   L B ,   n o t   t h a t   o f   t h e   c l i e n t .   W i t h   a   p a c k e t   f o r w a r d e r ,   s u c h   t h a t   r e q u e s t s   f r o m   t h e   c l i e n t   s e n t   t o   t h e   l o a d b a l a n c e r   V I P   e n d   u p   a t   t h e   n o d e   w i t h   t h e   s o u r c e   I P   o f   t h e   c l i e n t ,   n o t   a n   i n t e r m e d i a t e   p r o x y .   L o a d   b a l a n c e r s   i n   t h e   f i r s t   c a t e g o r y   m u s t   u s e   a n   a g r e e d   u p o n   p r o ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/source-ip/",
    "id": "k8s_00480_section_2_9140"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "D e l e t e   t h e   S e r v i c e s :   k u b e c t l   d e l e t e   s v c   - l   a p p = s o u r c e - i p - a p p   D e l e t e   t h e   D e p l o y m e n t ,   R e p l i c a S e t   a n d   P o d :   k u b e c t l   d e l e t e   d e p l o y m e n t   s o u r c e - i p - a p p",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/source-ip/",
    "id": "k8s_00480_section_2_9141"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   c o n n e c t i n g   a p p l i c a t i o n s   v i a   s e r v i c e s R e a d   h o w   t o   C r e a t e   a n   E x t e r n a l   L o a d   B a l a n c e r",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/source-ip/",
    "id": "k8s_00480_section_2_9142"
  },
  {
    "question": "What is Updating Reference Documentation?",
    "answer": "Updating Reference DocumentationThe topics in this section document how to generate the Kubernetes reference guides.To build the reference documentation, see the following guide:Generating Reference Documentation QuickstartContributing to the Upstream Kubernetes CodeGenerating Reference Documentation for the Kubernetes APIGenerating Reference Documentation for kubectl CommandsGenerating Reference Documentation for MetricsGenerating Reference Pages for Kubernetes Components and Tools",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/",
    "id": "k8s_00481_qa_9143"
  },
  {
    "question": "How does Updating Reference Documentation work?",
    "answer": "Updating Reference DocumentationThe topics in this section document how to generate the Kubernetes reference guides.To build the reference documentation, see the following guide:Generating Reference Documentation QuickstartContributing to the Upstream Kubernetes CodeGenerating Reference Documentation for the Kubernetes APIGenerating Reference Documentation for kubectl CommandsGenerating Reference Documentation for MetricsGenerating Reference Pages for Kubernetes Components and Tools",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/",
    "id": "k8s_00481_qa_9144"
  },
  {
    "question": "When would you use Updating Reference Documentation?",
    "answer": "Updating Reference DocumentationThe topics in this section document how to generate the Kubernetes reference guides.To build the reference documentation, see the following guide:Generating Reference Documentation QuickstartContributing to the Upstream Kubernetes CodeGenerating Reference Documentation for the Kubernetes APIGenerating Reference Documentation for kubectl CommandsGenerating Reference Documentation for MetricsGenerating Reference Pages for Kubernetes Components and Tools",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/",
    "id": "k8s_00481_qa_9145"
  },
  {
    "question": "What are the benefits of Updating Reference Documentation?",
    "answer": "Updating Reference DocumentationThe topics in this section document how to generate the Kubernetes reference guides.To build the reference documentation, see the following guide:Generating Reference Documentation QuickstartContributing to the Upstream Kubernetes CodeGenerating Reference Documentation for the Kubernetes APIGenerating Reference Documentation for kubectl CommandsGenerating Reference Documentation for MetricsGenerating Reference Pages for Kubernetes Components and Tools",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/",
    "id": "k8s_00481_qa_9146"
  },
  {
    "question": "What is Updating Reference Documentation?",
    "answer": "T h e   t o p i c s   i n   t h i s   s e c t i o n   d o c u m e n t   h o w   t o   g e n e r a t e   t h e   K u b e r n e t e s   r e f e r e n c e   g u i d e s .   T o   b u i l d   t h e   r e f e r e n c e   d o c u m e n t a t i o n ,   s e e   t h e   f o l l o w i n g   g u i d e :   G e n e r a t i n g   R e f e r e n c e   D o c u m e n t a t i o n   Q u i c k s t a r t",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/",
    "id": "k8s_00481_section_1_9147"
  },
  {
    "question": "What is Service Accounts?",
    "answer": "Service AccountsLearn about ServiceAccount objects in Kubernetes.This page introduces the ServiceAccount object in Kubernetes, providing information about how service accounts work, use cases, limitations, alternatives, and links to resources for additional guidance.What are service accounts?A service account is a type of non-human account that, in Kubernetes, provides a distinct identity in a Kubernetes cluster. Application Pods, system components, and entities inside and outside the cluster can use a specific ServiceAccount's credentials to identify as that ServiceAccount. This identity is useful in various situations, including authenticating to the API server or implementing identity-based security policies.Service accounts exist as ServiceAccount objects in the API server. Service accounts have the following properties:Namespaced: Each service account is bound to a Kubernetes namespace. Every namespace gets a default ServiceAccount upon creation.Lightweight: Service accounts exist in the cluster and are defined in the Kubernetes API. You can quickly create service accounts to enable specific tasks.Portable: A configuration bundle for a complex containerized workload might include service account definitions for the system's components. The lightweight nature of service accounts and the namespaced identities make the configurations portable.Service accounts are different from user accounts, which are authenticated human users in the cluster. By default, user accounts don't exist in the Kubernetes API server; instead, the API server treats user identities as opaque data. You can authenticate as a user account using multiple methods. Some Kubernetes distributions might add custom extension APIs to represent user accounts in the API server.Comparison between service accounts and usersDescriptionServiceAccountUser or groupLocationKubernetes API (ServiceAccount object)ExternalAccess controlKubernetes RBAC or other authorization mechanismsKubernetes RBAC or other identity and access management mechanismsIntended useWorkloads, automationPeopleDefault service accountsWhen you create a cluster, Kubernetes automatically creates a ServiceAccount object named default for every namespace in your cluster. The default service accounts in each namespace get no permissions by default other than the default API discovery permissions that Kubernetes grants to all authenticated principals if role-based access control (RBAC) is enabled. If you delete the default ServiceAccount object in a namespace, the control plane replaces it with a new one.If you deploy a Pod in a namespace, and you don't manually assign a ServiceAccount to the Pod, Kubernetes assigns the default ServiceAccount for that namespace to the Pod.Use cases for Kubernetes service accountsAs a general guideline, you can use service accounts to provide identities in the following scenarios:Your Pods need to communicate with the Kubernetes API server, for example in situations such as the following:Pro",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/security/service-accounts/",
    "id": "k8s_00482_qa_9148"
  },
  {
    "question": "How does Service Accounts work?",
    "answer": "Service AccountsLearn about ServiceAccount objects in Kubernetes.This page introduces the ServiceAccount object in Kubernetes, providing information about how service accounts work, use cases, limitations, alternatives, and links to resources for additional guidance.What are service accounts?A service account is a type of non-human account that, in Kubernetes, provides a distinct identity in a Kubernetes cluster. Application Pods, system components, and entities inside and outside the cluster can use a specific ServiceAccount's credentials to identify as that ServiceAccount. This identity is useful in various situations, including authenticating to the API server or implementing identity-based security policies.Service accounts exist as ServiceAccount objects in the API server. Service accounts have the following properties:Namespaced: Each service account is bound to a Kubernetes namespace. Every namespace gets a default ServiceAccount upon creation.Lightweight: Service accounts exist in the cluster and are defined in the Kubernetes API. You can quickly create service accounts to enable specific tasks.Portable: A configuration bundle for a complex containerized workload might include service account definitions for the system's components. The lightweight nature of service accounts and the namespaced identities make the configurations portable.Service accounts are different from user accounts, which are authenticated human users in the cluster. By default, user accounts don't exist in the Kubernetes API server; instead, the API server treats user identities as opaque data. You can authenticate as a user account using multiple methods. Some Kubernetes distributions might add custom extension APIs to represent user accounts in the API server.Comparison between service accounts and usersDescriptionServiceAccountUser or groupLocationKubernetes API (ServiceAccount object)ExternalAccess controlKubernetes RBAC or other authorization mechanismsKubernetes RBAC or other identity and access management mechanismsIntended useWorkloads, automationPeopleDefault service accountsWhen you create a cluster, Kubernetes automatically creates a ServiceAccount object named default for every namespace in your cluster. The default service accounts in each namespace get no permissions by default other than the default API discovery permissions that Kubernetes grants to all authenticated principals if role-based access control (RBAC) is enabled. If you delete the default ServiceAccount object in a namespace, the control plane replaces it with a new one.If you deploy a Pod in a namespace, and you don't manually assign a ServiceAccount to the Pod, Kubernetes assigns the default ServiceAccount for that namespace to the Pod.Use cases for Kubernetes service accountsAs a general guideline, you can use service accounts to provide identities in the following scenarios:Your Pods need to communicate with the Kubernetes API server, for example in situations such as the following:Pro",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/security/service-accounts/",
    "id": "k8s_00482_qa_9149"
  },
  {
    "question": "When would you use Service Accounts?",
    "answer": "Service AccountsLearn about ServiceAccount objects in Kubernetes.This page introduces the ServiceAccount object in Kubernetes, providing information about how service accounts work, use cases, limitations, alternatives, and links to resources for additional guidance.What are service accounts?A service account is a type of non-human account that, in Kubernetes, provides a distinct identity in a Kubernetes cluster. Application Pods, system components, and entities inside and outside the cluster can use a specific ServiceAccount's credentials to identify as that ServiceAccount. This identity is useful in various situations, including authenticating to the API server or implementing identity-based security policies.Service accounts exist as ServiceAccount objects in the API server. Service accounts have the following properties:Namespaced: Each service account is bound to a Kubernetes namespace. Every namespace gets a default ServiceAccount upon creation.Lightweight: Service accounts exist in the cluster and are defined in the Kubernetes API. You can quickly create service accounts to enable specific tasks.Portable: A configuration bundle for a complex containerized workload might include service account definitions for the system's components. The lightweight nature of service accounts and the namespaced identities make the configurations portable.Service accounts are different from user accounts, which are authenticated human users in the cluster. By default, user accounts don't exist in the Kubernetes API server; instead, the API server treats user identities as opaque data. You can authenticate as a user account using multiple methods. Some Kubernetes distributions might add custom extension APIs to represent user accounts in the API server.Comparison between service accounts and usersDescriptionServiceAccountUser or groupLocationKubernetes API (ServiceAccount object)ExternalAccess controlKubernetes RBAC or other authorization mechanismsKubernetes RBAC or other identity and access management mechanismsIntended useWorkloads, automationPeopleDefault service accountsWhen you create a cluster, Kubernetes automatically creates a ServiceAccount object named default for every namespace in your cluster. The default service accounts in each namespace get no permissions by default other than the default API discovery permissions that Kubernetes grants to all authenticated principals if role-based access control (RBAC) is enabled. If you delete the default ServiceAccount object in a namespace, the control plane replaces it with a new one.If you deploy a Pod in a namespace, and you don't manually assign a ServiceAccount to the Pod, Kubernetes assigns the default ServiceAccount for that namespace to the Pod.Use cases for Kubernetes service accountsAs a general guideline, you can use service accounts to provide identities in the following scenarios:Your Pods need to communicate with the Kubernetes API server, for example in situations such as the following:Pro",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/security/service-accounts/",
    "id": "k8s_00482_qa_9150"
  },
  {
    "question": "What are the benefits of Service Accounts?",
    "answer": "Service AccountsLearn about ServiceAccount objects in Kubernetes.This page introduces the ServiceAccount object in Kubernetes, providing information about how service accounts work, use cases, limitations, alternatives, and links to resources for additional guidance.What are service accounts?A service account is a type of non-human account that, in Kubernetes, provides a distinct identity in a Kubernetes cluster. Application Pods, system components, and entities inside and outside the cluster can use a specific ServiceAccount's credentials to identify as that ServiceAccount. This identity is useful in various situations, including authenticating to the API server or implementing identity-based security policies.Service accounts exist as ServiceAccount objects in the API server. Service accounts have the following properties:Namespaced: Each service account is bound to a Kubernetes namespace. Every namespace gets a default ServiceAccount upon creation.Lightweight: Service accounts exist in the cluster and are defined in the Kubernetes API. You can quickly create service accounts to enable specific tasks.Portable: A configuration bundle for a complex containerized workload might include service account definitions for the system's components. The lightweight nature of service accounts and the namespaced identities make the configurations portable.Service accounts are different from user accounts, which are authenticated human users in the cluster. By default, user accounts don't exist in the Kubernetes API server; instead, the API server treats user identities as opaque data. You can authenticate as a user account using multiple methods. Some Kubernetes distributions might add custom extension APIs to represent user accounts in the API server.Comparison between service accounts and usersDescriptionServiceAccountUser or groupLocationKubernetes API (ServiceAccount object)ExternalAccess controlKubernetes RBAC or other authorization mechanismsKubernetes RBAC or other identity and access management mechanismsIntended useWorkloads, automationPeopleDefault service accountsWhen you create a cluster, Kubernetes automatically creates a ServiceAccount object named default for every namespace in your cluster. The default service accounts in each namespace get no permissions by default other than the default API discovery permissions that Kubernetes grants to all authenticated principals if role-based access control (RBAC) is enabled. If you delete the default ServiceAccount object in a namespace, the control plane replaces it with a new one.If you deploy a Pod in a namespace, and you don't manually assign a ServiceAccount to the Pod, Kubernetes assigns the default ServiceAccount for that namespace to the Pod.Use cases for Kubernetes service accountsAs a general guideline, you can use service accounts to provide identities in the following scenarios:Your Pods need to communicate with the Kubernetes API server, for example in situations such as the following:Pro",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/security/service-accounts/",
    "id": "k8s_00482_qa_9151"
  },
  {
    "question": "What is Service Accounts?",
    "answer": "T h i s   p a g e   i n t r o d u c e s   t h e   S e r v i c e A c c o u n t   o b j e c t   i n   K u b e r n e t e s ,   p r o v i d i n g   i n f o r m a t i o n   a b o u t   h o w   s e r v i c e   a c c o u n t s   w o r k ,   u s e   c a s e s ,   l i m i t a t i o n s ,   a l t e r n a t i v e s ,   a n d   l i n k s   t o   r e s o u r c e s   f o r   a d d i t i o n a l   g u i d a n c e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/security/service-accounts/",
    "id": "k8s_00482_section_1_9152"
  },
  {
    "question": "What is What are service accounts??",
    "answer": "A   s e r v i c e   a c c o u n t   i s   a   t y p e   o f   n o n - h u m a n   a c c o u n t   t h a t ,   i n   K u b e r n e t e s ,   p r o v i d e s   a   d i s t i n c t   i d e n t i t y   i n   a   K u b e r n e t e s   c l u s t e r .   A p p l i c a t i o n   P o d s ,   s y s t e m   c o m p o n e n t s ,   a n d   e n t i t i e s   i n s i d e   a n d   o u t s i d e   t h e   c l u s t e r   c a n   u s e   a   s p e c i f i c   S e r v i c e A c c o u n t ' s   c r e d e n t i a l s   t o   i d e n t i f y   a s   t h a t   S e r v i c e A c c o u n t .   T h i s   i d e n t i t y   i s   u s e f u l   i n   v a r i o u s   s i t u a t i o n s ,   i n c l u d i n g   a u t h e n t i c a t i n g   t o   t h e   A P I   s e r v e r   o r   i m p l e m e n t i n g   i d e n t i t y - b a s e d   s e c u r i t y   p o l i c i e s .   S e r v i c e   a c c o u n t s   e x i s t   a s   S e r v i c e A c c o u n t   o b j e c t s   i n   t h e   A P I   s e r v e r .   S e r v i c e   a c c o u n t s   h a v e   t h e   f o l l o w i n g   p r o p e r t i e s :   N a m e s p a c e d :   E a c h   s e r v i c e   a c c o u n t   i s   b o u n d   t o   a   K u b e r n e t e s   n a m e s p a c e .   E v e r y   n a m e s p a c e   g e t s   a   d e f a u l t   S e r v i c e A c c o u n t   u p o n   c r e a t i o n . L i g h t w e i g h t :   S e r v i c e   a c c o u n t s   e x i s t   i n   t h e   c l u s t e r   a n d   a r e   d e f i n e d   i n   t h e   K u b e r n e t e s   A P I .   Y o u   c a n   q u i c k l y   c r e a t e   s e r v i c e   a c c o u n t s   t o   e n a b l e   s p e c i f i c   t a s k s . P o r t a b l e :   A   c o n f i g u r a t i o n   b u n d l e   f o r   a   c o m p l e x   c o n t a i n e r i z e d   w o r k l o a d   m i g h t   i n c l u d e   s e r v i c e   a c c o u n t   d e f i n i t i o n s   f o r   t h e   s y s t e m ' s   c o m p o n e n t s .   T h e   l i g h t w e i g h t   n a t u r e   o f   s e r v ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/security/service-accounts/",
    "id": "k8s_00482_section_2_9153"
  },
  {
    "question": "What is Default service accounts?",
    "answer": "W h e n   y o u   c r e a t e   a   c l u s t e r ,   K u b e r n e t e s   a u t o m a t i c a l l y   c r e a t e s   a   S e r v i c e A c c o u n t   o b j e c t   n a m e d   d e f a u l t   f o r   e v e r y   n a m e s p a c e   i n   y o u r   c l u s t e r .   T h e   d e f a u l t   s e r v i c e   a c c o u n t s   i n   e a c h   n a m e s p a c e   g e t   n o   p e r m i s s i o n s   b y   d e f a u l t   o t h e r   t h a n   t h e   d e f a u l t   A P I   d i s c o v e r y   p e r m i s s i o n s   t h a t   K u b e r n e t e s   g r a n t s   t o   a l l   a u t h e n t i c a t e d   p r i n c i p a l s   i f   r o l e - b a s e d   a c c e s s   c o n t r o l   ( R B A C )   i s   e n a b l e d .   I f   y o u   d e l e t e   t h e   d e f a u l t   S e r v i c e A c c o u n t   o b j e c t   i n   a   n a m e s p a c e ,   t h e   c o n t r o l   p l a n e   r e p l a c e s   i t   w i t h   a   n e w   o n e .   I f   y o u   d e p l o y   a   P o d   i n   a   n a m e s p a c e ,   a n d   y o u   d o n ' t   m a n u a l l y   a s s i g n   a   S e r v i c e A c c o u n t   t o   t h e   P o d ,   K u b e r n e t e s   a s s i g n s   t h e   d e f a u l t   S e r v i c e A c c o u n t   f o r   t h a t   n a m e s p a c e   t o   t h e   P o d .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/security/service-accounts/",
    "id": "k8s_00482_section_3_9154"
  },
  {
    "question": "What is Use cases for Kubernetes service accounts?",
    "answer": "A s   a   g e n e r a l   g u i d e l i n e ,   y o u   c a n   u s e   s e r v i c e   a c c o u n t s   t o   p r o v i d e   i d e n t i t i e s   i n   t h e   f o l l o w i n g   s c e n a r i o s :   Y o u r   P o d s   n e e d   t o   c o m m u n i c a t e   w i t h   t h e   K u b e r n e t e s   A P I   s e r v e r ,   f o r   e x a m p l e   i n   s i t u a t i o n s   s u c h   a s   t h e   f o l l o w i n g : P r o v i d i n g   r e a d - o n l y   a c c e s s   t o   s e n s i t i v e   i n f o r m a t i o n   s t o r e d   i n   S e c r e t s . G r a n t i n g   c r o s s - n a m e s p a c e   a c c e s s ,   s u c h   a s   a l l o w i n g   a   P o d   i n   n a m e s p a c e   e x a m p l e   t o   r e a d ,   l i s t ,   a n d   w a t c h   f o r   L e a s e   o b j e c t s   i n   t h e   k u b e - n o d e - l e a s e   n a m e s p a c e . Y o u r   P o d s   n e e d   t o   c o m m u n i c a t e   w i t h   a n   e x t e r n a l   s e r v i c e .   F o r   e x a m p l e ,   a   w o r k l o a d   P o d   r e q u i r e s   a n   i d e n t i t y   f o r   a   c o m m e r c i a l l y   a v a i l a b l e   c l o u d   A P I ,   a n d   t h e   c o m m e r c i a l   p r o v i d e r   a l l o w s   c o n f i g u r i n g   a   s u i t a b l e   t r u s t   r e l a t i o n s h i p . A u t h e n t i c a t i n g   t o   a   p r i v a t e   i m a g e   r e g i s t r y   u s i n g   a n   i m a g e P u l l S e c r e t . A n   e x t e r n a l   s e r v i c e   n e e d s   t o   c o m m u n i c a t e   w i t h   t h e   K u b e r n e t e s   A P I   s e r v e r .   F o r   e x a m p l e ,   a u t h e n t i c a t i n g   t o   t h e   c l u s t e r   a s   p a r t   o f   a   C I / C D   p i p e l i n e . Y o u   u s e   t h i r d - p a r t y   s e c u r i t y   s o f t w a r e   i n   y o u r   c l u s t e r   t h a t   r e l i e s   o n   t h e   S e r v i c e A c c o u n t   i d e n t i t y   o f   d i f f e r e n t   P o d s   t o   g r o u p   t h o s e   ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/security/service-accounts/",
    "id": "k8s_00482_section_2_9155"
  },
  {
    "question": "What is How to use service accounts?",
    "answer": "T o   u s e   a   K u b e r n e t e s   s e r v i c e   a c c o u n t ,   y o u   d o   t h e   f o l l o w i n g :   C r e a t e   a   S e r v i c e A c c o u n t   o b j e c t   u s i n g   a   K u b e r n e t e s   c l i e n t   l i k e   k u b e c t l   o r   a   m a n i f e s t   t h a t   d e f i n e s   t h e   o b j e c t . G r a n t   p e r m i s s i o n s   t o   t h e   S e r v i c e A c c o u n t   o b j e c t   u s i n g   a n   a u t h o r i z a t i o n   m e c h a n i s m   s u c h   a s   R B A C . A s s i g n   t h e   S e r v i c e A c c o u n t   o b j e c t   t o   P o d s   d u r i n g   P o d   c r e a t i o n . I f   y o u ' r e   u s i n g   t h e   i d e n t i t y   f r o m   a n   e x t e r n a l   s e r v i c e ,   r e t r i e v e   t h e   S e r v i c e A c c o u n t   t o k e n   a n d   u s e   i t   f r o m   t h a t   s e r v i c e   i n s t e a d .   C r e a t e   a   S e r v i c e A c c o u n t   o b j e c t   u s i n g   a   K u b e r n e t e s   c l i e n t   l i k e   k u b e c t l   o r   a   m a n i f e s t   t h a t   d e f i n e s   t h e   o b j e c t .   G r a n t   p e r m i s s i o n s   t o   t h e   S e r v i c e A c c o u n t   o b j e c t   u s i n g   a n   a u t h o r i z a t i o n   m e c h a n i s m   s u c h   a s   R B A C .   A s s i g n   t h e   S e r v i c e A c c o u n t   o b j e c t   t o   P o d s   d u r i n g   P o d   c r e a t i o n .   I f   y o u ' r e   u s i n g   t h e   i d e n t i t y   f r o m   a n   e x t e r n a l   s e r v i c e ,   r e t r i e v e   t h e   S e r v i c e A c c o u n t   t o k e n   a n d   u s e   i t   f r o m   t h a t   s e r v i c e   i n s t e a d .   F o r   i n s t r u c t i o n s ,   r e f e r   t o   C o n f i g u r e   S e r v i c e   A c c o u n t s   f o r   P o d s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/security/service-accounts/",
    "id": "k8s_00482_section_2_9156"
  },
  {
    "question": "What is Grant permissions to a ServiceAccount?",
    "answer": "Y o u   c a n   u s e   t h e   b u i l t - i n   K u b e r n e t e s   r o l e - b a s e d   a c c e s s   c o n t r o l   ( R B A C )   m e c h a n i s m   t o   g r a n t   t h e   m i n i m u m   p e r m i s s i o n s   r e q u i r e d   b y   e a c h   s e r v i c e   a c c o u n t .   Y o u   c r e a t e   a   r o l e ,   w h i c h   g r a n t s   a c c e s s ,   a n d   t h e n   b i n d   t h e   r o l e   t o   y o u r   S e r v i c e A c c o u n t .   R B A C   l e t s   y o u   d e f i n e   a   m i n i m u m   s e t   o f   p e r m i s s i o n s   s o   t h a t   t h e   s e r v i c e   a c c o u n t   p e r m i s s i o n s   f o l l o w   t h e   p r i n c i p l e   o f   l e a s t   p r i v i l e g e .   P o d s   t h a t   u s e   t h a t   s e r v i c e   a c c o u n t   d o n ' t   g e t   m o r e   p e r m i s s i o n s   t h a n   a r e   r e q u i r e d   t o   f u n c t i o n   c o r r e c t l y .   F o r   i n s t r u c t i o n s ,   r e f e r   t o   S e r v i c e A c c o u n t   p e r m i s s i o n s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/security/service-accounts/",
    "id": "k8s_00482_section_3_9157"
  },
  {
    "question": "What is Cross-namespace access using a ServiceAccount?",
    "answer": "Y o u   c a n   u s e   R B A C   t o   a l l o w   s e r v i c e   a c c o u n t s   i n   o n e   n a m e s p a c e   t o   p e r f o r m   a c t i o n s   o n   r e s o u r c e s   i n   a   d i f f e r e n t   n a m e s p a c e   i n   t h e   c l u s t e r .   F o r   e x a m p l e ,   c o n s i d e r   a   s c e n a r i o   w h e r e   y o u   h a v e   a   s e r v i c e   a c c o u n t   a n d   P o d   i n   t h e   d e v   n a m e s p a c e   a n d   y o u   w a n t   y o u r   P o d   t o   s e e   J o b s   r u n n i n g   i n   t h e   m a i n t e n a n c e   n a m e s p a c e .   Y o u   c o u l d   c r e a t e   a   R o l e   o b j e c t   t h a t   g r a n t s   p e r m i s s i o n s   t o   l i s t   J o b   o b j e c t s .   T h e n ,   y o u ' d   c r e a t e   a   R o l e B i n d i n g   o b j e c t   i n   t h e   m a i n t e n a n c e   n a m e s p a c e   t o   b i n d   t h e   R o l e   t o   t h e   S e r v i c e A c c o u n t   o b j e c t .   N o w ,   P o d s   i n   t h e   d e v   n a m e s p a c e   c a n   l i s t   J o b   o b j e c t s   i n   t h e   m a i n t e n a n c e   n a m e s p a c e   u s i n g   t h a t   s e r v i c e   a c c o u n t .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/security/service-accounts/",
    "id": "k8s_00482_section_4_9158"
  },
  {
    "question": "What is Assign a ServiceAccount to a Pod?",
    "answer": "T o   a s s i g n   a   S e r v i c e A c c o u n t   t o   a   P o d ,   y o u   s e t   t h e   s p e c . s e r v i c e A c c o u n t N a m e   f i e l d   i n   t h e   P o d   s p e c i f i c a t i o n .   K u b e r n e t e s   t h e n   a u t o m a t i c a l l y   p r o v i d e s   t h e   c r e d e n t i a l s   f o r   t h a t   S e r v i c e A c c o u n t   t o   t h e   P o d .   I n   v 1 . 2 2   a n d   l a t e r ,   K u b e r n e t e s   g e t s   a   s h o r t - l i v e d ,   a u t o m a t i c a l l y   r o t a t i n g   t o k e n   u s i n g   t h e   T o k e n R e q u e s t   A P I   a n d   m o u n t s   t h e   t o k e n   a s   a   p r o j e c t e d   v o l u m e .   B y   d e f a u l t ,   K u b e r n e t e s   p r o v i d e s   t h e   P o d   w i t h   t h e   c r e d e n t i a l s   f o r   a n   a s s i g n e d   S e r v i c e A c c o u n t ,   w h e t h e r   t h a t   i s   t h e   d e f a u l t   S e r v i c e A c c o u n t   o r   a   c u s t o m   S e r v i c e A c c o u n t   t h a t   y o u   s p e c i f y .   T o   p r e v e n t   K u b e r n e t e s   f r o m   a u t o m a t i c a l l y   i n j e c t i n g   c r e d e n t i a l s   f o r   a   s p e c i f i e d   S e r v i c e A c c o u n t   o r   t h e   d e f a u l t   S e r v i c e A c c o u n t ,   s e t   t h e   a u t o m o u n t S e r v i c e A c c o u n t T o k e n   f i e l d   i n   y o u r   P o d   s p e c i f i c a t i o n   t o   f a l s e .   I n   v e r s i o n s   e a r l i e r   t h a n   1 . 2 2 ,   K u b e r n e t e s   p r o v i d e s   a   l o n g - l i v e d ,   s t a t i c   t o k e n   t o   t h e   P o d   a s   a   S e c r e t .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/security/service-accounts/",
    "id": "k8s_00482_section_3_9159"
  },
  {
    "question": "What is Manually retrieve ServiceAccount credentials?",
    "answer": "I f   y o u   n e e d   t h e   c r e d e n t i a l s   f o r   a   S e r v i c e A c c o u n t   t o   m o u n t   i n   a   n o n - s t a n d a r d   l o c a t i o n ,   o r   f o r   a n   a u d i e n c e   t h a t   i s n ' t   t h e   A P I   s e r v e r ,   u s e   o n e   o f   t h e   f o l l o w i n g   m e t h o d s :   T o k e n R e q u e s t   A P I   ( r e c o m m e n d e d ) :   R e q u e s t   a   s h o r t - l i v e d   s e r v i c e   a c c o u n t   t o k e n   f r o m   w i t h i n   y o u r   o w n   a p p l i c a t i o n   c o d e .   T h e   t o k e n   e x p i r e s   a u t o m a t i c a l l y   a n d   c a n   r o t a t e   u p o n   e x p i r a t i o n .   I f   y o u   h a v e   a   l e g a c y   a p p l i c a t i o n   t h a t   i s   n o t   a w a r e   o f   K u b e r n e t e s ,   y o u   c o u l d   u s e   a   s i d e c a r   c o n t a i n e r   w i t h i n   t h e   s a m e   p o d   t o   f e t c h   t h e s e   t o k e n s   a n d   m a k e   t h e m   a v a i l a b l e   t o   t h e   a p p l i c a t i o n   w o r k l o a d . T o k e n   V o l u m e   P r o j e c t i o n   ( a l s o   r e c o m m e n d e d ) :   I n   K u b e r n e t e s   v 1 . 2 0   a n d   l a t e r ,   u s e   t h e   P o d   s p e c i f i c a t i o n   t o   t e l l   t h e   k u b e l e t   t o   a d d   t h e   s e r v i c e   a c c o u n t   t o k e n   t o   t h e   P o d   a s   a   p r o j e c t e d   v o l u m e .   P r o j e c t e d   t o k e n s   e x p i r e   a u t o m a t i c a l l y ,   a n d   t h e   k u b e l e t   r o t a t e s   t h e   t o k e n   b e f o r e   i t   e x p i r e s . S e r v i c e   A c c o u n t   T o k e n   S e c r e t s   ( n o t   r e c o m m e n d e d ) :   Y o u   c a n   m o u n t   s e r v i c e   a c c o u n t   t o k e n s   a s   K u b e r n e t e s   S e c r e t s   i n   P o d s .   T h e s e   t o k e n s   d o n ' t   e x p i r e   a n d   d o n ' t   r o t a t e .   I n   v e r s i o n s   p r i o r   t o   ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/security/service-accounts/",
    "id": "k8s_00482_section_4_9160"
  },
  {
    "question": "What is Note:?",
    "answer": "F o r   a p p l i c a t i o n s   r u n n i n g   o u t s i d e   y o u r   K u b e r n e t e s   c l u s t e r ,   y o u   m i g h t   b e   c o n s i d e r i n g   c r e a t i n g   a   l o n g - l i v e d   S e r v i c e A c c o u n t   t o k e n   t h a t   i s   s t o r e d   i n   a   S e c r e t .   T h i s   a l l o w s   a u t h e n t i c a t i o n ,   b u t   t h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   y o u   a v o i d   t h i s   a p p r o a c h .   L o n g - l i v e d   b e a r e r   t o k e n s   r e p r e s e n t   a   s e c u r i t y   r i s k   a s ,   o n c e   d i s c l o s e d ,   t h e   t o k e n   c a n   b e   m i s u s e d .   I n s t e a d ,   c o n s i d e r   u s i n g   a n   a l t e r n a t i v e .   F o r   e x a m p l e ,   y o u r   e x t e r n a l   a p p l i c a t i o n   c a n   a u t h e n t i c a t e   u s i n g   a   w e l l - p r o t e c t e d   p r i v a t e   k e y   a n d   a   c e r t i f i c a t e ,   o r   u s i n g   a   c u s t o m   m e c h a n i s m   s u c h   a s   a n   a u t h e n t i c a t i o n   w e b h o o k   t h a t   y o u   i m p l e m e n t   y o u r s e l f .   Y o u   c a n   a l s o   u s e   T o k e n R e q u e s t   t o   o b t a i n   s h o r t - l i v e d   t o k e n s   f o r   y o u r   e x t e r n a l   a p p l i c a t i o n .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/security/service-accounts/",
    "id": "k8s_00482_section_4_9161"
  },
  {
    "question": "What is Note:?",
    "answer": "K u b e r n e t e s   p r o v i d e s   a n   a n n o t a t i o n   c a l l e d   k u b e r n e t e s . i o / e n f o r c e - m o u n t a b l e - s e c r e t s   t h a t   y o u   c a n   a d d   t o   y o u r   S e r v i c e A c c o u n t s .   W h e n   t h i s   a n n o t a t i o n   i s   a p p l i e d ,   t h e   S e r v i c e A c c o u n t ' s   s e c r e t s   c a n   o n l y   b e   m o u n t e d   o n   s p e c i f i e d   t y p e s   o f   r e s o u r c e s ,   e n h a n c i n g   t h e   s e c u r i t y   p o s t u r e   o f   y o u r   c l u s t e r .   Y o u   c a n   a d d   t h e   a n n o t a t i o n   t o   a   S e r v i c e A c c o u n t   u s i n g   a   m a n i f e s t :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   a n n o t a t i o n s :   k u b e r n e t e s . i o / e n f o r c e - m o u n t a b l e - s e c r e t s :   \" t r u e \"   n a m e :   m y - s e r v i c e a c c o u n t   n a m e s p a c e :   m y - n a m e s p a c e   W h e n   t h i s   a n n o t a t i o n   i s   s e t   t o   \" t r u e \" ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   e n s u r e s   t h a t   t h e   S e c r e t s   f r o m   t h i s   S e r v i c e A c c o u n t   a r e   s u b j e c t   t o   c e r t a i n   m o u n t i n g   r e s t r i c t i o n s .   T h e   n a m e   o f   e a c h   S e c r e t   t h a t   i s   m o u n t e d   a s   a   v o l u m e   i n   a   P o d   m u s t   a p p e a r   i n   t h e   s e c r e t s   f i e l d   o f   t h e   P o d ' s   S e r v i c e A c c o u n t . T h e   n a m e   o f   e a c h   S e c r e t   r e f e r e n c e d   u s i n g   e n v F r o m   i n   a   P o d   m u s t   a l s o   a p p e a r   i n   t h e   s e c r e t s   f i e l d   o f   t h e   P o d ' s   S e r v i c e A c c o u n t . T h e   n a m e   o f   e a c h   S e c r e t   r e f e r e n c e d   u s i n g   i m a g e P u l l S e c r e t s   i n   a   P o d   m u s t   a l s o   a p p e a r   ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/security/service-accounts/",
    "id": "k8s_00482_section_4_9162"
  },
  {
    "question": "What is Authenticating service account credentials?",
    "answer": "S e r v i c e A c c o u n t s   u s e   s i g n e d   J S O N   W e b   T o k e n s   ( J W T s )   t o   a u t h e n t i c a t e   t o   t h e   K u b e r n e t e s   A P I   s e r v e r ,   a n d   t o   a n y   o t h e r   s y s t e m   w h e r e   a   t r u s t   r e l a t i o n s h i p   e x i s t s .   D e p e n d i n g   o n   h o w   t h e   t o k e n   w a s   i s s u e d   ( e i t h e r   t i m e - l i m i t e d   u s i n g   a   T o k e n R e q u e s t   o r   u s i n g   a   l e g a c y   m e c h a n i s m   w i t h   a   S e c r e t ) ,   a   S e r v i c e A c c o u n t   t o k e n   m i g h t   a l s o   h a v e   a n   e x p i r y   t i m e ,   a n   a u d i e n c e ,   a n d   a   t i m e   a f t e r   w h i c h   t h e   t o k e n   s t a r t s   b e i n g   v a l i d .   W h e n   a   c l i e n t   t h a t   i s   a c t i n g   a s   a   S e r v i c e A c c o u n t   t r i e s   t o   c o m m u n i c a t e   w i t h   t h e   K u b e r n e t e s   A P I   s e r v e r ,   t h e   c l i e n t   i n c l u d e s   a n   A u t h o r i z a t i o n :   B e a r e r   < t o k e n >   h e a d e r   w i t h   t h e   H T T P   r e q u e s t .   T h e   A P I   s e r v e r   c h e c k s   t h e   v a l i d i t y   o f   t h a t   b e a r e r   t o k e n   a s   f o l l o w s :   C h e c k s   t h e   t o k e n   s i g n a t u r e . C h e c k s   w h e t h e r   t h e   t o k e n   h a s   e x p i r e d . C h e c k s   w h e t h e r   o b j e c t   r e f e r e n c e s   i n   t h e   t o k e n   c l a i m s   a r e   c u r r e n t l y   v a l i d . C h e c k s   w h e t h e r   t h e   t o k e n   i s   c u r r e n t l y   v a l i d . C h e c k s   t h e   a u d i e n c e   c l a i m s .   T h e   T o k e n R e q u e s t   A P I   p r o d u c e s   b o u n d   t o k e n s   f o r   a   S e r v i c e A c c o u n t .   T h i s   b i n d i n g   i s   l i n k e d   t o   t h e   l i f e t i m e   o f   t h e   c l i e n t ,   s u c h   a s   a   P o d ,   t h a t ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/security/service-accounts/",
    "id": "k8s_00482_section_2_9163"
  },
  {
    "question": "What is Authenticating service account credentials in your own code?",
    "answer": "I f   y o u   h a v e   s e r v i c e s   o f   y o u r   o w n   t h a t   n e e d   t o   v a l i d a t e   K u b e r n e t e s   s e r v i c e   a c c o u n t   c r e d e n t i a l s ,   y o u   c a n   u s e   t h e   f o l l o w i n g   m e t h o d s :   T o k e n R e v i e w   A P I   ( r e c o m m e n d e d ) O I D C   d i s c o v e r y   T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   t h a t   y o u   u s e   t h e   T o k e n R e v i e w   A P I ,   b e c a u s e   t h i s   m e t h o d   i n v a l i d a t e s   t o k e n s   t h a t   a r e   b o u n d   t o   A P I   o b j e c t s   s u c h   a s   S e c r e t s ,   S e r v i c e A c c o u n t s ,   P o d s   o r   N o d e s   w h e n   t h o s e   o b j e c t s   a r e   d e l e t e d .   F o r   e x a m p l e ,   i f   y o u   d e l e t e   t h e   P o d   t h a t   c o n t a i n s   a   p r o j e c t e d   S e r v i c e A c c o u n t   t o k e n ,   t h e   c l u s t e r   i n v a l i d a t e s   t h a t   t o k e n   i m m e d i a t e l y   a n d   a   T o k e n R e v i e w   i m m e d i a t e l y   f a i l s .   I f   y o u   u s e   O I D C   v a l i d a t i o n   i n s t e a d ,   y o u r   c l i e n t s   c o n t i n u e   t o   t r e a t   t h e   t o k e n   a s   v a l i d   u n t i l   t h e   t o k e n   r e a c h e s   i t s   e x p i r a t i o n   t i m e s t a m p .   Y o u r   a p p l i c a t i o n   s h o u l d   a l w a y s   d e f i n e   t h e   a u d i e n c e   t h a t   i t   a c c e p t s ,   a n d   s h o u l d   c h e c k   t h a t   t h e   t o k e n ' s   a u d i e n c e s   m a t c h   t h e   a u d i e n c e s   t h a t   t h e   a p p l i c a t i o n   e x p e c t s .   T h i s   h e l p s   t o   m i n i m i z e   t h e   s c o p e   o f   t h e   t o k e n   s o   t h a t   i t   c a n   o n l y   b e   u s e d   i n   y o u r   a p p l i c a t i o n   a n d   n o w h e r e   e l s e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/security/service-accounts/",
    "id": "k8s_00482_section_3_9164"
  },
  {
    "question": "What is Alternatives?",
    "answer": "I s s u e   y o u r   o w n   t o k e n s   u s i n g   a n o t h e r   m e c h a n i s m ,   a n d   t h e n   u s e   W e b h o o k   T o k e n   A u t h e n t i c a t i o n   t o   v a l i d a t e   b e a r e r   t o k e n s   u s i n g   y o u r   o w n   v a l i d a t i o n   s e r v i c e . P r o v i d e   y o u r   o w n   i d e n t i t i e s   t o   P o d s . U s e   t h e   S P I F F E   C S I   d r i v e r   p l u g i n   t o   p r o v i d e   S P I F F E   S V I D s   a s   X . 5 0 9   c e r t i f i c a t e   p a i r s   t o   P o d s . 🛇   T h i s   i t e m   l i n k s   t o   a   t h i r d   p a r t y   p r o j e c t   o r   p r o d u c t   t h a t   i s   n o t   p a r t   o f   K u b e r n e t e s   i t s e l f .   M o r e   i n f o r m a t i o n U s e   a   s e r v i c e   m e s h   s u c h   a s   I s t i o   t o   p r o v i d e   c e r t i f i c a t e s   t o   P o d s . A u t h e n t i c a t e   f r o m   o u t s i d e   t h e   c l u s t e r   t o   t h e   A P I   s e r v e r   w i t h o u t   u s i n g   s e r v i c e   a c c o u n t   t o k e n s : C o n f i g u r e   t h e   A P I   s e r v e r   t o   a c c e p t   O p e n I D   C o n n e c t   ( O I D C )   t o k e n s   f r o m   y o u r   i d e n t i t y   p r o v i d e r . U s e   s e r v i c e   a c c o u n t s   o r   u s e r   a c c o u n t s   c r e a t e d   u s i n g   a n   e x t e r n a l   I d e n t i t y   a n d   A c c e s s   M a n a g e m e n t   ( I A M )   s e r v i c e ,   s u c h   a s   f r o m   a   c l o u d   p r o v i d e r ,   t o   a u t h e n t i c a t e   t o   y o u r   c l u s t e r . U s e   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   A P I   w i t h   c l i e n t   c e r t i f i c a t e s . C o n f i g u r e   t h e   k u b e l e t   t o   r e t r i e v e   c r e d e n t i a l s   f r o m   a n   i m a g e   r e g i s t r y . U s e   a   D e v i c e   P l u g i n   t o   a c c e s s   a   v i r t u a l   T r u s t e d   P l a t f o r m   M o ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/security/service-accounts/",
    "id": "k8s_00482_section_2_9165"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   m a n a g e   y o u r   S e r v i c e A c c o u n t s   a s   a   c l u s t e r   a d m i n i s t r a t o r . L e a r n   h o w   t o   a s s i g n   a   S e r v i c e A c c o u n t   t o   a   P o d . R e a d   t h e   S e r v i c e A c c o u n t   A P I   r e f e r e n c e .   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/security/service-accounts/",
    "id": "k8s_00482_section_2_9166"
  },
  {
    "question": "What is kubectl create clusterrole?",
    "answer": "kubectl create clusterroleSynopsisCreate a cluster role.kubectl create clusterrole NAME --verb=verb --resource=resource.group [--resource-name=resourcename] [--dry-run=server|client|none] Examples # Create a cluster role named \"pod-reader\" that allows user to perform \"get\", \"watch\" and \"list\" on pods kubectl create clusterrole pod-reader --verb=get,list,watch --resource=pods # Create a cluster role named \"pod-reader\" with ResourceName specified kubectl create clusterrole pod-reader --verb=get --resource=pods --resource-name=readablepod --resource-name=anotherpod # Create a cluster role named \"foo\" with API Group specified kubectl create clusterrole foo --verb=get,list,watch --resource=rs.apps # Create a cluster role named \"foo\" with SubResource specified kubectl create clusterrole foo --verb=get,list,watch --resource=pods,pods/status # Create a cluster role name \"foo\" with NonResourceURL specified kubectl create clusterrole \"foo\" --verb=get --non-resource-url=/logs/* # Create a cluster role name \"monitoring\" with AggregationRule specified kubectl create clusterrole monitoring --aggregation-rule=\"rbac.example.com/aggregate-to-monitoring=true\" Options--aggregation-rule <comma-separated 'key=value' pairs>An aggregation label selector for combining ClusterRoles.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for clusterrole--non-resource-url stringsA partial url that user should have access to.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--resource stringsResource that the rule applies to--resource-name stringsResource in the white list that the rule applies to, repeat this flag for multiple items--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSid",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_clusterrole/",
    "id": "k8s_00483_qa_9167"
  },
  {
    "question": "How does kubectl create clusterrole work?",
    "answer": "kubectl create clusterroleSynopsisCreate a cluster role.kubectl create clusterrole NAME --verb=verb --resource=resource.group [--resource-name=resourcename] [--dry-run=server|client|none] Examples # Create a cluster role named \"pod-reader\" that allows user to perform \"get\", \"watch\" and \"list\" on pods kubectl create clusterrole pod-reader --verb=get,list,watch --resource=pods # Create a cluster role named \"pod-reader\" with ResourceName specified kubectl create clusterrole pod-reader --verb=get --resource=pods --resource-name=readablepod --resource-name=anotherpod # Create a cluster role named \"foo\" with API Group specified kubectl create clusterrole foo --verb=get,list,watch --resource=rs.apps # Create a cluster role named \"foo\" with SubResource specified kubectl create clusterrole foo --verb=get,list,watch --resource=pods,pods/status # Create a cluster role name \"foo\" with NonResourceURL specified kubectl create clusterrole \"foo\" --verb=get --non-resource-url=/logs/* # Create a cluster role name \"monitoring\" with AggregationRule specified kubectl create clusterrole monitoring --aggregation-rule=\"rbac.example.com/aggregate-to-monitoring=true\" Options--aggregation-rule <comma-separated 'key=value' pairs>An aggregation label selector for combining ClusterRoles.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for clusterrole--non-resource-url stringsA partial url that user should have access to.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--resource stringsResource that the rule applies to--resource-name stringsResource in the white list that the rule applies to, repeat this flag for multiple items--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSid",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_clusterrole/",
    "id": "k8s_00483_qa_9168"
  },
  {
    "question": "When would you use kubectl create clusterrole?",
    "answer": "kubectl create clusterroleSynopsisCreate a cluster role.kubectl create clusterrole NAME --verb=verb --resource=resource.group [--resource-name=resourcename] [--dry-run=server|client|none] Examples # Create a cluster role named \"pod-reader\" that allows user to perform \"get\", \"watch\" and \"list\" on pods kubectl create clusterrole pod-reader --verb=get,list,watch --resource=pods # Create a cluster role named \"pod-reader\" with ResourceName specified kubectl create clusterrole pod-reader --verb=get --resource=pods --resource-name=readablepod --resource-name=anotherpod # Create a cluster role named \"foo\" with API Group specified kubectl create clusterrole foo --verb=get,list,watch --resource=rs.apps # Create a cluster role named \"foo\" with SubResource specified kubectl create clusterrole foo --verb=get,list,watch --resource=pods,pods/status # Create a cluster role name \"foo\" with NonResourceURL specified kubectl create clusterrole \"foo\" --verb=get --non-resource-url=/logs/* # Create a cluster role name \"monitoring\" with AggregationRule specified kubectl create clusterrole monitoring --aggregation-rule=\"rbac.example.com/aggregate-to-monitoring=true\" Options--aggregation-rule <comma-separated 'key=value' pairs>An aggregation label selector for combining ClusterRoles.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for clusterrole--non-resource-url stringsA partial url that user should have access to.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--resource stringsResource that the rule applies to--resource-name stringsResource in the white list that the rule applies to, repeat this flag for multiple items--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSid",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_clusterrole/",
    "id": "k8s_00483_qa_9169"
  },
  {
    "question": "What are the benefits of kubectl create clusterrole?",
    "answer": "kubectl create clusterroleSynopsisCreate a cluster role.kubectl create clusterrole NAME --verb=verb --resource=resource.group [--resource-name=resourcename] [--dry-run=server|client|none] Examples # Create a cluster role named \"pod-reader\" that allows user to perform \"get\", \"watch\" and \"list\" on pods kubectl create clusterrole pod-reader --verb=get,list,watch --resource=pods # Create a cluster role named \"pod-reader\" with ResourceName specified kubectl create clusterrole pod-reader --verb=get --resource=pods --resource-name=readablepod --resource-name=anotherpod # Create a cluster role named \"foo\" with API Group specified kubectl create clusterrole foo --verb=get,list,watch --resource=rs.apps # Create a cluster role named \"foo\" with SubResource specified kubectl create clusterrole foo --verb=get,list,watch --resource=pods,pods/status # Create a cluster role name \"foo\" with NonResourceURL specified kubectl create clusterrole \"foo\" --verb=get --non-resource-url=/logs/* # Create a cluster role name \"monitoring\" with AggregationRule specified kubectl create clusterrole monitoring --aggregation-rule=\"rbac.example.com/aggregate-to-monitoring=true\" Options--aggregation-rule <comma-separated 'key=value' pairs>An aggregation label selector for combining ClusterRoles.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for clusterrole--non-resource-url stringsA partial url that user should have access to.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--resource stringsResource that the rule applies to--resource-name stringsResource in the white list that the rule applies to, repeat this flag for multiple items--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSid",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_clusterrole/",
    "id": "k8s_00483_qa_9170"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   c l u s t e r   r o l e .   k u b e c t l   c r e a t e   c l u s t e r r o l e   N A M E   - - v e r b = v e r b   - - r e s o u r c e = r e s o u r c e . g r o u p   [ - - r e s o u r c e - n a m e = r e s o u r c e n a m e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_clusterrole/",
    "id": "k8s_00483_section_2_9171"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   c l u s t e r   r o l e   n a m e d   \" p o d - r e a d e r \"   t h a t   a l l o w s   u s e r   t o   p e r f o r m   \" g e t \" ,   \" w a t c h \"   a n d   \" l i s t \"   o n   p o d s   k u b e c t l   c r e a t e   c l u s t e r r o l e   p o d - r e a d e r   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = p o d s   #   C r e a t e   a   c l u s t e r   r o l e   n a m e d   \" p o d - r e a d e r \"   w i t h   R e s o u r c e N a m e   s p e c i f i e d   k u b e c t l   c r e a t e   c l u s t e r r o l e   p o d - r e a d e r   - - v e r b = g e t   - - r e s o u r c e = p o d s   - - r e s o u r c e - n a m e = r e a d a b l e p o d   - - r e s o u r c e - n a m e = a n o t h e r p o d   #   C r e a t e   a   c l u s t e r   r o l e   n a m e d   \" f o o \"   w i t h   A P I   G r o u p   s p e c i f i e d   k u b e c t l   c r e a t e   c l u s t e r r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = r s . a p p s   #   C r e a t e   a   c l u s t e r   r o l e   n a m e d   \" f o o \"   w i t h   S u b R e s o u r c e   s p e c i f i e d   k u b e c t l   c r e a t e   c l u s t e r r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = p o d s , p o d s / s t a t u s   #   C r e a t e   a   c l u s t e r   r o l e   n a m e   \" f o o \"   w i t h   N o n R e s o u r c e U R L   s p e c i f i e d   k u b e c t l   c r e a t e   c l u s t e r r o l e   \" f o o \"   - - v e r b = g e t   - - n o n - r e s o u r c e - u r l = / l o g s / *   #   C r e a t e   a   c l u s t e r   r o l e   n a m e   \" m o n i t o r i n g \"   w i t h   A g g r e g a t i o n R u l e   s p e c i f i e d   k u b e c t l   c r e a t e   c l u s t e r r o l e   m o n i t o r i n g   - - a g g r e g a t i o n - r u l e = \" r b a c . e x a m p l e . c o m / a g g r e g a t e - t o - m o n i t o r i n g = t r u e \"",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_clusterrole/",
    "id": "k8s_00483_section_2_9172"
  },
  {
    "question": "What is Options?",
    "answer": "A n   a g g r e g a t i o n   l a b e l   s e l e c t o r   f o r   c o m b i n i n g   C l u s t e r R o l e s .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   c l u s t e r r o l e   A   p a r t i a l   u r l   t h a t   u s e r   s h o u l d   h a v e   a c c e s s   t o .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   R e s o u r c e   t h a t   t h e   r u l e   a p p l i e s   t o   R e s o u r c e   i n   t h e   w h i t e   l i s t   t h a t   t h e   r u l e   a p p l i e s   t o ,   r e p e a t   t h i s   f l a g   f o r   m u l t i p l e   i t e m s   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_clusterrole/",
    "id": "k8s_00483_section_2_9173"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_clusterrole/",
    "id": "k8s_00483_section_2_9174"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_clusterrole/",
    "id": "k8s_00483_section_2_9175"
  },
  {
    "question": "What is Install and Set Up kubectl on Windows?",
    "answer": "Install and Set Up kubectl on WindowsBefore you beginYou must use a kubectl version that is within one minor version difference of your cluster. For example, a v1.34 client can communicate with v1.33, v1.34, and v1.35 control planes. Using the latest compatible version of kubectl helps avoid unforeseen issues.Install kubectl on WindowsThe following methods exist for installing kubectl on Windows:Install kubectl binary on Windows (via direct download or curl)Install on Windows using Chocolatey, Scoop, or wingetInstall kubectl binary on Windows (via direct download or curl)You have two options for installing kubectl on your Windows deviceDirect download:Download the latest 1.34 patch release binary directly for your specific architecture by visiting the Kubernetes release page. Be sure to select the correct binary for your architecture (e.g., amd64, arm64, etc.).Using curl:If you have curl installed, use this command:curl.exe -LO \"https://dl.k8s.io/release/v1.34.0/bin/windows/amd64/kubectl.exe\" Note:To find out the latest stable version (for example, for scripting), take a look at https://dl.k8s.io/release/stable.txt.Validate the binary (optional)Download the kubectl checksum file:curl.exe -LO \"https://dl.k8s.io/v1.34.0/bin/windows/amd64/kubectl.exe.sha256\" Validate the kubectl binary against the checksum file:Using Command Prompt to manually compare CertUtil's output to the checksum file downloaded:CertUtil -hashfile kubectl.exe SHA256 type kubectl.exe.sha256 Using PowerShell to automate the verification using the -eq operator to get a True or False result: $(Get-FileHash -Algorithm SHA256 .\\kubectl.exe).Hash -eq $(Get-Content .\\kubectl.exe.sha256) Append or prepend the kubectl binary folder to your PATH environment variable.Test to ensure the version of kubectl is the same as downloaded:kubectl version --client Or use this for detailed view of version:kubectl version --client --output=yaml Note:Docker Desktop for Windows adds its own version of kubectl to PATH. If you have installed Docker Desktop before, you may need to place your PATH entry before the one added by the Docker Desktop installer or remove the Docker Desktop's kubectl.Install on Windows using Chocolatey, Scoop, or wingetTo install kubectl on Windows you can use either Chocolatey package manager, Scoop command-line installer, or winget package manager.choco install kubernetes-cli scoop install kubectl winget install -e --id Kubernetes.kubectl Test to ensure the version you installed is up-to-date:kubectl version --client Navigate to your home directory:# If you're using cmd.exe, run: cd %USERPROFILE% cd ~ Create the .kube directory:mkdir .kube Change to the .kube directory you just created:cd .kube Configure kubectl to use a remote Kubernetes cluster:New-Item config -type file Note:Edit the config file with a text editor of your choice, such as Notepad.Verify kubectl configurationIn order for kubectl to find and access a Kubernetes cluster, it needs a kubeconfig file, which is creat",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/",
    "id": "k8s_00484_qa_9176"
  },
  {
    "question": "How does Install and Set Up kubectl on Windows work?",
    "answer": "Install and Set Up kubectl on WindowsBefore you beginYou must use a kubectl version that is within one minor version difference of your cluster. For example, a v1.34 client can communicate with v1.33, v1.34, and v1.35 control planes. Using the latest compatible version of kubectl helps avoid unforeseen issues.Install kubectl on WindowsThe following methods exist for installing kubectl on Windows:Install kubectl binary on Windows (via direct download or curl)Install on Windows using Chocolatey, Scoop, or wingetInstall kubectl binary on Windows (via direct download or curl)You have two options for installing kubectl on your Windows deviceDirect download:Download the latest 1.34 patch release binary directly for your specific architecture by visiting the Kubernetes release page. Be sure to select the correct binary for your architecture (e.g., amd64, arm64, etc.).Using curl:If you have curl installed, use this command:curl.exe -LO \"https://dl.k8s.io/release/v1.34.0/bin/windows/amd64/kubectl.exe\" Note:To find out the latest stable version (for example, for scripting), take a look at https://dl.k8s.io/release/stable.txt.Validate the binary (optional)Download the kubectl checksum file:curl.exe -LO \"https://dl.k8s.io/v1.34.0/bin/windows/amd64/kubectl.exe.sha256\" Validate the kubectl binary against the checksum file:Using Command Prompt to manually compare CertUtil's output to the checksum file downloaded:CertUtil -hashfile kubectl.exe SHA256 type kubectl.exe.sha256 Using PowerShell to automate the verification using the -eq operator to get a True or False result: $(Get-FileHash -Algorithm SHA256 .\\kubectl.exe).Hash -eq $(Get-Content .\\kubectl.exe.sha256) Append or prepend the kubectl binary folder to your PATH environment variable.Test to ensure the version of kubectl is the same as downloaded:kubectl version --client Or use this for detailed view of version:kubectl version --client --output=yaml Note:Docker Desktop for Windows adds its own version of kubectl to PATH. If you have installed Docker Desktop before, you may need to place your PATH entry before the one added by the Docker Desktop installer or remove the Docker Desktop's kubectl.Install on Windows using Chocolatey, Scoop, or wingetTo install kubectl on Windows you can use either Chocolatey package manager, Scoop command-line installer, or winget package manager.choco install kubernetes-cli scoop install kubectl winget install -e --id Kubernetes.kubectl Test to ensure the version you installed is up-to-date:kubectl version --client Navigate to your home directory:# If you're using cmd.exe, run: cd %USERPROFILE% cd ~ Create the .kube directory:mkdir .kube Change to the .kube directory you just created:cd .kube Configure kubectl to use a remote Kubernetes cluster:New-Item config -type file Note:Edit the config file with a text editor of your choice, such as Notepad.Verify kubectl configurationIn order for kubectl to find and access a Kubernetes cluster, it needs a kubeconfig file, which is creat",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/",
    "id": "k8s_00484_qa_9177"
  },
  {
    "question": "When would you use Install and Set Up kubectl on Windows?",
    "answer": "Install and Set Up kubectl on WindowsBefore you beginYou must use a kubectl version that is within one minor version difference of your cluster. For example, a v1.34 client can communicate with v1.33, v1.34, and v1.35 control planes. Using the latest compatible version of kubectl helps avoid unforeseen issues.Install kubectl on WindowsThe following methods exist for installing kubectl on Windows:Install kubectl binary on Windows (via direct download or curl)Install on Windows using Chocolatey, Scoop, or wingetInstall kubectl binary on Windows (via direct download or curl)You have two options for installing kubectl on your Windows deviceDirect download:Download the latest 1.34 patch release binary directly for your specific architecture by visiting the Kubernetes release page. Be sure to select the correct binary for your architecture (e.g., amd64, arm64, etc.).Using curl:If you have curl installed, use this command:curl.exe -LO \"https://dl.k8s.io/release/v1.34.0/bin/windows/amd64/kubectl.exe\" Note:To find out the latest stable version (for example, for scripting), take a look at https://dl.k8s.io/release/stable.txt.Validate the binary (optional)Download the kubectl checksum file:curl.exe -LO \"https://dl.k8s.io/v1.34.0/bin/windows/amd64/kubectl.exe.sha256\" Validate the kubectl binary against the checksum file:Using Command Prompt to manually compare CertUtil's output to the checksum file downloaded:CertUtil -hashfile kubectl.exe SHA256 type kubectl.exe.sha256 Using PowerShell to automate the verification using the -eq operator to get a True or False result: $(Get-FileHash -Algorithm SHA256 .\\kubectl.exe).Hash -eq $(Get-Content .\\kubectl.exe.sha256) Append or prepend the kubectl binary folder to your PATH environment variable.Test to ensure the version of kubectl is the same as downloaded:kubectl version --client Or use this for detailed view of version:kubectl version --client --output=yaml Note:Docker Desktop for Windows adds its own version of kubectl to PATH. If you have installed Docker Desktop before, you may need to place your PATH entry before the one added by the Docker Desktop installer or remove the Docker Desktop's kubectl.Install on Windows using Chocolatey, Scoop, or wingetTo install kubectl on Windows you can use either Chocolatey package manager, Scoop command-line installer, or winget package manager.choco install kubernetes-cli scoop install kubectl winget install -e --id Kubernetes.kubectl Test to ensure the version you installed is up-to-date:kubectl version --client Navigate to your home directory:# If you're using cmd.exe, run: cd %USERPROFILE% cd ~ Create the .kube directory:mkdir .kube Change to the .kube directory you just created:cd .kube Configure kubectl to use a remote Kubernetes cluster:New-Item config -type file Note:Edit the config file with a text editor of your choice, such as Notepad.Verify kubectl configurationIn order for kubectl to find and access a Kubernetes cluster, it needs a kubeconfig file, which is creat",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/",
    "id": "k8s_00484_qa_9178"
  },
  {
    "question": "What are the benefits of Install and Set Up kubectl on Windows?",
    "answer": "Install and Set Up kubectl on WindowsBefore you beginYou must use a kubectl version that is within one minor version difference of your cluster. For example, a v1.34 client can communicate with v1.33, v1.34, and v1.35 control planes. Using the latest compatible version of kubectl helps avoid unforeseen issues.Install kubectl on WindowsThe following methods exist for installing kubectl on Windows:Install kubectl binary on Windows (via direct download or curl)Install on Windows using Chocolatey, Scoop, or wingetInstall kubectl binary on Windows (via direct download or curl)You have two options for installing kubectl on your Windows deviceDirect download:Download the latest 1.34 patch release binary directly for your specific architecture by visiting the Kubernetes release page. Be sure to select the correct binary for your architecture (e.g., amd64, arm64, etc.).Using curl:If you have curl installed, use this command:curl.exe -LO \"https://dl.k8s.io/release/v1.34.0/bin/windows/amd64/kubectl.exe\" Note:To find out the latest stable version (for example, for scripting), take a look at https://dl.k8s.io/release/stable.txt.Validate the binary (optional)Download the kubectl checksum file:curl.exe -LO \"https://dl.k8s.io/v1.34.0/bin/windows/amd64/kubectl.exe.sha256\" Validate the kubectl binary against the checksum file:Using Command Prompt to manually compare CertUtil's output to the checksum file downloaded:CertUtil -hashfile kubectl.exe SHA256 type kubectl.exe.sha256 Using PowerShell to automate the verification using the -eq operator to get a True or False result: $(Get-FileHash -Algorithm SHA256 .\\kubectl.exe).Hash -eq $(Get-Content .\\kubectl.exe.sha256) Append or prepend the kubectl binary folder to your PATH environment variable.Test to ensure the version of kubectl is the same as downloaded:kubectl version --client Or use this for detailed view of version:kubectl version --client --output=yaml Note:Docker Desktop for Windows adds its own version of kubectl to PATH. If you have installed Docker Desktop before, you may need to place your PATH entry before the one added by the Docker Desktop installer or remove the Docker Desktop's kubectl.Install on Windows using Chocolatey, Scoop, or wingetTo install kubectl on Windows you can use either Chocolatey package manager, Scoop command-line installer, or winget package manager.choco install kubernetes-cli scoop install kubectl winget install -e --id Kubernetes.kubectl Test to ensure the version you installed is up-to-date:kubectl version --client Navigate to your home directory:# If you're using cmd.exe, run: cd %USERPROFILE% cd ~ Create the .kube directory:mkdir .kube Change to the .kube directory you just created:cd .kube Configure kubectl to use a remote Kubernetes cluster:New-Item config -type file Note:Edit the config file with a text editor of your choice, such as Notepad.Verify kubectl configurationIn order for kubectl to find and access a Kubernetes cluster, it needs a kubeconfig file, which is creat",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/",
    "id": "k8s_00484_qa_9179"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   m u s t   u s e   a   k u b e c t l   v e r s i o n   t h a t   i s   w i t h i n   o n e   m i n o r   v e r s i o n   d i f f e r e n c e   o f   y o u r   c l u s t e r .   F o r   e x a m p l e ,   a   v 1 . 3 4   c l i e n t   c a n   c o m m u n i c a t e   w i t h   v 1 . 3 3 ,   v 1 . 3 4 ,   a n d   v 1 . 3 5   c o n t r o l   p l a n e s .   U s i n g   t h e   l a t e s t   c o m p a t i b l e   v e r s i o n   o f   k u b e c t l   h e l p s   a v o i d   u n f o r e s e e n   i s s u e s .",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/",
    "id": "k8s_00484_section_2_9180"
  },
  {
    "question": "What is Install kubectl on Windows?",
    "answer": "T h e   f o l l o w i n g   m e t h o d s   e x i s t   f o r   i n s t a l l i n g   k u b e c t l   o n   W i n d o w s :   I n s t a l l   k u b e c t l   b i n a r y   o n   W i n d o w s   ( v i a   d i r e c t   d o w n l o a d   o r   c u r l ) I n s t a l l   o n   W i n d o w s   u s i n g   C h o c o l a t e y ,   S c o o p ,   o r   w i n g e t",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/",
    "id": "k8s_00484_section_2_9181"
  },
  {
    "question": "What is Install kubectl binary on Windows (via direct download or curl)?",
    "answer": "Y o u   h a v e   t w o   o p t i o n s   f o r   i n s t a l l i n g   k u b e c t l   o n   y o u r   W i n d o w s   d e v i c e D i r e c t   d o w n l o a d : D o w n l o a d   t h e   l a t e s t   1 . 3 4   p a t c h   r e l e a s e   b i n a r y   d i r e c t l y   f o r   y o u r   s p e c i f i c   a r c h i t e c t u r e   b y   v i s i t i n g   t h e   K u b e r n e t e s   r e l e a s e   p a g e .   B e   s u r e   t o   s e l e c t   t h e   c o r r e c t   b i n a r y   f o r   y o u r   a r c h i t e c t u r e   ( e . g . ,   a m d 6 4 ,   a r m 6 4 ,   e t c . ) . U s i n g   c u r l : I f   y o u   h a v e   c u r l   i n s t a l l e d ,   u s e   t h i s   c o m m a n d : c u r l . e x e   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / v 1 . 3 4 . 0 / b i n / w i n d o w s / a m d 6 4 / k u b e c t l . e x e \"   N o t e : T o   f i n d   o u t   t h e   l a t e s t   s t a b l e   v e r s i o n   ( f o r   e x a m p l e ,   f o r   s c r i p t i n g ) ,   t a k e   a   l o o k   a t   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t . V a l i d a t e   t h e   b i n a r y   ( o p t i o n a l ) D o w n l o a d   t h e   k u b e c t l   c h e c k s u m   f i l e : c u r l . e x e   - L O   \" h t t p s : / / d l . k 8 s . i o / v 1 . 3 4 . 0 / b i n / w i n d o w s / a m d 6 4 / k u b e c t l . e x e . s h a 2 5 6 \"   V a l i d a t e   t h e   k u b e c t l   b i n a r y   a g a i n s t   t h e   c h e c k s u m   f i l e : U s i n g   C o m m a n d   P r o m p t   t o   m a n u a l l y   c o m p a r e   C e r t U t i l ' s   o u t p u t   t o   t h e   c h e c k s u m   f i l e   d o w n l o a d e d : C e r t U t i l   - h a s h f i l e   k u b e c t l . e x e   S H A 2 5 6   t y p e   k u b e c t l . e x e . s h a 2 5 6   U s i n g   P o w e r S h e l l   t o   a u t o m a t e   t h e   v e r i f i c a t i o n   u s i n g   t h e   - e q   o p e r a t o r   t o   g e t   a   T r u e   o r   F a l s e   r e s ",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/",
    "id": "k8s_00484_section_3_9182"
  },
  {
    "question": "What is Note:?",
    "answer": "V a l i d a t e   t h e   b i n a r y   ( o p t i o n a l )   D o w n l o a d   t h e   k u b e c t l   c h e c k s u m   f i l e :   c u r l . e x e   - L O   \" h t t p s : / / d l . k 8 s . i o / v 1 . 3 4 . 0 / b i n / w i n d o w s / a m d 6 4 / k u b e c t l . e x e . s h a 2 5 6 \"   V a l i d a t e   t h e   k u b e c t l   b i n a r y   a g a i n s t   t h e   c h e c k s u m   f i l e :   U s i n g   C o m m a n d   P r o m p t   t o   m a n u a l l y   c o m p a r e   C e r t U t i l ' s   o u t p u t   t o   t h e   c h e c k s u m   f i l e   d o w n l o a d e d : C e r t U t i l   - h a s h f i l e   k u b e c t l . e x e   S H A 2 5 6   t y p e   k u b e c t l . e x e . s h a 2 5 6   U s i n g   P o w e r S h e l l   t o   a u t o m a t e   t h e   v e r i f i c a t i o n   u s i n g   t h e   - e q   o p e r a t o r   t o   g e t   a   T r u e   o r   F a l s e   r e s u l t :   $ ( G e t - F i l e H a s h   - A l g o r i t h m   S H A 2 5 6   . \\ k u b e c t l . e x e ) . H a s h   - e q   $ ( G e t - C o n t e n t   . \\ k u b e c t l . e x e . s h a 2 5 6 )   U s i n g   C o m m a n d   P r o m p t   t o   m a n u a l l y   c o m p a r e   C e r t U t i l ' s   o u t p u t   t o   t h e   c h e c k s u m   f i l e   d o w n l o a d e d :   C e r t U t i l   - h a s h f i l e   k u b e c t l . e x e   S H A 2 5 6   t y p e   k u b e c t l . e x e . s h a 2 5 6   U s i n g   P o w e r S h e l l   t o   a u t o m a t e   t h e   v e r i f i c a t i o n   u s i n g   t h e   - e q   o p e r a t o r   t o   g e t   a   T r u e   o r   F a l s e   r e s u l t :   $ ( G e t - F i l e H a s h   - A l g o r i t h m   S H A 2 5 6   . \\ k u b e c t l . e x e ) . H a s h   - e q   $ ( G e t - C o n t e n t   . \\ k u b e c t l . e x e . s h a 2 5 6 )   A p p e n d   o r   p r e p e n d   t h e   k u b e c t l   b i n a r y   f o l d e r   t o   y o u r   P A T H   e n v i r o n m e n t   v a r i a b l e .   T e s t   t o   e n s u r e   t h e   v e r s i o n   o ",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/",
    "id": "k8s_00484_section_4_9183"
  },
  {
    "question": "What is Install on Windows using Chocolatey, Scoop, or winget?",
    "answer": "T o   i n s t a l l   k u b e c t l   o n   W i n d o w s   y o u   c a n   u s e   e i t h e r   C h o c o l a t e y   p a c k a g e   m a n a g e r ,   S c o o p   c o m m a n d - l i n e   i n s t a l l e r ,   o r   w i n g e t   p a c k a g e   m a n a g e r . c h o c o   i n s t a l l   k u b e r n e t e s - c l i   s c o o p   i n s t a l l   k u b e c t l   w i n g e t   i n s t a l l   - e   - - i d   K u b e r n e t e s . k u b e c t l   T e s t   t o   e n s u r e   t h e   v e r s i o n   y o u   i n s t a l l e d   i s   u p - t o - d a t e : k u b e c t l   v e r s i o n   - - c l i e n t   N a v i g a t e   t o   y o u r   h o m e   d i r e c t o r y : #   I f   y o u ' r e   u s i n g   c m d . e x e ,   r u n :   c d   % U S E R P R O F I L E %   c d   ~   C r e a t e   t h e   . k u b e   d i r e c t o r y : m k d i r   . k u b e   C h a n g e   t o   t h e   . k u b e   d i r e c t o r y   y o u   j u s t   c r e a t e d : c d   . k u b e   C o n f i g u r e   k u b e c t l   t o   u s e   a   r e m o t e   K u b e r n e t e s   c l u s t e r : N e w - I t e m   c o n f i g   - t y p e   f i l e   T o   i n s t a l l   k u b e c t l   o n   W i n d o w s   y o u   c a n   u s e   e i t h e r   C h o c o l a t e y   p a c k a g e   m a n a g e r ,   S c o o p   c o m m a n d - l i n e   i n s t a l l e r ,   o r   w i n g e t   p a c k a g e   m a n a g e r .   c h o c o   i n s t a l l   k u b e r n e t e s - c l i   c h o c o   i n s t a l l   k u b e r n e t e s - c l i   s c o o p   i n s t a l l   k u b e c t l   s c o o p   i n s t a l l   k u b e c t l   w i n g e t   i n s t a l l   - e   - - i d   K u b e r n e t e s . k u b e c t l   w i n g e t   i n s t a l l   - e   - - i d   K u b e r n e t e s . k u b e c t l   T e s t   t o   e n s u r e   t h e   v e r s i o n   y o u   i n s t a l l e d   i s   u p - t o - d a t e :   k u b e c t l   v e r s i o n   - - c l i e n t   N a v i g a t e   t o   y o u r   h o m e   d i r e c t o r y : ",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/",
    "id": "k8s_00484_section_3_9184"
  },
  {
    "question": "What is Verify kubectl configuration?",
    "answer": "I n   o r d e r   f o r   k u b e c t l   t o   f i n d   a n d   a c c e s s   a   K u b e r n e t e s   c l u s t e r ,   i t   n e e d s   a   k u b e c o n f i g   f i l e ,   w h i c h   i s   c r e a t e d   a u t o m a t i c a l l y   w h e n   y o u   c r e a t e   a   c l u s t e r   u s i n g   k u b e - u p . s h   o r   s u c c e s s f u l l y   d e p l o y   a   M i n i k u b e   c l u s t e r .   B y   d e f a u l t ,   k u b e c t l   c o n f i g u r a t i o n   i s   l o c a t e d   a t   ~ / . k u b e / c o n f i g .   C h e c k   t h a t   k u b e c t l   i s   p r o p e r l y   c o n f i g u r e d   b y   g e t t i n g   t h e   c l u s t e r   s t a t e :   k u b e c t l   c l u s t e r - i n f o   I f   y o u   s e e   a   U R L   r e s p o n s e ,   k u b e c t l   i s   c o r r e c t l y   c o n f i g u r e d   t o   a c c e s s   y o u r   c l u s t e r .   I f   y o u   s e e   a   m e s s a g e   s i m i l a r   t o   t h e   f o l l o w i n g ,   k u b e c t l   i s   n o t   c o n f i g u r e d   c o r r e c t l y   o r   i s   n o t   a b l e   t o   c o n n e c t   t o   a   K u b e r n e t e s   c l u s t e r .   T h e   c o n n e c t i o n   t o   t h e   s e r v e r   < s e r v e r - n a m e : p o r t >   w a s   r e f u s e d   -   d i d   y o u   s p e c i f y   t h e   r i g h t   h o s t   o r   p o r t ?   F o r   e x a m p l e ,   i f   y o u   a r e   i n t e n d i n g   t o   r u n   a   K u b e r n e t e s   c l u s t e r   o n   y o u r   l a p t o p   ( l o c a l l y ) ,   y o u   w i l l   n e e d   a   t o o l   l i k e   M i n i k u b e   t o   b e   i n s t a l l e d   f i r s t   a n d   t h e n   r e - r u n   t h e   c o m m a n d s   s t a t e d   a b o v e .   I f   k u b e c t l   c l u s t e r - i n f o   r e t u r n s   t h e   u r l   r e s p o n s e   b u t   y o u   c a n ' t   a c c e s s   y o u r   c l u s t e r ,   t o   c h e c k   w h e t h e r   i t   i s   c o n f i g u r e d   p r o p e r l y ,   u ",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/",
    "id": "k8s_00484_section_2_9185"
  },
  {
    "question": "What is Troubleshooting the 'No Auth Provider Found' error message?",
    "answer": "I n   K u b e r n e t e s   1 . 2 6 ,   k u b e c t l   r e m o v e d   t h e   b u i l t - i n   a u t h e n t i c a t i o n   f o r   t h e   f o l l o w i n g   c l o u d   p r o v i d e r s '   m a n a g e d   K u b e r n e t e s   o f f e r i n g s .   T h e s e   p r o v i d e r s   h a v e   r e l e a s e d   k u b e c t l   p l u g i n s   t o   p r o v i d e   t h e   c l o u d - s p e c i f i c   a u t h e n t i c a t i o n .   F o r   i n s t r u c t i o n s ,   r e f e r   t o   t h e   f o l l o w i n g   p r o v i d e r   d o c u m e n t a t i o n :   A z u r e   A K S :   k u b e l o g i n   p l u g i n G o o g l e   K u b e r n e t e s   E n g i n e :   g k e - g c l o u d - a u t h - p l u g i n   ( T h e r e   c o u l d   a l s o   b e   o t h e r   r e a s o n s   t o   s e e   t h e   s a m e   e r r o r   m e s s a g e ,   u n r e l a t e d   t o   t h a t   c h a n g e . )",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/",
    "id": "k8s_00484_section_3_9186"
  },
  {
    "question": "What is Enable shell autocompletion?",
    "answer": "k u b e c t l   p r o v i d e s   a u t o c o m p l e t i o n   s u p p o r t   f o r   B a s h ,   Z s h ,   F i s h ,   a n d   P o w e r S h e l l ,   w h i c h   c a n   s a v e   y o u   a   l o t   o f   t y p i n g .   B e l o w   a r e   t h e   p r o c e d u r e s   t o   s e t   u p   a u t o c o m p l e t i o n   f o r   P o w e r S h e l l .   T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   f o r   P o w e r S h e l l   c a n   b e   g e n e r a t e d   w i t h   t h e   c o m m a n d   k u b e c t l   c o m p l e t i o n   p o w e r s h e l l .   T o   d o   s o   i n   a l l   y o u r   s h e l l   s e s s i o n s ,   a d d   t h e   f o l l o w i n g   l i n e   t o   y o u r   $ P R O F I L E   f i l e :   k u b e c t l   c o m p l e t i o n   p o w e r s h e l l   |   O u t - S t r i n g   |   I n v o k e - E x p r e s s i o n   T h i s   c o m m a n d   w i l l   r e g e n e r a t e   t h e   a u t o - c o m p l e t i o n   s c r i p t   o n   e v e r y   P o w e r S h e l l   s t a r t   u p .   Y o u   c a n   a l s o   a d d   t h e   g e n e r a t e d   s c r i p t   d i r e c t l y   t o   y o u r   $ P R O F I L E   f i l e .   T o   a d d   t h e   g e n e r a t e d   s c r i p t   t o   y o u r   $ P R O F I L E   f i l e ,   r u n   t h e   f o l l o w i n g   l i n e   i n   y o u r   p o w e r s h e l l   p r o m p t :   k u b e c t l   c o m p l e t i o n   p o w e r s h e l l   > >   $ P R O F I L E   A f t e r   r e l o a d i n g   y o u r   s h e l l ,   k u b e c t l   a u t o c o m p l e t i o n   s h o u l d   b e   w o r k i n g .",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/",
    "id": "k8s_00484_section_3_9187"
  },
  {
    "question": "What is Configure kuberc?",
    "answer": "S e e   k u b e r c   f o r   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/",
    "id": "k8s_00484_section_3_9188"
  },
  {
    "question": "What is Install kubectl convert plugin?",
    "answer": "A   p l u g i n   f o r   K u b e r n e t e s   c o m m a n d - l i n e   t o o l   k u b e c t l ,   w h i c h   a l l o w s   y o u   t o   c o n v e r t   m a n i f e s t s   b e t w e e n   d i f f e r e n t   A P I   v e r s i o n s .   T h i s   c a n   b e   p a r t i c u l a r l y   h e l p f u l   t o   m i g r a t e   m a n i f e s t s   t o   a   n o n - d e p r e c a t e d   a p i   v e r s i o n   w i t h   n e w e r   K u b e r n e t e s   r e l e a s e .   F o r   m o r e   i n f o ,   v i s i t   m i g r a t e   t o   n o n   d e p r e c a t e d   a p i s   D o w n l o a d   t h e   l a t e s t   r e l e a s e   w i t h   t h e   c o m m a n d : c u r l . e x e   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / v 1 . 3 4 . 0 / b i n / w i n d o w s / a m d 6 4 / k u b e c t l - c o n v e r t . e x e \"   V a l i d a t e   t h e   b i n a r y   ( o p t i o n a l ) . D o w n l o a d   t h e   k u b e c t l - c o n v e r t   c h e c k s u m   f i l e : c u r l . e x e   - L O   \" h t t p s : / / d l . k 8 s . i o / v 1 . 3 4 . 0 / b i n / w i n d o w s / a m d 6 4 / k u b e c t l - c o n v e r t . e x e . s h a 2 5 6 \"   V a l i d a t e   t h e   k u b e c t l - c o n v e r t   b i n a r y   a g a i n s t   t h e   c h e c k s u m   f i l e : U s i n g   C o m m a n d   P r o m p t   t o   m a n u a l l y   c o m p a r e   C e r t U t i l ' s   o u t p u t   t o   t h e   c h e c k s u m   f i l e   d o w n l o a d e d : C e r t U t i l   - h a s h f i l e   k u b e c t l - c o n v e r t . e x e   S H A 2 5 6   t y p e   k u b e c t l - c o n v e r t . e x e . s h a 2 5 6   U s i n g   P o w e r S h e l l   t o   a u t o m a t e   t h e   v e r i f i c a t i o n   u s i n g   t h e   - e q   o p e r a t o r   t o   g e t   a   T r u e   o r   F a l s e   r e s u l t : $ ( $ ( C e r t U t i l   - h a s h f i l e   . \\ k u b e c t l - c o n v e r t . e x e   S H A 2 5 6 ) [ 1 ]   - r e p l a c e   \"   \" ,   \" \" )   - e q   $ ( t y p e   . \\ k ",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/",
    "id": "k8s_00484_section_3_9189"
  },
  {
    "question": "What is What's next?",
    "answer": "I n s t a l l   M i n i k u b e S e e   t h e   g e t t i n g   s t a r t e d   g u i d e s   f o r   m o r e   a b o u t   c r e a t i n g   c l u s t e r s . L e a r n   h o w   t o   l a u n c h   a n d   e x p o s e   y o u r   a p p l i c a t i o n . I f   y o u   n e e d   a c c e s s   t o   a   c l u s t e r   y o u   d i d n ' t   c r e a t e ,   s e e   t h e   S h a r i n g   C l u s t e r   A c c e s s   d o c u m e n t . R e a d   t h e   k u b e c t l   r e f e r e n c e   d o c s",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/",
    "id": "k8s_00484_section_2_9190"
  },
  {
    "question": "What is kubectl config get-clusters?",
    "answer": "kubectl config get-clustersSynopsisDisplay clusters defined in the kubeconfig.kubectl config get-clusters [flags] Examples # List the clusters that kubectl knows about kubectl config get-clusters Options-h, --helphelp for get-clustersParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--v",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-clusters/",
    "id": "k8s_00485_qa_9191"
  },
  {
    "question": "How does kubectl config get-clusters work?",
    "answer": "kubectl config get-clustersSynopsisDisplay clusters defined in the kubeconfig.kubectl config get-clusters [flags] Examples # List the clusters that kubectl knows about kubectl config get-clusters Options-h, --helphelp for get-clustersParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--v",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-clusters/",
    "id": "k8s_00485_qa_9192"
  },
  {
    "question": "When would you use kubectl config get-clusters?",
    "answer": "kubectl config get-clustersSynopsisDisplay clusters defined in the kubeconfig.kubectl config get-clusters [flags] Examples # List the clusters that kubectl knows about kubectl config get-clusters Options-h, --helphelp for get-clustersParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--v",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-clusters/",
    "id": "k8s_00485_qa_9193"
  },
  {
    "question": "What are the benefits of kubectl config get-clusters?",
    "answer": "kubectl config get-clustersSynopsisDisplay clusters defined in the kubeconfig.kubectl config get-clusters [flags] Examples # List the clusters that kubectl knows about kubectl config get-clusters Options-h, --helphelp for get-clustersParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--v",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-clusters/",
    "id": "k8s_00485_qa_9194"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   c l u s t e r s   d e f i n e d   i n   t h e   k u b e c o n f i g .   k u b e c t l   c o n f i g   g e t - c l u s t e r s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-clusters/",
    "id": "k8s_00485_section_2_9195"
  },
  {
    "question": "What is Examples?",
    "answer": "#   L i s t   t h e   c l u s t e r s   t h a t   k u b e c t l   k n o w s   a b o u t   k u b e c t l   c o n f i g   g e t - c l u s t e r s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-clusters/",
    "id": "k8s_00485_section_2_9196"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   g e t - c l u s t e r s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-clusters/",
    "id": "k8s_00485_section_2_9197"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-clusters/",
    "id": "k8s_00485_section_2_9198"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-clusters/",
    "id": "k8s_00485_section_2_9199"
  },
  {
    "question": "What is LocalObjectReference?",
    "answer": "LocalObjectReferenceLocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.import \"k8s.io/api/core/v1\"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.name (string)Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/local-object-reference/",
    "id": "k8s_00486_qa_9200"
  },
  {
    "question": "How does LocalObjectReference work?",
    "answer": "LocalObjectReferenceLocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.import \"k8s.io/api/core/v1\"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.name (string)Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/local-object-reference/",
    "id": "k8s_00486_qa_9201"
  },
  {
    "question": "When would you use LocalObjectReference?",
    "answer": "LocalObjectReferenceLocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.import \"k8s.io/api/core/v1\"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.name (string)Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/local-object-reference/",
    "id": "k8s_00486_qa_9202"
  },
  {
    "question": "What are the benefits of LocalObjectReference?",
    "answer": "LocalObjectReferenceLocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.import \"k8s.io/api/core/v1\"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.name (string)Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/local-object-reference/",
    "id": "k8s_00486_qa_9203"
  },
  {
    "question": "What is LocalObjectReference?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"   L o c a l O b j e c t R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   l o c a t e   t h e   r e f e r e n c e d   o b j e c t   i n s i d e   t h e   s a m e   n a m e s p a c e .   n a m e   ( s t r i n g ) N a m e   o f   t h e   r e f e r e n t .   T h i s   f i e l d   i s   e f f e c t i v e l y   r e q u i r e d ,   b u t   d u e   t o   b a c k w a r d s   c o m p a t i b i l i t y   i s   a l l o w e d   t o   b e   e m p t y .   I n s t a n c e s   o f   t h i s   t y p e   w i t h   a n   e m p t y   v a l u e   h e r e   a r e   a l m o s t   c e r t a i n l y   w r o n g .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s / # n a m e s   n a m e   ( s t r i n g )   N a m e   o f   t h e   r e f e r e n t .   T h i s   f i e l d   i s   e f f e c t i v e l y   r e q u i r e d ,   b u t   d u e   t o   b a c k w a r d s   c o m p a t i b i l i t y   i s   a l l o w e d   t o   b e   e m p t y .   I n s t a n c e s   o f   t h i s   t y p e   w i t h   a n   e m p t y   v a l u e   h e r e   a r e   a l m o s t   c e r t a i n l y   w r o n g .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s / # n a m e s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/local-object-reference/",
    "id": "k8s_00486_section_1_9204"
  },
  {
    "question": "What is kubectl explain?",
    "answer": "kubectl explainSynopsisDescribe fields and structure of various resources.This command describes the fields associated with each supported API resource. Fields are identified via a simple JSONPath identifier: &lt;type&gt;.&lt;fieldName&gt;[.&lt;fieldName&gt;] Information about each field is retrieved from the server in OpenAPI format.Use \"kubectl api-resources\" for a complete list of supported resources.kubectl explain TYPE [--recursive=FALSE|TRUE] [--api-version=api-version-group] [-o|--output=plaintext|plaintext-openapiv2] Examples # Get the documentation of the resource and its fields kubectl explain pods # Get all the fields in the resource kubectl explain pods --recursive # Get the explanation for deployment in supported api versions kubectl explain deployments --api-version=apps/v1 # Get the documentation of a specific field of a resource kubectl explain pods.spec.containers # Get the documentation of resources in different format kubectl explain deployment --output=plaintext-openapiv2 Options--api-version stringGet different explanations for particular API version (API group/version)-h, --helphelp for explain-o, --output string Default: \"plaintext\"Format in which to render the schema (plaintext, plaintext-openapiv2)--recursivePrint the fields of fields (Currently only 1 level deep)Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-ze",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_explain/",
    "id": "k8s_00487_qa_9205"
  },
  {
    "question": "How does kubectl explain work?",
    "answer": "kubectl explainSynopsisDescribe fields and structure of various resources.This command describes the fields associated with each supported API resource. Fields are identified via a simple JSONPath identifier: &lt;type&gt;.&lt;fieldName&gt;[.&lt;fieldName&gt;] Information about each field is retrieved from the server in OpenAPI format.Use \"kubectl api-resources\" for a complete list of supported resources.kubectl explain TYPE [--recursive=FALSE|TRUE] [--api-version=api-version-group] [-o|--output=plaintext|plaintext-openapiv2] Examples # Get the documentation of the resource and its fields kubectl explain pods # Get all the fields in the resource kubectl explain pods --recursive # Get the explanation for deployment in supported api versions kubectl explain deployments --api-version=apps/v1 # Get the documentation of a specific field of a resource kubectl explain pods.spec.containers # Get the documentation of resources in different format kubectl explain deployment --output=plaintext-openapiv2 Options--api-version stringGet different explanations for particular API version (API group/version)-h, --helphelp for explain-o, --output string Default: \"plaintext\"Format in which to render the schema (plaintext, plaintext-openapiv2)--recursivePrint the fields of fields (Currently only 1 level deep)Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-ze",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_explain/",
    "id": "k8s_00487_qa_9206"
  },
  {
    "question": "When would you use kubectl explain?",
    "answer": "kubectl explainSynopsisDescribe fields and structure of various resources.This command describes the fields associated with each supported API resource. Fields are identified via a simple JSONPath identifier: &lt;type&gt;.&lt;fieldName&gt;[.&lt;fieldName&gt;] Information about each field is retrieved from the server in OpenAPI format.Use \"kubectl api-resources\" for a complete list of supported resources.kubectl explain TYPE [--recursive=FALSE|TRUE] [--api-version=api-version-group] [-o|--output=plaintext|plaintext-openapiv2] Examples # Get the documentation of the resource and its fields kubectl explain pods # Get all the fields in the resource kubectl explain pods --recursive # Get the explanation for deployment in supported api versions kubectl explain deployments --api-version=apps/v1 # Get the documentation of a specific field of a resource kubectl explain pods.spec.containers # Get the documentation of resources in different format kubectl explain deployment --output=plaintext-openapiv2 Options--api-version stringGet different explanations for particular API version (API group/version)-h, --helphelp for explain-o, --output string Default: \"plaintext\"Format in which to render the schema (plaintext, plaintext-openapiv2)--recursivePrint the fields of fields (Currently only 1 level deep)Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-ze",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_explain/",
    "id": "k8s_00487_qa_9207"
  },
  {
    "question": "What are the benefits of kubectl explain?",
    "answer": "kubectl explainSynopsisDescribe fields and structure of various resources.This command describes the fields associated with each supported API resource. Fields are identified via a simple JSONPath identifier: &lt;type&gt;.&lt;fieldName&gt;[.&lt;fieldName&gt;] Information about each field is retrieved from the server in OpenAPI format.Use \"kubectl api-resources\" for a complete list of supported resources.kubectl explain TYPE [--recursive=FALSE|TRUE] [--api-version=api-version-group] [-o|--output=plaintext|plaintext-openapiv2] Examples # Get the documentation of the resource and its fields kubectl explain pods # Get all the fields in the resource kubectl explain pods --recursive # Get the explanation for deployment in supported api versions kubectl explain deployments --api-version=apps/v1 # Get the documentation of a specific field of a resource kubectl explain pods.spec.containers # Get the documentation of resources in different format kubectl explain deployment --output=plaintext-openapiv2 Options--api-version stringGet different explanations for particular API version (API group/version)-h, --helphelp for explain-o, --output string Default: \"plaintext\"Format in which to render the schema (plaintext, plaintext-openapiv2)--recursivePrint the fields of fields (Currently only 1 level deep)Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-ze",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_explain/",
    "id": "k8s_00487_qa_9208"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D e s c r i b e   f i e l d s   a n d   s t r u c t u r e   o f   v a r i o u s   r e s o u r c e s .   T h i s   c o m m a n d   d e s c r i b e s   t h e   f i e l d s   a s s o c i a t e d   w i t h   e a c h   s u p p o r t e d   A P I   r e s o u r c e .   F i e l d s   a r e   i d e n t i f i e d   v i a   a   s i m p l e   J S O N P a t h   i d e n t i f i e r :   & l t ; t y p e & g t ; . & l t ; f i e l d N a m e & g t ; [ . & l t ; f i e l d N a m e & g t ; ]   I n f o r m a t i o n   a b o u t   e a c h   f i e l d   i s   r e t r i e v e d   f r o m   t h e   s e r v e r   i n   O p e n A P I   f o r m a t .   U s e   \" k u b e c t l   a p i - r e s o u r c e s \"   f o r   a   c o m p l e t e   l i s t   o f   s u p p o r t e d   r e s o u r c e s .   k u b e c t l   e x p l a i n   T Y P E   [ - - r e c u r s i v e = F A L S E | T R U E ]   [ - - a p i - v e r s i o n = a p i - v e r s i o n - g r o u p ]   [ - o | - - o u t p u t = p l a i n t e x t | p l a i n t e x t - o p e n a p i v 2 ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_explain/",
    "id": "k8s_00487_section_2_9209"
  },
  {
    "question": "What is Examples?",
    "answer": "#   G e t   t h e   d o c u m e n t a t i o n   o f   t h e   r e s o u r c e   a n d   i t s   f i e l d s   k u b e c t l   e x p l a i n   p o d s   #   G e t   a l l   t h e   f i e l d s   i n   t h e   r e s o u r c e   k u b e c t l   e x p l a i n   p o d s   - - r e c u r s i v e   #   G e t   t h e   e x p l a n a t i o n   f o r   d e p l o y m e n t   i n   s u p p o r t e d   a p i   v e r s i o n s   k u b e c t l   e x p l a i n   d e p l o y m e n t s   - - a p i - v e r s i o n = a p p s / v 1   #   G e t   t h e   d o c u m e n t a t i o n   o f   a   s p e c i f i c   f i e l d   o f   a   r e s o u r c e   k u b e c t l   e x p l a i n   p o d s . s p e c . c o n t a i n e r s   #   G e t   t h e   d o c u m e n t a t i o n   o f   r e s o u r c e s   i n   d i f f e r e n t   f o r m a t   k u b e c t l   e x p l a i n   d e p l o y m e n t   - - o u t p u t = p l a i n t e x t - o p e n a p i v 2",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_explain/",
    "id": "k8s_00487_section_2_9210"
  },
  {
    "question": "What is Options?",
    "answer": "G e t   d i f f e r e n t   e x p l a n a t i o n s   f o r   p a r t i c u l a r   A P I   v e r s i o n   ( A P I   g r o u p / v e r s i o n )   h e l p   f o r   e x p l a i n   F o r m a t   i n   w h i c h   t o   r e n d e r   t h e   s c h e m a   ( p l a i n t e x t ,   p l a i n t e x t - o p e n a p i v 2 )   P r i n t   t h e   f i e l d s   o f   f i e l d s   ( C u r r e n t l y   o n l y   1   l e v e l   d e e p )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_explain/",
    "id": "k8s_00487_section_2_9211"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_explain/",
    "id": "k8s_00487_section_2_9212"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_explain/",
    "id": "k8s_00487_section_2_9213"
  },
  {
    "question": "What is ReplicaSet?",
    "answer": "ReplicaSetA ReplicaSet's purpose is to maintain a stable set of replica Pods running at any given time. Usually, you define a Deployment and let that Deployment manage ReplicaSets automatically.A ReplicaSet's purpose is to maintain a stable set of replica Pods running at any given time. As such, it is often used to guarantee the availability of a specified number of identical Pods.How a ReplicaSet worksA ReplicaSet is defined with fields, including a selector that specifies how to identify Pods it can acquire, a number of replicas indicating how many Pods it should be maintaining, and a pod template specifying the data of new Pods it should create to meet the number of replicas criteria. A ReplicaSet then fulfills its purpose by creating and deleting Pods as needed to reach the desired number. When a ReplicaSet needs to create new Pods, it uses its Pod template.A ReplicaSet is linked to its Pods via the Pods' metadata.ownerReferences field, which specifies what resource the current object is owned by. All Pods acquired by a ReplicaSet have their owning ReplicaSet's identifying information within their ownerReferences field. It's through this link that the ReplicaSet knows of the state of the Pods it is maintaining and plans accordingly.A ReplicaSet identifies new Pods to acquire by using its selector. If there is a Pod that has no OwnerReference or the OwnerReference is not a Controller and it matches a ReplicaSet's selector, it will be immediately acquired by said ReplicaSet.When to use a ReplicaSetA ReplicaSet ensures that a specified number of pod replicas are running at any given time. However, a Deployment is a higher-level concept that manages ReplicaSets and provides declarative updates to Pods along with a lot of other useful features. Therefore, we recommend using Deployments instead of directly using ReplicaSets, unless you require custom update orchestration or don't require updates at all.This actually means that you may never need to manipulate ReplicaSet objects: use a Deployment instead, and define your application in the spec section.Examplecontrollers/frontend.yaml apiVersion: apps/v1 kind: ReplicaSet metadata: name: frontend labels: app: guestbook tier: frontend spec: # modify replicas according to your case replicas: 3 selector: matchLabels: tier: frontend template: metadata: labels: tier: frontend spec: containers: - name: php-redis image: us-docker.pkg.dev/google-samples/containers/gke/gb-frontend:v5 Saving this manifest into frontend.yaml and submitting it to a Kubernetes cluster will create the defined ReplicaSet and the Pods that it manages.kubectl apply -f https://kubernetes.io/examples/controllers/frontend.yaml You can then get the current ReplicaSets deployed:kubectl get rs And see the frontend one you created:NAME DESIRED CURRENT READY AGE frontend 3 3 3 6s You can also check on the state of the ReplicaSet:kubectl describe rs/frontend And you will see output similar to:Name: frontend Namespace: default Selector: tier=f",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_qa_9214"
  },
  {
    "question": "How does ReplicaSet work?",
    "answer": "ReplicaSetA ReplicaSet's purpose is to maintain a stable set of replica Pods running at any given time. Usually, you define a Deployment and let that Deployment manage ReplicaSets automatically.A ReplicaSet's purpose is to maintain a stable set of replica Pods running at any given time. As such, it is often used to guarantee the availability of a specified number of identical Pods.How a ReplicaSet worksA ReplicaSet is defined with fields, including a selector that specifies how to identify Pods it can acquire, a number of replicas indicating how many Pods it should be maintaining, and a pod template specifying the data of new Pods it should create to meet the number of replicas criteria. A ReplicaSet then fulfills its purpose by creating and deleting Pods as needed to reach the desired number. When a ReplicaSet needs to create new Pods, it uses its Pod template.A ReplicaSet is linked to its Pods via the Pods' metadata.ownerReferences field, which specifies what resource the current object is owned by. All Pods acquired by a ReplicaSet have their owning ReplicaSet's identifying information within their ownerReferences field. It's through this link that the ReplicaSet knows of the state of the Pods it is maintaining and plans accordingly.A ReplicaSet identifies new Pods to acquire by using its selector. If there is a Pod that has no OwnerReference or the OwnerReference is not a Controller and it matches a ReplicaSet's selector, it will be immediately acquired by said ReplicaSet.When to use a ReplicaSetA ReplicaSet ensures that a specified number of pod replicas are running at any given time. However, a Deployment is a higher-level concept that manages ReplicaSets and provides declarative updates to Pods along with a lot of other useful features. Therefore, we recommend using Deployments instead of directly using ReplicaSets, unless you require custom update orchestration or don't require updates at all.This actually means that you may never need to manipulate ReplicaSet objects: use a Deployment instead, and define your application in the spec section.Examplecontrollers/frontend.yaml apiVersion: apps/v1 kind: ReplicaSet metadata: name: frontend labels: app: guestbook tier: frontend spec: # modify replicas according to your case replicas: 3 selector: matchLabels: tier: frontend template: metadata: labels: tier: frontend spec: containers: - name: php-redis image: us-docker.pkg.dev/google-samples/containers/gke/gb-frontend:v5 Saving this manifest into frontend.yaml and submitting it to a Kubernetes cluster will create the defined ReplicaSet and the Pods that it manages.kubectl apply -f https://kubernetes.io/examples/controllers/frontend.yaml You can then get the current ReplicaSets deployed:kubectl get rs And see the frontend one you created:NAME DESIRED CURRENT READY AGE frontend 3 3 3 6s You can also check on the state of the ReplicaSet:kubectl describe rs/frontend And you will see output similar to:Name: frontend Namespace: default Selector: tier=f",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_qa_9215"
  },
  {
    "question": "When would you use ReplicaSet?",
    "answer": "ReplicaSetA ReplicaSet's purpose is to maintain a stable set of replica Pods running at any given time. Usually, you define a Deployment and let that Deployment manage ReplicaSets automatically.A ReplicaSet's purpose is to maintain a stable set of replica Pods running at any given time. As such, it is often used to guarantee the availability of a specified number of identical Pods.How a ReplicaSet worksA ReplicaSet is defined with fields, including a selector that specifies how to identify Pods it can acquire, a number of replicas indicating how many Pods it should be maintaining, and a pod template specifying the data of new Pods it should create to meet the number of replicas criteria. A ReplicaSet then fulfills its purpose by creating and deleting Pods as needed to reach the desired number. When a ReplicaSet needs to create new Pods, it uses its Pod template.A ReplicaSet is linked to its Pods via the Pods' metadata.ownerReferences field, which specifies what resource the current object is owned by. All Pods acquired by a ReplicaSet have their owning ReplicaSet's identifying information within their ownerReferences field. It's through this link that the ReplicaSet knows of the state of the Pods it is maintaining and plans accordingly.A ReplicaSet identifies new Pods to acquire by using its selector. If there is a Pod that has no OwnerReference or the OwnerReference is not a Controller and it matches a ReplicaSet's selector, it will be immediately acquired by said ReplicaSet.When to use a ReplicaSetA ReplicaSet ensures that a specified number of pod replicas are running at any given time. However, a Deployment is a higher-level concept that manages ReplicaSets and provides declarative updates to Pods along with a lot of other useful features. Therefore, we recommend using Deployments instead of directly using ReplicaSets, unless you require custom update orchestration or don't require updates at all.This actually means that you may never need to manipulate ReplicaSet objects: use a Deployment instead, and define your application in the spec section.Examplecontrollers/frontend.yaml apiVersion: apps/v1 kind: ReplicaSet metadata: name: frontend labels: app: guestbook tier: frontend spec: # modify replicas according to your case replicas: 3 selector: matchLabels: tier: frontend template: metadata: labels: tier: frontend spec: containers: - name: php-redis image: us-docker.pkg.dev/google-samples/containers/gke/gb-frontend:v5 Saving this manifest into frontend.yaml and submitting it to a Kubernetes cluster will create the defined ReplicaSet and the Pods that it manages.kubectl apply -f https://kubernetes.io/examples/controllers/frontend.yaml You can then get the current ReplicaSets deployed:kubectl get rs And see the frontend one you created:NAME DESIRED CURRENT READY AGE frontend 3 3 3 6s You can also check on the state of the ReplicaSet:kubectl describe rs/frontend And you will see output similar to:Name: frontend Namespace: default Selector: tier=f",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_qa_9216"
  },
  {
    "question": "What are the benefits of ReplicaSet?",
    "answer": "ReplicaSetA ReplicaSet's purpose is to maintain a stable set of replica Pods running at any given time. Usually, you define a Deployment and let that Deployment manage ReplicaSets automatically.A ReplicaSet's purpose is to maintain a stable set of replica Pods running at any given time. As such, it is often used to guarantee the availability of a specified number of identical Pods.How a ReplicaSet worksA ReplicaSet is defined with fields, including a selector that specifies how to identify Pods it can acquire, a number of replicas indicating how many Pods it should be maintaining, and a pod template specifying the data of new Pods it should create to meet the number of replicas criteria. A ReplicaSet then fulfills its purpose by creating and deleting Pods as needed to reach the desired number. When a ReplicaSet needs to create new Pods, it uses its Pod template.A ReplicaSet is linked to its Pods via the Pods' metadata.ownerReferences field, which specifies what resource the current object is owned by. All Pods acquired by a ReplicaSet have their owning ReplicaSet's identifying information within their ownerReferences field. It's through this link that the ReplicaSet knows of the state of the Pods it is maintaining and plans accordingly.A ReplicaSet identifies new Pods to acquire by using its selector. If there is a Pod that has no OwnerReference or the OwnerReference is not a Controller and it matches a ReplicaSet's selector, it will be immediately acquired by said ReplicaSet.When to use a ReplicaSetA ReplicaSet ensures that a specified number of pod replicas are running at any given time. However, a Deployment is a higher-level concept that manages ReplicaSets and provides declarative updates to Pods along with a lot of other useful features. Therefore, we recommend using Deployments instead of directly using ReplicaSets, unless you require custom update orchestration or don't require updates at all.This actually means that you may never need to manipulate ReplicaSet objects: use a Deployment instead, and define your application in the spec section.Examplecontrollers/frontend.yaml apiVersion: apps/v1 kind: ReplicaSet metadata: name: frontend labels: app: guestbook tier: frontend spec: # modify replicas according to your case replicas: 3 selector: matchLabels: tier: frontend template: metadata: labels: tier: frontend spec: containers: - name: php-redis image: us-docker.pkg.dev/google-samples/containers/gke/gb-frontend:v5 Saving this manifest into frontend.yaml and submitting it to a Kubernetes cluster will create the defined ReplicaSet and the Pods that it manages.kubectl apply -f https://kubernetes.io/examples/controllers/frontend.yaml You can then get the current ReplicaSets deployed:kubectl get rs And see the frontend one you created:NAME DESIRED CURRENT READY AGE frontend 3 3 3 6s You can also check on the state of the ReplicaSet:kubectl describe rs/frontend And you will see output similar to:Name: frontend Namespace: default Selector: tier=f",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_qa_9217"
  },
  {
    "question": "What is ReplicaSet?",
    "answer": "A   R e p l i c a S e t ' s   p u r p o s e   i s   t o   m a i n t a i n   a   s t a b l e   s e t   o f   r e p l i c a   P o d s   r u n n i n g   a t   a n y   g i v e n   t i m e .   A s   s u c h ,   i t   i s   o f t e n   u s e d   t o   g u a r a n t e e   t h e   a v a i l a b i l i t y   o f   a   s p e c i f i e d   n u m b e r   o f   i d e n t i c a l   P o d s .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_section_1_9218"
  },
  {
    "question": "What is How a ReplicaSet works?",
    "answer": "A   R e p l i c a S e t   i s   d e f i n e d   w i t h   f i e l d s ,   i n c l u d i n g   a   s e l e c t o r   t h a t   s p e c i f i e s   h o w   t o   i d e n t i f y   P o d s   i t   c a n   a c q u i r e ,   a   n u m b e r   o f   r e p l i c a s   i n d i c a t i n g   h o w   m a n y   P o d s   i t   s h o u l d   b e   m a i n t a i n i n g ,   a n d   a   p o d   t e m p l a t e   s p e c i f y i n g   t h e   d a t a   o f   n e w   P o d s   i t   s h o u l d   c r e a t e   t o   m e e t   t h e   n u m b e r   o f   r e p l i c a s   c r i t e r i a .   A   R e p l i c a S e t   t h e n   f u l f i l l s   i t s   p u r p o s e   b y   c r e a t i n g   a n d   d e l e t i n g   P o d s   a s   n e e d e d   t o   r e a c h   t h e   d e s i r e d   n u m b e r .   W h e n   a   R e p l i c a S e t   n e e d s   t o   c r e a t e   n e w   P o d s ,   i t   u s e s   i t s   P o d   t e m p l a t e .   A   R e p l i c a S e t   i s   l i n k e d   t o   i t s   P o d s   v i a   t h e   P o d s '   m e t a d a t a . o w n e r R e f e r e n c e s   f i e l d ,   w h i c h   s p e c i f i e s   w h a t   r e s o u r c e   t h e   c u r r e n t   o b j e c t   i s   o w n e d   b y .   A l l   P o d s   a c q u i r e d   b y   a   R e p l i c a S e t   h a v e   t h e i r   o w n i n g   R e p l i c a S e t ' s   i d e n t i f y i n g   i n f o r m a t i o n   w i t h i n   t h e i r   o w n e r R e f e r e n c e s   f i e l d .   I t ' s   t h r o u g h   t h i s   l i n k   t h a t   t h e   R e p l i c a S e t   k n o w s   o f   t h e   s t a t e   o f   t h e   P o d s   i t   i s   m a i n t a i n i n g   a n d   p l a n s   a c c o r d i n g l y .   A   R e p l i c a S e t   i d e n t i f i e s   n e w   P o d s   t o   a c q u i r e   b y   u s i n g   i t s   s e l e c t o r .   I f   t h e r e   i s   a   P o d   t h a t   h a s   n o   O w n e r R e f e r e n c e   o r   t h e   O w n e r R e f e r e n c e   i s   n o t   a   C o n t r ",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_section_2_9219"
  },
  {
    "question": "What is When to use a ReplicaSet?",
    "answer": "A   R e p l i c a S e t   e n s u r e s   t h a t   a   s p e c i f i e d   n u m b e r   o f   p o d   r e p l i c a s   a r e   r u n n i n g   a t   a n y   g i v e n   t i m e .   H o w e v e r ,   a   D e p l o y m e n t   i s   a   h i g h e r - l e v e l   c o n c e p t   t h a t   m a n a g e s   R e p l i c a S e t s   a n d   p r o v i d e s   d e c l a r a t i v e   u p d a t e s   t o   P o d s   a l o n g   w i t h   a   l o t   o f   o t h e r   u s e f u l   f e a t u r e s .   T h e r e f o r e ,   w e   r e c o m m e n d   u s i n g   D e p l o y m e n t s   i n s t e a d   o f   d i r e c t l y   u s i n g   R e p l i c a S e t s ,   u n l e s s   y o u   r e q u i r e   c u s t o m   u p d a t e   o r c h e s t r a t i o n   o r   d o n ' t   r e q u i r e   u p d a t e s   a t   a l l .   T h i s   a c t u a l l y   m e a n s   t h a t   y o u   m a y   n e v e r   n e e d   t o   m a n i p u l a t e   R e p l i c a S e t   o b j e c t s :   u s e   a   D e p l o y m e n t   i n s t e a d ,   a n d   d e f i n e   y o u r   a p p l i c a t i o n   i n   t h e   s p e c   s e c t i o n .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_section_2_9220"
  },
  {
    "question": "What is Example?",
    "answer": "a p i V e r s i o n :   a p p s / v 1   k i n d :   R e p l i c a S e t   m e t a d a t a :   n a m e :   f r o n t e n d   l a b e l s :   a p p :   g u e s t b o o k   t i e r :   f r o n t e n d   s p e c :   #   m o d i f y   r e p l i c a s   a c c o r d i n g   t o   y o u r   c a s e   r e p l i c a s :   3   s e l e c t o r :   m a t c h L a b e l s :   t i e r :   f r o n t e n d   t e m p l a t e :   m e t a d a t a :   l a b e l s :   t i e r :   f r o n t e n d   s p e c :   c o n t a i n e r s :   -   n a m e :   p h p - r e d i s   i m a g e :   u s - d o c k e r . p k g . d e v / g o o g l e - s a m p l e s / c o n t a i n e r s / g k e / g b - f r o n t e n d : v 5   S a v i n g   t h i s   m a n i f e s t   i n t o   f r o n t e n d . y a m l   a n d   s u b m i t t i n g   i t   t o   a   K u b e r n e t e s   c l u s t e r   w i l l   c r e a t e   t h e   d e f i n e d   R e p l i c a S e t   a n d   t h e   P o d s   t h a t   i t   m a n a g e s .   k u b e c t l   a p p l y   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / c o n t r o l l e r s / f r o n t e n d . y a m l   Y o u   c a n   t h e n   g e t   t h e   c u r r e n t   R e p l i c a S e t s   d e p l o y e d :   k u b e c t l   g e t   r s   A n d   s e e   t h e   f r o n t e n d   o n e   y o u   c r e a t e d :   N A M E   D E S I R E D   C U R R E N T   R E A D Y   A G E   f r o n t e n d   3   3   3   6 s   Y o u   c a n   a l s o   c h e c k   o n   t h e   s t a t e   o f   t h e   R e p l i c a S e t :   k u b e c t l   d e s c r i b e   r s / f r o n t e n d   A n d   y o u   w i l l   s e e   o u t p u t   s i m i l a r   t o :   N a m e :   f r o n t e n d   N a m e s p a c e :   d e f a u l t   S e l e c t o r :   t i e r = f r o n t e n d   L a b e l s :   a p p = g u e s t b o o k   t i e r = f r o n t e n d   A n n o t a t i o n s :   < n o n e >   R e p l i c a s :   3   c u r r e n t   /   3   d e s i r e d   P o d s   S t a t u s :   3   R u n ",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_section_2_9221"
  },
  {
    "question": "What is Non-Template Pod acquisitions?",
    "answer": "W h i l e   y o u   c a n   c r e a t e   b a r e   P o d s   w i t h   n o   p r o b l e m s ,   i t   i s   s t r o n g l y   r e c o m m e n d e d   t o   m a k e   s u r e   t h a t   t h e   b a r e   P o d s   d o   n o t   h a v e   l a b e l s   w h i c h   m a t c h   t h e   s e l e c t o r   o f   o n e   o f   y o u r   R e p l i c a S e t s .   T h e   r e a s o n   f o r   t h i s   i s   b e c a u s e   a   R e p l i c a S e t   i s   n o t   l i m i t e d   t o   o w n i n g   P o d s   s p e c i f i e d   b y   i t s   t e m p l a t e - -   i t   c a n   a c q u i r e   o t h e r   P o d s   i n   t h e   m a n n e r   s p e c i f i e d   i n   t h e   p r e v i o u s   s e c t i o n s .   T a k e   t h e   p r e v i o u s   f r o n t e n d   R e p l i c a S e t   e x a m p l e ,   a n d   t h e   P o d s   s p e c i f i e d   i n   t h e   f o l l o w i n g   m a n i f e s t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p o d 1   l a b e l s :   t i e r :   f r o n t e n d   s p e c :   c o n t a i n e r s :   -   n a m e :   h e l l o 1   i m a g e :   g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 2 . 0   - - -   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p o d 2   l a b e l s :   t i e r :   f r o n t e n d   s p e c :   c o n t a i n e r s :   -   n a m e :   h e l l o 2   i m a g e :   g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 1 . 0   A s   t h o s e   P o d s   d o   n o t   h a v e   a   C o n t r o l l e r   ( o r   a n y   o b j e c t )   a s   t h e i r   o w n e r   r e f e r e n c e   a n d   m a t c h   t h e   s e l e c t o r   o f   t h e   f r o n t e n d   R e p l i c a S e t ,   t h e y   w i l l   i m m e d i a t e l y   b e   a c q u i r e d   b y   i t .   S u p p o s e   y o u   c r e a t e   t h e   P o d s   a f t e r   t h e   f r o n t e n d   R e p l i c a S e t   h a s   b e e n   d e p l o y e d   a n d ",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_section_2_9222"
  },
  {
    "question": "What is Writing a ReplicaSet manifest?",
    "answer": "A s   w i t h   a l l   o t h e r   K u b e r n e t e s   A P I   o b j e c t s ,   a   R e p l i c a S e t   n e e d s   t h e   a p i V e r s i o n ,   k i n d ,   a n d   m e t a d a t a   f i e l d s .   F o r   R e p l i c a S e t s ,   t h e   k i n d   i s   a l w a y s   a   R e p l i c a S e t .   W h e n   t h e   c o n t r o l   p l a n e   c r e a t e s   n e w   P o d s   f o r   a   R e p l i c a S e t ,   t h e   . m e t a d a t a . n a m e   o f   t h e   R e p l i c a S e t   i s   p a r t   o f   t h e   b a s i s   f o r   n a m i n g   t h o s e   P o d s .   T h e   n a m e   o f   a   R e p l i c a S e t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   v a l u e ,   b u t   t h i s   c a n   p r o d u c e   u n e x p e c t e d   r e s u l t s   f o r   t h e   P o d   h o s t n a m e s .   F o r   b e s t   c o m p a t i b i l i t y ,   t h e   n a m e   s h o u l d   f o l l o w   t h e   m o r e   r e s t r i c t i v e   r u l e s   f o r   a   D N S   l a b e l .   A   R e p l i c a S e t   a l s o   n e e d s   a   . s p e c   s e c t i o n .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_section_2_9223"
  },
  {
    "question": "What is Pod Template?",
    "answer": "T h e   . s p e c . t e m p l a t e   i s   a   p o d   t e m p l a t e   w h i c h   i s   a l s o   r e q u i r e d   t o   h a v e   l a b e l s   i n   p l a c e .   I n   o u r   f r o n t e n d . y a m l   e x a m p l e   w e   h a d   o n e   l a b e l :   t i e r :   f r o n t e n d .   B e   c a r e f u l   n o t   t o   o v e r l a p   w i t h   t h e   s e l e c t o r s   o f   o t h e r   c o n t r o l l e r s ,   l e s t   t h e y   t r y   t o   a d o p t   t h i s   P o d .   F o r   t h e   t e m p l a t e ' s   r e s t a r t   p o l i c y   f i e l d ,   . s p e c . t e m p l a t e . s p e c . r e s t a r t P o l i c y ,   t h e   o n l y   a l l o w e d   v a l u e   i s   A l w a y s ,   w h i c h   i s   t h e   d e f a u l t .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_section_3_9224"
  },
  {
    "question": "What is Pod Selector?",
    "answer": "T h e   . s p e c . s e l e c t o r   f i e l d   i s   a   l a b e l   s e l e c t o r .   A s   d i s c u s s e d   e a r l i e r   t h e s e   a r e   t h e   l a b e l s   u s e d   t o   i d e n t i f y   p o t e n t i a l   P o d s   t o   a c q u i r e .   I n   o u r   f r o n t e n d . y a m l   e x a m p l e ,   t h e   s e l e c t o r   w a s :   m a t c h L a b e l s :   t i e r :   f r o n t e n d   I n   t h e   R e p l i c a S e t ,   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s   m u s t   m a t c h   s p e c . s e l e c t o r ,   o r   i t   w i l l   b e   r e j e c t e d   b y   t h e   A P I .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_section_3_9225"
  },
  {
    "question": "What is Replicas?",
    "answer": "Y o u   c a n   s p e c i f y   h o w   m a n y   P o d s   s h o u l d   r u n   c o n c u r r e n t l y   b y   s e t t i n g   . s p e c . r e p l i c a s .   T h e   R e p l i c a S e t   w i l l   c r e a t e / d e l e t e   i t s   P o d s   t o   m a t c h   t h i s   n u m b e r .   I f   y o u   d o   n o t   s p e c i f y   . s p e c . r e p l i c a s ,   t h e n   i t   d e f a u l t s   t o   1 .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_section_3_9226"
  },
  {
    "question": "What is Deleting a ReplicaSet and its Pods?",
    "answer": "T o   d e l e t e   a   R e p l i c a S e t   a n d   a l l   o f   i t s   P o d s ,   u s e   k u b e c t l   d e l e t e .   T h e   G a r b a g e   c o l l e c t o r   a u t o m a t i c a l l y   d e l e t e s   a l l   o f   t h e   d e p e n d e n t   P o d s   b y   d e f a u l t .   W h e n   u s i n g   t h e   R E S T   A P I   o r   t h e   c l i e n t - g o   l i b r a r y ,   y o u   m u s t   s e t   p r o p a g a t i o n P o l i c y   t o   B a c k g r o u n d   o r   F o r e g r o u n d   i n   t h e   - d   o p t i o n .   F o r   e x a m p l e :   k u b e c t l   p r o x y   - - p o r t = 8 0 8 0   c u r l   - X   D E L E T E   ' l o c a l h o s t : 8 0 8 0 / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / r e p l i c a s e t s / f r o n t e n d '   \\   - d   ' { \" k i n d \" : \" D e l e t e O p t i o n s \" , \" a p i V e r s i o n \" : \" v 1 \" , \" p r o p a g a t i o n P o l i c y \" : \" F o r e g r o u n d \" } '   \\   - H   \" C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n \"",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_section_3_9227"
  },
  {
    "question": "What is Deleting just a ReplicaSet?",
    "answer": "Y o u   c a n   d e l e t e   a   R e p l i c a S e t   w i t h o u t   a f f e c t i n g   a n y   o f   i t s   P o d s   u s i n g   k u b e c t l   d e l e t e   w i t h   t h e   - - c a s c a d e = o r p h a n   o p t i o n .   W h e n   u s i n g   t h e   R E S T   A P I   o r   t h e   c l i e n t - g o   l i b r a r y ,   y o u   m u s t   s e t   p r o p a g a t i o n P o l i c y   t o   O r p h a n .   F o r   e x a m p l e :   k u b e c t l   p r o x y   - - p o r t = 8 0 8 0   c u r l   - X   D E L E T E   ' l o c a l h o s t : 8 0 8 0 / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / r e p l i c a s e t s / f r o n t e n d '   \\   - d   ' { \" k i n d \" : \" D e l e t e O p t i o n s \" , \" a p i V e r s i o n \" : \" v 1 \" , \" p r o p a g a t i o n P o l i c y \" : \" O r p h a n \" } '   \\   - H   \" C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n \"   O n c e   t h e   o r i g i n a l   i s   d e l e t e d ,   y o u   c a n   c r e a t e   a   n e w   R e p l i c a S e t   t o   r e p l a c e   i t .   A s   l o n g   a s   t h e   o l d   a n d   n e w   . s p e c . s e l e c t o r   a r e   t h e   s a m e ,   t h e n   t h e   n e w   o n e   w i l l   a d o p t   t h e   o l d   P o d s .   H o w e v e r ,   i t   w i l l   n o t   m a k e   a n y   e f f o r t   t o   m a k e   e x i s t i n g   P o d s   m a t c h   a   n e w ,   d i f f e r e n t   p o d   t e m p l a t e .   T o   u p d a t e   P o d s   t o   a   n e w   s p e c   i n   a   c o n t r o l l e d   w a y ,   u s e   a   D e p l o y m e n t ,   a s   R e p l i c a S e t s   d o   n o t   s u p p o r t   a   r o l l i n g   u p d a t e   d i r e c t l y .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_section_3_9228"
  },
  {
    "question": "What is Terminating Pods?",
    "answer": "Y o u   c a n   e n a b l e   t h i s   f e a t u r e   b y   s e t t i n g   t h e   D e p l o y m e n t R e p l i c a S e t T e r m i n a t i n g R e p l i c a s   f e a t u r e   g a t e   o n   t h e   A P I   s e r v e r   a n d   o n   t h e   k u b e - c o n t r o l l e r - m a n a g e r   P o d s   t h a t   b e c o m e   t e r m i n a t i n g   d u e   t o   d e l e t i o n   o r   s c a l e   d o w n   m a y   t a k e   a   l o n g   t i m e   t o   t e r m i n a t e ,   a n d   m a y   c o n s u m e   a d d i t i o n a l   r e s o u r c e s   d u r i n g   t h a t   p e r i o d .   A s   a   r e s u l t ,   t h e   t o t a l   n u m b e r   o f   a l l   p o d s   c a n   t e m p o r a r i l y   e x c e e d   . s p e c . r e p l i c a s .   T e r m i n a t i n g   p o d s   c a n   b e   t r a c k e d   u s i n g   t h e   . s t a t u s . t e r m i n a t i n g R e p l i c a s   f i e l d   o f   t h e   R e p l i c a S e t .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_section_3_9229"
  },
  {
    "question": "What is Isolating Pods from a ReplicaSet?",
    "answer": "Y o u   c a n   r e m o v e   P o d s   f r o m   a   R e p l i c a S e t   b y   c h a n g i n g   t h e i r   l a b e l s .   T h i s   t e c h n i q u e   m a y   b e   u s e d   t o   r e m o v e   P o d s   f r o m   s e r v i c e   f o r   d e b u g g i n g ,   d a t a   r e c o v e r y ,   e t c .   P o d s   t h a t   a r e   r e m o v e d   i n   t h i s   w a y   w i l l   b e   r e p l a c e d   a u t o m a t i c a l l y   (   a s s u m i n g   t h a t   t h e   n u m b e r   o f   r e p l i c a s   i s   n o t   a l s o   c h a n g e d ) .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_section_3_9230"
  },
  {
    "question": "What is Scaling a ReplicaSet?",
    "answer": "A   R e p l i c a S e t   c a n   b e   e a s i l y   s c a l e d   u p   o r   d o w n   b y   s i m p l y   u p d a t i n g   t h e   . s p e c . r e p l i c a s   f i e l d .   T h e   R e p l i c a S e t   c o n t r o l l e r   e n s u r e s   t h a t   a   d e s i r e d   n u m b e r   o f   P o d s   w i t h   a   m a t c h i n g   l a b e l   s e l e c t o r   a r e   a v a i l a b l e   a n d   o p e r a t i o n a l .   W h e n   s c a l i n g   d o w n ,   t h e   R e p l i c a S e t   c o n t r o l l e r   c h o o s e s   w h i c h   p o d s   t o   d e l e t e   b y   s o r t i n g   t h e   a v a i l a b l e   p o d s   t o   p r i o r i t i z e   s c a l i n g   d o w n   p o d s   b a s e d   o n   t h e   f o l l o w i n g   g e n e r a l   a l g o r i t h m :   P e n d i n g   ( a n d   u n s c h e d u l a b l e )   p o d s   a r e   s c a l e d   d o w n   f i r s t I f   c o n t r o l l e r . k u b e r n e t e s . i o / p o d - d e l e t i o n - c o s t   a n n o t a t i o n   i s   s e t ,   t h e n   t h e   p o d   w i t h   t h e   l o w e r   v a l u e   w i l l   c o m e   f i r s t . P o d s   o n   n o d e s   w i t h   m o r e   r e p l i c a s   c o m e   b e f o r e   p o d s   o n   n o d e s   w i t h   f e w e r   r e p l i c a s . I f   t h e   p o d s '   c r e a t i o n   t i m e s   d i f f e r ,   t h e   p o d   t h a t   w a s   c r e a t e d   m o r e   r e c e n t l y   c o m e s   b e f o r e   t h e   o l d e r   p o d   ( t h e   c r e a t i o n   t i m e s   a r e   b u c k e t e d   o n   a n   i n t e g e r   l o g   s c a l e ) .   I f   a l l   o f   t h e   a b o v e   m a t c h ,   t h e n   s e l e c t i o n   i s   r a n d o m .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_section_3_9231"
  },
  {
    "question": "What is Pod deletion cost?",
    "answer": "U s i n g   t h e   c o n t r o l l e r . k u b e r n e t e s . i o / p o d - d e l e t i o n - c o s t   a n n o t a t i o n ,   u s e r s   c a n   s e t   a   p r e f e r e n c e   r e g a r d i n g   w h i c h   p o d s   t o   r e m o v e   f i r s t   w h e n   d o w n s c a l i n g   a   R e p l i c a S e t .   T h e   a n n o t a t i o n   s h o u l d   b e   s e t   o n   t h e   p o d ,   t h e   r a n g e   i s   [ - 2 1 4 7 4 8 3 6 4 8 ,   2 1 4 7 4 8 3 6 4 7 ] .   I t   r e p r e s e n t s   t h e   c o s t   o f   d e l e t i n g   a   p o d   c o m p a r e d   t o   o t h e r   p o d s   b e l o n g i n g   t o   t h e   s a m e   R e p l i c a S e t .   P o d s   w i t h   l o w e r   d e l e t i o n   c o s t   a r e   p r e f e r r e d   t o   b e   d e l e t e d   b e f o r e   p o d s   w i t h   h i g h e r   d e l e t i o n   c o s t .   T h e   i m p l i c i t   v a l u e   f o r   t h i s   a n n o t a t i o n   f o r   p o d s   t h a t   d o n ' t   s e t   i t   i s   0 ;   n e g a t i v e   v a l u e s   a r e   p e r m i t t e d .   I n v a l i d   v a l u e s   w i l l   b e   r e j e c t e d   b y   t h e   A P I   s e r v e r .   T h i s   f e a t u r e   i s   b e t a   a n d   e n a b l e d   b y   d e f a u l t .   Y o u   c a n   d i s a b l e   i t   u s i n g   t h e   f e a t u r e   g a t e   P o d D e l e t i o n C o s t   i n   b o t h   k u b e - a p i s e r v e r   a n d   k u b e - c o n t r o l l e r - m a n a g e r .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_section_3_9232"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   i s   h o n o r e d   o n   a   b e s t - e f f o r t   b a s i s ,   s o   i t   d o e s   n o t   o f f e r   a n y   g u a r a n t e e s   o n   p o d   d e l e t i o n   o r d e r . U s e r s   s h o u l d   a v o i d   u p d a t i n g   t h e   a n n o t a t i o n   f r e q u e n t l y ,   s u c h   a s   u p d a t i n g   i t   b a s e d   o n   a   m e t r i c   v a l u e ,   b e c a u s e   d o i n g   s o   w i l l   g e n e r a t e   a   s i g n i f i c a n t   n u m b e r   o f   p o d   u p d a t e s   o n   t h e   a p i s e r v e r .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_section_4_9233"
  },
  {
    "question": "What is Example Use Case?",
    "answer": "T h e   d i f f e r e n t   p o d s   o f   a n   a p p l i c a t i o n   c o u l d   h a v e   d i f f e r e n t   u t i l i z a t i o n   l e v e l s .   O n   s c a l e   d o w n ,   t h e   a p p l i c a t i o n   m a y   p r e f e r   t o   r e m o v e   t h e   p o d s   w i t h   l o w e r   u t i l i z a t i o n .   T o   a v o i d   f r e q u e n t l y   u p d a t i n g   t h e   p o d s ,   t h e   a p p l i c a t i o n   s h o u l d   u p d a t e   c o n t r o l l e r . k u b e r n e t e s . i o / p o d - d e l e t i o n - c o s t   o n c e   b e f o r e   i s s u i n g   a   s c a l e   d o w n   ( s e t t i n g   t h e   a n n o t a t i o n   t o   a   v a l u e   p r o p o r t i o n a l   t o   p o d   u t i l i z a t i o n   l e v e l ) .   T h i s   w o r k s   i f   t h e   a p p l i c a t i o n   i t s e l f   c o n t r o l s   t h e   d o w n   s c a l i n g ;   f o r   e x a m p l e ,   t h e   d r i v e r   p o d   o f   a   S p a r k   d e p l o y m e n t .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_section_4_9234"
  },
  {
    "question": "What is ReplicaSet as a Horizontal Pod Autoscaler Target?",
    "answer": "A   R e p l i c a S e t   c a n   a l s o   b e   a   t a r g e t   f o r   H o r i z o n t a l   P o d   A u t o s c a l e r s   ( H P A ) .   T h a t   i s ,   a   R e p l i c a S e t   c a n   b e   a u t o - s c a l e d   b y   a n   H P A .   H e r e   i s   a n   e x a m p l e   H P A   t a r g e t i n g   t h e   R e p l i c a S e t   w e   c r e a t e d   i n   t h e   p r e v i o u s   e x a m p l e .   a p i V e r s i o n :   a u t o s c a l i n g / v 1   k i n d :   H o r i z o n t a l P o d A u t o s c a l e r   m e t a d a t a :   n a m e :   f r o n t e n d - s c a l e r   s p e c :   s c a l e T a r g e t R e f :   k i n d :   R e p l i c a S e t   n a m e :   f r o n t e n d   m i n R e p l i c a s :   3   m a x R e p l i c a s :   1 0   t a r g e t C P U U t i l i z a t i o n P e r c e n t a g e :   5 0   S a v i n g   t h i s   m a n i f e s t   i n t o   h p a - r s . y a m l   a n d   s u b m i t t i n g   i t   t o   a   K u b e r n e t e s   c l u s t e r   s h o u l d   c r e a t e   t h e   d e f i n e d   H P A   t h a t   a u t o s c a l e s   t h e   t a r g e t   R e p l i c a S e t   d e p e n d i n g   o n   t h e   C P U   u s a g e   o f   t h e   r e p l i c a t e d   P o d s .   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / c o n t r o l l e r s / h p a - r s . y a m l   A l t e r n a t i v e l y ,   y o u   c a n   u s e   t h e   k u b e c t l   a u t o s c a l e   c o m m a n d   t o   a c c o m p l i s h   t h e   s a m e   ( a n d   i t ' s   e a s i e r ! )   k u b e c t l   a u t o s c a l e   r s   f r o n t e n d   - - m a x = 1 0   - - m i n = 3   - - c p u - p e r c e n t = 5 0",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_section_3_9235"
  },
  {
    "question": "What is Deployment (recommended)?",
    "answer": "D e p l o y m e n t   i s   a n   o b j e c t   w h i c h   c a n   o w n   R e p l i c a S e t s   a n d   u p d a t e   t h e m   a n d   t h e i r   P o d s   v i a   d e c l a r a t i v e ,   s e r v e r - s i d e   r o l l i n g   u p d a t e s .   W h i l e   R e p l i c a S e t s   c a n   b e   u s e d   i n d e p e n d e n t l y ,   t o d a y   t h e y ' r e   m a i n l y   u s e d   b y   D e p l o y m e n t s   a s   a   m e c h a n i s m   t o   o r c h e s t r a t e   P o d   c r e a t i o n ,   d e l e t i o n   a n d   u p d a t e s .   W h e n   y o u   u s e   D e p l o y m e n t s   y o u   d o n ' t   h a v e   t o   w o r r y   a b o u t   m a n a g i n g   t h e   R e p l i c a S e t s   t h a t   t h e y   c r e a t e .   D e p l o y m e n t s   o w n   a n d   m a n a g e   t h e i r   R e p l i c a S e t s .   A s   s u c h ,   i t   i s   r e c o m m e n d e d   t o   u s e   D e p l o y m e n t s   w h e n   y o u   w a n t   R e p l i c a S e t s .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_section_3_9236"
  },
  {
    "question": "What is Bare Pods?",
    "answer": "U n l i k e   t h e   c a s e   w h e r e   a   u s e r   d i r e c t l y   c r e a t e d   P o d s ,   a   R e p l i c a S e t   r e p l a c e s   P o d s   t h a t   a r e   d e l e t e d   o r   t e r m i n a t e d   f o r   a n y   r e a s o n ,   s u c h   a s   i n   t h e   c a s e   o f   n o d e   f a i l u r e   o r   d i s r u p t i v e   n o d e   m a i n t e n a n c e ,   s u c h   a s   a   k e r n e l   u p g r a d e .   F o r   t h i s   r e a s o n ,   w e   r e c o m m e n d   t h a t   y o u   u s e   a   R e p l i c a S e t   e v e n   i f   y o u r   a p p l i c a t i o n   r e q u i r e s   o n l y   a   s i n g l e   P o d .   T h i n k   o f   i t   s i m i l a r l y   t o   a   p r o c e s s   s u p e r v i s o r ,   o n l y   i t   s u p e r v i s e s   m u l t i p l e   P o d s   a c r o s s   m u l t i p l e   n o d e s   i n s t e a d   o f   i n d i v i d u a l   p r o c e s s e s   o n   a   s i n g l e   n o d e .   A   R e p l i c a S e t   d e l e g a t e s   l o c a l   c o n t a i n e r   r e s t a r t s   t o   s o m e   a g e n t   o n   t h e   n o d e   s u c h   a s   K u b e l e t .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_section_3_9237"
  },
  {
    "question": "What is Job?",
    "answer": "U s e   a   J o b   i n s t e a d   o f   a   R e p l i c a S e t   f o r   P o d s   t h a t   a r e   e x p e c t e d   t o   t e r m i n a t e   o n   t h e i r   o w n   ( t h a t   i s ,   b a t c h   j o b s ) .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_section_3_9238"
  },
  {
    "question": "What is DaemonSet?",
    "answer": "U s e   a   D a e m o n S e t   i n s t e a d   o f   a   R e p l i c a S e t   f o r   P o d s   t h a t   p r o v i d e   a   m a c h i n e - l e v e l   f u n c t i o n ,   s u c h   a s   m a c h i n e   m o n i t o r i n g   o r   m a c h i n e   l o g g i n g .   T h e s e   P o d s   h a v e   a   l i f e t i m e   t h a t   i s   t i e d   t o   a   m a c h i n e   l i f e t i m e :   t h e   P o d   n e e d s   t o   b e   r u n n i n g   o n   t h e   m a c h i n e   b e f o r e   o t h e r   P o d s   s t a r t ,   a n d   a r e   s a f e   t o   t e r m i n a t e   w h e n   t h e   m a c h i n e   i s   o t h e r w i s e   r e a d y   t o   b e   r e b o o t e d / s h u t d o w n .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_section_3_9239"
  },
  {
    "question": "What is ReplicationController?",
    "answer": "R e p l i c a S e t s   a r e   t h e   s u c c e s s o r s   t o   R e p l i c a t i o n C o n t r o l l e r s .   T h e   t w o   s e r v e   t h e   s a m e   p u r p o s e ,   a n d   b e h a v e   s i m i l a r l y ,   e x c e p t   t h a t   a   R e p l i c a t i o n C o n t r o l l e r   d o e s   n o t   s u p p o r t   s e t - b a s e d   s e l e c t o r   r e q u i r e m e n t s   a s   d e s c r i b e d   i n   t h e   l a b e l s   u s e r   g u i d e .   A s   s u c h ,   R e p l i c a S e t s   a r e   p r e f e r r e d   o v e r   R e p l i c a t i o n C o n t r o l l e r s",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_section_3_9240"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   P o d s . L e a r n   a b o u t   D e p l o y m e n t s . R u n   a   S t a t e l e s s   A p p l i c a t i o n   U s i n g   a   D e p l o y m e n t ,   w h i c h   r e l i e s   o n   R e p l i c a S e t s   t o   w o r k . R e p l i c a S e t   i s   a   t o p - l e v e l   r e s o u r c e   i n   t h e   K u b e r n e t e s   R E S T   A P I .   R e a d   t h e   R e p l i c a S e t   o b j e c t   d e f i n i t i o n   t o   u n d e r s t a n d   t h e   A P I   f o r   r e p l i c a   s e t s . R e a d   a b o u t   P o d D i s r u p t i o n B u d g e t   a n d   h o w   y o u   c a n   u s e   i t   t o   m a n a g e   a p p l i c a t i o n   a v a i l a b i l i t y   d u r i n g   d i s r u p t i o n s .",
    "category": "concepts",
    "subcategory": "workloads-controllers",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/",
    "id": "k8s_00488_section_2_9241"
  },
  {
    "question": "What is Configure a Pod to Use a ConfigMap?",
    "answer": "Configure a Pod to Use a ConfigMapMany applications rely on configuration which is used during either application initialization or runtime. Most times, there is a requirement to adjust values assigned to configuration parameters. ConfigMaps are a Kubernetes mechanism that let you inject configuration data into application pods.The ConfigMap concept allow you to decouple configuration artifacts from image content to keep containerized applications portable. For example, you can download and run the same container image to spin up containers for the purposes of local development, system test, or running a live end-user workload.This page provides a series of usage examples demonstrating how to create ConfigMaps and configure Pods using data stored in ConfigMaps.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou need to have the wget tool installed. If you have a different tool such as curl, and you do not have wget, you will need to adapt the step that downloads example data.Create a ConfigMapYou can use either kubectl create configmap or a ConfigMap generator in kustomization.yaml to create a ConfigMap.Create a ConfigMap using kubectl create configmapUse the kubectl create configmap command to create ConfigMaps from directories, files, or literal values:kubectl create configmap <map-name> <data-source> where <map-name> is the name you want to assign to the ConfigMap and <data-source> is the directory, file, or literal value to draw the data from. The name of a ConfigMap object must be a valid DNS subdomain name.When you are creating a ConfigMap based on a file, the key in the <data-source> defaults to the basename of the file, and the value defaults to the file content.You can use kubectl describe or kubectl get to retrieve information about a ConfigMap.Create a ConfigMap from a directoryYou can use kubectl create configmap to create a ConfigMap from multiple files in the same directory. When you are creating a ConfigMap based on a directory, kubectl identifies files whose filename is a valid key in the directory and packages each of those files into the new ConfigMap. Any directory entries except regular files are ignored (for example: subdirectories, symlinks, devices, pipes, and more).Note:Each filename being used for ConfigMap creation must consist of only acceptable characters, which are: letters (A to Z and a to z), digits (0 to 9), '-', '_', or '.'. If you use kubectl create configmap with a directory where any of the file names contains an unacceptable character, the kubectl command may fail.The kubectl command does not print an error when it encounters ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_qa_9242"
  },
  {
    "question": "How does Configure a Pod to Use a ConfigMap work?",
    "answer": "Configure a Pod to Use a ConfigMapMany applications rely on configuration which is used during either application initialization or runtime. Most times, there is a requirement to adjust values assigned to configuration parameters. ConfigMaps are a Kubernetes mechanism that let you inject configuration data into application pods.The ConfigMap concept allow you to decouple configuration artifacts from image content to keep containerized applications portable. For example, you can download and run the same container image to spin up containers for the purposes of local development, system test, or running a live end-user workload.This page provides a series of usage examples demonstrating how to create ConfigMaps and configure Pods using data stored in ConfigMaps.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou need to have the wget tool installed. If you have a different tool such as curl, and you do not have wget, you will need to adapt the step that downloads example data.Create a ConfigMapYou can use either kubectl create configmap or a ConfigMap generator in kustomization.yaml to create a ConfigMap.Create a ConfigMap using kubectl create configmapUse the kubectl create configmap command to create ConfigMaps from directories, files, or literal values:kubectl create configmap <map-name> <data-source> where <map-name> is the name you want to assign to the ConfigMap and <data-source> is the directory, file, or literal value to draw the data from. The name of a ConfigMap object must be a valid DNS subdomain name.When you are creating a ConfigMap based on a file, the key in the <data-source> defaults to the basename of the file, and the value defaults to the file content.You can use kubectl describe or kubectl get to retrieve information about a ConfigMap.Create a ConfigMap from a directoryYou can use kubectl create configmap to create a ConfigMap from multiple files in the same directory. When you are creating a ConfigMap based on a directory, kubectl identifies files whose filename is a valid key in the directory and packages each of those files into the new ConfigMap. Any directory entries except regular files are ignored (for example: subdirectories, symlinks, devices, pipes, and more).Note:Each filename being used for ConfigMap creation must consist of only acceptable characters, which are: letters (A to Z and a to z), digits (0 to 9), '-', '_', or '.'. If you use kubectl create configmap with a directory where any of the file names contains an unacceptable character, the kubectl command may fail.The kubectl command does not print an error when it encounters ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_qa_9243"
  },
  {
    "question": "When would you use Configure a Pod to Use a ConfigMap?",
    "answer": "Configure a Pod to Use a ConfigMapMany applications rely on configuration which is used during either application initialization or runtime. Most times, there is a requirement to adjust values assigned to configuration parameters. ConfigMaps are a Kubernetes mechanism that let you inject configuration data into application pods.The ConfigMap concept allow you to decouple configuration artifacts from image content to keep containerized applications portable. For example, you can download and run the same container image to spin up containers for the purposes of local development, system test, or running a live end-user workload.This page provides a series of usage examples demonstrating how to create ConfigMaps and configure Pods using data stored in ConfigMaps.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou need to have the wget tool installed. If you have a different tool such as curl, and you do not have wget, you will need to adapt the step that downloads example data.Create a ConfigMapYou can use either kubectl create configmap or a ConfigMap generator in kustomization.yaml to create a ConfigMap.Create a ConfigMap using kubectl create configmapUse the kubectl create configmap command to create ConfigMaps from directories, files, or literal values:kubectl create configmap <map-name> <data-source> where <map-name> is the name you want to assign to the ConfigMap and <data-source> is the directory, file, or literal value to draw the data from. The name of a ConfigMap object must be a valid DNS subdomain name.When you are creating a ConfigMap based on a file, the key in the <data-source> defaults to the basename of the file, and the value defaults to the file content.You can use kubectl describe or kubectl get to retrieve information about a ConfigMap.Create a ConfigMap from a directoryYou can use kubectl create configmap to create a ConfigMap from multiple files in the same directory. When you are creating a ConfigMap based on a directory, kubectl identifies files whose filename is a valid key in the directory and packages each of those files into the new ConfigMap. Any directory entries except regular files are ignored (for example: subdirectories, symlinks, devices, pipes, and more).Note:Each filename being used for ConfigMap creation must consist of only acceptable characters, which are: letters (A to Z and a to z), digits (0 to 9), '-', '_', or '.'. If you use kubectl create configmap with a directory where any of the file names contains an unacceptable character, the kubectl command may fail.The kubectl command does not print an error when it encounters ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_qa_9244"
  },
  {
    "question": "What are the benefits of Configure a Pod to Use a ConfigMap?",
    "answer": "Configure a Pod to Use a ConfigMapMany applications rely on configuration which is used during either application initialization or runtime. Most times, there is a requirement to adjust values assigned to configuration parameters. ConfigMaps are a Kubernetes mechanism that let you inject configuration data into application pods.The ConfigMap concept allow you to decouple configuration artifacts from image content to keep containerized applications portable. For example, you can download and run the same container image to spin up containers for the purposes of local development, system test, or running a live end-user workload.This page provides a series of usage examples demonstrating how to create ConfigMaps and configure Pods using data stored in ConfigMaps.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou need to have the wget tool installed. If you have a different tool such as curl, and you do not have wget, you will need to adapt the step that downloads example data.Create a ConfigMapYou can use either kubectl create configmap or a ConfigMap generator in kustomization.yaml to create a ConfigMap.Create a ConfigMap using kubectl create configmapUse the kubectl create configmap command to create ConfigMaps from directories, files, or literal values:kubectl create configmap <map-name> <data-source> where <map-name> is the name you want to assign to the ConfigMap and <data-source> is the directory, file, or literal value to draw the data from. The name of a ConfigMap object must be a valid DNS subdomain name.When you are creating a ConfigMap based on a file, the key in the <data-source> defaults to the basename of the file, and the value defaults to the file content.You can use kubectl describe or kubectl get to retrieve information about a ConfigMap.Create a ConfigMap from a directoryYou can use kubectl create configmap to create a ConfigMap from multiple files in the same directory. When you are creating a ConfigMap based on a directory, kubectl identifies files whose filename is a valid key in the directory and packages each of those files into the new ConfigMap. Any directory entries except regular files are ignored (for example: subdirectories, symlinks, devices, pipes, and more).Note:Each filename being used for ConfigMap creation must consist of only acceptable characters, which are: letters (A to Z and a to z), digits (0 to 9), '-', '_', or '.'. If you use kubectl create configmap with a directory where any of the file names contains an unacceptable character, the kubectl command may fail.The kubectl command does not print an error when it encounters ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_qa_9245"
  },
  {
    "question": "What is Configure a Pod to Use a ConfigMap?",
    "answer": "M a n y   a p p l i c a t i o n s   r e l y   o n   c o n f i g u r a t i o n   w h i c h   i s   u s e d   d u r i n g   e i t h e r   a p p l i c a t i o n   i n i t i a l i z a t i o n   o r   r u n t i m e .   M o s t   t i m e s ,   t h e r e   i s   a   r e q u i r e m e n t   t o   a d j u s t   v a l u e s   a s s i g n e d   t o   c o n f i g u r a t i o n   p a r a m e t e r s .   C o n f i g M a p s   a r e   a   K u b e r n e t e s   m e c h a n i s m   t h a t   l e t   y o u   i n j e c t   c o n f i g u r a t i o n   d a t a   i n t o   a p p l i c a t i o n   p o d s .   T h e   C o n f i g M a p   c o n c e p t   a l l o w   y o u   t o   d e c o u p l e   c o n f i g u r a t i o n   a r t i f a c t s   f r o m   i m a g e   c o n t e n t   t o   k e e p   c o n t a i n e r i z e d   a p p l i c a t i o n s   p o r t a b l e .   F o r   e x a m p l e ,   y o u   c a n   d o w n l o a d   a n d   r u n   t h e   s a m e   c o n t a i n e r   i m a g e   t o   s p i n   u p   c o n t a i n e r s   f o r   t h e   p u r p o s e s   o f   l o c a l   d e v e l o p m e n t ,   s y s t e m   t e s t ,   o r   r u n n i n g   a   l i v e   e n d - u s e r   w o r k l o a d .   T h i s   p a g e   p r o v i d e s   a   s e r i e s   o f   u s a g e   e x a m p l e s   d e m o n s t r a t i n g   h o w   t o   c r e a t e   C o n f i g M a p s   a n d   c o n f i g u r e   P o d s   u s i n g   d a t a   s t o r e d   i n   C o n f i g M a p s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_1_9246"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   n e e d   t o   h a v e   t h e   w g e t   t o o l   i n s t a l l e d .   I f   y o u   h a v e   a   d i f f e r e n t   t o o l   s u c h   a s   c u r l ,   a n d   y o u   d o   n o t   h a v e   w g e t ,   y o u   w i l l   n e e d   t o   a d a p t   t h e   s t e p   t h a t   d o w n l o a d s   e x a m p l e   d a t a .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_2_9247"
  },
  {
    "question": "What is Create a ConfigMap?",
    "answer": "Y o u   c a n   u s e   e i t h e r   k u b e c t l   c r e a t e   c o n f i g m a p   o r   a   C o n f i g M a p   g e n e r a t o r   i n   k u s t o m i z a t i o n . y a m l   t o   c r e a t e   a   C o n f i g M a p .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_2_9248"
  },
  {
    "question": "What is Create a ConfigMap using kubectl create configmap?",
    "answer": "U s e   t h e   k u b e c t l   c r e a t e   c o n f i g m a p   c o m m a n d   t o   c r e a t e   C o n f i g M a p s   f r o m   d i r e c t o r i e s ,   f i l e s ,   o r   l i t e r a l   v a l u e s :   k u b e c t l   c r e a t e   c o n f i g m a p   < m a p - n a m e >   < d a t a - s o u r c e >   w h e r e   < m a p - n a m e >   i s   t h e   n a m e   y o u   w a n t   t o   a s s i g n   t o   t h e   C o n f i g M a p   a n d   < d a t a - s o u r c e >   i s   t h e   d i r e c t o r y ,   f i l e ,   o r   l i t e r a l   v a l u e   t o   d r a w   t h e   d a t a   f r o m .   T h e   n a m e   o f   a   C o n f i g M a p   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   W h e n   y o u   a r e   c r e a t i n g   a   C o n f i g M a p   b a s e d   o n   a   f i l e ,   t h e   k e y   i n   t h e   < d a t a - s o u r c e >   d e f a u l t s   t o   t h e   b a s e n a m e   o f   t h e   f i l e ,   a n d   t h e   v a l u e   d e f a u l t s   t o   t h e   f i l e   c o n t e n t .   Y o u   c a n   u s e   k u b e c t l   d e s c r i b e   o r   k u b e c t l   g e t   t o   r e t r i e v e   i n f o r m a t i o n   a b o u t   a   C o n f i g M a p .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_3_9249"
  },
  {
    "question": "What is Create a ConfigMap from a directory?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   c r e a t e   c o n f i g m a p   t o   c r e a t e   a   C o n f i g M a p   f r o m   m u l t i p l e   f i l e s   i n   t h e   s a m e   d i r e c t o r y .   W h e n   y o u   a r e   c r e a t i n g   a   C o n f i g M a p   b a s e d   o n   a   d i r e c t o r y ,   k u b e c t l   i d e n t i f i e s   f i l e s   w h o s e   f i l e n a m e   i s   a   v a l i d   k e y   i n   t h e   d i r e c t o r y   a n d   p a c k a g e s   e a c h   o f   t h o s e   f i l e s   i n t o   t h e   n e w   C o n f i g M a p .   A n y   d i r e c t o r y   e n t r i e s   e x c e p t   r e g u l a r   f i l e s   a r e   i g n o r e d   ( f o r   e x a m p l e :   s u b d i r e c t o r i e s ,   s y m l i n k s ,   d e v i c e s ,   p i p e s ,   a n d   m o r e ) .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_4_9250"
  },
  {
    "question": "What is Note:?",
    "answer": "E a c h   f i l e n a m e   b e i n g   u s e d   f o r   C o n f i g M a p   c r e a t i o n   m u s t   c o n s i s t   o f   o n l y   a c c e p t a b l e   c h a r a c t e r s ,   w h i c h   a r e :   l e t t e r s   ( A   t o   Z   a n d   a   t o   z ) ,   d i g i t s   ( 0   t o   9 ) ,   ' - ' ,   ' _ ' ,   o r   ' . ' .   I f   y o u   u s e   k u b e c t l   c r e a t e   c o n f i g m a p   w i t h   a   d i r e c t o r y   w h e r e   a n y   o f   t h e   f i l e   n a m e s   c o n t a i n s   a n   u n a c c e p t a b l e   c h a r a c t e r ,   t h e   k u b e c t l   c o m m a n d   m a y   f a i l .   T h e   k u b e c t l   c o m m a n d   d o e s   n o t   p r i n t   a n   e r r o r   w h e n   i t   e n c o u n t e r s   a n   i n v a l i d   f i l e n a m e .   C r e a t e   t h e   l o c a l   d i r e c t o r y :   m k d i r   - p   c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p /   N o w ,   d o w n l o a d   t h e   s a m p l e   c o n f i g u r a t i o n   a n d   c r e a t e   t h e   C o n f i g M a p :   #   D o w n l o a d   t h e   s a m p l e   f i l e s   i n t o   ` c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / `   d i r e c t o r y   w g e t   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / c o n f i g m a p / g a m e . p r o p e r t i e s   - O   c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / g a m e . p r o p e r t i e s   w g e t   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / c o n f i g m a p / u i . p r o p e r t i e s   - O   c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / u i . p r o p e r t i e s   #   C r e a t e   t h e   C o n f i g M a p   k u b e c t l   c r e a t e   c o n f i g m a p   g a m e - c o n f i g   - - f r o m - f i l e = c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p /   T h e   a b o v e   c o m m a n d   p a c k a g e s   e a c h   f i l e ,   i n   t h i s   c a s e ,   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_4_9251"
  },
  {
    "question": "What is Create ConfigMaps from files?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   c r e a t e   c o n f i g m a p   t o   c r e a t e   a   C o n f i g M a p   f r o m   a n   i n d i v i d u a l   f i l e ,   o r   f r o m   m u l t i p l e   f i l e s .   F o r   e x a m p l e ,   k u b e c t l   c r e a t e   c o n f i g m a p   g a m e - c o n f i g - 2   - - f r o m - f i l e = c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / g a m e . p r o p e r t i e s   w o u l d   p r o d u c e   t h e   f o l l o w i n g   C o n f i g M a p :   k u b e c t l   d e s c r i b e   c o n f i g m a p s   g a m e - c o n f i g - 2   w h e r e   t h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N a m e :   g a m e - c o n f i g - 2   N a m e s p a c e :   d e f a u l t   L a b e l s :   < n o n e >   A n n o t a t i o n s :   < n o n e >   D a t a   = = = =   g a m e . p r o p e r t i e s :   - - - -   e n e m i e s = a l i e n s   l i v e s = 3   e n e m i e s . c h e a t = t r u e   e n e m i e s . c h e a t . l e v e l = n o G o o d R o t t e n   s e c r e t . c o d e . p a s s p h r a s e = U U D D L R L R B A B A S   s e c r e t . c o d e . a l l o w e d = t r u e   s e c r e t . c o d e . l i v e s = 3 0   Y o u   c a n   p a s s   i n   t h e   - - f r o m - f i l e   a r g u m e n t   m u l t i p l e   t i m e s   t o   c r e a t e   a   C o n f i g M a p   f r o m   m u l t i p l e   d a t a   s o u r c e s .   k u b e c t l   c r e a t e   c o n f i g m a p   g a m e - c o n f i g - 2   - - f r o m - f i l e = c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / g a m e . p r o p e r t i e s   - - f r o m - f i l e = c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / u i . p r o p e r t i e s   Y o u   c a n   d i s p l a y   d e t a i l s   o f   t h e   g a m e - c o n f i g - 2   C o n f i g M a p   u s i n g   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   d e s c r i b e   c o n f i g m a p s   g a m e - c o n f i g - 2   T h e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_4_9252"
  },
  {
    "question": "What is Define the key to use when creating a ConfigMap from a file?",
    "answer": "Y o u   c a n   d e f i n e   a   k e y   o t h e r   t h a n   t h e   f i l e   n a m e   t o   u s e   i n   t h e   d a t a   s e c t i o n   o f   y o u r   C o n f i g M a p   w h e n   u s i n g   t h e   - - f r o m - f i l e   a r g u m e n t :   k u b e c t l   c r e a t e   c o n f i g m a p   g a m e - c o n f i g - 3   - - f r o m - f i l e = < m y - k e y - n a m e > = < p a t h - t o - f i l e >   w h e r e   < m y - k e y - n a m e >   i s   t h e   k e y   y o u   w a n t   t o   u s e   i n   t h e   C o n f i g M a p   a n d   < p a t h - t o - f i l e >   i s   t h e   l o c a t i o n   o f   t h e   d a t a   s o u r c e   f i l e   y o u   w a n t   t h e   k e y   t o   r e p r e s e n t .   F o r   e x a m p l e :   k u b e c t l   c r e a t e   c o n f i g m a p   g a m e - c o n f i g - 3   - - f r o m - f i l e = g a m e - s p e c i a l - k e y = c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / g a m e . p r o p e r t i e s   w o u l d   p r o d u c e   t h e   f o l l o w i n g   C o n f i g M a p :   k u b e c t l   g e t   c o n f i g m a p s   g a m e - c o n f i g - 3   - o   y a m l   w h e r e   t h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   2 0 2 2 - 0 2 - 1 8 T 1 8 : 5 4 : 2 2 Z   n a m e :   g a m e - c o n f i g - 3   n a m e s p a c e :   d e f a u l t   r e s o u r c e V e r s i o n :   \" 5 3 0 \"   u i d :   0 5 f 8 d a 2 2 - d 6 7 1 - 1 1 e 5 - 8 c d 0 - 6 8 f 7 2 8 d b 1 9 8 5   d a t a :   g a m e - s p e c i a l - k e y :   |   e n e m i e s = a l i e n s   l i v e s = 3   e n e m i e s . c h e a t = t r u e   e n e m i e s . c h e a t . l e v e l = n o G o o d R o t t e n   s e c r e t . c o d e . p a s s p h r a s e = U U D D L R L R B A B A S   s e c r e t . c o d e . a l l o w e d = t r u e   s e c r e t . c o d e . l i v e s = 3 0",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_4_9253"
  },
  {
    "question": "What is Create ConfigMaps from literal values?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   c r e a t e   c o n f i g m a p   w i t h   t h e   - - f r o m - l i t e r a l   a r g u m e n t   t o   d e f i n e   a   l i t e r a l   v a l u e   f r o m   t h e   c o m m a n d   l i n e :   k u b e c t l   c r e a t e   c o n f i g m a p   s p e c i a l - c o n f i g   - - f r o m - l i t e r a l = s p e c i a l . h o w = v e r y   - - f r o m - l i t e r a l = s p e c i a l . t y p e = c h a r m   Y o u   c a n   p a s s   i n   m u l t i p l e   k e y - v a l u e   p a i r s .   E a c h   p a i r   p r o v i d e d   o n   t h e   c o m m a n d   l i n e   i s   r e p r e s e n t e d   a s   a   s e p a r a t e   e n t r y   i n   t h e   d a t a   s e c t i o n   o f   t h e   C o n f i g M a p .   k u b e c t l   g e t   c o n f i g m a p s   s p e c i a l - c o n f i g   - o   y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   2 0 2 2 - 0 2 - 1 8 T 1 9 : 1 4 : 3 8 Z   n a m e :   s p e c i a l - c o n f i g   n a m e s p a c e :   d e f a u l t   r e s o u r c e V e r s i o n :   \" 6 5 1 \"   u i d :   d a d c e 0 4 6 - d 6 7 3 - 1 1 e 5 - 8 c d 0 - 6 8 f 7 2 8 d b 1 9 8 5   d a t a :   s p e c i a l . h o w :   v e r y   s p e c i a l . t y p e :   c h a r m",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_4_9254"
  },
  {
    "question": "What is Create a ConfigMap from generator?",
    "answer": "Y o u   c a n   a l s o   c r e a t e   a   C o n f i g M a p   f r o m   g e n e r a t o r s   a n d   t h e n   a p p l y   i t   t o   c r e a t e   t h e   o b j e c t   i n   t h e   c l u s t e r ' s   A P I   s e r v e r .   Y o u   s h o u l d   s p e c i f y   t h e   g e n e r a t o r s   i n   a   k u s t o m i z a t i o n . y a m l   f i l e   w i t h i n   a   d i r e c t o r y .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_3_9255"
  },
  {
    "question": "What is Generate ConfigMaps from files?",
    "answer": "F o r   e x a m p l e ,   t o   g e n e r a t e   a   C o n f i g M a p   f r o m   f i l e s   c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / g a m e . p r o p e r t i e s   #   C r e a t e   a   k u s t o m i z a t i o n . y a m l   f i l e   w i t h   C o n f i g M a p G e n e r a t o r   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   c o n f i g M a p G e n e r a t o r :   -   n a m e :   g a m e - c o n f i g - 4   o p t i o n s :   l a b e l s :   g a m e - c o n f i g :   c o n f i g - 4   f i l e s :   -   c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / g a m e . p r o p e r t i e s   E O F   A p p l y   t h e   k u s t o m i z a t i o n   d i r e c t o r y   t o   c r e a t e   t h e   C o n f i g M a p   o b j e c t :   k u b e c t l   a p p l y   - k   .   c o n f i g m a p / g a m e - c o n f i g - 4 - m 9 d m 2 f 9 2 b t   c r e a t e d   Y o u   c a n   c h e c k   t h a t   t h e   C o n f i g M a p   w a s   c r e a t e d   l i k e   t h i s :   k u b e c t l   g e t   c o n f i g m a p   N A M E   D A T A   A G E   g a m e - c o n f i g - 4 - m 9 d m 2 f 9 2 b t   1   3 7 s   a n d   a l s o :   k u b e c t l   d e s c r i b e   c o n f i g m a p s / g a m e - c o n f i g - 4 - m 9 d m 2 f 9 2 b t   N a m e :   g a m e - c o n f i g - 4 - m 9 d m 2 f 9 2 b t   N a m e s p a c e :   d e f a u l t   L a b e l s :   g a m e - c o n f i g = c o n f i g - 4   A n n o t a t i o n s :   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n :   { \" a p i V e r s i o n \" : \" v 1 \" , \" d a t a \" : { \" g a m e . p r o p e r t i e s \" : \" e n e m i e s = a l i e n s \\ n l i v e s = 3 \\ n e n e m i e s . c h e a t = t r u e \\ n e n e m i e s . c h e a t . l e v e l = n o G o o d R o t t e n \\ n s e c r e t . c o d e . p . . .   D a t a   = = = =   g a m e . p r o p e r t i e s :   - - - -   e n e m i e s = a l i e n s   l i v e s = 3   e n e m i e s . c h e a t = ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_4_9256"
  },
  {
    "question": "What is Define the key to use when generating a ConfigMap from a file?",
    "answer": "Y o u   c a n   d e f i n e   a   k e y   o t h e r   t h a n   t h e   f i l e   n a m e   t o   u s e   i n   t h e   C o n f i g M a p   g e n e r a t o r .   F o r   e x a m p l e ,   t o   g e n e r a t e   a   C o n f i g M a p   f r o m   f i l e s   c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / g a m e . p r o p e r t i e s   w i t h   t h e   k e y   g a m e - s p e c i a l - k e y   #   C r e a t e   a   k u s t o m i z a t i o n . y a m l   f i l e   w i t h   C o n f i g M a p G e n e r a t o r   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   c o n f i g M a p G e n e r a t o r :   -   n a m e :   g a m e - c o n f i g - 5   o p t i o n s :   l a b e l s :   g a m e - c o n f i g :   c o n f i g - 5   f i l e s :   -   g a m e - s p e c i a l - k e y = c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / g a m e . p r o p e r t i e s   E O F   A p p l y   t h e   k u s t o m i z a t i o n   d i r e c t o r y   t o   c r e a t e   t h e   C o n f i g M a p   o b j e c t .   k u b e c t l   a p p l y   - k   .   c o n f i g m a p / g a m e - c o n f i g - 5 - m 6 7 d t 6 7 7 9 4   c r e a t e d",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_4_9257"
  },
  {
    "question": "What is Generate ConfigMaps from literals?",
    "answer": "T h i s   e x a m p l e   s h o w s   y o u   h o w   t o   c r e a t e   a   C o n f i g M a p   f r o m   t w o   l i t e r a l   k e y / v a l u e   p a i r s :   s p e c i a l . t y p e = c h a r m   a n d   s p e c i a l . h o w = v e r y ,   u s i n g   K u s t o m i z e   a n d   k u b e c t l .   T o   a c h i e v e   t h i s ,   y o u   c a n   s p e c i f y   t h e   C o n f i g M a p   g e n e r a t o r .   C r e a t e   ( o r   r e p l a c e )   k u s t o m i z a t i o n . y a m l   s o   t h a t   i t   h a s   t h e   f o l l o w i n g   c o n t e n t s :   - - -   #   k u s t o m i z a t i o n . y a m l   c o n t e n t s   f o r   c r e a t i n g   a   C o n f i g M a p   f r o m   l i t e r a l s   c o n f i g M a p G e n e r a t o r :   -   n a m e :   s p e c i a l - c o n f i g - 2   l i t e r a l s :   -   s p e c i a l . h o w = v e r y   -   s p e c i a l . t y p e = c h a r m   A p p l y   t h e   k u s t o m i z a t i o n   d i r e c t o r y   t o   c r e a t e   t h e   C o n f i g M a p   o b j e c t :   k u b e c t l   a p p l y   - k   .   c o n f i g m a p / s p e c i a l - c o n f i g - 2 - c 9 2 b 5 m m c f 2   c r e a t e d",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_4_9258"
  },
  {
    "question": "What is Interim cleanup?",
    "answer": "B e f o r e   p r o c e e d i n g ,   c l e a n   u p   s o m e   o f   t h e   C o n f i g M a p s   y o u   m a d e :   k u b e c t l   d e l e t e   c o n f i g m a p   s p e c i a l - c o n f i g   k u b e c t l   d e l e t e   c o n f i g m a p   e n v - c o n f i g   k u b e c t l   d e l e t e   c o n f i g m a p   - l   ' g a m e - c o n f i g   i n   ( c o n f i g - 4 , c o n f i g - 5 ) '   N o w   t h a t   y o u   h a v e   l e a r n e d   t o   d e f i n e   C o n f i g M a p s ,   y o u   c a n   m o v e   o n   t o   t h e   n e x t   s e c t i o n ,   a n d   l e a r n   h o w   t o   u s e   t h e s e   o b j e c t s   w i t h   P o d s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_2_9259"
  },
  {
    "question": "What is Define a container environment variable with data from a single ConfigMap?",
    "answer": "D e f i n e   a n   e n v i r o n m e n t   v a r i a b l e   a s   a   k e y - v a l u e   p a i r   i n   a   C o n f i g M a p : k u b e c t l   c r e a t e   c o n f i g m a p   s p e c i a l - c o n f i g   - - f r o m - l i t e r a l = s p e c i a l . h o w = v e r y   A s s i g n   t h e   s p e c i a l . h o w   v a l u e   d e f i n e d   i n   t h e   C o n f i g M a p   t o   t h e   S P E C I A L _ L E V E L _ K E Y   e n v i r o n m e n t   v a r i a b l e   i n   t h e   P o d   s p e c i f i c a t i o n . p o d s / p o d - s i n g l e - c o n f i g m a p - e n v - v a r i a b l e . y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d a p i - t e s t - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   c o m m a n d :   [   \" / b i n / s h \" ,   \" - c \" ,   \" e n v \"   ]   e n v :   #   D e f i n e   t h e   e n v i r o n m e n t   v a r i a b l e   -   n a m e :   S P E C I A L _ L E V E L _ K E Y   v a l u e F r o m :   c o n f i g M a p K e y R e f :   #   T h e   C o n f i g M a p   c o n t a i n i n g   t h e   v a l u e   y o u   w a n t   t o   a s s i g n   t o   S P E C I A L _ L E V E L _ K E Y   n a m e :   s p e c i a l - c o n f i g   #   S p e c i f y   t h e   k e y   a s s o c i a t e d   w i t h   t h e   v a l u e   k e y :   s p e c i a l . h o w   r e s t a r t P o l i c y :   N e v e r   C r e a t e   t h e   P o d : k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / p o d s / p o d - s i n g l e - c o n f i g m a p - e n v - v a r i a b l e . y a m l   N o w ,   t h e   P o d ' s   o u t p u t   i n c l u d e s   e n v i r o n m e n t   v a r i a b l e   S P E C I A L _ L E V E L _ K E Y = v e r y .   D e f i n e   a n   e n v i r o n m e n t   v a r i a b l e   a s   a   k e y - v a l u e   p a i r   i n   a   C o n f i g M a p : ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_3_9260"
  },
  {
    "question": "What is Define container environment variables with data from multiple ConfigMaps?",
    "answer": "A s   w i t h   t h e   p r e v i o u s   e x a m p l e ,   c r e a t e   t h e   C o n f i g M a p s   f i r s t .   H e r e   i s   t h e   m a n i f e s t   y o u   w i l l   u s e :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   s p e c i a l - c o n f i g   n a m e s p a c e :   d e f a u l t   d a t a :   s p e c i a l . h o w :   v e r y   - - -   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   e n v - c o n f i g   n a m e s p a c e :   d e f a u l t   d a t a :   l o g _ l e v e l :   I N F O   C r e a t e   t h e   C o n f i g M a p : k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / c o n f i g m a p / c o n f i g m a p s . y a m l   D e f i n e   t h e   e n v i r o n m e n t   v a r i a b l e s   i n   t h e   P o d   s p e c i f i c a t i o n . p o d s / p o d - m u l t i p l e - c o n f i g m a p - e n v - v a r i a b l e . y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d a p i - t e s t - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   c o m m a n d :   [   \" / b i n / s h \" ,   \" - c \" ,   \" e n v \"   ]   e n v :   -   n a m e :   S P E C I A L _ L E V E L _ K E Y   v a l u e F r o m :   c o n f i g M a p K e y R e f :   n a m e :   s p e c i a l - c o n f i g   k e y :   s p e c i a l . h o w   -   n a m e :   L O G _ L E V E L   v a l u e F r o m :   c o n f i g M a p K e y R e f :   n a m e :   e n v - c o n f i g   k e y :   l o g _ l e v e l   r e s t a r t P o l i c y :   N e v e r   C r e a t e   t h e   P o d : k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / p o d s / p o d - m u l t i p l e - c o n f i g m a p - e n v - v a r i a b l e . y a m l   N o w ,   t h e   P o d ' s   o u t p u t   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_3_9261"
  },
  {
    "question": "What is Configure all key-value pairs in a ConfigMap as container environment variables?",
    "answer": "C r e a t e   a   C o n f i g M a p   c o n t a i n i n g   m u l t i p l e   k e y - v a l u e   p a i r s . c o n f i g m a p / c o n f i g m a p - m u l t i k e y s . y a m l   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   s p e c i a l - c o n f i g   n a m e s p a c e :   d e f a u l t   d a t a :   S P E C I A L _ L E V E L :   v e r y   S P E C I A L _ T Y P E :   c h a r m   C r e a t e   t h e   C o n f i g M a p : k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / c o n f i g m a p / c o n f i g m a p - m u l t i k e y s . y a m l   U s e   e n v F r o m   t o   d e f i n e   a l l   o f   t h e   C o n f i g M a p ' s   d a t a   a s   c o n t a i n e r   e n v i r o n m e n t   v a r i a b l e s .   T h e   k e y   f r o m   t h e   C o n f i g M a p   b e c o m e s   t h e   e n v i r o n m e n t   v a r i a b l e   n a m e   i n   t h e   P o d . p o d s / p o d - c o n f i g m a p - e n v F r o m . y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d a p i - t e s t - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   c o m m a n d :   [   \" / b i n / s h \" ,   \" - c \" ,   \" e n v \"   ]   e n v F r o m :   -   c o n f i g M a p R e f :   n a m e :   s p e c i a l - c o n f i g   r e s t a r t P o l i c y :   N e v e r   C r e a t e   t h e   P o d : k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / p o d s / p o d - c o n f i g m a p - e n v F r o m . y a m l   N o w ,   t h e   P o d ' s   o u t p u t   i n c l u d e s   e n v i r o n m e n t   v a r i a b l e s   S P E C I A L _ L E V E L = v e r y   a n d   S P E C I A L _ T Y P E = c h a r m . O n c e   y o u ' r e   h a p p y   t o   m o v e   o n ,   d e l e t e   t h a t   P o d : k u b e c t l   d e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_2_9262"
  },
  {
    "question": "What is Use ConfigMap-defined environment variables in Pod commands?",
    "answer": "Y o u   c a n   u s e   C o n f i g M a p - d e f i n e d   e n v i r o n m e n t   v a r i a b l e s   i n   t h e   c o m m a n d   a n d   a r g s   o f   a   c o n t a i n e r   u s i n g   t h e   $ ( V A R _ N A M E )   K u b e r n e t e s   s u b s t i t u t i o n   s y n t a x .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   P o d   m a n i f e s t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d a p i - t e s t - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   c o m m a n d :   [   \" / b i n / e c h o \" ,   \" $ ( S P E C I A L _ L E V E L _ K E Y )   $ ( S P E C I A L _ T Y P E _ K E Y ) \"   ]   e n v :   -   n a m e :   S P E C I A L _ L E V E L _ K E Y   v a l u e F r o m :   c o n f i g M a p K e y R e f :   n a m e :   s p e c i a l - c o n f i g   k e y :   S P E C I A L _ L E V E L   -   n a m e :   S P E C I A L _ T Y P E _ K E Y   v a l u e F r o m :   c o n f i g M a p K e y R e f :   n a m e :   s p e c i a l - c o n f i g   k e y :   S P E C I A L _ T Y P E   r e s t a r t P o l i c y :   N e v e r   C r e a t e   t h a t   P o d ,   b y   r u n n i n g :   k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / p o d s / p o d - c o n f i g m a p - e n v - v a r - v a l u e F r o m . y a m l   T h a t   p o d   p r o d u c e s   t h e   f o l l o w i n g   o u t p u t   f r o m   t h e   t e s t - c o n t a i n e r   c o n t a i n e r :   k u b e c t l   l o g s   d a p i - t e s t - p o d   v e r y   c h a r m   O n c e   y o u ' r e   h a p p y   t o   m o v e   o n ,   d e l e t e   t h a t   P o d :   k u b e c t l   d e l e t e   p o d   d a p i - t e s t - p o d   - - n o w",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_2_9263"
  },
  {
    "question": "What is Add ConfigMap data to a Volume?",
    "answer": "A s   e x p l a i n e d   i n   C r e a t e   C o n f i g M a p s   f r o m   f i l e s ,   w h e n   y o u   c r e a t e   a   C o n f i g M a p   u s i n g   - - f r o m - f i l e ,   t h e   f i l e n a m e   b e c o m e s   a   k e y   s t o r e d   i n   t h e   d a t a   s e c t i o n   o f   t h e   C o n f i g M a p .   T h e   f i l e   c o n t e n t s   b e c o m e   t h e   k e y ' s   v a l u e .   T h e   e x a m p l e s   i n   t h i s   s e c t i o n   r e f e r   t o   a   C o n f i g M a p   n a m e d   s p e c i a l - c o n f i g :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   s p e c i a l - c o n f i g   n a m e s p a c e :   d e f a u l t   d a t a :   S P E C I A L _ L E V E L :   v e r y   S P E C I A L _ T Y P E :   c h a r m   C r e a t e   t h e   C o n f i g M a p :   k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / c o n f i g m a p / c o n f i g m a p - m u l t i k e y s . y a m l",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_2_9264"
  },
  {
    "question": "What is Populate a Volume with data stored in a ConfigMap?",
    "answer": "A d d   t h e   C o n f i g M a p   n a m e   u n d e r   t h e   v o l u m e s   s e c t i o n   o f   t h e   P o d   s p e c i f i c a t i o n .   T h i s   a d d s   t h e   C o n f i g M a p   d a t a   t o   t h e   d i r e c t o r y   s p e c i f i e d   a s   v o l u m e M o u n t s . m o u n t P a t h   ( i n   t h i s   c a s e ,   / e t c / c o n f i g ) .   T h e   c o m m a n d   s e c t i o n   l i s t s   d i r e c t o r y   f i l e s   w i t h   n a m e s   t h a t   m a t c h   t h e   k e y s   i n   C o n f i g M a p .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d a p i - t e s t - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   c o m m a n d :   [   \" / b i n / s h \" ,   \" - c \" ,   \" l s   / e t c / c o n f i g / \"   ]   v o l u m e M o u n t s :   -   n a m e :   c o n f i g - v o l u m e   m o u n t P a t h :   / e t c / c o n f i g   v o l u m e s :   -   n a m e :   c o n f i g - v o l u m e   c o n f i g M a p :   #   P r o v i d e   t h e   n a m e   o f   t h e   C o n f i g M a p   c o n t a i n i n g   t h e   f i l e s   y o u   w a n t   #   t o   a d d   t o   t h e   c o n t a i n e r   n a m e :   s p e c i a l - c o n f i g   r e s t a r t P o l i c y :   N e v e r   C r e a t e   t h e   P o d :   k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / p o d s / p o d - c o n f i g m a p - v o l u m e . y a m l   W h e n   t h e   p o d   r u n s ,   t h e   c o m m a n d   l s   / e t c / c o n f i g /   p r o d u c e s   t h e   o u t p u t   b e l o w :   S P E C I A L _ L E V E L   S P E C I A L _ T Y P E   T e x t   d a t a   i s   e x p o s e d   a s   f i l e s   u s i n g   t h e   U T F - 8   c h a r a c t e r   e n c o d i n g .   T o   u s e   s o m e   o t h e r   c h a r a c t e r   e n c o d i n g ,   u s e   b i n a r ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_3_9265"
  },
  {
    "question": "What is Note:?",
    "answer": "O n c e   y o u ' r e   h a p p y   t o   m o v e   o n ,   d e l e t e   t h a t   P o d :   k u b e c t l   d e l e t e   p o d   d a p i - t e s t - p o d   - - n o w",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_4_9266"
  },
  {
    "question": "What is Add ConfigMap data to a specific path in the Volume?",
    "answer": "U s e   t h e   p a t h   f i e l d   t o   s p e c i f y   t h e   d e s i r e d   f i l e   p a t h   f o r   s p e c i f i c   C o n f i g M a p   i t e m s .   I n   t h i s   c a s e ,   t h e   S P E C I A L _ L E V E L   i t e m   w i l l   b e   m o u n t e d   i n   t h e   c o n f i g - v o l u m e   v o l u m e   a t   / e t c / c o n f i g / k e y s .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d a p i - t e s t - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   c o m m a n d :   [   \" / b i n / s h \" , \" - c \" , \" c a t   / e t c / c o n f i g / k e y s \"   ]   v o l u m e M o u n t s :   -   n a m e :   c o n f i g - v o l u m e   m o u n t P a t h :   / e t c / c o n f i g   v o l u m e s :   -   n a m e :   c o n f i g - v o l u m e   c o n f i g M a p :   n a m e :   s p e c i a l - c o n f i g   i t e m s :   -   k e y :   S P E C I A L _ L E V E L   p a t h :   k e y s   r e s t a r t P o l i c y :   N e v e r   C r e a t e   t h e   P o d :   k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / p o d s / p o d - c o n f i g m a p - v o l u m e - s p e c i f i c - k e y . y a m l   W h e n   t h e   p o d   r u n s ,   t h e   c o m m a n d   c a t   / e t c / c o n f i g / k e y s   p r o d u c e s   t h e   o u t p u t   b e l o w :   v e r y",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_3_9267"
  },
  {
    "question": "What is Caution:?",
    "answer": "D e l e t e   t h a t   P o d :   k u b e c t l   d e l e t e   p o d   d a p i - t e s t - p o d   - - n o w",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_4_9268"
  },
  {
    "question": "What is Project keys to specific paths and file permissions?",
    "answer": "Y o u   c a n   p r o j e c t   k e y s   t o   s p e c i f i c   p a t h s .   R e f e r   t o   t h e   c o r r e s p o n d i n g   s e c t i o n   i n   t h e   S e c r e t s   g u i d e   f o r   t h e   s y n t a x . Y o u   c a n   s e t   P O S I X   p e r m i s s i o n s   f o r   k e y s .   R e f e r   t o   t h e   c o r r e s p o n d i n g   s e c t i o n   i n   t h e   S e c r e t s   g u i d e   f o r   t h e   s y n t a x .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_3_9269"
  },
  {
    "question": "What is Optional references?",
    "answer": "A   C o n f i g M a p   r e f e r e n c e   m a y   b e   m a r k e d   o p t i o n a l .   I f   t h e   C o n f i g M a p   i s   n o n - e x i s t e n t ,   t h e   m o u n t e d   v o l u m e   w i l l   b e   e m p t y .   I f   t h e   C o n f i g M a p   e x i s t s ,   b u t   t h e   r e f e r e n c e d   k e y   i s   n o n - e x i s t e n t ,   t h e   p a t h   w i l l   b e   a b s e n t   b e n e a t h   t h e   m o u n t   p o i n t .   S e e   O p t i o n a l   C o n f i g M a p s   f o r   m o r e   d e t a i l s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_3_9270"
  },
  {
    "question": "What is Mounted ConfigMaps are updated automatically?",
    "answer": "W h e n   a   m o u n t e d   C o n f i g M a p   i s   u p d a t e d ,   t h e   p r o j e c t e d   c o n t e n t   i s   e v e n t u a l l y   u p d a t e d   t o o .   T h i s   a p p l i e s   i n   t h e   c a s e   w h e r e   a n   o p t i o n a l l y   r e f e r e n c e d   C o n f i g M a p   c o m e s   i n t o   e x i s t e n c e   a f t e r   a   p o d   h a s   s t a r t e d .   K u b e l e t   c h e c k s   w h e t h e r   t h e   m o u n t e d   C o n f i g M a p   i s   f r e s h   o n   e v e r y   p e r i o d i c   s y n c .   H o w e v e r ,   i t   u s e s   i t s   l o c a l   T T L - b a s e d   c a c h e   f o r   g e t t i n g   t h e   c u r r e n t   v a l u e   o f   t h e   C o n f i g M a p .   A s   a   r e s u l t ,   t h e   t o t a l   d e l a y   f r o m   t h e   m o m e n t   w h e n   t h e   C o n f i g M a p   i s   u p d a t e d   t o   t h e   m o m e n t   w h e n   n e w   k e y s   a r e   p r o j e c t e d   t o   t h e   p o d   c a n   b e   a s   l o n g   a s   k u b e l e t   s y n c   p e r i o d   ( 1   m i n u t e   b y   d e f a u l t )   +   T T L   o f   C o n f i g M a p s   c a c h e   ( 1   m i n u t e   b y   d e f a u l t )   i n   k u b e l e t .   Y o u   c a n   t r i g g e r   a n   i m m e d i a t e   r e f r e s h   b y   u p d a t i n g   o n e   o f   t h e   p o d ' s   a n n o t a t i o n s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_3_9271"
  },
  {
    "question": "What is Understanding ConfigMaps and Pods?",
    "answer": "T h e   C o n f i g M a p   A P I   r e s o u r c e   s t o r e s   c o n f i g u r a t i o n   d a t a   a s   k e y - v a l u e   p a i r s .   T h e   d a t a   c a n   b e   c o n s u m e d   i n   p o d s   o r   p r o v i d e   t h e   c o n f i g u r a t i o n s   f o r   s y s t e m   c o m p o n e n t s   s u c h   a s   c o n t r o l l e r s .   C o n f i g M a p   i s   s i m i l a r   t o   S e c r e t s ,   b u t   p r o v i d e s   a   m e a n s   o f   w o r k i n g   w i t h   s t r i n g s   t h a t   d o n ' t   c o n t a i n   s e n s i t i v e   i n f o r m a t i o n .   U s e r s   a n d   s y s t e m   c o m p o n e n t s   a l i k e   c a n   s t o r e   c o n f i g u r a t i o n   d a t a   i n   C o n f i g M a p .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_2_9272"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   C o n f i g M a p ' s   d a t a   f i e l d   c o n t a i n s   t h e   c o n f i g u r a t i o n   d a t a .   A s   s h o w n   i n   t h e   e x a m p l e   b e l o w ,   t h i s   c a n   b e   s i m p l e   ( l i k e   i n d i v i d u a l   p r o p e r t i e s   d e f i n e d   u s i n g   - - f r o m - l i t e r a l )   o r   c o m p l e x   ( l i k e   c o n f i g u r a t i o n   f i l e s   o r   J S O N   b l o b s   d e f i n e d   u s i n g   - - f r o m - f i l e ) .   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   2 0 1 6 - 0 2 - 1 8 T 1 9 : 1 4 : 3 8 Z   n a m e :   e x a m p l e - c o n f i g   n a m e s p a c e :   d e f a u l t   d a t a :   #   e x a m p l e   o f   a   s i m p l e   p r o p e r t y   d e f i n e d   u s i n g   - - f r o m - l i t e r a l   e x a m p l e . p r o p e r t y . 1 :   h e l l o   e x a m p l e . p r o p e r t y . 2 :   w o r l d   #   e x a m p l e   o f   a   c o m p l e x   p r o p e r t y   d e f i n e d   u s i n g   - - f r o m - f i l e   e x a m p l e . p r o p e r t y . f i l e :   | -   p r o p e r t y . 1 = v a l u e - 1   p r o p e r t y . 2 = v a l u e - 2   p r o p e r t y . 3 = v a l u e - 3   W h e n   k u b e c t l   c r e a t e s   a   C o n f i g M a p   f r o m   i n p u t s   t h a t   a r e   n o t   A S C I I   o r   U T F - 8 ,   t h e   t o o l   p u t s   t h e s e   i n t o   t h e   b i n a r y D a t a   f i e l d   o f   t h e   C o n f i g M a p ,   a n d   n o t   i n   d a t a .   B o t h   t e x t   a n d   b i n a r y   d a t a   s o u r c e s   c a n   b e   c o m b i n e d   i n   o n e   C o n f i g M a p .   I f   y o u   w a n t   t o   v i e w   t h e   b i n a r y D a t a   k e y s   ( a n d   t h e i r   v a l u e s )   i n   a   C o n f i g M a p ,   y o u   c a n   r u n   k u b e c t l   g e t   c o n f i g m a p   - o   j s o n p a t h = ' { . b i n a r y D a t a } '   < n a m e > .   P o d s   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_4_9273"
  },
  {
    "question": "What is Optional ConfigMaps?",
    "answer": "Y o u   c a n   m a r k   a   r e f e r e n c e   t o   a   C o n f i g M a p   a s   o p t i o n a l   i n   a   P o d   s p e c i f i c a t i o n .   I f   t h e   C o n f i g M a p   d o e s n ' t   e x i s t ,   t h e   c o n f i g u r a t i o n   f o r   w h i c h   i t   p r o v i d e s   d a t a   i n   t h e   P o d   ( f o r   e x a m p l e :   e n v i r o n m e n t   v a r i a b l e ,   m o u n t e d   v o l u m e )   w i l l   b e   e m p t y .   I f   t h e   C o n f i g M a p   e x i s t s ,   b u t   t h e   r e f e r e n c e d   k e y   i s   n o n - e x i s t e n t   t h e   d a t a   i s   a l s o   e m p t y .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   P o d   s p e c i f i c a t i o n   m a r k s   a n   e n v i r o n m e n t   v a r i a b l e   f r o m   a   C o n f i g M a p   a s   o p t i o n a l :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d a p i - t e s t - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   g c r . i o / g o o g l e _ c o n t a i n e r s / b u s y b o x   c o m m a n d :   [ \" / b i n / s h \" ,   \" - c \" ,   \" e n v \" ]   e n v :   -   n a m e :   S P E C I A L _ L E V E L _ K E Y   v a l u e F r o m :   c o n f i g M a p K e y R e f :   n a m e :   a - c o n f i g   k e y :   a k e y   o p t i o n a l :   t r u e   #   m a r k   t h e   v a r i a b l e   a s   o p t i o n a l   r e s t a r t P o l i c y :   N e v e r   I f   y o u   r u n   t h i s   p o d ,   a n d   t h e r e   i s   n o   C o n f i g M a p   n a m e d   a - c o n f i g ,   t h e   o u t p u t   i s   e m p t y .   I f   y o u   r u n   t h i s   p o d ,   a n d   t h e r e   i s   a   C o n f i g M a p   n a m e d   a - c o n f i g   b u t   t h a t   C o n f i g M a p   d o e s n ' t   h a v e   a   k e y   n a m e d   a k e y ,   t h e   o u t p u t   i s   a l s o   e m p t y .   I f   y o u   d o   s e t   a   v a l u e   f o r   a k e y   i n ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_2_9274"
  },
  {
    "question": "What is Restrictions?",
    "answer": "Y o u   m u s t   c r e a t e   t h e   C o n f i g M a p   o b j e c t   b e f o r e   y o u   r e f e r e n c e   i t   i n   a   P o d   s p e c i f i c a t i o n .   A l t e r n a t i v e l y ,   m a r k   t h e   C o n f i g M a p   r e f e r e n c e   a s   o p t i o n a l   i n   t h e   P o d   s p e c   ( s e e   O p t i o n a l   C o n f i g M a p s ) .   I f   y o u   r e f e r e n c e   a   C o n f i g M a p   t h a t   d o e s n ' t   e x i s t   a n d   y o u   d o n ' t   m a r k   t h e   r e f e r e n c e   a s   o p t i o n a l ,   t h e   P o d   w o n ' t   s t a r t .   S i m i l a r l y ,   r e f e r e n c e s   t o   k e y s   t h a t   d o n ' t   e x i s t   i n   t h e   C o n f i g M a p   w i l l   a l s o   p r e v e n t   t h e   P o d   f r o m   s t a r t i n g ,   u n l e s s   y o u   m a r k   t h e   k e y   r e f e r e n c e s   a s   o p t i o n a l . I f   y o u   u s e   e n v F r o m   t o   d e f i n e   e n v i r o n m e n t   v a r i a b l e s   f r o m   C o n f i g M a p s ,   k e y s   t h a t   a r e   c o n s i d e r e d   i n v a l i d   w i l l   b e   s k i p p e d .   T h e   p o d   w i l l   b e   a l l o w e d   t o   s t a r t ,   b u t   t h e   i n v a l i d   n a m e s   w i l l   b e   r e c o r d e d   i n   t h e   e v e n t   l o g   ( I n v a l i d V a r i a b l e N a m e s ) .   T h e   l o g   m e s s a g e   l i s t s   e a c h   s k i p p e d   k e y .   F o r   e x a m p l e : k u b e c t l   g e t   e v e n t s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : L A S T S E E N   F I R S T S E E N   C O U N T   N A M E   K I N D   S U B O B J E C T   T Y P E   R E A S O N   S O U R C E   M E S S A G E   0 s   0 s   1   d a p i - t e s t - p o d   P o d   W a r n i n g   I n v a l i d E n v i r o n m e n t V a r i a b l e N a m e s   { k u b e l e t ,   1 2 7 . 0 . 0 . 1 }   K e y s   [ 1 b a d k e y ,   2 a l s o b a d ]   f r o m   t h e   E n v F r o m   c o n f i g M a p   d e f a u ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_2_9275"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "D e l e t e   t h e   C o n f i g M a p s   a n d   P o d s   t h a t   y o u   m a d e :   k u b e c t l   d e l e t e   c o n f i g m a p s / g a m e - c o n f i g   c o n f i g m a p s / g a m e - c o n f i g - 2   c o n f i g m a p s / g a m e - c o n f i g - 3   \\   c o n f i g m a p s / g a m e - c o n f i g - e n v - f i l e   k u b e c t l   d e l e t e   p o d   d a p i - t e s t - p o d   - - n o w   #   Y o u   m i g h t   a l r e a d y   h a v e   r e m o v e d   t h e   n e x t   s e t   k u b e c t l   d e l e t e   c o n f i g m a p s / s p e c i a l - c o n f i g   c o n f i g m a p s / e n v - c o n f i g   k u b e c t l   d e l e t e   c o n f i g m a p   - l   ' g a m e - c o n f i g   i n   ( c o n f i g - 4 , c o n f i g - 5 ) '   R e m o v e   t h e   k u s t o m i z a t i o n . y a m l   f i l e   t h a t   y o u   u s e d   t o   g e n e r a t e   t h e   C o n f i g M a p :   r m   k u s t o m i z a t i o n . y a m l   I f   y o u   c r e a t e d   a   d i r e c t o r y   c o n f i g u r e - p o d - c o n t a i n e r   a n d   n o   l o n g e r   n e e d   i t ,   y o u   s h o u l d   r e m o v e   t h a t   t o o ,   o r   m o v e   i t   i n t o   t h e   t r a s h   c a n   /   d e l e t e d   f i l e s   l o c a t i o n .   r m   - r   c o n f i g u r e - p o d - c o n t a i n e r",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_2_9276"
  },
  {
    "question": "What is What's next?",
    "answer": "F o l l o w   a   r e a l   w o r l d   e x a m p l e   o f   C o n f i g u r i n g   R e d i s   u s i n g   a   C o n f i g M a p . F o l l o w   a n   e x a m p l e   o f   U p d a t i n g   c o n f i g u r a t i o n   v i a   a   C o n f i g M a p .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
    "id": "k8s_00489_section_2_9277"
  },
  {
    "question": "What is Configure Service Accounts for Pods?",
    "answer": "Configure Service Accounts for PodsKubernetes offers two distinct ways for clients that run within your cluster, or that otherwise have a relationship to your cluster's control plane to authenticate to the API server.A service account provides an identity for processes that run in a Pod, and maps to a ServiceAccount object. When you authenticate to the API server, you identify yourself as a particular user. Kubernetes recognises the concept of a user, however, Kubernetes itself does not have a User API.This task guide is about ServiceAccounts, which do exist in the Kubernetes API. The guide shows you some ways to configure ServiceAccounts for Pods.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesUse the default service account to access the API serverWhen Pods contact the API server, Pods authenticate as a particular ServiceAccount (for example, default). There is always at least one ServiceAccount in each namespace.Every Kubernetes namespace contains at least one ServiceAccount: the default ServiceAccount for that namespace, named default. If you do not specify a ServiceAccount when you create a Pod, Kubernetes automatically assigns the ServiceAccount named default in that namespace.You can fetch the details for a Pod you have created. For example:kubectl get pods/<podname> -o yaml In the output, you see a field spec.serviceAccountName. Kubernetes automatically sets that value if you don't specify it when you create a Pod.An application running inside a Pod can access the Kubernetes API using automatically mounted service account credentials. See accessing the Cluster to learn more.When a Pod authenticates as a ServiceAccount, its level of access depends on the authorization plugin and policy in use.The API credentials are automatically revoked when the Pod is deleted, even if finalizers are in place. In particular, the API credentials are revoked 60 seconds beyond the .metadata.deletionTimestamp set on the Pod (the deletion timestamp is typically the time that the delete request was accepted plus the Pod's termination grace period).Opt out of API credential automountingIf you don't want the kubelet to automatically mount a ServiceAccount's API credentials, you can opt out of the default behavior. You can opt out of automounting API credentials on /var/run/secrets/kubernetes.io/serviceaccount/token for a service account by setting automountServiceAccountToken: false on the ServiceAccount:For example:apiVersion: v1 kind: ServiceAccount metadata: name: build-robot automountServiceAccountToken: false ... You can also opt out of automounting API credentials for a par",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
    "id": "k8s_00490_qa_9278"
  },
  {
    "question": "How does Configure Service Accounts for Pods work?",
    "answer": "Configure Service Accounts for PodsKubernetes offers two distinct ways for clients that run within your cluster, or that otherwise have a relationship to your cluster's control plane to authenticate to the API server.A service account provides an identity for processes that run in a Pod, and maps to a ServiceAccount object. When you authenticate to the API server, you identify yourself as a particular user. Kubernetes recognises the concept of a user, however, Kubernetes itself does not have a User API.This task guide is about ServiceAccounts, which do exist in the Kubernetes API. The guide shows you some ways to configure ServiceAccounts for Pods.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesUse the default service account to access the API serverWhen Pods contact the API server, Pods authenticate as a particular ServiceAccount (for example, default). There is always at least one ServiceAccount in each namespace.Every Kubernetes namespace contains at least one ServiceAccount: the default ServiceAccount for that namespace, named default. If you do not specify a ServiceAccount when you create a Pod, Kubernetes automatically assigns the ServiceAccount named default in that namespace.You can fetch the details for a Pod you have created. For example:kubectl get pods/<podname> -o yaml In the output, you see a field spec.serviceAccountName. Kubernetes automatically sets that value if you don't specify it when you create a Pod.An application running inside a Pod can access the Kubernetes API using automatically mounted service account credentials. See accessing the Cluster to learn more.When a Pod authenticates as a ServiceAccount, its level of access depends on the authorization plugin and policy in use.The API credentials are automatically revoked when the Pod is deleted, even if finalizers are in place. In particular, the API credentials are revoked 60 seconds beyond the .metadata.deletionTimestamp set on the Pod (the deletion timestamp is typically the time that the delete request was accepted plus the Pod's termination grace period).Opt out of API credential automountingIf you don't want the kubelet to automatically mount a ServiceAccount's API credentials, you can opt out of the default behavior. You can opt out of automounting API credentials on /var/run/secrets/kubernetes.io/serviceaccount/token for a service account by setting automountServiceAccountToken: false on the ServiceAccount:For example:apiVersion: v1 kind: ServiceAccount metadata: name: build-robot automountServiceAccountToken: false ... You can also opt out of automounting API credentials for a par",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
    "id": "k8s_00490_qa_9279"
  },
  {
    "question": "When would you use Configure Service Accounts for Pods?",
    "answer": "Configure Service Accounts for PodsKubernetes offers two distinct ways for clients that run within your cluster, or that otherwise have a relationship to your cluster's control plane to authenticate to the API server.A service account provides an identity for processes that run in a Pod, and maps to a ServiceAccount object. When you authenticate to the API server, you identify yourself as a particular user. Kubernetes recognises the concept of a user, however, Kubernetes itself does not have a User API.This task guide is about ServiceAccounts, which do exist in the Kubernetes API. The guide shows you some ways to configure ServiceAccounts for Pods.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesUse the default service account to access the API serverWhen Pods contact the API server, Pods authenticate as a particular ServiceAccount (for example, default). There is always at least one ServiceAccount in each namespace.Every Kubernetes namespace contains at least one ServiceAccount: the default ServiceAccount for that namespace, named default. If you do not specify a ServiceAccount when you create a Pod, Kubernetes automatically assigns the ServiceAccount named default in that namespace.You can fetch the details for a Pod you have created. For example:kubectl get pods/<podname> -o yaml In the output, you see a field spec.serviceAccountName. Kubernetes automatically sets that value if you don't specify it when you create a Pod.An application running inside a Pod can access the Kubernetes API using automatically mounted service account credentials. See accessing the Cluster to learn more.When a Pod authenticates as a ServiceAccount, its level of access depends on the authorization plugin and policy in use.The API credentials are automatically revoked when the Pod is deleted, even if finalizers are in place. In particular, the API credentials are revoked 60 seconds beyond the .metadata.deletionTimestamp set on the Pod (the deletion timestamp is typically the time that the delete request was accepted plus the Pod's termination grace period).Opt out of API credential automountingIf you don't want the kubelet to automatically mount a ServiceAccount's API credentials, you can opt out of the default behavior. You can opt out of automounting API credentials on /var/run/secrets/kubernetes.io/serviceaccount/token for a service account by setting automountServiceAccountToken: false on the ServiceAccount:For example:apiVersion: v1 kind: ServiceAccount metadata: name: build-robot automountServiceAccountToken: false ... You can also opt out of automounting API credentials for a par",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
    "id": "k8s_00490_qa_9280"
  },
  {
    "question": "What are the benefits of Configure Service Accounts for Pods?",
    "answer": "Configure Service Accounts for PodsKubernetes offers two distinct ways for clients that run within your cluster, or that otherwise have a relationship to your cluster's control plane to authenticate to the API server.A service account provides an identity for processes that run in a Pod, and maps to a ServiceAccount object. When you authenticate to the API server, you identify yourself as a particular user. Kubernetes recognises the concept of a user, however, Kubernetes itself does not have a User API.This task guide is about ServiceAccounts, which do exist in the Kubernetes API. The guide shows you some ways to configure ServiceAccounts for Pods.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesUse the default service account to access the API serverWhen Pods contact the API server, Pods authenticate as a particular ServiceAccount (for example, default). There is always at least one ServiceAccount in each namespace.Every Kubernetes namespace contains at least one ServiceAccount: the default ServiceAccount for that namespace, named default. If you do not specify a ServiceAccount when you create a Pod, Kubernetes automatically assigns the ServiceAccount named default in that namespace.You can fetch the details for a Pod you have created. For example:kubectl get pods/<podname> -o yaml In the output, you see a field spec.serviceAccountName. Kubernetes automatically sets that value if you don't specify it when you create a Pod.An application running inside a Pod can access the Kubernetes API using automatically mounted service account credentials. See accessing the Cluster to learn more.When a Pod authenticates as a ServiceAccount, its level of access depends on the authorization plugin and policy in use.The API credentials are automatically revoked when the Pod is deleted, even if finalizers are in place. In particular, the API credentials are revoked 60 seconds beyond the .metadata.deletionTimestamp set on the Pod (the deletion timestamp is typically the time that the delete request was accepted plus the Pod's termination grace period).Opt out of API credential automountingIf you don't want the kubelet to automatically mount a ServiceAccount's API credentials, you can opt out of the default behavior. You can opt out of automounting API credentials on /var/run/secrets/kubernetes.io/serviceaccount/token for a service account by setting automountServiceAccountToken: false on the ServiceAccount:For example:apiVersion: v1 kind: ServiceAccount metadata: name: build-robot automountServiceAccountToken: false ... You can also opt out of automounting API credentials for a par",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
    "id": "k8s_00490_qa_9281"
  },
  {
    "question": "What is Configure Service Accounts for Pods?",
    "answer": "K u b e r n e t e s   o f f e r s   t w o   d i s t i n c t   w a y s   f o r   c l i e n t s   t h a t   r u n   w i t h i n   y o u r   c l u s t e r ,   o r   t h a t   o t h e r w i s e   h a v e   a   r e l a t i o n s h i p   t o   y o u r   c l u s t e r ' s   c o n t r o l   p l a n e   t o   a u t h e n t i c a t e   t o   t h e   A P I   s e r v e r .   A   s e r v i c e   a c c o u n t   p r o v i d e s   a n   i d e n t i t y   f o r   p r o c e s s e s   t h a t   r u n   i n   a   P o d ,   a n d   m a p s   t o   a   S e r v i c e A c c o u n t   o b j e c t .   W h e n   y o u   a u t h e n t i c a t e   t o   t h e   A P I   s e r v e r ,   y o u   i d e n t i f y   y o u r s e l f   a s   a   p a r t i c u l a r   u s e r .   K u b e r n e t e s   r e c o g n i s e s   t h e   c o n c e p t   o f   a   u s e r ,   h o w e v e r ,   K u b e r n e t e s   i t s e l f   d o e s   n o t   h a v e   a   U s e r   A P I .   T h i s   t a s k   g u i d e   i s   a b o u t   S e r v i c e A c c o u n t s ,   w h i c h   d o   e x i s t   i n   t h e   K u b e r n e t e s   A P I .   T h e   g u i d e   s h o w s   y o u   s o m e   w a y s   t o   c o n f i g u r e   S e r v i c e A c c o u n t s   f o r   P o d s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
    "id": "k8s_00490_section_1_9282"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
    "id": "k8s_00490_section_2_9283"
  },
  {
    "question": "What is Use the default service account to access the API server?",
    "answer": "W h e n   P o d s   c o n t a c t   t h e   A P I   s e r v e r ,   P o d s   a u t h e n t i c a t e   a s   a   p a r t i c u l a r   S e r v i c e A c c o u n t   ( f o r   e x a m p l e ,   d e f a u l t ) .   T h e r e   i s   a l w a y s   a t   l e a s t   o n e   S e r v i c e A c c o u n t   i n   e a c h   n a m e s p a c e .   E v e r y   K u b e r n e t e s   n a m e s p a c e   c o n t a i n s   a t   l e a s t   o n e   S e r v i c e A c c o u n t :   t h e   d e f a u l t   S e r v i c e A c c o u n t   f o r   t h a t   n a m e s p a c e ,   n a m e d   d e f a u l t .   I f   y o u   d o   n o t   s p e c i f y   a   S e r v i c e A c c o u n t   w h e n   y o u   c r e a t e   a   P o d ,   K u b e r n e t e s   a u t o m a t i c a l l y   a s s i g n s   t h e   S e r v i c e A c c o u n t   n a m e d   d e f a u l t   i n   t h a t   n a m e s p a c e .   Y o u   c a n   f e t c h   t h e   d e t a i l s   f o r   a   P o d   y o u   h a v e   c r e a t e d .   F o r   e x a m p l e :   k u b e c t l   g e t   p o d s / < p o d n a m e >   - o   y a m l   I n   t h e   o u t p u t ,   y o u   s e e   a   f i e l d   s p e c . s e r v i c e A c c o u n t N a m e .   K u b e r n e t e s   a u t o m a t i c a l l y   s e t s   t h a t   v a l u e   i f   y o u   d o n ' t   s p e c i f y   i t   w h e n   y o u   c r e a t e   a   P o d .   A n   a p p l i c a t i o n   r u n n i n g   i n s i d e   a   P o d   c a n   a c c e s s   t h e   K u b e r n e t e s   A P I   u s i n g   a u t o m a t i c a l l y   m o u n t e d   s e r v i c e   a c c o u n t   c r e d e n t i a l s .   S e e   a c c e s s i n g   t h e   C l u s t e r   t o   l e a r n   m o r e .   W h e n   a   P o d   a u t h e n t i c a t e s   a s   a   S e r v i c e A c c o u n t ,   i t s   l e v e l   o f   a c c e s s   d e p e n d s   o n   t h e   a u t h o r i z a t i o n   p l u g i n   a n d   p o l i c y   i n   u s e .   T h e   A P I   c r e d e n t i a l s   a r e   a ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
    "id": "k8s_00490_section_2_9284"
  },
  {
    "question": "What is Opt out of API credential automounting?",
    "answer": "I f   y o u   d o n ' t   w a n t   t h e   k u b e l e t   t o   a u t o m a t i c a l l y   m o u n t   a   S e r v i c e A c c o u n t ' s   A P I   c r e d e n t i a l s ,   y o u   c a n   o p t   o u t   o f   t h e   d e f a u l t   b e h a v i o r .   Y o u   c a n   o p t   o u t   o f   a u t o m o u n t i n g   A P I   c r e d e n t i a l s   o n   / v a r / r u n / s e c r e t s / k u b e r n e t e s . i o / s e r v i c e a c c o u n t / t o k e n   f o r   a   s e r v i c e   a c c o u n t   b y   s e t t i n g   a u t o m o u n t S e r v i c e A c c o u n t T o k e n :   f a l s e   o n   t h e   S e r v i c e A c c o u n t :   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   n a m e :   b u i l d - r o b o t   a u t o m o u n t S e r v i c e A c c o u n t T o k e n :   f a l s e   . . .   Y o u   c a n   a l s o   o p t   o u t   o f   a u t o m o u n t i n g   A P I   c r e d e n t i a l s   f o r   a   p a r t i c u l a r   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y - p o d   s p e c :   s e r v i c e A c c o u n t N a m e :   b u i l d - r o b o t   a u t o m o u n t S e r v i c e A c c o u n t T o k e n :   f a l s e   . . .   I f   b o t h   t h e   S e r v i c e A c c o u n t   a n d   t h e   P o d ' s   . s p e c   s p e c i f y   a   v a l u e   f o r   a u t o m o u n t S e r v i c e A c c o u n t T o k e n ,   t h e   P o d   s p e c   t a k e s   p r e c e d e n c e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
    "id": "k8s_00490_section_3_9285"
  },
  {
    "question": "What is Use more than one ServiceAccount?",
    "answer": "E v e r y   n a m e s p a c e   h a s   a t   l e a s t   o n e   S e r v i c e A c c o u n t :   t h e   d e f a u l t   S e r v i c e A c c o u n t   r e s o u r c e ,   c a l l e d   d e f a u l t .   Y o u   c a n   l i s t   a l l   S e r v i c e A c c o u n t   r e s o u r c e s   i n   y o u r   c u r r e n t   n a m e s p a c e   w i t h :   k u b e c t l   g e t   s e r v i c e a c c o u n t s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   S E C R E T S   A G E   d e f a u l t   1   1 d   Y o u   c a n   c r e a t e   a d d i t i o n a l   S e r v i c e A c c o u n t   o b j e c t s   l i k e   t h i s :   k u b e c t l   a p p l y   - f   -   < < E O F   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   n a m e :   b u i l d - r o b o t   E O F   T h e   n a m e   o f   a   S e r v i c e A c c o u n t   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   I f   y o u   g e t   a   c o m p l e t e   d u m p   o f   t h e   s e r v i c e   a c c o u n t   o b j e c t ,   l i k e   t h i s :   k u b e c t l   g e t   s e r v i c e a c c o u n t s / b u i l d - r o b o t   - o   y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   2 0 1 9 - 0 6 - 1 6 T 0 0 : 1 2 : 3 4 Z   n a m e :   b u i l d - r o b o t   n a m e s p a c e :   d e f a u l t   r e s o u r c e V e r s i o n :   \" 2 7 2 5 0 0 \"   u i d :   7 2 1 a b 7 2 3 - 1 3 b c - 1 1 e 5 - a e c 2 - 4 2 0 1 0 a f 0 0 2 1 e   Y o u   c a n   u s e   a u t h o r i z a t i o n   p l u g i n s   t o   s e t   p e r m i s s i o n s   o n   s e r v i c e   a c c o u n t s .   T o   u s e   a   n o n - d e f a u l t   s e r v i c e   a c c o u n t ,   s e t   t h e   s p e c . s e r v i c e A c c o u n t N a m e   f i e l d   o f   a   P o d   t o   t h e   n a m e   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
    "id": "k8s_00490_section_2_9286"
  },
  {
    "question": "What is Cleanup?",
    "answer": "I f   y o u   t r i e d   c r e a t i n g   b u i l d - r o b o t   S e r v i c e A c c o u n t   f r o m   t h e   e x a m p l e   a b o v e ,   y o u   c a n   c l e a n   i t   u p   b y   r u n n i n g :   k u b e c t l   d e l e t e   s e r v i c e a c c o u n t / b u i l d - r o b o t",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
    "id": "k8s_00490_section_3_9287"
  },
  {
    "question": "What is Manually create an API token for a ServiceAccount?",
    "answer": "S u p p o s e   y o u   h a v e   a n   e x i s t i n g   s e r v i c e   a c c o u n t   n a m e d   \" b u i l d - r o b o t \"   a s   m e n t i o n e d   e a r l i e r .   Y o u   c a n   g e t   a   t i m e - l i m i t e d   A P I   t o k e n   f o r   t h a t   S e r v i c e A c c o u n t   u s i n g   k u b e c t l :   k u b e c t l   c r e a t e   t o k e n   b u i l d - r o b o t   T h e   o u t p u t   f r o m   t h a t   c o m m a n d   i s   a   t o k e n   t h a t   y o u   c a n   u s e   t o   a u t h e n t i c a t e   a s   t h a t   S e r v i c e A c c o u n t .   Y o u   c a n   r e q u e s t   a   s p e c i f i c   t o k e n   d u r a t i o n   u s i n g   t h e   - - d u r a t i o n   c o m m a n d   l i n e   a r g u m e n t   t o   k u b e c t l   c r e a t e   t o k e n   ( t h e   a c t u a l   d u r a t i o n   o f   t h e   i s s u e d   t o k e n   m i g h t   b e   s h o r t e r ,   o r   c o u l d   e v e n   b e   l o n g e r ) .   U s i n g   k u b e c t l   v 1 . 3 1   o r   l a t e r ,   i t   i s   p o s s i b l e   t o   c r e a t e   a   s e r v i c e   a c c o u n t   t o k e n   t h a t   i s   d i r e c t l y   b o u n d   t o   a   N o d e :   k u b e c t l   c r e a t e   t o k e n   b u i l d - r o b o t   - - b o u n d - o b j e c t - k i n d   N o d e   - - b o u n d - o b j e c t - n a m e   n o d e - 0 0 1   - - b o u n d - o b j e c t - u i d   1 2 3 . . . 4 5 6   T h e   t o k e n   w i l l   b e   v a l i d   u n t i l   i t   e x p i r e s   o r   e i t h e r   t h e   a s s o c i a t e d   N o d e   o r   s e r v i c e   a c c o u n t   a r e   d e l e t e d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
    "id": "k8s_00490_section_2_9288"
  },
  {
    "question": "What is Note:?",
    "answer": "V e r s i o n s   o f   K u b e r n e t e s   b e f o r e   v 1 . 2 2   a u t o m a t i c a l l y   c r e a t e d   l o n g   t e r m   c r e d e n t i a l s   f o r   a c c e s s i n g   t h e   K u b e r n e t e s   A P I .   T h i s   o l d e r   m e c h a n i s m   w a s   b a s e d   o n   c r e a t i n g   t o k e n   S e c r e t s   t h a t   c o u l d   t h e n   b e   m o u n t e d   i n t o   r u n n i n g   P o d s .   I n   m o r e   r e c e n t   v e r s i o n s ,   i n c l u d i n g   K u b e r n e t e s   v 1 . 3 4 ,   A P I   c r e d e n t i a l s   a r e   o b t a i n e d   d i r e c t l y   b y   u s i n g   t h e   T o k e n R e q u e s t   A P I ,   a n d   a r e   m o u n t e d   i n t o   P o d s   u s i n g   a   p r o j e c t e d   v o l u m e .   T h e   t o k e n s   o b t a i n e d   u s i n g   t h i s   m e t h o d   h a v e   b o u n d e d   l i f e t i m e s ,   a n d   a r e   a u t o m a t i c a l l y   i n v a l i d a t e d   w h e n   t h e   P o d   t h e y   a r e   m o u n t e d   i n t o   i s   d e l e t e d .   Y o u   c a n   s t i l l   m a n u a l l y   c r e a t e   a   s e r v i c e   a c c o u n t   t o k e n   S e c r e t ;   f o r   e x a m p l e ,   i f   y o u   n e e d   a   t o k e n   t h a t   n e v e r   e x p i r e s .   H o w e v e r ,   u s i n g   t h e   T o k e n R e q u e s t   s u b r e s o u r c e   t o   o b t a i n   a   t o k e n   t o   a c c e s s   t h e   A P I   i s   r e c o m m e n d e d   i n s t e a d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
    "id": "k8s_00490_section_4_9289"
  },
  {
    "question": "What is Manually create a long-lived API token for a ServiceAccount?",
    "answer": "I f   y o u   w a n t   t o   o b t a i n   a n   A P I   t o k e n   f o r   a   S e r v i c e A c c o u n t ,   y o u   c r e a t e   a   n e w   S e c r e t   w i t h   a   s p e c i a l   a n n o t a t i o n ,   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . n a m e .   k u b e c t l   a p p l y   - f   -   < < E O F   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   b u i l d - r o b o t - s e c r e t   a n n o t a t i o n s :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . n a m e :   b u i l d - r o b o t   t y p e :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n   E O F   I f   y o u   v i e w   t h e   S e c r e t   u s i n g :   k u b e c t l   g e t   s e c r e t / b u i l d - r o b o t - s e c r e t   - o   y a m l   y o u   c a n   s e e   t h a t   t h e   S e c r e t   n o w   c o n t a i n s   a n   A P I   t o k e n   f o r   t h e   \" b u i l d - r o b o t \"   S e r v i c e A c c o u n t .   B e c a u s e   o f   t h e   a n n o t a t i o n   y o u   s e t ,   t h e   c o n t r o l   p l a n e   a u t o m a t i c a l l y   g e n e r a t e s   a   t o k e n   f o r   t h a t   S e r v i c e A c c o u n t s ,   a n d   s t o r e s   t h e m   i n t o   t h e   a s s o c i a t e d   S e c r e t .   T h e   c o n t r o l   p l a n e   a l s o   c l e a n s   u p   t o k e n s   f o r   d e l e t e d   S e r v i c e A c c o u n t s .   k u b e c t l   d e s c r i b e   s e c r e t s / b u i l d - r o b o t - s e c r e t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N a m e :   b u i l d - r o b o t - s e c r e t   N a m e s p a c e :   d e f a u l t   L a b e l s :   < n o n e >   A n n o t a t i o n s :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . n a m e :   b u i l d - r o b o t   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . u i d :   d a 6 8 f 9 c 6 - 9 d 2 6 - 1 1 e 7 - b 8 4 e - 0 0 2 d c 5 2 8 0 0 d a   T y ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
    "id": "k8s_00490_section_3_9290"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   c o n t e n t   o f   t o k e n   i s   o m i t t e d   h e r e .   T a k e   c a r e   n o t   t o   d i s p l a y   t h e   c o n t e n t s   o f   a   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n   S e c r e t   s o m e w h e r e   t h a t   y o u r   t e r m i n a l   /   c o m p u t e r   s c r e e n   c o u l d   b e   s e e n   b y   a n   o n l o o k e r .   W h e n   y o u   d e l e t e   a   S e r v i c e A c c o u n t   t h a t   h a s   a n   a s s o c i a t e d   S e c r e t ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   a u t o m a t i c a l l y   c l e a n s   u p   t h e   l o n g - l i v e d   t o k e n   f r o m   t h a t   S e c r e t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
    "id": "k8s_00490_section_4_9291"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   v i e w   t h e   S e r v i c e A c c o u n t   u s i n g :   k u b e c t l   g e t   s e r v i c e a c c o u n t   b u i l d - r o b o t   - o   y a m l   Y o u   c a n ' t   s e e   t h e   b u i l d - r o b o t - s e c r e t   S e c r e t   i n   t h e   S e r v i c e A c c o u n t   A P I   o b j e c t s   . s e c r e t s   f i e l d   b e c a u s e   t h a t   f i e l d   i s   o n l y   p o p u l a t e d   w i t h   a u t o - g e n e r a t e d   S e c r e t s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
    "id": "k8s_00490_section_4_9292"
  },
  {
    "question": "What is Add ImagePullSecrets to a service account?",
    "answer": "F i r s t ,   c r e a t e   a n   i m a g e P u l l S e c r e t .   N e x t ,   v e r i f y   i t   h a s   b e e n   c r e a t e d .   F o r   e x a m p l e :   C r e a t e   a n   i m a g e P u l l S e c r e t ,   a s   d e s c r i b e d   i n   S p e c i f y i n g   I m a g e P u l l S e c r e t s   o n   a   P o d . k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   m y r e g i s t r y k e y   - - d o c k e r - s e r v e r = < r e g i s t r y   n a m e >   \\   - - d o c k e r - u s e r n a m e = D U M M Y _ U S E R N A M E   - - d o c k e r - p a s s w o r d = D U M M Y _ D O C K E R _ P A S S W O R D   \\   - - d o c k e r - e m a i l = D U M M Y _ D O C K E R _ E M A I L   V e r i f y   i t   h a s   b e e n   c r e a t e d . k u b e c t l   g e t   s e c r e t s   m y r e g i s t r y k e y   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   T Y P E   D A T A   A G E   m y r e g i s t r y k e y   k u b e r n e t e s . i o / . d o c k e r c o n f i g j s o n   1   1 d   C r e a t e   a n   i m a g e P u l l S e c r e t ,   a s   d e s c r i b e d   i n   S p e c i f y i n g   I m a g e P u l l S e c r e t s   o n   a   P o d .   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   m y r e g i s t r y k e y   - - d o c k e r - s e r v e r = < r e g i s t r y   n a m e >   \\   - - d o c k e r - u s e r n a m e = D U M M Y _ U S E R N A M E   - - d o c k e r - p a s s w o r d = D U M M Y _ D O C K E R _ P A S S W O R D   \\   - - d o c k e r - e m a i l = D U M M Y _ D O C K E R _ E M A I L   V e r i f y   i t   h a s   b e e n   c r e a t e d .   k u b e c t l   g e t   s e c r e t s   m y r e g i s t r y k e y   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   T Y P E   D A T A   A G E   m y r e g i s t r y k e y   k u b e r n e t e s . i o / . d o c k e r c o n f i g j s o n   1   1 d",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
    "id": "k8s_00490_section_2_9293"
  },
  {
    "question": "What is Add image pull secret to service account?",
    "answer": "N e x t ,   m o d i f y   t h e   d e f a u l t   s e r v i c e   a c c o u n t   f o r   t h e   n a m e s p a c e   t o   u s e   t h i s   S e c r e t   a s   a n   i m a g e P u l l S e c r e t .   k u b e c t l   p a t c h   s e r v i c e a c c o u n t   d e f a u l t   - p   ' { \" i m a g e P u l l S e c r e t s \" :   [ { \" n a m e \" :   \" m y r e g i s t r y k e y \" } ] } '   Y o u   c a n   a c h i e v e   t h e   s a m e   o u t c o m e   b y   e d i t i n g   t h e   o b j e c t   m a n u a l l y :   k u b e c t l   e d i t   s e r v i c e a c c o u n t / d e f a u l t   T h e   o u t p u t   o f   t h e   s a . y a m l   f i l e   i s   s i m i l a r   t o   t h i s :   Y o u r   s e l e c t e d   t e x t   e d i t o r   w i l l   o p e n   w i t h   a   c o n f i g u r a t i o n   l o o k i n g   s o m e t h i n g   l i k e   t h i s :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   2 0 2 1 - 0 7 - 0 7 T 2 2 : 0 2 : 3 9 Z   n a m e :   d e f a u l t   n a m e s p a c e :   d e f a u l t   r e s o u r c e V e r s i o n :   \" 2 4 3 0 2 4 \"   u i d :   0 5 2 f b 0 f 4 - 3 d 5 0 - 1 1 e 5 - b 0 6 6 - 4 2 0 1 0 a f 0 d 7 b 6   U s i n g   y o u r   e d i t o r ,   d e l e t e   t h e   l i n e   w i t h   k e y   r e s o u r c e V e r s i o n ,   a d d   l i n e s   f o r   i m a g e P u l l S e c r e t s :   a n d   s a v e   i t .   L e a v e   t h e   u i d   v a l u e   s e t   t h e   s a m e   a s   y o u   f o u n d   i t .   A f t e r   y o u   m a d e   t h o s e   c h a n g e s ,   t h e   e d i t e d   S e r v i c e A c c o u n t   l o o k s   s o m e t h i n g   l i k e   t h i s :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   2 0 2 1 - 0 7 - 0 7 T 2 2 : 0 2 : 3 9 Z   n a m e :   d e f a u l t   n a m e s p a c e :   d e f a u l t   u i d :   0 5 2 f b 0 f 4 - 3 d 5 0 - 1 1 e 5 - ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
    "id": "k8s_00490_section_3_9294"
  },
  {
    "question": "What is Verify that imagePullSecrets are set for new Pods?",
    "answer": "N o w ,   w h e n   a   n e w   P o d   i s   c r e a t e d   i n   t h e   c u r r e n t   n a m e s p a c e   a n d   u s i n g   t h e   d e f a u l t   S e r v i c e A c c o u n t ,   t h e   n e w   P o d   h a s   i t s   s p e c . i m a g e P u l l S e c r e t s   f i e l d   s e t   a u t o m a t i c a l l y :   k u b e c t l   r u n   n g i n x   - - i m a g e = < r e g i s t r y   n a m e > / n g i n x   - - r e s t a r t = N e v e r   k u b e c t l   g e t   p o d   n g i n x   - o = j s o n p a t h = ' { . s p e c . i m a g e P u l l S e c r e t s [ 0 ] . n a m e } { \" \\ n \" } '   T h e   o u t p u t   i s :   m y r e g i s t r y k e y",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
    "id": "k8s_00490_section_3_9295"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   e n a b l e   a n d   u s e   t o k e n   r e q u e s t   p r o j e c t i o n ,   y o u   m u s t   s p e c i f y   e a c h   o f   t h e   f o l l o w i n g   c o m m a n d   l i n e   a r g u m e n t s   t o   k u b e - a p i s e r v e r :   T h e   k u b e l e t   c a n   a l s o   p r o j e c t   a   S e r v i c e A c c o u n t   t o k e n   i n t o   a   P o d .   Y o u   c a n   s p e c i f y   d e s i r e d   p r o p e r t i e s   o f   t h e   t o k e n ,   s u c h   a s   t h e   a u d i e n c e   a n d   t h e   v a l i d i t y   d u r a t i o n .   T h e s e   p r o p e r t i e s   a r e   n o t   c o n f i g u r a b l e   o n   t h e   d e f a u l t   S e r v i c e A c c o u n t   t o k e n .   T h e   t o k e n   w i l l   a l s o   b e c o m e   i n v a l i d   a g a i n s t   t h e   A P I   w h e n   e i t h e r   t h e   P o d   o r   t h e   S e r v i c e A c c o u n t   i s   d e l e t e d .   Y o u   c a n   c o n f i g u r e   t h i s   b e h a v i o r   f o r   t h e   s p e c   o f   a   P o d   u s i n g   a   p r o j e c t e d   v o l u m e   t y p e   c a l l e d   S e r v i c e A c c o u n t T o k e n .   T h e   t o k e n   f r o m   t h i s   p r o j e c t e d   v o l u m e   i s   a   J S O N   W e b   T o k e n   ( J W T ) .   T h e   J S O N   p a y l o a d   o f   t h i s   t o k e n   f o l l o w s   a   w e l l   d e f i n e d   s c h e m a   -   a n   e x a m p l e   p a y l o a d   f o r   a   p o d   b o u n d   t o k e n :   {   \" a u d \" :   [   #   m a t c h e s   t h e   r e q u e s t e d   a u d i e n c e s ,   o r   t h e   A P I   s e r v e r ' s   d e f a u l t   a u d i e n c e s   w h e n   n o n e   a r e   e x p l i c i t l y   r e q u e s t e d   \" h t t p s : / / k u b e r n e t e s . d e f a u l t . s v c \"   ] ,   \" e x p \" :   1 7 3 1 6 1 3 4 1 3 ,   \" i a t \" :   1 7 0 0 0 7 7 4 1 3 ,   \" i s s \" :   \" h t t p s : / / k u b e r n e t e s . d e f a u l t . s v c \" ,   #   m a t c h e s   t h e   f i r s t ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
    "id": "k8s_00490_section_4_9296"
  },
  {
    "question": "What is Launch a Pod using service account token projection?",
    "answer": "T o   p r o v i d e   a   P o d   w i t h   a   t o k e n   w i t h   a n   a u d i e n c e   o f   v a u l t   a n d   a   v a l i d i t y   d u r a t i o n   o f   t w o   h o u r s ,   y o u   c o u l d   d e f i n e   a   P o d   m a n i f e s t   t h a t   i s   s i m i l a r   t o :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   s p e c :   c o n t a i n e r s :   -   i m a g e :   n g i n x   n a m e :   n g i n x   v o l u m e M o u n t s :   -   m o u n t P a t h :   / v a r / r u n / s e c r e t s / t o k e n s   n a m e :   v a u l t - t o k e n   s e r v i c e A c c o u n t N a m e :   b u i l d - r o b o t   v o l u m e s :   -   n a m e :   v a u l t - t o k e n   p r o j e c t e d :   s o u r c e s :   -   s e r v i c e A c c o u n t T o k e n :   p a t h :   v a u l t - t o k e n   e x p i r a t i o n S e c o n d s :   7 2 0 0   a u d i e n c e :   v a u l t   C r e a t e   t h e   P o d :   k u b e c t l   c r e a t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p o d - p r o j e c t e d - s v c - t o k e n . y a m l   T h e   k u b e l e t   w i l l :   r e q u e s t   a n d   s t o r e   t h e   t o k e n   o n   b e h a l f   o f   t h e   P o d ;   m a k e   t h e   t o k e n   a v a i l a b l e   t o   t h e   P o d   a t   a   c o n f i g u r a b l e   f i l e   p a t h ;   a n d   r e f r e s h   t h e   t o k e n   a s   i t   a p p r o a c h e s   e x p i r a t i o n .   T h e   k u b e l e t   p r o a c t i v e l y   r e q u e s t s   r o t a t i o n   f o r   t h e   t o k e n   i f   i t   i s   o l d e r   t h a n   8 0 %   o f   i t s   t o t a l   t i m e - t o - l i v e   ( T T L ) ,   o r   i f   t h e   t o k e n   i s   o l d e r   t h a n   2 4   h o u r s .   T h e   a p p l i c a t i o n   i s   r e s p o n s i b l e   f o r   r e l o a d i n g   t h e   t o k e n   w h e n   i t   r o t a t e s .   I t ' s   o f t e n   g o o d   e n o u g h   f o r   t h e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
    "id": "k8s_00490_section_3_9297"
  },
  {
    "question": "What is Service account issuer discovery?",
    "answer": "I f   y o u   h a v e   e n a b l e d   t o k e n   p r o j e c t i o n   f o r   S e r v i c e A c c o u n t s   i n   y o u r   c l u s t e r ,   t h e n   y o u   c a n   a l s o   m a k e   u s e   o f   t h e   d i s c o v e r y   f e a t u r e .   K u b e r n e t e s   p r o v i d e s   a   w a y   f o r   c l i e n t s   t o   f e d e r a t e   a s   a n   i d e n t i t y   p r o v i d e r ,   s o   t h a t   o n e   o r   m o r e   e x t e r n a l   s y s t e m s   c a n   a c t   a s   a   r e l y i n g   p a r t y .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
    "id": "k8s_00490_section_3_9298"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   i s s u e r   U R L   m u s t   c o m p l y   w i t h   t h e   O I D C   D i s c o v e r y   S p e c .   I n   p r a c t i c e ,   t h i s   m e a n s   i t   m u s t   u s e   t h e   h t t p s   s c h e m e ,   a n d   s h o u l d   s e r v e   a n   O p e n I D   p r o v i d e r   c o n f i g u r a t i o n   a t   { s e r v i c e - a c c o u n t - i s s u e r } / . w e l l - k n o w n / o p e n i d - c o n f i g u r a t i o n .   I f   t h e   U R L   d o e s   n o t   c o m p l y ,   S e r v i c e A c c o u n t   i s s u e r   d i s c o v e r y   e n d p o i n t s   a r e   n o t   r e g i s t e r e d   o r   a c c e s s i b l e .   W h e n   e n a b l e d ,   t h e   K u b e r n e t e s   A P I   s e r v e r   p u b l i s h e s   a n   O p e n I D   P r o v i d e r   C o n f i g u r a t i o n   d o c u m e n t   v i a   H T T P .   T h e   c o n f i g u r a t i o n   d o c u m e n t   i s   p u b l i s h e d   a t   / . w e l l - k n o w n / o p e n i d - c o n f i g u r a t i o n .   T h e   O p e n I D   P r o v i d e r   C o n f i g u r a t i o n   i s   s o m e t i m e s   r e f e r r e d   t o   a s   t h e   d i s c o v e r y   d o c u m e n t .   T h e   K u b e r n e t e s   A P I   s e r v e r   p u b l i s h e s   t h e   r e l a t e d   J S O N   W e b   K e y   S e t   ( J W K S ) ,   a l s o   v i a   H T T P ,   a t   / o p e n i d / v 1 / j w k s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
    "id": "k8s_00490_section_4_9299"
  },
  {
    "question": "What is Note:?",
    "answer": "C l u s t e r s   t h a t   u s e   R B A C   i n c l u d e   a   d e f a u l t   C l u s t e r R o l e   c a l l e d   s y s t e m : s e r v i c e - a c c o u n t - i s s u e r - d i s c o v e r y .   A   d e f a u l t   C l u s t e r R o l e B i n d i n g   a s s i g n s   t h i s   r o l e   t o   t h e   s y s t e m : s e r v i c e a c c o u n t s   g r o u p ,   w h i c h   a l l   S e r v i c e A c c o u n t s   i m p l i c i t l y   b e l o n g   t o .   T h i s   a l l o w s   p o d s   r u n n i n g   o n   t h e   c l u s t e r   t o   a c c e s s   t h e   s e r v i c e   a c c o u n t   d i s c o v e r y   d o c u m e n t   v i a   t h e i r   m o u n t e d   s e r v i c e   a c c o u n t   t o k e n .   A d m i n i s t r a t o r s   m a y ,   a d d i t i o n a l l y ,   c h o o s e   t o   b i n d   t h e   r o l e   t o   s y s t e m : a u t h e n t i c a t e d   o r   s y s t e m : u n a u t h e n t i c a t e d   d e p e n d i n g   o n   t h e i r   s e c u r i t y   r e q u i r e m e n t s   a n d   w h i c h   e x t e r n a l   s y s t e m s   t h e y   i n t e n d   t o   f e d e r a t e   w i t h .   T h e   J W K S   r e s p o n s e   c o n t a i n s   p u b l i c   k e y s   t h a t   a   r e l y i n g   p a r t y   c a n   u s e   t o   v a l i d a t e   t h e   K u b e r n e t e s   s e r v i c e   a c c o u n t   t o k e n s .   R e l y i n g   p a r t i e s   f i r s t   q u e r y   f o r   t h e   O p e n I D   P r o v i d e r   C o n f i g u r a t i o n ,   a n d   u s e   t h e   j w k s _ u r i   f i e l d   i n   t h e   r e s p o n s e   t o   f i n d   t h e   J W K S .   I n   m a n y   c a s e s ,   K u b e r n e t e s   A P I   s e r v e r s   a r e   n o t   a v a i l a b l e   o n   t h e   p u b l i c   i n t e r n e t ,   b u t   p u b l i c   e n d p o i n t s   t h a t   s e r v e   c a c h e d   r e s p o n s e s   f r o m   t h e   A P I   s e r v e r   c a n   b e   m a d e   a v a i l a b l e   b y   u s e r s   o r   b ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
    "id": "k8s_00490_section_4_9300"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   a l s o :   R e a d   t h e   C l u s t e r   A d m i n   G u i d e   t o   S e r v i c e   A c c o u n t s R e a d   a b o u t   A u t h o r i z a t i o n   i n   K u b e r n e t e s R e a d   a b o u t   S e c r e t s o r   l e a r n   t o   d i s t r i b u t e   c r e d e n t i a l s   s e c u r e l y   u s i n g   S e c r e t s b u t   a l s o   b e a r   i n   m i n d   t h a t   u s i n g   S e c r e t s   f o r   a u t h e n t i c a t i n g   a s   a   S e r v i c e A c c o u n t   i s   d e p r e c a t e d .   T h e   r e c o m m e n d e d   a l t e r n a t i v e   i s   S e r v i c e A c c o u n t   t o k e n   v o l u m e   p r o j e c t i o n . R e a d   a b o u t   p r o j e c t e d   v o l u m e s . F o r   b a c k g r o u n d   o n   O I D C   d i s c o v e r y ,   r e a d   t h e   S e r v i c e A c c o u n t   s i g n i n g   k e y   r e t r i e v a l   K u b e r n e t e s   E n h a n c e m e n t   P r o p o s a l R e a d   t h e   O I D C   D i s c o v e r y   S p e c   o r   l e a r n   t o   d i s t r i b u t e   c r e d e n t i a l s   s e c u r e l y   u s i n g   S e c r e t s b u t   a l s o   b e a r   i n   m i n d   t h a t   u s i n g   S e c r e t s   f o r   a u t h e n t i c a t i n g   a s   a   S e r v i c e A c c o u n t   i s   d e p r e c a t e d .   T h e   r e c o m m e n d e d   a l t e r n a t i v e   i s   S e r v i c e A c c o u n t   t o k e n   v o l u m e   p r o j e c t i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
    "id": "k8s_00490_section_2_9301"
  },
  {
    "question": "What is NetworkPolicy?",
    "answer": "NetworkPolicyNetworkPolicy describes what network traffic is allowed for a set of Pods.apiVersion: networking.k8s.io/v1import \"k8s.io/api/networking/v1\"NetworkPolicyNetworkPolicy describes what network traffic is allowed for a set of PodsapiVersion: networking.k8s.io/v1kind: NetworkPolicymetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (NetworkPolicySpec)spec represents the specification of the desired behavior for this NetworkPolicy.NetworkPolicySpecNetworkPolicySpec provides the specification of a NetworkPolicypodSelector (LabelSelector)podSelector selects the pods to which this NetworkPolicy object applies. The array of rules is applied to any pods selected by this field. An empty selector matches all pods in the policy's namespace. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is optional. If it is not specified, it defaults to an empty selector.policyTypes ([]string)Atomic: will be replaced during a mergepolicyTypes is a list of rule types that the NetworkPolicy relates to. Valid options are [\"Ingress\"], [\"Egress\"], or [\"Ingress\", \"Egress\"]. If this field is not specified, it will default based on the existence of ingress or egress rules; policies that contain an egress section are assumed to affect egress, and all policies (whether or not they contain an ingress section) are assumed to affect ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8ingress ([]NetworkPolicyIngressRule)Atomic: will be replaced during a mergeingress is a list of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.ingress.from ([]NetworkPolicyPeer)Atomic: will be replaced during a mergefrom is a list of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restric",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_qa_9302"
  },
  {
    "question": "How does NetworkPolicy work?",
    "answer": "NetworkPolicyNetworkPolicy describes what network traffic is allowed for a set of Pods.apiVersion: networking.k8s.io/v1import \"k8s.io/api/networking/v1\"NetworkPolicyNetworkPolicy describes what network traffic is allowed for a set of PodsapiVersion: networking.k8s.io/v1kind: NetworkPolicymetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (NetworkPolicySpec)spec represents the specification of the desired behavior for this NetworkPolicy.NetworkPolicySpecNetworkPolicySpec provides the specification of a NetworkPolicypodSelector (LabelSelector)podSelector selects the pods to which this NetworkPolicy object applies. The array of rules is applied to any pods selected by this field. An empty selector matches all pods in the policy's namespace. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is optional. If it is not specified, it defaults to an empty selector.policyTypes ([]string)Atomic: will be replaced during a mergepolicyTypes is a list of rule types that the NetworkPolicy relates to. Valid options are [\"Ingress\"], [\"Egress\"], or [\"Ingress\", \"Egress\"]. If this field is not specified, it will default based on the existence of ingress or egress rules; policies that contain an egress section are assumed to affect egress, and all policies (whether or not they contain an ingress section) are assumed to affect ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8ingress ([]NetworkPolicyIngressRule)Atomic: will be replaced during a mergeingress is a list of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.ingress.from ([]NetworkPolicyPeer)Atomic: will be replaced during a mergefrom is a list of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restric",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_qa_9303"
  },
  {
    "question": "When would you use NetworkPolicy?",
    "answer": "NetworkPolicyNetworkPolicy describes what network traffic is allowed for a set of Pods.apiVersion: networking.k8s.io/v1import \"k8s.io/api/networking/v1\"NetworkPolicyNetworkPolicy describes what network traffic is allowed for a set of PodsapiVersion: networking.k8s.io/v1kind: NetworkPolicymetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (NetworkPolicySpec)spec represents the specification of the desired behavior for this NetworkPolicy.NetworkPolicySpecNetworkPolicySpec provides the specification of a NetworkPolicypodSelector (LabelSelector)podSelector selects the pods to which this NetworkPolicy object applies. The array of rules is applied to any pods selected by this field. An empty selector matches all pods in the policy's namespace. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is optional. If it is not specified, it defaults to an empty selector.policyTypes ([]string)Atomic: will be replaced during a mergepolicyTypes is a list of rule types that the NetworkPolicy relates to. Valid options are [\"Ingress\"], [\"Egress\"], or [\"Ingress\", \"Egress\"]. If this field is not specified, it will default based on the existence of ingress or egress rules; policies that contain an egress section are assumed to affect egress, and all policies (whether or not they contain an ingress section) are assumed to affect ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8ingress ([]NetworkPolicyIngressRule)Atomic: will be replaced during a mergeingress is a list of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.ingress.from ([]NetworkPolicyPeer)Atomic: will be replaced during a mergefrom is a list of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restric",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_qa_9304"
  },
  {
    "question": "What are the benefits of NetworkPolicy?",
    "answer": "NetworkPolicyNetworkPolicy describes what network traffic is allowed for a set of Pods.apiVersion: networking.k8s.io/v1import \"k8s.io/api/networking/v1\"NetworkPolicyNetworkPolicy describes what network traffic is allowed for a set of PodsapiVersion: networking.k8s.io/v1kind: NetworkPolicymetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (NetworkPolicySpec)spec represents the specification of the desired behavior for this NetworkPolicy.NetworkPolicySpecNetworkPolicySpec provides the specification of a NetworkPolicypodSelector (LabelSelector)podSelector selects the pods to which this NetworkPolicy object applies. The array of rules is applied to any pods selected by this field. An empty selector matches all pods in the policy's namespace. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is optional. If it is not specified, it defaults to an empty selector.policyTypes ([]string)Atomic: will be replaced during a mergepolicyTypes is a list of rule types that the NetworkPolicy relates to. Valid options are [\"Ingress\"], [\"Egress\"], or [\"Ingress\", \"Egress\"]. If this field is not specified, it will default based on the existence of ingress or egress rules; policies that contain an egress section are assumed to affect egress, and all policies (whether or not they contain an ingress section) are assumed to affect ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8ingress ([]NetworkPolicyIngressRule)Atomic: will be replaced during a mergeingress is a list of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.ingress.from ([]NetworkPolicyPeer)Atomic: will be replaced during a mergefrom is a list of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restric",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_qa_9305"
  },
  {
    "question": "What is NetworkPolicy?",
    "answer": "a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / n e t w o r k i n g / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_1_9306"
  },
  {
    "question": "What is NetworkPolicy?",
    "answer": "N e t w o r k P o l i c y   d e s c r i b e s   w h a t   n e t w o r k   t r a f f i c   i s   a l l o w e d   f o r   a   s e t   o f   P o d s   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   N e t w o r k P o l i c y m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( N e t w o r k P o l i c y S p e c ) s p e c   r e p r e s e n t s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   f o r   t h i s   N e t w o r k P o l i c y .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( N e t w o r k P o l i c y S p e c )   s p e c   r e p r e s e n t s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   f o r   t h i s   N e t w o r k P o l i c y .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_2_9307"
  },
  {
    "question": "What is NetworkPolicySpec?",
    "answer": "N e t w o r k P o l i c y S p e c   p r o v i d e s   t h e   s p e c i f i c a t i o n   o f   a   N e t w o r k P o l i c y   p o d S e l e c t o r   ( L a b e l S e l e c t o r ) p o d S e l e c t o r   s e l e c t s   t h e   p o d s   t o   w h i c h   t h i s   N e t w o r k P o l i c y   o b j e c t   a p p l i e s .   T h e   a r r a y   o f   r u l e s   i s   a p p l i e d   t o   a n y   p o d s   s e l e c t e d   b y   t h i s   f i e l d .   A n   e m p t y   s e l e c t o r   m a t c h e s   a l l   p o d s   i n   t h e   p o l i c y ' s   n a m e s p a c e .   M u l t i p l e   n e t w o r k   p o l i c i e s   c a n   s e l e c t   t h e   s a m e   s e t   o f   p o d s .   I n   t h i s   c a s e ,   t h e   i n g r e s s   r u l e s   f o r   e a c h   a r e   c o m b i n e d   a d d i t i v e l y .   T h i s   f i e l d   i s   o p t i o n a l .   I f   i t   i s   n o t   s p e c i f i e d ,   i t   d e f a u l t s   t o   a n   e m p t y   s e l e c t o r . p o l i c y T y p e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e p o l i c y T y p e s   i s   a   l i s t   o f   r u l e   t y p e s   t h a t   t h e   N e t w o r k P o l i c y   r e l a t e s   t o .   V a l i d   o p t i o n s   a r e   [ \" I n g r e s s \" ] ,   [ \" E g r e s s \" ] ,   o r   [ \" I n g r e s s \" ,   \" E g r e s s \" ] .   I f   t h i s   f i e l d   i s   n o t   s p e c i f i e d ,   i t   w i l l   d e f a u l t   b a s e d   o n   t h e   e x i s t e n c e   o f   i n g r e s s   o r   e g r e s s   r u l e s ;   p o l i c i e s   t h a t   c o n t a i n   a n   e g r e s s   s e c t i o n   a r e   a s s u m e d   t o   a f f e c t   e g r e s s ,   a n d   a l l   p o l i c i e s   ( w h e t h e r   o r   n o t   t h e y   c o n t a i n   a n   i n g r e s s   s e c t i o n )   a r e   a s s u m e d   t o   a f f e c t   i n g r e s s .   I f   y o u   w a n t   t o   w r i t e   a n   e g r e s s - o n l y ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_2_9308"
  },
  {
    "question": "What is NetworkPolicyList?",
    "answer": "N e t w o r k P o l i c y L i s t   i s   a   l i s t   o f   N e t w o r k P o l i c y   o b j e c t s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   N e t w o r k P o l i c y L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] N e t w o r k P o l i c y ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] N e t w o r k P o l i c y ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_2_9309"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_4_9310"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N e t w o r k P o l i c y n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N e t w o r k P o l i c y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_4_9311"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N e t w o r k P o l i c y ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_4_9312"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_4_9313"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_4_9314"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N e t w o r k P o l i c y L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_4_9315"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n e t w o r k p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_4_9316"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_4_9317"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N e t w o r k P o l i c y L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_4_9318"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_4_9319"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   N e t w o r k P o l i c y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   N e t w o r k P o l i c y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_4_9320"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N e t w o r k P o l i c y ) :   O K   2 0 1   ( N e t w o r k P o l i c y ) :   C r e a t e d   2 0 2   ( N e t w o r k P o l i c y ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_4_9321"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_4_9322"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N e t w o r k P o l i c y n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   N e t w o r k P o l i c y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N e t w o r k P o l i c y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   N e t w o r k P o l i c y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_4_9323"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N e t w o r k P o l i c y ) :   O K   2 0 1   ( N e t w o r k P o l i c y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_4_9324"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_4_9325"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N e t w o r k P o l i c y n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N e t w o r k P o l i c y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_4_9326"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N e t w o r k P o l i c y ) :   O K   2 0 1   ( N e t w o r k P o l i c y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_4_9327"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_4_9328"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N e t w o r k P o l i c y n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N e t w o r k P o l i c y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_4_9329"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_4_9330"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_4_9331"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_4_9332"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/network-policy-v1/",
    "id": "k8s_00491_section_4_9333"
  },
  {
    "question": "What is ReplicationController?",
    "answer": "ReplicationControllerReplicationController represents the configuration of a replication controller.apiVersion: v1import \"k8s.io/api/core/v1\"ReplicationControllerReplicationController represents the configuration of a replication controller.apiVersion: v1kind: ReplicationControllermetadata (ObjectMeta)If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (ReplicationControllerSpec)Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (ReplicationControllerStatus)Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusReplicationControllerSpecReplicationControllerSpec is the specification of a replication controller.selector (map[string]string)Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectorstemplate (PodTemplateSpec)Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. The only allowed template.spec.restartPolicy value is \"Always\". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-templatereplicas (int32)Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontrollerminReadySeconds (int32)Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)ReplicationControllerStatusReplicationControllerStatus represents the current status of a replication controller.replicas (int32), requiredReplicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontrolleravailableReplicas (int32)The number of available replicas (ready for at least minReadySeconds) for this replication controller.readyReplicas (int32)The number of ready replicas for this replic",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_qa_9334"
  },
  {
    "question": "How does ReplicationController work?",
    "answer": "ReplicationControllerReplicationController represents the configuration of a replication controller.apiVersion: v1import \"k8s.io/api/core/v1\"ReplicationControllerReplicationController represents the configuration of a replication controller.apiVersion: v1kind: ReplicationControllermetadata (ObjectMeta)If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (ReplicationControllerSpec)Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (ReplicationControllerStatus)Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusReplicationControllerSpecReplicationControllerSpec is the specification of a replication controller.selector (map[string]string)Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectorstemplate (PodTemplateSpec)Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. The only allowed template.spec.restartPolicy value is \"Always\". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-templatereplicas (int32)Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontrollerminReadySeconds (int32)Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)ReplicationControllerStatusReplicationControllerStatus represents the current status of a replication controller.replicas (int32), requiredReplicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontrolleravailableReplicas (int32)The number of available replicas (ready for at least minReadySeconds) for this replication controller.readyReplicas (int32)The number of ready replicas for this replic",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_qa_9335"
  },
  {
    "question": "When would you use ReplicationController?",
    "answer": "ReplicationControllerReplicationController represents the configuration of a replication controller.apiVersion: v1import \"k8s.io/api/core/v1\"ReplicationControllerReplicationController represents the configuration of a replication controller.apiVersion: v1kind: ReplicationControllermetadata (ObjectMeta)If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (ReplicationControllerSpec)Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (ReplicationControllerStatus)Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusReplicationControllerSpecReplicationControllerSpec is the specification of a replication controller.selector (map[string]string)Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectorstemplate (PodTemplateSpec)Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. The only allowed template.spec.restartPolicy value is \"Always\". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-templatereplicas (int32)Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontrollerminReadySeconds (int32)Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)ReplicationControllerStatusReplicationControllerStatus represents the current status of a replication controller.replicas (int32), requiredReplicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontrolleravailableReplicas (int32)The number of available replicas (ready for at least minReadySeconds) for this replication controller.readyReplicas (int32)The number of ready replicas for this replic",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_qa_9336"
  },
  {
    "question": "What are the benefits of ReplicationController?",
    "answer": "ReplicationControllerReplicationController represents the configuration of a replication controller.apiVersion: v1import \"k8s.io/api/core/v1\"ReplicationControllerReplicationController represents the configuration of a replication controller.apiVersion: v1kind: ReplicationControllermetadata (ObjectMeta)If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (ReplicationControllerSpec)Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (ReplicationControllerStatus)Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusReplicationControllerSpecReplicationControllerSpec is the specification of a replication controller.selector (map[string]string)Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectorstemplate (PodTemplateSpec)Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. The only allowed template.spec.restartPolicy value is \"Always\". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-templatereplicas (int32)Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontrollerminReadySeconds (int32)Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)ReplicationControllerStatusReplicationControllerStatus represents the current status of a replication controller.replicas (int32), requiredReplicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontrolleravailableReplicas (int32)The number of available replicas (ready for at least minReadySeconds) for this replication controller.readyReplicas (int32)The number of ready replicas for this replic",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_qa_9337"
  },
  {
    "question": "What is ReplicationController?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_1_9338"
  },
  {
    "question": "What is ReplicationController?",
    "answer": "R e p l i c a t i o n C o n t r o l l e r   r e p r e s e n t s   t h e   c o n f i g u r a t i o n   o f   a   r e p l i c a t i o n   c o n t r o l l e r .   a p i V e r s i o n :   v 1 k i n d :   R e p l i c a t i o n C o n t r o l l e r m e t a d a t a   ( O b j e c t M e t a ) I f   t h e   L a b e l s   o f   a   R e p l i c a t i o n C o n t r o l l e r   a r e   e m p t y ,   t h e y   a r e   d e f a u l t e d   t o   b e   t h e   s a m e   a s   t h e   P o d ( s )   t h a t   t h e   r e p l i c a t i o n   c o n t r o l l e r   m a n a g e s .   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( R e p l i c a t i o n C o n t r o l l e r S p e c ) S p e c   d e f i n e s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   r e p l i c a t i o n   c o n t r o l l e r .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( R e p l i c a t i o n C o n t r o l l e r S t a t u s ) S t a t u s   i s   t h e   m o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   r e p l i c a t i o n   c o n t r o l l e r .   T h i s   d a t a   m a y   b e   o u t   o f   d a t e   b y   s o m e   w i n d o w   o f   t i m e .   P o p u l a t e d   b y   t h e   s y s t e m .   R e a d - o n l y .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   v 1   k i n d :   R e p l i c a t i o n C o n t r o l l e r   m e t a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_2_9339"
  },
  {
    "question": "What is ReplicationControllerSpec?",
    "answer": "R e p l i c a t i o n C o n t r o l l e r S p e c   i s   t h e   s p e c i f i c a t i o n   o f   a   r e p l i c a t i o n   c o n t r o l l e r .   s e l e c t o r   ( m a p [ s t r i n g ] s t r i n g ) S e l e c t o r   i s   a   l a b e l   q u e r y   o v e r   p o d s   t h a t   s h o u l d   m a t c h   t h e   R e p l i c a s   c o u n t .   I f   S e l e c t o r   i s   e m p t y ,   i t   i s   d e f a u l t e d   t o   t h e   l a b e l s   p r e s e n t   o n   t h e   P o d   t e m p l a t e .   L a b e l   k e y s   a n d   v a l u e s   t h a t   m u s t   m a t c h   i n   o r d e r   t o   b e   c o n t r o l l e d   b y   t h i s   r e p l i c a t i o n   c o n t r o l l e r ,   i f   e m p t y   d e f a u l t e d   t o   l a b e l s   o n   P o d   t e m p l a t e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / l a b e l s / # l a b e l - s e l e c t o r s t e m p l a t e   ( P o d T e m p l a t e S p e c ) T e m p l a t e   i s   t h e   o b j e c t   t h a t   d e s c r i b e s   t h e   p o d   t h a t   w i l l   b e   c r e a t e d   i f   i n s u f f i c i e n t   r e p l i c a s   a r e   d e t e c t e d .   T h i s   t a k e s   p r e c e d e n c e   o v e r   a   T e m p l a t e R e f .   T h e   o n l y   a l l o w e d   t e m p l a t e . s p e c . r e s t a r t P o l i c y   v a l u e   i s   \" A l w a y s \" .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a t i o n c o n t r o l l e r # p o d - t e m p l a t e r e p l i c a s   ( i n t 3 2 ) R e p l i c a s   i s   t h e   n u m b e r   o f   d e s i r e d   r e p l i c a s .   T h i s   i s   a   p o i n t e r   t o   d i s t i n g u i s h   b e t w e e n   e x p l i c i t   z e r o   a n d   u n s p e c i f i e d .   D e f a u l t s   t o   1 .   M o r e   i n f o :   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_2_9340"
  },
  {
    "question": "What is ReplicationControllerStatus?",
    "answer": "R e p l i c a t i o n C o n t r o l l e r S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t u s   o f   a   r e p l i c a t i o n   c o n t r o l l e r .   r e p l i c a s   ( i n t 3 2 ) ,   r e q u i r e d R e p l i c a s   i s   t h e   m o s t   r e c e n t l y   o b s e r v e d   n u m b e r   o f   r e p l i c a s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a t i o n c o n t r o l l e r # w h a t - i s - a - r e p l i c a t i o n c o n t r o l l e r a v a i l a b l e R e p l i c a s   ( i n t 3 2 ) T h e   n u m b e r   o f   a v a i l a b l e   r e p l i c a s   ( r e a d y   f o r   a t   l e a s t   m i n R e a d y S e c o n d s )   f o r   t h i s   r e p l i c a t i o n   c o n t r o l l e r . r e a d y R e p l i c a s   ( i n t 3 2 ) T h e   n u m b e r   o f   r e a d y   r e p l i c a s   f o r   t h i s   r e p l i c a t i o n   c o n t r o l l e r . f u l l y L a b e l e d R e p l i c a s   ( i n t 3 2 ) T h e   n u m b e r   o f   p o d s   t h a t   h a v e   l a b e l s   m a t c h i n g   t h e   l a b e l s   o f   t h e   p o d   t e m p l a t e   o f   t h e   r e p l i c a t i o n   c o n t r o l l e r . c o n d i t i o n s   ( [ ] R e p l i c a t i o n C o n t r o l l e r C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e R e p r e s e n t s   t h e   l a t e s t   a v a i l a b l e   o b s e r v a t i o n s   o f   a   r e p l i c a t i o n   c o n t r o l l e r ' s   c u r r e n t   s t a t e . R e p l i c a t i o n C o n t r o l l e r C o n d i t i o n   d e s c r i b e s   t h e   s t a t e   o f   a   r e p l i c a t i o n   c o n t r o l l e r   a t   a   c e r t a i n   p o i n t . c o n d i t i o n s . s t a t u s   ( s t r i n g ) ,   r e q u i r e d S t a t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_2_9341"
  },
  {
    "question": "What is ReplicationControllerList?",
    "answer": "R e p l i c a t i o n C o n t r o l l e r L i s t   i s   a   c o l l e c t i o n   o f   r e p l i c a t i o n   c o n t r o l l e r s .   a p i V e r s i o n :   v 1 k i n d :   R e p l i c a t i o n C o n t r o l l e r L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] R e p l i c a t i o n C o n t r o l l e r ) ,   r e q u i r e d L i s t   o f   r e p l i c a t i o n   c o n t r o l l e r s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a t i o n c o n t r o l l e r   a p i V e r s i o n :   v 1   k i n d :   R e p l i c a t i o n C o n t r o l l e r L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] R e p l i c a t i o n C o n t r o l l e r ) ,   r e q u i r e d   L i s t   o f   r e p l i c a t i o n   c o n t r o l l e r s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a t i o n c o n t r o l l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_2_9342"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9343"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9344"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9345"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9346"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9347"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9348"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9349"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9350"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9351"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / r e p l i c a t i o n c o n t r o l l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9352"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9353"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9354"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9355"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e p l i c a t i o n C o n t r o l l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e p l i c a t i o n C o n t r o l l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9356"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r ) :   O K   2 0 1   ( R e p l i c a t i o n C o n t r o l l e r ) :   C r e a t e d   2 0 2   ( R e p l i c a t i o n C o n t r o l l e r ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9357"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9358"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e p l i c a t i o n C o n t r o l l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e p l i c a t i o n C o n t r o l l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9359"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r ) :   O K   2 0 1   ( R e p l i c a t i o n C o n t r o l l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9360"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9361"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e p l i c a t i o n C o n t r o l l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e p l i c a t i o n C o n t r o l l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9362"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r ) :   O K   2 0 1   ( R e p l i c a t i o n C o n t r o l l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9363"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9364"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9365"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r ) :   O K   2 0 1   ( R e p l i c a t i o n C o n t r o l l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9366"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9367"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9368"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r ) :   O K   2 0 1   ( R e p l i c a t i o n C o n t r o l l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9369"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9370"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9371"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9372"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9373"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9374"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replication-controller-v1/",
    "id": "k8s_00492_section_4_9375"
  },
  {
    "question": "What is ReplicaSet?",
    "answer": "ReplicaSetReplicaSet ensures that a specified number of pod replicas are running at any given time.apiVersion: apps/v1import \"k8s.io/api/apps/v1\"ReplicaSetReplicaSet ensures that a specified number of pod replicas are running at any given time.apiVersion: apps/v1kind: ReplicaSetmetadata (ObjectMeta)If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (ReplicaSetSpec)Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (ReplicaSetStatus)Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusReplicaSetSpecReplicaSetSpec is the specification of a ReplicaSet.selector (LabelSelector), requiredSelector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectorstemplate (PodTemplateSpec)Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/#pod-templatereplicas (int32)Replicas is the number of desired pods. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicasetminReadySeconds (int32)Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)ReplicaSetStatusReplicaSetStatus represents the current status of a ReplicaSet.replicas (int32), requiredReplicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicasetavailableReplicas (int32)The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.readyReplicas (int32)The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.terminatingReplicas (int32)The number of terminating pods for this replica set. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.fullyLabeledReplicas (int32)The number of non-terminating pods that have labels",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_qa_9376"
  },
  {
    "question": "How does ReplicaSet work?",
    "answer": "ReplicaSetReplicaSet ensures that a specified number of pod replicas are running at any given time.apiVersion: apps/v1import \"k8s.io/api/apps/v1\"ReplicaSetReplicaSet ensures that a specified number of pod replicas are running at any given time.apiVersion: apps/v1kind: ReplicaSetmetadata (ObjectMeta)If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (ReplicaSetSpec)Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (ReplicaSetStatus)Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusReplicaSetSpecReplicaSetSpec is the specification of a ReplicaSet.selector (LabelSelector), requiredSelector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectorstemplate (PodTemplateSpec)Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/#pod-templatereplicas (int32)Replicas is the number of desired pods. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicasetminReadySeconds (int32)Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)ReplicaSetStatusReplicaSetStatus represents the current status of a ReplicaSet.replicas (int32), requiredReplicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicasetavailableReplicas (int32)The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.readyReplicas (int32)The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.terminatingReplicas (int32)The number of terminating pods for this replica set. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.fullyLabeledReplicas (int32)The number of non-terminating pods that have labels",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_qa_9377"
  },
  {
    "question": "When would you use ReplicaSet?",
    "answer": "ReplicaSetReplicaSet ensures that a specified number of pod replicas are running at any given time.apiVersion: apps/v1import \"k8s.io/api/apps/v1\"ReplicaSetReplicaSet ensures that a specified number of pod replicas are running at any given time.apiVersion: apps/v1kind: ReplicaSetmetadata (ObjectMeta)If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (ReplicaSetSpec)Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (ReplicaSetStatus)Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusReplicaSetSpecReplicaSetSpec is the specification of a ReplicaSet.selector (LabelSelector), requiredSelector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectorstemplate (PodTemplateSpec)Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/#pod-templatereplicas (int32)Replicas is the number of desired pods. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicasetminReadySeconds (int32)Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)ReplicaSetStatusReplicaSetStatus represents the current status of a ReplicaSet.replicas (int32), requiredReplicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicasetavailableReplicas (int32)The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.readyReplicas (int32)The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.terminatingReplicas (int32)The number of terminating pods for this replica set. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.fullyLabeledReplicas (int32)The number of non-terminating pods that have labels",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_qa_9378"
  },
  {
    "question": "What are the benefits of ReplicaSet?",
    "answer": "ReplicaSetReplicaSet ensures that a specified number of pod replicas are running at any given time.apiVersion: apps/v1import \"k8s.io/api/apps/v1\"ReplicaSetReplicaSet ensures that a specified number of pod replicas are running at any given time.apiVersion: apps/v1kind: ReplicaSetmetadata (ObjectMeta)If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (ReplicaSetSpec)Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (ReplicaSetStatus)Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusReplicaSetSpecReplicaSetSpec is the specification of a ReplicaSet.selector (LabelSelector), requiredSelector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectorstemplate (PodTemplateSpec)Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/#pod-templatereplicas (int32)Replicas is the number of desired pods. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicasetminReadySeconds (int32)Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)ReplicaSetStatusReplicaSetStatus represents the current status of a ReplicaSet.replicas (int32), requiredReplicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicasetavailableReplicas (int32)The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.readyReplicas (int32)The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.terminatingReplicas (int32)The number of terminating pods for this replica set. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.fullyLabeledReplicas (int32)The number of non-terminating pods that have labels",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_qa_9379"
  },
  {
    "question": "What is ReplicaSet?",
    "answer": "a p i V e r s i o n :   a p p s / v 1   i m p o r t   \" k 8 s . i o / a p i / a p p s / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_1_9380"
  },
  {
    "question": "What is ReplicaSet?",
    "answer": "R e p l i c a S e t   e n s u r e s   t h a t   a   s p e c i f i e d   n u m b e r   o f   p o d   r e p l i c a s   a r e   r u n n i n g   a t   a n y   g i v e n   t i m e .   a p i V e r s i o n :   a p p s / v 1 k i n d :   R e p l i c a S e t m e t a d a t a   ( O b j e c t M e t a ) I f   t h e   L a b e l s   o f   a   R e p l i c a S e t   a r e   e m p t y ,   t h e y   a r e   d e f a u l t e d   t o   b e   t h e   s a m e   a s   t h e   P o d ( s )   t h a t   t h e   R e p l i c a S e t   m a n a g e s .   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( R e p l i c a S e t S p e c ) S p e c   d e f i n e s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   R e p l i c a S e t .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( R e p l i c a S e t S t a t u s ) S t a t u s   i s   t h e   m o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   R e p l i c a S e t .   T h i s   d a t a   m a y   b e   o u t   o f   d a t e   b y   s o m e   w i n d o w   o f   t i m e .   P o p u l a t e d   b y   t h e   s y s t e m .   R e a d - o n l y .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   a p p s / v 1   k i n d :   R e p l i c a S e t   m e t a d a t a   ( O b j e c t M e t a )   I f   t h e   L a b e l s   o f   a   R e p l i c a S e t   a r e   e m p t y ,   t h e y   a r e   d e f ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_2_9381"
  },
  {
    "question": "What is ReplicaSetSpec?",
    "answer": "R e p l i c a S e t S p e c   i s   t h e   s p e c i f i c a t i o n   o f   a   R e p l i c a S e t .   s e l e c t o r   ( L a b e l S e l e c t o r ) ,   r e q u i r e d S e l e c t o r   i s   a   l a b e l   q u e r y   o v e r   p o d s   t h a t   s h o u l d   m a t c h   t h e   r e p l i c a   c o u n t .   L a b e l   k e y s   a n d   v a l u e s   t h a t   m u s t   m a t c h   i n   o r d e r   t o   b e   c o n t r o l l e d   b y   t h i s   r e p l i c a   s e t .   I t   m u s t   m a t c h   t h e   p o d   t e m p l a t e ' s   l a b e l s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / l a b e l s / # l a b e l - s e l e c t o r s t e m p l a t e   ( P o d T e m p l a t e S p e c ) T e m p l a t e   i s   t h e   o b j e c t   t h a t   d e s c r i b e s   t h e   p o d   t h a t   w i l l   b e   c r e a t e d   i f   i n s u f f i c i e n t   r e p l i c a s   a r e   d e t e c t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a s e t / # p o d - t e m p l a t e r e p l i c a s   ( i n t 3 2 ) R e p l i c a s   i s   t h e   n u m b e r   o f   d e s i r e d   p o d s .   T h i s   i s   a   p o i n t e r   t o   d i s t i n g u i s h   b e t w e e n   e x p l i c i t   z e r o   a n d   u n s p e c i f i e d .   D e f a u l t s   t o   1 .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a s e t m i n R e a d y S e c o n d s   ( i n t 3 2 ) M i n i m u m   n u m b e r   o f   s e c o n d s   f o r   w h i c h   a   n e w l y   c r e a t e d   p o d   s h o u l d   b e   r e a d y   w i t h o u t   a n y   o f   i t s   c o n t a i n e r   c r a s h i n g ,   f o r   i t   t o   b e   c o n s i d e r e d   a v a i l a b l e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_2_9382"
  },
  {
    "question": "What is ReplicaSetStatus?",
    "answer": "R e p l i c a S e t S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t u s   o f   a   R e p l i c a S e t .   r e p l i c a s   ( i n t 3 2 ) ,   r e q u i r e d R e p l i c a s   i s   t h e   m o s t   r e c e n t l y   o b s e r v e d   n u m b e r   o f   n o n - t e r m i n a t i n g   p o d s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a s e t a v a i l a b l e R e p l i c a s   ( i n t 3 2 ) T h e   n u m b e r   o f   a v a i l a b l e   n o n - t e r m i n a t i n g   p o d s   ( r e a d y   f o r   a t   l e a s t   m i n R e a d y S e c o n d s )   f o r   t h i s   r e p l i c a   s e t . r e a d y R e p l i c a s   ( i n t 3 2 ) T h e   n u m b e r   o f   n o n - t e r m i n a t i n g   p o d s   t a r g e t e d   b y   t h i s   R e p l i c a S e t   w i t h   a   R e a d y   C o n d i t i o n . t e r m i n a t i n g R e p l i c a s   ( i n t 3 2 ) T h e   n u m b e r   o f   t e r m i n a t i n g   p o d s   f o r   t h i s   r e p l i c a   s e t .   T e r m i n a t i n g   p o d s   h a v e   a   n o n - n u l l   . m e t a d a t a . d e l e t i o n T i m e s t a m p   a n d   h a v e   n o t   y e t   r e a c h e d   t h e   F a i l e d   o r   S u c c e e d e d   . s t a t u s . p h a s e . T h i s   i s   a n   a l p h a   f i e l d .   E n a b l e   D e p l o y m e n t R e p l i c a S e t T e r m i n a t i n g R e p l i c a s   t o   b e   a b l e   t o   u s e   t h i s   f i e l d . f u l l y L a b e l e d R e p l i c a s   ( i n t 3 2 ) T h e   n u m b e r   o f   n o n - t e r m i n a t i n g   p o d s   t h a t   h a v e   l a b e l s   m a t c h i n g   t h e   l a b e l s   o f   t h e   p o d   t e m p l a t e   o f   t h e   r e p l i c a s e t . c o n d i t i o n s   ( [ ] R e p l i c a S e t C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_2_9383"
  },
  {
    "question": "What is ReplicaSetList?",
    "answer": "R e p l i c a S e t L i s t   i s   a   c o l l e c t i o n   o f   R e p l i c a S e t s .   a p i V e r s i o n :   a p p s / v 1 k i n d :   R e p l i c a S e t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] R e p l i c a S e t ) ,   r e q u i r e d L i s t   o f   R e p l i c a S e t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a s e t   a p i V e r s i o n :   a p p s / v 1   k i n d :   R e p l i c a S e t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] R e p l i c a S e t ) ,   r e q u i r e d   L i s t   o f   R e p l i c a S e t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a s e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_2_9384"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9385"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9386"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9387"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9388"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9389"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9390"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9391"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9392"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9393"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / r e p l i c a s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9394"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9395"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9396"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9397"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e p l i c a S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e p l i c a S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9398"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t ) :   O K   2 0 1   ( R e p l i c a S e t ) :   C r e a t e d   2 0 2   ( R e p l i c a S e t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9399"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9400"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e p l i c a S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e p l i c a S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9401"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t ) :   O K   2 0 1   ( R e p l i c a S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9402"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9403"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e p l i c a S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e p l i c a S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9404"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t ) :   O K   2 0 1   ( R e p l i c a S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9405"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9406"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9407"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t ) :   O K   2 0 1   ( R e p l i c a S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9408"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9409"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9410"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t ) :   O K   2 0 1   ( R e p l i c a S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9411"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9412"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9413"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9414"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9415"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9416"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/replica-set-v1/",
    "id": "k8s_00493_section_4_9417"
  },
  {
    "question": "What is Certificates and Certificate Signing Requests?",
    "answer": "Certificates and Certificate Signing RequestsKubernetes certificate and trust bundle APIs enable automation of X.509 credential provisioning by providing a programmatic interface for clients of the Kubernetes API to request and obtain X.509 certificates from a Certificate Authority (CA).There is also experimental (alpha) support for distributing trust bundles.Certificate signing requestsFEATURE STATE: Kubernetes v1.19 [stable]A CertificateSigningRequest (CSR) resource is used to request that a certificate be signed by a denoted signer, after which the request may be approved or denied before finally being signed.Request signing processThe CertificateSigningRequest resource type allows a client to ask for an X.509 certificate be issued, based on a signing request. The CertificateSigningRequest object includes a PEM-encoded PKCS#10 signing request in the spec.request field. The CertificateSigningRequest denotes the signer (the recipient that the request is being made to) using the spec.signerName field. Note that spec.signerName is a required key after API version certificates.k8s.io/v1. In Kubernetes v1.22 and later, clients may optionally set the spec.expirationSeconds field to request a particular lifetime for the issued certificate. The minimum valid value for this field is 600, i.e. ten minutes.Once created, a CertificateSigningRequest must be approved before it can be signed. Depending on the signer selected, a CertificateSigningRequest may be automatically approved by a controller. Otherwise, a CertificateSigningRequest must be manually approved either via the REST API (or client-go) or by running kubectl certificate approve. Likewise, a CertificateSigningRequest may also be denied, which tells the configured signer that it must not sign the request.For certificates that have been approved, the next step is signing. The relevant signing controller first validates that the signing conditions are met and then creates a certificate. The signing controller then updates the CertificateSigningRequest, storing the new certificate into the status.certificate field of the existing CertificateSigningRequest object. The status.certificate field is either empty or contains a X.509 certificate, encoded in PEM format. The CertificateSigningRequest status.certificate field is empty until the signer does this.Once the status.certificate field has been populated, the request has been completed and clients can now fetch the signed certificate PEM data from the CertificateSigningRequest resource. The signers can instead deny certificate signing if the approval conditions are not met.In order to reduce the number of old CertificateSigningRequest resources left in a cluster, a garbage collection controller runs periodically. The garbage collection removes CertificateSigningRequests that have not changed state for some duration:Approved requests: automatically deleted after 1 hourDenied requests: automatically deleted after 1 hourFailed requests: automatically de",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/",
    "id": "k8s_00494_qa_9418"
  },
  {
    "question": "How does Certificates and Certificate Signing Requests work?",
    "answer": "Certificates and Certificate Signing RequestsKubernetes certificate and trust bundle APIs enable automation of X.509 credential provisioning by providing a programmatic interface for clients of the Kubernetes API to request and obtain X.509 certificates from a Certificate Authority (CA).There is also experimental (alpha) support for distributing trust bundles.Certificate signing requestsFEATURE STATE: Kubernetes v1.19 [stable]A CertificateSigningRequest (CSR) resource is used to request that a certificate be signed by a denoted signer, after which the request may be approved or denied before finally being signed.Request signing processThe CertificateSigningRequest resource type allows a client to ask for an X.509 certificate be issued, based on a signing request. The CertificateSigningRequest object includes a PEM-encoded PKCS#10 signing request in the spec.request field. The CertificateSigningRequest denotes the signer (the recipient that the request is being made to) using the spec.signerName field. Note that spec.signerName is a required key after API version certificates.k8s.io/v1. In Kubernetes v1.22 and later, clients may optionally set the spec.expirationSeconds field to request a particular lifetime for the issued certificate. The minimum valid value for this field is 600, i.e. ten minutes.Once created, a CertificateSigningRequest must be approved before it can be signed. Depending on the signer selected, a CertificateSigningRequest may be automatically approved by a controller. Otherwise, a CertificateSigningRequest must be manually approved either via the REST API (or client-go) or by running kubectl certificate approve. Likewise, a CertificateSigningRequest may also be denied, which tells the configured signer that it must not sign the request.For certificates that have been approved, the next step is signing. The relevant signing controller first validates that the signing conditions are met and then creates a certificate. The signing controller then updates the CertificateSigningRequest, storing the new certificate into the status.certificate field of the existing CertificateSigningRequest object. The status.certificate field is either empty or contains a X.509 certificate, encoded in PEM format. The CertificateSigningRequest status.certificate field is empty until the signer does this.Once the status.certificate field has been populated, the request has been completed and clients can now fetch the signed certificate PEM data from the CertificateSigningRequest resource. The signers can instead deny certificate signing if the approval conditions are not met.In order to reduce the number of old CertificateSigningRequest resources left in a cluster, a garbage collection controller runs periodically. The garbage collection removes CertificateSigningRequests that have not changed state for some duration:Approved requests: automatically deleted after 1 hourDenied requests: automatically deleted after 1 hourFailed requests: automatically de",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/",
    "id": "k8s_00494_qa_9419"
  },
  {
    "question": "When would you use Certificates and Certificate Signing Requests?",
    "answer": "Certificates and Certificate Signing RequestsKubernetes certificate and trust bundle APIs enable automation of X.509 credential provisioning by providing a programmatic interface for clients of the Kubernetes API to request and obtain X.509 certificates from a Certificate Authority (CA).There is also experimental (alpha) support for distributing trust bundles.Certificate signing requestsFEATURE STATE: Kubernetes v1.19 [stable]A CertificateSigningRequest (CSR) resource is used to request that a certificate be signed by a denoted signer, after which the request may be approved or denied before finally being signed.Request signing processThe CertificateSigningRequest resource type allows a client to ask for an X.509 certificate be issued, based on a signing request. The CertificateSigningRequest object includes a PEM-encoded PKCS#10 signing request in the spec.request field. The CertificateSigningRequest denotes the signer (the recipient that the request is being made to) using the spec.signerName field. Note that spec.signerName is a required key after API version certificates.k8s.io/v1. In Kubernetes v1.22 and later, clients may optionally set the spec.expirationSeconds field to request a particular lifetime for the issued certificate. The minimum valid value for this field is 600, i.e. ten minutes.Once created, a CertificateSigningRequest must be approved before it can be signed. Depending on the signer selected, a CertificateSigningRequest may be automatically approved by a controller. Otherwise, a CertificateSigningRequest must be manually approved either via the REST API (or client-go) or by running kubectl certificate approve. Likewise, a CertificateSigningRequest may also be denied, which tells the configured signer that it must not sign the request.For certificates that have been approved, the next step is signing. The relevant signing controller first validates that the signing conditions are met and then creates a certificate. The signing controller then updates the CertificateSigningRequest, storing the new certificate into the status.certificate field of the existing CertificateSigningRequest object. The status.certificate field is either empty or contains a X.509 certificate, encoded in PEM format. The CertificateSigningRequest status.certificate field is empty until the signer does this.Once the status.certificate field has been populated, the request has been completed and clients can now fetch the signed certificate PEM data from the CertificateSigningRequest resource. The signers can instead deny certificate signing if the approval conditions are not met.In order to reduce the number of old CertificateSigningRequest resources left in a cluster, a garbage collection controller runs periodically. The garbage collection removes CertificateSigningRequests that have not changed state for some duration:Approved requests: automatically deleted after 1 hourDenied requests: automatically deleted after 1 hourFailed requests: automatically de",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/",
    "id": "k8s_00494_qa_9420"
  },
  {
    "question": "What are the benefits of Certificates and Certificate Signing Requests?",
    "answer": "Certificates and Certificate Signing RequestsKubernetes certificate and trust bundle APIs enable automation of X.509 credential provisioning by providing a programmatic interface for clients of the Kubernetes API to request and obtain X.509 certificates from a Certificate Authority (CA).There is also experimental (alpha) support for distributing trust bundles.Certificate signing requestsFEATURE STATE: Kubernetes v1.19 [stable]A CertificateSigningRequest (CSR) resource is used to request that a certificate be signed by a denoted signer, after which the request may be approved or denied before finally being signed.Request signing processThe CertificateSigningRequest resource type allows a client to ask for an X.509 certificate be issued, based on a signing request. The CertificateSigningRequest object includes a PEM-encoded PKCS#10 signing request in the spec.request field. The CertificateSigningRequest denotes the signer (the recipient that the request is being made to) using the spec.signerName field. Note that spec.signerName is a required key after API version certificates.k8s.io/v1. In Kubernetes v1.22 and later, clients may optionally set the spec.expirationSeconds field to request a particular lifetime for the issued certificate. The minimum valid value for this field is 600, i.e. ten minutes.Once created, a CertificateSigningRequest must be approved before it can be signed. Depending on the signer selected, a CertificateSigningRequest may be automatically approved by a controller. Otherwise, a CertificateSigningRequest must be manually approved either via the REST API (or client-go) or by running kubectl certificate approve. Likewise, a CertificateSigningRequest may also be denied, which tells the configured signer that it must not sign the request.For certificates that have been approved, the next step is signing. The relevant signing controller first validates that the signing conditions are met and then creates a certificate. The signing controller then updates the CertificateSigningRequest, storing the new certificate into the status.certificate field of the existing CertificateSigningRequest object. The status.certificate field is either empty or contains a X.509 certificate, encoded in PEM format. The CertificateSigningRequest status.certificate field is empty until the signer does this.Once the status.certificate field has been populated, the request has been completed and clients can now fetch the signed certificate PEM data from the CertificateSigningRequest resource. The signers can instead deny certificate signing if the approval conditions are not met.In order to reduce the number of old CertificateSigningRequest resources left in a cluster, a garbage collection controller runs periodically. The garbage collection removes CertificateSigningRequests that have not changed state for some duration:Approved requests: automatically deleted after 1 hourDenied requests: automatically deleted after 1 hourFailed requests: automatically de",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/",
    "id": "k8s_00494_qa_9421"
  },
  {
    "question": "What is Certificates and Certificate Signing Requests?",
    "answer": "K u b e r n e t e s   c e r t i f i c a t e   a n d   t r u s t   b u n d l e   A P I s   e n a b l e   a u t o m a t i o n   o f   X . 5 0 9   c r e d e n t i a l   p r o v i s i o n i n g   b y   p r o v i d i n g   a   p r o g r a m m a t i c   i n t e r f a c e   f o r   c l i e n t s   o f   t h e   K u b e r n e t e s   A P I   t o   r e q u e s t   a n d   o b t a i n   X . 5 0 9   c e r t i f i c a t e s   f r o m   a   C e r t i f i c a t e   A u t h o r i t y   ( C A ) .   T h e r e   i s   a l s o   e x p e r i m e n t a l   ( a l p h a )   s u p p o r t   f o r   d i s t r i b u t i n g   t r u s t   b u n d l e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/",
    "id": "k8s_00494_section_1_9422"
  },
  {
    "question": "What is Certificate signing requests?",
    "answer": "A   C e r t i f i c a t e S i g n i n g R e q u e s t   ( C S R )   r e s o u r c e   i s   u s e d   t o   r e q u e s t   t h a t   a   c e r t i f i c a t e   b e   s i g n e d   b y   a   d e n o t e d   s i g n e r ,   a f t e r   w h i c h   t h e   r e q u e s t   m a y   b e   a p p r o v e d   o r   d e n i e d   b e f o r e   f i n a l l y   b e i n g   s i g n e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/",
    "id": "k8s_00494_section_2_9423"
  },
  {
    "question": "What is Request signing process?",
    "answer": "T h e   C e r t i f i c a t e S i g n i n g R e q u e s t   r e s o u r c e   t y p e   a l l o w s   a   c l i e n t   t o   a s k   f o r   a n   X . 5 0 9   c e r t i f i c a t e   b e   i s s u e d ,   b a s e d   o n   a   s i g n i n g   r e q u e s t .   T h e   C e r t i f i c a t e S i g n i n g R e q u e s t   o b j e c t   i n c l u d e s   a   P E M - e n c o d e d   P K C S # 1 0   s i g n i n g   r e q u e s t   i n   t h e   s p e c . r e q u e s t   f i e l d .   T h e   C e r t i f i c a t e S i g n i n g R e q u e s t   d e n o t e s   t h e   s i g n e r   ( t h e   r e c i p i e n t   t h a t   t h e   r e q u e s t   i s   b e i n g   m a d e   t o )   u s i n g   t h e   s p e c . s i g n e r N a m e   f i e l d .   N o t e   t h a t   s p e c . s i g n e r N a m e   i s   a   r e q u i r e d   k e y   a f t e r   A P I   v e r s i o n   c e r t i f i c a t e s . k 8 s . i o / v 1 .   I n   K u b e r n e t e s   v 1 . 2 2   a n d   l a t e r ,   c l i e n t s   m a y   o p t i o n a l l y   s e t   t h e   s p e c . e x p i r a t i o n S e c o n d s   f i e l d   t o   r e q u e s t   a   p a r t i c u l a r   l i f e t i m e   f o r   t h e   i s s u e d   c e r t i f i c a t e .   T h e   m i n i m u m   v a l i d   v a l u e   f o r   t h i s   f i e l d   i s   6 0 0 ,   i . e .   t e n   m i n u t e s .   O n c e   c r e a t e d ,   a   C e r t i f i c a t e S i g n i n g R e q u e s t   m u s t   b e   a p p r o v e d   b e f o r e   i t   c a n   b e   s i g n e d .   D e p e n d i n g   o n   t h e   s i g n e r   s e l e c t e d ,   a   C e r t i f i c a t e S i g n i n g R e q u e s t   m a y   b e   a u t o m a t i c a l l y   a p p r o v e d   b y   a   c o n t r o l l e r .   O t h e r w i s e ,   a   C e r t i f i c a t e S i g n i n g R e q u e s t   m u s t   b e   m a n u a l l y   a p p r o v e d   e i t h e r   v i a   t h e   R E S T   A P I   ( o r   c l i e n t - g o )   o r   b y   r u n n i n g   k u b e c t l   c e r t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/",
    "id": "k8s_00494_section_3_9424"
  },
  {
    "question": "What is Certificate signing authorization?",
    "answer": "T o   a l l o w   c r e a t i n g   a   C e r t i f i c a t e S i g n i n g R e q u e s t   a n d   r e t r i e v i n g   a n y   C e r t i f i c a t e S i g n i n g R e q u e s t :   V e r b s :   c r e a t e ,   g e t ,   l i s t ,   w a t c h ,   g r o u p :   c e r t i f i c a t e s . k 8 s . i o ,   r e s o u r c e :   c e r t i f i c a t e s i g n i n g r e q u e s t s   F o r   e x a m p l e :   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   n a m e :   c s r - c r e a t o r   r u l e s :   -   a p i G r o u p s :   -   c e r t i f i c a t e s . k 8 s . i o   r e s o u r c e s :   -   c e r t i f i c a t e s i g n i n g r e q u e s t s   v e r b s :   -   c r e a t e   -   g e t   -   l i s t   -   w a t c h   T o   a l l o w   a p p r o v i n g   a   C e r t i f i c a t e S i g n i n g R e q u e s t :   V e r b s :   g e t ,   l i s t ,   w a t c h ,   g r o u p :   c e r t i f i c a t e s . k 8 s . i o ,   r e s o u r c e :   c e r t i f i c a t e s i g n i n g r e q u e s t s V e r b s :   u p d a t e ,   g r o u p :   c e r t i f i c a t e s . k 8 s . i o ,   r e s o u r c e :   c e r t i f i c a t e s i g n i n g r e q u e s t s / a p p r o v a l V e r b s :   a p p r o v e ,   g r o u p :   c e r t i f i c a t e s . k 8 s . i o ,   r e s o u r c e :   s i g n e r s ,   r e s o u r c e N a m e :   < s i g n e r N a m e D o m a i n > / < s i g n e r N a m e P a t h >   o r   < s i g n e r N a m e D o m a i n > / *   F o r   e x a m p l e :   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   n a m e :   c s r - a p p r o v e r   r u l e s :   -   a p i G r o u p s :   -   c e r t i f i c a t e s . k 8 s . i o   r e s o u r c e s :   -   c e r t i f i c a t e s i g n i n g r e q u e s t s   v e r b s :   -   g e t   -   l i s t   -   w a t c h   -   a p i G r o u p s :   -   c e r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/",
    "id": "k8s_00494_section_3_9425"
  },
  {
    "question": "What is Signers?",
    "answer": "S i g n e r s   a b s t r a c t l y   r e p r e s e n t   t h e   e n t i t y   o r   e n t i t i e s   t h a t   m i g h t   s i g n ,   o r   h a v e   s i g n e d ,   a   s e c u r i t y   c e r t i f i c a t e .   A n y   s i g n e r   t h a t   i s   m a d e   a v a i l a b l e   f o r   o u t s i d e   a   p a r t i c u l a r   c l u s t e r   s h o u l d   p r o v i d e   i n f o r m a t i o n   a b o u t   h o w   t h e   s i g n e r   w o r k s ,   s o   t h a t   c o n s u m e r s   c a n   u n d e r s t a n d   w h a t   t h a t   m e a n s   f o r   C e r t i f i c a t e S i g n i n g R e q u e s t s   a n d   ( i f   e n a b l e d )   C l u s t e r T r u s t B u n d l e s .   T h i s   i n c l u d e s :   T r u s t   d i s t r i b u t i o n :   h o w   t r u s t   a n c h o r s   ( C A   c e r t i f i c a t e s   o r   c e r t i f i c a t e   b u n d l e s )   a r e   d i s t r i b u t e d . P e r m i t t e d   s u b j e c t s :   a n y   r e s t r i c t i o n s   o n   a n d   b e h a v i o r   w h e n   a   d i s a l l o w e d   s u b j e c t   i s   r e q u e s t e d . P e r m i t t e d   x 5 0 9   e x t e n s i o n s :   i n c l u d i n g   I P   s u b j e c t A l t N a m e s ,   D N S   s u b j e c t A l t N a m e s ,   E m a i l   s u b j e c t A l t N a m e s ,   U R I   s u b j e c t A l t N a m e s   e t c ,   a n d   b e h a v i o r   w h e n   a   d i s a l l o w e d   e x t e n s i o n   i s   r e q u e s t e d . P e r m i t t e d   k e y   u s a g e s   /   e x t e n d e d   k e y   u s a g e s :   a n y   r e s t r i c t i o n s   o n   a n d   b e h a v i o r   w h e n   u s a g e s   d i f f e r e n t   t h a n   t h e   s i g n e r - d e t e r m i n e d   u s a g e s   a r e   s p e c i f i e d   i n   t h e   C S R . E x p i r a t i o n / c e r t i f i c a t e   l i f e t i m e :   w h e t h e r   i t   i s   f i x e d   b y   t h e   s i g n e r ,   c o n f i g u r a b l e   b y   t h e   a d m i n ,   d e t e r m i n e d   b y   t h ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/",
    "id": "k8s_00494_section_2_9426"
  },
  {
    "question": "What is Kubernetes signers?",
    "answer": "K u b e r n e t e s   p r o v i d e s   b u i l t - i n   s i g n e r s   t h a t   e a c h   h a v e   a   w e l l - k n o w n   s i g n e r N a m e :   k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t :   s i g n s   c e r t i f i c a t e s   t h a t   w i l l   b e   h o n o r e d   a s   c l i e n t   c e r t i f i c a t e s   b y   t h e   A P I   s e r v e r .   N e v e r   a u t o - a p p r o v e d   b y   k u b e - c o n t r o l l e r - m a n a g e r . T r u s t   d i s t r i b u t i o n :   s i g n e d   c e r t i f i c a t e s   m u s t   b e   h o n o r e d   a s   c l i e n t   c e r t i f i c a t e s   b y   t h e   A P I   s e r v e r .   T h e   C A   b u n d l e   i s   n o t   d i s t r i b u t e d   b y   a n y   o t h e r   m e a n s . P e r m i t t e d   s u b j e c t s   -   n o   s u b j e c t   r e s t r i c t i o n s ,   b u t   a p p r o v e r s   a n d   s i g n e r s   m a y   c h o o s e   n o t   t o   a p p r o v e   o r   s i g n .   C e r t a i n   s u b j e c t s   l i k e   c l u s t e r - a d m i n   l e v e l   u s e r s   o r   g r o u p s   v a r y   b e t w e e n   d i s t r i b u t i o n s   a n d   i n s t a l l a t i o n s ,   b u t   d e s e r v e   a d d i t i o n a l   s c r u t i n y   b e f o r e   a p p r o v a l   a n d   s i g n i n g .   T h e   C e r t i f i c a t e S u b j e c t R e s t r i c t i o n   a d m i s s i o n   p l u g i n   i s   e n a b l e d   b y   d e f a u l t   t o   r e s t r i c t   s y s t e m : m a s t e r s ,   b u t   i t   i s   o f t e n   n o t   t h e   o n l y   c l u s t e r - a d m i n   s u b j e c t   i n   a   c l u s t e r . P e r m i t t e d   x 5 0 9   e x t e n s i o n s   -   h o n o r s   s u b j e c t A l t N a m e   a n d   k e y   u s a g e   e x t e n s i o n s   a n d   d i s c a r d s   o t h e r   e x t e n s i o n s . P e r m i t t e d   k e y   u s a g e s   -   m u s t   i n c l u d e   [ \" c l i e n t   a u t h \" ] .   M u s t   n o t   i n c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/",
    "id": "k8s_00494_section_3_9427"
  },
  {
    "question": "What is Note:?",
    "answer": "D i s t r i b u t i o n   o f   t r u s t   h a p p e n s   o u t   o f   b a n d   f o r   t h e s e   s i g n e r s .   A n y   t r u s t   o u t s i d e   o f   t h o s e   d e s c r i b e d   a b o v e   a r e   s t r i c t l y   c o i n c i d e n t a l .   F o r   i n s t a n c e ,   s o m e   d i s t r i b u t i o n s   m a y   h o n o r   k u b e r n e t e s . i o / l e g a c y - u n k n o w n   a s   c l i e n t   c e r t i f i c a t e s   f o r   t h e   k u b e - a p i s e r v e r ,   b u t   t h i s   i s   n o t   a   s t a n d a r d .   N o n e   o f   t h e s e   u s a g e s   a r e   r e l a t e d   t o   S e r v i c e A c c o u n t   t o k e n   s e c r e t s   . d a t a [ c a . c r t ]   i n   a n y   w a y .   T h a t   C A   b u n d l e   i s   o n l y   g u a r a n t e e d   t o   v e r i f y   a   c o n n e c t i o n   t o   t h e   A P I   s e r v e r   u s i n g   t h e   d e f a u l t   s e r v i c e   ( k u b e r n e t e s . d e f a u l t . s v c ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/",
    "id": "k8s_00494_section_4_9428"
  },
  {
    "question": "What is Custom signers?",
    "answer": "Y o u   c a n   a l s o   i n t r o d u c e   y o u r   o w n   c u s t o m   s i g n e r ,   w h i c h   s h o u l d   h a v e   a   s i m i l a r   p r e f i x e d   n a m e   b u t   u s i n g   y o u r   o w n   d o m a i n   n a m e .   F o r   e x a m p l e ,   i f   y o u   r e p r e s e n t   a n   o p e n   s o u r c e   p r o j e c t   t h a t   u s e s   t h e   d o m a i n   o p e n - f i c t i o n a l . e x a m p l e   t h e n   y o u   m i g h t   u s e   i s s u e r . o p e n - f i c t i o n a l . e x a m p l e / s e r v i c e - m e s h   a s   a   s i g n e r   n a m e .   A   c u s t o m   s i g n e r   u s e s   t h e   K u b e r n e t e s   A P I   t o   i s s u e   a   c e r t i f i c a t e .   S e e   A P I - b a s e d   s i g n e r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/",
    "id": "k8s_00494_section_3_9429"
  },
  {
    "question": "What is Control plane signer?",
    "answer": "T h e   K u b e r n e t e s   c o n t r o l   p l a n e   i m p l e m e n t s   e a c h   o f   t h e   K u b e r n e t e s   s i g n e r s ,   a s   p a r t   o f   t h e   k u b e - c o n t r o l l e r - m a n a g e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/",
    "id": "k8s_00494_section_3_9430"
  },
  {
    "question": "What is API-based signers?",
    "answer": "U s e r s   o f   t h e   R E S T   A P I   c a n   s i g n   C S R s   b y   s u b m i t t i n g   a n   U P D A T E   r e q u e s t   t o   t h e   s t a t u s   s u b r e s o u r c e   o f   t h e   C S R   t o   b e   s i g n e d .   A s   p a r t   o f   t h i s   r e q u e s t ,   t h e   s t a t u s . c e r t i f i c a t e   f i e l d   s h o u l d   b e   s e t   t o   c o n t a i n   t h e   s i g n e d   c e r t i f i c a t e .   T h i s   f i e l d   c o n t a i n s   o n e   o r   m o r e   P E M - e n c o d e d   c e r t i f i c a t e s .   A l l   P E M   b l o c k s   m u s t   h a v e   t h e   \" C E R T I F I C A T E \"   l a b e l ,   c o n t a i n   n o   h e a d e r s ,   a n d   t h e   e n c o d e d   d a t a   m u s t   b e   a   B E R - e n c o d e d   A S N . 1   C e r t i f i c a t e   s t r u c t u r e   a s   d e s c r i b e d   i n   s e c t i o n   4   o f   R F C 5 2 8 0 .   E x a m p l e   c e r t i f i c a t e   c o n t e n t :   - - - - - B E G I N   C E R T I F I C A T E - - - - -   M I I D g j C C A m q g A w I B A g I U C 1 N 1 E J 4 Q n s d 3 2 2 B h D P R w m g 3 b / o A w D Q Y J K o Z I h v c N A Q E L   B Q A w X D E L M A k G A 1 U E B h M C e H g x C j A I B g N V B A g M A X g x C j A I B g N V B A c M A X g x C j A I B g N V   B A o M A X g x C j A I B g N V B A s M A X g x C z A J B g N V B A M M A m N h M R A w D g Y J K o Z I h v c N A Q k B F g F 4   M B 4 X D T I w M D c w N j I y M D c w M F o X D T I 1 M D c w N T I y M D c w M F o w N z E V M B M G A 1 U E C h M M c 3 l z   d G V t O m 5 v Z G V z M R 4 w H A Y D V Q Q D E x V z e X N 0 Z W 0 6 b m 9 k Z T o x M j c u M C 4 w L j E w g g E i M A 0 G   C S q G S I b 3 D Q E B A Q U A A 4 I B D w A w g g E K A o I B A Q D n e 5 X 2 e Q 1 J c L Z k K v h z C R 4 H x l 9 + Z m U 3   + e 1 z f O y w L d o Q x r P i + o 4 h V s U H 3 q 0 y 5 2 B M a 7 u 1 y e h H D R S a q 9 u 6 2 c m i 5 e k g X h X H z G m m   k m W 5 n 0 i t R E C v 3 S F s S m 2 D S g h R K f 0 m m ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/",
    "id": "k8s_00494_section_3_9431"
  },
  {
    "question": "What is Approval or rejection?",
    "answer": "B e f o r e   a   s i g n e r   i s s u e s   a   c e r t i f i c a t e   b a s e d   o n   a   C e r t i f i c a t e S i g n i n g R e q u e s t ,   t h e   s i g n e r   t y p i c a l l y   c h e c k s   t h a t   t h e   i s s u a n c e   f o r   t h a t   C S R   h a s   b e e n   a p p r o v e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/",
    "id": "k8s_00494_section_2_9432"
  },
  {
    "question": "What is Control plane automated approval?",
    "answer": "T h e   k u b e - c o n t r o l l e r - m a n a g e r   s h i p s   w i t h   a   b u i l t - i n   a p p r o v e r   f o r   c e r t i f i c a t e s   w i t h   a   s i g n e r N a m e   o f   k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t - k u b e l e t   t h a t   d e l e g a t e s   v a r i o u s   p e r m i s s i o n s   o n   C S R s   f o r   n o d e   c r e d e n t i a l s   t o   a u t h o r i z a t i o n .   T h e   k u b e - c o n t r o l l e r - m a n a g e r   P O S T s   S u b j e c t A c c e s s R e v i e w   r e s o u r c e s   t o   t h e   A P I   s e r v e r   i n   o r d e r   t o   c h e c k   a u t h o r i z a t i o n   f o r   c e r t i f i c a t e   a p p r o v a l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/",
    "id": "k8s_00494_section_3_9433"
  },
  {
    "question": "What is Approval or rejection using kubectl?",
    "answer": "A   K u b e r n e t e s   a d m i n i s t r a t o r   ( w i t h   a p p r o p r i a t e   p e r m i s s i o n s )   c a n   m a n u a l l y   a p p r o v e   ( o r   d e n y )   C e r t i f i c a t e S i g n i n g R e q u e s t s   b y   u s i n g   t h e   k u b e c t l   c e r t i f i c a t e   a p p r o v e   a n d   k u b e c t l   c e r t i f i c a t e   d e n y   c o m m a n d s .   T o   a p p r o v e   a   C S R   w i t h   k u b e c t l :   k u b e c t l   c e r t i f i c a t e   a p p r o v e   < c e r t i f i c a t e - s i g n i n g - r e q u e s t - n a m e >   L i k e w i s e ,   t o   d e n y   a   C S R :   k u b e c t l   c e r t i f i c a t e   d e n y   < c e r t i f i c a t e - s i g n i n g - r e q u e s t - n a m e >",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/",
    "id": "k8s_00494_section_3_9434"
  },
  {
    "question": "What is Approval or rejection using the Kubernetes API?",
    "answer": "U s e r s   o f   t h e   R E S T   A P I   c a n   a p p r o v e   C S R s   b y   s u b m i t t i n g   a n   U P D A T E   r e q u e s t   t o   t h e   a p p r o v a l   s u b r e s o u r c e   o f   t h e   C S R   t o   b e   a p p r o v e d .   F o r   e x a m p l e ,   y o u   c o u l d   w r i t e   a n   o p e r a t o r   t h a t   w a t c h e s   f o r   a   p a r t i c u l a r   k i n d   o f   C S R   a n d   t h e n   s e n d s   a n   U P D A T E   t o   a p p r o v e   t h e m .   W h e n   y o u   m a k e   a n   a p p r o v a l   o r   r e j e c t i o n   r e q u e s t ,   s e t   e i t h e r   t h e   A p p r o v e d   o r   D e n i e d   s t a t u s   c o n d i t i o n   b a s e d   o n   t h e   s t a t e   y o u   d e t e r m i n e :   F o r   A p p r o v e d   C S R s :   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1   k i n d :   C e r t i f i c a t e S i g n i n g R e q u e s t   . . .   s t a t u s :   c o n d i t i o n s :   -   l a s t U p d a t e T i m e :   \" 2 0 2 0 - 0 2 - 0 8 T 1 1 : 3 7 : 3 5 Z \"   l a s t T r a n s i t i o n T i m e :   \" 2 0 2 0 - 0 2 - 0 8 T 1 1 : 3 7 : 3 5 Z \"   m e s s a g e :   A p p r o v e d   b y   m y   c u s t o m   a p p r o v e r   c o n t r o l l e r   r e a s o n :   A p p r o v e d B y M y P o l i c y   #   Y o u   c a n   s e t   t h i s   t o   a n y   s t r i n g   t y p e :   A p p r o v e d   F o r   D e n i e d   C S R s :   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1   k i n d :   C e r t i f i c a t e S i g n i n g R e q u e s t   . . .   s t a t u s :   c o n d i t i o n s :   -   l a s t U p d a t e T i m e :   \" 2 0 2 0 - 0 2 - 0 8 T 1 1 : 3 7 : 3 5 Z \"   l a s t T r a n s i t i o n T i m e :   \" 2 0 2 0 - 0 2 - 0 8 T 1 1 : 3 7 : 3 5 Z \"   m e s s a g e :   D e n i e d   b y   m y   c u s t o m   a p p r o v e r   c o n t r o l l e r   r e a s o n :   D e n i e d B y M y P o l i c y   #   Y o u   c a n   s e t   t h i s   t o   a n y   s t r i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/",
    "id": "k8s_00494_section_3_9435"
  },
  {
    "question": "What is Note:?",
    "answer": "P o d C e r t i f i c a t e R e q u e s t s   a r e   A P I   o b j e c t s   t a i l o r e d   t o   p r o v i s i o n i n g   c e r t i f i c a t e s   t o   w o r k l o a d s   r u n n i n g   a s   P o d s   w i t h i n   a   c l u s t e r .   T h e   u s e r   t y p i c a l l y   d o e s   n o t   i n t e r a c t   w i t h   P o d C e r t i f i c a t e R e q u e s t s   d i r e c t l y ,   b u t   u s e s   p o d C e r t i f i c a t e   p r o j e c t e d   v o l u m e   s o u r c e s ,   w h i c h   a r e   a   k u b e l e t   f e a t u r e   t h a t   h a n d l e s   s e c u r e   k e y   p r o v i s i o n i n g   a n d   a u t o m a t i c   c e r t i f i c a t e   r e f r e s h .   T h e   a p p l i c a t i o n   i n s i d e   t h e   p o d   o n l y   n e e d s   t o   k n o w   h o w   t o   r e a d   t h e   c e r t i f i c a t e s   f r o m   t h e   f i l e s y s t e m .   P o d C e r t i f i c a t e R e q u e s t s   a r e   s i m i l a r   t o   C e r t i f i c a t e S i g n i n g R e q u e s t s ,   b u t   h a v e   a   s i m p l e r   f o r m a t   e n a b l e d   b y   t h e i r   n a r r o w e r   u s e   c a s e .   A   P o d C e r t i f i c a t e R e q u e s t   h a s   t h e   f o l l o w i n g   s p e c   f i e l d s :   s i g n e r N a m e :   T h e   s i g n e r   t o   w h i c h   t h i s   r e q u e s t   i s   a d d r e s s e d . p o d N a m e   a n d   p o d U I D :   T h e   P o d   t h a t   K u b e l e t   i s   r e q u e s t i n g   a   c e r t i f i c a t e   f o r . s e r v i c e A c c o u n t N a m e   a n d   s e r v i c e A c c o u n t U I D :   T h e   S e r v i c e A c c o u n t   c o r r e s p o n d i n g   t o   t h e   P o d . n o d e N a m e   a n d   n o d e U I D :   T h e   N o d e   c o r r e s p o n d i n g   t o   t h e   P o d . m a x E x p i r a t i o n S e c o n d s :   T h e   m a x i m u m   l i f e t i m e   t h a t   t h e   w o r k l o a d   a u t h o r   w i l l   a c c e p t   f o r   t h i s   c e r t i f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/",
    "id": "k8s_00494_section_4_9436"
  },
  {
    "question": "What is Note:?",
    "answer": "A   C l u s t e r T r u s t B u n d l e s   i s   a   c l u s t e r - s c o p e d   o b j e c t   f o r   d i s t r i b u t i n g   X . 5 0 9   t r u s t   a n c h o r s   ( r o o t   c e r t i f i c a t e s )   t o   w o r k l o a d s   w i t h i n   t h e   c l u s t e r .   T h e y ' r e   d e s i g n e d   t o   w o r k   w e l l   w i t h   t h e   s i g n e r   c o n c e p t   f r o m   C e r t i f i c a t e S i g n i n g R e q u e s t s .   C l u s t e r T r u s t B u n d l e s   c a n   b e   u s e d   i n   t w o   m o d e s :   s i g n e r - l i n k e d   a n d   s i g n e r - u n l i n k e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/",
    "id": "k8s_00494_section_4_9437"
  },
  {
    "question": "What is Common properties and validation?",
    "answer": "A l l   C l u s t e r T r u s t B u n d l e   o b j e c t s   h a v e   s t r o n g   v a l i d a t i o n   o n   t h e   c o n t e n t s   o f   t h e i r   t r u s t B u n d l e   f i e l d .   T h a t   f i e l d   m u s t   c o n t a i n   o n e   o r   m o r e   X . 5 0 9   c e r t i f i c a t e s ,   D E R - s e r i a l i z e d ,   e a c h   w r a p p e d   i n   a   P E M   C E R T I F I C A T E   b l o c k .   T h e   c e r t i f i c a t e s   m u s t   p a r s e   a s   v a l i d   X . 5 0 9   c e r t i f i c a t e s .   E s o t e r i c   P E M   f e a t u r e s   l i k e   i n t e r - b l o c k   d a t a   a n d   i n t r a - b l o c k   h e a d e r s   a r e   e i t h e r   r e j e c t e d   d u r i n g   o b j e c t   v a l i d a t i o n ,   o r   c a n   b e   i g n o r e d   b y   c o n s u m e r s   o f   t h e   o b j e c t .   A d d i t i o n a l l y ,   c o n s u m e r s   a r e   a l l o w e d   t o   r e o r d e r   t h e   c e r t i f i c a t e s   i n   t h e   b u n d l e   w i t h   t h e i r   o w n   a r b i t r a r y   b u t   s t a b l e   o r d e r i n g .   C l u s t e r T r u s t B u n d l e   o b j e c t s   s h o u l d   b e   c o n s i d e r e d   w o r l d - r e a d a b l e   w i t h i n   t h e   c l u s t e r .   I f   y o u r   c l u s t e r   u s e s   R B A C   a u t h o r i z a t i o n ,   a l l   S e r v i c e A c c o u n t s   h a v e   a   d e f a u l t   g r a n t   t h a t   a l l o w s   t h e m   t o   g e t ,   l i s t ,   a n d   w a t c h   a l l   C l u s t e r T r u s t B u n d l e   o b j e c t s .   I f   y o u   u s e   y o u r   o w n   a u t h o r i z a t i o n   m e c h a n i s m   a n d   y o u   h a v e   e n a b l e d   C l u s t e r T r u s t B u n d l e s   i n   y o u r   c l u s t e r ,   y o u   s h o u l d   s e t   u p   a n   e q u i v a l e n t   r u l e   t o   m a k e   t h e s e   o b j e c t s   p u b l i c   w i t h i n   t h e   c l u s t e r ,   s o   t h a t   t h e y   w o r k   a s   i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/",
    "id": "k8s_00494_section_3_9438"
  },
  {
    "question": "What is Signer-linked ClusterTrustBundles?",
    "answer": "S i g n e r - l i n k e d   C l u s t e r T r u s t B u n d l e s   a r e   a s s o c i a t e d   w i t h   a   s i g n e r   n a m e ,   l i k e   t h i s :   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1   k i n d :   C l u s t e r T r u s t B u n d l e   m e t a d a t a :   n a m e :   e x a m p l e . c o m : m y s i g n e r : f o o   s p e c :   s i g n e r N a m e :   e x a m p l e . c o m / m y s i g n e r   t r u s t B u n d l e :   \" < . . .   P E M   d a t a   . . . > \"   T h e s e   C l u s t e r T r u s t B u n d l e s   a r e   i n t e n d e d   t o   b e   m a i n t a i n e d   b y   a   s i g n e r - s p e c i f i c   c o n t r o l l e r   i n   t h e   c l u s t e r ,   s o   t h e y   h a v e   s e v e r a l   s e c u r i t y   f e a t u r e s :   T o   c r e a t e   o r   u p d a t e   a   s i g n e r - l i n k e d   C l u s t e r T r u s t B u n d l e ,   y o u   m u s t   b e   p e r m i t t e d   t o   a t t e s t   o n   t h e   s i g n e r   ( c u s t o m   a u t h o r i z a t i o n   v e r b   a t t e s t ,   A P I   g r o u p   c e r t i f i c a t e s . k 8 s . i o ;   r e s o u r c e   p a t h   s i g n e r s ) .   Y o u   c a n   c o n f i g u r e   a u t h o r i z a t i o n   f o r   t h e   s p e c i f i c   r e s o u r c e   n a m e   < s i g n e r N a m e D o m a i n > / < s i g n e r N a m e P a t h >   o r   m a t c h   a   p a t t e r n   s u c h   a s   < s i g n e r N a m e D o m a i n > / * . S i g n e r - l i n k e d   C l u s t e r T r u s t B u n d l e s   m u s t   b e   n a m e d   w i t h   a   p r e f i x   d e r i v e d   f r o m   t h e i r   s p e c . s i g n e r N a m e   f i e l d .   S l a s h e s   ( / )   a r e   r e p l a c e d   w i t h   c o l o n s   ( : ) ,   a n d   a   f i n a l   c o l o n   i s   a p p e n d e d .   T h i s   i s   f o l l o w e d   b y   a n   a r b i t r a r y   n a m e .   F o r   e x a m p l e ,   t h e   s i g n e r   e x a m p l e . c o m / m y s i g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/",
    "id": "k8s_00494_section_3_9439"
  },
  {
    "question": "What is Signer-unlinked ClusterTrustBundles?",
    "answer": "S i g n e r - u n l i n k e d   C l u s t e r T r u s t B u n d l e s   h a v e   a n   e m p t y   s p e c . s i g n e r N a m e   f i e l d ,   l i k e   t h i s :   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1   k i n d :   C l u s t e r T r u s t B u n d l e   m e t a d a t a :   n a m e :   f o o   s p e c :   #   n o   s i g n e r N a m e   s p e c i f i e d ,   s o   t h e   f i e l d   i s   b l a n k   t r u s t B u n d l e :   \" < . . .   P E M   d a t a   . . . > \"   T h e y   a r e   p r i m a r i l y   i n t e n d e d   f o r   c l u s t e r   c o n f i g u r a t i o n   u s e   c a s e s .   E a c h   s i g n e r - u n l i n k e d   C l u s t e r T r u s t B u n d l e   i s   a n   i n d e p e n d e n t   o b j e c t ,   i n   c o n t r a s t   t o   t h e   c u s t o m a r y   g r o u p i n g   b e h a v i o r   o f   s i g n e r - l i n k e d   C l u s t e r T r u s t B u n d l e s .   S i g n e r - u n l i n k e d   C l u s t e r T r u s t B u n d l e s   h a v e   n o   a t t e s t   v e r b   r e q u i r e m e n t .   I n s t e a d ,   y o u   c o n t r o l   a c c e s s   t o   t h e m   d i r e c t l y   u s i n g   t h e   u s u a l   m e c h a n i s m s ,   s u c h   a s   r o l e - b a s e d   a c c e s s   c o n t r o l .   T o   d i s t i n g u i s h   t h e m   f r o m   s i g n e r - l i n k e d   C l u s t e r T r u s t B u n d l e s ,   t h e   n a m e s   o f   s i g n e r - u n l i n k e d   C l u s t e r T r u s t B u n d l e s   m u s t   n o t   c o n t a i n   a   c o l o n   ( : ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/",
    "id": "k8s_00494_section_3_9440"
  },
  {
    "question": "What is Accessing ClusterTrustBundles from pods?",
    "answer": "T h e   c o n t e n t s   o f   C l u s t e r T r u s t B u n d l e s   c a n   b e   i n j e c t e d   i n t o   t h e   c o n t a i n e r   f i l e s y s t e m ,   s i m i l a r   t o   C o n f i g M a p s   a n d   S e c r e t s .   S e e   t h e   c l u s t e r T r u s t B u n d l e   p r o j e c t e d   v o l u m e   s o u r c e   f o r   m o r e   d e t a i l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/",
    "id": "k8s_00494_section_3_9441"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   M a n a g e   T L S   C e r t i f i c a t e s   i n   a   C l u s t e r R e a d   I s s u e   a   C e r t i f i c a t e   f o r   a   K u b e r n e t e s   A P I   C l i e n t   U s i n g   A   C e r t i f i c a t e S i g n i n g R e q u e s t V i e w   t h e   s o u r c e   c o d e   f o r   t h e   k u b e - c o n t r o l l e r - m a n a g e r   b u i l t   i n   s i g n e r V i e w   t h e   s o u r c e   c o d e   f o r   t h e   k u b e - c o n t r o l l e r - m a n a g e r   b u i l t   i n   a p p r o v e r F o r   d e t a i l s   o f   X . 5 0 9   i t s e l f ,   r e f e r   t o   R F C   5 2 8 0   s e c t i o n   3 . 1 F o r   i n f o r m a t i o n   o n   t h e   s y n t a x   o f   P K C S # 1 0   c e r t i f i c a t e   s i g n i n g   r e q u e s t s ,   r e f e r   t o   R F C   2 9 8 6 R e a d   a b o u t   t h e   C l u s t e r T r u s t B u n d l e   A P I : % ! s ( )   % ! s ( )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/",
    "id": "k8s_00494_section_2_9442"
  },
  {
    "question": "What is Labels and Selectors?",
    "answer": "Labels and SelectorsLabels are key/value pairs that are attached to objects such as Pods. Labels are intended to be used to specify identifying attributes of objects that are meaningful and relevant to users, but do not directly imply semantics to the core system. Labels can be used to organize and to select subsets of objects. Labels can be attached to objects at creation time and subsequently added and modified at any time. Each object can have a set of key/value labels defined. Each Key must be unique for a given object.\"metadata\": { \"labels\": { \"key1\" : \"value1\", \"key2\" : \"value2\" } } Labels allow for efficient queries and watches and are ideal for use in UIs and CLIs. Non-identifying information should be recorded using annotations.MotivationLabels enable users to map their own organizational structures onto system objects in a loosely coupled fashion, without requiring clients to store these mappings.Service deployments and batch processing pipelines are often multi-dimensional entities (e.g., multiple partitions or deployments, multiple release tracks, multiple tiers, multiple micro-services per tier). Management often requires cross-cutting operations, which breaks encapsulation of strictly hierarchical representations, especially rigid hierarchies determined by the infrastructure rather than by users.Example labels:\"release\" : \"stable\", \"release\" : \"canary\"\"environment\" : \"dev\", \"environment\" : \"qa\", \"environment\" : \"production\"\"tier\" : \"frontend\", \"tier\" : \"backend\", \"tier\" : \"cache\"\"partition\" : \"customerA\", \"partition\" : \"customerB\"\"track\" : \"daily\", \"track\" : \"weekly\"These are examples of commonly used labels; you are free to develop your own conventions. Keep in mind that label Key must be unique for a given object.Syntax and character setLabels are key/value pairs. Valid label keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/).If the prefix is omitted, the label Key is presumed to be private to the user. Automated system components (e.g. kube-scheduler, kube-controller-manager, kube-apiserver, kubectl, or other third-party automation) which add labels to end-user objects must specify a prefix.The kubernetes.io/ and k8s.io/ prefixes are reserved for Kubernetes core components.Valid label value:must be 63 characters or less (can be empty),unless empty, must begin and end with an alphanumeric character ([a-z0-9A-Z]),could contain dashes (-), underscores (_), dots (.), and alphanumerics between.For example, here's a manifest for a Pod that has two labels environment: production and app: nginx:apiVersion: v1 kind: Pod metadata: na",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/",
    "id": "k8s_00495_qa_9443"
  },
  {
    "question": "How does Labels and Selectors work?",
    "answer": "Labels and SelectorsLabels are key/value pairs that are attached to objects such as Pods. Labels are intended to be used to specify identifying attributes of objects that are meaningful and relevant to users, but do not directly imply semantics to the core system. Labels can be used to organize and to select subsets of objects. Labels can be attached to objects at creation time and subsequently added and modified at any time. Each object can have a set of key/value labels defined. Each Key must be unique for a given object.\"metadata\": { \"labels\": { \"key1\" : \"value1\", \"key2\" : \"value2\" } } Labels allow for efficient queries and watches and are ideal for use in UIs and CLIs. Non-identifying information should be recorded using annotations.MotivationLabels enable users to map their own organizational structures onto system objects in a loosely coupled fashion, without requiring clients to store these mappings.Service deployments and batch processing pipelines are often multi-dimensional entities (e.g., multiple partitions or deployments, multiple release tracks, multiple tiers, multiple micro-services per tier). Management often requires cross-cutting operations, which breaks encapsulation of strictly hierarchical representations, especially rigid hierarchies determined by the infrastructure rather than by users.Example labels:\"release\" : \"stable\", \"release\" : \"canary\"\"environment\" : \"dev\", \"environment\" : \"qa\", \"environment\" : \"production\"\"tier\" : \"frontend\", \"tier\" : \"backend\", \"tier\" : \"cache\"\"partition\" : \"customerA\", \"partition\" : \"customerB\"\"track\" : \"daily\", \"track\" : \"weekly\"These are examples of commonly used labels; you are free to develop your own conventions. Keep in mind that label Key must be unique for a given object.Syntax and character setLabels are key/value pairs. Valid label keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/).If the prefix is omitted, the label Key is presumed to be private to the user. Automated system components (e.g. kube-scheduler, kube-controller-manager, kube-apiserver, kubectl, or other third-party automation) which add labels to end-user objects must specify a prefix.The kubernetes.io/ and k8s.io/ prefixes are reserved for Kubernetes core components.Valid label value:must be 63 characters or less (can be empty),unless empty, must begin and end with an alphanumeric character ([a-z0-9A-Z]),could contain dashes (-), underscores (_), dots (.), and alphanumerics between.For example, here's a manifest for a Pod that has two labels environment: production and app: nginx:apiVersion: v1 kind: Pod metadata: na",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/",
    "id": "k8s_00495_qa_9444"
  },
  {
    "question": "When would you use Labels and Selectors?",
    "answer": "Labels and SelectorsLabels are key/value pairs that are attached to objects such as Pods. Labels are intended to be used to specify identifying attributes of objects that are meaningful and relevant to users, but do not directly imply semantics to the core system. Labels can be used to organize and to select subsets of objects. Labels can be attached to objects at creation time and subsequently added and modified at any time. Each object can have a set of key/value labels defined. Each Key must be unique for a given object.\"metadata\": { \"labels\": { \"key1\" : \"value1\", \"key2\" : \"value2\" } } Labels allow for efficient queries and watches and are ideal for use in UIs and CLIs. Non-identifying information should be recorded using annotations.MotivationLabels enable users to map their own organizational structures onto system objects in a loosely coupled fashion, without requiring clients to store these mappings.Service deployments and batch processing pipelines are often multi-dimensional entities (e.g., multiple partitions or deployments, multiple release tracks, multiple tiers, multiple micro-services per tier). Management often requires cross-cutting operations, which breaks encapsulation of strictly hierarchical representations, especially rigid hierarchies determined by the infrastructure rather than by users.Example labels:\"release\" : \"stable\", \"release\" : \"canary\"\"environment\" : \"dev\", \"environment\" : \"qa\", \"environment\" : \"production\"\"tier\" : \"frontend\", \"tier\" : \"backend\", \"tier\" : \"cache\"\"partition\" : \"customerA\", \"partition\" : \"customerB\"\"track\" : \"daily\", \"track\" : \"weekly\"These are examples of commonly used labels; you are free to develop your own conventions. Keep in mind that label Key must be unique for a given object.Syntax and character setLabels are key/value pairs. Valid label keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/).If the prefix is omitted, the label Key is presumed to be private to the user. Automated system components (e.g. kube-scheduler, kube-controller-manager, kube-apiserver, kubectl, or other third-party automation) which add labels to end-user objects must specify a prefix.The kubernetes.io/ and k8s.io/ prefixes are reserved for Kubernetes core components.Valid label value:must be 63 characters or less (can be empty),unless empty, must begin and end with an alphanumeric character ([a-z0-9A-Z]),could contain dashes (-), underscores (_), dots (.), and alphanumerics between.For example, here's a manifest for a Pod that has two labels environment: production and app: nginx:apiVersion: v1 kind: Pod metadata: na",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/",
    "id": "k8s_00495_qa_9445"
  },
  {
    "question": "What are the benefits of Labels and Selectors?",
    "answer": "Labels and SelectorsLabels are key/value pairs that are attached to objects such as Pods. Labels are intended to be used to specify identifying attributes of objects that are meaningful and relevant to users, but do not directly imply semantics to the core system. Labels can be used to organize and to select subsets of objects. Labels can be attached to objects at creation time and subsequently added and modified at any time. Each object can have a set of key/value labels defined. Each Key must be unique for a given object.\"metadata\": { \"labels\": { \"key1\" : \"value1\", \"key2\" : \"value2\" } } Labels allow for efficient queries and watches and are ideal for use in UIs and CLIs. Non-identifying information should be recorded using annotations.MotivationLabels enable users to map their own organizational structures onto system objects in a loosely coupled fashion, without requiring clients to store these mappings.Service deployments and batch processing pipelines are often multi-dimensional entities (e.g., multiple partitions or deployments, multiple release tracks, multiple tiers, multiple micro-services per tier). Management often requires cross-cutting operations, which breaks encapsulation of strictly hierarchical representations, especially rigid hierarchies determined by the infrastructure rather than by users.Example labels:\"release\" : \"stable\", \"release\" : \"canary\"\"environment\" : \"dev\", \"environment\" : \"qa\", \"environment\" : \"production\"\"tier\" : \"frontend\", \"tier\" : \"backend\", \"tier\" : \"cache\"\"partition\" : \"customerA\", \"partition\" : \"customerB\"\"track\" : \"daily\", \"track\" : \"weekly\"These are examples of commonly used labels; you are free to develop your own conventions. Keep in mind that label Key must be unique for a given object.Syntax and character setLabels are key/value pairs. Valid label keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/).If the prefix is omitted, the label Key is presumed to be private to the user. Automated system components (e.g. kube-scheduler, kube-controller-manager, kube-apiserver, kubectl, or other third-party automation) which add labels to end-user objects must specify a prefix.The kubernetes.io/ and k8s.io/ prefixes are reserved for Kubernetes core components.Valid label value:must be 63 characters or less (can be empty),unless empty, must begin and end with an alphanumeric character ([a-z0-9A-Z]),could contain dashes (-), underscores (_), dots (.), and alphanumerics between.For example, here's a manifest for a Pod that has two labels environment: production and app: nginx:apiVersion: v1 kind: Pod metadata: na",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/",
    "id": "k8s_00495_qa_9446"
  },
  {
    "question": "What is Labels and Selectors?",
    "answer": "L a b e l s   a r e   k e y / v a l u e   p a i r s   t h a t   a r e   a t t a c h e d   t o   o b j e c t s   s u c h   a s   P o d s .   L a b e l s   a r e   i n t e n d e d   t o   b e   u s e d   t o   s p e c i f y   i d e n t i f y i n g   a t t r i b u t e s   o f   o b j e c t s   t h a t   a r e   m e a n i n g f u l   a n d   r e l e v a n t   t o   u s e r s ,   b u t   d o   n o t   d i r e c t l y   i m p l y   s e m a n t i c s   t o   t h e   c o r e   s y s t e m .   L a b e l s   c a n   b e   u s e d   t o   o r g a n i z e   a n d   t o   s e l e c t   s u b s e t s   o f   o b j e c t s .   L a b e l s   c a n   b e   a t t a c h e d   t o   o b j e c t s   a t   c r e a t i o n   t i m e   a n d   s u b s e q u e n t l y   a d d e d   a n d   m o d i f i e d   a t   a n y   t i m e .   E a c h   o b j e c t   c a n   h a v e   a   s e t   o f   k e y / v a l u e   l a b e l s   d e f i n e d .   E a c h   K e y   m u s t   b e   u n i q u e   f o r   a   g i v e n   o b j e c t .   \" m e t a d a t a \" :   {   \" l a b e l s \" :   {   \" k e y 1 \"   :   \" v a l u e 1 \" ,   \" k e y 2 \"   :   \" v a l u e 2 \"   }   }   L a b e l s   a l l o w   f o r   e f f i c i e n t   q u e r i e s   a n d   w a t c h e s   a n d   a r e   i d e a l   f o r   u s e   i n   U I s   a n d   C L I s .   N o n - i d e n t i f y i n g   i n f o r m a t i o n   s h o u l d   b e   r e c o r d e d   u s i n g   a n n o t a t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/",
    "id": "k8s_00495_section_1_9447"
  },
  {
    "question": "What is Motivation?",
    "answer": "L a b e l s   e n a b l e   u s e r s   t o   m a p   t h e i r   o w n   o r g a n i z a t i o n a l   s t r u c t u r e s   o n t o   s y s t e m   o b j e c t s   i n   a   l o o s e l y   c o u p l e d   f a s h i o n ,   w i t h o u t   r e q u i r i n g   c l i e n t s   t o   s t o r e   t h e s e   m a p p i n g s .   S e r v i c e   d e p l o y m e n t s   a n d   b a t c h   p r o c e s s i n g   p i p e l i n e s   a r e   o f t e n   m u l t i - d i m e n s i o n a l   e n t i t i e s   ( e . g . ,   m u l t i p l e   p a r t i t i o n s   o r   d e p l o y m e n t s ,   m u l t i p l e   r e l e a s e   t r a c k s ,   m u l t i p l e   t i e r s ,   m u l t i p l e   m i c r o - s e r v i c e s   p e r   t i e r ) .   M a n a g e m e n t   o f t e n   r e q u i r e s   c r o s s - c u t t i n g   o p e r a t i o n s ,   w h i c h   b r e a k s   e n c a p s u l a t i o n   o f   s t r i c t l y   h i e r a r c h i c a l   r e p r e s e n t a t i o n s ,   e s p e c i a l l y   r i g i d   h i e r a r c h i e s   d e t e r m i n e d   b y   t h e   i n f r a s t r u c t u r e   r a t h e r   t h a n   b y   u s e r s .   E x a m p l e   l a b e l s :   \" r e l e a s e \"   :   \" s t a b l e \" ,   \" r e l e a s e \"   :   \" c a n a r y \" \" e n v i r o n m e n t \"   :   \" d e v \" ,   \" e n v i r o n m e n t \"   :   \" q a \" ,   \" e n v i r o n m e n t \"   :   \" p r o d u c t i o n \" \" t i e r \"   :   \" f r o n t e n d \" ,   \" t i e r \"   :   \" b a c k e n d \" ,   \" t i e r \"   :   \" c a c h e \" \" p a r t i t i o n \"   :   \" c u s t o m e r A \" ,   \" p a r t i t i o n \"   :   \" c u s t o m e r B \" \" t r a c k \"   :   \" d a i l y \" ,   \" t r a c k \"   :   \" w e e k l y \"   T h e s e   a r e   e x a m p l e s   o f   c o m m o n l y   u s e d   l a b e l s ;   y o u   a r e   f r e e   t o   d e v e l o p   y o u r   o w n   c o n v e n t i o n s .   K e e p   i n   m i n d   t h a t   l a b e l   K e y   m u s t   b e   u n i q u e   f o r   a   g i v e n   o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/",
    "id": "k8s_00495_section_2_9448"
  },
  {
    "question": "What is Syntax and character set?",
    "answer": "L a b e l s   a r e   k e y / v a l u e   p a i r s .   V a l i d   l a b e l   k e y s   h a v e   t w o   s e g m e n t s :   a n   o p t i o n a l   p r e f i x   a n d   n a m e ,   s e p a r a t e d   b y   a   s l a s h   ( / ) .   T h e   n a m e   s e g m e n t   i s   r e q u i r e d   a n d   m u s t   b e   6 3   c h a r a c t e r s   o r   l e s s ,   b e g i n n i n g   a n d   e n d i n g   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r   ( [ a - z 0 - 9 A - Z ] )   w i t h   d a s h e s   ( - ) ,   u n d e r s c o r e s   ( _ ) ,   d o t s   ( . ) ,   a n d   a l p h a n u m e r i c s   b e t w e e n .   T h e   p r e f i x   i s   o p t i o n a l .   I f   s p e c i f i e d ,   t h e   p r e f i x   m u s t   b e   a   D N S   s u b d o m a i n :   a   s e r i e s   o f   D N S   l a b e l s   s e p a r a t e d   b y   d o t s   ( . ) ,   n o t   l o n g e r   t h a n   2 5 3   c h a r a c t e r s   i n   t o t a l ,   f o l l o w e d   b y   a   s l a s h   ( / ) .   I f   t h e   p r e f i x   i s   o m i t t e d ,   t h e   l a b e l   K e y   i s   p r e s u m e d   t o   b e   p r i v a t e   t o   t h e   u s e r .   A u t o m a t e d   s y s t e m   c o m p o n e n t s   ( e . g .   k u b e - s c h e d u l e r ,   k u b e - c o n t r o l l e r - m a n a g e r ,   k u b e - a p i s e r v e r ,   k u b e c t l ,   o r   o t h e r   t h i r d - p a r t y   a u t o m a t i o n )   w h i c h   a d d   l a b e l s   t o   e n d - u s e r   o b j e c t s   m u s t   s p e c i f y   a   p r e f i x .   T h e   k u b e r n e t e s . i o /   a n d   k 8 s . i o /   p r e f i x e s   a r e   r e s e r v e d   f o r   K u b e r n e t e s   c o r e   c o m p o n e n t s .   V a l i d   l a b e l   v a l u e :   m u s t   b e   6 3   c h a r a c t e r s   o r   l e s s   ( c a n   b e   e m p t y ) , u n l e s s   e m p t y ,   m u s t   b e g i n   a n d   e n d   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r   ( [ a - z 0 - 9 A ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/",
    "id": "k8s_00495_section_2_9449"
  },
  {
    "question": "What is Label selectors?",
    "answer": "U n l i k e   n a m e s   a n d   U I D s ,   l a b e l s   d o   n o t   p r o v i d e   u n i q u e n e s s .   I n   g e n e r a l ,   w e   e x p e c t   m a n y   o b j e c t s   t o   c a r r y   t h e   s a m e   l a b e l ( s ) .   V i a   a   l a b e l   s e l e c t o r ,   t h e   c l i e n t / u s e r   c a n   i d e n t i f y   a   s e t   o f   o b j e c t s .   T h e   l a b e l   s e l e c t o r   i s   t h e   c o r e   g r o u p i n g   p r i m i t i v e   i n   K u b e r n e t e s .   T h e   A P I   c u r r e n t l y   s u p p o r t s   t w o   t y p e s   o f   s e l e c t o r s :   e q u a l i t y - b a s e d   a n d   s e t - b a s e d .   A   l a b e l   s e l e c t o r   c a n   b e   m a d e   o f   m u l t i p l e   r e q u i r e m e n t s   w h i c h   a r e   c o m m a - s e p a r a t e d .   I n   t h e   c a s e   o f   m u l t i p l e   r e q u i r e m e n t s ,   a l l   m u s t   b e   s a t i s f i e d   s o   t h e   c o m m a   s e p a r a t o r   a c t s   a s   a   l o g i c a l   A N D   ( & & )   o p e r a t o r .   T h e   s e m a n t i c s   o f   e m p t y   o r   n o n - s p e c i f i e d   s e l e c t o r s   a r e   d e p e n d e n t   o n   t h e   c o n t e x t ,   a n d   A P I   t y p e s   t h a t   u s e   s e l e c t o r s   s h o u l d   d o c u m e n t   t h e   v a l i d i t y   a n d   m e a n i n g   o f   t h e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/",
    "id": "k8s_00495_section_2_9450"
  },
  {
    "question": "What is Equality-based requirement?",
    "answer": "E q u a l i t y -   o r   i n e q u a l i t y - b a s e d   r e q u i r e m e n t s   a l l o w   f i l t e r i n g   b y   l a b e l   k e y s   a n d   v a l u e s .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s ,   t h o u g h   t h e y   m a y   h a v e   a d d i t i o n a l   l a b e l s   a s   w e l l .   T h r e e   k i n d s   o f   o p e r a t o r s   a r e   a d m i t t e d   = , = = , ! = .   T h e   f i r s t   t w o   r e p r e s e n t   e q u a l i t y   ( a n d   a r e   s y n o n y m s ) ,   w h i l e   t h e   l a t t e r   r e p r e s e n t s   i n e q u a l i t y .   F o r   e x a m p l e :   e n v i r o n m e n t   =   p r o d u c t i o n   t i e r   ! =   f r o n t e n d   T h e   f o r m e r   s e l e c t s   a l l   r e s o u r c e s   w i t h   k e y   e q u a l   t o   e n v i r o n m e n t   a n d   v a l u e   e q u a l   t o   p r o d u c t i o n .   T h e   l a t t e r   s e l e c t s   a l l   r e s o u r c e s   w i t h   k e y   e q u a l   t o   t i e r   a n d   v a l u e   d i s t i n c t   f r o m   f r o n t e n d ,   a n d   a l l   r e s o u r c e s   w i t h   n o   l a b e l s   w i t h   t h e   t i e r   k e y .   O n e   c o u l d   f i l t e r   f o r   r e s o u r c e s   i n   p r o d u c t i o n   e x c l u d i n g   f r o n t e n d   u s i n g   t h e   c o m m a   o p e r a t o r :   e n v i r o n m e n t = p r o d u c t i o n , t i e r ! = f r o n t e n d   O n e   u s a g e   s c e n a r i o   f o r   e q u a l i t y - b a s e d   l a b e l   r e q u i r e m e n t   i s   f o r   P o d s   t o   s p e c i f y   n o d e   s e l e c t i o n   c r i t e r i a .   F o r   e x a m p l e ,   t h e   s a m p l e   P o d   b e l o w   s e l e c t s   n o d e s   w h e r e   t h e   a c c e l e r a t o r   l a b e l   e x i s t s   a n d   i s   s e t   t o   n v i d i a - t e s l a - p 1 0 0 .   a p i V e r s i o n :   v 1   k i n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/",
    "id": "k8s_00495_section_3_9451"
  },
  {
    "question": "What is Set-based requirement?",
    "answer": "S e t - b a s e d   l a b e l   r e q u i r e m e n t s   a l l o w   f i l t e r i n g   k e y s   a c c o r d i n g   t o   a   s e t   o f   v a l u e s .   T h r e e   k i n d s   o f   o p e r a t o r s   a r e   s u p p o r t e d :   i n , n o t i n   a n d   e x i s t s   ( o n l y   t h e   k e y   i d e n t i f i e r ) .   F o r   e x a m p l e :   e n v i r o n m e n t   i n   ( p r o d u c t i o n ,   q a )   t i e r   n o t i n   ( f r o n t e n d ,   b a c k e n d )   p a r t i t i o n   ! p a r t i t i o n   T h e   f i r s t   e x a m p l e   s e l e c t s   a l l   r e s o u r c e s   w i t h   k e y   e q u a l   t o   e n v i r o n m e n t   a n d   v a l u e   e q u a l   t o   p r o d u c t i o n   o r   q a . T h e   s e c o n d   e x a m p l e   s e l e c t s   a l l   r e s o u r c e s   w i t h   k e y   e q u a l   t o   t i e r   a n d   v a l u e s   o t h e r   t h a n   f r o n t e n d   a n d   b a c k e n d ,   a n d   a l l   r e s o u r c e s   w i t h   n o   l a b e l s   w i t h   t h e   t i e r   k e y . T h e   t h i r d   e x a m p l e   s e l e c t s   a l l   r e s o u r c e s   i n c l u d i n g   a   l a b e l   w i t h   k e y   p a r t i t i o n ;   n o   v a l u e s   a r e   c h e c k e d . T h e   f o u r t h   e x a m p l e   s e l e c t s   a l l   r e s o u r c e s   w i t h o u t   a   l a b e l   w i t h   k e y   p a r t i t i o n ;   n o   v a l u e s   a r e   c h e c k e d .   S i m i l a r l y   t h e   c o m m a   s e p a r a t o r   a c t s   a s   a n   A N D   o p e r a t o r .   S o   f i l t e r i n g   r e s o u r c e s   w i t h   a   p a r t i t i o n   k e y   ( n o   m a t t e r   t h e   v a l u e )   a n d   w i t h   e n v i r o n m e n t   d i f f e r e n t   t h a n   q a   c a n   b e   a c h i e v e d   u s i n g   p a r t i t i o n , e n v i r o n m e n t   n o t i n   ( q a ) .   T h e   s e t - b a s e d   l a b e l   s e l e c t o r   i s   a   g e n e r a l   f o r m   o f   e q u a l ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/",
    "id": "k8s_00495_section_3_9452"
  },
  {
    "question": "What is LIST and WATCH filtering?",
    "answer": "F o r   l i s t   a n d   w a t c h   o p e r a t i o n s ,   y o u   c a n   s p e c i f y   l a b e l   s e l e c t o r s   t o   f i l t e r   t h e   s e t s   o f   o b j e c t s   r e t u r n e d ;   y o u   s p e c i f y   t h e   f i l t e r   u s i n g   a   q u e r y   p a r a m e t e r .   ( T o   l e a r n   i n   d e t a i l   a b o u t   w a t c h e s   i n   K u b e r n e t e s ,   r e a d   e f f i c i e n t   d e t e c t i o n   o f   c h a n g e s ) .   B o t h   r e q u i r e m e n t s   a r e   p e r m i t t e d   ( p r e s e n t e d   h e r e   a s   t h e y   w o u l d   a p p e a r   i n   a   U R L   q u e r y   s t r i n g ) :   e q u a l i t y - b a s e d   r e q u i r e m e n t s :   ? l a b e l S e l e c t o r = e n v i r o n m e n t % 3 D p r o d u c t i o n , t i e r % 3 D f r o n t e n d s e t - b a s e d   r e q u i r e m e n t s :   ? l a b e l S e l e c t o r = e n v i r o n m e n t + i n + % 2 8 p r o d u c t i o n % 2 C q a % 2 9 % 2 C t i e r + i n + % 2 8 f r o n t e n d % 2 9   B o t h   l a b e l   s e l e c t o r   s t y l e s   c a n   b e   u s e d   t o   l i s t   o r   w a t c h   r e s o u r c e s   v i a   a   R E S T   c l i e n t .   F o r   e x a m p l e ,   t a r g e t i n g   a p i s e r v e r   w i t h   k u b e c t l   a n d   u s i n g   e q u a l i t y - b a s e d   o n e   m a y   w r i t e :   k u b e c t l   g e t   p o d s   - l   e n v i r o n m e n t = p r o d u c t i o n , t i e r = f r o n t e n d   o r   u s i n g   s e t - b a s e d   r e q u i r e m e n t s :   k u b e c t l   g e t   p o d s   - l   ' e n v i r o n m e n t   i n   ( p r o d u c t i o n ) , t i e r   i n   ( f r o n t e n d ) '   A s   a l r e a d y   m e n t i o n e d   s e t - b a s e d   r e q u i r e m e n t s   a r e   m o r e   e x p r e s s i v e .   F o r   i n s t a n c e ,   t h e y   c a n   i m p l e m e n t   t h e   O R   o p e r a t o r   o n   v a l u e s :   k u b e c t l   g e t   p o d s   - l   ' e n v i r o n m ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/",
    "id": "k8s_00495_section_3_9453"
  },
  {
    "question": "What is Set references in API objects?",
    "answer": "S o m e   K u b e r n e t e s   o b j e c t s ,   s u c h   a s   s e r v i c e s   a n d   r e p l i c a t i o n c o n t r o l l e r s ,   a l s o   u s e   l a b e l   s e l e c t o r s   t o   s p e c i f y   s e t s   o f   o t h e r   r e s o u r c e s ,   s u c h   a s   p o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/",
    "id": "k8s_00495_section_3_9454"
  },
  {
    "question": "What is Service and ReplicationController?",
    "answer": "T h e   s e t   o f   p o d s   t h a t   a   s e r v i c e   t a r g e t s   i s   d e f i n e d   w i t h   a   l a b e l   s e l e c t o r .   S i m i l a r l y ,   t h e   p o p u l a t i o n   o f   p o d s   t h a t   a   r e p l i c a t i o n c o n t r o l l e r   s h o u l d   m a n a g e   i s   a l s o   d e f i n e d   w i t h   a   l a b e l   s e l e c t o r .   L a b e l   s e l e c t o r s   f o r   b o t h   o b j e c t s   a r e   d e f i n e d   i n   j s o n   o r   y a m l   f i l e s   u s i n g   m a p s ,   a n d   o n l y   e q u a l i t y - b a s e d   r e q u i r e m e n t   s e l e c t o r s   a r e   s u p p o r t e d :   \" s e l e c t o r \" :   {   \" c o m p o n e n t \"   :   \" r e d i s \" ,   }   o r   s e l e c t o r :   c o m p o n e n t :   r e d i s   T h i s   s e l e c t o r   ( r e s p e c t i v e l y   i n   j s o n   o r   y a m l   f o r m a t )   i s   e q u i v a l e n t   t o   c o m p o n e n t = r e d i s   o r   c o m p o n e n t   i n   ( r e d i s ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/",
    "id": "k8s_00495_section_4_9455"
  },
  {
    "question": "What is Resources that support set-based requirements?",
    "answer": "N e w e r   r e s o u r c e s ,   s u c h   a s   J o b ,   D e p l o y m e n t ,   R e p l i c a S e t ,   a n d   D a e m o n S e t ,   s u p p o r t   s e t - b a s e d   r e q u i r e m e n t s   a s   w e l l .   s e l e c t o r :   m a t c h L a b e l s :   c o m p o n e n t :   r e d i s   m a t c h E x p r e s s i o n s :   -   {   k e y :   t i e r ,   o p e r a t o r :   I n ,   v a l u e s :   [ c a c h e ]   }   -   {   k e y :   e n v i r o n m e n t ,   o p e r a t o r :   N o t I n ,   v a l u e s :   [ d e v ]   }   m a t c h L a b e l s   i s   a   m a p   o f   { k e y , v a l u e }   p a i r s .   A   s i n g l e   { k e y , v a l u e }   i n   t h e   m a t c h L a b e l s   m a p   i s   e q u i v a l e n t   t o   a n   e l e m e n t   o f   m a t c h E x p r e s s i o n s ,   w h o s e   k e y   f i e l d   i s   \" k e y \" ,   t h e   o p e r a t o r   i s   \" I n \" ,   a n d   t h e   v a l u e s   a r r a y   c o n t a i n s   o n l y   \" v a l u e \" .   m a t c h E x p r e s s i o n s   i s   a   l i s t   o f   p o d   s e l e c t o r   r e q u i r e m e n t s .   V a l i d   o p e r a t o r s   i n c l u d e   I n ,   N o t I n ,   E x i s t s ,   a n d   D o e s N o t E x i s t .   T h e   v a l u e s   s e t   m u s t   b e   n o n - e m p t y   i n   t h e   c a s e   o f   I n   a n d   N o t I n .   A l l   o f   t h e   r e q u i r e m e n t s ,   f r o m   b o t h   m a t c h L a b e l s   a n d   m a t c h E x p r e s s i o n s   a r e   A N D e d   t o g e t h e r   - -   t h e y   m u s t   a l l   b e   s a t i s f i e d   i n   o r d e r   t o   m a t c h .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/",
    "id": "k8s_00495_section_4_9456"
  },
  {
    "question": "What is Selecting sets of nodes?",
    "answer": "O n e   u s e   c a s e   f o r   s e l e c t i n g   o v e r   l a b e l s   i s   t o   c o n s t r a i n   t h e   s e t   o f   n o d e s   o n t o   w h i c h   a   p o d   c a n   s c h e d u l e .   S e e   t h e   d o c u m e n t a t i o n   o n   n o d e   s e l e c t i o n   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/",
    "id": "k8s_00495_section_4_9457"
  },
  {
    "question": "What is Using labels effectively?",
    "answer": "Y o u   c a n   a p p l y   a   s i n g l e   l a b e l   t o   a n y   r e s o u r c e s ,   b u t   t h i s   i s   n o t   a l w a y s   t h e   b e s t   p r a c t i c e .   T h e r e   a r e   m a n y   s c e n a r i o s   w h e r e   m u l t i p l e   l a b e l s   s h o u l d   b e   u s e d   t o   d i s t i n g u i s h   r e s o u r c e   s e t s   f r o m   o n e   a n o t h e r .   F o r   i n s t a n c e ,   d i f f e r e n t   a p p l i c a t i o n s   w o u l d   u s e   d i f f e r e n t   v a l u e s   f o r   t h e   a p p   l a b e l ,   b u t   a   m u l t i - t i e r   a p p l i c a t i o n ,   s u c h   a s   t h e   g u e s t b o o k   e x a m p l e ,   w o u l d   a d d i t i o n a l l y   n e e d   t o   d i s t i n g u i s h   e a c h   t i e r .   T h e   f r o n t e n d   c o u l d   c a r r y   t h e   f o l l o w i n g   l a b e l s :   l a b e l s :   a p p :   g u e s t b o o k   t i e r :   f r o n t e n d   w h i l e   t h e   R e d i s   m a s t e r   a n d   r e p l i c a   w o u l d   h a v e   d i f f e r e n t   t i e r   l a b e l s ,   a n d   p e r h a p s   e v e n   a n   a d d i t i o n a l   r o l e   l a b e l :   l a b e l s :   a p p :   g u e s t b o o k   t i e r :   b a c k e n d   r o l e :   m a s t e r   a n d   l a b e l s :   a p p :   g u e s t b o o k   t i e r :   b a c k e n d   r o l e :   r e p l i c a   T h e   l a b e l s   a l l o w   f o r   s l i c i n g   a n d   d i c i n g   t h e   r e s o u r c e s   a l o n g   a n y   d i m e n s i o n   s p e c i f i e d   b y   a   l a b e l :   k u b e c t l   a p p l y   - f   e x a m p l e s / g u e s t b o o k / a l l - i n - o n e / g u e s t b o o k - a l l - i n - o n e . y a m l   k u b e c t l   g e t   p o d s   - L a p p   - L t i e r   - L r o l e   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   A P P   T I E R   R O L E   g u e s t b o o k - f e - 4 n l p b   1 / 1   R u n n i n g   0   1 m   g u e s t b o o k   f r o n t e n d   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/",
    "id": "k8s_00495_section_2_9458"
  },
  {
    "question": "What is Updating labels?",
    "answer": "S o m e t i m e s   y o u   m a y   w a n t   t o   r e l a b e l   e x i s t i n g   p o d s   a n d   o t h e r   r e s o u r c e s   b e f o r e   c r e a t i n g   n e w   r e s o u r c e s .   T h i s   c a n   b e   d o n e   w i t h   k u b e c t l   l a b e l .   F o r   e x a m p l e ,   i f   y o u   w a n t   t o   l a b e l   a l l   y o u r   N G I N X   P o d s   a s   f r o n t e n d   t i e r ,   r u n :   k u b e c t l   l a b e l   p o d s   - l   a p p = n g i n x   t i e r = f e   p o d / m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - j 5 f h i   l a b e l e d   p o d / m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - u 2 c 7 e   l a b e l e d   p o d / m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - u 3 t 6 x   l a b e l e d   T h i s   f i r s t   f i l t e r s   a l l   p o d s   w i t h   t h e   l a b e l   \" a p p = n g i n x \" ,   a n d   t h e n   l a b e l s   t h e m   w i t h   t h e   \" t i e r = f e \" .   T o   s e e   t h e   p o d s   y o u   l a b e l e d ,   r u n :   k u b e c t l   g e t   p o d s   - l   a p p = n g i n x   - L   t i e r   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   T I E R   m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - j 5 f h i   1 / 1   R u n n i n g   0   2 3 m   f e   m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - u 2 c 7 e   1 / 1   R u n n i n g   0   2 3 m   f e   m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - u 3 t 6 x   1 / 1   R u n n i n g   0   2 3 m   f e   T h i s   o u t p u t s   a l l   \" a p p = n g i n x \"   p o d s ,   w i t h   a n   a d d i t i o n a l   l a b e l   c o l u m n   o f   p o d s '   t i e r   ( s p e c i f i e d   w i t h   - L   o r   - - l a b e l - c o l u m n s ) .   F o r   m o r e   i n f o r m a t i o n ,   p l e a s e   s e e   k u b e c t l   l a b e l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/",
    "id": "k8s_00495_section_2_9459"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   a d d   a   l a b e l   t o   a   n o d e F i n d   W e l l - k n o w n   l a b e l s ,   A n n o t a t i o n s   a n d   T a i n t s S e e   R e c o m m e n d e d   l a b e l s E n f o r c e   P o d   S e c u r i t y   S t a n d a r d s   w i t h   N a m e s p a c e   L a b e l s R e a d   a   b l o g   o n   W r i t i n g   a   C o n t r o l l e r   f o r   P o d   L a b e l s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/",
    "id": "k8s_00495_section_2_9460"
  },
  {
    "question": "What is LabelSelector?",
    "answer": "LabelSelectorA label selector is a label query over a set of resources.import \"k8s.io/apimachinery/pkg/apis/meta/v1\"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.matchExpressions ([]LabelSelectorRequirement)Atomic: will be replaced during a mergematchExpressions is a list of label selector requirements. The requirements are ANDed.A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.matchExpressions.key (string), requiredkey is the label key that the selector applies to.matchExpressions.operator (string), requiredoperator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.matchExpressions.values ([]string)Atomic: will be replaced during a mergevalues is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.matchLabels (map[string]string)matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/label-selector/",
    "id": "k8s_00496_qa_9461"
  },
  {
    "question": "How does LabelSelector work?",
    "answer": "LabelSelectorA label selector is a label query over a set of resources.import \"k8s.io/apimachinery/pkg/apis/meta/v1\"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.matchExpressions ([]LabelSelectorRequirement)Atomic: will be replaced during a mergematchExpressions is a list of label selector requirements. The requirements are ANDed.A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.matchExpressions.key (string), requiredkey is the label key that the selector applies to.matchExpressions.operator (string), requiredoperator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.matchExpressions.values ([]string)Atomic: will be replaced during a mergevalues is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.matchLabels (map[string]string)matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/label-selector/",
    "id": "k8s_00496_qa_9462"
  },
  {
    "question": "When would you use LabelSelector?",
    "answer": "LabelSelectorA label selector is a label query over a set of resources.import \"k8s.io/apimachinery/pkg/apis/meta/v1\"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.matchExpressions ([]LabelSelectorRequirement)Atomic: will be replaced during a mergematchExpressions is a list of label selector requirements. The requirements are ANDed.A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.matchExpressions.key (string), requiredkey is the label key that the selector applies to.matchExpressions.operator (string), requiredoperator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.matchExpressions.values ([]string)Atomic: will be replaced during a mergevalues is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.matchLabels (map[string]string)matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/label-selector/",
    "id": "k8s_00496_qa_9463"
  },
  {
    "question": "What are the benefits of LabelSelector?",
    "answer": "LabelSelectorA label selector is a label query over a set of resources.import \"k8s.io/apimachinery/pkg/apis/meta/v1\"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.matchExpressions ([]LabelSelectorRequirement)Atomic: will be replaced during a mergematchExpressions is a list of label selector requirements. The requirements are ANDed.A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.matchExpressions.key (string), requiredkey is the label key that the selector applies to.matchExpressions.operator (string), requiredoperator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.matchExpressions.values ([]string)Atomic: will be replaced during a mergevalues is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.matchLabels (map[string]string)matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/label-selector/",
    "id": "k8s_00496_qa_9464"
  },
  {
    "question": "What is LabelSelector?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i m a c h i n e r y / p k g / a p i s / m e t a / v 1 \"   A   l a b e l   s e l e c t o r   i s   a   l a b e l   q u e r y   o v e r   a   s e t   o f   r e s o u r c e s .   T h e   r e s u l t   o f   m a t c h L a b e l s   a n d   m a t c h E x p r e s s i o n s   a r e   A N D e d .   A n   e m p t y   l a b e l   s e l e c t o r   m a t c h e s   a l l   o b j e c t s .   A   n u l l   l a b e l   s e l e c t o r   m a t c h e s   n o   o b j e c t s .   m a t c h E x p r e s s i o n s   ( [ ] L a b e l S e l e c t o r R e q u i r e m e n t ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e m a t c h E x p r e s s i o n s   i s   a   l i s t   o f   l a b e l   s e l e c t o r   r e q u i r e m e n t s .   T h e   r e q u i r e m e n t s   a r e   A N D e d . A   l a b e l   s e l e c t o r   r e q u i r e m e n t   i s   a   s e l e c t o r   t h a t   c o n t a i n s   v a l u e s ,   a   k e y ,   a n d   a n   o p e r a t o r   t h a t   r e l a t e s   t h e   k e y   a n d   v a l u e s . m a t c h E x p r e s s i o n s . k e y   ( s t r i n g ) ,   r e q u i r e d k e y   i s   t h e   l a b e l   k e y   t h a t   t h e   s e l e c t o r   a p p l i e s   t o . m a t c h E x p r e s s i o n s . o p e r a t o r   ( s t r i n g ) ,   r e q u i r e d o p e r a t o r   r e p r e s e n t s   a   k e y ' s   r e l a t i o n s h i p   t o   a   s e t   o f   v a l u e s .   V a l i d   o p e r a t o r s   a r e   I n ,   N o t I n ,   E x i s t s   a n d   D o e s N o t E x i s t . m a t c h E x p r e s s i o n s . v a l u e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e v a l u e s   i s   a n   a r r a y   o f   s t r i n g   v a l u e s .   I f   t h e   o p e r a t o r   i s   I n   o r   N o t I n ,   t h e   v a l u e s   a r r a y   m u s t   b e   n o n - e m p t y .   I f   t h e   o p e r a t o r   i s   E x i s t s   o r   D o e s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/label-selector/",
    "id": "k8s_00496_section_1_9465"
  },
  {
    "question": "What is Viewing Site Analytics?",
    "answer": "Viewing Site AnalyticsThis page contains information about the kubernetes.io analytics dashboard.View the dashboard.This dashboard is built using Google Looker Studio and shows information collected on kubernetes.io using Google Analytics 4 since August 2022.Using the dashboardBy default, the dashboard shows all collected analytics for the past 30 days. Use the date selector to see data from a different date range. Other filtering options allow you to view data based on user location, the device used to access the site, the translation of the docs used, and more.If you notice an issue with this dashboard, or would like to request any improvements, please open an issue.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/analytics/",
    "id": "k8s_00497_qa_9466"
  },
  {
    "question": "How does Viewing Site Analytics work?",
    "answer": "Viewing Site AnalyticsThis page contains information about the kubernetes.io analytics dashboard.View the dashboard.This dashboard is built using Google Looker Studio and shows information collected on kubernetes.io using Google Analytics 4 since August 2022.Using the dashboardBy default, the dashboard shows all collected analytics for the past 30 days. Use the date selector to see data from a different date range. Other filtering options allow you to view data based on user location, the device used to access the site, the translation of the docs used, and more.If you notice an issue with this dashboard, or would like to request any improvements, please open an issue.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/analytics/",
    "id": "k8s_00497_qa_9467"
  },
  {
    "question": "When would you use Viewing Site Analytics?",
    "answer": "Viewing Site AnalyticsThis page contains information about the kubernetes.io analytics dashboard.View the dashboard.This dashboard is built using Google Looker Studio and shows information collected on kubernetes.io using Google Analytics 4 since August 2022.Using the dashboardBy default, the dashboard shows all collected analytics for the past 30 days. Use the date selector to see data from a different date range. Other filtering options allow you to view data based on user location, the device used to access the site, the translation of the docs used, and more.If you notice an issue with this dashboard, or would like to request any improvements, please open an issue.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/analytics/",
    "id": "k8s_00497_qa_9468"
  },
  {
    "question": "What are the benefits of Viewing Site Analytics?",
    "answer": "Viewing Site AnalyticsThis page contains information about the kubernetes.io analytics dashboard.View the dashboard.This dashboard is built using Google Looker Studio and shows information collected on kubernetes.io using Google Analytics 4 since August 2022.Using the dashboardBy default, the dashboard shows all collected analytics for the past 30 days. Use the date selector to see data from a different date range. Other filtering options allow you to view data based on user location, the device used to access the site, the translation of the docs used, and more.If you notice an issue with this dashboard, or would like to request any improvements, please open an issue.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/analytics/",
    "id": "k8s_00497_qa_9469"
  },
  {
    "question": "What is Viewing Site Analytics?",
    "answer": "T h i s   p a g e   c o n t a i n s   i n f o r m a t i o n   a b o u t   t h e   k u b e r n e t e s . i o   a n a l y t i c s   d a s h b o a r d .   V i e w   t h e   d a s h b o a r d .   T h i s   d a s h b o a r d   i s   b u i l t   u s i n g   G o o g l e   L o o k e r   S t u d i o   a n d   s h o w s   i n f o r m a t i o n   c o l l e c t e d   o n   k u b e r n e t e s . i o   u s i n g   G o o g l e   A n a l y t i c s   4   s i n c e   A u g u s t   2 0 2 2 .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/analytics/",
    "id": "k8s_00497_section_1_9470"
  },
  {
    "question": "What is Using the dashboard?",
    "answer": "B y   d e f a u l t ,   t h e   d a s h b o a r d   s h o w s   a l l   c o l l e c t e d   a n a l y t i c s   f o r   t h e   p a s t   3 0   d a y s .   U s e   t h e   d a t e   s e l e c t o r   t o   s e e   d a t a   f r o m   a   d i f f e r e n t   d a t e   r a n g e .   O t h e r   f i l t e r i n g   o p t i o n s   a l l o w   y o u   t o   v i e w   d a t a   b a s e d   o n   u s e r   l o c a t i o n ,   t h e   d e v i c e   u s e d   t o   a c c e s s   t h e   s i t e ,   t h e   t r a n s l a t i o n   o f   t h e   d o c s   u s e d ,   a n d   m o r e .   I f   y o u   n o t i c e   a n   i s s u e   w i t h   t h i s   d a s h b o a r d ,   o r   w o u l d   l i k e   t o   r e q u e s t   a n y   i m p r o v e m e n t s ,   p l e a s e   o p e n   a n   i s s u e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/analytics/",
    "id": "k8s_00497_section_3_9471"
  },
  {
    "question": "What is Configure Quotas for API Objects?",
    "answer": "Configure Quotas for API ObjectsThis page shows how to configure quotas for API objects, including PersistentVolumeClaims and Services. A quota restricts the number of objects, of a particular type, that can be created in a namespace. You specify quotas in a ResourceQuota object.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace quota-object-example Create a ResourceQuotaHere is the configuration file for a ResourceQuota object:admin/resource/quota-objects.yaml apiVersion: v1 kind: ResourceQuota metadata: name: object-quota-demo spec: hard: persistentvolumeclaims: \"1\" services.loadbalancers: \"2\" services.nodeports: \"0\" Create the ResourceQuota:kubectl apply -f https://k8s.io/examples/admin/resource/quota-objects.yaml --namespace=quota-object-example View detailed information about the ResourceQuota:kubectl get resourcequota object-quota-demo --namespace=quota-object-example --output=yaml The output shows that in the quota-object-example namespace, there can be at most one PersistentVolumeClaim, at most two Services of type LoadBalancer, and no Services of type NodePort.status: hard: persistentvolumeclaims: \"1\" services.loadbalancers: \"2\" services.nodeports: \"0\" used: persistentvolumeclaims: \"0\" services.loadbalancers: \"0\" services.nodeports: \"0\" Create a PersistentVolumeClaimHere is the configuration file for a PersistentVolumeClaim object:admin/resource/quota-objects-pvc.yaml apiVersion: v1 kind: PersistentVolumeClaim metadata: name: pvc-quota-demo spec: storageClassName: manual accessModes: - ReadWriteOnce resources: requests: storage: 3Gi Create the PersistentVolumeClaim:kubectl apply -f https://k8s.io/examples/admin/resource/quota-objects-pvc.yaml --namespace=quota-object-example Verify that the PersistentVolumeClaim was created:kubectl get persistentvolumeclaims --namespace=quota-object-example The output shows that the PersistentVolumeClaim exists and has status Pending:NAME STATUS pvc-quota-demo Pending Attempt to create a second PersistentVolumeClaimHere is the configuration file for a second PersistentVolumeClaim:admin/resource/quota-objects-pvc-2.yaml apiVersion: v1 kind: PersistentVolumeClaim metadata: name: pvc-quota-demo-2 spec: storageClassName: manual accessModes: - ReadWriteOnce resources: requests: storage: 4Gi Attempt to create the second PersistentVolumeClaim:kubectl apply -f https://k8s.io/examples/admin/resource/quota-objects-pvc-2.yaml --namespace=q",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/quota-api-object/",
    "id": "k8s_00498_qa_9472"
  },
  {
    "question": "How does Configure Quotas for API Objects work?",
    "answer": "Configure Quotas for API ObjectsThis page shows how to configure quotas for API objects, including PersistentVolumeClaims and Services. A quota restricts the number of objects, of a particular type, that can be created in a namespace. You specify quotas in a ResourceQuota object.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace quota-object-example Create a ResourceQuotaHere is the configuration file for a ResourceQuota object:admin/resource/quota-objects.yaml apiVersion: v1 kind: ResourceQuota metadata: name: object-quota-demo spec: hard: persistentvolumeclaims: \"1\" services.loadbalancers: \"2\" services.nodeports: \"0\" Create the ResourceQuota:kubectl apply -f https://k8s.io/examples/admin/resource/quota-objects.yaml --namespace=quota-object-example View detailed information about the ResourceQuota:kubectl get resourcequota object-quota-demo --namespace=quota-object-example --output=yaml The output shows that in the quota-object-example namespace, there can be at most one PersistentVolumeClaim, at most two Services of type LoadBalancer, and no Services of type NodePort.status: hard: persistentvolumeclaims: \"1\" services.loadbalancers: \"2\" services.nodeports: \"0\" used: persistentvolumeclaims: \"0\" services.loadbalancers: \"0\" services.nodeports: \"0\" Create a PersistentVolumeClaimHere is the configuration file for a PersistentVolumeClaim object:admin/resource/quota-objects-pvc.yaml apiVersion: v1 kind: PersistentVolumeClaim metadata: name: pvc-quota-demo spec: storageClassName: manual accessModes: - ReadWriteOnce resources: requests: storage: 3Gi Create the PersistentVolumeClaim:kubectl apply -f https://k8s.io/examples/admin/resource/quota-objects-pvc.yaml --namespace=quota-object-example Verify that the PersistentVolumeClaim was created:kubectl get persistentvolumeclaims --namespace=quota-object-example The output shows that the PersistentVolumeClaim exists and has status Pending:NAME STATUS pvc-quota-demo Pending Attempt to create a second PersistentVolumeClaimHere is the configuration file for a second PersistentVolumeClaim:admin/resource/quota-objects-pvc-2.yaml apiVersion: v1 kind: PersistentVolumeClaim metadata: name: pvc-quota-demo-2 spec: storageClassName: manual accessModes: - ReadWriteOnce resources: requests: storage: 4Gi Attempt to create the second PersistentVolumeClaim:kubectl apply -f https://k8s.io/examples/admin/resource/quota-objects-pvc-2.yaml --namespace=q",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/quota-api-object/",
    "id": "k8s_00498_qa_9473"
  },
  {
    "question": "When would you use Configure Quotas for API Objects?",
    "answer": "Configure Quotas for API ObjectsThis page shows how to configure quotas for API objects, including PersistentVolumeClaims and Services. A quota restricts the number of objects, of a particular type, that can be created in a namespace. You specify quotas in a ResourceQuota object.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace quota-object-example Create a ResourceQuotaHere is the configuration file for a ResourceQuota object:admin/resource/quota-objects.yaml apiVersion: v1 kind: ResourceQuota metadata: name: object-quota-demo spec: hard: persistentvolumeclaims: \"1\" services.loadbalancers: \"2\" services.nodeports: \"0\" Create the ResourceQuota:kubectl apply -f https://k8s.io/examples/admin/resource/quota-objects.yaml --namespace=quota-object-example View detailed information about the ResourceQuota:kubectl get resourcequota object-quota-demo --namespace=quota-object-example --output=yaml The output shows that in the quota-object-example namespace, there can be at most one PersistentVolumeClaim, at most two Services of type LoadBalancer, and no Services of type NodePort.status: hard: persistentvolumeclaims: \"1\" services.loadbalancers: \"2\" services.nodeports: \"0\" used: persistentvolumeclaims: \"0\" services.loadbalancers: \"0\" services.nodeports: \"0\" Create a PersistentVolumeClaimHere is the configuration file for a PersistentVolumeClaim object:admin/resource/quota-objects-pvc.yaml apiVersion: v1 kind: PersistentVolumeClaim metadata: name: pvc-quota-demo spec: storageClassName: manual accessModes: - ReadWriteOnce resources: requests: storage: 3Gi Create the PersistentVolumeClaim:kubectl apply -f https://k8s.io/examples/admin/resource/quota-objects-pvc.yaml --namespace=quota-object-example Verify that the PersistentVolumeClaim was created:kubectl get persistentvolumeclaims --namespace=quota-object-example The output shows that the PersistentVolumeClaim exists and has status Pending:NAME STATUS pvc-quota-demo Pending Attempt to create a second PersistentVolumeClaimHere is the configuration file for a second PersistentVolumeClaim:admin/resource/quota-objects-pvc-2.yaml apiVersion: v1 kind: PersistentVolumeClaim metadata: name: pvc-quota-demo-2 spec: storageClassName: manual accessModes: - ReadWriteOnce resources: requests: storage: 4Gi Attempt to create the second PersistentVolumeClaim:kubectl apply -f https://k8s.io/examples/admin/resource/quota-objects-pvc-2.yaml --namespace=q",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/quota-api-object/",
    "id": "k8s_00498_qa_9474"
  },
  {
    "question": "What are the benefits of Configure Quotas for API Objects?",
    "answer": "Configure Quotas for API ObjectsThis page shows how to configure quotas for API objects, including PersistentVolumeClaims and Services. A quota restricts the number of objects, of a particular type, that can be created in a namespace. You specify quotas in a ResourceQuota object.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace quota-object-example Create a ResourceQuotaHere is the configuration file for a ResourceQuota object:admin/resource/quota-objects.yaml apiVersion: v1 kind: ResourceQuota metadata: name: object-quota-demo spec: hard: persistentvolumeclaims: \"1\" services.loadbalancers: \"2\" services.nodeports: \"0\" Create the ResourceQuota:kubectl apply -f https://k8s.io/examples/admin/resource/quota-objects.yaml --namespace=quota-object-example View detailed information about the ResourceQuota:kubectl get resourcequota object-quota-demo --namespace=quota-object-example --output=yaml The output shows that in the quota-object-example namespace, there can be at most one PersistentVolumeClaim, at most two Services of type LoadBalancer, and no Services of type NodePort.status: hard: persistentvolumeclaims: \"1\" services.loadbalancers: \"2\" services.nodeports: \"0\" used: persistentvolumeclaims: \"0\" services.loadbalancers: \"0\" services.nodeports: \"0\" Create a PersistentVolumeClaimHere is the configuration file for a PersistentVolumeClaim object:admin/resource/quota-objects-pvc.yaml apiVersion: v1 kind: PersistentVolumeClaim metadata: name: pvc-quota-demo spec: storageClassName: manual accessModes: - ReadWriteOnce resources: requests: storage: 3Gi Create the PersistentVolumeClaim:kubectl apply -f https://k8s.io/examples/admin/resource/quota-objects-pvc.yaml --namespace=quota-object-example Verify that the PersistentVolumeClaim was created:kubectl get persistentvolumeclaims --namespace=quota-object-example The output shows that the PersistentVolumeClaim exists and has status Pending:NAME STATUS pvc-quota-demo Pending Attempt to create a second PersistentVolumeClaimHere is the configuration file for a second PersistentVolumeClaim:admin/resource/quota-objects-pvc-2.yaml apiVersion: v1 kind: PersistentVolumeClaim metadata: name: pvc-quota-demo-2 spec: storageClassName: manual accessModes: - ReadWriteOnce resources: requests: storage: 4Gi Attempt to create the second PersistentVolumeClaim:kubectl apply -f https://k8s.io/examples/admin/resource/quota-objects-pvc-2.yaml --namespace=q",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/quota-api-object/",
    "id": "k8s_00498_qa_9475"
  },
  {
    "question": "What is Configure Quotas for API Objects?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   q u o t a s   f o r   A P I   o b j e c t s ,   i n c l u d i n g   P e r s i s t e n t V o l u m e C l a i m s   a n d   S e r v i c e s .   A   q u o t a   r e s t r i c t s   t h e   n u m b e r   o f   o b j e c t s ,   o f   a   p a r t i c u l a r   t y p e ,   t h a t   c a n   b e   c r e a t e d   i n   a   n a m e s p a c e .   Y o u   s p e c i f y   q u o t a s   i n   a   R e s o u r c e Q u o t a   o b j e c t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/quota-api-object/",
    "id": "k8s_00498_section_1_9476"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/quota-api-object/",
    "id": "k8s_00498_section_2_9477"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   n a m e s p a c e   s o   t h a t   t h e   r e s o u r c e s   y o u   c r e a t e   i n   t h i s   e x e r c i s e   a r e   i s o l a t e d   f r o m   t h e   r e s t   o f   y o u r   c l u s t e r .   k u b e c t l   c r e a t e   n a m e s p a c e   q u o t a - o b j e c t - e x a m p l e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/quota-api-object/",
    "id": "k8s_00498_section_2_9478"
  },
  {
    "question": "What is Create a ResourceQuota?",
    "answer": "H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   R e s o u r c e Q u o t a   o b j e c t :   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a   m e t a d a t a :   n a m e :   o b j e c t - q u o t a - d e m o   s p e c :   h a r d :   p e r s i s t e n t v o l u m e c l a i m s :   \" 1 \"   s e r v i c e s . l o a d b a l a n c e r s :   \" 2 \"   s e r v i c e s . n o d e p o r t s :   \" 0 \"   C r e a t e   t h e   R e s o u r c e Q u o t a :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / q u o t a - o b j e c t s . y a m l   - - n a m e s p a c e = q u o t a - o b j e c t - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   R e s o u r c e Q u o t a :   k u b e c t l   g e t   r e s o u r c e q u o t a   o b j e c t - q u o t a - d e m o   - - n a m e s p a c e = q u o t a - o b j e c t - e x a m p l e   - - o u t p u t = y a m l   T h e   o u t p u t   s h o w s   t h a t   i n   t h e   q u o t a - o b j e c t - e x a m p l e   n a m e s p a c e ,   t h e r e   c a n   b e   a t   m o s t   o n e   P e r s i s t e n t V o l u m e C l a i m ,   a t   m o s t   t w o   S e r v i c e s   o f   t y p e   L o a d B a l a n c e r ,   a n d   n o   S e r v i c e s   o f   t y p e   N o d e P o r t .   s t a t u s :   h a r d :   p e r s i s t e n t v o l u m e c l a i m s :   \" 1 \"   s e r v i c e s . l o a d b a l a n c e r s :   \" 2 \"   s e r v i c e s . n o d e p o r t s :   \" 0 \"   u s e d :   p e r s i s t e n t v o l u m e c l a i m s :   \" 0 \"   s e r v i c e s . l o a d b a l a n c e r s :   \" 0 \"   s e r v i c e s . n o d e p o r t s :   \" 0 \"",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/quota-api-object/",
    "id": "k8s_00498_section_2_9479"
  },
  {
    "question": "What is Create a PersistentVolumeClaim?",
    "answer": "H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   P e r s i s t e n t V o l u m e C l a i m   o b j e c t :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   p v c - q u o t a - d e m o   s p e c :   s t o r a g e C l a s s N a m e :   m a n u a l   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   3 G i   C r e a t e   t h e   P e r s i s t e n t V o l u m e C l a i m :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / q u o t a - o b j e c t s - p v c . y a m l   - - n a m e s p a c e = q u o t a - o b j e c t - e x a m p l e   V e r i f y   t h a t   t h e   P e r s i s t e n t V o l u m e C l a i m   w a s   c r e a t e d :   k u b e c t l   g e t   p e r s i s t e n t v o l u m e c l a i m s   - - n a m e s p a c e = q u o t a - o b j e c t - e x a m p l e   T h e   o u t p u t   s h o w s   t h a t   t h e   P e r s i s t e n t V o l u m e C l a i m   e x i s t s   a n d   h a s   s t a t u s   P e n d i n g :   N A M E   S T A T U S   p v c - q u o t a - d e m o   P e n d i n g",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/quota-api-object/",
    "id": "k8s_00498_section_2_9480"
  },
  {
    "question": "What is Attempt to create a second PersistentVolumeClaim?",
    "answer": "H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   s e c o n d   P e r s i s t e n t V o l u m e C l a i m :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   p v c - q u o t a - d e m o - 2   s p e c :   s t o r a g e C l a s s N a m e :   m a n u a l   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   4 G i   A t t e m p t   t o   c r e a t e   t h e   s e c o n d   P e r s i s t e n t V o l u m e C l a i m :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / q u o t a - o b j e c t s - p v c - 2 . y a m l   - - n a m e s p a c e = q u o t a - o b j e c t - e x a m p l e   T h e   o u t p u t   s h o w s   t h a t   t h e   s e c o n d   P e r s i s t e n t V o l u m e C l a i m   w a s   n o t   c r e a t e d ,   b e c a u s e   i t   w o u l d   h a v e   e x c e e d e d   t h e   q u o t a   f o r   t h e   n a m e s p a c e .   p e r s i s t e n t v o l u m e c l a i m s   \" p v c - q u o t a - d e m o - 2 \"   i s   f o r b i d d e n :   e x c e e d e d   q u o t a :   o b j e c t - q u o t a - d e m o ,   r e q u e s t e d :   p e r s i s t e n t v o l u m e c l a i m s = 1 ,   u s e d :   p e r s i s t e n t v o l u m e c l a i m s = 1 ,   l i m i t e d :   p e r s i s t e n t v o l u m e c l a i m s = 1",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/quota-api-object/",
    "id": "k8s_00498_section_2_9481"
  },
  {
    "question": "What is Notes?",
    "answer": "T h e s e   a r e   t h e   s t r i n g s   u s e d   t o   i d e n t i f y   A P I   r e s o u r c e s   t h a t   c a n   b e   c o n s t r a i n e d   b y   q u o t a s :",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/quota-api-object/",
    "id": "k8s_00498_section_2_9482"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   n a m e s p a c e :   k u b e c t l   d e l e t e   n a m e s p a c e   q u o t a - o b j e c t - e x a m p l e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/quota-api-object/",
    "id": "k8s_00498_section_2_9483"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/quota-api-object/",
    "id": "k8s_00498_section_3_9484"
  },
  {
    "question": "What is For app developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s   C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/quota-api-object/",
    "id": "k8s_00498_section_3_9485"
  },
  {
    "question": "What is Debug Services?",
    "answer": "Debug ServicesAn issue that comes up rather frequently for new installations of Kubernetes is that a Service is not working properly. You've run your Pods through a Deployment (or other workload controller) and created a Service, but you get no response when you try to access it. This document will hopefully help you to figure out what's going wrong.Running commands in a PodFor many steps here you will want to see what a Pod running in the cluster sees. The simplest way to do this is to run an interactive busybox Pod:kubectl run -it --rm --restart=Never busybox --image=gcr.io/google-containers/busybox sh Note:If you don't see a command prompt, try pressing enter.If you already have a running Pod that you prefer to use, you can run a command in it using:kubectl exec <POD-NAME> -c <CONTAINER-NAME> -- <COMMAND> SetupFor the purposes of this walk-through, let's run some Pods. Since you're probably debugging your own Service you can substitute your own details, or you can follow along and get a second data point.kubectl create deployment hostnames --image=registry.k8s.io/serve_hostname deployment.apps/hostnames created kubectl commands will print the type and name of the resource created or mutated, which can then be used in subsequent commands.Let's scale the deployment to 3 replicas.kubectl scale deployment hostnames --replicas=3 deployment.apps/hostnames scaled Note that this is the same as if you had started the Deployment with the following YAML:apiVersion: apps/v1 kind: Deployment metadata: labels: app: hostnames name: hostnames spec: selector: matchLabels: app: hostnames replicas: 3 template: metadata: labels: app: hostnames spec: containers: - name: hostnames image: registry.k8s.io/serve_hostname The label \"app\" is automatically set by kubectl create deployment to the name of the Deployment.You can confirm your Pods are running:kubectl get pods -l app=hostnames NAME READY STATUS RESTARTS AGE hostnames-632524106-bbpiw 1/1 Running 0 2m hostnames-632524106-ly40y 1/1 Running 0 2m hostnames-632524106-tlaok 1/1 Running 0 2m You can also confirm that your Pods are serving. You can get the list of Pod IP addresses and test them directly.kubectl get pods -l app=hostnames \\ -o go-template='{{range .items}}{{.status.podIP}}{{\"\\n\"}}{{end}}' 10.244.0.5 10.244.0.6 10.244.0.7 The example container used for this walk-through serves its own hostname via HTTP on port 9376, but if you are debugging your own app, you'll want to use whatever port number your Pods are listening on.From within a pod:for ep in 10.244.0.5:9376 10.244.0.6:9376 10.244.0.7:9376; do wget -qO- $ep done This should produce something like:hostnames-632524106-bbpiw hostnames-632524106-ly40y hostnames-632524106-tlaok If you are not getting the responses you expect at this point, your Pods might not be healthy or might not be listening on the port you think they are. You might find kubectl logs to be useful for seeing what is happening, or perhaps you need to kubectl exec directly into your Pod",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-service/",
    "id": "k8s_00499_qa_9486"
  },
  {
    "question": "How does Debug Services work?",
    "answer": "Debug ServicesAn issue that comes up rather frequently for new installations of Kubernetes is that a Service is not working properly. You've run your Pods through a Deployment (or other workload controller) and created a Service, but you get no response when you try to access it. This document will hopefully help you to figure out what's going wrong.Running commands in a PodFor many steps here you will want to see what a Pod running in the cluster sees. The simplest way to do this is to run an interactive busybox Pod:kubectl run -it --rm --restart=Never busybox --image=gcr.io/google-containers/busybox sh Note:If you don't see a command prompt, try pressing enter.If you already have a running Pod that you prefer to use, you can run a command in it using:kubectl exec <POD-NAME> -c <CONTAINER-NAME> -- <COMMAND> SetupFor the purposes of this walk-through, let's run some Pods. Since you're probably debugging your own Service you can substitute your own details, or you can follow along and get a second data point.kubectl create deployment hostnames --image=registry.k8s.io/serve_hostname deployment.apps/hostnames created kubectl commands will print the type and name of the resource created or mutated, which can then be used in subsequent commands.Let's scale the deployment to 3 replicas.kubectl scale deployment hostnames --replicas=3 deployment.apps/hostnames scaled Note that this is the same as if you had started the Deployment with the following YAML:apiVersion: apps/v1 kind: Deployment metadata: labels: app: hostnames name: hostnames spec: selector: matchLabels: app: hostnames replicas: 3 template: metadata: labels: app: hostnames spec: containers: - name: hostnames image: registry.k8s.io/serve_hostname The label \"app\" is automatically set by kubectl create deployment to the name of the Deployment.You can confirm your Pods are running:kubectl get pods -l app=hostnames NAME READY STATUS RESTARTS AGE hostnames-632524106-bbpiw 1/1 Running 0 2m hostnames-632524106-ly40y 1/1 Running 0 2m hostnames-632524106-tlaok 1/1 Running 0 2m You can also confirm that your Pods are serving. You can get the list of Pod IP addresses and test them directly.kubectl get pods -l app=hostnames \\ -o go-template='{{range .items}}{{.status.podIP}}{{\"\\n\"}}{{end}}' 10.244.0.5 10.244.0.6 10.244.0.7 The example container used for this walk-through serves its own hostname via HTTP on port 9376, but if you are debugging your own app, you'll want to use whatever port number your Pods are listening on.From within a pod:for ep in 10.244.0.5:9376 10.244.0.6:9376 10.244.0.7:9376; do wget -qO- $ep done This should produce something like:hostnames-632524106-bbpiw hostnames-632524106-ly40y hostnames-632524106-tlaok If you are not getting the responses you expect at this point, your Pods might not be healthy or might not be listening on the port you think they are. You might find kubectl logs to be useful for seeing what is happening, or perhaps you need to kubectl exec directly into your Pod",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-service/",
    "id": "k8s_00499_qa_9487"
  },
  {
    "question": "When would you use Debug Services?",
    "answer": "Debug ServicesAn issue that comes up rather frequently for new installations of Kubernetes is that a Service is not working properly. You've run your Pods through a Deployment (or other workload controller) and created a Service, but you get no response when you try to access it. This document will hopefully help you to figure out what's going wrong.Running commands in a PodFor many steps here you will want to see what a Pod running in the cluster sees. The simplest way to do this is to run an interactive busybox Pod:kubectl run -it --rm --restart=Never busybox --image=gcr.io/google-containers/busybox sh Note:If you don't see a command prompt, try pressing enter.If you already have a running Pod that you prefer to use, you can run a command in it using:kubectl exec <POD-NAME> -c <CONTAINER-NAME> -- <COMMAND> SetupFor the purposes of this walk-through, let's run some Pods. Since you're probably debugging your own Service you can substitute your own details, or you can follow along and get a second data point.kubectl create deployment hostnames --image=registry.k8s.io/serve_hostname deployment.apps/hostnames created kubectl commands will print the type and name of the resource created or mutated, which can then be used in subsequent commands.Let's scale the deployment to 3 replicas.kubectl scale deployment hostnames --replicas=3 deployment.apps/hostnames scaled Note that this is the same as if you had started the Deployment with the following YAML:apiVersion: apps/v1 kind: Deployment metadata: labels: app: hostnames name: hostnames spec: selector: matchLabels: app: hostnames replicas: 3 template: metadata: labels: app: hostnames spec: containers: - name: hostnames image: registry.k8s.io/serve_hostname The label \"app\" is automatically set by kubectl create deployment to the name of the Deployment.You can confirm your Pods are running:kubectl get pods -l app=hostnames NAME READY STATUS RESTARTS AGE hostnames-632524106-bbpiw 1/1 Running 0 2m hostnames-632524106-ly40y 1/1 Running 0 2m hostnames-632524106-tlaok 1/1 Running 0 2m You can also confirm that your Pods are serving. You can get the list of Pod IP addresses and test them directly.kubectl get pods -l app=hostnames \\ -o go-template='{{range .items}}{{.status.podIP}}{{\"\\n\"}}{{end}}' 10.244.0.5 10.244.0.6 10.244.0.7 The example container used for this walk-through serves its own hostname via HTTP on port 9376, but if you are debugging your own app, you'll want to use whatever port number your Pods are listening on.From within a pod:for ep in 10.244.0.5:9376 10.244.0.6:9376 10.244.0.7:9376; do wget -qO- $ep done This should produce something like:hostnames-632524106-bbpiw hostnames-632524106-ly40y hostnames-632524106-tlaok If you are not getting the responses you expect at this point, your Pods might not be healthy or might not be listening on the port you think they are. You might find kubectl logs to be useful for seeing what is happening, or perhaps you need to kubectl exec directly into your Pod",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-service/",
    "id": "k8s_00499_qa_9488"
  },
  {
    "question": "What are the benefits of Debug Services?",
    "answer": "Debug ServicesAn issue that comes up rather frequently for new installations of Kubernetes is that a Service is not working properly. You've run your Pods through a Deployment (or other workload controller) and created a Service, but you get no response when you try to access it. This document will hopefully help you to figure out what's going wrong.Running commands in a PodFor many steps here you will want to see what a Pod running in the cluster sees. The simplest way to do this is to run an interactive busybox Pod:kubectl run -it --rm --restart=Never busybox --image=gcr.io/google-containers/busybox sh Note:If you don't see a command prompt, try pressing enter.If you already have a running Pod that you prefer to use, you can run a command in it using:kubectl exec <POD-NAME> -c <CONTAINER-NAME> -- <COMMAND> SetupFor the purposes of this walk-through, let's run some Pods. Since you're probably debugging your own Service you can substitute your own details, or you can follow along and get a second data point.kubectl create deployment hostnames --image=registry.k8s.io/serve_hostname deployment.apps/hostnames created kubectl commands will print the type and name of the resource created or mutated, which can then be used in subsequent commands.Let's scale the deployment to 3 replicas.kubectl scale deployment hostnames --replicas=3 deployment.apps/hostnames scaled Note that this is the same as if you had started the Deployment with the following YAML:apiVersion: apps/v1 kind: Deployment metadata: labels: app: hostnames name: hostnames spec: selector: matchLabels: app: hostnames replicas: 3 template: metadata: labels: app: hostnames spec: containers: - name: hostnames image: registry.k8s.io/serve_hostname The label \"app\" is automatically set by kubectl create deployment to the name of the Deployment.You can confirm your Pods are running:kubectl get pods -l app=hostnames NAME READY STATUS RESTARTS AGE hostnames-632524106-bbpiw 1/1 Running 0 2m hostnames-632524106-ly40y 1/1 Running 0 2m hostnames-632524106-tlaok 1/1 Running 0 2m You can also confirm that your Pods are serving. You can get the list of Pod IP addresses and test them directly.kubectl get pods -l app=hostnames \\ -o go-template='{{range .items}}{{.status.podIP}}{{\"\\n\"}}{{end}}' 10.244.0.5 10.244.0.6 10.244.0.7 The example container used for this walk-through serves its own hostname via HTTP on port 9376, but if you are debugging your own app, you'll want to use whatever port number your Pods are listening on.From within a pod:for ep in 10.244.0.5:9376 10.244.0.6:9376 10.244.0.7:9376; do wget -qO- $ep done This should produce something like:hostnames-632524106-bbpiw hostnames-632524106-ly40y hostnames-632524106-tlaok If you are not getting the responses you expect at this point, your Pods might not be healthy or might not be listening on the port you think they are. You might find kubectl logs to be useful for seeing what is happening, or perhaps you need to kubectl exec directly into your Pod",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-service/",
    "id": "k8s_00499_qa_9489"
  },
  {
    "question": "What is Debug Services?",
    "answer": "A n   i s s u e   t h a t   c o m e s   u p   r a t h e r   f r e q u e n t l y   f o r   n e w   i n s t a l l a t i o n s   o f   K u b e r n e t e s   i s   t h a t   a   S e r v i c e   i s   n o t   w o r k i n g   p r o p e r l y .   Y o u ' v e   r u n   y o u r   P o d s   t h r o u g h   a   D e p l o y m e n t   ( o r   o t h e r   w o r k l o a d   c o n t r o l l e r )   a n d   c r e a t e d   a   S e r v i c e ,   b u t   y o u   g e t   n o   r e s p o n s e   w h e n   y o u   t r y   t o   a c c e s s   i t .   T h i s   d o c u m e n t   w i l l   h o p e f u l l y   h e l p   y o u   t o   f i g u r e   o u t   w h a t ' s   g o i n g   w r o n g .",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-service/",
    "id": "k8s_00499_section_1_9490"
  },
  {
    "question": "What is Running commands in a Pod?",
    "answer": "F o r   m a n y   s t e p s   h e r e   y o u   w i l l   w a n t   t o   s e e   w h a t   a   P o d   r u n n i n g   i n   t h e   c l u s t e r   s e e s .   T h e   s i m p l e s t   w a y   t o   d o   t h i s   i s   t o   r u n   a n   i n t e r a c t i v e   b u s y b o x   P o d :   k u b e c t l   r u n   - i t   - - r m   - - r e s t a r t = N e v e r   b u s y b o x   - - i m a g e = g c r . i o / g o o g l e - c o n t a i n e r s / b u s y b o x   s h",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-service/",
    "id": "k8s_00499_section_2_9491"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   a l r e a d y   h a v e   a   r u n n i n g   P o d   t h a t   y o u   p r e f e r   t o   u s e ,   y o u   c a n   r u n   a   c o m m a n d   i n   i t   u s i n g :   k u b e c t l   e x e c   < P O D - N A M E >   - c   < C O N T A I N E R - N A M E >   - -   < C O M M A N D >",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-service/",
    "id": "k8s_00499_section_4_9492"
  },
  {
    "question": "What is Setup?",
    "answer": "F o r   t h e   p u r p o s e s   o f   t h i s   w a l k - t h r o u g h ,   l e t ' s   r u n   s o m e   P o d s .   S i n c e   y o u ' r e   p r o b a b l y   d e b u g g i n g   y o u r   o w n   S e r v i c e   y o u   c a n   s u b s t i t u t e   y o u r   o w n   d e t a i l s ,   o r   y o u   c a n   f o l l o w   a l o n g   a n d   g e t   a   s e c o n d   d a t a   p o i n t .   k u b e c t l   c r e a t e   d e p l o y m e n t   h o s t n a m e s   - - i m a g e = r e g i s t r y . k 8 s . i o / s e r v e _ h o s t n a m e   d e p l o y m e n t . a p p s / h o s t n a m e s   c r e a t e d   k u b e c t l   c o m m a n d s   w i l l   p r i n t   t h e   t y p e   a n d   n a m e   o f   t h e   r e s o u r c e   c r e a t e d   o r   m u t a t e d ,   w h i c h   c a n   t h e n   b e   u s e d   i n   s u b s e q u e n t   c o m m a n d s .   L e t ' s   s c a l e   t h e   d e p l o y m e n t   t o   3   r e p l i c a s .   k u b e c t l   s c a l e   d e p l o y m e n t   h o s t n a m e s   - - r e p l i c a s = 3   d e p l o y m e n t . a p p s / h o s t n a m e s   s c a l e d   N o t e   t h a t   t h i s   i s   t h e   s a m e   a s   i f   y o u   h a d   s t a r t e d   t h e   D e p l o y m e n t   w i t h   t h e   f o l l o w i n g   Y A M L :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   l a b e l s :   a p p :   h o s t n a m e s   n a m e :   h o s t n a m e s   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   h o s t n a m e s   r e p l i c a s :   3   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   h o s t n a m e s   s p e c :   c o n t a i n e r s :   -   n a m e :   h o s t n a m e s   i m a g e :   r e g i s t r y . k 8 s . i o / s e r v e _ h o s t n a m e   T h e   l a b e l   \" a p p \"   i s   a u t o m a t i c a l l y   s e t   b y   k u b e c t l   c r e a t e   d e p l o y m e n t   t o   t h e   n a m e   o f   t h e   D e p l o y m ",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-service/",
    "id": "k8s_00499_section_2_9493"
  },
  {
    "question": "What is Does the Service exist??",
    "answer": "T h e   a s t u t e   r e a d e r   w i l l   h a v e   n o t i c e d   t h a t   y o u   d i d   n o t   a c t u a l l y   c r e a t e   a   S e r v i c e   y e t   -   t h a t   i s   i n t e n t i o n a l .   T h i s   i s   a   s t e p   t h a t   s o m e t i m e s   g e t s   f o r g o t t e n ,   a n d   i s   t h e   f i r s t   t h i n g   t o   c h e c k .   W h a t   w o u l d   h a p p e n   i f   y o u   t r i e d   t o   a c c e s s   a   n o n - e x i s t e n t   S e r v i c e ?   I f   y o u   h a v e   a n o t h e r   P o d   t h a t   c o n s u m e s   t h i s   S e r v i c e   b y   n a m e   y o u   w o u l d   g e t   s o m e t h i n g   l i k e :   w g e t   - O -   h o s t n a m e s   R e s o l v i n g   h o s t n a m e s   ( h o s t n a m e s ) . . .   f a i l e d :   N a m e   o r   s e r v i c e   n o t   k n o w n .   w g e t :   u n a b l e   t o   r e s o l v e   h o s t   a d d r e s s   ' h o s t n a m e s '   T h e   f i r s t   t h i n g   t o   c h e c k   i s   w h e t h e r   t h a t   S e r v i c e   a c t u a l l y   e x i s t s :   k u b e c t l   g e t   s v c   h o s t n a m e s   N o   r e s o u r c e s   f o u n d .   E r r o r   f r o m   s e r v e r   ( N o t F o u n d ) :   s e r v i c e s   \" h o s t n a m e s \"   n o t   f o u n d   L e t ' s   c r e a t e   t h e   S e r v i c e .   A s   b e f o r e ,   t h i s   i s   f o r   t h e   w a l k - t h r o u g h   -   y o u   c a n   u s e   y o u r   o w n   S e r v i c e ' s   d e t a i l s   h e r e .   k u b e c t l   e x p o s e   d e p l o y m e n t   h o s t n a m e s   - - p o r t = 8 0   - - t a r g e t - p o r t = 9 3 7 6   s e r v i c e / h o s t n a m e s   e x p o s e d   A n d   r e a d   i t   b a c k :   k u b e c t l   g e t   s v c   h o s t n a m e s   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   h o s t n a m e s   C l u s t e r I P   1 0 . 0 . 1 . 1 7 5   < n o n e >   8 0 / T C P   5 s   N o w   y o u   k ",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-service/",
    "id": "k8s_00499_section_2_9494"
  },
  {
    "question": "What is Any Network Policy Ingress rules affecting the target Pods??",
    "answer": "I f   y o u   h a v e   d e p l o y e d   a n y   N e t w o r k   P o l i c y   I n g r e s s   r u l e s   w h i c h   m a y   a f f e c t   i n c o m i n g   t r a f f i c   t o   h o s t n a m e s - *   P o d s ,   t h e s e   n e e d   t o   b e   r e v i e w e d .   P l e a s e   r e f e r   t o   N e t w o r k   P o l i c i e s   f o r   m o r e   d e t a i l s .",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-service/",
    "id": "k8s_00499_section_2_9495"
  },
  {
    "question": "What is Does the Service work by DNS name??",
    "answer": "O n e   o f   t h e   m o s t   c o m m o n   w a y s   t h a t   c l i e n t s   c o n s u m e   a   S e r v i c e   i s   t h r o u g h   a   D N S   n a m e .   F r o m   a   P o d   i n   t h e   s a m e   N a m e s p a c e :   n s l o o k u p   h o s t n a m e s   A d d r e s s   1 :   1 0 . 0 . 0 . 1 0   k u b e - d n s . k u b e - s y s t e m . s v c . c l u s t e r . l o c a l   N a m e :   h o s t n a m e s   A d d r e s s   1 :   1 0 . 0 . 1 . 1 7 5   h o s t n a m e s . d e f a u l t . s v c . c l u s t e r . l o c a l   I f   t h i s   f a i l s ,   p e r h a p s   y o u r   P o d   a n d   S e r v i c e   a r e   i n   d i f f e r e n t   N a m e s p a c e s ,   t r y   a   n a m e s p a c e - q u a l i f i e d   n a m e   ( a g a i n ,   f r o m   w i t h i n   a   P o d ) :   n s l o o k u p   h o s t n a m e s . d e f a u l t   A d d r e s s   1 :   1 0 . 0 . 0 . 1 0   k u b e - d n s . k u b e - s y s t e m . s v c . c l u s t e r . l o c a l   N a m e :   h o s t n a m e s . d e f a u l t   A d d r e s s   1 :   1 0 . 0 . 1 . 1 7 5   h o s t n a m e s . d e f a u l t . s v c . c l u s t e r . l o c a l   I f   t h i s   w o r k s ,   y o u ' l l   n e e d   t o   a d j u s t   y o u r   a p p   t o   u s e   a   c r o s s - n a m e s p a c e   n a m e ,   o r   r u n   y o u r   a p p   a n d   S e r v i c e   i n   t h e   s a m e   N a m e s p a c e .   I f   t h i s   s t i l l   f a i l s ,   t r y   a   f u l l y - q u a l i f i e d   n a m e :   n s l o o k u p   h o s t n a m e s . d e f a u l t . s v c . c l u s t e r . l o c a l   A d d r e s s   1 :   1 0 . 0 . 0 . 1 0   k u b e - d n s . k u b e - s y s t e m . s v c . c l u s t e r . l o c a l   N a m e :   h o s t n a m e s . d e f a u l t . s v c . c l u s t e r . l o c a l   A d d r e s s   1 :   1 0 . 0 . 1 . 1 7 5   h o s t n a m e s . d e f a u l t . s v c . c l u s t e r . l o c a l   N o t e   t h e   s u f f i x   h e r e :   \" d e f a u l t . s v c . c l u s t e r . l o c a l ",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-service/",
    "id": "k8s_00499_section_2_9496"
  },
  {
    "question": "What is Note:?",
    "answer": "n s l o o k u p   h o s t n a m e s . d e f a u l t . s v c . c l u s t e r . l o c a l   1 0 . 0 . 0 . 1 0   S e r v e r :   1 0 . 0 . 0 . 1 0   A d d r e s s :   1 0 . 0 . 0 . 1 0 # 5 3   N a m e :   h o s t n a m e s . d e f a u l t . s v c . c l u s t e r . l o c a l   A d d r e s s :   1 0 . 0 . 1 . 1 7 5   I f   y o u   a r e   a b l e   t o   d o   a   f u l l y - q u a l i f i e d   n a m e   l o o k u p   b u t   n o t   a   r e l a t i v e   o n e ,   y o u   n e e d   t o   c h e c k   t h a t   y o u r   / e t c / r e s o l v . c o n f   f i l e   i n   y o u r   P o d   i s   c o r r e c t .   F r o m   w i t h i n   a   P o d :   c a t   / e t c / r e s o l v . c o n f   Y o u   s h o u l d   s e e   s o m e t h i n g   l i k e :   n a m e s e r v e r   1 0 . 0 . 0 . 1 0   s e a r c h   d e f a u l t . s v c . c l u s t e r . l o c a l   s v c . c l u s t e r . l o c a l   c l u s t e r . l o c a l   e x a m p l e . c o m   o p t i o n s   n d o t s : 5   T h e   n a m e s e r v e r   l i n e   m u s t   i n d i c a t e   y o u r   c l u s t e r ' s   D N S   S e r v i c e .   T h i s   i s   p a s s e d   i n t o   k u b e l e t   w i t h   t h e   - - c l u s t e r - d n s   f l a g .   T h e   s e a r c h   l i n e   m u s t   i n c l u d e   a n   a p p r o p r i a t e   s u f f i x   f o r   y o u   t o   f i n d   t h e   S e r v i c e   n a m e .   I n   t h i s   c a s e   i t   i s   l o o k i n g   f o r   S e r v i c e s   i n   t h e   l o c a l   N a m e s p a c e   ( \" d e f a u l t . s v c . c l u s t e r . l o c a l \" ) ,   S e r v i c e s   i n   a l l   N a m e s p a c e s   ( \" s v c . c l u s t e r . l o c a l \" ) ,   a n d   l a s t l y   f o r   n a m e s   i n   t h e   c l u s t e r   ( \" c l u s t e r . l o c a l \" ) .   D e p e n d i n g   o n   y o u r   o w n   i n s t a l l   y o u   m i g h t   h a v e   a d d i t i o n a l   r e c o r d s   a f t e r   t h a t   ( u p   t o   6   t o t a l ) .   T h e   c l u s t e r   s ",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-service/",
    "id": "k8s_00499_section_4_9497"
  },
  {
    "question": "What is Does any Service work by DNS name??",
    "answer": "I f   t h e   a b o v e   s t i l l   f a i l s ,   D N S   l o o k u p s   a r e   n o t   w o r k i n g   f o r   y o u r   S e r v i c e .   Y o u   c a n   t a k e   a   s t e p   b a c k   a n d   s e e   w h a t   e l s e   i s   n o t   w o r k i n g .   T h e   K u b e r n e t e s   m a s t e r   S e r v i c e   s h o u l d   a l w a y s   w o r k .   F r o m   w i t h i n   a   P o d :   n s l o o k u p   k u b e r n e t e s . d e f a u l t   S e r v e r :   1 0 . 0 . 0 . 1 0   A d d r e s s   1 :   1 0 . 0 . 0 . 1 0   k u b e - d n s . k u b e - s y s t e m . s v c . c l u s t e r . l o c a l   N a m e :   k u b e r n e t e s . d e f a u l t   A d d r e s s   1 :   1 0 . 0 . 0 . 1   k u b e r n e t e s . d e f a u l t . s v c . c l u s t e r . l o c a l   I f   t h i s   f a i l s ,   p l e a s e   s e e   t h e   k u b e - p r o x y   s e c t i o n   o f   t h i s   d o c u m e n t ,   o r   e v e n   g o   b a c k   t o   t h e   t o p   o f   t h i s   d o c u m e n t   a n d   s t a r t   o v e r ,   b u t   i n s t e a d   o f   d e b u g g i n g   y o u r   o w n   S e r v i c e ,   d e b u g   t h e   D N S   S e r v i c e .",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-service/",
    "id": "k8s_00499_section_3_9498"
  },
  {
    "question": "What is Does the Service work by IP??",
    "answer": "A s s u m i n g   y o u   h a v e   c o n f i r m e d   t h a t   D N S   w o r k s ,   t h e   n e x t   t h i n g   t o   t e s t   i s   w h e t h e r   y o u r   S e r v i c e   w o r k s   b y   i t s   I P   a d d r e s s .   F r o m   a   P o d   i n   y o u r   c l u s t e r ,   a c c e s s   t h e   S e r v i c e ' s   I P   ( f r o m   k u b e c t l   g e t   a b o v e ) .   f o r   i   i n   $ ( s e q   1   3 ) ;   d o   w g e t   - q O -   1 0 . 0 . 1 . 1 7 5 : 8 0   d o n e   T h i s   s h o u l d   p r o d u c e   s o m e t h i n g   l i k e :   h o s t n a m e s - 6 3 2 5 2 4 1 0 6 - b b p i w   h o s t n a m e s - 6 3 2 5 2 4 1 0 6 - l y 4 0 y   h o s t n a m e s - 6 3 2 5 2 4 1 0 6 - t l a o k   I f   y o u r   S e r v i c e   i s   w o r k i n g ,   y o u   s h o u l d   g e t   c o r r e c t   r e s p o n s e s .   I f   n o t ,   t h e r e   a r e   a   n u m b e r   o f   t h i n g s   t h a t   c o u l d   b e   g o i n g   w r o n g .   R e a d   o n .",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-service/",
    "id": "k8s_00499_section_2_9499"
  },
  {
    "question": "What is Is the Service defined correctly??",
    "answer": "I t   m i g h t   s o u n d   s i l l y ,   b u t   y o u   s h o u l d   r e a l l y   d o u b l e   a n d   t r i p l e   c h e c k   t h a t   y o u r   S e r v i c e   i s   c o r r e c t   a n d   m a t c h e s   y o u r   P o d ' s   p o r t .   R e a d   b a c k   y o u r   S e r v i c e   a n d   v e r i f y   i t :   k u b e c t l   g e t   s e r v i c e   h o s t n a m e s   - o   j s o n   {   \" k i n d \" :   \" S e r v i c e \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" h o s t n a m e s \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \" ,   \" u i d \" :   \" 4 2 8 c 8 b 6 c - 2 4 b c - 1 1 e 5 - 9 3 6 d - 4 2 0 1 0 a f 0 a 9 b c \" ,   \" r e s o u r c e V e r s i o n \" :   \" 3 4 7 1 8 9 \" ,   \" c r e a t i o n T i m e s t a m p \" :   \" 2 0 1 5 - 0 7 - 0 7 T 1 5 : 2 4 : 2 9 Z \" ,   \" l a b e l s \" :   {   \" a p p \" :   \" h o s t n a m e s \"   }   } ,   \" s p e c \" :   {   \" p o r t s \" :   [   {   \" n a m e \" :   \" d e f a u l t \" ,   \" p r o t o c o l \" :   \" T C P \" ,   \" p o r t \" :   8 0 ,   \" t a r g e t P o r t \" :   9 3 7 6 ,   \" n o d e P o r t \" :   0   }   ] ,   \" s e l e c t o r \" :   {   \" a p p \" :   \" h o s t n a m e s \"   } ,   \" c l u s t e r I P \" :   \" 1 0 . 0 . 1 . 1 7 5 \" ,   \" t y p e \" :   \" C l u s t e r I P \" ,   \" s e s s i o n A f f i n i t y \" :   \" N o n e \"   } ,   \" s t a t u s \" :   {   \" l o a d B a l a n c e r \" :   { }   }   }   I s   t h e   S e r v i c e   p o r t   y o u   a r e   t r y i n g   t o   a c c e s s   l i s t e d   i n   s p e c . p o r t s [ ] ? I s   t h e   t a r g e t P o r t   c o r r e c t   f o r   y o u r   P o d s   ( s o m e   P o d s   u s e   a   d i f f e r e n t   p o r t   t h a n   t h e   S e r v i c e ) ? I f   y o u   m e a n t   t o   u s e   a   n u m e r i c   p o r t ,   i s   i t   a   n u m b e r   ( 9 3 7 6 )   o r   a   s t r i n g   \" 9 3 7 6 \" ? I f   y o u   m e a n t   t o   u s e   a   n a m e d   p o r t ,   d o   y o u r   P o d s ",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-service/",
    "id": "k8s_00499_section_2_9500"
  },
  {
    "question": "What is Does the Service have any EndpointSlices??",
    "answer": "I f   y o u   g o t   t h i s   f a r ,   y o u   h a v e   c o n f i r m e d   t h a t   y o u r   S e r v i c e   i s   c o r r e c t l y   d e f i n e d   a n d   i s   r e s o l v e d   b y   D N S .   N o w   l e t ' s   c h e c k   t h a t   t h e   P o d s   y o u   r a n   a r e   a c t u a l l y   b e i n g   s e l e c t e d   b y   t h e   S e r v i c e .   E a r l i e r   y o u   s a w   t h a t   t h e   P o d s   w e r e   r u n n i n g .   Y o u   c a n   r e - c h e c k   t h a t :   k u b e c t l   g e t   p o d s   - l   a p p = h o s t n a m e s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   h o s t n a m e s - 6 3 2 5 2 4 1 0 6 - b b p i w   1 / 1   R u n n i n g   0   1 h   h o s t n a m e s - 6 3 2 5 2 4 1 0 6 - l y 4 0 y   1 / 1   R u n n i n g   0   1 h   h o s t n a m e s - 6 3 2 5 2 4 1 0 6 - t l a o k   1 / 1   R u n n i n g   0   1 h   T h e   - l   a p p = h o s t n a m e s   a r g u m e n t   i s   a   l a b e l   s e l e c t o r   c o n f i g u r e d   o n   t h e   S e r v i c e .   T h e   \" A G E \"   c o l u m n   s a y s   t h a t   t h e s e   P o d s   a r e   a b o u t   a n   h o u r   o l d ,   w h i c h   i m p l i e s   t h a t   t h e y   a r e   r u n n i n g   f i n e   a n d   n o t   c r a s h i n g .   T h e   \" R E S T A R T S \"   c o l u m n   s a y s   t h a t   t h e s e   p o d s   a r e   n o t   c r a s h i n g   f r e q u e n t l y   o r   b e i n g   r e s t a r t e d .   F r e q u e n t   r e s t a r t s   c o u l d   l e a d   t o   i n t e r m i t t e n t   c o n n e c t i v i t y   i s s u e s .   I f   t h e   r e s t a r t   c o u n t   i s   h i g h ,   r e a d   m o r e   a b o u t   h o w   t o   d e b u g   p o d s .   I n s i d e   t h e   K u b e r n e t e s   s y s t e m   i s   a   c o n t r o l   l o o p   w h i c h   e v a l u a t e s   t h e   s e l e c t o r   o f   e v e r y   S e r v i c e   a n d   s a v e s   t h e   r e s u l t s   i n t o   o n e   o r   m o r e   E n d ",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-service/",
    "id": "k8s_00499_section_2_9501"
  },
  {
    "question": "What is Are the Pods working??",
    "answer": "A t   t h i s   p o i n t ,   y o u   k n o w   t h a t   y o u r   S e r v i c e   e x i s t s   a n d   h a s   s e l e c t e d   y o u r   P o d s .   A t   t h e   b e g i n n i n g   o f   t h i s   w a l k - t h r o u g h ,   y o u   v e r i f i e d   t h e   P o d s   t h e m s e l v e s .   L e t ' s   c h e c k   a g a i n   t h a t   t h e   P o d s   a r e   a c t u a l l y   w o r k i n g   -   y o u   c a n   b y p a s s   t h e   S e r v i c e   m e c h a n i s m   a n d   g o   s t r a i g h t   t o   t h e   P o d s ,   a s   l i s t e d   b y   t h e   E n d p o i n t s   a b o v e .",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-service/",
    "id": "k8s_00499_section_2_9502"
  },
  {
    "question": "What is Note:?",
    "answer": "F r o m   w i t h i n   a   P o d :   f o r   e p   i n   1 0 . 2 4 4 . 0 . 5 : 9 3 7 6   1 0 . 2 4 4 . 0 . 6 : 9 3 7 6   1 0 . 2 4 4 . 0 . 7 : 9 3 7 6 ;   d o   w g e t   - q O -   $ e p   d o n e   T h i s   s h o u l d   p r o d u c e   s o m e t h i n g   l i k e :   h o s t n a m e s - 6 3 2 5 2 4 1 0 6 - b b p i w   h o s t n a m e s - 6 3 2 5 2 4 1 0 6 - l y 4 0 y   h o s t n a m e s - 6 3 2 5 2 4 1 0 6 - t l a o k   Y o u   e x p e c t   e a c h   P o d   i n   t h e   e n d p o i n t s   l i s t   t o   r e t u r n   i t s   o w n   h o s t n a m e .   I f   t h i s   i s   n o t   w h a t   h a p p e n s   ( o r   w h a t e v e r   t h e   c o r r e c t   b e h a v i o r   i s   f o r   y o u r   o w n   P o d s ) ,   y o u   s h o u l d   i n v e s t i g a t e   w h a t ' s   h a p p e n i n g   t h e r e .",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-service/",
    "id": "k8s_00499_section_4_9503"
  },
  {
    "question": "What is Is the kube-proxy working??",
    "answer": "I f   y o u   g e t   h e r e ,   y o u r   S e r v i c e   i s   r u n n i n g ,   h a s   E n d p o i n t S l i c e s ,   a n d   y o u r   P o d s   a r e   a c t u a l l y   s e r v i n g .   A t   t h i s   p o i n t ,   t h e   w h o l e   S e r v i c e   p r o x y   m e c h a n i s m   i s   s u s p e c t .   L e t ' s   c o n f i r m   i t ,   p i e c e   b y   p i e c e .   T h e   d e f a u l t   i m p l e m e n t a t i o n   o f   S e r v i c e s ,   a n d   t h e   o n e   u s e d   o n   m o s t   c l u s t e r s ,   i s   k u b e - p r o x y .   T h i s   i s   a   p r o g r a m   t h a t   r u n s   o n   e v e r y   n o d e   a n d   c o n f i g u r e s   o n e   o f   a   s m a l l   s e t   o f   m e c h a n i s m s   f o r   p r o v i d i n g   t h e   S e r v i c e   a b s t r a c t i o n .   I f   y o u r   c l u s t e r   d o e s   n o t   u s e   k u b e - p r o x y ,   t h e   f o l l o w i n g   s e c t i o n s   w i l l   n o t   a p p l y ,   a n d   y o u   w i l l   h a v e   t o   i n v e s t i g a t e   w h a t e v e r   i m p l e m e n t a t i o n   o f   S e r v i c e s   y o u   a r e   u s i n g .",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-service/",
    "id": "k8s_00499_section_2_9504"
  },
  {
    "question": "What is Is kube-proxy running??",
    "answer": "C o n f i r m   t h a t   k u b e - p r o x y   i s   r u n n i n g   o n   y o u r   N o d e s .   R u n n i n g   d i r e c t l y   o n   a   N o d e ,   y o u   s h o u l d   g e t   s o m e t h i n g   l i k e   t h e   b e l o w :   p s   a u x w   |   g r e p   k u b e - p r o x y   r o o t   4 1 9 4   0 . 4   0 . 1   1 0 1 8 6 4   1 7 6 9 6   ?   S l   J u l 0 4   2 5 : 4 3   / u s r / l o c a l / b i n / k u b e - p r o x y   - - m a s t e r = h t t p s : / / k u b e r n e t e s - m a s t e r   - - k u b e c o n f i g = / v a r / l i b / k u b e - p r o x y / k u b e c o n f i g   - - v = 2   N e x t ,   c o n f i r m   t h a t   i t   i s   n o t   f a i l i n g   s o m e t h i n g   o b v i o u s ,   l i k e   c o n t a c t i n g   t h e   m a s t e r .   T o   d o   t h i s ,   y o u ' l l   h a v e   t o   l o o k   a t   t h e   l o g s .   A c c e s s i n g   t h e   l o g s   d e p e n d s   o n   y o u r   N o d e   O S .   O n   s o m e   O S e s   i t   i s   a   f i l e ,   s u c h   a s   / v a r / l o g / k u b e - p r o x y . l o g ,   w h i l e   o t h e r   O S e s   u s e   j o u r n a l c t l   t o   a c c e s s   l o g s .   Y o u   s h o u l d   s e e   s o m e t h i n g   l i k e :   I 1 0 2 7   2 2 : 1 4 : 5 3 . 9 9 5 1 3 4   5 0 6 3   s e r v e r . g o : 2 0 0 ]   R u n n i n g   i n   r e s o u r c e - o n l y   c o n t a i n e r   \" / k u b e - p r o x y \"   I 1 0 2 7   2 2 : 1 4 : 5 3 . 9 9 8 1 6 3   5 0 6 3   s e r v e r . g o : 2 4 7 ]   U s i n g   i p t a b l e s   P r o x i e r .   I 1 0 2 7   2 2 : 1 4 : 5 4 . 0 3 8 1 4 0   5 0 6 3   p r o x i e r . g o : 3 5 2 ]   S e t t i n g   e n d p o i n t s   f o r   \" k u b e - s y s t e m / k u b e - d n s : d n s - t c p \"   t o   [ 1 0 . 2 4 4 . 1 . 3 : 5 3 ]   I 1 0 2 7   2 2 : 1 4 : 5 4 . 0 3 8 1 6 4   5 0 6 3   p r o x i e r . g o : 3 5 2 ]   S e t t i n g   e n d p o i n t s   f o r   \" k u b e - s y s t e m / k u b e - d n s : d n s \"   t o   [ 1 0 . 2 4 4 . 1 . 3 : 5 3 ]   I ",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-service/",
    "id": "k8s_00499_section_3_9505"
  },
  {
    "question": "What is Iptables mode?",
    "answer": "I n   \" i p t a b l e s \"   m o d e ,   y o u   s h o u l d   s e e   s o m e t h i n g   l i k e   t h e   f o l l o w i n g   o n   a   N o d e :   i p t a b l e s - s a v e   |   g r e p   h o s t n a m e s   - A   K U B E - S E P - 5 7 K P R Z 3 J Q V E N L N B R   - s   1 0 . 2 4 4 . 3 . 6 / 3 2   - m   c o m m e n t   - - c o m m e n t   \" d e f a u l t / h o s t n a m e s : \"   - j   M A R K   - - s e t - x m a r k   0 x 0 0 0 0 4 0 0 0 / 0 x 0 0 0 0 4 0 0 0   - A   K U B E - S E P - 5 7 K P R Z 3 J Q V E N L N B R   - p   t c p   - m   c o m m e n t   - - c o m m e n t   \" d e f a u l t / h o s t n a m e s : \"   - m   t c p   - j   D N A T   - - t o - d e s t i n a t i o n   1 0 . 2 4 4 . 3 . 6 : 9 3 7 6   - A   K U B E - S E P - W N B A 2 I H D G P 2 B O B G Z   - s   1 0 . 2 4 4 . 1 . 7 / 3 2   - m   c o m m e n t   - - c o m m e n t   \" d e f a u l t / h o s t n a m e s : \"   - j   M A R K   - - s e t - x m a r k   0 x 0 0 0 0 4 0 0 0 / 0 x 0 0 0 0 4 0 0 0   - A   K U B E - S E P - W N B A 2 I H D G P 2 B O B G Z   - p   t c p   - m   c o m m e n t   - - c o m m e n t   \" d e f a u l t / h o s t n a m e s : \"   - m   t c p   - j   D N A T   - - t o - d e s t i n a t i o n   1 0 . 2 4 4 . 1 . 7 : 9 3 7 6   - A   K U B E - S E P - X 3 P 2 6 2 3 A G D H 6 C D F 3   - s   1 0 . 2 4 4 . 2 . 3 / 3 2   - m   c o m m e n t   - - c o m m e n t   \" d e f a u l t / h o s t n a m e s : \"   - j   M A R K   - - s e t - x m a r k   0 x 0 0 0 0 4 0 0 0 / 0 x 0 0 0 0 4 0 0 0   - A   K U B E - S E P - X 3 P 2 6 2 3 A G D H 6 C D F 3   - p   t c p   - m   c o m m e n t   - - c o m m e n t   \" d e f a u l t / h o s t n a m e s : \"   - m   t c p   - j   D N A T   - - t o - d e s t i n a t i o n   1 0 . 2 4 4 . 2 . 3 : 9 3 7 6   - A   K U B E - S E R V I C E S   - d   1 0 . 0 . 1 . 1 7 5 / 3 2   - p   t c p   - m   c o m m e n t   - - c o m m e n t   \" d e f a u l t / h o s t n a m e s :   c l u s t e r   I P \"   - m   t c p   - - d p o r t   8 0   - j   K U B E - S V C - N W ",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-service/",
    "id": "k8s_00499_section_4_9506"
  },
  {
    "question": "What is IPVS mode?",
    "answer": "I n   \" i p v s \"   m o d e ,   y o u   s h o u l d   s e e   s o m e t h i n g   l i k e   t h e   f o l l o w i n g   o n   a   N o d e :   i p v s a d m   - l n   P r o t   L o c a l A d d r e s s : P o r t   S c h e d u l e r   F l a g s   - >   R e m o t e A d d r e s s : P o r t   F o r w a r d   W e i g h t   A c t i v e C o n n   I n A c t C o n n   . . .   T C P   1 0 . 0 . 1 . 1 7 5 : 8 0   r r   - >   1 0 . 2 4 4 . 0 . 5 : 9 3 7 6   M a s q   1   0   0   - >   1 0 . 2 4 4 . 0 . 6 : 9 3 7 6   M a s q   1   0   0   - >   1 0 . 2 4 4 . 0 . 7 : 9 3 7 6   M a s q   1   0   0   . . .   F o r   e a c h   p o r t   o f   e a c h   S e r v i c e ,   p l u s   a n y   N o d e P o r t s ,   e x t e r n a l   I P s ,   a n d   l o a d - b a l a n c e r   I P s ,   k u b e - p r o x y   w i l l   c r e a t e   a   v i r t u a l   s e r v e r .   F o r   e a c h   P o d   e n d p o i n t ,   i t   w i l l   c r e a t e   c o r r e s p o n d i n g   r e a l   s e r v e r s .   I n   t h i s   e x a m p l e ,   s e r v i c e   h o s t n a m e s ( 1 0 . 0 . 1 . 1 7 5 : 8 0 )   h a s   3   e n d p o i n t s ( 1 0 . 2 4 4 . 0 . 5 : 9 3 7 6 ,   1 0 . 2 4 4 . 0 . 6 : 9 3 7 6 ,   1 0 . 2 4 4 . 0 . 7 : 9 3 7 6 ) .",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-service/",
    "id": "k8s_00499_section_4_9507"
  },
  {
    "question": "What is Is kube-proxy proxying??",
    "answer": "A s s u m i n g   y o u   d o   s e e   o n e   t h e   a b o v e   c a s e s ,   t r y   a g a i n   t o   a c c e s s   y o u r   S e r v i c e   b y   I P   f r o m   o n e   o f   y o u r   N o d e s :   c u r l   1 0 . 0 . 1 . 1 7 5 : 8 0   h o s t n a m e s - 6 3 2 5 2 4 1 0 6 - b b p i w   I f   t h i s   s t i l l   f a i l s ,   l o o k   a t   t h e   k u b e - p r o x y   l o g s   f o r   s p e c i f i c   l i n e s   l i k e :   S e t t i n g   e n d p o i n t s   f o r   d e f a u l t / h o s t n a m e s : d e f a u l t   t o   [ 1 0 . 2 4 4 . 0 . 5 : 9 3 7 6   1 0 . 2 4 4 . 0 . 6 : 9 3 7 6   1 0 . 2 4 4 . 0 . 7 : 9 3 7 6 ]   I f   y o u   d o n ' t   s e e   t h o s e ,   t r y   r e s t a r t i n g   k u b e - p r o x y   w i t h   t h e   - v   f l a g   s e t   t o   4 ,   a n d   t h e n   l o o k   a t   t h e   l o g s   a g a i n .",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-service/",
    "id": "k8s_00499_section_3_9508"
  },
  {
    "question": "What is Edge case: A Pod fails to reach itself via the Service IP?",
    "answer": "T h i s   m i g h t   s o u n d   u n l i k e l y ,   b u t   i t   d o e s   h a p p e n   a n d   i t   i s   s u p p o s e d   t o   w o r k .   T h i s   c a n   h a p p e n   w h e n   t h e   n e t w o r k   i s   n o t   p r o p e r l y   c o n f i g u r e d   f o r   \" h a i r p i n \"   t r a f f i c ,   u s u a l l y   w h e n   k u b e - p r o x y   i s   r u n n i n g   i n   i p t a b l e s   m o d e   a n d   P o d s   a r e   c o n n e c t e d   w i t h   b r i d g e   n e t w o r k .   T h e   K u b e l e t   e x p o s e s   a   h a i r p i n - m o d e   f l a g   t h a t   a l l o w s   e n d p o i n t s   o f   a   S e r v i c e   t o   l o a d b a l a n c e   b a c k   t o   t h e m s e l v e s   i f   t h e y   t r y   t o   a c c e s s   t h e i r   o w n   S e r v i c e   V I P .   T h e   h a i r p i n - m o d e   f l a g   m u s t   e i t h e r   b e   s e t   t o   h a i r p i n - v e t h   o r   p r o m i s c u o u s - b r i d g e .   T h e   c o m m o n   s t e p s   t o   t r o u b l e   s h o o t   t h i s   a r e   a s   f o l l o w s :   C o n f i r m   h a i r p i n - m o d e   i s   s e t   t o   h a i r p i n - v e t h   o r   p r o m i s c u o u s - b r i d g e .   Y o u   s h o u l d   s e e   s o m e t h i n g   l i k e   t h e   b e l o w .   h a i r p i n - m o d e   i s   s e t   t o   p r o m i s c u o u s - b r i d g e   i n   t h e   f o l l o w i n g   e x a m p l e .   p s   a u x w   |   g r e p   k u b e l e t   r o o t   3 3 9 2   1 . 1   0 . 8   1 8 6 8 0 4   6 5 2 0 8   ?   S l   0 0 : 5 1   1 1 : 1 1   / u s r / l o c a l / b i n / k u b e l e t   - - e n a b l e - d e b u g g i n g - h a n d l e r s = t r u e   - - c o n f i g = / e t c / k u b e r n e t e s / m a n i f e s t s   - - a l l o w - p r i v i l e g e d = T r u e   - - v = 4   - - c l u s t e r - d n s = 1 0 . 0 . 0 . 1 0   - - c l u s t e r - d o m a i n = c l u s t e r . l o c a l   - - c o n f i g u r e - c b r 0 = t r u e   - - c g r o u p - r o o t ",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-service/",
    "id": "k8s_00499_section_3_9509"
  },
  {
    "question": "What is Seek help?",
    "answer": "I f   y o u   g e t   t h i s   f a r ,   s o m e t h i n g   v e r y   s t r a n g e   i s   h a p p e n i n g .   Y o u r   S e r v i c e   i s   r u n n i n g ,   h a s   E n d p o i n t S l i c e s ,   a n d   y o u r   P o d s   a r e   a c t u a l l y   s e r v i n g .   Y o u   h a v e   D N S   w o r k i n g ,   a n d   k u b e - p r o x y   d o e s   n o t   s e e m   t o   b e   m i s b e h a v i n g .   A n d   y e t   y o u r   S e r v i c e   i s   n o t   w o r k i n g .   P l e a s e   l e t   u s   k n o w   w h a t   i s   g o i n g   o n ,   s o   w e   c a n   h e l p   i n v e s t i g a t e !   C o n t a c t   u s   o n   S l a c k   o r   F o r u m   o r   G i t H u b .",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-service/",
    "id": "k8s_00499_section_2_9510"
  },
  {
    "question": "What is What's next?",
    "answer": "V i s i t   t h e   t r o u b l e s h o o t i n g   o v e r v i e w   d o c u m e n t   f o r   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-service/",
    "id": "k8s_00499_section_2_9511"
  },
  {
    "question": "What is Configuring a cgroup driver?",
    "answer": "Configuring a cgroup driverThis page explains how to configure the kubelet's cgroup driver to match the container runtime cgroup driver for kubeadm clusters.Before you beginYou should be familiar with the Kubernetes container runtime requirements.Configuring the container runtime cgroup driverThe Container runtimes page explains that the systemd driver is recommended for kubeadm based setups instead of the kubelet's default cgroupfs driver, because kubeadm manages the kubelet as a systemd service.The page also provides details on how to set up a number of different container runtimes with the systemd driver by default.Configuring the kubelet cgroup driverkubeadm allows you to pass a KubeletConfiguration structure during kubeadm init. This KubeletConfiguration can include the cgroupDriver field which controls the cgroup driver of the kubelet.Note:In v1.22 and later, if the user does not set the cgroupDriver field under KubeletConfiguration, kubeadm defaults it to systemd.In Kubernetes v1.28, you can enable automatic detection of the cgroup driver as an alpha feature. See systemd cgroup driver for more details.A minimal example of configuring the field explicitly:# kubeadm-config.yaml kind: ClusterConfiguration apiVersion: kubeadm.k8s.io/v1beta4 kubernetesVersion: v1.21.0 --- kind: KubeletConfiguration apiVersion: kubelet.config.k8s.io/v1beta1 cgroupDriver: systemd Such a configuration file can then be passed to the kubeadm command:kubeadm init --config kubeadm-config.yaml Note:Kubeadm uses the same KubeletConfiguration for all nodes in the cluster. The KubeletConfiguration is stored in a ConfigMap object under the kube-system namespace.Executing the sub commands init, join and upgrade would result in kubeadm writing the KubeletConfiguration as a file under /var/lib/kubelet/config.yaml and passing it to the local node kubelet.On each node, kubeadm detects the CRI socket and stores its details into the /var/lib/kubelet/instance-config.yaml file. When executing the init, join, or upgrade subcommands, kubeadm patches the containerRuntimeEndpoint value from this instance configuration into /var/lib/kubelet/config.yaml.Using the cgroupfs driverTo use cgroupfs and to prevent kubeadm upgrade from modifying the KubeletConfiguration cgroup driver on existing setups, you must be explicit about its value. This applies to a case where you do not wish future versions of kubeadm to apply the systemd driver by default.See the below section on \"Modify the kubelet ConfigMap\" for details on how to be explicit about the value.If you wish to configure a container runtime to use the cgroupfs driver, you must refer to the documentation of the container runtime of your choice.Migrating to the systemd driverTo change the cgroup driver of an existing kubeadm cluster from cgroupfs to systemd in-place, a similar procedure to a kubelet upgrade is required. This must include both steps outlined below.Note:Alternatively, it is possible to replace the old nodes in the cluster wi",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/configure-cgroup-driver/",
    "id": "k8s_00500_qa_9512"
  },
  {
    "question": "How does Configuring a cgroup driver work?",
    "answer": "Configuring a cgroup driverThis page explains how to configure the kubelet's cgroup driver to match the container runtime cgroup driver for kubeadm clusters.Before you beginYou should be familiar with the Kubernetes container runtime requirements.Configuring the container runtime cgroup driverThe Container runtimes page explains that the systemd driver is recommended for kubeadm based setups instead of the kubelet's default cgroupfs driver, because kubeadm manages the kubelet as a systemd service.The page also provides details on how to set up a number of different container runtimes with the systemd driver by default.Configuring the kubelet cgroup driverkubeadm allows you to pass a KubeletConfiguration structure during kubeadm init. This KubeletConfiguration can include the cgroupDriver field which controls the cgroup driver of the kubelet.Note:In v1.22 and later, if the user does not set the cgroupDriver field under KubeletConfiguration, kubeadm defaults it to systemd.In Kubernetes v1.28, you can enable automatic detection of the cgroup driver as an alpha feature. See systemd cgroup driver for more details.A minimal example of configuring the field explicitly:# kubeadm-config.yaml kind: ClusterConfiguration apiVersion: kubeadm.k8s.io/v1beta4 kubernetesVersion: v1.21.0 --- kind: KubeletConfiguration apiVersion: kubelet.config.k8s.io/v1beta1 cgroupDriver: systemd Such a configuration file can then be passed to the kubeadm command:kubeadm init --config kubeadm-config.yaml Note:Kubeadm uses the same KubeletConfiguration for all nodes in the cluster. The KubeletConfiguration is stored in a ConfigMap object under the kube-system namespace.Executing the sub commands init, join and upgrade would result in kubeadm writing the KubeletConfiguration as a file under /var/lib/kubelet/config.yaml and passing it to the local node kubelet.On each node, kubeadm detects the CRI socket and stores its details into the /var/lib/kubelet/instance-config.yaml file. When executing the init, join, or upgrade subcommands, kubeadm patches the containerRuntimeEndpoint value from this instance configuration into /var/lib/kubelet/config.yaml.Using the cgroupfs driverTo use cgroupfs and to prevent kubeadm upgrade from modifying the KubeletConfiguration cgroup driver on existing setups, you must be explicit about its value. This applies to a case where you do not wish future versions of kubeadm to apply the systemd driver by default.See the below section on \"Modify the kubelet ConfigMap\" for details on how to be explicit about the value.If you wish to configure a container runtime to use the cgroupfs driver, you must refer to the documentation of the container runtime of your choice.Migrating to the systemd driverTo change the cgroup driver of an existing kubeadm cluster from cgroupfs to systemd in-place, a similar procedure to a kubelet upgrade is required. This must include both steps outlined below.Note:Alternatively, it is possible to replace the old nodes in the cluster wi",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/configure-cgroup-driver/",
    "id": "k8s_00500_qa_9513"
  },
  {
    "question": "When would you use Configuring a cgroup driver?",
    "answer": "Configuring a cgroup driverThis page explains how to configure the kubelet's cgroup driver to match the container runtime cgroup driver for kubeadm clusters.Before you beginYou should be familiar with the Kubernetes container runtime requirements.Configuring the container runtime cgroup driverThe Container runtimes page explains that the systemd driver is recommended for kubeadm based setups instead of the kubelet's default cgroupfs driver, because kubeadm manages the kubelet as a systemd service.The page also provides details on how to set up a number of different container runtimes with the systemd driver by default.Configuring the kubelet cgroup driverkubeadm allows you to pass a KubeletConfiguration structure during kubeadm init. This KubeletConfiguration can include the cgroupDriver field which controls the cgroup driver of the kubelet.Note:In v1.22 and later, if the user does not set the cgroupDriver field under KubeletConfiguration, kubeadm defaults it to systemd.In Kubernetes v1.28, you can enable automatic detection of the cgroup driver as an alpha feature. See systemd cgroup driver for more details.A minimal example of configuring the field explicitly:# kubeadm-config.yaml kind: ClusterConfiguration apiVersion: kubeadm.k8s.io/v1beta4 kubernetesVersion: v1.21.0 --- kind: KubeletConfiguration apiVersion: kubelet.config.k8s.io/v1beta1 cgroupDriver: systemd Such a configuration file can then be passed to the kubeadm command:kubeadm init --config kubeadm-config.yaml Note:Kubeadm uses the same KubeletConfiguration for all nodes in the cluster. The KubeletConfiguration is stored in a ConfigMap object under the kube-system namespace.Executing the sub commands init, join and upgrade would result in kubeadm writing the KubeletConfiguration as a file under /var/lib/kubelet/config.yaml and passing it to the local node kubelet.On each node, kubeadm detects the CRI socket and stores its details into the /var/lib/kubelet/instance-config.yaml file. When executing the init, join, or upgrade subcommands, kubeadm patches the containerRuntimeEndpoint value from this instance configuration into /var/lib/kubelet/config.yaml.Using the cgroupfs driverTo use cgroupfs and to prevent kubeadm upgrade from modifying the KubeletConfiguration cgroup driver on existing setups, you must be explicit about its value. This applies to a case where you do not wish future versions of kubeadm to apply the systemd driver by default.See the below section on \"Modify the kubelet ConfigMap\" for details on how to be explicit about the value.If you wish to configure a container runtime to use the cgroupfs driver, you must refer to the documentation of the container runtime of your choice.Migrating to the systemd driverTo change the cgroup driver of an existing kubeadm cluster from cgroupfs to systemd in-place, a similar procedure to a kubelet upgrade is required. This must include both steps outlined below.Note:Alternatively, it is possible to replace the old nodes in the cluster wi",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/configure-cgroup-driver/",
    "id": "k8s_00500_qa_9514"
  },
  {
    "question": "What are the benefits of Configuring a cgroup driver?",
    "answer": "Configuring a cgroup driverThis page explains how to configure the kubelet's cgroup driver to match the container runtime cgroup driver for kubeadm clusters.Before you beginYou should be familiar with the Kubernetes container runtime requirements.Configuring the container runtime cgroup driverThe Container runtimes page explains that the systemd driver is recommended for kubeadm based setups instead of the kubelet's default cgroupfs driver, because kubeadm manages the kubelet as a systemd service.The page also provides details on how to set up a number of different container runtimes with the systemd driver by default.Configuring the kubelet cgroup driverkubeadm allows you to pass a KubeletConfiguration structure during kubeadm init. This KubeletConfiguration can include the cgroupDriver field which controls the cgroup driver of the kubelet.Note:In v1.22 and later, if the user does not set the cgroupDriver field under KubeletConfiguration, kubeadm defaults it to systemd.In Kubernetes v1.28, you can enable automatic detection of the cgroup driver as an alpha feature. See systemd cgroup driver for more details.A minimal example of configuring the field explicitly:# kubeadm-config.yaml kind: ClusterConfiguration apiVersion: kubeadm.k8s.io/v1beta4 kubernetesVersion: v1.21.0 --- kind: KubeletConfiguration apiVersion: kubelet.config.k8s.io/v1beta1 cgroupDriver: systemd Such a configuration file can then be passed to the kubeadm command:kubeadm init --config kubeadm-config.yaml Note:Kubeadm uses the same KubeletConfiguration for all nodes in the cluster. The KubeletConfiguration is stored in a ConfigMap object under the kube-system namespace.Executing the sub commands init, join and upgrade would result in kubeadm writing the KubeletConfiguration as a file under /var/lib/kubelet/config.yaml and passing it to the local node kubelet.On each node, kubeadm detects the CRI socket and stores its details into the /var/lib/kubelet/instance-config.yaml file. When executing the init, join, or upgrade subcommands, kubeadm patches the containerRuntimeEndpoint value from this instance configuration into /var/lib/kubelet/config.yaml.Using the cgroupfs driverTo use cgroupfs and to prevent kubeadm upgrade from modifying the KubeletConfiguration cgroup driver on existing setups, you must be explicit about its value. This applies to a case where you do not wish future versions of kubeadm to apply the systemd driver by default.See the below section on \"Modify the kubelet ConfigMap\" for details on how to be explicit about the value.If you wish to configure a container runtime to use the cgroupfs driver, you must refer to the documentation of the container runtime of your choice.Migrating to the systemd driverTo change the cgroup driver of an existing kubeadm cluster from cgroupfs to systemd in-place, a similar procedure to a kubelet upgrade is required. This must include both steps outlined below.Note:Alternatively, it is possible to replace the old nodes in the cluster wi",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/configure-cgroup-driver/",
    "id": "k8s_00500_qa_9515"
  },
  {
    "question": "What is Configuring a cgroup driver?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   t o   c o n f i g u r e   t h e   k u b e l e t ' s   c g r o u p   d r i v e r   t o   m a t c h   t h e   c o n t a i n e r   r u n t i m e   c g r o u p   d r i v e r   f o r   k u b e a d m   c l u s t e r s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/configure-cgroup-driver/",
    "id": "k8s_00500_section_1_9516"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   s h o u l d   b e   f a m i l i a r   w i t h   t h e   K u b e r n e t e s   c o n t a i n e r   r u n t i m e   r e q u i r e m e n t s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/configure-cgroup-driver/",
    "id": "k8s_00500_section_2_9517"
  },
  {
    "question": "What is Configuring the container runtime cgroup driver?",
    "answer": "T h e   C o n t a i n e r   r u n t i m e s   p a g e   e x p l a i n s   t h a t   t h e   s y s t e m d   d r i v e r   i s   r e c o m m e n d e d   f o r   k u b e a d m   b a s e d   s e t u p s   i n s t e a d   o f   t h e   k u b e l e t ' s   d e f a u l t   c g r o u p f s   d r i v e r ,   b e c a u s e   k u b e a d m   m a n a g e s   t h e   k u b e l e t   a s   a   s y s t e m d   s e r v i c e .   T h e   p a g e   a l s o   p r o v i d e s   d e t a i l s   o n   h o w   t o   s e t   u p   a   n u m b e r   o f   d i f f e r e n t   c o n t a i n e r   r u n t i m e s   w i t h   t h e   s y s t e m d   d r i v e r   b y   d e f a u l t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/configure-cgroup-driver/",
    "id": "k8s_00500_section_2_9518"
  },
  {
    "question": "What is Configuring the kubelet cgroup driver?",
    "answer": "k u b e a d m   a l l o w s   y o u   t o   p a s s   a   K u b e l e t C o n f i g u r a t i o n   s t r u c t u r e   d u r i n g   k u b e a d m   i n i t .   T h i s   K u b e l e t C o n f i g u r a t i o n   c a n   i n c l u d e   t h e   c g r o u p D r i v e r   f i e l d   w h i c h   c o n t r o l s   t h e   c g r o u p   d r i v e r   o f   t h e   k u b e l e t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/configure-cgroup-driver/",
    "id": "k8s_00500_section_2_9519"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   v 1 . 2 2   a n d   l a t e r ,   i f   t h e   u s e r   d o e s   n o t   s e t   t h e   c g r o u p D r i v e r   f i e l d   u n d e r   K u b e l e t C o n f i g u r a t i o n ,   k u b e a d m   d e f a u l t s   i t   t o   s y s t e m d .   I n   K u b e r n e t e s   v 1 . 2 8 ,   y o u   c a n   e n a b l e   a u t o m a t i c   d e t e c t i o n   o f   t h e   c g r o u p   d r i v e r   a s   a n   a l p h a   f e a t u r e .   S e e   s y s t e m d   c g r o u p   d r i v e r   f o r   m o r e   d e t a i l s .   A   m i n i m a l   e x a m p l e   o f   c o n f i g u r i n g   t h e   f i e l d   e x p l i c i t l y :   #   k u b e a d m - c o n f i g . y a m l   k i n d :   C l u s t e r C o n f i g u r a t i o n   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k u b e r n e t e s V e r s i o n :   v 1 . 2 1 . 0   - - -   k i n d :   K u b e l e t C o n f i g u r a t i o n   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   c g r o u p D r i v e r :   s y s t e m d   S u c h   a   c o n f i g u r a t i o n   f i l e   c a n   t h e n   b e   p a s s e d   t o   t h e   k u b e a d m   c o m m a n d :   k u b e a d m   i n i t   - - c o n f i g   k u b e a d m - c o n f i g . y a m l",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/configure-cgroup-driver/",
    "id": "k8s_00500_section_4_9520"
  },
  {
    "question": "What is Note:?",
    "answer": "K u b e a d m   u s e s   t h e   s a m e   K u b e l e t C o n f i g u r a t i o n   f o r   a l l   n o d e s   i n   t h e   c l u s t e r .   T h e   K u b e l e t C o n f i g u r a t i o n   i s   s t o r e d   i n   a   C o n f i g M a p   o b j e c t   u n d e r   t h e   k u b e - s y s t e m   n a m e s p a c e .   E x e c u t i n g   t h e   s u b   c o m m a n d s   i n i t ,   j o i n   a n d   u p g r a d e   w o u l d   r e s u l t   i n   k u b e a d m   w r i t i n g   t h e   K u b e l e t C o n f i g u r a t i o n   a s   a   f i l e   u n d e r   / v a r / l i b / k u b e l e t / c o n f i g . y a m l   a n d   p a s s i n g   i t   t o   t h e   l o c a l   n o d e   k u b e l e t .   O n   e a c h   n o d e ,   k u b e a d m   d e t e c t s   t h e   C R I   s o c k e t   a n d   s t o r e s   i t s   d e t a i l s   i n t o   t h e   / v a r / l i b / k u b e l e t / i n s t a n c e - c o n f i g . y a m l   f i l e .   W h e n   e x e c u t i n g   t h e   i n i t ,   j o i n ,   o r   u p g r a d e   s u b c o m m a n d s ,   k u b e a d m   p a t c h e s   t h e   c o n t a i n e r R u n t i m e E n d p o i n t   v a l u e   f r o m   t h i s   i n s t a n c e   c o n f i g u r a t i o n   i n t o   / v a r / l i b / k u b e l e t / c o n f i g . y a m l .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/configure-cgroup-driver/",
    "id": "k8s_00500_section_4_9521"
  },
  {
    "question": "What is Using the cgroupfs driver?",
    "answer": "T o   u s e   c g r o u p f s   a n d   t o   p r e v e n t   k u b e a d m   u p g r a d e   f r o m   m o d i f y i n g   t h e   K u b e l e t C o n f i g u r a t i o n   c g r o u p   d r i v e r   o n   e x i s t i n g   s e t u p s ,   y o u   m u s t   b e   e x p l i c i t   a b o u t   i t s   v a l u e .   T h i s   a p p l i e s   t o   a   c a s e   w h e r e   y o u   d o   n o t   w i s h   f u t u r e   v e r s i o n s   o f   k u b e a d m   t o   a p p l y   t h e   s y s t e m d   d r i v e r   b y   d e f a u l t .   S e e   t h e   b e l o w   s e c t i o n   o n   \" M o d i f y   t h e   k u b e l e t   C o n f i g M a p \"   f o r   d e t a i l s   o n   h o w   t o   b e   e x p l i c i t   a b o u t   t h e   v a l u e .   I f   y o u   w i s h   t o   c o n f i g u r e   a   c o n t a i n e r   r u n t i m e   t o   u s e   t h e   c g r o u p f s   d r i v e r ,   y o u   m u s t   r e f e r   t o   t h e   d o c u m e n t a t i o n   o f   t h e   c o n t a i n e r   r u n t i m e   o f   y o u r   c h o i c e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/configure-cgroup-driver/",
    "id": "k8s_00500_section_2_9522"
  },
  {
    "question": "What is Migrating to the systemd driver?",
    "answer": "T o   c h a n g e   t h e   c g r o u p   d r i v e r   o f   a n   e x i s t i n g   k u b e a d m   c l u s t e r   f r o m   c g r o u p f s   t o   s y s t e m d   i n - p l a c e ,   a   s i m i l a r   p r o c e d u r e   t o   a   k u b e l e t   u p g r a d e   i s   r e q u i r e d .   T h i s   m u s t   i n c l u d e   b o t h   s t e p s   o u t l i n e d   b e l o w .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/configure-cgroup-driver/",
    "id": "k8s_00500_section_2_9523"
  },
  {
    "question": "What is Modify the kubelet ConfigMap?",
    "answer": "C a l l   k u b e c t l   e d i t   c m   k u b e l e t - c o n f i g   - n   k u b e - s y s t e m . E i t h e r   m o d i f y   t h e   e x i s t i n g   c g r o u p D r i v e r   v a l u e   o r   a d d   a   n e w   f i e l d   t h a t   l o o k s   l i k e   t h i s : c g r o u p D r i v e r :   s y s t e m d   T h i s   f i e l d   m u s t   b e   p r e s e n t   u n d e r   t h e   k u b e l e t :   s e c t i o n   o f   t h e   C o n f i g M a p .   C a l l   k u b e c t l   e d i t   c m   k u b e l e t - c o n f i g   - n   k u b e - s y s t e m .   E i t h e r   m o d i f y   t h e   e x i s t i n g   c g r o u p D r i v e r   v a l u e   o r   a d d   a   n e w   f i e l d   t h a t   l o o k s   l i k e   t h i s :   c g r o u p D r i v e r :   s y s t e m d   T h i s   f i e l d   m u s t   b e   p r e s e n t   u n d e r   t h e   k u b e l e t :   s e c t i o n   o f   t h e   C o n f i g M a p .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/configure-cgroup-driver/",
    "id": "k8s_00500_section_3_9524"
  },
  {
    "question": "What is Update the cgroup driver on all nodes?",
    "answer": "F o r   e a c h   n o d e   i n   t h e   c l u s t e r :   D r a i n   t h e   n o d e   u s i n g   k u b e c t l   d r a i n   < n o d e - n a m e >   - - i g n o r e - d a e m o n s e t s S t o p   t h e   k u b e l e t   u s i n g   s y s t e m c t l   s t o p   k u b e l e t S t o p   t h e   c o n t a i n e r   r u n t i m e M o d i f y   t h e   c o n t a i n e r   r u n t i m e   c g r o u p   d r i v e r   t o   s y s t e m d S e t   c g r o u p D r i v e r :   s y s t e m d   i n   / v a r / l i b / k u b e l e t / c o n f i g . y a m l S t a r t   t h e   c o n t a i n e r   r u n t i m e S t a r t   t h e   k u b e l e t   u s i n g   s y s t e m c t l   s t a r t   k u b e l e t U n c o r d o n   t h e   n o d e   u s i n g   k u b e c t l   u n c o r d o n   < n o d e - n a m e >   E x e c u t e   t h e s e   s t e p s   o n   n o d e s   o n e   a t   a   t i m e   t o   e n s u r e   w o r k l o a d s   h a v e   s u f f i c i e n t   t i m e   t o   s c h e d u l e   o n   d i f f e r e n t   n o d e s .   O n c e   t h e   p r o c e s s   i s   c o m p l e t e   e n s u r e   t h a t   a l l   n o d e s   a n d   w o r k l o a d s   a r e   h e a l t h y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/configure-cgroup-driver/",
    "id": "k8s_00500_section_3_9525"
  },
  {
    "question": "What is Network Plugins?",
    "answer": "Network PluginsKubernetes (version 1.3 through to the latest 1.34, and likely onwards) lets you use Container Network Interface (CNI) plugins for cluster networking. You must use a CNI plugin that is compatible with your cluster and that suits your needs. Different plugins are available (both open- and closed- source) in the wider Kubernetes ecosystem.A CNI plugin is required to implement the Kubernetes network model.You must use a CNI plugin that is compatible with the v0.4.0 or later releases of the CNI specification. The Kubernetes project recommends using a plugin that is compatible with the v1.0.0 CNI specification (plugins can be compatible with multiple spec versions).InstallationA Container Runtime, in the networking context, is a daemon on a node configured to provide CRI Services for kubelet. In particular, the Container Runtime must be configured to load the CNI plugins required to implement the Kubernetes network model.Note:Prior to Kubernetes 1.24, the CNI plugins could also be managed by the kubelet using the cni-bin-dir and network-plugin command-line parameters. These command-line parameters were removed in Kubernetes 1.24, with management of the CNI no longer in scope for kubelet.See Troubleshooting CNI plugin-related errors if you are facing issues following the removal of dockershim.For specific information about how a Container Runtime manages the CNI plugins, see the documentation for that Container Runtime, for example:containerdCRI-OFor specific information about how to install and manage a CNI plugin, see the documentation for that plugin or networking provider.Network Plugin RequirementsLoopback CNIIn addition to the CNI plugin installed on the nodes for implementing the Kubernetes network model, Kubernetes also requires the container runtimes to provide a loopback interface lo, which is used for each sandbox (pod sandboxes, vm sandboxes, ...). Implementing the loopback interface can be accomplished by re-using the CNI loopback plugin. or by developing your own code to achieve this (see this example from CRI-O).Support hostPortThe CNI networking plugin supports hostPort. You can use the official portmap plugin offered by the CNI plugin team or use your own plugin with portMapping functionality.If you want to enable hostPort support, you must specify portMappings capability in your cni-conf-dir. For example:{ \"name\": \"k8s-pod-network\", \"cniVersion\": \"0.4.0\", \"plugins\": [ { \"type\": \"calico\", \"log_level\": \"info\", \"datastore_type\": \"kubernetes\", \"nodename\": \"127.0.0.1\", \"ipam\": { \"type\": \"host-local\", \"subnet\": \"usePodCidr\" }, \"policy\": { \"type\": \"k8s\" }, \"kubernetes\": { \"kubeconfig\": \"/etc/cni/net.d/calico-kubeconfig\" } }, { \"type\": \"portmap\", \"capabilities\": {\"portMappings\": true}, \"externalSetMarkChain\": \"KUBE-MARK-MASQ\" } ] } Support traffic shapingExperimental FeatureThe CNI networking plugin also supports pod ingress and egress traffic shaping. You can use the official bandwidth plugin offered by the CNI plugin team or ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins/",
    "id": "k8s_00501_qa_9526"
  },
  {
    "question": "How does Network Plugins work?",
    "answer": "Network PluginsKubernetes (version 1.3 through to the latest 1.34, and likely onwards) lets you use Container Network Interface (CNI) plugins for cluster networking. You must use a CNI plugin that is compatible with your cluster and that suits your needs. Different plugins are available (both open- and closed- source) in the wider Kubernetes ecosystem.A CNI plugin is required to implement the Kubernetes network model.You must use a CNI plugin that is compatible with the v0.4.0 or later releases of the CNI specification. The Kubernetes project recommends using a plugin that is compatible with the v1.0.0 CNI specification (plugins can be compatible with multiple spec versions).InstallationA Container Runtime, in the networking context, is a daemon on a node configured to provide CRI Services for kubelet. In particular, the Container Runtime must be configured to load the CNI plugins required to implement the Kubernetes network model.Note:Prior to Kubernetes 1.24, the CNI plugins could also be managed by the kubelet using the cni-bin-dir and network-plugin command-line parameters. These command-line parameters were removed in Kubernetes 1.24, with management of the CNI no longer in scope for kubelet.See Troubleshooting CNI plugin-related errors if you are facing issues following the removal of dockershim.For specific information about how a Container Runtime manages the CNI plugins, see the documentation for that Container Runtime, for example:containerdCRI-OFor specific information about how to install and manage a CNI plugin, see the documentation for that plugin or networking provider.Network Plugin RequirementsLoopback CNIIn addition to the CNI plugin installed on the nodes for implementing the Kubernetes network model, Kubernetes also requires the container runtimes to provide a loopback interface lo, which is used for each sandbox (pod sandboxes, vm sandboxes, ...). Implementing the loopback interface can be accomplished by re-using the CNI loopback plugin. or by developing your own code to achieve this (see this example from CRI-O).Support hostPortThe CNI networking plugin supports hostPort. You can use the official portmap plugin offered by the CNI plugin team or use your own plugin with portMapping functionality.If you want to enable hostPort support, you must specify portMappings capability in your cni-conf-dir. For example:{ \"name\": \"k8s-pod-network\", \"cniVersion\": \"0.4.0\", \"plugins\": [ { \"type\": \"calico\", \"log_level\": \"info\", \"datastore_type\": \"kubernetes\", \"nodename\": \"127.0.0.1\", \"ipam\": { \"type\": \"host-local\", \"subnet\": \"usePodCidr\" }, \"policy\": { \"type\": \"k8s\" }, \"kubernetes\": { \"kubeconfig\": \"/etc/cni/net.d/calico-kubeconfig\" } }, { \"type\": \"portmap\", \"capabilities\": {\"portMappings\": true}, \"externalSetMarkChain\": \"KUBE-MARK-MASQ\" } ] } Support traffic shapingExperimental FeatureThe CNI networking plugin also supports pod ingress and egress traffic shaping. You can use the official bandwidth plugin offered by the CNI plugin team or ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins/",
    "id": "k8s_00501_qa_9527"
  },
  {
    "question": "When would you use Network Plugins?",
    "answer": "Network PluginsKubernetes (version 1.3 through to the latest 1.34, and likely onwards) lets you use Container Network Interface (CNI) plugins for cluster networking. You must use a CNI plugin that is compatible with your cluster and that suits your needs. Different plugins are available (both open- and closed- source) in the wider Kubernetes ecosystem.A CNI plugin is required to implement the Kubernetes network model.You must use a CNI plugin that is compatible with the v0.4.0 or later releases of the CNI specification. The Kubernetes project recommends using a plugin that is compatible with the v1.0.0 CNI specification (plugins can be compatible with multiple spec versions).InstallationA Container Runtime, in the networking context, is a daemon on a node configured to provide CRI Services for kubelet. In particular, the Container Runtime must be configured to load the CNI plugins required to implement the Kubernetes network model.Note:Prior to Kubernetes 1.24, the CNI plugins could also be managed by the kubelet using the cni-bin-dir and network-plugin command-line parameters. These command-line parameters were removed in Kubernetes 1.24, with management of the CNI no longer in scope for kubelet.See Troubleshooting CNI plugin-related errors if you are facing issues following the removal of dockershim.For specific information about how a Container Runtime manages the CNI plugins, see the documentation for that Container Runtime, for example:containerdCRI-OFor specific information about how to install and manage a CNI plugin, see the documentation for that plugin or networking provider.Network Plugin RequirementsLoopback CNIIn addition to the CNI plugin installed on the nodes for implementing the Kubernetes network model, Kubernetes also requires the container runtimes to provide a loopback interface lo, which is used for each sandbox (pod sandboxes, vm sandboxes, ...). Implementing the loopback interface can be accomplished by re-using the CNI loopback plugin. or by developing your own code to achieve this (see this example from CRI-O).Support hostPortThe CNI networking plugin supports hostPort. You can use the official portmap plugin offered by the CNI plugin team or use your own plugin with portMapping functionality.If you want to enable hostPort support, you must specify portMappings capability in your cni-conf-dir. For example:{ \"name\": \"k8s-pod-network\", \"cniVersion\": \"0.4.0\", \"plugins\": [ { \"type\": \"calico\", \"log_level\": \"info\", \"datastore_type\": \"kubernetes\", \"nodename\": \"127.0.0.1\", \"ipam\": { \"type\": \"host-local\", \"subnet\": \"usePodCidr\" }, \"policy\": { \"type\": \"k8s\" }, \"kubernetes\": { \"kubeconfig\": \"/etc/cni/net.d/calico-kubeconfig\" } }, { \"type\": \"portmap\", \"capabilities\": {\"portMappings\": true}, \"externalSetMarkChain\": \"KUBE-MARK-MASQ\" } ] } Support traffic shapingExperimental FeatureThe CNI networking plugin also supports pod ingress and egress traffic shaping. You can use the official bandwidth plugin offered by the CNI plugin team or ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins/",
    "id": "k8s_00501_qa_9528"
  },
  {
    "question": "What are the benefits of Network Plugins?",
    "answer": "Network PluginsKubernetes (version 1.3 through to the latest 1.34, and likely onwards) lets you use Container Network Interface (CNI) plugins for cluster networking. You must use a CNI plugin that is compatible with your cluster and that suits your needs. Different plugins are available (both open- and closed- source) in the wider Kubernetes ecosystem.A CNI plugin is required to implement the Kubernetes network model.You must use a CNI plugin that is compatible with the v0.4.0 or later releases of the CNI specification. The Kubernetes project recommends using a plugin that is compatible with the v1.0.0 CNI specification (plugins can be compatible with multiple spec versions).InstallationA Container Runtime, in the networking context, is a daemon on a node configured to provide CRI Services for kubelet. In particular, the Container Runtime must be configured to load the CNI plugins required to implement the Kubernetes network model.Note:Prior to Kubernetes 1.24, the CNI plugins could also be managed by the kubelet using the cni-bin-dir and network-plugin command-line parameters. These command-line parameters were removed in Kubernetes 1.24, with management of the CNI no longer in scope for kubelet.See Troubleshooting CNI plugin-related errors if you are facing issues following the removal of dockershim.For specific information about how a Container Runtime manages the CNI plugins, see the documentation for that Container Runtime, for example:containerdCRI-OFor specific information about how to install and manage a CNI plugin, see the documentation for that plugin or networking provider.Network Plugin RequirementsLoopback CNIIn addition to the CNI plugin installed on the nodes for implementing the Kubernetes network model, Kubernetes also requires the container runtimes to provide a loopback interface lo, which is used for each sandbox (pod sandboxes, vm sandboxes, ...). Implementing the loopback interface can be accomplished by re-using the CNI loopback plugin. or by developing your own code to achieve this (see this example from CRI-O).Support hostPortThe CNI networking plugin supports hostPort. You can use the official portmap plugin offered by the CNI plugin team or use your own plugin with portMapping functionality.If you want to enable hostPort support, you must specify portMappings capability in your cni-conf-dir. For example:{ \"name\": \"k8s-pod-network\", \"cniVersion\": \"0.4.0\", \"plugins\": [ { \"type\": \"calico\", \"log_level\": \"info\", \"datastore_type\": \"kubernetes\", \"nodename\": \"127.0.0.1\", \"ipam\": { \"type\": \"host-local\", \"subnet\": \"usePodCidr\" }, \"policy\": { \"type\": \"k8s\" }, \"kubernetes\": { \"kubeconfig\": \"/etc/cni/net.d/calico-kubeconfig\" } }, { \"type\": \"portmap\", \"capabilities\": {\"portMappings\": true}, \"externalSetMarkChain\": \"KUBE-MARK-MASQ\" } ] } Support traffic shapingExperimental FeatureThe CNI networking plugin also supports pod ingress and egress traffic shaping. You can use the official bandwidth plugin offered by the CNI plugin team or ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins/",
    "id": "k8s_00501_qa_9529"
  },
  {
    "question": "What is Network Plugins?",
    "answer": "K u b e r n e t e s   ( v e r s i o n   1 . 3   t h r o u g h   t o   t h e   l a t e s t   1 . 3 4 ,   a n d   l i k e l y   o n w a r d s )   l e t s   y o u   u s e   C o n t a i n e r   N e t w o r k   I n t e r f a c e   ( C N I )   p l u g i n s   f o r   c l u s t e r   n e t w o r k i n g .   Y o u   m u s t   u s e   a   C N I   p l u g i n   t h a t   i s   c o m p a t i b l e   w i t h   y o u r   c l u s t e r   a n d   t h a t   s u i t s   y o u r   n e e d s .   D i f f e r e n t   p l u g i n s   a r e   a v a i l a b l e   ( b o t h   o p e n -   a n d   c l o s e d -   s o u r c e )   i n   t h e   w i d e r   K u b e r n e t e s   e c o s y s t e m .   A   C N I   p l u g i n   i s   r e q u i r e d   t o   i m p l e m e n t   t h e   K u b e r n e t e s   n e t w o r k   m o d e l .   Y o u   m u s t   u s e   a   C N I   p l u g i n   t h a t   i s   c o m p a t i b l e   w i t h   t h e   v 0 . 4 . 0   o r   l a t e r   r e l e a s e s   o f   t h e   C N I   s p e c i f i c a t i o n .   T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   u s i n g   a   p l u g i n   t h a t   i s   c o m p a t i b l e   w i t h   t h e   v 1 . 0 . 0   C N I   s p e c i f i c a t i o n   ( p l u g i n s   c a n   b e   c o m p a t i b l e   w i t h   m u l t i p l e   s p e c   v e r s i o n s ) .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins/",
    "id": "k8s_00501_section_1_9530"
  },
  {
    "question": "What is Installation?",
    "answer": "A   C o n t a i n e r   R u n t i m e ,   i n   t h e   n e t w o r k i n g   c o n t e x t ,   i s   a   d a e m o n   o n   a   n o d e   c o n f i g u r e d   t o   p r o v i d e   C R I   S e r v i c e s   f o r   k u b e l e t .   I n   p a r t i c u l a r ,   t h e   C o n t a i n e r   R u n t i m e   m u s t   b e   c o n f i g u r e d   t o   l o a d   t h e   C N I   p l u g i n s   r e q u i r e d   t o   i m p l e m e n t   t h e   K u b e r n e t e s   n e t w o r k   m o d e l .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins/",
    "id": "k8s_00501_section_2_9531"
  },
  {
    "question": "What is Note:?",
    "answer": "P r i o r   t o   K u b e r n e t e s   1 . 2 4 ,   t h e   C N I   p l u g i n s   c o u l d   a l s o   b e   m a n a g e d   b y   t h e   k u b e l e t   u s i n g   t h e   c n i - b i n - d i r   a n d   n e t w o r k - p l u g i n   c o m m a n d - l i n e   p a r a m e t e r s .   T h e s e   c o m m a n d - l i n e   p a r a m e t e r s   w e r e   r e m o v e d   i n   K u b e r n e t e s   1 . 2 4 ,   w i t h   m a n a g e m e n t   o f   t h e   C N I   n o   l o n g e r   i n   s c o p e   f o r   k u b e l e t .   S e e   T r o u b l e s h o o t i n g   C N I   p l u g i n - r e l a t e d   e r r o r s   i f   y o u   a r e   f a c i n g   i s s u e s   f o l l o w i n g   t h e   r e m o v a l   o f   d o c k e r s h i m .   F o r   s p e c i f i c   i n f o r m a t i o n   a b o u t   h o w   a   C o n t a i n e r   R u n t i m e   m a n a g e s   t h e   C N I   p l u g i n s ,   s e e   t h e   d o c u m e n t a t i o n   f o r   t h a t   C o n t a i n e r   R u n t i m e ,   f o r   e x a m p l e :   c o n t a i n e r d C R I - O   F o r   s p e c i f i c   i n f o r m a t i o n   a b o u t   h o w   t o   i n s t a l l   a n d   m a n a g e   a   C N I   p l u g i n ,   s e e   t h e   d o c u m e n t a t i o n   f o r   t h a t   p l u g i n   o r   n e t w o r k i n g   p r o v i d e r .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins/",
    "id": "k8s_00501_section_4_9532"
  },
  {
    "question": "What is Loopback CNI?",
    "answer": "I n   a d d i t i o n   t o   t h e   C N I   p l u g i n   i n s t a l l e d   o n   t h e   n o d e s   f o r   i m p l e m e n t i n g   t h e   K u b e r n e t e s   n e t w o r k   m o d e l ,   K u b e r n e t e s   a l s o   r e q u i r e s   t h e   c o n t a i n e r   r u n t i m e s   t o   p r o v i d e   a   l o o p b a c k   i n t e r f a c e   l o ,   w h i c h   i s   u s e d   f o r   e a c h   s a n d b o x   ( p o d   s a n d b o x e s ,   v m   s a n d b o x e s ,   . . . ) .   I m p l e m e n t i n g   t h e   l o o p b a c k   i n t e r f a c e   c a n   b e   a c c o m p l i s h e d   b y   r e - u s i n g   t h e   C N I   l o o p b a c k   p l u g i n .   o r   b y   d e v e l o p i n g   y o u r   o w n   c o d e   t o   a c h i e v e   t h i s   ( s e e   t h i s   e x a m p l e   f r o m   C R I - O ) .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins/",
    "id": "k8s_00501_section_3_9533"
  },
  {
    "question": "What is Support hostPort?",
    "answer": "T h e   C N I   n e t w o r k i n g   p l u g i n   s u p p o r t s   h o s t P o r t .   Y o u   c a n   u s e   t h e   o f f i c i a l   p o r t m a p   p l u g i n   o f f e r e d   b y   t h e   C N I   p l u g i n   t e a m   o r   u s e   y o u r   o w n   p l u g i n   w i t h   p o r t M a p p i n g   f u n c t i o n a l i t y .   I f   y o u   w a n t   t o   e n a b l e   h o s t P o r t   s u p p o r t ,   y o u   m u s t   s p e c i f y   p o r t M a p p i n g s   c a p a b i l i t y   i n   y o u r   c n i - c o n f - d i r .   F o r   e x a m p l e :   {   \" n a m e \" :   \" k 8 s - p o d - n e t w o r k \" ,   \" c n i V e r s i o n \" :   \" 0 . 4 . 0 \" ,   \" p l u g i n s \" :   [   {   \" t y p e \" :   \" c a l i c o \" ,   \" l o g _ l e v e l \" :   \" i n f o \" ,   \" d a t a s t o r e _ t y p e \" :   \" k u b e r n e t e s \" ,   \" n o d e n a m e \" :   \" 1 2 7 . 0 . 0 . 1 \" ,   \" i p a m \" :   {   \" t y p e \" :   \" h o s t - l o c a l \" ,   \" s u b n e t \" :   \" u s e P o d C i d r \"   } ,   \" p o l i c y \" :   {   \" t y p e \" :   \" k 8 s \"   } ,   \" k u b e r n e t e s \" :   {   \" k u b e c o n f i g \" :   \" / e t c / c n i / n e t . d / c a l i c o - k u b e c o n f i g \"   }   } ,   {   \" t y p e \" :   \" p o r t m a p \" ,   \" c a p a b i l i t i e s \" :   { \" p o r t M a p p i n g s \" :   t r u e } ,   \" e x t e r n a l S e t M a r k C h a i n \" :   \" K U B E - M A R K - M A S Q \"   }   ]   }",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins/",
    "id": "k8s_00501_section_3_9534"
  },
  {
    "question": "What is Support traffic shaping?",
    "answer": "E x p e r i m e n t a l   F e a t u r e   T h e   C N I   n e t w o r k i n g   p l u g i n   a l s o   s u p p o r t s   p o d   i n g r e s s   a n d   e g r e s s   t r a f f i c   s h a p i n g .   Y o u   c a n   u s e   t h e   o f f i c i a l   b a n d w i d t h   p l u g i n   o f f e r e d   b y   t h e   C N I   p l u g i n   t e a m   o r   u s e   y o u r   o w n   p l u g i n   w i t h   b a n d w i d t h   c o n t r o l   f u n c t i o n a l i t y .   I f   y o u   w a n t   t o   e n a b l e   t r a f f i c   s h a p i n g   s u p p o r t ,   y o u   m u s t   a d d   t h e   b a n d w i d t h   p l u g i n   t o   y o u r   C N I   c o n f i g u r a t i o n   f i l e   ( d e f a u l t   / e t c / c n i / n e t . d )   a n d   e n s u r e   t h a t   t h e   b i n a r y   i s   i n c l u d e d   i n   y o u r   C N I   b i n   d i r   ( d e f a u l t   / o p t / c n i / b i n ) .   {   \" n a m e \" :   \" k 8 s - p o d - n e t w o r k \" ,   \" c n i V e r s i o n \" :   \" 0 . 4 . 0 \" ,   \" p l u g i n s \" :   [   {   \" t y p e \" :   \" c a l i c o \" ,   \" l o g _ l e v e l \" :   \" i n f o \" ,   \" d a t a s t o r e _ t y p e \" :   \" k u b e r n e t e s \" ,   \" n o d e n a m e \" :   \" 1 2 7 . 0 . 0 . 1 \" ,   \" i p a m \" :   {   \" t y p e \" :   \" h o s t - l o c a l \" ,   \" s u b n e t \" :   \" u s e P o d C i d r \"   } ,   \" p o l i c y \" :   {   \" t y p e \" :   \" k 8 s \"   } ,   \" k u b e r n e t e s \" :   {   \" k u b e c o n f i g \" :   \" / e t c / c n i / n e t . d / c a l i c o - k u b e c o n f i g \"   }   } ,   {   \" t y p e \" :   \" b a n d w i d t h \" ,   \" c a p a b i l i t i e s \" :   { \" b a n d w i d t h \" :   t r u e }   }   ]   }   N o w   y o u   c a n   a d d   t h e   k u b e r n e t e s . i o / i n g r e s s - b a n d w i d t h   a n d   k u b e r n e t e s . i o / e g r e s s - b a n d w i d t h   a n n o t a t i o n s   t o   y o u r   P o d .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins/",
    "id": "k8s_00501_section_3_9535"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   C l u s t e r   N e t w o r k i n g L e a r n   m o r e   a b o u t   N e t w o r k   P o l i c i e s L e a r n   a b o u t   t h e   T r o u b l e s h o o t i n g   C N I   p l u g i n - r e l a t e d   e r r o r s",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins/",
    "id": "k8s_00501_section_2_9536"
  },
  {
    "question": "What is Define Environment Variable Values Using An Init Container?",
    "answer": "Define Environment Variable Values Using An Init ContainerFEATURE STATE: Kubernetes v1.34 [alpha] (enabled by default: false)This page show how to configure environment variables for containers in a Pod via file.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be version v1.34.To check the version, enter kubectl version.How the design worksIn this exercise, you will create a Pod that sources environment variables from files, projecting these values into the running container.pods/inject/envars-file-container.yaml apiVersion: v1 kind: Pod metadata: name: envfile-test-pod spec: initContainers: - name: setup-envfile image: nginx command: ['sh', '-c', 'echo \"DB_ADDRESS=address\\nREST_ENDPOINT=endpoint\" > /data/config.env'] volumeMounts: - name: config mountPath: /data containers: - name: use-envfile image: nginx command: [ \"/bin/sh\", \"-c\", \"env\" ] env: - name: DB_ADDRESS valueFrom: fileKeyRef: path: config.env volumeName: config key: DB_ADDRESS optional: false restartPolicy: Never volumes: - name: config emptyDir: {}In this manifest, you can see the initContainer mounts an emptyDir volume and writes environment variables to a file within it, and the regular containers reference both the file and the environment variable key through the fileKeyRef field without needing to mount the volume. When optional field is set to false, the specified key in fileKeyRef must exist in the environment variables file.The volume will only be mounted to the container that writes to the file (initContainer), while the consumer container that consumes the environment variable will not have the volume mounted.The env file format adheres to the kubernetes env file standard.During container initialization, the kubelet retrieves environment variables from specified files in the emptyDir volume and exposes them to the container.Note:All container types (initContainers, regular containers, sidecars containers, and ephemeral containers) support environment variable loading from files.While these environment variables can store sensitive information, emptyDir volumes don't provide the same protection mechanisms as dedicated Secret objects. Therefore, exposing confidential environment variables to containers through this feature is not considered a security best practice.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/inject/envars-file-container.yaml Verify that the container in the Pod is running:# If the new Pod isn't yet healthy, rerun this command a few times. kubectl get pods Check container logs for environment variables:kubectl logs dapi-test-pod -c ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-via-file/",
    "id": "k8s_00502_qa_9537"
  },
  {
    "question": "How does Define Environment Variable Values Using An Init Container work?",
    "answer": "Define Environment Variable Values Using An Init ContainerFEATURE STATE: Kubernetes v1.34 [alpha] (enabled by default: false)This page show how to configure environment variables for containers in a Pod via file.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be version v1.34.To check the version, enter kubectl version.How the design worksIn this exercise, you will create a Pod that sources environment variables from files, projecting these values into the running container.pods/inject/envars-file-container.yaml apiVersion: v1 kind: Pod metadata: name: envfile-test-pod spec: initContainers: - name: setup-envfile image: nginx command: ['sh', '-c', 'echo \"DB_ADDRESS=address\\nREST_ENDPOINT=endpoint\" > /data/config.env'] volumeMounts: - name: config mountPath: /data containers: - name: use-envfile image: nginx command: [ \"/bin/sh\", \"-c\", \"env\" ] env: - name: DB_ADDRESS valueFrom: fileKeyRef: path: config.env volumeName: config key: DB_ADDRESS optional: false restartPolicy: Never volumes: - name: config emptyDir: {}In this manifest, you can see the initContainer mounts an emptyDir volume and writes environment variables to a file within it, and the regular containers reference both the file and the environment variable key through the fileKeyRef field without needing to mount the volume. When optional field is set to false, the specified key in fileKeyRef must exist in the environment variables file.The volume will only be mounted to the container that writes to the file (initContainer), while the consumer container that consumes the environment variable will not have the volume mounted.The env file format adheres to the kubernetes env file standard.During container initialization, the kubelet retrieves environment variables from specified files in the emptyDir volume and exposes them to the container.Note:All container types (initContainers, regular containers, sidecars containers, and ephemeral containers) support environment variable loading from files.While these environment variables can store sensitive information, emptyDir volumes don't provide the same protection mechanisms as dedicated Secret objects. Therefore, exposing confidential environment variables to containers through this feature is not considered a security best practice.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/inject/envars-file-container.yaml Verify that the container in the Pod is running:# If the new Pod isn't yet healthy, rerun this command a few times. kubectl get pods Check container logs for environment variables:kubectl logs dapi-test-pod -c ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-via-file/",
    "id": "k8s_00502_qa_9538"
  },
  {
    "question": "When would you use Define Environment Variable Values Using An Init Container?",
    "answer": "Define Environment Variable Values Using An Init ContainerFEATURE STATE: Kubernetes v1.34 [alpha] (enabled by default: false)This page show how to configure environment variables for containers in a Pod via file.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be version v1.34.To check the version, enter kubectl version.How the design worksIn this exercise, you will create a Pod that sources environment variables from files, projecting these values into the running container.pods/inject/envars-file-container.yaml apiVersion: v1 kind: Pod metadata: name: envfile-test-pod spec: initContainers: - name: setup-envfile image: nginx command: ['sh', '-c', 'echo \"DB_ADDRESS=address\\nREST_ENDPOINT=endpoint\" > /data/config.env'] volumeMounts: - name: config mountPath: /data containers: - name: use-envfile image: nginx command: [ \"/bin/sh\", \"-c\", \"env\" ] env: - name: DB_ADDRESS valueFrom: fileKeyRef: path: config.env volumeName: config key: DB_ADDRESS optional: false restartPolicy: Never volumes: - name: config emptyDir: {}In this manifest, you can see the initContainer mounts an emptyDir volume and writes environment variables to a file within it, and the regular containers reference both the file and the environment variable key through the fileKeyRef field without needing to mount the volume. When optional field is set to false, the specified key in fileKeyRef must exist in the environment variables file.The volume will only be mounted to the container that writes to the file (initContainer), while the consumer container that consumes the environment variable will not have the volume mounted.The env file format adheres to the kubernetes env file standard.During container initialization, the kubelet retrieves environment variables from specified files in the emptyDir volume and exposes them to the container.Note:All container types (initContainers, regular containers, sidecars containers, and ephemeral containers) support environment variable loading from files.While these environment variables can store sensitive information, emptyDir volumes don't provide the same protection mechanisms as dedicated Secret objects. Therefore, exposing confidential environment variables to containers through this feature is not considered a security best practice.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/inject/envars-file-container.yaml Verify that the container in the Pod is running:# If the new Pod isn't yet healthy, rerun this command a few times. kubectl get pods Check container logs for environment variables:kubectl logs dapi-test-pod -c ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-via-file/",
    "id": "k8s_00502_qa_9539"
  },
  {
    "question": "What are the benefits of Define Environment Variable Values Using An Init Container?",
    "answer": "Define Environment Variable Values Using An Init ContainerFEATURE STATE: Kubernetes v1.34 [alpha] (enabled by default: false)This page show how to configure environment variables for containers in a Pod via file.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be version v1.34.To check the version, enter kubectl version.How the design worksIn this exercise, you will create a Pod that sources environment variables from files, projecting these values into the running container.pods/inject/envars-file-container.yaml apiVersion: v1 kind: Pod metadata: name: envfile-test-pod spec: initContainers: - name: setup-envfile image: nginx command: ['sh', '-c', 'echo \"DB_ADDRESS=address\\nREST_ENDPOINT=endpoint\" > /data/config.env'] volumeMounts: - name: config mountPath: /data containers: - name: use-envfile image: nginx command: [ \"/bin/sh\", \"-c\", \"env\" ] env: - name: DB_ADDRESS valueFrom: fileKeyRef: path: config.env volumeName: config key: DB_ADDRESS optional: false restartPolicy: Never volumes: - name: config emptyDir: {}In this manifest, you can see the initContainer mounts an emptyDir volume and writes environment variables to a file within it, and the regular containers reference both the file and the environment variable key through the fileKeyRef field without needing to mount the volume. When optional field is set to false, the specified key in fileKeyRef must exist in the environment variables file.The volume will only be mounted to the container that writes to the file (initContainer), while the consumer container that consumes the environment variable will not have the volume mounted.The env file format adheres to the kubernetes env file standard.During container initialization, the kubelet retrieves environment variables from specified files in the emptyDir volume and exposes them to the container.Note:All container types (initContainers, regular containers, sidecars containers, and ephemeral containers) support environment variable loading from files.While these environment variables can store sensitive information, emptyDir volumes don't provide the same protection mechanisms as dedicated Secret objects. Therefore, exposing confidential environment variables to containers through this feature is not considered a security best practice.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/inject/envars-file-container.yaml Verify that the container in the Pod is running:# If the new Pod isn't yet healthy, rerun this command a few times. kubectl get pods Check container logs for environment variables:kubectl logs dapi-test-pod -c ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-via-file/",
    "id": "k8s_00502_qa_9540"
  },
  {
    "question": "What is Define Environment Variable Values Using An Init Container?",
    "answer": "T h i s   p a g e   s h o w   h o w   t o   c o n f i g u r e   e n v i r o n m e n t   v a r i a b l e s   f o r   c o n t a i n e r s   i n   a   P o d   v i a   f i l e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-via-file/",
    "id": "k8s_00502_section_1_9541"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   v e r s i o n   v 1 . 3 4 .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-via-file/",
    "id": "k8s_00502_section_2_9542"
  },
  {
    "question": "What is How the design works?",
    "answer": "I n   t h i s   e x e r c i s e ,   y o u   w i l l   c r e a t e   a   P o d   t h a t   s o u r c e s   e n v i r o n m e n t   v a r i a b l e s   f r o m   f i l e s ,   p r o j e c t i n g   t h e s e   v a l u e s   i n t o   t h e   r u n n i n g   c o n t a i n e r .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e n v f i l e - t e s t - p o d   s p e c :   i n i t C o n t a i n e r s :   -   n a m e :   s e t u p - e n v f i l e   i m a g e :   n g i n x   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   ' e c h o   \" D B _ A D D R E S S = a d d r e s s \\ n R E S T _ E N D P O I N T = e n d p o i n t \"   >   / d a t a / c o n f i g . e n v ' ]   v o l u m e M o u n t s :   -   n a m e :   c o n f i g   m o u n t P a t h :   / d a t a   c o n t a i n e r s :   -   n a m e :   u s e - e n v f i l e   i m a g e :   n g i n x   c o m m a n d :   [   \" / b i n / s h \" ,   \" - c \" ,   \" e n v \"   ]   e n v :   -   n a m e :   D B _ A D D R E S S   v a l u e F r o m :   f i l e K e y R e f :   p a t h :   c o n f i g . e n v   v o l u m e N a m e :   c o n f i g   k e y :   D B _ A D D R E S S   o p t i o n a l :   f a l s e   r e s t a r t P o l i c y :   N e v e r   v o l u m e s :   -   n a m e :   c o n f i g   e m p t y D i r :   { }   I n   t h i s   m a n i f e s t ,   y o u   c a n   s e e   t h e   i n i t C o n t a i n e r   m o u n t s   a n   e m p t y D i r   v o l u m e   a n d   w r i t e s   e n v i r o n m e n t   v a r i a b l e s   t o   a   f i l e   w i t h i n   i t ,   a n d   t h e   r e g u l a r   c o n t a i n e r s   r e f e r e n c e   b o t h   t h e   f i l e   a n d   t h e   e n v i r o n m e n t   v a r i a b l e   k e y   t h r o u g h   t h e   f i l e K e y R e f   f i e l d   w i t h o u t   n e e d i n g   t o   m o u n t   t h e   v o l u m e .   W h e n   o p t i o n a l   f i e l d   i s   s e t   t o   f a l s e ,   t h e   s p e c i f i e d   k e y   i n   f i l e K e y R e f   m u s t   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-via-file/",
    "id": "k8s_00502_section_2_9543"
  },
  {
    "question": "What is Note:?",
    "answer": "A l l   c o n t a i n e r   t y p e s   ( i n i t C o n t a i n e r s ,   r e g u l a r   c o n t a i n e r s ,   s i d e c a r s   c o n t a i n e r s ,   a n d   e p h e m e r a l   c o n t a i n e r s )   s u p p o r t   e n v i r o n m e n t   v a r i a b l e   l o a d i n g   f r o m   f i l e s .   W h i l e   t h e s e   e n v i r o n m e n t   v a r i a b l e s   c a n   s t o r e   s e n s i t i v e   i n f o r m a t i o n ,   e m p t y D i r   v o l u m e s   d o n ' t   p r o v i d e   t h e   s a m e   p r o t e c t i o n   m e c h a n i s m s   a s   d e d i c a t e d   S e c r e t   o b j e c t s .   T h e r e f o r e ,   e x p o s i n g   c o n f i d e n t i a l   e n v i r o n m e n t   v a r i a b l e s   t o   c o n t a i n e r s   t h r o u g h   t h i s   f e a t u r e   i s   n o t   c o n s i d e r e d   a   s e c u r i t y   b e s t   p r a c t i c e .   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i n j e c t / e n v a r s - f i l e - c o n t a i n e r . y a m l   V e r i f y   t h a t   t h e   c o n t a i n e r   i n   t h e   P o d   i s   r u n n i n g :   #   I f   t h e   n e w   P o d   i s n ' t   y e t   h e a l t h y ,   r e r u n   t h i s   c o m m a n d   a   f e w   t i m e s .   k u b e c t l   g e t   p o d s   C h e c k   c o n t a i n e r   l o g s   f o r   e n v i r o n m e n t   v a r i a b l e s :   k u b e c t l   l o g s   d a p i - t e s t - p o d   - c   u s e - e n v f i l e   |   g r e p   D B _ A D D R E S S   T h e   o u t p u t   s h o w s   t h e   v a l u e s   o f   s e l e c t e d   e n v i r o n m e n t   v a r i a b l e s :   D B _ A D D R E S S = a d d r e s s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-via-file/",
    "id": "k8s_00502_section_4_9544"
  },
  {
    "question": "What is Env File Syntax?",
    "answer": "T h e   f o r m a t   o f   K u b e r n e t e s   e n v   f i l e s   o r i g i n a t e s   f r o m   . e n v   f i l e s .   I n   a   s h e l l   e n v i r o n m e n t ,   . e n v   f i l e s   a r e   t y p i c a l l y   l o a d e d   u s i n g   t h e   s o u r c e   . e n v   c o m m a n d .   F o r   K u b e r n e t e s ,   t h e   d e f i n e d   e n v   f i l e   f o r m a t   a d h e r e s   t o   s t r i c t e r   s y n t a x   r u l e s :   B l a n k   L i n e s :   B l a n k   l i n e s   a r e   i g n o r e d . L e a d i n g   S p a c e s :   L e a d i n g   s p a c e s   o n   a l l   l i n e s   a r e   i g n o r e d . V a r i a b l e   D e c l a r a t i o n :   V a r i a b l e s   m u s t   b e   d e c l a r e d   a s   V A R = V A L .   S p a c e s   s u r r o u n d i n g   =   a n d   t r a i l i n g   s p a c e s   a r e   i g n o r e d . V A R = V A L   →   V A L   C o m m e n t s :   L i n e s   b e g i n n i n g   w i t h   #   a r e   t r e a t e d   a s   c o m m e n t s   a n d   i g n o r e d . #   c o m m e n t   V A R = V A L   →   V A L   V A R = V A L   #   n o t   a   c o m m e n t   →   V A L   #   n o t   a   c o m m e n t   L i n e   C o n t i n u a t i o n :   A   b a c k s l a s h   ( \\ )   a t   t h e   e n d   o f   a   v a r i a b l e   d e c l a r a t i o n   l i n e   i n d i c a t e s   t h e   v a l u e   c o n t i n u e s   o n   t h e   n e x t   l i n e .   T h e   l i n e s   a r e   j o i n e d   w i t h   a   s i n g l e   s p a c e . V A R = V A L   \\   V A L 2   →   V A L   V A L 2   B l a n k   L i n e s :   B l a n k   l i n e s   a r e   i g n o r e d .   L e a d i n g   S p a c e s :   L e a d i n g   s p a c e s   o n   a l l   l i n e s   a r e   i g n o r e d .   V a r i a b l e   D e c l a r a t i o n :   V a r i a b l e s   m u s t   b e   d e c l a r e d   a s   V A R = V A L .   S p a c e s   s u r r o u n d i n g   =   a n d   t r a i l i n g   s p a c e s   a r e   i g n o r e d .   V A R = V A L   →   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-via-file/",
    "id": "k8s_00502_section_2_9545"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   e n v i r o n m e n t   v a r i a b l e s . R e a d   D e f i n i n g   E n v i r o n m e n t   V a r i a b l e s   f o r   a   C o n t a i n e r R e a d   E x p o s e   P o d   I n f o r m a t i o n   t o   C o n t a i n e r s   T h r o u g h   E n v i r o n m e n t   V a r i a b l e s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-via-file/",
    "id": "k8s_00502_section_2_9546"
  },
  {
    "question": "What is Control Topology Management Policies on a node?",
    "answer": "Control Topology Management Policies on a nodeFEATURE STATE: Kubernetes v1.27 [stable]An increasing number of systems leverage a combination of CPUs and hardware accelerators to support latency-critical execution and high-throughput parallel computation. These include workloads in fields such as telecommunications, scientific computing, machine learning, financial services and data analytics. Such hybrid systems comprise a high performance environment.In order to extract the best performance, optimizations related to CPU isolation, memory and device locality are required. However, in Kubernetes, these optimizations are handled by a disjoint set of components.Topology Manager is a kubelet component that aims to coordinate the set of components that are responsible for these optimizations.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.18.To check the version, enter kubectl version.How topology manager worksPrior to the introduction of Topology Manager, the CPU and Device Manager in Kubernetes make resource allocation decisions independently of each other. This can result in undesirable allocations on multiple-socketed systems, and performance/latency sensitive applications will suffer due to these undesirable allocations. Undesirable in this case meaning, for example, CPUs and devices being allocated from different NUMA Nodes, thus incurring additional latency.The Topology Manager is a kubelet component, which acts as a source of truth so that other kubelet components can make topology aligned resource allocation choices.The Topology Manager provides an interface for components, called Hint Providers, to send and receive topology information. The Topology Manager has a set of node level policies which are explained below.The Topology Manager receives topology information from the Hint Providers as a bitmask denoting NUMA Nodes available and a preferred allocation indication. The Topology Manager policies perform a set of operations on the hints provided and converge on the hint determined by the policy to give the optimal result. If an undesirable hint is stored, the preferred field for the hint will be set to false. In the current policies preferred is the narrowest preferred mask. The selected hint is stored as part of the Topology Manager. Depending on the policy configured, the pod can be accepted or rejected from the node based on the selected hint. The hint is then stored in the Topology Manager for use by the Hint Providers when making the resource allocation decisions.Windows SupportFEATURE STATE: ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/",
    "id": "k8s_00503_qa_9547"
  },
  {
    "question": "How does Control Topology Management Policies on a node work?",
    "answer": "Control Topology Management Policies on a nodeFEATURE STATE: Kubernetes v1.27 [stable]An increasing number of systems leverage a combination of CPUs and hardware accelerators to support latency-critical execution and high-throughput parallel computation. These include workloads in fields such as telecommunications, scientific computing, machine learning, financial services and data analytics. Such hybrid systems comprise a high performance environment.In order to extract the best performance, optimizations related to CPU isolation, memory and device locality are required. However, in Kubernetes, these optimizations are handled by a disjoint set of components.Topology Manager is a kubelet component that aims to coordinate the set of components that are responsible for these optimizations.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.18.To check the version, enter kubectl version.How topology manager worksPrior to the introduction of Topology Manager, the CPU and Device Manager in Kubernetes make resource allocation decisions independently of each other. This can result in undesirable allocations on multiple-socketed systems, and performance/latency sensitive applications will suffer due to these undesirable allocations. Undesirable in this case meaning, for example, CPUs and devices being allocated from different NUMA Nodes, thus incurring additional latency.The Topology Manager is a kubelet component, which acts as a source of truth so that other kubelet components can make topology aligned resource allocation choices.The Topology Manager provides an interface for components, called Hint Providers, to send and receive topology information. The Topology Manager has a set of node level policies which are explained below.The Topology Manager receives topology information from the Hint Providers as a bitmask denoting NUMA Nodes available and a preferred allocation indication. The Topology Manager policies perform a set of operations on the hints provided and converge on the hint determined by the policy to give the optimal result. If an undesirable hint is stored, the preferred field for the hint will be set to false. In the current policies preferred is the narrowest preferred mask. The selected hint is stored as part of the Topology Manager. Depending on the policy configured, the pod can be accepted or rejected from the node based on the selected hint. The hint is then stored in the Topology Manager for use by the Hint Providers when making the resource allocation decisions.Windows SupportFEATURE STATE: ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/",
    "id": "k8s_00503_qa_9548"
  },
  {
    "question": "When would you use Control Topology Management Policies on a node?",
    "answer": "Control Topology Management Policies on a nodeFEATURE STATE: Kubernetes v1.27 [stable]An increasing number of systems leverage a combination of CPUs and hardware accelerators to support latency-critical execution and high-throughput parallel computation. These include workloads in fields such as telecommunications, scientific computing, machine learning, financial services and data analytics. Such hybrid systems comprise a high performance environment.In order to extract the best performance, optimizations related to CPU isolation, memory and device locality are required. However, in Kubernetes, these optimizations are handled by a disjoint set of components.Topology Manager is a kubelet component that aims to coordinate the set of components that are responsible for these optimizations.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.18.To check the version, enter kubectl version.How topology manager worksPrior to the introduction of Topology Manager, the CPU and Device Manager in Kubernetes make resource allocation decisions independently of each other. This can result in undesirable allocations on multiple-socketed systems, and performance/latency sensitive applications will suffer due to these undesirable allocations. Undesirable in this case meaning, for example, CPUs and devices being allocated from different NUMA Nodes, thus incurring additional latency.The Topology Manager is a kubelet component, which acts as a source of truth so that other kubelet components can make topology aligned resource allocation choices.The Topology Manager provides an interface for components, called Hint Providers, to send and receive topology information. The Topology Manager has a set of node level policies which are explained below.The Topology Manager receives topology information from the Hint Providers as a bitmask denoting NUMA Nodes available and a preferred allocation indication. The Topology Manager policies perform a set of operations on the hints provided and converge on the hint determined by the policy to give the optimal result. If an undesirable hint is stored, the preferred field for the hint will be set to false. In the current policies preferred is the narrowest preferred mask. The selected hint is stored as part of the Topology Manager. Depending on the policy configured, the pod can be accepted or rejected from the node based on the selected hint. The hint is then stored in the Topology Manager for use by the Hint Providers when making the resource allocation decisions.Windows SupportFEATURE STATE: ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/",
    "id": "k8s_00503_qa_9549"
  },
  {
    "question": "What are the benefits of Control Topology Management Policies on a node?",
    "answer": "Control Topology Management Policies on a nodeFEATURE STATE: Kubernetes v1.27 [stable]An increasing number of systems leverage a combination of CPUs and hardware accelerators to support latency-critical execution and high-throughput parallel computation. These include workloads in fields such as telecommunications, scientific computing, machine learning, financial services and data analytics. Such hybrid systems comprise a high performance environment.In order to extract the best performance, optimizations related to CPU isolation, memory and device locality are required. However, in Kubernetes, these optimizations are handled by a disjoint set of components.Topology Manager is a kubelet component that aims to coordinate the set of components that are responsible for these optimizations.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.18.To check the version, enter kubectl version.How topology manager worksPrior to the introduction of Topology Manager, the CPU and Device Manager in Kubernetes make resource allocation decisions independently of each other. This can result in undesirable allocations on multiple-socketed systems, and performance/latency sensitive applications will suffer due to these undesirable allocations. Undesirable in this case meaning, for example, CPUs and devices being allocated from different NUMA Nodes, thus incurring additional latency.The Topology Manager is a kubelet component, which acts as a source of truth so that other kubelet components can make topology aligned resource allocation choices.The Topology Manager provides an interface for components, called Hint Providers, to send and receive topology information. The Topology Manager has a set of node level policies which are explained below.The Topology Manager receives topology information from the Hint Providers as a bitmask denoting NUMA Nodes available and a preferred allocation indication. The Topology Manager policies perform a set of operations on the hints provided and converge on the hint determined by the policy to give the optimal result. If an undesirable hint is stored, the preferred field for the hint will be set to false. In the current policies preferred is the narrowest preferred mask. The selected hint is stored as part of the Topology Manager. Depending on the policy configured, the pod can be accepted or rejected from the node based on the selected hint. The hint is then stored in the Topology Manager for use by the Hint Providers when making the resource allocation decisions.Windows SupportFEATURE STATE: ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/",
    "id": "k8s_00503_qa_9550"
  },
  {
    "question": "What is Control Topology Management Policies on a node?",
    "answer": "A n   i n c r e a s i n g   n u m b e r   o f   s y s t e m s   l e v e r a g e   a   c o m b i n a t i o n   o f   C P U s   a n d   h a r d w a r e   a c c e l e r a t o r s   t o   s u p p o r t   l a t e n c y - c r i t i c a l   e x e c u t i o n   a n d   h i g h - t h r o u g h p u t   p a r a l l e l   c o m p u t a t i o n .   T h e s e   i n c l u d e   w o r k l o a d s   i n   f i e l d s   s u c h   a s   t e l e c o m m u n i c a t i o n s ,   s c i e n t i f i c   c o m p u t i n g ,   m a c h i n e   l e a r n i n g ,   f i n a n c i a l   s e r v i c e s   a n d   d a t a   a n a l y t i c s .   S u c h   h y b r i d   s y s t e m s   c o m p r i s e   a   h i g h   p e r f o r m a n c e   e n v i r o n m e n t .   I n   o r d e r   t o   e x t r a c t   t h e   b e s t   p e r f o r m a n c e ,   o p t i m i z a t i o n s   r e l a t e d   t o   C P U   i s o l a t i o n ,   m e m o r y   a n d   d e v i c e   l o c a l i t y   a r e   r e q u i r e d .   H o w e v e r ,   i n   K u b e r n e t e s ,   t h e s e   o p t i m i z a t i o n s   a r e   h a n d l e d   b y   a   d i s j o i n t   s e t   o f   c o m p o n e n t s .   T o p o l o g y   M a n a g e r   i s   a   k u b e l e t   c o m p o n e n t   t h a t   a i m s   t o   c o o r d i n a t e   t h e   s e t   o f   c o m p o n e n t s   t h a t   a r e   r e s p o n s i b l e   f o r   t h e s e   o p t i m i z a t i o n s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/",
    "id": "k8s_00503_section_1_9551"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 1 8 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/",
    "id": "k8s_00503_section_2_9552"
  },
  {
    "question": "What is How topology manager works?",
    "answer": "P r i o r   t o   t h e   i n t r o d u c t i o n   o f   T o p o l o g y   M a n a g e r ,   t h e   C P U   a n d   D e v i c e   M a n a g e r   i n   K u b e r n e t e s   m a k e   r e s o u r c e   a l l o c a t i o n   d e c i s i o n s   i n d e p e n d e n t l y   o f   e a c h   o t h e r .   T h i s   c a n   r e s u l t   i n   u n d e s i r a b l e   a l l o c a t i o n s   o n   m u l t i p l e - s o c k e t e d   s y s t e m s ,   a n d   p e r f o r m a n c e / l a t e n c y   s e n s i t i v e   a p p l i c a t i o n s   w i l l   s u f f e r   d u e   t o   t h e s e   u n d e s i r a b l e   a l l o c a t i o n s .   U n d e s i r a b l e   i n   t h i s   c a s e   m e a n i n g ,   f o r   e x a m p l e ,   C P U s   a n d   d e v i c e s   b e i n g   a l l o c a t e d   f r o m   d i f f e r e n t   N U M A   N o d e s ,   t h u s   i n c u r r i n g   a d d i t i o n a l   l a t e n c y .   T h e   T o p o l o g y   M a n a g e r   i s   a   k u b e l e t   c o m p o n e n t ,   w h i c h   a c t s   a s   a   s o u r c e   o f   t r u t h   s o   t h a t   o t h e r   k u b e l e t   c o m p o n e n t s   c a n   m a k e   t o p o l o g y   a l i g n e d   r e s o u r c e   a l l o c a t i o n   c h o i c e s .   T h e   T o p o l o g y   M a n a g e r   p r o v i d e s   a n   i n t e r f a c e   f o r   c o m p o n e n t s ,   c a l l e d   H i n t   P r o v i d e r s ,   t o   s e n d   a n d   r e c e i v e   t o p o l o g y   i n f o r m a t i o n .   T h e   T o p o l o g y   M a n a g e r   h a s   a   s e t   o f   n o d e   l e v e l   p o l i c i e s   w h i c h   a r e   e x p l a i n e d   b e l o w .   T h e   T o p o l o g y   M a n a g e r   r e c e i v e s   t o p o l o g y   i n f o r m a t i o n   f r o m   t h e   H i n t   P r o v i d e r s   a s   a   b i t m a s k   d e n o t i n g   N U M A   N o d e s   a v a i l a b l e   a n d   a   p r e f e r r e d   a l l o c a t i o n   i n d i c a t i o n .   T h e   T o p o l ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/",
    "id": "k8s_00503_section_2_9553"
  },
  {
    "question": "What is Windows Support?",
    "answer": "T h e   T o p o l o g y   M a n a g e r   s u p p o r t   c a n   b e   e n a b l e d   o n   W i n d o w s   b y   u s i n g   t h e   W i n d o w s C P U A n d M e m o r y A f f i n i t y   f e a t u r e   g a t e   a n d   i t   r e q u i r e s   s u p p o r t   i n   t h e   c o n t a i n e r   r u n t i m e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/",
    "id": "k8s_00503_section_2_9554"
  },
  {
    "question": "What is Topology manager scopes and policies?",
    "answer": "T h e   T o p o l o g y   M a n a g e r   c u r r e n t l y :   a l i g n s   P o d s   o f   a l l   Q o S   c l a s s e s . a l i g n s   t h e   r e q u e s t e d   r e s o u r c e s   t h a t   H i n t   P r o v i d e r   p r o v i d e s   t o p o l o g y   h i n t s   f o r .   I f   t h e s e   c o n d i t i o n s   a r e   m e t ,   t h e   T o p o l o g y   M a n a g e r   w i l l   a l i g n   t h e   r e q u e s t e d   r e s o u r c e s .   I n   o r d e r   t o   c u s t o m i z e   h o w   t h i s   a l i g n m e n t   i s   c a r r i e d   o u t ,   t h e   T o p o l o g y   M a n a g e r   p r o v i d e s   t w o   d i s t i n c t   o p t i o n s :   s c o p e   a n d   p o l i c y .   T h e   s c o p e   d e f i n e s   t h e   g r a n u l a r i t y   a t   w h i c h   y o u   w o u l d   l i k e   r e s o u r c e   a l i g n m e n t   t o   b e   p e r f o r m e d ,   f o r   e x a m p l e ,   a t   t h e   p o d   o r   c o n t a i n e r   l e v e l .   A n d   t h e   p o l i c y   d e f i n e s   t h e   a c t u a l   p o l i c y   u s e d   t o   c a r r y   o u t   t h e   a l i g n m e n t ,   f o r   e x a m p l e ,   b e s t - e f f o r t ,   r e s t r i c t e d ,   a n d   s i n g l e - n u m a - n o d e .   D e t a i l s   o n   t h e   v a r i o u s   s c o p e s   a n d   p o l i c i e s   a v a i l a b l e   t o d a y   c a n   b e   f o u n d   b e l o w .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/",
    "id": "k8s_00503_section_2_9555"
  },
  {
    "question": "What is Topology manager scopes?",
    "answer": "T h e   T o p o l o g y   M a n a g e r   c a n   d e a l   w i t h   t h e   a l i g n m e n t   o f   r e s o u r c e s   i n   a   c o u p l e   o f   d i s t i n c t   s c o p e s :   c o n t a i n e r   ( d e f a u l t ) p o d   E i t h e r   o p t i o n   c a n   b e   s e l e c t e d   a t   a   t i m e   o f   t h e   k u b e l e t   s t a r t u p ,   b y   s e t t i n g   t h e   t o p o l o g y M a n a g e r S c o p e   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/",
    "id": "k8s_00503_section_2_9556"
  },
  {
    "question": "What is container scope?",
    "answer": "T h e   c o n t a i n e r   s c o p e   i s   u s e d   b y   d e f a u l t .   Y o u   c a n   a l s o   e x p l i c i t l y   s e t   t h e   t o p o l o g y M a n a g e r S c o p e   t o   c o n t a i n e r   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e .   W i t h i n   t h i s   s c o p e ,   t h e   T o p o l o g y   M a n a g e r   p e r f o r m s   a   n u m b e r   o f   s e q u e n t i a l   r e s o u r c e   a l i g n m e n t s ,   i . e . ,   f o r   e a c h   c o n t a i n e r   ( i n   a   p o d )   a   s e p a r a t e   a l i g n m e n t   i s   c o m p u t e d .   I n   o t h e r   w o r d s ,   t h e r e   i s   n o   n o t i o n   o f   g r o u p i n g   t h e   c o n t a i n e r s   t o   a   s p e c i f i c   s e t   o f   N U M A   n o d e s ,   f o r   t h i s   p a r t i c u l a r   s c o p e .   I n   e f f e c t ,   t h e   T o p o l o g y   M a n a g e r   p e r f o r m s   a n   a r b i t r a r y   a l i g n m e n t   o f   i n d i v i d u a l   c o n t a i n e r s   t o   N U M A   n o d e s .   T h e   n o t i o n   o f   g r o u p i n g   t h e   c o n t a i n e r s   w a s   e n d o r s e d   a n d   i m p l e m e n t e d   o n   p u r p o s e   i n   t h e   f o l l o w i n g   s c o p e ,   f o r   e x a m p l e   t h e   p o d   s c o p e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/",
    "id": "k8s_00503_section_3_9557"
  },
  {
    "question": "What is pod scope?",
    "answer": "T o   s e l e c t   t h e   p o d   s c o p e ,   s e t   t o p o l o g y M a n a g e r S c o p e   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e   t o   p o d .   T h i s   s c o p e   a l l o w s   f o r   g r o u p i n g   a l l   c o n t a i n e r s   i n   a   p o d   t o   a   c o m m o n   s e t   o f   N U M A   n o d e s .   T h a t   i s ,   t h e   T o p o l o g y   M a n a g e r   t r e a t s   a   p o d   a s   a   w h o l e   a n d   a t t e m p t s   t o   a l l o c a t e   t h e   e n t i r e   p o d   ( a l l   c o n t a i n e r s )   t o   e i t h e r   a   s i n g l e   N U M A   n o d e   o r   a   c o m m o n   s e t   o f   N U M A   n o d e s .   T h e   f o l l o w i n g   e x a m p l e s   i l l u s t r a t e   t h e   a l i g n m e n t s   p r o d u c e d   b y   t h e   T o p o l o g y   M a n a g e r   o n   d i f f e r e n t   o c c a s i o n s :   a l l   c o n t a i n e r s   c a n   b e   a n d   a r e   a l l o c a t e d   t o   a   s i n g l e   N U M A   n o d e ; a l l   c o n t a i n e r s   c a n   b e   a n d   a r e   a l l o c a t e d   t o   a   s h a r e d   s e t   o f   N U M A   n o d e s .   T h e   t o t a l   a m o u n t   o f   p a r t i c u l a r   r e s o u r c e   d e m a n d e d   f o r   t h e   e n t i r e   p o d   i s   c a l c u l a t e d   a c c o r d i n g   t o   e f f e c t i v e   r e q u e s t s / l i m i t s   f o r m u l a ,   a n d   t h u s ,   t h i s   t o t a l   v a l u e   i s   e q u a l   t o   t h e   m a x i m u m   o f :   t h e   s u m   o f   a l l   a p p   c o n t a i n e r   r e q u e s t s , t h e   m a x i m u m   o f   i n i t   c o n t a i n e r   r e q u e s t s ,   f o r   a   r e s o u r c e .   U s i n g   t h e   p o d   s c o p e   i n   t a n d e m   w i t h   s i n g l e - n u m a - n o d e   T o p o l o g y   M a n a g e r   p o l i c y   i s   s p e c i f i c a l l y   v a l u a b l e   f o r   w o r k l o a d s   t h a t   a r e   l a t e n c y   s ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/",
    "id": "k8s_00503_section_3_9558"
  },
  {
    "question": "What is Topology manager policies?",
    "answer": "T h e   T o p o l o g y   M a n a g e r   s u p p o r t s   f o u r   a l l o c a t i o n   p o l i c i e s .   Y o u   c a n   s e t   a   p o l i c y   v i a   a   k u b e l e t   f l a g ,   - - t o p o l o g y - m a n a g e r - p o l i c y .   T h e r e   a r e   f o u r   s u p p o r t e d   p o l i c i e s :   n o n e   ( d e f a u l t ) b e s t - e f f o r t r e s t r i c t e d s i n g l e - n u m a - n o d e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/",
    "id": "k8s_00503_section_2_9559"
  },
  {
    "question": "What is none policy?",
    "answer": "T h i s   i s   t h e   d e f a u l t   p o l i c y   a n d   d o e s   n o t   p e r f o r m   a n y   t o p o l o g y   a l i g n m e n t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/",
    "id": "k8s_00503_section_3_9560"
  },
  {
    "question": "What is best-effort policy?",
    "answer": "F o r   e a c h   c o n t a i n e r   i n   a   P o d ,   t h e   k u b e l e t ,   w i t h   b e s t - e f f o r t   t o p o l o g y   m a n a g e m e n t   p o l i c y ,   c a l l s   e a c h   H i n t   P r o v i d e r   t o   d i s c o v e r   t h e i r   r e s o u r c e   a v a i l a b i l i t y .   U s i n g   t h i s   i n f o r m a t i o n ,   t h e   T o p o l o g y   M a n a g e r   s t o r e s   t h e   p r e f e r r e d   N U M A   N o d e   a f f i n i t y   f o r   t h a t   c o n t a i n e r .   I f   t h e   a f f i n i t y   i s   n o t   p r e f e r r e d ,   t h e   T o p o l o g y   M a n a g e r   w i l l   s t o r e   t h i s   a n d   a d m i t   t h e   p o d   t o   t h e   n o d e   a n y w a y .   T h e   H i n t   P r o v i d e r s   c a n   t h e n   u s e   t h i s   i n f o r m a t i o n   w h e n   m a k i n g   t h e   r e s o u r c e   a l l o c a t i o n   d e c i s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/",
    "id": "k8s_00503_section_3_9561"
  },
  {
    "question": "What is restricted policy?",
    "answer": "F o r   e a c h   c o n t a i n e r   i n   a   P o d ,   t h e   k u b e l e t ,   w i t h   r e s t r i c t e d   t o p o l o g y   m a n a g e m e n t   p o l i c y ,   c a l l s   e a c h   H i n t   P r o v i d e r   t o   d i s c o v e r   t h e i r   r e s o u r c e   a v a i l a b i l i t y .   U s i n g   t h i s   i n f o r m a t i o n ,   t h e   T o p o l o g y   M a n a g e r   s t o r e s   t h e   p r e f e r r e d   N U M A   N o d e   a f f i n i t y   f o r   t h a t   c o n t a i n e r .   I f   t h e   a f f i n i t y   i s   n o t   p r e f e r r e d ,   t h e   T o p o l o g y   M a n a g e r   w i l l   r e j e c t   t h i s   p o d   f r o m   t h e   n o d e .   T h i s   w i l l   r e s u l t   i n   a   p o d   e n t e r i n g   a   T e r m i n a t e d   s t a t e   w i t h   a   p o d   a d m i s s i o n   f a i l u r e .   O n c e   t h e   p o d   i s   i n   a   T e r m i n a t e d   s t a t e ,   t h e   K u b e r n e t e s   s c h e d u l e r   w i l l   n o t   a t t e m p t   t o   r e s c h e d u l e   t h e   p o d .   I t   i s   r e c o m m e n d e d   t o   u s e   a   R e p l i c a S e t   o r   D e p l o y m e n t   t o   t r i g g e r   a   r e d e p l o y m e n t   o f   t h e   p o d .   A n   e x t e r n a l   c o n t r o l   l o o p   c o u l d   b e   a l s o   i m p l e m e n t e d   t o   t r i g g e r   a   r e d e p l o y m e n t   o f   p o d s   t h a t   h a v e   t h e   T o p o l o g y   A f f i n i t y   e r r o r .   I f   t h e   p o d   i s   a d m i t t e d ,   t h e   H i n t   P r o v i d e r s   c a n   t h e n   u s e   t h i s   i n f o r m a t i o n   w h e n   m a k i n g   t h e   r e s o u r c e   a l l o c a t i o n   d e c i s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/",
    "id": "k8s_00503_section_3_9562"
  },
  {
    "question": "What is single-numa-node policy?",
    "answer": "F o r   e a c h   c o n t a i n e r   i n   a   P o d ,   t h e   k u b e l e t ,   w i t h   s i n g l e - n u m a - n o d e   t o p o l o g y   m a n a g e m e n t   p o l i c y ,   c a l l s   e a c h   H i n t   P r o v i d e r   t o   d i s c o v e r   t h e i r   r e s o u r c e   a v a i l a b i l i t y .   U s i n g   t h i s   i n f o r m a t i o n ,   t h e   T o p o l o g y   M a n a g e r   d e t e r m i n e s   i f   a   s i n g l e   N U M A   N o d e   a f f i n i t y   i s   p o s s i b l e .   I f   i t   i s ,   T o p o l o g y   M a n a g e r   w i l l   s t o r e   t h i s   a n d   t h e   H i n t   P r o v i d e r s   c a n   t h e n   u s e   t h i s   i n f o r m a t i o n   w h e n   m a k i n g   t h e   r e s o u r c e   a l l o c a t i o n   d e c i s i o n .   I f ,   h o w e v e r ,   t h i s   i s   n o t   p o s s i b l e   t h e n   t h e   T o p o l o g y   M a n a g e r   w i l l   r e j e c t   t h e   p o d   f r o m   t h e   n o d e .   T h i s   w i l l   r e s u l t   i n   a   p o d   i n   a   T e r m i n a t e d   s t a t e   w i t h   a   p o d   a d m i s s i o n   f a i l u r e .   O n c e   t h e   p o d   i s   i n   a   T e r m i n a t e d   s t a t e ,   t h e   K u b e r n e t e s   s c h e d u l e r   w i l l   n o t   a t t e m p t   t o   r e s c h e d u l e   t h e   p o d .   I t   i s   r e c o m m e n d e d   t o   u s e   a   D e p l o y m e n t   w i t h   r e p l i c a s   t o   t r i g g e r   a   r e d e p l o y m e n t   o f   t h e   P o d .   A n   e x t e r n a l   c o n t r o l   l o o p   c o u l d   b e   a l s o   i m p l e m e n t e d   t o   t r i g g e r   a   r e d e p l o y m e n t   o f   p o d s   t h a t   h a v e   t h e   T o p o l o g y   A f f i n i t y   e r r o r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/",
    "id": "k8s_00503_section_3_9563"
  },
  {
    "question": "What is Topology manager policy options?",
    "answer": "S u p p o r t   f o r   t h e   T o p o l o g y   M a n a g e r   p o l i c y   o p t i o n s   r e q u i r e s   T o p o l o g y M a n a g e r P o l i c y O p t i o n s   f e a t u r e   g a t e   t o   b e   e n a b l e d   ( i t   i s   e n a b l e d   b y   d e f a u l t ) .   Y o u   c a n   t o g g l e   g r o u p s   o f   o p t i o n s   o n   a n d   o f f   b a s e d   u p o n   t h e i r   m a t u r i t y   l e v e l   u s i n g   t h e   f o l l o w i n g   f e a t u r e   g a t e s :   T o p o l o g y M a n a g e r P o l i c y B e t a O p t i o n s   d e f a u l t   e n a b l e d .   E n a b l e   t o   s h o w   b e t a - l e v e l   o p t i o n s . T o p o l o g y M a n a g e r P o l i c y A l p h a O p t i o n s   d e f a u l t   d i s a b l e d .   E n a b l e   t o   s h o w   a l p h a - l e v e l   o p t i o n s .   Y o u   w i l l   s t i l l   h a v e   t o   e n a b l e   e a c h   o p t i o n   u s i n g   t h e   T o p o l o g y M a n a g e r P o l i c y O p t i o n s   k u b e l e t   o p t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/",
    "id": "k8s_00503_section_2_9564"
  },
  {
    "question": "What is prefer-closest-numa-nodes?",
    "answer": "T h e   p r e f e r - c l o s e s t - n u m a - n o d e s   o p t i o n   i s   G A   s i n c e   K u b e r n e t e s   1 . 3 2 .   I n   K u b e r n e t e s   1 . 3 4   t h i s   p o l i c y   o p t i o n   i s   v i s i b l e   b y   d e f a u l t   p r o v i d e d   t h a t   t h e   T o p o l o g y M a n a g e r P o l i c y O p t i o n s   f e a t u r e   g a t e   i s   e n a b l e d .   T h e   T o p o l o g y   M a n a g e r   i s   n o t   a w a r e   b y   d e f a u l t   o f   N U M A   d i s t a n c e s ,   a n d   d o e s   n o t   t a k e   t h e m   i n t o   a c c o u n t   w h e n   m a k i n g   P o d   a d m i s s i o n   d e c i s i o n s .   T h i s   l i m i t a t i o n   s u r f a c e s   i n   m u l t i - s o c k e t ,   a s   w e l l   a s   s i n g l e - s o c k e t   m u l t i   N U M A   s y s t e m s ,   a n d   c a n   c a u s e   s i g n i f i c a n t   p e r f o r m a n c e   d e g r a d a t i o n   i n   l a t e n c y - c r i t i c a l   e x e c u t i o n   a n d   h i g h - t h r o u g h p u t   a p p l i c a t i o n s   i f   t h e   T o p o l o g y   M a n a g e r   d e c i d e s   t o   a l i g n   r e s o u r c e s   o n   n o n - a d j a c e n t   N U M A   n o d e s .   I f   y o u   s p e c i f y   t h e   p r e f e r - c l o s e s t - n u m a - n o d e s   p o l i c y   o p t i o n ,   t h e   b e s t - e f f o r t   a n d   r e s t r i c t e d   p o l i c i e s   f a v o r   s e t s   o f   N U M A   n o d e s   w i t h   s h o r t e r   d i s t a n c e   b e t w e e n   t h e m   w h e n   m a k i n g   a d m i s s i o n   d e c i s i o n s .   Y o u   c a n   e n a b l e   t h i s   o p t i o n   b y   a d d i n g   p r e f e r - c l o s e s t - n u m a - n o d e s = t r u e   t o   t h e   T o p o l o g y   M a n a g e r   p o l i c y   o p t i o n s .   B y   d e f a u l t   ( w i t h o u t   t h i s   o p t i o n ) ,   t h e   T o p o l o g y   M a n a g e r   a l i g n s   r e s o u r c e s   o n   e i t h e r   a   s ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/",
    "id": "k8s_00503_section_3_9565"
  },
  {
    "question": "What is max-allowable-numa-nodes (beta)?",
    "answer": "T h e   m a x - a l l o w a b l e - n u m a - n o d e s   o p t i o n   i s   b e t a   s i n c e   K u b e r n e t e s   1 . 3 1 .   I n   K u b e r n e t e s   1 . 3 4 ,   t h i s   p o l i c y   o p t i o n   i s   v i s i b l e   b y   d e f a u l t   p r o v i d e d   t h a t   t h e   T o p o l o g y M a n a g e r P o l i c y O p t i o n s   a n d   T o p o l o g y M a n a g e r P o l i c y B e t a O p t i o n s   f e a t u r e   g a t e s   a r e   e n a b l e d .   T h e   t i m e   t o   a d m i t   a   p o d   i s   t i e d   t o   t h e   n u m b e r   o f   N U M A   n o d e s   o n   t h e   p h y s i c a l   m a c h i n e .   B y   d e f a u l t ,   K u b e r n e t e s   d o e s   n o t   r u n   a   k u b e l e t   w i t h   t h e   T o p o l o g y   M a n a g e r   e n a b l e d ,   o n   a n y   ( K u b e r n e t e s )   n o d e   w h e r e   m o r e   t h a n   8   N U M A   n o d e s   a r e   d e t e c t e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/",
    "id": "k8s_00503_section_3_9566"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   e n a b l e   t h i s   o p t i o n   b y   a d d i n g   m a x - a l l o w a b l e - n u m a - n o d e s = t r u e   t o   t h e   T o p o l o g y   M a n a g e r   p o l i c y   o p t i o n s .   S e t t i n g   a   v a l u e   o f   m a x - a l l o w a b l e - n u m a - n o d e s   d o e s   n o t   ( i n   a n d   o f   i t s e l f )   a f f e c t   t h e   l a t e n c y   o f   p o d   a d m i s s i o n ,   b u t   b i n d i n g   a   P o d   t o   a   ( K u b e r n e t e s )   n o d e   w i t h   m a n y   N U M A   d o e s   h a v e   a n   i m p a c t .   F u t u r e ,   p o t e n t i a l   i m p r o v e m e n t s   t o   K u b e r n e t e s   m a y   i m p r o v e   P o d   a d m i s s i o n   p e r f o r m a n c e   a n d   t h e   h i g h   l a t e n c y   t h a t   h a p p e n s   a s   t h e   n u m b e r   o f   N U M A   n o d e s   i n c r e a s e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/",
    "id": "k8s_00503_section_4_9567"
  },
  {
    "question": "What is Pod interactions with topology manager policies?",
    "answer": "C o n s i d e r   t h e   c o n t a i n e r s   i n   t h e   f o l l o w i n g   P o d   m a n i f e s t :   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   T h i s   p o d   r u n s   i n   t h e   B e s t E f f o r t   Q o S   c l a s s   b e c a u s e   n o   r e s o u r c e   r e q u e s t s   o r   l i m i t s   a r e   s p e c i f i e d .   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 2 0 0 M i \"   r e q u e s t s :   m e m o r y :   \" 1 0 0 M i \"   T h i s   p o d   r u n s   i n   t h e   B u r s t a b l e   Q o S   c l a s s   b e c a u s e   r e q u e s t s   a r e   l e s s   t h a n   l i m i t s .   I f   t h e   s e l e c t e d   p o l i c y   i s   a n y t h i n g   o t h e r   t h a n   n o n e ,   t h e   T o p o l o g y   M a n a g e r   w o u l d   c o n s i d e r   t h e s e   P o d   s p e c i f i c a t i o n s .   T h e   T o p o l o g y   M a n a g e r   w o u l d   c o n s u l t   t h e   H i n t   P r o v i d e r s   t o   g e t   t o p o l o g y   h i n t s .   I n   t h e   c a s e   o f   t h e   s t a t i c ,   t h e   C P U   M a n a g e r   p o l i c y   w o u l d   r e t u r n   d e f a u l t   t o p o l o g y   h i n t ,   b e c a u s e   t h e s e   P o d s   d o   n o t   e x p l i c i t l y   r e q u e s t   C P U   r e s o u r c e s .   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 2 0 0 M i \"   c p u :   \" 2 \"   e x a m p l e . c o m / d e v i c e :   \" 1 \"   r e q u e s t s :   m e m o r y :   \" 2 0 0 M i \"   c p u :   \" 2 \"   e x a m p l e . c o m / d e v i c e :   \" 1 \"   T h i s   p o d   w i t h   i n t e g e r   C P U   r e q u e s t   r u n s   i n   t h e   G u a r a n t e e d   Q o S   c l a s s   b e c a u s e   r e q u e s t s   a r e   e q u a l   t o   l i m i t s .   s p e c ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/",
    "id": "k8s_00503_section_2_9568"
  },
  {
    "question": "What is Known limitations?",
    "answer": "T h e   m a x i m u m   n u m b e r   o f   N U M A   n o d e s   t h a t   T o p o l o g y   M a n a g e r   a l l o w s   i s   8 .   W i t h   m o r e   t h a n   8   N U M A   n o d e s ,   t h e r e   w i l l   b e   a   s t a t e   e x p l o s i o n   w h e n   t r y i n g   t o   e n u m e r a t e   t h e   p o s s i b l e   N U M A   a f f i n i t i e s   a n d   g e n e r a t i n g   t h e i r   h i n t s .   S e e   m a x - a l l o w a b l e - n u m a - n o d e s   ( b e t a )   f o r   m o r e   o p t i o n s . T h e   s c h e d u l e r   i s   n o t   t o p o l o g y - a w a r e ,   s o   i t   i s   p o s s i b l e   t o   b e   s c h e d u l e d   o n   a   n o d e   a n d   t h e n   f a i l   o n   t h e   n o d e   d u e   t o   t h e   T o p o l o g y   M a n a g e r .   T h e   m a x i m u m   n u m b e r   o f   N U M A   n o d e s   t h a t   T o p o l o g y   M a n a g e r   a l l o w s   i s   8 .   W i t h   m o r e   t h a n   8   N U M A   n o d e s ,   t h e r e   w i l l   b e   a   s t a t e   e x p l o s i o n   w h e n   t r y i n g   t o   e n u m e r a t e   t h e   p o s s i b l e   N U M A   a f f i n i t i e s   a n d   g e n e r a t i n g   t h e i r   h i n t s .   S e e   m a x - a l l o w a b l e - n u m a - n o d e s   ( b e t a )   f o r   m o r e   o p t i o n s .   T h e   s c h e d u l e r   i s   n o t   t o p o l o g y - a w a r e ,   s o   i t   i s   p o s s i b l e   t o   b e   s c h e d u l e d   o n   a   n o d e   a n d   t h e n   f a i l   o n   t h e   n o d e   d u e   t o   t h e   T o p o l o g y   M a n a g e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/",
    "id": "k8s_00503_section_2_9569"
  },
  {
    "question": "What is Good practices for Dynamic Resource Allocation as a Cluster Admin?",
    "answer": "Good practices for Dynamic Resource Allocation as a Cluster AdminThis page describes good practices when configuring a Kubernetes cluster utilizing Dynamic Resource Allocation (DRA). These instructions are for cluster administrators.Separate permissions to DRA related APIsDRA is orchestrated through a number of different APIs. Use authorization tools (like RBAC, or another solution) to control access to the right APIs depending on the persona of your user.In general, DeviceClasses and ResourceSlices should be restricted to admins and the DRA drivers. Cluster operators that will be deploying Pods with claims will need access to ResourceClaim and ResourceClaimTemplate APIs; both of these APIs are namespace scoped.DRA driver deployment and maintenanceDRA drivers are third-party applications that run on each node of your cluster to interface with the hardware of that node and Kubernetes' native DRA components. The installation procedure depends on the driver you choose, but is likely deployed as a DaemonSet to all or a selection of the nodes (using node selectors or similar mechanisms) in your cluster.Use drivers with seamless upgrade if availableDRA drivers implement the kubeletplugin package interface. Your driver may support seamless upgrades by implementing a property of this interface that allows two versions of the same DRA driver to coexist for a short time. This is only available for kubelet versions 1.33 and above and may not be supported by your driver for heterogeneous clusters with attached nodes running older versions of Kubernetes - check your driver's documentation to be sure.If seamless upgrades are available for your situation, consider using it to minimize scheduling delays when your driver updates.If you cannot use seamless upgrades, during driver downtime for upgrades you may observe that:Pods cannot start unless the claims they depend on were already prepared for use.Cleanup after the last pod which used a claim gets delayed until the driver is available again. The pod is not marked as terminated. This prevents reusing the resources used by the pod for other pods.Running pods will continue to run.Confirm your DRA driver exposes a liveness probe and utilize itYour DRA driver likely implements a gRPC socket for healthchecks as part of DRA driver good practices. The easiest way to utilize this grpc socket is to configure it as a liveness probe for the DaemonSet deploying your DRA driver. Your driver's documentation or deployment tooling may already include this, but if you are building your configuration separately or not running your DRA driver as a Kubernetes pod, be sure that your orchestration tooling restarts the DRA driver on failed healthchecks to this grpc socket. Doing so will minimize any accidental downtime of the DRA driver and give it more opportunities to self heal, reducing scheduling delays or troubleshooting time.When draining a node, drain the DRA driver as late as possibleThe DRA driver is responsible for unprepar",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/dra/",
    "id": "k8s_00504_qa_9570"
  },
  {
    "question": "How does Good practices for Dynamic Resource Allocation as a Cluster Admin work?",
    "answer": "Good practices for Dynamic Resource Allocation as a Cluster AdminThis page describes good practices when configuring a Kubernetes cluster utilizing Dynamic Resource Allocation (DRA). These instructions are for cluster administrators.Separate permissions to DRA related APIsDRA is orchestrated through a number of different APIs. Use authorization tools (like RBAC, or another solution) to control access to the right APIs depending on the persona of your user.In general, DeviceClasses and ResourceSlices should be restricted to admins and the DRA drivers. Cluster operators that will be deploying Pods with claims will need access to ResourceClaim and ResourceClaimTemplate APIs; both of these APIs are namespace scoped.DRA driver deployment and maintenanceDRA drivers are third-party applications that run on each node of your cluster to interface with the hardware of that node and Kubernetes' native DRA components. The installation procedure depends on the driver you choose, but is likely deployed as a DaemonSet to all or a selection of the nodes (using node selectors or similar mechanisms) in your cluster.Use drivers with seamless upgrade if availableDRA drivers implement the kubeletplugin package interface. Your driver may support seamless upgrades by implementing a property of this interface that allows two versions of the same DRA driver to coexist for a short time. This is only available for kubelet versions 1.33 and above and may not be supported by your driver for heterogeneous clusters with attached nodes running older versions of Kubernetes - check your driver's documentation to be sure.If seamless upgrades are available for your situation, consider using it to minimize scheduling delays when your driver updates.If you cannot use seamless upgrades, during driver downtime for upgrades you may observe that:Pods cannot start unless the claims they depend on were already prepared for use.Cleanup after the last pod which used a claim gets delayed until the driver is available again. The pod is not marked as terminated. This prevents reusing the resources used by the pod for other pods.Running pods will continue to run.Confirm your DRA driver exposes a liveness probe and utilize itYour DRA driver likely implements a gRPC socket for healthchecks as part of DRA driver good practices. The easiest way to utilize this grpc socket is to configure it as a liveness probe for the DaemonSet deploying your DRA driver. Your driver's documentation or deployment tooling may already include this, but if you are building your configuration separately or not running your DRA driver as a Kubernetes pod, be sure that your orchestration tooling restarts the DRA driver on failed healthchecks to this grpc socket. Doing so will minimize any accidental downtime of the DRA driver and give it more opportunities to self heal, reducing scheduling delays or troubleshooting time.When draining a node, drain the DRA driver as late as possibleThe DRA driver is responsible for unprepar",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/dra/",
    "id": "k8s_00504_qa_9571"
  },
  {
    "question": "When would you use Good practices for Dynamic Resource Allocation as a Cluster Admin?",
    "answer": "Good practices for Dynamic Resource Allocation as a Cluster AdminThis page describes good practices when configuring a Kubernetes cluster utilizing Dynamic Resource Allocation (DRA). These instructions are for cluster administrators.Separate permissions to DRA related APIsDRA is orchestrated through a number of different APIs. Use authorization tools (like RBAC, or another solution) to control access to the right APIs depending on the persona of your user.In general, DeviceClasses and ResourceSlices should be restricted to admins and the DRA drivers. Cluster operators that will be deploying Pods with claims will need access to ResourceClaim and ResourceClaimTemplate APIs; both of these APIs are namespace scoped.DRA driver deployment and maintenanceDRA drivers are third-party applications that run on each node of your cluster to interface with the hardware of that node and Kubernetes' native DRA components. The installation procedure depends on the driver you choose, but is likely deployed as a DaemonSet to all or a selection of the nodes (using node selectors or similar mechanisms) in your cluster.Use drivers with seamless upgrade if availableDRA drivers implement the kubeletplugin package interface. Your driver may support seamless upgrades by implementing a property of this interface that allows two versions of the same DRA driver to coexist for a short time. This is only available for kubelet versions 1.33 and above and may not be supported by your driver for heterogeneous clusters with attached nodes running older versions of Kubernetes - check your driver's documentation to be sure.If seamless upgrades are available for your situation, consider using it to minimize scheduling delays when your driver updates.If you cannot use seamless upgrades, during driver downtime for upgrades you may observe that:Pods cannot start unless the claims they depend on were already prepared for use.Cleanup after the last pod which used a claim gets delayed until the driver is available again. The pod is not marked as terminated. This prevents reusing the resources used by the pod for other pods.Running pods will continue to run.Confirm your DRA driver exposes a liveness probe and utilize itYour DRA driver likely implements a gRPC socket for healthchecks as part of DRA driver good practices. The easiest way to utilize this grpc socket is to configure it as a liveness probe for the DaemonSet deploying your DRA driver. Your driver's documentation or deployment tooling may already include this, but if you are building your configuration separately or not running your DRA driver as a Kubernetes pod, be sure that your orchestration tooling restarts the DRA driver on failed healthchecks to this grpc socket. Doing so will minimize any accidental downtime of the DRA driver and give it more opportunities to self heal, reducing scheduling delays or troubleshooting time.When draining a node, drain the DRA driver as late as possibleThe DRA driver is responsible for unprepar",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/dra/",
    "id": "k8s_00504_qa_9572"
  },
  {
    "question": "What are the benefits of Good practices for Dynamic Resource Allocation as a Cluster Admin?",
    "answer": "Good practices for Dynamic Resource Allocation as a Cluster AdminThis page describes good practices when configuring a Kubernetes cluster utilizing Dynamic Resource Allocation (DRA). These instructions are for cluster administrators.Separate permissions to DRA related APIsDRA is orchestrated through a number of different APIs. Use authorization tools (like RBAC, or another solution) to control access to the right APIs depending on the persona of your user.In general, DeviceClasses and ResourceSlices should be restricted to admins and the DRA drivers. Cluster operators that will be deploying Pods with claims will need access to ResourceClaim and ResourceClaimTemplate APIs; both of these APIs are namespace scoped.DRA driver deployment and maintenanceDRA drivers are third-party applications that run on each node of your cluster to interface with the hardware of that node and Kubernetes' native DRA components. The installation procedure depends on the driver you choose, but is likely deployed as a DaemonSet to all or a selection of the nodes (using node selectors or similar mechanisms) in your cluster.Use drivers with seamless upgrade if availableDRA drivers implement the kubeletplugin package interface. Your driver may support seamless upgrades by implementing a property of this interface that allows two versions of the same DRA driver to coexist for a short time. This is only available for kubelet versions 1.33 and above and may not be supported by your driver for heterogeneous clusters with attached nodes running older versions of Kubernetes - check your driver's documentation to be sure.If seamless upgrades are available for your situation, consider using it to minimize scheduling delays when your driver updates.If you cannot use seamless upgrades, during driver downtime for upgrades you may observe that:Pods cannot start unless the claims they depend on were already prepared for use.Cleanup after the last pod which used a claim gets delayed until the driver is available again. The pod is not marked as terminated. This prevents reusing the resources used by the pod for other pods.Running pods will continue to run.Confirm your DRA driver exposes a liveness probe and utilize itYour DRA driver likely implements a gRPC socket for healthchecks as part of DRA driver good practices. The easiest way to utilize this grpc socket is to configure it as a liveness probe for the DaemonSet deploying your DRA driver. Your driver's documentation or deployment tooling may already include this, but if you are building your configuration separately or not running your DRA driver as a Kubernetes pod, be sure that your orchestration tooling restarts the DRA driver on failed healthchecks to this grpc socket. Doing so will minimize any accidental downtime of the DRA driver and give it more opportunities to self heal, reducing scheduling delays or troubleshooting time.When draining a node, drain the DRA driver as late as possibleThe DRA driver is responsible for unprepar",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/dra/",
    "id": "k8s_00504_qa_9573"
  },
  {
    "question": "What is Good practices for Dynamic Resource Allocation as a Cluster Admin?",
    "answer": "T h i s   p a g e   d e s c r i b e s   g o o d   p r a c t i c e s   w h e n   c o n f i g u r i n g   a   K u b e r n e t e s   c l u s t e r   u t i l i z i n g   D y n a m i c   R e s o u r c e   A l l o c a t i o n   ( D R A ) .   T h e s e   i n s t r u c t i o n s   a r e   f o r   c l u s t e r   a d m i n i s t r a t o r s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/dra/",
    "id": "k8s_00504_section_1_9574"
  },
  {
    "question": "What is Separate permissions to DRA related APIs?",
    "answer": "D R A   i s   o r c h e s t r a t e d   t h r o u g h   a   n u m b e r   o f   d i f f e r e n t   A P I s .   U s e   a u t h o r i z a t i o n   t o o l s   ( l i k e   R B A C ,   o r   a n o t h e r   s o l u t i o n )   t o   c o n t r o l   a c c e s s   t o   t h e   r i g h t   A P I s   d e p e n d i n g   o n   t h e   p e r s o n a   o f   y o u r   u s e r .   I n   g e n e r a l ,   D e v i c e C l a s s e s   a n d   R e s o u r c e S l i c e s   s h o u l d   b e   r e s t r i c t e d   t o   a d m i n s   a n d   t h e   D R A   d r i v e r s .   C l u s t e r   o p e r a t o r s   t h a t   w i l l   b e   d e p l o y i n g   P o d s   w i t h   c l a i m s   w i l l   n e e d   a c c e s s   t o   R e s o u r c e C l a i m   a n d   R e s o u r c e C l a i m T e m p l a t e   A P I s ;   b o t h   o f   t h e s e   A P I s   a r e   n a m e s p a c e   s c o p e d .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/dra/",
    "id": "k8s_00504_section_2_9575"
  },
  {
    "question": "What is DRA driver deployment and maintenance?",
    "answer": "D R A   d r i v e r s   a r e   t h i r d - p a r t y   a p p l i c a t i o n s   t h a t   r u n   o n   e a c h   n o d e   o f   y o u r   c l u s t e r   t o   i n t e r f a c e   w i t h   t h e   h a r d w a r e   o f   t h a t   n o d e   a n d   K u b e r n e t e s '   n a t i v e   D R A   c o m p o n e n t s .   T h e   i n s t a l l a t i o n   p r o c e d u r e   d e p e n d s   o n   t h e   d r i v e r   y o u   c h o o s e ,   b u t   i s   l i k e l y   d e p l o y e d   a s   a   D a e m o n S e t   t o   a l l   o r   a   s e l e c t i o n   o f   t h e   n o d e s   ( u s i n g   n o d e   s e l e c t o r s   o r   s i m i l a r   m e c h a n i s m s )   i n   y o u r   c l u s t e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/dra/",
    "id": "k8s_00504_section_2_9576"
  },
  {
    "question": "What is Use drivers with seamless upgrade if available?",
    "answer": "D R A   d r i v e r s   i m p l e m e n t   t h e   k u b e l e t p l u g i n   p a c k a g e   i n t e r f a c e .   Y o u r   d r i v e r   m a y   s u p p o r t   s e a m l e s s   u p g r a d e s   b y   i m p l e m e n t i n g   a   p r o p e r t y   o f   t h i s   i n t e r f a c e   t h a t   a l l o w s   t w o   v e r s i o n s   o f   t h e   s a m e   D R A   d r i v e r   t o   c o e x i s t   f o r   a   s h o r t   t i m e .   T h i s   i s   o n l y   a v a i l a b l e   f o r   k u b e l e t   v e r s i o n s   1 . 3 3   a n d   a b o v e   a n d   m a y   n o t   b e   s u p p o r t e d   b y   y o u r   d r i v e r   f o r   h e t e r o g e n e o u s   c l u s t e r s   w i t h   a t t a c h e d   n o d e s   r u n n i n g   o l d e r   v e r s i o n s   o f   K u b e r n e t e s   -   c h e c k   y o u r   d r i v e r ' s   d o c u m e n t a t i o n   t o   b e   s u r e .   I f   s e a m l e s s   u p g r a d e s   a r e   a v a i l a b l e   f o r   y o u r   s i t u a t i o n ,   c o n s i d e r   u s i n g   i t   t o   m i n i m i z e   s c h e d u l i n g   d e l a y s   w h e n   y o u r   d r i v e r   u p d a t e s .   I f   y o u   c a n n o t   u s e   s e a m l e s s   u p g r a d e s ,   d u r i n g   d r i v e r   d o w n t i m e   f o r   u p g r a d e s   y o u   m a y   o b s e r v e   t h a t :   P o d s   c a n n o t   s t a r t   u n l e s s   t h e   c l a i m s   t h e y   d e p e n d   o n   w e r e   a l r e a d y   p r e p a r e d   f o r   u s e . C l e a n u p   a f t e r   t h e   l a s t   p o d   w h i c h   u s e d   a   c l a i m   g e t s   d e l a y e d   u n t i l   t h e   d r i v e r   i s   a v a i l a b l e   a g a i n .   T h e   p o d   i s   n o t   m a r k e d   a s   t e r m i n a t e d .   T h i s   p r e v e n t s   r e u s i n g   t h e   r e s o u r c e s   u s e d   b y   t h e   p o d   f o r   o t h e r   p o d s . R u n n i n g   p o d s   w i l l   c o n t i n u e   t o   r u n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/dra/",
    "id": "k8s_00504_section_3_9577"
  },
  {
    "question": "What is Confirm your DRA driver exposes a liveness probe and utilize it?",
    "answer": "Y o u r   D R A   d r i v e r   l i k e l y   i m p l e m e n t s   a   g R P C   s o c k e t   f o r   h e a l t h c h e c k s   a s   p a r t   o f   D R A   d r i v e r   g o o d   p r a c t i c e s .   T h e   e a s i e s t   w a y   t o   u t i l i z e   t h i s   g r p c   s o c k e t   i s   t o   c o n f i g u r e   i t   a s   a   l i v e n e s s   p r o b e   f o r   t h e   D a e m o n S e t   d e p l o y i n g   y o u r   D R A   d r i v e r .   Y o u r   d r i v e r ' s   d o c u m e n t a t i o n   o r   d e p l o y m e n t   t o o l i n g   m a y   a l r e a d y   i n c l u d e   t h i s ,   b u t   i f   y o u   a r e   b u i l d i n g   y o u r   c o n f i g u r a t i o n   s e p a r a t e l y   o r   n o t   r u n n i n g   y o u r   D R A   d r i v e r   a s   a   K u b e r n e t e s   p o d ,   b e   s u r e   t h a t   y o u r   o r c h e s t r a t i o n   t o o l i n g   r e s t a r t s   t h e   D R A   d r i v e r   o n   f a i l e d   h e a l t h c h e c k s   t o   t h i s   g r p c   s o c k e t .   D o i n g   s o   w i l l   m i n i m i z e   a n y   a c c i d e n t a l   d o w n t i m e   o f   t h e   D R A   d r i v e r   a n d   g i v e   i t   m o r e   o p p o r t u n i t i e s   t o   s e l f   h e a l ,   r e d u c i n g   s c h e d u l i n g   d e l a y s   o r   t r o u b l e s h o o t i n g   t i m e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/dra/",
    "id": "k8s_00504_section_3_9578"
  },
  {
    "question": "What is When draining a node, drain the DRA driver as late as possible?",
    "answer": "T h e   D R A   d r i v e r   i s   r e s p o n s i b l e   f o r   u n p r e p a r i n g   a n y   d e v i c e s   t h a t   w e r e   a l l o c a t e d   t o   P o d s ,   a n d   i f   t h e   D R A   d r i v e r   i s   d r a i n e d   b e f o r e   P o d s   w i t h   c l a i m s   h a v e   b e e n   d e l e t e d ,   i t   w i l l   n o t   b e   a b l e   t o   f i n a l i z e   i t s   c l e a n u p .   I f   y o u   i m p l e m e n t   c u s t o m   d r a i n   l o g i c   f o r   n o d e s ,   c o n s i d e r   c h e c k i n g   t h a t   t h e r e   a r e   n o   a l l o c a t e d / r e s e r v e d   R e s o u r c e C l a i m   o r   R e s o u r c e C l a i m T e m p l a t e s   b e f o r e   t e r m i n a t i n g   t h e   D R A   d r i v e r   i t s e l f .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/dra/",
    "id": "k8s_00504_section_3_9579"
  },
  {
    "question": "What is Monitor and tune components for higher load, especially in high scale environments?",
    "answer": "C o n t r o l   p l a n e   c o m p o n e n t   k u b e - s c h e d u l e r   a n d   t h e   i n t e r n a l   R e s o u r c e C l a i m   c o n t r o l l e r   o r c h e s t r a t e d   b y   t h e   c o m p o n e n t   k u b e - c o n t r o l l e r - m a n a g e r   d o   t h e   h e a v y   l i f t i n g   d u r i n g   s c h e d u l i n g   o f   P o d s   w i t h   c l a i m s   b a s e d   o n   m e t a d a t a   s t o r e d   i n   t h e   D R A   A P I s .   C o m p a r e d   t o   n o n - D R A   s c h e d u l e d   P o d s ,   t h e   n u m b e r   o f   A P I   s e r v e r   c a l l s ,   m e m o r y ,   a n d   C P U   u t i l i z a t i o n   n e e d e d   b y   t h e s e   c o m p o n e n t s   i s   i n c r e a s e d   f o r   P o d s   u s i n g   D R A   c l a i m s .   I n   a d d i t i o n ,   n o d e   l o c a l   c o m p o n e n t s   l i k e   t h e   D R A   d r i v e r   a n d   k u b e l e t   u t i l i z e   D R A   A P I s   t o   a l l o c a t e d   t h e   h a r d w a r e   r e q u e s t   a t   P o d   s a n d b o x   c r e a t i o n   t i m e .   E s p e c i a l l y   i n   h i g h   s c a l e   e n v i r o n m e n t s   w h e r e   c l u s t e r s   h a v e   m a n y   n o d e s ,   a n d / o r   d e p l o y   m a n y   w o r k l o a d s   t h a t   h e a v i l y   u t i l i z e   D R A   d e f i n e d   r e s o u r c e   c l a i m s ,   t h e   c l u s t e r   a d m i n i s t r a t o r   s h o u l d   c o n f i g u r e   t h e   r e l e v a n t   c o m p o n e n t s   t o   a n t i c i p a t e   t h e   i n c r e a s e d   l o a d .   T h e   e f f e c t s   o f   m i s t u n e d   c o m p o n e n t s   c a n   h a v e   d i r e c t   o r   s n o w b a l l i n g   a f f e c t s   c a u s i n g   d i f f e r e n t   s y m p t o m s   d u r i n g   t h e   P o d   l i f e c y c l e .   I f   t h e   k u b e - s c h e d u l e r   c o m p o n e n t ' s   Q P S   a n d   b u r s t   c o n f i g u r a t i o n s   a r e   t o o   l o w ,   ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/dra/",
    "id": "k8s_00504_section_2_9580"
  },
  {
    "question": "What is kube-controller-manager metrics?",
    "answer": "T h e   f o l l o w i n g   m e t r i c s   l o o k   c l o s e l y   a t   t h e   i n t e r n a l   R e s o u r c e C l a i m   c o n t r o l l e r   m a n a g e d   b y   t h e   k u b e - c o n t r o l l e r - m a n a g e r   c o m p o n e n t .   W o r k q u e u e   A d d   R a t e :   M o n i t o r   s u m ( r a t e ( w o r k q u e u e _ a d d s _ t o t a l { n a m e = \" r e s o u r c e _ c l a i m \" } [ 5 m ] ) )   t o   g a u g e   h o w   q u i c k l y   i t e m s   a r e   a d d e d   t o   t h e   R e s o u r c e C l a i m   c o n t r o l l e r . W o r k q u e u e   D e p t h :   T r a c k   s u m ( w o r k q u e u e _ d e p t h { e n d p o i n t = \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   n a m e = \" r e s o u r c e _ c l a i m \" } )   t o   i d e n t i f y   a n y   b a c k l o g s   i n   t h e   R e s o u r c e C l a i m   c o n t r o l l e r . W o r k q u e u e   W o r k   D u r a t i o n :   O b s e r v e   h i s t o g r a m _ q u a n t i l e ( 0 . 9 9 ,   s u m ( r a t e ( w o r k q u e u e _ w o r k _ d u r a t i o n _ s e c o n d s _ b u c k e t { n a m e = \" r e s o u r c e _ c l a i m \" } [ 5 m ] ) )   b y   ( l e ) )   t o   u n d e r s t a n d   t h e   s p e e d   a t   w h i c h   t h e   R e s o u r c e C l a i m   c o n t r o l l e r   p r o c e s s e s   w o r k .   I f   y o u   a r e   e x p e r i e n c i n g   l o w   W o r k q u e u e   A d d   R a t e ,   h i g h   W o r k q u e u e   D e p t h ,   a n d / o r   h i g h   W o r k q u e u e   W o r k   D u r a t i o n ,   t h i s   s u g g e s t s   t h e   c o n t r o l l e r   i s n ' t   p e r f o r m i n g   o p t i m a l l y .   C o n s i d e r   t u n i n g   p a r a m e t e r s   l i k e   Q P S ,   b u r s t ,   a n d   C P U / m e m o r y   c o n f i g u r a t i o n s .   I f   y o u   a r e   e x p e r i e n c i n g   h i g h   W o r k e q u e u e   A d d   R a t e ,   h i g h   W o r k q u e u e   D e p t h ,   b u t   r e a s o n a b l e   W o r k q u e u e   ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/dra/",
    "id": "k8s_00504_section_3_9581"
  },
  {
    "question": "What is kube-scheduler metrics?",
    "answer": "T h e   f o l l o w i n g   s c h e d u l e r   m e t r i c s   a r e   h i g h   l e v e l   m e t r i c s   a g g r e g a t i n g   p e r f o r m a n c e   a c r o s s   a l l   P o d s   s c h e d u l e d ,   n o t   j u s t   t h o s e   u s i n g   D R A .   I t   i s   i m p o r t a n t   t o   n o t e   t h a t   t h e   e n d - t o - e n d   m e t r i c s   a r e   u l t i m a t e l y   i n f l u e n c e d   b y   t h e   k u b e - c o n t r o l l e r - m a n a g e r ' s   p e r f o r m a n c e   i n   c r e a t i n g   R e s o u r c e C l a i m s   f r o m   R e s o u r c e C l a i n T e m p l a t e s   i n   d e p l o y m e n t s   t h a t   h e a v i l y   u s e   R e s o u r c e C l a i n T e m p l a t e s .   S c h e d u l e r   E n d - t o - E n d   D u r a t i o n :   M o n i t o r   h i s t o g r a m _ q u a n t i l e ( 0 . 9 9 ,   s u m ( i n c r e a s e ( s c h e d u l e r _ p o d _ s c h e d u l i n g _ s l i _ d u r a t i o n _ s e c o n d s _ b u c k e t [ 5 m ] ) )   b y   ( l e ) ) . S c h e d u l e r   A l g o r i t h m   L a t e n c y :   T r a c k   h i s t o g r a m _ q u a n t i l e ( 0 . 9 9 ,   s u m ( i n c r e a s e ( s c h e d u l e r _ s c h e d u l i n g _ a l g o r i t h m _ d u r a t i o n _ s e c o n d s _ b u c k e t [ 5 m ] ) )   b y   ( l e ) ) .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/dra/",
    "id": "k8s_00504_section_3_9582"
  },
  {
    "question": "What is kubelet metrics?",
    "answer": "W h e n   a   P o d   b o u n d   t o   a   n o d e   m u s t   h a v e   a   R e s o u r c e C l a i m   s a t i s f i e d ,   k u b e l e t   c a l l s   t h e   N o d e P r e p a r e R e s o u r c e s   a n d   N o d e U n p r e p a r e R e s o u r c e s   m e t h o d s   o f   t h e   D R A   d r i v e r .   Y o u   c a n   o b s e r v e   t h i s   b e h a v i o r   f r o m   t h e   k u b e l e t ' s   p o i n t   o f   v i e w   w i t h   t h e   f o l l o w i n g   m e t r i c s .   K u b e l e t   N o d e P r e p a r e R e s o u r c e s :   M o n i t o r   h i s t o g r a m _ q u a n t i l e ( 0 . 9 9 ,   s u m ( r a t e ( d r a _ o p e r a t i o n s _ d u r a t i o n _ s e c o n d s _ b u c k e t { o p e r a t i o n _ n a m e = \" P r e p a r e R e s o u r c e s \" } [ 5 m ] ) )   b y   ( l e ) ) . K u b e l e t   N o d e U n p r e p a r e R e s o u r c e s :   T r a c k   h i s t o g r a m _ q u a n t i l e ( 0 . 9 9 ,   s u m ( r a t e ( d r a _ o p e r a t i o n s _ d u r a t i o n _ s e c o n d s _ b u c k e t { o p e r a t i o n _ n a m e = \" U n p r e p a r e R e s o u r c e s \" } [ 5 m ] ) )   b y   ( l e ) ) .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/dra/",
    "id": "k8s_00504_section_3_9583"
  },
  {
    "question": "What is DRA kubeletplugin operations?",
    "answer": "D R A   d r i v e r s   i m p l e m e n t   t h e   k u b e l e t p l u g i n   p a c k a g e   i n t e r f a c e   w h i c h   s u r f a c e s   i t s   o w n   m e t r i c   f o r   t h e   u n d e r l y i n g   g R P C   o p e r a t i o n   N o d e P r e p a r e R e s o u r c e s   a n d   N o d e U n p r e p a r e R e s o u r c e s .   Y o u   c a n   o b s e r v e   t h i s   b e h a v i o r   f r o m   t h e   p o i n t   o f   v i e w   o f   t h e   i n t e r n a l   k u b e l e t p l u g i n   w i t h   t h e   f o l l o w i n g   m e t r i c s .   D R A   k u b e l e t p l u g i n   g R P C   N o d e P r e p a r e R e s o u r c e s   o p e r a t i o n :   O b s e r v e   h i s t o g r a m _ q u a n t i l e ( 0 . 9 9 ,   s u m ( r a t e ( d r a _ g r p c _ o p e r a t i o n s _ d u r a t i o n _ s e c o n d s _ b u c k e t { m e t h o d _ n a m e = ~ \" . * N o d e P r e p a r e R e s o u r c e s \" } [ 5 m ] ) )   b y   ( l e ) ) . D R A   k u b e l e t p l u g i n   g R P C   N o d e U n p r e p a r e R e s o u r c e s   o p e r a t i o n :   O b s e r v e   h i s t o g r a m _ q u a n t i l e ( 0 . 9 9 ,   s u m ( r a t e ( d r a _ g r p c _ o p e r a t i o n s _ d u r a t i o n _ s e c o n d s _ b u c k e t { m e t h o d _ n a m e = ~ \" . * N o d e U n p r e p a r e R e s o u r c e s \" } [ 5 m ] ) )   b y   ( l e ) ) .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/dra/",
    "id": "k8s_00504_section_3_9584"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   D R A R e a d   t h e   K u b e r n e t e s   M e t r i c s   R e f e r e n c e",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/dra/",
    "id": "k8s_00504_section_2_9585"
  },
  {
    "question": "What is kubectl rollout restart?",
    "answer": "kubectl rollout restartSynopsisRestart a resource. Resource rollout will be restarted. kubectl rollout restart RESOURCE Examples # Restart all deployments in the test-namespace namespace kubectl rollout restart deployment -n test-namespace # Restart a deployment kubectl rollout restart deployment/nginx # Restart a daemon set kubectl rollout restart daemonset/abc # Restart deployments with the app=nginx label kubectl rollout restart deployment --selector=app=nginx Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--field-manager string Default: \"kubectl-rollout\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for restart-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_restart/",
    "id": "k8s_00505_qa_9586"
  },
  {
    "question": "How does kubectl rollout restart work?",
    "answer": "kubectl rollout restartSynopsisRestart a resource. Resource rollout will be restarted. kubectl rollout restart RESOURCE Examples # Restart all deployments in the test-namespace namespace kubectl rollout restart deployment -n test-namespace # Restart a deployment kubectl rollout restart deployment/nginx # Restart a daemon set kubectl rollout restart daemonset/abc # Restart deployments with the app=nginx label kubectl rollout restart deployment --selector=app=nginx Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--field-manager string Default: \"kubectl-rollout\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for restart-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_restart/",
    "id": "k8s_00505_qa_9587"
  },
  {
    "question": "When would you use kubectl rollout restart?",
    "answer": "kubectl rollout restartSynopsisRestart a resource. Resource rollout will be restarted. kubectl rollout restart RESOURCE Examples # Restart all deployments in the test-namespace namespace kubectl rollout restart deployment -n test-namespace # Restart a deployment kubectl rollout restart deployment/nginx # Restart a daemon set kubectl rollout restart daemonset/abc # Restart deployments with the app=nginx label kubectl rollout restart deployment --selector=app=nginx Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--field-manager string Default: \"kubectl-rollout\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for restart-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_restart/",
    "id": "k8s_00505_qa_9588"
  },
  {
    "question": "What are the benefits of kubectl rollout restart?",
    "answer": "kubectl rollout restartSynopsisRestart a resource. Resource rollout will be restarted. kubectl rollout restart RESOURCE Examples # Restart all deployments in the test-namespace namespace kubectl rollout restart deployment -n test-namespace # Restart a deployment kubectl rollout restart deployment/nginx # Restart a daemon set kubectl rollout restart daemonset/abc # Restart deployments with the app=nginx label kubectl rollout restart deployment --selector=app=nginx Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--field-manager string Default: \"kubectl-rollout\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for restart-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_restart/",
    "id": "k8s_00505_qa_9589"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e s t a r t   a   r e s o u r c e .   R e s o u r c e   r o l l o u t   w i l l   b e   r e s t a r t e d .   k u b e c t l   r o l l o u t   r e s t a r t   R E S O U R C E",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_restart/",
    "id": "k8s_00505_section_2_9590"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R e s t a r t   a l l   d e p l o y m e n t s   i n   t h e   t e s t - n a m e s p a c e   n a m e s p a c e   k u b e c t l   r o l l o u t   r e s t a r t   d e p l o y m e n t   - n   t e s t - n a m e s p a c e   #   R e s t a r t   a   d e p l o y m e n t   k u b e c t l   r o l l o u t   r e s t a r t   d e p l o y m e n t / n g i n x   #   R e s t a r t   a   d a e m o n   s e t   k u b e c t l   r o l l o u t   r e s t a r t   d a e m o n s e t / a b c   #   R e s t a r t   d e p l o y m e n t s   w i t h   t h e   a p p = n g i n x   l a b e l   k u b e c t l   r o l l o u t   r e s t a r t   d e p l o y m e n t   - - s e l e c t o r = a p p = n g i n x",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_restart/",
    "id": "k8s_00505_section_2_9591"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   r e s t a r t   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_restart/",
    "id": "k8s_00505_section_2_9592"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_restart/",
    "id": "k8s_00505_section_2_9593"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   r o l l o u t   -   M a n a g e   t h e   r o l l o u t   o f   a   r e s o u r c e   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_restart/",
    "id": "k8s_00505_section_2_9594"
  },
  {
    "question": "What is Troubleshooting Clusters?",
    "answer": "Troubleshooting ClustersDebugging common cluster issues.This doc is about cluster troubleshooting; we assume you have already ruled out your application as the root cause of the problem you are experiencing. See the application troubleshooting guide for tips on application debugging. You may also visit the troubleshooting overview document for more information.For troubleshooting kubectl, refer to Troubleshooting kubectl.Listing your clusterThe first thing to debug in your cluster is if your nodes are all registered correctly.Run the following command:kubectl get nodes And verify that all of the nodes you expect to see are present and that they are all in the Ready state.To get detailed information about the overall health of your cluster, you can run:kubectl cluster-info dump Example: debugging a down/unreachable nodeSometimes when debugging it can be useful to look at the status of a node -- for example, because you've noticed strange behavior of a Pod that's running on the node, or to find out why a Pod won't schedule onto the node. As with Pods, you can use kubectl describe node and kubectl get node -o yaml to retrieve detailed information about nodes. For example, here's what you'll see if a node is down (disconnected from the network, or kubelet dies and won't restart, etc.). Notice the events that show the node is NotReady, and also notice that the pods are no longer running (they are evicted after five minutes of NotReady status).kubectl get nodes NAME STATUS ROLES AGE VERSION kube-worker-1 NotReady <none> 1h v1.23.3 kubernetes-node-bols Ready <none> 1h v1.23.3 kubernetes-node-st6x Ready <none> 1h v1.23.3 kubernetes-node-unaj Ready <none> 1h v1.23.3 kubectl describe node kube-worker-1 Name: kube-worker-1 Roles: <none> Labels: beta.kubernetes.io/arch=amd64 beta.kubernetes.io/os=linux kubernetes.io/arch=amd64 kubernetes.io/hostname=kube-worker-1 kubernetes.io/os=linux node.alpha.kubernetes.io/ttl: 0 volumes.kubernetes.io/controller-managed-attach-detach: true CreationTimestamp: Thu, 17 Feb 2022 16:46:30 -0500 Taints: node.kubernetes.io/unreachable:NoExecute node.kubernetes.io/unreachable:NoSchedule Unschedulable: false Lease: HolderIdentity: kube-worker-1 AcquireTime: <unset> RenewTime: Thu, 17 Feb 2022 17:13:09 -0500 Conditions: Type Status LastHeartbeatTime LastTransitionTime Reason Message ---- ------ ----------------- ------------------ ------ ------- NetworkUnavailable False Thu, 17 Feb 2022 17:09:13 -0500 Thu, 17 Feb 2022 17:09:13 -0500 WeaveIsUp Weave pod has set this MemoryPressure Unknown Thu, 17 Feb 2022 17:12:40 -0500 Thu, 17 Feb 2022 17:13:52 -0500 NodeStatusUnknown Kubelet stopped posting node status. DiskPressure Unknown Thu, 17 Feb 2022 17:12:40 -0500 Thu, 17 Feb 2022 17:13:52 -0500 NodeStatusUnknown Kubelet stopped posting node status. PIDPressure Unknown Thu, 17 Feb 2022 17:12:40 -0500 Thu, 17 Feb 2022 17:13:52 -0500 NodeStatusUnknown Kubelet stopped posting node status. Ready Unknown Thu, 17 Feb 2022 17:12:40 -0500 Thu, 17",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/",
    "id": "k8s_00506_qa_9595"
  },
  {
    "question": "How does Troubleshooting Clusters work?",
    "answer": "Troubleshooting ClustersDebugging common cluster issues.This doc is about cluster troubleshooting; we assume you have already ruled out your application as the root cause of the problem you are experiencing. See the application troubleshooting guide for tips on application debugging. You may also visit the troubleshooting overview document for more information.For troubleshooting kubectl, refer to Troubleshooting kubectl.Listing your clusterThe first thing to debug in your cluster is if your nodes are all registered correctly.Run the following command:kubectl get nodes And verify that all of the nodes you expect to see are present and that they are all in the Ready state.To get detailed information about the overall health of your cluster, you can run:kubectl cluster-info dump Example: debugging a down/unreachable nodeSometimes when debugging it can be useful to look at the status of a node -- for example, because you've noticed strange behavior of a Pod that's running on the node, or to find out why a Pod won't schedule onto the node. As with Pods, you can use kubectl describe node and kubectl get node -o yaml to retrieve detailed information about nodes. For example, here's what you'll see if a node is down (disconnected from the network, or kubelet dies and won't restart, etc.). Notice the events that show the node is NotReady, and also notice that the pods are no longer running (they are evicted after five minutes of NotReady status).kubectl get nodes NAME STATUS ROLES AGE VERSION kube-worker-1 NotReady <none> 1h v1.23.3 kubernetes-node-bols Ready <none> 1h v1.23.3 kubernetes-node-st6x Ready <none> 1h v1.23.3 kubernetes-node-unaj Ready <none> 1h v1.23.3 kubectl describe node kube-worker-1 Name: kube-worker-1 Roles: <none> Labels: beta.kubernetes.io/arch=amd64 beta.kubernetes.io/os=linux kubernetes.io/arch=amd64 kubernetes.io/hostname=kube-worker-1 kubernetes.io/os=linux node.alpha.kubernetes.io/ttl: 0 volumes.kubernetes.io/controller-managed-attach-detach: true CreationTimestamp: Thu, 17 Feb 2022 16:46:30 -0500 Taints: node.kubernetes.io/unreachable:NoExecute node.kubernetes.io/unreachable:NoSchedule Unschedulable: false Lease: HolderIdentity: kube-worker-1 AcquireTime: <unset> RenewTime: Thu, 17 Feb 2022 17:13:09 -0500 Conditions: Type Status LastHeartbeatTime LastTransitionTime Reason Message ---- ------ ----------------- ------------------ ------ ------- NetworkUnavailable False Thu, 17 Feb 2022 17:09:13 -0500 Thu, 17 Feb 2022 17:09:13 -0500 WeaveIsUp Weave pod has set this MemoryPressure Unknown Thu, 17 Feb 2022 17:12:40 -0500 Thu, 17 Feb 2022 17:13:52 -0500 NodeStatusUnknown Kubelet stopped posting node status. DiskPressure Unknown Thu, 17 Feb 2022 17:12:40 -0500 Thu, 17 Feb 2022 17:13:52 -0500 NodeStatusUnknown Kubelet stopped posting node status. PIDPressure Unknown Thu, 17 Feb 2022 17:12:40 -0500 Thu, 17 Feb 2022 17:13:52 -0500 NodeStatusUnknown Kubelet stopped posting node status. Ready Unknown Thu, 17 Feb 2022 17:12:40 -0500 Thu, 17",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/",
    "id": "k8s_00506_qa_9596"
  },
  {
    "question": "When would you use Troubleshooting Clusters?",
    "answer": "Troubleshooting ClustersDebugging common cluster issues.This doc is about cluster troubleshooting; we assume you have already ruled out your application as the root cause of the problem you are experiencing. See the application troubleshooting guide for tips on application debugging. You may also visit the troubleshooting overview document for more information.For troubleshooting kubectl, refer to Troubleshooting kubectl.Listing your clusterThe first thing to debug in your cluster is if your nodes are all registered correctly.Run the following command:kubectl get nodes And verify that all of the nodes you expect to see are present and that they are all in the Ready state.To get detailed information about the overall health of your cluster, you can run:kubectl cluster-info dump Example: debugging a down/unreachable nodeSometimes when debugging it can be useful to look at the status of a node -- for example, because you've noticed strange behavior of a Pod that's running on the node, or to find out why a Pod won't schedule onto the node. As with Pods, you can use kubectl describe node and kubectl get node -o yaml to retrieve detailed information about nodes. For example, here's what you'll see if a node is down (disconnected from the network, or kubelet dies and won't restart, etc.). Notice the events that show the node is NotReady, and also notice that the pods are no longer running (they are evicted after five minutes of NotReady status).kubectl get nodes NAME STATUS ROLES AGE VERSION kube-worker-1 NotReady <none> 1h v1.23.3 kubernetes-node-bols Ready <none> 1h v1.23.3 kubernetes-node-st6x Ready <none> 1h v1.23.3 kubernetes-node-unaj Ready <none> 1h v1.23.3 kubectl describe node kube-worker-1 Name: kube-worker-1 Roles: <none> Labels: beta.kubernetes.io/arch=amd64 beta.kubernetes.io/os=linux kubernetes.io/arch=amd64 kubernetes.io/hostname=kube-worker-1 kubernetes.io/os=linux node.alpha.kubernetes.io/ttl: 0 volumes.kubernetes.io/controller-managed-attach-detach: true CreationTimestamp: Thu, 17 Feb 2022 16:46:30 -0500 Taints: node.kubernetes.io/unreachable:NoExecute node.kubernetes.io/unreachable:NoSchedule Unschedulable: false Lease: HolderIdentity: kube-worker-1 AcquireTime: <unset> RenewTime: Thu, 17 Feb 2022 17:13:09 -0500 Conditions: Type Status LastHeartbeatTime LastTransitionTime Reason Message ---- ------ ----------------- ------------------ ------ ------- NetworkUnavailable False Thu, 17 Feb 2022 17:09:13 -0500 Thu, 17 Feb 2022 17:09:13 -0500 WeaveIsUp Weave pod has set this MemoryPressure Unknown Thu, 17 Feb 2022 17:12:40 -0500 Thu, 17 Feb 2022 17:13:52 -0500 NodeStatusUnknown Kubelet stopped posting node status. DiskPressure Unknown Thu, 17 Feb 2022 17:12:40 -0500 Thu, 17 Feb 2022 17:13:52 -0500 NodeStatusUnknown Kubelet stopped posting node status. PIDPressure Unknown Thu, 17 Feb 2022 17:12:40 -0500 Thu, 17 Feb 2022 17:13:52 -0500 NodeStatusUnknown Kubelet stopped posting node status. Ready Unknown Thu, 17 Feb 2022 17:12:40 -0500 Thu, 17",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/",
    "id": "k8s_00506_qa_9597"
  },
  {
    "question": "What are the benefits of Troubleshooting Clusters?",
    "answer": "Troubleshooting ClustersDebugging common cluster issues.This doc is about cluster troubleshooting; we assume you have already ruled out your application as the root cause of the problem you are experiencing. See the application troubleshooting guide for tips on application debugging. You may also visit the troubleshooting overview document for more information.For troubleshooting kubectl, refer to Troubleshooting kubectl.Listing your clusterThe first thing to debug in your cluster is if your nodes are all registered correctly.Run the following command:kubectl get nodes And verify that all of the nodes you expect to see are present and that they are all in the Ready state.To get detailed information about the overall health of your cluster, you can run:kubectl cluster-info dump Example: debugging a down/unreachable nodeSometimes when debugging it can be useful to look at the status of a node -- for example, because you've noticed strange behavior of a Pod that's running on the node, or to find out why a Pod won't schedule onto the node. As with Pods, you can use kubectl describe node and kubectl get node -o yaml to retrieve detailed information about nodes. For example, here's what you'll see if a node is down (disconnected from the network, or kubelet dies and won't restart, etc.). Notice the events that show the node is NotReady, and also notice that the pods are no longer running (they are evicted after five minutes of NotReady status).kubectl get nodes NAME STATUS ROLES AGE VERSION kube-worker-1 NotReady <none> 1h v1.23.3 kubernetes-node-bols Ready <none> 1h v1.23.3 kubernetes-node-st6x Ready <none> 1h v1.23.3 kubernetes-node-unaj Ready <none> 1h v1.23.3 kubectl describe node kube-worker-1 Name: kube-worker-1 Roles: <none> Labels: beta.kubernetes.io/arch=amd64 beta.kubernetes.io/os=linux kubernetes.io/arch=amd64 kubernetes.io/hostname=kube-worker-1 kubernetes.io/os=linux node.alpha.kubernetes.io/ttl: 0 volumes.kubernetes.io/controller-managed-attach-detach: true CreationTimestamp: Thu, 17 Feb 2022 16:46:30 -0500 Taints: node.kubernetes.io/unreachable:NoExecute node.kubernetes.io/unreachable:NoSchedule Unschedulable: false Lease: HolderIdentity: kube-worker-1 AcquireTime: <unset> RenewTime: Thu, 17 Feb 2022 17:13:09 -0500 Conditions: Type Status LastHeartbeatTime LastTransitionTime Reason Message ---- ------ ----------------- ------------------ ------ ------- NetworkUnavailable False Thu, 17 Feb 2022 17:09:13 -0500 Thu, 17 Feb 2022 17:09:13 -0500 WeaveIsUp Weave pod has set this MemoryPressure Unknown Thu, 17 Feb 2022 17:12:40 -0500 Thu, 17 Feb 2022 17:13:52 -0500 NodeStatusUnknown Kubelet stopped posting node status. DiskPressure Unknown Thu, 17 Feb 2022 17:12:40 -0500 Thu, 17 Feb 2022 17:13:52 -0500 NodeStatusUnknown Kubelet stopped posting node status. PIDPressure Unknown Thu, 17 Feb 2022 17:12:40 -0500 Thu, 17 Feb 2022 17:13:52 -0500 NodeStatusUnknown Kubelet stopped posting node status. Ready Unknown Thu, 17 Feb 2022 17:12:40 -0500 Thu, 17",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/",
    "id": "k8s_00506_qa_9598"
  },
  {
    "question": "What is Troubleshooting Clusters?",
    "answer": "T h i s   d o c   i s   a b o u t   c l u s t e r   t r o u b l e s h o o t i n g ;   w e   a s s u m e   y o u   h a v e   a l r e a d y   r u l e d   o u t   y o u r   a p p l i c a t i o n   a s   t h e   r o o t   c a u s e   o f   t h e   p r o b l e m   y o u   a r e   e x p e r i e n c i n g .   S e e   t h e   a p p l i c a t i o n   t r o u b l e s h o o t i n g   g u i d e   f o r   t i p s   o n   a p p l i c a t i o n   d e b u g g i n g .   Y o u   m a y   a l s o   v i s i t   t h e   t r o u b l e s h o o t i n g   o v e r v i e w   d o c u m e n t   f o r   m o r e   i n f o r m a t i o n .   F o r   t r o u b l e s h o o t i n g   k u b e c t l ,   r e f e r   t o   T r o u b l e s h o o t i n g   k u b e c t l .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/",
    "id": "k8s_00506_section_1_9599"
  },
  {
    "question": "What is Listing your cluster?",
    "answer": "T h e   f i r s t   t h i n g   t o   d e b u g   i n   y o u r   c l u s t e r   i s   i f   y o u r   n o d e s   a r e   a l l   r e g i s t e r e d   c o r r e c t l y .   R u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   g e t   n o d e s   A n d   v e r i f y   t h a t   a l l   o f   t h e   n o d e s   y o u   e x p e c t   t o   s e e   a r e   p r e s e n t   a n d   t h a t   t h e y   a r e   a l l   i n   t h e   R e a d y   s t a t e .   T o   g e t   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   o v e r a l l   h e a l t h   o f   y o u r   c l u s t e r ,   y o u   c a n   r u n :   k u b e c t l   c l u s t e r - i n f o   d u m p",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/",
    "id": "k8s_00506_section_2_9600"
  },
  {
    "question": "What is Example: debugging a down/unreachable node?",
    "answer": "S o m e t i m e s   w h e n   d e b u g g i n g   i t   c a n   b e   u s e f u l   t o   l o o k   a t   t h e   s t a t u s   o f   a   n o d e   - -   f o r   e x a m p l e ,   b e c a u s e   y o u ' v e   n o t i c e d   s t r a n g e   b e h a v i o r   o f   a   P o d   t h a t ' s   r u n n i n g   o n   t h e   n o d e ,   o r   t o   f i n d   o u t   w h y   a   P o d   w o n ' t   s c h e d u l e   o n t o   t h e   n o d e .   A s   w i t h   P o d s ,   y o u   c a n   u s e   k u b e c t l   d e s c r i b e   n o d e   a n d   k u b e c t l   g e t   n o d e   - o   y a m l   t o   r e t r i e v e   d e t a i l e d   i n f o r m a t i o n   a b o u t   n o d e s .   F o r   e x a m p l e ,   h e r e ' s   w h a t   y o u ' l l   s e e   i f   a   n o d e   i s   d o w n   ( d i s c o n n e c t e d   f r o m   t h e   n e t w o r k ,   o r   k u b e l e t   d i e s   a n d   w o n ' t   r e s t a r t ,   e t c . ) .   N o t i c e   t h e   e v e n t s   t h a t   s h o w   t h e   n o d e   i s   N o t R e a d y ,   a n d   a l s o   n o t i c e   t h a t   t h e   p o d s   a r e   n o   l o n g e r   r u n n i n g   ( t h e y   a r e   e v i c t e d   a f t e r   f i v e   m i n u t e s   o f   N o t R e a d y   s t a t u s ) .   k u b e c t l   g e t   n o d e s   N A M E   S T A T U S   R O L E S   A G E   V E R S I O N   k u b e - w o r k e r - 1   N o t R e a d y   < n o n e >   1 h   v 1 . 2 3 . 3   k u b e r n e t e s - n o d e - b o l s   R e a d y   < n o n e >   1 h   v 1 . 2 3 . 3   k u b e r n e t e s - n o d e - s t 6 x   R e a d y   < n o n e >   1 h   v 1 . 2 3 . 3   k u b e r n e t e s - n o d e - u n a j   R e a d y   < n o n e >   1 h   v 1 . 2 3 . 3   k u b e c t l   d e s c r i b e   n o d e   k u b e - w o r k e r - 1   N a m e :   k u b e - w o r k e r - 1   R o l e s :   < n o n e >   L a b e l s :   b e t a . k u b e r n e t e s . i o / a r c h = a m d 6 4   b e t a . k u b e r n e t e s . i o / o s = l i n u x   k u b e r n e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/",
    "id": "k8s_00506_section_3_9601"
  },
  {
    "question": "What is Looking at logs?",
    "answer": "F o r   n o w ,   d i g g i n g   d e e p e r   i n t o   t h e   c l u s t e r   r e q u i r e s   l o g g i n g   i n t o   t h e   r e l e v a n t   m a c h i n e s .   H e r e   a r e   t h e   l o c a t i o n s   o f   t h e   r e l e v a n t   l o g   f i l e s .   O n   s y s t e m d - b a s e d   s y s t e m s ,   y o u   m a y   n e e d   t o   u s e   j o u r n a l c t l   i n s t e a d   o f   e x a m i n i n g   l o g   f i l e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/",
    "id": "k8s_00506_section_2_9602"
  },
  {
    "question": "What is Control Plane nodes?",
    "answer": "/ v a r / l o g / k u b e - a p i s e r v e r . l o g   -   A P I   S e r v e r ,   r e s p o n s i b l e   f o r   s e r v i n g   t h e   A P I / v a r / l o g / k u b e - s c h e d u l e r . l o g   -   S c h e d u l e r ,   r e s p o n s i b l e   f o r   m a k i n g   s c h e d u l i n g   d e c i s i o n s / v a r / l o g / k u b e - c o n t r o l l e r - m a n a g e r . l o g   -   a   c o m p o n e n t   t h a t   r u n s   m o s t   K u b e r n e t e s   b u i l t - i n   c o n t r o l l e r s ,   w i t h   t h e   n o t a b l e   e x c e p t i o n   o f   s c h e d u l i n g   ( t h e   k u b e - s c h e d u l e r   h a n d l e s   s c h e d u l i n g ) .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/",
    "id": "k8s_00506_section_3_9603"
  },
  {
    "question": "What is Worker Nodes?",
    "answer": "/ v a r / l o g / k u b e l e t . l o g   -   l o g s   f r o m   t h e   k u b e l e t ,   r e s p o n s i b l e   f o r   r u n n i n g   c o n t a i n e r s   o n   t h e   n o d e / v a r / l o g / k u b e - p r o x y . l o g   -   l o g s   f r o m   k u b e - p r o x y ,   w h i c h   i s   r e s p o n s i b l e   f o r   d i r e c t i n g   t r a f f i c   t o   S e r v i c e   e n d p o i n t s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/",
    "id": "k8s_00506_section_3_9604"
  },
  {
    "question": "What is Cluster failure modes?",
    "answer": "T h i s   i s   a n   i n c o m p l e t e   l i s t   o f   t h i n g s   t h a t   c o u l d   g o   w r o n g ,   a n d   h o w   t o   a d j u s t   y o u r   c l u s t e r   s e t u p   t o   m i t i g a t e   t h e   p r o b l e m s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/",
    "id": "k8s_00506_section_2_9605"
  },
  {
    "question": "What is Contributing causes?",
    "answer": "V M ( s )   s h u t d o w n N e t w o r k   p a r t i t i o n   w i t h i n   c l u s t e r ,   o r   b e t w e e n   c l u s t e r   a n d   u s e r s C r a s h e s   i n   K u b e r n e t e s   s o f t w a r e D a t a   l o s s   o r   u n a v a i l a b i l i t y   o f   p e r s i s t e n t   s t o r a g e   ( e . g .   G C E   P D   o r   A W S   E B S   v o l u m e ) O p e r a t o r   e r r o r ,   f o r   e x a m p l e ,   m i s c o n f i g u r e d   K u b e r n e t e s   s o f t w a r e   o r   a p p l i c a t i o n   s o f t w a r e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/",
    "id": "k8s_00506_section_3_9606"
  },
  {
    "question": "What is Specific scenarios?",
    "answer": "A P I   s e r v e r   V M   s h u t d o w n   o r   a p i s e r v e r   c r a s h i n g R e s u l t s u n a b l e   t o   s t o p ,   u p d a t e ,   o r   s t a r t   n e w   p o d s ,   s e r v i c e s ,   r e p l i c a t i o n   c o n t r o l l e r e x i s t i n g   p o d s   a n d   s e r v i c e s   s h o u l d   c o n t i n u e   t o   w o r k   n o r m a l l y   u n l e s s   t h e y   d e p e n d   o n   t h e   K u b e r n e t e s   A P I A P I   s e r v e r   b a c k i n g   s t o r a g e   l o s t R e s u l t s t h e   k u b e - a p i s e r v e r   c o m p o n e n t   f a i l s   t o   s t a r t   s u c c e s s f u l l y   a n d   b e c o m e   h e a l t h y k u b e l e t s   w i l l   n o t   b e   a b l e   t o   r e a c h   i t   b u t   w i l l   c o n t i n u e   t o   r u n   t h e   s a m e   p o d s   a n d   p r o v i d e   t h e   s a m e   s e r v i c e   p r o x y i n g m a n u a l   r e c o v e r y   o r   r e c r e a t i o n   o f   a p i s e r v e r   s t a t e   n e c e s s a r y   b e f o r e   a p i s e r v e r   i s   r e s t a r t e d S u p p o r t i n g   s e r v i c e s   ( n o d e   c o n t r o l l e r ,   r e p l i c a t i o n   c o n t r o l l e r   m a n a g e r ,   s c h e d u l e r ,   e t c )   V M   s h u t d o w n   o r   c r a s h e s c u r r e n t l y   t h o s e   a r e   c o l o c a t e d   w i t h   t h e   a p i s e r v e r ,   a n d   t h e i r   u n a v a i l a b i l i t y   h a s   s i m i l a r   c o n s e q u e n c e s   a s   a p i s e r v e r i n   f u t u r e ,   t h e s e   w i l l   b e   r e p l i c a t e d   a s   w e l l   a n d   m a y   n o t   b e   c o - l o c a t e d t h e y   d o   n o t   h a v e   t h e i r   o w n   p e r s i s t e n t   s t a t e I n d i v i d u a l   n o d e   ( V M   o r   p h y s i c a l   m a c h i n e )   s h u t s   d o w n R e s u l t s p o d s   o n   t h a t   N o d e   s t o p   r u n n i n g N e t w o r k   p a r t i t i o n R e s u l t s p a r t i t i o n   A   t h i ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/",
    "id": "k8s_00506_section_3_9607"
  },
  {
    "question": "What is Mitigations?",
    "answer": "A c t i o n :   U s e   t h e   I a a S   p r o v i d e r ' s   a u t o m a t i c   V M   r e s t a r t i n g   f e a t u r e   f o r   I a a S   V M s M i t i g a t e s :   A p i s e r v e r   V M   s h u t d o w n   o r   a p i s e r v e r   c r a s h i n g M i t i g a t e s :   S u p p o r t i n g   s e r v i c e s   V M   s h u t d o w n   o r   c r a s h e s A c t i o n :   U s e   I a a S   p r o v i d e r s   r e l i a b l e   s t o r a g e   ( e . g .   G C E   P D   o r   A W S   E B S   v o l u m e )   f o r   V M s   w i t h   a p i s e r v e r + e t c d M i t i g a t e s :   A p i s e r v e r   b a c k i n g   s t o r a g e   l o s t A c t i o n :   U s e   h i g h - a v a i l a b i l i t y   c o n f i g u r a t i o n M i t i g a t e s :   C o n t r o l   p l a n e   n o d e   s h u t d o w n   o r   c o n t r o l   p l a n e   c o m p o n e n t s   ( s c h e d u l e r ,   A P I   s e r v e r ,   c o n t r o l l e r - m a n a g e r )   c r a s h i n g W i l l   t o l e r a t e   o n e   o r   m o r e   s i m u l t a n e o u s   n o d e   o r   c o m p o n e n t   f a i l u r e s M i t i g a t e s :   A P I   s e r v e r   b a c k i n g   s t o r a g e   ( i . e . ,   e t c d ' s   d a t a   d i r e c t o r y )   l o s t A s s u m e s   H A   ( h i g h l y - a v a i l a b l e )   e t c d   c o n f i g u r a t i o n A c t i o n :   S n a p s h o t   a p i s e r v e r   P D s / E B S - v o l u m e s   p e r i o d i c a l l y M i t i g a t e s :   A p i s e r v e r   b a c k i n g   s t o r a g e   l o s t M i t i g a t e s :   S o m e   c a s e s   o f   o p e r a t o r   e r r o r M i t i g a t e s :   S o m e   c a s e s   o f   K u b e r n e t e s   s o f t w a r e   f a u l t A c t i o n :   u s e   r e p l i c a t i o n   c o n t r o l l e r   a n d   s e r v i c e s   i n   f r o n t   o f   p o d s M i t i g a t e s :   N o d e   s h u t d o w n M i t i g a t e s :   K u b e l e t   s o f t w a r e   f a u l t A c t i o n :   a p p l i c a t i o n s ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/",
    "id": "k8s_00506_section_3_9608"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   t h e   m e t r i c s   a v a i l a b l e   i n   t h e   R e s o u r c e   M e t r i c s   P i p e l i n e D i s c o v e r   a d d i t i o n a l   t o o l s   f o r   m o n i t o r i n g   r e s o u r c e   u s a g e U s e   N o d e   P r o b l e m   D e t e c t o r   t o   m o n i t o r   n o d e   h e a l t h U s e   k u b e c t l   d e b u g   n o d e   t o   d e b u g   K u b e r n e t e s   n o d e s U s e   c r i c t l   t o   d e b u g   K u b e r n e t e s   n o d e s G e t   m o r e   i n f o r m a t i o n   a b o u t   K u b e r n e t e s   a u d i t i n g U s e   t e l e p r e s e n c e   t o   d e v e l o p   a n d   d e b u g   s e r v i c e s   l o c a l l y",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/",
    "id": "k8s_00506_section_2_9609"
  },
  {
    "question": "What is Kubernetes Custom Metrics (v1beta2)?",
    "answer": "Kubernetes Custom Metrics (v1beta2)Package v1beta2 is the v1beta2 version of the custom_metrics API.Resource TypesMetricListOptionsMetricValueMetricValueListMetricListOptionsMetricListOptions is used to select metrics by their label selectorsFieldDescriptionapiVersionstringcustom.metrics.k8s.io/v1beta2kindstringMetricListOptionslabelSelectorstringA selector to restrict the list of returned objects by their labels. Defaults to everything.metricLabelSelectorstringA selector to restrict the list of returned metrics by their labelsMetricValueAppears in:MetricValueListMetricValue is the metric value for some objectFieldDescriptionapiVersionstringcustom.metrics.k8s.io/v1beta2kindstringMetricValuedescribedObject [Required]core/v1.ObjectReferencea reference to the described objectmetric [Required]MetricIdentifierNo description provided.timestamp [Required]meta/v1.Timeindicates the time at which the metrics were producedwindowSeconds [Required]int64indicates the window ([Timestamp-Window, Timestamp]) from which these metrics were calculated, when returning rate metrics calculated from cumulative metrics (or zero for non-calculated instantaneous metrics).value [Required]k8s.io/apimachinery/pkg/api/resource.Quantitythe value of the metric for thisMetricValueListMetricValueList is a list of values for a given metric for some set of objectsFieldDescriptionapiVersionstringcustom.metrics.k8s.io/v1beta2kindstringMetricValueListmetadata [Required]meta/v1.ListMetaNo description provided.items [Required][]MetricValuethe value of the metric across the described objectsMetricIdentifierAppears in:MetricValueMetricIdentifier identifies a metric by name and, optionally, selectorFieldDescriptionname [Required]stringname is the name of the given metricselectormeta/v1.LabelSelectorselector represents the label selector that could be used to select this metric, and will generally just be the selector passed in to the query used to fetch this metric. When left blank, only the metric's Name will be used to gather metrics.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/custom-metrics.v1beta2/",
    "id": "k8s_00507_qa_9610"
  },
  {
    "question": "How does Kubernetes Custom Metrics (v1beta2) work?",
    "answer": "Kubernetes Custom Metrics (v1beta2)Package v1beta2 is the v1beta2 version of the custom_metrics API.Resource TypesMetricListOptionsMetricValueMetricValueListMetricListOptionsMetricListOptions is used to select metrics by their label selectorsFieldDescriptionapiVersionstringcustom.metrics.k8s.io/v1beta2kindstringMetricListOptionslabelSelectorstringA selector to restrict the list of returned objects by their labels. Defaults to everything.metricLabelSelectorstringA selector to restrict the list of returned metrics by their labelsMetricValueAppears in:MetricValueListMetricValue is the metric value for some objectFieldDescriptionapiVersionstringcustom.metrics.k8s.io/v1beta2kindstringMetricValuedescribedObject [Required]core/v1.ObjectReferencea reference to the described objectmetric [Required]MetricIdentifierNo description provided.timestamp [Required]meta/v1.Timeindicates the time at which the metrics were producedwindowSeconds [Required]int64indicates the window ([Timestamp-Window, Timestamp]) from which these metrics were calculated, when returning rate metrics calculated from cumulative metrics (or zero for non-calculated instantaneous metrics).value [Required]k8s.io/apimachinery/pkg/api/resource.Quantitythe value of the metric for thisMetricValueListMetricValueList is a list of values for a given metric for some set of objectsFieldDescriptionapiVersionstringcustom.metrics.k8s.io/v1beta2kindstringMetricValueListmetadata [Required]meta/v1.ListMetaNo description provided.items [Required][]MetricValuethe value of the metric across the described objectsMetricIdentifierAppears in:MetricValueMetricIdentifier identifies a metric by name and, optionally, selectorFieldDescriptionname [Required]stringname is the name of the given metricselectormeta/v1.LabelSelectorselector represents the label selector that could be used to select this metric, and will generally just be the selector passed in to the query used to fetch this metric. When left blank, only the metric's Name will be used to gather metrics.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/custom-metrics.v1beta2/",
    "id": "k8s_00507_qa_9611"
  },
  {
    "question": "When would you use Kubernetes Custom Metrics (v1beta2)?",
    "answer": "Kubernetes Custom Metrics (v1beta2)Package v1beta2 is the v1beta2 version of the custom_metrics API.Resource TypesMetricListOptionsMetricValueMetricValueListMetricListOptionsMetricListOptions is used to select metrics by their label selectorsFieldDescriptionapiVersionstringcustom.metrics.k8s.io/v1beta2kindstringMetricListOptionslabelSelectorstringA selector to restrict the list of returned objects by their labels. Defaults to everything.metricLabelSelectorstringA selector to restrict the list of returned metrics by their labelsMetricValueAppears in:MetricValueListMetricValue is the metric value for some objectFieldDescriptionapiVersionstringcustom.metrics.k8s.io/v1beta2kindstringMetricValuedescribedObject [Required]core/v1.ObjectReferencea reference to the described objectmetric [Required]MetricIdentifierNo description provided.timestamp [Required]meta/v1.Timeindicates the time at which the metrics were producedwindowSeconds [Required]int64indicates the window ([Timestamp-Window, Timestamp]) from which these metrics were calculated, when returning rate metrics calculated from cumulative metrics (or zero for non-calculated instantaneous metrics).value [Required]k8s.io/apimachinery/pkg/api/resource.Quantitythe value of the metric for thisMetricValueListMetricValueList is a list of values for a given metric for some set of objectsFieldDescriptionapiVersionstringcustom.metrics.k8s.io/v1beta2kindstringMetricValueListmetadata [Required]meta/v1.ListMetaNo description provided.items [Required][]MetricValuethe value of the metric across the described objectsMetricIdentifierAppears in:MetricValueMetricIdentifier identifies a metric by name and, optionally, selectorFieldDescriptionname [Required]stringname is the name of the given metricselectormeta/v1.LabelSelectorselector represents the label selector that could be used to select this metric, and will generally just be the selector passed in to the query used to fetch this metric. When left blank, only the metric's Name will be used to gather metrics.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/custom-metrics.v1beta2/",
    "id": "k8s_00507_qa_9612"
  },
  {
    "question": "What are the benefits of Kubernetes Custom Metrics (v1beta2)?",
    "answer": "Kubernetes Custom Metrics (v1beta2)Package v1beta2 is the v1beta2 version of the custom_metrics API.Resource TypesMetricListOptionsMetricValueMetricValueListMetricListOptionsMetricListOptions is used to select metrics by their label selectorsFieldDescriptionapiVersionstringcustom.metrics.k8s.io/v1beta2kindstringMetricListOptionslabelSelectorstringA selector to restrict the list of returned objects by their labels. Defaults to everything.metricLabelSelectorstringA selector to restrict the list of returned metrics by their labelsMetricValueAppears in:MetricValueListMetricValue is the metric value for some objectFieldDescriptionapiVersionstringcustom.metrics.k8s.io/v1beta2kindstringMetricValuedescribedObject [Required]core/v1.ObjectReferencea reference to the described objectmetric [Required]MetricIdentifierNo description provided.timestamp [Required]meta/v1.Timeindicates the time at which the metrics were producedwindowSeconds [Required]int64indicates the window ([Timestamp-Window, Timestamp]) from which these metrics were calculated, when returning rate metrics calculated from cumulative metrics (or zero for non-calculated instantaneous metrics).value [Required]k8s.io/apimachinery/pkg/api/resource.Quantitythe value of the metric for thisMetricValueListMetricValueList is a list of values for a given metric for some set of objectsFieldDescriptionapiVersionstringcustom.metrics.k8s.io/v1beta2kindstringMetricValueListmetadata [Required]meta/v1.ListMetaNo description provided.items [Required][]MetricValuethe value of the metric across the described objectsMetricIdentifierAppears in:MetricValueMetricIdentifier identifies a metric by name and, optionally, selectorFieldDescriptionname [Required]stringname is the name of the given metricselectormeta/v1.LabelSelectorselector represents the label selector that could be used to select this metric, and will generally just be the selector passed in to the query used to fetch this metric. When left blank, only the metric's Name will be used to gather metrics.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/custom-metrics.v1beta2/",
    "id": "k8s_00507_qa_9613"
  },
  {
    "question": "What is Kubernetes Custom Metrics (v1beta2)?",
    "answer": "P a c k a g e   v 1 b e t a 2   i s   t h e   v 1 b e t a 2   v e r s i o n   o f   t h e   c u s t o m _ m e t r i c s   A P I .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/custom-metrics.v1beta2/",
    "id": "k8s_00507_section_1_9614"
  },
  {
    "question": "What is Resource Types?",
    "answer": "M e t r i c L i s t O p t i o n s M e t r i c V a l u e M e t r i c V a l u e L i s t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/custom-metrics.v1beta2/",
    "id": "k8s_00507_section_2_9615"
  },
  {
    "question": "What is MetricListOptions?",
    "answer": "M e t r i c L i s t O p t i o n s   i s   u s e d   t o   s e l e c t   m e t r i c s   b y   t h e i r   l a b e l   s e l e c t o r s   A   s e l e c t o r   t o   r e s t r i c t   t h e   l i s t   o f   r e t u r n e d   o b j e c t s   b y   t h e i r   l a b e l s .   D e f a u l t s   t o   e v e r y t h i n g .   A   s e l e c t o r   t o   r e s t r i c t   t h e   l i s t   o f   r e t u r n e d   m e t r i c s   b y   t h e i r   l a b e l s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/custom-metrics.v1beta2/",
    "id": "k8s_00507_section_2_9616"
  },
  {
    "question": "What is MetricValue?",
    "answer": "A p p e a r s   i n :   M e t r i c V a l u e L i s t   M e t r i c V a l u e   i s   t h e   m e t r i c   v a l u e   f o r   s o m e   o b j e c t   a   r e f e r e n c e   t o   t h e   d e s c r i b e d   o b j e c t   i n d i c a t e s   t h e   t i m e   a t   w h i c h   t h e   m e t r i c s   w e r e   p r o d u c e d   i n d i c a t e s   t h e   w i n d o w   ( [ T i m e s t a m p - W i n d o w ,   T i m e s t a m p ] )   f r o m   w h i c h   t h e s e   m e t r i c s   w e r e   c a l c u l a t e d ,   w h e n   r e t u r n i n g   r a t e   m e t r i c s   c a l c u l a t e d   f r o m   c u m u l a t i v e   m e t r i c s   ( o r   z e r o   f o r   n o n - c a l c u l a t e d   i n s t a n t a n e o u s   m e t r i c s ) .   t h e   v a l u e   o f   t h e   m e t r i c   f o r   t h i s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/custom-metrics.v1beta2/",
    "id": "k8s_00507_section_2_9617"
  },
  {
    "question": "What is MetricValueList?",
    "answer": "M e t r i c V a l u e L i s t   i s   a   l i s t   o f   v a l u e s   f o r   a   g i v e n   m e t r i c   f o r   s o m e   s e t   o f   o b j e c t s   t h e   v a l u e   o f   t h e   m e t r i c   a c r o s s   t h e   d e s c r i b e d   o b j e c t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/custom-metrics.v1beta2/",
    "id": "k8s_00507_section_2_9618"
  },
  {
    "question": "What is MetricIdentifier?",
    "answer": "A p p e a r s   i n :   M e t r i c V a l u e   M e t r i c I d e n t i f i e r   i d e n t i f i e s   a   m e t r i c   b y   n a m e   a n d ,   o p t i o n a l l y ,   s e l e c t o r   n a m e   i s   t h e   n a m e   o f   t h e   g i v e n   m e t r i c   s e l e c t o r   r e p r e s e n t s   t h e   l a b e l   s e l e c t o r   t h a t   c o u l d   b e   u s e d   t o   s e l e c t   t h i s   m e t r i c ,   a n d   w i l l   g e n e r a l l y   j u s t   b e   t h e   s e l e c t o r   p a s s e d   i n   t o   t h e   q u e r y   u s e d   t o   f e t c h   t h i s   m e t r i c .   W h e n   l e f t   b l a n k ,   o n l y   t h e   m e t r i c ' s   N a m e   w i l l   b e   u s e d   t o   g a t h e r   m e t r i c s .   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/custom-metrics.v1beta2/",
    "id": "k8s_00507_section_2_9619"
  },
  {
    "question": "What is kube-apiserver Configuration (v1alpha1)?",
    "answer": "kube-apiserver Configuration (v1alpha1)Package v1alpha1 is the v1alpha1 version of the API.Resource TypesAdmissionConfigurationAuthenticationConfigurationAuthorizationConfigurationEgressSelectorConfigurationTracingConfigurationTracingConfigurationAppears in:KubeletConfigurationTracingConfigurationTracingConfiguration provides versioned configuration for OpenTelemetry tracing clients.FieldDescriptionendpointstringEndpoint of the collector this component will report traces to. The connection is insecure, and does not currently support TLS. Recommended is unset, and endpoint is the otlp grpc default, localhost:4317.samplingRatePerMillionint32SamplingRatePerMillion is the number of samples to collect per million spans. Recommended is unset. If unset, sampler respects its parent span's sampling rate, but otherwise never samples.AdmissionConfigurationAdmissionConfiguration provides versioned configuration for admission controllers.FieldDescriptionapiVersionstringapiserver.k8s.io/v1alpha1kindstringAdmissionConfigurationplugins[]AdmissionPluginConfigurationPlugins allows specifying a configuration per admission control plugin.AuthenticationConfigurationAuthenticationConfiguration provides versioned configuration for authentication.FieldDescriptionapiVersionstringapiserver.k8s.io/v1alpha1kindstringAuthenticationConfigurationjwt [Required][]JWTAuthenticatorjwt is a list of authenticator to authenticate Kubernetes users using JWT compliant tokens. The authenticator will attempt to parse a raw ID token, verify it's been signed by the configured issuer. The public key to verify the signature is discovered from the issuer's public endpoint using OIDC discovery. For an incoming token, each JWT authenticator will be attempted in the order in which it is specified in this list. Note however that other authenticators may run before or after the JWT authenticators. The specific position of JWT authenticators in relation to other authenticators is neither defined nor stable across releases. Since each JWT authenticator must have a unique issuer URL, at most one JWT authenticator will attempt to cryptographically validate the token.The minimum valid JWT payload must contain the following claims: { \"iss\": \"https://issuer.example.com\", \"aud\": [\"audience\"], \"exp\": 1234567890, \"\": \"username\" }anonymous [Required]AnonymousAuthConfigIf present --anonymous-auth must not be setAuthorizationConfigurationFieldDescriptionapiVersionstringapiserver.k8s.io/v1alpha1kindstringAuthorizationConfigurationauthorizers [Required][]AuthorizerConfigurationAuthorizers is an ordered list of authorizers to authorize requests against. This is similar to the --authorization-modes kube-apiserver flag Must be at least one.EgressSelectorConfigurationEgressSelectorConfiguration provides versioned configuration for egress selector clients.FieldDescriptionapiVersionstringapiserver.k8s.io/v1alpha1kindstringEgressSelectorConfigurationegressSelections [Required][]EgressSelectionconnectionServices contain",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_qa_9620"
  },
  {
    "question": "How does kube-apiserver Configuration (v1alpha1) work?",
    "answer": "kube-apiserver Configuration (v1alpha1)Package v1alpha1 is the v1alpha1 version of the API.Resource TypesAdmissionConfigurationAuthenticationConfigurationAuthorizationConfigurationEgressSelectorConfigurationTracingConfigurationTracingConfigurationAppears in:KubeletConfigurationTracingConfigurationTracingConfiguration provides versioned configuration for OpenTelemetry tracing clients.FieldDescriptionendpointstringEndpoint of the collector this component will report traces to. The connection is insecure, and does not currently support TLS. Recommended is unset, and endpoint is the otlp grpc default, localhost:4317.samplingRatePerMillionint32SamplingRatePerMillion is the number of samples to collect per million spans. Recommended is unset. If unset, sampler respects its parent span's sampling rate, but otherwise never samples.AdmissionConfigurationAdmissionConfiguration provides versioned configuration for admission controllers.FieldDescriptionapiVersionstringapiserver.k8s.io/v1alpha1kindstringAdmissionConfigurationplugins[]AdmissionPluginConfigurationPlugins allows specifying a configuration per admission control plugin.AuthenticationConfigurationAuthenticationConfiguration provides versioned configuration for authentication.FieldDescriptionapiVersionstringapiserver.k8s.io/v1alpha1kindstringAuthenticationConfigurationjwt [Required][]JWTAuthenticatorjwt is a list of authenticator to authenticate Kubernetes users using JWT compliant tokens. The authenticator will attempt to parse a raw ID token, verify it's been signed by the configured issuer. The public key to verify the signature is discovered from the issuer's public endpoint using OIDC discovery. For an incoming token, each JWT authenticator will be attempted in the order in which it is specified in this list. Note however that other authenticators may run before or after the JWT authenticators. The specific position of JWT authenticators in relation to other authenticators is neither defined nor stable across releases. Since each JWT authenticator must have a unique issuer URL, at most one JWT authenticator will attempt to cryptographically validate the token.The minimum valid JWT payload must contain the following claims: { \"iss\": \"https://issuer.example.com\", \"aud\": [\"audience\"], \"exp\": 1234567890, \"\": \"username\" }anonymous [Required]AnonymousAuthConfigIf present --anonymous-auth must not be setAuthorizationConfigurationFieldDescriptionapiVersionstringapiserver.k8s.io/v1alpha1kindstringAuthorizationConfigurationauthorizers [Required][]AuthorizerConfigurationAuthorizers is an ordered list of authorizers to authorize requests against. This is similar to the --authorization-modes kube-apiserver flag Must be at least one.EgressSelectorConfigurationEgressSelectorConfiguration provides versioned configuration for egress selector clients.FieldDescriptionapiVersionstringapiserver.k8s.io/v1alpha1kindstringEgressSelectorConfigurationegressSelections [Required][]EgressSelectionconnectionServices contain",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_qa_9621"
  },
  {
    "question": "When would you use kube-apiserver Configuration (v1alpha1)?",
    "answer": "kube-apiserver Configuration (v1alpha1)Package v1alpha1 is the v1alpha1 version of the API.Resource TypesAdmissionConfigurationAuthenticationConfigurationAuthorizationConfigurationEgressSelectorConfigurationTracingConfigurationTracingConfigurationAppears in:KubeletConfigurationTracingConfigurationTracingConfiguration provides versioned configuration for OpenTelemetry tracing clients.FieldDescriptionendpointstringEndpoint of the collector this component will report traces to. The connection is insecure, and does not currently support TLS. Recommended is unset, and endpoint is the otlp grpc default, localhost:4317.samplingRatePerMillionint32SamplingRatePerMillion is the number of samples to collect per million spans. Recommended is unset. If unset, sampler respects its parent span's sampling rate, but otherwise never samples.AdmissionConfigurationAdmissionConfiguration provides versioned configuration for admission controllers.FieldDescriptionapiVersionstringapiserver.k8s.io/v1alpha1kindstringAdmissionConfigurationplugins[]AdmissionPluginConfigurationPlugins allows specifying a configuration per admission control plugin.AuthenticationConfigurationAuthenticationConfiguration provides versioned configuration for authentication.FieldDescriptionapiVersionstringapiserver.k8s.io/v1alpha1kindstringAuthenticationConfigurationjwt [Required][]JWTAuthenticatorjwt is a list of authenticator to authenticate Kubernetes users using JWT compliant tokens. The authenticator will attempt to parse a raw ID token, verify it's been signed by the configured issuer. The public key to verify the signature is discovered from the issuer's public endpoint using OIDC discovery. For an incoming token, each JWT authenticator will be attempted in the order in which it is specified in this list. Note however that other authenticators may run before or after the JWT authenticators. The specific position of JWT authenticators in relation to other authenticators is neither defined nor stable across releases. Since each JWT authenticator must have a unique issuer URL, at most one JWT authenticator will attempt to cryptographically validate the token.The minimum valid JWT payload must contain the following claims: { \"iss\": \"https://issuer.example.com\", \"aud\": [\"audience\"], \"exp\": 1234567890, \"\": \"username\" }anonymous [Required]AnonymousAuthConfigIf present --anonymous-auth must not be setAuthorizationConfigurationFieldDescriptionapiVersionstringapiserver.k8s.io/v1alpha1kindstringAuthorizationConfigurationauthorizers [Required][]AuthorizerConfigurationAuthorizers is an ordered list of authorizers to authorize requests against. This is similar to the --authorization-modes kube-apiserver flag Must be at least one.EgressSelectorConfigurationEgressSelectorConfiguration provides versioned configuration for egress selector clients.FieldDescriptionapiVersionstringapiserver.k8s.io/v1alpha1kindstringEgressSelectorConfigurationegressSelections [Required][]EgressSelectionconnectionServices contain",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_qa_9622"
  },
  {
    "question": "What are the benefits of kube-apiserver Configuration (v1alpha1)?",
    "answer": "kube-apiserver Configuration (v1alpha1)Package v1alpha1 is the v1alpha1 version of the API.Resource TypesAdmissionConfigurationAuthenticationConfigurationAuthorizationConfigurationEgressSelectorConfigurationTracingConfigurationTracingConfigurationAppears in:KubeletConfigurationTracingConfigurationTracingConfiguration provides versioned configuration for OpenTelemetry tracing clients.FieldDescriptionendpointstringEndpoint of the collector this component will report traces to. The connection is insecure, and does not currently support TLS. Recommended is unset, and endpoint is the otlp grpc default, localhost:4317.samplingRatePerMillionint32SamplingRatePerMillion is the number of samples to collect per million spans. Recommended is unset. If unset, sampler respects its parent span's sampling rate, but otherwise never samples.AdmissionConfigurationAdmissionConfiguration provides versioned configuration for admission controllers.FieldDescriptionapiVersionstringapiserver.k8s.io/v1alpha1kindstringAdmissionConfigurationplugins[]AdmissionPluginConfigurationPlugins allows specifying a configuration per admission control plugin.AuthenticationConfigurationAuthenticationConfiguration provides versioned configuration for authentication.FieldDescriptionapiVersionstringapiserver.k8s.io/v1alpha1kindstringAuthenticationConfigurationjwt [Required][]JWTAuthenticatorjwt is a list of authenticator to authenticate Kubernetes users using JWT compliant tokens. The authenticator will attempt to parse a raw ID token, verify it's been signed by the configured issuer. The public key to verify the signature is discovered from the issuer's public endpoint using OIDC discovery. For an incoming token, each JWT authenticator will be attempted in the order in which it is specified in this list. Note however that other authenticators may run before or after the JWT authenticators. The specific position of JWT authenticators in relation to other authenticators is neither defined nor stable across releases. Since each JWT authenticator must have a unique issuer URL, at most one JWT authenticator will attempt to cryptographically validate the token.The minimum valid JWT payload must contain the following claims: { \"iss\": \"https://issuer.example.com\", \"aud\": [\"audience\"], \"exp\": 1234567890, \"\": \"username\" }anonymous [Required]AnonymousAuthConfigIf present --anonymous-auth must not be setAuthorizationConfigurationFieldDescriptionapiVersionstringapiserver.k8s.io/v1alpha1kindstringAuthorizationConfigurationauthorizers [Required][]AuthorizerConfigurationAuthorizers is an ordered list of authorizers to authorize requests against. This is similar to the --authorization-modes kube-apiserver flag Must be at least one.EgressSelectorConfigurationEgressSelectorConfiguration provides versioned configuration for egress selector clients.FieldDescriptionapiVersionstringapiserver.k8s.io/v1alpha1kindstringEgressSelectorConfigurationegressSelections [Required][]EgressSelectionconnectionServices contain",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_qa_9623"
  },
  {
    "question": "What is kube-apiserver Configuration (v1alpha1)?",
    "answer": "P a c k a g e   v 1 a l p h a 1   i s   t h e   v 1 a l p h a 1   v e r s i o n   o f   t h e   A P I .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_1_9624"
  },
  {
    "question": "What is Resource Types?",
    "answer": "A d m i s s i o n C o n f i g u r a t i o n A u t h e n t i c a t i o n C o n f i g u r a t i o n A u t h o r i z a t i o n C o n f i g u r a t i o n E g r e s s S e l e c t o r C o n f i g u r a t i o n T r a c i n g C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9625"
  },
  {
    "question": "What is TracingConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e l e t C o n f i g u r a t i o n T r a c i n g C o n f i g u r a t i o n   K u b e l e t C o n f i g u r a t i o n   T r a c i n g C o n f i g u r a t i o n   T r a c i n g C o n f i g u r a t i o n   p r o v i d e s   v e r s i o n e d   c o n f i g u r a t i o n   f o r   O p e n T e l e m e t r y   t r a c i n g   c l i e n t s .   E n d p o i n t   o f   t h e   c o l l e c t o r   t h i s   c o m p o n e n t   w i l l   r e p o r t   t r a c e s   t o .   T h e   c o n n e c t i o n   i s   i n s e c u r e ,   a n d   d o e s   n o t   c u r r e n t l y   s u p p o r t   T L S .   R e c o m m e n d e d   i s   u n s e t ,   a n d   e n d p o i n t   i s   t h e   o t l p   g r p c   d e f a u l t ,   l o c a l h o s t : 4 3 1 7 .   S a m p l i n g R a t e P e r M i l l i o n   i s   t h e   n u m b e r   o f   s a m p l e s   t o   c o l l e c t   p e r   m i l l i o n   s p a n s .   R e c o m m e n d e d   i s   u n s e t .   I f   u n s e t ,   s a m p l e r   r e s p e c t s   i t s   p a r e n t   s p a n ' s   s a m p l i n g   r a t e ,   b u t   o t h e r w i s e   n e v e r   s a m p l e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9626"
  },
  {
    "question": "What is AdmissionConfiguration?",
    "answer": "A d m i s s i o n C o n f i g u r a t i o n   p r o v i d e s   v e r s i o n e d   c o n f i g u r a t i o n   f o r   a d m i s s i o n   c o n t r o l l e r s .   P l u g i n s   a l l o w s   s p e c i f y i n g   a   c o n f i g u r a t i o n   p e r   a d m i s s i o n   c o n t r o l   p l u g i n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9627"
  },
  {
    "question": "What is AuthenticationConfiguration?",
    "answer": "A u t h e n t i c a t i o n C o n f i g u r a t i o n   p r o v i d e s   v e r s i o n e d   c o n f i g u r a t i o n   f o r   a u t h e n t i c a t i o n .   j w t   i s   a   l i s t   o f   a u t h e n t i c a t o r   t o   a u t h e n t i c a t e   K u b e r n e t e s   u s e r s   u s i n g   J W T   c o m p l i a n t   t o k e n s .   T h e   a u t h e n t i c a t o r   w i l l   a t t e m p t   t o   p a r s e   a   r a w   I D   t o k e n ,   v e r i f y   i t ' s   b e e n   s i g n e d   b y   t h e   c o n f i g u r e d   i s s u e r .   T h e   p u b l i c   k e y   t o   v e r i f y   t h e   s i g n a t u r e   i s   d i s c o v e r e d   f r o m   t h e   i s s u e r ' s   p u b l i c   e n d p o i n t   u s i n g   O I D C   d i s c o v e r y .   F o r   a n   i n c o m i n g   t o k e n ,   e a c h   J W T   a u t h e n t i c a t o r   w i l l   b e   a t t e m p t e d   i n   t h e   o r d e r   i n   w h i c h   i t   i s   s p e c i f i e d   i n   t h i s   l i s t .   N o t e   h o w e v e r   t h a t   o t h e r   a u t h e n t i c a t o r s   m a y   r u n   b e f o r e   o r   a f t e r   t h e   J W T   a u t h e n t i c a t o r s .   T h e   s p e c i f i c   p o s i t i o n   o f   J W T   a u t h e n t i c a t o r s   i n   r e l a t i o n   t o   o t h e r   a u t h e n t i c a t o r s   i s   n e i t h e r   d e f i n e d   n o r   s t a b l e   a c r o s s   r e l e a s e s .   S i n c e   e a c h   J W T   a u t h e n t i c a t o r   m u s t   h a v e   a   u n i q u e   i s s u e r   U R L ,   a t   m o s t   o n e   J W T   a u t h e n t i c a t o r   w i l l   a t t e m p t   t o   c r y p t o g r a p h i c a l l y   v a l i d a t e   t h e   t o k e n .   T h e   m i n i m u m   v a l i d   J W T   p a y l o a d   m u s t   c o n t a i n   t h e   f o l l o w i n g   c l a i m s :   {   \" i s s \" :   \" h t t p s : / / i s s u e r . e x a m p l e . c o m \" ,   \" a u d \" :   [ \" a u d i e n c e \" ] ,   \" e x p \" :   1 2 3 4 5 6 ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9628"
  },
  {
    "question": "What is AuthorizationConfiguration?",
    "answer": "A u t h o r i z e r s   i s   a n   o r d e r e d   l i s t   o f   a u t h o r i z e r s   t o   a u t h o r i z e   r e q u e s t s   a g a i n s t .   T h i s   i s   s i m i l a r   t o   t h e   - - a u t h o r i z a t i o n - m o d e s   k u b e - a p i s e r v e r   f l a g   M u s t   b e   a t   l e a s t   o n e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9629"
  },
  {
    "question": "What is EgressSelectorConfiguration?",
    "answer": "E g r e s s S e l e c t o r C o n f i g u r a t i o n   p r o v i d e s   v e r s i o n e d   c o n f i g u r a t i o n   f o r   e g r e s s   s e l e c t o r   c l i e n t s .   c o n n e c t i o n S e r v i c e s   c o n t a i n s   a   l i s t   o f   e g r e s s   s e l e c t i o n   c l i e n t   c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9630"
  },
  {
    "question": "What is TracingConfiguration?",
    "answer": "T r a c i n g C o n f i g u r a t i o n   p r o v i d e s   v e r s i o n e d   c o n f i g u r a t i o n   f o r   t r a c i n g   c l i e n t s .   E m b e d   t h e   c o m p o n e n t   c o n f i g   t r a c i n g   c o n f i g u r a t i o n   s t r u c t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9631"
  },
  {
    "question": "What is AdmissionPluginConfiguration?",
    "answer": "A p p e a r s   i n :   A d m i s s i o n C o n f i g u r a t i o n   A d m i s s i o n P l u g i n C o n f i g u r a t i o n   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   p l u g - i n .   N a m e   i s   t h e   n a m e   o f   t h e   a d m i s s i o n   c o n t r o l l e r .   I t   m u s t   m a t c h   t h e   r e g i s t e r e d   a d m i s s i o n   p l u g i n   n a m e .   P a t h   i s   t h e   p a t h   t o   a   c o n f i g u r a t i o n   f i l e   t h a t   c o n t a i n s   t h e   p l u g i n ' s   c o n f i g u r a t i o n   C o n f i g u r a t i o n   i s   a n   e m b e d d e d   c o n f i g u r a t i o n   o b j e c t   t o   b e   u s e d   a s   t h e   p l u g i n ' s   c o n f i g u r a t i o n .   I f   p r e s e n t ,   i t   w i l l   b e   u s e d   i n s t e a d   o f   t h e   p a t h   t o   t h e   c o n f i g u r a t i o n   f i l e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9632"
  },
  {
    "question": "What is AnonymousAuthCondition?",
    "answer": "A p p e a r s   i n :   A n o n y m o u s A u t h C o n f i g   A n o n y m o u s A u t h C o n d i t i o n   d e s c r i b e s   t h e   c o n d i t i o n   u n d e r   w h i c h   a n o n y m o u s   a u t h   s h o u l d   b e   e n a b l e d .   P a t h   f o r   w h i c h   a n o n y m o u s   a u t h   i s   e n a b l e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9633"
  },
  {
    "question": "What is AnonymousAuthConfig?",
    "answer": "A p p e a r s   i n :   A u t h e n t i c a t i o n C o n f i g u r a t i o n   A n o n y m o u s A u t h C o n f i g   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   t h e   a n o n y m o u s   a u t h e n t i c a t o r .   I f   s e t ,   a n o n y m o u s   a u t h   i s   o n l y   a l l o w e d   i f   t h e   r e q u e s t   m e e t s   o n e   o f   t h e   c o n d i t i o n s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9634"
  },
  {
    "question": "What is AudienceMatchPolicyType?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   I s s u e r   A u d i e n c e M a t c h P o l i c y T y p e   i s   a   s e t   o f   v a l i d   v a l u e s   f o r   i s s u e r . a u d i e n c e M a t c h P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9635"
  },
  {
    "question": "What is AuthorizerConfiguration?",
    "answer": "A p p e a r s   i n :   A u t h o r i z a t i o n C o n f i g u r a t i o n   T y p e   r e f e r s   t o   t h e   t y p e   o f   t h e   a u t h o r i z e r   \" W e b h o o k \"   i s   s u p p o r t e d   i n   t h e   g e n e r i c   A P I   s e r v e r   O t h e r   A P I   s e r v e r s   m a y   s u p p o r t   a d d i t i o n a l   a u t h o r i z e r   t y p e s   l i k e   N o d e ,   R B A C ,   A B A C ,   e t c .   N a m e   u s e d   t o   d e s c r i b e   t h e   w e b h o o k   T h i s   i s   e x p l i c i t l y   u s e d   i n   m o n i t o r i n g   m a c h i n e r y   f o r   m e t r i c s   N o t e :   N a m e s   m u s t   b e   D N S 1 1 2 3   l a b e l s   l i k e   m y a u t h o r i z e r n a m e   o r   s u b d o m a i n s   l i k e   m y a u t h o r i z e r . e x a m p l e . d o m a i n   R e q u i r e d ,   w i t h   n o   d e f a u l t   W e b h o o k   d e f i n e s   t h e   c o n f i g u r a t i o n   f o r   a   W e b h o o k   a u t h o r i z e r   M u s t   b e   d e f i n e d   w h e n   T y p e = W e b h o o k   M u s t   n o t   b e   d e f i n e d   w h e n   T y p e ! = W e b h o o k",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9636"
  },
  {
    "question": "What is ClaimMappings?",
    "answer": "A p p e a r s   i n :   J W T A u t h e n t i c a t o r   C l a i m M a p p i n g s   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   c l a i m   m a p p i n g   u s e r n a m e   r e p r e s e n t s   a n   o p t i o n   f o r   t h e   u s e r n a m e   a t t r i b u t e .   T h e   c l a i m ' s   v a l u e   m u s t   b e   a   s i n g u l a r   s t r i n g .   S a m e   a s   t h e   - - o i d c - u s e r n a m e - c l a i m   a n d   - - o i d c - u s e r n a m e - p r e f i x   f l a g s .   I f   u s e r n a m e . e x p r e s s i o n   i s   s e t ,   t h e   e x p r e s s i o n   m u s t   p r o d u c e   a   s t r i n g   v a l u e .   I f   u s e r n a m e . e x p r e s s i o n   u s e s   ' c l a i m s . e m a i l ' ,   t h e n   ' c l a i m s . e m a i l _ v e r i f i e d '   m u s t   b e   u s e d   i n   u s e r n a m e . e x p r e s s i o n   o r   e x t r a [ * ] . v a l u e E x p r e s s i o n   o r   c l a i m V a l i d a t i o n R u l e s [ < * > ] . e x p r e s s i o n .   A n   e x a m p l e   c l a i m   v a l i d a t i o n   r u l e   e x p r e s s i o n   t h a t   m a t c h e s   t h e   v a l i d a t i o n   a u t o m a t i c a l l y   a p p l i e d   w h e n   u s e r n a m e . c l a i m   i s   s e t   t o   ' e m a i l '   i s   ' c l a i m s . ? e m a i l _ v e r i f i e d . o r V a l u e ( t r u e )   = =   t r u e ' .   B y   e x p l i c i t l y   c o m p a r i n g   t h e   v a l u e   t o   t r u e ,   w e   l e t   t y p e - c h e c k i n g   s e e   t h e   r e s u l t   w i l l   b e   a   b o o l e a n ,   a n d   t o   m a k e   s u r e   a   n o n - b o o l e a n   e m a i l _ v e r i f i e d   c l a i m   w i l l   b e   c a u g h t   a t   r u n t i m e .   I n   t h e   f l a g   b a s e d   a p p r o a c h ,   t h e   - - o i d c - u s e r n a m e - c l a i m   a n d   - - o i d c - u s e r n a m e - p r e f i x   a r e   o p t i o n a l .   I f   - - o i d c - u s e r n a m e - c l a i m   i s   n o t   s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9637"
  },
  {
    "question": "What is ClaimOrExpression?",
    "answer": "A p p e a r s   i n :   C l a i m M a p p i n g s   C l a i m O r E x p r e s s i o n   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   c l a i m   o r   e x p r e s s i o n .   c l a i m   i s   t h e   J W T   c l a i m   t o   u s e .   E i t h e r   c l a i m   o r   e x p r e s s i o n   m u s t   b e   s e t .   M u t u a l l y   e x c l u s i v e   w i t h   e x p r e s s i o n .   e x p r e s s i o n   r e p r e s e n t s   t h e   e x p r e s s i o n   w h i c h   w i l l   b e   e v a l u a t e d   b y   C E L .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   t h e   t o k e n   c l a i m s ,   o r g a n i z e d   i n t o   C E L   v a r i a b l e :   ' c l a i m s '   i s   a   m a p   o f   c l a i m   n a m e s   t o   c l a i m   v a l u e s .   F o r   e x a m p l e ,   a   v a r i a b l e   n a m e d   ' s u b '   c a n   b e   a c c e s s e d   a s   ' c l a i m s . s u b ' .   N e s t e d   c l a i m s   c a n   b e   a c c e s s e d   u s i n g   d o t   n o t a t i o n ,   e . g .   ' c l a i m s . f o o . b a r ' .   D o c u m e n t a t i o n   o n   C E L :   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / u s i n g - a p i / c e l /   M u t u a l l y   e x c l u s i v e   w i t h   c l a i m .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9638"
  },
  {
    "question": "What is ClaimValidationRule?",
    "answer": "A p p e a r s   i n :   J W T A u t h e n t i c a t o r   C l a i m V a l i d a t i o n R u l e   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   c l a i m   v a l i d a t i o n   r u l e .   c l a i m   i s   t h e   n a m e   o f   a   r e q u i r e d   c l a i m .   S a m e   a s   - - o i d c - r e q u i r e d - c l a i m   f l a g .   O n l y   s t r i n g   c l a i m   k e y s   a r e   s u p p o r t e d .   M u t u a l l y   e x c l u s i v e   w i t h   e x p r e s s i o n   a n d   m e s s a g e .   r e q u i r e d V a l u e   i s   t h e   v a l u e   o f   a   r e q u i r e d   c l a i m .   S a m e   a s   - - o i d c - r e q u i r e d - c l a i m   f l a g .   O n l y   s t r i n g   c l a i m   v a l u e s   a r e   s u p p o r t e d .   I f   c l a i m   i s   s e t   a n d   r e q u i r e d V a l u e   i s   n o t   s e t ,   t h e   c l a i m   m u s t   b e   p r e s e n t   w i t h   a   v a l u e   s e t   t o   t h e   e m p t y   s t r i n g .   M u t u a l l y   e x c l u s i v e   w i t h   e x p r e s s i o n   a n d   m e s s a g e .   e x p r e s s i o n   r e p r e s e n t s   t h e   e x p r e s s i o n   w h i c h   w i l l   b e   e v a l u a t e d   b y   C E L .   M u s t   p r o d u c e   a   b o o l e a n .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   t h e   t o k e n   c l a i m s ,   o r g a n i z e d   i n t o   C E L   v a r i a b l e :   ' c l a i m s '   i s   a   m a p   o f   c l a i m   n a m e s   t o   c l a i m   v a l u e s .   F o r   e x a m p l e ,   a   v a r i a b l e   n a m e d   ' s u b '   c a n   b e   a c c e s s e d   a s   ' c l a i m s . s u b ' .   N e s t e d   c l a i m s   c a n   b e   a c c e s s e d   u s i n g   d o t   n o t a t i o n ,   e . g .   ' c l a i m s . f o o . b a r ' .   M u s t   r e t u r n   t r u e   f o r   t h e   v a l i d a t i o n   t o   p a s s .   D o c u m e n t a t i o n   o n   C E L : ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9639"
  },
  {
    "question": "What is Connection?",
    "answer": "A p p e a r s   i n :   E g r e s s S e l e c t i o n   C o n n e c t i o n   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   e g r e s s   s e l e c t i o n   c l i e n t .   P r o t o c o l   i s   t h e   p r o t o c o l   u s e d   t o   c o n n e c t   f r o m   c l i e n t   t o   t h e   k o n n e c t i v i t y   s e r v e r .   T r a n s p o r t   d e f i n e s   t h e   t r a n s p o r t   c o n f i g u r a t i o n s   w e   u s e   t o   d i a l   t o   t h e   k o n n e c t i v i t y   s e r v e r .   T h i s   i s   r e q u i r e d   i f   P r o x y P r o t o c o l   i s   H T T P C o n n e c t   o r   G R P C .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9640"
  },
  {
    "question": "What is EgressSelection?",
    "answer": "A p p e a r s   i n :   E g r e s s S e l e c t o r C o n f i g u r a t i o n   E g r e s s S e l e c t i o n   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   e g r e s s   s e l e c t i o n   c l i e n t .   n a m e   i s   t h e   n a m e   o f   t h e   e g r e s s   s e l e c t i o n .   C u r r e n t l y   s u p p o r t e d   v a l u e s   a r e   \" c o n t r o l p l a n e \" ,   \" m a s t e r \" ,   \" e t c d \"   a n d   \" c l u s t e r \"   T h e   \" m a s t e r \"   e g r e s s   s e l e c t o r   i s   d e p r e c a t e d   i n   f a v o r   o f   \" c o n t r o l p l a n e \"   c o n n e c t i o n   i s   t h e   e x a c t   i n f o r m a t i o n   u s e d   t o   c o n f i g u r e   t h e   e g r e s s   s e l e c t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9641"
  },
  {
    "question": "What is ExtraMapping?",
    "answer": "A p p e a r s   i n :   C l a i m M a p p i n g s   E x t r a M a p p i n g   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   e x t r a   m a p p i n g .   k e y   i s   a   s t r i n g   t o   u s e   a s   t h e   e x t r a   a t t r i b u t e   k e y .   k e y   m u s t   b e   a   d o m a i n - p r e f i x   p a t h   ( e . g .   e x a m p l e . o r g / f o o ) .   A l l   c h a r a c t e r s   b e f o r e   t h e   f i r s t   \" / \"   m u s t   b e   a   v a l i d   s u b d o m a i n   a s   d e f i n e d   b y   R F C   1 1 2 3 .   A l l   c h a r a c t e r s   t r a i l i n g   t h e   f i r s t   \" / \"   m u s t   b e   v a l i d   H T T P   P a t h   c h a r a c t e r s   a s   d e f i n e d   b y   R F C   3 9 8 6 .   k e y   m u s t   b e   l o w e r c a s e .   R e q u i r e d   t o   b e   u n i q u e .   v a l u e E x p r e s s i o n   i s   a   C E L   e x p r e s s i o n   t o   e x t r a c t   e x t r a   a t t r i b u t e   v a l u e .   v a l u e E x p r e s s i o n   m u s t   p r o d u c e   a   s t r i n g   o r   s t r i n g   a r r a y   v a l u e .   \" \" ,   [ ] ,   a n d   n u l l   v a l u e s   a r e   t r e a t e d   a s   t h e   e x t r a   m a p p i n g   n o t   b e i n g   p r e s e n t .   E m p t y   s t r i n g   v a l u e s   c o n t a i n e d   w i t h i n   a   s t r i n g   a r r a y   a r e   f i l t e r e d   o u t .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   t h e   t o k e n   c l a i m s ,   o r g a n i z e d   i n t o   C E L   v a r i a b l e :   ' c l a i m s '   i s   a   m a p   o f   c l a i m   n a m e s   t o   c l a i m   v a l u e s .   F o r   e x a m p l e ,   a   v a r i a b l e   n a m e d   ' s u b '   c a n   b e   a c c e s s e d   a s   ' c l a i m s . s u b ' .   N e s t e d   c l a i m s   c a n   b e   a c c e s s e d   u s i n g   d o t   n o t a t i o n ,   e . g .   ' c l a i m s . f o o . b a r ' .   D o c u m e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9642"
  },
  {
    "question": "What is Issuer?",
    "answer": "A p p e a r s   i n :   J W T A u t h e n t i c a t o r   I s s u e r   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a n   e x t e r n a l   p r o v i d e r ' s   s p e c i f i c   s e t t i n g s .   u r l   p o i n t s   t o   t h e   i s s u e r   U R L   i n   a   f o r m a t   h t t p s : / / u r l   o r   h t t p s : / / u r l / p a t h .   T h i s   m u s t   m a t c h   t h e   \" i s s \"   c l a i m   i n   t h e   p r e s e n t e d   J W T ,   a n d   t h e   i s s u e r   r e t u r n e d   f r o m   d i s c o v e r y .   S a m e   v a l u e   a s   t h e   - - o i d c - i s s u e r - u r l   f l a g .   D i s c o v e r y   i n f o r m a t i o n   i s   f e t c h e d   f r o m   \" { u r l } / . w e l l - k n o w n / o p e n i d - c o n f i g u r a t i o n \"   u n l e s s   o v e r r i d d e n   b y   d i s c o v e r y U R L .   R e q u i r e d   t o   b e   u n i q u e   a c r o s s   a l l   J W T   a u t h e n t i c a t o r s .   N o t e   t h a t   e g r e s s   s e l e c t i o n   c o n f i g u r a t i o n   i s   n o t   u s e d   f o r   t h i s   n e t w o r k   c o n n e c t i o n .   d i s c o v e r y U R L ,   i f   s p e c i f i e d ,   o v e r r i d e s   t h e   U R L   u s e d   t o   f e t c h   d i s c o v e r y   i n f o r m a t i o n   i n s t e a d   o f   u s i n g   \" { u r l } / . w e l l - k n o w n / o p e n i d - c o n f i g u r a t i o n \" .   T h e   e x a c t   v a l u e   s p e c i f i e d   i s   u s e d ,   s o   \" / . w e l l - k n o w n / o p e n i d - c o n f i g u r a t i o n \"   m u s t   b e   i n c l u d e d   i n   d i s c o v e r y U R L   i f   n e e d e d .   T h e   \" i s s u e r \"   f i e l d   i n   t h e   f e t c h e d   d i s c o v e r y   i n f o r m a t i o n   m u s t   m a t c h   t h e   \" i s s u e r . u r l \"   f i e l d   i n   t h e   A u t h e n t i c a t i o n C o n f i g u r a t i o n   a n d   w i l l   b e   u s e d   t o   v a l i d a t e   t h e   \" i s s \"   c l a i m   i n   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9643"
  },
  {
    "question": "What is JWTAuthenticator?",
    "answer": "A p p e a r s   i n :   A u t h e n t i c a t i o n C o n f i g u r a t i o n   J W T A u t h e n t i c a t o r   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   J W T   a u t h e n t i c a t o r .   i s s u e r   c o n t a i n s   t h e   b a s i c   O I D C   p r o v i d e r   c o n n e c t i o n   o p t i o n s .   c l a i m V a l i d a t i o n R u l e s   a r e   r u l e s   t h a t   a r e   a p p l i e d   t o   v a l i d a t e   t o k e n   c l a i m s   t o   a u t h e n t i c a t e   u s e r s .   c l a i m M a p p i n g s   p o i n t s   c l a i m s   o f   a   t o k e n   t o   b e   t r e a t e d   a s   u s e r   a t t r i b u t e s .   u s e r V a l i d a t i o n R u l e s   a r e   r u l e s   t h a t   a r e   a p p l i e d   t o   f i n a l   u s e r   b e f o r e   c o m p l e t i n g   a u t h e n t i c a t i o n .   T h e s e   a l l o w   i n v a r i a n t s   t o   b e   a p p l i e d   t o   i n c o m i n g   i d e n t i t i e s   s u c h   a s   p r e v e n t i n g   t h e   u s e   o f   t h e   s y s t e m :   p r e f i x   t h a t   i s   c o m m o n l y   u s e d   b y   K u b e r n e t e s   c o m p o n e n t s .   T h e   v a l i d a t i o n   r u l e s   a r e   l o g i c a l l y   A N D e d   t o g e t h e r   a n d   m u s t   a l l   r e t u r n   t r u e   f o r   t h e   v a l i d a t i o n   t o   p a s s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9644"
  },
  {
    "question": "What is PrefixedClaimOrExpression?",
    "answer": "A p p e a r s   i n :   C l a i m M a p p i n g s   P r e f i x e d C l a i m O r E x p r e s s i o n   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   p r e f i x e d   c l a i m   o r   e x p r e s s i o n .   c l a i m   i s   t h e   J W T   c l a i m   t o   u s e .   M u t u a l l y   e x c l u s i v e   w i t h   e x p r e s s i o n .   p r e f i x   i s   p r e p e n d e d   t o   c l a i m ' s   v a l u e   t o   p r e v e n t   c l a s h e s   w i t h   e x i s t i n g   n a m e s .   p r e f i x   n e e d s   t o   b e   s e t   i f   c l a i m   i s   s e t   a n d   c a n   b e   t h e   e m p t y   s t r i n g .   M u t u a l l y   e x c l u s i v e   w i t h   e x p r e s s i o n .   e x p r e s s i o n   r e p r e s e n t s   t h e   e x p r e s s i o n   w h i c h   w i l l   b e   e v a l u a t e d   b y   C E L .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   t h e   t o k e n   c l a i m s ,   o r g a n i z e d   i n t o   C E L   v a r i a b l e :   ' c l a i m s '   i s   a   m a p   o f   c l a i m   n a m e s   t o   c l a i m   v a l u e s .   F o r   e x a m p l e ,   a   v a r i a b l e   n a m e d   ' s u b '   c a n   b e   a c c e s s e d   a s   ' c l a i m s . s u b ' .   N e s t e d   c l a i m s   c a n   b e   a c c e s s e d   u s i n g   d o t   n o t a t i o n ,   e . g .   ' c l a i m s . f o o . b a r ' .   D o c u m e n t a t i o n   o n   C E L :   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / u s i n g - a p i / c e l /   M u t u a l l y   e x c l u s i v e   w i t h   c l a i m   a n d   p r e f i x .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9645"
  },
  {
    "question": "What is ProtocolType?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   C o n n e c t i o n   P r o t o c o l T y p e   i s   a   s e t   o f   v a l i d   v a l u e s   f o r   C o n n e c t i o n . P r o t o c o l T y p e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9646"
  },
  {
    "question": "What is TCPTransport?",
    "answer": "A p p e a r s   i n :   T r a n s p o r t   T C P T r a n s p o r t   p r o v i d e s   t h e   i n f o r m a t i o n   t o   c o n n e c t   t o   k o n n e c t i v i t y   s e r v e r   v i a   T C P   U R L   i s   t h e   l o c a t i o n   o f   t h e   k o n n e c t i v i t y   s e r v e r   t o   c o n n e c t   t o .   A s   a n   e x a m p l e   i t   m i g h t   b e   \" h t t p s : / / 1 2 7 . 0 . 0 . 1 : 8 1 3 1 \"   T L S C o n f i g   i s   t h e   c o n f i g   n e e d e d   t o   u s e   T L S   w h e n   c o n n e c t i n g   t o   k o n n e c t i v i t y   s e r v e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9647"
  },
  {
    "question": "What is TLSConfig?",
    "answer": "A p p e a r s   i n :   T C P T r a n s p o r t   T L S C o n f i g   p r o v i d e s   t h e   a u t h e n t i c a t i o n   i n f o r m a t i o n   t o   c o n n e c t   t o   k o n n e c t i v i t y   s e r v e r   O n l y   u s e d   w i t h   T C P T r a n s p o r t   c a B u n d l e   i s   t h e   f i l e   l o c a t i o n   o f   t h e   C A   t o   b e   u s e d   t o   d e t e r m i n e   t r u s t   w i t h   t h e   k o n n e c t i v i t y   s e r v e r .   M u s t   b e   a b s e n t / e m p t y   i f   T C P T r a n s p o r t . U R L   i s   p r e f i x e d   w i t h   h t t p : / /   I f   a b s e n t   w h i l e   T C P T r a n s p o r t . U R L   i s   p r e f i x e d   w i t h   h t t p s : / / ,   d e f a u l t   t o   s y s t e m   t r u s t   r o o t s .   c l i e n t K e y   i s   t h e   f i l e   l o c a t i o n   o f   t h e   c l i e n t   k e y   t o   b e   u s e d   i n   m t l s   h a n d s h a k e s   w i t h   t h e   k o n n e c t i v i t y   s e r v e r .   M u s t   b e   a b s e n t / e m p t y   i f   T C P T r a n s p o r t . U R L   i s   p r e f i x e d   w i t h   h t t p : / /   M u s t   b e   c o n f i g u r e d   i f   T C P T r a n s p o r t . U R L   i s   p r e f i x e d   w i t h   h t t p s : / /   c l i e n t C e r t   i s   t h e   f i l e   l o c a t i o n   o f   t h e   c l i e n t   c e r t i f i c a t e   t o   b e   u s e d   i n   m t l s   h a n d s h a k e s   w i t h   t h e   k o n n e c t i v i t y   s e r v e r .   M u s t   b e   a b s e n t / e m p t y   i f   T C P T r a n s p o r t . U R L   i s   p r e f i x e d   w i t h   h t t p : / /   M u s t   b e   c o n f i g u r e d   i f   T C P T r a n s p o r t . U R L   i s   p r e f i x e d   w i t h   h t t p s : / /",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9648"
  },
  {
    "question": "What is Transport?",
    "answer": "A p p e a r s   i n :   C o n n e c t i o n   T r a n s p o r t   d e f i n e s   t h e   t r a n s p o r t   c o n f i g u r a t i o n s   w e   u s e   t o   d i a l   t o   t h e   k o n n e c t i v i t y   s e r v e r   T C P   i s   t h e   T C P   c o n f i g u r a t i o n   f o r   c o m m u n i c a t i n g   w i t h   t h e   k o n n e c t i v i t y   s e r v e r   v i a   T C P   P r o x y P r o t o c o l   o f   G R P C   i s   n o t   s u p p o r t e d   w i t h   T C P   t r a n s p o r t   a t   t h e   m o m e n t   R e q u i r e s   a t   l e a s t   o n e   o f   T C P   o r   U D S   t o   b e   s e t   U D S   i s   t h e   U D S   c o n f i g u r a t i o n   f o r   c o m m u n i c a t i n g   w i t h   t h e   k o n n e c t i v i t y   s e r v e r   v i a   U D S   R e q u i r e s   a t   l e a s t   o n e   o f   T C P   o r   U D S   t o   b e   s e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9649"
  },
  {
    "question": "What is UDSTransport?",
    "answer": "A p p e a r s   i n :   T r a n s p o r t   U D S T r a n s p o r t   p r o v i d e s   t h e   i n f o r m a t i o n   t o   c o n n e c t   t o   k o n n e c t i v i t y   s e r v e r   v i a   U D S   U D S N a m e   i s   t h e   n a m e   o f   t h e   u n i x   d o m a i n   s o c k e t   t o   c o n n e c t   t o   k o n n e c t i v i t y   s e r v e r   T h i s   d o e s   n o t   u s e   a   u n i x : / /   p r e f i x .   ( E g :   / e t c / s r v / k u b e r n e t e s / k o n n e c t i v i t y - s e r v e r / k o n n e c t i v i t y - s e r v e r . s o c k e t )",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9650"
  },
  {
    "question": "What is UserValidationRule?",
    "answer": "A p p e a r s   i n :   J W T A u t h e n t i c a t o r   U s e r V a l i d a t i o n R u l e   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   u s e r   i n f o   v a l i d a t i o n   r u l e .   e x p r e s s i o n   r e p r e s e n t s   t h e   e x p r e s s i o n   w h i c h   w i l l   b e   e v a l u a t e d   b y   C E L .   M u s t   r e t u r n   t r u e   f o r   t h e   v a l i d a t i o n   t o   p a s s .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   U s e r I n f o ,   o r g a n i z e d   i n t o   C E L   v a r i a b l e :   ' u s e r '   -   a u t h e n t i c a t i o n . k 8 s . i o / v 1 ,   K i n d = U s e r I n f o   o b j e c t   R e f e r   t o   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / a p i / b l o b / r e l e a s e - 1 . 2 8 / a u t h e n t i c a t i o n / v 1 / t y p e s . g o # L 1 0 5 - L 1 2 2   f o r   t h e   d e f i n i t i o n .   A P I   d o c u m e n t a t i o n :   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e r n e t e s - a p i / v 1 . 2 8 / # u s e r i n f o - v 1 - a u t h e n t i c a t i o n - k 8 s - i o   D o c u m e n t a t i o n   o n   C E L :   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / u s i n g - a p i / c e l /   m e s s a g e   c u s t o m i z e s   t h e   r e t u r n e d   e r r o r   m e s s a g e   w h e n   r u l e   r e t u r n s   f a l s e .   m e s s a g e   i s   a   l i t e r a l   s t r i n g .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9651"
  },
  {
    "question": "What is WebhookConfiguration?",
    "answer": "A p p e a r s   i n :   A u t h o r i z e r C o n f i g u r a t i o n   T h e   d u r a t i o n   t o   c a c h e   ' a u t h o r i z e d '   r e s p o n s e s   f r o m   t h e   w e b h o o k   a u t h o r i z e r .   S a m e   a s   s e t t i n g   - - a u t h o r i z a t i o n - w e b h o o k - c a c h e - a u t h o r i z e d - t t l   f l a g   D e f a u l t :   5 m 0 s   T h e   d u r a t i o n   t o   c a c h e   ' u n a u t h o r i z e d '   r e s p o n s e s   f r o m   t h e   w e b h o o k   a u t h o r i z e r .   S a m e   a s   s e t t i n g   - - a u t h o r i z a t i o n - w e b h o o k - c a c h e - u n a u t h o r i z e d - t t l   f l a g   D e f a u l t :   3 0 s   T i m e o u t   f o r   t h e   w e b h o o k   r e q u e s t   M a x i m u m   a l l o w e d   v a l u e   i s   3 0 s .   R e q u i r e d ,   n o   d e f a u l t   v a l u e .   T h e   A P I   v e r s i o n   o f   t h e   a u t h o r i z a t i o n . k 8 s . i o   S u b j e c t A c c e s s R e v i e w   t o   s e n d   t o   a n d   e x p e c t   f r o m   t h e   w e b h o o k .   S a m e   a s   s e t t i n g   - - a u t h o r i z a t i o n - w e b h o o k - v e r s i o n   f l a g   V a l i d   v a l u e s :   v 1 b e t a 1 ,   v 1   R e q u i r e d ,   n o   d e f a u l t   v a l u e   M a t c h C o n d i t i o n S u b j e c t A c c e s s R e v i e w V e r s i o n   s p e c i f i e s   t h e   S u b j e c t A c c e s s R e v i e w   v e r s i o n   t h e   C E L   e x p r e s s i o n s   a r e   e v a l u a t e d   a g a i n s t   V a l i d   v a l u e s :   v 1   R e q u i r e d ,   n o   d e f a u l t   v a l u e   C o n t r o l s   t h e   a u t h o r i z a t i o n   d e c i s i o n   w h e n   a   w e b h o o k   r e q u e s t   f a i l s   t o   c o m p l e t e   o r   r e t u r n s   a   m a l f o r m e d   r e s p o n s e   o r   e r r o r s   e v a l u a t i n g   m a t c h C o n d i t i o n s .   V a l i d   v a l u e s :   N o O p i n i o n :   c o n t i n u e   t o   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9652"
  },
  {
    "question": "What is WebhookConnectionInfo?",
    "answer": "A p p e a r s   i n :   W e b h o o k C o n f i g u r a t i o n   C o n t r o l s   h o w   t h e   w e b h o o k   s h o u l d   c o m m u n i c a t e   w i t h   t h e   s e r v e r .   V a l i d   v a l u e s :   K u b e C o n f i g F i l e :   u s e   t h e   f i l e   s p e c i f i e d   i n   k u b e C o n f i g F i l e   t o   l o c a t e   t h e   s e r v e r . I n C l u s t e r C o n f i g :   u s e   t h e   i n - c l u s t e r   c o n f i g u r a t i o n   t o   c a l l   t h e   S u b j e c t A c c e s s R e v i e w   A P I   h o s t e d   b y   k u b e - a p i s e r v e r .   T h i s   m o d e   i s   n o t   a l l o w e d   f o r   k u b e - a p i s e r v e r .   P a t h   t o   K u b e C o n f i g F i l e   f o r   c o n n e c t i o n   i n f o   R e q u i r e d ,   i f   c o n n e c t i o n I n f o . T y p e   i s   K u b e C o n f i g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9653"
  },
  {
    "question": "What is WebhookMatchCondition?",
    "answer": "A p p e a r s   i n :   W e b h o o k C o n f i g u r a t i o n   e x p r e s s i o n   r e p r e s e n t s   t h e   e x p r e s s i o n   w h i c h   w i l l   b e   e v a l u a t e d   b y   C E L .   M u s t   e v a l u a t e   t o   b o o l .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   t h e   S u b j e c t A c c e s s R e v i e w   i n   v 1   v e r s i o n .   I f   v e r s i o n   s p e c i f i e d   b y   s u b j e c t A c c e s s R e v i e w V e r s i o n   i n   t h e   r e q u e s t   v a r i a b l e   i s   v 1 b e t a 1 ,   t h e   c o n t e n t s   w o u l d   b e   c o n v e r t e d   t o   t h e   v 1   v e r s i o n   b e f o r e   e v a l u a t i n g   t h e   C E L   e x p r e s s i o n .   ' r e s o u r c e A t t r i b u t e s '   d e s c r i b e s   i n f o r m a t i o n   f o r   a   r e s o u r c e   a c c e s s   r e q u e s t   a n d   i s   u n s e t   f o r   n o n - r e s o u r c e   r e q u e s t s .   e . g .   h a s ( r e q u e s t . r e s o u r c e A t t r i b u t e s )   & &   r e q u e s t . r e s o u r c e A t t r i b u t e s . n a m e s p a c e   = =   ' d e f a u l t ' ' n o n R e s o u r c e A t t r i b u t e s '   d e s c r i b e s   i n f o r m a t i o n   f o r   a   n o n - r e s o u r c e   a c c e s s   r e q u e s t   a n d   i s   u n s e t   f o r   r e s o u r c e   r e q u e s t s .   e . g .   h a s ( r e q u e s t . n o n R e s o u r c e A t t r i b u t e s )   & &   r e q u e s t . n o n R e s o u r c e A t t r i b u t e s . p a t h   = =   ' / h e a l t h z ' . ' u s e r '   i s   t h e   u s e r   t o   t e s t   f o r .   e . g .   r e q u e s t . u s e r   = =   ' a l i c e ' ' g r o u p s '   i s   t h e   g r o u p s   t o   t e s t   f o r .   e . g .   ( ' g r o u p 1 '   i n   r e q u e s t . g r o u p s ) ' e x t r a '   c o r r e s p o n d s   t o   t h e   u s e r . I n f o . G e t E x t r a ( )   m e t h o d   f r o m   t h e   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/apiserver-config.v1alpha1/",
    "id": "k8s_00508_section_2_9654"
  },
  {
    "question": "What is kubectl options?",
    "answer": "kubectl optionsSynopsisPrint the list of flags inherited by all commandskubectl options [flags] Examples # Print flags inherited by all commands kubectl options Options-h, --helphelp for optionsParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=ra",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_options/",
    "id": "k8s_00509_qa_9655"
  },
  {
    "question": "How does kubectl options work?",
    "answer": "kubectl optionsSynopsisPrint the list of flags inherited by all commandskubectl options [flags] Examples # Print flags inherited by all commands kubectl options Options-h, --helphelp for optionsParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=ra",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_options/",
    "id": "k8s_00509_qa_9656"
  },
  {
    "question": "When would you use kubectl options?",
    "answer": "kubectl optionsSynopsisPrint the list of flags inherited by all commandskubectl options [flags] Examples # Print flags inherited by all commands kubectl options Options-h, --helphelp for optionsParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=ra",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_options/",
    "id": "k8s_00509_qa_9657"
  },
  {
    "question": "What are the benefits of kubectl options?",
    "answer": "kubectl optionsSynopsisPrint the list of flags inherited by all commandskubectl options [flags] Examples # Print flags inherited by all commands kubectl options Options-h, --helphelp for optionsParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=ra",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_options/",
    "id": "k8s_00509_qa_9658"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r i n t   t h e   l i s t   o f   f l a g s   i n h e r i t e d   b y   a l l   c o m m a n d s   k u b e c t l   o p t i o n s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_options/",
    "id": "k8s_00509_section_2_9659"
  },
  {
    "question": "What is Examples?",
    "answer": "#   P r i n t   f l a g s   i n h e r i t e d   b y   a l l   c o m m a n d s   k u b e c t l   o p t i o n s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_options/",
    "id": "k8s_00509_section_2_9660"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   o p t i o n s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_options/",
    "id": "k8s_00509_section_2_9661"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_options/",
    "id": "k8s_00509_section_2_9662"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_options/",
    "id": "k8s_00509_section_2_9663"
  },
  {
    "question": "What is Install and Set Up kubectl on macOS?",
    "answer": "Install and Set Up kubectl on macOSBefore you beginYou must use a kubectl version that is within one minor version difference of your cluster. For example, a v1.34 client can communicate with v1.33, v1.34, and v1.35 control planes. Using the latest compatible version of kubectl helps avoid unforeseen issues.Install kubectl on macOSThe following methods exist for installing kubectl on macOS:Install kubectl on macOSInstall kubectl binary with curl on macOSInstall with Homebrew on macOSInstall with Macports on macOSVerify kubectl configurationOptional kubectl configurations and pluginsEnable shell autocompletionInstall kubectl convert pluginInstall kubectl binary with curl on macOSDownload the latest release: curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/amd64/kubectl\" curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/arm64/kubectl\" Note:To download a specific version, replace the $(curl -L -s https://dl.k8s.io/release/stable.txt) portion of the command with the specific version.For example, to download version 1.34.0 on Intel macOS, type:curl -LO \"https://dl.k8s.io/release/v1.34.0/bin/darwin/amd64/kubectl\" And for macOS on Apple Silicon, type:curl -LO \"https://dl.k8s.io/release/v1.34.0/bin/darwin/arm64/kubectl\" Validate the binary (optional)Download the kubectl checksum file: curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/amd64/kubectl.sha256\" curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/arm64/kubectl.sha256\" Validate the kubectl binary against the checksum file:echo \"$(cat kubectl.sha256) kubectl\" | shasum -a 256 --check If valid, the output is:kubectl: OK If the check fails, shasum exits with nonzero status and prints output similar to:kubectl: FAILED shasum: WARNING: 1 computed checksum did NOT match Note:Download the same version of the binary and checksum.Make the kubectl binary executable.chmod +x ./kubectl Move the kubectl binary to a file location on your system PATH.sudo mv ./kubectl /usr/local/bin/kubectl sudo chown root: /usr/local/bin/kubectl Note:Make sure /usr/local/bin is in your PATH environment variable.Test to ensure the version you installed is up-to-date:kubectl version --client Or use this for detailed view of version:kubectl version --client --output=yaml After installing and validating kubectl, delete the checksum file:rm kubectl.sha256 Install with Homebrew on macOSIf you are on macOS and using Homebrew package manager, you can install kubectl with Homebrew.Run the installation command:brew install kubectl orbrew install kubernetes-cli Test to ensure the version you installed is up-to-date:kubectl version --client Install with Macports on macOSIf you are on macOS and using Macports package manager, you can install kubectl with Macports.Run the installation command:sudo port selfupdate sudo port install kubectl Test to ensure",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_qa_9664"
  },
  {
    "question": "How does Install and Set Up kubectl on macOS work?",
    "answer": "Install and Set Up kubectl on macOSBefore you beginYou must use a kubectl version that is within one minor version difference of your cluster. For example, a v1.34 client can communicate with v1.33, v1.34, and v1.35 control planes. Using the latest compatible version of kubectl helps avoid unforeseen issues.Install kubectl on macOSThe following methods exist for installing kubectl on macOS:Install kubectl on macOSInstall kubectl binary with curl on macOSInstall with Homebrew on macOSInstall with Macports on macOSVerify kubectl configurationOptional kubectl configurations and pluginsEnable shell autocompletionInstall kubectl convert pluginInstall kubectl binary with curl on macOSDownload the latest release: curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/amd64/kubectl\" curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/arm64/kubectl\" Note:To download a specific version, replace the $(curl -L -s https://dl.k8s.io/release/stable.txt) portion of the command with the specific version.For example, to download version 1.34.0 on Intel macOS, type:curl -LO \"https://dl.k8s.io/release/v1.34.0/bin/darwin/amd64/kubectl\" And for macOS on Apple Silicon, type:curl -LO \"https://dl.k8s.io/release/v1.34.0/bin/darwin/arm64/kubectl\" Validate the binary (optional)Download the kubectl checksum file: curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/amd64/kubectl.sha256\" curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/arm64/kubectl.sha256\" Validate the kubectl binary against the checksum file:echo \"$(cat kubectl.sha256) kubectl\" | shasum -a 256 --check If valid, the output is:kubectl: OK If the check fails, shasum exits with nonzero status and prints output similar to:kubectl: FAILED shasum: WARNING: 1 computed checksum did NOT match Note:Download the same version of the binary and checksum.Make the kubectl binary executable.chmod +x ./kubectl Move the kubectl binary to a file location on your system PATH.sudo mv ./kubectl /usr/local/bin/kubectl sudo chown root: /usr/local/bin/kubectl Note:Make sure /usr/local/bin is in your PATH environment variable.Test to ensure the version you installed is up-to-date:kubectl version --client Or use this for detailed view of version:kubectl version --client --output=yaml After installing and validating kubectl, delete the checksum file:rm kubectl.sha256 Install with Homebrew on macOSIf you are on macOS and using Homebrew package manager, you can install kubectl with Homebrew.Run the installation command:brew install kubectl orbrew install kubernetes-cli Test to ensure the version you installed is up-to-date:kubectl version --client Install with Macports on macOSIf you are on macOS and using Macports package manager, you can install kubectl with Macports.Run the installation command:sudo port selfupdate sudo port install kubectl Test to ensure",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_qa_9665"
  },
  {
    "question": "When would you use Install and Set Up kubectl on macOS?",
    "answer": "Install and Set Up kubectl on macOSBefore you beginYou must use a kubectl version that is within one minor version difference of your cluster. For example, a v1.34 client can communicate with v1.33, v1.34, and v1.35 control planes. Using the latest compatible version of kubectl helps avoid unforeseen issues.Install kubectl on macOSThe following methods exist for installing kubectl on macOS:Install kubectl on macOSInstall kubectl binary with curl on macOSInstall with Homebrew on macOSInstall with Macports on macOSVerify kubectl configurationOptional kubectl configurations and pluginsEnable shell autocompletionInstall kubectl convert pluginInstall kubectl binary with curl on macOSDownload the latest release: curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/amd64/kubectl\" curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/arm64/kubectl\" Note:To download a specific version, replace the $(curl -L -s https://dl.k8s.io/release/stable.txt) portion of the command with the specific version.For example, to download version 1.34.0 on Intel macOS, type:curl -LO \"https://dl.k8s.io/release/v1.34.0/bin/darwin/amd64/kubectl\" And for macOS on Apple Silicon, type:curl -LO \"https://dl.k8s.io/release/v1.34.0/bin/darwin/arm64/kubectl\" Validate the binary (optional)Download the kubectl checksum file: curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/amd64/kubectl.sha256\" curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/arm64/kubectl.sha256\" Validate the kubectl binary against the checksum file:echo \"$(cat kubectl.sha256) kubectl\" | shasum -a 256 --check If valid, the output is:kubectl: OK If the check fails, shasum exits with nonzero status and prints output similar to:kubectl: FAILED shasum: WARNING: 1 computed checksum did NOT match Note:Download the same version of the binary and checksum.Make the kubectl binary executable.chmod +x ./kubectl Move the kubectl binary to a file location on your system PATH.sudo mv ./kubectl /usr/local/bin/kubectl sudo chown root: /usr/local/bin/kubectl Note:Make sure /usr/local/bin is in your PATH environment variable.Test to ensure the version you installed is up-to-date:kubectl version --client Or use this for detailed view of version:kubectl version --client --output=yaml After installing and validating kubectl, delete the checksum file:rm kubectl.sha256 Install with Homebrew on macOSIf you are on macOS and using Homebrew package manager, you can install kubectl with Homebrew.Run the installation command:brew install kubectl orbrew install kubernetes-cli Test to ensure the version you installed is up-to-date:kubectl version --client Install with Macports on macOSIf you are on macOS and using Macports package manager, you can install kubectl with Macports.Run the installation command:sudo port selfupdate sudo port install kubectl Test to ensure",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_qa_9666"
  },
  {
    "question": "What are the benefits of Install and Set Up kubectl on macOS?",
    "answer": "Install and Set Up kubectl on macOSBefore you beginYou must use a kubectl version that is within one minor version difference of your cluster. For example, a v1.34 client can communicate with v1.33, v1.34, and v1.35 control planes. Using the latest compatible version of kubectl helps avoid unforeseen issues.Install kubectl on macOSThe following methods exist for installing kubectl on macOS:Install kubectl on macOSInstall kubectl binary with curl on macOSInstall with Homebrew on macOSInstall with Macports on macOSVerify kubectl configurationOptional kubectl configurations and pluginsEnable shell autocompletionInstall kubectl convert pluginInstall kubectl binary with curl on macOSDownload the latest release: curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/amd64/kubectl\" curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/arm64/kubectl\" Note:To download a specific version, replace the $(curl -L -s https://dl.k8s.io/release/stable.txt) portion of the command with the specific version.For example, to download version 1.34.0 on Intel macOS, type:curl -LO \"https://dl.k8s.io/release/v1.34.0/bin/darwin/amd64/kubectl\" And for macOS on Apple Silicon, type:curl -LO \"https://dl.k8s.io/release/v1.34.0/bin/darwin/arm64/kubectl\" Validate the binary (optional)Download the kubectl checksum file: curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/amd64/kubectl.sha256\" curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/arm64/kubectl.sha256\" Validate the kubectl binary against the checksum file:echo \"$(cat kubectl.sha256) kubectl\" | shasum -a 256 --check If valid, the output is:kubectl: OK If the check fails, shasum exits with nonzero status and prints output similar to:kubectl: FAILED shasum: WARNING: 1 computed checksum did NOT match Note:Download the same version of the binary and checksum.Make the kubectl binary executable.chmod +x ./kubectl Move the kubectl binary to a file location on your system PATH.sudo mv ./kubectl /usr/local/bin/kubectl sudo chown root: /usr/local/bin/kubectl Note:Make sure /usr/local/bin is in your PATH environment variable.Test to ensure the version you installed is up-to-date:kubectl version --client Or use this for detailed view of version:kubectl version --client --output=yaml After installing and validating kubectl, delete the checksum file:rm kubectl.sha256 Install with Homebrew on macOSIf you are on macOS and using Homebrew package manager, you can install kubectl with Homebrew.Run the installation command:brew install kubectl orbrew install kubernetes-cli Test to ensure the version you installed is up-to-date:kubectl version --client Install with Macports on macOSIf you are on macOS and using Macports package manager, you can install kubectl with Macports.Run the installation command:sudo port selfupdate sudo port install kubectl Test to ensure",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_qa_9667"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   m u s t   u s e   a   k u b e c t l   v e r s i o n   t h a t   i s   w i t h i n   o n e   m i n o r   v e r s i o n   d i f f e r e n c e   o f   y o u r   c l u s t e r .   F o r   e x a m p l e ,   a   v 1 . 3 4   c l i e n t   c a n   c o m m u n i c a t e   w i t h   v 1 . 3 3 ,   v 1 . 3 4 ,   a n d   v 1 . 3 5   c o n t r o l   p l a n e s .   U s i n g   t h e   l a t e s t   c o m p a t i b l e   v e r s i o n   o f   k u b e c t l   h e l p s   a v o i d   u n f o r e s e e n   i s s u e s .",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_section_2_9668"
  },
  {
    "question": "What is Install kubectl on macOS?",
    "answer": "T h e   f o l l o w i n g   m e t h o d s   e x i s t   f o r   i n s t a l l i n g   k u b e c t l   o n   m a c O S :   I n s t a l l   k u b e c t l   o n   m a c O S I n s t a l l   k u b e c t l   b i n a r y   w i t h   c u r l   o n   m a c O S I n s t a l l   w i t h   H o m e b r e w   o n   m a c O S I n s t a l l   w i t h   M a c p o r t s   o n   m a c O S V e r i f y   k u b e c t l   c o n f i g u r a t i o n O p t i o n a l   k u b e c t l   c o n f i g u r a t i o n s   a n d   p l u g i n s E n a b l e   s h e l l   a u t o c o m p l e t i o n I n s t a l l   k u b e c t l   c o n v e r t   p l u g i n   I n s t a l l   k u b e c t l   b i n a r y   w i t h   c u r l   o n   m a c O S I n s t a l l   w i t h   H o m e b r e w   o n   m a c O S I n s t a l l   w i t h   M a c p o r t s   o n   m a c O S   E n a b l e   s h e l l   a u t o c o m p l e t i o n I n s t a l l   k u b e c t l   c o n v e r t   p l u g i n",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_section_2_9669"
  },
  {
    "question": "What is Install kubectl binary with curl on macOS?",
    "answer": "D o w n l o a d   t h e   l a t e s t   r e l e a s e :   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / d a r w i n / a m d 6 4 / k u b e c t l \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / d a r w i n / a r m 6 4 / k u b e c t l \"   N o t e : T o   d o w n l o a d   a   s p e c i f i c   v e r s i o n ,   r e p l a c e   t h e   $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t )   p o r t i o n   o f   t h e   c o m m a n d   w i t h   t h e   s p e c i f i c   v e r s i o n . F o r   e x a m p l e ,   t o   d o w n l o a d   v e r s i o n   1 . 3 4 . 0   o n   I n t e l   m a c O S ,   t y p e : c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / v 1 . 3 4 . 0 / b i n / d a r w i n / a m d 6 4 / k u b e c t l \"   A n d   f o r   m a c O S   o n   A p p l e   S i l i c o n ,   t y p e : c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / v 1 . 3 4 . 0 / b i n / d a r w i n / a r m 6 4 / k u b e c t l \"   V a l i d a t e   t h e   b i n a r y   ( o p t i o n a l ) D o w n l o a d   t h e   k u b e c t l   c h e c k s u m   f i l e :   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / d a r w i n / a m d 6 4 / k u b e c t l . s h a 2 5 6 \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / d a r w i n / a r m 6 4 / k u b e c t l . s h a 2 5 6 \"   V a l i d a t e   t h e   k u b e c t l   b i n a r y   a g a i n s t   t h e   c h e c k s u m   f i l ",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_section_3_9670"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   d o w n l o a d   a   s p e c i f i c   v e r s i o n ,   r e p l a c e   t h e   $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t )   p o r t i o n   o f   t h e   c o m m a n d   w i t h   t h e   s p e c i f i c   v e r s i o n .   F o r   e x a m p l e ,   t o   d o w n l o a d   v e r s i o n   1 . 3 4 . 0   o n   I n t e l   m a c O S ,   t y p e :   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / v 1 . 3 4 . 0 / b i n / d a r w i n / a m d 6 4 / k u b e c t l \"   A n d   f o r   m a c O S   o n   A p p l e   S i l i c o n ,   t y p e :   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / v 1 . 3 4 . 0 / b i n / d a r w i n / a r m 6 4 / k u b e c t l \"   V a l i d a t e   t h e   b i n a r y   ( o p t i o n a l )   D o w n l o a d   t h e   k u b e c t l   c h e c k s u m   f i l e :   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / d a r w i n / a m d 6 4 / k u b e c t l . s h a 2 5 6 \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / d a r w i n / a m d 6 4 / k u b e c t l . s h a 2 5 6 \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / d a r w i n / a r m 6 4 / k u b e c t l . s h a 2 5 6 \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / d a r w i n / a r m 6 4 / k u b e c t l . s h a 2 5 6 \"   V a l i d a t e   t h e   k u b e c t l   b i n a r y   a g a i n s t   t h e   c h e c k s u m   f i l e :   e c h o   \" $ ( c a t   k ",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_section_4_9671"
  },
  {
    "question": "What is Note:?",
    "answer": "M a k e   t h e   k u b e c t l   b i n a r y   e x e c u t a b l e .   c h m o d   + x   . / k u b e c t l   M o v e   t h e   k u b e c t l   b i n a r y   t o   a   f i l e   l o c a t i o n   o n   y o u r   s y s t e m   P A T H .   s u d o   m v   . / k u b e c t l   / u s r / l o c a l / b i n / k u b e c t l   s u d o   c h o w n   r o o t :   / u s r / l o c a l / b i n / k u b e c t l",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_section_4_9672"
  },
  {
    "question": "What is Note:?",
    "answer": "T e s t   t o   e n s u r e   t h e   v e r s i o n   y o u   i n s t a l l e d   i s   u p - t o - d a t e :   k u b e c t l   v e r s i o n   - - c l i e n t   O r   u s e   t h i s   f o r   d e t a i l e d   v i e w   o f   v e r s i o n :   k u b e c t l   v e r s i o n   - - c l i e n t   - - o u t p u t = y a m l   A f t e r   i n s t a l l i n g   a n d   v a l i d a t i n g   k u b e c t l ,   d e l e t e   t h e   c h e c k s u m   f i l e :   r m   k u b e c t l . s h a 2 5 6",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_section_4_9673"
  },
  {
    "question": "What is Install with Homebrew on macOS?",
    "answer": "I f   y o u   a r e   o n   m a c O S   a n d   u s i n g   H o m e b r e w   p a c k a g e   m a n a g e r ,   y o u   c a n   i n s t a l l   k u b e c t l   w i t h   H o m e b r e w .   R u n   t h e   i n s t a l l a t i o n   c o m m a n d : b r e w   i n s t a l l   k u b e c t l   o r b r e w   i n s t a l l   k u b e r n e t e s - c l i   T e s t   t o   e n s u r e   t h e   v e r s i o n   y o u   i n s t a l l e d   i s   u p - t o - d a t e : k u b e c t l   v e r s i o n   - - c l i e n t   R u n   t h e   i n s t a l l a t i o n   c o m m a n d :   b r e w   i n s t a l l   k u b e c t l   o r   b r e w   i n s t a l l   k u b e r n e t e s - c l i   T e s t   t o   e n s u r e   t h e   v e r s i o n   y o u   i n s t a l l e d   i s   u p - t o - d a t e :   k u b e c t l   v e r s i o n   - - c l i e n t",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_section_3_9674"
  },
  {
    "question": "What is Install with Macports on macOS?",
    "answer": "I f   y o u   a r e   o n   m a c O S   a n d   u s i n g   M a c p o r t s   p a c k a g e   m a n a g e r ,   y o u   c a n   i n s t a l l   k u b e c t l   w i t h   M a c p o r t s .   R u n   t h e   i n s t a l l a t i o n   c o m m a n d : s u d o   p o r t   s e l f u p d a t e   s u d o   p o r t   i n s t a l l   k u b e c t l   T e s t   t o   e n s u r e   t h e   v e r s i o n   y o u   i n s t a l l e d   i s   u p - t o - d a t e : k u b e c t l   v e r s i o n   - - c l i e n t   R u n   t h e   i n s t a l l a t i o n   c o m m a n d :   s u d o   p o r t   s e l f u p d a t e   s u d o   p o r t   i n s t a l l   k u b e c t l   T e s t   t o   e n s u r e   t h e   v e r s i o n   y o u   i n s t a l l e d   i s   u p - t o - d a t e :   k u b e c t l   v e r s i o n   - - c l i e n t",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_section_3_9675"
  },
  {
    "question": "What is Verify kubectl configuration?",
    "answer": "I n   o r d e r   f o r   k u b e c t l   t o   f i n d   a n d   a c c e s s   a   K u b e r n e t e s   c l u s t e r ,   i t   n e e d s   a   k u b e c o n f i g   f i l e ,   w h i c h   i s   c r e a t e d   a u t o m a t i c a l l y   w h e n   y o u   c r e a t e   a   c l u s t e r   u s i n g   k u b e - u p . s h   o r   s u c c e s s f u l l y   d e p l o y   a   M i n i k u b e   c l u s t e r .   B y   d e f a u l t ,   k u b e c t l   c o n f i g u r a t i o n   i s   l o c a t e d   a t   ~ / . k u b e / c o n f i g .   C h e c k   t h a t   k u b e c t l   i s   p r o p e r l y   c o n f i g u r e d   b y   g e t t i n g   t h e   c l u s t e r   s t a t e :   k u b e c t l   c l u s t e r - i n f o   I f   y o u   s e e   a   U R L   r e s p o n s e ,   k u b e c t l   i s   c o r r e c t l y   c o n f i g u r e d   t o   a c c e s s   y o u r   c l u s t e r .   I f   y o u   s e e   a   m e s s a g e   s i m i l a r   t o   t h e   f o l l o w i n g ,   k u b e c t l   i s   n o t   c o n f i g u r e d   c o r r e c t l y   o r   i s   n o t   a b l e   t o   c o n n e c t   t o   a   K u b e r n e t e s   c l u s t e r .   T h e   c o n n e c t i o n   t o   t h e   s e r v e r   < s e r v e r - n a m e : p o r t >   w a s   r e f u s e d   -   d i d   y o u   s p e c i f y   t h e   r i g h t   h o s t   o r   p o r t ?   F o r   e x a m p l e ,   i f   y o u   a r e   i n t e n d i n g   t o   r u n   a   K u b e r n e t e s   c l u s t e r   o n   y o u r   l a p t o p   ( l o c a l l y ) ,   y o u   w i l l   n e e d   a   t o o l   l i k e   M i n i k u b e   t o   b e   i n s t a l l e d   f i r s t   a n d   t h e n   r e - r u n   t h e   c o m m a n d s   s t a t e d   a b o v e .   I f   k u b e c t l   c l u s t e r - i n f o   r e t u r n s   t h e   u r l   r e s p o n s e   b u t   y o u   c a n ' t   a c c e s s   y o u r   c l u s t e r ,   t o   c h e c k   w h e t h e r   i t   i s   c o n f i g u r e d   p r o p e r l y ,   u ",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_section_2_9676"
  },
  {
    "question": "What is Troubleshooting the 'No Auth Provider Found' error message?",
    "answer": "I n   K u b e r n e t e s   1 . 2 6 ,   k u b e c t l   r e m o v e d   t h e   b u i l t - i n   a u t h e n t i c a t i o n   f o r   t h e   f o l l o w i n g   c l o u d   p r o v i d e r s '   m a n a g e d   K u b e r n e t e s   o f f e r i n g s .   T h e s e   p r o v i d e r s   h a v e   r e l e a s e d   k u b e c t l   p l u g i n s   t o   p r o v i d e   t h e   c l o u d - s p e c i f i c   a u t h e n t i c a t i o n .   F o r   i n s t r u c t i o n s ,   r e f e r   t o   t h e   f o l l o w i n g   p r o v i d e r   d o c u m e n t a t i o n :   A z u r e   A K S :   k u b e l o g i n   p l u g i n G o o g l e   K u b e r n e t e s   E n g i n e :   g k e - g c l o u d - a u t h - p l u g i n   ( T h e r e   c o u l d   a l s o   b e   o t h e r   r e a s o n s   t o   s e e   t h e   s a m e   e r r o r   m e s s a g e ,   u n r e l a t e d   t o   t h a t   c h a n g e . )",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_section_3_9677"
  },
  {
    "question": "What is Enable shell autocompletion?",
    "answer": "k u b e c t l   p r o v i d e s   a u t o c o m p l e t i o n   s u p p o r t   f o r   B a s h ,   Z s h ,   F i s h ,   a n d   P o w e r S h e l l   w h i c h   c a n   s a v e   y o u   a   l o t   o f   t y p i n g .   B e l o w   a r e   t h e   p r o c e d u r e s   t o   s e t   u p   a u t o c o m p l e t i o n   f o r   B a s h ,   F i s h ,   a n d   Z s h .   I n t r o d u c t i o n T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   f o r   B a s h   c a n   b e   g e n e r a t e d   w i t h   k u b e c t l   c o m p l e t i o n   b a s h .   S o u r c i n g   t h i s   s c r i p t   i n   y o u r   s h e l l   e n a b l e s   k u b e c t l   c o m p l e t i o n . H o w e v e r ,   t h e   k u b e c t l   c o m p l e t i o n   s c r i p t   d e p e n d s   o n   b a s h - c o m p l e t i o n   w h i c h   y o u   t h u s   h a v e   t o   p r e v i o u s l y   i n s t a l l . W a r n i n g : T h e r e   a r e   t w o   v e r s i o n s   o f   b a s h - c o m p l e t i o n ,   v 1   a n d   v 2 .   V 1   i s   f o r   B a s h   3 . 2   ( w h i c h   i s   t h e   d e f a u l t   o n   m a c O S ) ,   a n d   v 2   i s   f o r   B a s h   4 . 1 + .   T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   d o e s n ' t   w o r k   c o r r e c t l y   w i t h   b a s h - c o m p l e t i o n   v 1   a n d   B a s h   3 . 2 .   I t   r e q u i r e s   b a s h - c o m p l e t i o n   v 2   a n d   B a s h   4 . 1 + .   T h u s ,   t o   b e   a b l e   t o   c o r r e c t l y   u s e   k u b e c t l   c o m p l e t i o n   o n   m a c O S ,   y o u   h a v e   t o   i n s t a l l   a n d   u s e   B a s h   4 . 1 +   ( i n s t r u c t i o n s ) .   T h e   f o l l o w i n g   i n s t r u c t i o n s   a s s u m e   t h a t   y o u   u s e   B a s h   4 . 1 +   ( t h a t   i s ,   a n y   B a s h   v e r s i o n   o f   4 . 1   o r   n e w e r ) . U p g r a d e   B a s h T h e   i n s t r u c t i o n s   h e r e   a s s u m e   y o u   u s e   B a ",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_section_3_9678"
  },
  {
    "question": "What is Introduction?",
    "answer": "T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   f o r   B a s h   c a n   b e   g e n e r a t e d   w i t h   k u b e c t l   c o m p l e t i o n   b a s h .   S o u r c i n g   t h i s   s c r i p t   i n   y o u r   s h e l l   e n a b l e s   k u b e c t l   c o m p l e t i o n .   H o w e v e r ,   t h e   k u b e c t l   c o m p l e t i o n   s c r i p t   d e p e n d s   o n   b a s h - c o m p l e t i o n   w h i c h   y o u   t h u s   h a v e   t o   p r e v i o u s l y   i n s t a l l .",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_section_3_9679"
  },
  {
    "question": "What is Upgrade Bash?",
    "answer": "T h e   i n s t r u c t i o n s   h e r e   a s s u m e   y o u   u s e   B a s h   4 . 1 + .   Y o u   c a n   c h e c k   y o u r   B a s h ' s   v e r s i o n   b y   r u n n i n g :   e c h o   $ B A S H _ V E R S I O N   I f   i t   i s   t o o   o l d ,   y o u   c a n   i n s t a l l / u p g r a d e   i t   u s i n g   H o m e b r e w :   b r e w   i n s t a l l   b a s h   R e l o a d   y o u r   s h e l l   a n d   v e r i f y   t h a t   t h e   d e s i r e d   v e r s i o n   i s   b e i n g   u s e d :   e c h o   $ B A S H _ V E R S I O N   $ S H E L L   H o m e b r e w   u s u a l l y   i n s t a l l s   i t   a t   / u s r / l o c a l / b i n / b a s h .",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_section_3_9680"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   t e s t   i f   y o u   h a v e   b a s h - c o m p l e t i o n   v 2   a l r e a d y   i n s t a l l e d   w i t h   t y p e   _ i n i t _ c o m p l e t i o n .   I f   n o t ,   y o u   c a n   i n s t a l l   i t   w i t h   H o m e b r e w :   b r e w   i n s t a l l   b a s h - c o m p l e t i o n @ 2   A s   s t a t e d   i n   t h e   o u t p u t   o f   t h i s   c o m m a n d ,   a d d   t h e   f o l l o w i n g   t o   y o u r   ~ / . b a s h _ p r o f i l e   f i l e :   b r e w _ e t c = \" $ ( b r e w   - - p r e f i x ) / e t c \"   & &   [ [   - r   \" $ { b r e w _ e t c } / p r o f i l e . d / b a s h _ c o m p l e t i o n . s h \"   ] ]   & &   .   \" $ { b r e w _ e t c } / p r o f i l e . d / b a s h _ c o m p l e t i o n . s h \"   R e l o a d   y o u r   s h e l l   a n d   v e r i f y   t h a t   b a s h - c o m p l e t i o n   v 2   i s   c o r r e c t l y   i n s t a l l e d   w i t h   t y p e   _ i n i t _ c o m p l e t i o n .",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_section_4_9681"
  },
  {
    "question": "What is Enable kubectl autocompletion?",
    "answer": "Y o u   n o w   h a v e   t o   e n s u r e   t h a t   t h e   k u b e c t l   c o m p l e t i o n   s c r i p t   g e t s   s o u r c e d   i n   a l l   y o u r   s h e l l   s e s s i o n s .   T h e r e   a r e   m u l t i p l e   w a y s   t o   a c h i e v e   t h i s :   S o u r c e   t h e   c o m p l e t i o n   s c r i p t   i n   y o u r   ~ / . b a s h _ p r o f i l e   f i l e : e c h o   ' s o u r c e   < ( k u b e c t l   c o m p l e t i o n   b a s h ) '   > > ~ / . b a s h _ p r o f i l e   A d d   t h e   c o m p l e t i o n   s c r i p t   t o   t h e   / u s r / l o c a l / e t c / b a s h _ c o m p l e t i o n . d   d i r e c t o r y : k u b e c t l   c o m p l e t i o n   b a s h   > / u s r / l o c a l / e t c / b a s h _ c o m p l e t i o n . d / k u b e c t l   I f   y o u   h a v e   a n   a l i a s   f o r   k u b e c t l ,   y o u   c a n   e x t e n d   s h e l l   c o m p l e t i o n   t o   w o r k   w i t h   t h a t   a l i a s : e c h o   ' a l i a s   k = k u b e c t l '   > > ~ / . b a s h _ p r o f i l e   e c h o   ' c o m p l e t e   - o   d e f a u l t   - F   _ _ s t a r t _ k u b e c t l   k '   > > ~ / . b a s h _ p r o f i l e   I f   y o u   i n s t a l l e d   k u b e c t l   w i t h   H o m e b r e w   ( a s   e x p l a i n e d   h e r e ) ,   t h e n   t h e   k u b e c t l   c o m p l e t i o n   s c r i p t   s h o u l d   a l r e a d y   b e   i n   / u s r / l o c a l / e t c / b a s h _ c o m p l e t i o n . d / k u b e c t l .   I n   t h a t   c a s e ,   y o u   d o n ' t   n e e d   t o   d o   a n y t h i n g . N o t e : T h e   H o m e b r e w   i n s t a l l a t i o n   o f   b a s h - c o m p l e t i o n   v 2   s o u r c e s   a l l   t h e   f i l e s   i n   t h e   B A S H _ C O M P L E T I O N _ C O M P A T _ D I R   d i r e c t o r y ,   t h a t ' s   w h y   t h e   l a t t e r   t w o   m e t h o d s   w o r k .   S o u r c e   t h e   c o m p l e t i o n   s c r i p t   i n   y o u r   ~ / . b a ",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_section_3_9682"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   a n y   c a s e ,   a f t e r   r e l o a d i n g   y o u r   s h e l l ,   k u b e c t l   c o m p l e t i o n   s h o u l d   b e   w o r k i n g .   N o t e : A u t o c o m p l e t e   f o r   F i s h   r e q u i r e s   k u b e c t l   1 . 2 3   o r   l a t e r . T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   f o r   F i s h   c a n   b e   g e n e r a t e d   w i t h   t h e   c o m m a n d   k u b e c t l   c o m p l e t i o n   f i s h .   S o u r c i n g   t h e   c o m p l e t i o n   s c r i p t   i n   y o u r   s h e l l   e n a b l e s   k u b e c t l   a u t o c o m p l e t i o n . T o   d o   s o   i n   a l l   y o u r   s h e l l   s e s s i o n s ,   a d d   t h e   f o l l o w i n g   l i n e   t o   y o u r   ~ / . c o n f i g / f i s h / c o n f i g . f i s h   f i l e : k u b e c t l   c o m p l e t i o n   f i s h   |   s o u r c e   A f t e r   r e l o a d i n g   y o u r   s h e l l ,   k u b e c t l   a u t o c o m p l e t i o n   s h o u l d   b e   w o r k i n g .",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_section_4_9683"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   f o r   F i s h   c a n   b e   g e n e r a t e d   w i t h   t h e   c o m m a n d   k u b e c t l   c o m p l e t i o n   f i s h .   S o u r c i n g   t h e   c o m p l e t i o n   s c r i p t   i n   y o u r   s h e l l   e n a b l e s   k u b e c t l   a u t o c o m p l e t i o n .   T o   d o   s o   i n   a l l   y o u r   s h e l l   s e s s i o n s ,   a d d   t h e   f o l l o w i n g   l i n e   t o   y o u r   ~ / . c o n f i g / f i s h / c o n f i g . f i s h   f i l e :   k u b e c t l   c o m p l e t i o n   f i s h   |   s o u r c e   A f t e r   r e l o a d i n g   y o u r   s h e l l ,   k u b e c t l   a u t o c o m p l e t i o n   s h o u l d   b e   w o r k i n g .   T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   f o r   Z s h   c a n   b e   g e n e r a t e d   w i t h   t h e   c o m m a n d   k u b e c t l   c o m p l e t i o n   z s h .   S o u r c i n g   t h e   c o m p l e t i o n   s c r i p t   i n   y o u r   s h e l l   e n a b l e s   k u b e c t l   a u t o c o m p l e t i o n . T o   d o   s o   i n   a l l   y o u r   s h e l l   s e s s i o n s ,   a d d   t h e   f o l l o w i n g   t o   y o u r   ~ / . z s h r c   f i l e : s o u r c e   < ( k u b e c t l   c o m p l e t i o n   z s h )   I f   y o u   h a v e   a n   a l i a s   f o r   k u b e c t l ,   k u b e c t l   a u t o c o m p l e t i o n   w i l l   a u t o m a t i c a l l y   w o r k   w i t h   i t . A f t e r   r e l o a d i n g   y o u r   s h e l l ,   k u b e c t l   a u t o c o m p l e t i o n   s h o u l d   b e   w o r k i n g . I f   y o u   g e t   a n   e r r o r   l i k e   2 :   c o m m a n d   n o t   f o u n d :   c o m p d e f ,   t h e n   a d d   t h e   f o l l o w i n g   t o   t h e   b e g i n n i n g   o f   y o u r   ~ / . z s h r c   f i l e : a u t o l o a d   - U z   c o m p i n i t   c o m p i n i t   T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   f o ",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_section_4_9684"
  },
  {
    "question": "What is Configure kuberc?",
    "answer": "S e e   k u b e r c   f o r   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_section_3_9685"
  },
  {
    "question": "What is Install kubectl convert plugin?",
    "answer": "A   p l u g i n   f o r   K u b e r n e t e s   c o m m a n d - l i n e   t o o l   k u b e c t l ,   w h i c h   a l l o w s   y o u   t o   c o n v e r t   m a n i f e s t s   b e t w e e n   d i f f e r e n t   A P I   v e r s i o n s .   T h i s   c a n   b e   p a r t i c u l a r l y   h e l p f u l   t o   m i g r a t e   m a n i f e s t s   t o   a   n o n - d e p r e c a t e d   a p i   v e r s i o n   w i t h   n e w e r   K u b e r n e t e s   r e l e a s e .   F o r   m o r e   i n f o ,   v i s i t   m i g r a t e   t o   n o n   d e p r e c a t e d   a p i s   D o w n l o a d   t h e   l a t e s t   r e l e a s e   w i t h   t h e   c o m m a n d :   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / d a r w i n / a m d 6 4 / k u b e c t l - c o n v e r t \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / d a r w i n / a r m 6 4 / k u b e c t l - c o n v e r t \"   V a l i d a t e   t h e   b i n a r y   ( o p t i o n a l ) D o w n l o a d   t h e   k u b e c t l - c o n v e r t   c h e c k s u m   f i l e :   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / d a r w i n / a m d 6 4 / k u b e c t l - c o n v e r t . s h a 2 5 6 \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / d a r w i n / a r m 6 4 / k u b e c t l - c o n v e r t . s h a 2 5 6 \"   V a l i d a t e   t h e   k u b e c t l - c o n v e r t   b i n a r y   a g a i n s t   t h e   c h e c k s u m   f i l e : e c h o   \" $ ( c a t   k u b e c t l - c o n v e r t . s h ",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_section_3_9686"
  },
  {
    "question": "What is Note:?",
    "answer": "M a k e   k u b e c t l - c o n v e r t   b i n a r y   e x e c u t a b l e   c h m o d   + x   . / k u b e c t l - c o n v e r t   M o v e   t h e   k u b e c t l - c o n v e r t   b i n a r y   t o   a   f i l e   l o c a t i o n   o n   y o u r   s y s t e m   P A T H .   s u d o   m v   . / k u b e c t l - c o n v e r t   / u s r / l o c a l / b i n / k u b e c t l - c o n v e r t   s u d o   c h o w n   r o o t :   / u s r / l o c a l / b i n / k u b e c t l - c o n v e r t",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_section_4_9687"
  },
  {
    "question": "What is Note:?",
    "answer": "V e r i f y   p l u g i n   i s   s u c c e s s f u l l y   i n s t a l l e d   k u b e c t l   c o n v e r t   - - h e l p   I f   y o u   d o   n o t   s e e   a n   e r r o r ,   i t   m e a n s   t h e   p l u g i n   i s   s u c c e s s f u l l y   i n s t a l l e d .   A f t e r   i n s t a l l i n g   t h e   p l u g i n ,   c l e a n   u p   t h e   i n s t a l l a t i o n   f i l e s :   r m   k u b e c t l - c o n v e r t   k u b e c t l - c o n v e r t . s h a 2 5 6",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_section_4_9688"
  },
  {
    "question": "What is Uninstall kubectl on macOS?",
    "answer": "D e p e n d i n g   o n   h o w   y o u   i n s t a l l e d   k u b e c t l ,   u s e   o n e   o f   t h e   f o l l o w i n g   m e t h o d s .",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_section_3_9689"
  },
  {
    "question": "What is Uninstall kubectl using the command-line?",
    "answer": "L o c a t e   t h e   k u b e c t l   b i n a r y   o n   y o u r   s y s t e m : w h i c h   k u b e c t l   R e m o v e   t h e   k u b e c t l   b i n a r y : s u d o   r m   < p a t h >   R e p l a c e   < p a t h >   w i t h   t h e   p a t h   t o   t h e   k u b e c t l   b i n a r y   f r o m   t h e   p r e v i o u s   s t e p .   F o r   e x a m p l e ,   s u d o   r m   / u s r / l o c a l / b i n / k u b e c t l .   L o c a t e   t h e   k u b e c t l   b i n a r y   o n   y o u r   s y s t e m :   w h i c h   k u b e c t l   R e m o v e   t h e   k u b e c t l   b i n a r y :   s u d o   r m   < p a t h >   R e p l a c e   < p a t h >   w i t h   t h e   p a t h   t o   t h e   k u b e c t l   b i n a r y   f r o m   t h e   p r e v i o u s   s t e p .   F o r   e x a m p l e ,   s u d o   r m   / u s r / l o c a l / b i n / k u b e c t l .",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_section_3_9690"
  },
  {
    "question": "What is Uninstall kubectl using homebrew?",
    "answer": "I f   y o u   i n s t a l l e d   k u b e c t l   u s i n g   H o m e b r e w ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   b r e w   r e m o v e   k u b e c t l",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_section_3_9691"
  },
  {
    "question": "What is What's next?",
    "answer": "I n s t a l l   M i n i k u b e S e e   t h e   g e t t i n g   s t a r t e d   g u i d e s   f o r   m o r e   a b o u t   c r e a t i n g   c l u s t e r s . L e a r n   h o w   t o   l a u n c h   a n d   e x p o s e   y o u r   a p p l i c a t i o n . I f   y o u   n e e d   a c c e s s   t o   a   c l u s t e r   y o u   d i d n ' t   c r e a t e ,   s e e   t h e   S h a r i n g   C l u s t e r   A c c e s s   d o c u m e n t . R e a d   t h e   k u b e c t l   r e f e r e n c e   d o c s",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/",
    "id": "k8s_00510_section_2_9692"
  },
  {
    "question": "What is Role Based Access Control Good Practices?",
    "answer": "Role Based Access Control Good PracticesPrinciples and practices for good RBAC design for cluster operators.Kubernetes RBAC is a key security control to ensure that cluster users and workloads have only the access to resources required to execute their roles. It is important to ensure that, when designing permissions for cluster users, the cluster administrator understands the areas where privilege escalation could occur, to reduce the risk of excessive access leading to security incidents.The good practices laid out here should be read in conjunction with the general RBAC documentation.General good practiceLeast privilegeIdeally, minimal RBAC rights should be assigned to users and service accounts. Only permissions explicitly required for their operation should be used. While each cluster will be different, some general rules that can be applied are :Assign permissions at the namespace level where possible. Use RoleBindings as opposed to ClusterRoleBindings to give users rights only within a specific namespace.Avoid providing wildcard permissions when possible, especially to all resources. As Kubernetes is an extensible system, providing wildcard access gives rights not just to all object types that currently exist in the cluster, but also to all object types which are created in the future.Administrators should not use cluster-admin accounts except where specifically needed. Providing a low privileged account with impersonation rights can avoid accidental modification of cluster resources.Avoid adding users to the system:masters group. Any user who is a member of this group bypasses all RBAC rights checks and will always have unrestricted superuser access, which cannot be revoked by removing RoleBindings or ClusterRoleBindings. As an aside, if a cluster is using an authorization webhook, membership of this group also bypasses that webhook (requests from users who are members of that group are never sent to the webhook)Minimize distribution of privileged tokensIdeally, pods shouldn't be assigned service accounts that have been granted powerful permissions (for example, any of the rights listed under privilege escalation risks). In cases where a workload requires powerful permissions, consider the following practices:Limit the number of nodes running powerful pods. Ensure that any DaemonSets you run are necessary and are run with least privilege to limit the blast radius of container escapes.Avoid running powerful pods alongside untrusted or publicly-exposed ones. Consider using Taints and Toleration, NodeAffinity, or PodAntiAffinity to ensure pods don't run alongside untrusted or less-trusted Pods. Pay special attention to situations where less-trustworthy Pods are not meeting the Restricted Pod Security Standard.HardeningKubernetes defaults to providing access which may not be required in every cluster. Reviewing the RBAC rights provided by default can provide opportunities for security hardening. In general, changes should not be made to right",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/rbac-good-practices/",
    "id": "k8s_00511_qa_9693"
  },
  {
    "question": "How does Role Based Access Control Good Practices work?",
    "answer": "Role Based Access Control Good PracticesPrinciples and practices for good RBAC design for cluster operators.Kubernetes RBAC is a key security control to ensure that cluster users and workloads have only the access to resources required to execute their roles. It is important to ensure that, when designing permissions for cluster users, the cluster administrator understands the areas where privilege escalation could occur, to reduce the risk of excessive access leading to security incidents.The good practices laid out here should be read in conjunction with the general RBAC documentation.General good practiceLeast privilegeIdeally, minimal RBAC rights should be assigned to users and service accounts. Only permissions explicitly required for their operation should be used. While each cluster will be different, some general rules that can be applied are :Assign permissions at the namespace level where possible. Use RoleBindings as opposed to ClusterRoleBindings to give users rights only within a specific namespace.Avoid providing wildcard permissions when possible, especially to all resources. As Kubernetes is an extensible system, providing wildcard access gives rights not just to all object types that currently exist in the cluster, but also to all object types which are created in the future.Administrators should not use cluster-admin accounts except where specifically needed. Providing a low privileged account with impersonation rights can avoid accidental modification of cluster resources.Avoid adding users to the system:masters group. Any user who is a member of this group bypasses all RBAC rights checks and will always have unrestricted superuser access, which cannot be revoked by removing RoleBindings or ClusterRoleBindings. As an aside, if a cluster is using an authorization webhook, membership of this group also bypasses that webhook (requests from users who are members of that group are never sent to the webhook)Minimize distribution of privileged tokensIdeally, pods shouldn't be assigned service accounts that have been granted powerful permissions (for example, any of the rights listed under privilege escalation risks). In cases where a workload requires powerful permissions, consider the following practices:Limit the number of nodes running powerful pods. Ensure that any DaemonSets you run are necessary and are run with least privilege to limit the blast radius of container escapes.Avoid running powerful pods alongside untrusted or publicly-exposed ones. Consider using Taints and Toleration, NodeAffinity, or PodAntiAffinity to ensure pods don't run alongside untrusted or less-trusted Pods. Pay special attention to situations where less-trustworthy Pods are not meeting the Restricted Pod Security Standard.HardeningKubernetes defaults to providing access which may not be required in every cluster. Reviewing the RBAC rights provided by default can provide opportunities for security hardening. In general, changes should not be made to right",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/rbac-good-practices/",
    "id": "k8s_00511_qa_9694"
  },
  {
    "question": "When would you use Role Based Access Control Good Practices?",
    "answer": "Role Based Access Control Good PracticesPrinciples and practices for good RBAC design for cluster operators.Kubernetes RBAC is a key security control to ensure that cluster users and workloads have only the access to resources required to execute their roles. It is important to ensure that, when designing permissions for cluster users, the cluster administrator understands the areas where privilege escalation could occur, to reduce the risk of excessive access leading to security incidents.The good practices laid out here should be read in conjunction with the general RBAC documentation.General good practiceLeast privilegeIdeally, minimal RBAC rights should be assigned to users and service accounts. Only permissions explicitly required for their operation should be used. While each cluster will be different, some general rules that can be applied are :Assign permissions at the namespace level where possible. Use RoleBindings as opposed to ClusterRoleBindings to give users rights only within a specific namespace.Avoid providing wildcard permissions when possible, especially to all resources. As Kubernetes is an extensible system, providing wildcard access gives rights not just to all object types that currently exist in the cluster, but also to all object types which are created in the future.Administrators should not use cluster-admin accounts except where specifically needed. Providing a low privileged account with impersonation rights can avoid accidental modification of cluster resources.Avoid adding users to the system:masters group. Any user who is a member of this group bypasses all RBAC rights checks and will always have unrestricted superuser access, which cannot be revoked by removing RoleBindings or ClusterRoleBindings. As an aside, if a cluster is using an authorization webhook, membership of this group also bypasses that webhook (requests from users who are members of that group are never sent to the webhook)Minimize distribution of privileged tokensIdeally, pods shouldn't be assigned service accounts that have been granted powerful permissions (for example, any of the rights listed under privilege escalation risks). In cases where a workload requires powerful permissions, consider the following practices:Limit the number of nodes running powerful pods. Ensure that any DaemonSets you run are necessary and are run with least privilege to limit the blast radius of container escapes.Avoid running powerful pods alongside untrusted or publicly-exposed ones. Consider using Taints and Toleration, NodeAffinity, or PodAntiAffinity to ensure pods don't run alongside untrusted or less-trusted Pods. Pay special attention to situations where less-trustworthy Pods are not meeting the Restricted Pod Security Standard.HardeningKubernetes defaults to providing access which may not be required in every cluster. Reviewing the RBAC rights provided by default can provide opportunities for security hardening. In general, changes should not be made to right",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/rbac-good-practices/",
    "id": "k8s_00511_qa_9695"
  },
  {
    "question": "What are the benefits of Role Based Access Control Good Practices?",
    "answer": "Role Based Access Control Good PracticesPrinciples and practices for good RBAC design for cluster operators.Kubernetes RBAC is a key security control to ensure that cluster users and workloads have only the access to resources required to execute their roles. It is important to ensure that, when designing permissions for cluster users, the cluster administrator understands the areas where privilege escalation could occur, to reduce the risk of excessive access leading to security incidents.The good practices laid out here should be read in conjunction with the general RBAC documentation.General good practiceLeast privilegeIdeally, minimal RBAC rights should be assigned to users and service accounts. Only permissions explicitly required for their operation should be used. While each cluster will be different, some general rules that can be applied are :Assign permissions at the namespace level where possible. Use RoleBindings as opposed to ClusterRoleBindings to give users rights only within a specific namespace.Avoid providing wildcard permissions when possible, especially to all resources. As Kubernetes is an extensible system, providing wildcard access gives rights not just to all object types that currently exist in the cluster, but also to all object types which are created in the future.Administrators should not use cluster-admin accounts except where specifically needed. Providing a low privileged account with impersonation rights can avoid accidental modification of cluster resources.Avoid adding users to the system:masters group. Any user who is a member of this group bypasses all RBAC rights checks and will always have unrestricted superuser access, which cannot be revoked by removing RoleBindings or ClusterRoleBindings. As an aside, if a cluster is using an authorization webhook, membership of this group also bypasses that webhook (requests from users who are members of that group are never sent to the webhook)Minimize distribution of privileged tokensIdeally, pods shouldn't be assigned service accounts that have been granted powerful permissions (for example, any of the rights listed under privilege escalation risks). In cases where a workload requires powerful permissions, consider the following practices:Limit the number of nodes running powerful pods. Ensure that any DaemonSets you run are necessary and are run with least privilege to limit the blast radius of container escapes.Avoid running powerful pods alongside untrusted or publicly-exposed ones. Consider using Taints and Toleration, NodeAffinity, or PodAntiAffinity to ensure pods don't run alongside untrusted or less-trusted Pods. Pay special attention to situations where less-trustworthy Pods are not meeting the Restricted Pod Security Standard.HardeningKubernetes defaults to providing access which may not be required in every cluster. Reviewing the RBAC rights provided by default can provide opportunities for security hardening. In general, changes should not be made to right",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/rbac-good-practices/",
    "id": "k8s_00511_qa_9696"
  },
  {
    "question": "What is Role Based Access Control Good Practices?",
    "answer": "K u b e r n e t e s   R B A C   i s   a   k e y   s e c u r i t y   c o n t r o l   t o   e n s u r e   t h a t   c l u s t e r   u s e r s   a n d   w o r k l o a d s   h a v e   o n l y   t h e   a c c e s s   t o   r e s o u r c e s   r e q u i r e d   t o   e x e c u t e   t h e i r   r o l e s .   I t   i s   i m p o r t a n t   t o   e n s u r e   t h a t ,   w h e n   d e s i g n i n g   p e r m i s s i o n s   f o r   c l u s t e r   u s e r s ,   t h e   c l u s t e r   a d m i n i s t r a t o r   u n d e r s t a n d s   t h e   a r e a s   w h e r e   p r i v i l e g e   e s c a l a t i o n   c o u l d   o c c u r ,   t o   r e d u c e   t h e   r i s k   o f   e x c e s s i v e   a c c e s s   l e a d i n g   t o   s e c u r i t y   i n c i d e n t s .   T h e   g o o d   p r a c t i c e s   l a i d   o u t   h e r e   s h o u l d   b e   r e a d   i n   c o n j u n c t i o n   w i t h   t h e   g e n e r a l   R B A C   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/rbac-good-practices/",
    "id": "k8s_00511_section_1_9697"
  },
  {
    "question": "What is Least privilege?",
    "answer": "I d e a l l y ,   m i n i m a l   R B A C   r i g h t s   s h o u l d   b e   a s s i g n e d   t o   u s e r s   a n d   s e r v i c e   a c c o u n t s .   O n l y   p e r m i s s i o n s   e x p l i c i t l y   r e q u i r e d   f o r   t h e i r   o p e r a t i o n   s h o u l d   b e   u s e d .   W h i l e   e a c h   c l u s t e r   w i l l   b e   d i f f e r e n t ,   s o m e   g e n e r a l   r u l e s   t h a t   c a n   b e   a p p l i e d   a r e   :   A s s i g n   p e r m i s s i o n s   a t   t h e   n a m e s p a c e   l e v e l   w h e r e   p o s s i b l e .   U s e   R o l e B i n d i n g s   a s   o p p o s e d   t o   C l u s t e r R o l e B i n d i n g s   t o   g i v e   u s e r s   r i g h t s   o n l y   w i t h i n   a   s p e c i f i c   n a m e s p a c e . A v o i d   p r o v i d i n g   w i l d c a r d   p e r m i s s i o n s   w h e n   p o s s i b l e ,   e s p e c i a l l y   t o   a l l   r e s o u r c e s .   A s   K u b e r n e t e s   i s   a n   e x t e n s i b l e   s y s t e m ,   p r o v i d i n g   w i l d c a r d   a c c e s s   g i v e s   r i g h t s   n o t   j u s t   t o   a l l   o b j e c t   t y p e s   t h a t   c u r r e n t l y   e x i s t   i n   t h e   c l u s t e r ,   b u t   a l s o   t o   a l l   o b j e c t   t y p e s   w h i c h   a r e   c r e a t e d   i n   t h e   f u t u r e . A d m i n i s t r a t o r s   s h o u l d   n o t   u s e   c l u s t e r - a d m i n   a c c o u n t s   e x c e p t   w h e r e   s p e c i f i c a l l y   n e e d e d .   P r o v i d i n g   a   l o w   p r i v i l e g e d   a c c o u n t   w i t h   i m p e r s o n a t i o n   r i g h t s   c a n   a v o i d   a c c i d e n t a l   m o d i f i c a t i o n   o f   c l u s t e r   r e s o u r c e s . A v o i d   a d d i n g   u s e r s   t o   t h e   s y s t e m : m a s t e r s   g r o u p .   A n y   u s e r   w h o   i s   a   m e m b e r   o f   t h i s   g r o u p   b y p a s s e s   a l l   R B A C   r i g h t s   c ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/rbac-good-practices/",
    "id": "k8s_00511_section_3_9698"
  },
  {
    "question": "What is Minimize distribution of privileged tokens?",
    "answer": "I d e a l l y ,   p o d s   s h o u l d n ' t   b e   a s s i g n e d   s e r v i c e   a c c o u n t s   t h a t   h a v e   b e e n   g r a n t e d   p o w e r f u l   p e r m i s s i o n s   ( f o r   e x a m p l e ,   a n y   o f   t h e   r i g h t s   l i s t e d   u n d e r   p r i v i l e g e   e s c a l a t i o n   r i s k s ) .   I n   c a s e s   w h e r e   a   w o r k l o a d   r e q u i r e s   p o w e r f u l   p e r m i s s i o n s ,   c o n s i d e r   t h e   f o l l o w i n g   p r a c t i c e s :   L i m i t   t h e   n u m b e r   o f   n o d e s   r u n n i n g   p o w e r f u l   p o d s .   E n s u r e   t h a t   a n y   D a e m o n S e t s   y o u   r u n   a r e   n e c e s s a r y   a n d   a r e   r u n   w i t h   l e a s t   p r i v i l e g e   t o   l i m i t   t h e   b l a s t   r a d i u s   o f   c o n t a i n e r   e s c a p e s . A v o i d   r u n n i n g   p o w e r f u l   p o d s   a l o n g s i d e   u n t r u s t e d   o r   p u b l i c l y - e x p o s e d   o n e s .   C o n s i d e r   u s i n g   T a i n t s   a n d   T o l e r a t i o n ,   N o d e A f f i n i t y ,   o r   P o d A n t i A f f i n i t y   t o   e n s u r e   p o d s   d o n ' t   r u n   a l o n g s i d e   u n t r u s t e d   o r   l e s s - t r u s t e d   P o d s .   P a y   s p e c i a l   a t t e n t i o n   t o   s i t u a t i o n s   w h e r e   l e s s - t r u s t w o r t h y   P o d s   a r e   n o t   m e e t i n g   t h e   R e s t r i c t e d   P o d   S e c u r i t y   S t a n d a r d .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/rbac-good-practices/",
    "id": "k8s_00511_section_3_9699"
  },
  {
    "question": "What is Hardening?",
    "answer": "K u b e r n e t e s   d e f a u l t s   t o   p r o v i d i n g   a c c e s s   w h i c h   m a y   n o t   b e   r e q u i r e d   i n   e v e r y   c l u s t e r .   R e v i e w i n g   t h e   R B A C   r i g h t s   p r o v i d e d   b y   d e f a u l t   c a n   p r o v i d e   o p p o r t u n i t i e s   f o r   s e c u r i t y   h a r d e n i n g .   I n   g e n e r a l ,   c h a n g e s   s h o u l d   n o t   b e   m a d e   t o   r i g h t s   p r o v i d e d   t o   s y s t e m :   a c c o u n t s   s o m e   o p t i o n s   t o   h a r d e n   c l u s t e r   r i g h t s   e x i s t :   R e v i e w   b i n d i n g s   f o r   t h e   s y s t e m : u n a u t h e n t i c a t e d   g r o u p   a n d   r e m o v e   t h e m   w h e r e   p o s s i b l e ,   a s   t h i s   g i v e s   a c c e s s   t o   a n y o n e   w h o   c a n   c o n t a c t   t h e   A P I   s e r v e r   a t   a   n e t w o r k   l e v e l . A v o i d   t h e   d e f a u l t   a u t o - m o u n t i n g   o f   s e r v i c e   a c c o u n t   t o k e n s   b y   s e t t i n g   a u t o m o u n t S e r v i c e A c c o u n t T o k e n :   f a l s e .   F o r   m o r e   d e t a i l s ,   s e e   u s i n g   d e f a u l t   s e r v i c e   a c c o u n t   t o k e n .   S e t t i n g   t h i s   v a l u e   f o r   a   P o d   w i l l   o v e r w r i t e   t h e   s e r v i c e   a c c o u n t   s e t t i n g ,   w o r k l o a d s   w h i c h   r e q u i r e   s e r v i c e   a c c o u n t   t o k e n s   c a n   s t i l l   m o u n t   t h e m .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/rbac-good-practices/",
    "id": "k8s_00511_section_3_9700"
  },
  {
    "question": "What is Periodic review?",
    "answer": "I t   i s   v i t a l   t o   p e r i o d i c a l l y   r e v i e w   t h e   K u b e r n e t e s   R B A C   s e t t i n g s   f o r   r e d u n d a n t   e n t r i e s   a n d   p o s s i b l e   p r i v i l e g e   e s c a l a t i o n s .   I f   a n   a t t a c k e r   i s   a b l e   t o   c r e a t e   a   u s e r   a c c o u n t   w i t h   t h e   s a m e   n a m e   a s   a   d e l e t e d   u s e r ,   t h e y   c a n   a u t o m a t i c a l l y   i n h e r i t   a l l   t h e   r i g h t s   o f   t h e   d e l e t e d   u s e r ,   e s p e c i a l l y   t h e   r i g h t s   a s s i g n e d   t o   t h a t   u s e r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/rbac-good-practices/",
    "id": "k8s_00511_section_3_9701"
  },
  {
    "question": "What is Kubernetes RBAC - privilege escalation risks?",
    "answer": "W i t h i n   K u b e r n e t e s   R B A C   t h e r e   a r e   a   n u m b e r   o f   p r i v i l e g e s   w h i c h ,   i f   g r a n t e d ,   c a n   a l l o w   a   u s e r   o r   a   s e r v i c e   a c c o u n t   t o   e s c a l a t e   t h e i r   p r i v i l e g e s   i n   t h e   c l u s t e r   o r   a f f e c t   s y s t e m s   o u t s i d e   t h e   c l u s t e r .   T h i s   s e c t i o n   i s   i n t e n d e d   t o   p r o v i d e   v i s i b i l i t y   o f   t h e   a r e a s   w h e r e   c l u s t e r   o p e r a t o r s   s h o u l d   t a k e   c a r e ,   t o   e n s u r e   t h a t   t h e y   d o   n o t   i n a d v e r t e n t l y   a l l o w   f o r   m o r e   a c c e s s   t o   c l u s t e r s   t h a n   i n t e n d e d .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/rbac-good-practices/",
    "id": "k8s_00511_section_2_9702"
  },
  {
    "question": "What is Listing secrets?",
    "answer": "I t   i s   g e n e r a l l y   c l e a r   t h a t   a l l o w i n g   g e t   a c c e s s   o n   S e c r e t s   w i l l   a l l o w   a   u s e r   t o   r e a d   t h e i r   c o n t e n t s .   I t   i s   a l s o   i m p o r t a n t   t o   n o t e   t h a t   l i s t   a n d   w a t c h   a c c e s s   a l s o   e f f e c t i v e l y   a l l o w   f o r   u s e r s   t o   r e v e a l   t h e   S e c r e t   c o n t e n t s .   F o r   e x a m p l e ,   w h e n   a   L i s t   r e s p o n s e   i s   r e t u r n e d   ( f o r   e x a m p l e ,   v i a   k u b e c t l   g e t   s e c r e t s   - A   - o   y a m l ) ,   t h e   r e s p o n s e   i n c l u d e s   t h e   c o n t e n t s   o f   a l l   S e c r e t s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/rbac-good-practices/",
    "id": "k8s_00511_section_3_9703"
  },
  {
    "question": "What is Workload creation?",
    "answer": "P e r m i s s i o n   t o   c r e a t e   w o r k l o a d s   ( e i t h e r   P o d s ,   o r   w o r k l o a d   r e s o u r c e s   t h a t   m a n a g e   P o d s )   i n   a   n a m e s p a c e   i m p l i c i t l y   g r a n t s   a c c e s s   t o   m a n y   o t h e r   r e s o u r c e s   i n   t h a t   n a m e s p a c e ,   s u c h   a s   S e c r e t s ,   C o n f i g M a p s ,   a n d   P e r s i s t e n t V o l u m e s   t h a t   c a n   b e   m o u n t e d   i n   P o d s .   A d d i t i o n a l l y ,   s i n c e   P o d s   c a n   r u n   a s   a n y   S e r v i c e A c c o u n t ,   g r a n t i n g   p e r m i s s i o n   t o   c r e a t e   w o r k l o a d s   a l s o   i m p l i c i t l y   g r a n t s   t h e   A P I   a c c e s s   l e v e l s   o f   a n y   s e r v i c e   a c c o u n t   i n   t h a t   n a m e s p a c e .   U s e r s   w h o   c a n   r u n   p r i v i l e g e d   P o d s   c a n   u s e   t h a t   a c c e s s   t o   g a i n   n o d e   a c c e s s   a n d   p o t e n t i a l l y   t o   f u r t h e r   e l e v a t e   t h e i r   p r i v i l e g e s .   W h e r e   y o u   d o   n o t   f u l l y   t r u s t   a   u s e r   o r   o t h e r   p r i n c i p a l   w i t h   t h e   a b i l i t y   t o   c r e a t e   s u i t a b l y   s e c u r e   a n d   i s o l a t e d   P o d s ,   y o u   s h o u l d   e n f o r c e   e i t h e r   t h e   B a s e l i n e   o r   R e s t r i c t e d   P o d   S e c u r i t y   S t a n d a r d .   Y o u   c a n   u s e   P o d   S e c u r i t y   a d m i s s i o n   o r   o t h e r   ( t h i r d   p a r t y )   m e c h a n i s m s   t o   i m p l e m e n t   t h a t   e n f o r c e m e n t .   F o r   t h e s e   r e a s o n s ,   n a m e s p a c e s   s h o u l d   b e   u s e d   t o   s e p a r a t e   r e s o u r c e s   r e q u i r i n g   d i f f e r e n t   l e v e l s   o f   t r u s t   o r   t e n a n c y .   I t   i s   s t i l l   c o n s i d e r e d   b e s t   p r a c t i ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/rbac-good-practices/",
    "id": "k8s_00511_section_3_9704"
  },
  {
    "question": "What is Persistent volume creation?",
    "answer": "I f   s o m e o n e   -   o r   s o m e   a p p l i c a t i o n   -   i s   a l l o w e d   t o   c r e a t e   a r b i t r a r y   P e r s i s t e n t V o l u m e s ,   t h a t   a c c e s s   i n c l u d e s   t h e   c r e a t i o n   o f   h o s t P a t h   v o l u m e s ,   w h i c h   t h e n   m e a n s   t h a t   a   P o d   w o u l d   g e t   a c c e s s   t o   t h e   u n d e r l y i n g   h o s t   f i l e s y s t e m ( s )   o n   t h e   a s s o c i a t e d   n o d e .   G r a n t i n g   t h a t   a b i l i t y   i s   a   s e c u r i t y   r i s k .   T h e r e   a r e   m a n y   w a y s   a   c o n t a i n e r   w i t h   u n r e s t r i c t e d   a c c e s s   t o   t h e   h o s t   f i l e s y s t e m   c a n   e s c a l a t e   p r i v i l e g e s ,   i n c l u d i n g   r e a d i n g   d a t a   f r o m   o t h e r   c o n t a i n e r s ,   a n d   a b u s i n g   t h e   c r e d e n t i a l s   o f   s y s t e m   s e r v i c e s ,   s u c h   a s   K u b e l e t .   Y o u   s h o u l d   o n l y   a l l o w   a c c e s s   t o   c r e a t e   P e r s i s t e n t V o l u m e   o b j e c t s   f o r :   U s e r s   ( c l u s t e r   o p e r a t o r s )   t h a t   n e e d   t h i s   a c c e s s   f o r   t h e i r   w o r k ,   a n d   w h o   y o u   t r u s t . T h e   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t s   w h i c h   c r e a t e s   P e r s i s t e n t V o l u m e s   b a s e d   o n   P e r s i s t e n t V o l u m e C l a i m s   t h a t   a r e   c o n f i g u r e d   f o r   a u t o m a t i c   p r o v i s i o n i n g .   T h i s   i s   u s u a l l y   s e t u p   b y   t h e   K u b e r n e t e s   p r o v i d e r   o r   b y   t h e   o p e r a t o r   w h e n   i n s t a l l i n g   a   C S I   d r i v e r .   W h e r e   a c c e s s   t o   p e r s i s t e n t   s t o r a g e   i s   r e q u i r e d   t r u s t e d   a d m i n i s t r a t o r s   s h o u l d   c r e a t e   P e r s i s t e n t V ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/rbac-good-practices/",
    "id": "k8s_00511_section_3_9705"
  },
  {
    "question": "What is Access to proxy subresource of Nodes?",
    "answer": "U s e r s   w i t h   a c c e s s   t o   t h e   p r o x y   s u b - r e s o u r c e   o f   n o d e   o b j e c t s   h a v e   r i g h t s   t o   t h e   K u b e l e t   A P I ,   w h i c h   a l l o w s   f o r   c o m m a n d   e x e c u t i o n   o n   e v e r y   p o d   o n   t h e   n o d e ( s )   t o   w h i c h   t h e y   h a v e   r i g h t s .   T h i s   a c c e s s   b y p a s s e s   a u d i t   l o g g i n g   a n d   a d m i s s i o n   c o n t r o l ,   s o   c a r e   s h o u l d   b e   t a k e n   b e f o r e   g r a n t i n g   r i g h t s   t o   t h i s   r e s o u r c e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/rbac-good-practices/",
    "id": "k8s_00511_section_3_9706"
  },
  {
    "question": "What is Escalate verb?",
    "answer": "G e n e r a l l y ,   t h e   R B A C   s y s t e m   p r e v e n t s   u s e r s   f r o m   c r e a t i n g   c l u s t e r r o l e s   w i t h   m o r e   r i g h t s   t h a n   t h e   u s e r   p o s s e s s e s .   T h e   e x c e p t i o n   t o   t h i s   i s   t h e   e s c a l a t e   v e r b .   A s   n o t e d   i n   t h e   R B A C   d o c u m e n t a t i o n ,   u s e r s   w i t h   t h i s   r i g h t   c a n   e f f e c t i v e l y   e s c a l a t e   t h e i r   p r i v i l e g e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/rbac-good-practices/",
    "id": "k8s_00511_section_3_9707"
  },
  {
    "question": "What is Bind verb?",
    "answer": "S i m i l a r   t o   t h e   e s c a l a t e   v e r b ,   g r a n t i n g   u s e r s   t h i s   r i g h t   a l l o w s   f o r   t h e   b y p a s s   o f   K u b e r n e t e s   i n - b u i l t   p r o t e c t i o n s   a g a i n s t   p r i v i l e g e   e s c a l a t i o n ,   a l l o w i n g   u s e r s   t o   c r e a t e   b i n d i n g s   t o   r o l e s   w i t h   r i g h t s   t h e y   d o   n o t   a l r e a d y   h a v e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/rbac-good-practices/",
    "id": "k8s_00511_section_3_9708"
  },
  {
    "question": "What is Impersonate verb?",
    "answer": "T h i s   v e r b   a l l o w s   u s e r s   t o   i m p e r s o n a t e   a n d   g a i n   t h e   r i g h t s   o f   o t h e r   u s e r s   i n   t h e   c l u s t e r .   C a r e   s h o u l d   b e   t a k e n   w h e n   g r a n t i n g   i t ,   t o   e n s u r e   t h a t   e x c e s s i v e   p e r m i s s i o n s   c a n n o t   b e   g a i n e d   v i a   o n e   o f   t h e   i m p e r s o n a t e d   a c c o u n t s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/rbac-good-practices/",
    "id": "k8s_00511_section_3_9709"
  },
  {
    "question": "What is CSRs and certificate issuing?",
    "answer": "T h e   C S R   A P I   a l l o w s   f o r   u s e r s   w i t h   c r e a t e   r i g h t s   t o   C S R s   a n d   u p d a t e   r i g h t s   o n   c e r t i f i c a t e s i g n i n g r e q u e s t s / a p p r o v a l   w h e r e   t h e   s i g n e r   i s   k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t   t o   c r e a t e   n e w   c l i e n t   c e r t i f i c a t e s   w h i c h   a l l o w   u s e r s   t o   a u t h e n t i c a t e   t o   t h e   c l u s t e r .   T h o s e   c l i e n t   c e r t i f i c a t e s   c a n   h a v e   a r b i t r a r y   n a m e s   i n c l u d i n g   d u p l i c a t e s   o f   K u b e r n e t e s   s y s t e m   c o m p o n e n t s .   T h i s   w i l l   e f f e c t i v e l y   a l l o w   f o r   p r i v i l e g e   e s c a l a t i o n .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/rbac-good-practices/",
    "id": "k8s_00511_section_3_9710"
  },
  {
    "question": "What is Token request?",
    "answer": "U s e r s   w i t h   c r e a t e   r i g h t s   o n   s e r v i c e a c c o u n t s / t o k e n   c a n   c r e a t e   T o k e n R e q u e s t s   t o   i s s u e   t o k e n s   f o r   e x i s t i n g   s e r v i c e   a c c o u n t s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/rbac-good-practices/",
    "id": "k8s_00511_section_3_9711"
  },
  {
    "question": "What is Control admission webhooks?",
    "answer": "U s e r s   w i t h   c o n t r o l   o v e r   v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s   o r   m u t a t i n g w e b h o o k c o n f i g u r a t i o n s   c a n   c o n t r o l   w e b h o o k s   t h a t   c a n   r e a d   a n y   o b j e c t   a d m i t t e d   t o   t h e   c l u s t e r ,   a n d   i n   t h e   c a s e   o f   m u t a t i n g   w e b h o o k s ,   a l s o   m u t a t e   a d m i t t e d   o b j e c t s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/rbac-good-practices/",
    "id": "k8s_00511_section_3_9712"
  },
  {
    "question": "What is Namespace modification?",
    "answer": "U s e r s   w h o   c a n   p e r f o r m   p a t c h   o p e r a t i o n s   o n   N a m e s p a c e   o b j e c t s   ( t h r o u g h   a   n a m e s p a c e d   R o l e B i n d i n g   t o   a   R o l e   w i t h   t h a t   a c c e s s )   c a n   m o d i f y   l a b e l s   o n   t h a t   n a m e s p a c e .   I n   c l u s t e r s   w h e r e   P o d   S e c u r i t y   A d m i s s i o n   i s   u s e d ,   t h i s   m a y   a l l o w   a   u s e r   t o   c o n f i g u r e   t h e   n a m e s p a c e   f o r   a   m o r e   p e r m i s s i v e   p o l i c y   t h a n   i n t e n d e d   b y   t h e   a d m i n i s t r a t o r s .   F o r   c l u s t e r s   w h e r e   N e t w o r k P o l i c y   i s   u s e d ,   u s e r s   m a y   b e   s e t   l a b e l s   t h a t   i n d i r e c t l y   a l l o w   a c c e s s   t o   s e r v i c e s   t h a t   a n   a d m i n i s t r a t o r   d i d   n o t   i n t e n d   t o   a l l o w .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/rbac-good-practices/",
    "id": "k8s_00511_section_3_9713"
  },
  {
    "question": "What is Object creation denial-of-service?",
    "answer": "U s e r s   w h o   h a v e   r i g h t s   t o   c r e a t e   o b j e c t s   i n   a   c l u s t e r   m a y   b e   a b l e   t o   c r e a t e   s u f f i c i e n t   l a r g e   o b j e c t s   t o   c r e a t e   a   d e n i a l   o f   s e r v i c e   c o n d i t i o n   e i t h e r   b a s e d   o n   t h e   s i z e   o r   n u m b e r   o f   o b j e c t s ,   a s   d i s c u s s e d   i n   e t c d   u s e d   b y   K u b e r n e t e s   i s   v u l n e r a b l e   t o   O O M   a t t a c k .   T h i s   m a y   b e   s p e c i f i c a l l y   r e l e v a n t   i n   m u l t i - t e n a n t   c l u s t e r s   i f   s e m i - t r u s t e d   o r   u n t r u s t e d   u s e r s   a r e   a l l o w e d   l i m i t e d   a c c e s s   t o   a   s y s t e m .   O n e   o p t i o n   f o r   m i t i g a t i o n   o f   t h i s   i s s u e   w o u l d   b e   t o   u s e   r e s o u r c e   q u o t a s   t o   l i m i t   t h e   q u a n t i t y   o f   o b j e c t s   w h i c h   c a n   b e   c r e a t e d .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/rbac-good-practices/",
    "id": "k8s_00511_section_3_9714"
  },
  {
    "question": "What is What's next?",
    "answer": "T o   l e a r n   m o r e   a b o u t   R B A C ,   s e e   t h e   R B A C   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/rbac-good-practices/",
    "id": "k8s_00511_section_2_9715"
  },
  {
    "question": "What is Namespaces?",
    "answer": "NamespacesIn Kubernetes, namespaces provide a mechanism for isolating groups of resources within a single cluster. Names of resources need to be unique within a namespace, but not across namespaces. Namespace-based scoping is applicable only for namespaced objects (e.g. Deployments, Services, etc.) and not for cluster-wide objects (e.g. StorageClass, Nodes, PersistentVolumes, etc.).When to Use Multiple NamespacesNamespaces are intended for use in environments with many users spread across multiple teams, or projects. For clusters with a few to tens of users, you should not need to create or think about namespaces at all. Start using namespaces when you need the features they provide.Namespaces provide a scope for names. Names of resources need to be unique within a namespace, but not across namespaces. Namespaces cannot be nested inside one another and each Kubernetes resource can only be in one namespace.Namespaces are a way to divide cluster resources between multiple users (via resource quota).It is not necessary to use multiple namespaces to separate slightly different resources, such as different versions of the same software: use labels to distinguish resources within the same namespace.Note:For a production cluster, consider not using the default namespace. Instead, make other namespaces and use those.Initial namespacesKubernetes starts with four initial namespaces:defaultKubernetes includes this namespace so that you can start using your new cluster without first creating a namespace.kube-node-leaseThis namespace holds Lease objects associated with each node. Node leases allow the kubelet to send heartbeats so that the control plane can detect node failure.kube-publicThis namespace is readable by all clients (including those not authenticated). This namespace is mostly reserved for cluster usage, in case that some resources should be visible and readable publicly throughout the whole cluster. The public aspect of this namespace is only a convention, not a requirement.kube-systemThe namespace for objects created by the Kubernetes system.Working with NamespacesCreation and deletion of namespaces are described in the Admin Guide documentation for namespaces.Note:Avoid creating namespaces with the prefix kube-, since it is reserved for Kubernetes system namespaces.Viewing namespacesYou can list the current namespaces in a cluster using:kubectl get namespace NAME STATUS AGE default Active 1d kube-node-lease Active 1d kube-public Active 1d kube-system Active 1d Setting the namespace for a requestTo set the namespace for a current request, use the --namespace flag.For example:kubectl run nginx --image=nginx --namespace=<insert-namespace-name-here> kubectl get pods --namespace=<insert-namespace-name-here> Setting the namespace preferenceYou can permanently save the namespace for all subsequent kubectl commands in that context.kubectl config set-context --current --namespace=<insert-namespace-name-here> # Validate it kubectl config view --minify |",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
    "id": "k8s_00512_qa_9716"
  },
  {
    "question": "How does Namespaces work?",
    "answer": "NamespacesIn Kubernetes, namespaces provide a mechanism for isolating groups of resources within a single cluster. Names of resources need to be unique within a namespace, but not across namespaces. Namespace-based scoping is applicable only for namespaced objects (e.g. Deployments, Services, etc.) and not for cluster-wide objects (e.g. StorageClass, Nodes, PersistentVolumes, etc.).When to Use Multiple NamespacesNamespaces are intended for use in environments with many users spread across multiple teams, or projects. For clusters with a few to tens of users, you should not need to create or think about namespaces at all. Start using namespaces when you need the features they provide.Namespaces provide a scope for names. Names of resources need to be unique within a namespace, but not across namespaces. Namespaces cannot be nested inside one another and each Kubernetes resource can only be in one namespace.Namespaces are a way to divide cluster resources between multiple users (via resource quota).It is not necessary to use multiple namespaces to separate slightly different resources, such as different versions of the same software: use labels to distinguish resources within the same namespace.Note:For a production cluster, consider not using the default namespace. Instead, make other namespaces and use those.Initial namespacesKubernetes starts with four initial namespaces:defaultKubernetes includes this namespace so that you can start using your new cluster without first creating a namespace.kube-node-leaseThis namespace holds Lease objects associated with each node. Node leases allow the kubelet to send heartbeats so that the control plane can detect node failure.kube-publicThis namespace is readable by all clients (including those not authenticated). This namespace is mostly reserved for cluster usage, in case that some resources should be visible and readable publicly throughout the whole cluster. The public aspect of this namespace is only a convention, not a requirement.kube-systemThe namespace for objects created by the Kubernetes system.Working with NamespacesCreation and deletion of namespaces are described in the Admin Guide documentation for namespaces.Note:Avoid creating namespaces with the prefix kube-, since it is reserved for Kubernetes system namespaces.Viewing namespacesYou can list the current namespaces in a cluster using:kubectl get namespace NAME STATUS AGE default Active 1d kube-node-lease Active 1d kube-public Active 1d kube-system Active 1d Setting the namespace for a requestTo set the namespace for a current request, use the --namespace flag.For example:kubectl run nginx --image=nginx --namespace=<insert-namespace-name-here> kubectl get pods --namespace=<insert-namespace-name-here> Setting the namespace preferenceYou can permanently save the namespace for all subsequent kubectl commands in that context.kubectl config set-context --current --namespace=<insert-namespace-name-here> # Validate it kubectl config view --minify |",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
    "id": "k8s_00512_qa_9717"
  },
  {
    "question": "When would you use Namespaces?",
    "answer": "NamespacesIn Kubernetes, namespaces provide a mechanism for isolating groups of resources within a single cluster. Names of resources need to be unique within a namespace, but not across namespaces. Namespace-based scoping is applicable only for namespaced objects (e.g. Deployments, Services, etc.) and not for cluster-wide objects (e.g. StorageClass, Nodes, PersistentVolumes, etc.).When to Use Multiple NamespacesNamespaces are intended for use in environments with many users spread across multiple teams, or projects. For clusters with a few to tens of users, you should not need to create or think about namespaces at all. Start using namespaces when you need the features they provide.Namespaces provide a scope for names. Names of resources need to be unique within a namespace, but not across namespaces. Namespaces cannot be nested inside one another and each Kubernetes resource can only be in one namespace.Namespaces are a way to divide cluster resources between multiple users (via resource quota).It is not necessary to use multiple namespaces to separate slightly different resources, such as different versions of the same software: use labels to distinguish resources within the same namespace.Note:For a production cluster, consider not using the default namespace. Instead, make other namespaces and use those.Initial namespacesKubernetes starts with four initial namespaces:defaultKubernetes includes this namespace so that you can start using your new cluster without first creating a namespace.kube-node-leaseThis namespace holds Lease objects associated with each node. Node leases allow the kubelet to send heartbeats so that the control plane can detect node failure.kube-publicThis namespace is readable by all clients (including those not authenticated). This namespace is mostly reserved for cluster usage, in case that some resources should be visible and readable publicly throughout the whole cluster. The public aspect of this namespace is only a convention, not a requirement.kube-systemThe namespace for objects created by the Kubernetes system.Working with NamespacesCreation and deletion of namespaces are described in the Admin Guide documentation for namespaces.Note:Avoid creating namespaces with the prefix kube-, since it is reserved for Kubernetes system namespaces.Viewing namespacesYou can list the current namespaces in a cluster using:kubectl get namespace NAME STATUS AGE default Active 1d kube-node-lease Active 1d kube-public Active 1d kube-system Active 1d Setting the namespace for a requestTo set the namespace for a current request, use the --namespace flag.For example:kubectl run nginx --image=nginx --namespace=<insert-namespace-name-here> kubectl get pods --namespace=<insert-namespace-name-here> Setting the namespace preferenceYou can permanently save the namespace for all subsequent kubectl commands in that context.kubectl config set-context --current --namespace=<insert-namespace-name-here> # Validate it kubectl config view --minify |",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
    "id": "k8s_00512_qa_9718"
  },
  {
    "question": "What are the benefits of Namespaces?",
    "answer": "NamespacesIn Kubernetes, namespaces provide a mechanism for isolating groups of resources within a single cluster. Names of resources need to be unique within a namespace, but not across namespaces. Namespace-based scoping is applicable only for namespaced objects (e.g. Deployments, Services, etc.) and not for cluster-wide objects (e.g. StorageClass, Nodes, PersistentVolumes, etc.).When to Use Multiple NamespacesNamespaces are intended for use in environments with many users spread across multiple teams, or projects. For clusters with a few to tens of users, you should not need to create or think about namespaces at all. Start using namespaces when you need the features they provide.Namespaces provide a scope for names. Names of resources need to be unique within a namespace, but not across namespaces. Namespaces cannot be nested inside one another and each Kubernetes resource can only be in one namespace.Namespaces are a way to divide cluster resources between multiple users (via resource quota).It is not necessary to use multiple namespaces to separate slightly different resources, such as different versions of the same software: use labels to distinguish resources within the same namespace.Note:For a production cluster, consider not using the default namespace. Instead, make other namespaces and use those.Initial namespacesKubernetes starts with four initial namespaces:defaultKubernetes includes this namespace so that you can start using your new cluster without first creating a namespace.kube-node-leaseThis namespace holds Lease objects associated with each node. Node leases allow the kubelet to send heartbeats so that the control plane can detect node failure.kube-publicThis namespace is readable by all clients (including those not authenticated). This namespace is mostly reserved for cluster usage, in case that some resources should be visible and readable publicly throughout the whole cluster. The public aspect of this namespace is only a convention, not a requirement.kube-systemThe namespace for objects created by the Kubernetes system.Working with NamespacesCreation and deletion of namespaces are described in the Admin Guide documentation for namespaces.Note:Avoid creating namespaces with the prefix kube-, since it is reserved for Kubernetes system namespaces.Viewing namespacesYou can list the current namespaces in a cluster using:kubectl get namespace NAME STATUS AGE default Active 1d kube-node-lease Active 1d kube-public Active 1d kube-system Active 1d Setting the namespace for a requestTo set the namespace for a current request, use the --namespace flag.For example:kubectl run nginx --image=nginx --namespace=<insert-namespace-name-here> kubectl get pods --namespace=<insert-namespace-name-here> Setting the namespace preferenceYou can permanently save the namespace for all subsequent kubectl commands in that context.kubectl config set-context --current --namespace=<insert-namespace-name-here> # Validate it kubectl config view --minify |",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
    "id": "k8s_00512_qa_9719"
  },
  {
    "question": "What is Namespaces?",
    "answer": "I n   K u b e r n e t e s ,   n a m e s p a c e s   p r o v i d e   a   m e c h a n i s m   f o r   i s o l a t i n g   g r o u p s   o f   r e s o u r c e s   w i t h i n   a   s i n g l e   c l u s t e r .   N a m e s   o f   r e s o u r c e s   n e e d   t o   b e   u n i q u e   w i t h i n   a   n a m e s p a c e ,   b u t   n o t   a c r o s s   n a m e s p a c e s .   N a m e s p a c e - b a s e d   s c o p i n g   i s   a p p l i c a b l e   o n l y   f o r   n a m e s p a c e d   o b j e c t s   ( e . g .   D e p l o y m e n t s ,   S e r v i c e s ,   e t c . )   a n d   n o t   f o r   c l u s t e r - w i d e   o b j e c t s   ( e . g .   S t o r a g e C l a s s ,   N o d e s ,   P e r s i s t e n t V o l u m e s ,   e t c . ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
    "id": "k8s_00512_section_1_9720"
  },
  {
    "question": "What is When to Use Multiple Namespaces?",
    "answer": "N a m e s p a c e s   a r e   i n t e n d e d   f o r   u s e   i n   e n v i r o n m e n t s   w i t h   m a n y   u s e r s   s p r e a d   a c r o s s   m u l t i p l e   t e a m s ,   o r   p r o j e c t s .   F o r   c l u s t e r s   w i t h   a   f e w   t o   t e n s   o f   u s e r s ,   y o u   s h o u l d   n o t   n e e d   t o   c r e a t e   o r   t h i n k   a b o u t   n a m e s p a c e s   a t   a l l .   S t a r t   u s i n g   n a m e s p a c e s   w h e n   y o u   n e e d   t h e   f e a t u r e s   t h e y   p r o v i d e .   N a m e s p a c e s   p r o v i d e   a   s c o p e   f o r   n a m e s .   N a m e s   o f   r e s o u r c e s   n e e d   t o   b e   u n i q u e   w i t h i n   a   n a m e s p a c e ,   b u t   n o t   a c r o s s   n a m e s p a c e s .   N a m e s p a c e s   c a n n o t   b e   n e s t e d   i n s i d e   o n e   a n o t h e r   a n d   e a c h   K u b e r n e t e s   r e s o u r c e   c a n   o n l y   b e   i n   o n e   n a m e s p a c e .   N a m e s p a c e s   a r e   a   w a y   t o   d i v i d e   c l u s t e r   r e s o u r c e s   b e t w e e n   m u l t i p l e   u s e r s   ( v i a   r e s o u r c e   q u o t a ) .   I t   i s   n o t   n e c e s s a r y   t o   u s e   m u l t i p l e   n a m e s p a c e s   t o   s e p a r a t e   s l i g h t l y   d i f f e r e n t   r e s o u r c e s ,   s u c h   a s   d i f f e r e n t   v e r s i o n s   o f   t h e   s a m e   s o f t w a r e :   u s e   l a b e l s   t o   d i s t i n g u i s h   r e s o u r c e s   w i t h i n   t h e   s a m e   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
    "id": "k8s_00512_section_2_9721"
  },
  {
    "question": "What is Initial namespaces?",
    "answer": "K u b e r n e t e s   s t a r t s   w i t h   f o u r   i n i t i a l   n a m e s p a c e s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
    "id": "k8s_00512_section_2_9722"
  },
  {
    "question": "What is Working with Namespaces?",
    "answer": "C r e a t i o n   a n d   d e l e t i o n   o f   n a m e s p a c e s   a r e   d e s c r i b e d   i n   t h e   A d m i n   G u i d e   d o c u m e n t a t i o n   f o r   n a m e s p a c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
    "id": "k8s_00512_section_2_9723"
  },
  {
    "question": "What is Viewing namespaces?",
    "answer": "Y o u   c a n   l i s t   t h e   c u r r e n t   n a m e s p a c e s   i n   a   c l u s t e r   u s i n g :   k u b e c t l   g e t   n a m e s p a c e   N A M E   S T A T U S   A G E   d e f a u l t   A c t i v e   1 d   k u b e - n o d e - l e a s e   A c t i v e   1 d   k u b e - p u b l i c   A c t i v e   1 d   k u b e - s y s t e m   A c t i v e   1 d",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
    "id": "k8s_00512_section_3_9724"
  },
  {
    "question": "What is Setting the namespace for a request?",
    "answer": "T o   s e t   t h e   n a m e s p a c e   f o r   a   c u r r e n t   r e q u e s t ,   u s e   t h e   - - n a m e s p a c e   f l a g .   F o r   e x a m p l e :   k u b e c t l   r u n   n g i n x   - - i m a g e = n g i n x   - - n a m e s p a c e = < i n s e r t - n a m e s p a c e - n a m e - h e r e >   k u b e c t l   g e t   p o d s   - - n a m e s p a c e = < i n s e r t - n a m e s p a c e - n a m e - h e r e >",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
    "id": "k8s_00512_section_3_9725"
  },
  {
    "question": "What is Setting the namespace preference?",
    "answer": "Y o u   c a n   p e r m a n e n t l y   s a v e   t h e   n a m e s p a c e   f o r   a l l   s u b s e q u e n t   k u b e c t l   c o m m a n d s   i n   t h a t   c o n t e x t .   k u b e c t l   c o n f i g   s e t - c o n t e x t   - - c u r r e n t   - - n a m e s p a c e = < i n s e r t - n a m e s p a c e - n a m e - h e r e >   #   V a l i d a t e   i t   k u b e c t l   c o n f i g   v i e w   - - m i n i f y   |   g r e p   n a m e s p a c e :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
    "id": "k8s_00512_section_3_9726"
  },
  {
    "question": "What is Namespaces and DNS?",
    "answer": "W h e n   y o u   c r e a t e   a   S e r v i c e ,   i t   c r e a t e s   a   c o r r e s p o n d i n g   D N S   e n t r y .   T h i s   e n t r y   i s   o f   t h e   f o r m   < s e r v i c e - n a m e > . < n a m e s p a c e - n a m e > . s v c . c l u s t e r . l o c a l ,   w h i c h   m e a n s   t h a t   i f   a   c o n t a i n e r   o n l y   u s e s   < s e r v i c e - n a m e > ,   i t   w i l l   r e s o l v e   t o   t h e   s e r v i c e   w h i c h   i s   l o c a l   t o   a   n a m e s p a c e .   T h i s   i s   u s e f u l   f o r   u s i n g   t h e   s a m e   c o n f i g u r a t i o n   a c r o s s   m u l t i p l e   n a m e s p a c e s   s u c h   a s   D e v e l o p m e n t ,   S t a g i n g   a n d   P r o d u c t i o n .   I f   y o u   w a n t   t o   r e a c h   a c r o s s   n a m e s p a c e s ,   y o u   n e e d   t o   u s e   t h e   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N ) .   A s   a   r e s u l t ,   a l l   n a m e s p a c e   n a m e s   m u s t   b e   v a l i d   R F C   1 1 2 3   D N S   l a b e l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
    "id": "k8s_00512_section_2_9727"
  },
  {
    "question": "What is Warning:?",
    "answer": "B y   c r e a t i n g   n a m e s p a c e s   w i t h   t h e   s a m e   n a m e   a s   p u b l i c   t o p - l e v e l   d o m a i n s ,   S e r v i c e s   i n   t h e s e   n a m e s p a c e s   c a n   h a v e   s h o r t   D N S   n a m e s   t h a t   o v e r l a p   w i t h   p u b l i c   D N S   r e c o r d s .   W o r k l o a d s   f r o m   a n y   n a m e s p a c e   p e r f o r m i n g   a   D N S   l o o k u p   w i t h o u t   a   t r a i l i n g   d o t   w i l l   b e   r e d i r e c t e d   t o   t h o s e   s e r v i c e s ,   t a k i n g   p r e c e d e n c e   o v e r   p u b l i c   D N S .   T o   m i t i g a t e   t h i s ,   l i m i t   p r i v i l e g e s   f o r   c r e a t i n g   n a m e s p a c e s   t o   t r u s t e d   u s e r s .   I f   r e q u i r e d ,   y o u   c o u l d   a d d i t i o n a l l y   c o n f i g u r e   t h i r d - p a r t y   s e c u r i t y   c o n t r o l s ,   s u c h   a s   a d m i s s i o n   w e b h o o k s ,   t o   b l o c k   c r e a t i n g   a n y   n a m e s p a c e   w i t h   t h e   n a m e   o f   p u b l i c   T L D s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
    "id": "k8s_00512_section_4_9728"
  },
  {
    "question": "What is Not all objects are in a namespace?",
    "answer": "M o s t   K u b e r n e t e s   r e s o u r c e s   ( e . g .   p o d s ,   s e r v i c e s ,   r e p l i c a t i o n   c o n t r o l l e r s ,   a n d   o t h e r s )   a r e   i n   s o m e   n a m e s p a c e s .   H o w e v e r   n a m e s p a c e   r e s o u r c e s   a r e   n o t   t h e m s e l v e s   i n   a   n a m e s p a c e .   A n d   l o w - l e v e l   r e s o u r c e s ,   s u c h   a s   n o d e s   a n d   p e r s i s t e n t V o l u m e s ,   a r e   n o t   i n   a n y   n a m e s p a c e .   T o   s e e   w h i c h   K u b e r n e t e s   r e s o u r c e s   a r e   a n d   a r e n ' t   i n   a   n a m e s p a c e :   #   I n   a   n a m e s p a c e   k u b e c t l   a p i - r e s o u r c e s   - - n a m e s p a c e d = t r u e   #   N o t   i n   a   n a m e s p a c e   k u b e c t l   a p i - r e s o u r c e s   - - n a m e s p a c e d = f a l s e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
    "id": "k8s_00512_section_2_9729"
  },
  {
    "question": "What is Automatic labelling?",
    "answer": "T h e   K u b e r n e t e s   c o n t r o l   p l a n e   s e t s   a n   i m m u t a b l e   l a b e l   k u b e r n e t e s . i o / m e t a d a t a . n a m e   o n   a l l   n a m e s p a c e s .   T h e   v a l u e   o f   t h e   l a b e l   i s   t h e   n a m e s p a c e   n a m e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
    "id": "k8s_00512_section_2_9730"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   c r e a t i n g   a   n e w   n a m e s p a c e . L e a r n   m o r e   a b o u t   d e l e t i n g   a   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
    "id": "k8s_00512_section_2_9731"
  },
  {
    "question": "What is Application Security Checklist?",
    "answer": "Application Security ChecklistBaseline guidelines around ensuring application security on Kubernetes, aimed at application developersThis checklist aims to provide basic guidelines on securing applications running in Kubernetes from a developer's perspective. This list is not meant to be exhaustive and is intended to evolve over time.On how to read and use this document:The order of topics does not reflect an order of priority.Some checklist items are detailed in the paragraph below the list of each section.This checklist assumes that a developer is a Kubernetes cluster user who interacts with namespaced scope objects.Caution:Checklists are not sufficient for attaining a good security posture on their own. A good security posture requires constant attention and improvement, but a checklist can be the first step on the never-ending journey towards security preparedness. Some recommendations in this checklist may be too restrictive or too lax for your specific security needs. Since Kubernetes security is not \"one size fits all\", each category of checklist items should be evaluated on its merits.Base security hardeningThe following checklist provides base security hardening recommendations that would apply to most applications deploying to Kubernetes.Application design Follow the right security principles when designing applications. Application configured with appropriate QoS class through resource request and limits. Memory limit is set for the workloads with a limit equal to or greater than the request. CPU limit might be set on sensitive workloads.Service account Avoid using the default ServiceAccount. Instead, create ServiceAccounts for each workload or microservice. automountServiceAccountToken should be set to false unless the pod specifically requires access to the Kubernetes API to operate.Pod-level securityContext recommendations Set runAsNonRoot: true. Configure the container to execute as a less privileged user (for example, using runAsUser and runAsGroup), and configure appropriate permissions on files or directories inside the container image. Optionally add a supplementary group with fsGroup to access persistent volumes. The application deploys into a namespace that enforces an appropriate Pod security standard. If you cannot control this enforcement for the cluster(s) where the application is deployed, take this into account either through documentation or additional defense in depth.Container-level securityContext recommendations Disable privilege escalations using allowPrivilegeEscalation: false. Configure the root filesystem to be read-only with readOnlyRootFilesystem: true. Avoid running privileged containers (set privileged: false). Drop all capabilities from the containers and add back only specific ones that are needed for operation of the container.Role Based Access Control (RBAC) Permissions such as create, patch, update and delete should be only granted if necessary. Avoid creating RBAC permissions to create or update roles",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/application-security-checklist/",
    "id": "k8s_00513_qa_9732"
  },
  {
    "question": "How does Application Security Checklist work?",
    "answer": "Application Security ChecklistBaseline guidelines around ensuring application security on Kubernetes, aimed at application developersThis checklist aims to provide basic guidelines on securing applications running in Kubernetes from a developer's perspective. This list is not meant to be exhaustive and is intended to evolve over time.On how to read and use this document:The order of topics does not reflect an order of priority.Some checklist items are detailed in the paragraph below the list of each section.This checklist assumes that a developer is a Kubernetes cluster user who interacts with namespaced scope objects.Caution:Checklists are not sufficient for attaining a good security posture on their own. A good security posture requires constant attention and improvement, but a checklist can be the first step on the never-ending journey towards security preparedness. Some recommendations in this checklist may be too restrictive or too lax for your specific security needs. Since Kubernetes security is not \"one size fits all\", each category of checklist items should be evaluated on its merits.Base security hardeningThe following checklist provides base security hardening recommendations that would apply to most applications deploying to Kubernetes.Application design Follow the right security principles when designing applications. Application configured with appropriate QoS class through resource request and limits. Memory limit is set for the workloads with a limit equal to or greater than the request. CPU limit might be set on sensitive workloads.Service account Avoid using the default ServiceAccount. Instead, create ServiceAccounts for each workload or microservice. automountServiceAccountToken should be set to false unless the pod specifically requires access to the Kubernetes API to operate.Pod-level securityContext recommendations Set runAsNonRoot: true. Configure the container to execute as a less privileged user (for example, using runAsUser and runAsGroup), and configure appropriate permissions on files or directories inside the container image. Optionally add a supplementary group with fsGroup to access persistent volumes. The application deploys into a namespace that enforces an appropriate Pod security standard. If you cannot control this enforcement for the cluster(s) where the application is deployed, take this into account either through documentation or additional defense in depth.Container-level securityContext recommendations Disable privilege escalations using allowPrivilegeEscalation: false. Configure the root filesystem to be read-only with readOnlyRootFilesystem: true. Avoid running privileged containers (set privileged: false). Drop all capabilities from the containers and add back only specific ones that are needed for operation of the container.Role Based Access Control (RBAC) Permissions such as create, patch, update and delete should be only granted if necessary. Avoid creating RBAC permissions to create or update roles",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/application-security-checklist/",
    "id": "k8s_00513_qa_9733"
  },
  {
    "question": "When would you use Application Security Checklist?",
    "answer": "Application Security ChecklistBaseline guidelines around ensuring application security on Kubernetes, aimed at application developersThis checklist aims to provide basic guidelines on securing applications running in Kubernetes from a developer's perspective. This list is not meant to be exhaustive and is intended to evolve over time.On how to read and use this document:The order of topics does not reflect an order of priority.Some checklist items are detailed in the paragraph below the list of each section.This checklist assumes that a developer is a Kubernetes cluster user who interacts with namespaced scope objects.Caution:Checklists are not sufficient for attaining a good security posture on their own. A good security posture requires constant attention and improvement, but a checklist can be the first step on the never-ending journey towards security preparedness. Some recommendations in this checklist may be too restrictive or too lax for your specific security needs. Since Kubernetes security is not \"one size fits all\", each category of checklist items should be evaluated on its merits.Base security hardeningThe following checklist provides base security hardening recommendations that would apply to most applications deploying to Kubernetes.Application design Follow the right security principles when designing applications. Application configured with appropriate QoS class through resource request and limits. Memory limit is set for the workloads with a limit equal to or greater than the request. CPU limit might be set on sensitive workloads.Service account Avoid using the default ServiceAccount. Instead, create ServiceAccounts for each workload or microservice. automountServiceAccountToken should be set to false unless the pod specifically requires access to the Kubernetes API to operate.Pod-level securityContext recommendations Set runAsNonRoot: true. Configure the container to execute as a less privileged user (for example, using runAsUser and runAsGroup), and configure appropriate permissions on files or directories inside the container image. Optionally add a supplementary group with fsGroup to access persistent volumes. The application deploys into a namespace that enforces an appropriate Pod security standard. If you cannot control this enforcement for the cluster(s) where the application is deployed, take this into account either through documentation or additional defense in depth.Container-level securityContext recommendations Disable privilege escalations using allowPrivilegeEscalation: false. Configure the root filesystem to be read-only with readOnlyRootFilesystem: true. Avoid running privileged containers (set privileged: false). Drop all capabilities from the containers and add back only specific ones that are needed for operation of the container.Role Based Access Control (RBAC) Permissions such as create, patch, update and delete should be only granted if necessary. Avoid creating RBAC permissions to create or update roles",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/application-security-checklist/",
    "id": "k8s_00513_qa_9734"
  },
  {
    "question": "What are the benefits of Application Security Checklist?",
    "answer": "Application Security ChecklistBaseline guidelines around ensuring application security on Kubernetes, aimed at application developersThis checklist aims to provide basic guidelines on securing applications running in Kubernetes from a developer's perspective. This list is not meant to be exhaustive and is intended to evolve over time.On how to read and use this document:The order of topics does not reflect an order of priority.Some checklist items are detailed in the paragraph below the list of each section.This checklist assumes that a developer is a Kubernetes cluster user who interacts with namespaced scope objects.Caution:Checklists are not sufficient for attaining a good security posture on their own. A good security posture requires constant attention and improvement, but a checklist can be the first step on the never-ending journey towards security preparedness. Some recommendations in this checklist may be too restrictive or too lax for your specific security needs. Since Kubernetes security is not \"one size fits all\", each category of checklist items should be evaluated on its merits.Base security hardeningThe following checklist provides base security hardening recommendations that would apply to most applications deploying to Kubernetes.Application design Follow the right security principles when designing applications. Application configured with appropriate QoS class through resource request and limits. Memory limit is set for the workloads with a limit equal to or greater than the request. CPU limit might be set on sensitive workloads.Service account Avoid using the default ServiceAccount. Instead, create ServiceAccounts for each workload or microservice. automountServiceAccountToken should be set to false unless the pod specifically requires access to the Kubernetes API to operate.Pod-level securityContext recommendations Set runAsNonRoot: true. Configure the container to execute as a less privileged user (for example, using runAsUser and runAsGroup), and configure appropriate permissions on files or directories inside the container image. Optionally add a supplementary group with fsGroup to access persistent volumes. The application deploys into a namespace that enforces an appropriate Pod security standard. If you cannot control this enforcement for the cluster(s) where the application is deployed, take this into account either through documentation or additional defense in depth.Container-level securityContext recommendations Disable privilege escalations using allowPrivilegeEscalation: false. Configure the root filesystem to be read-only with readOnlyRootFilesystem: true. Avoid running privileged containers (set privileged: false). Drop all capabilities from the containers and add back only specific ones that are needed for operation of the container.Role Based Access Control (RBAC) Permissions such as create, patch, update and delete should be only granted if necessary. Avoid creating RBAC permissions to create or update roles",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/application-security-checklist/",
    "id": "k8s_00513_qa_9735"
  },
  {
    "question": "What is Application Security Checklist?",
    "answer": "T h i s   c h e c k l i s t   a i m s   t o   p r o v i d e   b a s i c   g u i d e l i n e s   o n   s e c u r i n g   a p p l i c a t i o n s   r u n n i n g   i n   K u b e r n e t e s   f r o m   a   d e v e l o p e r ' s   p e r s p e c t i v e .   T h i s   l i s t   i s   n o t   m e a n t   t o   b e   e x h a u s t i v e   a n d   i s   i n t e n d e d   t o   e v o l v e   o v e r   t i m e .   O n   h o w   t o   r e a d   a n d   u s e   t h i s   d o c u m e n t :   T h e   o r d e r   o f   t o p i c s   d o e s   n o t   r e f l e c t   a n   o r d e r   o f   p r i o r i t y . S o m e   c h e c k l i s t   i t e m s   a r e   d e t a i l e d   i n   t h e   p a r a g r a p h   b e l o w   t h e   l i s t   o f   e a c h   s e c t i o n . T h i s   c h e c k l i s t   a s s u m e s   t h a t   a   d e v e l o p e r   i s   a   K u b e r n e t e s   c l u s t e r   u s e r   w h o   i n t e r a c t s   w i t h   n a m e s p a c e d   s c o p e   o b j e c t s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/application-security-checklist/",
    "id": "k8s_00513_section_1_9736"
  },
  {
    "question": "What is Base security hardening?",
    "answer": "T h e   f o l l o w i n g   c h e c k l i s t   p r o v i d e s   b a s e   s e c u r i t y   h a r d e n i n g   r e c o m m e n d a t i o n s   t h a t   w o u l d   a p p l y   t o   m o s t   a p p l i c a t i o n s   d e p l o y i n g   t o   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/application-security-checklist/",
    "id": "k8s_00513_section_2_9737"
  },
  {
    "question": "What is Application design?",
    "answer": "F o l l o w   t h e   r i g h t   s e c u r i t y   p r i n c i p l e s   w h e n   d e s i g n i n g   a p p l i c a t i o n s .   A p p l i c a t i o n   c o n f i g u r e d   w i t h   a p p r o p r i a t e   Q o S   c l a s s   t h r o u g h   r e s o u r c e   r e q u e s t   a n d   l i m i t s .   M e m o r y   l i m i t   i s   s e t   f o r   t h e   w o r k l o a d s   w i t h   a   l i m i t   e q u a l   t o   o r   g r e a t e r   t h a n   t h e   r e q u e s t .   C P U   l i m i t   m i g h t   b e   s e t   o n   s e n s i t i v e   w o r k l o a d s .   M e m o r y   l i m i t   i s   s e t   f o r   t h e   w o r k l o a d s   w i t h   a   l i m i t   e q u a l   t o   o r   g r e a t e r   t h a n   t h e   r e q u e s t .   C P U   l i m i t   m i g h t   b e   s e t   o n   s e n s i t i v e   w o r k l o a d s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/application-security-checklist/",
    "id": "k8s_00513_section_3_9738"
  },
  {
    "question": "What is Service account?",
    "answer": "A v o i d   u s i n g   t h e   d e f a u l t   S e r v i c e A c c o u n t .   I n s t e a d ,   c r e a t e   S e r v i c e A c c o u n t s   f o r   e a c h   w o r k l o a d   o r   m i c r o s e r v i c e .   a u t o m o u n t S e r v i c e A c c o u n t T o k e n   s h o u l d   b e   s e t   t o   f a l s e   u n l e s s   t h e   p o d   s p e c i f i c a l l y   r e q u i r e s   a c c e s s   t o   t h e   K u b e r n e t e s   A P I   t o   o p e r a t e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/application-security-checklist/",
    "id": "k8s_00513_section_3_9739"
  },
  {
    "question": "What is Pod-level securityContext recommendations?",
    "answer": "S e t   r u n A s N o n R o o t :   t r u e .   C o n f i g u r e   t h e   c o n t a i n e r   t o   e x e c u t e   a s   a   l e s s   p r i v i l e g e d   u s e r   ( f o r   e x a m p l e ,   u s i n g   r u n A s U s e r   a n d   r u n A s G r o u p ) ,   a n d   c o n f i g u r e   a p p r o p r i a t e   p e r m i s s i o n s   o n   f i l e s   o r   d i r e c t o r i e s   i n s i d e   t h e   c o n t a i n e r   i m a g e .   O p t i o n a l l y   a d d   a   s u p p l e m e n t a r y   g r o u p   w i t h   f s G r o u p   t o   a c c e s s   p e r s i s t e n t   v o l u m e s .   T h e   a p p l i c a t i o n   d e p l o y s   i n t o   a   n a m e s p a c e   t h a t   e n f o r c e s   a n   a p p r o p r i a t e   P o d   s e c u r i t y   s t a n d a r d .   I f   y o u   c a n n o t   c o n t r o l   t h i s   e n f o r c e m e n t   f o r   t h e   c l u s t e r ( s )   w h e r e   t h e   a p p l i c a t i o n   i s   d e p l o y e d ,   t a k e   t h i s   i n t o   a c c o u n t   e i t h e r   t h r o u g h   d o c u m e n t a t i o n   o r   a d d i t i o n a l   d e f e n s e   i n   d e p t h .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/application-security-checklist/",
    "id": "k8s_00513_section_3_9740"
  },
  {
    "question": "What is Container-level securityContext recommendations?",
    "answer": "D i s a b l e   p r i v i l e g e   e s c a l a t i o n s   u s i n g   a l l o w P r i v i l e g e E s c a l a t i o n :   f a l s e .   C o n f i g u r e   t h e   r o o t   f i l e s y s t e m   t o   b e   r e a d - o n l y   w i t h   r e a d O n l y R o o t F i l e s y s t e m :   t r u e .   A v o i d   r u n n i n g   p r i v i l e g e d   c o n t a i n e r s   ( s e t   p r i v i l e g e d :   f a l s e ) .   D r o p   a l l   c a p a b i l i t i e s   f r o m   t h e   c o n t a i n e r s   a n d   a d d   b a c k   o n l y   s p e c i f i c   o n e s   t h a t   a r e   n e e d e d   f o r   o p e r a t i o n   o f   t h e   c o n t a i n e r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/application-security-checklist/",
    "id": "k8s_00513_section_3_9741"
  },
  {
    "question": "What is Role Based Access Control (RBAC)?",
    "answer": "P e r m i s s i o n s   s u c h   a s   c r e a t e ,   p a t c h ,   u p d a t e   a n d   d e l e t e   s h o u l d   b e   o n l y   g r a n t e d   i f   n e c e s s a r y .   A v o i d   c r e a t i n g   R B A C   p e r m i s s i o n s   t o   c r e a t e   o r   u p d a t e   r o l e s   w h i c h   c a n   l e a d   t o   p r i v i l e g e   e s c a l a t i o n .   R e v i e w   b i n d i n g s   f o r   t h e   s y s t e m : u n a u t h e n t i c a t e d   g r o u p   a n d   r e m o v e   t h e m   w h e r e   p o s s i b l e ,   a s   t h i s   g i v e s   a c c e s s   t o   a n y o n e   w h o   c a n   c o n t a c t   t h e   A P I   s e r v e r   a t   a   n e t w o r k   l e v e l .   T h e   c r e a t e ,   u p d a t e   a n d   d e l e t e   v e r b s   s h o u l d   b e   p e r m i t t e d   j u d i c i o u s l y .   T h e   p a t c h   v e r b   i f   a l l o w e d   o n   a   N a m e s p a c e   c a n   a l l o w   u s e r s   t o   u p d a t e   l a b e l s   o n   t h e   n a m e s p a c e   o r   d e p l o y m e n t s   w h i c h   c a n   i n c r e a s e   t h e   a t t a c k   s u r f a c e .   F o r   s e n s i t i v e   w o r k l o a d s ,   c o n s i d e r   p r o v i d i n g   a   r e c o m m e n d e d   V a l i d a t i n g A d m i s s i o n P o l i c y   t h a t   f u r t h e r   r e s t r i c t s   t h e   p e r m i t t e d   w r i t e   a c t i o n s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/application-security-checklist/",
    "id": "k8s_00513_section_3_9742"
  },
  {
    "question": "What is Image security?",
    "answer": "U s i n g   a n   i m a g e   s c a n n i n g   t o o l   t o   s c a n   a n   i m a g e   b e f o r e   d e p l o y i n g   c o n t a i n e r s   i n   t h e   K u b e r n e t e s   c l u s t e r .   U s e   c o n t a i n e r   s i g n i n g   t o   v a l i d a t e   t h e   c o n t a i n e r   i m a g e   s i g n a t u r e   b e f o r e   d e p l o y i n g   t o   t h e   K u b e r n e t e s   c l u s t e r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/application-security-checklist/",
    "id": "k8s_00513_section_3_9743"
  },
  {
    "question": "What is Network policies?",
    "answer": "C o n f i g u r e   N e t w o r k P o l i c i e s   t o   o n l y   a l l o w   e x p e c t e d   i n g r e s s   a n d   e g r e s s   t r a f f i c   f r o m   t h e   p o d s .   M a k e   s u r e   t h a t   y o u r   c l u s t e r   p r o v i d e s   a n d   e n f o r c e s   N e t w o r k P o l i c y .   I f   y o u   a r e   w r i t i n g   a n   a p p l i c a t i o n   t h a t   u s e r s   w i l l   d e p l o y   t o   d i f f e r e n t   c l u s t e r s ,   c o n s i d e r   w h e t h e r   y o u   c a n   a s s u m e   t h a t   N e t w o r k P o l i c y   i s   a v a i l a b l e   a n d   e n f o r c e d .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/application-security-checklist/",
    "id": "k8s_00513_section_3_9744"
  },
  {
    "question": "What is Advanced security hardening?",
    "answer": "T h i s   s e c t i o n   o f   t h i s   g u i d e   c o v e r s   s o m e   a d v a n c e d   s e c u r i t y   h a r d e n i n g   p o i n t s   w h i c h   m i g h t   b e   v a l u a b l e   b a s e d   o n   d i f f e r e n t   K u b e r n e t e s   e n v i r o n m e n t   s e t u p .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/application-security-checklist/",
    "id": "k8s_00513_section_2_9745"
  },
  {
    "question": "What is Linux container security?",
    "answer": "C o n f i g u r e   S e c u r i t y   C o n t e x t   f o r   t h e   p o d - c o n t a i n e r .   S e t   t h e   S e c c o m p   P r o f i l e   f o r   a   C o n t a i n e r .   R e s t r i c t   a   C o n t a i n e r ' s   A c c e s s   t o   R e s o u r c e s   w i t h   A p p A r m o r .   A s s i g n   S E L i n u x   L a b e l s   t o   a   C o n t a i n e r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/application-security-checklist/",
    "id": "k8s_00513_section_3_9746"
  },
  {
    "question": "What is Runtime classes?",
    "answer": "C o n f i g u r e   a p p r o p r i a t e   r u n t i m e   c l a s s e s   f o r   c o n t a i n e r s .   S o m e   c o n t a i n e r s   m a y   r e q u i r e   a   d i f f e r e n t   i s o l a t i o n   l e v e l   f r o m   w h a t   i s   p r o v i d e d   b y   t h e   d e f a u l t   r u n t i m e   o f   t h e   c l u s t e r .   r u n t i m e C l a s s N a m e   c a n   b e   u s e d   i n   a   p o d s p e c   t o   d e f i n e   a   d i f f e r e n t   r u n t i m e   c l a s s .   F o r   s e n s i t i v e   w o r k l o a d s   c o n s i d e r   u s i n g   k e r n e l   e m u l a t i o n   t o o l s   l i k e   g V i s o r ,   o r   v i r t u a l i z e d   i s o l a t i o n   u s i n g   a   m e c h a n i s m   s u c h   a s   k a t a - c o n t a i n e r s .   I n   h i g h   t r u s t   e n v i r o n m e n t s ,   c o n s i d e r   u s i n g   c o n f i d e n t i a l   v i r t u a l   m a c h i n e s   t o   i m p r o v e   c l u s t e r   s e c u r i t y   e v e n   f u r t h e r .   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/application-security-checklist/",
    "id": "k8s_00513_section_3_9747"
  },
  {
    "question": "What is Monitoring, Logging, and Debugging?",
    "answer": "Monitoring, Logging, and DebuggingSet up monitoring and logging to troubleshoot a cluster, or debug a containerized application.Sometimes things go wrong. This guide helps you gather the relevant information and resolve issues. It has four sections:Debugging your application - Useful for users who are deploying code into Kubernetes and wondering why it is not working.Debugging your cluster - Useful for cluster administrators and operators troubleshooting issues with the Kubernetes cluster itself.Logging in Kubernetes - Useful for cluster administrators who want to set up and manage logging in Kubernetes.Monitoring in Kubernetes - Useful for cluster administrators who want to enable monitoring in a Kubernetes cluster.You should also check the known issues for the release you're using.Getting helpIf your problem isn't answered by any of the guides above, there are variety of ways for you to get help from the Kubernetes community.QuestionsThe documentation on this site has been structured to provide answers to a wide range of questions. Concepts explain the Kubernetes architecture and how each component works, while Setup provides practical instructions for getting started. Tasks show how to accomplish commonly used tasks, and Tutorials are more comprehensive walkthroughs of real-world, industry-specific, or end-to-end development scenarios. The Reference section provides detailed documentation on the Kubernetes API and command-line interfaces (CLIs), such as kubectl.Help! My question isn't covered! I need help now!Stack Exchange, Stack Overflow, or Server FaultIf you have questions related to software development for your containerized app, you can ask those on Stack Overflow.If you have Kubernetes questions related to cluster management or configuration, you can ask those on Server Fault.There are also several more specific Stack Exchange network sites which might be the right place to ask Kubernetes questions in areas such as DevOps, Software Engineering, or InfoSec.Someone else from the community may have already asked a similar question or may be able to help with your problem.The Kubernetes team will also monitor posts tagged Kubernetes. If there aren't any existing questions that help, please ensure that your question is on-topic on Stack Overflow, Server Fault, or the Stack Exchange Network site you're asking on, and read through the guidance on how to ask a new question, before asking a new one!SlackMany people from the Kubernetes community hang out on Kubernetes Slack in the #kubernetes-users channel. Slack requires registration; you can request an invitation, and registration is open to everyone). Feel free to come and ask any and all questions. Once registered, access the Kubernetes organisation in Slack via your web browser or via Slack's own dedicated app.Once you are registered, browse the growing list of channels for various subjects of interest. For example, people new to Kubernetes may also want to join the #kubernetes-novice chann",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/",
    "id": "k8s_00514_qa_9748"
  },
  {
    "question": "How does Monitoring, Logging, and Debugging work?",
    "answer": "Monitoring, Logging, and DebuggingSet up monitoring and logging to troubleshoot a cluster, or debug a containerized application.Sometimes things go wrong. This guide helps you gather the relevant information and resolve issues. It has four sections:Debugging your application - Useful for users who are deploying code into Kubernetes and wondering why it is not working.Debugging your cluster - Useful for cluster administrators and operators troubleshooting issues with the Kubernetes cluster itself.Logging in Kubernetes - Useful for cluster administrators who want to set up and manage logging in Kubernetes.Monitoring in Kubernetes - Useful for cluster administrators who want to enable monitoring in a Kubernetes cluster.You should also check the known issues for the release you're using.Getting helpIf your problem isn't answered by any of the guides above, there are variety of ways for you to get help from the Kubernetes community.QuestionsThe documentation on this site has been structured to provide answers to a wide range of questions. Concepts explain the Kubernetes architecture and how each component works, while Setup provides practical instructions for getting started. Tasks show how to accomplish commonly used tasks, and Tutorials are more comprehensive walkthroughs of real-world, industry-specific, or end-to-end development scenarios. The Reference section provides detailed documentation on the Kubernetes API and command-line interfaces (CLIs), such as kubectl.Help! My question isn't covered! I need help now!Stack Exchange, Stack Overflow, or Server FaultIf you have questions related to software development for your containerized app, you can ask those on Stack Overflow.If you have Kubernetes questions related to cluster management or configuration, you can ask those on Server Fault.There are also several more specific Stack Exchange network sites which might be the right place to ask Kubernetes questions in areas such as DevOps, Software Engineering, or InfoSec.Someone else from the community may have already asked a similar question or may be able to help with your problem.The Kubernetes team will also monitor posts tagged Kubernetes. If there aren't any existing questions that help, please ensure that your question is on-topic on Stack Overflow, Server Fault, or the Stack Exchange Network site you're asking on, and read through the guidance on how to ask a new question, before asking a new one!SlackMany people from the Kubernetes community hang out on Kubernetes Slack in the #kubernetes-users channel. Slack requires registration; you can request an invitation, and registration is open to everyone). Feel free to come and ask any and all questions. Once registered, access the Kubernetes organisation in Slack via your web browser or via Slack's own dedicated app.Once you are registered, browse the growing list of channels for various subjects of interest. For example, people new to Kubernetes may also want to join the #kubernetes-novice chann",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/",
    "id": "k8s_00514_qa_9749"
  },
  {
    "question": "When would you use Monitoring, Logging, and Debugging?",
    "answer": "Monitoring, Logging, and DebuggingSet up monitoring and logging to troubleshoot a cluster, or debug a containerized application.Sometimes things go wrong. This guide helps you gather the relevant information and resolve issues. It has four sections:Debugging your application - Useful for users who are deploying code into Kubernetes and wondering why it is not working.Debugging your cluster - Useful for cluster administrators and operators troubleshooting issues with the Kubernetes cluster itself.Logging in Kubernetes - Useful for cluster administrators who want to set up and manage logging in Kubernetes.Monitoring in Kubernetes - Useful for cluster administrators who want to enable monitoring in a Kubernetes cluster.You should also check the known issues for the release you're using.Getting helpIf your problem isn't answered by any of the guides above, there are variety of ways for you to get help from the Kubernetes community.QuestionsThe documentation on this site has been structured to provide answers to a wide range of questions. Concepts explain the Kubernetes architecture and how each component works, while Setup provides practical instructions for getting started. Tasks show how to accomplish commonly used tasks, and Tutorials are more comprehensive walkthroughs of real-world, industry-specific, or end-to-end development scenarios. The Reference section provides detailed documentation on the Kubernetes API and command-line interfaces (CLIs), such as kubectl.Help! My question isn't covered! I need help now!Stack Exchange, Stack Overflow, or Server FaultIf you have questions related to software development for your containerized app, you can ask those on Stack Overflow.If you have Kubernetes questions related to cluster management or configuration, you can ask those on Server Fault.There are also several more specific Stack Exchange network sites which might be the right place to ask Kubernetes questions in areas such as DevOps, Software Engineering, or InfoSec.Someone else from the community may have already asked a similar question or may be able to help with your problem.The Kubernetes team will also monitor posts tagged Kubernetes. If there aren't any existing questions that help, please ensure that your question is on-topic on Stack Overflow, Server Fault, or the Stack Exchange Network site you're asking on, and read through the guidance on how to ask a new question, before asking a new one!SlackMany people from the Kubernetes community hang out on Kubernetes Slack in the #kubernetes-users channel. Slack requires registration; you can request an invitation, and registration is open to everyone). Feel free to come and ask any and all questions. Once registered, access the Kubernetes organisation in Slack via your web browser or via Slack's own dedicated app.Once you are registered, browse the growing list of channels for various subjects of interest. For example, people new to Kubernetes may also want to join the #kubernetes-novice chann",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/",
    "id": "k8s_00514_qa_9750"
  },
  {
    "question": "What are the benefits of Monitoring, Logging, and Debugging?",
    "answer": "Monitoring, Logging, and DebuggingSet up monitoring and logging to troubleshoot a cluster, or debug a containerized application.Sometimes things go wrong. This guide helps you gather the relevant information and resolve issues. It has four sections:Debugging your application - Useful for users who are deploying code into Kubernetes and wondering why it is not working.Debugging your cluster - Useful for cluster administrators and operators troubleshooting issues with the Kubernetes cluster itself.Logging in Kubernetes - Useful for cluster administrators who want to set up and manage logging in Kubernetes.Monitoring in Kubernetes - Useful for cluster administrators who want to enable monitoring in a Kubernetes cluster.You should also check the known issues for the release you're using.Getting helpIf your problem isn't answered by any of the guides above, there are variety of ways for you to get help from the Kubernetes community.QuestionsThe documentation on this site has been structured to provide answers to a wide range of questions. Concepts explain the Kubernetes architecture and how each component works, while Setup provides practical instructions for getting started. Tasks show how to accomplish commonly used tasks, and Tutorials are more comprehensive walkthroughs of real-world, industry-specific, or end-to-end development scenarios. The Reference section provides detailed documentation on the Kubernetes API and command-line interfaces (CLIs), such as kubectl.Help! My question isn't covered! I need help now!Stack Exchange, Stack Overflow, or Server FaultIf you have questions related to software development for your containerized app, you can ask those on Stack Overflow.If you have Kubernetes questions related to cluster management or configuration, you can ask those on Server Fault.There are also several more specific Stack Exchange network sites which might be the right place to ask Kubernetes questions in areas such as DevOps, Software Engineering, or InfoSec.Someone else from the community may have already asked a similar question or may be able to help with your problem.The Kubernetes team will also monitor posts tagged Kubernetes. If there aren't any existing questions that help, please ensure that your question is on-topic on Stack Overflow, Server Fault, or the Stack Exchange Network site you're asking on, and read through the guidance on how to ask a new question, before asking a new one!SlackMany people from the Kubernetes community hang out on Kubernetes Slack in the #kubernetes-users channel. Slack requires registration; you can request an invitation, and registration is open to everyone). Feel free to come and ask any and all questions. Once registered, access the Kubernetes organisation in Slack via your web browser or via Slack's own dedicated app.Once you are registered, browse the growing list of channels for various subjects of interest. For example, people new to Kubernetes may also want to join the #kubernetes-novice chann",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/",
    "id": "k8s_00514_qa_9751"
  },
  {
    "question": "What is Monitoring, Logging, and Debugging?",
    "answer": "S o m e t i m e s   t h i n g s   g o   w r o n g .   T h i s   g u i d e   h e l p s   y o u   g a t h e r   t h e   r e l e v a n t   i n f o r m a t i o n   a n d   r e s o l v e   i s s u e s .   I t   h a s   f o u r   s e c t i o n s :   D e b u g g i n g   y o u r   a p p l i c a t i o n   -   U s e f u l   f o r   u s e r s   w h o   a r e   d e p l o y i n g   c o d e   i n t o   K u b e r n e t e s   a n d   w o n d e r i n g   w h y   i t   i s   n o t   w o r k i n g . D e b u g g i n g   y o u r   c l u s t e r   -   U s e f u l   f o r   c l u s t e r   a d m i n i s t r a t o r s   a n d   o p e r a t o r s   t r o u b l e s h o o t i n g   i s s u e s   w i t h   t h e   K u b e r n e t e s   c l u s t e r   i t s e l f . L o g g i n g   i n   K u b e r n e t e s   -   U s e f u l   f o r   c l u s t e r   a d m i n i s t r a t o r s   w h o   w a n t   t o   s e t   u p   a n d   m a n a g e   l o g g i n g   i n   K u b e r n e t e s . M o n i t o r i n g   i n   K u b e r n e t e s   -   U s e f u l   f o r   c l u s t e r   a d m i n i s t r a t o r s   w h o   w a n t   t o   e n a b l e   m o n i t o r i n g   i n   a   K u b e r n e t e s   c l u s t e r .   Y o u   s h o u l d   a l s o   c h e c k   t h e   k n o w n   i s s u e s   f o r   t h e   r e l e a s e   y o u ' r e   u s i n g .",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/",
    "id": "k8s_00514_section_1_9752"
  },
  {
    "question": "What is Getting help?",
    "answer": "I f   y o u r   p r o b l e m   i s n ' t   a n s w e r e d   b y   a n y   o f   t h e   g u i d e s   a b o v e ,   t h e r e   a r e   v a r i e t y   o f   w a y s   f o r   y o u   t o   g e t   h e l p   f r o m   t h e   K u b e r n e t e s   c o m m u n i t y .",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/",
    "id": "k8s_00514_section_2_9753"
  },
  {
    "question": "What is Questions?",
    "answer": "T h e   d o c u m e n t a t i o n   o n   t h i s   s i t e   h a s   b e e n   s t r u c t u r e d   t o   p r o v i d e   a n s w e r s   t o   a   w i d e   r a n g e   o f   q u e s t i o n s .   C o n c e p t s   e x p l a i n   t h e   K u b e r n e t e s   a r c h i t e c t u r e   a n d   h o w   e a c h   c o m p o n e n t   w o r k s ,   w h i l e   S e t u p   p r o v i d e s   p r a c t i c a l   i n s t r u c t i o n s   f o r   g e t t i n g   s t a r t e d .   T a s k s   s h o w   h o w   t o   a c c o m p l i s h   c o m m o n l y   u s e d   t a s k s ,   a n d   T u t o r i a l s   a r e   m o r e   c o m p r e h e n s i v e   w a l k t h r o u g h s   o f   r e a l - w o r l d ,   i n d u s t r y - s p e c i f i c ,   o r   e n d - t o - e n d   d e v e l o p m e n t   s c e n a r i o s .   T h e   R e f e r e n c e   s e c t i o n   p r o v i d e s   d e t a i l e d   d o c u m e n t a t i o n   o n   t h e   K u b e r n e t e s   A P I   a n d   c o m m a n d - l i n e   i n t e r f a c e s   ( C L I s ) ,   s u c h   a s   k u b e c t l .",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/",
    "id": "k8s_00514_section_3_9754"
  },
  {
    "question": "What is Stack Exchange, Stack Overflow, or Server Fault?",
    "answer": "I f   y o u   h a v e   q u e s t i o n s   r e l a t e d   t o   s o f t w a r e   d e v e l o p m e n t   f o r   y o u r   c o n t a i n e r i z e d   a p p ,   y o u   c a n   a s k   t h o s e   o n   S t a c k   O v e r f l o w .   I f   y o u   h a v e   K u b e r n e t e s   q u e s t i o n s   r e l a t e d   t o   c l u s t e r   m a n a g e m e n t   o r   c o n f i g u r a t i o n ,   y o u   c a n   a s k   t h o s e   o n   S e r v e r   F a u l t .   T h e r e   a r e   a l s o   s e v e r a l   m o r e   s p e c i f i c   S t a c k   E x c h a n g e   n e t w o r k   s i t e s   w h i c h   m i g h t   b e   t h e   r i g h t   p l a c e   t o   a s k   K u b e r n e t e s   q u e s t i o n s   i n   a r e a s   s u c h   a s   D e v O p s ,   S o f t w a r e   E n g i n e e r i n g ,   o r   I n f o S e c .   S o m e o n e   e l s e   f r o m   t h e   c o m m u n i t y   m a y   h a v e   a l r e a d y   a s k e d   a   s i m i l a r   q u e s t i o n   o r   m a y   b e   a b l e   t o   h e l p   w i t h   y o u r   p r o b l e m .   T h e   K u b e r n e t e s   t e a m   w i l l   a l s o   m o n i t o r   p o s t s   t a g g e d   K u b e r n e t e s .   I f   t h e r e   a r e n ' t   a n y   e x i s t i n g   q u e s t i o n s   t h a t   h e l p ,   p l e a s e   e n s u r e   t h a t   y o u r   q u e s t i o n   i s   o n - t o p i c   o n   S t a c k   O v e r f l o w ,   S e r v e r   F a u l t ,   o r   t h e   S t a c k   E x c h a n g e   N e t w o r k   s i t e   y o u ' r e   a s k i n g   o n ,   a n d   r e a d   t h r o u g h   t h e   g u i d a n c e   o n   h o w   t o   a s k   a   n e w   q u e s t i o n ,   b e f o r e   a s k i n g   a   n e w   o n e !",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/",
    "id": "k8s_00514_section_3_9755"
  },
  {
    "question": "What is Slack?",
    "answer": "M a n y   p e o p l e   f r o m   t h e   K u b e r n e t e s   c o m m u n i t y   h a n g   o u t   o n   K u b e r n e t e s   S l a c k   i n   t h e   # k u b e r n e t e s - u s e r s   c h a n n e l .   S l a c k   r e q u i r e s   r e g i s t r a t i o n ;   y o u   c a n   r e q u e s t   a n   i n v i t a t i o n ,   a n d   r e g i s t r a t i o n   i s   o p e n   t o   e v e r y o n e ) .   F e e l   f r e e   t o   c o m e   a n d   a s k   a n y   a n d   a l l   q u e s t i o n s .   O n c e   r e g i s t e r e d ,   a c c e s s   t h e   K u b e r n e t e s   o r g a n i s a t i o n   i n   S l a c k   v i a   y o u r   w e b   b r o w s e r   o r   v i a   S l a c k ' s   o w n   d e d i c a t e d   a p p .   O n c e   y o u   a r e   r e g i s t e r e d ,   b r o w s e   t h e   g r o w i n g   l i s t   o f   c h a n n e l s   f o r   v a r i o u s   s u b j e c t s   o f   i n t e r e s t .   F o r   e x a m p l e ,   p e o p l e   n e w   t o   K u b e r n e t e s   m a y   a l s o   w a n t   t o   j o i n   t h e   # k u b e r n e t e s - n o v i c e   c h a n n e l .   A s   a n o t h e r   e x a m p l e ,   d e v e l o p e r s   s h o u l d   j o i n   t h e   # k u b e r n e t e s - c o n t r i b u t o r s   c h a n n e l .   T h e r e   a r e   a l s o   m a n y   c o u n t r y   s p e c i f i c   /   l o c a l   l a n g u a g e   c h a n n e l s .   F e e l   f r e e   t o   j o i n   t h e s e   c h a n n e l s   f o r   l o c a l i z e d   s u p p o r t   a n d   i n f o :",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/",
    "id": "k8s_00514_section_3_9756"
  },
  {
    "question": "What is Forum?",
    "answer": "Y o u ' r e   w e l c o m e   t o   j o i n   t h e   o f f i c i a l   K u b e r n e t e s   F o r u m :   d i s c u s s . k u b e r n e t e s . i o .",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/",
    "id": "k8s_00514_section_3_9757"
  },
  {
    "question": "What is Bugs and feature requests?",
    "answer": "I f   y o u   h a v e   w h a t   l o o k s   l i k e   a   b u g ,   o r   y o u   w o u l d   l i k e   t o   m a k e   a   f e a t u r e   r e q u e s t ,   p l e a s e   u s e   t h e   G i t H u b   i s s u e   t r a c k i n g   s y s t e m .   B e f o r e   y o u   f i l e   a n   i s s u e ,   p l e a s e   s e a r c h   e x i s t i n g   i s s u e s   t o   s e e   i f   y o u r   i s s u e   i s   a l r e a d y   c o v e r e d .   I f   f i l i n g   a   b u g ,   p l e a s e   i n c l u d e   d e t a i l e d   i n f o r m a t i o n   a b o u t   h o w   t o   r e p r o d u c e   t h e   p r o b l e m ,   s u c h   a s :   K u b e r n e t e s   v e r s i o n :   k u b e c t l   v e r s i o n C l o u d   p r o v i d e r ,   O S   d i s t r o ,   n e t w o r k   c o n f i g u r a t i o n ,   a n d   c o n t a i n e r   r u n t i m e   v e r s i o n S t e p s   t o   r e p r o d u c e   t h e   p r o b l e m",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/",
    "id": "k8s_00514_section_3_9758"
  },
  {
    "question": "What is Customizing DNS Service?",
    "answer": "Customizing DNS ServiceThis page explains how to configure your DNS Pod(s) and customize the DNS resolution process in your cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour cluster must be running the CoreDNS add-on.Your Kubernetes server must be at or later than version v1.12.To check the version, enter kubectl version.IntroductionDNS is a built-in Kubernetes service launched automatically using the addon manager cluster add-on.Note:The CoreDNS Service is named kube-dns in the metadata.name field.The intent is to ensure greater interoperability with workloads that relied on the legacy kube-dns Service name to resolve addresses internal to the cluster. Using a Service named kube-dns abstracts away the implementation detail of which DNS provider is running behind that common name.If you are running CoreDNS as a Deployment, it will typically be exposed as a Kubernetes Service with a static IP address. The kubelet passes DNS resolver information to each container with the --cluster-dns=<dns-service-ip> flag.DNS names also need domains. You configure the local domain in the kubelet with the flag --cluster-domain=<default-local-domain>.The DNS server supports forward lookups (A and AAAA records), port lookups (SRV records), reverse IP address lookups (PTR records), and more. For more information, see DNS for Services and Pods.If a Pod's dnsPolicy is set to default, it inherits the name resolution configuration from the node that the Pod runs on. The Pod's DNS resolution should behave the same as the node. But see Known issues.If you don't want this, or if you want a different DNS config for pods, you can use the kubelet's --resolv-conf flag. Set this flag to \"\" to prevent Pods from inheriting DNS. Set it to a valid file path to specify a file other than /etc/resolv.conf for DNS inheritance.CoreDNSCoreDNS is a general-purpose authoritative DNS server that can serve as cluster DNS, complying with the DNS specifications.CoreDNS ConfigMap optionsCoreDNS is a DNS server that is modular and pluggable, with plugins adding new functionalities. The CoreDNS server can be configured by maintaining a Corefile, which is the CoreDNS configuration file. As a cluster administrator, you can modify the ConfigMap for the CoreDNS Corefile to change how DNS service discovery behaves for that cluster.In Kubernetes, CoreDNS is installed with the following default Corefile configuration:apiVersion: v1 kind: ConfigMap metadata: name: coredns namespace: kube-system data: Corefile: | .:53 { errors health { lameduck 5s } ready kubernetes cluster.local in-addr.arpa ip6.arpa { pods ins",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/",
    "id": "k8s_00515_qa_9759"
  },
  {
    "question": "How does Customizing DNS Service work?",
    "answer": "Customizing DNS ServiceThis page explains how to configure your DNS Pod(s) and customize the DNS resolution process in your cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour cluster must be running the CoreDNS add-on.Your Kubernetes server must be at or later than version v1.12.To check the version, enter kubectl version.IntroductionDNS is a built-in Kubernetes service launched automatically using the addon manager cluster add-on.Note:The CoreDNS Service is named kube-dns in the metadata.name field.The intent is to ensure greater interoperability with workloads that relied on the legacy kube-dns Service name to resolve addresses internal to the cluster. Using a Service named kube-dns abstracts away the implementation detail of which DNS provider is running behind that common name.If you are running CoreDNS as a Deployment, it will typically be exposed as a Kubernetes Service with a static IP address. The kubelet passes DNS resolver information to each container with the --cluster-dns=<dns-service-ip> flag.DNS names also need domains. You configure the local domain in the kubelet with the flag --cluster-domain=<default-local-domain>.The DNS server supports forward lookups (A and AAAA records), port lookups (SRV records), reverse IP address lookups (PTR records), and more. For more information, see DNS for Services and Pods.If a Pod's dnsPolicy is set to default, it inherits the name resolution configuration from the node that the Pod runs on. The Pod's DNS resolution should behave the same as the node. But see Known issues.If you don't want this, or if you want a different DNS config for pods, you can use the kubelet's --resolv-conf flag. Set this flag to \"\" to prevent Pods from inheriting DNS. Set it to a valid file path to specify a file other than /etc/resolv.conf for DNS inheritance.CoreDNSCoreDNS is a general-purpose authoritative DNS server that can serve as cluster DNS, complying with the DNS specifications.CoreDNS ConfigMap optionsCoreDNS is a DNS server that is modular and pluggable, with plugins adding new functionalities. The CoreDNS server can be configured by maintaining a Corefile, which is the CoreDNS configuration file. As a cluster administrator, you can modify the ConfigMap for the CoreDNS Corefile to change how DNS service discovery behaves for that cluster.In Kubernetes, CoreDNS is installed with the following default Corefile configuration:apiVersion: v1 kind: ConfigMap metadata: name: coredns namespace: kube-system data: Corefile: | .:53 { errors health { lameduck 5s } ready kubernetes cluster.local in-addr.arpa ip6.arpa { pods ins",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/",
    "id": "k8s_00515_qa_9760"
  },
  {
    "question": "When would you use Customizing DNS Service?",
    "answer": "Customizing DNS ServiceThis page explains how to configure your DNS Pod(s) and customize the DNS resolution process in your cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour cluster must be running the CoreDNS add-on.Your Kubernetes server must be at or later than version v1.12.To check the version, enter kubectl version.IntroductionDNS is a built-in Kubernetes service launched automatically using the addon manager cluster add-on.Note:The CoreDNS Service is named kube-dns in the metadata.name field.The intent is to ensure greater interoperability with workloads that relied on the legacy kube-dns Service name to resolve addresses internal to the cluster. Using a Service named kube-dns abstracts away the implementation detail of which DNS provider is running behind that common name.If you are running CoreDNS as a Deployment, it will typically be exposed as a Kubernetes Service with a static IP address. The kubelet passes DNS resolver information to each container with the --cluster-dns=<dns-service-ip> flag.DNS names also need domains. You configure the local domain in the kubelet with the flag --cluster-domain=<default-local-domain>.The DNS server supports forward lookups (A and AAAA records), port lookups (SRV records), reverse IP address lookups (PTR records), and more. For more information, see DNS for Services and Pods.If a Pod's dnsPolicy is set to default, it inherits the name resolution configuration from the node that the Pod runs on. The Pod's DNS resolution should behave the same as the node. But see Known issues.If you don't want this, or if you want a different DNS config for pods, you can use the kubelet's --resolv-conf flag. Set this flag to \"\" to prevent Pods from inheriting DNS. Set it to a valid file path to specify a file other than /etc/resolv.conf for DNS inheritance.CoreDNSCoreDNS is a general-purpose authoritative DNS server that can serve as cluster DNS, complying with the DNS specifications.CoreDNS ConfigMap optionsCoreDNS is a DNS server that is modular and pluggable, with plugins adding new functionalities. The CoreDNS server can be configured by maintaining a Corefile, which is the CoreDNS configuration file. As a cluster administrator, you can modify the ConfigMap for the CoreDNS Corefile to change how DNS service discovery behaves for that cluster.In Kubernetes, CoreDNS is installed with the following default Corefile configuration:apiVersion: v1 kind: ConfigMap metadata: name: coredns namespace: kube-system data: Corefile: | .:53 { errors health { lameduck 5s } ready kubernetes cluster.local in-addr.arpa ip6.arpa { pods ins",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/",
    "id": "k8s_00515_qa_9761"
  },
  {
    "question": "What are the benefits of Customizing DNS Service?",
    "answer": "Customizing DNS ServiceThis page explains how to configure your DNS Pod(s) and customize the DNS resolution process in your cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour cluster must be running the CoreDNS add-on.Your Kubernetes server must be at or later than version v1.12.To check the version, enter kubectl version.IntroductionDNS is a built-in Kubernetes service launched automatically using the addon manager cluster add-on.Note:The CoreDNS Service is named kube-dns in the metadata.name field.The intent is to ensure greater interoperability with workloads that relied on the legacy kube-dns Service name to resolve addresses internal to the cluster. Using a Service named kube-dns abstracts away the implementation detail of which DNS provider is running behind that common name.If you are running CoreDNS as a Deployment, it will typically be exposed as a Kubernetes Service with a static IP address. The kubelet passes DNS resolver information to each container with the --cluster-dns=<dns-service-ip> flag.DNS names also need domains. You configure the local domain in the kubelet with the flag --cluster-domain=<default-local-domain>.The DNS server supports forward lookups (A and AAAA records), port lookups (SRV records), reverse IP address lookups (PTR records), and more. For more information, see DNS for Services and Pods.If a Pod's dnsPolicy is set to default, it inherits the name resolution configuration from the node that the Pod runs on. The Pod's DNS resolution should behave the same as the node. But see Known issues.If you don't want this, or if you want a different DNS config for pods, you can use the kubelet's --resolv-conf flag. Set this flag to \"\" to prevent Pods from inheriting DNS. Set it to a valid file path to specify a file other than /etc/resolv.conf for DNS inheritance.CoreDNSCoreDNS is a general-purpose authoritative DNS server that can serve as cluster DNS, complying with the DNS specifications.CoreDNS ConfigMap optionsCoreDNS is a DNS server that is modular and pluggable, with plugins adding new functionalities. The CoreDNS server can be configured by maintaining a Corefile, which is the CoreDNS configuration file. As a cluster administrator, you can modify the ConfigMap for the CoreDNS Corefile to change how DNS service discovery behaves for that cluster.In Kubernetes, CoreDNS is installed with the following default Corefile configuration:apiVersion: v1 kind: ConfigMap metadata: name: coredns namespace: kube-system data: Corefile: | .:53 { errors health { lameduck 5s } ready kubernetes cluster.local in-addr.arpa ip6.arpa { pods ins",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/",
    "id": "k8s_00515_qa_9762"
  },
  {
    "question": "What is Customizing DNS Service?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   t o   c o n f i g u r e   y o u r   D N S   P o d ( s )   a n d   c u s t o m i z e   t h e   D N S   r e s o l u t i o n   p r o c e s s   i n   y o u r   c l u s t e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/",
    "id": "k8s_00515_section_1_9763"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u r   c l u s t e r   m u s t   b e   r u n n i n g   t h e   C o r e D N S   a d d - o n .   Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 1 2 .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/",
    "id": "k8s_00515_section_2_9764"
  },
  {
    "question": "What is Introduction?",
    "answer": "D N S   i s   a   b u i l t - i n   K u b e r n e t e s   s e r v i c e   l a u n c h e d   a u t o m a t i c a l l y   u s i n g   t h e   a d d o n   m a n a g e r   c l u s t e r   a d d - o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/",
    "id": "k8s_00515_section_2_9765"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   a r e   r u n n i n g   C o r e D N S   a s   a   D e p l o y m e n t ,   i t   w i l l   t y p i c a l l y   b e   e x p o s e d   a s   a   K u b e r n e t e s   S e r v i c e   w i t h   a   s t a t i c   I P   a d d r e s s .   T h e   k u b e l e t   p a s s e s   D N S   r e s o l v e r   i n f o r m a t i o n   t o   e a c h   c o n t a i n e r   w i t h   t h e   - - c l u s t e r - d n s = < d n s - s e r v i c e - i p >   f l a g .   D N S   n a m e s   a l s o   n e e d   d o m a i n s .   Y o u   c o n f i g u r e   t h e   l o c a l   d o m a i n   i n   t h e   k u b e l e t   w i t h   t h e   f l a g   - - c l u s t e r - d o m a i n = < d e f a u l t - l o c a l - d o m a i n > .   T h e   D N S   s e r v e r   s u p p o r t s   f o r w a r d   l o o k u p s   ( A   a n d   A A A A   r e c o r d s ) ,   p o r t   l o o k u p s   ( S R V   r e c o r d s ) ,   r e v e r s e   I P   a d d r e s s   l o o k u p s   ( P T R   r e c o r d s ) ,   a n d   m o r e .   F o r   m o r e   i n f o r m a t i o n ,   s e e   D N S   f o r   S e r v i c e s   a n d   P o d s .   I f   a   P o d ' s   d n s P o l i c y   i s   s e t   t o   d e f a u l t ,   i t   i n h e r i t s   t h e   n a m e   r e s o l u t i o n   c o n f i g u r a t i o n   f r o m   t h e   n o d e   t h a t   t h e   P o d   r u n s   o n .   T h e   P o d ' s   D N S   r e s o l u t i o n   s h o u l d   b e h a v e   t h e   s a m e   a s   t h e   n o d e .   B u t   s e e   K n o w n   i s s u e s .   I f   y o u   d o n ' t   w a n t   t h i s ,   o r   i f   y o u   w a n t   a   d i f f e r e n t   D N S   c o n f i g   f o r   p o d s ,   y o u   c a n   u s e   t h e   k u b e l e t ' s   - - r e s o l v - c o n f   f l a g .   S e t   t h i s   f l a g   t o   \" \"   t o   p r e v e n t   P o d s   f r o m   i n h e r i t i n g   D N S .   S e t   i t   t o   a   v a l i d   f i l e   p a t h   t o   s p e c i f y   a   f i l e   o t h e r   t h a n   / e t c / r e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/",
    "id": "k8s_00515_section_4_9766"
  },
  {
    "question": "What is CoreDNS?",
    "answer": "C o r e D N S   i s   a   g e n e r a l - p u r p o s e   a u t h o r i t a t i v e   D N S   s e r v e r   t h a t   c a n   s e r v e   a s   c l u s t e r   D N S ,   c o m p l y i n g   w i t h   t h e   D N S   s p e c i f i c a t i o n s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/",
    "id": "k8s_00515_section_2_9767"
  },
  {
    "question": "What is CoreDNS ConfigMap options?",
    "answer": "C o r e D N S   i s   a   D N S   s e r v e r   t h a t   i s   m o d u l a r   a n d   p l u g g a b l e ,   w i t h   p l u g i n s   a d d i n g   n e w   f u n c t i o n a l i t i e s .   T h e   C o r e D N S   s e r v e r   c a n   b e   c o n f i g u r e d   b y   m a i n t a i n i n g   a   C o r e f i l e ,   w h i c h   i s   t h e   C o r e D N S   c o n f i g u r a t i o n   f i l e .   A s   a   c l u s t e r   a d m i n i s t r a t o r ,   y o u   c a n   m o d i f y   t h e   C o n f i g M a p   f o r   t h e   C o r e D N S   C o r e f i l e   t o   c h a n g e   h o w   D N S   s e r v i c e   d i s c o v e r y   b e h a v e s   f o r   t h a t   c l u s t e r .   I n   K u b e r n e t e s ,   C o r e D N S   i s   i n s t a l l e d   w i t h   t h e   f o l l o w i n g   d e f a u l t   C o r e f i l e   c o n f i g u r a t i o n :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   c o r e d n s   n a m e s p a c e :   k u b e - s y s t e m   d a t a :   C o r e f i l e :   |   . : 5 3   {   e r r o r s   h e a l t h   {   l a m e d u c k   5 s   }   r e a d y   k u b e r n e t e s   c l u s t e r . l o c a l   i n - a d d r . a r p a   i p 6 . a r p a   {   p o d s   i n s e c u r e   f a l l t h r o u g h   i n - a d d r . a r p a   i p 6 . a r p a   t t l   3 0   }   p r o m e t h e u s   : 9 1 5 3   f o r w a r d   .   / e t c / r e s o l v . c o n f   c a c h e   3 0   l o o p   r e l o a d   l o a d b a l a n c e   }   T h e   C o r e f i l e   c o n f i g u r a t i o n   i n c l u d e s   t h e   f o l l o w i n g   p l u g i n s   o f   C o r e D N S :   e r r o r s :   E r r o r s   a r e   l o g g e d   t o   s t d o u t . h e a l t h :   H e a l t h   o f   C o r e D N S   i s   r e p o r t e d   t o   h t t p : / / l o c a l h o s t : 8 0 8 0 / h e a l t h .   I n   t h i s   e x t e n d e d   s y n t a x   l a m e d u c k   w i l l   m a k e   t h e   p r o c e s s   u n h e a l t h y   t h ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/",
    "id": "k8s_00515_section_3_9768"
  },
  {
    "question": "What is Configuration of Stub-domain and upstream nameserver using CoreDNS?",
    "answer": "C o r e D N S   h a s   t h e   a b i l i t y   t o   c o n f i g u r e   s t u b - d o m a i n s   a n d   u p s t r e a m   n a m e s e r v e r s   u s i n g   t h e   f o r w a r d   p l u g i n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/",
    "id": "k8s_00515_section_3_9769"
  },
  {
    "question": "What is Example?",
    "answer": "I f   a   c l u s t e r   o p e r a t o r   h a s   a   C o n s u l   d o m a i n   s e r v e r   l o c a t e d   a t   \" 1 0 . 1 5 0 . 0 . 1 \" ,   a n d   a l l   C o n s u l   n a m e s   h a v e   t h e   s u f f i x   \" . c o n s u l . l o c a l \" .   T o   c o n f i g u r e   i t   i n   C o r e D N S ,   t h e   c l u s t e r   a d m i n i s t r a t o r   c r e a t e s   t h e   f o l l o w i n g   s t a n z a   i n   t h e   C o r e D N S   C o n f i g M a p .   c o n s u l . l o c a l : 5 3   {   e r r o r s   c a c h e   3 0   f o r w a r d   .   1 0 . 1 5 0 . 0 . 1   }   T o   e x p l i c i t l y   f o r c e   a l l   n o n - c l u s t e r   D N S   l o o k u p s   t o   g o   t h r o u g h   a   s p e c i f i c   n a m e s e r v e r   a t   1 7 2 . 1 6 . 0 . 1 ,   p o i n t   t h e   f o r w a r d   t o   t h e   n a m e s e r v e r   i n s t e a d   o f   / e t c / r e s o l v . c o n f   f o r w a r d   .   1 7 2 . 1 6 . 0 . 1   T h e   f i n a l   C o n f i g M a p   a l o n g   w i t h   t h e   d e f a u l t   C o r e f i l e   c o n f i g u r a t i o n   l o o k s   l i k e :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   c o r e d n s   n a m e s p a c e :   k u b e - s y s t e m   d a t a :   C o r e f i l e :   |   . : 5 3   {   e r r o r s   h e a l t h   k u b e r n e t e s   c l u s t e r . l o c a l   i n - a d d r . a r p a   i p 6 . a r p a   {   p o d s   i n s e c u r e   f a l l t h r o u g h   i n - a d d r . a r p a   i p 6 . a r p a   }   p r o m e t h e u s   : 9 1 5 3   f o r w a r d   .   1 7 2 . 1 6 . 0 . 1   c a c h e   3 0   l o o p   r e l o a d   l o a d b a l a n c e   }   c o n s u l . l o c a l : 5 3   {   e r r o r s   c a c h e   3 0   f o r w a r d   .   1 0 . 1 5 0 . 0 . 1   }",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/",
    "id": "k8s_00515_section_4_9770"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   D e b u g g i n g   D N S   R e s o l u t i o n",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/",
    "id": "k8s_00515_section_2_9771"
  },
  {
    "question": "What is Debugging Kubernetes Nodes With Kubectl?",
    "answer": "Debugging Kubernetes Nodes With KubectlThis page shows how to debug a node running on the Kubernetes cluster using kubectl debug command.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.2.To check the version, enter kubectl version.You need to have permission to create Pods and to assign those new Pods to arbitrary nodes. You also need to be authorized to create Pods that access filesystems from the host.Debugging a Node using kubectl debug nodeUse the kubectl debug node command to deploy a Pod to a Node that you want to troubleshoot. This command is helpful in scenarios where you can't access your Node by using an SSH connection. When the Pod is created, the Pod opens an interactive shell on the Node. To create an interactive shell on a Node named “mynode”, run:kubectl debug node/mynode -it --image=ubuntu Creating debugging pod node-debugger-mynode-pdx84 with container debugger on node mynode. If you don't see a command prompt, try pressing enter. root@mynode:/# The debug command helps to gather information and troubleshoot issues. Commands that you might use include ip, ifconfig, nc, ping, and ps and so on. You can also install other tools, such as mtr, tcpdump, and curl, from the respective package manager.Note:The debug commands may differ based on the image the debugging pod is using and these commands might need to be installed.The debugging Pod can access the root filesystem of the Node, mounted at /host in the Pod. If you run your kubelet in a filesystem namespace, the debugging Pod sees the root for that namespace, not for the entire node. For a typical Linux node, you can look at the following paths to find relevant logs:/host/var/log/kubelet.logLogs from the kubelet, responsible for running containers on the node./host/var/log/kube-proxy.logLogs from kube-proxy, which is responsible for directing traffic to Service endpoints./host/var/log/containerd.logLogs from the containerd process running on the node./host/var/log/syslogShows general messages and information regarding the system./host/var/log/kern.logShows kernel logs.When creating a debugging session on a Node, keep in mind that:kubectl debug automatically generates the name of the new pod, based on the name of the node.The root filesystem of the Node will be mounted at /host.Although the container runs in the host IPC, Network, and PID namespaces, the pod isn't privileged. This means that reading some process information might fail because access to that information is restricted to superusers. For example, chroot /host will fail. If you ne",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/kubectl-node-debug/",
    "id": "k8s_00516_qa_9772"
  },
  {
    "question": "How does Debugging Kubernetes Nodes With Kubectl work?",
    "answer": "Debugging Kubernetes Nodes With KubectlThis page shows how to debug a node running on the Kubernetes cluster using kubectl debug command.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.2.To check the version, enter kubectl version.You need to have permission to create Pods and to assign those new Pods to arbitrary nodes. You also need to be authorized to create Pods that access filesystems from the host.Debugging a Node using kubectl debug nodeUse the kubectl debug node command to deploy a Pod to a Node that you want to troubleshoot. This command is helpful in scenarios where you can't access your Node by using an SSH connection. When the Pod is created, the Pod opens an interactive shell on the Node. To create an interactive shell on a Node named “mynode”, run:kubectl debug node/mynode -it --image=ubuntu Creating debugging pod node-debugger-mynode-pdx84 with container debugger on node mynode. If you don't see a command prompt, try pressing enter. root@mynode:/# The debug command helps to gather information and troubleshoot issues. Commands that you might use include ip, ifconfig, nc, ping, and ps and so on. You can also install other tools, such as mtr, tcpdump, and curl, from the respective package manager.Note:The debug commands may differ based on the image the debugging pod is using and these commands might need to be installed.The debugging Pod can access the root filesystem of the Node, mounted at /host in the Pod. If you run your kubelet in a filesystem namespace, the debugging Pod sees the root for that namespace, not for the entire node. For a typical Linux node, you can look at the following paths to find relevant logs:/host/var/log/kubelet.logLogs from the kubelet, responsible for running containers on the node./host/var/log/kube-proxy.logLogs from kube-proxy, which is responsible for directing traffic to Service endpoints./host/var/log/containerd.logLogs from the containerd process running on the node./host/var/log/syslogShows general messages and information regarding the system./host/var/log/kern.logShows kernel logs.When creating a debugging session on a Node, keep in mind that:kubectl debug automatically generates the name of the new pod, based on the name of the node.The root filesystem of the Node will be mounted at /host.Although the container runs in the host IPC, Network, and PID namespaces, the pod isn't privileged. This means that reading some process information might fail because access to that information is restricted to superusers. For example, chroot /host will fail. If you ne",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/kubectl-node-debug/",
    "id": "k8s_00516_qa_9773"
  },
  {
    "question": "When would you use Debugging Kubernetes Nodes With Kubectl?",
    "answer": "Debugging Kubernetes Nodes With KubectlThis page shows how to debug a node running on the Kubernetes cluster using kubectl debug command.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.2.To check the version, enter kubectl version.You need to have permission to create Pods and to assign those new Pods to arbitrary nodes. You also need to be authorized to create Pods that access filesystems from the host.Debugging a Node using kubectl debug nodeUse the kubectl debug node command to deploy a Pod to a Node that you want to troubleshoot. This command is helpful in scenarios where you can't access your Node by using an SSH connection. When the Pod is created, the Pod opens an interactive shell on the Node. To create an interactive shell on a Node named “mynode”, run:kubectl debug node/mynode -it --image=ubuntu Creating debugging pod node-debugger-mynode-pdx84 with container debugger on node mynode. If you don't see a command prompt, try pressing enter. root@mynode:/# The debug command helps to gather information and troubleshoot issues. Commands that you might use include ip, ifconfig, nc, ping, and ps and so on. You can also install other tools, such as mtr, tcpdump, and curl, from the respective package manager.Note:The debug commands may differ based on the image the debugging pod is using and these commands might need to be installed.The debugging Pod can access the root filesystem of the Node, mounted at /host in the Pod. If you run your kubelet in a filesystem namespace, the debugging Pod sees the root for that namespace, not for the entire node. For a typical Linux node, you can look at the following paths to find relevant logs:/host/var/log/kubelet.logLogs from the kubelet, responsible for running containers on the node./host/var/log/kube-proxy.logLogs from kube-proxy, which is responsible for directing traffic to Service endpoints./host/var/log/containerd.logLogs from the containerd process running on the node./host/var/log/syslogShows general messages and information regarding the system./host/var/log/kern.logShows kernel logs.When creating a debugging session on a Node, keep in mind that:kubectl debug automatically generates the name of the new pod, based on the name of the node.The root filesystem of the Node will be mounted at /host.Although the container runs in the host IPC, Network, and PID namespaces, the pod isn't privileged. This means that reading some process information might fail because access to that information is restricted to superusers. For example, chroot /host will fail. If you ne",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/kubectl-node-debug/",
    "id": "k8s_00516_qa_9774"
  },
  {
    "question": "What are the benefits of Debugging Kubernetes Nodes With Kubectl?",
    "answer": "Debugging Kubernetes Nodes With KubectlThis page shows how to debug a node running on the Kubernetes cluster using kubectl debug command.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.2.To check the version, enter kubectl version.You need to have permission to create Pods and to assign those new Pods to arbitrary nodes. You also need to be authorized to create Pods that access filesystems from the host.Debugging a Node using kubectl debug nodeUse the kubectl debug node command to deploy a Pod to a Node that you want to troubleshoot. This command is helpful in scenarios where you can't access your Node by using an SSH connection. When the Pod is created, the Pod opens an interactive shell on the Node. To create an interactive shell on a Node named “mynode”, run:kubectl debug node/mynode -it --image=ubuntu Creating debugging pod node-debugger-mynode-pdx84 with container debugger on node mynode. If you don't see a command prompt, try pressing enter. root@mynode:/# The debug command helps to gather information and troubleshoot issues. Commands that you might use include ip, ifconfig, nc, ping, and ps and so on. You can also install other tools, such as mtr, tcpdump, and curl, from the respective package manager.Note:The debug commands may differ based on the image the debugging pod is using and these commands might need to be installed.The debugging Pod can access the root filesystem of the Node, mounted at /host in the Pod. If you run your kubelet in a filesystem namespace, the debugging Pod sees the root for that namespace, not for the entire node. For a typical Linux node, you can look at the following paths to find relevant logs:/host/var/log/kubelet.logLogs from the kubelet, responsible for running containers on the node./host/var/log/kube-proxy.logLogs from kube-proxy, which is responsible for directing traffic to Service endpoints./host/var/log/containerd.logLogs from the containerd process running on the node./host/var/log/syslogShows general messages and information regarding the system./host/var/log/kern.logShows kernel logs.When creating a debugging session on a Node, keep in mind that:kubectl debug automatically generates the name of the new pod, based on the name of the node.The root filesystem of the Node will be mounted at /host.Although the container runs in the host IPC, Network, and PID namespaces, the pod isn't privileged. This means that reading some process information might fail because access to that information is restricted to superusers. For example, chroot /host will fail. If you ne",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/kubectl-node-debug/",
    "id": "k8s_00516_qa_9775"
  },
  {
    "question": "What is Debugging Kubernetes Nodes With Kubectl?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   d e b u g   a   n o d e   r u n n i n g   o n   t h e   K u b e r n e t e s   c l u s t e r   u s i n g   k u b e c t l   d e b u g   c o m m a n d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/kubectl-node-debug/",
    "id": "k8s_00516_section_1_9776"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 2 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/kubectl-node-debug/",
    "id": "k8s_00516_section_2_9777"
  },
  {
    "question": "What is Debugging a Node using kubectl debug node?",
    "answer": "U s e   t h e   k u b e c t l   d e b u g   n o d e   c o m m a n d   t o   d e p l o y   a   P o d   t o   a   N o d e   t h a t   y o u   w a n t   t o   t r o u b l e s h o o t .   T h i s   c o m m a n d   i s   h e l p f u l   i n   s c e n a r i o s   w h e r e   y o u   c a n ' t   a c c e s s   y o u r   N o d e   b y   u s i n g   a n   S S H   c o n n e c t i o n .   W h e n   t h e   P o d   i s   c r e a t e d ,   t h e   P o d   o p e n s   a n   i n t e r a c t i v e   s h e l l   o n   t h e   N o d e .   T o   c r e a t e   a n   i n t e r a c t i v e   s h e l l   o n   a   N o d e   n a m e d   “ m y n o d e ” ,   r u n :   k u b e c t l   d e b u g   n o d e / m y n o d e   - i t   - - i m a g e = u b u n t u   C r e a t i n g   d e b u g g i n g   p o d   n o d e - d e b u g g e r - m y n o d e - p d x 8 4   w i t h   c o n t a i n e r   d e b u g g e r   o n   n o d e   m y n o d e .   I f   y o u   d o n ' t   s e e   a   c o m m a n d   p r o m p t ,   t r y   p r e s s i n g   e n t e r .   r o o t @ m y n o d e : / #   T h e   d e b u g   c o m m a n d   h e l p s   t o   g a t h e r   i n f o r m a t i o n   a n d   t r o u b l e s h o o t   i s s u e s .   C o m m a n d s   t h a t   y o u   m i g h t   u s e   i n c l u d e   i p ,   i f c o n f i g ,   n c ,   p i n g ,   a n d   p s   a n d   s o   o n .   Y o u   c a n   a l s o   i n s t a l l   o t h e r   t o o l s ,   s u c h   a s   m t r ,   t c p d u m p ,   a n d   c u r l ,   f r o m   t h e   r e s p e c t i v e   p a c k a g e   m a n a g e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/kubectl-node-debug/",
    "id": "k8s_00516_section_2_9778"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   d e b u g g i n g   P o d   c a n   a c c e s s   t h e   r o o t   f i l e s y s t e m   o f   t h e   N o d e ,   m o u n t e d   a t   / h o s t   i n   t h e   P o d .   I f   y o u   r u n   y o u r   k u b e l e t   i n   a   f i l e s y s t e m   n a m e s p a c e ,   t h e   d e b u g g i n g   P o d   s e e s   t h e   r o o t   f o r   t h a t   n a m e s p a c e ,   n o t   f o r   t h e   e n t i r e   n o d e .   F o r   a   t y p i c a l   L i n u x   n o d e ,   y o u   c a n   l o o k   a t   t h e   f o l l o w i n g   p a t h s   t o   f i n d   r e l e v a n t   l o g s :   W h e n   c r e a t i n g   a   d e b u g g i n g   s e s s i o n   o n   a   N o d e ,   k e e p   i n   m i n d   t h a t :   k u b e c t l   d e b u g   a u t o m a t i c a l l y   g e n e r a t e s   t h e   n a m e   o f   t h e   n e w   p o d ,   b a s e d   o n   t h e   n a m e   o f   t h e   n o d e . T h e   r o o t   f i l e s y s t e m   o f   t h e   N o d e   w i l l   b e   m o u n t e d   a t   / h o s t . A l t h o u g h   t h e   c o n t a i n e r   r u n s   i n   t h e   h o s t   I P C ,   N e t w o r k ,   a n d   P I D   n a m e s p a c e s ,   t h e   p o d   i s n ' t   p r i v i l e g e d .   T h i s   m e a n s   t h a t   r e a d i n g   s o m e   p r o c e s s   i n f o r m a t i o n   m i g h t   f a i l   b e c a u s e   a c c e s s   t o   t h a t   i n f o r m a t i o n   i s   r e s t r i c t e d   t o   s u p e r u s e r s .   F o r   e x a m p l e ,   c h r o o t   / h o s t   w i l l   f a i l .   I f   y o u   n e e d   a   p r i v i l e g e d   p o d ,   c r e a t e   i t   m a n u a l l y   o r   u s e   t h e   - - p r o f i l e = s y s a d m i n   f l a g . B y   a p p l y i n g   D e b u g g i n g   P r o f i l e s ,   y o u   c a n   s e t   s p e c i f i c   p r o p e r t i e s   s u c h   a s   s e c u r i t y C o n t e x t   t o   a   d e b u g g i n g   P o d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/kubectl-node-debug/",
    "id": "k8s_00516_section_4_9779"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "W h e n   y o u   f i n i s h   u s i n g   t h e   d e b u g g i n g   P o d ,   d e l e t e   i t :   k u b e c t l   g e t   p o d s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   n o d e - d e b u g g e r - m y n o d e - p d x 8 4   0 / 1   C o m p l e t e d   0   8 m 1 s   #   C h a n g e   t h e   p o d   n a m e   a c c o r d i n g l y   k u b e c t l   d e l e t e   p o d   n o d e - d e b u g g e r - m y n o d e - p d x 8 4   - - n o w   p o d   \" n o d e - d e b u g g e r - m y n o d e - p d x 8 4 \"   d e l e t e d",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/kubectl-node-debug/",
    "id": "k8s_00516_section_2_9780"
  },
  {
    "question": "What is Writing a new topic?",
    "answer": "Writing a new topicThis page shows how to create a new topic for the Kubernetes docs.Before you beginCreate a fork of the Kubernetes documentation repository as described in Open a PR.Choosing a page typeAs you prepare to write a new topic, think about the page type that would fit your content the best:Guidelines for choosing a page typeTypeDescriptionConceptA concept page explains some aspect of Kubernetes. For example, a concept page might describe the Kubernetes Deployment object and explain the role it plays as an application while it is deployed, scaled, and updated. Typically, concept pages don't include sequences of steps, but instead provide links to tasks or tutorials. For an example of a concept topic, see Nodes.TaskA task page shows how to do a single thing. The idea is to give readers a sequence of steps that they can actually do as they read the page. A task page can be short or long, provided it stays focused on one area. In a task page, it is OK to blend brief explanations with the steps to be performed, but if you need to provide a lengthy explanation, you should do that in a concept topic. Related task and concept topics should link to each other. For an example of a short task page, see Configure a Pod to Use a Volume for Storage. For an example of a longer task page, see Configure Liveness and Readiness ProbesTutorialA tutorial page shows how to accomplish a goal that ties together several Kubernetes features. A tutorial might provide several sequences of steps that readers can actually do as they read the page. Or it might provide explanations of related pieces of code. For example, a tutorial could provide a walkthrough of a code sample. A tutorial can include brief explanations of the Kubernetes features that are being tied together, but should link to related concept topics for deep explanations of individual features.Creating a new pageUse a content type for each new page that you write. The docs site provides templates or Hugo archetypes to create new content pages. To create a new type of page, run hugo new with the path to the file you want to create. For example:hugo new docs/concepts/my-first-concept.md Choosing a title and filenameChoose a title that has the keywords you want search engines to find. Create a filename that uses the words in your title separated by hyphens. For example, the topic with title Using an HTTP Proxy to Access the Kubernetes API has filename http-proxy-access-api.md. You don't need to put \"kubernetes\" in the filename, because \"kubernetes\" is already in the URL for the topic, for example: /docs/tasks/extend-kubernetes/http-proxy-access-api/ Adding the topic title to the front matterIn your topic, put a title field in the front matter. The front matter is the YAML block that is between the triple-dashed lines at the top of the page. Here's an example:--- title: Using an HTTP Proxy to Access the Kubernetes API --- Choosing a directoryDepending on your page type, put your new file in a subdirecto",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/write-new-topic/",
    "id": "k8s_00517_qa_9781"
  },
  {
    "question": "How does Writing a new topic work?",
    "answer": "Writing a new topicThis page shows how to create a new topic for the Kubernetes docs.Before you beginCreate a fork of the Kubernetes documentation repository as described in Open a PR.Choosing a page typeAs you prepare to write a new topic, think about the page type that would fit your content the best:Guidelines for choosing a page typeTypeDescriptionConceptA concept page explains some aspect of Kubernetes. For example, a concept page might describe the Kubernetes Deployment object and explain the role it plays as an application while it is deployed, scaled, and updated. Typically, concept pages don't include sequences of steps, but instead provide links to tasks or tutorials. For an example of a concept topic, see Nodes.TaskA task page shows how to do a single thing. The idea is to give readers a sequence of steps that they can actually do as they read the page. A task page can be short or long, provided it stays focused on one area. In a task page, it is OK to blend brief explanations with the steps to be performed, but if you need to provide a lengthy explanation, you should do that in a concept topic. Related task and concept topics should link to each other. For an example of a short task page, see Configure a Pod to Use a Volume for Storage. For an example of a longer task page, see Configure Liveness and Readiness ProbesTutorialA tutorial page shows how to accomplish a goal that ties together several Kubernetes features. A tutorial might provide several sequences of steps that readers can actually do as they read the page. Or it might provide explanations of related pieces of code. For example, a tutorial could provide a walkthrough of a code sample. A tutorial can include brief explanations of the Kubernetes features that are being tied together, but should link to related concept topics for deep explanations of individual features.Creating a new pageUse a content type for each new page that you write. The docs site provides templates or Hugo archetypes to create new content pages. To create a new type of page, run hugo new with the path to the file you want to create. For example:hugo new docs/concepts/my-first-concept.md Choosing a title and filenameChoose a title that has the keywords you want search engines to find. Create a filename that uses the words in your title separated by hyphens. For example, the topic with title Using an HTTP Proxy to Access the Kubernetes API has filename http-proxy-access-api.md. You don't need to put \"kubernetes\" in the filename, because \"kubernetes\" is already in the URL for the topic, for example: /docs/tasks/extend-kubernetes/http-proxy-access-api/ Adding the topic title to the front matterIn your topic, put a title field in the front matter. The front matter is the YAML block that is between the triple-dashed lines at the top of the page. Here's an example:--- title: Using an HTTP Proxy to Access the Kubernetes API --- Choosing a directoryDepending on your page type, put your new file in a subdirecto",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/write-new-topic/",
    "id": "k8s_00517_qa_9782"
  },
  {
    "question": "When would you use Writing a new topic?",
    "answer": "Writing a new topicThis page shows how to create a new topic for the Kubernetes docs.Before you beginCreate a fork of the Kubernetes documentation repository as described in Open a PR.Choosing a page typeAs you prepare to write a new topic, think about the page type that would fit your content the best:Guidelines for choosing a page typeTypeDescriptionConceptA concept page explains some aspect of Kubernetes. For example, a concept page might describe the Kubernetes Deployment object and explain the role it plays as an application while it is deployed, scaled, and updated. Typically, concept pages don't include sequences of steps, but instead provide links to tasks or tutorials. For an example of a concept topic, see Nodes.TaskA task page shows how to do a single thing. The idea is to give readers a sequence of steps that they can actually do as they read the page. A task page can be short or long, provided it stays focused on one area. In a task page, it is OK to blend brief explanations with the steps to be performed, but if you need to provide a lengthy explanation, you should do that in a concept topic. Related task and concept topics should link to each other. For an example of a short task page, see Configure a Pod to Use a Volume for Storage. For an example of a longer task page, see Configure Liveness and Readiness ProbesTutorialA tutorial page shows how to accomplish a goal that ties together several Kubernetes features. A tutorial might provide several sequences of steps that readers can actually do as they read the page. Or it might provide explanations of related pieces of code. For example, a tutorial could provide a walkthrough of a code sample. A tutorial can include brief explanations of the Kubernetes features that are being tied together, but should link to related concept topics for deep explanations of individual features.Creating a new pageUse a content type for each new page that you write. The docs site provides templates or Hugo archetypes to create new content pages. To create a new type of page, run hugo new with the path to the file you want to create. For example:hugo new docs/concepts/my-first-concept.md Choosing a title and filenameChoose a title that has the keywords you want search engines to find. Create a filename that uses the words in your title separated by hyphens. For example, the topic with title Using an HTTP Proxy to Access the Kubernetes API has filename http-proxy-access-api.md. You don't need to put \"kubernetes\" in the filename, because \"kubernetes\" is already in the URL for the topic, for example: /docs/tasks/extend-kubernetes/http-proxy-access-api/ Adding the topic title to the front matterIn your topic, put a title field in the front matter. The front matter is the YAML block that is between the triple-dashed lines at the top of the page. Here's an example:--- title: Using an HTTP Proxy to Access the Kubernetes API --- Choosing a directoryDepending on your page type, put your new file in a subdirecto",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/write-new-topic/",
    "id": "k8s_00517_qa_9783"
  },
  {
    "question": "What are the benefits of Writing a new topic?",
    "answer": "Writing a new topicThis page shows how to create a new topic for the Kubernetes docs.Before you beginCreate a fork of the Kubernetes documentation repository as described in Open a PR.Choosing a page typeAs you prepare to write a new topic, think about the page type that would fit your content the best:Guidelines for choosing a page typeTypeDescriptionConceptA concept page explains some aspect of Kubernetes. For example, a concept page might describe the Kubernetes Deployment object and explain the role it plays as an application while it is deployed, scaled, and updated. Typically, concept pages don't include sequences of steps, but instead provide links to tasks or tutorials. For an example of a concept topic, see Nodes.TaskA task page shows how to do a single thing. The idea is to give readers a sequence of steps that they can actually do as they read the page. A task page can be short or long, provided it stays focused on one area. In a task page, it is OK to blend brief explanations with the steps to be performed, but if you need to provide a lengthy explanation, you should do that in a concept topic. Related task and concept topics should link to each other. For an example of a short task page, see Configure a Pod to Use a Volume for Storage. For an example of a longer task page, see Configure Liveness and Readiness ProbesTutorialA tutorial page shows how to accomplish a goal that ties together several Kubernetes features. A tutorial might provide several sequences of steps that readers can actually do as they read the page. Or it might provide explanations of related pieces of code. For example, a tutorial could provide a walkthrough of a code sample. A tutorial can include brief explanations of the Kubernetes features that are being tied together, but should link to related concept topics for deep explanations of individual features.Creating a new pageUse a content type for each new page that you write. The docs site provides templates or Hugo archetypes to create new content pages. To create a new type of page, run hugo new with the path to the file you want to create. For example:hugo new docs/concepts/my-first-concept.md Choosing a title and filenameChoose a title that has the keywords you want search engines to find. Create a filename that uses the words in your title separated by hyphens. For example, the topic with title Using an HTTP Proxy to Access the Kubernetes API has filename http-proxy-access-api.md. You don't need to put \"kubernetes\" in the filename, because \"kubernetes\" is already in the URL for the topic, for example: /docs/tasks/extend-kubernetes/http-proxy-access-api/ Adding the topic title to the front matterIn your topic, put a title field in the front matter. The front matter is the YAML block that is between the triple-dashed lines at the top of the page. Here's an example:--- title: Using an HTTP Proxy to Access the Kubernetes API --- Choosing a directoryDepending on your page type, put your new file in a subdirecto",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/write-new-topic/",
    "id": "k8s_00517_qa_9784"
  },
  {
    "question": "What is Writing a new topic?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c r e a t e   a   n e w   t o p i c   f o r   t h e   K u b e r n e t e s   d o c s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/write-new-topic/",
    "id": "k8s_00517_section_1_9785"
  },
  {
    "question": "What is Before you begin?",
    "answer": "C r e a t e   a   f o r k   o f   t h e   K u b e r n e t e s   d o c u m e n t a t i o n   r e p o s i t o r y   a s   d e s c r i b e d   i n   O p e n   a   P R .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/write-new-topic/",
    "id": "k8s_00517_section_2_9786"
  },
  {
    "question": "What is Choosing a page type?",
    "answer": "A s   y o u   p r e p a r e   t o   w r i t e   a   n e w   t o p i c ,   t h i n k   a b o u t   t h e   p a g e   t y p e   t h a t   w o u l d   f i t   y o u r   c o n t e n t   t h e   b e s t :",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/write-new-topic/",
    "id": "k8s_00517_section_2_9787"
  },
  {
    "question": "What is Creating a new page?",
    "answer": "U s e   a   c o n t e n t   t y p e   f o r   e a c h   n e w   p a g e   t h a t   y o u   w r i t e .   T h e   d o c s   s i t e   p r o v i d e s   t e m p l a t e s   o r   H u g o   a r c h e t y p e s   t o   c r e a t e   n e w   c o n t e n t   p a g e s .   T o   c r e a t e   a   n e w   t y p e   o f   p a g e ,   r u n   h u g o   n e w   w i t h   t h e   p a t h   t o   t h e   f i l e   y o u   w a n t   t o   c r e a t e .   F o r   e x a m p l e :   h u g o   n e w   d o c s / c o n c e p t s / m y - f i r s t - c o n c e p t . m d",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/write-new-topic/",
    "id": "k8s_00517_section_3_9788"
  },
  {
    "question": "What is Choosing a title and filename?",
    "answer": "C h o o s e   a   t i t l e   t h a t   h a s   t h e   k e y w o r d s   y o u   w a n t   s e a r c h   e n g i n e s   t o   f i n d .   C r e a t e   a   f i l e n a m e   t h a t   u s e s   t h e   w o r d s   i n   y o u r   t i t l e   s e p a r a t e d   b y   h y p h e n s .   F o r   e x a m p l e ,   t h e   t o p i c   w i t h   t i t l e   U s i n g   a n   H T T P   P r o x y   t o   A c c e s s   t h e   K u b e r n e t e s   A P I   h a s   f i l e n a m e   h t t p - p r o x y - a c c e s s - a p i . m d .   Y o u   d o n ' t   n e e d   t o   p u t   \" k u b e r n e t e s \"   i n   t h e   f i l e n a m e ,   b e c a u s e   \" k u b e r n e t e s \"   i s   a l r e a d y   i n   t h e   U R L   f o r   t h e   t o p i c ,   f o r   e x a m p l e :   / d o c s / t a s k s / e x t e n d - k u b e r n e t e s / h t t p - p r o x y - a c c e s s - a p i /",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/write-new-topic/",
    "id": "k8s_00517_section_2_9789"
  },
  {
    "question": "What is Adding the topic title to the front matter?",
    "answer": "I n   y o u r   t o p i c ,   p u t   a   t i t l e   f i e l d   i n   t h e   f r o n t   m a t t e r .   T h e   f r o n t   m a t t e r   i s   t h e   Y A M L   b l o c k   t h a t   i s   b e t w e e n   t h e   t r i p l e - d a s h e d   l i n e s   a t   t h e   t o p   o f   t h e   p a g e .   H e r e ' s   a n   e x a m p l e :   - - -   t i t l e :   U s i n g   a n   H T T P   P r o x y   t o   A c c e s s   t h e   K u b e r n e t e s   A P I   - - -",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/write-new-topic/",
    "id": "k8s_00517_section_2_9790"
  },
  {
    "question": "What is Choosing a directory?",
    "answer": "D e p e n d i n g   o n   y o u r   p a g e   t y p e ,   p u t   y o u r   n e w   f i l e   i n   a   s u b d i r e c t o r y   o f   o n e   o f   t h e s e :   / c o n t e n t / e n / d o c s / t a s k s / / c o n t e n t / e n / d o c s / t u t o r i a l s / / c o n t e n t / e n / d o c s / c o n c e p t s /   Y o u   c a n   p u t   y o u r   f i l e   i n   a n   e x i s t i n g   s u b d i r e c t o r y ,   o r   y o u   c a n   c r e a t e   a   n e w   s u b d i r e c t o r y .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/write-new-topic/",
    "id": "k8s_00517_section_2_9791"
  },
  {
    "question": "What is Placing your topic in the table of contents?",
    "answer": "T h e   t a b l e   o f   c o n t e n t s   i s   b u i l t   d y n a m i c a l l y   u s i n g   t h e   d i r e c t o r y   s t r u c t u r e   o f   t h e   d o c u m e n t a t i o n   s o u r c e .   T h e   t o p - l e v e l   d i r e c t o r i e s   u n d e r   / c o n t e n t / e n / d o c s /   c r e a t e   t o p - l e v e l   n a v i g a t i o n ,   a n d   s u b d i r e c t o r i e s   e a c h   h a v e   e n t r i e s   i n   t h e   t a b l e   o f   c o n t e n t s .   E a c h   s u b d i r e c t o r y   h a s   a   f i l e   _ i n d e x . m d ,   w h i c h   r e p r e s e n t s   t h e   \" h o m e \"   p a g e   f o r   a   g i v e n   s u b d i r e c t o r y ' s   c o n t e n t .   T h e   _ i n d e x . m d   d o e s   n o t   n e e d   a   t e m p l a t e .   I t   c a n   c o n t a i n   o v e r v i e w   c o n t e n t   a b o u t   t h e   t o p i c s   i n   t h e   s u b d i r e c t o r y .   O t h e r   f i l e s   i n   a   d i r e c t o r y   a r e   s o r t e d   a l p h a b e t i c a l l y   b y   d e f a u l t .   T h i s   i s   a l m o s t   n e v e r   t h e   b e s t   o r d e r .   T o   c o n t r o l   t h e   r e l a t i v e   s o r t i n g   o f   t o p i c s   i n   a   s u b d i r e c t o r y ,   s e t   t h e   w e i g h t :   f r o n t - m a t t e r   k e y   t o   a n   i n t e g e r .   T y p i c a l l y ,   w e   u s e   m u l t i p l e s   o f   1 0 ,   t o   a c c o u n t   f o r   a d d i n g   t o p i c s   l a t e r .   F o r   i n s t a n c e ,   a   t o p i c   w i t h   w e i g h t   1 0   w i l l   c o m e   b e f o r e   o n e   w i t h   w e i g h t   2 0 .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/write-new-topic/",
    "id": "k8s_00517_section_2_9792"
  },
  {
    "question": "What is Embedding code in your topic?",
    "answer": "I f   y o u   w a n t   t o   i n c l u d e   s o m e   c o d e   i n   y o u r   t o p i c ,   y o u   c a n   e m b e d   t h e   c o d e   i n   y o u r   f i l e   d i r e c t l y   u s i n g   t h e   m a r k d o w n   c o d e   b l o c k   s y n t a x .   T h i s   i s   r e c o m m e n d e d   f o r   t h e   f o l l o w i n g   c a s e s   ( n o t   a n   e x h a u s t i v e   l i s t ) :   T h e   c o d e   s h o w s   t h e   o u t p u t   f r o m   a   c o m m a n d   s u c h   a s   k u b e c t l   g e t   d e p l o y   m y d e p l o y m e n t   - o   j s o n   |   j q   ' . s t a t u s ' . T h e   c o d e   i s   n o t   g e n e r i c   e n o u g h   f o r   u s e r s   t o   t r y   o u t .   A s   a n   e x a m p l e ,   y o u   c a n   e m b e d   t h e   Y A M L   f i l e   f o r   c r e a t i n g   a   P o d   w h i c h   d e p e n d s   o n   a   s p e c i f i c   F l e x V o l u m e   i m p l e m e n t a t i o n . T h e   c o d e   i s   a n   i n c o m p l e t e   e x a m p l e   b e c a u s e   i t s   p u r p o s e   i s   t o   h i g h l i g h t   a   p o r t i o n   o f   a   l a r g e r   f i l e .   F o r   e x a m p l e ,   w h e n   d e s c r i b i n g   w a y s   t o   c u s t o m i z e   a   R o l e B i n d i n g ,   y o u   c a n   p r o v i d e   a   s h o r t   s n i p p e t   d i r e c t l y   i n   y o u r   t o p i c   f i l e . T h e   c o d e   i s   n o t   m e a n t   f o r   u s e r s   t o   t r y   o u t   d u e   t o   o t h e r   r e a s o n s .   F o r   e x a m p l e ,   w h e n   d e s c r i b i n g   h o w   a   n e w   a t t r i b u t e   s h o u l d   b e   a d d e d   t o   a   r e s o u r c e   u s i n g   t h e   k u b e c t l   e d i t   c o m m a n d ,   y o u   c a n   p r o v i d e   a   s h o r t   e x a m p l e   t h a t   i n c l u d e s   o n l y   t h e   a t t r i b u t e   t o   a d d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/write-new-topic/",
    "id": "k8s_00517_section_2_9793"
  },
  {
    "question": "What is Including code from another file?",
    "answer": "A n o t h e r   w a y   t o   i n c l u d e   c o d e   i n   y o u r   t o p i c   i s   t o   c r e a t e   a   n e w ,   c o m p l e t e   s a m p l e   f i l e   ( o r   g r o u p   o f   s a m p l e   f i l e s )   a n d   t h e n   r e f e r e n c e   t h e   s a m p l e   f r o m   y o u r   t o p i c .   U s e   t h i s   m e t h o d   t o   i n c l u d e   s a m p l e   Y A M L   f i l e s   w h e n   t h e   s a m p l e   i s   g e n e r i c   a n d   r e u s a b l e ,   a n d   y o u   w a n t   t h e   r e a d e r   t o   t r y   i t   o u t   t h e m s e l v e s .   W h e n   a d d i n g   a   n e w   s t a n d a l o n e   s a m p l e   f i l e ,   s u c h   a s   a   Y A M L   f i l e ,   p l a c e   t h e   c o d e   i n   o n e   o f   t h e   < L A N G > / e x a m p l e s /   s u b d i r e c t o r i e s   w h e r e   < L A N G >   i s   t h e   l a n g u a g e   f o r   t h e   t o p i c .   I n   y o u r   t o p i c   f i l e ,   u s e   t h e   c o d e _ s a m p l e   s h o r t c o d e :   { { %   c o d e _ s a m p l e   f i l e = \" < R E L P A T H > / m y - e x a m p l e - y a m l > \"   % } }   w h e r e   < R E L P A T H >   i s   t h e   p a t h   t o   t h e   f i l e   t o   i n c l u d e ,   r e l a t i v e   t o   t h e   e x a m p l e s   d i r e c t o r y .   T h e   f o l l o w i n g   H u g o   s h o r t c o d e   r e f e r e n c e s   a   Y A M L   f i l e   l o c a t e d   a t   / c o n t e n t / e n / e x a m p l e s / p o d s / s t o r a g e / g c e - v o l u m e . y a m l .   { { %   c o d e _ s a m p l e   f i l e = \" p o d s / s t o r a g e / g c e - v o l u m e . y a m l \"   % } }",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/write-new-topic/",
    "id": "k8s_00517_section_2_9794"
  },
  {
    "question": "What is Showing how to create an API object from a configuration file?",
    "answer": "I f   y o u   n e e d   t o   d e m o n s t r a t e   h o w   t o   c r e a t e   a n   A P I   o b j e c t   b a s e d   o n   a   c o n f i g u r a t i o n   f i l e ,   p l a c e   t h e   c o n f i g u r a t i o n   f i l e   i n   o n e   o f   t h e   s u b d i r e c t o r i e s   u n d e r   < L A N G > / e x a m p l e s .   I n   y o u r   t o p i c ,   s h o w   t h i s   c o m m a n d :   k u b e c t l   c r e a t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s t o r a g e / g c e - v o l u m e . y a m l",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/write-new-topic/",
    "id": "k8s_00517_section_2_9795"
  },
  {
    "question": "What is Note:?",
    "answer": "F o r   a n   e x a m p l e   o f   a   t o p i c   t h a t   u s e s   t h i s   t e c h n i q u e ,   s e e   R u n n i n g   a   S i n g l e - I n s t a n c e   S t a t e f u l   A p p l i c a t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/write-new-topic/",
    "id": "k8s_00517_section_4_9796"
  },
  {
    "question": "What is Adding images to a topic?",
    "answer": "P u t   i m a g e   f i l e s   i n   t h e   / i m a g e s   d i r e c t o r y .   T h e   p r e f e r r e d   i m a g e   f o r m a t   i s   S V G .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/write-new-topic/",
    "id": "k8s_00517_section_2_9797"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   u s i n g   p a g e   c o n t e n t   t y p e s . L e a r n   a b o u t   c r e a t i n g   a   p u l l   r e q u e s t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/write-new-topic/",
    "id": "k8s_00517_section_2_9798"
  },
  {
    "question": "What is Workloads?",
    "answer": "WorkloadsUnderstand Pods, the smallest deployable compute object in Kubernetes, and the higher-level abstractions that help you to run them.A workload is an application running on Kubernetes. Whether your workload is a single component or several that work together, on Kubernetes you run it inside a set of pods. In Kubernetes, a Pod represents a set of running containers on your cluster.Kubernetes pods have a defined lifecycle. For example, once a pod is running in your cluster then a critical fault on the node where that pod is running means that all the pods on that node fail. Kubernetes treats that level of failure as final: you would need to create a new Pod to recover, even if the node later becomes healthy.However, to make life considerably easier, you don't need to manage each Pod directly. Instead, you can use workload resources that manage a set of pods on your behalf. These resources configure controllers that make sure the right number of the right kind of pod are running, to match the state you specified.Kubernetes provides several built-in workload resources:Deployment and ReplicaSet (replacing the legacy resource ReplicationController). Deployment is a good fit for managing a stateless application workload on your cluster, where any Pod in the Deployment is interchangeable and can be replaced if needed.StatefulSet lets you run one or more related Pods that do track state somehow. For example, if your workload records data persistently, you can run a StatefulSet that matches each Pod with a PersistentVolume. Your code, running in the Pods for that StatefulSet, can replicate data to other Pods in the same StatefulSet to improve overall resilience.DaemonSet defines Pods that provide facilities that are local to nodes. Every time you add a node to your cluster that matches the specification in a DaemonSet, the control plane schedules a Pod for that DaemonSet onto the new node. Each pod in a DaemonSet performs a job similar to a system daemon on a classic Unix / POSIX server. A DaemonSet might be fundamental to the operation of your cluster, such as a plugin to run cluster networking, it might help you to manage the node, or it could provide optional behavior that enhances the container platform you are running.Job and CronJob provide different ways to define tasks that run to completion and then stop. You can use a Job to define a task that runs to completion, just once. You can use a CronJob to run the same Job multiple times according a schedule.In the wider Kubernetes ecosystem, you can find third-party workload resources that provide additional behaviors. Using a custom resource definition, you can add in a third-party workload resource if you want a specific behavior that's not part of Kubernetes' core. For example, if you wanted to run a group of Pods for your application but stop work unless all the Pods are available (perhaps for some high-throughput distributed task), then you can implement or install an extension that does pro",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/",
    "id": "k8s_00518_qa_9799"
  },
  {
    "question": "How does Workloads work?",
    "answer": "WorkloadsUnderstand Pods, the smallest deployable compute object in Kubernetes, and the higher-level abstractions that help you to run them.A workload is an application running on Kubernetes. Whether your workload is a single component or several that work together, on Kubernetes you run it inside a set of pods. In Kubernetes, a Pod represents a set of running containers on your cluster.Kubernetes pods have a defined lifecycle. For example, once a pod is running in your cluster then a critical fault on the node where that pod is running means that all the pods on that node fail. Kubernetes treats that level of failure as final: you would need to create a new Pod to recover, even if the node later becomes healthy.However, to make life considerably easier, you don't need to manage each Pod directly. Instead, you can use workload resources that manage a set of pods on your behalf. These resources configure controllers that make sure the right number of the right kind of pod are running, to match the state you specified.Kubernetes provides several built-in workload resources:Deployment and ReplicaSet (replacing the legacy resource ReplicationController). Deployment is a good fit for managing a stateless application workload on your cluster, where any Pod in the Deployment is interchangeable and can be replaced if needed.StatefulSet lets you run one or more related Pods that do track state somehow. For example, if your workload records data persistently, you can run a StatefulSet that matches each Pod with a PersistentVolume. Your code, running in the Pods for that StatefulSet, can replicate data to other Pods in the same StatefulSet to improve overall resilience.DaemonSet defines Pods that provide facilities that are local to nodes. Every time you add a node to your cluster that matches the specification in a DaemonSet, the control plane schedules a Pod for that DaemonSet onto the new node. Each pod in a DaemonSet performs a job similar to a system daemon on a classic Unix / POSIX server. A DaemonSet might be fundamental to the operation of your cluster, such as a plugin to run cluster networking, it might help you to manage the node, or it could provide optional behavior that enhances the container platform you are running.Job and CronJob provide different ways to define tasks that run to completion and then stop. You can use a Job to define a task that runs to completion, just once. You can use a CronJob to run the same Job multiple times according a schedule.In the wider Kubernetes ecosystem, you can find third-party workload resources that provide additional behaviors. Using a custom resource definition, you can add in a third-party workload resource if you want a specific behavior that's not part of Kubernetes' core. For example, if you wanted to run a group of Pods for your application but stop work unless all the Pods are available (perhaps for some high-throughput distributed task), then you can implement or install an extension that does pro",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/",
    "id": "k8s_00518_qa_9800"
  },
  {
    "question": "When would you use Workloads?",
    "answer": "WorkloadsUnderstand Pods, the smallest deployable compute object in Kubernetes, and the higher-level abstractions that help you to run them.A workload is an application running on Kubernetes. Whether your workload is a single component or several that work together, on Kubernetes you run it inside a set of pods. In Kubernetes, a Pod represents a set of running containers on your cluster.Kubernetes pods have a defined lifecycle. For example, once a pod is running in your cluster then a critical fault on the node where that pod is running means that all the pods on that node fail. Kubernetes treats that level of failure as final: you would need to create a new Pod to recover, even if the node later becomes healthy.However, to make life considerably easier, you don't need to manage each Pod directly. Instead, you can use workload resources that manage a set of pods on your behalf. These resources configure controllers that make sure the right number of the right kind of pod are running, to match the state you specified.Kubernetes provides several built-in workload resources:Deployment and ReplicaSet (replacing the legacy resource ReplicationController). Deployment is a good fit for managing a stateless application workload on your cluster, where any Pod in the Deployment is interchangeable and can be replaced if needed.StatefulSet lets you run one or more related Pods that do track state somehow. For example, if your workload records data persistently, you can run a StatefulSet that matches each Pod with a PersistentVolume. Your code, running in the Pods for that StatefulSet, can replicate data to other Pods in the same StatefulSet to improve overall resilience.DaemonSet defines Pods that provide facilities that are local to nodes. Every time you add a node to your cluster that matches the specification in a DaemonSet, the control plane schedules a Pod for that DaemonSet onto the new node. Each pod in a DaemonSet performs a job similar to a system daemon on a classic Unix / POSIX server. A DaemonSet might be fundamental to the operation of your cluster, such as a plugin to run cluster networking, it might help you to manage the node, or it could provide optional behavior that enhances the container platform you are running.Job and CronJob provide different ways to define tasks that run to completion and then stop. You can use a Job to define a task that runs to completion, just once. You can use a CronJob to run the same Job multiple times according a schedule.In the wider Kubernetes ecosystem, you can find third-party workload resources that provide additional behaviors. Using a custom resource definition, you can add in a third-party workload resource if you want a specific behavior that's not part of Kubernetes' core. For example, if you wanted to run a group of Pods for your application but stop work unless all the Pods are available (perhaps for some high-throughput distributed task), then you can implement or install an extension that does pro",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/",
    "id": "k8s_00518_qa_9801"
  },
  {
    "question": "What are the benefits of Workloads?",
    "answer": "WorkloadsUnderstand Pods, the smallest deployable compute object in Kubernetes, and the higher-level abstractions that help you to run them.A workload is an application running on Kubernetes. Whether your workload is a single component or several that work together, on Kubernetes you run it inside a set of pods. In Kubernetes, a Pod represents a set of running containers on your cluster.Kubernetes pods have a defined lifecycle. For example, once a pod is running in your cluster then a critical fault on the node where that pod is running means that all the pods on that node fail. Kubernetes treats that level of failure as final: you would need to create a new Pod to recover, even if the node later becomes healthy.However, to make life considerably easier, you don't need to manage each Pod directly. Instead, you can use workload resources that manage a set of pods on your behalf. These resources configure controllers that make sure the right number of the right kind of pod are running, to match the state you specified.Kubernetes provides several built-in workload resources:Deployment and ReplicaSet (replacing the legacy resource ReplicationController). Deployment is a good fit for managing a stateless application workload on your cluster, where any Pod in the Deployment is interchangeable and can be replaced if needed.StatefulSet lets you run one or more related Pods that do track state somehow. For example, if your workload records data persistently, you can run a StatefulSet that matches each Pod with a PersistentVolume. Your code, running in the Pods for that StatefulSet, can replicate data to other Pods in the same StatefulSet to improve overall resilience.DaemonSet defines Pods that provide facilities that are local to nodes. Every time you add a node to your cluster that matches the specification in a DaemonSet, the control plane schedules a Pod for that DaemonSet onto the new node. Each pod in a DaemonSet performs a job similar to a system daemon on a classic Unix / POSIX server. A DaemonSet might be fundamental to the operation of your cluster, such as a plugin to run cluster networking, it might help you to manage the node, or it could provide optional behavior that enhances the container platform you are running.Job and CronJob provide different ways to define tasks that run to completion and then stop. You can use a Job to define a task that runs to completion, just once. You can use a CronJob to run the same Job multiple times according a schedule.In the wider Kubernetes ecosystem, you can find third-party workload resources that provide additional behaviors. Using a custom resource definition, you can add in a third-party workload resource if you want a specific behavior that's not part of Kubernetes' core. For example, if you wanted to run a group of Pods for your application but stop work unless all the Pods are available (perhaps for some high-throughput distributed task), then you can implement or install an extension that does pro",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/",
    "id": "k8s_00518_qa_9802"
  },
  {
    "question": "What is Workloads?",
    "answer": "A   w o r k l o a d   i s   a n   a p p l i c a t i o n   r u n n i n g   o n   K u b e r n e t e s .   W h e t h e r   y o u r   w o r k l o a d   i s   a   s i n g l e   c o m p o n e n t   o r   s e v e r a l   t h a t   w o r k   t o g e t h e r ,   o n   K u b e r n e t e s   y o u   r u n   i t   i n s i d e   a   s e t   o f   p o d s .   I n   K u b e r n e t e s ,   a   P o d   r e p r e s e n t s   a   s e t   o f   r u n n i n g   c o n t a i n e r s   o n   y o u r   c l u s t e r .   K u b e r n e t e s   p o d s   h a v e   a   d e f i n e d   l i f e c y c l e .   F o r   e x a m p l e ,   o n c e   a   p o d   i s   r u n n i n g   i n   y o u r   c l u s t e r   t h e n   a   c r i t i c a l   f a u l t   o n   t h e   n o d e   w h e r e   t h a t   p o d   i s   r u n n i n g   m e a n s   t h a t   a l l   t h e   p o d s   o n   t h a t   n o d e   f a i l .   K u b e r n e t e s   t r e a t s   t h a t   l e v e l   o f   f a i l u r e   a s   f i n a l :   y o u   w o u l d   n e e d   t o   c r e a t e   a   n e w   P o d   t o   r e c o v e r ,   e v e n   i f   t h e   n o d e   l a t e r   b e c o m e s   h e a l t h y .   H o w e v e r ,   t o   m a k e   l i f e   c o n s i d e r a b l y   e a s i e r ,   y o u   d o n ' t   n e e d   t o   m a n a g e   e a c h   P o d   d i r e c t l y .   I n s t e a d ,   y o u   c a n   u s e   w o r k l o a d   r e s o u r c e s   t h a t   m a n a g e   a   s e t   o f   p o d s   o n   y o u r   b e h a l f .   T h e s e   r e s o u r c e s   c o n f i g u r e   c o n t r o l l e r s   t h a t   m a k e   s u r e   t h e   r i g h t   n u m b e r   o f   t h e   r i g h t   k i n d   o f   p o d   a r e   r u n n i n g ,   t o   m a t c h   t h e   s t a t e   y o u   s p e c i f i e d .   K u b e r n e t e s   p r o v i d e s   s e v e r a l   b u i l t - i n   w o r k l o a d   r e s o u r c e s :   D e p l o y m e n t   a n d   R e p l i c a S e t   ( r e p l a c i n g   t h e   l e g a c y   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/",
    "id": "k8s_00518_section_1_9803"
  },
  {
    "question": "What is What's next?",
    "answer": "A s   w e l l   a s   r e a d i n g   a b o u t   e a c h   A P I   k i n d   f o r   w o r k l o a d   m a n a g e m e n t ,   y o u   c a n   r e a d   h o w   t o   d o   s p e c i f i c   t a s k s :   R u n   a   s t a t e l e s s   a p p l i c a t i o n   u s i n g   a   D e p l o y m e n t R u n   a   s t a t e f u l   a p p l i c a t i o n   e i t h e r   a s   a   s i n g l e   i n s t a n c e   o r   a s   a   r e p l i c a t e d   s e t R u n   a u t o m a t e d   t a s k s   w i t h   a   C r o n J o b   T o   l e a r n   a b o u t   K u b e r n e t e s '   m e c h a n i s m s   f o r   s e p a r a t i n g   c o d e   f r o m   c o n f i g u r a t i o n ,   v i s i t   C o n f i g u r a t i o n .   T h e r e   a r e   t w o   s u p p o r t i n g   c o n c e p t s   t h a t   p r o v i d e   b a c k g r o u n d s   a b o u t   h o w   K u b e r n e t e s   m a n a g e s   p o d s   f o r   a p p l i c a t i o n s :   G a r b a g e   c o l l e c t i o n   t i d i e s   u p   o b j e c t s   f r o m   y o u r   c l u s t e r   a f t e r   t h e i r   o w n i n g   r e s o u r c e   h a s   b e e n   r e m o v e d . T h e   t i m e - t o - l i v e   a f t e r   f i n i s h e d   c o n t r o l l e r   r e m o v e s   J o b s   o n c e   a   d e f i n e d   t i m e   h a s   p a s s e d   s i n c e   t h e y   c o m p l e t e d .   O n c e   y o u r   a p p l i c a t i o n   i s   r u n n i n g ,   y o u   m i g h t   w a n t   t o   m a k e   i t   a v a i l a b l e   o n   t h e   i n t e r n e t   a s   a   S e r v i c e   o r ,   f o r   w e b   a p p l i c a t i o n   o n l y ,   u s i n g   a n   I n g r e s s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/",
    "id": "k8s_00518_section_2_9804"
  },
  {
    "question": "What is kubectl certificate deny?",
    "answer": "kubectl certificate denySynopsisDeny a certificate signing request.kubectl certificate deny allows a cluster admin to deny a certificate signing request (CSR). This action tells a certificate signing controller to not to issue a certificate to the requester.kubectl certificate deny (-f FILENAME | NAME) Examples # Deny CSR 'csr-sqgzp' kubectl certificate deny csr-sqgzp Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-f, --filename stringsFilename, directory, or URL to files identifying the resource to update--forceUpdate the CSR even if it is already denied.-h, --helphelp for deny-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the f",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate/kubectl_certificate_deny/",
    "id": "k8s_00519_qa_9805"
  },
  {
    "question": "How does kubectl certificate deny work?",
    "answer": "kubectl certificate denySynopsisDeny a certificate signing request.kubectl certificate deny allows a cluster admin to deny a certificate signing request (CSR). This action tells a certificate signing controller to not to issue a certificate to the requester.kubectl certificate deny (-f FILENAME | NAME) Examples # Deny CSR 'csr-sqgzp' kubectl certificate deny csr-sqgzp Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-f, --filename stringsFilename, directory, or URL to files identifying the resource to update--forceUpdate the CSR even if it is already denied.-h, --helphelp for deny-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the f",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate/kubectl_certificate_deny/",
    "id": "k8s_00519_qa_9806"
  },
  {
    "question": "When would you use kubectl certificate deny?",
    "answer": "kubectl certificate denySynopsisDeny a certificate signing request.kubectl certificate deny allows a cluster admin to deny a certificate signing request (CSR). This action tells a certificate signing controller to not to issue a certificate to the requester.kubectl certificate deny (-f FILENAME | NAME) Examples # Deny CSR 'csr-sqgzp' kubectl certificate deny csr-sqgzp Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-f, --filename stringsFilename, directory, or URL to files identifying the resource to update--forceUpdate the CSR even if it is already denied.-h, --helphelp for deny-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the f",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate/kubectl_certificate_deny/",
    "id": "k8s_00519_qa_9807"
  },
  {
    "question": "What are the benefits of kubectl certificate deny?",
    "answer": "kubectl certificate denySynopsisDeny a certificate signing request.kubectl certificate deny allows a cluster admin to deny a certificate signing request (CSR). This action tells a certificate signing controller to not to issue a certificate to the requester.kubectl certificate deny (-f FILENAME | NAME) Examples # Deny CSR 'csr-sqgzp' kubectl certificate deny csr-sqgzp Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-f, --filename stringsFilename, directory, or URL to files identifying the resource to update--forceUpdate the CSR even if it is already denied.-h, --helphelp for deny-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the f",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate/kubectl_certificate_deny/",
    "id": "k8s_00519_qa_9808"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D e n y   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t .   k u b e c t l   c e r t i f i c a t e   d e n y   a l l o w s   a   c l u s t e r   a d m i n   t o   d e n y   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t   ( C S R ) .   T h i s   a c t i o n   t e l l s   a   c e r t i f i c a t e   s i g n i n g   c o n t r o l l e r   t o   n o t   t o   i s s u e   a   c e r t i f i c a t e   t o   t h e   r e q u e s t e r .   k u b e c t l   c e r t i f i c a t e   d e n y   ( - f   F I L E N A M E   |   N A M E )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate/kubectl_certificate_deny/",
    "id": "k8s_00519_section_2_9809"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D e n y   C S R   ' c s r - s q g z p '   k u b e c t l   c e r t i f i c a t e   d e n y   c s r - s q g z p",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate/kubectl_certificate_deny/",
    "id": "k8s_00519_section_2_9810"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   u p d a t e   U p d a t e   t h e   C S R   e v e n   i f   i t   i s   a l r e a d y   d e n i e d .   h e l p   f o r   d e n y   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t e x t / t e m p l a t e / # p k g - o v e r v i e w ] .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate/kubectl_certificate_deny/",
    "id": "k8s_00519_section_2_9811"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate/kubectl_certificate_deny/",
    "id": "k8s_00519_section_2_9812"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c e r t i f i c a t e   -   M o d i f y   c e r t i f i c a t e   r e s o u r c e s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate/kubectl_certificate_deny/",
    "id": "k8s_00519_section_2_9813"
  },
  {
    "question": "What is Service Resources?",
    "answer": "Service ResourcesServiceService is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.EndpointsEndpoints is a collection of endpoints that implement the actual service.EndpointSliceEndpointSlice represents a set of service endpoints.IngressIngress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend.IngressClassIngressClass represents the class of the Ingress, referenced by the Ingress Spec.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/",
    "id": "k8s_00520_qa_9814"
  },
  {
    "question": "How does Service Resources work?",
    "answer": "Service ResourcesServiceService is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.EndpointsEndpoints is a collection of endpoints that implement the actual service.EndpointSliceEndpointSlice represents a set of service endpoints.IngressIngress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend.IngressClassIngressClass represents the class of the Ingress, referenced by the Ingress Spec.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/",
    "id": "k8s_00520_qa_9815"
  },
  {
    "question": "When would you use Service Resources?",
    "answer": "Service ResourcesServiceService is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.EndpointsEndpoints is a collection of endpoints that implement the actual service.EndpointSliceEndpointSlice represents a set of service endpoints.IngressIngress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend.IngressClassIngressClass represents the class of the Ingress, referenced by the Ingress Spec.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/",
    "id": "k8s_00520_qa_9816"
  },
  {
    "question": "What are the benefits of Service Resources?",
    "answer": "Service ResourcesServiceService is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.EndpointsEndpoints is a collection of endpoints that implement the actual service.EndpointSliceEndpointSlice represents a set of service endpoints.IngressIngress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend.IngressClassIngressClass represents the class of the Ingress, referenced by the Ingress Spec.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/",
    "id": "k8s_00520_qa_9817"
  },
  {
    "question": "What is Service?",
    "answer": "S e r v i c e   i s   a   n a m e d   a b s t r a c t i o n   o f   s o f t w a r e   s e r v i c e   ( f o r   e x a m p l e ,   m y s q l )   c o n s i s t i n g   o f   l o c a l   p o r t   ( f o r   e x a m p l e   3 3 0 6 )   t h a t   t h e   p r o x y   l i s t e n s   o n ,   a n d   t h e   s e l e c t o r   t h a t   d e t e r m i n e s   w h i c h   p o d s   w i l l   a n s w e r   r e q u e s t s   s e n t   t h r o u g h   t h e   p r o x y .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/",
    "id": "k8s_00520_section_5_9818"
  },
  {
    "question": "What is Endpoints?",
    "answer": "E n d p o i n t s   i s   a   c o l l e c t i o n   o f   e n d p o i n t s   t h a t   i m p l e m e n t   t h e   a c t u a l   s e r v i c e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/",
    "id": "k8s_00520_section_5_9819"
  },
  {
    "question": "What is EndpointSlice?",
    "answer": "E n d p o i n t S l i c e   r e p r e s e n t s   a   s e t   o f   s e r v i c e   e n d p o i n t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/",
    "id": "k8s_00520_section_5_9820"
  },
  {
    "question": "What is Ingress?",
    "answer": "I n g r e s s   i s   a   c o l l e c t i o n   o f   r u l e s   t h a t   a l l o w   i n b o u n d   c o n n e c t i o n s   t o   r e a c h   t h e   e n d p o i n t s   d e f i n e d   b y   a   b a c k e n d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/",
    "id": "k8s_00520_section_5_9821"
  },
  {
    "question": "What is IngressClass?",
    "answer": "I n g r e s s C l a s s   r e p r e s e n t s   t h e   c l a s s   o f   t h e   I n g r e s s ,   r e f e r e n c e d   b y   t h e   I n g r e s s   S p e c .   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/",
    "id": "k8s_00520_section_5_9822"
  },
  {
    "question": "What is Validating Admission Policy?",
    "answer": "Validating Admission PolicyFEATURE STATE: Kubernetes v1.30 [stable]This page provides an overview of Validating Admission Policy.What is Validating Admission Policy?Validating admission policies offer a declarative, in-process alternative to validating admission webhooks.Validating admission policies use the Common Expression Language (CEL) to declare the validation rules of a policy. Validation admission policies are highly configurable, enabling policy authors to define policies that can be parameterized and scoped to resources as needed by cluster administrators.What Resources Make a PolicyA policy is generally made up of three resources:The ValidatingAdmissionPolicy describes the abstract logic of a policy (think: \"this policy makes sure a particular label is set to a particular value\").A parameter resource provides information to a ValidatingAdmissionPolicy to make it a concrete statement (think \"the owner label must be set to something that ends in .company.com\"). A native type such as ConfigMap or a CRD defines the schema of a parameter resource. ValidatingAdmissionPolicy objects specify what Kind they are expecting for their parameter resource.A ValidatingAdmissionPolicyBinding links the above resources together and provides scoping. If you only want to require an owner label to be set for Pods, the binding is where you would specify this restriction.At least a ValidatingAdmissionPolicy and a corresponding ValidatingAdmissionPolicyBinding must be defined for a policy to have an effect.If a ValidatingAdmissionPolicy does not need to be configured via parameters, simply leave spec.paramKind in ValidatingAdmissionPolicy not specified.Getting Started with Validating Admission PolicyValidating Admission Policy is part of the cluster control-plane. You should write and deploy them with great caution. The following describes how to quickly experiment with Validating Admission Policy.Creating a ValidatingAdmissionPolicyThe following is an example of a ValidatingAdmissionPolicy.validatingadmissionpolicy/basic-example-policy.yaml apiVersion: admissionregistration.k8s.io/v1 kind: ValidatingAdmissionPolicy metadata: name: \"demo-policy.example.com\" spec: failurePolicy: Fail matchConstraints: resourceRules: - apiGroups: [\"apps\"] apiVersions: [\"v1\"] operations: [\"CREATE\", \"UPDATE\"] resources: [\"deployments\"] validations: - expression: \"object.spec.replicas <= 5\"spec.validations contains CEL expressions which use the Common Expression Language (CEL) to validate the request. If an expression evaluates to false, the validation check is enforced according to the spec.failurePolicy field.Note:You can quickly test CEL expressions in CEL Playground.To configure a validating admission policy for use in a cluster, a binding is required. The following is an example of a ValidatingAdmissionPolicyBinding.:validatingadmissionpolicy/basic-example-binding.yaml apiVersion: admissionregistration.k8s.io/v1 kind: ValidatingAdmissionPolicyBinding metadata: name: \"demo-bind",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_qa_9823"
  },
  {
    "question": "How does Validating Admission Policy work?",
    "answer": "Validating Admission PolicyFEATURE STATE: Kubernetes v1.30 [stable]This page provides an overview of Validating Admission Policy.What is Validating Admission Policy?Validating admission policies offer a declarative, in-process alternative to validating admission webhooks.Validating admission policies use the Common Expression Language (CEL) to declare the validation rules of a policy. Validation admission policies are highly configurable, enabling policy authors to define policies that can be parameterized and scoped to resources as needed by cluster administrators.What Resources Make a PolicyA policy is generally made up of three resources:The ValidatingAdmissionPolicy describes the abstract logic of a policy (think: \"this policy makes sure a particular label is set to a particular value\").A parameter resource provides information to a ValidatingAdmissionPolicy to make it a concrete statement (think \"the owner label must be set to something that ends in .company.com\"). A native type such as ConfigMap or a CRD defines the schema of a parameter resource. ValidatingAdmissionPolicy objects specify what Kind they are expecting for their parameter resource.A ValidatingAdmissionPolicyBinding links the above resources together and provides scoping. If you only want to require an owner label to be set for Pods, the binding is where you would specify this restriction.At least a ValidatingAdmissionPolicy and a corresponding ValidatingAdmissionPolicyBinding must be defined for a policy to have an effect.If a ValidatingAdmissionPolicy does not need to be configured via parameters, simply leave spec.paramKind in ValidatingAdmissionPolicy not specified.Getting Started with Validating Admission PolicyValidating Admission Policy is part of the cluster control-plane. You should write and deploy them with great caution. The following describes how to quickly experiment with Validating Admission Policy.Creating a ValidatingAdmissionPolicyThe following is an example of a ValidatingAdmissionPolicy.validatingadmissionpolicy/basic-example-policy.yaml apiVersion: admissionregistration.k8s.io/v1 kind: ValidatingAdmissionPolicy metadata: name: \"demo-policy.example.com\" spec: failurePolicy: Fail matchConstraints: resourceRules: - apiGroups: [\"apps\"] apiVersions: [\"v1\"] operations: [\"CREATE\", \"UPDATE\"] resources: [\"deployments\"] validations: - expression: \"object.spec.replicas <= 5\"spec.validations contains CEL expressions which use the Common Expression Language (CEL) to validate the request. If an expression evaluates to false, the validation check is enforced according to the spec.failurePolicy field.Note:You can quickly test CEL expressions in CEL Playground.To configure a validating admission policy for use in a cluster, a binding is required. The following is an example of a ValidatingAdmissionPolicyBinding.:validatingadmissionpolicy/basic-example-binding.yaml apiVersion: admissionregistration.k8s.io/v1 kind: ValidatingAdmissionPolicyBinding metadata: name: \"demo-bind",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_qa_9824"
  },
  {
    "question": "When would you use Validating Admission Policy?",
    "answer": "Validating Admission PolicyFEATURE STATE: Kubernetes v1.30 [stable]This page provides an overview of Validating Admission Policy.What is Validating Admission Policy?Validating admission policies offer a declarative, in-process alternative to validating admission webhooks.Validating admission policies use the Common Expression Language (CEL) to declare the validation rules of a policy. Validation admission policies are highly configurable, enabling policy authors to define policies that can be parameterized and scoped to resources as needed by cluster administrators.What Resources Make a PolicyA policy is generally made up of three resources:The ValidatingAdmissionPolicy describes the abstract logic of a policy (think: \"this policy makes sure a particular label is set to a particular value\").A parameter resource provides information to a ValidatingAdmissionPolicy to make it a concrete statement (think \"the owner label must be set to something that ends in .company.com\"). A native type such as ConfigMap or a CRD defines the schema of a parameter resource. ValidatingAdmissionPolicy objects specify what Kind they are expecting for their parameter resource.A ValidatingAdmissionPolicyBinding links the above resources together and provides scoping. If you only want to require an owner label to be set for Pods, the binding is where you would specify this restriction.At least a ValidatingAdmissionPolicy and a corresponding ValidatingAdmissionPolicyBinding must be defined for a policy to have an effect.If a ValidatingAdmissionPolicy does not need to be configured via parameters, simply leave spec.paramKind in ValidatingAdmissionPolicy not specified.Getting Started with Validating Admission PolicyValidating Admission Policy is part of the cluster control-plane. You should write and deploy them with great caution. The following describes how to quickly experiment with Validating Admission Policy.Creating a ValidatingAdmissionPolicyThe following is an example of a ValidatingAdmissionPolicy.validatingadmissionpolicy/basic-example-policy.yaml apiVersion: admissionregistration.k8s.io/v1 kind: ValidatingAdmissionPolicy metadata: name: \"demo-policy.example.com\" spec: failurePolicy: Fail matchConstraints: resourceRules: - apiGroups: [\"apps\"] apiVersions: [\"v1\"] operations: [\"CREATE\", \"UPDATE\"] resources: [\"deployments\"] validations: - expression: \"object.spec.replicas <= 5\"spec.validations contains CEL expressions which use the Common Expression Language (CEL) to validate the request. If an expression evaluates to false, the validation check is enforced according to the spec.failurePolicy field.Note:You can quickly test CEL expressions in CEL Playground.To configure a validating admission policy for use in a cluster, a binding is required. The following is an example of a ValidatingAdmissionPolicyBinding.:validatingadmissionpolicy/basic-example-binding.yaml apiVersion: admissionregistration.k8s.io/v1 kind: ValidatingAdmissionPolicyBinding metadata: name: \"demo-bind",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_qa_9825"
  },
  {
    "question": "What are the benefits of Validating Admission Policy?",
    "answer": "Validating Admission PolicyFEATURE STATE: Kubernetes v1.30 [stable]This page provides an overview of Validating Admission Policy.What is Validating Admission Policy?Validating admission policies offer a declarative, in-process alternative to validating admission webhooks.Validating admission policies use the Common Expression Language (CEL) to declare the validation rules of a policy. Validation admission policies are highly configurable, enabling policy authors to define policies that can be parameterized and scoped to resources as needed by cluster administrators.What Resources Make a PolicyA policy is generally made up of three resources:The ValidatingAdmissionPolicy describes the abstract logic of a policy (think: \"this policy makes sure a particular label is set to a particular value\").A parameter resource provides information to a ValidatingAdmissionPolicy to make it a concrete statement (think \"the owner label must be set to something that ends in .company.com\"). A native type such as ConfigMap or a CRD defines the schema of a parameter resource. ValidatingAdmissionPolicy objects specify what Kind they are expecting for their parameter resource.A ValidatingAdmissionPolicyBinding links the above resources together and provides scoping. If you only want to require an owner label to be set for Pods, the binding is where you would specify this restriction.At least a ValidatingAdmissionPolicy and a corresponding ValidatingAdmissionPolicyBinding must be defined for a policy to have an effect.If a ValidatingAdmissionPolicy does not need to be configured via parameters, simply leave spec.paramKind in ValidatingAdmissionPolicy not specified.Getting Started with Validating Admission PolicyValidating Admission Policy is part of the cluster control-plane. You should write and deploy them with great caution. The following describes how to quickly experiment with Validating Admission Policy.Creating a ValidatingAdmissionPolicyThe following is an example of a ValidatingAdmissionPolicy.validatingadmissionpolicy/basic-example-policy.yaml apiVersion: admissionregistration.k8s.io/v1 kind: ValidatingAdmissionPolicy metadata: name: \"demo-policy.example.com\" spec: failurePolicy: Fail matchConstraints: resourceRules: - apiGroups: [\"apps\"] apiVersions: [\"v1\"] operations: [\"CREATE\", \"UPDATE\"] resources: [\"deployments\"] validations: - expression: \"object.spec.replicas <= 5\"spec.validations contains CEL expressions which use the Common Expression Language (CEL) to validate the request. If an expression evaluates to false, the validation check is enforced according to the spec.failurePolicy field.Note:You can quickly test CEL expressions in CEL Playground.To configure a validating admission policy for use in a cluster, a binding is required. The following is an example of a ValidatingAdmissionPolicyBinding.:validatingadmissionpolicy/basic-example-binding.yaml apiVersion: admissionregistration.k8s.io/v1 kind: ValidatingAdmissionPolicyBinding metadata: name: \"demo-bind",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_qa_9826"
  },
  {
    "question": "What is Validating Admission Policy?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   o f   V a l i d a t i n g   A d m i s s i o n   P o l i c y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_section_1_9827"
  },
  {
    "question": "What is What is Validating Admission Policy??",
    "answer": "V a l i d a t i n g   a d m i s s i o n   p o l i c i e s   o f f e r   a   d e c l a r a t i v e ,   i n - p r o c e s s   a l t e r n a t i v e   t o   v a l i d a t i n g   a d m i s s i o n   w e b h o o k s .   V a l i d a t i n g   a d m i s s i o n   p o l i c i e s   u s e   t h e   C o m m o n   E x p r e s s i o n   L a n g u a g e   ( C E L )   t o   d e c l a r e   t h e   v a l i d a t i o n   r u l e s   o f   a   p o l i c y .   V a l i d a t i o n   a d m i s s i o n   p o l i c i e s   a r e   h i g h l y   c o n f i g u r a b l e ,   e n a b l i n g   p o l i c y   a u t h o r s   t o   d e f i n e   p o l i c i e s   t h a t   c a n   b e   p a r a m e t e r i z e d   a n d   s c o p e d   t o   r e s o u r c e s   a s   n e e d e d   b y   c l u s t e r   a d m i n i s t r a t o r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_section_2_9828"
  },
  {
    "question": "What is What Resources Make a Policy?",
    "answer": "A   p o l i c y   i s   g e n e r a l l y   m a d e   u p   o f   t h r e e   r e s o u r c e s :   T h e   V a l i d a t i n g A d m i s s i o n P o l i c y   d e s c r i b e s   t h e   a b s t r a c t   l o g i c   o f   a   p o l i c y   ( t h i n k :   \" t h i s   p o l i c y   m a k e s   s u r e   a   p a r t i c u l a r   l a b e l   i s   s e t   t o   a   p a r t i c u l a r   v a l u e \" ) . A   p a r a m e t e r   r e s o u r c e   p r o v i d e s   i n f o r m a t i o n   t o   a   V a l i d a t i n g A d m i s s i o n P o l i c y   t o   m a k e   i t   a   c o n c r e t e   s t a t e m e n t   ( t h i n k   \" t h e   o w n e r   l a b e l   m u s t   b e   s e t   t o   s o m e t h i n g   t h a t   e n d s   i n   . c o m p a n y . c o m \" ) .   A   n a t i v e   t y p e   s u c h   a s   C o n f i g M a p   o r   a   C R D   d e f i n e s   t h e   s c h e m a   o f   a   p a r a m e t e r   r e s o u r c e .   V a l i d a t i n g A d m i s s i o n P o l i c y   o b j e c t s   s p e c i f y   w h a t   K i n d   t h e y   a r e   e x p e c t i n g   f o r   t h e i r   p a r a m e t e r   r e s o u r c e . A   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   l i n k s   t h e   a b o v e   r e s o u r c e s   t o g e t h e r   a n d   p r o v i d e s   s c o p i n g .   I f   y o u   o n l y   w a n t   t o   r e q u i r e   a n   o w n e r   l a b e l   t o   b e   s e t   f o r   P o d s ,   t h e   b i n d i n g   i s   w h e r e   y o u   w o u l d   s p e c i f y   t h i s   r e s t r i c t i o n .   T h e   V a l i d a t i n g A d m i s s i o n P o l i c y   d e s c r i b e s   t h e   a b s t r a c t   l o g i c   o f   a   p o l i c y   ( t h i n k :   \" t h i s   p o l i c y   m a k e s   s u r e   a   p a r t i c u l a r   l a b e l   i s   s e t   t o   a   p a r t i c u l a r   v a l u e \" ) .   A   p a r a m e t e r   r e s o u r c e   p r o v i d e s   i n f o r m a t i o n   t o   a   V a l i d a t i n g A d m i s s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_section_2_9829"
  },
  {
    "question": "What is Getting Started with Validating Admission Policy?",
    "answer": "V a l i d a t i n g   A d m i s s i o n   P o l i c y   i s   p a r t   o f   t h e   c l u s t e r   c o n t r o l - p l a n e .   Y o u   s h o u l d   w r i t e   a n d   d e p l o y   t h e m   w i t h   g r e a t   c a u t i o n .   T h e   f o l l o w i n g   d e s c r i b e s   h o w   t o   q u i c k l y   e x p e r i m e n t   w i t h   V a l i d a t i n g   A d m i s s i o n   P o l i c y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_section_2_9830"
  },
  {
    "question": "What is Creating a ValidatingAdmissionPolicy?",
    "answer": "T h e   f o l l o w i n g   i s   a n   e x a m p l e   o f   a   V a l i d a t i n g A d m i s s i o n P o l i c y .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y   m e t a d a t a :   n a m e :   \" d e m o - p o l i c y . e x a m p l e . c o m \"   s p e c :   f a i l u r e P o l i c y :   F a i l   m a t c h C o n s t r a i n t s :   r e s o u r c e R u l e s :   -   a p i G r o u p s :   [ \" a p p s \" ]   a p i V e r s i o n s :   [ \" v 1 \" ]   o p e r a t i o n s :   [ \" C R E A T E \" ,   \" U P D A T E \" ]   r e s o u r c e s :   [ \" d e p l o y m e n t s \" ]   v a l i d a t i o n s :   -   e x p r e s s i o n :   \" o b j e c t . s p e c . r e p l i c a s   < =   5 \"   s p e c . v a l i d a t i o n s   c o n t a i n s   C E L   e x p r e s s i o n s   w h i c h   u s e   t h e   C o m m o n   E x p r e s s i o n   L a n g u a g e   ( C E L )   t o   v a l i d a t e   t h e   r e q u e s t .   I f   a n   e x p r e s s i o n   e v a l u a t e s   t o   f a l s e ,   t h e   v a l i d a t i o n   c h e c k   i s   e n f o r c e d   a c c o r d i n g   t o   t h e   s p e c . f a i l u r e P o l i c y   f i e l d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_section_3_9831"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   c o n f i g u r e   a   v a l i d a t i n g   a d m i s s i o n   p o l i c y   f o r   u s e   i n   a   c l u s t e r ,   a   b i n d i n g   i s   r e q u i r e d .   T h e   f o l l o w i n g   i s   a n   e x a m p l e   o f   a   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g . :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   m e t a d a t a :   n a m e :   \" d e m o - b i n d i n g - t e s t . e x a m p l e . c o m \"   s p e c :   p o l i c y N a m e :   \" d e m o - p o l i c y . e x a m p l e . c o m \"   v a l i d a t i o n A c t i o n s :   [ D e n y ]   m a t c h R e s o u r c e s :   n a m e s p a c e S e l e c t o r :   m a t c h L a b e l s :   e n v i r o n m e n t :   t e s t   W h e n   t r y i n g   t o   c r e a t e   a   d e p l o y m e n t   w i t h   r e p l i c a s   s e t   n o t   s a t i s f y i n g   t h e   v a l i d a t i o n   e x p r e s s i o n ,   a n   e r r o r   w i l l   r e t u r n   c o n t a i n i n g   m e s s a g e :   V a l i d a t i n g A d m i s s i o n P o l i c y   ' d e m o - p o l i c y . e x a m p l e . c o m '   w i t h   b i n d i n g   ' d e m o - b i n d i n g - t e s t . e x a m p l e . c o m '   d e n i e d   r e q u e s t :   f a i l e d   e x p r e s s i o n :   o b j e c t . s p e c . r e p l i c a s   < =   5   T h e   a b o v e   p r o v i d e s   a   s i m p l e   e x a m p l e   o f   u s i n g   V a l i d a t i n g A d m i s s i o n P o l i c y   w i t h o u t   a   p a r a m e t e r   c o n f i g u r e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_section_4_9832"
  },
  {
    "question": "What is Validation actions?",
    "answer": "E a c h   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   m u s t   s p e c i f y   o n e   o r   m o r e   v a l i d a t i o n A c t i o n s   t o   d e c l a r e   h o w   v a l i d a t i o n s   o f   a   p o l i c y   a r e   e n f o r c e d .   T h e   s u p p o r t e d   v a l i d a t i o n A c t i o n s   a r e :   D e n y :   V a l i d a t i o n   f a i l u r e   r e s u l t s   i n   a   d e n i e d   r e q u e s t . W a r n :   V a l i d a t i o n   f a i l u r e   i s   r e p o r t e d   t o   t h e   r e q u e s t   c l i e n t   a s   a   w a r n i n g . A u d i t :   V a l i d a t i o n   f a i l u r e   i s   i n c l u d e d   i n   t h e   a u d i t   e v e n t   f o r   t h e   A P I   r e q u e s t .   F o r   e x a m p l e ,   t o   b o t h   w a r n   c l i e n t s   a b o u t   a   v a l i d a t i o n   f a i l u r e   a n d   t o   a u d i t   t h e   v a l i d a t i o n   f a i l u r e s ,   u s e :   v a l i d a t i o n A c t i o n s :   [ W a r n ,   A u d i t ]   D e n y   a n d   W a r n   m a y   n o t   b e   u s e d   t o g e t h e r   s i n c e   t h i s   c o m b i n a t i o n   n e e d l e s s l y   d u p l i c a t e s   t h e   v a l i d a t i o n   f a i l u r e   b o t h   i n   t h e   A P I   r e s p o n s e   b o d y   a n d   t h e   H T T P   w a r n i n g   h e a d e r s .   A   v a l i d a t i o n   t h a t   e v a l u a t e s   t o   f a l s e   i s   a l w a y s   e n f o r c e d   a c c o r d i n g   t o   t h e s e   a c t i o n s .   F a i l u r e s   d e f i n e d   b y   t h e   f a i l u r e P o l i c y   a r e   e n f o r c e d   a c c o r d i n g   t o   t h e s e   a c t i o n s   o n l y   i f   t h e   f a i l u r e P o l i c y   i s   s e t   t o   F a i l   ( o r   n o t   s p e c i f i e d ) ,   o t h e r w i s e   t h e   f a i l u r e s   a r e   i g n o r e d .   S e e   A u d i t   A n n o t a t i o n s :   v a l i d a t i o n   f a i l u r e s   f o r   m o r e   d e t a i l s   a b o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_section_4_9833"
  },
  {
    "question": "What is Parameter resources?",
    "answer": "P a r a m e t e r   r e s o u r c e s   a l l o w   a   p o l i c y   c o n f i g u r a t i o n   t o   b e   s e p a r a t e   f r o m   i t s   d e f i n i t i o n .   A   p o l i c y   c a n   d e f i n e   p a r a m K i n d ,   w h i c h   o u t l i n e s   G V K   o f   t h e   p a r a m e t e r   r e s o u r c e ,   a n d   t h e n   a   p o l i c y   b i n d i n g   t i e s   a   p o l i c y   b y   n a m e   ( v i a   p o l i c y N a m e )   t o   a   p a r t i c u l a r   p a r a m e t e r   r e s o u r c e   v i a   p a r a m R e f .   I f   p a r a m e t e r   c o n f i g u r a t i o n   i s   n e e d e d ,   t h e   f o l l o w i n g   i s   a n   e x a m p l e   o f   a   V a l i d a t i n g A d m i s s i o n P o l i c y   w i t h   p a r a m e t e r   c o n f i g u r a t i o n .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y   m e t a d a t a :   n a m e :   \" r e p l i c a l i m i t - p o l i c y . e x a m p l e . c o m \"   s p e c :   f a i l u r e P o l i c y :   F a i l   p a r a m K i n d :   a p i V e r s i o n :   r u l e s . e x a m p l e . c o m / v 1   k i n d :   R e p l i c a L i m i t   m a t c h C o n s t r a i n t s :   r e s o u r c e R u l e s :   -   a p i G r o u p s :   [ \" a p p s \" ]   a p i V e r s i o n s :   [ \" v 1 \" ]   o p e r a t i o n s :   [ \" C R E A T E \" ,   \" U P D A T E \" ]   r e s o u r c e s :   [ \" d e p l o y m e n t s \" ]   v a l i d a t i o n s :   -   e x p r e s s i o n :   \" o b j e c t . s p e c . r e p l i c a s   < =   p a r a m s . m a x R e p l i c a s \"   r e a s o n :   I n v a l i d   T h e   s p e c . p a r a m K i n d   f i e l d   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   s p e c i f i e s   t h e   k i n d   o f   r e s o u r c e s   u s e d   t o   p a r a m e t e r i z e   t h i s   p o l i c y .   F o r   t h i s   e x a m p l e ,   i t   i s   c o n f i g u r e d   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_section_3_9834"
  },
  {
    "question": "What is Optional parameters?",
    "answer": "I t   c a n   b e   c o n v e n i e n t   t o   b e   a b l e   t o   h a v e   o p t i o n a l   p a r a m e t e r s   a s   p a r t   o f   a   p a r a m e t e r   r e s o u r c e ,   a n d   o n l y   v a l i d a t e   t h e m   i f   p r e s e n t .   C E L   p r o v i d e s   h a s ( ) ,   w h i c h   c h e c k s   i f   t h e   k e y   p a s s e d   t o   i t   e x i s t s .   C E L   a l s o   i m p l e m e n t s   B o o l e a n   s h o r t - c i r c u i t i n g .   I f   t h e   f i r s t   h a l f   o f   a   l o g i c a l   O R   e v a l u a t e s   t o   t r u e ,   i t   w o n ’ t   e v a l u a t e   t h e   o t h e r   h a l f   ( s i n c e   t h e   r e s u l t   o f   t h e   e n t i r e   O R   w i l l   b e   t r u e   r e g a r d l e s s ) .   C o m b i n i n g   t h e   t w o ,   w e   c a n   p r o v i d e   a   w a y   t o   v a l i d a t e   o p t i o n a l   p a r a m e t e r s :   ! h a s ( p a r a m s . o p t i o n a l N u m b e r )   | |   ( p a r a m s . o p t i o n a l N u m b e r   > =   5   & &   p a r a m s . o p t i o n a l N u m b e r   < =   1 0 )   H e r e ,   w e   f i r s t   c h e c k   t h a t   t h e   o p t i o n a l   p a r a m e t e r   i s   p r e s e n t   w i t h   ! h a s ( p a r a m s . o p t i o n a l N u m b e r ) .   I f   o p t i o n a l N u m b e r   h a s n ’ t   b e e n   d e f i n e d ,   t h e n   t h e   e x p r e s s i o n   s h o r t - c i r c u i t s   s i n c e   ! h a s ( p a r a m s . o p t i o n a l N u m b e r )   w i l l   e v a l u a t e   t o   t r u e . I f   o p t i o n a l N u m b e r   h a s   b e e n   d e f i n e d ,   t h e n   t h e   l a t t e r   h a l f   o f   t h e   C E L   e x p r e s s i o n   w i l l   b e   e v a l u a t e d ,   a n d   o p t i o n a l N u m b e r   w i l l   b e   c h e c k e d   t o   e n s u r e   t h a t   i t   c o n t a i n s   a   v a l u e   b e t w e e n   5   a n d   1 0   i n c l u s i v e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_section_4_9835"
  },
  {
    "question": "What is Per-namespace Parameters?",
    "answer": "A s   t h e   a u t h o r   o f   a   V a l i d a t i n g A d m i s s i o n P o l i c y   a n d   i t s   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   y o u   c a n   c h o o s e   t o   s p e c i f y   c l u s t e r - w i d e ,   o r   p e r - n a m e s p a c e   p a r a m e t e r s .   I f   y o u   s p e c i f y   a   n a m e s p a c e   f o r   t h e   b i n d i n g ' s   p a r a m R e f ,   t h e   c o n t r o l   p l a n e   o n l y   s e a r c h e s   f o r   p a r a m e t e r s   i n   t h a t   n a m e s p a c e .   H o w e v e r ,   i f   n a m e s p a c e   i s   n o t   s p e c i f i e d   i n   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   t h e   A P I   s e r v e r   c a n   s e a r c h   f o r   r e l e v a n t   p a r a m e t e r s   i n   t h e   n a m e s p a c e   t h a t   a   r e q u e s t   i s   a g a i n s t .   F o r   e x a m p l e ,   i f   y o u   m a k e   a   r e q u e s t   t o   m o d i f y   a   C o n f i g M a p   i n   t h e   d e f a u l t   n a m e s p a c e   a n d   t h e r e   i s   a   r e l e v a n t   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   w i t h   n o   n a m e s p a c e   s e t ,   t h e n   t h e   A P I   s e r v e r   l o o k s   f o r   a   p a r a m e t e r   o b j e c t   i n   d e f a u l t .   T h i s   d e s i g n   e n a b l e s   p o l i c y   c o n f i g u r a t i o n   t h a t   d e p e n d s   o n   t h e   n a m e s p a c e   o f   t h e   r e s o u r c e   b e i n g   m a n i p u l a t e d ,   f o r   m o r e   f i n e - t u n e d   c o n t r o l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_section_4_9836"
  },
  {
    "question": "What is Parameter selector?",
    "answer": "I n   a d d i t i o n   t o   s p e c i f y   a   p a r a m e t e r   i n   a   b i n d i n g   b y   n a m e ,   y o u   m a y   c h o o s e   i n s t e a d   t o   s p e c i f y   l a b e l   s e l e c t o r ,   s u c h   t h a t   a l l   r e s o u r c e s   o f   t h e   p o l i c y ' s   p a r a m K i n d ,   a n d   t h e   p a r a m ' s   n a m e s p a c e   ( i f   a p p l i c a b l e )   t h a t   m a t c h   t h e   l a b e l   s e l e c t o r   a r e   s e l e c t e d   f o r   e v a l u a t i o n .   S e e   s e l e c t o r   f o r   m o r e   i n f o r m a t i o n   o n   h o w   l a b e l   s e l e c t o r s   m a t c h   r e s o u r c e s .   I f   m u l t i p l e   p a r a m e t e r s   a r e   f o u n d   t o   m e e t   t h e   c o n d i t i o n ,   t h e   p o l i c y ' s   r u l e s   a r e   e v a l u a t e d   f o r   e a c h   p a r a m e t e r   f o u n d   a n d   t h e   r e s u l t s   w i l l   b e   A N D e d   t o g e t h e r .   I f   n a m e s p a c e   i s   p r o v i d e d ,   o n l y   o b j e c t s   o f   t h e   p a r a m K i n d   i n   t h e   p r o v i d e d   n a m e s p a c e   a r e   e l i g i b l e   f o r   s e l e c t i o n .   O t h e r w i s e ,   w h e n   n a m e s p a c e   i s   e m p t y   a n d   p a r a m K i n d   i s   n a m e s p a c e - s c o p e d ,   t h e   n a m e s p a c e   u s e d   i n   t h e   r e q u e s t   b e i n g   a d m i t t e d   w i l l   b e   u s e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_section_4_9837"
  },
  {
    "question": "What is Authorization checks?",
    "answer": "W e   i n t r o d u c e d   t h e   a u t h o r i z a t i o n   c h e c k   f o r   p a r a m e t e r   r e s o u r c e s .   U s e r   i s   e x p e c t e d   t o   h a v e   r e a d   a c c e s s   t o   t h e   r e s o u r c e s   r e f e r e n c e d   b y   p a r a m K i n d   i n   V a l i d a t i n g A d m i s s i o n P o l i c y   a n d   p a r a m R e f   i n   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g .   N o t e   t h a t   i f   a   r e s o u r c e   i n   p a r a m K i n d   f a i l s   r e s o l v i n g   v i a   t h e   r e s t m a p p e r ,   r e a d   a c c e s s   t o   a l l   r e s o u r c e s   o f   g r o u p s   i s   r e q u i r e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_section_4_9838"
  },
  {
    "question": "What is paramRef?",
    "answer": "T h e   p a r a m R e f   f i e l d   s p e c i f i e s   t h e   p a r a m e t e r   r e s o u r c e   u s e d   b y   t h e   p o l i c y .   I t   h a s   t h e   f o l l o w i n g   f i e l d s :   n a m e :   T h e   n a m e   o f   t h e   p a r a m e t e r   r e s o u r c e . n a m e s p a c e :   T h e   n a m e s p a c e   o f   t h e   p a r a m e t e r   r e s o u r c e . s e l e c t o r :   A   l a b e l   s e l e c t o r   t o   m a t c h   m u l t i p l e   p a r a m e t e r   r e s o u r c e s . p a r a m e t e r N o t F o u n d A c t i o n :   ( R e q u i r e d )   C o n t r o l s   t h e   b e h a v i o r   w h e n   t h e   s p e c i f i e d   p a r a m e t e r s   a r e   n o t   f o u n d . A l l o w e d   V a l u e s : A l l o w :   T h e   a b s e n c e   o f   m a t c h e d   p a r a m e t e r s   i s   t r e a t e d   a s   a   s u c c e s s f u l   v a l i d a t i o n   b y   t h e   b i n d i n g . D e n y :   T h e   a b s e n c e   o f   m a t c h e d   p a r a m e t e r s   i s   s u b j e c t   t o   t h e   f a i l u r e P o l i c y   o f   t h e   p o l i c y .   n a m e :   T h e   n a m e   o f   t h e   p a r a m e t e r   r e s o u r c e .   n a m e s p a c e :   T h e   n a m e s p a c e   o f   t h e   p a r a m e t e r   r e s o u r c e .   s e l e c t o r :   A   l a b e l   s e l e c t o r   t o   m a t c h   m u l t i p l e   p a r a m e t e r   r e s o u r c e s .   p a r a m e t e r N o t F o u n d A c t i o n :   ( R e q u i r e d )   C o n t r o l s   t h e   b e h a v i o r   w h e n   t h e   s p e c i f i e d   p a r a m e t e r s   a r e   n o t   f o u n d .   A l l o w e d   V a l u e s : A l l o w :   T h e   a b s e n c e   o f   m a t c h e d   p a r a m e t e r s   i s   t r e a t e d   a s   a   s u c c e s s f u l   v a l i d a t i o n   b y   t h e   b i n d i n g . D e n y :   T h e   a b s e n c e   o f   m a t c h e d   p a r a m e t e r s   i s   s u b j e c t   t o   t h e   f a i l u r e P o l i c y   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_section_4_9839"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   p a r a m e t e r N o t F o u n d A c t i o n   f i e l d   i n   p a r a m R e f   i s   r e q u i r e d .   I t   s p e c i f i e s   t h e   a c t i o n   t o   t a k e   w h e n   n o   p a r a m e t e r s   a r e   f o u n d   m a t c h i n g   t h e   p a r a m R e f .   I f   n o t   s p e c i f i e d ,   t h e   p o l i c y   b i n d i n g   m a y   b e   c o n s i d e r e d   i n v a l i d   a n d   w i l l   b e   i g n o r e d   o r   c o u l d   l e a d   t o   u n e x p e c t e d   b e h a v i o r .   A l l o w :   I f   s e t   t o   A l l o w ,   a n d   n o   p a r a m e t e r s   a r e   f o u n d ,   t h e   b i n d i n g   t r e a t s   t h e   a b s e n c e   o f   p a r a m e t e r s   a s   a   s u c c e s s f u l   v a l i d a t i o n ,   a n d   t h e   p o l i c y   i s   c o n s i d e r e d   t o   h a v e   p a s s e d . D e n y :   I f   s e t   t o   D e n y ,   a n d   n o   p a r a m e t e r s   a r e   f o u n d ,   t h e   b i n d i n g   e n f o r c e s   t h e   f a i l u r e P o l i c y   o f   t h e   p o l i c y .   I f   t h e   f a i l u r e P o l i c y   i s   F a i l ,   t h e   r e q u e s t   i s   r e j e c t e d .   M a k e   s u r e   t o   s e t   p a r a m e t e r N o t F o u n d A c t i o n   a c c o r d i n g   t o   t h e   d e s i r e d   b e h a v i o r   w h e n   p a r a m e t e r s   a r e   m i s s i n g .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_section_4_9840"
  },
  {
    "question": "What is Handling Missing Parameters with parameterNotFoundAction?",
    "answer": "W h e n   u s i n g   p a r a m R e f   w i t h   a   s e l e c t o r ,   i t ' s   p o s s i b l e   t h a t   n o   p a r a m e t e r s   m a t c h   t h e   s e l e c t o r .   T h e   p a r a m e t e r N o t F o u n d A c t i o n   f i e l d   d e t e r m i n e s   h o w   t h e   b i n d i n g   b e h a v e s   i n   t h i s   s c e n a r i o .   E x a m p l e :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1   k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   m e t a d a t a :   n a m e :   e x a m p l e - b i n d i n g   s p e c :   p o l i c y N a m e :   e x a m p l e - p o l i c y   p a r a m R e f :   s e l e c t o r :   m a t c h L a b e l s :   e n v i r o n m e n t :   t e s t   p a r a m e t e r N o t F o u n d A c t i o n :   A l l o w   v a l i d a t i o n A c t i o n s :   -   D e n y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_section_4_9841"
  },
  {
    "question": "What is Failure Policy?",
    "answer": "f a i l u r e P o l i c y   d e f i n e s   h o w   m i s - c o n f i g u r a t i o n s   a n d   C E L   e x p r e s s i o n s   e v a l u a t i n g   t o   e r r o r   f r o m   t h e   a d m i s s i o n   p o l i c y   a r e   h a n d l e d .   A l l o w e d   v a l u e s   a r e   I g n o r e   o r   F a i l .   I g n o r e   m e a n s   t h a t   a n   e r r o r   c a l l i n g   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   i s   i g n o r e d   a n d   t h e   A P I   r e q u e s t   i s   a l l o w e d   t o   c o n t i n u e . F a i l   m e a n s   t h a t   a n   e r r o r   c a l l i n g   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   c a u s e s   t h e   a d m i s s i o n   t o   f a i l   a n d   t h e   A P I   r e q u e s t   t o   b e   r e j e c t e d .   N o t e   t h a t   t h e   f a i l u r e P o l i c y   i s   d e f i n e d   i n s i d e   V a l i d a t i n g A d m i s s i o n P o l i c y :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y   s p e c :   . . .   f a i l u r e P o l i c y :   I g n o r e   #   T h e   d e f a u l t   i s   \" F a i l \"   v a l i d a t i o n s :   -   e x p r e s s i o n :   \" o b j e c t . s p e c . x y z   = =   p a r a m s . x \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_section_3_9842"
  },
  {
    "question": "What is Validation Expression?",
    "answer": "s p e c . v a l i d a t i o n s [ i ] . e x p r e s s i o n   r e p r e s e n t s   t h e   e x p r e s s i o n   w h i c h   w i l l   b e   e v a l u a t e d   b y   C E L .   T o   l e a r n   m o r e ,   s e e   t h e   C E L   l a n g u a g e   s p e c i f i c a t i o n   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   t h e   A d m i s s i o n   r e q u e s t / r e s p o n s e ,   o r g a n i z e d   i n t o   C E L   v a r i a b l e s   a s   w e l l   a s   s o m e   o t h e r   u s e f u l   v a r i a b l e s :   ' o b j e c t '   -   T h e   o b j e c t   f r o m   t h e   i n c o m i n g   r e q u e s t .   T h e   v a l u e   i s   n u l l   f o r   D E L E T E   r e q u e s t s . ' o l d O b j e c t '   -   T h e   e x i s t i n g   o b j e c t .   T h e   v a l u e   i s   n u l l   f o r   C R E A T E   r e q u e s t s . ' r e q u e s t '   -   A t t r i b u t e s   o f   t h e   a d m i s s i o n   r e q u e s t . ' p a r a m s '   -   P a r a m e t e r   r e s o u r c e   r e f e r r e d   t o   b y   t h e   p o l i c y   b i n d i n g   b e i n g   e v a l u a t e d .   T h e   v a l u e   i s   n u l l   i f   P a r a m K i n d   i s   n o t   s p e c i f i e d . n a m e s p a c e O b j e c t   -   T h e   n a m e s p a c e ,   a s   a   K u b e r n e t e s   r e s o u r c e ,   t h a t   t h e   i n c o m i n g   o b j e c t   b e l o n g s   t o .   T h e   v a l u e   i s   n u l l   i f   t h e   i n c o m i n g   o b j e c t   i s   c l u s t e r - s c o p e d . a u t h o r i z e r   -   A   C E L   A u t h o r i z e r .   M a y   b e   u s e d   t o   p e r f o r m   a u t h o r i z a t i o n   c h e c k s   f o r   t h e   p r i n c i p a l   ( a u t h e n t i c a t e d   u s e r )   o f   t h e   r e q u e s t .   S e e   A u t h z S e l e c t o r s   a n d   A u t h z   i n   t h e   K u b e r n e t e s   C E L   l i b r a r y   d o c u m e n t a t i o n   f o r   m o r e   d e t a i l s . a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_section_3_9843"
  },
  {
    "question": "What is Validation expression examples?",
    "answer": "R e a d   S u p p o r t e d   e v a l u a t i o n   o n   C E L   f o r   m o r e   i n f o r m a t i o n   a b o u t   C E L   r u l e s .   s p e c . v a l i d a t i o n [ i ] . r e a s o n   r e p r e s e n t s   a   m a c h i n e - r e a d a b l e   d e s c r i p t i o n   o f   w h y   t h i s   v a l i d a t i o n   f a i l e d .   I f   t h i s   i s   t h e   f i r s t   v a l i d a t i o n   i n   t h e   l i s t   t o   f a i l ,   t h i s   r e a s o n ,   a s   w e l l   a s   t h e   c o r r e s p o n d i n g   H T T P   r e s p o n s e   c o d e ,   a r e   u s e d   i n   t h e   H T T P   r e s p o n s e   t o   t h e   c l i e n t .   T h e   c u r r e n t l y   s u p p o r t e d   r e a s o n s   a r e :   U n a u t h o r i z e d ,   F o r b i d d e n ,   I n v a l i d ,   R e q u e s t E n t i t y T o o L a r g e .   I f   n o t   s e t ,   S t a t u s R e a s o n I n v a l i d   i s   u s e d   i n   t h e   r e s p o n s e   t o   t h e   c l i e n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_section_4_9844"
  },
  {
    "question": "What is Matching requests: matchConditions?",
    "answer": "Y o u   c a n   d e f i n e   m a t c h   c o n d i t i o n s   f o r   a   V a l i d a t i n g A d m i s s i o n P o l i c y   i f   y o u   n e e d   f i n e - g r a i n e d   r e q u e s t   f i l t e r i n g .   T h e s e   c o n d i t i o n s   a r e   u s e f u l   i f   y o u   f i n d   t h a t   m a t c h   r u l e s ,   o b j e c t S e l e c t o r s   a n d   n a m e s p a c e S e l e c t o r s   s t i l l   d o e s n ' t   p r o v i d e   t h e   f i l t e r i n g   y o u   w a n t .   M a t c h   c o n d i t i o n s   a r e   C E L   e x p r e s s i o n s .   A l l   m a t c h   c o n d i t i o n s   m u s t   e v a l u a t e   t o   t r u e   f o r   t h e   r e s o u r c e   t o   b e   e v a l u a t e d .   H e r e   i s   a n   e x a m p l e   i l l u s t r a t i n g   a   f e w   d i f f e r e n t   u s e s   f o r   m a t c h   c o n d i t i o n s :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y   m e t a d a t a :   n a m e :   \" d e m o - p o l i c y . e x a m p l e . c o m \"   s p e c :   f a i l u r e P o l i c y :   F a i l   m a t c h C o n s t r a i n t s :   r e s o u r c e R u l e s :   -   a p i G r o u p s :   [ \" * \" ]   a p i V e r s i o n s :   [ \" * \" ]   o p e r a t i o n s :   [ \" C R E A T E \" ,   \" U P D A T E \" ]   r e s o u r c e s :   [ \" * \" ]   m a t c h C o n d i t i o n s :   -   n a m e :   ' e x c l u d e - l e a s e s '   #   E a c h   m a t c h   c o n d i t i o n   m u s t   h a v e   a   u n i q u e   n a m e   e x p r e s s i o n :   ' ! ( r e q u e s t . r e s o u r c e . g r o u p   = =   \" c o o r d i n a t i o n . k 8 s . i o \"   & &   r e q u e s t . r e s o u r c e . r e s o u r c e   = =   \" l e a s e s \" ) '   #   M a t c h   n o n - l e a s e   r e s o u r c e s .   -   n a m e :   ' e x c l u d e - k u b e l e t - r e q u e s t s '   e x p r e s s i o n :   ' ! ( \" s y s t e m : n o d e s \"   i n   r e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_section_3_9845"
  },
  {
    "question": "What is Audit annotations?",
    "answer": "a u d i t A n n o t a t i o n s   m a y   b e   u s e d   t o   i n c l u d e   a u d i t   a n n o t a t i o n s   i n   t h e   a u d i t   e v e n t   o f   t h e   A P I   r e q u e s t .   F o r   e x a m p l e ,   h e r e   i s   a n   a d m i s s i o n   p o l i c y   w i t h   a n   a u d i t   a n n o t a t i o n :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y   m e t a d a t a :   n a m e :   \" d e m o - p o l i c y . e x a m p l e . c o m \"   s p e c :   f a i l u r e P o l i c y :   F a i l   m a t c h C o n s t r a i n t s :   r e s o u r c e R u l e s :   -   a p i G r o u p s :   [ \" a p p s \" ]   a p i V e r s i o n s :   [ \" v 1 \" ]   o p e r a t i o n s :   [ \" C R E A T E \" ,   \" U P D A T E \" ]   r e s o u r c e s :   [ \" d e p l o y m e n t s \" ]   v a l i d a t i o n s :   -   e x p r e s s i o n :   \" o b j e c t . s p e c . r e p l i c a s   >   5 0 \"   m e s s a g e E x p r e s s i o n :   \" ' D e p l o y m e n t   s p e c . r e p l i c a s   s e t   t o   '   +   s t r i n g ( o b j e c t . s p e c . r e p l i c a s ) \"   a u d i t A n n o t a t i o n s :   -   k e y :   \" h i g h - r e p l i c a - c o u n t \"   v a l u e E x p r e s s i o n :   \" ' D e p l o y m e n t   s p e c . r e p l i c a s   s e t   t o   '   +   s t r i n g ( o b j e c t . s p e c . r e p l i c a s ) \"   W h e n   a n   A P I   r e q u e s t   i s   v a l i d a t e d   w i t h   t h i s   a d m i s s i o n   p o l i c y ,   t h e   r e s u l t i n g   a u d i t   e v e n t   w i l l   l o o k   l i k e :   #   t h e   a u d i t   e v e n t   r e c o r d e d   {   \" k i n d \" :   \" E v e n t \" ,   \" a p i V e r s i o n \" :   \" a u d i t . k 8 s . i o / v 1 \" ,   \" a n n o t a t i o n s \" :   {   \" d e m o - p o l i c y . e x a m p l e . c o m / h i g h - r e p l i c a - c o u n t \" :   \" D e p l o y m e n t   s p e c . r e p l i c a s   s e t   t o   1 2 8 \"   # ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_section_3_9846"
  },
  {
    "question": "What is Message expression?",
    "answer": "T o   r e t u r n   a   m o r e   f r i e n d l y   m e s s a g e   w h e n   t h e   p o l i c y   r e j e c t s   a   r e q u e s t ,   w e   c a n   u s e   a   C E L   e x p r e s s i o n   t o   c o m p o s i t e   a   m e s s a g e   w i t h   s p e c . v a l i d a t i o n s [ i ] . m e s s a g e E x p r e s s i o n .   S i m i l a r   t o   t h e   v a l i d a t i o n   e x p r e s s i o n ,   a   m e s s a g e   e x p r e s s i o n   h a s   a c c e s s   t o   o b j e c t ,   o l d O b j e c t ,   r e q u e s t ,   p a r a m s ,   a n d   n a m e s p a c e O b j e c t .   U n l i k e   v a l i d a t i o n s ,   m e s s a g e   e x p r e s s i o n   m u s t   e v a l u a t e   t o   a   s t r i n g .   F o r   e x a m p l e ,   t o   b e t t e r   i n f o r m   t h e   u s e r   o f   t h e   r e a s o n   o f   d e n i a l   w h e n   t h e   p o l i c y   r e f e r s   t o   a   p a r a m e t e r ,   w e   c a n   h a v e   t h e   f o l l o w i n g   v a l i d a t i o n :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y   m e t a d a t a :   n a m e :   \" d e p l o y - r e p l i c a - p o l i c y . e x a m p l e . c o m \"   s p e c :   p a r a m K i n d :   a p i V e r s i o n :   r u l e s . e x a m p l e . c o m / v 1   k i n d :   R e p l i c a L i m i t   m a t c h C o n s t r a i n t s :   r e s o u r c e R u l e s :   -   a p i G r o u p s :   [ \" a p p s \" ]   a p i V e r s i o n s :   [ \" v 1 \" ]   o p e r a t i o n s :   [ \" C R E A T E \" ,   \" U P D A T E \" ]   r e s o u r c e s :   [ \" d e p l o y m e n t s \" ]   v a l i d a t i o n s :   -   e x p r e s s i o n :   \" o b j e c t . s p e c . r e p l i c a s   < =   p a r a m s . m a x R e p l i c a s \"   m e s s a g e E x p r e s s i o n :   \" ' o b j e c t . s p e c . r e p l i c a s   m u s t   b e   n o   g r e a t e r   t h a n   '   +   s t r i n g ( p a r a m s . m a x R e p l i c a s ) ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_section_3_9847"
  },
  {
    "question": "What is Type checking?",
    "answer": "W h e n   a   p o l i c y   d e f i n i t i o n   i s   c r e a t e d   o r   u p d a t e d ,   t h e   v a l i d a t i o n   p r o c e s s   p a r s e s   t h e   e x p r e s s i o n s   i t   c o n t a i n s   a n d   r e p o r t s   a n y   s y n t a x   e r r o r s ,   r e j e c t i n g   t h e   d e f i n i t i o n   i f   a n y   e r r o r s   a r e   f o u n d .   A f t e r w a r d ,   t h e   r e f e r r e d   v a r i a b l e s   a r e   c h e c k e d   f o r   t y p e   e r r o r s ,   i n c l u d i n g   m i s s i n g   f i e l d s   a n d   t y p e   c o n f u s i o n ,   a g a i n s t   t h e   m a t c h e d   t y p e s   o f   s p e c . m a t c h C o n s t r a i n t s .   T h e   r e s u l t   o f   t y p e   c h e c k i n g   c a n   b e   r e t r i e v e d   f r o m   s t a t u s . t y p e C h e c k i n g .   T h e   p r e s e n c e   o f   s t a t u s . t y p e C h e c k i n g   i n d i c a t e s   t h e   c o m p l e t i o n   o f   t y p e   c h e c k i n g ,   a n d   a n   e m p t y   s t a t u s . t y p e C h e c k i n g   m e a n s   t h a t   n o   e r r o r s   w e r e   d e t e c t e d .   F o r   e x a m p l e ,   g i v e n   t h e   f o l l o w i n g   p o l i c y   d e f i n i t i o n :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y   m e t a d a t a :   n a m e :   \" d e p l o y - r e p l i c a - p o l i c y . e x a m p l e . c o m \"   s p e c :   m a t c h C o n s t r a i n t s :   r e s o u r c e R u l e s :   -   a p i G r o u p s :   [ \" a p p s \" ]   a p i V e r s i o n s :   [ \" v 1 \" ]   o p e r a t i o n s :   [ \" C R E A T E \" ,   \" U P D A T E \" ]   r e s o u r c e s :   [ \" d e p l o y m e n t s \" ]   v a l i d a t i o n s :   -   e x p r e s s i o n :   \" o b j e c t . r e p l i c a s   >   1 \"   #   s h o u l d   b e   \" o b j e c t . s p e c . r e p l i c a s   >   1 \"   m e s s a g e :   \" m u s t   b e   r e p l i c a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_section_3_9848"
  },
  {
    "question": "What is Variable composition?",
    "answer": "I f   a n   e x p r e s s i o n   g r o w s   t o o   c o m p l i c a t e d ,   o r   p a r t   o f   t h e   e x p r e s s i o n   i s   r e u s a b l e   a n d   c o m p u t a t i o n a l l y   e x p e n s i v e   t o   e v a l u a t e ,   y o u   c a n   e x t r a c t   s o m e   p a r t   o f   t h e   e x p r e s s i o n s   i n t o   v a r i a b l e s .   A   v a r i a b l e   i s   a   n a m e d   e x p r e s s i o n   t h a t   c a n   b e   r e f e r r e d   l a t e r   i n   v a r i a b l e s   i n   o t h e r   e x p r e s s i o n s .   s p e c :   v a r i a b l e s :   -   n a m e :   f o o   e x p r e s s i o n :   \" ' f o o '   i n   o b j e c t . s p e c . m e t a d a t a . l a b e l s   ?   o b j e c t . s p e c . m e t a d a t a . l a b e l s [ ' f o o ' ]   :   ' d e f a u l t ' \"   v a l i d a t i o n s :   -   e x p r e s s i o n :   v a r i a b l e s . f o o   = =   ' b a r '   A   v a r i a b l e   i s   l a z i l y   e v a l u a t e d   w h e n   i t   i s   f i r s t   r e f e r r e d .   A n y   e r r o r   t h a t   o c c u r s   d u r i n g   t h e   e v a l u a t i o n   w i l l   b e   r e p o r t e d   d u r i n g   t h e   e v a l u a t i o n   o f   t h e   r e f e r r i n g   e x p r e s s i o n .   B o t h   t h e   r e s u l t   a n d   p o t e n t i a l   e r r o r   a r e   m e m o r i z e d   a n d   c o u n t   o n l y   o n c e   t o w a r d s   t h e   r u n t i m e   c o s t .   T h e   o r d e r   o f   v a r i a b l e s   a r e   i m p o r t a n t   b e c a u s e   a   v a r i a b l e   c a n   r e f e r   t o   o t h e r   v a r i a b l e s   t h a t   a r e   d e f i n e d   b e f o r e   i t .   T h i s   o r d e r i n g   p r e v e n t s   c i r c u l a r   r e f e r e n c e s .   T h e   f o l l o w i n g   i s   a   m o r e   c o m p l e x   e x a m p l e   o f   e n f o r c i n g   t h a t   i m a g e   r e p o   n a m e s   m a t c h   t h e   e n v i r o n m e n t   d e f i n e d   i n   i t s   n a m e s p a c e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_section_3_9849"
  },
  {
    "question": "What is API kinds exempt from admission validation?",
    "answer": "T h e r e   a r e   c e r t a i n   A P I   k i n d s   t h a t   a r e   e x e m p t   f r o m   a d m i s s i o n - t i m e   v a l i d a t i o n   c h e c k s .   F o r   e x a m p l e ,   y o u   c a n ' t   c r e a t e   a   V a l i d a t i n g A d m i s s i o n P o l i c y   t h a t   p r e v e n t s   c h a n g e s   t o   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g s .   T h e   l i s t   o f   e x e m p t   A P I   k i n d s   i s :   V a l i d a t i n g A d m i s s i o n P o l i c i e s V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g s M u t a t i n g A d m i s s i o n P o l i c i e s M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g s T o k e n R e v i e w s L o c a l S u b j e c t A c c e s s R e v i e w s S e l f S u b j e c t A c c e s s R e v i e w s S e l f S u b j e c t R e v i e w s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/",
    "id": "k8s_00521_section_2_9850"
  },
  {
    "question": "What is Running Multiple Instances of Your App?",
    "answer": "Running Multiple Instances of Your AppObjectivesScale an existing app manually using kubectl.Scaling an applicationYou can create from the start a Deployment with multiple instances using the --replicas parameter for the kubectl create deployment command.Previously we created a Deployment, and then exposed it publicly via a Service. The Deployment created only one Pod for running our application. When traffic increases, we will need to scale the application to keep up with user demand.If you haven't worked through the earlier sections, start from Using minikube to create a cluster.Scaling is accomplished by changing the number of replicas in a Deployment.Note:If you are trying this after the previous section, then you may have deleted the service you created, or have created a Service of type: NodePort. In this section, it is assumed that a service with type: LoadBalancer is created for the kubernetes-bootcamp Deployment.If you have not deleted the Service created in the previous section, first delete that Service and then run the following command to create a new Service with its type set to LoadBalancer:kubectl expose deployment/kubernetes-bootcamp --type=\"LoadBalancer\" --port 8080 Scaling overviewScaling is accomplished by changing the number of replicas in a Deployment.Scaling out a Deployment will ensure new Pods are created and scheduled to Nodes with available resources. Scaling will increase the number of Pods to the new desired state. Kubernetes also supports autoscaling of Pods, but it is outside of the scope of this tutorial. Scaling to zero is also possible, and it will terminate all Pods of the specified Deployment.Running multiple instances of an application will require a way to distribute the traffic to all of them. Services have an integrated load-balancer that will distribute network traffic to all Pods of an exposed Deployment. Services will monitor continuously the running Pods using endpoints, to ensure the traffic is sent only to available Pods.Once you have multiple instances of an application running, you would be able to do Rolling updates without downtime. We'll cover that in the",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/scale/scale-intro/",
    "id": "k8s_00522_qa_9851"
  },
  {
    "question": "How does Running Multiple Instances of Your App work?",
    "answer": "Running Multiple Instances of Your AppObjectivesScale an existing app manually using kubectl.Scaling an applicationYou can create from the start a Deployment with multiple instances using the --replicas parameter for the kubectl create deployment command.Previously we created a Deployment, and then exposed it publicly via a Service. The Deployment created only one Pod for running our application. When traffic increases, we will need to scale the application to keep up with user demand.If you haven't worked through the earlier sections, start from Using minikube to create a cluster.Scaling is accomplished by changing the number of replicas in a Deployment.Note:If you are trying this after the previous section, then you may have deleted the service you created, or have created a Service of type: NodePort. In this section, it is assumed that a service with type: LoadBalancer is created for the kubernetes-bootcamp Deployment.If you have not deleted the Service created in the previous section, first delete that Service and then run the following command to create a new Service with its type set to LoadBalancer:kubectl expose deployment/kubernetes-bootcamp --type=\"LoadBalancer\" --port 8080 Scaling overviewScaling is accomplished by changing the number of replicas in a Deployment.Scaling out a Deployment will ensure new Pods are created and scheduled to Nodes with available resources. Scaling will increase the number of Pods to the new desired state. Kubernetes also supports autoscaling of Pods, but it is outside of the scope of this tutorial. Scaling to zero is also possible, and it will terminate all Pods of the specified Deployment.Running multiple instances of an application will require a way to distribute the traffic to all of them. Services have an integrated load-balancer that will distribute network traffic to all Pods of an exposed Deployment. Services will monitor continuously the running Pods using endpoints, to ensure the traffic is sent only to available Pods.Once you have multiple instances of an application running, you would be able to do Rolling updates without downtime. We'll cover that in the",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/scale/scale-intro/",
    "id": "k8s_00522_qa_9852"
  },
  {
    "question": "When would you use Running Multiple Instances of Your App?",
    "answer": "Running Multiple Instances of Your AppObjectivesScale an existing app manually using kubectl.Scaling an applicationYou can create from the start a Deployment with multiple instances using the --replicas parameter for the kubectl create deployment command.Previously we created a Deployment, and then exposed it publicly via a Service. The Deployment created only one Pod for running our application. When traffic increases, we will need to scale the application to keep up with user demand.If you haven't worked through the earlier sections, start from Using minikube to create a cluster.Scaling is accomplished by changing the number of replicas in a Deployment.Note:If you are trying this after the previous section, then you may have deleted the service you created, or have created a Service of type: NodePort. In this section, it is assumed that a service with type: LoadBalancer is created for the kubernetes-bootcamp Deployment.If you have not deleted the Service created in the previous section, first delete that Service and then run the following command to create a new Service with its type set to LoadBalancer:kubectl expose deployment/kubernetes-bootcamp --type=\"LoadBalancer\" --port 8080 Scaling overviewScaling is accomplished by changing the number of replicas in a Deployment.Scaling out a Deployment will ensure new Pods are created and scheduled to Nodes with available resources. Scaling will increase the number of Pods to the new desired state. Kubernetes also supports autoscaling of Pods, but it is outside of the scope of this tutorial. Scaling to zero is also possible, and it will terminate all Pods of the specified Deployment.Running multiple instances of an application will require a way to distribute the traffic to all of them. Services have an integrated load-balancer that will distribute network traffic to all Pods of an exposed Deployment. Services will monitor continuously the running Pods using endpoints, to ensure the traffic is sent only to available Pods.Once you have multiple instances of an application running, you would be able to do Rolling updates without downtime. We'll cover that in the",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/scale/scale-intro/",
    "id": "k8s_00522_qa_9853"
  },
  {
    "question": "What are the benefits of Running Multiple Instances of Your App?",
    "answer": "Running Multiple Instances of Your AppObjectivesScale an existing app manually using kubectl.Scaling an applicationYou can create from the start a Deployment with multiple instances using the --replicas parameter for the kubectl create deployment command.Previously we created a Deployment, and then exposed it publicly via a Service. The Deployment created only one Pod for running our application. When traffic increases, we will need to scale the application to keep up with user demand.If you haven't worked through the earlier sections, start from Using minikube to create a cluster.Scaling is accomplished by changing the number of replicas in a Deployment.Note:If you are trying this after the previous section, then you may have deleted the service you created, or have created a Service of type: NodePort. In this section, it is assumed that a service with type: LoadBalancer is created for the kubernetes-bootcamp Deployment.If you have not deleted the Service created in the previous section, first delete that Service and then run the following command to create a new Service with its type set to LoadBalancer:kubectl expose deployment/kubernetes-bootcamp --type=\"LoadBalancer\" --port 8080 Scaling overviewScaling is accomplished by changing the number of replicas in a Deployment.Scaling out a Deployment will ensure new Pods are created and scheduled to Nodes with available resources. Scaling will increase the number of Pods to the new desired state. Kubernetes also supports autoscaling of Pods, but it is outside of the scope of this tutorial. Scaling to zero is also possible, and it will terminate all Pods of the specified Deployment.Running multiple instances of an application will require a way to distribute the traffic to all of them. Services have an integrated load-balancer that will distribute network traffic to all Pods of an exposed Deployment. Services will monitor continuously the running Pods using endpoints, to ensure the traffic is sent only to available Pods.Once you have multiple instances of an application running, you would be able to do Rolling updates without downtime. We'll cover that in the",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/scale/scale-intro/",
    "id": "k8s_00522_qa_9854"
  },
  {
    "question": "What is Objectives?",
    "answer": "S c a l e   a n   e x i s t i n g   a p p   m a n u a l l y   u s i n g   k u b e c t l .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/scale/scale-intro/",
    "id": "k8s_00522_section_2_9855"
  },
  {
    "question": "What is Scaling an application?",
    "answer": "P r e v i o u s l y   w e   c r e a t e d   a   D e p l o y m e n t ,   a n d   t h e n   e x p o s e d   i t   p u b l i c l y   v i a   a   S e r v i c e .   T h e   D e p l o y m e n t   c r e a t e d   o n l y   o n e   P o d   f o r   r u n n i n g   o u r   a p p l i c a t i o n .   W h e n   t r a f f i c   i n c r e a s e s ,   w e   w i l l   n e e d   t o   s c a l e   t h e   a p p l i c a t i o n   t o   k e e p   u p   w i t h   u s e r   d e m a n d .   I f   y o u   h a v e n ' t   w o r k e d   t h r o u g h   t h e   e a r l i e r   s e c t i o n s ,   s t a r t   f r o m   U s i n g   m i n i k u b e   t o   c r e a t e   a   c l u s t e r .   S c a l i n g   i s   a c c o m p l i s h e d   b y   c h a n g i n g   t h e   n u m b e r   o f   r e p l i c a s   i n   a   D e p l o y m e n t .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/scale/scale-intro/",
    "id": "k8s_00522_section_2_9856"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   a r e   t r y i n g   t h i s   a f t e r   t h e   p r e v i o u s   s e c t i o n ,   t h e n   y o u   m a y   h a v e   d e l e t e d   t h e   s e r v i c e   y o u   c r e a t e d ,   o r   h a v e   c r e a t e d   a   S e r v i c e   o f   t y p e :   N o d e P o r t .   I n   t h i s   s e c t i o n ,   i t   i s   a s s u m e d   t h a t   a   s e r v i c e   w i t h   t y p e :   L o a d B a l a n c e r   i s   c r e a t e d   f o r   t h e   k u b e r n e t e s - b o o t c a m p   D e p l o y m e n t .   I f   y o u   h a v e   n o t   d e l e t e d   t h e   S e r v i c e   c r e a t e d   i n   t h e   p r e v i o u s   s e c t i o n ,   f i r s t   d e l e t e   t h a t   S e r v i c e   a n d   t h e n   r u n   t h e   f o l l o w i n g   c o m m a n d   t o   c r e a t e   a   n e w   S e r v i c e   w i t h   i t s   t y p e   s e t   t o   L o a d B a l a n c e r :   k u b e c t l   e x p o s e   d e p l o y m e n t / k u b e r n e t e s - b o o t c a m p   - - t y p e = \" L o a d B a l a n c e r \"   - - p o r t   8 0 8 0",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/scale/scale-intro/",
    "id": "k8s_00522_section_4_9857"
  },
  {
    "question": "What is Scaling overview?",
    "answer": "S c a l i n g   o u t   a   D e p l o y m e n t   w i l l   e n s u r e   n e w   P o d s   a r e   c r e a t e d   a n d   s c h e d u l e d   t o   N o d e s   w i t h   a v a i l a b l e   r e s o u r c e s .   S c a l i n g   w i l l   i n c r e a s e   t h e   n u m b e r   o f   P o d s   t o   t h e   n e w   d e s i r e d   s t a t e .   K u b e r n e t e s   a l s o   s u p p o r t s   a u t o s c a l i n g   o f   P o d s ,   b u t   i t   i s   o u t s i d e   o f   t h e   s c o p e   o f   t h i s   t u t o r i a l .   S c a l i n g   t o   z e r o   i s   a l s o   p o s s i b l e ,   a n d   i t   w i l l   t e r m i n a t e   a l l   P o d s   o f   t h e   s p e c i f i e d   D e p l o y m e n t .   R u n n i n g   m u l t i p l e   i n s t a n c e s   o f   a n   a p p l i c a t i o n   w i l l   r e q u i r e   a   w a y   t o   d i s t r i b u t e   t h e   t r a f f i c   t o   a l l   o f   t h e m .   S e r v i c e s   h a v e   a n   i n t e g r a t e d   l o a d - b a l a n c e r   t h a t   w i l l   d i s t r i b u t e   n e t w o r k   t r a f f i c   t o   a l l   P o d s   o f   a n   e x p o s e d   D e p l o y m e n t .   S e r v i c e s   w i l l   m o n i t o r   c o n t i n u o u s l y   t h e   r u n n i n g   P o d s   u s i n g   e n d p o i n t s ,   t o   e n s u r e   t h e   t r a f f i c   i s   s e n t   o n l y   t o   a v a i l a b l e   P o d s .   O n c e   y o u   h a v e   m u l t i p l e   i n s t a n c e s   o f   a n   a p p l i c a t i o n   r u n n i n g ,   y o u   w o u l d   b e   a b l e   t o   d o   R o l l i n g   u p d a t e s   w i t h o u t   d o w n t i m e .   W e ' l l   c o v e r   t h a t   i n   t h e   n e x t   s e c t i o n   o f   t h e   t u t o r i a l .   N o w ,   l e t ' s   g o   t o   t h e   t e r m i n a l   a n d   s c a l e   o u r   a p p l i c a t i o n .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/scale/scale-intro/",
    "id": "k8s_00522_section_2_9858"
  },
  {
    "question": "What is Scaling a Deployment?",
    "answer": "T o   l i s t   y o u r   D e p l o y m e n t s ,   u s e   t h e   g e t   d e p l o y m e n t s   s u b c o m m a n d :   k u b e c t l   g e t   d e p l o y m e n t s   T h e   o u t p u t   s h o u l d   b e   s i m i l a r   t o :   N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   k u b e r n e t e s - b o o t c a m p   1 / 1   1   1   1 1 m   W e   s h o u l d   h a v e   1   P o d .   I f   n o t ,   r u n   t h e   c o m m a n d   a g a i n .   T h i s   s h o w s :   N A M E   l i s t s   t h e   n a m e s   o f   t h e   D e p l o y m e n t s   i n   t h e   c l u s t e r . R E A D Y   s h o w s   t h e   r a t i o   o f   C U R R E N T / D E S I R E D   r e p l i c a s U P - T O - D A T E   d i s p l a y s   t h e   n u m b e r   o f   r e p l i c a s   t h a t   h a v e   b e e n   u p d a t e d   t o   a c h i e v e   t h e   d e s i r e d   s t a t e . A V A I L A B L E   d i s p l a y s   h o w   m a n y   r e p l i c a s   o f   t h e   a p p l i c a t i o n   a r e   a v a i l a b l e   t o   y o u r   u s e r s . A G E   d i s p l a y s   t h e   a m o u n t   o f   t i m e   t h a t   t h e   a p p l i c a t i o n   h a s   b e e n   r u n n i n g .   T o   s e e   t h e   R e p l i c a S e t   c r e a t e d   b y   t h e   D e p l o y m e n t ,   r u n :   k u b e c t l   g e t   r s   N o t i c e   t h a t   t h e   n a m e   o f   t h e   R e p l i c a S e t   i s   a l w a y s   f o r m a t t e d   a s   [ D E P L O Y M E N T - N A M E ] - [ R A N D O M - S T R I N G ] .   T h e   r a n d o m   s t r i n g   i s   r a n d o m l y   g e n e r a t e d   a n d   u s e s   t h e   p o d - t e m p l a t e - h a s h   a s   a   s e e d .   T w o   i m p o r t a n t   c o l u m n s   o f   t h i s   o u t p u t   a r e :   D E S I R E D   d i s p l a y s   t h e   d e s i r e d   n u m b e r   o f   r e p l i c a s   o f   t h e   a p p l i c a t i o n ,   w h i c h   y o u   d e f i n e   w h e n   y o u   c r e a t e   t h e ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/scale/scale-intro/",
    "id": "k8s_00522_section_3_9859"
  },
  {
    "question": "What is Load Balancing?",
    "answer": "L e t ' s   c h e c k   t h a t   t h e   S e r v i c e   i s   l o a d - b a l a n c i n g   t h e   t r a f f i c .   T o   f i n d   o u t   t h e   e x p o s e d   I P   a n d   P o r t   w e   c a n   u s e   d e s c r i b e   s e r v i c e   a s   w e   l e a r n e d   i n   t h e   p r e v i o u s   p a r t   o f   t h e   t u t o r i a l :   k u b e c t l   d e s c r i b e   s e r v i c e s / k u b e r n e t e s - b o o t c a m p   C r e a t e   a n   e n v i r o n m e n t   v a r i a b l e   c a l l e d   N O D E _ P O R T   t h a t   h a s   a   v a l u e   a s   t h e   N o d e   p o r t :   e x p o r t   N O D E _ P O R T = \" $ ( k u b e c t l   g e t   s e r v i c e s / k u b e r n e t e s - b o o t c a m p   - o   g o - t e m p l a t e = ' { { ( i n d e x   . s p e c . p o r t s   0 ) . n o d e P o r t } } ' ) \"   e c h o   N O D E _ P O R T = $ N O D E _ P O R T   N e x t ,   w e ’ l l   d o   a   c u r l   t o   t h e   e x p o s e d   I P   a d d r e s s   a n d   p o r t .   E x e c u t e   t h e   c o m m a n d   m u l t i p l e   t i m e s :   c u r l   h t t p : / / \" $ ( m i n i k u b e   i p ) : $ N O D E _ P O R T \"   W e   h i t   a   d i f f e r e n t   P o d   w i t h   e v e r y   r e q u e s t .   T h i s   d e m o n s t r a t e s   t h a t   t h e   l o a d - b a l a n c i n g   i s   w o r k i n g .   T h e   o u t p u t   s h o u l d   b e   s i m i l a r   t o :   H e l l o   K u b e r n e t e s   b o o t c a m p !   |   R u n n i n g   o n :   k u b e r n e t e s - b o o t c a m p - 6 4 4 c 5 6 8 7 f 4 - w p 6 7 j   |   v = 1   H e l l o   K u b e r n e t e s   b o o t c a m p !   |   R u n n i n g   o n :   k u b e r n e t e s - b o o t c a m p - 6 4 4 c 5 6 8 7 f 4 - h s 9 d j   |   v = 1   H e l l o   K u b e r n e t e s   b o o t c a m p !   |   R u n n i n g   o n :   k u b e r n e t e s - b o o t c a m p - 6 4 4 c 5 6 8 7 f 4 - 4 h j v f   |   v = 1   H e l l o   K u b e r n e t e s   b o o t c a m p !   |   R u n n i n g   o ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/scale/scale-intro/",
    "id": "k8s_00522_section_3_9860"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u ' r e   r u n n i n g   m i n i k u b e   w i t h   D o c k e r   D e s k t o p   a s   t h e   c o n t a i n e r   d r i v e r ,   a   m i n i k u b e   t u n n e l   i s   n e e d e d .   T h i s   i s   b e c a u s e   c o n t a i n e r s   i n s i d e   D o c k e r   D e s k t o p   a r e   i s o l a t e d   f r o m   y o u r   h o s t   c o m p u t e r .   I n   a   s e p a r a t e   t e r m i n a l   w i n d o w ,   e x e c u t e :   m i n i k u b e   s e r v i c e   k u b e r n e t e s - b o o t c a m p   - - u r l   T h e   o u t p u t   l o o k s   l i k e   t h i s :   h t t p : / / 1 2 7 . 0 . 0 . 1 : 5 1 0 8 2   !   B e c a u s e   y o u   a r e   u s i n g   a   D o c k e r   d r i v e r   o n   d a r w i n ,   t h e   t e r m i n a l   n e e d s   t o   b e   o p e n   t o   r u n   i t .   T h e n   u s e   t h e   g i v e n   U R L   t o   a c c e s s   t h e   a p p :   c u r l   1 2 7 . 0 . 0 . 1 : 5 1 0 8 2",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/scale/scale-intro/",
    "id": "k8s_00522_section_4_9861"
  },
  {
    "question": "What is Scale Down?",
    "answer": "T o   s c a l e   d o w n   t h e   D e p l o y m e n t   t o   2   r e p l i c a s ,   r u n   a g a i n   t h e   s c a l e   s u b c o m m a n d :   k u b e c t l   s c a l e   d e p l o y m e n t s / k u b e r n e t e s - b o o t c a m p   - - r e p l i c a s = 2   L i s t   t h e   D e p l o y m e n t s   t o   c h e c k   i f   t h e   c h a n g e   w a s   a p p l i e d   w i t h   t h e   g e t   d e p l o y m e n t s   s u b c o m m a n d :   k u b e c t l   g e t   d e p l o y m e n t s   T h e   n u m b e r   o f   r e p l i c a s   d e c r e a s e d   t o   2 .   L i s t   t h e   n u m b e r   o f   P o d s ,   w i t h   g e t   p o d s :   k u b e c t l   g e t   p o d s   - o   w i d e   T h i s   c o n f i r m s   t h a t   2   P o d s   w e r e   t e r m i n a t e d .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/scale/scale-intro/",
    "id": "k8s_00522_section_3_9862"
  },
  {
    "question": "What is What's next?",
    "answer": "T u t o r i a l   P e r f o r m i n g   a   R o l l i n g   U p d a t e . L e a r n   m o r e   a b o u t   R e p l i c a S e t . L e a r n   m o r e   a b o u t   A u t o s c a l i n g .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/scale/scale-intro/",
    "id": "k8s_00522_section_2_9863"
  },
  {
    "question": "What is kubectl create secret?",
    "answer": "kubectl create secretSynopsisCreate a secret with specified type.A docker-registry type secret is for accessing a container registry.A generic type secret indicate an Opaque secret type.A tls type secret holds TLS certificate and its associated key.kubectl create secret (docker-registry | generic | tls) Options-h, --helphelp for secretParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name o",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret/",
    "id": "k8s_00523_qa_9864"
  },
  {
    "question": "How does kubectl create secret work?",
    "answer": "kubectl create secretSynopsisCreate a secret with specified type.A docker-registry type secret is for accessing a container registry.A generic type secret indicate an Opaque secret type.A tls type secret holds TLS certificate and its associated key.kubectl create secret (docker-registry | generic | tls) Options-h, --helphelp for secretParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name o",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret/",
    "id": "k8s_00523_qa_9865"
  },
  {
    "question": "When would you use kubectl create secret?",
    "answer": "kubectl create secretSynopsisCreate a secret with specified type.A docker-registry type secret is for accessing a container registry.A generic type secret indicate an Opaque secret type.A tls type secret holds TLS certificate and its associated key.kubectl create secret (docker-registry | generic | tls) Options-h, --helphelp for secretParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name o",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret/",
    "id": "k8s_00523_qa_9866"
  },
  {
    "question": "What are the benefits of kubectl create secret?",
    "answer": "kubectl create secretSynopsisCreate a secret with specified type.A docker-registry type secret is for accessing a container registry.A generic type secret indicate an Opaque secret type.A tls type secret holds TLS certificate and its associated key.kubectl create secret (docker-registry | generic | tls) Options-h, --helphelp for secretParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name o",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret/",
    "id": "k8s_00523_qa_9867"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   s e c r e t   w i t h   s p e c i f i e d   t y p e .   A   d o c k e r - r e g i s t r y   t y p e   s e c r e t   i s   f o r   a c c e s s i n g   a   c o n t a i n e r   r e g i s t r y .   A   g e n e r i c   t y p e   s e c r e t   i n d i c a t e   a n   O p a q u e   s e c r e t   t y p e .   A   t l s   t y p e   s e c r e t   h o l d s   T L S   c e r t i f i c a t e   a n d   i t s   a s s o c i a t e d   k e y .   k u b e c t l   c r e a t e   s e c r e t   ( d o c k e r - r e g i s t r y   |   g e n e r i c   |   t l s )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret/",
    "id": "k8s_00523_section_2_9868"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   s e c r e t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret/",
    "id": "k8s_00523_section_2_9869"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret/",
    "id": "k8s_00523_section_2_9870"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   -   C r e a t e   a   s e c r e t   f o r   u s e   w i t h   a   D o c k e r   r e g i s t r y k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   -   C r e a t e   a   s e c r e t   f r o m   a   l o c a l   f i l e ,   d i r e c t o r y ,   o r   l i t e r a l   v a l u e k u b e c t l   c r e a t e   s e c r e t   t l s   -   C r e a t e   a   T L S   s e c r e t   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret/",
    "id": "k8s_00523_section_2_9871"
  },
  {
    "question": "What is Status?",
    "answer": "StatusStatus is a return value for calls that don't return other objects.import \"k8s.io/apimachinery/pkg/apis/meta/v1\"Status is a return value for calls that don't return other objects.apiVersion (string)APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resourcescode (int32)Suggested HTTP return code for this status, 0 if not set.details (StatusDetails)Atomic: will be replaced during a mergeExtended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.details.causes ([]StatusCause)Atomic: will be replaced during a mergeThe Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.details.causes.field (string)The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.Examples: \"name\" - the field \"name\" on the current resource \"items[0].name\" - the field \"name\" on the first array entry in \"items\"details.causes.message (string)A human-readable description of the cause of the error. This field may be presented as-is to a reader.details.causes.reason (string)A machine-readable description of the cause of the error. If this value is empty there is no information available.details.group (string)The group attribute of the resource associated with the status StatusReason.details.kind (string)The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsdetails.name (string)The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).details.retryAfterSeconds (int32)If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking th",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/status/",
    "id": "k8s_00524_qa_9872"
  },
  {
    "question": "How does Status work?",
    "answer": "StatusStatus is a return value for calls that don't return other objects.import \"k8s.io/apimachinery/pkg/apis/meta/v1\"Status is a return value for calls that don't return other objects.apiVersion (string)APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resourcescode (int32)Suggested HTTP return code for this status, 0 if not set.details (StatusDetails)Atomic: will be replaced during a mergeExtended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.details.causes ([]StatusCause)Atomic: will be replaced during a mergeThe Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.details.causes.field (string)The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.Examples: \"name\" - the field \"name\" on the current resource \"items[0].name\" - the field \"name\" on the first array entry in \"items\"details.causes.message (string)A human-readable description of the cause of the error. This field may be presented as-is to a reader.details.causes.reason (string)A machine-readable description of the cause of the error. If this value is empty there is no information available.details.group (string)The group attribute of the resource associated with the status StatusReason.details.kind (string)The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsdetails.name (string)The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).details.retryAfterSeconds (int32)If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking th",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/status/",
    "id": "k8s_00524_qa_9873"
  },
  {
    "question": "When would you use Status?",
    "answer": "StatusStatus is a return value for calls that don't return other objects.import \"k8s.io/apimachinery/pkg/apis/meta/v1\"Status is a return value for calls that don't return other objects.apiVersion (string)APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resourcescode (int32)Suggested HTTP return code for this status, 0 if not set.details (StatusDetails)Atomic: will be replaced during a mergeExtended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.details.causes ([]StatusCause)Atomic: will be replaced during a mergeThe Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.details.causes.field (string)The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.Examples: \"name\" - the field \"name\" on the current resource \"items[0].name\" - the field \"name\" on the first array entry in \"items\"details.causes.message (string)A human-readable description of the cause of the error. This field may be presented as-is to a reader.details.causes.reason (string)A machine-readable description of the cause of the error. If this value is empty there is no information available.details.group (string)The group attribute of the resource associated with the status StatusReason.details.kind (string)The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsdetails.name (string)The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).details.retryAfterSeconds (int32)If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking th",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/status/",
    "id": "k8s_00524_qa_9874"
  },
  {
    "question": "What are the benefits of Status?",
    "answer": "StatusStatus is a return value for calls that don't return other objects.import \"k8s.io/apimachinery/pkg/apis/meta/v1\"Status is a return value for calls that don't return other objects.apiVersion (string)APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resourcescode (int32)Suggested HTTP return code for this status, 0 if not set.details (StatusDetails)Atomic: will be replaced during a mergeExtended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.details.causes ([]StatusCause)Atomic: will be replaced during a mergeThe Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.details.causes.field (string)The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.Examples: \"name\" - the field \"name\" on the current resource \"items[0].name\" - the field \"name\" on the first array entry in \"items\"details.causes.message (string)A human-readable description of the cause of the error. This field may be presented as-is to a reader.details.causes.reason (string)A machine-readable description of the cause of the error. If this value is empty there is no information available.details.group (string)The group attribute of the resource associated with the status StatusReason.details.kind (string)The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsdetails.name (string)The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).details.retryAfterSeconds (int32)If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking th",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/status/",
    "id": "k8s_00524_qa_9875"
  },
  {
    "question": "What is Status?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i m a c h i n e r y / p k g / a p i s / m e t a / v 1 \"   S t a t u s   i s   a   r e t u r n   v a l u e   f o r   c a l l s   t h a t   d o n ' t   r e t u r n   o t h e r   o b j e c t s .   a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s c o d e   ( i n t 3 2 ) S u g g e s t e d   H T T P   r e t u r n   c o d e   f o r   t h i s   s t a t u s ,   0   i f   n o t   s e t . d e t a i l s   ( S t a t u s D e t a i l s ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e E x t e n d e d   d a t a   a s s o c i a t e d   w i t h   t h e   r e a s o n .   E a c h   r e a s o n   m a y   d e f i n e   i t s   o w n   e x t e n d e d   d e t a i l s .   T h i s   f i e l d   i s   o p t i o n a l   a n d   t h e   d a t a   r e t u r n e d   i s   n o t   g u a r a n t e e d   t o   c o n f o r m   t o   a n y   s c h e m a   e x c e p t   t h a t   d e f i n e d   b y   t h e   r e a s o n   t y p e . S t a t u s D e t a i l s   i s   a   s e t   o f   a d d i t i o n a l   p r o p e r t i e s   t h a t   M A Y   b e   s e t   b y   t h e   s e r v e r   t o   p r o v i d e   a d d i t i o n a l   i n f o r m a t i o n   a b o u t   a   r e s p o n s e .   T h e   R e a s o n   f i e l d   o f   a   S t a t u s   o b j e c t   d e f i n e s   w h a t   a t t r i b u t e s   w i l l   b e   s e t .   C l i e n t s   m u s t   i g n o r e   f i e l d s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/status/",
    "id": "k8s_00524_section_1_9876"
  },
  {
    "question": "What is kubectl debug?",
    "answer": "kubectl debugSynopsisDebug cluster resources using interactive debugging containers.'debug' provides automation for common debugging tasks for cluster objects identified by resource and name. Pods will be used by default if no resource is specified.The action taken by 'debug' varies depending on what resource is specified. Supported actions include:Workload: Create a copy of an existing pod with certain attributes changed, for example changing the image tag to a new version.Workload: Add an ephemeral container to an already running pod, for example to add debugging utilities without restarting the pod.Node: Create a new pod that runs in the node's host namespaces and can access the node's filesystem.Note: When a non-root user is configured for the entire target Pod, some capabilities granted by debug profile may not work.kubectl debug (POD | TYPE[[.VERSION].GROUP]/NAME) [ -- COMMAND [args...] ] Examples # Create an interactive debugging session in pod mypod and immediately attach to it. kubectl debug mypod -it --image=busybox # Create an interactive debugging session for the pod in the file pod.yaml and immediately attach to it. # (requires the EphemeralContainers feature to be enabled in the cluster) kubectl debug -f pod.yaml -it --image=busybox # Create a debug container named debugger using a custom automated debugging image. kubectl debug --image=myproj/debug-tools -c debugger mypod # Create a copy of mypod adding a debug container and attach to it kubectl debug mypod -it --image=busybox --copy-to=my-debugger # Create a copy of mypod changing the command of mycontainer kubectl debug mypod -it --copy-to=my-debugger --container=mycontainer -- sh # Create a copy of mypod changing all container images to busybox kubectl debug mypod --copy-to=my-debugger --set-image=*=busybox # Create a copy of mypod adding a debug container and changing container images kubectl debug mypod -it --copy-to=my-debugger --image=debian --set-image=app=app:debug,sidecar=sidecar:debug # Create an interactive debugging session on a node and immediately attach to it. # The container will run in the host namespaces and the host's filesystem will be mounted at /host kubectl debug node/mynode -it --image=busybox Options--arguments-onlyIf specified, everything after -- will be passed to the new container as Args instead of Command.--attachIf true, wait for the container to start running, and then attach as if 'kubectl attach ...' were called. Default false, unless '-i/--stdin' is set, in which case the default is true.-c, --container stringContainer name to use for debug container.--copy-to stringCreate a copy of the target Pod with this name.--custom stringPath to a JSON or YAML file containing a partial container spec to customize built-in debug profiles.--env stringToString Default: []Environment variables to set in the container.-f, --filename stringsidentifying the resource to debug-h, --helphelp for debug--image stringContainer image to use for debug container.--image-pu",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_debug/",
    "id": "k8s_00525_qa_9877"
  },
  {
    "question": "How does kubectl debug work?",
    "answer": "kubectl debugSynopsisDebug cluster resources using interactive debugging containers.'debug' provides automation for common debugging tasks for cluster objects identified by resource and name. Pods will be used by default if no resource is specified.The action taken by 'debug' varies depending on what resource is specified. Supported actions include:Workload: Create a copy of an existing pod with certain attributes changed, for example changing the image tag to a new version.Workload: Add an ephemeral container to an already running pod, for example to add debugging utilities without restarting the pod.Node: Create a new pod that runs in the node's host namespaces and can access the node's filesystem.Note: When a non-root user is configured for the entire target Pod, some capabilities granted by debug profile may not work.kubectl debug (POD | TYPE[[.VERSION].GROUP]/NAME) [ -- COMMAND [args...] ] Examples # Create an interactive debugging session in pod mypod and immediately attach to it. kubectl debug mypod -it --image=busybox # Create an interactive debugging session for the pod in the file pod.yaml and immediately attach to it. # (requires the EphemeralContainers feature to be enabled in the cluster) kubectl debug -f pod.yaml -it --image=busybox # Create a debug container named debugger using a custom automated debugging image. kubectl debug --image=myproj/debug-tools -c debugger mypod # Create a copy of mypod adding a debug container and attach to it kubectl debug mypod -it --image=busybox --copy-to=my-debugger # Create a copy of mypod changing the command of mycontainer kubectl debug mypod -it --copy-to=my-debugger --container=mycontainer -- sh # Create a copy of mypod changing all container images to busybox kubectl debug mypod --copy-to=my-debugger --set-image=*=busybox # Create a copy of mypod adding a debug container and changing container images kubectl debug mypod -it --copy-to=my-debugger --image=debian --set-image=app=app:debug,sidecar=sidecar:debug # Create an interactive debugging session on a node and immediately attach to it. # The container will run in the host namespaces and the host's filesystem will be mounted at /host kubectl debug node/mynode -it --image=busybox Options--arguments-onlyIf specified, everything after -- will be passed to the new container as Args instead of Command.--attachIf true, wait for the container to start running, and then attach as if 'kubectl attach ...' were called. Default false, unless '-i/--stdin' is set, in which case the default is true.-c, --container stringContainer name to use for debug container.--copy-to stringCreate a copy of the target Pod with this name.--custom stringPath to a JSON or YAML file containing a partial container spec to customize built-in debug profiles.--env stringToString Default: []Environment variables to set in the container.-f, --filename stringsidentifying the resource to debug-h, --helphelp for debug--image stringContainer image to use for debug container.--image-pu",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_debug/",
    "id": "k8s_00525_qa_9878"
  },
  {
    "question": "When would you use kubectl debug?",
    "answer": "kubectl debugSynopsisDebug cluster resources using interactive debugging containers.'debug' provides automation for common debugging tasks for cluster objects identified by resource and name. Pods will be used by default if no resource is specified.The action taken by 'debug' varies depending on what resource is specified. Supported actions include:Workload: Create a copy of an existing pod with certain attributes changed, for example changing the image tag to a new version.Workload: Add an ephemeral container to an already running pod, for example to add debugging utilities without restarting the pod.Node: Create a new pod that runs in the node's host namespaces and can access the node's filesystem.Note: When a non-root user is configured for the entire target Pod, some capabilities granted by debug profile may not work.kubectl debug (POD | TYPE[[.VERSION].GROUP]/NAME) [ -- COMMAND [args...] ] Examples # Create an interactive debugging session in pod mypod and immediately attach to it. kubectl debug mypod -it --image=busybox # Create an interactive debugging session for the pod in the file pod.yaml and immediately attach to it. # (requires the EphemeralContainers feature to be enabled in the cluster) kubectl debug -f pod.yaml -it --image=busybox # Create a debug container named debugger using a custom automated debugging image. kubectl debug --image=myproj/debug-tools -c debugger mypod # Create a copy of mypod adding a debug container and attach to it kubectl debug mypod -it --image=busybox --copy-to=my-debugger # Create a copy of mypod changing the command of mycontainer kubectl debug mypod -it --copy-to=my-debugger --container=mycontainer -- sh # Create a copy of mypod changing all container images to busybox kubectl debug mypod --copy-to=my-debugger --set-image=*=busybox # Create a copy of mypod adding a debug container and changing container images kubectl debug mypod -it --copy-to=my-debugger --image=debian --set-image=app=app:debug,sidecar=sidecar:debug # Create an interactive debugging session on a node and immediately attach to it. # The container will run in the host namespaces and the host's filesystem will be mounted at /host kubectl debug node/mynode -it --image=busybox Options--arguments-onlyIf specified, everything after -- will be passed to the new container as Args instead of Command.--attachIf true, wait for the container to start running, and then attach as if 'kubectl attach ...' were called. Default false, unless '-i/--stdin' is set, in which case the default is true.-c, --container stringContainer name to use for debug container.--copy-to stringCreate a copy of the target Pod with this name.--custom stringPath to a JSON or YAML file containing a partial container spec to customize built-in debug profiles.--env stringToString Default: []Environment variables to set in the container.-f, --filename stringsidentifying the resource to debug-h, --helphelp for debug--image stringContainer image to use for debug container.--image-pu",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_debug/",
    "id": "k8s_00525_qa_9879"
  },
  {
    "question": "What are the benefits of kubectl debug?",
    "answer": "kubectl debugSynopsisDebug cluster resources using interactive debugging containers.'debug' provides automation for common debugging tasks for cluster objects identified by resource and name. Pods will be used by default if no resource is specified.The action taken by 'debug' varies depending on what resource is specified. Supported actions include:Workload: Create a copy of an existing pod with certain attributes changed, for example changing the image tag to a new version.Workload: Add an ephemeral container to an already running pod, for example to add debugging utilities without restarting the pod.Node: Create a new pod that runs in the node's host namespaces and can access the node's filesystem.Note: When a non-root user is configured for the entire target Pod, some capabilities granted by debug profile may not work.kubectl debug (POD | TYPE[[.VERSION].GROUP]/NAME) [ -- COMMAND [args...] ] Examples # Create an interactive debugging session in pod mypod and immediately attach to it. kubectl debug mypod -it --image=busybox # Create an interactive debugging session for the pod in the file pod.yaml and immediately attach to it. # (requires the EphemeralContainers feature to be enabled in the cluster) kubectl debug -f pod.yaml -it --image=busybox # Create a debug container named debugger using a custom automated debugging image. kubectl debug --image=myproj/debug-tools -c debugger mypod # Create a copy of mypod adding a debug container and attach to it kubectl debug mypod -it --image=busybox --copy-to=my-debugger # Create a copy of mypod changing the command of mycontainer kubectl debug mypod -it --copy-to=my-debugger --container=mycontainer -- sh # Create a copy of mypod changing all container images to busybox kubectl debug mypod --copy-to=my-debugger --set-image=*=busybox # Create a copy of mypod adding a debug container and changing container images kubectl debug mypod -it --copy-to=my-debugger --image=debian --set-image=app=app:debug,sidecar=sidecar:debug # Create an interactive debugging session on a node and immediately attach to it. # The container will run in the host namespaces and the host's filesystem will be mounted at /host kubectl debug node/mynode -it --image=busybox Options--arguments-onlyIf specified, everything after -- will be passed to the new container as Args instead of Command.--attachIf true, wait for the container to start running, and then attach as if 'kubectl attach ...' were called. Default false, unless '-i/--stdin' is set, in which case the default is true.-c, --container stringContainer name to use for debug container.--copy-to stringCreate a copy of the target Pod with this name.--custom stringPath to a JSON or YAML file containing a partial container spec to customize built-in debug profiles.--env stringToString Default: []Environment variables to set in the container.-f, --filename stringsidentifying the resource to debug-h, --helphelp for debug--image stringContainer image to use for debug container.--image-pu",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_debug/",
    "id": "k8s_00525_qa_9880"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D e b u g   c l u s t e r   r e s o u r c e s   u s i n g   i n t e r a c t i v e   d e b u g g i n g   c o n t a i n e r s .   ' d e b u g '   p r o v i d e s   a u t o m a t i o n   f o r   c o m m o n   d e b u g g i n g   t a s k s   f o r   c l u s t e r   o b j e c t s   i d e n t i f i e d   b y   r e s o u r c e   a n d   n a m e .   P o d s   w i l l   b e   u s e d   b y   d e f a u l t   i f   n o   r e s o u r c e   i s   s p e c i f i e d .   T h e   a c t i o n   t a k e n   b y   ' d e b u g '   v a r i e s   d e p e n d i n g   o n   w h a t   r e s o u r c e   i s   s p e c i f i e d .   S u p p o r t e d   a c t i o n s   i n c l u d e :   W o r k l o a d :   C r e a t e   a   c o p y   o f   a n   e x i s t i n g   p o d   w i t h   c e r t a i n   a t t r i b u t e s   c h a n g e d ,   f o r   e x a m p l e   c h a n g i n g   t h e   i m a g e   t a g   t o   a   n e w   v e r s i o n . W o r k l o a d :   A d d   a n   e p h e m e r a l   c o n t a i n e r   t o   a n   a l r e a d y   r u n n i n g   p o d ,   f o r   e x a m p l e   t o   a d d   d e b u g g i n g   u t i l i t i e s   w i t h o u t   r e s t a r t i n g   t h e   p o d . N o d e :   C r e a t e   a   n e w   p o d   t h a t   r u n s   i n   t h e   n o d e ' s   h o s t   n a m e s p a c e s   a n d   c a n   a c c e s s   t h e   n o d e ' s   f i l e s y s t e m .   N o t e :   W h e n   a   n o n - r o o t   u s e r   i s   c o n f i g u r e d   f o r   t h e   e n t i r e   t a r g e t   P o d ,   s o m e   c a p a b i l i t i e s   g r a n t e d   b y   d e b u g   p r o f i l e   m a y   n o t   w o r k .   k u b e c t l   d e b u g   ( P O D   |   T Y P E [ [ . V E R S I O N ] . G R O U P ] / N A M E )   [   - -   C O M M A N D   [ a r g s . . . ]   ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_debug/",
    "id": "k8s_00525_section_2_9881"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a n   i n t e r a c t i v e   d e b u g g i n g   s e s s i o n   i n   p o d   m y p o d   a n d   i m m e d i a t e l y   a t t a c h   t o   i t .   k u b e c t l   d e b u g   m y p o d   - i t   - - i m a g e = b u s y b o x   #   C r e a t e   a n   i n t e r a c t i v e   d e b u g g i n g   s e s s i o n   f o r   t h e   p o d   i n   t h e   f i l e   p o d . y a m l   a n d   i m m e d i a t e l y   a t t a c h   t o   i t .   #   ( r e q u i r e s   t h e   E p h e m e r a l C o n t a i n e r s   f e a t u r e   t o   b e   e n a b l e d   i n   t h e   c l u s t e r )   k u b e c t l   d e b u g   - f   p o d . y a m l   - i t   - - i m a g e = b u s y b o x   #   C r e a t e   a   d e b u g   c o n t a i n e r   n a m e d   d e b u g g e r   u s i n g   a   c u s t o m   a u t o m a t e d   d e b u g g i n g   i m a g e .   k u b e c t l   d e b u g   - - i m a g e = m y p r o j / d e b u g - t o o l s   - c   d e b u g g e r   m y p o d   #   C r e a t e   a   c o p y   o f   m y p o d   a d d i n g   a   d e b u g   c o n t a i n e r   a n d   a t t a c h   t o   i t   k u b e c t l   d e b u g   m y p o d   - i t   - - i m a g e = b u s y b o x   - - c o p y - t o = m y - d e b u g g e r   #   C r e a t e   a   c o p y   o f   m y p o d   c h a n g i n g   t h e   c o m m a n d   o f   m y c o n t a i n e r   k u b e c t l   d e b u g   m y p o d   - i t   - - c o p y - t o = m y - d e b u g g e r   - - c o n t a i n e r = m y c o n t a i n e r   - -   s h   #   C r e a t e   a   c o p y   o f   m y p o d   c h a n g i n g   a l l   c o n t a i n e r   i m a g e s   t o   b u s y b o x   k u b e c t l   d e b u g   m y p o d   - - c o p y - t o = m y - d e b u g g e r   - - s e t - i m a g e = * = b u s y b o x   #   C r e a t e   a   c o p y   o f   m y p o d   a d d i n g   a   d e b u g   c o n t a i n e r   a n d   c h a n g i n g   c o n t a i n e r   i m a g e s   k u b e c t l   d e b u g   m y p o d   - i t   - - c o p y - ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_debug/",
    "id": "k8s_00525_section_2_9882"
  },
  {
    "question": "What is Options?",
    "answer": "I f   s p e c i f i e d ,   e v e r y t h i n g   a f t e r   - -   w i l l   b e   p a s s e d   t o   t h e   n e w   c o n t a i n e r   a s   A r g s   i n s t e a d   o f   C o m m a n d .   I f   t r u e ,   w a i t   f o r   t h e   c o n t a i n e r   t o   s t a r t   r u n n i n g ,   a n d   t h e n   a t t a c h   a s   i f   ' k u b e c t l   a t t a c h   . . . '   w e r e   c a l l e d .   D e f a u l t   f a l s e ,   u n l e s s   ' - i / - - s t d i n '   i s   s e t ,   i n   w h i c h   c a s e   t h e   d e f a u l t   i s   t r u e .   C o n t a i n e r   n a m e   t o   u s e   f o r   d e b u g   c o n t a i n e r .   C r e a t e   a   c o p y   o f   t h e   t a r g e t   P o d   w i t h   t h i s   n a m e .   P a t h   t o   a   J S O N   o r   Y A M L   f i l e   c o n t a i n i n g   a   p a r t i a l   c o n t a i n e r   s p e c   t o   c u s t o m i z e   b u i l t - i n   d e b u g   p r o f i l e s .   E n v i r o n m e n t   v a r i a b l e s   t o   s e t   i n   t h e   c o n t a i n e r .   i d e n t i f y i n g   t h e   r e s o u r c e   t o   d e b u g   h e l p   f o r   d e b u g   C o n t a i n e r   i m a g e   t o   u s e   f o r   d e b u g   c o n t a i n e r .   T h e   i m a g e   p u l l   p o l i c y   f o r   t h e   c o n t a i n e r .   I f   l e f t   e m p t y ,   t h i s   v a l u e   w i l l   n o t   b e   s p e c i f i e d   b y   t h e   c l i e n t   a n d   d e f a u l t e d   b y   t h e   s e r v e r .   I f   t r u e ,   k e e p   t h e   o r i g i n a l   p o d   a n n o t a t i o n s . ( T h i s   f l a g   o n l y   w o r k s   w h e n   u s e d   w i t h   ' - - c o p y - t o ' )   R u n   t h e   i n i t   c o n t a i n e r s   f o r   t h e   p o d .   D e f a u l t s   t o   t r u e . ( T h i s   f l a g   o n l y   w o r k s   w h e n   u s e d   w i t h   ' - - c o p y - t o ' )   I f   t r u e ,   k e e p   t h e   o r i g i n a l   p o d   l a b e l s . ( T h i s   f l a g   o n l y   w o ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_debug/",
    "id": "k8s_00525_section_2_9883"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_debug/",
    "id": "k8s_00525_section_2_9884"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_debug/",
    "id": "k8s_00525_section_2_9885"
  },
  {
    "question": "What is Dynamic Admission Control?",
    "answer": "Dynamic Admission ControlIn addition to compiled-in admission plugins, admission plugins can be developed as extensions and run as webhooks configured at runtime. This page describes how to build, configure, use, and monitor admission webhooks.What are admission webhooks?Admission webhooks are HTTP callbacks that receive admission requests and do something with them. You can define two types of admission webhooks, validating admission webhook and mutating admission webhook. Mutating admission webhooks are invoked first, and can modify objects sent to the API server to enforce custom defaults. After all object modifications are complete, and after the incoming object is validated by the API server, validating admission webhooks are invoked and can reject requests to enforce custom policies.Note:Admission webhooks that need to guarantee they see the final state of the object in order to enforce policy should use a validating admission webhook, since objects can be modified after being seen by mutating webhooks.Experimenting with admission webhooksAdmission webhooks are essentially part of the cluster control-plane. You should write and deploy them with great caution. Please read the user guides for instructions if you intend to write/deploy production-grade admission webhooks. In the following, we describe how to quickly experiment with admission webhooks.PrerequisitesEnsure that MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission controllers are enabled. Here is a recommended set of admission controllers to enable in general.Ensure that the admissionregistration.k8s.io/v1 API is enabled.Write an admission webhook serverPlease refer to the implementation of the admission webhook server that is validated in a Kubernetes e2e test. The webhook handles the AdmissionReview request sent by the API servers, and sends back its decision as an AdmissionReview object in the same version it received.See the webhook request section for details on the data sent to webhooks.See the webhook response section for the data expected from webhooks.The example admission webhook server leaves the ClientAuth field empty, which defaults to NoClientCert. This means that the webhook server does not authenticate the identity of the clients, supposedly API servers. If you need mutual TLS or other ways to authenticate the clients, see how to authenticate API servers.Deploy the admission webhook serviceThe webhook server in the e2e test is deployed in the Kubernetes cluster, via the deployment API. The test also creates a service as the front-end of the webhook server. See code.You may also deploy your webhooks outside of the cluster. You will need to update your webhook configurations accordingly.Configure admission webhooks on the flyYou can dynamically configure what resources are subject to what admission webhooks via ValidatingWebhookConfiguration or MutatingWebhookConfiguration.The following is an example ValidatingWebhookConfiguration, a mutating webhook con",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_qa_9886"
  },
  {
    "question": "How does Dynamic Admission Control work?",
    "answer": "Dynamic Admission ControlIn addition to compiled-in admission plugins, admission plugins can be developed as extensions and run as webhooks configured at runtime. This page describes how to build, configure, use, and monitor admission webhooks.What are admission webhooks?Admission webhooks are HTTP callbacks that receive admission requests and do something with them. You can define two types of admission webhooks, validating admission webhook and mutating admission webhook. Mutating admission webhooks are invoked first, and can modify objects sent to the API server to enforce custom defaults. After all object modifications are complete, and after the incoming object is validated by the API server, validating admission webhooks are invoked and can reject requests to enforce custom policies.Note:Admission webhooks that need to guarantee they see the final state of the object in order to enforce policy should use a validating admission webhook, since objects can be modified after being seen by mutating webhooks.Experimenting with admission webhooksAdmission webhooks are essentially part of the cluster control-plane. You should write and deploy them with great caution. Please read the user guides for instructions if you intend to write/deploy production-grade admission webhooks. In the following, we describe how to quickly experiment with admission webhooks.PrerequisitesEnsure that MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission controllers are enabled. Here is a recommended set of admission controllers to enable in general.Ensure that the admissionregistration.k8s.io/v1 API is enabled.Write an admission webhook serverPlease refer to the implementation of the admission webhook server that is validated in a Kubernetes e2e test. The webhook handles the AdmissionReview request sent by the API servers, and sends back its decision as an AdmissionReview object in the same version it received.See the webhook request section for details on the data sent to webhooks.See the webhook response section for the data expected from webhooks.The example admission webhook server leaves the ClientAuth field empty, which defaults to NoClientCert. This means that the webhook server does not authenticate the identity of the clients, supposedly API servers. If you need mutual TLS or other ways to authenticate the clients, see how to authenticate API servers.Deploy the admission webhook serviceThe webhook server in the e2e test is deployed in the Kubernetes cluster, via the deployment API. The test also creates a service as the front-end of the webhook server. See code.You may also deploy your webhooks outside of the cluster. You will need to update your webhook configurations accordingly.Configure admission webhooks on the flyYou can dynamically configure what resources are subject to what admission webhooks via ValidatingWebhookConfiguration or MutatingWebhookConfiguration.The following is an example ValidatingWebhookConfiguration, a mutating webhook con",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_qa_9887"
  },
  {
    "question": "When would you use Dynamic Admission Control?",
    "answer": "Dynamic Admission ControlIn addition to compiled-in admission plugins, admission plugins can be developed as extensions and run as webhooks configured at runtime. This page describes how to build, configure, use, and monitor admission webhooks.What are admission webhooks?Admission webhooks are HTTP callbacks that receive admission requests and do something with them. You can define two types of admission webhooks, validating admission webhook and mutating admission webhook. Mutating admission webhooks are invoked first, and can modify objects sent to the API server to enforce custom defaults. After all object modifications are complete, and after the incoming object is validated by the API server, validating admission webhooks are invoked and can reject requests to enforce custom policies.Note:Admission webhooks that need to guarantee they see the final state of the object in order to enforce policy should use a validating admission webhook, since objects can be modified after being seen by mutating webhooks.Experimenting with admission webhooksAdmission webhooks are essentially part of the cluster control-plane. You should write and deploy them with great caution. Please read the user guides for instructions if you intend to write/deploy production-grade admission webhooks. In the following, we describe how to quickly experiment with admission webhooks.PrerequisitesEnsure that MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission controllers are enabled. Here is a recommended set of admission controllers to enable in general.Ensure that the admissionregistration.k8s.io/v1 API is enabled.Write an admission webhook serverPlease refer to the implementation of the admission webhook server that is validated in a Kubernetes e2e test. The webhook handles the AdmissionReview request sent by the API servers, and sends back its decision as an AdmissionReview object in the same version it received.See the webhook request section for details on the data sent to webhooks.See the webhook response section for the data expected from webhooks.The example admission webhook server leaves the ClientAuth field empty, which defaults to NoClientCert. This means that the webhook server does not authenticate the identity of the clients, supposedly API servers. If you need mutual TLS or other ways to authenticate the clients, see how to authenticate API servers.Deploy the admission webhook serviceThe webhook server in the e2e test is deployed in the Kubernetes cluster, via the deployment API. The test also creates a service as the front-end of the webhook server. See code.You may also deploy your webhooks outside of the cluster. You will need to update your webhook configurations accordingly.Configure admission webhooks on the flyYou can dynamically configure what resources are subject to what admission webhooks via ValidatingWebhookConfiguration or MutatingWebhookConfiguration.The following is an example ValidatingWebhookConfiguration, a mutating webhook con",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_qa_9888"
  },
  {
    "question": "What are the benefits of Dynamic Admission Control?",
    "answer": "Dynamic Admission ControlIn addition to compiled-in admission plugins, admission plugins can be developed as extensions and run as webhooks configured at runtime. This page describes how to build, configure, use, and monitor admission webhooks.What are admission webhooks?Admission webhooks are HTTP callbacks that receive admission requests and do something with them. You can define two types of admission webhooks, validating admission webhook and mutating admission webhook. Mutating admission webhooks are invoked first, and can modify objects sent to the API server to enforce custom defaults. After all object modifications are complete, and after the incoming object is validated by the API server, validating admission webhooks are invoked and can reject requests to enforce custom policies.Note:Admission webhooks that need to guarantee they see the final state of the object in order to enforce policy should use a validating admission webhook, since objects can be modified after being seen by mutating webhooks.Experimenting with admission webhooksAdmission webhooks are essentially part of the cluster control-plane. You should write and deploy them with great caution. Please read the user guides for instructions if you intend to write/deploy production-grade admission webhooks. In the following, we describe how to quickly experiment with admission webhooks.PrerequisitesEnsure that MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission controllers are enabled. Here is a recommended set of admission controllers to enable in general.Ensure that the admissionregistration.k8s.io/v1 API is enabled.Write an admission webhook serverPlease refer to the implementation of the admission webhook server that is validated in a Kubernetes e2e test. The webhook handles the AdmissionReview request sent by the API servers, and sends back its decision as an AdmissionReview object in the same version it received.See the webhook request section for details on the data sent to webhooks.See the webhook response section for the data expected from webhooks.The example admission webhook server leaves the ClientAuth field empty, which defaults to NoClientCert. This means that the webhook server does not authenticate the identity of the clients, supposedly API servers. If you need mutual TLS or other ways to authenticate the clients, see how to authenticate API servers.Deploy the admission webhook serviceThe webhook server in the e2e test is deployed in the Kubernetes cluster, via the deployment API. The test also creates a service as the front-end of the webhook server. See code.You may also deploy your webhooks outside of the cluster. You will need to update your webhook configurations accordingly.Configure admission webhooks on the flyYou can dynamically configure what resources are subject to what admission webhooks via ValidatingWebhookConfiguration or MutatingWebhookConfiguration.The following is an example ValidatingWebhookConfiguration, a mutating webhook con",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_qa_9889"
  },
  {
    "question": "What is Dynamic Admission Control?",
    "answer": "I n   a d d i t i o n   t o   c o m p i l e d - i n   a d m i s s i o n   p l u g i n s ,   a d m i s s i o n   p l u g i n s   c a n   b e   d e v e l o p e d   a s   e x t e n s i o n s   a n d   r u n   a s   w e b h o o k s   c o n f i g u r e d   a t   r u n t i m e .   T h i s   p a g e   d e s c r i b e s   h o w   t o   b u i l d ,   c o n f i g u r e ,   u s e ,   a n d   m o n i t o r   a d m i s s i o n   w e b h o o k s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_1_9890"
  },
  {
    "question": "What is What are admission webhooks??",
    "answer": "A d m i s s i o n   w e b h o o k s   a r e   H T T P   c a l l b a c k s   t h a t   r e c e i v e   a d m i s s i o n   r e q u e s t s   a n d   d o   s o m e t h i n g   w i t h   t h e m .   Y o u   c a n   d e f i n e   t w o   t y p e s   o f   a d m i s s i o n   w e b h o o k s ,   v a l i d a t i n g   a d m i s s i o n   w e b h o o k   a n d   m u t a t i n g   a d m i s s i o n   w e b h o o k .   M u t a t i n g   a d m i s s i o n   w e b h o o k s   a r e   i n v o k e d   f i r s t ,   a n d   c a n   m o d i f y   o b j e c t s   s e n t   t o   t h e   A P I   s e r v e r   t o   e n f o r c e   c u s t o m   d e f a u l t s .   A f t e r   a l l   o b j e c t   m o d i f i c a t i o n s   a r e   c o m p l e t e ,   a n d   a f t e r   t h e   i n c o m i n g   o b j e c t   i s   v a l i d a t e d   b y   t h e   A P I   s e r v e r ,   v a l i d a t i n g   a d m i s s i o n   w e b h o o k s   a r e   i n v o k e d   a n d   c a n   r e j e c t   r e q u e s t s   t o   e n f o r c e   c u s t o m   p o l i c i e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_2_9891"
  },
  {
    "question": "What is Experimenting with admission webhooks?",
    "answer": "A d m i s s i o n   w e b h o o k s   a r e   e s s e n t i a l l y   p a r t   o f   t h e   c l u s t e r   c o n t r o l - p l a n e .   Y o u   s h o u l d   w r i t e   a n d   d e p l o y   t h e m   w i t h   g r e a t   c a u t i o n .   P l e a s e   r e a d   t h e   u s e r   g u i d e s   f o r   i n s t r u c t i o n s   i f   y o u   i n t e n d   t o   w r i t e / d e p l o y   p r o d u c t i o n - g r a d e   a d m i s s i o n   w e b h o o k s .   I n   t h e   f o l l o w i n g ,   w e   d e s c r i b e   h o w   t o   q u i c k l y   e x p e r i m e n t   w i t h   a d m i s s i o n   w e b h o o k s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_2_9892"
  },
  {
    "question": "What is Prerequisites?",
    "answer": "E n s u r e   t h a t   M u t a t i n g A d m i s s i o n W e b h o o k   a n d   V a l i d a t i n g A d m i s s i o n W e b h o o k   a d m i s s i o n   c o n t r o l l e r s   a r e   e n a b l e d .   H e r e   i s   a   r e c o m m e n d e d   s e t   o f   a d m i s s i o n   c o n t r o l l e r s   t o   e n a b l e   i n   g e n e r a l . E n s u r e   t h a t   t h e   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   A P I   i s   e n a b l e d .   E n s u r e   t h a t   M u t a t i n g A d m i s s i o n W e b h o o k   a n d   V a l i d a t i n g A d m i s s i o n W e b h o o k   a d m i s s i o n   c o n t r o l l e r s   a r e   e n a b l e d .   H e r e   i s   a   r e c o m m e n d e d   s e t   o f   a d m i s s i o n   c o n t r o l l e r s   t o   e n a b l e   i n   g e n e r a l .   E n s u r e   t h a t   t h e   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   A P I   i s   e n a b l e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_3_9893"
  },
  {
    "question": "What is Write an admission webhook server?",
    "answer": "P l e a s e   r e f e r   t o   t h e   i m p l e m e n t a t i o n   o f   t h e   a d m i s s i o n   w e b h o o k   s e r v e r   t h a t   i s   v a l i d a t e d   i n   a   K u b e r n e t e s   e 2 e   t e s t .   T h e   w e b h o o k   h a n d l e s   t h e   A d m i s s i o n R e v i e w   r e q u e s t   s e n t   b y   t h e   A P I   s e r v e r s ,   a n d   s e n d s   b a c k   i t s   d e c i s i o n   a s   a n   A d m i s s i o n R e v i e w   o b j e c t   i n   t h e   s a m e   v e r s i o n   i t   r e c e i v e d .   S e e   t h e   w e b h o o k   r e q u e s t   s e c t i o n   f o r   d e t a i l s   o n   t h e   d a t a   s e n t   t o   w e b h o o k s .   S e e   t h e   w e b h o o k   r e s p o n s e   s e c t i o n   f o r   t h e   d a t a   e x p e c t e d   f r o m   w e b h o o k s .   T h e   e x a m p l e   a d m i s s i o n   w e b h o o k   s e r v e r   l e a v e s   t h e   C l i e n t A u t h   f i e l d   e m p t y ,   w h i c h   d e f a u l t s   t o   N o C l i e n t C e r t .   T h i s   m e a n s   t h a t   t h e   w e b h o o k   s e r v e r   d o e s   n o t   a u t h e n t i c a t e   t h e   i d e n t i t y   o f   t h e   c l i e n t s ,   s u p p o s e d l y   A P I   s e r v e r s .   I f   y o u   n e e d   m u t u a l   T L S   o r   o t h e r   w a y s   t o   a u t h e n t i c a t e   t h e   c l i e n t s ,   s e e   h o w   t o   a u t h e n t i c a t e   A P I   s e r v e r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_3_9894"
  },
  {
    "question": "What is Deploy the admission webhook service?",
    "answer": "T h e   w e b h o o k   s e r v e r   i n   t h e   e 2 e   t e s t   i s   d e p l o y e d   i n   t h e   K u b e r n e t e s   c l u s t e r ,   v i a   t h e   d e p l o y m e n t   A P I .   T h e   t e s t   a l s o   c r e a t e s   a   s e r v i c e   a s   t h e   f r o n t - e n d   o f   t h e   w e b h o o k   s e r v e r .   S e e   c o d e .   Y o u   m a y   a l s o   d e p l o y   y o u r   w e b h o o k s   o u t s i d e   o f   t h e   c l u s t e r .   Y o u   w i l l   n e e d   t o   u p d a t e   y o u r   w e b h o o k   c o n f i g u r a t i o n s   a c c o r d i n g l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_3_9895"
  },
  {
    "question": "What is Configure admission webhooks on the fly?",
    "answer": "Y o u   c a n   d y n a m i c a l l y   c o n f i g u r e   w h a t   r e s o u r c e s   a r e   s u b j e c t   t o   w h a t   a d m i s s i o n   w e b h o o k s   v i a   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   o r   M u t a t i n g W e b h o o k C o n f i g u r a t i o n .   T h e   f o l l o w i n g   i s   a n   e x a m p l e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ,   a   m u t a t i n g   w e b h o o k   c o n f i g u r a t i o n   i s   s i m i l a r .   S e e   t h e   w e b h o o k   c o n f i g u r a t i o n   s e c t i o n   f o r   d e t a i l s   a b o u t   e a c h   c o n f i g   f i e l d .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   m e t a d a t a :   n a m e :   \" p o d - p o l i c y . e x a m p l e . c o m \"   w e b h o o k s :   -   n a m e :   \" p o d - p o l i c y . e x a m p l e . c o m \"   r u l e s :   -   a p i G r o u p s :   [ \" \" ]   a p i V e r s i o n s :   [ \" v 1 \" ]   o p e r a t i o n s :   [ \" C R E A T E \" ]   r e s o u r c e s :   [ \" p o d s \" ]   s c o p e :   \" N a m e s p a c e d \"   c l i e n t C o n f i g :   s e r v i c e :   n a m e s p a c e :   \" e x a m p l e - n a m e s p a c e \"   n a m e :   \" e x a m p l e - s e r v i c e \"   c a B u n d l e :   < C A _ B U N D L E >   a d m i s s i o n R e v i e w V e r s i o n s :   [ \" v 1 \" ]   s i d e E f f e c t s :   N o n e   t i m e o u t S e c o n d s :   5",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_3_9896"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   s c o p e   f i e l d   s p e c i f i e s   i f   o n l y   c l u s t e r - s c o p e d   r e s o u r c e s   ( \" C l u s t e r \" )   o r   n a m e s p a c e - s c o p e d   r e s o u r c e s   ( \" N a m e s p a c e d \" )   w i l l   m a t c h   t h i s   r u l e .   \" ∗ \"   m e a n s   t h a t   t h e r e   a r e   n o   s c o p e   r e s t r i c t i o n s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_4_9897"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   a n   A P I   s e r v e r   r e c e i v e s   a   r e q u e s t   t h a t   m a t c h e s   o n e   o f   t h e   r u l e s ,   t h e   A P I   s e r v e r   s e n d s   a n   a d m i s s i o n R e v i e w   r e q u e s t   t o   w e b h o o k   a s   s p e c i f i e d   i n   t h e   c l i e n t C o n f i g .   A f t e r   y o u   c r e a t e   t h e   w e b h o o k   c o n f i g u r a t i o n ,   t h e   s y s t e m   w i l l   t a k e   a   f e w   s e c o n d s   t o   h o n o r   t h e   n e w   c o n f i g u r a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_4_9898"
  },
  {
    "question": "What is Authenticate API servers?",
    "answer": "I f   y o u r   a d m i s s i o n   w e b h o o k s   r e q u i r e   a u t h e n t i c a t i o n ,   y o u   c a n   c o n f i g u r e   t h e   A P I   s e r v e r s   t o   u s e   b a s i c   a u t h ,   b e a r e r   t o k e n ,   o r   a   c e r t   t o   a u t h e n t i c a t e   i t s e l f   t o   t h e   w e b h o o k s .   T h e r e   a r e   t h r e e   s t e p s   t o   c o m p l e t e   t h e   c o n f i g u r a t i o n .   W h e n   s t a r t i n g   t h e   A P I   s e r v e r ,   s p e c i f y   t h e   l o c a t i o n   o f   t h e   a d m i s s i o n   c o n t r o l   c o n f i g u r a t i o n   f i l e   v i a   t h e   - - a d m i s s i o n - c o n t r o l - c o n f i g - f i l e   f l a g . I n   t h e   a d m i s s i o n   c o n t r o l   c o n f i g u r a t i o n   f i l e ,   s p e c i f y   w h e r e   t h e   M u t a t i n g A d m i s s i o n W e b h o o k   c o n t r o l l e r   a n d   V a l i d a t i n g A d m i s s i o n W e b h o o k   c o n t r o l l e r   s h o u l d   r e a d   t h e   c r e d e n t i a l s .   T h e   c r e d e n t i a l s   a r e   s t o r e d   i n   k u b e C o n f i g   f i l e s   ( y e s ,   t h e   s a m e   s c h e m a   t h a t ' s   u s e d   b y   k u b e c t l ) ,   s o   t h e   f i e l d   n a m e   i s   k u b e C o n f i g F i l e .   H e r e   i s   a n   e x a m p l e   a d m i s s i o n   c o n t r o l   c o n f i g u r a t i o n   f i l e :   W h e n   s t a r t i n g   t h e   A P I   s e r v e r ,   s p e c i f y   t h e   l o c a t i o n   o f   t h e   a d m i s s i o n   c o n t r o l   c o n f i g u r a t i o n   f i l e   v i a   t h e   - - a d m i s s i o n - c o n t r o l - c o n f i g - f i l e   f l a g .   I n   t h e   a d m i s s i o n   c o n t r o l   c o n f i g u r a t i o n   f i l e ,   s p e c i f y   w h e r e   t h e   M u t a t i n g A d m i s s i o n W e b h o o k   c o n t r o l l e r   a n d   V a l i d a t i n g A d m i s s i o n W e b h o o k   c o n t r o l l e r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_3_9899"
  },
  {
    "question": "What is Request?",
    "answer": "W e b h o o k s   a r e   s e n t   a s   P O S T   r e q u e s t s ,   w i t h   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n ,   w i t h   a n   A d m i s s i o n R e v i e w   A P I   o b j e c t   i n   t h e   a d m i s s i o n . k 8 s . i o   A P I   g r o u p   s e r i a l i z e d   t o   J S O N   a s   t h e   b o d y .   W e b h o o k s   c a n   s p e c i f y   w h a t   v e r s i o n s   o f   A d m i s s i o n R e v i e w   o b j e c t s   t h e y   a c c e p t   w i t h   t h e   a d m i s s i o n R e v i e w V e r s i o n s   f i e l d   i n   t h e i r   c o n f i g u r a t i o n :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   w e b h o o k s :   -   n a m e :   m y - w e b h o o k . e x a m p l e . c o m   a d m i s s i o n R e v i e w V e r s i o n s :   [ \" v 1 \" ,   \" v 1 b e t a 1 \" ]   a d m i s s i o n R e v i e w V e r s i o n s   i s   a   r e q u i r e d   f i e l d   w h e n   c r e a t i n g   w e b h o o k   c o n f i g u r a t i o n s .   W e b h o o k s   a r e   r e q u i r e d   t o   s u p p o r t   a t   l e a s t   o n e   A d m i s s i o n R e v i e w   v e r s i o n   u n d e r s t o o d   b y   t h e   c u r r e n t   a n d   p r e v i o u s   A P I   s e r v e r .   A P I   s e r v e r s   s e n d   t h e   f i r s t   A d m i s s i o n R e v i e w   v e r s i o n   i n   t h e   a d m i s s i o n R e v i e w V e r s i o n s   l i s t   t h e y   s u p p o r t .   I f   n o n e   o f   t h e   v e r s i o n s   i n   t h e   l i s t   a r e   s u p p o r t e d   b y   t h e   A P I   s e r v e r ,   t h e   c o n f i g u r a t i o n   w i l l   n o t   b e   a l l o w e d   t o   b e   c r e a t e d .   I f   a n   A P I   s e r v e r   e n c o u n t e r s   a   w e b h o o k   c o n f i g u r a t i o n   t h a t   w a s   p r e v i o u s l y   c r e a t e d   a n d   d o e s   n o t   s u p p o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_3_9900"
  },
  {
    "question": "What is Response?",
    "answer": "W e b h o o k s   r e s p o n d   w i t h   a   2 0 0   H T T P   s t a t u s   c o d e ,   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n ,   a n d   a   b o d y   c o n t a i n i n g   a n   A d m i s s i o n R e v i e w   o b j e c t   ( i n   t h e   s a m e   v e r s i o n   t h e y   w e r e   s e n t ) ,   w i t h   t h e   r e s p o n s e   s t a n z a   p o p u l a t e d ,   s e r i a l i z e d   t o   J S O N .   A t   a   m i n i m u m ,   t h e   r e s p o n s e   s t a n z a   m u s t   c o n t a i n   t h e   f o l l o w i n g   f i e l d s :   u i d ,   c o p i e d   f r o m   t h e   r e q u e s t . u i d   s e n t   t o   t h e   w e b h o o k a l l o w e d ,   e i t h e r   s e t   t o   t r u e   o r   f a l s e   E x a m p l e   o f   a   m i n i m a l   r e s p o n s e   f r o m   a   w e b h o o k   t o   a l l o w   a   r e q u e s t :   {   \" a p i V e r s i o n \" :   \" a d m i s s i o n . k 8 s . i o / v 1 \" ,   \" k i n d \" :   \" A d m i s s i o n R e v i e w \" ,   \" r e s p o n s e \" :   {   \" u i d \" :   \" < v a l u e   f r o m   r e q u e s t . u i d > \" ,   \" a l l o w e d \" :   t r u e   }   }   E x a m p l e   o f   a   m i n i m a l   r e s p o n s e   f r o m   a   w e b h o o k   t o   f o r b i d   a   r e q u e s t :   {   \" a p i V e r s i o n \" :   \" a d m i s s i o n . k 8 s . i o / v 1 \" ,   \" k i n d \" :   \" A d m i s s i o n R e v i e w \" ,   \" r e s p o n s e \" :   {   \" u i d \" :   \" < v a l u e   f r o m   r e q u e s t . u i d > \" ,   \" a l l o w e d \" :   f a l s e   }   }   W h e n   r e j e c t i n g   a   r e q u e s t ,   t h e   w e b h o o k   c a n   c u s t o m i z e   t h e   h t t p   c o d e   a n d   m e s s a g e   r e t u r n e d   t o   t h e   u s e r   u s i n g   t h e   s t a t u s   f i e l d .   T h e   s p e c i f i e d   s t a t u s   o b j e c t   i s   r e t u r n e d   t o   t h e   u s e r .   S e e   t h e   A P I   d o c u m e n t a t i o n   f o r   d e t a i l s   a b o u t   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_3_9901"
  },
  {
    "question": "What is Caution:?",
    "answer": "{   \" a p i V e r s i o n \" :   \" a d m i s s i o n . k 8 s . i o / v 1 \" ,   \" k i n d \" :   \" A d m i s s i o n R e v i e w \" ,   \" r e s p o n s e \" :   {   \" u i d \" :   \" < v a l u e   f r o m   r e q u e s t . u i d > \" ,   \" a l l o w e d \" :   t r u e ,   \" w a r n i n g s \" :   [   \" d u p l i c a t e   e n v v a r   e n t r i e s   s p e c i f i e d   w i t h   n a m e   M Y _ E N V \" ,   \" m e m o r y   r e q u e s t   l e s s   t h a n   4 M B   s p e c i f i e d   f o r   c o n t a i n e r   m y c o n t a i n e r ,   w h i c h   w i l l   n o t   s t a r t   s u c c e s s f u l l y \"   ]   }   }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_4_9902"
  },
  {
    "question": "What is Webhook configuration?",
    "answer": "T o   r e g i s t e r   a d m i s s i o n   w e b h o o k s ,   c r e a t e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   o r   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   A P I   o b j e c t s .   T h e   n a m e   o f   a   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   o r   a   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   E a c h   c o n f i g u r a t i o n   c a n   c o n t a i n   o n e   o r   m o r e   w e b h o o k s .   I f   m u l t i p l e   w e b h o o k s   a r e   s p e c i f i e d   i n   a   s i n g l e   c o n f i g u r a t i o n ,   e a c h   m u s t   b e   g i v e n   a   u n i q u e   n a m e .   T h i s   i s   r e q u i r e d   i n   o r d e r   t o   m a k e   r e s u l t i n g   a u d i t   l o g s   a n d   m e t r i c s   e a s i e r   t o   m a t c h   u p   t o   a c t i v e   c o n f i g u r a t i o n s .   E a c h   w e b h o o k   d e f i n e s   t h e   f o l l o w i n g   t h i n g s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_2_9903"
  },
  {
    "question": "What is Matching requests: rules?",
    "answer": "E a c h   w e b h o o k   m u s t   s p e c i f y   a   l i s t   o f   r u l e s   u s e d   t o   d e t e r m i n e   i f   a   r e q u e s t   t o   t h e   A P I   s e r v e r   s h o u l d   b e   s e n t   t o   t h e   w e b h o o k .   E a c h   r u l e   s p e c i f i e s   o n e   o r   m o r e   o p e r a t i o n s ,   a p i G r o u p s ,   a p i V e r s i o n s ,   a n d   r e s o u r c e s ,   a n d   a   r e s o u r c e   s c o p e :   o p e r a t i o n s   l i s t s   o n e   o r   m o r e   o p e r a t i o n s   t o   m a t c h .   C a n   b e   \" C R E A T E \" ,   \" U P D A T E \" ,   \" D E L E T E \" ,   \" C O N N E C T \" ,   o r   \" * \"   t o   m a t c h   a l l . a p i G r o u p s   l i s t s   o n e   o r   m o r e   A P I   g r o u p s   t o   m a t c h .   \" \"   i s   t h e   c o r e   A P I   g r o u p .   \" * \"   m a t c h e s   a l l   A P I   g r o u p s . a p i V e r s i o n s   l i s t s   o n e   o r   m o r e   A P I   v e r s i o n s   t o   m a t c h .   \" * \"   m a t c h e s   a l l   A P I   v e r s i o n s . r e s o u r c e s   l i s t s   o n e   o r   m o r e   r e s o u r c e s   t o   m a t c h . \" * \"   m a t c h e s   a l l   r e s o u r c e s ,   b u t   n o t   s u b r e s o u r c e s . \" * / * \"   m a t c h e s   a l l   r e s o u r c e s   a n d   s u b r e s o u r c e s . \" p o d s / * \"   m a t c h e s   a l l   s u b r e s o u r c e s   o f   p o d s . \" * / s t a t u s \"   m a t c h e s   a l l   s t a t u s   s u b r e s o u r c e s . s c o p e   s p e c i f i e s   a   s c o p e   t o   m a t c h .   V a l i d   v a l u e s   a r e   \" C l u s t e r \" ,   \" N a m e s p a c e d \" ,   a n d   \" * \" .   S u b r e s o u r c e s   m a t c h   t h e   s c o p e   o f   t h e i r   p a r e n t   r e s o u r c e .   D e f a u l t   i s   \" * \" . \" C l u s t e r \"   m e a n s   t h a t   o n l y   c l u s t e r - s c o p e d   r e s o u r c e s   w i l l   m a t c h   t h i s   r u l e   ( N a m e s p a c e   A P I   o b j e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_3_9904"
  },
  {
    "question": "What is Matching requests: objectSelector?",
    "answer": "W e b h o o k s   m a y   o p t i o n a l l y   l i m i t   w h i c h   r e q u e s t s   a r e   i n t e r c e p t e d   b a s e d   o n   t h e   l a b e l s   o f   t h e   o b j e c t s   t h e y   w o u l d   b e   s e n t ,   b y   s p e c i f y i n g   a n   o b j e c t S e l e c t o r .   I f   s p e c i f i e d ,   t h e   o b j e c t S e l e c t o r   i s   e v a l u a t e d   a g a i n s t   b o t h   t h e   o b j e c t   a n d   o l d O b j e c t   t h a t   w o u l d   b e   s e n t   t o   t h e   w e b h o o k ,   a n d   i s   c o n s i d e r e d   t o   m a t c h   i f   e i t h e r   o b j e c t   m a t c h e s   t h e   s e l e c t o r .   A   n u l l   o b j e c t   ( o l d O b j e c t   i n   t h e   c a s e   o f   c r e a t e ,   o r   n e w O b j e c t   i n   t h e   c a s e   o f   d e l e t e ) ,   o r   a n   o b j e c t   t h a t   c a n n o t   h a v e   l a b e l s   ( l i k e   a   D e p l o y m e n t R o l l b a c k   o r   a   P o d P r o x y O p t i o n s   o b j e c t )   i s   n o t   c o n s i d e r e d   t o   m a t c h .   U s e   t h e   o b j e c t   s e l e c t o r   o n l y   i f   t h e   w e b h o o k   i s   o p t - i n ,   b e c a u s e   e n d   u s e r s   m a y   s k i p   t h e   a d m i s s i o n   w e b h o o k   b y   s e t t i n g   t h e   l a b e l s .   T h i s   e x a m p l e   s h o w s   a   m u t a t i n g   w e b h o o k   t h a t   w o u l d   m a t c h   a   C R E A T E   o f   a n y   r e s o u r c e   ( b u t   n o t   s u b r e s o u r c e s )   w i t h   t h e   l a b e l   f o o :   b a r :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   w e b h o o k s :   -   n a m e :   m y - w e b h o o k . e x a m p l e . c o m   o b j e c t S e l e c t o r :   m a t c h L a b e l s :   f o o :   b a r   r u l e s :   -   o p e r a t i o n s :   [ \" C R E A T E \" ]   a p i G r o u p s :   [ \" * \" ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_3_9905"
  },
  {
    "question": "What is Matching requests: namespaceSelector?",
    "answer": "W e b h o o k s   m a y   o p t i o n a l l y   l i m i t   w h i c h   r e q u e s t s   f o r   n a m e s p a c e d   r e s o u r c e s   a r e   i n t e r c e p t e d ,   b a s e d   o n   t h e   l a b e l s   o f   t h e   c o n t a i n i n g   n a m e s p a c e ,   b y   s p e c i f y i n g   a   n a m e s p a c e S e l e c t o r .   T h e   n a m e s p a c e S e l e c t o r   d e c i d e s   w h e t h e r   t o   r u n   t h e   w e b h o o k   o n   a   r e q u e s t   f o r   a   n a m e s p a c e d   r e s o u r c e   ( o r   a   N a m e s p a c e   o b j e c t ) ,   b a s e d   o n   w h e t h e r   t h e   n a m e s p a c e ' s   l a b e l s   m a t c h   t h e   s e l e c t o r .   I f   t h e   o b j e c t   i t s e l f   i s   a   n a m e s p a c e ,   t h e   m a t c h i n g   i s   p e r f o r m e d   o n   o b j e c t . m e t a d a t a . l a b e l s .   I f   t h e   o b j e c t   i s   a   c l u s t e r   s c o p e d   r e s o u r c e   o t h e r   t h a n   a   N a m e s p a c e ,   n a m e s p a c e S e l e c t o r   h a s   n o   e f f e c t .   T h i s   e x a m p l e   s h o w s   a   m u t a t i n g   w e b h o o k   t h a t   m a t c h e s   a   C R E A T E   o f   a n y   n a m e s p a c e d   r e s o u r c e   i n s i d e   a   n a m e s p a c e   t h a t   d o e s   n o t   h a v e   a   \" r u n l e v e l \"   l a b e l   o f   \" 0 \"   o r   \" 1 \" :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   w e b h o o k s :   -   n a m e :   m y - w e b h o o k . e x a m p l e . c o m   n a m e s p a c e S e l e c t o r :   m a t c h E x p r e s s i o n s :   -   k e y :   r u n l e v e l   o p e r a t o r :   N o t I n   v a l u e s :   [ \" 0 \" , \" 1 \" ]   r u l e s :   -   o p e r a t i o n s :   [ \" C R E A T E \" ]   a p i G r o u p s :   [ \" * \" ]   a p i V e r s i o n s :   [ \" * \" ]   r e s o u r c e s :   [ \" * \" ]   s c o p e :   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_3_9906"
  },
  {
    "question": "What is Matching requests: matchPolicy?",
    "answer": "A P I   s e r v e r s   c a n   m a k e   o b j e c t s   a v a i l a b l e   v i a   m u l t i p l e   A P I   g r o u p s   o r   v e r s i o n s .   F o r   e x a m p l e ,   i f   a   w e b h o o k   o n l y   s p e c i f i e d   a   r u l e   f o r   s o m e   A P I   g r o u p s / v e r s i o n s   ( l i k e   a p i G r o u p s : [ \" a p p s \" ] ,   a p i V e r s i o n s : [ \" v 1 \" , \" v 1 b e t a 1 \" ] ) ,   a n d   a   r e q u e s t   w a s   m a d e   t o   m o d i f y   t h e   r e s o u r c e   v i a   a n o t h e r   A P I   g r o u p / v e r s i o n   ( l i k e   e x t e n s i o n s / v 1 b e t a 1 ) ,   t h e   r e q u e s t   w o u l d   n o t   b e   s e n t   t o   t h e   w e b h o o k .   T h e   m a t c h P o l i c y   l e t s   a   w e b h o o k   d e f i n e   h o w   i t s   r u l e s   a r e   u s e d   t o   m a t c h   i n c o m i n g   r e q u e s t s .   A l l o w e d   v a l u e s   a r e   E x a c t   o r   E q u i v a l e n t .   E x a c t   m e a n s   a   r e q u e s t   s h o u l d   b e   i n t e r c e p t e d   o n l y   i f   i t   e x a c t l y   m a t c h e s   a   s p e c i f i e d   r u l e . E q u i v a l e n t   m e a n s   a   r e q u e s t   s h o u l d   b e   i n t e r c e p t e d   i f   i t   m o d i f i e s   a   r e s o u r c e   l i s t e d   i n   r u l e s ,   e v e n   v i a   a n o t h e r   A P I   g r o u p   o r   v e r s i o n .   I n   t h e   e x a m p l e   g i v e n   a b o v e ,   t h e   w e b h o o k   t h a t   o n l y   r e g i s t e r e d   f o r   a p p s / v 1   c o u l d   u s e   m a t c h P o l i c y :   m a t c h P o l i c y :   E x a c t   w o u l d   m e a n   t h e   e x t e n s i o n s / v 1 b e t a 1   r e q u e s t   w o u l d   n o t   b e   s e n t   t o   t h e   w e b h o o k m a t c h P o l i c y :   E q u i v a l e n t   m e a n s   t h e   e x t e n s i o n s / v 1 b e t a 1   r e q u e s t   w o u l d   b e   s e n t   t o   t h e   w e b h o o k   ( w i t h   t h e   o b j e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_3_9907"
  },
  {
    "question": "What is Matching requests: matchConditions?",
    "answer": "Y o u   c a n   d e f i n e   m a t c h   c o n d i t i o n s   f o r   w e b h o o k s   i f   y o u   n e e d   f i n e - g r a i n e d   r e q u e s t   f i l t e r i n g .   T h e s e   c o n d i t i o n s   a r e   u s e f u l   i f   y o u   f i n d   t h a t   m a t c h   r u l e s ,   o b j e c t S e l e c t o r s   a n d   n a m e s p a c e S e l e c t o r s   s t i l l   d o e s n ' t   p r o v i d e   t h e   f i l t e r i n g   y o u   w a n t   o v e r   w h e n   t o   c a l l   o u t   o v e r   H T T P .   M a t c h   c o n d i t i o n s   a r e   C E L   e x p r e s s i o n s .   A l l   m a t c h   c o n d i t i o n s   m u s t   e v a l u a t e   t o   t r u e   f o r   t h e   w e b h o o k   t o   b e   c a l l e d .   H e r e   i s   a n   e x a m p l e   i l l u s t r a t i n g   a   f e w   d i f f e r e n t   u s e s   f o r   m a t c h   c o n d i t i o n s :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   w e b h o o k s :   -   n a m e :   m y - w e b h o o k . e x a m p l e . c o m   m a t c h P o l i c y :   E q u i v a l e n t   r u l e s :   -   o p e r a t i o n s :   [ ' C R E A T E ' , ' U P D A T E ' ]   a p i G r o u p s :   [ ' * ' ]   a p i V e r s i o n s :   [ ' * ' ]   r e s o u r c e s :   [ ' * ' ]   f a i l u r e P o l i c y :   ' I g n o r e '   #   F a i l - o p e n   ( o p t i o n a l )   s i d e E f f e c t s :   N o n e   c l i e n t C o n f i g :   s e r v i c e :   n a m e s p a c e :   m y - n a m e s p a c e   n a m e :   m y - w e b h o o k   c a B u n d l e :   ' < o m i t t e d > '   #   Y o u   c a n   h a v e   u p   t o   6 4   m a t c h C o n d i t i o n s   p e r   w e b h o o k   m a t c h C o n d i t i o n s :   -   n a m e :   ' e x c l u d e - l e a s e s '   #   E a c h   m a t c h   c o n d i t i o n   m u s t   h a v e   a   u n i q u e   n a m e   e x p r e s s i o n :   ' ! ( r e q ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_3_9908"
  },
  {
    "question": "What is Note:?",
    "answer": "M a t c h   c o n d i t i o n s   h a v e   a c c e s s   t o   t h e   f o l l o w i n g   C E L   v a r i a b l e s :   o b j e c t   -   T h e   o b j e c t   f r o m   t h e   i n c o m i n g   r e q u e s t .   T h e   v a l u e   i s   n u l l   f o r   D E L E T E   r e q u e s t s .   T h e   o b j e c t   v e r s i o n   m a y   b e   c o n v e r t e d   b a s e d   o n   t h e   m a t c h P o l i c y . o l d O b j e c t   -   T h e   e x i s t i n g   o b j e c t .   T h e   v a l u e   i s   n u l l   f o r   C R E A T E   r e q u e s t s . r e q u e s t   -   T h e   r e q u e s t   p o r t i o n   o f   t h e   A d m i s s i o n R e v i e w ,   e x c l u d i n g   o b j e c t   a n d   o l d O b j e c t . a u t h o r i z e r   -   A   C E L   A u t h o r i z e r .   M a y   b e   u s e d   t o   p e r f o r m   a u t h o r i z a t i o n   c h e c k s   f o r   t h e   p r i n c i p a l   ( a u t h e n t i c a t e d   u s e r )   o f   t h e   r e q u e s t .   S e e   A u t h z   i n   t h e   K u b e r n e t e s   C E L   l i b r a r y   d o c u m e n t a t i o n   f o r   m o r e   d e t a i l s . a u t h o r i z e r . r e q u e s t R e s o u r c e   -   A   s h o r t c u t   f o r   a n   a u t h o r i z a t i o n   c h e c k   c o n f i g u r e d   w i t h   t h e   r e q u e s t   r e s o u r c e   ( g r o u p ,   r e s o u r c e ,   ( s u b r e s o u r c e ) ,   n a m e s p a c e ,   n a m e ) .   F o r   m o r e   i n f o r m a t i o n   o n   C E L   e x p r e s s i o n s ,   r e f e r   t o   t h e   C o m m o n   E x p r e s s i o n   L a n g u a g e   i n   K u b e r n e t e s   r e f e r e n c e .   I n   t h e   e v e n t   o f   a n   e r r o r   e v a l u a t i n g   a   m a t c h   c o n d i t i o n   t h e   w e b h o o k   i s   n e v e r   c a l l e d .   W h e t h e r   t o   r e j e c t   t h e   r e q u e s t   i s   d e t e r m i n e d   a s   f o l l o w s :   I f   a n y   m a t c h   c o n d i t i o n   e v a l u a t e d   t o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_4_9909"
  },
  {
    "question": "What is Contacting the webhook?",
    "answer": "O n c e   t h e   A P I   s e r v e r   h a s   d e t e r m i n e d   a   r e q u e s t   s h o u l d   b e   s e n t   t o   a   w e b h o o k ,   i t   n e e d s   t o   k n o w   h o w   t o   c o n t a c t   t h e   w e b h o o k .   T h i s   i s   s p e c i f i e d   i n   t h e   c l i e n t C o n f i g   s t a n z a   o f   t h e   w e b h o o k   c o n f i g u r a t i o n .   W e b h o o k s   c a n   e i t h e r   b e   c a l l e d   v i a   a   U R L   o r   a   s e r v i c e   r e f e r e n c e ,   a n d   c a n   o p t i o n a l l y   i n c l u d e   a   c u s t o m   C A   b u n d l e   t o   u s e   t o   v e r i f y   t h e   T L S   c o n n e c t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_3_9910"
  },
  {
    "question": "What is URL?",
    "answer": "u r l   g i v e s   t h e   l o c a t i o n   o f   t h e   w e b h o o k ,   i n   s t a n d a r d   U R L   f o r m   ( s c h e m e : / / h o s t : p o r t / p a t h ) .   T h e   h o s t   s h o u l d   n o t   r e f e r   t o   a   s e r v i c e   r u n n i n g   i n   t h e   c l u s t e r ;   u s e   a   s e r v i c e   r e f e r e n c e   b y   s p e c i f y i n g   t h e   s e r v i c e   f i e l d   i n s t e a d .   T h e   h o s t   m i g h t   b e   r e s o l v e d   v i a   e x t e r n a l   D N S   i n   s o m e   A P I   s e r v e r s   ( e . g . ,   k u b e - a p i s e r v e r   c a n n o t   r e s o l v e   i n - c l u s t e r   D N S   a s   t h a t   w o u l d   b e   a   l a y e r i n g   v i o l a t i o n ) .   h o s t   m a y   a l s o   b e   a n   I P   a d d r e s s .   P l e a s e   n o t e   t h a t   u s i n g   l o c a l h o s t   o r   1 2 7 . 0 . 0 . 1   a s   a   h o s t   i s   r i s k y   u n l e s s   y o u   t a k e   g r e a t   c a r e   t o   r u n   t h i s   w e b h o o k   o n   a l l   h o s t s   w h i c h   r u n   a n   A P I   s e r v e r   w h i c h   m i g h t   n e e d   t o   m a k e   c a l l s   t o   t h i s   w e b h o o k .   S u c h   i n s t a l l a t i o n s   a r e   l i k e l y   t o   b e   n o n - p o r t a b l e   o r   n o t   r e a d i l y   r u n   i n   a   n e w   c l u s t e r .   T h e   s c h e m e   m u s t   b e   \" h t t p s \" ;   t h e   U R L   m u s t   b e g i n   w i t h   \" h t t p s : / / \" .   A t t e m p t i n g   t o   u s e   a   u s e r   o r   b a s i c   a u t h   ( f o r   e x a m p l e   u s e r : p a s s w o r d @ )   i s   n o t   a l l o w e d .   F r a g m e n t s   ( # . . . )   a n d   q u e r y   p a r a m e t e r s   ( ? . . . )   a r e   a l s o   n o t   a l l o w e d .   H e r e   i s   a n   e x a m p l e   o f   a   m u t a t i n g   w e b h o o k   c o n f i g u r e d   t o   c a l l   a   U R L   ( a n d   e x p e c t s   t h e   T L S   c e r t i f i c a t e   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_4_9911"
  },
  {
    "question": "What is Service reference?",
    "answer": "T h e   s e r v i c e   s t a n z a   i n s i d e   c l i e n t C o n f i g   i s   a   r e f e r e n c e   t o   t h e   s e r v i c e   f o r   t h i s   w e b h o o k .   I f   t h e   w e b h o o k   i s   r u n n i n g   w i t h i n   t h e   c l u s t e r ,   t h e n   y o u   s h o u l d   u s e   s e r v i c e   i n s t e a d   o f   u r l .   T h e   s e r v i c e   n a m e s p a c e   a n d   n a m e   a r e   r e q u i r e d .   T h e   p o r t   i s   o p t i o n a l   a n d   d e f a u l t s   t o   4 4 3 .   T h e   p a t h   i s   o p t i o n a l   a n d   d e f a u l t s   t o   \" / \" .   H e r e   i s   a n   e x a m p l e   o f   a   m u t a t i n g   w e b h o o k   c o n f i g u r e d   t o   c a l l   a   s e r v i c e   o n   p o r t   \" 1 2 3 4 \"   a t   t h e   s u b p a t h   \" / m y - p a t h \" ,   a n d   t o   v e r i f y   t h e   T L S   c o n n e c t i o n   a g a i n s t   t h e   S e r v e r N a m e   m y - s e r v i c e - n a m e . m y - s e r v i c e - n a m e s p a c e . s v c   u s i n g   a   c u s t o m   C A   b u n d l e :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   w e b h o o k s :   -   n a m e :   m y - w e b h o o k . e x a m p l e . c o m   c l i e n t C o n f i g :   c a B u n d l e :   < C A _ B U N D L E >   s e r v i c e :   n a m e s p a c e :   m y - s e r v i c e - n a m e s p a c e   n a m e :   m y - s e r v i c e - n a m e   p a t h :   / m y - p a t h   p o r t :   1 2 3 4",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_4_9912"
  },
  {
    "question": "What is Side effects?",
    "answer": "W e b h o o k s   t y p i c a l l y   o p e r a t e   o n l y   o n   t h e   c o n t e n t   o f   t h e   A d m i s s i o n R e v i e w   s e n t   t o   t h e m .   S o m e   w e b h o o k s ,   h o w e v e r ,   m a k e   o u t - o f - b a n d   c h a n g e s   a s   p a r t   o f   p r o c e s s i n g   a d m i s s i o n   r e q u e s t s .   W e b h o o k s   t h a t   m a k e   o u t - o f - b a n d   c h a n g e s   ( \" s i d e   e f f e c t s \" )   m u s t   a l s o   h a v e   a   r e c o n c i l i a t i o n   m e c h a n i s m   ( l i k e   a   c o n t r o l l e r )   t h a t   p e r i o d i c a l l y   d e t e r m i n e s   t h e   a c t u a l   s t a t e   o f   t h e   w o r l d ,   a n d   a d j u s t s   t h e   o u t - o f - b a n d   d a t a   m o d i f i e d   b y   t h e   a d m i s s i o n   w e b h o o k   t o   r e f l e c t   r e a l i t y .   T h i s   i s   b e c a u s e   a   c a l l   t o   a n   a d m i s s i o n   w e b h o o k   d o e s   n o t   g u a r a n t e e   t h e   a d m i t t e d   o b j e c t   w i l l   b e   p e r s i s t e d   a s   i s ,   o r   a t   a l l .   L a t e r   w e b h o o k s   c a n   m o d i f y   t h e   c o n t e n t   o f   t h e   o b j e c t ,   a   c o n f l i c t   c o u l d   b e   e n c o u n t e r e d   w h i l e   w r i t i n g   t o   s t o r a g e ,   o r   t h e   s e r v e r   c o u l d   p o w e r   o f f   b e f o r e   p e r s i s t i n g   t h e   o b j e c t .   A d d i t i o n a l l y ,   w e b h o o k s   w i t h   s i d e   e f f e c t s   m u s t   s k i p   t h o s e   s i d e - e f f e c t s   w h e n   d r y R u n :   t r u e   a d m i s s i o n   r e q u e s t s   a r e   h a n d l e d .   A   w e b h o o k   m u s t   e x p l i c i t l y   i n d i c a t e   t h a t   i t   w i l l   n o t   h a v e   s i d e - e f f e c t s   w h e n   r u n   w i t h   d r y R u n ,   o r   t h e   d r y - r u n   r e q u e s t   w i l l   n o t   b e   s e n t   t o   t h e   w e b h o o k   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_3_9913"
  },
  {
    "question": "What is Timeouts?",
    "answer": "B e c a u s e   w e b h o o k s   a d d   t o   A P I   r e q u e s t   l a t e n c y ,   t h e y   s h o u l d   e v a l u a t e   a s   q u i c k l y   a s   p o s s i b l e .   t i m e o u t S e c o n d s   a l l o w s   c o n f i g u r i n g   h o w   l o n g   t h e   A P I   s e r v e r   s h o u l d   w a i t   f o r   a   w e b h o o k   t o   r e s p o n d   b e f o r e   t r e a t i n g   t h e   c a l l   a s   a   f a i l u r e .   I f   t h e   t i m e o u t   e x p i r e s   b e f o r e   t h e   w e b h o o k   r e s p o n d s ,   t h e   w e b h o o k   c a l l   w i l l   b e   i g n o r e d   o r   t h e   A P I   c a l l   w i l l   b e   r e j e c t e d   b a s e d   o n   t h e   f a i l u r e   p o l i c y .   T h e   t i m e o u t   v a l u e   m u s t   b e   b e t w e e n   1   a n d   3 0   s e c o n d s .   H e r e   i s   a n   e x a m p l e   o f   a   v a l i d a t i n g   w e b h o o k   w i t h   a   c u s t o m   t i m e o u t   o f   2   s e c o n d s :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   w e b h o o k s :   -   n a m e :   m y - w e b h o o k . e x a m p l e . c o m   t i m e o u t S e c o n d s :   2   T h e   t i m e o u t   f o r   a n   a d m i s s i o n   w e b h o o k   d e f a u l t s   t o   1 0   s e c o n d s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_3_9914"
  },
  {
    "question": "What is Reinvocation policy?",
    "answer": "A   s i n g l e   o r d e r i n g   o f   m u t a t i n g   a d m i s s i o n s   p l u g i n s   ( i n c l u d i n g   w e b h o o k s )   d o e s   n o t   w o r k   f o r   a l l   c a s e s   ( s e e   h t t p s : / / i s s u e . k 8 s . i o / 6 4 3 3 3   a s   a n   e x a m p l e ) .   A   m u t a t i n g   w e b h o o k   c a n   a d d   a   n e w   s u b - s t r u c t u r e   t o   t h e   o b j e c t   ( l i k e   a d d i n g   a   c o n t a i n e r   t o   a   p o d ) ,   a n d   o t h e r   m u t a t i n g   p l u g i n s   w h i c h   h a v e   a l r e a d y   r u n   m a y   h a v e   o p i n i o n s   o n   t h o s e   n e w   s t r u c t u r e s   ( l i k e   s e t t i n g   a n   i m a g e P u l l P o l i c y   o n   a l l   c o n t a i n e r s ) .   T o   a l l o w   m u t a t i n g   a d m i s s i o n   p l u g i n s   t o   o b s e r v e   c h a n g e s   m a d e   b y   o t h e r   p l u g i n s ,   b u i l t - i n   m u t a t i n g   a d m i s s i o n   p l u g i n s   a r e   r e - r u n   i f   a   m u t a t i n g   w e b h o o k   m o d i f i e s   a n   o b j e c t ,   a n d   m u t a t i n g   w e b h o o k s   c a n   s p e c i f y   a   r e i n v o c a t i o n P o l i c y   t o   c o n t r o l   w h e t h e r   t h e y   a r e   r e i n v o k e d   a s   w e l l .   r e i n v o c a t i o n P o l i c y   m a y   b e   s e t   t o   N e v e r   o r   I f N e e d e d .   I t   d e f a u l t s   t o   N e v e r .   N e v e r :   t h e   w e b h o o k   m u s t   n o t   b e   c a l l e d   m o r e   t h a n   o n c e   i n   a   s i n g l e   a d m i s s i o n   e v a l u a t i o n . I f N e e d e d :   t h e   w e b h o o k   m a y   b e   c a l l e d   a g a i n   a s   p a r t   o f   t h e   a d m i s s i o n   e v a l u a t i o n   i f   t h e   o b j e c t   b e i n g   a d m i t t e d   i s   m o d i f i e d   b y   o t h e r   a d m i s s i o n   p l u g i n s   a f t e r   t h e   i n i t i a l   w e b h o o k   c a l l .   T h e   i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_3_9915"
  },
  {
    "question": "What is Failure policy?",
    "answer": "f a i l u r e P o l i c y   d e f i n e s   h o w   u n r e c o g n i z e d   e r r o r s   a n d   t i m e o u t   e r r o r s   f r o m   t h e   a d m i s s i o n   w e b h o o k   a r e   h a n d l e d .   A l l o w e d   v a l u e s   a r e   I g n o r e   o r   F a i l .   I g n o r e   m e a n s   t h a t   a n   e r r o r   c a l l i n g   t h e   w e b h o o k   i s   i g n o r e d   a n d   t h e   A P I   r e q u e s t   i s   a l l o w e d   t o   c o n t i n u e . F a i l   m e a n s   t h a t   a n   e r r o r   c a l l i n g   t h e   w e b h o o k   c a u s e s   t h e   a d m i s s i o n   t o   f a i l   a n d   t h e   A P I   r e q u e s t   t o   b e   r e j e c t e d .   H e r e   i s   a   m u t a t i n g   w e b h o o k   c o n f i g u r e d   t o   r e j e c t   a n   A P I   r e q u e s t   i f   e r r o r s   a r e   e n c o u n t e r e d   c a l l i n g   t h e   a d m i s s i o n   w e b h o o k :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   w e b h o o k s :   -   n a m e :   m y - w e b h o o k . e x a m p l e . c o m   f a i l u r e P o l i c y :   F a i l   T h e   d e f a u l t   f a i l u r e P o l i c y   f o r   a n   a d m i s s i o n   w e b h o o k s   i s   F a i l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_3_9916"
  },
  {
    "question": "What is Monitoring admission webhooks?",
    "answer": "T h e   A P I   s e r v e r   p r o v i d e s   w a y s   t o   m o n i t o r   a d m i s s i o n   w e b h o o k   b e h a v i o r s .   T h e s e   m o n i t o r i n g   m e c h a n i s m s   h e l p   c l u s t e r   a d m i n s   t o   a n s w e r   q u e s t i o n s   l i k e :   W h i c h   m u t a t i n g   w e b h o o k   m u t a t e d   t h e   o b j e c t   i n   a   A P I   r e q u e s t ? W h a t   c h a n g e   d i d   t h e   m u t a t i n g   w e b h o o k   a p p l i e d   t o   t h e   o b j e c t ? W h i c h   w e b h o o k s   a r e   f r e q u e n t l y   r e j e c t i n g   A P I   r e q u e s t s ?   W h a t ' s   t h e   r e a s o n   f o r   a   r e j e c t i o n ?   W h i c h   m u t a t i n g   w e b h o o k   m u t a t e d   t h e   o b j e c t   i n   a   A P I   r e q u e s t ?   W h a t   c h a n g e   d i d   t h e   m u t a t i n g   w e b h o o k   a p p l i e d   t o   t h e   o b j e c t ?   W h i c h   w e b h o o k s   a r e   f r e q u e n t l y   r e j e c t i n g   A P I   r e q u e s t s ?   W h a t ' s   t h e   r e a s o n   f o r   a   r e j e c t i o n ?",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_2_9917"
  },
  {
    "question": "What is Mutating webhook auditing annotations?",
    "answer": "S o m e t i m e s   i t ' s   u s e f u l   t o   k n o w   w h i c h   m u t a t i n g   w e b h o o k   m u t a t e d   t h e   o b j e c t   i n   a   A P I   r e q u e s t ,   a n d   w h a t   c h a n g e   d i d   t h e   w e b h o o k   a p p l y .   T h e   K u b e r n e t e s   A P I   s e r v e r   p e r f o r m s   a u d i t i n g   o n   e a c h   m u t a t i n g   w e b h o o k   i n v o c a t i o n .   E a c h   i n v o c a t i o n   g e n e r a t e s   a n   a u d i t i n g   a n n o t a t i o n   c a p t u r i n g   i f   a   r e q u e s t   o b j e c t   i s   m u t a t e d   b y   t h e   i n v o c a t i o n ,   a n d   o p t i o n a l l y   g e n e r a t e s   a n   a n n o t a t i o n   c a p t u r i n g   t h e   a p p l i e d   p a t c h   f r o m   t h e   w e b h o o k   a d m i s s i o n   r e s p o n s e .   T h e   a n n o t a t i o n s   a r e   s e t   i n   t h e   a u d i t   e v e n t   f o r   g i v e n   r e q u e s t   o n   g i v e n   s t a g e   o f   i t s   e x e c u t i o n ,   w h i c h   i s   t h e n   p r e - p r o c e s s e d   a c c o r d i n g   t o   a   c e r t a i n   p o l i c y   a n d   w r i t t e n   t o   a   b a c k e n d .   T h e   a u d i t   l e v e l   o f   a   e v e n t   d e t e r m i n e s   w h i c h   a n n o t a t i o n s   g e t   r e c o r d e d :   A t   M e t a d a t a   a u d i t   l e v e l   o r   h i g h e r ,   a n   a n n o t a t i o n   w i t h   k e y   m u t a t i o n . w e b h o o k . a d m i s s i o n . k 8 s . i o / r o u n d _ { r o u n d   i d x } _ i n d e x _ { o r d e r   i d x }   g e t s   l o g g e d   w i t h   J S O N   p a y l o a d   i n d i c a t i n g   a   w e b h o o k   g e t s   i n v o k e d   f o r   g i v e n   r e q u e s t   a n d   w h e t h e r   i t   m u t a t e d   t h e   o b j e c t   o r   n o t . F o r   e x a m p l e ,   t h e   f o l l o w i n g   a n n o t a t i o n   g e t s   r e c o r d e d   f o r   a   w e b h o o k   b e i n g   r e i n v o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_3_9918"
  },
  {
    "question": "What is Admission webhook metrics?",
    "answer": "T h e   A P I   s e r v e r   e x p o s e s   P r o m e t h e u s   m e t r i c s   f r o m   t h e   / m e t r i c s   e n d p o i n t ,   w h i c h   c a n   b e   u s e d   f o r   m o n i t o r i n g   a n d   d i a g n o s i n g   A P I   s e r v e r   s t a t u s .   T h e   f o l l o w i n g   m e t r i c s   r e c o r d   s t a t u s   r e l a t e d   t o   a d m i s s i o n   w e b h o o k s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_3_9919"
  },
  {
    "question": "What is API server admission webhook rejection count?",
    "answer": "S o m e t i m e s   i t ' s   u s e f u l   t o   k n o w   w h i c h   a d m i s s i o n   w e b h o o k s   a r e   f r e q u e n t l y   r e j e c t i n g   A P I   r e q u e s t s ,   a n d   t h e   r e a s o n   f o r   a   r e j e c t i o n .   T h e   A P I   s e r v e r   e x p o s e s   a   P r o m e t h e u s   c o u n t e r   m e t r i c   r e c o r d i n g   a d m i s s i o n   w e b h o o k   r e j e c t i o n s .   T h e   m e t r i c s   a r e   l a b e l l e d   t o   i d e n t i f y   t h e   c a u s e s   o f   w e b h o o k   r e j e c t i o n ( s ) :   n a m e :   t h e   n a m e   o f   t h e   w e b h o o k   t h a t   r e j e c t e d   a   r e q u e s t . o p e r a t i o n :   t h e   o p e r a t i o n   t y p e   o f   t h e   r e q u e s t ,   c a n   b e   o n e   o f   C R E A T E ,   U P D A T E ,   D E L E T E   a n d   C O N N E C T . t y p e :   t h e   a d m i s s i o n   w e b h o o k   t y p e ,   c a n   b e   o n e   o f   a d m i t   a n d   v a l i d a t i n g . e r r o r _ t y p e :   i d e n t i f i e s   i f   a n   e r r o r   o c c u r r e d   d u r i n g   t h e   w e b h o o k   i n v o c a t i o n   t h a t   c a u s e d   t h e   r e j e c t i o n .   I t s   v a l u e   c a n   b e   o n e   o f : c a l l i n g _ w e b h o o k _ e r r o r :   u n r e c o g n i z e d   e r r o r s   o r   t i m e o u t   e r r o r s   f r o m   t h e   a d m i s s i o n   w e b h o o k   h a p p e n e d   a n d   t h e   w e b h o o k ' s   F a i l u r e   p o l i c y   i s   s e t   t o   F a i l . n o _ e r r o r :   n o   e r r o r   o c c u r r e d .   T h e   w e b h o o k   r e j e c t e d   t h e   r e q u e s t   w i t h   a l l o w e d :   f a l s e   i n   t h e   a d m i s s i o n   r e s p o n s e .   T h e   m e t r i c s   l a b e l   r e j e c t i o n _ c o d e   r e c o r d s   t h e   . s t a t u s . c o d e   s e t   i n   t h e   a d m i s s i o n   r e s p o n s e . a p i s e r v e r _ i n t e r n a l _ e r r o r : ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_4_9920"
  },
  {
    "question": "What is Best practices and warnings?",
    "answer": "F o r   r e c o m m e n d a t i o n s   a n d   c o n s i d e r a t i o n s   w h e n   w r i t i n g   m u t a t i n g   a d m i s s i o n   w e b h o o k s ,   s e e   A d m i s s i o n   W e b h o o k s   G o o d   P r a c t i c e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/",
    "id": "k8s_00526_section_2_9921"
  },
  {
    "question": "What is kube-scheduler?",
    "answer": "kube-schedulerSynopsisThe Kubernetes scheduler is a control plane process which assigns Pods to Nodes. The scheduler determines which Nodes are valid placements for each Pod in the scheduling queue according to constraints and available resources. The scheduler then ranks each valid Node and binds the Pod to a suitable Node. Multiple different schedulers may be used within a cluster; kube-scheduler is the reference implementation. See scheduling for more information about scheduling and the kube-scheduler component.kube-scheduler [flags] Options--allow-metric-labels stringToString Default: []The map from metric-label to value allow-list of this label. The key's format is <MetricName>,<LabelName>. The value's format is <allowed_value>,<allowed_value>...e.g. metric1,label1='v1,v2,v3', metric1,label2='v1,v2,v3' metric2,label1='v1,v2,v3'.--allow-metric-labels-manifest stringThe path to the manifest file that contains the allow-list mapping. The format of the file is the same as the flag --allow-metric-labels. Note that the flag --allow-metric-labels will override the manifest file.--authentication-kubeconfig stringkubeconfig file pointing at the 'core' kubernetes server with enough rights to create tokenreviews.authentication.k8s.io. This is optional. If empty, all token requests are considered to be anonymous and no client CA is looked up in the cluster.--authentication-skip-lookupIf false, the authentication-kubeconfig will be used to lookup missing authentication configuration from the cluster.--authentication-token-webhook-cache-ttl duration Default: 10sThe duration to cache responses from the webhook token authenticator.--authentication-tolerate-lookup-failure Default: trueIf true, failures to look up missing authentication configuration from the cluster are not considered fatal. Note that this can result in authentication that treats all requests as anonymous.--authorization-always-allow-paths strings Default: \"/healthz,/readyz,/livez\"A list of HTTP paths to skip during authorization, i.e. these are authorized without contacting the 'core' kubernetes server.--authorization-kubeconfig stringkubeconfig file pointing at the 'core' kubernetes server with enough rights to create subjectaccessreviews.authorization.k8s.io. This is optional. If empty, all requests not skipped by authorization are forbidden.--authorization-webhook-cache-authorized-ttl duration Default: 10sThe duration to cache 'authorized' responses from the webhook authorizer.--authorization-webhook-cache-unauthorized-ttl duration Default: 10sThe duration to cache 'unauthorized' responses from the webhook authorizer.--bind-address string Default: 0.0.0.0The IP address on which to listen for the --secure-port port. The associated interface(s) must be reachable by the rest of the cluster, and by CLI/web clients. If blank or an unspecified address (0.0.0.0 or ::), all interfaces and IP address families will be used.--cert-dir stringThe directory where the TLS certs are located. If --tls-c",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kube-scheduler/",
    "id": "k8s_00527_qa_9922"
  },
  {
    "question": "How does kube-scheduler work?",
    "answer": "kube-schedulerSynopsisThe Kubernetes scheduler is a control plane process which assigns Pods to Nodes. The scheduler determines which Nodes are valid placements for each Pod in the scheduling queue according to constraints and available resources. The scheduler then ranks each valid Node and binds the Pod to a suitable Node. Multiple different schedulers may be used within a cluster; kube-scheduler is the reference implementation. See scheduling for more information about scheduling and the kube-scheduler component.kube-scheduler [flags] Options--allow-metric-labels stringToString Default: []The map from metric-label to value allow-list of this label. The key's format is <MetricName>,<LabelName>. The value's format is <allowed_value>,<allowed_value>...e.g. metric1,label1='v1,v2,v3', metric1,label2='v1,v2,v3' metric2,label1='v1,v2,v3'.--allow-metric-labels-manifest stringThe path to the manifest file that contains the allow-list mapping. The format of the file is the same as the flag --allow-metric-labels. Note that the flag --allow-metric-labels will override the manifest file.--authentication-kubeconfig stringkubeconfig file pointing at the 'core' kubernetes server with enough rights to create tokenreviews.authentication.k8s.io. This is optional. If empty, all token requests are considered to be anonymous and no client CA is looked up in the cluster.--authentication-skip-lookupIf false, the authentication-kubeconfig will be used to lookup missing authentication configuration from the cluster.--authentication-token-webhook-cache-ttl duration Default: 10sThe duration to cache responses from the webhook token authenticator.--authentication-tolerate-lookup-failure Default: trueIf true, failures to look up missing authentication configuration from the cluster are not considered fatal. Note that this can result in authentication that treats all requests as anonymous.--authorization-always-allow-paths strings Default: \"/healthz,/readyz,/livez\"A list of HTTP paths to skip during authorization, i.e. these are authorized without contacting the 'core' kubernetes server.--authorization-kubeconfig stringkubeconfig file pointing at the 'core' kubernetes server with enough rights to create subjectaccessreviews.authorization.k8s.io. This is optional. If empty, all requests not skipped by authorization are forbidden.--authorization-webhook-cache-authorized-ttl duration Default: 10sThe duration to cache 'authorized' responses from the webhook authorizer.--authorization-webhook-cache-unauthorized-ttl duration Default: 10sThe duration to cache 'unauthorized' responses from the webhook authorizer.--bind-address string Default: 0.0.0.0The IP address on which to listen for the --secure-port port. The associated interface(s) must be reachable by the rest of the cluster, and by CLI/web clients. If blank or an unspecified address (0.0.0.0 or ::), all interfaces and IP address families will be used.--cert-dir stringThe directory where the TLS certs are located. If --tls-c",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kube-scheduler/",
    "id": "k8s_00527_qa_9923"
  },
  {
    "question": "When would you use kube-scheduler?",
    "answer": "kube-schedulerSynopsisThe Kubernetes scheduler is a control plane process which assigns Pods to Nodes. The scheduler determines which Nodes are valid placements for each Pod in the scheduling queue according to constraints and available resources. The scheduler then ranks each valid Node and binds the Pod to a suitable Node. Multiple different schedulers may be used within a cluster; kube-scheduler is the reference implementation. See scheduling for more information about scheduling and the kube-scheduler component.kube-scheduler [flags] Options--allow-metric-labels stringToString Default: []The map from metric-label to value allow-list of this label. The key's format is <MetricName>,<LabelName>. The value's format is <allowed_value>,<allowed_value>...e.g. metric1,label1='v1,v2,v3', metric1,label2='v1,v2,v3' metric2,label1='v1,v2,v3'.--allow-metric-labels-manifest stringThe path to the manifest file that contains the allow-list mapping. The format of the file is the same as the flag --allow-metric-labels. Note that the flag --allow-metric-labels will override the manifest file.--authentication-kubeconfig stringkubeconfig file pointing at the 'core' kubernetes server with enough rights to create tokenreviews.authentication.k8s.io. This is optional. If empty, all token requests are considered to be anonymous and no client CA is looked up in the cluster.--authentication-skip-lookupIf false, the authentication-kubeconfig will be used to lookup missing authentication configuration from the cluster.--authentication-token-webhook-cache-ttl duration Default: 10sThe duration to cache responses from the webhook token authenticator.--authentication-tolerate-lookup-failure Default: trueIf true, failures to look up missing authentication configuration from the cluster are not considered fatal. Note that this can result in authentication that treats all requests as anonymous.--authorization-always-allow-paths strings Default: \"/healthz,/readyz,/livez\"A list of HTTP paths to skip during authorization, i.e. these are authorized without contacting the 'core' kubernetes server.--authorization-kubeconfig stringkubeconfig file pointing at the 'core' kubernetes server with enough rights to create subjectaccessreviews.authorization.k8s.io. This is optional. If empty, all requests not skipped by authorization are forbidden.--authorization-webhook-cache-authorized-ttl duration Default: 10sThe duration to cache 'authorized' responses from the webhook authorizer.--authorization-webhook-cache-unauthorized-ttl duration Default: 10sThe duration to cache 'unauthorized' responses from the webhook authorizer.--bind-address string Default: 0.0.0.0The IP address on which to listen for the --secure-port port. The associated interface(s) must be reachable by the rest of the cluster, and by CLI/web clients. If blank or an unspecified address (0.0.0.0 or ::), all interfaces and IP address families will be used.--cert-dir stringThe directory where the TLS certs are located. If --tls-c",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kube-scheduler/",
    "id": "k8s_00527_qa_9924"
  },
  {
    "question": "What are the benefits of kube-scheduler?",
    "answer": "kube-schedulerSynopsisThe Kubernetes scheduler is a control plane process which assigns Pods to Nodes. The scheduler determines which Nodes are valid placements for each Pod in the scheduling queue according to constraints and available resources. The scheduler then ranks each valid Node and binds the Pod to a suitable Node. Multiple different schedulers may be used within a cluster; kube-scheduler is the reference implementation. See scheduling for more information about scheduling and the kube-scheduler component.kube-scheduler [flags] Options--allow-metric-labels stringToString Default: []The map from metric-label to value allow-list of this label. The key's format is <MetricName>,<LabelName>. The value's format is <allowed_value>,<allowed_value>...e.g. metric1,label1='v1,v2,v3', metric1,label2='v1,v2,v3' metric2,label1='v1,v2,v3'.--allow-metric-labels-manifest stringThe path to the manifest file that contains the allow-list mapping. The format of the file is the same as the flag --allow-metric-labels. Note that the flag --allow-metric-labels will override the manifest file.--authentication-kubeconfig stringkubeconfig file pointing at the 'core' kubernetes server with enough rights to create tokenreviews.authentication.k8s.io. This is optional. If empty, all token requests are considered to be anonymous and no client CA is looked up in the cluster.--authentication-skip-lookupIf false, the authentication-kubeconfig will be used to lookup missing authentication configuration from the cluster.--authentication-token-webhook-cache-ttl duration Default: 10sThe duration to cache responses from the webhook token authenticator.--authentication-tolerate-lookup-failure Default: trueIf true, failures to look up missing authentication configuration from the cluster are not considered fatal. Note that this can result in authentication that treats all requests as anonymous.--authorization-always-allow-paths strings Default: \"/healthz,/readyz,/livez\"A list of HTTP paths to skip during authorization, i.e. these are authorized without contacting the 'core' kubernetes server.--authorization-kubeconfig stringkubeconfig file pointing at the 'core' kubernetes server with enough rights to create subjectaccessreviews.authorization.k8s.io. This is optional. If empty, all requests not skipped by authorization are forbidden.--authorization-webhook-cache-authorized-ttl duration Default: 10sThe duration to cache 'authorized' responses from the webhook authorizer.--authorization-webhook-cache-unauthorized-ttl duration Default: 10sThe duration to cache 'unauthorized' responses from the webhook authorizer.--bind-address string Default: 0.0.0.0The IP address on which to listen for the --secure-port port. The associated interface(s) must be reachable by the rest of the cluster, and by CLI/web clients. If blank or an unspecified address (0.0.0.0 or ::), all interfaces and IP address families will be used.--cert-dir stringThe directory where the TLS certs are located. If --tls-c",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kube-scheduler/",
    "id": "k8s_00527_qa_9925"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h e   K u b e r n e t e s   s c h e d u l e r   i s   a   c o n t r o l   p l a n e   p r o c e s s   w h i c h   a s s i g n s   P o d s   t o   N o d e s .   T h e   s c h e d u l e r   d e t e r m i n e s   w h i c h   N o d e s   a r e   v a l i d   p l a c e m e n t s   f o r   e a c h   P o d   i n   t h e   s c h e d u l i n g   q u e u e   a c c o r d i n g   t o   c o n s t r a i n t s   a n d   a v a i l a b l e   r e s o u r c e s .   T h e   s c h e d u l e r   t h e n   r a n k s   e a c h   v a l i d   N o d e   a n d   b i n d s   t h e   P o d   t o   a   s u i t a b l e   N o d e .   M u l t i p l e   d i f f e r e n t   s c h e d u l e r s   m a y   b e   u s e d   w i t h i n   a   c l u s t e r ;   k u b e - s c h e d u l e r   i s   t h e   r e f e r e n c e   i m p l e m e n t a t i o n .   S e e   s c h e d u l i n g   f o r   m o r e   i n f o r m a t i o n   a b o u t   s c h e d u l i n g   a n d   t h e   k u b e - s c h e d u l e r   c o m p o n e n t .   k u b e - s c h e d u l e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kube-scheduler/",
    "id": "k8s_00527_section_2_9926"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   m a p   f r o m   m e t r i c - l a b e l   t o   v a l u e   a l l o w - l i s t   o f   t h i s   l a b e l .   T h e   k e y ' s   f o r m a t   i s   < M e t r i c N a m e > , < L a b e l N a m e > .   T h e   v a l u e ' s   f o r m a t   i s   < a l l o w e d _ v a l u e > , < a l l o w e d _ v a l u e > . . . e . g .   m e t r i c 1 , l a b e l 1 = ' v 1 , v 2 , v 3 ' ,   m e t r i c 1 , l a b e l 2 = ' v 1 , v 2 , v 3 '   m e t r i c 2 , l a b e l 1 = ' v 1 , v 2 , v 3 ' .   T h e   p a t h   t o   t h e   m a n i f e s t   f i l e   t h a t   c o n t a i n s   t h e   a l l o w - l i s t   m a p p i n g .   T h e   f o r m a t   o f   t h e   f i l e   i s   t h e   s a m e   a s   t h e   f l a g   - - a l l o w - m e t r i c - l a b e l s .   N o t e   t h a t   t h e   f l a g   - - a l l o w - m e t r i c - l a b e l s   w i l l   o v e r r i d e   t h e   m a n i f e s t   f i l e .   k u b e c o n f i g   f i l e   p o i n t i n g   a t   t h e   ' c o r e '   k u b e r n e t e s   s e r v e r   w i t h   e n o u g h   r i g h t s   t o   c r e a t e   t o k e n r e v i e w s . a u t h e n t i c a t i o n . k 8 s . i o .   T h i s   i s   o p t i o n a l .   I f   e m p t y ,   a l l   t o k e n   r e q u e s t s   a r e   c o n s i d e r e d   t o   b e   a n o n y m o u s   a n d   n o   c l i e n t   C A   i s   l o o k e d   u p   i n   t h e   c l u s t e r .   I f   f a l s e ,   t h e   a u t h e n t i c a t i o n - k u b e c o n f i g   w i l l   b e   u s e d   t o   l o o k u p   m i s s i n g   a u t h e n t i c a t i o n   c o n f i g u r a t i o n   f r o m   t h e   c l u s t e r .   T h e   d u r a t i o n   t o   c a c h e   r e s p o n s e s   f r o m   t h e   w e b h o o k   t o k e n   a u t h e n t i c a t o r .   I f   t r u e ,   f a i l u r e s   t o   l o o k   u p   m i s s i n g   a u t h e n t i c a t i o n   c o n f i g u r a t i o n   f r o m   t h e   c l u s t e r   a r e   n o t   c o n s i d e r e d   f a t a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kube-scheduler/",
    "id": "k8s_00527_section_2_9927"
  },
  {
    "question": "What is Use Cascading Deletion in a Cluster?",
    "answer": "Use Cascading Deletion in a ClusterThis page shows you how to specify the type of cascading deletion to use in your cluster during garbage collection.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou also need to create a sample Deployment to experiment with the different types of cascading deletion. You will need to recreate the Deployment for each type.Check owner references on your podsCheck that the ownerReferences field is present on your pods:kubectl get pods -l app=nginx --output=yaml The output has an ownerReferences field similar to this:apiVersion: v1 ... ownerReferences: - apiVersion: apps/v1 blockOwnerDeletion: true controller: true kind: ReplicaSet name: nginx-deployment-6b474476c4 uid: 4fdcd81c-bd5d-41f7-97af-3a3b759af9a7 ... Use foreground cascading deletionBy default, Kubernetes uses background cascading deletion to delete dependents of an object. You can switch to foreground cascading deletion using either kubectl or the Kubernetes API, depending on the Kubernetes version your cluster runs.To check the version, enter kubectl version.You can delete objects using foreground cascading deletion using kubectl or the Kubernetes API.Using kubectlRun the following command:kubectl delete deployment nginx-deployment --cascade=foreground Using the Kubernetes APIStart a local proxy session:kubectl proxy --port=8080 Use curl to trigger deletion:curl -X DELETE localhost:8080/apis/apps/v1/namespaces/default/deployments/nginx-deployment \\ -d '{\"kind\":\"DeleteOptions\",\"apiVersion\":\"v1\",\"propagationPolicy\":\"Foreground\"}' \\ -H \"Content-Type: application/json\" The output contains a foregroundDeletion finalizer like this:\"kind\": \"Deployment\", \"apiVersion\": \"apps/v1\", \"metadata\": { \"name\": \"nginx-deployment\", \"namespace\": \"default\", \"uid\": \"d1ce1b02-cae8-4288-8a53-30e84d8fa505\", \"resourceVersion\": \"1363097\", \"creationTimestamp\": \"2021-07-08T20:24:37Z\", \"deletionTimestamp\": \"2021-07-08T20:27:39Z\", \"finalizers\": [ \"foregroundDeletion\" ] ... Use background cascading deletionCreate a sample Deployment.Use either kubectl or the Kubernetes API to delete the Deployment, depending on the Kubernetes version your cluster runs.To check the version, enter kubectl version.You can delete objects using background cascading deletion using kubectl or the Kubernetes API.Kubernetes uses background cascading deletion by default, and does so even if you run the following commands without the --cascade flag or the propagationPolicy argument.Using kubectlRun the following command:kubectl delete deployment nginx-deployment --cascade=background Using the Kubernetes APIStart a local proxy ses",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/use-cascading-deletion/",
    "id": "k8s_00528_qa_9928"
  },
  {
    "question": "How does Use Cascading Deletion in a Cluster work?",
    "answer": "Use Cascading Deletion in a ClusterThis page shows you how to specify the type of cascading deletion to use in your cluster during garbage collection.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou also need to create a sample Deployment to experiment with the different types of cascading deletion. You will need to recreate the Deployment for each type.Check owner references on your podsCheck that the ownerReferences field is present on your pods:kubectl get pods -l app=nginx --output=yaml The output has an ownerReferences field similar to this:apiVersion: v1 ... ownerReferences: - apiVersion: apps/v1 blockOwnerDeletion: true controller: true kind: ReplicaSet name: nginx-deployment-6b474476c4 uid: 4fdcd81c-bd5d-41f7-97af-3a3b759af9a7 ... Use foreground cascading deletionBy default, Kubernetes uses background cascading deletion to delete dependents of an object. You can switch to foreground cascading deletion using either kubectl or the Kubernetes API, depending on the Kubernetes version your cluster runs.To check the version, enter kubectl version.You can delete objects using foreground cascading deletion using kubectl or the Kubernetes API.Using kubectlRun the following command:kubectl delete deployment nginx-deployment --cascade=foreground Using the Kubernetes APIStart a local proxy session:kubectl proxy --port=8080 Use curl to trigger deletion:curl -X DELETE localhost:8080/apis/apps/v1/namespaces/default/deployments/nginx-deployment \\ -d '{\"kind\":\"DeleteOptions\",\"apiVersion\":\"v1\",\"propagationPolicy\":\"Foreground\"}' \\ -H \"Content-Type: application/json\" The output contains a foregroundDeletion finalizer like this:\"kind\": \"Deployment\", \"apiVersion\": \"apps/v1\", \"metadata\": { \"name\": \"nginx-deployment\", \"namespace\": \"default\", \"uid\": \"d1ce1b02-cae8-4288-8a53-30e84d8fa505\", \"resourceVersion\": \"1363097\", \"creationTimestamp\": \"2021-07-08T20:24:37Z\", \"deletionTimestamp\": \"2021-07-08T20:27:39Z\", \"finalizers\": [ \"foregroundDeletion\" ] ... Use background cascading deletionCreate a sample Deployment.Use either kubectl or the Kubernetes API to delete the Deployment, depending on the Kubernetes version your cluster runs.To check the version, enter kubectl version.You can delete objects using background cascading deletion using kubectl or the Kubernetes API.Kubernetes uses background cascading deletion by default, and does so even if you run the following commands without the --cascade flag or the propagationPolicy argument.Using kubectlRun the following command:kubectl delete deployment nginx-deployment --cascade=background Using the Kubernetes APIStart a local proxy ses",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/use-cascading-deletion/",
    "id": "k8s_00528_qa_9929"
  },
  {
    "question": "When would you use Use Cascading Deletion in a Cluster?",
    "answer": "Use Cascading Deletion in a ClusterThis page shows you how to specify the type of cascading deletion to use in your cluster during garbage collection.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou also need to create a sample Deployment to experiment with the different types of cascading deletion. You will need to recreate the Deployment for each type.Check owner references on your podsCheck that the ownerReferences field is present on your pods:kubectl get pods -l app=nginx --output=yaml The output has an ownerReferences field similar to this:apiVersion: v1 ... ownerReferences: - apiVersion: apps/v1 blockOwnerDeletion: true controller: true kind: ReplicaSet name: nginx-deployment-6b474476c4 uid: 4fdcd81c-bd5d-41f7-97af-3a3b759af9a7 ... Use foreground cascading deletionBy default, Kubernetes uses background cascading deletion to delete dependents of an object. You can switch to foreground cascading deletion using either kubectl or the Kubernetes API, depending on the Kubernetes version your cluster runs.To check the version, enter kubectl version.You can delete objects using foreground cascading deletion using kubectl or the Kubernetes API.Using kubectlRun the following command:kubectl delete deployment nginx-deployment --cascade=foreground Using the Kubernetes APIStart a local proxy session:kubectl proxy --port=8080 Use curl to trigger deletion:curl -X DELETE localhost:8080/apis/apps/v1/namespaces/default/deployments/nginx-deployment \\ -d '{\"kind\":\"DeleteOptions\",\"apiVersion\":\"v1\",\"propagationPolicy\":\"Foreground\"}' \\ -H \"Content-Type: application/json\" The output contains a foregroundDeletion finalizer like this:\"kind\": \"Deployment\", \"apiVersion\": \"apps/v1\", \"metadata\": { \"name\": \"nginx-deployment\", \"namespace\": \"default\", \"uid\": \"d1ce1b02-cae8-4288-8a53-30e84d8fa505\", \"resourceVersion\": \"1363097\", \"creationTimestamp\": \"2021-07-08T20:24:37Z\", \"deletionTimestamp\": \"2021-07-08T20:27:39Z\", \"finalizers\": [ \"foregroundDeletion\" ] ... Use background cascading deletionCreate a sample Deployment.Use either kubectl or the Kubernetes API to delete the Deployment, depending on the Kubernetes version your cluster runs.To check the version, enter kubectl version.You can delete objects using background cascading deletion using kubectl or the Kubernetes API.Kubernetes uses background cascading deletion by default, and does so even if you run the following commands without the --cascade flag or the propagationPolicy argument.Using kubectlRun the following command:kubectl delete deployment nginx-deployment --cascade=background Using the Kubernetes APIStart a local proxy ses",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/use-cascading-deletion/",
    "id": "k8s_00528_qa_9930"
  },
  {
    "question": "What are the benefits of Use Cascading Deletion in a Cluster?",
    "answer": "Use Cascading Deletion in a ClusterThis page shows you how to specify the type of cascading deletion to use in your cluster during garbage collection.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou also need to create a sample Deployment to experiment with the different types of cascading deletion. You will need to recreate the Deployment for each type.Check owner references on your podsCheck that the ownerReferences field is present on your pods:kubectl get pods -l app=nginx --output=yaml The output has an ownerReferences field similar to this:apiVersion: v1 ... ownerReferences: - apiVersion: apps/v1 blockOwnerDeletion: true controller: true kind: ReplicaSet name: nginx-deployment-6b474476c4 uid: 4fdcd81c-bd5d-41f7-97af-3a3b759af9a7 ... Use foreground cascading deletionBy default, Kubernetes uses background cascading deletion to delete dependents of an object. You can switch to foreground cascading deletion using either kubectl or the Kubernetes API, depending on the Kubernetes version your cluster runs.To check the version, enter kubectl version.You can delete objects using foreground cascading deletion using kubectl or the Kubernetes API.Using kubectlRun the following command:kubectl delete deployment nginx-deployment --cascade=foreground Using the Kubernetes APIStart a local proxy session:kubectl proxy --port=8080 Use curl to trigger deletion:curl -X DELETE localhost:8080/apis/apps/v1/namespaces/default/deployments/nginx-deployment \\ -d '{\"kind\":\"DeleteOptions\",\"apiVersion\":\"v1\",\"propagationPolicy\":\"Foreground\"}' \\ -H \"Content-Type: application/json\" The output contains a foregroundDeletion finalizer like this:\"kind\": \"Deployment\", \"apiVersion\": \"apps/v1\", \"metadata\": { \"name\": \"nginx-deployment\", \"namespace\": \"default\", \"uid\": \"d1ce1b02-cae8-4288-8a53-30e84d8fa505\", \"resourceVersion\": \"1363097\", \"creationTimestamp\": \"2021-07-08T20:24:37Z\", \"deletionTimestamp\": \"2021-07-08T20:27:39Z\", \"finalizers\": [ \"foregroundDeletion\" ] ... Use background cascading deletionCreate a sample Deployment.Use either kubectl or the Kubernetes API to delete the Deployment, depending on the Kubernetes version your cluster runs.To check the version, enter kubectl version.You can delete objects using background cascading deletion using kubectl or the Kubernetes API.Kubernetes uses background cascading deletion by default, and does so even if you run the following commands without the --cascade flag or the propagationPolicy argument.Using kubectlRun the following command:kubectl delete deployment nginx-deployment --cascade=background Using the Kubernetes APIStart a local proxy ses",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/use-cascading-deletion/",
    "id": "k8s_00528_qa_9931"
  },
  {
    "question": "What is Use Cascading Deletion in a Cluster?",
    "answer": "T h i s   p a g e   s h o w s   y o u   h o w   t o   s p e c i f y   t h e   t y p e   o f   c a s c a d i n g   d e l e t i o n   t o   u s e   i n   y o u r   c l u s t e r   d u r i n g   g a r b a g e   c o l l e c t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/use-cascading-deletion/",
    "id": "k8s_00528_section_1_9932"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   a l s o   n e e d   t o   c r e a t e   a   s a m p l e   D e p l o y m e n t   t o   e x p e r i m e n t   w i t h   t h e   d i f f e r e n t   t y p e s   o f   c a s c a d i n g   d e l e t i o n .   Y o u   w i l l   n e e d   t o   r e c r e a t e   t h e   D e p l o y m e n t   f o r   e a c h   t y p e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/use-cascading-deletion/",
    "id": "k8s_00528_section_2_9933"
  },
  {
    "question": "What is Check owner references on your pods?",
    "answer": "C h e c k   t h a t   t h e   o w n e r R e f e r e n c e s   f i e l d   i s   p r e s e n t   o n   y o u r   p o d s :   k u b e c t l   g e t   p o d s   - l   a p p = n g i n x   - - o u t p u t = y a m l   T h e   o u t p u t   h a s   a n   o w n e r R e f e r e n c e s   f i e l d   s i m i l a r   t o   t h i s :   a p i V e r s i o n :   v 1   . . .   o w n e r R e f e r e n c e s :   -   a p i V e r s i o n :   a p p s / v 1   b l o c k O w n e r D e l e t i o n :   t r u e   c o n t r o l l e r :   t r u e   k i n d :   R e p l i c a S e t   n a m e :   n g i n x - d e p l o y m e n t - 6 b 4 7 4 4 7 6 c 4   u i d :   4 f d c d 8 1 c - b d 5 d - 4 1 f 7 - 9 7 a f - 3 a 3 b 7 5 9 a f 9 a 7   . . .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/use-cascading-deletion/",
    "id": "k8s_00528_section_2_9934"
  },
  {
    "question": "What is Use foreground cascading deletion?",
    "answer": "B y   d e f a u l t ,   K u b e r n e t e s   u s e s   b a c k g r o u n d   c a s c a d i n g   d e l e t i o n   t o   d e l e t e   d e p e n d e n t s   o f   a n   o b j e c t .   Y o u   c a n   s w i t c h   t o   f o r e g r o u n d   c a s c a d i n g   d e l e t i o n   u s i n g   e i t h e r   k u b e c t l   o r   t h e   K u b e r n e t e s   A P I ,   d e p e n d i n g   o n   t h e   K u b e r n e t e s   v e r s i o n   y o u r   c l u s t e r   r u n s . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   c a n   d e l e t e   o b j e c t s   u s i n g   f o r e g r o u n d   c a s c a d i n g   d e l e t i o n   u s i n g   k u b e c t l   o r   t h e   K u b e r n e t e s   A P I .   U s i n g   k u b e c t l   R u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   d e l e t e   d e p l o y m e n t   n g i n x - d e p l o y m e n t   - - c a s c a d e = f o r e g r o u n d   U s i n g   t h e   K u b e r n e t e s   A P I   S t a r t   a   l o c a l   p r o x y   s e s s i o n : k u b e c t l   p r o x y   - - p o r t = 8 0 8 0   U s e   c u r l   t o   t r i g g e r   d e l e t i o n : c u r l   - X   D E L E T E   l o c a l h o s t : 8 0 8 0 / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / d e p l o y m e n t s / n g i n x - d e p l o y m e n t   \\   - d   ' { \" k i n d \" : \" D e l e t e O p t i o n s \" , \" a p i V e r s i o n \" : \" v 1 \" , \" p r o p a g a t i o n P o l i c y \" : \" F o r e g r o u n d \" } '   \\   - H   \" C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n \"   T h e   o u t p u t   c o n t a i n s   a   f o r e g r o u n d D e l e t i o n   f i n a l i z e r   l i k e   t h i s : \" k i n d \" :   \" D e p l o y m e n t \" ,   \" a p i V e r s i o n \" :   \" a p p s / v 1 \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" n g i n x - d e p l o y m e n t \" ,   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/use-cascading-deletion/",
    "id": "k8s_00528_section_2_9935"
  },
  {
    "question": "What is Use background cascading deletion?",
    "answer": "C r e a t e   a   s a m p l e   D e p l o y m e n t . U s e   e i t h e r   k u b e c t l   o r   t h e   K u b e r n e t e s   A P I   t o   d e l e t e   t h e   D e p l o y m e n t ,   d e p e n d i n g   o n   t h e   K u b e r n e t e s   v e r s i o n   y o u r   c l u s t e r   r u n s . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   c a n   d e l e t e   o b j e c t s   u s i n g   b a c k g r o u n d   c a s c a d i n g   d e l e t i o n   u s i n g   k u b e c t l   o r   t h e   K u b e r n e t e s   A P I .   K u b e r n e t e s   u s e s   b a c k g r o u n d   c a s c a d i n g   d e l e t i o n   b y   d e f a u l t ,   a n d   d o e s   s o   e v e n   i f   y o u   r u n   t h e   f o l l o w i n g   c o m m a n d s   w i t h o u t   t h e   - - c a s c a d e   f l a g   o r   t h e   p r o p a g a t i o n P o l i c y   a r g u m e n t .   U s i n g   k u b e c t l   R u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   d e l e t e   d e p l o y m e n t   n g i n x - d e p l o y m e n t   - - c a s c a d e = b a c k g r o u n d   U s i n g   t h e   K u b e r n e t e s   A P I   S t a r t   a   l o c a l   p r o x y   s e s s i o n : k u b e c t l   p r o x y   - - p o r t = 8 0 8 0   U s e   c u r l   t o   t r i g g e r   d e l e t i o n : c u r l   - X   D E L E T E   l o c a l h o s t : 8 0 8 0 / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / d e p l o y m e n t s / n g i n x - d e p l o y m e n t   \\   - d   ' { \" k i n d \" : \" D e l e t e O p t i o n s \" , \" a p i V e r s i o n \" : \" v 1 \" , \" p r o p a g a t i o n P o l i c y \" : \" B a c k g r o u n d \" } '   \\   - H   \" C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n \"   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : \" k i n d \" :   \" S t a t u s \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   . . ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/use-cascading-deletion/",
    "id": "k8s_00528_section_2_9936"
  },
  {
    "question": "What is Delete owner objects and orphan dependents?",
    "answer": "B y   d e f a u l t ,   w h e n   y o u   t e l l   K u b e r n e t e s   t o   d e l e t e   a n   o b j e c t ,   t h e   c o n t r o l l e r   a l s o   d e l e t e s   d e p e n d e n t   o b j e c t s .   Y o u   c a n   m a k e   K u b e r n e t e s   o r p h a n   t h e s e   d e p e n d e n t s   u s i n g   k u b e c t l   o r   t h e   K u b e r n e t e s   A P I ,   d e p e n d i n g   o n   t h e   K u b e r n e t e s   v e r s i o n   y o u r   c l u s t e r   r u n s . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   U s i n g   k u b e c t l   R u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   d e l e t e   d e p l o y m e n t   n g i n x - d e p l o y m e n t   - - c a s c a d e = o r p h a n   U s i n g   t h e   K u b e r n e t e s   A P I   S t a r t   a   l o c a l   p r o x y   s e s s i o n : k u b e c t l   p r o x y   - - p o r t = 8 0 8 0   U s e   c u r l   t o   t r i g g e r   d e l e t i o n : c u r l   - X   D E L E T E   l o c a l h o s t : 8 0 8 0 / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / d e p l o y m e n t s / n g i n x - d e p l o y m e n t   \\   - d   ' { \" k i n d \" : \" D e l e t e O p t i o n s \" , \" a p i V e r s i o n \" : \" v 1 \" , \" p r o p a g a t i o n P o l i c y \" : \" O r p h a n \" } '   \\   - H   \" C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n \"   T h e   o u t p u t   c o n t a i n s   o r p h a n   i n   t h e   f i n a l i z e r s   f i e l d ,   s i m i l a r   t o   t h i s : \" k i n d \" :   \" D e p l o y m e n t \" ,   \" a p i V e r s i o n \" :   \" a p p s / v 1 \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \" ,   \" u i d \" :   \" 6 f 5 7 7 0 3 4 - 4 2 a 0 - 4 7 9 d - b e 2 1 - 7 8 0 1 8 c 4 6 6 f 1 f \" ,   \" c r e a t i o n T i m e s t a m p \" :   \" 2 0 2 1 - 0 7 - 0 9 T 1 6 : 4 6 : 3 7 Z \" ,   \" d e l e t i o n T i m e s t a m p ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/use-cascading-deletion/",
    "id": "k8s_00528_section_2_9937"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   o w n e r s   a n d   d e p e n d e n t s   i n   K u b e r n e t e s . L e a r n   a b o u t   K u b e r n e t e s   f i n a l i z e r s . L e a r n   a b o u t   g a r b a g e   c o l l e c t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/use-cascading-deletion/",
    "id": "k8s_00528_section_2_9938"
  },
  {
    "question": "What is Migrate Replicated Control Plane To Use Cloud Controller Manager?",
    "answer": "Migrate Replicated Control Plane To Use Cloud Controller ManagerThe cloud-controller-manager is a Kubernetes control plane component that embeds cloud-specific control logic. The cloud controller manager lets you link your cluster into your cloud provider's API, and separates out the components that interact with that cloud platform from components that only interact with your cluster.By decoupling the interoperability logic between Kubernetes and the underlying cloud infrastructure, the cloud-controller-manager component enables cloud providers to release features at a different pace compared to the main Kubernetes project.BackgroundAs part of the cloud provider extraction effort, all cloud specific controllers must be moved out of the kube-controller-manager. All existing clusters that run cloud controllers in the kube-controller-manager must migrate to instead run the controllers in a cloud provider specific cloud-controller-manager.Leader Migration provides a mechanism in which HA clusters can safely migrate \"cloud specific\" controllers between the kube-controller-manager and the cloud-controller-manager via a shared resource lock between the two components while upgrading the replicated control plane. For a single-node control plane, or if unavailability of controller managers can be tolerated during the upgrade, Leader Migration is not needed and this guide can be ignored.Leader Migration can be enabled by setting --enable-leader-migration on kube-controller-manager or cloud-controller-manager. Leader Migration only applies during the upgrade and can be safely disabled or left enabled after the upgrade is complete.This guide walks you through the manual process of upgrading the control plane from kube-controller-manager with built-in cloud provider to running both kube-controller-manager and cloud-controller-manager. If you use a tool to deploy and manage the cluster, please refer to the documentation of the tool and the cloud provider for specific instructions of the migration.Before you beginIt is assumed that the control plane is running Kubernetes version N and to be upgraded to version N + 1. Although it is possible to migrate within the same version, ideally the migration should be performed as part of an upgrade so that changes of configuration can be aligned to each release. The exact versions of N and N + 1 depend on each cloud provider. For example, if a cloud provider builds a cloud-controller-manager to work with Kubernetes 1.24, then N can be 1.23 and N + 1 can be 1.24.The control plane nodes should run kube-controller-manager with Leader Election enabled, which is the default. As of version N, an in-tree cloud provider must be set with --cloud-provider flag and cloud-controller-manager should not yet be deployed.The out-of-tree cloud provider must have built a cloud-controller-manager with Leader Migration implementation. If the cloud provider imports k8s.io/cloud-provider and k8s.io/controller-manager of version v0.21.0 or la",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/controller-manager-leader-migration/",
    "id": "k8s_00529_qa_9939"
  },
  {
    "question": "How does Migrate Replicated Control Plane To Use Cloud Controller Manager work?",
    "answer": "Migrate Replicated Control Plane To Use Cloud Controller ManagerThe cloud-controller-manager is a Kubernetes control plane component that embeds cloud-specific control logic. The cloud controller manager lets you link your cluster into your cloud provider's API, and separates out the components that interact with that cloud platform from components that only interact with your cluster.By decoupling the interoperability logic between Kubernetes and the underlying cloud infrastructure, the cloud-controller-manager component enables cloud providers to release features at a different pace compared to the main Kubernetes project.BackgroundAs part of the cloud provider extraction effort, all cloud specific controllers must be moved out of the kube-controller-manager. All existing clusters that run cloud controllers in the kube-controller-manager must migrate to instead run the controllers in a cloud provider specific cloud-controller-manager.Leader Migration provides a mechanism in which HA clusters can safely migrate \"cloud specific\" controllers between the kube-controller-manager and the cloud-controller-manager via a shared resource lock between the two components while upgrading the replicated control plane. For a single-node control plane, or if unavailability of controller managers can be tolerated during the upgrade, Leader Migration is not needed and this guide can be ignored.Leader Migration can be enabled by setting --enable-leader-migration on kube-controller-manager or cloud-controller-manager. Leader Migration only applies during the upgrade and can be safely disabled or left enabled after the upgrade is complete.This guide walks you through the manual process of upgrading the control plane from kube-controller-manager with built-in cloud provider to running both kube-controller-manager and cloud-controller-manager. If you use a tool to deploy and manage the cluster, please refer to the documentation of the tool and the cloud provider for specific instructions of the migration.Before you beginIt is assumed that the control plane is running Kubernetes version N and to be upgraded to version N + 1. Although it is possible to migrate within the same version, ideally the migration should be performed as part of an upgrade so that changes of configuration can be aligned to each release. The exact versions of N and N + 1 depend on each cloud provider. For example, if a cloud provider builds a cloud-controller-manager to work with Kubernetes 1.24, then N can be 1.23 and N + 1 can be 1.24.The control plane nodes should run kube-controller-manager with Leader Election enabled, which is the default. As of version N, an in-tree cloud provider must be set with --cloud-provider flag and cloud-controller-manager should not yet be deployed.The out-of-tree cloud provider must have built a cloud-controller-manager with Leader Migration implementation. If the cloud provider imports k8s.io/cloud-provider and k8s.io/controller-manager of version v0.21.0 or la",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/controller-manager-leader-migration/",
    "id": "k8s_00529_qa_9940"
  },
  {
    "question": "When would you use Migrate Replicated Control Plane To Use Cloud Controller Manager?",
    "answer": "Migrate Replicated Control Plane To Use Cloud Controller ManagerThe cloud-controller-manager is a Kubernetes control plane component that embeds cloud-specific control logic. The cloud controller manager lets you link your cluster into your cloud provider's API, and separates out the components that interact with that cloud platform from components that only interact with your cluster.By decoupling the interoperability logic between Kubernetes and the underlying cloud infrastructure, the cloud-controller-manager component enables cloud providers to release features at a different pace compared to the main Kubernetes project.BackgroundAs part of the cloud provider extraction effort, all cloud specific controllers must be moved out of the kube-controller-manager. All existing clusters that run cloud controllers in the kube-controller-manager must migrate to instead run the controllers in a cloud provider specific cloud-controller-manager.Leader Migration provides a mechanism in which HA clusters can safely migrate \"cloud specific\" controllers between the kube-controller-manager and the cloud-controller-manager via a shared resource lock between the two components while upgrading the replicated control plane. For a single-node control plane, or if unavailability of controller managers can be tolerated during the upgrade, Leader Migration is not needed and this guide can be ignored.Leader Migration can be enabled by setting --enable-leader-migration on kube-controller-manager or cloud-controller-manager. Leader Migration only applies during the upgrade and can be safely disabled or left enabled after the upgrade is complete.This guide walks you through the manual process of upgrading the control plane from kube-controller-manager with built-in cloud provider to running both kube-controller-manager and cloud-controller-manager. If you use a tool to deploy and manage the cluster, please refer to the documentation of the tool and the cloud provider for specific instructions of the migration.Before you beginIt is assumed that the control plane is running Kubernetes version N and to be upgraded to version N + 1. Although it is possible to migrate within the same version, ideally the migration should be performed as part of an upgrade so that changes of configuration can be aligned to each release. The exact versions of N and N + 1 depend on each cloud provider. For example, if a cloud provider builds a cloud-controller-manager to work with Kubernetes 1.24, then N can be 1.23 and N + 1 can be 1.24.The control plane nodes should run kube-controller-manager with Leader Election enabled, which is the default. As of version N, an in-tree cloud provider must be set with --cloud-provider flag and cloud-controller-manager should not yet be deployed.The out-of-tree cloud provider must have built a cloud-controller-manager with Leader Migration implementation. If the cloud provider imports k8s.io/cloud-provider and k8s.io/controller-manager of version v0.21.0 or la",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/controller-manager-leader-migration/",
    "id": "k8s_00529_qa_9941"
  },
  {
    "question": "What are the benefits of Migrate Replicated Control Plane To Use Cloud Controller Manager?",
    "answer": "Migrate Replicated Control Plane To Use Cloud Controller ManagerThe cloud-controller-manager is a Kubernetes control plane component that embeds cloud-specific control logic. The cloud controller manager lets you link your cluster into your cloud provider's API, and separates out the components that interact with that cloud platform from components that only interact with your cluster.By decoupling the interoperability logic between Kubernetes and the underlying cloud infrastructure, the cloud-controller-manager component enables cloud providers to release features at a different pace compared to the main Kubernetes project.BackgroundAs part of the cloud provider extraction effort, all cloud specific controllers must be moved out of the kube-controller-manager. All existing clusters that run cloud controllers in the kube-controller-manager must migrate to instead run the controllers in a cloud provider specific cloud-controller-manager.Leader Migration provides a mechanism in which HA clusters can safely migrate \"cloud specific\" controllers between the kube-controller-manager and the cloud-controller-manager via a shared resource lock between the two components while upgrading the replicated control plane. For a single-node control plane, or if unavailability of controller managers can be tolerated during the upgrade, Leader Migration is not needed and this guide can be ignored.Leader Migration can be enabled by setting --enable-leader-migration on kube-controller-manager or cloud-controller-manager. Leader Migration only applies during the upgrade and can be safely disabled or left enabled after the upgrade is complete.This guide walks you through the manual process of upgrading the control plane from kube-controller-manager with built-in cloud provider to running both kube-controller-manager and cloud-controller-manager. If you use a tool to deploy and manage the cluster, please refer to the documentation of the tool and the cloud provider for specific instructions of the migration.Before you beginIt is assumed that the control plane is running Kubernetes version N and to be upgraded to version N + 1. Although it is possible to migrate within the same version, ideally the migration should be performed as part of an upgrade so that changes of configuration can be aligned to each release. The exact versions of N and N + 1 depend on each cloud provider. For example, if a cloud provider builds a cloud-controller-manager to work with Kubernetes 1.24, then N can be 1.23 and N + 1 can be 1.24.The control plane nodes should run kube-controller-manager with Leader Election enabled, which is the default. As of version N, an in-tree cloud provider must be set with --cloud-provider flag and cloud-controller-manager should not yet be deployed.The out-of-tree cloud provider must have built a cloud-controller-manager with Leader Migration implementation. If the cloud provider imports k8s.io/cloud-provider and k8s.io/controller-manager of version v0.21.0 or la",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/controller-manager-leader-migration/",
    "id": "k8s_00529_qa_9942"
  },
  {
    "question": "What is Migrate Replicated Control Plane To Use Cloud Controller Manager?",
    "answer": "T h e   c l o u d - c o n t r o l l e r - m a n a g e r   i s   a   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t   t h a t   e m b e d s   c l o u d - s p e c i f i c   c o n t r o l   l o g i c .   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   l e t s   y o u   l i n k   y o u r   c l u s t e r   i n t o   y o u r   c l o u d   p r o v i d e r ' s   A P I ,   a n d   s e p a r a t e s   o u t   t h e   c o m p o n e n t s   t h a t   i n t e r a c t   w i t h   t h a t   c l o u d   p l a t f o r m   f r o m   c o m p o n e n t s   t h a t   o n l y   i n t e r a c t   w i t h   y o u r   c l u s t e r .   T h e   c l o u d - c o n t r o l l e r - m a n a g e r   i s   a   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t   t h a t   e m b e d s   c l o u d - s p e c i f i c   c o n t r o l   l o g i c .   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   l e t s   y o u   l i n k   y o u r   c l u s t e r   i n t o   y o u r   c l o u d   p r o v i d e r ' s   A P I ,   a n d   s e p a r a t e s   o u t   t h e   c o m p o n e n t s   t h a t   i n t e r a c t   w i t h   t h a t   c l o u d   p l a t f o r m   f r o m   c o m p o n e n t s   t h a t   o n l y   i n t e r a c t   w i t h   y o u r   c l u s t e r .   B y   d e c o u p l i n g   t h e   i n t e r o p e r a b i l i t y   l o g i c   b e t w e e n   K u b e r n e t e s   a n d   t h e   u n d e r l y i n g   c l o u d   i n f r a s t r u c t u r e ,   t h e   c l o u d - c o n t r o l l e r - m a n a g e r   c o m p o n e n t   e n a b l e s   c l o u d   p r o v i d e r s   t o   r e l e a s e   f e a t u r e s   a t   a   d i f f e r e n t   p a c e   c o m p a r e d   t o   t h e   m a i n   K u b e r n e t e s   p r o j e c t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/controller-manager-leader-migration/",
    "id": "k8s_00529_section_1_9943"
  },
  {
    "question": "What is Background?",
    "answer": "A s   p a r t   o f   t h e   c l o u d   p r o v i d e r   e x t r a c t i o n   e f f o r t ,   a l l   c l o u d   s p e c i f i c   c o n t r o l l e r s   m u s t   b e   m o v e d   o u t   o f   t h e   k u b e - c o n t r o l l e r - m a n a g e r .   A l l   e x i s t i n g   c l u s t e r s   t h a t   r u n   c l o u d   c o n t r o l l e r s   i n   t h e   k u b e - c o n t r o l l e r - m a n a g e r   m u s t   m i g r a t e   t o   i n s t e a d   r u n   t h e   c o n t r o l l e r s   i n   a   c l o u d   p r o v i d e r   s p e c i f i c   c l o u d - c o n t r o l l e r - m a n a g e r .   L e a d e r   M i g r a t i o n   p r o v i d e s   a   m e c h a n i s m   i n   w h i c h   H A   c l u s t e r s   c a n   s a f e l y   m i g r a t e   \" c l o u d   s p e c i f i c \"   c o n t r o l l e r s   b e t w e e n   t h e   k u b e - c o n t r o l l e r - m a n a g e r   a n d   t h e   c l o u d - c o n t r o l l e r - m a n a g e r   v i a   a   s h a r e d   r e s o u r c e   l o c k   b e t w e e n   t h e   t w o   c o m p o n e n t s   w h i l e   u p g r a d i n g   t h e   r e p l i c a t e d   c o n t r o l   p l a n e .   F o r   a   s i n g l e - n o d e   c o n t r o l   p l a n e ,   o r   i f   u n a v a i l a b i l i t y   o f   c o n t r o l l e r   m a n a g e r s   c a n   b e   t o l e r a t e d   d u r i n g   t h e   u p g r a d e ,   L e a d e r   M i g r a t i o n   i s   n o t   n e e d e d   a n d   t h i s   g u i d e   c a n   b e   i g n o r e d .   L e a d e r   M i g r a t i o n   c a n   b e   e n a b l e d   b y   s e t t i n g   - - e n a b l e - l e a d e r - m i g r a t i o n   o n   k u b e - c o n t r o l l e r - m a n a g e r   o r   c l o u d - c o n t r o l l e r - m a n a g e r .   L e a d e r   M i g r a t i o n   o n l y   a p p l i e s   d u r i n g   t h e   u p g r a d e   a n d   c a n   b e   s a f e l y   d i s a b l e d   o r   l e f t   e n a b l e d   a f t e r   t h e   u p g r a d e   i s   c ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/controller-manager-leader-migration/",
    "id": "k8s_00529_section_2_9944"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I t   i s   a s s u m e d   t h a t   t h e   c o n t r o l   p l a n e   i s   r u n n i n g   K u b e r n e t e s   v e r s i o n   N   a n d   t o   b e   u p g r a d e d   t o   v e r s i o n   N   +   1 .   A l t h o u g h   i t   i s   p o s s i b l e   t o   m i g r a t e   w i t h i n   t h e   s a m e   v e r s i o n ,   i d e a l l y   t h e   m i g r a t i o n   s h o u l d   b e   p e r f o r m e d   a s   p a r t   o f   a n   u p g r a d e   s o   t h a t   c h a n g e s   o f   c o n f i g u r a t i o n   c a n   b e   a l i g n e d   t o   e a c h   r e l e a s e .   T h e   e x a c t   v e r s i o n s   o f   N   a n d   N   +   1   d e p e n d   o n   e a c h   c l o u d   p r o v i d e r .   F o r   e x a m p l e ,   i f   a   c l o u d   p r o v i d e r   b u i l d s   a   c l o u d - c o n t r o l l e r - m a n a g e r   t o   w o r k   w i t h   K u b e r n e t e s   1 . 2 4 ,   t h e n   N   c a n   b e   1 . 2 3   a n d   N   +   1   c a n   b e   1 . 2 4 .   T h e   c o n t r o l   p l a n e   n o d e s   s h o u l d   r u n   k u b e - c o n t r o l l e r - m a n a g e r   w i t h   L e a d e r   E l e c t i o n   e n a b l e d ,   w h i c h   i s   t h e   d e f a u l t .   A s   o f   v e r s i o n   N ,   a n   i n - t r e e   c l o u d   p r o v i d e r   m u s t   b e   s e t   w i t h   - - c l o u d - p r o v i d e r   f l a g   a n d   c l o u d - c o n t r o l l e r - m a n a g e r   s h o u l d   n o t   y e t   b e   d e p l o y e d .   T h e   o u t - o f - t r e e   c l o u d   p r o v i d e r   m u s t   h a v e   b u i l t   a   c l o u d - c o n t r o l l e r - m a n a g e r   w i t h   L e a d e r   M i g r a t i o n   i m p l e m e n t a t i o n .   I f   t h e   c l o u d   p r o v i d e r   i m p o r t s   k 8 s . i o / c l o u d - p r o v i d e r   a n d   k 8 s . i o / c o n t r o l l e r - m a n a g e r   o f   v e r s i o n   v 0 . 2 1 . 0   o r   l a t e r ,   L e a d e r   M i g r a t i o n   w i l l   b e   a v a ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/controller-manager-leader-migration/",
    "id": "k8s_00529_section_2_9945"
  },
  {
    "question": "What is Grant access to Migration Lease?",
    "answer": "T h e   d e f a u l t   p e r m i s s i o n s   o f   t h e   c o n t r o l l e r   m a n a g e r   a l l o w   o n l y   a c c e s s e s   t o   t h e i r   m a i n   L e a s e .   I n   o r d e r   f o r   t h e   m i g r a t i o n   t o   w o r k ,   a c c e s s e s   t o   a n o t h e r   L e a s e   a r e   r e q u i r e d .   Y o u   c a n   g r a n t   k u b e - c o n t r o l l e r - m a n a g e r   f u l l   a c c e s s   t o   t h e   l e a s e s   A P I   b y   m o d i f y i n g   t h e   s y s t e m : : l e a d e r - l o c k i n g - k u b e - c o n t r o l l e r - m a n a g e r   r o l e .   T h i s   t a s k   g u i d e   a s s u m e s   t h a t   t h e   n a m e   o f   t h e   m i g r a t i o n   l e a s e   i s   c l o u d - p r o v i d e r - e x t r a c t i o n - m i g r a t i o n .   k u b e c t l   p a t c h   - n   k u b e - s y s t e m   r o l e   ' s y s t e m : : l e a d e r - l o c k i n g - k u b e - c o n t r o l l e r - m a n a g e r '   - p   ' { \" r u l e s \" :   [   { \" a p i G r o u p s \" : [   \" c o o r d i n a t i o n . k 8 s . i o \" ] ,   \" r e s o u r c e s \" :   [ \" l e a s e s \" ] ,   \" r e s o u r c e N a m e s \" :   [ \" c l o u d - p r o v i d e r - e x t r a c t i o n - m i g r a t i o n \" ] ,   \" v e r b s \" :   [ \" c r e a t e \" ,   \" l i s t \" ,   \" g e t \" ,   \" u p d a t e \" ]   }   ] } '   - - t y p e = m e r g e `   D o   t h e   s a m e   t o   t h e   s y s t e m : : l e a d e r - l o c k i n g - c l o u d - c o n t r o l l e r - m a n a g e r   r o l e .   k u b e c t l   p a t c h   - n   k u b e - s y s t e m   r o l e   ' s y s t e m : : l e a d e r - l o c k i n g - c l o u d - c o n t r o l l e r - m a n a g e r '   - p   ' { \" r u l e s \" :   [   { \" a p i G r o u p s \" : [   \" c o o r d i n a t i o n . k 8 s . i o \" ] ,   \" r e s o u r c e s \" :   [ \" l e a s e s \" ] ,   \" r e s o u r c e N a m e s \" :   [ \" c l o u d - p r o v i d e r - e x t r a c t i o n - m i g r a t i o n \" ] ,   \" v e r b s \" :   [ \" c r ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/controller-manager-leader-migration/",
    "id": "k8s_00529_section_3_9946"
  },
  {
    "question": "What is Initial Leader Migration configuration?",
    "answer": "L e a d e r   M i g r a t i o n   o p t i o n a l l y   t a k e s   a   c o n f i g u r a t i o n   f i l e   r e p r e s e n t i n g   t h e   s t a t e   o f   c o n t r o l l e r - t o - m a n a g e r   a s s i g n m e n t .   A t   t h i s   m o m e n t ,   w i t h   i n - t r e e   c l o u d   p r o v i d e r ,   k u b e - c o n t r o l l e r - m a n a g e r   r u n s   r o u t e ,   s e r v i c e ,   a n d   c l o u d - n o d e - l i f e c y c l e .   T h e   f o l l o w i n g   e x a m p l e   c o n f i g u r a t i o n   s h o w s   t h e   a s s i g n m e n t .   L e a d e r   M i g r a t i o n   c a n   b e   e n a b l e d   w i t h o u t   a   c o n f i g u r a t i o n .   P l e a s e   s e e   D e f a u l t   C o n f i g u r a t i o n   f o r   d e t a i l s .   k i n d :   L e a d e r M i g r a t i o n C o n f i g u r a t i o n   a p i V e r s i o n :   c o n t r o l l e r m a n a g e r . c o n f i g . k 8 s . i o / v 1   l e a d e r N a m e :   c l o u d - p r o v i d e r - e x t r a c t i o n - m i g r a t i o n   r e s o u r c e L o c k :   l e a s e s   c o n t r o l l e r L e a d e r s :   -   n a m e :   r o u t e   c o m p o n e n t :   k u b e - c o n t r o l l e r - m a n a g e r   -   n a m e :   s e r v i c e   c o m p o n e n t :   k u b e - c o n t r o l l e r - m a n a g e r   -   n a m e :   c l o u d - n o d e - l i f e c y c l e   c o m p o n e n t :   k u b e - c o n t r o l l e r - m a n a g e r   A l t e r n a t i v e l y ,   b e c a u s e   t h e   c o n t r o l l e r s   c a n   r u n   u n d e r   e i t h e r   c o n t r o l l e r   m a n a g e r s ,   s e t t i n g   c o m p o n e n t   t o   *   f o r   b o t h   s i d e s   m a k e s   t h e   c o n f i g u r a t i o n   f i l e   c o n s i s t e n t   b e t w e e n   b o t h   p a r t i e s   o f   t h e   m i g r a t i o n .   #   w i l d c a r d   v e r s i o n   k i n d :   L e a d e r M i g r a t i o n C o n f i g u r a t i o n   a p i V e r s i o n :   c o n t r o l l e r ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/controller-manager-leader-migration/",
    "id": "k8s_00529_section_3_9947"
  },
  {
    "question": "What is Deploy Cloud Controller Manager?",
    "answer": "I n   v e r s i o n   N   +   1 ,   t h e   d e s i r e d   s t a t e   o f   c o n t r o l l e r - t o - m a n a g e r   a s s i g n m e n t   c a n   b e   r e p r e s e n t e d   b y   a   n e w   c o n f i g u r a t i o n   f i l e ,   s h o w n   a s   f o l l o w s .   P l e a s e   n o t e   c o m p o n e n t   f i e l d   o f   e a c h   c o n t r o l l e r L e a d e r s   c h a n g i n g   f r o m   k u b e - c o n t r o l l e r - m a n a g e r   t o   c l o u d - c o n t r o l l e r - m a n a g e r .   A l t e r n a t i v e l y ,   u s e   t h e   w i l d c a r d   v e r s i o n   m e n t i o n e d   a b o v e ,   w h i c h   h a s   t h e   s a m e   e f f e c t .   k i n d :   L e a d e r M i g r a t i o n C o n f i g u r a t i o n   a p i V e r s i o n :   c o n t r o l l e r m a n a g e r . c o n f i g . k 8 s . i o / v 1   l e a d e r N a m e :   c l o u d - p r o v i d e r - e x t r a c t i o n - m i g r a t i o n   r e s o u r c e L o c k :   l e a s e s   c o n t r o l l e r L e a d e r s :   -   n a m e :   r o u t e   c o m p o n e n t :   c l o u d - c o n t r o l l e r - m a n a g e r   -   n a m e :   s e r v i c e   c o m p o n e n t :   c l o u d - c o n t r o l l e r - m a n a g e r   -   n a m e :   c l o u d - n o d e - l i f e c y c l e   c o m p o n e n t :   c l o u d - c o n t r o l l e r - m a n a g e r   W h e n   c r e a t i n g   c o n t r o l   p l a n e   n o d e s   o f   v e r s i o n   N   +   1 ,   t h e   c o n t e n t   s h o u l d   b e   d e p l o y e d   t o   / e t c / l e a d e r m i g r a t i o n . c o n f .   T h e   m a n i f e s t   o f   c l o u d - c o n t r o l l e r - m a n a g e r   s h o u l d   b e   u p d a t e d   t o   m o u n t   t h e   c o n f i g u r a t i o n   f i l e   i n   t h e   s a m e   m a n n e r   a s   k u b e - c o n t r o l l e r - m a n a g e r   o f   v e r s i o n   N .   S i m i l a r l y ,   a d d   - - e n a b l e - l e a d e r - m i g r a t i o n   a n d   - - l e a d e r - m i ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/controller-manager-leader-migration/",
    "id": "k8s_00529_section_3_9948"
  },
  {
    "question": "What is Upgrade Control Plane?",
    "answer": "T h e   c o n t r o l   p l a n e   n o w   c o n t a i n s   n o d e s   o f   b o t h   v e r s i o n   N   a n d   N   +   1 .   T h e   n o d e s   o f   v e r s i o n   N   r u n   k u b e - c o n t r o l l e r - m a n a g e r   o n l y ,   a n d   t h e s e   o f   v e r s i o n   N   +   1   r u n   b o t h   k u b e - c o n t r o l l e r - m a n a g e r   a n d   c l o u d - c o n t r o l l e r - m a n a g e r .   T h e   m i g r a t e d   c o n t r o l l e r s ,   a s   s p e c i f i e d   i n   t h e   c o n f i g u r a t i o n ,   a r e   r u n n i n g   u n d e r   e i t h e r   k u b e - c o n t r o l l e r - m a n a g e r   o f   v e r s i o n   N   o r   c l o u d - c o n t r o l l e r - m a n a g e r   o f   v e r s i o n   N   +   1   d e p e n d i n g   o n   w h i c h   c o n t r o l l e r   m a n a g e r   h o l d s   t h e   m i g r a t i o n   l e a s e .   N o   c o n t r o l l e r   w i l l   e v e r   b e   r u n n i n g   u n d e r   b o t h   c o n t r o l l e r   m a n a g e r s   a t   a n y   t i m e .   I n   a   r o l l i n g   m a n n e r ,   c r e a t e   a   n e w   c o n t r o l   p l a n e   n o d e   o f   v e r s i o n   N   +   1   a n d   b r i n g   d o w n   o n e   o f   v e r s i o n   N   u n t i l   t h e   c o n t r o l   p l a n e   c o n t a i n s   o n l y   n o d e s   o f   v e r s i o n   N   +   1 .   I f   a   r o l l b a c k   f r o m   v e r s i o n   N   +   1   t o   N   i s   r e q u i r e d ,   a d d   n o d e s   o f   v e r s i o n   N   w i t h   L e a d e r   M i g r a t i o n   e n a b l e d   f o r   k u b e - c o n t r o l l e r - m a n a g e r   b a c k   t o   t h e   c o n t r o l   p l a n e ,   r e p l a c i n g   o n e   o f   v e r s i o n   N   +   1   e a c h   t i m e   u n t i l   t h e r e   a r e   o n l y   n o d e s   o f   v e r s i o n   N .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/controller-manager-leader-migration/",
    "id": "k8s_00529_section_3_9949"
  },
  {
    "question": "What is (Optional) Disable Leader Migration?",
    "answer": "N o w   t h a t   t h e   c o n t r o l   p l a n e   h a s   b e e n   u p g r a d e d   t o   r u n   b o t h   k u b e - c o n t r o l l e r - m a n a g e r   a n d   c l o u d - c o n t r o l l e r - m a n a g e r   o f   v e r s i o n   N   +   1 ,   L e a d e r   M i g r a t i o n   h a s   f i n i s h e d   i t s   j o b   a n d   c a n   b e   s a f e l y   d i s a b l e d   t o   s a v e   o n e   L e a s e   r e s o u r c e .   I t   i s   s a f e   t o   r e - e n a b l e   L e a d e r   M i g r a t i o n   f o r   t h e   r o l l b a c k   i n   t h e   f u t u r e .   I n   a   r o l l i n g   m a n a g e r ,   u p d a t e   m a n i f e s t   o f   c l o u d - c o n t r o l l e r - m a n a g e r   t o   u n s e t   b o t h   - - e n a b l e - l e a d e r - m i g r a t i o n   a n d   - - l e a d e r - m i g r a t i o n - c o n f i g =   f l a g ,   a l s o   r e m o v e   t h e   m o u n t   o f   / e t c / l e a d e r m i g r a t i o n . c o n f ,   a n d   f i n a l l y   r e m o v e   / e t c / l e a d e r m i g r a t i o n . c o n f .   T o   r e - e n a b l e   L e a d e r   M i g r a t i o n ,   r e c r e a t e   t h e   c o n f i g u r a t i o n   f i l e   a n d   a d d   i t s   m o u n t   a n d   t h e   f l a g s   t h a t   e n a b l e   L e a d e r   M i g r a t i o n   b a c k   t o   c l o u d - c o n t r o l l e r - m a n a g e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/controller-manager-leader-migration/",
    "id": "k8s_00529_section_3_9950"
  },
  {
    "question": "What is Default Configuration?",
    "answer": "S t a r t i n g   K u b e r n e t e s   1 . 2 2 ,   L e a d e r   M i g r a t i o n   p r o v i d e s   a   d e f a u l t   c o n f i g u r a t i o n   s u i t a b l e   f o r   t h e   d e f a u l t   c o n t r o l l e r - t o - m a n a g e r   a s s i g n m e n t .   T h e   d e f a u l t   c o n f i g u r a t i o n   c a n   b e   e n a b l e d   b y   s e t t i n g   - - e n a b l e - l e a d e r - m i g r a t i o n   b u t   w i t h o u t   - - l e a d e r - m i g r a t i o n - c o n f i g = .   F o r   k u b e - c o n t r o l l e r - m a n a g e r   a n d   c l o u d - c o n t r o l l e r - m a n a g e r ,   i f   t h e r e   a r e   n o   f l a g s   t h a t   e n a b l e   a n y   i n - t r e e   c l o u d   p r o v i d e r   o r   c h a n g e   o w n e r s h i p   o f   c o n t r o l l e r s ,   t h e   d e f a u l t   c o n f i g u r a t i o n   c a n   b e   u s e d   t o   a v o i d   m a n u a l   c r e a t i o n   o f   t h e   c o n f i g u r a t i o n   f i l e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/controller-manager-leader-migration/",
    "id": "k8s_00529_section_3_9951"
  },
  {
    "question": "What is Special case: migrating the Node IPAM controller?",
    "answer": "I f   y o u r   c l o u d   p r o v i d e r   p r o v i d e s   a n   i m p l e m e n t a t i o n   o f   N o d e   I P A M   c o n t r o l l e r ,   y o u   s h o u l d   s w i t c h   t o   t h e   i m p l e m e n t a t i o n   i n   c l o u d - c o n t r o l l e r - m a n a g e r .   D i s a b l e   N o d e   I P A M   c o n t r o l l e r   i n   k u b e - c o n t r o l l e r - m a n a g e r   o f   v e r s i o n   N   +   1   b y   a d d i n g   - - c o n t r o l l e r s = * , - n o d e i p a m   t o   i t s   f l a g s .   T h e n   a d d   n o d e i p a m   t o   t h e   l i s t   o f   m i g r a t e d   c o n t r o l l e r s .   #   w i l d c a r d   v e r s i o n ,   w i t h   n o d e i p a m   k i n d :   L e a d e r M i g r a t i o n C o n f i g u r a t i o n   a p i V e r s i o n :   c o n t r o l l e r m a n a g e r . c o n f i g . k 8 s . i o / v 1   l e a d e r N a m e :   c l o u d - p r o v i d e r - e x t r a c t i o n - m i g r a t i o n   r e s o u r c e L o c k :   l e a s e s   c o n t r o l l e r L e a d e r s :   -   n a m e :   r o u t e   c o m p o n e n t :   *   -   n a m e :   s e r v i c e   c o m p o n e n t :   *   -   n a m e :   c l o u d - n o d e - l i f e c y c l e   c o m p o n e n t :   *   -   n a m e :   n o d e i p a m   -   c o m p o n e n t :   *",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/controller-manager-leader-migration/",
    "id": "k8s_00529_section_3_9952"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   t h e   C o n t r o l l e r   M a n a g e r   L e a d e r   M i g r a t i o n   e n h a n c e m e n t   p r o p o s a l .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/controller-manager-leader-migration/",
    "id": "k8s_00529_section_2_9953"
  },
  {
    "question": "What is Client Libraries?",
    "answer": "Client LibrariesThis page contains an overview of the client libraries for using the Kubernetes API from various programming languages.To write applications using the Kubernetes REST API, you do not need to implement the API calls and request/response types yourself. You can use a client library for the programming language you are using.Client libraries often handle common tasks such as authentication for you. Most client libraries can discover and use the Kubernetes Service Account to authenticate if the API client is running inside the Kubernetes cluster, or can understand the kubeconfig file format to read the credentials and the API Server address.Officially-supported Kubernetes client librariesThe following client libraries are officially maintained by Kubernetes SIG API Machinery.LanguageClient LibrarySample ProgramsCgithub.com/kubernetes-client/cbrowsedotnetgithub.com/kubernetes-client/csharpbrowseGogithub.com/kubernetes/client-go/browseHaskellgithub.com/kubernetes-client/haskellbrowseJavagithub.com/kubernetes-client/javabrowseJavaScriptgithub.com/kubernetes-client/javascriptbrowsePerlgithub.com/kubernetes-client/perl/browsePythongithub.com/kubernetes-client/python/browseRubygithub.com/kubernetes-client/ruby/browseCommunity-maintained client librariesNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.The following Kubernetes API client libraries are provided and maintained by their authors, not the Kubernetes team.LanguageClient LibraryClojuregithub.com/yanatan16/clj-kubernetes-apiDotNetgithub.com/tonnyeremin/kubernetes_genDotNet (RestSharp)github.com/masroorhasan/Kubernetes.DotNetElixirgithub.com/obmarg/kazanElixirgithub.com/coryodaniel/k8sJava (OSGi)bitbucket.org/amdatulabs/amdatu-kubernetesJava (Fabric8, OSGi)github.com/fabric8io/kubernetes-clientJavagithub.com/manusa/yakcLispgithub.com/brendandburns/cl-k8sLispgithub.com/xh4/cubeNode.js (TypeScript)github.com/Goyoo/node-k8s-clientNode.jsgithub.com/ajpauwels/easy-k8sNode.jsgithub.com/godaddy/kubernetes-clientNode.jsgithub.com/tenxcloud/node-kubernetes-clientPerlmetacpan.org/pod/Net::KubernetesPHPgithub.com/allansun/kubernetes-php-clientPHPgithub.com/maclof/kubernetes-clientPHPgithub.com/travisghansen/kubernetes-client-phpPHPgithub.com/renoki-co/php-k8sPythongithub.com/cloudcoil/cloudcoilPythongithub.com/fiaas/k8sPythongithub.com/gtsystem/lightkubePythongithub.com/kr8s-org/kr8sPythongithub.com/mnubo/kubernetes-pyPythongithub.com/tomplus/kubernetes_asyncioPythongithub.com/Frankkkkk/pykormRubygithub.com/abonas/kubeclientRubygithub.com/k8s-ruby/k8s-rubyRubygithub.com/kontena/k8s-clientRustgithub.com/kube-rs/kubeRustgithub.com/ynqa/kubernetes-rustScalagithub.com/hagay3/skuberScalagithub.com/hnaderi/scala-k8sScalagithub.com/joan38/kubernetes-clie",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/client-libraries/",
    "id": "k8s_00530_qa_9954"
  },
  {
    "question": "How does Client Libraries work?",
    "answer": "Client LibrariesThis page contains an overview of the client libraries for using the Kubernetes API from various programming languages.To write applications using the Kubernetes REST API, you do not need to implement the API calls and request/response types yourself. You can use a client library for the programming language you are using.Client libraries often handle common tasks such as authentication for you. Most client libraries can discover and use the Kubernetes Service Account to authenticate if the API client is running inside the Kubernetes cluster, or can understand the kubeconfig file format to read the credentials and the API Server address.Officially-supported Kubernetes client librariesThe following client libraries are officially maintained by Kubernetes SIG API Machinery.LanguageClient LibrarySample ProgramsCgithub.com/kubernetes-client/cbrowsedotnetgithub.com/kubernetes-client/csharpbrowseGogithub.com/kubernetes/client-go/browseHaskellgithub.com/kubernetes-client/haskellbrowseJavagithub.com/kubernetes-client/javabrowseJavaScriptgithub.com/kubernetes-client/javascriptbrowsePerlgithub.com/kubernetes-client/perl/browsePythongithub.com/kubernetes-client/python/browseRubygithub.com/kubernetes-client/ruby/browseCommunity-maintained client librariesNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.The following Kubernetes API client libraries are provided and maintained by their authors, not the Kubernetes team.LanguageClient LibraryClojuregithub.com/yanatan16/clj-kubernetes-apiDotNetgithub.com/tonnyeremin/kubernetes_genDotNet (RestSharp)github.com/masroorhasan/Kubernetes.DotNetElixirgithub.com/obmarg/kazanElixirgithub.com/coryodaniel/k8sJava (OSGi)bitbucket.org/amdatulabs/amdatu-kubernetesJava (Fabric8, OSGi)github.com/fabric8io/kubernetes-clientJavagithub.com/manusa/yakcLispgithub.com/brendandburns/cl-k8sLispgithub.com/xh4/cubeNode.js (TypeScript)github.com/Goyoo/node-k8s-clientNode.jsgithub.com/ajpauwels/easy-k8sNode.jsgithub.com/godaddy/kubernetes-clientNode.jsgithub.com/tenxcloud/node-kubernetes-clientPerlmetacpan.org/pod/Net::KubernetesPHPgithub.com/allansun/kubernetes-php-clientPHPgithub.com/maclof/kubernetes-clientPHPgithub.com/travisghansen/kubernetes-client-phpPHPgithub.com/renoki-co/php-k8sPythongithub.com/cloudcoil/cloudcoilPythongithub.com/fiaas/k8sPythongithub.com/gtsystem/lightkubePythongithub.com/kr8s-org/kr8sPythongithub.com/mnubo/kubernetes-pyPythongithub.com/tomplus/kubernetes_asyncioPythongithub.com/Frankkkkk/pykormRubygithub.com/abonas/kubeclientRubygithub.com/k8s-ruby/k8s-rubyRubygithub.com/kontena/k8s-clientRustgithub.com/kube-rs/kubeRustgithub.com/ynqa/kubernetes-rustScalagithub.com/hagay3/skuberScalagithub.com/hnaderi/scala-k8sScalagithub.com/joan38/kubernetes-clie",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/client-libraries/",
    "id": "k8s_00530_qa_9955"
  },
  {
    "question": "When would you use Client Libraries?",
    "answer": "Client LibrariesThis page contains an overview of the client libraries for using the Kubernetes API from various programming languages.To write applications using the Kubernetes REST API, you do not need to implement the API calls and request/response types yourself. You can use a client library for the programming language you are using.Client libraries often handle common tasks such as authentication for you. Most client libraries can discover and use the Kubernetes Service Account to authenticate if the API client is running inside the Kubernetes cluster, or can understand the kubeconfig file format to read the credentials and the API Server address.Officially-supported Kubernetes client librariesThe following client libraries are officially maintained by Kubernetes SIG API Machinery.LanguageClient LibrarySample ProgramsCgithub.com/kubernetes-client/cbrowsedotnetgithub.com/kubernetes-client/csharpbrowseGogithub.com/kubernetes/client-go/browseHaskellgithub.com/kubernetes-client/haskellbrowseJavagithub.com/kubernetes-client/javabrowseJavaScriptgithub.com/kubernetes-client/javascriptbrowsePerlgithub.com/kubernetes-client/perl/browsePythongithub.com/kubernetes-client/python/browseRubygithub.com/kubernetes-client/ruby/browseCommunity-maintained client librariesNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.The following Kubernetes API client libraries are provided and maintained by their authors, not the Kubernetes team.LanguageClient LibraryClojuregithub.com/yanatan16/clj-kubernetes-apiDotNetgithub.com/tonnyeremin/kubernetes_genDotNet (RestSharp)github.com/masroorhasan/Kubernetes.DotNetElixirgithub.com/obmarg/kazanElixirgithub.com/coryodaniel/k8sJava (OSGi)bitbucket.org/amdatulabs/amdatu-kubernetesJava (Fabric8, OSGi)github.com/fabric8io/kubernetes-clientJavagithub.com/manusa/yakcLispgithub.com/brendandburns/cl-k8sLispgithub.com/xh4/cubeNode.js (TypeScript)github.com/Goyoo/node-k8s-clientNode.jsgithub.com/ajpauwels/easy-k8sNode.jsgithub.com/godaddy/kubernetes-clientNode.jsgithub.com/tenxcloud/node-kubernetes-clientPerlmetacpan.org/pod/Net::KubernetesPHPgithub.com/allansun/kubernetes-php-clientPHPgithub.com/maclof/kubernetes-clientPHPgithub.com/travisghansen/kubernetes-client-phpPHPgithub.com/renoki-co/php-k8sPythongithub.com/cloudcoil/cloudcoilPythongithub.com/fiaas/k8sPythongithub.com/gtsystem/lightkubePythongithub.com/kr8s-org/kr8sPythongithub.com/mnubo/kubernetes-pyPythongithub.com/tomplus/kubernetes_asyncioPythongithub.com/Frankkkkk/pykormRubygithub.com/abonas/kubeclientRubygithub.com/k8s-ruby/k8s-rubyRubygithub.com/kontena/k8s-clientRustgithub.com/kube-rs/kubeRustgithub.com/ynqa/kubernetes-rustScalagithub.com/hagay3/skuberScalagithub.com/hnaderi/scala-k8sScalagithub.com/joan38/kubernetes-clie",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/client-libraries/",
    "id": "k8s_00530_qa_9956"
  },
  {
    "question": "What are the benefits of Client Libraries?",
    "answer": "Client LibrariesThis page contains an overview of the client libraries for using the Kubernetes API from various programming languages.To write applications using the Kubernetes REST API, you do not need to implement the API calls and request/response types yourself. You can use a client library for the programming language you are using.Client libraries often handle common tasks such as authentication for you. Most client libraries can discover and use the Kubernetes Service Account to authenticate if the API client is running inside the Kubernetes cluster, or can understand the kubeconfig file format to read the credentials and the API Server address.Officially-supported Kubernetes client librariesThe following client libraries are officially maintained by Kubernetes SIG API Machinery.LanguageClient LibrarySample ProgramsCgithub.com/kubernetes-client/cbrowsedotnetgithub.com/kubernetes-client/csharpbrowseGogithub.com/kubernetes/client-go/browseHaskellgithub.com/kubernetes-client/haskellbrowseJavagithub.com/kubernetes-client/javabrowseJavaScriptgithub.com/kubernetes-client/javascriptbrowsePerlgithub.com/kubernetes-client/perl/browsePythongithub.com/kubernetes-client/python/browseRubygithub.com/kubernetes-client/ruby/browseCommunity-maintained client librariesNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.The following Kubernetes API client libraries are provided and maintained by their authors, not the Kubernetes team.LanguageClient LibraryClojuregithub.com/yanatan16/clj-kubernetes-apiDotNetgithub.com/tonnyeremin/kubernetes_genDotNet (RestSharp)github.com/masroorhasan/Kubernetes.DotNetElixirgithub.com/obmarg/kazanElixirgithub.com/coryodaniel/k8sJava (OSGi)bitbucket.org/amdatulabs/amdatu-kubernetesJava (Fabric8, OSGi)github.com/fabric8io/kubernetes-clientJavagithub.com/manusa/yakcLispgithub.com/brendandburns/cl-k8sLispgithub.com/xh4/cubeNode.js (TypeScript)github.com/Goyoo/node-k8s-clientNode.jsgithub.com/ajpauwels/easy-k8sNode.jsgithub.com/godaddy/kubernetes-clientNode.jsgithub.com/tenxcloud/node-kubernetes-clientPerlmetacpan.org/pod/Net::KubernetesPHPgithub.com/allansun/kubernetes-php-clientPHPgithub.com/maclof/kubernetes-clientPHPgithub.com/travisghansen/kubernetes-client-phpPHPgithub.com/renoki-co/php-k8sPythongithub.com/cloudcoil/cloudcoilPythongithub.com/fiaas/k8sPythongithub.com/gtsystem/lightkubePythongithub.com/kr8s-org/kr8sPythongithub.com/mnubo/kubernetes-pyPythongithub.com/tomplus/kubernetes_asyncioPythongithub.com/Frankkkkk/pykormRubygithub.com/abonas/kubeclientRubygithub.com/k8s-ruby/k8s-rubyRubygithub.com/kontena/k8s-clientRustgithub.com/kube-rs/kubeRustgithub.com/ynqa/kubernetes-rustScalagithub.com/hagay3/skuberScalagithub.com/hnaderi/scala-k8sScalagithub.com/joan38/kubernetes-clie",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/client-libraries/",
    "id": "k8s_00530_qa_9957"
  },
  {
    "question": "What is Client Libraries?",
    "answer": "T h i s   p a g e   c o n t a i n s   a n   o v e r v i e w   o f   t h e   c l i e n t   l i b r a r i e s   f o r   u s i n g   t h e   K u b e r n e t e s   A P I   f r o m   v a r i o u s   p r o g r a m m i n g   l a n g u a g e s .   T o   w r i t e   a p p l i c a t i o n s   u s i n g   t h e   K u b e r n e t e s   R E S T   A P I ,   y o u   d o   n o t   n e e d   t o   i m p l e m e n t   t h e   A P I   c a l l s   a n d   r e q u e s t / r e s p o n s e   t y p e s   y o u r s e l f .   Y o u   c a n   u s e   a   c l i e n t   l i b r a r y   f o r   t h e   p r o g r a m m i n g   l a n g u a g e   y o u   a r e   u s i n g .   C l i e n t   l i b r a r i e s   o f t e n   h a n d l e   c o m m o n   t a s k s   s u c h   a s   a u t h e n t i c a t i o n   f o r   y o u .   M o s t   c l i e n t   l i b r a r i e s   c a n   d i s c o v e r   a n d   u s e   t h e   K u b e r n e t e s   S e r v i c e   A c c o u n t   t o   a u t h e n t i c a t e   i f   t h e   A P I   c l i e n t   i s   r u n n i n g   i n s i d e   t h e   K u b e r n e t e s   c l u s t e r ,   o r   c a n   u n d e r s t a n d   t h e   k u b e c o n f i g   f i l e   f o r m a t   t o   r e a d   t h e   c r e d e n t i a l s   a n d   t h e   A P I   S e r v e r   a d d r e s s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/client-libraries/",
    "id": "k8s_00530_section_1_9958"
  },
  {
    "question": "What is Officially-supported Kubernetes client libraries?",
    "answer": "T h e   f o l l o w i n g   c l i e n t   l i b r a r i e s   a r e   o f f i c i a l l y   m a i n t a i n e d   b y   K u b e r n e t e s   S I G   A P I   M a c h i n e r y .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/client-libraries/",
    "id": "k8s_00530_section_2_9959"
  },
  {
    "question": "What is Community-maintained client libraries?",
    "answer": "T h e   f o l l o w i n g   K u b e r n e t e s   A P I   c l i e n t   l i b r a r i e s   a r e   p r o v i d e d   a n d   m a i n t a i n e d   b y   t h e i r   a u t h o r s ,   n o t   t h e   K u b e r n e t e s   t e a m .   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/client-libraries/",
    "id": "k8s_00530_section_2_9960"
  },
  {
    "question": "What is Instrumentation?",
    "answer": "InstrumentationKubernetes Component SLI MetricsHigh-level indicators for measuring the reliability and performance of Kubernetes components.CRI Pod & Container MetricsCollection of Pod & Container metrics via the CRI.Node metrics dataMechanisms for accessing metrics at node, volume, pod and container level, as seen by the kubelet.Understand Pressure Stall Information (PSI) MetricsDetailed explanation of Pressure Stall Information (PSI) metrics and how to use them to identify resource pressure in Kubernetes.Kubernetes z-pagesProvides runtime diagnostics for Kubernetes components, offering insights into component runtime status and configuration flags.Kubernetes Metrics ReferenceDetails of the metric data that Kubernetes components export.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/",
    "id": "k8s_00531_qa_9961"
  },
  {
    "question": "How does Instrumentation work?",
    "answer": "InstrumentationKubernetes Component SLI MetricsHigh-level indicators for measuring the reliability and performance of Kubernetes components.CRI Pod & Container MetricsCollection of Pod & Container metrics via the CRI.Node metrics dataMechanisms for accessing metrics at node, volume, pod and container level, as seen by the kubelet.Understand Pressure Stall Information (PSI) MetricsDetailed explanation of Pressure Stall Information (PSI) metrics and how to use them to identify resource pressure in Kubernetes.Kubernetes z-pagesProvides runtime diagnostics for Kubernetes components, offering insights into component runtime status and configuration flags.Kubernetes Metrics ReferenceDetails of the metric data that Kubernetes components export.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/",
    "id": "k8s_00531_qa_9962"
  },
  {
    "question": "When would you use Instrumentation?",
    "answer": "InstrumentationKubernetes Component SLI MetricsHigh-level indicators for measuring the reliability and performance of Kubernetes components.CRI Pod & Container MetricsCollection of Pod & Container metrics via the CRI.Node metrics dataMechanisms for accessing metrics at node, volume, pod and container level, as seen by the kubelet.Understand Pressure Stall Information (PSI) MetricsDetailed explanation of Pressure Stall Information (PSI) metrics and how to use them to identify resource pressure in Kubernetes.Kubernetes z-pagesProvides runtime diagnostics for Kubernetes components, offering insights into component runtime status and configuration flags.Kubernetes Metrics ReferenceDetails of the metric data that Kubernetes components export.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/",
    "id": "k8s_00531_qa_9963"
  },
  {
    "question": "What are the benefits of Instrumentation?",
    "answer": "InstrumentationKubernetes Component SLI MetricsHigh-level indicators for measuring the reliability and performance of Kubernetes components.CRI Pod & Container MetricsCollection of Pod & Container metrics via the CRI.Node metrics dataMechanisms for accessing metrics at node, volume, pod and container level, as seen by the kubelet.Understand Pressure Stall Information (PSI) MetricsDetailed explanation of Pressure Stall Information (PSI) metrics and how to use them to identify resource pressure in Kubernetes.Kubernetes z-pagesProvides runtime diagnostics for Kubernetes components, offering insights into component runtime status and configuration flags.Kubernetes Metrics ReferenceDetails of the metric data that Kubernetes components export.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/",
    "id": "k8s_00531_qa_9964"
  },
  {
    "question": "What is Kubernetes Component SLI Metrics?",
    "answer": "H i g h - l e v e l   i n d i c a t o r s   f o r   m e a s u r i n g   t h e   r e l i a b i l i t y   a n d   p e r f o r m a n c e   o f   K u b e r n e t e s   c o m p o n e n t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/",
    "id": "k8s_00531_section_5_9965"
  },
  {
    "question": "What is CRI Pod & Container Metrics?",
    "answer": "C o l l e c t i o n   o f   P o d   &   C o n t a i n e r   m e t r i c s   v i a   t h e   C R I .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/",
    "id": "k8s_00531_section_5_9966"
  },
  {
    "question": "What is Node metrics data?",
    "answer": "M e c h a n i s m s   f o r   a c c e s s i n g   m e t r i c s   a t   n o d e ,   v o l u m e ,   p o d   a n d   c o n t a i n e r   l e v e l ,   a s   s e e n   b y   t h e   k u b e l e t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/",
    "id": "k8s_00531_section_5_9967"
  },
  {
    "question": "What is Understand Pressure Stall Information (PSI) Metrics?",
    "answer": "D e t a i l e d   e x p l a n a t i o n   o f   P r e s s u r e   S t a l l   I n f o r m a t i o n   ( P S I )   m e t r i c s   a n d   h o w   t o   u s e   t h e m   t o   i d e n t i f y   r e s o u r c e   p r e s s u r e   i n   K u b e r n e t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/",
    "id": "k8s_00531_section_5_9968"
  },
  {
    "question": "What is Kubernetes z-pages?",
    "answer": "P r o v i d e s   r u n t i m e   d i a g n o s t i c s   f o r   K u b e r n e t e s   c o m p o n e n t s ,   o f f e r i n g   i n s i g h t s   i n t o   c o m p o n e n t   r u n t i m e   s t a t u s   a n d   c o n f i g u r a t i o n   f l a g s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/",
    "id": "k8s_00531_section_5_9969"
  },
  {
    "question": "What is Kubernetes Metrics Reference?",
    "answer": "D e t a i l s   o f   t h e   m e t r i c   d a t a   t h a t   K u b e r n e t e s   c o m p o n e n t s   e x p o r t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/",
    "id": "k8s_00531_section_5_9970"
  },
  {
    "question": "What is Configure Default CPU Requests and Limits for a Namespace?",
    "answer": "Configure Default CPU Requests and Limits for a NamespaceDefine a default CPU resource limits for a namespace, so that every new Pod in that namespace has a CPU resource limit configured.This page shows how to configure default CPU requests and limits for a namespace.A Kubernetes cluster can be divided into namespaces. If you create a Pod within a namespace that has a default CPU limit, and any container in that Pod does not specify its own CPU limit, then the control plane assigns the default CPU limit to that container.Kubernetes assigns a default CPU request, but only under certain conditions that are explained later in this page.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou must have access to create namespaces in your cluster.If you're not already familiar with what Kubernetes means by 1.0 CPU, read meaning of CPU.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace default-cpu-example Create a LimitRange and a PodHere's a manifest for an example LimitRange. The manifest specifies a default CPU request and a default CPU limit.admin/resource/cpu-defaults.yaml apiVersion: v1 kind: LimitRange metadata: name: cpu-limit-range spec: limits: - default: cpu: 1 defaultRequest: cpu: 0.5 type: Container Create the LimitRange in the default-cpu-example namespace:kubectl apply -f https://k8s.io/examples/admin/resource/cpu-defaults.yaml --namespace=default-cpu-example Now if you create a Pod in the default-cpu-example namespace, and any container in that Pod does not specify its own values for CPU request and CPU limit, then the control plane applies default values: a CPU request of 0.5 and a default CPU limit of 1.Here's a manifest for a Pod that has one container. The container does not specify a CPU request and limit.admin/resource/cpu-defaults-pod.yaml apiVersion: v1 kind: Pod metadata: name: default-cpu-demo spec: containers: - name: default-cpu-demo-ctr image: nginx Create the Pod.kubectl apply -f https://k8s.io/examples/admin/resource/cpu-defaults-pod.yaml --namespace=default-cpu-example View the Pod's specification:kubectl get pod default-cpu-demo --output=yaml --namespace=default-cpu-example The output shows that the Pod's only container has a CPU request of 500m cpu (which you can read as “500 millicpu”), and a CPU limit of 1 cpu. These are the default values specified by the LimitRange.containers: - image: nginx imagePullPolicy: Always name: default-cpu-demo-ctr resources: limits: cpu: \"1\" requests: cpu: 500m What if you specify a container's limit, but n",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-default-namespace/",
    "id": "k8s_00532_qa_9971"
  },
  {
    "question": "How does Configure Default CPU Requests and Limits for a Namespace work?",
    "answer": "Configure Default CPU Requests and Limits for a NamespaceDefine a default CPU resource limits for a namespace, so that every new Pod in that namespace has a CPU resource limit configured.This page shows how to configure default CPU requests and limits for a namespace.A Kubernetes cluster can be divided into namespaces. If you create a Pod within a namespace that has a default CPU limit, and any container in that Pod does not specify its own CPU limit, then the control plane assigns the default CPU limit to that container.Kubernetes assigns a default CPU request, but only under certain conditions that are explained later in this page.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou must have access to create namespaces in your cluster.If you're not already familiar with what Kubernetes means by 1.0 CPU, read meaning of CPU.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace default-cpu-example Create a LimitRange and a PodHere's a manifest for an example LimitRange. The manifest specifies a default CPU request and a default CPU limit.admin/resource/cpu-defaults.yaml apiVersion: v1 kind: LimitRange metadata: name: cpu-limit-range spec: limits: - default: cpu: 1 defaultRequest: cpu: 0.5 type: Container Create the LimitRange in the default-cpu-example namespace:kubectl apply -f https://k8s.io/examples/admin/resource/cpu-defaults.yaml --namespace=default-cpu-example Now if you create a Pod in the default-cpu-example namespace, and any container in that Pod does not specify its own values for CPU request and CPU limit, then the control plane applies default values: a CPU request of 0.5 and a default CPU limit of 1.Here's a manifest for a Pod that has one container. The container does not specify a CPU request and limit.admin/resource/cpu-defaults-pod.yaml apiVersion: v1 kind: Pod metadata: name: default-cpu-demo spec: containers: - name: default-cpu-demo-ctr image: nginx Create the Pod.kubectl apply -f https://k8s.io/examples/admin/resource/cpu-defaults-pod.yaml --namespace=default-cpu-example View the Pod's specification:kubectl get pod default-cpu-demo --output=yaml --namespace=default-cpu-example The output shows that the Pod's only container has a CPU request of 500m cpu (which you can read as “500 millicpu”), and a CPU limit of 1 cpu. These are the default values specified by the LimitRange.containers: - image: nginx imagePullPolicy: Always name: default-cpu-demo-ctr resources: limits: cpu: \"1\" requests: cpu: 500m What if you specify a container's limit, but n",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-default-namespace/",
    "id": "k8s_00532_qa_9972"
  },
  {
    "question": "When would you use Configure Default CPU Requests and Limits for a Namespace?",
    "answer": "Configure Default CPU Requests and Limits for a NamespaceDefine a default CPU resource limits for a namespace, so that every new Pod in that namespace has a CPU resource limit configured.This page shows how to configure default CPU requests and limits for a namespace.A Kubernetes cluster can be divided into namespaces. If you create a Pod within a namespace that has a default CPU limit, and any container in that Pod does not specify its own CPU limit, then the control plane assigns the default CPU limit to that container.Kubernetes assigns a default CPU request, but only under certain conditions that are explained later in this page.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou must have access to create namespaces in your cluster.If you're not already familiar with what Kubernetes means by 1.0 CPU, read meaning of CPU.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace default-cpu-example Create a LimitRange and a PodHere's a manifest for an example LimitRange. The manifest specifies a default CPU request and a default CPU limit.admin/resource/cpu-defaults.yaml apiVersion: v1 kind: LimitRange metadata: name: cpu-limit-range spec: limits: - default: cpu: 1 defaultRequest: cpu: 0.5 type: Container Create the LimitRange in the default-cpu-example namespace:kubectl apply -f https://k8s.io/examples/admin/resource/cpu-defaults.yaml --namespace=default-cpu-example Now if you create a Pod in the default-cpu-example namespace, and any container in that Pod does not specify its own values for CPU request and CPU limit, then the control plane applies default values: a CPU request of 0.5 and a default CPU limit of 1.Here's a manifest for a Pod that has one container. The container does not specify a CPU request and limit.admin/resource/cpu-defaults-pod.yaml apiVersion: v1 kind: Pod metadata: name: default-cpu-demo spec: containers: - name: default-cpu-demo-ctr image: nginx Create the Pod.kubectl apply -f https://k8s.io/examples/admin/resource/cpu-defaults-pod.yaml --namespace=default-cpu-example View the Pod's specification:kubectl get pod default-cpu-demo --output=yaml --namespace=default-cpu-example The output shows that the Pod's only container has a CPU request of 500m cpu (which you can read as “500 millicpu”), and a CPU limit of 1 cpu. These are the default values specified by the LimitRange.containers: - image: nginx imagePullPolicy: Always name: default-cpu-demo-ctr resources: limits: cpu: \"1\" requests: cpu: 500m What if you specify a container's limit, but n",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-default-namespace/",
    "id": "k8s_00532_qa_9973"
  },
  {
    "question": "What are the benefits of Configure Default CPU Requests and Limits for a Namespace?",
    "answer": "Configure Default CPU Requests and Limits for a NamespaceDefine a default CPU resource limits for a namespace, so that every new Pod in that namespace has a CPU resource limit configured.This page shows how to configure default CPU requests and limits for a namespace.A Kubernetes cluster can be divided into namespaces. If you create a Pod within a namespace that has a default CPU limit, and any container in that Pod does not specify its own CPU limit, then the control plane assigns the default CPU limit to that container.Kubernetes assigns a default CPU request, but only under certain conditions that are explained later in this page.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou must have access to create namespaces in your cluster.If you're not already familiar with what Kubernetes means by 1.0 CPU, read meaning of CPU.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace default-cpu-example Create a LimitRange and a PodHere's a manifest for an example LimitRange. The manifest specifies a default CPU request and a default CPU limit.admin/resource/cpu-defaults.yaml apiVersion: v1 kind: LimitRange metadata: name: cpu-limit-range spec: limits: - default: cpu: 1 defaultRequest: cpu: 0.5 type: Container Create the LimitRange in the default-cpu-example namespace:kubectl apply -f https://k8s.io/examples/admin/resource/cpu-defaults.yaml --namespace=default-cpu-example Now if you create a Pod in the default-cpu-example namespace, and any container in that Pod does not specify its own values for CPU request and CPU limit, then the control plane applies default values: a CPU request of 0.5 and a default CPU limit of 1.Here's a manifest for a Pod that has one container. The container does not specify a CPU request and limit.admin/resource/cpu-defaults-pod.yaml apiVersion: v1 kind: Pod metadata: name: default-cpu-demo spec: containers: - name: default-cpu-demo-ctr image: nginx Create the Pod.kubectl apply -f https://k8s.io/examples/admin/resource/cpu-defaults-pod.yaml --namespace=default-cpu-example View the Pod's specification:kubectl get pod default-cpu-demo --output=yaml --namespace=default-cpu-example The output shows that the Pod's only container has a CPU request of 500m cpu (which you can read as “500 millicpu”), and a CPU limit of 1 cpu. These are the default values specified by the LimitRange.containers: - image: nginx imagePullPolicy: Always name: default-cpu-demo-ctr resources: limits: cpu: \"1\" requests: cpu: 500m What if you specify a container's limit, but n",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-default-namespace/",
    "id": "k8s_00532_qa_9974"
  },
  {
    "question": "What is Configure Default CPU Requests and Limits for a Namespace?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   d e f a u l t   C P U   r e q u e s t s   a n d   l i m i t s   f o r   a   n a m e s p a c e .   A   K u b e r n e t e s   c l u s t e r   c a n   b e   d i v i d e d   i n t o   n a m e s p a c e s .   I f   y o u   c r e a t e   a   P o d   w i t h i n   a   n a m e s p a c e   t h a t   h a s   a   d e f a u l t   C P U   l i m i t ,   a n d   a n y   c o n t a i n e r   i n   t h a t   P o d   d o e s   n o t   s p e c i f y   i t s   o w n   C P U   l i m i t ,   t h e n   t h e   c o n t r o l   p l a n e   a s s i g n s   t h e   d e f a u l t   C P U   l i m i t   t o   t h a t   c o n t a i n e r .   K u b e r n e t e s   a s s i g n s   a   d e f a u l t   C P U   r e q u e s t ,   b u t   o n l y   u n d e r   c e r t a i n   c o n d i t i o n s   t h a t   a r e   e x p l a i n e d   l a t e r   i n   t h i s   p a g e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-default-namespace/",
    "id": "k8s_00532_section_1_9975"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   m u s t   h a v e   a c c e s s   t o   c r e a t e   n a m e s p a c e s   i n   y o u r   c l u s t e r .   I f   y o u ' r e   n o t   a l r e a d y   f a m i l i a r   w i t h   w h a t   K u b e r n e t e s   m e a n s   b y   1 . 0   C P U ,   r e a d   m e a n i n g   o f   C P U .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-default-namespace/",
    "id": "k8s_00532_section_2_9976"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   n a m e s p a c e   s o   t h a t   t h e   r e s o u r c e s   y o u   c r e a t e   i n   t h i s   e x e r c i s e   a r e   i s o l a t e d   f r o m   t h e   r e s t   o f   y o u r   c l u s t e r .   k u b e c t l   c r e a t e   n a m e s p a c e   d e f a u l t - c p u - e x a m p l e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-default-namespace/",
    "id": "k8s_00532_section_2_9977"
  },
  {
    "question": "What is Create a LimitRange and a Pod?",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a n   e x a m p l e   L i m i t R a n g e .   T h e   m a n i f e s t   s p e c i f i e s   a   d e f a u l t   C P U   r e q u e s t   a n d   a   d e f a u l t   C P U   l i m i t .   a p i V e r s i o n :   v 1   k i n d :   L i m i t R a n g e   m e t a d a t a :   n a m e :   c p u - l i m i t - r a n g e   s p e c :   l i m i t s :   -   d e f a u l t :   c p u :   1   d e f a u l t R e q u e s t :   c p u :   0 . 5   t y p e :   C o n t a i n e r   C r e a t e   t h e   L i m i t R a n g e   i n   t h e   d e f a u l t - c p u - e x a m p l e   n a m e s p a c e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / c p u - d e f a u l t s . y a m l   - - n a m e s p a c e = d e f a u l t - c p u - e x a m p l e   N o w   i f   y o u   c r e a t e   a   P o d   i n   t h e   d e f a u l t - c p u - e x a m p l e   n a m e s p a c e ,   a n d   a n y   c o n t a i n e r   i n   t h a t   P o d   d o e s   n o t   s p e c i f y   i t s   o w n   v a l u e s   f o r   C P U   r e q u e s t   a n d   C P U   l i m i t ,   t h e n   t h e   c o n t r o l   p l a n e   a p p l i e s   d e f a u l t   v a l u e s :   a   C P U   r e q u e s t   o f   0 . 5   a n d   a   d e f a u l t   C P U   l i m i t   o f   1 .   H e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   d o e s   n o t   s p e c i f y   a   C P U   r e q u e s t   a n d   l i m i t .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d e f a u l t - c p u - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   d e f a u l t - c p u - d e m o - c t r   i m a g e :   n g i n x   C r e a t e   t h e   P o d .   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / c p u - d e f a u l t s - p o d . y a m l   - - n a m e s p a ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-default-namespace/",
    "id": "k8s_00532_section_2_9978"
  },
  {
    "question": "What is What if you specify a container's limit, but not its request??",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   s p e c i f i e s   a   C P U   l i m i t ,   b u t   n o t   a   r e q u e s t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d e f a u l t - c p u - d e m o - 2   s p e c :   c o n t a i n e r s :   -   n a m e :   d e f a u l t - c p u - d e m o - 2 - c t r   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   c p u :   \" 1 \"   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / c p u - d e f a u l t s - p o d - 2 . y a m l   - - n a m e s p a c e = d e f a u l t - c p u - e x a m p l e   V i e w   t h e   s p e c i f i c a t i o n   o f   t h e   P o d   t h a t   y o u   c r e a t e d :   k u b e c t l   g e t   p o d   d e f a u l t - c p u - d e m o - 2   - - o u t p u t = y a m l   - - n a m e s p a c e = d e f a u l t - c p u - e x a m p l e   T h e   o u t p u t   s h o w s   t h a t   t h e   c o n t a i n e r ' s   C P U   r e q u e s t   i s   s e t   t o   m a t c h   i t s   C P U   l i m i t .   N o t i c e   t h a t   t h e   c o n t a i n e r   w a s   n o t   a s s i g n e d   t h e   d e f a u l t   C P U   r e q u e s t   v a l u e   o f   0 . 5   c p u :   r e s o u r c e s :   l i m i t s :   c p u :   \" 1 \"   r e q u e s t s :   c p u :   \" 1 \"",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-default-namespace/",
    "id": "k8s_00532_section_2_9979"
  },
  {
    "question": "What is What if you specify a container's request, but not its limit??",
    "answer": "H e r e ' s   a n   e x a m p l e   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   s p e c i f i e s   a   C P U   r e q u e s t ,   b u t   n o t   a   l i m i t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d e f a u l t - c p u - d e m o - 3   s p e c :   c o n t a i n e r s :   -   n a m e :   d e f a u l t - c p u - d e m o - 3 - c t r   i m a g e :   n g i n x   r e s o u r c e s :   r e q u e s t s :   c p u :   \" 0 . 7 5 \"   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / c p u - d e f a u l t s - p o d - 3 . y a m l   - - n a m e s p a c e = d e f a u l t - c p u - e x a m p l e   V i e w   t h e   s p e c i f i c a t i o n   o f   t h e   P o d   t h a t   y o u   c r e a t e d :   k u b e c t l   g e t   p o d   d e f a u l t - c p u - d e m o - 3   - - o u t p u t = y a m l   - - n a m e s p a c e = d e f a u l t - c p u - e x a m p l e   T h e   o u t p u t   s h o w s   t h a t   t h e   c o n t a i n e r ' s   C P U   r e q u e s t   i s   s e t   t o   t h e   v a l u e   y o u   s p e c i f i e d   a t   t h e   t i m e   y o u   c r e a t e d   t h e   P o d   ( i n   o t h e r   w o r d s :   i t   m a t c h e s   t h e   m a n i f e s t ) .   H o w e v e r ,   t h e   s a m e   c o n t a i n e r ' s   C P U   l i m i t   i s   s e t   t o   1   c p u ,   w h i c h   i s   t h e   d e f a u l t   C P U   l i m i t   f o r   t h a t   n a m e s p a c e .   r e s o u r c e s :   l i m i t s :   c p u :   \" 1 \"   r e q u e s t s :   c p u :   7 5 0 m",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-default-namespace/",
    "id": "k8s_00532_section_2_9980"
  },
  {
    "question": "What is Motivation for default CPU limits and requests?",
    "answer": "I f   y o u r   n a m e s p a c e   h a s   a   C P U   r e s o u r c e   q u o t a   c o n f i g u r e d ,   i t   i s   h e l p f u l   t o   h a v e   a   d e f a u l t   v a l u e   i n   p l a c e   f o r   C P U   l i m i t .   H e r e   a r e   t w o   o f   t h e   r e s t r i c t i o n s   t h a t   a   C P U   r e s o u r c e   q u o t a   i m p o s e s   o n   a   n a m e s p a c e :   F o r   e v e r y   P o d   t h a t   r u n s   i n   t h e   n a m e s p a c e ,   e a c h   o f   i t s   c o n t a i n e r s   m u s t   h a v e   a   C P U   l i m i t . C P U   l i m i t s   a p p l y   a   r e s o u r c e   r e s e r v a t i o n   o n   t h e   n o d e   w h e r e   t h e   P o d   i n   q u e s t i o n   i s   s c h e d u l e d .   T h e   t o t a l   a m o u n t   o f   C P U   t h a t   i s   r e s e r v e d   f o r   u s e   b y   a l l   P o d s   i n   t h e   n a m e s p a c e   m u s t   n o t   e x c e e d   a   s p e c i f i e d   l i m i t .   W h e n   y o u   a d d   a   L i m i t R a n g e :   I f   a n y   P o d   i n   t h a t   n a m e s p a c e   t h a t   i n c l u d e s   a   c o n t a i n e r   d o e s   n o t   s p e c i f y   i t s   o w n   C P U   l i m i t ,   t h e   c o n t r o l   p l a n e   a p p l i e s   t h e   d e f a u l t   C P U   l i m i t   t o   t h a t   c o n t a i n e r ,   a n d   t h e   P o d   c a n   b e   a l l o w e d   t o   r u n   i n   a   n a m e s p a c e   t h a t   i s   r e s t r i c t e d   b y   a   C P U   R e s o u r c e Q u o t a .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-default-namespace/",
    "id": "k8s_00532_section_2_9981"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   n a m e s p a c e :   k u b e c t l   d e l e t e   n a m e s p a c e   d e f a u l t - c p u - e x a m p l e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-default-namespace/",
    "id": "k8s_00532_section_2_9982"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e   C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-default-namespace/",
    "id": "k8s_00532_section_3_9983"
  },
  {
    "question": "What is For app developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s   C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-default-namespace/",
    "id": "k8s_00532_section_3_9984"
  },
  {
    "question": "What is Scheduler Performance Tuning?",
    "answer": "Scheduler Performance TuningFEATURE STATE: Kubernetes v1.14 [beta]kube-scheduler is the Kubernetes default scheduler. It is responsible for placement of Pods on Nodes in a cluster.Nodes in a cluster that meet the scheduling requirements of a Pod are called feasible Nodes for the Pod. The scheduler finds feasible Nodes for a Pod and then runs a set of functions to score the feasible Nodes, picking a Node with the highest score among the feasible ones to run the Pod. The scheduler then notifies the API server about this decision in a process called Binding.This page explains performance tuning optimizations that are relevant for large Kubernetes clusters.In large clusters, you can tune the scheduler's behaviour balancing scheduling outcomes between latency (new Pods are placed quickly) and accuracy (the scheduler rarely makes poor placement decisions).You configure this tuning setting via kube-scheduler setting percentageOfNodesToScore. This KubeSchedulerConfiguration setting determines a threshold for scheduling nodes in your cluster.Setting the thresholdThe percentageOfNodesToScore option accepts whole numeric values between 0 and 100. The value 0 is a special number which indicates that the kube-scheduler should use its compiled-in default. If you set percentageOfNodesToScore above 100, kube-scheduler acts as if you had set a value of 100.To change the value, edit the kube-scheduler configuration file and then restart the scheduler. In many cases, the configuration file can be found at /etc/kubernetes/config/kube-scheduler.yaml.After you have made this change, you can runkubectl get pods -n kube-system | grep kube-scheduler to verify that the kube-scheduler component is healthy.Node scoring thresholdTo improve scheduling performance, the kube-scheduler can stop looking for feasible nodes once it has found enough of them. In large clusters, this saves time compared to a naive approach that would consider every node.You specify a threshold for how many nodes are enough, as a whole number percentage of all the nodes in your cluster. The kube-scheduler converts this into an integer number of nodes. During scheduling, if the kube-scheduler has identified enough feasible nodes to exceed the configured percentage, the kube-scheduler stops searching for more feasible nodes and moves on to the scoring phase.How the scheduler iterates over Nodes describes the process in detail.Default thresholdIf you don't specify a threshold, Kubernetes calculates a figure using a linear formula that yields 50% for a 100-node cluster and yields 10% for a 5000-node cluster. The lower bound for the automatic value is 5%.This means that the kube-scheduler always scores at least 5% of your cluster no matter how large the cluster is, unless you have explicitly set percentageOfNodesToScore to be smaller than 5.If you want the scheduler to score all nodes in your cluster, set percentageOfNodesToScore to 100.ExampleBelow is an example configuration that sets percentageOfNodesToS",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduler-perf-tuning/",
    "id": "k8s_00533_qa_9985"
  },
  {
    "question": "How does Scheduler Performance Tuning work?",
    "answer": "Scheduler Performance TuningFEATURE STATE: Kubernetes v1.14 [beta]kube-scheduler is the Kubernetes default scheduler. It is responsible for placement of Pods on Nodes in a cluster.Nodes in a cluster that meet the scheduling requirements of a Pod are called feasible Nodes for the Pod. The scheduler finds feasible Nodes for a Pod and then runs a set of functions to score the feasible Nodes, picking a Node with the highest score among the feasible ones to run the Pod. The scheduler then notifies the API server about this decision in a process called Binding.This page explains performance tuning optimizations that are relevant for large Kubernetes clusters.In large clusters, you can tune the scheduler's behaviour balancing scheduling outcomes between latency (new Pods are placed quickly) and accuracy (the scheduler rarely makes poor placement decisions).You configure this tuning setting via kube-scheduler setting percentageOfNodesToScore. This KubeSchedulerConfiguration setting determines a threshold for scheduling nodes in your cluster.Setting the thresholdThe percentageOfNodesToScore option accepts whole numeric values between 0 and 100. The value 0 is a special number which indicates that the kube-scheduler should use its compiled-in default. If you set percentageOfNodesToScore above 100, kube-scheduler acts as if you had set a value of 100.To change the value, edit the kube-scheduler configuration file and then restart the scheduler. In many cases, the configuration file can be found at /etc/kubernetes/config/kube-scheduler.yaml.After you have made this change, you can runkubectl get pods -n kube-system | grep kube-scheduler to verify that the kube-scheduler component is healthy.Node scoring thresholdTo improve scheduling performance, the kube-scheduler can stop looking for feasible nodes once it has found enough of them. In large clusters, this saves time compared to a naive approach that would consider every node.You specify a threshold for how many nodes are enough, as a whole number percentage of all the nodes in your cluster. The kube-scheduler converts this into an integer number of nodes. During scheduling, if the kube-scheduler has identified enough feasible nodes to exceed the configured percentage, the kube-scheduler stops searching for more feasible nodes and moves on to the scoring phase.How the scheduler iterates over Nodes describes the process in detail.Default thresholdIf you don't specify a threshold, Kubernetes calculates a figure using a linear formula that yields 50% for a 100-node cluster and yields 10% for a 5000-node cluster. The lower bound for the automatic value is 5%.This means that the kube-scheduler always scores at least 5% of your cluster no matter how large the cluster is, unless you have explicitly set percentageOfNodesToScore to be smaller than 5.If you want the scheduler to score all nodes in your cluster, set percentageOfNodesToScore to 100.ExampleBelow is an example configuration that sets percentageOfNodesToS",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduler-perf-tuning/",
    "id": "k8s_00533_qa_9986"
  },
  {
    "question": "When would you use Scheduler Performance Tuning?",
    "answer": "Scheduler Performance TuningFEATURE STATE: Kubernetes v1.14 [beta]kube-scheduler is the Kubernetes default scheduler. It is responsible for placement of Pods on Nodes in a cluster.Nodes in a cluster that meet the scheduling requirements of a Pod are called feasible Nodes for the Pod. The scheduler finds feasible Nodes for a Pod and then runs a set of functions to score the feasible Nodes, picking a Node with the highest score among the feasible ones to run the Pod. The scheduler then notifies the API server about this decision in a process called Binding.This page explains performance tuning optimizations that are relevant for large Kubernetes clusters.In large clusters, you can tune the scheduler's behaviour balancing scheduling outcomes between latency (new Pods are placed quickly) and accuracy (the scheduler rarely makes poor placement decisions).You configure this tuning setting via kube-scheduler setting percentageOfNodesToScore. This KubeSchedulerConfiguration setting determines a threshold for scheduling nodes in your cluster.Setting the thresholdThe percentageOfNodesToScore option accepts whole numeric values between 0 and 100. The value 0 is a special number which indicates that the kube-scheduler should use its compiled-in default. If you set percentageOfNodesToScore above 100, kube-scheduler acts as if you had set a value of 100.To change the value, edit the kube-scheduler configuration file and then restart the scheduler. In many cases, the configuration file can be found at /etc/kubernetes/config/kube-scheduler.yaml.After you have made this change, you can runkubectl get pods -n kube-system | grep kube-scheduler to verify that the kube-scheduler component is healthy.Node scoring thresholdTo improve scheduling performance, the kube-scheduler can stop looking for feasible nodes once it has found enough of them. In large clusters, this saves time compared to a naive approach that would consider every node.You specify a threshold for how many nodes are enough, as a whole number percentage of all the nodes in your cluster. The kube-scheduler converts this into an integer number of nodes. During scheduling, if the kube-scheduler has identified enough feasible nodes to exceed the configured percentage, the kube-scheduler stops searching for more feasible nodes and moves on to the scoring phase.How the scheduler iterates over Nodes describes the process in detail.Default thresholdIf you don't specify a threshold, Kubernetes calculates a figure using a linear formula that yields 50% for a 100-node cluster and yields 10% for a 5000-node cluster. The lower bound for the automatic value is 5%.This means that the kube-scheduler always scores at least 5% of your cluster no matter how large the cluster is, unless you have explicitly set percentageOfNodesToScore to be smaller than 5.If you want the scheduler to score all nodes in your cluster, set percentageOfNodesToScore to 100.ExampleBelow is an example configuration that sets percentageOfNodesToS",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduler-perf-tuning/",
    "id": "k8s_00533_qa_9987"
  },
  {
    "question": "What are the benefits of Scheduler Performance Tuning?",
    "answer": "Scheduler Performance TuningFEATURE STATE: Kubernetes v1.14 [beta]kube-scheduler is the Kubernetes default scheduler. It is responsible for placement of Pods on Nodes in a cluster.Nodes in a cluster that meet the scheduling requirements of a Pod are called feasible Nodes for the Pod. The scheduler finds feasible Nodes for a Pod and then runs a set of functions to score the feasible Nodes, picking a Node with the highest score among the feasible ones to run the Pod. The scheduler then notifies the API server about this decision in a process called Binding.This page explains performance tuning optimizations that are relevant for large Kubernetes clusters.In large clusters, you can tune the scheduler's behaviour balancing scheduling outcomes between latency (new Pods are placed quickly) and accuracy (the scheduler rarely makes poor placement decisions).You configure this tuning setting via kube-scheduler setting percentageOfNodesToScore. This KubeSchedulerConfiguration setting determines a threshold for scheduling nodes in your cluster.Setting the thresholdThe percentageOfNodesToScore option accepts whole numeric values between 0 and 100. The value 0 is a special number which indicates that the kube-scheduler should use its compiled-in default. If you set percentageOfNodesToScore above 100, kube-scheduler acts as if you had set a value of 100.To change the value, edit the kube-scheduler configuration file and then restart the scheduler. In many cases, the configuration file can be found at /etc/kubernetes/config/kube-scheduler.yaml.After you have made this change, you can runkubectl get pods -n kube-system | grep kube-scheduler to verify that the kube-scheduler component is healthy.Node scoring thresholdTo improve scheduling performance, the kube-scheduler can stop looking for feasible nodes once it has found enough of them. In large clusters, this saves time compared to a naive approach that would consider every node.You specify a threshold for how many nodes are enough, as a whole number percentage of all the nodes in your cluster. The kube-scheduler converts this into an integer number of nodes. During scheduling, if the kube-scheduler has identified enough feasible nodes to exceed the configured percentage, the kube-scheduler stops searching for more feasible nodes and moves on to the scoring phase.How the scheduler iterates over Nodes describes the process in detail.Default thresholdIf you don't specify a threshold, Kubernetes calculates a figure using a linear formula that yields 50% for a 100-node cluster and yields 10% for a 5000-node cluster. The lower bound for the automatic value is 5%.This means that the kube-scheduler always scores at least 5% of your cluster no matter how large the cluster is, unless you have explicitly set percentageOfNodesToScore to be smaller than 5.If you want the scheduler to score all nodes in your cluster, set percentageOfNodesToScore to 100.ExampleBelow is an example configuration that sets percentageOfNodesToS",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduler-perf-tuning/",
    "id": "k8s_00533_qa_9988"
  },
  {
    "question": "What is Scheduler Performance Tuning?",
    "answer": "k u b e - s c h e d u l e r   i s   t h e   K u b e r n e t e s   d e f a u l t   s c h e d u l e r .   I t   i s   r e s p o n s i b l e   f o r   p l a c e m e n t   o f   P o d s   o n   N o d e s   i n   a   c l u s t e r .   N o d e s   i n   a   c l u s t e r   t h a t   m e e t   t h e   s c h e d u l i n g   r e q u i r e m e n t s   o f   a   P o d   a r e   c a l l e d   f e a s i b l e   N o d e s   f o r   t h e   P o d .   T h e   s c h e d u l e r   f i n d s   f e a s i b l e   N o d e s   f o r   a   P o d   a n d   t h e n   r u n s   a   s e t   o f   f u n c t i o n s   t o   s c o r e   t h e   f e a s i b l e   N o d e s ,   p i c k i n g   a   N o d e   w i t h   t h e   h i g h e s t   s c o r e   a m o n g   t h e   f e a s i b l e   o n e s   t o   r u n   t h e   P o d .   T h e   s c h e d u l e r   t h e n   n o t i f i e s   t h e   A P I   s e r v e r   a b o u t   t h i s   d e c i s i o n   i n   a   p r o c e s s   c a l l e d   B i n d i n g .   T h i s   p a g e   e x p l a i n s   p e r f o r m a n c e   t u n i n g   o p t i m i z a t i o n s   t h a t   a r e   r e l e v a n t   f o r   l a r g e   K u b e r n e t e s   c l u s t e r s .   I n   l a r g e   c l u s t e r s ,   y o u   c a n   t u n e   t h e   s c h e d u l e r ' s   b e h a v i o u r   b a l a n c i n g   s c h e d u l i n g   o u t c o m e s   b e t w e e n   l a t e n c y   ( n e w   P o d s   a r e   p l a c e d   q u i c k l y )   a n d   a c c u r a c y   ( t h e   s c h e d u l e r   r a r e l y   m a k e s   p o o r   p l a c e m e n t   d e c i s i o n s ) .   Y o u   c o n f i g u r e   t h i s   t u n i n g   s e t t i n g   v i a   k u b e - s c h e d u l e r   s e t t i n g   p e r c e n t a g e O f N o d e s T o S c o r e .   T h i s   K u b e S c h e d u l e r C o n f i g u r a t i o n   s e t t i n g   d e t e r m i n e s   a   t h r e s h o l d   f o r   s c h e d u l i n g   n o d e s   i n   y o u r   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduler-perf-tuning/",
    "id": "k8s_00533_section_1_9989"
  },
  {
    "question": "What is Setting the threshold?",
    "answer": "T h e   p e r c e n t a g e O f N o d e s T o S c o r e   o p t i o n   a c c e p t s   w h o l e   n u m e r i c   v a l u e s   b e t w e e n   0   a n d   1 0 0 .   T h e   v a l u e   0   i s   a   s p e c i a l   n u m b e r   w h i c h   i n d i c a t e s   t h a t   t h e   k u b e - s c h e d u l e r   s h o u l d   u s e   i t s   c o m p i l e d - i n   d e f a u l t .   I f   y o u   s e t   p e r c e n t a g e O f N o d e s T o S c o r e   a b o v e   1 0 0 ,   k u b e - s c h e d u l e r   a c t s   a s   i f   y o u   h a d   s e t   a   v a l u e   o f   1 0 0 .   T o   c h a n g e   t h e   v a l u e ,   e d i t   t h e   k u b e - s c h e d u l e r   c o n f i g u r a t i o n   f i l e   a n d   t h e n   r e s t a r t   t h e   s c h e d u l e r .   I n   m a n y   c a s e s ,   t h e   c o n f i g u r a t i o n   f i l e   c a n   b e   f o u n d   a t   / e t c / k u b e r n e t e s / c o n f i g / k u b e - s c h e d u l e r . y a m l .   A f t e r   y o u   h a v e   m a d e   t h i s   c h a n g e ,   y o u   c a n   r u n   k u b e c t l   g e t   p o d s   - n   k u b e - s y s t e m   |   g r e p   k u b e - s c h e d u l e r   t o   v e r i f y   t h a t   t h e   k u b e - s c h e d u l e r   c o m p o n e n t   i s   h e a l t h y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduler-perf-tuning/",
    "id": "k8s_00533_section_3_9990"
  },
  {
    "question": "What is Node scoring threshold?",
    "answer": "T o   i m p r o v e   s c h e d u l i n g   p e r f o r m a n c e ,   t h e   k u b e - s c h e d u l e r   c a n   s t o p   l o o k i n g   f o r   f e a s i b l e   n o d e s   o n c e   i t   h a s   f o u n d   e n o u g h   o f   t h e m .   I n   l a r g e   c l u s t e r s ,   t h i s   s a v e s   t i m e   c o m p a r e d   t o   a   n a i v e   a p p r o a c h   t h a t   w o u l d   c o n s i d e r   e v e r y   n o d e .   Y o u   s p e c i f y   a   t h r e s h o l d   f o r   h o w   m a n y   n o d e s   a r e   e n o u g h ,   a s   a   w h o l e   n u m b e r   p e r c e n t a g e   o f   a l l   t h e   n o d e s   i n   y o u r   c l u s t e r .   T h e   k u b e - s c h e d u l e r   c o n v e r t s   t h i s   i n t o   a n   i n t e g e r   n u m b e r   o f   n o d e s .   D u r i n g   s c h e d u l i n g ,   i f   t h e   k u b e - s c h e d u l e r   h a s   i d e n t i f i e d   e n o u g h   f e a s i b l e   n o d e s   t o   e x c e e d   t h e   c o n f i g u r e d   p e r c e n t a g e ,   t h e   k u b e - s c h e d u l e r   s t o p s   s e a r c h i n g   f o r   m o r e   f e a s i b l e   n o d e s   a n d   m o v e s   o n   t o   t h e   s c o r i n g   p h a s e .   H o w   t h e   s c h e d u l e r   i t e r a t e s   o v e r   N o d e s   d e s c r i b e s   t h e   p r o c e s s   i n   d e t a i l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduler-perf-tuning/",
    "id": "k8s_00533_section_2_9991"
  },
  {
    "question": "What is Default threshold?",
    "answer": "I f   y o u   d o n ' t   s p e c i f y   a   t h r e s h o l d ,   K u b e r n e t e s   c a l c u l a t e s   a   f i g u r e   u s i n g   a   l i n e a r   f o r m u l a   t h a t   y i e l d s   5 0 %   f o r   a   1 0 0 - n o d e   c l u s t e r   a n d   y i e l d s   1 0 %   f o r   a   5 0 0 0 - n o d e   c l u s t e r .   T h e   l o w e r   b o u n d   f o r   t h e   a u t o m a t i c   v a l u e   i s   5 % .   T h i s   m e a n s   t h a t   t h e   k u b e - s c h e d u l e r   a l w a y s   s c o r e s   a t   l e a s t   5 %   o f   y o u r   c l u s t e r   n o   m a t t e r   h o w   l a r g e   t h e   c l u s t e r   i s ,   u n l e s s   y o u   h a v e   e x p l i c i t l y   s e t   p e r c e n t a g e O f N o d e s T o S c o r e   t o   b e   s m a l l e r   t h a n   5 .   I f   y o u   w a n t   t h e   s c h e d u l e r   t o   s c o r e   a l l   n o d e s   i n   y o u r   c l u s t e r ,   s e t   p e r c e n t a g e O f N o d e s T o S c o r e   t o   1 0 0 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduler-perf-tuning/",
    "id": "k8s_00533_section_3_9992"
  },
  {
    "question": "What is Example?",
    "answer": "B e l o w   i s   a n   e x a m p l e   c o n f i g u r a t i o n   t h a t   s e t s   p e r c e n t a g e O f N o d e s T o S c o r e   t o   5 0 % .   a p i V e r s i o n :   k u b e s c h e d u l e r . c o n f i g . k 8 s . i o / v 1 a l p h a 1   k i n d :   K u b e S c h e d u l e r C o n f i g u r a t i o n   a l g o r i t h m S o u r c e :   p r o v i d e r :   D e f a u l t P r o v i d e r   . . .   p e r c e n t a g e O f N o d e s T o S c o r e :   5 0",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduler-perf-tuning/",
    "id": "k8s_00533_section_2_9993"
  },
  {
    "question": "What is Tuning percentageOfNodesToScore?",
    "answer": "p e r c e n t a g e O f N o d e s T o S c o r e   m u s t   b e   a   v a l u e   b e t w e e n   1   a n d   1 0 0   w i t h   t h e   d e f a u l t   v a l u e   b e i n g   c a l c u l a t e d   b a s e d   o n   t h e   c l u s t e r   s i z e .   T h e r e   i s   a l s o   a   h a r d c o d e d   m i n i m u m   v a l u e   o f   1 0 0   n o d e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduler-perf-tuning/",
    "id": "k8s_00533_section_2_9994"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   c l u s t e r s   w i t h   l e s s   t h a n   1 0 0   f e a s i b l e   n o d e s ,   t h e   s c h e d u l e r   s t i l l   c h e c k s   a l l   t h e   n o d e s   b e c a u s e   t h e r e   a r e   n o t   e n o u g h   f e a s i b l e   n o d e s   t o   s t o p   t h e   s c h e d u l e r ' s   s e a r c h   e a r l y .   I n   a   s m a l l   c l u s t e r ,   i f   y o u   s e t   a   l o w   v a l u e   f o r   p e r c e n t a g e O f N o d e s T o S c o r e ,   y o u r   c h a n g e   w i l l   h a v e   n o   o r   l i t t l e   e f f e c t ,   f o r   a   s i m i l a r   r e a s o n .   I f   y o u r   c l u s t e r   h a s   s e v e r a l   h u n d r e d   N o d e s   o r   f e w e r ,   l e a v e   t h i s   c o n f i g u r a t i o n   o p t i o n   a t   i t s   d e f a u l t   v a l u e .   M a k i n g   c h a n g e s   i s   u n l i k e l y   t o   i m p r o v e   t h e   s c h e d u l e r ' s   p e r f o r m a n c e   s i g n i f i c a n t l y .   A n   i m p o r t a n t   d e t a i l   t o   c o n s i d e r   w h e n   s e t t i n g   t h i s   v a l u e   i s   t h a t   w h e n   a   s m a l l e r   n u m b e r   o f   n o d e s   i n   a   c l u s t e r   a r e   c h e c k e d   f o r   f e a s i b i l i t y ,   s o m e   n o d e s   a r e   n o t   s e n t   t o   b e   s c o r e d   f o r   a   g i v e n   P o d .   A s   a   r e s u l t ,   a   N o d e   w h i c h   c o u l d   p o s s i b l y   s c o r e   a   h i g h e r   v a l u e   f o r   r u n n i n g   t h e   g i v e n   P o d   m i g h t   n o t   e v e n   b e   p a s s e d   t o   t h e   s c o r i n g   p h a s e .   T h i s   w o u l d   r e s u l t   i n   a   l e s s   t h a n   i d e a l   p l a c e m e n t   o f   t h e   P o d .   Y o u   s h o u l d   a v o i d   s e t t i n g   p e r c e n t a g e O f N o d e s T o S c o r e   v e r y   l o w   s o   t h a t   k u b e - s c h e d u l e r   d o e s   n o t   m a k e   f r e q u e n t ,   p o o r   P o d   p l a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduler-perf-tuning/",
    "id": "k8s_00533_section_4_9995"
  },
  {
    "question": "What is How the scheduler iterates over Nodes?",
    "answer": "T h i s   s e c t i o n   i s   i n t e n d e d   f o r   t h o s e   w h o   w a n t   t o   u n d e r s t a n d   t h e   i n t e r n a l   d e t a i l s   o f   t h i s   f e a t u r e .   I n   o r d e r   t o   g i v e   a l l   t h e   N o d e s   i n   a   c l u s t e r   a   f a i r   c h a n c e   o f   b e i n g   c o n s i d e r e d   f o r   r u n n i n g   P o d s ,   t h e   s c h e d u l e r   i t e r a t e s   o v e r   t h e   n o d e s   i n   a   r o u n d   r o b i n   f a s h i o n .   Y o u   c a n   i m a g i n e   t h a t   N o d e s   a r e   i n   a n   a r r a y .   T h e   s c h e d u l e r   s t a r t s   f r o m   t h e   s t a r t   o f   t h e   a r r a y   a n d   c h e c k s   f e a s i b i l i t y   o f   t h e   n o d e s   u n t i l   i t   f i n d s   e n o u g h   N o d e s   a s   s p e c i f i e d   b y   p e r c e n t a g e O f N o d e s T o S c o r e .   F o r   t h e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduler-perf-tuning/",
    "id": "k8s_00533_section_2_9996"
  },
  {
    "question": "What is What's next?",
    "answer": "C h e c k   t h e   k u b e - s c h e d u l e r   c o n f i g u r a t i o n   r e f e r e n c e   ( v 1 )",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduler-perf-tuning/",
    "id": "k8s_00533_section_2_9997"
  },
  {
    "question": "What is Building a Basic DaemonSet?",
    "answer": "Building a Basic DaemonSetThis page demonstrates how to build a basic DaemonSet that runs a Pod on every node in a Kubernetes cluster. It covers a simple use case of mounting a file from the host, logging its contents using an init container, and utilizing a pause container.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesA Kubernetes cluster with at least two nodes (one control plane node and one worker node) to demonstrate the behavior of DaemonSets.Define the DaemonSetIn this task, a basic DaemonSet is created which ensures that the copy of a Pod is scheduled on every node. The Pod will use an init container to read and log the contents of /etc/machine-id from the host, while the main container will be a pause container, which keeps the Pod running.application/basic-daemonset.yaml apiVersion: apps/v1 kind: DaemonSet metadata: name: example-daemonset spec: selector: matchLabels: app.kubernetes.io/name: example template: metadata: labels: app.kubernetes.io/name: example spec: containers: - name: pause image: registry.k8s.io/pause initContainers: - name: log-machine-id image: busybox:1.37 command: ['sh', '-c', 'cat /etc/machine-id > /var/log/machine-id.log'] volumeMounts: - name: machine-id mountPath: /etc/machine-id readOnly: true - name: log-dir mountPath: /var/log volumes: - name: machine-id hostPath: path: /etc/machine-id type: File - name: log-dir hostPath: path: /var/logCreate a DaemonSet based on the (YAML) manifest:kubectl apply -f https://k8s.io/examples/application/basic-daemonset.yaml Once applied, you can verify that the DaemonSet is running a Pod on every node in the cluster:kubectl get pods -o wide The output will list one Pod per node, similar to:NAME READY STATUS RESTARTS AGE IP NODE example-daemonset-xxxxx 1/1 Running 0 5m x.x.x.x node-1 example-daemonset-yyyyy 1/1 Running 0 5m x.x.x.x node-2 You can inspect the contents of the logged /etc/machine-id file by checking the log directory mounted from the host:kubectl exec <pod-name> -- cat /var/log/machine-id.log Where <pod-name> is the name of one of your Pods.Cleaning upTo delete the DaemonSet, run this command:kubectl delete --cascade=foreground --ignore-not-found --now daemonsets/example-daemonset This simple DaemonSet example introduces key components like init containers and host path volumes, which can be expanded upon for more advanced use cases. For more details refer to DaemonSet.What's nextSee Performing a rolling update on a DaemonSetSee Creating a DaemonSet to adopt existing DaemonSet pods",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/create-daemon-set/",
    "id": "k8s_00534_qa_9998"
  },
  {
    "question": "How does Building a Basic DaemonSet work?",
    "answer": "Building a Basic DaemonSetThis page demonstrates how to build a basic DaemonSet that runs a Pod on every node in a Kubernetes cluster. It covers a simple use case of mounting a file from the host, logging its contents using an init container, and utilizing a pause container.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesA Kubernetes cluster with at least two nodes (one control plane node and one worker node) to demonstrate the behavior of DaemonSets.Define the DaemonSetIn this task, a basic DaemonSet is created which ensures that the copy of a Pod is scheduled on every node. The Pod will use an init container to read and log the contents of /etc/machine-id from the host, while the main container will be a pause container, which keeps the Pod running.application/basic-daemonset.yaml apiVersion: apps/v1 kind: DaemonSet metadata: name: example-daemonset spec: selector: matchLabels: app.kubernetes.io/name: example template: metadata: labels: app.kubernetes.io/name: example spec: containers: - name: pause image: registry.k8s.io/pause initContainers: - name: log-machine-id image: busybox:1.37 command: ['sh', '-c', 'cat /etc/machine-id > /var/log/machine-id.log'] volumeMounts: - name: machine-id mountPath: /etc/machine-id readOnly: true - name: log-dir mountPath: /var/log volumes: - name: machine-id hostPath: path: /etc/machine-id type: File - name: log-dir hostPath: path: /var/logCreate a DaemonSet based on the (YAML) manifest:kubectl apply -f https://k8s.io/examples/application/basic-daemonset.yaml Once applied, you can verify that the DaemonSet is running a Pod on every node in the cluster:kubectl get pods -o wide The output will list one Pod per node, similar to:NAME READY STATUS RESTARTS AGE IP NODE example-daemonset-xxxxx 1/1 Running 0 5m x.x.x.x node-1 example-daemonset-yyyyy 1/1 Running 0 5m x.x.x.x node-2 You can inspect the contents of the logged /etc/machine-id file by checking the log directory mounted from the host:kubectl exec <pod-name> -- cat /var/log/machine-id.log Where <pod-name> is the name of one of your Pods.Cleaning upTo delete the DaemonSet, run this command:kubectl delete --cascade=foreground --ignore-not-found --now daemonsets/example-daemonset This simple DaemonSet example introduces key components like init containers and host path volumes, which can be expanded upon for more advanced use cases. For more details refer to DaemonSet.What's nextSee Performing a rolling update on a DaemonSetSee Creating a DaemonSet to adopt existing DaemonSet pods",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/create-daemon-set/",
    "id": "k8s_00534_qa_9999"
  },
  {
    "question": "When would you use Building a Basic DaemonSet?",
    "answer": "Building a Basic DaemonSetThis page demonstrates how to build a basic DaemonSet that runs a Pod on every node in a Kubernetes cluster. It covers a simple use case of mounting a file from the host, logging its contents using an init container, and utilizing a pause container.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesA Kubernetes cluster with at least two nodes (one control plane node and one worker node) to demonstrate the behavior of DaemonSets.Define the DaemonSetIn this task, a basic DaemonSet is created which ensures that the copy of a Pod is scheduled on every node. The Pod will use an init container to read and log the contents of /etc/machine-id from the host, while the main container will be a pause container, which keeps the Pod running.application/basic-daemonset.yaml apiVersion: apps/v1 kind: DaemonSet metadata: name: example-daemonset spec: selector: matchLabels: app.kubernetes.io/name: example template: metadata: labels: app.kubernetes.io/name: example spec: containers: - name: pause image: registry.k8s.io/pause initContainers: - name: log-machine-id image: busybox:1.37 command: ['sh', '-c', 'cat /etc/machine-id > /var/log/machine-id.log'] volumeMounts: - name: machine-id mountPath: /etc/machine-id readOnly: true - name: log-dir mountPath: /var/log volumes: - name: machine-id hostPath: path: /etc/machine-id type: File - name: log-dir hostPath: path: /var/logCreate a DaemonSet based on the (YAML) manifest:kubectl apply -f https://k8s.io/examples/application/basic-daemonset.yaml Once applied, you can verify that the DaemonSet is running a Pod on every node in the cluster:kubectl get pods -o wide The output will list one Pod per node, similar to:NAME READY STATUS RESTARTS AGE IP NODE example-daemonset-xxxxx 1/1 Running 0 5m x.x.x.x node-1 example-daemonset-yyyyy 1/1 Running 0 5m x.x.x.x node-2 You can inspect the contents of the logged /etc/machine-id file by checking the log directory mounted from the host:kubectl exec <pod-name> -- cat /var/log/machine-id.log Where <pod-name> is the name of one of your Pods.Cleaning upTo delete the DaemonSet, run this command:kubectl delete --cascade=foreground --ignore-not-found --now daemonsets/example-daemonset This simple DaemonSet example introduces key components like init containers and host path volumes, which can be expanded upon for more advanced use cases. For more details refer to DaemonSet.What's nextSee Performing a rolling update on a DaemonSetSee Creating a DaemonSet to adopt existing DaemonSet pods",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/create-daemon-set/",
    "id": "k8s_00534_qa_10000"
  },
  {
    "question": "What are the benefits of Building a Basic DaemonSet?",
    "answer": "Building a Basic DaemonSetThis page demonstrates how to build a basic DaemonSet that runs a Pod on every node in a Kubernetes cluster. It covers a simple use case of mounting a file from the host, logging its contents using an init container, and utilizing a pause container.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesA Kubernetes cluster with at least two nodes (one control plane node and one worker node) to demonstrate the behavior of DaemonSets.Define the DaemonSetIn this task, a basic DaemonSet is created which ensures that the copy of a Pod is scheduled on every node. The Pod will use an init container to read and log the contents of /etc/machine-id from the host, while the main container will be a pause container, which keeps the Pod running.application/basic-daemonset.yaml apiVersion: apps/v1 kind: DaemonSet metadata: name: example-daemonset spec: selector: matchLabels: app.kubernetes.io/name: example template: metadata: labels: app.kubernetes.io/name: example spec: containers: - name: pause image: registry.k8s.io/pause initContainers: - name: log-machine-id image: busybox:1.37 command: ['sh', '-c', 'cat /etc/machine-id > /var/log/machine-id.log'] volumeMounts: - name: machine-id mountPath: /etc/machine-id readOnly: true - name: log-dir mountPath: /var/log volumes: - name: machine-id hostPath: path: /etc/machine-id type: File - name: log-dir hostPath: path: /var/logCreate a DaemonSet based on the (YAML) manifest:kubectl apply -f https://k8s.io/examples/application/basic-daemonset.yaml Once applied, you can verify that the DaemonSet is running a Pod on every node in the cluster:kubectl get pods -o wide The output will list one Pod per node, similar to:NAME READY STATUS RESTARTS AGE IP NODE example-daemonset-xxxxx 1/1 Running 0 5m x.x.x.x node-1 example-daemonset-yyyyy 1/1 Running 0 5m x.x.x.x node-2 You can inspect the contents of the logged /etc/machine-id file by checking the log directory mounted from the host:kubectl exec <pod-name> -- cat /var/log/machine-id.log Where <pod-name> is the name of one of your Pods.Cleaning upTo delete the DaemonSet, run this command:kubectl delete --cascade=foreground --ignore-not-found --now daemonsets/example-daemonset This simple DaemonSet example introduces key components like init containers and host path volumes, which can be expanded upon for more advanced use cases. For more details refer to DaemonSet.What's nextSee Performing a rolling update on a DaemonSetSee Creating a DaemonSet to adopt existing DaemonSet pods",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/create-daemon-set/",
    "id": "k8s_00534_qa_10001"
  },
  {
    "question": "What is Building a Basic DaemonSet?",
    "answer": "T h i s   p a g e   d e m o n s t r a t e s   h o w   t o   b u i l d   a   b a s i c   D a e m o n S e t   t h a t   r u n s   a   P o d   o n   e v e r y   n o d e   i n   a   K u b e r n e t e s   c l u s t e r .   I t   c o v e r s   a   s i m p l e   u s e   c a s e   o f   m o u n t i n g   a   f i l e   f r o m   t h e   h o s t ,   l o g g i n g   i t s   c o n t e n t s   u s i n g   a n   i n i t   c o n t a i n e r ,   a n d   u t i l i z i n g   a   p a u s e   c o n t a i n e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/create-daemon-set/",
    "id": "k8s_00534_section_1_10002"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   A   K u b e r n e t e s   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   ( o n e   c o n t r o l   p l a n e   n o d e   a n d   o n e   w o r k e r   n o d e )   t o   d e m o n s t r a t e   t h e   b e h a v i o r   o f   D a e m o n S e t s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/create-daemon-set/",
    "id": "k8s_00534_section_2_10003"
  },
  {
    "question": "What is Define the DaemonSet?",
    "answer": "I n   t h i s   t a s k ,   a   b a s i c   D a e m o n S e t   i s   c r e a t e d   w h i c h   e n s u r e s   t h a t   t h e   c o p y   o f   a   P o d   i s   s c h e d u l e d   o n   e v e r y   n o d e .   T h e   P o d   w i l l   u s e   a n   i n i t   c o n t a i n e r   t o   r e a d   a n d   l o g   t h e   c o n t e n t s   o f   / e t c / m a c h i n e - i d   f r o m   t h e   h o s t ,   w h i l e   t h e   m a i n   c o n t a i n e r   w i l l   b e   a   p a u s e   c o n t a i n e r ,   w h i c h   k e e p s   t h e   P o d   r u n n i n g .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D a e m o n S e t   m e t a d a t a :   n a m e :   e x a m p l e - d a e m o n s e t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   e x a m p l e   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   p a u s e   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e   i n i t C o n t a i n e r s :   -   n a m e :   l o g - m a c h i n e - i d   i m a g e :   b u s y b o x : 1 . 3 7   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   ' c a t   / e t c / m a c h i n e - i d   >   / v a r / l o g / m a c h i n e - i d . l o g ' ]   v o l u m e M o u n t s :   -   n a m e :   m a c h i n e - i d   m o u n t P a t h :   / e t c / m a c h i n e - i d   r e a d O n l y :   t r u e   -   n a m e :   l o g - d i r   m o u n t P a t h :   / v a r / l o g   v o l u m e s :   -   n a m e :   m a c h i n e - i d   h o s t P a t h :   p a t h :   / e t c / m a c h i n e - i d   t y p e :   F i l e   -   n a m e :   l o g - d i r   h o s t P a t h :   p a t h :   / v a r / l o g   C r e a t e   a   D a e m o n S e t   b a s e d   o n   t h e   ( Y A M L )   m a n i f e s t : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / b a s i c - d ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/create-daemon-set/",
    "id": "k8s_00534_section_2_10004"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "T o   d e l e t e   t h e   D a e m o n S e t ,   r u n   t h i s   c o m m a n d :   k u b e c t l   d e l e t e   - - c a s c a d e = f o r e g r o u n d   - - i g n o r e - n o t - f o u n d   - - n o w   d a e m o n s e t s / e x a m p l e - d a e m o n s e t   T h i s   s i m p l e   D a e m o n S e t   e x a m p l e   i n t r o d u c e s   k e y   c o m p o n e n t s   l i k e   i n i t   c o n t a i n e r s   a n d   h o s t   p a t h   v o l u m e s ,   w h i c h   c a n   b e   e x p a n d e d   u p o n   f o r   m o r e   a d v a n c e d   u s e   c a s e s .   F o r   m o r e   d e t a i l s   r e f e r   t o   D a e m o n S e t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/create-daemon-set/",
    "id": "k8s_00534_section_2_10005"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   P e r f o r m i n g   a   r o l l i n g   u p d a t e   o n   a   D a e m o n S e t S e e   C r e a t i n g   a   D a e m o n S e t   t o   a d o p t   e x i s t i n g   D a e m o n S e t   p o d s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-daemon/create-daemon-set/",
    "id": "k8s_00534_section_2_10006"
  },
  {
    "question": "What is Issue Wranglers?",
    "answer": "Issue WranglersAlongside the PR Wrangler, formal approvers, reviewers and members of SIG Docs take week-long shifts triaging and categorising issues for the repository.DutiesEach day in a week-long shift the Issue Wrangler will be responsible for:Triaging and tagging incoming issues daily. See Triage and categorize issues for guidelines on how SIG Docs uses metadata.Keeping an eye on stale & rotten issues within the kubernetes/website repository.Maintenance of the Issues board.RequirementsMust be an active member of the Kubernetes organization.A minimum of 15 non-trivial contributions to Kubernetes (of which a certain amount should be directed towards kubernetes/website).Performing the role in an informal capacity already.Helpful Prow commands for wranglersBelow are some commonly used commands for Issue Wranglers:# reopen an issue /reopen # transfer issues that don't fit in k/website to another repository /transfer[-issue] # change the state of rotten issues /remove-lifecycle rotten # change the state of stale issues /remove-lifecycle stale # assign sig to an issue /sig <sig_name> # add specific area /area <area_name> # for beginner friendly issues /good-first-issue # issues that needs help /help wanted # tagging issue as support specific /kind support # to accept triaging for an issue /triage accepted # closing an issue we won't be working on and haven't fixed yet /close not-planned To find more Prow commands, refer to the Command Help documentation.When to close IssuesFor an open source project to succeed, good issue management is crucial. But it is also critical to resolve issues in order to maintain the repository and communicate clearly with contributors and users.Close issues when:A similar issue is reported more than once. You will first need to tag it as /triage duplicate; link it to the main issue & then close it. It is also advisable to direct the users to the original issue.It is very difficult to understand and address the issue presented by the author with the information provided. However, encourage the user to provide more details or reopen the issue if they can reproduce it later.The same functionality is implemented elsewhere. One can close this issue and direct user to the appropriate place.The reported issue is not currently planned or aligned with the project's goals.If the issue appears to be spam and is clearly unrelated.If the issue is related to an external limitation or dependency and is beyond the control of the project.To close an issue, leave a /close comment on the issue.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/issue-wrangler/",
    "id": "k8s_00535_qa_10007"
  },
  {
    "question": "How does Issue Wranglers work?",
    "answer": "Issue WranglersAlongside the PR Wrangler, formal approvers, reviewers and members of SIG Docs take week-long shifts triaging and categorising issues for the repository.DutiesEach day in a week-long shift the Issue Wrangler will be responsible for:Triaging and tagging incoming issues daily. See Triage and categorize issues for guidelines on how SIG Docs uses metadata.Keeping an eye on stale & rotten issues within the kubernetes/website repository.Maintenance of the Issues board.RequirementsMust be an active member of the Kubernetes organization.A minimum of 15 non-trivial contributions to Kubernetes (of which a certain amount should be directed towards kubernetes/website).Performing the role in an informal capacity already.Helpful Prow commands for wranglersBelow are some commonly used commands for Issue Wranglers:# reopen an issue /reopen # transfer issues that don't fit in k/website to another repository /transfer[-issue] # change the state of rotten issues /remove-lifecycle rotten # change the state of stale issues /remove-lifecycle stale # assign sig to an issue /sig <sig_name> # add specific area /area <area_name> # for beginner friendly issues /good-first-issue # issues that needs help /help wanted # tagging issue as support specific /kind support # to accept triaging for an issue /triage accepted # closing an issue we won't be working on and haven't fixed yet /close not-planned To find more Prow commands, refer to the Command Help documentation.When to close IssuesFor an open source project to succeed, good issue management is crucial. But it is also critical to resolve issues in order to maintain the repository and communicate clearly with contributors and users.Close issues when:A similar issue is reported more than once. You will first need to tag it as /triage duplicate; link it to the main issue & then close it. It is also advisable to direct the users to the original issue.It is very difficult to understand and address the issue presented by the author with the information provided. However, encourage the user to provide more details or reopen the issue if they can reproduce it later.The same functionality is implemented elsewhere. One can close this issue and direct user to the appropriate place.The reported issue is not currently planned or aligned with the project's goals.If the issue appears to be spam and is clearly unrelated.If the issue is related to an external limitation or dependency and is beyond the control of the project.To close an issue, leave a /close comment on the issue.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/issue-wrangler/",
    "id": "k8s_00535_qa_10008"
  },
  {
    "question": "When would you use Issue Wranglers?",
    "answer": "Issue WranglersAlongside the PR Wrangler, formal approvers, reviewers and members of SIG Docs take week-long shifts triaging and categorising issues for the repository.DutiesEach day in a week-long shift the Issue Wrangler will be responsible for:Triaging and tagging incoming issues daily. See Triage and categorize issues for guidelines on how SIG Docs uses metadata.Keeping an eye on stale & rotten issues within the kubernetes/website repository.Maintenance of the Issues board.RequirementsMust be an active member of the Kubernetes organization.A minimum of 15 non-trivial contributions to Kubernetes (of which a certain amount should be directed towards kubernetes/website).Performing the role in an informal capacity already.Helpful Prow commands for wranglersBelow are some commonly used commands for Issue Wranglers:# reopen an issue /reopen # transfer issues that don't fit in k/website to another repository /transfer[-issue] # change the state of rotten issues /remove-lifecycle rotten # change the state of stale issues /remove-lifecycle stale # assign sig to an issue /sig <sig_name> # add specific area /area <area_name> # for beginner friendly issues /good-first-issue # issues that needs help /help wanted # tagging issue as support specific /kind support # to accept triaging for an issue /triage accepted # closing an issue we won't be working on and haven't fixed yet /close not-planned To find more Prow commands, refer to the Command Help documentation.When to close IssuesFor an open source project to succeed, good issue management is crucial. But it is also critical to resolve issues in order to maintain the repository and communicate clearly with contributors and users.Close issues when:A similar issue is reported more than once. You will first need to tag it as /triage duplicate; link it to the main issue & then close it. It is also advisable to direct the users to the original issue.It is very difficult to understand and address the issue presented by the author with the information provided. However, encourage the user to provide more details or reopen the issue if they can reproduce it later.The same functionality is implemented elsewhere. One can close this issue and direct user to the appropriate place.The reported issue is not currently planned or aligned with the project's goals.If the issue appears to be spam and is clearly unrelated.If the issue is related to an external limitation or dependency and is beyond the control of the project.To close an issue, leave a /close comment on the issue.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/issue-wrangler/",
    "id": "k8s_00535_qa_10009"
  },
  {
    "question": "What are the benefits of Issue Wranglers?",
    "answer": "Issue WranglersAlongside the PR Wrangler, formal approvers, reviewers and members of SIG Docs take week-long shifts triaging and categorising issues for the repository.DutiesEach day in a week-long shift the Issue Wrangler will be responsible for:Triaging and tagging incoming issues daily. See Triage and categorize issues for guidelines on how SIG Docs uses metadata.Keeping an eye on stale & rotten issues within the kubernetes/website repository.Maintenance of the Issues board.RequirementsMust be an active member of the Kubernetes organization.A minimum of 15 non-trivial contributions to Kubernetes (of which a certain amount should be directed towards kubernetes/website).Performing the role in an informal capacity already.Helpful Prow commands for wranglersBelow are some commonly used commands for Issue Wranglers:# reopen an issue /reopen # transfer issues that don't fit in k/website to another repository /transfer[-issue] # change the state of rotten issues /remove-lifecycle rotten # change the state of stale issues /remove-lifecycle stale # assign sig to an issue /sig <sig_name> # add specific area /area <area_name> # for beginner friendly issues /good-first-issue # issues that needs help /help wanted # tagging issue as support specific /kind support # to accept triaging for an issue /triage accepted # closing an issue we won't be working on and haven't fixed yet /close not-planned To find more Prow commands, refer to the Command Help documentation.When to close IssuesFor an open source project to succeed, good issue management is crucial. But it is also critical to resolve issues in order to maintain the repository and communicate clearly with contributors and users.Close issues when:A similar issue is reported more than once. You will first need to tag it as /triage duplicate; link it to the main issue & then close it. It is also advisable to direct the users to the original issue.It is very difficult to understand and address the issue presented by the author with the information provided. However, encourage the user to provide more details or reopen the issue if they can reproduce it later.The same functionality is implemented elsewhere. One can close this issue and direct user to the appropriate place.The reported issue is not currently planned or aligned with the project's goals.If the issue appears to be spam and is clearly unrelated.If the issue is related to an external limitation or dependency and is beyond the control of the project.To close an issue, leave a /close comment on the issue.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/issue-wrangler/",
    "id": "k8s_00535_qa_10010"
  },
  {
    "question": "What is Issue Wranglers?",
    "answer": "A l o n g s i d e   t h e   P R   W r a n g l e r ,   f o r m a l   a p p r o v e r s ,   r e v i e w e r s   a n d   m e m b e r s   o f   S I G   D o c s   t a k e   w e e k - l o n g   s h i f t s   t r i a g i n g   a n d   c a t e g o r i s i n g   i s s u e s   f o r   t h e   r e p o s i t o r y .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/issue-wrangler/",
    "id": "k8s_00535_section_1_10011"
  },
  {
    "question": "What is Duties?",
    "answer": "E a c h   d a y   i n   a   w e e k - l o n g   s h i f t   t h e   I s s u e   W r a n g l e r   w i l l   b e   r e s p o n s i b l e   f o r :   T r i a g i n g   a n d   t a g g i n g   i n c o m i n g   i s s u e s   d a i l y .   S e e   T r i a g e   a n d   c a t e g o r i z e   i s s u e s   f o r   g u i d e l i n e s   o n   h o w   S I G   D o c s   u s e s   m e t a d a t a . K e e p i n g   a n   e y e   o n   s t a l e   &   r o t t e n   i s s u e s   w i t h i n   t h e   k u b e r n e t e s / w e b s i t e   r e p o s i t o r y . M a i n t e n a n c e   o f   t h e   I s s u e s   b o a r d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/issue-wrangler/",
    "id": "k8s_00535_section_2_10012"
  },
  {
    "question": "What is Requirements?",
    "answer": "M u s t   b e   a n   a c t i v e   m e m b e r   o f   t h e   K u b e r n e t e s   o r g a n i z a t i o n . A   m i n i m u m   o f   1 5   n o n - t r i v i a l   c o n t r i b u t i o n s   t o   K u b e r n e t e s   ( o f   w h i c h   a   c e r t a i n   a m o u n t   s h o u l d   b e   d i r e c t e d   t o w a r d s   k u b e r n e t e s / w e b s i t e ) . P e r f o r m i n g   t h e   r o l e   i n   a n   i n f o r m a l   c a p a c i t y   a l r e a d y .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/issue-wrangler/",
    "id": "k8s_00535_section_2_10013"
  },
  {
    "question": "What is Helpful Prow commands for wranglers?",
    "answer": "B e l o w   a r e   s o m e   c o m m o n l y   u s e d   c o m m a n d s   f o r   I s s u e   W r a n g l e r s :   #   r e o p e n   a n   i s s u e   / r e o p e n   #   t r a n s f e r   i s s u e s   t h a t   d o n ' t   f i t   i n   k / w e b s i t e   t o   a n o t h e r   r e p o s i t o r y   / t r a n s f e r [ - i s s u e ]   #   c h a n g e   t h e   s t a t e   o f   r o t t e n   i s s u e s   / r e m o v e - l i f e c y c l e   r o t t e n   #   c h a n g e   t h e   s t a t e   o f   s t a l e   i s s u e s   / r e m o v e - l i f e c y c l e   s t a l e   #   a s s i g n   s i g   t o   a n   i s s u e   / s i g   < s i g _ n a m e >   #   a d d   s p e c i f i c   a r e a   / a r e a   < a r e a _ n a m e >   #   f o r   b e g i n n e r   f r i e n d l y   i s s u e s   / g o o d - f i r s t - i s s u e   #   i s s u e s   t h a t   n e e d s   h e l p   / h e l p   w a n t e d   #   t a g g i n g   i s s u e   a s   s u p p o r t   s p e c i f i c   / k i n d   s u p p o r t   #   t o   a c c e p t   t r i a g i n g   f o r   a n   i s s u e   / t r i a g e   a c c e p t e d   #   c l o s i n g   a n   i s s u e   w e   w o n ' t   b e   w o r k i n g   o n   a n d   h a v e n ' t   f i x e d   y e t   / c l o s e   n o t - p l a n n e d   T o   f i n d   m o r e   P r o w   c o m m a n d s ,   r e f e r   t o   t h e   C o m m a n d   H e l p   d o c u m e n t a t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/issue-wrangler/",
    "id": "k8s_00535_section_2_10014"
  },
  {
    "question": "What is When to close Issues?",
    "answer": "F o r   a n   o p e n   s o u r c e   p r o j e c t   t o   s u c c e e d ,   g o o d   i s s u e   m a n a g e m e n t   i s   c r u c i a l .   B u t   i t   i s   a l s o   c r i t i c a l   t o   r e s o l v e   i s s u e s   i n   o r d e r   t o   m a i n t a i n   t h e   r e p o s i t o r y   a n d   c o m m u n i c a t e   c l e a r l y   w i t h   c o n t r i b u t o r s   a n d   u s e r s .   C l o s e   i s s u e s   w h e n :   A   s i m i l a r   i s s u e   i s   r e p o r t e d   m o r e   t h a n   o n c e .   Y o u   w i l l   f i r s t   n e e d   t o   t a g   i t   a s   / t r i a g e   d u p l i c a t e ;   l i n k   i t   t o   t h e   m a i n   i s s u e   &   t h e n   c l o s e   i t .   I t   i s   a l s o   a d v i s a b l e   t o   d i r e c t   t h e   u s e r s   t o   t h e   o r i g i n a l   i s s u e . I t   i s   v e r y   d i f f i c u l t   t o   u n d e r s t a n d   a n d   a d d r e s s   t h e   i s s u e   p r e s e n t e d   b y   t h e   a u t h o r   w i t h   t h e   i n f o r m a t i o n   p r o v i d e d .   H o w e v e r ,   e n c o u r a g e   t h e   u s e r   t o   p r o v i d e   m o r e   d e t a i l s   o r   r e o p e n   t h e   i s s u e   i f   t h e y   c a n   r e p r o d u c e   i t   l a t e r . T h e   s a m e   f u n c t i o n a l i t y   i s   i m p l e m e n t e d   e l s e w h e r e .   O n e   c a n   c l o s e   t h i s   i s s u e   a n d   d i r e c t   u s e r   t o   t h e   a p p r o p r i a t e   p l a c e . T h e   r e p o r t e d   i s s u e   i s   n o t   c u r r e n t l y   p l a n n e d   o r   a l i g n e d   w i t h   t h e   p r o j e c t ' s   g o a l s . I f   t h e   i s s u e   a p p e a r s   t o   b e   s p a m   a n d   i s   c l e a r l y   u n r e l a t e d . I f   t h e   i s s u e   i s   r e l a t e d   t o   a n   e x t e r n a l   l i m i t a t i o n   o r   d e p e n d e n c y   a n d   i s   b e y o n d   t h e   c o n t r o l   o f   t h e   p r o j e c t .   T o ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/participate/issue-wrangler/",
    "id": "k8s_00535_section_2_10015"
  },
  {
    "question": "What is Options for Highly Available Topology?",
    "answer": "Options for Highly Available TopologyThis page explains the two options for configuring the topology of your highly available (HA) Kubernetes clusters.You can set up an HA cluster:With stacked control plane nodes, where etcd nodes are colocated with control plane nodesWith external etcd nodes, where etcd runs on separate nodes from the control planeYou should carefully consider the advantages and disadvantages of each topology before setting up an HA cluster.Note:kubeadm bootstraps the etcd cluster statically. Read the etcd Clustering Guide for more details.Stacked etcd topologyA stacked HA cluster is a topology where the distributed data storage cluster provided by etcd is stacked on top of the cluster formed by the nodes managed by kubeadm that run control plane components.Each control plane node runs an instance of the kube-apiserver, kube-scheduler, and kube-controller-manager. The kube-apiserver is exposed to worker nodes using a load balancer.Each control plane node creates a local etcd member and this etcd member communicates only with the kube-apiserver of this node. The same applies to the local kube-controller-manager and kube-scheduler instances.This topology couples the control planes and etcd members on the same nodes. It is simpler to set up than a cluster with external etcd nodes, and simpler to manage for replication.However, a stacked cluster runs the risk of failed coupling. If one node goes down, both an etcd member and a control plane instance are lost, and redundancy is compromised. You can mitigate this risk by adding more control plane nodes.You should therefore run a minimum of three stacked control plane nodes for an HA cluster.This is the default topology in kubeadm. A local etcd member is created automatically on control plane nodes when using kubeadm init and kubeadm join --control-plane.External etcd topologyAn HA cluster with external etcd is a topology where the distributed data storage cluster provided by etcd is external to the cluster formed by the nodes that run control plane components.Like the stacked etcd topology, each control plane node in an external etcd topology runs an instance of the kube-apiserver, kube-scheduler, and kube-controller-manager. And the kube-apiserver is exposed to worker nodes using a load balancer. However, etcd members run on separate hosts, and each etcd host communicates with the kube-apiserver of each control plane node.This topology decouples the control plane and etcd member. It therefore provides an HA setup where losing a control plane instance or an etcd member has less impact and does not affect the cluster redundancy as much as the stacked HA topology.However, this topology requires twice the number of hosts as the stacked HA topology. A minimum of three hosts for control plane nodes and three hosts for etcd nodes are required for an HA cluster with this topology.What's nextSet up a highly available cluster with kubeadm",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/ha-topology/",
    "id": "k8s_00536_qa_10016"
  },
  {
    "question": "How does Options for Highly Available Topology work?",
    "answer": "Options for Highly Available TopologyThis page explains the two options for configuring the topology of your highly available (HA) Kubernetes clusters.You can set up an HA cluster:With stacked control plane nodes, where etcd nodes are colocated with control plane nodesWith external etcd nodes, where etcd runs on separate nodes from the control planeYou should carefully consider the advantages and disadvantages of each topology before setting up an HA cluster.Note:kubeadm bootstraps the etcd cluster statically. Read the etcd Clustering Guide for more details.Stacked etcd topologyA stacked HA cluster is a topology where the distributed data storage cluster provided by etcd is stacked on top of the cluster formed by the nodes managed by kubeadm that run control plane components.Each control plane node runs an instance of the kube-apiserver, kube-scheduler, and kube-controller-manager. The kube-apiserver is exposed to worker nodes using a load balancer.Each control plane node creates a local etcd member and this etcd member communicates only with the kube-apiserver of this node. The same applies to the local kube-controller-manager and kube-scheduler instances.This topology couples the control planes and etcd members on the same nodes. It is simpler to set up than a cluster with external etcd nodes, and simpler to manage for replication.However, a stacked cluster runs the risk of failed coupling. If one node goes down, both an etcd member and a control plane instance are lost, and redundancy is compromised. You can mitigate this risk by adding more control plane nodes.You should therefore run a minimum of three stacked control plane nodes for an HA cluster.This is the default topology in kubeadm. A local etcd member is created automatically on control plane nodes when using kubeadm init and kubeadm join --control-plane.External etcd topologyAn HA cluster with external etcd is a topology where the distributed data storage cluster provided by etcd is external to the cluster formed by the nodes that run control plane components.Like the stacked etcd topology, each control plane node in an external etcd topology runs an instance of the kube-apiserver, kube-scheduler, and kube-controller-manager. And the kube-apiserver is exposed to worker nodes using a load balancer. However, etcd members run on separate hosts, and each etcd host communicates with the kube-apiserver of each control plane node.This topology decouples the control plane and etcd member. It therefore provides an HA setup where losing a control plane instance or an etcd member has less impact and does not affect the cluster redundancy as much as the stacked HA topology.However, this topology requires twice the number of hosts as the stacked HA topology. A minimum of three hosts for control plane nodes and three hosts for etcd nodes are required for an HA cluster with this topology.What's nextSet up a highly available cluster with kubeadm",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/ha-topology/",
    "id": "k8s_00536_qa_10017"
  },
  {
    "question": "When would you use Options for Highly Available Topology?",
    "answer": "Options for Highly Available TopologyThis page explains the two options for configuring the topology of your highly available (HA) Kubernetes clusters.You can set up an HA cluster:With stacked control plane nodes, where etcd nodes are colocated with control plane nodesWith external etcd nodes, where etcd runs on separate nodes from the control planeYou should carefully consider the advantages and disadvantages of each topology before setting up an HA cluster.Note:kubeadm bootstraps the etcd cluster statically. Read the etcd Clustering Guide for more details.Stacked etcd topologyA stacked HA cluster is a topology where the distributed data storage cluster provided by etcd is stacked on top of the cluster formed by the nodes managed by kubeadm that run control plane components.Each control plane node runs an instance of the kube-apiserver, kube-scheduler, and kube-controller-manager. The kube-apiserver is exposed to worker nodes using a load balancer.Each control plane node creates a local etcd member and this etcd member communicates only with the kube-apiserver of this node. The same applies to the local kube-controller-manager and kube-scheduler instances.This topology couples the control planes and etcd members on the same nodes. It is simpler to set up than a cluster with external etcd nodes, and simpler to manage for replication.However, a stacked cluster runs the risk of failed coupling. If one node goes down, both an etcd member and a control plane instance are lost, and redundancy is compromised. You can mitigate this risk by adding more control plane nodes.You should therefore run a minimum of three stacked control plane nodes for an HA cluster.This is the default topology in kubeadm. A local etcd member is created automatically on control plane nodes when using kubeadm init and kubeadm join --control-plane.External etcd topologyAn HA cluster with external etcd is a topology where the distributed data storage cluster provided by etcd is external to the cluster formed by the nodes that run control plane components.Like the stacked etcd topology, each control plane node in an external etcd topology runs an instance of the kube-apiserver, kube-scheduler, and kube-controller-manager. And the kube-apiserver is exposed to worker nodes using a load balancer. However, etcd members run on separate hosts, and each etcd host communicates with the kube-apiserver of each control plane node.This topology decouples the control plane and etcd member. It therefore provides an HA setup where losing a control plane instance or an etcd member has less impact and does not affect the cluster redundancy as much as the stacked HA topology.However, this topology requires twice the number of hosts as the stacked HA topology. A minimum of three hosts for control plane nodes and three hosts for etcd nodes are required for an HA cluster with this topology.What's nextSet up a highly available cluster with kubeadm",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/ha-topology/",
    "id": "k8s_00536_qa_10018"
  },
  {
    "question": "What are the benefits of Options for Highly Available Topology?",
    "answer": "Options for Highly Available TopologyThis page explains the two options for configuring the topology of your highly available (HA) Kubernetes clusters.You can set up an HA cluster:With stacked control plane nodes, where etcd nodes are colocated with control plane nodesWith external etcd nodes, where etcd runs on separate nodes from the control planeYou should carefully consider the advantages and disadvantages of each topology before setting up an HA cluster.Note:kubeadm bootstraps the etcd cluster statically. Read the etcd Clustering Guide for more details.Stacked etcd topologyA stacked HA cluster is a topology where the distributed data storage cluster provided by etcd is stacked on top of the cluster formed by the nodes managed by kubeadm that run control plane components.Each control plane node runs an instance of the kube-apiserver, kube-scheduler, and kube-controller-manager. The kube-apiserver is exposed to worker nodes using a load balancer.Each control plane node creates a local etcd member and this etcd member communicates only with the kube-apiserver of this node. The same applies to the local kube-controller-manager and kube-scheduler instances.This topology couples the control planes and etcd members on the same nodes. It is simpler to set up than a cluster with external etcd nodes, and simpler to manage for replication.However, a stacked cluster runs the risk of failed coupling. If one node goes down, both an etcd member and a control plane instance are lost, and redundancy is compromised. You can mitigate this risk by adding more control plane nodes.You should therefore run a minimum of three stacked control plane nodes for an HA cluster.This is the default topology in kubeadm. A local etcd member is created automatically on control plane nodes when using kubeadm init and kubeadm join --control-plane.External etcd topologyAn HA cluster with external etcd is a topology where the distributed data storage cluster provided by etcd is external to the cluster formed by the nodes that run control plane components.Like the stacked etcd topology, each control plane node in an external etcd topology runs an instance of the kube-apiserver, kube-scheduler, and kube-controller-manager. And the kube-apiserver is exposed to worker nodes using a load balancer. However, etcd members run on separate hosts, and each etcd host communicates with the kube-apiserver of each control plane node.This topology decouples the control plane and etcd member. It therefore provides an HA setup where losing a control plane instance or an etcd member has less impact and does not affect the cluster redundancy as much as the stacked HA topology.However, this topology requires twice the number of hosts as the stacked HA topology. A minimum of three hosts for control plane nodes and three hosts for etcd nodes are required for an HA cluster with this topology.What's nextSet up a highly available cluster with kubeadm",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/ha-topology/",
    "id": "k8s_00536_qa_10019"
  },
  {
    "question": "What is Options for Highly Available Topology?",
    "answer": "T h i s   p a g e   e x p l a i n s   t h e   t w o   o p t i o n s   f o r   c o n f i g u r i n g   t h e   t o p o l o g y   o f   y o u r   h i g h l y   a v a i l a b l e   ( H A )   K u b e r n e t e s   c l u s t e r s .   Y o u   c a n   s e t   u p   a n   H A   c l u s t e r :   W i t h   s t a c k e d   c o n t r o l   p l a n e   n o d e s ,   w h e r e   e t c d   n o d e s   a r e   c o l o c a t e d   w i t h   c o n t r o l   p l a n e   n o d e s W i t h   e x t e r n a l   e t c d   n o d e s ,   w h e r e   e t c d   r u n s   o n   s e p a r a t e   n o d e s   f r o m   t h e   c o n t r o l   p l a n e   Y o u   s h o u l d   c a r e f u l l y   c o n s i d e r   t h e   a d v a n t a g e s   a n d   d i s a d v a n t a g e s   o f   e a c h   t o p o l o g y   b e f o r e   s e t t i n g   u p   a n   H A   c l u s t e r .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/ha-topology/",
    "id": "k8s_00536_section_1_10020"
  },
  {
    "question": "What is Stacked etcd topology?",
    "answer": "A   s t a c k e d   H A   c l u s t e r   i s   a   t o p o l o g y   w h e r e   t h e   d i s t r i b u t e d   d a t a   s t o r a g e   c l u s t e r   p r o v i d e d   b y   e t c d   i s   s t a c k e d   o n   t o p   o f   t h e   c l u s t e r   f o r m e d   b y   t h e   n o d e s   m a n a g e d   b y   k u b e a d m   t h a t   r u n   c o n t r o l   p l a n e   c o m p o n e n t s .   E a c h   c o n t r o l   p l a n e   n o d e   r u n s   a n   i n s t a n c e   o f   t h e   k u b e - a p i s e r v e r ,   k u b e - s c h e d u l e r ,   a n d   k u b e - c o n t r o l l e r - m a n a g e r .   T h e   k u b e - a p i s e r v e r   i s   e x p o s e d   t o   w o r k e r   n o d e s   u s i n g   a   l o a d   b a l a n c e r .   E a c h   c o n t r o l   p l a n e   n o d e   c r e a t e s   a   l o c a l   e t c d   m e m b e r   a n d   t h i s   e t c d   m e m b e r   c o m m u n i c a t e s   o n l y   w i t h   t h e   k u b e - a p i s e r v e r   o f   t h i s   n o d e .   T h e   s a m e   a p p l i e s   t o   t h e   l o c a l   k u b e - c o n t r o l l e r - m a n a g e r   a n d   k u b e - s c h e d u l e r   i n s t a n c e s .   T h i s   t o p o l o g y   c o u p l e s   t h e   c o n t r o l   p l a n e s   a n d   e t c d   m e m b e r s   o n   t h e   s a m e   n o d e s .   I t   i s   s i m p l e r   t o   s e t   u p   t h a n   a   c l u s t e r   w i t h   e x t e r n a l   e t c d   n o d e s ,   a n d   s i m p l e r   t o   m a n a g e   f o r   r e p l i c a t i o n .   H o w e v e r ,   a   s t a c k e d   c l u s t e r   r u n s   t h e   r i s k   o f   f a i l e d   c o u p l i n g .   I f   o n e   n o d e   g o e s   d o w n ,   b o t h   a n   e t c d   m e m b e r   a n d   a   c o n t r o l   p l a n e   i n s t a n c e   a r e   l o s t ,   a n d   r e d u n d a n c y   i s   c o m p r o m i s e d .   Y o u   c a n   m i t i g a t e   t h i s   r i s k   b y   a d d i n g   m o r e   c o n t r o l   p l ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/ha-topology/",
    "id": "k8s_00536_section_2_10021"
  },
  {
    "question": "What is External etcd topology?",
    "answer": "A n   H A   c l u s t e r   w i t h   e x t e r n a l   e t c d   i s   a   t o p o l o g y   w h e r e   t h e   d i s t r i b u t e d   d a t a   s t o r a g e   c l u s t e r   p r o v i d e d   b y   e t c d   i s   e x t e r n a l   t o   t h e   c l u s t e r   f o r m e d   b y   t h e   n o d e s   t h a t   r u n   c o n t r o l   p l a n e   c o m p o n e n t s .   L i k e   t h e   s t a c k e d   e t c d   t o p o l o g y ,   e a c h   c o n t r o l   p l a n e   n o d e   i n   a n   e x t e r n a l   e t c d   t o p o l o g y   r u n s   a n   i n s t a n c e   o f   t h e   k u b e - a p i s e r v e r ,   k u b e - s c h e d u l e r ,   a n d   k u b e - c o n t r o l l e r - m a n a g e r .   A n d   t h e   k u b e - a p i s e r v e r   i s   e x p o s e d   t o   w o r k e r   n o d e s   u s i n g   a   l o a d   b a l a n c e r .   H o w e v e r ,   e t c d   m e m b e r s   r u n   o n   s e p a r a t e   h o s t s ,   a n d   e a c h   e t c d   h o s t   c o m m u n i c a t e s   w i t h   t h e   k u b e - a p i s e r v e r   o f   e a c h   c o n t r o l   p l a n e   n o d e .   T h i s   t o p o l o g y   d e c o u p l e s   t h e   c o n t r o l   p l a n e   a n d   e t c d   m e m b e r .   I t   t h e r e f o r e   p r o v i d e s   a n   H A   s e t u p   w h e r e   l o s i n g   a   c o n t r o l   p l a n e   i n s t a n c e   o r   a n   e t c d   m e m b e r   h a s   l e s s   i m p a c t   a n d   d o e s   n o t   a f f e c t   t h e   c l u s t e r   r e d u n d a n c y   a s   m u c h   a s   t h e   s t a c k e d   H A   t o p o l o g y .   H o w e v e r ,   t h i s   t o p o l o g y   r e q u i r e s   t w i c e   t h e   n u m b e r   o f   h o s t s   a s   t h e   s t a c k e d   H A   t o p o l o g y .   A   m i n i m u m   o f   t h r e e   h o s t s   f o r   c o n t r o l   p l a n e   n o d e s   a n d   t h r e e   h o s t s   f o r   e t c d   n o d e s   a r e   r e q u i r e d   f o r   a n   H A   c l u s t e ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/ha-topology/",
    "id": "k8s_00536_section_2_10022"
  },
  {
    "question": "What is What's next?",
    "answer": "S e t   u p   a   h i g h l y   a v a i l a b l e   c l u s t e r   w i t h   k u b e a d m",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/ha-topology/",
    "id": "k8s_00536_section_2_10023"
  },
  {
    "question": "What is Windows containers in Kubernetes?",
    "answer": "Windows containers in KubernetesWindows applications constitute a large portion of the services and applications that run in many organizations. Windows containers provide a way to encapsulate processes and package dependencies, making it easier to use DevOps practices and follow cloud native patterns for Windows applications.Organizations with investments in Windows-based applications and Linux-based applications don't have to look for separate orchestrators to manage their workloads, leading to increased operational efficiencies across their deployments, regardless of operating system.Windows nodes in KubernetesTo enable the orchestration of Windows containers in Kubernetes, include Windows nodes in your existing Linux cluster. Scheduling Windows containers in Pods on Kubernetes is similar to scheduling Linux-based containers.In order to run Windows containers, your Kubernetes cluster must include multiple operating systems. While you can only run the control plane on Linux, you can deploy worker nodes running either Windows or Linux.Windows nodes are supported provided that the operating system is Windows Server 2019 or Windows Server 2022.This document uses the term Windows containers to mean Windows containers with process isolation. Kubernetes does not support running Windows containers with Hyper-V isolation.Compatibility and limitationsSome node features are only available if you use a specific container runtime; others are not available on Windows nodes, including:HugePages: not supported for Windows containersPrivileged containers: not supported for Windows containers. HostProcess Containers offer similar functionality.TerminationGracePeriod: requires containerDNot all features of shared namespaces are supported. See API compatibility for more details.See Windows OS version compatibility for details on the Windows versions that Kubernetes is tested against.From an API and kubectl perspective, Windows containers behave in much the same way as Linux-based containers. However, there are some notable differences in key functionality which are outlined in this section.Comparison with LinuxKey Kubernetes elements work the same way in Windows as they do in Linux. This section refers to several key workload abstractions and how they map to Windows.PodsA Pod is the basic building block of Kubernetes–the smallest and simplest unit in the Kubernetes object model that you create or deploy. You may not deploy Windows and Linux containers in the same Pod. All containers in a Pod are scheduled onto a single Node where each Node represents a specific platform and architecture. The following Pod capabilities, properties and events are supported with Windows containers:Single or multiple containers per Pod with process isolation and volume sharingPod status fieldsReadiness, liveness, and startup probespostStart & preStop container lifecycle hooksConfigMap, Secrets: as environment variables or volumesemptyDir volumesNamed pipe host mountsResource limitsOS",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/intro/",
    "id": "k8s_00537_qa_10024"
  },
  {
    "question": "How does Windows containers in Kubernetes work?",
    "answer": "Windows containers in KubernetesWindows applications constitute a large portion of the services and applications that run in many organizations. Windows containers provide a way to encapsulate processes and package dependencies, making it easier to use DevOps practices and follow cloud native patterns for Windows applications.Organizations with investments in Windows-based applications and Linux-based applications don't have to look for separate orchestrators to manage their workloads, leading to increased operational efficiencies across their deployments, regardless of operating system.Windows nodes in KubernetesTo enable the orchestration of Windows containers in Kubernetes, include Windows nodes in your existing Linux cluster. Scheduling Windows containers in Pods on Kubernetes is similar to scheduling Linux-based containers.In order to run Windows containers, your Kubernetes cluster must include multiple operating systems. While you can only run the control plane on Linux, you can deploy worker nodes running either Windows or Linux.Windows nodes are supported provided that the operating system is Windows Server 2019 or Windows Server 2022.This document uses the term Windows containers to mean Windows containers with process isolation. Kubernetes does not support running Windows containers with Hyper-V isolation.Compatibility and limitationsSome node features are only available if you use a specific container runtime; others are not available on Windows nodes, including:HugePages: not supported for Windows containersPrivileged containers: not supported for Windows containers. HostProcess Containers offer similar functionality.TerminationGracePeriod: requires containerDNot all features of shared namespaces are supported. See API compatibility for more details.See Windows OS version compatibility for details on the Windows versions that Kubernetes is tested against.From an API and kubectl perspective, Windows containers behave in much the same way as Linux-based containers. However, there are some notable differences in key functionality which are outlined in this section.Comparison with LinuxKey Kubernetes elements work the same way in Windows as they do in Linux. This section refers to several key workload abstractions and how they map to Windows.PodsA Pod is the basic building block of Kubernetes–the smallest and simplest unit in the Kubernetes object model that you create or deploy. You may not deploy Windows and Linux containers in the same Pod. All containers in a Pod are scheduled onto a single Node where each Node represents a specific platform and architecture. The following Pod capabilities, properties and events are supported with Windows containers:Single or multiple containers per Pod with process isolation and volume sharingPod status fieldsReadiness, liveness, and startup probespostStart & preStop container lifecycle hooksConfigMap, Secrets: as environment variables or volumesemptyDir volumesNamed pipe host mountsResource limitsOS",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/intro/",
    "id": "k8s_00537_qa_10025"
  },
  {
    "question": "When would you use Windows containers in Kubernetes?",
    "answer": "Windows containers in KubernetesWindows applications constitute a large portion of the services and applications that run in many organizations. Windows containers provide a way to encapsulate processes and package dependencies, making it easier to use DevOps practices and follow cloud native patterns for Windows applications.Organizations with investments in Windows-based applications and Linux-based applications don't have to look for separate orchestrators to manage their workloads, leading to increased operational efficiencies across their deployments, regardless of operating system.Windows nodes in KubernetesTo enable the orchestration of Windows containers in Kubernetes, include Windows nodes in your existing Linux cluster. Scheduling Windows containers in Pods on Kubernetes is similar to scheduling Linux-based containers.In order to run Windows containers, your Kubernetes cluster must include multiple operating systems. While you can only run the control plane on Linux, you can deploy worker nodes running either Windows or Linux.Windows nodes are supported provided that the operating system is Windows Server 2019 or Windows Server 2022.This document uses the term Windows containers to mean Windows containers with process isolation. Kubernetes does not support running Windows containers with Hyper-V isolation.Compatibility and limitationsSome node features are only available if you use a specific container runtime; others are not available on Windows nodes, including:HugePages: not supported for Windows containersPrivileged containers: not supported for Windows containers. HostProcess Containers offer similar functionality.TerminationGracePeriod: requires containerDNot all features of shared namespaces are supported. See API compatibility for more details.See Windows OS version compatibility for details on the Windows versions that Kubernetes is tested against.From an API and kubectl perspective, Windows containers behave in much the same way as Linux-based containers. However, there are some notable differences in key functionality which are outlined in this section.Comparison with LinuxKey Kubernetes elements work the same way in Windows as they do in Linux. This section refers to several key workload abstractions and how they map to Windows.PodsA Pod is the basic building block of Kubernetes–the smallest and simplest unit in the Kubernetes object model that you create or deploy. You may not deploy Windows and Linux containers in the same Pod. All containers in a Pod are scheduled onto a single Node where each Node represents a specific platform and architecture. The following Pod capabilities, properties and events are supported with Windows containers:Single or multiple containers per Pod with process isolation and volume sharingPod status fieldsReadiness, liveness, and startup probespostStart & preStop container lifecycle hooksConfigMap, Secrets: as environment variables or volumesemptyDir volumesNamed pipe host mountsResource limitsOS",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/intro/",
    "id": "k8s_00537_qa_10026"
  },
  {
    "question": "What are the benefits of Windows containers in Kubernetes?",
    "answer": "Windows containers in KubernetesWindows applications constitute a large portion of the services and applications that run in many organizations. Windows containers provide a way to encapsulate processes and package dependencies, making it easier to use DevOps practices and follow cloud native patterns for Windows applications.Organizations with investments in Windows-based applications and Linux-based applications don't have to look for separate orchestrators to manage their workloads, leading to increased operational efficiencies across their deployments, regardless of operating system.Windows nodes in KubernetesTo enable the orchestration of Windows containers in Kubernetes, include Windows nodes in your existing Linux cluster. Scheduling Windows containers in Pods on Kubernetes is similar to scheduling Linux-based containers.In order to run Windows containers, your Kubernetes cluster must include multiple operating systems. While you can only run the control plane on Linux, you can deploy worker nodes running either Windows or Linux.Windows nodes are supported provided that the operating system is Windows Server 2019 or Windows Server 2022.This document uses the term Windows containers to mean Windows containers with process isolation. Kubernetes does not support running Windows containers with Hyper-V isolation.Compatibility and limitationsSome node features are only available if you use a specific container runtime; others are not available on Windows nodes, including:HugePages: not supported for Windows containersPrivileged containers: not supported for Windows containers. HostProcess Containers offer similar functionality.TerminationGracePeriod: requires containerDNot all features of shared namespaces are supported. See API compatibility for more details.See Windows OS version compatibility for details on the Windows versions that Kubernetes is tested against.From an API and kubectl perspective, Windows containers behave in much the same way as Linux-based containers. However, there are some notable differences in key functionality which are outlined in this section.Comparison with LinuxKey Kubernetes elements work the same way in Windows as they do in Linux. This section refers to several key workload abstractions and how they map to Windows.PodsA Pod is the basic building block of Kubernetes–the smallest and simplest unit in the Kubernetes object model that you create or deploy. You may not deploy Windows and Linux containers in the same Pod. All containers in a Pod are scheduled onto a single Node where each Node represents a specific platform and architecture. The following Pod capabilities, properties and events are supported with Windows containers:Single or multiple containers per Pod with process isolation and volume sharingPod status fieldsReadiness, liveness, and startup probespostStart & preStop container lifecycle hooksConfigMap, Secrets: as environment variables or volumesemptyDir volumesNamed pipe host mountsResource limitsOS",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/intro/",
    "id": "k8s_00537_qa_10027"
  },
  {
    "question": "What is Windows containers in Kubernetes?",
    "answer": "W i n d o w s   a p p l i c a t i o n s   c o n s t i t u t e   a   l a r g e   p o r t i o n   o f   t h e   s e r v i c e s   a n d   a p p l i c a t i o n s   t h a t   r u n   i n   m a n y   o r g a n i z a t i o n s .   W i n d o w s   c o n t a i n e r s   p r o v i d e   a   w a y   t o   e n c a p s u l a t e   p r o c e s s e s   a n d   p a c k a g e   d e p e n d e n c i e s ,   m a k i n g   i t   e a s i e r   t o   u s e   D e v O p s   p r a c t i c e s   a n d   f o l l o w   c l o u d   n a t i v e   p a t t e r n s   f o r   W i n d o w s   a p p l i c a t i o n s .   O r g a n i z a t i o n s   w i t h   i n v e s t m e n t s   i n   W i n d o w s - b a s e d   a p p l i c a t i o n s   a n d   L i n u x - b a s e d   a p p l i c a t i o n s   d o n ' t   h a v e   t o   l o o k   f o r   s e p a r a t e   o r c h e s t r a t o r s   t o   m a n a g e   t h e i r   w o r k l o a d s ,   l e a d i n g   t o   i n c r e a s e d   o p e r a t i o n a l   e f f i c i e n c i e s   a c r o s s   t h e i r   d e p l o y m e n t s ,   r e g a r d l e s s   o f   o p e r a t i n g   s y s t e m .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/intro/",
    "id": "k8s_00537_section_1_10028"
  },
  {
    "question": "What is Windows nodes in Kubernetes?",
    "answer": "T o   e n a b l e   t h e   o r c h e s t r a t i o n   o f   W i n d o w s   c o n t a i n e r s   i n   K u b e r n e t e s ,   i n c l u d e   W i n d o w s   n o d e s   i n   y o u r   e x i s t i n g   L i n u x   c l u s t e r .   S c h e d u l i n g   W i n d o w s   c o n t a i n e r s   i n   P o d s   o n   K u b e r n e t e s   i s   s i m i l a r   t o   s c h e d u l i n g   L i n u x - b a s e d   c o n t a i n e r s .   I n   o r d e r   t o   r u n   W i n d o w s   c o n t a i n e r s ,   y o u r   K u b e r n e t e s   c l u s t e r   m u s t   i n c l u d e   m u l t i p l e   o p e r a t i n g   s y s t e m s .   W h i l e   y o u   c a n   o n l y   r u n   t h e   c o n t r o l   p l a n e   o n   L i n u x ,   y o u   c a n   d e p l o y   w o r k e r   n o d e s   r u n n i n g   e i t h e r   W i n d o w s   o r   L i n u x .   W i n d o w s   n o d e s   a r e   s u p p o r t e d   p r o v i d e d   t h a t   t h e   o p e r a t i n g   s y s t e m   i s   W i n d o w s   S e r v e r   2 0 1 9   o r   W i n d o w s   S e r v e r   2 0 2 2 .   T h i s   d o c u m e n t   u s e s   t h e   t e r m   W i n d o w s   c o n t a i n e r s   t o   m e a n   W i n d o w s   c o n t a i n e r s   w i t h   p r o c e s s   i s o l a t i o n .   K u b e r n e t e s   d o e s   n o t   s u p p o r t   r u n n i n g   W i n d o w s   c o n t a i n e r s   w i t h   H y p e r - V   i s o l a t i o n .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/intro/",
    "id": "k8s_00537_section_2_10029"
  },
  {
    "question": "What is Compatibility and limitations?",
    "answer": "S o m e   n o d e   f e a t u r e s   a r e   o n l y   a v a i l a b l e   i f   y o u   u s e   a   s p e c i f i c   c o n t a i n e r   r u n t i m e ;   o t h e r s   a r e   n o t   a v a i l a b l e   o n   W i n d o w s   n o d e s ,   i n c l u d i n g :   H u g e P a g e s :   n o t   s u p p o r t e d   f o r   W i n d o w s   c o n t a i n e r s P r i v i l e g e d   c o n t a i n e r s :   n o t   s u p p o r t e d   f o r   W i n d o w s   c o n t a i n e r s .   H o s t P r o c e s s   C o n t a i n e r s   o f f e r   s i m i l a r   f u n c t i o n a l i t y . T e r m i n a t i o n G r a c e P e r i o d :   r e q u i r e s   c o n t a i n e r D   N o t   a l l   f e a t u r e s   o f   s h a r e d   n a m e s p a c e s   a r e   s u p p o r t e d .   S e e   A P I   c o m p a t i b i l i t y   f o r   m o r e   d e t a i l s .   S e e   W i n d o w s   O S   v e r s i o n   c o m p a t i b i l i t y   f o r   d e t a i l s   o n   t h e   W i n d o w s   v e r s i o n s   t h a t   K u b e r n e t e s   i s   t e s t e d   a g a i n s t .   F r o m   a n   A P I   a n d   k u b e c t l   p e r s p e c t i v e ,   W i n d o w s   c o n t a i n e r s   b e h a v e   i n   m u c h   t h e   s a m e   w a y   a s   L i n u x - b a s e d   c o n t a i n e r s .   H o w e v e r ,   t h e r e   a r e   s o m e   n o t a b l e   d i f f e r e n c e s   i n   k e y   f u n c t i o n a l i t y   w h i c h   a r e   o u t l i n e d   i n   t h i s   s e c t i o n .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/intro/",
    "id": "k8s_00537_section_2_10030"
  },
  {
    "question": "What is Comparison with Linux?",
    "answer": "K e y   K u b e r n e t e s   e l e m e n t s   w o r k   t h e   s a m e   w a y   i n   W i n d o w s   a s   t h e y   d o   i n   L i n u x .   T h i s   s e c t i o n   r e f e r s   t o   s e v e r a l   k e y   w o r k l o a d   a b s t r a c t i o n s   a n d   h o w   t h e y   m a p   t o   W i n d o w s .   P o d s A   P o d   i s   t h e   b a s i c   b u i l d i n g   b l o c k   o f   K u b e r n e t e s – t h e   s m a l l e s t   a n d   s i m p l e s t   u n i t   i n   t h e   K u b e r n e t e s   o b j e c t   m o d e l   t h a t   y o u   c r e a t e   o r   d e p l o y .   Y o u   m a y   n o t   d e p l o y   W i n d o w s   a n d   L i n u x   c o n t a i n e r s   i n   t h e   s a m e   P o d .   A l l   c o n t a i n e r s   i n   a   P o d   a r e   s c h e d u l e d   o n t o   a   s i n g l e   N o d e   w h e r e   e a c h   N o d e   r e p r e s e n t s   a   s p e c i f i c   p l a t f o r m   a n d   a r c h i t e c t u r e .   T h e   f o l l o w i n g   P o d   c a p a b i l i t i e s ,   p r o p e r t i e s   a n d   e v e n t s   a r e   s u p p o r t e d   w i t h   W i n d o w s   c o n t a i n e r s : S i n g l e   o r   m u l t i p l e   c o n t a i n e r s   p e r   P o d   w i t h   p r o c e s s   i s o l a t i o n   a n d   v o l u m e   s h a r i n g P o d   s t a t u s   f i e l d s R e a d i n e s s ,   l i v e n e s s ,   a n d   s t a r t u p   p r o b e s p o s t S t a r t   &   p r e S t o p   c o n t a i n e r   l i f e c y c l e   h o o k s C o n f i g M a p ,   S e c r e t s :   a s   e n v i r o n m e n t   v a r i a b l e s   o r   v o l u m e s e m p t y D i r   v o l u m e s N a m e d   p i p e   h o s t   m o u n t s R e s o u r c e   l i m i t s O S   f i e l d : T h e   . s p e c . o s . n a m e   f i e l d   s h o u l d   b e   s e t   t o   w i n d o w s   t o   i n d i c a t e   t h a t   t h e   c u r r e n t   P o d   u s e s   W i n d o w s   c o n t a i n e r s . I f   y o u   s e t   t h e   . s ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/intro/",
    "id": "k8s_00537_section_3_10031"
  },
  {
    "question": "What is Command line options for the kubelet?",
    "answer": "S o m e   k u b e l e t   c o m m a n d   l i n e   o p t i o n s   b e h a v e   d i f f e r e n t l y   o n   W i n d o w s ,   a s   d e s c r i b e d   b e l o w :   T h e   - - w i n d o w s - p r i o r i t y c l a s s   l e t s   y o u   s e t   t h e   s c h e d u l i n g   p r i o r i t y   o f   t h e   k u b e l e t   p r o c e s s   ( s e e   C P U   r e s o u r c e   m a n a g e m e n t ) T h e   - - k u b e - r e s e r v e d ,   - - s y s t e m - r e s e r v e d   ,   a n d   - - e v i c t i o n - h a r d   f l a g s   u p d a t e   N o d e A l l o c a t a b l e E v i c t i o n   b y   u s i n g   - - e n f o r c e - n o d e - a l l o c a b l e   i s   n o t   i m p l e m e n t e d W h e n   r u n n i n g   o n   a   W i n d o w s   n o d e   t h e   k u b e l e t   d o e s   n o t   h a v e   m e m o r y   o r   C P U   r e s t r i c t i o n s .   - - k u b e - r e s e r v e d   a n d   - - s y s t e m - r e s e r v e d   o n l y   s u b t r a c t   f r o m   N o d e A l l o c a t a b l e   a n d   d o   n o t   g u a r a n t e e   r e s o u r c e   p r o v i d e d   f o r   w o r k l o a d s .   S e e   R e s o u r c e   M a n a g e m e n t   f o r   W i n d o w s   n o d e s   f o r   m o r e   i n f o r m a t i o n . T h e   P I D P r e s s u r e   C o n d i t i o n   i s   n o t   i m p l e m e n t e d T h e   k u b e l e t   d o e s   n o t   t a k e   O O M   e v i c t i o n   a c t i o n s",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/intro/",
    "id": "k8s_00537_section_3_10032"
  },
  {
    "question": "What is API compatibility?",
    "answer": "T h e r e   a r e   s u b t l e   d i f f e r e n c e s   i n   t h e   w a y   t h e   K u b e r n e t e s   A P I s   w o r k   f o r   W i n d o w s   d u e   t o   t h e   O S   a n d   c o n t a i n e r   r u n t i m e .   S o m e   w o r k l o a d   p r o p e r t i e s   w e r e   d e s i g n e d   f o r   L i n u x ,   a n d   f a i l   t o   r u n   o n   W i n d o w s .   A t   a   h i g h   l e v e l ,   t h e s e   O S   c o n c e p t s   a r e   d i f f e r e n t :   I d e n t i t y   -   L i n u x   u s e s   u s e r I D   ( U I D )   a n d   g r o u p I D   ( G I D )   w h i c h   a r e   r e p r e s e n t e d   a s   i n t e g e r   t y p e s .   U s e r   a n d   g r o u p   n a m e s   a r e   n o t   c a n o n i c a l   -   t h e y   a r e   j u s t   a n   a l i a s   i n   / e t c / g r o u p s   o r   / e t c / p a s s w d   b a c k   t o   U I D + G I D .   W i n d o w s   u s e s   a   l a r g e r   b i n a r y   s e c u r i t y   i d e n t i f i e r   ( S I D )   w h i c h   i s   s t o r e d   i n   t h e   W i n d o w s   S e c u r i t y   A c c e s s   M a n a g e r   ( S A M )   d a t a b a s e .   T h i s   d a t a b a s e   i s   n o t   s h a r e d   b e t w e e n   t h e   h o s t   a n d   c o n t a i n e r s ,   o r   b e t w e e n   c o n t a i n e r s . F i l e   p e r m i s s i o n s   -   W i n d o w s   u s e s   a n   a c c e s s   c o n t r o l   l i s t   b a s e d   o n   ( S I D s ) ,   w h e r e a s   P O S I X   s y s t e m s   s u c h   a s   L i n u x   u s e   a   b i t m a s k   b a s e d   o n   o b j e c t   p e r m i s s i o n s   a n d   U I D + G I D ,   p l u s   o p t i o n a l   a c c e s s   c o n t r o l   l i s t s . F i l e   p a t h s   -   t h e   c o n v e n t i o n   o n   W i n d o w s   i s   t o   u s e   \\   i n s t e a d   o f   / .   T h e   G o   I O   l i b r a r i e s   t y p i c a l l y   a c c e p t   b o t h   a n d   j u s t   m a k e   i t   w o r k ,   b u t   w h e n   y o u ' r e   s ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/intro/",
    "id": "k8s_00537_section_3_10033"
  },
  {
    "question": "What is Field compatibility for container specifications?",
    "answer": "T h e   f o l l o w i n g   l i s t   d o c u m e n t s   d i f f e r e n c e s   b e t w e e n   h o w   P o d   c o n t a i n e r   s p e c i f i c a t i o n s   w o r k   b e t w e e n   W i n d o w s   a n d   L i n u x :   H u g e   p a g e s   a r e   n o t   i m p l e m e n t e d   i n   t h e   W i n d o w s   c o n t a i n e r   r u n t i m e ,   a n d   a r e   n o t   a v a i l a b l e .   T h e y   r e q u i r e   a s s e r t i n g   a   u s e r   p r i v i l e g e   t h a t ' s   n o t   c o n f i g u r a b l e   f o r   c o n t a i n e r s . r e q u e s t s . c p u   a n d   r e q u e s t s . m e m o r y   -   r e q u e s t s   a r e   s u b t r a c t e d   f r o m   n o d e   a v a i l a b l e   r e s o u r c e s ,   s o   t h e y   c a n   b e   u s e d   t o   a v o i d   o v e r p r o v i s i o n i n g   a   n o d e .   H o w e v e r ,   t h e y   c a n n o t   b e   u s e d   t o   g u a r a n t e e   r e s o u r c e s   i n   a n   o v e r p r o v i s i o n e d   n o d e .   T h e y   s h o u l d   b e   a p p l i e d   t o   a l l   c o n t a i n e r s   a s   a   b e s t   p r a c t i c e   i f   t h e   o p e r a t o r   w a n t s   t o   a v o i d   o v e r p r o v i s i o n i n g   e n t i r e l y . s e c u r i t y C o n t e x t . a l l o w P r i v i l e g e E s c a l a t i o n   -   n o t   p o s s i b l e   o n   W i n d o w s ;   n o n e   o f   t h e   c a p a b i l i t i e s   a r e   h o o k e d   u p s e c u r i t y C o n t e x t . c a p a b i l i t i e s   -   P O S I X   c a p a b i l i t i e s   a r e   n o t   i m p l e m e n t e d   o n   W i n d o w s s e c u r i t y C o n t e x t . p r i v i l e g e d   -   W i n d o w s   d o e s n ' t   s u p p o r t   p r i v i l e g e d   c o n t a i n e r s ,   u s e   H o s t P r o c e s s   C o n t a i n e r s   i n s t e a d s e c u r i t y C o n t e x t . p r o c M o u n t   -   W i n d o w s   d o e s n ' t   h a v e   a   / p r o c   f i l e s y s t e m s e c u r i t y C o n t e x t ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/intro/",
    "id": "k8s_00537_section_4_10034"
  },
  {
    "question": "What is Field compatibility for Pod specifications?",
    "answer": "T h e   f o l l o w i n g   l i s t   d o c u m e n t s   d i f f e r e n c e s   b e t w e e n   h o w   P o d   s p e c i f i c a t i o n s   w o r k   b e t w e e n   W i n d o w s   a n d   L i n u x :   h o s t I P C   a n d   h o s t p i d   -   h o s t   n a m e s p a c e   s h a r i n g   i s   n o t   p o s s i b l e   o n   W i n d o w s h o s t N e t w o r k   -   h o s t   n e t w o r k i n g   i s   n o t   p o s s i b l e   o n   W i n d o w s d n s P o l i c y   -   s e t t i n g   t h e   P o d   d n s P o l i c y   t o   C l u s t e r F i r s t W i t h H o s t N e t   i s   n o t   s u p p o r t e d   o n   W i n d o w s   b e c a u s e   h o s t   n e t w o r k i n g   i s   n o t   p r o v i d e d .   P o d s   a l w a y s   r u n   w i t h   a   c o n t a i n e r   n e t w o r k . p o d S e c u r i t y C o n t e x t   s e e   b e l o w s h a r e P r o c e s s N a m e s p a c e   -   t h i s   i s   a   b e t a   f e a t u r e ,   a n d   d e p e n d s   o n   L i n u x   n a m e s p a c e s   w h i c h   a r e   n o t   i m p l e m e n t e d   o n   W i n d o w s .   W i n d o w s   c a n n o t   s h a r e   p r o c e s s   n a m e s p a c e s   o r   t h e   c o n t a i n e r ' s   r o o t   f i l e s y s t e m .   O n l y   t h e   n e t w o r k   c a n   b e   s h a r e d . t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   -   t h i s   i s   n o t   f u l l y   i m p l e m e n t e d   i n   D o c k e r   o n   W i n d o w s ,   s e e   t h e   G i t H u b   i s s u e .   T h e   b e h a v i o r   t o d a y   i s   t h a t   t h e   E N T R Y P O I N T   p r o c e s s   i s   s e n t   C T R L _ S H U T D O W N _ E V E N T ,   t h e n   W i n d o w s   w a i t s   5   s e c o n d s   b y   d e f a u l t ,   a n d   f i n a l l y   s h u t s   d o w n   a l l   p r o c e s s e s   u s i n g   t h e   n o r m a l   W i n d o w s   s h u t d o w n   b e h a v i o r .   T h e   5   s e c o n d   d e f a u l t   i s   a c t u a l l y   i ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/intro/",
    "id": "k8s_00537_section_4_10035"
  },
  {
    "question": "What is Host network access?",
    "answer": "K u b e r n e t e s   v 1 . 2 6   t o   v 1 . 3 2   i n c l u d e d   a l p h a   s u p p o r t   f o r   r u n n i n g   W i n d o w s   P o d s   i n   t h e   h o s t ' s   n e t w o r k   n a m e s p a c e .   K u b e r n e t e s   v 1 . 3 4   d o e s   n o t   i n c l u d e   t h e   W i n d o w s H o s t N e t w o r k   f e a t u r e   g a t e   o r   s u p p o r t   f o r   r u n n i n g   W i n d o w s   P o d s   i n   t h e   h o s t ' s   n e t w o r k   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/intro/",
    "id": "k8s_00537_section_4_10036"
  },
  {
    "question": "What is Field compatibility for Pod security context?",
    "answer": "O n l y   t h e   s e c u r i t y C o n t e x t . r u n A s N o n R o o t   a n d   s e c u r i t y C o n t e x t . w i n d o w s O p t i o n s   f r o m   t h e   P o d   s e c u r i t y C o n t e x t   f i e l d s   w o r k   o n   W i n d o w s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/intro/",
    "id": "k8s_00537_section_4_10037"
  },
  {
    "question": "What is Node problem detector?",
    "answer": "T h e   n o d e   p r o b l e m   d e t e c t o r   ( s e e   M o n i t o r   N o d e   H e a l t h )   h a s   p r e l i m i n a r y   s u p p o r t   f o r   W i n d o w s .   F o r   m o r e   i n f o r m a t i o n ,   v i s i t   t h e   p r o j e c t ' s   G i t H u b   p a g e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/intro/",
    "id": "k8s_00537_section_2_10038"
  },
  {
    "question": "What is Pause container?",
    "answer": "I n   a   K u b e r n e t e s   P o d ,   a n   i n f r a s t r u c t u r e   o r   “ p a u s e ”   c o n t a i n e r   i s   f i r s t   c r e a t e d   t o   h o s t   t h e   c o n t a i n e r .   I n   L i n u x ,   t h e   c g r o u p s   a n d   n a m e s p a c e s   t h a t   m a k e   u p   a   p o d   n e e d   a   p r o c e s s   t o   m a i n t a i n   t h e i r   c o n t i n u e d   e x i s t e n c e ;   t h e   p a u s e   p r o c e s s   p r o v i d e s   t h i s .   C o n t a i n e r s   t h a t   b e l o n g   t o   t h e   s a m e   p o d ,   i n c l u d i n g   i n f r a s t r u c t u r e   a n d   w o r k e r   c o n t a i n e r s ,   s h a r e   a   c o m m o n   n e t w o r k   e n d p o i n t   ( s a m e   I P v 4   a n d   /   o r   I P v 6   a d d r e s s ,   s a m e   n e t w o r k   p o r t   s p a c e s ) .   K u b e r n e t e s   u s e s   p a u s e   c o n t a i n e r s   t o   a l l o w   f o r   w o r k e r   c o n t a i n e r s   c r a s h i n g   o r   r e s t a r t i n g   w i t h o u t   l o s i n g   a n y   o f   t h e   n e t w o r k i n g   c o n f i g u r a t i o n .   K u b e r n e t e s   m a i n t a i n s   a   m u l t i - a r c h i t e c t u r e   i m a g e   t h a t   i n c l u d e s   s u p p o r t   f o r   W i n d o w s .   F o r   K u b e r n e t e s   v 1 . 3 4 . 0   t h e   r e c o m m e n d e d   p a u s e   i m a g e   i s   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 6 .   T h e   s o u r c e   c o d e   i s   a v a i l a b l e   o n   G i t H u b .   M i c r o s o f t   m a i n t a i n s   a   d i f f e r e n t   m u l t i - a r c h i t e c t u r e   i m a g e ,   w i t h   L i n u x   a n d   W i n d o w s   a m d 6 4   s u p p o r t ,   t h a t   y o u   c a n   f i n d   a s   m c r . m i c r o s o f t . c o m / o s s / k u b e r n e t e s / p a u s e : 3 . 6 .   T h i s   i m a g e   i s   b u i l t   f r o m   t h e   s a m e   s o u r c e   a s   t h e   K u b e r n e t e s   m a i n t a i n e d   i m ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/intro/",
    "id": "k8s_00537_section_2_10039"
  },
  {
    "question": "What is Container runtimes?",
    "answer": "Y o u   n e e d   t o   i n s t a l l   a   c o n t a i n e r   r u n t i m e   i n t o   e a c h   n o d e   i n   t h e   c l u s t e r   s o   t h a t   P o d s   c a n   r u n   t h e r e .   T h e   f o l l o w i n g   c o n t a i n e r   r u n t i m e s   w o r k   w i t h   W i n d o w s :",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/intro/",
    "id": "k8s_00537_section_2_10040"
  },
  {
    "question": "What is ContainerD?",
    "answer": "Y o u   c a n   u s e   C o n t a i n e r D   1 . 4 . 0 +   a s   t h e   c o n t a i n e r   r u n t i m e   f o r   K u b e r n e t e s   n o d e s   t h a t   r u n   W i n d o w s .   L e a r n   h o w   t o   i n s t a l l   C o n t a i n e r D   o n   a   W i n d o w s   n o d e . N o t e : T h e r e   i s   a   k n o w n   l i m i t a t i o n   w h e n   u s i n g   G M S A   w i t h   c o n t a i n e r d   t o   a c c e s s   W i n d o w s   n e t w o r k   s h a r e s ,   w h i c h   r e q u i r e s   a   k e r n e l   p a t c h .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/intro/",
    "id": "k8s_00537_section_3_10041"
  },
  {
    "question": "What is Mirantis Container Runtime?",
    "answer": "M i r a n t i s   C o n t a i n e r   R u n t i m e   ( M C R )   i s   a v a i l a b l e   a s   a   c o n t a i n e r   r u n t i m e   f o r   a l l   W i n d o w s   S e r v e r   2 0 1 9   a n d   l a t e r   v e r s i o n s .   S e e   I n s t a l l   M C R   o n   W i n d o w s   S e r v e r s   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/intro/",
    "id": "k8s_00537_section_3_10042"
  },
  {
    "question": "What is Windows OS version compatibility?",
    "answer": "O n   W i n d o w s   n o d e s ,   s t r i c t   c o m p a t i b i l i t y   r u l e s   a p p l y   w h e r e   t h e   h o s t   O S   v e r s i o n   m u s t   m a t c h   t h e   c o n t a i n e r   b a s e   i m a g e   O S   v e r s i o n .   O n l y   W i n d o w s   c o n t a i n e r s   w i t h   a   c o n t a i n e r   o p e r a t i n g   s y s t e m   o f   W i n d o w s   S e r v e r   2 0 1 9   a r e   f u l l y   s u p p o r t e d .   F o r   K u b e r n e t e s   v 1 . 3 4 ,   o p e r a t i n g   s y s t e m   c o m p a t i b i l i t y   f o r   W i n d o w s   n o d e s   ( a n d   P o d s )   i s   a s   f o l l o w s :   T h e   K u b e r n e t e s   v e r s i o n - s k e w   p o l i c y   a l s o   a p p l i e s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/intro/",
    "id": "k8s_00537_section_2_10043"
  },
  {
    "question": "What is Note:?",
    "answer": "6 4 - b i t   p r o c e s s o r   4   C P U   c o r e s   o r   m o r e ,   c a p a b l e   o f   s u p p o r t i n g   v i r t u a l i z a t i o n 8 G B   o r   m o r e   o f   R A M 5 0 G B   o r   m o r e   o f   f r e e   d i s k   s p a c e   R e f e r   t o   H a r d w a r e   r e q u i r e m e n t s   f o r   W i n d o w s   S e r v e r   M i c r o s o f t   d o c u m e n t a t i o n   f o r   t h e   m o s t   u p - t o - d a t e   i n f o r m a t i o n   o n   m i n i m u m   h a r d w a r e   r e q u i r e m e n t s .   F o r   g u i d a n c e   o n   d e c i d i n g   o n   r e s o u r c e s   f o r   p r o d u c t i o n   w o r k e r   n o d e s   r e f e r   t o   P r o d u c t i o n   w o r k e r   n o d e s   K u b e r n e t e s   d o c u m e n t a t i o n .   T o   o p t i m i z e   s y s t e m   r e s o u r c e s ,   i f   a   g r a p h i c a l   u s e r   i n t e r f a c e   i s   n o t   r e q u i r e d ,   i t   m a y   b e   p r e f e r a b l e   t o   u s e   a   W i n d o w s   S e r v e r   O S   i n s t a l l a t i o n   t h a t   e x c l u d e s   t h e   W i n d o w s   D e s k t o p   E x p e r i e n c e   i n s t a l l a t i o n   o p t i o n ,   a s   t h i s   c o n f i g u r a t i o n   t y p i c a l l y   f r e e s   u p   m o r e   s y s t e m   r e s o u r c e s .   I n   a s s e s s i n g   d i s k   s p a c e   f o r   W i n d o w s   w o r k e r   n o d e s ,   t a k e   n o t e   t h a t   W i n d o w s   c o n t a i n e r   i m a g e s   a r e   t y p i c a l l y   l a r g e r   t h a n   L i n u x   c o n t a i n e r   i m a g e s ,   w i t h   c o n t a i n e r   i m a g e   s i z e s   r a n g i n g   f r o m   3 0 0 M B   t o   o v e r   1 0 G B   f o r   a   s i n g l e   i m a g e .   A d d i t i o n a l l y ,   t a k e   n o t e   t h a t   t h e   C :   d r i v e   i n   W i n d o w s   c o n t a i n e r s   r e p r e s e n t s   a   v i r t u a l   f r e e   s i z e   o f   2 0 G B   b y   d e f a u l t ,   w h i c h ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/intro/",
    "id": "k8s_00537_section_4_10044"
  },
  {
    "question": "What is Getting help and troubleshooting?",
    "answer": "Y o u r   m a i n   s o u r c e   o f   h e l p   f o r   t r o u b l e s h o o t i n g   y o u r   K u b e r n e t e s   c l u s t e r   s h o u l d   s t a r t   w i t h   t h e   T r o u b l e s h o o t i n g   p a g e .   S o m e   a d d i t i o n a l ,   W i n d o w s - s p e c i f i c   t r o u b l e s h o o t i n g   h e l p   i s   i n c l u d e d   i n   t h i s   s e c t i o n .   L o g s   a r e   a n   i m p o r t a n t   e l e m e n t   o f   t r o u b l e s h o o t i n g   i s s u e s   i n   K u b e r n e t e s .   M a k e   s u r e   t o   i n c l u d e   t h e m   a n y   t i m e   y o u   s e e k   t r o u b l e s h o o t i n g   a s s i s t a n c e   f r o m   o t h e r   c o n t r i b u t o r s .   F o l l o w   t h e   i n s t r u c t i o n s   i n   t h e   S I G   W i n d o w s   c o n t r i b u t i n g   g u i d e   o n   g a t h e r i n g   l o g s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/intro/",
    "id": "k8s_00537_section_2_10045"
  },
  {
    "question": "What is Reporting issues and feature requests?",
    "answer": "I f   y o u   h a v e   w h a t   l o o k s   l i k e   a   b u g ,   o r   y o u   w o u l d   l i k e   t o   m a k e   a   f e a t u r e   r e q u e s t ,   p l e a s e   f o l l o w   t h e   S I G   W i n d o w s   c o n t r i b u t i n g   g u i d e   t o   c r e a t e   a   n e w   i s s u e .   Y o u   s h o u l d   f i r s t   s e a r c h   t h e   l i s t   o f   i s s u e s   i n   c a s e   i t   w a s   r e p o r t e d   p r e v i o u s l y   a n d   c o m m e n t   w i t h   y o u r   e x p e r i e n c e   o n   t h e   i s s u e   a n d   a d d   a d d i t i o n a l   l o g s .   S I G   W i n d o w s   c h a n n e l   o n   t h e   K u b e r n e t e s   S l a c k   i s   a l s o   a   g r e a t   a v e n u e   t o   g e t   s o m e   i n i t i a l   s u p p o r t   a n d   t r o u b l e s h o o t i n g   i d e a s   p r i o r   t o   c r e a t i n g   a   t i c k e t .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/intro/",
    "id": "k8s_00537_section_3_10046"
  },
  {
    "question": "What is Validating the Windows cluster operability?",
    "answer": "T h e   K u b e r n e t e s   p r o j e c t   p r o v i d e s   a   W i n d o w s   O p e r a t i o n a l   R e a d i n e s s   s p e c i f i c a t i o n ,   a c c o m p a n i e d   b y   a   s t r u c t u r e d   t e s t   s u i t e .   T h i s   s u i t e   i s   s p l i t   i n t o   t w o   s e t s   o f   t e s t s ,   c o r e   a n d   e x t e n d e d ,   e a c h   c o n t a i n i n g   c a t e g o r i e s   a i m e d   a t   t e s t i n g   s p e c i f i c   a r e a s .   I t   c a n   b e   u s e d   t o   v a l i d a t e   a l l   t h e   f u n c t i o n a l i t i e s   o f   a   W i n d o w s   a n d   h y b r i d   s y s t e m   ( m i x e d   w i t h   L i n u x   n o d e s )   w i t h   f u l l   c o v e r a g e .   T o   s e t   u p   t h e   p r o j e c t   o n   a   n e w l y   c r e a t e d   c l u s t e r ,   r e f e r   t o   t h e   i n s t r u c t i o n s   i n   t h e   p r o j e c t   g u i d e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/intro/",
    "id": "k8s_00537_section_3_10047"
  },
  {
    "question": "What is Deployment tools?",
    "answer": "T h e   k u b e a d m   t o o l   h e l p s   y o u   t o   d e p l o y   a   K u b e r n e t e s   c l u s t e r ,   p r o v i d i n g   t h e   c o n t r o l   p l a n e   t o   m a n a g e   t h e   c l u s t e r   i t ,   a n d   n o d e s   t o   r u n   y o u r   w o r k l o a d s .   T h e   K u b e r n e t e s   c l u s t e r   A P I   p r o j e c t   a l s o   p r o v i d e s   m e a n s   t o   a u t o m a t e   d e p l o y m e n t   o f   W i n d o w s   n o d e s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/intro/",
    "id": "k8s_00537_section_2_10048"
  },
  {
    "question": "What is Windows distribution channels?",
    "answer": "F o r   a   d e t a i l e d   e x p l a n a t i o n   o f   W i n d o w s   d i s t r i b u t i o n   c h a n n e l s   s e e   t h e   M i c r o s o f t   d o c u m e n t a t i o n .   I n f o r m a t i o n   o n   t h e   d i f f e r e n t   W i n d o w s   S e r v e r   s e r v i c i n g   c h a n n e l s   i n c l u d i n g   t h e i r   s u p p o r t   m o d e l s   c a n   b e   f o u n d   a t   W i n d o w s   S e r v e r   s e r v i c i n g   c h a n n e l s .   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/windows/intro/",
    "id": "k8s_00537_section_2_10049"
  },
  {
    "question": "What is Attach Handlers to Container Lifecycle Events?",
    "answer": "Attach Handlers to Container Lifecycle EventsThis page shows how to attach handlers to Container lifecycle events. Kubernetes supports the postStart and preStop events. Kubernetes sends the postStart event immediately after a Container is started, and it sends the preStop event immediately before the Container is terminated. A Container may specify one handler per event.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Define postStart and preStop handlersIn this exercise, you create a Pod that has one Container. The Container has handlers for the postStart and preStop events.Here is the configuration file for the Pod:pods/lifecycle-events.yaml apiVersion: v1 kind: Pod metadata: name: lifecycle-demo spec: containers: - name: lifecycle-demo-container image: nginx lifecycle: postStart: exec: command: [\"/bin/sh\", \"-c\", \"echo Hello from the postStart handler > /usr/share/message\"] preStop: exec: command: [\"/bin/sh\",\"-c\",\"nginx -s quit; while killall -0 nginx; do sleep 1; done\"] In the configuration file, you can see that the postStart command writes a message file to the Container's /usr/share directory. The preStop command shuts down nginx gracefully. This is helpful if the Container is being terminated because of a failure.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/lifecycle-events.yaml Verify that the Container in the Pod is running:kubectl get pod lifecycle-demo Get a shell into the Container running in your Pod:kubectl exec -it lifecycle-demo -- /bin/bash In your shell, verify that the postStart handler created the message file:root@lifecycle-demo:/# cat /usr/share/message The output shows the text written by the postStart handler:Hello from the postStart handler DiscussionKubernetes sends the postStart event immediately after the Container is created. There is no guarantee, however, that the postStart handler is called before the Container's entrypoint is called. The postStart handler runs asynchronously relative to the Container's code, but Kubernetes' management of the container blocks until the postStart handler completes. The Container's status is not set to RUNNING until the postStart handler completes.Kubernetes sends the preStop event immediately before the Container is terminated. Kubernetes' management of the Container blocks until the preStop handler completes, unless the Pod's grace period expires. For more details, see Pod Lifecycle.Note:Kubernetes only sends the preStop event when a Pod or a container in the Pod is terminated. This means that the preStop hook is not invoked when the Pod is",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/",
    "id": "k8s_00538_qa_10050"
  },
  {
    "question": "How does Attach Handlers to Container Lifecycle Events work?",
    "answer": "Attach Handlers to Container Lifecycle EventsThis page shows how to attach handlers to Container lifecycle events. Kubernetes supports the postStart and preStop events. Kubernetes sends the postStart event immediately after a Container is started, and it sends the preStop event immediately before the Container is terminated. A Container may specify one handler per event.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Define postStart and preStop handlersIn this exercise, you create a Pod that has one Container. The Container has handlers for the postStart and preStop events.Here is the configuration file for the Pod:pods/lifecycle-events.yaml apiVersion: v1 kind: Pod metadata: name: lifecycle-demo spec: containers: - name: lifecycle-demo-container image: nginx lifecycle: postStart: exec: command: [\"/bin/sh\", \"-c\", \"echo Hello from the postStart handler > /usr/share/message\"] preStop: exec: command: [\"/bin/sh\",\"-c\",\"nginx -s quit; while killall -0 nginx; do sleep 1; done\"] In the configuration file, you can see that the postStart command writes a message file to the Container's /usr/share directory. The preStop command shuts down nginx gracefully. This is helpful if the Container is being terminated because of a failure.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/lifecycle-events.yaml Verify that the Container in the Pod is running:kubectl get pod lifecycle-demo Get a shell into the Container running in your Pod:kubectl exec -it lifecycle-demo -- /bin/bash In your shell, verify that the postStart handler created the message file:root@lifecycle-demo:/# cat /usr/share/message The output shows the text written by the postStart handler:Hello from the postStart handler DiscussionKubernetes sends the postStart event immediately after the Container is created. There is no guarantee, however, that the postStart handler is called before the Container's entrypoint is called. The postStart handler runs asynchronously relative to the Container's code, but Kubernetes' management of the container blocks until the postStart handler completes. The Container's status is not set to RUNNING until the postStart handler completes.Kubernetes sends the preStop event immediately before the Container is terminated. Kubernetes' management of the Container blocks until the preStop handler completes, unless the Pod's grace period expires. For more details, see Pod Lifecycle.Note:Kubernetes only sends the preStop event when a Pod or a container in the Pod is terminated. This means that the preStop hook is not invoked when the Pod is",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/",
    "id": "k8s_00538_qa_10051"
  },
  {
    "question": "When would you use Attach Handlers to Container Lifecycle Events?",
    "answer": "Attach Handlers to Container Lifecycle EventsThis page shows how to attach handlers to Container lifecycle events. Kubernetes supports the postStart and preStop events. Kubernetes sends the postStart event immediately after a Container is started, and it sends the preStop event immediately before the Container is terminated. A Container may specify one handler per event.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Define postStart and preStop handlersIn this exercise, you create a Pod that has one Container. The Container has handlers for the postStart and preStop events.Here is the configuration file for the Pod:pods/lifecycle-events.yaml apiVersion: v1 kind: Pod metadata: name: lifecycle-demo spec: containers: - name: lifecycle-demo-container image: nginx lifecycle: postStart: exec: command: [\"/bin/sh\", \"-c\", \"echo Hello from the postStart handler > /usr/share/message\"] preStop: exec: command: [\"/bin/sh\",\"-c\",\"nginx -s quit; while killall -0 nginx; do sleep 1; done\"] In the configuration file, you can see that the postStart command writes a message file to the Container's /usr/share directory. The preStop command shuts down nginx gracefully. This is helpful if the Container is being terminated because of a failure.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/lifecycle-events.yaml Verify that the Container in the Pod is running:kubectl get pod lifecycle-demo Get a shell into the Container running in your Pod:kubectl exec -it lifecycle-demo -- /bin/bash In your shell, verify that the postStart handler created the message file:root@lifecycle-demo:/# cat /usr/share/message The output shows the text written by the postStart handler:Hello from the postStart handler DiscussionKubernetes sends the postStart event immediately after the Container is created. There is no guarantee, however, that the postStart handler is called before the Container's entrypoint is called. The postStart handler runs asynchronously relative to the Container's code, but Kubernetes' management of the container blocks until the postStart handler completes. The Container's status is not set to RUNNING until the postStart handler completes.Kubernetes sends the preStop event immediately before the Container is terminated. Kubernetes' management of the Container blocks until the preStop handler completes, unless the Pod's grace period expires. For more details, see Pod Lifecycle.Note:Kubernetes only sends the preStop event when a Pod or a container in the Pod is terminated. This means that the preStop hook is not invoked when the Pod is",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/",
    "id": "k8s_00538_qa_10052"
  },
  {
    "question": "What are the benefits of Attach Handlers to Container Lifecycle Events?",
    "answer": "Attach Handlers to Container Lifecycle EventsThis page shows how to attach handlers to Container lifecycle events. Kubernetes supports the postStart and preStop events. Kubernetes sends the postStart event immediately after a Container is started, and it sends the preStop event immediately before the Container is terminated. A Container may specify one handler per event.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Define postStart and preStop handlersIn this exercise, you create a Pod that has one Container. The Container has handlers for the postStart and preStop events.Here is the configuration file for the Pod:pods/lifecycle-events.yaml apiVersion: v1 kind: Pod metadata: name: lifecycle-demo spec: containers: - name: lifecycle-demo-container image: nginx lifecycle: postStart: exec: command: [\"/bin/sh\", \"-c\", \"echo Hello from the postStart handler > /usr/share/message\"] preStop: exec: command: [\"/bin/sh\",\"-c\",\"nginx -s quit; while killall -0 nginx; do sleep 1; done\"] In the configuration file, you can see that the postStart command writes a message file to the Container's /usr/share directory. The preStop command shuts down nginx gracefully. This is helpful if the Container is being terminated because of a failure.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/lifecycle-events.yaml Verify that the Container in the Pod is running:kubectl get pod lifecycle-demo Get a shell into the Container running in your Pod:kubectl exec -it lifecycle-demo -- /bin/bash In your shell, verify that the postStart handler created the message file:root@lifecycle-demo:/# cat /usr/share/message The output shows the text written by the postStart handler:Hello from the postStart handler DiscussionKubernetes sends the postStart event immediately after the Container is created. There is no guarantee, however, that the postStart handler is called before the Container's entrypoint is called. The postStart handler runs asynchronously relative to the Container's code, but Kubernetes' management of the container blocks until the postStart handler completes. The Container's status is not set to RUNNING until the postStart handler completes.Kubernetes sends the preStop event immediately before the Container is terminated. Kubernetes' management of the Container blocks until the preStop handler completes, unless the Pod's grace period expires. For more details, see Pod Lifecycle.Note:Kubernetes only sends the preStop event when a Pod or a container in the Pod is terminated. This means that the preStop hook is not invoked when the Pod is",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/",
    "id": "k8s_00538_qa_10053"
  },
  {
    "question": "What is Attach Handlers to Container Lifecycle Events?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   a t t a c h   h a n d l e r s   t o   C o n t a i n e r   l i f e c y c l e   e v e n t s .   K u b e r n e t e s   s u p p o r t s   t h e   p o s t S t a r t   a n d   p r e S t o p   e v e n t s .   K u b e r n e t e s   s e n d s   t h e   p o s t S t a r t   e v e n t   i m m e d i a t e l y   a f t e r   a   C o n t a i n e r   i s   s t a r t e d ,   a n d   i t   s e n d s   t h e   p r e S t o p   e v e n t   i m m e d i a t e l y   b e f o r e   t h e   C o n t a i n e r   i s   t e r m i n a t e d .   A   C o n t a i n e r   m a y   s p e c i f y   o n e   h a n d l e r   p e r   e v e n t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/",
    "id": "k8s_00538_section_1_10054"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/",
    "id": "k8s_00538_section_2_10055"
  },
  {
    "question": "What is Define postStart and preStop handlers?",
    "answer": "I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   T h e   C o n t a i n e r   h a s   h a n d l e r s   f o r   t h e   p o s t S t a r t   a n d   p r e S t o p   e v e n t s .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   l i f e c y c l e - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   l i f e c y c l e - d e m o - c o n t a i n e r   i m a g e :   n g i n x   l i f e c y c l e :   p o s t S t a r t :   e x e c :   c o m m a n d :   [ \" / b i n / s h \" ,   \" - c \" ,   \" e c h o   H e l l o   f r o m   t h e   p o s t S t a r t   h a n d l e r   >   / u s r / s h a r e / m e s s a g e \" ]   p r e S t o p :   e x e c :   c o m m a n d :   [ \" / b i n / s h \" , \" - c \" , \" n g i n x   - s   q u i t ;   w h i l e   k i l l a l l   - 0   n g i n x ;   d o   s l e e p   1 ;   d o n e \" ]   I n   t h e   c o n f i g u r a t i o n   f i l e ,   y o u   c a n   s e e   t h a t   t h e   p o s t S t a r t   c o m m a n d   w r i t e s   a   m e s s a g e   f i l e   t o   t h e   C o n t a i n e r ' s   / u s r / s h a r e   d i r e c t o r y .   T h e   p r e S t o p   c o m m a n d   s h u t s   d o w n   n g i n x   g r a c e f u l l y .   T h i s   i s   h e l p f u l   i f   t h e   C o n t a i n e r   i s   b e i n g   t e r m i n a t e d   b e c a u s e   o f   a   f a i l u r e .   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / l i f e c y c l e - e v e n t s . y a m l   V e r i f y   t h a t   t h e   C o n t a i n e r   i n   t h e   P o d   i s   r u n n i n g :   k u b e c t l   g e t   p o d   l i f e c y c l e - d e m o   G e t   a   s h e l l   i n t o   t h e   C o n t a i n e r   r u n n i n g   i n   y o u r   P o d :   k u b e c t l   e x e c   - i t   l i f e c y c l e - ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/",
    "id": "k8s_00538_section_2_10056"
  },
  {
    "question": "What is Discussion?",
    "answer": "K u b e r n e t e s   s e n d s   t h e   p o s t S t a r t   e v e n t   i m m e d i a t e l y   a f t e r   t h e   C o n t a i n e r   i s   c r e a t e d .   T h e r e   i s   n o   g u a r a n t e e ,   h o w e v e r ,   t h a t   t h e   p o s t S t a r t   h a n d l e r   i s   c a l l e d   b e f o r e   t h e   C o n t a i n e r ' s   e n t r y p o i n t   i s   c a l l e d .   T h e   p o s t S t a r t   h a n d l e r   r u n s   a s y n c h r o n o u s l y   r e l a t i v e   t o   t h e   C o n t a i n e r ' s   c o d e ,   b u t   K u b e r n e t e s '   m a n a g e m e n t   o f   t h e   c o n t a i n e r   b l o c k s   u n t i l   t h e   p o s t S t a r t   h a n d l e r   c o m p l e t e s .   T h e   C o n t a i n e r ' s   s t a t u s   i s   n o t   s e t   t o   R U N N I N G   u n t i l   t h e   p o s t S t a r t   h a n d l e r   c o m p l e t e s .   K u b e r n e t e s   s e n d s   t h e   p r e S t o p   e v e n t   i m m e d i a t e l y   b e f o r e   t h e   C o n t a i n e r   i s   t e r m i n a t e d .   K u b e r n e t e s '   m a n a g e m e n t   o f   t h e   C o n t a i n e r   b l o c k s   u n t i l   t h e   p r e S t o p   h a n d l e r   c o m p l e t e s ,   u n l e s s   t h e   P o d ' s   g r a c e   p e r i o d   e x p i r e s .   F o r   m o r e   d e t a i l s ,   s e e   P o d   L i f e c y c l e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/",
    "id": "k8s_00538_section_2_10057"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   C o n t a i n e r   l i f e c y c l e   h o o k s . L e a r n   m o r e   a b o u t   t h e   l i f e c y c l e   o f   a   P o d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/",
    "id": "k8s_00538_section_2_10058"
  },
  {
    "question": "What is Reference?",
    "answer": "L i f e c y c l e C o n t a i n e r S e e   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   i n   P o d S p e c",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/",
    "id": "k8s_00538_section_3_10059"
  },
  {
    "question": "What is Performing a Rolling Update?",
    "answer": "Performing a Rolling UpdateObjectivesPerform a rolling update using kubectl.Updating an applicationRolling updates allow Deployments' update to take place with zero downtime by incrementally updating Pods instances with new ones.Users expect applications to be available all the time, and developers are expected to deploy new versions of them several times a day. In Kubernetes this is done with rolling updates. A rolling update allows a Deployment update to take place with zero downtime. It does this by incrementally replacing the current Pods with new ones. The new Pods are scheduled on Nodes with available resources, and Kubernetes waits for those new Pods to start before removing the old Pods.In the previous module we scaled our application to run multiple instances. This is a requirement for performing updates without affecting application availability. By default, the maximum number of Pods that can be unavailable during the update and the maximum number of new Pods that can be created, is one. Both options can be configured to either numbers or percentages (of Pods). In Kubernetes, updates are versioned and any Deployment update can be reverted to a previous (stable) version.Rolling updates overviewIf a Deployment is exposed publicly, the Service will load-balance the traffic only to available Pods during the update.Similar to application Scaling, if a Deployment is exposed publicly, the Service will load-balance the traffic only to available Pods during the update. An available Pod is an instance that is available to the users of the application.Rolling updates allow the following actions:Promote an application from one environment to another (via container image updates)Rollback to previous versionsContinuous Integration and Continuous Delivery of applications with zero downtimeIn the following interactive tutorial, we'll update our application to a new version, and also perform a rollback.Update the version of the appTo list your Deployments, run the get deployments subcommand:kubectl get deployments To list the running Pods, run the get pods subcommand:kubectl get pods To view the current image version of the app, run the describe pods subcommand and look for the Image field:kubectl describe pods To update the image of the application to version 2, use the set image subcommand, followed by the deployment name and the new image version:kubectl set image deployments/kubernetes-bootcamp kubernetes-bootcamp=docker.io/jocatalin/kubernetes-bootcamp:v2 The command notified the Deployment to use a different image for your app and initiated a rolling update. Check the status of the new Pods, and view the old one terminating with the get pods subcommand:kubectl get pods Verify an updateFirst, check that the service is running, as you might have deleted it in previous tutorial step, run describe services/kubernetes-bootcamp. If it's missing, you can create it again with:kubectl expose deployment/kubernetes-bootcamp --type=\"NodePort\" --port 8080 Cre",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/update/update-intro/",
    "id": "k8s_00539_qa_10060"
  },
  {
    "question": "How does Performing a Rolling Update work?",
    "answer": "Performing a Rolling UpdateObjectivesPerform a rolling update using kubectl.Updating an applicationRolling updates allow Deployments' update to take place with zero downtime by incrementally updating Pods instances with new ones.Users expect applications to be available all the time, and developers are expected to deploy new versions of them several times a day. In Kubernetes this is done with rolling updates. A rolling update allows a Deployment update to take place with zero downtime. It does this by incrementally replacing the current Pods with new ones. The new Pods are scheduled on Nodes with available resources, and Kubernetes waits for those new Pods to start before removing the old Pods.In the previous module we scaled our application to run multiple instances. This is a requirement for performing updates without affecting application availability. By default, the maximum number of Pods that can be unavailable during the update and the maximum number of new Pods that can be created, is one. Both options can be configured to either numbers or percentages (of Pods). In Kubernetes, updates are versioned and any Deployment update can be reverted to a previous (stable) version.Rolling updates overviewIf a Deployment is exposed publicly, the Service will load-balance the traffic only to available Pods during the update.Similar to application Scaling, if a Deployment is exposed publicly, the Service will load-balance the traffic only to available Pods during the update. An available Pod is an instance that is available to the users of the application.Rolling updates allow the following actions:Promote an application from one environment to another (via container image updates)Rollback to previous versionsContinuous Integration and Continuous Delivery of applications with zero downtimeIn the following interactive tutorial, we'll update our application to a new version, and also perform a rollback.Update the version of the appTo list your Deployments, run the get deployments subcommand:kubectl get deployments To list the running Pods, run the get pods subcommand:kubectl get pods To view the current image version of the app, run the describe pods subcommand and look for the Image field:kubectl describe pods To update the image of the application to version 2, use the set image subcommand, followed by the deployment name and the new image version:kubectl set image deployments/kubernetes-bootcamp kubernetes-bootcamp=docker.io/jocatalin/kubernetes-bootcamp:v2 The command notified the Deployment to use a different image for your app and initiated a rolling update. Check the status of the new Pods, and view the old one terminating with the get pods subcommand:kubectl get pods Verify an updateFirst, check that the service is running, as you might have deleted it in previous tutorial step, run describe services/kubernetes-bootcamp. If it's missing, you can create it again with:kubectl expose deployment/kubernetes-bootcamp --type=\"NodePort\" --port 8080 Cre",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/update/update-intro/",
    "id": "k8s_00539_qa_10061"
  },
  {
    "question": "When would you use Performing a Rolling Update?",
    "answer": "Performing a Rolling UpdateObjectivesPerform a rolling update using kubectl.Updating an applicationRolling updates allow Deployments' update to take place with zero downtime by incrementally updating Pods instances with new ones.Users expect applications to be available all the time, and developers are expected to deploy new versions of them several times a day. In Kubernetes this is done with rolling updates. A rolling update allows a Deployment update to take place with zero downtime. It does this by incrementally replacing the current Pods with new ones. The new Pods are scheduled on Nodes with available resources, and Kubernetes waits for those new Pods to start before removing the old Pods.In the previous module we scaled our application to run multiple instances. This is a requirement for performing updates without affecting application availability. By default, the maximum number of Pods that can be unavailable during the update and the maximum number of new Pods that can be created, is one. Both options can be configured to either numbers or percentages (of Pods). In Kubernetes, updates are versioned and any Deployment update can be reverted to a previous (stable) version.Rolling updates overviewIf a Deployment is exposed publicly, the Service will load-balance the traffic only to available Pods during the update.Similar to application Scaling, if a Deployment is exposed publicly, the Service will load-balance the traffic only to available Pods during the update. An available Pod is an instance that is available to the users of the application.Rolling updates allow the following actions:Promote an application from one environment to another (via container image updates)Rollback to previous versionsContinuous Integration and Continuous Delivery of applications with zero downtimeIn the following interactive tutorial, we'll update our application to a new version, and also perform a rollback.Update the version of the appTo list your Deployments, run the get deployments subcommand:kubectl get deployments To list the running Pods, run the get pods subcommand:kubectl get pods To view the current image version of the app, run the describe pods subcommand and look for the Image field:kubectl describe pods To update the image of the application to version 2, use the set image subcommand, followed by the deployment name and the new image version:kubectl set image deployments/kubernetes-bootcamp kubernetes-bootcamp=docker.io/jocatalin/kubernetes-bootcamp:v2 The command notified the Deployment to use a different image for your app and initiated a rolling update. Check the status of the new Pods, and view the old one terminating with the get pods subcommand:kubectl get pods Verify an updateFirst, check that the service is running, as you might have deleted it in previous tutorial step, run describe services/kubernetes-bootcamp. If it's missing, you can create it again with:kubectl expose deployment/kubernetes-bootcamp --type=\"NodePort\" --port 8080 Cre",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/update/update-intro/",
    "id": "k8s_00539_qa_10062"
  },
  {
    "question": "What are the benefits of Performing a Rolling Update?",
    "answer": "Performing a Rolling UpdateObjectivesPerform a rolling update using kubectl.Updating an applicationRolling updates allow Deployments' update to take place with zero downtime by incrementally updating Pods instances with new ones.Users expect applications to be available all the time, and developers are expected to deploy new versions of them several times a day. In Kubernetes this is done with rolling updates. A rolling update allows a Deployment update to take place with zero downtime. It does this by incrementally replacing the current Pods with new ones. The new Pods are scheduled on Nodes with available resources, and Kubernetes waits for those new Pods to start before removing the old Pods.In the previous module we scaled our application to run multiple instances. This is a requirement for performing updates without affecting application availability. By default, the maximum number of Pods that can be unavailable during the update and the maximum number of new Pods that can be created, is one. Both options can be configured to either numbers or percentages (of Pods). In Kubernetes, updates are versioned and any Deployment update can be reverted to a previous (stable) version.Rolling updates overviewIf a Deployment is exposed publicly, the Service will load-balance the traffic only to available Pods during the update.Similar to application Scaling, if a Deployment is exposed publicly, the Service will load-balance the traffic only to available Pods during the update. An available Pod is an instance that is available to the users of the application.Rolling updates allow the following actions:Promote an application from one environment to another (via container image updates)Rollback to previous versionsContinuous Integration and Continuous Delivery of applications with zero downtimeIn the following interactive tutorial, we'll update our application to a new version, and also perform a rollback.Update the version of the appTo list your Deployments, run the get deployments subcommand:kubectl get deployments To list the running Pods, run the get pods subcommand:kubectl get pods To view the current image version of the app, run the describe pods subcommand and look for the Image field:kubectl describe pods To update the image of the application to version 2, use the set image subcommand, followed by the deployment name and the new image version:kubectl set image deployments/kubernetes-bootcamp kubernetes-bootcamp=docker.io/jocatalin/kubernetes-bootcamp:v2 The command notified the Deployment to use a different image for your app and initiated a rolling update. Check the status of the new Pods, and view the old one terminating with the get pods subcommand:kubectl get pods Verify an updateFirst, check that the service is running, as you might have deleted it in previous tutorial step, run describe services/kubernetes-bootcamp. If it's missing, you can create it again with:kubectl expose deployment/kubernetes-bootcamp --type=\"NodePort\" --port 8080 Cre",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/update/update-intro/",
    "id": "k8s_00539_qa_10063"
  },
  {
    "question": "What is Objectives?",
    "answer": "P e r f o r m   a   r o l l i n g   u p d a t e   u s i n g   k u b e c t l .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/update/update-intro/",
    "id": "k8s_00539_section_2_10064"
  },
  {
    "question": "What is Updating an application?",
    "answer": "U s e r s   e x p e c t   a p p l i c a t i o n s   t o   b e   a v a i l a b l e   a l l   t h e   t i m e ,   a n d   d e v e l o p e r s   a r e   e x p e c t e d   t o   d e p l o y   n e w   v e r s i o n s   o f   t h e m   s e v e r a l   t i m e s   a   d a y .   I n   K u b e r n e t e s   t h i s   i s   d o n e   w i t h   r o l l i n g   u p d a t e s .   A   r o l l i n g   u p d a t e   a l l o w s   a   D e p l o y m e n t   u p d a t e   t o   t a k e   p l a c e   w i t h   z e r o   d o w n t i m e .   I t   d o e s   t h i s   b y   i n c r e m e n t a l l y   r e p l a c i n g   t h e   c u r r e n t   P o d s   w i t h   n e w   o n e s .   T h e   n e w   P o d s   a r e   s c h e d u l e d   o n   N o d e s   w i t h   a v a i l a b l e   r e s o u r c e s ,   a n d   K u b e r n e t e s   w a i t s   f o r   t h o s e   n e w   P o d s   t o   s t a r t   b e f o r e   r e m o v i n g   t h e   o l d   P o d s .   I n   t h e   p r e v i o u s   m o d u l e   w e   s c a l e d   o u r   a p p l i c a t i o n   t o   r u n   m u l t i p l e   i n s t a n c e s .   T h i s   i s   a   r e q u i r e m e n t   f o r   p e r f o r m i n g   u p d a t e s   w i t h o u t   a f f e c t i n g   a p p l i c a t i o n   a v a i l a b i l i t y .   B y   d e f a u l t ,   t h e   m a x i m u m   n u m b e r   o f   P o d s   t h a t   c a n   b e   u n a v a i l a b l e   d u r i n g   t h e   u p d a t e   a n d   t h e   m a x i m u m   n u m b e r   o f   n e w   P o d s   t h a t   c a n   b e   c r e a t e d ,   i s   o n e .   B o t h   o p t i o n s   c a n   b e   c o n f i g u r e d   t o   e i t h e r   n u m b e r s   o r   p e r c e n t a g e s   ( o f   P o d s ) .   I n   K u b e r n e t e s ,   u p d a t e s   a r e   v e r s i o n e d   a n d   a n y   D e p l o y m e n t   u p d a t e   c a n   b e   r e v e r t e d   t o   a   p r e v i o u s   ( s t a b l e )   v e r s i o n .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/update/update-intro/",
    "id": "k8s_00539_section_2_10065"
  },
  {
    "question": "What is Rolling updates overview?",
    "answer": "S i m i l a r   t o   a p p l i c a t i o n   S c a l i n g ,   i f   a   D e p l o y m e n t   i s   e x p o s e d   p u b l i c l y ,   t h e   S e r v i c e   w i l l   l o a d - b a l a n c e   t h e   t r a f f i c   o n l y   t o   a v a i l a b l e   P o d s   d u r i n g   t h e   u p d a t e .   A n   a v a i l a b l e   P o d   i s   a n   i n s t a n c e   t h a t   i s   a v a i l a b l e   t o   t h e   u s e r s   o f   t h e   a p p l i c a t i o n .   R o l l i n g   u p d a t e s   a l l o w   t h e   f o l l o w i n g   a c t i o n s :   P r o m o t e   a n   a p p l i c a t i o n   f r o m   o n e   e n v i r o n m e n t   t o   a n o t h e r   ( v i a   c o n t a i n e r   i m a g e   u p d a t e s ) R o l l b a c k   t o   p r e v i o u s   v e r s i o n s C o n t i n u o u s   I n t e g r a t i o n   a n d   C o n t i n u o u s   D e l i v e r y   o f   a p p l i c a t i o n s   w i t h   z e r o   d o w n t i m e   I n   t h e   f o l l o w i n g   i n t e r a c t i v e   t u t o r i a l ,   w e ' l l   u p d a t e   o u r   a p p l i c a t i o n   t o   a   n e w   v e r s i o n ,   a n d   a l s o   p e r f o r m   a   r o l l b a c k .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/update/update-intro/",
    "id": "k8s_00539_section_2_10066"
  },
  {
    "question": "What is Update the version of the app?",
    "answer": "T o   l i s t   y o u r   D e p l o y m e n t s ,   r u n   t h e   g e t   d e p l o y m e n t s   s u b c o m m a n d :   k u b e c t l   g e t   d e p l o y m e n t s   T o   l i s t   t h e   r u n n i n g   P o d s ,   r u n   t h e   g e t   p o d s   s u b c o m m a n d :   k u b e c t l   g e t   p o d s   T o   v i e w   t h e   c u r r e n t   i m a g e   v e r s i o n   o f   t h e   a p p ,   r u n   t h e   d e s c r i b e   p o d s   s u b c o m m a n d   a n d   l o o k   f o r   t h e   I m a g e   f i e l d :   k u b e c t l   d e s c r i b e   p o d s   T o   u p d a t e   t h e   i m a g e   o f   t h e   a p p l i c a t i o n   t o   v e r s i o n   2 ,   u s e   t h e   s e t   i m a g e   s u b c o m m a n d ,   f o l l o w e d   b y   t h e   d e p l o y m e n t   n a m e   a n d   t h e   n e w   i m a g e   v e r s i o n :   k u b e c t l   s e t   i m a g e   d e p l o y m e n t s / k u b e r n e t e s - b o o t c a m p   k u b e r n e t e s - b o o t c a m p = d o c k e r . i o / j o c a t a l i n / k u b e r n e t e s - b o o t c a m p : v 2   T h e   c o m m a n d   n o t i f i e d   t h e   D e p l o y m e n t   t o   u s e   a   d i f f e r e n t   i m a g e   f o r   y o u r   a p p   a n d   i n i t i a t e d   a   r o l l i n g   u p d a t e .   C h e c k   t h e   s t a t u s   o f   t h e   n e w   P o d s ,   a n d   v i e w   t h e   o l d   o n e   t e r m i n a t i n g   w i t h   t h e   g e t   p o d s   s u b c o m m a n d :   k u b e c t l   g e t   p o d s",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/update/update-intro/",
    "id": "k8s_00539_section_3_10067"
  },
  {
    "question": "What is Verify an update?",
    "answer": "F i r s t ,   c h e c k   t h a t   t h e   s e r v i c e   i s   r u n n i n g ,   a s   y o u   m i g h t   h a v e   d e l e t e d   i t   i n   p r e v i o u s   t u t o r i a l   s t e p ,   r u n   d e s c r i b e   s e r v i c e s / k u b e r n e t e s - b o o t c a m p .   I f   i t ' s   m i s s i n g ,   y o u   c a n   c r e a t e   i t   a g a i n   w i t h :   k u b e c t l   e x p o s e   d e p l o y m e n t / k u b e r n e t e s - b o o t c a m p   - - t y p e = \" N o d e P o r t \"   - - p o r t   8 0 8 0   C r e a t e   a n   e n v i r o n m e n t   v a r i a b l e   c a l l e d   N O D E _ P O R T   t h a t   h a s   t h e   v a l u e   o f   t h e   N o d e   p o r t   a s s i g n e d :   e x p o r t   N O D E _ P O R T = \" $ ( k u b e c t l   g e t   s e r v i c e s / k u b e r n e t e s - b o o t c a m p   - o   g o - t e m p l a t e = ' { { ( i n d e x   . s p e c . p o r t s   0 ) . n o d e P o r t } } ' ) \"   e c h o   \" N O D E _ P O R T = $ N O D E _ P O R T \"   N e x t ,   d o   a   c u r l   t o   t h e   e x p o s e d   I P   a n d   p o r t :   c u r l   h t t p : / / \" $ ( m i n i k u b e   i p ) : $ N O D E _ P O R T \"   E v e r y   t i m e   y o u   r u n   t h e   c u r l   c o m m a n d ,   y o u   w i l l   h i t   a   d i f f e r e n t   P o d .   N o t i c e   t h a t   a l l   P o d s   a r e   n o w   r u n n i n g   t h e   l a t e s t   v e r s i o n   ( v 2 ) .   Y o u   c a n   a l s o   c o n f i r m   t h e   u p d a t e   b y   r u n n i n g   t h e   r o l l o u t   s t a t u s   s u b c o m m a n d :   k u b e c t l   r o l l o u t   s t a t u s   d e p l o y m e n t s / k u b e r n e t e s - b o o t c a m p   T o   v i e w   t h e   c u r r e n t   i m a g e   v e r s i o n   o f   t h e   a p p ,   r u n   t h e   d e s c r i b e   p o d s   s u b c o m m a n d :   k u b e c t l   d e s c r i b e   p o d s   I n   t h e   I m a g e   f i e l d   o f   t h e   o u t p u t ,   v e r i f y   t h a t   y o u   a r e   r ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/update/update-intro/",
    "id": "k8s_00539_section_3_10068"
  },
  {
    "question": "What is Roll back an update?",
    "answer": "L e t ’ s   p e r f o r m   a n o t h e r   u p d a t e ,   a n d   t r y   t o   d e p l o y   a n   i m a g e   t a g g e d   w i t h   v 1 0 :   k u b e c t l   s e t   i m a g e   d e p l o y m e n t s / k u b e r n e t e s - b o o t c a m p   k u b e r n e t e s - b o o t c a m p = g c r . i o / g o o g l e - s a m p l e s / k u b e r n e t e s - b o o t c a m p : v 1 0   U s e   g e t   d e p l o y m e n t s   t o   s e e   t h e   s t a t u s   o f   t h e   d e p l o y m e n t :   k u b e c t l   g e t   d e p l o y m e n t s   N o t i c e   t h a t   t h e   o u t p u t   d o e s n ' t   l i s t   t h e   d e s i r e d   n u m b e r   o f   a v a i l a b l e   P o d s .   R u n   t h e   g e t   p o d s   s u b c o m m a n d   t o   l i s t   a l l   P o d s :   k u b e c t l   g e t   p o d s   N o t i c e   t h a t   s o m e   o f   t h e   P o d s   h a v e   a   s t a t u s   o f   I m a g e P u l l B a c k O f f .   T o   g e t   m o r e   i n s i g h t   i n t o   t h e   p r o b l e m ,   r u n   t h e   d e s c r i b e   p o d s   s u b c o m m a n d :   k u b e c t l   d e s c r i b e   p o d s   I n   t h e   E v e n t s   s e c t i o n   o f   t h e   o u t p u t   f o r   t h e   a f f e c t e d   P o d s ,   n o t i c e   t h a t   t h e   v 1 0   i m a g e   v e r s i o n   d i d   n o t   e x i s t   i n   t h e   r e p o s i t o r y .   T o   r o l l   b a c k   t h e   d e p l o y m e n t   t o   y o u r   l a s t   w o r k i n g   v e r s i o n ,   u s e   t h e   r o l l o u t   u n d o   s u b c o m m a n d :   k u b e c t l   r o l l o u t   u n d o   d e p l o y m e n t s / k u b e r n e t e s - b o o t c a m p   T h e   r o l l o u t   u n d o   c o m m a n d   r e v e r t s   t h e   d e p l o y m e n t   t o   t h e   p r e v i o u s   k n o w n   s t a t e   ( v 2   o f   t h e   i m a g e ) .   U p d a t e s   a r e   v e r s i o n e d   a n d   y o u   c a n   r e v e r t   t o   a n y   p r e v i o u s l y   k n o w n   s t a t ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/update/update-intro/",
    "id": "k8s_00539_section_3_10069"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   D e p l o y m e n t s .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/update/update-intro/",
    "id": "k8s_00539_section_2_10070"
  },
  {
    "question": "What is Safely Drain a Node?",
    "answer": "Safely Drain a NodeThis page shows how to safely drain a node, optionally respecting the PodDisruptionBudget you have defined.Before you beginThis task assumes that you have met the following prerequisites:You do not require your applications to be highly available during the node drain, orYou have read about the PodDisruptionBudget concept, and have configured PodDisruptionBudgets for applications that need them.(Optional) Configure a disruption budgetTo ensure that your workloads remain available during maintenance, you can configure a PodDisruptionBudget.If availability is important for any applications that run or could run on the node(s) that you are draining, configure a PodDisruptionBudgets first and then continue following this guide.It is recommended to set AlwaysAllow Unhealthy Pod Eviction Policy to your PodDisruptionBudgets to support eviction of misbehaving applications during a node drain. The default behavior is to wait for the application pods to become healthy before the drain can proceed.Use kubectl drain to remove a node from serviceYou can use kubectl drain to safely evict all of your pods from a node before you perform maintenance on the node (e.g. kernel upgrade, hardware maintenance, etc.). Safe evictions allow the pod's containers to gracefully terminate and will respect the PodDisruptionBudgets you have specified.Note:By default kubectl drain ignores certain system pods on the node that cannot be killed; see the kubectl drain documentation for more details.When kubectl drain returns successfully, that indicates that all of the pods (except the ones excluded as described in the previous paragraph) have been safely evicted (respecting the desired graceful termination period, and respecting the PodDisruptionBudget you have defined). It is then safe to bring down the node by powering down its physical machine or, if running on a cloud platform, deleting its virtual machine.Note:If any new Pods tolerate the node.kubernetes.io/unschedulable taint, then those Pods might be scheduled to the node you have drained. Avoid tolerating that taint other than for DaemonSets.If you or another API user directly set the nodeName field for a Pod (bypassing the scheduler), then the Pod is bound to the specified node and will run there, even though you have drained that node and marked it unschedulable.First, identify the name of the node you wish to drain. You can list all of the nodes in your cluster withkubectl get nodes Next, tell Kubernetes to drain the node:kubectl drain --ignore-daemonsets <node name> If there are pods managed by a DaemonSet, you will need to specify --ignore-daemonsets with kubectl to successfully drain the node. The kubectl drain subcommand on its own does not actually drain a node of its DaemonSet pods: the DaemonSet controller (part of the control plane) immediately replaces missing Pods with new equivalent Pods. The DaemonSet controller also creates Pods that ignore unschedulable taints, which allows the new Pods t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/safely-drain-node/",
    "id": "k8s_00540_qa_10071"
  },
  {
    "question": "How does Safely Drain a Node work?",
    "answer": "Safely Drain a NodeThis page shows how to safely drain a node, optionally respecting the PodDisruptionBudget you have defined.Before you beginThis task assumes that you have met the following prerequisites:You do not require your applications to be highly available during the node drain, orYou have read about the PodDisruptionBudget concept, and have configured PodDisruptionBudgets for applications that need them.(Optional) Configure a disruption budgetTo ensure that your workloads remain available during maintenance, you can configure a PodDisruptionBudget.If availability is important for any applications that run or could run on the node(s) that you are draining, configure a PodDisruptionBudgets first and then continue following this guide.It is recommended to set AlwaysAllow Unhealthy Pod Eviction Policy to your PodDisruptionBudgets to support eviction of misbehaving applications during a node drain. The default behavior is to wait for the application pods to become healthy before the drain can proceed.Use kubectl drain to remove a node from serviceYou can use kubectl drain to safely evict all of your pods from a node before you perform maintenance on the node (e.g. kernel upgrade, hardware maintenance, etc.). Safe evictions allow the pod's containers to gracefully terminate and will respect the PodDisruptionBudgets you have specified.Note:By default kubectl drain ignores certain system pods on the node that cannot be killed; see the kubectl drain documentation for more details.When kubectl drain returns successfully, that indicates that all of the pods (except the ones excluded as described in the previous paragraph) have been safely evicted (respecting the desired graceful termination period, and respecting the PodDisruptionBudget you have defined). It is then safe to bring down the node by powering down its physical machine or, if running on a cloud platform, deleting its virtual machine.Note:If any new Pods tolerate the node.kubernetes.io/unschedulable taint, then those Pods might be scheduled to the node you have drained. Avoid tolerating that taint other than for DaemonSets.If you or another API user directly set the nodeName field for a Pod (bypassing the scheduler), then the Pod is bound to the specified node and will run there, even though you have drained that node and marked it unschedulable.First, identify the name of the node you wish to drain. You can list all of the nodes in your cluster withkubectl get nodes Next, tell Kubernetes to drain the node:kubectl drain --ignore-daemonsets <node name> If there are pods managed by a DaemonSet, you will need to specify --ignore-daemonsets with kubectl to successfully drain the node. The kubectl drain subcommand on its own does not actually drain a node of its DaemonSet pods: the DaemonSet controller (part of the control plane) immediately replaces missing Pods with new equivalent Pods. The DaemonSet controller also creates Pods that ignore unschedulable taints, which allows the new Pods t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/safely-drain-node/",
    "id": "k8s_00540_qa_10072"
  },
  {
    "question": "When would you use Safely Drain a Node?",
    "answer": "Safely Drain a NodeThis page shows how to safely drain a node, optionally respecting the PodDisruptionBudget you have defined.Before you beginThis task assumes that you have met the following prerequisites:You do not require your applications to be highly available during the node drain, orYou have read about the PodDisruptionBudget concept, and have configured PodDisruptionBudgets for applications that need them.(Optional) Configure a disruption budgetTo ensure that your workloads remain available during maintenance, you can configure a PodDisruptionBudget.If availability is important for any applications that run or could run on the node(s) that you are draining, configure a PodDisruptionBudgets first and then continue following this guide.It is recommended to set AlwaysAllow Unhealthy Pod Eviction Policy to your PodDisruptionBudgets to support eviction of misbehaving applications during a node drain. The default behavior is to wait for the application pods to become healthy before the drain can proceed.Use kubectl drain to remove a node from serviceYou can use kubectl drain to safely evict all of your pods from a node before you perform maintenance on the node (e.g. kernel upgrade, hardware maintenance, etc.). Safe evictions allow the pod's containers to gracefully terminate and will respect the PodDisruptionBudgets you have specified.Note:By default kubectl drain ignores certain system pods on the node that cannot be killed; see the kubectl drain documentation for more details.When kubectl drain returns successfully, that indicates that all of the pods (except the ones excluded as described in the previous paragraph) have been safely evicted (respecting the desired graceful termination period, and respecting the PodDisruptionBudget you have defined). It is then safe to bring down the node by powering down its physical machine or, if running on a cloud platform, deleting its virtual machine.Note:If any new Pods tolerate the node.kubernetes.io/unschedulable taint, then those Pods might be scheduled to the node you have drained. Avoid tolerating that taint other than for DaemonSets.If you or another API user directly set the nodeName field for a Pod (bypassing the scheduler), then the Pod is bound to the specified node and will run there, even though you have drained that node and marked it unschedulable.First, identify the name of the node you wish to drain. You can list all of the nodes in your cluster withkubectl get nodes Next, tell Kubernetes to drain the node:kubectl drain --ignore-daemonsets <node name> If there are pods managed by a DaemonSet, you will need to specify --ignore-daemonsets with kubectl to successfully drain the node. The kubectl drain subcommand on its own does not actually drain a node of its DaemonSet pods: the DaemonSet controller (part of the control plane) immediately replaces missing Pods with new equivalent Pods. The DaemonSet controller also creates Pods that ignore unschedulable taints, which allows the new Pods t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/safely-drain-node/",
    "id": "k8s_00540_qa_10073"
  },
  {
    "question": "What are the benefits of Safely Drain a Node?",
    "answer": "Safely Drain a NodeThis page shows how to safely drain a node, optionally respecting the PodDisruptionBudget you have defined.Before you beginThis task assumes that you have met the following prerequisites:You do not require your applications to be highly available during the node drain, orYou have read about the PodDisruptionBudget concept, and have configured PodDisruptionBudgets for applications that need them.(Optional) Configure a disruption budgetTo ensure that your workloads remain available during maintenance, you can configure a PodDisruptionBudget.If availability is important for any applications that run or could run on the node(s) that you are draining, configure a PodDisruptionBudgets first and then continue following this guide.It is recommended to set AlwaysAllow Unhealthy Pod Eviction Policy to your PodDisruptionBudgets to support eviction of misbehaving applications during a node drain. The default behavior is to wait for the application pods to become healthy before the drain can proceed.Use kubectl drain to remove a node from serviceYou can use kubectl drain to safely evict all of your pods from a node before you perform maintenance on the node (e.g. kernel upgrade, hardware maintenance, etc.). Safe evictions allow the pod's containers to gracefully terminate and will respect the PodDisruptionBudgets you have specified.Note:By default kubectl drain ignores certain system pods on the node that cannot be killed; see the kubectl drain documentation for more details.When kubectl drain returns successfully, that indicates that all of the pods (except the ones excluded as described in the previous paragraph) have been safely evicted (respecting the desired graceful termination period, and respecting the PodDisruptionBudget you have defined). It is then safe to bring down the node by powering down its physical machine or, if running on a cloud platform, deleting its virtual machine.Note:If any new Pods tolerate the node.kubernetes.io/unschedulable taint, then those Pods might be scheduled to the node you have drained. Avoid tolerating that taint other than for DaemonSets.If you or another API user directly set the nodeName field for a Pod (bypassing the scheduler), then the Pod is bound to the specified node and will run there, even though you have drained that node and marked it unschedulable.First, identify the name of the node you wish to drain. You can list all of the nodes in your cluster withkubectl get nodes Next, tell Kubernetes to drain the node:kubectl drain --ignore-daemonsets <node name> If there are pods managed by a DaemonSet, you will need to specify --ignore-daemonsets with kubectl to successfully drain the node. The kubectl drain subcommand on its own does not actually drain a node of its DaemonSet pods: the DaemonSet controller (part of the control plane) immediately replaces missing Pods with new equivalent Pods. The DaemonSet controller also creates Pods that ignore unschedulable taints, which allows the new Pods t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/safely-drain-node/",
    "id": "k8s_00540_qa_10074"
  },
  {
    "question": "What is Safely Drain a Node?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   s a f e l y   d r a i n   a   n o d e ,   o p t i o n a l l y   r e s p e c t i n g   t h e   P o d D i s r u p t i o n B u d g e t   y o u   h a v e   d e f i n e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/safely-drain-node/",
    "id": "k8s_00540_section_1_10075"
  },
  {
    "question": "What is Before you begin?",
    "answer": "T h i s   t a s k   a s s u m e s   t h a t   y o u   h a v e   m e t   t h e   f o l l o w i n g   p r e r e q u i s i t e s :   Y o u   d o   n o t   r e q u i r e   y o u r   a p p l i c a t i o n s   t o   b e   h i g h l y   a v a i l a b l e   d u r i n g   t h e   n o d e   d r a i n ,   o r Y o u   h a v e   r e a d   a b o u t   t h e   P o d D i s r u p t i o n B u d g e t   c o n c e p t ,   a n d   h a v e   c o n f i g u r e d   P o d D i s r u p t i o n B u d g e t s   f o r   a p p l i c a t i o n s   t h a t   n e e d   t h e m .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/safely-drain-node/",
    "id": "k8s_00540_section_2_10076"
  },
  {
    "question": "What is (Optional) Configure a disruption budget?",
    "answer": "T o   e n s u r e   t h a t   y o u r   w o r k l o a d s   r e m a i n   a v a i l a b l e   d u r i n g   m a i n t e n a n c e ,   y o u   c a n   c o n f i g u r e   a   P o d D i s r u p t i o n B u d g e t .   I f   a v a i l a b i l i t y   i s   i m p o r t a n t   f o r   a n y   a p p l i c a t i o n s   t h a t   r u n   o r   c o u l d   r u n   o n   t h e   n o d e ( s )   t h a t   y o u   a r e   d r a i n i n g ,   c o n f i g u r e   a   P o d D i s r u p t i o n B u d g e t s   f i r s t   a n d   t h e n   c o n t i n u e   f o l l o w i n g   t h i s   g u i d e .   I t   i s   r e c o m m e n d e d   t o   s e t   A l w a y s A l l o w   U n h e a l t h y   P o d   E v i c t i o n   P o l i c y   t o   y o u r   P o d D i s r u p t i o n B u d g e t s   t o   s u p p o r t   e v i c t i o n   o f   m i s b e h a v i n g   a p p l i c a t i o n s   d u r i n g   a   n o d e   d r a i n .   T h e   d e f a u l t   b e h a v i o r   i s   t o   w a i t   f o r   t h e   a p p l i c a t i o n   p o d s   t o   b e c o m e   h e a l t h y   b e f o r e   t h e   d r a i n   c a n   p r o c e e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/safely-drain-node/",
    "id": "k8s_00540_section_2_10077"
  },
  {
    "question": "What is Use kubectl drain to remove a node from service?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   d r a i n   t o   s a f e l y   e v i c t   a l l   o f   y o u r   p o d s   f r o m   a   n o d e   b e f o r e   y o u   p e r f o r m   m a i n t e n a n c e   o n   t h e   n o d e   ( e . g .   k e r n e l   u p g r a d e ,   h a r d w a r e   m a i n t e n a n c e ,   e t c . ) .   S a f e   e v i c t i o n s   a l l o w   t h e   p o d ' s   c o n t a i n e r s   t o   g r a c e f u l l y   t e r m i n a t e   a n d   w i l l   r e s p e c t   t h e   P o d D i s r u p t i o n B u d g e t s   y o u   h a v e   s p e c i f i e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/safely-drain-node/",
    "id": "k8s_00540_section_2_10078"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   k u b e c t l   d r a i n   r e t u r n s   s u c c e s s f u l l y ,   t h a t   i n d i c a t e s   t h a t   a l l   o f   t h e   p o d s   ( e x c e p t   t h e   o n e s   e x c l u d e d   a s   d e s c r i b e d   i n   t h e   p r e v i o u s   p a r a g r a p h )   h a v e   b e e n   s a f e l y   e v i c t e d   ( r e s p e c t i n g   t h e   d e s i r e d   g r a c e f u l   t e r m i n a t i o n   p e r i o d ,   a n d   r e s p e c t i n g   t h e   P o d D i s r u p t i o n B u d g e t   y o u   h a v e   d e f i n e d ) .   I t   i s   t h e n   s a f e   t o   b r i n g   d o w n   t h e   n o d e   b y   p o w e r i n g   d o w n   i t s   p h y s i c a l   m a c h i n e   o r ,   i f   r u n n i n g   o n   a   c l o u d   p l a t f o r m ,   d e l e t i n g   i t s   v i r t u a l   m a c h i n e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/safely-drain-node/",
    "id": "k8s_00540_section_4_10079"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   a n y   n e w   P o d s   t o l e r a t e   t h e   n o d e . k u b e r n e t e s . i o / u n s c h e d u l a b l e   t a i n t ,   t h e n   t h o s e   P o d s   m i g h t   b e   s c h e d u l e d   t o   t h e   n o d e   y o u   h a v e   d r a i n e d .   A v o i d   t o l e r a t i n g   t h a t   t a i n t   o t h e r   t h a n   f o r   D a e m o n S e t s .   I f   y o u   o r   a n o t h e r   A P I   u s e r   d i r e c t l y   s e t   t h e   n o d e N a m e   f i e l d   f o r   a   P o d   ( b y p a s s i n g   t h e   s c h e d u l e r ) ,   t h e n   t h e   P o d   i s   b o u n d   t o   t h e   s p e c i f i e d   n o d e   a n d   w i l l   r u n   t h e r e ,   e v e n   t h o u g h   y o u   h a v e   d r a i n e d   t h a t   n o d e   a n d   m a r k e d   i t   u n s c h e d u l a b l e .   F i r s t ,   i d e n t i f y   t h e   n a m e   o f   t h e   n o d e   y o u   w i s h   t o   d r a i n .   Y o u   c a n   l i s t   a l l   o f   t h e   n o d e s   i n   y o u r   c l u s t e r   w i t h   k u b e c t l   g e t   n o d e s   N e x t ,   t e l l   K u b e r n e t e s   t o   d r a i n   t h e   n o d e :   k u b e c t l   d r a i n   - - i g n o r e - d a e m o n s e t s   < n o d e   n a m e >   I f   t h e r e   a r e   p o d s   m a n a g e d   b y   a   D a e m o n S e t ,   y o u   w i l l   n e e d   t o   s p e c i f y   - - i g n o r e - d a e m o n s e t s   w i t h   k u b e c t l   t o   s u c c e s s f u l l y   d r a i n   t h e   n o d e .   T h e   k u b e c t l   d r a i n   s u b c o m m a n d   o n   i t s   o w n   d o e s   n o t   a c t u a l l y   d r a i n   a   n o d e   o f   i t s   D a e m o n S e t   p o d s :   t h e   D a e m o n S e t   c o n t r o l l e r   ( p a r t   o f   t h e   c o n t r o l   p l a n e )   i m m e d i a t e l y   r e p l a c e s   m i s s i n g   P o d s   w i t h   n e w   e q u i v a l e n t   P o d s .   T h e   D a e m o n S e t   c o n t r o l l e r   a l s o   c r ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/safely-drain-node/",
    "id": "k8s_00540_section_4_10080"
  },
  {
    "question": "What is Draining multiple nodes in parallel?",
    "answer": "T h e   k u b e c t l   d r a i n   c o m m a n d   s h o u l d   o n l y   b e   i s s u e d   t o   a   s i n g l e   n o d e   a t   a   t i m e .   H o w e v e r ,   y o u   c a n   r u n   m u l t i p l e   k u b e c t l   d r a i n   c o m m a n d s   f o r   d i f f e r e n t   n o d e s   i n   p a r a l l e l ,   i n   d i f f e r e n t   t e r m i n a l s   o r   i n   t h e   b a c k g r o u n d .   M u l t i p l e   d r a i n   c o m m a n d s   r u n n i n g   c o n c u r r e n t l y   w i l l   s t i l l   r e s p e c t   t h e   P o d D i s r u p t i o n B u d g e t   y o u   s p e c i f y .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   S t a t e f u l S e t   w i t h   t h r e e   r e p l i c a s   a n d   h a v e   s e t   a   P o d D i s r u p t i o n B u d g e t   f o r   t h a t   s e t   s p e c i f y i n g   m i n A v a i l a b l e :   2 ,   k u b e c t l   d r a i n   o n l y   e v i c t s   a   p o d   f r o m   t h e   S t a t e f u l S e t   i f   a l l   t h r e e   r e p l i c a s   p o d s   a r e   h e a l t h y ;   i f   t h e n   y o u   i s s u e   m u l t i p l e   d r a i n   c o m m a n d s   i n   p a r a l l e l ,   K u b e r n e t e s   r e s p e c t s   t h e   P o d D i s r u p t i o n B u d g e t   a n d   e n s u r e s   t h a t   o n l y   1   ( c a l c u l a t e d   a s   r e p l i c a s   -   m i n A v a i l a b l e )   P o d   i s   u n a v a i l a b l e   a t   a n y   g i v e n   t i m e .   A n y   d r a i n s   t h a t   w o u l d   c a u s e   t h e   n u m b e r   o f   h e a l t h y   r e p l i c a s   t o   f a l l   b e l o w   t h e   s p e c i f i e d   b u d g e t   a r e   b l o c k e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/safely-drain-node/",
    "id": "k8s_00540_section_2_10081"
  },
  {
    "question": "What is The Eviction API?",
    "answer": "I f   y o u   p r e f e r   n o t   t o   u s e   k u b e c t l   d r a i n   ( s u c h   a s   t o   a v o i d   c a l l i n g   t o   a n   e x t e r n a l   c o m m a n d ,   o r   t o   g e t   f i n e r   c o n t r o l   o v e r   t h e   p o d   e v i c t i o n   p r o c e s s ) ,   y o u   c a n   a l s o   p r o g r a m m a t i c a l l y   c a u s e   e v i c t i o n s   u s i n g   t h e   e v i c t i o n   A P I .   F o r   m o r e   i n f o r m a t i o n ,   s e e   A P I - i n i t i a t e d   e v i c t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/safely-drain-node/",
    "id": "k8s_00540_section_2_10082"
  },
  {
    "question": "What is What's next?",
    "answer": "F o l l o w   s t e p s   t o   p r o t e c t   y o u r   a p p l i c a t i o n   b y   c o n f i g u r i n g   a   P o d   D i s r u p t i o n   B u d g e t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/safely-drain-node/",
    "id": "k8s_00540_section_2_10083"
  },
  {
    "question": "What is Understand Pressure Stall Information (PSI) Metrics?",
    "answer": "Understand Pressure Stall Information (PSI) MetricsDetailed explanation of Pressure Stall Information (PSI) metrics and how to use them to identify resource pressure in Kubernetes.FEATURE STATE: Kubernetes v1.34 [beta]As a beta feature, Kubernetes lets you configure the kubelet to collect Linux kernel Pressure Stall Information (PSI) for CPU, memory, and I/O usage. The information is collected at node, pod and container level. This feature is enabled by default by setting the KubeletPSI feature gate.PSI metrics are exposed through two different sources:The kubelet's Summary API, which provides PSI data at the node, pod, and container level.The /metrics/cadvisor endpoint on the kubelet, which exposes PSI metrics in the Prometheus format.RequirementsPressure Stall Information requires the following on your Linux nodes:The Linux kernel must be version 4.20 or newer.The kernel must be compiled with the CONFIG_PSI=y option. Most modern distributions enable this by default. You can check your kernel's configuration by running zgrep CONFIG_PSI /proc/config.gz.Some Linux distributions may compile PSI into the kernel but disable it by default. If so, you need to enable it at boot time by adding the psi=1 parameter to the kernel command line.The node must be using cgroup v2.Understanding PSI MetricsPressure Stall Information (PSI) metrics are provided for three resources: CPU, memory, and I/O. They are categorized into two main types of pressure: some and full.some: This value indicates that some tasks (one or more) are stalled on a resource. For example, if some tasks are waiting for I/O, this metric will increase. This can be an early indicator of resource contention.full: This value indicates that all non-idle tasks are stalled on a resource simultaneously. This signifies a more severe resource shortage, where the entire system is unable to make progress.Each pressure type provides four metrics: avg10, avg60, avg300, and total. The avg values represent the percentage of wall-clock time that tasks were stalled over 10-second, 60-second, and 3-minute moving averages. The total value is a cumulative counter in microseconds showing the total time tasks have been stalled.Example ScenariosYou can use a simple Pod with a stress-testing tool to generate resource pressure and observe the PSI metrics. The following examples use the agnhost container image, which includes the stress tool.Generating CPU PressureCreate a Pod that generates CPU pressure using the stress utility. This workload will put a heavy load on one CPU core.Create a file named cpu-pressure-pod.yaml:apiVersion: v1 kind: Pod metadata: name: cpu-pressure-pod spec: restartPolicy: Never containers: - name: cpu-stress image: registry.k8s.io/e2e-test-images/agnhost:2.47 args: - \"stress\" - \"--cpus\" - \"1\" resources: limits: cpu: \"500m\" requests: cpu: \"500m\" Apply it to your cluster: kubectl apply -f cpu-pressure-pod.yamlObserving CPU PressureAfter the Pod is running, you can observe the CPU pressure thr",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/understand-psi-metrics/",
    "id": "k8s_00541_qa_10084"
  },
  {
    "question": "How does Understand Pressure Stall Information (PSI) Metrics work?",
    "answer": "Understand Pressure Stall Information (PSI) MetricsDetailed explanation of Pressure Stall Information (PSI) metrics and how to use them to identify resource pressure in Kubernetes.FEATURE STATE: Kubernetes v1.34 [beta]As a beta feature, Kubernetes lets you configure the kubelet to collect Linux kernel Pressure Stall Information (PSI) for CPU, memory, and I/O usage. The information is collected at node, pod and container level. This feature is enabled by default by setting the KubeletPSI feature gate.PSI metrics are exposed through two different sources:The kubelet's Summary API, which provides PSI data at the node, pod, and container level.The /metrics/cadvisor endpoint on the kubelet, which exposes PSI metrics in the Prometheus format.RequirementsPressure Stall Information requires the following on your Linux nodes:The Linux kernel must be version 4.20 or newer.The kernel must be compiled with the CONFIG_PSI=y option. Most modern distributions enable this by default. You can check your kernel's configuration by running zgrep CONFIG_PSI /proc/config.gz.Some Linux distributions may compile PSI into the kernel but disable it by default. If so, you need to enable it at boot time by adding the psi=1 parameter to the kernel command line.The node must be using cgroup v2.Understanding PSI MetricsPressure Stall Information (PSI) metrics are provided for three resources: CPU, memory, and I/O. They are categorized into two main types of pressure: some and full.some: This value indicates that some tasks (one or more) are stalled on a resource. For example, if some tasks are waiting for I/O, this metric will increase. This can be an early indicator of resource contention.full: This value indicates that all non-idle tasks are stalled on a resource simultaneously. This signifies a more severe resource shortage, where the entire system is unable to make progress.Each pressure type provides four metrics: avg10, avg60, avg300, and total. The avg values represent the percentage of wall-clock time that tasks were stalled over 10-second, 60-second, and 3-minute moving averages. The total value is a cumulative counter in microseconds showing the total time tasks have been stalled.Example ScenariosYou can use a simple Pod with a stress-testing tool to generate resource pressure and observe the PSI metrics. The following examples use the agnhost container image, which includes the stress tool.Generating CPU PressureCreate a Pod that generates CPU pressure using the stress utility. This workload will put a heavy load on one CPU core.Create a file named cpu-pressure-pod.yaml:apiVersion: v1 kind: Pod metadata: name: cpu-pressure-pod spec: restartPolicy: Never containers: - name: cpu-stress image: registry.k8s.io/e2e-test-images/agnhost:2.47 args: - \"stress\" - \"--cpus\" - \"1\" resources: limits: cpu: \"500m\" requests: cpu: \"500m\" Apply it to your cluster: kubectl apply -f cpu-pressure-pod.yamlObserving CPU PressureAfter the Pod is running, you can observe the CPU pressure thr",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/understand-psi-metrics/",
    "id": "k8s_00541_qa_10085"
  },
  {
    "question": "When would you use Understand Pressure Stall Information (PSI) Metrics?",
    "answer": "Understand Pressure Stall Information (PSI) MetricsDetailed explanation of Pressure Stall Information (PSI) metrics and how to use them to identify resource pressure in Kubernetes.FEATURE STATE: Kubernetes v1.34 [beta]As a beta feature, Kubernetes lets you configure the kubelet to collect Linux kernel Pressure Stall Information (PSI) for CPU, memory, and I/O usage. The information is collected at node, pod and container level. This feature is enabled by default by setting the KubeletPSI feature gate.PSI metrics are exposed through two different sources:The kubelet's Summary API, which provides PSI data at the node, pod, and container level.The /metrics/cadvisor endpoint on the kubelet, which exposes PSI metrics in the Prometheus format.RequirementsPressure Stall Information requires the following on your Linux nodes:The Linux kernel must be version 4.20 or newer.The kernel must be compiled with the CONFIG_PSI=y option. Most modern distributions enable this by default. You can check your kernel's configuration by running zgrep CONFIG_PSI /proc/config.gz.Some Linux distributions may compile PSI into the kernel but disable it by default. If so, you need to enable it at boot time by adding the psi=1 parameter to the kernel command line.The node must be using cgroup v2.Understanding PSI MetricsPressure Stall Information (PSI) metrics are provided for three resources: CPU, memory, and I/O. They are categorized into two main types of pressure: some and full.some: This value indicates that some tasks (one or more) are stalled on a resource. For example, if some tasks are waiting for I/O, this metric will increase. This can be an early indicator of resource contention.full: This value indicates that all non-idle tasks are stalled on a resource simultaneously. This signifies a more severe resource shortage, where the entire system is unable to make progress.Each pressure type provides four metrics: avg10, avg60, avg300, and total. The avg values represent the percentage of wall-clock time that tasks were stalled over 10-second, 60-second, and 3-minute moving averages. The total value is a cumulative counter in microseconds showing the total time tasks have been stalled.Example ScenariosYou can use a simple Pod with a stress-testing tool to generate resource pressure and observe the PSI metrics. The following examples use the agnhost container image, which includes the stress tool.Generating CPU PressureCreate a Pod that generates CPU pressure using the stress utility. This workload will put a heavy load on one CPU core.Create a file named cpu-pressure-pod.yaml:apiVersion: v1 kind: Pod metadata: name: cpu-pressure-pod spec: restartPolicy: Never containers: - name: cpu-stress image: registry.k8s.io/e2e-test-images/agnhost:2.47 args: - \"stress\" - \"--cpus\" - \"1\" resources: limits: cpu: \"500m\" requests: cpu: \"500m\" Apply it to your cluster: kubectl apply -f cpu-pressure-pod.yamlObserving CPU PressureAfter the Pod is running, you can observe the CPU pressure thr",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/understand-psi-metrics/",
    "id": "k8s_00541_qa_10086"
  },
  {
    "question": "What are the benefits of Understand Pressure Stall Information (PSI) Metrics?",
    "answer": "Understand Pressure Stall Information (PSI) MetricsDetailed explanation of Pressure Stall Information (PSI) metrics and how to use them to identify resource pressure in Kubernetes.FEATURE STATE: Kubernetes v1.34 [beta]As a beta feature, Kubernetes lets you configure the kubelet to collect Linux kernel Pressure Stall Information (PSI) for CPU, memory, and I/O usage. The information is collected at node, pod and container level. This feature is enabled by default by setting the KubeletPSI feature gate.PSI metrics are exposed through two different sources:The kubelet's Summary API, which provides PSI data at the node, pod, and container level.The /metrics/cadvisor endpoint on the kubelet, which exposes PSI metrics in the Prometheus format.RequirementsPressure Stall Information requires the following on your Linux nodes:The Linux kernel must be version 4.20 or newer.The kernel must be compiled with the CONFIG_PSI=y option. Most modern distributions enable this by default. You can check your kernel's configuration by running zgrep CONFIG_PSI /proc/config.gz.Some Linux distributions may compile PSI into the kernel but disable it by default. If so, you need to enable it at boot time by adding the psi=1 parameter to the kernel command line.The node must be using cgroup v2.Understanding PSI MetricsPressure Stall Information (PSI) metrics are provided for three resources: CPU, memory, and I/O. They are categorized into two main types of pressure: some and full.some: This value indicates that some tasks (one or more) are stalled on a resource. For example, if some tasks are waiting for I/O, this metric will increase. This can be an early indicator of resource contention.full: This value indicates that all non-idle tasks are stalled on a resource simultaneously. This signifies a more severe resource shortage, where the entire system is unable to make progress.Each pressure type provides four metrics: avg10, avg60, avg300, and total. The avg values represent the percentage of wall-clock time that tasks were stalled over 10-second, 60-second, and 3-minute moving averages. The total value is a cumulative counter in microseconds showing the total time tasks have been stalled.Example ScenariosYou can use a simple Pod with a stress-testing tool to generate resource pressure and observe the PSI metrics. The following examples use the agnhost container image, which includes the stress tool.Generating CPU PressureCreate a Pod that generates CPU pressure using the stress utility. This workload will put a heavy load on one CPU core.Create a file named cpu-pressure-pod.yaml:apiVersion: v1 kind: Pod metadata: name: cpu-pressure-pod spec: restartPolicy: Never containers: - name: cpu-stress image: registry.k8s.io/e2e-test-images/agnhost:2.47 args: - \"stress\" - \"--cpus\" - \"1\" resources: limits: cpu: \"500m\" requests: cpu: \"500m\" Apply it to your cluster: kubectl apply -f cpu-pressure-pod.yamlObserving CPU PressureAfter the Pod is running, you can observe the CPU pressure thr",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/understand-psi-metrics/",
    "id": "k8s_00541_qa_10087"
  },
  {
    "question": "What is Understand Pressure Stall Information (PSI) Metrics?",
    "answer": "A s   a   b e t a   f e a t u r e ,   K u b e r n e t e s   l e t s   y o u   c o n f i g u r e   t h e   k u b e l e t   t o   c o l l e c t   L i n u x   k e r n e l   P r e s s u r e   S t a l l   I n f o r m a t i o n   ( P S I )   f o r   C P U ,   m e m o r y ,   a n d   I / O   u s a g e .   T h e   i n f o r m a t i o n   i s   c o l l e c t e d   a t   n o d e ,   p o d   a n d   c o n t a i n e r   l e v e l .   T h i s   f e a t u r e   i s   e n a b l e d   b y   d e f a u l t   b y   s e t t i n g   t h e   K u b e l e t P S I   f e a t u r e   g a t e .   P S I   m e t r i c s   a r e   e x p o s e d   t h r o u g h   t w o   d i f f e r e n t   s o u r c e s :   T h e   k u b e l e t ' s   S u m m a r y   A P I ,   w h i c h   p r o v i d e s   P S I   d a t a   a t   t h e   n o d e ,   p o d ,   a n d   c o n t a i n e r   l e v e l . T h e   / m e t r i c s / c a d v i s o r   e n d p o i n t   o n   t h e   k u b e l e t ,   w h i c h   e x p o s e s   P S I   m e t r i c s   i n   t h e   P r o m e t h e u s   f o r m a t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/understand-psi-metrics/",
    "id": "k8s_00541_section_1_10088"
  },
  {
    "question": "What is Requirements?",
    "answer": "P r e s s u r e   S t a l l   I n f o r m a t i o n   r e q u i r e s   t h e   f o l l o w i n g   o n   y o u r   L i n u x   n o d e s :   T h e   L i n u x   k e r n e l   m u s t   b e   v e r s i o n   4 . 2 0   o r   n e w e r . T h e   k e r n e l   m u s t   b e   c o m p i l e d   w i t h   t h e   C O N F I G _ P S I = y   o p t i o n .   M o s t   m o d e r n   d i s t r i b u t i o n s   e n a b l e   t h i s   b y   d e f a u l t .   Y o u   c a n   c h e c k   y o u r   k e r n e l ' s   c o n f i g u r a t i o n   b y   r u n n i n g   z g r e p   C O N F I G _ P S I   / p r o c / c o n f i g . g z . S o m e   L i n u x   d i s t r i b u t i o n s   m a y   c o m p i l e   P S I   i n t o   t h e   k e r n e l   b u t   d i s a b l e   i t   b y   d e f a u l t .   I f   s o ,   y o u   n e e d   t o   e n a b l e   i t   a t   b o o t   t i m e   b y   a d d i n g   t h e   p s i = 1   p a r a m e t e r   t o   t h e   k e r n e l   c o m m a n d   l i n e . T h e   n o d e   m u s t   b e   u s i n g   c g r o u p   v 2 .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/understand-psi-metrics/",
    "id": "k8s_00541_section_3_10089"
  },
  {
    "question": "What is Understanding PSI Metrics?",
    "answer": "P r e s s u r e   S t a l l   I n f o r m a t i o n   ( P S I )   m e t r i c s   a r e   p r o v i d e d   f o r   t h r e e   r e s o u r c e s :   C P U ,   m e m o r y ,   a n d   I / O .   T h e y   a r e   c a t e g o r i z e d   i n t o   t w o   m a i n   t y p e s   o f   p r e s s u r e :   s o m e   a n d   f u l l .   s o m e :   T h i s   v a l u e   i n d i c a t e s   t h a t   s o m e   t a s k s   ( o n e   o r   m o r e )   a r e   s t a l l e d   o n   a   r e s o u r c e .   F o r   e x a m p l e ,   i f   s o m e   t a s k s   a r e   w a i t i n g   f o r   I / O ,   t h i s   m e t r i c   w i l l   i n c r e a s e .   T h i s   c a n   b e   a n   e a r l y   i n d i c a t o r   o f   r e s o u r c e   c o n t e n t i o n . f u l l :   T h i s   v a l u e   i n d i c a t e s   t h a t   a l l   n o n - i d l e   t a s k s   a r e   s t a l l e d   o n   a   r e s o u r c e   s i m u l t a n e o u s l y .   T h i s   s i g n i f i e s   a   m o r e   s e v e r e   r e s o u r c e   s h o r t a g e ,   w h e r e   t h e   e n t i r e   s y s t e m   i s   u n a b l e   t o   m a k e   p r o g r e s s .   E a c h   p r e s s u r e   t y p e   p r o v i d e s   f o u r   m e t r i c s :   a v g 1 0 ,   a v g 6 0 ,   a v g 3 0 0 ,   a n d   t o t a l .   T h e   a v g   v a l u e s   r e p r e s e n t   t h e   p e r c e n t a g e   o f   w a l l - c l o c k   t i m e   t h a t   t a s k s   w e r e   s t a l l e d   o v e r   1 0 - s e c o n d ,   6 0 - s e c o n d ,   a n d   3 - m i n u t e   m o v i n g   a v e r a g e s .   T h e   t o t a l   v a l u e   i s   a   c u m u l a t i v e   c o u n t e r   i n   m i c r o s e c o n d s   s h o w i n g   t h e   t o t a l   t i m e   t a s k s   h a v e   b e e n   s t a l l e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/understand-psi-metrics/",
    "id": "k8s_00541_section_2_10090"
  },
  {
    "question": "What is Example Scenarios?",
    "answer": "Y o u   c a n   u s e   a   s i m p l e   P o d   w i t h   a   s t r e s s - t e s t i n g   t o o l   t o   g e n e r a t e   r e s o u r c e   p r e s s u r e   a n d   o b s e r v e   t h e   P S I   m e t r i c s .   T h e   f o l l o w i n g   e x a m p l e s   u s e   t h e   a g n h o s t   c o n t a i n e r   i m a g e ,   w h i c h   i n c l u d e s   t h e   s t r e s s   t o o l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/understand-psi-metrics/",
    "id": "k8s_00541_section_2_10091"
  },
  {
    "question": "What is Generating CPU Pressure?",
    "answer": "C r e a t e   a   P o d   t h a t   g e n e r a t e s   C P U   p r e s s u r e   u s i n g   t h e   s t r e s s   u t i l i t y .   T h i s   w o r k l o a d   w i l l   p u t   a   h e a v y   l o a d   o n   o n e   C P U   c o r e .   C r e a t e   a   f i l e   n a m e d   c p u - p r e s s u r e - p o d . y a m l :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c p u - p r e s s u r e - p o d   s p e c :   r e s t a r t P o l i c y :   N e v e r   c o n t a i n e r s :   -   n a m e :   c p u - s t r e s s   i m a g e :   r e g i s t r y . k 8 s . i o / e 2 e - t e s t - i m a g e s / a g n h o s t : 2 . 4 7   a r g s :   -   \" s t r e s s \"   -   \" - - c p u s \"   -   \" 1 \"   r e s o u r c e s :   l i m i t s :   c p u :   \" 5 0 0 m \"   r e q u e s t s :   c p u :   \" 5 0 0 m \"   A p p l y   i t   t o   y o u r   c l u s t e r :   k u b e c t l   a p p l y   - f   c p u - p r e s s u r e - p o d . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/understand-psi-metrics/",
    "id": "k8s_00541_section_3_10092"
  },
  {
    "question": "What is Observing CPU Pressure?",
    "answer": "A f t e r   t h e   P o d   i s   r u n n i n g ,   y o u   c a n   o b s e r v e   t h e   C P U   p r e s s u r e   t h r o u g h   e i t h e r   t h e   S u m m a r y   A P I   o r   t h e   P r o m e t h e u s   m e t r i c s   e n d p o i n t .   U s i n g   t h e   S u m m a r y   A P I :   W a t c h   t h e   s u m m a r y   s t a t s   f o r   y o u r   n o d e .   I n   a   s e p a r a t e   t e r m i n a l ,   r u n :   #   R e p l a c e   < n o d e - n a m e >   w i t h   t h e   n a m e   o f   a   n o d e   i n   y o u r   c l u s t e r   k u b e c t l   g e t   - - r a w   \" / a p i / v 1 / n o d e s / < n o d e - n a m e > / p r o x y / s t a t s / s u m m a r y \"   |   j q   ' . p o d s [ ]   |   s e l e c t ( . p o d R e f . n a m e   |   c o n t a i n s ( \" c p u - p r e s s u r e - p o d \" ) ) '   Y o u   w i l l   s e e   t h e   s o m e   P S I   m e t r i c s   f o r   C P U   i n c r e a s e   i n   t h e   s u m m a r y   A P I   o u t p u t .   T h e   a v g 1 0   v a l u e   f o r   s o m e   p r e s s u r e   s h o u l d   r i s e   a b o v e   z e r o ,   i n d i c a t i n g   t h a t   t a s k s   a r e   s p e n d i n g   t i m e   s t a l l e d   o n   t h e   C P U .   U s i n g   t h e   P r o m e t h e u s   m e t r i c s   e n d p o i n t :   Q u e r y   t h e   / m e t r i c s / c a d v i s o r   e n d p o i n t   t o   s e e   t h e   c o n t a i n e r _ p r e s s u r e _ c p u _ w a i t i n g _ s e c o n d s _ t o t a l   m e t r i c .   #   R e p l a c e   < n o d e - n a m e >   w i t h   t h e   n a m e   o f   t h e   n o d e   w h e r e   t h e   p o d   i s   r u n n i n g   k u b e c t l   g e t   - - r a w   \" / a p i / v 1 / n o d e s / < n o d e - n a m e > / p r o x y / m e t r i c s / c a d v i s o r \"   |   \\   g r e p   ' c o n t a i n e r _ p r e s s u r e _ c p u _ w a i t i n g _ s e c o n d s _ t o t a l { c o n t a i n e r = \" c p u - s t r e s s \" '   T h e   o u t p u t   s h o u l d   s h o w   a n   i n c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/understand-psi-metrics/",
    "id": "k8s_00541_section_4_10093"
  },
  {
    "question": "What is Cleanup?",
    "answer": "C l e a n   u p   t h e   P o d   w h e n   y o u   a r e   f i n i s h e d :   k u b e c t l   d e l e t e   p o d   c p u - p r e s s u r e - p o d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/understand-psi-metrics/",
    "id": "k8s_00541_section_4_10094"
  },
  {
    "question": "What is Generating Memory Pressure?",
    "answer": "T h i s   e x a m p l e   c r e a t e s   a   P o d   t h a t   c o n t i n u o u s l y   w r i t e s   t o   f i l e s   i n   t h e   c o n t a i n e r ' s   w r i t a b l e   l a y e r ,   c a u s i n g   t h e   k e r n e l ' s   p a g e   c a c h e   t o   g r o w   a n d   f o r c i n g   m e m o r y   r e c l a m a t i o n ,   w h i c h   g e n e r a t e s   p r e s s u r e .   C r e a t e   a   f i l e   n a m e d   m e m o r y - p r e s s u r e - p o d . y a m l :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m e m o r y - p r e s s u r e - p o d   s p e c :   r e s t a r t P o l i c y :   N e v e r   c o n t a i n e r s :   -   n a m e :   m e m o r y - s t r e s s   i m a g e :   r e g i s t r y . k 8 s . i o / e 2 e - t e s t - i m a g e s / a g n h o s t : 2 . 4 7   c o m m a n d :   [ \" / b i n / s h \" ,   \" - c \" ]   a r g s :   -   \" i = 0 ;   w h i l e   t r u e ;   d o   d d   i f = / d e v / z e r o   o f = t e s t f i l e . $ i   b s = 1 M   c o u n t = 5 0   & > / d e v / n u l l ;   i = $ ( ( ( i + 1 ) % 5 ) ) ;   s l e e p   0 . 1 ;   d o n e \"   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 2 0 0 M \"   r e q u e s t s :   m e m o r y :   \" 2 0 0 M \"   A p p l y   i t   t o   y o u r   c l u s t e r :   k u b e c t l   a p p l y   - f   m e m o r y - p r e s s u r e - p o d . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/understand-psi-metrics/",
    "id": "k8s_00541_section_3_10095"
  },
  {
    "question": "What is Observing Memory Pressure?",
    "answer": "U s i n g   t h e   S u m m a r y   A P I :   I n   t h e   s u m m a r y   o u t p u t ,   y o u   w i l l   o b s e r v e   a n   i n c r e a s e   i n   t h e   f u l l   P S I   m e t r i c s   f o r   m e m o r y ,   i n d i c a t i n g   t h a t   t h e   s y s t e m   i s   u n d e r   s i g n i f i c a n t   m e m o r y   p r e s s u r e .   #   R e p l a c e   < n o d e - n a m e >   w i t h   t h e   n a m e   o f   a   n o d e   i n   y o u r   c l u s t e r   k u b e c t l   g e t   - - r a w   \" / a p i / v 1 / n o d e s / < n o d e - n a m e > / p r o x y / s t a t s / s u m m a r y \"   |   j q   ' . p o d s [ ]   |   s e l e c t ( . p o d R e f . n a m e   |   c o n t a i n s ( \" m e m o r y - p r e s s u r e - p o d \" ) ) '   U s i n g   t h e   P r o m e t h e u s   m e t r i c s   e n d p o i n t :   Q u e r y   t h e   / m e t r i c s / c a d v i s o r   e n d p o i n t   t o   s e e   t h e   c o n t a i n e r _ p r e s s u r e _ m e m o r y _ w a i t i n g _ s e c o n d s _ t o t a l   m e t r i c .   #   R e p l a c e   < n o d e - n a m e >   w i t h   t h e   n a m e   o f   t h e   n o d e   w h e r e   t h e   p o d   i s   r u n n i n g   k u b e c t l   g e t   - - r a w   \" / a p i / v 1 / n o d e s / < n o d e - n a m e > / p r o x y / m e t r i c s / c a d v i s o r \"   |   \\   g r e p   ' c o n t a i n e r _ p r e s s u r e _ m e m o r y _ w a i t i n g _ s e c o n d s _ t o t a l { c o n t a i n e r = \" m e m o r y - s t r e s s \" '   I n   t h e   o u t p u t ,   y o u   w i l l   o b s e r v e   a n   i n c r e a s i n g   v a l u e   f o r   t h e   m e t r i c ,   i n d i c a t i n g   t h a t   t h e   s y s t e m   i s   u n d e r   s i g n i f i c a n t   m e m o r y   p r e s s u r e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/understand-psi-metrics/",
    "id": "k8s_00541_section_4_10096"
  },
  {
    "question": "What is Cleanup?",
    "answer": "C l e a n   u p   t h e   P o d   w h e n   y o u   a r e   f i n i s h e d :   k u b e c t l   d e l e t e   p o d   m e m o r y - p r e s s u r e - p o d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/understand-psi-metrics/",
    "id": "k8s_00541_section_4_10097"
  },
  {
    "question": "What is Generating I/O Pressure?",
    "answer": "T h i s   P o d   g e n e r a t e s   I / O   p r e s s u r e   b y   r e p e a t e d l y   w r i t i n g   a   f i l e   t o   d i s k   a n d   u s i n g   s y n c   t o   f l u s h   t h e   d a t a   f r o m   m e m o r y ,   w h i c h   c r e a t e s   I / O   s t a l l s .   C r e a t e   a   f i l e   n a m e d   i o - p r e s s u r e - p o d . y a m l :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   i o - p r e s s u r e - p o d   s p e c :   r e s t a r t P o l i c y :   N e v e r   c o n t a i n e r s :   -   n a m e :   i o - s t r e s s   i m a g e :   r e g i s t r y . k 8 s . i o / e 2 e - t e s t - i m a g e s / a g n h o s t : 2 . 4 7   c o m m a n d :   [ \" / b i n / s h \" ,   \" - c \" ]   a r g s :   -   \" w h i l e   t r u e ;   d o   d d   i f = / d e v / z e r o   o f = t e s t f i l e   b s = 1 M   c o u n t = 1 2 8   & > / d e v / n u l l ;   s y n c ;   r m   t e s t f i l e   & > / d e v / n u l l ;   d o n e \"   A p p l y   t h i s   t o   y o u r   c l u s t e r :   k u b e c t l   a p p l y   - f   i o - p r e s s u r e - p o d . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/understand-psi-metrics/",
    "id": "k8s_00541_section_3_10098"
  },
  {
    "question": "What is Observing I/O Pressure?",
    "answer": "U s i n g   t h e   S u m m a r y   A P I :   Y o u   w i l l   s e e   t h e   s o m e   P S I   m e t r i c s   f o r   I / O   i n c r e a s e   a s   t h e   P o d   c o n t i n u o u s l y   w r i t e s   t o   d i s k .   #   R e p l a c e   < n o d e - n a m e >   w i t h   t h e   n a m e   o f   a   n o d e   i n   y o u r   c l u s t e r   k u b e c t l   g e t   - - r a w   \" / a p i / v 1 / n o d e s / < n o d e - n a m e > / p r o x y / s t a t s / s u m m a r y \"   |   j q   ' . p o d s [ ]   |   s e l e c t ( . p o d R e f . n a m e   |   c o n t a i n s ( \" i o - p r e s s u r e - p o d \" ) ) '   U s i n g   t h e   P r o m e t h e u s   m e t r i c s   e n d p o i n t :   Q u e r y   t h e   / m e t r i c s / c a d v i s o r   e n d p o i n t   t o   s e e   t h e   c o n t a i n e r _ p r e s s u r e _ i o _ w a i t i n g _ s e c o n d s _ t o t a l   m e t r i c .   #   R e p l a c e   < n o d e - n a m e >   w i t h   t h e   n a m e   o f   t h e   n o d e   w h e r e   t h e   p o d   i s   r u n n i n g   k u b e c t l   g e t   - - r a w   \" / a p i / v 1 / n o d e s / < n o d e - n a m e > / p r o x y / m e t r i c s / c a d v i s o r \"   |   \\   g r e p   ' c o n t a i n e r _ p r e s s u r e _ i o _ w a i t i n g _ s e c o n d s _ t o t a l { c o n t a i n e r = \" i o - s t r e s s \" '   Y o u   w i l l   s e e   t h e   m e t r i c ' s   v a l u e   i n c r e a s e   a s   t h e   P o d   c o n t i n u o u s l y   w r i t e s   t o   d i s k .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/understand-psi-metrics/",
    "id": "k8s_00541_section_4_10099"
  },
  {
    "question": "What is Cleanup?",
    "answer": "C l e a n   u p   t h e   P o d   w h e n   y o u   a r e   f i n i s h e d :   k u b e c t l   d e l e t e   p o d   i o - p r e s s u r e - p o d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/understand-psi-metrics/",
    "id": "k8s_00541_section_4_10100"
  },
  {
    "question": "What is What's next?",
    "answer": "T h e   t a s k   p a g e s   f o r   T r o u b l e s h o o t i n g   C l u s t e r s   d i s c u s s   h o w   t o   u s e   a   m e t r i c s   p i p e l i n e   t h a t   r e l y   o n   t h e s e   d a t a .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/understand-psi-metrics/",
    "id": "k8s_00541_section_2_10101"
  },
  {
    "question": "What is Patch?",
    "answer": "PatchPatch is provided to give a concrete name and type to the Kubernetes PATCH request body.import \"k8s.io/apimachinery/pkg/apis/meta/v1\"Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/patch/",
    "id": "k8s_00542_qa_10102"
  },
  {
    "question": "How does Patch work?",
    "answer": "PatchPatch is provided to give a concrete name and type to the Kubernetes PATCH request body.import \"k8s.io/apimachinery/pkg/apis/meta/v1\"Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/patch/",
    "id": "k8s_00542_qa_10103"
  },
  {
    "question": "When would you use Patch?",
    "answer": "PatchPatch is provided to give a concrete name and type to the Kubernetes PATCH request body.import \"k8s.io/apimachinery/pkg/apis/meta/v1\"Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/patch/",
    "id": "k8s_00542_qa_10104"
  },
  {
    "question": "What are the benefits of Patch?",
    "answer": "PatchPatch is provided to give a concrete name and type to the Kubernetes PATCH request body.import \"k8s.io/apimachinery/pkg/apis/meta/v1\"Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/patch/",
    "id": "k8s_00542_qa_10105"
  },
  {
    "question": "What is Patch?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i m a c h i n e r y / p k g / a p i s / m e t a / v 1 \"   P a t c h   i s   p r o v i d e d   t o   g i v e   a   c o n c r e t e   n a m e   a n d   t y p e   t o   t h e   K u b e r n e t e s   P A T C H   r e q u e s t   b o d y .   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/patch/",
    "id": "k8s_00542_section_1_10106"
  },
  {
    "question": "What is kubectl create role?",
    "answer": "kubectl create roleSynopsisCreate a role with single rule.kubectl create role NAME --verb=verb --resource=resource.group/subresource [--resource-name=resourcename] [--dry-run=server|client|none] Examples # Create a role named \"pod-reader\" that allows user to perform \"get\", \"watch\" and \"list\" on pods kubectl create role pod-reader --verb=get --verb=list --verb=watch --resource=pods # Create a role named \"pod-reader\" with ResourceName specified kubectl create role pod-reader --verb=get --resource=pods --resource-name=readablepod --resource-name=anotherpod # Create a role named \"foo\" with API Group specified kubectl create role foo --verb=get,list,watch --resource=rs.apps # Create a role named \"foo\" with SubResource specified kubectl create role foo --verb=get,list,watch --resource=pods,pods/status Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for role-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--resource stringsResource that the rule applies to--resource-name stringsResource in the white list that the rule applies to, repeat this flag for multiple items--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.--verb stringsVerb that applies to the resources contained in the ruleParent Options Inherited--as stringUsername to impersonate for the operat",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_role/",
    "id": "k8s_00543_qa_10107"
  },
  {
    "question": "How does kubectl create role work?",
    "answer": "kubectl create roleSynopsisCreate a role with single rule.kubectl create role NAME --verb=verb --resource=resource.group/subresource [--resource-name=resourcename] [--dry-run=server|client|none] Examples # Create a role named \"pod-reader\" that allows user to perform \"get\", \"watch\" and \"list\" on pods kubectl create role pod-reader --verb=get --verb=list --verb=watch --resource=pods # Create a role named \"pod-reader\" with ResourceName specified kubectl create role pod-reader --verb=get --resource=pods --resource-name=readablepod --resource-name=anotherpod # Create a role named \"foo\" with API Group specified kubectl create role foo --verb=get,list,watch --resource=rs.apps # Create a role named \"foo\" with SubResource specified kubectl create role foo --verb=get,list,watch --resource=pods,pods/status Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for role-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--resource stringsResource that the rule applies to--resource-name stringsResource in the white list that the rule applies to, repeat this flag for multiple items--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.--verb stringsVerb that applies to the resources contained in the ruleParent Options Inherited--as stringUsername to impersonate for the operat",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_role/",
    "id": "k8s_00543_qa_10108"
  },
  {
    "question": "When would you use kubectl create role?",
    "answer": "kubectl create roleSynopsisCreate a role with single rule.kubectl create role NAME --verb=verb --resource=resource.group/subresource [--resource-name=resourcename] [--dry-run=server|client|none] Examples # Create a role named \"pod-reader\" that allows user to perform \"get\", \"watch\" and \"list\" on pods kubectl create role pod-reader --verb=get --verb=list --verb=watch --resource=pods # Create a role named \"pod-reader\" with ResourceName specified kubectl create role pod-reader --verb=get --resource=pods --resource-name=readablepod --resource-name=anotherpod # Create a role named \"foo\" with API Group specified kubectl create role foo --verb=get,list,watch --resource=rs.apps # Create a role named \"foo\" with SubResource specified kubectl create role foo --verb=get,list,watch --resource=pods,pods/status Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for role-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--resource stringsResource that the rule applies to--resource-name stringsResource in the white list that the rule applies to, repeat this flag for multiple items--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.--verb stringsVerb that applies to the resources contained in the ruleParent Options Inherited--as stringUsername to impersonate for the operat",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_role/",
    "id": "k8s_00543_qa_10109"
  },
  {
    "question": "What are the benefits of kubectl create role?",
    "answer": "kubectl create roleSynopsisCreate a role with single rule.kubectl create role NAME --verb=verb --resource=resource.group/subresource [--resource-name=resourcename] [--dry-run=server|client|none] Examples # Create a role named \"pod-reader\" that allows user to perform \"get\", \"watch\" and \"list\" on pods kubectl create role pod-reader --verb=get --verb=list --verb=watch --resource=pods # Create a role named \"pod-reader\" with ResourceName specified kubectl create role pod-reader --verb=get --resource=pods --resource-name=readablepod --resource-name=anotherpod # Create a role named \"foo\" with API Group specified kubectl create role foo --verb=get,list,watch --resource=rs.apps # Create a role named \"foo\" with SubResource specified kubectl create role foo --verb=get,list,watch --resource=pods,pods/status Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for role-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--resource stringsResource that the rule applies to--resource-name stringsResource in the white list that the rule applies to, repeat this flag for multiple items--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.--verb stringsVerb that applies to the resources contained in the ruleParent Options Inherited--as stringUsername to impersonate for the operat",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_role/",
    "id": "k8s_00543_qa_10110"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   r o l e   w i t h   s i n g l e   r u l e .   k u b e c t l   c r e a t e   r o l e   N A M E   - - v e r b = v e r b   - - r e s o u r c e = r e s o u r c e . g r o u p / s u b r e s o u r c e   [ - - r e s o u r c e - n a m e = r e s o u r c e n a m e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_role/",
    "id": "k8s_00543_section_2_10111"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   r o l e   n a m e d   \" p o d - r e a d e r \"   t h a t   a l l o w s   u s e r   t o   p e r f o r m   \" g e t \" ,   \" w a t c h \"   a n d   \" l i s t \"   o n   p o d s   k u b e c t l   c r e a t e   r o l e   p o d - r e a d e r   - - v e r b = g e t   - - v e r b = l i s t   - - v e r b = w a t c h   - - r e s o u r c e = p o d s   #   C r e a t e   a   r o l e   n a m e d   \" p o d - r e a d e r \"   w i t h   R e s o u r c e N a m e   s p e c i f i e d   k u b e c t l   c r e a t e   r o l e   p o d - r e a d e r   - - v e r b = g e t   - - r e s o u r c e = p o d s   - - r e s o u r c e - n a m e = r e a d a b l e p o d   - - r e s o u r c e - n a m e = a n o t h e r p o d   #   C r e a t e   a   r o l e   n a m e d   \" f o o \"   w i t h   A P I   G r o u p   s p e c i f i e d   k u b e c t l   c r e a t e   r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = r s . a p p s   #   C r e a t e   a   r o l e   n a m e d   \" f o o \"   w i t h   S u b R e s o u r c e   s p e c i f i e d   k u b e c t l   c r e a t e   r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = p o d s , p o d s / s t a t u s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_role/",
    "id": "k8s_00543_section_2_10112"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   r o l e   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   R e s o u r c e   t h a t   t h e   r u l e   a p p l i e s   t o   R e s o u r c e   i n   t h e   w h i t e   l i s t   t h a t   t h e   r u l e   a p p l i e s   t o ,   r e p e a t   t h i s   f l a g   f o r   m u l t i p l e   i t e m s   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_role/",
    "id": "k8s_00543_section_2_10113"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_role/",
    "id": "k8s_00543_section_2_10114"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_role/",
    "id": "k8s_00543_section_2_10115"
  },
  {
    "question": "What is kubectl replace?",
    "answer": "kubectl replaceSynopsisReplace a resource by file name or stdin.JSON and YAML formats are accepted. If replacing an existing resource, the complete resource spec must be provided. This can be obtained by $ kubectl get TYPE NAME -o yaml kubectl replace -f FILENAME Examples # Replace a pod using the data in pod.json kubectl replace -f ./pod.json # Replace a pod based on the JSON passed into stdin cat pod.json | kubectl replace -f - # Update a single-container pod's image version (tag) to v4 kubectl get pod mypod -o yaml | sed 's/\\(image: myimage\\):.*$/\\1:v4/' | kubectl replace -f - # Force replace, delete and then re-create the resource kubectl replace --force -f ./pod.json Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--cascade string[=\"background\"] Default: \"background\"Must be \"background\", \"orphan\", or \"foreground\". Selects the deletion cascading strategy for the dependents (e.g. Pods created by a ReplicationController). Defaults to background.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-replace\"Name of the manager used to track field ownership.-f, --filename stringsThe files that contain the configurations to replace.--forceIf true, immediately remove resources from API and bypass graceful deletion. Note that immediate deletion of some resources may result in inconsistency or data loss and requires confirmation.--grace-period int Default: -1Period of time in seconds given to the resource to terminate gracefully. Ignored if negative. Set to 1 for immediate shutdown. Can only be set to 0 when --force is true (force deletion).-h, --helphelp for replace-k, --kustomize stringProcess a kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--raw stringRaw URI to PUT to the server. Uses the transport specified by the kubeconfig file.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--subresource stringIf specified, replace will operate on the subresource of the requested object.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-templat",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_replace/",
    "id": "k8s_00544_qa_10116"
  },
  {
    "question": "How does kubectl replace work?",
    "answer": "kubectl replaceSynopsisReplace a resource by file name or stdin.JSON and YAML formats are accepted. If replacing an existing resource, the complete resource spec must be provided. This can be obtained by $ kubectl get TYPE NAME -o yaml kubectl replace -f FILENAME Examples # Replace a pod using the data in pod.json kubectl replace -f ./pod.json # Replace a pod based on the JSON passed into stdin cat pod.json | kubectl replace -f - # Update a single-container pod's image version (tag) to v4 kubectl get pod mypod -o yaml | sed 's/\\(image: myimage\\):.*$/\\1:v4/' | kubectl replace -f - # Force replace, delete and then re-create the resource kubectl replace --force -f ./pod.json Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--cascade string[=\"background\"] Default: \"background\"Must be \"background\", \"orphan\", or \"foreground\". Selects the deletion cascading strategy for the dependents (e.g. Pods created by a ReplicationController). Defaults to background.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-replace\"Name of the manager used to track field ownership.-f, --filename stringsThe files that contain the configurations to replace.--forceIf true, immediately remove resources from API and bypass graceful deletion. Note that immediate deletion of some resources may result in inconsistency or data loss and requires confirmation.--grace-period int Default: -1Period of time in seconds given to the resource to terminate gracefully. Ignored if negative. Set to 1 for immediate shutdown. Can only be set to 0 when --force is true (force deletion).-h, --helphelp for replace-k, --kustomize stringProcess a kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--raw stringRaw URI to PUT to the server. Uses the transport specified by the kubeconfig file.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--subresource stringIf specified, replace will operate on the subresource of the requested object.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-templat",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_replace/",
    "id": "k8s_00544_qa_10117"
  },
  {
    "question": "When would you use kubectl replace?",
    "answer": "kubectl replaceSynopsisReplace a resource by file name or stdin.JSON and YAML formats are accepted. If replacing an existing resource, the complete resource spec must be provided. This can be obtained by $ kubectl get TYPE NAME -o yaml kubectl replace -f FILENAME Examples # Replace a pod using the data in pod.json kubectl replace -f ./pod.json # Replace a pod based on the JSON passed into stdin cat pod.json | kubectl replace -f - # Update a single-container pod's image version (tag) to v4 kubectl get pod mypod -o yaml | sed 's/\\(image: myimage\\):.*$/\\1:v4/' | kubectl replace -f - # Force replace, delete and then re-create the resource kubectl replace --force -f ./pod.json Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--cascade string[=\"background\"] Default: \"background\"Must be \"background\", \"orphan\", or \"foreground\". Selects the deletion cascading strategy for the dependents (e.g. Pods created by a ReplicationController). Defaults to background.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-replace\"Name of the manager used to track field ownership.-f, --filename stringsThe files that contain the configurations to replace.--forceIf true, immediately remove resources from API and bypass graceful deletion. Note that immediate deletion of some resources may result in inconsistency or data loss and requires confirmation.--grace-period int Default: -1Period of time in seconds given to the resource to terminate gracefully. Ignored if negative. Set to 1 for immediate shutdown. Can only be set to 0 when --force is true (force deletion).-h, --helphelp for replace-k, --kustomize stringProcess a kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--raw stringRaw URI to PUT to the server. Uses the transport specified by the kubeconfig file.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--subresource stringIf specified, replace will operate on the subresource of the requested object.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-templat",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_replace/",
    "id": "k8s_00544_qa_10118"
  },
  {
    "question": "What are the benefits of kubectl replace?",
    "answer": "kubectl replaceSynopsisReplace a resource by file name or stdin.JSON and YAML formats are accepted. If replacing an existing resource, the complete resource spec must be provided. This can be obtained by $ kubectl get TYPE NAME -o yaml kubectl replace -f FILENAME Examples # Replace a pod using the data in pod.json kubectl replace -f ./pod.json # Replace a pod based on the JSON passed into stdin cat pod.json | kubectl replace -f - # Update a single-container pod's image version (tag) to v4 kubectl get pod mypod -o yaml | sed 's/\\(image: myimage\\):.*$/\\1:v4/' | kubectl replace -f - # Force replace, delete and then re-create the resource kubectl replace --force -f ./pod.json Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--cascade string[=\"background\"] Default: \"background\"Must be \"background\", \"orphan\", or \"foreground\". Selects the deletion cascading strategy for the dependents (e.g. Pods created by a ReplicationController). Defaults to background.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-replace\"Name of the manager used to track field ownership.-f, --filename stringsThe files that contain the configurations to replace.--forceIf true, immediately remove resources from API and bypass graceful deletion. Note that immediate deletion of some resources may result in inconsistency or data loss and requires confirmation.--grace-period int Default: -1Period of time in seconds given to the resource to terminate gracefully. Ignored if negative. Set to 1 for immediate shutdown. Can only be set to 0 when --force is true (force deletion).-h, --helphelp for replace-k, --kustomize stringProcess a kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--raw stringRaw URI to PUT to the server. Uses the transport specified by the kubeconfig file.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--subresource stringIf specified, replace will operate on the subresource of the requested object.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-templat",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_replace/",
    "id": "k8s_00544_qa_10119"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e p l a c e   a   r e s o u r c e   b y   f i l e   n a m e   o r   s t d i n .   J S O N   a n d   Y A M L   f o r m a t s   a r e   a c c e p t e d .   I f   r e p l a c i n g   a n   e x i s t i n g   r e s o u r c e ,   t h e   c o m p l e t e   r e s o u r c e   s p e c   m u s t   b e   p r o v i d e d .   T h i s   c a n   b e   o b t a i n e d   b y   $   k u b e c t l   g e t   T Y P E   N A M E   - o   y a m l   k u b e c t l   r e p l a c e   - f   F I L E N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_replace/",
    "id": "k8s_00544_section_2_10120"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R e p l a c e   a   p o d   u s i n g   t h e   d a t a   i n   p o d . j s o n   k u b e c t l   r e p l a c e   - f   . / p o d . j s o n   #   R e p l a c e   a   p o d   b a s e d   o n   t h e   J S O N   p a s s e d   i n t o   s t d i n   c a t   p o d . j s o n   |   k u b e c t l   r e p l a c e   - f   -   #   U p d a t e   a   s i n g l e - c o n t a i n e r   p o d ' s   i m a g e   v e r s i o n   ( t a g )   t o   v 4   k u b e c t l   g e t   p o d   m y p o d   - o   y a m l   |   s e d   ' s / \\ ( i m a g e :   m y i m a g e \\ ) : . * $ / \\ 1 : v 4 / '   |   k u b e c t l   r e p l a c e   - f   -   #   F o r c e   r e p l a c e ,   d e l e t e   a n d   t h e n   r e - c r e a t e   t h e   r e s o u r c e   k u b e c t l   r e p l a c e   - - f o r c e   - f   . / p o d . j s o n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_replace/",
    "id": "k8s_00544_section_2_10121"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" b a c k g r o u n d \" ,   \" o r p h a n \" ,   o r   \" f o r e g r o u n d \" .   S e l e c t s   t h e   d e l e t i o n   c a s c a d i n g   s t r a t e g y   f o r   t h e   d e p e n d e n t s   ( e . g .   P o d s   c r e a t e d   b y   a   R e p l i c a t i o n C o n t r o l l e r ) .   D e f a u l t s   t o   b a c k g r o u n d .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   T h e   f i l e s   t h a t   c o n t a i n   t h e   c o n f i g u r a t i o n s   t o   r e p l a c e .   I f   t r u e ,   i m m e d i a t e l y   r e m o v e   r e s o u r c e s   f r o m   A P I   a n d   b y p a s s   g r a c e f u l   d e l e t i o n .   N o t e   t h a t   i m m e d i a t e   d e l e t i o n   o f   s o m e   r e s o u r c e s   m a y   r e s u l t   i n   i n c o n s i s t e n c y   o r   d a t a   l o s s   a n d   r e q u i r e s   c o n f i r m a t i o n .   P e r i o d   o f   t i m e   i n   s e c o n d s   g i v e n   t o   t h e   r e s o u r c e   t o   t e r m i n a t e   g r a c e f u l l y .   I g n o r e d   i f   n e g a t i v e .   S e t   t o   1   f o r   i m m e d i a t e   s h u t d o w n .   C a n   o n l y   b e   s e t   t o   0   w h e n   - - f o r c e   i s   t r u e   ( f o r c e   d e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_replace/",
    "id": "k8s_00544_section_2_10122"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_replace/",
    "id": "k8s_00544_section_2_10123"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_replace/",
    "id": "k8s_00544_section_2_10124"
  },
  {
    "question": "What is Adding Linux worker nodes?",
    "answer": "Adding Linux worker nodesThis page explains how to add Linux worker nodes to a kubeadm cluster.Before you beginEach joining worker node has installed the required components from Installing kubeadm, such as, kubeadm, the kubelet and a container runtime.A running kubeadm cluster created by kubeadm init and following the steps in the document Creating a cluster with kubeadm.You need superuser access to the node.Adding Linux worker nodesTo add new Linux worker nodes to your cluster do the following for each machine:Connect to the machine by using SSH or another method.Run the command that was output by kubeadm init. For example:sudo kubeadm join --token <token> <control-plane-host>:<control-plane-port> --discovery-token-ca-cert-hash sha256:<hash> Additional information for kubeadm joinNote:To specify an IPv6 tuple for <control-plane-host>:<control-plane-port>, IPv6 address must be enclosed in square brackets, for example: [2001:db8::101]:2073.If you do not have the token, you can get it by running the following command on the control plane node:# Run this on a control plane node sudo kubeadm token list The output is similar to this:TOKEN TTL EXPIRES USAGES DESCRIPTION EXTRA GROUPS 8ewj1p.9r9hcjoqgajrj4gi 23h 2018-06-12T02:51:28Z authentication, The default bootstrap system: signing token generated by bootstrappers: 'kubeadm init'. kubeadm: default-node-token By default, node join tokens expire after 24 hours. If you are joining a node to the cluster after the current token has expired, you can create a new token by running the following command on the control plane node:# Run this on a control plane node sudo kubeadm token create The output is similar to this:5didvk.d09sbcov8ph2amjw To print a kubeadm join command while also generating a new token you can use:sudo kubeadm token create --print-join-command If you don't have the value of --discovery-token-ca-cert-hash, you can get it by running the following commands on the control plane node:# Run this on a control plane node sudo cat /etc/kubernetes/pki/ca.crt | openssl x509 -pubkey | openssl rsa -pubin -outform der 2>/dev/null | \\ openssl dgst -sha256 -hex | sed 's/^.* //' The output is similar to:8cb2de97839780a412b93877f8507ad6c94f73add17d5d7058e91741c9d5ec78 The output of the kubeadm join command should look something like:[preflight] Running pre-flight checks ... (log output of join workflow) ... Node join complete: * Certificate signing request sent to control-plane and response received. * Kubelet informed of new secure connection details. Run 'kubectl get nodes' on control-plane to see this machine join. A few seconds later, you should notice this node in the output from kubectl get nodes. (for example, run kubectl on a control plane node).Note:As the cluster nodes are usually initialized sequentially, the CoreDNS Pods are likely to all run on the first control plane node. To provide higher availability, please rebalance the CoreDNS Pods with kubectl -n kube-system rollout restart deployment",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-linux-nodes/",
    "id": "k8s_00545_qa_10125"
  },
  {
    "question": "How does Adding Linux worker nodes work?",
    "answer": "Adding Linux worker nodesThis page explains how to add Linux worker nodes to a kubeadm cluster.Before you beginEach joining worker node has installed the required components from Installing kubeadm, such as, kubeadm, the kubelet and a container runtime.A running kubeadm cluster created by kubeadm init and following the steps in the document Creating a cluster with kubeadm.You need superuser access to the node.Adding Linux worker nodesTo add new Linux worker nodes to your cluster do the following for each machine:Connect to the machine by using SSH or another method.Run the command that was output by kubeadm init. For example:sudo kubeadm join --token <token> <control-plane-host>:<control-plane-port> --discovery-token-ca-cert-hash sha256:<hash> Additional information for kubeadm joinNote:To specify an IPv6 tuple for <control-plane-host>:<control-plane-port>, IPv6 address must be enclosed in square brackets, for example: [2001:db8::101]:2073.If you do not have the token, you can get it by running the following command on the control plane node:# Run this on a control plane node sudo kubeadm token list The output is similar to this:TOKEN TTL EXPIRES USAGES DESCRIPTION EXTRA GROUPS 8ewj1p.9r9hcjoqgajrj4gi 23h 2018-06-12T02:51:28Z authentication, The default bootstrap system: signing token generated by bootstrappers: 'kubeadm init'. kubeadm: default-node-token By default, node join tokens expire after 24 hours. If you are joining a node to the cluster after the current token has expired, you can create a new token by running the following command on the control plane node:# Run this on a control plane node sudo kubeadm token create The output is similar to this:5didvk.d09sbcov8ph2amjw To print a kubeadm join command while also generating a new token you can use:sudo kubeadm token create --print-join-command If you don't have the value of --discovery-token-ca-cert-hash, you can get it by running the following commands on the control plane node:# Run this on a control plane node sudo cat /etc/kubernetes/pki/ca.crt | openssl x509 -pubkey | openssl rsa -pubin -outform der 2>/dev/null | \\ openssl dgst -sha256 -hex | sed 's/^.* //' The output is similar to:8cb2de97839780a412b93877f8507ad6c94f73add17d5d7058e91741c9d5ec78 The output of the kubeadm join command should look something like:[preflight] Running pre-flight checks ... (log output of join workflow) ... Node join complete: * Certificate signing request sent to control-plane and response received. * Kubelet informed of new secure connection details. Run 'kubectl get nodes' on control-plane to see this machine join. A few seconds later, you should notice this node in the output from kubectl get nodes. (for example, run kubectl on a control plane node).Note:As the cluster nodes are usually initialized sequentially, the CoreDNS Pods are likely to all run on the first control plane node. To provide higher availability, please rebalance the CoreDNS Pods with kubectl -n kube-system rollout restart deployment",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-linux-nodes/",
    "id": "k8s_00545_qa_10126"
  },
  {
    "question": "When would you use Adding Linux worker nodes?",
    "answer": "Adding Linux worker nodesThis page explains how to add Linux worker nodes to a kubeadm cluster.Before you beginEach joining worker node has installed the required components from Installing kubeadm, such as, kubeadm, the kubelet and a container runtime.A running kubeadm cluster created by kubeadm init and following the steps in the document Creating a cluster with kubeadm.You need superuser access to the node.Adding Linux worker nodesTo add new Linux worker nodes to your cluster do the following for each machine:Connect to the machine by using SSH or another method.Run the command that was output by kubeadm init. For example:sudo kubeadm join --token <token> <control-plane-host>:<control-plane-port> --discovery-token-ca-cert-hash sha256:<hash> Additional information for kubeadm joinNote:To specify an IPv6 tuple for <control-plane-host>:<control-plane-port>, IPv6 address must be enclosed in square brackets, for example: [2001:db8::101]:2073.If you do not have the token, you can get it by running the following command on the control plane node:# Run this on a control plane node sudo kubeadm token list The output is similar to this:TOKEN TTL EXPIRES USAGES DESCRIPTION EXTRA GROUPS 8ewj1p.9r9hcjoqgajrj4gi 23h 2018-06-12T02:51:28Z authentication, The default bootstrap system: signing token generated by bootstrappers: 'kubeadm init'. kubeadm: default-node-token By default, node join tokens expire after 24 hours. If you are joining a node to the cluster after the current token has expired, you can create a new token by running the following command on the control plane node:# Run this on a control plane node sudo kubeadm token create The output is similar to this:5didvk.d09sbcov8ph2amjw To print a kubeadm join command while also generating a new token you can use:sudo kubeadm token create --print-join-command If you don't have the value of --discovery-token-ca-cert-hash, you can get it by running the following commands on the control plane node:# Run this on a control plane node sudo cat /etc/kubernetes/pki/ca.crt | openssl x509 -pubkey | openssl rsa -pubin -outform der 2>/dev/null | \\ openssl dgst -sha256 -hex | sed 's/^.* //' The output is similar to:8cb2de97839780a412b93877f8507ad6c94f73add17d5d7058e91741c9d5ec78 The output of the kubeadm join command should look something like:[preflight] Running pre-flight checks ... (log output of join workflow) ... Node join complete: * Certificate signing request sent to control-plane and response received. * Kubelet informed of new secure connection details. Run 'kubectl get nodes' on control-plane to see this machine join. A few seconds later, you should notice this node in the output from kubectl get nodes. (for example, run kubectl on a control plane node).Note:As the cluster nodes are usually initialized sequentially, the CoreDNS Pods are likely to all run on the first control plane node. To provide higher availability, please rebalance the CoreDNS Pods with kubectl -n kube-system rollout restart deployment",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-linux-nodes/",
    "id": "k8s_00545_qa_10127"
  },
  {
    "question": "What are the benefits of Adding Linux worker nodes?",
    "answer": "Adding Linux worker nodesThis page explains how to add Linux worker nodes to a kubeadm cluster.Before you beginEach joining worker node has installed the required components from Installing kubeadm, such as, kubeadm, the kubelet and a container runtime.A running kubeadm cluster created by kubeadm init and following the steps in the document Creating a cluster with kubeadm.You need superuser access to the node.Adding Linux worker nodesTo add new Linux worker nodes to your cluster do the following for each machine:Connect to the machine by using SSH or another method.Run the command that was output by kubeadm init. For example:sudo kubeadm join --token <token> <control-plane-host>:<control-plane-port> --discovery-token-ca-cert-hash sha256:<hash> Additional information for kubeadm joinNote:To specify an IPv6 tuple for <control-plane-host>:<control-plane-port>, IPv6 address must be enclosed in square brackets, for example: [2001:db8::101]:2073.If you do not have the token, you can get it by running the following command on the control plane node:# Run this on a control plane node sudo kubeadm token list The output is similar to this:TOKEN TTL EXPIRES USAGES DESCRIPTION EXTRA GROUPS 8ewj1p.9r9hcjoqgajrj4gi 23h 2018-06-12T02:51:28Z authentication, The default bootstrap system: signing token generated by bootstrappers: 'kubeadm init'. kubeadm: default-node-token By default, node join tokens expire after 24 hours. If you are joining a node to the cluster after the current token has expired, you can create a new token by running the following command on the control plane node:# Run this on a control plane node sudo kubeadm token create The output is similar to this:5didvk.d09sbcov8ph2amjw To print a kubeadm join command while also generating a new token you can use:sudo kubeadm token create --print-join-command If you don't have the value of --discovery-token-ca-cert-hash, you can get it by running the following commands on the control plane node:# Run this on a control plane node sudo cat /etc/kubernetes/pki/ca.crt | openssl x509 -pubkey | openssl rsa -pubin -outform der 2>/dev/null | \\ openssl dgst -sha256 -hex | sed 's/^.* //' The output is similar to:8cb2de97839780a412b93877f8507ad6c94f73add17d5d7058e91741c9d5ec78 The output of the kubeadm join command should look something like:[preflight] Running pre-flight checks ... (log output of join workflow) ... Node join complete: * Certificate signing request sent to control-plane and response received. * Kubelet informed of new secure connection details. Run 'kubectl get nodes' on control-plane to see this machine join. A few seconds later, you should notice this node in the output from kubectl get nodes. (for example, run kubectl on a control plane node).Note:As the cluster nodes are usually initialized sequentially, the CoreDNS Pods are likely to all run on the first control plane node. To provide higher availability, please rebalance the CoreDNS Pods with kubectl -n kube-system rollout restart deployment",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-linux-nodes/",
    "id": "k8s_00545_qa_10128"
  },
  {
    "question": "What is Adding Linux worker nodes?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   t o   a d d   L i n u x   w o r k e r   n o d e s   t o   a   k u b e a d m   c l u s t e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-linux-nodes/",
    "id": "k8s_00545_section_1_10129"
  },
  {
    "question": "What is Before you begin?",
    "answer": "E a c h   j o i n i n g   w o r k e r   n o d e   h a s   i n s t a l l e d   t h e   r e q u i r e d   c o m p o n e n t s   f r o m   I n s t a l l i n g   k u b e a d m ,   s u c h   a s ,   k u b e a d m ,   t h e   k u b e l e t   a n d   a   c o n t a i n e r   r u n t i m e . A   r u n n i n g   k u b e a d m   c l u s t e r   c r e a t e d   b y   k u b e a d m   i n i t   a n d   f o l l o w i n g   t h e   s t e p s   i n   t h e   d o c u m e n t   C r e a t i n g   a   c l u s t e r   w i t h   k u b e a d m . Y o u   n e e d   s u p e r u s e r   a c c e s s   t o   t h e   n o d e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-linux-nodes/",
    "id": "k8s_00545_section_2_10130"
  },
  {
    "question": "What is Adding Linux worker nodes?",
    "answer": "T o   a d d   n e w   L i n u x   w o r k e r   n o d e s   t o   y o u r   c l u s t e r   d o   t h e   f o l l o w i n g   f o r   e a c h   m a c h i n e :   C o n n e c t   t o   t h e   m a c h i n e   b y   u s i n g   S S H   o r   a n o t h e r   m e t h o d . R u n   t h e   c o m m a n d   t h a t   w a s   o u t p u t   b y   k u b e a d m   i n i t .   F o r   e x a m p l e :   s u d o   k u b e a d m   j o i n   - - t o k e n   < t o k e n >   < c o n t r o l - p l a n e - h o s t > : < c o n t r o l - p l a n e - p o r t >   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   s h a 2 5 6 : < h a s h >",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-linux-nodes/",
    "id": "k8s_00545_section_2_10131"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   d o   n o t   h a v e   t h e   t o k e n ,   y o u   c a n   g e t   i t   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d   o n   t h e   c o n t r o l   p l a n e   n o d e :   #   R u n   t h i s   o n   a   c o n t r o l   p l a n e   n o d e   s u d o   k u b e a d m   t o k e n   l i s t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   T O K E N   T T L   E X P I R E S   U S A G E S   D E S C R I P T I O N   E X T R A   G R O U P S   8 e w j 1 p . 9 r 9 h c j o q g a j r j 4 g i   2 3 h   2 0 1 8 - 0 6 - 1 2 T 0 2 : 5 1 : 2 8 Z   a u t h e n t i c a t i o n ,   T h e   d e f a u l t   b o o t s t r a p   s y s t e m :   s i g n i n g   t o k e n   g e n e r a t e d   b y   b o o t s t r a p p e r s :   ' k u b e a d m   i n i t ' .   k u b e a d m :   d e f a u l t - n o d e - t o k e n   B y   d e f a u l t ,   n o d e   j o i n   t o k e n s   e x p i r e   a f t e r   2 4   h o u r s .   I f   y o u   a r e   j o i n i n g   a   n o d e   t o   t h e   c l u s t e r   a f t e r   t h e   c u r r e n t   t o k e n   h a s   e x p i r e d ,   y o u   c a n   c r e a t e   a   n e w   t o k e n   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d   o n   t h e   c o n t r o l   p l a n e   n o d e :   #   R u n   t h i s   o n   a   c o n t r o l   p l a n e   n o d e   s u d o   k u b e a d m   t o k e n   c r e a t e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   5 d i d v k . d 0 9 s b c o v 8 p h 2 a m j w   T o   p r i n t   a   k u b e a d m   j o i n   c o m m a n d   w h i l e   a l s o   g e n e r a t i n g   a   n e w   t o k e n   y o u   c a n   u s e :   s u d o   k u b e a d m   t o k e n   c r e a t e   - - p r i n t - j o i n - c o m m a n d   I f   y o u   d o n ' t   h a v e   t h e   v a l u e   o f   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h ,   y o u   c a n   g e t   i t   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d s   o n   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-linux-nodes/",
    "id": "k8s_00545_section_4_10132"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   h o w   t o   a d d   W i n d o w s   w o r k e r   n o d e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-linux-nodes/",
    "id": "k8s_00545_section_2_10133"
  },
  {
    "question": "What is kubeadm certs?",
    "answer": "kubeadm certskubeadm certs provides utilities for managing certificates. For more details on how these commands can be used, see Certificate Management with kubeadm.kubeadm certsA collection of operations for operating Kubernetes certificates.SynopsisCommands related to handling Kubernetes certificateskubeadm certs [flags] Options-h, --helphelp for certsOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm certs renewYou can renew all Kubernetes certificates using the all subcommand or renew them selectively. For more details see Manual certificate renewal.SynopsisRenew certificates for a Kubernetes clusterkubeadm certs renew [flags] Options-h, --helphelp for renewOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.Renew all available certificatesSynopsisRenew all known certificates necessary to run the control plane. Renewals are run unconditionally, regardless of expiration date. Renewals can also be run individually for more control.kubeadm certs renew all [flags] Options--cert-dir string Default: \"/etc/kubernetes/pki\"The path where to save the certificates--config stringPath to a kubeadm configuration file.-h, --helphelp for all--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.SynopsisRenew the certificate embedded in the kubeconfig file for the admin to use and for kubeadm itself.Renewals run unconditionally, regardless of certificate expiration date; extra attributes such as SANs will be based on the existing file/certificates, there is no need to resupply them.Renewal by default tries to use the certificate authority in the local PKI managed by kubeadm; as alternative it is possible to use K8s certificate API for certificate renewal, or as a last option, to generate a CSR request.After renewal, in order to make changes effective, is required to restart control-plane components and eventually re-distribute the renewed certificate in case the file is used elsewhere.kubeadm certs renew admin.conf [flags] Options--cert-dir string Default: \"/etc/kubernetes/pki\"The path where to save the certificates--config stringPath to a kubeadm configuration file.-h, --helphelp for admin.conf--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_qa_10134"
  },
  {
    "question": "How does kubeadm certs work?",
    "answer": "kubeadm certskubeadm certs provides utilities for managing certificates. For more details on how these commands can be used, see Certificate Management with kubeadm.kubeadm certsA collection of operations for operating Kubernetes certificates.SynopsisCommands related to handling Kubernetes certificateskubeadm certs [flags] Options-h, --helphelp for certsOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm certs renewYou can renew all Kubernetes certificates using the all subcommand or renew them selectively. For more details see Manual certificate renewal.SynopsisRenew certificates for a Kubernetes clusterkubeadm certs renew [flags] Options-h, --helphelp for renewOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.Renew all available certificatesSynopsisRenew all known certificates necessary to run the control plane. Renewals are run unconditionally, regardless of expiration date. Renewals can also be run individually for more control.kubeadm certs renew all [flags] Options--cert-dir string Default: \"/etc/kubernetes/pki\"The path where to save the certificates--config stringPath to a kubeadm configuration file.-h, --helphelp for all--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.SynopsisRenew the certificate embedded in the kubeconfig file for the admin to use and for kubeadm itself.Renewals run unconditionally, regardless of certificate expiration date; extra attributes such as SANs will be based on the existing file/certificates, there is no need to resupply them.Renewal by default tries to use the certificate authority in the local PKI managed by kubeadm; as alternative it is possible to use K8s certificate API for certificate renewal, or as a last option, to generate a CSR request.After renewal, in order to make changes effective, is required to restart control-plane components and eventually re-distribute the renewed certificate in case the file is used elsewhere.kubeadm certs renew admin.conf [flags] Options--cert-dir string Default: \"/etc/kubernetes/pki\"The path where to save the certificates--config stringPath to a kubeadm configuration file.-h, --helphelp for admin.conf--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_qa_10135"
  },
  {
    "question": "When would you use kubeadm certs?",
    "answer": "kubeadm certskubeadm certs provides utilities for managing certificates. For more details on how these commands can be used, see Certificate Management with kubeadm.kubeadm certsA collection of operations for operating Kubernetes certificates.SynopsisCommands related to handling Kubernetes certificateskubeadm certs [flags] Options-h, --helphelp for certsOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm certs renewYou can renew all Kubernetes certificates using the all subcommand or renew them selectively. For more details see Manual certificate renewal.SynopsisRenew certificates for a Kubernetes clusterkubeadm certs renew [flags] Options-h, --helphelp for renewOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.Renew all available certificatesSynopsisRenew all known certificates necessary to run the control plane. Renewals are run unconditionally, regardless of expiration date. Renewals can also be run individually for more control.kubeadm certs renew all [flags] Options--cert-dir string Default: \"/etc/kubernetes/pki\"The path where to save the certificates--config stringPath to a kubeadm configuration file.-h, --helphelp for all--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.SynopsisRenew the certificate embedded in the kubeconfig file for the admin to use and for kubeadm itself.Renewals run unconditionally, regardless of certificate expiration date; extra attributes such as SANs will be based on the existing file/certificates, there is no need to resupply them.Renewal by default tries to use the certificate authority in the local PKI managed by kubeadm; as alternative it is possible to use K8s certificate API for certificate renewal, or as a last option, to generate a CSR request.After renewal, in order to make changes effective, is required to restart control-plane components and eventually re-distribute the renewed certificate in case the file is used elsewhere.kubeadm certs renew admin.conf [flags] Options--cert-dir string Default: \"/etc/kubernetes/pki\"The path where to save the certificates--config stringPath to a kubeadm configuration file.-h, --helphelp for admin.conf--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_qa_10136"
  },
  {
    "question": "What are the benefits of kubeadm certs?",
    "answer": "kubeadm certskubeadm certs provides utilities for managing certificates. For more details on how these commands can be used, see Certificate Management with kubeadm.kubeadm certsA collection of operations for operating Kubernetes certificates.SynopsisCommands related to handling Kubernetes certificateskubeadm certs [flags] Options-h, --helphelp for certsOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm certs renewYou can renew all Kubernetes certificates using the all subcommand or renew them selectively. For more details see Manual certificate renewal.SynopsisRenew certificates for a Kubernetes clusterkubeadm certs renew [flags] Options-h, --helphelp for renewOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.Renew all available certificatesSynopsisRenew all known certificates necessary to run the control plane. Renewals are run unconditionally, regardless of expiration date. Renewals can also be run individually for more control.kubeadm certs renew all [flags] Options--cert-dir string Default: \"/etc/kubernetes/pki\"The path where to save the certificates--config stringPath to a kubeadm configuration file.-h, --helphelp for all--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.SynopsisRenew the certificate embedded in the kubeconfig file for the admin to use and for kubeadm itself.Renewals run unconditionally, regardless of certificate expiration date; extra attributes such as SANs will be based on the existing file/certificates, there is no need to resupply them.Renewal by default tries to use the certificate authority in the local PKI managed by kubeadm; as alternative it is possible to use K8s certificate API for certificate renewal, or as a last option, to generate a CSR request.After renewal, in order to make changes effective, is required to restart control-plane components and eventually re-distribute the renewed certificate in case the file is used elsewhere.kubeadm certs renew admin.conf [flags] Options--cert-dir string Default: \"/etc/kubernetes/pki\"The path where to save the certificates--config stringPath to a kubeadm configuration file.-h, --helphelp for admin.conf--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_qa_10137"
  },
  {
    "question": "What is kubeadm certs?",
    "answer": "k u b e a d m   c e r t s   p r o v i d e s   u t i l i t i e s   f o r   m a n a g i n g   c e r t i f i c a t e s .   F o r   m o r e   d e t a i l s   o n   h o w   t h e s e   c o m m a n d s   c a n   b e   u s e d ,   s e e   C e r t i f i c a t e   M a n a g e m e n t   w i t h   k u b e a d m .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_1_10138"
  },
  {
    "question": "What is kubeadm certs?",
    "answer": "A   c o l l e c t i o n   o f   o p e r a t i o n s   f o r   o p e r a t i n g   K u b e r n e t e s   c e r t i f i c a t e s .   S y n o p s i s C o m m a n d s   r e l a t e d   t o   h a n d l i n g   K u b e r n e t e s   c e r t i f i c a t e s k u b e a d m   c e r t s   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   c e r t s O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_2_10139"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C o m m a n d s   r e l a t e d   t o   h a n d l i n g   K u b e r n e t e s   c e r t i f i c a t e s   k u b e a d m   c e r t s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10140"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c e r t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10141"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10142"
  },
  {
    "question": "What is kubeadm certs renew?",
    "answer": "Y o u   c a n   r e n e w   a l l   K u b e r n e t e s   c e r t i f i c a t e s   u s i n g   t h e   a l l   s u b c o m m a n d   o r   r e n e w   t h e m   s e l e c t i v e l y .   F o r   m o r e   d e t a i l s   s e e   M a n u a l   c e r t i f i c a t e   r e n e w a l .   S y n o p s i s R e n e w   c e r t i f i c a t e s   f o r   a   K u b e r n e t e s   c l u s t e r k u b e a d m   c e r t s   r e n e w   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   r e n e w O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_2_10143"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   c e r t i f i c a t e s   f o r   a   K u b e r n e t e s   c l u s t e r   k u b e a d m   c e r t s   r e n e w   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10144"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   r e n e w",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10145"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   R e n e w   a l l   a v a i l a b l e   c e r t i f i c a t e s S y n o p s i s R e n e w   a l l   k n o w n   c e r t i f i c a t e s   n e c e s s a r y   t o   r u n   t h e   c o n t r o l   p l a n e .   R e n e w a l s   a r e   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   e x p i r a t i o n   d a t e .   R e n e w a l s   c a n   a l s o   b e   r u n   i n d i v i d u a l l y   f o r   m o r e   c o n t r o l . k u b e a d m   c e r t s   r e n e w   a l l   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l p h e l p   f o r   a l l - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   R e n e w   a l l   a v a i l a b l e   c e r t i f i c a t e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10146"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   a l l   k n o w n   c e r t i f i c a t e s   n e c e s s a r y   t o   r u n   t h e   c o n t r o l   p l a n e .   R e n e w a l s   a r e   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   e x p i r a t i o n   d a t e .   R e n e w a l s   c a n   a l s o   b e   r u n   i n d i v i d u a l l y   f o r   m o r e   c o n t r o l .   k u b e a d m   c e r t s   r e n e w   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10147"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   a l l   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10148"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R e n e w   t h e   c e r t i f i c a t e   e m b e d d e d   i n   t h e   k u b e c o n f i g   f i l e   f o r   t h e   a d m i n   t o   u s e   a n d   f o r   k u b e a d m   i t s e l f . R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m . R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t . A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e . k u b e a d m   c e r t s   r e n e w   a d m i n . c o n f   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10149"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   e m b e d d e d   i n   t h e   k u b e c o n f i g   f i l e   f o r   t h e   a d m i n   t o   u s e   a n d   f o r   k u b e a d m   i t s e l f .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   a d m i n . c o n f   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10150"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   a d m i n . c o n f   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10151"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R e n e w   t h e   c e r t i f i c a t e   t h e   a p i s e r v e r   u s e s   t o   a c c e s s   e t c d . R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m . R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t . A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e . k u b e a d m   c e r t s   r e n e w   a p i s e r v e r - e t c d - c l i e n t   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l p h e l p   f o r   a p i s e r v e r - e t c d - c l i e n t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10152"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   t h e   a p i s e r v e r   u s e s   t o   a c c e s s   e t c d .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   a p i s e r v e r - e t c d - c l i e n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10153"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   a p i s e r v e r - e t c d - c l i e n t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10154"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R e n e w   t h e   c e r t i f i c a t e   f o r   t h e   A P I   s e r v e r   t o   c o n n e c t   t o   k u b e l e t . R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m . R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t . A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e . k u b e a d m   c e r t s   r e n e w   a p i s e r v e r - k u b e l e t - c l i e n t   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l p h e l p   f o r   a p i s e r v e r - k ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10155"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   f o r   t h e   A P I   s e r v e r   t o   c o n n e c t   t o   k u b e l e t .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   a p i s e r v e r - k u b e l e t - c l i e n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10156"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   a p i s e r v e r - k u b e l e t - c l i e n t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10157"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R e n e w   t h e   c e r t i f i c a t e   f o r   s e r v i n g   t h e   K u b e r n e t e s   A P I . R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m . R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t . A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e . k u b e a d m   c e r t s   r e n e w   a p i s e r v e r   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l p h e l p   f o r   a p i s e r v e r - - k u b e c o n f i g   s t r i n g   D e f a u l t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10158"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   f o r   s e r v i n g   t h e   K u b e r n e t e s   A P I .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   a p i s e r v e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10159"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   a p i s e r v e r   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10160"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R e n e w   t h e   c e r t i f i c a t e   e m b e d d e d   i n   t h e   k u b e c o n f i g   f i l e   f o r   t h e   c o n t r o l l e r   m a n a g e r   t o   u s e . R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m . R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t . A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e . k u b e a d m   c e r t s   r e n e w   c o n t r o l l e r - m a n a g e r . c o n f   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10161"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   e m b e d d e d   i n   t h e   k u b e c o n f i g   f i l e   f o r   t h e   c o n t r o l l e r   m a n a g e r   t o   u s e .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   c o n t r o l l e r - m a n a g e r . c o n f   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10162"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   c o n t r o l l e r - m a n a g e r . c o n f   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10163"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R e n e w   t h e   c e r t i f i c a t e   f o r   l i v e n e s s   p r o b e s   t o   h e a l t h c h e c k   e t c d . R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m . R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t . A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e . k u b e a d m   c e r t s   r e n e w   e t c d - h e a l t h c h e c k - c l i e n t   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l p h e l p   f o r   e t c d - h e a l t h c h ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10164"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   f o r   l i v e n e s s   p r o b e s   t o   h e a l t h c h e c k   e t c d .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   e t c d - h e a l t h c h e c k - c l i e n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10165"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   e t c d - h e a l t h c h e c k - c l i e n t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10166"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R e n e w   t h e   c e r t i f i c a t e   f o r   e t c d   n o d e s   t o   c o m m u n i c a t e   w i t h   e a c h   o t h e r . R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m . R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t . A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e . k u b e a d m   c e r t s   r e n e w   e t c d - p e e r   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l p h e l p   f o r   e t c d - p e e r - - k u b e c o n f i g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10167"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   f o r   e t c d   n o d e s   t o   c o m m u n i c a t e   w i t h   e a c h   o t h e r .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   e t c d - p e e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10168"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   e t c d - p e e r   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10169"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R e n e w   t h e   c e r t i f i c a t e   f o r   s e r v i n g   e t c d . R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m . R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t . A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e . k u b e a d m   c e r t s   r e n e w   e t c d - s e r v e r   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l p h e l p   f o r   e t c d - s e r v e r - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10170"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   f o r   s e r v i n g   e t c d .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   e t c d - s e r v e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10171"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   e t c d - s e r v e r   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10172"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R e n e w   t h e   c e r t i f i c a t e   f o r   t h e   f r o n t   p r o x y   c l i e n t . R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m . R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t . A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e . k u b e a d m   c e r t s   r e n e w   f r o n t - p r o x y - c l i e n t   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l p h e l p   f o r   f r o n t - p r o x y - c l i e n t - - k u b e c o n f i g   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10173"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   f o r   t h e   f r o n t   p r o x y   c l i e n t .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   f r o n t - p r o x y - c l i e n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10174"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   f r o n t - p r o x y - c l i e n t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10175"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R e n e w   t h e   c e r t i f i c a t e   e m b e d d e d   i n   t h e   k u b e c o n f i g   f i l e   f o r   t h e   s c h e d u l e r   m a n a g e r   t o   u s e . R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m . R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t . A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e . k u b e a d m   c e r t s   r e n e w   s c h e d u l e r . c o n f   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l p h e l p   f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10176"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   e m b e d d e d   i n   t h e   k u b e c o n f i g   f i l e   f o r   t h e   s c h e d u l e r   m a n a g e r   t o   u s e .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   s c h e d u l e r . c o n f   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10177"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   s c h e d u l e r . c o n f   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10178"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R e n e w   t h e   c e r t i f i c a t e   e m b e d d e d   i n   t h e   k u b e c o n f i g   f i l e   f o r   t h e   s u p e r - a d m i n . R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m . R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t . A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e . k u b e a d m   c e r t s   r e n e w   s u p e r - a d m i n . c o n f   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l p h e l p   f o r   s u p e r - a d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10179"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   e m b e d d e d   i n   t h e   k u b e c o n f i g   f i l e   f o r   t h e   s u p e r - a d m i n .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   s u p e r - a d m i n . c o n f   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10180"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   s u p e r - a d m i n . c o n f   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10181"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10182"
  },
  {
    "question": "What is kubeadm certs certificate-key?",
    "answer": "T h i s   c o m m a n d   c a n   b e   u s e d   t o   g e n e r a t e   a   n e w   c o n t r o l - p l a n e   c e r t i f i c a t e   k e y .   T h e   k e y   c a n   b e   p a s s e d   a s   - - c e r t i f i c a t e - k e y   t o   k u b e a d m   i n i t   a n d   k u b e a d m   j o i n   t o   e n a b l e   t h e   a u t o m a t i c   c o p y   o f   c e r t i f i c a t e s   w h e n   j o i n i n g   a d d i t i o n a l   c o n t r o l - p l a n e   n o d e s .   G e n e r a t e   c e r t i f i c a t e   k e y s S y n o p s i s T h i s   c o m m a n d   w i l l   p r i n t   o u t   a   s e c u r e   r a n d o m l y - g e n e r a t e d   c e r t i f i c a t e   k e y   t h a t   c a n   b e   u s e d   w i t h   t h e   \" i n i t \"   c o m m a n d . Y o u   c a n   a l s o   u s e   \" k u b e a d m   i n i t   - - u p l o a d - c e r t s \"   w i t h o u t   s p e c i f y i n g   a   c e r t i f i c a t e   k e y   a n d   i t   w i l l   g e n e r a t e   a n d   p r i n t   o n e   f o r   y o u . k u b e a d m   c e r t s   c e r t i f i c a t e - k e y   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   c e r t i f i c a t e - k e y O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   G e n e r a t e   c e r t i f i c a t e   k e y s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_2_10183"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   w i l l   p r i n t   o u t   a   s e c u r e   r a n d o m l y - g e n e r a t e d   c e r t i f i c a t e   k e y   t h a t   c a n   b e   u s e d   w i t h   t h e   \" i n i t \"   c o m m a n d .   Y o u   c a n   a l s o   u s e   \" k u b e a d m   i n i t   - - u p l o a d - c e r t s \"   w i t h o u t   s p e c i f y i n g   a   c e r t i f i c a t e   k e y   a n d   i t   w i l l   g e n e r a t e   a n d   p r i n t   o n e   f o r   y o u .   k u b e a d m   c e r t s   c e r t i f i c a t e - k e y   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10184"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c e r t i f i c a t e - k e y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10185"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10186"
  },
  {
    "question": "What is kubeadm certs check-expiration?",
    "answer": "T h i s   c o m m a n d   c h e c k s   e x p i r a t i o n   f o r   t h e   c e r t i f i c a t e s   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m .   F o r   m o r e   d e t a i l s   s e e   C h e c k   c e r t i f i c a t e   e x p i r a t i o n .   C h e c k   c e r t i f i c a t e s   e x p i r a t i o n   f o r   a   K u b e r n e t e s   c l u s t e r S y n o p s i s C h e c k s   e x p i r a t i o n   f o r   t h e   c e r t i f i c a t e s   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m . k u b e a d m   c e r t s   c h e c k - e x p i r a t i o n   [ f l a g s ]   O p t i o n s - - a l l o w - m i s s i n g - t e m p l a t e - k e y s   D e f a u l t :   t r u e I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s . - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l p h e l p   f o r   c h e c k - e x p i r a t i o n - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e . - o ,   - - o u t p u t   s t r i n g   D e f a u l t :   \" t e x t \" O u t p u t   f o r m a t .   O n e   o f :   t e x t | j s o n | y a m l | g o - t e m p l a t e | g o - t e m p l a t e - f i l e | t e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_2_10187"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C h e c k s   e x p i r a t i o n   f o r   t h e   c e r t i f i c a t e s   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m .   k u b e a d m   c e r t s   c h e c k - e x p i r a t i o n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10188"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   c h e c k - e x p i r a t i o n   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   O u t p u t   f o r m a t .   O n e   o f :   t e x t | j s o n | y a m l | g o - t e m p l a t e | g o - t e m p l a t e - f i l e | t e m p l a t e | t e m p l a t e f i l e | j s o n p a t h | j s o n p a t h - a s - j s o n | j s o n p a t h - f i l e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10189"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10190"
  },
  {
    "question": "What is kubeadm certs generate-csr?",
    "answer": "T h i s   c o m m a n d   c a n   b e   u s e d   t o   g e n e r a t e   k e y s   a n d   C S R s   f o r   a l l   c o n t r o l - p l a n e   c e r t i f i c a t e s   a n d   k u b e c o n f i g   f i l e s .   T h e   u s e r   c a n   t h e n   s i g n   t h e   C S R s   w i t h   a   C A   o f   t h e i r   c h o i c e .   T o   r e a d   m o r e   i n f o r m a t i o n   o n   h o w   t o   u s e   t h e   c o m m a n d   s e e   S i g n i n g   c e r t i f i c a t e   s i g n i n g   r e q u e s t s   ( C S R )   g e n e r a t e d   b y   k u b e a d m .   G e n e r a t e   k e y s   a n d   c e r t i f i c a t e   s i g n i n g   r e q u e s t s S y n o p s i s G e n e r a t e s   k e y s   a n d   c e r t i f i c a t e   s i g n i n g   r e q u e s t s   ( C S R s )   f o r   a l l   t h e   c e r t i f i c a t e s   r e q u i r e d   t o   r u n   t h e   c o n t r o l   p l a n e .   T h i s   c o m m a n d   a l s o   g e n e r a t e s   p a r t i a l   k u b e c o n f i g   f i l e s   w i t h   p r i v a t e   k e y   d a t a   i n   t h e   \" u s e r s   >   u s e r   >   c l i e n t - k e y - d a t a \"   f i e l d ,   a n d   f o r   e a c h   k u b e c o n f i g   f i l e   a n   a c c o m p a n y i n g   \" . c s r \"   f i l e   i s   c r e a t e d . T h i s   c o m m a n d   i s   d e s i g n e d   f o r   u s e   i n   K u b e a d m   E x t e r n a l   C A   M o d e .   I t   g e n e r a t e s   C S R s   w h i c h   y o u   c a n   t h e n   s u b m i t   t o   y o u r   e x t e r n a l   c e r t i f i c a t e   a u t h o r i t y   f o r   s i g n i n g . T h e   P E M   e n c o d e d   s i g n e d   c e r t i f i c a t e s   s h o u l d   t h e n   b e   s a v e d   a l o n g s i d e   t h e   k e y   f i l e s ,   u s i n g   \" . c r t \"   a s   t h e   f i l e   e x t e n s i o n ,   o r   i n   t h e   c a s e   o f   k u b e c o n f i g   f i l e s ,   t h e   P E M   e n c o d e d   s i g n e d   c e r t i f i c a t e   s h o u l d   b ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_2_10191"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e s   k e y s   a n d   c e r t i f i c a t e   s i g n i n g   r e q u e s t s   ( C S R s )   f o r   a l l   t h e   c e r t i f i c a t e s   r e q u i r e d   t o   r u n   t h e   c o n t r o l   p l a n e .   T h i s   c o m m a n d   a l s o   g e n e r a t e s   p a r t i a l   k u b e c o n f i g   f i l e s   w i t h   p r i v a t e   k e y   d a t a   i n   t h e   \" u s e r s   >   u s e r   >   c l i e n t - k e y - d a t a \"   f i e l d ,   a n d   f o r   e a c h   k u b e c o n f i g   f i l e   a n   a c c o m p a n y i n g   \" . c s r \"   f i l e   i s   c r e a t e d .   T h i s   c o m m a n d   i s   d e s i g n e d   f o r   u s e   i n   K u b e a d m   E x t e r n a l   C A   M o d e .   I t   g e n e r a t e s   C S R s   w h i c h   y o u   c a n   t h e n   s u b m i t   t o   y o u r   e x t e r n a l   c e r t i f i c a t e   a u t h o r i t y   f o r   s i g n i n g .   T h e   P E M   e n c o d e d   s i g n e d   c e r t i f i c a t e s   s h o u l d   t h e n   b e   s a v e d   a l o n g s i d e   t h e   k e y   f i l e s ,   u s i n g   \" . c r t \"   a s   t h e   f i l e   e x t e n s i o n ,   o r   i n   t h e   c a s e   o f   k u b e c o n f i g   f i l e s ,   t h e   P E M   e n c o d e d   s i g n e d   c e r t i f i c a t e   s h o u l d   b e   b a s e 6 4   e n c o d e d   a n d   a d d e d   t o   t h e   k u b e c o n f i g   f i l e   i n   t h e   \" u s e r s   >   u s e r   >   c l i e n t - c e r t i f i c a t e - d a t a \"   f i e l d .   k u b e a d m   c e r t s   g e n e r a t e - c s r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10192"
  },
  {
    "question": "What is Examples?",
    "answer": "#   T h e   f o l l o w i n g   c o m m a n d   w i l l   g e n e r a t e   k e y s   a n d   C S R s   f o r   a l l   c o n t r o l - p l a n e   c e r t i f i c a t e s   a n d   k u b e c o n f i g   f i l e s :   k u b e a d m   c e r t s   g e n e r a t e - c s r   - - k u b e c o n f i g - d i r   / t m p / e t c - k 8 s   - - c e r t - d i r   / t m p / e t c - k 8 s / p k i",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10193"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   g e n e r a t e - c s r   T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10194"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_3_10195"
  },
  {
    "question": "What is What's next?",
    "answer": "k u b e a d m   i n i t   t o   b o o t s t r a p   a   K u b e r n e t e s   c o n t r o l - p l a n e   n o d e k u b e a d m   j o i n   t o   c o n n e c t   a   n o d e   t o   t h e   c l u s t e r k u b e a d m   r e s e t   t o   r e v e r t   a n y   c h a n g e s   m a d e   t o   t h i s   h o s t   b y   k u b e a d m   i n i t   o r   k u b e a d m   j o i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-certs/",
    "id": "k8s_00546_section_2_10196"
  },
  {
    "question": "What is VolumeAttributesClass?",
    "answer": "VolumeAttributesClassVolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver.apiVersion: storage.k8s.io/v1import \"k8s.io/api/storage/v1\"VolumeAttributesClassVolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.apiVersion: storage.k8s.io/v1kind: VolumeAttributesClassmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatadriverName (string), requiredName of the CSI driver This field is immutable.parameters (map[string]string)parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field.VolumeAttributesClassListVolumeAttributesClassList is a collection of VolumeAttributesClass objects.apiVersion: storage.k8s.io/v1kind: VolumeAttributesClassListmetadata (ListMeta)Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]VolumeAttributesClass), requireditems is the list of VolumeAttributesClass objects.Operationsget read the specified VolumeAttributesClassHTTP RequestGET /apis/storage.k8s.io/v1/volumeattributesclasses/{name}Parametersname (in path): string, requiredname of the VolumeAttributesClasspretty (in query): stringprettyResponse200 (VolumeAttributesClass): OK401: Unauthorizedlist list or watch objects of kind VolumeAttributesClassHTTP RequestGET /apis/storage.k8s.io/v1/volumeattributesclassesParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (VolumeAttributesClassList): OK401: Unauthorizedcreate create a VolumeAttributesClassHTTP RequestPOST /apis/storage.k8s.io/v1/",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_qa_10197"
  },
  {
    "question": "How does VolumeAttributesClass work?",
    "answer": "VolumeAttributesClassVolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver.apiVersion: storage.k8s.io/v1import \"k8s.io/api/storage/v1\"VolumeAttributesClassVolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.apiVersion: storage.k8s.io/v1kind: VolumeAttributesClassmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatadriverName (string), requiredName of the CSI driver This field is immutable.parameters (map[string]string)parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field.VolumeAttributesClassListVolumeAttributesClassList is a collection of VolumeAttributesClass objects.apiVersion: storage.k8s.io/v1kind: VolumeAttributesClassListmetadata (ListMeta)Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]VolumeAttributesClass), requireditems is the list of VolumeAttributesClass objects.Operationsget read the specified VolumeAttributesClassHTTP RequestGET /apis/storage.k8s.io/v1/volumeattributesclasses/{name}Parametersname (in path): string, requiredname of the VolumeAttributesClasspretty (in query): stringprettyResponse200 (VolumeAttributesClass): OK401: Unauthorizedlist list or watch objects of kind VolumeAttributesClassHTTP RequestGET /apis/storage.k8s.io/v1/volumeattributesclassesParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (VolumeAttributesClassList): OK401: Unauthorizedcreate create a VolumeAttributesClassHTTP RequestPOST /apis/storage.k8s.io/v1/",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_qa_10198"
  },
  {
    "question": "When would you use VolumeAttributesClass?",
    "answer": "VolumeAttributesClassVolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver.apiVersion: storage.k8s.io/v1import \"k8s.io/api/storage/v1\"VolumeAttributesClassVolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.apiVersion: storage.k8s.io/v1kind: VolumeAttributesClassmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatadriverName (string), requiredName of the CSI driver This field is immutable.parameters (map[string]string)parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field.VolumeAttributesClassListVolumeAttributesClassList is a collection of VolumeAttributesClass objects.apiVersion: storage.k8s.io/v1kind: VolumeAttributesClassListmetadata (ListMeta)Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]VolumeAttributesClass), requireditems is the list of VolumeAttributesClass objects.Operationsget read the specified VolumeAttributesClassHTTP RequestGET /apis/storage.k8s.io/v1/volumeattributesclasses/{name}Parametersname (in path): string, requiredname of the VolumeAttributesClasspretty (in query): stringprettyResponse200 (VolumeAttributesClass): OK401: Unauthorizedlist list or watch objects of kind VolumeAttributesClassHTTP RequestGET /apis/storage.k8s.io/v1/volumeattributesclassesParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (VolumeAttributesClassList): OK401: Unauthorizedcreate create a VolumeAttributesClassHTTP RequestPOST /apis/storage.k8s.io/v1/",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_qa_10199"
  },
  {
    "question": "What are the benefits of VolumeAttributesClass?",
    "answer": "VolumeAttributesClassVolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver.apiVersion: storage.k8s.io/v1import \"k8s.io/api/storage/v1\"VolumeAttributesClassVolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.apiVersion: storage.k8s.io/v1kind: VolumeAttributesClassmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatadriverName (string), requiredName of the CSI driver This field is immutable.parameters (map[string]string)parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field.VolumeAttributesClassListVolumeAttributesClassList is a collection of VolumeAttributesClass objects.apiVersion: storage.k8s.io/v1kind: VolumeAttributesClassListmetadata (ListMeta)Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]VolumeAttributesClass), requireditems is the list of VolumeAttributesClass objects.Operationsget read the specified VolumeAttributesClassHTTP RequestGET /apis/storage.k8s.io/v1/volumeattributesclasses/{name}Parametersname (in path): string, requiredname of the VolumeAttributesClasspretty (in query): stringprettyResponse200 (VolumeAttributesClass): OK401: Unauthorizedlist list or watch objects of kind VolumeAttributesClassHTTP RequestGET /apis/storage.k8s.io/v1/volumeattributesclassesParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (VolumeAttributesClassList): OK401: Unauthorizedcreate create a VolumeAttributesClassHTTP RequestPOST /apis/storage.k8s.io/v1/",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_qa_10200"
  },
  {
    "question": "What is VolumeAttributesClass?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / s t o r a g e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_section_1_10201"
  },
  {
    "question": "What is VolumeAttributesClass?",
    "answer": "V o l u m e A t t r i b u t e s C l a s s   r e p r e s e n t s   a   s p e c i f i c a t i o n   o f   m u t a b l e   v o l u m e   a t t r i b u t e s   d e f i n e d   b y   t h e   C S I   d r i v e r .   T h e   c l a s s   c a n   b e   s p e c i f i e d   d u r i n g   d y n a m i c   p r o v i s i o n i n g   o f   P e r s i s t e n t V o l u m e C l a i m s ,   a n d   c h a n g e d   i n   t h e   P e r s i s t e n t V o l u m e C l a i m   s p e c   a f t e r   p r o v i s i o n i n g .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   V o l u m e A t t r i b u t e s C l a s s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a d r i v e r N a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   o f   t h e   C S I   d r i v e r   T h i s   f i e l d   i s   i m m u t a b l e . p a r a m e t e r s   ( m a p [ s t r i n g ] s t r i n g ) p a r a m e t e r s   h o l d   v o l u m e   a t t r i b u t e s   d e f i n e d   b y   t h e   C S I   d r i v e r .   T h e s e   v a l u e s   a r e   o p a q u e   t o   t h e   K u b e r n e t e s   a n d   a r e   p a s s e d   d i r e c t l y   t o   t h e   C S I   d r i v e r .   T h e   u n d e r l y i n g   s t o r a g e   p r o v i d e r   s u p p o r t s   c h a n g i n g   t h e s e   a t t r i b u t e s   o n   a n   e x i s t i n g   v o l u m e ,   h o w e v e r   t h e   p a r a m e t e r s   f i e l d   i t s e l f   i s   i m m u t a b l e .   T o   i n v o k e   a   v o l u m e   u p d a t e ,   a   n e w   V o l u m e A t t r i b u t e s C l a s s   s h o u l d   b e   c r e a t e d   w i t h   n e w   p a r a m e t e r s ,   a n d   t h e   P e r s i s t e n t V o l u m e C l a i m   s h o u l d   b e   u p d a t e d   t o   r e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_section_2_10202"
  },
  {
    "question": "What is VolumeAttributesClassList?",
    "answer": "V o l u m e A t t r i b u t e s C l a s s L i s t   i s   a   c o l l e c t i o n   o f   V o l u m e A t t r i b u t e s C l a s s   o b j e c t s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   V o l u m e A t t r i b u t e s C l a s s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] V o l u m e A t t r i b u t e s C l a s s ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   V o l u m e A t t r i b u t e s C l a s s   o b j e c t s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e A t t r i b u t e s C l a s s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] V o l u m e A t t r i b u t e s C l a s s ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   V o l u m e A t t r i b u t e s C l a s s   o b j e c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_section_2_10203"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_section_4_10204"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t r i b u t e s C l a s s p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t r i b u t e s C l a s s   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_section_4_10205"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t r i b u t e s C l a s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_section_4_10206"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_section_4_10207"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_section_4_10208"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t r i b u t e s C l a s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_section_4_10209"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_section_4_10210"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   V o l u m e A t t r i b u t e s C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   V o l u m e A t t r i b u t e s C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_section_4_10211"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t r i b u t e s C l a s s ) :   O K   2 0 1   ( V o l u m e A t t r i b u t e s C l a s s ) :   C r e a t e d   2 0 2   ( V o l u m e A t t r i b u t e s C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_section_4_10212"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_section_4_10213"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t r i b u t e s C l a s s b o d y :   V o l u m e A t t r i b u t e s C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t r i b u t e s C l a s s   b o d y :   V o l u m e A t t r i b u t e s C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_section_4_10214"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t r i b u t e s C l a s s ) :   O K   2 0 1   ( V o l u m e A t t r i b u t e s C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_section_4_10215"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_section_4_10216"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t r i b u t e s C l a s s b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t r i b u t e s C l a s s   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_section_4_10217"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t r i b u t e s C l a s s ) :   O K   2 0 1   ( V o l u m e A t t r i b u t e s C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_section_4_10218"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_section_4_10219"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t r i b u t e s C l a s s b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t r i b u t e s C l a s s   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_section_4_10220"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t r i b u t e s C l a s s ) :   O K   2 0 2   ( V o l u m e A t t r i b u t e s C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_section_4_10221"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_section_4_10222"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_section_4_10223"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1/",
    "id": "k8s_00547_section_4_10224"
  },
  {
    "question": "What is Declarative API Validation?",
    "answer": "Declarative API ValidationFEATURE STATE: Kubernetes v1.33 [beta]Kubernetes 1.34 includes optional declarative validation for APIs. When enabled, the Kubernetes API server can use this mechanism rather than the legacy approach that relies on hand-written Go code (validation.go files) to ensure that requests against the API are valid. Kubernetes developers, and people extending the Kubernetes API, can define validation rules directly alongside the API type definitions (types.go files). Code authors define pecial comment tags (e.g., +k8s:minimum=0). A code generator (validation-gen) then uses these tags to produce optimized Go code for API validation.While primarily a feature impacting Kubernetes contributors and potentially developers of extension API servers, cluster administrators should understand its behavior, especially during its rollout phases.Declarative validation is being rolled out gradually. In Kubernetes 1.34, the APIs that use declarative validation include:ReplicationControllerNote:For the beta of this feature, Kubernetes is intentionally using a superseded API as a test bed for the change. Future Kubernetes releases may roll this out to more APIs.DeclarativeValidation: (Beta, Default: true) When enabled, the API server runs both the new declarative validation and the old hand-written validation for migrated types/fields. The results are compared internally.DeclarativeValidationTakeover: (Beta, Default: false) This gate determines which validation result is authoritative (i.e., returned to the user and used for admission decisions).Default Behavior (Kubernetes 1.34):With DeclarativeValidation=true and DeclarativeValidationTakeover=false (the default values for the gates), both validation systems run.The results of the hand-written validation are used. The declarative validation runs in a mismatch mode for comparison.Mismatches between the two validation systems are logged by the API server and increment the declarative_validation_mismatch_total metric. This helps developers identify and fix discrepancies during the Beta phase.Cluster upgrades should be safe regarding this feature, as the authoritative validation logic doesn't change by default.Administrators can choose to explicitly enable DeclarativeValidationTakeover=true to make the declarative validation authoritative for migrated fields, typically after verifying stability in their environment (e.g., by monitoring the mismatch metric).Disabling declarative validationAs a cluster administrator, you might consider disabling declarative validation whilst it is still beta, under specific circumstances:Unexpected Validation Behavior: If enabling DeclarativeValidationTakeover leads to unexpected validation errors or allows objects that were previously invalid.Performance Regressions: If monitoring indicates significant latency increases (e.g., in apiserver_request_duration_seconds) correlated with the feature's enablement.High Mismatch Rate: If the declarative_validation_mismatch_tota",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_qa_10225"
  },
  {
    "question": "How does Declarative API Validation work?",
    "answer": "Declarative API ValidationFEATURE STATE: Kubernetes v1.33 [beta]Kubernetes 1.34 includes optional declarative validation for APIs. When enabled, the Kubernetes API server can use this mechanism rather than the legacy approach that relies on hand-written Go code (validation.go files) to ensure that requests against the API are valid. Kubernetes developers, and people extending the Kubernetes API, can define validation rules directly alongside the API type definitions (types.go files). Code authors define pecial comment tags (e.g., +k8s:minimum=0). A code generator (validation-gen) then uses these tags to produce optimized Go code for API validation.While primarily a feature impacting Kubernetes contributors and potentially developers of extension API servers, cluster administrators should understand its behavior, especially during its rollout phases.Declarative validation is being rolled out gradually. In Kubernetes 1.34, the APIs that use declarative validation include:ReplicationControllerNote:For the beta of this feature, Kubernetes is intentionally using a superseded API as a test bed for the change. Future Kubernetes releases may roll this out to more APIs.DeclarativeValidation: (Beta, Default: true) When enabled, the API server runs both the new declarative validation and the old hand-written validation for migrated types/fields. The results are compared internally.DeclarativeValidationTakeover: (Beta, Default: false) This gate determines which validation result is authoritative (i.e., returned to the user and used for admission decisions).Default Behavior (Kubernetes 1.34):With DeclarativeValidation=true and DeclarativeValidationTakeover=false (the default values for the gates), both validation systems run.The results of the hand-written validation are used. The declarative validation runs in a mismatch mode for comparison.Mismatches between the two validation systems are logged by the API server and increment the declarative_validation_mismatch_total metric. This helps developers identify and fix discrepancies during the Beta phase.Cluster upgrades should be safe regarding this feature, as the authoritative validation logic doesn't change by default.Administrators can choose to explicitly enable DeclarativeValidationTakeover=true to make the declarative validation authoritative for migrated fields, typically after verifying stability in their environment (e.g., by monitoring the mismatch metric).Disabling declarative validationAs a cluster administrator, you might consider disabling declarative validation whilst it is still beta, under specific circumstances:Unexpected Validation Behavior: If enabling DeclarativeValidationTakeover leads to unexpected validation errors or allows objects that were previously invalid.Performance Regressions: If monitoring indicates significant latency increases (e.g., in apiserver_request_duration_seconds) correlated with the feature's enablement.High Mismatch Rate: If the declarative_validation_mismatch_tota",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_qa_10226"
  },
  {
    "question": "When would you use Declarative API Validation?",
    "answer": "Declarative API ValidationFEATURE STATE: Kubernetes v1.33 [beta]Kubernetes 1.34 includes optional declarative validation for APIs. When enabled, the Kubernetes API server can use this mechanism rather than the legacy approach that relies on hand-written Go code (validation.go files) to ensure that requests against the API are valid. Kubernetes developers, and people extending the Kubernetes API, can define validation rules directly alongside the API type definitions (types.go files). Code authors define pecial comment tags (e.g., +k8s:minimum=0). A code generator (validation-gen) then uses these tags to produce optimized Go code for API validation.While primarily a feature impacting Kubernetes contributors and potentially developers of extension API servers, cluster administrators should understand its behavior, especially during its rollout phases.Declarative validation is being rolled out gradually. In Kubernetes 1.34, the APIs that use declarative validation include:ReplicationControllerNote:For the beta of this feature, Kubernetes is intentionally using a superseded API as a test bed for the change. Future Kubernetes releases may roll this out to more APIs.DeclarativeValidation: (Beta, Default: true) When enabled, the API server runs both the new declarative validation and the old hand-written validation for migrated types/fields. The results are compared internally.DeclarativeValidationTakeover: (Beta, Default: false) This gate determines which validation result is authoritative (i.e., returned to the user and used for admission decisions).Default Behavior (Kubernetes 1.34):With DeclarativeValidation=true and DeclarativeValidationTakeover=false (the default values for the gates), both validation systems run.The results of the hand-written validation are used. The declarative validation runs in a mismatch mode for comparison.Mismatches between the two validation systems are logged by the API server and increment the declarative_validation_mismatch_total metric. This helps developers identify and fix discrepancies during the Beta phase.Cluster upgrades should be safe regarding this feature, as the authoritative validation logic doesn't change by default.Administrators can choose to explicitly enable DeclarativeValidationTakeover=true to make the declarative validation authoritative for migrated fields, typically after verifying stability in their environment (e.g., by monitoring the mismatch metric).Disabling declarative validationAs a cluster administrator, you might consider disabling declarative validation whilst it is still beta, under specific circumstances:Unexpected Validation Behavior: If enabling DeclarativeValidationTakeover leads to unexpected validation errors or allows objects that were previously invalid.Performance Regressions: If monitoring indicates significant latency increases (e.g., in apiserver_request_duration_seconds) correlated with the feature's enablement.High Mismatch Rate: If the declarative_validation_mismatch_tota",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_qa_10227"
  },
  {
    "question": "What are the benefits of Declarative API Validation?",
    "answer": "Declarative API ValidationFEATURE STATE: Kubernetes v1.33 [beta]Kubernetes 1.34 includes optional declarative validation for APIs. When enabled, the Kubernetes API server can use this mechanism rather than the legacy approach that relies on hand-written Go code (validation.go files) to ensure that requests against the API are valid. Kubernetes developers, and people extending the Kubernetes API, can define validation rules directly alongside the API type definitions (types.go files). Code authors define pecial comment tags (e.g., +k8s:minimum=0). A code generator (validation-gen) then uses these tags to produce optimized Go code for API validation.While primarily a feature impacting Kubernetes contributors and potentially developers of extension API servers, cluster administrators should understand its behavior, especially during its rollout phases.Declarative validation is being rolled out gradually. In Kubernetes 1.34, the APIs that use declarative validation include:ReplicationControllerNote:For the beta of this feature, Kubernetes is intentionally using a superseded API as a test bed for the change. Future Kubernetes releases may roll this out to more APIs.DeclarativeValidation: (Beta, Default: true) When enabled, the API server runs both the new declarative validation and the old hand-written validation for migrated types/fields. The results are compared internally.DeclarativeValidationTakeover: (Beta, Default: false) This gate determines which validation result is authoritative (i.e., returned to the user and used for admission decisions).Default Behavior (Kubernetes 1.34):With DeclarativeValidation=true and DeclarativeValidationTakeover=false (the default values for the gates), both validation systems run.The results of the hand-written validation are used. The declarative validation runs in a mismatch mode for comparison.Mismatches between the two validation systems are logged by the API server and increment the declarative_validation_mismatch_total metric. This helps developers identify and fix discrepancies during the Beta phase.Cluster upgrades should be safe regarding this feature, as the authoritative validation logic doesn't change by default.Administrators can choose to explicitly enable DeclarativeValidationTakeover=true to make the declarative validation authoritative for migrated fields, typically after verifying stability in their environment (e.g., by monitoring the mismatch metric).Disabling declarative validationAs a cluster administrator, you might consider disabling declarative validation whilst it is still beta, under specific circumstances:Unexpected Validation Behavior: If enabling DeclarativeValidationTakeover leads to unexpected validation errors or allows objects that were previously invalid.Performance Regressions: If monitoring indicates significant latency increases (e.g., in apiserver_request_duration_seconds) correlated with the feature's enablement.High Mismatch Rate: If the declarative_validation_mismatch_tota",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_qa_10228"
  },
  {
    "question": "What is Declarative API Validation?",
    "answer": "K u b e r n e t e s   1 . 3 4   i n c l u d e s   o p t i o n a l   d e c l a r a t i v e   v a l i d a t i o n   f o r   A P I s .   W h e n   e n a b l e d ,   t h e   K u b e r n e t e s   A P I   s e r v e r   c a n   u s e   t h i s   m e c h a n i s m   r a t h e r   t h a n   t h e   l e g a c y   a p p r o a c h   t h a t   r e l i e s   o n   h a n d - w r i t t e n   G o   c o d e   ( v a l i d a t i o n . g o   f i l e s )   t o   e n s u r e   t h a t   r e q u e s t s   a g a i n s t   t h e   A P I   a r e   v a l i d .   K u b e r n e t e s   d e v e l o p e r s ,   a n d   p e o p l e   e x t e n d i n g   t h e   K u b e r n e t e s   A P I ,   c a n   d e f i n e   v a l i d a t i o n   r u l e s   d i r e c t l y   a l o n g s i d e   t h e   A P I   t y p e   d e f i n i t i o n s   ( t y p e s . g o   f i l e s ) .   C o d e   a u t h o r s   d e f i n e   p e c i a l   c o m m e n t   t a g s   ( e . g . ,   + k 8 s : m i n i m u m = 0 ) .   A   c o d e   g e n e r a t o r   ( v a l i d a t i o n - g e n )   t h e n   u s e s   t h e s e   t a g s   t o   p r o d u c e   o p t i m i z e d   G o   c o d e   f o r   A P I   v a l i d a t i o n .   W h i l e   p r i m a r i l y   a   f e a t u r e   i m p a c t i n g   K u b e r n e t e s   c o n t r i b u t o r s   a n d   p o t e n t i a l l y   d e v e l o p e r s   o f   e x t e n s i o n   A P I   s e r v e r s ,   c l u s t e r   a d m i n i s t r a t o r s   s h o u l d   u n d e r s t a n d   i t s   b e h a v i o r ,   e s p e c i a l l y   d u r i n g   i t s   r o l l o u t   p h a s e s .   D e c l a r a t i v e   v a l i d a t i o n   i s   b e i n g   r o l l e d   o u t   g r a d u a l l y .   I n   K u b e r n e t e s   1 . 3 4 ,   t h e   A P I s   t h a t   u s e   d e c l a r a t i v e   v a l i d a t i o n   i n c l u d e :   R e p l i c a t i o n C o n t r o l l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_1_10229"
  },
  {
    "question": "What is Note:?",
    "answer": "D e c l a r a t i v e V a l i d a t i o n :   ( B e t a ,   D e f a u l t :   t r u e )   W h e n   e n a b l e d ,   t h e   A P I   s e r v e r   r u n s   b o t h   t h e   n e w   d e c l a r a t i v e   v a l i d a t i o n   a n d   t h e   o l d   h a n d - w r i t t e n   v a l i d a t i o n   f o r   m i g r a t e d   t y p e s / f i e l d s .   T h e   r e s u l t s   a r e   c o m p a r e d   i n t e r n a l l y . D e c l a r a t i v e V a l i d a t i o n T a k e o v e r :   ( B e t a ,   D e f a u l t :   f a l s e )   T h i s   g a t e   d e t e r m i n e s   w h i c h   v a l i d a t i o n   r e s u l t   i s   a u t h o r i t a t i v e   ( i . e . ,   r e t u r n e d   t o   t h e   u s e r   a n d   u s e d   f o r   a d m i s s i o n   d e c i s i o n s ) .   D e f a u l t   B e h a v i o r   ( K u b e r n e t e s   1 . 3 4 ) :   W i t h   D e c l a r a t i v e V a l i d a t i o n = t r u e   a n d   D e c l a r a t i v e V a l i d a t i o n T a k e o v e r = f a l s e   ( t h e   d e f a u l t   v a l u e s   f o r   t h e   g a t e s ) ,   b o t h   v a l i d a t i o n   s y s t e m s   r u n . T h e   r e s u l t s   o f   t h e   h a n d - w r i t t e n   v a l i d a t i o n   a r e   u s e d .   T h e   d e c l a r a t i v e   v a l i d a t i o n   r u n s   i n   a   m i s m a t c h   m o d e   f o r   c o m p a r i s o n . M i s m a t c h e s   b e t w e e n   t h e   t w o   v a l i d a t i o n   s y s t e m s   a r e   l o g g e d   b y   t h e   A P I   s e r v e r   a n d   i n c r e m e n t   t h e   d e c l a r a t i v e _ v a l i d a t i o n _ m i s m a t c h _ t o t a l   m e t r i c .   T h i s   h e l p s   d e v e l o p e r s   i d e n t i f y   a n d   f i x   d i s c r e p a n c i e s   d u r i n g   t h e   B e t a   p h a s e . C l u s t e r   u p g r a d e s   s h o u l d   b e   s a f e   r e g a r d i n g   t h i s   f e a t u r e ,   a s   t h e   a u t h o r i t a t i v e   v a l i d a t i o n   l o g i c   d o e s n ' t   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_4_10230"
  },
  {
    "question": "What is Disabling declarative validation?",
    "answer": "A s   a   c l u s t e r   a d m i n i s t r a t o r ,   y o u   m i g h t   c o n s i d e r   d i s a b l i n g   d e c l a r a t i v e   v a l i d a t i o n   w h i l s t   i t   i s   s t i l l   b e t a ,   u n d e r   s p e c i f i c   c i r c u m s t a n c e s :   U n e x p e c t e d   V a l i d a t i o n   B e h a v i o r :   I f   e n a b l i n g   D e c l a r a t i v e V a l i d a t i o n T a k e o v e r   l e a d s   t o   u n e x p e c t e d   v a l i d a t i o n   e r r o r s   o r   a l l o w s   o b j e c t s   t h a t   w e r e   p r e v i o u s l y   i n v a l i d . P e r f o r m a n c e   R e g r e s s i o n s :   I f   m o n i t o r i n g   i n d i c a t e s   s i g n i f i c a n t   l a t e n c y   i n c r e a s e s   ( e . g . ,   i n   a p i s e r v e r _ r e q u e s t _ d u r a t i o n _ s e c o n d s )   c o r r e l a t e d   w i t h   t h e   f e a t u r e ' s   e n a b l e m e n t . H i g h   M i s m a t c h   R a t e :   I f   t h e   d e c l a r a t i v e _ v a l i d a t i o n _ m i s m a t c h _ t o t a l   m e t r i c   s h o w s   f r e q u e n t   m i s m a t c h e s ,   s u g g e s t i n g   p o t e n t i a l   b u g s   i n   t h e   d e c l a r a t i v e   r u l e s   a f f e c t i n g   t h e   c l u s t e r ' s   w o r k l o a d s ,   e v e n   i f   D e c l a r a t i v e V a l i d a t i o n T a k e o v e r   i s   f a l s e .   T o   r e v e r t   t o   o n l y   u s i n g   h a n d - w r i t t e n   v a l i d a t i o n   ( a s   u s e d   b e f o r e   K u b e r n e t e s   v 1 . 3 3 ) ,   d i s a b l e   t h e   D e c l a r a t i v e V a l i d a t i o n   f e a t u r e   g a t e ,   f o r   e x a m p l e   v i a   c o m m a n d - l i n e   a r g u m e n t s :   ( - - f e a t u r e - g a t e s = D e c l a r a t i v e V a l i d a t i o n = f a l s e ) .   T h i s   a l s o   i m p l i c i t l y   d i s a b l e s   t h e   e f f e c t   o f   D e c l a r a t i v e V a l i d a t i o n T a k e o v e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_2_10231"
  },
  {
    "question": "What is Considerations for downgrade and rollback?",
    "answer": "D i s a b l i n g   t h e   f e a t u r e   a c t s   a s   a   s a f e t y   m e c h a n i s m .   H o w e v e r ,   b e   a w a r e   o f   a   p o t e n t i a l   e d g e   c a s e   ( c o n s i d e r e d   u n l i k e l y   d u e   t o   e x t e n s i v e   t e s t i n g ) :   I f   a   b u g   i n   d e c l a r a t i v e   v a l i d a t i o n   ( w h e n   D e c l a r a t i v e V a l i d a t i o n T a k e o v e r = t r u e )   i n c o r r e c t l y   a l l o w e d   a n   i n v a l i d   o b j e c t   t o   b e   p e r s i s t e d ,   d i s a b l i n g   t h e   f e a t u r e   g a t e s   m i g h t   t h e n   c a u s e   s u b s e q u e n t   u p d a t e s   t o   t h a t   s p e c i f i c   o b j e c t   t o   b e   b l o c k e d   b y   t h e   n o w - a u t h o r i t a t i v e   ( a n d   c o r r e c t )   h a n d - w r i t t e n   v a l i d a t i o n .   R e s o l v i n g   t h i s   m i g h t   r e q u i r e   m a n u a l   c o r r e c t i o n   o f   t h e   s t o r e d   o b j e c t ,   p o t e n t i a l l y   v i a   d i r e c t   e t c d   m o d i f i c a t i o n   i n   r a r e   c a s e s .   F o r   d e t a i l s   o n   m a n a g i n g   f e a t u r e   g a t e s ,   s e e   F e a t u r e   G a t e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_2_10232"
  },
  {
    "question": "What is Declarative validation tag reference?",
    "answer": "T h i s   d o c u m e n t   p r o v i d e s   a   c o m p r e h e n s i v e   r e f e r e n c e   f o r   a l l   a v a i l a b l e   d e c l a r a t i v e   v a l i d a t i o n   t a g s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_2_10233"
  },
  {
    "question": "What is +k8s:eachKey?",
    "answer": "D e s c r i p t i o n :   D e c l a r e s   a   v a l i d a t i o n   f o r   e a c h   k e y   i n   a   m a p .   P a y l o a d :   < v a l i d a t i o n - t a g > :   T h e   t a g   t o   e v a l u a t e   f o r   e a c h   k e y .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : e a c h K e y = + k 8 s : m i n i m u m = 1   M y M a p   m a p [ i n t ] s t r i n g   ` j s o n : \" m y M a p \" `   }   I n   t h i s   e x a m p l e ,   e a c h K e y   i s   u s e d   t o   s p e c i f y   t h a t   t h e   + k 8 s : m i n i m u m   t a g   s h o u l d   b e   a p p l i e d   t o   e a c h   i n t   k e y   i n   M y M a p .   T h i s   m e a n s   t h a t   a l l   k e y s   i n   t h e   m a p   m u s t   b e   > =   1 .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_3_10234"
  },
  {
    "question": "What is +k8s:eachVal?",
    "answer": "D e s c r i p t i o n :   D e c l a r e s   a   v a l i d a t i o n   f o r   e a c h   v a l u e   i n   a   m a p   o r   l i s t .   P a y l o a d :   < v a l i d a t i o n - t a g > :   T h e   t a g   t o   e v a l u a t e   f o r   e a c h   v a l u e .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : e a c h V a l = + k 8 s : m i n i m u m = 1   M y M a p   m a p [ s t r i n g ] i n t   ` j s o n : \" m y M a p \" `   }   I n   t h i s   e x a m p l e ,   e a c h V a l   i s   u s e d   t o   s p e c i f y   t h a t   t h e   + k 8 s : m i n i m u m   t a g   s h o u l d   b e   a p p l i e d   t o   e a c h   e l e m e n t   i n   M y L i s t .   T h i s   m e a n s   t h a t   a l l   f i e l d s   i n   M y S t r u c t   m u s t   b e   > =   1 .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_3_10235"
  },
  {
    "question": "What is +k8s:enum?",
    "answer": "D e s c r i p t i o n :   I n d i c a t e s   t h a t   a   s t r i n g   t y p e   i s   a n   e n u m .   A l l   c o n s t   v a l u e s   o f   t h i s   t y p e   a r e   c o n s i d e r e d   v a l u e s   i n   t h e   e n u m .   U s a g e   E x a m p l e :   F i r s t ,   d e f i n e   a   n e w   s t r i n g   t y p e   a n d   s o m e   c o n s t a n t s   o f   t h a t   t y p e :   / /   + k 8 s : e n u m   t y p e   M y E n u m   s t r i n g   c o n s t   (   M y E n u m A   M y E n u m   =   \" A \"   M y E n u m B   M y E n u m   =   \" B \"   )   T h e n ,   u s e   t h i s   t y p e   i n   a n o t h e r   s t r u c t :   t y p e   M y S t r u c t   s t r u c t   {   M y F i e l d   M y E n u m   ` j s o n : \" m y F i e l d \" `   }   T h e   v a l i d a t i o n   l o g i c   w i l l   e n s u r e   t h a t   M y F i e l d   i s   o n e   o f   t h e   d e f i n e d   e n u m   v a l u e s   ( \" A \"   o r   \" B \" ) .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_3_10236"
  },
  {
    "question": "What is +k8s:forbidden?",
    "answer": "D e s c r i p t i o n :   I n d i c a t e s   t h a t   a   f i e l d   m a y   n o t   b e   s p e c i f i e d .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : f o r b i d d e n   M y F i e l d   s t r i n g   ` j s o n : \" m y F i e l d \" `   }   I n   t h i s   e x a m p l e ,   M y F i e l d   c a n n o t   b e   p r o v i d e d   ( i t   i s   f o r b i d d e n )   w h e n   c r e a t i n g   o r   u p d a t i n g   M y S t r u c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_3_10237"
  },
  {
    "question": "What is +k8s:format?",
    "answer": "D e s c r i p t i o n :   I n d i c a t e s   t h a t   a   s t r i n g   f i e l d   h a s   a   p a r t i c u l a r   f o r m a t .   P a y l o a d s :   k 8 s - i p :   T h i s   f i e l d   h o l d s   a n   I P v 4   o r   I P v 6   a d d r e s s   v a l u e .   I P v 4   o c t e t s   m a y   h a v e   l e a d i n g   z e r o s . k 8 s - l o n g - n a m e :   T h i s   f i e l d   h o l d s   a   K u b e r n e t e s   \" l o n g   n a m e \" ,   a k a   a   \" D N S   s u b d o m a i n \"   v a l u e . k 8 s - s h o r t - n a m e :   T h i s   f i e l d   h o l d s   a   K u b e r n e t e s   \" s h o r t   n a m e \" ,   a k a   a   \" D N S   l a b e l \"   v a l u e .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : f o r m a t = k 8 s - i p   I P A d d r e s s   s t r i n g   ` j s o n : \" i p A d d r e s s \" `   / /   + k 8 s : f o r m a t = k 8 s - l o n g - n a m e   S u b d o m a i n   s t r i n g   ` j s o n : \" s u b d o m a i n \" `   / /   + k 8 s : f o r m a t = k 8 s - s h o r t - n a m e   L a b e l   s t r i n g   ` j s o n : \" l a b e l \" `   }   I n   t h i s   e x a m p l e :   I P A d d r e s s   m u s t   b e   a   v a l i d   I P   a d d r e s s . S u b d o m a i n   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n . L a b e l   m u s t   b e   a   v a l i d   D N S   l a b e l .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_3_10238"
  },
  {
    "question": "What is +k8s:ifDisabled?",
    "answer": "D e s c r i p t i o n :   D e c l a r e s   a   v a l i d a t i o n   t h a t   o n l y   a p p l i e s   w h e n   a n   o p t i o n   i s   d i s a b l e d .   A r g u m e n t s :   < o p t i o n >   ( s t r i n g ,   r e q u i r e d ) :   T h e   n a m e   o f   t h e   o p t i o n .   P a y l o a d :   < v a l i d a t i o n - t a g > :   T h i s   v a l i d a t i o n   t a g   w i l l   b e   e v a l u a t e d   o n l y   i f   t h e   v a l i d a t i o n   o p t i o n   i s   d i s a b l e d .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : i f D i s a b l e d ( \" m y - f e a t u r e \" ) = + k 8 s : r e q u i r e d   M y F i e l d   s t r i n g   ` j s o n : \" m y F i e l d \" `   }   I n   t h i s   e x a m p l e ,   M y F i e l d   i s   r e q u i r e d   o n l y   i f   t h e   \" m y - f e a t u r e \"   o p t i o n   i s   d i s a b l e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_3_10239"
  },
  {
    "question": "What is +k8s:ifEnabled?",
    "answer": "D e s c r i p t i o n :   D e c l a r e s   a   v a l i d a t i o n   t h a t   o n l y   a p p l i e s   w h e n   a n   o p t i o n   i s   e n a b l e d .   A r g u m e n t s :   < o p t i o n >   ( s t r i n g ,   r e q u i r e d ) :   T h e   n a m e   o f   t h e   o p t i o n .   P a y l o a d :   < v a l i d a t i o n - t a g > :   T h i s   v a l i d a t i o n   t a g   w i l l   b e   e v a l u a t e d   o n l y   i f   t h e   v a l i d a t i o n   o p t i o n   i s   e n a b l e d .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : i f E n a b l e d ( \" m y - f e a t u r e \" ) = + k 8 s : r e q u i r e d   M y F i e l d   s t r i n g   ` j s o n : \" m y F i e l d \" `   }   I n   t h i s   e x a m p l e ,   M y F i e l d   i s   r e q u i r e d   o n l y   i f   t h e   \" m y - f e a t u r e \"   o p t i o n   i s   e n a b l e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_3_10240"
  },
  {
    "question": "What is +k8s:isSubresource?",
    "answer": "D e s c r i p t i o n :   T h e   + k 8 s : i s S u b r e s o u r c e   t a g   i s   a   p a c k a g e - l e v e l   c o m m e n t   t h a t   s c o p e s   t h e   v a l i d a t i o n   r u l e s   w i t h i n   t h a t   p a c k a g e   t o   a   s p e c i f i c   s u b r e s o u r c e .   I t   e s s e n t i a l l y   t e l l s   t h e   c o d e   g e n e r a t o r ,   \" T h e   v a l i d a t i o n   l o g i c   d e f i n e d   h e r e   i s   t h e   s p e c i f i c   i m p l e m e n t a t i o n   f o r   t h i s   s u b r e s o u r c e   a n d   s h o u l d   n o t   b e   a p p l i e d   t o   t h e   r o o t   o b j e c t   o r   a n y   o t h e r   s u b r e s o u r c e . \"   C R I T I C A L   D E P E N D E N C Y :   T h i s   t a g   i s   d e p e n d e n t   o n   a   c o r r e s p o n d i n g   + k 8 s : s u p p o r t s S u b r e s o u r c e   t a g   b e i n g   p r e s e n t   i n   t h e   p a c k a g e   w h e r e   t h e   m a i n   A P I   t y p e   i s   d e f i n e d .   + k 8 s : s u p p o r t s S u b r e s o u r c e   o p e n s   t h e   d o o r   b y   t e l l i n g   t h e   d i s p a t c h e r   t h a t   a   s u b r e s o u r c e   i s   v a l i d . + k 8 s : i s S u b r e s o u r c e   p r o v i d e s   t h e   s p e c i a l i z e d   v a l i d a t i o n   l o g i c   t h a t   r u n s   w h e n   a   r e q u e s t   c o m e s   t h r o u g h   t h a t   d o o r .   I f   y o u   u s e   + k 8 s : i s S u b r e s o u r c e   w i t h o u t   t h e   c o r r e s p o n d i n g   + k 8 s : s u p p o r t s S u b r e s o u r c e   d e c l a r a t i o n   o n   t h e   m a i n   t y p e ,   t h e   s p e c i a l i z e d   v a l i d a t i o n   c o d e   w i l l   b e   g e n e r a t e d   b u t   w i l l   b e   u n r e a c h a b l e .   T h e   m a i n   d i s p a t c h e r   w i l l   n o t   r e c o g n i z e   t h e   s u b r e s o u r c e   p a t h   a n d   w i l l   r e j e c t   t h e   r e q u e s t   b e f o r e   i t   c a n   b e   r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_3_10241"
  },
  {
    "question": "What is +k8s:item?",
    "answer": "D e s c r i p t i o n :   D e c l a r e s   a   v a l i d a t i o n   f o r   a n   i t e m   o f   a   s l i c e   d e c l a r e d   a s   a   + k 8 s : l i s t T y p e = m a p .   T h e   i t e m   t o   m a t c h   i s   d e c l a r e d   b y   p r o v i d i n g   f i e l d - v a l u e   p a i r   a r g u m e n t s   w h e r e   t h e   f i e l d   i s   a   l i s t M a p K e y .   A l l   l i s t M a p K e y   k e y   f i e l d s   m u s t   b e   s p e c i f i e d .   U s a g e :   + k 8 s : i t e m ( < l i s t M a p K e y - J S O N - f i e l d - n a m e > :   < v a l u e > , . . . ) = < v a l i d a t i o n - t a g >   + k 8 s : i t e m ( s t r i n g K e y :   \" v a l u e \" ,   i n t K e y :   4 2 ,   b o o l K e y :   t r u e ) = < v a l i d a t i o n - t a g >   A r g u m e n t s   m u s t   b e   n a m e d   w i t h   t h e   J S O N   n a m e s   o f   t h e   l i s t - m a p   k e y   f i e l d s .   V a l u e s   c a n   b e   s t r i n g s ,   i n t e g e r s ,   o r   b o o l e a n s .   P a y l o a d :   < v a l i d a t i o n - t a g > :   T h e   t a g   t o   e v a l u a t e   f o r   t h e   m a t c h i n g   l i s t   i t e m .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : l i s t T y p e = m a p   / /   + k 8 s : l i s t M a p K e y = t y p e   / /   + k 8 s : i t e m ( t y p e :   \" A p p r o v e d \" ) = + k 8 s : z e r o O r O n e O f M e m b e r   / /   + k 8 s : i t e m ( t y p e :   \" D e n i e d \" ) = + k 8 s : z e r o O r O n e O f M e m b e r   M y C o n d i t i o n s   [ ] M y C o n d i t i o n   ` j s o n : \" c o n d i t i o n s \" `   }   t y p e   M y C o n d i t i o n   s t r u c t   {   T y p e   s t r i n g   ` j s o n : \" t y p e \" `   S t a t u s   s t r i n g   ` j s o n : \" s t a t u s \" `   }   I n   t h i s   e x a m p l e :   T h e   c o n d i t i o n   w i t h   t y p e   \" A p p r o v e d \"   i s   p a r t   o f   a   z e r o - o r - o n e - o f   g r o u p . T h e   c o n d i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_3_10242"
  },
  {
    "question": "What is +k8s:listMapKey?",
    "answer": "D e s c r i p t i o n :   D e c l a r e s   a   n a m e d   s u b - f i e l d   o f   a   l i s t ' s   v a l u e - t y p e   t o   b e   p a r t   o f   t h e   l i s t - m a p   k e y .   T h i s   t a g   i s   r e q u i r e d   w h e n   + k 8 s : l i s t T y p e = m a p   i s   u s e d .   M u l t i p l e   + k 8 s : l i s t M a p K e y   t a g s   c a n   b e   u s e d   o n   a   l i s t - m a p   t o   s p e c i f y   t h a t   i t   i s   k e y e d   o f f   o f   m u l t i p l e   f i e l d s .   P a y l o a d :   < f i e l d - j s o n - n a m e > :   T h e   J S O N   n a m e   o f   t h e   f i e l d   t o   b e   u s e d   a s   t h e   k e y .   U s a g e   E x a m p l e :   / /   + k 8 s : l i s t T y p e = m a p   / /   + k 8 s : l i s t M a p K e y = k e y F i e l d O n e   / /   + k 8 s : l i s t M a p K e y = k e y F i e l d T w o   t y p e   M y L i s t   [ ] M y S t r u c t   t y p e   M y S t r u c t   s t r u c t   {   k e y F i e l d O n e   s t r i n g   ` j s o n : \" k e y F i e l d O n e \" `   k e y F i e l d T w o   s t r i n g   ` j s o n : \" k e y F i e l d T w o \" `   v a l u e F i e l d   s t r i n g   ` j s o n : \" v a l u e F i e l d \" `   }   I n   t h i s   e x a m p l e ,   l i s t M a p K e y   i s   u s e d   t o   s p e c i f y   t h a t   t h e   k e y F i e l d   o f   M y S t r u c t   s h o u l d   b e   u s e d   a s   t h e   k e y   f o r   t h e   l i s t - m a p .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_3_10243"
  },
  {
    "question": "What is +k8s:listType?",
    "answer": "D e s c r i p t i o n :   D e c l a r e s   a   l i s t   f i e l d ' s   s e m a n t i c   t y p e .   T h i s   t a g   i s   u s e d   t o   s p e c i f y   h o w   a   l i s t   s h o u l d   b e   t r e a t e d ,   f o r   e x a m p l e ,   a s   a   m a p   o r   a   s e t .   P a y l o a d :   a t o m i c :   T h e   l i s t   i s   t r e a t e d   a s   a   s i n g l e   a t o m i c   v a l u e . m a p :   T h e   l i s t   i s   t r e a t e d   a s   a   m a p ,   w h e r e   e a c h   e l e m e n t   h a s   a   u n i q u e   k e y .   R e q u i r e s   t h e   u s e   o f   + k 8 s : l i s t M a p K e y . s e t :   T h e   l i s t   i s   t r e a t e d   a s   a   s e t ,   w h e r e   e a c h   e l e m e n t   i s   u n i q u e .   U s a g e   E x a m p l e :   / /   + k 8 s : l i s t T y p e = m a p   / /   + k 8 s : l i s t M a p K e y = k e y F i e l d   t y p e   M y L i s t   [ ] M y S t r u c t   t y p e   M y S t r u c t   s t r u c t   {   k e y F i e l d   s t r i n g   ` j s o n : \" k e y F i e l d \" `   v a l u e F i e l d   s t r i n g   ` j s o n : \" v a l u e F i e l d \" `   }   I n   t h i s   e x a m p l e ,   M y L i s t   i s   d e c l a r e d   a s   a   l i s t   o f   t y p e   m a p ,   w i t h   k e y F i e l d   a s   t h e   k e y .   T h i s   m e a n s   t h a t   t h e   v a l i d a t i o n   l o g i c   w i l l   e n s u r e   t h a t   e a c h   e l e m e n t   i n   t h e   l i s t   h a s   a   u n i q u e   k e y F i e l d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_3_10244"
  },
  {
    "question": "What is +k8s:maxItems?",
    "answer": "D e s c r i p t i o n :   I n d i c a t e s   t h a t   a   l i s t   f i e l d   h a s   a   l i m i t   o n   i t s   s i z e .   P a y l o a d :   < n o n - n e g a t i v e   i n t e g e r > :   T h i s   f i e l d   m u s t   b e   n o   m o r e   t h a n   X   i t e m s   l o n g .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : m a x I t e m s = 5   M y L i s t   [ ] s t r i n g   ` j s o n : \" m y L i s t \" `   }   I n   t h i s   e x a m p l e ,   M y L i s t   c a n n o t   c o n t a i n   m o r e   t h a n   5   i t e m s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_3_10245"
  },
  {
    "question": "What is +k8s:maxLength?",
    "answer": "D e s c r i p t i o n :   I n d i c a t e s   t h a t   a   s t r i n g   f i e l d   h a s   a   l i m i t   o n   i t s   l e n g t h .   P a y l o a d :   < n o n - n e g a t i v e   i n t e g e r > :   T h i s   f i e l d   m u s t   b e   n o   m o r e   t h a n   X   c h a r a c t e r s   l o n g .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : m a x L e n g t h = 1 0   M y S t r i n g   s t r i n g   ` j s o n : \" m y S t r i n g \" `   }   I n   t h i s   e x a m p l e ,   M y S t r i n g   c a n n o t   b e   l o n g e r   t h a n   1 0   c h a r a c t e r s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_3_10246"
  },
  {
    "question": "What is +k8s:minimum?",
    "answer": "D e s c r i p t i o n :   I n d i c a t e s   t h a t   a   n u m e r i c   f i e l d   h a s   a   m i n i m u m   v a l u e .   P a y l o a d :   < i n t e g e r > :   T h i s   f i e l d   m u s t   b e   g r e a t e r   t h a n   o r   e q u a l   t o   x .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : m i n i m u m = 0   M y I n t   i n t   ` j s o n : \" m y I n t \" `   }   I n   t h i s   e x a m p l e ,   M y I n t   m u s t   b e   g r e a t e r   t h a n   o r   e q u a l   t o   0 .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_3_10247"
  },
  {
    "question": "What is +k8s:neq?",
    "answer": "D e s c r i p t i o n :   V e r i f i e s   t h e   f i e l d ' s   v a l u e   i s   n o t   e q u a l   t o   a   s p e c i f i c   d i s a l l o w e d   v a l u e .   S u p p o r t s   s t r i n g ,   i n t e g e r ,   a n d   b o o l e a n   t y p e s .   P a y l o a d :   < v a l u e > :   T h e   d i s a l l o w e d   v a l u e .   T h e   p a r s e r   w i l l   i n f e r   t h e   t y p e   ( s t r i n g ,   i n t ,   b o o l ) .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : n e q = \" d i s a l l o w e d \"   M y S t r i n g   s t r i n g   ` j s o n : \" m y S t r i n g \" `   / /   + k 8 s : n e q = 0   M y I n t   i n t   ` j s o n : \" m y I n t \" `   / /   + k 8 s : n e q = t r u e   M y B o o l   b o o l   ` j s o n : \" m y B o o l \" `   }   I n   t h i s   e x a m p l e :   M y S t r i n g   c a n n o t   b e   e q u a l   t o   \" d i s a l l o w e d \" . M y I n t   c a n n o t   b e   e q u a l   t o   0 . M y B o o l   c a n n o t   b e   e q u a l   t o   t r u e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_3_10248"
  },
  {
    "question": "What is +k8s:opaqueType?",
    "answer": "D e s c r i p t i o n :   I n d i c a t e s   t h a t   a n y   v a l i d a t i o n s   d e c l a r e d   o n   t h e   r e f e r e n c e d   t y p e   w i l l   b e   i g n o r e d .   I f   a   r e f e r e n c e d   t y p e ' s   p a c k a g e   i s   n o t   i n c l u d e d   i n   t h e   g e n e r a t o r ' s   c u r r e n t   f l a g s ,   t h i s   t a g   m u s t   b e   s e t ,   o r   c o d e   g e n e r a t i o n   w i l l   f a i l   ( p r e v e n t i n g   s i l e n t   m i s t a k e s ) .   I f   t h e   v a l i d a t i o n s   s h o u l d   n o t   b e   i g n o r e d ,   a d d   t h e   t y p e ' s   p a c k a g e   t o   t h e   g e n e r a t o r   u s i n g   t h e   - - r e a d o n l y - p k g   f l a g .   U s a g e   E x a m p l e :   i m p o r t   \" s o m e / e x t e r n a l / p a c k a g e \"   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : o p a q u e T y p e   E x t e r n a l F i e l d   p a c k a g e . E x t e r n a l T y p e   ` j s o n : \" e x t e r n a l F i e l d \" `   }   I n   t h i s   e x a m p l e ,   a n y   v a l i d a t i o n   t a g s   o n   p a c k a g e . E x t e r n a l T y p e   w i l l   b e   i g n o r e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_3_10249"
  },
  {
    "question": "What is +k8s:optional?",
    "answer": "D e s c r i p t i o n :   I n d i c a t e s   t h a t   a   f i e l d   i s   o p t i o n a l   t o   c l i e n t s .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : o p t i o n a l   M y F i e l d   s t r i n g   ` j s o n : \" m y F i e l d \" `   }   I n   t h i s   e x a m p l e ,   M y F i e l d   i s   n o t   r e q u i r e d   t o   b e   p r o v i d e d   w h e n   c r e a t i n g   o r   u p d a t i n g   M y S t r u c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_3_10250"
  },
  {
    "question": "What is +k8s:required?",
    "answer": "D e s c r i p t i o n :   I n d i c a t e s   t h a t   a   f i e l d   m u s t   b e   s p e c i f i e d   b y   c l i e n t s .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : r e q u i r e d   M y F i e l d   s t r i n g   ` j s o n : \" m y F i e l d \" `   }   I n   t h i s   e x a m p l e ,   M y F i e l d   m u s t   b e   p r o v i d e d   w h e n   c r e a t i n g   o r   u p d a t i n g   M y S t r u c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_3_10251"
  },
  {
    "question": "What is +k8s:subfield?",
    "answer": "D e s c r i p t i o n :   D e c l a r e s   a   v a l i d a t i o n   f o r   a   s u b f i e l d   o f   a   s t r u c t .   A r g u m e n t s :   < f i e l d - j s o n - n a m e >   ( s t r i n g ,   r e q u i r e d ) :   T h e   J S O N   n a m e   o f   t h e   s u b f i e l d .   P a y l o a d :   < v a l i d a t i o n - t a g > :   T h e   t a g   t o   e v a l u a t e   f o r   t h e   s u b f i e l d .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : s u b f i e l d ( \" m y S u b f i e l d \" ) = + k 8 s : r e q u i r e d   M y S t r u c t   M y S t r u c t   ` j s o n : \" M y S t r u c t \" `   }   t y p e   M y S t r u c t   s t r u c t   {   M y S u b f i e l d   s t r i n g   ` j s o n : \" m y S u b f i e l d \" `   }   I n   t h i s   e x a m p l e ,   M y S u b f i e l d   w i t h i n   M y S t r u c t   i s   r e q u i r e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_3_10252"
  },
  {
    "question": "What is +k8s:supportsSubresource?",
    "answer": "D e s c r i p t i o n :   T h e   + k 8 s : s u p p o r t s S u b r e s o u r c e   t a g   i s   a   p a c k a g e - l e v e l   c o m m e n t   t a g   t h a t   d e c l a r e s   w h i c h   s u b r e s o u r c e s   a r e   v a l i d   t a r g e t s   f o r   v a l i d a t i o n   f o r   t h e   t y p e s   w i t h i n   t h a t   p a c k a g e .   T h i n k   o f   t h i s   t a g   a s   r e g i s t e r i n g   a n   e n d p o i n t ;   i t   t e l l s   t h e   v a l i d a t i o n   f r a m e w o r k   t h a t   a   s p e c i f i c   s u b r e s o u r c e   p a t h   i s   r e c o g n i z e d   a n d   s h o u l d   n o t   b e   i m m e d i a t e l y   r e j e c t e d .   W h e n   t h e   v a l i d a t i o n   c o d e   i s   g e n e r a t e d ,   t h i s   t a g   a d d s   t h e   s p e c i f i e d   s u b r e s o u r c e   p a t h   t o   t h e   m a i n   d i s p a t c h   f u n c t i o n   f o r   a   t y p e .   T h i s   a l l o w s   i n c o m i n g   r e q u e s t s   f o r   t h a t   s u b r e s o u r c e   t o   b e   r o u t e d   t o   a   v a l i d a t i o n   i m p l e m e n t a t i o n .   M u l t i p l e   t a g s   c a n   b e   u s e d   t o   d e c l a r e   s u p p o r t   f o r   s e v e r a l   s u b r e s o u r c e s .   I f   n o   + k 8 s : s u p p o r t s S u b r e s o u r c e   t a g s   a r e   p r e s e n t   i n   a   p a c k a g e ,   v a l i d a t i o n   i s   o n l y   e n a b l e d   f o r   t h e   r o o t   r e s o u r c e   ( e . g . ,   . . . / m y r e s o u r c e s / m y o b j e c t ) ,   a n d   a n y   r e q u e s t s   t o   s u b r e s o u r c e s   w i l l   f a i l   w i t h   a   \" n o   v a l i d a t i o n   f o u n d \"   e r r o r .   S t a n d a l o n e   U s a g e :   I f   y o u   u s e   + k 8 s : s u p p o r t s S u b r e s o u r c e   w i t h o u t   a   c o r r e s p o n d i n g   + k 8 s : i s S u b r e s o u r c e   t a g   f o r   a   s p e c i f i c   v a l i d a t i o n ,   t h e   v a l i d a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_3_10253"
  },
  {
    "question": "What is +k8s:unionDiscriminator?",
    "answer": "D e s c r i p t i o n :   I n d i c a t e s   t h a t   t h i s   f i e l d   i s   t h e   d i s c r i m i n a t o r   f o r   a   u n i o n .   A r g u m e n t s :   u n i o n   ( s t r i n g ,   o p t i o n a l ) :   T h e   n a m e   o f   t h e   u n i o n ,   i f   m o r e   t h a n   o n e   e x i s t s .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   T y p e M e t a   i n t   / /   + k 8 s : u n i o n D i s c r i m i n a t o r   D   D   ` j s o n : \" d \" `   / /   + k 8 s : u n i o n M e m b e r   / /   + k 8 s : o p t i o n a l   M 1   * M 1   ` j s o n : \" m 1 \" `   / /   + k 8 s : u n i o n M e m b e r   / /   + k 8 s : o p t i o n a l   M 2   * M 2   ` j s o n : \" m 2 \" `   }   t y p e   D   s t r i n g   c o n s t   (   D M 1   D   =   \" M 1 \"   D M 2   D   =   \" M 2 \"   )   t y p e   M 1   s t r u c t { }   t y p e   M 2   s t r u c t { }   I n   t h i s   e x a m p l e ,   t h e   T y p e   f i e l d   i s   t h e   d i s c r i m i n a t o r   f o r   t h e   u n i o n .   T h e   v a l u e   o f   T y p e   w i l l   d e t e r m i n e   w h i c h   o f   t h e   u n i o n   m e m b e r s   ( M 1   o r   M 2 )   i s   e x p e c t e d   t o   b e   p r e s e n t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_3_10254"
  },
  {
    "question": "What is +k8s:unionMember?",
    "answer": "D e s c r i p t i o n :   I n d i c a t e s   t h a t   t h i s   f i e l d   i s   a   m e m b e r   o f   a   u n i o n .   A r g u m e n t s :   u n i o n   ( s t r i n g ,   o p t i o n a l ) :   T h e   n a m e   o f   t h e   u n i o n ,   i f   m o r e   t h a n   o n e   e x i s t s . m e m b e r N a m e   ( s t r i n g ,   o p t i o n a l ) :   T h e   d i s c r i m i n a t o r   v a l u e   f o r   t h i s   m e m b e r .   D e f a u l t s   t o   t h e   f i e l d ' s   n a m e .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : u n i o n M e m b e r ( u n i o n :   \" u n i o n 1 \" )   / /   + k 8 s : o p t i o n a l   M 1   * M 1   ` j s o n : \" u 1 m 1 \" `   / /   + k 8 s : u n i o n M e m b e r ( u n i o n :   \" u n i o n 1 \" )   / /   + k 8 s : o p t i o n a l   M 2   * M 2   ` j s o n : \" u 1 m 2 \" `   }   t y p e   M 1   s t r u c t { }   t y p e   M 2   s t r u c t { }   I n   t h i s   e x a m p l e ,   M 1   a n d   M 2   a r e   m e m b e r s   o f   t h e   n a m e d   u n i o n   u n i o n 1 .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_3_10255"
  },
  {
    "question": "What is +k8s:zeroOrOneOfMember?",
    "answer": "D e s c r i p t i o n :   I n d i c a t e s   t h a t   t h i s   f i e l d   i s   a   m e m b e r   o f   a   z e r o - o r - o n e - o f   u n i o n .   A   z e r o - o r - o n e - o f   u n i o n   a l l o w s   a t   m o s t   o n e   m e m b e r   t o   b e   s e t .   U n l i k e   r e g u l a r   u n i o n s ,   h a v i n g   n o   m e m b e r s   s e t   i s   v a l i d .   A r g u m e n t s :   u n i o n   ( s t r i n g ,   o p t i o n a l ) :   T h e   n a m e   o f   t h e   u n i o n ,   i f   m o r e   t h a n   o n e   e x i s t s . m e m b e r N a m e   ( s t r i n g ,   o p t i o n a l ) :   T h e   c u s t o m   m e m b e r   n a m e   f o r   t h i s   m e m b e r .   D e f a u l t s   t o   t h e   f i e l d ' s   n a m e .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : z e r o O r O n e O f M e m b e r   / /   + k 8 s : o p t i o n a l   M 1   * M 1   ` j s o n : \" m 1 \" `   / /   + k 8 s : z e r o O r O n e O f M e m b e r   / /   + k 8 s : o p t i o n a l   M 2   * M 2   ` j s o n : \" m 2 \" `   }   t y p e   M 1   s t r u c t { }   t y p e   M 2   s t r u c t { }   I n   t h i s   e x a m p l e ,   a t   m o s t   o n e   o f   A   o r   B   c a n   b e   s e t .   I t   i s   a l s o   v a l i d   f o r   n e i t h e r   t o   b e   s e t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/declarative-validation/",
    "id": "k8s_00548_section_3_10256"
  },
  {
    "question": "What is Ingress?",
    "answer": "IngressMake your HTTP (or HTTPS) network service available using a protocol-aware configuration mechanism, that understands web concepts like URIs, hostnames, paths, and more. The Ingress concept lets you map traffic to different backends based on rules you define via the Kubernetes API.FEATURE STATE: Kubernetes v1.19 [stable]An API object that manages external access to the services in a cluster, typically HTTP.Ingress may provide load balancing, SSL termination and name-based virtual hosting.Note:Ingress is frozen. New features are being added to the Gateway API.TerminologyFor clarity, this guide defines the following terms:Node: A worker machine in Kubernetes, part of a cluster.Cluster: A set of Nodes that run containerized applications managed by Kubernetes. For this example, and in most common Kubernetes deployments, nodes in the cluster are not part of the public internet.Edge router: A router that enforces the firewall policy for your cluster. This could be a gateway managed by a cloud provider or a physical piece of hardware.Cluster network: A set of links, logical or physical, that facilitate communication within a cluster according to the Kubernetes networking model.Service: A Kubernetes Service that identifies a set of Pods using label selectors. Unless mentioned otherwise, Services are assumed to have virtual IPs only routable within the cluster network.What is Ingress?Ingress exposes HTTP and HTTPS routes from outside the cluster to services within the cluster. Traffic routing is controlled by rules defined on the Ingress resource.Here is a simple example where an Ingress sends all its traffic to one Service:Figure. IngressAn Ingress may be configured to give Services externally-reachable URLs, load balance traffic, terminate SSL / TLS, and offer name-based virtual hosting. An Ingress controller is responsible for fulfilling the Ingress, usually with a load balancer, though it may also configure your edge router or additional frontends to help handle the traffic.An Ingress does not expose arbitrary ports or protocols. Exposing services other than HTTP and HTTPS to the internet typically uses a service of type Service.Type=NodePort or Service.Type=LoadBalancer.PrerequisitesYou must have an Ingress controller to satisfy an Ingress. Only creating an Ingress resource has no effect.You may need to deploy an Ingress controller such as ingress-nginx. You can choose from a number of Ingress controllers.Ideally, all Ingress controllers should fit the reference specification. In reality, the various Ingress controllers operate slightly differently.Note:Make sure you review your Ingress controller's documentation to understand the caveats of choosing it.The Ingress resourceA minimal Ingress resource example:service/networking/minimal-ingress.yaml apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: minimal-ingress annotations: nginx.ingress.kubernetes.io/rewrite-target: / spec: ingressClassName: nginx-example rules: - http: paths: - p",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_qa_10257"
  },
  {
    "question": "How does Ingress work?",
    "answer": "IngressMake your HTTP (or HTTPS) network service available using a protocol-aware configuration mechanism, that understands web concepts like URIs, hostnames, paths, and more. The Ingress concept lets you map traffic to different backends based on rules you define via the Kubernetes API.FEATURE STATE: Kubernetes v1.19 [stable]An API object that manages external access to the services in a cluster, typically HTTP.Ingress may provide load balancing, SSL termination and name-based virtual hosting.Note:Ingress is frozen. New features are being added to the Gateway API.TerminologyFor clarity, this guide defines the following terms:Node: A worker machine in Kubernetes, part of a cluster.Cluster: A set of Nodes that run containerized applications managed by Kubernetes. For this example, and in most common Kubernetes deployments, nodes in the cluster are not part of the public internet.Edge router: A router that enforces the firewall policy for your cluster. This could be a gateway managed by a cloud provider or a physical piece of hardware.Cluster network: A set of links, logical or physical, that facilitate communication within a cluster according to the Kubernetes networking model.Service: A Kubernetes Service that identifies a set of Pods using label selectors. Unless mentioned otherwise, Services are assumed to have virtual IPs only routable within the cluster network.What is Ingress?Ingress exposes HTTP and HTTPS routes from outside the cluster to services within the cluster. Traffic routing is controlled by rules defined on the Ingress resource.Here is a simple example where an Ingress sends all its traffic to one Service:Figure. IngressAn Ingress may be configured to give Services externally-reachable URLs, load balance traffic, terminate SSL / TLS, and offer name-based virtual hosting. An Ingress controller is responsible for fulfilling the Ingress, usually with a load balancer, though it may also configure your edge router or additional frontends to help handle the traffic.An Ingress does not expose arbitrary ports or protocols. Exposing services other than HTTP and HTTPS to the internet typically uses a service of type Service.Type=NodePort or Service.Type=LoadBalancer.PrerequisitesYou must have an Ingress controller to satisfy an Ingress. Only creating an Ingress resource has no effect.You may need to deploy an Ingress controller such as ingress-nginx. You can choose from a number of Ingress controllers.Ideally, all Ingress controllers should fit the reference specification. In reality, the various Ingress controllers operate slightly differently.Note:Make sure you review your Ingress controller's documentation to understand the caveats of choosing it.The Ingress resourceA minimal Ingress resource example:service/networking/minimal-ingress.yaml apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: minimal-ingress annotations: nginx.ingress.kubernetes.io/rewrite-target: / spec: ingressClassName: nginx-example rules: - http: paths: - p",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_qa_10258"
  },
  {
    "question": "When would you use Ingress?",
    "answer": "IngressMake your HTTP (or HTTPS) network service available using a protocol-aware configuration mechanism, that understands web concepts like URIs, hostnames, paths, and more. The Ingress concept lets you map traffic to different backends based on rules you define via the Kubernetes API.FEATURE STATE: Kubernetes v1.19 [stable]An API object that manages external access to the services in a cluster, typically HTTP.Ingress may provide load balancing, SSL termination and name-based virtual hosting.Note:Ingress is frozen. New features are being added to the Gateway API.TerminologyFor clarity, this guide defines the following terms:Node: A worker machine in Kubernetes, part of a cluster.Cluster: A set of Nodes that run containerized applications managed by Kubernetes. For this example, and in most common Kubernetes deployments, nodes in the cluster are not part of the public internet.Edge router: A router that enforces the firewall policy for your cluster. This could be a gateway managed by a cloud provider or a physical piece of hardware.Cluster network: A set of links, logical or physical, that facilitate communication within a cluster according to the Kubernetes networking model.Service: A Kubernetes Service that identifies a set of Pods using label selectors. Unless mentioned otherwise, Services are assumed to have virtual IPs only routable within the cluster network.What is Ingress?Ingress exposes HTTP and HTTPS routes from outside the cluster to services within the cluster. Traffic routing is controlled by rules defined on the Ingress resource.Here is a simple example where an Ingress sends all its traffic to one Service:Figure. IngressAn Ingress may be configured to give Services externally-reachable URLs, load balance traffic, terminate SSL / TLS, and offer name-based virtual hosting. An Ingress controller is responsible for fulfilling the Ingress, usually with a load balancer, though it may also configure your edge router or additional frontends to help handle the traffic.An Ingress does not expose arbitrary ports or protocols. Exposing services other than HTTP and HTTPS to the internet typically uses a service of type Service.Type=NodePort or Service.Type=LoadBalancer.PrerequisitesYou must have an Ingress controller to satisfy an Ingress. Only creating an Ingress resource has no effect.You may need to deploy an Ingress controller such as ingress-nginx. You can choose from a number of Ingress controllers.Ideally, all Ingress controllers should fit the reference specification. In reality, the various Ingress controllers operate slightly differently.Note:Make sure you review your Ingress controller's documentation to understand the caveats of choosing it.The Ingress resourceA minimal Ingress resource example:service/networking/minimal-ingress.yaml apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: minimal-ingress annotations: nginx.ingress.kubernetes.io/rewrite-target: / spec: ingressClassName: nginx-example rules: - http: paths: - p",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_qa_10259"
  },
  {
    "question": "What are the benefits of Ingress?",
    "answer": "IngressMake your HTTP (or HTTPS) network service available using a protocol-aware configuration mechanism, that understands web concepts like URIs, hostnames, paths, and more. The Ingress concept lets you map traffic to different backends based on rules you define via the Kubernetes API.FEATURE STATE: Kubernetes v1.19 [stable]An API object that manages external access to the services in a cluster, typically HTTP.Ingress may provide load balancing, SSL termination and name-based virtual hosting.Note:Ingress is frozen. New features are being added to the Gateway API.TerminologyFor clarity, this guide defines the following terms:Node: A worker machine in Kubernetes, part of a cluster.Cluster: A set of Nodes that run containerized applications managed by Kubernetes. For this example, and in most common Kubernetes deployments, nodes in the cluster are not part of the public internet.Edge router: A router that enforces the firewall policy for your cluster. This could be a gateway managed by a cloud provider or a physical piece of hardware.Cluster network: A set of links, logical or physical, that facilitate communication within a cluster according to the Kubernetes networking model.Service: A Kubernetes Service that identifies a set of Pods using label selectors. Unless mentioned otherwise, Services are assumed to have virtual IPs only routable within the cluster network.What is Ingress?Ingress exposes HTTP and HTTPS routes from outside the cluster to services within the cluster. Traffic routing is controlled by rules defined on the Ingress resource.Here is a simple example where an Ingress sends all its traffic to one Service:Figure. IngressAn Ingress may be configured to give Services externally-reachable URLs, load balance traffic, terminate SSL / TLS, and offer name-based virtual hosting. An Ingress controller is responsible for fulfilling the Ingress, usually with a load balancer, though it may also configure your edge router or additional frontends to help handle the traffic.An Ingress does not expose arbitrary ports or protocols. Exposing services other than HTTP and HTTPS to the internet typically uses a service of type Service.Type=NodePort or Service.Type=LoadBalancer.PrerequisitesYou must have an Ingress controller to satisfy an Ingress. Only creating an Ingress resource has no effect.You may need to deploy an Ingress controller such as ingress-nginx. You can choose from a number of Ingress controllers.Ideally, all Ingress controllers should fit the reference specification. In reality, the various Ingress controllers operate slightly differently.Note:Make sure you review your Ingress controller's documentation to understand the caveats of choosing it.The Ingress resourceA minimal Ingress resource example:service/networking/minimal-ingress.yaml apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: minimal-ingress annotations: nginx.ingress.kubernetes.io/rewrite-target: / spec: ingressClassName: nginx-example rules: - http: paths: - p",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_qa_10260"
  },
  {
    "question": "What is Ingress?",
    "answer": "F E A T U R E   S T A T E :   K u b e r n e t e s   v 1 . 1 9   [ s t a b l e ] A n   A P I   o b j e c t   t h a t   m a n a g e s   e x t e r n a l   a c c e s s   t o   t h e   s e r v i c e s   i n   a   c l u s t e r ,   t y p i c a l l y   H T T P . I n g r e s s   m a y   p r o v i d e   l o a d   b a l a n c i n g ,   S S L   t e r m i n a t i o n   a n d   n a m e - b a s e d   v i r t u a l   h o s t i n g .   A n   A P I   o b j e c t   t h a t   m a n a g e s   e x t e r n a l   a c c e s s   t o   t h e   s e r v i c e s   i n   a   c l u s t e r ,   t y p i c a l l y   H T T P .   I n g r e s s   m a y   p r o v i d e   l o a d   b a l a n c i n g ,   S S L   t e r m i n a t i o n   a n d   n a m e - b a s e d   v i r t u a l   h o s t i n g .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_section_1_10261"
  },
  {
    "question": "What is Terminology?",
    "answer": "F o r   c l a r i t y ,   t h i s   g u i d e   d e f i n e s   t h e   f o l l o w i n g   t e r m s :   N o d e :   A   w o r k e r   m a c h i n e   i n   K u b e r n e t e s ,   p a r t   o f   a   c l u s t e r . C l u s t e r :   A   s e t   o f   N o d e s   t h a t   r u n   c o n t a i n e r i z e d   a p p l i c a t i o n s   m a n a g e d   b y   K u b e r n e t e s .   F o r   t h i s   e x a m p l e ,   a n d   i n   m o s t   c o m m o n   K u b e r n e t e s   d e p l o y m e n t s ,   n o d e s   i n   t h e   c l u s t e r   a r e   n o t   p a r t   o f   t h e   p u b l i c   i n t e r n e t . E d g e   r o u t e r :   A   r o u t e r   t h a t   e n f o r c e s   t h e   f i r e w a l l   p o l i c y   f o r   y o u r   c l u s t e r .   T h i s   c o u l d   b e   a   g a t e w a y   m a n a g e d   b y   a   c l o u d   p r o v i d e r   o r   a   p h y s i c a l   p i e c e   o f   h a r d w a r e . C l u s t e r   n e t w o r k :   A   s e t   o f   l i n k s ,   l o g i c a l   o r   p h y s i c a l ,   t h a t   f a c i l i t a t e   c o m m u n i c a t i o n   w i t h i n   a   c l u s t e r   a c c o r d i n g   t o   t h e   K u b e r n e t e s   n e t w o r k i n g   m o d e l . S e r v i c e :   A   K u b e r n e t e s   S e r v i c e   t h a t   i d e n t i f i e s   a   s e t   o f   P o d s   u s i n g   l a b e l   s e l e c t o r s .   U n l e s s   m e n t i o n e d   o t h e r w i s e ,   S e r v i c e s   a r e   a s s u m e d   t o   h a v e   v i r t u a l   I P s   o n l y   r o u t a b l e   w i t h i n   t h e   c l u s t e r   n e t w o r k .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_section_2_10262"
  },
  {
    "question": "What is What is Ingress??",
    "answer": "I n g r e s s   e x p o s e s   H T T P   a n d   H T T P S   r o u t e s   f r o m   o u t s i d e   t h e   c l u s t e r   t o   s e r v i c e s   w i t h i n   t h e   c l u s t e r .   T r a f f i c   r o u t i n g   i s   c o n t r o l l e d   b y   r u l e s   d e f i n e d   o n   t h e   I n g r e s s   r e s o u r c e .   H e r e   i s   a   s i m p l e   e x a m p l e   w h e r e   a n   I n g r e s s   s e n d s   a l l   i t s   t r a f f i c   t o   o n e   S e r v i c e :   F i g u r e .   I n g r e s s   A n   I n g r e s s   m a y   b e   c o n f i g u r e d   t o   g i v e   S e r v i c e s   e x t e r n a l l y - r e a c h a b l e   U R L s ,   l o a d   b a l a n c e   t r a f f i c ,   t e r m i n a t e   S S L   /   T L S ,   a n d   o f f e r   n a m e - b a s e d   v i r t u a l   h o s t i n g .   A n   I n g r e s s   c o n t r o l l e r   i s   r e s p o n s i b l e   f o r   f u l f i l l i n g   t h e   I n g r e s s ,   u s u a l l y   w i t h   a   l o a d   b a l a n c e r ,   t h o u g h   i t   m a y   a l s o   c o n f i g u r e   y o u r   e d g e   r o u t e r   o r   a d d i t i o n a l   f r o n t e n d s   t o   h e l p   h a n d l e   t h e   t r a f f i c .   A n   I n g r e s s   d o e s   n o t   e x p o s e   a r b i t r a r y   p o r t s   o r   p r o t o c o l s .   E x p o s i n g   s e r v i c e s   o t h e r   t h a n   H T T P   a n d   H T T P S   t o   t h e   i n t e r n e t   t y p i c a l l y   u s e s   a   s e r v i c e   o f   t y p e   S e r v i c e . T y p e = N o d e P o r t   o r   S e r v i c e . T y p e = L o a d B a l a n c e r .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_section_2_10263"
  },
  {
    "question": "What is Prerequisites?",
    "answer": "Y o u   m u s t   h a v e   a n   I n g r e s s   c o n t r o l l e r   t o   s a t i s f y   a n   I n g r e s s .   O n l y   c r e a t i n g   a n   I n g r e s s   r e s o u r c e   h a s   n o   e f f e c t .   Y o u   m a y   n e e d   t o   d e p l o y   a n   I n g r e s s   c o n t r o l l e r   s u c h   a s   i n g r e s s - n g i n x .   Y o u   c a n   c h o o s e   f r o m   a   n u m b e r   o f   I n g r e s s   c o n t r o l l e r s .   I d e a l l y ,   a l l   I n g r e s s   c o n t r o l l e r s   s h o u l d   f i t   t h e   r e f e r e n c e   s p e c i f i c a t i o n .   I n   r e a l i t y ,   t h e   v a r i o u s   I n g r e s s   c o n t r o l l e r s   o p e r a t e   s l i g h t l y   d i f f e r e n t l y .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_section_2_10264"
  },
  {
    "question": "What is The Ingress resource?",
    "answer": "A   m i n i m a l   I n g r e s s   r e s o u r c e   e x a m p l e :   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a :   n a m e :   m i n i m a l - i n g r e s s   a n n o t a t i o n s :   n g i n x . i n g r e s s . k u b e r n e t e s . i o / r e w r i t e - t a r g e t :   /   s p e c :   i n g r e s s C l a s s N a m e :   n g i n x - e x a m p l e   r u l e s :   -   h t t p :   p a t h s :   -   p a t h :   / t e s t p a t h   p a t h T y p e :   P r e f i x   b a c k e n d :   s e r v i c e :   n a m e :   t e s t   p o r t :   n u m b e r :   8 0   A n   I n g r e s s   n e e d s   a p i V e r s i o n ,   k i n d ,   m e t a d a t a   a n d   s p e c   f i e l d s .   T h e   n a m e   o f   a n   I n g r e s s   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   F o r   g e n e r a l   i n f o r m a t i o n   a b o u t   w o r k i n g   w i t h   c o n f i g   f i l e s ,   s e e   d e p l o y i n g   a p p l i c a t i o n s ,   c o n f i g u r i n g   c o n t a i n e r s ,   m a n a g i n g   r e s o u r c e s .   I n g r e s s   f r e q u e n t l y   u s e s   a n n o t a t i o n s   t o   c o n f i g u r e   s o m e   o p t i o n s   d e p e n d i n g   o n   t h e   I n g r e s s   c o n t r o l l e r ,   a n   e x a m p l e   o f   w h i c h   i s   t h e   r e w r i t e - t a r g e t   a n n o t a t i o n .   D i f f e r e n t   I n g r e s s   c o n t r o l l e r s   s u p p o r t   d i f f e r e n t   a n n o t a t i o n s .   R e v i e w   t h e   d o c u m e n t a t i o n   f o r   y o u r   c h o i c e   o f   I n g r e s s   c o n t r o l l e r   t o   l e a r n   w h i c h   a n n o t a t i o n s   a r e   s u p p o r t e d .   T h e   I n g r e s s   s p e c   h a s   a l l   t h e   i n f o r m a t i o n   n e e d e d   t o   c o n f i g u r e   a   l o a d   b a l a n c e r   o r   p r o x y   s e r v e r .   M o s t   i m p o r t a n t l y ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_section_2_10265"
  },
  {
    "question": "What is Ingress rules?",
    "answer": "E a c h   H T T P   r u l e   c o n t a i n s   t h e   f o l l o w i n g   i n f o r m a t i o n :   A n   o p t i o n a l   h o s t .   I n   t h i s   e x a m p l e ,   n o   h o s t   i s   s p e c i f i e d ,   s o   t h e   r u l e   a p p l i e s   t o   a l l   i n b o u n d   H T T P   t r a f f i c   t h r o u g h   t h e   I P   a d d r e s s   s p e c i f i e d .   I f   a   h o s t   i s   p r o v i d e d   ( f o r   e x a m p l e ,   f o o . b a r . c o m ) ,   t h e   r u l e s   a p p l y   t o   t h a t   h o s t . A   l i s t   o f   p a t h s   ( f o r   e x a m p l e ,   / t e s t p a t h ) ,   e a c h   o f   w h i c h   h a s   a n   a s s o c i a t e d   b a c k e n d   d e f i n e d   w i t h   a   s e r v i c e . n a m e   a n d   a   s e r v i c e . p o r t . n a m e   o r   s e r v i c e . p o r t . n u m b e r .   B o t h   t h e   h o s t   a n d   p a t h   m u s t   m a t c h   t h e   c o n t e n t   o f   a n   i n c o m i n g   r e q u e s t   b e f o r e   t h e   l o a d   b a l a n c e r   d i r e c t s   t r a f f i c   t o   t h e   r e f e r e n c e d   S e r v i c e . A   b a c k e n d   i s   a   c o m b i n a t i o n   o f   S e r v i c e   a n d   p o r t   n a m e s   a s   d e s c r i b e d   i n   t h e   S e r v i c e   d o c   o r   a   c u s t o m   r e s o u r c e   b a c k e n d   b y   w a y   o f   a   C R D .   H T T P   ( a n d   H T T P S )   r e q u e s t s   t o   t h e   I n g r e s s   t h a t   m a t c h   t h e   h o s t   a n d   p a t h   o f   t h e   r u l e   a r e   s e n t   t o   t h e   l i s t e d   b a c k e n d .   A   d e f a u l t B a c k e n d   i s   o f t e n   c o n f i g u r e d   i n   a n   I n g r e s s   c o n t r o l l e r   t o   s e r v i c e   a n y   r e q u e s t s   t h a t   d o   n o t   m a t c h   a   p a t h   i n   t h e   s p e c .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_section_3_10266"
  },
  {
    "question": "What is DefaultBackend?",
    "answer": "A n   I n g r e s s   w i t h   n o   r u l e s   s e n d s   a l l   t r a f f i c   t o   a   s i n g l e   d e f a u l t   b a c k e n d   a n d   . s p e c . d e f a u l t B a c k e n d   i s   t h e   b a c k e n d   t h a t   s h o u l d   h a n d l e   r e q u e s t s   i n   t h a t   c a s e .   T h e   d e f a u l t B a c k e n d   i s   c o n v e n t i o n a l l y   a   c o n f i g u r a t i o n   o p t i o n   o f   t h e   I n g r e s s   c o n t r o l l e r   a n d   i s   n o t   s p e c i f i e d   i n   y o u r   I n g r e s s   r e s o u r c e s .   I f   n o   . s p e c . r u l e s   a r e   s p e c i f i e d ,   . s p e c . d e f a u l t B a c k e n d   m u s t   b e   s p e c i f i e d .   I f   d e f a u l t B a c k e n d   i s   n o t   s e t ,   t h e   h a n d l i n g   o f   r e q u e s t s   t h a t   d o   n o t   m a t c h   a n y   o f   t h e   r u l e s   w i l l   b e   u p   t o   t h e   i n g r e s s   c o n t r o l l e r   ( c o n s u l t   t h e   d o c u m e n t a t i o n   f o r   y o u r   i n g r e s s   c o n t r o l l e r   t o   f i n d   o u t   h o w   i t   h a n d l e s   t h i s   c a s e ) .   I f   n o n e   o f   t h e   h o s t s   o r   p a t h s   m a t c h   t h e   H T T P   r e q u e s t   i n   t h e   I n g r e s s   o b j e c t s ,   t h e   t r a f f i c   i s   r o u t e d   t o   y o u r   d e f a u l t   b a c k e n d .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_section_3_10267"
  },
  {
    "question": "What is Resource backends?",
    "answer": "A   R e s o u r c e   b a c k e n d   i s   a n   O b j e c t R e f   t o   a n o t h e r   K u b e r n e t e s   r e s o u r c e   w i t h i n   t h e   s a m e   n a m e s p a c e   a s   t h e   I n g r e s s   o b j e c t .   A   R e s o u r c e   i s   a   m u t u a l l y   e x c l u s i v e   s e t t i n g   w i t h   S e r v i c e ,   a n d   w i l l   f a i l   v a l i d a t i o n   i f   b o t h   a r e   s p e c i f i e d .   A   c o m m o n   u s a g e   f o r   a   R e s o u r c e   b a c k e n d   i s   t o   i n g r e s s   d a t a   t o   a n   o b j e c t   s t o r a g e   b a c k e n d   w i t h   s t a t i c   a s s e t s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a :   n a m e :   i n g r e s s - r e s o u r c e - b a c k e n d   s p e c :   d e f a u l t B a c k e n d :   r e s o u r c e :   a p i G r o u p :   k 8 s . e x a m p l e . c o m   k i n d :   S t o r a g e B u c k e t   n a m e :   s t a t i c - a s s e t s   r u l e s :   -   h t t p :   p a t h s :   -   p a t h :   / i c o n s   p a t h T y p e :   I m p l e m e n t a t i o n S p e c i f i c   b a c k e n d :   r e s o u r c e :   a p i G r o u p :   k 8 s . e x a m p l e . c o m   k i n d :   S t o r a g e B u c k e t   n a m e :   i c o n - a s s e t s   A f t e r   c r e a t i n g   t h e   I n g r e s s   a b o v e ,   y o u   c a n   v i e w   i t   w i t h   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   d e s c r i b e   i n g r e s s   i n g r e s s - r e s o u r c e - b a c k e n d   N a m e :   i n g r e s s - r e s o u r c e - b a c k e n d   N a m e s p a c e :   d e f a u l t   A d d r e s s :   D e f a u l t   b a c k e n d :   A P I G r o u p :   k 8 s . e x a m p l e . c o m ,   K i n d :   S t o r a g e B u c k e t ,   N a m e :   s t a t i c - a s s e t s   R u l e s :   H o s t   P a t h   B a c k e n d s   - - - -   - - - -   - - - - - - - -   *   / i c o n s   A P I G r o u p : ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_section_3_10268"
  },
  {
    "question": "What is Path types?",
    "answer": "E a c h   p a t h   i n   a n   I n g r e s s   i s   r e q u i r e d   t o   h a v e   a   c o r r e s p o n d i n g   p a t h   t y p e .   P a t h s   t h a t   d o   n o t   i n c l u d e   a n   e x p l i c i t   p a t h T y p e   w i l l   f a i l   v a l i d a t i o n .   T h e r e   a r e   t h r e e   s u p p o r t e d   p a t h   t y p e s :   I m p l e m e n t a t i o n S p e c i f i c :   W i t h   t h i s   p a t h   t y p e ,   m a t c h i n g   i s   u p   t o   t h e   I n g r e s s C l a s s .   I m p l e m e n t a t i o n s   c a n   t r e a t   t h i s   a s   a   s e p a r a t e   p a t h T y p e   o r   t r e a t   i t   i d e n t i c a l l y   t o   P r e f i x   o r   E x a c t   p a t h   t y p e s . E x a c t :   M a t c h e s   t h e   U R L   p a t h   e x a c t l y   a n d   w i t h   c a s e   s e n s i t i v i t y . P r e f i x :   M a t c h e s   b a s e d   o n   a   U R L   p a t h   p r e f i x   s p l i t   b y   / .   M a t c h i n g   i s   c a s e   s e n s i t i v e   a n d   d o n e   o n   a   p a t h   e l e m e n t   b y   e l e m e n t   b a s i s .   A   p a t h   e l e m e n t   r e f e r s   t o   t h e   l i s t   o f   l a b e l s   i n   t h e   p a t h   s p l i t   b y   t h e   /   s e p a r a t o r .   A   r e q u e s t   i s   a   m a t c h   f o r   p a t h   p   i f   e v e r y   p   i s   a n   e l e m e n t - w i s e   p r e f i x   o f   p   o f   t h e   r e q u e s t   p a t h . N o t e : I f   t h e   l a s t   e l e m e n t   o f   t h e   p a t h   i s   a   s u b s t r i n g   o f   t h e   l a s t   e l e m e n t   i n   r e q u e s t   p a t h ,   i t   i s   n o t   a   m a t c h   ( f o r   e x a m p l e :   / f o o / b a r   m a t c h e s   / f o o / b a r / b a z ,   b u t   d o e s   n o t   m a t c h   / f o o / b a r b a z ) .   I m p l e m e n t a t i o n S p e c i f i c :   W i t h   t h i s   p a t h   t y p e ,   m a t c h i n g   i s   u p   t o   t h e   I n g r e s s C l a s s .   I m ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_section_3_10269"
  },
  {
    "question": "What is Multiple matches?",
    "answer": "I n   s o m e   c a s e s ,   m u l t i p l e   p a t h s   w i t h i n   a n   I n g r e s s   w i l l   m a t c h   a   r e q u e s t .   I n   t h o s e   c a s e s   p r e c e d e n c e   w i l l   b e   g i v e n   f i r s t   t o   t h e   l o n g e s t   m a t c h i n g   p a t h .   I f   t w o   p a t h s   a r e   s t i l l   e q u a l l y   m a t c h e d ,   p r e c e d e n c e   w i l l   b e   g i v e n   t o   p a t h s   w i t h   a n   e x a c t   p a t h   t y p e   o v e r   p r e f i x   p a t h   t y p e .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_section_4_10270"
  },
  {
    "question": "What is Hostname wildcards?",
    "answer": "H o s t s   c a n   b e   p r e c i s e   m a t c h e s   ( f o r   e x a m p l e   “ f o o . b a r . c o m ” )   o r   a   w i l d c a r d   ( f o r   e x a m p l e   “ * . f o o . c o m ” ) .   P r e c i s e   m a t c h e s   r e q u i r e   t h a t   t h e   H T T P   h o s t   h e a d e r   m a t c h e s   t h e   h o s t   f i e l d .   W i l d c a r d   m a t c h e s   r e q u i r e   t h e   H T T P   h o s t   h e a d e r   i s   e q u a l   t o   t h e   s u f f i x   o f   t h e   w i l d c a r d   r u l e .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a :   n a m e :   i n g r e s s - w i l d c a r d - h o s t   s p e c :   r u l e s :   -   h o s t :   \" f o o . b a r . c o m \"   h t t p :   p a t h s :   -   p a t h T y p e :   P r e f i x   p a t h :   \" / b a r \"   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 1   p o r t :   n u m b e r :   8 0   -   h o s t :   \" * . f o o . c o m \"   h t t p :   p a t h s :   -   p a t h T y p e :   P r e f i x   p a t h :   \" / f o o \"   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 2   p o r t :   n u m b e r :   8 0",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_section_2_10271"
  },
  {
    "question": "What is Ingress class?",
    "answer": "I n g r e s s e s   c a n   b e   i m p l e m e n t e d   b y   d i f f e r e n t   c o n t r o l l e r s ,   o f t e n   w i t h   d i f f e r e n t   c o n f i g u r a t i o n .   E a c h   I n g r e s s   s h o u l d   s p e c i f y   a   c l a s s ,   a   r e f e r e n c e   t o   a n   I n g r e s s C l a s s   r e s o u r c e   t h a t   c o n t a i n s   a d d i t i o n a l   c o n f i g u r a t i o n   i n c l u d i n g   t h e   n a m e   o f   t h e   c o n t r o l l e r   t h a t   s h o u l d   i m p l e m e n t   t h e   c l a s s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s C l a s s   m e t a d a t a :   n a m e :   e x t e r n a l - l b   s p e c :   c o n t r o l l e r :   e x a m p l e . c o m / i n g r e s s - c o n t r o l l e r   p a r a m e t e r s :   a p i G r o u p :   k 8 s . e x a m p l e . c o m   k i n d :   I n g r e s s P a r a m e t e r s   n a m e :   e x t e r n a l - l b   T h e   . s p e c . p a r a m e t e r s   f i e l d   o f   a n   I n g r e s s C l a s s   l e t s   y o u   r e f e r e n c e   a n o t h e r   r e s o u r c e   t h a t   p r o v i d e s   c o n f i g u r a t i o n   r e l a t e d   t o   t h a t   I n g r e s s C l a s s .   T h e   s p e c i f i c   t y p e   o f   p a r a m e t e r s   t o   u s e   d e p e n d s   o n   t h e   i n g r e s s   c o n t r o l l e r   t h a t   y o u   s p e c i f y   i n   t h e   . s p e c . c o n t r o l l e r   f i e l d   o f   t h e   I n g r e s s C l a s s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_section_2_10272"
  },
  {
    "question": "What is IngressClass scope?",
    "answer": "D e p e n d i n g   o n   y o u r   i n g r e s s   c o n t r o l l e r ,   y o u   m a y   b e   a b l e   t o   u s e   p a r a m e t e r s   t h a t   y o u   s e t   c l u s t e r - w i d e ,   o r   j u s t   f o r   o n e   n a m e s p a c e .   T h e   d e f a u l t   s c o p e   f o r   I n g r e s s C l a s s   p a r a m e t e r s   i s   c l u s t e r - w i d e . I f   y o u   s e t   t h e   . s p e c . p a r a m e t e r s   f i e l d   a n d   d o n ' t   s e t   . s p e c . p a r a m e t e r s . s c o p e ,   o r   i f   y o u   s e t   . s p e c . p a r a m e t e r s . s c o p e   t o   C l u s t e r ,   t h e n   t h e   I n g r e s s C l a s s   r e f e r s   t o   a   c l u s t e r - s c o p e d   r e s o u r c e .   T h e   k i n d   ( i n   c o m b i n a t i o n   t h e   a p i G r o u p )   o f   t h e   p a r a m e t e r s   r e f e r s   t o   a   c l u s t e r - s c o p e d   A P I   ( p o s s i b l y   a   c u s t o m   r e s o u r c e ) ,   a n d   t h e   n a m e   o f   t h e   p a r a m e t e r s   i d e n t i f i e s   a   s p e c i f i c   c l u s t e r   s c o p e d   r e s o u r c e   f o r   t h a t   A P I . F o r   e x a m p l e : - - -   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s C l a s s   m e t a d a t a :   n a m e :   e x t e r n a l - l b - 1   s p e c :   c o n t r o l l e r :   e x a m p l e . c o m / i n g r e s s - c o n t r o l l e r   p a r a m e t e r s :   #   T h e   p a r a m e t e r s   f o r   t h i s   I n g r e s s C l a s s   a r e   s p e c i f i e d   i n   a   #   C l u s t e r I n g r e s s P a r a m e t e r   ( A P I   g r o u p   k 8 s . e x a m p l e . n e t )   n a m e d   #   \" e x t e r n a l - c o n f i g - 1 \" .   T h i s   d e f i n i t i o n   t e l l s   K u b e r n e t e s   t o   #   l o o k   f o r   a   c l u s t e r - s c o p e d   p a r a m e t e r   r e s o u r c e .   s c o p e :   C l u s t e r   a p i G r o u p :   k 8 s . e x a m p l e ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_section_3_10273"
  },
  {
    "question": "What is Deprecated annotation?",
    "answer": "B e f o r e   t h e   I n g r e s s C l a s s   r e s o u r c e   a n d   i n g r e s s C l a s s N a m e   f i e l d   w e r e   a d d e d   i n   K u b e r n e t e s   1 . 1 8 ,   I n g r e s s   c l a s s e s   w e r e   s p e c i f i e d   w i t h   a   k u b e r n e t e s . i o / i n g r e s s . c l a s s   a n n o t a t i o n   o n   t h e   I n g r e s s .   T h i s   a n n o t a t i o n   w a s   n e v e r   f o r m a l l y   d e f i n e d ,   b u t   w a s   w i d e l y   s u p p o r t e d   b y   I n g r e s s   c o n t r o l l e r s .   T h e   n e w e r   i n g r e s s C l a s s N a m e   f i e l d   o n   I n g r e s s e s   i s   a   r e p l a c e m e n t   f o r   t h a t   a n n o t a t i o n ,   b u t   i s   n o t   a   d i r e c t   e q u i v a l e n t .   W h i l e   t h e   a n n o t a t i o n   w a s   g e n e r a l l y   u s e d   t o   r e f e r e n c e   t h e   n a m e   o f   t h e   I n g r e s s   c o n t r o l l e r   t h a t   s h o u l d   i m p l e m e n t   t h e   I n g r e s s ,   t h e   f i e l d   i s   a   r e f e r e n c e   t o   a n   I n g r e s s C l a s s   r e s o u r c e   t h a t   c o n t a i n s   a d d i t i o n a l   I n g r e s s   c o n f i g u r a t i o n ,   i n c l u d i n g   t h e   n a m e   o f   t h e   I n g r e s s   c o n t r o l l e r .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_section_3_10274"
  },
  {
    "question": "What is Default IngressClass?",
    "answer": "Y o u   c a n   m a r k   a   p a r t i c u l a r   I n g r e s s C l a s s   a s   d e f a u l t   f o r   y o u r   c l u s t e r .   S e t t i n g   t h e   i n g r e s s c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s   a n n o t a t i o n   t o   t r u e   o n   a n   I n g r e s s C l a s s   r e s o u r c e   w i l l   e n s u r e   t h a t   n e w   I n g r e s s e s   w i t h o u t   a n   i n g r e s s C l a s s N a m e   f i e l d   s p e c i f i e d   w i l l   b e   a s s i g n e d   t h i s   d e f a u l t   I n g r e s s C l a s s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_section_3_10275"
  },
  {
    "question": "What is Caution:?",
    "answer": "T h e r e   a r e   s o m e   i n g r e s s   c o n t r o l l e r s ,   t h a t   w o r k   w i t h o u t   t h e   d e f i n i t i o n   o f   a   d e f a u l t   I n g r e s s C l a s s .   F o r   e x a m p l e ,   t h e   I n g r e s s - N G I N X   c o n t r o l l e r   c a n   b e   c o n f i g u r e d   w i t h   a   f l a g   - - w a t c h - i n g r e s s - w i t h o u t - c l a s s .   I t   i s   r e c o m m e n d e d   t h o u g h ,   t o   s p e c i f y   t h e   d e f a u l t   I n g r e s s C l a s s :   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s C l a s s   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / c o m p o n e n t :   c o n t r o l l e r   n a m e :   n g i n x - e x a m p l e   a n n o t a t i o n s :   i n g r e s s c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s :   \" t r u e \"   s p e c :   c o n t r o l l e r :   k 8 s . i o / i n g r e s s - n g i n x",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_section_4_10276"
  },
  {
    "question": "What is Ingress backed by a single Service?",
    "answer": "T h e r e   a r e   e x i s t i n g   K u b e r n e t e s   c o n c e p t s   t h a t   a l l o w   y o u   t o   e x p o s e   a   s i n g l e   S e r v i c e   ( s e e   a l t e r n a t i v e s ) .   Y o u   c a n   a l s o   d o   t h i s   w i t h   a n   I n g r e s s   b y   s p e c i f y i n g   a   d e f a u l t   b a c k e n d   w i t h   n o   r u l e s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a :   n a m e :   t e s t - i n g r e s s   s p e c :   d e f a u l t B a c k e n d :   s e r v i c e :   n a m e :   t e s t   p o r t :   n u m b e r :   8 0   I f   y o u   c r e a t e   i t   u s i n g   k u b e c t l   a p p l y   - f   y o u   s h o u l d   b e   a b l e   t o   v i e w   t h e   s t a t e   o f   t h e   I n g r e s s   y o u   a d d e d :   k u b e c t l   g e t   i n g r e s s   t e s t - i n g r e s s   N A M E   C L A S S   H O S T S   A D D R E S S   P O R T S   A G E   t e s t - i n g r e s s   e x t e r n a l - l b   *   2 0 3 . 0 . 1 1 3 . 1 2 3   8 0   5 9 s   W h e r e   2 0 3 . 0 . 1 1 3 . 1 2 3   i s   t h e   I P   a l l o c a t e d   b y   t h e   I n g r e s s   c o n t r o l l e r   t o   s a t i s f y   t h i s   I n g r e s s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_section_3_10277"
  },
  {
    "question": "What is Simple fanout?",
    "answer": "A   f a n o u t   c o n f i g u r a t i o n   r o u t e s   t r a f f i c   f r o m   a   s i n g l e   I P   a d d r e s s   t o   m o r e   t h a n   o n e   S e r v i c e ,   b a s e d   o n   t h e   H T T P   U R I   b e i n g   r e q u e s t e d .   A n   I n g r e s s   a l l o w s   y o u   t o   k e e p   t h e   n u m b e r   o f   l o a d   b a l a n c e r s   d o w n   t o   a   m i n i m u m .   F o r   e x a m p l e ,   a   s e t u p   l i k e :   F i g u r e .   I n g r e s s   F a n   O u t   I t   w o u l d   r e q u i r e   a n   I n g r e s s   s u c h   a s :   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a :   n a m e :   s i m p l e - f a n o u t - e x a m p l e   s p e c :   r u l e s :   -   h o s t :   f o o . b a r . c o m   h t t p :   p a t h s :   -   p a t h :   / f o o   p a t h T y p e :   P r e f i x   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 1   p o r t :   n u m b e r :   4 2 0 0   -   p a t h :   / b a r   p a t h T y p e :   P r e f i x   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 2   p o r t :   n u m b e r :   8 0 8 0   W h e n   y o u   c r e a t e   t h e   I n g r e s s   w i t h   k u b e c t l   a p p l y   - f :   k u b e c t l   d e s c r i b e   i n g r e s s   s i m p l e - f a n o u t - e x a m p l e   N a m e :   s i m p l e - f a n o u t - e x a m p l e   N a m e s p a c e :   d e f a u l t   A d d r e s s :   1 7 8 . 9 1 . 1 2 3 . 1 3 2   D e f a u l t   b a c k e n d :   d e f a u l t - h t t p - b a c k e n d : 8 0   ( 1 0 . 8 . 2 . 3 : 8 0 8 0 )   R u l e s :   H o s t   P a t h   B a c k e n d s   - - - -   - - - -   - - - - - - - -   f o o . b a r . c o m   / f o o   s e r v i c e 1 : 4 2 0 0   ( 1 0 . 8 . 0 . 9 0 : 4 2 0 0 )   / b a r   s e r v i c e 2 : 8 0 8 0   ( 1 0 . 8 . 0 . 9 1 : 8 0 8 0 )   E v e n t s :   T y p e   R e a s o n   A g e   F r o m   M e s s a g e   - - - -   - - - - - -   - - - -   - - ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_section_3_10278"
  },
  {
    "question": "What is Name based virtual hosting?",
    "answer": "N a m e - b a s e d   v i r t u a l   h o s t s   s u p p o r t   r o u t i n g   H T T P   t r a f f i c   t o   m u l t i p l e   h o s t   n a m e s   a t   t h e   s a m e   I P   a d d r e s s .   F i g u r e .   I n g r e s s   N a m e   B a s e d   V i r t u a l   h o s t i n g   T h e   f o l l o w i n g   I n g r e s s   t e l l s   t h e   b a c k i n g   l o a d   b a l a n c e r   t o   r o u t e   r e q u e s t s   b a s e d   o n   t h e   H o s t   h e a d e r .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a :   n a m e :   n a m e - v i r t u a l - h o s t - i n g r e s s   s p e c :   r u l e s :   -   h o s t :   f o o . b a r . c o m   h t t p :   p a t h s :   -   p a t h T y p e :   P r e f i x   p a t h :   \" / \"   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 1   p o r t :   n u m b e r :   8 0   -   h o s t :   b a r . f o o . c o m   h t t p :   p a t h s :   -   p a t h T y p e :   P r e f i x   p a t h :   \" / \"   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 2   p o r t :   n u m b e r :   8 0   I f   y o u   c r e a t e   a n   I n g r e s s   r e s o u r c e   w i t h o u t   a n y   h o s t s   d e f i n e d   i n   t h e   r u l e s ,   t h e n   a n y   w e b   t r a f f i c   t o   t h e   I P   a d d r e s s   o f   y o u r   I n g r e s s   c o n t r o l l e r   c a n   b e   m a t c h e d   w i t h o u t   a   n a m e   b a s e d   v i r t u a l   h o s t   b e i n g   r e q u i r e d .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   I n g r e s s   r o u t e s   t r a f f i c   r e q u e s t e d   f o r   f i r s t . b a r . c o m   t o   s e r v i c e 1 ,   s e c o n d . b a r . c o m   t o   s e r v i c e 2 ,   a n d   a n y   t r a f f i c   w h o s e   r e q u e s t   h o s t   h e a d e r   d o e s n ' t   m a t c h   f i r s t . b a r . c o m   a n d   s e c o n d . b a r . c o m   t o   s e r v i c e 3 .   a p i V e r ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_section_3_10279"
  },
  {
    "question": "What is TLS?",
    "answer": "Y o u   c a n   s e c u r e   a n   I n g r e s s   b y   s p e c i f y i n g   a   S e c r e t   t h a t   c o n t a i n s   a   T L S   p r i v a t e   k e y   a n d   c e r t i f i c a t e .   T h e   I n g r e s s   r e s o u r c e   o n l y   s u p p o r t s   a   s i n g l e   T L S   p o r t ,   4 4 3 ,   a n d   a s s u m e s   T L S   t e r m i n a t i o n   a t   t h e   i n g r e s s   p o i n t   ( t r a f f i c   t o   t h e   S e r v i c e   a n d   i t s   P o d s   i s   i n   p l a i n t e x t ) .   I f   t h e   T L S   c o n f i g u r a t i o n   s e c t i o n   i n   a n   I n g r e s s   s p e c i f i e s   d i f f e r e n t   h o s t s ,   t h e y   a r e   m u l t i p l e x e d   o n   t h e   s a m e   p o r t   a c c o r d i n g   t o   t h e   h o s t n a m e   s p e c i f i e d   t h r o u g h   t h e   S N I   T L S   e x t e n s i o n   ( p r o v i d e d   t h e   I n g r e s s   c o n t r o l l e r   s u p p o r t s   S N I ) .   T h e   T L S   s e c r e t   m u s t   c o n t a i n   k e y s   n a m e d   t l s . c r t   a n d   t l s . k e y   t h a t   c o n t a i n   t h e   c e r t i f i c a t e   a n d   p r i v a t e   k e y   t o   u s e   f o r   T L S .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   t e s t s e c r e t - t l s   n a m e s p a c e :   d e f a u l t   d a t a :   t l s . c r t :   b a s e 6 4   e n c o d e d   c e r t   t l s . k e y :   b a s e 6 4   e n c o d e d   k e y   t y p e :   k u b e r n e t e s . i o / t l s   R e f e r e n c i n g   t h i s   s e c r e t   i n   a n   I n g r e s s   t e l l s   t h e   I n g r e s s   c o n t r o l l e r   t o   s e c u r e   t h e   c h a n n e l   f r o m   t h e   c l i e n t   t o   t h e   l o a d   b a l a n c e r   u s i n g   T L S .   Y o u   n e e d   t o   m a k e   s u r e   t h e   T L S   s e c r e t   y o u   c r e a t e d   c a m e   f r o m   a   c e r t i f i c a t e   t h a t   ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_section_3_10280"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a :   n a m e :   t l s - e x a m p l e - i n g r e s s   s p e c :   t l s :   -   h o s t s :   -   h t t p s - e x a m p l e . f o o . c o m   s e c r e t N a m e :   t e s t s e c r e t - t l s   r u l e s :   -   h o s t :   h t t p s - e x a m p l e . f o o . c o m   h t t p :   p a t h s :   -   p a t h :   /   p a t h T y p e :   P r e f i x   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 1   p o r t :   n u m b e r :   8 0",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_section_4_10281"
  },
  {
    "question": "What is Load balancing?",
    "answer": "A n   I n g r e s s   c o n t r o l l e r   i s   b o o t s t r a p p e d   w i t h   s o m e   l o a d   b a l a n c i n g   p o l i c y   s e t t i n g s   t h a t   i t   a p p l i e s   t o   a l l   I n g r e s s ,   s u c h   a s   t h e   l o a d   b a l a n c i n g   a l g o r i t h m ,   b a c k e n d   w e i g h t   s c h e m e ,   a n d   o t h e r s .   M o r e   a d v a n c e d   l o a d   b a l a n c i n g   c o n c e p t s   ( e . g .   p e r s i s t e n t   s e s s i o n s ,   d y n a m i c   w e i g h t s )   a r e   n o t   y e t   e x p o s e d   t h r o u g h   t h e   I n g r e s s .   Y o u   c a n   i n s t e a d   g e t   t h e s e   f e a t u r e s   t h r o u g h   t h e   l o a d   b a l a n c e r   u s e d   f o r   a   S e r v i c e .   I t ' s   a l s o   w o r t h   n o t i n g   t h a t   e v e n   t h o u g h   h e a l t h   c h e c k s   a r e   n o t   e x p o s e d   d i r e c t l y   t h r o u g h   t h e   I n g r e s s ,   t h e r e   e x i s t   p a r a l l e l   c o n c e p t s   i n   K u b e r n e t e s   s u c h   a s   r e a d i n e s s   p r o b e s   t h a t   a l l o w   y o u   t o   a c h i e v e   t h e   s a m e   e n d   r e s u l t .   P l e a s e   r e v i e w   t h e   c o n t r o l l e r   s p e c i f i c   d o c u m e n t a t i o n   t o   s e e   h o w   t h e y   h a n d l e   h e a l t h   c h e c k s   ( f o r   e x a m p l e :   n g i n x ,   o r   G C E ) .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_section_3_10282"
  },
  {
    "question": "What is Updating an Ingress?",
    "answer": "T o   u p d a t e   a n   e x i s t i n g   I n g r e s s   t o   a d d   a   n e w   H o s t ,   y o u   c a n   u p d a t e   i t   b y   e d i t i n g   t h e   r e s o u r c e :   k u b e c t l   d e s c r i b e   i n g r e s s   t e s t   N a m e :   t e s t   N a m e s p a c e :   d e f a u l t   A d d r e s s :   1 7 8 . 9 1 . 1 2 3 . 1 3 2   D e f a u l t   b a c k e n d :   d e f a u l t - h t t p - b a c k e n d : 8 0   ( 1 0 . 8 . 2 . 3 : 8 0 8 0 )   R u l e s :   H o s t   P a t h   B a c k e n d s   - - - -   - - - -   - - - - - - - -   f o o . b a r . c o m   / f o o   s e r v i c e 1 : 8 0   ( 1 0 . 8 . 0 . 9 0 : 8 0 )   A n n o t a t i o n s :   n g i n x . i n g r e s s . k u b e r n e t e s . i o / r e w r i t e - t a r g e t :   /   E v e n t s :   T y p e   R e a s o n   A g e   F r o m   M e s s a g e   - - - -   - - - - - -   - - - -   - - - -   - - - - - - -   N o r m a l   A D D   3 5 s   l o a d b a l a n c e r - c o n t r o l l e r   d e f a u l t / t e s t   k u b e c t l   e d i t   i n g r e s s   t e s t   T h i s   p o p s   u p   a n   e d i t o r   w i t h   t h e   e x i s t i n g   c o n f i g u r a t i o n   i n   Y A M L   f o r m a t .   M o d i f y   i t   t o   i n c l u d e   t h e   n e w   H o s t :   s p e c :   r u l e s :   -   h o s t :   f o o . b a r . c o m   h t t p :   p a t h s :   -   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 1   p o r t :   n u m b e r :   8 0   p a t h :   / f o o   p a t h T y p e :   P r e f i x   -   h o s t :   b a r . b a z . c o m   h t t p :   p a t h s :   -   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 2   p o r t :   n u m b e r :   8 0   p a t h :   / f o o   p a t h T y p e :   P r e f i x   . .   A f t e r   y o u   s a v e   y o u r   c h a n g e s ,   k u b e c t l   u p d a t e s   t h e   r e s o u r c e   i n   t h e   A P I   s e r v e r ,   w h i c h   t e l l s   t h e   I n g r e s s   c o n t r o l l e r   t o   r e c o n f i g u r e ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_section_2_10283"
  },
  {
    "question": "What is Failing across availability zones?",
    "answer": "T e c h n i q u e s   f o r   s p r e a d i n g   t r a f f i c   a c r o s s   f a i l u r e   d o m a i n s   d i f f e r   b e t w e e n   c l o u d   p r o v i d e r s .   P l e a s e   c h e c k   t h e   d o c u m e n t a t i o n   o f   t h e   r e l e v a n t   I n g r e s s   c o n t r o l l e r   f o r   d e t a i l s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_section_2_10284"
  },
  {
    "question": "What is Alternatives?",
    "answer": "Y o u   c a n   e x p o s e   a   S e r v i c e   i n   m u l t i p l e   w a y s   t h a t   d o n ' t   d i r e c t l y   i n v o l v e   t h e   I n g r e s s   r e s o u r c e :   U s e   S e r v i c e . T y p e = L o a d B a l a n c e r U s e   S e r v i c e . T y p e = N o d e P o r t",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_section_2_10285"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   t h e   I n g r e s s   A P I L e a r n   a b o u t   I n g r e s s   c o n t r o l l e r s S e t   u p   I n g r e s s   o n   M i n i k u b e   w i t h   t h e   N G I N X   C o n t r o l l e r",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress/",
    "id": "k8s_00549_section_2_10286"
  },
  {
    "question": "What is Job?",
    "answer": "JobJob represents the configuration of a single job.apiVersion: batch/v1import \"k8s.io/api/batch/v1\"JobJob represents the configuration of a single job.apiVersion: batch/v1kind: Jobmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (JobSpec)Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (JobStatus)Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusJobSpecJobSpec describes how the job execution will look like.Replicastemplate (PodTemplateSpec), requiredDescribes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are \"Never\" or \"OnFailure\". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/parallelism (int32)Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/Lifecyclecompletions (int32)Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/completionMode (string)completionMode specifies how Pod completions are tracked. It can be NonIndexed (default) or Indexed.NonIndexed means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.Indexed means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is Indexed, .spec.completions must be specified and .spec.parallelism must be less than or equal to 10^5. In addition, The Pod name takes the form $(job-name)-$(index)-$(random-string), the Pod hostname takes the form $(job-name)-$(index).More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.backoffLimit (int32)Specifies the number of retries before marking this job failed. Defaults to 6, unless backoffLimitPerInde",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_qa_10287"
  },
  {
    "question": "How does Job work?",
    "answer": "JobJob represents the configuration of a single job.apiVersion: batch/v1import \"k8s.io/api/batch/v1\"JobJob represents the configuration of a single job.apiVersion: batch/v1kind: Jobmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (JobSpec)Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (JobStatus)Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusJobSpecJobSpec describes how the job execution will look like.Replicastemplate (PodTemplateSpec), requiredDescribes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are \"Never\" or \"OnFailure\". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/parallelism (int32)Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/Lifecyclecompletions (int32)Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/completionMode (string)completionMode specifies how Pod completions are tracked. It can be NonIndexed (default) or Indexed.NonIndexed means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.Indexed means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is Indexed, .spec.completions must be specified and .spec.parallelism must be less than or equal to 10^5. In addition, The Pod name takes the form $(job-name)-$(index)-$(random-string), the Pod hostname takes the form $(job-name)-$(index).More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.backoffLimit (int32)Specifies the number of retries before marking this job failed. Defaults to 6, unless backoffLimitPerInde",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_qa_10288"
  },
  {
    "question": "When would you use Job?",
    "answer": "JobJob represents the configuration of a single job.apiVersion: batch/v1import \"k8s.io/api/batch/v1\"JobJob represents the configuration of a single job.apiVersion: batch/v1kind: Jobmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (JobSpec)Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (JobStatus)Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusJobSpecJobSpec describes how the job execution will look like.Replicastemplate (PodTemplateSpec), requiredDescribes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are \"Never\" or \"OnFailure\". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/parallelism (int32)Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/Lifecyclecompletions (int32)Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/completionMode (string)completionMode specifies how Pod completions are tracked. It can be NonIndexed (default) or Indexed.NonIndexed means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.Indexed means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is Indexed, .spec.completions must be specified and .spec.parallelism must be less than or equal to 10^5. In addition, The Pod name takes the form $(job-name)-$(index)-$(random-string), the Pod hostname takes the form $(job-name)-$(index).More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.backoffLimit (int32)Specifies the number of retries before marking this job failed. Defaults to 6, unless backoffLimitPerInde",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_qa_10289"
  },
  {
    "question": "What are the benefits of Job?",
    "answer": "JobJob represents the configuration of a single job.apiVersion: batch/v1import \"k8s.io/api/batch/v1\"JobJob represents the configuration of a single job.apiVersion: batch/v1kind: Jobmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (JobSpec)Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (JobStatus)Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusJobSpecJobSpec describes how the job execution will look like.Replicastemplate (PodTemplateSpec), requiredDescribes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are \"Never\" or \"OnFailure\". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/parallelism (int32)Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/Lifecyclecompletions (int32)Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/completionMode (string)completionMode specifies how Pod completions are tracked. It can be NonIndexed (default) or Indexed.NonIndexed means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.Indexed means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is Indexed, .spec.completions must be specified and .spec.parallelism must be less than or equal to 10^5. In addition, The Pod name takes the form $(job-name)-$(index)-$(random-string), the Pod hostname takes the form $(job-name)-$(index).More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.backoffLimit (int32)Specifies the number of retries before marking this job failed. Defaults to 6, unless backoffLimitPerInde",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_qa_10290"
  },
  {
    "question": "What is Job?",
    "answer": "a p i V e r s i o n :   b a t c h / v 1   i m p o r t   \" k 8 s . i o / a p i / b a t c h / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_1_10291"
  },
  {
    "question": "What is Job?",
    "answer": "J o b   r e p r e s e n t s   t h e   c o n f i g u r a t i o n   o f   a   s i n g l e   j o b .   a p i V e r s i o n :   b a t c h / v 1 k i n d :   J o b m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( J o b S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   a   j o b .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( J o b S t a t u s ) C u r r e n t   s t a t u s   o f   a   j o b .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( J o b S p e c )   S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   a   j o b .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   s t a t u s   ( J o b S t a t u s )   C u r r e n t   s t a t u s   o f   a   j o b .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_2_10292"
  },
  {
    "question": "What is JobSpec?",
    "answer": "J o b S p e c   d e s c r i b e s   h o w   t h e   j o b   e x e c u t i o n   w i l l   l o o k   l i k e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_2_10293"
  },
  {
    "question": "What is Replicas?",
    "answer": "t e m p l a t e   ( P o d T e m p l a t e S p e c ) ,   r e q u i r e d D e s c r i b e s   t h e   p o d   t h a t   w i l l   b e   c r e a t e d   w h e n   e x e c u t i n g   a   j o b .   T h e   o n l y   a l l o w e d   t e m p l a t e . s p e c . r e s t a r t P o l i c y   v a l u e s   a r e   \" N e v e r \"   o r   \" O n F a i l u r e \" .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / j o b s - r u n - t o - c o m p l e t i o n / p a r a l l e l i s m   ( i n t 3 2 ) S p e c i f i e s   t h e   m a x i m u m   d e s i r e d   n u m b e r   o f   p o d s   t h e   j o b   s h o u l d   r u n   a t   a n y   g i v e n   t i m e .   T h e   a c t u a l   n u m b e r   o f   p o d s   r u n n i n g   i n   s t e a d y   s t a t e   w i l l   b e   l e s s   t h a n   t h i s   n u m b e r   w h e n   ( ( . s p e c . c o m p l e t i o n s   -   . s t a t u s . s u c c e s s f u l )   <   . s p e c . p a r a l l e l i s m ) ,   i . e .   w h e n   t h e   w o r k   l e f t   t o   d o   i s   l e s s   t h a n   m a x   p a r a l l e l i s m .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / j o b s - r u n - t o - c o m p l e t i o n /   t e m p l a t e   ( P o d T e m p l a t e S p e c ) ,   r e q u i r e d   D e s c r i b e s   t h e   p o d   t h a t   w i l l   b e   c r e a t e d   w h e n   e x e c u t i n g   a   j o b .   T h e   o n l y   a l l o w e d   t e m p l a t e . s p e c . r e s t a r t P o l i c y   v a l u e s   a r e   \" N e v e r \"   o r   \" O n F a i l u r e \" .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / j o b s - r u n - t o - c o m p l e t i o n /   p a r a l l e l i s m   ( i n t 3 2 )   S p e c i f i e s   t h e   m a x i m u m   d e s i r e d   n u m b e r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_3_10294"
  },
  {
    "question": "What is Lifecycle?",
    "answer": "c o m p l e t i o n s   ( i n t 3 2 ) S p e c i f i e s   t h e   d e s i r e d   n u m b e r   o f   s u c c e s s f u l l y   f i n i s h e d   p o d s   t h e   j o b   s h o u l d   b e   r u n   w i t h .   S e t t i n g   t o   n u l l   m e a n s   t h a t   t h e   s u c c e s s   o f   a n y   p o d   s i g n a l s   t h e   s u c c e s s   o f   a l l   p o d s ,   a n d   a l l o w s   p a r a l l e l i s m   t o   h a v e   a n y   p o s i t i v e   v a l u e .   S e t t i n g   t o   1   m e a n s   t h a t   p a r a l l e l i s m   i s   l i m i t e d   t o   1   a n d   t h e   s u c c e s s   o f   t h a t   p o d   s i g n a l s   t h e   s u c c e s s   o f   t h e   j o b .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / j o b s - r u n - t o - c o m p l e t i o n / c o m p l e t i o n M o d e   ( s t r i n g ) c o m p l e t i o n M o d e   s p e c i f i e s   h o w   P o d   c o m p l e t i o n s   a r e   t r a c k e d .   I t   c a n   b e   N o n I n d e x e d   ( d e f a u l t )   o r   I n d e x e d . N o n I n d e x e d   m e a n s   t h a t   t h e   J o b   i s   c o n s i d e r e d   c o m p l e t e   w h e n   t h e r e   h a v e   b e e n   . s p e c . c o m p l e t i o n s   s u c c e s s f u l l y   c o m p l e t e d   P o d s .   E a c h   P o d   c o m p l e t i o n   i s   h o m o l o g o u s   t o   e a c h   o t h e r . I n d e x e d   m e a n s   t h a t   t h e   P o d s   o f   a   J o b   g e t   a n   a s s o c i a t e d   c o m p l e t i o n   i n d e x   f r o m   0   t o   ( . s p e c . c o m p l e t i o n s   -   1 ) ,   a v a i l a b l e   i n   t h e   a n n o t a t i o n   b a t c h . k u b e r n e t e s . i o / j o b - c o m p l e t i o n - i n d e x .   T h e   J o b   i s   c o n s i d e r e d   c o m p l e t e   w h e n   t h e r e   i s   o n e   s u c c e s s f u l l y   c o m p l e t e d   P o d   f o r   e a c h   i n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_3_10295"
  },
  {
    "question": "What is Selector?",
    "answer": "s e l e c t o r   ( L a b e l S e l e c t o r ) A   l a b e l   q u e r y   o v e r   p o d s   t h a t   s h o u l d   m a t c h   t h e   p o d   c o u n t .   N o r m a l l y ,   t h e   s y s t e m   s e t s   t h i s   f i e l d   f o r   y o u .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / l a b e l s / # l a b e l - s e l e c t o r s m a n u a l S e l e c t o r   ( b o o l e a n ) m a n u a l S e l e c t o r   c o n t r o l s   g e n e r a t i o n   o f   p o d   l a b e l s   a n d   p o d   s e l e c t o r s .   L e a v e   m a n u a l S e l e c t o r   u n s e t   u n l e s s   y o u   a r e   c e r t a i n   w h a t   y o u   a r e   d o i n g .   W h e n   f a l s e   o r   u n s e t ,   t h e   s y s t e m   p i c k   l a b e l s   u n i q u e   t o   t h i s   j o b   a n d   a p p e n d s   t h o s e   l a b e l s   t o   t h e   p o d   t e m p l a t e .   W h e n   t r u e ,   t h e   u s e r   i s   r e s p o n s i b l e   f o r   p i c k i n g   u n i q u e   l a b e l s   a n d   s p e c i f y i n g   t h e   s e l e c t o r .   F a i l u r e   t o   p i c k   a   u n i q u e   l a b e l   m a y   c a u s e   t h i s   a n d   o t h e r   j o b s   t o   n o t   f u n c t i o n   c o r r e c t l y .   H o w e v e r ,   Y o u   m a y   s e e   m a n u a l S e l e c t o r = t r u e   i n   j o b s   t h a t   w e r e   c r e a t e d   w i t h   t h e   o l d   e x t e n s i o n s / v 1 b e t a 1   A P I .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / j o b s - r u n - t o - c o m p l e t i o n / # s p e c i f y i n g - y o u r - o w n - p o d - s e l e c t o r   s e l e c t o r   ( L a b e l S e l e c t o r )   A   l a b e l   q u e r y   o v e r   p o d s   t h a t   s h o u l d   m a t c h   t h e   p o d   c o u n t .   N o r m a l l y ,   t h ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_3_10296"
  },
  {
    "question": "What is Beta level?",
    "answer": "p o d F a i l u r e P o l i c y   ( P o d F a i l u r e P o l i c y ) S p e c i f i e s   t h e   p o l i c y   o f   h a n d l i n g   f a i l e d   p o d s .   I n   p a r t i c u l a r ,   i t   a l l o w s   t o   s p e c i f y   t h e   s e t   o f   a c t i o n s   a n d   c o n d i t i o n s   w h i c h   n e e d   t o   b e   s a t i s f i e d   t o   t a k e   t h e   a s s o c i a t e d   a c t i o n .   I f   e m p t y ,   t h e   d e f a u l t   b e h a v i o u r   a p p l i e s   -   t h e   c o u n t e r   o f   f a i l e d   p o d s ,   r e p r e s e n t e d   b y   t h e   j o b s ' s   . s t a t u s . f a i l e d   f i e l d ,   i s   i n c r e m e n t e d   a n d   i t   i s   c h e c k e d   a g a i n s t   t h e   b a c k o f f L i m i t .   T h i s   f i e l d   c a n n o t   b e   u s e d   i n   c o m b i n a t i o n   w i t h   r e s t a r t P o l i c y = O n F a i l u r e . P o d F a i l u r e P o l i c y   d e s c r i b e s   h o w   f a i l e d   p o d s   i n f l u e n c e   t h e   b a c k o f f L i m i t . p o d F a i l u r e P o l i c y . r u l e s   ( [ ] P o d F a i l u r e P o l i c y R u l e ) ,   r e q u i r e d A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A   l i s t   o f   p o d   f a i l u r e   p o l i c y   r u l e s .   T h e   r u l e s   a r e   e v a l u a t e d   i n   o r d e r .   O n c e   a   r u l e   m a t c h e s   a   P o d   f a i l u r e ,   t h e   r e m a i n i n g   o f   t h e   r u l e s   a r e   i g n o r e d .   W h e n   n o   r u l e   m a t c h e s   t h e   P o d   f a i l u r e ,   t h e   d e f a u l t   h a n d l i n g   a p p l i e s   -   t h e   c o u n t e r   o f   p o d   f a i l u r e s   i s   i n c r e m e n t e d   a n d   i t   i s   c h e c k e d   a g a i n s t   t h e   b a c k o f f L i m i t .   A t   m o s t   2 0   e l e m e n t s   a r e   a l l o w e d . P o d F a i l u r e P o l i c y R u l e   d e s c r i b e s   h o w   a   p o d   f a i l ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_3_10297"
  },
  {
    "question": "What is Alpha level?",
    "answer": "b a c k o f f L i m i t P e r I n d e x   ( i n t 3 2 ) S p e c i f i e s   t h e   l i m i t   f o r   t h e   n u m b e r   o f   r e t r i e s   w i t h i n   a n   i n d e x   b e f o r e   m a r k i n g   t h i s   i n d e x   a s   f a i l e d .   W h e n   e n a b l e d   t h e   n u m b e r   o f   f a i l u r e s   p e r   i n d e x   i s   k e p t   i n   t h e   p o d ' s   b a t c h . k u b e r n e t e s . i o / j o b - i n d e x - f a i l u r e - c o u n t   a n n o t a t i o n .   I t   c a n   o n l y   b e   s e t   w h e n   J o b ' s   c o m p l e t i o n M o d e = I n d e x e d ,   a n d   t h e   P o d ' s   r e s t a r t   p o l i c y   i s   N e v e r .   T h e   f i e l d   i s   i m m u t a b l e . m a n a g e d B y   ( s t r i n g ) M a n a g e d B y   f i e l d   i n d i c a t e s   t h e   c o n t r o l l e r   t h a t   m a n a g e s   a   J o b .   T h e   k 8 s   J o b   c o n t r o l l e r   r e c o n c i l e s   j o b s   w h i c h   d o n ' t   h a v e   t h i s   f i e l d   a t   a l l   o r   t h e   f i e l d   v a l u e   i s   t h e   r e s e r v e d   s t r i n g   k u b e r n e t e s . i o / j o b - c o n t r o l l e r ,   b u t   s k i p s   r e c o n c i l i n g   J o b s   w i t h   a   c u s t o m   v a l u e   f o r   t h i s   f i e l d .   T h e   v a l u e   m u s t   b e   a   v a l i d   d o m a i n - p r e f i x e d   p a t h   ( e . g .   a c m e . i o / f o o )   -   a l l   c h a r a c t e r s   b e f o r e   t h e   f i r s t   \" / \"   m u s t   b e   a   v a l i d   s u b d o m a i n   a s   d e f i n e d   b y   R F C   1 1 2 3 .   A l l   c h a r a c t e r s   t r a i l i n g   t h e   f i r s t   \" / \"   m u s t   b e   v a l i d   H T T P   P a t h   c h a r a c t e r s   a s   d e f i n e d   b y   R F C   3 9 8 6 .   T h e   v a l u e   c a n n o t   e x c e e d   6 3   c h a r a c t e r s .   T h i s   f i e l d   i s   i m m u t a b l e . T h i s   f i e l d   i s   b e t a - l e v e l .   T h e   j o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_3_10298"
  },
  {
    "question": "What is JobStatus?",
    "answer": "J o b S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t e   o f   a   J o b .   s t a r t T i m e   ( T i m e ) R e p r e s e n t s   t i m e   w h e n   t h e   j o b   c o n t r o l l e r   s t a r t e d   p r o c e s s i n g   a   j o b .   W h e n   a   J o b   i s   c r e a t e d   i n   t h e   s u s p e n d e d   s t a t e ,   t h i s   f i e l d   i s   n o t   s e t   u n t i l   t h e   f i r s t   t i m e   i t   i s   r e s u m e d .   T h i s   f i e l d   i s   r e s e t   e v e r y   t i m e   a   J o b   i s   r e s u m e d   f r o m   s u s p e n s i o n .   I t   i s   r e p r e s e n t e d   i n   R F C 3 3 3 9   f o r m   a n d   i s   i n   U T C . O n c e   s e t ,   t h e   f i e l d   c a n   o n l y   b e   r e m o v e d   w h e n   t h e   j o b   i s   s u s p e n d e d .   T h e   f i e l d   c a n n o t   b e   m o d i f i e d   w h i l e   t h e   j o b   i s   u n s u s p e n d e d   o r   f i n i s h e d . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c o m p l e t i o n T i m e   ( T i m e ) R e p r e s e n t s   t i m e   w h e n   t h e   j o b   w a s   c o m p l e t e d .   I t   i s   n o t   g u a r a n t e e d   t o   b e   s e t   i n   h a p p e n s - b e f o r e   o r d e r   a c r o s s   s e p a r a t e   o p e r a t i o n s .   I t   i s   r e p r e s e n t e d   i n   R F C 3 3 3 9   f o r m   a n d   i s   i n   U T C .   T h e   c o m p l e t i o n   t i m e   i s   s e t   w h e n   t h e   j o b   f i n i s h e s   s u c c e s s f u l l y ,   a n d   o n l y   t h e n .   T h e   v a l u e   c a n n o t   b e   u p d a t e d   o r   r e m o v e d .   T h e   v a l u e   i n d i c a t e s   t h e   s a m e   o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_2_10299"
  },
  {
    "question": "What is Beta level?",
    "answer": "r e a d y   ( i n t 3 2 ) T h e   n u m b e r   o f   a c t i v e   p o d s   w h i c h   h a v e   a   R e a d y   c o n d i t i o n   a n d   a r e   n o t   t e r m i n a t i n g   ( w i t h o u t   a   d e l e t i o n T i m e s t a m p ) .   r e a d y   ( i n t 3 2 )   T h e   n u m b e r   o f   a c t i v e   p o d s   w h i c h   h a v e   a   R e a d y   c o n d i t i o n   a n d   a r e   n o t   t e r m i n a t i n g   ( w i t h o u t   a   d e l e t i o n T i m e s t a m p ) .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_3_10300"
  },
  {
    "question": "What is Alpha level?",
    "answer": "f a i l e d I n d e x e s   ( s t r i n g ) F a i l e d I n d e x e s   h o l d s   t h e   f a i l e d   i n d e x e s   w h e n   s p e c . b a c k o f f L i m i t P e r I n d e x   i s   s e t .   T h e   i n d e x e s   a r e   r e p r e s e n t e d   i n   t h e   t e x t   f o r m a t   a n a l o g o u s   a s   f o r   t h e   c o m p l e t e d I n d e x e s   f i e l d ,   i e .   t h e y   a r e   k e p t   a s   d e c i m a l   i n t e g e r s   s e p a r a t e d   b y   c o m m a s .   T h e   n u m b e r s   a r e   l i s t e d   i n   i n c r e a s i n g   o r d e r .   T h r e e   o r   m o r e   c o n s e c u t i v e   n u m b e r s   a r e   c o m p r e s s e d   a n d   r e p r e s e n t e d   b y   t h e   f i r s t   a n d   l a s t   e l e m e n t   o f   t h e   s e r i e s ,   s e p a r a t e d   b y   a   h y p h e n .   F o r   e x a m p l e ,   i f   t h e   f a i l e d   i n d e x e s   a r e   1 ,   3 ,   4 ,   5   a n d   7 ,   t h e y   a r e   r e p r e s e n t e d   a s   \" 1 , 3 - 5 , 7 \" .   T h e   s e t   o f   f a i l e d   i n d e x e s   c a n n o t   o v e r l a p   w i t h   t h e   s e t   o f   c o m p l e t e d   i n d e x e s . t e r m i n a t i n g   ( i n t 3 2 ) T h e   n u m b e r   o f   p o d s   w h i c h   a r e   t e r m i n a t i n g   ( i n   p h a s e   P e n d i n g   o r   R u n n i n g   a n d   h a v e   a   d e l e t i o n T i m e s t a m p ) . T h i s   f i e l d   i s   b e t a - l e v e l .   T h e   j o b   c o n t r o l l e r   p o p u l a t e s   t h e   f i e l d   w h e n   t h e   f e a t u r e   g a t e   J o b P o d R e p l a c e m e n t P o l i c y   i s   e n a b l e d   ( e n a b l e d   b y   d e f a u l t ) .   f a i l e d I n d e x e s   ( s t r i n g )   F a i l e d I n d e x e s   h o l d s   t h e   f a i l e d   i n d e x e s   w h e n   s p e c . b a c k o f f L i m i t P e r I n d e x   i s   s e t .   T h e   i n d e x e s   a r e   r e p r e s e n t e d   i n   t h e   t e x t   f ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_3_10301"
  },
  {
    "question": "What is JobList?",
    "answer": "J o b L i s t   i s   a   c o l l e c t i o n   o f   j o b s .   a p i V e r s i o n :   b a t c h / v 1 k i n d :   J o b L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] J o b ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   J o b s .   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] J o b ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   J o b s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_2_10302"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10303"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10304"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10305"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10306"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10307"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10308"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10309"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10310"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10311"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10312"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10313"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10314"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10315"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   J o b ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   J o b ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10316"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b ) :   O K   2 0 1   ( J o b ) :   C r e a t e d   2 0 2   ( J o b ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10317"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10318"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   J o b ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   J o b ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10319"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b ) :   O K   2 0 1   ( J o b ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10320"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10321"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   J o b ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   J o b ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10322"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b ) :   O K   2 0 1   ( J o b ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10323"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10324"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10325"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b ) :   O K   2 0 1   ( J o b ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10326"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10327"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10328"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b ) :   O K   2 0 1   ( J o b ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10329"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10330"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10331"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10332"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10333"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10334"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/job-v1/",
    "id": "k8s_00550_section_4_10335"
  },
  {
    "question": "What is Finalizers?",
    "answer": "FinalizersFinalizers are namespaced keys that tell Kubernetes to wait until specific conditions are met before it fully deletes resources that are marked for deletion. Finalizers alert controllers to clean up resources the deleted object owned.When you tell Kubernetes to delete an object that has finalizers specified for it, the Kubernetes API marks the object for deletion by populating .metadata.deletionTimestamp, and returns a 202 status code (HTTP \"Accepted\"). The target object remains in a terminating state while the control plane, or other components, take the actions defined by the finalizers. After these actions are complete, the controller removes the relevant finalizers from the target object. When the metadata.finalizers field is empty, Kubernetes considers the deletion complete and deletes the object.You can use finalizers to control garbage collection of resources. For example, you can define a finalizer to clean up related API resources or infrastructure before the controller deletes the object being finalized.You can use finalizers to control garbage collection of objects by alerting controllers to perform specific cleanup tasks before deleting the target resource.Finalizers don't usually specify the code to execute. Instead, they are typically lists of keys on a specific resource similar to annotations. Kubernetes specifies some finalizers automatically, but you can also specify your own.How finalizers workWhen you create a resource using a manifest file, you can specify finalizers in the metadata.finalizers field. When you attempt to delete the resource, the API server handling the delete request notices the values in the finalizers field and does the following:Modifies the object to add a metadata.deletionTimestamp field with the time you started the deletion.Prevents the object from being removed until all items are removed from its metadata.finalizers fieldReturns a 202 status code (HTTP \"Accepted\")The controller managing that finalizer notices the update to the object setting the metadata.deletionTimestamp, indicating deletion of the object has been requested. The controller then attempts to satisfy the requirements of the finalizers specified for that resource. Each time a finalizer condition is satisfied, the controller removes that key from the resource's finalizers field. When the finalizers field is emptied, an object with a deletionTimestamp field set is automatically deleted. You can also use finalizers to prevent deletion of unmanaged resources.A common example of a finalizer is kubernetes.io/pv-protection, which prevents accidental deletion of PersistentVolume objects. When a PersistentVolume object is in use by a Pod, Kubernetes adds the pv-protection finalizer. If you try to delete the PersistentVolume, it enters a Terminating status, but the controller can't delete it because the finalizer exists. When the Pod stops using the PersistentVolume, Kubernetes clears the pv-protection finalizer, and the controller delete",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/finalizers/",
    "id": "k8s_00551_qa_10336"
  },
  {
    "question": "How does Finalizers work?",
    "answer": "FinalizersFinalizers are namespaced keys that tell Kubernetes to wait until specific conditions are met before it fully deletes resources that are marked for deletion. Finalizers alert controllers to clean up resources the deleted object owned.When you tell Kubernetes to delete an object that has finalizers specified for it, the Kubernetes API marks the object for deletion by populating .metadata.deletionTimestamp, and returns a 202 status code (HTTP \"Accepted\"). The target object remains in a terminating state while the control plane, or other components, take the actions defined by the finalizers. After these actions are complete, the controller removes the relevant finalizers from the target object. When the metadata.finalizers field is empty, Kubernetes considers the deletion complete and deletes the object.You can use finalizers to control garbage collection of resources. For example, you can define a finalizer to clean up related API resources or infrastructure before the controller deletes the object being finalized.You can use finalizers to control garbage collection of objects by alerting controllers to perform specific cleanup tasks before deleting the target resource.Finalizers don't usually specify the code to execute. Instead, they are typically lists of keys on a specific resource similar to annotations. Kubernetes specifies some finalizers automatically, but you can also specify your own.How finalizers workWhen you create a resource using a manifest file, you can specify finalizers in the metadata.finalizers field. When you attempt to delete the resource, the API server handling the delete request notices the values in the finalizers field and does the following:Modifies the object to add a metadata.deletionTimestamp field with the time you started the deletion.Prevents the object from being removed until all items are removed from its metadata.finalizers fieldReturns a 202 status code (HTTP \"Accepted\")The controller managing that finalizer notices the update to the object setting the metadata.deletionTimestamp, indicating deletion of the object has been requested. The controller then attempts to satisfy the requirements of the finalizers specified for that resource. Each time a finalizer condition is satisfied, the controller removes that key from the resource's finalizers field. When the finalizers field is emptied, an object with a deletionTimestamp field set is automatically deleted. You can also use finalizers to prevent deletion of unmanaged resources.A common example of a finalizer is kubernetes.io/pv-protection, which prevents accidental deletion of PersistentVolume objects. When a PersistentVolume object is in use by a Pod, Kubernetes adds the pv-protection finalizer. If you try to delete the PersistentVolume, it enters a Terminating status, but the controller can't delete it because the finalizer exists. When the Pod stops using the PersistentVolume, Kubernetes clears the pv-protection finalizer, and the controller delete",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/finalizers/",
    "id": "k8s_00551_qa_10337"
  },
  {
    "question": "When would you use Finalizers?",
    "answer": "FinalizersFinalizers are namespaced keys that tell Kubernetes to wait until specific conditions are met before it fully deletes resources that are marked for deletion. Finalizers alert controllers to clean up resources the deleted object owned.When you tell Kubernetes to delete an object that has finalizers specified for it, the Kubernetes API marks the object for deletion by populating .metadata.deletionTimestamp, and returns a 202 status code (HTTP \"Accepted\"). The target object remains in a terminating state while the control plane, or other components, take the actions defined by the finalizers. After these actions are complete, the controller removes the relevant finalizers from the target object. When the metadata.finalizers field is empty, Kubernetes considers the deletion complete and deletes the object.You can use finalizers to control garbage collection of resources. For example, you can define a finalizer to clean up related API resources or infrastructure before the controller deletes the object being finalized.You can use finalizers to control garbage collection of objects by alerting controllers to perform specific cleanup tasks before deleting the target resource.Finalizers don't usually specify the code to execute. Instead, they are typically lists of keys on a specific resource similar to annotations. Kubernetes specifies some finalizers automatically, but you can also specify your own.How finalizers workWhen you create a resource using a manifest file, you can specify finalizers in the metadata.finalizers field. When you attempt to delete the resource, the API server handling the delete request notices the values in the finalizers field and does the following:Modifies the object to add a metadata.deletionTimestamp field with the time you started the deletion.Prevents the object from being removed until all items are removed from its metadata.finalizers fieldReturns a 202 status code (HTTP \"Accepted\")The controller managing that finalizer notices the update to the object setting the metadata.deletionTimestamp, indicating deletion of the object has been requested. The controller then attempts to satisfy the requirements of the finalizers specified for that resource. Each time a finalizer condition is satisfied, the controller removes that key from the resource's finalizers field. When the finalizers field is emptied, an object with a deletionTimestamp field set is automatically deleted. You can also use finalizers to prevent deletion of unmanaged resources.A common example of a finalizer is kubernetes.io/pv-protection, which prevents accidental deletion of PersistentVolume objects. When a PersistentVolume object is in use by a Pod, Kubernetes adds the pv-protection finalizer. If you try to delete the PersistentVolume, it enters a Terminating status, but the controller can't delete it because the finalizer exists. When the Pod stops using the PersistentVolume, Kubernetes clears the pv-protection finalizer, and the controller delete",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/finalizers/",
    "id": "k8s_00551_qa_10338"
  },
  {
    "question": "What are the benefits of Finalizers?",
    "answer": "FinalizersFinalizers are namespaced keys that tell Kubernetes to wait until specific conditions are met before it fully deletes resources that are marked for deletion. Finalizers alert controllers to clean up resources the deleted object owned.When you tell Kubernetes to delete an object that has finalizers specified for it, the Kubernetes API marks the object for deletion by populating .metadata.deletionTimestamp, and returns a 202 status code (HTTP \"Accepted\"). The target object remains in a terminating state while the control plane, or other components, take the actions defined by the finalizers. After these actions are complete, the controller removes the relevant finalizers from the target object. When the metadata.finalizers field is empty, Kubernetes considers the deletion complete and deletes the object.You can use finalizers to control garbage collection of resources. For example, you can define a finalizer to clean up related API resources or infrastructure before the controller deletes the object being finalized.You can use finalizers to control garbage collection of objects by alerting controllers to perform specific cleanup tasks before deleting the target resource.Finalizers don't usually specify the code to execute. Instead, they are typically lists of keys on a specific resource similar to annotations. Kubernetes specifies some finalizers automatically, but you can also specify your own.How finalizers workWhen you create a resource using a manifest file, you can specify finalizers in the metadata.finalizers field. When you attempt to delete the resource, the API server handling the delete request notices the values in the finalizers field and does the following:Modifies the object to add a metadata.deletionTimestamp field with the time you started the deletion.Prevents the object from being removed until all items are removed from its metadata.finalizers fieldReturns a 202 status code (HTTP \"Accepted\")The controller managing that finalizer notices the update to the object setting the metadata.deletionTimestamp, indicating deletion of the object has been requested. The controller then attempts to satisfy the requirements of the finalizers specified for that resource. Each time a finalizer condition is satisfied, the controller removes that key from the resource's finalizers field. When the finalizers field is emptied, an object with a deletionTimestamp field set is automatically deleted. You can also use finalizers to prevent deletion of unmanaged resources.A common example of a finalizer is kubernetes.io/pv-protection, which prevents accidental deletion of PersistentVolume objects. When a PersistentVolume object is in use by a Pod, Kubernetes adds the pv-protection finalizer. If you try to delete the PersistentVolume, it enters a Terminating status, but the controller can't delete it because the finalizer exists. When the Pod stops using the PersistentVolume, Kubernetes clears the pv-protection finalizer, and the controller delete",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/finalizers/",
    "id": "k8s_00551_qa_10339"
  },
  {
    "question": "What is Finalizers?",
    "answer": "F i n a l i z e r s   a r e   n a m e s p a c e d   k e y s   t h a t   t e l l   K u b e r n e t e s   t o   w a i t   u n t i l   s p e c i f i c   c o n d i t i o n s   a r e   m e t   b e f o r e   i t   f u l l y   d e l e t e s   r e s o u r c e s   t h a t   a r e   m a r k e d   f o r   d e l e t i o n .   F i n a l i z e r s   a l e r t   c o n t r o l l e r s   t o   c l e a n   u p   r e s o u r c e s   t h e   d e l e t e d   o b j e c t   o w n e d .   W h e n   y o u   t e l l   K u b e r n e t e s   t o   d e l e t e   a n   o b j e c t   t h a t   h a s   f i n a l i z e r s   s p e c i f i e d   f o r   i t ,   t h e   K u b e r n e t e s   A P I   m a r k s   t h e   o b j e c t   f o r   d e l e t i o n   b y   p o p u l a t i n g   . m e t a d a t a . d e l e t i o n T i m e s t a m p ,   a n d   r e t u r n s   a   2 0 2   s t a t u s   c o d e   ( H T T P   \" A c c e p t e d \" ) .   T h e   t a r g e t   o b j e c t   r e m a i n s   i n   a   t e r m i n a t i n g   s t a t e   w h i l e   t h e   c o n t r o l   p l a n e ,   o r   o t h e r   c o m p o n e n t s ,   t a k e   t h e   a c t i o n s   d e f i n e d   b y   t h e   f i n a l i z e r s .   A f t e r   t h e s e   a c t i o n s   a r e   c o m p l e t e ,   t h e   c o n t r o l l e r   r e m o v e s   t h e   r e l e v a n t   f i n a l i z e r s   f r o m   t h e   t a r g e t   o b j e c t .   W h e n   t h e   m e t a d a t a . f i n a l i z e r s   f i e l d   i s   e m p t y ,   K u b e r n e t e s   c o n s i d e r s   t h e   d e l e t i o n   c o m p l e t e   a n d   d e l e t e s   t h e   o b j e c t .   Y o u   c a n   u s e   f i n a l i z e r s   t o   c o n t r o l   g a r b a g e   c o l l e c t i o n   o f   r e s o u r c e s .   F o r   e x a m p l e ,   y o u   c a n   d e f i n e   a   f i n a l i z e r   t o   c l e a n   u p   r e l a t e d   A P I   r e s o u r c e s   o r   i n f r a s t r u c t u r e   b e f o r e   t h e   c o n t r o l l e r   d e l e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/finalizers/",
    "id": "k8s_00551_section_1_10340"
  },
  {
    "question": "What is How finalizers work?",
    "answer": "W h e n   y o u   c r e a t e   a   r e s o u r c e   u s i n g   a   m a n i f e s t   f i l e ,   y o u   c a n   s p e c i f y   f i n a l i z e r s   i n   t h e   m e t a d a t a . f i n a l i z e r s   f i e l d .   W h e n   y o u   a t t e m p t   t o   d e l e t e   t h e   r e s o u r c e ,   t h e   A P I   s e r v e r   h a n d l i n g   t h e   d e l e t e   r e q u e s t   n o t i c e s   t h e   v a l u e s   i n   t h e   f i n a l i z e r s   f i e l d   a n d   d o e s   t h e   f o l l o w i n g :   M o d i f i e s   t h e   o b j e c t   t o   a d d   a   m e t a d a t a . d e l e t i o n T i m e s t a m p   f i e l d   w i t h   t h e   t i m e   y o u   s t a r t e d   t h e   d e l e t i o n . P r e v e n t s   t h e   o b j e c t   f r o m   b e i n g   r e m o v e d   u n t i l   a l l   i t e m s   a r e   r e m o v e d   f r o m   i t s   m e t a d a t a . f i n a l i z e r s   f i e l d R e t u r n s   a   2 0 2   s t a t u s   c o d e   ( H T T P   \" A c c e p t e d \" )   T h e   c o n t r o l l e r   m a n a g i n g   t h a t   f i n a l i z e r   n o t i c e s   t h e   u p d a t e   t o   t h e   o b j e c t   s e t t i n g   t h e   m e t a d a t a . d e l e t i o n T i m e s t a m p ,   i n d i c a t i n g   d e l e t i o n   o f   t h e   o b j e c t   h a s   b e e n   r e q u e s t e d .   T h e   c o n t r o l l e r   t h e n   a t t e m p t s   t o   s a t i s f y   t h e   r e q u i r e m e n t s   o f   t h e   f i n a l i z e r s   s p e c i f i e d   f o r   t h a t   r e s o u r c e .   E a c h   t i m e   a   f i n a l i z e r   c o n d i t i o n   i s   s a t i s f i e d ,   t h e   c o n t r o l l e r   r e m o v e s   t h a t   k e y   f r o m   t h e   r e s o u r c e ' s   f i n a l i z e r s   f i e l d .   W h e n   t h e   f i n a l i z e r s   f i e l d   i s   e m p t i e d ,   a n   o b j e c t   w i t h   a   d e l e t i o n T i m e s t a m p   f i e l d   s e t   i s   a u t o m a t i c a l l y   d e l e t e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/finalizers/",
    "id": "k8s_00551_section_2_10341"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   y o u   D E L E T E   a n   o b j e c t ,   K u b e r n e t e s   a d d s   t h e   d e l e t i o n   t i m e s t a m p   f o r   t h a t   o b j e c t   a n d   t h e n   i m m e d i a t e l y   s t a r t s   t o   r e s t r i c t   c h a n g e s   t o   t h e   . m e t a d a t a . f i n a l i z e r s   f i e l d   f o r   t h e   o b j e c t   t h a t   i s   n o w   p e n d i n g   d e l e t i o n .   Y o u   c a n   r e m o v e   e x i s t i n g   f i n a l i z e r s   ( d e l e t i n g   a n   e n t r y   f r o m   t h e   f i n a l i z e r s   l i s t )   b u t   y o u   c a n n o t   a d d   a   n e w   f i n a l i z e r .   Y o u   a l s o   c a n n o t   m o d i f y   t h e   d e l e t i o n T i m e s t a m p   f o r   a n   o b j e c t   o n c e   i t   i s   s e t . A f t e r   t h e   d e l e t i o n   i s   r e q u e s t e d ,   y o u   c a n   n o t   r e s u r r e c t   t h i s   o b j e c t .   T h e   o n l y   w a y   i s   t o   d e l e t e   i t   a n d   m a k e   a   n e w   s i m i l a r   o b j e c t .   W h e n   y o u   D E L E T E   a n   o b j e c t ,   K u b e r n e t e s   a d d s   t h e   d e l e t i o n   t i m e s t a m p   f o r   t h a t   o b j e c t   a n d   t h e n   i m m e d i a t e l y   s t a r t s   t o   r e s t r i c t   c h a n g e s   t o   t h e   . m e t a d a t a . f i n a l i z e r s   f i e l d   f o r   t h e   o b j e c t   t h a t   i s   n o w   p e n d i n g   d e l e t i o n .   Y o u   c a n   r e m o v e   e x i s t i n g   f i n a l i z e r s   ( d e l e t i n g   a n   e n t r y   f r o m   t h e   f i n a l i z e r s   l i s t )   b u t   y o u   c a n n o t   a d d   a   n e w   f i n a l i z e r .   Y o u   a l s o   c a n n o t   m o d i f y   t h e   d e l e t i o n T i m e s t a m p   f o r   a n   o b j e c t   o n c e   i t   i s   s e t .   A f t e r   t h e   d e l e t i o n   i s   r e q u e s t e d ,   y o u   c a n   n o t   r e s u r r e c t   t h i s   o b j e c t .   T h e   o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/finalizers/",
    "id": "k8s_00551_section_4_10342"
  },
  {
    "question": "What is Owner references, labels, and finalizers?",
    "answer": "L i k e   l a b e l s ,   o w n e r   r e f e r e n c e s   d e s c r i b e   t h e   r e l a t i o n s h i p s   b e t w e e n   o b j e c t s   i n   K u b e r n e t e s ,   b u t   a r e   u s e d   f o r   a   d i f f e r e n t   p u r p o s e .   W h e n   a   c o n t r o l l e r   m a n a g e s   o b j e c t s   l i k e   P o d s ,   i t   u s e s   l a b e l s   t o   t r a c k   c h a n g e s   t o   g r o u p s   o f   r e l a t e d   o b j e c t s .   F o r   e x a m p l e ,   w h e n   a   J o b   c r e a t e s   o n e   o r   m o r e   P o d s ,   t h e   J o b   c o n t r o l l e r   a p p l i e s   l a b e l s   t o   t h o s e   p o d s   a n d   t r a c k s   c h a n g e s   t o   a n y   P o d s   i n   t h e   c l u s t e r   w i t h   t h e   s a m e   l a b e l .   T h e   J o b   c o n t r o l l e r   a l s o   a d d s   o w n e r   r e f e r e n c e s   t o   t h o s e   P o d s ,   p o i n t i n g   a t   t h e   J o b   t h a t   c r e a t e d   t h e   P o d s .   I f   y o u   d e l e t e   t h e   J o b   w h i l e   t h e s e   P o d s   a r e   r u n n i n g ,   K u b e r n e t e s   u s e s   t h e   o w n e r   r e f e r e n c e s   ( n o t   l a b e l s )   t o   d e t e r m i n e   w h i c h   P o d s   i n   t h e   c l u s t e r   n e e d   c l e a n u p .   K u b e r n e t e s   a l s o   p r o c e s s e s   f i n a l i z e r s   w h e n   i t   i d e n t i f i e s   o w n e r   r e f e r e n c e s   o n   a   r e s o u r c e   t a r g e t e d   f o r   d e l e t i o n .   I n   s o m e   s i t u a t i o n s ,   f i n a l i z e r s   c a n   b l o c k   t h e   d e l e t i o n   o f   d e p e n d e n t   o b j e c t s ,   w h i c h   c a n   c a u s e   t h e   t a r g e t e d   o w n e r   o b j e c t   t o   r e m a i n   f o r   l o n g e r   t h a n   e x p e c t e d   w i t h o u t   b e i n g   f u l l y   d e l e t e d .   I n   t h e s e   s i t u a t i o n s ,   y o u   s h o u l d   c h e c k   f i n a l i z e r s   a n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/finalizers/",
    "id": "k8s_00551_section_2_10343"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   U s i n g   F i n a l i z e r s   t o   C o n t r o l   D e l e t i o n   o n   t h e   K u b e r n e t e s   b l o g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/finalizers/",
    "id": "k8s_00551_section_2_10344"
  },
  {
    "question": "What is ResourceClaim?",
    "answer": "ResourceClaimResourceClaim describes a request for access to resources in the cluster, for use by workloads.apiVersion: resource.k8s.io/v1import \"k8s.io/api/resource/v1\"ResourceClaimResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated.This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.apiVersion: resource.k8s.io/v1kind: ResourceClaimmetadata (ObjectMeta)Standard object metadataspec (ResourceClaimSpec), requiredSpec describes what is being requested and how to configure it. The spec is immutable.status (ResourceClaimStatus)Status describes whether the claim is ready to use and what has been allocated.ResourceClaimSpecResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.devices (DeviceClaim)Devices defines how to request devices.DeviceClaim defines how to request devices with a ResourceClaim.devices.config ([]DeviceClaimConfiguration)Atomic: will be replaced during a mergeThis field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.devices.config.opaque (OpaqueDeviceConfiguration)Opaque provides driver-specific configuration parameters.OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.devices.config.opaque.driver (string), requiredDriver is used to determine which kubelet plugin needs to be passed these configuration parameters.An admission policy provided by the driver developer could use this to decide whether it needs to validate them.Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.devices.config.opaque.parameters (RawExtension), requiredParameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (\"kind\" + \"apiVersion\" for Kubernetes types), with conversion between different versions.The length of the raw data must be smaller or equal to 10 Ki.*RawExtension is used to hold extensions in external versions.To use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.// Internal package:type MyAPIObject struct { runtime.TypeMeta `json:\",inline\"` MyPlugin runtime.Object `json:\"myPlugin\"` } type PluginA struct { AOption string `json:\"aOption\"` } // External package:type MyAPIObject struct { runtime.TypeMeta `json:\",inline\"` MyPlugin runtime.RawExtension `json:\"myPlugin\"` } type PluginA struct { AOpti",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_qa_10345"
  },
  {
    "question": "How does ResourceClaim work?",
    "answer": "ResourceClaimResourceClaim describes a request for access to resources in the cluster, for use by workloads.apiVersion: resource.k8s.io/v1import \"k8s.io/api/resource/v1\"ResourceClaimResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated.This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.apiVersion: resource.k8s.io/v1kind: ResourceClaimmetadata (ObjectMeta)Standard object metadataspec (ResourceClaimSpec), requiredSpec describes what is being requested and how to configure it. The spec is immutable.status (ResourceClaimStatus)Status describes whether the claim is ready to use and what has been allocated.ResourceClaimSpecResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.devices (DeviceClaim)Devices defines how to request devices.DeviceClaim defines how to request devices with a ResourceClaim.devices.config ([]DeviceClaimConfiguration)Atomic: will be replaced during a mergeThis field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.devices.config.opaque (OpaqueDeviceConfiguration)Opaque provides driver-specific configuration parameters.OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.devices.config.opaque.driver (string), requiredDriver is used to determine which kubelet plugin needs to be passed these configuration parameters.An admission policy provided by the driver developer could use this to decide whether it needs to validate them.Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.devices.config.opaque.parameters (RawExtension), requiredParameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (\"kind\" + \"apiVersion\" for Kubernetes types), with conversion between different versions.The length of the raw data must be smaller or equal to 10 Ki.*RawExtension is used to hold extensions in external versions.To use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.// Internal package:type MyAPIObject struct { runtime.TypeMeta `json:\",inline\"` MyPlugin runtime.Object `json:\"myPlugin\"` } type PluginA struct { AOption string `json:\"aOption\"` } // External package:type MyAPIObject struct { runtime.TypeMeta `json:\",inline\"` MyPlugin runtime.RawExtension `json:\"myPlugin\"` } type PluginA struct { AOpti",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_qa_10346"
  },
  {
    "question": "When would you use ResourceClaim?",
    "answer": "ResourceClaimResourceClaim describes a request for access to resources in the cluster, for use by workloads.apiVersion: resource.k8s.io/v1import \"k8s.io/api/resource/v1\"ResourceClaimResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated.This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.apiVersion: resource.k8s.io/v1kind: ResourceClaimmetadata (ObjectMeta)Standard object metadataspec (ResourceClaimSpec), requiredSpec describes what is being requested and how to configure it. The spec is immutable.status (ResourceClaimStatus)Status describes whether the claim is ready to use and what has been allocated.ResourceClaimSpecResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.devices (DeviceClaim)Devices defines how to request devices.DeviceClaim defines how to request devices with a ResourceClaim.devices.config ([]DeviceClaimConfiguration)Atomic: will be replaced during a mergeThis field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.devices.config.opaque (OpaqueDeviceConfiguration)Opaque provides driver-specific configuration parameters.OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.devices.config.opaque.driver (string), requiredDriver is used to determine which kubelet plugin needs to be passed these configuration parameters.An admission policy provided by the driver developer could use this to decide whether it needs to validate them.Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.devices.config.opaque.parameters (RawExtension), requiredParameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (\"kind\" + \"apiVersion\" for Kubernetes types), with conversion between different versions.The length of the raw data must be smaller or equal to 10 Ki.*RawExtension is used to hold extensions in external versions.To use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.// Internal package:type MyAPIObject struct { runtime.TypeMeta `json:\",inline\"` MyPlugin runtime.Object `json:\"myPlugin\"` } type PluginA struct { AOption string `json:\"aOption\"` } // External package:type MyAPIObject struct { runtime.TypeMeta `json:\",inline\"` MyPlugin runtime.RawExtension `json:\"myPlugin\"` } type PluginA struct { AOpti",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_qa_10347"
  },
  {
    "question": "What are the benefits of ResourceClaim?",
    "answer": "ResourceClaimResourceClaim describes a request for access to resources in the cluster, for use by workloads.apiVersion: resource.k8s.io/v1import \"k8s.io/api/resource/v1\"ResourceClaimResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated.This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.apiVersion: resource.k8s.io/v1kind: ResourceClaimmetadata (ObjectMeta)Standard object metadataspec (ResourceClaimSpec), requiredSpec describes what is being requested and how to configure it. The spec is immutable.status (ResourceClaimStatus)Status describes whether the claim is ready to use and what has been allocated.ResourceClaimSpecResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.devices (DeviceClaim)Devices defines how to request devices.DeviceClaim defines how to request devices with a ResourceClaim.devices.config ([]DeviceClaimConfiguration)Atomic: will be replaced during a mergeThis field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.devices.config.opaque (OpaqueDeviceConfiguration)Opaque provides driver-specific configuration parameters.OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.devices.config.opaque.driver (string), requiredDriver is used to determine which kubelet plugin needs to be passed these configuration parameters.An admission policy provided by the driver developer could use this to decide whether it needs to validate them.Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.devices.config.opaque.parameters (RawExtension), requiredParameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (\"kind\" + \"apiVersion\" for Kubernetes types), with conversion between different versions.The length of the raw data must be smaller or equal to 10 Ki.*RawExtension is used to hold extensions in external versions.To use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.// Internal package:type MyAPIObject struct { runtime.TypeMeta `json:\",inline\"` MyPlugin runtime.Object `json:\"myPlugin\"` } type PluginA struct { AOption string `json:\"aOption\"` } // External package:type MyAPIObject struct { runtime.TypeMeta `json:\",inline\"` MyPlugin runtime.RawExtension `json:\"myPlugin\"` } type PluginA struct { AOpti",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_qa_10348"
  },
  {
    "question": "What is ResourceClaim?",
    "answer": "a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / r e s o u r c e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_1_10349"
  },
  {
    "question": "What is ResourceClaim?",
    "answer": "R e s o u r c e C l a i m   d e s c r i b e s   a   r e q u e s t   f o r   a c c e s s   t o   r e s o u r c e s   i n   t h e   c l u s t e r ,   f o r   u s e   b y   w o r k l o a d s .   F o r   e x a m p l e ,   i f   a   w o r k l o a d   n e e d s   a n   a c c e l e r a t o r   d e v i c e   w i t h   s p e c i f i c   p r o p e r t i e s ,   t h i s   i s   h o w   t h a t   r e q u e s t   i s   e x p r e s s e d .   T h e   s t a t u s   s t a n z a   t r a c k s   w h e t h e r   t h i s   c l a i m   h a s   b e e n   s a t i s f i e d   a n d   w h a t   s p e c i f i c   r e s o u r c e s   h a v e   b e e n   a l l o c a t e d .   T h i s   i s   a n   a l p h a   t y p e   a n d   r e q u i r e s   e n a b l i n g   t h e   D y n a m i c R e s o u r c e A l l o c a t i o n   f e a t u r e   g a t e .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 k i n d :   R e s o u r c e C l a i m m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a s p e c   ( R e s o u r c e C l a i m S p e c ) ,   r e q u i r e d S p e c   d e s c r i b e s   w h a t   i s   b e i n g   r e q u e s t e d   a n d   h o w   t o   c o n f i g u r e   i t .   T h e   s p e c   i s   i m m u t a b l e . s t a t u s   ( R e s o u r c e C l a i m S t a t u s ) S t a t u s   d e s c r i b e s   w h e t h e r   t h e   c l a i m   i s   r e a d y   t o   u s e   a n d   w h a t   h a s   b e e n   a l l o c a t e d .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   R e s o u r c e C l a i m   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t   m e t a d a t a   s p e c   ( R e s o u r c e C l a i m S p e c ) ,   r e q u i r e d   S p e c   d e s c r i b e s   w h a t   i s   b e i n g   r e q u e s t e d   a n d   h o w   t o   c o n f i g u r e   i t .   T h e   s p e c   i s   i m m u t a b l e .   s t a t u s   ( R e s o u r c e C l a i m S t a t u s )   S t a t u s   d e s c r i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_2_10350"
  },
  {
    "question": "What is ResourceClaimSpec?",
    "answer": "R e s o u r c e C l a i m S p e c   d e f i n e s   w h a t   i s   b e i n g   r e q u e s t e d   i n   a   R e s o u r c e C l a i m   a n d   h o w   t o   c o n f i g u r e   i t .   d e v i c e s   ( D e v i c e C l a i m ) D e v i c e s   d e f i n e s   h o w   t o   r e q u e s t   d e v i c e s . D e v i c e C l a i m   d e f i n e s   h o w   t o   r e q u e s t   d e v i c e s   w i t h   a   R e s o u r c e C l a i m . d e v i c e s . c o n f i g   ( [ ] D e v i c e C l a i m C o n f i g u r a t i o n ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e T h i s   f i e l d   h o l d s   c o n f i g u r a t i o n   f o r   m u l t i p l e   p o t e n t i a l   d r i v e r s   w h i c h   c o u l d   s a t i s f y   r e q u e s t s   i n   t h i s   c l a i m .   I t   i s   i g n o r e d   w h i l e   a l l o c a t i n g   t h e   c l a i m . D e v i c e C l a i m C o n f i g u r a t i o n   i s   u s e d   f o r   c o n f i g u r a t i o n   p a r a m e t e r s   i n   D e v i c e C l a i m . d e v i c e s . c o n f i g . o p a q u e   ( O p a q u e D e v i c e C o n f i g u r a t i o n ) O p a q u e   p r o v i d e s   d r i v e r - s p e c i f i c   c o n f i g u r a t i o n   p a r a m e t e r s . O p a q u e D e v i c e C o n f i g u r a t i o n   c o n t a i n s   c o n f i g u r a t i o n   p a r a m e t e r s   f o r   a   d r i v e r   i n   a   f o r m a t   d e f i n e d   b y   t h e   d r i v e r   v e n d o r . d e v i c e s . c o n f i g . o p a q u e . d r i v e r   ( s t r i n g ) ,   r e q u i r e d D r i v e r   i s   u s e d   t o   d e t e r m i n e   w h i c h   k u b e l e t   p l u g i n   n e e d s   t o   b e   p a s s e d   t h e s e   c o n f i g u r a t i o n   p a r a m e t e r s . A n   a d m i s s i o n   p o l i c y   p r o v i d e d   b y   t h e   d r i v e r   d e v e l o p e r   c o u l d   u s e   t h i s   t o   d e c i d e   w h e t h e r   i t   n e e d s   t o   v a l i d a t e   t h e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_2_10351"
  },
  {
    "question": "What is ResourceClaimStatus?",
    "answer": "R e s o u r c e C l a i m S t a t u s   t r a c k s   w h e t h e r   t h e   r e s o u r c e   h a s   b e e n   a l l o c a t e d   a n d   w h a t   t h e   r e s u l t   o f   t h a t   w a s .   a l l o c a t i o n   ( A l l o c a t i o n R e s u l t ) A l l o c a t i o n   i s   s e t   o n c e   t h e   c l a i m   h a s   b e e n   a l l o c a t e d   s u c c e s s f u l l y . A l l o c a t i o n R e s u l t   c o n t a i n s   a t t r i b u t e s   o f   a n   a l l o c a t e d   r e s o u r c e . a l l o c a t i o n . a l l o c a t i o n T i m e s t a m p   ( T i m e ) A l l o c a t i o n T i m e s t a m p   s t o r e s   t h e   t i m e   w h e n   t h e   r e s o u r c e s   w e r e   a l l o c a t e d .   T h i s   f i e l d   i s   n o t   g u a r a n t e e d   t o   b e   s e t ,   i n   w h i c h   c a s e   t h a t   t i m e   i s   u n k n o w n . T h i s   i s   a n   a l p h a   f i e l d   a n d   r e q u i r e s   e n a b l i n g   t h e   D R A D e v i c e B i n d i n g C o n d i t i o n s   a n d   D R A R e s o u r c e C l a i m D e v i c e S t a t u s   f e a t u r e   g a t e . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . a l l o c a t i o n . d e v i c e s   ( D e v i c e A l l o c a t i o n R e s u l t ) D e v i c e s   i s   t h e   r e s u l t   o f   a l l o c a t i n g   d e v i c e s . D e v i c e A l l o c a t i o n R e s u l t   i s   t h e   r e s u l t   o f   a l l o c a t i n g   d e v i c e s . a l l o c a t i o n . d e v i c e s . c o n f i g   ( [ ] D e v i c e A l l o c a t i o n C o n f i g u r a t i o n ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e T h i s   f i e l d   i s   a   c o m b i n a t i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_2_10352"
  },
  {
    "question": "What is ResourceClaimList?",
    "answer": "R e s o u r c e C l a i m L i s t   i s   a   c o l l e c t i o n   o f   c l a i m s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 k i n d :   R e s o u r c e C l a i m L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a i t e m s   ( [ ] R e s o u r c e C l a i m ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   r e s o u r c e   c l a i m s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   R e s o u r c e C l a i m L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   i t e m s   ( [ ] R e s o u r c e C l a i m ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   r e s o u r c e   c l a i m s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_2_10353"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10354"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10355"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10356"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10357"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10358"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10359"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10360"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10361"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10362"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10363"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10364"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10365"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10366"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e s o u r c e C l a i m ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e s o u r c e C l a i m ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10367"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m ) :   O K   2 0 1   ( R e s o u r c e C l a i m ) :   C r e a t e d   2 0 2   ( R e s o u r c e C l a i m ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10368"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10369"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e s o u r c e C l a i m ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e s o u r c e C l a i m ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10370"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m ) :   O K   2 0 1   ( R e s o u r c e C l a i m ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10371"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10372"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e s o u r c e C l a i m ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e s o u r c e C l a i m ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10373"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m ) :   O K   2 0 1   ( R e s o u r c e C l a i m ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10374"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10375"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10376"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m ) :   O K   2 0 1   ( R e s o u r c e C l a i m ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10377"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10378"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10379"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m ) :   O K   2 0 1   ( R e s o u r c e C l a i m ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10380"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10381"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10382"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m ) :   O K   2 0 2   ( R e s o u r c e C l a i m ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10383"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10384"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10385"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-claim-v1/",
    "id": "k8s_00552_section_4_10386"
  },
  {
    "question": "What is Running Kubernetes Node Components as a Non-root User?",
    "answer": "Running Kubernetes Node Components as a Non-root UserFEATURE STATE: Kubernetes v1.22 [alpha]This document describes how to run Kubernetes Node components such as kubelet, CRI, OCI, and CNI without root privileges, by using a user namespace.This technique is also known as rootless mode.Note:This document describes how to run Kubernetes Node components (and hence pods) as a non-root user.If you are just looking for how to run a pod as a non-root user, see SecurityContext.Before you beginYour Kubernetes server must be at or later than version 1.22.To check the version, enter kubectl version.Enable Cgroup v2Enable systemd with user sessionConfigure several sysctl values, depending on host Linux distributionEnsure that your unprivileged user is listed in /etc/subuid and /etc/subgidEnable the KubeletInUserNamespace feature gateRunning Kubernetes inside Rootless Docker/Podmankindkind supports running Kubernetes inside Rootless Docker or Rootless Podman.See Running kind with Rootless Docker.minikubeminikube also supports running Kubernetes inside Rootless Docker or Rootless Podman.See the Minikube documentation:Rootless DockerRootless PodmanRunning Kubernetes inside Unprivileged ContainersNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.sysboxSysbox is an open-source container runtime (similar to \"runc\") that supports running system-level workloads such as Docker and Kubernetes inside unprivileged containers isolated with the Linux user namespace.See Sysbox Quick Start Guide: Kubernetes-in-Docker for more info.Sysbox supports running Kubernetes inside unprivileged containers without requiring Cgroup v2 and without the KubeletInUserNamespace feature gate. It does this by exposing specially crafted /proc and /sys filesystems inside the container plus several other advanced OS virtualization techniques.Running Rootless Kubernetes directly on a hostNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.K3sK3s experimentally supports rootless mode.See Running K3s with Rootless mode for the usage.UsernetesUsernetes is a reference distribution of Kubernetes that can be installed under $HOME directory without the root privilege.Usernetes supports both containerd and CRI-O as CRI runtimes. Usernetes supports multi-node clusters using Flannel (VXLAN).See the Usernetes repo for the usage.Manually deploy a node that runs the kubelet in a user namespaceThis section provides hints for running Kubernetes in a user namespace manually.Note:This section is intended to be read by de",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-in-userns/",
    "id": "k8s_00553_qa_10387"
  },
  {
    "question": "How does Running Kubernetes Node Components as a Non-root User work?",
    "answer": "Running Kubernetes Node Components as a Non-root UserFEATURE STATE: Kubernetes v1.22 [alpha]This document describes how to run Kubernetes Node components such as kubelet, CRI, OCI, and CNI without root privileges, by using a user namespace.This technique is also known as rootless mode.Note:This document describes how to run Kubernetes Node components (and hence pods) as a non-root user.If you are just looking for how to run a pod as a non-root user, see SecurityContext.Before you beginYour Kubernetes server must be at or later than version 1.22.To check the version, enter kubectl version.Enable Cgroup v2Enable systemd with user sessionConfigure several sysctl values, depending on host Linux distributionEnsure that your unprivileged user is listed in /etc/subuid and /etc/subgidEnable the KubeletInUserNamespace feature gateRunning Kubernetes inside Rootless Docker/Podmankindkind supports running Kubernetes inside Rootless Docker or Rootless Podman.See Running kind with Rootless Docker.minikubeminikube also supports running Kubernetes inside Rootless Docker or Rootless Podman.See the Minikube documentation:Rootless DockerRootless PodmanRunning Kubernetes inside Unprivileged ContainersNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.sysboxSysbox is an open-source container runtime (similar to \"runc\") that supports running system-level workloads such as Docker and Kubernetes inside unprivileged containers isolated with the Linux user namespace.See Sysbox Quick Start Guide: Kubernetes-in-Docker for more info.Sysbox supports running Kubernetes inside unprivileged containers without requiring Cgroup v2 and without the KubeletInUserNamespace feature gate. It does this by exposing specially crafted /proc and /sys filesystems inside the container plus several other advanced OS virtualization techniques.Running Rootless Kubernetes directly on a hostNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.K3sK3s experimentally supports rootless mode.See Running K3s with Rootless mode for the usage.UsernetesUsernetes is a reference distribution of Kubernetes that can be installed under $HOME directory without the root privilege.Usernetes supports both containerd and CRI-O as CRI runtimes. Usernetes supports multi-node clusters using Flannel (VXLAN).See the Usernetes repo for the usage.Manually deploy a node that runs the kubelet in a user namespaceThis section provides hints for running Kubernetes in a user namespace manually.Note:This section is intended to be read by de",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-in-userns/",
    "id": "k8s_00553_qa_10388"
  },
  {
    "question": "When would you use Running Kubernetes Node Components as a Non-root User?",
    "answer": "Running Kubernetes Node Components as a Non-root UserFEATURE STATE: Kubernetes v1.22 [alpha]This document describes how to run Kubernetes Node components such as kubelet, CRI, OCI, and CNI without root privileges, by using a user namespace.This technique is also known as rootless mode.Note:This document describes how to run Kubernetes Node components (and hence pods) as a non-root user.If you are just looking for how to run a pod as a non-root user, see SecurityContext.Before you beginYour Kubernetes server must be at or later than version 1.22.To check the version, enter kubectl version.Enable Cgroup v2Enable systemd with user sessionConfigure several sysctl values, depending on host Linux distributionEnsure that your unprivileged user is listed in /etc/subuid and /etc/subgidEnable the KubeletInUserNamespace feature gateRunning Kubernetes inside Rootless Docker/Podmankindkind supports running Kubernetes inside Rootless Docker or Rootless Podman.See Running kind with Rootless Docker.minikubeminikube also supports running Kubernetes inside Rootless Docker or Rootless Podman.See the Minikube documentation:Rootless DockerRootless PodmanRunning Kubernetes inside Unprivileged ContainersNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.sysboxSysbox is an open-source container runtime (similar to \"runc\") that supports running system-level workloads such as Docker and Kubernetes inside unprivileged containers isolated with the Linux user namespace.See Sysbox Quick Start Guide: Kubernetes-in-Docker for more info.Sysbox supports running Kubernetes inside unprivileged containers without requiring Cgroup v2 and without the KubeletInUserNamespace feature gate. It does this by exposing specially crafted /proc and /sys filesystems inside the container plus several other advanced OS virtualization techniques.Running Rootless Kubernetes directly on a hostNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.K3sK3s experimentally supports rootless mode.See Running K3s with Rootless mode for the usage.UsernetesUsernetes is a reference distribution of Kubernetes that can be installed under $HOME directory without the root privilege.Usernetes supports both containerd and CRI-O as CRI runtimes. Usernetes supports multi-node clusters using Flannel (VXLAN).See the Usernetes repo for the usage.Manually deploy a node that runs the kubelet in a user namespaceThis section provides hints for running Kubernetes in a user namespace manually.Note:This section is intended to be read by de",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-in-userns/",
    "id": "k8s_00553_qa_10389"
  },
  {
    "question": "What are the benefits of Running Kubernetes Node Components as a Non-root User?",
    "answer": "Running Kubernetes Node Components as a Non-root UserFEATURE STATE: Kubernetes v1.22 [alpha]This document describes how to run Kubernetes Node components such as kubelet, CRI, OCI, and CNI without root privileges, by using a user namespace.This technique is also known as rootless mode.Note:This document describes how to run Kubernetes Node components (and hence pods) as a non-root user.If you are just looking for how to run a pod as a non-root user, see SecurityContext.Before you beginYour Kubernetes server must be at or later than version 1.22.To check the version, enter kubectl version.Enable Cgroup v2Enable systemd with user sessionConfigure several sysctl values, depending on host Linux distributionEnsure that your unprivileged user is listed in /etc/subuid and /etc/subgidEnable the KubeletInUserNamespace feature gateRunning Kubernetes inside Rootless Docker/Podmankindkind supports running Kubernetes inside Rootless Docker or Rootless Podman.See Running kind with Rootless Docker.minikubeminikube also supports running Kubernetes inside Rootless Docker or Rootless Podman.See the Minikube documentation:Rootless DockerRootless PodmanRunning Kubernetes inside Unprivileged ContainersNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.sysboxSysbox is an open-source container runtime (similar to \"runc\") that supports running system-level workloads such as Docker and Kubernetes inside unprivileged containers isolated with the Linux user namespace.See Sysbox Quick Start Guide: Kubernetes-in-Docker for more info.Sysbox supports running Kubernetes inside unprivileged containers without requiring Cgroup v2 and without the KubeletInUserNamespace feature gate. It does this by exposing specially crafted /proc and /sys filesystems inside the container plus several other advanced OS virtualization techniques.Running Rootless Kubernetes directly on a hostNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.K3sK3s experimentally supports rootless mode.See Running K3s with Rootless mode for the usage.UsernetesUsernetes is a reference distribution of Kubernetes that can be installed under $HOME directory without the root privilege.Usernetes supports both containerd and CRI-O as CRI runtimes. Usernetes supports multi-node clusters using Flannel (VXLAN).See the Usernetes repo for the usage.Manually deploy a node that runs the kubelet in a user namespaceThis section provides hints for running Kubernetes in a user namespace manually.Note:This section is intended to be read by de",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-in-userns/",
    "id": "k8s_00553_qa_10390"
  },
  {
    "question": "What is Running Kubernetes Node Components as a Non-root User?",
    "answer": "T h i s   d o c u m e n t   d e s c r i b e s   h o w   t o   r u n   K u b e r n e t e s   N o d e   c o m p o n e n t s   s u c h   a s   k u b e l e t ,   C R I ,   O C I ,   a n d   C N I   w i t h o u t   r o o t   p r i v i l e g e s ,   b y   u s i n g   a   u s e r   n a m e s p a c e .   T h i s   t e c h n i q u e   i s   a l s o   k n o w n   a s   r o o t l e s s   m o d e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-in-userns/",
    "id": "k8s_00553_section_1_10391"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   d o c u m e n t   d e s c r i b e s   h o w   t o   r u n   K u b e r n e t e s   N o d e   c o m p o n e n t s   ( a n d   h e n c e   p o d s )   a s   a   n o n - r o o t   u s e r .   I f   y o u   a r e   j u s t   l o o k i n g   f o r   h o w   t o   r u n   a   p o d   a s   a   n o n - r o o t   u s e r ,   s e e   S e c u r i t y C o n t e x t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-in-userns/",
    "id": "k8s_00553_section_4_10392"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 2 2 .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   E n a b l e   C g r o u p   v 2 E n a b l e   s y s t e m d   w i t h   u s e r   s e s s i o n C o n f i g u r e   s e v e r a l   s y s c t l   v a l u e s ,   d e p e n d i n g   o n   h o s t   L i n u x   d i s t r i b u t i o n E n s u r e   t h a t   y o u r   u n p r i v i l e g e d   u s e r   i s   l i s t e d   i n   / e t c / s u b u i d   a n d   / e t c / s u b g i d E n a b l e   t h e   K u b e l e t I n U s e r N a m e s p a c e   f e a t u r e   g a t e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-in-userns/",
    "id": "k8s_00553_section_2_10393"
  },
  {
    "question": "What is kind?",
    "answer": "k i n d   s u p p o r t s   r u n n i n g   K u b e r n e t e s   i n s i d e   R o o t l e s s   D o c k e r   o r   R o o t l e s s   P o d m a n .   S e e   R u n n i n g   k i n d   w i t h   R o o t l e s s   D o c k e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-in-userns/",
    "id": "k8s_00553_section_3_10394"
  },
  {
    "question": "What is minikube?",
    "answer": "m i n i k u b e   a l s o   s u p p o r t s   r u n n i n g   K u b e r n e t e s   i n s i d e   R o o t l e s s   D o c k e r   o r   R o o t l e s s   P o d m a n .   S e e   t h e   M i n i k u b e   d o c u m e n t a t i o n :   R o o t l e s s   D o c k e r R o o t l e s s   P o d m a n",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-in-userns/",
    "id": "k8s_00553_section_3_10395"
  },
  {
    "question": "What is sysbox?",
    "answer": "S y s b o x   i s   a n   o p e n - s o u r c e   c o n t a i n e r   r u n t i m e   ( s i m i l a r   t o   \" r u n c \" )   t h a t   s u p p o r t s   r u n n i n g   s y s t e m - l e v e l   w o r k l o a d s   s u c h   a s   D o c k e r   a n d   K u b e r n e t e s   i n s i d e   u n p r i v i l e g e d   c o n t a i n e r s   i s o l a t e d   w i t h   t h e   L i n u x   u s e r   n a m e s p a c e .   S e e   S y s b o x   Q u i c k   S t a r t   G u i d e :   K u b e r n e t e s - i n - D o c k e r   f o r   m o r e   i n f o .   S y s b o x   s u p p o r t s   r u n n i n g   K u b e r n e t e s   i n s i d e   u n p r i v i l e g e d   c o n t a i n e r s   w i t h o u t   r e q u i r i n g   C g r o u p   v 2   a n d   w i t h o u t   t h e   K u b e l e t I n U s e r N a m e s p a c e   f e a t u r e   g a t e .   I t   d o e s   t h i s   b y   e x p o s i n g   s p e c i a l l y   c r a f t e d   / p r o c   a n d   / s y s   f i l e s y s t e m s   i n s i d e   t h e   c o n t a i n e r   p l u s   s e v e r a l   o t h e r   a d v a n c e d   O S   v i r t u a l i z a t i o n   t e c h n i q u e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-in-userns/",
    "id": "k8s_00553_section_3_10396"
  },
  {
    "question": "What is K3s?",
    "answer": "K 3 s   e x p e r i m e n t a l l y   s u p p o r t s   r o o t l e s s   m o d e .   S e e   R u n n i n g   K 3 s   w i t h   R o o t l e s s   m o d e   f o r   t h e   u s a g e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-in-userns/",
    "id": "k8s_00553_section_3_10397"
  },
  {
    "question": "What is Usernetes?",
    "answer": "U s e r n e t e s   i s   a   r e f e r e n c e   d i s t r i b u t i o n   o f   K u b e r n e t e s   t h a t   c a n   b e   i n s t a l l e d   u n d e r   $ H O M E   d i r e c t o r y   w i t h o u t   t h e   r o o t   p r i v i l e g e .   U s e r n e t e s   s u p p o r t s   b o t h   c o n t a i n e r d   a n d   C R I - O   a s   C R I   r u n t i m e s .   U s e r n e t e s   s u p p o r t s   m u l t i - n o d e   c l u s t e r s   u s i n g   F l a n n e l   ( V X L A N ) .   S e e   t h e   U s e r n e t e s   r e p o   f o r   t h e   u s a g e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-in-userns/",
    "id": "k8s_00553_section_3_10398"
  },
  {
    "question": "What is Manually deploy a node that runs the kubelet in a user namespace?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   h i n t s   f o r   r u n n i n g   K u b e r n e t e s   i n   a   u s e r   n a m e s p a c e   m a n u a l l y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-in-userns/",
    "id": "k8s_00553_section_2_10399"
  },
  {
    "question": "What is Creating a user namespace?",
    "answer": "T h e   f i r s t   s t e p   i s   t o   c r e a t e   a   u s e r   n a m e s p a c e .   I f   y o u   a r e   t r y i n g   t o   r u n   K u b e r n e t e s   i n   a   u s e r - n a m e s p a c e d   c o n t a i n e r   s u c h   a s   R o o t l e s s   D o c k e r / P o d m a n   o r   L X C / L X D ,   y o u   a r e   a l l   s e t ,   a n d   y o u   c a n   g o   t o   t h e   n e x t   s u b s e c t i o n .   O t h e r w i s e   y o u   h a v e   t o   c r e a t e   a   u s e r   n a m e s p a c e   b y   y o u r s e l f ,   b y   c a l l i n g   u n s h a r e ( 2 )   w i t h   C L O N E _ N E W U S E R .   A   u s e r   n a m e s p a c e   c a n   b e   a l s o   u n s h a r e d   b y   u s i n g   c o m m a n d   l i n e   t o o l s   s u c h   a s :   u n s h a r e ( 1 ) R o o t l e s s K i t b e c o m e - r o o t   A f t e r   u n s h a r i n g   t h e   u s e r   n a m e s p a c e ,   y o u   w i l l   a l s o   h a v e   t o   u n s h a r e   o t h e r   n a m e s p a c e s   s u c h   a s   m o u n t   n a m e s p a c e .   Y o u   d o   n o t   n e e d   t o   c a l l   c h r o o t ( )   n o r   p i v o t _ r o o t ( )   a f t e r   u n s h a r i n g   t h e   m o u n t   n a m e s p a c e ,   h o w e v e r ,   y o u   h a v e   t o   m o u n t   w r i t a b l e   f i l e s y s t e m s   o n   s e v e r a l   d i r e c t o r i e s   i n   t h e   n a m e s p a c e .   A t   l e a s t ,   t h e   f o l l o w i n g   d i r e c t o r i e s   n e e d   t o   b e   w r i t a b l e   i n   t h e   n a m e s p a c e   ( n o t   o u t s i d e   t h e   n a m e s p a c e ) :   / e t c / r u n / v a r / l o g s / v a r / l i b / k u b e l e t / v a r / l i b / c n i / v a r / l i b / c o n t a i n e r d   ( f o r   c o n t a i n e r d ) / v a r / l i b / c o n t a i n e r s   ( f o r   C R I - O )",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-in-userns/",
    "id": "k8s_00553_section_3_10400"
  },
  {
    "question": "What is Creating a delegated cgroup tree?",
    "answer": "I n   a d d i t i o n   t o   t h e   u s e r   n a m e s p a c e ,   y o u   a l s o   n e e d   t o   h a v e   a   w r i t a b l e   c g r o u p   t r e e   w i t h   c g r o u p   v 2 .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-in-userns/",
    "id": "k8s_00553_section_3_10401"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   a r e   t r y i n g   t o   r u n   K u b e r n e t e s   i n   R o o t l e s s   D o c k e r / P o d m a n   o r   L X C / L X D   o n   a   s y s t e m d - b a s e d   h o s t ,   y o u   a r e   a l l   s e t .   O t h e r w i s e   y o u   h a v e   t o   c r e a t e   a   s y s t e m d   u n i t   w i t h   D e l e g a t e = y e s   p r o p e r t y   t o   d e l e g a t e   a   c g r o u p   t r e e   w i t h   w r i t a b l e   p e r m i s s i o n .   O n   y o u r   n o d e ,   s y s t e m d   m u s t   a l r e a d y   b e   c o n f i g u r e d   t o   a l l o w   d e l e g a t i o n ;   f o r   m o r e   d e t a i l s ,   s e e   c g r o u p   v 2   i n   t h e   R o o t l e s s   C o n t a i n e r s   d o c u m e n t a t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-in-userns/",
    "id": "k8s_00553_section_4_10402"
  },
  {
    "question": "What is Configuring network?",
    "answer": "T h e   n e t w o r k   n a m e s p a c e   o f   t h e   N o d e   c o m p o n e n t s   h a s   t o   h a v e   a   n o n - l o o p b a c k   i n t e r f a c e ,   w h i c h   c a n   b e   f o r   e x a m p l e   c o n f i g u r e d   w i t h   s l i r p 4 n e t n s ,   V P N K i t ,   o r   l x c - u s e r - n i c ( 1 ) .   T h e   n e t w o r k   n a m e s p a c e s   o f   t h e   P o d s   c a n   b e   c o n f i g u r e d   w i t h   r e g u l a r   C N I   p l u g i n s .   F o r   m u l t i - n o d e   n e t w o r k i n g ,   F l a n n e l   ( V X L A N ,   8 4 7 2 / U D P )   i s   k n o w n   t o   w o r k .   P o r t s   s u c h   a s   t h e   k u b e l e t   p o r t   ( 1 0 2 5 0 / T C P )   a n d   N o d e P o r t   s e r v i c e   p o r t s   h a v e   t o   b e   e x p o s e d   f r o m   t h e   N o d e   n e t w o r k   n a m e s p a c e   t o   t h e   h o s t   w i t h   a n   e x t e r n a l   p o r t   f o r w a r d e r ,   s u c h   a s   R o o t l e s s K i t ,   s l i r p 4 n e t n s ,   o r   s o c a t ( 1 ) .   Y o u   c a n   u s e   t h e   p o r t   f o r w a r d e r   f r o m   K 3 s .   S e e   R u n n i n g   K 3 s   i n   R o o t l e s s   M o d e   f o r   m o r e   d e t a i l s .   T h e   i m p l e m e n t a t i o n   c a n   b e   f o u n d   i n   t h e   p k g / r o o t l e s s p o r t s   p a c k a g e   o f   k 3 s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-in-userns/",
    "id": "k8s_00553_section_3_10403"
  },
  {
    "question": "What is Configuring CRI?",
    "answer": "T h e   k u b e l e t   r e l i e s   o n   a   c o n t a i n e r   r u n t i m e .   Y o u   s h o u l d   d e p l o y   a   c o n t a i n e r   r u n t i m e   s u c h   a s   c o n t a i n e r d   o r   C R I - O   a n d   e n s u r e   t h a t   i t   i s   r u n n i n g   w i t h i n   t h e   u s e r   n a m e s p a c e   b e f o r e   t h e   k u b e l e t   s t a r t s .   R u n n i n g   C R I   p l u g i n   o f   c o n t a i n e r d   i n   a   u s e r   n a m e s p a c e   i s   s u p p o r t e d   s i n c e   c o n t a i n e r d   1 . 4 . R u n n i n g   c o n t a i n e r d   w i t h i n   a   u s e r   n a m e s p a c e   r e q u i r e s   t h e   f o l l o w i n g   c o n f i g u r a t i o n s . v e r s i o n   =   2   [ p l u g i n s . \" i o . c o n t a i n e r d . g r p c . v 1 . c r i \" ]   #   D i s a b l e   A p p A r m o r   d i s a b l e _ a p p a r m o r   =   t r u e   #   I g n o r e   a n   e r r o r   d u r i n g   s e t t i n g   o o m _ s c o r e _ a d j   r e s t r i c t _ o o m _ s c o r e _ a d j   =   t r u e   #   D i s a b l e   h u g e t l b   c g r o u p   v 2   c o n t r o l l e r   ( b e c a u s e   s y s t e m d   d o e s   n o t   s u p p o r t   d e l e g a t i n g   h u g e t l b   c o n t r o l l e r )   d i s a b l e _ h u g e t l b _ c o n t r o l l e r   =   t r u e   [ p l u g i n s . \" i o . c o n t a i n e r d . g r p c . v 1 . c r i \" . c o n t a i n e r d ]   #   U s i n g   n o n - f u s e   o v e r l a y f s   i s   a l s o   p o s s i b l e   f o r   k e r n e l   > =   5 . 1 1 ,   b u t   r e q u i r e s   S E L i n u x   t o   b e   d i s a b l e d   s n a p s h o t t e r   =   \" f u s e - o v e r l a y f s \"   [ p l u g i n s . \" i o . c o n t a i n e r d . g r p c . v 1 . c r i \" . c o n t a i n e r d . r u n t i m e s . r u n c . o p t i o n s ]   #   W e   u s e   c g r o u p f s   t h a t   i s   d e l e g a t e d   b y   s y s t e m d ,   s o   w e   d o   n o t   u s e   S y s t e m d C g r o u p   d r ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-in-userns/",
    "id": "k8s_00553_section_3_10404"
  },
  {
    "question": "What is Configuring kubelet?",
    "answer": "R u n n i n g   k u b e l e t   i n   a   u s e r   n a m e s p a c e   r e q u i r e s   t h e   f o l l o w i n g   c o n f i g u r a t i o n :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   f e a t u r e G a t e s :   K u b e l e t I n U s e r N a m e s p a c e :   t r u e   #   W e   u s e   c g r o u p f s   t h a t   i s   d e l e g a t e d   b y   s y s t e m d ,   s o   w e   d o   n o t   u s e   \" s y s t e m d \"   d r i v e r   #   ( u n l e s s   y o u   r u n   a n o t h e r   s y s t e m d   i n   t h e   n a m e s p a c e )   c g r o u p D r i v e r :   \" c g r o u p f s \"   W h e n   t h e   K u b e l e t I n U s e r N a m e s p a c e   f e a t u r e   g a t e   i s   e n a b l e d ,   t h e   k u b e l e t   i g n o r e s   e r r o r s   t h a t   m a y   h a p p e n   d u r i n g   s e t t i n g   t h e   f o l l o w i n g   s y s c t l   v a l u e s   o n   t h e   n o d e .   v m . o v e r c o m m i t _ m e m o r y v m . p a n i c _ o n _ o o m k e r n e l . p a n i c k e r n e l . p a n i c _ o n _ o o p s k e r n e l . k e y s . r o o t _ m a x k e y s k e r n e l . k e y s . r o o t _ m a x b y t e s .   W i t h i n   a   u s e r   n a m e s p a c e ,   t h e   k u b e l e t   a l s o   i g n o r e s   a n y   e r r o r   r a i s e d   f r o m   t r y i n g   t o   o p e n   / d e v / k m s g .   T h i s   f e a t u r e   g a t e   a l s o   a l l o w s   k u b e - p r o x y   t o   i g n o r e   a n   e r r o r   d u r i n g   s e t t i n g   R L I M I T _ N O F I L E .   T h e   K u b e l e t I n U s e r N a m e s p a c e   f e a t u r e   g a t e   w a s   i n t r o d u c e d   i n   K u b e r n e t e s   v 1 . 2 2   w i t h   \" a l p h a \"   s t a t u s .   R u n n i n g   k u b e l e t   i n   a   u s e r   n a m e s p a c e   w i t h o u t   u s i n g   t h i s   f e a t u r e   g a t e   i s   a l s o   p o s s i b l e   b y   m o u n t i n g   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-in-userns/",
    "id": "k8s_00553_section_3_10405"
  },
  {
    "question": "What is Configuring kube-proxy?",
    "answer": "R u n n i n g   k u b e - p r o x y   i n   a   u s e r   n a m e s p a c e   r e q u i r e s   t h e   f o l l o w i n g   c o n f i g u r a t i o n :   a p i V e r s i o n :   k u b e p r o x y . c o n f i g . k 8 s . i o / v 1 a l p h a 1   k i n d :   K u b e P r o x y C o n f i g u r a t i o n   m o d e :   \" i p t a b l e s \"   #   o r   \" u s e r s p a c e \"   c o n n t r a c k :   #   S k i p   s e t t i n g   s y s c t l   v a l u e   \" n e t . n e t f i l t e r . n f _ c o n n t r a c k _ m a x \"   m a x P e r C o r e :   0   #   S k i p   s e t t i n g   \" n e t . n e t f i l t e r . n f _ c o n n t r a c k _ t c p _ t i m e o u t _ e s t a b l i s h e d \"   t c p E s t a b l i s h e d T i m e o u t :   0 s   #   S k i p   s e t t i n g   \" n e t . n e t f i l t e r . n f _ c o n n t r a c k _ t c p _ t i m e o u t _ c l o s e \"   t c p C l o s e W a i t T i m e o u t :   0 s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-in-userns/",
    "id": "k8s_00553_section_3_10406"
  },
  {
    "question": "What is Caveats?",
    "answer": "M o s t   o f   \" n o n - l o c a l \"   v o l u m e   d r i v e r s   s u c h   a s   n f s   a n d   i s c s i   d o   n o t   w o r k .   L o c a l   v o l u m e s   l i k e   l o c a l ,   h o s t P a t h ,   e m p t y D i r ,   c o n f i g M a p ,   s e c r e t ,   a n d   d o w n w a r d A P I   a r e   k n o w n   t o   w o r k . S o m e   C N I   p l u g i n s   m a y   n o t   w o r k .   F l a n n e l   ( V X L A N )   i s   k n o w n   t o   w o r k .   M o s t   o f   \" n o n - l o c a l \"   v o l u m e   d r i v e r s   s u c h   a s   n f s   a n d   i s c s i   d o   n o t   w o r k .   L o c a l   v o l u m e s   l i k e   l o c a l ,   h o s t P a t h ,   e m p t y D i r ,   c o n f i g M a p ,   s e c r e t ,   a n d   d o w n w a r d A P I   a r e   k n o w n   t o   w o r k .   S o m e   C N I   p l u g i n s   m a y   n o t   w o r k .   F l a n n e l   ( V X L A N )   i s   k n o w n   t o   w o r k .   F o r   m o r e   o n   t h i s ,   s e e   t h e   C a v e a t s   a n d   F u t u r e   w o r k   p a g e   o n   t h e   r o o t l e s s c o n t a i n e . r s   w e b s i t e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-in-userns/",
    "id": "k8s_00553_section_2_10407"
  },
  {
    "question": "What is See Also?",
    "answer": "r o o t l e s s c o n t a i n e . r s R o o t l e s s   C o n t a i n e r s   2 0 2 0   ( K u b e C o n   N A   2 0 2 0 ) R u n n i n g   k i n d   w i t h   R o o t l e s s   D o c k e r U s e r n e t e s R u n n i n g   K 3 s   w i t h   r o o t l e s s   m o d e K E P - 2 0 3 3 :   K u b e l e t - i n - U s e r N S   ( a k a   R o o t l e s s   m o d e )   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-in-userns/",
    "id": "k8s_00553_section_2_10408"
  },
  {
    "question": "What is Node-pressure Eviction?",
    "answer": "Node-pressure EvictionNode-pressure eviction is the process by which the kubelet proactively terminates pods to reclaim resource on nodes.The kubelet monitors resources like memory, disk space, and filesystem inodes on your cluster's nodes. When one or more of these resources reach specific consumption levels, the kubelet can proactively fail one or more pods on the node to reclaim resources and prevent starvation.During a node-pressure eviction, the kubelet sets the phase for the selected pods to Failed, and terminates the Pod.Node-pressure eviction is not the same as API-initiated eviction.The kubelet does not respect your configured PodDisruptionBudget or the pod's terminationGracePeriodSeconds. If you use soft eviction thresholds, the kubelet respects your configured eviction-max-pod-grace-period. If you use hard eviction thresholds, the kubelet uses a 0s grace period (immediate shutdown) for termination.Self healing behaviorThe kubelet attempts to reclaim node-level resources before it terminates end-user pods. For example, it removes unused container images when disk resources are starved.If the pods are managed by a workload management object (such as StatefulSet or Deployment) that replaces failed pods, the control plane (kube-controller-manager) creates new pods in place of the evicted pods.Self healing for static podsIf you are running a static pod on a node that is under resource pressure, the kubelet may evict that static Pod. The kubelet then tries to create a replacement, because static Pods always represent an intent to run a Pod on that node.The kubelet takes the priority of the static pod into account when creating a replacement. If the static pod manifest specifies a low priority, and there are higher-priority Pods defined within the cluster's control plane, and the node is under resource pressure, the kubelet may not be able to make room for that static pod. The kubelet continues to attempt to run all static pods even when there is resource pressure on a node.Eviction signals and thresholdsThe kubelet uses various parameters to make eviction decisions, like the following:Eviction signalsEviction thresholdsMonitoring intervalsEviction signalsEviction signals are the current state of a particular resource at a specific point in time. The kubelet uses eviction signals to make eviction decisions by comparing the signals to eviction thresholds, which are the minimum amount of the resource that should be available on the node.The kubelet uses the following eviction signals:Eviction SignalDescriptionLinux Onlymemory.availablememory.available := node.status.capacity[memory] - node.stats.memory.workingSetnodefs.availablenodefs.available := node.stats.fs.availablenodefs.inodesFreenodefs.inodesFree := node.stats.fs.inodesFree•imagefs.availableimagefs.available := node.stats.runtime.imagefs.availableimagefs.inodesFreeimagefs.inodesFree := node.stats.runtime.imagefs.inodesFree•containerfs.availablecontainerfs.available := node.stats.runtime",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_qa_10409"
  },
  {
    "question": "How does Node-pressure Eviction work?",
    "answer": "Node-pressure EvictionNode-pressure eviction is the process by which the kubelet proactively terminates pods to reclaim resource on nodes.The kubelet monitors resources like memory, disk space, and filesystem inodes on your cluster's nodes. When one or more of these resources reach specific consumption levels, the kubelet can proactively fail one or more pods on the node to reclaim resources and prevent starvation.During a node-pressure eviction, the kubelet sets the phase for the selected pods to Failed, and terminates the Pod.Node-pressure eviction is not the same as API-initiated eviction.The kubelet does not respect your configured PodDisruptionBudget or the pod's terminationGracePeriodSeconds. If you use soft eviction thresholds, the kubelet respects your configured eviction-max-pod-grace-period. If you use hard eviction thresholds, the kubelet uses a 0s grace period (immediate shutdown) for termination.Self healing behaviorThe kubelet attempts to reclaim node-level resources before it terminates end-user pods. For example, it removes unused container images when disk resources are starved.If the pods are managed by a workload management object (such as StatefulSet or Deployment) that replaces failed pods, the control plane (kube-controller-manager) creates new pods in place of the evicted pods.Self healing for static podsIf you are running a static pod on a node that is under resource pressure, the kubelet may evict that static Pod. The kubelet then tries to create a replacement, because static Pods always represent an intent to run a Pod on that node.The kubelet takes the priority of the static pod into account when creating a replacement. If the static pod manifest specifies a low priority, and there are higher-priority Pods defined within the cluster's control plane, and the node is under resource pressure, the kubelet may not be able to make room for that static pod. The kubelet continues to attempt to run all static pods even when there is resource pressure on a node.Eviction signals and thresholdsThe kubelet uses various parameters to make eviction decisions, like the following:Eviction signalsEviction thresholdsMonitoring intervalsEviction signalsEviction signals are the current state of a particular resource at a specific point in time. The kubelet uses eviction signals to make eviction decisions by comparing the signals to eviction thresholds, which are the minimum amount of the resource that should be available on the node.The kubelet uses the following eviction signals:Eviction SignalDescriptionLinux Onlymemory.availablememory.available := node.status.capacity[memory] - node.stats.memory.workingSetnodefs.availablenodefs.available := node.stats.fs.availablenodefs.inodesFreenodefs.inodesFree := node.stats.fs.inodesFree•imagefs.availableimagefs.available := node.stats.runtime.imagefs.availableimagefs.inodesFreeimagefs.inodesFree := node.stats.runtime.imagefs.inodesFree•containerfs.availablecontainerfs.available := node.stats.runtime",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_qa_10410"
  },
  {
    "question": "When would you use Node-pressure Eviction?",
    "answer": "Node-pressure EvictionNode-pressure eviction is the process by which the kubelet proactively terminates pods to reclaim resource on nodes.The kubelet monitors resources like memory, disk space, and filesystem inodes on your cluster's nodes. When one or more of these resources reach specific consumption levels, the kubelet can proactively fail one or more pods on the node to reclaim resources and prevent starvation.During a node-pressure eviction, the kubelet sets the phase for the selected pods to Failed, and terminates the Pod.Node-pressure eviction is not the same as API-initiated eviction.The kubelet does not respect your configured PodDisruptionBudget or the pod's terminationGracePeriodSeconds. If you use soft eviction thresholds, the kubelet respects your configured eviction-max-pod-grace-period. If you use hard eviction thresholds, the kubelet uses a 0s grace period (immediate shutdown) for termination.Self healing behaviorThe kubelet attempts to reclaim node-level resources before it terminates end-user pods. For example, it removes unused container images when disk resources are starved.If the pods are managed by a workload management object (such as StatefulSet or Deployment) that replaces failed pods, the control plane (kube-controller-manager) creates new pods in place of the evicted pods.Self healing for static podsIf you are running a static pod on a node that is under resource pressure, the kubelet may evict that static Pod. The kubelet then tries to create a replacement, because static Pods always represent an intent to run a Pod on that node.The kubelet takes the priority of the static pod into account when creating a replacement. If the static pod manifest specifies a low priority, and there are higher-priority Pods defined within the cluster's control plane, and the node is under resource pressure, the kubelet may not be able to make room for that static pod. The kubelet continues to attempt to run all static pods even when there is resource pressure on a node.Eviction signals and thresholdsThe kubelet uses various parameters to make eviction decisions, like the following:Eviction signalsEviction thresholdsMonitoring intervalsEviction signalsEviction signals are the current state of a particular resource at a specific point in time. The kubelet uses eviction signals to make eviction decisions by comparing the signals to eviction thresholds, which are the minimum amount of the resource that should be available on the node.The kubelet uses the following eviction signals:Eviction SignalDescriptionLinux Onlymemory.availablememory.available := node.status.capacity[memory] - node.stats.memory.workingSetnodefs.availablenodefs.available := node.stats.fs.availablenodefs.inodesFreenodefs.inodesFree := node.stats.fs.inodesFree•imagefs.availableimagefs.available := node.stats.runtime.imagefs.availableimagefs.inodesFreeimagefs.inodesFree := node.stats.runtime.imagefs.inodesFree•containerfs.availablecontainerfs.available := node.stats.runtime",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_qa_10411"
  },
  {
    "question": "What are the benefits of Node-pressure Eviction?",
    "answer": "Node-pressure EvictionNode-pressure eviction is the process by which the kubelet proactively terminates pods to reclaim resource on nodes.The kubelet monitors resources like memory, disk space, and filesystem inodes on your cluster's nodes. When one or more of these resources reach specific consumption levels, the kubelet can proactively fail one or more pods on the node to reclaim resources and prevent starvation.During a node-pressure eviction, the kubelet sets the phase for the selected pods to Failed, and terminates the Pod.Node-pressure eviction is not the same as API-initiated eviction.The kubelet does not respect your configured PodDisruptionBudget or the pod's terminationGracePeriodSeconds. If you use soft eviction thresholds, the kubelet respects your configured eviction-max-pod-grace-period. If you use hard eviction thresholds, the kubelet uses a 0s grace period (immediate shutdown) for termination.Self healing behaviorThe kubelet attempts to reclaim node-level resources before it terminates end-user pods. For example, it removes unused container images when disk resources are starved.If the pods are managed by a workload management object (such as StatefulSet or Deployment) that replaces failed pods, the control plane (kube-controller-manager) creates new pods in place of the evicted pods.Self healing for static podsIf you are running a static pod on a node that is under resource pressure, the kubelet may evict that static Pod. The kubelet then tries to create a replacement, because static Pods always represent an intent to run a Pod on that node.The kubelet takes the priority of the static pod into account when creating a replacement. If the static pod manifest specifies a low priority, and there are higher-priority Pods defined within the cluster's control plane, and the node is under resource pressure, the kubelet may not be able to make room for that static pod. The kubelet continues to attempt to run all static pods even when there is resource pressure on a node.Eviction signals and thresholdsThe kubelet uses various parameters to make eviction decisions, like the following:Eviction signalsEviction thresholdsMonitoring intervalsEviction signalsEviction signals are the current state of a particular resource at a specific point in time. The kubelet uses eviction signals to make eviction decisions by comparing the signals to eviction thresholds, which are the minimum amount of the resource that should be available on the node.The kubelet uses the following eviction signals:Eviction SignalDescriptionLinux Onlymemory.availablememory.available := node.status.capacity[memory] - node.stats.memory.workingSetnodefs.availablenodefs.available := node.stats.fs.availablenodefs.inodesFreenodefs.inodesFree := node.stats.fs.inodesFree•imagefs.availableimagefs.available := node.stats.runtime.imagefs.availableimagefs.inodesFreeimagefs.inodesFree := node.stats.runtime.imagefs.inodesFree•containerfs.availablecontainerfs.available := node.stats.runtime",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_qa_10412"
  },
  {
    "question": "What is Node-pressure Eviction?",
    "answer": "N o d e - p r e s s u r e   e v i c t i o n   i s   t h e   p r o c e s s   b y   w h i c h   t h e   k u b e l e t   p r o a c t i v e l y   t e r m i n a t e s   p o d s   t o   r e c l a i m   r e s o u r c e   o n   n o d e s .   T h e   k u b e l e t   m o n i t o r s   r e s o u r c e s   l i k e   m e m o r y ,   d i s k   s p a c e ,   a n d   f i l e s y s t e m   i n o d e s   o n   y o u r   c l u s t e r ' s   n o d e s .   W h e n   o n e   o r   m o r e   o f   t h e s e   r e s o u r c e s   r e a c h   s p e c i f i c   c o n s u m p t i o n   l e v e l s ,   t h e   k u b e l e t   c a n   p r o a c t i v e l y   f a i l   o n e   o r   m o r e   p o d s   o n   t h e   n o d e   t o   r e c l a i m   r e s o u r c e s   a n d   p r e v e n t   s t a r v a t i o n .   D u r i n g   a   n o d e - p r e s s u r e   e v i c t i o n ,   t h e   k u b e l e t   s e t s   t h e   p h a s e   f o r   t h e   s e l e c t e d   p o d s   t o   F a i l e d ,   a n d   t e r m i n a t e s   t h e   P o d .   N o d e - p r e s s u r e   e v i c t i o n   i s   n o t   t h e   s a m e   a s   A P I - i n i t i a t e d   e v i c t i o n .   T h e   k u b e l e t   d o e s   n o t   r e s p e c t   y o u r   c o n f i g u r e d   P o d D i s r u p t i o n B u d g e t   o r   t h e   p o d ' s   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s .   I f   y o u   u s e   s o f t   e v i c t i o n   t h r e s h o l d s ,   t h e   k u b e l e t   r e s p e c t s   y o u r   c o n f i g u r e d   e v i c t i o n - m a x - p o d - g r a c e - p e r i o d .   I f   y o u   u s e   h a r d   e v i c t i o n   t h r e s h o l d s ,   t h e   k u b e l e t   u s e s   a   0 s   g r a c e   p e r i o d   ( i m m e d i a t e   s h u t d o w n )   f o r   t e r m i n a t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_1_10413"
  },
  {
    "question": "What is Self healing behavior?",
    "answer": "T h e   k u b e l e t   a t t e m p t s   t o   r e c l a i m   n o d e - l e v e l   r e s o u r c e s   b e f o r e   i t   t e r m i n a t e s   e n d - u s e r   p o d s .   F o r   e x a m p l e ,   i t   r e m o v e s   u n u s e d   c o n t a i n e r   i m a g e s   w h e n   d i s k   r e s o u r c e s   a r e   s t a r v e d .   I f   t h e   p o d s   a r e   m a n a g e d   b y   a   w o r k l o a d   m a n a g e m e n t   o b j e c t   ( s u c h   a s   S t a t e f u l S e t   o r   D e p l o y m e n t )   t h a t   r e p l a c e s   f a i l e d   p o d s ,   t h e   c o n t r o l   p l a n e   ( k u b e - c o n t r o l l e r - m a n a g e r )   c r e a t e s   n e w   p o d s   i n   p l a c e   o f   t h e   e v i c t e d   p o d s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_2_10414"
  },
  {
    "question": "What is Self healing for static pods?",
    "answer": "I f   y o u   a r e   r u n n i n g   a   s t a t i c   p o d   o n   a   n o d e   t h a t   i s   u n d e r   r e s o u r c e   p r e s s u r e ,   t h e   k u b e l e t   m a y   e v i c t   t h a t   s t a t i c   P o d .   T h e   k u b e l e t   t h e n   t r i e s   t o   c r e a t e   a   r e p l a c e m e n t ,   b e c a u s e   s t a t i c   P o d s   a l w a y s   r e p r e s e n t   a n   i n t e n t   t o   r u n   a   P o d   o n   t h a t   n o d e .   T h e   k u b e l e t   t a k e s   t h e   p r i o r i t y   o f   t h e   s t a t i c   p o d   i n t o   a c c o u n t   w h e n   c r e a t i n g   a   r e p l a c e m e n t .   I f   t h e   s t a t i c   p o d   m a n i f e s t   s p e c i f i e s   a   l o w   p r i o r i t y ,   a n d   t h e r e   a r e   h i g h e r - p r i o r i t y   P o d s   d e f i n e d   w i t h i n   t h e   c l u s t e r ' s   c o n t r o l   p l a n e ,   a n d   t h e   n o d e   i s   u n d e r   r e s o u r c e   p r e s s u r e ,   t h e   k u b e l e t   m a y   n o t   b e   a b l e   t o   m a k e   r o o m   f o r   t h a t   s t a t i c   p o d .   T h e   k u b e l e t   c o n t i n u e s   t o   a t t e m p t   t o   r u n   a l l   s t a t i c   p o d s   e v e n   w h e n   t h e r e   i s   r e s o u r c e   p r e s s u r e   o n   a   n o d e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_3_10415"
  },
  {
    "question": "What is Eviction signals and thresholds?",
    "answer": "T h e   k u b e l e t   u s e s   v a r i o u s   p a r a m e t e r s   t o   m a k e   e v i c t i o n   d e c i s i o n s ,   l i k e   t h e   f o l l o w i n g :   E v i c t i o n   s i g n a l s E v i c t i o n   t h r e s h o l d s M o n i t o r i n g   i n t e r v a l s",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_2_10416"
  },
  {
    "question": "What is Eviction signals?",
    "answer": "E v i c t i o n   s i g n a l s   a r e   t h e   c u r r e n t   s t a t e   o f   a   p a r t i c u l a r   r e s o u r c e   a t   a   s p e c i f i c   p o i n t   i n   t i m e .   T h e   k u b e l e t   u s e s   e v i c t i o n   s i g n a l s   t o   m a k e   e v i c t i o n   d e c i s i o n s   b y   c o m p a r i n g   t h e   s i g n a l s   t o   e v i c t i o n   t h r e s h o l d s ,   w h i c h   a r e   t h e   m i n i m u m   a m o u n t   o f   t h e   r e s o u r c e   t h a t   s h o u l d   b e   a v a i l a b l e   o n   t h e   n o d e .   T h e   k u b e l e t   u s e s   t h e   f o l l o w i n g   e v i c t i o n   s i g n a l s :   I n   t h i s   t a b l e ,   t h e   D e s c r i p t i o n   c o l u m n   s h o w s   h o w   k u b e l e t   g e t s   t h e   v a l u e   o f   t h e   s i g n a l .   E a c h   s i g n a l   s u p p o r t s   e i t h e r   a   p e r c e n t a g e   o r   a   l i t e r a l   v a l u e .   T h e   k u b e l e t   c a l c u l a t e s   t h e   p e r c e n t a g e   v a l u e   r e l a t i v e   t o   t h e   t o t a l   c a p a c i t y   a s s o c i a t e d   w i t h   t h e   s i g n a l .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_3_10417"
  },
  {
    "question": "What is Memory signals?",
    "answer": "O n   L i n u x   n o d e s ,   t h e   v a l u e   f o r   m e m o r y . a v a i l a b l e   i s   d e r i v e d   f r o m   t h e   c g r o u p f s   i n s t e a d   o f   t o o l s   l i k e   f r e e   - m .   T h i s   i s   i m p o r t a n t   b e c a u s e   f r e e   - m   d o e s   n o t   w o r k   i n   a   c o n t a i n e r ,   a n d   i f   u s e r s   u s e   t h e   n o d e   a l l o c a t a b l e   f e a t u r e ,   o u t   o f   r e s o u r c e   d e c i s i o n s   a r e   m a d e   l o c a l   t o   t h e   e n d   u s e r   P o d   p a r t   o f   t h e   c g r o u p   h i e r a r c h y   a s   w e l l   a s   t h e   r o o t   n o d e .   T h i s   s c r i p t   o r   c g r o u p v 2   s c r i p t   r e p r o d u c e s   t h e   s a m e   s e t   o f   s t e p s   t h a t   t h e   k u b e l e t   p e r f o r m s   t o   c a l c u l a t e   m e m o r y . a v a i l a b l e .   T h e   k u b e l e t   e x c l u d e s   i n a c t i v e _ f i l e   ( t h e   n u m b e r   o f   b y t e s   o f   f i l e - b a c k e d   m e m o r y   o n   t h e   i n a c t i v e   L R U   l i s t )   f r o m   i t s   c a l c u l a t i o n ,   a s   i t   a s s u m e s   t h a t   m e m o r y   i s   r e c l a i m a b l e   u n d e r   p r e s s u r e .   O n   W i n d o w s   n o d e s ,   t h e   v a l u e   f o r   m e m o r y . a v a i l a b l e   i s   d e r i v e d   f r o m   t h e   n o d e ' s   g l o b a l   m e m o r y   c o m m i t   l e v e l s   ( q u e r i e d   t h r o u g h   t h e   G e t P e r f o r m a n c e I n f o ( )   s y s t e m   c a l l )   b y   s u b t r a c t i n g   t h e   n o d e ' s   g l o b a l   C o m m i t T o t a l   f r o m   t h e   n o d e ' s   C o m m i t L i m i t .   P l e a s e   n o t e   t h a t   C o m m i t L i m i t   c a n   c h a n g e   i f   t h e   n o d e ' s   p a g e - f i l e   s i z e   c h a n g e s !",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_4_10418"
  },
  {
    "question": "What is Filesystem signals?",
    "answer": "T h e   k u b e l e t   r e c o g n i z e s   t h r e e   s p e c i f i c   f i l e s y s t e m   i d e n t i f i e r s   t h a t   c a n   b e   u s e d   w i t h   e v i c t i o n   s i g n a l s   ( < i d e n t i f i e r > . i n o d e s F r e e   o r   < i d e n t i f i e r > . a v a i l a b l e ) :   n o d e f s :   T h e   n o d e ' s   m a i n   f i l e s y s t e m ,   u s e d   f o r   l o c a l   d i s k   v o l u m e s ,   e m p t y D i r   v o l u m e s   n o t   b a c k e d   b y   m e m o r y ,   l o g   s t o r a g e ,   e p h e m e r a l   s t o r a g e ,   a n d   m o r e .   F o r   e x a m p l e ,   n o d e f s   c o n t a i n s   / v a r / l i b / k u b e l e t . i m a g e f s :   A n   o p t i o n a l   f i l e s y s t e m   t h a t   c o n t a i n e r   r u n t i m e s   c a n   u s e   t o   s t o r e   c o n t a i n e r   i m a g e s   ( w h i c h   a r e   t h e   r e a d - o n l y   l a y e r s )   a n d   c o n t a i n e r   w r i t a b l e   l a y e r s . c o n t a i n e r f s :   A n   o p t i o n a l   f i l e s y s t e m   t h a t   c o n t a i n e r   r u n t i m e   c a n   u s e   t o   s t o r e   t h e   w r i t e a b l e   l a y e r s .   S i m i l a r   t o   t h e   m a i n   f i l e s y s t e m   ( s e e   n o d e f s ) ,   i t ' s   u s e d   t o   s t o r e   l o c a l   d i s k   v o l u m e s ,   e m p t y D i r   v o l u m e s   n o t   b a c k e d   b y   m e m o r y ,   l o g   s t o r a g e ,   a n d   e p h e m e r a l   s t o r a g e ,   e x c e p t   f o r   t h e   c o n t a i n e r   i m a g e s .   W h e n   c o n t a i n e r f s   i s   u s e d ,   t h e   i m a g e f s   f i l e s y s t e m   c a n   b e   s p l i t   t o   o n l y   s t o r e   i m a g e s   ( r e a d - o n l y   l a y e r s )   a n d   n o t h i n g   e l s e .   n o d e f s :   T h e   n o d e ' s   m a i n   f i l e s y s t e m ,   u s e d   f o r   l o c a l   d i s k   v o l u m e s ,   e m p t y D i r   v o l u m e s   n o t   b a c k e d ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_4_10419"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   s p l i t   i m a g e   f i l e s y s t e m   f e a t u r e ,   w h i c h   e n a b l e s   s u p p o r t   f o r   t h e   c o n t a i n e r f s   f i l e s y s t e m ,   a d d s   s e v e r a l   n e w   e v i c t i o n   s i g n a l s ,   t h r e s h o l d s   a n d   m e t r i c s .   T o   u s e   c o n t a i n e r f s ,   t h e   K u b e r n e t e s   r e l e a s e   v 1 . 3 4   r e q u i r e s   t h e   K u b e l e t S e p a r a t e D i s k G C   f e a t u r e   g a t e   t o   b e   e n a b l e d .   C u r r e n t l y ,   o n l y   C R I - O   ( v 1 . 2 9   o r   h i g h e r )   o f f e r s   t h e   c o n t a i n e r f s   f i l e s y s t e m   s u p p o r t .   A s   s u c h ,   k u b e l e t   g e n e r a l l y   a l l o w s   t h r e e   o p t i o n s   f o r   c o n t a i n e r   f i l e s y s t e m s :   E v e r y t h i n g   i s   o n   t h e   s i n g l e   n o d e f s ,   a l s o   r e f e r r e d   t o   a s   \" r o o t f s \"   o r   s i m p l y   \" r o o t \" ,   a n d   t h e r e   i s   n o   d e d i c a t e d   i m a g e   f i l e s y s t e m . C o n t a i n e r   s t o r a g e   ( s e e   n o d e f s )   i s   o n   a   d e d i c a t e d   d i s k ,   a n d   i m a g e f s   ( w r i t a b l e   a n d   r e a d - o n l y   l a y e r s )   i s   s e p a r a t e   f r o m   t h e   r o o t   f i l e s y s t e m .   T h i s   i s   o f t e n   r e f e r r e d   t o   a s   \" s p l i t   d i s k \"   ( o r   \" s e p a r a t e   d i s k \" )   f i l e s y s t e m . C o n t a i n e r   f i l e s y s t e m   c o n t a i n e r f s   ( s a m e   a s   n o d e f s   p l u s   w r i t a b l e   l a y e r s )   i s   o n   r o o t   a n d   t h e   c o n t a i n e r   i m a g e s   ( r e a d - o n l y   l a y e r s )   a r e   s t o r e d   o n   s e p a r a t e   i m a g e f s .   T h i s   i s   o f t e n   r e f e r r e d   t o   a s   \" s p l i t   i m a g e \"   f i l e s y s t e m .   E v e r y t h i n g   i s   o n   t h e   s i n g l e   n o d ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_4_10420"
  },
  {
    "question": "What is Deprecated kubelet garbage collection features?",
    "answer": "S o m e   k u b e l e t   g a r b a g e   c o l l e c t i o n   f e a t u r e s   a r e   d e p r e c a t e d   i n   f a v o r   o f   e v i c t i o n :",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_3_10421"
  },
  {
    "question": "What is Eviction thresholds?",
    "answer": "Y o u   c a n   s p e c i f y   c u s t o m   e v i c t i o n   t h r e s h o l d s   f o r   t h e   k u b e l e t   t o   u s e   w h e n   i t   m a k e s   e v i c t i o n   d e c i s i o n s .   Y o u   c a n   c o n f i g u r e   s o f t   a n d   h a r d   e v i c t i o n   t h r e s h o l d s .   E v i c t i o n   t h r e s h o l d s   h a v e   t h e   f o r m   [ e v i c t i o n - s i g n a l ] [ o p e r a t o r ] [ q u a n t i t y ] ,   w h e r e :   e v i c t i o n - s i g n a l   i s   t h e   e v i c t i o n   s i g n a l   t o   u s e . o p e r a t o r   i s   t h e   r e l a t i o n a l   o p e r a t o r   y o u   w a n t ,   s u c h   a s   <   ( l e s s   t h a n ) . q u a n t i t y   i s   t h e   e v i c t i o n   t h r e s h o l d   a m o u n t ,   s u c h   a s   1 G i .   T h e   v a l u e   o f   q u a n t i t y   m u s t   m a t c h   t h e   q u a n t i t y   r e p r e s e n t a t i o n   u s e d   b y   K u b e r n e t e s .   Y o u   c a n   u s e   e i t h e r   l i t e r a l   v a l u e s   o r   p e r c e n t a g e s   ( % ) .   F o r   e x a m p l e ,   i f   a   n o d e   h a s   1 0 G i B   o f   t o t a l   m e m o r y   a n d   y o u   w a n t   t r i g g e r   e v i c t i o n   i f   t h e   a v a i l a b l e   m e m o r y   f a l l s   b e l o w   1 G i B ,   y o u   c a n   d e f i n e   t h e   e v i c t i o n   t h r e s h o l d   a s   e i t h e r   m e m o r y . a v a i l a b l e < 1 0 %   o r   m e m o r y . a v a i l a b l e < 1 G i   ( y o u   c a n n o t   u s e   b o t h ) .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_3_10422"
  },
  {
    "question": "What is Soft eviction thresholds?",
    "answer": "A   s o f t   e v i c t i o n   t h r e s h o l d   p a i r s   a n   e v i c t i o n   t h r e s h o l d   w i t h   a   r e q u i r e d   a d m i n i s t r a t o r - s p e c i f i e d   g r a c e   p e r i o d .   T h e   k u b e l e t   d o e s   n o t   e v i c t   p o d s   u n t i l   t h e   g r a c e   p e r i o d   i s   e x c e e d e d .   T h e   k u b e l e t   r e t u r n s   a n   e r r o r   o n   s t a r t u p   i f   y o u   d o   n o t   s p e c i f y   a   g r a c e   p e r i o d .   Y o u   c a n   s p e c i f y   b o t h   a   s o f t   e v i c t i o n   t h r e s h o l d   g r a c e   p e r i o d   a n d   a   m a x i m u m   a l l o w e d   p o d   t e r m i n a t i o n   g r a c e   p e r i o d   f o r   k u b e l e t   t o   u s e   d u r i n g   e v i c t i o n s .   I f   y o u   s p e c i f y   a   m a x i m u m   a l l o w e d   g r a c e   p e r i o d   a n d   t h e   s o f t   e v i c t i o n   t h r e s h o l d   i s   m e t ,   t h e   k u b e l e t   u s e s   t h e   l e s s e r   o f   t h e   t w o   g r a c e   p e r i o d s .   I f   y o u   d o   n o t   s p e c i f y   a   m a x i m u m   a l l o w e d   g r a c e   p e r i o d ,   t h e   k u b e l e t   k i l l s   e v i c t e d   p o d s   i m m e d i a t e l y   w i t h o u t   g r a c e f u l   t e r m i n a t i o n .   Y o u   c a n   u s e   t h e   f o l l o w i n g   f l a g s   t o   c o n f i g u r e   s o f t   e v i c t i o n   t h r e s h o l d s :   e v i c t i o n - s o f t :   A   s e t   o f   e v i c t i o n   t h r e s h o l d s   l i k e   m e m o r y . a v a i l a b l e < 1 . 5 G i   t h a t   c a n   t r i g g e r   p o d   e v i c t i o n   i f   h e l d   o v e r   t h e   s p e c i f i e d   g r a c e   p e r i o d . e v i c t i o n - s o f t - g r a c e - p e r i o d :   A   s e t   o f   e v i c t i o n   g r a c e   p e r i o d s   l i k e   m e m o r y . a v a i l a b l e = 1 m 3 0 s   t h a t   d e f i n e   h o w   l o n g   a   s o f t   e v ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_4_10423"
  },
  {
    "question": "What is Hard eviction thresholds?",
    "answer": "A   h a r d   e v i c t i o n   t h r e s h o l d   h a s   n o   g r a c e   p e r i o d .   W h e n   a   h a r d   e v i c t i o n   t h r e s h o l d   i s   m e t ,   t h e   k u b e l e t   k i l l s   p o d s   i m m e d i a t e l y   w i t h o u t   g r a c e f u l   t e r m i n a t i o n   t o   r e c l a i m   t h e   s t a r v e d   r e s o u r c e .   Y o u   c a n   u s e   t h e   e v i c t i o n - h a r d   f l a g   t o   c o n f i g u r e   a   s e t   o f   h a r d   e v i c t i o n   t h r e s h o l d s   l i k e   m e m o r y . a v a i l a b l e < 1 G i .   T h e   k u b e l e t   h a s   t h e   f o l l o w i n g   d e f a u l t   h a r d   e v i c t i o n   t h r e s h o l d s :   m e m o r y . a v a i l a b l e < 1 0 0 M i   ( L i n u x   n o d e s ) m e m o r y . a v a i l a b l e < 5 0 0 M i   ( W i n d o w s   n o d e s ) n o d e f s . a v a i l a b l e < 1 0 % i m a g e f s . a v a i l a b l e < 1 5 % n o d e f s . i n o d e s F r e e < 5 %   ( L i n u x   n o d e s ) i m a g e f s . i n o d e s F r e e < 5 %   ( L i n u x   n o d e s )   T h e s e   d e f a u l t   v a l u e s   o f   h a r d   e v i c t i o n   t h r e s h o l d s   w i l l   o n l y   b e   s e t   i f   n o n e   o f   t h e   p a r a m e t e r s   i s   c h a n g e d .   I f   y o u   c h a n g e   t h e   v a l u e   o f   a n y   p a r a m e t e r ,   t h e n   t h e   v a l u e s   o f   o t h e r   p a r a m e t e r s   w i l l   n o t   b e   i n h e r i t e d   a s   t h e   d e f a u l t   v a l u e s   a n d   w i l l   b e   s e t   t o   z e r o .   I n   o r d e r   t o   p r o v i d e   c u s t o m   v a l u e s ,   y o u   s h o u l d   p r o v i d e   a l l   t h e   t h r e s h o l d s   r e s p e c t i v e l y .   Y o u   c a n   a l s o   s e t   t h e   k u b e l e t   c o n f i g   M e r g e D e f a u l t E v i c t i o n S e t t i n g s   t o   t r u e   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e .   I f   s e t   t o   t r u ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_4_10424"
  },
  {
    "question": "What is Eviction monitoring interval?",
    "answer": "T h e   k u b e l e t   e v a l u a t e s   e v i c t i o n   t h r e s h o l d s   b a s e d   o n   i t s   c o n f i g u r e d   h o u s e k e e p i n g - i n t e r v a l ,   w h i c h   d e f a u l t s   t o   1 0 s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_2_10425"
  },
  {
    "question": "What is Node conditions?",
    "answer": "T h e   k u b e l e t   r e p o r t s   n o d e   c o n d i t i o n s   t o   r e f l e c t   t h a t   t h e   n o d e   i s   u n d e r   p r e s s u r e   b e c a u s e   h a r d   o r   s o f t   e v i c t i o n   t h r e s h o l d   i s   m e t ,   i n d e p e n d e n t   o f   c o n f i g u r e d   g r a c e   p e r i o d s .   T h e   k u b e l e t   m a p s   e v i c t i o n   s i g n a l s   t o   n o d e   c o n d i t i o n s   a s   f o l l o w s :   T h e   c o n t r o l   p l a n e   a l s o   m a p s   t h e s e   n o d e   c o n d i t i o n s   t o   t a i n t s .   T h e   k u b e l e t   u p d a t e s   t h e   n o d e   c o n d i t i o n s   b a s e d   o n   t h e   c o n f i g u r e d   - - n o d e - s t a t u s - u p d a t e - f r e q u e n c y ,   w h i c h   d e f a u l t s   t o   1 0 s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_2_10426"
  },
  {
    "question": "What is Node condition oscillation?",
    "answer": "I n   s o m e   c a s e s ,   n o d e s   o s c i l l a t e   a b o v e   a n d   b e l o w   s o f t   e v i c t i o n   t h r e s h o l d s   w i t h o u t   h o l d i n g   f o r   t h e   d e f i n e d   g r a c e   p e r i o d s .   T h i s   c a u s e s   t h e   r e p o r t e d   n o d e   c o n d i t i o n   t o   c o n s t a n t l y   s w i t c h   b e t w e e n   t r u e   a n d   f a l s e ,   l e a d i n g   t o   b a d   e v i c t i o n   d e c i s i o n s .   T o   p r o t e c t   a g a i n s t   o s c i l l a t i o n ,   y o u   c a n   u s e   t h e   e v i c t i o n - p r e s s u r e - t r a n s i t i o n - p e r i o d   f l a g ,   w h i c h   c o n t r o l s   h o w   l o n g   t h e   k u b e l e t   m u s t   w a i t   b e f o r e   t r a n s i t i o n i n g   a   n o d e   c o n d i t i o n   t o   a   d i f f e r e n t   s t a t e .   T h e   t r a n s i t i o n   p e r i o d   h a s   a   d e f a u l t   v a l u e   o f   5 m .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_3_10427"
  },
  {
    "question": "What is Reclaiming node level resources?",
    "answer": "T h e   k u b e l e t   t r i e s   t o   r e c l a i m   n o d e - l e v e l   r e s o u r c e s   b e f o r e   i t   e v i c t s   e n d - u s e r   p o d s .   W h e n   a   D i s k P r e s s u r e   n o d e   c o n d i t i o n   i s   r e p o r t e d ,   t h e   k u b e l e t   r e c l a i m s   n o d e - l e v e l   r e s o u r c e s   b a s e d   o n   t h e   f i l e s y s t e m s   o n   t h e   n o d e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_3_10428"
  },
  {
    "question": "What is Without imagefs or containerfs?",
    "answer": "I f   t h e   n o d e   o n l y   h a s   a   n o d e f s   f i l e s y s t e m   t h a t   m e e t s   e v i c t i o n   t h r e s h o l d s ,   t h e   k u b e l e t   f r e e s   u p   d i s k   s p a c e   i n   t h e   f o l l o w i n g   o r d e r :   G a r b a g e   c o l l e c t   d e a d   p o d s   a n d   c o n t a i n e r s . D e l e t e   u n u s e d   i m a g e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_4_10429"
  },
  {
    "question": "What is With imagefs?",
    "answer": "I f   t h e   n o d e   h a s   a   d e d i c a t e d   i m a g e f s   f i l e s y s t e m   f o r   c o n t a i n e r   r u n t i m e s   t o   u s e ,   t h e   k u b e l e t   d o e s   t h e   f o l l o w i n g :   I f   t h e   n o d e f s   f i l e s y s t e m   m e e t s   t h e   e v i c t i o n   t h r e s h o l d s ,   t h e   k u b e l e t   g a r b a g e   c o l l e c t s   d e a d   p o d s   a n d   c o n t a i n e r s . I f   t h e   i m a g e f s   f i l e s y s t e m   m e e t s   t h e   e v i c t i o n   t h r e s h o l d s ,   t h e   k u b e l e t   d e l e t e s   a l l   u n u s e d   i m a g e s .   I f   t h e   n o d e f s   f i l e s y s t e m   m e e t s   t h e   e v i c t i o n   t h r e s h o l d s ,   t h e   k u b e l e t   g a r b a g e   c o l l e c t s   d e a d   p o d s   a n d   c o n t a i n e r s .   I f   t h e   i m a g e f s   f i l e s y s t e m   m e e t s   t h e   e v i c t i o n   t h r e s h o l d s ,   t h e   k u b e l e t   d e l e t e s   a l l   u n u s e d   i m a g e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_4_10430"
  },
  {
    "question": "What is With imagefs and containerfs?",
    "answer": "I f   t h e   n o d e   h a s   a   d e d i c a t e d   c o n t a i n e r f s   a l o n g s i d e   t h e   i m a g e f s   f i l e s y s t e m   c o n f i g u r e d   f o r   t h e   c o n t a i n e r   r u n t i m e s   t o   u s e ,   t h e n   k u b e l e t   w i l l   a t t e m p t   t o   r e c l a i m   r e s o u r c e s   a s   f o l l o w s :   I f   t h e   c o n t a i n e r f s   f i l e s y s t e m   m e e t s   t h e   e v i c t i o n   t h r e s h o l d s ,   t h e   k u b e l e t   g a r b a g e   c o l l e c t s   d e a d   p o d s   a n d   c o n t a i n e r s . I f   t h e   i m a g e f s   f i l e s y s t e m   m e e t s   t h e   e v i c t i o n   t h r e s h o l d s ,   t h e   k u b e l e t   d e l e t e s   a l l   u n u s e d   i m a g e s .   I f   t h e   c o n t a i n e r f s   f i l e s y s t e m   m e e t s   t h e   e v i c t i o n   t h r e s h o l d s ,   t h e   k u b e l e t   g a r b a g e   c o l l e c t s   d e a d   p o d s   a n d   c o n t a i n e r s .   I f   t h e   i m a g e f s   f i l e s y s t e m   m e e t s   t h e   e v i c t i o n   t h r e s h o l d s ,   t h e   k u b e l e t   d e l e t e s   a l l   u n u s e d   i m a g e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_4_10431"
  },
  {
    "question": "What is Pod selection for kubelet eviction?",
    "answer": "I f   t h e   k u b e l e t ' s   a t t e m p t s   t o   r e c l a i m   n o d e - l e v e l   r e s o u r c e s   d o n ' t   b r i n g   t h e   e v i c t i o n   s i g n a l   b e l o w   t h e   t h r e s h o l d ,   t h e   k u b e l e t   b e g i n s   t o   e v i c t   e n d - u s e r   p o d s .   T h e   k u b e l e t   u s e s   t h e   f o l l o w i n g   p a r a m e t e r s   t o   d e t e r m i n e   t h e   p o d   e v i c t i o n   o r d e r :   W h e t h e r   t h e   p o d ' s   r e s o u r c e   u s a g e   e x c e e d s   r e q u e s t s P o d   P r i o r i t y T h e   p o d ' s   r e s o u r c e   u s a g e   r e l a t i v e   t o   r e q u e s t s   A s   a   r e s u l t ,   k u b e l e t   r a n k s   a n d   e v i c t s   p o d s   i n   t h e   f o l l o w i n g   o r d e r :   B e s t E f f o r t   o r   B u r s t a b l e   p o d s   w h e r e   t h e   u s a g e   e x c e e d s   r e q u e s t s .   T h e s e   p o d s   a r e   e v i c t e d   b a s e d   o n   t h e i r   P r i o r i t y   a n d   t h e n   b y   h o w   m u c h   t h e i r   u s a g e   l e v e l   e x c e e d s   t h e   r e q u e s t . G u a r a n t e e d   p o d s   a n d   B u r s t a b l e   p o d s   w h e r e   t h e   u s a g e   i s   l e s s   t h a n   r e q u e s t s   a r e   e v i c t e d   l a s t ,   b a s e d   o n   t h e i r   P r i o r i t y .   B e s t E f f o r t   o r   B u r s t a b l e   p o d s   w h e r e   t h e   u s a g e   e x c e e d s   r e q u e s t s .   T h e s e   p o d s   a r e   e v i c t e d   b a s e d   o n   t h e i r   P r i o r i t y   a n d   t h e n   b y   h o w   m u c h   t h e i r   u s a g e   l e v e l   e x c e e d s   t h e   r e q u e s t .   G u a r a n t e e d   p o d s   a n d   B u r s t a b l e   p o d s   w h e r e   t h e   u s a g e   i s   l e s s   t h a n   r e q u e s t s   a r e   e v i c t e d   l a s t ,   b a s e d   o n   t h e i r   P r i o r i t y .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_3_10432"
  },
  {
    "question": "What is Note:?",
    "answer": "G u a r a n t e e d   p o d s   a r e   g u a r a n t e e d   o n l y   w h e n   r e q u e s t s   a n d   l i m i t s   a r e   s p e c i f i e d   f o r   a l l   t h e   c o n t a i n e r s   a n d   t h e y   a r e   e q u a l .   T h e s e   p o d s   w i l l   n e v e r   b e   e v i c t e d   b e c a u s e   o f   a n o t h e r   p o d ' s   r e s o u r c e   c o n s u m p t i o n .   I f   a   s y s t e m   d a e m o n   ( s u c h   a s   k u b e l e t   a n d   j o u r n a l d )   i s   c o n s u m i n g   m o r e   r e s o u r c e s   t h a n   w e r e   r e s e r v e d   v i a   s y s t e m - r e s e r v e d   o r   k u b e - r e s e r v e d   a l l o c a t i o n s ,   a n d   t h e   n o d e   o n l y   h a s   G u a r a n t e e d   o r   B u r s t a b l e   p o d s   u s i n g   l e s s   r e s o u r c e s   t h a n   r e q u e s t s   l e f t   o n   i t ,   t h e n   t h e   k u b e l e t   m u s t   c h o o s e   t o   e v i c t   o n e   o f   t h e s e   p o d s   t o   p r e s e r v e   n o d e   s t a b i l i t y   a n d   t o   l i m i t   t h e   i m p a c t   o f   r e s o u r c e   s t a r v a t i o n   o n   o t h e r   p o d s .   I n   t h i s   c a s e ,   i t   w i l l   c h o o s e   t o   e v i c t   p o d s   o f   l o w e s t   P r i o r i t y   f i r s t .   I f   y o u   a r e   r u n n i n g   a   s t a t i c   p o d   a n d   w a n t   t o   a v o i d   h a v i n g   i t   e v i c t e d   u n d e r   r e s o u r c e   p r e s s u r e ,   s e t   t h e   p r i o r i t y   f i e l d   f o r   t h a t   P o d   d i r e c t l y .   S t a t i c   p o d s   d o   n o t   s u p p o r t   t h e   p r i o r i t y C l a s s N a m e   f i e l d .   W h e n   t h e   k u b e l e t   e v i c t s   p o d s   i n   r e s p o n s e   t o   i n o d e   o r   p r o c e s s   I D   s t a r v a t i o n ,   i t   u s e s   t h e   P o d s '   r e l a t i v e   p r i o r i t y   t o   d e t e r m i n e   t h e   e v i c t i o n   o r d e r ,   b e c ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_4_10433"
  },
  {
    "question": "What is Without imagefs or containerfs (nodefs and imagefs use the same filesystem)?",
    "answer": "I f   n o d e f s   t r i g g e r s   e v i c t i o n s ,   t h e   k u b e l e t   s o r t s   p o d s   b a s e d   o n   t h e i r   t o t a l   d i s k   u s a g e   ( l o c a l   v o l u m e s   +   l o g s   a n d   a   w r i t a b l e   l a y e r   o f   a l l   c o n t a i n e r s ) .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_4_10434"
  },
  {
    "question": "What is With imagefs (nodefs and imagefs filesystems are separate)?",
    "answer": "I f   n o d e f s   t r i g g e r s   e v i c t i o n s ,   t h e   k u b e l e t   s o r t s   p o d s   b a s e d   o n   n o d e f s   u s a g e   ( l o c a l   v o l u m e s   +   l o g s   o f   a l l   c o n t a i n e r s ) . I f   i m a g e f s   t r i g g e r s   e v i c t i o n s ,   t h e   k u b e l e t   s o r t s   p o d s   b a s e d   o n   t h e   w r i t a b l e   l a y e r   u s a g e   o f   a l l   c o n t a i n e r s .   I f   n o d e f s   t r i g g e r s   e v i c t i o n s ,   t h e   k u b e l e t   s o r t s   p o d s   b a s e d   o n   n o d e f s   u s a g e   ( l o c a l   v o l u m e s   +   l o g s   o f   a l l   c o n t a i n e r s ) .   I f   i m a g e f s   t r i g g e r s   e v i c t i o n s ,   t h e   k u b e l e t   s o r t s   p o d s   b a s e d   o n   t h e   w r i t a b l e   l a y e r   u s a g e   o f   a l l   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_4_10435"
  },
  {
    "question": "What is With imagesfs and containerfs (imagefs and containerfs have been split)?",
    "answer": "I f   c o n t a i n e r f s   t r i g g e r s   e v i c t i o n s ,   t h e   k u b e l e t   s o r t s   p o d s   b a s e d   o n   c o n t a i n e r f s   u s a g e   ( l o c a l   v o l u m e s   +   l o g s   a n d   a   w r i t a b l e   l a y e r   o f   a l l   c o n t a i n e r s ) . I f   i m a g e f s   t r i g g e r s   e v i c t i o n s ,   t h e   k u b e l e t   s o r t s   p o d s   b a s e d   o n   t h e   s t o r a g e   o f   i m a g e s   r a n k ,   w h i c h   r e p r e s e n t s   t h e   d i s k   u s a g e   o f   a   g i v e n   i m a g e .   I f   c o n t a i n e r f s   t r i g g e r s   e v i c t i o n s ,   t h e   k u b e l e t   s o r t s   p o d s   b a s e d   o n   c o n t a i n e r f s   u s a g e   ( l o c a l   v o l u m e s   +   l o g s   a n d   a   w r i t a b l e   l a y e r   o f   a l l   c o n t a i n e r s ) .   I f   i m a g e f s   t r i g g e r s   e v i c t i o n s ,   t h e   k u b e l e t   s o r t s   p o d s   b a s e d   o n   t h e   s t o r a g e   o f   i m a g e s   r a n k ,   w h i c h   r e p r e s e n t s   t h e   d i s k   u s a g e   o f   a   g i v e n   i m a g e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_4_10436"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   s o m e   c a s e s ,   p o d   e v i c t i o n   o n l y   r e c l a i m s   a   s m a l l   a m o u n t   o f   t h e   s t a r v e d   r e s o u r c e .   T h i s   c a n   l e a d   t o   t h e   k u b e l e t   r e p e a t e d l y   h i t t i n g   t h e   c o n f i g u r e d   e v i c t i o n   t h r e s h o l d s   a n d   t r i g g e r i n g   m u l t i p l e   e v i c t i o n s .   Y o u   c a n   u s e   t h e   - - e v i c t i o n - m i n i m u m - r e c l a i m   f l a g   o r   a   k u b e l e t   c o n f i g   f i l e   t o   c o n f i g u r e   a   m i n i m u m   r e c l a i m   a m o u n t   f o r   e a c h   r e s o u r c e .   W h e n   t h e   k u b e l e t   n o t i c e s   t h a t   a   r e s o u r c e   i s   s t a r v e d ,   i t   c o n t i n u e s   t o   r e c l a i m   t h a t   r e s o u r c e   u n t i l   i t   r e c l a i m s   t h e   q u a n t i t y   y o u   s p e c i f y .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   c o n f i g u r a t i o n   s e t s   m i n i m u m   r e c l a i m   a m o u n t s :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   e v i c t i o n H a r d :   m e m o r y . a v a i l a b l e :   \" 5 0 0 M i \"   n o d e f s . a v a i l a b l e :   \" 1 G i \"   i m a g e f s . a v a i l a b l e :   \" 1 0 0 G i \"   e v i c t i o n M i n i m u m R e c l a i m :   m e m o r y . a v a i l a b l e :   \" 0 M i \"   n o d e f s . a v a i l a b l e :   \" 5 0 0 M i \"   i m a g e f s . a v a i l a b l e :   \" 2 G i \"   I n   t h i s   e x a m p l e ,   i f   t h e   n o d e f s . a v a i l a b l e   s i g n a l   m e e t s   t h e   e v i c t i o n   t h r e s h o l d ,   t h e   k u b e l e t   r e c l a i m s   t h e   r e s o u r c e   u n t i l   t h e   s i g n a l   r e a c h e s   t h e   t h r e s h o l d   o f   1 G i B ,   a n d   t h e n   c o n t i n u e s   t o   r e c l a i m   t h e   m i n i m u m   a m o ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_4_10437"
  },
  {
    "question": "What is Node out of memory behavior?",
    "answer": "I f   t h e   n o d e   e x p e r i e n c e s   a n   o u t   o f   m e m o r y   ( O O M )   e v e n t   p r i o r   t o   t h e   k u b e l e t   b e i n g   a b l e   t o   r e c l a i m   m e m o r y ,   t h e   n o d e   d e p e n d s   o n   t h e   o o m _ k i l l e r   t o   r e s p o n d .   T h e   k u b e l e t   s e t s   a n   o o m _ s c o r e _ a d j   v a l u e   f o r   e a c h   c o n t a i n e r   b a s e d   o n   t h e   Q o S   f o r   t h e   p o d .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_2_10438"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   t h e   k u b e l e t   c a n ' t   r e c l a i m   m e m o r y   b e f o r e   a   n o d e   e x p e r i e n c e s   O O M ,   t h e   o o m _ k i l l e r   c a l c u l a t e s   a n   o o m _ s c o r e   b a s e d   o n   t h e   p e r c e n t a g e   o f   m e m o r y   i t ' s   u s i n g   o n   t h e   n o d e ,   a n d   t h e n   a d d s   t h e   o o m _ s c o r e _ a d j   t o   g e t   a n   e f f e c t i v e   o o m _ s c o r e   f o r   e a c h   c o n t a i n e r .   I t   t h e n   k i l l s   t h e   c o n t a i n e r   w i t h   t h e   h i g h e s t   s c o r e .   T h i s   m e a n s   t h a t   c o n t a i n e r s   i n   l o w   Q o S   p o d s   t h a t   c o n s u m e   a   l a r g e   a m o u n t   o f   m e m o r y   r e l a t i v e   t o   t h e i r   s c h e d u l i n g   r e q u e s t s   a r e   k i l l e d   f i r s t .   U n l i k e   p o d   e v i c t i o n ,   i f   a   c o n t a i n e r   i s   O O M   k i l l e d ,   t h e   k u b e l e t   c a n   r e s t a r t   i t   b a s e d   o n   i t s   r e s t a r t P o l i c y .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_4_10439"
  },
  {
    "question": "What is Good practices?",
    "answer": "T h e   f o l l o w i n g   s e c t i o n s   d e s c r i b e   g o o d   p r a c t i c e   f o r   e v i c t i o n   c o n f i g u r a t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_2_10440"
  },
  {
    "question": "What is Schedulable resources and eviction policies?",
    "answer": "W h e n   y o u   c o n f i g u r e   t h e   k u b e l e t   w i t h   a n   e v i c t i o n   p o l i c y ,   y o u   s h o u l d   m a k e   s u r e   t h a t   t h e   s c h e d u l e r   w i l l   n o t   s c h e d u l e   p o d s   i f   t h e y   w i l l   t r i g g e r   e v i c t i o n   b e c a u s e   t h e y   i m m e d i a t e l y   i n d u c e   m e m o r y   p r e s s u r e .   C o n s i d e r   t h e   f o l l o w i n g   s c e n a r i o :   N o d e   m e m o r y   c a p a c i t y :   1 0 G i B O p e r a t o r   w a n t s   t o   r e s e r v e   1 0 %   o f   m e m o r y   c a p a c i t y   f o r   s y s t e m   d a e m o n s   ( k e r n e l ,   k u b e l e t ,   e t c . ) O p e r a t o r   w a n t s   t o   e v i c t   P o d s   a t   9 5 %   m e m o r y   u t i l i z a t i o n   t o   r e d u c e   i n c i d e n c e   o f   s y s t e m   O O M .   F o r   t h i s   t o   w o r k ,   t h e   k u b e l e t   i s   l a u n c h e d   a s   f o l l o w s :   - - e v i c t i o n - h a r d = m e m o r y . a v a i l a b l e < 5 0 0 M i   - - s y s t e m - r e s e r v e d = m e m o r y = 1 . 5 G i   I n   t h i s   c o n f i g u r a t i o n ,   t h e   - - s y s t e m - r e s e r v e d   f l a g   r e s e r v e s   1 . 5 G i B   o f   m e m o r y   f o r   t h e   s y s t e m ,   w h i c h   i s   1 0 %   o f   t h e   t o t a l   m e m o r y   +   t h e   e v i c t i o n   t h r e s h o l d   a m o u n t .   T h e   n o d e   c a n   r e a c h   t h e   e v i c t i o n   t h r e s h o l d   i f   a   p o d   i s   u s i n g   m o r e   t h a n   i t s   r e q u e s t ,   o r   i f   t h e   s y s t e m   i s   u s i n g   m o r e   t h a n   1 G i B   o f   m e m o r y ,   w h i c h   m a k e s   t h e   m e m o r y . a v a i l a b l e   s i g n a l   f a l l   b e l o w   5 0 0 M i B   a n d   t r i g g e r s   t h e   t h r e s h o l d .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_3_10441"
  },
  {
    "question": "What is DaemonSets and node-pressure eviction?",
    "answer": "P o d   p r i o r i t y   i s   a   m a j o r   f a c t o r   i n   m a k i n g   e v i c t i o n   d e c i s i o n s .   I f   y o u   d o   n o t   w a n t   t h e   k u b e l e t   t o   e v i c t   p o d s   t h a t   b e l o n g   t o   a   D a e m o n S e t ,   g i v e   t h o s e   p o d s   a   h i g h   e n o u g h   p r i o r i t y   b y   s p e c i f y i n g   a   s u i t a b l e   p r i o r i t y C l a s s N a m e   i n   t h e   p o d   s p e c .   Y o u   c a n   a l s o   u s e   a   l o w e r   p r i o r i t y ,   o r   t h e   d e f a u l t ,   t o   o n l y   a l l o w   p o d s   f r o m   t h a t   D a e m o n S e t   t o   r u n   w h e n   t h e r e   a r e   e n o u g h   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_3_10442"
  },
  {
    "question": "What is Known issues?",
    "answer": "T h e   f o l l o w i n g   s e c t i o n s   d e s c r i b e   k n o w n   i s s u e s   r e l a t e d   t o   o u t   o f   r e s o u r c e   h a n d l i n g .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_2_10443"
  },
  {
    "question": "What is kubelet may not observe memory pressure right away?",
    "answer": "B y   d e f a u l t ,   t h e   k u b e l e t   p o l l s   c A d v i s o r   t o   c o l l e c t   m e m o r y   u s a g e   s t a t s   a t   a   r e g u l a r   i n t e r v a l .   I f   m e m o r y   u s a g e   i n c r e a s e s   w i t h i n   t h a t   w i n d o w   r a p i d l y ,   t h e   k u b e l e t   m a y   n o t   o b s e r v e   M e m o r y P r e s s u r e   f a s t   e n o u g h ,   a n d   t h e   O O M   k i l l e r   w i l l   s t i l l   b e   i n v o k e d .   Y o u   c a n   u s e   t h e   - - k e r n e l - m e m c g - n o t i f i c a t i o n   f l a g   t o   e n a b l e   t h e   m e m c g   n o t i f i c a t i o n   A P I   o n   t h e   k u b e l e t   t o   g e t   n o t i f i e d   i m m e d i a t e l y   w h e n   a   t h r e s h o l d   i s   c r o s s e d .   I f   y o u   a r e   n o t   t r y i n g   t o   a c h i e v e   e x t r e m e   u t i l i z a t i o n ,   b u t   a   s e n s i b l e   m e a s u r e   o f   o v e r c o m m i t ,   a   v i a b l e   w o r k a r o u n d   f o r   t h i s   i s s u e   i s   t o   u s e   t h e   - - k u b e - r e s e r v e d   a n d   - - s y s t e m - r e s e r v e d   f l a g s   t o   a l l o c a t e   m e m o r y   f o r   t h e   s y s t e m .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_3_10444"
  },
  {
    "question": "What is active_file memory is not considered as available memory?",
    "answer": "O n   L i n u x ,   t h e   k e r n e l   t r a c k s   t h e   n u m b e r   o f   b y t e s   o f   f i l e - b a c k e d   m e m o r y   o n   a c t i v e   l e a s t   r e c e n t l y   u s e d   ( L R U )   l i s t   a s   t h e   a c t i v e _ f i l e   s t a t i s t i c .   T h e   k u b e l e t   t r e a t s   a c t i v e _ f i l e   m e m o r y   a r e a s   a s   n o t   r e c l a i m a b l e .   F o r   w o r k l o a d s   t h a t   m a k e   i n t e n s i v e   u s e   o f   b l o c k - b a c k e d   l o c a l   s t o r a g e ,   i n c l u d i n g   e p h e m e r a l   l o c a l   s t o r a g e ,   k e r n e l - l e v e l   c a c h e s   o f   f i l e   a n d   b l o c k   d a t a   m e a n s   t h a t   m a n y   r e c e n t l y   a c c e s s e d   c a c h e   p a g e s   a r e   l i k e l y   t o   b e   c o u n t e d   a s   a c t i v e _ f i l e .   I f   e n o u g h   o f   t h e s e   k e r n e l   b l o c k   b u f f e r s   a r e   o n   t h e   a c t i v e   L R U   l i s t ,   t h e   k u b e l e t   i s   l i a b l e   t o   o b s e r v e   t h i s   a s   h i g h   r e s o u r c e   u s e   a n d   t a i n t   t h e   n o d e   a s   e x p e r i e n c i n g   m e m o r y   p r e s s u r e   -   t r i g g e r i n g   p o d   e v i c t i o n .   F o r   m o r e   d e t a i l s ,   s e e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k u b e r n e t e s / i s s u e s / 4 3 9 1 6   Y o u   c a n   w o r k   a r o u n d   t h a t   b e h a v i o r   b y   s e t t i n g   t h e   m e m o r y   l i m i t   a n d   m e m o r y   r e q u e s t   t h e   s a m e   f o r   c o n t a i n e r s   l i k e l y   t o   p e r f o r m   i n t e n s i v e   I / O   a c t i v i t y .   Y o u   w i l l   n e e d   t o   e s t i m a t e   o r   m e a s u r e   a n   o p t i m a l   m e m o r y   l i m i t   v a l u e   f o r   t h a t   c o n t a i n e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_3_10445"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   A P I - i n i t i a t e d   E v i c t i o n L e a r n   a b o u t   P o d   P r i o r i t y   a n d   P r e e m p t i o n L e a r n   a b o u t   P o d D i s r u p t i o n B u d g e t s L e a r n   a b o u t   Q u a l i t y   o f   S e r v i c e   ( Q o S ) C h e c k   o u t   t h e   E v i c t i o n   A P I",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/",
    "id": "k8s_00554_section_2_10446"
  },
  {
    "question": "What is kubectl logs?",
    "answer": "kubectl logsSynopsisPrint the logs for a container in a pod or specified resource. If the pod has only one container, the container name is optional.kubectl logs [-f] [-p] (POD | TYPE/NAME) [-c CONTAINER] Examples # Return snapshot logs from pod nginx with only one container kubectl logs nginx # Return snapshot logs from pod nginx, prefixing each line with the source pod and container name kubectl logs nginx --prefix # Return snapshot logs from pod nginx, limiting output to 500 bytes kubectl logs nginx --limit-bytes=500 # Return snapshot logs from pod nginx, waiting up to 20 seconds for it to start running. kubectl logs nginx --pod-running-timeout=20s # Return snapshot logs from pod nginx with multi containers kubectl logs nginx --all-containers=true # Return snapshot logs from all pods in the deployment nginx kubectl logs deployment/nginx --all-pods=true # Return snapshot logs from all containers in pods defined by label app=nginx kubectl logs -l app=nginx --all-containers=true # Return snapshot logs from all pods defined by label app=nginx, limiting concurrent log requests to 10 pods kubectl logs -l app=nginx --max-log-requests=10 # Return snapshot of previous terminated ruby container logs from pod web-1 kubectl logs -p -c ruby web-1 # Begin streaming the logs from pod nginx, continuing even if errors occur kubectl logs nginx -f --ignore-errors=true # Begin streaming the logs of the ruby container in pod web-1 kubectl logs -f -c ruby web-1 # Begin streaming the logs from all containers in pods defined by label app=nginx kubectl logs -f -l app=nginx --all-containers=true # Display only the most recent 20 lines of output in pod nginx kubectl logs --tail=20 nginx # Show all logs from pod nginx written in the last hour kubectl logs --since=1h nginx # Show all logs with timestamps from pod nginx starting from August 30, 2024, at 06:00:00 UTC kubectl logs nginx --since-time=2024-08-30T06:00:00Z --timestamps=true # Show logs from a kubelet with an expired serving certificate kubectl logs --insecure-skip-tls-verify-backend nginx # Return snapshot logs from first container of a job named hello kubectl logs job/hello # Return snapshot logs from container nginx-1 of a deployment named nginx kubectl logs deployment/nginx -c nginx-1 Options--all-containersGet all containers' logs in the pod(s).--all-podsGet logs from all pod(s). Sets prefix to true.-c, --container stringPrint the logs of this container-f, --followSpecify if the logs should be streamed.-h, --helphelp for logs--ignore-errorsIf watching / following pod logs, allow for any errors that occur to be non-fatal--insecure-skip-tls-verify-backendSkip verifying the identity of the kubelet that logs are requested from. In theory, an attacker could provide invalid log content back. You might want to use this if your kubelet serving certificates have expired.--limit-bytes intMaximum bytes of logs to return. Defaults to no limit.--max-log-requests int Default: 5Specify maximum number of concurrent logs to",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_logs/",
    "id": "k8s_00555_qa_10447"
  },
  {
    "question": "How does kubectl logs work?",
    "answer": "kubectl logsSynopsisPrint the logs for a container in a pod or specified resource. If the pod has only one container, the container name is optional.kubectl logs [-f] [-p] (POD | TYPE/NAME) [-c CONTAINER] Examples # Return snapshot logs from pod nginx with only one container kubectl logs nginx # Return snapshot logs from pod nginx, prefixing each line with the source pod and container name kubectl logs nginx --prefix # Return snapshot logs from pod nginx, limiting output to 500 bytes kubectl logs nginx --limit-bytes=500 # Return snapshot logs from pod nginx, waiting up to 20 seconds for it to start running. kubectl logs nginx --pod-running-timeout=20s # Return snapshot logs from pod nginx with multi containers kubectl logs nginx --all-containers=true # Return snapshot logs from all pods in the deployment nginx kubectl logs deployment/nginx --all-pods=true # Return snapshot logs from all containers in pods defined by label app=nginx kubectl logs -l app=nginx --all-containers=true # Return snapshot logs from all pods defined by label app=nginx, limiting concurrent log requests to 10 pods kubectl logs -l app=nginx --max-log-requests=10 # Return snapshot of previous terminated ruby container logs from pod web-1 kubectl logs -p -c ruby web-1 # Begin streaming the logs from pod nginx, continuing even if errors occur kubectl logs nginx -f --ignore-errors=true # Begin streaming the logs of the ruby container in pod web-1 kubectl logs -f -c ruby web-1 # Begin streaming the logs from all containers in pods defined by label app=nginx kubectl logs -f -l app=nginx --all-containers=true # Display only the most recent 20 lines of output in pod nginx kubectl logs --tail=20 nginx # Show all logs from pod nginx written in the last hour kubectl logs --since=1h nginx # Show all logs with timestamps from pod nginx starting from August 30, 2024, at 06:00:00 UTC kubectl logs nginx --since-time=2024-08-30T06:00:00Z --timestamps=true # Show logs from a kubelet with an expired serving certificate kubectl logs --insecure-skip-tls-verify-backend nginx # Return snapshot logs from first container of a job named hello kubectl logs job/hello # Return snapshot logs from container nginx-1 of a deployment named nginx kubectl logs deployment/nginx -c nginx-1 Options--all-containersGet all containers' logs in the pod(s).--all-podsGet logs from all pod(s). Sets prefix to true.-c, --container stringPrint the logs of this container-f, --followSpecify if the logs should be streamed.-h, --helphelp for logs--ignore-errorsIf watching / following pod logs, allow for any errors that occur to be non-fatal--insecure-skip-tls-verify-backendSkip verifying the identity of the kubelet that logs are requested from. In theory, an attacker could provide invalid log content back. You might want to use this if your kubelet serving certificates have expired.--limit-bytes intMaximum bytes of logs to return. Defaults to no limit.--max-log-requests int Default: 5Specify maximum number of concurrent logs to",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_logs/",
    "id": "k8s_00555_qa_10448"
  },
  {
    "question": "When would you use kubectl logs?",
    "answer": "kubectl logsSynopsisPrint the logs for a container in a pod or specified resource. If the pod has only one container, the container name is optional.kubectl logs [-f] [-p] (POD | TYPE/NAME) [-c CONTAINER] Examples # Return snapshot logs from pod nginx with only one container kubectl logs nginx # Return snapshot logs from pod nginx, prefixing each line with the source pod and container name kubectl logs nginx --prefix # Return snapshot logs from pod nginx, limiting output to 500 bytes kubectl logs nginx --limit-bytes=500 # Return snapshot logs from pod nginx, waiting up to 20 seconds for it to start running. kubectl logs nginx --pod-running-timeout=20s # Return snapshot logs from pod nginx with multi containers kubectl logs nginx --all-containers=true # Return snapshot logs from all pods in the deployment nginx kubectl logs deployment/nginx --all-pods=true # Return snapshot logs from all containers in pods defined by label app=nginx kubectl logs -l app=nginx --all-containers=true # Return snapshot logs from all pods defined by label app=nginx, limiting concurrent log requests to 10 pods kubectl logs -l app=nginx --max-log-requests=10 # Return snapshot of previous terminated ruby container logs from pod web-1 kubectl logs -p -c ruby web-1 # Begin streaming the logs from pod nginx, continuing even if errors occur kubectl logs nginx -f --ignore-errors=true # Begin streaming the logs of the ruby container in pod web-1 kubectl logs -f -c ruby web-1 # Begin streaming the logs from all containers in pods defined by label app=nginx kubectl logs -f -l app=nginx --all-containers=true # Display only the most recent 20 lines of output in pod nginx kubectl logs --tail=20 nginx # Show all logs from pod nginx written in the last hour kubectl logs --since=1h nginx # Show all logs with timestamps from pod nginx starting from August 30, 2024, at 06:00:00 UTC kubectl logs nginx --since-time=2024-08-30T06:00:00Z --timestamps=true # Show logs from a kubelet with an expired serving certificate kubectl logs --insecure-skip-tls-verify-backend nginx # Return snapshot logs from first container of a job named hello kubectl logs job/hello # Return snapshot logs from container nginx-1 of a deployment named nginx kubectl logs deployment/nginx -c nginx-1 Options--all-containersGet all containers' logs in the pod(s).--all-podsGet logs from all pod(s). Sets prefix to true.-c, --container stringPrint the logs of this container-f, --followSpecify if the logs should be streamed.-h, --helphelp for logs--ignore-errorsIf watching / following pod logs, allow for any errors that occur to be non-fatal--insecure-skip-tls-verify-backendSkip verifying the identity of the kubelet that logs are requested from. In theory, an attacker could provide invalid log content back. You might want to use this if your kubelet serving certificates have expired.--limit-bytes intMaximum bytes of logs to return. Defaults to no limit.--max-log-requests int Default: 5Specify maximum number of concurrent logs to",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_logs/",
    "id": "k8s_00555_qa_10449"
  },
  {
    "question": "What are the benefits of kubectl logs?",
    "answer": "kubectl logsSynopsisPrint the logs for a container in a pod or specified resource. If the pod has only one container, the container name is optional.kubectl logs [-f] [-p] (POD | TYPE/NAME) [-c CONTAINER] Examples # Return snapshot logs from pod nginx with only one container kubectl logs nginx # Return snapshot logs from pod nginx, prefixing each line with the source pod and container name kubectl logs nginx --prefix # Return snapshot logs from pod nginx, limiting output to 500 bytes kubectl logs nginx --limit-bytes=500 # Return snapshot logs from pod nginx, waiting up to 20 seconds for it to start running. kubectl logs nginx --pod-running-timeout=20s # Return snapshot logs from pod nginx with multi containers kubectl logs nginx --all-containers=true # Return snapshot logs from all pods in the deployment nginx kubectl logs deployment/nginx --all-pods=true # Return snapshot logs from all containers in pods defined by label app=nginx kubectl logs -l app=nginx --all-containers=true # Return snapshot logs from all pods defined by label app=nginx, limiting concurrent log requests to 10 pods kubectl logs -l app=nginx --max-log-requests=10 # Return snapshot of previous terminated ruby container logs from pod web-1 kubectl logs -p -c ruby web-1 # Begin streaming the logs from pod nginx, continuing even if errors occur kubectl logs nginx -f --ignore-errors=true # Begin streaming the logs of the ruby container in pod web-1 kubectl logs -f -c ruby web-1 # Begin streaming the logs from all containers in pods defined by label app=nginx kubectl logs -f -l app=nginx --all-containers=true # Display only the most recent 20 lines of output in pod nginx kubectl logs --tail=20 nginx # Show all logs from pod nginx written in the last hour kubectl logs --since=1h nginx # Show all logs with timestamps from pod nginx starting from August 30, 2024, at 06:00:00 UTC kubectl logs nginx --since-time=2024-08-30T06:00:00Z --timestamps=true # Show logs from a kubelet with an expired serving certificate kubectl logs --insecure-skip-tls-verify-backend nginx # Return snapshot logs from first container of a job named hello kubectl logs job/hello # Return snapshot logs from container nginx-1 of a deployment named nginx kubectl logs deployment/nginx -c nginx-1 Options--all-containersGet all containers' logs in the pod(s).--all-podsGet logs from all pod(s). Sets prefix to true.-c, --container stringPrint the logs of this container-f, --followSpecify if the logs should be streamed.-h, --helphelp for logs--ignore-errorsIf watching / following pod logs, allow for any errors that occur to be non-fatal--insecure-skip-tls-verify-backendSkip verifying the identity of the kubelet that logs are requested from. In theory, an attacker could provide invalid log content back. You might want to use this if your kubelet serving certificates have expired.--limit-bytes intMaximum bytes of logs to return. Defaults to no limit.--max-log-requests int Default: 5Specify maximum number of concurrent logs to",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_logs/",
    "id": "k8s_00555_qa_10450"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r i n t   t h e   l o g s   f o r   a   c o n t a i n e r   i n   a   p o d   o r   s p e c i f i e d   r e s o u r c e .   I f   t h e   p o d   h a s   o n l y   o n e   c o n t a i n e r ,   t h e   c o n t a i n e r   n a m e   i s   o p t i o n a l .   k u b e c t l   l o g s   [ - f ]   [ - p ]   ( P O D   |   T Y P E / N A M E )   [ - c   C O N T A I N E R ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_logs/",
    "id": "k8s_00555_section_2_10451"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R e t u r n   s n a p s h o t   l o g s   f r o m   p o d   n g i n x   w i t h   o n l y   o n e   c o n t a i n e r   k u b e c t l   l o g s   n g i n x   #   R e t u r n   s n a p s h o t   l o g s   f r o m   p o d   n g i n x ,   p r e f i x i n g   e a c h   l i n e   w i t h   t h e   s o u r c e   p o d   a n d   c o n t a i n e r   n a m e   k u b e c t l   l o g s   n g i n x   - - p r e f i x   #   R e t u r n   s n a p s h o t   l o g s   f r o m   p o d   n g i n x ,   l i m i t i n g   o u t p u t   t o   5 0 0   b y t e s   k u b e c t l   l o g s   n g i n x   - - l i m i t - b y t e s = 5 0 0   #   R e t u r n   s n a p s h o t   l o g s   f r o m   p o d   n g i n x ,   w a i t i n g   u p   t o   2 0   s e c o n d s   f o r   i t   t o   s t a r t   r u n n i n g .   k u b e c t l   l o g s   n g i n x   - - p o d - r u n n i n g - t i m e o u t = 2 0 s   #   R e t u r n   s n a p s h o t   l o g s   f r o m   p o d   n g i n x   w i t h   m u l t i   c o n t a i n e r s   k u b e c t l   l o g s   n g i n x   - - a l l - c o n t a i n e r s = t r u e   #   R e t u r n   s n a p s h o t   l o g s   f r o m   a l l   p o d s   i n   t h e   d e p l o y m e n t   n g i n x   k u b e c t l   l o g s   d e p l o y m e n t / n g i n x   - - a l l - p o d s = t r u e   #   R e t u r n   s n a p s h o t   l o g s   f r o m   a l l   c o n t a i n e r s   i n   p o d s   d e f i n e d   b y   l a b e l   a p p = n g i n x   k u b e c t l   l o g s   - l   a p p = n g i n x   - - a l l - c o n t a i n e r s = t r u e   #   R e t u r n   s n a p s h o t   l o g s   f r o m   a l l   p o d s   d e f i n e d   b y   l a b e l   a p p = n g i n x ,   l i m i t i n g   c o n c u r r e n t   l o g   r e q u e s t s   t o   1 0   p o d s   k u b e c t l   l o g s   - l   a p p = n g i n x   - - m a x - l o g - r e q u e s t s = 1 0   #   R e t u r n   s n a p s h o t   o f   p r e v i o u s   t e r m i n a t e d   r u b y   c o n t a i n e r   l o g s   f r ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_logs/",
    "id": "k8s_00555_section_2_10452"
  },
  {
    "question": "What is Options?",
    "answer": "G e t   a l l   c o n t a i n e r s '   l o g s   i n   t h e   p o d ( s ) .   G e t   l o g s   f r o m   a l l   p o d ( s ) .   S e t s   p r e f i x   t o   t r u e .   P r i n t   t h e   l o g s   o f   t h i s   c o n t a i n e r   S p e c i f y   i f   t h e   l o g s   s h o u l d   b e   s t r e a m e d .   h e l p   f o r   l o g s   I f   w a t c h i n g   /   f o l l o w i n g   p o d   l o g s ,   a l l o w   f o r   a n y   e r r o r s   t h a t   o c c u r   t o   b e   n o n - f a t a l   S k i p   v e r i f y i n g   t h e   i d e n t i t y   o f   t h e   k u b e l e t   t h a t   l o g s   a r e   r e q u e s t e d   f r o m .   I n   t h e o r y ,   a n   a t t a c k e r   c o u l d   p r o v i d e   i n v a l i d   l o g   c o n t e n t   b a c k .   Y o u   m i g h t   w a n t   t o   u s e   t h i s   i f   y o u r   k u b e l e t   s e r v i n g   c e r t i f i c a t e s   h a v e   e x p i r e d .   M a x i m u m   b y t e s   o f   l o g s   t o   r e t u r n .   D e f a u l t s   t o   n o   l i m i t .   S p e c i f y   m a x i m u m   n u m b e r   o f   c o n c u r r e n t   l o g s   t o   f o l l o w   w h e n   u s i n g   b y   a   s e l e c t o r .   D e f a u l t s   t o   5 .   T h e   l e n g t h   o f   t i m e   ( l i k e   5 s ,   2 m ,   o r   3 h ,   h i g h e r   t h a n   z e r o )   t o   w a i t   u n t i l   a t   l e a s t   o n e   p o d   i s   r u n n i n g   P r e f i x   e a c h   l o g   l i n e   w i t h   t h e   l o g   s o u r c e   ( p o d   n a m e   a n d   c o n t a i n e r   n a m e )   I f   t r u e ,   p r i n t   t h e   l o g s   f o r   t h e   p r e v i o u s   i n s t a n c e   o f   t h e   c o n t a i n e r   i n   a   p o d   i f   i t   e x i s t s .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_logs/",
    "id": "k8s_00555_section_2_10453"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_logs/",
    "id": "k8s_00555_section_2_10454"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_logs/",
    "id": "k8s_00555_section_2_10455"
  },
  {
    "question": "What is StatefulSet Basics?",
    "answer": "StatefulSet BasicsThis tutorial provides an introduction to managing applications with StatefulSets. It demonstrates how to create, delete, scale, and update the Pods of StatefulSets.Before you beginBefore you begin this tutorial, you should familiarize yourself with the following Kubernetes concepts:PodsCluster DNSHeadless ServicesPersistentVolumesPersistentVolume ProvisioningThe kubectl command line toolYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou should configure kubectl to use a context that uses the default namespace. If you are using an existing cluster, make sure that it's OK to use that cluster's default namespace to practice. Ideally, practice in a cluster that doesn't run any real workloads.It's also useful to read the concept page about StatefulSets.Note:This tutorial assumes that your cluster is configured to dynamically provision PersistentVolumes. You'll also need to have a default StorageClass. If your cluster is not configured to provision storage dynamically, you will have to manually provision two 1 GiB volumes prior to starting this tutorial and set up your cluster so that those PersistentVolumes map to the PersistentVolumeClaim templates that the StatefulSet defines.ObjectivesStatefulSets are intended to be used with stateful applications and distributed systems. However, the administration of stateful applications and distributed systems on Kubernetes is a broad, complex topic. In order to demonstrate the basic features of a StatefulSet, and not to conflate the former topic with the latter, you will deploy a simple web application using a StatefulSet.After this tutorial, you will be familiar with the following.How to create a StatefulSetHow a StatefulSet manages its PodsHow to delete a StatefulSetHow to scale a StatefulSetHow to update a StatefulSet's PodsCreating a StatefulSetBegin by creating a StatefulSet (and the Service that it relies upon) using the example below. It is similar to the example presented in the StatefulSets concept. It creates a headless Service, nginx, to publish the IP addresses of Pods in the StatefulSet, web.application/web/web.yaml apiVersion: v1 kind: Service metadata: name: nginx labels: app: nginx spec: ports: - port: 80 name: web clusterIP: None selector: app: nginx --- apiVersion: apps/v1 kind: StatefulSet metadata: name: web spec: serviceName: \"nginx\" replicas: 2 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: nginx image: registry.k8s.io/nginx-slim:0.21 ports: - containerPort: 80 name: web volumeMounts: - name: www mountPath: /usr/share/nginx/html volumeClaimTemplates:",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_qa_10456"
  },
  {
    "question": "How does StatefulSet Basics work?",
    "answer": "StatefulSet BasicsThis tutorial provides an introduction to managing applications with StatefulSets. It demonstrates how to create, delete, scale, and update the Pods of StatefulSets.Before you beginBefore you begin this tutorial, you should familiarize yourself with the following Kubernetes concepts:PodsCluster DNSHeadless ServicesPersistentVolumesPersistentVolume ProvisioningThe kubectl command line toolYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou should configure kubectl to use a context that uses the default namespace. If you are using an existing cluster, make sure that it's OK to use that cluster's default namespace to practice. Ideally, practice in a cluster that doesn't run any real workloads.It's also useful to read the concept page about StatefulSets.Note:This tutorial assumes that your cluster is configured to dynamically provision PersistentVolumes. You'll also need to have a default StorageClass. If your cluster is not configured to provision storage dynamically, you will have to manually provision two 1 GiB volumes prior to starting this tutorial and set up your cluster so that those PersistentVolumes map to the PersistentVolumeClaim templates that the StatefulSet defines.ObjectivesStatefulSets are intended to be used with stateful applications and distributed systems. However, the administration of stateful applications and distributed systems on Kubernetes is a broad, complex topic. In order to demonstrate the basic features of a StatefulSet, and not to conflate the former topic with the latter, you will deploy a simple web application using a StatefulSet.After this tutorial, you will be familiar with the following.How to create a StatefulSetHow a StatefulSet manages its PodsHow to delete a StatefulSetHow to scale a StatefulSetHow to update a StatefulSet's PodsCreating a StatefulSetBegin by creating a StatefulSet (and the Service that it relies upon) using the example below. It is similar to the example presented in the StatefulSets concept. It creates a headless Service, nginx, to publish the IP addresses of Pods in the StatefulSet, web.application/web/web.yaml apiVersion: v1 kind: Service metadata: name: nginx labels: app: nginx spec: ports: - port: 80 name: web clusterIP: None selector: app: nginx --- apiVersion: apps/v1 kind: StatefulSet metadata: name: web spec: serviceName: \"nginx\" replicas: 2 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: nginx image: registry.k8s.io/nginx-slim:0.21 ports: - containerPort: 80 name: web volumeMounts: - name: www mountPath: /usr/share/nginx/html volumeClaimTemplates:",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_qa_10457"
  },
  {
    "question": "When would you use StatefulSet Basics?",
    "answer": "StatefulSet BasicsThis tutorial provides an introduction to managing applications with StatefulSets. It demonstrates how to create, delete, scale, and update the Pods of StatefulSets.Before you beginBefore you begin this tutorial, you should familiarize yourself with the following Kubernetes concepts:PodsCluster DNSHeadless ServicesPersistentVolumesPersistentVolume ProvisioningThe kubectl command line toolYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou should configure kubectl to use a context that uses the default namespace. If you are using an existing cluster, make sure that it's OK to use that cluster's default namespace to practice. Ideally, practice in a cluster that doesn't run any real workloads.It's also useful to read the concept page about StatefulSets.Note:This tutorial assumes that your cluster is configured to dynamically provision PersistentVolumes. You'll also need to have a default StorageClass. If your cluster is not configured to provision storage dynamically, you will have to manually provision two 1 GiB volumes prior to starting this tutorial and set up your cluster so that those PersistentVolumes map to the PersistentVolumeClaim templates that the StatefulSet defines.ObjectivesStatefulSets are intended to be used with stateful applications and distributed systems. However, the administration of stateful applications and distributed systems on Kubernetes is a broad, complex topic. In order to demonstrate the basic features of a StatefulSet, and not to conflate the former topic with the latter, you will deploy a simple web application using a StatefulSet.After this tutorial, you will be familiar with the following.How to create a StatefulSetHow a StatefulSet manages its PodsHow to delete a StatefulSetHow to scale a StatefulSetHow to update a StatefulSet's PodsCreating a StatefulSetBegin by creating a StatefulSet (and the Service that it relies upon) using the example below. It is similar to the example presented in the StatefulSets concept. It creates a headless Service, nginx, to publish the IP addresses of Pods in the StatefulSet, web.application/web/web.yaml apiVersion: v1 kind: Service metadata: name: nginx labels: app: nginx spec: ports: - port: 80 name: web clusterIP: None selector: app: nginx --- apiVersion: apps/v1 kind: StatefulSet metadata: name: web spec: serviceName: \"nginx\" replicas: 2 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: nginx image: registry.k8s.io/nginx-slim:0.21 ports: - containerPort: 80 name: web volumeMounts: - name: www mountPath: /usr/share/nginx/html volumeClaimTemplates:",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_qa_10458"
  },
  {
    "question": "What are the benefits of StatefulSet Basics?",
    "answer": "StatefulSet BasicsThis tutorial provides an introduction to managing applications with StatefulSets. It demonstrates how to create, delete, scale, and update the Pods of StatefulSets.Before you beginBefore you begin this tutorial, you should familiarize yourself with the following Kubernetes concepts:PodsCluster DNSHeadless ServicesPersistentVolumesPersistentVolume ProvisioningThe kubectl command line toolYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou should configure kubectl to use a context that uses the default namespace. If you are using an existing cluster, make sure that it's OK to use that cluster's default namespace to practice. Ideally, practice in a cluster that doesn't run any real workloads.It's also useful to read the concept page about StatefulSets.Note:This tutorial assumes that your cluster is configured to dynamically provision PersistentVolumes. You'll also need to have a default StorageClass. If your cluster is not configured to provision storage dynamically, you will have to manually provision two 1 GiB volumes prior to starting this tutorial and set up your cluster so that those PersistentVolumes map to the PersistentVolumeClaim templates that the StatefulSet defines.ObjectivesStatefulSets are intended to be used with stateful applications and distributed systems. However, the administration of stateful applications and distributed systems on Kubernetes is a broad, complex topic. In order to demonstrate the basic features of a StatefulSet, and not to conflate the former topic with the latter, you will deploy a simple web application using a StatefulSet.After this tutorial, you will be familiar with the following.How to create a StatefulSetHow a StatefulSet manages its PodsHow to delete a StatefulSetHow to scale a StatefulSetHow to update a StatefulSet's PodsCreating a StatefulSetBegin by creating a StatefulSet (and the Service that it relies upon) using the example below. It is similar to the example presented in the StatefulSets concept. It creates a headless Service, nginx, to publish the IP addresses of Pods in the StatefulSet, web.application/web/web.yaml apiVersion: v1 kind: Service metadata: name: nginx labels: app: nginx spec: ports: - port: 80 name: web clusterIP: None selector: app: nginx --- apiVersion: apps/v1 kind: StatefulSet metadata: name: web spec: serviceName: \"nginx\" replicas: 2 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: nginx image: registry.k8s.io/nginx-slim:0.21 ports: - containerPort: 80 name: web volumeMounts: - name: www mountPath: /usr/share/nginx/html volumeClaimTemplates:",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_qa_10459"
  },
  {
    "question": "What is StatefulSet Basics?",
    "answer": "T h i s   t u t o r i a l   p r o v i d e s   a n   i n t r o d u c t i o n   t o   m a n a g i n g   a p p l i c a t i o n s   w i t h   S t a t e f u l S e t s .   I t   d e m o n s t r a t e s   h o w   t o   c r e a t e ,   d e l e t e ,   s c a l e ,   a n d   u p d a t e   t h e   P o d s   o f   S t a t e f u l S e t s .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_1_10460"
  },
  {
    "question": "What is Before you begin?",
    "answer": "B e f o r e   y o u   b e g i n   t h i s   t u t o r i a l ,   y o u   s h o u l d   f a m i l i a r i z e   y o u r s e l f   w i t h   t h e   f o l l o w i n g   K u b e r n e t e s   c o n c e p t s :   P o d s C l u s t e r   D N S H e a d l e s s   S e r v i c e s P e r s i s t e n t V o l u m e s P e r s i s t e n t V o l u m e   P r o v i s i o n i n g T h e   k u b e c t l   c o m m a n d   l i n e   t o o l   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   s h o u l d   c o n f i g u r e   k u b e c t l   t o   u s e   a   c o n t e x t   t h a t   u s e s   t h e   d e f a u l t   n a m e s p a c e .   I f   y o u   a r e   u s i n g   a n   e x i s t i n g   c l u s t e r ,   m a k e   s u r e   t h a t   i t ' s   O K   t o   u s e   t h a t   c l u s t e r ' s   d e f a u l t   n a m e s p a c e   t o   p r a c t i c e .   I d e a l l y ,   p r a c t i c e   i n   a   c l u s t e r   t h a t   d o e s n ' t   r u n   a n y   r e a l   w o r k l o a d s .   I t ' s   a l s o   u s e f u l   t o   r e a d   t h e   c o n c e p t   p a g e   a b o u t   S t a t e f u l S e t s .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_2_10461"
  },
  {
    "question": "What is Objectives?",
    "answer": "S t a t e f u l S e t s   a r e   i n t e n d e d   t o   b e   u s e d   w i t h   s t a t e f u l   a p p l i c a t i o n s   a n d   d i s t r i b u t e d   s y s t e m s .   H o w e v e r ,   t h e   a d m i n i s t r a t i o n   o f   s t a t e f u l   a p p l i c a t i o n s   a n d   d i s t r i b u t e d   s y s t e m s   o n   K u b e r n e t e s   i s   a   b r o a d ,   c o m p l e x   t o p i c .   I n   o r d e r   t o   d e m o n s t r a t e   t h e   b a s i c   f e a t u r e s   o f   a   S t a t e f u l S e t ,   a n d   n o t   t o   c o n f l a t e   t h e   f o r m e r   t o p i c   w i t h   t h e   l a t t e r ,   y o u   w i l l   d e p l o y   a   s i m p l e   w e b   a p p l i c a t i o n   u s i n g   a   S t a t e f u l S e t .   A f t e r   t h i s   t u t o r i a l ,   y o u   w i l l   b e   f a m i l i a r   w i t h   t h e   f o l l o w i n g .   H o w   t o   c r e a t e   a   S t a t e f u l S e t H o w   a   S t a t e f u l S e t   m a n a g e s   i t s   P o d s H o w   t o   d e l e t e   a   S t a t e f u l S e t H o w   t o   s c a l e   a   S t a t e f u l S e t H o w   t o   u p d a t e   a   S t a t e f u l S e t ' s   P o d s",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_2_10462"
  },
  {
    "question": "What is Creating a StatefulSet?",
    "answer": "B e g i n   b y   c r e a t i n g   a   S t a t e f u l S e t   ( a n d   t h e   S e r v i c e   t h a t   i t   r e l i e s   u p o n )   u s i n g   t h e   e x a m p l e   b e l o w .   I t   i s   s i m i l a r   t o   t h e   e x a m p l e   p r e s e n t e d   i n   t h e   S t a t e f u l S e t s   c o n c e p t .   I t   c r e a t e s   a   h e a d l e s s   S e r v i c e ,   n g i n x ,   t o   p u b l i s h   t h e   I P   a d d r e s s e s   o f   P o d s   i n   t h e   S t a t e f u l S e t ,   w e b .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   n g i n x   l a b e l s :   a p p :   n g i n x   s p e c :   p o r t s :   -   p o r t :   8 0   n a m e :   w e b   c l u s t e r I P :   N o n e   s e l e c t o r :   a p p :   n g i n x   - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a :   n a m e :   w e b   s p e c :   s e r v i c e N a m e :   \" n g i n x \"   r e p l i c a s :   2   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   r e g i s t r y . k 8 s . i o / n g i n x - s l i m : 0 . 2 1   p o r t s :   -   c o n t a i n e r P o r t :   8 0   n a m e :   w e b   v o l u m e M o u n t s :   -   n a m e :   w w w   m o u n t P a t h :   / u s r / s h a r e / n g i n x / h t m l   v o l u m e C l a i m T e m p l a t e s :   -   m e t a d a t a :   n a m e :   w w w   s p e c :   a c c e s s M o d e s :   [   \" R e a d W r i t e O n c e \"   ]   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   1 G i   Y o u   w i l l   n e e d   t o   u s e   a t   l e a s t   t w o   t e r m i n a l   w i n d o w s .   I n   t h e   f i r s t   t e r m i n a l ,   u s e   k u b e c t l   g e t   t o   w a t c h   t h e   c r e a t i o n   o f   t h e   S t a t e f u l S e t ' s   P o d s . ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_2_10463"
  },
  {
    "question": "What is Ordered Pod creation?",
    "answer": "A   S t a t e f u l S e t   d e f a u l t s   t o   c r e a t i n g   i t s   P o d s   i n   a   s t r i c t   o r d e r .   F o r   a   S t a t e f u l S e t   w i t h   n   r e p l i c a s ,   w h e n   P o d s   a r e   b e i n g   d e p l o y e d ,   t h e y   a r e   c r e a t e d   s e q u e n t i a l l y ,   o r d e r e d   f r o m   { 0 . . n - 1 } .   E x a m i n e   t h e   o u t p u t   o f   t h e   k u b e c t l   g e t   c o m m a n d   i n   t h e   f i r s t   t e r m i n a l .   E v e n t u a l l y ,   t h e   o u t p u t   w i l l   l o o k   l i k e   t h e   e x a m p l e   b e l o w .   #   D o   n o t   s t a r t   a   n e w   w a t c h ;   #   t h i s   s h o u l d   a l r e a d y   b e   r u n n i n g   k u b e c t l   g e t   p o d s   - - w a t c h   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   0 / 1   P e n d i n g   0   0 s   w e b - 0   0 / 1   P e n d i n g   0   0 s   w e b - 0   0 / 1   C o n t a i n e r C r e a t i n g   0   0 s   w e b - 0   1 / 1   R u n n i n g   0   1 9 s   w e b - 1   0 / 1   P e n d i n g   0   0 s   w e b - 1   0 / 1   P e n d i n g   0   0 s   w e b - 1   0 / 1   C o n t a i n e r C r e a t i n g   0   0 s   w e b - 1   1 / 1   R u n n i n g   0   1 8 s   N o t i c e   t h a t   t h e   w e b - 1   P o d   i s   n o t   l a u n c h e d   u n t i l   t h e   w e b - 0   P o d   i s   R u n n i n g   ( s e e   P o d   P h a s e )   a n d   R e a d y   ( s e e   t y p e   i n   P o d   C o n d i t i o n s ) .   L a t e r   i n   t h i s   t u t o r i a l   y o u   w i l l   p r a c t i c e   p a r a l l e l   s t a r t u p .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_3_10464"
  },
  {
    "question": "What is Pods in a StatefulSet?",
    "answer": "P o d s   i n   a   S t a t e f u l S e t   h a v e   a   u n i q u e   o r d i n a l   i n d e x   a n d   a   s t a b l e   n e t w o r k   i d e n t i t y .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_2_10465"
  },
  {
    "question": "What is Examining the Pod's ordinal index?",
    "answer": "G e t   t h e   S t a t e f u l S e t ' s   P o d s :   k u b e c t l   g e t   p o d s   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   1 m   w e b - 1   1 / 1   R u n n i n g   0   1 m   A s   m e n t i o n e d   i n   t h e   S t a t e f u l S e t s   c o n c e p t ,   t h e   P o d s   i n   a   S t a t e f u l S e t   h a v e   a   s t i c k y ,   u n i q u e   i d e n t i t y .   T h i s   i d e n t i t y   i s   b a s e d   o n   a   u n i q u e   o r d i n a l   i n d e x   t h a t   i s   a s s i g n e d   t o   e a c h   P o d   b y   t h e   S t a t e f u l S e t   c o n t r o l l e r . T h e   P o d s '   n a m e s   t a k e   t h e   f o r m   < s t a t e f u l s e t   n a m e > - < o r d i n a l   i n d e x > .   S i n c e   t h e   w e b   S t a t e f u l S e t   h a s   t w o   r e p l i c a s ,   i t   c r e a t e s   t w o   P o d s ,   w e b - 0   a n d   w e b - 1 .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_3_10466"
  },
  {
    "question": "What is Using stable network identities?",
    "answer": "E a c h   P o d   h a s   a   s t a b l e   h o s t n a m e   b a s e d   o n   i t s   o r d i n a l   i n d e x .   U s e   k u b e c t l   e x e c   t o   e x e c u t e   t h e   h o s t n a m e   c o m m a n d   i n   e a c h   P o d :   f o r   i   i n   0   1 ;   d o   k u b e c t l   e x e c   \" w e b - $ i \"   - -   s h   - c   ' h o s t n a m e ' ;   d o n e   w e b - 0   w e b - 1   U s e   k u b e c t l   r u n   t o   e x e c u t e   a   c o n t a i n e r   t h a t   p r o v i d e s   t h e   n s l o o k u p   c o m m a n d   f r o m   t h e   d n s u t i l s   p a c k a g e .   U s i n g   n s l o o k u p   o n   t h e   P o d s '   h o s t n a m e s ,   y o u   c a n   e x a m i n e   t h e i r   i n - c l u s t e r   D N S   a d d r e s s e s :   k u b e c t l   r u n   - i   - - t t y   - - i m a g e   b u s y b o x : 1 . 2 8   d n s - t e s t   - - r e s t a r t = N e v e r   - - r m   w h i c h   s t a r t s   a   n e w   s h e l l .   I n   t h a t   n e w   s h e l l ,   r u n :   #   R u n   t h i s   i n   t h e   d n s - t e s t   c o n t a i n e r   s h e l l   n s l o o k u p   w e b - 0 . n g i n x   T h e   o u t p u t   i s   s i m i l a r   t o :   S e r v e r :   1 0 . 0 . 0 . 1 0   A d d r e s s   1 :   1 0 . 0 . 0 . 1 0   k u b e - d n s . k u b e - s y s t e m . s v c . c l u s t e r . l o c a l   N a m e :   w e b - 0 . n g i n x   A d d r e s s   1 :   1 0 . 2 4 4 . 1 . 6   n s l o o k u p   w e b - 1 . n g i n x   S e r v e r :   1 0 . 0 . 0 . 1 0   A d d r e s s   1 :   1 0 . 0 . 0 . 1 0   k u b e - d n s . k u b e - s y s t e m . s v c . c l u s t e r . l o c a l   N a m e :   w e b - 1 . n g i n x   A d d r e s s   1 :   1 0 . 2 4 4 . 2 . 6   ( a n d   n o w   e x i t   t h e   c o n t a i n e r   s h e l l :   e x i t )   T h e   C N A M E   o f   t h e   h e a d l e s s   s e r v i c e   p o i n t s   t o   S R V   r e c o r d s   ( o n e   f o r   e a c h   P o d   t h a t   i s   R u n n i n g   a n d   R e a d y ) .   T h ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_3_10467"
  },
  {
    "question": "What is Discovery for specific Pods in a StatefulSet?",
    "answer": "I f   y o u   n e e d   t o   f i n d   a n d   c o n n e c t   t o   t h e   a c t i v e   m e m b e r s   o f   a   S t a t e f u l S e t ,   y o u   s h o u l d   q u e r y   t h e   C N A M E   o f   t h e   h e a d l e s s   S e r v i c e   ( n g i n x . d e f a u l t . s v c . c l u s t e r . l o c a l ) .   T h e   S R V   r e c o r d s   a s s o c i a t e d   w i t h   t h e   C N A M E   w i l l   c o n t a i n   o n l y   t h e   P o d s   i n   t h e   S t a t e f u l S e t   t h a t   a r e   R u n n i n g   a n d   R e a d y .   I f   y o u r   a p p l i c a t i o n   a l r e a d y   i m p l e m e n t s   c o n n e c t i o n   l o g i c   t h a t   t e s t s   f o r   l i v e n e s s   a n d   r e a d i n e s s ,   y o u   c a n   u s e   t h e   S R V   r e c o r d s   o f   t h e   P o d s   (   w e b - 0 . n g i n x . d e f a u l t . s v c . c l u s t e r . l o c a l ,   w e b - 1 . n g i n x . d e f a u l t . s v c . c l u s t e r . l o c a l ) ,   a s   t h e y   a r e   s t a b l e ,   a n d   y o u r   a p p l i c a t i o n   w i l l   b e   a b l e   t o   d i s c o v e r   t h e   P o d s '   a d d r e s s e s   w h e n   t h e y   t r a n s i t i o n   t o   R u n n i n g   a n d   R e a d y .   I f   y o u r   a p p l i c a t i o n   w a n t s   t o   f i n d   a n y   h e a l t h y   P o d   i n   a   S t a t e f u l S e t ,   a n d   t h e r e f o r e   d o e s   n o t   n e e d   t o   t r a c k   e a c h   s p e c i f i c   P o d ,   y o u   c o u l d   a l s o   c o n n e c t   t o   t h e   I P   a d d r e s s   o f   a   t y p e :   C l u s t e r I P   S e r v i c e ,   b a c k e d   b y   t h e   P o d s   i n   t h a t   S t a t e f u l S e t .   Y o u   c a n   u s e   t h e   s a m e   S e r v i c e   t h a t   t r a c k s   t h e   S t a t e f u l S e t   ( s p e c i f i e d   i n   t h e   s e r v i c e N a m e   o f   t h e   S t a t e f u l S e t )   o r   a   s e p a r a t e   S e r v i c e   t h a t   s e l e c t s   t h e   ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_4_10468"
  },
  {
    "question": "What is Writing to stable storage?",
    "answer": "G e t   t h e   P e r s i s t e n t V o l u m e C l a i m s   f o r   w e b - 0   a n d   w e b - 1 :   k u b e c t l   g e t   p v c   - l   a p p = n g i n x   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   S T A T U S   V O L U M E   C A P A C I T Y   A C C E S S M O D E S   A G E   w w w - w e b - 0   B o u n d   p v c - 1 5 c 2 6 8 c 7 - b 5 0 7 - 1 1 e 6 - 9 3 2 f - 4 2 0 1 0 a 8 0 0 0 0 2   1 G i   R W O   4 8 s   w w w - w e b - 1   B o u n d   p v c - 1 5 c 7 9 3 0 7 - b 5 0 7 - 1 1 e 6 - 9 3 2 f - 4 2 0 1 0 a 8 0 0 0 0 2   1 G i   R W O   4 8 s   T h e   S t a t e f u l S e t   c o n t r o l l e r   c r e a t e d   t w o   P e r s i s t e n t V o l u m e C l a i m s   t h a t   a r e   b o u n d   t o   t w o   P e r s i s t e n t V o l u m e s .   A s   t h e   c l u s t e r   u s e d   i n   t h i s   t u t o r i a l   i s   c o n f i g u r e d   t o   d y n a m i c a l l y   p r o v i s i o n   P e r s i s t e n t V o l u m e s ,   t h e   P e r s i s t e n t V o l u m e s   w e r e   c r e a t e d   a n d   b o u n d   a u t o m a t i c a l l y .   T h e   N G I N X   w e b s e r v e r ,   b y   d e f a u l t ,   s e r v e s   a n   i n d e x   f i l e   f r o m   / u s r / s h a r e / n g i n x / h t m l / i n d e x . h t m l .   T h e   v o l u m e M o u n t s   f i e l d   i n   t h e   S t a t e f u l S e t ' s   s p e c   e n s u r e s   t h a t   t h e   / u s r / s h a r e / n g i n x / h t m l   d i r e c t o r y   i s   b a c k e d   b y   a   P e r s i s t e n t V o l u m e .   W r i t e   t h e   P o d s '   h o s t n a m e s   t o   t h e i r   i n d e x . h t m l   f i l e s   a n d   v e r i f y   t h a t   t h e   N G I N X   w e b s e r v e r s   s e r v e   t h e   h o s t n a m e s :   f o r   i   i n   0   1 ;   d o   k u b e c t l   e x e c   \" w e b - $ i \"   - -   s h   - c   ' e c h o   \" $ ( h o s t n a m e ) \"   >   / u s r / s h a r e / n g i n x / h t m l / i n d e x . h t m l ' ;   d o n e   f o r   i   i n   ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_3_10469"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   i n s t e a d   s e e   4 0 3   F o r b i d d e n   r e s p o n s e s   f o r   t h e   a b o v e   c u r l   c o m m a n d ,   y o u   w i l l   n e e d   t o   f i x   t h e   p e r m i s s i o n s   o f   t h e   d i r e c t o r y   m o u n t e d   b y   t h e   v o l u m e M o u n t s   ( d u e   t o   a   b u g   w h e n   u s i n g   h o s t P a t h   v o l u m e s ) ,   b y   r u n n i n g :   f o r   i   i n   0   1 ;   d o   k u b e c t l   e x e c   w e b - $ i   - -   c h m o d   7 5 5   / u s r / s h a r e / n g i n x / h t m l ;   d o n e   b e f o r e   r e t r y i n g   t h e   c u r l   c o m m a n d   a b o v e .   I n   o n e   t e r m i n a l ,   w a t c h   t h e   S t a t e f u l S e t ' s   P o d s :   #   E n d   t h i s   w a t c h   w h e n   y o u ' v e   r e a c h e d   t h e   e n d   o f   t h e   s e c t i o n .   #   A t   t h e   s t a r t   o f   \" S c a l i n g   a   S t a t e f u l S e t \"   y o u ' l l   s t a r t   a   n e w   w a t c h .   k u b e c t l   g e t   p o d   - - w a t c h   - l   a p p = n g i n x   I n   a   s e c o n d   t e r m i n a l ,   d e l e t e   a l l   o f   t h e   S t a t e f u l S e t ' s   P o d s :   k u b e c t l   d e l e t e   p o d   - l   a p p = n g i n x   p o d   \" w e b - 0 \"   d e l e t e d   p o d   \" w e b - 1 \"   d e l e t e d   E x a m i n e   t h e   o u t p u t   o f   t h e   k u b e c t l   g e t   c o m m a n d   i n   t h e   f i r s t   t e r m i n a l ,   a n d   w a i t   f o r   a l l   o f   t h e   P o d s   t o   t r a n s i t i o n   t o   R u n n i n g   a n d   R e a d y .   #   T h i s   s h o u l d   a l r e a d y   b e   r u n n i n g   k u b e c t l   g e t   p o d   - - w a t c h   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   0 / 1   C o n t a i n e r C r e a t i n g   0   0 s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   2 s   w e b - 1   ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_4_10470"
  },
  {
    "question": "What is Scaling a StatefulSet?",
    "answer": "S c a l i n g   a   S t a t e f u l S e t   r e f e r s   t o   i n c r e a s i n g   o r   d e c r e a s i n g   t h e   n u m b e r   o f   r e p l i c a s   ( h o r i z o n t a l   s c a l i n g ) .   T h i s   i s   a c c o m p l i s h e d   b y   u p d a t i n g   t h e   r e p l i c a s   f i e l d .   Y o u   c a n   u s e   e i t h e r   k u b e c t l   s c a l e   o r   k u b e c t l   p a t c h   t o   s c a l e   a   S t a t e f u l S e t .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_2_10471"
  },
  {
    "question": "What is Scaling up?",
    "answer": "S c a l i n g   u p   m e a n s   a d d i n g   m o r e   r e p l i c a s .   P r o v i d e d   t h a t   y o u r   a p p   i s   a b l e   t o   d i s t r i b u t e   w o r k   a c r o s s   t h e   S t a t e f u l S e t ,   t h e   n e w   l a r g e r   s e t   o f   P o d s   c a n   p e r f o r m   m o r e   o f   t h a t   w o r k .   I n   o n e   t e r m i n a l   w i n d o w ,   w a t c h   t h e   P o d s   i n   t h e   S t a t e f u l S e t :   #   I f   y o u   a l r e a d y   h a v e   a   w a t c h   r u n n i n g ,   y o u   c a n   c o n t i n u e   u s i n g   t h a t .   #   O t h e r w i s e ,   s t a r t   o n e .   #   E n d   t h i s   w a t c h   w h e n   t h e r e   a r e   5   h e a l t h y   P o d s   f o r   t h e   S t a t e f u l S e t   k u b e c t l   g e t   p o d s   - - w a t c h   - l   a p p = n g i n x   I n   a n o t h e r   t e r m i n a l   w i n d o w ,   u s e   k u b e c t l   s c a l e   t o   s c a l e   t h e   n u m b e r   o f   r e p l i c a s   t o   5 :   k u b e c t l   s c a l e   s t s   w e b   - - r e p l i c a s = 5   s t a t e f u l s e t . a p p s / w e b   s c a l e d   E x a m i n e   t h e   o u t p u t   o f   t h e   k u b e c t l   g e t   c o m m a n d   i n   t h e   f i r s t   t e r m i n a l ,   a n d   w a i t   f o r   t h e   t h r e e   a d d i t i o n a l   P o d s   t o   t r a n s i t i o n   t o   R u n n i n g   a n d   R e a d y .   #   T h i s   s h o u l d   a l r e a d y   b e   r u n n i n g   k u b e c t l   g e t   p o d   - - w a t c h   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   2 h   w e b - 1   1 / 1   R u n n i n g   0   2 h   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 2   0 / 1   P e n d i n g   0   0 s   w e b - 2   0 / 1   P e n d i n g   0   0 s   w e b - 2   0 / 1   C o n t a i n e r C r e a t i n g   0   0 s   w e b - 2   1 / 1   R u n n i n g   0   1 9 s   w ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_3_10472"
  },
  {
    "question": "What is Scaling down?",
    "answer": "S c a l i n g   d o w n   m e a n s   r e d u c i n g   t h e   n u m b e r   o f   r e p l i c a s .   F o r   e x a m p l e ,   y o u   m i g h t   d o   t h i s   b e c a u s e   t h e   l e v e l   o f   t r a f f i c   t o   a   s e r v i c e   h a s   d e c r e a s e d ,   a n d   a t   t h e   c u r r e n t   s c a l e   t h e r e   a r e   i d l e   r e s o u r c e s .   I n   o n e   t e r m i n a l ,   w a t c h   t h e   S t a t e f u l S e t ' s   P o d s :   #   E n d   t h i s   w a t c h   w h e n   t h e r e   a r e   o n l y   3   P o d s   f o r   t h e   S t a t e f u l S e t   k u b e c t l   g e t   p o d   - - w a t c h   - l   a p p = n g i n x   I n   a n o t h e r   t e r m i n a l ,   u s e   k u b e c t l   p a t c h   t o   s c a l e   t h e   S t a t e f u l S e t   b a c k   d o w n   t o   t h r e e   r e p l i c a s :   k u b e c t l   p a t c h   s t s   w e b   - p   ' { \" s p e c \" : { \" r e p l i c a s \" : 3 } } '   s t a t e f u l s e t . a p p s / w e b   p a t c h e d   W a i t   f o r   w e b - 4   a n d   w e b - 3   t o   t r a n s i t i o n   t o   T e r m i n a t i n g .   #   T h i s   s h o u l d   a l r e a d y   b e   r u n n i n g   k u b e c t l   g e t   p o d s   - - w a t c h   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   3 h   w e b - 1   1 / 1   R u n n i n g   0   3 h   w e b - 2   1 / 1   R u n n i n g   0   5 5 s   w e b - 3   1 / 1   R u n n i n g   0   3 6 s   w e b - 4   0 / 1   C o n t a i n e r C r e a t i n g   0   1 8 s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 4   1 / 1   R u n n i n g   0   1 9 s   w e b - 4   1 / 1   T e r m i n a t i n g   0   2 4 s   w e b - 4   1 / 1   T e r m i n a t i n g   0   2 4 s   w e b - 3   1 / 1   T e r m i n a t i n g   0   4 2 s   w e b - 3   1 / 1   T e r m i n a t i n g   0   4 2 s",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_3_10473"
  },
  {
    "question": "What is Ordered Pod termination?",
    "answer": "T h e   c o n t r o l   p l a n e   d e l e t e d   o n e   P o d   a t   a   t i m e ,   i n   r e v e r s e   o r d e r   w i t h   r e s p e c t   t o   i t s   o r d i n a l   i n d e x ,   a n d   i t   w a i t e d   f o r   e a c h   P o d   t o   b e   c o m p l e t e l y   s h u t   d o w n   b e f o r e   d e l e t i n g   t h e   n e x t   o n e .   G e t   t h e   S t a t e f u l S e t ' s   P e r s i s t e n t V o l u m e C l a i m s :   k u b e c t l   g e t   p v c   - l   a p p = n g i n x   N A M E   S T A T U S   V O L U M E   C A P A C I T Y   A C C E S S M O D E S   A G E   w w w - w e b - 0   B o u n d   p v c - 1 5 c 2 6 8 c 7 - b 5 0 7 - 1 1 e 6 - 9 3 2 f - 4 2 0 1 0 a 8 0 0 0 0 2   1 G i   R W O   1 3 h   w w w - w e b - 1   B o u n d   p v c - 1 5 c 7 9 3 0 7 - b 5 0 7 - 1 1 e 6 - 9 3 2 f - 4 2 0 1 0 a 8 0 0 0 0 2   1 G i   R W O   1 3 h   w w w - w e b - 2   B o u n d   p v c - e 1 1 2 5 b 2 7 - b 5 0 8 - 1 1 e 6 - 9 3 2 f - 4 2 0 1 0 a 8 0 0 0 0 2   1 G i   R W O   1 3 h   w w w - w e b - 3   B o u n d   p v c - e 1 1 7 6 d f 6 - b 5 0 8 - 1 1 e 6 - 9 3 2 f - 4 2 0 1 0 a 8 0 0 0 0 2   1 G i   R W O   1 3 h   w w w - w e b - 4   B o u n d   p v c - e 1 1 b b 5 f 8 - b 5 0 8 - 1 1 e 6 - 9 3 2 f - 4 2 0 1 0 a 8 0 0 0 0 2   1 G i   R W O   1 3 h   T h e r e   a r e   s t i l l   f i v e   P e r s i s t e n t V o l u m e C l a i m s   a n d   f i v e   P e r s i s t e n t V o l u m e s .   W h e n   e x p l o r i n g   a   P o d ' s   s t a b l e   s t o r a g e ,   y o u   s a w   t h a t   t h e   P e r s i s t e n t V o l u m e s   m o u n t e d   t o   t h e   P o d s   o f   a   S t a t e f u l S e t   a r e   n o t   d e l e t e d   w h e n   t h e   S t a t e f u l S e t ' s   P o d s   a r e   d e l e t e d .   T h i s   i s   s t i l l   t r u e   w h e n   P o d   d e l e t i o n   i s   c a u s e d   b y   s c a l i n g   t h e   S t a t e f u l S e t   d o w n .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_3_10474"
  },
  {
    "question": "What is Updating StatefulSets?",
    "answer": "T h e   S t a t e f u l S e t   c o n t r o l l e r   s u p p o r t s   a u t o m a t e d   u p d a t e s .   T h e   s t r a t e g y   u s e d   i s   d e t e r m i n e d   b y   t h e   s p e c . u p d a t e S t r a t e g y   f i e l d   o f   t h e   S t a t e f u l S e t   A P I   o b j e c t .   T h i s   f e a t u r e   c a n   b e   u s e d   t o   u p g r a d e   t h e   c o n t a i n e r   i m a g e s ,   r e s o u r c e   r e q u e s t s   a n d / o r   l i m i t s ,   l a b e l s ,   a n d   a n n o t a t i o n s   o f   t h e   P o d s   i n   a   S t a t e f u l S e t .   T h e r e   a r e   t w o   v a l i d   u p d a t e   s t r a t e g i e s ,   R o l l i n g U p d a t e   ( t h e   d e f a u l t )   a n d   O n D e l e t e .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_2_10475"
  },
  {
    "question": "What is RollingUpdate?",
    "answer": "T h e   R o l l i n g U p d a t e   u p d a t e   s t r a t e g y   w i l l   u p d a t e   a l l   P o d s   i n   a   S t a t e f u l S e t ,   i n   r e v e r s e   o r d i n a l   o r d e r ,   w h i l e   r e s p e c t i n g   t h e   S t a t e f u l S e t   g u a r a n t e e s .   Y o u   c a n   s p l i t   u p d a t e s   t o   a   S t a t e f u l S e t   t h a t   u s e s   t h e   R o l l i n g U p d a t e   s t r a t e g y   i n t o   p a r t i t i o n s ,   b y   s p e c i f y i n g   . s p e c . u p d a t e S t r a t e g y . r o l l i n g U p d a t e . p a r t i t i o n .   Y o u ' l l   p r a c t i c e   t h a t   l a t e r   i n   t h i s   t u t o r i a l .   F i r s t ,   t r y   a   s i m p l e   r o l l i n g   u p d a t e .   I n   o n e   t e r m i n a l   w i n d o w ,   p a t c h   t h e   w e b   S t a t e f u l S e t   t o   c h a n g e   t h e   c o n t a i n e r   i m a g e   a g a i n :   k u b e c t l   p a t c h   s t a t e f u l s e t   w e b   - - t y p e = ' j s o n '   - p = ' [ { \" o p \" :   \" r e p l a c e \" ,   \" p a t h \" :   \" / s p e c / t e m p l a t e / s p e c / c o n t a i n e r s / 0 / i m a g e \" ,   \" v a l u e \" : \" r e g i s t r y . k 8 s . i o / n g i n x - s l i m : 0 . 2 4 \" } ] '   s t a t e f u l s e t . a p p s / w e b   p a t c h e d   I n   a n o t h e r   t e r m i n a l ,   w a t c h   t h e   P o d s   i n   t h e   S t a t e f u l S e t :   #   E n d   t h i s   w a t c h   w h e n   t h e   r o l l o u t   i s   c o m p l e t e   #   #   I f   y o u ' r e   n o t   s u r e ,   l e a v e   i t   r u n n i n g   o n e   m o r e   m i n u t e   k u b e c t l   g e t   p o d   - l   a p p = n g i n x   - - w a t c h   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   7 m   w e b - 1   1 / 1   R u n n i n g   0   7 m   w e b - 2   1 / 1   R u n n i n g   0   8 m   w e b - 2   1 / 1   T e r m i n a t i n g   ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_3_10476"
  },
  {
    "question": "What is Staging an update?",
    "answer": "Y o u   c a n   s p l i t   u p d a t e s   t o   a   S t a t e f u l S e t   t h a t   u s e s   t h e   R o l l i n g U p d a t e   s t r a t e g y   i n t o   p a r t i t i o n s ,   b y   s p e c i f y i n g   . s p e c . u p d a t e S t r a t e g y . r o l l i n g U p d a t e . p a r t i t i o n .   F o r   m o r e   c o n t e x t ,   y o u   c a n   r e a d   P a r t i t i o n e d   r o l l i n g   u p d a t e s   i n   t h e   S t a t e f u l S e t   c o n c e p t   p a g e .   Y o u   c a n   s t a g e   a n   u p d a t e   t o   a   S t a t e f u l S e t   b y   u s i n g   t h e   p a r t i t i o n   f i e l d   w i t h i n   . s p e c . u p d a t e S t r a t e g y . r o l l i n g U p d a t e .   F o r   t h i s   u p d a t e ,   y o u   w i l l   k e e p   t h e   e x i s t i n g   P o d s   i n   t h e   S t a t e f u l S e t   u n c h a n g e d   w h i l s t   y o u   c h a n g e   t h e   p o d   t e m p l a t e   f o r   t h e   S t a t e f u l S e t .   T h e n   y o u   -   o r ,   o u t s i d e   o f   a   t u t o r i a l ,   s o m e   e x t e r n a l   a u t o m a t i o n   -   c a n   t r i g g e r   t h a t   p r e p a r e d   u p d a t e .   F i r s t ,   p a t c h   t h e   w e b   S t a t e f u l S e t   t o   a d d   a   p a r t i t i o n   t o   t h e   u p d a t e S t r a t e g y   f i e l d :   #   T h e   v a l u e   o f   \" p a r t i t i o n \"   d e t e r m i n e s   w h i c h   o r d i n a l s   a   c h a n g e   a p p l i e s   t o   #   M a k e   s u r e   t o   u s e   a   n u m b e r   b i g g e r   t h a n   t h e   l a s t   o r d i n a l   f o r   t h e   #   S t a t e f u l S e t   k u b e c t l   p a t c h   s t a t e f u l s e t   w e b   - p   ' { \" s p e c \" : { \" u p d a t e S t r a t e g y \" : { \" t y p e \" : \" R o l l i n g U p d a t e \" , \" r o l l i n g U p d a t e \" : { \" p a r t i t i o n \" : 3 } } } } '   s t a t e f u l s e t . a p p s / w e b   p a t c h e d   P a t c h   t h e   S t a t e f u l S e t   a g a i n ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_4_10477"
  },
  {
    "question": "What is Rolling out a canary?",
    "answer": "Y o u ' r e   n o w   g o i n g   t o   t r y   a   c a n a r y   r o l l o u t   o f   t h a t   s t a g e d   c h a n g e .   Y o u   c a n   r o l l   o u t   a   c a n a r y   ( t o   t e s t   t h e   m o d i f i e d   t e m p l a t e )   b y   d e c r e m e n t i n g   t h e   p a r t i t i o n   y o u   s p e c i f i e d   a b o v e .   P a t c h   t h e   S t a t e f u l S e t   t o   d e c r e m e n t   t h e   p a r t i t i o n :   #   T h e   v a l u e   o f   \" p a r t i t i o n \"   s h o u l d   m a t c h   t h e   h i g h e s t   e x i s t i n g   o r d i n a l   f o r   #   t h e   S t a t e f u l S e t   k u b e c t l   p a t c h   s t a t e f u l s e t   w e b   - p   ' { \" s p e c \" : { \" u p d a t e S t r a t e g y \" : { \" t y p e \" : \" R o l l i n g U p d a t e \" , \" r o l l i n g U p d a t e \" : { \" p a r t i t i o n \" : 2 } } } } '   s t a t e f u l s e t . a p p s / w e b   p a t c h e d   T h e   c o n t r o l   p l a n e   t r i g g e r s   r e p l a c e m e n t   f o r   w e b - 2   ( i m p l e m e n t e d   b y   a   g r a c e f u l   d e l e t e   f o l l o w e d   b y   c r e a t i n g   a   n e w   P o d   o n c e   t h e   d e l e t i o n   i s   c o m p l e t e ) .   W a i t   f o r   t h e   n e w   w e b - 2   P o d   t o   b e   R u n n i n g   a n d   R e a d y .   #   T h i s   s h o u l d   a l r e a d y   b e   r u n n i n g   k u b e c t l   g e t   p o d   - l   a p p = n g i n x   - - w a t c h   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   4 m   w e b - 1   1 / 1   R u n n i n g   0   4 m   w e b - 2   0 / 1   C o n t a i n e r C r e a t i n g   0   1 1 s   w e b - 2   1 / 1   R u n n i n g   0   1 8 s   G e t   t h e   P o d ' s   c o n t a i n e r :   k u b e c t l   g e t   p o d   w e b - 2   - - t e m p l a t e   ' { { r a n g e   $ i ,   $ c   : =   . s p e c . c o n t a i n e r s } } { { $ c . i m a g e } } { { e n d } } '   r e g i s t r y . k 8 s . i o / n g ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_4_10478"
  },
  {
    "question": "What is Phased roll outs?",
    "answer": "Y o u   c a n   p e r f o r m   a   p h a s e d   r o l l   o u t   ( e . g .   a   l i n e a r ,   g e o m e t r i c ,   o r   e x p o n e n t i a l   r o l l   o u t )   u s i n g   a   p a r t i t i o n e d   r o l l i n g   u p d a t e   i n   a   s i m i l a r   m a n n e r   t o   h o w   y o u   r o l l e d   o u t   a   c a n a r y .   T o   p e r f o r m   a   p h a s e d   r o l l   o u t ,   s e t   t h e   p a r t i t i o n   t o   t h e   o r d i n a l   a t   w h i c h   y o u   w a n t   t h e   c o n t r o l l e r   t o   p a u s e   t h e   u p d a t e .   T h e   p a r t i t i o n   i s   c u r r e n t l y   s e t   t o   2 .   S e t   t h e   p a r t i t i o n   t o   0 :   k u b e c t l   p a t c h   s t a t e f u l s e t   w e b   - p   ' { \" s p e c \" : { \" u p d a t e S t r a t e g y \" : { \" t y p e \" : \" R o l l i n g U p d a t e \" , \" r o l l i n g U p d a t e \" : { \" p a r t i t i o n \" : 0 } } } } '   s t a t e f u l s e t . a p p s / w e b   p a t c h e d   W a i t   f o r   a l l   o f   t h e   P o d s   i n   t h e   S t a t e f u l S e t   t o   b e c o m e   R u n n i n g   a n d   R e a d y .   #   T h i s   s h o u l d   a l r e a d y   b e   r u n n i n g   k u b e c t l   g e t   p o d   - l   a p p = n g i n x   - - w a t c h   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   3 m   w e b - 1   0 / 1   C o n t a i n e r C r e a t i n g   0   1 1 s   w e b - 2   1 / 1   R u n n i n g   0   2 m   w e b - 1   1 / 1   R u n n i n g   0   1 8 s   w e b - 0   1 / 1   T e r m i n a t i n g   0   3 m   w e b - 0   1 / 1   T e r m i n a t i n g   0   3 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   3 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   3 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   3 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   3 m   w e b - 0   0 / 1   P e n d i n g   0   0 s   w e b - 0   0 / 1   P ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_4_10479"
  },
  {
    "question": "What is OnDelete?",
    "answer": "Y o u   s e l e c t   t h i s   u p d a t e   s t r a t e g y   f o r   a   S t a t e f u l S e t   b y   s e t t i n g   t h e   . s p e c . t e m p l a t e . u p d a t e S t r a t e g y . t y p e   t o   O n D e l e t e .   P a t c h   t h e   w e b   S t a t e f u l S e t   t o   u s e   t h e   O n D e l e t e   u p d a t e   s t r a t e g y :   k u b e c t l   p a t c h   s t a t e f u l s e t   w e b   - p   ' { \" s p e c \" : { \" u p d a t e S t r a t e g y \" : { \" t y p e \" : \" O n D e l e t e \" ,   \" r o l l i n g U p d a t e \" :   n u l l } } } '   s t a t e f u l s e t . a p p s / w e b   p a t c h e d   W h e n   y o u   s e l e c t   t h i s   u p d a t e   s t r a t e g y ,   t h e   S t a t e f u l S e t   c o n t r o l l e r   d o e s   n o t   a u t o m a t i c a l l y   u p d a t e   P o d s   w h e n   a   m o d i f i c a t i o n   i s   m a d e   t o   t h e   S t a t e f u l S e t ' s   . s p e c . t e m p l a t e   f i e l d .   Y o u   n e e d   t o   m a n a g e   t h e   r o l l o u t   y o u r s e l f   -   e i t h e r   m a n u a l l y ,   o r   u s i n g   s e p a r a t e   a u t o m a t i o n .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_3_10480"
  },
  {
    "question": "What is Deleting StatefulSets?",
    "answer": "S t a t e f u l S e t   s u p p o r t s   b o t h   n o n - c a s c a d i n g   a n d   c a s c a d i n g   d e l e t i o n .   I n   a   n o n - c a s c a d i n g   d e l e t e ,   t h e   S t a t e f u l S e t ' s   P o d s   a r e   n o t   d e l e t e d   w h e n   t h e   S t a t e f u l S e t   i s   d e l e t e d .   I n   a   c a s c a d i n g   d e l e t e ,   b o t h   t h e   S t a t e f u l S e t   a n d   i t s   P o d s   a r e   d e l e t e d .   R e a d   U s e   C a s c a d i n g   D e l e t i o n   i n   a   C l u s t e r   t o   l e a r n   a b o u t   c a s c a d i n g   d e l e t i o n   g e n e r a l l y .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_2_10481"
  },
  {
    "question": "What is Non-cascading delete?",
    "answer": "I n   o n e   t e r m i n a l   w i n d o w ,   w a t c h   t h e   P o d s   i n   t h e   S t a t e f u l S e t .   #   E n d   t h i s   w a t c h   w h e n   t h e r e   a r e   n o   P o d s   f o r   t h e   S t a t e f u l S e t   k u b e c t l   g e t   p o d s   - - w a t c h   - l   a p p = n g i n x   U s e   k u b e c t l   d e l e t e   t o   d e l e t e   t h e   S t a t e f u l S e t .   M a k e   s u r e   t o   s u p p l y   t h e   - - c a s c a d e = o r p h a n   p a r a m e t e r   t o   t h e   c o m m a n d .   T h i s   p a r a m e t e r   t e l l s   K u b e r n e t e s   t o   o n l y   d e l e t e   t h e   S t a t e f u l S e t ,   a n d   t o   n o t   d e l e t e   a n y   o f   i t s   P o d s .   k u b e c t l   d e l e t e   s t a t e f u l s e t   w e b   - - c a s c a d e = o r p h a n   s t a t e f u l s e t . a p p s   \" w e b \"   d e l e t e d   G e t   t h e   P o d s ,   t o   e x a m i n e   t h e i r   s t a t u s :   k u b e c t l   g e t   p o d s   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   6 m   w e b - 1   1 / 1   R u n n i n g   0   7 m   w e b - 2   1 / 1   R u n n i n g   0   5 m   E v e n   t h o u g h   w e b   h a s   b e e n   d e l e t e d ,   a l l   o f   t h e   P o d s   a r e   s t i l l   R u n n i n g   a n d   R e a d y .   D e l e t e   w e b - 0 :   k u b e c t l   d e l e t e   p o d   w e b - 0   p o d   \" w e b - 0 \"   d e l e t e d   G e t   t h e   S t a t e f u l S e t ' s   P o d s :   k u b e c t l   g e t   p o d s   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 1   1 / 1   R u n n i n g   0   1 0 m   w e b - 2   1 / 1   R u n n i n g   0   7 m   A s   t h e   w e b   S t a t e f u l S e t   h a s   b e e n   d e l e t e d ,   w e b - 0   h a s   n o t   b e e n   r e l a u n c h e d .   I n   o n e   t e r m i n a l ,   w a t c h   t h e   S t a t e f u l S e ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_3_10482"
  },
  {
    "question": "What is Cascading delete?",
    "answer": "I n   o n e   t e r m i n a l   w i n d o w ,   w a t c h   t h e   P o d s   i n   t h e   S t a t e f u l S e t .   #   L e a v e   t h i s   r u n n i n g   u n t i l   t h e   n e x t   p a g e   s e c t i o n   k u b e c t l   g e t   p o d s   - - w a t c h   - l   a p p = n g i n x   I n   a n o t h e r   t e r m i n a l ,   d e l e t e   t h e   S t a t e f u l S e t   a g a i n .   T h i s   t i m e ,   o m i t   t h e   - - c a s c a d e = o r p h a n   p a r a m e t e r .   k u b e c t l   d e l e t e   s t a t e f u l s e t   w e b   s t a t e f u l s e t . a p p s   \" w e b \"   d e l e t e d   E x a m i n e   t h e   o u t p u t   o f   t h e   k u b e c t l   g e t   c o m m a n d   r u n n i n g   i n   t h e   f i r s t   t e r m i n a l ,   a n d   w a i t   f o r   a l l   o f   t h e   P o d s   t o   t r a n s i t i o n   t o   T e r m i n a t i n g .   #   T h i s   s h o u l d   a l r e a d y   b e   r u n n i n g   k u b e c t l   g e t   p o d s   - - w a t c h   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   1 1 m   w e b - 1   1 / 1   R u n n i n g   0   2 7 m   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   T e r m i n a t i n g   0   1 2 m   w e b - 1   1 / 1   T e r m i n a t i n g   0   2 9 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   1 2 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   1 2 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   1 2 m   w e b - 1   0 / 1   T e r m i n a t i n g   0   2 9 m   w e b - 1   0 / 1   T e r m i n a t i n g   0   2 9 m   w e b - 1   0 / 1   T e r m i n a t i n g   0   2 9 m   A s   y o u   s a w   i n   t h e   S c a l i n g   D o w n   s e c t i o n ,   t h e   P o d s   a r e   t e r m i n a t e d   o n e   a t   a   t i m e ,   w i t h   r e s p e c t   t o   t h e   r e v e r s e   o r d e r   o f   t h e i r   o r d i n a l   i n d i c e s .   B e f o r e   t e r m i n ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_3_10483"
  },
  {
    "question": "What is Note:?",
    "answer": "k u b e c t l   d e l e t e   s e r v i c e   n g i n x   s e r v i c e   \" n g i n x \"   d e l e t e d   R e c r e a t e   t h e   S t a t e f u l S e t   a n d   h e a d l e s s   S e r v i c e   o n e   m o r e   t i m e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / w e b / w e b . y a m l   s e r v i c e / n g i n x   c r e a t e d   s t a t e f u l s e t . a p p s / w e b   c r e a t e d   W h e n   a l l   o f   t h e   S t a t e f u l S e t ' s   P o d s   t r a n s i t i o n   t o   R u n n i n g   a n d   R e a d y ,   r e t r i e v e   t h e   c o n t e n t s   o f   t h e i r   i n d e x . h t m l   f i l e s :   f o r   i   i n   0   1 ;   d o   k u b e c t l   e x e c   - i   - t   \" w e b - $ i \"   - -   c u r l   h t t p : / / l o c a l h o s t / ;   d o n e   w e b - 0   w e b - 1   E v e n   t h o u g h   y o u   c o m p l e t e l y   d e l e t e d   t h e   S t a t e f u l S e t ,   a n d   a l l   o f   i t s   P o d s ,   t h e   P o d s   a r e   r e c r e a t e d   w i t h   t h e i r   P e r s i s t e n t V o l u m e s   m o u n t e d ,   a n d   w e b - 0   a n d   w e b - 1   c o n t i n u e   t o   s e r v e   t h e i r   h o s t n a m e s .   F i n a l l y ,   d e l e t e   t h e   n g i n x   S e r v i c e . . .   k u b e c t l   d e l e t e   s e r v i c e   n g i n x   s e r v i c e   \" n g i n x \"   d e l e t e d   . . . a n d   t h e   w e b   S t a t e f u l S e t :   k u b e c t l   d e l e t e   s t a t e f u l s e t   w e b   s t a t e f u l s e t   \" w e b \"   d e l e t e d",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_4_10484"
  },
  {
    "question": "What is Pod management policy?",
    "answer": "F o r   s o m e   d i s t r i b u t e d   s y s t e m s ,   t h e   S t a t e f u l S e t   o r d e r i n g   g u a r a n t e e s   a r e   u n n e c e s s a r y   a n d / o r   u n d e s i r a b l e .   T h e s e   s y s t e m s   r e q u i r e   o n l y   u n i q u e n e s s   a n d   i d e n t i t y .   Y o u   c a n   s p e c i f y   a   P o d   m a n a g e m e n t   p o l i c y   t o   a v o i d   t h i s   s t r i c t   o r d e r i n g ;   e i t h e r   O r d e r e d R e a d y   ( t h e   d e f a u l t ) ,   o r   P a r a l l e l .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_2_10485"
  },
  {
    "question": "What is OrderedReady Pod management?",
    "answer": "O r d e r e d R e a d y   p o d   m a n a g e m e n t   i s   t h e   d e f a u l t   f o r   S t a t e f u l S e t s .   I t   t e l l s   t h e   S t a t e f u l S e t   c o n t r o l l e r   t o   r e s p e c t   t h e   o r d e r i n g   g u a r a n t e e s   d e m o n s t r a t e d   a b o v e .   U s e   t h i s   w h e n   y o u r   a p p l i c a t i o n   r e q u i r e s   o r   e x p e c t s   t h a t   c h a n g e s ,   s u c h   a s   r o l l i n g   o u t   a   n e w   v e r s i o n   o f   y o u r   a p p l i c a t i o n ,   h a p p e n   i n   t h e   s t r i c t   o r d e r   o f   t h e   o r d i n a l   ( p o d   n u m b e r )   t h a t   t h e   S t a t e f u l S e t   p r o v i d e s .   I n   o t h e r   w o r d s ,   i f   y o u   h a v e   P o d s   a p p - 0 ,   a p p - 1   a n d   a p p - 2 ,   K u b e r n e t e s   w i l l   u p d a t e   a p p - 0   f i r s t   a n d   c h e c k   i t .   O n c e   t h e   c h e c k s   a r e   g o o d ,   K u b e r n e t e s   u p d a t e s   a p p - 1   a n d   f i n a l l y   a p p - 2 .   I f   y o u   a d d e d   t w o   m o r e   P o d s ,   K u b e r n e t e s   w o u l d   s e t   u p   a p p - 3   a n d   w a i t   f o r   t h a t   t o   b e c o m e   h e a l t h y   b e f o r e   d e p l o y i n g   a p p - 4 .   B e c a u s e   t h i s   i s   t h e   d e f a u l t   s e t t i n g ,   y o u ' v e   a l r e a d y   p r a c t i s e d   u s i n g   i t .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_3_10486"
  },
  {
    "question": "What is Parallel Pod management?",
    "answer": "T h e   a l t e r n a t i v e ,   P a r a l l e l   p o d   m a n a g e m e n t ,   t e l l s   t h e   S t a t e f u l S e t   c o n t r o l l e r   t o   l a u n c h   o r   t e r m i n a t e   a l l   P o d s   i n   p a r a l l e l ,   a n d   n o t   t o   w a i t   f o r   P o d s   t o   b e c o m e   R u n n i n g   a n d   R e a d y   o r   c o m p l e t e l y   t e r m i n a t e d   p r i o r   t o   l a u n c h i n g   o r   t e r m i n a t i n g   a n o t h e r   P o d .   T h e   P a r a l l e l   p o d   m a n a g e m e n t   o p t i o n   o n l y   a f f e c t s   t h e   b e h a v i o r   f o r   s c a l i n g   o p e r a t i o n s .   U p d a t e s   a r e   n o t   a f f e c t e d ;   K u b e r n e t e s   s t i l l   r o l l s   o u t   c h a n g e s   i n   o r d e r .   F o r   t h i s   t u t o r i a l ,   t h e   a p p l i c a t i o n   i s   v e r y   s i m p l e :   a   w e b s e r v e r   t h a t   t e l l s   y o u   i t s   h o s t n a m e   ( b e c a u s e   t h i s   i s   a   S t a t e f u l S e t ,   t h e   h o s t n a m e   f o r   e a c h   P o d   i s   d i f f e r e n t   a n d   p r e d i c t a b l e ) .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   n g i n x   l a b e l s :   a p p :   n g i n x   s p e c :   p o r t s :   -   p o r t :   8 0   n a m e :   w e b   c l u s t e r I P :   N o n e   s e l e c t o r :   a p p :   n g i n x   - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a :   n a m e :   w e b   s p e c :   s e r v i c e N a m e :   \" n g i n x \"   p o d M a n a g e m e n t P o l i c y :   \" P a r a l l e l \"   r e p l i c a s :   2   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   r e g i s t r y . k 8 s . i o / n g i n x - s l i m : 0 . 2 4   p ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_3_10487"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "Y o u   s h o u l d   h a v e   t w o   t e r m i n a l s   o p e n ,   r e a d y   f o r   y o u   t o   r u n   k u b e c t l   c o m m a n d s   a s   p a r t   o f   c l e a n u p .   k u b e c t l   d e l e t e   s t s   w e b   #   s t s   i s   a n   a b b r e v i a t i o n   f o r   s t a t e f u l s e t   Y o u   c a n   w a t c h   k u b e c t l   g e t   t o   s e e   t h o s e   P o d s   b e i n g   d e l e t e d .   #   e n d   t h e   w a t c h   w h e n   y o u ' v e   s e e n   w h a t   y o u   n e e d   t o   k u b e c t l   g e t   p o d   - l   a p p = n g i n x   - - w a t c h   w e b - 3   1 / 1   T e r m i n a t i n g   0   9 m   w e b - 2   1 / 1   T e r m i n a t i n g   0   9 m   w e b - 3   1 / 1   T e r m i n a t i n g   0   9 m   w e b - 2   1 / 1   T e r m i n a t i n g   0   9 m   w e b - 1   1 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 0   1 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 3   0 / 1   T e r m i n a t i n g   0   9 m   w e b - 2   0 / 1   T e r m i n a t i n g   0   9 m   w e b - 1   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 2   0 / 1   T e r m i n a t i n g   0   9 m   w e b - 2   0 / 1   T e r m i n a t i n g   0   9 m   w e b - 2   0 / 1   T e r m i n a t i n g   0   9 m   w e b - 1   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 1   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 1   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 3   0 / 1   T e r m i n a t i n g   0   9 m   w e b - 3   0 / 1   T e r m i n a t i n g   0   9 m   w e b - 3   0 / 1   T e r m i n a t i n g   0   9 m   D u r i n g   d e l e t i o n ,   a   S t a t e f u l S e t   r e m o v e s   a l l   P o d s   c o n c u r r e n t l y ;   i t ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/",
    "id": "k8s_00556_section_2_10488"
  },
  {
    "question": "What is Deployment?",
    "answer": "DeploymentDeployment enables declarative updates for Pods and ReplicaSets.apiVersion: apps/v1import \"k8s.io/api/apps/v1\"DeploymentDeployment enables declarative updates for Pods and ReplicaSets.apiVersion: apps/v1kind: Deploymentmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (DeploymentSpec)Specification of the desired behavior of the Deployment.status (DeploymentStatus)Most recently observed status of the Deployment.DeploymentSpecDeploymentSpec is the specification of the desired behavior of the Deployment.selector (LabelSelector), requiredLabel selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels.template (PodTemplateSpec), requiredTemplate describes the pods that will be created. The only allowed template.spec.restartPolicy value is \"Always\".replicas (int32)Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.minReadySeconds (int32)Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)strategy (DeploymentStrategy)Patch strategy: retainKeysThe deployment strategy to use to replace existing pods with new ones.DeploymentStrategy describes how to replace existing pods with new ones.strategy.type (string)Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.strategy.rollingUpdate (RollingUpdateDeployment)Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.Spec to control the desired behavior of rolling update.strategy.rollingUpdate.maxSurge (IntOrString)The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.strategy.rollingUpdate.maxUnavailable (IntOrString)The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is cal",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_qa_10489"
  },
  {
    "question": "How does Deployment work?",
    "answer": "DeploymentDeployment enables declarative updates for Pods and ReplicaSets.apiVersion: apps/v1import \"k8s.io/api/apps/v1\"DeploymentDeployment enables declarative updates for Pods and ReplicaSets.apiVersion: apps/v1kind: Deploymentmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (DeploymentSpec)Specification of the desired behavior of the Deployment.status (DeploymentStatus)Most recently observed status of the Deployment.DeploymentSpecDeploymentSpec is the specification of the desired behavior of the Deployment.selector (LabelSelector), requiredLabel selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels.template (PodTemplateSpec), requiredTemplate describes the pods that will be created. The only allowed template.spec.restartPolicy value is \"Always\".replicas (int32)Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.minReadySeconds (int32)Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)strategy (DeploymentStrategy)Patch strategy: retainKeysThe deployment strategy to use to replace existing pods with new ones.DeploymentStrategy describes how to replace existing pods with new ones.strategy.type (string)Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.strategy.rollingUpdate (RollingUpdateDeployment)Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.Spec to control the desired behavior of rolling update.strategy.rollingUpdate.maxSurge (IntOrString)The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.strategy.rollingUpdate.maxUnavailable (IntOrString)The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is cal",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_qa_10490"
  },
  {
    "question": "When would you use Deployment?",
    "answer": "DeploymentDeployment enables declarative updates for Pods and ReplicaSets.apiVersion: apps/v1import \"k8s.io/api/apps/v1\"DeploymentDeployment enables declarative updates for Pods and ReplicaSets.apiVersion: apps/v1kind: Deploymentmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (DeploymentSpec)Specification of the desired behavior of the Deployment.status (DeploymentStatus)Most recently observed status of the Deployment.DeploymentSpecDeploymentSpec is the specification of the desired behavior of the Deployment.selector (LabelSelector), requiredLabel selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels.template (PodTemplateSpec), requiredTemplate describes the pods that will be created. The only allowed template.spec.restartPolicy value is \"Always\".replicas (int32)Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.minReadySeconds (int32)Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)strategy (DeploymentStrategy)Patch strategy: retainKeysThe deployment strategy to use to replace existing pods with new ones.DeploymentStrategy describes how to replace existing pods with new ones.strategy.type (string)Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.strategy.rollingUpdate (RollingUpdateDeployment)Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.Spec to control the desired behavior of rolling update.strategy.rollingUpdate.maxSurge (IntOrString)The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.strategy.rollingUpdate.maxUnavailable (IntOrString)The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is cal",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_qa_10491"
  },
  {
    "question": "What are the benefits of Deployment?",
    "answer": "DeploymentDeployment enables declarative updates for Pods and ReplicaSets.apiVersion: apps/v1import \"k8s.io/api/apps/v1\"DeploymentDeployment enables declarative updates for Pods and ReplicaSets.apiVersion: apps/v1kind: Deploymentmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (DeploymentSpec)Specification of the desired behavior of the Deployment.status (DeploymentStatus)Most recently observed status of the Deployment.DeploymentSpecDeploymentSpec is the specification of the desired behavior of the Deployment.selector (LabelSelector), requiredLabel selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels.template (PodTemplateSpec), requiredTemplate describes the pods that will be created. The only allowed template.spec.restartPolicy value is \"Always\".replicas (int32)Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.minReadySeconds (int32)Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)strategy (DeploymentStrategy)Patch strategy: retainKeysThe deployment strategy to use to replace existing pods with new ones.DeploymentStrategy describes how to replace existing pods with new ones.strategy.type (string)Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.strategy.rollingUpdate (RollingUpdateDeployment)Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.Spec to control the desired behavior of rolling update.strategy.rollingUpdate.maxSurge (IntOrString)The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.strategy.rollingUpdate.maxUnavailable (IntOrString)The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is cal",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_qa_10492"
  },
  {
    "question": "What is Deployment?",
    "answer": "a p i V e r s i o n :   a p p s / v 1   i m p o r t   \" k 8 s . i o / a p i / a p p s / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_1_10493"
  },
  {
    "question": "What is Deployment?",
    "answer": "D e p l o y m e n t   e n a b l e s   d e c l a r a t i v e   u p d a t e s   f o r   P o d s   a n d   R e p l i c a S e t s .   a p i V e r s i o n :   a p p s / v 1 k i n d :   D e p l o y m e n t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( D e p l o y m e n t S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   D e p l o y m e n t . s t a t u s   ( D e p l o y m e n t S t a t u s ) M o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   D e p l o y m e n t .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( D e p l o y m e n t S p e c )   S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   D e p l o y m e n t .   s t a t u s   ( D e p l o y m e n t S t a t u s )   M o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   D e p l o y m e n t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_2_10494"
  },
  {
    "question": "What is DeploymentSpec?",
    "answer": "D e p l o y m e n t S p e c   i s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   D e p l o y m e n t .   s e l e c t o r   ( L a b e l S e l e c t o r ) ,   r e q u i r e d L a b e l   s e l e c t o r   f o r   p o d s .   E x i s t i n g   R e p l i c a S e t s   w h o s e   p o d s   a r e   s e l e c t e d   b y   t h i s   w i l l   b e   t h e   o n e s   a f f e c t e d   b y   t h i s   d e p l o y m e n t .   I t   m u s t   m a t c h   t h e   p o d   t e m p l a t e ' s   l a b e l s . t e m p l a t e   ( P o d T e m p l a t e S p e c ) ,   r e q u i r e d T e m p l a t e   d e s c r i b e s   t h e   p o d s   t h a t   w i l l   b e   c r e a t e d .   T h e   o n l y   a l l o w e d   t e m p l a t e . s p e c . r e s t a r t P o l i c y   v a l u e   i s   \" A l w a y s \" . r e p l i c a s   ( i n t 3 2 ) N u m b e r   o f   d e s i r e d   p o d s .   T h i s   i s   a   p o i n t e r   t o   d i s t i n g u i s h   b e t w e e n   e x p l i c i t   z e r o   a n d   n o t   s p e c i f i e d .   D e f a u l t s   t o   1 . m i n R e a d y S e c o n d s   ( i n t 3 2 ) M i n i m u m   n u m b e r   o f   s e c o n d s   f o r   w h i c h   a   n e w l y   c r e a t e d   p o d   s h o u l d   b e   r e a d y   w i t h o u t   a n y   o f   i t s   c o n t a i n e r   c r a s h i n g ,   f o r   i t   t o   b e   c o n s i d e r e d   a v a i l a b l e .   D e f a u l t s   t o   0   ( p o d   w i l l   b e   c o n s i d e r e d   a v a i l a b l e   a s   s o o n   a s   i t   i s   r e a d y ) s t r a t e g y   ( D e p l o y m e n t S t r a t e g y ) P a t c h   s t r a t e g y :   r e t a i n K e y s T h e   d e p l o y m e n t   s t r a t e g y   t o   u s e   t o   r e p l a c e   e x i s t i n g   p o d s   w i t h   n e w   o n e s . D e p l o y m e n t S t r a t e g y   d e s c r i b e s   h o w   t o   r e p l a c e   e x i s t i n g   p o d s   w i t h   n e w   o n e s . s t r a t e g y . ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_2_10495"
  },
  {
    "question": "What is DeploymentStatus?",
    "answer": "D e p l o y m e n t S t a t u s   i s   t h e   m o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   D e p l o y m e n t .   r e p l i c a s   ( i n t 3 2 ) T o t a l   n u m b e r   o f   n o n - t e r m i n a t i n g   p o d s   t a r g e t e d   b y   t h i s   d e p l o y m e n t   ( t h e i r   l a b e l s   m a t c h   t h e   s e l e c t o r ) . a v a i l a b l e R e p l i c a s   ( i n t 3 2 ) T o t a l   n u m b e r   o f   a v a i l a b l e   n o n - t e r m i n a t i n g   p o d s   ( r e a d y   f o r   a t   l e a s t   m i n R e a d y S e c o n d s )   t a r g e t e d   b y   t h i s   d e p l o y m e n t . r e a d y R e p l i c a s   ( i n t 3 2 ) T o t a l   n u m b e r   o f   n o n - t e r m i n a t i n g   p o d s   t a r g e t e d   b y   t h i s   D e p l o y m e n t   w i t h   a   R e a d y   C o n d i t i o n . u n a v a i l a b l e R e p l i c a s   ( i n t 3 2 ) T o t a l   n u m b e r   o f   u n a v a i l a b l e   p o d s   t a r g e t e d   b y   t h i s   d e p l o y m e n t .   T h i s   i s   t h e   t o t a l   n u m b e r   o f   p o d s   t h a t   a r e   s t i l l   r e q u i r e d   f o r   t h e   d e p l o y m e n t   t o   h a v e   1 0 0 %   a v a i l a b l e   c a p a c i t y .   T h e y   m a y   e i t h e r   b e   p o d s   t h a t   a r e   r u n n i n g   b u t   n o t   y e t   a v a i l a b l e   o r   p o d s   t h a t   s t i l l   h a v e   n o t   b e e n   c r e a t e d . u p d a t e d R e p l i c a s   ( i n t 3 2 ) T o t a l   n u m b e r   o f   n o n - t e r m i n a t i n g   p o d s   t a r g e t e d   b y   t h i s   d e p l o y m e n t   t h a t   h a v e   t h e   d e s i r e d   t e m p l a t e   s p e c . t e r m i n a t i n g R e p l i c a s   ( i n t 3 2 ) T o t a l   n u m b e r   o f   t e r m i n a t i n g   p o d s   t a r g e t e d   b y   t h i s   d e p l o y m e n t .   T e r m i n a t i n g   p o d s   h a v e   a   n o n - n u l l   . m e t a d a t a . d e l e t i o n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_2_10496"
  },
  {
    "question": "What is DeploymentList?",
    "answer": "D e p l o y m e n t L i s t   i s   a   l i s t   o f   D e p l o y m e n t s .   a p i V e r s i o n :   a p p s / v 1 k i n d :   D e p l o y m e n t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a . i t e m s   ( [ ] D e p l o y m e n t ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   D e p l o y m e n t s .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   i t e m s   ( [ ] D e p l o y m e n t ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   D e p l o y m e n t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_2_10497"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10498"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e p l o y m e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e p l o y m e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10499"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10500"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10501"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e p l o y m e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e p l o y m e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10502"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10503"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10504"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10505"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10506"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / d e p l o y m e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10507"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10508"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10509"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10510"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e p l o y m e n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e p l o y m e n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10511"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t ) :   O K   2 0 1   ( D e p l o y m e n t ) :   C r e a t e d   2 0 2   ( D e p l o y m e n t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10512"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10513"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e p l o y m e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e p l o y m e n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e p l o y m e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e p l o y m e n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10514"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t ) :   O K   2 0 1   ( D e p l o y m e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10515"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10516"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e p l o y m e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e p l o y m e n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e p l o y m e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e p l o y m e n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10517"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t ) :   O K   2 0 1   ( D e p l o y m e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10518"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10519"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e p l o y m e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e p l o y m e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10520"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t ) :   O K   2 0 1   ( D e p l o y m e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10521"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10522"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e p l o y m e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e p l o y m e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10523"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t ) :   O K   2 0 1   ( D e p l o y m e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10524"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10525"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e p l o y m e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e p l o y m e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10526"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10527"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10528"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10529"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/",
    "id": "k8s_00557_section_4_10530"
  },
  {
    "question": "What is Ingress Controllers?",
    "answer": "Ingress ControllersIn order for an Ingress to work in your cluster, there must be an ingress controller running. You need to select at least one ingress controller and make sure it is set up in your cluster. This page lists common ingress controllers that you can deploy.In order for the Ingress resource to work, the cluster must have an ingress controller running.Unlike other types of controllers which run as part of the kube-controller-manager binary, Ingress controllers are not started automatically with a cluster. Use this page to choose the ingress controller implementation that best fits your cluster.Kubernetes as a project supports and maintains AWS, GCE, and nginx ingress controllers.Additional controllersNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.AKS Application Gateway Ingress Controller is an ingress controller that configures the Azure Application Gateway.Alibaba Cloud MSE Ingress is an ingress controller that configures the Alibaba Cloud Native Gateway, which is also the commercial version of Higress.Apache APISIX ingress controller is an Apache APISIX-based ingress controller.Avi Kubernetes Operator provides L4-L7 load-balancing using VMware NSX Advanced Load Balancer.BFE Ingress Controller is a BFE-based ingress controller.Cilium Ingress Controller is an ingress controller powered by Cilium.The Citrix ingress controller works with Citrix Application Delivery Controller.Contour is an Envoy based ingress controller.Emissary-Ingress API Gateway is an Envoy-based ingress controller.EnRoute is an Envoy based API gateway that can run as an ingress controller.Easegress IngressController is an Easegress based API gateway that can run as an ingress controller.F5 BIG-IP Container Ingress Services for Kubernetes lets you use an Ingress to configure F5 BIG-IP virtual servers.FortiADC Ingress Controller support the Kubernetes Ingress resources and allows you to manage FortiADC objects from KubernetesGloo is an open-source ingress controller based on Envoy, which offers API gateway functionality.HAProxy Ingress is an ingress controller for HAProxy.Higress is an Envoy based API gateway that can run as an ingress controller.The HAProxy Ingress Controller for Kubernetes is also an ingress controller for HAProxy.Istio Ingress is an Istio based ingress controller.The Kong Ingress Controller for Kubernetes is an ingress controller driving Kong Gateway.Kusk Gateway is an OpenAPI-driven ingress controller based on Envoy.The NGINX Ingress Controller for Kubernetes works with the NGINX webserver (as a proxy).The ngrok Kubernetes Ingress Controller is an open source controller for adding secure public access to your K8s services using the ngrok platform.The OCI Native Ingress Controller is an Ingress co",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/",
    "id": "k8s_00558_qa_10531"
  },
  {
    "question": "How does Ingress Controllers work?",
    "answer": "Ingress ControllersIn order for an Ingress to work in your cluster, there must be an ingress controller running. You need to select at least one ingress controller and make sure it is set up in your cluster. This page lists common ingress controllers that you can deploy.In order for the Ingress resource to work, the cluster must have an ingress controller running.Unlike other types of controllers which run as part of the kube-controller-manager binary, Ingress controllers are not started automatically with a cluster. Use this page to choose the ingress controller implementation that best fits your cluster.Kubernetes as a project supports and maintains AWS, GCE, and nginx ingress controllers.Additional controllersNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.AKS Application Gateway Ingress Controller is an ingress controller that configures the Azure Application Gateway.Alibaba Cloud MSE Ingress is an ingress controller that configures the Alibaba Cloud Native Gateway, which is also the commercial version of Higress.Apache APISIX ingress controller is an Apache APISIX-based ingress controller.Avi Kubernetes Operator provides L4-L7 load-balancing using VMware NSX Advanced Load Balancer.BFE Ingress Controller is a BFE-based ingress controller.Cilium Ingress Controller is an ingress controller powered by Cilium.The Citrix ingress controller works with Citrix Application Delivery Controller.Contour is an Envoy based ingress controller.Emissary-Ingress API Gateway is an Envoy-based ingress controller.EnRoute is an Envoy based API gateway that can run as an ingress controller.Easegress IngressController is an Easegress based API gateway that can run as an ingress controller.F5 BIG-IP Container Ingress Services for Kubernetes lets you use an Ingress to configure F5 BIG-IP virtual servers.FortiADC Ingress Controller support the Kubernetes Ingress resources and allows you to manage FortiADC objects from KubernetesGloo is an open-source ingress controller based on Envoy, which offers API gateway functionality.HAProxy Ingress is an ingress controller for HAProxy.Higress is an Envoy based API gateway that can run as an ingress controller.The HAProxy Ingress Controller for Kubernetes is also an ingress controller for HAProxy.Istio Ingress is an Istio based ingress controller.The Kong Ingress Controller for Kubernetes is an ingress controller driving Kong Gateway.Kusk Gateway is an OpenAPI-driven ingress controller based on Envoy.The NGINX Ingress Controller for Kubernetes works with the NGINX webserver (as a proxy).The ngrok Kubernetes Ingress Controller is an open source controller for adding secure public access to your K8s services using the ngrok platform.The OCI Native Ingress Controller is an Ingress co",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/",
    "id": "k8s_00558_qa_10532"
  },
  {
    "question": "When would you use Ingress Controllers?",
    "answer": "Ingress ControllersIn order for an Ingress to work in your cluster, there must be an ingress controller running. You need to select at least one ingress controller and make sure it is set up in your cluster. This page lists common ingress controllers that you can deploy.In order for the Ingress resource to work, the cluster must have an ingress controller running.Unlike other types of controllers which run as part of the kube-controller-manager binary, Ingress controllers are not started automatically with a cluster. Use this page to choose the ingress controller implementation that best fits your cluster.Kubernetes as a project supports and maintains AWS, GCE, and nginx ingress controllers.Additional controllersNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.AKS Application Gateway Ingress Controller is an ingress controller that configures the Azure Application Gateway.Alibaba Cloud MSE Ingress is an ingress controller that configures the Alibaba Cloud Native Gateway, which is also the commercial version of Higress.Apache APISIX ingress controller is an Apache APISIX-based ingress controller.Avi Kubernetes Operator provides L4-L7 load-balancing using VMware NSX Advanced Load Balancer.BFE Ingress Controller is a BFE-based ingress controller.Cilium Ingress Controller is an ingress controller powered by Cilium.The Citrix ingress controller works with Citrix Application Delivery Controller.Contour is an Envoy based ingress controller.Emissary-Ingress API Gateway is an Envoy-based ingress controller.EnRoute is an Envoy based API gateway that can run as an ingress controller.Easegress IngressController is an Easegress based API gateway that can run as an ingress controller.F5 BIG-IP Container Ingress Services for Kubernetes lets you use an Ingress to configure F5 BIG-IP virtual servers.FortiADC Ingress Controller support the Kubernetes Ingress resources and allows you to manage FortiADC objects from KubernetesGloo is an open-source ingress controller based on Envoy, which offers API gateway functionality.HAProxy Ingress is an ingress controller for HAProxy.Higress is an Envoy based API gateway that can run as an ingress controller.The HAProxy Ingress Controller for Kubernetes is also an ingress controller for HAProxy.Istio Ingress is an Istio based ingress controller.The Kong Ingress Controller for Kubernetes is an ingress controller driving Kong Gateway.Kusk Gateway is an OpenAPI-driven ingress controller based on Envoy.The NGINX Ingress Controller for Kubernetes works with the NGINX webserver (as a proxy).The ngrok Kubernetes Ingress Controller is an open source controller for adding secure public access to your K8s services using the ngrok platform.The OCI Native Ingress Controller is an Ingress co",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/",
    "id": "k8s_00558_qa_10533"
  },
  {
    "question": "What are the benefits of Ingress Controllers?",
    "answer": "Ingress ControllersIn order for an Ingress to work in your cluster, there must be an ingress controller running. You need to select at least one ingress controller and make sure it is set up in your cluster. This page lists common ingress controllers that you can deploy.In order for the Ingress resource to work, the cluster must have an ingress controller running.Unlike other types of controllers which run as part of the kube-controller-manager binary, Ingress controllers are not started automatically with a cluster. Use this page to choose the ingress controller implementation that best fits your cluster.Kubernetes as a project supports and maintains AWS, GCE, and nginx ingress controllers.Additional controllersNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.AKS Application Gateway Ingress Controller is an ingress controller that configures the Azure Application Gateway.Alibaba Cloud MSE Ingress is an ingress controller that configures the Alibaba Cloud Native Gateway, which is also the commercial version of Higress.Apache APISIX ingress controller is an Apache APISIX-based ingress controller.Avi Kubernetes Operator provides L4-L7 load-balancing using VMware NSX Advanced Load Balancer.BFE Ingress Controller is a BFE-based ingress controller.Cilium Ingress Controller is an ingress controller powered by Cilium.The Citrix ingress controller works with Citrix Application Delivery Controller.Contour is an Envoy based ingress controller.Emissary-Ingress API Gateway is an Envoy-based ingress controller.EnRoute is an Envoy based API gateway that can run as an ingress controller.Easegress IngressController is an Easegress based API gateway that can run as an ingress controller.F5 BIG-IP Container Ingress Services for Kubernetes lets you use an Ingress to configure F5 BIG-IP virtual servers.FortiADC Ingress Controller support the Kubernetes Ingress resources and allows you to manage FortiADC objects from KubernetesGloo is an open-source ingress controller based on Envoy, which offers API gateway functionality.HAProxy Ingress is an ingress controller for HAProxy.Higress is an Envoy based API gateway that can run as an ingress controller.The HAProxy Ingress Controller for Kubernetes is also an ingress controller for HAProxy.Istio Ingress is an Istio based ingress controller.The Kong Ingress Controller for Kubernetes is an ingress controller driving Kong Gateway.Kusk Gateway is an OpenAPI-driven ingress controller based on Envoy.The NGINX Ingress Controller for Kubernetes works with the NGINX webserver (as a proxy).The ngrok Kubernetes Ingress Controller is an open source controller for adding secure public access to your K8s services using the ngrok platform.The OCI Native Ingress Controller is an Ingress co",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/",
    "id": "k8s_00558_qa_10534"
  },
  {
    "question": "What is Ingress Controllers?",
    "answer": "I n   o r d e r   f o r   t h e   I n g r e s s   r e s o u r c e   t o   w o r k ,   t h e   c l u s t e r   m u s t   h a v e   a n   i n g r e s s   c o n t r o l l e r   r u n n i n g .   U n l i k e   o t h e r   t y p e s   o f   c o n t r o l l e r s   w h i c h   r u n   a s   p a r t   o f   t h e   k u b e - c o n t r o l l e r - m a n a g e r   b i n a r y ,   I n g r e s s   c o n t r o l l e r s   a r e   n o t   s t a r t e d   a u t o m a t i c a l l y   w i t h   a   c l u s t e r .   U s e   t h i s   p a g e   t o   c h o o s e   t h e   i n g r e s s   c o n t r o l l e r   i m p l e m e n t a t i o n   t h a t   b e s t   f i t s   y o u r   c l u s t e r .   K u b e r n e t e s   a s   a   p r o j e c t   s u p p o r t s   a n d   m a i n t a i n s   A W S ,   G C E ,   a n d   n g i n x   i n g r e s s   c o n t r o l l e r s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/",
    "id": "k8s_00558_section_1_10535"
  },
  {
    "question": "What is Additional controllers?",
    "answer": "A K S   A p p l i c a t i o n   G a t e w a y   I n g r e s s   C o n t r o l l e r   i s   a n   i n g r e s s   c o n t r o l l e r   t h a t   c o n f i g u r e s   t h e   A z u r e   A p p l i c a t i o n   G a t e w a y . A l i b a b a   C l o u d   M S E   I n g r e s s   i s   a n   i n g r e s s   c o n t r o l l e r   t h a t   c o n f i g u r e s   t h e   A l i b a b a   C l o u d   N a t i v e   G a t e w a y ,   w h i c h   i s   a l s o   t h e   c o m m e r c i a l   v e r s i o n   o f   H i g r e s s . A p a c h e   A P I S I X   i n g r e s s   c o n t r o l l e r   i s   a n   A p a c h e   A P I S I X - b a s e d   i n g r e s s   c o n t r o l l e r . A v i   K u b e r n e t e s   O p e r a t o r   p r o v i d e s   L 4 - L 7   l o a d - b a l a n c i n g   u s i n g   V M w a r e   N S X   A d v a n c e d   L o a d   B a l a n c e r . B F E   I n g r e s s   C o n t r o l l e r   i s   a   B F E - b a s e d   i n g r e s s   c o n t r o l l e r . C i l i u m   I n g r e s s   C o n t r o l l e r   i s   a n   i n g r e s s   c o n t r o l l e r   p o w e r e d   b y   C i l i u m . T h e   C i t r i x   i n g r e s s   c o n t r o l l e r   w o r k s   w i t h   C i t r i x   A p p l i c a t i o n   D e l i v e r y   C o n t r o l l e r . C o n t o u r   i s   a n   E n v o y   b a s e d   i n g r e s s   c o n t r o l l e r . E m i s s a r y - I n g r e s s   A P I   G a t e w a y   i s   a n   E n v o y - b a s e d   i n g r e s s   c o n t r o l l e r . E n R o u t e   i s   a n   E n v o y   b a s e d   A P I   g a t e w a y   t h a t   c a n   r u n   a s   a n   i n g r e s s   c o n t r o l l e r . E a s e g r e s s   I n g r e s s C o n t r o l l e r   i s   a n   E a s e g r e s s   b a s e d   A P I   g a t e w a y   t h a t   c a n   r u n   a s   a n   i n g r e s s   c o n t r o l l e r . F 5   B I G - I P   C o n t a i n e r   I n g r e s s   S e r v i c e s   f o r   K u b e r n e t e s   l e t s   y o u   u s e   a n   I n g r ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/",
    "id": "k8s_00558_section_2_10536"
  },
  {
    "question": "What is Using multiple Ingress controllers?",
    "answer": "Y o u   m a y   d e p l o y   a n y   n u m b e r   o f   i n g r e s s   c o n t r o l l e r s   u s i n g   i n g r e s s   c l a s s   w i t h i n   a   c l u s t e r .   N o t e   t h e   . m e t a d a t a . n a m e   o f   y o u r   i n g r e s s   c l a s s   r e s o u r c e .   W h e n   y o u   c r e a t e   a n   i n g r e s s   y o u   w o u l d   n e e d   t h a t   n a m e   t o   s p e c i f y   t h e   i n g r e s s C l a s s N a m e   f i e l d   o n   y o u r   I n g r e s s   o b j e c t   ( r e f e r   t o   I n g r e s s S p e c   v 1   r e f e r e n c e ) .   i n g r e s s C l a s s N a m e   i s   a   r e p l a c e m e n t   o f   t h e   o l d e r   a n n o t a t i o n   m e t h o d .   I f   y o u   d o   n o t   s p e c i f y   a n   I n g r e s s C l a s s   f o r   a n   I n g r e s s ,   a n d   y o u r   c l u s t e r   h a s   e x a c t l y   o n e   I n g r e s s C l a s s   m a r k e d   a s   d e f a u l t ,   t h e n   K u b e r n e t e s   a p p l i e s   t h e   c l u s t e r ' s   d e f a u l t   I n g r e s s C l a s s   t o   t h e   I n g r e s s .   Y o u   m a r k   a n   I n g r e s s C l a s s   a s   d e f a u l t   b y   s e t t i n g   t h e   i n g r e s s c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s   a n n o t a t i o n   o n   t h a t   I n g r e s s C l a s s ,   w i t h   t h e   s t r i n g   v a l u e   \" t r u e \" .   I d e a l l y ,   a l l   i n g r e s s   c o n t r o l l e r s   s h o u l d   f u l f i l l   t h i s   s p e c i f i c a t i o n ,   b u t   t h e   v a r i o u s   i n g r e s s   c o n t r o l l e r s   o p e r a t e   s l i g h t l y   d i f f e r e n t l y .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/",
    "id": "k8s_00558_section_2_10537"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   I n g r e s s . S e t   u p   I n g r e s s   o n   M i n i k u b e   w i t h   t h e   N G I N X   C o n t r o l l e r .   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/",
    "id": "k8s_00558_section_2_10538"
  },
  {
    "question": "What is Node Resource Managers?",
    "answer": "Node Resource ManagersIn order to support latency-critical and high-throughput workloads, Kubernetes offers a suite of Resource Managers. The managers aim to co-ordinate and optimise the alignment of node's resources for pods configured with a specific requirement for CPUs, devices, and memory (hugepages) resources.Hardware topology alignment policiesTopology Manager is a kubelet component that aims to coordinate the set of components that are responsible for these optimizations. The overall resource management process is governed using the policy you specify. To learn more, read Control Topology Management Policies on a Node.Policies for assigning CPUs to PodsFEATURE STATE: Kubernetes v1.26 [stable] (enabled by default: true)Once a Pod is bound to a Node, the kubelet on that node may need to either multiplex the existing hardware (for example, sharing CPUs across multiple Pods) or allocate hardware by dedicating some resource (for example, assigning one of more CPUs for a Pod's exclusive use).By default, the kubelet uses CFS quota to enforce pod CPU limits. When the node runs many CPU-bound pods, the workload can move to different CPU cores depending on whether the pod is throttled and which CPU cores are available at scheduling time. Many workloads are not sensitive to this migration and thus work fine without any intervention.However, in workloads where CPU cache affinity and scheduling latency significantly affect workload performance, the kubelet allows alternative CPU management policies to determine some placement preferences on the node. This is implemented using the CPU Manager and its policy. There are two available policies:none: the none policy explicitly enables the existing default CPU affinity scheme, providing no affinity beyond what the OS scheduler does automatically. Limits on CPU usage for Guaranteed pods and Burstable pods are enforced using CFS quota.static: the static policy allows containers in Guaranteed pods with integer CPU requests access to exclusive CPUs on the node. This exclusivity is enforced using the cpuset cgroup controller.Note:System services such as the container runtime and the kubelet itself can continue to run on these exclusive CPUs. The exclusivity only extends to other pods.CPU Manager doesn't support offlining and onlining of CPUs at runtime.Static policyThe static policy enables finer-grained CPU management and exclusive CPU assignment. This policy manages a shared pool of CPUs that initially contains all CPUs in the node. The amount of exclusively allocatable CPUs is equal to the total number of CPUs in the node minus any CPU reservations set by the kubelet configuration. CPUs reserved by these options are taken, in integer quantity, from the initial shared pool in ascending order by physical core ID. This shared pool is the set of CPUs on which any containers in BestEffort and Burstable pods run. Containers in Guaranteed pods with fractional CPU requests also run on CPUs in the shared pool. Only co",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/node-resource-managers/",
    "id": "k8s_00559_qa_10539"
  },
  {
    "question": "How does Node Resource Managers work?",
    "answer": "Node Resource ManagersIn order to support latency-critical and high-throughput workloads, Kubernetes offers a suite of Resource Managers. The managers aim to co-ordinate and optimise the alignment of node's resources for pods configured with a specific requirement for CPUs, devices, and memory (hugepages) resources.Hardware topology alignment policiesTopology Manager is a kubelet component that aims to coordinate the set of components that are responsible for these optimizations. The overall resource management process is governed using the policy you specify. To learn more, read Control Topology Management Policies on a Node.Policies for assigning CPUs to PodsFEATURE STATE: Kubernetes v1.26 [stable] (enabled by default: true)Once a Pod is bound to a Node, the kubelet on that node may need to either multiplex the existing hardware (for example, sharing CPUs across multiple Pods) or allocate hardware by dedicating some resource (for example, assigning one of more CPUs for a Pod's exclusive use).By default, the kubelet uses CFS quota to enforce pod CPU limits. When the node runs many CPU-bound pods, the workload can move to different CPU cores depending on whether the pod is throttled and which CPU cores are available at scheduling time. Many workloads are not sensitive to this migration and thus work fine without any intervention.However, in workloads where CPU cache affinity and scheduling latency significantly affect workload performance, the kubelet allows alternative CPU management policies to determine some placement preferences on the node. This is implemented using the CPU Manager and its policy. There are two available policies:none: the none policy explicitly enables the existing default CPU affinity scheme, providing no affinity beyond what the OS scheduler does automatically. Limits on CPU usage for Guaranteed pods and Burstable pods are enforced using CFS quota.static: the static policy allows containers in Guaranteed pods with integer CPU requests access to exclusive CPUs on the node. This exclusivity is enforced using the cpuset cgroup controller.Note:System services such as the container runtime and the kubelet itself can continue to run on these exclusive CPUs. The exclusivity only extends to other pods.CPU Manager doesn't support offlining and onlining of CPUs at runtime.Static policyThe static policy enables finer-grained CPU management and exclusive CPU assignment. This policy manages a shared pool of CPUs that initially contains all CPUs in the node. The amount of exclusively allocatable CPUs is equal to the total number of CPUs in the node minus any CPU reservations set by the kubelet configuration. CPUs reserved by these options are taken, in integer quantity, from the initial shared pool in ascending order by physical core ID. This shared pool is the set of CPUs on which any containers in BestEffort and Burstable pods run. Containers in Guaranteed pods with fractional CPU requests also run on CPUs in the shared pool. Only co",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/node-resource-managers/",
    "id": "k8s_00559_qa_10540"
  },
  {
    "question": "When would you use Node Resource Managers?",
    "answer": "Node Resource ManagersIn order to support latency-critical and high-throughput workloads, Kubernetes offers a suite of Resource Managers. The managers aim to co-ordinate and optimise the alignment of node's resources for pods configured with a specific requirement for CPUs, devices, and memory (hugepages) resources.Hardware topology alignment policiesTopology Manager is a kubelet component that aims to coordinate the set of components that are responsible for these optimizations. The overall resource management process is governed using the policy you specify. To learn more, read Control Topology Management Policies on a Node.Policies for assigning CPUs to PodsFEATURE STATE: Kubernetes v1.26 [stable] (enabled by default: true)Once a Pod is bound to a Node, the kubelet on that node may need to either multiplex the existing hardware (for example, sharing CPUs across multiple Pods) or allocate hardware by dedicating some resource (for example, assigning one of more CPUs for a Pod's exclusive use).By default, the kubelet uses CFS quota to enforce pod CPU limits. When the node runs many CPU-bound pods, the workload can move to different CPU cores depending on whether the pod is throttled and which CPU cores are available at scheduling time. Many workloads are not sensitive to this migration and thus work fine without any intervention.However, in workloads where CPU cache affinity and scheduling latency significantly affect workload performance, the kubelet allows alternative CPU management policies to determine some placement preferences on the node. This is implemented using the CPU Manager and its policy. There are two available policies:none: the none policy explicitly enables the existing default CPU affinity scheme, providing no affinity beyond what the OS scheduler does automatically. Limits on CPU usage for Guaranteed pods and Burstable pods are enforced using CFS quota.static: the static policy allows containers in Guaranteed pods with integer CPU requests access to exclusive CPUs on the node. This exclusivity is enforced using the cpuset cgroup controller.Note:System services such as the container runtime and the kubelet itself can continue to run on these exclusive CPUs. The exclusivity only extends to other pods.CPU Manager doesn't support offlining and onlining of CPUs at runtime.Static policyThe static policy enables finer-grained CPU management and exclusive CPU assignment. This policy manages a shared pool of CPUs that initially contains all CPUs in the node. The amount of exclusively allocatable CPUs is equal to the total number of CPUs in the node minus any CPU reservations set by the kubelet configuration. CPUs reserved by these options are taken, in integer quantity, from the initial shared pool in ascending order by physical core ID. This shared pool is the set of CPUs on which any containers in BestEffort and Burstable pods run. Containers in Guaranteed pods with fractional CPU requests also run on CPUs in the shared pool. Only co",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/node-resource-managers/",
    "id": "k8s_00559_qa_10541"
  },
  {
    "question": "What are the benefits of Node Resource Managers?",
    "answer": "Node Resource ManagersIn order to support latency-critical and high-throughput workloads, Kubernetes offers a suite of Resource Managers. The managers aim to co-ordinate and optimise the alignment of node's resources for pods configured with a specific requirement for CPUs, devices, and memory (hugepages) resources.Hardware topology alignment policiesTopology Manager is a kubelet component that aims to coordinate the set of components that are responsible for these optimizations. The overall resource management process is governed using the policy you specify. To learn more, read Control Topology Management Policies on a Node.Policies for assigning CPUs to PodsFEATURE STATE: Kubernetes v1.26 [stable] (enabled by default: true)Once a Pod is bound to a Node, the kubelet on that node may need to either multiplex the existing hardware (for example, sharing CPUs across multiple Pods) or allocate hardware by dedicating some resource (for example, assigning one of more CPUs for a Pod's exclusive use).By default, the kubelet uses CFS quota to enforce pod CPU limits. When the node runs many CPU-bound pods, the workload can move to different CPU cores depending on whether the pod is throttled and which CPU cores are available at scheduling time. Many workloads are not sensitive to this migration and thus work fine without any intervention.However, in workloads where CPU cache affinity and scheduling latency significantly affect workload performance, the kubelet allows alternative CPU management policies to determine some placement preferences on the node. This is implemented using the CPU Manager and its policy. There are two available policies:none: the none policy explicitly enables the existing default CPU affinity scheme, providing no affinity beyond what the OS scheduler does automatically. Limits on CPU usage for Guaranteed pods and Burstable pods are enforced using CFS quota.static: the static policy allows containers in Guaranteed pods with integer CPU requests access to exclusive CPUs on the node. This exclusivity is enforced using the cpuset cgroup controller.Note:System services such as the container runtime and the kubelet itself can continue to run on these exclusive CPUs. The exclusivity only extends to other pods.CPU Manager doesn't support offlining and onlining of CPUs at runtime.Static policyThe static policy enables finer-grained CPU management and exclusive CPU assignment. This policy manages a shared pool of CPUs that initially contains all CPUs in the node. The amount of exclusively allocatable CPUs is equal to the total number of CPUs in the node minus any CPU reservations set by the kubelet configuration. CPUs reserved by these options are taken, in integer quantity, from the initial shared pool in ascending order by physical core ID. This shared pool is the set of CPUs on which any containers in BestEffort and Burstable pods run. Containers in Guaranteed pods with fractional CPU requests also run on CPUs in the shared pool. Only co",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/node-resource-managers/",
    "id": "k8s_00559_qa_10542"
  },
  {
    "question": "What is Node Resource Managers?",
    "answer": "I n   o r d e r   t o   s u p p o r t   l a t e n c y - c r i t i c a l   a n d   h i g h - t h r o u g h p u t   w o r k l o a d s ,   K u b e r n e t e s   o f f e r s   a   s u i t e   o f   R e s o u r c e   M a n a g e r s .   T h e   m a n a g e r s   a i m   t o   c o - o r d i n a t e   a n d   o p t i m i s e   t h e   a l i g n m e n t   o f   n o d e ' s   r e s o u r c e s   f o r   p o d s   c o n f i g u r e d   w i t h   a   s p e c i f i c   r e q u i r e m e n t   f o r   C P U s ,   d e v i c e s ,   a n d   m e m o r y   ( h u g e p a g e s )   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/node-resource-managers/",
    "id": "k8s_00559_section_1_10543"
  },
  {
    "question": "What is Hardware topology alignment policies?",
    "answer": "T o p o l o g y   M a n a g e r   i s   a   k u b e l e t   c o m p o n e n t   t h a t   a i m s   t o   c o o r d i n a t e   t h e   s e t   o f   c o m p o n e n t s   t h a t   a r e   r e s p o n s i b l e   f o r   t h e s e   o p t i m i z a t i o n s .   T h e   o v e r a l l   r e s o u r c e   m a n a g e m e n t   p r o c e s s   i s   g o v e r n e d   u s i n g   t h e   p o l i c y   y o u   s p e c i f y .   T o   l e a r n   m o r e ,   r e a d   C o n t r o l   T o p o l o g y   M a n a g e m e n t   P o l i c i e s   o n   a   N o d e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/node-resource-managers/",
    "id": "k8s_00559_section_2_10544"
  },
  {
    "question": "What is Policies for assigning CPUs to Pods?",
    "answer": "O n c e   a   P o d   i s   b o u n d   t o   a   N o d e ,   t h e   k u b e l e t   o n   t h a t   n o d e   m a y   n e e d   t o   e i t h e r   m u l t i p l e x   t h e   e x i s t i n g   h a r d w a r e   ( f o r   e x a m p l e ,   s h a r i n g   C P U s   a c r o s s   m u l t i p l e   P o d s )   o r   a l l o c a t e   h a r d w a r e   b y   d e d i c a t i n g   s o m e   r e s o u r c e   ( f o r   e x a m p l e ,   a s s i g n i n g   o n e   o f   m o r e   C P U s   f o r   a   P o d ' s   e x c l u s i v e   u s e ) .   B y   d e f a u l t ,   t h e   k u b e l e t   u s e s   C F S   q u o t a   t o   e n f o r c e   p o d   C P U   l i m i t s .   W h e n   t h e   n o d e   r u n s   m a n y   C P U - b o u n d   p o d s ,   t h e   w o r k l o a d   c a n   m o v e   t o   d i f f e r e n t   C P U   c o r e s   d e p e n d i n g   o n   w h e t h e r   t h e   p o d   i s   t h r o t t l e d   a n d   w h i c h   C P U   c o r e s   a r e   a v a i l a b l e   a t   s c h e d u l i n g   t i m e .   M a n y   w o r k l o a d s   a r e   n o t   s e n s i t i v e   t o   t h i s   m i g r a t i o n   a n d   t h u s   w o r k   f i n e   w i t h o u t   a n y   i n t e r v e n t i o n .   H o w e v e r ,   i n   w o r k l o a d s   w h e r e   C P U   c a c h e   a f f i n i t y   a n d   s c h e d u l i n g   l a t e n c y   s i g n i f i c a n t l y   a f f e c t   w o r k l o a d   p e r f o r m a n c e ,   t h e   k u b e l e t   a l l o w s   a l t e r n a t i v e   C P U   m a n a g e m e n t   p o l i c i e s   t o   d e t e r m i n e   s o m e   p l a c e m e n t   p r e f e r e n c e s   o n   t h e   n o d e .   T h i s   i s   i m p l e m e n t e d   u s i n g   t h e   C P U   M a n a g e r   a n d   i t s   p o l i c y .   T h e r e   a r e   t w o   a v a i l a b l e   p o l i c i e s :   n o n e :   t h e   n o n e   p o l i c y   e x p l i c i t l y   e n a b l e s   t h e   e x i s t i n g   d e f a u l t   C P U   a f f i ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/node-resource-managers/",
    "id": "k8s_00559_section_2_10545"
  },
  {
    "question": "What is Note:?",
    "answer": "C P U   M a n a g e r   d o e s n ' t   s u p p o r t   o f f l i n i n g   a n d   o n l i n i n g   o f   C P U s   a t   r u n t i m e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/node-resource-managers/",
    "id": "k8s_00559_section_4_10546"
  },
  {
    "question": "What is Static policy?",
    "answer": "T h e   s t a t i c   p o l i c y   e n a b l e s   f i n e r - g r a i n e d   C P U   m a n a g e m e n t   a n d   e x c l u s i v e   C P U   a s s i g n m e n t .   T h i s   p o l i c y   m a n a g e s   a   s h a r e d   p o o l   o f   C P U s   t h a t   i n i t i a l l y   c o n t a i n s   a l l   C P U s   i n   t h e   n o d e .   T h e   a m o u n t   o f   e x c l u s i v e l y   a l l o c a t a b l e   C P U s   i s   e q u a l   t o   t h e   t o t a l   n u m b e r   o f   C P U s   i n   t h e   n o d e   m i n u s   a n y   C P U   r e s e r v a t i o n s   s e t   b y   t h e   k u b e l e t   c o n f i g u r a t i o n .   C P U s   r e s e r v e d   b y   t h e s e   o p t i o n s   a r e   t a k e n ,   i n   i n t e g e r   q u a n t i t y ,   f r o m   t h e   i n i t i a l   s h a r e d   p o o l   i n   a s c e n d i n g   o r d e r   b y   p h y s i c a l   c o r e   I D .   T h i s   s h a r e d   p o o l   i s   t h e   s e t   o f   C P U s   o n   w h i c h   a n y   c o n t a i n e r s   i n   B e s t E f f o r t   a n d   B u r s t a b l e   p o d s   r u n .   C o n t a i n e r s   i n   G u a r a n t e e d   p o d s   w i t h   f r a c t i o n a l   C P U   r e q u e s t s   a l s o   r u n   o n   C P U s   i n   t h e   s h a r e d   p o o l .   O n l y   c o n t a i n e r s   t h a t   a r e   p a r t   o f   a   G u a r a n t e e d   p o d   a n d   h a v e   i n t e g e r   C P U   r e q u e s t s   a r e   a s s i g n e d   e x c l u s i v e   C P U s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/node-resource-managers/",
    "id": "k8s_00559_section_3_10547"
  },
  {
    "question": "What is Note:?",
    "answer": "A s   G u a r a n t e e d   p o d s   w h o s e   c o n t a i n e r s   f i t   t h e   r e q u i r e m e n t s   f o r   b e i n g   s t a t i c a l l y   a s s i g n e d   a r e   s c h e d u l e d   t o   t h e   n o d e ,   C P U s   a r e   r e m o v e d   f r o m   t h e   s h a r e d   p o o l   a n d   p l a c e d   i n   t h e   c p u s e t   f o r   t h e   c o n t a i n e r .   C F S   q u o t a   i s   n o t   u s e d   t o   b o u n d   t h e   C P U   u s a g e   o f   t h e s e   c o n t a i n e r s   a s   t h e i r   u s a g e   i s   b o u n d   b y   t h e   s c h e d u l i n g   d o m a i n   i t s e l f .   I n   o t h e r s   w o r d s ,   t h e   n u m b e r   o f   C P U s   i n   t h e   c o n t a i n e r   c p u s e t   i s   e q u a l   t o   t h e   i n t e g e r   C P U   l i m i t   s p e c i f i e d   i n   t h e   p o d   s p e c .   T h i s   s t a t i c   a s s i g n m e n t   i n c r e a s e s   C P U   a f f i n i t y   a n d   d e c r e a s e s   c o n t e x t   s w i t c h e s   d u e   t o   t h r o t t l i n g   f o r   t h e   C P U - b o u n d   w o r k l o a d .   C o n s i d e r   t h e   c o n t a i n e r s   i n   t h e   f o l l o w i n g   p o d   s p e c s :   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   T h e   p o d   a b o v e   r u n s   i n   t h e   B e s t E f f o r t   Q o S   c l a s s   b e c a u s e   n o   r e s o u r c e   r e q u e s t s   o r   l i m i t s   a r e   s p e c i f i e d .   I t   r u n s   i n   t h e   s h a r e d   p o o l .   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 2 0 0 M i \"   r e q u e s t s :   m e m o r y :   \" 1 0 0 M i \"   T h e   p o d   a b o v e   r u n s   i n   t h e   B u r s t a b l e   Q o S   c l a s s   b e c a u s e   r e s o u r c e   r e q u e s t s   d o   n o t   e q u a l   l i m i t s   a n d   t h e   c p u   q u ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/node-resource-managers/",
    "id": "k8s_00559_section_4_10548"
  },
  {
    "question": "What is Static policy options?",
    "answer": "H e r e   a r e   t h e   a v a i l a b l e   p o l i c y   o p t i o n s   f o r   t h e   s t a t i c   C P U   m a n a g e m e n t   p o l i c y ,   l i s t e d   i n   a l p h a b e t i c a l   o r d e r :   Y o u   c a n   t o g g l e   g r o u p s   o f   o p t i o n s   o n   a n d   o f f   b a s e d   u p o n   t h e i r   m a t u r i t y   l e v e l   u s i n g   t h e   f o l l o w i n g   f e a t u r e   g a t e s :   C P U M a n a g e r P o l i c y B e t a O p t i o n s   ( d e f a u l t   e n a b l e d ) .   D i s a b l e   t o   h i d e   b e t a - l e v e l   o p t i o n s . C P U M a n a g e r P o l i c y A l p h a O p t i o n s   ( d e f a u l t   d i s a b l e d ) .   E n a b l e   t o   s h o w   a l p h a - l e v e l   o p t i o n s .   Y o u   w i l l   s t i l l   h a v e   t o   e n a b l e   e a c h   o p t i o n   u s i n g   t h e   c p u M a n a g e r P o l i c y O p t i o n s   f i e l d   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e .   F o r   m o r e   d e t a i l   a b o u t   t h e   i n d i v i d u a l   o p t i o n s   y o u   c a n   c o n f i g u r e ,   r e a d   o n .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/node-resource-managers/",
    "id": "k8s_00559_section_4_10549"
  },
  {
    "question": "What is full-pcpus-only?",
    "answer": "I f   t h e   f u l l - p c p u s - o n l y   p o l i c y   o p t i o n   i s   s p e c i f i e d ,   t h e   s t a t i c   p o l i c y   w i l l   a l w a y s   a l l o c a t e   f u l l   p h y s i c a l   c o r e s .   B y   d e f a u l t ,   w i t h o u t   t h i s   o p t i o n ,   t h e   s t a t i c   p o l i c y   a l l o c a t e s   C P U s   u s i n g   a   t o p o l o g y - a w a r e   b e s t - f i t   a l l o c a t i o n .   O n   S M T   e n a b l e d   s y s t e m s ,   t h e   p o l i c y   c a n   a l l o c a t e   i n d i v i d u a l   v i r t u a l   c o r e s ,   w h i c h   c o r r e s p o n d   t o   h a r d w a r e   t h r e a d s .   T h i s   c a n   l e a d   t o   d i f f e r e n t   c o n t a i n e r s   s h a r i n g   t h e   s a m e   p h y s i c a l   c o r e s ;   t h i s   b e h a v i o u r   i n   t u r n   c o n t r i b u t e s   t o   t h e   n o i s y   n e i g h b o u r s   p r o b l e m .   W i t h   t h e   o p t i o n   e n a b l e d ,   t h e   p o d   w i l l   b e   a d m i t t e d   b y   t h e   k u b e l e t   o n l y   i f   t h e   C P U   r e q u e s t   o f   a l l   i t s   c o n t a i n e r s   c a n   b e   f u l f i l l e d   b y   a l l o c a t i n g   f u l l   p h y s i c a l   c o r e s .   I f   t h e   p o d   d o e s   n o t   p a s s   t h e   a d m i s s i o n ,   i t   w i l l   b e   p u t   i n   F a i l e d   s t a t e   w i t h   t h e   m e s s a g e   S M T A l i g n m e n t E r r o r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/node-resource-managers/",
    "id": "k8s_00559_section_5_10550"
  },
  {
    "question": "What is distribute-cpus-across-numa?",
    "answer": "I f   t h e   d i s t r i b u t e - c p u s - a c r o s s - n u m a p o l i c y   o p t i o n   i s   s p e c i f i e d ,   t h e   s t a t i c   p o l i c y   w i l l   e v e n l y   d i s t r i b u t e   C P U s   a c r o s s   N U M A   n o d e s   i n   c a s e s   w h e r e   m o r e   t h a n   o n e   N U M A   n o d e   i s   r e q u i r e d   t o   s a t i s f y   t h e   a l l o c a t i o n .   B y   d e f a u l t ,   t h e   C P U M a n a g e r   w i l l   p a c k   C P U s   o n t o   o n e   N U M A   n o d e   u n t i l   i t   i s   f i l l e d ,   w i t h   a n y   r e m a i n i n g   C P U s   s i m p l y   s p i l l i n g   o v e r   t o   t h e   n e x t   N U M A   n o d e .   T h i s   c a n   c a u s e   u n d e s i r e d   b o t t l e n e c k s   i n   p a r a l l e l   c o d e   r e l y i n g   o n   b a r r i e r s   ( a n d   s i m i l a r   s y n c h r o n i z a t i o n   p r i m i t i v e s ) ,   a s   t h i s   t y p e   o f   c o d e   t e n d s   t o   r u n   o n l y   a s   f a s t   a s   i t s   s l o w e s t   w o r k e r   ( w h i c h   i s   s l o w e d   d o w n   b y   t h e   f a c t   t h a t   f e w e r   C P U s   a r e   a v a i l a b l e   o n   a t   l e a s t   o n e   N U M A   n o d e ) .   B y   d i s t r i b u t i n g   C P U s   e v e n l y   a c r o s s   N U M A   n o d e s ,   a p p l i c a t i o n   d e v e l o p e r s   c a n   m o r e   e a s i l y   e n s u r e   t h a t   n o   s i n g l e   w o r k e r   s u f f e r s   f r o m   N U M A   e f f e c t s   m o r e   t h a n   a n y   o t h e r ,   i m p r o v i n g   t h e   o v e r a l l   p e r f o r m a n c e   o f   t h e s e   t y p e s   o f   a p p l i c a t i o n s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/node-resource-managers/",
    "id": "k8s_00559_section_5_10551"
  },
  {
    "question": "What is align-by-socket?",
    "answer": "I f   t h e   a l i g n - b y - s o c k e t   p o l i c y   o p t i o n   i s   s p e c i f i e d ,   C P U s   w i l l   b e   c o n s i d e r e d   a l i g n e d   a t   t h e   s o c k e t   b o u n d a r y   w h e n   d e c i d i n g   h o w   t o   a l l o c a t e   C P U s   t o   a   c o n t a i n e r .   B y   d e f a u l t ,   t h e   C P U M a n a g e r   a l i g n s   C P U   a l l o c a t i o n s   a t   t h e   N U M A   b o u n d a r y ,   w h i c h   c o u l d   r e s u l t   i n   p e r f o r m a n c e   d e g r a d a t i o n   i f   C P U s   n e e d   t o   b e   p u l l e d   f r o m   m o r e   t h a n   o n e   N U M A   n o d e   t o   s a t i s f y   t h e   a l l o c a t i o n .   A l t h o u g h   i t   t r i e s   t o   e n s u r e   t h a t   a l l   C P U s   a r e   a l l o c a t e d   f r o m   t h e   m i n i m u m   n u m b e r   o f   N U M A   n o d e s ,   t h e r e   i s   n o   g u a r a n t e e   t h a t   t h o s e   N U M A   n o d e s   w i l l   b e   o n   t h e   s a m e   s o c k e t .   B y   d i r e c t i n g   t h e   C P U M a n a g e r   t o   e x p l i c i t l y   a l i g n   C P U s   a t   t h e   s o c k e t   b o u n d a r y   r a t h e r   t h a n   t h e   N U M A   b o u n d a r y ,   w e   a r e   a b l e   t o   a v o i d   s u c h   i s s u e s .   N o t e ,   t h i s   p o l i c y   o p t i o n   i s   n o t   c o m p a t i b l e   w i t h   T o p o l o g y M a n a g e r   s i n g l e - n u m a - n o d e   p o l i c y   a n d   d o e s   n o t   a p p l y   t o   h a r d w a r e   w h e r e   t h e   n u m b e r   o f   s o c k e t s   i s   g r e a t e r   t h a n   n u m b e r   o f   N U M A   n o d e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/node-resource-managers/",
    "id": "k8s_00559_section_5_10552"
  },
  {
    "question": "What is distribute-cpus-across-cores?",
    "answer": "I f   t h e   d i s t r i b u t e - c p u s - a c r o s s - c o r e s   p o l i c y   o p t i o n   i s   s p e c i f i e d ,   t h e   s t a t i c   p o l i c y   w i l l   a t t e m p t   t o   a l l o c a t e   v i r t u a l   c o r e s   ( h a r d w a r e   t h r e a d s )   a c r o s s   d i f f e r e n t   p h y s i c a l   c o r e s .   B y   d e f a u l t ,   t h e   C P U M a n a g e r   t e n d s   t o   p a c k   C P U s   o n t o   a s   f e w   p h y s i c a l   c o r e s   a s   p o s s i b l e ,   w h i c h   c a n   l e a d   t o   c o n t e n t i o n   a m o n g   C P U s   o n   t h e   s a m e   p h y s i c a l   c o r e   a n d   r e s u l t   i n   p e r f o r m a n c e   b o t t l e n e c k s .   B y   e n a b l i n g   t h e   d i s t r i b u t e - c p u s - a c r o s s - c o r e s   p o l i c y ,   t h e   s t a t i c   p o l i c y   e n s u r e s   t h a t   C P U s   a r e   d i s t r i b u t e d   a c r o s s   a s   m a n y   p h y s i c a l   c o r e s   a s   p o s s i b l e ,   r e d u c i n g   t h e   c o n t e n t i o n   o n   t h e   s a m e   p h y s i c a l   c o r e   a n d   t h e r e b y   i m p r o v i n g   o v e r a l l   p e r f o r m a n c e .   H o w e v e r ,   i t   i s   i m p o r t a n t   t o   n o t e   t h a t   t h i s   s t r a t e g y   m i g h t   b e   l e s s   e f f e c t i v e   w h e n   t h e   s y s t e m   i s   h e a v i l y   l o a d e d .   U n d e r   s u c h   c o n d i t i o n s ,   t h e   b e n e f i t   o f   r e d u c i n g   c o n t e n t i o n   d i m i n i s h e s .   C o n v e r s e l y ,   d e f a u l t   b e h a v i o r   c a n   h e l p   i n   r e d u c i n g   i n t e r - c o r e   c o m m u n i c a t i o n   o v e r h e a d ,   p o t e n t i a l l y   p r o v i d i n g   b e t t e r   p e r f o r m a n c e   u n d e r   h i g h   l o a d   c o n d i t i o n s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/node-resource-managers/",
    "id": "k8s_00559_section_5_10553"
  },
  {
    "question": "What is strict-cpu-reservation?",
    "answer": "T h e   r e s e r v e d S y s t e m C P U s   p a r a m e t e r   i n   K u b e l e t C o n f i g u r a t i o n ,   o r   t h e   d e p r e c a t e d   k u b e l e t   c o m m a n d   l i n e   o p t i o n   - - r e s e r v e d - c p u s ,   d e f i n e s   a n   e x p l i c i t   C P U   s e t   f o r   O S   s y s t e m   d a e m o n s   a n d   k u b e r n e t e s   s y s t e m   d a e m o n s .   M o r e   d e t a i l s   o f   t h i s   p a r a m e t e r   c a n   b e   f o u n d   o n   t h e   E x p l i c i t l y   R e s e r v e d   C P U   L i s t   p a g e .   B y   d e f a u l t ,   t h i s   i s o l a t i o n   i s   i m p l e m e n t e d   o n l y   f o r   g u a r a n t e e d   p o d s   w i t h   i n t e g e r   C P U   r e q u e s t s   n o t   f o r   b u r s t a b l e   a n d   b e s t - e f f o r t   p o d s   ( a n d   g u a r a n t e e d   p o d s   w i t h   f r a c t i o n a l   C P U   r e q u e s t s ) .   A d m i s s i o n   i s   o n l y   c o m p a r i n g   t h e   C P U   r e q u e s t s   a g a i n s t   t h e   a l l o c a t a b l e   C P U s .   S i n c e   t h e   C P U   l i m i t   i s   h i g h e r   t h a n   t h e   r e q u e s t ,   t h e   d e f a u l t   b e h a v i o u r   a l l o w s   b u r s t a b l e   a n d   b e s t - e f f o r t   p o d s   t o   u s e   u p   t h e   c a p a c i t y   o f   r e s e r v e d S y s t e m C P U s   a n d   c a u s e   h o s t   O S   s e r v i c e s   t o   s t a r v e   i n   r e a l   l i f e   d e p l o y m e n t s .   I f   t h e   s t r i c t - c p u - r e s e r v a t i o n   p o l i c y   o p t i o n   i s   e n a b l e d ,   t h e   s t a t i c   p o l i c y   w i l l   n o t   a l l o w   a n y   w o r k l o a d   t o   u s e   t h e   C P U   c o r e s   s p e c i f i e d   i n   r e s e r v e d S y s t e m C P U s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/node-resource-managers/",
    "id": "k8s_00559_section_5_10554"
  },
  {
    "question": "What is prefer-align-cpus-by-uncorecache?",
    "answer": "I f   t h e   p r e f e r - a l i g n - c p u s - b y - u n c o r e c a c h e   p o l i c y   i s   s p e c i f i e d ,   t h e   s t a t i c   p o l i c y   w i l l   a l l o c a t e   C P U   r e s o u r c e s   f o r   i n d i v i d u a l   c o n t a i n e r s   s u c h   t h a t   a l l   C P U s   a s s i g n e d   t o   a   c o n t a i n e r   s h a r e   t h e   s a m e   u n c o r e   c a c h e   b l o c k   ( a l s o   k n o w n   a s   t h e   L a s t - L e v e l   C a c h e   o r   L L C ) .   B y   d e f a u l t ,   t h e   C P U M a n a g e r   w i l l   t i g h t l y   p a c k   C P U   a s s i g n m e n t s   w h i c h   c a n   r e s u l t   i n   c o n t a i n e r s   b e i n g   a s s i g n e d   C P U s   f r o m   m u l t i p l e   u n c o r e   c a c h e s .   T h i s   o p t i o n   e n a b l e s   t h e   C P U M a n a g e r   t o   a l l o c a t e   C P U s   i n   a   w a y   t h a t   m a x i m i z e s   t h e   e f f i c i e n t   u s e   o f   t h e   u n c o r e   c a c h e .   A l l o c a t i o n   i s   p e r f o r m e d   o n   a   b e s t - e f f o r t   b a s i s ,   a i m i n g   t o   a f f i n e   a s   m a n y   C P U s   a s   p o s s i b l e   w i t h i n   t h e   s a m e   u n c o r e   c a c h e .   I f   t h e   c o n t a i n e r ' s   C P U   r e q u i r e m e n t   e x c e e d s   t h e   C P U   c a p a c i t y   o f   a   s i n g l e   u n c o r e   c a c h e ,   t h e   C P U M a n a g e r   m i n i m i z e s   t h e   n u m b e r   o f   u n c o r e   c a c h e s   u s e d   i n   o r d e r   t o   m a i n t a i n   o p t i m a l   u n c o r e   c a c h e   a l i g n m e n t .   S p e c i f i c   w o r k l o a d s   c a n   b e n e f i t   i n   p e r f o r m a n c e   f r o m   t h e   r e d u c t i o n   o f   i n t e r - c a c h e   l a t e n c y   a n d   n o i s y   n e i g h b o r s   a t   t h e   c a c h e   l e v e l .   I f   t h e   C P U M a n a g e r   c a n n o t   a l i g n   o p t i m a l l y   w h i ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/node-resource-managers/",
    "id": "k8s_00559_section_5_10555"
  },
  {
    "question": "What is Memory Management Policies?",
    "answer": "T h e   K u b e r n e t e s   M e m o r y   M a n a g e r   e n a b l e s   t h e   f e a t u r e   o f   g u a r a n t e e d   m e m o r y   ( a n d   h u g e p a g e s )   a l l o c a t i o n   f o r   p o d s   i n   t h e   G u a r a n t e e d   Q o S   c l a s s .   T h e   M e m o r y   M a n a g e r   e m p l o y s   h i n t   g e n e r a t i o n   p r o t o c o l   t o   y i e l d   t h e   m o s t   s u i t a b l e   N U M A   a f f i n i t y   f o r   a   p o d .   T h e   M e m o r y   M a n a g e r   f e e d s   t h e   c e n t r a l   m a n a g e r   ( T o p o l o g y   M a n a g e r )   w i t h   t h e s e   a f f i n i t y   h i n t s .   B a s e d   o n   b o t h   t h e   h i n t s   a n d   T o p o l o g y   M a n a g e r   p o l i c y ,   t h e   p o d   i s   r e j e c t e d   o r   a d m i t t e d   t o   t h e   n o d e .   M o r e o v e r ,   t h e   M e m o r y   M a n a g e r   e n s u r e s   t h a t   t h e   m e m o r y   w h i c h   a   p o d   r e q u e s t s   i s   a l l o c a t e d   f r o m   a   m i n i m u m   n u m b e r   o f   N U M A   n o d e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/node-resource-managers/",
    "id": "k8s_00559_section_2_10556"
  },
  {
    "question": "What is Other resource managers?",
    "answer": "T h e   c o n f i g u r a t i o n   o f   i n d i v i d u a l   m a n a g e r s   i s   e l a b o r a t e d   i n   d e d i c a t e d   d o c u m e n t s :   D e v i c e   M a n a g e r",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/policy/node-resource-managers/",
    "id": "k8s_00559_section_2_10557"
  },
  {
    "question": "What is Overview?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.OverviewKubernetes is a portable, extensible, open source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available.1: Kubernetes Components2: Objects In Kubernetes2.1: Kubernetes Object Management2.2: Object Names and IDs2.3: Labels and Selectors2.4: Namespaces2.5: Annotations2.6: Field Selectors2.7: Finalizers2.8: Owners and Dependents2.9: Recommended Labels3: The Kubernetes APIThis page is an overview of Kubernetes.The name Kubernetes originates from Greek, meaning helmsman or pilot. K8s as an abbreviation results from counting the eight letters between the \"K\" and the \"s\". Google open-sourced the Kubernetes project in 2014. Kubernetes combines over 15 years of Google's experience running production workloads at scale with best-of-breed ideas and practices from the community.Why you need Kubernetes and what it can doContainers are a good way to bundle and run your applications. In a production environment, you need to manage the containers that run the applications and ensure that there is no downtime. For example, if a container goes down, another container needs to start. Wouldn't it be easier if this behavior was handled by a system?That's how Kubernetes comes to the rescue! Kubernetes provides you with a framework to run distributed systems resiliently. It takes care of scaling and failover for your application, provides deployment patterns, and more. For example: Kubernetes can easily manage a canary deployment for your system.Kubernetes provides you with:Service discovery and load balancing Kubernetes can expose a container using the DNS name or using their own IP address. If traffic to a container is high, Kubernetes is able to load balance and distribute the network traffic so that the deployment is stable.Storage orchestration Kubernetes allows you to automatically mount a storage system of your choice, such as local storages, public cloud providers, and more.Automated rollouts and rollbacks You can describe the desired state for your deployed containers using Kubernetes, and it can change the actual state to the desired state at a controlled rate. For example, you can automate Kubernetes to create new containers for your deployment, remove existing containers and adopt all their resources to the new container.Automatic bin packing You provide Kubernetes with a cluster of nodes that it can use to run containerized tasks. You tell Kubernetes how much CPU and memory (RAM) each container needs. Kubernetes can fit containers onto your nodes to make the best use of your resources.Self-healing Kubernetes restarts containers that fail, replaces containers, kills containers that don't respond to your user-defined health check, and doesn't advertise them to client",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_qa_10558"
  },
  {
    "question": "How does Overview work?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.OverviewKubernetes is a portable, extensible, open source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available.1: Kubernetes Components2: Objects In Kubernetes2.1: Kubernetes Object Management2.2: Object Names and IDs2.3: Labels and Selectors2.4: Namespaces2.5: Annotations2.6: Field Selectors2.7: Finalizers2.8: Owners and Dependents2.9: Recommended Labels3: The Kubernetes APIThis page is an overview of Kubernetes.The name Kubernetes originates from Greek, meaning helmsman or pilot. K8s as an abbreviation results from counting the eight letters between the \"K\" and the \"s\". Google open-sourced the Kubernetes project in 2014. Kubernetes combines over 15 years of Google's experience running production workloads at scale with best-of-breed ideas and practices from the community.Why you need Kubernetes and what it can doContainers are a good way to bundle and run your applications. In a production environment, you need to manage the containers that run the applications and ensure that there is no downtime. For example, if a container goes down, another container needs to start. Wouldn't it be easier if this behavior was handled by a system?That's how Kubernetes comes to the rescue! Kubernetes provides you with a framework to run distributed systems resiliently. It takes care of scaling and failover for your application, provides deployment patterns, and more. For example: Kubernetes can easily manage a canary deployment for your system.Kubernetes provides you with:Service discovery and load balancing Kubernetes can expose a container using the DNS name or using their own IP address. If traffic to a container is high, Kubernetes is able to load balance and distribute the network traffic so that the deployment is stable.Storage orchestration Kubernetes allows you to automatically mount a storage system of your choice, such as local storages, public cloud providers, and more.Automated rollouts and rollbacks You can describe the desired state for your deployed containers using Kubernetes, and it can change the actual state to the desired state at a controlled rate. For example, you can automate Kubernetes to create new containers for your deployment, remove existing containers and adopt all their resources to the new container.Automatic bin packing You provide Kubernetes with a cluster of nodes that it can use to run containerized tasks. You tell Kubernetes how much CPU and memory (RAM) each container needs. Kubernetes can fit containers onto your nodes to make the best use of your resources.Self-healing Kubernetes restarts containers that fail, replaces containers, kills containers that don't respond to your user-defined health check, and doesn't advertise them to client",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_qa_10559"
  },
  {
    "question": "When would you use Overview?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.OverviewKubernetes is a portable, extensible, open source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available.1: Kubernetes Components2: Objects In Kubernetes2.1: Kubernetes Object Management2.2: Object Names and IDs2.3: Labels and Selectors2.4: Namespaces2.5: Annotations2.6: Field Selectors2.7: Finalizers2.8: Owners and Dependents2.9: Recommended Labels3: The Kubernetes APIThis page is an overview of Kubernetes.The name Kubernetes originates from Greek, meaning helmsman or pilot. K8s as an abbreviation results from counting the eight letters between the \"K\" and the \"s\". Google open-sourced the Kubernetes project in 2014. Kubernetes combines over 15 years of Google's experience running production workloads at scale with best-of-breed ideas and practices from the community.Why you need Kubernetes and what it can doContainers are a good way to bundle and run your applications. In a production environment, you need to manage the containers that run the applications and ensure that there is no downtime. For example, if a container goes down, another container needs to start. Wouldn't it be easier if this behavior was handled by a system?That's how Kubernetes comes to the rescue! Kubernetes provides you with a framework to run distributed systems resiliently. It takes care of scaling and failover for your application, provides deployment patterns, and more. For example: Kubernetes can easily manage a canary deployment for your system.Kubernetes provides you with:Service discovery and load balancing Kubernetes can expose a container using the DNS name or using their own IP address. If traffic to a container is high, Kubernetes is able to load balance and distribute the network traffic so that the deployment is stable.Storage orchestration Kubernetes allows you to automatically mount a storage system of your choice, such as local storages, public cloud providers, and more.Automated rollouts and rollbacks You can describe the desired state for your deployed containers using Kubernetes, and it can change the actual state to the desired state at a controlled rate. For example, you can automate Kubernetes to create new containers for your deployment, remove existing containers and adopt all their resources to the new container.Automatic bin packing You provide Kubernetes with a cluster of nodes that it can use to run containerized tasks. You tell Kubernetes how much CPU and memory (RAM) each container needs. Kubernetes can fit containers onto your nodes to make the best use of your resources.Self-healing Kubernetes restarts containers that fail, replaces containers, kills containers that don't respond to your user-defined health check, and doesn't advertise them to client",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_qa_10560"
  },
  {
    "question": "What are the benefits of Overview?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.OverviewKubernetes is a portable, extensible, open source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available.1: Kubernetes Components2: Objects In Kubernetes2.1: Kubernetes Object Management2.2: Object Names and IDs2.3: Labels and Selectors2.4: Namespaces2.5: Annotations2.6: Field Selectors2.7: Finalizers2.8: Owners and Dependents2.9: Recommended Labels3: The Kubernetes APIThis page is an overview of Kubernetes.The name Kubernetes originates from Greek, meaning helmsman or pilot. K8s as an abbreviation results from counting the eight letters between the \"K\" and the \"s\". Google open-sourced the Kubernetes project in 2014. Kubernetes combines over 15 years of Google's experience running production workloads at scale with best-of-breed ideas and practices from the community.Why you need Kubernetes and what it can doContainers are a good way to bundle and run your applications. In a production environment, you need to manage the containers that run the applications and ensure that there is no downtime. For example, if a container goes down, another container needs to start. Wouldn't it be easier if this behavior was handled by a system?That's how Kubernetes comes to the rescue! Kubernetes provides you with a framework to run distributed systems resiliently. It takes care of scaling and failover for your application, provides deployment patterns, and more. For example: Kubernetes can easily manage a canary deployment for your system.Kubernetes provides you with:Service discovery and load balancing Kubernetes can expose a container using the DNS name or using their own IP address. If traffic to a container is high, Kubernetes is able to load balance and distribute the network traffic so that the deployment is stable.Storage orchestration Kubernetes allows you to automatically mount a storage system of your choice, such as local storages, public cloud providers, and more.Automated rollouts and rollbacks You can describe the desired state for your deployed containers using Kubernetes, and it can change the actual state to the desired state at a controlled rate. For example, you can automate Kubernetes to create new containers for your deployment, remove existing containers and adopt all their resources to the new container.Automatic bin packing You provide Kubernetes with a cluster of nodes that it can use to run containerized tasks. You tell Kubernetes how much CPU and memory (RAM) each container needs. Kubernetes can fit containers onto your nodes to make the best use of your resources.Self-healing Kubernetes restarts containers that fail, replaces containers, kills containers that don't respond to your user-defined health check, and doesn't advertise them to client",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_qa_10561"
  },
  {
    "question": "What is Overview?",
    "answer": "1 :   K u b e r n e t e s   C o m p o n e n t s 2 :   O b j e c t s   I n   K u b e r n e t e s 2 . 1 :   K u b e r n e t e s   O b j e c t   M a n a g e m e n t 2 . 2 :   O b j e c t   N a m e s   a n d   I D s 2 . 3 :   L a b e l s   a n d   S e l e c t o r s 2 . 4 :   N a m e s p a c e s 2 . 5 :   A n n o t a t i o n s 2 . 6 :   F i e l d   S e l e c t o r s 2 . 7 :   F i n a l i z e r s 2 . 8 :   O w n e r s   a n d   D e p e n d e n t s 2 . 9 :   R e c o m m e n d e d   L a b e l s 3 :   T h e   K u b e r n e t e s   A P I   2 . 1 :   K u b e r n e t e s   O b j e c t   M a n a g e m e n t 2 . 2 :   O b j e c t   N a m e s   a n d   I D s 2 . 3 :   L a b e l s   a n d   S e l e c t o r s 2 . 4 :   N a m e s p a c e s 2 . 5 :   A n n o t a t i o n s 2 . 6 :   F i e l d   S e l e c t o r s 2 . 7 :   F i n a l i z e r s 2 . 8 :   O w n e r s   a n d   D e p e n d e n t s 2 . 9 :   R e c o m m e n d e d   L a b e l s   T h i s   p a g e   i s   a n   o v e r v i e w   o f   K u b e r n e t e s .   T h e   n a m e   K u b e r n e t e s   o r i g i n a t e s   f r o m   G r e e k ,   m e a n i n g   h e l m s m a n   o r   p i l o t .   K 8 s   a s   a n   a b b r e v i a t i o n   r e s u l t s   f r o m   c o u n t i n g   t h e   e i g h t   l e t t e r s   b e t w e e n   t h e   \" K \"   a n d   t h e   \" s \" .   G o o g l e   o p e n - s o u r c e d   t h e   K u b e r n e t e s   p r o j e c t   i n   2 0 1 4 .   K u b e r n e t e s   c o m b i n e s   o v e r   1 5   y e a r s   o f   G o o g l e ' s   e x p e r i e n c e   r u n n i n g   p r o d u c t i o n   w o r k l o a d s   a t   s c a l e   w i t h   b e s t - o f - b r e e d   i d e a s   a n d   p r a c t i c e s   f r o m   t h e   c o m m u n i t y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_1_10562"
  },
  {
    "question": "What is Why you need Kubernetes and what it can do?",
    "answer": "C o n t a i n e r s   a r e   a   g o o d   w a y   t o   b u n d l e   a n d   r u n   y o u r   a p p l i c a t i o n s .   I n   a   p r o d u c t i o n   e n v i r o n m e n t ,   y o u   n e e d   t o   m a n a g e   t h e   c o n t a i n e r s   t h a t   r u n   t h e   a p p l i c a t i o n s   a n d   e n s u r e   t h a t   t h e r e   i s   n o   d o w n t i m e .   F o r   e x a m p l e ,   i f   a   c o n t a i n e r   g o e s   d o w n ,   a n o t h e r   c o n t a i n e r   n e e d s   t o   s t a r t .   W o u l d n ' t   i t   b e   e a s i e r   i f   t h i s   b e h a v i o r   w a s   h a n d l e d   b y   a   s y s t e m ?   T h a t ' s   h o w   K u b e r n e t e s   c o m e s   t o   t h e   r e s c u e !   K u b e r n e t e s   p r o v i d e s   y o u   w i t h   a   f r a m e w o r k   t o   r u n   d i s t r i b u t e d   s y s t e m s   r e s i l i e n t l y .   I t   t a k e s   c a r e   o f   s c a l i n g   a n d   f a i l o v e r   f o r   y o u r   a p p l i c a t i o n ,   p r o v i d e s   d e p l o y m e n t   p a t t e r n s ,   a n d   m o r e .   F o r   e x a m p l e :   K u b e r n e t e s   c a n   e a s i l y   m a n a g e   a   c a n a r y   d e p l o y m e n t   f o r   y o u r   s y s t e m .   K u b e r n e t e s   p r o v i d e s   y o u   w i t h :   S e r v i c e   d i s c o v e r y   a n d   l o a d   b a l a n c i n g   K u b e r n e t e s   c a n   e x p o s e   a   c o n t a i n e r   u s i n g   t h e   D N S   n a m e   o r   u s i n g   t h e i r   o w n   I P   a d d r e s s .   I f   t r a f f i c   t o   a   c o n t a i n e r   i s   h i g h ,   K u b e r n e t e s   i s   a b l e   t o   l o a d   b a l a n c e   a n d   d i s t r i b u t e   t h e   n e t w o r k   t r a f f i c   s o   t h a t   t h e   d e p l o y m e n t   i s   s t a b l e . S t o r a g e   o r c h e s t r a t i o n   K u b e r n e t e s   a l l o w s   y o u   t o   a u t o m a t i c a l l y   m o u n t   a   s t o r a g e   s y s t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10563"
  },
  {
    "question": "What is What Kubernetes is not?",
    "answer": "K u b e r n e t e s   i s   n o t   a   t r a d i t i o n a l ,   a l l - i n c l u s i v e   P a a S   ( P l a t f o r m   a s   a   S e r v i c e )   s y s t e m .   S i n c e   K u b e r n e t e s   o p e r a t e s   a t   t h e   c o n t a i n e r   l e v e l   r a t h e r   t h a n   a t   t h e   h a r d w a r e   l e v e l ,   i t   p r o v i d e s   s o m e   g e n e r a l l y   a p p l i c a b l e   f e a t u r e s   c o m m o n   t o   P a a S   o f f e r i n g s ,   s u c h   a s   d e p l o y m e n t ,   s c a l i n g ,   l o a d   b a l a n c i n g ,   a n d   l e t s   u s e r s   i n t e g r a t e   t h e i r   l o g g i n g ,   m o n i t o r i n g ,   a n d   a l e r t i n g   s o l u t i o n s .   H o w e v e r ,   K u b e r n e t e s   i s   n o t   m o n o l i t h i c ,   a n d   t h e s e   d e f a u l t   s o l u t i o n s   a r e   o p t i o n a l   a n d   p l u g g a b l e .   K u b e r n e t e s   p r o v i d e s   t h e   b u i l d i n g   b l o c k s   f o r   b u i l d i n g   d e v e l o p e r   p l a t f o r m s ,   b u t   p r e s e r v e s   u s e r   c h o i c e   a n d   f l e x i b i l i t y   w h e r e   i t   i s   i m p o r t a n t .   K u b e r n e t e s :   D o e s   n o t   l i m i t   t h e   t y p e s   o f   a p p l i c a t i o n s   s u p p o r t e d .   K u b e r n e t e s   a i m s   t o   s u p p o r t   a n   e x t r e m e l y   d i v e r s e   v a r i e t y   o f   w o r k l o a d s ,   i n c l u d i n g   s t a t e l e s s ,   s t a t e f u l ,   a n d   d a t a - p r o c e s s i n g   w o r k l o a d s .   I f   a n   a p p l i c a t i o n   c a n   r u n   i n   a   c o n t a i n e r ,   i t   s h o u l d   r u n   g r e a t   o n   K u b e r n e t e s . D o e s   n o t   d e p l o y   s o u r c e   c o d e   a n d   d o e s   n o t   b u i l d   y o u r   a p p l i c a t i o n .   C o n t i n u o u s   I n t e g r a t i o n ,   D e l i v e r y ,   a n d   D e p l o y m e n t   ( C I / C D )   w o r k f l o w s   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10564"
  },
  {
    "question": "What is Historical context for Kubernetes?",
    "answer": "L e t ' s   t a k e   a   l o o k   a t   w h y   K u b e r n e t e s   i s   s o   u s e f u l   b y   g o i n g   b a c k   i n   t i m e .   T r a d i t i o n a l   d e p l o y m e n t   e r a :   E a r l y   o n ,   o r g a n i z a t i o n s   r a n   a p p l i c a t i o n s   o n   p h y s i c a l   s e r v e r s .   T h e r e   w a s   n o   w a y   t o   d e f i n e   r e s o u r c e   b o u n d a r i e s   f o r   a p p l i c a t i o n s   i n   a   p h y s i c a l   s e r v e r ,   a n d   t h i s   c a u s e d   r e s o u r c e   a l l o c a t i o n   i s s u e s .   F o r   e x a m p l e ,   i f   m u l t i p l e   a p p l i c a t i o n s   r u n   o n   a   p h y s i c a l   s e r v e r ,   t h e r e   c a n   b e   i n s t a n c e s   w h e r e   o n e   a p p l i c a t i o n   w o u l d   t a k e   u p   m o s t   o f   t h e   r e s o u r c e s ,   a n d   a s   a   r e s u l t ,   t h e   o t h e r   a p p l i c a t i o n s   w o u l d   u n d e r p e r f o r m .   A   s o l u t i o n   f o r   t h i s   w o u l d   b e   t o   r u n   e a c h   a p p l i c a t i o n   o n   a   d i f f e r e n t   p h y s i c a l   s e r v e r .   B u t   t h i s   d i d   n o t   s c a l e   a s   r e s o u r c e s   w e r e   u n d e r u t i l i z e d ,   a n d   i t   w a s   e x p e n s i v e   f o r   o r g a n i z a t i o n s   t o   m a i n t a i n   m a n y   p h y s i c a l   s e r v e r s .   V i r t u a l i z e d   d e p l o y m e n t   e r a :   A s   a   s o l u t i o n ,   v i r t u a l i z a t i o n   w a s   i n t r o d u c e d .   I t   a l l o w s   y o u   t o   r u n   m u l t i p l e   V i r t u a l   M a c h i n e s   ( V M s )   o n   a   s i n g l e   p h y s i c a l   s e r v e r ' s   C P U .   V i r t u a l i z a t i o n   a l l o w s   a p p l i c a t i o n s   t o   b e   i s o l a t e d   b e t w e e n   V M s   a n d   p r o v i d e s   a   l e v e l   o f   s e c u r i t y   a s   t h e   i n f o r m a t i o n   o f   o n e   a p p l ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10565"
  },
  {
    "question": "What is What's next?",
    "answer": "T a k e   a   l o o k   a t   t h e   K u b e r n e t e s   C o m p o n e n t s T a k e   a   l o o k   a t   t h e   T h e   K u b e r n e t e s   A P I T a k e   a   l o o k   a t   t h e   C l u s t e r   A r c h i t e c t u r e R e a d y   t o   G e t   S t a r t e d ?",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10566"
  },
  {
    "question": "What is 1 - Kubernetes Components?",
    "answer": "T h i s   p a g e   p r o v i d e s   a   h i g h - l e v e l   o v e r v i e w   o f   t h e   e s s e n t i a l   c o m p o n e n t s   t h a t   m a k e   u p   a   K u b e r n e t e s   c l u s t e r .   T h e   c o m p o n e n t s   o f   a   K u b e r n e t e s   c l u s t e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_1_10567"
  },
  {
    "question": "What is Core Components?",
    "answer": "A   K u b e r n e t e s   c l u s t e r   c o n s i s t s   o f   a   c o n t r o l   p l a n e   a n d   o n e   o r   m o r e   w o r k e r   n o d e s .   H e r e ' s   a   b r i e f   o v e r v i e w   o f   t h e   m a i n   c o m p o n e n t s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10568"
  },
  {
    "question": "What is Control Plane Components?",
    "answer": "M a n a g e   t h e   o v e r a l l   s t a t e   o f   t h e   c l u s t e r :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10569"
  },
  {
    "question": "What is Node Components?",
    "answer": "R u n   o n   e v e r y   n o d e ,   m a i n t a i n i n g   r u n n i n g   p o d s   a n d   p r o v i d i n g   t h e   K u b e r n e t e s   r u n t i m e   e n v i r o n m e n t :   Y o u r   c l u s t e r   m a y   r e q u i r e   a d d i t i o n a l   s o f t w a r e   o n   e a c h   n o d e ;   f o r   e x a m p l e ,   y o u   m i g h t   a l s o   r u n   s y s t e m d   o n   a   L i n u x   n o d e   t o   s u p e r v i s e   l o c a l   c o m p o n e n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10570"
  },
  {
    "question": "What is Addons?",
    "answer": "A d d o n s   e x t e n d   t h e   f u n c t i o n a l i t y   o f   K u b e r n e t e s .   A   f e w   i m p o r t a n t   e x a m p l e s   i n c l u d e :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10571"
  },
  {
    "question": "What is Flexibility in Architecture?",
    "answer": "K u b e r n e t e s   a l l o w s   f o r   f l e x i b i l i t y   i n   h o w   t h e s e   c o m p o n e n t s   a r e   d e p l o y e d   a n d   m a n a g e d .   T h e   a r c h i t e c t u r e   c a n   b e   a d a p t e d   t o   v a r i o u s   n e e d s ,   f r o m   s m a l l   d e v e l o p m e n t   e n v i r o n m e n t s   t o   l a r g e - s c a l e   p r o d u c t i o n   d e p l o y m e n t s .   F o r   m o r e   d e t a i l e d   i n f o r m a t i o n   a b o u t   e a c h   c o m p o n e n t   a n d   v a r i o u s   w a y s   t o   c o n f i g u r e   y o u r   c l u s t e r   a r c h i t e c t u r e ,   s e e   t h e   C l u s t e r   A r c h i t e c t u r e   p a g e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10572"
  },
  {
    "question": "What is 2 - Objects In Kubernetes?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   K u b e r n e t e s   o b j e c t s   a r e   r e p r e s e n t e d   i n   t h e   K u b e r n e t e s   A P I ,   a n d   h o w   y o u   c a n   e x p r e s s   t h e m   i n   . y a m l   f o r m a t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_1_10573"
  },
  {
    "question": "What is Understanding Kubernetes objects?",
    "answer": "K u b e r n e t e s   o b j e c t s   a r e   p e r s i s t e n t   e n t i t i e s   i n   t h e   K u b e r n e t e s   s y s t e m .   K u b e r n e t e s   u s e s   t h e s e   e n t i t i e s   t o   r e p r e s e n t   t h e   s t a t e   o f   y o u r   c l u s t e r .   S p e c i f i c a l l y ,   t h e y   c a n   d e s c r i b e :   W h a t   c o n t a i n e r i z e d   a p p l i c a t i o n s   a r e   r u n n i n g   ( a n d   o n   w h i c h   n o d e s ) T h e   r e s o u r c e s   a v a i l a b l e   t o   t h o s e   a p p l i c a t i o n s T h e   p o l i c i e s   a r o u n d   h o w   t h o s e   a p p l i c a t i o n s   b e h a v e ,   s u c h   a s   r e s t a r t   p o l i c i e s ,   u p g r a d e s ,   a n d   f a u l t - t o l e r a n c e   A   K u b e r n e t e s   o b j e c t   i s   a   \" r e c o r d   o f   i n t e n t \" - - o n c e   y o u   c r e a t e   t h e   o b j e c t ,   t h e   K u b e r n e t e s   s y s t e m   w i l l   c o n s t a n t l y   w o r k   t o   e n s u r e   t h a t   t h e   o b j e c t   e x i s t s .   B y   c r e a t i n g   a n   o b j e c t ,   y o u ' r e   e f f e c t i v e l y   t e l l i n g   t h e   K u b e r n e t e s   s y s t e m   w h a t   y o u   w a n t   y o u r   c l u s t e r ' s   w o r k l o a d   t o   l o o k   l i k e ;   t h i s   i s   y o u r   c l u s t e r ' s   d e s i r e d   s t a t e .   T o   w o r k   w i t h   K u b e r n e t e s   o b j e c t s — w h e t h e r   t o   c r e a t e ,   m o d i f y ,   o r   d e l e t e   t h e m — y o u ' l l   n e e d   t o   u s e   t h e   K u b e r n e t e s   A P I .   W h e n   y o u   u s e   t h e   k u b e c t l   c o m m a n d - l i n e   i n t e r f a c e ,   f o r   e x a m p l e ,   t h e   C L I   m a k e s   t h e   n e c e s s a r y   K u b e r n e t e s   A P I   c a l l s   f o r   y o u .   Y o u   c a n   a l s o   u s e   t h e   K u b e r n e t e s   A P I   d i r e c t l y   i n   y o u r   o w n   p r o g r a m s   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10574"
  },
  {
    "question": "What is Object spec and status?",
    "answer": "A l m o s t   e v e r y   K u b e r n e t e s   o b j e c t   i n c l u d e s   t w o   n e s t e d   o b j e c t   f i e l d s   t h a t   g o v e r n   t h e   o b j e c t ' s   c o n f i g u r a t i o n :   t h e   o b j e c t   s p e c   a n d   t h e   o b j e c t   s t a t u s .   F o r   o b j e c t s   t h a t   h a v e   a   s p e c ,   y o u   h a v e   t o   s e t   t h i s   w h e n   y o u   c r e a t e   t h e   o b j e c t ,   p r o v i d i n g   a   d e s c r i p t i o n   o f   t h e   c h a r a c t e r i s t i c s   y o u   w a n t   t h e   r e s o u r c e   t o   h a v e :   i t s   d e s i r e d   s t a t e .   T h e   s t a t u s   d e s c r i b e s   t h e   c u r r e n t   s t a t e   o f   t h e   o b j e c t ,   s u p p l i e d   a n d   u p d a t e d   b y   t h e   K u b e r n e t e s   s y s t e m   a n d   i t s   c o m p o n e n t s .   T h e   K u b e r n e t e s   c o n t r o l   p l a n e   c o n t i n u a l l y   a n d   a c t i v e l y   m a n a g e s   e v e r y   o b j e c t ' s   a c t u a l   s t a t e   t o   m a t c h   t h e   d e s i r e d   s t a t e   y o u   s u p p l i e d .   F o r   e x a m p l e :   i n   K u b e r n e t e s ,   a   D e p l o y m e n t   i s   a n   o b j e c t   t h a t   c a n   r e p r e s e n t   a n   a p p l i c a t i o n   r u n n i n g   o n   y o u r   c l u s t e r .   W h e n   y o u   c r e a t e   t h e   D e p l o y m e n t ,   y o u   m i g h t   s e t   t h e   D e p l o y m e n t   s p e c   t o   s p e c i f y   t h a t   y o u   w a n t   t h r e e   r e p l i c a s   o f   t h e   a p p l i c a t i o n   t o   b e   r u n n i n g .   T h e   K u b e r n e t e s   s y s t e m   r e a d s   t h e   D e p l o y m e n t   s p e c   a n d   s t a r t s   t h r e e   i n s t a n c e s   o f   y o u r   d e s i r e d   a p p l i c a t i o n - - u p d a t i n g   t h e   s t a t u s   t o   m a t c h   y o u r   s p e c .   I f   a n y   o f   t h o s e   i n s t a n c e s   s h o u l d ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10575"
  },
  {
    "question": "What is Describing a Kubernetes object?",
    "answer": "W h e n   y o u   c r e a t e   a n   o b j e c t   i n   K u b e r n e t e s ,   y o u   m u s t   p r o v i d e   t h e   o b j e c t   s p e c   t h a t   d e s c r i b e s   i t s   d e s i r e d   s t a t e ,   a s   w e l l   a s   s o m e   b a s i c   i n f o r m a t i o n   a b o u t   t h e   o b j e c t   ( s u c h   a s   a   n a m e ) .   W h e n   y o u   u s e   t h e   K u b e r n e t e s   A P I   t o   c r e a t e   t h e   o b j e c t   ( e i t h e r   d i r e c t l y   o r   v i a   k u b e c t l ) ,   t h a t   A P I   r e q u e s t   m u s t   i n c l u d e   t h a t   i n f o r m a t i o n   a s   J S O N   i n   t h e   r e q u e s t   b o d y .   M o s t   o f t e n ,   y o u   p r o v i d e   t h e   i n f o r m a t i o n   t o   k u b e c t l   i n   a   f i l e   k n o w n   a s   a   m a n i f e s t .   B y   c o n v e n t i o n ,   m a n i f e s t s   a r e   Y A M L   ( y o u   c o u l d   a l s o   u s e   J S O N   f o r m a t ) .   T o o l s   s u c h   a s   k u b e c t l   c o n v e r t   t h e   i n f o r m a t i o n   f r o m   a   m a n i f e s t   i n t o   J S O N   o r   a n o t h e r   s u p p o r t e d   s e r i a l i z a t i o n   f o r m a t   w h e n   m a k i n g   t h e   A P I   r e q u e s t   o v e r   H T T P .   H e r e ' s   a n   e x a m p l e   m a n i f e s t   t h a t   s h o w s   t h e   r e q u i r e d   f i e l d s   a n d   o b j e c t   s p e c   f o r   a   K u b e r n e t e s   D e p l o y m e n t :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   r e p l i c a s :   2   #   t e l l s   d e p l o y m e n t   t o   r u n   2   p o d s   m a t c h i n g   t h e   t e m p l a t e   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e : ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10576"
  },
  {
    "question": "What is Required fields?",
    "answer": "I n   t h e   m a n i f e s t   ( Y A M L   o r   J S O N   f i l e )   f o r   t h e   K u b e r n e t e s   o b j e c t   y o u   w a n t   t o   c r e a t e ,   y o u ' l l   n e e d   t o   s e t   v a l u e s   f o r   t h e   f o l l o w i n g   f i e l d s :   a p i V e r s i o n   -   W h i c h   v e r s i o n   o f   t h e   K u b e r n e t e s   A P I   y o u ' r e   u s i n g   t o   c r e a t e   t h i s   o b j e c t k i n d   -   W h a t   k i n d   o f   o b j e c t   y o u   w a n t   t o   c r e a t e m e t a d a t a   -   D a t a   t h a t   h e l p s   u n i q u e l y   i d e n t i f y   t h e   o b j e c t ,   i n c l u d i n g   a   n a m e   s t r i n g ,   U I D ,   a n d   o p t i o n a l   n a m e s p a c e s p e c   -   W h a t   s t a t e   y o u   d e s i r e   f o r   t h e   o b j e c t   T h e   p r e c i s e   f o r m a t   o f   t h e   o b j e c t   s p e c   i s   d i f f e r e n t   f o r   e v e r y   K u b e r n e t e s   o b j e c t ,   a n d   c o n t a i n s   n e s t e d   f i e l d s   s p e c i f i c   t o   t h a t   o b j e c t .   T h e   K u b e r n e t e s   A P I   R e f e r e n c e   c a n   h e l p   y o u   f i n d   t h e   s p e c   f o r m a t   f o r   a l l   o f   t h e   o b j e c t s   y o u   c a n   c r e a t e   u s i n g   K u b e r n e t e s .   F o r   e x a m p l e ,   s e e   t h e   s p e c   f i e l d   f o r   t h e   P o d   A P I   r e f e r e n c e .   F o r   e a c h   P o d ,   t h e   . s p e c   f i e l d   s p e c i f i e s   t h e   p o d   a n d   i t s   d e s i r e d   s t a t e   ( s u c h   a s   t h e   c o n t a i n e r   i m a g e   n a m e   f o r   e a c h   c o n t a i n e r   w i t h i n   t h a t   p o d ) .   A n o t h e r   e x a m p l e   o f   a n   o b j e c t   s p e c i f i c a t i o n   i s   t h e   s p e c   f i e l d   f o r   t h e   S t a t e f u l S e t   A P I .   F o r   S t a t e f u l S e t ,   t h e   . s p e c   f i e l d   s p e c i f i e s   t h e   S ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10577"
  },
  {
    "question": "What is Server side field validation?",
    "answer": "S t a r t i n g   w i t h   K u b e r n e t e s   v 1 . 2 5 ,   t h e   A P I   s e r v e r   o f f e r s   s e r v e r   s i d e   f i e l d   v a l i d a t i o n   t h a t   d e t e c t s   u n r e c o g n i z e d   o r   d u p l i c a t e   f i e l d s   i n   a n   o b j e c t .   I t   p r o v i d e s   a l l   t h e   f u n c t i o n a l i t y   o f   k u b e c t l   - - v a l i d a t e   o n   t h e   s e r v e r   s i d e .   T h e   k u b e c t l   t o o l   u s e s   t h e   - - v a l i d a t e   f l a g   t o   s e t   t h e   l e v e l   o f   f i e l d   v a l i d a t i o n .   I t   a c c e p t s   t h e   v a l u e s   i g n o r e ,   w a r n ,   a n d   s t r i c t   w h i l e   a l s o   a c c e p t i n g   t h e   v a l u e s   t r u e   ( e q u i v a l e n t   t o   s t r i c t )   a n d   f a l s e   ( e q u i v a l e n t   t o   i g n o r e ) .   T h e   d e f a u l t   v a l i d a t i o n   s e t t i n g   f o r   k u b e c t l   i s   - - v a l i d a t e = t r u e .   W h e n   k u b e c t l   c a n n o t   c o n n e c t   t o   a n   A P I   s e r v e r   t h a t   s u p p o r t s   f i e l d   v a l i d a t i o n   i t   w i l l   f a l l   b a c k   t o   u s i n g   c l i e n t - s i d e   v a l i d a t i o n .   K u b e r n e t e s   1 . 2 7   a n d   l a t e r   v e r s i o n s   a l w a y s   o f f e r   f i e l d   v a l i d a t i o n ;   o l d e r   K u b e r n e t e s   r e l e a s e s   m i g h t   n o t .   I f   y o u r   c l u s t e r   i s   o l d e r   t h a n   v 1 . 2 7 ,   c h e c k   t h e   d o c u m e n t a t i o n   f o r   y o u r   v e r s i o n   o f   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10578"
  },
  {
    "question": "What is What's next?",
    "answer": "I f   y o u ' r e   n e w   t o   K u b e r n e t e s ,   r e a d   m o r e   a b o u t   t h e   f o l l o w i n g :   P o d s   w h i c h   a r e   t h e   m o s t   i m p o r t a n t   b a s i c   K u b e r n e t e s   o b j e c t s . D e p l o y m e n t   o b j e c t s . C o n t r o l l e r s   i n   K u b e r n e t e s . k u b e c t l   a n d   k u b e c t l   c o m m a n d s .   K u b e r n e t e s   O b j e c t   M a n a g e m e n t   e x p l a i n s   h o w   t o   u s e   k u b e c t l   t o   m a n a g e   o b j e c t s .   Y o u   m i g h t   n e e d   t o   i n s t a l l   k u b e c t l   i f   y o u   d o n ' t   a l r e a d y   h a v e   i t   a v a i l a b l e .   T o   l e a r n   a b o u t   t h e   K u b e r n e t e s   A P I   i n   g e n e r a l ,   v i s i t :   K u b e r n e t e s   A P I   o v e r v i e w   T o   l e a r n   a b o u t   o b j e c t s   i n   K u b e r n e t e s   i n   m o r e   d e p t h ,   r e a d   o t h e r   p a g e s   i n   t h i s   s e c t i o n :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10579"
  },
  {
    "question": "What is 2.1 - Kubernetes Object Management?",
    "answer": "T h e   k u b e c t l   c o m m a n d - l i n e   t o o l   s u p p o r t s   s e v e r a l   d i f f e r e n t   w a y s   t o   c r e a t e   a n d   m a n a g e   K u b e r n e t e s   o b j e c t s .   T h i s   d o c u m e n t   p r o v i d e s   a n   o v e r v i e w   o f   t h e   d i f f e r e n t   a p p r o a c h e s .   R e a d   t h e   K u b e c t l   b o o k   f o r   d e t a i l s   o f   m a n a g i n g   o b j e c t s   b y   K u b e c t l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_1_10580"
  },
  {
    "question": "What is Imperative commands?",
    "answer": "W h e n   u s i n g   i m p e r a t i v e   c o m m a n d s ,   a   u s e r   o p e r a t e s   d i r e c t l y   o n   l i v e   o b j e c t s   i n   a   c l u s t e r .   T h e   u s e r   p r o v i d e s   o p e r a t i o n s   t o   t h e   k u b e c t l   c o m m a n d   a s   a r g u m e n t s   o r   f l a g s .   T h i s   i s   t h e   r e c o m m e n d e d   w a y   t o   g e t   s t a r t e d   o r   t o   r u n   a   o n e - o f f   t a s k   i n   a   c l u s t e r .   B e c a u s e   t h i s   t e c h n i q u e   o p e r a t e s   d i r e c t l y   o n   l i v e   o b j e c t s ,   i t   p r o v i d e s   n o   h i s t o r y   o f   p r e v i o u s   c o n f i g u r a t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10581"
  },
  {
    "question": "What is Examples?",
    "answer": "R u n   a n   i n s t a n c e   o f   t h e   n g i n x   c o n t a i n e r   b y   c r e a t i n g   a   D e p l o y m e n t   o b j e c t :   k u b e c t l   c r e a t e   d e p l o y m e n t   n g i n x   - - i m a g e   n g i n x",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10582"
  },
  {
    "question": "What is Trade-offs?",
    "answer": "A d v a n t a g e s   c o m p a r e d   t o   o b j e c t   c o n f i g u r a t i o n :   C o m m a n d s   a r e   e x p r e s s e d   a s   a   s i n g l e   a c t i o n   w o r d . C o m m a n d s   r e q u i r e   o n l y   a   s i n g l e   s t e p   t o   m a k e   c h a n g e s   t o   t h e   c l u s t e r .   D i s a d v a n t a g e s   c o m p a r e d   t o   o b j e c t   c o n f i g u r a t i o n :   C o m m a n d s   d o   n o t   i n t e g r a t e   w i t h   c h a n g e   r e v i e w   p r o c e s s e s . C o m m a n d s   d o   n o t   p r o v i d e   a n   a u d i t   t r a i l   a s s o c i a t e d   w i t h   c h a n g e s . C o m m a n d s   d o   n o t   p r o v i d e   a   s o u r c e   o f   r e c o r d s   e x c e p t   f o r   w h a t   i s   l i v e . C o m m a n d s   d o   n o t   p r o v i d e   a   t e m p l a t e   f o r   c r e a t i n g   n e w   o b j e c t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10583"
  },
  {
    "question": "What is Imperative object configuration?",
    "answer": "I n   i m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n ,   t h e   k u b e c t l   c o m m a n d   s p e c i f i e s   t h e   o p e r a t i o n   ( c r e a t e ,   r e p l a c e ,   e t c . ) ,   o p t i o n a l   f l a g s   a n d   a t   l e a s t   o n e   f i l e   n a m e .   T h e   f i l e   s p e c i f i e d   m u s t   c o n t a i n   a   f u l l   d e f i n i t i o n   o f   t h e   o b j e c t   i n   Y A M L   o r   J S O N   f o r m a t .   S e e   t h e   A P I   r e f e r e n c e   f o r   m o r e   d e t a i l s   o n   o b j e c t   d e f i n i t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10584"
  },
  {
    "question": "What is Examples?",
    "answer": "C r e a t e   t h e   o b j e c t s   d e f i n e d   i n   a   c o n f i g u r a t i o n   f i l e :   k u b e c t l   c r e a t e   - f   n g i n x . y a m l   D e l e t e   t h e   o b j e c t s   d e f i n e d   i n   t w o   c o n f i g u r a t i o n   f i l e s :   k u b e c t l   d e l e t e   - f   n g i n x . y a m l   - f   r e d i s . y a m l   U p d a t e   t h e   o b j e c t s   d e f i n e d   i n   a   c o n f i g u r a t i o n   f i l e   b y   o v e r w r i t i n g   t h e   l i v e   c o n f i g u r a t i o n :   k u b e c t l   r e p l a c e   - f   n g i n x . y a m l",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10585"
  },
  {
    "question": "What is Trade-offs?",
    "answer": "A d v a n t a g e s   c o m p a r e d   t o   i m p e r a t i v e   c o m m a n d s :   O b j e c t   c o n f i g u r a t i o n   c a n   b e   s t o r e d   i n   a   s o u r c e   c o n t r o l   s y s t e m   s u c h   a s   G i t . O b j e c t   c o n f i g u r a t i o n   c a n   i n t e g r a t e   w i t h   p r o c e s s e s   s u c h   a s   r e v i e w i n g   c h a n g e s   b e f o r e   p u s h   a n d   a u d i t   t r a i l s . O b j e c t   c o n f i g u r a t i o n   p r o v i d e s   a   t e m p l a t e   f o r   c r e a t i n g   n e w   o b j e c t s .   D i s a d v a n t a g e s   c o m p a r e d   t o   i m p e r a t i v e   c o m m a n d s :   O b j e c t   c o n f i g u r a t i o n   r e q u i r e s   b a s i c   u n d e r s t a n d i n g   o f   t h e   o b j e c t   s c h e m a . O b j e c t   c o n f i g u r a t i o n   r e q u i r e s   t h e   a d d i t i o n a l   s t e p   o f   w r i t i n g   a   Y A M L   f i l e .   A d v a n t a g e s   c o m p a r e d   t o   d e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n :   I m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n   b e h a v i o r   i s   s i m p l e r   a n d   e a s i e r   t o   u n d e r s t a n d . A s   o f   K u b e r n e t e s   v e r s i o n   1 . 5 ,   i m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n   i s   m o r e   m a t u r e .   D i s a d v a n t a g e s   c o m p a r e d   t o   d e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n :   I m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n   w o r k s   b e s t   o n   f i l e s ,   n o t   d i r e c t o r i e s . U p d a t e s   t o   l i v e   o b j e c t s   m u s t   b e   r e f l e c t e d   i n   c o n f i g u r a t i o n   f i l e s ,   o r   t h e y   w i l l   b e   l o s t   d u r i n g   t h e   n e x t   r e p l a c e m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10586"
  },
  {
    "question": "What is Declarative object configuration?",
    "answer": "W h e n   u s i n g   d e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n ,   a   u s e r   o p e r a t e s   o n   o b j e c t   c o n f i g u r a t i o n   f i l e s   s t o r e d   l o c a l l y ,   h o w e v e r   t h e   u s e r   d o e s   n o t   d e f i n e   t h e   o p e r a t i o n s   t o   b e   t a k e n   o n   t h e   f i l e s .   C r e a t e ,   u p d a t e ,   a n d   d e l e t e   o p e r a t i o n s   a r e   a u t o m a t i c a l l y   d e t e c t e d   p e r - o b j e c t   b y   k u b e c t l .   T h i s   e n a b l e s   w o r k i n g   o n   d i r e c t o r i e s ,   w h e r e   d i f f e r e n t   o p e r a t i o n s   m i g h t   b e   n e e d e d   f o r   d i f f e r e n t   o b j e c t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10587"
  },
  {
    "question": "What is Examples?",
    "answer": "P r o c e s s   a l l   o b j e c t   c o n f i g u r a t i o n   f i l e s   i n   t h e   c o n f i g s   d i r e c t o r y ,   a n d   c r e a t e   o r   p a t c h   t h e   l i v e   o b j e c t s .   Y o u   c a n   f i r s t   d i f f   t o   s e e   w h a t   c h a n g e s   a r e   g o i n g   t o   b e   m a d e ,   a n d   t h e n   a p p l y :   k u b e c t l   d i f f   - f   c o n f i g s /   k u b e c t l   a p p l y   - f   c o n f i g s /   R e c u r s i v e l y   p r o c e s s   d i r e c t o r i e s :   k u b e c t l   d i f f   - R   - f   c o n f i g s /   k u b e c t l   a p p l y   - R   - f   c o n f i g s /",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10588"
  },
  {
    "question": "What is Trade-offs?",
    "answer": "A d v a n t a g e s   c o m p a r e d   t o   i m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n :   C h a n g e s   m a d e   d i r e c t l y   t o   l i v e   o b j e c t s   a r e   r e t a i n e d ,   e v e n   i f   t h e y   a r e   n o t   m e r g e d   b a c k   i n t o   t h e   c o n f i g u r a t i o n   f i l e s . D e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n   h a s   b e t t e r   s u p p o r t   f o r   o p e r a t i n g   o n   d i r e c t o r i e s   a n d   a u t o m a t i c a l l y   d e t e c t i n g   o p e r a t i o n   t y p e s   ( c r e a t e ,   p a t c h ,   d e l e t e )   p e r - o b j e c t .   D i s a d v a n t a g e s   c o m p a r e d   t o   i m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n :   D e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n   i s   h a r d e r   t o   d e b u g   a n d   u n d e r s t a n d   r e s u l t s   w h e n   t h e y   a r e   u n e x p e c t e d . P a r t i a l   u p d a t e s   u s i n g   d i f f s   c r e a t e   c o m p l e x   m e r g e   a n d   p a t c h   o p e r a t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10589"
  },
  {
    "question": "What is What's next?",
    "answer": "M a n a g i n g   K u b e r n e t e s   O b j e c t s   U s i n g   I m p e r a t i v e   C o m m a n d s I m p e r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s D e c l a r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s D e c l a r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   K u s t o m i z e K u b e c t l   C o m m a n d   R e f e r e n c e K u b e c t l   B o o k K u b e r n e t e s   A P I   R e f e r e n c e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10590"
  },
  {
    "question": "What is 2.2 - Object Names and IDs?",
    "answer": "E a c h   o b j e c t   i n   y o u r   c l u s t e r   h a s   a   N a m e   t h a t   i s   u n i q u e   f o r   t h a t   t y p e   o f   r e s o u r c e .   E v e r y   K u b e r n e t e s   o b j e c t   a l s o   h a s   a   U I D   t h a t   i s   u n i q u e   a c r o s s   y o u r   w h o l e   c l u s t e r .   F o r   e x a m p l e ,   y o u   c a n   o n l y   h a v e   o n e   P o d   n a m e d   m y a p p - 1 2 3 4   w i t h i n   t h e   s a m e   n a m e s p a c e ,   b u t   y o u   c a n   h a v e   o n e   P o d   a n d   o n e   D e p l o y m e n t   t h a t   a r e   e a c h   n a m e d   m y a p p - 1 2 3 4 .   F o r   n o n - u n i q u e   u s e r - p r o v i d e d   a t t r i b u t e s ,   K u b e r n e t e s   p r o v i d e s   l a b e l s   a n d   a n n o t a t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_1_10591"
  },
  {
    "question": "What is Names?",
    "answer": "A   c l i e n t - p r o v i d e d   s t r i n g   t h a t   r e f e r s   t o   a n   o b j e c t   i n   a   r e s o u r c e   U R L ,   s u c h   a s   / a p i / v 1 / p o d s / s o m e - n a m e .   O n l y   o n e   o b j e c t   o f   a   g i v e n   k i n d   c a n   h a v e   a   g i v e n   n a m e   a t   a   t i m e .   H o w e v e r ,   i f   y o u   d e l e t e   t h e   o b j e c t ,   y o u   c a n   m a k e   a   n e w   o b j e c t   w i t h   t h e   s a m e   n a m e .   N a m e s   m u s t   b e   u n i q u e   a c r o s s   a l l   A P I   v e r s i o n s   o f   t h e   s a m e   r e s o u r c e .   A P I   r e s o u r c e s   a r e   d i s t i n g u i s h e d   b y   t h e i r   A P I   g r o u p ,   r e s o u r c e   t y p e ,   n a m e s p a c e   ( f o r   n a m e s p a c e d   r e s o u r c e s ) ,   a n d   n a m e .   I n   o t h e r   w o r d s ,   A P I   v e r s i o n   i s   i r r e l e v a n t   i n   t h i s   c o n t e x t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10592"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   s e r v e r   m a y   g e n e r a t e   a   n a m e   w h e n   g e n e r a t e N a m e   i s   p r o v i d e d   i n s t e a d   o f   n a m e   i n   a   r e s o u r c e   c r e a t e   r e q u e s t .   W h e n   g e n e r a t e N a m e   i s   u s e d ,   t h e   p r o v i d e d   v a l u e   i s   u s e d   a s   a   n a m e   p r e f i x ,   w h i c h   s e r v e r   a p p e n d s   a   g e n e r a t e d   s u f f i x   t o .   E v e n   t h o u g h   t h e   n a m e   i s   g e n e r a t e d ,   i t   m a y   c o n f l i c t   w i t h   e x i s t i n g   n a m e s   r e s u l t i n g   i n   a   H T T P   4 0 9   r e s p o n s e .   T h i s   b e c a m e   f a r   l e s s   l i k e l y   t o   h a p p e n   i n   K u b e r n e t e s   v 1 . 3 1   a n d   l a t e r ,   s i n c e   t h e   s e r v e r   w i l l   m a k e   u p   t o   8   a t t e m p t   t o   g e n e r a t e   a   u n i q u e   n a m e   b e f o r e   r e t u r n i n g   a   H T T P   4 0 9   r e s p o n s e .   B e l o w   a r e   f o u r   t y p e s   o f   c o m m o n l y   u s e d   n a m e   c o n s t r a i n t s   f o r   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_4_10593"
  },
  {
    "question": "What is DNS Subdomain Names?",
    "answer": "M o s t   r e s o u r c e   t y p e s   r e q u i r e   a   n a m e   t h a t   c a n   b e   u s e d   a s   a   D N S   s u b d o m a i n   n a m e   a s   d e f i n e d   i n   R F C   1 1 2 3 .   T h i s   m e a n s   t h e   n a m e   m u s t :   c o n t a i n   n o   m o r e   t h a n   2 5 3   c h a r a c t e r s c o n t a i n   o n l y   l o w e r c a s e   a l p h a n u m e r i c   c h a r a c t e r s ,   ' - '   o r   ' . ' s t a r t   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r e n d   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10594"
  },
  {
    "question": "What is RFC 1123 Label Names?",
    "answer": "S o m e   r e s o u r c e   t y p e s   r e q u i r e   t h e i r   n a m e s   t o   f o l l o w   t h e   D N S   l a b e l   s t a n d a r d   a s   d e f i n e d   i n   R F C   1 1 2 3 .   T h i s   m e a n s   t h e   n a m e   m u s t :   c o n t a i n   a t   m o s t   6 3   c h a r a c t e r s c o n t a i n   o n l y   l o w e r c a s e   a l p h a n u m e r i c   c h a r a c t e r s   o r   ' - ' s t a r t   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r e n d   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10595"
  },
  {
    "question": "What is RFC 1035 Label Names?",
    "answer": "S o m e   r e s o u r c e   t y p e s   r e q u i r e   t h e i r   n a m e s   t o   f o l l o w   t h e   D N S   l a b e l   s t a n d a r d   a s   d e f i n e d   i n   R F C   1 0 3 5 .   T h i s   m e a n s   t h e   n a m e   m u s t :   c o n t a i n   a t   m o s t   6 3   c h a r a c t e r s c o n t a i n   o n l y   l o w e r c a s e   a l p h a n u m e r i c   c h a r a c t e r s   o r   ' - ' s t a r t   w i t h   a n   a l p h a b e t i c   c h a r a c t e r e n d   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10596"
  },
  {
    "question": "What is Path Segment Names?",
    "answer": "S o m e   r e s o u r c e   t y p e s   r e q u i r e   t h e i r   n a m e s   t o   b e   a b l e   t o   b e   s a f e l y   e n c o d e d   a s   a   p a t h   s e g m e n t .   I n   o t h e r   w o r d s ,   t h e   n a m e   m a y   n o t   b e   \" . \"   o r   \" . . \"   a n d   t h e   n a m e   m a y   n o t   c o n t a i n   \" / \"   o r   \" % \" .   H e r e ' s   a n   e x a m p l e   m a n i f e s t   f o r   a   P o d   n a m e d   n g i n x - d e m o .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10597"
  },
  {
    "question": "What is UIDs?",
    "answer": "A   K u b e r n e t e s   s y s t e m s - g e n e r a t e d   s t r i n g   t o   u n i q u e l y   i d e n t i f y   o b j e c t s .   E v e r y   o b j e c t   c r e a t e d   o v e r   t h e   w h o l e   l i f e t i m e   o f   a   K u b e r n e t e s   c l u s t e r   h a s   a   d i s t i n c t   U I D .   I t   i s   i n t e n d e d   t o   d i s t i n g u i s h   b e t w e e n   h i s t o r i c a l   o c c u r r e n c e s   o f   s i m i l a r   e n t i t i e s .   K u b e r n e t e s   U I D s   a r e   u n i v e r s a l l y   u n i q u e   i d e n t i f i e r s   ( a l s o   k n o w n   a s   U U I D s ) .   U U I D s   a r e   s t a n d a r d i z e d   a s   I S O / I E C   9 8 3 4 - 8   a n d   a s   I T U - T   X . 6 6 7 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10598"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   l a b e l s   a n d   a n n o t a t i o n s   i n   K u b e r n e t e s . S e e   t h e   I d e n t i f i e r s   a n d   N a m e s   i n   K u b e r n e t e s   d e s i g n   d o c u m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10599"
  },
  {
    "question": "What is 2.3 - Labels and Selectors?",
    "answer": "L a b e l s   a r e   k e y / v a l u e   p a i r s   t h a t   a r e   a t t a c h e d   t o   o b j e c t s   s u c h   a s   P o d s .   L a b e l s   a r e   i n t e n d e d   t o   b e   u s e d   t o   s p e c i f y   i d e n t i f y i n g   a t t r i b u t e s   o f   o b j e c t s   t h a t   a r e   m e a n i n g f u l   a n d   r e l e v a n t   t o   u s e r s ,   b u t   d o   n o t   d i r e c t l y   i m p l y   s e m a n t i c s   t o   t h e   c o r e   s y s t e m .   L a b e l s   c a n   b e   u s e d   t o   o r g a n i z e   a n d   t o   s e l e c t   s u b s e t s   o f   o b j e c t s .   L a b e l s   c a n   b e   a t t a c h e d   t o   o b j e c t s   a t   c r e a t i o n   t i m e   a n d   s u b s e q u e n t l y   a d d e d   a n d   m o d i f i e d   a t   a n y   t i m e .   E a c h   o b j e c t   c a n   h a v e   a   s e t   o f   k e y / v a l u e   l a b e l s   d e f i n e d .   E a c h   K e y   m u s t   b e   u n i q u e   f o r   a   g i v e n   o b j e c t .   \" m e t a d a t a \" :   {   \" l a b e l s \" :   {   \" k e y 1 \"   :   \" v a l u e 1 \" ,   \" k e y 2 \"   :   \" v a l u e 2 \"   }   }   L a b e l s   a l l o w   f o r   e f f i c i e n t   q u e r i e s   a n d   w a t c h e s   a n d   a r e   i d e a l   f o r   u s e   i n   U I s   a n d   C L I s .   N o n - i d e n t i f y i n g   i n f o r m a t i o n   s h o u l d   b e   r e c o r d e d   u s i n g   a n n o t a t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_1_10600"
  },
  {
    "question": "What is Motivation?",
    "answer": "L a b e l s   e n a b l e   u s e r s   t o   m a p   t h e i r   o w n   o r g a n i z a t i o n a l   s t r u c t u r e s   o n t o   s y s t e m   o b j e c t s   i n   a   l o o s e l y   c o u p l e d   f a s h i o n ,   w i t h o u t   r e q u i r i n g   c l i e n t s   t o   s t o r e   t h e s e   m a p p i n g s .   S e r v i c e   d e p l o y m e n t s   a n d   b a t c h   p r o c e s s i n g   p i p e l i n e s   a r e   o f t e n   m u l t i - d i m e n s i o n a l   e n t i t i e s   ( e . g . ,   m u l t i p l e   p a r t i t i o n s   o r   d e p l o y m e n t s ,   m u l t i p l e   r e l e a s e   t r a c k s ,   m u l t i p l e   t i e r s ,   m u l t i p l e   m i c r o - s e r v i c e s   p e r   t i e r ) .   M a n a g e m e n t   o f t e n   r e q u i r e s   c r o s s - c u t t i n g   o p e r a t i o n s ,   w h i c h   b r e a k s   e n c a p s u l a t i o n   o f   s t r i c t l y   h i e r a r c h i c a l   r e p r e s e n t a t i o n s ,   e s p e c i a l l y   r i g i d   h i e r a r c h i e s   d e t e r m i n e d   b y   t h e   i n f r a s t r u c t u r e   r a t h e r   t h a n   b y   u s e r s .   E x a m p l e   l a b e l s :   \" r e l e a s e \"   :   \" s t a b l e \" ,   \" r e l e a s e \"   :   \" c a n a r y \" \" e n v i r o n m e n t \"   :   \" d e v \" ,   \" e n v i r o n m e n t \"   :   \" q a \" ,   \" e n v i r o n m e n t \"   :   \" p r o d u c t i o n \" \" t i e r \"   :   \" f r o n t e n d \" ,   \" t i e r \"   :   \" b a c k e n d \" ,   \" t i e r \"   :   \" c a c h e \" \" p a r t i t i o n \"   :   \" c u s t o m e r A \" ,   \" p a r t i t i o n \"   :   \" c u s t o m e r B \" \" t r a c k \"   :   \" d a i l y \" ,   \" t r a c k \"   :   \" w e e k l y \"   T h e s e   a r e   e x a m p l e s   o f   c o m m o n l y   u s e d   l a b e l s ;   y o u   a r e   f r e e   t o   d e v e l o p   y o u r   o w n   c o n v e n t i o n s .   K e e p   i n   m i n d   t h a t   l a b e l   K e y   m u s t   b e   u n i q u e   f o r   a   g i v e n   o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10601"
  },
  {
    "question": "What is Syntax and character set?",
    "answer": "L a b e l s   a r e   k e y / v a l u e   p a i r s .   V a l i d   l a b e l   k e y s   h a v e   t w o   s e g m e n t s :   a n   o p t i o n a l   p r e f i x   a n d   n a m e ,   s e p a r a t e d   b y   a   s l a s h   ( / ) .   T h e   n a m e   s e g m e n t   i s   r e q u i r e d   a n d   m u s t   b e   6 3   c h a r a c t e r s   o r   l e s s ,   b e g i n n i n g   a n d   e n d i n g   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r   ( [ a - z 0 - 9 A - Z ] )   w i t h   d a s h e s   ( - ) ,   u n d e r s c o r e s   ( _ ) ,   d o t s   ( . ) ,   a n d   a l p h a n u m e r i c s   b e t w e e n .   T h e   p r e f i x   i s   o p t i o n a l .   I f   s p e c i f i e d ,   t h e   p r e f i x   m u s t   b e   a   D N S   s u b d o m a i n :   a   s e r i e s   o f   D N S   l a b e l s   s e p a r a t e d   b y   d o t s   ( . ) ,   n o t   l o n g e r   t h a n   2 5 3   c h a r a c t e r s   i n   t o t a l ,   f o l l o w e d   b y   a   s l a s h   ( / ) .   I f   t h e   p r e f i x   i s   o m i t t e d ,   t h e   l a b e l   K e y   i s   p r e s u m e d   t o   b e   p r i v a t e   t o   t h e   u s e r .   A u t o m a t e d   s y s t e m   c o m p o n e n t s   ( e . g .   k u b e - s c h e d u l e r ,   k u b e - c o n t r o l l e r - m a n a g e r ,   k u b e - a p i s e r v e r ,   k u b e c t l ,   o r   o t h e r   t h i r d - p a r t y   a u t o m a t i o n )   w h i c h   a d d   l a b e l s   t o   e n d - u s e r   o b j e c t s   m u s t   s p e c i f y   a   p r e f i x .   T h e   k u b e r n e t e s . i o /   a n d   k 8 s . i o /   p r e f i x e s   a r e   r e s e r v e d   f o r   K u b e r n e t e s   c o r e   c o m p o n e n t s .   V a l i d   l a b e l   v a l u e :   m u s t   b e   6 3   c h a r a c t e r s   o r   l e s s   ( c a n   b e   e m p t y ) , u n l e s s   e m p t y ,   m u s t   b e g i n   a n d   e n d   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r   ( [ a - z 0 - 9 A ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10602"
  },
  {
    "question": "What is Label selectors?",
    "answer": "U n l i k e   n a m e s   a n d   U I D s ,   l a b e l s   d o   n o t   p r o v i d e   u n i q u e n e s s .   I n   g e n e r a l ,   w e   e x p e c t   m a n y   o b j e c t s   t o   c a r r y   t h e   s a m e   l a b e l ( s ) .   V i a   a   l a b e l   s e l e c t o r ,   t h e   c l i e n t / u s e r   c a n   i d e n t i f y   a   s e t   o f   o b j e c t s .   T h e   l a b e l   s e l e c t o r   i s   t h e   c o r e   g r o u p i n g   p r i m i t i v e   i n   K u b e r n e t e s .   T h e   A P I   c u r r e n t l y   s u p p o r t s   t w o   t y p e s   o f   s e l e c t o r s :   e q u a l i t y - b a s e d   a n d   s e t - b a s e d .   A   l a b e l   s e l e c t o r   c a n   b e   m a d e   o f   m u l t i p l e   r e q u i r e m e n t s   w h i c h   a r e   c o m m a - s e p a r a t e d .   I n   t h e   c a s e   o f   m u l t i p l e   r e q u i r e m e n t s ,   a l l   m u s t   b e   s a t i s f i e d   s o   t h e   c o m m a   s e p a r a t o r   a c t s   a s   a   l o g i c a l   A N D   ( & & )   o p e r a t o r .   T h e   s e m a n t i c s   o f   e m p t y   o r   n o n - s p e c i f i e d   s e l e c t o r s   a r e   d e p e n d e n t   o n   t h e   c o n t e x t ,   a n d   A P I   t y p e s   t h a t   u s e   s e l e c t o r s   s h o u l d   d o c u m e n t   t h e   v a l i d i t y   a n d   m e a n i n g   o f   t h e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10603"
  },
  {
    "question": "What is Equality-based requirement?",
    "answer": "E q u a l i t y -   o r   i n e q u a l i t y - b a s e d   r e q u i r e m e n t s   a l l o w   f i l t e r i n g   b y   l a b e l   k e y s   a n d   v a l u e s .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s ,   t h o u g h   t h e y   m a y   h a v e   a d d i t i o n a l   l a b e l s   a s   w e l l .   T h r e e   k i n d s   o f   o p e r a t o r s   a r e   a d m i t t e d   = , = = , ! = .   T h e   f i r s t   t w o   r e p r e s e n t   e q u a l i t y   ( a n d   a r e   s y n o n y m s ) ,   w h i l e   t h e   l a t t e r   r e p r e s e n t s   i n e q u a l i t y .   F o r   e x a m p l e :   e n v i r o n m e n t   =   p r o d u c t i o n   t i e r   ! =   f r o n t e n d   T h e   f o r m e r   s e l e c t s   a l l   r e s o u r c e s   w i t h   k e y   e q u a l   t o   e n v i r o n m e n t   a n d   v a l u e   e q u a l   t o   p r o d u c t i o n .   T h e   l a t t e r   s e l e c t s   a l l   r e s o u r c e s   w i t h   k e y   e q u a l   t o   t i e r   a n d   v a l u e   d i s t i n c t   f r o m   f r o n t e n d ,   a n d   a l l   r e s o u r c e s   w i t h   n o   l a b e l s   w i t h   t h e   t i e r   k e y .   O n e   c o u l d   f i l t e r   f o r   r e s o u r c e s   i n   p r o d u c t i o n   e x c l u d i n g   f r o n t e n d   u s i n g   t h e   c o m m a   o p e r a t o r :   e n v i r o n m e n t = p r o d u c t i o n , t i e r ! = f r o n t e n d   O n e   u s a g e   s c e n a r i o   f o r   e q u a l i t y - b a s e d   l a b e l   r e q u i r e m e n t   i s   f o r   P o d s   t o   s p e c i f y   n o d e   s e l e c t i o n   c r i t e r i a .   F o r   e x a m p l e ,   t h e   s a m p l e   P o d   b e l o w   s e l e c t s   n o d e s   w h e r e   t h e   a c c e l e r a t o r   l a b e l   e x i s t s   a n d   i s   s e t   t o   n v i d i a - t e s l a - p 1 0 0 .   a p i V e r s i o n :   v 1   k i n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10604"
  },
  {
    "question": "What is Set-based requirement?",
    "answer": "S e t - b a s e d   l a b e l   r e q u i r e m e n t s   a l l o w   f i l t e r i n g   k e y s   a c c o r d i n g   t o   a   s e t   o f   v a l u e s .   T h r e e   k i n d s   o f   o p e r a t o r s   a r e   s u p p o r t e d :   i n , n o t i n   a n d   e x i s t s   ( o n l y   t h e   k e y   i d e n t i f i e r ) .   F o r   e x a m p l e :   e n v i r o n m e n t   i n   ( p r o d u c t i o n ,   q a )   t i e r   n o t i n   ( f r o n t e n d ,   b a c k e n d )   p a r t i t i o n   ! p a r t i t i o n   T h e   f i r s t   e x a m p l e   s e l e c t s   a l l   r e s o u r c e s   w i t h   k e y   e q u a l   t o   e n v i r o n m e n t   a n d   v a l u e   e q u a l   t o   p r o d u c t i o n   o r   q a . T h e   s e c o n d   e x a m p l e   s e l e c t s   a l l   r e s o u r c e s   w i t h   k e y   e q u a l   t o   t i e r   a n d   v a l u e s   o t h e r   t h a n   f r o n t e n d   a n d   b a c k e n d ,   a n d   a l l   r e s o u r c e s   w i t h   n o   l a b e l s   w i t h   t h e   t i e r   k e y . T h e   t h i r d   e x a m p l e   s e l e c t s   a l l   r e s o u r c e s   i n c l u d i n g   a   l a b e l   w i t h   k e y   p a r t i t i o n ;   n o   v a l u e s   a r e   c h e c k e d . T h e   f o u r t h   e x a m p l e   s e l e c t s   a l l   r e s o u r c e s   w i t h o u t   a   l a b e l   w i t h   k e y   p a r t i t i o n ;   n o   v a l u e s   a r e   c h e c k e d .   S i m i l a r l y   t h e   c o m m a   s e p a r a t o r   a c t s   a s   a n   A N D   o p e r a t o r .   S o   f i l t e r i n g   r e s o u r c e s   w i t h   a   p a r t i t i o n   k e y   ( n o   m a t t e r   t h e   v a l u e )   a n d   w i t h   e n v i r o n m e n t   d i f f e r e n t   t h a n   q a   c a n   b e   a c h i e v e d   u s i n g   p a r t i t i o n , e n v i r o n m e n t   n o t i n   ( q a ) .   T h e   s e t - b a s e d   l a b e l   s e l e c t o r   i s   a   g e n e r a l   f o r m   o f   e q u a l ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10605"
  },
  {
    "question": "What is LIST and WATCH filtering?",
    "answer": "F o r   l i s t   a n d   w a t c h   o p e r a t i o n s ,   y o u   c a n   s p e c i f y   l a b e l   s e l e c t o r s   t o   f i l t e r   t h e   s e t s   o f   o b j e c t s   r e t u r n e d ;   y o u   s p e c i f y   t h e   f i l t e r   u s i n g   a   q u e r y   p a r a m e t e r .   ( T o   l e a r n   i n   d e t a i l   a b o u t   w a t c h e s   i n   K u b e r n e t e s ,   r e a d   e f f i c i e n t   d e t e c t i o n   o f   c h a n g e s ) .   B o t h   r e q u i r e m e n t s   a r e   p e r m i t t e d   ( p r e s e n t e d   h e r e   a s   t h e y   w o u l d   a p p e a r   i n   a   U R L   q u e r y   s t r i n g ) :   e q u a l i t y - b a s e d   r e q u i r e m e n t s :   ? l a b e l S e l e c t o r = e n v i r o n m e n t % 3 D p r o d u c t i o n , t i e r % 3 D f r o n t e n d s e t - b a s e d   r e q u i r e m e n t s :   ? l a b e l S e l e c t o r = e n v i r o n m e n t + i n + % 2 8 p r o d u c t i o n % 2 C q a % 2 9 % 2 C t i e r + i n + % 2 8 f r o n t e n d % 2 9   B o t h   l a b e l   s e l e c t o r   s t y l e s   c a n   b e   u s e d   t o   l i s t   o r   w a t c h   r e s o u r c e s   v i a   a   R E S T   c l i e n t .   F o r   e x a m p l e ,   t a r g e t i n g   a p i s e r v e r   w i t h   k u b e c t l   a n d   u s i n g   e q u a l i t y - b a s e d   o n e   m a y   w r i t e :   k u b e c t l   g e t   p o d s   - l   e n v i r o n m e n t = p r o d u c t i o n , t i e r = f r o n t e n d   o r   u s i n g   s e t - b a s e d   r e q u i r e m e n t s :   k u b e c t l   g e t   p o d s   - l   ' e n v i r o n m e n t   i n   ( p r o d u c t i o n ) , t i e r   i n   ( f r o n t e n d ) '   A s   a l r e a d y   m e n t i o n e d   s e t - b a s e d   r e q u i r e m e n t s   a r e   m o r e   e x p r e s s i v e .   F o r   i n s t a n c e ,   t h e y   c a n   i m p l e m e n t   t h e   O R   o p e r a t o r   o n   v a l u e s :   k u b e c t l   g e t   p o d s   - l   ' e n v i r o n m ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10606"
  },
  {
    "question": "What is Set references in API objects?",
    "answer": "S o m e   K u b e r n e t e s   o b j e c t s ,   s u c h   a s   s e r v i c e s   a n d   r e p l i c a t i o n c o n t r o l l e r s ,   a l s o   u s e   l a b e l   s e l e c t o r s   t o   s p e c i f y   s e t s   o f   o t h e r   r e s o u r c e s ,   s u c h   a s   p o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10607"
  },
  {
    "question": "What is Service and ReplicationController?",
    "answer": "T h e   s e t   o f   p o d s   t h a t   a   s e r v i c e   t a r g e t s   i s   d e f i n e d   w i t h   a   l a b e l   s e l e c t o r .   S i m i l a r l y ,   t h e   p o p u l a t i o n   o f   p o d s   t h a t   a   r e p l i c a t i o n c o n t r o l l e r   s h o u l d   m a n a g e   i s   a l s o   d e f i n e d   w i t h   a   l a b e l   s e l e c t o r .   L a b e l   s e l e c t o r s   f o r   b o t h   o b j e c t s   a r e   d e f i n e d   i n   j s o n   o r   y a m l   f i l e s   u s i n g   m a p s ,   a n d   o n l y   e q u a l i t y - b a s e d   r e q u i r e m e n t   s e l e c t o r s   a r e   s u p p o r t e d :   \" s e l e c t o r \" :   {   \" c o m p o n e n t \"   :   \" r e d i s \" ,   }   o r   s e l e c t o r :   c o m p o n e n t :   r e d i s   T h i s   s e l e c t o r   ( r e s p e c t i v e l y   i n   j s o n   o r   y a m l   f o r m a t )   i s   e q u i v a l e n t   t o   c o m p o n e n t = r e d i s   o r   c o m p o n e n t   i n   ( r e d i s ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_4_10608"
  },
  {
    "question": "What is Resources that support set-based requirements?",
    "answer": "N e w e r   r e s o u r c e s ,   s u c h   a s   J o b ,   D e p l o y m e n t ,   R e p l i c a S e t ,   a n d   D a e m o n S e t ,   s u p p o r t   s e t - b a s e d   r e q u i r e m e n t s   a s   w e l l .   s e l e c t o r :   m a t c h L a b e l s :   c o m p o n e n t :   r e d i s   m a t c h E x p r e s s i o n s :   -   {   k e y :   t i e r ,   o p e r a t o r :   I n ,   v a l u e s :   [ c a c h e ]   }   -   {   k e y :   e n v i r o n m e n t ,   o p e r a t o r :   N o t I n ,   v a l u e s :   [ d e v ]   }   m a t c h L a b e l s   i s   a   m a p   o f   { k e y , v a l u e }   p a i r s .   A   s i n g l e   { k e y , v a l u e }   i n   t h e   m a t c h L a b e l s   m a p   i s   e q u i v a l e n t   t o   a n   e l e m e n t   o f   m a t c h E x p r e s s i o n s ,   w h o s e   k e y   f i e l d   i s   \" k e y \" ,   t h e   o p e r a t o r   i s   \" I n \" ,   a n d   t h e   v a l u e s   a r r a y   c o n t a i n s   o n l y   \" v a l u e \" .   m a t c h E x p r e s s i o n s   i s   a   l i s t   o f   p o d   s e l e c t o r   r e q u i r e m e n t s .   V a l i d   o p e r a t o r s   i n c l u d e   I n ,   N o t I n ,   E x i s t s ,   a n d   D o e s N o t E x i s t .   T h e   v a l u e s   s e t   m u s t   b e   n o n - e m p t y   i n   t h e   c a s e   o f   I n   a n d   N o t I n .   A l l   o f   t h e   r e q u i r e m e n t s ,   f r o m   b o t h   m a t c h L a b e l s   a n d   m a t c h E x p r e s s i o n s   a r e   A N D e d   t o g e t h e r   - -   t h e y   m u s t   a l l   b e   s a t i s f i e d   i n   o r d e r   t o   m a t c h .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_4_10609"
  },
  {
    "question": "What is Selecting sets of nodes?",
    "answer": "O n e   u s e   c a s e   f o r   s e l e c t i n g   o v e r   l a b e l s   i s   t o   c o n s t r a i n   t h e   s e t   o f   n o d e s   o n t o   w h i c h   a   p o d   c a n   s c h e d u l e .   S e e   t h e   d o c u m e n t a t i o n   o n   n o d e   s e l e c t i o n   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_4_10610"
  },
  {
    "question": "What is Using labels effectively?",
    "answer": "Y o u   c a n   a p p l y   a   s i n g l e   l a b e l   t o   a n y   r e s o u r c e s ,   b u t   t h i s   i s   n o t   a l w a y s   t h e   b e s t   p r a c t i c e .   T h e r e   a r e   m a n y   s c e n a r i o s   w h e r e   m u l t i p l e   l a b e l s   s h o u l d   b e   u s e d   t o   d i s t i n g u i s h   r e s o u r c e   s e t s   f r o m   o n e   a n o t h e r .   F o r   i n s t a n c e ,   d i f f e r e n t   a p p l i c a t i o n s   w o u l d   u s e   d i f f e r e n t   v a l u e s   f o r   t h e   a p p   l a b e l ,   b u t   a   m u l t i - t i e r   a p p l i c a t i o n ,   s u c h   a s   t h e   g u e s t b o o k   e x a m p l e ,   w o u l d   a d d i t i o n a l l y   n e e d   t o   d i s t i n g u i s h   e a c h   t i e r .   T h e   f r o n t e n d   c o u l d   c a r r y   t h e   f o l l o w i n g   l a b e l s :   l a b e l s :   a p p :   g u e s t b o o k   t i e r :   f r o n t e n d   w h i l e   t h e   R e d i s   m a s t e r   a n d   r e p l i c a   w o u l d   h a v e   d i f f e r e n t   t i e r   l a b e l s ,   a n d   p e r h a p s   e v e n   a n   a d d i t i o n a l   r o l e   l a b e l :   l a b e l s :   a p p :   g u e s t b o o k   t i e r :   b a c k e n d   r o l e :   m a s t e r   a n d   l a b e l s :   a p p :   g u e s t b o o k   t i e r :   b a c k e n d   r o l e :   r e p l i c a   T h e   l a b e l s   a l l o w   f o r   s l i c i n g   a n d   d i c i n g   t h e   r e s o u r c e s   a l o n g   a n y   d i m e n s i o n   s p e c i f i e d   b y   a   l a b e l :   k u b e c t l   a p p l y   - f   e x a m p l e s / g u e s t b o o k / a l l - i n - o n e / g u e s t b o o k - a l l - i n - o n e . y a m l   k u b e c t l   g e t   p o d s   - L a p p   - L t i e r   - L r o l e   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   A P P   T I E R   R O L E   g u e s t b o o k - f e - 4 n l p b   1 / 1   R u n n i n g   0   1 m   g u e s t b o o k   f r o n t e n d   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10611"
  },
  {
    "question": "What is Updating labels?",
    "answer": "S o m e t i m e s   y o u   m a y   w a n t   t o   r e l a b e l   e x i s t i n g   p o d s   a n d   o t h e r   r e s o u r c e s   b e f o r e   c r e a t i n g   n e w   r e s o u r c e s .   T h i s   c a n   b e   d o n e   w i t h   k u b e c t l   l a b e l .   F o r   e x a m p l e ,   i f   y o u   w a n t   t o   l a b e l   a l l   y o u r   N G I N X   P o d s   a s   f r o n t e n d   t i e r ,   r u n :   k u b e c t l   l a b e l   p o d s   - l   a p p = n g i n x   t i e r = f e   p o d / m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - j 5 f h i   l a b e l e d   p o d / m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - u 2 c 7 e   l a b e l e d   p o d / m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - u 3 t 6 x   l a b e l e d   T h i s   f i r s t   f i l t e r s   a l l   p o d s   w i t h   t h e   l a b e l   \" a p p = n g i n x \" ,   a n d   t h e n   l a b e l s   t h e m   w i t h   t h e   \" t i e r = f e \" .   T o   s e e   t h e   p o d s   y o u   l a b e l e d ,   r u n :   k u b e c t l   g e t   p o d s   - l   a p p = n g i n x   - L   t i e r   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   T I E R   m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - j 5 f h i   1 / 1   R u n n i n g   0   2 3 m   f e   m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - u 2 c 7 e   1 / 1   R u n n i n g   0   2 3 m   f e   m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - u 3 t 6 x   1 / 1   R u n n i n g   0   2 3 m   f e   T h i s   o u t p u t s   a l l   \" a p p = n g i n x \"   p o d s ,   w i t h   a n   a d d i t i o n a l   l a b e l   c o l u m n   o f   p o d s '   t i e r   ( s p e c i f i e d   w i t h   - L   o r   - - l a b e l - c o l u m n s ) .   F o r   m o r e   i n f o r m a t i o n ,   p l e a s e   s e e   k u b e c t l   l a b e l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10612"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   a d d   a   l a b e l   t o   a   n o d e F i n d   W e l l - k n o w n   l a b e l s ,   A n n o t a t i o n s   a n d   T a i n t s S e e   R e c o m m e n d e d   l a b e l s E n f o r c e   P o d   S e c u r i t y   S t a n d a r d s   w i t h   N a m e s p a c e   L a b e l s R e a d   a   b l o g   o n   W r i t i n g   a   C o n t r o l l e r   f o r   P o d   L a b e l s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10613"
  },
  {
    "question": "What is 2.4 - Namespaces?",
    "answer": "I n   K u b e r n e t e s ,   n a m e s p a c e s   p r o v i d e   a   m e c h a n i s m   f o r   i s o l a t i n g   g r o u p s   o f   r e s o u r c e s   w i t h i n   a   s i n g l e   c l u s t e r .   N a m e s   o f   r e s o u r c e s   n e e d   t o   b e   u n i q u e   w i t h i n   a   n a m e s p a c e ,   b u t   n o t   a c r o s s   n a m e s p a c e s .   N a m e s p a c e - b a s e d   s c o p i n g   i s   a p p l i c a b l e   o n l y   f o r   n a m e s p a c e d   o b j e c t s   ( e . g .   D e p l o y m e n t s ,   S e r v i c e s ,   e t c . )   a n d   n o t   f o r   c l u s t e r - w i d e   o b j e c t s   ( e . g .   S t o r a g e C l a s s ,   N o d e s ,   P e r s i s t e n t V o l u m e s ,   e t c . ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_1_10614"
  },
  {
    "question": "What is When to Use Multiple Namespaces?",
    "answer": "N a m e s p a c e s   a r e   i n t e n d e d   f o r   u s e   i n   e n v i r o n m e n t s   w i t h   m a n y   u s e r s   s p r e a d   a c r o s s   m u l t i p l e   t e a m s ,   o r   p r o j e c t s .   F o r   c l u s t e r s   w i t h   a   f e w   t o   t e n s   o f   u s e r s ,   y o u   s h o u l d   n o t   n e e d   t o   c r e a t e   o r   t h i n k   a b o u t   n a m e s p a c e s   a t   a l l .   S t a r t   u s i n g   n a m e s p a c e s   w h e n   y o u   n e e d   t h e   f e a t u r e s   t h e y   p r o v i d e .   N a m e s p a c e s   p r o v i d e   a   s c o p e   f o r   n a m e s .   N a m e s   o f   r e s o u r c e s   n e e d   t o   b e   u n i q u e   w i t h i n   a   n a m e s p a c e ,   b u t   n o t   a c r o s s   n a m e s p a c e s .   N a m e s p a c e s   c a n n o t   b e   n e s t e d   i n s i d e   o n e   a n o t h e r   a n d   e a c h   K u b e r n e t e s   r e s o u r c e   c a n   o n l y   b e   i n   o n e   n a m e s p a c e .   N a m e s p a c e s   a r e   a   w a y   t o   d i v i d e   c l u s t e r   r e s o u r c e s   b e t w e e n   m u l t i p l e   u s e r s   ( v i a   r e s o u r c e   q u o t a ) .   I t   i s   n o t   n e c e s s a r y   t o   u s e   m u l t i p l e   n a m e s p a c e s   t o   s e p a r a t e   s l i g h t l y   d i f f e r e n t   r e s o u r c e s ,   s u c h   a s   d i f f e r e n t   v e r s i o n s   o f   t h e   s a m e   s o f t w a r e :   u s e   l a b e l s   t o   d i s t i n g u i s h   r e s o u r c e s   w i t h i n   t h e   s a m e   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10615"
  },
  {
    "question": "What is Initial namespaces?",
    "answer": "K u b e r n e t e s   s t a r t s   w i t h   f o u r   i n i t i a l   n a m e s p a c e s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10616"
  },
  {
    "question": "What is Working with Namespaces?",
    "answer": "C r e a t i o n   a n d   d e l e t i o n   o f   n a m e s p a c e s   a r e   d e s c r i b e d   i n   t h e   A d m i n   G u i d e   d o c u m e n t a t i o n   f o r   n a m e s p a c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10617"
  },
  {
    "question": "What is Viewing namespaces?",
    "answer": "Y o u   c a n   l i s t   t h e   c u r r e n t   n a m e s p a c e s   i n   a   c l u s t e r   u s i n g :   k u b e c t l   g e t   n a m e s p a c e   N A M E   S T A T U S   A G E   d e f a u l t   A c t i v e   1 d   k u b e - n o d e - l e a s e   A c t i v e   1 d   k u b e - p u b l i c   A c t i v e   1 d   k u b e - s y s t e m   A c t i v e   1 d",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10618"
  },
  {
    "question": "What is Setting the namespace for a request?",
    "answer": "T o   s e t   t h e   n a m e s p a c e   f o r   a   c u r r e n t   r e q u e s t ,   u s e   t h e   - - n a m e s p a c e   f l a g .   F o r   e x a m p l e :   k u b e c t l   r u n   n g i n x   - - i m a g e = n g i n x   - - n a m e s p a c e = < i n s e r t - n a m e s p a c e - n a m e - h e r e >   k u b e c t l   g e t   p o d s   - - n a m e s p a c e = < i n s e r t - n a m e s p a c e - n a m e - h e r e >",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10619"
  },
  {
    "question": "What is Setting the namespace preference?",
    "answer": "Y o u   c a n   p e r m a n e n t l y   s a v e   t h e   n a m e s p a c e   f o r   a l l   s u b s e q u e n t   k u b e c t l   c o m m a n d s   i n   t h a t   c o n t e x t .   k u b e c t l   c o n f i g   s e t - c o n t e x t   - - c u r r e n t   - - n a m e s p a c e = < i n s e r t - n a m e s p a c e - n a m e - h e r e >   #   V a l i d a t e   i t   k u b e c t l   c o n f i g   v i e w   - - m i n i f y   |   g r e p   n a m e s p a c e :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10620"
  },
  {
    "question": "What is Namespaces and DNS?",
    "answer": "W h e n   y o u   c r e a t e   a   S e r v i c e ,   i t   c r e a t e s   a   c o r r e s p o n d i n g   D N S   e n t r y .   T h i s   e n t r y   i s   o f   t h e   f o r m   < s e r v i c e - n a m e > . < n a m e s p a c e - n a m e > . s v c . c l u s t e r . l o c a l ,   w h i c h   m e a n s   t h a t   i f   a   c o n t a i n e r   o n l y   u s e s   < s e r v i c e - n a m e > ,   i t   w i l l   r e s o l v e   t o   t h e   s e r v i c e   w h i c h   i s   l o c a l   t o   a   n a m e s p a c e .   T h i s   i s   u s e f u l   f o r   u s i n g   t h e   s a m e   c o n f i g u r a t i o n   a c r o s s   m u l t i p l e   n a m e s p a c e s   s u c h   a s   D e v e l o p m e n t ,   S t a g i n g   a n d   P r o d u c t i o n .   I f   y o u   w a n t   t o   r e a c h   a c r o s s   n a m e s p a c e s ,   y o u   n e e d   t o   u s e   t h e   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N ) .   A s   a   r e s u l t ,   a l l   n a m e s p a c e   n a m e s   m u s t   b e   v a l i d   R F C   1 1 2 3   D N S   l a b e l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10621"
  },
  {
    "question": "What is Warning:?",
    "answer": "B y   c r e a t i n g   n a m e s p a c e s   w i t h   t h e   s a m e   n a m e   a s   p u b l i c   t o p - l e v e l   d o m a i n s ,   S e r v i c e s   i n   t h e s e   n a m e s p a c e s   c a n   h a v e   s h o r t   D N S   n a m e s   t h a t   o v e r l a p   w i t h   p u b l i c   D N S   r e c o r d s .   W o r k l o a d s   f r o m   a n y   n a m e s p a c e   p e r f o r m i n g   a   D N S   l o o k u p   w i t h o u t   a   t r a i l i n g   d o t   w i l l   b e   r e d i r e c t e d   t o   t h o s e   s e r v i c e s ,   t a k i n g   p r e c e d e n c e   o v e r   p u b l i c   D N S .   T o   m i t i g a t e   t h i s ,   l i m i t   p r i v i l e g e s   f o r   c r e a t i n g   n a m e s p a c e s   t o   t r u s t e d   u s e r s .   I f   r e q u i r e d ,   y o u   c o u l d   a d d i t i o n a l l y   c o n f i g u r e   t h i r d - p a r t y   s e c u r i t y   c o n t r o l s ,   s u c h   a s   a d m i s s i o n   w e b h o o k s ,   t o   b l o c k   c r e a t i n g   a n y   n a m e s p a c e   w i t h   t h e   n a m e   o f   p u b l i c   T L D s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_4_10622"
  },
  {
    "question": "What is Not all objects are in a namespace?",
    "answer": "M o s t   K u b e r n e t e s   r e s o u r c e s   ( e . g .   p o d s ,   s e r v i c e s ,   r e p l i c a t i o n   c o n t r o l l e r s ,   a n d   o t h e r s )   a r e   i n   s o m e   n a m e s p a c e s .   H o w e v e r   n a m e s p a c e   r e s o u r c e s   a r e   n o t   t h e m s e l v e s   i n   a   n a m e s p a c e .   A n d   l o w - l e v e l   r e s o u r c e s ,   s u c h   a s   n o d e s   a n d   p e r s i s t e n t V o l u m e s ,   a r e   n o t   i n   a n y   n a m e s p a c e .   T o   s e e   w h i c h   K u b e r n e t e s   r e s o u r c e s   a r e   a n d   a r e n ' t   i n   a   n a m e s p a c e :   #   I n   a   n a m e s p a c e   k u b e c t l   a p i - r e s o u r c e s   - - n a m e s p a c e d = t r u e   #   N o t   i n   a   n a m e s p a c e   k u b e c t l   a p i - r e s o u r c e s   - - n a m e s p a c e d = f a l s e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10623"
  },
  {
    "question": "What is Automatic labelling?",
    "answer": "T h e   K u b e r n e t e s   c o n t r o l   p l a n e   s e t s   a n   i m m u t a b l e   l a b e l   k u b e r n e t e s . i o / m e t a d a t a . n a m e   o n   a l l   n a m e s p a c e s .   T h e   v a l u e   o f   t h e   l a b e l   i s   t h e   n a m e s p a c e   n a m e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10624"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   c r e a t i n g   a   n e w   n a m e s p a c e . L e a r n   m o r e   a b o u t   d e l e t i n g   a   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10625"
  },
  {
    "question": "What is 2.5 - Annotations?",
    "answer": "Y o u   c a n   u s e   K u b e r n e t e s   a n n o t a t i o n s   t o   a t t a c h   a r b i t r a r y   n o n - i d e n t i f y i n g   m e t a d a t a   t o   o b j e c t s .   C l i e n t s   s u c h   a s   t o o l s   a n d   l i b r a r i e s   c a n   r e t r i e v e   t h i s   m e t a d a t a .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_1_10626"
  },
  {
    "question": "What is Attaching metadata to objects?",
    "answer": "Y o u   c a n   u s e   e i t h e r   l a b e l s   o r   a n n o t a t i o n s   t o   a t t a c h   m e t a d a t a   t o   K u b e r n e t e s   o b j e c t s .   L a b e l s   c a n   b e   u s e d   t o   s e l e c t   o b j e c t s   a n d   t o   f i n d   c o l l e c t i o n s   o f   o b j e c t s   t h a t   s a t i s f y   c e r t a i n   c o n d i t i o n s .   I n   c o n t r a s t ,   a n n o t a t i o n s   a r e   n o t   u s e d   t o   i d e n t i f y   a n d   s e l e c t   o b j e c t s .   T h e   m e t a d a t a   i n   a n   a n n o t a t i o n   c a n   b e   s m a l l   o r   l a r g e ,   s t r u c t u r e d   o r   u n s t r u c t u r e d ,   a n d   c a n   i n c l u d e   c h a r a c t e r s   n o t   p e r m i t t e d   b y   l a b e l s .   I t   i s   p o s s i b l e   t o   u s e   l a b e l s   a s   w e l l   a s   a n n o t a t i o n s   i n   t h e   m e t a d a t a   o f   t h e   s a m e   o b j e c t .   A n n o t a t i o n s ,   l i k e   l a b e l s ,   a r e   k e y / v a l u e   m a p s :   \" m e t a d a t a \" :   {   \" a n n o t a t i o n s \" :   {   \" k e y 1 \"   :   \" v a l u e 1 \" ,   \" k e y 2 \"   :   \" v a l u e 2 \"   }   }",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10627"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e   a r e   s o m e   e x a m p l e s   o f   i n f o r m a t i o n   t h a t   c o u l d   b e   r e c o r d e d   i n   a n n o t a t i o n s :   F i e l d s   m a n a g e d   b y   a   d e c l a r a t i v e   c o n f i g u r a t i o n   l a y e r .   A t t a c h i n g   t h e s e   f i e l d s   a s   a n n o t a t i o n s   d i s t i n g u i s h e s   t h e m   f r o m   d e f a u l t   v a l u e s   s e t   b y   c l i e n t s   o r   s e r v e r s ,   a n d   f r o m   a u t o - g e n e r a t e d   f i e l d s   a n d   f i e l d s   s e t   b y   a u t o - s i z i n g   o r   a u t o - s c a l i n g   s y s t e m s . B u i l d ,   r e l e a s e ,   o r   i m a g e   i n f o r m a t i o n   l i k e   t i m e s t a m p s ,   r e l e a s e   I D s ,   g i t   b r a n c h ,   P R   n u m b e r s ,   i m a g e   h a s h e s ,   a n d   r e g i s t r y   a d d r e s s . P o i n t e r s   t o   l o g g i n g ,   m o n i t o r i n g ,   a n a l y t i c s ,   o r   a u d i t   r e p o s i t o r i e s . C l i e n t   l i b r a r y   o r   t o o l   i n f o r m a t i o n   t h a t   c a n   b e   u s e d   f o r   d e b u g g i n g   p u r p o s e s :   f o r   e x a m p l e ,   n a m e ,   v e r s i o n ,   a n d   b u i l d   i n f o r m a t i o n . U s e r   o r   t o o l / s y s t e m   p r o v e n a n c e   i n f o r m a t i o n ,   s u c h   a s   U R L s   o f   r e l a t e d   o b j e c t s   f r o m   o t h e r   e c o s y s t e m   c o m p o n e n t s . L i g h t w e i g h t   r o l l o u t   t o o l   m e t a d a t a :   f o r   e x a m p l e ,   c o n f i g   o r   c h e c k p o i n t s . P h o n e   o r   p a g e r   n u m b e r s   o f   p e r s o n s   r e s p o n s i b l e ,   o r   d i r e c t o r y   e n t r i e s   t h a t   s p e c i f y   w h e r e   t h a t   i n f o r m a t i o n   c a n   b e   f o u n d ,   s u c h   a s   a   t e a m   w e b   s i t e . D i r e c t i v e s   f r o m   t h e   e n d - u s e r   t o   t h e   i m p l e m e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_4_10628"
  },
  {
    "question": "What is Syntax and character set?",
    "answer": "A n n o t a t i o n s   a r e   k e y / v a l u e   p a i r s .   V a l i d   a n n o t a t i o n   k e y s   h a v e   t w o   s e g m e n t s :   a n   o p t i o n a l   p r e f i x   a n d   n a m e ,   s e p a r a t e d   b y   a   s l a s h   ( / ) .   T h e   n a m e   s e g m e n t   i s   r e q u i r e d   a n d   m u s t   b e   6 3   c h a r a c t e r s   o r   l e s s ,   b e g i n n i n g   a n d   e n d i n g   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r   ( [ a - z 0 - 9 A - Z ] )   w i t h   d a s h e s   ( - ) ,   u n d e r s c o r e s   ( _ ) ,   d o t s   ( . ) ,   a n d   a l p h a n u m e r i c s   b e t w e e n .   T h e   p r e f i x   i s   o p t i o n a l .   I f   s p e c i f i e d ,   t h e   p r e f i x   m u s t   b e   a   D N S   s u b d o m a i n :   a   s e r i e s   o f   D N S   l a b e l s   s e p a r a t e d   b y   d o t s   ( . ) ,   n o t   l o n g e r   t h a n   2 5 3   c h a r a c t e r s   i n   t o t a l ,   f o l l o w e d   b y   a   s l a s h   ( / ) .   I f   t h e   p r e f i x   i s   o m i t t e d ,   t h e   a n n o t a t i o n   K e y   i s   p r e s u m e d   t o   b e   p r i v a t e   t o   t h e   u s e r .   A u t o m a t e d   s y s t e m   c o m p o n e n t s   ( e . g .   k u b e - s c h e d u l e r ,   k u b e - c o n t r o l l e r - m a n a g e r ,   k u b e - a p i s e r v e r ,   k u b e c t l ,   o r   o t h e r   t h i r d - p a r t y   a u t o m a t i o n )   w h i c h   a d d   a n n o t a t i o n s   t o   e n d - u s e r   o b j e c t s   m u s t   s p e c i f y   a   p r e f i x .   T h e   k u b e r n e t e s . i o /   a n d   k 8 s . i o /   p r e f i x e s   a r e   r e s e r v e d   f o r   K u b e r n e t e s   c o r e   c o m p o n e n t s .   F o r   e x a m p l e ,   h e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   t h e   a n n o t a t i o n   i m a g e r e g i s t r y :   h t t p s : / / h u b . d o c k e r . c o m /   :   a p i V e r s i o n : ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10629"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   L a b e l s   a n d   S e l e c t o r s . F i n d   W e l l - k n o w n   l a b e l s ,   A n n o t a t i o n s   a n d   T a i n t s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10630"
  },
  {
    "question": "What is 2.6 - Field Selectors?",
    "answer": "F i e l d   s e l e c t o r s   l e t   y o u   s e l e c t   K u b e r n e t e s   o b j e c t s   b a s e d   o n   t h e   v a l u e   o f   o n e   o r   m o r e   r e s o u r c e   f i e l d s .   H e r e   a r e   s o m e   e x a m p l e s   o f   f i e l d   s e l e c t o r   q u e r i e s :   m e t a d a t a . n a m e = m y - s e r v i c e m e t a d a t a . n a m e s p a c e ! = d e f a u l t s t a t u s . p h a s e = P e n d i n g   T h i s   k u b e c t l   c o m m a n d   s e l e c t s   a l l   P o d s   f o r   w h i c h   t h e   v a l u e   o f   t h e   s t a t u s . p h a s e   f i e l d   i s   R u n n i n g :   k u b e c t l   g e t   p o d s   - - f i e l d - s e l e c t o r   s t a t u s . p h a s e = R u n n i n g",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_1_10631"
  },
  {
    "question": "What is Supported fields?",
    "answer": "S u p p o r t e d   f i e l d   s e l e c t o r s   v a r y   b y   K u b e r n e t e s   r e s o u r c e   t y p e .   A l l   r e s o u r c e   t y p e s   s u p p o r t   t h e   m e t a d a t a . n a m e   a n d   m e t a d a t a . n a m e s p a c e   f i e l d s .   U s i n g   u n s u p p o r t e d   f i e l d   s e l e c t o r s   p r o d u c e s   a n   e r r o r .   F o r   e x a m p l e :   k u b e c t l   g e t   i n g r e s s   - - f i e l d - s e l e c t o r   f o o . b a r = b a z   E r r o r   f r o m   s e r v e r   ( B a d R e q u e s t ) :   U n a b l e   t o   f i n d   \" i n g r e s s e s \"   t h a t   m a t c h   l a b e l   s e l e c t o r   \" \" ,   f i e l d   s e l e c t o r   \" f o o . b a r = b a z \" :   \" f o o . b a r \"   i s   n o t   a   k n o w n   f i e l d   s e l e c t o r :   o n l y   \" m e t a d a t a . n a m e \" ,   \" m e t a d a t a . n a m e s p a c e \"",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10632"
  },
  {
    "question": "What is Custom resources fields?",
    "answer": "A l l   c u s t o m   r e s o u r c e   t y p e s   s u p p o r t   t h e   m e t a d a t a . n a m e   a n d   m e t a d a t a . n a m e s p a c e   f i e l d s .   A d d i t i o n a l l y ,   t h e   s p e c . v e r s i o n s [ * ] . s e l e c t a b l e F i e l d s   f i e l d   o f   a   C u s t o m R e s o u r c e D e f i n i t i o n   d e c l a r e s   w h i c h   o t h e r   f i e l d s   i n   a   c u s t o m   r e s o u r c e   m a y   b e   u s e d   i n   f i e l d   s e l e c t o r s .   S e e   s e l e c t a b l e   f i e l d s   f o r   c u s t o m   r e s o u r c e s   f o r   m o r e   i n f o r m a t i o n   a b o u t   h o w   t o   u s e   f i e l d   s e l e c t o r s   w i t h   C u s t o m R e s o u r c e D e f i n i t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10633"
  },
  {
    "question": "What is Supported operators?",
    "answer": "Y o u   c a n   u s e   t h e   = ,   = = ,   a n d   ! =   o p e r a t o r s   w i t h   f i e l d   s e l e c t o r s   ( =   a n d   = =   m e a n   t h e   s a m e   t h i n g ) .   T h i s   k u b e c t l   c o m m a n d ,   f o r   e x a m p l e ,   s e l e c t s   a l l   K u b e r n e t e s   S e r v i c e s   t h a t   a r e n ' t   i n   t h e   d e f a u l t   n a m e s p a c e :   k u b e c t l   g e t   s e r v i c e s   - - a l l - n a m e s p a c e s   - - f i e l d - s e l e c t o r   m e t a d a t a . n a m e s p a c e ! = d e f a u l t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10634"
  },
  {
    "question": "What is Chained selectors?",
    "answer": "A s   w i t h   l a b e l   a n d   o t h e r   s e l e c t o r s ,   f i e l d   s e l e c t o r s   c a n   b e   c h a i n e d   t o g e t h e r   a s   a   c o m m a - s e p a r a t e d   l i s t .   T h i s   k u b e c t l   c o m m a n d   s e l e c t s   a l l   P o d s   f o r   w h i c h   t h e   s t a t u s . p h a s e   d o e s   n o t   e q u a l   R u n n i n g   a n d   t h e   s p e c . r e s t a r t P o l i c y   f i e l d   e q u a l s   A l w a y s :   k u b e c t l   g e t   p o d s   - - f i e l d - s e l e c t o r = s t a t u s . p h a s e ! = R u n n i n g , s p e c . r e s t a r t P o l i c y = A l w a y s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10635"
  },
  {
    "question": "What is Multiple resource types?",
    "answer": "Y o u   c a n   u s e   f i e l d   s e l e c t o r s   a c r o s s   m u l t i p l e   r e s o u r c e   t y p e s .   T h i s   k u b e c t l   c o m m a n d   s e l e c t s   a l l   S t a t e f u l s e t s   a n d   S e r v i c e s   t h a t   a r e   n o t   i n   t h e   d e f a u l t   n a m e s p a c e :   k u b e c t l   g e t   s t a t e f u l s e t s , s e r v i c e s   - - a l l - n a m e s p a c e s   - - f i e l d - s e l e c t o r   m e t a d a t a . n a m e s p a c e ! = d e f a u l t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10636"
  },
  {
    "question": "What is 2.7 - Finalizers?",
    "answer": "F i n a l i z e r s   a r e   n a m e s p a c e d   k e y s   t h a t   t e l l   K u b e r n e t e s   t o   w a i t   u n t i l   s p e c i f i c   c o n d i t i o n s   a r e   m e t   b e f o r e   i t   f u l l y   d e l e t e s   r e s o u r c e s   t h a t   a r e   m a r k e d   f o r   d e l e t i o n .   F i n a l i z e r s   a l e r t   c o n t r o l l e r s   t o   c l e a n   u p   r e s o u r c e s   t h e   d e l e t e d   o b j e c t   o w n e d .   W h e n   y o u   t e l l   K u b e r n e t e s   t o   d e l e t e   a n   o b j e c t   t h a t   h a s   f i n a l i z e r s   s p e c i f i e d   f o r   i t ,   t h e   K u b e r n e t e s   A P I   m a r k s   t h e   o b j e c t   f o r   d e l e t i o n   b y   p o p u l a t i n g   . m e t a d a t a . d e l e t i o n T i m e s t a m p ,   a n d   r e t u r n s   a   2 0 2   s t a t u s   c o d e   ( H T T P   \" A c c e p t e d \" ) .   T h e   t a r g e t   o b j e c t   r e m a i n s   i n   a   t e r m i n a t i n g   s t a t e   w h i l e   t h e   c o n t r o l   p l a n e ,   o r   o t h e r   c o m p o n e n t s ,   t a k e   t h e   a c t i o n s   d e f i n e d   b y   t h e   f i n a l i z e r s .   A f t e r   t h e s e   a c t i o n s   a r e   c o m p l e t e ,   t h e   c o n t r o l l e r   r e m o v e s   t h e   r e l e v a n t   f i n a l i z e r s   f r o m   t h e   t a r g e t   o b j e c t .   W h e n   t h e   m e t a d a t a . f i n a l i z e r s   f i e l d   i s   e m p t y ,   K u b e r n e t e s   c o n s i d e r s   t h e   d e l e t i o n   c o m p l e t e   a n d   d e l e t e s   t h e   o b j e c t .   Y o u   c a n   u s e   f i n a l i z e r s   t o   c o n t r o l   g a r b a g e   c o l l e c t i o n   o f   r e s o u r c e s .   F o r   e x a m p l e ,   y o u   c a n   d e f i n e   a   f i n a l i z e r   t o   c l e a n   u p   r e l a t e d   A P I   r e s o u r c e s   o r   i n f r a s t r u c t u r e   b e f o r e   t h e   c o n t r o l l e r   d e l e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_1_10637"
  },
  {
    "question": "What is How finalizers work?",
    "answer": "W h e n   y o u   c r e a t e   a   r e s o u r c e   u s i n g   a   m a n i f e s t   f i l e ,   y o u   c a n   s p e c i f y   f i n a l i z e r s   i n   t h e   m e t a d a t a . f i n a l i z e r s   f i e l d .   W h e n   y o u   a t t e m p t   t o   d e l e t e   t h e   r e s o u r c e ,   t h e   A P I   s e r v e r   h a n d l i n g   t h e   d e l e t e   r e q u e s t   n o t i c e s   t h e   v a l u e s   i n   t h e   f i n a l i z e r s   f i e l d   a n d   d o e s   t h e   f o l l o w i n g :   M o d i f i e s   t h e   o b j e c t   t o   a d d   a   m e t a d a t a . d e l e t i o n T i m e s t a m p   f i e l d   w i t h   t h e   t i m e   y o u   s t a r t e d   t h e   d e l e t i o n . P r e v e n t s   t h e   o b j e c t   f r o m   b e i n g   r e m o v e d   u n t i l   a l l   i t e m s   a r e   r e m o v e d   f r o m   i t s   m e t a d a t a . f i n a l i z e r s   f i e l d R e t u r n s   a   2 0 2   s t a t u s   c o d e   ( H T T P   \" A c c e p t e d \" )   T h e   c o n t r o l l e r   m a n a g i n g   t h a t   f i n a l i z e r   n o t i c e s   t h e   u p d a t e   t o   t h e   o b j e c t   s e t t i n g   t h e   m e t a d a t a . d e l e t i o n T i m e s t a m p ,   i n d i c a t i n g   d e l e t i o n   o f   t h e   o b j e c t   h a s   b e e n   r e q u e s t e d .   T h e   c o n t r o l l e r   t h e n   a t t e m p t s   t o   s a t i s f y   t h e   r e q u i r e m e n t s   o f   t h e   f i n a l i z e r s   s p e c i f i e d   f o r   t h a t   r e s o u r c e .   E a c h   t i m e   a   f i n a l i z e r   c o n d i t i o n   i s   s a t i s f i e d ,   t h e   c o n t r o l l e r   r e m o v e s   t h a t   k e y   f r o m   t h e   r e s o u r c e ' s   f i n a l i z e r s   f i e l d .   W h e n   t h e   f i n a l i z e r s   f i e l d   i s   e m p t i e d ,   a n   o b j e c t   w i t h   a   d e l e t i o n T i m e s t a m p   f i e l d   s e t   i s   a u t o m a t i c a l l y   d e l e t e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10638"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   y o u   D E L E T E   a n   o b j e c t ,   K u b e r n e t e s   a d d s   t h e   d e l e t i o n   t i m e s t a m p   f o r   t h a t   o b j e c t   a n d   t h e n   i m m e d i a t e l y   s t a r t s   t o   r e s t r i c t   c h a n g e s   t o   t h e   . m e t a d a t a . f i n a l i z e r s   f i e l d   f o r   t h e   o b j e c t   t h a t   i s   n o w   p e n d i n g   d e l e t i o n .   Y o u   c a n   r e m o v e   e x i s t i n g   f i n a l i z e r s   ( d e l e t i n g   a n   e n t r y   f r o m   t h e   f i n a l i z e r s   l i s t )   b u t   y o u   c a n n o t   a d d   a   n e w   f i n a l i z e r .   Y o u   a l s o   c a n n o t   m o d i f y   t h e   d e l e t i o n T i m e s t a m p   f o r   a n   o b j e c t   o n c e   i t   i s   s e t . A f t e r   t h e   d e l e t i o n   i s   r e q u e s t e d ,   y o u   c a n   n o t   r e s u r r e c t   t h i s   o b j e c t .   T h e   o n l y   w a y   i s   t o   d e l e t e   i t   a n d   m a k e   a   n e w   s i m i l a r   o b j e c t .   W h e n   y o u   D E L E T E   a n   o b j e c t ,   K u b e r n e t e s   a d d s   t h e   d e l e t i o n   t i m e s t a m p   f o r   t h a t   o b j e c t   a n d   t h e n   i m m e d i a t e l y   s t a r t s   t o   r e s t r i c t   c h a n g e s   t o   t h e   . m e t a d a t a . f i n a l i z e r s   f i e l d   f o r   t h e   o b j e c t   t h a t   i s   n o w   p e n d i n g   d e l e t i o n .   Y o u   c a n   r e m o v e   e x i s t i n g   f i n a l i z e r s   ( d e l e t i n g   a n   e n t r y   f r o m   t h e   f i n a l i z e r s   l i s t )   b u t   y o u   c a n n o t   a d d   a   n e w   f i n a l i z e r .   Y o u   a l s o   c a n n o t   m o d i f y   t h e   d e l e t i o n T i m e s t a m p   f o r   a n   o b j e c t   o n c e   i t   i s   s e t .   A f t e r   t h e   d e l e t i o n   i s   r e q u e s t e d ,   y o u   c a n   n o t   r e s u r r e c t   t h i s   o b j e c t .   T h e   o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_4_10639"
  },
  {
    "question": "What is Owner references, labels, and finalizers?",
    "answer": "L i k e   l a b e l s ,   o w n e r   r e f e r e n c e s   d e s c r i b e   t h e   r e l a t i o n s h i p s   b e t w e e n   o b j e c t s   i n   K u b e r n e t e s ,   b u t   a r e   u s e d   f o r   a   d i f f e r e n t   p u r p o s e .   W h e n   a   c o n t r o l l e r   m a n a g e s   o b j e c t s   l i k e   P o d s ,   i t   u s e s   l a b e l s   t o   t r a c k   c h a n g e s   t o   g r o u p s   o f   r e l a t e d   o b j e c t s .   F o r   e x a m p l e ,   w h e n   a   J o b   c r e a t e s   o n e   o r   m o r e   P o d s ,   t h e   J o b   c o n t r o l l e r   a p p l i e s   l a b e l s   t o   t h o s e   p o d s   a n d   t r a c k s   c h a n g e s   t o   a n y   P o d s   i n   t h e   c l u s t e r   w i t h   t h e   s a m e   l a b e l .   T h e   J o b   c o n t r o l l e r   a l s o   a d d s   o w n e r   r e f e r e n c e s   t o   t h o s e   P o d s ,   p o i n t i n g   a t   t h e   J o b   t h a t   c r e a t e d   t h e   P o d s .   I f   y o u   d e l e t e   t h e   J o b   w h i l e   t h e s e   P o d s   a r e   r u n n i n g ,   K u b e r n e t e s   u s e s   t h e   o w n e r   r e f e r e n c e s   ( n o t   l a b e l s )   t o   d e t e r m i n e   w h i c h   P o d s   i n   t h e   c l u s t e r   n e e d   c l e a n u p .   K u b e r n e t e s   a l s o   p r o c e s s e s   f i n a l i z e r s   w h e n   i t   i d e n t i f i e s   o w n e r   r e f e r e n c e s   o n   a   r e s o u r c e   t a r g e t e d   f o r   d e l e t i o n .   I n   s o m e   s i t u a t i o n s ,   f i n a l i z e r s   c a n   b l o c k   t h e   d e l e t i o n   o f   d e p e n d e n t   o b j e c t s ,   w h i c h   c a n   c a u s e   t h e   t a r g e t e d   o w n e r   o b j e c t   t o   r e m a i n   f o r   l o n g e r   t h a n   e x p e c t e d   w i t h o u t   b e i n g   f u l l y   d e l e t e d .   I n   t h e s e   s i t u a t i o n s ,   y o u   s h o u l d   c h e c k   f i n a l i z e r s   a n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10640"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   U s i n g   F i n a l i z e r s   t o   C o n t r o l   D e l e t i o n   o n   t h e   K u b e r n e t e s   b l o g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10641"
  },
  {
    "question": "What is 2.8 - Owners and Dependents?",
    "answer": "I n   K u b e r n e t e s ,   s o m e   o b j e c t s   a r e   o w n e r s   o f   o t h e r   o b j e c t s .   F o r   e x a m p l e ,   a   R e p l i c a S e t   i s   t h e   o w n e r   o f   a   s e t   o f   P o d s .   T h e s e   o w n e d   o b j e c t s   a r e   d e p e n d e n t s   o f   t h e i r   o w n e r .   O w n e r s h i p   i s   d i f f e r e n t   f r o m   t h e   l a b e l s   a n d   s e l e c t o r s   m e c h a n i s m   t h a t   s o m e   r e s o u r c e s   a l s o   u s e .   F o r   e x a m p l e ,   c o n s i d e r   a   S e r v i c e   t h a t   c r e a t e s   E n d p o i n t S l i c e   o b j e c t s .   T h e   S e r v i c e   u s e s   l a b e l s   t o   a l l o w   t h e   c o n t r o l   p l a n e   t o   d e t e r m i n e   w h i c h   E n d p o i n t S l i c e   o b j e c t s   a r e   u s e d   f o r   t h a t   S e r v i c e .   I n   a d d i t i o n   t o   t h e   l a b e l s ,   e a c h   E n d p o i n t S l i c e   t h a t   i s   m a n a g e d   o n   b e h a l f   o f   a   S e r v i c e   h a s   a n   o w n e r   r e f e r e n c e .   O w n e r   r e f e r e n c e s   h e l p   d i f f e r e n t   p a r t s   o f   K u b e r n e t e s   a v o i d   i n t e r f e r i n g   w i t h   o b j e c t s   t h e y   d o n ’ t   c o n t r o l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_1_10642"
  },
  {
    "question": "What is Owner references in object specifications?",
    "answer": "D e p e n d e n t   o b j e c t s   h a v e   a   m e t a d a t a . o w n e r R e f e r e n c e s   f i e l d   t h a t   r e f e r e n c e s   t h e i r   o w n e r   o b j e c t .   A   v a l i d   o w n e r   r e f e r e n c e   c o n s i s t s   o f   t h e   o b j e c t   n a m e   a n d   a   U I D   w i t h i n   t h e   s a m e   n a m e s p a c e   a s   t h e   d e p e n d e n t   o b j e c t .   K u b e r n e t e s   s e t s   t h e   v a l u e   o f   t h i s   f i e l d   a u t o m a t i c a l l y   f o r   o b j e c t s   t h a t   a r e   d e p e n d e n t s   o f   o t h e r   o b j e c t s   l i k e   R e p l i c a S e t s ,   D a e m o n S e t s ,   D e p l o y m e n t s ,   J o b s   a n d   C r o n J o b s ,   a n d   R e p l i c a t i o n C o n t r o l l e r s .   Y o u   c a n   a l s o   c o n f i g u r e   t h e s e   r e l a t i o n s h i p s   m a n u a l l y   b y   c h a n g i n g   t h e   v a l u e   o f   t h i s   f i e l d .   H o w e v e r ,   y o u   u s u a l l y   d o n ' t   n e e d   t o   a n d   c a n   a l l o w   K u b e r n e t e s   t o   a u t o m a t i c a l l y   m a n a g e   t h e   r e l a t i o n s h i p s .   D e p e n d e n t   o b j e c t s   a l s o   h a v e   a n   o w n e r R e f e r e n c e s . b l o c k O w n e r D e l e t i o n   f i e l d   t h a t   t a k e s   a   b o o l e a n   v a l u e   a n d   c o n t r o l s   w h e t h e r   s p e c i f i c   d e p e n d e n t s   c a n   b l o c k   g a r b a g e   c o l l e c t i o n   f r o m   d e l e t i n g   t h e i r   o w n e r   o b j e c t .   K u b e r n e t e s   a u t o m a t i c a l l y   s e t s   t h i s   f i e l d   t o   t r u e   i f   a   c o n t r o l l e r   ( f o r   e x a m p l e ,   t h e   D e p l o y m e n t   c o n t r o l l e r )   s e t s   t h e   v a l u e   o f   t h e   m e t a d a t a . o w n e r R e f e r e n c e s   f i e l d .   Y o u   c a n   a l s o   s e t   t h e   v a l u e   o f   t h e   b l o c k O w n e r D e l ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10643"
  },
  {
    "question": "What is Note:?",
    "answer": "C r o s s - n a m e s p a c e   o w n e r   r e f e r e n c e s   a r e   d i s a l l o w e d   b y   d e s i g n .   N a m e s p a c e d   d e p e n d e n t s   c a n   s p e c i f y   c l u s t e r - s c o p e d   o r   n a m e s p a c e d   o w n e r s .   A   n a m e s p a c e d   o w n e r   m u s t   e x i s t   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   d e p e n d e n t .   I f   i t   d o e s   n o t ,   t h e   o w n e r   r e f e r e n c e   i s   t r e a t e d   a s   a b s e n t ,   a n d   t h e   d e p e n d e n t   i s   s u b j e c t   t o   d e l e t i o n   o n c e   a l l   o w n e r s   a r e   v e r i f i e d   a b s e n t .   C l u s t e r - s c o p e d   d e p e n d e n t s   c a n   o n l y   s p e c i f y   c l u s t e r - s c o p e d   o w n e r s .   I n   v 1 . 2 0 + ,   i f   a   c l u s t e r - s c o p e d   d e p e n d e n t   s p e c i f i e s   a   n a m e s p a c e d   k i n d   a s   a n   o w n e r ,   i t   i s   t r e a t e d   a s   h a v i n g   a n   u n r e s o l v a b l e   o w n e r   r e f e r e n c e ,   a n d   i s   n o t   a b l e   t o   b e   g a r b a g e   c o l l e c t e d .   I n   v 1 . 2 0 + ,   i f   t h e   g a r b a g e   c o l l e c t o r   d e t e c t s   a n   i n v a l i d   c r o s s - n a m e s p a c e   o w n e r R e f e r e n c e ,   o r   a   c l u s t e r - s c o p e d   d e p e n d e n t   w i t h   a n   o w n e r R e f e r e n c e   r e f e r e n c i n g   a   n a m e s p a c e d   k i n d ,   a   w a r n i n g   E v e n t   w i t h   a   r e a s o n   o f   O w n e r R e f I n v a l i d N a m e s p a c e   a n d   a n   i n v o l v e d O b j e c t   o f   t h e   i n v a l i d   d e p e n d e n t   i s   r e p o r t e d .   Y o u   c a n   c h e c k   f o r   t h a t   k i n d   o f   E v e n t   b y   r u n n i n g   k u b e c t l   g e t   e v e n t s   - A   - - f i e l d - s e l e c t o r = r e a s o n = O w n e r R e f I n v a l i d N a m e s p a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_4_10644"
  },
  {
    "question": "What is Ownership and finalizers?",
    "answer": "W h e n   y o u   t e l l   K u b e r n e t e s   t o   d e l e t e   a   r e s o u r c e ,   t h e   A P I   s e r v e r   a l l o w s   t h e   m a n a g i n g   c o n t r o l l e r   t o   p r o c e s s   a n y   f i n a l i z e r   r u l e s   f o r   t h e   r e s o u r c e .   F i n a l i z e r s   p r e v e n t   a c c i d e n t a l   d e l e t i o n   o f   r e s o u r c e s   y o u r   c l u s t e r   m a y   s t i l l   n e e d   t o   f u n c t i o n   c o r r e c t l y .   F o r   e x a m p l e ,   i f   y o u   t r y   t o   d e l e t e   a   P e r s i s t e n t V o l u m e   t h a t   i s   s t i l l   i n   u s e   b y   a   P o d ,   t h e   d e l e t i o n   d o e s   n o t   h a p p e n   i m m e d i a t e l y   b e c a u s e   t h e   P e r s i s t e n t V o l u m e   h a s   t h e   k u b e r n e t e s . i o / p v - p r o t e c t i o n   f i n a l i z e r   o n   i t .   I n s t e a d ,   t h e   v o l u m e   r e m a i n s   i n   t h e   T e r m i n a t i n g   s t a t u s   u n t i l   K u b e r n e t e s   c l e a r s   t h e   f i n a l i z e r ,   w h i c h   o n l y   h a p p e n s   a f t e r   t h e   P e r s i s t e n t V o l u m e   i s   n o   l o n g e r   b o u n d   t o   a   P o d .   K u b e r n e t e s   a l s o   a d d s   f i n a l i z e r s   t o   a n   o w n e r   r e s o u r c e   w h e n   y o u   u s e   e i t h e r   f o r e g r o u n d   o r   o r p h a n   c a s c a d i n g   d e l e t i o n .   I n   f o r e g r o u n d   d e l e t i o n ,   i t   a d d s   t h e   f o r e g r o u n d   f i n a l i z e r   s o   t h a t   t h e   c o n t r o l l e r   m u s t   d e l e t e   d e p e n d e n t   r e s o u r c e s   t h a t   a l s o   h a v e   o w n e r R e f e r e n c e s . b l o c k O w n e r D e l e t i o n = t r u e   b e f o r e   i t   d e l e t e s   t h e   o w n e r .   I f   y o u   s p e c i f y   a n   o r p h a n   d e l e t i o n   p o l i c y ,   K u b e r n e t e s   a d d s   t h e   o r p h a n   f ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10645"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   K u b e r n e t e s   f i n a l i z e r s . L e a r n   a b o u t   g a r b a g e   c o l l e c t i o n . R e a d   t h e   A P I   r e f e r e n c e   f o r   o b j e c t   m e t a d a t a .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10646"
  },
  {
    "question": "What is 2.9 - Recommended Labels?",
    "answer": "Y o u   c a n   v i s u a l i z e   a n d   m a n a g e   K u b e r n e t e s   o b j e c t s   w i t h   m o r e   t o o l s   t h a n   k u b e c t l   a n d   t h e   d a s h b o a r d .   A   c o m m o n   s e t   o f   l a b e l s   a l l o w s   t o o l s   t o   w o r k   i n t e r o p e r a b l y ,   d e s c r i b i n g   o b j e c t s   i n   a   c o m m o n   m a n n e r   t h a t   a l l   t o o l s   c a n   u n d e r s t a n d .   I n   a d d i t i o n   t o   s u p p o r t i n g   t o o l i n g ,   t h e   r e c o m m e n d e d   l a b e l s   d e s c r i b e   a p p l i c a t i o n s   i n   a   w a y   t h a t   c a n   b e   q u e r i e d .   T h e   m e t a d a t a   i s   o r g a n i z e d   a r o u n d   t h e   c o n c e p t   o f   a n   a p p l i c a t i o n .   K u b e r n e t e s   i s   n o t   a   p l a t f o r m   a s   a   s e r v i c e   ( P a a S )   a n d   d o e s n ' t   h a v e   o r   e n f o r c e   a   f o r m a l   n o t i o n   o f   a n   a p p l i c a t i o n .   I n s t e a d ,   a p p l i c a t i o n s   a r e   i n f o r m a l   a n d   d e s c r i b e d   w i t h   m e t a d a t a .   T h e   d e f i n i t i o n   o f   w h a t   a n   a p p l i c a t i o n   c o n t a i n s   i s   l o o s e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_1_10647"
  },
  {
    "question": "What is Note:?",
    "answer": "S h a r e d   l a b e l s   a n d   a n n o t a t i o n s   s h a r e   a   c o m m o n   p r e f i x :   a p p . k u b e r n e t e s . i o .   L a b e l s   w i t h o u t   a   p r e f i x   a r e   p r i v a t e   t o   u s e r s .   T h e   s h a r e d   p r e f i x   e n s u r e s   t h a t   s h a r e d   l a b e l s   d o   n o t   i n t e r f e r e   w i t h   c u s t o m   u s e r   l a b e l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_4_10648"
  },
  {
    "question": "What is Labels?",
    "answer": "I n   o r d e r   t o   t a k e   f u l l   a d v a n t a g e   o f   u s i n g   t h e s e   l a b e l s ,   t h e y   s h o u l d   b e   a p p l i e d   o n   e v e r y   r e s o u r c e   o b j e c t .   T o   i l l u s t r a t e   t h e s e   l a b e l s   i n   a c t i o n ,   c o n s i d e r   t h e   f o l l o w i n g   S t a t e f u l S e t   o b j e c t :   #   T h i s   i s   a n   e x c e r p t   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   m y s q l   a p p . k u b e r n e t e s . i o / i n s t a n c e :   m y s q l - a b c x y z   a p p . k u b e r n e t e s . i o / v e r s i o n :   \" 5 . 7 . 2 1 \"   a p p . k u b e r n e t e s . i o / c o m p o n e n t :   d a t a b a s e   a p p . k u b e r n e t e s . i o / p a r t - o f :   w o r d p r e s s   a p p . k u b e r n e t e s . i o / m a n a g e d - b y :   H e l m",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10649"
  },
  {
    "question": "What is Applications And Instances Of Applications?",
    "answer": "A n   a p p l i c a t i o n   c a n   b e   i n s t a l l e d   o n e   o r   m o r e   t i m e s   i n t o   a   K u b e r n e t e s   c l u s t e r   a n d ,   i n   s o m e   c a s e s ,   t h e   s a m e   n a m e s p a c e .   F o r   e x a m p l e ,   W o r d P r e s s   c a n   b e   i n s t a l l e d   m o r e   t h a n   o n c e   w h e r e   d i f f e r e n t   w e b s i t e s   a r e   d i f f e r e n t   i n s t a l l a t i o n s   o f   W o r d P r e s s .   T h e   n a m e   o f   a n   a p p l i c a t i o n   a n d   t h e   i n s t a n c e   n a m e   a r e   r e c o r d e d   s e p a r a t e l y .   F o r   e x a m p l e ,   W o r d P r e s s   h a s   a   a p p . k u b e r n e t e s . i o / n a m e   o f   w o r d p r e s s   w h i l e   i t   h a s   a n   i n s t a n c e   n a m e ,   r e p r e s e n t e d   a s   a p p . k u b e r n e t e s . i o / i n s t a n c e   w i t h   a   v a l u e   o f   w o r d p r e s s - a b c x y z .   T h i s   e n a b l e s   t h e   a p p l i c a t i o n   a n d   i n s t a n c e   o f   t h e   a p p l i c a t i o n   t o   b e   i d e n t i f i a b l e .   E v e r y   i n s t a n c e   o f   a n   a p p l i c a t i o n   m u s t   h a v e   a   u n i q u e   n a m e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10650"
  },
  {
    "question": "What is Examples?",
    "answer": "T o   i l l u s t r a t e   d i f f e r e n t   w a y s   t o   u s e   t h e s e   l a b e l s   t h e   f o l l o w i n g   e x a m p l e s   h a v e   v a r y i n g   c o m p l e x i t y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10651"
  },
  {
    "question": "What is A Simple Stateless Service?",
    "answer": "C o n s i d e r   t h e   c a s e   f o r   a   s i m p l e   s t a t e l e s s   s e r v i c e   d e p l o y e d   u s i n g   D e p l o y m e n t   a n d   S e r v i c e   o b j e c t s .   T h e   f o l l o w i n g   t w o   s n i p p e t s   r e p r e s e n t   h o w   t h e   l a b e l s   c o u l d   b e   u s e d   i n   t h e i r   s i m p l e s t   f o r m .   T h e   D e p l o y m e n t   i s   u s e d   t o   o v e r s e e   t h e   p o d s   r u n n i n g   t h e   a p p l i c a t i o n   i t s e l f .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   m y s e r v i c e   a p p . k u b e r n e t e s . i o / i n s t a n c e :   m y s e r v i c e - a b c x y z   . . .   T h e   S e r v i c e   i s   u s e d   t o   e x p o s e   t h e   a p p l i c a t i o n .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   m y s e r v i c e   a p p . k u b e r n e t e s . i o / i n s t a n c e :   m y s e r v i c e - a b c x y z   . . .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10652"
  },
  {
    "question": "What is Web Application With A Database?",
    "answer": "C o n s i d e r   a   s l i g h t l y   m o r e   c o m p l i c a t e d   a p p l i c a t i o n :   a   w e b   a p p l i c a t i o n   ( W o r d P r e s s )   u s i n g   a   d a t a b a s e   ( M y S Q L ) ,   i n s t a l l e d   u s i n g   H e l m .   T h e   f o l l o w i n g   s n i p p e t s   i l l u s t r a t e   t h e   s t a r t   o f   o b j e c t s   u s e d   t o   d e p l o y   t h i s   a p p l i c a t i o n .   T h e   s t a r t   t o   t h e   f o l l o w i n g   D e p l o y m e n t   i s   u s e d   f o r   W o r d P r e s s :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   w o r d p r e s s   a p p . k u b e r n e t e s . i o / i n s t a n c e :   w o r d p r e s s - a b c x y z   a p p . k u b e r n e t e s . i o / v e r s i o n :   \" 4 . 9 . 4 \"   a p p . k u b e r n e t e s . i o / m a n a g e d - b y :   H e l m   a p p . k u b e r n e t e s . i o / c o m p o n e n t :   s e r v e r   a p p . k u b e r n e t e s . i o / p a r t - o f :   w o r d p r e s s   . . .   T h e   S e r v i c e   i s   u s e d   t o   e x p o s e   W o r d P r e s s :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   w o r d p r e s s   a p p . k u b e r n e t e s . i o / i n s t a n c e :   w o r d p r e s s - a b c x y z   a p p . k u b e r n e t e s . i o / v e r s i o n :   \" 4 . 9 . 4 \"   a p p . k u b e r n e t e s . i o / m a n a g e d - b y :   H e l m   a p p . k u b e r n e t e s . i o / c o m p o n e n t :   s e r v e r   a p p . k u b e r n e t e s . i o / p a r t - o f :   w o r d p r e s s   . . .   M y S Q L   i s   e x p o s e d   a s   a   S t a t e f u l S e t   w i t h   m e t a d a t a   f o r   b o t h   i t   a n d   t h e   l a r g e r   a p p l i c a t i o n   i t   b e l o n g s   t o :   a p i V e r s i o n :   a p p s / v 1   k i n d :   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10653"
  },
  {
    "question": "What is 3 - The Kubernetes API?",
    "answer": "T h e   c o r e   o f   K u b e r n e t e s '   c o n t r o l   p l a n e   i s   t h e   A P I   s e r v e r .   T h e   A P I   s e r v e r   e x p o s e s   a n   H T T P   A P I   t h a t   l e t s   e n d   u s e r s ,   d i f f e r e n t   p a r t s   o f   y o u r   c l u s t e r ,   a n d   e x t e r n a l   c o m p o n e n t s   c o m m u n i c a t e   w i t h   o n e   a n o t h e r .   T h e   K u b e r n e t e s   A P I   l e t s   y o u   q u e r y   a n d   m a n i p u l a t e   t h e   s t a t e   o f   A P I   o b j e c t s   i n   K u b e r n e t e s   ( f o r   e x a m p l e :   P o d s ,   N a m e s p a c e s ,   C o n f i g M a p s ,   a n d   E v e n t s ) .   M o s t   o p e r a t i o n s   c a n   b e   p e r f o r m e d   t h r o u g h   t h e   k u b e c t l   c o m m a n d - l i n e   i n t e r f a c e   o r   o t h e r   c o m m a n d - l i n e   t o o l s ,   s u c h   a s   k u b e a d m ,   w h i c h   i n   t u r n   u s e   t h e   A P I .   H o w e v e r ,   y o u   c a n   a l s o   a c c e s s   t h e   A P I   d i r e c t l y   u s i n g   R E S T   c a l l s .   K u b e r n e t e s   p r o v i d e s   a   s e t   o f   c l i e n t   l i b r a r i e s   f o r   t h o s e   l o o k i n g   t o   w r i t e   a p p l i c a t i o n s   u s i n g   t h e   K u b e r n e t e s   A P I .   E a c h   K u b e r n e t e s   c l u s t e r   p u b l i s h e s   t h e   s p e c i f i c a t i o n   o f   t h e   A P I s   t h a t   t h e   c l u s t e r   s e r v e s .   T h e r e   a r e   t w o   m e c h a n i s m s   t h a t   K u b e r n e t e s   u s e s   t o   p u b l i s h   t h e s e   A P I   s p e c i f i c a t i o n s ;   b o t h   a r e   u s e f u l   t o   e n a b l e   a u t o m a t i c   i n t e r o p e r a b i l i t y .   F o r   e x a m p l e ,   t h e   k u b e c t l   t o o l   f e t c h e s   a n d   c a c h e s   t h e   A P I   s p e c i f i c a t i o n   f o r   e n a b l i n g   c o m m a n d - l i n e   c o m p l e t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_1_10654"
  },
  {
    "question": "What is Discovery API?",
    "answer": "K u b e r n e t e s   p u b l i s h e s   a   l i s t   o f   a l l   g r o u p   v e r s i o n s   a n d   r e s o u r c e s   s u p p o r t e d   v i a   t h e   D i s c o v e r y   A P I .   T h i s   i n c l u d e s   t h e   f o l l o w i n g   f o r   e a c h   r e s o u r c e :   N a m e C l u s t e r   o r   n a m e s p a c e d   s c o p e E n d p o i n t   U R L   a n d   s u p p o r t e d   v e r b s A l t e r n a t i v e   n a m e s G r o u p ,   v e r s i o n ,   k i n d   T h e   A P I   i s   a v a i l a b l e   i n   b o t h   a g g r e g a t e d   a n d   u n a g g r e g a t e d   f o r m .   T h e   a g g r e g a t e d   d i s c o v e r y   s e r v e s   t w o   e n d p o i n t s ,   w h i l e   t h e   u n a g g r e g a t e d   d i s c o v e r y   s e r v e s   a   s e p a r a t e   e n d p o i n t   f o r   e a c h   g r o u p   v e r s i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10655"
  },
  {
    "question": "What is Aggregated discovery?",
    "answer": "K u b e r n e t e s   o f f e r s   s t a b l e   s u p p o r t   f o r   a g g r e g a t e d   d i s c o v e r y ,   p u b l i s h i n g   a l l   r e s o u r c e s   s u p p o r t e d   b y   a   c l u s t e r   t h r o u g h   t w o   e n d p o i n t s   ( / a p i   a n d   / a p i s ) .   R e q u e s t i n g   t h i s   e n d p o i n t   d r a s t i c a l l y   r e d u c e s   t h e   n u m b e r   o f   r e q u e s t s   s e n t   t o   f e t c h   t h e   d i s c o v e r y   d a t a   f r o m   t h e   c l u s t e r .   Y o u   c a n   a c c e s s   t h e   d a t a   b y   r e q u e s t i n g   t h e   r e s p e c t i v e   e n d p o i n t s   w i t h   a n   A c c e p t   h e a d e r   i n d i c a t i n g   t h e   a g g r e g a t e d   d i s c o v e r y   r e s o u r c e :   A c c e p t :   a p p l i c a t i o n / j s o n ; v = v 2 ; g = a p i d i s c o v e r y . k 8 s . i o ; a s = A P I G r o u p D i s c o v e r y L i s t .   W i t h o u t   i n d i c a t i n g   t h e   r e s o u r c e   t y p e   u s i n g   t h e   A c c e p t   h e a d e r ,   t h e   d e f a u l t   r e s p o n s e   f o r   t h e   / a p i   a n d   / a p i s   e n d p o i n t   i s   a n   u n a g g r e g a t e d   d i s c o v e r y   d o c u m e n t .   T h e   d i s c o v e r y   d o c u m e n t   f o r   t h e   b u i l t - i n   r e s o u r c e s   c a n   b e   f o u n d   i n   t h e   K u b e r n e t e s   G i t H u b   r e p o s i t o r y .   T h i s   G i t h u b   d o c u m e n t   c a n   b e   u s e d   a s   a   r e f e r e n c e   o f   t h e   b a s e   s e t   o f   t h e   a v a i l a b l e   r e s o u r c e s   i f   a   K u b e r n e t e s   c l u s t e r   i s   n o t   a v a i l a b l e   t o   q u e r y .   T h e   e n d p o i n t   a l s o   s u p p o r t s   E T a g   a n d   p r o t o b u f   e n c o d i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10656"
  },
  {
    "question": "What is Unaggregated discovery?",
    "answer": "W i t h o u t   d i s c o v e r y   a g g r e g a t i o n ,   d i s c o v e r y   i s   p u b l i s h e d   i n   l e v e l s ,   w i t h   t h e   r o o t   e n d p o i n t s   p u b l i s h i n g   d i s c o v e r y   i n f o r m a t i o n   f o r   d o w n s t r e a m   d o c u m e n t s .   A   l i s t   o f   a l l   g r o u p   v e r s i o n s   s u p p o r t e d   b y   a   c l u s t e r   i s   p u b l i s h e d   a t   t h e   / a p i   a n d   / a p i s   e n d p o i n t s .   E x a m p l e :   {   \" k i n d \" :   \" A P I G r o u p L i s t \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" g r o u p s \" :   [   {   \" n a m e \" :   \" a p i r e g i s t r a t i o n . k 8 s . i o \" ,   \" v e r s i o n s \" :   [   {   \" g r o u p V e r s i o n \" :   \" a p i r e g i s t r a t i o n . k 8 s . i o / v 1 \" ,   \" v e r s i o n \" :   \" v 1 \"   }   ] ,   \" p r e f e r r e d V e r s i o n \" :   {   \" g r o u p V e r s i o n \" :   \" a p i r e g i s t r a t i o n . k 8 s . i o / v 1 \" ,   \" v e r s i o n \" :   \" v 1 \"   }   } ,   {   \" n a m e \" :   \" a p p s \" ,   \" v e r s i o n s \" :   [   {   \" g r o u p V e r s i o n \" :   \" a p p s / v 1 \" ,   \" v e r s i o n \" :   \" v 1 \"   }   ] ,   \" p r e f e r r e d V e r s i o n \" :   {   \" g r o u p V e r s i o n \" :   \" a p p s / v 1 \" ,   \" v e r s i o n \" :   \" v 1 \"   }   } ,   . . .   }   A d d i t i o n a l   r e q u e s t s   a r e   n e e d e d   t o   o b t a i n   t h e   d i s c o v e r y   d o c u m e n t   f o r   e a c h   g r o u p   v e r s i o n   a t   / a p i s / < g r o u p > / < v e r s i o n >   ( f o r   e x a m p l e :   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 a l p h a 1 ) ,   w h i c h   a d v e r t i s e s   t h e   l i s t   o f   r e s o u r c e s   s e r v e d   u n d e r   a   p a r t i c u l a r   g r o u p   v e r s i o n .   T h e s e   e n d p o i n t s   a r e   u s e d   b y   k u b e c t l   t o   f e t c h   t h e   l i s t   o f   r e s o u r c e s   s u p p o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10657"
  },
  {
    "question": "What is OpenAPI interface definition?",
    "answer": "F o r   d e t a i l s   a b o u t   t h e   O p e n A P I   s p e c i f i c a t i o n s ,   s e e   t h e   O p e n A P I   d o c u m e n t a t i o n .   K u b e r n e t e s   s e r v e s   b o t h   O p e n A P I   v 2 . 0   a n d   O p e n A P I   v 3 . 0 .   O p e n A P I   v 3   i s   t h e   p r e f e r r e d   m e t h o d   o f   a c c e s s i n g   t h e   O p e n A P I   b e c a u s e   i t   o f f e r s   a   m o r e   c o m p r e h e n s i v e   ( l o s s l e s s )   r e p r e s e n t a t i o n   o f   K u b e r n e t e s   r e s o u r c e s .   D u e   t o   l i m i t a t i o n s   o f   O p e n A P I   v e r s i o n   2 ,   c e r t a i n   f i e l d s   a r e   d r o p p e d   f r o m   t h e   p u b l i s h e d   O p e n A P I   i n c l u d i n g   b u t   n o t   l i m i t e d   t o   d e f a u l t ,   n u l l a b l e ,   o n e O f .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10658"
  },
  {
    "question": "What is OpenAPI V2?",
    "answer": "T h e   K u b e r n e t e s   A P I   s e r v e r   s e r v e s   a n   a g g r e g a t e d   O p e n A P I   v 2   s p e c   v i a   t h e   / o p e n a p i / v 2   e n d p o i n t .   Y o u   c a n   r e q u e s t   t h e   r e s p o n s e   f o r m a t   u s i n g   r e q u e s t   h e a d e r s   a s   f o l l o w s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10659"
  },
  {
    "question": "What is OpenAPI V3?",
    "answer": "K u b e r n e t e s   s u p p o r t s   p u b l i s h i n g   a   d e s c r i p t i o n   o f   i t s   A P I s   a s   O p e n A P I   v 3 .   A   d i s c o v e r y   e n d p o i n t   / o p e n a p i / v 3   i s   p r o v i d e d   t o   s e e   a   l i s t   o f   a l l   g r o u p / v e r s i o n s   a v a i l a b l e .   T h i s   e n d p o i n t   o n l y   r e t u r n s   J S O N .   T h e s e   g r o u p / v e r s i o n s   a r e   p r o v i d e d   i n   t h e   f o l l o w i n g   f o r m a t :   {   \" p a t h s \" :   {   . . . ,   \" a p i / v 1 \" :   {   \" s e r v e r R e l a t i v e U R L \" :   \" / o p e n a p i / v 3 / a p i / v 1 ? h a s h = C C 0 E 9 B F D 9 9 2 D 8 C 5 9 A E C 9 8 A 1 E 2 3 3 6 F 8 9 9 E 8 3 1 8 D 3 C F 4 C 6 8 9 4 4 C 3 D E C 6 4 0 A F 5 A B 5 2 D 8 6 4 A C 5 0 D A A 8 D 1 4 5 B 3 4 9 4 F 7 5 F A 3 C F F 9 3 9 F C B D D A 4 3 1 D A D 3 C A 7 9 7 3 8 B 2 9 7 7 9 5 8 1 8 C F \"   } ,   \" a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 \" :   {   \" s e r v e r R e l a t i v e U R L \" :   \" / o p e n a p i / v 3 / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 ? h a s h = E 1 9 C C 9 3 A 1 1 6 9 8 2 C E 5 4 2 2 F C 4 2 B 5 9 0 A 8 A F A D 9 2 C D E 9 A E 4 D 5 9 B 5 C A A D 5 6 8 F 0 8 3 A D 0 7 9 4 6 E 6 C B 5 8 1 7 5 3 1 6 8 0 B C E 6 E 2 1 5 C 1 6 9 7 3 C D 3 9 0 0 3 B 0 4 2 5 F 3 4 7 7 C F D 8 5 4 E 8 9 A 9 D B 6 5 9 7 \"   } ,   . . . .   }   }   T h e   r e l a t i v e   U R L s   a r e   p o i n t i n g   t o   i m m u t a b l e   O p e n A P I   d e s c r i p t i o n s ,   i n   o r d e r   t o   i m p r o v e   c l i e n t - s i d e   c a c h i n g .   T h e   p r o p e r   H T T P   c a c h i n g   h e a d e r s   a r e   a l s o   s e t   b y   t h e   A P I   s e r v e r   f o r   t h a t   p u r p o s e   ( E x p i r e s   t o   1   y e a r   i n   t h e   f u t u r e ,   a n d   C a c h e - C o n t r o l   t o   i m m u t a b l e ) .   W h e n   a n   o b s o l e t e   U R L   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10660"
  },
  {
    "question": "What is Protobuf serialization?",
    "answer": "K u b e r n e t e s   i m p l e m e n t s   a n   a l t e r n a t i v e   P r o t o b u f   b a s e d   s e r i a l i z a t i o n   f o r m a t   t h a t   i s   p r i m a r i l y   i n t e n d e d   f o r   i n t r a - c l u s t e r   c o m m u n i c a t i o n .   F o r   m o r e   i n f o r m a t i o n   a b o u t   t h i s   f o r m a t ,   s e e   t h e   K u b e r n e t e s   P r o t o b u f   s e r i a l i z a t i o n   d e s i g n   p r o p o s a l   a n d   t h e   I n t e r f a c e   D e f i n i t i o n   L a n g u a g e   ( I D L )   f i l e s   f o r   e a c h   s c h e m a   l o c a t e d   i n   t h e   G o   p a c k a g e s   t h a t   d e f i n e   t h e   A P I   o b j e c t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10661"
  },
  {
    "question": "What is Persistence?",
    "answer": "K u b e r n e t e s   s t o r e s   t h e   s e r i a l i z e d   s t a t e   o f   o b j e c t s   b y   w r i t i n g   t h e m   i n t o   e t c d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10662"
  },
  {
    "question": "What is API groups and versioning?",
    "answer": "T o   m a k e   i t   e a s i e r   t o   e l i m i n a t e   f i e l d s   o r   r e s t r u c t u r e   r e s o u r c e   r e p r e s e n t a t i o n s ,   K u b e r n e t e s   s u p p o r t s   m u l t i p l e   A P I   v e r s i o n s ,   e a c h   a t   a   d i f f e r e n t   A P I   p a t h ,   s u c h   a s   / a p i / v 1   o r   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 a l p h a 1 .   V e r s i o n i n g   i s   d o n e   a t   t h e   A P I   l e v e l   r a t h e r   t h a n   a t   t h e   r e s o u r c e   o r   f i e l d   l e v e l   t o   e n s u r e   t h a t   t h e   A P I   p r e s e n t s   a   c l e a r ,   c o n s i s t e n t   v i e w   o f   s y s t e m   r e s o u r c e s   a n d   b e h a v i o r ,   a n d   t o   e n a b l e   c o n t r o l l i n g   a c c e s s   t o   e n d - o f - l i f e   a n d / o r   e x p e r i m e n t a l   A P I s .   T o   m a k e   i t   e a s i e r   t o   e v o l v e   a n d   t o   e x t e n d   i t s   A P I ,   K u b e r n e t e s   i m p l e m e n t s   A P I   g r o u p s   t h a t   c a n   b e   e n a b l e d   o r   d i s a b l e d .   A P I   r e s o u r c e s   a r e   d i s t i n g u i s h e d   b y   t h e i r   A P I   g r o u p ,   r e s o u r c e   t y p e ,   n a m e s p a c e   ( f o r   n a m e s p a c e d   r e s o u r c e s ) ,   a n d   n a m e .   T h e   A P I   s e r v e r   h a n d l e s   t h e   c o n v e r s i o n   b e t w e e n   A P I   v e r s i o n s   t r a n s p a r e n t l y :   a l l   t h e   d i f f e r e n t   v e r s i o n s   a r e   a c t u a l l y   r e p r e s e n t a t i o n s   o f   t h e   s a m e   p e r s i s t e d   d a t a .   T h e   A P I   s e r v e r   m a y   s e r v e   t h e   s a m e   u n d e r l y i n g   d a t a   t h r o u g h   m u l t i p l e   A P I   v e r s i o n s .   F o r   e x a m p l e ,   s u p p o s e   t h e r e   a r e   t w o   A P I   v e r s i o n s ,   v 1   a n d   v 1 b e t a 1 ,   f o r   t h e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10663"
  },
  {
    "question": "What is API changes?",
    "answer": "A n y   s y s t e m   t h a t   i s   s u c c e s s f u l   n e e d s   t o   g r o w   a n d   c h a n g e   a s   n e w   u s e   c a s e s   e m e r g e   o r   e x i s t i n g   o n e s   c h a n g e .   T h e r e f o r e ,   K u b e r n e t e s   h a s   d e s i g n e d   t h e   K u b e r n e t e s   A P I   t o   c o n t i n u o u s l y   c h a n g e   a n d   g r o w .   T h e   K u b e r n e t e s   p r o j e c t   a i m s   t o   n o t   b r e a k   c o m p a t i b i l i t y   w i t h   e x i s t i n g   c l i e n t s ,   a n d   t o   m a i n t a i n   t h a t   c o m p a t i b i l i t y   f o r   a   l e n g t h   o f   t i m e   s o   t h a t   o t h e r   p r o j e c t s   h a v e   a n   o p p o r t u n i t y   t o   a d a p t .   I n   g e n e r a l ,   n e w   A P I   r e s o u r c e s   a n d   n e w   r e s o u r c e   f i e l d s   c a n   b e   a d d e d   o f t e n   a n d   f r e q u e n t l y .   E l i m i n a t i o n   o f   r e s o u r c e s   o r   f i e l d s   r e q u i r e s   f o l l o w i n g   t h e   A P I   d e p r e c a t i o n   p o l i c y .   K u b e r n e t e s   m a k e s   a   s t r o n g   c o m m i t m e n t   t o   m a i n t a i n   c o m p a t i b i l i t y   f o r   o f f i c i a l   K u b e r n e t e s   A P I s   o n c e   t h e y   r e a c h   g e n e r a l   a v a i l a b i l i t y   ( G A ) ,   t y p i c a l l y   a t   A P I   v e r s i o n   v 1 .   A d d i t i o n a l l y ,   K u b e r n e t e s   m a i n t a i n s   c o m p a t i b i l i t y   w i t h   d a t a   p e r s i s t e d   v i a   b e t a   A P I   v e r s i o n s   o f   o f f i c i a l   K u b e r n e t e s   A P I s ,   a n d   e n s u r e s   t h a t   d a t a   c a n   b e   c o n v e r t e d   a n d   a c c e s s e d   v i a   G A   A P I   v e r s i o n s   w h e n   t h e   f e a t u r e   g o e s   s t a b l e .   I f   y o u   a d o p t   a   b e t a   A P I   v e r s i o n ,   y o u   w i l l   n e e d   t o   t r a n s i t i o n   t o   a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_3_10664"
  },
  {
    "question": "What is Note:?",
    "answer": "R e f e r   t o   A P I   v e r s i o n s   r e f e r e n c e   f o r   m o r e   d e t a i l s   o n   t h e   A P I   v e r s i o n   l e v e l   d e f i n i t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_4_10665"
  },
  {
    "question": "What is API Extension?",
    "answer": "T h e   K u b e r n e t e s   A P I   c a n   b e   e x t e n d e d   i n   o n e   o f   t w o   w a y s :   C u s t o m   r e s o u r c e s   l e t   y o u   d e c l a r a t i v e l y   d e f i n e   h o w   t h e   A P I   s e r v e r   s h o u l d   p r o v i d e   y o u r   c h o s e n   r e s o u r c e   A P I . Y o u   c a n   a l s o   e x t e n d   t h e   K u b e r n e t e s   A P I   b y   i m p l e m e n t i n g   a n   a g g r e g a t i o n   l a y e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10666"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   e x t e n d   t h e   K u b e r n e t e s   A P I   b y   a d d i n g   y o u r   o w n   C u s t o m R e s o u r c e D e f i n i t i o n . C o n t r o l l i n g   A c c e s s   T o   T h e   K u b e r n e t e s   A P I   d e s c r i b e s   h o w   t h e   c l u s t e r   m a n a g e s   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n   f o r   A P I   a c c e s s . L e a r n   a b o u t   A P I   e n d p o i n t s ,   r e s o u r c e   t y p e s   a n d   s a m p l e s   b y   r e a d i n g   A P I   R e f e r e n c e . L e a r n   a b o u t   w h a t   c o n s t i t u t e s   a   c o m p a t i b l e   c h a n g e ,   a n d   h o w   t o   c h a n g e   t h e   A P I ,   f r o m   A P I   c h a n g e s .   ©   2 0 2 5   T h e   K u b e r n e t e s   A u t h o r s   |   D o c u m e n t a t i o n   D i s t r i b u t e d   u n d e r   C C   B Y   4 . 0   ©   2 0 2 5   T h e   L i n u x   F o u n d a t i o n   ® .   A l l   r i g h t s   r e s e r v e d .   T h e   L i n u x   F o u n d a t i o n   h a s   r e g i s t e r e d   t r a d e m a r k s   a n d   u s e s   t r a d e m a r k s .   F o r   a   l i s t   o f   t r a d e m a r k s   o f   T h e   L i n u x   F o u n d a t i o n ,   p l e a s e   s e e   o u r   T r a d e m a r k   U s a g e   p a g e   I C P   l i c e n s e :   京 I C P 备 1 7 0 7 4 2 6 6 号 - 3",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/_print/",
    "id": "k8s_00560_section_2_10667"
  },
  {
    "question": "What is Kubernetes API health endpoints?",
    "answer": "Kubernetes API health endpointsThe Kubernetes API server provides API endpoints to indicate the current status of the API server. This page describes these API endpoints and explains how you can use them.API endpoints for healthThe Kubernetes API server provides 3 API endpoints (healthz, livez and readyz) to indicate the current status of the API server. The healthz endpoint is deprecated (since Kubernetes v1.16), and you should use the more specific livez and readyz endpoints instead. The livez endpoint can be used with the --livez-grace-period flag to specify the startup duration. For a graceful shutdown you can specify the --shutdown-delay-duration flag with the /readyz endpoint. Machines that check the healthz/livez/readyz of the API server should rely on the HTTP status code. A status code 200 indicates the API server is healthy/live/ready, depending on the called endpoint. The more verbose options shown below are intended to be used by human operators to debug their cluster or understand the state of the API server.The following examples will show how you can interact with the health API endpoints.For all endpoints, you can use the verbose parameter to print out the checks and their status. This can be useful for a human operator to debug the current status of the API server, it is not intended to be consumed by a machine:curl -k https://localhost:6443/livez?verbose or from a remote host with authentication:kubectl get --raw='/readyz?verbose' The output will look like this:[+]ping ok [+]log ok [+]etcd ok [+]poststarthook/start-kube-apiserver-admission-initializer ok [+]poststarthook/generic-apiserver-start-informers ok [+]poststarthook/start-apiextensions-informers ok [+]poststarthook/start-apiextensions-controllers ok [+]poststarthook/crd-informer-synced ok [+]poststarthook/bootstrap-controller ok [+]poststarthook/rbac/bootstrap-roles ok [+]poststarthook/scheduling/bootstrap-system-priority-classes ok [+]poststarthook/start-cluster-authentication-info-controller ok [+]poststarthook/start-kube-aggregator-informers ok [+]poststarthook/apiservice-registration-controller ok [+]poststarthook/apiservice-status-available-controller ok [+]poststarthook/kube-apiserver-autoregistration ok [+]autoregister-completion ok [+]poststarthook/apiservice-openapi-controller ok healthz check passed The Kubernetes API server also supports to exclude specific checks. The query parameters can also be combined like in this example:curl -k 'https://localhost:6443/readyz?verbose&exclude=etcd' The output show that the etcd check is excluded:[+]ping ok [+]log ok [+]etcd excluded: ok [+]poststarthook/start-kube-apiserver-admission-initializer ok [+]poststarthook/generic-apiserver-start-informers ok [+]poststarthook/start-apiextensions-informers ok [+]poststarthook/start-apiextensions-controllers ok [+]poststarthook/crd-informer-synced ok [+]poststarthook/bootstrap-controller ok [+]poststarthook/rbac/bootstrap-roles ok [+]poststarthook/scheduling/bootstrap-system-priori",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/health-checks/",
    "id": "k8s_00561_qa_10668"
  },
  {
    "question": "How does Kubernetes API health endpoints work?",
    "answer": "Kubernetes API health endpointsThe Kubernetes API server provides API endpoints to indicate the current status of the API server. This page describes these API endpoints and explains how you can use them.API endpoints for healthThe Kubernetes API server provides 3 API endpoints (healthz, livez and readyz) to indicate the current status of the API server. The healthz endpoint is deprecated (since Kubernetes v1.16), and you should use the more specific livez and readyz endpoints instead. The livez endpoint can be used with the --livez-grace-period flag to specify the startup duration. For a graceful shutdown you can specify the --shutdown-delay-duration flag with the /readyz endpoint. Machines that check the healthz/livez/readyz of the API server should rely on the HTTP status code. A status code 200 indicates the API server is healthy/live/ready, depending on the called endpoint. The more verbose options shown below are intended to be used by human operators to debug their cluster or understand the state of the API server.The following examples will show how you can interact with the health API endpoints.For all endpoints, you can use the verbose parameter to print out the checks and their status. This can be useful for a human operator to debug the current status of the API server, it is not intended to be consumed by a machine:curl -k https://localhost:6443/livez?verbose or from a remote host with authentication:kubectl get --raw='/readyz?verbose' The output will look like this:[+]ping ok [+]log ok [+]etcd ok [+]poststarthook/start-kube-apiserver-admission-initializer ok [+]poststarthook/generic-apiserver-start-informers ok [+]poststarthook/start-apiextensions-informers ok [+]poststarthook/start-apiextensions-controllers ok [+]poststarthook/crd-informer-synced ok [+]poststarthook/bootstrap-controller ok [+]poststarthook/rbac/bootstrap-roles ok [+]poststarthook/scheduling/bootstrap-system-priority-classes ok [+]poststarthook/start-cluster-authentication-info-controller ok [+]poststarthook/start-kube-aggregator-informers ok [+]poststarthook/apiservice-registration-controller ok [+]poststarthook/apiservice-status-available-controller ok [+]poststarthook/kube-apiserver-autoregistration ok [+]autoregister-completion ok [+]poststarthook/apiservice-openapi-controller ok healthz check passed The Kubernetes API server also supports to exclude specific checks. The query parameters can also be combined like in this example:curl -k 'https://localhost:6443/readyz?verbose&exclude=etcd' The output show that the etcd check is excluded:[+]ping ok [+]log ok [+]etcd excluded: ok [+]poststarthook/start-kube-apiserver-admission-initializer ok [+]poststarthook/generic-apiserver-start-informers ok [+]poststarthook/start-apiextensions-informers ok [+]poststarthook/start-apiextensions-controllers ok [+]poststarthook/crd-informer-synced ok [+]poststarthook/bootstrap-controller ok [+]poststarthook/rbac/bootstrap-roles ok [+]poststarthook/scheduling/bootstrap-system-priori",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/health-checks/",
    "id": "k8s_00561_qa_10669"
  },
  {
    "question": "When would you use Kubernetes API health endpoints?",
    "answer": "Kubernetes API health endpointsThe Kubernetes API server provides API endpoints to indicate the current status of the API server. This page describes these API endpoints and explains how you can use them.API endpoints for healthThe Kubernetes API server provides 3 API endpoints (healthz, livez and readyz) to indicate the current status of the API server. The healthz endpoint is deprecated (since Kubernetes v1.16), and you should use the more specific livez and readyz endpoints instead. The livez endpoint can be used with the --livez-grace-period flag to specify the startup duration. For a graceful shutdown you can specify the --shutdown-delay-duration flag with the /readyz endpoint. Machines that check the healthz/livez/readyz of the API server should rely on the HTTP status code. A status code 200 indicates the API server is healthy/live/ready, depending on the called endpoint. The more verbose options shown below are intended to be used by human operators to debug their cluster or understand the state of the API server.The following examples will show how you can interact with the health API endpoints.For all endpoints, you can use the verbose parameter to print out the checks and their status. This can be useful for a human operator to debug the current status of the API server, it is not intended to be consumed by a machine:curl -k https://localhost:6443/livez?verbose or from a remote host with authentication:kubectl get --raw='/readyz?verbose' The output will look like this:[+]ping ok [+]log ok [+]etcd ok [+]poststarthook/start-kube-apiserver-admission-initializer ok [+]poststarthook/generic-apiserver-start-informers ok [+]poststarthook/start-apiextensions-informers ok [+]poststarthook/start-apiextensions-controllers ok [+]poststarthook/crd-informer-synced ok [+]poststarthook/bootstrap-controller ok [+]poststarthook/rbac/bootstrap-roles ok [+]poststarthook/scheduling/bootstrap-system-priority-classes ok [+]poststarthook/start-cluster-authentication-info-controller ok [+]poststarthook/start-kube-aggregator-informers ok [+]poststarthook/apiservice-registration-controller ok [+]poststarthook/apiservice-status-available-controller ok [+]poststarthook/kube-apiserver-autoregistration ok [+]autoregister-completion ok [+]poststarthook/apiservice-openapi-controller ok healthz check passed The Kubernetes API server also supports to exclude specific checks. The query parameters can also be combined like in this example:curl -k 'https://localhost:6443/readyz?verbose&exclude=etcd' The output show that the etcd check is excluded:[+]ping ok [+]log ok [+]etcd excluded: ok [+]poststarthook/start-kube-apiserver-admission-initializer ok [+]poststarthook/generic-apiserver-start-informers ok [+]poststarthook/start-apiextensions-informers ok [+]poststarthook/start-apiextensions-controllers ok [+]poststarthook/crd-informer-synced ok [+]poststarthook/bootstrap-controller ok [+]poststarthook/rbac/bootstrap-roles ok [+]poststarthook/scheduling/bootstrap-system-priori",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/health-checks/",
    "id": "k8s_00561_qa_10670"
  },
  {
    "question": "What are the benefits of Kubernetes API health endpoints?",
    "answer": "Kubernetes API health endpointsThe Kubernetes API server provides API endpoints to indicate the current status of the API server. This page describes these API endpoints and explains how you can use them.API endpoints for healthThe Kubernetes API server provides 3 API endpoints (healthz, livez and readyz) to indicate the current status of the API server. The healthz endpoint is deprecated (since Kubernetes v1.16), and you should use the more specific livez and readyz endpoints instead. The livez endpoint can be used with the --livez-grace-period flag to specify the startup duration. For a graceful shutdown you can specify the --shutdown-delay-duration flag with the /readyz endpoint. Machines that check the healthz/livez/readyz of the API server should rely on the HTTP status code. A status code 200 indicates the API server is healthy/live/ready, depending on the called endpoint. The more verbose options shown below are intended to be used by human operators to debug their cluster or understand the state of the API server.The following examples will show how you can interact with the health API endpoints.For all endpoints, you can use the verbose parameter to print out the checks and their status. This can be useful for a human operator to debug the current status of the API server, it is not intended to be consumed by a machine:curl -k https://localhost:6443/livez?verbose or from a remote host with authentication:kubectl get --raw='/readyz?verbose' The output will look like this:[+]ping ok [+]log ok [+]etcd ok [+]poststarthook/start-kube-apiserver-admission-initializer ok [+]poststarthook/generic-apiserver-start-informers ok [+]poststarthook/start-apiextensions-informers ok [+]poststarthook/start-apiextensions-controllers ok [+]poststarthook/crd-informer-synced ok [+]poststarthook/bootstrap-controller ok [+]poststarthook/rbac/bootstrap-roles ok [+]poststarthook/scheduling/bootstrap-system-priority-classes ok [+]poststarthook/start-cluster-authentication-info-controller ok [+]poststarthook/start-kube-aggregator-informers ok [+]poststarthook/apiservice-registration-controller ok [+]poststarthook/apiservice-status-available-controller ok [+]poststarthook/kube-apiserver-autoregistration ok [+]autoregister-completion ok [+]poststarthook/apiservice-openapi-controller ok healthz check passed The Kubernetes API server also supports to exclude specific checks. The query parameters can also be combined like in this example:curl -k 'https://localhost:6443/readyz?verbose&exclude=etcd' The output show that the etcd check is excluded:[+]ping ok [+]log ok [+]etcd excluded: ok [+]poststarthook/start-kube-apiserver-admission-initializer ok [+]poststarthook/generic-apiserver-start-informers ok [+]poststarthook/start-apiextensions-informers ok [+]poststarthook/start-apiextensions-controllers ok [+]poststarthook/crd-informer-synced ok [+]poststarthook/bootstrap-controller ok [+]poststarthook/rbac/bootstrap-roles ok [+]poststarthook/scheduling/bootstrap-system-priori",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/health-checks/",
    "id": "k8s_00561_qa_10671"
  },
  {
    "question": "What is Kubernetes API health endpoints?",
    "answer": "T h e   K u b e r n e t e s   A P I   s e r v e r   p r o v i d e s   A P I   e n d p o i n t s   t o   i n d i c a t e   t h e   c u r r e n t   s t a t u s   o f   t h e   A P I   s e r v e r .   T h i s   p a g e   d e s c r i b e s   t h e s e   A P I   e n d p o i n t s   a n d   e x p l a i n s   h o w   y o u   c a n   u s e   t h e m .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/health-checks/",
    "id": "k8s_00561_section_1_10672"
  },
  {
    "question": "What is API endpoints for health?",
    "answer": "T h e   K u b e r n e t e s   A P I   s e r v e r   p r o v i d e s   3   A P I   e n d p o i n t s   ( h e a l t h z ,   l i v e z   a n d   r e a d y z )   t o   i n d i c a t e   t h e   c u r r e n t   s t a t u s   o f   t h e   A P I   s e r v e r .   T h e   h e a l t h z   e n d p o i n t   i s   d e p r e c a t e d   ( s i n c e   K u b e r n e t e s   v 1 . 1 6 ) ,   a n d   y o u   s h o u l d   u s e   t h e   m o r e   s p e c i f i c   l i v e z   a n d   r e a d y z   e n d p o i n t s   i n s t e a d .   T h e   l i v e z   e n d p o i n t   c a n   b e   u s e d   w i t h   t h e   - - l i v e z - g r a c e - p e r i o d   f l a g   t o   s p e c i f y   t h e   s t a r t u p   d u r a t i o n .   F o r   a   g r a c e f u l   s h u t d o w n   y o u   c a n   s p e c i f y   t h e   - - s h u t d o w n - d e l a y - d u r a t i o n   f l a g   w i t h   t h e   / r e a d y z   e n d p o i n t .   M a c h i n e s   t h a t   c h e c k   t h e   h e a l t h z / l i v e z / r e a d y z   o f   t h e   A P I   s e r v e r   s h o u l d   r e l y   o n   t h e   H T T P   s t a t u s   c o d e .   A   s t a t u s   c o d e   2 0 0   i n d i c a t e s   t h e   A P I   s e r v e r   i s   h e a l t h y / l i v e / r e a d y ,   d e p e n d i n g   o n   t h e   c a l l e d   e n d p o i n t .   T h e   m o r e   v e r b o s e   o p t i o n s   s h o w n   b e l o w   a r e   i n t e n d e d   t o   b e   u s e d   b y   h u m a n   o p e r a t o r s   t o   d e b u g   t h e i r   c l u s t e r   o r   u n d e r s t a n d   t h e   s t a t e   o f   t h e   A P I   s e r v e r .   T h e   f o l l o w i n g   e x a m p l e s   w i l l   s h o w   h o w   y o u   c a n   i n t e r a c t   w i t h   t h e   h e a l t h   A P I   e n d p o i n t s .   F o r   a l l   e n d p o i n t s ,   y o u   c a n   u s e   t h e   v e r b o s e   p a r a m e t e r   t o   p r i n t   o u t   t h e   c h e c k s   a n d   t h e i r   s t a t u s .   T h i s   c a n   b ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/health-checks/",
    "id": "k8s_00561_section_2_10673"
  },
  {
    "question": "What is Individual health checks?",
    "answer": "E a c h   i n d i v i d u a l   h e a l t h   c h e c k   e x p o s e s   a n   H T T P   e n d p o i n t   a n d   c a n   b e   c h e c k e d   i n d i v i d u a l l y .   T h e   s c h e m a   f o r   t h e   i n d i v i d u a l   h e a l t h   c h e c k s   i s   / l i v e z / < h e a l t h c h e c k - n a m e >   o r   / r e a d y z / < h e a l t h c h e c k - n a m e > ,   w h e r e   l i v e z   a n d   r e a d y z   c a n   b e   u s e d   t o   i n d i c a t e   i f   y o u   w a n t   t o   c h e c k   t h e   l i v e n e s s   o r   t h e   r e a d i n e s s   o f   t h e   A P I   s e r v e r ,   r e s p e c t i v e l y .   T h e   < h e a l t h c h e c k - n a m e >   p a t h   c a n   b e   d i s c o v e r e d   u s i n g   t h e   v e r b o s e   f l a g   f r o m   a b o v e   a n d   t a k e   t h e   p a t h   b e t w e e n   [ + ]   a n d   o k .   T h e s e   i n d i v i d u a l   h e a l t h   c h e c k s   s h o u l d   n o t   b e   c o n s u m e d   b y   m a c h i n e s   b u t   c a n   b e   h e l p f u l   f o r   a   h u m a n   o p e r a t o r   t o   d e b u g   a   s y s t e m :   c u r l   - k   h t t p s : / / l o c a l h o s t : 6 4 4 3 / l i v e z / e t c d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/health-checks/",
    "id": "k8s_00561_section_2_10674"
  },
  {
    "question": "What is Linux Node Swap Behaviors?",
    "answer": "Linux Node Swap BehaviorsTo allow Kubernetes workloads to use swap, on a Linux node, you must disable the kubelet's default behavior of failing when swap is detected, and specify memory-swap behavior as LimitedSwap:The available choices for swap behavior are:NoSwap(default) Workloads running as Pods on this node do not and cannot use swap. However, processes outside of Kubernetes' scope, such as system daemons (including the kubelet itself!) can utilize swap. This behavior is beneficial for protecting the node from system-level memory spikes, but it does not safeguard the workloads themselves from such spikes.LimitedSwapKubernetes workloads can utilize swap memory. The amount of swap available to a Pod is determined automatically.To learn more, read swap memory management.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/swap-behavior/",
    "id": "k8s_00562_qa_10675"
  },
  {
    "question": "How does Linux Node Swap Behaviors work?",
    "answer": "Linux Node Swap BehaviorsTo allow Kubernetes workloads to use swap, on a Linux node, you must disable the kubelet's default behavior of failing when swap is detected, and specify memory-swap behavior as LimitedSwap:The available choices for swap behavior are:NoSwap(default) Workloads running as Pods on this node do not and cannot use swap. However, processes outside of Kubernetes' scope, such as system daemons (including the kubelet itself!) can utilize swap. This behavior is beneficial for protecting the node from system-level memory spikes, but it does not safeguard the workloads themselves from such spikes.LimitedSwapKubernetes workloads can utilize swap memory. The amount of swap available to a Pod is determined automatically.To learn more, read swap memory management.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/swap-behavior/",
    "id": "k8s_00562_qa_10676"
  },
  {
    "question": "When would you use Linux Node Swap Behaviors?",
    "answer": "Linux Node Swap BehaviorsTo allow Kubernetes workloads to use swap, on a Linux node, you must disable the kubelet's default behavior of failing when swap is detected, and specify memory-swap behavior as LimitedSwap:The available choices for swap behavior are:NoSwap(default) Workloads running as Pods on this node do not and cannot use swap. However, processes outside of Kubernetes' scope, such as system daemons (including the kubelet itself!) can utilize swap. This behavior is beneficial for protecting the node from system-level memory spikes, but it does not safeguard the workloads themselves from such spikes.LimitedSwapKubernetes workloads can utilize swap memory. The amount of swap available to a Pod is determined automatically.To learn more, read swap memory management.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/swap-behavior/",
    "id": "k8s_00562_qa_10677"
  },
  {
    "question": "What are the benefits of Linux Node Swap Behaviors?",
    "answer": "Linux Node Swap BehaviorsTo allow Kubernetes workloads to use swap, on a Linux node, you must disable the kubelet's default behavior of failing when swap is detected, and specify memory-swap behavior as LimitedSwap:The available choices for swap behavior are:NoSwap(default) Workloads running as Pods on this node do not and cannot use swap. However, processes outside of Kubernetes' scope, such as system daemons (including the kubelet itself!) can utilize swap. This behavior is beneficial for protecting the node from system-level memory spikes, but it does not safeguard the workloads themselves from such spikes.LimitedSwapKubernetes workloads can utilize swap memory. The amount of swap available to a Pod is determined automatically.To learn more, read swap memory management.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/swap-behavior/",
    "id": "k8s_00562_qa_10678"
  },
  {
    "question": "What is Linux Node Swap Behaviors?",
    "answer": "T o   a l l o w   K u b e r n e t e s   w o r k l o a d s   t o   u s e   s w a p ,   o n   a   L i n u x   n o d e ,   y o u   m u s t   d i s a b l e   t h e   k u b e l e t ' s   d e f a u l t   b e h a v i o r   o f   f a i l i n g   w h e n   s w a p   i s   d e t e c t e d ,   a n d   s p e c i f y   m e m o r y - s w a p   b e h a v i o r   a s   L i m i t e d S w a p :   T h e   a v a i l a b l e   c h o i c e s   f o r   s w a p   b e h a v i o r   a r e :   T o   l e a r n   m o r e ,   r e a d   s w a p   m e m o r y   m a n a g e m e n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/swap-behavior/",
    "id": "k8s_00562_section_1_10679"
  },
  {
    "question": "What is kubectl set subject?",
    "answer": "kubectl set subjectSynopsisUpdate the user, group, or service account in a role binding or cluster role binding.kubectl set subject (-f FILENAME | TYPE NAME) [--user=username] [--group=groupname] [--serviceaccount=namespace:serviceaccountname] [--dry-run=server|client|none] Examples # Update a cluster role binding for serviceaccount1 kubectl set subject clusterrolebinding admin --serviceaccount=namespace:serviceaccount1 # Update a role binding for user1, user2, and group1 kubectl set subject rolebinding admin --user=user1 --user=user2 --group=group1 # Print the result (in YAML format) of updating rolebinding subjects from a local, without hitting the server kubectl create rolebinding admin --role=admin --user=admin -o yaml --dry-run=client | kubectl set subject --local -f - --user=foo -o yaml Options--allSelect all resources, in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-set\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files the resource to update the subjects--group stringsGroups to bind to the role-h, --helphelp for subject-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--localIf true, set subject will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--serviceaccount stringsService accounts to bind to the role--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--user stringsUsernames to bind to the roleParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cach",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_subject/",
    "id": "k8s_00563_qa_10680"
  },
  {
    "question": "How does kubectl set subject work?",
    "answer": "kubectl set subjectSynopsisUpdate the user, group, or service account in a role binding or cluster role binding.kubectl set subject (-f FILENAME | TYPE NAME) [--user=username] [--group=groupname] [--serviceaccount=namespace:serviceaccountname] [--dry-run=server|client|none] Examples # Update a cluster role binding for serviceaccount1 kubectl set subject clusterrolebinding admin --serviceaccount=namespace:serviceaccount1 # Update a role binding for user1, user2, and group1 kubectl set subject rolebinding admin --user=user1 --user=user2 --group=group1 # Print the result (in YAML format) of updating rolebinding subjects from a local, without hitting the server kubectl create rolebinding admin --role=admin --user=admin -o yaml --dry-run=client | kubectl set subject --local -f - --user=foo -o yaml Options--allSelect all resources, in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-set\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files the resource to update the subjects--group stringsGroups to bind to the role-h, --helphelp for subject-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--localIf true, set subject will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--serviceaccount stringsService accounts to bind to the role--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--user stringsUsernames to bind to the roleParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cach",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_subject/",
    "id": "k8s_00563_qa_10681"
  },
  {
    "question": "When would you use kubectl set subject?",
    "answer": "kubectl set subjectSynopsisUpdate the user, group, or service account in a role binding or cluster role binding.kubectl set subject (-f FILENAME | TYPE NAME) [--user=username] [--group=groupname] [--serviceaccount=namespace:serviceaccountname] [--dry-run=server|client|none] Examples # Update a cluster role binding for serviceaccount1 kubectl set subject clusterrolebinding admin --serviceaccount=namespace:serviceaccount1 # Update a role binding for user1, user2, and group1 kubectl set subject rolebinding admin --user=user1 --user=user2 --group=group1 # Print the result (in YAML format) of updating rolebinding subjects from a local, without hitting the server kubectl create rolebinding admin --role=admin --user=admin -o yaml --dry-run=client | kubectl set subject --local -f - --user=foo -o yaml Options--allSelect all resources, in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-set\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files the resource to update the subjects--group stringsGroups to bind to the role-h, --helphelp for subject-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--localIf true, set subject will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--serviceaccount stringsService accounts to bind to the role--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--user stringsUsernames to bind to the roleParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cach",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_subject/",
    "id": "k8s_00563_qa_10682"
  },
  {
    "question": "What are the benefits of kubectl set subject?",
    "answer": "kubectl set subjectSynopsisUpdate the user, group, or service account in a role binding or cluster role binding.kubectl set subject (-f FILENAME | TYPE NAME) [--user=username] [--group=groupname] [--serviceaccount=namespace:serviceaccountname] [--dry-run=server|client|none] Examples # Update a cluster role binding for serviceaccount1 kubectl set subject clusterrolebinding admin --serviceaccount=namespace:serviceaccount1 # Update a role binding for user1, user2, and group1 kubectl set subject rolebinding admin --user=user1 --user=user2 --group=group1 # Print the result (in YAML format) of updating rolebinding subjects from a local, without hitting the server kubectl create rolebinding admin --role=admin --user=admin -o yaml --dry-run=client | kubectl set subject --local -f - --user=foo -o yaml Options--allSelect all resources, in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-set\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files the resource to update the subjects--group stringsGroups to bind to the role-h, --helphelp for subject-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--localIf true, set subject will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--serviceaccount stringsService accounts to bind to the role--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--user stringsUsernames to bind to the roleParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cach",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_subject/",
    "id": "k8s_00563_qa_10683"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e   t h e   u s e r ,   g r o u p ,   o r   s e r v i c e   a c c o u n t   i n   a   r o l e   b i n d i n g   o r   c l u s t e r   r o l e   b i n d i n g .   k u b e c t l   s e t   s u b j e c t   ( - f   F I L E N A M E   |   T Y P E   N A M E )   [ - - u s e r = u s e r n a m e ]   [ - - g r o u p = g r o u p n a m e ]   [ - - s e r v i c e a c c o u n t = n a m e s p a c e : s e r v i c e a c c o u n t n a m e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_subject/",
    "id": "k8s_00563_section_2_10684"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U p d a t e   a   c l u s t e r   r o l e   b i n d i n g   f o r   s e r v i c e a c c o u n t 1   k u b e c t l   s e t   s u b j e c t   c l u s t e r r o l e b i n d i n g   a d m i n   - - s e r v i c e a c c o u n t = n a m e s p a c e : s e r v i c e a c c o u n t 1   #   U p d a t e   a   r o l e   b i n d i n g   f o r   u s e r 1 ,   u s e r 2 ,   a n d   g r o u p 1   k u b e c t l   s e t   s u b j e c t   r o l e b i n d i n g   a d m i n   - - u s e r = u s e r 1   - - u s e r = u s e r 2   - - g r o u p = g r o u p 1   #   P r i n t   t h e   r e s u l t   ( i n   Y A M L   f o r m a t )   o f   u p d a t i n g   r o l e b i n d i n g   s u b j e c t s   f r o m   a   l o c a l ,   w i t h o u t   h i t t i n g   t h e   s e r v e r   k u b e c t l   c r e a t e   r o l e b i n d i n g   a d m i n   - - r o l e = a d m i n   - - u s e r = a d m i n   - o   y a m l   - - d r y - r u n = c l i e n t   |   k u b e c t l   s e t   s u b j e c t   - - l o c a l   - f   -   - - u s e r = f o o   - o   y a m l",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_subject/",
    "id": "k8s_00563_section_2_10685"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s ,   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   t h e   r e s o u r c e   t o   u p d a t e   t h e   s u b j e c t s   G r o u p s   t o   b i n d   t o   t h e   r o l e   h e l p   f o r   s u b j e c t   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   I f   t r u e ,   s e t   s u b j e c t   w i l l   N O T   c o n t a c t   a p i - s e r v e r   b u t   r u n   l o c a l l y .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_subject/",
    "id": "k8s_00563_section_2_10686"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_subject/",
    "id": "k8s_00563_section_2_10687"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   s e t   -   S e t   s p e c i f i c   f e a t u r e s   o n   o b j e c t s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_subject/",
    "id": "k8s_00563_section_2_10688"
  },
  {
    "question": "What is Managing Service Accounts?",
    "answer": "Managing Service AccountsA ServiceAccount provides an identity for processes that run in a Pod.A process inside a Pod can use the identity of its associated service account to authenticate to the cluster's API server.For an introduction to service accounts, read configure service accounts.This task guide explains some of the concepts behind ServiceAccounts. The guide also explains how to obtain or revoke tokens that represent ServiceAccounts, and how to (optionally) bind a ServiceAccount's validity to the lifetime of an API object.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo be able to follow these steps exactly, ensure you have a namespace named examplens. If you don't, create one by running:kubectl create namespace examplens User accounts versus service accountsKubernetes distinguishes between the concept of a user account and a service account for a number of reasons:User accounts are for humans. Service accounts are for application processes, which (for Kubernetes) run in containers that are part of pods.User accounts are intended to be global: names must be unique across all namespaces of a cluster. No matter what namespace you look at, a particular username that represents a user represents the same user. In Kubernetes, service accounts are namespaced: two different namespaces can contain ServiceAccounts that have identical names.Typically, a cluster's user accounts might be synchronised from a corporate database, where new user account creation requires special privileges and is tied to complex business processes. By contrast, service account creation is intended to be more lightweight, allowing cluster users to create service accounts for specific tasks on demand. Separating ServiceAccount creation from the steps to onboard human users makes it easier for workloads to follow the principle of least privilege.Auditing considerations for humans and service accounts may differ; the separation makes that easier to achieve.A configuration bundle for a complex system may include definition of various service accounts for components of that system. Because service accounts can be created without many constraints and have namespaced names, such configuration is usually portable.Bound service account tokensServiceAccount tokens can be bound to API objects that exist in the kube-apiserver. This can be used to tie the validity of a token to the existence of another API object. Supported object types are as follows:Pod (used for projected volume mounts, see below)Secret (can be used to allow revoking a token by deleting the Secret)Node (can be used to auto-revok",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_qa_10689"
  },
  {
    "question": "How does Managing Service Accounts work?",
    "answer": "Managing Service AccountsA ServiceAccount provides an identity for processes that run in a Pod.A process inside a Pod can use the identity of its associated service account to authenticate to the cluster's API server.For an introduction to service accounts, read configure service accounts.This task guide explains some of the concepts behind ServiceAccounts. The guide also explains how to obtain or revoke tokens that represent ServiceAccounts, and how to (optionally) bind a ServiceAccount's validity to the lifetime of an API object.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo be able to follow these steps exactly, ensure you have a namespace named examplens. If you don't, create one by running:kubectl create namespace examplens User accounts versus service accountsKubernetes distinguishes between the concept of a user account and a service account for a number of reasons:User accounts are for humans. Service accounts are for application processes, which (for Kubernetes) run in containers that are part of pods.User accounts are intended to be global: names must be unique across all namespaces of a cluster. No matter what namespace you look at, a particular username that represents a user represents the same user. In Kubernetes, service accounts are namespaced: two different namespaces can contain ServiceAccounts that have identical names.Typically, a cluster's user accounts might be synchronised from a corporate database, where new user account creation requires special privileges and is tied to complex business processes. By contrast, service account creation is intended to be more lightweight, allowing cluster users to create service accounts for specific tasks on demand. Separating ServiceAccount creation from the steps to onboard human users makes it easier for workloads to follow the principle of least privilege.Auditing considerations for humans and service accounts may differ; the separation makes that easier to achieve.A configuration bundle for a complex system may include definition of various service accounts for components of that system. Because service accounts can be created without many constraints and have namespaced names, such configuration is usually portable.Bound service account tokensServiceAccount tokens can be bound to API objects that exist in the kube-apiserver. This can be used to tie the validity of a token to the existence of another API object. Supported object types are as follows:Pod (used for projected volume mounts, see below)Secret (can be used to allow revoking a token by deleting the Secret)Node (can be used to auto-revok",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_qa_10690"
  },
  {
    "question": "When would you use Managing Service Accounts?",
    "answer": "Managing Service AccountsA ServiceAccount provides an identity for processes that run in a Pod.A process inside a Pod can use the identity of its associated service account to authenticate to the cluster's API server.For an introduction to service accounts, read configure service accounts.This task guide explains some of the concepts behind ServiceAccounts. The guide also explains how to obtain or revoke tokens that represent ServiceAccounts, and how to (optionally) bind a ServiceAccount's validity to the lifetime of an API object.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo be able to follow these steps exactly, ensure you have a namespace named examplens. If you don't, create one by running:kubectl create namespace examplens User accounts versus service accountsKubernetes distinguishes between the concept of a user account and a service account for a number of reasons:User accounts are for humans. Service accounts are for application processes, which (for Kubernetes) run in containers that are part of pods.User accounts are intended to be global: names must be unique across all namespaces of a cluster. No matter what namespace you look at, a particular username that represents a user represents the same user. In Kubernetes, service accounts are namespaced: two different namespaces can contain ServiceAccounts that have identical names.Typically, a cluster's user accounts might be synchronised from a corporate database, where new user account creation requires special privileges and is tied to complex business processes. By contrast, service account creation is intended to be more lightweight, allowing cluster users to create service accounts for specific tasks on demand. Separating ServiceAccount creation from the steps to onboard human users makes it easier for workloads to follow the principle of least privilege.Auditing considerations for humans and service accounts may differ; the separation makes that easier to achieve.A configuration bundle for a complex system may include definition of various service accounts for components of that system. Because service accounts can be created without many constraints and have namespaced names, such configuration is usually portable.Bound service account tokensServiceAccount tokens can be bound to API objects that exist in the kube-apiserver. This can be used to tie the validity of a token to the existence of another API object. Supported object types are as follows:Pod (used for projected volume mounts, see below)Secret (can be used to allow revoking a token by deleting the Secret)Node (can be used to auto-revok",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_qa_10691"
  },
  {
    "question": "What are the benefits of Managing Service Accounts?",
    "answer": "Managing Service AccountsA ServiceAccount provides an identity for processes that run in a Pod.A process inside a Pod can use the identity of its associated service account to authenticate to the cluster's API server.For an introduction to service accounts, read configure service accounts.This task guide explains some of the concepts behind ServiceAccounts. The guide also explains how to obtain or revoke tokens that represent ServiceAccounts, and how to (optionally) bind a ServiceAccount's validity to the lifetime of an API object.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo be able to follow these steps exactly, ensure you have a namespace named examplens. If you don't, create one by running:kubectl create namespace examplens User accounts versus service accountsKubernetes distinguishes between the concept of a user account and a service account for a number of reasons:User accounts are for humans. Service accounts are for application processes, which (for Kubernetes) run in containers that are part of pods.User accounts are intended to be global: names must be unique across all namespaces of a cluster. No matter what namespace you look at, a particular username that represents a user represents the same user. In Kubernetes, service accounts are namespaced: two different namespaces can contain ServiceAccounts that have identical names.Typically, a cluster's user accounts might be synchronised from a corporate database, where new user account creation requires special privileges and is tied to complex business processes. By contrast, service account creation is intended to be more lightweight, allowing cluster users to create service accounts for specific tasks on demand. Separating ServiceAccount creation from the steps to onboard human users makes it easier for workloads to follow the principle of least privilege.Auditing considerations for humans and service accounts may differ; the separation makes that easier to achieve.A configuration bundle for a complex system may include definition of various service accounts for components of that system. Because service accounts can be created without many constraints and have namespaced names, such configuration is usually portable.Bound service account tokensServiceAccount tokens can be bound to API objects that exist in the kube-apiserver. This can be used to tie the validity of a token to the existence of another API object. Supported object types are as follows:Pod (used for projected volume mounts, see below)Secret (can be used to allow revoking a token by deleting the Secret)Node (can be used to auto-revok",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_qa_10692"
  },
  {
    "question": "What is Managing Service Accounts?",
    "answer": "A   S e r v i c e A c c o u n t   p r o v i d e s   a n   i d e n t i t y   f o r   p r o c e s s e s   t h a t   r u n   i n   a   P o d .   A   p r o c e s s   i n s i d e   a   P o d   c a n   u s e   t h e   i d e n t i t y   o f   i t s   a s s o c i a t e d   s e r v i c e   a c c o u n t   t o   a u t h e n t i c a t e   t o   t h e   c l u s t e r ' s   A P I   s e r v e r .   F o r   a n   i n t r o d u c t i o n   t o   s e r v i c e   a c c o u n t s ,   r e a d   c o n f i g u r e   s e r v i c e   a c c o u n t s .   T h i s   t a s k   g u i d e   e x p l a i n s   s o m e   o f   t h e   c o n c e p t s   b e h i n d   S e r v i c e A c c o u n t s .   T h e   g u i d e   a l s o   e x p l a i n s   h o w   t o   o b t a i n   o r   r e v o k e   t o k e n s   t h a t   r e p r e s e n t   S e r v i c e A c c o u n t s ,   a n d   h o w   t o   ( o p t i o n a l l y )   b i n d   a   S e r v i c e A c c o u n t ' s   v a l i d i t y   t o   t h e   l i f e t i m e   o f   a n   A P I   o b j e c t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_1_10693"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   b e   a b l e   t o   f o l l o w   t h e s e   s t e p s   e x a c t l y ,   e n s u r e   y o u   h a v e   a   n a m e s p a c e   n a m e d   e x a m p l e n s .   I f   y o u   d o n ' t ,   c r e a t e   o n e   b y   r u n n i n g :   k u b e c t l   c r e a t e   n a m e s p a c e   e x a m p l e n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_2_10694"
  },
  {
    "question": "What is User accounts versus service accounts?",
    "answer": "K u b e r n e t e s   d i s t i n g u i s h e s   b e t w e e n   t h e   c o n c e p t   o f   a   u s e r   a c c o u n t   a n d   a   s e r v i c e   a c c o u n t   f o r   a   n u m b e r   o f   r e a s o n s :   U s e r   a c c o u n t s   a r e   f o r   h u m a n s .   S e r v i c e   a c c o u n t s   a r e   f o r   a p p l i c a t i o n   p r o c e s s e s ,   w h i c h   ( f o r   K u b e r n e t e s )   r u n   i n   c o n t a i n e r s   t h a t   a r e   p a r t   o f   p o d s . U s e r   a c c o u n t s   a r e   i n t e n d e d   t o   b e   g l o b a l :   n a m e s   m u s t   b e   u n i q u e   a c r o s s   a l l   n a m e s p a c e s   o f   a   c l u s t e r .   N o   m a t t e r   w h a t   n a m e s p a c e   y o u   l o o k   a t ,   a   p a r t i c u l a r   u s e r n a m e   t h a t   r e p r e s e n t s   a   u s e r   r e p r e s e n t s   t h e   s a m e   u s e r .   I n   K u b e r n e t e s ,   s e r v i c e   a c c o u n t s   a r e   n a m e s p a c e d :   t w o   d i f f e r e n t   n a m e s p a c e s   c a n   c o n t a i n   S e r v i c e A c c o u n t s   t h a t   h a v e   i d e n t i c a l   n a m e s . T y p i c a l l y ,   a   c l u s t e r ' s   u s e r   a c c o u n t s   m i g h t   b e   s y n c h r o n i s e d   f r o m   a   c o r p o r a t e   d a t a b a s e ,   w h e r e   n e w   u s e r   a c c o u n t   c r e a t i o n   r e q u i r e s   s p e c i a l   p r i v i l e g e s   a n d   i s   t i e d   t o   c o m p l e x   b u s i n e s s   p r o c e s s e s .   B y   c o n t r a s t ,   s e r v i c e   a c c o u n t   c r e a t i o n   i s   i n t e n d e d   t o   b e   m o r e   l i g h t w e i g h t ,   a l l o w i n g   c l u s t e r   u s e r s   t o   c r e a t e   s e r v i c e   a c c o u n t s   f o r   s p e c i f i c   t a s k s   o n   d e m a n d .   S e p a r a t i n g   S e r v i c e A c c o u n t   c r e a t i o n   f r o m   t h e   s t e p s   t o   o n b o a r d   h u m a n   u s e r s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_2_10695"
  },
  {
    "question": "What is Bound service account tokens?",
    "answer": "S e r v i c e A c c o u n t   t o k e n s   c a n   b e   b o u n d   t o   A P I   o b j e c t s   t h a t   e x i s t   i n   t h e   k u b e - a p i s e r v e r .   T h i s   c a n   b e   u s e d   t o   t i e   t h e   v a l i d i t y   o f   a   t o k e n   t o   t h e   e x i s t e n c e   o f   a n o t h e r   A P I   o b j e c t .   S u p p o r t e d   o b j e c t   t y p e s   a r e   a s   f o l l o w s :   P o d   ( u s e d   f o r   p r o j e c t e d   v o l u m e   m o u n t s ,   s e e   b e l o w ) S e c r e t   ( c a n   b e   u s e d   t o   a l l o w   r e v o k i n g   a   t o k e n   b y   d e l e t i n g   t h e   S e c r e t ) N o d e   ( c a n   b e   u s e d   t o   a u t o - r e v o k e   a   t o k e n   w h e n   i t s   N o d e   i s   d e l e t e d ;   c r e a t i n g   n e w   n o d e - b o u n d   t o k e n s   i s   G A   i n   v 1 . 3 3 + )   W h e n   a   t o k e n   i s   b o u n d   t o   a n   o b j e c t ,   t h e   o b j e c t ' s   m e t a d a t a . n a m e   a n d   m e t a d a t a . u i d   a r e   s t o r e d   a s   e x t r a   ' p r i v a t e   c l a i m s '   i n   t h e   i s s u e d   J W T .   W h e n   a   b o u n d   t o k e n   i s   p r e s e n t e d   t o   t h e   k u b e - a p i s e r v e r ,   t h e   s e r v i c e   a c c o u n t   a u t h e n t i c a t o r   w i l l   e x t r a c t   a n d   v e r i f y   t h e s e   c l a i m s .   I f   t h e   r e f e r e n c e d   o b j e c t   o r   t h e   S e r v i c e A c c o u n t   i s   p e n d i n g   d e l e t i o n   ( f o r   e x a m p l e ,   d u e   t o   f i n a l i z e r s ) ,   t h e n   f o r   a n y   i n s t a n t   t h a t   i s   6 0   s e c o n d s   ( o r   m o r e )   a f t e r   t h e   . m e t a d a t a . d e l e t i o n T i m e s t a m p   d a t e ,   a u t h e n t i c a t i o n   w i t h   t h a t   t o k e n   w o u l d   f a i l .   I f   t h e   r e f e r e n c e d   o b j e c t   n o   l o n g e r   e x i s t s   ( o r   i t s   m e t a d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_2_10696"
  },
  {
    "question": "What is Additional metadata in Pod bound tokens?",
    "answer": "W h e n   a   s e r v i c e   a c c o u n t   t o k e n   i s   b o u n d   t o   a   P o d   o b j e c t ,   a d d i t i o n a l   m e t a d a t a   i s   a l s o   e m b e d d e d   i n t o   t h e   t o k e n   t h a t   i n d i c a t e s   t h e   v a l u e   o f   t h e   b o u n d   p o d ' s   s p e c . n o d e N a m e   f i e l d ,   a n d   t h e   u i d   o f   t h a t   N o d e ,   i f   a v a i l a b l e .   T h i s   n o d e   i n f o r m a t i o n   i s   n o t   v e r i f i e d   b y   t h e   k u b e - a p i s e r v e r   w h e n   t h e   t o k e n   i s   u s e d   f o r   a u t h e n t i c a t i o n .   I t   i s   i n c l u d e d   s o   i n t e g r a t o r s   d o   n o t   h a v e   t o   f e t c h   P o d   o r   N o d e   A P I   o b j e c t s   t o   c h e c k   t h e   a s s o c i a t e d   N o d e   n a m e   a n d   u i d   w h e n   i n s p e c t i n g   a   J W T .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_3_10697"
  },
  {
    "question": "What is Verifying and inspecting private claims?",
    "answer": "T h e   T o k e n R e v i e w   A P I   c a n   b e   u s e d   t o   v e r i f y   a n d   e x t r a c t   p r i v a t e   c l a i m s   f r o m   a   t o k e n :   F i r s t ,   a s s u m e   y o u   h a v e   a   p o d   n a m e d   t e s t - p o d   a n d   a   s e r v i c e   a c c o u n t   n a m e d   m y - s a . C r e a t e   a   t o k e n   t h a t   i s   b o u n d   t o   t h i s   P o d : k u b e c t l   c r e a t e   t o k e n   m y - s a   - - b o u n d - o b j e c t - k i n d = \" P o d \"   - - b o u n d - o b j e c t - n a m e = \" t e s t - p o d \"   C o p y   t h i s   t o k e n   i n t o   a   n e w   f i l e   n a m e d   t o k e n r e v i e w . y a m l : a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1   k i n d :   T o k e n R e v i e w   s p e c :   t o k e n :   < t o k e n   f r o m   s t e p   2 >   S u b m i t   t h i s   r e s o u r c e   t o   t h e   a p i s e r v e r   f o r   r e v i e w : #   u s e   ' - o   y a m l '   t o   i n s p e c t   t h e   o u t p u t   k u b e c t l   c r e a t e   - o   y a m l   - f   t o k e n r e v i e w . y a m l   Y o u   s h o u l d   s e e   a n   o u t p u t   l i k e   b e l o w : a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1   k i n d :   T o k e n R e v i e w   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   n u l l   s p e c :   t o k e n :   < t o k e n >   s t a t u s :   a u d i e n c e s :   -   h t t p s : / / k u b e r n e t e s . d e f a u l t . s v c . c l u s t e r . l o c a l   a u t h e n t i c a t e d :   t r u e   u s e r :   e x t r a :   a u t h e n t i c a t i o n . k u b e r n e t e s . i o / c r e d e n t i a l - i d :   -   J T I = 7 e e 5 2 b e 0 - 9 0 4 5 - 4 6 5 3 - a a 5 e - 0 d a 5 7 b 8 d c c d c   a u t h e n t i c a t i o n . k u b e r n e t e s . i o / n o d e - n a m e :   -   k i n d - c o n t r o l - p l a n e   a u t h e n t i c a t i o n . k u b e r n e t e s . i o / n o d e - u i d :   -   4 9 7 e 9 d 9 ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_3_10698"
  },
  {
    "question": "What is Schema for service account private claims?",
    "answer": "T h e   s c h e m a   f o r   t h e   K u b e r n e t e s - s p e c i f i c   c l a i m s   w i t h i n   J W T   t o k e n s   i s   n o t   c u r r e n t l y   d o c u m e n t e d ,   h o w e v e r   t h e   r e l e v a n t   c o d e   a r e a   c a n   b e   f o u n d   i n   t h e   s e r v i c e a c c o u n t   p a c k a g e   i n   t h e   K u b e r n e t e s   c o d e b a s e .   Y o u   c a n   i n s p e c t   a   J W T   u s i n g   s t a n d a r d   J W T   d e c o d i n g   t o o l .   B e l o w   i s   a n   e x a m p l e   o f   a   J W T   f o r   t h e   m y - s e r v i c e a c c o u n t   S e r v i c e A c c o u n t ,   b o u n d   t o   a   P o d   o b j e c t   n a m e d   m y - p o d   w h i c h   i s   s c h e d u l e d   t o   t h e   N o d e   m y - n o d e ,   i n   t h e   m y - n a m e s p a c e   n a m e s p a c e :   {   \" a u d \" :   [   \" h t t p s : / / m y - a u d i e n c e . e x a m p l e . c o m \"   ] ,   \" e x p \" :   1 7 2 9 6 0 5 2 4 0 ,   \" i a t \" :   1 7 2 9 6 0 1 6 4 0 ,   \" i s s \" :   \" h t t p s : / / m y - c l u s t e r . e x a m p l e . c o m \" ,   \" j t i \" :   \" a e d 3 4 9 5 4 - b 3 3 a - 4 1 4 2 - b 1 e c - 3 8 9 d 6 b b b 4 9 3 6 \" ,   \" k u b e r n e t e s . i o \" :   {   \" n a m e s p a c e \" :   \" m y - n a m e s p a c e \" ,   \" n o d e \" :   {   \" n a m e \" :   \" m y - n o d e \" ,   \" u i d \" :   \" 6 4 6 e 7 c 5 e - 3 2 d 6 - 4 d 4 2 - 9 d b d - e 5 0 4 e 6 c b e 6 b 1 \"   } ,   \" p o d \" :   {   \" n a m e \" :   \" m y - p o d \" ,   \" u i d \" :   \" 5 e 0 b d 4 9 b - f 0 4 0 - 4 3 b 0 - 9 9 b 7 - 2 2 7 6 5 a 5 3 f 7 f 3 \"   } ,   \" s e r v i c e a c c o u n t \" :   {   \" n a m e \" :   \" m y - s e r v i c e a c c o u n t \" ,   \" u i d \" :   \" 1 4 e e 3 f a 4 - a 7 e 2 - 4 2 0 f - 9 f 9 a - d b c 4 5 0 7 c 3 7 9 8 \"   }   } ,   \" n b f \" :   1 7 2 9 6 0 1 6 4 0 ,   \" s u b \" :   \" s y s t e m : s e r v i c e a c c o u n t : m y - n a m e s p a c e : m y - s e r v i c e a c c o u n t \"   }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_4_10699"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   a u d   a n d   i s s   f i e l d s   i n   t h i s   J W T   m a y   d i f f e r   b e t w e e n   d i f f e r e n t   K u b e r n e t e s   c l u s t e r s   d e p e n d i n g   o n   y o u r   c o n f i g u r a t i o n .   T h e   p r e s e n c e   o f   b o t h   t h e   p o d   a n d   n o d e   c l a i m   i m p l i e s   t h a t   t h i s   t o k e n   i s   b o u n d   t o   a   P o d   o b j e c t .   W h e n   v e r i f y i n g   P o d   b o u n d   S e r v i c e A c c o u n t   t o k e n s ,   t h e   A P I   s e r v e r   d o e s   n o t   v e r i f y   t h e   e x i s t e n c e   o f   t h e   r e f e r e n c e d   N o d e   o b j e c t .   S e r v i c e s   t h a t   r u n   o u t s i d e   o f   K u b e r n e t e s   a n d   w a n t   t o   p e r f o r m   o f f l i n e   v a l i d a t i o n   o f   J W T s   m a y   u s e   t h i s   s c h e m a ,   a l o n g   w i t h   a   c o m p l i a n t   J W T   v a l i d a t o r   c o n f i g u r e d   w i t h   O p e n I D   D i s c o v e r y   i n f o r m a t i o n   f r o m   t h e   A P I   s e r v e r ,   t o   v e r i f y   p r e s e n t e d   J W T s   w i t h o u t   r e q u i r i n g   u s e   o f   t h e   T o k e n R e v i e w   A P I .   S e r v i c e s   t h a t   v e r i f y   J W T s   i n   t h i s   w a y   d o   n o t   v e r i f y   t h e   c l a i m s   e m b e d d e d   i n   t h e   J W T   t o k e n   t o   b e   c u r r e n t   a n d   s t i l l   v a l i d .   T h i s   m e a n s   i f   t h e   t o k e n   i s   b o u n d   t o   a n   o b j e c t ,   a n d   t h a t   o b j e c t   n o   l o n g e r   e x i s t s ,   t h e   t o k e n   w i l l   s t i l l   b e   c o n s i d e r e d   v a l i d   ( u n t i l   t h e   c o n f i g u r e d   t o k e n   e x p i r e s ) .   C l i e n t s   t h a t   r e q u i r e   a s s u r a n c e   t h a t   a   t o k e n ' s   b o u n d   c l a i m s   a r e   s t i l l   v a l i d   M U S T   u s e   t h e   T o k e n R e v i e w   A P I ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_4_10700"
  },
  {
    "question": "What is Bound service account token volume mechanism?",
    "answer": "B y   d e f a u l t ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   ( s p e c i f i c a l l y ,   t h e   S e r v i c e A c c o u n t   a d m i s s i o n   c o n t r o l l e r )   a d d s   a   p r o j e c t e d   v o l u m e   t o   P o d s ,   a n d   t h i s   v o l u m e   i n c l u d e s   a   t o k e n   f o r   K u b e r n e t e s   A P I   a c c e s s .   H e r e ' s   a n   e x a m p l e   o f   h o w   t h a t   l o o k s   f o r   a   l a u n c h e d   P o d :   . . .   -   n a m e :   k u b e - a p i - a c c e s s - < r a n d o m - s u f f i x >   p r o j e c t e d :   s o u r c e s :   -   s e r v i c e A c c o u n t T o k e n :   p a t h :   t o k e n   #   m u s t   m a t c h   t h e   p a t h   t h e   a p p   e x p e c t s   -   c o n f i g M a p :   i t e m s :   -   k e y :   c a . c r t   p a t h :   c a . c r t   n a m e :   k u b e - r o o t - c a . c r t   -   d o w n w a r d A P I :   i t e m s :   -   f i e l d R e f :   a p i V e r s i o n :   v 1   f i e l d P a t h :   m e t a d a t a . n a m e s p a c e   p a t h :   n a m e s p a c e   T h a t   m a n i f e s t   s n i p p e t   d e f i n e s   a   p r o j e c t e d   v o l u m e   t h a t   c o n s i s t s   o f   t h r e e   s o u r c e s .   I n   t h i s   c a s e ,   e a c h   s o u r c e   a l s o   r e p r e s e n t s   a   s i n g l e   p a t h   w i t h i n   t h a t   v o l u m e .   T h e   t h r e e   s o u r c e s   a r e :   A   s e r v i c e A c c o u n t T o k e n   s o u r c e ,   t h a t   c o n t a i n s   a   t o k e n   t h a t   t h e   k u b e l e t   a c q u i r e s   f r o m   k u b e - a p i s e r v e r .   T h e   k u b e l e t   f e t c h e s   t i m e - b o u n d   t o k e n s   u s i n g   t h e   T o k e n R e q u e s t   A P I .   A   t o k e n   s e r v e d   f o r   a   T o k e n R e q u e s t   e x p i r e s   e i t h e r   w h e n   t h e   p o d   i s   d e l e t e d   o r   a f t e r   a   d e f i n e d   l i f e s p a n   ( b y   d e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_2_10701"
  },
  {
    "question": "What is Manual Secret management for ServiceAccounts?",
    "answer": "V e r s i o n s   o f   K u b e r n e t e s   b e f o r e   v 1 . 2 2   a u t o m a t i c a l l y   c r e a t e d   c r e d e n t i a l s   f o r   a c c e s s i n g   t h e   K u b e r n e t e s   A P I .   T h i s   o l d e r   m e c h a n i s m   w a s   b a s e d   o n   c r e a t i n g   t o k e n   S e c r e t s   t h a t   c o u l d   t h e n   b e   m o u n t e d   i n t o   r u n n i n g   P o d s .   I n   m o r e   r e c e n t   v e r s i o n s ,   i n c l u d i n g   K u b e r n e t e s   v 1 . 3 4 ,   A P I   c r e d e n t i a l s   a r e   o b t a i n e d   d i r e c t l y   u s i n g   t h e   T o k e n R e q u e s t   A P I ,   a n d   a r e   m o u n t e d   i n t o   P o d s   u s i n g   a   p r o j e c t e d   v o l u m e .   T h e   t o k e n s   o b t a i n e d   u s i n g   t h i s   m e t h o d   h a v e   b o u n d e d   l i f e t i m e s ,   a n d   a r e   a u t o m a t i c a l l y   i n v a l i d a t e d   w h e n   t h e   P o d   t h e y   a r e   m o u n t e d   i n t o   i s   d e l e t e d .   Y o u   c a n   s t i l l   m a n u a l l y   c r e a t e   a   S e c r e t   t o   h o l d   a   s e r v i c e   a c c o u n t   t o k e n ;   f o r   e x a m p l e ,   i f   y o u   n e e d   a   t o k e n   t h a t   n e v e r   e x p i r e s .   O n c e   y o u   m a n u a l l y   c r e a t e   a   S e c r e t   a n d   l i n k   i t   t o   a   S e r v i c e A c c o u n t ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   a u t o m a t i c a l l y   p o p u l a t e s   t h e   t o k e n   i n t o   t h a t   S e c r e t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_2_10702"
  },
  {
    "question": "What is Auto-generated legacy ServiceAccount token clean up?",
    "answer": "B e f o r e   v e r s i o n   1 . 2 4 ,   K u b e r n e t e s   a u t o m a t i c a l l y   g e n e r a t e d   S e c r e t - b a s e d   t o k e n s   f o r   S e r v i c e A c c o u n t s .   T o   d i s t i n g u i s h   b e t w e e n   a u t o m a t i c a l l y   g e n e r a t e d   t o k e n s   a n d   m a n u a l l y   c r e a t e d   o n e s ,   K u b e r n e t e s   c h e c k s   f o r   a   r e f e r e n c e   f r o m   t h e   S e r v i c e A c c o u n t ' s   s e c r e t s   f i e l d .   I f   t h e   S e c r e t   i s   r e f e r e n c e d   i n   t h e   s e c r e t s   f i e l d ,   i t   i s   c o n s i d e r e d   a n   a u t o - g e n e r a t e d   l e g a c y   t o k e n .   O t h e r w i s e ,   i t   i s   c o n s i d e r e d   a   m a n u a l l y   c r e a t e d   l e g a c y   t o k e n .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   n a m e :   b u i l d - r o b o t   n a m e s p a c e :   d e f a u l t   s e c r e t s :   -   n a m e :   b u i l d - r o b o t - s e c r e t   #   u s u a l l y   N O T   p r e s e n t   f o r   a   m a n u a l l y   g e n e r a t e d   t o k e n   B e g i n n i n g   f r o m   v e r s i o n   1 . 2 9 ,   l e g a c y   S e r v i c e A c c o u n t   t o k e n s   t h a t   w e r e   g e n e r a t e d   a u t o m a t i c a l l y   w i l l   b e   m a r k e d   a s   i n v a l i d   i f   t h e y   r e m a i n   u n u s e d   f o r   a   c e r t a i n   p e r i o d   o f   t i m e   ( s e t   t o   d e f a u l t   a t   o n e   y e a r ) .   T o k e n s   t h a t   c o n t i n u e   t o   b e   u n u s e d   f o r   t h i s   d e f i n e d   p e r i o d   ( a g a i n ,   b y   d e f a u l t ,   o n e   y e a r )   w i l l   s u b s e q u e n t l y   b e   p u r g e d   b y   t h e   c o n t r o l   p l a n e .   I f   u s e r s   u s e   a n   i n v a l i d a t e d   a u t o - g e n e r a t e d   t o k e n ,   t h e   t o k e n   v a l i d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_2_10703"
  },
  {
    "question": "What is ServiceAccount controller?",
    "answer": "A   S e r v i c e A c c o u n t   c o n t r o l l e r   m a n a g e s   t h e   S e r v i c e A c c o u n t s   i n s i d e   n a m e s p a c e s ,   a n d   e n s u r e s   a   S e r v i c e A c c o u n t   n a m e d   \" d e f a u l t \"   e x i s t s   i n   e v e r y   a c t i v e   n a m e s p a c e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_3_10704"
  },
  {
    "question": "What is Token controller?",
    "answer": "T h e   s e r v i c e   a c c o u n t   t o k e n   c o n t r o l l e r   r u n s   a s   p a r t   o f   k u b e - c o n t r o l l e r - m a n a g e r .   T h i s   c o n t r o l l e r   a c t s   a s y n c h r o n o u s l y .   I t :   w a t c h e s   f o r   S e r v i c e A c c o u n t   d e l e t i o n   a n d   d e l e t e s   a l l   c o r r e s p o n d i n g   S e r v i c e A c c o u n t   t o k e n   S e c r e t s . w a t c h e s   f o r   S e r v i c e A c c o u n t   t o k e n   S e c r e t   a d d i t i o n ,   a n d   e n s u r e s   t h e   r e f e r e n c e d   S e r v i c e A c c o u n t   e x i s t s ,   a n d   a d d s   a   t o k e n   t o   t h e   S e c r e t   i f   n e e d e d . w a t c h e s   f o r   S e c r e t   d e l e t i o n   a n d   r e m o v e s   a   r e f e r e n c e   f r o m   t h e   c o r r e s p o n d i n g   S e r v i c e A c c o u n t   i f   n e e d e d .   Y o u   m u s t   p a s s   a   s e r v i c e   a c c o u n t   p r i v a t e   k e y   f i l e   t o   t h e   t o k e n   c o n t r o l l e r   i n   t h e   k u b e - c o n t r o l l e r - m a n a g e r   u s i n g   t h e   - - s e r v i c e - a c c o u n t - p r i v a t e - k e y - f i l e   f l a g .   T h e   p r i v a t e   k e y   i s   u s e d   t o   s i g n   g e n e r a t e d   s e r v i c e   a c c o u n t   t o k e n s .   S i m i l a r l y ,   y o u   m u s t   p a s s   t h e   c o r r e s p o n d i n g   p u b l i c   k e y   t o   t h e   k u b e - a p i s e r v e r   u s i n g   t h e   - - s e r v i c e - a c c o u n t - k e y - f i l e   f l a g .   T h e   p u b l i c   k e y   w i l l   b e   u s e d   t o   v e r i f y   t h e   t o k e n s   d u r i n g   a u t h e n t i c a t i o n .   A n   a l t e r n a t e   s e t u p   t o   s e t t i n g   - - s e r v i c e - a c c o u n t - p r i v a t e - k e y - f i l e   a n d   - - s e r v i c e - a c c o u n t - k e y - f i l e   f l a g s   i s   t o   c o n f i g u r e   a n   e x t e r n a l   J W ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_3_10705"
  },
  {
    "question": "What is ServiceAccount admission controller?",
    "answer": "T h e   m o d i f i c a t i o n   o f   p o d s   i s   i m p l e m e n t e d   v i a   a   p l u g i n   c a l l e d   a n   A d m i s s i o n   C o n t r o l l e r .   I t   i s   p a r t   o f   t h e   A P I   s e r v e r .   T h i s   a d m i s s i o n   c o n t r o l l e r   a c t s   s y n c h r o n o u s l y   t o   m o d i f y   p o d s   a s   t h e y   a r e   c r e a t e d .   W h e n   t h i s   p l u g i n   i s   a c t i v e   ( a n d   i t   i s   b y   d e f a u l t   o n   m o s t   d i s t r i b u t i o n s ) ,   t h e n   i t   d o e s   t h e   f o l l o w i n g   w h e n   a   P o d   i s   c r e a t e d :   I f   t h e   p o d   d o e s   n o t   h a v e   a   . s p e c . s e r v i c e A c c o u n t N a m e   s e t ,   t h e   a d m i s s i o n   c o n t r o l l e r   s e t s   t h e   n a m e   o f   t h e   S e r v i c e A c c o u n t   f o r   t h i s   i n c o m i n g   P o d   t o   d e f a u l t . T h e   a d m i s s i o n   c o n t r o l l e r   e n s u r e s   t h a t   t h e   S e r v i c e A c c o u n t   r e f e r e n c e d   b y   t h e   i n c o m i n g   P o d   e x i s t s .   I f   t h e r e   i s   n o   S e r v i c e A c c o u n t   w i t h   a   m a t c h i n g   n a m e ,   t h e   a d m i s s i o n   c o n t r o l l e r   r e j e c t s   t h e   i n c o m i n g   P o d .   T h a t   c h e c k   a p p l i e s   e v e n   f o r   t h e   d e f a u l t   S e r v i c e A c c o u n t . P r o v i d e d   t h a t   n e i t h e r   t h e   S e r v i c e A c c o u n t ' s   a u t o m o u n t S e r v i c e A c c o u n t T o k e n   f i e l d   n o r   t h e   P o d ' s   a u t o m o u n t S e r v i c e A c c o u n t T o k e n   f i e l d   i s   s e t   t o   f a l s e : t h e   a d m i s s i o n   c o n t r o l l e r   m u t a t e s   t h e   i n c o m i n g   P o d ,   a d d i n g   a n   e x t r a   v o l u m e   t h a t   c o n t a i n s   a   t o k e n   f o r   A P I   a c c e s s . t h e   a d m i s s i o n   c o n t r o l l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_3_10706"
  },
  {
    "question": "What is Legacy ServiceAccount token tracking controller?",
    "answer": "T h i s   c o n t r o l l e r   g e n e r a t e s   a   C o n f i g M a p   c a l l e d   k u b e - s y s t e m / k u b e - a p i s e r v e r - l e g a c y - s e r v i c e - a c c o u n t - t o k e n - t r a c k i n g   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   T h e   C o n f i g M a p   r e c o r d s   t h e   t i m e s t a m p   w h e n   l e g a c y   s e r v i c e   a c c o u n t   t o k e n s   b e g a n   t o   b e   m o n i t o r e d   b y   t h e   s y s t e m .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_3_10707"
  },
  {
    "question": "What is Legacy ServiceAccount token cleaner?",
    "answer": "T h e   l e g a c y   S e r v i c e A c c o u n t   t o k e n   c l e a n e r   r u n s   a s   p a r t   o f   t h e   k u b e - c o n t r o l l e r - m a n a g e r   a n d   c h e c k s   e v e r y   2 4   h o u r s   t o   s e e   i f   a n y   a u t o - g e n e r a t e d   l e g a c y   S e r v i c e A c c o u n t   t o k e n   h a s   n o t   b e e n   u s e d   i n   a   s p e c i f i e d   a m o u n t   o f   t i m e .   I f   s o ,   t h e   c l e a n e r   m a r k s   t h o s e   t o k e n s   a s   i n v a l i d .   T h e   c l e a n e r   w o r k s   b y   f i r s t   c h e c k i n g   t h e   C o n f i g M a p   c r e a t e d   b y   t h e   c o n t r o l   p l a n e   ( p r o v i d e d   t h a t   L e g a c y S e r v i c e A c c o u n t T o k e n T r a c k i n g   i s   e n a b l e d ) .   I f   t h e   c u r r e n t   t i m e   i s   a   s p e c i f i e d   a m o u n t   o f   t i m e   a f t e r   t h e   d a t e   i n   t h e   C o n f i g M a p ,   t h e   c l e a n e r   t h e n   l o o p s   t h r o u g h   t h e   l i s t   o f   S e c r e t s   i n   t h e   c l u s t e r   a n d   e v a l u a t e s   e a c h   S e c r e t   t h a t   h a s   t h e   t y p e   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n .   I f   a   S e c r e t   m e e t s   a l l   o f   t h e   f o l l o w i n g   c o n d i t i o n s ,   t h e   c l e a n e r   m a r k s   i t   a s   i n v a l i d :   T h e   S e c r e t   i s   a u t o - g e n e r a t e d ,   m e a n i n g   t h a t   i t   i s   b i - d i r e c t i o n a l l y   r e f e r e n c e d   b y   a   S e r v i c e A c c o u n t . T h e   S e c r e t   i s   n o t   c u r r e n t l y   m o u n t e d   b y   a n y   p o d s . T h e   S e c r e t   h a s   n o t   b e e n   u s e d   i n   a   s p e c i f i e d   a m o u n t   o f   t i m e   s i n c e   i t   w a s   c r e a t e d   o r   s i n c e   i t   w a s   l a s t   u s e d .   T h e   c l e a n e r   m a r k s   a   S e c r e t   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_3_10708"
  },
  {
    "question": "What is TokenRequest API?",
    "answer": "Y o u   u s e   t h e   T o k e n R e q u e s t   s u b r e s o u r c e   o f   a   S e r v i c e A c c o u n t   t o   o b t a i n   a   t i m e - b o u n d   t o k e n   f o r   t h a t   S e r v i c e A c c o u n t .   Y o u   d o n ' t   n e e d   t o   c a l l   t h i s   t o   o b t a i n   a n   A P I   t o k e n   f o r   u s e   w i t h i n   a   c o n t a i n e r ,   s i n c e   t h e   k u b e l e t   s e t s   t h i s   u p   f o r   y o u   u s i n g   a   p r o j e c t e d   v o l u m e .   I f   y o u   w a n t   t o   u s e   t h e   T o k e n R e q u e s t   A P I   f r o m   k u b e c t l ,   s e e   M a n u a l l y   c r e a t e   a n   A P I   t o k e n   f o r   a   S e r v i c e A c c o u n t .   T h e   K u b e r n e t e s   c o n t r o l   p l a n e   ( s p e c i f i c a l l y ,   t h e   S e r v i c e A c c o u n t   a d m i s s i o n   c o n t r o l l e r )   a d d s   a   p r o j e c t e d   v o l u m e   t o   P o d s ,   a n d   t h e   k u b e l e t   e n s u r e s   t h a t   t h i s   v o l u m e   c o n t a i n s   a   t o k e n   t h a t   l e t s   c o n t a i n e r s   a u t h e n t i c a t e   a s   t h e   r i g h t   S e r v i c e A c c o u n t .   ( T h i s   m e c h a n i s m   s u p e r s e d e d   a n   e a r l i e r   m e c h a n i s m   t h a t   a d d e d   a   v o l u m e   b a s e d   o n   a   S e c r e t ,   w h e r e   t h e   S e c r e t   r e p r e s e n t e d   t h e   S e r v i c e A c c o u n t   f o r   t h e   P o d   b u t   d i d   n o t   e x p i r e . )   H e r e ' s   a n   e x a m p l e   o f   h o w   t h a t   l o o k s   f o r   a   l a u n c h e d   P o d :   . . .   -   n a m e :   k u b e - a p i - a c c e s s - < r a n d o m - s u f f i x >   p r o j e c t e d :   d e f a u l t M o d e :   4 2 0   #   d e c i m a l   e q u i v a l e n t   o f   o c t a l   0 6 4 4   s o u r c e s :   -   s e r v i c e A c c o u n t T o k e n :   e x p i r a t i o n S e c o n d s :   3 6 0 7   p a t h :   t o k e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_3_10709"
  },
  {
    "question": "What is Caution:?",
    "answer": "T o   c r e a t e   a   n o n - e x p i r i n g ,   p e r s i s t e d   A P I   t o k e n   f o r   a   S e r v i c e A c c o u n t ,   c r e a t e   a   S e c r e t   o f   t y p e   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n   w i t h   a n   a n n o t a t i o n   r e f e r e n c i n g   t h e   S e r v i c e A c c o u n t .   T h e   c o n t r o l   p l a n e   t h e n   g e n e r a t e s   a   l o n g - l i v e d   t o k e n   a n d   u p d a t e s   t h a t   S e c r e t   w i t h   t h a t   g e n e r a t e d   t o k e n   d a t a .   H e r e   i s   a   s a m p l e   m a n i f e s t   f o r   s u c h   a   S e c r e t :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   t y p e :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n   m e t a d a t a :   n a m e :   m y s e c r e t n a m e   a n n o t a t i o n s :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . n a m e :   m y s e r v i c e a c c o u n t   T o   c r e a t e   a   S e c r e t   b a s e d   o n   t h i s   e x a m p l e ,   r u n :   k u b e c t l   - n   e x a m p l e n s   c r e a t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / s e c r e t / s e r v i c e a c c o u n t / m y s e c r e t n a m e . y a m l   T o   s e e   t h e   d e t a i l s   f o r   t h a t   S e c r e t ,   r u n :   k u b e c t l   - n   e x a m p l e n s   d e s c r i b e   s e c r e t   m y s e c r e t n a m e   T h e   o u t p u t   i s   s i m i l a r   t o :   N a m e :   m y s e c r e t n a m e   N a m e s p a c e :   e x a m p l e n s   L a b e l s :   < n o n e >   A n n o t a t i o n s :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . n a m e = m y s e r v i c e a c c o u n t   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . u i d = 8 a 8 5 c 4 c 4 - 8 4 8 3 - 1 1 e 9 - b c 4 2 - 5 2 6 a f 7 7 6 4 f 6 4   T y p e :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n   D a t a   = = = =   c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_4_10710"
  },
  {
    "question": "What is Delete/invalidate a long-lived/legacy ServiceAccount token?",
    "answer": "I f   y o u   k n o w   t h e   n a m e   o f   t h e   S e c r e t   t h a t   c o n t a i n s   t h e   t o k e n   y o u   w a n t   t o   r e m o v e :   k u b e c t l   d e l e t e   s e c r e t   n a m e - o f - s e c r e t   O t h e r w i s e ,   f i r s t   f i n d   t h e   S e c r e t   f o r   t h e   S e r v i c e A c c o u n t .   #   T h i s   a s s u m e s   t h a t   y o u   a l r e a d y   h a v e   a   n a m e s p a c e   n a m e d   ' e x a m p l e n s '   k u b e c t l   - n   e x a m p l e n s   g e t   s e r v i c e a c c o u n t / e x a m p l e - a u t o m a t e d - t h i n g   - o   y a m l   T h e   o u t p u t   i s   s i m i l a r   t o :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   a n n o t a t i o n s :   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n :   |   { \" a p i V e r s i o n \" : \" v 1 \" , \" k i n d \" : \" S e r v i c e A c c o u n t \" , \" m e t a d a t a \" : { \" a n n o t a t i o n s \" : { } , \" n a m e \" : \" e x a m p l e - a u t o m a t e d - t h i n g \" , \" n a m e s p a c e \" : \" e x a m p l e n s \" } }   c r e a t i o n T i m e s t a m p :   \" 2 0 1 9 - 0 7 - 2 1 T 0 7 : 0 7 : 0 7 Z \"   n a m e :   e x a m p l e - a u t o m a t e d - t h i n g   n a m e s p a c e :   e x a m p l e n s   r e s o u r c e V e r s i o n :   \" 7 7 7 \"   s e l f L i n k :   / a p i / v 1 / n a m e s p a c e s / e x a m p l e n s / s e r v i c e a c c o u n t s / e x a m p l e - a u t o m a t e d - t h i n g   u i d :   f 2 3 f d 1 7 0 - 6 6 f 2 - 4 6 9 7 - b 0 4 9 - e 1 e 2 6 6 b 7 f 8 3 5   s e c r e t s :   -   n a m e :   e x a m p l e - a u t o m a t e d - t h i n g - t o k e n - z y x w v   T h e n ,   d e l e t e   t h e   S e c r e t   y o u   n o w   k n o w   t h e   n a m e   o f :   k u b e c t l   - n   e x a m p l e n s   d e l e t e   s e c r e t / e x a m p l e - a u t o m a t e d - t h i n g - t o k e n - z y x w v",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_3_10711"
  },
  {
    "question": "What is Delete/invalidate a short-lived ServiceAccount token?",
    "answer": "S h o r t   l i v e d   S e r v i c e A c c o u n t   t o k e n s   a u t o m a t i c a l l y   e x p i r e   a f t e r   t h e   t i m e - l i m i t   s p e c i f i e d   d u r i n g   t h e i r   c r e a t i o n .   T h e r e   i s   n o   c e n t r a l   r e c o r d   o f   t o k e n s   i s s u e d ,   s o   t h e r e   i s   n o   w a y   t o   r e v o k e   i n d i v i d u a l   t o k e n s .   I f   y o u   h a v e   t o   r e v o k e   a   s h o r t - l i v e d   t o k e n   b e f o r e   i t s   e x p i r a t i o n ,   y o u   c a n   d e l e t e   a n d   r e - c r e a t e   t h e   S e r v i c e A c c o u n t   i t   i s   a s s o c i a t e d   t o .   T h i s   w i l l   c h a n g e   i t s   U I D   a n d   h e n c e   i n v a l i d a t e   a l l   S e r v i c e A c c o u n t   t o k e n s   t h a t   w e r e   c r e a t e d   f o r   i t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_3_10712"
  },
  {
    "question": "What is External ServiceAccount token signing and key management?",
    "answer": "T h e   k u b e - a p i s e r v e r   c a n   b e   c o n f i g u r e d   t o   u s e   e x t e r n a l   s i g n e r   f o r   t o k e n   s i g n i n g   a n d   t o k e n   v e r i f y i n g   k e y   m a n a g e m e n t .   T h i s   f e a t u r e   e n a b l e s   k u b e r n e t e s   d i s t r i b u t i o n s   t o   i n t e g r a t e   w i t h   k e y   m a n a g e m e n t   s o l u t i o n s   o f   t h e i r   c h o i c e   ( f o r   e x a m p l e ,   H S M s ,   c l o u d   K M S e s )   f o r   s e r v i c e   a c c o u n t   c r e d e n t i a l   s i g n i n g   a n d   v e r i f i c a t i o n .   T o   c o n f i g u r e   k u b e - a p i s e r v e r   t o   u s e   e x t e r n a l - j w t - s i g n e r   s e t   t h e   - - s e r v i c e - a c c o u n t - s i g n i n g - e n d p o i n t   f l a g   t o   t h e   l o c a t i o n   o f   a   U n i x   d o m a i n   s o c k e t   ( U D S )   o n   a   f i l e s y s t e m ,   o r   b e   p r e f i x e d   w i t h   a n   @   s y m b o l   a n d   n a m e   a   U D S   i n   t h e   a b s t r a c t   s o c k e t   n a m e s p a c e .   A t   t h e   c o n f i g u r e d   U D S   s h a l l   b e   a n   R P C   s e r v e r   w h i c h   i m p l e m e n t s   a n   E x t e r n a l J W T S i g n e r   g R P C   s e r v i c e .   T h e   e x t e r n a l - j w t - s i g n e r   m u s t   b e   h e a l t h y   a n d   b e   r e a d y   t o   s e r v e   s u p p o r t e d   s e r v i c e   a c c o u n t   k e y s   f o r   t h e   k u b e - a p i s e r v e r   t o   s t a r t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_2_10713"
  },
  {
    "question": "What is Note:?",
    "answer": "A n   e x t e r n a l   s i g n e r   p r o v i d e s   a   v 1 . E x t e r n a l J W T S i g n e r   g R P C   s e r v i c e   t h a t   i m p l e m e n t s   3   m e t h o d s :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_4_10714"
  },
  {
    "question": "What is Metadata?",
    "answer": "M e t a d a t a   i s   m e a n t   t o   b e   c a l l e d   o n c e   b y   k u b e - a p i s e r v e r   o n   s t a r t u p .   T h i s   e n a b l e s   t h e   e x t e r n a l   s i g n e r   t o   s h a r e   m e t a d a t a   w i t h   k u b e - a p i s e r v e r ,   l i k e   t h e   m a x   t o k e n   l i f e t i m e   t h a t   s i g n e r   s u p p o r t s .   r p c   M e t a d a t a ( M e t a d a t a R e q u e s t )   r e t u r n s   ( M e t a d a t a R e s p o n s e )   { }   m e s s a g e   M e t a d a t a R e q u e s t   { }   m e s s a g e   M e t a d a t a R e s p o n s e   {   / /   u s e d   b y   k u b e - a p i s e r v e r   f o r   d e f a u l t i n g / v a l i d a t i o n   o f   J W T   l i f e t i m e   w h i l e   a c c o u n t i n g   f o r   c o n f i g u r a t i o n   f l a g   v a l u e s :   / /   1 .   ` - - s e r v i c e - a c c o u n t - m a x - t o k e n - e x p i r a t i o n `   / /   2 .   ` - - s e r v i c e - a c c o u n t - e x t e n d - t o k e n - e x p i r a t i o n `   / /   / /   *   I f   ` - - s e r v i c e - a c c o u n t - m a x - t o k e n - e x p i r a t i o n `   i s   g r e a t e r   t h a n   ` m a x _ t o k e n _ e x p i r a t i o n _ s e c o n d s ` ,   k u b e - a p i s e r v e r   t r e a t s   t h a t   a s   m i s c o n f i g u r a t i o n   a n d   e x i t s .   / /   *   I f   ` - - s e r v i c e - a c c o u n t - m a x - t o k e n - e x p i r a t i o n `   i s   n o t   e x p l i c i t l y   s e t ,   k u b e - a p i s e r v e r   d e f a u l t s   t o   ` m a x _ t o k e n _ e x p i r a t i o n _ s e c o n d s ` .   / /   *   I f   ` - - s e r v i c e - a c c o u n t - e x t e n d - t o k e n - e x p i r a t i o n `   i s   t r u e ,   t h e   e x t e n d e d   e x p i r a t i o n   i s   ` m i n ( 1   y e a r ,   m a x _ t o k e n _ e x p i r a t i o n _ s e c o n d s ) ` .   / /   / /   ` m a x _ t o k e n _ e x p i r a t i o n _ s e c o n d s `   m u s t   b e   a t   l e a s t   6 0 0 s .   i n t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_3_10715"
  },
  {
    "question": "What is FetchKeys?",
    "answer": "F e t c h K e y s   r e t u r n s   t h e   s e t   o f   p u b l i c   k e y s   t h a t   a r e   t r u s t e d   t o   s i g n   K u b e r n e t e s   s e r v i c e   a c c o u n t   t o k e n s .   K u b e - a p i s e r v e r   w i l l   c a l l   t h i s   R P C :   E v e r y   t i m e   i t   t r i e s   t o   v a l i d a t e   a   J W T   f r o m   t h e   s e r v i c e   a c c o u n t   i s s u e r   w i t h   a n   u n k n o w n   k e y   I D ,   a n d P e r i o d i c a l l y ,   s o   i t   c a n   s e r v e   r e a s o n a b l y - u p - t o - d a t e   k e y s   f r o m   t h e   O I D C   J W K s   e n d p o i n t .   r p c   F e t c h K e y s ( F e t c h K e y s R e q u e s t )   r e t u r n s   ( F e t c h K e y s R e s p o n s e )   { }   m e s s a g e   F e t c h K e y s R e q u e s t   { }   m e s s a g e   F e t c h K e y s R e s p o n s e   {   r e p e a t e d   K e y   k e y s   =   1 ;   / /   T h e   t i m e s t a m p   w h e n   t h i s   d a t a   w a s   p u l l e d   f r o m   t h e   a u t h o r i t a t i v e   s o u r c e   o f   / /   t r u t h   f o r   v e r i f i c a t i o n   k e y s .   / /   k u b e - a p i s e r v e r   c a n   e x p o r t   t h i s   f r o m   m e t r i c s ,   t o   e n a b l e   e n d - t o - e n d   S L O s .   g o o g l e . p r o t o b u f . T i m e s t a m p   d a t a _ t i m e s t a m p   =   2 ;   / /   r e f r e s h   i n t e r v a l   f o r   v e r i f i c a t i o n   k e y s   t o   p i c k   c h a n g e s   i f   a n y .   / /   a n y   v a l u e   < =   0   i s   c o n s i d e r e d   a   m i s c o n f i g u r a t i o n .   i n t 6 4   r e f r e s h _ h i n t _ s e c o n d s   =   3 ;   }   m e s s a g e   K e y   {   / /   A   u n i q u e   i d e n t i f i e r   f o r   t h i s   k e y .   / /   L e n g t h   m u s t   b e   < = 1 0 2 4 .   s t r i n g   k e y _ i d   =   1 ;   / /   T h e   p u b l i c   k e y ,   P K I X - s e r i a l i z e d .   / /   m u s t   b e   a   p u b l i c   k e y   s u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_3_10716"
  },
  {
    "question": "What is Sign?",
    "answer": "S i g n   t a k e s   a   s e r i a l i z e d   J W T   p a y l o a d ,   a n d   r e t u r n s   t h e   s e r i a l i z e d   h e a d e r   a n d   s i g n a t u r e .   k u b e - a p i s e r v e r   t h e n   a s s e m b l e s   t h e   J W T   f r o m   t h e   h e a d e r ,   p a y l o a d ,   a n d   s i g n a t u r e .   r p c   S i g n ( S i g n J W T R e q u e s t )   r e t u r n s   ( S i g n J W T R e s p o n s e )   { }   m e s s a g e   S i g n J W T R e q u e s t   {   / /   U R L - s a f e   b a s e 6 4   w r a p p e d   p a y l o a d   t o   b e   s i g n e d .   / /   E x a c t l y   a s   i t   a p p e a r s   i n   t h e   s e c o n d   s e g m e n t   o f   t h e   J W T   s t r i n g   c l a i m s   =   1 ;   }   m e s s a g e   S i g n J W T R e s p o n s e   {   / /   h e a d e r   m u s t   c o n t a i n   o n l y   a l g ,   k i d ,   t y p   c l a i m s .   / /   t y p   m u s t   b e   “ J W T ” .   / /   k i d   m u s t   b e   n o n - e m p t y ,   < = 1 0 2 4   c h a r a c t e r s ,   a n d   i t s   c o r r e s p o n d i n g   p u b l i c   k e y   s h o u l d   n o t   b e   e x c l u d e d   f r o m   O I D C   d i s c o v e r y .   / /   a l g   m u s t   b e   o n e   o f   t h e   a l g o r i t h m s   s u p p o r t e d   b y   k u b e - a p i s e r v e r   ( c u r r e n t l y   R S 2 5 6 ,   E S 2 5 6 ,   E S 3 8 4 ,   E S 5 1 2 ) .   / /   h e a d e r   c a n n o t   h a v e   a n y   a d d i t i o n a l   d a t a   t h a t   k u b e - a p i s e r v e r   d o e s   n o t   r e c o g n i z e .   / /   A l r e a d y   w r a p p e d   i n   U R L - s a f e   b a s e 6 4 ,   e x a c t l y   a s   i t   a p p e a r s   i n   t h e   f i r s t   s e g m e n t   o f   t h e   J W T .   s t r i n g   h e a d e r   =   1 ;   / /   T h e   s i g n a t u r e   f o r   t h e   J W T .   / /   A l r e a d y   w r a p p e d   i n   U R L - s a f e   b a s e 6 4 ,   e x a c t l y   a s   i t   a p p e a r s   i n   t h e   f i n a l   s e g m ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_3_10717"
  },
  {
    "question": "What is Clean up?",
    "answer": "I f   y o u   c r e a t e d   a   n a m e s p a c e   e x a m p l e n s   t o   e x p e r i m e n t   w i t h ,   y o u   c a n   r e m o v e   i t :   k u b e c t l   d e l e t e   n a m e s p a c e   e x a m p l e n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_2_10718"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   m o r e   d e t a i l s   a b o u t   p r o j e c t e d   v o l u m e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/",
    "id": "k8s_00564_section_2_10719"
  },
  {
    "question": "What is Imperative Management of Kubernetes Objects Using Configuration Files?",
    "answer": "Imperative Management of Kubernetes Objects Using Configuration FilesKubernetes objects can be created, updated, and deleted by using the kubectl command-line tool along with an object configuration file written in YAML or JSON. This document explains how to define and manage objects using configuration files.Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Trade-offsThe kubectl tool supports three kinds of object management:Imperative commandsImperative object configurationDeclarative object configurationSee Kubernetes Object Management for a discussion of the advantages and disadvantage of each kind of object management.How to create objectsYou can use kubectl create -f to create an object from a configuration file. Refer to the kubernetes API reference for details.kubectl create -f <filename|url>How to update objectsWarning:Updating objects with the replace command drops all parts of the spec not specified in the configuration file. This should not be used with objects whose specs are partially managed by the cluster, such as Services of type LoadBalancer, where the externalIPs field is managed independently from the configuration file. Independently managed fields must be copied to the configuration file to prevent replace from dropping them.You can use kubectl replace -f to update a live object according to a configuration file.kubectl replace -f <filename|url>How to delete objectsYou can use kubectl delete -f to delete an object that is described in a configuration file.kubectl delete -f <filename|url>Note:If configuration file has specified the generateName field in the metadata section instead of the name field, you cannot delete the object using kubectl delete -f <filename|url>. You will have to use other flags for deleting the object. For example:kubectl delete <type> <name> kubectl delete <type> -l <label> How to view an objectYou can use kubectl get -f to view information about an object that is described in a configuration file.kubectl get -f <filename|url> -o yamlThe -o yaml flag specifies that the full object configuration is printed. Use kubectl get -h to see a list of options.LimitationsThe create, replace, and delete commands work well when each object's configuration is fully defined and recorded in its configuration file. However when a live object is updated, and the updates are not merged into its configuration file, the updates will be lost the next time a replace is executed. This can happen if a controller, such as a HorizontalPodAutoscaler, makes updates directly to a live object",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-config/",
    "id": "k8s_00565_qa_10720"
  },
  {
    "question": "How does Imperative Management of Kubernetes Objects Using Configuration Files work?",
    "answer": "Imperative Management of Kubernetes Objects Using Configuration FilesKubernetes objects can be created, updated, and deleted by using the kubectl command-line tool along with an object configuration file written in YAML or JSON. This document explains how to define and manage objects using configuration files.Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Trade-offsThe kubectl tool supports three kinds of object management:Imperative commandsImperative object configurationDeclarative object configurationSee Kubernetes Object Management for a discussion of the advantages and disadvantage of each kind of object management.How to create objectsYou can use kubectl create -f to create an object from a configuration file. Refer to the kubernetes API reference for details.kubectl create -f <filename|url>How to update objectsWarning:Updating objects with the replace command drops all parts of the spec not specified in the configuration file. This should not be used with objects whose specs are partially managed by the cluster, such as Services of type LoadBalancer, where the externalIPs field is managed independently from the configuration file. Independently managed fields must be copied to the configuration file to prevent replace from dropping them.You can use kubectl replace -f to update a live object according to a configuration file.kubectl replace -f <filename|url>How to delete objectsYou can use kubectl delete -f to delete an object that is described in a configuration file.kubectl delete -f <filename|url>Note:If configuration file has specified the generateName field in the metadata section instead of the name field, you cannot delete the object using kubectl delete -f <filename|url>. You will have to use other flags for deleting the object. For example:kubectl delete <type> <name> kubectl delete <type> -l <label> How to view an objectYou can use kubectl get -f to view information about an object that is described in a configuration file.kubectl get -f <filename|url> -o yamlThe -o yaml flag specifies that the full object configuration is printed. Use kubectl get -h to see a list of options.LimitationsThe create, replace, and delete commands work well when each object's configuration is fully defined and recorded in its configuration file. However when a live object is updated, and the updates are not merged into its configuration file, the updates will be lost the next time a replace is executed. This can happen if a controller, such as a HorizontalPodAutoscaler, makes updates directly to a live object",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-config/",
    "id": "k8s_00565_qa_10721"
  },
  {
    "question": "When would you use Imperative Management of Kubernetes Objects Using Configuration Files?",
    "answer": "Imperative Management of Kubernetes Objects Using Configuration FilesKubernetes objects can be created, updated, and deleted by using the kubectl command-line tool along with an object configuration file written in YAML or JSON. This document explains how to define and manage objects using configuration files.Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Trade-offsThe kubectl tool supports three kinds of object management:Imperative commandsImperative object configurationDeclarative object configurationSee Kubernetes Object Management for a discussion of the advantages and disadvantage of each kind of object management.How to create objectsYou can use kubectl create -f to create an object from a configuration file. Refer to the kubernetes API reference for details.kubectl create -f <filename|url>How to update objectsWarning:Updating objects with the replace command drops all parts of the spec not specified in the configuration file. This should not be used with objects whose specs are partially managed by the cluster, such as Services of type LoadBalancer, where the externalIPs field is managed independently from the configuration file. Independently managed fields must be copied to the configuration file to prevent replace from dropping them.You can use kubectl replace -f to update a live object according to a configuration file.kubectl replace -f <filename|url>How to delete objectsYou can use kubectl delete -f to delete an object that is described in a configuration file.kubectl delete -f <filename|url>Note:If configuration file has specified the generateName field in the metadata section instead of the name field, you cannot delete the object using kubectl delete -f <filename|url>. You will have to use other flags for deleting the object. For example:kubectl delete <type> <name> kubectl delete <type> -l <label> How to view an objectYou can use kubectl get -f to view information about an object that is described in a configuration file.kubectl get -f <filename|url> -o yamlThe -o yaml flag specifies that the full object configuration is printed. Use kubectl get -h to see a list of options.LimitationsThe create, replace, and delete commands work well when each object's configuration is fully defined and recorded in its configuration file. However when a live object is updated, and the updates are not merged into its configuration file, the updates will be lost the next time a replace is executed. This can happen if a controller, such as a HorizontalPodAutoscaler, makes updates directly to a live object",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-config/",
    "id": "k8s_00565_qa_10722"
  },
  {
    "question": "What are the benefits of Imperative Management of Kubernetes Objects Using Configuration Files?",
    "answer": "Imperative Management of Kubernetes Objects Using Configuration FilesKubernetes objects can be created, updated, and deleted by using the kubectl command-line tool along with an object configuration file written in YAML or JSON. This document explains how to define and manage objects using configuration files.Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Trade-offsThe kubectl tool supports three kinds of object management:Imperative commandsImperative object configurationDeclarative object configurationSee Kubernetes Object Management for a discussion of the advantages and disadvantage of each kind of object management.How to create objectsYou can use kubectl create -f to create an object from a configuration file. Refer to the kubernetes API reference for details.kubectl create -f <filename|url>How to update objectsWarning:Updating objects with the replace command drops all parts of the spec not specified in the configuration file. This should not be used with objects whose specs are partially managed by the cluster, such as Services of type LoadBalancer, where the externalIPs field is managed independently from the configuration file. Independently managed fields must be copied to the configuration file to prevent replace from dropping them.You can use kubectl replace -f to update a live object according to a configuration file.kubectl replace -f <filename|url>How to delete objectsYou can use kubectl delete -f to delete an object that is described in a configuration file.kubectl delete -f <filename|url>Note:If configuration file has specified the generateName field in the metadata section instead of the name field, you cannot delete the object using kubectl delete -f <filename|url>. You will have to use other flags for deleting the object. For example:kubectl delete <type> <name> kubectl delete <type> -l <label> How to view an objectYou can use kubectl get -f to view information about an object that is described in a configuration file.kubectl get -f <filename|url> -o yamlThe -o yaml flag specifies that the full object configuration is printed. Use kubectl get -h to see a list of options.LimitationsThe create, replace, and delete commands work well when each object's configuration is fully defined and recorded in its configuration file. However when a live object is updated, and the updates are not merged into its configuration file, the updates will be lost the next time a replace is executed. This can happen if a controller, such as a HorizontalPodAutoscaler, makes updates directly to a live object",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-config/",
    "id": "k8s_00565_qa_10723"
  },
  {
    "question": "What is Imperative Management of Kubernetes Objects Using Configuration Files?",
    "answer": "K u b e r n e t e s   o b j e c t s   c a n   b e   c r e a t e d ,   u p d a t e d ,   a n d   d e l e t e d   b y   u s i n g   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   a l o n g   w i t h   a n   o b j e c t   c o n f i g u r a t i o n   f i l e   w r i t t e n   i n   Y A M L   o r   J S O N .   T h i s   d o c u m e n t   e x p l a i n s   h o w   t o   d e f i n e   a n d   m a n a g e   o b j e c t s   u s i n g   c o n f i g u r a t i o n   f i l e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-config/",
    "id": "k8s_00565_section_1_10724"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n s t a l l   k u b e c t l .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-config/",
    "id": "k8s_00565_section_2_10725"
  },
  {
    "question": "What is Trade-offs?",
    "answer": "T h e   k u b e c t l   t o o l   s u p p o r t s   t h r e e   k i n d s   o f   o b j e c t   m a n a g e m e n t :   I m p e r a t i v e   c o m m a n d s I m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n D e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n   S e e   K u b e r n e t e s   O b j e c t   M a n a g e m e n t   f o r   a   d i s c u s s i o n   o f   t h e   a d v a n t a g e s   a n d   d i s a d v a n t a g e   o f   e a c h   k i n d   o f   o b j e c t   m a n a g e m e n t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-config/",
    "id": "k8s_00565_section_2_10726"
  },
  {
    "question": "What is How to create objects?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   c r e a t e   - f   t o   c r e a t e   a n   o b j e c t   f r o m   a   c o n f i g u r a t i o n   f i l e .   R e f e r   t o   t h e   k u b e r n e t e s   A P I   r e f e r e n c e   f o r   d e t a i l s .   k u b e c t l   c r e a t e   - f   < f i l e n a m e | u r l >",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-config/",
    "id": "k8s_00565_section_2_10727"
  },
  {
    "question": "What is Warning:?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   r e p l a c e   - f   t o   u p d a t e   a   l i v e   o b j e c t   a c c o r d i n g   t o   a   c o n f i g u r a t i o n   f i l e .   k u b e c t l   r e p l a c e   - f   < f i l e n a m e | u r l >",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-config/",
    "id": "k8s_00565_section_4_10728"
  },
  {
    "question": "What is How to delete objects?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   d e l e t e   - f   t o   d e l e t e   a n   o b j e c t   t h a t   i s   d e s c r i b e d   i n   a   c o n f i g u r a t i o n   f i l e .   k u b e c t l   d e l e t e   - f   < f i l e n a m e | u r l >",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-config/",
    "id": "k8s_00565_section_2_10729"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   c o n f i g u r a t i o n   f i l e   h a s   s p e c i f i e d   t h e   g e n e r a t e N a m e   f i e l d   i n   t h e   m e t a d a t a   s e c t i o n   i n s t e a d   o f   t h e   n a m e   f i e l d ,   y o u   c a n n o t   d e l e t e   t h e   o b j e c t   u s i n g   k u b e c t l   d e l e t e   - f   < f i l e n a m e | u r l > .   Y o u   w i l l   h a v e   t o   u s e   o t h e r   f l a g s   f o r   d e l e t i n g   t h e   o b j e c t .   F o r   e x a m p l e :   k u b e c t l   d e l e t e   < t y p e >   < n a m e >   k u b e c t l   d e l e t e   < t y p e >   - l   < l a b e l >",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-config/",
    "id": "k8s_00565_section_4_10730"
  },
  {
    "question": "What is How to view an object?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   g e t   - f   t o   v i e w   i n f o r m a t i o n   a b o u t   a n   o b j e c t   t h a t   i s   d e s c r i b e d   i n   a   c o n f i g u r a t i o n   f i l e .   k u b e c t l   g e t   - f   < f i l e n a m e | u r l >   - o   y a m l   T h e   - o   y a m l   f l a g   s p e c i f i e s   t h a t   t h e   f u l l   o b j e c t   c o n f i g u r a t i o n   i s   p r i n t e d .   U s e   k u b e c t l   g e t   - h   t o   s e e   a   l i s t   o f   o p t i o n s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-config/",
    "id": "k8s_00565_section_2_10731"
  },
  {
    "question": "What is Limitations?",
    "answer": "T h e   c r e a t e ,   r e p l a c e ,   a n d   d e l e t e   c o m m a n d s   w o r k   w e l l   w h e n   e a c h   o b j e c t ' s   c o n f i g u r a t i o n   i s   f u l l y   d e f i n e d   a n d   r e c o r d e d   i n   i t s   c o n f i g u r a t i o n   f i l e .   H o w e v e r   w h e n   a   l i v e   o b j e c t   i s   u p d a t e d ,   a n d   t h e   u p d a t e s   a r e   n o t   m e r g e d   i n t o   i t s   c o n f i g u r a t i o n   f i l e ,   t h e   u p d a t e s   w i l l   b e   l o s t   t h e   n e x t   t i m e   a   r e p l a c e   i s   e x e c u t e d .   T h i s   c a n   h a p p e n   i f   a   c o n t r o l l e r ,   s u c h   a s   a   H o r i z o n t a l P o d A u t o s c a l e r ,   m a k e s   u p d a t e s   d i r e c t l y   t o   a   l i v e   o b j e c t .   H e r e ' s   a n   e x a m p l e :   Y o u   c r e a t e   a n   o b j e c t   f r o m   a   c o n f i g u r a t i o n   f i l e . A n o t h e r   s o u r c e   u p d a t e s   t h e   o b j e c t   b y   c h a n g i n g   s o m e   f i e l d . Y o u   r e p l a c e   t h e   o b j e c t   f r o m   t h e   c o n f i g u r a t i o n   f i l e .   C h a n g e s   m a d e   b y   t h e   o t h e r   s o u r c e   i n   s t e p   2   a r e   l o s t .   I f   y o u   n e e d   t o   s u p p o r t   m u l t i p l e   w r i t e r s   t o   t h e   s a m e   o b j e c t ,   y o u   c a n   u s e   k u b e c t l   a p p l y   t o   m a n a g e   t h e   o b j e c t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-config/",
    "id": "k8s_00565_section_2_10732"
  },
  {
    "question": "What is Creating and editing an object from a URL without saving the configuration?",
    "answer": "S u p p o s e   y o u   h a v e   t h e   U R L   o f   a n   o b j e c t   c o n f i g u r a t i o n   f i l e .   Y o u   c a n   u s e   k u b e c t l   c r e a t e   - - e d i t   t o   m a k e   c h a n g e s   t o   t h e   c o n f i g u r a t i o n   b e f o r e   t h e   o b j e c t   i s   c r e a t e d .   T h i s   i s   p a r t i c u l a r l y   u s e f u l   f o r   t u t o r i a l s   a n d   t a s k s   t h a t   p o i n t   t o   a   c o n f i g u r a t i o n   f i l e   t h a t   c o u l d   b e   m o d i f i e d   b y   t h e   r e a d e r .   k u b e c t l   c r e a t e   - f   < u r l >   - - e d i t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-config/",
    "id": "k8s_00565_section_2_10733"
  },
  {
    "question": "What is Migrating from imperative commands to imperative object configuration?",
    "answer": "M i g r a t i n g   f r o m   i m p e r a t i v e   c o m m a n d s   t o   i m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n   i n v o l v e s   s e v e r a l   m a n u a l   s t e p s .   E x p o r t   t h e   l i v e   o b j e c t   t o   a   l o c a l   o b j e c t   c o n f i g u r a t i o n   f i l e : k u b e c t l   g e t   < k i n d > / < n a m e >   - o   y a m l   >   < k i n d > _ < n a m e > . y a m l   M a n u a l l y   r e m o v e   t h e   s t a t u s   f i e l d   f r o m   t h e   o b j e c t   c o n f i g u r a t i o n   f i l e . F o r   s u b s e q u e n t   o b j e c t   m a n a g e m e n t ,   u s e   r e p l a c e   e x c l u s i v e l y . k u b e c t l   r e p l a c e   - f   < k i n d > _ < n a m e > . y a m l   E x p o r t   t h e   l i v e   o b j e c t   t o   a   l o c a l   o b j e c t   c o n f i g u r a t i o n   f i l e :   k u b e c t l   g e t   < k i n d > / < n a m e >   - o   y a m l   >   < k i n d > _ < n a m e > . y a m l   M a n u a l l y   r e m o v e   t h e   s t a t u s   f i e l d   f r o m   t h e   o b j e c t   c o n f i g u r a t i o n   f i l e .   F o r   s u b s e q u e n t   o b j e c t   m a n a g e m e n t ,   u s e   r e p l a c e   e x c l u s i v e l y .   k u b e c t l   r e p l a c e   - f   < k i n d > _ < n a m e > . y a m l",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-config/",
    "id": "k8s_00565_section_2_10734"
  },
  {
    "question": "What is Warning:?",
    "answer": "T h e   r e c o m m e n d e d   a p p r o a c h   i s   t o   d e f i n e   a   s i n g l e ,   i m m u t a b l e   P o d T e m p l a t e   l a b e l   u s e d   o n l y   b y   t h e   c o n t r o l l e r   s e l e c t o r   w i t h   n o   o t h e r   s e m a n t i c   m e a n i n g .   E x a m p l e   l a b e l :   s e l e c t o r :   m a t c h L a b e l s :   c o n t r o l l e r - s e l e c t o r :   \" a p p s / v 1 / d e p l o y m e n t / n g i n x \"   t e m p l a t e :   m e t a d a t a :   l a b e l s :   c o n t r o l l e r - s e l e c t o r :   \" a p p s / v 1 / d e p l o y m e n t / n g i n x \"",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-config/",
    "id": "k8s_00565_section_4_10735"
  },
  {
    "question": "What is What's next?",
    "answer": "M a n a g i n g   K u b e r n e t e s   O b j e c t s   U s i n g   I m p e r a t i v e   C o m m a n d s D e c l a r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s K u b e c t l   C o m m a n d   R e f e r e n c e K u b e r n e t e s   A P I   R e f e r e n c e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-config/",
    "id": "k8s_00565_section_2_10736"
  },
  {
    "question": "What is kubectl cordon?",
    "answer": "kubectl cordonSynopsisMark node as unschedulable.kubectl cordon NODE Examples # Mark node \"foo\" as unschedulable kubectl cordon foo Options--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-h, --helphelp for cordon-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cordon/",
    "id": "k8s_00566_qa_10737"
  },
  {
    "question": "How does kubectl cordon work?",
    "answer": "kubectl cordonSynopsisMark node as unschedulable.kubectl cordon NODE Examples # Mark node \"foo\" as unschedulable kubectl cordon foo Options--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-h, --helphelp for cordon-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cordon/",
    "id": "k8s_00566_qa_10738"
  },
  {
    "question": "When would you use kubectl cordon?",
    "answer": "kubectl cordonSynopsisMark node as unschedulable.kubectl cordon NODE Examples # Mark node \"foo\" as unschedulable kubectl cordon foo Options--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-h, --helphelp for cordon-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cordon/",
    "id": "k8s_00566_qa_10739"
  },
  {
    "question": "What are the benefits of kubectl cordon?",
    "answer": "kubectl cordonSynopsisMark node as unschedulable.kubectl cordon NODE Examples # Mark node \"foo\" as unschedulable kubectl cordon foo Options--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-h, --helphelp for cordon-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cordon/",
    "id": "k8s_00566_qa_10740"
  },
  {
    "question": "What is Synopsis?",
    "answer": "M a r k   n o d e   a s   u n s c h e d u l a b l e .   k u b e c t l   c o r d o n   N O D E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cordon/",
    "id": "k8s_00566_section_2_10741"
  },
  {
    "question": "What is Examples?",
    "answer": "#   M a r k   n o d e   \" f o o \"   a s   u n s c h e d u l a b l e   k u b e c t l   c o r d o n   f o o",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cordon/",
    "id": "k8s_00566_section_2_10742"
  },
  {
    "question": "What is Options?",
    "answer": "M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   h e l p   f o r   c o r d o n   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cordon/",
    "id": "k8s_00566_section_2_10743"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cordon/",
    "id": "k8s_00566_section_2_10744"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cordon/",
    "id": "k8s_00566_section_2_10745"
  },
  {
    "question": "What is PersistentVolume?",
    "answer": "PersistentVolumePersistentVolume (PV) is a storage resource provisioned by an administrator.apiVersion: v1import \"k8s.io/api/core/v1\"PersistentVolumePersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumesapiVersion: v1kind: PersistentVolumemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PersistentVolumeSpec)spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumesstatus (PersistentVolumeStatus)status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumesPersistentVolumeSpecPersistentVolumeSpec is the specification of a persistent volume.accessModes ([]string)Atomic: will be replaced during a mergeaccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modescapacity (map[string]Quantity)capacity is the description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacityclaimRef (ObjectReference)claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#bindingmountOptions ([]string)Atomic: will be replaced during a mergemountOptions is the list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-optionsnodeAffinity (VolumeNodeAffinity)nodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume.VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.nodeAffinity.required (NodeSelector)required specifies hard node constraints that must be met.A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.nodeAffinity.required.nodeSelectorTerms ([]NodeSelectorTerm), requiredAtomic: will be replaced during a mergeRequired. A list of node selector terms. The terms are ORed.A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.nodeAffinity.required.nodeSelectorTerms.matchExpressions ([]NodeSelectorR",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_qa_10746"
  },
  {
    "question": "How does PersistentVolume work?",
    "answer": "PersistentVolumePersistentVolume (PV) is a storage resource provisioned by an administrator.apiVersion: v1import \"k8s.io/api/core/v1\"PersistentVolumePersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumesapiVersion: v1kind: PersistentVolumemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PersistentVolumeSpec)spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumesstatus (PersistentVolumeStatus)status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumesPersistentVolumeSpecPersistentVolumeSpec is the specification of a persistent volume.accessModes ([]string)Atomic: will be replaced during a mergeaccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modescapacity (map[string]Quantity)capacity is the description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacityclaimRef (ObjectReference)claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#bindingmountOptions ([]string)Atomic: will be replaced during a mergemountOptions is the list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-optionsnodeAffinity (VolumeNodeAffinity)nodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume.VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.nodeAffinity.required (NodeSelector)required specifies hard node constraints that must be met.A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.nodeAffinity.required.nodeSelectorTerms ([]NodeSelectorTerm), requiredAtomic: will be replaced during a mergeRequired. A list of node selector terms. The terms are ORed.A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.nodeAffinity.required.nodeSelectorTerms.matchExpressions ([]NodeSelectorR",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_qa_10747"
  },
  {
    "question": "When would you use PersistentVolume?",
    "answer": "PersistentVolumePersistentVolume (PV) is a storage resource provisioned by an administrator.apiVersion: v1import \"k8s.io/api/core/v1\"PersistentVolumePersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumesapiVersion: v1kind: PersistentVolumemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PersistentVolumeSpec)spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumesstatus (PersistentVolumeStatus)status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumesPersistentVolumeSpecPersistentVolumeSpec is the specification of a persistent volume.accessModes ([]string)Atomic: will be replaced during a mergeaccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modescapacity (map[string]Quantity)capacity is the description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacityclaimRef (ObjectReference)claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#bindingmountOptions ([]string)Atomic: will be replaced during a mergemountOptions is the list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-optionsnodeAffinity (VolumeNodeAffinity)nodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume.VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.nodeAffinity.required (NodeSelector)required specifies hard node constraints that must be met.A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.nodeAffinity.required.nodeSelectorTerms ([]NodeSelectorTerm), requiredAtomic: will be replaced during a mergeRequired. A list of node selector terms. The terms are ORed.A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.nodeAffinity.required.nodeSelectorTerms.matchExpressions ([]NodeSelectorR",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_qa_10748"
  },
  {
    "question": "What are the benefits of PersistentVolume?",
    "answer": "PersistentVolumePersistentVolume (PV) is a storage resource provisioned by an administrator.apiVersion: v1import \"k8s.io/api/core/v1\"PersistentVolumePersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumesapiVersion: v1kind: PersistentVolumemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PersistentVolumeSpec)spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumesstatus (PersistentVolumeStatus)status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumesPersistentVolumeSpecPersistentVolumeSpec is the specification of a persistent volume.accessModes ([]string)Atomic: will be replaced during a mergeaccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modescapacity (map[string]Quantity)capacity is the description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacityclaimRef (ObjectReference)claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#bindingmountOptions ([]string)Atomic: will be replaced during a mergemountOptions is the list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-optionsnodeAffinity (VolumeNodeAffinity)nodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume.VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.nodeAffinity.required (NodeSelector)required specifies hard node constraints that must be met.A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.nodeAffinity.required.nodeSelectorTerms ([]NodeSelectorTerm), requiredAtomic: will be replaced during a mergeRequired. A list of node selector terms. The terms are ORed.A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.nodeAffinity.required.nodeSelectorTerms.matchExpressions ([]NodeSelectorR",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_qa_10749"
  },
  {
    "question": "What is PersistentVolume?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_1_10750"
  },
  {
    "question": "What is PersistentVolume?",
    "answer": "P e r s i s t e n t V o l u m e   ( P V )   i s   a   s t o r a g e   r e s o u r c e   p r o v i s i o n e d   b y   a n   a d m i n i s t r a t o r .   I t   i s   a n a l o g o u s   t o   a   n o d e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s   a p i V e r s i o n :   v 1 k i n d :   P e r s i s t e n t V o l u m e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( P e r s i s t e n t V o l u m e S p e c ) s p e c   d e f i n e s   a   s p e c i f i c a t i o n   o f   a   p e r s i s t e n t   v o l u m e   o w n e d   b y   t h e   c l u s t e r .   P r o v i s i o n e d   b y   a n   a d m i n i s t r a t o r .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p e r s i s t e n t - v o l u m e s s t a t u s   ( P e r s i s t e n t V o l u m e S t a t u s ) s t a t u s   r e p r e s e n t s   t h e   c u r r e n t   i n f o r m a t i o n / s t a t u s   f o r   t h e   p e r s i s t e n t   v o l u m e .   P o p u l a t e d   b y   t h e   s y s t e m .   R e a d - o n l y .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p e r s i s t e n t - v o l u m e s   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_2_10751"
  },
  {
    "question": "What is PersistentVolumeSpec?",
    "answer": "P e r s i s t e n t V o l u m e S p e c   i s   t h e   s p e c i f i c a t i o n   o f   a   p e r s i s t e n t   v o l u m e .   a c c e s s M o d e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e a c c e s s M o d e s   c o n t a i n s   a l l   w a y s   t h e   v o l u m e   c a n   b e   m o u n t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # a c c e s s - m o d e s c a p a c i t y   ( m a p [ s t r i n g ] Q u a n t i t y ) c a p a c i t y   i s   t h e   d e s c r i p t i o n   o f   t h e   p e r s i s t e n t   v o l u m e ' s   r e s o u r c e s   a n d   c a p a c i t y .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # c a p a c i t y c l a i m R e f   ( O b j e c t R e f e r e n c e ) c l a i m R e f   i s   p a r t   o f   a   b i - d i r e c t i o n a l   b i n d i n g   b e t w e e n   P e r s i s t e n t V o l u m e   a n d   P e r s i s t e n t V o l u m e C l a i m .   E x p e c t e d   t o   b e   n o n - n i l   w h e n   b o u n d .   c l a i m . V o l u m e N a m e   i s   t h e   a u t h o r i t a t i v e   b i n d   b e t w e e n   P V   a n d   P V C .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # b i n d i n g m o u n t O p t i o n s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e m o u n t O p t i o n s   i s   t h e   l i s t   o f   m o u n t   o p t i o n s ,   e . g .   [ \" r o \" ,   \" s o f t \" ] .   N o t   v a l i d a t e d   -   m o u n t   w i l l   s i m p l y   f a i l   i f   o n e   i s   i n v a l i d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_2_10752"
  },
  {
    "question": "What is Local?",
    "answer": "h o s t P a t h   ( H o s t P a t h V o l u m e S o u r c e ) h o s t P a t h   r e p r e s e n t s   a   d i r e c t o r y   o n   t h e   h o s t .   P r o v i s i o n e d   b y   a   d e v e l o p e r   o r   t e s t e r .   T h i s   i s   u s e f u l   f o r   s i n g l e - n o d e   d e v e l o p m e n t   a n d   t e s t i n g   o n l y !   O n - h o s t   s t o r a g e   i s   n o t   s u p p o r t e d   i n   a n y   w a y   a n d   W I L L   N O T   W O R K   i n   a   m u l t i - n o d e   c l u s t e r .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # h o s t p a t h R e p r e s e n t s   a   h o s t   p a t h   m a p p e d   i n t o   a   p o d .   H o s t   p a t h   v o l u m e s   d o   n o t   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   o r   S E L i n u x   r e l a b e l i n g . h o s t P a t h . p a t h   ( s t r i n g ) ,   r e q u i r e d p a t h   o f   t h e   d i r e c t o r y   o n   t h e   h o s t .   I f   t h e   p a t h   i s   a   s y m l i n k ,   i t   w i l l   f o l l o w   t h e   l i n k   t o   t h e   r e a l   p a t h .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # h o s t p a t h h o s t P a t h . t y p e   ( s t r i n g ) t y p e   f o r   H o s t P a t h   V o l u m e   D e f a u l t s   t o   \" \"   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # h o s t p a t h l o c a l   ( L o c a l V o l u m e S o u r c e ) l o c a l   r e p r e s e n t s   d i r e c t l y - a t t a c h e d   s t o r a g e   w i t h   n o d e   a f f i n i t y L o c a l   r e p r e s e n t s   d i r e c t l y - a t t a c h e d   s t o r a g e   w i t h   n o d e   a f f i n i t y l o c a l . p a t h   ( s t r i n g ) ,   r e q u i r e d p a t h   o f   t h e   f u l l   p a t h   t o   t h e   v o l u m ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_3_10753"
  },
  {
    "question": "What is Persistent volumes?",
    "answer": "a w s E l a s t i c B l o c k S t o r e   ( A W S E l a s t i c B l o c k S t o r e V o l u m e S o u r c e ) a w s E l a s t i c B l o c k S t o r e   r e p r e s e n t s   a n   A W S   D i s k   r e s o u r c e   t h a t   i s   a t t a c h e d   t o   a   k u b e l e t ' s   h o s t   m a c h i n e   a n d   t h e n   e x p o s e d   t o   t h e   p o d .   D e p r e c a t e d :   A W S E l a s t i c B l o c k S t o r e   i s   d e p r e c a t e d .   A l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   a w s E l a s t i c B l o c k S t o r e   t y p e   a r e   r e d i r e c t e d   t o   t h e   e b s . c s i . a w s . c o m   C S I   d r i v e r .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # a w s e l a s t i c b l o c k s t o r e * R e p r e s e n t s   a   P e r s i s t e n t   D i s k   r e s o u r c e   i n   A W S . A n   A W S   E B S   d i s k   m u s t   e x i s t   b e f o r e   m o u n t i n g   t o   a   c o n t a i n e r .   T h e   d i s k   m u s t   a l s o   b e   i n   t h e   s a m e   A W S   z o n e   a s   t h e   k u b e l e t .   A n   A W S   E B S   d i s k   c a n   o n l y   b e   m o u n t e d   a s   r e a d / w r i t e   o n c e .   A W S   E B S   v o l u m e s   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a n d   S E L i n u x   r e l a b e l i n g . * a w s E l a s t i c B l o c k S t o r e . v o l u m e I D   ( s t r i n g ) ,   r e q u i r e d v o l u m e I D   i s   u n i q u e   I D   o f   t h e   p e r s i s t e n t   d i s k   r e s o u r c e   i n   A W S   ( A m a z o n   E B S   v o l u m e ) .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # a w s e l a s t i c b l o c k s t o r e a w s E l a s t i c B l o c k S t o r e . f s T y p e   ( s t r i n g ) f s T y p e   i s   t h e   f i l e s y s t e m   t y p e   o f   t h e   v o l u m ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_3_10754"
  },
  {
    "question": "What is PersistentVolumeStatus?",
    "answer": "P e r s i s t e n t V o l u m e S t a t u s   i s   t h e   c u r r e n t   s t a t u s   o f   a   p e r s i s t e n t   v o l u m e .   l a s t P h a s e T r a n s i t i o n T i m e   ( T i m e ) l a s t P h a s e T r a n s i t i o n T i m e   i s   t h e   t i m e   t h e   p h a s e   t r a n s i t i o n e d   f r o m   o n e   t o   a n o t h e r   a n d   a u t o m a t i c a l l y   r e s e t s   t o   c u r r e n t   t i m e   e v e r y t i m e   a   v o l u m e   p h a s e   t r a n s i t i o n s . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . m e s s a g e   ( s t r i n g ) m e s s a g e   i s   a   h u m a n - r e a d a b l e   m e s s a g e   i n d i c a t i n g   d e t a i l s   a b o u t   w h y   t h e   v o l u m e   i s   i n   t h i s   s t a t e . p h a s e   ( s t r i n g ) p h a s e   i n d i c a t e s   i f   a   v o l u m e   i s   a v a i l a b l e ,   b o u n d   t o   a   c l a i m ,   o r   r e l e a s e d   b y   a   c l a i m .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p h a s e r e a s o n   ( s t r i n g ) r e a s o n   i s   a   b r i e f   C a m e l C a s e   s t r i n g   t h a t   d e s c r i b e s   a n y   f a i l u r e   a n d   i s   m e a n t   f o r   m a c h i n e   p a r s i n g   a n d   t i d y   d i s p l a y   i n   t h e   C L I .   l a s t P h a s e T r a n s i t i o n T i m e   ( T i m e )   l a s t P h a s e T r a n s i t i o n T i m e   i s   t h e   t i m e   t h e   p h a s e   t r a n s i t i o n e d   f r o m   o n e   t o   a n o t h e r   a n d   a u t o m a t i c a l l y   r e s e t s   t o   c u r r e n t   t i m ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_2_10755"
  },
  {
    "question": "What is PersistentVolumeList?",
    "answer": "P e r s i s t e n t V o l u m e L i s t   i s   a   l i s t   o f   P e r s i s t e n t V o l u m e   i t e m s .   a p i V e r s i o n :   v 1 k i n d :   P e r s i s t e n t V o l u m e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] P e r s i s t e n t V o l u m e ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   p e r s i s t e n t   v o l u m e s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] P e r s i s t e n t V o l u m e ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   p e r s i s t e n t   v o l u m e s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_2_10756"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10757"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10758"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10759"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10760"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10761"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10762"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / p e r s i s t e n t v o l u m e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10763"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10764"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10765"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / p e r s i s t e n t v o l u m e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10766"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   P e r s i s t e n t V o l u m e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   P e r s i s t e n t V o l u m e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10767"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e ) :   C r e a t e d   2 0 2   ( P e r s i s t e n t V o l u m e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10768"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10769"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e b o d y :   P e r s i s t e n t V o l u m e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   b o d y :   P e r s i s t e n t V o l u m e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10770"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10771"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10772"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e b o d y :   P e r s i s t e n t V o l u m e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   b o d y :   P e r s i s t e n t V o l u m e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10773"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10774"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10775"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10776"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10777"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10778"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10779"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10780"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10781"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10782"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   2 0 2   ( P e r s i s t e n t V o l u m e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10783"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / p e r s i s t e n t v o l u m e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10784"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10785"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/",
    "id": "k8s_00567_section_4_10786"
  },
  {
    "question": "What is kubectl create secret generic?",
    "answer": "kubectl create secret genericSynopsisCreate a secret based on a file, directory, or specified literal value.A single secret may package one or more key/value pairs.When creating a secret based on a file, the key will default to the basename of the file, and the value will default to the file content. If the basename is an invalid key or you wish to chose your own, you may specify an alternate key.When creating a secret based on a directory, each file whose basename is a valid key in the directory will be packaged into the secret. Any directory entries except regular files are ignored (e.g. subdirectories, symlinks, devices, pipes, etc).kubectl create secret generic NAME [--type=string] [--from-file=[key=]source] [--from-literal=key1=value1] [--dry-run=server|client|none] Examples # Create a new secret named my-secret with keys for each file in folder bar kubectl create secret generic my-secret --from-file=path/to/bar # Create a new secret named my-secret with specified keys instead of names on disk kubectl create secret generic my-secret --from-file=ssh-privatekey=path/to/id_rsa --from-file=ssh-publickey=path/to/id_rsa.pub # Create a new secret named my-secret with key1=supersecret and key2=topsecret kubectl create secret generic my-secret --from-literal=key1=supersecret --from-literal=key2=topsecret # Create a new secret named my-secret using a combination of a file and a literal kubectl create secret generic my-secret --from-file=ssh-privatekey=path/to/id_rsa --from-literal=passphrase=topsecret # Create a new secret named my-secret from env files kubectl create secret generic my-secret --from-env-file=path/to/foo.env --from-env-file=path/to/bar.env Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--append-hashAppend a hash of the secret to its name.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--from-env-file stringsSpecify the path to a file to read lines of key=val pairs to create a secret.--from-file stringsKey files can be specified using their file path, in which case a default name will be given to them, or optionally with a name and file path, in which case the given name will be used. Specifying a directory will iterate each named file in the directory that is a valid secret key.--from-literal stringsSpecify a key and literal value to insert in secret (i.e. mykey=somevalue)-h, --helphelp for generic-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of curren",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_generic/",
    "id": "k8s_00568_qa_10787"
  },
  {
    "question": "How does kubectl create secret generic work?",
    "answer": "kubectl create secret genericSynopsisCreate a secret based on a file, directory, or specified literal value.A single secret may package one or more key/value pairs.When creating a secret based on a file, the key will default to the basename of the file, and the value will default to the file content. If the basename is an invalid key or you wish to chose your own, you may specify an alternate key.When creating a secret based on a directory, each file whose basename is a valid key in the directory will be packaged into the secret. Any directory entries except regular files are ignored (e.g. subdirectories, symlinks, devices, pipes, etc).kubectl create secret generic NAME [--type=string] [--from-file=[key=]source] [--from-literal=key1=value1] [--dry-run=server|client|none] Examples # Create a new secret named my-secret with keys for each file in folder bar kubectl create secret generic my-secret --from-file=path/to/bar # Create a new secret named my-secret with specified keys instead of names on disk kubectl create secret generic my-secret --from-file=ssh-privatekey=path/to/id_rsa --from-file=ssh-publickey=path/to/id_rsa.pub # Create a new secret named my-secret with key1=supersecret and key2=topsecret kubectl create secret generic my-secret --from-literal=key1=supersecret --from-literal=key2=topsecret # Create a new secret named my-secret using a combination of a file and a literal kubectl create secret generic my-secret --from-file=ssh-privatekey=path/to/id_rsa --from-literal=passphrase=topsecret # Create a new secret named my-secret from env files kubectl create secret generic my-secret --from-env-file=path/to/foo.env --from-env-file=path/to/bar.env Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--append-hashAppend a hash of the secret to its name.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--from-env-file stringsSpecify the path to a file to read lines of key=val pairs to create a secret.--from-file stringsKey files can be specified using their file path, in which case a default name will be given to them, or optionally with a name and file path, in which case the given name will be used. Specifying a directory will iterate each named file in the directory that is a valid secret key.--from-literal stringsSpecify a key and literal value to insert in secret (i.e. mykey=somevalue)-h, --helphelp for generic-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of curren",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_generic/",
    "id": "k8s_00568_qa_10788"
  },
  {
    "question": "When would you use kubectl create secret generic?",
    "answer": "kubectl create secret genericSynopsisCreate a secret based on a file, directory, or specified literal value.A single secret may package one or more key/value pairs.When creating a secret based on a file, the key will default to the basename of the file, and the value will default to the file content. If the basename is an invalid key or you wish to chose your own, you may specify an alternate key.When creating a secret based on a directory, each file whose basename is a valid key in the directory will be packaged into the secret. Any directory entries except regular files are ignored (e.g. subdirectories, symlinks, devices, pipes, etc).kubectl create secret generic NAME [--type=string] [--from-file=[key=]source] [--from-literal=key1=value1] [--dry-run=server|client|none] Examples # Create a new secret named my-secret with keys for each file in folder bar kubectl create secret generic my-secret --from-file=path/to/bar # Create a new secret named my-secret with specified keys instead of names on disk kubectl create secret generic my-secret --from-file=ssh-privatekey=path/to/id_rsa --from-file=ssh-publickey=path/to/id_rsa.pub # Create a new secret named my-secret with key1=supersecret and key2=topsecret kubectl create secret generic my-secret --from-literal=key1=supersecret --from-literal=key2=topsecret # Create a new secret named my-secret using a combination of a file and a literal kubectl create secret generic my-secret --from-file=ssh-privatekey=path/to/id_rsa --from-literal=passphrase=topsecret # Create a new secret named my-secret from env files kubectl create secret generic my-secret --from-env-file=path/to/foo.env --from-env-file=path/to/bar.env Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--append-hashAppend a hash of the secret to its name.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--from-env-file stringsSpecify the path to a file to read lines of key=val pairs to create a secret.--from-file stringsKey files can be specified using their file path, in which case a default name will be given to them, or optionally with a name and file path, in which case the given name will be used. Specifying a directory will iterate each named file in the directory that is a valid secret key.--from-literal stringsSpecify a key and literal value to insert in secret (i.e. mykey=somevalue)-h, --helphelp for generic-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of curren",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_generic/",
    "id": "k8s_00568_qa_10789"
  },
  {
    "question": "What are the benefits of kubectl create secret generic?",
    "answer": "kubectl create secret genericSynopsisCreate a secret based on a file, directory, or specified literal value.A single secret may package one or more key/value pairs.When creating a secret based on a file, the key will default to the basename of the file, and the value will default to the file content. If the basename is an invalid key or you wish to chose your own, you may specify an alternate key.When creating a secret based on a directory, each file whose basename is a valid key in the directory will be packaged into the secret. Any directory entries except regular files are ignored (e.g. subdirectories, symlinks, devices, pipes, etc).kubectl create secret generic NAME [--type=string] [--from-file=[key=]source] [--from-literal=key1=value1] [--dry-run=server|client|none] Examples # Create a new secret named my-secret with keys for each file in folder bar kubectl create secret generic my-secret --from-file=path/to/bar # Create a new secret named my-secret with specified keys instead of names on disk kubectl create secret generic my-secret --from-file=ssh-privatekey=path/to/id_rsa --from-file=ssh-publickey=path/to/id_rsa.pub # Create a new secret named my-secret with key1=supersecret and key2=topsecret kubectl create secret generic my-secret --from-literal=key1=supersecret --from-literal=key2=topsecret # Create a new secret named my-secret using a combination of a file and a literal kubectl create secret generic my-secret --from-file=ssh-privatekey=path/to/id_rsa --from-literal=passphrase=topsecret # Create a new secret named my-secret from env files kubectl create secret generic my-secret --from-env-file=path/to/foo.env --from-env-file=path/to/bar.env Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--append-hashAppend a hash of the secret to its name.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--from-env-file stringsSpecify the path to a file to read lines of key=val pairs to create a secret.--from-file stringsKey files can be specified using their file path, in which case a default name will be given to them, or optionally with a name and file path, in which case the given name will be used. Specifying a directory will iterate each named file in the directory that is a valid secret key.--from-literal stringsSpecify a key and literal value to insert in secret (i.e. mykey=somevalue)-h, --helphelp for generic-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of curren",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_generic/",
    "id": "k8s_00568_qa_10790"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   s e c r e t   b a s e d   o n   a   f i l e ,   d i r e c t o r y ,   o r   s p e c i f i e d   l i t e r a l   v a l u e .   A   s i n g l e   s e c r e t   m a y   p a c k a g e   o n e   o r   m o r e   k e y / v a l u e   p a i r s .   W h e n   c r e a t i n g   a   s e c r e t   b a s e d   o n   a   f i l e ,   t h e   k e y   w i l l   d e f a u l t   t o   t h e   b a s e n a m e   o f   t h e   f i l e ,   a n d   t h e   v a l u e   w i l l   d e f a u l t   t o   t h e   f i l e   c o n t e n t .   I f   t h e   b a s e n a m e   i s   a n   i n v a l i d   k e y   o r   y o u   w i s h   t o   c h o s e   y o u r   o w n ,   y o u   m a y   s p e c i f y   a n   a l t e r n a t e   k e y .   W h e n   c r e a t i n g   a   s e c r e t   b a s e d   o n   a   d i r e c t o r y ,   e a c h   f i l e   w h o s e   b a s e n a m e   i s   a   v a l i d   k e y   i n   t h e   d i r e c t o r y   w i l l   b e   p a c k a g e d   i n t o   t h e   s e c r e t .   A n y   d i r e c t o r y   e n t r i e s   e x c e p t   r e g u l a r   f i l e s   a r e   i g n o r e d   ( e . g .   s u b d i r e c t o r i e s ,   s y m l i n k s ,   d e v i c e s ,   p i p e s ,   e t c ) .   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   N A M E   [ - - t y p e = s t r i n g ]   [ - - f r o m - f i l e = [ k e y = ] s o u r c e ]   [ - - f r o m - l i t e r a l = k e y 1 = v a l u e 1 ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_generic/",
    "id": "k8s_00568_section_2_10791"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   w i t h   k e y s   f o r   e a c h   f i l e   i n   f o l d e r   b a r   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - f i l e = p a t h / t o / b a r   #   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   w i t h   s p e c i f i e d   k e y s   i n s t e a d   o f   n a m e s   o n   d i s k   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - f i l e = s s h - p r i v a t e k e y = p a t h / t o / i d _ r s a   - - f r o m - f i l e = s s h - p u b l i c k e y = p a t h / t o / i d _ r s a . p u b   #   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   w i t h   k e y 1 = s u p e r s e c r e t   a n d   k e y 2 = t o p s e c r e t   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - l i t e r a l = k e y 1 = s u p e r s e c r e t   - - f r o m - l i t e r a l = k e y 2 = t o p s e c r e t   #   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   u s i n g   a   c o m b i n a t i o n   o f   a   f i l e   a n d   a   l i t e r a l   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - f i l e = s s h - p r i v a t e k e y = p a t h / t o / i d _ r s a   - - f r o m - l i t e r a l = p a s s p h r a s e = t o p s e c r e t   #   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   f r o m   e n v   f i l e s   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - e n v - f i l e = p a t h / t o / f o o . e n v   - - f r o m - e n v - f i l e = p a t h / t o / b a r . e n v",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_generic/",
    "id": "k8s_00568_section_2_10792"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   A p p e n d   a   h a s h   o f   t h e   s e c r e t   t o   i t s   n a m e .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   S p e c i f y   t h e   p a t h   t o   a   f i l e   t o   r e a d   l i n e s   o f   k e y = v a l   p a i r s   t o   c r e a t e   a   s e c r e t .   K e y   f i l e s   c a n   b e   s p e c i f i e d   u s i n g   t h e i r   f i l e   p a t h ,   i n   w h i c h   c a s e   a   d e f a u l t   n a m e   w i l l   b e   g i v e n   t o   t h e m ,   o r   o p t i o n a l l y   w i t h   a   n a m e   a n d   f i l e   p a t h ,   i n   w h i c h   c a s e   t h e   g i v e n   n a m e   w i l l   b e   u s e d .   S p e c i f y i n g   a   d i r e c t o r y   w i l l   i t e r a t e   e a c h   n a m e d   f i l e   i n   t h e   d i r e c t o r y   t h a t   i s   a   v a l i d   s e c r e t   k e y .   S p e c i f y   a   k e y   a n d   l i t e r a l   v a l u e   t o   i n s e r t   i n   s e c r e t   ( i . e .   m y k e y = s o m e v a l u e )   h e l p   f o r   g e n e r i c   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_generic/",
    "id": "k8s_00568_section_2_10793"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_generic/",
    "id": "k8s_00568_section_2_10794"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   s e c r e t   -   C r e a t e   a   s e c r e t   u s i n g   a   s p e c i f i e d   s u b c o m m a n d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_generic/",
    "id": "k8s_00568_section_2_10795"
  },
  {
    "question": "What is Container Lifecycle Hooks?",
    "answer": "Container Lifecycle HooksThis page describes how kubelet managed Containers can use the Container lifecycle hook framework to run code triggered by events during their management lifecycle.OverviewAnalogous to many programming language frameworks that have component lifecycle hooks, such as Angular, Kubernetes provides Containers with lifecycle hooks. The hooks enable Containers to be aware of events in their management lifecycle and run code implemented in a handler when the corresponding lifecycle hook is executed.Container hooksThere are two hooks that are exposed to Containers:PostStartThis hook is executed immediately after a container is created. However, there is no guarantee that the hook will execute before the container ENTRYPOINT. No parameters are passed to the handler.PreStopThis hook is called immediately before a container is terminated due to an API request or management event such as a liveness/startup probe failure, preemption, resource contention and others. A call to the PreStop hook fails if the container is already in a terminated or completed state and the hook must complete before the TERM signal to stop the container can be sent. The Pod's termination grace period countdown begins before the PreStop hook is executed, so regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period. No parameters are passed to the handler.A more detailed description of the termination behavior can be found in Termination of Pods.StopSignalThe StopSignal lifecycle can be used to define a stop signal which would be sent to the container when it is stopped. If you set this, it overrides any STOPSIGNAL instruction defined within the container image.A more detailed description of termination behaviour with custom stop signals can be found in Stop Signals.Hook handler implementationsContainers can access a hook by implementing and registering a handler for that hook. There are three types of hook handlers that can be implemented for Containers:Exec - Executes a specific command, such as pre-stop.sh, inside the cgroups and namespaces of the Container. Resources consumed by the command are counted against the Container.HTTP - Executes an HTTP request against a specific endpoint on the Container.Sleep - Pauses the container for a specified duration.Hook handler executionWhen a Container lifecycle management hook is called, the Kubernetes management system executes the handler according to the hook action, httpGet, tcpSocket (deprecated) and sleep are executed by the kubelet process, and exec is executed in the container.The PostStart hook handler call is initiated when a container is created, meaning the container ENTRYPOINT and the PostStart hook are triggered simultaneously. However, if the PostStart hook takes too long to execute or if it hangs, it can prevent the container from transitioning to a running state.PreStop hooks are not executed asynchronously from the signal to stop the ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/",
    "id": "k8s_00569_qa_10796"
  },
  {
    "question": "How does Container Lifecycle Hooks work?",
    "answer": "Container Lifecycle HooksThis page describes how kubelet managed Containers can use the Container lifecycle hook framework to run code triggered by events during their management lifecycle.OverviewAnalogous to many programming language frameworks that have component lifecycle hooks, such as Angular, Kubernetes provides Containers with lifecycle hooks. The hooks enable Containers to be aware of events in their management lifecycle and run code implemented in a handler when the corresponding lifecycle hook is executed.Container hooksThere are two hooks that are exposed to Containers:PostStartThis hook is executed immediately after a container is created. However, there is no guarantee that the hook will execute before the container ENTRYPOINT. No parameters are passed to the handler.PreStopThis hook is called immediately before a container is terminated due to an API request or management event such as a liveness/startup probe failure, preemption, resource contention and others. A call to the PreStop hook fails if the container is already in a terminated or completed state and the hook must complete before the TERM signal to stop the container can be sent. The Pod's termination grace period countdown begins before the PreStop hook is executed, so regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period. No parameters are passed to the handler.A more detailed description of the termination behavior can be found in Termination of Pods.StopSignalThe StopSignal lifecycle can be used to define a stop signal which would be sent to the container when it is stopped. If you set this, it overrides any STOPSIGNAL instruction defined within the container image.A more detailed description of termination behaviour with custom stop signals can be found in Stop Signals.Hook handler implementationsContainers can access a hook by implementing and registering a handler for that hook. There are three types of hook handlers that can be implemented for Containers:Exec - Executes a specific command, such as pre-stop.sh, inside the cgroups and namespaces of the Container. Resources consumed by the command are counted against the Container.HTTP - Executes an HTTP request against a specific endpoint on the Container.Sleep - Pauses the container for a specified duration.Hook handler executionWhen a Container lifecycle management hook is called, the Kubernetes management system executes the handler according to the hook action, httpGet, tcpSocket (deprecated) and sleep are executed by the kubelet process, and exec is executed in the container.The PostStart hook handler call is initiated when a container is created, meaning the container ENTRYPOINT and the PostStart hook are triggered simultaneously. However, if the PostStart hook takes too long to execute or if it hangs, it can prevent the container from transitioning to a running state.PreStop hooks are not executed asynchronously from the signal to stop the ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/",
    "id": "k8s_00569_qa_10797"
  },
  {
    "question": "When would you use Container Lifecycle Hooks?",
    "answer": "Container Lifecycle HooksThis page describes how kubelet managed Containers can use the Container lifecycle hook framework to run code triggered by events during their management lifecycle.OverviewAnalogous to many programming language frameworks that have component lifecycle hooks, such as Angular, Kubernetes provides Containers with lifecycle hooks. The hooks enable Containers to be aware of events in their management lifecycle and run code implemented in a handler when the corresponding lifecycle hook is executed.Container hooksThere are two hooks that are exposed to Containers:PostStartThis hook is executed immediately after a container is created. However, there is no guarantee that the hook will execute before the container ENTRYPOINT. No parameters are passed to the handler.PreStopThis hook is called immediately before a container is terminated due to an API request or management event such as a liveness/startup probe failure, preemption, resource contention and others. A call to the PreStop hook fails if the container is already in a terminated or completed state and the hook must complete before the TERM signal to stop the container can be sent. The Pod's termination grace period countdown begins before the PreStop hook is executed, so regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period. No parameters are passed to the handler.A more detailed description of the termination behavior can be found in Termination of Pods.StopSignalThe StopSignal lifecycle can be used to define a stop signal which would be sent to the container when it is stopped. If you set this, it overrides any STOPSIGNAL instruction defined within the container image.A more detailed description of termination behaviour with custom stop signals can be found in Stop Signals.Hook handler implementationsContainers can access a hook by implementing and registering a handler for that hook. There are three types of hook handlers that can be implemented for Containers:Exec - Executes a specific command, such as pre-stop.sh, inside the cgroups and namespaces of the Container. Resources consumed by the command are counted against the Container.HTTP - Executes an HTTP request against a specific endpoint on the Container.Sleep - Pauses the container for a specified duration.Hook handler executionWhen a Container lifecycle management hook is called, the Kubernetes management system executes the handler according to the hook action, httpGet, tcpSocket (deprecated) and sleep are executed by the kubelet process, and exec is executed in the container.The PostStart hook handler call is initiated when a container is created, meaning the container ENTRYPOINT and the PostStart hook are triggered simultaneously. However, if the PostStart hook takes too long to execute or if it hangs, it can prevent the container from transitioning to a running state.PreStop hooks are not executed asynchronously from the signal to stop the ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/",
    "id": "k8s_00569_qa_10798"
  },
  {
    "question": "What are the benefits of Container Lifecycle Hooks?",
    "answer": "Container Lifecycle HooksThis page describes how kubelet managed Containers can use the Container lifecycle hook framework to run code triggered by events during their management lifecycle.OverviewAnalogous to many programming language frameworks that have component lifecycle hooks, such as Angular, Kubernetes provides Containers with lifecycle hooks. The hooks enable Containers to be aware of events in their management lifecycle and run code implemented in a handler when the corresponding lifecycle hook is executed.Container hooksThere are two hooks that are exposed to Containers:PostStartThis hook is executed immediately after a container is created. However, there is no guarantee that the hook will execute before the container ENTRYPOINT. No parameters are passed to the handler.PreStopThis hook is called immediately before a container is terminated due to an API request or management event such as a liveness/startup probe failure, preemption, resource contention and others. A call to the PreStop hook fails if the container is already in a terminated or completed state and the hook must complete before the TERM signal to stop the container can be sent. The Pod's termination grace period countdown begins before the PreStop hook is executed, so regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period. No parameters are passed to the handler.A more detailed description of the termination behavior can be found in Termination of Pods.StopSignalThe StopSignal lifecycle can be used to define a stop signal which would be sent to the container when it is stopped. If you set this, it overrides any STOPSIGNAL instruction defined within the container image.A more detailed description of termination behaviour with custom stop signals can be found in Stop Signals.Hook handler implementationsContainers can access a hook by implementing and registering a handler for that hook. There are three types of hook handlers that can be implemented for Containers:Exec - Executes a specific command, such as pre-stop.sh, inside the cgroups and namespaces of the Container. Resources consumed by the command are counted against the Container.HTTP - Executes an HTTP request against a specific endpoint on the Container.Sleep - Pauses the container for a specified duration.Hook handler executionWhen a Container lifecycle management hook is called, the Kubernetes management system executes the handler according to the hook action, httpGet, tcpSocket (deprecated) and sleep are executed by the kubelet process, and exec is executed in the container.The PostStart hook handler call is initiated when a container is created, meaning the container ENTRYPOINT and the PostStart hook are triggered simultaneously. However, if the PostStart hook takes too long to execute or if it hangs, it can prevent the container from transitioning to a running state.PreStop hooks are not executed asynchronously from the signal to stop the ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/",
    "id": "k8s_00569_qa_10799"
  },
  {
    "question": "What is Container Lifecycle Hooks?",
    "answer": "T h i s   p a g e   d e s c r i b e s   h o w   k u b e l e t   m a n a g e d   C o n t a i n e r s   c a n   u s e   t h e   C o n t a i n e r   l i f e c y c l e   h o o k   f r a m e w o r k   t o   r u n   c o d e   t r i g g e r e d   b y   e v e n t s   d u r i n g   t h e i r   m a n a g e m e n t   l i f e c y c l e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/",
    "id": "k8s_00569_section_1_10800"
  },
  {
    "question": "What is Overview?",
    "answer": "A n a l o g o u s   t o   m a n y   p r o g r a m m i n g   l a n g u a g e   f r a m e w o r k s   t h a t   h a v e   c o m p o n e n t   l i f e c y c l e   h o o k s ,   s u c h   a s   A n g u l a r ,   K u b e r n e t e s   p r o v i d e s   C o n t a i n e r s   w i t h   l i f e c y c l e   h o o k s .   T h e   h o o k s   e n a b l e   C o n t a i n e r s   t o   b e   a w a r e   o f   e v e n t s   i n   t h e i r   m a n a g e m e n t   l i f e c y c l e   a n d   r u n   c o d e   i m p l e m e n t e d   i n   a   h a n d l e r   w h e n   t h e   c o r r e s p o n d i n g   l i f e c y c l e   h o o k   i s   e x e c u t e d .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/",
    "id": "k8s_00569_section_2_10801"
  },
  {
    "question": "What is Container hooks?",
    "answer": "T h e r e   a r e   t w o   h o o k s   t h a t   a r e   e x p o s e d   t o   C o n t a i n e r s :   P o s t S t a r t   T h i s   h o o k   i s   e x e c u t e d   i m m e d i a t e l y   a f t e r   a   c o n t a i n e r   i s   c r e a t e d .   H o w e v e r ,   t h e r e   i s   n o   g u a r a n t e e   t h a t   t h e   h o o k   w i l l   e x e c u t e   b e f o r e   t h e   c o n t a i n e r   E N T R Y P O I N T .   N o   p a r a m e t e r s   a r e   p a s s e d   t o   t h e   h a n d l e r .   P r e S t o p   T h i s   h o o k   i s   c a l l e d   i m m e d i a t e l y   b e f o r e   a   c o n t a i n e r   i s   t e r m i n a t e d   d u e   t o   a n   A P I   r e q u e s t   o r   m a n a g e m e n t   e v e n t   s u c h   a s   a   l i v e n e s s / s t a r t u p   p r o b e   f a i l u r e ,   p r e e m p t i o n ,   r e s o u r c e   c o n t e n t i o n   a n d   o t h e r s .   A   c a l l   t o   t h e   P r e S t o p   h o o k   f a i l s   i f   t h e   c o n t a i n e r   i s   a l r e a d y   i n   a   t e r m i n a t e d   o r   c o m p l e t e d   s t a t e   a n d   t h e   h o o k   m u s t   c o m p l e t e   b e f o r e   t h e   T E R M   s i g n a l   t o   s t o p   t h e   c o n t a i n e r   c a n   b e   s e n t .   T h e   P o d ' s   t e r m i n a t i o n   g r a c e   p e r i o d   c o u n t d o w n   b e g i n s   b e f o r e   t h e   P r e S t o p   h o o k   i s   e x e c u t e d ,   s o   r e g a r d l e s s   o f   t h e   o u t c o m e   o f   t h e   h a n d l e r ,   t h e   c o n t a i n e r   w i l l   e v e n t u a l l y   t e r m i n a t e   w i t h i n   t h e   P o d ' s   t e r m i n a t i o n   g r a c e   p e r i o d .   N o   p a r a m e t e r s   a r e   p a s s e d   t o   t h e   h a n d l e r .   A   m o r e   d e t a i l e d   d e s c r i p t i o n   o f   t h e   t e r m i n a t i o n   b e h a v i o r   c a n   b e   f o u n d   i n   T e r m i n a t i o n   o f   P o d s .   S t o p S i g n a ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/",
    "id": "k8s_00569_section_2_10802"
  },
  {
    "question": "What is Hook handler implementations?",
    "answer": "C o n t a i n e r s   c a n   a c c e s s   a   h o o k   b y   i m p l e m e n t i n g   a n d   r e g i s t e r i n g   a   h a n d l e r   f o r   t h a t   h o o k .   T h e r e   a r e   t h r e e   t y p e s   o f   h o o k   h a n d l e r s   t h a t   c a n   b e   i m p l e m e n t e d   f o r   C o n t a i n e r s :   E x e c   -   E x e c u t e s   a   s p e c i f i c   c o m m a n d ,   s u c h   a s   p r e - s t o p . s h ,   i n s i d e   t h e   c g r o u p s   a n d   n a m e s p a c e s   o f   t h e   C o n t a i n e r .   R e s o u r c e s   c o n s u m e d   b y   t h e   c o m m a n d   a r e   c o u n t e d   a g a i n s t   t h e   C o n t a i n e r . H T T P   -   E x e c u t e s   a n   H T T P   r e q u e s t   a g a i n s t   a   s p e c i f i c   e n d p o i n t   o n   t h e   C o n t a i n e r . S l e e p   -   P a u s e s   t h e   c o n t a i n e r   f o r   a   s p e c i f i e d   d u r a t i o n .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/",
    "id": "k8s_00569_section_3_10803"
  },
  {
    "question": "What is Hook handler execution?",
    "answer": "W h e n   a   C o n t a i n e r   l i f e c y c l e   m a n a g e m e n t   h o o k   i s   c a l l e d ,   t h e   K u b e r n e t e s   m a n a g e m e n t   s y s t e m   e x e c u t e s   t h e   h a n d l e r   a c c o r d i n g   t o   t h e   h o o k   a c t i o n ,   h t t p G e t ,   t c p S o c k e t   ( d e p r e c a t e d )   a n d   s l e e p   a r e   e x e c u t e d   b y   t h e   k u b e l e t   p r o c e s s ,   a n d   e x e c   i s   e x e c u t e d   i n   t h e   c o n t a i n e r .   T h e   P o s t S t a r t   h o o k   h a n d l e r   c a l l   i s   i n i t i a t e d   w h e n   a   c o n t a i n e r   i s   c r e a t e d ,   m e a n i n g   t h e   c o n t a i n e r   E N T R Y P O I N T   a n d   t h e   P o s t S t a r t   h o o k   a r e   t r i g g e r e d   s i m u l t a n e o u s l y .   H o w e v e r ,   i f   t h e   P o s t S t a r t   h o o k   t a k e s   t o o   l o n g   t o   e x e c u t e   o r   i f   i t   h a n g s ,   i t   c a n   p r e v e n t   t h e   c o n t a i n e r   f r o m   t r a n s i t i o n i n g   t o   a   r u n n i n g   s t a t e .   P r e S t o p   h o o k s   a r e   n o t   e x e c u t e d   a s y n c h r o n o u s l y   f r o m   t h e   s i g n a l   t o   s t o p   t h e   C o n t a i n e r ;   t h e   h o o k   m u s t   c o m p l e t e   i t s   e x e c u t i o n   b e f o r e   t h e   T E R M   s i g n a l   c a n   b e   s e n t .   I f   a   P r e S t o p   h o o k   h a n g s   d u r i n g   e x e c u t i o n ,   t h e   P o d ' s   p h a s e   w i l l   b e   T e r m i n a t i n g   a n d   r e m a i n   t h e r e   u n t i l   t h e   P o d   i s   k i l l e d   a f t e r   i t s   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   e x p i r e s .   T h i s   g r a c e   p e r i o d   a p p l i e s   t o   t h e   t o t a l   t i m e   i t   t a k e s   f o r   b o t h   t h e   P r e S t o p   h o o k   t o   e x e c u t e   a n d   f o r   t h e   C o n t a i n e r   t o   s t ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/",
    "id": "k8s_00569_section_3_10804"
  },
  {
    "question": "What is Hook delivery guarantees?",
    "answer": "H o o k   d e l i v e r y   i s   i n t e n d e d   t o   b e   a t   l e a s t   o n c e ,   w h i c h   m e a n s   t h a t   a   h o o k   m a y   b e   c a l l e d   m u l t i p l e   t i m e s   f o r   a n y   g i v e n   e v e n t ,   s u c h   a s   f o r   P o s t S t a r t   o r   P r e S t o p .   I t   i s   u p   t o   t h e   h o o k   i m p l e m e n t a t i o n   t o   h a n d l e   t h i s   c o r r e c t l y .   G e n e r a l l y ,   o n l y   s i n g l e   d e l i v e r i e s   a r e   m a d e .   I f ,   f o r   e x a m p l e ,   a n   H T T P   h o o k   r e c e i v e r   i s   d o w n   a n d   i s   u n a b l e   t o   t a k e   t r a f f i c ,   t h e r e   i s   n o   a t t e m p t   t o   r e s e n d .   I n   s o m e   r a r e   c a s e s ,   h o w e v e r ,   d o u b l e   d e l i v e r y   m a y   o c c u r .   F o r   i n s t a n c e ,   i f   a   k u b e l e t   r e s t a r t s   i n   t h e   m i d d l e   o f   s e n d i n g   a   h o o k ,   t h e   h o o k   m i g h t   b e   r e s e n t   a f t e r   t h e   k u b e l e t   c o m e s   b a c k   u p .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/",
    "id": "k8s_00569_section_3_10805"
  },
  {
    "question": "What is Debugging Hook handlers?",
    "answer": "T h e   l o g s   f o r   a   H o o k   h a n d l e r   a r e   n o t   e x p o s e d   i n   P o d   e v e n t s .   I f   a   h a n d l e r   f a i l s   f o r   s o m e   r e a s o n ,   i t   b r o a d c a s t s   a n   e v e n t .   F o r   P o s t S t a r t ,   t h i s   i s   t h e   F a i l e d P o s t S t a r t H o o k   e v e n t ,   a n d   f o r   P r e S t o p ,   t h i s   i s   t h e   F a i l e d P r e S t o p H o o k   e v e n t .   T o   g e n e r a t e   a   f a i l e d   F a i l e d P o s t S t a r t H o o k   e v e n t   y o u r s e l f ,   m o d i f y   t h e   l i f e c y c l e - e v e n t s . y a m l   f i l e   t o   c h a n g e   t h e   p o s t S t a r t   c o m m a n d   t o   \" b a d c o m m a n d \"   a n d   a p p l y   i t .   H e r e   i s   s o m e   e x a m p l e   o u t p u t   o f   t h e   r e s u l t i n g   e v e n t s   y o u   s e e   f r o m   r u n n i n g   k u b e c t l   d e s c r i b e   p o d   l i f e c y c l e - d e m o :   E v e n t s :   T y p e   R e a s o n   A g e   F r o m   M e s s a g e   - - - -   - - - - - -   - - - -   - - - -   - - - - - - -   N o r m a l   S c h e d u l e d   7 s   d e f a u l t - s c h e d u l e r   S u c c e s s f u l l y   a s s i g n e d   d e f a u l t / l i f e c y c l e - d e m o   t o   i p - X X X - X X X - X X - X X . u s - e a s t - 2 . . .   N o r m a l   P u l l e d   6 s   k u b e l e t   S u c c e s s f u l l y   p u l l e d   i m a g e   \" n g i n x \"   i n   2 2 9 . 6 0 4 3 1 5 m s   N o r m a l   P u l l i n g   4 s   ( x 2   o v e r   6 s )   k u b e l e t   P u l l i n g   i m a g e   \" n g i n x \"   N o r m a l   C r e a t e d   4 s   ( x 2   o v e r   5 s )   k u b e l e t   C r e a t e d   c o n t a i n e r   l i f e c y c l e - d e m o - c o n t a i n e r   N o r m a l   S t a r t e d   4 s   ( x 2   o v e r   5 s )   k u b e l e t   S t a r t e d   c o n t a i n e r   l i f e c y c l e - d e m o - c o n t a i n e r   W a r n i n g   F a i l e d P o s t S t a r t ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/",
    "id": "k8s_00569_section_3_10806"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   t h e   C o n t a i n e r   e n v i r o n m e n t . G e t   h a n d s - o n   e x p e r i e n c e   a t t a c h i n g   h a n d l e r s   t o   C o n t a i n e r   l i f e c y c l e   e v e n t s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/",
    "id": "k8s_00569_section_2_10807"
  },
  {
    "question": "What is kubectl exec?",
    "answer": "kubectl execSynopsisExecute a command in a container.kubectl exec (POD | TYPE/NAME) [-c CONTAINER] [flags] -- COMMAND [args...] Examples # Get output from running the 'date' command from pod mypod, using the first container by default kubectl exec mypod -- date # Get output from running the 'date' command in ruby-container from pod mypod kubectl exec mypod -c ruby-container -- date # Switch to raw terminal mode; sends stdin to 'bash' in ruby-container from pod mypod # and sends stdout/stderr from 'bash' back to the client kubectl exec mypod -c ruby-container -i -t -- bash -il # List contents of /usr from the first container of pod mypod and sort by modification time # If the command you want to execute in the pod has any flags in common (e.g. -i), # you must use two dashes (--) to separate your command's flags/arguments # Also note, do not surround your command and its flags/arguments with quotes # unless that is how you would execute it normally (i.e., do ls -t /usr, not \"ls -t /usr\") kubectl exec mypod -i -t -- ls -t /usr # Get output from running 'date' command from the first pod of the deployment mydeployment, using the first container by default kubectl exec deploy/mydeployment -- date # Get output from running 'date' command from the first pod of the service myservice, using the first container by default kubectl exec svc/myservice -- date Options-c, --container stringContainer name. If omitted, use the kubectl.kubernetes.io/default-container annotation for selecting the container to be attached or the first container in the pod will be chosen-f, --filename stringsto use to exec into the resource-h, --helphelp for exec--pod-running-timeout duration Default: 1m0sThe length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one pod is running-q, --quietOnly print output from the remote session-i, --stdinPass stdin to the container-t, --ttyStdin is a TTYParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUB",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_exec/",
    "id": "k8s_00570_qa_10808"
  },
  {
    "question": "How does kubectl exec work?",
    "answer": "kubectl execSynopsisExecute a command in a container.kubectl exec (POD | TYPE/NAME) [-c CONTAINER] [flags] -- COMMAND [args...] Examples # Get output from running the 'date' command from pod mypod, using the first container by default kubectl exec mypod -- date # Get output from running the 'date' command in ruby-container from pod mypod kubectl exec mypod -c ruby-container -- date # Switch to raw terminal mode; sends stdin to 'bash' in ruby-container from pod mypod # and sends stdout/stderr from 'bash' back to the client kubectl exec mypod -c ruby-container -i -t -- bash -il # List contents of /usr from the first container of pod mypod and sort by modification time # If the command you want to execute in the pod has any flags in common (e.g. -i), # you must use two dashes (--) to separate your command's flags/arguments # Also note, do not surround your command and its flags/arguments with quotes # unless that is how you would execute it normally (i.e., do ls -t /usr, not \"ls -t /usr\") kubectl exec mypod -i -t -- ls -t /usr # Get output from running 'date' command from the first pod of the deployment mydeployment, using the first container by default kubectl exec deploy/mydeployment -- date # Get output from running 'date' command from the first pod of the service myservice, using the first container by default kubectl exec svc/myservice -- date Options-c, --container stringContainer name. If omitted, use the kubectl.kubernetes.io/default-container annotation for selecting the container to be attached or the first container in the pod will be chosen-f, --filename stringsto use to exec into the resource-h, --helphelp for exec--pod-running-timeout duration Default: 1m0sThe length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one pod is running-q, --quietOnly print output from the remote session-i, --stdinPass stdin to the container-t, --ttyStdin is a TTYParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUB",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_exec/",
    "id": "k8s_00570_qa_10809"
  },
  {
    "question": "When would you use kubectl exec?",
    "answer": "kubectl execSynopsisExecute a command in a container.kubectl exec (POD | TYPE/NAME) [-c CONTAINER] [flags] -- COMMAND [args...] Examples # Get output from running the 'date' command from pod mypod, using the first container by default kubectl exec mypod -- date # Get output from running the 'date' command in ruby-container from pod mypod kubectl exec mypod -c ruby-container -- date # Switch to raw terminal mode; sends stdin to 'bash' in ruby-container from pod mypod # and sends stdout/stderr from 'bash' back to the client kubectl exec mypod -c ruby-container -i -t -- bash -il # List contents of /usr from the first container of pod mypod and sort by modification time # If the command you want to execute in the pod has any flags in common (e.g. -i), # you must use two dashes (--) to separate your command's flags/arguments # Also note, do not surround your command and its flags/arguments with quotes # unless that is how you would execute it normally (i.e., do ls -t /usr, not \"ls -t /usr\") kubectl exec mypod -i -t -- ls -t /usr # Get output from running 'date' command from the first pod of the deployment mydeployment, using the first container by default kubectl exec deploy/mydeployment -- date # Get output from running 'date' command from the first pod of the service myservice, using the first container by default kubectl exec svc/myservice -- date Options-c, --container stringContainer name. If omitted, use the kubectl.kubernetes.io/default-container annotation for selecting the container to be attached or the first container in the pod will be chosen-f, --filename stringsto use to exec into the resource-h, --helphelp for exec--pod-running-timeout duration Default: 1m0sThe length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one pod is running-q, --quietOnly print output from the remote session-i, --stdinPass stdin to the container-t, --ttyStdin is a TTYParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUB",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_exec/",
    "id": "k8s_00570_qa_10810"
  },
  {
    "question": "What are the benefits of kubectl exec?",
    "answer": "kubectl execSynopsisExecute a command in a container.kubectl exec (POD | TYPE/NAME) [-c CONTAINER] [flags] -- COMMAND [args...] Examples # Get output from running the 'date' command from pod mypod, using the first container by default kubectl exec mypod -- date # Get output from running the 'date' command in ruby-container from pod mypod kubectl exec mypod -c ruby-container -- date # Switch to raw terminal mode; sends stdin to 'bash' in ruby-container from pod mypod # and sends stdout/stderr from 'bash' back to the client kubectl exec mypod -c ruby-container -i -t -- bash -il # List contents of /usr from the first container of pod mypod and sort by modification time # If the command you want to execute in the pod has any flags in common (e.g. -i), # you must use two dashes (--) to separate your command's flags/arguments # Also note, do not surround your command and its flags/arguments with quotes # unless that is how you would execute it normally (i.e., do ls -t /usr, not \"ls -t /usr\") kubectl exec mypod -i -t -- ls -t /usr # Get output from running 'date' command from the first pod of the deployment mydeployment, using the first container by default kubectl exec deploy/mydeployment -- date # Get output from running 'date' command from the first pod of the service myservice, using the first container by default kubectl exec svc/myservice -- date Options-c, --container stringContainer name. If omitted, use the kubectl.kubernetes.io/default-container annotation for selecting the container to be attached or the first container in the pod will be chosen-f, --filename stringsto use to exec into the resource-h, --helphelp for exec--pod-running-timeout duration Default: 1m0sThe length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one pod is running-q, --quietOnly print output from the remote session-i, --stdinPass stdin to the container-t, --ttyStdin is a TTYParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUB",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_exec/",
    "id": "k8s_00570_qa_10811"
  },
  {
    "question": "What is Synopsis?",
    "answer": "E x e c u t e   a   c o m m a n d   i n   a   c o n t a i n e r .   k u b e c t l   e x e c   ( P O D   |   T Y P E / N A M E )   [ - c   C O N T A I N E R ]   [ f l a g s ]   - -   C O M M A N D   [ a r g s . . . ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_exec/",
    "id": "k8s_00570_section_2_10812"
  },
  {
    "question": "What is Examples?",
    "answer": "#   G e t   o u t p u t   f r o m   r u n n i n g   t h e   ' d a t e '   c o m m a n d   f r o m   p o d   m y p o d ,   u s i n g   t h e   f i r s t   c o n t a i n e r   b y   d e f a u l t   k u b e c t l   e x e c   m y p o d   - -   d a t e   #   G e t   o u t p u t   f r o m   r u n n i n g   t h e   ' d a t e '   c o m m a n d   i n   r u b y - c o n t a i n e r   f r o m   p o d   m y p o d   k u b e c t l   e x e c   m y p o d   - c   r u b y - c o n t a i n e r   - -   d a t e   #   S w i t c h   t o   r a w   t e r m i n a l   m o d e ;   s e n d s   s t d i n   t o   ' b a s h '   i n   r u b y - c o n t a i n e r   f r o m   p o d   m y p o d   #   a n d   s e n d s   s t d o u t / s t d e r r   f r o m   ' b a s h '   b a c k   t o   t h e   c l i e n t   k u b e c t l   e x e c   m y p o d   - c   r u b y - c o n t a i n e r   - i   - t   - -   b a s h   - i l   #   L i s t   c o n t e n t s   o f   / u s r   f r o m   t h e   f i r s t   c o n t a i n e r   o f   p o d   m y p o d   a n d   s o r t   b y   m o d i f i c a t i o n   t i m e   #   I f   t h e   c o m m a n d   y o u   w a n t   t o   e x e c u t e   i n   t h e   p o d   h a s   a n y   f l a g s   i n   c o m m o n   ( e . g .   - i ) ,   #   y o u   m u s t   u s e   t w o   d a s h e s   ( - - )   t o   s e p a r a t e   y o u r   c o m m a n d ' s   f l a g s / a r g u m e n t s   #   A l s o   n o t e ,   d o   n o t   s u r r o u n d   y o u r   c o m m a n d   a n d   i t s   f l a g s / a r g u m e n t s   w i t h   q u o t e s   #   u n l e s s   t h a t   i s   h o w   y o u   w o u l d   e x e c u t e   i t   n o r m a l l y   ( i . e . ,   d o   l s   - t   / u s r ,   n o t   \" l s   - t   / u s r \" )   k u b e c t l   e x e c   m y p o d   - i   - t   - -   l s   - t   / u s r   #   G e t   o u t p u t   f r o m   r u n n i n g   ' d a t e '   c o m m a n d   f r o m   t h e   f i r s t   p o d   o f   t h e   d e p l o y m e n t   m y d e p l o y m e n t ,   u s i n g ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_exec/",
    "id": "k8s_00570_section_2_10813"
  },
  {
    "question": "What is Options?",
    "answer": "C o n t a i n e r   n a m e .   I f   o m i t t e d ,   u s e   t h e   k u b e c t l . k u b e r n e t e s . i o / d e f a u l t - c o n t a i n e r   a n n o t a t i o n   f o r   s e l e c t i n g   t h e   c o n t a i n e r   t o   b e   a t t a c h e d   o r   t h e   f i r s t   c o n t a i n e r   i n   t h e   p o d   w i l l   b e   c h o s e n   t o   u s e   t o   e x e c   i n t o   t h e   r e s o u r c e   h e l p   f o r   e x e c   T h e   l e n g t h   o f   t i m e   ( l i k e   5 s ,   2 m ,   o r   3 h ,   h i g h e r   t h a n   z e r o )   t o   w a i t   u n t i l   a t   l e a s t   o n e   p o d   i s   r u n n i n g   O n l y   p r i n t   o u t p u t   f r o m   t h e   r e m o t e   s e s s i o n   P a s s   s t d i n   t o   t h e   c o n t a i n e r   S t d i n   i s   a   T T Y",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_exec/",
    "id": "k8s_00570_section_2_10814"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_exec/",
    "id": "k8s_00570_section_2_10815"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_exec/",
    "id": "k8s_00570_section_2_10816"
  },
  {
    "question": "What is Blog guidelines?",
    "answer": "Blog guidelinesThese guidelines cover the main Kubernetes blog and the Kubernetes contributor blog.All blog content must also adhere to the overall policy in the content guide.Before you beginMake sure you are familiar with the introduction sections of contributing to Kubernetes blogs, not just to learn about the two official blogs and the differences between them, but also to get an overview of the process.Original contentThe Kubernetes project accepts original content only, in English.Note:The Kubernetes project cannot accept content for the blog if it has already been submitted or published outside of the Kubernetes project.The official blogs are not available as a medium to repurpose existing content from any third party as new content.This restriction even carries across to promoting other Linux Foundation and CNCF projects. Many CNCF projects have their own blog. These are often a better choice for posts about a specific project, even if that other project is designed specifically to work with Kubernetes (or with Linux, etc).Relevant contentArticles must contain content that applies broadly to the Kubernetes community. For example, a submission should focus on upstream Kubernetes as opposed to vendor-specific configurations. For articles submitted to the main blog that are not mirror articles, hyperlinks in the article should commonly be to the official Kubernetes documentation. When making external references, links should be diverse - for example, a submission shouldn't contain only links back to a single company's blog.The official Kubernetes blogs are not the place for vendor pitches or for articles that promote a specific solution from outside Kubernetes.Sometimes this is a delicate balance. You can ask in Slack (#sig-docs-blog) for guidance on whether a post is appropriate for the Kubernetes blog and / or contributor blog - don't hesitate to reach out.The content guide applies unconditionally to blog articles and the PRs that add them. Bear in mind that some restrictions in the guide state that they are only relevant to documentation; those marked restrictions don't apply to blog articles.LocalizationThe website is localized into many languages; English is the “upstream” for all the other localizations. Even if you speak another language and would be happy to provide a localization, that should be in a separate pull request (see languages per PR).Copyright and reuseYou must write original content and you must have permission to license that content to the Cloud Native Computing Foundation (so that the Kubernetes project can legally publish it). This means that not only is direct plagiarism forbidden, you cannot write a blog article if you don't have permission to meet the CNCF copyright license conditions (for example, if your employer has a policy about intellectual property that restricts what you are allowed to do).The license for the blog allows commercial use of the content for commercial purposes, but not the other way around.Sp",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/guidelines/",
    "id": "k8s_00571_qa_10817"
  },
  {
    "question": "How does Blog guidelines work?",
    "answer": "Blog guidelinesThese guidelines cover the main Kubernetes blog and the Kubernetes contributor blog.All blog content must also adhere to the overall policy in the content guide.Before you beginMake sure you are familiar with the introduction sections of contributing to Kubernetes blogs, not just to learn about the two official blogs and the differences between them, but also to get an overview of the process.Original contentThe Kubernetes project accepts original content only, in English.Note:The Kubernetes project cannot accept content for the blog if it has already been submitted or published outside of the Kubernetes project.The official blogs are not available as a medium to repurpose existing content from any third party as new content.This restriction even carries across to promoting other Linux Foundation and CNCF projects. Many CNCF projects have their own blog. These are often a better choice for posts about a specific project, even if that other project is designed specifically to work with Kubernetes (or with Linux, etc).Relevant contentArticles must contain content that applies broadly to the Kubernetes community. For example, a submission should focus on upstream Kubernetes as opposed to vendor-specific configurations. For articles submitted to the main blog that are not mirror articles, hyperlinks in the article should commonly be to the official Kubernetes documentation. When making external references, links should be diverse - for example, a submission shouldn't contain only links back to a single company's blog.The official Kubernetes blogs are not the place for vendor pitches or for articles that promote a specific solution from outside Kubernetes.Sometimes this is a delicate balance. You can ask in Slack (#sig-docs-blog) for guidance on whether a post is appropriate for the Kubernetes blog and / or contributor blog - don't hesitate to reach out.The content guide applies unconditionally to blog articles and the PRs that add them. Bear in mind that some restrictions in the guide state that they are only relevant to documentation; those marked restrictions don't apply to blog articles.LocalizationThe website is localized into many languages; English is the “upstream” for all the other localizations. Even if you speak another language and would be happy to provide a localization, that should be in a separate pull request (see languages per PR).Copyright and reuseYou must write original content and you must have permission to license that content to the Cloud Native Computing Foundation (so that the Kubernetes project can legally publish it). This means that not only is direct plagiarism forbidden, you cannot write a blog article if you don't have permission to meet the CNCF copyright license conditions (for example, if your employer has a policy about intellectual property that restricts what you are allowed to do).The license for the blog allows commercial use of the content for commercial purposes, but not the other way around.Sp",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/guidelines/",
    "id": "k8s_00571_qa_10818"
  },
  {
    "question": "When would you use Blog guidelines?",
    "answer": "Blog guidelinesThese guidelines cover the main Kubernetes blog and the Kubernetes contributor blog.All blog content must also adhere to the overall policy in the content guide.Before you beginMake sure you are familiar with the introduction sections of contributing to Kubernetes blogs, not just to learn about the two official blogs and the differences between them, but also to get an overview of the process.Original contentThe Kubernetes project accepts original content only, in English.Note:The Kubernetes project cannot accept content for the blog if it has already been submitted or published outside of the Kubernetes project.The official blogs are not available as a medium to repurpose existing content from any third party as new content.This restriction even carries across to promoting other Linux Foundation and CNCF projects. Many CNCF projects have their own blog. These are often a better choice for posts about a specific project, even if that other project is designed specifically to work with Kubernetes (or with Linux, etc).Relevant contentArticles must contain content that applies broadly to the Kubernetes community. For example, a submission should focus on upstream Kubernetes as opposed to vendor-specific configurations. For articles submitted to the main blog that are not mirror articles, hyperlinks in the article should commonly be to the official Kubernetes documentation. When making external references, links should be diverse - for example, a submission shouldn't contain only links back to a single company's blog.The official Kubernetes blogs are not the place for vendor pitches or for articles that promote a specific solution from outside Kubernetes.Sometimes this is a delicate balance. You can ask in Slack (#sig-docs-blog) for guidance on whether a post is appropriate for the Kubernetes blog and / or contributor blog - don't hesitate to reach out.The content guide applies unconditionally to blog articles and the PRs that add them. Bear in mind that some restrictions in the guide state that they are only relevant to documentation; those marked restrictions don't apply to blog articles.LocalizationThe website is localized into many languages; English is the “upstream” for all the other localizations. Even if you speak another language and would be happy to provide a localization, that should be in a separate pull request (see languages per PR).Copyright and reuseYou must write original content and you must have permission to license that content to the Cloud Native Computing Foundation (so that the Kubernetes project can legally publish it). This means that not only is direct plagiarism forbidden, you cannot write a blog article if you don't have permission to meet the CNCF copyright license conditions (for example, if your employer has a policy about intellectual property that restricts what you are allowed to do).The license for the blog allows commercial use of the content for commercial purposes, but not the other way around.Sp",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/guidelines/",
    "id": "k8s_00571_qa_10819"
  },
  {
    "question": "What are the benefits of Blog guidelines?",
    "answer": "Blog guidelinesThese guidelines cover the main Kubernetes blog and the Kubernetes contributor blog.All blog content must also adhere to the overall policy in the content guide.Before you beginMake sure you are familiar with the introduction sections of contributing to Kubernetes blogs, not just to learn about the two official blogs and the differences between them, but also to get an overview of the process.Original contentThe Kubernetes project accepts original content only, in English.Note:The Kubernetes project cannot accept content for the blog if it has already been submitted or published outside of the Kubernetes project.The official blogs are not available as a medium to repurpose existing content from any third party as new content.This restriction even carries across to promoting other Linux Foundation and CNCF projects. Many CNCF projects have their own blog. These are often a better choice for posts about a specific project, even if that other project is designed specifically to work with Kubernetes (or with Linux, etc).Relevant contentArticles must contain content that applies broadly to the Kubernetes community. For example, a submission should focus on upstream Kubernetes as opposed to vendor-specific configurations. For articles submitted to the main blog that are not mirror articles, hyperlinks in the article should commonly be to the official Kubernetes documentation. When making external references, links should be diverse - for example, a submission shouldn't contain only links back to a single company's blog.The official Kubernetes blogs are not the place for vendor pitches or for articles that promote a specific solution from outside Kubernetes.Sometimes this is a delicate balance. You can ask in Slack (#sig-docs-blog) for guidance on whether a post is appropriate for the Kubernetes blog and / or contributor blog - don't hesitate to reach out.The content guide applies unconditionally to blog articles and the PRs that add them. Bear in mind that some restrictions in the guide state that they are only relevant to documentation; those marked restrictions don't apply to blog articles.LocalizationThe website is localized into many languages; English is the “upstream” for all the other localizations. Even if you speak another language and would be happy to provide a localization, that should be in a separate pull request (see languages per PR).Copyright and reuseYou must write original content and you must have permission to license that content to the Cloud Native Computing Foundation (so that the Kubernetes project can legally publish it). This means that not only is direct plagiarism forbidden, you cannot write a blog article if you don't have permission to meet the CNCF copyright license conditions (for example, if your employer has a policy about intellectual property that restricts what you are allowed to do).The license for the blog allows commercial use of the content for commercial purposes, but not the other way around.Sp",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/guidelines/",
    "id": "k8s_00571_qa_10820"
  },
  {
    "question": "What is Blog guidelines?",
    "answer": "T h e s e   g u i d e l i n e s   c o v e r   t h e   m a i n   K u b e r n e t e s   b l o g   a n d   t h e   K u b e r n e t e s   c o n t r i b u t o r   b l o g .   A l l   b l o g   c o n t e n t   m u s t   a l s o   a d h e r e   t o   t h e   o v e r a l l   p o l i c y   i n   t h e   c o n t e n t   g u i d e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/guidelines/",
    "id": "k8s_00571_section_1_10821"
  },
  {
    "question": "What is Before you begin?",
    "answer": "M a k e   s u r e   y o u   a r e   f a m i l i a r   w i t h   t h e   i n t r o d u c t i o n   s e c t i o n s   o f   c o n t r i b u t i n g   t o   K u b e r n e t e s   b l o g s ,   n o t   j u s t   t o   l e a r n   a b o u t   t h e   t w o   o f f i c i a l   b l o g s   a n d   t h e   d i f f e r e n c e s   b e t w e e n   t h e m ,   b u t   a l s o   t o   g e t   a n   o v e r v i e w   o f   t h e   p r o c e s s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/guidelines/",
    "id": "k8s_00571_section_1_10822"
  },
  {
    "question": "What is Original content?",
    "answer": "T h e   K u b e r n e t e s   p r o j e c t   a c c e p t s   o r i g i n a l   c o n t e n t   o n l y ,   i n   E n g l i s h .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/guidelines/",
    "id": "k8s_00571_section_2_10823"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   K u b e r n e t e s   p r o j e c t   c a n n o t   a c c e p t   c o n t e n t   f o r   t h e   b l o g   i f   i t   h a s   a l r e a d y   b e e n   s u b m i t t e d   o r   p u b l i s h e d   o u t s i d e   o f   t h e   K u b e r n e t e s   p r o j e c t .   T h e   o f f i c i a l   b l o g s   a r e   n o t   a v a i l a b l e   a s   a   m e d i u m   t o   r e p u r p o s e   e x i s t i n g   c o n t e n t   f r o m   a n y   t h i r d   p a r t y   a s   n e w   c o n t e n t .   T h i s   r e s t r i c t i o n   e v e n   c a r r i e s   a c r o s s   t o   p r o m o t i n g   o t h e r   L i n u x   F o u n d a t i o n   a n d   C N C F   p r o j e c t s .   M a n y   C N C F   p r o j e c t s   h a v e   t h e i r   o w n   b l o g .   T h e s e   a r e   o f t e n   a   b e t t e r   c h o i c e   f o r   p o s t s   a b o u t   a   s p e c i f i c   p r o j e c t ,   e v e n   i f   t h a t   o t h e r   p r o j e c t   i s   d e s i g n e d   s p e c i f i c a l l y   t o   w o r k   w i t h   K u b e r n e t e s   ( o r   w i t h   L i n u x ,   e t c ) .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/guidelines/",
    "id": "k8s_00571_section_4_10824"
  },
  {
    "question": "What is Relevant content?",
    "answer": "A r t i c l e s   m u s t   c o n t a i n   c o n t e n t   t h a t   a p p l i e s   b r o a d l y   t o   t h e   K u b e r n e t e s   c o m m u n i t y .   F o r   e x a m p l e ,   a   s u b m i s s i o n   s h o u l d   f o c u s   o n   u p s t r e a m   K u b e r n e t e s   a s   o p p o s e d   t o   v e n d o r - s p e c i f i c   c o n f i g u r a t i o n s .   F o r   a r t i c l e s   s u b m i t t e d   t o   t h e   m a i n   b l o g   t h a t   a r e   n o t   m i r r o r   a r t i c l e s ,   h y p e r l i n k s   i n   t h e   a r t i c l e   s h o u l d   c o m m o n l y   b e   t o   t h e   o f f i c i a l   K u b e r n e t e s   d o c u m e n t a t i o n .   W h e n   m a k i n g   e x t e r n a l   r e f e r e n c e s ,   l i n k s   s h o u l d   b e   d i v e r s e   -   f o r   e x a m p l e ,   a   s u b m i s s i o n   s h o u l d n ' t   c o n t a i n   o n l y   l i n k s   b a c k   t o   a   s i n g l e   c o m p a n y ' s   b l o g .   T h e   o f f i c i a l   K u b e r n e t e s   b l o g s   a r e   n o t   t h e   p l a c e   f o r   v e n d o r   p i t c h e s   o r   f o r   a r t i c l e s   t h a t   p r o m o t e   a   s p e c i f i c   s o l u t i o n   f r o m   o u t s i d e   K u b e r n e t e s .   S o m e t i m e s   t h i s   i s   a   d e l i c a t e   b a l a n c e .   Y o u   c a n   a s k   i n   S l a c k   ( # s i g - d o c s - b l o g )   f o r   g u i d a n c e   o n   w h e t h e r   a   p o s t   i s   a p p r o p r i a t e   f o r   t h e   K u b e r n e t e s   b l o g   a n d   /   o r   c o n t r i b u t o r   b l o g   -   d o n ' t   h e s i t a t e   t o   r e a c h   o u t .   T h e   c o n t e n t   g u i d e   a p p l i e s   u n c o n d i t i o n a l l y   t o   b l o g   a r t i c l e s   a n d   t h e   P R s   t h a t   a d d   t h e m .   B e a r   i n   m i n d   t h a t   s o m e   r e s t r i c t i o n s   i n   t h e   g u i d e   s t a t e   t h a t   t h e y   a r e   o n l y   r e l e ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/guidelines/",
    "id": "k8s_00571_section_2_10825"
  },
  {
    "question": "What is Localization?",
    "answer": "T h e   w e b s i t e   i s   l o c a l i z e d   i n t o   m a n y   l a n g u a g e s ;   E n g l i s h   i s   t h e   “ u p s t r e a m ”   f o r   a l l   t h e   o t h e r   l o c a l i z a t i o n s .   E v e n   i f   y o u   s p e a k   a n o t h e r   l a n g u a g e   a n d   w o u l d   b e   h a p p y   t o   p r o v i d e   a   l o c a l i z a t i o n ,   t h a t   s h o u l d   b e   i n   a   s e p a r a t e   p u l l   r e q u e s t   ( s e e   l a n g u a g e s   p e r   P R ) .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/guidelines/",
    "id": "k8s_00571_section_2_10826"
  },
  {
    "question": "What is Copyright and reuse?",
    "answer": "Y o u   m u s t   w r i t e   o r i g i n a l   c o n t e n t   a n d   y o u   m u s t   h a v e   p e r m i s s i o n   t o   l i c e n s e   t h a t   c o n t e n t   t o   t h e   C l o u d   N a t i v e   C o m p u t i n g   F o u n d a t i o n   ( s o   t h a t   t h e   K u b e r n e t e s   p r o j e c t   c a n   l e g a l l y   p u b l i s h   i t ) .   T h i s   m e a n s   t h a t   n o t   o n l y   i s   d i r e c t   p l a g i a r i s m   f o r b i d d e n ,   y o u   c a n n o t   w r i t e   a   b l o g   a r t i c l e   i f   y o u   d o n ' t   h a v e   p e r m i s s i o n   t o   m e e t   t h e   C N C F   c o p y r i g h t   l i c e n s e   c o n d i t i o n s   ( f o r   e x a m p l e ,   i f   y o u r   e m p l o y e r   h a s   a   p o l i c y   a b o u t   i n t e l l e c t u a l   p r o p e r t y   t h a t   r e s t r i c t s   w h a t   y o u   a r e   a l l o w e d   t o   d o ) .   T h e   l i c e n s e   f o r   t h e   b l o g   a l l o w s   c o m m e r c i a l   u s e   o f   t h e   c o n t e n t   f o r   c o m m e r c i a l   p u r p o s e s ,   b u t   n o t   t h e   o t h e r   w a y   a r o u n d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/guidelines/",
    "id": "k8s_00571_section_2_10827"
  },
  {
    "question": "What is Special interest groups and working groups?",
    "answer": "T o p i c s   r e l a t e d   t o   p a r t i c i p a t i o n   i n   o r   r e s u l t s   o f   K u b e r n e t e s   S I G   a c t i v i t i e s   a r e   a l w a y s   o n   t o p i c   ( s e e   t h e   w o r k   i n   t h e   C o n t r i b u t o r   C o m m s   T e a m   f o r   s u p p o r t   o n   t h e s e   p o s t s ) .   T h e   p r o j e c t   t y p i c a l l y   m i r r o r s   t h e s e   a r t i c l e s   t o   b o t h   b l o g s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/guidelines/",
    "id": "k8s_00571_section_2_10828"
  },
  {
    "question": "What is National restrictions on content?",
    "answer": "T h e   K u b e r n e t e s   w e b s i t e   h a s   a n   I n t e r n e t   C o n t e n t   P r o v i d e r   ( I C P )   l i c e n c e   f r o m   t h e   g o v e r n m e n t   o f   C h i n a .   A l t h o u g h   i t ' s   u n l i k e l y   t o   b e   a   p r o b l e m ,   K u b e r n e t e s   c a n n o t   p u b l i s h   a r t i c l e s   t h a t   w o u l d   b e   b l o c k e d   b y   t h e   C h i n e s e   g o v e r n m e n t ' s   o f f i c i a l   f i l t e r i n g   o f   i n t e r n e t   c o n t e n t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/guidelines/",
    "id": "k8s_00571_section_2_10829"
  },
  {
    "question": "What is Blog-specific content guidance?",
    "answer": "A s   w e l l   a s   t h e   g e n e r a l   s t y l e   g u i d e ,   b l o g   a r t i c l e s   s h o u l d   ( n o t   m u s t )   a l i g n   t o   t h e   b l o g - s p e c i f i c   s t y l e   r e c o m m e n d a t i o n s .   T h e   r e m a i n d e r   o f   t h i s   p a g e   i s   a d d i t i o n a l   g u i d a n c e ;   t h e s e   a r e   n o t   s t r i c t   r u l e s   t h a t   a r t i c l e s   m u s t   f o l l o w ,   b u t   r e v i e w e r s   a r e   l i k e l y   t o   ( a n d   s h o u l d )   a s k   f o r   e d i t s   t o   a r t i c l e s   t h a t   a r e   o b v i o u s l y   n o t   a l i g n e d   w i t h   t h e   r e c o m m e n d a t i o n s   h e r e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/guidelines/",
    "id": "k8s_00571_section_2_10830"
  },
  {
    "question": "What is Diagrams and illustrations?",
    "answer": "F o r   i l l u s t r a t i o n s   -   i n c l u d i n g   d i a g r a m s   o r   c h a r t s   -   u s e   t h e   f i g u r e   s h o r t c o d e   w h e r e   f e a s i b l e .   Y o u   s h o u l d   s e t   a n   a l t   a t t r i b u t e   f o r   a c c e s s i b i l i t y .   U s e   v e c t o r   i m a g e s   f o r   i l l u s t r a t i o n s ,   t e c h n i c a l   d i a g r a m s   a n d   s i m i l a r   g r a p h i c s ;   S V G   f o r m a t   i s   r e c o m m e n d e d   a s   a   s t r o n g   p r e f e r e n c e .   A r t i c l e s   t h a t   u s e   r a s t e r   i m a g e s   f o r   i l l u s t r a t i o n s   a r e   m o r e   d i f f i c u l t   t o   m a i n t a i n   a n d   i n   s o m e   c a s e s   t h e   b l o g   t e a m   m a y   a s k   a u t h o r s   t o   r e v i s e   t h e   a r t i c l e   b e f o r e   i t   c o u l d   b e   p u b l i s h e d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/guidelines/",
    "id": "k8s_00571_section_3_10831"
  },
  {
    "question": "What is Timelessness?",
    "answer": "B l o g   p o s t s   s h o u l d   a i m   t o   b e   f u t u r e   p r o o f   G i v e n   t h e   d e v e l o p m e n t   v e l o c i t y   o f   t h e   p r o j e c t ,   S I G   D o c s   p r e f e r s   t i m e l e s s   w r i t i n g :   c o n t e n t   t h a t   w o n ' t   r e q u i r e   u p d a t e s   t o   s t a y   a c c u r a t e   f o r   t h e   r e a d e r . I t   c a n   b e   a   b e t t e r   c h o i c e   t o   a d d   a   t u t o r i a l   o r   u p d a t e   o f f i c i a l   d o c u m e n t a t i o n   t h a n   t o   w r i t e   a   h i g h   l e v e l   o v e r v i e w   a s   a   b l o g   p o s t . C o n s i d e r   c o n c e n t r a t i n g   t h e   l o n g   t e c h n i c a l   c o n t e n t   a s   a   c a l l   t o   a c t i o n   o f   t h e   b l o g   p o s t ,   a n d   f o c u s   o n   t h e   p r o b l e m   s p a c e   o r   w h y   r e a d e r s   s h o u l d   c a r e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/guidelines/",
    "id": "k8s_00571_section_3_10832"
  },
  {
    "question": "What is Content examples?",
    "answer": "H e r e   a r e   s o m e   e x a m p l e s   o f   c o n t e n t   t h a t   i s   a p p r o p r i a t e   f o r   t h e   m a i n   K u b e r n e t e s   b l o g :   A n n o u n c e m e n t s   a b o u t   n e w   K u b e r n e t e s   c a p a b i l i t i e s E x p l a n a t i o n s   o f   h o w   t o   a c h i e v e   a n   o u t c o m e   u s i n g   K u b e r n e t e s ;   f o r   e x a m p l e ,   t e l l   u s   a b o u t   y o u r   l o w - t o i l   i m p r o v e m e n t   o n   t h e   b a s i c   i d e a   o f   a   r o l l i n g   d e p l o y C o m p a r i s o n s   o f   s e v e r a l   d i f f e r e n t   s o f t w a r e   o p t i o n s   t h a t   h a v e   a   l i n k   t o   K u b e r n e t e s   a n d   c l o u d   n a t i v e .   I t ' s   O K   t o   h a v e   a   l i n k   t o   o n e   o f   t h e s e   o p t i o n s   s o   l o n g   a s   y o u   f u l l y   d i s c l o s e   y o u r   c o n f l i c t   o f   i n t e r e s t   /   r e l a t i o n s h i p . S t o r i e s   a b o u t   p r o b l e m s   o r   i n c i d e n t s ,   a n d   h o w   y o u   r e s o l v e d   t h e m A r t i c l e s   d i s c u s s i n g   b u i l d i n g   a   c l o u d   n a t i v e   p l a t f o r m   f o r   s p e c i f i c   u s e   c a s e s Y o u r   o p i n i o n   a b o u t   t h e   g o o d   o r   b a d   p o i n t s   a b o u t   K u b e r n e t e s A n n o u n c e m e n t s   a n d   s t o r i e s   a b o u t   n o n - c o r e   K u b e r n e t e s ,   s u c h   a s   t h e   G a t e w a y   A P I P o s t - r e l e a s e   a n n o u n c e m e n t s   a n d   u p d a t e s M e s s a g e s   a b o u t   i m p o r t a n t   K u b e r n e t e s   s e c u r i t y   v u l n e r a b i l i t i e s K u b e r n e t e s   p r o j e c t s   u p d a t e s T u t o r i a l s   a n d   w a l k t h r o u g h s T h o u g h t   l e a d e r s h i p   a r o u n d   K u b e r n e t e s   a n d   c l o u d   n a t i v e T h e   c o m p o n e n t s   o f   K u b e r n e t e ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/guidelines/",
    "id": "k8s_00571_section_3_10833"
  },
  {
    "question": "What is Examples of content that wouldn't be accepted?",
    "answer": "H o w e v e r ,   t h e   p r o j e c t   w i l l   n o t   p u b l i s h :   v e n d o r   p i t c h e s a n   a r t i c l e   y o u ' v e   p u b l i s h e d   e l s e w h e r e ,   e v e n   i f   o n l y   t o   y o u r   o w n   l o w - t r a f f i c   b l o g l a r g e   c h u n k s   o f   e x a m p l e   s o u r c e   c o d e   w i t h   o n l y   a   m i n i m a l   e x p l a n a t i o n u p d a t e s   a b o u t   a n   e x t e r n a l   p r o j e c t   t h a t   w o r k s   w i t h   o u r   r e l i e s   o n   K u b e r n e t e s   ( p u t   t h o s e   o n   t h e   e x t e r n a l   p r o j e c t ' s   o w n   b l o g ) a r t i c l e s   a b o u t   u s i n g   K u b e r n e t e s   w i t h   a   s p e c i f i c   c l o u d   p r o v i d e r a r t i c l e s   t h a t   c r i t i c i s e   s p e c i f i c   p e o p l e ,   g r o u p s   o f   p e o p l e ,   o r   b u s i n e s s e s a r t i c l e s   t h a t   h a v e   i m p o r t a n t   t e c h n i c a l   m i s t a k e s   o r   m i s l e a d i n g   d e t a i l s   ( f o r   e x a m p l e :   i f   y o u   r e c o m m e n d   t u r n i n g   o f f   a n   i m p o r t a n t   s e c u r i t y   c o n t r o l   i n   p r o d u c t i o n   c l u s t e r s ,   b e c a u s e   i t   c a n   b e   i n c o n v e n i e n t ,   t h e   K u b e r n e t e s   p r o j e c t   i s   l i k e l y   t o   r e j e c t   t h e   a r t i c l e ) .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/blog/guidelines/",
    "id": "k8s_00571_section_3_10834"
  },
  {
    "question": "What is Docs smoke test page?",
    "answer": "Shutdown of interactive tutorialsThe interactive tutorials previously on this website have been shut down.Kubernetes is grateful to O'Reilly and Katacoda for many years of helping people take their first steps in learning Kubernetes.The shutdown followed O'Reilly Media's 2019 acquisition of Katacoda.The tutorials ceased to function after the 31st of March, 2023. You are seeing this notice because this particular page has not yet been updated following that shutdown.Docs smoke test pageThis page serves two purposes:Demonstrate how the Kubernetes documentation uses MarkdownProvide a \"smoke test\" document we can use to test HTML, CSS, and template changes that affect the overall documentation.Heading levelsThe above heading is an H2. The page title renders as an H1. The following sections show H3 - H6.### H3 This is in an H3 section. #### H4 This is in an H4 section. ##### H5 This is in an H5 section. ###### H6 This is in an H6 section. Produces:H3This is in an H3 section.H4This is in an H4 section.H5This is in an H5 section.H6This is in an H6 section.Inline elementsInline elements show up within the text of paragraph, list item, admonition, or other block-level element.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Inline text stylesYou can use different text styles in markdown like:- **bold** - _italic_ - ***bold italic*** - ~~strikethrough~~ - <u>underline</u> - _<u>underline italic</u>_ - **<u>underline bold</u>** - ***<u>underline bold italic</u>*** - `monospace text` - **`monospace bold`** Produces:bolditalicbold italicstrikethroughunderlineunderline italicunderline boldunderline bold italicmonospace textmonospace boldListsMarkdown doesn't have strict rules about how to process lists. When we moved from Jekyll to Hugo, we broke some lists. To fix them, keep the following in mind:Make sure you indent sub-list items 2 spaces.To end a list and start another, you need an HTML comment block on a new line between the lists, flush with the left-hand border. The first list won't end otherwise, no matter how many blank lines you put between it and the second.Bullet listsYou can add a bullet list in markdown like:- This is a list item. * This is another list item in the same list. - You can mix `-` and `*`. - To make a sub-item, indent two spaces. - This is a sub-sub-item. Indent two more spaces. - Another sub-item. Produces:This is a list item.This is another list item in the same list.You can mix - and *.To make a sub-item, indent two spaces.This is a sub-sub-item. Indent two more spaces.Another sub-item.Also,This is a new list. With Hugo, you need to use a HT",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_qa_10835"
  },
  {
    "question": "How does Docs smoke test page work?",
    "answer": "Shutdown of interactive tutorialsThe interactive tutorials previously on this website have been shut down.Kubernetes is grateful to O'Reilly and Katacoda for many years of helping people take their first steps in learning Kubernetes.The shutdown followed O'Reilly Media's 2019 acquisition of Katacoda.The tutorials ceased to function after the 31st of March, 2023. You are seeing this notice because this particular page has not yet been updated following that shutdown.Docs smoke test pageThis page serves two purposes:Demonstrate how the Kubernetes documentation uses MarkdownProvide a \"smoke test\" document we can use to test HTML, CSS, and template changes that affect the overall documentation.Heading levelsThe above heading is an H2. The page title renders as an H1. The following sections show H3 - H6.### H3 This is in an H3 section. #### H4 This is in an H4 section. ##### H5 This is in an H5 section. ###### H6 This is in an H6 section. Produces:H3This is in an H3 section.H4This is in an H4 section.H5This is in an H5 section.H6This is in an H6 section.Inline elementsInline elements show up within the text of paragraph, list item, admonition, or other block-level element.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Inline text stylesYou can use different text styles in markdown like:- **bold** - _italic_ - ***bold italic*** - ~~strikethrough~~ - <u>underline</u> - _<u>underline italic</u>_ - **<u>underline bold</u>** - ***<u>underline bold italic</u>*** - `monospace text` - **`monospace bold`** Produces:bolditalicbold italicstrikethroughunderlineunderline italicunderline boldunderline bold italicmonospace textmonospace boldListsMarkdown doesn't have strict rules about how to process lists. When we moved from Jekyll to Hugo, we broke some lists. To fix them, keep the following in mind:Make sure you indent sub-list items 2 spaces.To end a list and start another, you need an HTML comment block on a new line between the lists, flush with the left-hand border. The first list won't end otherwise, no matter how many blank lines you put between it and the second.Bullet listsYou can add a bullet list in markdown like:- This is a list item. * This is another list item in the same list. - You can mix `-` and `*`. - To make a sub-item, indent two spaces. - This is a sub-sub-item. Indent two more spaces. - Another sub-item. Produces:This is a list item.This is another list item in the same list.You can mix - and *.To make a sub-item, indent two spaces.This is a sub-sub-item. Indent two more spaces.Another sub-item.Also,This is a new list. With Hugo, you need to use a HT",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_qa_10836"
  },
  {
    "question": "When would you use Docs smoke test page?",
    "answer": "Shutdown of interactive tutorialsThe interactive tutorials previously on this website have been shut down.Kubernetes is grateful to O'Reilly and Katacoda for many years of helping people take their first steps in learning Kubernetes.The shutdown followed O'Reilly Media's 2019 acquisition of Katacoda.The tutorials ceased to function after the 31st of March, 2023. You are seeing this notice because this particular page has not yet been updated following that shutdown.Docs smoke test pageThis page serves two purposes:Demonstrate how the Kubernetes documentation uses MarkdownProvide a \"smoke test\" document we can use to test HTML, CSS, and template changes that affect the overall documentation.Heading levelsThe above heading is an H2. The page title renders as an H1. The following sections show H3 - H6.### H3 This is in an H3 section. #### H4 This is in an H4 section. ##### H5 This is in an H5 section. ###### H6 This is in an H6 section. Produces:H3This is in an H3 section.H4This is in an H4 section.H5This is in an H5 section.H6This is in an H6 section.Inline elementsInline elements show up within the text of paragraph, list item, admonition, or other block-level element.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Inline text stylesYou can use different text styles in markdown like:- **bold** - _italic_ - ***bold italic*** - ~~strikethrough~~ - <u>underline</u> - _<u>underline italic</u>_ - **<u>underline bold</u>** - ***<u>underline bold italic</u>*** - `monospace text` - **`monospace bold`** Produces:bolditalicbold italicstrikethroughunderlineunderline italicunderline boldunderline bold italicmonospace textmonospace boldListsMarkdown doesn't have strict rules about how to process lists. When we moved from Jekyll to Hugo, we broke some lists. To fix them, keep the following in mind:Make sure you indent sub-list items 2 spaces.To end a list and start another, you need an HTML comment block on a new line between the lists, flush with the left-hand border. The first list won't end otherwise, no matter how many blank lines you put between it and the second.Bullet listsYou can add a bullet list in markdown like:- This is a list item. * This is another list item in the same list. - You can mix `-` and `*`. - To make a sub-item, indent two spaces. - This is a sub-sub-item. Indent two more spaces. - Another sub-item. Produces:This is a list item.This is another list item in the same list.You can mix - and *.To make a sub-item, indent two spaces.This is a sub-sub-item. Indent two more spaces.Another sub-item.Also,This is a new list. With Hugo, you need to use a HT",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_qa_10837"
  },
  {
    "question": "What are the benefits of Docs smoke test page?",
    "answer": "Shutdown of interactive tutorialsThe interactive tutorials previously on this website have been shut down.Kubernetes is grateful to O'Reilly and Katacoda for many years of helping people take their first steps in learning Kubernetes.The shutdown followed O'Reilly Media's 2019 acquisition of Katacoda.The tutorials ceased to function after the 31st of March, 2023. You are seeing this notice because this particular page has not yet been updated following that shutdown.Docs smoke test pageThis page serves two purposes:Demonstrate how the Kubernetes documentation uses MarkdownProvide a \"smoke test\" document we can use to test HTML, CSS, and template changes that affect the overall documentation.Heading levelsThe above heading is an H2. The page title renders as an H1. The following sections show H3 - H6.### H3 This is in an H3 section. #### H4 This is in an H4 section. ##### H5 This is in an H5 section. ###### H6 This is in an H6 section. Produces:H3This is in an H3 section.H4This is in an H4 section.H5This is in an H5 section.H6This is in an H6 section.Inline elementsInline elements show up within the text of paragraph, list item, admonition, or other block-level element.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Inline text stylesYou can use different text styles in markdown like:- **bold** - _italic_ - ***bold italic*** - ~~strikethrough~~ - <u>underline</u> - _<u>underline italic</u>_ - **<u>underline bold</u>** - ***<u>underline bold italic</u>*** - `monospace text` - **`monospace bold`** Produces:bolditalicbold italicstrikethroughunderlineunderline italicunderline boldunderline bold italicmonospace textmonospace boldListsMarkdown doesn't have strict rules about how to process lists. When we moved from Jekyll to Hugo, we broke some lists. To fix them, keep the following in mind:Make sure you indent sub-list items 2 spaces.To end a list and start another, you need an HTML comment block on a new line between the lists, flush with the left-hand border. The first list won't end otherwise, no matter how many blank lines you put between it and the second.Bullet listsYou can add a bullet list in markdown like:- This is a list item. * This is another list item in the same list. - You can mix `-` and `*`. - To make a sub-item, indent two spaces. - This is a sub-sub-item. Indent two more spaces. - Another sub-item. Produces:This is a list item.This is another list item in the same list.You can mix - and *.To make a sub-item, indent two spaces.This is a sub-sub-item. Indent two more spaces.Another sub-item.Also,This is a new list. With Hugo, you need to use a HT",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_qa_10838"
  },
  {
    "question": "What is Shutdown of interactive tutorials?",
    "answer": "T h e   i n t e r a c t i v e   t u t o r i a l s   p r e v i o u s l y   o n   t h i s   w e b s i t e   h a v e   b e e n   s h u t   d o w n .   K u b e r n e t e s   i s   g r a t e f u l   t o   O ' R e i l l y   a n d   K a t a c o d a   f o r   m a n y   y e a r s   o f   h e l p i n g   p e o p l e   t a k e   t h e i r   f i r s t   s t e p s   i n   l e a r n i n g   K u b e r n e t e s .   T h e   s h u t d o w n   f o l l o w e d   O ' R e i l l y   M e d i a ' s   2 0 1 9   a c q u i s i t i o n   o f   K a t a c o d a .   T h e   t u t o r i a l s   c e a s e d   t o   f u n c t i o n   a f t e r   t h e   3 1 s t   o f   M a r c h ,   2 0 2 3 .   Y o u   a r e   s e e i n g   t h i s   n o t i c e   b e c a u s e   t h i s   p a r t i c u l a r   p a g e   h a s   n o t   y e t   b e e n   u p d a t e d   f o l l o w i n g   t h a t   s h u t d o w n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_4_10839"
  },
  {
    "question": "What is Docs smoke test page?",
    "answer": "T h i s   p a g e   s e r v e s   t w o   p u r p o s e s :   D e m o n s t r a t e   h o w   t h e   K u b e r n e t e s   d o c u m e n t a t i o n   u s e s   M a r k d o w n P r o v i d e   a   \" s m o k e   t e s t \"   d o c u m e n t   w e   c a n   u s e   t o   t e s t   H T M L ,   C S S ,   a n d   t e m p l a t e   c h a n g e s   t h a t   a f f e c t   t h e   o v e r a l l   d o c u m e n t a t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_1_10840"
  },
  {
    "question": "What is Heading levels?",
    "answer": "T h e   a b o v e   h e a d i n g   i s   a n   H 2 .   T h e   p a g e   t i t l e   r e n d e r s   a s   a n   H 1 .   T h e   f o l l o w i n g   s e c t i o n s   s h o w   H 3   -   H 6 .   # # #   H 3   T h i s   i s   i n   a n   H 3   s e c t i o n .   # # # #   H 4   T h i s   i s   i n   a n   H 4   s e c t i o n .   # # # # #   H 5   T h i s   i s   i n   a n   H 5   s e c t i o n .   # # # # # #   H 6   T h i s   i s   i n   a n   H 6   s e c t i o n .   P r o d u c e s :",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_2_10841"
  },
  {
    "question": "What is H3?",
    "answer": "T h i s   i s   i n   a n   H 3   s e c t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_3_10842"
  },
  {
    "question": "What is H4?",
    "answer": "T h i s   i s   i n   a n   H 4   s e c t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_4_10843"
  },
  {
    "question": "What is H5?",
    "answer": "T h i s   i s   i n   a n   H 5   s e c t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_5_10844"
  },
  {
    "question": "What is H6?",
    "answer": "T h i s   i s   i n   a n   H 6   s e c t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_6_10845"
  },
  {
    "question": "What is Inline elements?",
    "answer": "I n l i n e   e l e m e n t s   s h o w   u p   w i t h i n   t h e   t e x t   o f   p a r a g r a p h ,   l i s t   i t e m ,   a d m o n i t i o n ,   o r   o t h e r   b l o c k - l e v e l   e l e m e n t .   L o r e m   i p s u m   d o l o r   s i t   a m e t ,   c o n s e c t e t u r   a d i p i s i c i n g   e l i t ,   s e d   d o   e i u s m o d   t e m p o r   i n c i d i d u n t   u t   l a b o r e   e t   d o l o r e   m a g n a   a l i q u a .   U t   e n i m   a d   m i n i m   v e n i a m ,   q u i s   n o s t r u d   e x e r c i t a t i o n   u l l a m c o   l a b o r i s   n i s i   u t   a l i q u i p   e x   e a   c o m m o d o   c o n s e q u a t .   D u i s   a u t e   i r u r e   d o l o r   i n   r e p r e h e n d e r i t   i n   v o l u p t a t e   v e l i t   e s s e   c i l l u m   d o l o r e   e u   f u g i a t   n u l l a   p a r i a t u r .   E x c e p t e u r   s i n t   o c c a e c a t   c u p i d a t a t   n o n   p r o i d e n t ,   s u n t   i n   c u l p a   q u i   o f f i c i a   d e s e r u n t   m o l l i t   a n i m   i d   e s t   l a b o r u m .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_2_10846"
  },
  {
    "question": "What is Inline text styles?",
    "answer": "Y o u   c a n   u s e   d i f f e r e n t   t e x t   s t y l e s   i n   m a r k d o w n   l i k e :   -   * * b o l d * *   -   _ i t a l i c _   -   * * * b o l d   i t a l i c * * *   -   ~ ~ s t r i k e t h r o u g h ~ ~   -   < u > u n d e r l i n e < / u >   -   _ < u > u n d e r l i n e   i t a l i c < / u > _   -   * * < u > u n d e r l i n e   b o l d < / u > * *   -   * * * < u > u n d e r l i n e   b o l d   i t a l i c < / u > * * *   -   ` m o n o s p a c e   t e x t `   -   * * ` m o n o s p a c e   b o l d ` * *   P r o d u c e s :   b o l d i t a l i c b o l d   i t a l i c s t r i k e t h r o u g h u n d e r l i n e u n d e r l i n e   i t a l i c u n d e r l i n e   b o l d u n d e r l i n e   b o l d   i t a l i c m o n o s p a c e   t e x t m o n o s p a c e   b o l d",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_3_10847"
  },
  {
    "question": "What is Lists?",
    "answer": "M a r k d o w n   d o e s n ' t   h a v e   s t r i c t   r u l e s   a b o u t   h o w   t o   p r o c e s s   l i s t s .   W h e n   w e   m o v e d   f r o m   J e k y l l   t o   H u g o ,   w e   b r o k e   s o m e   l i s t s .   T o   f i x   t h e m ,   k e e p   t h e   f o l l o w i n g   i n   m i n d :   M a k e   s u r e   y o u   i n d e n t   s u b - l i s t   i t e m s   2   s p a c e s . T o   e n d   a   l i s t   a n d   s t a r t   a n o t h e r ,   y o u   n e e d   a n   H T M L   c o m m e n t   b l o c k   o n   a   n e w   l i n e   b e t w e e n   t h e   l i s t s ,   f l u s h   w i t h   t h e   l e f t - h a n d   b o r d e r .   T h e   f i r s t   l i s t   w o n ' t   e n d   o t h e r w i s e ,   n o   m a t t e r   h o w   m a n y   b l a n k   l i n e s   y o u   p u t   b e t w e e n   i t   a n d   t h e   s e c o n d .   M a k e   s u r e   y o u   i n d e n t   s u b - l i s t   i t e m s   2   s p a c e s .   T o   e n d   a   l i s t   a n d   s t a r t   a n o t h e r ,   y o u   n e e d   a n   H T M L   c o m m e n t   b l o c k   o n   a   n e w   l i n e   b e t w e e n   t h e   l i s t s ,   f l u s h   w i t h   t h e   l e f t - h a n d   b o r d e r .   T h e   f i r s t   l i s t   w o n ' t   e n d   o t h e r w i s e ,   n o   m a t t e r   h o w   m a n y   b l a n k   l i n e s   y o u   p u t   b e t w e e n   i t   a n d   t h e   s e c o n d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_2_10848"
  },
  {
    "question": "What is Bullet lists?",
    "answer": "Y o u   c a n   a d d   a   b u l l e t   l i s t   i n   m a r k d o w n   l i k e :   -   T h i s   i s   a   l i s t   i t e m .   *   T h i s   i s   a n o t h e r   l i s t   i t e m   i n   t h e   s a m e   l i s t .   -   Y o u   c a n   m i x   ` - `   a n d   ` * ` .   -   T o   m a k e   a   s u b - i t e m ,   i n d e n t   t w o   s p a c e s .   -   T h i s   i s   a   s u b - s u b - i t e m .   I n d e n t   t w o   m o r e   s p a c e s .   -   A n o t h e r   s u b - i t e m .   P r o d u c e s :   T h i s   i s   a   l i s t   i t e m .   T h i s   i s   a n o t h e r   l i s t   i t e m   i n   t h e   s a m e   l i s t .   Y o u   c a n   m i x   -   a n d   * . T o   m a k e   a   s u b - i t e m ,   i n d e n t   t w o   s p a c e s . T h i s   i s   a   s u b - s u b - i t e m .   I n d e n t   t w o   m o r e   s p a c e s . A n o t h e r   s u b - i t e m .   T o   m a k e   a   s u b - i t e m ,   i n d e n t   t w o   s p a c e s . T h i s   i s   a   s u b - s u b - i t e m .   I n d e n t   t w o   m o r e   s p a c e s . A n o t h e r   s u b - i t e m .   T h i s   i s   a   s u b - s u b - i t e m .   I n d e n t   t w o   m o r e   s p a c e s .   A l s o ,   T h i s   i s   a   n e w   l i s t .   W i t h   H u g o ,   y o u   n e e d   t o   u s e   a   H T M L   c o m m e n t   t o   s e p a r a t e   t w o   c o n s e c u t i v e   l i s t s .   T h e   H T M L   c o m m e n t   n e e d s   t o   b e   a t   t h e   l e f t   m a r g i n . B u l l e t   l i s t s   c a n   h a v e   p a r a g r a p h s   o r   b l o c k   e l e m e n t s   w i t h i n   t h e m . I n d e n t   t h e   c o n t e n t   t o   b e   t h e   s a m e   a s   t h e   f i r s t   l i n e   o f   t h e   b u l l e t   p o i n t .   T h i s   p a r a g r a p h   a n d   t h e   c o d e   b l o c k   l i n e   u p   w i t h   t h e   f i r s t   B   i n   B u l l e t   a b o v e . l s   - l   A n d   a   s u b - l i s t   a f t e r   s o m e   b l o c k - ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_3_10849"
  },
  {
    "question": "What is Numbered lists?",
    "answer": "T h i s   i s   a   l i s t   i t e m . T h i s   i s   a n o t h e r   l i s t   i t e m   i n   t h e   s a m e   l i s t .   T h e   n u m b e r   y o u   u s e   i n   M a r k d o w n   d o e s   n o t   n e c e s s a r i l y   c o r r e l a t e   t o   t h e   n u m b e r   i n   t h e   f i n a l   o u t p u t .   B y   c o n v e n t i o n ,   w e   k e e p   t h e m   i n   s y n c .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_3_10850"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   i s   a   n e w   l i s t .   W i t h   H u g o ,   y o u   n e e d   t o   u s e   a n   H T M L   c o m m e n t   t o   s e p a r a t e   t w o   c o n s e c u t i v e   l i s t s .   T h e   H T M L   c o m m e n t   n e e d s   t o   b e   a t   t h e   l e f t   m a r g i n . N u m b e r e d   l i s t s   c a n   h a v e   p a r a g r a p h s   o r   b l o c k   e l e m e n t s   w i t h i n   t h e m . I n d e n t   t h e   c o n t e n t   t o   b e   t h e   s a m e   a s   t h e   f i r s t   l i n e   o f   t h e   b u l l e t   p o i n t .   T h i s   p a r a g r a p h   a n d   t h e   c o d e   b l o c k   l i n e   u p   w i t h   t h e   N   i n   N u m b e r e d   a b o v e . l s   - l   A n d   a   s u b - l i s t   a f t e r   s o m e   b l o c k - l e v e l   c o n t e n t .   T h i s   i s   a t   t h e   s a m e   \" l e v e l \"   a s   t h e   p a r a g r a p h   a n d   c o d e   b l o c k   a b o v e ,   d e s p i t e   b e i n g   i n d e n t e d   m o r e .   T h i s   i s   a   n e w   l i s t .   W i t h   H u g o ,   y o u   n e e d   t o   u s e   a n   H T M L   c o m m e n t   t o   s e p a r a t e   t w o   c o n s e c u t i v e   l i s t s .   T h e   H T M L   c o m m e n t   n e e d s   t o   b e   a t   t h e   l e f t   m a r g i n .   N u m b e r e d   l i s t s   c a n   h a v e   p a r a g r a p h s   o r   b l o c k   e l e m e n t s   w i t h i n   t h e m .   I n d e n t   t h e   c o n t e n t   t o   b e   t h e   s a m e   a s   t h e   f i r s t   l i n e   o f   t h e   b u l l e t   p o i n t .   T h i s   p a r a g r a p h   a n d   t h e   c o d e   b l o c k   l i n e   u p   w i t h   t h e   N   i n   N u m b e r e d   a b o v e .   l s   - l   A n d   a   s u b - l i s t   a f t e r   s o m e   b l o c k - l e v e l   c o n t e n t .   T h i s   i s   a t   t h e   s a m e   \" l e v e l \"   a s   t h e   p a r a g r a p h   a n d   c o d e   b l o c k   a b o v e ,   d e s p i t e   b e i n g   i n d e ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_4_10851"
  },
  {
    "question": "What is Tab lists?",
    "answer": "T a b   l i s t s   c a n   b e   u s e d   t o   c o n d i t i o n a l l y   d i s p l a y   c o n t e n t ,   e . g . ,   w h e n   m u l t i p l e   o p t i o n s   m u s t   b e   d o c u m e n t e d   t h a t   r e q u i r e   d i s t i n c t   i n s t r u c t i o n s   o r   c o n t e x t .   P l e a s e   s e l e c t   a n   o p t i o n .   P l e a s e   s e l e c t   a n   o p t i o n .   T a b s   m a y   a l s o   n e s t   f o r m a t t i n g   s t y l e s . O r d e r e d ( O r   u n o r d e r e d ) L i s t s e c h o   ' T a b   l i s t s   m a y   c o n t a i n   c o d e   b l o c k s ! '   T a b s   m a y   a l s o   n e s t   f o r m a t t i n g   s t y l e s .   O r d e r e d ( O r   u n o r d e r e d ) L i s t s   e c h o   ' T a b   l i s t s   m a y   c o n t a i n   c o d e   b l o c k s ! '   H e a d e r   w i t h i n   a   t a b   l i s t N e s t e d   h e a d e r   t a g s   m a y   a l s o   b e   i n c l u d e d . W a r n i n g : H e a d e r s   w i t h i n   t a b   l i s t s   w i l l   n o t   a p p e a r   i n   t h e   T a b l e   o f   C o n t e n t s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_3_10852"
  },
  {
    "question": "What is Header within a tab list?",
    "answer": "N e s t e d   h e a d e r   t a g s   m a y   a l s o   b e   i n c l u d e d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_3_10853"
  },
  {
    "question": "What is Checklists?",
    "answer": "C h e c k l i s t s   a r e   t e c h n i c a l l y   b u l l e t   l i s t s ,   b u t   t h e   b u l l e t s   a r e   s u p p r e s s e d   b y   C S S .   T h i s   i s   a   c h e c k l i s t   i t e m   T h i s   i s   a   s e l e c t e d   c h e c k l i s t   i t e m",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_3_10854"
  },
  {
    "question": "What is Code blocks?",
    "answer": "Y o u   c a n   c r e a t e   c o d e   b l o c k s   t w o   d i f f e r e n t   w a y s   b y   s u r r o u n d i n g   t h e   c o d e   b l o c k   w i t h   t h r e e   b a c k - t i c k   c h a r a c t e r s   o n   l i n e s   b e f o r e   a n d   a f t e r   t h e   c o d e   b l o c k .   O n l y   u s e   b a c k - t i c k s   ( c o d e   f e n c e s )   f o r   c o d e   b l o c k s .   T h i s   a l l o w s   y o u   t o   s p e c i f y   t h e   l a n g u a g e   o f   t h e   e n c l o s e d   c o d e ,   w h i c h   e n a b l e s   s y n t a x   h i g h l i g h t i n g .   I t   i s   a l s o   m o r e   p r e d i c t a b l e   t h a n   u s i n g   i n d e n t a t i o n .   t h i s   i s   a   c o d e   b l o c k   c r e a t e d   b y   b a c k - t i c k s   T h e   b a c k - t i c k   m e t h o d   h a s   s o m e   a d v a n t a g e s .   I t   w o r k s   n e a r l y   e v e r y   t i m e . I t   i s   m o r e   c o m p a c t   w h e n   v i e w i n g   t h e   s o u r c e   c o d e . I t   a l l o w s   y o u   t o   s p e c i f y   w h a t   l a n g u a g e   t h e   c o d e   b l o c k   i s   i n ,   f o r   s y n t a x   h i g h l i g h t i n g . I t   h a s   a   d e f i n i t e   e n d i n g .   S o m e t i m e s ,   t h e   i n d e n t a t i o n   m e t h o d   b r e a k s   w i t h   l a n g u a g e s   w h e r e   s p a c i n g   i s   s i g n i f i c a n t ,   l i k e   P y t h o n   o r   Y A M L .   T o   s p e c i f y   t h e   l a n g u a g e   f o r   t h e   c o d e   b l o c k ,   p u t   i t   d i r e c t l y   a f t e r   t h e   f i r s t   g r o u p i n g   o f   b a c k - t i c k s :   l s   - l   C o m m o n   l a n g u a g e s   u s e d   i n   K u b e r n e t e s   d o c u m e n t a t i o n   c o d e   b l o c k s   i n c l u d e :   b a s h   /   s h e l l   ( b o t h   w o r k   t h e   s a m e ) g o j s o n y a m l x m l n o n e   ( d i s a b l e s   s y n t a x   h i g h l i g h t i n g   f o r   t h e   b l o c k )",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_2_10855"
  },
  {
    "question": "What is Code blocks containing Hugo shortcodes?",
    "answer": "T o   s h o w   r a w   H u g o   s h o r t c o d e s   a s   i n   t h e   a b o v e   e x a m p l e   a n d   p r e v e n t   H u g o   f r o m   i n t e r p r e t i n g   t h e m ,   u s e   C - s t y l e   c o m m e n t s   d i r e c t l y   a f t e r   t h e   <   a n d   b e f o r e   t h e   >   c h a r a c t e r s .   T h e   f o l l o w i n g   e x a m p l e   i l l u s t r a t e s   t h i s   ( v i e w   t h e   M a r k d o w n   s o u r c e   f o r   t h i s   p a g e ) .   { { <   a l e r t   c o l o r = \" w a r n i n g \"   > } } T h i s   i s   a   w a r n i n g . { { <   / a l e r t   > } }",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_3_10856"
  },
  {
    "question": "What is Links?",
    "answer": "T o   f o r m a t   a   l i n k ,   p u t   t h e   l i n k   t e x t   i n s i d e   s q u a r e   b r a c k e t s ,   f o l l o w e d   b y   t h e   l i n k   t a r g e t   i n   p a r e n t h e s e s .   [ L i n k   t o   K u b e r n e t e s . i o ] ( h t t p s : / / k u b e r n e t e s . i o / )   o r [ R e l a t i v e   l i n k   t o   K u b e r n e t e s . i o ] ( / )   Y o u   c a n   a l s o   u s e   H T M L ,   b u t   i t   i s   n o t   p r e f e r r e d .   F o r   e x a m p l e ,   < a   h r e f = \" h t t p s : / / k u b e r n e t e s . i o / \" > L i n k   t o   K u b e r n e t e s . i o < / a > .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_2_10857"
  },
  {
    "question": "What is Images?",
    "answer": "T o   f o r m a t   a n   i m a g e ,   u s e   s i m i l a r   s y n t a x   t o   l i n k s ,   b u t   a d d   a   l e a d i n g   !   c h a r a c t e r .   T h e   s q u a r e   b r a c k e t s   c o n t a i n   t h e   i m a g e ' s   a l t   t e x t .   T r y   t o   a l w a y s   u s e   a l t   t e x t   s o   t h a t   p e o p l e   u s i n g   s c r e e n   r e a d e r s   c a n   g e t   s o m e   b e n e f i t   f r o m   t h e   i m a g e .   ! [ p e n c i l   i c o n ] ( / i m a g e s / p e n c i l . p n g )   P r o d u c e s :   T o   s p e c i f y   e x t e n d e d   a t t r i b u t e s ,   s u c h   a s   w i d t h ,   t i t l e ,   c a p t i o n ,   e t c ,   u s e   t h e   f i g u r e   s h o r t c o d e ,   w h i c h   i s   p r e f e r r e d   t o   u s i n g   a   H T M L   < i m g >   t a g .   A l s o ,   i f   y o u   n e e d   t h e   i m a g e   t o   a l s o   b e   a   h y p e r l i n k ,   u s e   t h e   l i n k   a t t r i b u t e ,   r a t h e r   t h a n   w r a p p i n g   t h e   w h o l e   f i g u r e   i n   M a r k d o w n   l i n k   s y n t a x   a s   s h o w n   b e l o w .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_2_10858"
  },
  {
    "question": "What is Pencil icon?",
    "answer": "A n   i m a g e   u s e d   t o   i l l u s t r a t e   t h e   f i g u r e   s h o r t c o d e   E v e n   i f   y o u   c h o o s e   n o t   t o   u s e   t h e   f i g u r e   s h o r t c o d e ,   a n   i m a g e   c a n   a l s o   b e   a   l i n k .   T h i s   t i m e   t h e   p e n c i l   i c o n   l i n k s   t o   t h e   K u b e r n e t e s   w e b s i t e .   O u t e r   s q u a r e   b r a c k e t s   e n c l o s e   t h e   e n t i r e   i m a g e   t a g ,   a n d   t h e   l i n k   t a r g e t   i s   i n   t h e   p a r e n t h e s e s   a t   t h e   e n d .   [ ! [ p e n c i l   i c o n ] ( / i m a g e s / p e n c i l . p n g ) ] ( h t t p s : / / k u b e r n e t e s . i o )   P r o d u c e s :   Y o u   c a n   a l s o   u s e   H T M L   f o r   i m a g e s ,   b u t   i t   i s   n o t   p r e f e r r e d .   < i m g   s r c = \" / i m a g e s / p e n c i l . p n g \"   a l t = \" p e n c i l   i c o n \"   / >   P r o d u c e s :",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_4_10859"
  },
  {
    "question": "What is Tables?",
    "answer": "S i m p l e   t a b l e s   h a v e   o n e   r o w   p e r   l i n e ,   a n d   c o l u m n s   a r e   s e p a r a t e d   b y   |   c h a r a c t e r s .   T h e   h e a d e r   i s   s e p a r a t e d   f r o m   t h e   b o d y   b y   c e l l s   c o n t a i n i n g   n o t h i n g   b u t   a t   l e a s t   t h r e e   -   c h a r a c t e r s .   F o r   e a s e   o f   m a i n t e n a n c e ,   t r y   t o   k e e p   a l l   t h e   c e l l   s e p a r a t o r s   e v e n ,   e v e n   i f   y o u   h e e d   t o   u s e   e x t r a   s p a c e .   T h e   h e a d e r   i s   o p t i o n a l .   A n y   t e x t   s e p a r a t e d   b y   |   w i l l   r e n d e r   a s   a   t a b l e .   M a r k d o w n   t a b l e s   h a v e   a   h a r d   t i m e   w i t h   b l o c k - l e v e l   e l e m e n t s   w i t h i n   c e l l s ,   s u c h   a s   l i s t   i t e m s ,   c o d e   b l o c k s ,   o r   m u l t i p l e   p a r a g r a p h s .   F o r   c o m p l e x   o r   v e r y   w i d e   t a b l e s ,   u s e   H T M L   i n s t e a d .   < t a b l e >   < t h e a d >   < t r >   < t h > H e a d i n g   c e l l   1 < / t h >   < t h > H e a d i n g   c e l l   2 < / t h >   < / t r >   < / t h e a d >   < t b o d y >   < t r >   < t d > B o d y   c e l l   1 < / t d >   < t d > B o d y   c e l l   2 < / t d >   < / t r >   < / t b o d y >   < / t a b l e >   P r o d u c e s :",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_2_10860"
  },
  {
    "question": "What is Visualizations with Mermaid?",
    "answer": "Y o u   c a n   u s e   M e r m a i d   J S   v i s u a l i z a t i o n s .   T h e   M e r m a i d   J S   v e r s i o n   i s   s p e c i f i e d   i n   / l a y o u t s / p a r t i a l s / h e a d . h t m l   { { <   m e r m a i d   > } }   g r a p h   T D ;   A - - > B ;   A - - > C ;   B - - > D ;   C - - > D ;   { { < /   m e r m a i d   > } }   P r o d u c e s :   { { <   m e r m a i d   > } }   s e q u e n c e D i a g r a m   A l i c e   - > >   B o b :   H e l l o   B o b ,   h o w   a r e   y o u ?   B o b - - > > J o h n :   H o w   a b o u t   y o u   J o h n ?   B o b - - x   A l i c e :   I   a m   g o o d   t h a n k s !   B o b - x   J o h n :   I   a m   g o o d   t h a n k s !   N o t e   r i g h t   o f   J o h n :   B o b   t h i n k s   a   l o n g < b r / > l o n g   t i m e ,   s o   l o n g < b r / > t h a t   t h e   t e x t   d o e s < b r / > n o t   f i t   o n   a   r o w .   B o b - - > A l i c e :   C h e c k i n g   w i t h   J o h n . . .   A l i c e - > J o h n :   Y e s . . .   J o h n ,   h o w   a r e   y o u ?   { { < /   m e r m a i d   > } }   P r o d u c e s :   Y o u   c a n   c h e c k   m o r e   e x a m p l e s   f r o m   t h e   o f f i c i a l   d o c s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_2_10861"
  },
  {
    "question": "What is Sidebars and Admonitions?",
    "answer": "S i d e b a r s   a n d   a d m o n i t i o n s   p r o v i d e   w a y s   t o   a d d   v i s u a l   i m p o r t a n c e   t o   t e x t .   U s e   t h e m   s p a r i n g l y .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_2_10862"
  },
  {
    "question": "What is Sidebars?",
    "answer": "A   s i d e b a r   o f f s e t s   t e x t   v i s u a l l y ,   b u t   w i t h o u t   t h e   v i s u a l   p r o m i n e n c e   o f   a d m o n i t i o n s .   T h i s   i s   a   s i d e b a r .   Y o u   c a n   h a v e   p a r a g r a p h s   a n d   b l o c k - l e v e l   e l e m e n t s   w i t h i n   a   s i d e b a r .   Y o u   c a n   e v e n   h a v e   c o d e   b l o c k s .   s u d o   d m e s g",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_3_10863"
  },
  {
    "question": "What is Admonitions?",
    "answer": "A d m o n i t i o n s   ( n o t e s ,   w a r n i n g s ,   e t c )   u s e   H u g o   s h o r t c o d e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_3_10864"
  },
  {
    "question": "What is Note:?",
    "answer": "N o t e s   c a t c h   t h e   r e a d e r ' s   a t t e n t i o n   w i t h o u t   a   s e n s e   o f   u r g e n c y .   Y o u   c a n   h a v e   m u l t i p l e   p a r a g r a p h s   a n d   b l o c k - l e v e l   e l e m e n t s   i n s i d e   a n   a d m o n i t i o n .   Y o u   c a n   a l s o   a d d   t a b l e s   t o   o r g a n i z e   a n d   h i g h l i g h t   k e y   i n f o r m a t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_4_10865"
  },
  {
    "question": "What is Includes?",
    "answer": "T o   a d d   s h o r t c o d e s   t o   i n c l u d e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_2_10866"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/test/",
    "id": "k8s_00572_section_4_10867"
  },
  {
    "question": "What is Security For Linux Nodes?",
    "answer": "Security For Linux NodesThis page describes security considerations and best practices specific to the Linux operating system.Protection for Secret data on nodesOn Linux nodes, memory-backed volumes (such as secret volume mounts, or emptyDir with medium: Memory) are implemented with a tmpfs filesystem.If you have swap configured and use an older Linux kernel (or a current kernel and an unsupported configuration of Kubernetes), memory backed volumes can have data written to persistent storage.The Linux kernel officially supports the noswap option from version 6.3, therefore it is recommended the used kernel version is 6.3 or later, or supports the noswap option via a backport, if swap is enabled on the node.Read swap memory management for more info.",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/linux-security/",
    "id": "k8s_00573_qa_10868"
  },
  {
    "question": "How does Security For Linux Nodes work?",
    "answer": "Security For Linux NodesThis page describes security considerations and best practices specific to the Linux operating system.Protection for Secret data on nodesOn Linux nodes, memory-backed volumes (such as secret volume mounts, or emptyDir with medium: Memory) are implemented with a tmpfs filesystem.If you have swap configured and use an older Linux kernel (or a current kernel and an unsupported configuration of Kubernetes), memory backed volumes can have data written to persistent storage.The Linux kernel officially supports the noswap option from version 6.3, therefore it is recommended the used kernel version is 6.3 or later, or supports the noswap option via a backport, if swap is enabled on the node.Read swap memory management for more info.",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/linux-security/",
    "id": "k8s_00573_qa_10869"
  },
  {
    "question": "When would you use Security For Linux Nodes?",
    "answer": "Security For Linux NodesThis page describes security considerations and best practices specific to the Linux operating system.Protection for Secret data on nodesOn Linux nodes, memory-backed volumes (such as secret volume mounts, or emptyDir with medium: Memory) are implemented with a tmpfs filesystem.If you have swap configured and use an older Linux kernel (or a current kernel and an unsupported configuration of Kubernetes), memory backed volumes can have data written to persistent storage.The Linux kernel officially supports the noswap option from version 6.3, therefore it is recommended the used kernel version is 6.3 or later, or supports the noswap option via a backport, if swap is enabled on the node.Read swap memory management for more info.",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/linux-security/",
    "id": "k8s_00573_qa_10870"
  },
  {
    "question": "What are the benefits of Security For Linux Nodes?",
    "answer": "Security For Linux NodesThis page describes security considerations and best practices specific to the Linux operating system.Protection for Secret data on nodesOn Linux nodes, memory-backed volumes (such as secret volume mounts, or emptyDir with medium: Memory) are implemented with a tmpfs filesystem.If you have swap configured and use an older Linux kernel (or a current kernel and an unsupported configuration of Kubernetes), memory backed volumes can have data written to persistent storage.The Linux kernel officially supports the noswap option from version 6.3, therefore it is recommended the used kernel version is 6.3 or later, or supports the noswap option via a backport, if swap is enabled on the node.Read swap memory management for more info.",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/linux-security/",
    "id": "k8s_00573_qa_10871"
  },
  {
    "question": "What is Security For Linux Nodes?",
    "answer": "T h i s   p a g e   d e s c r i b e s   s e c u r i t y   c o n s i d e r a t i o n s   a n d   b e s t   p r a c t i c e s   s p e c i f i c   t o   t h e   L i n u x   o p e r a t i n g   s y s t e m .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/linux-security/",
    "id": "k8s_00573_section_1_10872"
  },
  {
    "question": "What is Protection for Secret data on nodes?",
    "answer": "O n   L i n u x   n o d e s ,   m e m o r y - b a c k e d   v o l u m e s   ( s u c h   a s   s e c r e t   v o l u m e   m o u n t s ,   o r   e m p t y D i r   w i t h   m e d i u m :   M e m o r y )   a r e   i m p l e m e n t e d   w i t h   a   t m p f s   f i l e s y s t e m .   I f   y o u   h a v e   s w a p   c o n f i g u r e d   a n d   u s e   a n   o l d e r   L i n u x   k e r n e l   ( o r   a   c u r r e n t   k e r n e l   a n d   a n   u n s u p p o r t e d   c o n f i g u r a t i o n   o f   K u b e r n e t e s ) ,   m e m o r y   b a c k e d   v o l u m e s   c a n   h a v e   d a t a   w r i t t e n   t o   p e r s i s t e n t   s t o r a g e .   T h e   L i n u x   k e r n e l   o f f i c i a l l y   s u p p o r t s   t h e   n o s w a p   o p t i o n   f r o m   v e r s i o n   6 . 3 ,   t h e r e f o r e   i t   i s   r e c o m m e n d e d   t h e   u s e d   k e r n e l   v e r s i o n   i s   6 . 3   o r   l a t e r ,   o r   s u p p o r t s   t h e   n o s w a p   o p t i o n   v i a   a   b a c k p o r t ,   i f   s w a p   i s   e n a b l e d   o n   t h e   n o d e .   R e a d   s w a p   m e m o r y   m a n a g e m e n t   f o r   m o r e   i n f o .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/linux-security/",
    "id": "k8s_00573_section_2_10873"
  },
  {
    "question": "What is Adding Windows worker nodes?",
    "answer": "Adding Windows worker nodesFEATURE STATE: Kubernetes v1.18 [beta]This page explains how to add Windows worker nodes to a kubeadm cluster.Before you beginA running Windows Server 2022 (or higher) instance with administrative access.A running kubeadm cluster created by kubeadm init and following the steps in the document Creating a cluster with kubeadm.Adding Windows worker nodesNote:To facilitate the addition of Windows worker nodes to a cluster, PowerShell scripts from the repository https://sigs.k8s.io/sig-windows-tools are used.Do the following for each machine:Open a PowerShell session on the machine.Make sure you are Administrator or a privileged user.Then proceed with the steps outlined below.Install containerdNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.To install containerd, first run the following command:curl.exe -LO https://raw.githubusercontent.com/kubernetes-sigs/sig-windows-tools/master/hostprocess/Install-Containerd.ps1 Then run the following command, but first replace CONTAINERD_VERSION with a recent release from the containerd repository. The version must not have a v prefix. For example, use 1.7.22 instead of v1.7.22:.\\Install-Containerd.ps1 -ContainerDVersion CONTAINERD_VERSION Adjust any other parameters for Install-Containerd.ps1 such as netAdapterName as you need them.Set skipHypervisorSupportCheck if your machine does not support Hyper-V and cannot host Hyper-V isolated containers.If you change the Install-Containerd.ps1 optional parameters CNIBinPath and/or CNIConfigPath you will need to configure the installed Windows CNI plugin with matching values.Install kubeadm and kubeletRun the following commands to install kubeadm and the kubelet:curl.exe -LO https://raw.githubusercontent.com/kubernetes-sigs/sig-windows-tools/master/hostprocess/PrepareNode.ps1 .\\PrepareNode.ps1 -KubernetesVersion v1.34 Adjust the parameter KubernetesVersion of PrepareNode.ps1 if needed.Run kubeadm joinRun the command that was output by kubeadm init. For example:kubeadm join --token <token> <control-plane-host>:<control-plane-port> --discovery-token-ca-cert-hash sha256:<hash> Additional information about kubeadm joinNote:To specify an IPv6 tuple for <control-plane-host>:<control-plane-port>, IPv6 address must be enclosed in square brackets, for example: [2001:db8::101]:2073.If you do not have the token, you can get it by running the following command on the control plane node:# Run this on a control plane node sudo kubeadm token list The output is similar to this:TOKEN TTL EXPIRES USAGES DESCRIPTION EXTRA GROUPS 8ewj1p.9r9hcjoqgajrj4gi 23h 2018-06-12T02:51:28Z authentication, The default bootstrap system: signing token generated by bootstrappers: 'kubeadm init'. kubeadm: default-node-token By defau",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes/",
    "id": "k8s_00574_qa_10874"
  },
  {
    "question": "How does Adding Windows worker nodes work?",
    "answer": "Adding Windows worker nodesFEATURE STATE: Kubernetes v1.18 [beta]This page explains how to add Windows worker nodes to a kubeadm cluster.Before you beginA running Windows Server 2022 (or higher) instance with administrative access.A running kubeadm cluster created by kubeadm init and following the steps in the document Creating a cluster with kubeadm.Adding Windows worker nodesNote:To facilitate the addition of Windows worker nodes to a cluster, PowerShell scripts from the repository https://sigs.k8s.io/sig-windows-tools are used.Do the following for each machine:Open a PowerShell session on the machine.Make sure you are Administrator or a privileged user.Then proceed with the steps outlined below.Install containerdNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.To install containerd, first run the following command:curl.exe -LO https://raw.githubusercontent.com/kubernetes-sigs/sig-windows-tools/master/hostprocess/Install-Containerd.ps1 Then run the following command, but first replace CONTAINERD_VERSION with a recent release from the containerd repository. The version must not have a v prefix. For example, use 1.7.22 instead of v1.7.22:.\\Install-Containerd.ps1 -ContainerDVersion CONTAINERD_VERSION Adjust any other parameters for Install-Containerd.ps1 such as netAdapterName as you need them.Set skipHypervisorSupportCheck if your machine does not support Hyper-V and cannot host Hyper-V isolated containers.If you change the Install-Containerd.ps1 optional parameters CNIBinPath and/or CNIConfigPath you will need to configure the installed Windows CNI plugin with matching values.Install kubeadm and kubeletRun the following commands to install kubeadm and the kubelet:curl.exe -LO https://raw.githubusercontent.com/kubernetes-sigs/sig-windows-tools/master/hostprocess/PrepareNode.ps1 .\\PrepareNode.ps1 -KubernetesVersion v1.34 Adjust the parameter KubernetesVersion of PrepareNode.ps1 if needed.Run kubeadm joinRun the command that was output by kubeadm init. For example:kubeadm join --token <token> <control-plane-host>:<control-plane-port> --discovery-token-ca-cert-hash sha256:<hash> Additional information about kubeadm joinNote:To specify an IPv6 tuple for <control-plane-host>:<control-plane-port>, IPv6 address must be enclosed in square brackets, for example: [2001:db8::101]:2073.If you do not have the token, you can get it by running the following command on the control plane node:# Run this on a control plane node sudo kubeadm token list The output is similar to this:TOKEN TTL EXPIRES USAGES DESCRIPTION EXTRA GROUPS 8ewj1p.9r9hcjoqgajrj4gi 23h 2018-06-12T02:51:28Z authentication, The default bootstrap system: signing token generated by bootstrappers: 'kubeadm init'. kubeadm: default-node-token By defau",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes/",
    "id": "k8s_00574_qa_10875"
  },
  {
    "question": "When would you use Adding Windows worker nodes?",
    "answer": "Adding Windows worker nodesFEATURE STATE: Kubernetes v1.18 [beta]This page explains how to add Windows worker nodes to a kubeadm cluster.Before you beginA running Windows Server 2022 (or higher) instance with administrative access.A running kubeadm cluster created by kubeadm init and following the steps in the document Creating a cluster with kubeadm.Adding Windows worker nodesNote:To facilitate the addition of Windows worker nodes to a cluster, PowerShell scripts from the repository https://sigs.k8s.io/sig-windows-tools are used.Do the following for each machine:Open a PowerShell session on the machine.Make sure you are Administrator or a privileged user.Then proceed with the steps outlined below.Install containerdNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.To install containerd, first run the following command:curl.exe -LO https://raw.githubusercontent.com/kubernetes-sigs/sig-windows-tools/master/hostprocess/Install-Containerd.ps1 Then run the following command, but first replace CONTAINERD_VERSION with a recent release from the containerd repository. The version must not have a v prefix. For example, use 1.7.22 instead of v1.7.22:.\\Install-Containerd.ps1 -ContainerDVersion CONTAINERD_VERSION Adjust any other parameters for Install-Containerd.ps1 such as netAdapterName as you need them.Set skipHypervisorSupportCheck if your machine does not support Hyper-V and cannot host Hyper-V isolated containers.If you change the Install-Containerd.ps1 optional parameters CNIBinPath and/or CNIConfigPath you will need to configure the installed Windows CNI plugin with matching values.Install kubeadm and kubeletRun the following commands to install kubeadm and the kubelet:curl.exe -LO https://raw.githubusercontent.com/kubernetes-sigs/sig-windows-tools/master/hostprocess/PrepareNode.ps1 .\\PrepareNode.ps1 -KubernetesVersion v1.34 Adjust the parameter KubernetesVersion of PrepareNode.ps1 if needed.Run kubeadm joinRun the command that was output by kubeadm init. For example:kubeadm join --token <token> <control-plane-host>:<control-plane-port> --discovery-token-ca-cert-hash sha256:<hash> Additional information about kubeadm joinNote:To specify an IPv6 tuple for <control-plane-host>:<control-plane-port>, IPv6 address must be enclosed in square brackets, for example: [2001:db8::101]:2073.If you do not have the token, you can get it by running the following command on the control plane node:# Run this on a control plane node sudo kubeadm token list The output is similar to this:TOKEN TTL EXPIRES USAGES DESCRIPTION EXTRA GROUPS 8ewj1p.9r9hcjoqgajrj4gi 23h 2018-06-12T02:51:28Z authentication, The default bootstrap system: signing token generated by bootstrappers: 'kubeadm init'. kubeadm: default-node-token By defau",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes/",
    "id": "k8s_00574_qa_10876"
  },
  {
    "question": "What are the benefits of Adding Windows worker nodes?",
    "answer": "Adding Windows worker nodesFEATURE STATE: Kubernetes v1.18 [beta]This page explains how to add Windows worker nodes to a kubeadm cluster.Before you beginA running Windows Server 2022 (or higher) instance with administrative access.A running kubeadm cluster created by kubeadm init and following the steps in the document Creating a cluster with kubeadm.Adding Windows worker nodesNote:To facilitate the addition of Windows worker nodes to a cluster, PowerShell scripts from the repository https://sigs.k8s.io/sig-windows-tools are used.Do the following for each machine:Open a PowerShell session on the machine.Make sure you are Administrator or a privileged user.Then proceed with the steps outlined below.Install containerdNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.To install containerd, first run the following command:curl.exe -LO https://raw.githubusercontent.com/kubernetes-sigs/sig-windows-tools/master/hostprocess/Install-Containerd.ps1 Then run the following command, but first replace CONTAINERD_VERSION with a recent release from the containerd repository. The version must not have a v prefix. For example, use 1.7.22 instead of v1.7.22:.\\Install-Containerd.ps1 -ContainerDVersion CONTAINERD_VERSION Adjust any other parameters for Install-Containerd.ps1 such as netAdapterName as you need them.Set skipHypervisorSupportCheck if your machine does not support Hyper-V and cannot host Hyper-V isolated containers.If you change the Install-Containerd.ps1 optional parameters CNIBinPath and/or CNIConfigPath you will need to configure the installed Windows CNI plugin with matching values.Install kubeadm and kubeletRun the following commands to install kubeadm and the kubelet:curl.exe -LO https://raw.githubusercontent.com/kubernetes-sigs/sig-windows-tools/master/hostprocess/PrepareNode.ps1 .\\PrepareNode.ps1 -KubernetesVersion v1.34 Adjust the parameter KubernetesVersion of PrepareNode.ps1 if needed.Run kubeadm joinRun the command that was output by kubeadm init. For example:kubeadm join --token <token> <control-plane-host>:<control-plane-port> --discovery-token-ca-cert-hash sha256:<hash> Additional information about kubeadm joinNote:To specify an IPv6 tuple for <control-plane-host>:<control-plane-port>, IPv6 address must be enclosed in square brackets, for example: [2001:db8::101]:2073.If you do not have the token, you can get it by running the following command on the control plane node:# Run this on a control plane node sudo kubeadm token list The output is similar to this:TOKEN TTL EXPIRES USAGES DESCRIPTION EXTRA GROUPS 8ewj1p.9r9hcjoqgajrj4gi 23h 2018-06-12T02:51:28Z authentication, The default bootstrap system: signing token generated by bootstrappers: 'kubeadm init'. kubeadm: default-node-token By defau",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes/",
    "id": "k8s_00574_qa_10877"
  },
  {
    "question": "What is Adding Windows worker nodes?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   t o   a d d   W i n d o w s   w o r k e r   n o d e s   t o   a   k u b e a d m   c l u s t e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes/",
    "id": "k8s_00574_section_1_10878"
  },
  {
    "question": "What is Before you begin?",
    "answer": "A   r u n n i n g   W i n d o w s   S e r v e r   2 0 2 2   ( o r   h i g h e r )   i n s t a n c e   w i t h   a d m i n i s t r a t i v e   a c c e s s . A   r u n n i n g   k u b e a d m   c l u s t e r   c r e a t e d   b y   k u b e a d m   i n i t   a n d   f o l l o w i n g   t h e   s t e p s   i n   t h e   d o c u m e n t   C r e a t i n g   a   c l u s t e r   w i t h   k u b e a d m .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes/",
    "id": "k8s_00574_section_2_10879"
  },
  {
    "question": "What is Note:?",
    "answer": "D o   t h e   f o l l o w i n g   f o r   e a c h   m a c h i n e :   O p e n   a   P o w e r S h e l l   s e s s i o n   o n   t h e   m a c h i n e . M a k e   s u r e   y o u   a r e   A d m i n i s t r a t o r   o r   a   p r i v i l e g e d   u s e r .   T h e n   p r o c e e d   w i t h   t h e   s t e p s   o u t l i n e d   b e l o w .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes/",
    "id": "k8s_00574_section_4_10880"
  },
  {
    "question": "What is Install containerd?",
    "answer": "T o   i n s t a l l   c o n t a i n e r d ,   f i r s t   r u n   t h e   f o l l o w i n g   c o m m a n d :   c u r l . e x e   - L O   h t t p s : / / r a w . g i t h u b u s e r c o n t e n t . c o m / k u b e r n e t e s - s i g s / s i g - w i n d o w s - t o o l s / m a s t e r / h o s t p r o c e s s / I n s t a l l - C o n t a i n e r d . p s 1   T h e n   r u n   t h e   f o l l o w i n g   c o m m a n d ,   b u t   f i r s t   r e p l a c e   C O N T A I N E R D _ V E R S I O N   w i t h   a   r e c e n t   r e l e a s e   f r o m   t h e   c o n t a i n e r d   r e p o s i t o r y .   T h e   v e r s i o n   m u s t   n o t   h a v e   a   v   p r e f i x .   F o r   e x a m p l e ,   u s e   1 . 7 . 2 2   i n s t e a d   o f   v 1 . 7 . 2 2 :   . \\ I n s t a l l - C o n t a i n e r d . p s 1   - C o n t a i n e r D V e r s i o n   C O N T A I N E R D _ V E R S I O N   A d j u s t   a n y   o t h e r   p a r a m e t e r s   f o r   I n s t a l l - C o n t a i n e r d . p s 1   s u c h   a s   n e t A d a p t e r N a m e   a s   y o u   n e e d   t h e m . S e t   s k i p H y p e r v i s o r S u p p o r t C h e c k   i f   y o u r   m a c h i n e   d o e s   n o t   s u p p o r t   H y p e r - V   a n d   c a n n o t   h o s t   H y p e r - V   i s o l a t e d   c o n t a i n e r s . I f   y o u   c h a n g e   t h e   I n s t a l l - C o n t a i n e r d . p s 1   o p t i o n a l   p a r a m e t e r s   C N I B i n P a t h   a n d / o r   C N I C o n f i g P a t h   y o u   w i l l   n e e d   t o   c o n f i g u r e   t h e   i n s t a l l e d   W i n d o w s   C N I   p l u g i n   w i t h   m a t c h i n g   v a l u e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes/",
    "id": "k8s_00574_section_3_10881"
  },
  {
    "question": "What is Install kubeadm and kubelet?",
    "answer": "R u n   t h e   f o l l o w i n g   c o m m a n d s   t o   i n s t a l l   k u b e a d m   a n d   t h e   k u b e l e t :   c u r l . e x e   - L O   h t t p s : / / r a w . g i t h u b u s e r c o n t e n t . c o m / k u b e r n e t e s - s i g s / s i g - w i n d o w s - t o o l s / m a s t e r / h o s t p r o c e s s / P r e p a r e N o d e . p s 1   . \\ P r e p a r e N o d e . p s 1   - K u b e r n e t e s V e r s i o n   v 1 . 3 4   A d j u s t   t h e   p a r a m e t e r   K u b e r n e t e s V e r s i o n   o f   P r e p a r e N o d e . p s 1   i f   n e e d e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes/",
    "id": "k8s_00574_section_3_10882"
  },
  {
    "question": "What is Run kubeadm join?",
    "answer": "R u n   t h e   c o m m a n d   t h a t   w a s   o u t p u t   b y   k u b e a d m   i n i t .   F o r   e x a m p l e :   k u b e a d m   j o i n   - - t o k e n   < t o k e n >   < c o n t r o l - p l a n e - h o s t > : < c o n t r o l - p l a n e - p o r t >   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   s h a 2 5 6 : < h a s h >",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes/",
    "id": "k8s_00574_section_3_10883"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   d o   n o t   h a v e   t h e   t o k e n ,   y o u   c a n   g e t   i t   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d   o n   t h e   c o n t r o l   p l a n e   n o d e :   #   R u n   t h i s   o n   a   c o n t r o l   p l a n e   n o d e   s u d o   k u b e a d m   t o k e n   l i s t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   T O K E N   T T L   E X P I R E S   U S A G E S   D E S C R I P T I O N   E X T R A   G R O U P S   8 e w j 1 p . 9 r 9 h c j o q g a j r j 4 g i   2 3 h   2 0 1 8 - 0 6 - 1 2 T 0 2 : 5 1 : 2 8 Z   a u t h e n t i c a t i o n ,   T h e   d e f a u l t   b o o t s t r a p   s y s t e m :   s i g n i n g   t o k e n   g e n e r a t e d   b y   b o o t s t r a p p e r s :   ' k u b e a d m   i n i t ' .   k u b e a d m :   d e f a u l t - n o d e - t o k e n   B y   d e f a u l t ,   n o d e   j o i n   t o k e n s   e x p i r e   a f t e r   2 4   h o u r s .   I f   y o u   a r e   j o i n i n g   a   n o d e   t o   t h e   c l u s t e r   a f t e r   t h e   c u r r e n t   t o k e n   h a s   e x p i r e d ,   y o u   c a n   c r e a t e   a   n e w   t o k e n   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d   o n   t h e   c o n t r o l   p l a n e   n o d e :   #   R u n   t h i s   o n   a   c o n t r o l   p l a n e   n o d e   s u d o   k u b e a d m   t o k e n   c r e a t e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   5 d i d v k . d 0 9 s b c o v 8 p h 2 a m j w   I f   y o u   d o n ' t   h a v e   t h e   v a l u e   o f   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h ,   y o u   c a n   g e t   i t   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d s   o n   t h e   c o n t r o l   p l a n e   n o d e :   s u d o   c a t   / e t c / k u b e r n e t e s / p k i / c a . c r t   |   o p e n s s l   x 5 0 9   - p u b k e y   |   o p e n s s l   r s a   - p u b i n   - o u t f o r m   d e r   2 > / d e v / n u ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes/",
    "id": "k8s_00574_section_4_10884"
  },
  {
    "question": "What is Network configuration?",
    "answer": "C N I   s e t u p   o n   c l u s t e r s   m i x e d   w i t h   L i n u x   a n d   W i n d o w s   n o d e s   r e q u i r e s   m o r e   s t e p s   t h a n   j u s t   r u n n i n g   k u b e c t l   a p p l y   o n   a   m a n i f e s t   f i l e .   A d d i t i o n a l l y ,   t h e   C N I   p l u g i n   r u n n i n g   o n   c o n t r o l   p l a n e   n o d e s   m u s t   b e   p r e p a r e d   t o   s u p p o r t   t h e   C N I   p l u g i n   r u n n i n g   o n   W i n d o w s   w o r k e r   n o d e s .   O n l y   a   f e w   C N I   p l u g i n s   c u r r e n t l y   s u p p o r t   W i n d o w s .   B e l o w   y o u   c a n   f i n d   i n d i v i d u a l   s e t u p   i n s t r u c t i o n s   f o r   t h e m :   F l a n n e l C a l i c o",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes/",
    "id": "k8s_00574_section_3_10885"
  },
  {
    "question": "What is Install kubectl for Windows (optional)?",
    "answer": "S e e   I n s t a l l   a n d   S e t   U p   k u b e c t l   o n   W i n d o w s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes/",
    "id": "k8s_00574_section_3_10886"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   h o w   t o   a d d   L i n u x   w o r k e r   n o d e s .   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes/",
    "id": "k8s_00574_section_2_10887"
  },
  {
    "question": "What is Feature Gates?",
    "answer": "Feature GatesThis page contains an overview of the various feature gates an administrator can specify on different Kubernetes components.See feature stages for an explanation of the stages for a feature.OverviewFeature gates are a set of key=value pairs that describe Kubernetes features. You can turn these features on or off using the --feature-gates command line flag on each Kubernetes component.Each Kubernetes component lets you enable or disable a set of feature gates that are relevant to that component. Use -h flag to see a full set of feature gates for all components. To set feature gates for a component, such as kubelet, use the --feature-gates flag assigned to a list of feature pairs:--feature-gates=...,GracefulNodeShutdown=true The following tables are a summary of the feature gates that you can set on different Kubernetes components.The \"Since\" column contains the Kubernetes release when a feature is introduced or its release stage is changed.The \"Until\" column, if not empty, contains the last Kubernetes release in which you can still use a feature gate.If a feature is in the Alpha or Beta state, you can find the feature listed in the Alpha/Beta feature gate table.If a feature is stable you can find all stages for that feature listed in the Graduated/Deprecated feature gate table.The Graduated/Deprecated feature gate table also lists deprecated and withdrawn features.Note:For a reference to old feature gates that are removed, please refer to feature gates removed.Feature gates for Alpha or Beta featuresFeature gates for features in Alpha or Beta statesFeatureDefaultStageSinceUntilAllowParsingUserUIDFromCertAuthfalseAlpha1.33–AllowUnsafeMalformedObjectDeletionfalseAlpha1.32–APIResponseCompressionfalseAlpha1.71.15APIResponseCompressiontrueBeta1.16–APIServerIdentityfalseAlpha1.201.25APIServerIdentitytrueBeta1.26–APIServingWithRoutinefalseAlpha1.30–CBORServingAndStoragefalseAlpha1.32–ClearingNominatedNodeNameAfterBindingfalseAlpha1.341.34CloudControllerManagerWebhookfalseAlpha1.27–ClusterTrustBundlefalseAlpha1.271.32ClusterTrustBundlefalseBeta1.33–ClusterTrustBundleProjectionfalseAlpha1.291.32ClusterTrustBundleProjectionfalseBeta1.33–ComponentFlagzfalseAlpha1.32–ComponentSLIsfalseAlpha1.261.26ComponentSLIstrueBeta1.27–ComponentStatuszfalseAlpha1.32–ConcurrentWatchObjectDecodefalseBeta1.31–ConsistentListFromCachefalseAlpha1.281.30ConsistentListFromCachetrueBeta1.31–ContainerCheckpointfalseAlpha1.251.29ContainerCheckpointtrueBeta1.30–ContainerRestartRulesfalseAlpha1.34–ContainerStopSignalsfalseAlpha1.33–ContextualLoggingfalseAlpha1.24–ContextualLoggingtrueBeta1.30–CoordinatedLeaderElectionfalseAlpha1.311.32CoordinatedLeaderElectionfalseBeta1.33–CPUManagerPolicyAlphaOptionsfalseAlpha1.23–CPUManagerPolicyBetaOptionstrueBeta1.23–CrossNamespaceVolumeDataSourcefalseAlpha1.26–CSIVolumeHealthfalseAlpha1.21–CustomCPUCFSQuotaPeriodfalseAlpha1.12–DeclarativeValidationtrueBeta1.33–DeclarativeValidationTakeoverfalseBeta1.33–DeploymentReplicaSetTerminating",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/",
    "id": "k8s_00575_qa_10888"
  },
  {
    "question": "How does Feature Gates work?",
    "answer": "Feature GatesThis page contains an overview of the various feature gates an administrator can specify on different Kubernetes components.See feature stages for an explanation of the stages for a feature.OverviewFeature gates are a set of key=value pairs that describe Kubernetes features. You can turn these features on or off using the --feature-gates command line flag on each Kubernetes component.Each Kubernetes component lets you enable or disable a set of feature gates that are relevant to that component. Use -h flag to see a full set of feature gates for all components. To set feature gates for a component, such as kubelet, use the --feature-gates flag assigned to a list of feature pairs:--feature-gates=...,GracefulNodeShutdown=true The following tables are a summary of the feature gates that you can set on different Kubernetes components.The \"Since\" column contains the Kubernetes release when a feature is introduced or its release stage is changed.The \"Until\" column, if not empty, contains the last Kubernetes release in which you can still use a feature gate.If a feature is in the Alpha or Beta state, you can find the feature listed in the Alpha/Beta feature gate table.If a feature is stable you can find all stages for that feature listed in the Graduated/Deprecated feature gate table.The Graduated/Deprecated feature gate table also lists deprecated and withdrawn features.Note:For a reference to old feature gates that are removed, please refer to feature gates removed.Feature gates for Alpha or Beta featuresFeature gates for features in Alpha or Beta statesFeatureDefaultStageSinceUntilAllowParsingUserUIDFromCertAuthfalseAlpha1.33–AllowUnsafeMalformedObjectDeletionfalseAlpha1.32–APIResponseCompressionfalseAlpha1.71.15APIResponseCompressiontrueBeta1.16–APIServerIdentityfalseAlpha1.201.25APIServerIdentitytrueBeta1.26–APIServingWithRoutinefalseAlpha1.30–CBORServingAndStoragefalseAlpha1.32–ClearingNominatedNodeNameAfterBindingfalseAlpha1.341.34CloudControllerManagerWebhookfalseAlpha1.27–ClusterTrustBundlefalseAlpha1.271.32ClusterTrustBundlefalseBeta1.33–ClusterTrustBundleProjectionfalseAlpha1.291.32ClusterTrustBundleProjectionfalseBeta1.33–ComponentFlagzfalseAlpha1.32–ComponentSLIsfalseAlpha1.261.26ComponentSLIstrueBeta1.27–ComponentStatuszfalseAlpha1.32–ConcurrentWatchObjectDecodefalseBeta1.31–ConsistentListFromCachefalseAlpha1.281.30ConsistentListFromCachetrueBeta1.31–ContainerCheckpointfalseAlpha1.251.29ContainerCheckpointtrueBeta1.30–ContainerRestartRulesfalseAlpha1.34–ContainerStopSignalsfalseAlpha1.33–ContextualLoggingfalseAlpha1.24–ContextualLoggingtrueBeta1.30–CoordinatedLeaderElectionfalseAlpha1.311.32CoordinatedLeaderElectionfalseBeta1.33–CPUManagerPolicyAlphaOptionsfalseAlpha1.23–CPUManagerPolicyBetaOptionstrueBeta1.23–CrossNamespaceVolumeDataSourcefalseAlpha1.26–CSIVolumeHealthfalseAlpha1.21–CustomCPUCFSQuotaPeriodfalseAlpha1.12–DeclarativeValidationtrueBeta1.33–DeclarativeValidationTakeoverfalseBeta1.33–DeploymentReplicaSetTerminating",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/",
    "id": "k8s_00575_qa_10889"
  },
  {
    "question": "When would you use Feature Gates?",
    "answer": "Feature GatesThis page contains an overview of the various feature gates an administrator can specify on different Kubernetes components.See feature stages for an explanation of the stages for a feature.OverviewFeature gates are a set of key=value pairs that describe Kubernetes features. You can turn these features on or off using the --feature-gates command line flag on each Kubernetes component.Each Kubernetes component lets you enable or disable a set of feature gates that are relevant to that component. Use -h flag to see a full set of feature gates for all components. To set feature gates for a component, such as kubelet, use the --feature-gates flag assigned to a list of feature pairs:--feature-gates=...,GracefulNodeShutdown=true The following tables are a summary of the feature gates that you can set on different Kubernetes components.The \"Since\" column contains the Kubernetes release when a feature is introduced or its release stage is changed.The \"Until\" column, if not empty, contains the last Kubernetes release in which you can still use a feature gate.If a feature is in the Alpha or Beta state, you can find the feature listed in the Alpha/Beta feature gate table.If a feature is stable you can find all stages for that feature listed in the Graduated/Deprecated feature gate table.The Graduated/Deprecated feature gate table also lists deprecated and withdrawn features.Note:For a reference to old feature gates that are removed, please refer to feature gates removed.Feature gates for Alpha or Beta featuresFeature gates for features in Alpha or Beta statesFeatureDefaultStageSinceUntilAllowParsingUserUIDFromCertAuthfalseAlpha1.33–AllowUnsafeMalformedObjectDeletionfalseAlpha1.32–APIResponseCompressionfalseAlpha1.71.15APIResponseCompressiontrueBeta1.16–APIServerIdentityfalseAlpha1.201.25APIServerIdentitytrueBeta1.26–APIServingWithRoutinefalseAlpha1.30–CBORServingAndStoragefalseAlpha1.32–ClearingNominatedNodeNameAfterBindingfalseAlpha1.341.34CloudControllerManagerWebhookfalseAlpha1.27–ClusterTrustBundlefalseAlpha1.271.32ClusterTrustBundlefalseBeta1.33–ClusterTrustBundleProjectionfalseAlpha1.291.32ClusterTrustBundleProjectionfalseBeta1.33–ComponentFlagzfalseAlpha1.32–ComponentSLIsfalseAlpha1.261.26ComponentSLIstrueBeta1.27–ComponentStatuszfalseAlpha1.32–ConcurrentWatchObjectDecodefalseBeta1.31–ConsistentListFromCachefalseAlpha1.281.30ConsistentListFromCachetrueBeta1.31–ContainerCheckpointfalseAlpha1.251.29ContainerCheckpointtrueBeta1.30–ContainerRestartRulesfalseAlpha1.34–ContainerStopSignalsfalseAlpha1.33–ContextualLoggingfalseAlpha1.24–ContextualLoggingtrueBeta1.30–CoordinatedLeaderElectionfalseAlpha1.311.32CoordinatedLeaderElectionfalseBeta1.33–CPUManagerPolicyAlphaOptionsfalseAlpha1.23–CPUManagerPolicyBetaOptionstrueBeta1.23–CrossNamespaceVolumeDataSourcefalseAlpha1.26–CSIVolumeHealthfalseAlpha1.21–CustomCPUCFSQuotaPeriodfalseAlpha1.12–DeclarativeValidationtrueBeta1.33–DeclarativeValidationTakeoverfalseBeta1.33–DeploymentReplicaSetTerminating",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/",
    "id": "k8s_00575_qa_10890"
  },
  {
    "question": "What are the benefits of Feature Gates?",
    "answer": "Feature GatesThis page contains an overview of the various feature gates an administrator can specify on different Kubernetes components.See feature stages for an explanation of the stages for a feature.OverviewFeature gates are a set of key=value pairs that describe Kubernetes features. You can turn these features on or off using the --feature-gates command line flag on each Kubernetes component.Each Kubernetes component lets you enable or disable a set of feature gates that are relevant to that component. Use -h flag to see a full set of feature gates for all components. To set feature gates for a component, such as kubelet, use the --feature-gates flag assigned to a list of feature pairs:--feature-gates=...,GracefulNodeShutdown=true The following tables are a summary of the feature gates that you can set on different Kubernetes components.The \"Since\" column contains the Kubernetes release when a feature is introduced or its release stage is changed.The \"Until\" column, if not empty, contains the last Kubernetes release in which you can still use a feature gate.If a feature is in the Alpha or Beta state, you can find the feature listed in the Alpha/Beta feature gate table.If a feature is stable you can find all stages for that feature listed in the Graduated/Deprecated feature gate table.The Graduated/Deprecated feature gate table also lists deprecated and withdrawn features.Note:For a reference to old feature gates that are removed, please refer to feature gates removed.Feature gates for Alpha or Beta featuresFeature gates for features in Alpha or Beta statesFeatureDefaultStageSinceUntilAllowParsingUserUIDFromCertAuthfalseAlpha1.33–AllowUnsafeMalformedObjectDeletionfalseAlpha1.32–APIResponseCompressionfalseAlpha1.71.15APIResponseCompressiontrueBeta1.16–APIServerIdentityfalseAlpha1.201.25APIServerIdentitytrueBeta1.26–APIServingWithRoutinefalseAlpha1.30–CBORServingAndStoragefalseAlpha1.32–ClearingNominatedNodeNameAfterBindingfalseAlpha1.341.34CloudControllerManagerWebhookfalseAlpha1.27–ClusterTrustBundlefalseAlpha1.271.32ClusterTrustBundlefalseBeta1.33–ClusterTrustBundleProjectionfalseAlpha1.291.32ClusterTrustBundleProjectionfalseBeta1.33–ComponentFlagzfalseAlpha1.32–ComponentSLIsfalseAlpha1.261.26ComponentSLIstrueBeta1.27–ComponentStatuszfalseAlpha1.32–ConcurrentWatchObjectDecodefalseBeta1.31–ConsistentListFromCachefalseAlpha1.281.30ConsistentListFromCachetrueBeta1.31–ContainerCheckpointfalseAlpha1.251.29ContainerCheckpointtrueBeta1.30–ContainerRestartRulesfalseAlpha1.34–ContainerStopSignalsfalseAlpha1.33–ContextualLoggingfalseAlpha1.24–ContextualLoggingtrueBeta1.30–CoordinatedLeaderElectionfalseAlpha1.311.32CoordinatedLeaderElectionfalseBeta1.33–CPUManagerPolicyAlphaOptionsfalseAlpha1.23–CPUManagerPolicyBetaOptionstrueBeta1.23–CrossNamespaceVolumeDataSourcefalseAlpha1.26–CSIVolumeHealthfalseAlpha1.21–CustomCPUCFSQuotaPeriodfalseAlpha1.12–DeclarativeValidationtrueBeta1.33–DeclarativeValidationTakeoverfalseBeta1.33–DeploymentReplicaSetTerminating",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/",
    "id": "k8s_00575_qa_10891"
  },
  {
    "question": "What is Feature Gates?",
    "answer": "T h i s   p a g e   c o n t a i n s   a n   o v e r v i e w   o f   t h e   v a r i o u s   f e a t u r e   g a t e s   a n   a d m i n i s t r a t o r   c a n   s p e c i f y   o n   d i f f e r e n t   K u b e r n e t e s   c o m p o n e n t s .   S e e   f e a t u r e   s t a g e s   f o r   a n   e x p l a n a t i o n   o f   t h e   s t a g e s   f o r   a   f e a t u r e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/",
    "id": "k8s_00575_section_1_10892"
  },
  {
    "question": "What is Overview?",
    "answer": "F e a t u r e   g a t e s   a r e   a   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   K u b e r n e t e s   f e a t u r e s .   Y o u   c a n   t u r n   t h e s e   f e a t u r e s   o n   o r   o f f   u s i n g   t h e   - - f e a t u r e - g a t e s   c o m m a n d   l i n e   f l a g   o n   e a c h   K u b e r n e t e s   c o m p o n e n t .   E a c h   K u b e r n e t e s   c o m p o n e n t   l e t s   y o u   e n a b l e   o r   d i s a b l e   a   s e t   o f   f e a t u r e   g a t e s   t h a t   a r e   r e l e v a n t   t o   t h a t   c o m p o n e n t .   U s e   - h   f l a g   t o   s e e   a   f u l l   s e t   o f   f e a t u r e   g a t e s   f o r   a l l   c o m p o n e n t s .   T o   s e t   f e a t u r e   g a t e s   f o r   a   c o m p o n e n t ,   s u c h   a s   k u b e l e t ,   u s e   t h e   - - f e a t u r e - g a t e s   f l a g   a s s i g n e d   t o   a   l i s t   o f   f e a t u r e   p a i r s :   - - f e a t u r e - g a t e s = . . . , G r a c e f u l N o d e S h u t d o w n = t r u e   T h e   f o l l o w i n g   t a b l e s   a r e   a   s u m m a r y   o f   t h e   f e a t u r e   g a t e s   t h a t   y o u   c a n   s e t   o n   d i f f e r e n t   K u b e r n e t e s   c o m p o n e n t s .   T h e   \" S i n c e \"   c o l u m n   c o n t a i n s   t h e   K u b e r n e t e s   r e l e a s e   w h e n   a   f e a t u r e   i s   i n t r o d u c e d   o r   i t s   r e l e a s e   s t a g e   i s   c h a n g e d . T h e   \" U n t i l \"   c o l u m n ,   i f   n o t   e m p t y ,   c o n t a i n s   t h e   l a s t   K u b e r n e t e s   r e l e a s e   i n   w h i c h   y o u   c a n   s t i l l   u s e   a   f e a t u r e   g a t e . I f   a   f e a t u r e   i s   i n   t h e   A l p h a   o r   B e t a   s t a t e ,   y o u   c a n   f i n d   t h e   f e a t u r e   l i s t e d   i n   t h e   A l p h a / B e t a   f e a t u r e   g a t e   t a b l e . I f   a   f e a t u r e   i s   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/",
    "id": "k8s_00575_section_2_10893"
  },
  {
    "question": "What is Feature stages?",
    "answer": "A   f e a t u r e   c a n   b e   i n   A l p h a ,   B e t a   o r   G A   s t a g e .   A n   A l p h a   f e a t u r e   m e a n s :   D i s a b l e d   b y   d e f a u l t . M i g h t   b e   b u g g y .   E n a b l i n g   t h e   f e a t u r e   m a y   e x p o s e   b u g s . S u p p o r t   f o r   f e a t u r e   m a y   b e   d r o p p e d   a t   a n y   t i m e   w i t h o u t   n o t i c e . T h e   A P I   m a y   c h a n g e   i n   i n c o m p a t i b l e   w a y s   i n   a   l a t e r   s o f t w a r e   r e l e a s e   w i t h o u t   n o t i c e . R e c o m m e n d e d   f o r   u s e   o n l y   i n   s h o r t - l i v e d   t e s t i n g   c l u s t e r s ,   d u e   t o   i n c r e a s e d   r i s k   o f   b u g s   a n d   l a c k   o f   l o n g - t e r m   s u p p o r t .   A   B e t a   f e a t u r e   m e a n s :   U s u a l l y   e n a b l e d   b y   d e f a u l t .   B e t a   A P I   g r o u p s   a r e   d i s a b l e d   b y   d e f a u l t . T h e   f e a t u r e   i s   w e l l   t e s t e d .   E n a b l i n g   t h e   f e a t u r e   i s   c o n s i d e r e d   s a f e . S u p p o r t   f o r   t h e   o v e r a l l   f e a t u r e   w i l l   n o t   b e   d r o p p e d ,   t h o u g h   d e t a i l s   m a y   c h a n g e . T h e   s c h e m a   a n d / o r   s e m a n t i c s   o f   o b j e c t s   m a y   c h a n g e   i n   i n c o m p a t i b l e   w a y s   i n   a   s u b s e q u e n t   b e t a   o r   s t a b l e   r e l e a s e .   W h e n   t h i s   h a p p e n s ,   w e   w i l l   p r o v i d e   i n s t r u c t i o n s   f o r   m i g r a t i n g   t o   t h e   n e x t   v e r s i o n .   T h i s   m a y   r e q u i r e   d e l e t i n g ,   e d i t i n g ,   a n d   r e - c r e a t i n g   A P I   o b j e c t s .   T h e   e d i t i n g   p r o c e s s   m a y   r e q u i r e   s o m e   t h o u g h t .   T h i s   m a y   r e q u i r e   d o w n t i m e   f o r   a p p l i c a t i o n s   t h a t   r e l y ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/",
    "id": "k8s_00575_section_3_10894"
  },
  {
    "question": "What is Note:?",
    "answer": "A   G e n e r a l   A v a i l a b i l i t y   ( G A )   f e a t u r e   i s   a l s o   r e f e r r e d   t o   a s   a   s t a b l e   f e a t u r e .   I t   m e a n s :   T h e   f e a t u r e   i s   a l w a y s   e n a b l e d ;   y o u   c a n n o t   d i s a b l e   i t . T h e   c o r r e s p o n d i n g   f e a t u r e   g a t e   i s   n o   l o n g e r   n e e d e d . S t a b l e   v e r s i o n s   o f   f e a t u r e s   w i l l   a p p e a r   i n   r e l e a s e d   s o f t w a r e   f o r   m a n y   s u b s e q u e n t   v e r s i o n s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/",
    "id": "k8s_00575_section_4_10895"
  },
  {
    "question": "What is List of feature gates?",
    "answer": "E a c h   f e a t u r e   g a t e   i s   d e s i g n e d   f o r   e n a b l i n g / d i s a b l i n g   a   s p e c i f i c   f e a t u r e .   A l l o w D N S O n l y N o d e C S R :   A l l o w   k u b e l e t   t o   r e q u e s t   a   c e r t i f i c a t e   w i t h o u t   a n y   N o d e   I P   a v a i l a b l e ,   o n l y   w i t h   D N S   n a m e s . A l l o w I n s e c u r e K u b e l e t C e r t i f i c a t e S i g n i n g R e q u e s t s :   D i s a b l e   n o d e   a d m i s s i o n   v a l i d a t i o n   o f   C e r t i f i c a t e S i g n i n g R e q u e s t s   f o r   k u b e l e t   s i g n e r s .   U n l e s s   y o u   d i s a b l e   t h i s   f e a t u r e   g a t e ,   K u b e r n e t e s   e n f o r c e s   t h a t   n e w   k u b e l e t   c e r t i f i c a t e s   h a v e   a   c o m m o n N a m e   m a t c h i n g   s y s t e m : n o d e : $ n o d e N a m e . A l l o w P a r s i n g U s e r U I D F r o m C e r t A u t h :   W h e n   t h i s   f e a t u r e   i s   e n a b l e d ,   t h e   s u b j e c t   n a m e   a t t r i b u t e   1 . 3 . 6 . 1 . 4 . 1 . 5 7 6 8 3 . 2   i n   a n   X . 5 0 9   c e r t i f i c a t e   w i l l   b e   p a r s e d   a s   t h e   u s e r   U I D   d u r i n g   c e r t i f i c a t e   a u t h e n t i c a t i o n . A l l o w S e r v i c e L B S t a t u s O n N o n L B :   E n a b l e s   . s t a t u s . i n g r e s s . l o a d B a l a n c e r   t o   b e   s e t   o n   S e r v i c e s   o f   t y p e s   o t h e r   t h a n   L o a d B a l a n c e r . A l l o w U n s a f e M a l f o r m e d O b j e c t D e l e t i o n :   E n a b l e s   t h e   c l u s t e r   o p e r a t o r   t o   i d e n t i f y   c o r r u p t   r e s o u r c e ( s )   u s i n g   t h e   l i s t   o p e r a t i o n ,   a n d   i n t r o d u c e s   a n   o p t i o n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   t h a t   t h e   o p e r a t o r   c a n   s e t   t o   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/",
    "id": "k8s_00575_section_2_10896"
  },
  {
    "question": "What is What's next?",
    "answer": "T h e   d e p r e c a t i o n   p o l i c y   f o r   K u b e r n e t e s   e x p l a i n s   t h e   p r o j e c t ' s   a p p r o a c h   t o   r e m o v i n g   f e a t u r e s   a n d   c o m p o n e n t s . S i n c e   K u b e r n e t e s   1 . 2 4 ,   n e w   b e t a   A P I s   a r e   n o t   e n a b l e d   b y   d e f a u l t .   W h e n   e n a b l i n g   a   b e t a   f e a t u r e ,   y o u   w i l l   a l s o   n e e d   t o   e n a b l e   a n y   a s s o c i a t e d   A P I   r e s o u r c e s .   F o r   e x a m p l e ,   t o   e n a b l e   a   p a r t i c u l a r   r e s o u r c e   l i k e   s t o r a g e . k 8 s . i o / v 1 b e t a 1 / c s i s t o r a g e c a p a c i t i e s ,   s e t   - - r u n t i m e - c o n f i g = s t o r a g e . k 8 s . i o / v 1 b e t a 1 / c s i s t o r a g e c a p a c i t i e s .   S e e   A P I   V e r s i o n i n g   f o r   m o r e   d e t a i l s   o n   t h e   c o m m a n d   l i n e   f l a g s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/",
    "id": "k8s_00575_section_2_10897"
  },
  {
    "question": "What is Hello Minikube?",
    "answer": "Hello MinikubeThis tutorial shows you how to run a sample app on Kubernetes using minikube. The tutorial provides a container image that uses NGINX to echo back all the requests.ObjectivesDeploy a sample application to minikube.Run the app.View application logs.Before you beginThis tutorial assumes that you have already set up minikube. See Step 1 in minikube start for installation instructions.Note:Only execute the instructions in Step 1, Installation. The rest is covered on this page.You also need to install kubectl. See Install tools for installation instructions.Create a minikube clusterminikube start Open the DashboardOpen the Kubernetes dashboard. You can do this two different ways:Open a new terminal, and run:# Start a new terminal, and leave this running. minikube dashboard Now, switch back to the terminal where you ran minikube start.Note:The dashboard command enables the dashboard add-on and opens the proxy in the default web browser. You can create Kubernetes resources on the dashboard such as Deployment and Service.To find out how to avoid directly invoking the browser from the terminal and get a URL for the web dashboard, see the \"URL copy and paste\" tab.By default, the dashboard is only accessible from within the internal Kubernetes virtual network. The dashboard command creates a temporary proxy to make the dashboard accessible from outside the Kubernetes virtual network.To stop the proxy, run Ctrl+C to exit the process. After the command exits, the dashboard remains running in the Kubernetes cluster. You can run the dashboard command again to create another proxy to access the dashboard.If you don't want minikube to open a web browser for you, run the dashboard subcommand with the --url flag. minikube outputs a URL that you can open in the browser you prefer.Open a new terminal, and run:# Start a new terminal, and leave this running. minikube dashboard --url Now, you can use this URL and switch back to the terminal where you ran minikube start.Create a DeploymentA Kubernetes Pod is a group of one or more Containers, tied together for the purposes of administration and networking. The Pod in this tutorial has only one Container. A Kubernetes Deployment checks on the health of your Pod and restarts the Pod's Container if it terminates. Deployments are the recommended way to manage the creation and scaling of Pods.Use the kubectl create command to create a Deployment that manages a Pod. The Pod runs a Container based on the provided Docker image.# Run a test container image that includes a webserver kubectl create deployment hello-node --image=registry.k8s.io/e2e-test-images/agnhost:2.53 -- /agnhost netexec --http-port=8080 View the Deployment:kubectl get deployments The output is similar to:NAME READY UP-TO-DATE AVAILABLE AGE hello-node 1/1 1 1 1m (It may take some time for the pod to become available. If you see \"0/1\", try again in a few seconds.)View the Pod:kubectl get pods The output is similar to:NAME READY STATUS RESTARTS AGE ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/hello-minikube/",
    "id": "k8s_00576_qa_10898"
  },
  {
    "question": "How does Hello Minikube work?",
    "answer": "Hello MinikubeThis tutorial shows you how to run a sample app on Kubernetes using minikube. The tutorial provides a container image that uses NGINX to echo back all the requests.ObjectivesDeploy a sample application to minikube.Run the app.View application logs.Before you beginThis tutorial assumes that you have already set up minikube. See Step 1 in minikube start for installation instructions.Note:Only execute the instructions in Step 1, Installation. The rest is covered on this page.You also need to install kubectl. See Install tools for installation instructions.Create a minikube clusterminikube start Open the DashboardOpen the Kubernetes dashboard. You can do this two different ways:Open a new terminal, and run:# Start a new terminal, and leave this running. minikube dashboard Now, switch back to the terminal where you ran minikube start.Note:The dashboard command enables the dashboard add-on and opens the proxy in the default web browser. You can create Kubernetes resources on the dashboard such as Deployment and Service.To find out how to avoid directly invoking the browser from the terminal and get a URL for the web dashboard, see the \"URL copy and paste\" tab.By default, the dashboard is only accessible from within the internal Kubernetes virtual network. The dashboard command creates a temporary proxy to make the dashboard accessible from outside the Kubernetes virtual network.To stop the proxy, run Ctrl+C to exit the process. After the command exits, the dashboard remains running in the Kubernetes cluster. You can run the dashboard command again to create another proxy to access the dashboard.If you don't want minikube to open a web browser for you, run the dashboard subcommand with the --url flag. minikube outputs a URL that you can open in the browser you prefer.Open a new terminal, and run:# Start a new terminal, and leave this running. minikube dashboard --url Now, you can use this URL and switch back to the terminal where you ran minikube start.Create a DeploymentA Kubernetes Pod is a group of one or more Containers, tied together for the purposes of administration and networking. The Pod in this tutorial has only one Container. A Kubernetes Deployment checks on the health of your Pod and restarts the Pod's Container if it terminates. Deployments are the recommended way to manage the creation and scaling of Pods.Use the kubectl create command to create a Deployment that manages a Pod. The Pod runs a Container based on the provided Docker image.# Run a test container image that includes a webserver kubectl create deployment hello-node --image=registry.k8s.io/e2e-test-images/agnhost:2.53 -- /agnhost netexec --http-port=8080 View the Deployment:kubectl get deployments The output is similar to:NAME READY UP-TO-DATE AVAILABLE AGE hello-node 1/1 1 1 1m (It may take some time for the pod to become available. If you see \"0/1\", try again in a few seconds.)View the Pod:kubectl get pods The output is similar to:NAME READY STATUS RESTARTS AGE ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/hello-minikube/",
    "id": "k8s_00576_qa_10899"
  },
  {
    "question": "When would you use Hello Minikube?",
    "answer": "Hello MinikubeThis tutorial shows you how to run a sample app on Kubernetes using minikube. The tutorial provides a container image that uses NGINX to echo back all the requests.ObjectivesDeploy a sample application to minikube.Run the app.View application logs.Before you beginThis tutorial assumes that you have already set up minikube. See Step 1 in minikube start for installation instructions.Note:Only execute the instructions in Step 1, Installation. The rest is covered on this page.You also need to install kubectl. See Install tools for installation instructions.Create a minikube clusterminikube start Open the DashboardOpen the Kubernetes dashboard. You can do this two different ways:Open a new terminal, and run:# Start a new terminal, and leave this running. minikube dashboard Now, switch back to the terminal where you ran minikube start.Note:The dashboard command enables the dashboard add-on and opens the proxy in the default web browser. You can create Kubernetes resources on the dashboard such as Deployment and Service.To find out how to avoid directly invoking the browser from the terminal and get a URL for the web dashboard, see the \"URL copy and paste\" tab.By default, the dashboard is only accessible from within the internal Kubernetes virtual network. The dashboard command creates a temporary proxy to make the dashboard accessible from outside the Kubernetes virtual network.To stop the proxy, run Ctrl+C to exit the process. After the command exits, the dashboard remains running in the Kubernetes cluster. You can run the dashboard command again to create another proxy to access the dashboard.If you don't want minikube to open a web browser for you, run the dashboard subcommand with the --url flag. minikube outputs a URL that you can open in the browser you prefer.Open a new terminal, and run:# Start a new terminal, and leave this running. minikube dashboard --url Now, you can use this URL and switch back to the terminal where you ran minikube start.Create a DeploymentA Kubernetes Pod is a group of one or more Containers, tied together for the purposes of administration and networking. The Pod in this tutorial has only one Container. A Kubernetes Deployment checks on the health of your Pod and restarts the Pod's Container if it terminates. Deployments are the recommended way to manage the creation and scaling of Pods.Use the kubectl create command to create a Deployment that manages a Pod. The Pod runs a Container based on the provided Docker image.# Run a test container image that includes a webserver kubectl create deployment hello-node --image=registry.k8s.io/e2e-test-images/agnhost:2.53 -- /agnhost netexec --http-port=8080 View the Deployment:kubectl get deployments The output is similar to:NAME READY UP-TO-DATE AVAILABLE AGE hello-node 1/1 1 1 1m (It may take some time for the pod to become available. If you see \"0/1\", try again in a few seconds.)View the Pod:kubectl get pods The output is similar to:NAME READY STATUS RESTARTS AGE ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/hello-minikube/",
    "id": "k8s_00576_qa_10900"
  },
  {
    "question": "What are the benefits of Hello Minikube?",
    "answer": "Hello MinikubeThis tutorial shows you how to run a sample app on Kubernetes using minikube. The tutorial provides a container image that uses NGINX to echo back all the requests.ObjectivesDeploy a sample application to minikube.Run the app.View application logs.Before you beginThis tutorial assumes that you have already set up minikube. See Step 1 in minikube start for installation instructions.Note:Only execute the instructions in Step 1, Installation. The rest is covered on this page.You also need to install kubectl. See Install tools for installation instructions.Create a minikube clusterminikube start Open the DashboardOpen the Kubernetes dashboard. You can do this two different ways:Open a new terminal, and run:# Start a new terminal, and leave this running. minikube dashboard Now, switch back to the terminal where you ran minikube start.Note:The dashboard command enables the dashboard add-on and opens the proxy in the default web browser. You can create Kubernetes resources on the dashboard such as Deployment and Service.To find out how to avoid directly invoking the browser from the terminal and get a URL for the web dashboard, see the \"URL copy and paste\" tab.By default, the dashboard is only accessible from within the internal Kubernetes virtual network. The dashboard command creates a temporary proxy to make the dashboard accessible from outside the Kubernetes virtual network.To stop the proxy, run Ctrl+C to exit the process. After the command exits, the dashboard remains running in the Kubernetes cluster. You can run the dashboard command again to create another proxy to access the dashboard.If you don't want minikube to open a web browser for you, run the dashboard subcommand with the --url flag. minikube outputs a URL that you can open in the browser you prefer.Open a new terminal, and run:# Start a new terminal, and leave this running. minikube dashboard --url Now, you can use this URL and switch back to the terminal where you ran minikube start.Create a DeploymentA Kubernetes Pod is a group of one or more Containers, tied together for the purposes of administration and networking. The Pod in this tutorial has only one Container. A Kubernetes Deployment checks on the health of your Pod and restarts the Pod's Container if it terminates. Deployments are the recommended way to manage the creation and scaling of Pods.Use the kubectl create command to create a Deployment that manages a Pod. The Pod runs a Container based on the provided Docker image.# Run a test container image that includes a webserver kubectl create deployment hello-node --image=registry.k8s.io/e2e-test-images/agnhost:2.53 -- /agnhost netexec --http-port=8080 View the Deployment:kubectl get deployments The output is similar to:NAME READY UP-TO-DATE AVAILABLE AGE hello-node 1/1 1 1 1m (It may take some time for the pod to become available. If you see \"0/1\", try again in a few seconds.)View the Pod:kubectl get pods The output is similar to:NAME READY STATUS RESTARTS AGE ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/hello-minikube/",
    "id": "k8s_00576_qa_10901"
  },
  {
    "question": "What is Hello Minikube?",
    "answer": "T h i s   t u t o r i a l   s h o w s   y o u   h o w   t o   r u n   a   s a m p l e   a p p   o n   K u b e r n e t e s   u s i n g   m i n i k u b e .   T h e   t u t o r i a l   p r o v i d e s   a   c o n t a i n e r   i m a g e   t h a t   u s e s   N G I N X   t o   e c h o   b a c k   a l l   t h e   r e q u e s t s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/hello-minikube/",
    "id": "k8s_00576_section_1_10902"
  },
  {
    "question": "What is Objectives?",
    "answer": "D e p l o y   a   s a m p l e   a p p l i c a t i o n   t o   m i n i k u b e . R u n   t h e   a p p . V i e w   a p p l i c a t i o n   l o g s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/hello-minikube/",
    "id": "k8s_00576_section_2_10903"
  },
  {
    "question": "What is Before you begin?",
    "answer": "T h i s   t u t o r i a l   a s s u m e s   t h a t   y o u   h a v e   a l r e a d y   s e t   u p   m i n i k u b e .   S e e   S t e p   1   i n   m i n i k u b e   s t a r t   f o r   i n s t a l l a t i o n   i n s t r u c t i o n s . N o t e : O n l y   e x e c u t e   t h e   i n s t r u c t i o n s   i n   S t e p   1 ,   I n s t a l l a t i o n .   T h e   r e s t   i s   c o v e r e d   o n   t h i s   p a g e .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/hello-minikube/",
    "id": "k8s_00576_section_2_10904"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   a l s o   n e e d   t o   i n s t a l l   k u b e c t l .   S e e   I n s t a l l   t o o l s   f o r   i n s t a l l a t i o n   i n s t r u c t i o n s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/hello-minikube/",
    "id": "k8s_00576_section_4_10905"
  },
  {
    "question": "What is Create a minikube cluster?",
    "answer": "m i n i k u b e   s t a r t",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/hello-minikube/",
    "id": "k8s_00576_section_2_10906"
  },
  {
    "question": "What is Open the Dashboard?",
    "answer": "O p e n   t h e   K u b e r n e t e s   d a s h b o a r d .   Y o u   c a n   d o   t h i s   t w o   d i f f e r e n t   w a y s :   O p e n   a   n e w   t e r m i n a l ,   a n d   r u n : #   S t a r t   a   n e w   t e r m i n a l ,   a n d   l e a v e   t h i s   r u n n i n g .   m i n i k u b e   d a s h b o a r d   N o w ,   s w i t c h   b a c k   t o   t h e   t e r m i n a l   w h e r e   y o u   r a n   m i n i k u b e   s t a r t . N o t e : T h e   d a s h b o a r d   c o m m a n d   e n a b l e s   t h e   d a s h b o a r d   a d d - o n   a n d   o p e n s   t h e   p r o x y   i n   t h e   d e f a u l t   w e b   b r o w s e r .   Y o u   c a n   c r e a t e   K u b e r n e t e s   r e s o u r c e s   o n   t h e   d a s h b o a r d   s u c h   a s   D e p l o y m e n t   a n d   S e r v i c e . T o   f i n d   o u t   h o w   t o   a v o i d   d i r e c t l y   i n v o k i n g   t h e   b r o w s e r   f r o m   t h e   t e r m i n a l   a n d   g e t   a   U R L   f o r   t h e   w e b   d a s h b o a r d ,   s e e   t h e   \" U R L   c o p y   a n d   p a s t e \"   t a b . B y   d e f a u l t ,   t h e   d a s h b o a r d   i s   o n l y   a c c e s s i b l e   f r o m   w i t h i n   t h e   i n t e r n a l   K u b e r n e t e s   v i r t u a l   n e t w o r k .   T h e   d a s h b o a r d   c o m m a n d   c r e a t e s   a   t e m p o r a r y   p r o x y   t o   m a k e   t h e   d a s h b o a r d   a c c e s s i b l e   f r o m   o u t s i d e   t h e   K u b e r n e t e s   v i r t u a l   n e t w o r k . T o   s t o p   t h e   p r o x y ,   r u n   C t r l + C   t o   e x i t   t h e   p r o c e s s .   A f t e r   t h e   c o m m a n d   e x i t s ,   t h e   d a s h b o a r d   r e m a i n s   r u n n i n g   i n   t h e   K u b e r n e t e s   c l u s t e r .   Y o u   c a n   r u n   t h e   d a s h b o a r d   c o m m a n d   a g a i n   t o   c r e a t e   a n o t h e r   p r o x y   t o   a c c e s s   t h e   d a s h b o a r d . ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/hello-minikube/",
    "id": "k8s_00576_section_2_10907"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   d a s h b o a r d   c o m m a n d   e n a b l e s   t h e   d a s h b o a r d   a d d - o n   a n d   o p e n s   t h e   p r o x y   i n   t h e   d e f a u l t   w e b   b r o w s e r .   Y o u   c a n   c r e a t e   K u b e r n e t e s   r e s o u r c e s   o n   t h e   d a s h b o a r d   s u c h   a s   D e p l o y m e n t   a n d   S e r v i c e .   T o   f i n d   o u t   h o w   t o   a v o i d   d i r e c t l y   i n v o k i n g   t h e   b r o w s e r   f r o m   t h e   t e r m i n a l   a n d   g e t   a   U R L   f o r   t h e   w e b   d a s h b o a r d ,   s e e   t h e   \" U R L   c o p y   a n d   p a s t e \"   t a b .   B y   d e f a u l t ,   t h e   d a s h b o a r d   i s   o n l y   a c c e s s i b l e   f r o m   w i t h i n   t h e   i n t e r n a l   K u b e r n e t e s   v i r t u a l   n e t w o r k .   T h e   d a s h b o a r d   c o m m a n d   c r e a t e s   a   t e m p o r a r y   p r o x y   t o   m a k e   t h e   d a s h b o a r d   a c c e s s i b l e   f r o m   o u t s i d e   t h e   K u b e r n e t e s   v i r t u a l   n e t w o r k .   T o   s t o p   t h e   p r o x y ,   r u n   C t r l + C   t o   e x i t   t h e   p r o c e s s .   A f t e r   t h e   c o m m a n d   e x i t s ,   t h e   d a s h b o a r d   r e m a i n s   r u n n i n g   i n   t h e   K u b e r n e t e s   c l u s t e r .   Y o u   c a n   r u n   t h e   d a s h b o a r d   c o m m a n d   a g a i n   t o   c r e a t e   a n o t h e r   p r o x y   t o   a c c e s s   t h e   d a s h b o a r d .   I f   y o u   d o n ' t   w a n t   m i n i k u b e   t o   o p e n   a   w e b   b r o w s e r   f o r   y o u ,   r u n   t h e   d a s h b o a r d   s u b c o m m a n d   w i t h   t h e   - - u r l   f l a g .   m i n i k u b e   o u t p u t s   a   U R L   t h a t   y o u   c a n   o p e n   i n   t h e   b r o w s e r   y o u   p r e f e r . O p e n   a   n e w   t e r m i n a l ,   a n d   r u n : #   S t a r t   a   n e w   t e r m i n a l ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/hello-minikube/",
    "id": "k8s_00576_section_4_10908"
  },
  {
    "question": "What is Create a Deployment?",
    "answer": "A   K u b e r n e t e s   P o d   i s   a   g r o u p   o f   o n e   o r   m o r e   C o n t a i n e r s ,   t i e d   t o g e t h e r   f o r   t h e   p u r p o s e s   o f   a d m i n i s t r a t i o n   a n d   n e t w o r k i n g .   T h e   P o d   i n   t h i s   t u t o r i a l   h a s   o n l y   o n e   C o n t a i n e r .   A   K u b e r n e t e s   D e p l o y m e n t   c h e c k s   o n   t h e   h e a l t h   o f   y o u r   P o d   a n d   r e s t a r t s   t h e   P o d ' s   C o n t a i n e r   i f   i t   t e r m i n a t e s .   D e p l o y m e n t s   a r e   t h e   r e c o m m e n d e d   w a y   t o   m a n a g e   t h e   c r e a t i o n   a n d   s c a l i n g   o f   P o d s .   U s e   t h e   k u b e c t l   c r e a t e   c o m m a n d   t o   c r e a t e   a   D e p l o y m e n t   t h a t   m a n a g e s   a   P o d .   T h e   P o d   r u n s   a   C o n t a i n e r   b a s e d   o n   t h e   p r o v i d e d   D o c k e r   i m a g e . #   R u n   a   t e s t   c o n t a i n e r   i m a g e   t h a t   i n c l u d e s   a   w e b s e r v e r   k u b e c t l   c r e a t e   d e p l o y m e n t   h e l l o - n o d e   - - i m a g e = r e g i s t r y . k 8 s . i o / e 2 e - t e s t - i m a g e s / a g n h o s t : 2 . 5 3   - -   / a g n h o s t   n e t e x e c   - - h t t p - p o r t = 8 0 8 0   V i e w   t h e   D e p l o y m e n t : k u b e c t l   g e t   d e p l o y m e n t s   T h e   o u t p u t   i s   s i m i l a r   t o : N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   h e l l o - n o d e   1 / 1   1   1   1 m   ( I t   m a y   t a k e   s o m e   t i m e   f o r   t h e   p o d   t o   b e c o m e   a v a i l a b l e .   I f   y o u   s e e   \" 0 / 1 \" ,   t r y   a g a i n   i n   a   f e w   s e c o n d s . ) V i e w   t h e   P o d : k u b e c t l   g e t   p o d s   T h e   o u t p u t   i s   s i m i l a r   t o : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   h e l l o - n o d e - 5 ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/hello-minikube/",
    "id": "k8s_00576_section_2_10909"
  },
  {
    "question": "What is Note:?",
    "answer": "k u b e c t l   l o g s   h e l l o - n o d e - 5 f 7 6 c f 6 c c f - b r 9 b 5   T h e   o u t p u t   i s   s i m i l a r   t o :   I 0 9 1 1   0 9 : 1 9 : 2 6 . 6 7 7 3 9 7   1   l o g . g o : 1 9 5 ]   S t a r t e d   H T T P   s e r v e r   o n   p o r t   8 0 8 0   I 0 9 1 1   0 9 : 1 9 : 2 6 . 6 7 7 5 8 6   1   l o g . g o : 1 9 5 ]   S t a r t e d   U D P   s e r v e r   o n   p o r t   8 0 8 1",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/hello-minikube/",
    "id": "k8s_00576_section_4_10910"
  },
  {
    "question": "What is Create a Service?",
    "answer": "B y   d e f a u l t ,   t h e   P o d   i s   o n l y   a c c e s s i b l e   b y   i t s   i n t e r n a l   I P   a d d r e s s   w i t h i n   t h e   K u b e r n e t e s   c l u s t e r .   T o   m a k e   t h e   h e l l o - n o d e   C o n t a i n e r   a c c e s s i b l e   f r o m   o u t s i d e   t h e   K u b e r n e t e s   v i r t u a l   n e t w o r k ,   y o u   h a v e   t o   e x p o s e   t h e   P o d   a s   a   K u b e r n e t e s   S e r v i c e .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/hello-minikube/",
    "id": "k8s_00576_section_2_10911"
  },
  {
    "question": "What is Warning:?",
    "answer": "E x p o s e   t h e   P o d   t o   t h e   p u b l i c   i n t e r n e t   u s i n g   t h e   k u b e c t l   e x p o s e   c o m m a n d : k u b e c t l   e x p o s e   d e p l o y m e n t   h e l l o - n o d e   - - t y p e = L o a d B a l a n c e r   - - p o r t = 8 0 8 0   T h e   - - t y p e = L o a d B a l a n c e r   f l a g   i n d i c a t e s   t h a t   y o u   w a n t   t o   e x p o s e   y o u r   S e r v i c e   o u t s i d e   o f   t h e   c l u s t e r . T h e   a p p l i c a t i o n   c o d e   i n s i d e   t h e   t e s t   i m a g e   o n l y   l i s t e n s   o n   T C P   p o r t   8 0 8 0 .   I f   y o u   u s e d   k u b e c t l   e x p o s e   t o   e x p o s e   a   d i f f e r e n t   p o r t ,   c l i e n t s   c o u l d   n o t   c o n n e c t   t o   t h a t   o t h e r   p o r t . V i e w   t h e   S e r v i c e   y o u   c r e a t e d : k u b e c t l   g e t   s e r v i c e s   T h e   o u t p u t   i s   s i m i l a r   t o : N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   h e l l o - n o d e   L o a d B a l a n c e r   1 0 . 1 0 8 . 1 4 4 . 7 8   < p e n d i n g >   8 0 8 0 : 3 0 3 6 9 / T C P   2 1 s   k u b e r n e t e s   C l u s t e r I P   1 0 . 9 6 . 0 . 1   < n o n e >   4 4 3 / T C P   2 3 m   O n   c l o u d   p r o v i d e r s   t h a t   s u p p o r t   l o a d   b a l a n c e r s ,   a n   e x t e r n a l   I P   a d d r e s s   w o u l d   b e   p r o v i s i o n e d   t o   a c c e s s   t h e   S e r v i c e .   O n   m i n i k u b e ,   t h e   L o a d B a l a n c e r   t y p e   m a k e s   t h e   S e r v i c e   a c c e s s i b l e   t h r o u g h   t h e   m i n i k u b e   s e r v i c e   c o m m a n d . R u n   t h e   f o l l o w i n g   c o m m a n d : m i n i k u b e   s e r v i c e   h e l l o - n o d e   T h i s   o p e n s   u p   a   b r o w s e r   w i n d o w   t h a t   s e r v e s   y o u r   a p p   a n d   s h o w s   t h e   a p p ' s   r e s p o n s e ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/hello-minikube/",
    "id": "k8s_00576_section_4_10912"
  },
  {
    "question": "What is Enable addons?",
    "answer": "T h e   m i n i k u b e   t o o l   i n c l u d e s   a   s e t   o f   b u i l t - i n   a d d o n s   t h a t   c a n   b e   e n a b l e d ,   d i s a b l e d   a n d   o p e n e d   i n   t h e   l o c a l   K u b e r n e t e s   e n v i r o n m e n t .   L i s t   t h e   c u r r e n t l y   s u p p o r t e d   a d d o n s : m i n i k u b e   a d d o n s   l i s t   T h e   o u t p u t   i s   s i m i l a r   t o : a d d o n - m a n a g e r :   e n a b l e d   d a s h b o a r d :   e n a b l e d   d e f a u l t - s t o r a g e c l a s s :   e n a b l e d   e f k :   d i s a b l e d   f r e s h p o d :   d i s a b l e d   g v i s o r :   d i s a b l e d   h e l m - t i l l e r :   d i s a b l e d   i n g r e s s :   d i s a b l e d   i n g r e s s - d n s :   d i s a b l e d   l o g v i e w e r :   d i s a b l e d   m e t r i c s - s e r v e r :   d i s a b l e d   n v i d i a - d r i v e r - i n s t a l l e r :   d i s a b l e d   n v i d i a - g p u - d e v i c e - p l u g i n :   d i s a b l e d   r e g i s t r y :   d i s a b l e d   r e g i s t r y - c r e d s :   d i s a b l e d   s t o r a g e - p r o v i s i o n e r :   e n a b l e d   s t o r a g e - p r o v i s i o n e r - g l u s t e r :   d i s a b l e d   E n a b l e   a n   a d d o n ,   f o r   e x a m p l e ,   m e t r i c s - s e r v e r : m i n i k u b e   a d d o n s   e n a b l e   m e t r i c s - s e r v e r   T h e   o u t p u t   i s   s i m i l a r   t o : T h e   ' m e t r i c s - s e r v e r '   a d d o n   i s   e n a b l e d   V i e w   t h e   P o d   a n d   S e r v i c e   y o u   c r e a t e d   b y   i n s t a l l i n g   t h a t   a d d o n : k u b e c t l   g e t   p o d , s v c   - n   k u b e - s y s t e m   T h e   o u t p u t   i s   s i m i l a r   t o : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   p o d / c o r e d n s - 5 6 4 4 d 7 b 6 d 9 - m h 9 l l   1 / 1   R u n n i n g   0   3 4 m   p o d / c o r e d n s - 5 6 4 4 d 7 b 6 d 9 - p q d 2 t   1 / 1   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/hello-minikube/",
    "id": "k8s_00576_section_2_10913"
  },
  {
    "question": "What is Clean up?",
    "answer": "N o w   y o u   c a n   c l e a n   u p   t h e   r e s o u r c e s   y o u   c r e a t e d   i n   y o u r   c l u s t e r :   k u b e c t l   d e l e t e   s e r v i c e   h e l l o - n o d e   k u b e c t l   d e l e t e   d e p l o y m e n t   h e l l o - n o d e   S t o p   t h e   M i n i k u b e   c l u s t e r   m i n i k u b e   s t o p   O p t i o n a l l y ,   d e l e t e   t h e   M i n i k u b e   V M :   #   O p t i o n a l   m i n i k u b e   d e l e t e   I f   y o u   w a n t   t o   u s e   m i n i k u b e   a g a i n   t o   l e a r n   m o r e   a b o u t   K u b e r n e t e s ,   y o u   d o n ' t   n e e d   t o   d e l e t e   i t .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/hello-minikube/",
    "id": "k8s_00576_section_2_10914"
  },
  {
    "question": "What is Conclusion?",
    "answer": "T h i s   p a g e   c o v e r e d   t h e   b a s i c   a s p e c t s   t o   g e t   a   m i n i k u b e   c l u s t e r   u p   a n d   r u n n i n g .   Y o u   a r e   n o w   r e a d y   t o   d e p l o y   a p p l i c a t i o n s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/hello-minikube/",
    "id": "k8s_00576_section_2_10915"
  },
  {
    "question": "What is What's next?",
    "answer": "T u t o r i a l   t o   d e p l o y   y o u r   f i r s t   a p p   o n   K u b e r n e t e s   w i t h   k u b e c t l . L e a r n   m o r e   a b o u t   D e p l o y m e n t   o b j e c t s . L e a r n   m o r e   a b o u t   D e p l o y i n g   a p p l i c a t i o n s . L e a r n   m o r e   a b o u t   S e r v i c e   o b j e c t s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/hello-minikube/",
    "id": "k8s_00576_section_2_10916"
  },
  {
    "question": "What is MutatingAdmissionPolicy v1beta1?",
    "answer": "MutatingAdmissionPolicy v1beta1MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.apiVersion: admissionregistration.k8s.io/v1beta1import \"k8s.io/api/admissionregistration/v1beta1\"MutatingAdmissionPolicyMutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.apiVersion: admissionregistration.k8s.io/v1beta1kind: MutatingAdmissionPolicymetadata (ObjectMeta)Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.spec (MutatingAdmissionPolicySpec)Specification of the desired behavior of the MutatingAdmissionPolicy.MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy.spec.failurePolicy (string)failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.A policy is invalid if paramKind refers to a non-existent Kind. A binding is invalid if paramRef.name refers to a non-existent resource.failurePolicy does not define how validations that evaluate to false are handled.Allowed values are Ignore or Fail. Defaults to Fail.spec.matchConditions ([]MatchCondition)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergematchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the matchConstraints. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.If a parameter object is provided, it can be accessed via the params handle in the same manner as validation expressions.The exact matching logic is (in order):If ANY matchCondition evaluates to FALSE, the policy is skipped.If ALL matchConditions evaluate to TRUE, the policy is evaluated.If any matchCondition evaluates to an error (but none are FALSE):If failurePolicy=Fail, reject the requestIf failurePolicy=Ignore, the policy is skippedMatchCondition represents a condition which must be fulfilled for a request to be sent to a webhook.spec.matchConditions.expression (string), requiredExpression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request. See https://pkg.go.dev/k8s.io/apiser",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_qa_10917"
  },
  {
    "question": "How does MutatingAdmissionPolicy v1beta1 work?",
    "answer": "MutatingAdmissionPolicy v1beta1MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.apiVersion: admissionregistration.k8s.io/v1beta1import \"k8s.io/api/admissionregistration/v1beta1\"MutatingAdmissionPolicyMutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.apiVersion: admissionregistration.k8s.io/v1beta1kind: MutatingAdmissionPolicymetadata (ObjectMeta)Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.spec (MutatingAdmissionPolicySpec)Specification of the desired behavior of the MutatingAdmissionPolicy.MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy.spec.failurePolicy (string)failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.A policy is invalid if paramKind refers to a non-existent Kind. A binding is invalid if paramRef.name refers to a non-existent resource.failurePolicy does not define how validations that evaluate to false are handled.Allowed values are Ignore or Fail. Defaults to Fail.spec.matchConditions ([]MatchCondition)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergematchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the matchConstraints. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.If a parameter object is provided, it can be accessed via the params handle in the same manner as validation expressions.The exact matching logic is (in order):If ANY matchCondition evaluates to FALSE, the policy is skipped.If ALL matchConditions evaluate to TRUE, the policy is evaluated.If any matchCondition evaluates to an error (but none are FALSE):If failurePolicy=Fail, reject the requestIf failurePolicy=Ignore, the policy is skippedMatchCondition represents a condition which must be fulfilled for a request to be sent to a webhook.spec.matchConditions.expression (string), requiredExpression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request. See https://pkg.go.dev/k8s.io/apiser",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_qa_10918"
  },
  {
    "question": "When would you use MutatingAdmissionPolicy v1beta1?",
    "answer": "MutatingAdmissionPolicy v1beta1MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.apiVersion: admissionregistration.k8s.io/v1beta1import \"k8s.io/api/admissionregistration/v1beta1\"MutatingAdmissionPolicyMutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.apiVersion: admissionregistration.k8s.io/v1beta1kind: MutatingAdmissionPolicymetadata (ObjectMeta)Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.spec (MutatingAdmissionPolicySpec)Specification of the desired behavior of the MutatingAdmissionPolicy.MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy.spec.failurePolicy (string)failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.A policy is invalid if paramKind refers to a non-existent Kind. A binding is invalid if paramRef.name refers to a non-existent resource.failurePolicy does not define how validations that evaluate to false are handled.Allowed values are Ignore or Fail. Defaults to Fail.spec.matchConditions ([]MatchCondition)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergematchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the matchConstraints. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.If a parameter object is provided, it can be accessed via the params handle in the same manner as validation expressions.The exact matching logic is (in order):If ANY matchCondition evaluates to FALSE, the policy is skipped.If ALL matchConditions evaluate to TRUE, the policy is evaluated.If any matchCondition evaluates to an error (but none are FALSE):If failurePolicy=Fail, reject the requestIf failurePolicy=Ignore, the policy is skippedMatchCondition represents a condition which must be fulfilled for a request to be sent to a webhook.spec.matchConditions.expression (string), requiredExpression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request. See https://pkg.go.dev/k8s.io/apiser",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_qa_10919"
  },
  {
    "question": "What are the benefits of MutatingAdmissionPolicy v1beta1?",
    "answer": "MutatingAdmissionPolicy v1beta1MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.apiVersion: admissionregistration.k8s.io/v1beta1import \"k8s.io/api/admissionregistration/v1beta1\"MutatingAdmissionPolicyMutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.apiVersion: admissionregistration.k8s.io/v1beta1kind: MutatingAdmissionPolicymetadata (ObjectMeta)Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.spec (MutatingAdmissionPolicySpec)Specification of the desired behavior of the MutatingAdmissionPolicy.MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy.spec.failurePolicy (string)failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.A policy is invalid if paramKind refers to a non-existent Kind. A binding is invalid if paramRef.name refers to a non-existent resource.failurePolicy does not define how validations that evaluate to false are handled.Allowed values are Ignore or Fail. Defaults to Fail.spec.matchConditions ([]MatchCondition)Patch strategy: merge on key nameMap: unique values on key name will be kept during a mergematchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the matchConstraints. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.If a parameter object is provided, it can be accessed via the params handle in the same manner as validation expressions.The exact matching logic is (in order):If ANY matchCondition evaluates to FALSE, the policy is skipped.If ALL matchConditions evaluate to TRUE, the policy is evaluated.If any matchCondition evaluates to an error (but none are FALSE):If failurePolicy=Fail, reject the requestIf failurePolicy=Ignore, the policy is skippedMatchCondition represents a condition which must be fulfilled for a request to be sent to a webhook.spec.matchConditions.expression (string), requiredExpression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request. See https://pkg.go.dev/k8s.io/apiser",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_qa_10920"
  },
  {
    "question": "What is MutatingAdmissionPolicy v1beta1?",
    "answer": "a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1   i m p o r t   \" k 8 s . i o / a p i / a d m i s s i o n r e g i s t r a t i o n / v 1 b e t a 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_section_1_10921"
  },
  {
    "question": "What is MutatingAdmissionPolicy?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y   d e s c r i b e s   t h e   d e f i n i t i o n   o f   a n   a d m i s s i o n   m u t a t i o n   p o l i c y   t h a t   m u t a t e s   t h e   o b j e c t   c o m i n g   i n t o   a d m i s s i o n   c h a i n .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 k i n d :   M u t a t i n g A d m i s s i o n P o l i c y m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a . s p e c   ( M u t a t i n g A d m i s s i o n P o l i c y S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y . M u t a t i n g A d m i s s i o n P o l i c y S p e c   i s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   a d m i s s i o n   p o l i c y . s p e c . f a i l u r e P o l i c y   ( s t r i n g ) f a i l u r e P o l i c y   d e f i n e s   h o w   t o   h a n d l e   f a i l u r e s   f o r   t h e   a d m i s s i o n   p o l i c y .   F a i l u r e s   c a n   o c c u r   f r o m   C E L   e x p r e s s i o n   p a r s e   e r r o r s ,   t y p e   c h e c k   e r r o r s ,   r u n t i m e   e r r o r s   a n d   i n v a l i d   o r   m i s - c o n f i g u r e d   p o l i c y   d e f i n i t i o n s   o r   b i n d i n g s . A   p o l i c y   i s   i n v a l i d   i f   p a r a m K i n d   r e f e r s   t o   a   n o n - e x i s t e n t   K i n d .   A   b i n d i n g   i s   i n v a l i d   i f   p a r a m R e f . n a m e   r e f e r s   t o   a   n o n - e x i s t e n t   r e s o u r c e . f a i l u r e P o l i c y   d o e s   n o t   d e f i n e   h o w   v a l i d a t i o n s   t h a t   e v a l u ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_section_2_10922"
  },
  {
    "question": "What is MutatingAdmissionPolicyBinding?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   b i n d s   t h e   M u t a t i n g A d m i s s i o n P o l i c y   w i t h   p a r a m e t r i z e d   r e s o u r c e s .   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   a n d   t h e   o p t i o n a l   p a r a m e t e r   r e s o u r c e   t o g e t h e r   d e f i n e   h o w   c l u s t e r   a d m i n i s t r a t o r s   c o n f i g u r e   p o l i c i e s   f o r   c l u s t e r s .   F o r   a   g i v e n   a d m i s s i o n   r e q u e s t ,   e a c h   b i n d i n g   w i l l   c a u s e   i t s   p o l i c y   t o   b e   e v a l u a t e d   N   t i m e s ,   w h e r e   N   i s   1   f o r   p o l i c i e s / b i n d i n g s   t h a t   d o n ' t   u s e   p a r a m s ,   o t h e r w i s e   N   i s   t h e   n u m b e r   o f   p a r a m e t e r s   s e l e c t e d   b y   t h e   b i n d i n g .   E a c h   e v a l u a t i o n   i s   c o n s t r a i n e d   b y   a   r u n t i m e   c o s t   b u d g e t .   A d d i n g / r e m o v i n g   p o l i c i e s ,   b i n d i n g s ,   o r   p a r a m s   c a n   n o t   a f f e c t   w h e t h e r   a   g i v e n   ( p o l i c y ,   b i n d i n g ,   p a r a m )   c o m b i n a t i o n   i s   w i t h i n   i t s   o w n   C E L   b u d g e t .   a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_section_2_10923"
  },
  {
    "question": "What is MutatingAdmissionPolicyList?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y L i s t   i s   a   l i s t   o f   M u t a t i n g A d m i s s i o n P o l i c y .   i t e m s   ( [ ] M u t a t i n g A d m i s s i o n P o l i c y ) ,   r e q u i r e d L i s t   o f   V a l i d a t i n g A d m i s s i o n P o l i c y . a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] M u t a t i n g A d m i s s i o n P o l i c y ) ,   r e q u i r e d   L i s t   o f   V a l i d a t i n g A d m i s s i o n P o l i c y .   a p i V e r s i o n   ( s t r i n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_section_2_10924"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_section_4_10925"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_section_4_10926"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_section_4_10927"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_section_4_10928"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_section_4_10929"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_section_4_10930"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_section_4_10931"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   M u t a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   M u t a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_section_4_10932"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y ) :   O K   2 0 1   ( M u t a t i n g A d m i s s i o n P o l i c y ) :   C r e a t e d   2 0 2   ( M u t a t i n g A d m i s s i o n P o l i c y ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_section_4_10933"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_section_4_10934"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y b o d y :   M u t a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y   b o d y :   M u t a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_section_4_10935"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y ) :   O K   2 0 1   ( M u t a t i n g A d m i s s i o n P o l i c y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_section_4_10936"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_section_4_10937"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_section_4_10938"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y ) :   O K   2 0 1   ( M u t a t i n g A d m i s s i o n P o l i c y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_section_4_10939"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_section_4_10940"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_section_4_10941"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_section_4_10942"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_section_4_10943"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_section_4_10944"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-v1beta1/",
    "id": "k8s_00577_section_4_10945"
  },
  {
    "question": "What is kubectl create deployment?",
    "answer": "kubectl create deploymentSynopsisCreate a deployment with the specified name.kubectl create deployment NAME --image=image -- [COMMAND] [args...] Examples # Create a deployment named my-dep that runs the busybox image kubectl create deployment my-dep --image=busybox # Create a deployment with a command kubectl create deployment my-dep --image=busybox -- date # Create a deployment named my-dep that runs the nginx image with 3 replicas kubectl create deployment my-dep --image=nginx --replicas=3 # Create a deployment named my-dep that runs the busybox image and expose port 5701 kubectl create deployment my-dep --image=busybox --port=5701 # Create a deployment named my-dep that runs multiple containers kubectl create deployment my-dep --image=busybox:latest --image=ubuntu:latest --image=nginx Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for deployment--image stringsImage names to run. A deployment can have multiple images set for multi-container pod.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--port int32 Default: -1The containerPort that this deployment exposes.-r, --replicas int32 Default: 1Number of replicas to create. Default is 1.--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate fo",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_deployment/",
    "id": "k8s_00578_qa_10946"
  },
  {
    "question": "How does kubectl create deployment work?",
    "answer": "kubectl create deploymentSynopsisCreate a deployment with the specified name.kubectl create deployment NAME --image=image -- [COMMAND] [args...] Examples # Create a deployment named my-dep that runs the busybox image kubectl create deployment my-dep --image=busybox # Create a deployment with a command kubectl create deployment my-dep --image=busybox -- date # Create a deployment named my-dep that runs the nginx image with 3 replicas kubectl create deployment my-dep --image=nginx --replicas=3 # Create a deployment named my-dep that runs the busybox image and expose port 5701 kubectl create deployment my-dep --image=busybox --port=5701 # Create a deployment named my-dep that runs multiple containers kubectl create deployment my-dep --image=busybox:latest --image=ubuntu:latest --image=nginx Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for deployment--image stringsImage names to run. A deployment can have multiple images set for multi-container pod.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--port int32 Default: -1The containerPort that this deployment exposes.-r, --replicas int32 Default: 1Number of replicas to create. Default is 1.--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate fo",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_deployment/",
    "id": "k8s_00578_qa_10947"
  },
  {
    "question": "When would you use kubectl create deployment?",
    "answer": "kubectl create deploymentSynopsisCreate a deployment with the specified name.kubectl create deployment NAME --image=image -- [COMMAND] [args...] Examples # Create a deployment named my-dep that runs the busybox image kubectl create deployment my-dep --image=busybox # Create a deployment with a command kubectl create deployment my-dep --image=busybox -- date # Create a deployment named my-dep that runs the nginx image with 3 replicas kubectl create deployment my-dep --image=nginx --replicas=3 # Create a deployment named my-dep that runs the busybox image and expose port 5701 kubectl create deployment my-dep --image=busybox --port=5701 # Create a deployment named my-dep that runs multiple containers kubectl create deployment my-dep --image=busybox:latest --image=ubuntu:latest --image=nginx Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for deployment--image stringsImage names to run. A deployment can have multiple images set for multi-container pod.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--port int32 Default: -1The containerPort that this deployment exposes.-r, --replicas int32 Default: 1Number of replicas to create. Default is 1.--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate fo",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_deployment/",
    "id": "k8s_00578_qa_10948"
  },
  {
    "question": "What are the benefits of kubectl create deployment?",
    "answer": "kubectl create deploymentSynopsisCreate a deployment with the specified name.kubectl create deployment NAME --image=image -- [COMMAND] [args...] Examples # Create a deployment named my-dep that runs the busybox image kubectl create deployment my-dep --image=busybox # Create a deployment with a command kubectl create deployment my-dep --image=busybox -- date # Create a deployment named my-dep that runs the nginx image with 3 replicas kubectl create deployment my-dep --image=nginx --replicas=3 # Create a deployment named my-dep that runs the busybox image and expose port 5701 kubectl create deployment my-dep --image=busybox --port=5701 # Create a deployment named my-dep that runs multiple containers kubectl create deployment my-dep --image=busybox:latest --image=ubuntu:latest --image=nginx Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for deployment--image stringsImage names to run. A deployment can have multiple images set for multi-container pod.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--port int32 Default: -1The containerPort that this deployment exposes.-r, --replicas int32 Default: 1Number of replicas to create. Default is 1.--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate fo",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_deployment/",
    "id": "k8s_00578_qa_10949"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   d e p l o y m e n t   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   d e p l o y m e n t   N A M E   - - i m a g e = i m a g e   - -   [ C O M M A N D ]   [ a r g s . . . ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_deployment/",
    "id": "k8s_00578_section_2_10950"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   d e p l o y m e n t   n a m e d   m y - d e p   t h a t   r u n s   t h e   b u s y b o x   i m a g e   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - - i m a g e = b u s y b o x   #   C r e a t e   a   d e p l o y m e n t   w i t h   a   c o m m a n d   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - - i m a g e = b u s y b o x   - -   d a t e   #   C r e a t e   a   d e p l o y m e n t   n a m e d   m y - d e p   t h a t   r u n s   t h e   n g i n x   i m a g e   w i t h   3   r e p l i c a s   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - - i m a g e = n g i n x   - - r e p l i c a s = 3   #   C r e a t e   a   d e p l o y m e n t   n a m e d   m y - d e p   t h a t   r u n s   t h e   b u s y b o x   i m a g e   a n d   e x p o s e   p o r t   5 7 0 1   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - - i m a g e = b u s y b o x   - - p o r t = 5 7 0 1   #   C r e a t e   a   d e p l o y m e n t   n a m e d   m y - d e p   t h a t   r u n s   m u l t i p l e   c o n t a i n e r s   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - - i m a g e = b u s y b o x : l a t e s t   - - i m a g e = u b u n t u : l a t e s t   - - i m a g e = n g i n x",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_deployment/",
    "id": "k8s_00578_section_2_10951"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   d e p l o y m e n t   I m a g e   n a m e s   t o   r u n .   A   d e p l o y m e n t   c a n   h a v e   m u l t i p l e   i m a g e s   s e t   f o r   m u l t i - c o n t a i n e r   p o d .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   T h e   c o n t a i n e r P o r t   t h a t   t h i s   d e p l o y m e n t   e x p o s e s .   N u m b e r   o f   r e p l i c a s   t o   c r e a t e .   D e f a u l t   i s   1 .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_deployment/",
    "id": "k8s_00578_section_2_10952"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_deployment/",
    "id": "k8s_00578_section_2_10953"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_deployment/",
    "id": "k8s_00578_section_2_10954"
  },
  {
    "question": "What is Extend Resources?",
    "answer": "Extend ResourcesCustomResourceDefinitionCustomResourceDefinition represents a resource that should be exposed on the API server.DeviceClassDeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors.MutatingWebhookConfigurationMutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.ValidatingWebhookConfigurationValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/",
    "id": "k8s_00579_qa_10955"
  },
  {
    "question": "How does Extend Resources work?",
    "answer": "Extend ResourcesCustomResourceDefinitionCustomResourceDefinition represents a resource that should be exposed on the API server.DeviceClassDeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors.MutatingWebhookConfigurationMutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.ValidatingWebhookConfigurationValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/",
    "id": "k8s_00579_qa_10956"
  },
  {
    "question": "When would you use Extend Resources?",
    "answer": "Extend ResourcesCustomResourceDefinitionCustomResourceDefinition represents a resource that should be exposed on the API server.DeviceClassDeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors.MutatingWebhookConfigurationMutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.ValidatingWebhookConfigurationValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/",
    "id": "k8s_00579_qa_10957"
  },
  {
    "question": "What are the benefits of Extend Resources?",
    "answer": "Extend ResourcesCustomResourceDefinitionCustomResourceDefinition represents a resource that should be exposed on the API server.DeviceClassDeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors.MutatingWebhookConfigurationMutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.ValidatingWebhookConfigurationValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/",
    "id": "k8s_00579_qa_10958"
  },
  {
    "question": "What is CustomResourceDefinition?",
    "answer": "C u s t o m R e s o u r c e D e f i n i t i o n   r e p r e s e n t s   a   r e s o u r c e   t h a t   s h o u l d   b e   e x p o s e d   o n   t h e   A P I   s e r v e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/",
    "id": "k8s_00579_section_5_10959"
  },
  {
    "question": "What is DeviceClass?",
    "answer": "D e v i c e C l a s s   i s   a   v e n d o r -   o r   a d m i n - p r o v i d e d   r e s o u r c e   t h a t   c o n t a i n s   d e v i c e   c o n f i g u r a t i o n   a n d   s e l e c t o r s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/",
    "id": "k8s_00579_section_5_10960"
  },
  {
    "question": "What is MutatingWebhookConfiguration?",
    "answer": "M u t a t i n g W e b h o o k C o n f i g u r a t i o n   d e s c r i b e s   t h e   c o n f i g u r a t i o n   o f   a n d   a d m i s s i o n   w e b h o o k   t h a t   a c c e p t   o r   r e j e c t   a n d   m a y   c h a n g e   t h e   o b j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/",
    "id": "k8s_00579_section_5_10961"
  },
  {
    "question": "What is ValidatingWebhookConfiguration?",
    "answer": "V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   d e s c r i b e s   t h e   c o n f i g u r a t i o n   o f   a n d   a d m i s s i o n   w e b h o o k   t h a t   a c c e p t   o r   r e j e c t   a n d   o b j e c t   w i t h o u t   c h a n g i n g   i t .   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/",
    "id": "k8s_00579_section_5_10962"
  },
  {
    "question": "What is PriorityLevelConfiguration?",
    "answer": "PriorityLevelConfigurationPriorityLevelConfiguration represents the configuration of a priority level.apiVersion: flowcontrol.apiserver.k8s.io/v1import \"k8s.io/api/flowcontrol/v1\"PriorityLevelConfigurationPriorityLevelConfiguration represents the configuration of a priority level.apiVersion: flowcontrol.apiserver.k8s.io/v1kind: PriorityLevelConfigurationmetadata (ObjectMeta)metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PriorityLevelConfigurationSpec)spec is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (PriorityLevelConfigurationStatus)status is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusPriorityLevelConfigurationSpecPriorityLevelConfigurationSpec specifies the configuration of a priority level.exempt (ExemptPriorityLevelConfiguration)exempt specifies how requests are handled for an exempt priority level. This field MUST be empty if type is \"Limited\". This field MAY be non-empty if type is \"Exempt\". If empty and type is \"Exempt\" then the default values for ExemptPriorityLevelConfiguration apply.ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the spec.exempt.lendablePercent (int32)lendablePercent prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. This value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.LendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )exempt.nominalConcurrencyShares (int32)nominalConcurrencyShares (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats nominally reserved for this priority level. This DOES NOT limit the dispatching from this priority level but affects the other priority levels through the borrowing mechanism. The server's concurrency limit (ServerCL) is divided among all the priority levels in proportion to their NCS values:NominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)Bigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. This field has a default value of zero.limited (LimitedPriorityLevelConfiguration)limited specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if type is \"Limited\".*LimitedPriorityLevelConfiguration specifies how to ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_qa_10963"
  },
  {
    "question": "How does PriorityLevelConfiguration work?",
    "answer": "PriorityLevelConfigurationPriorityLevelConfiguration represents the configuration of a priority level.apiVersion: flowcontrol.apiserver.k8s.io/v1import \"k8s.io/api/flowcontrol/v1\"PriorityLevelConfigurationPriorityLevelConfiguration represents the configuration of a priority level.apiVersion: flowcontrol.apiserver.k8s.io/v1kind: PriorityLevelConfigurationmetadata (ObjectMeta)metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PriorityLevelConfigurationSpec)spec is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (PriorityLevelConfigurationStatus)status is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusPriorityLevelConfigurationSpecPriorityLevelConfigurationSpec specifies the configuration of a priority level.exempt (ExemptPriorityLevelConfiguration)exempt specifies how requests are handled for an exempt priority level. This field MUST be empty if type is \"Limited\". This field MAY be non-empty if type is \"Exempt\". If empty and type is \"Exempt\" then the default values for ExemptPriorityLevelConfiguration apply.ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the spec.exempt.lendablePercent (int32)lendablePercent prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. This value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.LendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )exempt.nominalConcurrencyShares (int32)nominalConcurrencyShares (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats nominally reserved for this priority level. This DOES NOT limit the dispatching from this priority level but affects the other priority levels through the borrowing mechanism. The server's concurrency limit (ServerCL) is divided among all the priority levels in proportion to their NCS values:NominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)Bigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. This field has a default value of zero.limited (LimitedPriorityLevelConfiguration)limited specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if type is \"Limited\".*LimitedPriorityLevelConfiguration specifies how to ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_qa_10964"
  },
  {
    "question": "When would you use PriorityLevelConfiguration?",
    "answer": "PriorityLevelConfigurationPriorityLevelConfiguration represents the configuration of a priority level.apiVersion: flowcontrol.apiserver.k8s.io/v1import \"k8s.io/api/flowcontrol/v1\"PriorityLevelConfigurationPriorityLevelConfiguration represents the configuration of a priority level.apiVersion: flowcontrol.apiserver.k8s.io/v1kind: PriorityLevelConfigurationmetadata (ObjectMeta)metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PriorityLevelConfigurationSpec)spec is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (PriorityLevelConfigurationStatus)status is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusPriorityLevelConfigurationSpecPriorityLevelConfigurationSpec specifies the configuration of a priority level.exempt (ExemptPriorityLevelConfiguration)exempt specifies how requests are handled for an exempt priority level. This field MUST be empty if type is \"Limited\". This field MAY be non-empty if type is \"Exempt\". If empty and type is \"Exempt\" then the default values for ExemptPriorityLevelConfiguration apply.ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the spec.exempt.lendablePercent (int32)lendablePercent prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. This value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.LendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )exempt.nominalConcurrencyShares (int32)nominalConcurrencyShares (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats nominally reserved for this priority level. This DOES NOT limit the dispatching from this priority level but affects the other priority levels through the borrowing mechanism. The server's concurrency limit (ServerCL) is divided among all the priority levels in proportion to their NCS values:NominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)Bigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. This field has a default value of zero.limited (LimitedPriorityLevelConfiguration)limited specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if type is \"Limited\".*LimitedPriorityLevelConfiguration specifies how to ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_qa_10965"
  },
  {
    "question": "What are the benefits of PriorityLevelConfiguration?",
    "answer": "PriorityLevelConfigurationPriorityLevelConfiguration represents the configuration of a priority level.apiVersion: flowcontrol.apiserver.k8s.io/v1import \"k8s.io/api/flowcontrol/v1\"PriorityLevelConfigurationPriorityLevelConfiguration represents the configuration of a priority level.apiVersion: flowcontrol.apiserver.k8s.io/v1kind: PriorityLevelConfigurationmetadata (ObjectMeta)metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (PriorityLevelConfigurationSpec)spec is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (PriorityLevelConfigurationStatus)status is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusPriorityLevelConfigurationSpecPriorityLevelConfigurationSpec specifies the configuration of a priority level.exempt (ExemptPriorityLevelConfiguration)exempt specifies how requests are handled for an exempt priority level. This field MUST be empty if type is \"Limited\". This field MAY be non-empty if type is \"Exempt\". If empty and type is \"Exempt\" then the default values for ExemptPriorityLevelConfiguration apply.ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the spec.exempt.lendablePercent (int32)lendablePercent prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. This value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.LendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )exempt.nominalConcurrencyShares (int32)nominalConcurrencyShares (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats nominally reserved for this priority level. This DOES NOT limit the dispatching from this priority level but affects the other priority levels through the borrowing mechanism. The server's concurrency limit (ServerCL) is divided among all the priority levels in proportion to their NCS values:NominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)Bigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. This field has a default value of zero.limited (LimitedPriorityLevelConfiguration)limited specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if type is \"Limited\".*LimitedPriorityLevelConfiguration specifies how to ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_qa_10966"
  },
  {
    "question": "What is PriorityLevelConfiguration?",
    "answer": "a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / f l o w c o n t r o l / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_1_10967"
  },
  {
    "question": "What is PriorityLevelConfiguration?",
    "answer": "P r i o r i t y L e v e l C o n f i g u r a t i o n   r e p r e s e n t s   t h e   c o n f i g u r a t i o n   o f   a   p r i o r i t y   l e v e l .   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 k i n d :   P r i o r i t y L e v e l C o n f i g u r a t i o n m e t a d a t a   ( O b j e c t M e t a ) m e t a d a t a   i s   t h e   s t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( P r i o r i t y L e v e l C o n f i g u r a t i o n S p e c ) s p e c   i s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   a   \" r e q u e s t - p r i o r i t y \" .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( P r i o r i t y L e v e l C o n f i g u r a t i o n S t a t u s ) s t a t u s   i s   t h e   c u r r e n t   s t a t u s   o f   a   \" r e q u e s t - p r i o r i t y \" .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   k i n d :   P r i o r i t y L e v e l C o n f i g u r a t i o n   m e t a d a t a   ( O b j e c t M e t a )   m e t a d a t a   i s   t h e   s t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_2_10968"
  },
  {
    "question": "What is PriorityLevelConfigurationSpec?",
    "answer": "P r i o r i t y L e v e l C o n f i g u r a t i o n S p e c   s p e c i f i e s   t h e   c o n f i g u r a t i o n   o f   a   p r i o r i t y   l e v e l .   e x e m p t   ( E x e m p t P r i o r i t y L e v e l C o n f i g u r a t i o n ) e x e m p t   s p e c i f i e s   h o w   r e q u e s t s   a r e   h a n d l e d   f o r   a n   e x e m p t   p r i o r i t y   l e v e l .   T h i s   f i e l d   M U S T   b e   e m p t y   i f   t y p e   i s   \" L i m i t e d \" .   T h i s   f i e l d   M A Y   b e   n o n - e m p t y   i f   t y p e   i s   \" E x e m p t \" .   I f   e m p t y   a n d   t y p e   i s   \" E x e m p t \"   t h e n   t h e   d e f a u l t   v a l u e s   f o r   E x e m p t P r i o r i t y L e v e l C o n f i g u r a t i o n   a p p l y . E x e m p t P r i o r i t y L e v e l C o n f i g u r a t i o n   d e s c r i b e s   t h e   c o n f i g u r a b l e   a s p e c t s   o f   t h e   h a n d l i n g   o f   e x e m p t   r e q u e s t s .   I n   t h e   m a n d a t o r y   e x e m p t   c o n f i g u r a t i o n   o b j e c t   t h e   v a l u e s   i n   t h e   f i e l d s   h e r e   c a n   b e   m o d i f i e d   b y   a u t h o r i z e d   u s e r s ,   u n l i k e   t h e   r e s t   o f   t h e   s p e c . e x e m p t . l e n d a b l e P e r c e n t   ( i n t 3 2 ) l e n d a b l e P e r c e n t   p r e s c r i b e s   t h e   f r a c t i o n   o f   t h e   l e v e l ' s   N o m i n a l C L   t h a t   c a n   b e   b o r r o w e d   b y   o t h e r   p r i o r i t y   l e v e l s .   T h i s   v a l u e   o f   t h i s   f i e l d   m u s t   b e   b e t w e e n   0   a n d   1 0 0 ,   i n c l u s i v e ,   a n d   i t   d e f a u l t s   t o   0 .   T h e   n u m b e r   o f   s e a t s   t h a t   o t h e r   l e v e l s   c a n   b o r r o w   f r o m   t h i s   l e v e l ,   k n o w n   a s   t h i s   l e v e l ' s   L e n d a b l e C o n c u r r e n c y L i m i t   ( L e n d a b l e C L ) ,   i s   d e f i n e d   a s   f o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_2_10969"
  },
  {
    "question": "What is PriorityLevelConfigurationStatus?",
    "answer": "P r i o r i t y L e v e l C o n f i g u r a t i o n S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t e   o f   a   \" r e q u e s t - p r i o r i t y \" .   c o n d i t i o n s   ( [ ] P r i o r i t y L e v e l C o n f i g u r a t i o n C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e c o n d i t i o n s   i s   t h e   c u r r e n t   s t a t e   o f   \" r e q u e s t - p r i o r i t y \" . P r i o r i t y L e v e l C o n f i g u r a t i o n C o n d i t i o n   d e f i n e s   t h e   c o n d i t i o n   o f   p r i o r i t y   l e v e l . c o n d i t i o n s . l a s t T r a n s i t i o n T i m e   ( T i m e ) l a s t T r a n s i t i o n T i m e   i s   t h e   l a s t   t i m e   t h e   c o n d i t i o n   t r a n s i t i o n e d   f r o m   o n e   s t a t u s   t o   a n o t h e r . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c o n d i t i o n s . m e s s a g e   ( s t r i n g ) m e s s a g e   i s   a   h u m a n - r e a d a b l e   m e s s a g e   i n d i c a t i n g   d e t a i l s   a b o u t   l a s t   t r a n s i t i o n . c o n d i t i o n s . r e a s o n   ( s t r i n g ) r e a s o n   i s   a   u n i q u e ,   o n e - w o r d ,   C a m e l C a s e   r e a s o n   f o r   t h e   c o n d i t i o n ' s   l a s t   t r a n s i t i o n . c o n d i t i o n s . s t a t u s   ( s t r i n g ) s t a t u s   i s   t h e   s t a t u s   o f   t h e   c o n d i t i o n .   C a n   b e   T r u e ,   F a l s e ,   U n k n o w n .   R e q u i r e d . c o n d i t i o n s . t y p e   ( s t r i n g ) t y p e   i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_2_10970"
  },
  {
    "question": "What is PriorityLevelConfigurationList?",
    "answer": "P r i o r i t y L e v e l C o n f i g u r a t i o n L i s t   i s   a   l i s t   o f   P r i o r i t y L e v e l C o n f i g u r a t i o n   o b j e c t s .   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 k i n d :   P r i o r i t y L e v e l C o n f i g u r a t i o n L i s t m e t a d a t a   ( L i s t M e t a ) m e t a d a t a   i s   t h e   s t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] P r i o r i t y L e v e l C o n f i g u r a t i o n ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   r e q u e s t - p r i o r i t i e s .   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   k i n d :   P r i o r i t y L e v e l C o n f i g u r a t i o n L i s t   m e t a d a t a   ( L i s t M e t a )   m e t a d a t a   i s   t h e   s t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] P r i o r i t y L e v e l C o n f i g u r a t i o n ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   r e q u e s t - p r i o r i t i e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_2_10971"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10972"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10973"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10974"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10975"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10976"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10977"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10978"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10979"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y L e v e l C o n f i g u r a t i o n L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10980"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10981"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   P r i o r i t y L e v e l C o n f i g u r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   P r i o r i t y L e v e l C o n f i g u r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10982"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   O K   2 0 1   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   C r e a t e d   2 0 2   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10983"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10984"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n b o d y :   P r i o r i t y L e v e l C o n f i g u r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   b o d y :   P r i o r i t y L e v e l C o n f i g u r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10985"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   O K   2 0 1   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10986"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10987"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n b o d y :   P r i o r i t y L e v e l C o n f i g u r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   b o d y :   P r i o r i t y L e v e l C o n f i g u r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10988"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   O K   2 0 1   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10989"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10990"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10991"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   O K   2 0 1   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10992"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10993"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10994"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   O K   2 0 1   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10995"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10996"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10997"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10998"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_10999"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_11000"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/priority-level-configuration-v1/",
    "id": "k8s_00580_section_4_11001"
  },
  {
    "question": "What is Pod Security Policies?",
    "answer": "Pod Security PoliciesRemoved featurePodSecurityPolicy was deprecated in Kubernetes v1.21, and removed from Kubernetes in v1.25.Instead of using PodSecurityPolicy, you can enforce similar restrictions on Pods using either or both:Pod Security Admissiona 3rd party admission plugin, that you deploy and configure yourselfFor a migration guide, see Migrate from PodSecurityPolicy to the Built-In PodSecurity Admission Controller. For more information on the removal of this API, see PodSecurityPolicy Deprecation: Past, Present, and Future.If you are not running Kubernetes v1.34, check the documentation for your version of Kubernetes.",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-policy/",
    "id": "k8s_00581_qa_11002"
  },
  {
    "question": "How does Pod Security Policies work?",
    "answer": "Pod Security PoliciesRemoved featurePodSecurityPolicy was deprecated in Kubernetes v1.21, and removed from Kubernetes in v1.25.Instead of using PodSecurityPolicy, you can enforce similar restrictions on Pods using either or both:Pod Security Admissiona 3rd party admission plugin, that you deploy and configure yourselfFor a migration guide, see Migrate from PodSecurityPolicy to the Built-In PodSecurity Admission Controller. For more information on the removal of this API, see PodSecurityPolicy Deprecation: Past, Present, and Future.If you are not running Kubernetes v1.34, check the documentation for your version of Kubernetes.",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-policy/",
    "id": "k8s_00581_qa_11003"
  },
  {
    "question": "When would you use Pod Security Policies?",
    "answer": "Pod Security PoliciesRemoved featurePodSecurityPolicy was deprecated in Kubernetes v1.21, and removed from Kubernetes in v1.25.Instead of using PodSecurityPolicy, you can enforce similar restrictions on Pods using either or both:Pod Security Admissiona 3rd party admission plugin, that you deploy and configure yourselfFor a migration guide, see Migrate from PodSecurityPolicy to the Built-In PodSecurity Admission Controller. For more information on the removal of this API, see PodSecurityPolicy Deprecation: Past, Present, and Future.If you are not running Kubernetes v1.34, check the documentation for your version of Kubernetes.",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-policy/",
    "id": "k8s_00581_qa_11004"
  },
  {
    "question": "What are the benefits of Pod Security Policies?",
    "answer": "Pod Security PoliciesRemoved featurePodSecurityPolicy was deprecated in Kubernetes v1.21, and removed from Kubernetes in v1.25.Instead of using PodSecurityPolicy, you can enforce similar restrictions on Pods using either or both:Pod Security Admissiona 3rd party admission plugin, that you deploy and configure yourselfFor a migration guide, see Migrate from PodSecurityPolicy to the Built-In PodSecurity Admission Controller. For more information on the removal of this API, see PodSecurityPolicy Deprecation: Past, Present, and Future.If you are not running Kubernetes v1.34, check the documentation for your version of Kubernetes.",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-policy/",
    "id": "k8s_00581_qa_11005"
  },
  {
    "question": "What is Removed feature?",
    "answer": "I n s t e a d   o f   u s i n g   P o d S e c u r i t y P o l i c y ,   y o u   c a n   e n f o r c e   s i m i l a r   r e s t r i c t i o n s   o n   P o d s   u s i n g   e i t h e r   o r   b o t h :   P o d   S e c u r i t y   A d m i s s i o n a   3 r d   p a r t y   a d m i s s i o n   p l u g i n ,   t h a t   y o u   d e p l o y   a n d   c o n f i g u r e   y o u r s e l f   F o r   a   m i g r a t i o n   g u i d e ,   s e e   M i g r a t e   f r o m   P o d S e c u r i t y P o l i c y   t o   t h e   B u i l t - I n   P o d S e c u r i t y   A d m i s s i o n   C o n t r o l l e r .   F o r   m o r e   i n f o r m a t i o n   o n   t h e   r e m o v a l   o f   t h i s   A P I ,   s e e   P o d S e c u r i t y P o l i c y   D e p r e c a t i o n :   P a s t ,   P r e s e n t ,   a n d   F u t u r e .   I f   y o u   a r e   n o t   r u n n i n g   K u b e r n e t e s   v 1 . 3 4 ,   c h e c k   t h e   d o c u m e n t a t i o n   f o r   y o u r   v e r s i o n   o f   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-policy/",
    "id": "k8s_00581_section_4_11006"
  },
  {
    "question": "What is Kubernetes External Metrics (v1beta1)?",
    "answer": "Kubernetes External Metrics (v1beta1)Package v1beta1 is the v1beta1 version of the external metrics API.Resource TypesExternalMetricValueExternalMetricValueListExternalMetricValueAppears in:ExternalMetricValueListExternalMetricValue is a metric value for external metric A single metric value is identified by metric name and a set of string labels. For one metric there can be multiple values with different sets of labels.FieldDescriptionapiVersionstringexternal.metrics.k8s.io/v1beta1kindstringExternalMetricValuemetricName [Required]stringthe name of the metricmetricLabels [Required]map[string]stringa set of labels that identify a single time series for the metrictimestamp [Required]meta/v1.Timeindicates the time at which the metrics were producedwindow [Required]int64indicates the window ([Timestamp-Window, Timestamp]) from which these metrics were calculated, when returning rate metrics calculated from cumulative metrics (or zero for non-calculated instantaneous metrics).value [Required]k8s.io/apimachinery/pkg/api/resource.Quantitythe value of the metricExternalMetricValueListExternalMetricValueList is a list of values for a given metric for some set labelsFieldDescriptionapiVersionstringexternal.metrics.k8s.io/v1beta1kindstringExternalMetricValueListmetadata [Required]meta/v1.ListMetaNo description provided.items [Required][]ExternalMetricValuevalue of the metric matching a given set of labelsThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/external-metrics.v1beta1/",
    "id": "k8s_00582_qa_11007"
  },
  {
    "question": "How does Kubernetes External Metrics (v1beta1) work?",
    "answer": "Kubernetes External Metrics (v1beta1)Package v1beta1 is the v1beta1 version of the external metrics API.Resource TypesExternalMetricValueExternalMetricValueListExternalMetricValueAppears in:ExternalMetricValueListExternalMetricValue is a metric value for external metric A single metric value is identified by metric name and a set of string labels. For one metric there can be multiple values with different sets of labels.FieldDescriptionapiVersionstringexternal.metrics.k8s.io/v1beta1kindstringExternalMetricValuemetricName [Required]stringthe name of the metricmetricLabels [Required]map[string]stringa set of labels that identify a single time series for the metrictimestamp [Required]meta/v1.Timeindicates the time at which the metrics were producedwindow [Required]int64indicates the window ([Timestamp-Window, Timestamp]) from which these metrics were calculated, when returning rate metrics calculated from cumulative metrics (or zero for non-calculated instantaneous metrics).value [Required]k8s.io/apimachinery/pkg/api/resource.Quantitythe value of the metricExternalMetricValueListExternalMetricValueList is a list of values for a given metric for some set labelsFieldDescriptionapiVersionstringexternal.metrics.k8s.io/v1beta1kindstringExternalMetricValueListmetadata [Required]meta/v1.ListMetaNo description provided.items [Required][]ExternalMetricValuevalue of the metric matching a given set of labelsThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/external-metrics.v1beta1/",
    "id": "k8s_00582_qa_11008"
  },
  {
    "question": "When would you use Kubernetes External Metrics (v1beta1)?",
    "answer": "Kubernetes External Metrics (v1beta1)Package v1beta1 is the v1beta1 version of the external metrics API.Resource TypesExternalMetricValueExternalMetricValueListExternalMetricValueAppears in:ExternalMetricValueListExternalMetricValue is a metric value for external metric A single metric value is identified by metric name and a set of string labels. For one metric there can be multiple values with different sets of labels.FieldDescriptionapiVersionstringexternal.metrics.k8s.io/v1beta1kindstringExternalMetricValuemetricName [Required]stringthe name of the metricmetricLabels [Required]map[string]stringa set of labels that identify a single time series for the metrictimestamp [Required]meta/v1.Timeindicates the time at which the metrics were producedwindow [Required]int64indicates the window ([Timestamp-Window, Timestamp]) from which these metrics were calculated, when returning rate metrics calculated from cumulative metrics (or zero for non-calculated instantaneous metrics).value [Required]k8s.io/apimachinery/pkg/api/resource.Quantitythe value of the metricExternalMetricValueListExternalMetricValueList is a list of values for a given metric for some set labelsFieldDescriptionapiVersionstringexternal.metrics.k8s.io/v1beta1kindstringExternalMetricValueListmetadata [Required]meta/v1.ListMetaNo description provided.items [Required][]ExternalMetricValuevalue of the metric matching a given set of labelsThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/external-metrics.v1beta1/",
    "id": "k8s_00582_qa_11009"
  },
  {
    "question": "What are the benefits of Kubernetes External Metrics (v1beta1)?",
    "answer": "Kubernetes External Metrics (v1beta1)Package v1beta1 is the v1beta1 version of the external metrics API.Resource TypesExternalMetricValueExternalMetricValueListExternalMetricValueAppears in:ExternalMetricValueListExternalMetricValue is a metric value for external metric A single metric value is identified by metric name and a set of string labels. For one metric there can be multiple values with different sets of labels.FieldDescriptionapiVersionstringexternal.metrics.k8s.io/v1beta1kindstringExternalMetricValuemetricName [Required]stringthe name of the metricmetricLabels [Required]map[string]stringa set of labels that identify a single time series for the metrictimestamp [Required]meta/v1.Timeindicates the time at which the metrics were producedwindow [Required]int64indicates the window ([Timestamp-Window, Timestamp]) from which these metrics were calculated, when returning rate metrics calculated from cumulative metrics (or zero for non-calculated instantaneous metrics).value [Required]k8s.io/apimachinery/pkg/api/resource.Quantitythe value of the metricExternalMetricValueListExternalMetricValueList is a list of values for a given metric for some set labelsFieldDescriptionapiVersionstringexternal.metrics.k8s.io/v1beta1kindstringExternalMetricValueListmetadata [Required]meta/v1.ListMetaNo description provided.items [Required][]ExternalMetricValuevalue of the metric matching a given set of labelsThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/external-metrics.v1beta1/",
    "id": "k8s_00582_qa_11010"
  },
  {
    "question": "What is Kubernetes External Metrics (v1beta1)?",
    "answer": "P a c k a g e   v 1 b e t a 1   i s   t h e   v 1 b e t a 1   v e r s i o n   o f   t h e   e x t e r n a l   m e t r i c s   A P I .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/external-metrics.v1beta1/",
    "id": "k8s_00582_section_1_11011"
  },
  {
    "question": "What is Resource Types?",
    "answer": "E x t e r n a l M e t r i c V a l u e E x t e r n a l M e t r i c V a l u e L i s t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/external-metrics.v1beta1/",
    "id": "k8s_00582_section_2_11012"
  },
  {
    "question": "What is ExternalMetricValue?",
    "answer": "A p p e a r s   i n :   E x t e r n a l M e t r i c V a l u e L i s t   E x t e r n a l M e t r i c V a l u e   i s   a   m e t r i c   v a l u e   f o r   e x t e r n a l   m e t r i c   A   s i n g l e   m e t r i c   v a l u e   i s   i d e n t i f i e d   b y   m e t r i c   n a m e   a n d   a   s e t   o f   s t r i n g   l a b e l s .   F o r   o n e   m e t r i c   t h e r e   c a n   b e   m u l t i p l e   v a l u e s   w i t h   d i f f e r e n t   s e t s   o f   l a b e l s .   t h e   n a m e   o f   t h e   m e t r i c   a   s e t   o f   l a b e l s   t h a t   i d e n t i f y   a   s i n g l e   t i m e   s e r i e s   f o r   t h e   m e t r i c   i n d i c a t e s   t h e   t i m e   a t   w h i c h   t h e   m e t r i c s   w e r e   p r o d u c e d   i n d i c a t e s   t h e   w i n d o w   ( [ T i m e s t a m p - W i n d o w ,   T i m e s t a m p ] )   f r o m   w h i c h   t h e s e   m e t r i c s   w e r e   c a l c u l a t e d ,   w h e n   r e t u r n i n g   r a t e   m e t r i c s   c a l c u l a t e d   f r o m   c u m u l a t i v e   m e t r i c s   ( o r   z e r o   f o r   n o n - c a l c u l a t e d   i n s t a n t a n e o u s   m e t r i c s ) .   t h e   v a l u e   o f   t h e   m e t r i c",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/external-metrics.v1beta1/",
    "id": "k8s_00582_section_2_11013"
  },
  {
    "question": "What is ExternalMetricValueList?",
    "answer": "E x t e r n a l M e t r i c V a l u e L i s t   i s   a   l i s t   o f   v a l u e s   f o r   a   g i v e n   m e t r i c   f o r   s o m e   s e t   l a b e l s   v a l u e   o f   t h e   m e t r i c   m a t c h i n g   a   g i v e n   s e t   o f   l a b e l s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/external-api/external-metrics.v1beta1/",
    "id": "k8s_00582_section_2_11014"
  },
  {
    "question": "What is Issue a Certificate for a Kubernetes API Client Using A CertificateSigningRequest?",
    "answer": "Issue a Certificate for a Kubernetes API Client Using A CertificateSigningRequestKubernetes lets you use a public key infrastructure (PKI) to authenticate to your cluster as a client.A few steps are required in order to get a normal user to be able to authenticate and invoke an API. First, this user must have an X.509 certificate issued by an authority that your Kubernetes cluster trusts. The client must then present that certificate to the Kubernetes API.You use a CertificateSigningRequest as part of this process, and either you or some other principal must approve the request.You will create a private key, and then get a certificate issued, and finally configure that private key for a client.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou need the kubectl, openssl and base64 utilities.This page assumes you are using Kubernetes role based access control (RBAC). If you have alternative or additional security mechanisms around authorization, you need to account for those as well.Create private keyIn this step, you create a private key. You need to keep this document secret; anyone who has it can impersonate the user.# Create a private key openssl genrsa -out myuser.key 3072 Create an X.509 certificate signing requestNote:This is not the same as the similarly-named CertificateSigningRequest API; the file you generate here goes into the CertificateSigningRequest.It is important to set CN and O attribute of the CSR. CN is the name of the user and O is the group that this user will belong to. You can refer to RBAC for standard groups.# Change the common name \"myuser\" to the actual username that you want to use openssl req -new -key myuser.key -out myuser.csr -subj \"/CN=myuser\" Create a Kubernetes CertificateSigningRequestEncode the CSR document using this command:cat myuser.csr | base64 | tr -d \"\\n\" Create a CertificateSigningRequest and submit it to a Kubernetes Cluster via kubectl. Below is a snippet of shell that you can use to generate the CertificateSigningRequest.cat <<EOF | kubectl apply -f - apiVersion: certificates.k8s.io/v1 kind: CertificateSigningRequest metadata: name: myuser # example spec: # This is an encoded CSR. Change this to the base64-encoded contents of myuser.csr request: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURSBSRVFVRVNULS0tLS0KTUlJQ1ZqQ0NBVDRDQVFBd0VURVBNQTBHQTFVRUF3d0dZVzVuWld4aE1JSUJJakFOQmdrcWhraUc5dzBCQVFFRgpBQU9DQVE4QU1JSUJDZ0tDQVFFQTByczhJTHRHdTYxakx2dHhWTTJSVlRWMDNHWlJTWWw0dWluVWo4RElaWjBOCnR2MUZtRVFSd3VoaUZsOFEzcWl0Qm0wMUFSMkNJVXBGd2ZzSjZ4MXF3ckJzVkhZbGlBNVhwRVpZM3ExcGswSDQKM3Z3aGJlK1o2MVNrVHF5SVBYUUwrTWM5T1Nsbm0xb0R2N0NtSkZNMUlMRVI3QTVGZnZKO",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/tls/certificate-issue-client-csr/",
    "id": "k8s_00583_qa_11015"
  },
  {
    "question": "How does Issue a Certificate for a Kubernetes API Client Using A CertificateSigningRequest work?",
    "answer": "Issue a Certificate for a Kubernetes API Client Using A CertificateSigningRequestKubernetes lets you use a public key infrastructure (PKI) to authenticate to your cluster as a client.A few steps are required in order to get a normal user to be able to authenticate and invoke an API. First, this user must have an X.509 certificate issued by an authority that your Kubernetes cluster trusts. The client must then present that certificate to the Kubernetes API.You use a CertificateSigningRequest as part of this process, and either you or some other principal must approve the request.You will create a private key, and then get a certificate issued, and finally configure that private key for a client.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou need the kubectl, openssl and base64 utilities.This page assumes you are using Kubernetes role based access control (RBAC). If you have alternative or additional security mechanisms around authorization, you need to account for those as well.Create private keyIn this step, you create a private key. You need to keep this document secret; anyone who has it can impersonate the user.# Create a private key openssl genrsa -out myuser.key 3072 Create an X.509 certificate signing requestNote:This is not the same as the similarly-named CertificateSigningRequest API; the file you generate here goes into the CertificateSigningRequest.It is important to set CN and O attribute of the CSR. CN is the name of the user and O is the group that this user will belong to. You can refer to RBAC for standard groups.# Change the common name \"myuser\" to the actual username that you want to use openssl req -new -key myuser.key -out myuser.csr -subj \"/CN=myuser\" Create a Kubernetes CertificateSigningRequestEncode the CSR document using this command:cat myuser.csr | base64 | tr -d \"\\n\" Create a CertificateSigningRequest and submit it to a Kubernetes Cluster via kubectl. Below is a snippet of shell that you can use to generate the CertificateSigningRequest.cat <<EOF | kubectl apply -f - apiVersion: certificates.k8s.io/v1 kind: CertificateSigningRequest metadata: name: myuser # example spec: # This is an encoded CSR. Change this to the base64-encoded contents of myuser.csr request: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURSBSRVFVRVNULS0tLS0KTUlJQ1ZqQ0NBVDRDQVFBd0VURVBNQTBHQTFVRUF3d0dZVzVuWld4aE1JSUJJakFOQmdrcWhraUc5dzBCQVFFRgpBQU9DQVE4QU1JSUJDZ0tDQVFFQTByczhJTHRHdTYxakx2dHhWTTJSVlRWMDNHWlJTWWw0dWluVWo4RElaWjBOCnR2MUZtRVFSd3VoaUZsOFEzcWl0Qm0wMUFSMkNJVXBGd2ZzSjZ4MXF3ckJzVkhZbGlBNVhwRVpZM3ExcGswSDQKM3Z3aGJlK1o2MVNrVHF5SVBYUUwrTWM5T1Nsbm0xb0R2N0NtSkZNMUlMRVI3QTVGZnZKO",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/tls/certificate-issue-client-csr/",
    "id": "k8s_00583_qa_11016"
  },
  {
    "question": "When would you use Issue a Certificate for a Kubernetes API Client Using A CertificateSigningRequest?",
    "answer": "Issue a Certificate for a Kubernetes API Client Using A CertificateSigningRequestKubernetes lets you use a public key infrastructure (PKI) to authenticate to your cluster as a client.A few steps are required in order to get a normal user to be able to authenticate and invoke an API. First, this user must have an X.509 certificate issued by an authority that your Kubernetes cluster trusts. The client must then present that certificate to the Kubernetes API.You use a CertificateSigningRequest as part of this process, and either you or some other principal must approve the request.You will create a private key, and then get a certificate issued, and finally configure that private key for a client.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou need the kubectl, openssl and base64 utilities.This page assumes you are using Kubernetes role based access control (RBAC). If you have alternative or additional security mechanisms around authorization, you need to account for those as well.Create private keyIn this step, you create a private key. You need to keep this document secret; anyone who has it can impersonate the user.# Create a private key openssl genrsa -out myuser.key 3072 Create an X.509 certificate signing requestNote:This is not the same as the similarly-named CertificateSigningRequest API; the file you generate here goes into the CertificateSigningRequest.It is important to set CN and O attribute of the CSR. CN is the name of the user and O is the group that this user will belong to. You can refer to RBAC for standard groups.# Change the common name \"myuser\" to the actual username that you want to use openssl req -new -key myuser.key -out myuser.csr -subj \"/CN=myuser\" Create a Kubernetes CertificateSigningRequestEncode the CSR document using this command:cat myuser.csr | base64 | tr -d \"\\n\" Create a CertificateSigningRequest and submit it to a Kubernetes Cluster via kubectl. Below is a snippet of shell that you can use to generate the CertificateSigningRequest.cat <<EOF | kubectl apply -f - apiVersion: certificates.k8s.io/v1 kind: CertificateSigningRequest metadata: name: myuser # example spec: # This is an encoded CSR. Change this to the base64-encoded contents of myuser.csr request: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURSBSRVFVRVNULS0tLS0KTUlJQ1ZqQ0NBVDRDQVFBd0VURVBNQTBHQTFVRUF3d0dZVzVuWld4aE1JSUJJakFOQmdrcWhraUc5dzBCQVFFRgpBQU9DQVE4QU1JSUJDZ0tDQVFFQTByczhJTHRHdTYxakx2dHhWTTJSVlRWMDNHWlJTWWw0dWluVWo4RElaWjBOCnR2MUZtRVFSd3VoaUZsOFEzcWl0Qm0wMUFSMkNJVXBGd2ZzSjZ4MXF3ckJzVkhZbGlBNVhwRVpZM3ExcGswSDQKM3Z3aGJlK1o2MVNrVHF5SVBYUUwrTWM5T1Nsbm0xb0R2N0NtSkZNMUlMRVI3QTVGZnZKO",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/tls/certificate-issue-client-csr/",
    "id": "k8s_00583_qa_11017"
  },
  {
    "question": "What are the benefits of Issue a Certificate for a Kubernetes API Client Using A CertificateSigningRequest?",
    "answer": "Issue a Certificate for a Kubernetes API Client Using A CertificateSigningRequestKubernetes lets you use a public key infrastructure (PKI) to authenticate to your cluster as a client.A few steps are required in order to get a normal user to be able to authenticate and invoke an API. First, this user must have an X.509 certificate issued by an authority that your Kubernetes cluster trusts. The client must then present that certificate to the Kubernetes API.You use a CertificateSigningRequest as part of this process, and either you or some other principal must approve the request.You will create a private key, and then get a certificate issued, and finally configure that private key for a client.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou need the kubectl, openssl and base64 utilities.This page assumes you are using Kubernetes role based access control (RBAC). If you have alternative or additional security mechanisms around authorization, you need to account for those as well.Create private keyIn this step, you create a private key. You need to keep this document secret; anyone who has it can impersonate the user.# Create a private key openssl genrsa -out myuser.key 3072 Create an X.509 certificate signing requestNote:This is not the same as the similarly-named CertificateSigningRequest API; the file you generate here goes into the CertificateSigningRequest.It is important to set CN and O attribute of the CSR. CN is the name of the user and O is the group that this user will belong to. You can refer to RBAC for standard groups.# Change the common name \"myuser\" to the actual username that you want to use openssl req -new -key myuser.key -out myuser.csr -subj \"/CN=myuser\" Create a Kubernetes CertificateSigningRequestEncode the CSR document using this command:cat myuser.csr | base64 | tr -d \"\\n\" Create a CertificateSigningRequest and submit it to a Kubernetes Cluster via kubectl. Below is a snippet of shell that you can use to generate the CertificateSigningRequest.cat <<EOF | kubectl apply -f - apiVersion: certificates.k8s.io/v1 kind: CertificateSigningRequest metadata: name: myuser # example spec: # This is an encoded CSR. Change this to the base64-encoded contents of myuser.csr request: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURSBSRVFVRVNULS0tLS0KTUlJQ1ZqQ0NBVDRDQVFBd0VURVBNQTBHQTFVRUF3d0dZVzVuWld4aE1JSUJJakFOQmdrcWhraUc5dzBCQVFFRgpBQU9DQVE4QU1JSUJDZ0tDQVFFQTByczhJTHRHdTYxakx2dHhWTTJSVlRWMDNHWlJTWWw0dWluVWo4RElaWjBOCnR2MUZtRVFSd3VoaUZsOFEzcWl0Qm0wMUFSMkNJVXBGd2ZzSjZ4MXF3ckJzVkhZbGlBNVhwRVpZM3ExcGswSDQKM3Z3aGJlK1o2MVNrVHF5SVBYUUwrTWM5T1Nsbm0xb0R2N0NtSkZNMUlMRVI3QTVGZnZKO",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/tls/certificate-issue-client-csr/",
    "id": "k8s_00583_qa_11018"
  },
  {
    "question": "What is Issue a Certificate for a Kubernetes API Client Using A CertificateSigningRequest?",
    "answer": "K u b e r n e t e s   l e t s   y o u   u s e   a   p u b l i c   k e y   i n f r a s t r u c t u r e   ( P K I )   t o   a u t h e n t i c a t e   t o   y o u r   c l u s t e r   a s   a   c l i e n t .   A   f e w   s t e p s   a r e   r e q u i r e d   i n   o r d e r   t o   g e t   a   n o r m a l   u s e r   t o   b e   a b l e   t o   a u t h e n t i c a t e   a n d   i n v o k e   a n   A P I .   F i r s t ,   t h i s   u s e r   m u s t   h a v e   a n   X . 5 0 9   c e r t i f i c a t e   i s s u e d   b y   a n   a u t h o r i t y   t h a t   y o u r   K u b e r n e t e s   c l u s t e r   t r u s t s .   T h e   c l i e n t   m u s t   t h e n   p r e s e n t   t h a t   c e r t i f i c a t e   t o   t h e   K u b e r n e t e s   A P I .   Y o u   u s e   a   C e r t i f i c a t e S i g n i n g R e q u e s t   a s   p a r t   o f   t h i s   p r o c e s s ,   a n d   e i t h e r   y o u   o r   s o m e   o t h e r   p r i n c i p a l   m u s t   a p p r o v e   t h e   r e q u e s t .   Y o u   w i l l   c r e a t e   a   p r i v a t e   k e y ,   a n d   t h e n   g e t   a   c e r t i f i c a t e   i s s u e d ,   a n d   f i n a l l y   c o n f i g u r e   t h a t   p r i v a t e   k e y   f o r   a   c l i e n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/tls/certificate-issue-client-csr/",
    "id": "k8s_00583_section_1_11019"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u   n e e d   t h e   k u b e c t l ,   o p e n s s l   a n d   b a s e 6 4   u t i l i t i e s .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   n e e d   t h e   k u b e c t l ,   o p e n s s l   a n d   b a s e 6 4   u t i l i t i e s .   T h i s   p a g e   a s s u m e s   y o u   a r e   u s i n g   K u b e r n e t e s   r o l e   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/tls/certificate-issue-client-csr/",
    "id": "k8s_00583_section_2_11020"
  },
  {
    "question": "What is Create private key?",
    "answer": "I n   t h i s   s t e p ,   y o u   c r e a t e   a   p r i v a t e   k e y .   Y o u   n e e d   t o   k e e p   t h i s   d o c u m e n t   s e c r e t ;   a n y o n e   w h o   h a s   i t   c a n   i m p e r s o n a t e   t h e   u s e r .   #   C r e a t e   a   p r i v a t e   k e y   o p e n s s l   g e n r s a   - o u t   m y u s e r . k e y   3 0 7 2",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/tls/certificate-issue-client-csr/",
    "id": "k8s_00583_section_2_11021"
  },
  {
    "question": "What is Note:?",
    "answer": "I t   i s   i m p o r t a n t   t o   s e t   C N   a n d   O   a t t r i b u t e   o f   t h e   C S R .   C N   i s   t h e   n a m e   o f   t h e   u s e r   a n d   O   i s   t h e   g r o u p   t h a t   t h i s   u s e r   w i l l   b e l o n g   t o .   Y o u   c a n   r e f e r   t o   R B A C   f o r   s t a n d a r d   g r o u p s .   #   C h a n g e   t h e   c o m m o n   n a m e   \" m y u s e r \"   t o   t h e   a c t u a l   u s e r n a m e   t h a t   y o u   w a n t   t o   u s e   o p e n s s l   r e q   - n e w   - k e y   m y u s e r . k e y   - o u t   m y u s e r . c s r   - s u b j   \" / C N = m y u s e r \"",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/tls/certificate-issue-client-csr/",
    "id": "k8s_00583_section_4_11022"
  },
  {
    "question": "What is Create a Kubernetes CertificateSigningRequest?",
    "answer": "E n c o d e   t h e   C S R   d o c u m e n t   u s i n g   t h i s   c o m m a n d :   c a t   m y u s e r . c s r   |   b a s e 6 4   |   t r   - d   \" \\ n \"   C r e a t e   a   C e r t i f i c a t e S i g n i n g R e q u e s t   a n d   s u b m i t   i t   t o   a   K u b e r n e t e s   C l u s t e r   v i a   k u b e c t l .   B e l o w   i s   a   s n i p p e t   o f   s h e l l   t h a t   y o u   c a n   u s e   t o   g e n e r a t e   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t .   c a t   < < E O F   |   k u b e c t l   a p p l y   - f   -   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1   k i n d :   C e r t i f i c a t e S i g n i n g R e q u e s t   m e t a d a t a :   n a m e :   m y u s e r   #   e x a m p l e   s p e c :   #   T h i s   i s   a n   e n c o d e d   C S R .   C h a n g e   t h i s   t o   t h e   b a s e 6 4 - e n c o d e d   c o n t e n t s   o f   m y u s e r . c s r   r e q u e s t :   L S 0 t L S 1 C R U d J T i B D R V J U S U Z J Q 0 F U R S B S R V F V R V N U L S 0 t L S 0 K T U l J Q 1 Z q Q 0 N B V D R D Q V F B d 0 V U R V B N Q T B H Q T F V R U F 3 d 0 d Z V z V u W l d 4 a E 1 J S U J J a k F O Q m d r c W h r a U c 5 d z B C Q V F F R g p B Q U 9 D Q V E 4 Q U 1 J S U J D Z 0 t D Q V F F Q T B y c z h J T H R H d T Y x a k x 2 d H h W T T J S V l R W M D N H W l J T W W w 0 d W l u V W o 4 R E l a W j B O C n R 2 M U Z t R V F S d 3 V o a U Z s O F E z c W l 0 Q m 0 w M U F S M k N J V X B G d 2 Z z S j Z 4 M X F 3 c k J z V k h Z b G l B N V h w R V p Z M 3 E x c G s w S D Q K M 3 Z 3 a G J l K 1 o 2 M V N r V H F 5 S V B Y U U w r T W M 5 T 1 N s b m 0 x b 0 R 2 N 0 N t S k Z N M U l M R V I 3 Q T V G Z n Z K O E d F R j J 6 d H B o a U l F M w p u b 1 d t d H N Z b 3 J u T 2 w z c 2 l H Q 2 Z G Z z R 4 Z m d 4 e W 8 y b m l n e F N V e k l 1 b X N n V m 9 P M 2 t t T 0 x 1 R V F 6 c X p k a k J 3 T F J X b W l E C k l m M X B M W n o y a l V n a l d 4 U k h C M 1 g y W n V V V 1 d 1 ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/tls/certificate-issue-client-csr/",
    "id": "k8s_00583_section_2_11023"
  },
  {
    "question": "What is Approve the CertificateSigningRequest?",
    "answer": "U s e   k u b e c t l   t o   f i n d   t h e   C S R   y o u   m a d e ,   a n d   m a n u a l l y   a p p r o v e   i t .   G e t   t h e   l i s t   o f   C S R s :   k u b e c t l   g e t   c s r   A p p r o v e   t h e   C S R :   k u b e c t l   c e r t i f i c a t e   a p p r o v e   m y u s e r",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/tls/certificate-issue-client-csr/",
    "id": "k8s_00583_section_2_11024"
  },
  {
    "question": "What is Get the certificate?",
    "answer": "R e t r i e v e   t h e   c e r t i f i c a t e   f r o m   t h e   C S R ,   t o   c h e c k   i t   l o o k s   O K .   k u b e c t l   g e t   c s r / m y u s e r   - o   y a m l   T h e   c e r t i f i c a t e   v a l u e   i s   i n   B a s e 6 4 - e n c o d e d   f o r m a t   u n d e r   . s t a t u s . c e r t i f i c a t e .   E x p o r t   t h e   i s s u e d   c e r t i f i c a t e   f r o m   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t .   k u b e c t l   g e t   c s r   m y u s e r   - o   j s o n p a t h = ' { . s t a t u s . c e r t i f i c a t e } ' |   b a s e 6 4   - d   >   m y u s e r . c r t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/tls/certificate-issue-client-csr/",
    "id": "k8s_00583_section_2_11025"
  },
  {
    "question": "What is Configure the certificate into kubeconfig?",
    "answer": "T h e   n e x t   s t e p   i s   t o   a d d   t h i s   u s e r   i n t o   t h e   k u b e c o n f i g   f i l e .   F i r s t ,   y o u   n e e d   t o   a d d   n e w   c r e d e n t i a l s :   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   m y u s e r   - - c l i e n t - k e y = m y u s e r . k e y   - - c l i e n t - c e r t i f i c a t e = m y u s e r . c r t   - - e m b e d - c e r t s = t r u e   T h e n ,   y o u   n e e d   t o   a d d   t h e   c o n t e x t :   k u b e c t l   c o n f i g   s e t - c o n t e x t   m y u s e r   - - c l u s t e r = k u b e r n e t e s   - - u s e r = m y u s e r   T o   t e s t   i t :   k u b e c t l   - - c o n t e x t   m y u s e r   a u t h   w h o a m i   Y o u   s h o u l d   s e e   o u t p u t   c o n f i r m i n g   t h a t   y o u   a r e   “ m y u s e r “ .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/tls/certificate-issue-client-csr/",
    "id": "k8s_00583_section_2_11026"
  },
  {
    "question": "What is Note:?",
    "answer": "W i t h   t h e   c e r t i f i c a t e   c r e a t e d   i t   i s   t i m e   t o   d e f i n e   t h e   R o l e   a n d   R o l e B i n d i n g   f o r   t h i s   u s e r   t o   a c c e s s   K u b e r n e t e s   c l u s t e r   r e s o u r c e s .   T h i s   i s   a   s a m p l e   c o m m a n d   t o   c r e a t e   a   R o l e   f o r   t h i s   n e w   u s e r :   k u b e c t l   c r e a t e   r o l e   d e v e l o p e r   - - v e r b = c r e a t e   - - v e r b = g e t   - - v e r b = l i s t   - - v e r b = u p d a t e   - - v e r b = d e l e t e   - - r e s o u r c e = p o d s   T h i s   i s   a   s a m p l e   c o m m a n d   t o   c r e a t e   a   R o l e B i n d i n g   f o r   t h i s   n e w   u s e r :   k u b e c t l   c r e a t e   r o l e b i n d i n g   d e v e l o p e r - b i n d i n g - m y u s e r   - - r o l e = d e v e l o p e r   - - u s e r = m y u s e r",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/tls/certificate-issue-client-csr/",
    "id": "k8s_00583_section_4_11027"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   M a n a g e   T L S   C e r t i f i c a t e s   i n   a   C l u s t e r F o r   d e t a i l s   o f   X . 5 0 9   i t s e l f ,   r e f e r   t o   R F C   5 2 8 0   s e c t i o n   3 . 1 F o r   i n f o r m a t i o n   o n   t h e   s y n t a x   o f   P K C S # 1 0   c e r t i f i c a t e   s i g n i n g   r e q u e s t s ,   r e f e r   t o   R F C   2 9 8 6 R e a d   a b o u t   C l u s t e r T r u s t B u n d l e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/tls/certificate-issue-client-csr/",
    "id": "k8s_00583_section_2_11028"
  },
  {
    "question": "What is Node Status?",
    "answer": "Node StatusThe status of a node in Kubernetes is a critical aspect of managing a Kubernetes cluster. In this article, we'll cover the basics of monitoring and maintaining node status to ensure a healthy and stable cluster.Node status fieldsA Node's status contains the following information:AddressesConditionsCapacity and AllocatableInfoYou can use kubectl to view a Node's status and other details:kubectl describe node <insert-node-name-here> Each section of the output is described below.AddressesThe usage of these fields varies depending on your cloud provider or bare metal configuration.HostName: The hostname as reported by the node's kernel. Can be overridden via the kubelet --hostname-override parameter.ExternalIP: Typically the IP address of the node that is externally routable (available from outside the cluster).InternalIP: Typically the IP address of the node that is routable only within the cluster.ConditionsThe conditions field describes the status of all Running nodes. Examples of conditions include:Node conditions, and a description of when each condition applies.Node ConditionDescriptionReadyTrue if the node is healthy and ready to accept pods, False if the node is not healthy and is not accepting pods, and Unknown if the node controller has not heard from the node in the last node-monitor-grace-period (default is 50 seconds)DiskPressureTrue if pressure exists on the disk size—that is, if the disk capacity is low; otherwise FalseMemoryPressureTrue if pressure exists on the node memory—that is, if the node memory is low; otherwise FalsePIDPressureTrue if pressure exists on the processes—that is, if there are too many processes on the node; otherwise FalseNetworkUnavailableTrue if the network for the node is not correctly configured, otherwise FalseNote:If you use command-line tools to print details of a cordoned Node, the Condition includes SchedulingDisabled. SchedulingDisabled is not a Condition in the Kubernetes API; instead, cordoned nodes are marked Unschedulable in their spec.In the Kubernetes API, a node's condition is represented as part of the .status of the Node resource. For example, the following JSON structure describes a healthy node:\"conditions\": [ { \"type\": \"Ready\", \"status\": \"True\", \"reason\": \"KubeletReady\", \"message\": \"kubelet is posting ready status\", \"lastHeartbeatTime\": \"2019-06-05T18:38:35Z\", \"lastTransitionTime\": \"2019-06-05T11:41:27Z\" } ] When problems occur on nodes, the Kubernetes control plane automatically creates taints that match the conditions affecting the node. An example of this is when the status of the Ready condition remains Unknown or False for longer than the kube-controller-manager's NodeMonitorGracePeriod, which defaults to 50 seconds. This will cause either an node.kubernetes.io/unreachable taint, for an Unknown status, or a node.kubernetes.io/not-ready taint, for a False status, to be added to the Node.These taints affect pending pods as the scheduler takes the Node's taints into consideration",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/node-status/",
    "id": "k8s_00584_qa_11029"
  },
  {
    "question": "How does Node Status work?",
    "answer": "Node StatusThe status of a node in Kubernetes is a critical aspect of managing a Kubernetes cluster. In this article, we'll cover the basics of monitoring and maintaining node status to ensure a healthy and stable cluster.Node status fieldsA Node's status contains the following information:AddressesConditionsCapacity and AllocatableInfoYou can use kubectl to view a Node's status and other details:kubectl describe node <insert-node-name-here> Each section of the output is described below.AddressesThe usage of these fields varies depending on your cloud provider or bare metal configuration.HostName: The hostname as reported by the node's kernel. Can be overridden via the kubelet --hostname-override parameter.ExternalIP: Typically the IP address of the node that is externally routable (available from outside the cluster).InternalIP: Typically the IP address of the node that is routable only within the cluster.ConditionsThe conditions field describes the status of all Running nodes. Examples of conditions include:Node conditions, and a description of when each condition applies.Node ConditionDescriptionReadyTrue if the node is healthy and ready to accept pods, False if the node is not healthy and is not accepting pods, and Unknown if the node controller has not heard from the node in the last node-monitor-grace-period (default is 50 seconds)DiskPressureTrue if pressure exists on the disk size—that is, if the disk capacity is low; otherwise FalseMemoryPressureTrue if pressure exists on the node memory—that is, if the node memory is low; otherwise FalsePIDPressureTrue if pressure exists on the processes—that is, if there are too many processes on the node; otherwise FalseNetworkUnavailableTrue if the network for the node is not correctly configured, otherwise FalseNote:If you use command-line tools to print details of a cordoned Node, the Condition includes SchedulingDisabled. SchedulingDisabled is not a Condition in the Kubernetes API; instead, cordoned nodes are marked Unschedulable in their spec.In the Kubernetes API, a node's condition is represented as part of the .status of the Node resource. For example, the following JSON structure describes a healthy node:\"conditions\": [ { \"type\": \"Ready\", \"status\": \"True\", \"reason\": \"KubeletReady\", \"message\": \"kubelet is posting ready status\", \"lastHeartbeatTime\": \"2019-06-05T18:38:35Z\", \"lastTransitionTime\": \"2019-06-05T11:41:27Z\" } ] When problems occur on nodes, the Kubernetes control plane automatically creates taints that match the conditions affecting the node. An example of this is when the status of the Ready condition remains Unknown or False for longer than the kube-controller-manager's NodeMonitorGracePeriod, which defaults to 50 seconds. This will cause either an node.kubernetes.io/unreachable taint, for an Unknown status, or a node.kubernetes.io/not-ready taint, for a False status, to be added to the Node.These taints affect pending pods as the scheduler takes the Node's taints into consideration",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/node-status/",
    "id": "k8s_00584_qa_11030"
  },
  {
    "question": "When would you use Node Status?",
    "answer": "Node StatusThe status of a node in Kubernetes is a critical aspect of managing a Kubernetes cluster. In this article, we'll cover the basics of monitoring and maintaining node status to ensure a healthy and stable cluster.Node status fieldsA Node's status contains the following information:AddressesConditionsCapacity and AllocatableInfoYou can use kubectl to view a Node's status and other details:kubectl describe node <insert-node-name-here> Each section of the output is described below.AddressesThe usage of these fields varies depending on your cloud provider or bare metal configuration.HostName: The hostname as reported by the node's kernel. Can be overridden via the kubelet --hostname-override parameter.ExternalIP: Typically the IP address of the node that is externally routable (available from outside the cluster).InternalIP: Typically the IP address of the node that is routable only within the cluster.ConditionsThe conditions field describes the status of all Running nodes. Examples of conditions include:Node conditions, and a description of when each condition applies.Node ConditionDescriptionReadyTrue if the node is healthy and ready to accept pods, False if the node is not healthy and is not accepting pods, and Unknown if the node controller has not heard from the node in the last node-monitor-grace-period (default is 50 seconds)DiskPressureTrue if pressure exists on the disk size—that is, if the disk capacity is low; otherwise FalseMemoryPressureTrue if pressure exists on the node memory—that is, if the node memory is low; otherwise FalsePIDPressureTrue if pressure exists on the processes—that is, if there are too many processes on the node; otherwise FalseNetworkUnavailableTrue if the network for the node is not correctly configured, otherwise FalseNote:If you use command-line tools to print details of a cordoned Node, the Condition includes SchedulingDisabled. SchedulingDisabled is not a Condition in the Kubernetes API; instead, cordoned nodes are marked Unschedulable in their spec.In the Kubernetes API, a node's condition is represented as part of the .status of the Node resource. For example, the following JSON structure describes a healthy node:\"conditions\": [ { \"type\": \"Ready\", \"status\": \"True\", \"reason\": \"KubeletReady\", \"message\": \"kubelet is posting ready status\", \"lastHeartbeatTime\": \"2019-06-05T18:38:35Z\", \"lastTransitionTime\": \"2019-06-05T11:41:27Z\" } ] When problems occur on nodes, the Kubernetes control plane automatically creates taints that match the conditions affecting the node. An example of this is when the status of the Ready condition remains Unknown or False for longer than the kube-controller-manager's NodeMonitorGracePeriod, which defaults to 50 seconds. This will cause either an node.kubernetes.io/unreachable taint, for an Unknown status, or a node.kubernetes.io/not-ready taint, for a False status, to be added to the Node.These taints affect pending pods as the scheduler takes the Node's taints into consideration",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/node-status/",
    "id": "k8s_00584_qa_11031"
  },
  {
    "question": "What are the benefits of Node Status?",
    "answer": "Node StatusThe status of a node in Kubernetes is a critical aspect of managing a Kubernetes cluster. In this article, we'll cover the basics of monitoring and maintaining node status to ensure a healthy and stable cluster.Node status fieldsA Node's status contains the following information:AddressesConditionsCapacity and AllocatableInfoYou can use kubectl to view a Node's status and other details:kubectl describe node <insert-node-name-here> Each section of the output is described below.AddressesThe usage of these fields varies depending on your cloud provider or bare metal configuration.HostName: The hostname as reported by the node's kernel. Can be overridden via the kubelet --hostname-override parameter.ExternalIP: Typically the IP address of the node that is externally routable (available from outside the cluster).InternalIP: Typically the IP address of the node that is routable only within the cluster.ConditionsThe conditions field describes the status of all Running nodes. Examples of conditions include:Node conditions, and a description of when each condition applies.Node ConditionDescriptionReadyTrue if the node is healthy and ready to accept pods, False if the node is not healthy and is not accepting pods, and Unknown if the node controller has not heard from the node in the last node-monitor-grace-period (default is 50 seconds)DiskPressureTrue if pressure exists on the disk size—that is, if the disk capacity is low; otherwise FalseMemoryPressureTrue if pressure exists on the node memory—that is, if the node memory is low; otherwise FalsePIDPressureTrue if pressure exists on the processes—that is, if there are too many processes on the node; otherwise FalseNetworkUnavailableTrue if the network for the node is not correctly configured, otherwise FalseNote:If you use command-line tools to print details of a cordoned Node, the Condition includes SchedulingDisabled. SchedulingDisabled is not a Condition in the Kubernetes API; instead, cordoned nodes are marked Unschedulable in their spec.In the Kubernetes API, a node's condition is represented as part of the .status of the Node resource. For example, the following JSON structure describes a healthy node:\"conditions\": [ { \"type\": \"Ready\", \"status\": \"True\", \"reason\": \"KubeletReady\", \"message\": \"kubelet is posting ready status\", \"lastHeartbeatTime\": \"2019-06-05T18:38:35Z\", \"lastTransitionTime\": \"2019-06-05T11:41:27Z\" } ] When problems occur on nodes, the Kubernetes control plane automatically creates taints that match the conditions affecting the node. An example of this is when the status of the Ready condition remains Unknown or False for longer than the kube-controller-manager's NodeMonitorGracePeriod, which defaults to 50 seconds. This will cause either an node.kubernetes.io/unreachable taint, for an Unknown status, or a node.kubernetes.io/not-ready taint, for a False status, to be added to the Node.These taints affect pending pods as the scheduler takes the Node's taints into consideration",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/node-status/",
    "id": "k8s_00584_qa_11032"
  },
  {
    "question": "What is Node Status?",
    "answer": "T h e   s t a t u s   o f   a   n o d e   i n   K u b e r n e t e s   i s   a   c r i t i c a l   a s p e c t   o f   m a n a g i n g   a   K u b e r n e t e s   c l u s t e r .   I n   t h i s   a r t i c l e ,   w e ' l l   c o v e r   t h e   b a s i c s   o f   m o n i t o r i n g   a n d   m a i n t a i n i n g   n o d e   s t a t u s   t o   e n s u r e   a   h e a l t h y   a n d   s t a b l e   c l u s t e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/node-status/",
    "id": "k8s_00584_section_1_11033"
  },
  {
    "question": "What is Node status fields?",
    "answer": "A   N o d e ' s   s t a t u s   c o n t a i n s   t h e   f o l l o w i n g   i n f o r m a t i o n :   A d d r e s s e s C o n d i t i o n s C a p a c i t y   a n d   A l l o c a t a b l e I n f o   Y o u   c a n   u s e   k u b e c t l   t o   v i e w   a   N o d e ' s   s t a t u s   a n d   o t h e r   d e t a i l s :   k u b e c t l   d e s c r i b e   n o d e   < i n s e r t - n o d e - n a m e - h e r e >   E a c h   s e c t i o n   o f   t h e   o u t p u t   i s   d e s c r i b e d   b e l o w .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/node-status/",
    "id": "k8s_00584_section_2_11034"
  },
  {
    "question": "What is Addresses?",
    "answer": "T h e   u s a g e   o f   t h e s e   f i e l d s   v a r i e s   d e p e n d i n g   o n   y o u r   c l o u d   p r o v i d e r   o r   b a r e   m e t a l   c o n f i g u r a t i o n .   H o s t N a m e :   T h e   h o s t n a m e   a s   r e p o r t e d   b y   t h e   n o d e ' s   k e r n e l .   C a n   b e   o v e r r i d d e n   v i a   t h e   k u b e l e t   - - h o s t n a m e - o v e r r i d e   p a r a m e t e r . E x t e r n a l I P :   T y p i c a l l y   t h e   I P   a d d r e s s   o f   t h e   n o d e   t h a t   i s   e x t e r n a l l y   r o u t a b l e   ( a v a i l a b l e   f r o m   o u t s i d e   t h e   c l u s t e r ) . I n t e r n a l I P :   T y p i c a l l y   t h e   I P   a d d r e s s   o f   t h e   n o d e   t h a t   i s   r o u t a b l e   o n l y   w i t h i n   t h e   c l u s t e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/node-status/",
    "id": "k8s_00584_section_2_11035"
  },
  {
    "question": "What is Conditions?",
    "answer": "T h e   c o n d i t i o n s   f i e l d   d e s c r i b e s   t h e   s t a t u s   o f   a l l   R u n n i n g   n o d e s .   E x a m p l e s   o f   c o n d i t i o n s   i n c l u d e :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/node-status/",
    "id": "k8s_00584_section_2_11036"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   t h e   K u b e r n e t e s   A P I ,   a   n o d e ' s   c o n d i t i o n   i s   r e p r e s e n t e d   a s   p a r t   o f   t h e   . s t a t u s   o f   t h e   N o d e   r e s o u r c e .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   J S O N   s t r u c t u r e   d e s c r i b e s   a   h e a l t h y   n o d e :   \" c o n d i t i o n s \" :   [   {   \" t y p e \" :   \" R e a d y \" ,   \" s t a t u s \" :   \" T r u e \" ,   \" r e a s o n \" :   \" K u b e l e t R e a d y \" ,   \" m e s s a g e \" :   \" k u b e l e t   i s   p o s t i n g   r e a d y   s t a t u s \" ,   \" l a s t H e a r t b e a t T i m e \" :   \" 2 0 1 9 - 0 6 - 0 5 T 1 8 : 3 8 : 3 5 Z \" ,   \" l a s t T r a n s i t i o n T i m e \" :   \" 2 0 1 9 - 0 6 - 0 5 T 1 1 : 4 1 : 2 7 Z \"   }   ]   W h e n   p r o b l e m s   o c c u r   o n   n o d e s ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   a u t o m a t i c a l l y   c r e a t e s   t a i n t s   t h a t   m a t c h   t h e   c o n d i t i o n s   a f f e c t i n g   t h e   n o d e .   A n   e x a m p l e   o f   t h i s   i s   w h e n   t h e   s t a t u s   o f   t h e   R e a d y   c o n d i t i o n   r e m a i n s   U n k n o w n   o r   F a l s e   f o r   l o n g e r   t h a n   t h e   k u b e - c o n t r o l l e r - m a n a g e r ' s   N o d e M o n i t o r G r a c e P e r i o d ,   w h i c h   d e f a u l t s   t o   5 0   s e c o n d s .   T h i s   w i l l   c a u s e   e i t h e r   a n   n o d e . k u b e r n e t e s . i o / u n r e a c h a b l e   t a i n t ,   f o r   a n   U n k n o w n   s t a t u s ,   o r   a   n o d e . k u b e r n e t e s . i o / n o t - r e a d y   t a i n t ,   f o r   a   F a l s e   s t a t u s ,   t o   b e   a d d e d   t o   t h e   N o d e .   T h e s e   t a i n t s   a f f e c t   p e n d i n g   p o d s   a s   t h e   s c h e d u l e r   t a k e s   t h e   N o d e ' s   t a i n t s   i n t o   c o n s i d e r a t i o n   w h e n   a s s i g n i n g   a   p o d   t o   a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/node-status/",
    "id": "k8s_00584_section_4_11037"
  },
  {
    "question": "What is Capacity and Allocatable?",
    "answer": "D e s c r i b e s   t h e   r e s o u r c e s   a v a i l a b l e   o n   t h e   n o d e :   C P U ,   m e m o r y ,   a n d   t h e   m a x i m u m   n u m b e r   o f   p o d s   t h a t   c a n   b e   s c h e d u l e d   o n t o   t h e   n o d e .   T h e   f i e l d s   i n   t h e   c a p a c i t y   b l o c k   i n d i c a t e   t h e   t o t a l   a m o u n t   o f   r e s o u r c e s   t h a t   a   N o d e   h a s .   T h e   a l l o c a t a b l e   b l o c k   i n d i c a t e s   t h e   a m o u n t   o f   r e s o u r c e s   o n   a   N o d e   t h a t   i s   a v a i l a b l e   t o   b e   c o n s u m e d   b y   n o r m a l   P o d s .   Y o u   m a y   r e a d   m o r e   a b o u t   c a p a c i t y   a n d   a l l o c a t a b l e   r e s o u r c e s   w h i l e   l e a r n i n g   h o w   t o   r e s e r v e   c o m p u t e   r e s o u r c e s   o n   a   N o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/node-status/",
    "id": "k8s_00584_section_2_11038"
  },
  {
    "question": "What is Info?",
    "answer": "D e s c r i b e s   g e n e r a l   i n f o r m a t i o n   a b o u t   t h e   n o d e ,   s u c h   a s   k e r n e l   v e r s i o n ,   K u b e r n e t e s   v e r s i o n   ( k u b e l e t   a n d   k u b e - p r o x y   v e r s i o n ) ,   c o n t a i n e r   r u n t i m e   d e t a i l s ,   a n d   w h i c h   o p e r a t i n g   s y s t e m   t h e   n o d e   u s e s .   T h e   k u b e l e t   g a t h e r s   t h i s   i n f o r m a t i o n   f r o m   t h e   n o d e   a n d   p u b l i s h e s   i t   i n t o   t h e   K u b e r n e t e s   A P I .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/node-status/",
    "id": "k8s_00584_section_2_11039"
  },
  {
    "question": "What is Heartbeats?",
    "answer": "H e a r t b e a t s ,   s e n t   b y   K u b e r n e t e s   n o d e s ,   h e l p   y o u r   c l u s t e r   d e t e r m i n e   t h e   a v a i l a b i l i t y   o f   e a c h   n o d e ,   a n d   t o   t a k e   a c t i o n   w h e n   f a i l u r e s   a r e   d e t e c t e d .   F o r   n o d e s   t h e r e   a r e   t w o   f o r m s   o f   h e a r t b e a t s :   u p d a t e s   t o   t h e   . s t a t u s   o f   a   N o d e L e a s e   o b j e c t s   w i t h i n   t h e   k u b e - n o d e - l e a s e   n a m e s p a c e .   E a c h   N o d e   h a s   a n   a s s o c i a t e d   L e a s e   o b j e c t .   C o m p a r e d   t o   u p d a t e s   t o   . s t a t u s   o f   a   N o d e ,   a   L e a s e   i s   a   l i g h t w e i g h t   r e s o u r c e .   U s i n g   L e a s e s   f o r   h e a r t b e a t s   r e d u c e s   t h e   p e r f o r m a n c e   i m p a c t   o f   t h e s e   u p d a t e s   f o r   l a r g e   c l u s t e r s .   T h e   k u b e l e t   i s   r e s p o n s i b l e   f o r   c r e a t i n g   a n d   u p d a t i n g   t h e   . s t a t u s   o f   N o d e s ,   a n d   f o r   u p d a t i n g   t h e i r   r e l a t e d   L e a s e s .   T h e   k u b e l e t   u p d a t e s   t h e   n o d e ' s   . s t a t u s   e i t h e r   w h e n   t h e r e   i s   c h a n g e   i n   s t a t u s   o r   i f   t h e r e   h a s   b e e n   n o   u p d a t e   f o r   a   c o n f i g u r e d   i n t e r v a l .   T h e   d e f a u l t   i n t e r v a l   f o r   . s t a t u s   u p d a t e s   t o   N o d e s   i s   5   m i n u t e s ,   w h i c h   i s   m u c h   l o n g e r   t h a n   t h e   4 0   s e c o n d   d e f a u l t   t i m e o u t   f o r   u n r e a c h a b l e   n o d e s . T h e   k u b e l e t   c r e a t e s   a n d   t h e n   u p d a t e s   i t s   L e a s e   o b j e c t   e v e r y   1 0   s e c o n d s   ( t h e   d e f a u l t   u p d a t e   i n t e r v a l ) .   L e a s e   u p d a t e s   o c c u r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/node-status/",
    "id": "k8s_00584_section_2_11040"
  },
  {
    "question": "What is DeviceTaintRule v1alpha3?",
    "answer": "DeviceTaintRule v1alpha3DeviceTaintRule adds one taint to all devices which match the selector.apiVersion: resource.k8s.io/v1alpha3import \"k8s.io/api/resource/v1alpha3\"DeviceTaintRuleDeviceTaintRule adds one taint to all devices which match the selector. This has the same effect as if the taint was specified directly in the ResourceSlice by the DRA driver.apiVersion: resource.k8s.io/v1alpha3kind: DeviceTaintRulemetadata (ObjectMeta)Standard object metadataspec (DeviceTaintRuleSpec), requiredSpec specifies the selector and one taint.Changing the spec automatically increments the metadata.generation number.DeviceTaintRuleSpecDeviceTaintRuleSpec specifies the selector and one taint.taint (DeviceTaint), requiredThe taint that gets applied to matching devices.The device this taint is attached to has the \"effect\" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.taint.effect (string), requiredThe effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.taint.key (string), requiredThe taint key to be applied to a device. Must be a label name.taint.timeAdded (Time)TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.taint.value (string)The taint value corresponding to the taint key. Must be a label value.deviceSelector (DeviceTaintSelector)DeviceSelector defines which device(s) the taint is applied to. All selector criteria must be satisfied for a device to match. The empty selector matches all devices. Without a selector, no devices are matches.DeviceTaintSelector defines which device(s) a DeviceTaintRule applies to. The empty selector matches all devices. Without a selector, no devices are matched.deviceSelector.device (string)If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name.Setting also driver and pool may be required to avoid ambiguity, but is not required.deviceSelector.deviceClassName (string)If DeviceClassName is set, the selectors defined there must be satisfied by a device to be selected. This field corresponds to class.metadata.name.deviceSelector.driver (string)If driver is set, only devices from that driver are selected. This fields corresponds to slice.spec.driver.deviceSelector.pool (string)If pool is set, only devices in that pool are selected.Also setting the driver name may be useful to avoid ambiguity when different drivers use the same pool name, but this is not required because selecting pools from different drivers may also be useful, for example when drivers with node-local devices use the node name as their pool name.deviceSelector.selectors ([]DeviceS",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_qa_11041"
  },
  {
    "question": "How does DeviceTaintRule v1alpha3 work?",
    "answer": "DeviceTaintRule v1alpha3DeviceTaintRule adds one taint to all devices which match the selector.apiVersion: resource.k8s.io/v1alpha3import \"k8s.io/api/resource/v1alpha3\"DeviceTaintRuleDeviceTaintRule adds one taint to all devices which match the selector. This has the same effect as if the taint was specified directly in the ResourceSlice by the DRA driver.apiVersion: resource.k8s.io/v1alpha3kind: DeviceTaintRulemetadata (ObjectMeta)Standard object metadataspec (DeviceTaintRuleSpec), requiredSpec specifies the selector and one taint.Changing the spec automatically increments the metadata.generation number.DeviceTaintRuleSpecDeviceTaintRuleSpec specifies the selector and one taint.taint (DeviceTaint), requiredThe taint that gets applied to matching devices.The device this taint is attached to has the \"effect\" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.taint.effect (string), requiredThe effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.taint.key (string), requiredThe taint key to be applied to a device. Must be a label name.taint.timeAdded (Time)TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.taint.value (string)The taint value corresponding to the taint key. Must be a label value.deviceSelector (DeviceTaintSelector)DeviceSelector defines which device(s) the taint is applied to. All selector criteria must be satisfied for a device to match. The empty selector matches all devices. Without a selector, no devices are matches.DeviceTaintSelector defines which device(s) a DeviceTaintRule applies to. The empty selector matches all devices. Without a selector, no devices are matched.deviceSelector.device (string)If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name.Setting also driver and pool may be required to avoid ambiguity, but is not required.deviceSelector.deviceClassName (string)If DeviceClassName is set, the selectors defined there must be satisfied by a device to be selected. This field corresponds to class.metadata.name.deviceSelector.driver (string)If driver is set, only devices from that driver are selected. This fields corresponds to slice.spec.driver.deviceSelector.pool (string)If pool is set, only devices in that pool are selected.Also setting the driver name may be useful to avoid ambiguity when different drivers use the same pool name, but this is not required because selecting pools from different drivers may also be useful, for example when drivers with node-local devices use the node name as their pool name.deviceSelector.selectors ([]DeviceS",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_qa_11042"
  },
  {
    "question": "When would you use DeviceTaintRule v1alpha3?",
    "answer": "DeviceTaintRule v1alpha3DeviceTaintRule adds one taint to all devices which match the selector.apiVersion: resource.k8s.io/v1alpha3import \"k8s.io/api/resource/v1alpha3\"DeviceTaintRuleDeviceTaintRule adds one taint to all devices which match the selector. This has the same effect as if the taint was specified directly in the ResourceSlice by the DRA driver.apiVersion: resource.k8s.io/v1alpha3kind: DeviceTaintRulemetadata (ObjectMeta)Standard object metadataspec (DeviceTaintRuleSpec), requiredSpec specifies the selector and one taint.Changing the spec automatically increments the metadata.generation number.DeviceTaintRuleSpecDeviceTaintRuleSpec specifies the selector and one taint.taint (DeviceTaint), requiredThe taint that gets applied to matching devices.The device this taint is attached to has the \"effect\" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.taint.effect (string), requiredThe effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.taint.key (string), requiredThe taint key to be applied to a device. Must be a label name.taint.timeAdded (Time)TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.taint.value (string)The taint value corresponding to the taint key. Must be a label value.deviceSelector (DeviceTaintSelector)DeviceSelector defines which device(s) the taint is applied to. All selector criteria must be satisfied for a device to match. The empty selector matches all devices. Without a selector, no devices are matches.DeviceTaintSelector defines which device(s) a DeviceTaintRule applies to. The empty selector matches all devices. Without a selector, no devices are matched.deviceSelector.device (string)If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name.Setting also driver and pool may be required to avoid ambiguity, but is not required.deviceSelector.deviceClassName (string)If DeviceClassName is set, the selectors defined there must be satisfied by a device to be selected. This field corresponds to class.metadata.name.deviceSelector.driver (string)If driver is set, only devices from that driver are selected. This fields corresponds to slice.spec.driver.deviceSelector.pool (string)If pool is set, only devices in that pool are selected.Also setting the driver name may be useful to avoid ambiguity when different drivers use the same pool name, but this is not required because selecting pools from different drivers may also be useful, for example when drivers with node-local devices use the node name as their pool name.deviceSelector.selectors ([]DeviceS",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_qa_11043"
  },
  {
    "question": "What are the benefits of DeviceTaintRule v1alpha3?",
    "answer": "DeviceTaintRule v1alpha3DeviceTaintRule adds one taint to all devices which match the selector.apiVersion: resource.k8s.io/v1alpha3import \"k8s.io/api/resource/v1alpha3\"DeviceTaintRuleDeviceTaintRule adds one taint to all devices which match the selector. This has the same effect as if the taint was specified directly in the ResourceSlice by the DRA driver.apiVersion: resource.k8s.io/v1alpha3kind: DeviceTaintRulemetadata (ObjectMeta)Standard object metadataspec (DeviceTaintRuleSpec), requiredSpec specifies the selector and one taint.Changing the spec automatically increments the metadata.generation number.DeviceTaintRuleSpecDeviceTaintRuleSpec specifies the selector and one taint.taint (DeviceTaint), requiredThe taint that gets applied to matching devices.The device this taint is attached to has the \"effect\" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.taint.effect (string), requiredThe effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.taint.key (string), requiredThe taint key to be applied to a device. Must be a label name.taint.timeAdded (Time)TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.taint.value (string)The taint value corresponding to the taint key. Must be a label value.deviceSelector (DeviceTaintSelector)DeviceSelector defines which device(s) the taint is applied to. All selector criteria must be satisfied for a device to match. The empty selector matches all devices. Without a selector, no devices are matches.DeviceTaintSelector defines which device(s) a DeviceTaintRule applies to. The empty selector matches all devices. Without a selector, no devices are matched.deviceSelector.device (string)If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name.Setting also driver and pool may be required to avoid ambiguity, but is not required.deviceSelector.deviceClassName (string)If DeviceClassName is set, the selectors defined there must be satisfied by a device to be selected. This field corresponds to class.metadata.name.deviceSelector.driver (string)If driver is set, only devices from that driver are selected. This fields corresponds to slice.spec.driver.deviceSelector.pool (string)If pool is set, only devices in that pool are selected.Also setting the driver name may be useful to avoid ambiguity when different drivers use the same pool name, but this is not required because selecting pools from different drivers may also be useful, for example when drivers with node-local devices use the node name as their pool name.deviceSelector.selectors ([]DeviceS",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_qa_11044"
  },
  {
    "question": "What is DeviceTaintRule v1alpha3?",
    "answer": "a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 a l p h a 3   i m p o r t   \" k 8 s . i o / a p i / r e s o u r c e / v 1 a l p h a 3 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_section_1_11045"
  },
  {
    "question": "What is DeviceTaintRule?",
    "answer": "D e v i c e T a i n t R u l e   a d d s   o n e   t a i n t   t o   a l l   d e v i c e s   w h i c h   m a t c h   t h e   s e l e c t o r .   T h i s   h a s   t h e   s a m e   e f f e c t   a s   i f   t h e   t a i n t   w a s   s p e c i f i e d   d i r e c t l y   i n   t h e   R e s o u r c e S l i c e   b y   t h e   D R A   d r i v e r .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 k i n d :   D e v i c e T a i n t R u l e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a s p e c   ( D e v i c e T a i n t R u l e S p e c ) ,   r e q u i r e d S p e c   s p e c i f i e s   t h e   s e l e c t o r   a n d   o n e   t a i n t . C h a n g i n g   t h e   s p e c   a u t o m a t i c a l l y   i n c r e m e n t s   t h e   m e t a d a t a . g e n e r a t i o n   n u m b e r .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 a l p h a 3   k i n d :   D e v i c e T a i n t R u l e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t   m e t a d a t a   s p e c   ( D e v i c e T a i n t R u l e S p e c ) ,   r e q u i r e d   S p e c   s p e c i f i e s   t h e   s e l e c t o r   a n d   o n e   t a i n t .   C h a n g i n g   t h e   s p e c   a u t o m a t i c a l l y   i n c r e m e n t s   t h e   m e t a d a t a . g e n e r a t i o n   n u m b e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_section_2_11046"
  },
  {
    "question": "What is DeviceTaintRuleSpec?",
    "answer": "D e v i c e T a i n t R u l e S p e c   s p e c i f i e s   t h e   s e l e c t o r   a n d   o n e   t a i n t .   t a i n t   ( D e v i c e T a i n t ) ,   r e q u i r e d T h e   t a i n t   t h a t   g e t s   a p p l i e d   t o   m a t c h i n g   d e v i c e s . T h e   d e v i c e   t h i s   t a i n t   i s   a t t a c h e d   t o   h a s   t h e   \" e f f e c t \"   o n   a n y   c l a i m   w h i c h   d o e s   n o t   t o l e r a t e   t h e   t a i n t   a n d ,   t h r o u g h   t h e   c l a i m ,   t o   p o d s   u s i n g   t h e   c l a i m . t a i n t . e f f e c t   ( s t r i n g ) ,   r e q u i r e d T h e   e f f e c t   o f   t h e   t a i n t   o n   c l a i m s   t h a t   d o   n o t   t o l e r a t e   t h e   t a i n t   a n d   t h r o u g h   s u c h   c l a i m s   o n   t h e   p o d s   u s i n g   t h e m .   V a l i d   e f f e c t s   a r e   N o S c h e d u l e   a n d   N o E x e c u t e .   P r e f e r N o S c h e d u l e   a s   u s e d   f o r   n o d e s   i s   n o t   v a l i d   h e r e . t a i n t . k e y   ( s t r i n g ) ,   r e q u i r e d T h e   t a i n t   k e y   t o   b e   a p p l i e d   t o   a   d e v i c e .   M u s t   b e   a   l a b e l   n a m e . t a i n t . t i m e A d d e d   ( T i m e ) T i m e A d d e d   r e p r e s e n t s   t h e   t i m e   a t   w h i c h   t h e   t a i n t   w a s   a d d e d .   A d d e d   a u t o m a t i c a l l y   d u r i n g   c r e a t e   o r   u p d a t e   i f   n o t   s e t . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . t a i n t . v a l u e   ( s t r i n g ) T h e   t a i n t   v a l u e   c o r r e s p o n d i n g   t o   t h e   t a i n t   k e y .   M u s t   b e   a   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_section_2_11047"
  },
  {
    "question": "What is DeviceTaintRuleList?",
    "answer": "D e v i c e T a i n t R u l e L i s t   i s   a   c o l l e c t i o n   o f   D e v i c e T a i n t R u l e s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 k i n d :   D e v i c e T a i n t R u l e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a i t e m s   ( [ ] D e v i c e T a i n t R u l e ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   D e v i c e T a i n t R u l e s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 a l p h a 3   k i n d :   D e v i c e T a i n t R u l e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   i t e m s   ( [ ] D e v i c e T a i n t R u l e ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   D e v i c e T a i n t R u l e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_section_2_11048"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_section_4_11049"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e v i c e T a i n t R u l e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e v i c e T a i n t R u l e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_section_4_11050"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e T a i n t R u l e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_section_4_11051"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_section_4_11052"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_section_4_11053"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e T a i n t R u l e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_section_4_11054"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_section_4_11055"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e v i c e T a i n t R u l e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   D e v i c e T a i n t R u l e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_section_4_11056"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e T a i n t R u l e ) :   O K   2 0 1   ( D e v i c e T a i n t R u l e ) :   C r e a t e d   2 0 2   ( D e v i c e T a i n t R u l e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_section_4_11057"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_section_4_11058"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e v i c e T a i n t R u l e b o d y :   D e v i c e T a i n t R u l e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e v i c e T a i n t R u l e   b o d y :   D e v i c e T a i n t R u l e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_section_4_11059"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e T a i n t R u l e ) :   O K   2 0 1   ( D e v i c e T a i n t R u l e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_section_4_11060"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_section_4_11061"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e v i c e T a i n t R u l e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e v i c e T a i n t R u l e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_section_4_11062"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e T a i n t R u l e ) :   O K   2 0 1   ( D e v i c e T a i n t R u l e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_section_4_11063"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_section_4_11064"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e v i c e T a i n t R u l e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e v i c e T a i n t R u l e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_section_4_11065"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e T a i n t R u l e ) :   O K   2 0 2   ( D e v i c e T a i n t R u l e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_section_4_11066"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_section_4_11067"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_section_4_11068"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/device-taint-rule-v1alpha3/",
    "id": "k8s_00585_section_4_11069"
  },
  {
    "question": "What is kube-proxy?",
    "answer": "kube-proxySynopsisThe Kubernetes network proxy runs on each node. This reflects services as defined in the Kubernetes API on each node and can do simple TCP, UDP, and SCTP stream forwarding or round robin TCP, UDP, and SCTP forwarding across a set of backends. Service cluster IPs and ports are currently found through Docker-links-compatible environment variables specifying ports opened by the service proxy. There is an optional addon that provides cluster DNS for these cluster IPs. The user must create a service with the apiserver API to configure the proxy.kube-proxy [flags] Options--add_dir_headerIf true, adds the file directory to the header of the log messages--alsologtostderrlog to standard error as well as files (no effect when -logtostderr=true)--bind-address string Default: 0.0.0.0Overrides kube-proxy's idea of what its node's primary IP is. Note that the name is a historical artifact, and kube-proxy does not actually bind any sockets to this IP. This parameter is ignored if a config file is specified by --config.--bind-address-hard-failIf true kube-proxy will treat failure to bind to a port as fatal and exit--cleanupIf true cleanup iptables and ipvs rules and exit.--cluster-cidr stringThe CIDR range of the pods in the cluster. (For dual-stack clusters, this can be a comma-separated dual-stack pair of CIDR ranges.). When --detect-local-mode is set to ClusterCIDR, kube-proxy will consider traffic to be local if its source IP is in this range. (Otherwise it is not used.) This parameter is ignored if a config file is specified by --config.--config stringThe path to the configuration file.--config-sync-period duration Default: 15m0sHow often configuration from the apiserver is refreshed. Must be greater than 0.--conntrack-max-per-core int32 Default: 32768Maximum number of NAT connections to track per CPU core (0 to leave the limit as-is and ignore conntrack-min).--conntrack-min int32 Default: 131072Minimum number of conntrack entries to allocate, regardless of conntrack-max-per-core (set conntrack-max-per-core=0 to leave the limit as-is).--conntrack-tcp-be-liberalEnable liberal mode for tracking TCP packets by setting nf_conntrack_tcp_be_liberal to 1--conntrack-tcp-timeout-close-wait duration Default: 1h0m0sNAT timeout for TCP connections in the CLOSE_WAIT state--conntrack-tcp-timeout-established duration Default: 24h0m0sIdle timeout for established TCP connections (0 to leave as-is)--conntrack-udp-timeout durationIdle timeout for UNREPLIED UDP connections (0 to leave as-is)--conntrack-udp-timeout-stream durationIdle timeout for ASSURED UDP connections (0 to leave as-is)--detect-local-mode LocalModeMode to use to detect local traffic. This parameter is ignored if a config file is specified by --config.--feature-gates <comma-separated 'key=True|False' pairs>A set of key=value pairs that describe feature gates for alpha/experimental features. Options are:APIResponseCompression=true|false (BETA - default=true)APIServerIdentity=true|false (BETA -",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/",
    "id": "k8s_00586_qa_11070"
  },
  {
    "question": "How does kube-proxy work?",
    "answer": "kube-proxySynopsisThe Kubernetes network proxy runs on each node. This reflects services as defined in the Kubernetes API on each node and can do simple TCP, UDP, and SCTP stream forwarding or round robin TCP, UDP, and SCTP forwarding across a set of backends. Service cluster IPs and ports are currently found through Docker-links-compatible environment variables specifying ports opened by the service proxy. There is an optional addon that provides cluster DNS for these cluster IPs. The user must create a service with the apiserver API to configure the proxy.kube-proxy [flags] Options--add_dir_headerIf true, adds the file directory to the header of the log messages--alsologtostderrlog to standard error as well as files (no effect when -logtostderr=true)--bind-address string Default: 0.0.0.0Overrides kube-proxy's idea of what its node's primary IP is. Note that the name is a historical artifact, and kube-proxy does not actually bind any sockets to this IP. This parameter is ignored if a config file is specified by --config.--bind-address-hard-failIf true kube-proxy will treat failure to bind to a port as fatal and exit--cleanupIf true cleanup iptables and ipvs rules and exit.--cluster-cidr stringThe CIDR range of the pods in the cluster. (For dual-stack clusters, this can be a comma-separated dual-stack pair of CIDR ranges.). When --detect-local-mode is set to ClusterCIDR, kube-proxy will consider traffic to be local if its source IP is in this range. (Otherwise it is not used.) This parameter is ignored if a config file is specified by --config.--config stringThe path to the configuration file.--config-sync-period duration Default: 15m0sHow often configuration from the apiserver is refreshed. Must be greater than 0.--conntrack-max-per-core int32 Default: 32768Maximum number of NAT connections to track per CPU core (0 to leave the limit as-is and ignore conntrack-min).--conntrack-min int32 Default: 131072Minimum number of conntrack entries to allocate, regardless of conntrack-max-per-core (set conntrack-max-per-core=0 to leave the limit as-is).--conntrack-tcp-be-liberalEnable liberal mode for tracking TCP packets by setting nf_conntrack_tcp_be_liberal to 1--conntrack-tcp-timeout-close-wait duration Default: 1h0m0sNAT timeout for TCP connections in the CLOSE_WAIT state--conntrack-tcp-timeout-established duration Default: 24h0m0sIdle timeout for established TCP connections (0 to leave as-is)--conntrack-udp-timeout durationIdle timeout for UNREPLIED UDP connections (0 to leave as-is)--conntrack-udp-timeout-stream durationIdle timeout for ASSURED UDP connections (0 to leave as-is)--detect-local-mode LocalModeMode to use to detect local traffic. This parameter is ignored if a config file is specified by --config.--feature-gates <comma-separated 'key=True|False' pairs>A set of key=value pairs that describe feature gates for alpha/experimental features. Options are:APIResponseCompression=true|false (BETA - default=true)APIServerIdentity=true|false (BETA -",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/",
    "id": "k8s_00586_qa_11071"
  },
  {
    "question": "When would you use kube-proxy?",
    "answer": "kube-proxySynopsisThe Kubernetes network proxy runs on each node. This reflects services as defined in the Kubernetes API on each node and can do simple TCP, UDP, and SCTP stream forwarding or round robin TCP, UDP, and SCTP forwarding across a set of backends. Service cluster IPs and ports are currently found through Docker-links-compatible environment variables specifying ports opened by the service proxy. There is an optional addon that provides cluster DNS for these cluster IPs. The user must create a service with the apiserver API to configure the proxy.kube-proxy [flags] Options--add_dir_headerIf true, adds the file directory to the header of the log messages--alsologtostderrlog to standard error as well as files (no effect when -logtostderr=true)--bind-address string Default: 0.0.0.0Overrides kube-proxy's idea of what its node's primary IP is. Note that the name is a historical artifact, and kube-proxy does not actually bind any sockets to this IP. This parameter is ignored if a config file is specified by --config.--bind-address-hard-failIf true kube-proxy will treat failure to bind to a port as fatal and exit--cleanupIf true cleanup iptables and ipvs rules and exit.--cluster-cidr stringThe CIDR range of the pods in the cluster. (For dual-stack clusters, this can be a comma-separated dual-stack pair of CIDR ranges.). When --detect-local-mode is set to ClusterCIDR, kube-proxy will consider traffic to be local if its source IP is in this range. (Otherwise it is not used.) This parameter is ignored if a config file is specified by --config.--config stringThe path to the configuration file.--config-sync-period duration Default: 15m0sHow often configuration from the apiserver is refreshed. Must be greater than 0.--conntrack-max-per-core int32 Default: 32768Maximum number of NAT connections to track per CPU core (0 to leave the limit as-is and ignore conntrack-min).--conntrack-min int32 Default: 131072Minimum number of conntrack entries to allocate, regardless of conntrack-max-per-core (set conntrack-max-per-core=0 to leave the limit as-is).--conntrack-tcp-be-liberalEnable liberal mode for tracking TCP packets by setting nf_conntrack_tcp_be_liberal to 1--conntrack-tcp-timeout-close-wait duration Default: 1h0m0sNAT timeout for TCP connections in the CLOSE_WAIT state--conntrack-tcp-timeout-established duration Default: 24h0m0sIdle timeout for established TCP connections (0 to leave as-is)--conntrack-udp-timeout durationIdle timeout for UNREPLIED UDP connections (0 to leave as-is)--conntrack-udp-timeout-stream durationIdle timeout for ASSURED UDP connections (0 to leave as-is)--detect-local-mode LocalModeMode to use to detect local traffic. This parameter is ignored if a config file is specified by --config.--feature-gates <comma-separated 'key=True|False' pairs>A set of key=value pairs that describe feature gates for alpha/experimental features. Options are:APIResponseCompression=true|false (BETA - default=true)APIServerIdentity=true|false (BETA -",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/",
    "id": "k8s_00586_qa_11072"
  },
  {
    "question": "What are the benefits of kube-proxy?",
    "answer": "kube-proxySynopsisThe Kubernetes network proxy runs on each node. This reflects services as defined in the Kubernetes API on each node and can do simple TCP, UDP, and SCTP stream forwarding or round robin TCP, UDP, and SCTP forwarding across a set of backends. Service cluster IPs and ports are currently found through Docker-links-compatible environment variables specifying ports opened by the service proxy. There is an optional addon that provides cluster DNS for these cluster IPs. The user must create a service with the apiserver API to configure the proxy.kube-proxy [flags] Options--add_dir_headerIf true, adds the file directory to the header of the log messages--alsologtostderrlog to standard error as well as files (no effect when -logtostderr=true)--bind-address string Default: 0.0.0.0Overrides kube-proxy's idea of what its node's primary IP is. Note that the name is a historical artifact, and kube-proxy does not actually bind any sockets to this IP. This parameter is ignored if a config file is specified by --config.--bind-address-hard-failIf true kube-proxy will treat failure to bind to a port as fatal and exit--cleanupIf true cleanup iptables and ipvs rules and exit.--cluster-cidr stringThe CIDR range of the pods in the cluster. (For dual-stack clusters, this can be a comma-separated dual-stack pair of CIDR ranges.). When --detect-local-mode is set to ClusterCIDR, kube-proxy will consider traffic to be local if its source IP is in this range. (Otherwise it is not used.) This parameter is ignored if a config file is specified by --config.--config stringThe path to the configuration file.--config-sync-period duration Default: 15m0sHow often configuration from the apiserver is refreshed. Must be greater than 0.--conntrack-max-per-core int32 Default: 32768Maximum number of NAT connections to track per CPU core (0 to leave the limit as-is and ignore conntrack-min).--conntrack-min int32 Default: 131072Minimum number of conntrack entries to allocate, regardless of conntrack-max-per-core (set conntrack-max-per-core=0 to leave the limit as-is).--conntrack-tcp-be-liberalEnable liberal mode for tracking TCP packets by setting nf_conntrack_tcp_be_liberal to 1--conntrack-tcp-timeout-close-wait duration Default: 1h0m0sNAT timeout for TCP connections in the CLOSE_WAIT state--conntrack-tcp-timeout-established duration Default: 24h0m0sIdle timeout for established TCP connections (0 to leave as-is)--conntrack-udp-timeout durationIdle timeout for UNREPLIED UDP connections (0 to leave as-is)--conntrack-udp-timeout-stream durationIdle timeout for ASSURED UDP connections (0 to leave as-is)--detect-local-mode LocalModeMode to use to detect local traffic. This parameter is ignored if a config file is specified by --config.--feature-gates <comma-separated 'key=True|False' pairs>A set of key=value pairs that describe feature gates for alpha/experimental features. Options are:APIResponseCompression=true|false (BETA - default=true)APIServerIdentity=true|false (BETA -",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/",
    "id": "k8s_00586_qa_11073"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h e   K u b e r n e t e s   n e t w o r k   p r o x y   r u n s   o n   e a c h   n o d e .   T h i s   r e f l e c t s   s e r v i c e s   a s   d e f i n e d   i n   t h e   K u b e r n e t e s   A P I   o n   e a c h   n o d e   a n d   c a n   d o   s i m p l e   T C P ,   U D P ,   a n d   S C T P   s t r e a m   f o r w a r d i n g   o r   r o u n d   r o b i n   T C P ,   U D P ,   a n d   S C T P   f o r w a r d i n g   a c r o s s   a   s e t   o f   b a c k e n d s .   S e r v i c e   c l u s t e r   I P s   a n d   p o r t s   a r e   c u r r e n t l y   f o u n d   t h r o u g h   D o c k e r - l i n k s - c o m p a t i b l e   e n v i r o n m e n t   v a r i a b l e s   s p e c i f y i n g   p o r t s   o p e n e d   b y   t h e   s e r v i c e   p r o x y .   T h e r e   i s   a n   o p t i o n a l   a d d o n   t h a t   p r o v i d e s   c l u s t e r   D N S   f o r   t h e s e   c l u s t e r   I P s .   T h e   u s e r   m u s t   c r e a t e   a   s e r v i c e   w i t h   t h e   a p i s e r v e r   A P I   t o   c o n f i g u r e   t h e   p r o x y .   k u b e - p r o x y   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/",
    "id": "k8s_00586_section_2_11074"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   a d d s   t h e   f i l e   d i r e c t o r y   t o   t h e   h e a d e r   o f   t h e   l o g   m e s s a g e s   l o g   t o   s t a n d a r d   e r r o r   a s   w e l l   a s   f i l e s   ( n o   e f f e c t   w h e n   - l o g t o s t d e r r = t r u e )   O v e r r i d e s   k u b e - p r o x y ' s   i d e a   o f   w h a t   i t s   n o d e ' s   p r i m a r y   I P   i s .   N o t e   t h a t   t h e   n a m e   i s   a   h i s t o r i c a l   a r t i f a c t ,   a n d   k u b e - p r o x y   d o e s   n o t   a c t u a l l y   b i n d   a n y   s o c k e t s   t o   t h i s   I P .   T h i s   p a r a m e t e r   i s   i g n o r e d   i f   a   c o n f i g   f i l e   i s   s p e c i f i e d   b y   - - c o n f i g .   I f   t r u e   k u b e - p r o x y   w i l l   t r e a t   f a i l u r e   t o   b i n d   t o   a   p o r t   a s   f a t a l   a n d   e x i t   I f   t r u e   c l e a n u p   i p t a b l e s   a n d   i p v s   r u l e s   a n d   e x i t .   T h e   C I D R   r a n g e   o f   t h e   p o d s   i n   t h e   c l u s t e r .   ( F o r   d u a l - s t a c k   c l u s t e r s ,   t h i s   c a n   b e   a   c o m m a - s e p a r a t e d   d u a l - s t a c k   p a i r   o f   C I D R   r a n g e s . ) .   W h e n   - - d e t e c t - l o c a l - m o d e   i s   s e t   t o   C l u s t e r C I D R ,   k u b e - p r o x y   w i l l   c o n s i d e r   t r a f f i c   t o   b e   l o c a l   i f   i t s   s o u r c e   I P   i s   i n   t h i s   r a n g e .   ( O t h e r w i s e   i t   i s   n o t   u s e d . )   T h i s   p a r a m e t e r   i s   i g n o r e d   i f   a   c o n f i g   f i l e   i s   s p e c i f i e d   b y   - - c o n f i g .   T h e   p a t h   t o   t h e   c o n f i g u r a t i o n   f i l e .   H o w   o f t e n   c o n f i g u r a t i o n   f r o m   t h e   a p i s e r v e r   i s   r e f r e s h e d .   M u s t   b e   g r e a t e r   t h a n   0 .   M a x i m u m   n u m b e r   o f   N A T   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/",
    "id": "k8s_00586_section_2_11075"
  },
  {
    "question": "What is kubectl wait?",
    "answer": "kubectl waitSynopsisExperimental: Wait for a specific condition on one or many resources.The command takes multiple resources and waits until the specified condition is seen in the Status field of every given resource.Alternatively, the command can wait for the given set of resources to be created or deleted by providing the \"create\" or \"delete\" keyword as the value to the --for flag.A successful message will be printed to stdout indicating when the specified condition has been met. You can use -o option to change to output destination.kubectl wait ([-f FILENAME] | resource.group/resource.name | resource.group [(-l label | --all)]) [--for=create|--for=delete|--for condition=available|--for=jsonpath='{}'[=value]] Examples # Wait for the pod \"busybox1\" to contain the status condition of type \"Ready\" kubectl wait --for=condition=Ready pod/busybox1 # The default value of status condition is true; you can wait for other targets after an equal delimiter (compared after Unicode simple case folding, which is a more general form of case-insensitivity) kubectl wait --for=condition=Ready=false pod/busybox1 # Wait for the pod \"busybox1\" to contain the status phase to be \"Running\" kubectl wait --for=jsonpath='{.status.phase}'=Running pod/busybox1 # Wait for pod \"busybox1\" to be Ready kubectl wait --for='jsonpath={.status.conditions[?(@.type==\"Ready\")].status}=True' pod/busybox1 # Wait for the service \"loadbalancer\" to have ingress kubectl wait --for=jsonpath='{.status.loadBalancer.ingress}' service/loadbalancer # Wait for the secret \"busybox1\" to be created, with a timeout of 30s kubectl create secret generic busybox1 kubectl wait --for=create secret/busybox1 --timeout=30s # Wait for the pod \"busybox1\" to be deleted, with a timeout of 60s, after having issued the \"delete\" command kubectl delete pod/busybox1 kubectl wait --for=delete pod/busybox1 --timeout=60s Options--allSelect all resources in the namespace of the specified resource types-A, --all-namespacesIf present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--field-selector stringSelector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.-f, --filename stringsidentifying the resource.--for stringThe condition to wait on: [create|delete|condition=condition-name[=condition-value]|jsonpath='{JSONPath expression}'=[JSONPath value]]. The default condition-value is true. Condition values are compared after Unicode simple case folding, which is a more general form of case-insensitivity.-h, --helphelp for wait--localIf true, annotation will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_wait/",
    "id": "k8s_00587_qa_11076"
  },
  {
    "question": "How does kubectl wait work?",
    "answer": "kubectl waitSynopsisExperimental: Wait for a specific condition on one or many resources.The command takes multiple resources and waits until the specified condition is seen in the Status field of every given resource.Alternatively, the command can wait for the given set of resources to be created or deleted by providing the \"create\" or \"delete\" keyword as the value to the --for flag.A successful message will be printed to stdout indicating when the specified condition has been met. You can use -o option to change to output destination.kubectl wait ([-f FILENAME] | resource.group/resource.name | resource.group [(-l label | --all)]) [--for=create|--for=delete|--for condition=available|--for=jsonpath='{}'[=value]] Examples # Wait for the pod \"busybox1\" to contain the status condition of type \"Ready\" kubectl wait --for=condition=Ready pod/busybox1 # The default value of status condition is true; you can wait for other targets after an equal delimiter (compared after Unicode simple case folding, which is a more general form of case-insensitivity) kubectl wait --for=condition=Ready=false pod/busybox1 # Wait for the pod \"busybox1\" to contain the status phase to be \"Running\" kubectl wait --for=jsonpath='{.status.phase}'=Running pod/busybox1 # Wait for pod \"busybox1\" to be Ready kubectl wait --for='jsonpath={.status.conditions[?(@.type==\"Ready\")].status}=True' pod/busybox1 # Wait for the service \"loadbalancer\" to have ingress kubectl wait --for=jsonpath='{.status.loadBalancer.ingress}' service/loadbalancer # Wait for the secret \"busybox1\" to be created, with a timeout of 30s kubectl create secret generic busybox1 kubectl wait --for=create secret/busybox1 --timeout=30s # Wait for the pod \"busybox1\" to be deleted, with a timeout of 60s, after having issued the \"delete\" command kubectl delete pod/busybox1 kubectl wait --for=delete pod/busybox1 --timeout=60s Options--allSelect all resources in the namespace of the specified resource types-A, --all-namespacesIf present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--field-selector stringSelector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.-f, --filename stringsidentifying the resource.--for stringThe condition to wait on: [create|delete|condition=condition-name[=condition-value]|jsonpath='{JSONPath expression}'=[JSONPath value]]. The default condition-value is true. Condition values are compared after Unicode simple case folding, which is a more general form of case-insensitivity.-h, --helphelp for wait--localIf true, annotation will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_wait/",
    "id": "k8s_00587_qa_11077"
  },
  {
    "question": "When would you use kubectl wait?",
    "answer": "kubectl waitSynopsisExperimental: Wait for a specific condition on one or many resources.The command takes multiple resources and waits until the specified condition is seen in the Status field of every given resource.Alternatively, the command can wait for the given set of resources to be created or deleted by providing the \"create\" or \"delete\" keyword as the value to the --for flag.A successful message will be printed to stdout indicating when the specified condition has been met. You can use -o option to change to output destination.kubectl wait ([-f FILENAME] | resource.group/resource.name | resource.group [(-l label | --all)]) [--for=create|--for=delete|--for condition=available|--for=jsonpath='{}'[=value]] Examples # Wait for the pod \"busybox1\" to contain the status condition of type \"Ready\" kubectl wait --for=condition=Ready pod/busybox1 # The default value of status condition is true; you can wait for other targets after an equal delimiter (compared after Unicode simple case folding, which is a more general form of case-insensitivity) kubectl wait --for=condition=Ready=false pod/busybox1 # Wait for the pod \"busybox1\" to contain the status phase to be \"Running\" kubectl wait --for=jsonpath='{.status.phase}'=Running pod/busybox1 # Wait for pod \"busybox1\" to be Ready kubectl wait --for='jsonpath={.status.conditions[?(@.type==\"Ready\")].status}=True' pod/busybox1 # Wait for the service \"loadbalancer\" to have ingress kubectl wait --for=jsonpath='{.status.loadBalancer.ingress}' service/loadbalancer # Wait for the secret \"busybox1\" to be created, with a timeout of 30s kubectl create secret generic busybox1 kubectl wait --for=create secret/busybox1 --timeout=30s # Wait for the pod \"busybox1\" to be deleted, with a timeout of 60s, after having issued the \"delete\" command kubectl delete pod/busybox1 kubectl wait --for=delete pod/busybox1 --timeout=60s Options--allSelect all resources in the namespace of the specified resource types-A, --all-namespacesIf present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--field-selector stringSelector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.-f, --filename stringsidentifying the resource.--for stringThe condition to wait on: [create|delete|condition=condition-name[=condition-value]|jsonpath='{JSONPath expression}'=[JSONPath value]]. The default condition-value is true. Condition values are compared after Unicode simple case folding, which is a more general form of case-insensitivity.-h, --helphelp for wait--localIf true, annotation will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_wait/",
    "id": "k8s_00587_qa_11078"
  },
  {
    "question": "What are the benefits of kubectl wait?",
    "answer": "kubectl waitSynopsisExperimental: Wait for a specific condition on one or many resources.The command takes multiple resources and waits until the specified condition is seen in the Status field of every given resource.Alternatively, the command can wait for the given set of resources to be created or deleted by providing the \"create\" or \"delete\" keyword as the value to the --for flag.A successful message will be printed to stdout indicating when the specified condition has been met. You can use -o option to change to output destination.kubectl wait ([-f FILENAME] | resource.group/resource.name | resource.group [(-l label | --all)]) [--for=create|--for=delete|--for condition=available|--for=jsonpath='{}'[=value]] Examples # Wait for the pod \"busybox1\" to contain the status condition of type \"Ready\" kubectl wait --for=condition=Ready pod/busybox1 # The default value of status condition is true; you can wait for other targets after an equal delimiter (compared after Unicode simple case folding, which is a more general form of case-insensitivity) kubectl wait --for=condition=Ready=false pod/busybox1 # Wait for the pod \"busybox1\" to contain the status phase to be \"Running\" kubectl wait --for=jsonpath='{.status.phase}'=Running pod/busybox1 # Wait for pod \"busybox1\" to be Ready kubectl wait --for='jsonpath={.status.conditions[?(@.type==\"Ready\")].status}=True' pod/busybox1 # Wait for the service \"loadbalancer\" to have ingress kubectl wait --for=jsonpath='{.status.loadBalancer.ingress}' service/loadbalancer # Wait for the secret \"busybox1\" to be created, with a timeout of 30s kubectl create secret generic busybox1 kubectl wait --for=create secret/busybox1 --timeout=30s # Wait for the pod \"busybox1\" to be deleted, with a timeout of 60s, after having issued the \"delete\" command kubectl delete pod/busybox1 kubectl wait --for=delete pod/busybox1 --timeout=60s Options--allSelect all resources in the namespace of the specified resource types-A, --all-namespacesIf present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--field-selector stringSelector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.-f, --filename stringsidentifying the resource.--for stringThe condition to wait on: [create|delete|condition=condition-name[=condition-value]|jsonpath='{JSONPath expression}'=[JSONPath value]]. The default condition-value is true. Condition values are compared after Unicode simple case folding, which is a more general form of case-insensitivity.-h, --helphelp for wait--localIf true, annotation will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_wait/",
    "id": "k8s_00587_qa_11079"
  },
  {
    "question": "What is Synopsis?",
    "answer": "E x p e r i m e n t a l :   W a i t   f o r   a   s p e c i f i c   c o n d i t i o n   o n   o n e   o r   m a n y   r e s o u r c e s .   T h e   c o m m a n d   t a k e s   m u l t i p l e   r e s o u r c e s   a n d   w a i t s   u n t i l   t h e   s p e c i f i e d   c o n d i t i o n   i s   s e e n   i n   t h e   S t a t u s   f i e l d   o f   e v e r y   g i v e n   r e s o u r c e .   A l t e r n a t i v e l y ,   t h e   c o m m a n d   c a n   w a i t   f o r   t h e   g i v e n   s e t   o f   r e s o u r c e s   t o   b e   c r e a t e d   o r   d e l e t e d   b y   p r o v i d i n g   t h e   \" c r e a t e \"   o r   \" d e l e t e \"   k e y w o r d   a s   t h e   v a l u e   t o   t h e   - - f o r   f l a g .   A   s u c c e s s f u l   m e s s a g e   w i l l   b e   p r i n t e d   t o   s t d o u t   i n d i c a t i n g   w h e n   t h e   s p e c i f i e d   c o n d i t i o n   h a s   b e e n   m e t .   Y o u   c a n   u s e   - o   o p t i o n   t o   c h a n g e   t o   o u t p u t   d e s t i n a t i o n .   k u b e c t l   w a i t   ( [ - f   F I L E N A M E ]   |   r e s o u r c e . g r o u p / r e s o u r c e . n a m e   |   r e s o u r c e . g r o u p   [ ( - l   l a b e l   |   - - a l l ) ] )   [ - - f o r = c r e a t e | - - f o r = d e l e t e | - - f o r   c o n d i t i o n = a v a i l a b l e | - - f o r = j s o n p a t h = ' { } ' [ = v a l u e ] ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_wait/",
    "id": "k8s_00587_section_2_11080"
  },
  {
    "question": "What is Examples?",
    "answer": "#   W a i t   f o r   t h e   p o d   \" b u s y b o x 1 \"   t o   c o n t a i n   t h e   s t a t u s   c o n d i t i o n   o f   t y p e   \" R e a d y \"   k u b e c t l   w a i t   - - f o r = c o n d i t i o n = R e a d y   p o d / b u s y b o x 1   #   T h e   d e f a u l t   v a l u e   o f   s t a t u s   c o n d i t i o n   i s   t r u e ;   y o u   c a n   w a i t   f o r   o t h e r   t a r g e t s   a f t e r   a n   e q u a l   d e l i m i t e r   ( c o m p a r e d   a f t e r   U n i c o d e   s i m p l e   c a s e   f o l d i n g ,   w h i c h   i s   a   m o r e   g e n e r a l   f o r m   o f   c a s e - i n s e n s i t i v i t y )   k u b e c t l   w a i t   - - f o r = c o n d i t i o n = R e a d y = f a l s e   p o d / b u s y b o x 1   #   W a i t   f o r   t h e   p o d   \" b u s y b o x 1 \"   t o   c o n t a i n   t h e   s t a t u s   p h a s e   t o   b e   \" R u n n i n g \"   k u b e c t l   w a i t   - - f o r = j s o n p a t h = ' { . s t a t u s . p h a s e } ' = R u n n i n g   p o d / b u s y b o x 1   #   W a i t   f o r   p o d   \" b u s y b o x 1 \"   t o   b e   R e a d y   k u b e c t l   w a i t   - - f o r = ' j s o n p a t h = { . s t a t u s . c o n d i t i o n s [ ? ( @ . t y p e = = \" R e a d y \" ) ] . s t a t u s } = T r u e '   p o d / b u s y b o x 1   #   W a i t   f o r   t h e   s e r v i c e   \" l o a d b a l a n c e r \"   t o   h a v e   i n g r e s s   k u b e c t l   w a i t   - - f o r = j s o n p a t h = ' { . s t a t u s . l o a d B a l a n c e r . i n g r e s s } '   s e r v i c e / l o a d b a l a n c e r   #   W a i t   f o r   t h e   s e c r e t   \" b u s y b o x 1 \"   t o   b e   c r e a t e d ,   w i t h   a   t i m e o u t   o f   3 0 s   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   b u s y b o x 1   k u b e c t l   w a i t   - - f o r = c r e a t e   s e c r e t / b u s y b o x 1   - - t i m e o u t = 3 0 s   #   W a i t   f o r   t h e   p o d   \" b u s y b o x 1 \"   t o   b e   d e l e t e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_wait/",
    "id": "k8s_00587_section_2_11081"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   p r e s e n t ,   l i s t   t h e   r e q u e s t e d   o b j e c t ( s )   a c r o s s   a l l   n a m e s p a c e s .   N a m e s p a c e   i n   c u r r e n t   c o n t e x t   i s   i g n o r e d   e v e n   i f   s p e c i f i e d   w i t h   - - n a m e s p a c e .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   S e l e c t o r   ( f i e l d   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   a n d   ' ! = ' . ( e . g .   - - f i e l d - s e l e c t o r   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 ) .   T h e   s e r v e r   o n l y   s u p p o r t s   a   l i m i t e d   n u m b e r   o f   f i e l d   q u e r i e s   p e r   t y p e .   i d e n t i f y i n g   t h e   r e s o u r c e .   T h e   c o n d i t i o n   t o   w a i t   o n :   [ c r e a t e | d e l e t e | c o n d i t i o n = c o n d i t i o n - n a m e [ = c o n d i t i o n - v a l u e ] | j s o n p a t h = ' { J S O N P a t h   e x p r e s s i o n } ' = [ J S O N P a t h   v a l u e ] ] .   T h e   d e f a u l t   c o n d i t i o n - v a l u e   i s   t r u e .   C o n d i t i o n   v a l u e s   a r e   c o m p a r e d   a f t e r   U n i c o d e   s i m p l e   c a s e   f o l d i n g ,   w h i c h   i s   a   m o r e   g e n e r a l   f o r m   o f   c a s e - i n s e n s i t i v i t y .   h e l p   f o r   w a i t   I f   t r u e ,   a n n o t a t i o n   w i l l   N O T   c o n t a c t   a p i - s e r v e r   b u t   r u n   l o c a l l y .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_wait/",
    "id": "k8s_00587_section_2_11082"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_wait/",
    "id": "k8s_00587_section_2_11083"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_wait/",
    "id": "k8s_00587_section_2_11084"
  },
  {
    "question": "What is Services, Load Balancing, and Networking?",
    "answer": "Services, Load Balancing, and NetworkingConcepts and resources behind networking in Kubernetes.The Kubernetes network modelThe Kubernetes network model is built out of several pieces:Each pod in a cluster gets its own unique cluster-wide IP address.A pod has its own private network namespace which is shared by all of the containers within the pod. Processes running in different containers in the same pod can communicate with each other over localhost.The pod network (also called a cluster network) handles communication between pods. It ensures that (barring intentional network segmentation):All pods can communicate with all other pods, whether they are on the same node or on different nodes. Pods can communicate with each other directly, without the use of proxies or address translation (NAT).On Windows, this rule does not apply to host-network pods.Agents on a node (such as system daemons, or kubelet) can communicate with all pods on that node.The Service API lets you provide a stable (long lived) IP address or hostname for a service implemented by one or more backend pods, where the individual pods making up the service can change over time.Kubernetes automatically manages EndpointSlice objects to provide information about the pods currently backing a Service.A service proxy implementation monitors the set of Service and EndpointSlice objects, and programs the data plane to route service traffic to its backends, by using operating system or cloud provider APIs to intercept or rewrite packets.The Gateway API (or its predecessor, Ingress) allows you to make Services accessible to clients that are outside the cluster.A simpler, but less-configurable, mechanism for cluster ingress is available via the Service API's type: LoadBalancer, when using a supported Cloud Provider.NetworkPolicy is a built-in Kubernetes API that allows you to control traffic between pods, or between pods and the outside world.In older container systems, there was no automatic connectivity between containers on different hosts, and so it was often necessary to explicitly create links between containers, or to map container ports to host ports to make them reachable by containers on other hosts. This is not needed in Kubernetes; Kubernetes's model is that pods can be treated much like VMs or physical hosts from the perspectives of port allocation, naming, service discovery, load balancing, application configuration, and migration.Only a few parts of this model are implemented by Kubernetes itself. For the other parts, Kubernetes defines the APIs, but the corresponding functionality is provided by external components, some of which are optional:Pod network namespace setup is handled by system-level software implementing the Container Runtime Interface.The pod network itself is managed by a pod network implementation. On Linux, most container runtimes use the Container Networking Interface (CNI) to interact with the pod network implementation, so these implementations are often ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/",
    "id": "k8s_00588_qa_11085"
  },
  {
    "question": "How does Services, Load Balancing, and Networking work?",
    "answer": "Services, Load Balancing, and NetworkingConcepts and resources behind networking in Kubernetes.The Kubernetes network modelThe Kubernetes network model is built out of several pieces:Each pod in a cluster gets its own unique cluster-wide IP address.A pod has its own private network namespace which is shared by all of the containers within the pod. Processes running in different containers in the same pod can communicate with each other over localhost.The pod network (also called a cluster network) handles communication between pods. It ensures that (barring intentional network segmentation):All pods can communicate with all other pods, whether they are on the same node or on different nodes. Pods can communicate with each other directly, without the use of proxies or address translation (NAT).On Windows, this rule does not apply to host-network pods.Agents on a node (such as system daemons, or kubelet) can communicate with all pods on that node.The Service API lets you provide a stable (long lived) IP address or hostname for a service implemented by one or more backend pods, where the individual pods making up the service can change over time.Kubernetes automatically manages EndpointSlice objects to provide information about the pods currently backing a Service.A service proxy implementation monitors the set of Service and EndpointSlice objects, and programs the data plane to route service traffic to its backends, by using operating system or cloud provider APIs to intercept or rewrite packets.The Gateway API (or its predecessor, Ingress) allows you to make Services accessible to clients that are outside the cluster.A simpler, but less-configurable, mechanism for cluster ingress is available via the Service API's type: LoadBalancer, when using a supported Cloud Provider.NetworkPolicy is a built-in Kubernetes API that allows you to control traffic between pods, or between pods and the outside world.In older container systems, there was no automatic connectivity between containers on different hosts, and so it was often necessary to explicitly create links between containers, or to map container ports to host ports to make them reachable by containers on other hosts. This is not needed in Kubernetes; Kubernetes's model is that pods can be treated much like VMs or physical hosts from the perspectives of port allocation, naming, service discovery, load balancing, application configuration, and migration.Only a few parts of this model are implemented by Kubernetes itself. For the other parts, Kubernetes defines the APIs, but the corresponding functionality is provided by external components, some of which are optional:Pod network namespace setup is handled by system-level software implementing the Container Runtime Interface.The pod network itself is managed by a pod network implementation. On Linux, most container runtimes use the Container Networking Interface (CNI) to interact with the pod network implementation, so these implementations are often ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/",
    "id": "k8s_00588_qa_11086"
  },
  {
    "question": "When would you use Services, Load Balancing, and Networking?",
    "answer": "Services, Load Balancing, and NetworkingConcepts and resources behind networking in Kubernetes.The Kubernetes network modelThe Kubernetes network model is built out of several pieces:Each pod in a cluster gets its own unique cluster-wide IP address.A pod has its own private network namespace which is shared by all of the containers within the pod. Processes running in different containers in the same pod can communicate with each other over localhost.The pod network (also called a cluster network) handles communication between pods. It ensures that (barring intentional network segmentation):All pods can communicate with all other pods, whether they are on the same node or on different nodes. Pods can communicate with each other directly, without the use of proxies or address translation (NAT).On Windows, this rule does not apply to host-network pods.Agents on a node (such as system daemons, or kubelet) can communicate with all pods on that node.The Service API lets you provide a stable (long lived) IP address or hostname for a service implemented by one or more backend pods, where the individual pods making up the service can change over time.Kubernetes automatically manages EndpointSlice objects to provide information about the pods currently backing a Service.A service proxy implementation monitors the set of Service and EndpointSlice objects, and programs the data plane to route service traffic to its backends, by using operating system or cloud provider APIs to intercept or rewrite packets.The Gateway API (or its predecessor, Ingress) allows you to make Services accessible to clients that are outside the cluster.A simpler, but less-configurable, mechanism for cluster ingress is available via the Service API's type: LoadBalancer, when using a supported Cloud Provider.NetworkPolicy is a built-in Kubernetes API that allows you to control traffic between pods, or between pods and the outside world.In older container systems, there was no automatic connectivity between containers on different hosts, and so it was often necessary to explicitly create links between containers, or to map container ports to host ports to make them reachable by containers on other hosts. This is not needed in Kubernetes; Kubernetes's model is that pods can be treated much like VMs or physical hosts from the perspectives of port allocation, naming, service discovery, load balancing, application configuration, and migration.Only a few parts of this model are implemented by Kubernetes itself. For the other parts, Kubernetes defines the APIs, but the corresponding functionality is provided by external components, some of which are optional:Pod network namespace setup is handled by system-level software implementing the Container Runtime Interface.The pod network itself is managed by a pod network implementation. On Linux, most container runtimes use the Container Networking Interface (CNI) to interact with the pod network implementation, so these implementations are often ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/",
    "id": "k8s_00588_qa_11087"
  },
  {
    "question": "What are the benefits of Services, Load Balancing, and Networking?",
    "answer": "Services, Load Balancing, and NetworkingConcepts and resources behind networking in Kubernetes.The Kubernetes network modelThe Kubernetes network model is built out of several pieces:Each pod in a cluster gets its own unique cluster-wide IP address.A pod has its own private network namespace which is shared by all of the containers within the pod. Processes running in different containers in the same pod can communicate with each other over localhost.The pod network (also called a cluster network) handles communication between pods. It ensures that (barring intentional network segmentation):All pods can communicate with all other pods, whether they are on the same node or on different nodes. Pods can communicate with each other directly, without the use of proxies or address translation (NAT).On Windows, this rule does not apply to host-network pods.Agents on a node (such as system daemons, or kubelet) can communicate with all pods on that node.The Service API lets you provide a stable (long lived) IP address or hostname for a service implemented by one or more backend pods, where the individual pods making up the service can change over time.Kubernetes automatically manages EndpointSlice objects to provide information about the pods currently backing a Service.A service proxy implementation monitors the set of Service and EndpointSlice objects, and programs the data plane to route service traffic to its backends, by using operating system or cloud provider APIs to intercept or rewrite packets.The Gateway API (or its predecessor, Ingress) allows you to make Services accessible to clients that are outside the cluster.A simpler, but less-configurable, mechanism for cluster ingress is available via the Service API's type: LoadBalancer, when using a supported Cloud Provider.NetworkPolicy is a built-in Kubernetes API that allows you to control traffic between pods, or between pods and the outside world.In older container systems, there was no automatic connectivity between containers on different hosts, and so it was often necessary to explicitly create links between containers, or to map container ports to host ports to make them reachable by containers on other hosts. This is not needed in Kubernetes; Kubernetes's model is that pods can be treated much like VMs or physical hosts from the perspectives of port allocation, naming, service discovery, load balancing, application configuration, and migration.Only a few parts of this model are implemented by Kubernetes itself. For the other parts, Kubernetes defines the APIs, but the corresponding functionality is provided by external components, some of which are optional:Pod network namespace setup is handled by system-level software implementing the Container Runtime Interface.The pod network itself is managed by a pod network implementation. On Linux, most container runtimes use the Container Networking Interface (CNI) to interact with the pod network implementation, so these implementations are often ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/",
    "id": "k8s_00588_qa_11088"
  },
  {
    "question": "What is The Kubernetes network model?",
    "answer": "T h e   K u b e r n e t e s   n e t w o r k   m o d e l   i s   b u i l t   o u t   o f   s e v e r a l   p i e c e s :   E a c h   p o d   i n   a   c l u s t e r   g e t s   i t s   o w n   u n i q u e   c l u s t e r - w i d e   I P   a d d r e s s . A   p o d   h a s   i t s   o w n   p r i v a t e   n e t w o r k   n a m e s p a c e   w h i c h   i s   s h a r e d   b y   a l l   o f   t h e   c o n t a i n e r s   w i t h i n   t h e   p o d .   P r o c e s s e s   r u n n i n g   i n   d i f f e r e n t   c o n t a i n e r s   i n   t h e   s a m e   p o d   c a n   c o m m u n i c a t e   w i t h   e a c h   o t h e r   o v e r   l o c a l h o s t . T h e   p o d   n e t w o r k   ( a l s o   c a l l e d   a   c l u s t e r   n e t w o r k )   h a n d l e s   c o m m u n i c a t i o n   b e t w e e n   p o d s .   I t   e n s u r e s   t h a t   ( b a r r i n g   i n t e n t i o n a l   n e t w o r k   s e g m e n t a t i o n ) : A l l   p o d s   c a n   c o m m u n i c a t e   w i t h   a l l   o t h e r   p o d s ,   w h e t h e r   t h e y   a r e   o n   t h e   s a m e   n o d e   o r   o n   d i f f e r e n t   n o d e s .   P o d s   c a n   c o m m u n i c a t e   w i t h   e a c h   o t h e r   d i r e c t l y ,   w i t h o u t   t h e   u s e   o f   p r o x i e s   o r   a d d r e s s   t r a n s l a t i o n   ( N A T ) . O n   W i n d o w s ,   t h i s   r u l e   d o e s   n o t   a p p l y   t o   h o s t - n e t w o r k   p o d s . A g e n t s   o n   a   n o d e   ( s u c h   a s   s y s t e m   d a e m o n s ,   o r   k u b e l e t )   c a n   c o m m u n i c a t e   w i t h   a l l   p o d s   o n   t h a t   n o d e . T h e   S e r v i c e   A P I   l e t s   y o u   p r o v i d e   a   s t a b l e   ( l o n g   l i v e d )   I P   a d d r e s s   o r   h o s t n a m e   f o r   a   s e r v i c e   i m p l e m e n t e d   b y   o n e   o r   m o r e   b a c k e n d   p o d s ,   w h e r e   t h e   i n d i v i d u a l   p o d s   m a k i ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/",
    "id": "k8s_00588_section_2_11089"
  },
  {
    "question": "What is What's next?",
    "answer": "T h e   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s   t u t o r i a l   l e t s   y o u   l e a r n   a b o u t   S e r v i c e s   a n d   K u b e r n e t e s   n e t w o r k i n g   w i t h   a   h a n d s - o n   e x a m p l e .   C l u s t e r   N e t w o r k i n g   e x p l a i n s   h o w   t o   s e t   u p   n e t w o r k i n g   f o r   y o u r   c l u s t e r ,   a n d   a l s o   p r o v i d e s   a n   o v e r v i e w   o f   t h e   t e c h n o l o g i e s   i n v o l v e d .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/",
    "id": "k8s_00588_section_2_11090"
  },
  {
    "question": "What is Service?",
    "answer": "E x p o s e   a n   a p p l i c a t i o n   r u n n i n g   i n   y o u r   c l u s t e r   b e h i n d   a   s i n g l e   o u t w a r d - f a c i n g   e n d p o i n t ,   e v e n   w h e n   t h e   w o r k l o a d   i s   s p l i t   a c r o s s   m u l t i p l e   b a c k e n d s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/",
    "id": "k8s_00588_section_5_11091"
  },
  {
    "question": "What is Ingress?",
    "answer": "M a k e   y o u r   H T T P   ( o r   H T T P S )   n e t w o r k   s e r v i c e   a v a i l a b l e   u s i n g   a   p r o t o c o l - a w a r e   c o n f i g u r a t i o n   m e c h a n i s m ,   t h a t   u n d e r s t a n d s   w e b   c o n c e p t s   l i k e   U R I s ,   h o s t n a m e s ,   p a t h s ,   a n d   m o r e .   T h e   I n g r e s s   c o n c e p t   l e t s   y o u   m a p   t r a f f i c   t o   d i f f e r e n t   b a c k e n d s   b a s e d   o n   r u l e s   y o u   d e f i n e   v i a   t h e   K u b e r n e t e s   A P I .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/",
    "id": "k8s_00588_section_5_11092"
  },
  {
    "question": "What is Ingress Controllers?",
    "answer": "I n   o r d e r   f o r   a n   I n g r e s s   t o   w o r k   i n   y o u r   c l u s t e r ,   t h e r e   m u s t   b e   a n   i n g r e s s   c o n t r o l l e r   r u n n i n g .   Y o u   n e e d   t o   s e l e c t   a t   l e a s t   o n e   i n g r e s s   c o n t r o l l e r   a n d   m a k e   s u r e   i t   i s   s e t   u p   i n   y o u r   c l u s t e r .   T h i s   p a g e   l i s t s   c o m m o n   i n g r e s s   c o n t r o l l e r s   t h a t   y o u   c a n   d e p l o y .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/",
    "id": "k8s_00588_section_5_11093"
  },
  {
    "question": "What is Gateway API?",
    "answer": "G a t e w a y   A P I   i s   a   f a m i l y   o f   A P I   k i n d s   t h a t   p r o v i d e   d y n a m i c   i n f r a s t r u c t u r e   p r o v i s i o n i n g   a n d   a d v a n c e d   t r a f f i c   r o u t i n g .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/",
    "id": "k8s_00588_section_5_11094"
  },
  {
    "question": "What is EndpointSlices?",
    "answer": "T h e   E n d p o i n t S l i c e   A P I   i s   t h e   m e c h a n i s m   t h a t   K u b e r n e t e s   u s e s   t o   l e t   y o u r   S e r v i c e   s c a l e   t o   h a n d l e   l a r g e   n u m b e r s   o f   b a c k e n d s ,   a n d   a l l o w s   t h e   c l u s t e r   t o   u p d a t e   i t s   l i s t   o f   h e a l t h y   b a c k e n d s   e f f i c i e n t l y .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/",
    "id": "k8s_00588_section_5_11095"
  },
  {
    "question": "What is Network Policies?",
    "answer": "I f   y o u   w a n t   t o   c o n t r o l   t r a f f i c   f l o w   a t   t h e   I P   a d d r e s s   o r   p o r t   l e v e l   ( O S I   l a y e r   3   o r   4 ) ,   N e t w o r k P o l i c i e s   a l l o w   y o u   t o   s p e c i f y   r u l e s   f o r   t r a f f i c   f l o w   w i t h i n   y o u r   c l u s t e r ,   a n d   a l s o   b e t w e e n   P o d s   a n d   t h e   o u t s i d e   w o r l d .   Y o u r   c l u s t e r   m u s t   u s e   a   n e t w o r k   p l u g i n   t h a t   s u p p o r t s   N e t w o r k P o l i c y   e n f o r c e m e n t .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/",
    "id": "k8s_00588_section_5_11096"
  },
  {
    "question": "What is DNS for Services and Pods?",
    "answer": "Y o u r   w o r k l o a d   c a n   d i s c o v e r   S e r v i c e s   w i t h i n   y o u r   c l u s t e r   u s i n g   D N S ;   t h i s   p a g e   e x p l a i n s   h o w   t h a t   w o r k s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/",
    "id": "k8s_00588_section_5_11097"
  },
  {
    "question": "What is IPv4/IPv6 dual-stack?",
    "answer": "K u b e r n e t e s   l e t s   y o u   c o n f i g u r e   s i n g l e - s t a c k   I P v 4   n e t w o r k i n g ,   s i n g l e - s t a c k   I P v 6   n e t w o r k i n g ,   o r   d u a l   s t a c k   n e t w o r k i n g   w i t h   b o t h   n e t w o r k   f a m i l i e s   a c t i v e .   T h i s   p a g e   e x p l a i n s   h o w .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/",
    "id": "k8s_00588_section_5_11098"
  },
  {
    "question": "What is Topology Aware Routing?",
    "answer": "T o p o l o g y   A w a r e   R o u t i n g   p r o v i d e s   a   m e c h a n i s m   t o   h e l p   k e e p   n e t w o r k   t r a f f i c   w i t h i n   t h e   z o n e   w h e r e   i t   o r i g i n a t e d .   P r e f e r r i n g   s a m e - z o n e   t r a f f i c   b e t w e e n   P o d s   i n   y o u r   c l u s t e r   c a n   h e l p   w i t h   r e l i a b i l i t y ,   p e r f o r m a n c e   ( n e t w o r k   l a t e n c y   a n d   t h r o u g h p u t ) ,   o r   c o s t .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/",
    "id": "k8s_00588_section_5_11099"
  },
  {
    "question": "What is Service Internal Traffic Policy?",
    "answer": "I f   t w o   P o d s   i n   y o u r   c l u s t e r   w a n t   t o   c o m m u n i c a t e ,   a n d   b o t h   P o d s   a r e   a c t u a l l y   r u n n i n g   o n   t h e   s a m e   n o d e ,   u s e   S e r v i c e   I n t e r n a l   T r a f f i c   P o l i c y   t o   k e e p   n e t w o r k   t r a f f i c   w i t h i n   t h a t   n o d e .   A v o i d i n g   a   r o u n d   t r i p   v i a   t h e   c l u s t e r   n e t w o r k   c a n   h e l p   w i t h   r e l i a b i l i t y ,   p e r f o r m a n c e   ( n e t w o r k   l a t e n c y   a n d   t h r o u g h p u t ) ,   o r   c o s t .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/services-networking/",
    "id": "k8s_00588_section_5_11100"
  },
  {
    "question": "What is Common Definitions?",
    "answer": "Common DefinitionsDeleteOptionsDeleteOptions may be provided when deleting an API object.LabelSelectorA label selector is a label query over a set of resources.ListMetaListMeta describes metadata that synthetic resources must have, including lists and various status objects.LocalObjectReferenceLocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.NodeSelectorRequirementA node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.ObjectFieldSelectorObjectFieldSelector selects an APIVersioned field of an object.ObjectMetaObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.ObjectReferenceObjectReference contains enough information to let you inspect or modify the referred object.PatchPatch is provided to give a concrete name and type to the Kubernetes PATCH request body.QuantityQuantity is a fixed-point representation of a number.ResourceFieldSelectorResourceFieldSelector represents container resources (cpu, memory) and their output format.StatusStatus is a return value for calls that don't return other objects.TypedLocalObjectReferenceTypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/",
    "id": "k8s_00589_qa_11101"
  },
  {
    "question": "How does Common Definitions work?",
    "answer": "Common DefinitionsDeleteOptionsDeleteOptions may be provided when deleting an API object.LabelSelectorA label selector is a label query over a set of resources.ListMetaListMeta describes metadata that synthetic resources must have, including lists and various status objects.LocalObjectReferenceLocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.NodeSelectorRequirementA node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.ObjectFieldSelectorObjectFieldSelector selects an APIVersioned field of an object.ObjectMetaObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.ObjectReferenceObjectReference contains enough information to let you inspect or modify the referred object.PatchPatch is provided to give a concrete name and type to the Kubernetes PATCH request body.QuantityQuantity is a fixed-point representation of a number.ResourceFieldSelectorResourceFieldSelector represents container resources (cpu, memory) and their output format.StatusStatus is a return value for calls that don't return other objects.TypedLocalObjectReferenceTypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/",
    "id": "k8s_00589_qa_11102"
  },
  {
    "question": "When would you use Common Definitions?",
    "answer": "Common DefinitionsDeleteOptionsDeleteOptions may be provided when deleting an API object.LabelSelectorA label selector is a label query over a set of resources.ListMetaListMeta describes metadata that synthetic resources must have, including lists and various status objects.LocalObjectReferenceLocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.NodeSelectorRequirementA node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.ObjectFieldSelectorObjectFieldSelector selects an APIVersioned field of an object.ObjectMetaObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.ObjectReferenceObjectReference contains enough information to let you inspect or modify the referred object.PatchPatch is provided to give a concrete name and type to the Kubernetes PATCH request body.QuantityQuantity is a fixed-point representation of a number.ResourceFieldSelectorResourceFieldSelector represents container resources (cpu, memory) and their output format.StatusStatus is a return value for calls that don't return other objects.TypedLocalObjectReferenceTypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/",
    "id": "k8s_00589_qa_11103"
  },
  {
    "question": "What are the benefits of Common Definitions?",
    "answer": "Common DefinitionsDeleteOptionsDeleteOptions may be provided when deleting an API object.LabelSelectorA label selector is a label query over a set of resources.ListMetaListMeta describes metadata that synthetic resources must have, including lists and various status objects.LocalObjectReferenceLocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.NodeSelectorRequirementA node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.ObjectFieldSelectorObjectFieldSelector selects an APIVersioned field of an object.ObjectMetaObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.ObjectReferenceObjectReference contains enough information to let you inspect or modify the referred object.PatchPatch is provided to give a concrete name and type to the Kubernetes PATCH request body.QuantityQuantity is a fixed-point representation of a number.ResourceFieldSelectorResourceFieldSelector represents container resources (cpu, memory) and their output format.StatusStatus is a return value for calls that don't return other objects.TypedLocalObjectReferenceTypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/",
    "id": "k8s_00589_qa_11104"
  },
  {
    "question": "What is DeleteOptions?",
    "answer": "D e l e t e O p t i o n s   m a y   b e   p r o v i d e d   w h e n   d e l e t i n g   a n   A P I   o b j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/",
    "id": "k8s_00589_section_5_11105"
  },
  {
    "question": "What is LabelSelector?",
    "answer": "A   l a b e l   s e l e c t o r   i s   a   l a b e l   q u e r y   o v e r   a   s e t   o f   r e s o u r c e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/",
    "id": "k8s_00589_section_5_11106"
  },
  {
    "question": "What is ListMeta?",
    "answer": "L i s t M e t a   d e s c r i b e s   m e t a d a t a   t h a t   s y n t h e t i c   r e s o u r c e s   m u s t   h a v e ,   i n c l u d i n g   l i s t s   a n d   v a r i o u s   s t a t u s   o b j e c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/",
    "id": "k8s_00589_section_5_11107"
  },
  {
    "question": "What is LocalObjectReference?",
    "answer": "L o c a l O b j e c t R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   l o c a t e   t h e   r e f e r e n c e d   o b j e c t   i n s i d e   t h e   s a m e   n a m e s p a c e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/",
    "id": "k8s_00589_section_5_11108"
  },
  {
    "question": "What is NodeSelectorRequirement?",
    "answer": "A   n o d e   s e l e c t o r   r e q u i r e m e n t   i s   a   s e l e c t o r   t h a t   c o n t a i n s   v a l u e s ,   a   k e y ,   a n d   a n   o p e r a t o r   t h a t   r e l a t e s   t h e   k e y   a n d   v a l u e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/",
    "id": "k8s_00589_section_5_11109"
  },
  {
    "question": "What is ObjectFieldSelector?",
    "answer": "O b j e c t F i e l d S e l e c t o r   s e l e c t s   a n   A P I V e r s i o n e d   f i e l d   o f   a n   o b j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/",
    "id": "k8s_00589_section_5_11110"
  },
  {
    "question": "What is ObjectMeta?",
    "answer": "O b j e c t M e t a   i s   m e t a d a t a   t h a t   a l l   p e r s i s t e d   r e s o u r c e s   m u s t   h a v e ,   w h i c h   i n c l u d e s   a l l   o b j e c t s   u s e r s   m u s t   c r e a t e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/",
    "id": "k8s_00589_section_5_11111"
  },
  {
    "question": "What is ObjectReference?",
    "answer": "O b j e c t R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   i n s p e c t   o r   m o d i f y   t h e   r e f e r r e d   o b j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/",
    "id": "k8s_00589_section_5_11112"
  },
  {
    "question": "What is Patch?",
    "answer": "P a t c h   i s   p r o v i d e d   t o   g i v e   a   c o n c r e t e   n a m e   a n d   t y p e   t o   t h e   K u b e r n e t e s   P A T C H   r e q u e s t   b o d y .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/",
    "id": "k8s_00589_section_5_11113"
  },
  {
    "question": "What is Quantity?",
    "answer": "Q u a n t i t y   i s   a   f i x e d - p o i n t   r e p r e s e n t a t i o n   o f   a   n u m b e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/",
    "id": "k8s_00589_section_5_11114"
  },
  {
    "question": "What is ResourceFieldSelector?",
    "answer": "R e s o u r c e F i e l d S e l e c t o r   r e p r e s e n t s   c o n t a i n e r   r e s o u r c e s   ( c p u ,   m e m o r y )   a n d   t h e i r   o u t p u t   f o r m a t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/",
    "id": "k8s_00589_section_5_11115"
  },
  {
    "question": "What is Status?",
    "answer": "S t a t u s   i s   a   r e t u r n   v a l u e   f o r   c a l l s   t h a t   d o n ' t   r e t u r n   o t h e r   o b j e c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/",
    "id": "k8s_00589_section_5_11116"
  },
  {
    "question": "What is TypedLocalObjectReference?",
    "answer": "T y p e d L o c a l O b j e c t R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   l o c a t e   t h e   t y p e d   r e f e r e n c e d   o b j e c t   i n s i d e   t h e   s a m e   n a m e s p a c e .   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/",
    "id": "k8s_00589_section_5_11117"
  },
  {
    "question": "What is kubectl set resources?",
    "answer": "kubectl set resourcesSynopsisSpecify compute resource requirements (CPU, memory) for any resource that defines a pod template. If a pod is successfully scheduled, it is guaranteed the amount of resource requested, but may burst up to its specified limits.For each compute resource, if a limit is specified and a request is omitted, the request will default to the limit.Possible resources include (case insensitive): Use \"kubectl api-resources\" for a complete list of supported resources..kubectl set resources (-f FILENAME | TYPE NAME) ([--limits=LIMITS & --requests=REQUESTS] Examples # Set a deployments nginx container cpu limits to \"200m\" and memory to \"512Mi\" kubectl set resources deployment nginx -c=nginx --limits=cpu=200m,memory=512Mi # Set the resource request and limits for all containers in nginx kubectl set resources deployment nginx --limits=cpu=200m,memory=512Mi --requests=cpu=100m,memory=256Mi # Remove the resource requests for resources on containers in nginx kubectl set resources deployment nginx --limits=cpu=0,memory=0 --requests=cpu=0,memory=0 # Print the result (in yaml format) of updating nginx container limits from a local, without hitting the server kubectl set resources -f path/to/file.yaml --limits=cpu=200m,memory=512Mi --local -o yaml Options--allSelect all resources, in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-c, --containers string Default: \"*\"The names of containers in the selected pod templates to change, all containers are selected by default - may use wildcards--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-set\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for resources-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--limits stringThe resource requirement requests for this container. For example, 'cpu=100m,memory=256Mi'. Note that server side components may assign requests depending on the server configuration, such as limit ranges.--localIf true, set resources will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--requests stringThe resource requirement requests for this container. For example, 'cpu=100m,memory=256Mi'. ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_resources/",
    "id": "k8s_00590_qa_11118"
  },
  {
    "question": "How does kubectl set resources work?",
    "answer": "kubectl set resourcesSynopsisSpecify compute resource requirements (CPU, memory) for any resource that defines a pod template. If a pod is successfully scheduled, it is guaranteed the amount of resource requested, but may burst up to its specified limits.For each compute resource, if a limit is specified and a request is omitted, the request will default to the limit.Possible resources include (case insensitive): Use \"kubectl api-resources\" for a complete list of supported resources..kubectl set resources (-f FILENAME | TYPE NAME) ([--limits=LIMITS & --requests=REQUESTS] Examples # Set a deployments nginx container cpu limits to \"200m\" and memory to \"512Mi\" kubectl set resources deployment nginx -c=nginx --limits=cpu=200m,memory=512Mi # Set the resource request and limits for all containers in nginx kubectl set resources deployment nginx --limits=cpu=200m,memory=512Mi --requests=cpu=100m,memory=256Mi # Remove the resource requests for resources on containers in nginx kubectl set resources deployment nginx --limits=cpu=0,memory=0 --requests=cpu=0,memory=0 # Print the result (in yaml format) of updating nginx container limits from a local, without hitting the server kubectl set resources -f path/to/file.yaml --limits=cpu=200m,memory=512Mi --local -o yaml Options--allSelect all resources, in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-c, --containers string Default: \"*\"The names of containers in the selected pod templates to change, all containers are selected by default - may use wildcards--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-set\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for resources-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--limits stringThe resource requirement requests for this container. For example, 'cpu=100m,memory=256Mi'. Note that server side components may assign requests depending on the server configuration, such as limit ranges.--localIf true, set resources will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--requests stringThe resource requirement requests for this container. For example, 'cpu=100m,memory=256Mi'. ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_resources/",
    "id": "k8s_00590_qa_11119"
  },
  {
    "question": "When would you use kubectl set resources?",
    "answer": "kubectl set resourcesSynopsisSpecify compute resource requirements (CPU, memory) for any resource that defines a pod template. If a pod is successfully scheduled, it is guaranteed the amount of resource requested, but may burst up to its specified limits.For each compute resource, if a limit is specified and a request is omitted, the request will default to the limit.Possible resources include (case insensitive): Use \"kubectl api-resources\" for a complete list of supported resources..kubectl set resources (-f FILENAME | TYPE NAME) ([--limits=LIMITS & --requests=REQUESTS] Examples # Set a deployments nginx container cpu limits to \"200m\" and memory to \"512Mi\" kubectl set resources deployment nginx -c=nginx --limits=cpu=200m,memory=512Mi # Set the resource request and limits for all containers in nginx kubectl set resources deployment nginx --limits=cpu=200m,memory=512Mi --requests=cpu=100m,memory=256Mi # Remove the resource requests for resources on containers in nginx kubectl set resources deployment nginx --limits=cpu=0,memory=0 --requests=cpu=0,memory=0 # Print the result (in yaml format) of updating nginx container limits from a local, without hitting the server kubectl set resources -f path/to/file.yaml --limits=cpu=200m,memory=512Mi --local -o yaml Options--allSelect all resources, in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-c, --containers string Default: \"*\"The names of containers in the selected pod templates to change, all containers are selected by default - may use wildcards--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-set\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for resources-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--limits stringThe resource requirement requests for this container. For example, 'cpu=100m,memory=256Mi'. Note that server side components may assign requests depending on the server configuration, such as limit ranges.--localIf true, set resources will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--requests stringThe resource requirement requests for this container. For example, 'cpu=100m,memory=256Mi'. ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_resources/",
    "id": "k8s_00590_qa_11120"
  },
  {
    "question": "What are the benefits of kubectl set resources?",
    "answer": "kubectl set resourcesSynopsisSpecify compute resource requirements (CPU, memory) for any resource that defines a pod template. If a pod is successfully scheduled, it is guaranteed the amount of resource requested, but may burst up to its specified limits.For each compute resource, if a limit is specified and a request is omitted, the request will default to the limit.Possible resources include (case insensitive): Use \"kubectl api-resources\" for a complete list of supported resources..kubectl set resources (-f FILENAME | TYPE NAME) ([--limits=LIMITS & --requests=REQUESTS] Examples # Set a deployments nginx container cpu limits to \"200m\" and memory to \"512Mi\" kubectl set resources deployment nginx -c=nginx --limits=cpu=200m,memory=512Mi # Set the resource request and limits for all containers in nginx kubectl set resources deployment nginx --limits=cpu=200m,memory=512Mi --requests=cpu=100m,memory=256Mi # Remove the resource requests for resources on containers in nginx kubectl set resources deployment nginx --limits=cpu=0,memory=0 --requests=cpu=0,memory=0 # Print the result (in yaml format) of updating nginx container limits from a local, without hitting the server kubectl set resources -f path/to/file.yaml --limits=cpu=200m,memory=512Mi --local -o yaml Options--allSelect all resources, in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-c, --containers string Default: \"*\"The names of containers in the selected pod templates to change, all containers are selected by default - may use wildcards--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-set\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for resources-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--limits stringThe resource requirement requests for this container. For example, 'cpu=100m,memory=256Mi'. Note that server side components may assign requests depending on the server configuration, such as limit ranges.--localIf true, set resources will NOT contact api-server but run locally.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--requests stringThe resource requirement requests for this container. For example, 'cpu=100m,memory=256Mi'. ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_resources/",
    "id": "k8s_00590_qa_11121"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S p e c i f y   c o m p u t e   r e s o u r c e   r e q u i r e m e n t s   ( C P U ,   m e m o r y )   f o r   a n y   r e s o u r c e   t h a t   d e f i n e s   a   p o d   t e m p l a t e .   I f   a   p o d   i s   s u c c e s s f u l l y   s c h e d u l e d ,   i t   i s   g u a r a n t e e d   t h e   a m o u n t   o f   r e s o u r c e   r e q u e s t e d ,   b u t   m a y   b u r s t   u p   t o   i t s   s p e c i f i e d   l i m i t s .   F o r   e a c h   c o m p u t e   r e s o u r c e ,   i f   a   l i m i t   i s   s p e c i f i e d   a n d   a   r e q u e s t   i s   o m i t t e d ,   t h e   r e q u e s t   w i l l   d e f a u l t   t o   t h e   l i m i t .   P o s s i b l e   r e s o u r c e s   i n c l u d e   ( c a s e   i n s e n s i t i v e ) :   U s e   \" k u b e c t l   a p i - r e s o u r c e s \"   f o r   a   c o m p l e t e   l i s t   o f   s u p p o r t e d   r e s o u r c e s . .   k u b e c t l   s e t   r e s o u r c e s   ( - f   F I L E N A M E   |   T Y P E   N A M E )   ( [ - - l i m i t s = L I M I T S   &   - - r e q u e s t s = R E Q U E S T S ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_resources/",
    "id": "k8s_00590_section_2_11122"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   a   d e p l o y m e n t s   n g i n x   c o n t a i n e r   c p u   l i m i t s   t o   \" 2 0 0 m \"   a n d   m e m o r y   t o   \" 5 1 2 M i \"   k u b e c t l   s e t   r e s o u r c e s   d e p l o y m e n t   n g i n x   - c = n g i n x   - - l i m i t s = c p u = 2 0 0 m , m e m o r y = 5 1 2 M i   #   S e t   t h e   r e s o u r c e   r e q u e s t   a n d   l i m i t s   f o r   a l l   c o n t a i n e r s   i n   n g i n x   k u b e c t l   s e t   r e s o u r c e s   d e p l o y m e n t   n g i n x   - - l i m i t s = c p u = 2 0 0 m , m e m o r y = 5 1 2 M i   - - r e q u e s t s = c p u = 1 0 0 m , m e m o r y = 2 5 6 M i   #   R e m o v e   t h e   r e s o u r c e   r e q u e s t s   f o r   r e s o u r c e s   o n   c o n t a i n e r s   i n   n g i n x   k u b e c t l   s e t   r e s o u r c e s   d e p l o y m e n t   n g i n x   - - l i m i t s = c p u = 0 , m e m o r y = 0   - - r e q u e s t s = c p u = 0 , m e m o r y = 0   #   P r i n t   t h e   r e s u l t   ( i n   y a m l   f o r m a t )   o f   u p d a t i n g   n g i n x   c o n t a i n e r   l i m i t s   f r o m   a   l o c a l ,   w i t h o u t   h i t t i n g   t h e   s e r v e r   k u b e c t l   s e t   r e s o u r c e s   - f   p a t h / t o / f i l e . y a m l   - - l i m i t s = c p u = 2 0 0 m , m e m o r y = 5 1 2 M i   - - l o c a l   - o   y a m l",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_resources/",
    "id": "k8s_00590_section_2_11123"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s ,   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   T h e   n a m e s   o f   c o n t a i n e r s   i n   t h e   s e l e c t e d   p o d   t e m p l a t e s   t o   c h a n g e ,   a l l   c o n t a i n e r s   a r e   s e l e c t e d   b y   d e f a u l t   -   m a y   u s e   w i l d c a r d s   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   r e s o u r c e s   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   T h e   r e s o u r c e   r e q u i r e m e n t   r e q u e s t s   f o r   t h i s   c o n t a i n e r .   F o r   e x a m p l e ,   ' c p u = 1 0 0 m , m e m o r y = 2 5 6 M i ' .   N o t e   t h a t   s e r v e r   s i d e   c o m p o n e n t s   m a y   a s s i g n   r e q u e s t s   d e p e n d i n g   o n   t h e   s e r v e r   c o n f i g u r a t i o n ,   s u c h   a s   l i m i t   r a n g e s .   I f   t r u e ,   s e t   r e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_resources/",
    "id": "k8s_00590_section_2_11124"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_resources/",
    "id": "k8s_00590_section_2_11125"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   s e t   -   S e t   s p e c i f i c   f e a t u r e s   o n   o b j e c t s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_set/kubectl_set_resources/",
    "id": "k8s_00590_section_2_11126"
  },
  {
    "question": "What is Switching from Polling to CRI Event-based Updates to Container Status?",
    "answer": "Switching from Polling to CRI Event-based Updates to Container StatusFEATURE STATE: Kubernetes v1.26 [alpha] (enabled by default: false)This page shows how to migrate nodes to use event based updates for container status. The event-based implementation reduces node resource consumption by the kubelet, compared to the legacy approach that relies on polling. You may know this feature as evented Pod lifecycle event generator (PLEG). That's the name used internally within the Kubernetes project for a key implementation detail.The polling based approach is referred to as generic PLEG.Before you beginYou need to run a version of Kubernetes that provides this feature. Kubernetes v1.27 includes beta support for event-based container status updates. The feature is beta but is disabled by default because it requires support from the container runtime.Your Kubernetes server must be at or later than version 1.26.To check the version, enter kubectl version.If you are running a different version of Kubernetes, check the documentation for that release.The container runtime in use must support container lifecycle events. The kubelet automatically switches back to the legacy generic PLEG mechanism if the container runtime does not announce support for container lifecycle events, even if you have this feature gate enabled.Why switch to Evented PLEG?The Generic PLEG incurs non-negligible overhead due to frequent polling of container statuses.This overhead is exacerbated by Kubelet's parallelized polling of container states, thus limiting its scalability and causing poor performance and reliability problems.The goal of Evented PLEG is to reduce unnecessary work during inactivity by replacing periodic polling.Switching to Evented PLEGStart the Kubelet with the feature gate EventedPLEG enabled. You can manage the kubelet feature gates editing the kubelet config file and restarting the kubelet service. You need to do this on each node where you are using this feature.Make sure the node is drained before proceeding.Start the container runtime with the container event generation enabled.Version 1.7+Version 1.26+Check if the CRI-O is already configured to emit CRI events by verifying the configuration,crio config | grep enable_pod_events If it is enabled, the output should be similar to the following:enable_pod_events = true To enable it, start the CRI-O daemon with the flag --enable-pod-events=true or use a dropin config with the following lines:[crio.runtime] enable_pod_events: true Your Kubernetes server must be at or later than version 1.26.To check the version, enter kubectl version.Verify that the kubelet is using event-based container stage change monitoring. To check, look for the term EventedPLEG in the kubelet logs.The output should be similar to this:I0314 11:10:13.909915 1105457 feature_gate.go:249] feature gates: &{map[EventedPLEG:true]} If you have set --v to 4 and above, you might see more entries that indicate that the kubelet is using event-based containe",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/switch-to-evented-pleg/",
    "id": "k8s_00591_qa_11127"
  },
  {
    "question": "How does Switching from Polling to CRI Event-based Updates to Container Status work?",
    "answer": "Switching from Polling to CRI Event-based Updates to Container StatusFEATURE STATE: Kubernetes v1.26 [alpha] (enabled by default: false)This page shows how to migrate nodes to use event based updates for container status. The event-based implementation reduces node resource consumption by the kubelet, compared to the legacy approach that relies on polling. You may know this feature as evented Pod lifecycle event generator (PLEG). That's the name used internally within the Kubernetes project for a key implementation detail.The polling based approach is referred to as generic PLEG.Before you beginYou need to run a version of Kubernetes that provides this feature. Kubernetes v1.27 includes beta support for event-based container status updates. The feature is beta but is disabled by default because it requires support from the container runtime.Your Kubernetes server must be at or later than version 1.26.To check the version, enter kubectl version.If you are running a different version of Kubernetes, check the documentation for that release.The container runtime in use must support container lifecycle events. The kubelet automatically switches back to the legacy generic PLEG mechanism if the container runtime does not announce support for container lifecycle events, even if you have this feature gate enabled.Why switch to Evented PLEG?The Generic PLEG incurs non-negligible overhead due to frequent polling of container statuses.This overhead is exacerbated by Kubelet's parallelized polling of container states, thus limiting its scalability and causing poor performance and reliability problems.The goal of Evented PLEG is to reduce unnecessary work during inactivity by replacing periodic polling.Switching to Evented PLEGStart the Kubelet with the feature gate EventedPLEG enabled. You can manage the kubelet feature gates editing the kubelet config file and restarting the kubelet service. You need to do this on each node where you are using this feature.Make sure the node is drained before proceeding.Start the container runtime with the container event generation enabled.Version 1.7+Version 1.26+Check if the CRI-O is already configured to emit CRI events by verifying the configuration,crio config | grep enable_pod_events If it is enabled, the output should be similar to the following:enable_pod_events = true To enable it, start the CRI-O daemon with the flag --enable-pod-events=true or use a dropin config with the following lines:[crio.runtime] enable_pod_events: true Your Kubernetes server must be at or later than version 1.26.To check the version, enter kubectl version.Verify that the kubelet is using event-based container stage change monitoring. To check, look for the term EventedPLEG in the kubelet logs.The output should be similar to this:I0314 11:10:13.909915 1105457 feature_gate.go:249] feature gates: &{map[EventedPLEG:true]} If you have set --v to 4 and above, you might see more entries that indicate that the kubelet is using event-based containe",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/switch-to-evented-pleg/",
    "id": "k8s_00591_qa_11128"
  },
  {
    "question": "When would you use Switching from Polling to CRI Event-based Updates to Container Status?",
    "answer": "Switching from Polling to CRI Event-based Updates to Container StatusFEATURE STATE: Kubernetes v1.26 [alpha] (enabled by default: false)This page shows how to migrate nodes to use event based updates for container status. The event-based implementation reduces node resource consumption by the kubelet, compared to the legacy approach that relies on polling. You may know this feature as evented Pod lifecycle event generator (PLEG). That's the name used internally within the Kubernetes project for a key implementation detail.The polling based approach is referred to as generic PLEG.Before you beginYou need to run a version of Kubernetes that provides this feature. Kubernetes v1.27 includes beta support for event-based container status updates. The feature is beta but is disabled by default because it requires support from the container runtime.Your Kubernetes server must be at or later than version 1.26.To check the version, enter kubectl version.If you are running a different version of Kubernetes, check the documentation for that release.The container runtime in use must support container lifecycle events. The kubelet automatically switches back to the legacy generic PLEG mechanism if the container runtime does not announce support for container lifecycle events, even if you have this feature gate enabled.Why switch to Evented PLEG?The Generic PLEG incurs non-negligible overhead due to frequent polling of container statuses.This overhead is exacerbated by Kubelet's parallelized polling of container states, thus limiting its scalability and causing poor performance and reliability problems.The goal of Evented PLEG is to reduce unnecessary work during inactivity by replacing periodic polling.Switching to Evented PLEGStart the Kubelet with the feature gate EventedPLEG enabled. You can manage the kubelet feature gates editing the kubelet config file and restarting the kubelet service. You need to do this on each node where you are using this feature.Make sure the node is drained before proceeding.Start the container runtime with the container event generation enabled.Version 1.7+Version 1.26+Check if the CRI-O is already configured to emit CRI events by verifying the configuration,crio config | grep enable_pod_events If it is enabled, the output should be similar to the following:enable_pod_events = true To enable it, start the CRI-O daemon with the flag --enable-pod-events=true or use a dropin config with the following lines:[crio.runtime] enable_pod_events: true Your Kubernetes server must be at or later than version 1.26.To check the version, enter kubectl version.Verify that the kubelet is using event-based container stage change monitoring. To check, look for the term EventedPLEG in the kubelet logs.The output should be similar to this:I0314 11:10:13.909915 1105457 feature_gate.go:249] feature gates: &{map[EventedPLEG:true]} If you have set --v to 4 and above, you might see more entries that indicate that the kubelet is using event-based containe",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/switch-to-evented-pleg/",
    "id": "k8s_00591_qa_11129"
  },
  {
    "question": "What are the benefits of Switching from Polling to CRI Event-based Updates to Container Status?",
    "answer": "Switching from Polling to CRI Event-based Updates to Container StatusFEATURE STATE: Kubernetes v1.26 [alpha] (enabled by default: false)This page shows how to migrate nodes to use event based updates for container status. The event-based implementation reduces node resource consumption by the kubelet, compared to the legacy approach that relies on polling. You may know this feature as evented Pod lifecycle event generator (PLEG). That's the name used internally within the Kubernetes project for a key implementation detail.The polling based approach is referred to as generic PLEG.Before you beginYou need to run a version of Kubernetes that provides this feature. Kubernetes v1.27 includes beta support for event-based container status updates. The feature is beta but is disabled by default because it requires support from the container runtime.Your Kubernetes server must be at or later than version 1.26.To check the version, enter kubectl version.If you are running a different version of Kubernetes, check the documentation for that release.The container runtime in use must support container lifecycle events. The kubelet automatically switches back to the legacy generic PLEG mechanism if the container runtime does not announce support for container lifecycle events, even if you have this feature gate enabled.Why switch to Evented PLEG?The Generic PLEG incurs non-negligible overhead due to frequent polling of container statuses.This overhead is exacerbated by Kubelet's parallelized polling of container states, thus limiting its scalability and causing poor performance and reliability problems.The goal of Evented PLEG is to reduce unnecessary work during inactivity by replacing periodic polling.Switching to Evented PLEGStart the Kubelet with the feature gate EventedPLEG enabled. You can manage the kubelet feature gates editing the kubelet config file and restarting the kubelet service. You need to do this on each node where you are using this feature.Make sure the node is drained before proceeding.Start the container runtime with the container event generation enabled.Version 1.7+Version 1.26+Check if the CRI-O is already configured to emit CRI events by verifying the configuration,crio config | grep enable_pod_events If it is enabled, the output should be similar to the following:enable_pod_events = true To enable it, start the CRI-O daemon with the flag --enable-pod-events=true or use a dropin config with the following lines:[crio.runtime] enable_pod_events: true Your Kubernetes server must be at or later than version 1.26.To check the version, enter kubectl version.Verify that the kubelet is using event-based container stage change monitoring. To check, look for the term EventedPLEG in the kubelet logs.The output should be similar to this:I0314 11:10:13.909915 1105457 feature_gate.go:249] feature gates: &{map[EventedPLEG:true]} If you have set --v to 4 and above, you might see more entries that indicate that the kubelet is using event-based containe",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/switch-to-evented-pleg/",
    "id": "k8s_00591_qa_11130"
  },
  {
    "question": "What is Switching from Polling to CRI Event-based Updates to Container Status?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   m i g r a t e   n o d e s   t o   u s e   e v e n t   b a s e d   u p d a t e s   f o r   c o n t a i n e r   s t a t u s .   T h e   e v e n t - b a s e d   i m p l e m e n t a t i o n   r e d u c e s   n o d e   r e s o u r c e   c o n s u m p t i o n   b y   t h e   k u b e l e t ,   c o m p a r e d   t o   t h e   l e g a c y   a p p r o a c h   t h a t   r e l i e s   o n   p o l l i n g .   Y o u   m a y   k n o w   t h i s   f e a t u r e   a s   e v e n t e d   P o d   l i f e c y c l e   e v e n t   g e n e r a t o r   ( P L E G ) .   T h a t ' s   t h e   n a m e   u s e d   i n t e r n a l l y   w i t h i n   t h e   K u b e r n e t e s   p r o j e c t   f o r   a   k e y   i m p l e m e n t a t i o n   d e t a i l .   T h e   p o l l i n g   b a s e d   a p p r o a c h   i s   r e f e r r e d   t o   a s   g e n e r i c   P L E G .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/switch-to-evented-pleg/",
    "id": "k8s_00591_section_1_11131"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   r u n   a   v e r s i o n   o f   K u b e r n e t e s   t h a t   p r o v i d e s   t h i s   f e a t u r e .   K u b e r n e t e s   v 1 . 2 7   i n c l u d e s   b e t a   s u p p o r t   f o r   e v e n t - b a s e d   c o n t a i n e r   s t a t u s   u p d a t e s .   T h e   f e a t u r e   i s   b e t a   b u t   i s   d i s a b l e d   b y   d e f a u l t   b e c a u s e   i t   r e q u i r e s   s u p p o r t   f r o m   t h e   c o n t a i n e r   r u n t i m e . Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 2 6 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n . I f   y o u   a r e   r u n n i n g   a   d i f f e r e n t   v e r s i o n   o f   K u b e r n e t e s ,   c h e c k   t h e   d o c u m e n t a t i o n   f o r   t h a t   r e l e a s e . T h e   c o n t a i n e r   r u n t i m e   i n   u s e   m u s t   s u p p o r t   c o n t a i n e r   l i f e c y c l e   e v e n t s .   T h e   k u b e l e t   a u t o m a t i c a l l y   s w i t c h e s   b a c k   t o   t h e   l e g a c y   g e n e r i c   P L E G   m e c h a n i s m   i f   t h e   c o n t a i n e r   r u n t i m e   d o e s   n o t   a n n o u n c e   s u p p o r t   f o r   c o n t a i n e r   l i f e c y c l e   e v e n t s ,   e v e n   i f   y o u   h a v e   t h i s   f e a t u r e   g a t e   e n a b l e d .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/switch-to-evented-pleg/",
    "id": "k8s_00591_section_2_11132"
  },
  {
    "question": "What is Why switch to Evented PLEG??",
    "answer": "T h e   G e n e r i c   P L E G   i n c u r s   n o n - n e g l i g i b l e   o v e r h e a d   d u e   t o   f r e q u e n t   p o l l i n g   o f   c o n t a i n e r   s t a t u s e s . T h i s   o v e r h e a d   i s   e x a c e r b a t e d   b y   K u b e l e t ' s   p a r a l l e l i z e d   p o l l i n g   o f   c o n t a i n e r   s t a t e s ,   t h u s   l i m i t i n g   i t s   s c a l a b i l i t y   a n d   c a u s i n g   p o o r   p e r f o r m a n c e   a n d   r e l i a b i l i t y   p r o b l e m s . T h e   g o a l   o f   E v e n t e d   P L E G   i s   t o   r e d u c e   u n n e c e s s a r y   w o r k   d u r i n g   i n a c t i v i t y   b y   r e p l a c i n g   p e r i o d i c   p o l l i n g .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/switch-to-evented-pleg/",
    "id": "k8s_00591_section_2_11133"
  },
  {
    "question": "What is Switching to Evented PLEG?",
    "answer": "S t a r t   t h e   K u b e l e t   w i t h   t h e   f e a t u r e   g a t e   E v e n t e d P L E G   e n a b l e d .   Y o u   c a n   m a n a g e   t h e   k u b e l e t   f e a t u r e   g a t e s   e d i t i n g   t h e   k u b e l e t   c o n f i g   f i l e   a n d   r e s t a r t i n g   t h e   k u b e l e t   s e r v i c e .   Y o u   n e e d   t o   d o   t h i s   o n   e a c h   n o d e   w h e r e   y o u   a r e   u s i n g   t h i s   f e a t u r e . M a k e   s u r e   t h e   n o d e   i s   d r a i n e d   b e f o r e   p r o c e e d i n g . S t a r t   t h e   c o n t a i n e r   r u n t i m e   w i t h   t h e   c o n t a i n e r   e v e n t   g e n e r a t i o n   e n a b l e d . V e r s i o n   1 . 7 + V e r s i o n   1 . 2 6 + C h e c k   i f   t h e   C R I - O   i s   a l r e a d y   c o n f i g u r e d   t o   e m i t   C R I   e v e n t s   b y   v e r i f y i n g   t h e   c o n f i g u r a t i o n , c r i o   c o n f i g   |   g r e p   e n a b l e _ p o d _ e v e n t s   I f   i t   i s   e n a b l e d ,   t h e   o u t p u t   s h o u l d   b e   s i m i l a r   t o   t h e   f o l l o w i n g : e n a b l e _ p o d _ e v e n t s   =   t r u e   T o   e n a b l e   i t ,   s t a r t   t h e   C R I - O   d a e m o n   w i t h   t h e   f l a g   - - e n a b l e - p o d - e v e n t s = t r u e   o r   u s e   a   d r o p i n   c o n f i g   w i t h   t h e   f o l l o w i n g   l i n e s : [ c r i o . r u n t i m e ]   e n a b l e _ p o d _ e v e n t s :   t r u e   Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 2 6 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n . V e r i f y   t h a t   t h e   k u b e l e t   i s   u s i n g   e v e n t - b a s e d   c o n t a i n e r   s t a g e   c h a n g e   m o n i t o r i n g .   T o   c h e c k ,   l o o k   f o r   t h e   t e r m   E v e n t e d P L E G   i n   t h e   k u b e l e t ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/switch-to-evented-pleg/",
    "id": "k8s_00591_section_2_11134"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   t h e   d e s i g n   i n   t h e   K u b e r n e t e s   E n h a n c e m e n t   P r o p o s a l   ( K E P ) :   K u b e l e t   E v e n t e d   P L E G   f o r   B e t t e r   P e r f o r m a n c e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/switch-to-evented-pleg/",
    "id": "k8s_00591_section_2_11135"
  },
  {
    "question": "What is Contributing new content?",
    "answer": "Contributing new contentThis section contains information you should know before contributing new content.There are also dedicated pages about submitting case studies and blog articles.New content task flowflowchart LR subgraph second[Before you begin] direction TB S[ ] -.- A[Sign the CNCF CLA] --> B[Choose Git branch] B --> C[One language per PR] C --> F[Check outcontributor tools] end subgraph first[Contributing Basics] direction TB T[ ] -.- D[Write docs in markdownand build site with Hugo] --- E[source in GitHub] E --- G['/content/../docs' folder contains docsfor multiple languages] G --- H[Review Hugo page contenttypes and shortcodes] end first ----> second classDef grey fill:#dddddd,stroke:#ffffff,stroke-width:px,color:#000000, font-size:15px; classDef white fill:#ffffff,stroke:#000,stroke-width:px,color:#000,font-weight:bold classDef spacewhite fill:#ffffff,stroke:#fff,stroke-width:0px,color:#000 class A,B,C,D,E,F,G,H grey class S,T spacewhite class first,second whiteJavaScript must be enabled to view this contentFigure - Contributing new content preparationThe figure above depicts the information you should know prior to submitting new content. The information details follow.Contributing basicsWrite Kubernetes documentation in Markdown and build the Kubernetes site using Hugo.Kubernetes documentation uses CommonMark as its flavor of Markdown.The source is in GitHub. You can find Kubernetes documentation at /content/en/docs/. Some of the reference documentation is automatically generated from scripts in the update-imported-docs/ directory.Page content types describe the presentation of documentation content in Hugo.You can use Docsy shortcodes or custom Hugo shortcodes to contribute to Kubernetes documentation.In addition to the standard Hugo shortcodes, we use a number of custom Hugo shortcodes in our documentation to control the presentation of content.Documentation source is available in multiple languages in /content/. Each language has its own folder with a two-letter code determined by the ISO 639-1 standard . For example, English documentation source is stored in /content/en/docs/.For more information about contributing to documentation in multiple languages or starting a new translation, see localization.Before you beginSign the CNCF CLAAll Kubernetes contributors must read the Contributor guide and sign the Contributor License Agreement (CLA) .Pull requests from contributors who haven't signed the CLA fail the automated tests. The name and email you provide must match those found in your git config, and your git name and email must match those used for the CNCF CLA.Choose which Git branch to useWhen opening a pull request, you need to know in advance which branch to base your work on.ScenarioBranchExisting or new English language content for the current releasemainContent for a feature change releaseThe branch which corresponds to the major and minor version the feature change is in, using the pattern dev-<version>. For example, if",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/",
    "id": "k8s_00592_qa_11136"
  },
  {
    "question": "How does Contributing new content work?",
    "answer": "Contributing new contentThis section contains information you should know before contributing new content.There are also dedicated pages about submitting case studies and blog articles.New content task flowflowchart LR subgraph second[Before you begin] direction TB S[ ] -.- A[Sign the CNCF CLA] --> B[Choose Git branch] B --> C[One language per PR] C --> F[Check outcontributor tools] end subgraph first[Contributing Basics] direction TB T[ ] -.- D[Write docs in markdownand build site with Hugo] --- E[source in GitHub] E --- G['/content/../docs' folder contains docsfor multiple languages] G --- H[Review Hugo page contenttypes and shortcodes] end first ----> second classDef grey fill:#dddddd,stroke:#ffffff,stroke-width:px,color:#000000, font-size:15px; classDef white fill:#ffffff,stroke:#000,stroke-width:px,color:#000,font-weight:bold classDef spacewhite fill:#ffffff,stroke:#fff,stroke-width:0px,color:#000 class A,B,C,D,E,F,G,H grey class S,T spacewhite class first,second whiteJavaScript must be enabled to view this contentFigure - Contributing new content preparationThe figure above depicts the information you should know prior to submitting new content. The information details follow.Contributing basicsWrite Kubernetes documentation in Markdown and build the Kubernetes site using Hugo.Kubernetes documentation uses CommonMark as its flavor of Markdown.The source is in GitHub. You can find Kubernetes documentation at /content/en/docs/. Some of the reference documentation is automatically generated from scripts in the update-imported-docs/ directory.Page content types describe the presentation of documentation content in Hugo.You can use Docsy shortcodes or custom Hugo shortcodes to contribute to Kubernetes documentation.In addition to the standard Hugo shortcodes, we use a number of custom Hugo shortcodes in our documentation to control the presentation of content.Documentation source is available in multiple languages in /content/. Each language has its own folder with a two-letter code determined by the ISO 639-1 standard . For example, English documentation source is stored in /content/en/docs/.For more information about contributing to documentation in multiple languages or starting a new translation, see localization.Before you beginSign the CNCF CLAAll Kubernetes contributors must read the Contributor guide and sign the Contributor License Agreement (CLA) .Pull requests from contributors who haven't signed the CLA fail the automated tests. The name and email you provide must match those found in your git config, and your git name and email must match those used for the CNCF CLA.Choose which Git branch to useWhen opening a pull request, you need to know in advance which branch to base your work on.ScenarioBranchExisting or new English language content for the current releasemainContent for a feature change releaseThe branch which corresponds to the major and minor version the feature change is in, using the pattern dev-<version>. For example, if",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/",
    "id": "k8s_00592_qa_11137"
  },
  {
    "question": "When would you use Contributing new content?",
    "answer": "Contributing new contentThis section contains information you should know before contributing new content.There are also dedicated pages about submitting case studies and blog articles.New content task flowflowchart LR subgraph second[Before you begin] direction TB S[ ] -.- A[Sign the CNCF CLA] --> B[Choose Git branch] B --> C[One language per PR] C --> F[Check outcontributor tools] end subgraph first[Contributing Basics] direction TB T[ ] -.- D[Write docs in markdownand build site with Hugo] --- E[source in GitHub] E --- G['/content/../docs' folder contains docsfor multiple languages] G --- H[Review Hugo page contenttypes and shortcodes] end first ----> second classDef grey fill:#dddddd,stroke:#ffffff,stroke-width:px,color:#000000, font-size:15px; classDef white fill:#ffffff,stroke:#000,stroke-width:px,color:#000,font-weight:bold classDef spacewhite fill:#ffffff,stroke:#fff,stroke-width:0px,color:#000 class A,B,C,D,E,F,G,H grey class S,T spacewhite class first,second whiteJavaScript must be enabled to view this contentFigure - Contributing new content preparationThe figure above depicts the information you should know prior to submitting new content. The information details follow.Contributing basicsWrite Kubernetes documentation in Markdown and build the Kubernetes site using Hugo.Kubernetes documentation uses CommonMark as its flavor of Markdown.The source is in GitHub. You can find Kubernetes documentation at /content/en/docs/. Some of the reference documentation is automatically generated from scripts in the update-imported-docs/ directory.Page content types describe the presentation of documentation content in Hugo.You can use Docsy shortcodes or custom Hugo shortcodes to contribute to Kubernetes documentation.In addition to the standard Hugo shortcodes, we use a number of custom Hugo shortcodes in our documentation to control the presentation of content.Documentation source is available in multiple languages in /content/. Each language has its own folder with a two-letter code determined by the ISO 639-1 standard . For example, English documentation source is stored in /content/en/docs/.For more information about contributing to documentation in multiple languages or starting a new translation, see localization.Before you beginSign the CNCF CLAAll Kubernetes contributors must read the Contributor guide and sign the Contributor License Agreement (CLA) .Pull requests from contributors who haven't signed the CLA fail the automated tests. The name and email you provide must match those found in your git config, and your git name and email must match those used for the CNCF CLA.Choose which Git branch to useWhen opening a pull request, you need to know in advance which branch to base your work on.ScenarioBranchExisting or new English language content for the current releasemainContent for a feature change releaseThe branch which corresponds to the major and minor version the feature change is in, using the pattern dev-<version>. For example, if",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/",
    "id": "k8s_00592_qa_11138"
  },
  {
    "question": "What are the benefits of Contributing new content?",
    "answer": "Contributing new contentThis section contains information you should know before contributing new content.There are also dedicated pages about submitting case studies and blog articles.New content task flowflowchart LR subgraph second[Before you begin] direction TB S[ ] -.- A[Sign the CNCF CLA] --> B[Choose Git branch] B --> C[One language per PR] C --> F[Check outcontributor tools] end subgraph first[Contributing Basics] direction TB T[ ] -.- D[Write docs in markdownand build site with Hugo] --- E[source in GitHub] E --- G['/content/../docs' folder contains docsfor multiple languages] G --- H[Review Hugo page contenttypes and shortcodes] end first ----> second classDef grey fill:#dddddd,stroke:#ffffff,stroke-width:px,color:#000000, font-size:15px; classDef white fill:#ffffff,stroke:#000,stroke-width:px,color:#000,font-weight:bold classDef spacewhite fill:#ffffff,stroke:#fff,stroke-width:0px,color:#000 class A,B,C,D,E,F,G,H grey class S,T spacewhite class first,second whiteJavaScript must be enabled to view this contentFigure - Contributing new content preparationThe figure above depicts the information you should know prior to submitting new content. The information details follow.Contributing basicsWrite Kubernetes documentation in Markdown and build the Kubernetes site using Hugo.Kubernetes documentation uses CommonMark as its flavor of Markdown.The source is in GitHub. You can find Kubernetes documentation at /content/en/docs/. Some of the reference documentation is automatically generated from scripts in the update-imported-docs/ directory.Page content types describe the presentation of documentation content in Hugo.You can use Docsy shortcodes or custom Hugo shortcodes to contribute to Kubernetes documentation.In addition to the standard Hugo shortcodes, we use a number of custom Hugo shortcodes in our documentation to control the presentation of content.Documentation source is available in multiple languages in /content/. Each language has its own folder with a two-letter code determined by the ISO 639-1 standard . For example, English documentation source is stored in /content/en/docs/.For more information about contributing to documentation in multiple languages or starting a new translation, see localization.Before you beginSign the CNCF CLAAll Kubernetes contributors must read the Contributor guide and sign the Contributor License Agreement (CLA) .Pull requests from contributors who haven't signed the CLA fail the automated tests. The name and email you provide must match those found in your git config, and your git name and email must match those used for the CNCF CLA.Choose which Git branch to useWhen opening a pull request, you need to know in advance which branch to base your work on.ScenarioBranchExisting or new English language content for the current releasemainContent for a feature change releaseThe branch which corresponds to the major and minor version the feature change is in, using the pattern dev-<version>. For example, if",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/",
    "id": "k8s_00592_qa_11139"
  },
  {
    "question": "What is Contributing new content?",
    "answer": "T h i s   s e c t i o n   c o n t a i n s   i n f o r m a t i o n   y o u   s h o u l d   k n o w   b e f o r e   c o n t r i b u t i n g   n e w   c o n t e n t .   T h e r e   a r e   a l s o   d e d i c a t e d   p a g e s   a b o u t   s u b m i t t i n g   c a s e   s t u d i e s   a n d   b l o g   a r t i c l e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/",
    "id": "k8s_00592_section_1_11140"
  },
  {
    "question": "What is New content task flow?",
    "answer": "F i g u r e   -   C o n t r i b u t i n g   n e w   c o n t e n t   p r e p a r a t i o n   T h e   f i g u r e   a b o v e   d e p i c t s   t h e   i n f o r m a t i o n   y o u   s h o u l d   k n o w   p r i o r   t o   s u b m i t t i n g   n e w   c o n t e n t .   T h e   i n f o r m a t i o n   d e t a i l s   f o l l o w .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/",
    "id": "k8s_00592_section_2_11141"
  },
  {
    "question": "What is Contributing basics?",
    "answer": "W r i t e   K u b e r n e t e s   d o c u m e n t a t i o n   i n   M a r k d o w n   a n d   b u i l d   t h e   K u b e r n e t e s   s i t e   u s i n g   H u g o . K u b e r n e t e s   d o c u m e n t a t i o n   u s e s   C o m m o n M a r k   a s   i t s   f l a v o r   o f   M a r k d o w n . T h e   s o u r c e   i s   i n   G i t H u b .   Y o u   c a n   f i n d   K u b e r n e t e s   d o c u m e n t a t i o n   a t   / c o n t e n t / e n / d o c s / .   S o m e   o f   t h e   r e f e r e n c e   d o c u m e n t a t i o n   i s   a u t o m a t i c a l l y   g e n e r a t e d   f r o m   s c r i p t s   i n   t h e   u p d a t e - i m p o r t e d - d o c s /   d i r e c t o r y . P a g e   c o n t e n t   t y p e s   d e s c r i b e   t h e   p r e s e n t a t i o n   o f   d o c u m e n t a t i o n   c o n t e n t   i n   H u g o . Y o u   c a n   u s e   D o c s y   s h o r t c o d e s   o r   c u s t o m   H u g o   s h o r t c o d e s   t o   c o n t r i b u t e   t o   K u b e r n e t e s   d o c u m e n t a t i o n . I n   a d d i t i o n   t o   t h e   s t a n d a r d   H u g o   s h o r t c o d e s ,   w e   u s e   a   n u m b e r   o f   c u s t o m   H u g o   s h o r t c o d e s   i n   o u r   d o c u m e n t a t i o n   t o   c o n t r o l   t h e   p r e s e n t a t i o n   o f   c o n t e n t . D o c u m e n t a t i o n   s o u r c e   i s   a v a i l a b l e   i n   m u l t i p l e   l a n g u a g e s   i n   / c o n t e n t / .   E a c h   l a n g u a g e   h a s   i t s   o w n   f o l d e r   w i t h   a   t w o - l e t t e r   c o d e   d e t e r m i n e d   b y   t h e   I S O   6 3 9 - 1   s t a n d a r d   .   F o r   e x a m p l e ,   E n g l i s h   d o c u m e n t a t i o n   s o u r c e   i s   s t o r e d   i n   / c o n t e n t / e n / d o c s / . F o r   m o r e   i n f o r m a t i o n   a b o u t   c o n t r i b u t i n g   t o   d o c u m e n t a t i o n   i n   m u l t i p l e   l a n g u a g e s   o r   s t a r t i n ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/",
    "id": "k8s_00592_section_2_11142"
  },
  {
    "question": "What is Sign the CNCF CLA?",
    "answer": "A l l   K u b e r n e t e s   c o n t r i b u t o r s   m u s t   r e a d   t h e   C o n t r i b u t o r   g u i d e   a n d   s i g n   t h e   C o n t r i b u t o r   L i c e n s e   A g r e e m e n t   ( C L A )   .   P u l l   r e q u e s t s   f r o m   c o n t r i b u t o r s   w h o   h a v e n ' t   s i g n e d   t h e   C L A   f a i l   t h e   a u t o m a t e d   t e s t s .   T h e   n a m e   a n d   e m a i l   y o u   p r o v i d e   m u s t   m a t c h   t h o s e   f o u n d   i n   y o u r   g i t   c o n f i g ,   a n d   y o u r   g i t   n a m e   a n d   e m a i l   m u s t   m a t c h   t h o s e   u s e d   f o r   t h e   C N C F   C L A .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/",
    "id": "k8s_00592_section_3_11143"
  },
  {
    "question": "What is Choose which Git branch to use?",
    "answer": "W h e n   o p e n i n g   a   p u l l   r e q u e s t ,   y o u   n e e d   t o   k n o w   i n   a d v a n c e   w h i c h   b r a n c h   t o   b a s e   y o u r   w o r k   o n .   I f   y o u ' r e   s t i l l   n o t   s u r e   w h i c h   b r a n c h   t o   c h o o s e ,   a s k   i n   # s i g - d o c s   o n   S l a c k .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/",
    "id": "k8s_00592_section_3_11144"
  },
  {
    "question": "What is Languages per PR?",
    "answer": "L i m i t   p u l l   r e q u e s t s   t o   o n e   l a n g u a g e   p e r   P R .   I f   y o u   n e e d   t o   m a k e   a n   i d e n t i c a l   c h a n g e   t o   t h e   s a m e   c o d e   s a m p l e   i n   m u l t i p l e   l a n g u a g e s ,   o p e n   a   s e p a r a t e   P R   f o r   e a c h   l a n g u a g e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/",
    "id": "k8s_00592_section_3_11145"
  },
  {
    "question": "What is Tools for contributors?",
    "answer": "T h e   d o c   c o n t r i b u t o r s   t o o l s   d i r e c t o r y   i n   t h e   k u b e r n e t e s / w e b s i t e   r e p o s i t o r y   c o n t a i n s   t o o l s   t o   h e l p   y o u r   c o n t r i b u t i o n   j o u r n e y   g o   m o r e   s m o o t h l y .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/",
    "id": "k8s_00592_section_2_11146"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   s u b m i t t i n g   b l o g   a r t i c l e s .   O p e n i n g   a   p u l l   r e q u e s t D o c u m e n t i n g   a   f e a t u r e   f o r   a   r e l e a s e S u b m i t t i n g   c a s e   s t u d i e s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/new-content/",
    "id": "k8s_00592_section_2_11147"
  },
  {
    "question": "What is Contribute to Kubernetes Documentation?",
    "answer": "Contribute to Kubernetes DocumentationThis website is maintained by Kubernetes SIG Docs. The Kubernetes project welcomes help from all contributors, new or experienced!Kubernetes documentation contributors:Improve existing contentCreate new contentTranslate the documentationManage and publish the documentation parts of the Kubernetes release cycleThe blog team, part of SIG Docs, helps manage the official blogs. Read contributing to Kubernetes blogs to learn more.Note:To learn more about contributing to Kubernetes in general, see the general contributor documentation site.Getting startedAnyone can open an issue about documentation, or contribute a change with a pull request (PR) to the kubernetes/website GitHub repository. You need to be comfortable with git and GitHub to work effectively in the Kubernetes community.To get involved with documentation:Sign the CNCF Contributor License Agreement.Familiarize yourself with the documentation repository and the website's static site generator.Make sure you understand the basic processes for opening a pull request and reviewing changes.flowchart TB subgraph third[Open PR] direction TB U[ ] -.- Q[Improve content] --- N[Create content] N --- O[Translate docs] O --- P[Manage/publish docs partsof K8s release cycle] end subgraph second[Review] direction TB T[ ] -.- D[Look over thekubernetes/websiterepository] --- E[Check out theHugo static sitegenerator] E --- F[Understand basicGitHub commands] F --- G[Review open PRand change reviewprocesses] end subgraph first[Sign up] direction TB S[ ] -.- B[Sign the CNCFContributorLicense Agreement] --- C[Join sig-docsSlack channel] C --- V[Join kubernetes-sig-docsmailing list] V --- M[Attend weeklysig-docs callsor slack meetings] end A([fa:fa-user NewContributor]) --> first A --> second A --> third A --> H[Ask Questions!!!] classDef grey fill:#dddddd,stroke:#ffffff,stroke-width:px,color:#000000, font-size:15px; classDef white fill:#ffffff,stroke:#000,stroke-width:px,color:#000,font-weight:bold classDef spacewhite fill:#ffffff,stroke:#fff,stroke-width:0px,color:#000 class A,B,C,D,E,F,G,H,M,Q,N,O,P,V grey class S,T,U spacewhite class first,second,third whiteJavaScript must be enabled to view this contentFigure 1. Getting started for a new contributor.Figure 1 outlines a roadmap for new contributors. You can follow some or all of the steps for Sign up and Review. Now you are ready to open PRs that achieve your contribution objectives with some listed under Open PR. Again, questions are always welcome!Some tasks require more trust and more access in the Kubernetes organization. See Participating in SIG Docs for more details about roles and permissions.Your first contributionYou can prepare for your first contribution by reviewing several steps beforehand. Figure 2 outlines the steps and the details follow.flowchart LR subgraph second[First Contribution] direction TB S[ ] -.- G[Review PRs from otherK8s members] --> A[Check kubernetes/websiteissues list forgood first PRs] --> ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/docs/",
    "id": "k8s_00593_qa_11148"
  },
  {
    "question": "How does Contribute to Kubernetes Documentation work?",
    "answer": "Contribute to Kubernetes DocumentationThis website is maintained by Kubernetes SIG Docs. The Kubernetes project welcomes help from all contributors, new or experienced!Kubernetes documentation contributors:Improve existing contentCreate new contentTranslate the documentationManage and publish the documentation parts of the Kubernetes release cycleThe blog team, part of SIG Docs, helps manage the official blogs. Read contributing to Kubernetes blogs to learn more.Note:To learn more about contributing to Kubernetes in general, see the general contributor documentation site.Getting startedAnyone can open an issue about documentation, or contribute a change with a pull request (PR) to the kubernetes/website GitHub repository. You need to be comfortable with git and GitHub to work effectively in the Kubernetes community.To get involved with documentation:Sign the CNCF Contributor License Agreement.Familiarize yourself with the documentation repository and the website's static site generator.Make sure you understand the basic processes for opening a pull request and reviewing changes.flowchart TB subgraph third[Open PR] direction TB U[ ] -.- Q[Improve content] --- N[Create content] N --- O[Translate docs] O --- P[Manage/publish docs partsof K8s release cycle] end subgraph second[Review] direction TB T[ ] -.- D[Look over thekubernetes/websiterepository] --- E[Check out theHugo static sitegenerator] E --- F[Understand basicGitHub commands] F --- G[Review open PRand change reviewprocesses] end subgraph first[Sign up] direction TB S[ ] -.- B[Sign the CNCFContributorLicense Agreement] --- C[Join sig-docsSlack channel] C --- V[Join kubernetes-sig-docsmailing list] V --- M[Attend weeklysig-docs callsor slack meetings] end A([fa:fa-user NewContributor]) --> first A --> second A --> third A --> H[Ask Questions!!!] classDef grey fill:#dddddd,stroke:#ffffff,stroke-width:px,color:#000000, font-size:15px; classDef white fill:#ffffff,stroke:#000,stroke-width:px,color:#000,font-weight:bold classDef spacewhite fill:#ffffff,stroke:#fff,stroke-width:0px,color:#000 class A,B,C,D,E,F,G,H,M,Q,N,O,P,V grey class S,T,U spacewhite class first,second,third whiteJavaScript must be enabled to view this contentFigure 1. Getting started for a new contributor.Figure 1 outlines a roadmap for new contributors. You can follow some or all of the steps for Sign up and Review. Now you are ready to open PRs that achieve your contribution objectives with some listed under Open PR. Again, questions are always welcome!Some tasks require more trust and more access in the Kubernetes organization. See Participating in SIG Docs for more details about roles and permissions.Your first contributionYou can prepare for your first contribution by reviewing several steps beforehand. Figure 2 outlines the steps and the details follow.flowchart LR subgraph second[First Contribution] direction TB S[ ] -.- G[Review PRs from otherK8s members] --> A[Check kubernetes/websiteissues list forgood first PRs] --> ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/docs/",
    "id": "k8s_00593_qa_11149"
  },
  {
    "question": "When would you use Contribute to Kubernetes Documentation?",
    "answer": "Contribute to Kubernetes DocumentationThis website is maintained by Kubernetes SIG Docs. The Kubernetes project welcomes help from all contributors, new or experienced!Kubernetes documentation contributors:Improve existing contentCreate new contentTranslate the documentationManage and publish the documentation parts of the Kubernetes release cycleThe blog team, part of SIG Docs, helps manage the official blogs. Read contributing to Kubernetes blogs to learn more.Note:To learn more about contributing to Kubernetes in general, see the general contributor documentation site.Getting startedAnyone can open an issue about documentation, or contribute a change with a pull request (PR) to the kubernetes/website GitHub repository. You need to be comfortable with git and GitHub to work effectively in the Kubernetes community.To get involved with documentation:Sign the CNCF Contributor License Agreement.Familiarize yourself with the documentation repository and the website's static site generator.Make sure you understand the basic processes for opening a pull request and reviewing changes.flowchart TB subgraph third[Open PR] direction TB U[ ] -.- Q[Improve content] --- N[Create content] N --- O[Translate docs] O --- P[Manage/publish docs partsof K8s release cycle] end subgraph second[Review] direction TB T[ ] -.- D[Look over thekubernetes/websiterepository] --- E[Check out theHugo static sitegenerator] E --- F[Understand basicGitHub commands] F --- G[Review open PRand change reviewprocesses] end subgraph first[Sign up] direction TB S[ ] -.- B[Sign the CNCFContributorLicense Agreement] --- C[Join sig-docsSlack channel] C --- V[Join kubernetes-sig-docsmailing list] V --- M[Attend weeklysig-docs callsor slack meetings] end A([fa:fa-user NewContributor]) --> first A --> second A --> third A --> H[Ask Questions!!!] classDef grey fill:#dddddd,stroke:#ffffff,stroke-width:px,color:#000000, font-size:15px; classDef white fill:#ffffff,stroke:#000,stroke-width:px,color:#000,font-weight:bold classDef spacewhite fill:#ffffff,stroke:#fff,stroke-width:0px,color:#000 class A,B,C,D,E,F,G,H,M,Q,N,O,P,V grey class S,T,U spacewhite class first,second,third whiteJavaScript must be enabled to view this contentFigure 1. Getting started for a new contributor.Figure 1 outlines a roadmap for new contributors. You can follow some or all of the steps for Sign up and Review. Now you are ready to open PRs that achieve your contribution objectives with some listed under Open PR. Again, questions are always welcome!Some tasks require more trust and more access in the Kubernetes organization. See Participating in SIG Docs for more details about roles and permissions.Your first contributionYou can prepare for your first contribution by reviewing several steps beforehand. Figure 2 outlines the steps and the details follow.flowchart LR subgraph second[First Contribution] direction TB S[ ] -.- G[Review PRs from otherK8s members] --> A[Check kubernetes/websiteissues list forgood first PRs] --> ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/docs/",
    "id": "k8s_00593_qa_11150"
  },
  {
    "question": "What are the benefits of Contribute to Kubernetes Documentation?",
    "answer": "Contribute to Kubernetes DocumentationThis website is maintained by Kubernetes SIG Docs. The Kubernetes project welcomes help from all contributors, new or experienced!Kubernetes documentation contributors:Improve existing contentCreate new contentTranslate the documentationManage and publish the documentation parts of the Kubernetes release cycleThe blog team, part of SIG Docs, helps manage the official blogs. Read contributing to Kubernetes blogs to learn more.Note:To learn more about contributing to Kubernetes in general, see the general contributor documentation site.Getting startedAnyone can open an issue about documentation, or contribute a change with a pull request (PR) to the kubernetes/website GitHub repository. You need to be comfortable with git and GitHub to work effectively in the Kubernetes community.To get involved with documentation:Sign the CNCF Contributor License Agreement.Familiarize yourself with the documentation repository and the website's static site generator.Make sure you understand the basic processes for opening a pull request and reviewing changes.flowchart TB subgraph third[Open PR] direction TB U[ ] -.- Q[Improve content] --- N[Create content] N --- O[Translate docs] O --- P[Manage/publish docs partsof K8s release cycle] end subgraph second[Review] direction TB T[ ] -.- D[Look over thekubernetes/websiterepository] --- E[Check out theHugo static sitegenerator] E --- F[Understand basicGitHub commands] F --- G[Review open PRand change reviewprocesses] end subgraph first[Sign up] direction TB S[ ] -.- B[Sign the CNCFContributorLicense Agreement] --- C[Join sig-docsSlack channel] C --- V[Join kubernetes-sig-docsmailing list] V --- M[Attend weeklysig-docs callsor slack meetings] end A([fa:fa-user NewContributor]) --> first A --> second A --> third A --> H[Ask Questions!!!] classDef grey fill:#dddddd,stroke:#ffffff,stroke-width:px,color:#000000, font-size:15px; classDef white fill:#ffffff,stroke:#000,stroke-width:px,color:#000,font-weight:bold classDef spacewhite fill:#ffffff,stroke:#fff,stroke-width:0px,color:#000 class A,B,C,D,E,F,G,H,M,Q,N,O,P,V grey class S,T,U spacewhite class first,second,third whiteJavaScript must be enabled to view this contentFigure 1. Getting started for a new contributor.Figure 1 outlines a roadmap for new contributors. You can follow some or all of the steps for Sign up and Review. Now you are ready to open PRs that achieve your contribution objectives with some listed under Open PR. Again, questions are always welcome!Some tasks require more trust and more access in the Kubernetes organization. See Participating in SIG Docs for more details about roles and permissions.Your first contributionYou can prepare for your first contribution by reviewing several steps beforehand. Figure 2 outlines the steps and the details follow.flowchart LR subgraph second[First Contribution] direction TB S[ ] -.- G[Review PRs from otherK8s members] --> A[Check kubernetes/websiteissues list forgood first PRs] --> ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/docs/",
    "id": "k8s_00593_qa_11151"
  },
  {
    "question": "What is Contribute to Kubernetes Documentation?",
    "answer": "T h i s   w e b s i t e   i s   m a i n t a i n e d   b y   K u b e r n e t e s   S I G   D o c s .   T h e   K u b e r n e t e s   p r o j e c t   w e l c o m e s   h e l p   f r o m   a l l   c o n t r i b u t o r s ,   n e w   o r   e x p e r i e n c e d !   K u b e r n e t e s   d o c u m e n t a t i o n   c o n t r i b u t o r s :   I m p r o v e   e x i s t i n g   c o n t e n t C r e a t e   n e w   c o n t e n t T r a n s l a t e   t h e   d o c u m e n t a t i o n M a n a g e   a n d   p u b l i s h   t h e   d o c u m e n t a t i o n   p a r t s   o f   t h e   K u b e r n e t e s   r e l e a s e   c y c l e   T h e   b l o g   t e a m ,   p a r t   o f   S I G   D o c s ,   h e l p s   m a n a g e   t h e   o f f i c i a l   b l o g s .   R e a d   c o n t r i b u t i n g   t o   K u b e r n e t e s   b l o g s   t o   l e a r n   m o r e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/docs/",
    "id": "k8s_00593_section_1_11152"
  },
  {
    "question": "What is Getting started?",
    "answer": "A n y o n e   c a n   o p e n   a n   i s s u e   a b o u t   d o c u m e n t a t i o n ,   o r   c o n t r i b u t e   a   c h a n g e   w i t h   a   p u l l   r e q u e s t   ( P R )   t o   t h e   k u b e r n e t e s / w e b s i t e   G i t H u b   r e p o s i t o r y .   Y o u   n e e d   t o   b e   c o m f o r t a b l e   w i t h   g i t   a n d   G i t H u b   t o   w o r k   e f f e c t i v e l y   i n   t h e   K u b e r n e t e s   c o m m u n i t y .   T o   g e t   i n v o l v e d   w i t h   d o c u m e n t a t i o n :   S i g n   t h e   C N C F   C o n t r i b u t o r   L i c e n s e   A g r e e m e n t . F a m i l i a r i z e   y o u r s e l f   w i t h   t h e   d o c u m e n t a t i o n   r e p o s i t o r y   a n d   t h e   w e b s i t e ' s   s t a t i c   s i t e   g e n e r a t o r . M a k e   s u r e   y o u   u n d e r s t a n d   t h e   b a s i c   p r o c e s s e s   f o r   o p e n i n g   a   p u l l   r e q u e s t   a n d   r e v i e w i n g   c h a n g e s .   f l o w c h a r t   T B   s u b g r a p h   t h i r d [ O p e n   P R ]   d i r e c t i o n   T B   U [   ]   - . -   Q [ I m p r o v e   c o n t e n t ]   - - -   N [ C r e a t e   c o n t e n t ]   N   - - -   O [ T r a n s l a t e   d o c s ]   O   - - -   P [ M a n a g e / p u b l i s h   d o c s   p a r t s o f   K 8 s   r e l e a s e   c y c l e ]   e n d   s u b g r a p h   s e c o n d [ R e v i e w ]   d i r e c t i o n   T B   T [   ]   - . -   D [ L o o k   o v e r   t h e k u b e r n e t e s / w e b s i t e r e p o s i t o r y ]   - - -   E [ C h e c k   o u t   t h e H u g o   s t a t i c   s i t e g e n e r a t o r ]   E   - - -   F [ U n d e r s t a n d   b a s i c G i t H u b   c o m m a n d s ]   F   - - -   G [ R e v i e w   o p e n   P R a n d   c h a n g e   r e v i e w p r o c e s s e s ]   e n d   s u b g r a p h   f i r s t [ S i g n   u p ]   d i r e c t i o n   T B   S [   ]   - . -   B [ S i g n   t h e   C N C F C o n t r i b u t o r L i c e n s e   ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/docs/",
    "id": "k8s_00593_section_2_11153"
  },
  {
    "question": "What is Your first contribution?",
    "answer": "Y o u   c a n   p r e p a r e   f o r   y o u r   f i r s t   c o n t r i b u t i o n   b y   r e v i e w i n g   s e v e r a l   s t e p s   b e f o r e h a n d .   F i g u r e   2   o u t l i n e s   t h e   s t e p s   a n d   t h e   d e t a i l s   f o l l o w .   f l o w c h a r t   L R   s u b g r a p h   s e c o n d [ F i r s t   C o n t r i b u t i o n ]   d i r e c t i o n   T B   S [   ]   - . -   G [ R e v i e w   P R s   f r o m   o t h e r K 8 s   m e m b e r s ]   - - >   A [ C h e c k   k u b e r n e t e s / w e b s i t e i s s u e s   l i s t   f o r g o o d   f i r s t   P R s ]   - - >   B [ O p e n   a   P R ! ! ]   e n d   s u b g r a p h   f i r s t [ S u g g e s t e d   P r e p ]   d i r e c t i o n   T B   T [   ]   - . -   D [ R e a d   c o n t r i b u t i o n   o v e r v i e w ]   - - > E [ R e a d   K 8 s   c o n t e n t a n d   s t y l e   g u i d e s ]   E   - - >   F [ L e a r n   a b o u t   H u g o   p a g e c o n t e n t   t y p e s a n d   s h o r t c o d e s ]   e n d   f i r s t   - - - - >   s e c o n d   c l a s s D e f   g r e y   f i l l : # d d d d d d , s t r o k e : # f f f f f f , s t r o k e - w i d t h : p x , c o l o r : # 0 0 0 0 0 0 ,   f o n t - s i z e : 1 5 p x ;   c l a s s D e f   w h i t e   f i l l : # f f f f f f , s t r o k e : # 0 0 0 , s t r o k e - w i d t h : p x , c o l o r : # 0 0 0 , f o n t - w e i g h t : b o l d   c l a s s D e f   s p a c e w h i t e   f i l l : # f f f f f f , s t r o k e : # f f f , s t r o k e - w i d t h : 0 p x , c o l o r : # 0 0 0   c l a s s   A , B , D , E , F , G   g r e y   c l a s s   S , T   s p a c e w h i t e   c l a s s   f i r s t , s e c o n d   w h i t e J a v a S c r i p t   m u s t   b e   e n a b l e d   t o   v i e w   t h i s   c o n t e n t F i g u r e   2 .   P r e p a r a t i o n   f o r   y o u r   f i r s t   c o n t r i b u t i o n .   R e a d   t h e   C o n t r i b u t i o n   o v e r v i e w   t o   l e a r n   a b o u t   t h e   d i f f e r e n t ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/docs/",
    "id": "k8s_00593_section_2_11154"
  },
  {
    "question": "What is Getting help when contributing?",
    "answer": "M a k i n g   y o u r   f i r s t   c o n t r i b u t i o n   c a n   b e   o v e r w h e l m i n g .   T h e   N e w   C o n t r i b u t o r   A m b a s s a d o r s   a r e   t h e r e   t o   w a l k   y o u   t h r o u g h   m a k i n g   y o u r   f i r s t   f e w   c o n t r i b u t i o n s .   Y o u   c a n   r e a c h   o u t   t o   t h e m   i n   t h e   K u b e r n e t e s   S l a c k   p r e f e r a b l y   i n   t h e   # s i g - d o c s   c h a n n e l .   T h e r e   i s   a l s o   t h e   N e w   C o n t r i b u t o r s   M e e t   a n d   G r e e t   c a l l   t h a t   h a p p e n s   o n   t h e   f i r s t   T u e s d a y   o f   e v e r y   m o n t h .   Y o u   c a n   i n t e r a c t   w i t h   t h e   N e w   C o n t r i b u t o r   A m b a s s a d o r s   a n d   g e t   y o u r   q u e r i e s   r e s o l v e d   h e r e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/docs/",
    "id": "k8s_00593_section_2_11155"
  },
  {
    "question": "What is Next steps?",
    "answer": "L e a r n   t o   w o r k   f r o m   a   l o c a l   c l o n e   o f   t h e   r e p o s i t o r y . D o c u m e n t   f e a t u r e s   i n   a   r e l e a s e . P a r t i c i p a t e   i n   S I G   D o c s ,   a n d   b e c o m e   a   m e m b e r   o r   r e v i e w e r . S t a r t   o r   h e l p   w i t h   a   l o c a l i z a t i o n .   L e a r n   t o   w o r k   f r o m   a   l o c a l   c l o n e   o f   t h e   r e p o s i t o r y .   D o c u m e n t   f e a t u r e s   i n   a   r e l e a s e .   P a r t i c i p a t e   i n   S I G   D o c s ,   a n d   b e c o m e   a   m e m b e r   o r   r e v i e w e r .   S t a r t   o r   h e l p   w i t h   a   l o c a l i z a t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/docs/",
    "id": "k8s_00593_section_2_11156"
  },
  {
    "question": "What is Get involved with SIG Docs?",
    "answer": "S I G   D o c s   i s   t h e   g r o u p   o f   c o n t r i b u t o r s   w h o   p u b l i s h   a n d   m a i n t a i n   K u b e r n e t e s   d o c u m e n t a t i o n   a n d   t h e   w e b s i t e .   G e t t i n g   i n v o l v e d   w i t h   S I G   D o c s   i s   a   g r e a t   w a y   f o r   K u b e r n e t e s   c o n t r i b u t o r s   ( f e a t u r e   d e v e l o p m e n t   o r   o t h e r w i s e )   t o   h a v e   a   l a r g e   i m p a c t   o n   t h e   K u b e r n e t e s   p r o j e c t .   S I G   D o c s   c o m m u n i c a t e s   w i t h   d i f f e r e n t   m e t h o d s :   J o i n   # s i g - d o c s   o n   t h e   K u b e r n e t e s   S l a c k   i n s t a n c e .   M a k e   s u r e   t o   i n t r o d u c e   y o u r s e l f ! J o i n   t h e   k u b e r n e t e s - s i g - d o c s   m a i l i n g   l i s t ,   w h e r e   b r o a d e r   d i s c u s s i o n s   t a k e   p l a c e   a n d   o f f i c i a l   d e c i s i o n s   a r e   r e c o r d e d . J o i n   t h e   S I G   D o c s   v i d e o   m e e t i n g   h e l d   e v e r y   t w o   w e e k s .   M e e t i n g s   a r e   a l w a y s   a n n o u n c e d   o n   # s i g - d o c s   a n d   a d d e d   t o   t h e   K u b e r n e t e s   c o m m u n i t y   m e e t i n g s   c a l e n d a r .   Y o u ' l l   n e e d   t o   d o w n l o a d   t h e   Z o o m   c l i e n t   o r   d i a l   i n   u s i n g   a   p h o n e . J o i n   t h e   S I G   D o c s   a s y n c   S l a c k   s t a n d u p   m e e t i n g   o n   t h o s e   w e e k s   w h e n   t h e   i n - p e r s o n   Z o o m   v i d e o   m e e t i n g   d o e s   n o t   t a k e   p l a c e .   M e e t i n g s   a r e   a l w a y s   a n n o u n c e d   o n   # s i g - d o c s .   Y o u   c a n   c o n t r i b u t e   t o   a n y   o n e   o f   t h e   t h r e a d s   u p   t o   2 4   h o u r s   a f t e r   m e e t i n g   a n n o u n c e m e n t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/docs/",
    "id": "k8s_00593_section_2_11157"
  },
  {
    "question": "What is Other ways to contribute?",
    "answer": "V i s i t   t h e   K u b e r n e t e s   c o m m u n i t y   s i t e .   P a r t i c i p a t e   o n   T w i t t e r   o r   S t a c k   O v e r f l o w ,   l e a r n   a b o u t   l o c a l   K u b e r n e t e s   m e e t u p s   a n d   e v e n t s ,   a n d   m o r e . R e a d   t h e   c o n t r i b u t o r   c h e a t s h e e t   t o   g e t   i n v o l v e d   w i t h   K u b e r n e t e s   f e a t u r e   d e v e l o p m e n t . V i s i t   t h e   c o n t r i b u t o r   s i t e   t o   l e a r n   m o r e   a b o u t   K u b e r n e t e s   C o n t r i b u t o r s   a n d   a d d i t i o n a l   c o n t r i b u t o r   r e s o u r c e s . L e a r n   h o w   t o   c o n t r i b u t e   t o   t h e   o f f i c i a l   b l o g s S u b m i t   a   c a s e   s t u d y",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/docs/",
    "id": "k8s_00593_section_2_11158"
  },
  {
    "question": "What is Communication between Nodes and the Control Plane?",
    "answer": "Communication between Nodes and the Control PlaneThis document catalogs the communication paths between the API server and the Kubernetes cluster. The intent is to allow users to customize their installation to harden the network configuration such that the cluster can be run on an untrusted network (or on fully public IPs on a cloud provider).Node to Control PlaneKubernetes has a \"hub-and-spoke\" API pattern. All API usage from nodes (or the pods they run) terminates at the API server. None of the other control plane components are designed to expose remote services. The API server is configured to listen for remote connections on a secure HTTPS port (typically 443) with one or more forms of client authentication enabled. One or more forms of authorization should be enabled, especially if anonymous requests or service account tokens are allowed.Nodes should be provisioned with the public root certificate for the cluster such that they can connect securely to the API server along with valid client credentials. A good approach is that the client credentials provided to the kubelet are in the form of a client certificate. See kubelet TLS bootstrapping for automated provisioning of kubelet client certificates.Pods that wish to connect to the API server can do so securely by leveraging a service account so that Kubernetes will automatically inject the public root certificate and a valid bearer token into the pod when it is instantiated. The kubernetes service (in default namespace) is configured with a virtual IP address that is redirected (via kube-proxy) to the HTTPS endpoint on the API server.The control plane components also communicate with the API server over the secure port.As a result, the default operating mode for connections from the nodes and pod running on the nodes to the control plane is secured by default and can run over untrusted and/or public networks.Control plane to nodeThere are two primary communication paths from the control plane (the API server) to the nodes. The first is from the API server to the kubelet process which runs on each node in the cluster. The second is from the API server to any node, pod, or service through the API server's proxy functionality.API server to kubeletThe connections from the API server to the kubelet are used for:Fetching logs for pods.Attaching (usually through kubectl) to running pods.Providing the kubelet's port-forwarding functionality.These connections terminate at the kubelet's HTTPS endpoint. By default, the API server does not verify the kubelet's serving certificate, which makes the connection subject to man-in-the-middle attacks and unsafe to run over untrusted and/or public networks.To verify this connection, use the --kubelet-certificate-authority flag to provide the API server with a root certificate bundle to use to verify the kubelet's serving certificate.If that is not possible, use SSH tunneling between the API server and kubelet if required to avoid connecting over an untrusted ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/control-plane-node-communication/",
    "id": "k8s_00594_qa_11159"
  },
  {
    "question": "How does Communication between Nodes and the Control Plane work?",
    "answer": "Communication between Nodes and the Control PlaneThis document catalogs the communication paths between the API server and the Kubernetes cluster. The intent is to allow users to customize their installation to harden the network configuration such that the cluster can be run on an untrusted network (or on fully public IPs on a cloud provider).Node to Control PlaneKubernetes has a \"hub-and-spoke\" API pattern. All API usage from nodes (or the pods they run) terminates at the API server. None of the other control plane components are designed to expose remote services. The API server is configured to listen for remote connections on a secure HTTPS port (typically 443) with one or more forms of client authentication enabled. One or more forms of authorization should be enabled, especially if anonymous requests or service account tokens are allowed.Nodes should be provisioned with the public root certificate for the cluster such that they can connect securely to the API server along with valid client credentials. A good approach is that the client credentials provided to the kubelet are in the form of a client certificate. See kubelet TLS bootstrapping for automated provisioning of kubelet client certificates.Pods that wish to connect to the API server can do so securely by leveraging a service account so that Kubernetes will automatically inject the public root certificate and a valid bearer token into the pod when it is instantiated. The kubernetes service (in default namespace) is configured with a virtual IP address that is redirected (via kube-proxy) to the HTTPS endpoint on the API server.The control plane components also communicate with the API server over the secure port.As a result, the default operating mode for connections from the nodes and pod running on the nodes to the control plane is secured by default and can run over untrusted and/or public networks.Control plane to nodeThere are two primary communication paths from the control plane (the API server) to the nodes. The first is from the API server to the kubelet process which runs on each node in the cluster. The second is from the API server to any node, pod, or service through the API server's proxy functionality.API server to kubeletThe connections from the API server to the kubelet are used for:Fetching logs for pods.Attaching (usually through kubectl) to running pods.Providing the kubelet's port-forwarding functionality.These connections terminate at the kubelet's HTTPS endpoint. By default, the API server does not verify the kubelet's serving certificate, which makes the connection subject to man-in-the-middle attacks and unsafe to run over untrusted and/or public networks.To verify this connection, use the --kubelet-certificate-authority flag to provide the API server with a root certificate bundle to use to verify the kubelet's serving certificate.If that is not possible, use SSH tunneling between the API server and kubelet if required to avoid connecting over an untrusted ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/control-plane-node-communication/",
    "id": "k8s_00594_qa_11160"
  },
  {
    "question": "When would you use Communication between Nodes and the Control Plane?",
    "answer": "Communication between Nodes and the Control PlaneThis document catalogs the communication paths between the API server and the Kubernetes cluster. The intent is to allow users to customize their installation to harden the network configuration such that the cluster can be run on an untrusted network (or on fully public IPs on a cloud provider).Node to Control PlaneKubernetes has a \"hub-and-spoke\" API pattern. All API usage from nodes (or the pods they run) terminates at the API server. None of the other control plane components are designed to expose remote services. The API server is configured to listen for remote connections on a secure HTTPS port (typically 443) with one or more forms of client authentication enabled. One or more forms of authorization should be enabled, especially if anonymous requests or service account tokens are allowed.Nodes should be provisioned with the public root certificate for the cluster such that they can connect securely to the API server along with valid client credentials. A good approach is that the client credentials provided to the kubelet are in the form of a client certificate. See kubelet TLS bootstrapping for automated provisioning of kubelet client certificates.Pods that wish to connect to the API server can do so securely by leveraging a service account so that Kubernetes will automatically inject the public root certificate and a valid bearer token into the pod when it is instantiated. The kubernetes service (in default namespace) is configured with a virtual IP address that is redirected (via kube-proxy) to the HTTPS endpoint on the API server.The control plane components also communicate with the API server over the secure port.As a result, the default operating mode for connections from the nodes and pod running on the nodes to the control plane is secured by default and can run over untrusted and/or public networks.Control plane to nodeThere are two primary communication paths from the control plane (the API server) to the nodes. The first is from the API server to the kubelet process which runs on each node in the cluster. The second is from the API server to any node, pod, or service through the API server's proxy functionality.API server to kubeletThe connections from the API server to the kubelet are used for:Fetching logs for pods.Attaching (usually through kubectl) to running pods.Providing the kubelet's port-forwarding functionality.These connections terminate at the kubelet's HTTPS endpoint. By default, the API server does not verify the kubelet's serving certificate, which makes the connection subject to man-in-the-middle attacks and unsafe to run over untrusted and/or public networks.To verify this connection, use the --kubelet-certificate-authority flag to provide the API server with a root certificate bundle to use to verify the kubelet's serving certificate.If that is not possible, use SSH tunneling between the API server and kubelet if required to avoid connecting over an untrusted ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/control-plane-node-communication/",
    "id": "k8s_00594_qa_11161"
  },
  {
    "question": "What are the benefits of Communication between Nodes and the Control Plane?",
    "answer": "Communication between Nodes and the Control PlaneThis document catalogs the communication paths between the API server and the Kubernetes cluster. The intent is to allow users to customize their installation to harden the network configuration such that the cluster can be run on an untrusted network (or on fully public IPs on a cloud provider).Node to Control PlaneKubernetes has a \"hub-and-spoke\" API pattern. All API usage from nodes (or the pods they run) terminates at the API server. None of the other control plane components are designed to expose remote services. The API server is configured to listen for remote connections on a secure HTTPS port (typically 443) with one or more forms of client authentication enabled. One or more forms of authorization should be enabled, especially if anonymous requests or service account tokens are allowed.Nodes should be provisioned with the public root certificate for the cluster such that they can connect securely to the API server along with valid client credentials. A good approach is that the client credentials provided to the kubelet are in the form of a client certificate. See kubelet TLS bootstrapping for automated provisioning of kubelet client certificates.Pods that wish to connect to the API server can do so securely by leveraging a service account so that Kubernetes will automatically inject the public root certificate and a valid bearer token into the pod when it is instantiated. The kubernetes service (in default namespace) is configured with a virtual IP address that is redirected (via kube-proxy) to the HTTPS endpoint on the API server.The control plane components also communicate with the API server over the secure port.As a result, the default operating mode for connections from the nodes and pod running on the nodes to the control plane is secured by default and can run over untrusted and/or public networks.Control plane to nodeThere are two primary communication paths from the control plane (the API server) to the nodes. The first is from the API server to the kubelet process which runs on each node in the cluster. The second is from the API server to any node, pod, or service through the API server's proxy functionality.API server to kubeletThe connections from the API server to the kubelet are used for:Fetching logs for pods.Attaching (usually through kubectl) to running pods.Providing the kubelet's port-forwarding functionality.These connections terminate at the kubelet's HTTPS endpoint. By default, the API server does not verify the kubelet's serving certificate, which makes the connection subject to man-in-the-middle attacks and unsafe to run over untrusted and/or public networks.To verify this connection, use the --kubelet-certificate-authority flag to provide the API server with a root certificate bundle to use to verify the kubelet's serving certificate.If that is not possible, use SSH tunneling between the API server and kubelet if required to avoid connecting over an untrusted ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/control-plane-node-communication/",
    "id": "k8s_00594_qa_11162"
  },
  {
    "question": "What is Communication between Nodes and the Control Plane?",
    "answer": "T h i s   d o c u m e n t   c a t a l o g s   t h e   c o m m u n i c a t i o n   p a t h s   b e t w e e n   t h e   A P I   s e r v e r   a n d   t h e   K u b e r n e t e s   c l u s t e r .   T h e   i n t e n t   i s   t o   a l l o w   u s e r s   t o   c u s t o m i z e   t h e i r   i n s t a l l a t i o n   t o   h a r d e n   t h e   n e t w o r k   c o n f i g u r a t i o n   s u c h   t h a t   t h e   c l u s t e r   c a n   b e   r u n   o n   a n   u n t r u s t e d   n e t w o r k   ( o r   o n   f u l l y   p u b l i c   I P s   o n   a   c l o u d   p r o v i d e r ) .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/control-plane-node-communication/",
    "id": "k8s_00594_section_1_11163"
  },
  {
    "question": "What is Node to Control Plane?",
    "answer": "K u b e r n e t e s   h a s   a   \" h u b - a n d - s p o k e \"   A P I   p a t t e r n .   A l l   A P I   u s a g e   f r o m   n o d e s   ( o r   t h e   p o d s   t h e y   r u n )   t e r m i n a t e s   a t   t h e   A P I   s e r v e r .   N o n e   o f   t h e   o t h e r   c o n t r o l   p l a n e   c o m p o n e n t s   a r e   d e s i g n e d   t o   e x p o s e   r e m o t e   s e r v i c e s .   T h e   A P I   s e r v e r   i s   c o n f i g u r e d   t o   l i s t e n   f o r   r e m o t e   c o n n e c t i o n s   o n   a   s e c u r e   H T T P S   p o r t   ( t y p i c a l l y   4 4 3 )   w i t h   o n e   o r   m o r e   f o r m s   o f   c l i e n t   a u t h e n t i c a t i o n   e n a b l e d .   O n e   o r   m o r e   f o r m s   o f   a u t h o r i z a t i o n   s h o u l d   b e   e n a b l e d ,   e s p e c i a l l y   i f   a n o n y m o u s   r e q u e s t s   o r   s e r v i c e   a c c o u n t   t o k e n s   a r e   a l l o w e d .   N o d e s   s h o u l d   b e   p r o v i s i o n e d   w i t h   t h e   p u b l i c   r o o t   c e r t i f i c a t e   f o r   t h e   c l u s t e r   s u c h   t h a t   t h e y   c a n   c o n n e c t   s e c u r e l y   t o   t h e   A P I   s e r v e r   a l o n g   w i t h   v a l i d   c l i e n t   c r e d e n t i a l s .   A   g o o d   a p p r o a c h   i s   t h a t   t h e   c l i e n t   c r e d e n t i a l s   p r o v i d e d   t o   t h e   k u b e l e t   a r e   i n   t h e   f o r m   o f   a   c l i e n t   c e r t i f i c a t e .   S e e   k u b e l e t   T L S   b o o t s t r a p p i n g   f o r   a u t o m a t e d   p r o v i s i o n i n g   o f   k u b e l e t   c l i e n t   c e r t i f i c a t e s .   P o d s   t h a t   w i s h   t o   c o n n e c t   t o   t h e   A P I   s e r v e r   c a n   d o   s o   s e c u r e l y   b y   l e v e r a g i n g   a   s e r v i c e   a c c o u n t   s o   t h a t   K u b e r n e t e s   w i l l   a u t o m a t i c a l l y   i n j e c t   ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/control-plane-node-communication/",
    "id": "k8s_00594_section_2_11164"
  },
  {
    "question": "What is Control plane to node?",
    "answer": "T h e r e   a r e   t w o   p r i m a r y   c o m m u n i c a t i o n   p a t h s   f r o m   t h e   c o n t r o l   p l a n e   ( t h e   A P I   s e r v e r )   t o   t h e   n o d e s .   T h e   f i r s t   i s   f r o m   t h e   A P I   s e r v e r   t o   t h e   k u b e l e t   p r o c e s s   w h i c h   r u n s   o n   e a c h   n o d e   i n   t h e   c l u s t e r .   T h e   s e c o n d   i s   f r o m   t h e   A P I   s e r v e r   t o   a n y   n o d e ,   p o d ,   o r   s e r v i c e   t h r o u g h   t h e   A P I   s e r v e r ' s   p r o x y   f u n c t i o n a l i t y .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/control-plane-node-communication/",
    "id": "k8s_00594_section_2_11165"
  },
  {
    "question": "What is API server to kubelet?",
    "answer": "T h e   c o n n e c t i o n s   f r o m   t h e   A P I   s e r v e r   t o   t h e   k u b e l e t   a r e   u s e d   f o r :   F e t c h i n g   l o g s   f o r   p o d s . A t t a c h i n g   ( u s u a l l y   t h r o u g h   k u b e c t l )   t o   r u n n i n g   p o d s . P r o v i d i n g   t h e   k u b e l e t ' s   p o r t - f o r w a r d i n g   f u n c t i o n a l i t y .   T h e s e   c o n n e c t i o n s   t e r m i n a t e   a t   t h e   k u b e l e t ' s   H T T P S   e n d p o i n t .   B y   d e f a u l t ,   t h e   A P I   s e r v e r   d o e s   n o t   v e r i f y   t h e   k u b e l e t ' s   s e r v i n g   c e r t i f i c a t e ,   w h i c h   m a k e s   t h e   c o n n e c t i o n   s u b j e c t   t o   m a n - i n - t h e - m i d d l e   a t t a c k s   a n d   u n s a f e   t o   r u n   o v e r   u n t r u s t e d   a n d / o r   p u b l i c   n e t w o r k s .   T o   v e r i f y   t h i s   c o n n e c t i o n ,   u s e   t h e   - - k u b e l e t - c e r t i f i c a t e - a u t h o r i t y   f l a g   t o   p r o v i d e   t h e   A P I   s e r v e r   w i t h   a   r o o t   c e r t i f i c a t e   b u n d l e   t o   u s e   t o   v e r i f y   t h e   k u b e l e t ' s   s e r v i n g   c e r t i f i c a t e .   I f   t h a t   i s   n o t   p o s s i b l e ,   u s e   S S H   t u n n e l i n g   b e t w e e n   t h e   A P I   s e r v e r   a n d   k u b e l e t   i f   r e q u i r e d   t o   a v o i d   c o n n e c t i n g   o v e r   a n   u n t r u s t e d   o r   p u b l i c   n e t w o r k .   F i n a l l y ,   K u b e l e t   a u t h e n t i c a t i o n   a n d / o r   a u t h o r i z a t i o n   s h o u l d   b e   e n a b l e d   t o   s e c u r e   t h e   k u b e l e t   A P I .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/control-plane-node-communication/",
    "id": "k8s_00594_section_3_11166"
  },
  {
    "question": "What is API server to nodes, pods, and services?",
    "answer": "T h e   c o n n e c t i o n s   f r o m   t h e   A P I   s e r v e r   t o   a   n o d e ,   p o d ,   o r   s e r v i c e   d e f a u l t   t o   p l a i n   H T T P   c o n n e c t i o n s   a n d   a r e   t h e r e f o r e   n e i t h e r   a u t h e n t i c a t e d   n o r   e n c r y p t e d .   T h e y   c a n   b e   r u n   o v e r   a   s e c u r e   H T T P S   c o n n e c t i o n   b y   p r e f i x i n g   h t t p s :   t o   t h e   n o d e ,   p o d ,   o r   s e r v i c e   n a m e   i n   t h e   A P I   U R L ,   b u t   t h e y   w i l l   n o t   v a l i d a t e   t h e   c e r t i f i c a t e   p r o v i d e d   b y   t h e   H T T P S   e n d p o i n t   n o r   p r o v i d e   c l i e n t   c r e d e n t i a l s .   S o   w h i l e   t h e   c o n n e c t i o n   w i l l   b e   e n c r y p t e d ,   i t   w i l l   n o t   p r o v i d e   a n y   g u a r a n t e e s   o f   i n t e g r i t y .   T h e s e   c o n n e c t i o n s   a r e   n o t   c u r r e n t l y   s a f e   t o   r u n   o v e r   u n t r u s t e d   o r   p u b l i c   n e t w o r k s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/control-plane-node-communication/",
    "id": "k8s_00594_section_3_11167"
  },
  {
    "question": "What is SSH tunnels?",
    "answer": "K u b e r n e t e s   s u p p o r t s   S S H   t u n n e l s   t o   p r o t e c t   t h e   c o n t r o l   p l a n e   t o   n o d e s   c o m m u n i c a t i o n   p a t h s .   I n   t h i s   c o n f i g u r a t i o n ,   t h e   A P I   s e r v e r   i n i t i a t e s   a n   S S H   t u n n e l   t o   e a c h   n o d e   i n   t h e   c l u s t e r   ( c o n n e c t i n g   t o   t h e   S S H   s e r v e r   l i s t e n i n g   o n   p o r t   2 2 )   a n d   p a s s e s   a l l   t r a f f i c   d e s t i n e d   f o r   a   k u b e l e t ,   n o d e ,   p o d ,   o r   s e r v i c e   t h r o u g h   t h e   t u n n e l .   T h i s   t u n n e l   e n s u r e s   t h a t   t h e   t r a f f i c   i s   n o t   e x p o s e d   o u t s i d e   o f   t h e   n e t w o r k   i n   w h i c h   t h e   n o d e s   a r e   r u n n i n g .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/control-plane-node-communication/",
    "id": "k8s_00594_section_3_11168"
  },
  {
    "question": "What is Konnectivity service?",
    "answer": "A s   a   r e p l a c e m e n t   t o   t h e   S S H   t u n n e l s ,   t h e   K o n n e c t i v i t y   s e r v i c e   p r o v i d e s   T C P   l e v e l   p r o x y   f o r   t h e   c o n t r o l   p l a n e   t o   c l u s t e r   c o m m u n i c a t i o n .   T h e   K o n n e c t i v i t y   s e r v i c e   c o n s i s t s   o f   t w o   p a r t s :   t h e   K o n n e c t i v i t y   s e r v e r   i n   t h e   c o n t r o l   p l a n e   n e t w o r k   a n d   t h e   K o n n e c t i v i t y   a g e n t s   i n   t h e   n o d e s   n e t w o r k .   T h e   K o n n e c t i v i t y   a g e n t s   i n i t i a t e   c o n n e c t i o n s   t o   t h e   K o n n e c t i v i t y   s e r v e r   a n d   m a i n t a i n   t h e   n e t w o r k   c o n n e c t i o n s .   A f t e r   e n a b l i n g   t h e   K o n n e c t i v i t y   s e r v i c e ,   a l l   c o n t r o l   p l a n e   t o   n o d e s   t r a f f i c   g o e s   t h r o u g h   t h e s e   c o n n e c t i o n s .   F o l l o w   t h e   K o n n e c t i v i t y   s e r v i c e   t a s k   t o   s e t   u p   t h e   K o n n e c t i v i t y   s e r v i c e   i n   y o u r   c l u s t e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/control-plane-node-communication/",
    "id": "k8s_00594_section_3_11169"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t s L e a r n   m o r e   a b o u t   H u b s   a n d   S p o k e   m o d e l L e a r n   h o w   t o   S e c u r e   a   C l u s t e r L e a r n   m o r e   a b o u t   t h e   K u b e r n e t e s   A P I S e t   u p   K o n n e c t i v i t y   s e r v i c e U s e   P o r t   F o r w a r d i n g   t o   A c c e s s   A p p l i c a t i o n s   i n   a   C l u s t e r L e a r n   h o w   t o   F e t c h   l o g s   f o r   P o d s ,   u s e   k u b e c t l   p o r t - f o r w a r d",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/architecture/control-plane-node-communication/",
    "id": "k8s_00594_section_2_11170"
  },
  {
    "question": "What is Managing Secrets using Kustomize?",
    "answer": "Managing Secrets using KustomizeCreating Secret objects using kustomization.yaml file.kubectl supports using the Kustomize object management tool to manage Secrets and ConfigMaps. You create a resource generator using Kustomize, which generates a Secret that you can apply to the API server using kubectl.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesCreate a SecretYou can generate a Secret by defining a secretGenerator in a kustomization.yaml file that references other existing files, .env files, or literal values. For example, the following instructions create a kustomization file for the username admin and the password 1f2d1e2e67df.Note:The stringData field for a Secret does not work well with server-side apply.Create the kustomization file secretGenerator: - name: database-creds literals: - username=admin - password=1f2d1e2e67df Store the credentials in files. The filenames are the keys of the secret:echo -n 'admin' > ./username.txt echo -n '1f2d1e2e67df' > ./password.txt The -n flag ensures that there's no newline character at the end of your files.Create the kustomization.yaml file:secretGenerator: - name: database-creds files: - username.txt - password.txt You can also define the secretGenerator in the kustomization.yaml file by providing .env files. For example, the following kustomization.yaml file pulls in data from an .env.secret file:secretGenerator: - name: db-user-pass envs: - .env.secret In all cases, you don't need to encode the values in base64. The name of the YAML file must be kustomization.yaml or kustomization.yml.Apply the kustomization fileTo create the Secret, apply the directory that contains the kustomization file:kubectl apply -k <directory-path> The output is similar to:secret/database-creds-5hdh7hhgfk created When a Secret is generated, the Secret name is created by hashing the Secret data and appending the hash value to the name. This ensures that a new Secret is generated each time the data is modified.To verify that the Secret was created and to decode the Secret data,kubectl get -k <directory-path> -o jsonpath='{.data}' The output is similar to:{ \"password\": \"MWYyZDFlMmU2N2Rm\", \"username\": \"YWRtaW4=\" } echo 'MWYyZDFlMmU2N2Rm' | base64 --decode The output is similar to:1f2d1e2e67df For more information, refer to Managing Secrets using kubectl and Declarative Management of Kubernetes Objects Using Kustomize.Edit a SecretIn your kustomization.yaml file, modify the data, such as the password.Apply the directory that contains the kustomization file:kubectl apply -k <directory-path> The output is similar to:secret/db-user-pass-6f24b56cc",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kustomize/",
    "id": "k8s_00595_qa_11171"
  },
  {
    "question": "How does Managing Secrets using Kustomize work?",
    "answer": "Managing Secrets using KustomizeCreating Secret objects using kustomization.yaml file.kubectl supports using the Kustomize object management tool to manage Secrets and ConfigMaps. You create a resource generator using Kustomize, which generates a Secret that you can apply to the API server using kubectl.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesCreate a SecretYou can generate a Secret by defining a secretGenerator in a kustomization.yaml file that references other existing files, .env files, or literal values. For example, the following instructions create a kustomization file for the username admin and the password 1f2d1e2e67df.Note:The stringData field for a Secret does not work well with server-side apply.Create the kustomization file secretGenerator: - name: database-creds literals: - username=admin - password=1f2d1e2e67df Store the credentials in files. The filenames are the keys of the secret:echo -n 'admin' > ./username.txt echo -n '1f2d1e2e67df' > ./password.txt The -n flag ensures that there's no newline character at the end of your files.Create the kustomization.yaml file:secretGenerator: - name: database-creds files: - username.txt - password.txt You can also define the secretGenerator in the kustomization.yaml file by providing .env files. For example, the following kustomization.yaml file pulls in data from an .env.secret file:secretGenerator: - name: db-user-pass envs: - .env.secret In all cases, you don't need to encode the values in base64. The name of the YAML file must be kustomization.yaml or kustomization.yml.Apply the kustomization fileTo create the Secret, apply the directory that contains the kustomization file:kubectl apply -k <directory-path> The output is similar to:secret/database-creds-5hdh7hhgfk created When a Secret is generated, the Secret name is created by hashing the Secret data and appending the hash value to the name. This ensures that a new Secret is generated each time the data is modified.To verify that the Secret was created and to decode the Secret data,kubectl get -k <directory-path> -o jsonpath='{.data}' The output is similar to:{ \"password\": \"MWYyZDFlMmU2N2Rm\", \"username\": \"YWRtaW4=\" } echo 'MWYyZDFlMmU2N2Rm' | base64 --decode The output is similar to:1f2d1e2e67df For more information, refer to Managing Secrets using kubectl and Declarative Management of Kubernetes Objects Using Kustomize.Edit a SecretIn your kustomization.yaml file, modify the data, such as the password.Apply the directory that contains the kustomization file:kubectl apply -k <directory-path> The output is similar to:secret/db-user-pass-6f24b56cc",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kustomize/",
    "id": "k8s_00595_qa_11172"
  },
  {
    "question": "When would you use Managing Secrets using Kustomize?",
    "answer": "Managing Secrets using KustomizeCreating Secret objects using kustomization.yaml file.kubectl supports using the Kustomize object management tool to manage Secrets and ConfigMaps. You create a resource generator using Kustomize, which generates a Secret that you can apply to the API server using kubectl.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesCreate a SecretYou can generate a Secret by defining a secretGenerator in a kustomization.yaml file that references other existing files, .env files, or literal values. For example, the following instructions create a kustomization file for the username admin and the password 1f2d1e2e67df.Note:The stringData field for a Secret does not work well with server-side apply.Create the kustomization file secretGenerator: - name: database-creds literals: - username=admin - password=1f2d1e2e67df Store the credentials in files. The filenames are the keys of the secret:echo -n 'admin' > ./username.txt echo -n '1f2d1e2e67df' > ./password.txt The -n flag ensures that there's no newline character at the end of your files.Create the kustomization.yaml file:secretGenerator: - name: database-creds files: - username.txt - password.txt You can also define the secretGenerator in the kustomization.yaml file by providing .env files. For example, the following kustomization.yaml file pulls in data from an .env.secret file:secretGenerator: - name: db-user-pass envs: - .env.secret In all cases, you don't need to encode the values in base64. The name of the YAML file must be kustomization.yaml or kustomization.yml.Apply the kustomization fileTo create the Secret, apply the directory that contains the kustomization file:kubectl apply -k <directory-path> The output is similar to:secret/database-creds-5hdh7hhgfk created When a Secret is generated, the Secret name is created by hashing the Secret data and appending the hash value to the name. This ensures that a new Secret is generated each time the data is modified.To verify that the Secret was created and to decode the Secret data,kubectl get -k <directory-path> -o jsonpath='{.data}' The output is similar to:{ \"password\": \"MWYyZDFlMmU2N2Rm\", \"username\": \"YWRtaW4=\" } echo 'MWYyZDFlMmU2N2Rm' | base64 --decode The output is similar to:1f2d1e2e67df For more information, refer to Managing Secrets using kubectl and Declarative Management of Kubernetes Objects Using Kustomize.Edit a SecretIn your kustomization.yaml file, modify the data, such as the password.Apply the directory that contains the kustomization file:kubectl apply -k <directory-path> The output is similar to:secret/db-user-pass-6f24b56cc",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kustomize/",
    "id": "k8s_00595_qa_11173"
  },
  {
    "question": "What are the benefits of Managing Secrets using Kustomize?",
    "answer": "Managing Secrets using KustomizeCreating Secret objects using kustomization.yaml file.kubectl supports using the Kustomize object management tool to manage Secrets and ConfigMaps. You create a resource generator using Kustomize, which generates a Secret that you can apply to the API server using kubectl.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesCreate a SecretYou can generate a Secret by defining a secretGenerator in a kustomization.yaml file that references other existing files, .env files, or literal values. For example, the following instructions create a kustomization file for the username admin and the password 1f2d1e2e67df.Note:The stringData field for a Secret does not work well with server-side apply.Create the kustomization file secretGenerator: - name: database-creds literals: - username=admin - password=1f2d1e2e67df Store the credentials in files. The filenames are the keys of the secret:echo -n 'admin' > ./username.txt echo -n '1f2d1e2e67df' > ./password.txt The -n flag ensures that there's no newline character at the end of your files.Create the kustomization.yaml file:secretGenerator: - name: database-creds files: - username.txt - password.txt You can also define the secretGenerator in the kustomization.yaml file by providing .env files. For example, the following kustomization.yaml file pulls in data from an .env.secret file:secretGenerator: - name: db-user-pass envs: - .env.secret In all cases, you don't need to encode the values in base64. The name of the YAML file must be kustomization.yaml or kustomization.yml.Apply the kustomization fileTo create the Secret, apply the directory that contains the kustomization file:kubectl apply -k <directory-path> The output is similar to:secret/database-creds-5hdh7hhgfk created When a Secret is generated, the Secret name is created by hashing the Secret data and appending the hash value to the name. This ensures that a new Secret is generated each time the data is modified.To verify that the Secret was created and to decode the Secret data,kubectl get -k <directory-path> -o jsonpath='{.data}' The output is similar to:{ \"password\": \"MWYyZDFlMmU2N2Rm\", \"username\": \"YWRtaW4=\" } echo 'MWYyZDFlMmU2N2Rm' | base64 --decode The output is similar to:1f2d1e2e67df For more information, refer to Managing Secrets using kubectl and Declarative Management of Kubernetes Objects Using Kustomize.Edit a SecretIn your kustomization.yaml file, modify the data, such as the password.Apply the directory that contains the kustomization file:kubectl apply -k <directory-path> The output is similar to:secret/db-user-pass-6f24b56cc",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kustomize/",
    "id": "k8s_00595_qa_11174"
  },
  {
    "question": "What is Managing Secrets using Kustomize?",
    "answer": "k u b e c t l   s u p p o r t s   u s i n g   t h e   K u s t o m i z e   o b j e c t   m a n a g e m e n t   t o o l   t o   m a n a g e   S e c r e t s   a n d   C o n f i g M a p s .   Y o u   c r e a t e   a   r e s o u r c e   g e n e r a t o r   u s i n g   K u s t o m i z e ,   w h i c h   g e n e r a t e s   a   S e c r e t   t h a t   y o u   c a n   a p p l y   t o   t h e   A P I   s e r v e r   u s i n g   k u b e c t l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kustomize/",
    "id": "k8s_00595_section_1_11175"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kustomize/",
    "id": "k8s_00595_section_2_11176"
  },
  {
    "question": "What is Create a Secret?",
    "answer": "Y o u   c a n   g e n e r a t e   a   S e c r e t   b y   d e f i n i n g   a   s e c r e t G e n e r a t o r   i n   a   k u s t o m i z a t i o n . y a m l   f i l e   t h a t   r e f e r e n c e s   o t h e r   e x i s t i n g   f i l e s ,   . e n v   f i l e s ,   o r   l i t e r a l   v a l u e s .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   i n s t r u c t i o n s   c r e a t e   a   k u s t o m i z a t i o n   f i l e   f o r   t h e   u s e r n a m e   a d m i n   a n d   t h e   p a s s w o r d   1 f 2 d 1 e 2 e 6 7 d f .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kustomize/",
    "id": "k8s_00595_section_2_11177"
  },
  {
    "question": "What is Create the kustomization file?",
    "answer": "s e c r e t G e n e r a t o r :   -   n a m e :   d a t a b a s e - c r e d s   l i t e r a l s :   -   u s e r n a m e = a d m i n   -   p a s s w o r d = 1 f 2 d 1 e 2 e 6 7 d f   s e c r e t G e n e r a t o r :   -   n a m e :   d a t a b a s e - c r e d s   l i t e r a l s :   -   u s e r n a m e = a d m i n   -   p a s s w o r d = 1 f 2 d 1 e 2 e 6 7 d f   S t o r e   t h e   c r e d e n t i a l s   i n   f i l e s .   T h e   f i l e n a m e s   a r e   t h e   k e y s   o f   t h e   s e c r e t : e c h o   - n   ' a d m i n '   >   . / u s e r n a m e . t x t   e c h o   - n   ' 1 f 2 d 1 e 2 e 6 7 d f '   >   . / p a s s w o r d . t x t   T h e   - n   f l a g   e n s u r e s   t h a t   t h e r e ' s   n o   n e w l i n e   c h a r a c t e r   a t   t h e   e n d   o f   y o u r   f i l e s . C r e a t e   t h e   k u s t o m i z a t i o n . y a m l   f i l e : s e c r e t G e n e r a t o r :   -   n a m e :   d a t a b a s e - c r e d s   f i l e s :   -   u s e r n a m e . t x t   -   p a s s w o r d . t x t   S t o r e   t h e   c r e d e n t i a l s   i n   f i l e s .   T h e   f i l e n a m e s   a r e   t h e   k e y s   o f   t h e   s e c r e t : e c h o   - n   ' a d m i n '   >   . / u s e r n a m e . t x t   e c h o   - n   ' 1 f 2 d 1 e 2 e 6 7 d f '   >   . / p a s s w o r d . t x t   T h e   - n   f l a g   e n s u r e s   t h a t   t h e r e ' s   n o   n e w l i n e   c h a r a c t e r   a t   t h e   e n d   o f   y o u r   f i l e s . C r e a t e   t h e   k u s t o m i z a t i o n . y a m l   f i l e : s e c r e t G e n e r a t o r :   -   n a m e :   d a t a b a s e - c r e d s   f i l e s :   -   u s e r n a m e . t x t   -   p a s s w o r d . t x t   S t o r e   t h e   c r e d e n t i a l s   i n   f i l e s .   T h e   f i l e n a m e s   a r e   t h e   k e y s   o f   t h e   s e c r e t :   e c h o   - n   ' a d m i n '   >   . / u s e r n a m e . t x t   e c h o   - n   ' 1 f 2 d 1 e 2 e 6 7 d f '   >   . / p a s s w o r d . t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kustomize/",
    "id": "k8s_00595_section_3_11178"
  },
  {
    "question": "What is Apply the kustomization file?",
    "answer": "T o   c r e a t e   t h e   S e c r e t ,   a p p l y   t h e   d i r e c t o r y   t h a t   c o n t a i n s   t h e   k u s t o m i z a t i o n   f i l e :   k u b e c t l   a p p l y   - k   < d i r e c t o r y - p a t h >   T h e   o u t p u t   i s   s i m i l a r   t o :   s e c r e t / d a t a b a s e - c r e d s - 5 h d h 7 h h g f k   c r e a t e d   W h e n   a   S e c r e t   i s   g e n e r a t e d ,   t h e   S e c r e t   n a m e   i s   c r e a t e d   b y   h a s h i n g   t h e   S e c r e t   d a t a   a n d   a p p e n d i n g   t h e   h a s h   v a l u e   t o   t h e   n a m e .   T h i s   e n s u r e s   t h a t   a   n e w   S e c r e t   i s   g e n e r a t e d   e a c h   t i m e   t h e   d a t a   i s   m o d i f i e d .   T o   v e r i f y   t h a t   t h e   S e c r e t   w a s   c r e a t e d   a n d   t o   d e c o d e   t h e   S e c r e t   d a t a ,   k u b e c t l   g e t   - k   < d i r e c t o r y - p a t h >   - o   j s o n p a t h = ' { . d a t a } '   T h e   o u t p u t   i s   s i m i l a r   t o :   {   \" p a s s w o r d \" :   \" M W Y y Z D F l M m U 2 N 2 R m \" ,   \" u s e r n a m e \" :   \" Y W R t a W 4 = \"   }   e c h o   ' M W Y y Z D F l M m U 2 N 2 R m '   |   b a s e 6 4   - - d e c o d e   T h e   o u t p u t   i s   s i m i l a r   t o :   1 f 2 d 1 e 2 e 6 7 d f   F o r   m o r e   i n f o r m a t i o n ,   r e f e r   t o   M a n a g i n g   S e c r e t s   u s i n g   k u b e c t l   a n d   D e c l a r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   K u s t o m i z e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kustomize/",
    "id": "k8s_00595_section_3_11179"
  },
  {
    "question": "What is Edit a Secret?",
    "answer": "I n   y o u r   k u s t o m i z a t i o n . y a m l   f i l e ,   m o d i f y   t h e   d a t a ,   s u c h   a s   t h e   p a s s w o r d . A p p l y   t h e   d i r e c t o r y   t h a t   c o n t a i n s   t h e   k u s t o m i z a t i o n   f i l e : k u b e c t l   a p p l y   - k   < d i r e c t o r y - p a t h >   T h e   o u t p u t   i s   s i m i l a r   t o : s e c r e t / d b - u s e r - p a s s - 6 f 2 4 b 5 6 c c 8   c r e a t e d   I n   y o u r   k u s t o m i z a t i o n . y a m l   f i l e ,   m o d i f y   t h e   d a t a ,   s u c h   a s   t h e   p a s s w o r d .   A p p l y   t h e   d i r e c t o r y   t h a t   c o n t a i n s   t h e   k u s t o m i z a t i o n   f i l e :   k u b e c t l   a p p l y   - k   < d i r e c t o r y - p a t h >   T h e   o u t p u t   i s   s i m i l a r   t o :   s e c r e t / d b - u s e r - p a s s - 6 f 2 4 b 5 6 c c 8   c r e a t e d   T h e   e d i t e d   S e c r e t   i s   c r e a t e d   a s   a   n e w   S e c r e t   o b j e c t ,   i n s t e a d   o f   u p d a t i n g   t h e   e x i s t i n g   S e c r e t   o b j e c t .   Y o u   m i g h t   n e e d   t o   u p d a t e   r e f e r e n c e s   t o   t h e   S e c r e t   i n   y o u r   P o d s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kustomize/",
    "id": "k8s_00595_section_2_11180"
  },
  {
    "question": "What is Clean up?",
    "answer": "T o   d e l e t e   a   S e c r e t ,   u s e   k u b e c t l :   k u b e c t l   d e l e t e   s e c r e t   d b - u s e r - p a s s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kustomize/",
    "id": "k8s_00595_section_2_11181"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   m o r e   a b o u t   t h e   S e c r e t   c o n c e p t L e a r n   h o w   t o   m a n a g e   S e c r e t s   u s i n g   k u b e c t l L e a r n   h o w   t o   m a n a g e   S e c r e t s   u s i n g   c o n f i g   f i l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kustomize/",
    "id": "k8s_00595_section_2_11182"
  },
  {
    "question": "What is Use Port Forwarding to Access Applications in a Cluster?",
    "answer": "Use Port Forwarding to Access Applications in a ClusterThis page shows how to use kubectl port-forward to connect to a MongoDB server running in a Kubernetes cluster. This type of connection can be useful for database debugging.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.10.To check the version, enter kubectl version.Install MongoDB Shell.Creating MongoDB deployment and serviceCreate a Deployment that runs MongoDB:kubectl apply -f https://k8s.io/examples/application/mongodb/mongo-deployment.yaml The output of a successful command verifies that the deployment was created:deployment.apps/mongo created View the pod status to check that it is ready:kubectl get pods The output displays the pod created:NAME READY STATUS RESTARTS AGE mongo-75f59d57f4-4nd6q 1/1 Running 0 2m4s View the Deployment's status:kubectl get deployment The output displays that the Deployment was created:NAME READY UP-TO-DATE AVAILABLE AGE mongo 1/1 1 1 2m21s The Deployment automatically manages a ReplicaSet. View the ReplicaSet status using:kubectl get replicaset The output displays that the ReplicaSet was created:NAME DESIRED CURRENT READY AGE mongo-75f59d57f4 1 1 1 3m12s Create a Service to expose MongoDB on the network:kubectl apply -f https://k8s.io/examples/application/mongodb/mongo-service.yaml The output of a successful command verifies that the Service was created:service/mongo created Check the Service created:kubectl get service mongo The output displays the service created:NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE mongo ClusterIP 10.96.41.183 <none> 27017/TCP 11s Verify that the MongoDB server is running in the Pod, and listening on port 27017:# Change mongo-75f59d57f4-4nd6q to the name of the Pod kubectl get pod mongo-75f59d57f4-4nd6q --template='{{(index (index .spec.containers 0).ports 0).containerPort}}{{\"\\n\"}}' The output displays the port for MongoDB in that Pod:27017 27017 is the official TCP port for MongoDB.Forward a local port to a port on the Podkubectl port-forward allows using resource name, such as a pod name, to select a matching pod to port forward to.# Change mongo-75f59d57f4-4nd6q to the name of the Pod kubectl port-forward mongo-75f59d57f4-4nd6q 28015:27017 which is the same askubectl port-forward pods/mongo-75f59d57f4-4nd6q 28015:27017 orkubectl port-forward deployment/mongo 28015:27017 orkubectl port-forward replicaset/mongo-75f59d57f4 28015:27017 orkubectl port-forward service/mongo 28015:27017 Any of the above commands works. The output is similar to this:Forwarding from 127.0.0.1:28015 -> 27017 Fo",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/port-forward-access-application-cluster/",
    "id": "k8s_00596_qa_11183"
  },
  {
    "question": "How does Use Port Forwarding to Access Applications in a Cluster work?",
    "answer": "Use Port Forwarding to Access Applications in a ClusterThis page shows how to use kubectl port-forward to connect to a MongoDB server running in a Kubernetes cluster. This type of connection can be useful for database debugging.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.10.To check the version, enter kubectl version.Install MongoDB Shell.Creating MongoDB deployment and serviceCreate a Deployment that runs MongoDB:kubectl apply -f https://k8s.io/examples/application/mongodb/mongo-deployment.yaml The output of a successful command verifies that the deployment was created:deployment.apps/mongo created View the pod status to check that it is ready:kubectl get pods The output displays the pod created:NAME READY STATUS RESTARTS AGE mongo-75f59d57f4-4nd6q 1/1 Running 0 2m4s View the Deployment's status:kubectl get deployment The output displays that the Deployment was created:NAME READY UP-TO-DATE AVAILABLE AGE mongo 1/1 1 1 2m21s The Deployment automatically manages a ReplicaSet. View the ReplicaSet status using:kubectl get replicaset The output displays that the ReplicaSet was created:NAME DESIRED CURRENT READY AGE mongo-75f59d57f4 1 1 1 3m12s Create a Service to expose MongoDB on the network:kubectl apply -f https://k8s.io/examples/application/mongodb/mongo-service.yaml The output of a successful command verifies that the Service was created:service/mongo created Check the Service created:kubectl get service mongo The output displays the service created:NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE mongo ClusterIP 10.96.41.183 <none> 27017/TCP 11s Verify that the MongoDB server is running in the Pod, and listening on port 27017:# Change mongo-75f59d57f4-4nd6q to the name of the Pod kubectl get pod mongo-75f59d57f4-4nd6q --template='{{(index (index .spec.containers 0).ports 0).containerPort}}{{\"\\n\"}}' The output displays the port for MongoDB in that Pod:27017 27017 is the official TCP port for MongoDB.Forward a local port to a port on the Podkubectl port-forward allows using resource name, such as a pod name, to select a matching pod to port forward to.# Change mongo-75f59d57f4-4nd6q to the name of the Pod kubectl port-forward mongo-75f59d57f4-4nd6q 28015:27017 which is the same askubectl port-forward pods/mongo-75f59d57f4-4nd6q 28015:27017 orkubectl port-forward deployment/mongo 28015:27017 orkubectl port-forward replicaset/mongo-75f59d57f4 28015:27017 orkubectl port-forward service/mongo 28015:27017 Any of the above commands works. The output is similar to this:Forwarding from 127.0.0.1:28015 -> 27017 Fo",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/port-forward-access-application-cluster/",
    "id": "k8s_00596_qa_11184"
  },
  {
    "question": "When would you use Use Port Forwarding to Access Applications in a Cluster?",
    "answer": "Use Port Forwarding to Access Applications in a ClusterThis page shows how to use kubectl port-forward to connect to a MongoDB server running in a Kubernetes cluster. This type of connection can be useful for database debugging.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.10.To check the version, enter kubectl version.Install MongoDB Shell.Creating MongoDB deployment and serviceCreate a Deployment that runs MongoDB:kubectl apply -f https://k8s.io/examples/application/mongodb/mongo-deployment.yaml The output of a successful command verifies that the deployment was created:deployment.apps/mongo created View the pod status to check that it is ready:kubectl get pods The output displays the pod created:NAME READY STATUS RESTARTS AGE mongo-75f59d57f4-4nd6q 1/1 Running 0 2m4s View the Deployment's status:kubectl get deployment The output displays that the Deployment was created:NAME READY UP-TO-DATE AVAILABLE AGE mongo 1/1 1 1 2m21s The Deployment automatically manages a ReplicaSet. View the ReplicaSet status using:kubectl get replicaset The output displays that the ReplicaSet was created:NAME DESIRED CURRENT READY AGE mongo-75f59d57f4 1 1 1 3m12s Create a Service to expose MongoDB on the network:kubectl apply -f https://k8s.io/examples/application/mongodb/mongo-service.yaml The output of a successful command verifies that the Service was created:service/mongo created Check the Service created:kubectl get service mongo The output displays the service created:NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE mongo ClusterIP 10.96.41.183 <none> 27017/TCP 11s Verify that the MongoDB server is running in the Pod, and listening on port 27017:# Change mongo-75f59d57f4-4nd6q to the name of the Pod kubectl get pod mongo-75f59d57f4-4nd6q --template='{{(index (index .spec.containers 0).ports 0).containerPort}}{{\"\\n\"}}' The output displays the port for MongoDB in that Pod:27017 27017 is the official TCP port for MongoDB.Forward a local port to a port on the Podkubectl port-forward allows using resource name, such as a pod name, to select a matching pod to port forward to.# Change mongo-75f59d57f4-4nd6q to the name of the Pod kubectl port-forward mongo-75f59d57f4-4nd6q 28015:27017 which is the same askubectl port-forward pods/mongo-75f59d57f4-4nd6q 28015:27017 orkubectl port-forward deployment/mongo 28015:27017 orkubectl port-forward replicaset/mongo-75f59d57f4 28015:27017 orkubectl port-forward service/mongo 28015:27017 Any of the above commands works. The output is similar to this:Forwarding from 127.0.0.1:28015 -> 27017 Fo",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/port-forward-access-application-cluster/",
    "id": "k8s_00596_qa_11185"
  },
  {
    "question": "What are the benefits of Use Port Forwarding to Access Applications in a Cluster?",
    "answer": "Use Port Forwarding to Access Applications in a ClusterThis page shows how to use kubectl port-forward to connect to a MongoDB server running in a Kubernetes cluster. This type of connection can be useful for database debugging.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.10.To check the version, enter kubectl version.Install MongoDB Shell.Creating MongoDB deployment and serviceCreate a Deployment that runs MongoDB:kubectl apply -f https://k8s.io/examples/application/mongodb/mongo-deployment.yaml The output of a successful command verifies that the deployment was created:deployment.apps/mongo created View the pod status to check that it is ready:kubectl get pods The output displays the pod created:NAME READY STATUS RESTARTS AGE mongo-75f59d57f4-4nd6q 1/1 Running 0 2m4s View the Deployment's status:kubectl get deployment The output displays that the Deployment was created:NAME READY UP-TO-DATE AVAILABLE AGE mongo 1/1 1 1 2m21s The Deployment automatically manages a ReplicaSet. View the ReplicaSet status using:kubectl get replicaset The output displays that the ReplicaSet was created:NAME DESIRED CURRENT READY AGE mongo-75f59d57f4 1 1 1 3m12s Create a Service to expose MongoDB on the network:kubectl apply -f https://k8s.io/examples/application/mongodb/mongo-service.yaml The output of a successful command verifies that the Service was created:service/mongo created Check the Service created:kubectl get service mongo The output displays the service created:NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE mongo ClusterIP 10.96.41.183 <none> 27017/TCP 11s Verify that the MongoDB server is running in the Pod, and listening on port 27017:# Change mongo-75f59d57f4-4nd6q to the name of the Pod kubectl get pod mongo-75f59d57f4-4nd6q --template='{{(index (index .spec.containers 0).ports 0).containerPort}}{{\"\\n\"}}' The output displays the port for MongoDB in that Pod:27017 27017 is the official TCP port for MongoDB.Forward a local port to a port on the Podkubectl port-forward allows using resource name, such as a pod name, to select a matching pod to port forward to.# Change mongo-75f59d57f4-4nd6q to the name of the Pod kubectl port-forward mongo-75f59d57f4-4nd6q 28015:27017 which is the same askubectl port-forward pods/mongo-75f59d57f4-4nd6q 28015:27017 orkubectl port-forward deployment/mongo 28015:27017 orkubectl port-forward replicaset/mongo-75f59d57f4 28015:27017 orkubectl port-forward service/mongo 28015:27017 Any of the above commands works. The output is similar to this:Forwarding from 127.0.0.1:28015 -> 27017 Fo",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/port-forward-access-application-cluster/",
    "id": "k8s_00596_qa_11186"
  },
  {
    "question": "What is Use Port Forwarding to Access Applications in a Cluster?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   k u b e c t l   p o r t - f o r w a r d   t o   c o n n e c t   t o   a   M o n g o D B   s e r v e r   r u n n i n g   i n   a   K u b e r n e t e s   c l u s t e r .   T h i s   t y p e   o f   c o n n e c t i o n   c a n   b e   u s e f u l   f o r   d a t a b a s e   d e b u g g i n g .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/port-forward-access-application-cluster/",
    "id": "k8s_00596_section_1_11187"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 1 0 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n . I n s t a l l   M o n g o D B   S h e l l .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/port-forward-access-application-cluster/",
    "id": "k8s_00596_section_2_11188"
  },
  {
    "question": "What is Creating MongoDB deployment and service?",
    "answer": "C r e a t e   a   D e p l o y m e n t   t h a t   r u n s   M o n g o D B : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / m o n g o d b / m o n g o - d e p l o y m e n t . y a m l   T h e   o u t p u t   o f   a   s u c c e s s f u l   c o m m a n d   v e r i f i e s   t h a t   t h e   d e p l o y m e n t   w a s   c r e a t e d : d e p l o y m e n t . a p p s / m o n g o   c r e a t e d   V i e w   t h e   p o d   s t a t u s   t o   c h e c k   t h a t   i t   i s   r e a d y : k u b e c t l   g e t   p o d s   T h e   o u t p u t   d i s p l a y s   t h e   p o d   c r e a t e d : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   m o n g o - 7 5 f 5 9 d 5 7 f 4 - 4 n d 6 q   1 / 1   R u n n i n g   0   2 m 4 s   V i e w   t h e   D e p l o y m e n t ' s   s t a t u s : k u b e c t l   g e t   d e p l o y m e n t   T h e   o u t p u t   d i s p l a y s   t h a t   t h e   D e p l o y m e n t   w a s   c r e a t e d : N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   m o n g o   1 / 1   1   1   2 m 2 1 s   T h e   D e p l o y m e n t   a u t o m a t i c a l l y   m a n a g e s   a   R e p l i c a S e t .   V i e w   t h e   R e p l i c a S e t   s t a t u s   u s i n g : k u b e c t l   g e t   r e p l i c a s e t   T h e   o u t p u t   d i s p l a y s   t h a t   t h e   R e p l i c a S e t   w a s   c r e a t e d : N A M E   D E S I R E D   C U R R E N T   R E A D Y   A G E   m o n g o - 7 5 f 5 9 d 5 7 f 4   1   1   1   3 m 1 2 s   C r e a t e   a   S e r v i c e   t o   e x p o s e   M o n g o D B   o n   t h e   n e t w o r k : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / m o n g o d b / m o n g o - s e r v i c e . y a m l   T h e   o u t p u t   o f   a   s u c c e s s f u l   c o m m a n d   v e r i f i e s   t h a t   t h e   S e r v i c e   w a s   c r e a t e d : s e r v i c e / m o n g o   c r e a t ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/port-forward-access-application-cluster/",
    "id": "k8s_00596_section_2_11189"
  },
  {
    "question": "What is Forward a local port to a port on the Pod?",
    "answer": "k u b e c t l   p o r t - f o r w a r d   a l l o w s   u s i n g   r e s o u r c e   n a m e ,   s u c h   a s   a   p o d   n a m e ,   t o   s e l e c t   a   m a t c h i n g   p o d   t o   p o r t   f o r w a r d   t o . #   C h a n g e   m o n g o - 7 5 f 5 9 d 5 7 f 4 - 4 n d 6 q   t o   t h e   n a m e   o f   t h e   P o d   k u b e c t l   p o r t - f o r w a r d   m o n g o - 7 5 f 5 9 d 5 7 f 4 - 4 n d 6 q   2 8 0 1 5 : 2 7 0 1 7   w h i c h   i s   t h e   s a m e   a s k u b e c t l   p o r t - f o r w a r d   p o d s / m o n g o - 7 5 f 5 9 d 5 7 f 4 - 4 n d 6 q   2 8 0 1 5 : 2 7 0 1 7   o r k u b e c t l   p o r t - f o r w a r d   d e p l o y m e n t / m o n g o   2 8 0 1 5 : 2 7 0 1 7   o r k u b e c t l   p o r t - f o r w a r d   r e p l i c a s e t / m o n g o - 7 5 f 5 9 d 5 7 f 4   2 8 0 1 5 : 2 7 0 1 7   o r k u b e c t l   p o r t - f o r w a r d   s e r v i c e / m o n g o   2 8 0 1 5 : 2 7 0 1 7   A n y   o f   t h e   a b o v e   c o m m a n d s   w o r k s .   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : F o r w a r d i n g   f r o m   1 2 7 . 0 . 0 . 1 : 2 8 0 1 5   - >   2 7 0 1 7   F o r w a r d i n g   f r o m   [ : : 1 ] : 2 8 0 1 5   - >   2 7 0 1 7   N o t e : k u b e c t l   p o r t - f o r w a r d   d o e s   n o t   r e t u r n .   T o   c o n t i n u e   w i t h   t h e   e x e r c i s e s ,   y o u   w i l l   n e e d   t o   o p e n   a n o t h e r   t e r m i n a l . S t a r t   t h e   M o n g o D B   c o m m a n d   l i n e   i n t e r f a c e : m o n g o s h   - - p o r t   2 8 0 1 5   A t   t h e   M o n g o D B   c o m m a n d   l i n e   p r o m p t ,   e n t e r   t h e   p i n g   c o m m a n d : d b . r u n C o m m a n d (   {   p i n g :   1   }   )   A   s u c c e s s f u l   p i n g   r e q u e s t   r e t u r n s : {   o k :   1   }   k u b e c t l   p o r t - f o r w a r d   a l l o w s   u s i n g   r e s o u r c e   n a m e ,   s u c h   a s   a   p o d   n a m e ,   t o   s e l e c t   a   m ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/port-forward-access-application-cluster/",
    "id": "k8s_00596_section_2_11190"
  },
  {
    "question": "What is Note:?",
    "answer": "S t a r t   t h e   M o n g o D B   c o m m a n d   l i n e   i n t e r f a c e :   m o n g o s h   - - p o r t   2 8 0 1 5   A t   t h e   M o n g o D B   c o m m a n d   l i n e   p r o m p t ,   e n t e r   t h e   p i n g   c o m m a n d :   d b . r u n C o m m a n d (   {   p i n g :   1   }   )   A   s u c c e s s f u l   p i n g   r e q u e s t   r e t u r n s :   {   o k :   1   }",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/port-forward-access-application-cluster/",
    "id": "k8s_00596_section_4_11191"
  },
  {
    "question": "What is Optionally let kubectl choose the local port?",
    "answer": "I f   y o u   d o n ' t   n e e d   a   s p e c i f i c   l o c a l   p o r t ,   y o u   c a n   l e t   k u b e c t l   c h o o s e   a n d   a l l o c a t e   t h e   l o c a l   p o r t   a n d   t h u s   r e l i e v e   y o u   f r o m   h a v i n g   t o   m a n a g e   l o c a l   p o r t   c o n f l i c t s ,   w i t h   t h e   s l i g h t l y   s i m p l e r   s y n t a x :   k u b e c t l   p o r t - f o r w a r d   d e p l o y m e n t / m o n g o   : 2 7 0 1 7   T h e   k u b e c t l   t o o l   f i n d s   a   l o c a l   p o r t   n u m b e r   t h a t   i s   n o t   i n   u s e   ( a v o i d i n g   l o w   p o r t s   n u m b e r s ,   b e c a u s e   t h e s e   m i g h t   b e   u s e d   b y   o t h e r   a p p l i c a t i o n s ) .   T h e   o u t p u t   i s   s i m i l a r   t o :   F o r w a r d i n g   f r o m   1 2 7 . 0 . 0 . 1 : 6 3 7 5 3   - >   2 7 0 1 7   F o r w a r d i n g   f r o m   [ : : 1 ] : 6 3 7 5 3   - >   2 7 0 1 7",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/port-forward-access-application-cluster/",
    "id": "k8s_00596_section_3_11192"
  },
  {
    "question": "What is Discussion?",
    "answer": "C o n n e c t i o n s   m a d e   t o   l o c a l   p o r t   2 8 0 1 5   a r e   f o r w a r d e d   t o   p o r t   2 7 0 1 7   o f   t h e   P o d   t h a t   i s   r u n n i n g   t h e   M o n g o D B   s e r v e r .   W i t h   t h i s   c o n n e c t i o n   i n   p l a c e ,   y o u   c a n   u s e   y o u r   l o c a l   w o r k s t a t i o n   t o   d e b u g   t h e   d a t a b a s e   t h a t   i s   r u n n i n g   i n   t h e   P o d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/port-forward-access-application-cluster/",
    "id": "k8s_00596_section_2_11193"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   k u b e c t l   p o r t - f o r w a r d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/port-forward-access-application-cluster/",
    "id": "k8s_00596_section_2_11194"
  },
  {
    "question": "What is Endpoints?",
    "answer": "EndpointsEndpoints is a collection of endpoints that implement the actual service.apiVersion: v1import \"k8s.io/api/core/v1\"EndpointsEndpoints is a collection of endpoints that implement the actual service. Example:Name: \"mysvc\", Subsets: [ { Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] }, { Addresses: [{\"ip\": \"10.10.3.3\"}], Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}] }, ]Endpoints is a legacy API and does not contain information about all Service features. Use discoveryv1.EndpointSlice for complete information about Service endpoints.Deprecated: This API is deprecated in v1.33+. Use discoveryv1.EndpointSlice.apiVersion: v1kind: Endpointsmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatasubsets ([]EndpointSubset)Atomic: will be replaced during a mergeThe set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service.*EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:{ Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] }The resulting set of endpoints can be viewed as:a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], b: [ 10.10.1.1:309, 10.10.2.2:309 ]Deprecated: This API is deprecated in v1.33+.*subsets.addresses ([]EndpointAddress)Atomic: will be replaced during a mergeIP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize.EndpointAddress is a tuple that describes single IP address. Deprecated: This API is deprecated in v1.33+.subsets.addresses.ip (string), requiredThe IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16).subsets.addresses.hostname (string)The Hostname of this endpointsubsets.addresses.nodeName (string)Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.subsets.addresses.targetRef (ObjectReference)Reference to object providing the endpoint.subsets.notReadyAddresses ([]EndpointAddress)Atomic: will be replaced during a mergeIP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check.Endp",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_qa_11195"
  },
  {
    "question": "How does Endpoints work?",
    "answer": "EndpointsEndpoints is a collection of endpoints that implement the actual service.apiVersion: v1import \"k8s.io/api/core/v1\"EndpointsEndpoints is a collection of endpoints that implement the actual service. Example:Name: \"mysvc\", Subsets: [ { Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] }, { Addresses: [{\"ip\": \"10.10.3.3\"}], Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}] }, ]Endpoints is a legacy API and does not contain information about all Service features. Use discoveryv1.EndpointSlice for complete information about Service endpoints.Deprecated: This API is deprecated in v1.33+. Use discoveryv1.EndpointSlice.apiVersion: v1kind: Endpointsmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatasubsets ([]EndpointSubset)Atomic: will be replaced during a mergeThe set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service.*EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:{ Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] }The resulting set of endpoints can be viewed as:a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], b: [ 10.10.1.1:309, 10.10.2.2:309 ]Deprecated: This API is deprecated in v1.33+.*subsets.addresses ([]EndpointAddress)Atomic: will be replaced during a mergeIP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize.EndpointAddress is a tuple that describes single IP address. Deprecated: This API is deprecated in v1.33+.subsets.addresses.ip (string), requiredThe IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16).subsets.addresses.hostname (string)The Hostname of this endpointsubsets.addresses.nodeName (string)Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.subsets.addresses.targetRef (ObjectReference)Reference to object providing the endpoint.subsets.notReadyAddresses ([]EndpointAddress)Atomic: will be replaced during a mergeIP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check.Endp",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_qa_11196"
  },
  {
    "question": "When would you use Endpoints?",
    "answer": "EndpointsEndpoints is a collection of endpoints that implement the actual service.apiVersion: v1import \"k8s.io/api/core/v1\"EndpointsEndpoints is a collection of endpoints that implement the actual service. Example:Name: \"mysvc\", Subsets: [ { Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] }, { Addresses: [{\"ip\": \"10.10.3.3\"}], Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}] }, ]Endpoints is a legacy API and does not contain information about all Service features. Use discoveryv1.EndpointSlice for complete information about Service endpoints.Deprecated: This API is deprecated in v1.33+. Use discoveryv1.EndpointSlice.apiVersion: v1kind: Endpointsmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatasubsets ([]EndpointSubset)Atomic: will be replaced during a mergeThe set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service.*EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:{ Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] }The resulting set of endpoints can be viewed as:a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], b: [ 10.10.1.1:309, 10.10.2.2:309 ]Deprecated: This API is deprecated in v1.33+.*subsets.addresses ([]EndpointAddress)Atomic: will be replaced during a mergeIP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize.EndpointAddress is a tuple that describes single IP address. Deprecated: This API is deprecated in v1.33+.subsets.addresses.ip (string), requiredThe IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16).subsets.addresses.hostname (string)The Hostname of this endpointsubsets.addresses.nodeName (string)Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.subsets.addresses.targetRef (ObjectReference)Reference to object providing the endpoint.subsets.notReadyAddresses ([]EndpointAddress)Atomic: will be replaced during a mergeIP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check.Endp",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_qa_11197"
  },
  {
    "question": "What are the benefits of Endpoints?",
    "answer": "EndpointsEndpoints is a collection of endpoints that implement the actual service.apiVersion: v1import \"k8s.io/api/core/v1\"EndpointsEndpoints is a collection of endpoints that implement the actual service. Example:Name: \"mysvc\", Subsets: [ { Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] }, { Addresses: [{\"ip\": \"10.10.3.3\"}], Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}] }, ]Endpoints is a legacy API and does not contain information about all Service features. Use discoveryv1.EndpointSlice for complete information about Service endpoints.Deprecated: This API is deprecated in v1.33+. Use discoveryv1.EndpointSlice.apiVersion: v1kind: Endpointsmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatasubsets ([]EndpointSubset)Atomic: will be replaced during a mergeThe set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service.*EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:{ Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] }The resulting set of endpoints can be viewed as:a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], b: [ 10.10.1.1:309, 10.10.2.2:309 ]Deprecated: This API is deprecated in v1.33+.*subsets.addresses ([]EndpointAddress)Atomic: will be replaced during a mergeIP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize.EndpointAddress is a tuple that describes single IP address. Deprecated: This API is deprecated in v1.33+.subsets.addresses.ip (string), requiredThe IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16).subsets.addresses.hostname (string)The Hostname of this endpointsubsets.addresses.nodeName (string)Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.subsets.addresses.targetRef (ObjectReference)Reference to object providing the endpoint.subsets.notReadyAddresses ([]EndpointAddress)Atomic: will be replaced during a mergeIP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check.Endp",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_qa_11198"
  },
  {
    "question": "What is Endpoints?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_1_11199"
  },
  {
    "question": "What is Endpoints?",
    "answer": "E n d p o i n t s   i s   a   c o l l e c t i o n   o f   e n d p o i n t s   t h a t   i m p l e m e n t   t h e   a c t u a l   s e r v i c e .   E x a m p l e :   N a m e :   \" m y s v c \" ,   S u b s e t s :   [   {   A d d r e s s e s :   [ { \" i p \" :   \" 1 0 . 1 0 . 1 . 1 \" } ,   { \" i p \" :   \" 1 0 . 1 0 . 2 . 2 \" } ] ,   P o r t s :   [ { \" n a m e \" :   \" a \" ,   \" p o r t \" :   8 6 7 5 } ,   { \" n a m e \" :   \" b \" ,   \" p o r t \" :   3 0 9 } ]   } ,   {   A d d r e s s e s :   [ { \" i p \" :   \" 1 0 . 1 0 . 3 . 3 \" } ] ,   P o r t s :   [ { \" n a m e \" :   \" a \" ,   \" p o r t \" :   9 3 } ,   { \" n a m e \" :   \" b \" ,   \" p o r t \" :   7 6 } ]   } ,   ]   E n d p o i n t s   i s   a   l e g a c y   A P I   a n d   d o e s   n o t   c o n t a i n   i n f o r m a t i o n   a b o u t   a l l   S e r v i c e   f e a t u r e s .   U s e   d i s c o v e r y v 1 . E n d p o i n t S l i c e   f o r   c o m p l e t e   i n f o r m a t i o n   a b o u t   S e r v i c e   e n d p o i n t s .   D e p r e c a t e d :   T h i s   A P I   i s   d e p r e c a t e d   i n   v 1 . 3 3 + .   U s e   d i s c o v e r y v 1 . E n d p o i n t S l i c e .   a p i V e r s i o n :   v 1 k i n d :   E n d p o i n t s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s u b s e t s   ( [ ] E n d p o i n t S u b s e t ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e T h e   s e t   o f   a l l   e n d p o i n t s   i s   t h e   u n i o n   o f   a l l   s u b s e t s .   A d d r e s s e s   a r e   p l a c e d   i n t o   s u b s e t s   a c c o r d i n g   t o   t h e   I P s   t h e y   s h a r e .   A   s i n g l e   a d d r e s s   w i t h   m u l t i p l e   p o r t s ,   s o m e   o f   w h i c h   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_2_11200"
  },
  {
    "question": "What is EndpointsList?",
    "answer": "E n d p o i n t s L i s t   i s   a   l i s t   o f   e n d p o i n t s .   D e p r e c a t e d :   T h i s   A P I   i s   d e p r e c a t e d   i n   v 1 . 3 3 + .   a p i V e r s i o n :   v 1 k i n d :   E n d p o i n t s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] E n d p o i n t s ) ,   r e q u i r e d L i s t   o f   e n d p o i n t s .   a p i V e r s i o n :   v 1   k i n d :   E n d p o i n t s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] E n d p o i n t s ) ,   r e q u i r e d   L i s t   o f   e n d p o i n t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_2_11201"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_4_11202"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E n d p o i n t s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E n d p o i n t s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_4_11203"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_4_11204"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_4_11205"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_4_11206"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_4_11207"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / e n d p o i n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_4_11208"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_4_11209"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_4_11210"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_4_11211"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   E n d p o i n t s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   E n d p o i n t s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_4_11212"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t s ) :   O K   2 0 1   ( E n d p o i n t s ) :   C r e a t e d   2 0 2   ( E n d p o i n t s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_4_11213"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_4_11214"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E n d p o i n t s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   E n d p o i n t s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E n d p o i n t s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   E n d p o i n t s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_4_11215"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t s ) :   O K   2 0 1   ( E n d p o i n t s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_4_11216"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_4_11217"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E n d p o i n t s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E n d p o i n t s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_4_11218"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t s ) :   O K   2 0 1   ( E n d p o i n t s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_4_11219"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_4_11220"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E n d p o i n t s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E n d p o i n t s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_4_11221"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_4_11222"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_4_11223"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_4_11224"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoints-v1/",
    "id": "k8s_00597_section_4_11225"
  },
  {
    "question": "What is kubectl create service clusterip?",
    "answer": "kubectl create service clusteripSynopsisCreate a ClusterIP service with the specified name.kubectl create service clusterip NAME [--tcp=<port>:<targetPort>] [--dry-run=server|client|none] Examples # Create a new ClusterIP service named my-cs kubectl create service clusterip my-cs --tcp=5678:8080 # Create a new ClusterIP service named my-cs (in headless mode) kubectl create service clusterip my-cs --clusterip=\"None\" Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--clusterip stringAssign your own ClusterIP or set to 'None' for a 'headless' service (no loadbalancing).--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for clusterip-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--tcp stringsPort pairs can be specified as '<port>:<targetPort>'.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file f",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_clusterip/",
    "id": "k8s_00598_qa_11226"
  },
  {
    "question": "How does kubectl create service clusterip work?",
    "answer": "kubectl create service clusteripSynopsisCreate a ClusterIP service with the specified name.kubectl create service clusterip NAME [--tcp=<port>:<targetPort>] [--dry-run=server|client|none] Examples # Create a new ClusterIP service named my-cs kubectl create service clusterip my-cs --tcp=5678:8080 # Create a new ClusterIP service named my-cs (in headless mode) kubectl create service clusterip my-cs --clusterip=\"None\" Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--clusterip stringAssign your own ClusterIP or set to 'None' for a 'headless' service (no loadbalancing).--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for clusterip-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--tcp stringsPort pairs can be specified as '<port>:<targetPort>'.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file f",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_clusterip/",
    "id": "k8s_00598_qa_11227"
  },
  {
    "question": "When would you use kubectl create service clusterip?",
    "answer": "kubectl create service clusteripSynopsisCreate a ClusterIP service with the specified name.kubectl create service clusterip NAME [--tcp=<port>:<targetPort>] [--dry-run=server|client|none] Examples # Create a new ClusterIP service named my-cs kubectl create service clusterip my-cs --tcp=5678:8080 # Create a new ClusterIP service named my-cs (in headless mode) kubectl create service clusterip my-cs --clusterip=\"None\" Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--clusterip stringAssign your own ClusterIP or set to 'None' for a 'headless' service (no loadbalancing).--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for clusterip-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--tcp stringsPort pairs can be specified as '<port>:<targetPort>'.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file f",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_clusterip/",
    "id": "k8s_00598_qa_11228"
  },
  {
    "question": "What are the benefits of kubectl create service clusterip?",
    "answer": "kubectl create service clusteripSynopsisCreate a ClusterIP service with the specified name.kubectl create service clusterip NAME [--tcp=<port>:<targetPort>] [--dry-run=server|client|none] Examples # Create a new ClusterIP service named my-cs kubectl create service clusterip my-cs --tcp=5678:8080 # Create a new ClusterIP service named my-cs (in headless mode) kubectl create service clusterip my-cs --clusterip=\"None\" Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--clusterip stringAssign your own ClusterIP or set to 'None' for a 'headless' service (no loadbalancing).--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for clusterip-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--tcp stringsPort pairs can be specified as '<port>:<targetPort>'.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file f",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_clusterip/",
    "id": "k8s_00598_qa_11229"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   C l u s t e r I P   s e r v i c e   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   N A M E   [ - - t c p = < p o r t > : < t a r g e t P o r t > ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_clusterip/",
    "id": "k8s_00598_section_2_11230"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   C l u s t e r I P   s e r v i c e   n a m e d   m y - c s   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   m y - c s   - - t c p = 5 6 7 8 : 8 0 8 0   #   C r e a t e   a   n e w   C l u s t e r I P   s e r v i c e   n a m e d   m y - c s   ( i n   h e a d l e s s   m o d e )   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   m y - c s   - - c l u s t e r i p = \" N o n e \"",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_clusterip/",
    "id": "k8s_00598_section_2_11231"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   A s s i g n   y o u r   o w n   C l u s t e r I P   o r   s e t   t o   ' N o n e '   f o r   a   ' h e a d l e s s '   s e r v i c e   ( n o   l o a d b a l a n c i n g ) .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   c l u s t e r i p   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   P o r t   p a i r s   c a n   b e   s p e c i f i e d   a s   ' < p o r t > : < t a r g e t P o r t > ' .   T e m p l a t e   s t r ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_clusterip/",
    "id": "k8s_00598_section_2_11232"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_clusterip/",
    "id": "k8s_00598_section_2_11233"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   s e r v i c e   -   C r e a t e   a   s e r v i c e   u s i n g   a   s p e c i f i e d   s u b c o m m a n d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_clusterip/",
    "id": "k8s_00598_section_2_11234"
  },
  {
    "question": "What is Using kubectl to Create a Deployment?",
    "answer": "Using kubectl to Create a DeploymentObjectivesLearn about application Deployments.Deploy your first app on Kubernetes with kubectl.Kubernetes DeploymentsA Deployment is responsible for creating and updating instances of your application.Note:This tutorial uses a container that requires the AMD64 architecture. If you are using minikube on a computer with a different CPU architecture, you could try using minikube with a driver that can emulate AMD64. For example, the Docker Desktop driver can do this.Once you have a running Kubernetes cluster, you can deploy your containerized applications on top of it. To do so, you create a Kubernetes Deployment. The Deployment instructs Kubernetes how to create and update instances of your application. Once you've created a Deployment, the Kubernetes control plane schedules the application instances included in that Deployment to run on individual Nodes in the cluster.Once the application instances are created, a Kubernetes Deployment controller continuously monitors those instances. If the Node hosting an instance goes down or is deleted, the Deployment controller replaces the instance with an instance on another Node in the cluster. This provides a self-healing mechanism to address machine failure or maintenance.In a pre-orchestration world, installation scripts would often be used to start applications, but they did not allow recovery from machine failure. By both creating your application instances and keeping them running across Nodes, Kubernetes Deployments provide a fundamentally different approach to application management.Deploying your first app on KubernetesApplications need to be packaged into one of the supported container formats in order to be deployed on Kubernetes.You can create and manage a Deployment by using the Kubernetes command line interface, kubectl. kubectl uses the Kubernetes API to interact with the cluster. In this module, you'll learn the most common kubectl commands needed to create Deployments that run your applications on a Kubernetes cluster.When you create a Deployment, you'll need to specify the container image for your application and the number of replicas that you want to run. You can change that information later by updating your Deployment; Module 5 and Module 6 of the bootcamp discuss how you can scale and update your Deployments.For your first Deployment, you'll use a hello-node application packaged in a Docker container that uses NGINX to echo back all the requests. (If you didn't already try creating a hello-node application and deploying it using a container, you can do that first by following the instructions from the Hello Minikube tutorial.)You will need to have installed kubectl as well. If you need to install it, visit install tools.Now that you know what Deployments are, let's deploy our first app!kubectl basicsThe common format of a kubectl command is: kubectl action resource.This performs the specified action (like create, describe or delete) on the specified",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro/",
    "id": "k8s_00599_qa_11235"
  },
  {
    "question": "How does Using kubectl to Create a Deployment work?",
    "answer": "Using kubectl to Create a DeploymentObjectivesLearn about application Deployments.Deploy your first app on Kubernetes with kubectl.Kubernetes DeploymentsA Deployment is responsible for creating and updating instances of your application.Note:This tutorial uses a container that requires the AMD64 architecture. If you are using minikube on a computer with a different CPU architecture, you could try using minikube with a driver that can emulate AMD64. For example, the Docker Desktop driver can do this.Once you have a running Kubernetes cluster, you can deploy your containerized applications on top of it. To do so, you create a Kubernetes Deployment. The Deployment instructs Kubernetes how to create and update instances of your application. Once you've created a Deployment, the Kubernetes control plane schedules the application instances included in that Deployment to run on individual Nodes in the cluster.Once the application instances are created, a Kubernetes Deployment controller continuously monitors those instances. If the Node hosting an instance goes down or is deleted, the Deployment controller replaces the instance with an instance on another Node in the cluster. This provides a self-healing mechanism to address machine failure or maintenance.In a pre-orchestration world, installation scripts would often be used to start applications, but they did not allow recovery from machine failure. By both creating your application instances and keeping them running across Nodes, Kubernetes Deployments provide a fundamentally different approach to application management.Deploying your first app on KubernetesApplications need to be packaged into one of the supported container formats in order to be deployed on Kubernetes.You can create and manage a Deployment by using the Kubernetes command line interface, kubectl. kubectl uses the Kubernetes API to interact with the cluster. In this module, you'll learn the most common kubectl commands needed to create Deployments that run your applications on a Kubernetes cluster.When you create a Deployment, you'll need to specify the container image for your application and the number of replicas that you want to run. You can change that information later by updating your Deployment; Module 5 and Module 6 of the bootcamp discuss how you can scale and update your Deployments.For your first Deployment, you'll use a hello-node application packaged in a Docker container that uses NGINX to echo back all the requests. (If you didn't already try creating a hello-node application and deploying it using a container, you can do that first by following the instructions from the Hello Minikube tutorial.)You will need to have installed kubectl as well. If you need to install it, visit install tools.Now that you know what Deployments are, let's deploy our first app!kubectl basicsThe common format of a kubectl command is: kubectl action resource.This performs the specified action (like create, describe or delete) on the specified",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro/",
    "id": "k8s_00599_qa_11236"
  },
  {
    "question": "When would you use Using kubectl to Create a Deployment?",
    "answer": "Using kubectl to Create a DeploymentObjectivesLearn about application Deployments.Deploy your first app on Kubernetes with kubectl.Kubernetes DeploymentsA Deployment is responsible for creating and updating instances of your application.Note:This tutorial uses a container that requires the AMD64 architecture. If you are using minikube on a computer with a different CPU architecture, you could try using minikube with a driver that can emulate AMD64. For example, the Docker Desktop driver can do this.Once you have a running Kubernetes cluster, you can deploy your containerized applications on top of it. To do so, you create a Kubernetes Deployment. The Deployment instructs Kubernetes how to create and update instances of your application. Once you've created a Deployment, the Kubernetes control plane schedules the application instances included in that Deployment to run on individual Nodes in the cluster.Once the application instances are created, a Kubernetes Deployment controller continuously monitors those instances. If the Node hosting an instance goes down or is deleted, the Deployment controller replaces the instance with an instance on another Node in the cluster. This provides a self-healing mechanism to address machine failure or maintenance.In a pre-orchestration world, installation scripts would often be used to start applications, but they did not allow recovery from machine failure. By both creating your application instances and keeping them running across Nodes, Kubernetes Deployments provide a fundamentally different approach to application management.Deploying your first app on KubernetesApplications need to be packaged into one of the supported container formats in order to be deployed on Kubernetes.You can create and manage a Deployment by using the Kubernetes command line interface, kubectl. kubectl uses the Kubernetes API to interact with the cluster. In this module, you'll learn the most common kubectl commands needed to create Deployments that run your applications on a Kubernetes cluster.When you create a Deployment, you'll need to specify the container image for your application and the number of replicas that you want to run. You can change that information later by updating your Deployment; Module 5 and Module 6 of the bootcamp discuss how you can scale and update your Deployments.For your first Deployment, you'll use a hello-node application packaged in a Docker container that uses NGINX to echo back all the requests. (If you didn't already try creating a hello-node application and deploying it using a container, you can do that first by following the instructions from the Hello Minikube tutorial.)You will need to have installed kubectl as well. If you need to install it, visit install tools.Now that you know what Deployments are, let's deploy our first app!kubectl basicsThe common format of a kubectl command is: kubectl action resource.This performs the specified action (like create, describe or delete) on the specified",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro/",
    "id": "k8s_00599_qa_11237"
  },
  {
    "question": "What are the benefits of Using kubectl to Create a Deployment?",
    "answer": "Using kubectl to Create a DeploymentObjectivesLearn about application Deployments.Deploy your first app on Kubernetes with kubectl.Kubernetes DeploymentsA Deployment is responsible for creating and updating instances of your application.Note:This tutorial uses a container that requires the AMD64 architecture. If you are using minikube on a computer with a different CPU architecture, you could try using minikube with a driver that can emulate AMD64. For example, the Docker Desktop driver can do this.Once you have a running Kubernetes cluster, you can deploy your containerized applications on top of it. To do so, you create a Kubernetes Deployment. The Deployment instructs Kubernetes how to create and update instances of your application. Once you've created a Deployment, the Kubernetes control plane schedules the application instances included in that Deployment to run on individual Nodes in the cluster.Once the application instances are created, a Kubernetes Deployment controller continuously monitors those instances. If the Node hosting an instance goes down or is deleted, the Deployment controller replaces the instance with an instance on another Node in the cluster. This provides a self-healing mechanism to address machine failure or maintenance.In a pre-orchestration world, installation scripts would often be used to start applications, but they did not allow recovery from machine failure. By both creating your application instances and keeping them running across Nodes, Kubernetes Deployments provide a fundamentally different approach to application management.Deploying your first app on KubernetesApplications need to be packaged into one of the supported container formats in order to be deployed on Kubernetes.You can create and manage a Deployment by using the Kubernetes command line interface, kubectl. kubectl uses the Kubernetes API to interact with the cluster. In this module, you'll learn the most common kubectl commands needed to create Deployments that run your applications on a Kubernetes cluster.When you create a Deployment, you'll need to specify the container image for your application and the number of replicas that you want to run. You can change that information later by updating your Deployment; Module 5 and Module 6 of the bootcamp discuss how you can scale and update your Deployments.For your first Deployment, you'll use a hello-node application packaged in a Docker container that uses NGINX to echo back all the requests. (If you didn't already try creating a hello-node application and deploying it using a container, you can do that first by following the instructions from the Hello Minikube tutorial.)You will need to have installed kubectl as well. If you need to install it, visit install tools.Now that you know what Deployments are, let's deploy our first app!kubectl basicsThe common format of a kubectl command is: kubectl action resource.This performs the specified action (like create, describe or delete) on the specified",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro/",
    "id": "k8s_00599_qa_11238"
  },
  {
    "question": "What is Objectives?",
    "answer": "L e a r n   a b o u t   a p p l i c a t i o n   D e p l o y m e n t s . D e p l o y   y o u r   f i r s t   a p p   o n   K u b e r n e t e s   w i t h   k u b e c t l .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro/",
    "id": "k8s_00599_section_2_11239"
  },
  {
    "question": "What is Note:?",
    "answer": "O n c e   y o u   h a v e   a   r u n n i n g   K u b e r n e t e s   c l u s t e r ,   y o u   c a n   d e p l o y   y o u r   c o n t a i n e r i z e d   a p p l i c a t i o n s   o n   t o p   o f   i t .   T o   d o   s o ,   y o u   c r e a t e   a   K u b e r n e t e s   D e p l o y m e n t .   T h e   D e p l o y m e n t   i n s t r u c t s   K u b e r n e t e s   h o w   t o   c r e a t e   a n d   u p d a t e   i n s t a n c e s   o f   y o u r   a p p l i c a t i o n .   O n c e   y o u ' v e   c r e a t e d   a   D e p l o y m e n t ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   s c h e d u l e s   t h e   a p p l i c a t i o n   i n s t a n c e s   i n c l u d e d   i n   t h a t   D e p l o y m e n t   t o   r u n   o n   i n d i v i d u a l   N o d e s   i n   t h e   c l u s t e r .   O n c e   t h e   a p p l i c a t i o n   i n s t a n c e s   a r e   c r e a t e d ,   a   K u b e r n e t e s   D e p l o y m e n t   c o n t r o l l e r   c o n t i n u o u s l y   m o n i t o r s   t h o s e   i n s t a n c e s .   I f   t h e   N o d e   h o s t i n g   a n   i n s t a n c e   g o e s   d o w n   o r   i s   d e l e t e d ,   t h e   D e p l o y m e n t   c o n t r o l l e r   r e p l a c e s   t h e   i n s t a n c e   w i t h   a n   i n s t a n c e   o n   a n o t h e r   N o d e   i n   t h e   c l u s t e r .   T h i s   p r o v i d e s   a   s e l f - h e a l i n g   m e c h a n i s m   t o   a d d r e s s   m a c h i n e   f a i l u r e   o r   m a i n t e n a n c e .   I n   a   p r e - o r c h e s t r a t i o n   w o r l d ,   i n s t a l l a t i o n   s c r i p t s   w o u l d   o f t e n   b e   u s e d   t o   s t a r t   a p p l i c a t i o n s ,   b u t   t h e y   d i d   n o t   a l l o w   r e c o v e r y   f r o m   m a c h i n e   f a i l u r e .   B y   b o t h   c r e a t i n g   y o u r   a p p l i c a t i o n   i n s t a n c e s   a n d   k e e p i n g   t h e m   r u n n i n g   a c r o s s   N o d e s ,   K u ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro/",
    "id": "k8s_00599_section_4_11240"
  },
  {
    "question": "What is Deploying your first app on Kubernetes?",
    "answer": "Y o u   c a n   c r e a t e   a n d   m a n a g e   a   D e p l o y m e n t   b y   u s i n g   t h e   K u b e r n e t e s   c o m m a n d   l i n e   i n t e r f a c e ,   k u b e c t l .   k u b e c t l   u s e s   t h e   K u b e r n e t e s   A P I   t o   i n t e r a c t   w i t h   t h e   c l u s t e r .   I n   t h i s   m o d u l e ,   y o u ' l l   l e a r n   t h e   m o s t   c o m m o n   k u b e c t l   c o m m a n d s   n e e d e d   t o   c r e a t e   D e p l o y m e n t s   t h a t   r u n   y o u r   a p p l i c a t i o n s   o n   a   K u b e r n e t e s   c l u s t e r .   W h e n   y o u   c r e a t e   a   D e p l o y m e n t ,   y o u ' l l   n e e d   t o   s p e c i f y   t h e   c o n t a i n e r   i m a g e   f o r   y o u r   a p p l i c a t i o n   a n d   t h e   n u m b e r   o f   r e p l i c a s   t h a t   y o u   w a n t   t o   r u n .   Y o u   c a n   c h a n g e   t h a t   i n f o r m a t i o n   l a t e r   b y   u p d a t i n g   y o u r   D e p l o y m e n t ;   M o d u l e   5   a n d   M o d u l e   6   o f   t h e   b o o t c a m p   d i s c u s s   h o w   y o u   c a n   s c a l e   a n d   u p d a t e   y o u r   D e p l o y m e n t s .   F o r   y o u r   f i r s t   D e p l o y m e n t ,   y o u ' l l   u s e   a   h e l l o - n o d e   a p p l i c a t i o n   p a c k a g e d   i n   a   D o c k e r   c o n t a i n e r   t h a t   u s e s   N G I N X   t o   e c h o   b a c k   a l l   t h e   r e q u e s t s .   ( I f   y o u   d i d n ' t   a l r e a d y   t r y   c r e a t i n g   a   h e l l o - n o d e   a p p l i c a t i o n   a n d   d e p l o y i n g   i t   u s i n g   a   c o n t a i n e r ,   y o u   c a n   d o   t h a t   f i r s t   b y   f o l l o w i n g   t h e   i n s t r u c t i o n s   f r o m   t h e   H e l l o   M i n i k u b e   t u t o r i a l . )   Y o u   w i l l   n e e d   t o   h a v e   i n s t a l l e d   k u b e c t l   a s   w e l l .   I f   y o u   n e e d   t o   i n s t a l l ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro/",
    "id": "k8s_00599_section_2_11241"
  },
  {
    "question": "What is kubectl basics?",
    "answer": "T h e   c o m m o n   f o r m a t   o f   a   k u b e c t l   c o m m a n d   i s :   k u b e c t l   a c t i o n   r e s o u r c e .   T h i s   p e r f o r m s   t h e   s p e c i f i e d   a c t i o n   ( l i k e   c r e a t e ,   d e s c r i b e   o r   d e l e t e )   o n   t h e   s p e c i f i e d   r e s o u r c e   ( l i k e   n o d e   o r   d e p l o y m e n t .   Y o u   c a n   u s e   - - h e l p   a f t e r   t h e   s u b c o m m a n d   t o   g e t   a d d i t i o n a l   i n f o   a b o u t   p o s s i b l e   p a r a m e t e r s   ( f o r   e x a m p l e :   k u b e c t l   g e t   n o d e s   - - h e l p ) .   C h e c k   t h a t   k u b e c t l   i s   c o n f i g u r e d   t o   t a l k   t o   y o u r   c l u s t e r ,   b y   r u n n i n g   t h e   k u b e c t l   v e r s i o n   c o m m a n d .   C h e c k   t h a t   k u b e c t l   i s   i n s t a l l e d   a n d   t h a t   y o u   c a n   s e e   b o t h   t h e   c l i e n t   a n d   t h e   s e r v e r   v e r s i o n s .   T o   v i e w   t h e   n o d e s   i n   t h e   c l u s t e r ,   r u n   t h e   k u b e c t l   g e t   n o d e s   c o m m a n d .   Y o u   s e e   t h e   a v a i l a b l e   n o d e s .   L a t e r ,   K u b e r n e t e s   w i l l   c h o o s e   w h e r e   t o   d e p l o y   o u r   a p p l i c a t i o n   b a s e d   o n   N o d e   a v a i l a b l e   r e s o u r c e s .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro/",
    "id": "k8s_00599_section_3_11242"
  },
  {
    "question": "What is Deploy an app?",
    "answer": "L e t ’ s   d e p l o y   o u r   f i r s t   a p p   o n   K u b e r n e t e s   w i t h   t h e   k u b e c t l   c r e a t e   d e p l o y m e n t   c o m m a n d .   W e   n e e d   t o   p r o v i d e   t h e   d e p l o y m e n t   n a m e   a n d   a p p   i m a g e   l o c a t i o n   ( i n c l u d e   t h e   f u l l   r e p o s i t o r y   u r l   f o r   i m a g e s   h o s t e d   o u t s i d e   D o c k e r   H u b ) .   k u b e c t l   c r e a t e   d e p l o y m e n t   k u b e r n e t e s - b o o t c a m p   - - i m a g e = g c r . i o / g o o g l e - s a m p l e s / k u b e r n e t e s - b o o t c a m p : v 1   G r e a t !   Y o u   j u s t   d e p l o y e d   y o u r   f i r s t   a p p l i c a t i o n   b y   c r e a t i n g   a   d e p l o y m e n t .   T h i s   p e r f o r m e d   a   f e w   t h i n g s   f o r   y o u :   s e a r c h e d   f o r   a   s u i t a b l e   n o d e   w h e r e   a n   i n s t a n c e   o f   t h e   a p p l i c a t i o n   c o u l d   b e   r u n   ( w e   h a v e   o n l y   1   a v a i l a b l e   n o d e ) s c h e d u l e d   t h e   a p p l i c a t i o n   t o   r u n   o n   t h a t   N o d e c o n f i g u r e d   t h e   c l u s t e r   t o   r e s c h e d u l e   t h e   i n s t a n c e   o n   a   n e w   N o d e   w h e n   n e e d e d   T o   l i s t   y o u r   d e p l o y m e n t s   u s e   t h e   k u b e c t l   g e t   d e p l o y m e n t s   c o m m a n d :   k u b e c t l   g e t   d e p l o y m e n t s   W e   s e e   t h a t   t h e r e   i s   1   d e p l o y m e n t   r u n n i n g   a   s i n g l e   i n s t a n c e   o f   y o u r   a p p .   T h e   i n s t a n c e   i s   r u n n i n g   i n s i d e   a   c o n t a i n e r   o n   y o u r   n o d e .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro/",
    "id": "k8s_00599_section_3_11243"
  },
  {
    "question": "What is View the app?",
    "answer": "P o d s   t h a t   a r e   r u n n i n g   i n s i d e   K u b e r n e t e s   a r e   r u n n i n g   o n   a   p r i v a t e ,   i s o l a t e d   n e t w o r k .   B y   d e f a u l t   t h e y   a r e   v i s i b l e   f r o m   o t h e r   p o d s   a n d   s e r v i c e s   w i t h i n   t h e   s a m e   K u b e r n e t e s   c l u s t e r ,   b u t   n o t   o u t s i d e   t h a t   n e t w o r k .   W h e n   w e   u s e   k u b e c t l ,   w e ' r e   i n t e r a c t i n g   t h r o u g h   a n   A P I   e n d p o i n t   t o   c o m m u n i c a t e   w i t h   o u r   a p p l i c a t i o n .   W e   w i l l   c o v e r   o t h e r   o p t i o n s   o n   h o w   t o   e x p o s e   y o u r   a p p l i c a t i o n   o u t s i d e   t h e   K u b e r n e t e s   c l u s t e r   l a t e r ,   i n   M o d u l e   4 .   A l s o   a s   a   b a s i c   t u t o r i a l ,   w e ' r e   n o t   e x p l a i n i n g   w h a t   P o d s   a r e   i n   a n y   d e t a i l   h e r e ,   i t   w i l l   b e   c o v e r e d   i n   l a t e r   t o p i c s .   T h e   k u b e c t l   p r o x y   c o m m a n d   c a n   c r e a t e   a   p r o x y   t h a t   w i l l   f o r w a r d   c o m m u n i c a t i o n s   i n t o   t h e   c l u s t e r - w i d e ,   p r i v a t e   n e t w o r k .   T h e   p r o x y   c a n   b e   t e r m i n a t e d   b y   p r e s s i n g   c o n t r o l - C   a n d   w o n ' t   s h o w   a n y   o u t p u t   w h i l e   i t ' s   r u n n i n g .   Y o u   n e e d   t o   o p e n   a   s e c o n d   t e r m i n a l   w i n d o w   t o   r u n   t h e   p r o x y .   k u b e c t l   p r o x y   W e   n o w   h a v e   a   c o n n e c t i o n   b e t w e e n   o u r   h o s t   ( t h e   t e r m i n a l )   a n d   t h e   K u b e r n e t e s   c l u s t e r .   T h e   p r o x y   e n a b l e s   d i r e c t   a c c e s s   t o   t h e   A P I   f r o m   t h e s e   t e r m i n a l s .   Y o u   c a n   s e e   a l l   t h o s e   A P I ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro/",
    "id": "k8s_00599_section_3_11244"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   A P I   s e r v e r   w i l l   a u t o m a t i c a l l y   c r e a t e   a n   e n d p o i n t   f o r   e a c h   p o d ,   b a s e d   o n   t h e   p o d   n a m e ,   t h a t   i s   a l s o   a c c e s s i b l e   t h r o u g h   t h e   p r o x y .   F i r s t   w e   n e e d   t o   g e t   t h e   P o d   n a m e ,   a n d   w e ' l l   s t o r e   i t   i n   t h e   e n v i r o n m e n t   v a r i a b l e   P O D _ N A M E .   e x p o r t   P O D _ N A M E = $ ( k u b e c t l   g e t   p o d s   - o   g o - t e m p l a t e   - - t e m p l a t e   ' { { r a n g e   . i t e m s } } { { . m e t a d a t a . n a m e } } { { \" \\ n \" } } { { e n d } } ' )   e c h o   N a m e   o f   t h e   P o d :   $ P O D _ N A M E   Y o u   c a n   a c c e s s   t h e   P o d   t h r o u g h   t h e   p r o x i e d   A P I ,   b y   r u n n i n g :   c u r l   h t t p : / / l o c a l h o s t : 8 0 0 1 / a p i / v 1 / n a m e s p a c e s / d e f a u l t / p o d s / $ P O D _ N A M E : 8 0 8 0 / p r o x y /   I n   o r d e r   f o r   t h e   n e w   D e p l o y m e n t   t o   b e   a c c e s s i b l e   w i t h o u t   u s i n g   t h e   p r o x y ,   a   S e r v i c e   i s   r e q u i r e d   w h i c h   w i l l   b e   e x p l a i n e d   i n   M o d u l e   4 .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro/",
    "id": "k8s_00599_section_4_11245"
  },
  {
    "question": "What is What's next?",
    "answer": "T u t o r i a l   V i e w i n g   P o d s   a n d   N o d e s . L e a r n   m o r e   a b o u t   D e p l o y m e n t s .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro/",
    "id": "k8s_00599_section_2_11246"
  },
  {
    "question": "What is kubectl uncordon?",
    "answer": "kubectl uncordonSynopsisMark node as schedulable.kubectl uncordon NODE Examples # Mark node \"foo\" as schedulable kubectl uncordon foo Options--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-h, --helphelp for uncordon-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table nam",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_uncordon/",
    "id": "k8s_00600_qa_11247"
  },
  {
    "question": "How does kubectl uncordon work?",
    "answer": "kubectl uncordonSynopsisMark node as schedulable.kubectl uncordon NODE Examples # Mark node \"foo\" as schedulable kubectl uncordon foo Options--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-h, --helphelp for uncordon-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table nam",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_uncordon/",
    "id": "k8s_00600_qa_11248"
  },
  {
    "question": "When would you use kubectl uncordon?",
    "answer": "kubectl uncordonSynopsisMark node as schedulable.kubectl uncordon NODE Examples # Mark node \"foo\" as schedulable kubectl uncordon foo Options--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-h, --helphelp for uncordon-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table nam",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_uncordon/",
    "id": "k8s_00600_qa_11249"
  },
  {
    "question": "What are the benefits of kubectl uncordon?",
    "answer": "kubectl uncordonSynopsisMark node as schedulable.kubectl uncordon NODE Examples # Mark node \"foo\" as schedulable kubectl uncordon foo Options--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-h, --helphelp for uncordon-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table nam",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_uncordon/",
    "id": "k8s_00600_qa_11250"
  },
  {
    "question": "What is Synopsis?",
    "answer": "M a r k   n o d e   a s   s c h e d u l a b l e .   k u b e c t l   u n c o r d o n   N O D E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_uncordon/",
    "id": "k8s_00600_section_2_11251"
  },
  {
    "question": "What is Examples?",
    "answer": "#   M a r k   n o d e   \" f o o \"   a s   s c h e d u l a b l e   k u b e c t l   u n c o r d o n   f o o",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_uncordon/",
    "id": "k8s_00600_section_2_11252"
  },
  {
    "question": "What is Options?",
    "answer": "M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   h e l p   f o r   u n c o r d o n   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_uncordon/",
    "id": "k8s_00600_section_2_11253"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_uncordon/",
    "id": "k8s_00600_section_2_11254"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_uncordon/",
    "id": "k8s_00600_section_2_11255"
  },
  {
    "question": "What is Kubernetes Metrics Reference?",
    "answer": "Kubernetes Metrics ReferenceDetails of the metric data that Kubernetes components export.Metrics (v1.34)This page details the metrics that different Kubernetes components export. You can query the metrics endpoint for these components using an HTTP scrape, and fetch the current metrics data in Prometheus format.List of Stable Kubernetes MetricsStable metrics observe strict API contracts and no labels can be added or removed from stable metrics during their lifetime.apiserver_admission_controller_admission_duration_secondsAdmission controller latency histogram in seconds, identified by name and broken out for each operation and API resource and type (validate or admit).Stability Level:STABLEType: HistogramLabels:nameoperationrejectedtypeapiserver_admission_step_admission_duration_secondsAdmission sub-step latency histogram in seconds, broken out for each operation and API resource and step type (validate or admit).Stability Level:STABLEType: HistogramLabels:operationrejectedtypeapiserver_admission_webhook_admission_duration_secondsAdmission webhook latency histogram in seconds, identified by name and broken out for each operation and API resource and type (validate or admit).Stability Level:STABLEType: HistogramLabels:nameoperationrejectedtypeapiserver_current_inflight_requestsMaximal number of currently used inflight request limit of this apiserver per request kind in last second.Stability Level:STABLEType: GaugeLabels:request_kindapiserver_longrunning_requestsGauge of all active long-running apiserver requests broken out by verb, group, version, resource, scope and component. Not all requests are tracked this way.Stability Level:STABLEType: GaugeLabels:componentgroupresourcescopesubresourceverbversionapiserver_request_duration_secondsResponse latency distribution in seconds for each verb, dry run value, group, version, resource, subresource, scope and component.Stability Level:STABLEType: HistogramLabels:componentdry_rungroupresourcescopesubresourceverbversionapiserver_request_totalCounter of apiserver requests broken out for each verb, dry run value, group, version, resource, scope, component, and HTTP response code.Stability Level:STABLEType: CounterLabels:codecomponentdry_rungroupresourcescopesubresourceverbversionapiserver_requested_deprecated_apisGauge of deprecated APIs that have been requested, broken out by API group, version, resource, subresource, and removed_release.Stability Level:STABLEType: GaugeLabels:groupremoved_releaseresourcesubresourceversionapiserver_response_sizesResponse size distribution in bytes for each group, version, verb, resource, subresource, scope and component.Stability Level:STABLEType: HistogramLabels:componentgroupresourcescopesubresourceverbversionapiserver_storage_objects[DEPRECATED, consider using apiserver_resource_objects instead] Number of stored objects at the time of last check split by kind. In case of a fetching error, the value will be -1.Stability Level:STABLEType: GaugeLabels:resourceDeprecated Ve",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/metrics/",
    "id": "k8s_00601_qa_11256"
  },
  {
    "question": "How does Kubernetes Metrics Reference work?",
    "answer": "Kubernetes Metrics ReferenceDetails of the metric data that Kubernetes components export.Metrics (v1.34)This page details the metrics that different Kubernetes components export. You can query the metrics endpoint for these components using an HTTP scrape, and fetch the current metrics data in Prometheus format.List of Stable Kubernetes MetricsStable metrics observe strict API contracts and no labels can be added or removed from stable metrics during their lifetime.apiserver_admission_controller_admission_duration_secondsAdmission controller latency histogram in seconds, identified by name and broken out for each operation and API resource and type (validate or admit).Stability Level:STABLEType: HistogramLabels:nameoperationrejectedtypeapiserver_admission_step_admission_duration_secondsAdmission sub-step latency histogram in seconds, broken out for each operation and API resource and step type (validate or admit).Stability Level:STABLEType: HistogramLabels:operationrejectedtypeapiserver_admission_webhook_admission_duration_secondsAdmission webhook latency histogram in seconds, identified by name and broken out for each operation and API resource and type (validate or admit).Stability Level:STABLEType: HistogramLabels:nameoperationrejectedtypeapiserver_current_inflight_requestsMaximal number of currently used inflight request limit of this apiserver per request kind in last second.Stability Level:STABLEType: GaugeLabels:request_kindapiserver_longrunning_requestsGauge of all active long-running apiserver requests broken out by verb, group, version, resource, scope and component. Not all requests are tracked this way.Stability Level:STABLEType: GaugeLabels:componentgroupresourcescopesubresourceverbversionapiserver_request_duration_secondsResponse latency distribution in seconds for each verb, dry run value, group, version, resource, subresource, scope and component.Stability Level:STABLEType: HistogramLabels:componentdry_rungroupresourcescopesubresourceverbversionapiserver_request_totalCounter of apiserver requests broken out for each verb, dry run value, group, version, resource, scope, component, and HTTP response code.Stability Level:STABLEType: CounterLabels:codecomponentdry_rungroupresourcescopesubresourceverbversionapiserver_requested_deprecated_apisGauge of deprecated APIs that have been requested, broken out by API group, version, resource, subresource, and removed_release.Stability Level:STABLEType: GaugeLabels:groupremoved_releaseresourcesubresourceversionapiserver_response_sizesResponse size distribution in bytes for each group, version, verb, resource, subresource, scope and component.Stability Level:STABLEType: HistogramLabels:componentgroupresourcescopesubresourceverbversionapiserver_storage_objects[DEPRECATED, consider using apiserver_resource_objects instead] Number of stored objects at the time of last check split by kind. In case of a fetching error, the value will be -1.Stability Level:STABLEType: GaugeLabels:resourceDeprecated Ve",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/metrics/",
    "id": "k8s_00601_qa_11257"
  },
  {
    "question": "When would you use Kubernetes Metrics Reference?",
    "answer": "Kubernetes Metrics ReferenceDetails of the metric data that Kubernetes components export.Metrics (v1.34)This page details the metrics that different Kubernetes components export. You can query the metrics endpoint for these components using an HTTP scrape, and fetch the current metrics data in Prometheus format.List of Stable Kubernetes MetricsStable metrics observe strict API contracts and no labels can be added or removed from stable metrics during their lifetime.apiserver_admission_controller_admission_duration_secondsAdmission controller latency histogram in seconds, identified by name and broken out for each operation and API resource and type (validate or admit).Stability Level:STABLEType: HistogramLabels:nameoperationrejectedtypeapiserver_admission_step_admission_duration_secondsAdmission sub-step latency histogram in seconds, broken out for each operation and API resource and step type (validate or admit).Stability Level:STABLEType: HistogramLabels:operationrejectedtypeapiserver_admission_webhook_admission_duration_secondsAdmission webhook latency histogram in seconds, identified by name and broken out for each operation and API resource and type (validate or admit).Stability Level:STABLEType: HistogramLabels:nameoperationrejectedtypeapiserver_current_inflight_requestsMaximal number of currently used inflight request limit of this apiserver per request kind in last second.Stability Level:STABLEType: GaugeLabels:request_kindapiserver_longrunning_requestsGauge of all active long-running apiserver requests broken out by verb, group, version, resource, scope and component. Not all requests are tracked this way.Stability Level:STABLEType: GaugeLabels:componentgroupresourcescopesubresourceverbversionapiserver_request_duration_secondsResponse latency distribution in seconds for each verb, dry run value, group, version, resource, subresource, scope and component.Stability Level:STABLEType: HistogramLabels:componentdry_rungroupresourcescopesubresourceverbversionapiserver_request_totalCounter of apiserver requests broken out for each verb, dry run value, group, version, resource, scope, component, and HTTP response code.Stability Level:STABLEType: CounterLabels:codecomponentdry_rungroupresourcescopesubresourceverbversionapiserver_requested_deprecated_apisGauge of deprecated APIs that have been requested, broken out by API group, version, resource, subresource, and removed_release.Stability Level:STABLEType: GaugeLabels:groupremoved_releaseresourcesubresourceversionapiserver_response_sizesResponse size distribution in bytes for each group, version, verb, resource, subresource, scope and component.Stability Level:STABLEType: HistogramLabels:componentgroupresourcescopesubresourceverbversionapiserver_storage_objects[DEPRECATED, consider using apiserver_resource_objects instead] Number of stored objects at the time of last check split by kind. In case of a fetching error, the value will be -1.Stability Level:STABLEType: GaugeLabels:resourceDeprecated Ve",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/metrics/",
    "id": "k8s_00601_qa_11258"
  },
  {
    "question": "What are the benefits of Kubernetes Metrics Reference?",
    "answer": "Kubernetes Metrics ReferenceDetails of the metric data that Kubernetes components export.Metrics (v1.34)This page details the metrics that different Kubernetes components export. You can query the metrics endpoint for these components using an HTTP scrape, and fetch the current metrics data in Prometheus format.List of Stable Kubernetes MetricsStable metrics observe strict API contracts and no labels can be added or removed from stable metrics during their lifetime.apiserver_admission_controller_admission_duration_secondsAdmission controller latency histogram in seconds, identified by name and broken out for each operation and API resource and type (validate or admit).Stability Level:STABLEType: HistogramLabels:nameoperationrejectedtypeapiserver_admission_step_admission_duration_secondsAdmission sub-step latency histogram in seconds, broken out for each operation and API resource and step type (validate or admit).Stability Level:STABLEType: HistogramLabels:operationrejectedtypeapiserver_admission_webhook_admission_duration_secondsAdmission webhook latency histogram in seconds, identified by name and broken out for each operation and API resource and type (validate or admit).Stability Level:STABLEType: HistogramLabels:nameoperationrejectedtypeapiserver_current_inflight_requestsMaximal number of currently used inflight request limit of this apiserver per request kind in last second.Stability Level:STABLEType: GaugeLabels:request_kindapiserver_longrunning_requestsGauge of all active long-running apiserver requests broken out by verb, group, version, resource, scope and component. Not all requests are tracked this way.Stability Level:STABLEType: GaugeLabels:componentgroupresourcescopesubresourceverbversionapiserver_request_duration_secondsResponse latency distribution in seconds for each verb, dry run value, group, version, resource, subresource, scope and component.Stability Level:STABLEType: HistogramLabels:componentdry_rungroupresourcescopesubresourceverbversionapiserver_request_totalCounter of apiserver requests broken out for each verb, dry run value, group, version, resource, scope, component, and HTTP response code.Stability Level:STABLEType: CounterLabels:codecomponentdry_rungroupresourcescopesubresourceverbversionapiserver_requested_deprecated_apisGauge of deprecated APIs that have been requested, broken out by API group, version, resource, subresource, and removed_release.Stability Level:STABLEType: GaugeLabels:groupremoved_releaseresourcesubresourceversionapiserver_response_sizesResponse size distribution in bytes for each group, version, verb, resource, subresource, scope and component.Stability Level:STABLEType: HistogramLabels:componentgroupresourcescopesubresourceverbversionapiserver_storage_objects[DEPRECATED, consider using apiserver_resource_objects instead] Number of stored objects at the time of last check split by kind. In case of a fetching error, the value will be -1.Stability Level:STABLEType: GaugeLabels:resourceDeprecated Ve",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/metrics/",
    "id": "k8s_00601_qa_11259"
  },
  {
    "question": "What is Metrics (v1.34)?",
    "answer": "T h i s   p a g e   d e t a i l s   t h e   m e t r i c s   t h a t   d i f f e r e n t   K u b e r n e t e s   c o m p o n e n t s   e x p o r t .   Y o u   c a n   q u e r y   t h e   m e t r i c s   e n d p o i n t   f o r   t h e s e   c o m p o n e n t s   u s i n g   a n   H T T P   s c r a p e ,   a n d   f e t c h   t h e   c u r r e n t   m e t r i c s   d a t a   i n   P r o m e t h e u s   f o r m a t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/metrics/",
    "id": "k8s_00601_section_2_11260"
  },
  {
    "question": "What is List of Stable Kubernetes Metrics?",
    "answer": "S t a b l e   m e t r i c s   o b s e r v e   s t r i c t   A P I   c o n t r a c t s   a n d   n o   l a b e l s   c a n   b e   a d d e d   o r   r e m o v e d   f r o m   s t a b l e   m e t r i c s   d u r i n g   t h e i r   l i f e t i m e .   S t a b i l i t y   L e v e l : S T A B L E T y p e :   H i s t o g r a m L a b e l s : n a m e o p e r a t i o n r e j e c t e d t y p e   S t a b i l i t y   L e v e l : S T A B L E T y p e :   H i s t o g r a m L a b e l s : o p e r a t i o n r e j e c t e d t y p e   S t a b i l i t y   L e v e l : S T A B L E T y p e :   H i s t o g r a m L a b e l s : n a m e o p e r a t i o n r e j e c t e d t y p e   S t a b i l i t y   L e v e l : S T A B L E T y p e :   G a u g e L a b e l s : r e q u e s t _ k i n d   S t a b i l i t y   L e v e l : S T A B L E T y p e :   G a u g e L a b e l s : c o m p o n e n t g r o u p r e s o u r c e s c o p e s u b r e s o u r c e v e r b v e r s i o n   S t a b i l i t y   L e v e l : S T A B L E T y p e :   H i s t o g r a m L a b e l s : c o m p o n e n t d r y _ r u n g r o u p r e s o u r c e s c o p e s u b r e s o u r c e v e r b v e r s i o n   S t a b i l i t y   L e v e l : S T A B L E T y p e :   C o u n t e r L a b e l s : c o d e c o m p o n e n t d r y _ r u n g r o u p r e s o u r c e s c o p e s u b r e s o u r c e v e r b v e r s i o n   S t a b i l i t y   L e v e l : S T A B L E T y p e :   G a u g e L a b e l s : g r o u p r e m o v e d _ r e l e a s e r e s o u r c e s u b r e s o u r c e v e r s i o n   S t a b i l i t y   L e v e l : S T A B L E T y p e :   H i s t o g r a m L a b e l s : c o m p o n e n t g r o u p r e s o u r c e s c o p e s u b r e s o u r c e v e r b v e r s i o n   S t a b i l i t y   L e v e l : S T A B L E T y p e :   G a u g e L a b e l s : r e s o u r c e D e p r e c a t e d   V e r s i o n s : 1 . 3 4 . 0   S t a b i l i t y   L e v e l : S T A B L E T y p e :   C u s t o m L a b e l s : s t o r a g e _ c l u s t e r _ i d   S t a b i l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/metrics/",
    "id": "k8s_00601_section_3_11261"
  },
  {
    "question": "What is List of Beta Kubernetes Metrics?",
    "answer": "B e t a   m e t r i c s   o b s e r v e   a   l o o s e r   A P I   c o n t r a c t   t h a n   i t s   s t a b l e   c o u n t e r p a r t s .   N o   l a b e l s   c a n   b e   r e m o v e d   f r o m   b e t a   m e t r i c s   d u r i n g   t h e i r   l i f e t i m e ,   h o w e v e r ,   l a b e l s   c a n   b e   a d d e d   w h i l e   t h e   m e t r i c   i s   i n   t h e   b e t a   s t a g e .   T h i s   o f f e r s   t h e   a s s u r a n c e   t h a t   b e t a   m e t r i c s   w i l l   h o n o r   e x i s t i n g   d a s h b o a r d s   a n d   a l e r t s ,   w h i l e   a l l o w i n g   f o r   a m e n d m e n t s   i n   t h e   f u t u r e .   S t a b i l i t y   L e v e l : B E T A T y p e :   G a u g e L a b e l s : a p i s e r v e r _ i d _ h a s h s t a t u s   S t a b i l i t y   L e v e l : B E T A T y p e :   C o u n t e r L a b e l s : a p i s e r v e r _ i d _ h a s h s t a t u s   S t a b i l i t y   L e v e l : B E T A T y p e :   G a u g e L a b e l s : a p i s e r v e r _ i d _ h a s h s t a t u s   S t a b i l i t y   L e v e l : B E T A T y p e :   C o u n t e r L a b e l s : a p i s e r v e r _ i d _ h a s h s t a t u s   S t a b i l i t y   L e v e l : B E T A T y p e :   H i s t o g r a m   S t a b i l i t y   L e v e l : B E T A T y p e :   H i s t o g r a m   S t a b i l i t y   L e v e l : B E T A T y p e :   G a u g e L a b e l s : f l o w _ s c h e m a p r i o r i t y _ l e v e l   S t a b i l i t y   L e v e l : B E T A T y p e :   G a u g e L a b e l s : f l o w _ s c h e m a p r i o r i t y _ l e v e l   S t a b i l i t y   L e v e l : B E T A T y p e :   G a u g e L a b e l s : f l o w _ s c h e m a p r i o r i t y _ l e v e l   S t a b i l i t y   L e v e l : B E T A T y p e :   C o u n t e r L a b e l s : f l o w _ s c h e m a p r i o r i t y _ l e v e l   S t a b i l i t y   L e v e l : B E T A T y p e :   G a u g e L a b e l s : p r i o r i t y _ l e v e l   S t a b i l i t y   L e v e l : B E T A T y p e :   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/metrics/",
    "id": "k8s_00601_section_3_11262"
  },
  {
    "question": "What is List of Alpha Kubernetes Metrics?",
    "answer": "A l p h a   m e t r i c s   d o   n o t   h a v e   a n y   A P I   g u a r a n t e e s .   T h e s e   m e t r i c s   m u s t   b e   u s e d   a t   y o u r   o w n   r i s k ,   s u b s e q u e n t   v e r s i o n s   o f   K u b e r n e t e s   m a y   r e m o v e   t h e s e   m e t r i c s   a l t o g e t h e r ,   o r   m u t a t e   t h e   A P I   i n   s u c h   a   w a y   t h a t   b r e a k s   e x i s t i n g   d a s h b o a r d s   a n d   a l e r t s .   S t a b i l i t y   L e v e l : A L P H A T y p e :   C o u n t e r   S t a b i l i t y   L e v e l : A L P H A T y p e :   C o u n t e r L a b e l s : a p i s e r v i c e r e a s o n   S t a b i l i t y   L e v e l : A L P H A T y p e :   G a u g e L a b e l s : r e a s o n   S t a b i l i t y   L e v e l : A L P H A T y p e :   C u s t o m L a b e l s : n a m e   S t a b i l i t y   L e v e l : A L P H A T y p e :   C o u n t e r L a b e l s : n a m e r e a s o n   S t a b i l i t y   L e v e l : A L P H A T y p e :   H i s t o g r a m   S t a b i l i t y   L e v e l : A L P H A T y p e :   C o u n t e r L a b e l s : c r d r e a s o n   S t a b i l i t y   L e v e l : A L P H A T y p e :   C o u n t e r L a b e l s : c r d g r o u p r e a s o n v e r s i o n   S t a b i l i t y   L e v e l : A L P H A T y p e :   C o u n t e r L a b e l s : k i n d n a m e o p e r a t i o n t y p e   S t a b i l i t y   L e v e l : A L P H A T y p e :   H i s t o g r a m L a b e l s : k i n d n a m e o p e r a t i o n t y p e   S t a b i l i t y   L e v e l : A L P H A T y p e :   C o u n t e r L a b e l s : k i n d n a m e o p e r a t i o n t y p e   S t a b i l i t y   L e v e l : A L P H A T y p e :   S u m m a r y L a b e l s : o p e r a t i o n r e j e c t e d t y p e   S t a b i l i t y   L e v e l : A L P H A T y p e :   C o u n t e r L a b e l s : n a m e t y p e   S t a b i l i t y   L e v e l : A L P H A T y p e :   C o u n t e r L a b e l s : e r r o r _ t y p e n a m e o p e r a t i o n r e j e c t i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/metrics/",
    "id": "k8s_00601_section_3_11263"
  },
  {
    "question": "What is Update API Objects in Place Using kubectl patch?",
    "answer": "Update API Objects in Place Using kubectl patchUse kubectl patch to update Kubernetes API objects in place. Do a strategic merge patch or a JSON merge patch.This task shows how to use kubectl patch to update an API object in place. The exercises in this task demonstrate a strategic merge patch and a JSON merge patch.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Use a strategic merge patch to update a DeploymentHere's the configuration file for a Deployment that has two replicas. Each replica is a Pod that has one container:application/deployment-patch.yaml apiVersion: apps/v1 kind: Deployment metadata: name: patch-demo spec: replicas: 2 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: patch-demo-ctr image: nginx tolerations: - effect: NoSchedule key: dedicated value: test-team Create the Deployment:kubectl apply -f https://k8s.io/examples/application/deployment-patch.yaml View the Pods associated with your Deployment:kubectl get pods The output shows that the Deployment has two Pods. The 1/1 indicates that each Pod has one container:NAME READY STATUS RESTARTS AGE patch-demo-28633765-670qr 1/1 Running 0 23s patch-demo-28633765-j5qs3 1/1 Running 0 23s Make a note of the names of the running Pods. Later, you will see that these Pods get terminated and replaced by new ones.At this point, each Pod has one Container that runs the nginx image. Now suppose you want each Pod to have two containers: one that runs nginx and one that runs redis.Create a file named patch-file.yaml that has this content:spec: template: spec: containers: - name: patch-demo-ctr-2 image: redis Patch your Deployment:kubectl patch deployment patch-demo --patch-file patch-file.yaml View the patched Deployment:kubectl get deployment patch-demo --output yaml The output shows that the PodSpec in the Deployment has two Containers:containers: - image: redis imagePullPolicy: Always name: patch-demo-ctr-2 ... - image: nginx imagePullPolicy: Always name: patch-demo-ctr ... View the Pods associated with your patched Deployment:kubectl get pods The output shows that the running Pods have different names from the Pods that were running previously. The Deployment terminated the old Pods and created two new Pods that comply with the updated Deployment spec. The 2/2 indicates that each Pod has two Containers:NAME READY STATUS RESTARTS AGE patch-demo-1081991389-2wrn5 2/2 Running 0 1m patch-demo-1081991389-jmg7b 2/2 Running 0 1m Take a closer look at one of the patch-demo Pods:kubectl get pod <your-pod-name> --output yam",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch/",
    "id": "k8s_00602_qa_11264"
  },
  {
    "question": "How does Update API Objects in Place Using kubectl patch work?",
    "answer": "Update API Objects in Place Using kubectl patchUse kubectl patch to update Kubernetes API objects in place. Do a strategic merge patch or a JSON merge patch.This task shows how to use kubectl patch to update an API object in place. The exercises in this task demonstrate a strategic merge patch and a JSON merge patch.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Use a strategic merge patch to update a DeploymentHere's the configuration file for a Deployment that has two replicas. Each replica is a Pod that has one container:application/deployment-patch.yaml apiVersion: apps/v1 kind: Deployment metadata: name: patch-demo spec: replicas: 2 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: patch-demo-ctr image: nginx tolerations: - effect: NoSchedule key: dedicated value: test-team Create the Deployment:kubectl apply -f https://k8s.io/examples/application/deployment-patch.yaml View the Pods associated with your Deployment:kubectl get pods The output shows that the Deployment has two Pods. The 1/1 indicates that each Pod has one container:NAME READY STATUS RESTARTS AGE patch-demo-28633765-670qr 1/1 Running 0 23s patch-demo-28633765-j5qs3 1/1 Running 0 23s Make a note of the names of the running Pods. Later, you will see that these Pods get terminated and replaced by new ones.At this point, each Pod has one Container that runs the nginx image. Now suppose you want each Pod to have two containers: one that runs nginx and one that runs redis.Create a file named patch-file.yaml that has this content:spec: template: spec: containers: - name: patch-demo-ctr-2 image: redis Patch your Deployment:kubectl patch deployment patch-demo --patch-file patch-file.yaml View the patched Deployment:kubectl get deployment patch-demo --output yaml The output shows that the PodSpec in the Deployment has two Containers:containers: - image: redis imagePullPolicy: Always name: patch-demo-ctr-2 ... - image: nginx imagePullPolicy: Always name: patch-demo-ctr ... View the Pods associated with your patched Deployment:kubectl get pods The output shows that the running Pods have different names from the Pods that were running previously. The Deployment terminated the old Pods and created two new Pods that comply with the updated Deployment spec. The 2/2 indicates that each Pod has two Containers:NAME READY STATUS RESTARTS AGE patch-demo-1081991389-2wrn5 2/2 Running 0 1m patch-demo-1081991389-jmg7b 2/2 Running 0 1m Take a closer look at one of the patch-demo Pods:kubectl get pod <your-pod-name> --output yam",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch/",
    "id": "k8s_00602_qa_11265"
  },
  {
    "question": "When would you use Update API Objects in Place Using kubectl patch?",
    "answer": "Update API Objects in Place Using kubectl patchUse kubectl patch to update Kubernetes API objects in place. Do a strategic merge patch or a JSON merge patch.This task shows how to use kubectl patch to update an API object in place. The exercises in this task demonstrate a strategic merge patch and a JSON merge patch.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Use a strategic merge patch to update a DeploymentHere's the configuration file for a Deployment that has two replicas. Each replica is a Pod that has one container:application/deployment-patch.yaml apiVersion: apps/v1 kind: Deployment metadata: name: patch-demo spec: replicas: 2 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: patch-demo-ctr image: nginx tolerations: - effect: NoSchedule key: dedicated value: test-team Create the Deployment:kubectl apply -f https://k8s.io/examples/application/deployment-patch.yaml View the Pods associated with your Deployment:kubectl get pods The output shows that the Deployment has two Pods. The 1/1 indicates that each Pod has one container:NAME READY STATUS RESTARTS AGE patch-demo-28633765-670qr 1/1 Running 0 23s patch-demo-28633765-j5qs3 1/1 Running 0 23s Make a note of the names of the running Pods. Later, you will see that these Pods get terminated and replaced by new ones.At this point, each Pod has one Container that runs the nginx image. Now suppose you want each Pod to have two containers: one that runs nginx and one that runs redis.Create a file named patch-file.yaml that has this content:spec: template: spec: containers: - name: patch-demo-ctr-2 image: redis Patch your Deployment:kubectl patch deployment patch-demo --patch-file patch-file.yaml View the patched Deployment:kubectl get deployment patch-demo --output yaml The output shows that the PodSpec in the Deployment has two Containers:containers: - image: redis imagePullPolicy: Always name: patch-demo-ctr-2 ... - image: nginx imagePullPolicy: Always name: patch-demo-ctr ... View the Pods associated with your patched Deployment:kubectl get pods The output shows that the running Pods have different names from the Pods that were running previously. The Deployment terminated the old Pods and created two new Pods that comply with the updated Deployment spec. The 2/2 indicates that each Pod has two Containers:NAME READY STATUS RESTARTS AGE patch-demo-1081991389-2wrn5 2/2 Running 0 1m patch-demo-1081991389-jmg7b 2/2 Running 0 1m Take a closer look at one of the patch-demo Pods:kubectl get pod <your-pod-name> --output yam",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch/",
    "id": "k8s_00602_qa_11266"
  },
  {
    "question": "What are the benefits of Update API Objects in Place Using kubectl patch?",
    "answer": "Update API Objects in Place Using kubectl patchUse kubectl patch to update Kubernetes API objects in place. Do a strategic merge patch or a JSON merge patch.This task shows how to use kubectl patch to update an API object in place. The exercises in this task demonstrate a strategic merge patch and a JSON merge patch.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Use a strategic merge patch to update a DeploymentHere's the configuration file for a Deployment that has two replicas. Each replica is a Pod that has one container:application/deployment-patch.yaml apiVersion: apps/v1 kind: Deployment metadata: name: patch-demo spec: replicas: 2 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: patch-demo-ctr image: nginx tolerations: - effect: NoSchedule key: dedicated value: test-team Create the Deployment:kubectl apply -f https://k8s.io/examples/application/deployment-patch.yaml View the Pods associated with your Deployment:kubectl get pods The output shows that the Deployment has two Pods. The 1/1 indicates that each Pod has one container:NAME READY STATUS RESTARTS AGE patch-demo-28633765-670qr 1/1 Running 0 23s patch-demo-28633765-j5qs3 1/1 Running 0 23s Make a note of the names of the running Pods. Later, you will see that these Pods get terminated and replaced by new ones.At this point, each Pod has one Container that runs the nginx image. Now suppose you want each Pod to have two containers: one that runs nginx and one that runs redis.Create a file named patch-file.yaml that has this content:spec: template: spec: containers: - name: patch-demo-ctr-2 image: redis Patch your Deployment:kubectl patch deployment patch-demo --patch-file patch-file.yaml View the patched Deployment:kubectl get deployment patch-demo --output yaml The output shows that the PodSpec in the Deployment has two Containers:containers: - image: redis imagePullPolicy: Always name: patch-demo-ctr-2 ... - image: nginx imagePullPolicy: Always name: patch-demo-ctr ... View the Pods associated with your patched Deployment:kubectl get pods The output shows that the running Pods have different names from the Pods that were running previously. The Deployment terminated the old Pods and created two new Pods that comply with the updated Deployment spec. The 2/2 indicates that each Pod has two Containers:NAME READY STATUS RESTARTS AGE patch-demo-1081991389-2wrn5 2/2 Running 0 1m patch-demo-1081991389-jmg7b 2/2 Running 0 1m Take a closer look at one of the patch-demo Pods:kubectl get pod <your-pod-name> --output yam",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch/",
    "id": "k8s_00602_qa_11267"
  },
  {
    "question": "What is Update API Objects in Place Using kubectl patch?",
    "answer": "T h i s   t a s k   s h o w s   h o w   t o   u s e   k u b e c t l   p a t c h   t o   u p d a t e   a n   A P I   o b j e c t   i n   p l a c e .   T h e   e x e r c i s e s   i n   t h i s   t a s k   d e m o n s t r a t e   a   s t r a t e g i c   m e r g e   p a t c h   a n d   a   J S O N   m e r g e   p a t c h .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch/",
    "id": "k8s_00602_section_1_11268"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch/",
    "id": "k8s_00602_section_2_11269"
  },
  {
    "question": "What is Use a strategic merge patch to update a Deployment?",
    "answer": "H e r e ' s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   D e p l o y m e n t   t h a t   h a s   t w o   r e p l i c a s .   E a c h   r e p l i c a   i s   a   P o d   t h a t   h a s   o n e   c o n t a i n e r :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   p a t c h - d e m o   s p e c :   r e p l i c a s :   2   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   p a t c h - d e m o - c t r   i m a g e :   n g i n x   t o l e r a t i o n s :   -   e f f e c t :   N o S c h e d u l e   k e y :   d e d i c a t e d   v a l u e :   t e s t - t e a m   C r e a t e   t h e   D e p l o y m e n t :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / d e p l o y m e n t - p a t c h . y a m l   V i e w   t h e   P o d s   a s s o c i a t e d   w i t h   y o u r   D e p l o y m e n t :   k u b e c t l   g e t   p o d s   T h e   o u t p u t   s h o w s   t h a t   t h e   D e p l o y m e n t   h a s   t w o   P o d s .   T h e   1 / 1   i n d i c a t e s   t h a t   e a c h   P o d   h a s   o n e   c o n t a i n e r :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   p a t c h - d e m o - 2 8 6 3 3 7 6 5 - 6 7 0 q r   1 / 1   R u n n i n g   0   2 3 s   p a t c h - d e m o - 2 8 6 3 3 7 6 5 - j 5 q s 3   1 / 1   R u n n i n g   0   2 3 s   M a k e   a   n o t e   o f   t h e   n a m e s   o f   t h e   r u n n i n g   P o d s .   L a t e r ,   y o u   w i l l   s e e   t h a t   t h e s e   P o d s   g e t   t e r m i n a t e d   a n d   r e p l a c e d   b y   n e w   o n e s .   A t   t h i s   p o i n t ,   e a c h   P o d   h a s   o n e   C o n t a i n e r   t h a t   r u n s   t h e   n g i n x   i m a g e .   N o w   s u p p o s e   y o u   w a n t   e a c h   P o d   t o   h ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch/",
    "id": "k8s_00602_section_2_11270"
  },
  {
    "question": "What is Notes on the strategic merge patch?",
    "answer": "T h e   p a t c h   y o u   d i d   i n   t h e   p r e c e d i n g   e x e r c i s e   i s   c a l l e d   a   s t r a t e g i c   m e r g e   p a t c h .   N o t i c e   t h a t   t h e   p a t c h   d i d   n o t   r e p l a c e   t h e   c o n t a i n e r s   l i s t .   I n s t e a d   i t   a d d e d   a   n e w   C o n t a i n e r   t o   t h e   l i s t .   I n   o t h e r   w o r d s ,   t h e   l i s t   i n   t h e   p a t c h   w a s   m e r g e d   w i t h   t h e   e x i s t i n g   l i s t .   T h i s   i s   n o t   a l w a y s   w h a t   h a p p e n s   w h e n   y o u   u s e   a   s t r a t e g i c   m e r g e   p a t c h   o n   a   l i s t .   I n   s o m e   c a s e s ,   t h e   l i s t   i s   r e p l a c e d ,   n o t   m e r g e d .   W i t h   a   s t r a t e g i c   m e r g e   p a t c h ,   a   l i s t   i s   e i t h e r   r e p l a c e d   o r   m e r g e d   d e p e n d i n g   o n   i t s   p a t c h   s t r a t e g y .   T h e   p a t c h   s t r a t e g y   i s   s p e c i f i e d   b y   t h e   v a l u e   o f   t h e   p a t c h S t r a t e g y   k e y   i n   a   f i e l d   t a g   i n   t h e   K u b e r n e t e s   s o u r c e   c o d e .   F o r   e x a m p l e ,   t h e   C o n t a i n e r s   f i e l d   o f   P o d S p e c   s t r u c t   h a s   a   p a t c h S t r a t e g y   o f   m e r g e :   t y p e   P o d S p e c   s t r u c t   {   . . .   C o n t a i n e r s   [ ] C o n t a i n e r   ` j s o n : \" c o n t a i n e r s \"   p a t c h S t r a t e g y : \" m e r g e \"   p a t c h M e r g e K e y : \" n a m e \"   . . . `   . . .   }   Y o u   c a n   a l s o   s e e   t h e   p a t c h   s t r a t e g y   i n   t h e   O p e n A p i   s p e c :   \" i o . k 8 s . a p i . c o r e . v 1 . P o d S p e c \" :   {   . . . ,   \" c o n t a i n e r s \" :   {   \" d e s c r i p t i o n \" :   \" L i s t   o f   c o n t a i n e r s   b e l o n g i n g   t o   t h e   p o d .   . . . . \"   } ,   \" x - k u b e r n e t e s - p a t c h ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch/",
    "id": "k8s_00602_section_3_11271"
  },
  {
    "question": "What is Use a JSON merge patch to update a Deployment?",
    "answer": "A   s t r a t e g i c   m e r g e   p a t c h   i s   d i f f e r e n t   f r o m   a   J S O N   m e r g e   p a t c h .   W i t h   a   J S O N   m e r g e   p a t c h ,   i f   y o u   w a n t   t o   u p d a t e   a   l i s t ,   y o u   h a v e   t o   s p e c i f y   t h e   e n t i r e   n e w   l i s t .   A n d   t h e   n e w   l i s t   c o m p l e t e l y   r e p l a c e s   t h e   e x i s t i n g   l i s t .   T h e   k u b e c t l   p a t c h   c o m m a n d   h a s   a   t y p e   p a r a m e t e r   t h a t   y o u   c a n   s e t   t o   o n e   o f   t h e s e   v a l u e s :   F o r   a   c o m p a r i s o n   o f   J S O N   p a t c h   a n d   J S O N   m e r g e   p a t c h ,   s e e   J S O N   P a t c h   a n d   J S O N   M e r g e   P a t c h .   T h e   d e f a u l t   v a l u e   f o r   t h e   t y p e   p a r a m e t e r   i s   s t r a t e g i c .   S o   i n   t h e   p r e c e d i n g   e x e r c i s e ,   y o u   d i d   a   s t r a t e g i c   m e r g e   p a t c h .   N e x t ,   d o   a   J S O N   m e r g e   p a t c h   o n   y o u r   s a m e   D e p l o y m e n t .   C r e a t e   a   f i l e   n a m e d   p a t c h - f i l e - 2 . y a m l   t h a t   h a s   t h i s   c o n t e n t :   s p e c :   t e m p l a t e :   s p e c :   c o n t a i n e r s :   -   n a m e :   p a t c h - d e m o - c t r - 3   i m a g e :   g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 2 . 0   I n   y o u r   p a t c h   c o m m a n d ,   s e t   t y p e   t o   m e r g e :   k u b e c t l   p a t c h   d e p l o y m e n t   p a t c h - d e m o   - - t y p e   m e r g e   - - p a t c h - f i l e   p a t c h - f i l e - 2 . y a m l   V i e w   t h e   p a t c h e d   D e p l o y m e n t :   k u b e c t l   g e t   d e p l o y m e n t   p a t c h - d e m o   - - o u t p u t   y a m l   T h e   c o n t a i n e r s   l i s t   t h a t   y o u   s p e c i f i e d   i n   t h e   p a t c h   h a s   o n l y   o n e   C o n t a i n e r . ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch/",
    "id": "k8s_00602_section_2_11272"
  },
  {
    "question": "What is Use strategic merge patch to update a Deployment using the retainKeys strategy?",
    "answer": "H e r e ' s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   D e p l o y m e n t   t h a t   u s e s   t h e   R o l l i n g U p d a t e   s t r a t e g y :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   r e t a i n k e y s - d e m o   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   s t r a t e g y :   r o l l i n g U p d a t e :   m a x S u r g e :   3 0 %   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   r e t a i n k e y s - d e m o - c t r   i m a g e :   n g i n x   C r e a t e   t h e   d e p l o y m e n t :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / d e p l o y m e n t - r e t a i n k e y s . y a m l   A t   t h i s   p o i n t ,   t h e   d e p l o y m e n t   i s   c r e a t e d   a n d   i s   u s i n g   t h e   R o l l i n g U p d a t e   s t r a t e g y .   C r e a t e   a   f i l e   n a m e d   p a t c h - f i l e - n o - r e t a i n k e y s . y a m l   t h a t   h a s   t h i s   c o n t e n t :   s p e c :   s t r a t e g y :   t y p e :   R e c r e a t e   P a t c h   y o u r   D e p l o y m e n t :   k u b e c t l   p a t c h   d e p l o y m e n t   r e t a i n k e y s - d e m o   - - t y p e   s t r a t e g i c   - - p a t c h - f i l e   p a t c h - f i l e - n o - r e t a i n k e y s . y a m l   I n   t h e   o u t p u t ,   y o u   c a n   s e e   t h a t   i t   i s   n o t   p o s s i b l e   t o   s e t   t y p e   a s   R e c r e a t e   w h e n   a   v a l u e   i s   d e f i n e d   f o r   s p e c . s t r a t e g y . r o l l i n g U p d a t e :   T h e   D e p l o y m e n t   \" r e t a i n k e y s - d e m o \"   i s   i n v a l i d :   s p e c . s t r a t e g y . r o l l i n g U p d a t e :   F o r b i d d e n :   m a y   n o t   b e   s p e c i f i e d   w h e n   s t r a t e g y   ` t y p ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch/",
    "id": "k8s_00602_section_2_11273"
  },
  {
    "question": "What is Notes on the strategic merge patch using the retainKeys strategy?",
    "answer": "T h e   p a t c h   y o u   d i d   i n   t h e   p r e c e d i n g   e x e r c i s e   i s   c a l l e d   a   s t r a t e g i c   m e r g e   p a t c h   w i t h   r e t a i n K e y s   s t r a t e g y .   T h i s   m e t h o d   i n t r o d u c e s   a   n e w   d i r e c t i v e   $ r e t a i n K e y s   t h a t   h a s   t h e   f o l l o w i n g   s t r a t e g i e s :   I t   c o n t a i n s   a   l i s t   o f   s t r i n g s . A l l   f i e l d s   n e e d i n g   t o   b e   p r e s e r v e d   m u s t   b e   p r e s e n t   i n   t h e   $ r e t a i n K e y s   l i s t . T h e   f i e l d s   t h a t   a r e   p r e s e n t   w i l l   b e   m e r g e d   w i t h   l i v e   o b j e c t . A l l   o f   t h e   m i s s i n g   f i e l d s   w i l l   b e   c l e a r e d   w h e n   p a t c h i n g . A l l   f i e l d s   i n   t h e   $ r e t a i n K e y s   l i s t   m u s t   b e   a   s u p e r s e t   o r   t h e   s a m e   a s   t h e   f i e l d s   p r e s e n t   i n   t h e   p a t c h .   T h e   r e t a i n K e y s   s t r a t e g y   d o e s   n o t   w o r k   f o r   a l l   o b j e c t s .   I t   o n l y   w o r k s   w h e n   t h e   v a l u e   o f   t h e   p a t c h S t r a t e g y   k e y   i n   a   f i e l d   t a g   i n   t h e   K u b e r n e t e s   s o u r c e   c o d e   c o n t a i n s   r e t a i n K e y s .   F o r   e x a m p l e ,   t h e   S t r a t e g y   f i e l d   o f   t h e   D e p l o y m e n t S p e c   s t r u c t   h a s   a   p a t c h S t r a t e g y   o f   r e t a i n K e y s :   t y p e   D e p l o y m e n t S p e c   s t r u c t   {   . . .   / /   + p a t c h S t r a t e g y = r e t a i n K e y s   S t r a t e g y   D e p l o y m e n t S t r a t e g y   ` j s o n : \" s t r a t e g y , o m i t e m p t y \"   p a t c h S t r a t e g y : \" r e t a i n K e y s \"   . . . `   . . .   }   Y o u   c a n   a l s o   s e e   t h e   r e t a i n K e y s   s t r a t e g y   i n   t h e   O p e n A p i   s p e c : ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch/",
    "id": "k8s_00602_section_3_11274"
  },
  {
    "question": "What is Alternate forms of the kubectl patch command?",
    "answer": "T h e   k u b e c t l   p a t c h   c o m m a n d   t a k e s   Y A M L   o r   J S O N .   I t   c a n   t a k e   t h e   p a t c h   a s   a   f i l e   o r   d i r e c t l y   o n   t h e   c o m m a n d   l i n e .   C r e a t e   a   f i l e   n a m e d   p a t c h - f i l e . j s o n   t h a t   h a s   t h i s   c o n t e n t :   {   \" s p e c \" :   {   \" t e m p l a t e \" :   {   \" s p e c \" :   {   \" c o n t a i n e r s \" :   [   {   \" n a m e \" :   \" p a t c h - d e m o - c t r - 2 \" ,   \" i m a g e \" :   \" r e d i s \"   }   ]   }   }   }   }   T h e   f o l l o w i n g   c o m m a n d s   a r e   e q u i v a l e n t :   k u b e c t l   p a t c h   d e p l o y m e n t   p a t c h - d e m o   - - p a t c h - f i l e   p a t c h - f i l e . y a m l   k u b e c t l   p a t c h   d e p l o y m e n t   p a t c h - d e m o   - - p a t c h   ' s p e c : \\ n   t e m p l a t e : \\ n   s p e c : \\ n   c o n t a i n e r s : \\ n   -   n a m e :   p a t c h - d e m o - c t r - 2 \\ n   i m a g e :   r e d i s '   k u b e c t l   p a t c h   d e p l o y m e n t   p a t c h - d e m o   - - p a t c h - f i l e   p a t c h - f i l e . j s o n   k u b e c t l   p a t c h   d e p l o y m e n t   p a t c h - d e m o   - - p a t c h   ' { \" s p e c \" :   { \" t e m p l a t e \" :   { \" s p e c \" :   { \" c o n t a i n e r s \" :   [ { \" n a m e \" :   \" p a t c h - d e m o - c t r - 2 \" , \" i m a g e \" :   \" r e d i s \" } ] } } } } '",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch/",
    "id": "k8s_00602_section_3_11275"
  },
  {
    "question": "What is Update an object's replica count using kubectl patch with --subresource?",
    "answer": "T h e   f l a g   - - s u b r e s o u r c e = [ s u b r e s o u r c e - n a m e ]   i s   u s e d   w i t h   k u b e c t l   c o m m a n d s   l i k e   g e t ,   p a t c h ,   e d i t ,   a p p l y   a n d   r e p l a c e   t o   f e t c h   a n d   u p d a t e   s t a t u s ,   s c a l e   a n d   r e s i z e   s u b r e s o u r c e   o f   t h e   r e s o u r c e s   y o u   s p e c i f y .   Y o u   c a n   s p e c i f y   a   s u b r e s o u r c e   f o r   a n y   o f   t h e   K u b e r n e t e s   A P I   r e s o u r c e s   ( b u i l t - i n   a n d   C R s )   t h a t   h a v e   s t a t u s ,   s c a l e   o r   r e s i z e   s u b r e s o u r c e .   F o r   e x a m p l e ,   a   D e p l o y m e n t   h a s   a   s t a t u s   s u b r e s o u r c e   a n d   a   s c a l e   s u b r e s o u r c e ,   s o   y o u   c a n   u s e   k u b e c t l   t o   g e t   o r   m o d i f y   j u s t   t h e   s t a t u s   s u b r e s o u r c e   o f   a   D e p l o y m e n t .   H e r e ' s   a   m a n i f e s t   f o r   a   D e p l o y m e n t   t h a t   h a s   t w o   r e p l i c a s :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   r e p l i c a s :   2   #   t e l l s   d e p l o y m e n t   t o   r u n   2   p o d s   m a t c h i n g   t h e   t e m p l a t e   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0   C r e a t e   t h e   D e p l o y m e n t :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / d e p l o y m e n t . y a m l   V i e w   t h e   P o d s   a s s o c i a t e d   w i t h   y o u r   D e p l o y m e n t :   k u b e c t l   g e t ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch/",
    "id": "k8s_00602_section_3_11276"
  },
  {
    "question": "What is Summary?",
    "answer": "I n   t h i s   e x e r c i s e ,   y o u   u s e d   k u b e c t l   p a t c h   t o   c h a n g e   t h e   l i v e   c o n f i g u r a t i o n   o f   a   D e p l o y m e n t   o b j e c t .   Y o u   d i d   n o t   c h a n g e   t h e   c o n f i g u r a t i o n   f i l e   t h a t   y o u   o r i g i n a l l y   u s e d   t o   c r e a t e   t h e   D e p l o y m e n t   o b j e c t .   O t h e r   c o m m a n d s   f o r   u p d a t i n g   A P I   o b j e c t s   i n c l u d e   k u b e c t l   a n n o t a t e ,   k u b e c t l   e d i t ,   k u b e c t l   r e p l a c e ,   k u b e c t l   s c a l e ,   a n d   k u b e c t l   a p p l y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch/",
    "id": "k8s_00602_section_2_11277"
  },
  {
    "question": "What is What's next?",
    "answer": "K u b e r n e t e s   O b j e c t   M a n a g e m e n t M a n a g i n g   K u b e r n e t e s   O b j e c t s   U s i n g   I m p e r a t i v e   C o m m a n d s I m p e r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s D e c l a r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch/",
    "id": "k8s_00602_section_2_11278"
  },
  {
    "question": "What is kube-controller-manager?",
    "answer": "kube-controller-managerSynopsisThe Kubernetes controller manager is a daemon that embeds the core control loops shipped with Kubernetes. In applications of robotics and automation, a control loop is a non-terminating loop that regulates the state of the system. In Kubernetes, a controller is a control loop that watches the shared state of the cluster through the apiserver and makes changes attempting to move the current state towards the desired state. Examples of controllers that ship with Kubernetes today are the replication controller, endpoints controller, namespace controller, and serviceaccounts controller.kube-controller-manager [flags] Options--allocate-node-cidrsShould CIDRs for Pods be allocated and set on the cloud provider. Requires --cluster-cidr.--allow-metric-labels stringToString Default: []The map from metric-label to value allow-list of this label. The key's format is <MetricName>,<LabelName>. The value's format is <allowed_value>,<allowed_value>...e.g. metric1,label1='v1,v2,v3', metric1,label2='v1,v2,v3' metric2,label1='v1,v2,v3'.--allow-metric-labels-manifest stringThe path to the manifest file that contains the allow-list mapping. The format of the file is the same as the flag --allow-metric-labels. Note that the flag --allow-metric-labels will override the manifest file.--attach-detach-reconcile-sync-period duration Default: 1m0sThe reconciler sync wait time between volume attach detach. This duration must be larger than one second, and increasing this value from the default may allow for volumes to be mismatched with pods.--authentication-kubeconfig stringkubeconfig file pointing at the 'core' kubernetes server with enough rights to create tokenreviews.authentication.k8s.io. This is optional. If empty, all token requests are considered to be anonymous and no client CA is looked up in the cluster.--authentication-skip-lookupIf false, the authentication-kubeconfig will be used to lookup missing authentication configuration from the cluster.--authentication-token-webhook-cache-ttl duration Default: 10sThe duration to cache responses from the webhook token authenticator.--authentication-tolerate-lookup-failureIf true, failures to look up missing authentication configuration from the cluster are not considered fatal. Note that this can result in authentication that treats all requests as anonymous.--authorization-always-allow-paths strings Default: \"/healthz,/readyz,/livez\"A list of HTTP paths to skip during authorization, i.e. these are authorized without contacting the 'core' kubernetes server.--authorization-kubeconfig stringkubeconfig file pointing at the 'core' kubernetes server with enough rights to create subjectaccessreviews.authorization.k8s.io. This is optional. If empty, all requests not skipped by authorization are forbidden.--authorization-webhook-cache-authorized-ttl duration Default: 10sThe duration to cache 'authorized' responses from the webhook authorizer.--authorization-webhook-cache-unauthorized-ttl duration ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kube-controller-manager/",
    "id": "k8s_00603_qa_11279"
  },
  {
    "question": "How does kube-controller-manager work?",
    "answer": "kube-controller-managerSynopsisThe Kubernetes controller manager is a daemon that embeds the core control loops shipped with Kubernetes. In applications of robotics and automation, a control loop is a non-terminating loop that regulates the state of the system. In Kubernetes, a controller is a control loop that watches the shared state of the cluster through the apiserver and makes changes attempting to move the current state towards the desired state. Examples of controllers that ship with Kubernetes today are the replication controller, endpoints controller, namespace controller, and serviceaccounts controller.kube-controller-manager [flags] Options--allocate-node-cidrsShould CIDRs for Pods be allocated and set on the cloud provider. Requires --cluster-cidr.--allow-metric-labels stringToString Default: []The map from metric-label to value allow-list of this label. The key's format is <MetricName>,<LabelName>. The value's format is <allowed_value>,<allowed_value>...e.g. metric1,label1='v1,v2,v3', metric1,label2='v1,v2,v3' metric2,label1='v1,v2,v3'.--allow-metric-labels-manifest stringThe path to the manifest file that contains the allow-list mapping. The format of the file is the same as the flag --allow-metric-labels. Note that the flag --allow-metric-labels will override the manifest file.--attach-detach-reconcile-sync-period duration Default: 1m0sThe reconciler sync wait time between volume attach detach. This duration must be larger than one second, and increasing this value from the default may allow for volumes to be mismatched with pods.--authentication-kubeconfig stringkubeconfig file pointing at the 'core' kubernetes server with enough rights to create tokenreviews.authentication.k8s.io. This is optional. If empty, all token requests are considered to be anonymous and no client CA is looked up in the cluster.--authentication-skip-lookupIf false, the authentication-kubeconfig will be used to lookup missing authentication configuration from the cluster.--authentication-token-webhook-cache-ttl duration Default: 10sThe duration to cache responses from the webhook token authenticator.--authentication-tolerate-lookup-failureIf true, failures to look up missing authentication configuration from the cluster are not considered fatal. Note that this can result in authentication that treats all requests as anonymous.--authorization-always-allow-paths strings Default: \"/healthz,/readyz,/livez\"A list of HTTP paths to skip during authorization, i.e. these are authorized without contacting the 'core' kubernetes server.--authorization-kubeconfig stringkubeconfig file pointing at the 'core' kubernetes server with enough rights to create subjectaccessreviews.authorization.k8s.io. This is optional. If empty, all requests not skipped by authorization are forbidden.--authorization-webhook-cache-authorized-ttl duration Default: 10sThe duration to cache 'authorized' responses from the webhook authorizer.--authorization-webhook-cache-unauthorized-ttl duration ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kube-controller-manager/",
    "id": "k8s_00603_qa_11280"
  },
  {
    "question": "When would you use kube-controller-manager?",
    "answer": "kube-controller-managerSynopsisThe Kubernetes controller manager is a daemon that embeds the core control loops shipped with Kubernetes. In applications of robotics and automation, a control loop is a non-terminating loop that regulates the state of the system. In Kubernetes, a controller is a control loop that watches the shared state of the cluster through the apiserver and makes changes attempting to move the current state towards the desired state. Examples of controllers that ship with Kubernetes today are the replication controller, endpoints controller, namespace controller, and serviceaccounts controller.kube-controller-manager [flags] Options--allocate-node-cidrsShould CIDRs for Pods be allocated and set on the cloud provider. Requires --cluster-cidr.--allow-metric-labels stringToString Default: []The map from metric-label to value allow-list of this label. The key's format is <MetricName>,<LabelName>. The value's format is <allowed_value>,<allowed_value>...e.g. metric1,label1='v1,v2,v3', metric1,label2='v1,v2,v3' metric2,label1='v1,v2,v3'.--allow-metric-labels-manifest stringThe path to the manifest file that contains the allow-list mapping. The format of the file is the same as the flag --allow-metric-labels. Note that the flag --allow-metric-labels will override the manifest file.--attach-detach-reconcile-sync-period duration Default: 1m0sThe reconciler sync wait time between volume attach detach. This duration must be larger than one second, and increasing this value from the default may allow for volumes to be mismatched with pods.--authentication-kubeconfig stringkubeconfig file pointing at the 'core' kubernetes server with enough rights to create tokenreviews.authentication.k8s.io. This is optional. If empty, all token requests are considered to be anonymous and no client CA is looked up in the cluster.--authentication-skip-lookupIf false, the authentication-kubeconfig will be used to lookup missing authentication configuration from the cluster.--authentication-token-webhook-cache-ttl duration Default: 10sThe duration to cache responses from the webhook token authenticator.--authentication-tolerate-lookup-failureIf true, failures to look up missing authentication configuration from the cluster are not considered fatal. Note that this can result in authentication that treats all requests as anonymous.--authorization-always-allow-paths strings Default: \"/healthz,/readyz,/livez\"A list of HTTP paths to skip during authorization, i.e. these are authorized without contacting the 'core' kubernetes server.--authorization-kubeconfig stringkubeconfig file pointing at the 'core' kubernetes server with enough rights to create subjectaccessreviews.authorization.k8s.io. This is optional. If empty, all requests not skipped by authorization are forbidden.--authorization-webhook-cache-authorized-ttl duration Default: 10sThe duration to cache 'authorized' responses from the webhook authorizer.--authorization-webhook-cache-unauthorized-ttl duration ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kube-controller-manager/",
    "id": "k8s_00603_qa_11281"
  },
  {
    "question": "What are the benefits of kube-controller-manager?",
    "answer": "kube-controller-managerSynopsisThe Kubernetes controller manager is a daemon that embeds the core control loops shipped with Kubernetes. In applications of robotics and automation, a control loop is a non-terminating loop that regulates the state of the system. In Kubernetes, a controller is a control loop that watches the shared state of the cluster through the apiserver and makes changes attempting to move the current state towards the desired state. Examples of controllers that ship with Kubernetes today are the replication controller, endpoints controller, namespace controller, and serviceaccounts controller.kube-controller-manager [flags] Options--allocate-node-cidrsShould CIDRs for Pods be allocated and set on the cloud provider. Requires --cluster-cidr.--allow-metric-labels stringToString Default: []The map from metric-label to value allow-list of this label. The key's format is <MetricName>,<LabelName>. The value's format is <allowed_value>,<allowed_value>...e.g. metric1,label1='v1,v2,v3', metric1,label2='v1,v2,v3' metric2,label1='v1,v2,v3'.--allow-metric-labels-manifest stringThe path to the manifest file that contains the allow-list mapping. The format of the file is the same as the flag --allow-metric-labels. Note that the flag --allow-metric-labels will override the manifest file.--attach-detach-reconcile-sync-period duration Default: 1m0sThe reconciler sync wait time between volume attach detach. This duration must be larger than one second, and increasing this value from the default may allow for volumes to be mismatched with pods.--authentication-kubeconfig stringkubeconfig file pointing at the 'core' kubernetes server with enough rights to create tokenreviews.authentication.k8s.io. This is optional. If empty, all token requests are considered to be anonymous and no client CA is looked up in the cluster.--authentication-skip-lookupIf false, the authentication-kubeconfig will be used to lookup missing authentication configuration from the cluster.--authentication-token-webhook-cache-ttl duration Default: 10sThe duration to cache responses from the webhook token authenticator.--authentication-tolerate-lookup-failureIf true, failures to look up missing authentication configuration from the cluster are not considered fatal. Note that this can result in authentication that treats all requests as anonymous.--authorization-always-allow-paths strings Default: \"/healthz,/readyz,/livez\"A list of HTTP paths to skip during authorization, i.e. these are authorized without contacting the 'core' kubernetes server.--authorization-kubeconfig stringkubeconfig file pointing at the 'core' kubernetes server with enough rights to create subjectaccessreviews.authorization.k8s.io. This is optional. If empty, all requests not skipped by authorization are forbidden.--authorization-webhook-cache-authorized-ttl duration Default: 10sThe duration to cache 'authorized' responses from the webhook authorizer.--authorization-webhook-cache-unauthorized-ttl duration ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kube-controller-manager/",
    "id": "k8s_00603_qa_11282"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h e   K u b e r n e t e s   c o n t r o l l e r   m a n a g e r   i s   a   d a e m o n   t h a t   e m b e d s   t h e   c o r e   c o n t r o l   l o o p s   s h i p p e d   w i t h   K u b e r n e t e s .   I n   a p p l i c a t i o n s   o f   r o b o t i c s   a n d   a u t o m a t i o n ,   a   c o n t r o l   l o o p   i s   a   n o n - t e r m i n a t i n g   l o o p   t h a t   r e g u l a t e s   t h e   s t a t e   o f   t h e   s y s t e m .   I n   K u b e r n e t e s ,   a   c o n t r o l l e r   i s   a   c o n t r o l   l o o p   t h a t   w a t c h e s   t h e   s h a r e d   s t a t e   o f   t h e   c l u s t e r   t h r o u g h   t h e   a p i s e r v e r   a n d   m a k e s   c h a n g e s   a t t e m p t i n g   t o   m o v e   t h e   c u r r e n t   s t a t e   t o w a r d s   t h e   d e s i r e d   s t a t e .   E x a m p l e s   o f   c o n t r o l l e r s   t h a t   s h i p   w i t h   K u b e r n e t e s   t o d a y   a r e   t h e   r e p l i c a t i o n   c o n t r o l l e r ,   e n d p o i n t s   c o n t r o l l e r ,   n a m e s p a c e   c o n t r o l l e r ,   a n d   s e r v i c e a c c o u n t s   c o n t r o l l e r .   k u b e - c o n t r o l l e r - m a n a g e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kube-controller-manager/",
    "id": "k8s_00603_section_2_11283"
  },
  {
    "question": "What is Options?",
    "answer": "S h o u l d   C I D R s   f o r   P o d s   b e   a l l o c a t e d   a n d   s e t   o n   t h e   c l o u d   p r o v i d e r .   R e q u i r e s   - - c l u s t e r - c i d r .   T h e   m a p   f r o m   m e t r i c - l a b e l   t o   v a l u e   a l l o w - l i s t   o f   t h i s   l a b e l .   T h e   k e y ' s   f o r m a t   i s   < M e t r i c N a m e > , < L a b e l N a m e > .   T h e   v a l u e ' s   f o r m a t   i s   < a l l o w e d _ v a l u e > , < a l l o w e d _ v a l u e > . . . e . g .   m e t r i c 1 , l a b e l 1 = ' v 1 , v 2 , v 3 ' ,   m e t r i c 1 , l a b e l 2 = ' v 1 , v 2 , v 3 '   m e t r i c 2 , l a b e l 1 = ' v 1 , v 2 , v 3 ' .   T h e   p a t h   t o   t h e   m a n i f e s t   f i l e   t h a t   c o n t a i n s   t h e   a l l o w - l i s t   m a p p i n g .   T h e   f o r m a t   o f   t h e   f i l e   i s   t h e   s a m e   a s   t h e   f l a g   - - a l l o w - m e t r i c - l a b e l s .   N o t e   t h a t   t h e   f l a g   - - a l l o w - m e t r i c - l a b e l s   w i l l   o v e r r i d e   t h e   m a n i f e s t   f i l e .   T h e   r e c o n c i l e r   s y n c   w a i t   t i m e   b e t w e e n   v o l u m e   a t t a c h   d e t a c h .   T h i s   d u r a t i o n   m u s t   b e   l a r g e r   t h a n   o n e   s e c o n d ,   a n d   i n c r e a s i n g   t h i s   v a l u e   f r o m   t h e   d e f a u l t   m a y   a l l o w   f o r   v o l u m e s   t o   b e   m i s m a t c h e d   w i t h   p o d s .   k u b e c o n f i g   f i l e   p o i n t i n g   a t   t h e   ' c o r e '   k u b e r n e t e s   s e r v e r   w i t h   e n o u g h   r i g h t s   t o   c r e a t e   t o k e n r e v i e w s . a u t h e n t i c a t i o n . k 8 s . i o .   T h i s   i s   o p t i o n a l .   I f   e m p t y ,   a l l   t o k e n   r e q u e s t s   a r e   c o n s i d e r e d   t o   b e   a n o n y m o u s   a n d   n o   c l i e n t   C A   i s   l o o k e d   u p   i n   t h e   c l u s t e r .   I f   f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kube-controller-manager/",
    "id": "k8s_00603_section_2_11284"
  },
  {
    "question": "What is Assign Pods to Nodes?",
    "answer": "Assign Pods to NodesThis page shows how to assign a Kubernetes Pod to a particular node in a Kubernetes cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Add a label to a nodeList the nodes in your cluster, along with their labels:kubectl get nodes --show-labels The output is similar to this:NAME STATUS ROLES AGE VERSION LABELS worker0 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker0 worker1 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker1 worker2 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker2 Choose one of your nodes, and add a label to it:kubectl label nodes <your-node-name> disktype=ssd where <your-node-name> is the name of your chosen node.Verify that your chosen node has a disktype=ssd label:kubectl get nodes --show-labels The output is similar to this:NAME STATUS ROLES AGE VERSION LABELS worker0 Ready <none> 1d v1.13.0 ...,disktype=ssd,kubernetes.io/hostname=worker0 worker1 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker1 worker2 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker2 In the preceding output, you can see that the worker0 node has a disktype=ssd label.Create a pod that gets scheduled to your chosen nodeThis pod configuration file describes a pod that has a node selector, disktype: ssd. This means that the pod will get scheduled on a node that has a disktype=ssd label.pods/pod-nginx.yaml apiVersion: v1 kind: Pod metadata: name: nginx labels: env: test spec: containers: - name: nginx image: nginx imagePullPolicy: IfNotPresent nodeSelector: disktype: ssd Use the configuration file to create a pod that will get scheduled on your chosen node:kubectl apply -f https://k8s.io/examples/pods/pod-nginx.yaml Verify that the pod is running on your chosen node:kubectl get pods --output=wide The output is similar to this:NAME READY STATUS RESTARTS AGE IP NODE nginx 1/1 Running 0 13s 10.200.0.4 worker0 Create a pod that gets scheduled to specific nodeYou can also schedule a pod to one specific node via setting nodeName.pods/pod-nginx-specific-node.yaml apiVersion: v1 kind: Pod metadata: name: nginx spec: nodeName: foo-node # schedule pod to specific node containers: - name: nginx image: nginx imagePullPolicy: IfNotPresent Use the configuration file to create a pod that will get scheduled on foo-node only.What's nextLearn more about labels and selectors.Learn more about nodes.",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes/",
    "id": "k8s_00604_qa_11285"
  },
  {
    "question": "How does Assign Pods to Nodes work?",
    "answer": "Assign Pods to NodesThis page shows how to assign a Kubernetes Pod to a particular node in a Kubernetes cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Add a label to a nodeList the nodes in your cluster, along with their labels:kubectl get nodes --show-labels The output is similar to this:NAME STATUS ROLES AGE VERSION LABELS worker0 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker0 worker1 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker1 worker2 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker2 Choose one of your nodes, and add a label to it:kubectl label nodes <your-node-name> disktype=ssd where <your-node-name> is the name of your chosen node.Verify that your chosen node has a disktype=ssd label:kubectl get nodes --show-labels The output is similar to this:NAME STATUS ROLES AGE VERSION LABELS worker0 Ready <none> 1d v1.13.0 ...,disktype=ssd,kubernetes.io/hostname=worker0 worker1 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker1 worker2 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker2 In the preceding output, you can see that the worker0 node has a disktype=ssd label.Create a pod that gets scheduled to your chosen nodeThis pod configuration file describes a pod that has a node selector, disktype: ssd. This means that the pod will get scheduled on a node that has a disktype=ssd label.pods/pod-nginx.yaml apiVersion: v1 kind: Pod metadata: name: nginx labels: env: test spec: containers: - name: nginx image: nginx imagePullPolicy: IfNotPresent nodeSelector: disktype: ssd Use the configuration file to create a pod that will get scheduled on your chosen node:kubectl apply -f https://k8s.io/examples/pods/pod-nginx.yaml Verify that the pod is running on your chosen node:kubectl get pods --output=wide The output is similar to this:NAME READY STATUS RESTARTS AGE IP NODE nginx 1/1 Running 0 13s 10.200.0.4 worker0 Create a pod that gets scheduled to specific nodeYou can also schedule a pod to one specific node via setting nodeName.pods/pod-nginx-specific-node.yaml apiVersion: v1 kind: Pod metadata: name: nginx spec: nodeName: foo-node # schedule pod to specific node containers: - name: nginx image: nginx imagePullPolicy: IfNotPresent Use the configuration file to create a pod that will get scheduled on foo-node only.What's nextLearn more about labels and selectors.Learn more about nodes.",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes/",
    "id": "k8s_00604_qa_11286"
  },
  {
    "question": "When would you use Assign Pods to Nodes?",
    "answer": "Assign Pods to NodesThis page shows how to assign a Kubernetes Pod to a particular node in a Kubernetes cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Add a label to a nodeList the nodes in your cluster, along with their labels:kubectl get nodes --show-labels The output is similar to this:NAME STATUS ROLES AGE VERSION LABELS worker0 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker0 worker1 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker1 worker2 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker2 Choose one of your nodes, and add a label to it:kubectl label nodes <your-node-name> disktype=ssd where <your-node-name> is the name of your chosen node.Verify that your chosen node has a disktype=ssd label:kubectl get nodes --show-labels The output is similar to this:NAME STATUS ROLES AGE VERSION LABELS worker0 Ready <none> 1d v1.13.0 ...,disktype=ssd,kubernetes.io/hostname=worker0 worker1 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker1 worker2 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker2 In the preceding output, you can see that the worker0 node has a disktype=ssd label.Create a pod that gets scheduled to your chosen nodeThis pod configuration file describes a pod that has a node selector, disktype: ssd. This means that the pod will get scheduled on a node that has a disktype=ssd label.pods/pod-nginx.yaml apiVersion: v1 kind: Pod metadata: name: nginx labels: env: test spec: containers: - name: nginx image: nginx imagePullPolicy: IfNotPresent nodeSelector: disktype: ssd Use the configuration file to create a pod that will get scheduled on your chosen node:kubectl apply -f https://k8s.io/examples/pods/pod-nginx.yaml Verify that the pod is running on your chosen node:kubectl get pods --output=wide The output is similar to this:NAME READY STATUS RESTARTS AGE IP NODE nginx 1/1 Running 0 13s 10.200.0.4 worker0 Create a pod that gets scheduled to specific nodeYou can also schedule a pod to one specific node via setting nodeName.pods/pod-nginx-specific-node.yaml apiVersion: v1 kind: Pod metadata: name: nginx spec: nodeName: foo-node # schedule pod to specific node containers: - name: nginx image: nginx imagePullPolicy: IfNotPresent Use the configuration file to create a pod that will get scheduled on foo-node only.What's nextLearn more about labels and selectors.Learn more about nodes.",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes/",
    "id": "k8s_00604_qa_11287"
  },
  {
    "question": "What are the benefits of Assign Pods to Nodes?",
    "answer": "Assign Pods to NodesThis page shows how to assign a Kubernetes Pod to a particular node in a Kubernetes cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Add a label to a nodeList the nodes in your cluster, along with their labels:kubectl get nodes --show-labels The output is similar to this:NAME STATUS ROLES AGE VERSION LABELS worker0 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker0 worker1 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker1 worker2 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker2 Choose one of your nodes, and add a label to it:kubectl label nodes <your-node-name> disktype=ssd where <your-node-name> is the name of your chosen node.Verify that your chosen node has a disktype=ssd label:kubectl get nodes --show-labels The output is similar to this:NAME STATUS ROLES AGE VERSION LABELS worker0 Ready <none> 1d v1.13.0 ...,disktype=ssd,kubernetes.io/hostname=worker0 worker1 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker1 worker2 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker2 In the preceding output, you can see that the worker0 node has a disktype=ssd label.Create a pod that gets scheduled to your chosen nodeThis pod configuration file describes a pod that has a node selector, disktype: ssd. This means that the pod will get scheduled on a node that has a disktype=ssd label.pods/pod-nginx.yaml apiVersion: v1 kind: Pod metadata: name: nginx labels: env: test spec: containers: - name: nginx image: nginx imagePullPolicy: IfNotPresent nodeSelector: disktype: ssd Use the configuration file to create a pod that will get scheduled on your chosen node:kubectl apply -f https://k8s.io/examples/pods/pod-nginx.yaml Verify that the pod is running on your chosen node:kubectl get pods --output=wide The output is similar to this:NAME READY STATUS RESTARTS AGE IP NODE nginx 1/1 Running 0 13s 10.200.0.4 worker0 Create a pod that gets scheduled to specific nodeYou can also schedule a pod to one specific node via setting nodeName.pods/pod-nginx-specific-node.yaml apiVersion: v1 kind: Pod metadata: name: nginx spec: nodeName: foo-node # schedule pod to specific node containers: - name: nginx image: nginx imagePullPolicy: IfNotPresent Use the configuration file to create a pod that will get scheduled on foo-node only.What's nextLearn more about labels and selectors.Learn more about nodes.",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes/",
    "id": "k8s_00604_qa_11288"
  },
  {
    "question": "What is Assign Pods to Nodes?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   a s s i g n   a   K u b e r n e t e s   P o d   t o   a   p a r t i c u l a r   n o d e   i n   a   K u b e r n e t e s   c l u s t e r .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes/",
    "id": "k8s_00604_section_1_11289"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes/",
    "id": "k8s_00604_section_2_11290"
  },
  {
    "question": "What is Add a label to a node?",
    "answer": "L i s t   t h e   n o d e s   i n   y o u r   c l u s t e r ,   a l o n g   w i t h   t h e i r   l a b e l s : k u b e c t l   g e t   n o d e s   - - s h o w - l a b e l s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   S T A T U S   R O L E S   A G E   V E R S I O N   L A B E L S   w o r k e r 0   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 0   w o r k e r 1   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 1   w o r k e r 2   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 2   C h o o s e   o n e   o f   y o u r   n o d e s ,   a n d   a d d   a   l a b e l   t o   i t : k u b e c t l   l a b e l   n o d e s   < y o u r - n o d e - n a m e >   d i s k t y p e = s s d   w h e r e   < y o u r - n o d e - n a m e >   i s   t h e   n a m e   o f   y o u r   c h o s e n   n o d e . V e r i f y   t h a t   y o u r   c h o s e n   n o d e   h a s   a   d i s k t y p e = s s d   l a b e l : k u b e c t l   g e t   n o d e s   - - s h o w - l a b e l s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   S T A T U S   R O L E S   A G E   V E R S I O N   L A B E L S   w o r k e r 0   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , d i s k t y p e = s s d , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 0   w o r k e r 1   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 1   w o r k e r 2   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 2   I n   t h e   p r e c e d i n g   o u t p u t ,   y o u   c a n   s e e   t h a t   t h e   w o r k e r 0   n o d e   h a s   a   d i s k t y p e = s s d   l a b e l .   L i s t   t h e   n o d e s   i n   y o u r   c l u s t e r ,   a l o n g   w ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes/",
    "id": "k8s_00604_section_2_11291"
  },
  {
    "question": "What is Create a pod that gets scheduled to your chosen node?",
    "answer": "T h i s   p o d   c o n f i g u r a t i o n   f i l e   d e s c r i b e s   a   p o d   t h a t   h a s   a   n o d e   s e l e c t o r ,   d i s k t y p e :   s s d .   T h i s   m e a n s   t h a t   t h e   p o d   w i l l   g e t   s c h e d u l e d   o n   a   n o d e   t h a t   h a s   a   d i s k t y p e = s s d   l a b e l .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   l a b e l s :   e n v :   t e s t   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   i m a g e P u l l P o l i c y :   I f N o t P r e s e n t   n o d e S e l e c t o r :   d i s k t y p e :   s s d   U s e   t h e   c o n f i g u r a t i o n   f i l e   t o   c r e a t e   a   p o d   t h a t   w i l l   g e t   s c h e d u l e d   o n   y o u r   c h o s e n   n o d e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p o d - n g i n x . y a m l   V e r i f y   t h a t   t h e   p o d   i s   r u n n i n g   o n   y o u r   c h o s e n   n o d e : k u b e c t l   g e t   p o d s   - - o u t p u t = w i d e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   n g i n x   1 / 1   R u n n i n g   0   1 3 s   1 0 . 2 0 0 . 0 . 4   w o r k e r 0   U s e   t h e   c o n f i g u r a t i o n   f i l e   t o   c r e a t e   a   p o d   t h a t   w i l l   g e t   s c h e d u l e d   o n   y o u r   c h o s e n   n o d e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p o d - n g i n x . y a m l   V e r i f y   t h a t   t h e   p o d   i s   r u n n i n g   o n   y o u r   c h o s e n   n o d e :   k u b e c t l   g e t   p o d s   - - o u t p u t = w i d e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   n g i n x   1 / 1   R u n n i n g   0 ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes/",
    "id": "k8s_00604_section_2_11292"
  },
  {
    "question": "What is Create a pod that gets scheduled to specific node?",
    "answer": "Y o u   c a n   a l s o   s c h e d u l e   a   p o d   t o   o n e   s p e c i f i c   n o d e   v i a   s e t t i n g   n o d e N a m e .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   s p e c :   n o d e N a m e :   f o o - n o d e   #   s c h e d u l e   p o d   t o   s p e c i f i c   n o d e   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   i m a g e P u l l P o l i c y :   I f N o t P r e s e n t   U s e   t h e   c o n f i g u r a t i o n   f i l e   t o   c r e a t e   a   p o d   t h a t   w i l l   g e t   s c h e d u l e d   o n   f o o - n o d e   o n l y .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes/",
    "id": "k8s_00604_section_2_11293"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   l a b e l s   a n d   s e l e c t o r s . L e a r n   m o r e   a b o u t   n o d e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes/",
    "id": "k8s_00604_section_2_11294"
  },
  {
    "question": "What is Taints and Tolerations?",
    "answer": "Taints and TolerationsNode affinity is a property of Pods that attracts them to a set of nodes (either as a preference or a hard requirement). Taints are the opposite -- they allow a node to repel a set of pods.Tolerations are applied to pods. Tolerations allow the scheduler to schedule pods with matching taints. Tolerations allow scheduling but don't guarantee scheduling: the scheduler also evaluates other parameters as part of its function.Taints and tolerations work together to ensure that pods are not scheduled onto inappropriate nodes. One or more taints are applied to a node; this marks that the node should not accept any pods that do not tolerate the taints.ConceptsYou add a taint to a node using kubectl taint. For example,kubectl taint nodes node1 key1=value1:NoSchedule places a taint on node node1. The taint has key key1, value value1, and taint effect NoSchedule. This means that no pod will be able to schedule onto node1 unless it has a matching toleration.To remove the taint added by the command above, you can run:kubectl taint nodes node1 key1=value1:NoSchedule- You specify a toleration for a pod in the PodSpec. Both of the following tolerations \"match\" the taint created by the kubectl taint line above, and thus a pod with either toleration would be able to schedule onto node1:tolerations: - key: \"key1\" operator: \"Equal\" value: \"value1\" effect: \"NoSchedule\" tolerations: - key: \"key1\" operator: \"Exists\" effect: \"NoSchedule\" The default Kubernetes scheduler takes taints and tolerations into account when selecting a node to run a particular Pod. However, if you manually specify the .spec.nodeName for a Pod, that action bypasses the scheduler; the Pod is then bound onto the node where you assigned it, even if there are NoSchedule taints on that node that you selected. If this happens and the node also has a NoExecute taint set, the kubelet will eject the Pod unless there is an appropriate tolerance set.Here's an example of a pod that has some tolerations defined:pods/pod-with-toleration.yaml apiVersion: v1 kind: Pod metadata: name: nginx labels: env: test spec: containers: - name: nginx image: nginx imagePullPolicy: IfNotPresent tolerations: - key: \"example-key\" operator: \"Exists\" effect: \"NoSchedule\" The default value for operator is Equal.A toleration \"matches\" a taint if the keys are the same and the effects are the same, and:the operator is Exists (in which case no value should be specified), orthe operator is Equal and the values should be equal.Note:There are two special cases:If the key is empty, then the operator must be Exists, which matches all keys and values. Note that the effect still needs to be matched at the same time.An empty effect matches all effects with key key1.The above example used the effect of NoSchedule. Alternatively, you can use the effect of PreferNoSchedule.The allowed values for the effect field are:NoExecuteThis affects pods that are already running on the node as follows:Pods that do not tolerate the tain",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/",
    "id": "k8s_00605_qa_11295"
  },
  {
    "question": "How does Taints and Tolerations work?",
    "answer": "Taints and TolerationsNode affinity is a property of Pods that attracts them to a set of nodes (either as a preference or a hard requirement). Taints are the opposite -- they allow a node to repel a set of pods.Tolerations are applied to pods. Tolerations allow the scheduler to schedule pods with matching taints. Tolerations allow scheduling but don't guarantee scheduling: the scheduler also evaluates other parameters as part of its function.Taints and tolerations work together to ensure that pods are not scheduled onto inappropriate nodes. One or more taints are applied to a node; this marks that the node should not accept any pods that do not tolerate the taints.ConceptsYou add a taint to a node using kubectl taint. For example,kubectl taint nodes node1 key1=value1:NoSchedule places a taint on node node1. The taint has key key1, value value1, and taint effect NoSchedule. This means that no pod will be able to schedule onto node1 unless it has a matching toleration.To remove the taint added by the command above, you can run:kubectl taint nodes node1 key1=value1:NoSchedule- You specify a toleration for a pod in the PodSpec. Both of the following tolerations \"match\" the taint created by the kubectl taint line above, and thus a pod with either toleration would be able to schedule onto node1:tolerations: - key: \"key1\" operator: \"Equal\" value: \"value1\" effect: \"NoSchedule\" tolerations: - key: \"key1\" operator: \"Exists\" effect: \"NoSchedule\" The default Kubernetes scheduler takes taints and tolerations into account when selecting a node to run a particular Pod. However, if you manually specify the .spec.nodeName for a Pod, that action bypasses the scheduler; the Pod is then bound onto the node where you assigned it, even if there are NoSchedule taints on that node that you selected. If this happens and the node also has a NoExecute taint set, the kubelet will eject the Pod unless there is an appropriate tolerance set.Here's an example of a pod that has some tolerations defined:pods/pod-with-toleration.yaml apiVersion: v1 kind: Pod metadata: name: nginx labels: env: test spec: containers: - name: nginx image: nginx imagePullPolicy: IfNotPresent tolerations: - key: \"example-key\" operator: \"Exists\" effect: \"NoSchedule\" The default value for operator is Equal.A toleration \"matches\" a taint if the keys are the same and the effects are the same, and:the operator is Exists (in which case no value should be specified), orthe operator is Equal and the values should be equal.Note:There are two special cases:If the key is empty, then the operator must be Exists, which matches all keys and values. Note that the effect still needs to be matched at the same time.An empty effect matches all effects with key key1.The above example used the effect of NoSchedule. Alternatively, you can use the effect of PreferNoSchedule.The allowed values for the effect field are:NoExecuteThis affects pods that are already running on the node as follows:Pods that do not tolerate the tain",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/",
    "id": "k8s_00605_qa_11296"
  },
  {
    "question": "When would you use Taints and Tolerations?",
    "answer": "Taints and TolerationsNode affinity is a property of Pods that attracts them to a set of nodes (either as a preference or a hard requirement). Taints are the opposite -- they allow a node to repel a set of pods.Tolerations are applied to pods. Tolerations allow the scheduler to schedule pods with matching taints. Tolerations allow scheduling but don't guarantee scheduling: the scheduler also evaluates other parameters as part of its function.Taints and tolerations work together to ensure that pods are not scheduled onto inappropriate nodes. One or more taints are applied to a node; this marks that the node should not accept any pods that do not tolerate the taints.ConceptsYou add a taint to a node using kubectl taint. For example,kubectl taint nodes node1 key1=value1:NoSchedule places a taint on node node1. The taint has key key1, value value1, and taint effect NoSchedule. This means that no pod will be able to schedule onto node1 unless it has a matching toleration.To remove the taint added by the command above, you can run:kubectl taint nodes node1 key1=value1:NoSchedule- You specify a toleration for a pod in the PodSpec. Both of the following tolerations \"match\" the taint created by the kubectl taint line above, and thus a pod with either toleration would be able to schedule onto node1:tolerations: - key: \"key1\" operator: \"Equal\" value: \"value1\" effect: \"NoSchedule\" tolerations: - key: \"key1\" operator: \"Exists\" effect: \"NoSchedule\" The default Kubernetes scheduler takes taints and tolerations into account when selecting a node to run a particular Pod. However, if you manually specify the .spec.nodeName for a Pod, that action bypasses the scheduler; the Pod is then bound onto the node where you assigned it, even if there are NoSchedule taints on that node that you selected. If this happens and the node also has a NoExecute taint set, the kubelet will eject the Pod unless there is an appropriate tolerance set.Here's an example of a pod that has some tolerations defined:pods/pod-with-toleration.yaml apiVersion: v1 kind: Pod metadata: name: nginx labels: env: test spec: containers: - name: nginx image: nginx imagePullPolicy: IfNotPresent tolerations: - key: \"example-key\" operator: \"Exists\" effect: \"NoSchedule\" The default value for operator is Equal.A toleration \"matches\" a taint if the keys are the same and the effects are the same, and:the operator is Exists (in which case no value should be specified), orthe operator is Equal and the values should be equal.Note:There are two special cases:If the key is empty, then the operator must be Exists, which matches all keys and values. Note that the effect still needs to be matched at the same time.An empty effect matches all effects with key key1.The above example used the effect of NoSchedule. Alternatively, you can use the effect of PreferNoSchedule.The allowed values for the effect field are:NoExecuteThis affects pods that are already running on the node as follows:Pods that do not tolerate the tain",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/",
    "id": "k8s_00605_qa_11297"
  },
  {
    "question": "What are the benefits of Taints and Tolerations?",
    "answer": "Taints and TolerationsNode affinity is a property of Pods that attracts them to a set of nodes (either as a preference or a hard requirement). Taints are the opposite -- they allow a node to repel a set of pods.Tolerations are applied to pods. Tolerations allow the scheduler to schedule pods with matching taints. Tolerations allow scheduling but don't guarantee scheduling: the scheduler also evaluates other parameters as part of its function.Taints and tolerations work together to ensure that pods are not scheduled onto inappropriate nodes. One or more taints are applied to a node; this marks that the node should not accept any pods that do not tolerate the taints.ConceptsYou add a taint to a node using kubectl taint. For example,kubectl taint nodes node1 key1=value1:NoSchedule places a taint on node node1. The taint has key key1, value value1, and taint effect NoSchedule. This means that no pod will be able to schedule onto node1 unless it has a matching toleration.To remove the taint added by the command above, you can run:kubectl taint nodes node1 key1=value1:NoSchedule- You specify a toleration for a pod in the PodSpec. Both of the following tolerations \"match\" the taint created by the kubectl taint line above, and thus a pod with either toleration would be able to schedule onto node1:tolerations: - key: \"key1\" operator: \"Equal\" value: \"value1\" effect: \"NoSchedule\" tolerations: - key: \"key1\" operator: \"Exists\" effect: \"NoSchedule\" The default Kubernetes scheduler takes taints and tolerations into account when selecting a node to run a particular Pod. However, if you manually specify the .spec.nodeName for a Pod, that action bypasses the scheduler; the Pod is then bound onto the node where you assigned it, even if there are NoSchedule taints on that node that you selected. If this happens and the node also has a NoExecute taint set, the kubelet will eject the Pod unless there is an appropriate tolerance set.Here's an example of a pod that has some tolerations defined:pods/pod-with-toleration.yaml apiVersion: v1 kind: Pod metadata: name: nginx labels: env: test spec: containers: - name: nginx image: nginx imagePullPolicy: IfNotPresent tolerations: - key: \"example-key\" operator: \"Exists\" effect: \"NoSchedule\" The default value for operator is Equal.A toleration \"matches\" a taint if the keys are the same and the effects are the same, and:the operator is Exists (in which case no value should be specified), orthe operator is Equal and the values should be equal.Note:There are two special cases:If the key is empty, then the operator must be Exists, which matches all keys and values. Note that the effect still needs to be matched at the same time.An empty effect matches all effects with key key1.The above example used the effect of NoSchedule. Alternatively, you can use the effect of PreferNoSchedule.The allowed values for the effect field are:NoExecuteThis affects pods that are already running on the node as follows:Pods that do not tolerate the tain",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/",
    "id": "k8s_00605_qa_11298"
  },
  {
    "question": "What is Taints and Tolerations?",
    "answer": "N o d e   a f f i n i t y   i s   a   p r o p e r t y   o f   P o d s   t h a t   a t t r a c t s   t h e m   t o   a   s e t   o f   n o d e s   ( e i t h e r   a s   a   p r e f e r e n c e   o r   a   h a r d   r e q u i r e m e n t ) .   T a i n t s   a r e   t h e   o p p o s i t e   - -   t h e y   a l l o w   a   n o d e   t o   r e p e l   a   s e t   o f   p o d s .   T o l e r a t i o n s   a r e   a p p l i e d   t o   p o d s .   T o l e r a t i o n s   a l l o w   t h e   s c h e d u l e r   t o   s c h e d u l e   p o d s   w i t h   m a t c h i n g   t a i n t s .   T o l e r a t i o n s   a l l o w   s c h e d u l i n g   b u t   d o n ' t   g u a r a n t e e   s c h e d u l i n g :   t h e   s c h e d u l e r   a l s o   e v a l u a t e s   o t h e r   p a r a m e t e r s   a s   p a r t   o f   i t s   f u n c t i o n .   T a i n t s   a n d   t o l e r a t i o n s   w o r k   t o g e t h e r   t o   e n s u r e   t h a t   p o d s   a r e   n o t   s c h e d u l e d   o n t o   i n a p p r o p r i a t e   n o d e s .   O n e   o r   m o r e   t a i n t s   a r e   a p p l i e d   t o   a   n o d e ;   t h i s   m a r k s   t h a t   t h e   n o d e   s h o u l d   n o t   a c c e p t   a n y   p o d s   t h a t   d o   n o t   t o l e r a t e   t h e   t a i n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/",
    "id": "k8s_00605_section_1_11299"
  },
  {
    "question": "What is Concepts?",
    "answer": "Y o u   a d d   a   t a i n t   t o   a   n o d e   u s i n g   k u b e c t l   t a i n t .   F o r   e x a m p l e ,   k u b e c t l   t a i n t   n o d e s   n o d e 1   k e y 1 = v a l u e 1 : N o S c h e d u l e   p l a c e s   a   t a i n t   o n   n o d e   n o d e 1 .   T h e   t a i n t   h a s   k e y   k e y 1 ,   v a l u e   v a l u e 1 ,   a n d   t a i n t   e f f e c t   N o S c h e d u l e .   T h i s   m e a n s   t h a t   n o   p o d   w i l l   b e   a b l e   t o   s c h e d u l e   o n t o   n o d e 1   u n l e s s   i t   h a s   a   m a t c h i n g   t o l e r a t i o n .   T o   r e m o v e   t h e   t a i n t   a d d e d   b y   t h e   c o m m a n d   a b o v e ,   y o u   c a n   r u n :   k u b e c t l   t a i n t   n o d e s   n o d e 1   k e y 1 = v a l u e 1 : N o S c h e d u l e -   Y o u   s p e c i f y   a   t o l e r a t i o n   f o r   a   p o d   i n   t h e   P o d S p e c .   B o t h   o f   t h e   f o l l o w i n g   t o l e r a t i o n s   \" m a t c h \"   t h e   t a i n t   c r e a t e d   b y   t h e   k u b e c t l   t a i n t   l i n e   a b o v e ,   a n d   t h u s   a   p o d   w i t h   e i t h e r   t o l e r a t i o n   w o u l d   b e   a b l e   t o   s c h e d u l e   o n t o   n o d e 1 :   t o l e r a t i o n s :   -   k e y :   \" k e y 1 \"   o p e r a t o r :   \" E q u a l \"   v a l u e :   \" v a l u e 1 \"   e f f e c t :   \" N o S c h e d u l e \"   t o l e r a t i o n s :   -   k e y :   \" k e y 1 \"   o p e r a t o r :   \" E x i s t s \"   e f f e c t :   \" N o S c h e d u l e \"   T h e   d e f a u l t   K u b e r n e t e s   s c h e d u l e r   t a k e s   t a i n t s   a n d   t o l e r a t i o n s   i n t o   a c c o u n t   w h e n   s e l e c t i n g   a   n o d e   t o   r u n   a   p a r t i c u l a r   P o d .   H o w e v e r ,   i f   y o u   m a n u a l l y   s p e c i f y   t h e   . s p e c . n o d e N a m e   f o r   a   P o d ,   t h a t   a c t i o n   b y p a s s e s   t h e   s c h e d u l e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/",
    "id": "k8s_00605_section_2_11300"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e r e   a r e   t w o   s p e c i a l   c a s e s :   I f   t h e   k e y   i s   e m p t y ,   t h e n   t h e   o p e r a t o r   m u s t   b e   E x i s t s ,   w h i c h   m a t c h e s   a l l   k e y s   a n d   v a l u e s .   N o t e   t h a t   t h e   e f f e c t   s t i l l   n e e d s   t o   b e   m a t c h e d   a t   t h e   s a m e   t i m e .   A n   e m p t y   e f f e c t   m a t c h e s   a l l   e f f e c t s   w i t h   k e y   k e y 1 .   T h e   a b o v e   e x a m p l e   u s e d   t h e   e f f e c t   o f   N o S c h e d u l e .   A l t e r n a t i v e l y ,   y o u   c a n   u s e   t h e   e f f e c t   o f   P r e f e r N o S c h e d u l e .   T h e   a l l o w e d   v a l u e s   f o r   t h e   e f f e c t   f i e l d   a r e :   P o d s   t h a t   d o   n o t   t o l e r a t e   t h e   t a i n t   a r e   e v i c t e d   i m m e d i a t e l y P o d s   t h a t   t o l e r a t e   t h e   t a i n t   w i t h o u t   s p e c i f y i n g   t o l e r a t i o n S e c o n d s   i n   t h e i r   t o l e r a t i o n   s p e c i f i c a t i o n   r e m a i n   b o u n d   f o r e v e r P o d s   t h a t   t o l e r a t e   t h e   t a i n t   w i t h   a   s p e c i f i e d   t o l e r a t i o n S e c o n d s   r e m a i n   b o u n d   f o r   t h e   s p e c i f i e d   a m o u n t   o f   t i m e .   A f t e r   t h a t   t i m e   e l a p s e s ,   t h e   n o d e   l i f e c y c l e   c o n t r o l l e r   e v i c t s   t h e   P o d s   f r o m   t h e   n o d e .   Y o u   c a n   p u t   m u l t i p l e   t a i n t s   o n   t h e   s a m e   n o d e   a n d   m u l t i p l e   t o l e r a t i o n s   o n   t h e   s a m e   p o d .   T h e   w a y   K u b e r n e t e s   p r o c e s s e s   m u l t i p l e   t a i n t s   a n d   t o l e r a t i o n s   i s   l i k e   a   f i l t e r :   s t a r t   w i t h   a l l   o f   a   n o d e ' s   t a i n t s ,   t h e n   i g n o r e   t h e   o n e s   f o r   w h i c h   t h e   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/",
    "id": "k8s_00605_section_4_11301"
  },
  {
    "question": "What is Example Use Cases?",
    "answer": "T a i n t s   a n d   t o l e r a t i o n s   a r e   a   f l e x i b l e   w a y   t o   s t e e r   p o d s   a w a y   f r o m   n o d e s   o r   e v i c t   p o d s   t h a t   s h o u l d n ' t   b e   r u n n i n g .   A   f e w   o f   t h e   u s e   c a s e s   a r e   D e d i c a t e d   N o d e s :   I f   y o u   w a n t   t o   d e d i c a t e   a   s e t   o f   n o d e s   f o r   e x c l u s i v e   u s e   b y   a   p a r t i c u l a r   s e t   o f   u s e r s ,   y o u   c a n   a d d   a   t a i n t   t o   t h o s e   n o d e s   ( s a y ,   k u b e c t l   t a i n t   n o d e s   n o d e n a m e   d e d i c a t e d = g r o u p N a m e : N o S c h e d u l e )   a n d   t h e n   a d d   a   c o r r e s p o n d i n g   t o l e r a t i o n   t o   t h e i r   p o d s   ( t h i s   w o u l d   b e   d o n e   m o s t   e a s i l y   b y   w r i t i n g   a   c u s t o m   a d m i s s i o n   c o n t r o l l e r ) .   T h e   p o d s   w i t h   t h e   t o l e r a t i o n s   w i l l   t h e n   b e   a l l o w e d   t o   u s e   t h e   t a i n t e d   ( d e d i c a t e d )   n o d e s   a s   w e l l   a s   a n y   o t h e r   n o d e s   i n   t h e   c l u s t e r .   I f   y o u   w a n t   t o   d e d i c a t e   t h e   n o d e s   t o   t h e m   a n d   e n s u r e   t h e y   o n l y   u s e   t h e   d e d i c a t e d   n o d e s ,   t h e n   y o u   s h o u l d   a d d i t i o n a l l y   a d d   a   l a b e l   s i m i l a r   t o   t h e   t a i n t   t o   t h e   s a m e   s e t   o f   n o d e s   ( e . g .   d e d i c a t e d = g r o u p N a m e ) ,   a n d   t h e   a d m i s s i o n   c o n t r o l l e r   s h o u l d   a d d i t i o n a l l y   a d d   a   n o d e   a f f i n i t y   t o   r e q u i r e   t h a t   t h e   p o d s   c a n   o n l y   s c h e d u l e   o n t o   n o d e s   l a b e l e d   w i t h   d e d i c a t e d = g r o u p N a m e . N o d e s   w i t h   S p e c i a l   H a r d w a r e :   I n   a   c ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/",
    "id": "k8s_00605_section_2_11302"
  },
  {
    "question": "What is Taint based Evictions?",
    "answer": "T h e   n o d e   c o n t r o l l e r   a u t o m a t i c a l l y   t a i n t s   a   N o d e   w h e n   c e r t a i n   c o n d i t i o n s   a r e   t r u e .   T h e   f o l l o w i n g   t a i n t s   a r e   b u i l t   i n :   n o d e . k u b e r n e t e s . i o / n o t - r e a d y :   N o d e   i s   n o t   r e a d y .   T h i s   c o r r e s p o n d s   t o   t h e   N o d e C o n d i t i o n   R e a d y   b e i n g   \" F a l s e \" . n o d e . k u b e r n e t e s . i o / u n r e a c h a b l e :   N o d e   i s   u n r e a c h a b l e   f r o m   t h e   n o d e   c o n t r o l l e r .   T h i s   c o r r e s p o n d s   t o   t h e   N o d e C o n d i t i o n   R e a d y   b e i n g   \" U n k n o w n \" . n o d e . k u b e r n e t e s . i o / m e m o r y - p r e s s u r e :   N o d e   h a s   m e m o r y   p r e s s u r e . n o d e . k u b e r n e t e s . i o / d i s k - p r e s s u r e :   N o d e   h a s   d i s k   p r e s s u r e . n o d e . k u b e r n e t e s . i o / p i d - p r e s s u r e :   N o d e   h a s   P I D   p r e s s u r e . n o d e . k u b e r n e t e s . i o / n e t w o r k - u n a v a i l a b l e :   N o d e ' s   n e t w o r k   i s   u n a v a i l a b l e . n o d e . k u b e r n e t e s . i o / u n s c h e d u l a b l e :   N o d e   i s   u n s c h e d u l a b l e . n o d e . c l o u d p r o v i d e r . k u b e r n e t e s . i o / u n i n i t i a l i z e d :   W h e n   t h e   k u b e l e t   i s   s t a r t e d   w i t h   a n   \" e x t e r n a l \"   c l o u d   p r o v i d e r ,   t h i s   t a i n t   i s   s e t   o n   a   n o d e   t o   m a r k   i t   a s   u n u s a b l e .   A f t e r   a   c o n t r o l l e r   f r o m   t h e   c l o u d - c o n t r o l l e r - m a n a g e r   i n i t i a l i z e s   t h i s   n o d e ,   t h e   k u b e l e t   r e m o v e s   t h i s   t a i n t .   I n   c a s e   a   n o d e   i s   t o   b e   d r a i n e d ,   t h e   n o d e   c o n t r o l l e r   o r   t h e   k u b e l e t   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/",
    "id": "k8s_00605_section_2_11303"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   s p e c i f y   t o l e r a t i o n S e c o n d s   f o r   a   P o d   t o   d e f i n e   h o w   l o n g   t h a t   P o d   s t a y s   b o u n d   t o   a   f a i l i n g   o r   u n r e s p o n s i v e   N o d e .   F o r   e x a m p l e ,   y o u   m i g h t   w a n t   t o   k e e p   a n   a p p l i c a t i o n   w i t h   a   l o t   o f   l o c a l   s t a t e   b o u n d   t o   n o d e   f o r   a   l o n g   t i m e   i n   t h e   e v e n t   o f   n e t w o r k   p a r t i t i o n ,   h o p i n g   t h a t   t h e   p a r t i t i o n   w i l l   r e c o v e r   a n d   t h u s   t h e   p o d   e v i c t i o n   c a n   b e   a v o i d e d .   T h e   t o l e r a t i o n   y o u   s e t   f o r   t h a t   P o d   m i g h t   l o o k   l i k e :   t o l e r a t i o n s :   -   k e y :   \" n o d e . k u b e r n e t e s . i o / u n r e a c h a b l e \"   o p e r a t o r :   \" E x i s t s \"   e f f e c t :   \" N o E x e c u t e \"   t o l e r a t i o n S e c o n d s :   6 0 0 0",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/",
    "id": "k8s_00605_section_4_11304"
  },
  {
    "question": "What is Note:?",
    "answer": "K u b e r n e t e s   a u t o m a t i c a l l y   a d d s   a   t o l e r a t i o n   f o r   n o d e . k u b e r n e t e s . i o / n o t - r e a d y   a n d   n o d e . k u b e r n e t e s . i o / u n r e a c h a b l e   w i t h   t o l e r a t i o n S e c o n d s = 3 0 0 ,   u n l e s s   y o u ,   o r   a   c o n t r o l l e r ,   s e t   t h o s e   t o l e r a t i o n s   e x p l i c i t l y .   T h e s e   a u t o m a t i c a l l y - a d d e d   t o l e r a t i o n s   m e a n   t h a t   P o d s   r e m a i n   b o u n d   t o   N o d e s   f o r   5   m i n u t e s   a f t e r   o n e   o f   t h e s e   p r o b l e m s   i s   d e t e c t e d .   D a e m o n S e t   p o d s   a r e   c r e a t e d   w i t h   N o E x e c u t e   t o l e r a t i o n s   f o r   t h e   f o l l o w i n g   t a i n t s   w i t h   n o   t o l e r a t i o n S e c o n d s :   n o d e . k u b e r n e t e s . i o / u n r e a c h a b l e n o d e . k u b e r n e t e s . i o / n o t - r e a d y   T h i s   e n s u r e s   t h a t   D a e m o n S e t   p o d s   a r e   n e v e r   e v i c t e d   d u e   t o   t h e s e   p r o b l e m s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/",
    "id": "k8s_00605_section_4_11305"
  },
  {
    "question": "What is Taint Nodes by Condition?",
    "answer": "T h e   c o n t r o l   p l a n e ,   u s i n g   t h e   n o d e   c o n t r o l l e r ,   a u t o m a t i c a l l y   c r e a t e s   t a i n t s   w i t h   a   N o S c h e d u l e   e f f e c t   f o r   n o d e   c o n d i t i o n s .   T h e   s c h e d u l e r   c h e c k s   t a i n t s ,   n o t   n o d e   c o n d i t i o n s ,   w h e n   i t   m a k e s   s c h e d u l i n g   d e c i s i o n s .   T h i s   e n s u r e s   t h a t   n o d e   c o n d i t i o n s   d o n ' t   d i r e c t l y   a f f e c t   s c h e d u l i n g .   F o r   e x a m p l e ,   i f   t h e   D i s k P r e s s u r e   n o d e   c o n d i t i o n   i s   a c t i v e ,   t h e   c o n t r o l   p l a n e   a d d s   t h e   n o d e . k u b e r n e t e s . i o / d i s k - p r e s s u r e   t a i n t   a n d   d o e s   n o t   s c h e d u l e   n e w   p o d s   o n t o   t h e   a f f e c t e d   n o d e .   I f   t h e   M e m o r y P r e s s u r e   n o d e   c o n d i t i o n   i s   a c t i v e ,   t h e   c o n t r o l   p l a n e   a d d s   t h e   n o d e . k u b e r n e t e s . i o / m e m o r y - p r e s s u r e   t a i n t .   Y o u   c a n   i g n o r e   n o d e   c o n d i t i o n s   f o r   n e w l y   c r e a t e d   p o d s   b y   a d d i n g   t h e   c o r r e s p o n d i n g   P o d   t o l e r a t i o n s .   T h e   c o n t r o l   p l a n e   a l s o   a d d s   t h e   n o d e . k u b e r n e t e s . i o / m e m o r y - p r e s s u r e   t o l e r a t i o n   o n   p o d s   t h a t   h a v e   a   Q o S   c l a s s   o t h e r   t h a n   B e s t E f f o r t .   T h i s   i s   b e c a u s e   K u b e r n e t e s   t r e a t s   p o d s   i n   t h e   G u a r a n t e e d   o r   B u r s t a b l e   Q o S   c l a s s e s   ( e v e n   p o d s   w i t h   n o   m e m o r y   r e q u e s t   s e t )   a s   i f   t h e y   a r e   a b l e   t o   c o p e   w i t h   m e m o r y   p r e s s u r e ,   w h i l e   n e w   B e s t E f f o r t   p o d s   a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/",
    "id": "k8s_00605_section_2_11306"
  },
  {
    "question": "What is Device taints and tolerations?",
    "answer": "I n s t e a d   o f   t a i n t i n g   e n t i r e   n o d e s ,   a d m i n i s t r a t o r s   c a n   a l s o   t a i n t   i n d i v i d u a l   d e v i c e s   w h e n   t h e   c l u s t e r   u s e s   d y n a m i c   r e s o u r c e   a l l o c a t i o n   t o   m a n a g e   s p e c i a l   h a r d w a r e .   T h e   a d v a n t a g e   i s   t h a t   t a i n t i n g   c a n   b e   t a r g e t e d   t o w a r d s   e x a c t l y   t h e   h a r d w a r e   t h a t   i s   f a u l t y   o r   n e e d s   m a i n t e n a n c e .   T o l e r a t i o n s   a r e   a l s o   s u p p o r t e d   a n d   c a n   b e   s p e c i f i e d   w h e n   r e q u e s t i n g   d e v i c e s .   L i k e   t a i n t s   t h e y   a p p l y   t o   a l l   p o d s   w h i c h   s h a r e   t h e   s a m e   a l l o c a t e d   d e v i c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/",
    "id": "k8s_00605_section_2_11307"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   N o d e - p r e s s u r e   E v i c t i o n   a n d   h o w   y o u   c a n   c o n f i g u r e   i t R e a d   a b o u t   P o d   P r i o r i t y R e a d   a b o u t   d e v i c e   t a i n t s   a n d   t o l e r a t i o n s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/",
    "id": "k8s_00605_section_2_11308"
  },
  {
    "question": "What is kubectl port-forward?",
    "answer": "kubectl port-forwardSynopsisForward one or more local ports to a pod.Use resource type/name such as deployment/mydeployment to select a pod. Resource type defaults to 'pod' if omitted.If there are multiple pods matching the criteria, a pod will be selected automatically. The forwarding session ends when the selected pod terminates, and a rerun of the command is needed to resume forwarding.kubectl port-forward TYPE/NAME [options] [LOCAL_PORT:]REMOTE_PORT [...[LOCAL_PORT_N:]REMOTE_PORT_N] Examples # Listen on ports 5000 and 6000 locally, forwarding data to/from ports 5000 and 6000 in the pod kubectl port-forward pod/mypod 5000 6000 # Listen on ports 5000 and 6000 locally, forwarding data to/from ports 5000 and 6000 in a pod selected by the deployment kubectl port-forward deployment/mydeployment 5000 6000 # Listen on port 8443 locally, forwarding to the targetPort of the service's port named \"https\" in a pod selected by the service kubectl port-forward service/myservice 8443:https # Listen on port 8888 locally, forwarding to 5000 in the pod kubectl port-forward pod/mypod 8888:5000 # Listen on port 8888 on all addresses, forwarding to 5000 in the pod kubectl port-forward --address 0.0.0.0 pod/mypod 8888:5000 # Listen on port 8888 on localhost and selected IP, forwarding to 5000 in the pod kubectl port-forward --address localhost,10.19.21.23 pod/mypod 8888:5000 # Listen on a random port locally, forwarding to 5000 in the pod kubectl port-forward pod/mypod :5000 Options--address strings Default: \"localhost\"Addresses to listen on (comma separated). Only accepts IP addresses or localhost as a value. When localhost is supplied, kubectl will try to bind on both 127.0.0.1 and ::1 and will fail if neither of these addresses are available to bind.-h, --helphelp for port-forward--pod-running-timeout duration Default: 1m0sThe length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one pod is runningParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This ca",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_port-forward/",
    "id": "k8s_00606_qa_11309"
  },
  {
    "question": "How does kubectl port-forward work?",
    "answer": "kubectl port-forwardSynopsisForward one or more local ports to a pod.Use resource type/name such as deployment/mydeployment to select a pod. Resource type defaults to 'pod' if omitted.If there are multiple pods matching the criteria, a pod will be selected automatically. The forwarding session ends when the selected pod terminates, and a rerun of the command is needed to resume forwarding.kubectl port-forward TYPE/NAME [options] [LOCAL_PORT:]REMOTE_PORT [...[LOCAL_PORT_N:]REMOTE_PORT_N] Examples # Listen on ports 5000 and 6000 locally, forwarding data to/from ports 5000 and 6000 in the pod kubectl port-forward pod/mypod 5000 6000 # Listen on ports 5000 and 6000 locally, forwarding data to/from ports 5000 and 6000 in a pod selected by the deployment kubectl port-forward deployment/mydeployment 5000 6000 # Listen on port 8443 locally, forwarding to the targetPort of the service's port named \"https\" in a pod selected by the service kubectl port-forward service/myservice 8443:https # Listen on port 8888 locally, forwarding to 5000 in the pod kubectl port-forward pod/mypod 8888:5000 # Listen on port 8888 on all addresses, forwarding to 5000 in the pod kubectl port-forward --address 0.0.0.0 pod/mypod 8888:5000 # Listen on port 8888 on localhost and selected IP, forwarding to 5000 in the pod kubectl port-forward --address localhost,10.19.21.23 pod/mypod 8888:5000 # Listen on a random port locally, forwarding to 5000 in the pod kubectl port-forward pod/mypod :5000 Options--address strings Default: \"localhost\"Addresses to listen on (comma separated). Only accepts IP addresses or localhost as a value. When localhost is supplied, kubectl will try to bind on both 127.0.0.1 and ::1 and will fail if neither of these addresses are available to bind.-h, --helphelp for port-forward--pod-running-timeout duration Default: 1m0sThe length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one pod is runningParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This ca",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_port-forward/",
    "id": "k8s_00606_qa_11310"
  },
  {
    "question": "When would you use kubectl port-forward?",
    "answer": "kubectl port-forwardSynopsisForward one or more local ports to a pod.Use resource type/name such as deployment/mydeployment to select a pod. Resource type defaults to 'pod' if omitted.If there are multiple pods matching the criteria, a pod will be selected automatically. The forwarding session ends when the selected pod terminates, and a rerun of the command is needed to resume forwarding.kubectl port-forward TYPE/NAME [options] [LOCAL_PORT:]REMOTE_PORT [...[LOCAL_PORT_N:]REMOTE_PORT_N] Examples # Listen on ports 5000 and 6000 locally, forwarding data to/from ports 5000 and 6000 in the pod kubectl port-forward pod/mypod 5000 6000 # Listen on ports 5000 and 6000 locally, forwarding data to/from ports 5000 and 6000 in a pod selected by the deployment kubectl port-forward deployment/mydeployment 5000 6000 # Listen on port 8443 locally, forwarding to the targetPort of the service's port named \"https\" in a pod selected by the service kubectl port-forward service/myservice 8443:https # Listen on port 8888 locally, forwarding to 5000 in the pod kubectl port-forward pod/mypod 8888:5000 # Listen on port 8888 on all addresses, forwarding to 5000 in the pod kubectl port-forward --address 0.0.0.0 pod/mypod 8888:5000 # Listen on port 8888 on localhost and selected IP, forwarding to 5000 in the pod kubectl port-forward --address localhost,10.19.21.23 pod/mypod 8888:5000 # Listen on a random port locally, forwarding to 5000 in the pod kubectl port-forward pod/mypod :5000 Options--address strings Default: \"localhost\"Addresses to listen on (comma separated). Only accepts IP addresses or localhost as a value. When localhost is supplied, kubectl will try to bind on both 127.0.0.1 and ::1 and will fail if neither of these addresses are available to bind.-h, --helphelp for port-forward--pod-running-timeout duration Default: 1m0sThe length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one pod is runningParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This ca",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_port-forward/",
    "id": "k8s_00606_qa_11311"
  },
  {
    "question": "What are the benefits of kubectl port-forward?",
    "answer": "kubectl port-forwardSynopsisForward one or more local ports to a pod.Use resource type/name such as deployment/mydeployment to select a pod. Resource type defaults to 'pod' if omitted.If there are multiple pods matching the criteria, a pod will be selected automatically. The forwarding session ends when the selected pod terminates, and a rerun of the command is needed to resume forwarding.kubectl port-forward TYPE/NAME [options] [LOCAL_PORT:]REMOTE_PORT [...[LOCAL_PORT_N:]REMOTE_PORT_N] Examples # Listen on ports 5000 and 6000 locally, forwarding data to/from ports 5000 and 6000 in the pod kubectl port-forward pod/mypod 5000 6000 # Listen on ports 5000 and 6000 locally, forwarding data to/from ports 5000 and 6000 in a pod selected by the deployment kubectl port-forward deployment/mydeployment 5000 6000 # Listen on port 8443 locally, forwarding to the targetPort of the service's port named \"https\" in a pod selected by the service kubectl port-forward service/myservice 8443:https # Listen on port 8888 locally, forwarding to 5000 in the pod kubectl port-forward pod/mypod 8888:5000 # Listen on port 8888 on all addresses, forwarding to 5000 in the pod kubectl port-forward --address 0.0.0.0 pod/mypod 8888:5000 # Listen on port 8888 on localhost and selected IP, forwarding to 5000 in the pod kubectl port-forward --address localhost,10.19.21.23 pod/mypod 8888:5000 # Listen on a random port locally, forwarding to 5000 in the pod kubectl port-forward pod/mypod :5000 Options--address strings Default: \"localhost\"Addresses to listen on (comma separated). Only accepts IP addresses or localhost as a value. When localhost is supplied, kubectl will try to bind on both 127.0.0.1 and ::1 and will fail if neither of these addresses are available to bind.-h, --helphelp for port-forward--pod-running-timeout duration Default: 1m0sThe length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one pod is runningParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This ca",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_port-forward/",
    "id": "k8s_00606_qa_11312"
  },
  {
    "question": "What is Synopsis?",
    "answer": "F o r w a r d   o n e   o r   m o r e   l o c a l   p o r t s   t o   a   p o d .   U s e   r e s o u r c e   t y p e / n a m e   s u c h   a s   d e p l o y m e n t / m y d e p l o y m e n t   t o   s e l e c t   a   p o d .   R e s o u r c e   t y p e   d e f a u l t s   t o   ' p o d '   i f   o m i t t e d .   I f   t h e r e   a r e   m u l t i p l e   p o d s   m a t c h i n g   t h e   c r i t e r i a ,   a   p o d   w i l l   b e   s e l e c t e d   a u t o m a t i c a l l y .   T h e   f o r w a r d i n g   s e s s i o n   e n d s   w h e n   t h e   s e l e c t e d   p o d   t e r m i n a t e s ,   a n d   a   r e r u n   o f   t h e   c o m m a n d   i s   n e e d e d   t o   r e s u m e   f o r w a r d i n g .   k u b e c t l   p o r t - f o r w a r d   T Y P E / N A M E   [ o p t i o n s ]   [ L O C A L _ P O R T : ] R E M O T E _ P O R T   [ . . . [ L O C A L _ P O R T _ N : ] R E M O T E _ P O R T _ N ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_port-forward/",
    "id": "k8s_00606_section_2_11313"
  },
  {
    "question": "What is Examples?",
    "answer": "#   L i s t e n   o n   p o r t s   5 0 0 0   a n d   6 0 0 0   l o c a l l y ,   f o r w a r d i n g   d a t a   t o / f r o m   p o r t s   5 0 0 0   a n d   6 0 0 0   i n   t h e   p o d   k u b e c t l   p o r t - f o r w a r d   p o d / m y p o d   5 0 0 0   6 0 0 0   #   L i s t e n   o n   p o r t s   5 0 0 0   a n d   6 0 0 0   l o c a l l y ,   f o r w a r d i n g   d a t a   t o / f r o m   p o r t s   5 0 0 0   a n d   6 0 0 0   i n   a   p o d   s e l e c t e d   b y   t h e   d e p l o y m e n t   k u b e c t l   p o r t - f o r w a r d   d e p l o y m e n t / m y d e p l o y m e n t   5 0 0 0   6 0 0 0   #   L i s t e n   o n   p o r t   8 4 4 3   l o c a l l y ,   f o r w a r d i n g   t o   t h e   t a r g e t P o r t   o f   t h e   s e r v i c e ' s   p o r t   n a m e d   \" h t t p s \"   i n   a   p o d   s e l e c t e d   b y   t h e   s e r v i c e   k u b e c t l   p o r t - f o r w a r d   s e r v i c e / m y s e r v i c e   8 4 4 3 : h t t p s   #   L i s t e n   o n   p o r t   8 8 8 8   l o c a l l y ,   f o r w a r d i n g   t o   5 0 0 0   i n   t h e   p o d   k u b e c t l   p o r t - f o r w a r d   p o d / m y p o d   8 8 8 8 : 5 0 0 0   #   L i s t e n   o n   p o r t   8 8 8 8   o n   a l l   a d d r e s s e s ,   f o r w a r d i n g   t o   5 0 0 0   i n   t h e   p o d   k u b e c t l   p o r t - f o r w a r d   - - a d d r e s s   0 . 0 . 0 . 0   p o d / m y p o d   8 8 8 8 : 5 0 0 0   #   L i s t e n   o n   p o r t   8 8 8 8   o n   l o c a l h o s t   a n d   s e l e c t e d   I P ,   f o r w a r d i n g   t o   5 0 0 0   i n   t h e   p o d   k u b e c t l   p o r t - f o r w a r d   - - a d d r e s s   l o c a l h o s t , 1 0 . 1 9 . 2 1 . 2 3   p o d / m y p o d   8 8 8 8 : 5 0 0 0   #   L i s t e n   o n   a   r a n d o m   p o r t   l o c a l l y ,   f o r w a r d i n g   t o   5 0 0 0   i n   t h e   p o d   k u b e c t l   p o r t - f o r w a r d   p o d / m y p o d   : 5 0 0 0",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_port-forward/",
    "id": "k8s_00606_section_2_11314"
  },
  {
    "question": "What is Options?",
    "answer": "A d d r e s s e s   t o   l i s t e n   o n   ( c o m m a   s e p a r a t e d ) .   O n l y   a c c e p t s   I P   a d d r e s s e s   o r   l o c a l h o s t   a s   a   v a l u e .   W h e n   l o c a l h o s t   i s   s u p p l i e d ,   k u b e c t l   w i l l   t r y   t o   b i n d   o n   b o t h   1 2 7 . 0 . 0 . 1   a n d   : : 1   a n d   w i l l   f a i l   i f   n e i t h e r   o f   t h e s e   a d d r e s s e s   a r e   a v a i l a b l e   t o   b i n d .   h e l p   f o r   p o r t - f o r w a r d   T h e   l e n g t h   o f   t i m e   ( l i k e   5 s ,   2 m ,   o r   3 h ,   h i g h e r   t h a n   z e r o )   t o   w a i t   u n t i l   a t   l e a s t   o n e   p o d   i s   r u n n i n g",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_port-forward/",
    "id": "k8s_00606_section_2_11315"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_port-forward/",
    "id": "k8s_00606_section_2_11316"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_port-forward/",
    "id": "k8s_00606_section_2_11317"
  },
  {
    "question": "What is MutatingAdmissionPolicyBinding v1alpha1?",
    "answer": "MutatingAdmissionPolicyBinding v1alpha1MutatingAdmissionPolicyBinding binds the MutatingAdmissionPolicy with parametrized resources.apiVersion: admissionregistration.k8s.io/v1alpha1import \"k8s.io/api/admissionregistration/v1alpha1\"MutatingAdmissionPolicyBindingMutatingAdmissionPolicyBinding binds the MutatingAdmissionPolicy with parametrized resources. MutatingAdmissionPolicyBinding and the optional parameter resource together define how cluster administrators configure policies for clusters.For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding. Each evaluation is constrained by a runtime cost budget.Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.apiVersion: admissionregistration.k8s.io/v1alpha1kind: MutatingAdmissionPolicyBindingmetadata (ObjectMeta)Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.spec (MutatingAdmissionPolicyBindingSpec)Specification of the desired behavior of the MutatingAdmissionPolicyBinding.MutatingAdmissionPolicyBindingSpec is the specification of the MutatingAdmissionPolicyBinding.spec.matchResources (MatchResources)matchResources limits what resources match this binding and may be mutated by it. Note that if matchResources matches a resource, the resource must also match a policy's matchConstraints and matchConditions before the resource may be mutated. When matchResources is unset, it does not constrain resource matching, and only the policy's matchConstraints and matchConditions must match for the resource to be mutated. Additionally, matchResources.resourceRules are optional and do not constraint matching when unset. Note that this is differs from MutatingAdmissionPolicy matchConstraints, where resourceRules are required. The CREATE, UPDATE and CONNECT operations are allowed. The DELETE operation may not be matched. '*' matches CREATE, UPDATE and CONNECT.MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)spec.matchResources.excludeResourceRules ([]NamedRuleWithOperations)Atomic: will be replaced during a mergeExcludeResourceRules describes what operations on what resources/subresources the policy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.spec.matchResources.excludeResourceRules.apiGroups ([]string)Atomic: will be replaced during a mergeAPIGroups is the API groups the resources belong to. '' is all groups. If '' is present, the length of the slice must be one. Req",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_qa_11318"
  },
  {
    "question": "How does MutatingAdmissionPolicyBinding v1alpha1 work?",
    "answer": "MutatingAdmissionPolicyBinding v1alpha1MutatingAdmissionPolicyBinding binds the MutatingAdmissionPolicy with parametrized resources.apiVersion: admissionregistration.k8s.io/v1alpha1import \"k8s.io/api/admissionregistration/v1alpha1\"MutatingAdmissionPolicyBindingMutatingAdmissionPolicyBinding binds the MutatingAdmissionPolicy with parametrized resources. MutatingAdmissionPolicyBinding and the optional parameter resource together define how cluster administrators configure policies for clusters.For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding. Each evaluation is constrained by a runtime cost budget.Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.apiVersion: admissionregistration.k8s.io/v1alpha1kind: MutatingAdmissionPolicyBindingmetadata (ObjectMeta)Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.spec (MutatingAdmissionPolicyBindingSpec)Specification of the desired behavior of the MutatingAdmissionPolicyBinding.MutatingAdmissionPolicyBindingSpec is the specification of the MutatingAdmissionPolicyBinding.spec.matchResources (MatchResources)matchResources limits what resources match this binding and may be mutated by it. Note that if matchResources matches a resource, the resource must also match a policy's matchConstraints and matchConditions before the resource may be mutated. When matchResources is unset, it does not constrain resource matching, and only the policy's matchConstraints and matchConditions must match for the resource to be mutated. Additionally, matchResources.resourceRules are optional and do not constraint matching when unset. Note that this is differs from MutatingAdmissionPolicy matchConstraints, where resourceRules are required. The CREATE, UPDATE and CONNECT operations are allowed. The DELETE operation may not be matched. '*' matches CREATE, UPDATE and CONNECT.MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)spec.matchResources.excludeResourceRules ([]NamedRuleWithOperations)Atomic: will be replaced during a mergeExcludeResourceRules describes what operations on what resources/subresources the policy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.spec.matchResources.excludeResourceRules.apiGroups ([]string)Atomic: will be replaced during a mergeAPIGroups is the API groups the resources belong to. '' is all groups. If '' is present, the length of the slice must be one. Req",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_qa_11319"
  },
  {
    "question": "When would you use MutatingAdmissionPolicyBinding v1alpha1?",
    "answer": "MutatingAdmissionPolicyBinding v1alpha1MutatingAdmissionPolicyBinding binds the MutatingAdmissionPolicy with parametrized resources.apiVersion: admissionregistration.k8s.io/v1alpha1import \"k8s.io/api/admissionregistration/v1alpha1\"MutatingAdmissionPolicyBindingMutatingAdmissionPolicyBinding binds the MutatingAdmissionPolicy with parametrized resources. MutatingAdmissionPolicyBinding and the optional parameter resource together define how cluster administrators configure policies for clusters.For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding. Each evaluation is constrained by a runtime cost budget.Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.apiVersion: admissionregistration.k8s.io/v1alpha1kind: MutatingAdmissionPolicyBindingmetadata (ObjectMeta)Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.spec (MutatingAdmissionPolicyBindingSpec)Specification of the desired behavior of the MutatingAdmissionPolicyBinding.MutatingAdmissionPolicyBindingSpec is the specification of the MutatingAdmissionPolicyBinding.spec.matchResources (MatchResources)matchResources limits what resources match this binding and may be mutated by it. Note that if matchResources matches a resource, the resource must also match a policy's matchConstraints and matchConditions before the resource may be mutated. When matchResources is unset, it does not constrain resource matching, and only the policy's matchConstraints and matchConditions must match for the resource to be mutated. Additionally, matchResources.resourceRules are optional and do not constraint matching when unset. Note that this is differs from MutatingAdmissionPolicy matchConstraints, where resourceRules are required. The CREATE, UPDATE and CONNECT operations are allowed. The DELETE operation may not be matched. '*' matches CREATE, UPDATE and CONNECT.MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)spec.matchResources.excludeResourceRules ([]NamedRuleWithOperations)Atomic: will be replaced during a mergeExcludeResourceRules describes what operations on what resources/subresources the policy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.spec.matchResources.excludeResourceRules.apiGroups ([]string)Atomic: will be replaced during a mergeAPIGroups is the API groups the resources belong to. '' is all groups. If '' is present, the length of the slice must be one. Req",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_qa_11320"
  },
  {
    "question": "What are the benefits of MutatingAdmissionPolicyBinding v1alpha1?",
    "answer": "MutatingAdmissionPolicyBinding v1alpha1MutatingAdmissionPolicyBinding binds the MutatingAdmissionPolicy with parametrized resources.apiVersion: admissionregistration.k8s.io/v1alpha1import \"k8s.io/api/admissionregistration/v1alpha1\"MutatingAdmissionPolicyBindingMutatingAdmissionPolicyBinding binds the MutatingAdmissionPolicy with parametrized resources. MutatingAdmissionPolicyBinding and the optional parameter resource together define how cluster administrators configure policies for clusters.For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding. Each evaluation is constrained by a runtime cost budget.Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.apiVersion: admissionregistration.k8s.io/v1alpha1kind: MutatingAdmissionPolicyBindingmetadata (ObjectMeta)Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.spec (MutatingAdmissionPolicyBindingSpec)Specification of the desired behavior of the MutatingAdmissionPolicyBinding.MutatingAdmissionPolicyBindingSpec is the specification of the MutatingAdmissionPolicyBinding.spec.matchResources (MatchResources)matchResources limits what resources match this binding and may be mutated by it. Note that if matchResources matches a resource, the resource must also match a policy's matchConstraints and matchConditions before the resource may be mutated. When matchResources is unset, it does not constrain resource matching, and only the policy's matchConstraints and matchConditions must match for the resource to be mutated. Additionally, matchResources.resourceRules are optional and do not constraint matching when unset. Note that this is differs from MutatingAdmissionPolicy matchConstraints, where resourceRules are required. The CREATE, UPDATE and CONNECT operations are allowed. The DELETE operation may not be matched. '*' matches CREATE, UPDATE and CONNECT.MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)spec.matchResources.excludeResourceRules ([]NamedRuleWithOperations)Atomic: will be replaced during a mergeExcludeResourceRules describes what operations on what resources/subresources the policy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.spec.matchResources.excludeResourceRules.apiGroups ([]string)Atomic: will be replaced during a mergeAPIGroups is the API groups the resources belong to. '' is all groups. If '' is present, the length of the slice must be one. Req",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_qa_11321"
  },
  {
    "question": "What is MutatingAdmissionPolicyBinding v1alpha1?",
    "answer": "a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1   i m p o r t   \" k 8 s . i o / a p i / a d m i s s i o n r e g i s t r a t i o n / v 1 a l p h a 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_section_1_11322"
  },
  {
    "question": "What is MutatingAdmissionPolicyBinding?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   b i n d s   t h e   M u t a t i n g A d m i s s i o n P o l i c y   w i t h   p a r a m e t r i z e d   r e s o u r c e s .   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   a n d   t h e   o p t i o n a l   p a r a m e t e r   r e s o u r c e   t o g e t h e r   d e f i n e   h o w   c l u s t e r   a d m i n i s t r a t o r s   c o n f i g u r e   p o l i c i e s   f o r   c l u s t e r s .   F o r   a   g i v e n   a d m i s s i o n   r e q u e s t ,   e a c h   b i n d i n g   w i l l   c a u s e   i t s   p o l i c y   t o   b e   e v a l u a t e d   N   t i m e s ,   w h e r e   N   i s   1   f o r   p o l i c i e s / b i n d i n g s   t h a t   d o n ' t   u s e   p a r a m s ,   o t h e r w i s e   N   i s   t h e   n u m b e r   o f   p a r a m e t e r s   s e l e c t e d   b y   t h e   b i n d i n g .   E a c h   e v a l u a t i o n   i s   c o n s t r a i n e d   b y   a   r u n t i m e   c o s t   b u d g e t .   A d d i n g / r e m o v i n g   p o l i c i e s ,   b i n d i n g s ,   o r   p a r a m s   c a n   n o t   a f f e c t   w h e t h e r   a   g i v e n   ( p o l i c y ,   b i n d i n g ,   p a r a m )   c o m b i n a t i o n   i s   w i t h i n   i t s   o w n   C E L   b u d g e t .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 k i n d :   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a . s p e c   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_section_2_11323"
  },
  {
    "question": "What is MutatingAdmissionPolicy?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y   d e s c r i b e s   t h e   d e f i n i t i o n   o f   a n   a d m i s s i o n   m u t a t i o n   p o l i c y   t h a t   m u t a t e s   t h e   o b j e c t   c o m i n g   i n t o   a d m i s s i o n   c h a i n .   a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a . s p e c   ( M u t a t i n g A d m i s s i o n P o l i c y S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y . M ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_section_2_11324"
  },
  {
    "question": "What is MutatingAdmissionPolicyBindingList?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g L i s t   i s   a   l i s t   o f   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g .   i t e m s   ( [ ] M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) ,   r e q u i r e d L i s t   o f   P o l i c y B i n d i n g . a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) ,   r e q u i r e d   L i s t   o f   P o l i c y B i n d i n g .   a p i V e r s i o n   ( s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_section_2_11325"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_section_4_11326"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_section_4_11327"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_section_4_11328"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_section_4_11329"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_section_4_11330"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_section_4_11331"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_section_4_11332"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_section_4_11333"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   O K   2 0 1   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   C r e a t e d   2 0 2   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_section_4_11334"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_section_4_11335"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g b o d y :   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   b o d y :   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_section_4_11336"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   O K   2 0 1   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_section_4_11337"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_section_4_11338"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_section_4_11339"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   O K   2 0 1   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_section_4_11340"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_section_4_11341"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_section_4_11342"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_section_4_11343"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_section_4_11344"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_section_4_11345"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/mutating-admission-policy-binding-v1alpha1/",
    "id": "k8s_00607_section_4_11346"
  },
  {
    "question": "What is Quantity?",
    "answer": "QuantityQuantity is a fixed-point representation of a number.import \"k8s.io/apimachinery/pkg/api/resource\"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.The serialization format is: \\<quantity> ::= \\<signedNumber>\\<suffix> (Note that \\<suffix> may be empty, from the \"\" case in \\<decimalSI>.) \\<digit> ::= 0 | 1 | ... | 9 \\<digits> ::= \\<digit> | \\<digit>\\<digits> \\<number> ::= \\<digits> | \\<digits>.\\<digits> | \\<digits>. | .\\<digits> \\<sign> ::= \"+\" | \"-\" \\<signedNumber> ::= \\<number> | \\<sign>\\<number> \\<suffix> ::= \\<binarySI> | \\<decimalExponent> | \\<decimalSI> \\<binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) \\<decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) \\<decimalExponent> ::= \"e\" \\<signedNumber> | \"E\" \\<signedNumber> No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.The sign will be omitted unless the number is negative.Examples:1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/",
    "id": "k8s_00608_qa_11347"
  },
  {
    "question": "How does Quantity work?",
    "answer": "QuantityQuantity is a fixed-point representation of a number.import \"k8s.io/apimachinery/pkg/api/resource\"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.The serialization format is: \\<quantity> ::= \\<signedNumber>\\<suffix> (Note that \\<suffix> may be empty, from the \"\" case in \\<decimalSI>.) \\<digit> ::= 0 | 1 | ... | 9 \\<digits> ::= \\<digit> | \\<digit>\\<digits> \\<number> ::= \\<digits> | \\<digits>.\\<digits> | \\<digits>. | .\\<digits> \\<sign> ::= \"+\" | \"-\" \\<signedNumber> ::= \\<number> | \\<sign>\\<number> \\<suffix> ::= \\<binarySI> | \\<decimalExponent> | \\<decimalSI> \\<binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) \\<decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) \\<decimalExponent> ::= \"e\" \\<signedNumber> | \"E\" \\<signedNumber> No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.The sign will be omitted unless the number is negative.Examples:1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/",
    "id": "k8s_00608_qa_11348"
  },
  {
    "question": "When would you use Quantity?",
    "answer": "QuantityQuantity is a fixed-point representation of a number.import \"k8s.io/apimachinery/pkg/api/resource\"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.The serialization format is: \\<quantity> ::= \\<signedNumber>\\<suffix> (Note that \\<suffix> may be empty, from the \"\" case in \\<decimalSI>.) \\<digit> ::= 0 | 1 | ... | 9 \\<digits> ::= \\<digit> | \\<digit>\\<digits> \\<number> ::= \\<digits> | \\<digits>.\\<digits> | \\<digits>. | .\\<digits> \\<sign> ::= \"+\" | \"-\" \\<signedNumber> ::= \\<number> | \\<sign>\\<number> \\<suffix> ::= \\<binarySI> | \\<decimalExponent> | \\<decimalSI> \\<binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) \\<decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) \\<decimalExponent> ::= \"e\" \\<signedNumber> | \"E\" \\<signedNumber> No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.The sign will be omitted unless the number is negative.Examples:1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/",
    "id": "k8s_00608_qa_11349"
  },
  {
    "question": "What are the benefits of Quantity?",
    "answer": "QuantityQuantity is a fixed-point representation of a number.import \"k8s.io/apimachinery/pkg/api/resource\"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.The serialization format is: \\<quantity> ::= \\<signedNumber>\\<suffix> (Note that \\<suffix> may be empty, from the \"\" case in \\<decimalSI>.) \\<digit> ::= 0 | 1 | ... | 9 \\<digits> ::= \\<digit> | \\<digit>\\<digits> \\<number> ::= \\<digits> | \\<digits>.\\<digits> | \\<digits>. | .\\<digits> \\<sign> ::= \"+\" | \"-\" \\<signedNumber> ::= \\<number> | \\<sign>\\<number> \\<suffix> ::= \\<binarySI> | \\<decimalExponent> | \\<decimalSI> \\<binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) \\<decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) \\<decimalExponent> ::= \"e\" \\<signedNumber> | \"E\" \\<signedNumber> No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.The sign will be omitted unless the number is negative.Examples:1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/",
    "id": "k8s_00608_qa_11350"
  },
  {
    "question": "What is Quantity?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i m a c h i n e r y / p k g / a p i / r e s o u r c e \"   Q u a n t i t y   i s   a   f i x e d - p o i n t   r e p r e s e n t a t i o n   o f   a   n u m b e r .   I t   p r o v i d e s   c o n v e n i e n t   m a r s h a l i n g / u n m a r s h a l i n g   i n   J S O N   a n d   Y A M L ,   i n   a d d i t i o n   t o   S t r i n g ( )   a n d   A s I n t 6 4 ( )   a c c e s s o r s .   T h e   s e r i a l i z a t i o n   f o r m a t   i s :   \\ < q u a n t i t y >   : : =   \\ < s i g n e d N u m b e r > \\ < s u f f i x >   ( N o t e   t h a t   \\ < s u f f i x >   m a y   b e   e m p t y ,   f r o m   t h e   \" \"   c a s e   i n   \\ < d e c i m a l S I > . )   \\ < d i g i t >   : : =   0   |   1   |   . . .   |   9   \\ < d i g i t s >   : : =   \\ < d i g i t >   |   \\ < d i g i t > \\ < d i g i t s >   \\ < n u m b e r >   : : =   \\ < d i g i t s >   |   \\ < d i g i t s > . \\ < d i g i t s >   |   \\ < d i g i t s > .   |   . \\ < d i g i t s >   \\ < s i g n >   : : =   \" + \"   |   \" - \"   \\ < s i g n e d N u m b e r >   : : =   \\ < n u m b e r >   |   \\ < s i g n > \\ < n u m b e r >   \\ < s u f f i x >   : : =   \\ < b i n a r y S I >   |   \\ < d e c i m a l E x p o n e n t >   |   \\ < d e c i m a l S I >   \\ < b i n a r y S I >   : : =   K i   |   M i   |   G i   |   T i   |   P i   |   E i   ( I n t e r n a t i o n a l   S y s t e m   o f   u n i t s ;   S e e :   h t t p : / / p h y s i c s . n i s t . g o v / c u u / U n i t s / b i n a r y . h t m l )   \\ < d e c i m a l S I >   : : =   m   |   \" \"   |   k   |   M   |   G   |   T   |   P   |   E   ( N o t e   t h a t   1 0 2 4   =   1 K i   b u t   1 0 0 0   =   1 k ;   I   d i d n ' t   c h o o s e   t h e   c a p i t a l i z a t i o n . )   \\ < d e c i m a l E x p o n e n t >   : : =   \" e \"   \\ < s i g n e d N u m b e r >   |   \" E \"   \\ < s i g n e d N u m b e r >   N o   m a t t e r   w h i c h   o f   t h e   t h r e e   e x p o n e n t   f o r m s   i s   u s e d ,   n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/",
    "id": "k8s_00608_section_1_11351"
  },
  {
    "question": "What is API Priority and Fairness?",
    "answer": "API Priority and FairnessFEATURE STATE: Kubernetes v1.29 [stable]Controlling the behavior of the Kubernetes API server in an overload situation is a key task for cluster administrators. The kube-apiserver has some controls available (i.e. the --max-requests-inflight and --max-mutating-requests-inflight command-line flags) to limit the amount of outstanding work that will be accepted, preventing a flood of inbound requests from overloading and potentially crashing the API server, but these flags are not enough to ensure that the most important requests get through in a period of high traffic.The API Priority and Fairness feature (APF) is an alternative that improves upon aforementioned max-inflight limitations. APF classifies and isolates requests in a more fine-grained way. It also introduces a limited amount of queuing, so that no requests are rejected in cases of very brief bursts. Requests are dispatched from queues using a fair queuing technique so that, for example, a poorly-behaved controller need not starve others (even at the same priority level).This feature is designed to work well with standard controllers, which use informers and react to failures of API requests with exponential back-off, and other clients that also work this way.Caution:Some requests classified as \"long-running\"—such as remote command execution or log tailing—are not subject to the API Priority and Fairness filter. This is also true for the --max-requests-inflight flag without the API Priority and Fairness feature enabled. API Priority and Fairness does apply to watch requests. When API Priority and Fairness is disabled, watch requests are not subject to the --max-requests-inflight limit.Enabling/Disabling API Priority and FairnessThe API Priority and Fairness feature is controlled by a command-line flag and is enabled by default. See Options for a general explanation of the available kube-apiserver command-line options and how to enable and disable them. The name of the command-line option for APF is \"--enable-priority-and-fairness\". This feature also involves an API Group with: (a) a stable v1 version, introduced in 1.29, and enabled by default (b) a v1beta3 version, enabled by default, and deprecated in v1.29. You can disable the API group beta version v1beta3 by adding the following command-line flags to your kube-apiserver invocation:kube-apiserver \\ --runtime-config=flowcontrol.apiserver.k8s.io/v1beta3=false \\ # …and other flags as usual The command-line flag --enable-priority-and-fairness=false will disable the API Priority and Fairness feature.Recursive server scenariosAPI Priority and Fairness must be used carefully in recursive server scenarios. These are scenarios in which some server A, while serving a request, issues a subsidiary request to some server B. Perhaps server B might even make a further subsidiary call back to server A. In situations where Priority and Fairness control is applied to both the original request and some subsidiary ones(s), no ma",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_qa_11352"
  },
  {
    "question": "How does API Priority and Fairness work?",
    "answer": "API Priority and FairnessFEATURE STATE: Kubernetes v1.29 [stable]Controlling the behavior of the Kubernetes API server in an overload situation is a key task for cluster administrators. The kube-apiserver has some controls available (i.e. the --max-requests-inflight and --max-mutating-requests-inflight command-line flags) to limit the amount of outstanding work that will be accepted, preventing a flood of inbound requests from overloading and potentially crashing the API server, but these flags are not enough to ensure that the most important requests get through in a period of high traffic.The API Priority and Fairness feature (APF) is an alternative that improves upon aforementioned max-inflight limitations. APF classifies and isolates requests in a more fine-grained way. It also introduces a limited amount of queuing, so that no requests are rejected in cases of very brief bursts. Requests are dispatched from queues using a fair queuing technique so that, for example, a poorly-behaved controller need not starve others (even at the same priority level).This feature is designed to work well with standard controllers, which use informers and react to failures of API requests with exponential back-off, and other clients that also work this way.Caution:Some requests classified as \"long-running\"—such as remote command execution or log tailing—are not subject to the API Priority and Fairness filter. This is also true for the --max-requests-inflight flag without the API Priority and Fairness feature enabled. API Priority and Fairness does apply to watch requests. When API Priority and Fairness is disabled, watch requests are not subject to the --max-requests-inflight limit.Enabling/Disabling API Priority and FairnessThe API Priority and Fairness feature is controlled by a command-line flag and is enabled by default. See Options for a general explanation of the available kube-apiserver command-line options and how to enable and disable them. The name of the command-line option for APF is \"--enable-priority-and-fairness\". This feature also involves an API Group with: (a) a stable v1 version, introduced in 1.29, and enabled by default (b) a v1beta3 version, enabled by default, and deprecated in v1.29. You can disable the API group beta version v1beta3 by adding the following command-line flags to your kube-apiserver invocation:kube-apiserver \\ --runtime-config=flowcontrol.apiserver.k8s.io/v1beta3=false \\ # …and other flags as usual The command-line flag --enable-priority-and-fairness=false will disable the API Priority and Fairness feature.Recursive server scenariosAPI Priority and Fairness must be used carefully in recursive server scenarios. These are scenarios in which some server A, while serving a request, issues a subsidiary request to some server B. Perhaps server B might even make a further subsidiary call back to server A. In situations where Priority and Fairness control is applied to both the original request and some subsidiary ones(s), no ma",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_qa_11353"
  },
  {
    "question": "When would you use API Priority and Fairness?",
    "answer": "API Priority and FairnessFEATURE STATE: Kubernetes v1.29 [stable]Controlling the behavior of the Kubernetes API server in an overload situation is a key task for cluster administrators. The kube-apiserver has some controls available (i.e. the --max-requests-inflight and --max-mutating-requests-inflight command-line flags) to limit the amount of outstanding work that will be accepted, preventing a flood of inbound requests from overloading and potentially crashing the API server, but these flags are not enough to ensure that the most important requests get through in a period of high traffic.The API Priority and Fairness feature (APF) is an alternative that improves upon aforementioned max-inflight limitations. APF classifies and isolates requests in a more fine-grained way. It also introduces a limited amount of queuing, so that no requests are rejected in cases of very brief bursts. Requests are dispatched from queues using a fair queuing technique so that, for example, a poorly-behaved controller need not starve others (even at the same priority level).This feature is designed to work well with standard controllers, which use informers and react to failures of API requests with exponential back-off, and other clients that also work this way.Caution:Some requests classified as \"long-running\"—such as remote command execution or log tailing—are not subject to the API Priority and Fairness filter. This is also true for the --max-requests-inflight flag without the API Priority and Fairness feature enabled. API Priority and Fairness does apply to watch requests. When API Priority and Fairness is disabled, watch requests are not subject to the --max-requests-inflight limit.Enabling/Disabling API Priority and FairnessThe API Priority and Fairness feature is controlled by a command-line flag and is enabled by default. See Options for a general explanation of the available kube-apiserver command-line options and how to enable and disable them. The name of the command-line option for APF is \"--enable-priority-and-fairness\". This feature also involves an API Group with: (a) a stable v1 version, introduced in 1.29, and enabled by default (b) a v1beta3 version, enabled by default, and deprecated in v1.29. You can disable the API group beta version v1beta3 by adding the following command-line flags to your kube-apiserver invocation:kube-apiserver \\ --runtime-config=flowcontrol.apiserver.k8s.io/v1beta3=false \\ # …and other flags as usual The command-line flag --enable-priority-and-fairness=false will disable the API Priority and Fairness feature.Recursive server scenariosAPI Priority and Fairness must be used carefully in recursive server scenarios. These are scenarios in which some server A, while serving a request, issues a subsidiary request to some server B. Perhaps server B might even make a further subsidiary call back to server A. In situations where Priority and Fairness control is applied to both the original request and some subsidiary ones(s), no ma",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_qa_11354"
  },
  {
    "question": "What are the benefits of API Priority and Fairness?",
    "answer": "API Priority and FairnessFEATURE STATE: Kubernetes v1.29 [stable]Controlling the behavior of the Kubernetes API server in an overload situation is a key task for cluster administrators. The kube-apiserver has some controls available (i.e. the --max-requests-inflight and --max-mutating-requests-inflight command-line flags) to limit the amount of outstanding work that will be accepted, preventing a flood of inbound requests from overloading and potentially crashing the API server, but these flags are not enough to ensure that the most important requests get through in a period of high traffic.The API Priority and Fairness feature (APF) is an alternative that improves upon aforementioned max-inflight limitations. APF classifies and isolates requests in a more fine-grained way. It also introduces a limited amount of queuing, so that no requests are rejected in cases of very brief bursts. Requests are dispatched from queues using a fair queuing technique so that, for example, a poorly-behaved controller need not starve others (even at the same priority level).This feature is designed to work well with standard controllers, which use informers and react to failures of API requests with exponential back-off, and other clients that also work this way.Caution:Some requests classified as \"long-running\"—such as remote command execution or log tailing—are not subject to the API Priority and Fairness filter. This is also true for the --max-requests-inflight flag without the API Priority and Fairness feature enabled. API Priority and Fairness does apply to watch requests. When API Priority and Fairness is disabled, watch requests are not subject to the --max-requests-inflight limit.Enabling/Disabling API Priority and FairnessThe API Priority and Fairness feature is controlled by a command-line flag and is enabled by default. See Options for a general explanation of the available kube-apiserver command-line options and how to enable and disable them. The name of the command-line option for APF is \"--enable-priority-and-fairness\". This feature also involves an API Group with: (a) a stable v1 version, introduced in 1.29, and enabled by default (b) a v1beta3 version, enabled by default, and deprecated in v1.29. You can disable the API group beta version v1beta3 by adding the following command-line flags to your kube-apiserver invocation:kube-apiserver \\ --runtime-config=flowcontrol.apiserver.k8s.io/v1beta3=false \\ # …and other flags as usual The command-line flag --enable-priority-and-fairness=false will disable the API Priority and Fairness feature.Recursive server scenariosAPI Priority and Fairness must be used carefully in recursive server scenarios. These are scenarios in which some server A, while serving a request, issues a subsidiary request to some server B. Perhaps server B might even make a further subsidiary call back to server A. In situations where Priority and Fairness control is applied to both the original request and some subsidiary ones(s), no ma",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_qa_11355"
  },
  {
    "question": "What is API Priority and Fairness?",
    "answer": "C o n t r o l l i n g   t h e   b e h a v i o r   o f   t h e   K u b e r n e t e s   A P I   s e r v e r   i n   a n   o v e r l o a d   s i t u a t i o n   i s   a   k e y   t a s k   f o r   c l u s t e r   a d m i n i s t r a t o r s .   T h e   k u b e - a p i s e r v e r   h a s   s o m e   c o n t r o l s   a v a i l a b l e   ( i . e .   t h e   - - m a x - r e q u e s t s - i n f l i g h t   a n d   - - m a x - m u t a t i n g - r e q u e s t s - i n f l i g h t   c o m m a n d - l i n e   f l a g s )   t o   l i m i t   t h e   a m o u n t   o f   o u t s t a n d i n g   w o r k   t h a t   w i l l   b e   a c c e p t e d ,   p r e v e n t i n g   a   f l o o d   o f   i n b o u n d   r e q u e s t s   f r o m   o v e r l o a d i n g   a n d   p o t e n t i a l l y   c r a s h i n g   t h e   A P I   s e r v e r ,   b u t   t h e s e   f l a g s   a r e   n o t   e n o u g h   t o   e n s u r e   t h a t   t h e   m o s t   i m p o r t a n t   r e q u e s t s   g e t   t h r o u g h   i n   a   p e r i o d   o f   h i g h   t r a f f i c .   T h e   A P I   P r i o r i t y   a n d   F a i r n e s s   f e a t u r e   ( A P F )   i s   a n   a l t e r n a t i v e   t h a t   i m p r o v e s   u p o n   a f o r e m e n t i o n e d   m a x - i n f l i g h t   l i m i t a t i o n s .   A P F   c l a s s i f i e s   a n d   i s o l a t e s   r e q u e s t s   i n   a   m o r e   f i n e - g r a i n e d   w a y .   I t   a l s o   i n t r o d u c e s   a   l i m i t e d   a m o u n t   o f   q u e u i n g ,   s o   t h a t   n o   r e q u e s t s   a r e   r e j e c t e d   i n   c a s e s   o f   v e r y   b r i e f   b u r s t s .   R e q u e s t s   a r e   d i s p a t c h e d   f r o m   q u e u e s   u s i n g   a   f a i r   q u e u i n g   t e c h n i q u e   s o   t h a t ,   f o r   e x a m p l e ,   a   p o o r l y - b e h a v e d   c o n t r o l l e r   n e e d   n o t   s t a r v e   o t h e r s   ( e v e n   a t   t h e   s a m e   p r i o r i t y   ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_1_11356"
  },
  {
    "question": "What is Enabling/Disabling API Priority and Fairness?",
    "answer": "T h e   A P I   P r i o r i t y   a n d   F a i r n e s s   f e a t u r e   i s   c o n t r o l l e d   b y   a   c o m m a n d - l i n e   f l a g   a n d   i s   e n a b l e d   b y   d e f a u l t .   S e e   O p t i o n s   f o r   a   g e n e r a l   e x p l a n a t i o n   o f   t h e   a v a i l a b l e   k u b e - a p i s e r v e r   c o m m a n d - l i n e   o p t i o n s   a n d   h o w   t o   e n a b l e   a n d   d i s a b l e   t h e m .   T h e   n a m e   o f   t h e   c o m m a n d - l i n e   o p t i o n   f o r   A P F   i s   \" - - e n a b l e - p r i o r i t y - a n d - f a i r n e s s \" .   T h i s   f e a t u r e   a l s o   i n v o l v e s   a n   A P I   G r o u p   w i t h :   ( a )   a   s t a b l e   v 1   v e r s i o n ,   i n t r o d u c e d   i n   1 . 2 9 ,   a n d   e n a b l e d   b y   d e f a u l t   ( b )   a   v 1 b e t a 3   v e r s i o n ,   e n a b l e d   b y   d e f a u l t ,   a n d   d e p r e c a t e d   i n   v 1 . 2 9 .   Y o u   c a n   d i s a b l e   t h e   A P I   g r o u p   b e t a   v e r s i o n   v 1 b e t a 3   b y   a d d i n g   t h e   f o l l o w i n g   c o m m a n d - l i n e   f l a g s   t o   y o u r   k u b e - a p i s e r v e r   i n v o c a t i o n :   k u b e - a p i s e r v e r   \\   - - r u n t i m e - c o n f i g = f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 b e t a 3 = f a l s e   \\   #   … a n d   o t h e r   f l a g s   a s   u s u a l   T h e   c o m m a n d - l i n e   f l a g   - - e n a b l e - p r i o r i t y - a n d - f a i r n e s s = f a l s e   w i l l   d i s a b l e   t h e   A P I   P r i o r i t y   a n d   F a i r n e s s   f e a t u r e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_2_11357"
  },
  {
    "question": "What is Recursive server scenarios?",
    "answer": "A P I   P r i o r i t y   a n d   F a i r n e s s   m u s t   b e   u s e d   c a r e f u l l y   i n   r e c u r s i v e   s e r v e r   s c e n a r i o s .   T h e s e   a r e   s c e n a r i o s   i n   w h i c h   s o m e   s e r v e r   A ,   w h i l e   s e r v i n g   a   r e q u e s t ,   i s s u e s   a   s u b s i d i a r y   r e q u e s t   t o   s o m e   s e r v e r   B .   P e r h a p s   s e r v e r   B   m i g h t   e v e n   m a k e   a   f u r t h e r   s u b s i d i a r y   c a l l   b a c k   t o   s e r v e r   A .   I n   s i t u a t i o n s   w h e r e   P r i o r i t y   a n d   F a i r n e s s   c o n t r o l   i s   a p p l i e d   t o   b o t h   t h e   o r i g i n a l   r e q u e s t   a n d   s o m e   s u b s i d i a r y   o n e s ( s ) ,   n o   m a t t e r   h o w   d e e p   i n   t h e   r e c u r s i o n ,   t h e r e   i s   a   d a n g e r   o f   p r i o r i t y   i n v e r s i o n s   a n d / o r   d e a d l o c k s .   O n e   e x a m p l e   o f   r e c u r s i o n   i s   w h e n   t h e   k u b e - a p i s e r v e r   i s s u e s   a n   a d m i s s i o n   w e b h o o k   c a l l   t o   s e r v e r   B ,   a n d   w h i l e   s e r v i n g   t h a t   c a l l ,   s e r v e r   B   m a k e s   a   f u r t h e r   s u b s i d i a r y   r e q u e s t   b a c k   t o   t h e   k u b e - a p i s e r v e r .   A n o t h e r   e x a m p l e   o f   r e c u r s i o n   i s   w h e n   a n   A P I S e r v i c e   o b j e c t   d i r e c t s   t h e   k u b e - a p i s e r v e r   t o   d e l e g a t e   r e q u e s t s   a b o u t   a   c e r t a i n   A P I   g r o u p   t o   a   c u s t o m   e x t e r n a l   s e r v e r   B   ( t h i s   i s   o n e   o f   t h e   t h i n g s   c a l l e d   \" a g g r e g a t i o n \" ) .   W h e n   t h e   o r i g i n a l   r e q u e s t   i s   k n o w n   t o   b e l o n g   t o   a   c e r t a i n   p r i o r i t y   l e v e l ,   a n d   t h e   s u b s i d i a r y   c o n t r o l l e ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_2_11358"
  },
  {
    "question": "What is Concepts?",
    "answer": "T h e r e   a r e   s e v e r a l   d i s t i n c t   f e a t u r e s   i n v o l v e d   i n   t h e   A P I   P r i o r i t y   a n d   F a i r n e s s   f e a t u r e .   I n c o m i n g   r e q u e s t s   a r e   c l a s s i f i e d   b y   a t t r i b u t e s   o f   t h e   r e q u e s t   u s i n g   F l o w S c h e m a s ,   a n d   a s s i g n e d   t o   p r i o r i t y   l e v e l s .   P r i o r i t y   l e v e l s   a d d   a   d e g r e e   o f   i s o l a t i o n   b y   m a i n t a i n i n g   s e p a r a t e   c o n c u r r e n c y   l i m i t s ,   s o   t h a t   r e q u e s t s   a s s i g n e d   t o   d i f f e r e n t   p r i o r i t y   l e v e l s   c a n n o t   s t a r v e   e a c h   o t h e r .   W i t h i n   a   p r i o r i t y   l e v e l ,   a   f a i r - q u e u i n g   a l g o r i t h m   p r e v e n t s   r e q u e s t s   f r o m   d i f f e r e n t   f l o w s   f r o m   s t a r v i n g   e a c h   o t h e r ,   a n d   a l l o w s   f o r   r e q u e s t s   t o   b e   q u e u e d   t o   p r e v e n t   b u r s t y   t r a f f i c   f r o m   c a u s i n g   f a i l e d   r e q u e s t s   w h e n   t h e   a v e r a g e   l o a d   i s   a c c e p t a b l y   l o w .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_2_11359"
  },
  {
    "question": "What is Priority Levels?",
    "answer": "W i t h o u t   A P F   e n a b l e d ,   o v e r a l l   c o n c u r r e n c y   i n   t h e   A P I   s e r v e r   i s   l i m i t e d   b y   t h e   k u b e - a p i s e r v e r   f l a g s   - - m a x - r e q u e s t s - i n f l i g h t   a n d   - - m a x - m u t a t i n g - r e q u e s t s - i n f l i g h t .   W i t h   A P F   e n a b l e d ,   t h e   c o n c u r r e n c y   l i m i t s   d e f i n e d   b y   t h e s e   f l a g s   a r e   s u m m e d   a n d   t h e n   t h e   s u m   i s   d i v i d e d   u p   a m o n g   a   c o n f i g u r a b l e   s e t   o f   p r i o r i t y   l e v e l s .   E a c h   i n c o m i n g   r e q u e s t   i s   a s s i g n e d   t o   a   s i n g l e   p r i o r i t y   l e v e l ,   a n d   e a c h   p r i o r i t y   l e v e l   w i l l   o n l y   d i s p a t c h   a s   m a n y   c o n c u r r e n t   r e q u e s t s   a s   i t s   p a r t i c u l a r   l i m i t   a l l o w s .   T h e   d e f a u l t   c o n f i g u r a t i o n ,   f o r   e x a m p l e ,   i n c l u d e s   s e p a r a t e   p r i o r i t y   l e v e l s   f o r   l e a d e r - e l e c t i o n   r e q u e s t s ,   r e q u e s t s   f r o m   b u i l t - i n   c o n t r o l l e r s ,   a n d   r e q u e s t s   f r o m   P o d s .   T h i s   m e a n s   t h a t   a n   i l l - b e h a v e d   P o d   t h a t   f l o o d s   t h e   A P I   s e r v e r   w i t h   r e q u e s t s   c a n n o t   p r e v e n t   l e a d e r   e l e c t i o n   o r   a c t i o n s   b y   t h e   b u i l t - i n   c o n t r o l l e r s   f r o m   s u c c e e d i n g .   T h e   c o n c u r r e n c y   l i m i t s   o f   t h e   p r i o r i t y   l e v e l s   a r e   p e r i o d i c a l l y   a d j u s t e d ,   a l l o w i n g   u n d e r - u t i l i z e d   p r i o r i t y   l e v e l s   t o   t e m p o r a r i l y   l e n d   c o n c u r r e n c y   t o   h e a v i l y - u t i l i z e d   l e v e l s .   T h e s e   l i m i t s   a r e   b a s e d   o ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_3_11360"
  },
  {
    "question": "What is Seats Occupied by a Request?",
    "answer": "T h e   a b o v e   d e s c r i p t i o n   o f   c o n c u r r e n c y   m a n a g e m e n t   i s   t h e   b a s e l i n e   s t o r y .   R e q u e s t s   h a v e   d i f f e r e n t   d u r a t i o n s   b u t   a r e   c o u n t e d   e q u a l l y   a t   a n y   g i v e n   m o m e n t   w h e n   c o m p a r i n g   a g a i n s t   a   p r i o r i t y   l e v e l ' s   c o n c u r r e n c y   l i m i t .   I n   t h e   b a s e l i n e   s t o r y ,   e a c h   r e q u e s t   o c c u p i e s   o n e   u n i t   o f   c o n c u r r e n c y .   T h e   w o r d   \" s e a t \"   i s   u s e d   t o   m e a n   o n e   u n i t   o f   c o n c u r r e n c y ,   i n s p i r e d   b y   t h e   w a y   e a c h   p a s s e n g e r   o n   a   t r a i n   o r   a i r c r a f t   t a k e s   u p   o n e   o f   t h e   f i x e d   s u p p l y   o f   s e a t s .   B u t   s o m e   r e q u e s t s   t a k e   u p   m o r e   t h a n   o n e   s e a t .   S o m e   o f   t h e s e   a r e   l i s t   r e q u e s t s   t h a t   t h e   s e r v e r   e s t i m a t e s   w i l l   r e t u r n   a   l a r g e   n u m b e r   o f   o b j e c t s .   T h e s e   h a v e   b e e n   f o u n d   t o   p u t   a n   e x c e p t i o n a l l y   h e a v y   b u r d e n   o n   t h e   s e r v e r .   F o r   t h i s   r e a s o n ,   t h e   s e r v e r   e s t i m a t e s   t h e   n u m b e r   o f   o b j e c t s   t h a t   w i l l   b e   r e t u r n e d   a n d   c o n s i d e r s   t h e   r e q u e s t   t o   t a k e   a   n u m b e r   o f   s e a t s   t h a t   i s   p r o p o r t i o n a l   t o   t h a t   e s t i m a t e d   n u m b e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_3_11361"
  },
  {
    "question": "What is Execution time tweaks for watch requests?",
    "answer": "A P I   P r i o r i t y   a n d   F a i r n e s s   m a n a g e s   w a t c h   r e q u e s t s ,   b u t   t h i s   i n v o l v e s   a   c o u p l e   m o r e   e x c u r s i o n s   f r o m   t h e   b a s e l i n e   b e h a v i o r .   T h e   f i r s t   c o n c e r n s   h o w   l o n g   a   w a t c h   r e q u e s t   i s   c o n s i d e r e d   t o   o c c u p y   i t s   s e a t .   D e p e n d i n g   o n   r e q u e s t   p a r a m e t e r s ,   t h e   r e s p o n s e   t o   a   w a t c h   r e q u e s t   m a y   o r   m a y   n o t   b e g i n   w i t h   c r e a t e   n o t i f i c a t i o n s   f o r   a l l   t h e   r e l e v a n t   p r e - e x i s t i n g   o b j e c t s .   A P I   P r i o r i t y   a n d   F a i r n e s s   c o n s i d e r s   a   w a t c h   r e q u e s t   t o   b e   d o n e   w i t h   i t s   s e a t   o n c e   t h a t   i n i t i a l   b u r s t   o f   n o t i f i c a t i o n s ,   i f   a n y ,   i s   o v e r .   T h e   n o r m a l   n o t i f i c a t i o n s   a r e   s e n t   i n   a   c o n c u r r e n t   b u r s t   t o   a l l   r e l e v a n t   w a t c h   r e s p o n s e   s t r e a m s   w h e n e v e r   t h e   s e r v e r   i s   n o t i f i e d   o f   a n   o b j e c t   c r e a t e / u p d a t e / d e l e t e .   T o   a c c o u n t   f o r   t h i s   w o r k ,   A P I   P r i o r i t y   a n d   F a i r n e s s   c o n s i d e r s   e v e r y   w r i t e   r e q u e s t   t o   s p e n d   s o m e   a d d i t i o n a l   t i m e   o c c u p y i n g   s e a t s   a f t e r   t h e   a c t u a l   w r i t i n g   i s   d o n e .   T h e   s e r v e r   e s t i m a t e s   t h e   n u m b e r   o f   n o t i f i c a t i o n s   t o   b e   s e n t   a n d   a d j u s t s   t h e   w r i t e   r e q u e s t ' s   n u m b e r   o f   s e a t s   a n d   s e a t   o c c u p a n c y   t i m e   t o   i n c l u d e   t h i s   e x t r a   w o r k .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_3_11362"
  },
  {
    "question": "What is Queuing?",
    "answer": "E v e n   w i t h i n   a   p r i o r i t y   l e v e l   t h e r e   m a y   b e   a   l a r g e   n u m b e r   o f   d i s t i n c t   s o u r c e s   o f   t r a f f i c .   I n   a n   o v e r l o a d   s i t u a t i o n ,   i t   i s   v a l u a b l e   t o   p r e v e n t   o n e   s t r e a m   o f   r e q u e s t s   f r o m   s t a r v i n g   o t h e r s   ( i n   p a r t i c u l a r ,   i n   t h e   r e l a t i v e l y   c o m m o n   c a s e   o f   a   s i n g l e   b u g g y   c l i e n t   f l o o d i n g   t h e   k u b e - a p i s e r v e r   w i t h   r e q u e s t s ,   t h a t   b u g g y   c l i e n t   w o u l d   i d e a l l y   n o t   h a v e   m u c h   m e a s u r a b l e   i m p a c t   o n   o t h e r   c l i e n t s   a t   a l l ) .   T h i s   i s   h a n d l e d   b y   u s e   o f   a   f a i r - q u e u i n g   a l g o r i t h m   t o   p r o c e s s   r e q u e s t s   t h a t   a r e   a s s i g n e d   t h e   s a m e   p r i o r i t y   l e v e l .   E a c h   r e q u e s t   i s   a s s i g n e d   t o   a   f l o w ,   i d e n t i f i e d   b y   t h e   n a m e   o f   t h e   m a t c h i n g   F l o w S c h e m a   p l u s   a   f l o w   d i s t i n g u i s h e r   —   w h i c h   i s   e i t h e r   t h e   r e q u e s t i n g   u s e r ,   t h e   t a r g e t   r e s o u r c e ' s   n a m e s p a c e ,   o r   n o t h i n g   —   a n d   t h e   s y s t e m   a t t e m p t s   t o   g i v e   a p p r o x i m a t e l y   e q u a l   w e i g h t   t o   r e q u e s t s   i n   d i f f e r e n t   f l o w s   o f   t h e   s a m e   p r i o r i t y   l e v e l .   T o   e n a b l e   d i s t i n c t   h a n d l i n g   o f   d i s t i n c t   i n s t a n c e s ,   c o n t r o l l e r s   t h a t   h a v e   m a n y   i n s t a n c e s   s h o u l d   a u t h e n t i c a t e   w i t h   d i s t i n c t   u s e r n a m e s   A f t e r   c l a s s i f y i n g   a   r e q u e s t   i n t o   a   f l o w ,   t h e   A P I   P ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_3_11363"
  },
  {
    "question": "What is Exempt requests?",
    "answer": "S o m e   r e q u e s t s   a r e   c o n s i d e r e d   s u f f i c i e n t l y   i m p o r t a n t   t h a t   t h e y   a r e   n o t   s u b j e c t   t o   a n y   o f   t h e   l i m i t a t i o n s   i m p o s e d   b y   t h i s   f e a t u r e .   T h e s e   e x e m p t i o n s   p r e v e n t   a n   i m p r o p e r l y - c o n f i g u r e d   f l o w   c o n t r o l   c o n f i g u r a t i o n   f r o m   t o t a l l y   d i s a b l i n g   a n   A P I   s e r v e r .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_3_11364"
  },
  {
    "question": "What is Resources?",
    "answer": "T h e   f l o w   c o n t r o l   A P I   i n v o l v e s   t w o   k i n d s   o f   r e s o u r c e s .   P r i o r i t y L e v e l C o n f i g u r a t i o n s   d e f i n e   t h e   a v a i l a b l e   p r i o r i t y   l e v e l s ,   t h e   s h a r e   o f   t h e   a v a i l a b l e   c o n c u r r e n c y   b u d g e t   t h a t   e a c h   c a n   h a n d l e ,   a n d   a l l o w   f o r   f i n e - t u n i n g   q u e u i n g   b e h a v i o r .   F l o w S c h e m a s   a r e   u s e d   t o   c l a s s i f y   i n d i v i d u a l   i n b o u n d   r e q u e s t s ,   m a t c h i n g   e a c h   t o   a   s i n g l e   P r i o r i t y L e v e l C o n f i g u r a t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_2_11365"
  },
  {
    "question": "What is PriorityLevelConfiguration?",
    "answer": "A   P r i o r i t y L e v e l C o n f i g u r a t i o n   r e p r e s e n t s   a   s i n g l e   p r i o r i t y   l e v e l .   E a c h   P r i o r i t y L e v e l C o n f i g u r a t i o n   h a s   a n   i n d e p e n d e n t   l i m i t   o n   t h e   n u m b e r   o f   o u t s t a n d i n g   r e q u e s t s ,   a n d   l i m i t a t i o n s   o n   t h e   n u m b e r   o f   q u e u e d   r e q u e s t s .   T h e   n o m i n a l   c o n c u r r e n c y   l i m i t   f o r   a   P r i o r i t y L e v e l C o n f i g u r a t i o n   i s   n o t   s p e c i f i e d   i n   a n   a b s o l u t e   n u m b e r   o f   s e a t s ,   b u t   r a t h e r   i n   \" n o m i n a l   c o n c u r r e n c y   s h a r e s . \"   T h e   t o t a l   c o n c u r r e n c y   l i m i t   f o r   t h e   A P I   S e r v e r   i s   d i s t r i b u t e d   a m o n g   t h e   e x i s t i n g   P r i o r i t y L e v e l C o n f i g u r a t i o n s   i n   p r o p o r t i o n   t o   t h e s e   s h a r e s ,   t o   g i v e   e a c h   l e v e l   i t s   n o m i n a l   l i m i t   i n   t e r m s   o f   s e a t s .   T h i s   a l l o w s   a   c l u s t e r   a d m i n i s t r a t o r   t o   s c a l e   u p   o r   d o w n   t h e   t o t a l   a m o u n t   o f   t r a f f i c   t o   a   s e r v e r   b y   r e s t a r t i n g   k u b e - a p i s e r v e r   w i t h   a   d i f f e r e n t   v a l u e   f o r   - - m a x - r e q u e s t s - i n f l i g h t   ( o r   - - m a x - m u t a t i n g - r e q u e s t s - i n f l i g h t ) ,   a n d   a l l   P r i o r i t y L e v e l C o n f i g u r a t i o n s   w i l l   s e e   t h e i r   m a x i m u m   a l l o w e d   c o n c u r r e n c y   g o   u p   ( o r   d o w n )   b y   t h e   s a m e   f r a c t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_3_11366"
  },
  {
    "question": "What is Caution:?",
    "answer": "T h e   b o u n d s   o n   h o w   m u c h   c o n c u r r e n c y   a   p r i o r i t y   l e v e l   m a y   l e n d   a n d   h o w   m u c h   i t   m a y   b o r r o w   a r e   e x p r e s s e d   i n   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   a s   p e r c e n t a g e s   o f   t h e   l e v e l ' s   n o m i n a l   l i m i t .   T h e s e   a r e   r e s o l v e d   t o   a b s o l u t e   n u m b e r s   o f   s e a t s   b y   m u l t i p l y i n g   w i t h   t h e   n o m i n a l   l i m i t   /   1 0 0 . 0   a n d   r o u n d i n g .   T h e   d y n a m i c a l l y   a d j u s t e d   c o n c u r r e n c y   l i m i t   o f   a   p r i o r i t y   l e v e l   i s   c o n s t r a i n e d   t o   l i e   b e t w e e n   ( a )   a   l o w e r   b o u n d   o f   i t s   n o m i n a l   l i m i t   m i n u s   i t s   l e n d a b l e   s e a t s   a n d   ( b )   a n   u p p e r   b o u n d   o f   i t s   n o m i n a l   l i m i t   p l u s   t h e   s e a t s   i t   m a y   b o r r o w .   A t   e a c h   a d j u s t m e n t   t h e   d y n a m i c   l i m i t s   a r e   d e r i v e d   b y   e a c h   p r i o r i t y   l e v e l   r e c l a i m i n g   a n y   l e n t   s e a t s   f o r   w h i c h   d e m a n d   r e c e n t l y   a p p e a r e d   a n d   t h e n   j o i n t l y   f a i r l y   r e s p o n d i n g   t o   t h e   r e c e n t   s e a t   d e m a n d   o n   t h e   p r i o r i t y   l e v e l s ,   w i t h i n   t h e   b o u n d s   j u s t   d e s c r i b e d .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_4_11367"
  },
  {
    "question": "What is Caution:?",
    "answer": "W h e n   t h e   v o l u m e   o f   i n b o u n d   r e q u e s t s   a s s i g n e d   t o   a   s i n g l e   P r i o r i t y L e v e l C o n f i g u r a t i o n   i s   m o r e   t h a n   i t s   p e r m i t t e d   c o n c u r r e n c y   l e v e l ,   t h e   t y p e   f i e l d   o f   i t s   s p e c i f i c a t i o n   d e t e r m i n e s   w h a t   w i l l   h a p p e n   t o   e x t r a   r e q u e s t s .   A   t y p e   o f   R e j e c t   m e a n s   t h a t   e x c e s s   t r a f f i c   w i l l   i m m e d i a t e l y   b e   r e j e c t e d   w i t h   a n   H T T P   4 2 9   ( T o o   M a n y   R e q u e s t s )   e r r o r .   A   t y p e   o f   Q u e u e   m e a n s   t h a t   r e q u e s t s   a b o v e   t h e   t h r e s h o l d   w i l l   b e   q u e u e d ,   w i t h   t h e   s h u f f l e   s h a r d i n g   a n d   f a i r   q u e u i n g   t e c h n i q u e s   u s e d   t o   b a l a n c e   p r o g r e s s   b e t w e e n   r e q u e s t   f l o w s .   T h e   q u e u i n g   c o n f i g u r a t i o n   a l l o w s   t u n i n g   t h e   f a i r   q u e u i n g   a l g o r i t h m   f o r   a   p r i o r i t y   l e v e l .   D e t a i l s   o f   t h e   a l g o r i t h m   c a n   b e   r e a d   i n   t h e   e n h a n c e m e n t   p r o p o s a l ,   b u t   i n   s h o r t :   I n c r e a s i n g   q u e u e s   r e d u c e s   t h e   r a t e   o f   c o l l i s i o n s   b e t w e e n   d i f f e r e n t   f l o w s ,   a t   t h e   c o s t   o f   i n c r e a s e d   m e m o r y   u s a g e .   A   v a l u e   o f   1   h e r e   e f f e c t i v e l y   d i s a b l e s   t h e   f a i r - q u e u i n g   l o g i c ,   b u t   s t i l l   a l l o w s   r e q u e s t s   t o   b e   q u e u e d . I n c r e a s i n g   q u e u e L e n g t h L i m i t   a l l o w s   l a r g e r   b u r s t s   o f   t r a f f i c   t o   b e   s u s t a i n e d   w i t h o u t   d r o p p i n g   a n y   r e q u e s t s ,   a t   t h e ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_4_11368"
  },
  {
    "question": "What is Note:?",
    "answer": "F o l l o w i n g   i s   a   t a b l e   s h o w i n g   a n   i n t e r e s t i n g   c o l l e c t i o n   o f   s h u f f l e   s h a r d i n g   c o n f i g u r a t i o n s ,   s h o w i n g   f o r   e a c h   t h e   p r o b a b i l i t y   t h a t   a   g i v e n   m o u s e   ( l o w - i n t e n s i t y   f l o w )   i s   s q u i s h e d   b y   t h e   e l e p h a n t s   ( h i g h - i n t e n s i t y   f l o w s )   f o r   a n   i l l u s t r a t i v e   c o l l e c t i o n   o f   n u m b e r s   o f   e l e p h a n t s .   S e e   h t t p s : / / p l a y . g o l a n g . o r g / p / G i 0 P L g V H i U g   ,   w h i c h   c o m p u t e s   t h i s   t a b l e .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_4_11369"
  },
  {
    "question": "What is FlowSchema?",
    "answer": "A   F l o w S c h e m a   m a t c h e s   s o m e   i n b o u n d   r e q u e s t s   a n d   a s s i g n s   t h e m   t o   a   p r i o r i t y   l e v e l .   E v e r y   i n b o u n d   r e q u e s t   i s   t e s t e d   a g a i n s t   F l o w S c h e m a s ,   s t a r t i n g   w i t h   t h o s e   w i t h   t h e   n u m e r i c a l l y   l o w e s t   m a t c h i n g P r e c e d e n c e   a n d   w o r k i n g   u p w a r d .   T h e   f i r s t   m a t c h   w i n s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_3_11370"
  },
  {
    "question": "What is Caution:?",
    "answer": "A   F l o w S c h e m a   m a t c h e s   a   g i v e n   r e q u e s t   i f   a t   l e a s t   o n e   o f   i t s   r u l e s   m a t c h e s .   A   r u l e   m a t c h e s   i f   a t   l e a s t   o n e   o f   i t s   s u b j e c t s   a n d   a t   l e a s t   o n e   o f   i t s   r e s o u r c e R u l e s   o r   n o n R e s o u r c e R u l e s   ( d e p e n d i n g   o n   w h e t h e r   t h e   i n c o m i n g   r e q u e s t   i s   f o r   a   r e s o u r c e   o r   n o n - r e s o u r c e   U R L )   m a t c h   t h e   r e q u e s t .   F o r   t h e   n a m e   f i e l d   i n   s u b j e c t s ,   a n d   t h e   v e r b s ,   a p i G r o u p s ,   r e s o u r c e s ,   n a m e s p a c e s ,   a n d   n o n R e s o u r c e U R L s   f i e l d s   o f   r e s o u r c e   a n d   n o n - r e s o u r c e   r u l e s ,   t h e   w i l d c a r d   *   m a y   b e   s p e c i f i e d   t o   m a t c h   a l l   v a l u e s   f o r   t h e   g i v e n   f i e l d ,   e f f e c t i v e l y   r e m o v i n g   i t   f r o m   c o n s i d e r a t i o n .   A   F l o w S c h e m a ' s   d i s t i n g u i s h e r M e t h o d . t y p e   d e t e r m i n e s   h o w   r e q u e s t s   m a t c h i n g   t h a t   s c h e m a   w i l l   b e   s e p a r a t e d   i n t o   f l o w s .   I t   m a y   b e   B y U s e r ,   i n   w h i c h   o n e   r e q u e s t i n g   u s e r   w i l l   n o t   b e   a b l e   t o   s t a r v e   o t h e r   u s e r s   o f   c a p a c i t y ;   B y N a m e s p a c e ,   i n   w h i c h   r e q u e s t s   f o r   r e s o u r c e s   i n   o n e   n a m e s p a c e   w i l l   n o t   b e   a b l e   t o   s t a r v e   r e q u e s t s   f o r   r e s o u r c e s   i n   o t h e r   n a m e s p a c e s   o f   c a p a c i t y ;   o r   b l a n k   ( o r   d i s t i n g u i s h e r M e t h o d   m a y   b e   o m i t t e d   e n t i r e l y ) ,   i n   w h i c h   a l l   r e q u e s t s   m a t c h e d   b y   t h i s   F l ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_4_11371"
  },
  {
    "question": "What is Defaults?",
    "answer": "E a c h   k u b e - a p i s e r v e r   m a i n t a i n s   t w o   s o r t s   o f   A P F   c o n f i g u r a t i o n   o b j e c t s :   m a n d a t o r y   a n d   s u g g e s t e d .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_2_11372"
  },
  {
    "question": "What is Mandatory Configuration Objects?",
    "answer": "T h e   f o u r   m a n d a t o r y   c o n f i g u r a t i o n   o b j e c t s   r e f l e c t   f i x e d   b u i l t - i n   g u a r d r a i l   b e h a v i o r .   T h i s   i s   b e h a v i o r   t h a t   t h e   s e r v e r s   h a v e   b e f o r e   t h o s e   o b j e c t s   e x i s t ,   a n d   w h e n   t h o s e   o b j e c t s   e x i s t   t h e i r   s p e c s   r e f l e c t   t h i s   b e h a v i o r .   T h e   f o u r   m a n d a t o r y   o b j e c t s   a r e   a s   f o l l o w s .   T h e   m a n d a t o r y   e x e m p t   p r i o r i t y   l e v e l   i s   u s e d   f o r   r e q u e s t s   t h a t   a r e   n o t   s u b j e c t   t o   f l o w   c o n t r o l   a t   a l l :   t h e y   w i l l   a l w a y s   b e   d i s p a t c h e d   i m m e d i a t e l y .   T h e   m a n d a t o r y   e x e m p t   F l o w S c h e m a   c l a s s i f i e s   a l l   r e q u e s t s   f r o m   t h e   s y s t e m : m a s t e r s   g r o u p   i n t o   t h i s   p r i o r i t y   l e v e l .   Y o u   m a y   d e f i n e   o t h e r   F l o w S c h e m a s   t h a t   d i r e c t   o t h e r   r e q u e s t s   t o   t h i s   p r i o r i t y   l e v e l ,   i f   a p p r o p r i a t e . T h e   m a n d a t o r y   c a t c h - a l l   p r i o r i t y   l e v e l   i s   u s e d   i n   c o m b i n a t i o n   w i t h   t h e   m a n d a t o r y   c a t c h - a l l   F l o w S c h e m a   t o   m a k e   s u r e   t h a t   e v e r y   r e q u e s t   g e t s   s o m e   k i n d   o f   c l a s s i f i c a t i o n .   T y p i c a l l y   y o u   s h o u l d   n o t   r e l y   o n   t h i s   c a t c h - a l l   c o n f i g u r a t i o n ,   a n d   s h o u l d   c r e a t e   y o u r   o w n   c a t c h - a l l   F l o w S c h e m a   a n d   P r i o r i t y L e v e l C o n f i g u r a t i o n   ( o r   u s e   t h e   s u g g e s t e d   g l o b a l - d e f a u l t   p r i o r i t y   l e v e l   t h a t   i s   i n s t a l l e d   b y   d e ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_3_11373"
  },
  {
    "question": "What is Suggested Configuration Objects?",
    "answer": "T h e   s u g g e s t e d   F l o w S c h e m a s   a n d   P r i o r i t y L e v e l C o n f i g u r a t i o n s   c o n s t i t u t e   a   r e a s o n a b l e   d e f a u l t   c o n f i g u r a t i o n .   Y o u   c a n   m o d i f y   t h e s e   a n d / o r   c r e a t e   a d d i t i o n a l   c o n f i g u r a t i o n   o b j e c t s   i f   y o u   w a n t .   I f   y o u r   c l u s t e r   i s   l i k e l y   t o   e x p e r i e n c e   h e a v y   l o a d   t h e n   y o u   s h o u l d   c o n s i d e r   w h a t   c o n f i g u r a t i o n   w i l l   w o r k   b e s t .   T h e   s u g g e s t e d   c o n f i g u r a t i o n   g r o u p s   r e q u e s t s   i n t o   s i x   p r i o r i t y   l e v e l s :   T h e   n o d e - h i g h   p r i o r i t y   l e v e l   i s   f o r   h e a l t h   u p d a t e s   f r o m   n o d e s . T h e   s y s t e m   p r i o r i t y   l e v e l   i s   f o r   n o n - h e a l t h   r e q u e s t s   f r o m   t h e   s y s t e m : n o d e s   g r o u p ,   i . e .   K u b e l e t s ,   w h i c h   m u s t   b e   a b l e   t o   c o n t a c t   t h e   A P I   s e r v e r   i n   o r d e r   f o r   w o r k l o a d s   t o   b e   a b l e   t o   s c h e d u l e   o n   t h e m . T h e   l e a d e r - e l e c t i o n   p r i o r i t y   l e v e l   i s   f o r   l e a d e r   e l e c t i o n   r e q u e s t s   f r o m   b u i l t - i n   c o n t r o l l e r s   ( i n   p a r t i c u l a r ,   r e q u e s t s   f o r   e n d p o i n t s ,   c o n f i g m a p s ,   o r   l e a s e s   c o m i n g   f r o m   t h e   s y s t e m : k u b e - c o n t r o l l e r - m a n a g e r   o r   s y s t e m : k u b e - s c h e d u l e r   u s e r s   a n d   s e r v i c e   a c c o u n t s   i n   t h e   k u b e - s y s t e m   n a m e s p a c e ) .   T h e s e   a r e   i m p o r t a n t   t o   i s o l a t e   f r o m   o t h e r   t r a f f i c   b e c a u s e   f a i l u r e s   i n   l e a d e r   e l e c t i o n   c a u s ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_3_11374"
  },
  {
    "question": "What is Maintenance of the Mandatory and Suggested Configuration Objects?",
    "answer": "E a c h   k u b e - a p i s e r v e r   i n d e p e n d e n t l y   m a i n t a i n s   t h e   m a n d a t o r y   a n d   s u g g e s t e d   c o n f i g u r a t i o n   o b j e c t s ,   u s i n g   i n i t i a l   a n d   p e r i o d i c   b e h a v i o r .   T h u s ,   i n   a   s i t u a t i o n   w i t h   a   m i x t u r e   o f   s e r v e r s   o f   d i f f e r e n t   v e r s i o n s   t h e r e   m a y   b e   t h r a s h i n g   a s   l o n g   a s   d i f f e r e n t   s e r v e r s   h a v e   d i f f e r e n t   o p i n i o n s   o f   t h e   p r o p e r   c o n t e n t   o f   t h e s e   o b j e c t s .   E a c h   k u b e - a p i s e r v e r   m a k e s   a n   i n i t i a l   m a i n t e n a n c e   p a s s   o v e r   t h e   m a n d a t o r y   a n d   s u g g e s t e d   c o n f i g u r a t i o n   o b j e c t s ,   a n d   a f t e r   t h a t   d o e s   p e r i o d i c   m a i n t e n a n c e   ( o n c e   p e r   m i n u t e )   o f   t h o s e   o b j e c t s .   F o r   t h e   m a n d a t o r y   c o n f i g u r a t i o n   o b j e c t s ,   m a i n t e n a n c e   c o n s i s t s   o f   e n s u r i n g   t h a t   t h e   o b j e c t   e x i s t s   a n d ,   i f   i t   d o e s ,   h a s   t h e   p r o p e r   s p e c .   T h e   s e r v e r   r e f u s e s   t o   a l l o w   a   c r e a t i o n   o r   u p d a t e   w i t h   a   s p e c   t h a t   i s   i n c o n s i s t e n t   w i t h   t h e   s e r v e r ' s   g u a r d r a i l   b e h a v i o r .   M a i n t e n a n c e   o f   s u g g e s t e d   c o n f i g u r a t i o n   o b j e c t s   i s   d e s i g n e d   t o   a l l o w   t h e i r   s p e c s   t o   b e   o v e r r i d d e n .   D e l e t i o n ,   o n   t h e   o t h e r   h a n d ,   i s   n o t   r e s p e c t e d :   m a i n t e n a n c e   w i l l   r e s t o r e   t h e   o b j e c t .   I f   y o u   d o   n o t   w a n t   a   s u g g e s t e d   c o n f i g u r a t i o n   o b j e c t   t h e n   y o ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_3_11375"
  },
  {
    "question": "What is Health check concurrency exemption?",
    "answer": "T h e   s u g g e s t e d   c o n f i g u r a t i o n   g i v e s   n o   s p e c i a l   t r e a t m e n t   t o   t h e   h e a l t h   c h e c k   r e q u e s t s   o n   k u b e - a p i s e r v e r s   f r o m   t h e i r   l o c a l   k u b e l e t s   - - -   w h i c h   t e n d   t o   u s e   t h e   s e c u r e d   p o r t   b u t   s u p p l y   n o   c r e d e n t i a l s .   W i t h   t h e   s u g g e s t e d   c o n f i g ,   t h e s e   r e q u e s t s   g e t   a s s i g n e d   t o   t h e   g l o b a l - d e f a u l t   F l o w S c h e m a   a n d   t h e   c o r r e s p o n d i n g   g l o b a l - d e f a u l t   p r i o r i t y   l e v e l ,   w h e r e   o t h e r   t r a f f i c   c a n   c r o w d   t h e m   o u t .   I f   y o u   a d d   t h e   f o l l o w i n g   a d d i t i o n a l   F l o w S c h e m a ,   t h i s   e x e m p t s   t h o s e   r e q u e s t s   f r o m   r a t e   l i m i t i n g .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_2_11376"
  },
  {
    "question": "What is Caution:?",
    "answer": "a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   k i n d :   F l o w S c h e m a   m e t a d a t a :   n a m e :   h e a l t h - f o r - s t r a n g e r s   s p e c :   m a t c h i n g P r e c e d e n c e :   1 0 0 0   p r i o r i t y L e v e l C o n f i g u r a t i o n :   n a m e :   e x e m p t   r u l e s :   -   n o n R e s o u r c e R u l e s :   -   n o n R e s o u r c e U R L s :   -   \" / h e a l t h z \"   -   \" / l i v e z \"   -   \" / r e a d y z \"   v e r b s :   -   \" * \"   s u b j e c t s :   -   k i n d :   G r o u p   g r o u p :   n a m e :   \" s y s t e m : u n a u t h e n t i c a t e d \"",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_4_11377"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   y o u   e n a b l e   t h e   A P I   P r i o r i t y   a n d   F a i r n e s s   f e a t u r e ,   t h e   k u b e - a p i s e r v e r   e x p o r t s   a d d i t i o n a l   m e t r i c s .   M o n i t o r i n g   t h e s e   c a n   h e l p   y o u   d e t e r m i n e   w h e t h e r   y o u r   c o n f i g u r a t i o n   i s   i n a p p r o p r i a t e l y   t h r o t t l i n g   i m p o r t a n t   t r a f f i c ,   o r   f i n d   p o o r l y - b e h a v e d   w o r k l o a d s   t h a t   m a y   b e   h a r m i n g   s y s t e m   h e a l t h .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_4_11378"
  },
  {
    "question": "What is Maturity level BETA?",
    "answer": "a p i s e r v e r _ f l o w c o n t r o l _ r e j e c t e d _ r e q u e s t s _ t o t a l   i s   a   c o u n t e r   v e c t o r   ( c u m u l a t i v e   s i n c e   s e r v e r   s t a r t )   o f   r e q u e s t s   t h a t   w e r e   r e j e c t e d ,   b r o k e n   d o w n   b y   t h e   l a b e l s   f l o w _ s c h e m a   ( i n d i c a t i n g   t h e   o n e   t h a t   m a t c h e d   t h e   r e q u e s t ) ,   p r i o r i t y _ l e v e l   ( i n d i c a t i n g   t h e   o n e   t o   w h i c h   t h e   r e q u e s t   w a s   a s s i g n e d ) ,   a n d   r e a s o n .   T h e   r e a s o n   l a b e l   w i l l   b e   o n e   o f   t h e   f o l l o w i n g   v a l u e s : q u e u e - f u l l ,   i n d i c a t i n g   t h a t   t o o   m a n y   r e q u e s t s   w e r e   a l r e a d y   q u e u e d . c o n c u r r e n c y - l i m i t ,   i n d i c a t i n g   t h a t   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   i s   c o n f i g u r e d   t o   r e j e c t   r a t h e r   t h a n   q u e u e   e x c e s s   r e q u e s t s . t i m e - o u t ,   i n d i c a t i n g   t h a t   t h e   r e q u e s t   w a s   s t i l l   i n   t h e   q u e u e   w h e n   i t s   q u e u i n g   t i m e   l i m i t   e x p i r e d . c a n c e l l e d ,   i n d i c a t i n g   t h a t   t h e   r e q u e s t   i s   n o t   p u r g e   l o c k e d   a n d   h a s   b e e n   e j e c t e d   f r o m   t h e   q u e u e . a p i s e r v e r _ f l o w c o n t r o l _ d i s p a t c h e d _ r e q u e s t s _ t o t a l   i s   a   c o u n t e r   v e c t o r   ( c u m u l a t i v e   s i n c e   s e r v e r   s t a r t )   o f   r e q u e s t s   t h a t   b e g a n   e x e c u t i n g ,   b r o k e n   d o w n   b y   f l o w _ s c h e m a   a n d   p r i o r i t y _ l e v e l . a p i s e r v e r _ f l o w c o n t r o l _ c u r r e n t _ i n q u e u e _ r e q u e s t s   i s   a   g a u g e   v e c t o r   h o l d i n g   t h e   i n s t a n t a n e ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_4_11379"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i s e r v e r _ f l o w c o n t r o l _ n o m i n a l _ l i m i t _ s e a t s   i s   a   g a u g e   v e c t o r   h o l d i n g   e a c h   p r i o r i t y   l e v e l ' s   n o m i n a l   c o n c u r r e n c y   l i m i t ,   c o m p u t e d   f r o m   t h e   A P I   s e r v e r ' s   t o t a l   c o n c u r r e n c y   l i m i t   a n d   t h e   p r i o r i t y   l e v e l ' s   c o n f i g u r e d   n o m i n a l   c o n c u r r e n c y   s h a r e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_4_11380"
  },
  {
    "question": "What is Maturity level ALPHA?",
    "answer": "a p i s e r v e r _ c u r r e n t _ i n q u e u e _ r e q u e s t s   i s   a   g a u g e   v e c t o r   o f   r e c e n t   h i g h   w a t e r   m a r k s   o f   t h e   n u m b e r   o f   q u e u e d   r e q u e s t s ,   g r o u p e d   b y   a   l a b e l   n a m e d   r e q u e s t _ k i n d   w h o s e   v a l u e   i s   m u t a t i n g   o r   r e a d O n l y .   T h e s e   h i g h   w a t e r   m a r k s   d e s c r i b e   t h e   l a r g e s t   n u m b e r   s e e n   i n   t h e   o n e   s e c o n d   w i n d o w   m o s t   r e c e n t l y   c o m p l e t e d .   T h e s e   c o m p l e m e n t   t h e   o l d e r   a p i s e r v e r _ c u r r e n t _ i n f l i g h t _ r e q u e s t s   g a u g e   v e c t o r   t h a t   h o l d s   t h e   l a s t   w i n d o w ' s   h i g h   w a t e r   m a r k   o f   n u m b e r   o f   r e q u e s t s   a c t i v e l y   b e i n g   s e r v e d . a p i s e r v e r _ c u r r e n t _ i n q u e u e _ s e a t s   i s   a   g a u g e   v e c t o r   o f   t h e   s u m   o v e r   q u e u e d   r e q u e s t s   o f   t h e   l a r g e s t   n u m b e r   o f   s e a t s   e a c h   w i l l   o c c u p y ,   g r o u p e d   b y   l a b e l s   n a m e d   f l o w _ s c h e m a   a n d   p r i o r i t y _ l e v e l . a p i s e r v e r _ f l o w c o n t r o l _ r e a d _ v s _ w r i t e _ c u r r e n t _ r e q u e s t s   i s   a   h i s t o g r a m   v e c t o r   o f   o b s e r v a t i o n s ,   m a d e   a t   t h e   e n d   o f   e v e r y   n a n o s e c o n d ,   o f   t h e   n u m b e r   o f   r e q u e s t s   b r o k e n   d o w n   b y   t h e   l a b e l s   p h a s e   ( w h i c h   t a k e s   o n   t h e   v a l u e s   w a i t i n g   a n d   e x e c u t i n g )   a n d   r e q u e s t _ k i n d   ( w h i c h   t a k e s   o n   t h e   v a l u e s   m u t a t i n g   a n d   r e a d O n l y ) .   E a c h   o b s e r v e d   v a l u e   i s   a   r a t i o ,   b e t w e e n   0   a n d   1 ,   ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_4_11381"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i s e r v e r _ f l o w c o n t r o l _ r e q u e s t _ c o n c u r r e n c y _ l i m i t   i s   t h e   s a m e   a s   a p i s e r v e r _ f l o w c o n t r o l _ n o m i n a l _ l i m i t _ s e a t s .   B e f o r e   t h e   i n t r o d u c t i o n   o f   c o n c u r r e n c y   b o r r o w i n g   b e t w e e n   p r i o r i t y   l e v e l s ,   t h i s   w a s   a l w a y s   e q u a l   t o   a p i s e r v e r _ f l o w c o n t r o l _ c u r r e n t _ l i m i t _ s e a t s   ( w h i c h   d i d   n o t   e x i s t   a s   a   d i s t i n c t   m e t r i c ) .   a p i s e r v e r _ f l o w c o n t r o l _ l o w e r _ l i m i t _ s e a t s   i s   a   g a u g e   v e c t o r   h o l d i n g   t h e   l o w e r   b o u n d   o n   e a c h   p r i o r i t y   l e v e l ' s   d y n a m i c   c o n c u r r e n c y   l i m i t .   a p i s e r v e r _ f l o w c o n t r o l _ u p p e r _ l i m i t _ s e a t s   i s   a   g a u g e   v e c t o r   h o l d i n g   t h e   u p p e r   b o u n d   o n   e a c h   p r i o r i t y   l e v e l ' s   d y n a m i c   c o n c u r r e n c y   l i m i t .   a p i s e r v e r _ f l o w c o n t r o l _ d e m a n d _ s e a t s   i s   a   h i s t o g r a m   v e c t o r   c o u n t i n g   o b s e r v a t i o n s ,   a t   t h e   e n d   o f   e v e r y   n a n o s e c o n d ,   o f   e a c h   p r i o r i t y   l e v e l ' s   r a t i o   o f   ( s e a t   d e m a n d )   /   ( n o m i n a l   c o n c u r r e n c y   l i m i t ) .   A   p r i o r i t y   l e v e l ' s   s e a t   d e m a n d   i s   t h e   s u m ,   o v e r   b o t h   q u e u e d   r e q u e s t s   a n d   t h o s e   i n   t h e   i n i t i a l   p h a s e   o f   e x e c u t i o n ,   o f   t h e   m a x i m u m   o f   t h e   n u m b e r   o f   s e a t s   o c c u p i e d   i n   t h e   r e q u e s t ' s   i n i t i a l   a n d   f i n a l   e x e c u t i o n   p h a s e s .   a p i s e r v e r _ f l o w c o n t r o l _ d e m a n d _ s e a t s _ h ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_4_11382"
  },
  {
    "question": "What is Good practices for using API Priority and Fairness?",
    "answer": "W h e n   a   g i v e n   p r i o r i t y   l e v e l   e x c e e d s   i t s   p e r m i t t e d   c o n c u r r e n c y ,   r e q u e s t s   c a n   e x p e r i e n c e   i n c r e a s e d   l a t e n c y   o r   b e   d r o p p e d   w i t h   a n   H T T P   4 2 9   ( T o o   M a n y   R e q u e s t s )   e r r o r .   T o   p r e v e n t   t h e s e   s i d e   e f f e c t s   o f   A P F ,   y o u   c a n   m o d i f y   y o u r   w o r k l o a d   o r   t w e a k   y o u r   A P F   s e t t i n g s   t o   e n s u r e   t h e r e   a r e   s u f f i c i e n t   s e a t s   a v a i l a b l e   t o   s e r v e   y o u r   r e q u e s t s .   T o   d e t e c t   w h e t h e r   r e q u e s t s   a r e   b e i n g   r e j e c t e d   d u e   t o   A P F ,   c h e c k   t h e   f o l l o w i n g   m e t r i c s :   a p i s e r v e r _ f l o w c o n t r o l _ r e j e c t e d _ r e q u e s t s _ t o t a l :   t h e   t o t a l   n u m b e r   o f   r e q u e s t s   r e j e c t e d   p e r   F l o w S c h e m a   a n d   P r i o r i t y L e v e l C o n f i g u r a t i o n . a p i s e r v e r _ f l o w c o n t r o l _ c u r r e n t _ i n q u e u e _ r e q u e s t s :   t h e   c u r r e n t   n u m b e r   o f   r e q u e s t s   q u e u e d   p e r   F l o w S c h e m a   a n d   P r i o r i t y L e v e l C o n f i g u r a t i o n . a p i s e r v e r _ f l o w c o n t r o l _ r e q u e s t _ w a i t _ d u r a t i o n _ s e c o n d s :   t h e   l a t e n c y   a d d e d   t o   r e q u e s t s   w a i t i n g   i n   q u e u e s . a p i s e r v e r _ f l o w c o n t r o l _ p r i o r i t y _ l e v e l _ s e a t _ u t i l i z a t i o n :   t h e   s e a t   u t i l i z a t i o n   p e r   P r i o r i t y L e v e l C o n f i g u r a t i o n .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_2_11383"
  },
  {
    "question": "What is Workload modifications?",
    "answer": "T o   p r e v e n t   r e q u e s t s   f r o m   q u e u i n g   a n d   a d d i n g   l a t e n c y   o r   b e i n g   d r o p p e d   d u e   t o   A P F ,   y o u   c a n   o p t i m i z e   y o u r   r e q u e s t s   b y :   R e d u c i n g   t h e   r a t e   a t   w h i c h   r e q u e s t s   a r e   e x e c u t e d .   A   f e w e r   n u m b e r   o f   r e q u e s t s   o v e r   a   f i x e d   p e r i o d   w i l l   r e s u l t   i n   a   f e w e r   n u m b e r   o f   s e a t s   b e i n g   n e e d e d   a t   a   g i v e n   t i m e . A v o i d   i s s u i n g   a   l a r g e   n u m b e r   o f   e x p e n s i v e   r e q u e s t s   c o n c u r r e n t l y .   R e q u e s t s   c a n   b e   o p t i m i z e d   t o   u s e   f e w e r   s e a t s   o r   h a v e   l o w e r   l a t e n c y   s o   t h a t   t h e s e   r e q u e s t s   h o l d   t h o s e   s e a t s   f o r   a   s h o r t e r   d u r a t i o n .   L i s t   r e q u e s t s   c a n   o c c u p y   m o r e   t h a n   1   s e a t   d e p e n d i n g   o n   t h e   n u m b e r   o f   o b j e c t s   f e t c h e d   d u r i n g   t h e   r e q u e s t .   R e s t r i c t i n g   t h e   n u m b e r   o f   o b j e c t s   r e t r i e v e d   i n   a   l i s t   r e q u e s t ,   f o r   e x a m p l e   b y   u s i n g   p a g i n a t i o n ,   w i l l   u s e   l e s s   t o t a l   s e a t s   o v e r   a   s h o r t e r   p e r i o d .   F u r t h e r m o r e ,   r e p l a c i n g   l i s t   r e q u e s t s   w i t h   w a t c h   r e q u e s t s   w i l l   r e q u i r e   l o w e r   t o t a l   c o n c u r r e n c y   s h a r e s   a s   w a t c h   r e q u e s t s   o n l y   o c c u p y   1   s e a t   d u r i n g   i t s   i n i t i a l   b u r s t   o f   n o t i f i c a t i o n s .   I f   u s i n g   s t r e a m i n g   l i s t s   i n   v e r s i o n s   1 . 2 7   a n d   l a t e r ,   w a t c h   r e q u e s t s   w i l l   o c c u p y   t h e   s a m e   n u m ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_3_11384"
  },
  {
    "question": "What is Priority and fairness settings?",
    "answer": "Y o u   c a n   a l s o   m o d i f y   t h e   d e f a u l t   F l o w S c h e m a   a n d   P r i o r i t y L e v e l C o n f i g u r a t i o n   o b j e c t s   o r   c r e a t e   n e w   o b j e c t s   o f   t h e s e   t y p e s   t o   b e t t e r   a c c o m m o d a t e   y o u r   w o r k l o a d .   A P F   s e t t i n g s   c a n   b e   m o d i f i e d   t o :   G i v e   m o r e   s e a t s   t o   h i g h   p r i o r i t y   r e q u e s t s . I s o l a t e   n o n - e s s e n t i a l   o r   e x p e n s i v e   r e q u e s t s   t h a t   w o u l d   s t a r v e   a   c o n c u r r e n c y   l e v e l   i f   i t   w a s   s h a r e d   w i t h   o t h e r   f l o w s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_3_11385"
  },
  {
    "question": "What is Give more seats to high priority requests?",
    "answer": "I f   p o s s i b l e ,   t h e   n u m b e r   o f   s e a t s   a v a i l a b l e   a c r o s s   a l l   p r i o r i t y   l e v e l s   f o r   a   p a r t i c u l a r   k u b e - a p i s e r v e r   c a n   b e   i n c r e a s e d   b y   i n c r e a s i n g   t h e   v a l u e s   f o r   t h e   m a x - r e q u e s t s - i n f l i g h t   a n d   m a x - m u t a t i n g - r e q u e s t s - i n f l i g h t   f l a g s .   A l t e r n a t i v e l y ,   h o r i z o n t a l l y   s c a l i n g   t h e   n u m b e r   o f   k u b e - a p i s e r v e r   i n s t a n c e s   w i l l   i n c r e a s e   t h e   t o t a l   c o n c u r r e n c y   p e r   p r i o r i t y   l e v e l   a c r o s s   t h e   c l u s t e r   a s s u m i n g   t h e r e   i s   s u f f i c i e n t   l o a d   b a l a n c i n g   o f   r e q u e s t s . Y o u   c a n   c r e a t e   a   n e w   F l o w S c h e m a   w h i c h   r e f e r e n c e s   a   P r i o r i t y L e v e l C o n f i g u r a t i o n   w i t h   a   l a r g e r   c o n c u r r e n c y   l e v e l .   T h i s   n e w   P r i o r i t y L e v e l C o n f i g u r a t i o n   c o u l d   b e   a n   e x i s t i n g   l e v e l   o r   a   n e w   l e v e l   w i t h   i t s   o w n   s e t   o f   n o m i n a l   c o n c u r r e n c y   s h a r e s .   F o r   e x a m p l e ,   a   n e w   F l o w S c h e m a   c o u l d   b e   i n t r o d u c e d   t o   c h a n g e   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   f o r   y o u r   r e q u e s t s   f r o m   g l o b a l - d e f a u l t   t o   w o r k l o a d - l o w   t o   i n c r e a s e   t h e   n u m b e r   o f   s e a t s   a v a i l a b l e   t o   y o u r   u s e r .   C r e a t i n g   a   n e w   P r i o r i t y L e v e l C o n f i g u r a t i o n   w i l l   r e d u c e   t h e   n u m b e r   o f   s e a t s   d e s i g n a t e d   f o r   e x i s t i n g   l e v e l s .   R e c a l l   t h a t   e d i t i n g   a   d e f a u l t   F l o w S ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_4_11386"
  },
  {
    "question": "What is Isolate non-essential requests from starving other flows?",
    "answer": "F o r   r e q u e s t   i s o l a t i o n ,   y o u   c a n   c r e a t e   a   F l o w S c h e m a   w h o s e   s u b j e c t   m a t c h e s   t h e   u s e r   m a k i n g   t h e s e   r e q u e s t s   o r   c r e a t e   a   F l o w S c h e m a   t h a t   m a t c h e s   w h a t   t h e   r e q u e s t   i s   ( c o r r e s p o n d i n g   t o   t h e   r e s o u r c e R u l e s ) .   N e x t ,   y o u   c a n   m a p   t h i s   F l o w S c h e m a   t o   a   P r i o r i t y L e v e l C o n f i g u r a t i o n   w i t h   a   l o w   s h a r e   o f   s e a t s .   F o r   e x a m p l e ,   s u p p o s e   l i s t   e v e n t   r e q u e s t s   f r o m   P o d s   r u n n i n g   i n   t h e   d e f a u l t   n a m e s p a c e   a r e   u s i n g   1 0   s e a t s   e a c h   a n d   e x e c u t e   f o r   1   m i n u t e .   T o   p r e v e n t   t h e s e   e x p e n s i v e   r e q u e s t s   f r o m   i m p a c t i n g   r e q u e s t s   f r o m   o t h e r   P o d s   u s i n g   t h e   e x i s t i n g   s e r v i c e - a c c o u n t s   F l o w S c h e m a ,   y o u   c a n   a p p l y   t h e   f o l l o w i n g   F l o w S c h e m a   t o   i s o l a t e   t h e s e   l i s t   c a l l s   f r o m   o t h e r   r e q u e s t s .   E x a m p l e   F l o w S c h e m a   o b j e c t   t o   i s o l a t e   l i s t   e v e n t   r e q u e s t s :   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   k i n d :   F l o w S c h e m a   m e t a d a t a :   n a m e :   l i s t - e v e n t s - d e f a u l t - s e r v i c e - a c c o u n t   s p e c :   d i s t i n g u i s h e r M e t h o d :   t y p e :   B y U s e r   m a t c h i n g P r e c e d e n c e :   8 0 0 0   p r i o r i t y L e v e l C o n f i g u r a t i o n :   n a m e :   c a t c h - a l l   r u l e s :   -   r e s o u r c e R u l e s :   -   a p i G r o u p s :   -   ' * '   n a m e s p a c e s :   -   d e f a u l t   r e s o u r c e s :   -   e v e n t ",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_4_11387"
  },
  {
    "question": "What is What's next?",
    "answer": "Y o u   c a n   v i s i t   f l o w   c o n t r o l   r e f e r e n c e   d o c   t o   l e a r n   m o r e   a b o u t   t r o u b l e s h o o t i n g . F o r   b a c k g r o u n d   i n f o r m a t i o n   o n   d e s i g n   d e t a i l s   f o r   A P I   p r i o r i t y   a n d   f a i r n e s s ,   s e e   t h e   e n h a n c e m e n t   p r o p o s a l . Y o u   c a n   m a k e   s u g g e s t i o n s   a n d   f e a t u r e   r e q u e s t s   v i a   S I G   A P I   M a c h i n e r y   o r   t h e   f e a t u r e ' s   s l a c k   c h a n n e l .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/flow-control/",
    "id": "k8s_00609_section_2_11388"
  },
  {
    "question": "What is Change the Access Mode of a PersistentVolume to ReadWriteOncePod?",
    "answer": "Change the Access Mode of a PersistentVolume to ReadWriteOncePodThis page shows how to change the access mode on an existing PersistentVolume to use ReadWriteOncePod.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.22.To check the version, enter kubectl version.Note:The ReadWriteOncePod access mode graduated to stable in the Kubernetes v1.29 release. If you are running a version of Kubernetes older than v1.29, you might need to enable a feature gate. Check the documentation for your version of Kubernetes.Note:The ReadWriteOncePod access mode is only supported for CSI volumes. To use this volume access mode you will need to update the following CSI sidecars to these versions or greater:csi-provisioner:v3.0.0+csi-attacher:v3.3.0+csi-resizer:v1.3.0+Why should I use ReadWriteOncePod?Prior to Kubernetes v1.22, the ReadWriteOnce access mode was commonly used to restrict PersistentVolume access for workloads that required single-writer access to storage. However, this access mode had a limitation: it restricted volume access to a single node, allowing multiple pods on the same node to read from and write to the same volume simultaneously. This could pose a risk for applications that demand strict single-writer access for data safety.If ensuring single-writer access is critical for your workloads, consider migrating your volumes to ReadWriteOncePod.Migrating existing PersistentVolumesIf you have existing PersistentVolumes, they can be migrated to use ReadWriteOncePod. Only migrations from ReadWriteOnce to ReadWriteOncePod are supported.In this example, there is already a ReadWriteOnce \"cat-pictures-pvc\" PersistentVolumeClaim that is bound to a \"cat-pictures-pv\" PersistentVolume, and a \"cat-pictures-writer\" Deployment that uses this PersistentVolumeClaim.Note:If your storage plugin supports Dynamic provisioning, the \"cat-picutres-pv\" will be created for you, but its name may differ. To get your PersistentVolume's name run:kubectl get pvc cat-pictures-pvc -o jsonpath='{.spec.volumeName}' And you can view the PVC before you make changes. Either view the manifest locally, or run kubectl get pvc <name-of-pvc> -o yaml. The output is similar to:# cat-pictures-pvc.yaml kind: PersistentVolumeClaim apiVersion: v1 metadata: name: cat-pictures-pvc spec: accessModes: - ReadWriteOnce resources: requests: storage: 1Gi Here's an example Deployment that relies on that PersistentVolumeClaim:# cat-pictures-writer-deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: cat-pictures-writer spec: replicas: 3 selector: matc",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-pv-access-mode-readwriteoncepod/",
    "id": "k8s_00610_qa_11389"
  },
  {
    "question": "How does Change the Access Mode of a PersistentVolume to ReadWriteOncePod work?",
    "answer": "Change the Access Mode of a PersistentVolume to ReadWriteOncePodThis page shows how to change the access mode on an existing PersistentVolume to use ReadWriteOncePod.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.22.To check the version, enter kubectl version.Note:The ReadWriteOncePod access mode graduated to stable in the Kubernetes v1.29 release. If you are running a version of Kubernetes older than v1.29, you might need to enable a feature gate. Check the documentation for your version of Kubernetes.Note:The ReadWriteOncePod access mode is only supported for CSI volumes. To use this volume access mode you will need to update the following CSI sidecars to these versions or greater:csi-provisioner:v3.0.0+csi-attacher:v3.3.0+csi-resizer:v1.3.0+Why should I use ReadWriteOncePod?Prior to Kubernetes v1.22, the ReadWriteOnce access mode was commonly used to restrict PersistentVolume access for workloads that required single-writer access to storage. However, this access mode had a limitation: it restricted volume access to a single node, allowing multiple pods on the same node to read from and write to the same volume simultaneously. This could pose a risk for applications that demand strict single-writer access for data safety.If ensuring single-writer access is critical for your workloads, consider migrating your volumes to ReadWriteOncePod.Migrating existing PersistentVolumesIf you have existing PersistentVolumes, they can be migrated to use ReadWriteOncePod. Only migrations from ReadWriteOnce to ReadWriteOncePod are supported.In this example, there is already a ReadWriteOnce \"cat-pictures-pvc\" PersistentVolumeClaim that is bound to a \"cat-pictures-pv\" PersistentVolume, and a \"cat-pictures-writer\" Deployment that uses this PersistentVolumeClaim.Note:If your storage plugin supports Dynamic provisioning, the \"cat-picutres-pv\" will be created for you, but its name may differ. To get your PersistentVolume's name run:kubectl get pvc cat-pictures-pvc -o jsonpath='{.spec.volumeName}' And you can view the PVC before you make changes. Either view the manifest locally, or run kubectl get pvc <name-of-pvc> -o yaml. The output is similar to:# cat-pictures-pvc.yaml kind: PersistentVolumeClaim apiVersion: v1 metadata: name: cat-pictures-pvc spec: accessModes: - ReadWriteOnce resources: requests: storage: 1Gi Here's an example Deployment that relies on that PersistentVolumeClaim:# cat-pictures-writer-deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: cat-pictures-writer spec: replicas: 3 selector: matc",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-pv-access-mode-readwriteoncepod/",
    "id": "k8s_00610_qa_11390"
  },
  {
    "question": "When would you use Change the Access Mode of a PersistentVolume to ReadWriteOncePod?",
    "answer": "Change the Access Mode of a PersistentVolume to ReadWriteOncePodThis page shows how to change the access mode on an existing PersistentVolume to use ReadWriteOncePod.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.22.To check the version, enter kubectl version.Note:The ReadWriteOncePod access mode graduated to stable in the Kubernetes v1.29 release. If you are running a version of Kubernetes older than v1.29, you might need to enable a feature gate. Check the documentation for your version of Kubernetes.Note:The ReadWriteOncePod access mode is only supported for CSI volumes. To use this volume access mode you will need to update the following CSI sidecars to these versions or greater:csi-provisioner:v3.0.0+csi-attacher:v3.3.0+csi-resizer:v1.3.0+Why should I use ReadWriteOncePod?Prior to Kubernetes v1.22, the ReadWriteOnce access mode was commonly used to restrict PersistentVolume access for workloads that required single-writer access to storage. However, this access mode had a limitation: it restricted volume access to a single node, allowing multiple pods on the same node to read from and write to the same volume simultaneously. This could pose a risk for applications that demand strict single-writer access for data safety.If ensuring single-writer access is critical for your workloads, consider migrating your volumes to ReadWriteOncePod.Migrating existing PersistentVolumesIf you have existing PersistentVolumes, they can be migrated to use ReadWriteOncePod. Only migrations from ReadWriteOnce to ReadWriteOncePod are supported.In this example, there is already a ReadWriteOnce \"cat-pictures-pvc\" PersistentVolumeClaim that is bound to a \"cat-pictures-pv\" PersistentVolume, and a \"cat-pictures-writer\" Deployment that uses this PersistentVolumeClaim.Note:If your storage plugin supports Dynamic provisioning, the \"cat-picutres-pv\" will be created for you, but its name may differ. To get your PersistentVolume's name run:kubectl get pvc cat-pictures-pvc -o jsonpath='{.spec.volumeName}' And you can view the PVC before you make changes. Either view the manifest locally, or run kubectl get pvc <name-of-pvc> -o yaml. The output is similar to:# cat-pictures-pvc.yaml kind: PersistentVolumeClaim apiVersion: v1 metadata: name: cat-pictures-pvc spec: accessModes: - ReadWriteOnce resources: requests: storage: 1Gi Here's an example Deployment that relies on that PersistentVolumeClaim:# cat-pictures-writer-deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: cat-pictures-writer spec: replicas: 3 selector: matc",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-pv-access-mode-readwriteoncepod/",
    "id": "k8s_00610_qa_11391"
  },
  {
    "question": "What are the benefits of Change the Access Mode of a PersistentVolume to ReadWriteOncePod?",
    "answer": "Change the Access Mode of a PersistentVolume to ReadWriteOncePodThis page shows how to change the access mode on an existing PersistentVolume to use ReadWriteOncePod.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.22.To check the version, enter kubectl version.Note:The ReadWriteOncePod access mode graduated to stable in the Kubernetes v1.29 release. If you are running a version of Kubernetes older than v1.29, you might need to enable a feature gate. Check the documentation for your version of Kubernetes.Note:The ReadWriteOncePod access mode is only supported for CSI volumes. To use this volume access mode you will need to update the following CSI sidecars to these versions or greater:csi-provisioner:v3.0.0+csi-attacher:v3.3.0+csi-resizer:v1.3.0+Why should I use ReadWriteOncePod?Prior to Kubernetes v1.22, the ReadWriteOnce access mode was commonly used to restrict PersistentVolume access for workloads that required single-writer access to storage. However, this access mode had a limitation: it restricted volume access to a single node, allowing multiple pods on the same node to read from and write to the same volume simultaneously. This could pose a risk for applications that demand strict single-writer access for data safety.If ensuring single-writer access is critical for your workloads, consider migrating your volumes to ReadWriteOncePod.Migrating existing PersistentVolumesIf you have existing PersistentVolumes, they can be migrated to use ReadWriteOncePod. Only migrations from ReadWriteOnce to ReadWriteOncePod are supported.In this example, there is already a ReadWriteOnce \"cat-pictures-pvc\" PersistentVolumeClaim that is bound to a \"cat-pictures-pv\" PersistentVolume, and a \"cat-pictures-writer\" Deployment that uses this PersistentVolumeClaim.Note:If your storage plugin supports Dynamic provisioning, the \"cat-picutres-pv\" will be created for you, but its name may differ. To get your PersistentVolume's name run:kubectl get pvc cat-pictures-pvc -o jsonpath='{.spec.volumeName}' And you can view the PVC before you make changes. Either view the manifest locally, or run kubectl get pvc <name-of-pvc> -o yaml. The output is similar to:# cat-pictures-pvc.yaml kind: PersistentVolumeClaim apiVersion: v1 metadata: name: cat-pictures-pvc spec: accessModes: - ReadWriteOnce resources: requests: storage: 1Gi Here's an example Deployment that relies on that PersistentVolumeClaim:# cat-pictures-writer-deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: cat-pictures-writer spec: replicas: 3 selector: matc",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-pv-access-mode-readwriteoncepod/",
    "id": "k8s_00610_qa_11392"
  },
  {
    "question": "What is Change the Access Mode of a PersistentVolume to ReadWriteOncePod?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c h a n g e   t h e   a c c e s s   m o d e   o n   a n   e x i s t i n g   P e r s i s t e n t V o l u m e   t o   u s e   R e a d W r i t e O n c e P o d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-pv-access-mode-readwriteoncepod/",
    "id": "k8s_00610_section_1_11393"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 2 2 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-pv-access-mode-readwriteoncepod/",
    "id": "k8s_00610_section_2_11394"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   R e a d W r i t e O n c e P o d   a c c e s s   m o d e   i s   o n l y   s u p p o r t e d   f o r   C S I   v o l u m e s .   T o   u s e   t h i s   v o l u m e   a c c e s s   m o d e   y o u   w i l l   n e e d   t o   u p d a t e   t h e   f o l l o w i n g   C S I   s i d e c a r s   t o   t h e s e   v e r s i o n s   o r   g r e a t e r :   c s i - p r o v i s i o n e r : v 3 . 0 . 0 + c s i - a t t a c h e r : v 3 . 3 . 0 + c s i - r e s i z e r : v 1 . 3 . 0 +",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-pv-access-mode-readwriteoncepod/",
    "id": "k8s_00610_section_4_11395"
  },
  {
    "question": "What is Why should I use ReadWriteOncePod??",
    "answer": "P r i o r   t o   K u b e r n e t e s   v 1 . 2 2 ,   t h e   R e a d W r i t e O n c e   a c c e s s   m o d e   w a s   c o m m o n l y   u s e d   t o   r e s t r i c t   P e r s i s t e n t V o l u m e   a c c e s s   f o r   w o r k l o a d s   t h a t   r e q u i r e d   s i n g l e - w r i t e r   a c c e s s   t o   s t o r a g e .   H o w e v e r ,   t h i s   a c c e s s   m o d e   h a d   a   l i m i t a t i o n :   i t   r e s t r i c t e d   v o l u m e   a c c e s s   t o   a   s i n g l e   n o d e ,   a l l o w i n g   m u l t i p l e   p o d s   o n   t h e   s a m e   n o d e   t o   r e a d   f r o m   a n d   w r i t e   t o   t h e   s a m e   v o l u m e   s i m u l t a n e o u s l y .   T h i s   c o u l d   p o s e   a   r i s k   f o r   a p p l i c a t i o n s   t h a t   d e m a n d   s t r i c t   s i n g l e - w r i t e r   a c c e s s   f o r   d a t a   s a f e t y .   I f   e n s u r i n g   s i n g l e - w r i t e r   a c c e s s   i s   c r i t i c a l   f o r   y o u r   w o r k l o a d s ,   c o n s i d e r   m i g r a t i n g   y o u r   v o l u m e s   t o   R e a d W r i t e O n c e P o d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-pv-access-mode-readwriteoncepod/",
    "id": "k8s_00610_section_2_11396"
  },
  {
    "question": "What is Migrating existing PersistentVolumes?",
    "answer": "I f   y o u   h a v e   e x i s t i n g   P e r s i s t e n t V o l u m e s ,   t h e y   c a n   b e   m i g r a t e d   t o   u s e   R e a d W r i t e O n c e P o d .   O n l y   m i g r a t i o n s   f r o m   R e a d W r i t e O n c e   t o   R e a d W r i t e O n c e P o d   a r e   s u p p o r t e d .   I n   t h i s   e x a m p l e ,   t h e r e   i s   a l r e a d y   a   R e a d W r i t e O n c e   \" c a t - p i c t u r e s - p v c \"   P e r s i s t e n t V o l u m e C l a i m   t h a t   i s   b o u n d   t o   a   \" c a t - p i c t u r e s - p v \"   P e r s i s t e n t V o l u m e ,   a n d   a   \" c a t - p i c t u r e s - w r i t e r \"   D e p l o y m e n t   t h a t   u s e s   t h i s   P e r s i s t e n t V o l u m e C l a i m .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-pv-access-mode-readwriteoncepod/",
    "id": "k8s_00610_section_2_11397"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u r   s t o r a g e   p l u g i n   s u p p o r t s   D y n a m i c   p r o v i s i o n i n g ,   t h e   \" c a t - p i c u t r e s - p v \"   w i l l   b e   c r e a t e d   f o r   y o u ,   b u t   i t s   n a m e   m a y   d i f f e r .   T o   g e t   y o u r   P e r s i s t e n t V o l u m e ' s   n a m e   r u n :   k u b e c t l   g e t   p v c   c a t - p i c t u r e s - p v c   - o   j s o n p a t h = ' { . s p e c . v o l u m e N a m e } '   A n d   y o u   c a n   v i e w   t h e   P V C   b e f o r e   y o u   m a k e   c h a n g e s .   E i t h e r   v i e w   t h e   m a n i f e s t   l o c a l l y ,   o r   r u n   k u b e c t l   g e t   p v c   < n a m e - o f - p v c >   - o   y a m l .   T h e   o u t p u t   i s   s i m i l a r   t o :   #   c a t - p i c t u r e s - p v c . y a m l   k i n d :   P e r s i s t e n t V o l u m e C l a i m   a p i V e r s i o n :   v 1   m e t a d a t a :   n a m e :   c a t - p i c t u r e s - p v c   s p e c :   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   1 G i   H e r e ' s   a n   e x a m p l e   D e p l o y m e n t   t h a t   r e l i e s   o n   t h a t   P e r s i s t e n t V o l u m e C l a i m :   #   c a t - p i c t u r e s - w r i t e r - d e p l o y m e n t . y a m l   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   c a t - p i c t u r e s - w r i t e r   s p e c :   r e p l i c a s :   3   s e l e c t o r :   m a t c h L a b e l s :   a p p :   c a t - p i c t u r e s - w r i t e r   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   c a t - p i c t u r e s - w r i t e r   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0   v o l u m e M o u n t s :   -   n a m e :   c a t - p i c t u r e s   m o u n t P a t h :   / m n t   v o l u m e s :   - ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-pv-access-mode-readwriteoncepod/",
    "id": "k8s_00610_section_4_11398"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   P e r s i s t e n t V o l u m e s . L e a r n   m o r e   a b o u t   P e r s i s t e n t V o l u m e C l a i m s . L e a r n   m o r e   a b o u t   C o n f i g u r i n g   a   P o d   t o   U s e   a   P e r s i s t e n t V o l u m e   f o r   S t o r a g e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/change-pv-access-mode-readwriteoncepod/",
    "id": "k8s_00610_section_2_11399"
  },
  {
    "question": "What is Resize CPU and Memory Resources assigned to Containers?",
    "answer": "Resize CPU and Memory Resources assigned to ContainersFEATURE STATE: Kubernetes v1.33 [beta] (enabled by default: true)This page explains how to change the CPU and memory resource requests and limits assigned to a container without recreating the Pod.Traditionally, changing a Pod's resource requirements necessitated deleting the existing Pod and creating a replacement, often managed by a workload controller. In-place Pod Resize allows changing the CPU/memory allocation of container(s) within a running Pod while potentially avoiding application disruption.Key Concepts:Desired Resources: A container's spec.containers[*].resources represent the desired resources for the container, and are mutable for CPU and memory.Actual Resources: The status.containerStatuses[*].resources field reflects the resources currently configured for a running container. For containers that haven't started or were restarted, it reflects the resources allocated upon their",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/",
    "id": "k8s_00611_qa_11400"
  },
  {
    "question": "How does Resize CPU and Memory Resources assigned to Containers work?",
    "answer": "Resize CPU and Memory Resources assigned to ContainersFEATURE STATE: Kubernetes v1.33 [beta] (enabled by default: true)This page explains how to change the CPU and memory resource requests and limits assigned to a container without recreating the Pod.Traditionally, changing a Pod's resource requirements necessitated deleting the existing Pod and creating a replacement, often managed by a workload controller. In-place Pod Resize allows changing the CPU/memory allocation of container(s) within a running Pod while potentially avoiding application disruption.Key Concepts:Desired Resources: A container's spec.containers[*].resources represent the desired resources for the container, and are mutable for CPU and memory.Actual Resources: The status.containerStatuses[*].resources field reflects the resources currently configured for a running container. For containers that haven't started or were restarted, it reflects the resources allocated upon their",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/",
    "id": "k8s_00611_qa_11401"
  },
  {
    "question": "When would you use Resize CPU and Memory Resources assigned to Containers?",
    "answer": "Resize CPU and Memory Resources assigned to ContainersFEATURE STATE: Kubernetes v1.33 [beta] (enabled by default: true)This page explains how to change the CPU and memory resource requests and limits assigned to a container without recreating the Pod.Traditionally, changing a Pod's resource requirements necessitated deleting the existing Pod and creating a replacement, often managed by a workload controller. In-place Pod Resize allows changing the CPU/memory allocation of container(s) within a running Pod while potentially avoiding application disruption.Key Concepts:Desired Resources: A container's spec.containers[*].resources represent the desired resources for the container, and are mutable for CPU and memory.Actual Resources: The status.containerStatuses[*].resources field reflects the resources currently configured for a running container. For containers that haven't started or were restarted, it reflects the resources allocated upon their",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/",
    "id": "k8s_00611_qa_11402"
  },
  {
    "question": "What are the benefits of Resize CPU and Memory Resources assigned to Containers?",
    "answer": "Resize CPU and Memory Resources assigned to ContainersFEATURE STATE: Kubernetes v1.33 [beta] (enabled by default: true)This page explains how to change the CPU and memory resource requests and limits assigned to a container without recreating the Pod.Traditionally, changing a Pod's resource requirements necessitated deleting the existing Pod and creating a replacement, often managed by a workload controller. In-place Pod Resize allows changing the CPU/memory allocation of container(s) within a running Pod while potentially avoiding application disruption.Key Concepts:Desired Resources: A container's spec.containers[*].resources represent the desired resources for the container, and are mutable for CPU and memory.Actual Resources: The status.containerStatuses[*].resources field reflects the resources currently configured for a running container. For containers that haven't started or were restarted, it reflects the resources allocated upon their",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/",
    "id": "k8s_00611_qa_11403"
  },
  {
    "question": "What is Resize CPU and Memory Resources assigned to Containers?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   t o   c h a n g e   t h e   C P U   a n d   m e m o r y   r e s o u r c e   r e q u e s t s   a n d   l i m i t s   a s s i g n e d   t o   a   c o n t a i n e r   w i t h o u t   r e c r e a t i n g   t h e   P o d .   T r a d i t i o n a l l y ,   c h a n g i n g   a   P o d ' s   r e s o u r c e   r e q u i r e m e n t s   n e c e s s i t a t e d   d e l e t i n g   t h e   e x i s t i n g   P o d   a n d   c r e a t i n g   a   r e p l a c e m e n t ,   o f t e n   m a n a g e d   b y   a   w o r k l o a d   c o n t r o l l e r .   I n - p l a c e   P o d   R e s i z e   a l l o w s   c h a n g i n g   t h e   C P U / m e m o r y   a l l o c a t i o n   o f   c o n t a i n e r ( s )   w i t h i n   a   r u n n i n g   P o d   w h i l e   p o t e n t i a l l y   a v o i d i n g   a p p l i c a t i o n   d i s r u p t i o n .   K e y   C o n c e p t s :   D e s i r e d   R e s o u r c e s :   A   c o n t a i n e r ' s   s p e c . c o n t a i n e r s [ * ] . r e s o u r c e s   r e p r e s e n t   t h e   d e s i r e d   r e s o u r c e s   f o r   t h e   c o n t a i n e r ,   a n d   a r e   m u t a b l e   f o r   C P U   a n d   m e m o r y . A c t u a l   R e s o u r c e s :   T h e   s t a t u s . c o n t a i n e r S t a t u s e s [ * ] . r e s o u r c e s   f i e l d   r e f l e c t s   t h e   r e s o u r c e s   c u r r e n t l y   c o n f i g u r e d   f o r   a   r u n n i n g   c o n t a i n e r .   F o r   c o n t a i n e r s   t h a t   h a v e n ' t   s t a r t e d   o r   w e r e   r e s t a r t e d ,   i t   r e f l e c t s   t h e   r e s o u r c e s   a l l o c a t e d   u p o n   t h e i r   n e x t   s t a r t . T r i g g e r i n g   a   R e s i z e :   Y o u   c a n   r e q u e s t   a   r e s i z e   b y   u p d a t i n g   t h e   d e s i r e d   r e q u e s t s   a n d   l i m i t s   i n   t h e   P o d ' s   s p e c i f i c a t i o n .   T h i s   i s   t y p i c a l l y   d o n e   u s i n g ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/",
    "id": "k8s_00611_section_1_11404"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 3 3 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   T ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/",
    "id": "k8s_00611_section_2_11405"
  },
  {
    "question": "What is Pod resize status?",
    "answer": "T h e   K u b e l e t   u p d a t e s   t h e   P o d ' s   s t a t u s   c o n d i t i o n s   t o   i n d i c a t e   t h e   s t a t e   o f   a   r e s i z e   r e q u e s t :   t y p e :   P o d R e s i z e P e n d i n g :   T h e   K u b e l e t   c a n n o t   i m m e d i a t e l y   g r a n t   t h e   r e q u e s t .   T h e   m e s s a g e   f i e l d   p r o v i d e s   a n   e x p l a n a t i o n   o f   w h y . r e a s o n :   I n f e a s i b l e :   T h e   r e q u e s t e d   r e s i z e   i s   i m p o s s i b l e   o n   t h e   c u r r e n t   n o d e   ( f o r   e x a m p l e ,   r e q u e s t i n g   m o r e   r e s o u r c e s   t h a n   t h e   n o d e   h a s ) . r e a s o n :   D e f e r r e d :   T h e   r e q u e s t e d   r e s i z e   i s   c u r r e n t l y   n o t   p o s s i b l e ,   b u t   m i g h t   b e c o m e   f e a s i b l e   l a t e r   ( f o r   e x a m p l e   i f   a n o t h e r   p o d   i s   r e m o v e d ) .   T h e   K u b e l e t   w i l l   r e t r y   t h e   r e s i z e . t y p e :   P o d R e s i z e I n P r o g r e s s :   T h e   K u b e l e t   h a s   a c c e p t e d   t h e   r e s i z e   a n d   a l l o c a t e d   r e s o u r c e s ,   b u t   t h e   c h a n g e s   a r e   s t i l l   b e i n g   a p p l i e d .   T h i s   i s   u s u a l l y   b r i e f   b u t   m i g h t   t a k e   l o n g e r   d e p e n d i n g   o n   t h e   r e s o u r c e   t y p e   a n d   r u n t i m e   b e h a v i o r .   A n y   e r r o r s   d u r i n g   a c t u a t i o n   a r e   r e p o r t e d   i n   t h e   m e s s a g e   f i e l d   ( a l o n g   w i t h   r e a s o n :   E r r o r ) .   r e a s o n :   I n f e a s i b l e :   T h e   r e q u e s t e d   r e s i z e   i s   i m p o s s i b l e   o n   t h e   c u r r e n t   n o d e   ( f o r   e x a m p l e ,   r e q u e s t i n g   m o r e   r e s o u r c e s   t h a n   t h e   n o d e   h a s ) . r e a s o n :   D e f e r r e d :   T h e   r e q u e s t ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/",
    "id": "k8s_00611_section_2_11406"
  },
  {
    "question": "What is How kubelet retries Deferred resizes?",
    "answer": "I f   t h e   r e q u e s t e d   r e s i z e   i s   D e f e r r e d ,   t h e   k u b e l e t   w i l l   p e r i o d i c a l l y   r e - a t t e m p t   t h e   r e s i z e ,   f o r   e x a m p l e   w h e n   a n o t h e r   p o d   i s   r e m o v e d   o r   s c a l e d   d o w n .   I f   t h e r e   a r e   m u l t i p l e   d e f e r r e d   r e s i z e s ,   t h e y   a r e   r e t r i e d   a c c o r d i n g   t o   t h e   f o l l o w i n g   p r i o r i t y :   P o d s   w i t h   a   h i g h e r   P r i o r i t y   ( b a s e d   o n   P r i o r i t y C l a s s )   w i l l   h a v e   t h e i r   r e s i z e   r e q u e s t   r e t r i e d   f i r s t . I f   t w o   p o d s   h a v e   t h e   s a m e   P r i o r i t y ,   r e s i z e   o f   g u a r a n t e e d   p o d s   w i l l   b e   r e t r i e d   b e f o r e   t h e   r e s i z e   o f   b u r s t a b l e   p o d s . I f   a l l   e l s e   i s   t h e   s a m e ,   p o d s   t h a t   h a v e   b e e n   i n   t h e   D e f e r r e d   s t a t e   l o n g e r   w i l l   b e   p r i o r i t i z e d .   A   h i g h e r   p r i o r i t y   r e s i z e   b e i n g   m a r k e d   a s   p e n d i n g   w i l l   n o t   b l o c k   t h e   r e m a i n i n g   p e n d i n g   r e s i z e s   f r o m   b e i n g   a t t e m p t e d ;   a l l   r e m a i n i n g   p e n d i n g   r e s i z e s   w i l l   s t i l l   b e   r e t r i e d   e v e n   i f   a   h i g h e r - p r i o r i t y   r e s i z e   g e t s   d e f e r r e d   a g a i n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/",
    "id": "k8s_00611_section_3_11407"
  },
  {
    "question": "What is Leveraging observedGeneration Fields?",
    "answer": "T h e   t o p - l e v e l   s t a t u s . o b s e r v e d G e n e r a t i o n   f i e l d   s h o w s   t h e   m e t a d a t a . g e n e r a t i o n   c o r r e s p o n d i n g   t o   t h e   l a t e s t   p o d   s p e c i f i c a t i o n   t h a t   t h e   k u b e l e t   h a s   a c k n o w l e d g e d .   Y o u   c a n   u s e   t h i s   t o   d e t e r m i n e   t h e   m o s t   r e c e n t   r e s i z e   r e q u e s t   t h e   k u b e l e t   h a s   p r o c e s s e d . I n   t h e   P o d R e s i z e I n P r o g r e s s   c o n d i t i o n ,   t h e   c o n d i t i o n s [ ] . o b s e r v e d G e n e r a t i o n   f i e l d   i n d i c a t e s   t h e   m e t a d a t a . g e n e r a t i o n   o f   t h e   p o d S p e c   w h e n   t h e   c u r r e n t   i n - p r o g r e s s   r e s i z e   w a s   i n i t i a t e d . I n   t h e   P o d R e s i z e P e n d i n g   c o n d i t i o n ,   t h e   c o n d i t i o n s [ ] . o b s e r v e d G e n e r a t i o n   f i e l d   i n d i c a t e s   t h e   m e t a d a t a . g e n e r a t i o n   o f   t h e   p o d S p e c   w h e n   t h e   p e n d i n g   r e s i z e ' s   a l l o c a t i o n   w a s   l a s t   a t t e m p t e d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/",
    "id": "k8s_00611_section_3_11408"
  },
  {
    "question": "What is Container resize policies?",
    "answer": "Y o u   c a n   c o n t r o l   w h e t h e r   a   c o n t a i n e r   s h o u l d   b e   r e s t a r t e d   w h e n   r e s i z i n g   b y   s e t t i n g   r e s i z e P o l i c y   i n   t h e   c o n t a i n e r   s p e c i f i c a t i o n .   T h i s   a l l o w s   f i n e - g r a i n e d   c o n t r o l   b a s e d   o n   r e s o u r c e   t y p e   ( C P U   o r   m e m o r y ) .   r e s i z e P o l i c y :   -   r e s o u r c e N a m e :   c p u   r e s t a r t P o l i c y :   N o t R e q u i r e d   -   r e s o u r c e N a m e :   m e m o r y   r e s t a r t P o l i c y :   R e s t a r t C o n t a i n e r   N o t R e q u i r e d :   ( D e f a u l t )   A p p l y   t h e   r e s o u r c e   c h a n g e   t o   t h e   r u n n i n g   c o n t a i n e r   w i t h o u t   r e s t a r t i n g   i t . R e s t a r t C o n t a i n e r :   R e s t a r t   t h e   c o n t a i n e r   t o   a p p l y   t h e   n e w   r e s o u r c e   v a l u e s .   T h i s   i s   o f t e n   n e c e s s a r y   f o r   m e m o r y   c h a n g e s   b e c a u s e   m a n y   a p p l i c a t i o n s   a n d   r u n t i m e s   c a n n o t   a d j u s t   t h e i r   m e m o r y   a l l o c a t i o n   d y n a m i c a l l y .   I f   r e s i z e P o l i c y [ * ] . r e s t a r t P o l i c y   i s   n o t   s p e c i f i e d   f o r   a   r e s o u r c e ,   i t   d e f a u l t s   t o   N o t R e q u i r e d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/",
    "id": "k8s_00611_section_2_11409"
  },
  {
    "question": "What is Note:?",
    "answer": "E x a m p l e   S c e n a r i o :   C o n s i d e r   a   c o n t a i n e r   c o n f i g u r e d   w i t h   r e s t a r t P o l i c y :   N o t R e q u i r e d   f o r   C P U   a n d   r e s t a r t P o l i c y :   R e s t a r t C o n t a i n e r   f o r   m e m o r y .   I f   o n l y   C P U   r e s o u r c e s   a r e   c h a n g e d ,   t h e   c o n t a i n e r   i s   r e s i z e d   i n - p l a c e . I f   o n l y   m e m o r y   r e s o u r c e s   a r e   c h a n g e d ,   t h e   c o n t a i n e r   i s   r e s t a r t e d . I f   b o t h   C P U   a n d   m e m o r y   r e s o u r c e s   a r e   c h a n g e d   s i m u l t a n e o u s l y ,   t h e   c o n t a i n e r   i s   r e s t a r t e d   ( d u e   t o   t h e   m e m o r y   p o l i c y ) .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/",
    "id": "k8s_00611_section_4_11410"
  },
  {
    "question": "What is Limitations?",
    "answer": "F o r   K u b e r n e t e s   1 . 3 4 ,   r e s i z i n g   p o d   r e s o u r c e s   i n - p l a c e   h a s   t h e   f o l l o w i n g   l i m i t a t i o n s :   R e s o u r c e   T y p e s :   O n l y   C P U   a n d   m e m o r y   r e s o u r c e s   c a n   b e   r e s i z e d . M e m o r y   D e c r e a s e :   I f   t h e   m e m o r y   r e s i z e   r e s t a r t   p o l i c y   i s   N o t R e q u i r e d   ( o r   u n s p e c i f i e d ) ,   t h e   k u b e l e t   w i l l   m a k e   a   b e s t - e f f o r t   a t t e m p t   t o   p r e v e n t   o o m - k i l l s   w h e n   d e c r e a s i n g   m e m o r y   l i m i t s ,   b u t   d o e s n ' t   p r o v i d e   a n y   g u a r a n t e e s .   B e f o r e   d e c r e a s i n g   c o n t a i n e r   m e m o r y   l i m i t s ,   i f   m e m o r y   u s a g e   e x c e e d s   t h e   r e q u e s t e d   l i m i t ,   t h e   r e s i z e   w i l l   b e   s k i p p e d   a n d   t h e   s t a t u s   w i l l   r e m a i n   i n   a n   \" I n   P r o g r e s s \"   s t a t e .   T h i s   i s   c o n s i d e r e d   b e s t - e f f o r t   b e c a u s e   i t   i s   s t i l l   s u b j e c t   t o   a   r a c e   c o n d i t i o n   w h e r e   m e m o r y   u s a g e   m a y   s p i k e   r i g h t   a f t e r   t h e   c h e c k   i s   p e r f o r m e d . Q o S   C l a s s :   T h e   P o d ' s   o r i g i n a l   Q u a l i t y   o f   S e r v i c e   ( Q o S )   c l a s s   ( G u a r a n t e e d ,   B u r s t a b l e ,   o r   B e s t E f f o r t )   i s   d e t e r m i n e d   a t   c r e a t i o n   a n d   c a n n o t   b e   c h a n g e d   b y   a   r e s i z e .   T h e   r e s i z e d   r e s o u r c e   v a l u e s   m u s t   s t i l l   a d h e r e   t o   t h e   r u l e s   o f   t h e   o r i g i n a l   Q o S   c l a s s : G u a r a n t e e d :   R e q u e s t s   m u s t   c o n t i n u e   t o   e q u a l   l i m i t s   f o r   b o t h   C P U   a n d   m e m o r y   a f t e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/",
    "id": "k8s_00611_section_2_11411"
  },
  {
    "question": "What is Example 1: Resizing CPU without restart?",
    "answer": "F i r s t ,   c r e a t e   a   P o d   d e s i g n e d   f o r   i n - p l a c e   C P U   r e s i z e   a n d   r e s t a r t - r e q u i r e d   m e m o r y   r e s i z e .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   r e s i z e - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   p a u s e   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 8   r e s i z e P o l i c y :   -   r e s o u r c e N a m e :   c p u   r e s t a r t P o l i c y :   N o t R e q u i r e d   #   D e f a u l t ,   b u t   e x p l i c i t   h e r e   -   r e s o u r c e N a m e :   m e m o r y   r e s t a r t P o l i c y :   R e s t a r t C o n t a i n e r   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 2 0 0 M i \"   c p u :   \" 7 0 0 m \"   r e q u e s t s :   m e m o r y :   \" 2 0 0 M i \"   c p u :   \" 7 0 0 m \"   C r e a t e   t h e   p o d :   k u b e c t l   c r e a t e   - f   p o d - r e s i z e . y a m l   T h i s   p o d   s t a r t s   i n   t h e   G u a r a n t e e d   Q o S   c l a s s .   V e r i f y   i t s   i n i t i a l   s t a t e :   #   W a i t   a   m o m e n t   f o r   t h e   p o d   t o   b e   r u n n i n g   k u b e c t l   g e t   p o d   r e s i z e - d e m o   - - o u t p u t = y a m l   O b s e r v e   t h e   s p e c . c o n t a i n e r s [ 0 ] . r e s o u r c e s   a n d   s t a t u s . c o n t a i n e r S t a t u s e s [ 0 ] . r e s o u r c e s .   T h e y   s h o u l d   m a t c h   t h e   m a n i f e s t   ( 7 0 0 m   C P U ,   2 0 0 M i   m e m o r y ) .   N o t e   t h e   s t a t u s . c o n t a i n e r S t a t u s e s [ 0 ] . r e s t a r t C o u n t   ( s h o u l d   b e   0 ) .   N o w ,   i n c r e a s e   t h e   C P U   r e q u e s t   a n d   l i m i t   t o   8 0 0 m .   Y o u   u s e   k u b e c t l   p a t c h   w i t h   t h e   - - s u b r e s o u r c e   r e s i z e   c o m m a n d   l i n e   a r g u m e n t .   k u b e c t l   p a t c h   p o d   r e s i z e - d e m ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/",
    "id": "k8s_00611_section_2_11412"
  },
  {
    "question": "What is Note:?",
    "answer": "C h e c k   t h e   p o d   s t a t u s   a g a i n   a f t e r   p a t c h i n g :   k u b e c t l   g e t   p o d   r e s i z e - d e m o   - - o u t p u t = y a m l   - - n a m e s p a c e = q o s - e x a m p l e   Y o u   s h o u l d   s e e :   s p e c . c o n t a i n e r s [ 0 ] . r e s o u r c e s   n o w   s h o w s   c p u :   8 0 0 m . s t a t u s . c o n t a i n e r S t a t u s e s [ 0 ] . r e s o u r c e s   a l s o   s h o w s   c p u :   8 0 0 m ,   i n d i c a t i n g   t h e   r e s i z e   w a s   s u c c e s s f u l   o n   t h e   n o d e . s t a t u s . c o n t a i n e r S t a t u s e s [ 0 ] . r e s t a r t C o u n t   r e m a i n s   0 ,   b e c a u s e   t h e   C P U   r e s i z e P o l i c y   w a s   N o t R e q u i r e d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/",
    "id": "k8s_00611_section_4_11413"
  },
  {
    "question": "What is Example 2: Resizing memory with restart?",
    "answer": "N o w ,   r e s i z e   t h e   m e m o r y   f o r   t h e   s a m e   p o d   b y   i n c r e a s i n g   i t   t o   3 0 0 M i .   S i n c e   t h e   m e m o r y   r e s i z e P o l i c y   i s   R e s t a r t C o n t a i n e r ,   t h e   c o n t a i n e r   i s   e x p e c t e d   t o   r e s t a r t .   k u b e c t l   p a t c h   p o d   r e s i z e - d e m o   - - s u b r e s o u r c e   r e s i z e   - - p a t c h   \\   ' { \" s p e c \" : { \" c o n t a i n e r s \" : [ { \" n a m e \" : \" p a u s e \" ,   \" r e s o u r c e s \" : { \" r e q u e s t s \" : { \" m e m o r y \" : \" 3 0 0 M i \" } ,   \" l i m i t s \" : { \" m e m o r y \" : \" 3 0 0 M i \" } } } ] } } '   C h e c k   t h e   p o d   s t a t u s   s h o r t l y   a f t e r   p a t c h i n g :   k u b e c t l   g e t   p o d   r e s i z e - d e m o   - - o u t p u t = y a m l   Y o u   s h o u l d   n o w   o b s e r v e :   s p e c . c o n t a i n e r s [ 0 ] . r e s o u r c e s   s h o w s   m e m o r y :   3 0 0 M i . s t a t u s . c o n t a i n e r S t a t u s e s [ 0 ] . r e s o u r c e s   a l s o   s h o w s   m e m o r y :   3 0 0 M i . s t a t u s . c o n t a i n e r S t a t u s e s [ 0 ] . r e s t a r t C o u n t   h a s   i n c r e a s e d   t o   1   ( o r   m o r e ,   i f   r e s t a r t s   h a p p e n e d   p r e v i o u s l y ) ,   i n d i c a t i n g   t h e   c o n t a i n e r   w a s   r e s t a r t e d   t o   a p p l y   t h e   m e m o r y   c h a n g e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/",
    "id": "k8s_00611_section_2_11414"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   t h e   p o d :   k u b e c t l   d e l e t e   p o d   r e s i z e - d e m o",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/",
    "id": "k8s_00611_section_2_11415"
  },
  {
    "question": "What is For application developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/",
    "id": "k8s_00611_section_3_11416"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/",
    "id": "k8s_00611_section_3_11417"
  },
  {
    "question": "What is LimitRange?",
    "answer": "LimitRangeLimitRange sets resource usage limits for each kind of resource in a Namespace.apiVersion: v1import \"k8s.io/api/core/v1\"LimitRangeLimitRange sets resource usage limits for each kind of resource in a Namespace.apiVersion: v1kind: LimitRangemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (LimitRangeSpec)Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusLimitRangeSpecLimitRangeSpec defines a min/max usage limit for resources that match on kind.limits ([]LimitRangeItem), requiredAtomic: will be replaced during a mergeLimits is the list of LimitRangeItem objects that are enforced.LimitRangeItem defines a min/max usage limit for any resource that matches on kind.limits.type (string), requiredType of resource that this limit applies to.limits.default (map[string]Quantity)Default resource requirement limit value by resource name if resource limit is omitted.limits.defaultRequest (map[string]Quantity)DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.limits.max (map[string]Quantity)Max usage constraints on this kind by resource name.limits.maxLimitRequestRatio (map[string]Quantity)MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.limits.min (map[string]Quantity)Min usage constraints on this kind by resource name.LimitRangeListLimitRangeList is a list of LimitRange items.apiVersion: v1kind: LimitRangeListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems ([]LimitRange), requiredItems is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/Operationsget read the specified LimitRangeHTTP RequestGET /api/v1/namespaces/{namespace}/limitranges/{name}Parametersname (in path): string, requiredname of the LimitRangenamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (LimitRange): OK401: Unauthorizedlist list or watch objects of kind LimitRangeHTTP RequestGET /api/v1/namespaces/{namespace}/limitrangesParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_qa_11418"
  },
  {
    "question": "How does LimitRange work?",
    "answer": "LimitRangeLimitRange sets resource usage limits for each kind of resource in a Namespace.apiVersion: v1import \"k8s.io/api/core/v1\"LimitRangeLimitRange sets resource usage limits for each kind of resource in a Namespace.apiVersion: v1kind: LimitRangemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (LimitRangeSpec)Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusLimitRangeSpecLimitRangeSpec defines a min/max usage limit for resources that match on kind.limits ([]LimitRangeItem), requiredAtomic: will be replaced during a mergeLimits is the list of LimitRangeItem objects that are enforced.LimitRangeItem defines a min/max usage limit for any resource that matches on kind.limits.type (string), requiredType of resource that this limit applies to.limits.default (map[string]Quantity)Default resource requirement limit value by resource name if resource limit is omitted.limits.defaultRequest (map[string]Quantity)DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.limits.max (map[string]Quantity)Max usage constraints on this kind by resource name.limits.maxLimitRequestRatio (map[string]Quantity)MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.limits.min (map[string]Quantity)Min usage constraints on this kind by resource name.LimitRangeListLimitRangeList is a list of LimitRange items.apiVersion: v1kind: LimitRangeListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems ([]LimitRange), requiredItems is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/Operationsget read the specified LimitRangeHTTP RequestGET /api/v1/namespaces/{namespace}/limitranges/{name}Parametersname (in path): string, requiredname of the LimitRangenamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (LimitRange): OK401: Unauthorizedlist list or watch objects of kind LimitRangeHTTP RequestGET /api/v1/namespaces/{namespace}/limitrangesParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_qa_11419"
  },
  {
    "question": "When would you use LimitRange?",
    "answer": "LimitRangeLimitRange sets resource usage limits for each kind of resource in a Namespace.apiVersion: v1import \"k8s.io/api/core/v1\"LimitRangeLimitRange sets resource usage limits for each kind of resource in a Namespace.apiVersion: v1kind: LimitRangemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (LimitRangeSpec)Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusLimitRangeSpecLimitRangeSpec defines a min/max usage limit for resources that match on kind.limits ([]LimitRangeItem), requiredAtomic: will be replaced during a mergeLimits is the list of LimitRangeItem objects that are enforced.LimitRangeItem defines a min/max usage limit for any resource that matches on kind.limits.type (string), requiredType of resource that this limit applies to.limits.default (map[string]Quantity)Default resource requirement limit value by resource name if resource limit is omitted.limits.defaultRequest (map[string]Quantity)DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.limits.max (map[string]Quantity)Max usage constraints on this kind by resource name.limits.maxLimitRequestRatio (map[string]Quantity)MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.limits.min (map[string]Quantity)Min usage constraints on this kind by resource name.LimitRangeListLimitRangeList is a list of LimitRange items.apiVersion: v1kind: LimitRangeListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems ([]LimitRange), requiredItems is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/Operationsget read the specified LimitRangeHTTP RequestGET /api/v1/namespaces/{namespace}/limitranges/{name}Parametersname (in path): string, requiredname of the LimitRangenamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (LimitRange): OK401: Unauthorizedlist list or watch objects of kind LimitRangeHTTP RequestGET /api/v1/namespaces/{namespace}/limitrangesParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_qa_11420"
  },
  {
    "question": "What are the benefits of LimitRange?",
    "answer": "LimitRangeLimitRange sets resource usage limits for each kind of resource in a Namespace.apiVersion: v1import \"k8s.io/api/core/v1\"LimitRangeLimitRange sets resource usage limits for each kind of resource in a Namespace.apiVersion: v1kind: LimitRangemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (LimitRangeSpec)Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusLimitRangeSpecLimitRangeSpec defines a min/max usage limit for resources that match on kind.limits ([]LimitRangeItem), requiredAtomic: will be replaced during a mergeLimits is the list of LimitRangeItem objects that are enforced.LimitRangeItem defines a min/max usage limit for any resource that matches on kind.limits.type (string), requiredType of resource that this limit applies to.limits.default (map[string]Quantity)Default resource requirement limit value by resource name if resource limit is omitted.limits.defaultRequest (map[string]Quantity)DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.limits.max (map[string]Quantity)Max usage constraints on this kind by resource name.limits.maxLimitRequestRatio (map[string]Quantity)MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.limits.min (map[string]Quantity)Min usage constraints on this kind by resource name.LimitRangeListLimitRangeList is a list of LimitRange items.apiVersion: v1kind: LimitRangeListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems ([]LimitRange), requiredItems is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/Operationsget read the specified LimitRangeHTTP RequestGET /api/v1/namespaces/{namespace}/limitranges/{name}Parametersname (in path): string, requiredname of the LimitRangenamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (LimitRange): OK401: Unauthorizedlist list or watch objects of kind LimitRangeHTTP RequestGET /api/v1/namespaces/{namespace}/limitrangesParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_qa_11421"
  },
  {
    "question": "What is LimitRange?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_1_11422"
  },
  {
    "question": "What is LimitRange?",
    "answer": "L i m i t R a n g e   s e t s   r e s o u r c e   u s a g e   l i m i t s   f o r   e a c h   k i n d   o f   r e s o u r c e   i n   a   N a m e s p a c e .   a p i V e r s i o n :   v 1 k i n d :   L i m i t R a n g e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( L i m i t R a n g e S p e c ) S p e c   d e f i n e s   t h e   l i m i t s   e n f o r c e d .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   v 1   k i n d :   L i m i t R a n g e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( L i m i t R a n g e S p e c )   S p e c   d e f i n e s   t h e   l i m i t s   e n f o r c e d .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_2_11423"
  },
  {
    "question": "What is LimitRangeSpec?",
    "answer": "L i m i t R a n g e S p e c   d e f i n e s   a   m i n / m a x   u s a g e   l i m i t   f o r   r e s o u r c e s   t h a t   m a t c h   o n   k i n d .   l i m i t s   ( [ ] L i m i t R a n g e I t e m ) ,   r e q u i r e d A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e L i m i t s   i s   t h e   l i s t   o f   L i m i t R a n g e I t e m   o b j e c t s   t h a t   a r e   e n f o r c e d . L i m i t R a n g e I t e m   d e f i n e s   a   m i n / m a x   u s a g e   l i m i t   f o r   a n y   r e s o u r c e   t h a t   m a t c h e s   o n   k i n d . l i m i t s . t y p e   ( s t r i n g ) ,   r e q u i r e d T y p e   o f   r e s o u r c e   t h a t   t h i s   l i m i t   a p p l i e s   t o . l i m i t s . d e f a u l t   ( m a p [ s t r i n g ] Q u a n t i t y ) D e f a u l t   r e s o u r c e   r e q u i r e m e n t   l i m i t   v a l u e   b y   r e s o u r c e   n a m e   i f   r e s o u r c e   l i m i t   i s   o m i t t e d . l i m i t s . d e f a u l t R e q u e s t   ( m a p [ s t r i n g ] Q u a n t i t y ) D e f a u l t R e q u e s t   i s   t h e   d e f a u l t   r e s o u r c e   r e q u i r e m e n t   r e q u e s t   v a l u e   b y   r e s o u r c e   n a m e   i f   r e s o u r c e   r e q u e s t   i s   o m i t t e d . l i m i t s . m a x   ( m a p [ s t r i n g ] Q u a n t i t y ) M a x   u s a g e   c o n s t r a i n t s   o n   t h i s   k i n d   b y   r e s o u r c e   n a m e . l i m i t s . m a x L i m i t R e q u e s t R a t i o   ( m a p [ s t r i n g ] Q u a n t i t y ) M a x L i m i t R e q u e s t R a t i o   i f   s p e c i f i e d ,   t h e   n a m e d   r e s o u r c e   m u s t   h a v e   a   r e q u e s t   a n d   l i m i t   t h a t   a r e   b o t h   n o n - z e r o   w h e r e   l i m i t   d i v i d e d   b y   r e q u e s t   i s   l e s s   t h a n   o r   e q u a l   t o   t h e   e n u m e r a t e d   v a l u e ;   t h i s   r e p r e s e n t s   t h e   m a x   b u r s t   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_2_11424"
  },
  {
    "question": "What is LimitRangeList?",
    "answer": "L i m i t R a n g e L i s t   i s   a   l i s t   o f   L i m i t R a n g e   i t e m s .   a p i V e r s i o n :   v 1 k i n d :   L i m i t R a n g e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] L i m i t R a n g e ) ,   r e q u i r e d I t e m s   i s   a   l i s t   o f   L i m i t R a n g e   o b j e c t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n f i g u r a t i o n / m a n a g e - r e s o u r c e s - c o n t a i n e r s /   a p i V e r s i o n :   v 1   k i n d :   L i m i t R a n g e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] L i m i t R a n g e ) ,   r e q u i r e d   I t e m s   i s   a   l i s t   o f   L i m i t R a n g e   o b j e c t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n f i g u r a t i o n / m a n a g e - r e s o u r c e s - c o n t a i n e r s /",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_2_11425"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_4_11426"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L i m i t R a n g e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L i m i t R a n g e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_4_11427"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L i m i t R a n g e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_4_11428"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_4_11429"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_4_11430"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L i m i t R a n g e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_4_11431"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / l i m i t r a n g e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_4_11432"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_4_11433"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L i m i t R a n g e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_4_11434"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_4_11435"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   L i m i t R a n g e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   L i m i t R a n g e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_4_11436"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L i m i t R a n g e ) :   O K   2 0 1   ( L i m i t R a n g e ) :   C r e a t e d   2 0 2   ( L i m i t R a n g e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_4_11437"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_4_11438"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L i m i t R a n g e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   L i m i t R a n g e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L i m i t R a n g e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   L i m i t R a n g e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_4_11439"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L i m i t R a n g e ) :   O K   2 0 1   ( L i m i t R a n g e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_4_11440"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_4_11441"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L i m i t R a n g e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L i m i t R a n g e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_4_11442"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L i m i t R a n g e ) :   O K   2 0 1   ( L i m i t R a n g e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_4_11443"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_4_11444"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L i m i t R a n g e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L i m i t R a n g e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_4_11445"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_4_11446"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_4_11447"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_4_11448"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/",
    "id": "k8s_00612_section_4_11449"
  },
  {
    "question": "What is TokenReview?",
    "answer": "TokenReviewTokenReview attempts to authenticate a token to a known user.apiVersion: authentication.k8s.io/v1import \"k8s.io/api/authentication/v1\"TokenReviewTokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.apiVersion: authentication.k8s.io/v1kind: TokenReviewmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (TokenReviewSpec), requiredSpec holds information about the request being evaluatedstatus (TokenReviewStatus)Status is filled in by the server and indicates whether the request can be authenticated.TokenReviewSpecTokenReviewSpec is a description of the token authentication request.audiences ([]string)Atomic: will be replaced during a mergeAudiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.token (string)Token is the opaque bearer token.TokenReviewStatusTokenReviewStatus is the result of the token authentication request.audiences ([]string)Atomic: will be replaced during a mergeAudiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server.authenticated (boolean)Authenticated indicates that the token was associated with a known user.error (string)Error indicates that the token couldn't be checkeduser (UserInfo)User is the UserInfo associated with the provided token.UserInfo holds the information about the user needed to implement the user.Info interface.user.extra (map[string][]string)Any additional information provided by the authenticator.user.groups ([]string)Atomic: will be replaced during a mergeThe names of groups this user is a part of.user.uid (string)A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.user.username (string)The name that uniquely identifies this user among all active users.Operationscreate create a TokenReviewHTTP RequestPOST /apis/authentication.k8s.io/v1/tokenreviewsParametersbody: TokenReview, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidati",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/token-review-v1/",
    "id": "k8s_00613_qa_11450"
  },
  {
    "question": "How does TokenReview work?",
    "answer": "TokenReviewTokenReview attempts to authenticate a token to a known user.apiVersion: authentication.k8s.io/v1import \"k8s.io/api/authentication/v1\"TokenReviewTokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.apiVersion: authentication.k8s.io/v1kind: TokenReviewmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (TokenReviewSpec), requiredSpec holds information about the request being evaluatedstatus (TokenReviewStatus)Status is filled in by the server and indicates whether the request can be authenticated.TokenReviewSpecTokenReviewSpec is a description of the token authentication request.audiences ([]string)Atomic: will be replaced during a mergeAudiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.token (string)Token is the opaque bearer token.TokenReviewStatusTokenReviewStatus is the result of the token authentication request.audiences ([]string)Atomic: will be replaced during a mergeAudiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server.authenticated (boolean)Authenticated indicates that the token was associated with a known user.error (string)Error indicates that the token couldn't be checkeduser (UserInfo)User is the UserInfo associated with the provided token.UserInfo holds the information about the user needed to implement the user.Info interface.user.extra (map[string][]string)Any additional information provided by the authenticator.user.groups ([]string)Atomic: will be replaced during a mergeThe names of groups this user is a part of.user.uid (string)A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.user.username (string)The name that uniquely identifies this user among all active users.Operationscreate create a TokenReviewHTTP RequestPOST /apis/authentication.k8s.io/v1/tokenreviewsParametersbody: TokenReview, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidati",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/token-review-v1/",
    "id": "k8s_00613_qa_11451"
  },
  {
    "question": "When would you use TokenReview?",
    "answer": "TokenReviewTokenReview attempts to authenticate a token to a known user.apiVersion: authentication.k8s.io/v1import \"k8s.io/api/authentication/v1\"TokenReviewTokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.apiVersion: authentication.k8s.io/v1kind: TokenReviewmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (TokenReviewSpec), requiredSpec holds information about the request being evaluatedstatus (TokenReviewStatus)Status is filled in by the server and indicates whether the request can be authenticated.TokenReviewSpecTokenReviewSpec is a description of the token authentication request.audiences ([]string)Atomic: will be replaced during a mergeAudiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.token (string)Token is the opaque bearer token.TokenReviewStatusTokenReviewStatus is the result of the token authentication request.audiences ([]string)Atomic: will be replaced during a mergeAudiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server.authenticated (boolean)Authenticated indicates that the token was associated with a known user.error (string)Error indicates that the token couldn't be checkeduser (UserInfo)User is the UserInfo associated with the provided token.UserInfo holds the information about the user needed to implement the user.Info interface.user.extra (map[string][]string)Any additional information provided by the authenticator.user.groups ([]string)Atomic: will be replaced during a mergeThe names of groups this user is a part of.user.uid (string)A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.user.username (string)The name that uniquely identifies this user among all active users.Operationscreate create a TokenReviewHTTP RequestPOST /apis/authentication.k8s.io/v1/tokenreviewsParametersbody: TokenReview, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidati",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/token-review-v1/",
    "id": "k8s_00613_qa_11452"
  },
  {
    "question": "What are the benefits of TokenReview?",
    "answer": "TokenReviewTokenReview attempts to authenticate a token to a known user.apiVersion: authentication.k8s.io/v1import \"k8s.io/api/authentication/v1\"TokenReviewTokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.apiVersion: authentication.k8s.io/v1kind: TokenReviewmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (TokenReviewSpec), requiredSpec holds information about the request being evaluatedstatus (TokenReviewStatus)Status is filled in by the server and indicates whether the request can be authenticated.TokenReviewSpecTokenReviewSpec is a description of the token authentication request.audiences ([]string)Atomic: will be replaced during a mergeAudiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.token (string)Token is the opaque bearer token.TokenReviewStatusTokenReviewStatus is the result of the token authentication request.audiences ([]string)Atomic: will be replaced during a mergeAudiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server.authenticated (boolean)Authenticated indicates that the token was associated with a known user.error (string)Error indicates that the token couldn't be checkeduser (UserInfo)User is the UserInfo associated with the provided token.UserInfo holds the information about the user needed to implement the user.Info interface.user.extra (map[string][]string)Any additional information provided by the authenticator.user.groups ([]string)Atomic: will be replaced during a mergeThe names of groups this user is a part of.user.uid (string)A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.user.username (string)The name that uniquely identifies this user among all active users.Operationscreate create a TokenReviewHTTP RequestPOST /apis/authentication.k8s.io/v1/tokenreviewsParametersbody: TokenReview, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidati",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/token-review-v1/",
    "id": "k8s_00613_qa_11453"
  },
  {
    "question": "What is TokenReview?",
    "answer": "a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a u t h e n t i c a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/token-review-v1/",
    "id": "k8s_00613_section_1_11454"
  },
  {
    "question": "What is TokenReview?",
    "answer": "T o k e n R e v i e w   a t t e m p t s   t o   a u t h e n t i c a t e   a   t o k e n   t o   a   k n o w n   u s e r .   N o t e :   T o k e n R e v i e w   r e q u e s t s   m a y   b e   c a c h e d   b y   t h e   w e b h o o k   t o k e n   a u t h e n t i c a t o r   p l u g i n   i n   t h e   k u b e - a p i s e r v e r .   a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1 k i n d :   T o k e n R e v i e w m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( T o k e n R e v i e w S p e c ) ,   r e q u i r e d S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d s t a t u s   ( T o k e n R e v i e w S t a t u s ) S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   a n d   i n d i c a t e s   w h e t h e r   t h e   r e q u e s t   c a n   b e   a u t h e n t i c a t e d .   a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1   k i n d :   T o k e n R e v i e w   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( T o k e n R e v i e w S p e c ) ,   r e q u i r e d   S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d   s t a t u s   ( T o k e n R e v i e w S t a t u s )   S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   a n d   i n d i c a t e s   w h e t h e r   t h e   r e q u e s t   c a n   b e   a u t h e n t i c a t e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/token-review-v1/",
    "id": "k8s_00613_section_2_11455"
  },
  {
    "question": "What is TokenReviewSpec?",
    "answer": "T o k e n R e v i e w S p e c   i s   a   d e s c r i p t i o n   o f   t h e   t o k e n   a u t h e n t i c a t i o n   r e q u e s t .   a u d i e n c e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A u d i e n c e s   i s   a   l i s t   o f   t h e   i d e n t i f i e r s   t h a t   t h e   r e s o u r c e   s e r v e r   p r e s e n t e d   w i t h   t h e   t o k e n   i d e n t i f i e s   a s .   A u d i e n c e - a w a r e   t o k e n   a u t h e n t i c a t o r s   w i l l   v e r i f y   t h a t   t h e   t o k e n   w a s   i n t e n d e d   f o r   a t   l e a s t   o n e   o f   t h e   a u d i e n c e s   i n   t h i s   l i s t .   I f   n o   a u d i e n c e s   a r e   p r o v i d e d ,   t h e   a u d i e n c e   w i l l   d e f a u l t   t o   t h e   a u d i e n c e   o f   t h e   K u b e r n e t e s   a p i s e r v e r . t o k e n   ( s t r i n g ) T o k e n   i s   t h e   o p a q u e   b e a r e r   t o k e n .   a u d i e n c e s   ( [ ] s t r i n g )   A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e   A u d i e n c e s   i s   a   l i s t   o f   t h e   i d e n t i f i e r s   t h a t   t h e   r e s o u r c e   s e r v e r   p r e s e n t e d   w i t h   t h e   t o k e n   i d e n t i f i e s   a s .   A u d i e n c e - a w a r e   t o k e n   a u t h e n t i c a t o r s   w i l l   v e r i f y   t h a t   t h e   t o k e n   w a s   i n t e n d e d   f o r   a t   l e a s t   o n e   o f   t h e   a u d i e n c e s   i n   t h i s   l i s t .   I f   n o   a u d i e n c e s   a r e   p r o v i d e d ,   t h e   a u d i e n c e   w i l l   d e f a u l t   t o   t h e   a u d i e n c e   o f   t h e   K u b e r n e t e s   a p i s e r v e r .   t o k e n   ( s t r i n g )   T o k e n   i s   t h e   o p a q u e   b e a r e r   t o k e n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/token-review-v1/",
    "id": "k8s_00613_section_2_11456"
  },
  {
    "question": "What is TokenReviewStatus?",
    "answer": "T o k e n R e v i e w S t a t u s   i s   t h e   r e s u l t   o f   t h e   t o k e n   a u t h e n t i c a t i o n   r e q u e s t .   a u d i e n c e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A u d i e n c e s   a r e   a u d i e n c e   i d e n t i f i e r s   c h o s e n   b y   t h e   a u t h e n t i c a t o r   t h a t   a r e   c o m p a t i b l e   w i t h   b o t h   t h e   T o k e n R e v i e w   a n d   t o k e n .   A n   i d e n t i f i e r   i s   a n y   i d e n t i f i e r   i n   t h e   i n t e r s e c t i o n   o f   t h e   T o k e n R e v i e w S p e c   a u d i e n c e s   a n d   t h e   t o k e n ' s   a u d i e n c e s .   A   c l i e n t   o f   t h e   T o k e n R e v i e w   A P I   t h a t   s e t s   t h e   s p e c . a u d i e n c e s   f i e l d   s h o u l d   v a l i d a t e   t h a t   a   c o m p a t i b l e   a u d i e n c e   i d e n t i f i e r   i s   r e t u r n e d   i n   t h e   s t a t u s . a u d i e n c e s   f i e l d   t o   e n s u r e   t h a t   t h e   T o k e n R e v i e w   s e r v e r   i s   a u d i e n c e   a w a r e .   I f   a   T o k e n R e v i e w   r e t u r n s   a n   e m p t y   s t a t u s . a u d i e n c e   f i e l d   w h e r e   s t a t u s . a u t h e n t i c a t e d   i s   \" t r u e \" ,   t h e   t o k e n   i s   v a l i d   a g a i n s t   t h e   a u d i e n c e   o f   t h e   K u b e r n e t e s   A P I   s e r v e r . a u t h e n t i c a t e d   ( b o o l e a n ) A u t h e n t i c a t e d   i n d i c a t e s   t h a t   t h e   t o k e n   w a s   a s s o c i a t e d   w i t h   a   k n o w n   u s e r . e r r o r   ( s t r i n g ) E r r o r   i n d i c a t e s   t h a t   t h e   t o k e n   c o u l d n ' t   b e   c h e c k e d u s e r   ( U s e r I n f o ) U s e r   i s   t h e   U s e r I n f o   a s s o c i a t e d   w i t h   t h e   p r o v i d e d   t o k e n . U s e r I n f o   h o l d s   t h e   i n f o r m a t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/token-review-v1/",
    "id": "k8s_00613_section_2_11457"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t h e n t i c a t i o n . k 8 s . i o / v 1 / t o k e n r e v i e w s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/token-review-v1/",
    "id": "k8s_00613_section_4_11458"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   T o k e n R e v i e w ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   T o k e n R e v i e w ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/token-review-v1/",
    "id": "k8s_00613_section_4_11459"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( T o k e n R e v i e w ) :   O K   2 0 1   ( T o k e n R e v i e w ) :   C r e a t e d   2 0 2   ( T o k e n R e v i e w ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/token-review-v1/",
    "id": "k8s_00613_section_4_11460"
  },
  {
    "question": "What is kube-scheduler Configuration (v1)?",
    "answer": "kube-scheduler Configuration (v1)Resource TypesDefaultPreemptionArgsInterPodAffinityArgsKubeSchedulerConfigurationNodeAffinityArgsNodeResourcesBalancedAllocationArgsNodeResourcesFitArgsPodTopologySpreadArgsVolumeBindingArgsClientConnectionConfigurationAppears in:KubeSchedulerConfigurationClientConnectionConfiguration contains details for constructing a client.FieldDescriptionkubeconfig [Required]stringkubeconfig is the path to a KubeConfig file.acceptContentTypes [Required]stringacceptContentTypes defines the Accept header sent by clients when connecting to a server, overriding the default value of 'application/json'. This field will control all connections to the server used by a particular client.contentType [Required]stringcontentType is the content type used when sending data to the server from this client.qps [Required]float32qps controls the number of queries per second allowed for this connection.burst [Required]int32burst allows extra queries to accumulate when a client is exceeding its rate.DebuggingConfigurationAppears in:KubeSchedulerConfigurationDebuggingConfiguration holds configuration for Debugging related features.FieldDescriptionenableProfiling [Required]boolenableProfiling enables profiling via web interface host:port/debug/pprof/enableContentionProfiling [Required]boolenableContentionProfiling enables block profiling, if enableProfiling is true.LeaderElectionConfigurationAppears in:KubeSchedulerConfigurationLeaderElectionConfiguration defines the configuration of leader election clients for components that can run with leader election enabled.FieldDescriptionleaderElect [Required]boolleaderElect enables a leader election client to gain leadership before executing the main loop. Enable this when running replicated components for high availability.leaseDuration [Required]meta/v1.DurationleaseDuration is the duration that non-leader candidates will wait after observing a leadership renewal until attempting to acquire leadership of a led but unrenewed leader slot. This is effectively the maximum duration that a leader can be stopped before it is replaced by another candidate. This is only applicable if leader election is enabled.renewDeadline [Required]meta/v1.DurationrenewDeadline is the interval between attempts by the acting master to renew a leadership slot before it stops leading. This must be less than or equal to the lease duration. This is only applicable if leader election is enabled.retryPeriod [Required]meta/v1.DurationretryPeriod is the duration the clients should wait between attempting acquisition and renewal of a leadership. This is only applicable if leader election is enabled.resourceLock [Required]stringresourceLock indicates the resource object type that will be used to lock during leader election cycles.resourceName [Required]stringresourceName indicates the name of resource object that will be used to lock during leader election cycles.resourceNamespace [Required]stringresourceName indicates the namespace of re",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_qa_11461"
  },
  {
    "question": "How does kube-scheduler Configuration (v1) work?",
    "answer": "kube-scheduler Configuration (v1)Resource TypesDefaultPreemptionArgsInterPodAffinityArgsKubeSchedulerConfigurationNodeAffinityArgsNodeResourcesBalancedAllocationArgsNodeResourcesFitArgsPodTopologySpreadArgsVolumeBindingArgsClientConnectionConfigurationAppears in:KubeSchedulerConfigurationClientConnectionConfiguration contains details for constructing a client.FieldDescriptionkubeconfig [Required]stringkubeconfig is the path to a KubeConfig file.acceptContentTypes [Required]stringacceptContentTypes defines the Accept header sent by clients when connecting to a server, overriding the default value of 'application/json'. This field will control all connections to the server used by a particular client.contentType [Required]stringcontentType is the content type used when sending data to the server from this client.qps [Required]float32qps controls the number of queries per second allowed for this connection.burst [Required]int32burst allows extra queries to accumulate when a client is exceeding its rate.DebuggingConfigurationAppears in:KubeSchedulerConfigurationDebuggingConfiguration holds configuration for Debugging related features.FieldDescriptionenableProfiling [Required]boolenableProfiling enables profiling via web interface host:port/debug/pprof/enableContentionProfiling [Required]boolenableContentionProfiling enables block profiling, if enableProfiling is true.LeaderElectionConfigurationAppears in:KubeSchedulerConfigurationLeaderElectionConfiguration defines the configuration of leader election clients for components that can run with leader election enabled.FieldDescriptionleaderElect [Required]boolleaderElect enables a leader election client to gain leadership before executing the main loop. Enable this when running replicated components for high availability.leaseDuration [Required]meta/v1.DurationleaseDuration is the duration that non-leader candidates will wait after observing a leadership renewal until attempting to acquire leadership of a led but unrenewed leader slot. This is effectively the maximum duration that a leader can be stopped before it is replaced by another candidate. This is only applicable if leader election is enabled.renewDeadline [Required]meta/v1.DurationrenewDeadline is the interval between attempts by the acting master to renew a leadership slot before it stops leading. This must be less than or equal to the lease duration. This is only applicable if leader election is enabled.retryPeriod [Required]meta/v1.DurationretryPeriod is the duration the clients should wait between attempting acquisition and renewal of a leadership. This is only applicable if leader election is enabled.resourceLock [Required]stringresourceLock indicates the resource object type that will be used to lock during leader election cycles.resourceName [Required]stringresourceName indicates the name of resource object that will be used to lock during leader election cycles.resourceNamespace [Required]stringresourceName indicates the namespace of re",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_qa_11462"
  },
  {
    "question": "When would you use kube-scheduler Configuration (v1)?",
    "answer": "kube-scheduler Configuration (v1)Resource TypesDefaultPreemptionArgsInterPodAffinityArgsKubeSchedulerConfigurationNodeAffinityArgsNodeResourcesBalancedAllocationArgsNodeResourcesFitArgsPodTopologySpreadArgsVolumeBindingArgsClientConnectionConfigurationAppears in:KubeSchedulerConfigurationClientConnectionConfiguration contains details for constructing a client.FieldDescriptionkubeconfig [Required]stringkubeconfig is the path to a KubeConfig file.acceptContentTypes [Required]stringacceptContentTypes defines the Accept header sent by clients when connecting to a server, overriding the default value of 'application/json'. This field will control all connections to the server used by a particular client.contentType [Required]stringcontentType is the content type used when sending data to the server from this client.qps [Required]float32qps controls the number of queries per second allowed for this connection.burst [Required]int32burst allows extra queries to accumulate when a client is exceeding its rate.DebuggingConfigurationAppears in:KubeSchedulerConfigurationDebuggingConfiguration holds configuration for Debugging related features.FieldDescriptionenableProfiling [Required]boolenableProfiling enables profiling via web interface host:port/debug/pprof/enableContentionProfiling [Required]boolenableContentionProfiling enables block profiling, if enableProfiling is true.LeaderElectionConfigurationAppears in:KubeSchedulerConfigurationLeaderElectionConfiguration defines the configuration of leader election clients for components that can run with leader election enabled.FieldDescriptionleaderElect [Required]boolleaderElect enables a leader election client to gain leadership before executing the main loop. Enable this when running replicated components for high availability.leaseDuration [Required]meta/v1.DurationleaseDuration is the duration that non-leader candidates will wait after observing a leadership renewal until attempting to acquire leadership of a led but unrenewed leader slot. This is effectively the maximum duration that a leader can be stopped before it is replaced by another candidate. This is only applicable if leader election is enabled.renewDeadline [Required]meta/v1.DurationrenewDeadline is the interval between attempts by the acting master to renew a leadership slot before it stops leading. This must be less than or equal to the lease duration. This is only applicable if leader election is enabled.retryPeriod [Required]meta/v1.DurationretryPeriod is the duration the clients should wait between attempting acquisition and renewal of a leadership. This is only applicable if leader election is enabled.resourceLock [Required]stringresourceLock indicates the resource object type that will be used to lock during leader election cycles.resourceName [Required]stringresourceName indicates the name of resource object that will be used to lock during leader election cycles.resourceNamespace [Required]stringresourceName indicates the namespace of re",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_qa_11463"
  },
  {
    "question": "What are the benefits of kube-scheduler Configuration (v1)?",
    "answer": "kube-scheduler Configuration (v1)Resource TypesDefaultPreemptionArgsInterPodAffinityArgsKubeSchedulerConfigurationNodeAffinityArgsNodeResourcesBalancedAllocationArgsNodeResourcesFitArgsPodTopologySpreadArgsVolumeBindingArgsClientConnectionConfigurationAppears in:KubeSchedulerConfigurationClientConnectionConfiguration contains details for constructing a client.FieldDescriptionkubeconfig [Required]stringkubeconfig is the path to a KubeConfig file.acceptContentTypes [Required]stringacceptContentTypes defines the Accept header sent by clients when connecting to a server, overriding the default value of 'application/json'. This field will control all connections to the server used by a particular client.contentType [Required]stringcontentType is the content type used when sending data to the server from this client.qps [Required]float32qps controls the number of queries per second allowed for this connection.burst [Required]int32burst allows extra queries to accumulate when a client is exceeding its rate.DebuggingConfigurationAppears in:KubeSchedulerConfigurationDebuggingConfiguration holds configuration for Debugging related features.FieldDescriptionenableProfiling [Required]boolenableProfiling enables profiling via web interface host:port/debug/pprof/enableContentionProfiling [Required]boolenableContentionProfiling enables block profiling, if enableProfiling is true.LeaderElectionConfigurationAppears in:KubeSchedulerConfigurationLeaderElectionConfiguration defines the configuration of leader election clients for components that can run with leader election enabled.FieldDescriptionleaderElect [Required]boolleaderElect enables a leader election client to gain leadership before executing the main loop. Enable this when running replicated components for high availability.leaseDuration [Required]meta/v1.DurationleaseDuration is the duration that non-leader candidates will wait after observing a leadership renewal until attempting to acquire leadership of a led but unrenewed leader slot. This is effectively the maximum duration that a leader can be stopped before it is replaced by another candidate. This is only applicable if leader election is enabled.renewDeadline [Required]meta/v1.DurationrenewDeadline is the interval between attempts by the acting master to renew a leadership slot before it stops leading. This must be less than or equal to the lease duration. This is only applicable if leader election is enabled.retryPeriod [Required]meta/v1.DurationretryPeriod is the duration the clients should wait between attempting acquisition and renewal of a leadership. This is only applicable if leader election is enabled.resourceLock [Required]stringresourceLock indicates the resource object type that will be used to lock during leader election cycles.resourceName [Required]stringresourceName indicates the name of resource object that will be used to lock during leader election cycles.resourceNamespace [Required]stringresourceName indicates the namespace of re",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_qa_11464"
  },
  {
    "question": "What is Resource Types?",
    "answer": "D e f a u l t P r e e m p t i o n A r g s I n t e r P o d A f f i n i t y A r g s K u b e S c h e d u l e r C o n f i g u r a t i o n N o d e A f f i n i t y A r g s N o d e R e s o u r c e s B a l a n c e d A l l o c a t i o n A r g s N o d e R e s o u r c e s F i t A r g s P o d T o p o l o g y S p r e a d A r g s V o l u m e B i n d i n g A r g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_section_2_11465"
  },
  {
    "question": "What is ClientConnectionConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e S c h e d u l e r C o n f i g u r a t i o n   C l i e n t C o n n e c t i o n C o n f i g u r a t i o n   c o n t a i n s   d e t a i l s   f o r   c o n s t r u c t i n g   a   c l i e n t .   k u b e c o n f i g   i s   t h e   p a t h   t o   a   K u b e C o n f i g   f i l e .   a c c e p t C o n t e n t T y p e s   d e f i n e s   t h e   A c c e p t   h e a d e r   s e n t   b y   c l i e n t s   w h e n   c o n n e c t i n g   t o   a   s e r v e r ,   o v e r r i d i n g   t h e   d e f a u l t   v a l u e   o f   ' a p p l i c a t i o n / j s o n ' .   T h i s   f i e l d   w i l l   c o n t r o l   a l l   c o n n e c t i o n s   t o   t h e   s e r v e r   u s e d   b y   a   p a r t i c u l a r   c l i e n t .   c o n t e n t T y p e   i s   t h e   c o n t e n t   t y p e   u s e d   w h e n   s e n d i n g   d a t a   t o   t h e   s e r v e r   f r o m   t h i s   c l i e n t .   q p s   c o n t r o l s   t h e   n u m b e r   o f   q u e r i e s   p e r   s e c o n d   a l l o w e d   f o r   t h i s   c o n n e c t i o n .   b u r s t   a l l o w s   e x t r a   q u e r i e s   t o   a c c u m u l a t e   w h e n   a   c l i e n t   i s   e x c e e d i n g   i t s   r a t e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_section_2_11466"
  },
  {
    "question": "What is DebuggingConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e S c h e d u l e r C o n f i g u r a t i o n   D e b u g g i n g C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   D e b u g g i n g   r e l a t e d   f e a t u r e s .   e n a b l e P r o f i l i n g   e n a b l e s   p r o f i l i n g   v i a   w e b   i n t e r f a c e   h o s t : p o r t / d e b u g / p p r o f /   e n a b l e C o n t e n t i o n P r o f i l i n g   e n a b l e s   b l o c k   p r o f i l i n g ,   i f   e n a b l e P r o f i l i n g   i s   t r u e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_section_2_11467"
  },
  {
    "question": "What is LeaderElectionConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e S c h e d u l e r C o n f i g u r a t i o n   L e a d e r E l e c t i o n C o n f i g u r a t i o n   d e f i n e s   t h e   c o n f i g u r a t i o n   o f   l e a d e r   e l e c t i o n   c l i e n t s   f o r   c o m p o n e n t s   t h a t   c a n   r u n   w i t h   l e a d e r   e l e c t i o n   e n a b l e d .   l e a d e r E l e c t   e n a b l e s   a   l e a d e r   e l e c t i o n   c l i e n t   t o   g a i n   l e a d e r s h i p   b e f o r e   e x e c u t i n g   t h e   m a i n   l o o p .   E n a b l e   t h i s   w h e n   r u n n i n g   r e p l i c a t e d   c o m p o n e n t s   f o r   h i g h   a v a i l a b i l i t y .   l e a s e D u r a t i o n   i s   t h e   d u r a t i o n   t h a t   n o n - l e a d e r   c a n d i d a t e s   w i l l   w a i t   a f t e r   o b s e r v i n g   a   l e a d e r s h i p   r e n e w a l   u n t i l   a t t e m p t i n g   t o   a c q u i r e   l e a d e r s h i p   o f   a   l e d   b u t   u n r e n e w e d   l e a d e r   s l o t .   T h i s   i s   e f f e c t i v e l y   t h e   m a x i m u m   d u r a t i o n   t h a t   a   l e a d e r   c a n   b e   s t o p p e d   b e f o r e   i t   i s   r e p l a c e d   b y   a n o t h e r   c a n d i d a t e .   T h i s   i s   o n l y   a p p l i c a b l e   i f   l e a d e r   e l e c t i o n   i s   e n a b l e d .   r e n e w D e a d l i n e   i s   t h e   i n t e r v a l   b e t w e e n   a t t e m p t s   b y   t h e   a c t i n g   m a s t e r   t o   r e n e w   a   l e a d e r s h i p   s l o t   b e f o r e   i t   s t o p s   l e a d i n g .   T h i s   m u s t   b e   l e s s   t h a n   o r   e q u a l   t o   t h e   l e a s e   d u r a t i o n .   T h i s   i s   o n l y   a p p l i c a b l e   i f   l e a d e r   e l e c t i o n   i s   e n a b l e d .   r e t r y P e r i o d   i s   t h e   d u r a t i o n   t h e   c l i e n t s   s h o u l d   w a i t   b e t w e e n   a t t e m p t i n g   a c q u i s i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_section_2_11468"
  },
  {
    "question": "What is DefaultPreemptionArgs?",
    "answer": "D e f a u l t P r e e m p t i o n A r g s   h o l d s   a r g u m e n t s   u s e d   t o   c o n f i g u r e   t h e   D e f a u l t P r e e m p t i o n   p l u g i n .   M i n C a n d i d a t e N o d e s P e r c e n t a g e   i s   t h e   m i n i m u m   n u m b e r   o f   c a n d i d a t e s   t o   s h o r t l i s t   w h e n   d r y   r u n n i n g   p r e e m p t i o n   a s   a   p e r c e n t a g e   o f   n u m b e r   o f   n o d e s .   M u s t   b e   i n   t h e   r a n g e   [ 0 ,   1 0 0 ] .   D e f a u l t s   t o   1 0 %   o f   t h e   c l u s t e r   s i z e   i f   u n s p e c i f i e d .   M i n C a n d i d a t e N o d e s A b s o l u t e   i s   t h e   a b s o l u t e   m i n i m u m   n u m b e r   o f   c a n d i d a t e s   t o   s h o r t l i s t .   T h e   l i k e l y   n u m b e r   o f   c a n d i d a t e s   e n u m e r a t e d   f o r   d r y   r u n n i n g   p r e e m p t i o n   i s   g i v e n   b y   t h e   f o r m u l a :   n u m C a n d i d a t e s   =   m a x ( n u m N o d e s   *   m i n C a n d i d a t e N o d e s P e r c e n t a g e ,   m i n C a n d i d a t e N o d e s A b s o l u t e )   W e   s a y   \" l i k e l y \"   b e c a u s e   t h e r e   a r e   o t h e r   f a c t o r s   s u c h   a s   P D B   v i o l a t i o n s   t h a t   p l a y   a   r o l e   i n   t h e   n u m b e r   o f   c a n d i d a t e s   s h o r t l i s t e d .   M u s t   b e   a t   l e a s t   0   n o d e s .   D e f a u l t s   t o   1 0 0   n o d e s   i f   u n s p e c i f i e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_section_2_11469"
  },
  {
    "question": "What is InterPodAffinityArgs?",
    "answer": "I n t e r P o d A f f i n i t y A r g s   h o l d s   a r g u m e n t s   u s e d   t o   c o n f i g u r e   t h e   I n t e r P o d A f f i n i t y   p l u g i n .   H a r d P o d A f f i n i t y W e i g h t   i s   t h e   s c o r i n g   w e i g h t   f o r   e x i s t i n g   p o d s   w i t h   a   m a t c h i n g   h a r d   a f f i n i t y   t o   t h e   i n c o m i n g   p o d .   I g n o r e P r e f e r r e d T e r m s O f E x i s t i n g P o d s   c o n f i g u r e s   t h e   s c h e d u l e r   t o   i g n o r e   e x i s t i n g   p o d s '   p r e f e r r e d   a f f i n i t y   r u l e s   w h e n   s c o r i n g   c a n d i d a t e   n o d e s ,   u n l e s s   t h e   i n c o m i n g   p o d   h a s   i n t e r - p o d   a f f i n i t i e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_section_2_11470"
  },
  {
    "question": "What is KubeSchedulerConfiguration?",
    "answer": "K u b e S c h e d u l e r C o n f i g u r a t i o n   c o n f i g u r e s   a   s c h e d u l e r   P a r a l l e l i s m   d e f i n e s   t h e   a m o u n t   o f   p a r a l l e l i s m   i n   a l g o r i t h m s   f o r   s c h e d u l i n g   a   P o d s .   M u s t   b e   g r e a t e r   t h a n   0 .   D e f a u l t s   t o   1 6   L e a d e r E l e c t i o n   d e f i n e s   t h e   c o n f i g u r a t i o n   o f   l e a d e r   e l e c t i o n   c l i e n t .   C l i e n t C o n n e c t i o n   s p e c i f i e s   t h e   k u b e c o n f i g   f i l e   a n d   c l i e n t   c o n n e c t i o n   s e t t i n g s   f o r   t h e   p r o x y   s e r v e r   t o   u s e   w h e n   c o m m u n i c a t i n g   w i t h   t h e   a p i s e r v e r .   D e b u g g i n g C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   D e b u g g i n g   r e l a t e d   f e a t u r e s   T O D O :   W e   m i g h t   w a n n a   m a k e   t h i s   a   s u b s t r u c t   l i k e   D e b u g g i n g   c o m p o n e n t b a s e c o n f i g v 1 a l p h a 1 . D e b u g g i n g C o n f i g u r a t i o n   P e r c e n t a g e O f N o d e s T o S c o r e   i s   t h e   p e r c e n t a g e   o f   a l l   n o d e s   t h a t   o n c e   f o u n d   f e a s i b l e   f o r   r u n n i n g   a   p o d ,   t h e   s c h e d u l e r   s t o p s   i t s   s e a r c h   f o r   m o r e   f e a s i b l e   n o d e s   i n   t h e   c l u s t e r .   T h i s   h e l p s   i m p r o v e   s c h e d u l e r ' s   p e r f o r m a n c e .   S c h e d u l e r   a l w a y s   t r i e s   t o   f i n d   a t   l e a s t   \" m i n F e a s i b l e N o d e s T o F i n d \"   f e a s i b l e   n o d e s   n o   m a t t e r   w h a t   t h e   v a l u e   o f   t h i s   f l a g   i s .   E x a m p l e :   i f   t h e   c l u s t e r   s i z e   i s   5 0 0   n o d e s   a n d   t h e   v a l u e   o f   t h i s   f l a g   i s   3 0 ,   t h e n   s c h e d u l e r   s t o p ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_section_2_11471"
  },
  {
    "question": "What is NodeAffinityArgs?",
    "answer": "N o d e A f f i n i t y A r g s   h o l d s   a r g u m e n t s   t o   c o n f i g u r e   t h e   N o d e A f f i n i t y   p l u g i n .   A d d e d A f f i n i t y   i s   a p p l i e d   t o   a l l   P o d s   a d d i t i o n a l l y   t o   t h e   N o d e A f f i n i t y   s p e c i f i e d   i n   t h e   P o d S p e c .   T h a t   i s ,   N o d e s   n e e d   t o   s a t i s f y   A d d e d A f f i n i t y   A N D   . s p e c . N o d e A f f i n i t y .   A d d e d A f f i n i t y   i s   e m p t y   b y   d e f a u l t   ( a l l   N o d e s   m a t c h ) .   W h e n   A d d e d A f f i n i t y   i s   u s e d ,   s o m e   P o d s   w i t h   a f f i n i t y   r e q u i r e m e n t s   t h a t   m a t c h   a   s p e c i f i c   N o d e   ( s u c h   a s   D a e m o n s e t   P o d s )   m i g h t   r e m a i n   u n s c h e d u l a b l e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_section_2_11472"
  },
  {
    "question": "What is NodeResourcesBalancedAllocationArgs?",
    "answer": "N o d e R e s o u r c e s B a l a n c e d A l l o c a t i o n A r g s   h o l d s   a r g u m e n t s   u s e d   t o   c o n f i g u r e   N o d e R e s o u r c e s B a l a n c e d A l l o c a t i o n   p l u g i n .   R e s o u r c e s   t o   b e   m a n a g e d ,   t h e   d e f a u l t   i s   \" c p u \"   a n d   \" m e m o r y \"   i f   n o t   s p e c i f i e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_section_2_11473"
  },
  {
    "question": "What is NodeResourcesFitArgs?",
    "answer": "N o d e R e s o u r c e s F i t A r g s   h o l d s   a r g u m e n t s   u s e d   t o   c o n f i g u r e   t h e   N o d e R e s o u r c e s F i t   p l u g i n .   I g n o r e d R e s o u r c e s   i s   t h e   l i s t   o f   r e s o u r c e s   t h a t   N o d e R e s o u r c e s   f i t   f i l t e r   s h o u l d   i g n o r e .   T h i s   d o e s n ' t   a p p l y   t o   s c o r i n g .   I g n o r e d R e s o u r c e G r o u p s   d e f i n e s   t h e   l i s t   o f   r e s o u r c e   g r o u p s   t h a t   N o d e R e s o u r c e s   f i t   f i l t e r   s h o u l d   i g n o r e .   e . g .   i f   g r o u p   i s   [ \" e x a m p l e . c o m \" ] ,   i t   w i l l   i g n o r e   a l l   r e s o u r c e   n a m e s   t h a t   b e g i n   w i t h   \" e x a m p l e . c o m \" ,   s u c h   a s   \" e x a m p l e . c o m / a a a \"   a n d   \" e x a m p l e . c o m / b b b \" .   A   r e s o u r c e   g r o u p   n a m e   c a n ' t   c o n t a i n   ' / ' .   T h i s   d o e s n ' t   a p p l y   t o   s c o r i n g .   S c o r i n g S t r a t e g y   s e l e c t s   t h e   n o d e   r e s o u r c e   s c o r i n g   s t r a t e g y .   T h e   d e f a u l t   s t r a t e g y   i s   L e a s t A l l o c a t e d   w i t h   a n   e q u a l   \" c p u \"   a n d   \" m e m o r y \"   w e i g h t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_section_2_11474"
  },
  {
    "question": "What is PodTopologySpreadArgs?",
    "answer": "P o d T o p o l o g y S p r e a d A r g s   h o l d s   a r g u m e n t s   u s e d   t o   c o n f i g u r e   t h e   P o d T o p o l o g y S p r e a d   p l u g i n .   D e f a u l t C o n s t r a i n t s   d e f i n e s   t o p o l o g y   s p r e a d   c o n s t r a i n t s   t o   b e   a p p l i e d   t o   P o d s   t h a t   d o n ' t   d e f i n e   a n y   i n   p o d . s p e c . t o p o l o g y S p r e a d C o n s t r a i n t s .   . d e f a u l t C o n s t r a i n t s [ * ] . l a b e l S e l e c t o r s   m u s t   b e   e m p t y ,   a s   t h e y   a r e   d e d u c e d   f r o m   t h e   P o d ' s   m e m b e r s h i p   t o   S e r v i c e s ,   R e p l i c a t i o n C o n t r o l l e r s ,   R e p l i c a S e t s   o r   S t a t e f u l S e t s .   W h e n   n o t   e m p t y ,   . d e f a u l t i n g T y p e   m u s t   b e   \" L i s t \" .   D e f a u l t i n g T y p e   d e t e r m i n e s   h o w   . d e f a u l t C o n s t r a i n t s   a r e   d e d u c e d .   C a n   b e   o n e   o f   \" S y s t e m \"   o r   \" L i s t \" .   \" S y s t e m \" :   U s e   k u b e r n e t e s   d e f i n e d   c o n s t r a i n t s   t h a t   s p r e a d   P o d s   a m o n g   N o d e s   a n d   Z o n e s . \" L i s t \" :   U s e   c o n s t r a i n t s   d e f i n e d   i n   . d e f a u l t C o n s t r a i n t s .   D e f a u l t s   t o   \" S y s t e m \" .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_section_2_11475"
  },
  {
    "question": "What is VolumeBindingArgs?",
    "answer": "V o l u m e B i n d i n g A r g s   h o l d s   a r g u m e n t s   u s e d   t o   c o n f i g u r e   t h e   V o l u m e B i n d i n g   p l u g i n .   B i n d T i m e o u t S e c o n d s   i s   t h e   t i m e o u t   i n   s e c o n d s   i n   v o l u m e   b i n d i n g   o p e r a t i o n .   V a l u e   m u s t   b e   n o n - n e g a t i v e   i n t e g e r .   T h e   v a l u e   z e r o   i n d i c a t e s   n o   w a i t i n g .   I f   t h i s   v a l u e   i s   n i l ,   t h e   d e f a u l t   v a l u e   ( 6 0 0 )   w i l l   b e   u s e d .   S h a p e   s p e c i f i e s   t h e   p o i n t s   d e f i n i n g   t h e   s c o r e   f u n c t i o n   s h a p e ,   w h i c h   i s   u s e d   t o   s c o r e   n o d e s   b a s e d   o n   t h e   u t i l i z a t i o n   o f   p r o v i s i o n e d   P V s .   T h e   u t i l i z a t i o n   i s   c a l c u l a t e d   b y   d i v i d i n g   t h e   t o t a l   r e q u e s t e d   s t o r a g e   o f   t h e   p o d   b y   t h e   t o t a l   c a p a c i t y   o f   f e a s i b l e   P V s   o n   e a c h   n o d e .   E a c h   p o i n t   c o n t a i n s   u t i l i z a t i o n   ( r a n g e s   f r o m   0   t o   1 0 0 )   a n d   i t s   a s s o c i a t e d   s c o r e   ( r a n g e s   f r o m   0   t o   1 0 ) .   Y o u   c a n   t u r n   t h e   p r i o r i t y   b y   s p e c i f y i n g   d i f f e r e n t   s c o r e s   f o r   d i f f e r e n t   u t i l i z a t i o n   n u m b e r s .   T h e   d e f a u l t   s h a p e   p o i n t s   a r e :   1 0   f o r   0   u t i l i z a t i o n 0   f o r   1 0 0   u t i l i z a t i o n   A l l   p o i n t s   m u s t   b e   s o r t e d   i n   i n c r e a s i n g   o r d e r   b y   u t i l i z a t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_section_2_11476"
  },
  {
    "question": "What is Extender?",
    "answer": "A p p e a r s   i n :   K u b e S c h e d u l e r C o n f i g u r a t i o n   E x t e n d e r   h o l d s   t h e   p a r a m e t e r s   u s e d   t o   c o m m u n i c a t e   w i t h   t h e   e x t e n d e r .   I f   a   v e r b   i s   u n s p e c i f i e d / e m p t y ,   i t   i s   a s s u m e d   t h a t   t h e   e x t e n d e r   c h o s e   n o t   t o   p r o v i d e   t h a t   e x t e n s i o n .   U R L P r e f i x   a t   w h i c h   t h e   e x t e n d e r   i s   a v a i l a b l e   V e r b   f o r   t h e   f i l t e r   c a l l ,   e m p t y   i f   n o t   s u p p o r t e d .   T h i s   v e r b   i s   a p p e n d e d   t o   t h e   U R L P r e f i x   w h e n   i s s u i n g   t h e   f i l t e r   c a l l   t o   e x t e n d e r .   V e r b   f o r   t h e   p r e e m p t   c a l l ,   e m p t y   i f   n o t   s u p p o r t e d .   T h i s   v e r b   i s   a p p e n d e d   t o   t h e   U R L P r e f i x   w h e n   i s s u i n g   t h e   p r e e m p t   c a l l   t o   e x t e n d e r .   V e r b   f o r   t h e   p r i o r i t i z e   c a l l ,   e m p t y   i f   n o t   s u p p o r t e d .   T h i s   v e r b   i s   a p p e n d e d   t o   t h e   U R L P r e f i x   w h e n   i s s u i n g   t h e   p r i o r i t i z e   c a l l   t o   e x t e n d e r .   T h e   n u m e r i c   m u l t i p l i e r   f o r   t h e   n o d e   s c o r e s   t h a t   t h e   p r i o r i t i z e   c a l l   g e n e r a t e s .   T h e   w e i g h t   s h o u l d   b e   a   p o s i t i v e   i n t e g e r   V e r b   f o r   t h e   b i n d   c a l l ,   e m p t y   i f   n o t   s u p p o r t e d .   T h i s   v e r b   i s   a p p e n d e d   t o   t h e   U R L P r e f i x   w h e n   i s s u i n g   t h e   b i n d   c a l l   t o   e x t e n d e r .   I f   t h i s   m e t h o d   i s   i m p l e m e n t e d   b y   t h e   e x t e n d e r ,   i t   i s   t h e   e x t e n d e r ' s   r e s p o n s i b i l i t y   t o   b i n d   t h e   p o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_section_2_11477"
  },
  {
    "question": "What is ExtenderManagedResource?",
    "answer": "A p p e a r s   i n :   E x t e n d e r   E x t e n d e r M a n a g e d R e s o u r c e   d e s c r i b e s   t h e   a r g u m e n t s   o f   e x t e n d e d   r e s o u r c e s   m a n a g e d   b y   a n   e x t e n d e r .   N a m e   i s   t h e   e x t e n d e d   r e s o u r c e   n a m e .   I g n o r e d B y S c h e d u l e r   i n d i c a t e s   w h e t h e r   k u b e - s c h e d u l e r   s h o u l d   i g n o r e   t h i s   r e s o u r c e   w h e n   a p p l y i n g   p r e d i c a t e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_section_2_11478"
  },
  {
    "question": "What is ExtenderTLSConfig?",
    "answer": "A p p e a r s   i n :   E x t e n d e r   E x t e n d e r T L S C o n f i g   c o n t a i n s   s e t t i n g s   t o   e n a b l e   T L S   w i t h   e x t e n d e r   S e r v e r   s h o u l d   b e   a c c e s s e d   w i t h o u t   v e r i f y i n g   t h e   T L S   c e r t i f i c a t e .   F o r   t e s t i n g   o n l y .   S e r v e r N a m e   i s   p a s s e d   t o   t h e   s e r v e r   f o r   S N I   a n d   i s   u s e d   i n   t h e   c l i e n t   t o   c h e c k   s e r v e r   c e r t i f i c a t e s   a g a i n s t .   I f   S e r v e r N a m e   i s   e m p t y ,   t h e   h o s t n a m e   u s e d   t o   c o n t a c t   t h e   s e r v e r   i s   u s e d .   S e r v e r   r e q u i r e s   T L S   c l i e n t   c e r t i f i c a t e   a u t h e n t i c a t i o n   S e r v e r   r e q u i r e s   T L S   c l i e n t   c e r t i f i c a t e   a u t h e n t i c a t i o n   T r u s t e d   r o o t   c e r t i f i c a t e s   f o r   s e r v e r   C e r t D a t a   h o l d s   P E M - e n c o d e d   b y t e s   ( t y p i c a l l y   r e a d   f r o m   a   c l i e n t   c e r t i f i c a t e   f i l e ) .   C e r t D a t a   t a k e s   p r e c e d e n c e   o v e r   C e r t F i l e   K e y D a t a   h o l d s   P E M - e n c o d e d   b y t e s   ( t y p i c a l l y   r e a d   f r o m   a   c l i e n t   c e r t i f i c a t e   k e y   f i l e ) .   K e y D a t a   t a k e s   p r e c e d e n c e   o v e r   K e y F i l e   C A D a t a   h o l d s   P E M - e n c o d e d   b y t e s   ( t y p i c a l l y   r e a d   f r o m   a   r o o t   c e r t i f i c a t e s   b u n d l e ) .   C A D a t a   t a k e s   p r e c e d e n c e   o v e r   C A F i l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_section_2_11479"
  },
  {
    "question": "What is KubeSchedulerProfile?",
    "answer": "A p p e a r s   i n :   K u b e S c h e d u l e r C o n f i g u r a t i o n   K u b e S c h e d u l e r P r o f i l e   i s   a   s c h e d u l i n g   p r o f i l e .   S c h e d u l e r N a m e   i s   t h e   n a m e   o f   t h e   s c h e d u l e r   a s s o c i a t e d   t o   t h i s   p r o f i l e .   I f   S c h e d u l e r N a m e   m a t c h e s   w i t h   t h e   p o d ' s   \" s p e c . s c h e d u l e r N a m e \" ,   t h e n   t h e   p o d   i s   s c h e d u l e d   w i t h   t h i s   p r o f i l e .   P e r c e n t a g e O f N o d e s T o S c o r e   i s   t h e   p e r c e n t a g e   o f   a l l   n o d e s   t h a t   o n c e   f o u n d   f e a s i b l e   f o r   r u n n i n g   a   p o d ,   t h e   s c h e d u l e r   s t o p s   i t s   s e a r c h   f o r   m o r e   f e a s i b l e   n o d e s   i n   t h e   c l u s t e r .   T h i s   h e l p s   i m p r o v e   s c h e d u l e r ' s   p e r f o r m a n c e .   S c h e d u l e r   a l w a y s   t r i e s   t o   f i n d   a t   l e a s t   \" m i n F e a s i b l e N o d e s T o F i n d \"   f e a s i b l e   n o d e s   n o   m a t t e r   w h a t   t h e   v a l u e   o f   t h i s   f l a g   i s .   E x a m p l e :   i f   t h e   c l u s t e r   s i z e   i s   5 0 0   n o d e s   a n d   t h e   v a l u e   o f   t h i s   f l a g   i s   3 0 ,   t h e n   s c h e d u l e r   s t o p s   f i n d i n g   f u r t h e r   f e a s i b l e   n o d e s   o n c e   i t   f i n d s   1 5 0   f e a s i b l e   o n e s .   W h e n   t h e   v a l u e   i s   0 ,   d e f a u l t   p e r c e n t a g e   ( 5 % - - 5 0 %   b a s e d   o n   t h e   s i z e   o f   t h e   c l u s t e r )   o f   t h e   n o d e s   w i l l   b e   s c o r e d .   I t   w i l l   o v e r r i d e   g l o b a l   P e r c e n t a g e O f N o d e s T o S c o r e .   I f   i t   i s   e m p t y ,   g l o b a l   P e r c e n t a g e O f N o d e s T o S c o r e   w i l l   b e   u s e d .   P l u g i n s   s p e c i f y ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_section_2_11480"
  },
  {
    "question": "What is Plugin?",
    "answer": "A p p e a r s   i n :   P l u g i n S e t   P l u g i n   s p e c i f i e s   a   p l u g i n   n a m e   a n d   i t s   w e i g h t   w h e n   a p p l i c a b l e .   W e i g h t   i s   u s e d   o n l y   f o r   S c o r e   p l u g i n s .   N a m e   d e f i n e s   t h e   n a m e   o f   p l u g i n   W e i g h t   d e f i n e s   t h e   w e i g h t   o f   p l u g i n ,   o n l y   u s e d   f o r   S c o r e   p l u g i n s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_section_2_11481"
  },
  {
    "question": "What is PluginConfig?",
    "answer": "A p p e a r s   i n :   K u b e S c h e d u l e r P r o f i l e   P l u g i n C o n f i g   s p e c i f i e s   a r g u m e n t s   t h a t   s h o u l d   b e   p a s s e d   t o   a   p l u g i n   a t   t h e   t i m e   o f   i n i t i a l i z a t i o n .   A   p l u g i n   t h a t   i s   i n v o k e d   a t   m u l t i p l e   e x t e n s i o n   p o i n t s   i s   i n i t i a l i z e d   o n c e .   A r g s   c a n   h a v e   a r b i t r a r y   s t r u c t u r e .   I t   i s   u p   t o   t h e   p l u g i n   t o   p r o c e s s   t h e s e   A r g s .   N a m e   d e f i n e s   t h e   n a m e   o f   p l u g i n   b e i n g   c o n f i g u r e d   A r g s   d e f i n e s   t h e   a r g u m e n t s   p a s s e d   t o   t h e   p l u g i n s   a t   t h e   t i m e   o f   i n i t i a l i z a t i o n .   A r g s   c a n   h a v e   a r b i t r a r y   s t r u c t u r e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_section_2_11482"
  },
  {
    "question": "What is PluginSet?",
    "answer": "A p p e a r s   i n :   P l u g i n s   P l u g i n S e t   s p e c i f i e s   e n a b l e d   a n d   d i s a b l e d   p l u g i n s   f o r   a n   e x t e n s i o n   p o i n t .   I f   a n   a r r a y   i s   e m p t y ,   m i s s i n g ,   o r   n i l ,   d e f a u l t   p l u g i n s   a t   t h a t   e x t e n s i o n   p o i n t   w i l l   b e   u s e d .   E n a b l e d   s p e c i f i e s   p l u g i n s   t h a t   s h o u l d   b e   e n a b l e d   i n   a d d i t i o n   t o   d e f a u l t   p l u g i n s .   I f   t h e   d e f a u l t   p l u g i n   i s   a l s o   c o n f i g u r e d   i n   t h e   s c h e d u l e r   c o n f i g   f i l e ,   t h e   w e i g h t   o f   p l u g i n   w i l l   b e   o v e r r i d d e n   a c c o r d i n g l y .   T h e s e   a r e   c a l l e d   a f t e r   d e f a u l t   p l u g i n s   a n d   i n   t h e   s a m e   o r d e r   s p e c i f i e d   h e r e .   D i s a b l e d   s p e c i f i e s   d e f a u l t   p l u g i n s   t h a t   s h o u l d   b e   d i s a b l e d .   W h e n   a l l   d e f a u l t   p l u g i n s   n e e d   t o   b e   d i s a b l e d ,   a n   a r r a y   c o n t a i n i n g   o n l y   o n e   \" * \"   s h o u l d   b e   p r o v i d e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_section_2_11483"
  },
  {
    "question": "What is Plugins?",
    "answer": "A p p e a r s   i n :   K u b e S c h e d u l e r P r o f i l e   P l u g i n s   i n c l u d e   m u l t i p l e   e x t e n s i o n   p o i n t s .   W h e n   s p e c i f i e d ,   t h e   l i s t   o f   p l u g i n s   f o r   a   p a r t i c u l a r   e x t e n s i o n   p o i n t   a r e   t h e   o n l y   o n e s   e n a b l e d .   I f   a n   e x t e n s i o n   p o i n t   i s   o m i t t e d   f r o m   t h e   c o n f i g ,   t h e n   t h e   d e f a u l t   s e t   o f   p l u g i n s   i s   u s e d   f o r   t h a t   e x t e n s i o n   p o i n t .   E n a b l e d   p l u g i n s   a r e   c a l l e d   i n   t h e   o r d e r   s p e c i f i e d   h e r e ,   a f t e r   d e f a u l t   p l u g i n s .   I f   t h e y   n e e d   t o   b e   i n v o k e d   b e f o r e   d e f a u l t   p l u g i n s ,   d e f a u l t   p l u g i n s   m u s t   b e   d i s a b l e d   a n d   r e - e n a b l e d   h e r e   i n   d e s i r e d   o r d e r .   P r e E n q u e u e   i s   a   l i s t   o f   p l u g i n s   t h a t   s h o u l d   b e   i n v o k e d   b e f o r e   a d d i n g   p o d s   t o   t h e   s c h e d u l i n g   q u e u e .   Q u e u e S o r t   i s   a   l i s t   o f   p l u g i n s   t h a t   s h o u l d   b e   i n v o k e d   w h e n   s o r t i n g   p o d s   i n   t h e   s c h e d u l i n g   q u e u e .   P r e F i l t e r   i s   a   l i s t   o f   p l u g i n s   t h a t   s h o u l d   b e   i n v o k e d   a t   \" P r e F i l t e r \"   e x t e n s i o n   p o i n t   o f   t h e   s c h e d u l i n g   f r a m e w o r k .   F i l t e r   i s   a   l i s t   o f   p l u g i n s   t h a t   s h o u l d   b e   i n v o k e d   w h e n   f i l t e r i n g   o u t   n o d e s   t h a t   c a n n o t   r u n   t h e   P o d .   P o s t F i l t e r   i s   a   l i s t   o f   p l u g i n s   t h a t   a r e   i n v o k e d   a f t e r   f i l t e r i n g   p h a s e ,   b u t   o n l y   w h e n   n o   f e a s i b l e   n o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_section_2_11484"
  },
  {
    "question": "What is PodTopologySpreadConstraintsDefaulting?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   P o d T o p o l o g y S p r e a d A r g s   P o d T o p o l o g y S p r e a d C o n s t r a i n t s D e f a u l t i n g   d e f i n e s   h o w   t o   s e t   d e f a u l t   c o n s t r a i n t s   f o r   t h e   P o d T o p o l o g y S p r e a d   p l u g i n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_section_2_11485"
  },
  {
    "question": "What is RequestedToCapacityRatioParam?",
    "answer": "A p p e a r s   i n :   S c o r i n g S t r a t e g y   R e q u e s t e d T o C a p a c i t y R a t i o P a r a m   d e f i n e   R e q u e s t e d T o C a p a c i t y R a t i o   p a r a m e t e r s   S h a p e   i s   a   l i s t   o f   p o i n t s   d e f i n i n g   t h e   s c o r i n g   f u n c t i o n   s h a p e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_section_2_11486"
  },
  {
    "question": "What is ResourceSpec?",
    "answer": "A p p e a r s   i n :   N o d e R e s o u r c e s B a l a n c e d A l l o c a t i o n A r g s S c o r i n g S t r a t e g y   N o d e R e s o u r c e s B a l a n c e d A l l o c a t i o n A r g s   S c o r i n g S t r a t e g y   R e s o u r c e S p e c   r e p r e s e n t s   a   s i n g l e   r e s o u r c e .   N a m e   o f   t h e   r e s o u r c e .   W e i g h t   o f   t h e   r e s o u r c e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_section_2_11487"
  },
  {
    "question": "What is ScoringStrategy?",
    "answer": "A p p e a r s   i n :   N o d e R e s o u r c e s F i t A r g s   S c o r i n g S t r a t e g y   d e f i n e   S c o r i n g S t r a t e g y T y p e   f o r   n o d e   r e s o u r c e   p l u g i n   T y p e   s e l e c t s   w h i c h   s t r a t e g y   t o   r u n .   R e s o u r c e s   t o   c o n s i d e r   w h e n   s c o r i n g .   T h e   d e f a u l t   r e s o u r c e   s e t   i n c l u d e s   \" c p u \"   a n d   \" m e m o r y \"   w i t h   a n   e q u a l   w e i g h t .   A l l o w e d   w e i g h t s   g o   f r o m   1   t o   1 0 0 .   W e i g h t   d e f a u l t s   t o   1   i f   n o t   s p e c i f i e d   o r   e x p l i c i t l y   s e t   t o   0 .   A r g u m e n t s   s p e c i f i c   t o   R e q u e s t e d T o C a p a c i t y R a t i o   s t r a t e g y .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_section_2_11488"
  },
  {
    "question": "What is ScoringStrategyType?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   S c o r i n g S t r a t e g y   S c o r i n g S t r a t e g y T y p e   t h e   t y p e   o f   s c o r i n g   s t r a t e g y   u s e d   i n   N o d e R e s o u r c e s F i t   p l u g i n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_section_2_11489"
  },
  {
    "question": "What is UtilizationShapePoint?",
    "answer": "A p p e a r s   i n :   V o l u m e B i n d i n g A r g s R e q u e s t e d T o C a p a c i t y R a t i o P a r a m   V o l u m e B i n d i n g A r g s   R e q u e s t e d T o C a p a c i t y R a t i o P a r a m   U t i l i z a t i o n S h a p e P o i n t   r e p r e s e n t s   s i n g l e   p o i n t   o f   p r i o r i t y   f u n c t i o n   s h a p e .   U t i l i z a t i o n   ( x   a x i s ) .   V a l i d   v a l u e s   a r e   0   t o   1 0 0 .   F u l l y   u t i l i z e d   n o d e   m a p s   t o   1 0 0 .   S c o r e   a s s i g n e d   t o   g i v e n   u t i l i z a t i o n   ( y   a x i s ) .   V a l i d   v a l u e s   a r e   0   t o   1 0 .   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/",
    "id": "k8s_00614_section_2_11490"
  },
  {
    "question": "What is Configuring each kubelet in your cluster using kubeadm?",
    "answer": "Configuring each kubelet in your cluster using kubeadmNote: Dockershim has been removed from the Kubernetes project as of release 1.24. Read the Dockershim Removal FAQ for further details.FEATURE STATE: Kubernetes v1.11 [stable]The lifecycle of the kubeadm CLI tool is decoupled from the kubelet, which is a daemon that runs on each node within the Kubernetes cluster. The kubeadm CLI tool is executed by the user when Kubernetes is initialized or upgraded, whereas the kubelet is always running in the background.Since the kubelet is a daemon, it needs to be maintained by some kind of an init system or service manager. When the kubelet is installed using DEBs or RPMs, systemd is configured to manage the kubelet. You can use a different service manager instead, but you need to configure it manually.Some kubelet configuration details need to be the same across all kubelets involved in the cluster, while other configuration aspects need to be set on a per-kubelet basis to accommodate the different characteristics of a given machine (such as OS, storage, and networking). You can manage the configuration of your kubelets manually, but kubeadm now provides a KubeletConfiguration API type for managing your kubelet configurations centrally.Kubelet configuration patternsThe following sections describe patterns to kubelet configuration that are simplified by using kubeadm, rather than managing the kubelet configuration for each Node manually.Propagating cluster-level configuration to each kubeletYou can provide the kubelet with default values to be used by kubeadm init and kubeadm join commands. Interesting examples include using a different container runtime or setting the default subnet used by services.If you want your services to use the subnet 10.96.0.0/12 as the default for services, you can pass the --service-cidr parameter to kubeadm:kubeadm init --service-cidr 10.96.0.0/12 Virtual IPs for services are now allocated from this subnet. You also need to set the DNS address used by the kubelet, using the --cluster-dns flag. This setting needs to be the same for every kubelet on every manager and Node in the cluster. The kubelet provides a versioned, structured API object that can configure most parameters in the kubelet and push out this configuration to each running kubelet in the cluster. This object is called KubeletConfiguration. The KubeletConfiguration allows the user to specify flags such as the cluster DNS IP addresses expressed as a list of values to a camelCased key, illustrated by the following example:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration clusterDNS: - 10.96.0.10 For more details on the KubeletConfiguration have a look at this section.Providing instance-specific configuration detailsSome hosts require specific kubelet configurations due to differences in hardware, operating system, networking, or other host-specific parameters. The following list provides a few examples.The path to the DNS resolution file, as speci",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/kubelet-integration/",
    "id": "k8s_00615_qa_11491"
  },
  {
    "question": "How does Configuring each kubelet in your cluster using kubeadm work?",
    "answer": "Configuring each kubelet in your cluster using kubeadmNote: Dockershim has been removed from the Kubernetes project as of release 1.24. Read the Dockershim Removal FAQ for further details.FEATURE STATE: Kubernetes v1.11 [stable]The lifecycle of the kubeadm CLI tool is decoupled from the kubelet, which is a daemon that runs on each node within the Kubernetes cluster. The kubeadm CLI tool is executed by the user when Kubernetes is initialized or upgraded, whereas the kubelet is always running in the background.Since the kubelet is a daemon, it needs to be maintained by some kind of an init system or service manager. When the kubelet is installed using DEBs or RPMs, systemd is configured to manage the kubelet. You can use a different service manager instead, but you need to configure it manually.Some kubelet configuration details need to be the same across all kubelets involved in the cluster, while other configuration aspects need to be set on a per-kubelet basis to accommodate the different characteristics of a given machine (such as OS, storage, and networking). You can manage the configuration of your kubelets manually, but kubeadm now provides a KubeletConfiguration API type for managing your kubelet configurations centrally.Kubelet configuration patternsThe following sections describe patterns to kubelet configuration that are simplified by using kubeadm, rather than managing the kubelet configuration for each Node manually.Propagating cluster-level configuration to each kubeletYou can provide the kubelet with default values to be used by kubeadm init and kubeadm join commands. Interesting examples include using a different container runtime or setting the default subnet used by services.If you want your services to use the subnet 10.96.0.0/12 as the default for services, you can pass the --service-cidr parameter to kubeadm:kubeadm init --service-cidr 10.96.0.0/12 Virtual IPs for services are now allocated from this subnet. You also need to set the DNS address used by the kubelet, using the --cluster-dns flag. This setting needs to be the same for every kubelet on every manager and Node in the cluster. The kubelet provides a versioned, structured API object that can configure most parameters in the kubelet and push out this configuration to each running kubelet in the cluster. This object is called KubeletConfiguration. The KubeletConfiguration allows the user to specify flags such as the cluster DNS IP addresses expressed as a list of values to a camelCased key, illustrated by the following example:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration clusterDNS: - 10.96.0.10 For more details on the KubeletConfiguration have a look at this section.Providing instance-specific configuration detailsSome hosts require specific kubelet configurations due to differences in hardware, operating system, networking, or other host-specific parameters. The following list provides a few examples.The path to the DNS resolution file, as speci",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/kubelet-integration/",
    "id": "k8s_00615_qa_11492"
  },
  {
    "question": "When would you use Configuring each kubelet in your cluster using kubeadm?",
    "answer": "Configuring each kubelet in your cluster using kubeadmNote: Dockershim has been removed from the Kubernetes project as of release 1.24. Read the Dockershim Removal FAQ for further details.FEATURE STATE: Kubernetes v1.11 [stable]The lifecycle of the kubeadm CLI tool is decoupled from the kubelet, which is a daemon that runs on each node within the Kubernetes cluster. The kubeadm CLI tool is executed by the user when Kubernetes is initialized or upgraded, whereas the kubelet is always running in the background.Since the kubelet is a daemon, it needs to be maintained by some kind of an init system or service manager. When the kubelet is installed using DEBs or RPMs, systemd is configured to manage the kubelet. You can use a different service manager instead, but you need to configure it manually.Some kubelet configuration details need to be the same across all kubelets involved in the cluster, while other configuration aspects need to be set on a per-kubelet basis to accommodate the different characteristics of a given machine (such as OS, storage, and networking). You can manage the configuration of your kubelets manually, but kubeadm now provides a KubeletConfiguration API type for managing your kubelet configurations centrally.Kubelet configuration patternsThe following sections describe patterns to kubelet configuration that are simplified by using kubeadm, rather than managing the kubelet configuration for each Node manually.Propagating cluster-level configuration to each kubeletYou can provide the kubelet with default values to be used by kubeadm init and kubeadm join commands. Interesting examples include using a different container runtime or setting the default subnet used by services.If you want your services to use the subnet 10.96.0.0/12 as the default for services, you can pass the --service-cidr parameter to kubeadm:kubeadm init --service-cidr 10.96.0.0/12 Virtual IPs for services are now allocated from this subnet. You also need to set the DNS address used by the kubelet, using the --cluster-dns flag. This setting needs to be the same for every kubelet on every manager and Node in the cluster. The kubelet provides a versioned, structured API object that can configure most parameters in the kubelet and push out this configuration to each running kubelet in the cluster. This object is called KubeletConfiguration. The KubeletConfiguration allows the user to specify flags such as the cluster DNS IP addresses expressed as a list of values to a camelCased key, illustrated by the following example:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration clusterDNS: - 10.96.0.10 For more details on the KubeletConfiguration have a look at this section.Providing instance-specific configuration detailsSome hosts require specific kubelet configurations due to differences in hardware, operating system, networking, or other host-specific parameters. The following list provides a few examples.The path to the DNS resolution file, as speci",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/kubelet-integration/",
    "id": "k8s_00615_qa_11493"
  },
  {
    "question": "What are the benefits of Configuring each kubelet in your cluster using kubeadm?",
    "answer": "Configuring each kubelet in your cluster using kubeadmNote: Dockershim has been removed from the Kubernetes project as of release 1.24. Read the Dockershim Removal FAQ for further details.FEATURE STATE: Kubernetes v1.11 [stable]The lifecycle of the kubeadm CLI tool is decoupled from the kubelet, which is a daemon that runs on each node within the Kubernetes cluster. The kubeadm CLI tool is executed by the user when Kubernetes is initialized or upgraded, whereas the kubelet is always running in the background.Since the kubelet is a daemon, it needs to be maintained by some kind of an init system or service manager. When the kubelet is installed using DEBs or RPMs, systemd is configured to manage the kubelet. You can use a different service manager instead, but you need to configure it manually.Some kubelet configuration details need to be the same across all kubelets involved in the cluster, while other configuration aspects need to be set on a per-kubelet basis to accommodate the different characteristics of a given machine (such as OS, storage, and networking). You can manage the configuration of your kubelets manually, but kubeadm now provides a KubeletConfiguration API type for managing your kubelet configurations centrally.Kubelet configuration patternsThe following sections describe patterns to kubelet configuration that are simplified by using kubeadm, rather than managing the kubelet configuration for each Node manually.Propagating cluster-level configuration to each kubeletYou can provide the kubelet with default values to be used by kubeadm init and kubeadm join commands. Interesting examples include using a different container runtime or setting the default subnet used by services.If you want your services to use the subnet 10.96.0.0/12 as the default for services, you can pass the --service-cidr parameter to kubeadm:kubeadm init --service-cidr 10.96.0.0/12 Virtual IPs for services are now allocated from this subnet. You also need to set the DNS address used by the kubelet, using the --cluster-dns flag. This setting needs to be the same for every kubelet on every manager and Node in the cluster. The kubelet provides a versioned, structured API object that can configure most parameters in the kubelet and push out this configuration to each running kubelet in the cluster. This object is called KubeletConfiguration. The KubeletConfiguration allows the user to specify flags such as the cluster DNS IP addresses expressed as a list of values to a camelCased key, illustrated by the following example:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration clusterDNS: - 10.96.0.10 For more details on the KubeletConfiguration have a look at this section.Providing instance-specific configuration detailsSome hosts require specific kubelet configurations due to differences in hardware, operating system, networking, or other host-specific parameters. The following list provides a few examples.The path to the DNS resolution file, as speci",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/kubelet-integration/",
    "id": "k8s_00615_qa_11494"
  },
  {
    "question": "What is Configuring each kubelet in your cluster using kubeadm?",
    "answer": "T h e   l i f e c y c l e   o f   t h e   k u b e a d m   C L I   t o o l   i s   d e c o u p l e d   f r o m   t h e   k u b e l e t ,   w h i c h   i s   a   d a e m o n   t h a t   r u n s   o n   e a c h   n o d e   w i t h i n   t h e   K u b e r n e t e s   c l u s t e r .   T h e   k u b e a d m   C L I   t o o l   i s   e x e c u t e d   b y   t h e   u s e r   w h e n   K u b e r n e t e s   i s   i n i t i a l i z e d   o r   u p g r a d e d ,   w h e r e a s   t h e   k u b e l e t   i s   a l w a y s   r u n n i n g   i n   t h e   b a c k g r o u n d .   S i n c e   t h e   k u b e l e t   i s   a   d a e m o n ,   i t   n e e d s   t o   b e   m a i n t a i n e d   b y   s o m e   k i n d   o f   a n   i n i t   s y s t e m   o r   s e r v i c e   m a n a g e r .   W h e n   t h e   k u b e l e t   i s   i n s t a l l e d   u s i n g   D E B s   o r   R P M s ,   s y s t e m d   i s   c o n f i g u r e d   t o   m a n a g e   t h e   k u b e l e t .   Y o u   c a n   u s e   a   d i f f e r e n t   s e r v i c e   m a n a g e r   i n s t e a d ,   b u t   y o u   n e e d   t o   c o n f i g u r e   i t   m a n u a l l y .   S o m e   k u b e l e t   c o n f i g u r a t i o n   d e t a i l s   n e e d   t o   b e   t h e   s a m e   a c r o s s   a l l   k u b e l e t s   i n v o l v e d   i n   t h e   c l u s t e r ,   w h i l e   o t h e r   c o n f i g u r a t i o n   a s p e c t s   n e e d   t o   b e   s e t   o n   a   p e r - k u b e l e t   b a s i s   t o   a c c o m m o d a t e   t h e   d i f f e r e n t   c h a r a c t e r i s t i c s   o f   a   g i v e n   m a c h i n e   ( s u c h   a s   O S ,   s t o r a g e ,   a n d   n e t w o r k i n g ) .   Y o u   c a n   m a n a g e   t h e   c o n f i g u r a t i o n   o f   y o u r   k u b e l e t s   m a n u a l l y ,   b u t   k u b e a d m   n o w   p r o v i d e s   a   K u b e l e t C o n f i g u r a t i o n   A P I   t y p e   f o r   m a n a g i n g   y o u r   k u b e l e t   c o n f ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/kubelet-integration/",
    "id": "k8s_00615_section_1_11495"
  },
  {
    "question": "What is Kubelet configuration patterns?",
    "answer": "T h e   f o l l o w i n g   s e c t i o n s   d e s c r i b e   p a t t e r n s   t o   k u b e l e t   c o n f i g u r a t i o n   t h a t   a r e   s i m p l i f i e d   b y   u s i n g   k u b e a d m ,   r a t h e r   t h a n   m a n a g i n g   t h e   k u b e l e t   c o n f i g u r a t i o n   f o r   e a c h   N o d e   m a n u a l l y .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/kubelet-integration/",
    "id": "k8s_00615_section_2_11496"
  },
  {
    "question": "What is Propagating cluster-level configuration to each kubelet?",
    "answer": "Y o u   c a n   p r o v i d e   t h e   k u b e l e t   w i t h   d e f a u l t   v a l u e s   t o   b e   u s e d   b y   k u b e a d m   i n i t   a n d   k u b e a d m   j o i n   c o m m a n d s .   I n t e r e s t i n g   e x a m p l e s   i n c l u d e   u s i n g   a   d i f f e r e n t   c o n t a i n e r   r u n t i m e   o r   s e t t i n g   t h e   d e f a u l t   s u b n e t   u s e d   b y   s e r v i c e s .   I f   y o u   w a n t   y o u r   s e r v i c e s   t o   u s e   t h e   s u b n e t   1 0 . 9 6 . 0 . 0 / 1 2   a s   t h e   d e f a u l t   f o r   s e r v i c e s ,   y o u   c a n   p a s s   t h e   - - s e r v i c e - c i d r   p a r a m e t e r   t o   k u b e a d m :   k u b e a d m   i n i t   - - s e r v i c e - c i d r   1 0 . 9 6 . 0 . 0 / 1 2   V i r t u a l   I P s   f o r   s e r v i c e s   a r e   n o w   a l l o c a t e d   f r o m   t h i s   s u b n e t .   Y o u   a l s o   n e e d   t o   s e t   t h e   D N S   a d d r e s s   u s e d   b y   t h e   k u b e l e t ,   u s i n g   t h e   - - c l u s t e r - d n s   f l a g .   T h i s   s e t t i n g   n e e d s   t o   b e   t h e   s a m e   f o r   e v e r y   k u b e l e t   o n   e v e r y   m a n a g e r   a n d   N o d e   i n   t h e   c l u s t e r .   T h e   k u b e l e t   p r o v i d e s   a   v e r s i o n e d ,   s t r u c t u r e d   A P I   o b j e c t   t h a t   c a n   c o n f i g u r e   m o s t   p a r a m e t e r s   i n   t h e   k u b e l e t   a n d   p u s h   o u t   t h i s   c o n f i g u r a t i o n   t o   e a c h   r u n n i n g   k u b e l e t   i n   t h e   c l u s t e r .   T h i s   o b j e c t   i s   c a l l e d   K u b e l e t C o n f i g u r a t i o n .   T h e   K u b e l e t C o n f i g u r a t i o n   a l l o w s   t h e   u s e r   t o   s p e c i f y   f l a g s   s u c h   a s   t h e   c l u s t e r   D N S   I P   a d d r e s s e s   e x p r e s s e d   a s   a   l i s t   o f   v a l u e s   t o   a   c a m e l C a s e ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/kubelet-integration/",
    "id": "k8s_00615_section_3_11497"
  },
  {
    "question": "What is Providing instance-specific configuration details?",
    "answer": "S o m e   h o s t s   r e q u i r e   s p e c i f i c   k u b e l e t   c o n f i g u r a t i o n s   d u e   t o   d i f f e r e n c e s   i n   h a r d w a r e ,   o p e r a t i n g   s y s t e m ,   n e t w o r k i n g ,   o r   o t h e r   h o s t - s p e c i f i c   p a r a m e t e r s .   T h e   f o l l o w i n g   l i s t   p r o v i d e s   a   f e w   e x a m p l e s .   T h e   p a t h   t o   t h e   D N S   r e s o l u t i o n   f i l e ,   a s   s p e c i f i e d   b y   t h e   - - r e s o l v - c o n f   k u b e l e t   c o n f i g u r a t i o n   f l a g ,   m a y   d i f f e r   a m o n g   o p e r a t i n g   s y s t e m s ,   o r   d e p e n d i n g   o n   w h e t h e r   y o u   a r e   u s i n g   s y s t e m d - r e s o l v e d .   I f   t h i s   p a t h   i s   w r o n g ,   D N S   r e s o l u t i o n   w i l l   f a i l   o n   t h e   N o d e   w h o s e   k u b e l e t   i s   c o n f i g u r e d   i n c o r r e c t l y . T h e   N o d e   A P I   o b j e c t   . m e t a d a t a . n a m e   i s   s e t   t o   t h e   m a c h i n e ' s   h o s t n a m e   b y   d e f a u l t ,   u n l e s s   y o u   a r e   u s i n g   a   c l o u d   p r o v i d e r .   Y o u   c a n   u s e   t h e   - - h o s t n a m e - o v e r r i d e   f l a g   t o   o v e r r i d e   t h e   d e f a u l t   b e h a v i o r   i f   y o u   n e e d   t o   s p e c i f y   a   N o d e   n a m e   d i f f e r e n t   f r o m   t h e   m a c h i n e ' s   h o s t n a m e . C u r r e n t l y ,   t h e   k u b e l e t   c a n n o t   a u t o m a t i c a l l y   d e t e c t   t h e   c g r o u p   d r i v e r   u s e d   b y   t h e   c o n t a i n e r   r u n t i m e ,   b u t   t h e   v a l u e   o f   - - c g r o u p - d r i v e r   m u s t   m a t c h   t h e   c g r o u p   d r i v e r   u s e d   b y   t h e   c o n t a i n e r   r u n t i m e   t o   e n s u r e   t h e   h e a l t h   o f   t h e   k u b e l e t . T o   s p e c i f y   t h e   c o n t a i n e ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/kubelet-integration/",
    "id": "k8s_00615_section_3_11498"
  },
  {
    "question": "What is Configure kubelets using kubeadm?",
    "answer": "I t   i s   p o s s i b l e   t o   c o n f i g u r e   t h e   k u b e l e t   t h a t   k u b e a d m   w i l l   s t a r t   i f   a   c u s t o m   K u b e l e t C o n f i g u r a t i o n   A P I   o b j e c t   i s   p a s s e d   w i t h   a   c o n f i g u r a t i o n   f i l e   l i k e   s o   k u b e a d m   . . .   - - c o n f i g   s o m e - c o n f i g - f i l e . y a m l .   B y   c a l l i n g   k u b e a d m   c o n f i g   p r i n t   i n i t - d e f a u l t s   - - c o m p o n e n t - c o n f i g s   K u b e l e t C o n f i g u r a t i o n   y o u   c a n   s e e   a l l   t h e   d e f a u l t   v a l u e s   f o r   t h i s   s t r u c t u r e .   I t   i s   a l s o   p o s s i b l e   t o   a p p l y   i n s t a n c e - s p e c i f i c   p a t c h e s   o v e r   t h e   b a s e   K u b e l e t C o n f i g u r a t i o n .   H a v e   a   l o o k   a t   C u s t o m i z i n g   t h e   k u b e l e t   f o r   m o r e   d e t a i l s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/kubelet-integration/",
    "id": "k8s_00615_section_2_11499"
  },
  {
    "question": "What is Workflow when using kubeadm init?",
    "answer": "W h e n   y o u   c a l l   k u b e a d m   i n i t ,   t h e   k u b e l e t   c o n f i g u r a t i o n   i s   m a r s h a l l e d   t o   d i s k   a t   / v a r / l i b / k u b e l e t / c o n f i g . y a m l ,   a n d   a l s o   u p l o a d e d   t o   a   k u b e l e t - c o n f i g   C o n f i g M a p   i n   t h e   k u b e - s y s t e m   n a m e s p a c e   o f   t h e   c l u s t e r .   A d d i t i o n a l l y ,   t h e   k u b e a d m   t o o l   d e t e c t s   t h e   C R I   s o c k e t   o n   t h e   n o d e   a n d   w r i t e s   i t s   d e t a i l s   ( i n c l u d i n g   t h e   s o c k e t   p a t h )   i n t o   a   l o c a l   c o n f i g u r a t i o n ,   / v a r / l i b / k u b e l e t / i n s t a n c e - c o n f i g . y a m l .   A   k u b e l e t   c o n f i g u r a t i o n   f i l e   i s   a l s o   w r i t t e n   t o   / e t c / k u b e r n e t e s / k u b e l e t . c o n f   w i t h   t h e   b a s e l i n e   c l u s t e r - w i d e   c o n f i g u r a t i o n   f o r   a l l   k u b e l e t s   i n   t h e   c l u s t e r .   T h i s   c o n f i g u r a t i o n   f i l e   p o i n t s   t o   t h e   c l i e n t   c e r t i f i c a t e s   t h a t   a l l o w   t h e   k u b e l e t   t o   c o m m u n i c a t e   w i t h   t h e   A P I   s e r v e r .   T h i s   a d d r e s s e s   t h e   n e e d   t o   p r o p a g a t e   c l u s t e r - l e v e l   c o n f i g u r a t i o n   t o   e a c h   k u b e l e t .   T o   a d d r e s s   t h e   s e c o n d   p a t t e r n   o f   p r o v i d i n g   i n s t a n c e - s p e c i f i c   c o n f i g u r a t i o n   d e t a i l s ,   k u b e a d m   w r i t e s   a n   e n v i r o n m e n t   f i l e   t o   / v a r / l i b / k u b e l e t / k u b e a d m - f l a g s . e n v ,   w h i c h   c o n t a i n s   a   l i s t   o f   f l a g s   t o   p a s s   t o   t h e   k u b e l e t   w h e n   i t   s t a r t s .   T h e   f l a g s   a r e   p r e s e n t e d   i n   t h e   f ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/kubelet-integration/",
    "id": "k8s_00615_section_3_11500"
  },
  {
    "question": "What is Workflow when using kubeadm join?",
    "answer": "W h e n   y o u   r u n   k u b e a d m   j o i n ,   k u b e a d m   u s e s   t h e   B o o t s t r a p   T o k e n   c r e d e n t i a l   t o   p e r f o r m   a   T L S   b o o t s t r a p ,   w h i c h   f e t c h e s   t h e   c r e d e n t i a l   n e e d e d   t o   d o w n l o a d   t h e   k u b e l e t - c o n f i g   C o n f i g M a p   a n d   w r i t e s   i t   t o   / v a r / l i b / k u b e l e t / c o n f i g . y a m l .   A d d i t i o n a l l y ,   t h e   k u b e a d m   t o o l   d e t e c t s   t h e   C R I   s o c k e t   o n   t h e   n o d e   a n d   w r i t e s   i t s   d e t a i l s   ( i n c l u d i n g   t h e   s o c k e t   p a t h )   i n t o   a   l o c a l   c o n f i g u r a t i o n ,   / v a r / l i b / k u b e l e t / i n s t a n c e - c o n f i g . y a m l .   T h e   d y n a m i c   e n v i r o n m e n t   f i l e   i s   g e n e r a t e d   i n   e x a c t l y   t h e   s a m e   w a y   a s   k u b e a d m   i n i t .   N e x t ,   k u b e a d m   r u n s   t h e   f o l l o w i n g   t w o   c o m m a n d s   t o   l o a d   t h e   n e w   c o n f i g u r a t i o n   i n t o   t h e   k u b e l e t :   s y s t e m c t l   d a e m o n - r e l o a d   & &   s y s t e m c t l   r e s t a r t   k u b e l e t   A f t e r   t h e   k u b e l e t   l o a d s   t h e   n e w   c o n f i g u r a t i o n ,   k u b e a d m   w r i t e s   t h e   / e t c / k u b e r n e t e s / b o o t s t r a p - k u b e l e t . c o n f   K u b e C o n f i g   f i l e ,   w h i c h   c o n t a i n s   a   C A   c e r t i f i c a t e   a n d   B o o t s t r a p   T o k e n .   T h e s e   a r e   u s e d   b y   t h e   k u b e l e t   t o   p e r f o r m   t h e   T L S   B o o t s t r a p   a n d   o b t a i n   a   u n i q u e   c r e d e n t i a l ,   w h i c h   i s   s t o r e d   i n   / e t c / k u b e r n e t e s / k u b e l e t . c o n f .   W h e n   t h e   / e t c / k u b e r n e t e s / k u b e l e t . c o n f   f i l e   i s   w r ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/kubelet-integration/",
    "id": "k8s_00615_section_3_11501"
  },
  {
    "question": "What is The kubelet drop-in file for systemd?",
    "answer": "k u b e a d m   s h i p s   w i t h   c o n f i g u r a t i o n   f o r   h o w   s y s t e m d   s h o u l d   r u n   t h e   k u b e l e t .   N o t e   t h a t   t h e   k u b e a d m   C L I   c o m m a n d   n e v e r   t o u c h e s   t h i s   d r o p - i n   f i l e .   T h i s   c o n f i g u r a t i o n   f i l e   i n s t a l l e d   b y   t h e   k u b e a d m   p a c k a g e   i s   w r i t t e n   t o   / u s r / l i b / s y s t e m d / s y s t e m / k u b e l e t . s e r v i c e . d / 1 0 - k u b e a d m . c o n f   a n d   i s   u s e d   b y   s y s t e m d .   I t   a u g m e n t s   t h e   b a s i c   k u b e l e t . s e r v i c e .   I f   y o u   w a n t   t o   o v e r r i d e   t h a t   f u r t h e r ,   y o u   c a n   m a k e   a   d i r e c t o r y   / e t c / s y s t e m d / s y s t e m / k u b e l e t . s e r v i c e . d /   ( n o t   / u s r / l i b / s y s t e m d / s y s t e m / k u b e l e t . s e r v i c e . d / )   a n d   p u t   y o u r   o w n   c u s t o m i z a t i o n s   i n t o   a   f i l e   t h e r e .   F o r   e x a m p l e ,   y o u   m i g h t   a d d   a   n e w   l o c a l   f i l e   / e t c / s y s t e m d / s y s t e m / k u b e l e t . s e r v i c e . d / l o c a l - o v e r r i d e s . c o n f   t o   o v e r r i d e   t h e   u n i t   s e t t i n g s   c o n f i g u r e d   b y   k u b e a d m .   H e r e   i s   w h a t   y o u   a r e   l i k e l y   t o   f i n d   i n   / u s r / l i b / s y s t e m d / s y s t e m / k u b e l e t . s e r v i c e . d / 1 0 - k u b e a d m . c o n f :",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/kubelet-integration/",
    "id": "k8s_00615_section_2_11502"
  },
  {
    "question": "What is Note:?",
    "answer": "[ S e r v i c e ]   E n v i r o n m e n t = \" K U B E L E T _ K U B E C O N F I G _ A R G S = - - b o o t s t r a p - k u b e c o n f i g = / e t c / k u b e r n e t e s / b o o t s t r a p - k u b e l e t . c o n f   - - k u b e c o n f i g = / e t c / k u b e r n e t e s / k u b e l e t . c o n f \"   E n v i r o n m e n t = \" K U B E L E T _ C O N F I G _ A R G S = - - c o n f i g = / v a r / l i b / k u b e l e t / c o n f i g . y a m l \"   #   T h i s   i s   a   f i l e   t h a t   \" k u b e a d m   i n i t \"   a n d   \" k u b e a d m   j o i n \"   g e n e r a t e   a t   r u n t i m e ,   p o p u l a t i n g   #   t h e   K U B E L E T _ K U B E A D M _ A R G S   v a r i a b l e   d y n a m i c a l l y   E n v i r o n m e n t F i l e = - / v a r / l i b / k u b e l e t / k u b e a d m - f l a g s . e n v   #   T h i s   i s   a   f i l e   t h a t   t h e   u s e r   c a n   u s e   f o r   o v e r r i d e s   o f   t h e   k u b e l e t   a r g s   a s   a   l a s t   r e s o r t .   P r e f e r a b l y ,   #   t h e   u s e r   s h o u l d   u s e   t h e   . N o d e R e g i s t r a t i o n . K u b e l e t E x t r a A r g s   o b j e c t   i n   t h e   c o n f i g u r a t i o n   f i l e s   i n s t e a d .   #   K U B E L E T _ E X T R A _ A R G S   s h o u l d   b e   s o u r c e d   f r o m   t h i s   f i l e .   E n v i r o n m e n t F i l e = - / e t c / d e f a u l t / k u b e l e t   E x e c S t a r t =   E x e c S t a r t = / u s r / b i n / k u b e l e t   $ K U B E L E T _ K U B E C O N F I G _ A R G S   $ K U B E L E T _ C O N F I G _ A R G S   $ K U B E L E T _ K U B E A D M _ A R G S   $ K U B E L E T _ E X T R A _ A R G S   T h i s   f i l e   s p e c i f i e s   t h e   d e f a u l t   l o c a t i o n s   f o r   a l l   o f   t h e   f i l e s   m a n a g e d   b y   k u b e a d m   f o r   t h e   k u b e l e t .   T h e   K u b e C o n f i g   f i l e   t o   u s e   f o r   t h e   T L S   B o o t s t r a p   i s   / e t c / k u b e r n ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/kubelet-integration/",
    "id": "k8s_00615_section_4_11503"
  },
  {
    "question": "What is Kubernetes binaries and package contents?",
    "answer": "T h e   D E B   a n d   R P M   p a c k a g e s   s h i p p e d   w i t h   t h e   K u b e r n e t e s   r e l e a s e s   a r e :",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/kubelet-integration/",
    "id": "k8s_00615_section_2_11504"
  },
  {
    "question": "What is Content organization?",
    "answer": "Content organizationThis site uses Hugo. In Hugo, content organization is a core concept.Note:Hugo Tip: Start Hugo with hugo server --navigateToChanged for content edit-sessions.Page ListsPage OrderThe documentation side menu, the documentation page browser etc. are listed using Hugo's default sort order, which sorts by weight (from 1), date (newest first), and finally by the link title.Given that, if you want to move a page or a section up, set a weight in the page's front matter:title: My Page weight: 10 Note:For page weights, it can be smart not to use 1, 2, 3 ..., but some other interval, say 10, 20, 30... This allows you to insert pages where you want later. Additionally, each weight within the same directory (section) should not be overlapped with the other weights. This makes sure that content is always organized correctly, especially in localized content.Documentation Main MenuThe Documentation main menu is built from the sections below docs/ with the main_menu flag set in front matter of the _index.md section content file:main_menu: true Note that the link title is fetched from the page's linkTitle, so if you want it to be something different than the title, change it in the content file:main_menu: true title: Page Title linkTitle: Title used in links Note:The above needs to be done per language. If you don't see your section in the menu, it is probably because it is not identified as a section by Hugo. Create a _index.md content file in the section folder.Documentation Side MenuThe documentation side-bar menu is built from the current section tree starting below docs/.It will show all sections and their pages.If you don't want to list a section or page, set the toc_hide flag to true in front matter:toc_hide: true When you navigate to a section that has content, the specific section or page (e.g. _index.md) is shown. Else, the first page inside that section is shown.Documentation BrowserThe page browser on the documentation home page is built using all the sections and pages that are directly below the docs section.If you don't want to list a section or page, set the toc_hide flag to true in front matter:toc_hide: true The Main MenuThe site links in the top-right menu -- and also in the footer -- are built by page-lookups. This is to make sure that the page actually exists. So, if the case-studies section does not exist in a site (language), it will not be linked to.Page BundlesIn addition to standalone content pages (Markdown files), Hugo supports Page Bundles.One example is Custom Hugo Shortcodes. It is considered a leaf bundle. Everything below the directory, including the index.md, will be part of the bundle. This also includes page-relative links, images that can be processed etc.:en/docs/home/contribute/includes ├── example1.md ├── example2.md ├── index.md └── podtemplate.json Another widely used example is the includes bundle. It sets headless: true in front matter, which means that it does not get its own URL. It is only used in ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/content-organization/",
    "id": "k8s_00616_qa_11505"
  },
  {
    "question": "How does Content organization work?",
    "answer": "Content organizationThis site uses Hugo. In Hugo, content organization is a core concept.Note:Hugo Tip: Start Hugo with hugo server --navigateToChanged for content edit-sessions.Page ListsPage OrderThe documentation side menu, the documentation page browser etc. are listed using Hugo's default sort order, which sorts by weight (from 1), date (newest first), and finally by the link title.Given that, if you want to move a page or a section up, set a weight in the page's front matter:title: My Page weight: 10 Note:For page weights, it can be smart not to use 1, 2, 3 ..., but some other interval, say 10, 20, 30... This allows you to insert pages where you want later. Additionally, each weight within the same directory (section) should not be overlapped with the other weights. This makes sure that content is always organized correctly, especially in localized content.Documentation Main MenuThe Documentation main menu is built from the sections below docs/ with the main_menu flag set in front matter of the _index.md section content file:main_menu: true Note that the link title is fetched from the page's linkTitle, so if you want it to be something different than the title, change it in the content file:main_menu: true title: Page Title linkTitle: Title used in links Note:The above needs to be done per language. If you don't see your section in the menu, it is probably because it is not identified as a section by Hugo. Create a _index.md content file in the section folder.Documentation Side MenuThe documentation side-bar menu is built from the current section tree starting below docs/.It will show all sections and their pages.If you don't want to list a section or page, set the toc_hide flag to true in front matter:toc_hide: true When you navigate to a section that has content, the specific section or page (e.g. _index.md) is shown. Else, the first page inside that section is shown.Documentation BrowserThe page browser on the documentation home page is built using all the sections and pages that are directly below the docs section.If you don't want to list a section or page, set the toc_hide flag to true in front matter:toc_hide: true The Main MenuThe site links in the top-right menu -- and also in the footer -- are built by page-lookups. This is to make sure that the page actually exists. So, if the case-studies section does not exist in a site (language), it will not be linked to.Page BundlesIn addition to standalone content pages (Markdown files), Hugo supports Page Bundles.One example is Custom Hugo Shortcodes. It is considered a leaf bundle. Everything below the directory, including the index.md, will be part of the bundle. This also includes page-relative links, images that can be processed etc.:en/docs/home/contribute/includes ├── example1.md ├── example2.md ├── index.md └── podtemplate.json Another widely used example is the includes bundle. It sets headless: true in front matter, which means that it does not get its own URL. It is only used in ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/content-organization/",
    "id": "k8s_00616_qa_11506"
  },
  {
    "question": "When would you use Content organization?",
    "answer": "Content organizationThis site uses Hugo. In Hugo, content organization is a core concept.Note:Hugo Tip: Start Hugo with hugo server --navigateToChanged for content edit-sessions.Page ListsPage OrderThe documentation side menu, the documentation page browser etc. are listed using Hugo's default sort order, which sorts by weight (from 1), date (newest first), and finally by the link title.Given that, if you want to move a page or a section up, set a weight in the page's front matter:title: My Page weight: 10 Note:For page weights, it can be smart not to use 1, 2, 3 ..., but some other interval, say 10, 20, 30... This allows you to insert pages where you want later. Additionally, each weight within the same directory (section) should not be overlapped with the other weights. This makes sure that content is always organized correctly, especially in localized content.Documentation Main MenuThe Documentation main menu is built from the sections below docs/ with the main_menu flag set in front matter of the _index.md section content file:main_menu: true Note that the link title is fetched from the page's linkTitle, so if you want it to be something different than the title, change it in the content file:main_menu: true title: Page Title linkTitle: Title used in links Note:The above needs to be done per language. If you don't see your section in the menu, it is probably because it is not identified as a section by Hugo. Create a _index.md content file in the section folder.Documentation Side MenuThe documentation side-bar menu is built from the current section tree starting below docs/.It will show all sections and their pages.If you don't want to list a section or page, set the toc_hide flag to true in front matter:toc_hide: true When you navigate to a section that has content, the specific section or page (e.g. _index.md) is shown. Else, the first page inside that section is shown.Documentation BrowserThe page browser on the documentation home page is built using all the sections and pages that are directly below the docs section.If you don't want to list a section or page, set the toc_hide flag to true in front matter:toc_hide: true The Main MenuThe site links in the top-right menu -- and also in the footer -- are built by page-lookups. This is to make sure that the page actually exists. So, if the case-studies section does not exist in a site (language), it will not be linked to.Page BundlesIn addition to standalone content pages (Markdown files), Hugo supports Page Bundles.One example is Custom Hugo Shortcodes. It is considered a leaf bundle. Everything below the directory, including the index.md, will be part of the bundle. This also includes page-relative links, images that can be processed etc.:en/docs/home/contribute/includes ├── example1.md ├── example2.md ├── index.md └── podtemplate.json Another widely used example is the includes bundle. It sets headless: true in front matter, which means that it does not get its own URL. It is only used in ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/content-organization/",
    "id": "k8s_00616_qa_11507"
  },
  {
    "question": "What are the benefits of Content organization?",
    "answer": "Content organizationThis site uses Hugo. In Hugo, content organization is a core concept.Note:Hugo Tip: Start Hugo with hugo server --navigateToChanged for content edit-sessions.Page ListsPage OrderThe documentation side menu, the documentation page browser etc. are listed using Hugo's default sort order, which sorts by weight (from 1), date (newest first), and finally by the link title.Given that, if you want to move a page or a section up, set a weight in the page's front matter:title: My Page weight: 10 Note:For page weights, it can be smart not to use 1, 2, 3 ..., but some other interval, say 10, 20, 30... This allows you to insert pages where you want later. Additionally, each weight within the same directory (section) should not be overlapped with the other weights. This makes sure that content is always organized correctly, especially in localized content.Documentation Main MenuThe Documentation main menu is built from the sections below docs/ with the main_menu flag set in front matter of the _index.md section content file:main_menu: true Note that the link title is fetched from the page's linkTitle, so if you want it to be something different than the title, change it in the content file:main_menu: true title: Page Title linkTitle: Title used in links Note:The above needs to be done per language. If you don't see your section in the menu, it is probably because it is not identified as a section by Hugo. Create a _index.md content file in the section folder.Documentation Side MenuThe documentation side-bar menu is built from the current section tree starting below docs/.It will show all sections and their pages.If you don't want to list a section or page, set the toc_hide flag to true in front matter:toc_hide: true When you navigate to a section that has content, the specific section or page (e.g. _index.md) is shown. Else, the first page inside that section is shown.Documentation BrowserThe page browser on the documentation home page is built using all the sections and pages that are directly below the docs section.If you don't want to list a section or page, set the toc_hide flag to true in front matter:toc_hide: true The Main MenuThe site links in the top-right menu -- and also in the footer -- are built by page-lookups. This is to make sure that the page actually exists. So, if the case-studies section does not exist in a site (language), it will not be linked to.Page BundlesIn addition to standalone content pages (Markdown files), Hugo supports Page Bundles.One example is Custom Hugo Shortcodes. It is considered a leaf bundle. Everything below the directory, including the index.md, will be part of the bundle. This also includes page-relative links, images that can be processed etc.:en/docs/home/contribute/includes ├── example1.md ├── example2.md ├── index.md └── podtemplate.json Another widely used example is the includes bundle. It sets headless: true in front matter, which means that it does not get its own URL. It is only used in ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/content-organization/",
    "id": "k8s_00616_qa_11508"
  },
  {
    "question": "What is Content organization?",
    "answer": "T h i s   s i t e   u s e s   H u g o .   I n   H u g o ,   c o n t e n t   o r g a n i z a t i o n   i s   a   c o r e   c o n c e p t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/content-organization/",
    "id": "k8s_00616_section_1_11509"
  },
  {
    "question": "What is Page Order?",
    "answer": "T h e   d o c u m e n t a t i o n   s i d e   m e n u ,   t h e   d o c u m e n t a t i o n   p a g e   b r o w s e r   e t c .   a r e   l i s t e d   u s i n g   H u g o ' s   d e f a u l t   s o r t   o r d e r ,   w h i c h   s o r t s   b y   w e i g h t   ( f r o m   1 ) ,   d a t e   ( n e w e s t   f i r s t ) ,   a n d   f i n a l l y   b y   t h e   l i n k   t i t l e .   G i v e n   t h a t ,   i f   y o u   w a n t   t o   m o v e   a   p a g e   o r   a   s e c t i o n   u p ,   s e t   a   w e i g h t   i n   t h e   p a g e ' s   f r o n t   m a t t e r :   t i t l e :   M y   P a g e   w e i g h t :   1 0",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/content-organization/",
    "id": "k8s_00616_section_3_11510"
  },
  {
    "question": "What is Documentation Main Menu?",
    "answer": "T h e   D o c u m e n t a t i o n   m a i n   m e n u   i s   b u i l t   f r o m   t h e   s e c t i o n s   b e l o w   d o c s /   w i t h   t h e   m a i n _ m e n u   f l a g   s e t   i n   f r o n t   m a t t e r   o f   t h e   _ i n d e x . m d   s e c t i o n   c o n t e n t   f i l e :   m a i n _ m e n u :   t r u e   N o t e   t h a t   t h e   l i n k   t i t l e   i s   f e t c h e d   f r o m   t h e   p a g e ' s   l i n k T i t l e ,   s o   i f   y o u   w a n t   i t   t o   b e   s o m e t h i n g   d i f f e r e n t   t h a n   t h e   t i t l e ,   c h a n g e   i t   i n   t h e   c o n t e n t   f i l e :   m a i n _ m e n u :   t r u e   t i t l e :   P a g e   T i t l e   l i n k T i t l e :   T i t l e   u s e d   i n   l i n k s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/content-organization/",
    "id": "k8s_00616_section_3_11511"
  },
  {
    "question": "What is Documentation Side Menu?",
    "answer": "T h e   d o c u m e n t a t i o n   s i d e - b a r   m e n u   i s   b u i l t   f r o m   t h e   c u r r e n t   s e c t i o n   t r e e   s t a r t i n g   b e l o w   d o c s / .   I t   w i l l   s h o w   a l l   s e c t i o n s   a n d   t h e i r   p a g e s .   I f   y o u   d o n ' t   w a n t   t o   l i s t   a   s e c t i o n   o r   p a g e ,   s e t   t h e   t o c _ h i d e   f l a g   t o   t r u e   i n   f r o n t   m a t t e r :   t o c _ h i d e :   t r u e   W h e n   y o u   n a v i g a t e   t o   a   s e c t i o n   t h a t   h a s   c o n t e n t ,   t h e   s p e c i f i c   s e c t i o n   o r   p a g e   ( e . g .   _ i n d e x . m d )   i s   s h o w n .   E l s e ,   t h e   f i r s t   p a g e   i n s i d e   t h a t   s e c t i o n   i s   s h o w n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/content-organization/",
    "id": "k8s_00616_section_3_11512"
  },
  {
    "question": "What is Documentation Browser?",
    "answer": "T h e   p a g e   b r o w s e r   o n   t h e   d o c u m e n t a t i o n   h o m e   p a g e   i s   b u i l t   u s i n g   a l l   t h e   s e c t i o n s   a n d   p a g e s   t h a t   a r e   d i r e c t l y   b e l o w   t h e   d o c s   s e c t i o n .   I f   y o u   d o n ' t   w a n t   t o   l i s t   a   s e c t i o n   o r   p a g e ,   s e t   t h e   t o c _ h i d e   f l a g   t o   t r u e   i n   f r o n t   m a t t e r :   t o c _ h i d e :   t r u e",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/content-organization/",
    "id": "k8s_00616_section_3_11513"
  },
  {
    "question": "What is The Main Menu?",
    "answer": "T h e   s i t e   l i n k s   i n   t h e   t o p - r i g h t   m e n u   - -   a n d   a l s o   i n   t h e   f o o t e r   - -   a r e   b u i l t   b y   p a g e - l o o k u p s .   T h i s   i s   t o   m a k e   s u r e   t h a t   t h e   p a g e   a c t u a l l y   e x i s t s .   S o ,   i f   t h e   c a s e - s t u d i e s   s e c t i o n   d o e s   n o t   e x i s t   i n   a   s i t e   ( l a n g u a g e ) ,   i t   w i l l   n o t   b e   l i n k e d   t o .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/content-organization/",
    "id": "k8s_00616_section_3_11514"
  },
  {
    "question": "What is Page Bundles?",
    "answer": "I n   a d d i t i o n   t o   s t a n d a l o n e   c o n t e n t   p a g e s   ( M a r k d o w n   f i l e s ) ,   H u g o   s u p p o r t s   P a g e   B u n d l e s .   O n e   e x a m p l e   i s   C u s t o m   H u g o   S h o r t c o d e s .   I t   i s   c o n s i d e r e d   a   l e a f   b u n d l e .   E v e r y t h i n g   b e l o w   t h e   d i r e c t o r y ,   i n c l u d i n g   t h e   i n d e x . m d ,   w i l l   b e   p a r t   o f   t h e   b u n d l e .   T h i s   a l s o   i n c l u d e s   p a g e - r e l a t i v e   l i n k s ,   i m a g e s   t h a t   c a n   b e   p r o c e s s e d   e t c . :   e n / d o c s / h o m e / c o n t r i b u t e / i n c l u d e s   ├ ─ ─   e x a m p l e 1 . m d   ├ ─ ─   e x a m p l e 2 . m d   ├ ─ ─   i n d e x . m d   └ ─ ─   p o d t e m p l a t e . j s o n   A n o t h e r   w i d e l y   u s e d   e x a m p l e   i s   t h e   i n c l u d e s   b u n d l e .   I t   s e t s   h e a d l e s s :   t r u e   i n   f r o n t   m a t t e r ,   w h i c h   m e a n s   t h a t   i t   d o e s   n o t   g e t   i t s   o w n   U R L .   I t   i s   o n l y   u s e d   i n   o t h e r   p a g e s .   e n / i n c l u d e s   ├ ─ ─   d e f a u l t - s t o r a g e - c l a s s - p r e r e q s . m d   ├ ─ ─   i n d e x . m d   ├ ─ ─   p a r t n e r - s c r i p t . j s   ├ ─ ─   p a r t n e r - s t y l e . c s s   ├ ─ ─   t a s k - t u t o r i a l - p r e r e q s . m d   ├ ─ ─   u s e r - g u i d e - c o n t e n t - m o v e d . m d   └ ─ ─   u s e r - g u i d e - m i g r a t i o n - n o t i c e . m d   S o m e   i m p o r t a n t   n o t e s   t o   t h e   f i l e s   i n   t h e   b u n d l e s :   F o r   t r a n s l a t e d   b u n d l e s ,   a n y   m i s s i n g   n o n - c o n t e n t   f i l e s   w i l l   b e   i n h e r i t e d   f r o m   l a n g u a g e s   a b o v e .   T h i s   a v o i d s   d u p l i c a t i o n . A l l   t h e   f i l e s   i n   a   b u n d l e   a r e   w h a t   H u g o   c a l l s ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/content-organization/",
    "id": "k8s_00616_section_2_11515"
  },
  {
    "question": "What is Styles?",
    "answer": "T h e   S A S S   s o u r c e   o f   t h e   s t y l e s h e e t s   f o r   t h i s   s i t e   i s   s t o r e d   i n   a s s e t s / s a s s   a n d   i s   a u t o m a t i c a l l y   b u i l t   b y   H u g o .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/content-organization/",
    "id": "k8s_00616_section_2_11516"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   c u s t o m   H u g o   s h o r t c o d e s L e a r n   a b o u t   t h e   S t y l e   g u i d e L e a r n   a b o u t   t h e   C o n t e n t   g u i d e",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/content-organization/",
    "id": "k8s_00616_section_2_11517"
  },
  {
    "question": "What is Concepts?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Concepts1: Overview1.1: Kubernetes Components1.2: Objects In Kubernetes1.2.1: Kubernetes Object Management1.2.2: Object Names and IDs1.2.3: Labels and Selectors1.2.4: Namespaces1.2.5: Annotations1.2.6: Field Selectors1.2.7: Finalizers1.2.8: Owners and Dependents1.2.9: Recommended Labels1.3: The Kubernetes API2: Cluster Architecture2.1: Nodes2.2: Communication between Nodes and the Control Plane2.3: Controllers2.4: Leases2.5: Cloud Controller Manager2.6: About cgroup v22.7: Kubernetes Self-Healing2.8: Container Runtime Interface (CRI)2.9: Garbage Collection2.10: Mixed Version Proxy3: Containers3.1: Images3.2: Container Environment3.3: Runtime Class3.4: Container Lifecycle Hooks4: Workloads4.1: Pods4.1.1: Pod Lifecycle4.1.2: Init Containers4.1.3: Sidecar Containers4.1.4: Ephemeral Containers4.1.5: Disruptions4.1.6: Pod Hostname4.1.7: Pod Quality of Service Classes4.1.8: User Namespaces4.1.9: Downward API4.2: Workload Management4.2.1: Deployments4.2.2: ReplicaSet4.2.3: StatefulSets4.2.4: DaemonSet4.2.5: Jobs4.2.6: Automatic Cleanup for Finished Jobs4.2.7: CronJob4.2.8: ReplicationController4.3: Autoscaling Workloads4.4: Managing Workloads5: Services, Load Balancing, and Networking5.1: Service5.2: Ingress5.3: Ingress Controllers5.4: Gateway API5.5: EndpointSlices5.6: Network Policies5.7: DNS for Services and Pods5.8: IPv4/IPv6 dual-stack5.9: Topology Aware Routing5.10: Networking on Windows5.11: Service ClusterIP allocation5.12: Service Internal Traffic Policy6: Storage6.1: Volumes6.2: Persistent Volumes6.3: Projected Volumes6.4: Ephemeral Volumes6.5: Storage Classes6.6: Volume Attributes Classes6.7: Dynamic Volume Provisioning6.8: Volume Snapshots6.9: Volume Snapshot Classes6.10: CSI Volume Cloning6.11: Storage Capacity6.12: Node-specific Volume Limits6.13: Volume Health Monitoring6.14: Windows Storage7: Configuration7.1: Configuration Best Practices7.2: ConfigMaps7.3: Secrets7.4: Liveness, Readiness, and Startup Probes7.5: Resource Management for Pods and Containers7.6: Organizing Cluster Access Using kubeconfig Files7.7: Resource Management for Windows nodes8: Security8.1: Cloud Native Security and Kubernetes8.2: Pod Security Standards8.3: Pod Security Admission8.4: Service Accounts8.5: Pod Security Policies8.6: Security For Linux Nodes8.7: Security For Windows Nodes8.8: Controlling Access to the Kubernetes API8.9: Role Based Access Control Good Practices8.10: Good practices for Kubernetes Secrets8.11: Multi-tenancy8.12: Hardening Guide - Authentication Mechanisms8.13: Hardening Guide - Scheduler Configuration8.14: Kubernetes API Server Bypass Risks8.15: Linux kernel security constraints for Pods and containers8.16: Security Checklist8.17: Application Security Checklist9: Policies9.1: Limit Ranges9.2: Resource Quotas9.3: Process ID Limits And Reservations9.4: Node Resource Managers10: Scheduling, Preemption and Eviction10.1: Kubernete",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_qa_11518"
  },
  {
    "question": "How does Concepts work?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Concepts1: Overview1.1: Kubernetes Components1.2: Objects In Kubernetes1.2.1: Kubernetes Object Management1.2.2: Object Names and IDs1.2.3: Labels and Selectors1.2.4: Namespaces1.2.5: Annotations1.2.6: Field Selectors1.2.7: Finalizers1.2.8: Owners and Dependents1.2.9: Recommended Labels1.3: The Kubernetes API2: Cluster Architecture2.1: Nodes2.2: Communication between Nodes and the Control Plane2.3: Controllers2.4: Leases2.5: Cloud Controller Manager2.6: About cgroup v22.7: Kubernetes Self-Healing2.8: Container Runtime Interface (CRI)2.9: Garbage Collection2.10: Mixed Version Proxy3: Containers3.1: Images3.2: Container Environment3.3: Runtime Class3.4: Container Lifecycle Hooks4: Workloads4.1: Pods4.1.1: Pod Lifecycle4.1.2: Init Containers4.1.3: Sidecar Containers4.1.4: Ephemeral Containers4.1.5: Disruptions4.1.6: Pod Hostname4.1.7: Pod Quality of Service Classes4.1.8: User Namespaces4.1.9: Downward API4.2: Workload Management4.2.1: Deployments4.2.2: ReplicaSet4.2.3: StatefulSets4.2.4: DaemonSet4.2.5: Jobs4.2.6: Automatic Cleanup for Finished Jobs4.2.7: CronJob4.2.8: ReplicationController4.3: Autoscaling Workloads4.4: Managing Workloads5: Services, Load Balancing, and Networking5.1: Service5.2: Ingress5.3: Ingress Controllers5.4: Gateway API5.5: EndpointSlices5.6: Network Policies5.7: DNS for Services and Pods5.8: IPv4/IPv6 dual-stack5.9: Topology Aware Routing5.10: Networking on Windows5.11: Service ClusterIP allocation5.12: Service Internal Traffic Policy6: Storage6.1: Volumes6.2: Persistent Volumes6.3: Projected Volumes6.4: Ephemeral Volumes6.5: Storage Classes6.6: Volume Attributes Classes6.7: Dynamic Volume Provisioning6.8: Volume Snapshots6.9: Volume Snapshot Classes6.10: CSI Volume Cloning6.11: Storage Capacity6.12: Node-specific Volume Limits6.13: Volume Health Monitoring6.14: Windows Storage7: Configuration7.1: Configuration Best Practices7.2: ConfigMaps7.3: Secrets7.4: Liveness, Readiness, and Startup Probes7.5: Resource Management for Pods and Containers7.6: Organizing Cluster Access Using kubeconfig Files7.7: Resource Management for Windows nodes8: Security8.1: Cloud Native Security and Kubernetes8.2: Pod Security Standards8.3: Pod Security Admission8.4: Service Accounts8.5: Pod Security Policies8.6: Security For Linux Nodes8.7: Security For Windows Nodes8.8: Controlling Access to the Kubernetes API8.9: Role Based Access Control Good Practices8.10: Good practices for Kubernetes Secrets8.11: Multi-tenancy8.12: Hardening Guide - Authentication Mechanisms8.13: Hardening Guide - Scheduler Configuration8.14: Kubernetes API Server Bypass Risks8.15: Linux kernel security constraints for Pods and containers8.16: Security Checklist8.17: Application Security Checklist9: Policies9.1: Limit Ranges9.2: Resource Quotas9.3: Process ID Limits And Reservations9.4: Node Resource Managers10: Scheduling, Preemption and Eviction10.1: Kubernete",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_qa_11519"
  },
  {
    "question": "When would you use Concepts?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Concepts1: Overview1.1: Kubernetes Components1.2: Objects In Kubernetes1.2.1: Kubernetes Object Management1.2.2: Object Names and IDs1.2.3: Labels and Selectors1.2.4: Namespaces1.2.5: Annotations1.2.6: Field Selectors1.2.7: Finalizers1.2.8: Owners and Dependents1.2.9: Recommended Labels1.3: The Kubernetes API2: Cluster Architecture2.1: Nodes2.2: Communication between Nodes and the Control Plane2.3: Controllers2.4: Leases2.5: Cloud Controller Manager2.6: About cgroup v22.7: Kubernetes Self-Healing2.8: Container Runtime Interface (CRI)2.9: Garbage Collection2.10: Mixed Version Proxy3: Containers3.1: Images3.2: Container Environment3.3: Runtime Class3.4: Container Lifecycle Hooks4: Workloads4.1: Pods4.1.1: Pod Lifecycle4.1.2: Init Containers4.1.3: Sidecar Containers4.1.4: Ephemeral Containers4.1.5: Disruptions4.1.6: Pod Hostname4.1.7: Pod Quality of Service Classes4.1.8: User Namespaces4.1.9: Downward API4.2: Workload Management4.2.1: Deployments4.2.2: ReplicaSet4.2.3: StatefulSets4.2.4: DaemonSet4.2.5: Jobs4.2.6: Automatic Cleanup for Finished Jobs4.2.7: CronJob4.2.8: ReplicationController4.3: Autoscaling Workloads4.4: Managing Workloads5: Services, Load Balancing, and Networking5.1: Service5.2: Ingress5.3: Ingress Controllers5.4: Gateway API5.5: EndpointSlices5.6: Network Policies5.7: DNS for Services and Pods5.8: IPv4/IPv6 dual-stack5.9: Topology Aware Routing5.10: Networking on Windows5.11: Service ClusterIP allocation5.12: Service Internal Traffic Policy6: Storage6.1: Volumes6.2: Persistent Volumes6.3: Projected Volumes6.4: Ephemeral Volumes6.5: Storage Classes6.6: Volume Attributes Classes6.7: Dynamic Volume Provisioning6.8: Volume Snapshots6.9: Volume Snapshot Classes6.10: CSI Volume Cloning6.11: Storage Capacity6.12: Node-specific Volume Limits6.13: Volume Health Monitoring6.14: Windows Storage7: Configuration7.1: Configuration Best Practices7.2: ConfigMaps7.3: Secrets7.4: Liveness, Readiness, and Startup Probes7.5: Resource Management for Pods and Containers7.6: Organizing Cluster Access Using kubeconfig Files7.7: Resource Management for Windows nodes8: Security8.1: Cloud Native Security and Kubernetes8.2: Pod Security Standards8.3: Pod Security Admission8.4: Service Accounts8.5: Pod Security Policies8.6: Security For Linux Nodes8.7: Security For Windows Nodes8.8: Controlling Access to the Kubernetes API8.9: Role Based Access Control Good Practices8.10: Good practices for Kubernetes Secrets8.11: Multi-tenancy8.12: Hardening Guide - Authentication Mechanisms8.13: Hardening Guide - Scheduler Configuration8.14: Kubernetes API Server Bypass Risks8.15: Linux kernel security constraints for Pods and containers8.16: Security Checklist8.17: Application Security Checklist9: Policies9.1: Limit Ranges9.2: Resource Quotas9.3: Process ID Limits And Reservations9.4: Node Resource Managers10: Scheduling, Preemption and Eviction10.1: Kubernete",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_qa_11520"
  },
  {
    "question": "What are the benefits of Concepts?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Concepts1: Overview1.1: Kubernetes Components1.2: Objects In Kubernetes1.2.1: Kubernetes Object Management1.2.2: Object Names and IDs1.2.3: Labels and Selectors1.2.4: Namespaces1.2.5: Annotations1.2.6: Field Selectors1.2.7: Finalizers1.2.8: Owners and Dependents1.2.9: Recommended Labels1.3: The Kubernetes API2: Cluster Architecture2.1: Nodes2.2: Communication between Nodes and the Control Plane2.3: Controllers2.4: Leases2.5: Cloud Controller Manager2.6: About cgroup v22.7: Kubernetes Self-Healing2.8: Container Runtime Interface (CRI)2.9: Garbage Collection2.10: Mixed Version Proxy3: Containers3.1: Images3.2: Container Environment3.3: Runtime Class3.4: Container Lifecycle Hooks4: Workloads4.1: Pods4.1.1: Pod Lifecycle4.1.2: Init Containers4.1.3: Sidecar Containers4.1.4: Ephemeral Containers4.1.5: Disruptions4.1.6: Pod Hostname4.1.7: Pod Quality of Service Classes4.1.8: User Namespaces4.1.9: Downward API4.2: Workload Management4.2.1: Deployments4.2.2: ReplicaSet4.2.3: StatefulSets4.2.4: DaemonSet4.2.5: Jobs4.2.6: Automatic Cleanup for Finished Jobs4.2.7: CronJob4.2.8: ReplicationController4.3: Autoscaling Workloads4.4: Managing Workloads5: Services, Load Balancing, and Networking5.1: Service5.2: Ingress5.3: Ingress Controllers5.4: Gateway API5.5: EndpointSlices5.6: Network Policies5.7: DNS for Services and Pods5.8: IPv4/IPv6 dual-stack5.9: Topology Aware Routing5.10: Networking on Windows5.11: Service ClusterIP allocation5.12: Service Internal Traffic Policy6: Storage6.1: Volumes6.2: Persistent Volumes6.3: Projected Volumes6.4: Ephemeral Volumes6.5: Storage Classes6.6: Volume Attributes Classes6.7: Dynamic Volume Provisioning6.8: Volume Snapshots6.9: Volume Snapshot Classes6.10: CSI Volume Cloning6.11: Storage Capacity6.12: Node-specific Volume Limits6.13: Volume Health Monitoring6.14: Windows Storage7: Configuration7.1: Configuration Best Practices7.2: ConfigMaps7.3: Secrets7.4: Liveness, Readiness, and Startup Probes7.5: Resource Management for Pods and Containers7.6: Organizing Cluster Access Using kubeconfig Files7.7: Resource Management for Windows nodes8: Security8.1: Cloud Native Security and Kubernetes8.2: Pod Security Standards8.3: Pod Security Admission8.4: Service Accounts8.5: Pod Security Policies8.6: Security For Linux Nodes8.7: Security For Windows Nodes8.8: Controlling Access to the Kubernetes API8.9: Role Based Access Control Good Practices8.10: Good practices for Kubernetes Secrets8.11: Multi-tenancy8.12: Hardening Guide - Authentication Mechanisms8.13: Hardening Guide - Scheduler Configuration8.14: Kubernetes API Server Bypass Risks8.15: Linux kernel security constraints for Pods and containers8.16: Security Checklist8.17: Application Security Checklist9: Policies9.1: Limit Ranges9.2: Resource Quotas9.3: Process ID Limits And Reservations9.4: Node Resource Managers10: Scheduling, Preemption and Eviction10.1: Kubernete",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_qa_11521"
  },
  {
    "question": "What is Concepts?",
    "answer": "1 :   O v e r v i e w 1 . 1 :   K u b e r n e t e s   C o m p o n e n t s 1 . 2 :   O b j e c t s   I n   K u b e r n e t e s 1 . 2 . 1 :   K u b e r n e t e s   O b j e c t   M a n a g e m e n t 1 . 2 . 2 :   O b j e c t   N a m e s   a n d   I D s 1 . 2 . 3 :   L a b e l s   a n d   S e l e c t o r s 1 . 2 . 4 :   N a m e s p a c e s 1 . 2 . 5 :   A n n o t a t i o n s 1 . 2 . 6 :   F i e l d   S e l e c t o r s 1 . 2 . 7 :   F i n a l i z e r s 1 . 2 . 8 :   O w n e r s   a n d   D e p e n d e n t s 1 . 2 . 9 :   R e c o m m e n d e d   L a b e l s 1 . 3 :   T h e   K u b e r n e t e s   A P I 2 :   C l u s t e r   A r c h i t e c t u r e 2 . 1 :   N o d e s 2 . 2 :   C o m m u n i c a t i o n   b e t w e e n   N o d e s   a n d   t h e   C o n t r o l   P l a n e 2 . 3 :   C o n t r o l l e r s 2 . 4 :   L e a s e s 2 . 5 :   C l o u d   C o n t r o l l e r   M a n a g e r 2 . 6 :   A b o u t   c g r o u p   v 2 2 . 7 :   K u b e r n e t e s   S e l f - H e a l i n g 2 . 8 :   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I ) 2 . 9 :   G a r b a g e   C o l l e c t i o n 2 . 1 0 :   M i x e d   V e r s i o n   P r o x y 3 :   C o n t a i n e r s 3 . 1 :   I m a g e s 3 . 2 :   C o n t a i n e r   E n v i r o n m e n t 3 . 3 :   R u n t i m e   C l a s s 3 . 4 :   C o n t a i n e r   L i f e c y c l e   H o o k s 4 :   W o r k l o a d s 4 . 1 :   P o d s 4 . 1 . 1 :   P o d   L i f e c y c l e 4 . 1 . 2 :   I n i t   C o n t a i n e r s 4 . 1 . 3 :   S i d e c a r   C o n t a i n e r s 4 . 1 . 4 :   E p h e m e r a l   C o n t a i n e r s 4 . 1 . 5 :   D i s r u p t i o n s 4 . 1 . 6 :   P o d   H o s t n a m e 4 . 1 . 7 :   P o d   Q u a l i t y   o f   S e r v i c e   C l a s s e s 4 . 1 . 8 :   U s e r   N a m e s p a c e s 4 . 1 . 9 :   D o w n w a r d   A P I 4 . 2 :   W o r k l o a d   M a n a g e m e n t 4 . 2 . 1 :   D e p l o y m e n t s 4 . 2 . 2 :   R e p l i c a S e t 4 . 2 . 3 :   S t a t e f u l S e t s 4 . 2 . 4 :   D a e m o n S e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11522"
  },
  {
    "question": "What is 1 - Overview?",
    "answer": "T h i s   p a g e   i s   a n   o v e r v i e w   o f   K u b e r n e t e s .   T h e   n a m e   K u b e r n e t e s   o r i g i n a t e s   f r o m   G r e e k ,   m e a n i n g   h e l m s m a n   o r   p i l o t .   K 8 s   a s   a n   a b b r e v i a t i o n   r e s u l t s   f r o m   c o u n t i n g   t h e   e i g h t   l e t t e r s   b e t w e e n   t h e   \" K \"   a n d   t h e   \" s \" .   G o o g l e   o p e n - s o u r c e d   t h e   K u b e r n e t e s   p r o j e c t   i n   2 0 1 4 .   K u b e r n e t e s   c o m b i n e s   o v e r   1 5   y e a r s   o f   G o o g l e ' s   e x p e r i e n c e   r u n n i n g   p r o d u c t i o n   w o r k l o a d s   a t   s c a l e   w i t h   b e s t - o f - b r e e d   i d e a s   a n d   p r a c t i c e s   f r o m   t h e   c o m m u n i t y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11523"
  },
  {
    "question": "What is Why you need Kubernetes and what it can do?",
    "answer": "C o n t a i n e r s   a r e   a   g o o d   w a y   t o   b u n d l e   a n d   r u n   y o u r   a p p l i c a t i o n s .   I n   a   p r o d u c t i o n   e n v i r o n m e n t ,   y o u   n e e d   t o   m a n a g e   t h e   c o n t a i n e r s   t h a t   r u n   t h e   a p p l i c a t i o n s   a n d   e n s u r e   t h a t   t h e r e   i s   n o   d o w n t i m e .   F o r   e x a m p l e ,   i f   a   c o n t a i n e r   g o e s   d o w n ,   a n o t h e r   c o n t a i n e r   n e e d s   t o   s t a r t .   W o u l d n ' t   i t   b e   e a s i e r   i f   t h i s   b e h a v i o r   w a s   h a n d l e d   b y   a   s y s t e m ?   T h a t ' s   h o w   K u b e r n e t e s   c o m e s   t o   t h e   r e s c u e !   K u b e r n e t e s   p r o v i d e s   y o u   w i t h   a   f r a m e w o r k   t o   r u n   d i s t r i b u t e d   s y s t e m s   r e s i l i e n t l y .   I t   t a k e s   c a r e   o f   s c a l i n g   a n d   f a i l o v e r   f o r   y o u r   a p p l i c a t i o n ,   p r o v i d e s   d e p l o y m e n t   p a t t e r n s ,   a n d   m o r e .   F o r   e x a m p l e :   K u b e r n e t e s   c a n   e a s i l y   m a n a g e   a   c a n a r y   d e p l o y m e n t   f o r   y o u r   s y s t e m .   K u b e r n e t e s   p r o v i d e s   y o u   w i t h :   S e r v i c e   d i s c o v e r y   a n d   l o a d   b a l a n c i n g   K u b e r n e t e s   c a n   e x p o s e   a   c o n t a i n e r   u s i n g   t h e   D N S   n a m e   o r   u s i n g   t h e i r   o w n   I P   a d d r e s s .   I f   t r a f f i c   t o   a   c o n t a i n e r   i s   h i g h ,   K u b e r n e t e s   i s   a b l e   t o   l o a d   b a l a n c e   a n d   d i s t r i b u t e   t h e   n e t w o r k   t r a f f i c   s o   t h a t   t h e   d e p l o y m e n t   i s   s t a b l e . S t o r a g e   o r c h e s t r a t i o n   K u b e r n e t e s   a l l o w s   y o u   t o   a u t o m a t i c a l l y   m o u n t   a   s t o r a g e   s y s t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11524"
  },
  {
    "question": "What is What Kubernetes is not?",
    "answer": "K u b e r n e t e s   i s   n o t   a   t r a d i t i o n a l ,   a l l - i n c l u s i v e   P a a S   ( P l a t f o r m   a s   a   S e r v i c e )   s y s t e m .   S i n c e   K u b e r n e t e s   o p e r a t e s   a t   t h e   c o n t a i n e r   l e v e l   r a t h e r   t h a n   a t   t h e   h a r d w a r e   l e v e l ,   i t   p r o v i d e s   s o m e   g e n e r a l l y   a p p l i c a b l e   f e a t u r e s   c o m m o n   t o   P a a S   o f f e r i n g s ,   s u c h   a s   d e p l o y m e n t ,   s c a l i n g ,   l o a d   b a l a n c i n g ,   a n d   l e t s   u s e r s   i n t e g r a t e   t h e i r   l o g g i n g ,   m o n i t o r i n g ,   a n d   a l e r t i n g   s o l u t i o n s .   H o w e v e r ,   K u b e r n e t e s   i s   n o t   m o n o l i t h i c ,   a n d   t h e s e   d e f a u l t   s o l u t i o n s   a r e   o p t i o n a l   a n d   p l u g g a b l e .   K u b e r n e t e s   p r o v i d e s   t h e   b u i l d i n g   b l o c k s   f o r   b u i l d i n g   d e v e l o p e r   p l a t f o r m s ,   b u t   p r e s e r v e s   u s e r   c h o i c e   a n d   f l e x i b i l i t y   w h e r e   i t   i s   i m p o r t a n t .   K u b e r n e t e s :   D o e s   n o t   l i m i t   t h e   t y p e s   o f   a p p l i c a t i o n s   s u p p o r t e d .   K u b e r n e t e s   a i m s   t o   s u p p o r t   a n   e x t r e m e l y   d i v e r s e   v a r i e t y   o f   w o r k l o a d s ,   i n c l u d i n g   s t a t e l e s s ,   s t a t e f u l ,   a n d   d a t a - p r o c e s s i n g   w o r k l o a d s .   I f   a n   a p p l i c a t i o n   c a n   r u n   i n   a   c o n t a i n e r ,   i t   s h o u l d   r u n   g r e a t   o n   K u b e r n e t e s . D o e s   n o t   d e p l o y   s o u r c e   c o d e   a n d   d o e s   n o t   b u i l d   y o u r   a p p l i c a t i o n .   C o n t i n u o u s   I n t e g r a t i o n ,   D e l i v e r y ,   a n d   D e p l o y m e n t   ( C I / C D )   w o r k f l o w s   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11525"
  },
  {
    "question": "What is Historical context for Kubernetes?",
    "answer": "L e t ' s   t a k e   a   l o o k   a t   w h y   K u b e r n e t e s   i s   s o   u s e f u l   b y   g o i n g   b a c k   i n   t i m e .   T r a d i t i o n a l   d e p l o y m e n t   e r a :   E a r l y   o n ,   o r g a n i z a t i o n s   r a n   a p p l i c a t i o n s   o n   p h y s i c a l   s e r v e r s .   T h e r e   w a s   n o   w a y   t o   d e f i n e   r e s o u r c e   b o u n d a r i e s   f o r   a p p l i c a t i o n s   i n   a   p h y s i c a l   s e r v e r ,   a n d   t h i s   c a u s e d   r e s o u r c e   a l l o c a t i o n   i s s u e s .   F o r   e x a m p l e ,   i f   m u l t i p l e   a p p l i c a t i o n s   r u n   o n   a   p h y s i c a l   s e r v e r ,   t h e r e   c a n   b e   i n s t a n c e s   w h e r e   o n e   a p p l i c a t i o n   w o u l d   t a k e   u p   m o s t   o f   t h e   r e s o u r c e s ,   a n d   a s   a   r e s u l t ,   t h e   o t h e r   a p p l i c a t i o n s   w o u l d   u n d e r p e r f o r m .   A   s o l u t i o n   f o r   t h i s   w o u l d   b e   t o   r u n   e a c h   a p p l i c a t i o n   o n   a   d i f f e r e n t   p h y s i c a l   s e r v e r .   B u t   t h i s   d i d   n o t   s c a l e   a s   r e s o u r c e s   w e r e   u n d e r u t i l i z e d ,   a n d   i t   w a s   e x p e n s i v e   f o r   o r g a n i z a t i o n s   t o   m a i n t a i n   m a n y   p h y s i c a l   s e r v e r s .   V i r t u a l i z e d   d e p l o y m e n t   e r a :   A s   a   s o l u t i o n ,   v i r t u a l i z a t i o n   w a s   i n t r o d u c e d .   I t   a l l o w s   y o u   t o   r u n   m u l t i p l e   V i r t u a l   M a c h i n e s   ( V M s )   o n   a   s i n g l e   p h y s i c a l   s e r v e r ' s   C P U .   V i r t u a l i z a t i o n   a l l o w s   a p p l i c a t i o n s   t o   b e   i s o l a t e d   b e t w e e n   V M s   a n d   p r o v i d e s   a   l e v e l   o f   s e c u r i t y   a s   t h e   i n f o r m a t i o n   o f   o n e   a p p l ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11526"
  },
  {
    "question": "What is What's next?",
    "answer": "T a k e   a   l o o k   a t   t h e   K u b e r n e t e s   C o m p o n e n t s T a k e   a   l o o k   a t   t h e   T h e   K u b e r n e t e s   A P I T a k e   a   l o o k   a t   t h e   C l u s t e r   A r c h i t e c t u r e R e a d y   t o   G e t   S t a r t e d ?",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11527"
  },
  {
    "question": "What is 1.1 - Kubernetes Components?",
    "answer": "T h i s   p a g e   p r o v i d e s   a   h i g h - l e v e l   o v e r v i e w   o f   t h e   e s s e n t i a l   c o m p o n e n t s   t h a t   m a k e   u p   a   K u b e r n e t e s   c l u s t e r .   T h e   c o m p o n e n t s   o f   a   K u b e r n e t e s   c l u s t e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11528"
  },
  {
    "question": "What is Core Components?",
    "answer": "A   K u b e r n e t e s   c l u s t e r   c o n s i s t s   o f   a   c o n t r o l   p l a n e   a n d   o n e   o r   m o r e   w o r k e r   n o d e s .   H e r e ' s   a   b r i e f   o v e r v i e w   o f   t h e   m a i n   c o m p o n e n t s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11529"
  },
  {
    "question": "What is Control Plane Components?",
    "answer": "M a n a g e   t h e   o v e r a l l   s t a t e   o f   t h e   c l u s t e r :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11530"
  },
  {
    "question": "What is Node Components?",
    "answer": "R u n   o n   e v e r y   n o d e ,   m a i n t a i n i n g   r u n n i n g   p o d s   a n d   p r o v i d i n g   t h e   K u b e r n e t e s   r u n t i m e   e n v i r o n m e n t :   Y o u r   c l u s t e r   m a y   r e q u i r e   a d d i t i o n a l   s o f t w a r e   o n   e a c h   n o d e ;   f o r   e x a m p l e ,   y o u   m i g h t   a l s o   r u n   s y s t e m d   o n   a   L i n u x   n o d e   t o   s u p e r v i s e   l o c a l   c o m p o n e n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11531"
  },
  {
    "question": "What is Addons?",
    "answer": "A d d o n s   e x t e n d   t h e   f u n c t i o n a l i t y   o f   K u b e r n e t e s .   A   f e w   i m p o r t a n t   e x a m p l e s   i n c l u d e :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11532"
  },
  {
    "question": "What is Flexibility in Architecture?",
    "answer": "K u b e r n e t e s   a l l o w s   f o r   f l e x i b i l i t y   i n   h o w   t h e s e   c o m p o n e n t s   a r e   d e p l o y e d   a n d   m a n a g e d .   T h e   a r c h i t e c t u r e   c a n   b e   a d a p t e d   t o   v a r i o u s   n e e d s ,   f r o m   s m a l l   d e v e l o p m e n t   e n v i r o n m e n t s   t o   l a r g e - s c a l e   p r o d u c t i o n   d e p l o y m e n t s .   F o r   m o r e   d e t a i l e d   i n f o r m a t i o n   a b o u t   e a c h   c o m p o n e n t   a n d   v a r i o u s   w a y s   t o   c o n f i g u r e   y o u r   c l u s t e r   a r c h i t e c t u r e ,   s e e   t h e   C l u s t e r   A r c h i t e c t u r e   p a g e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11533"
  },
  {
    "question": "What is 1.2 - Objects In Kubernetes?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   K u b e r n e t e s   o b j e c t s   a r e   r e p r e s e n t e d   i n   t h e   K u b e r n e t e s   A P I ,   a n d   h o w   y o u   c a n   e x p r e s s   t h e m   i n   . y a m l   f o r m a t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11534"
  },
  {
    "question": "What is Understanding Kubernetes objects?",
    "answer": "K u b e r n e t e s   o b j e c t s   a r e   p e r s i s t e n t   e n t i t i e s   i n   t h e   K u b e r n e t e s   s y s t e m .   K u b e r n e t e s   u s e s   t h e s e   e n t i t i e s   t o   r e p r e s e n t   t h e   s t a t e   o f   y o u r   c l u s t e r .   S p e c i f i c a l l y ,   t h e y   c a n   d e s c r i b e :   W h a t   c o n t a i n e r i z e d   a p p l i c a t i o n s   a r e   r u n n i n g   ( a n d   o n   w h i c h   n o d e s ) T h e   r e s o u r c e s   a v a i l a b l e   t o   t h o s e   a p p l i c a t i o n s T h e   p o l i c i e s   a r o u n d   h o w   t h o s e   a p p l i c a t i o n s   b e h a v e ,   s u c h   a s   r e s t a r t   p o l i c i e s ,   u p g r a d e s ,   a n d   f a u l t - t o l e r a n c e   A   K u b e r n e t e s   o b j e c t   i s   a   \" r e c o r d   o f   i n t e n t \" - - o n c e   y o u   c r e a t e   t h e   o b j e c t ,   t h e   K u b e r n e t e s   s y s t e m   w i l l   c o n s t a n t l y   w o r k   t o   e n s u r e   t h a t   t h e   o b j e c t   e x i s t s .   B y   c r e a t i n g   a n   o b j e c t ,   y o u ' r e   e f f e c t i v e l y   t e l l i n g   t h e   K u b e r n e t e s   s y s t e m   w h a t   y o u   w a n t   y o u r   c l u s t e r ' s   w o r k l o a d   t o   l o o k   l i k e ;   t h i s   i s   y o u r   c l u s t e r ' s   d e s i r e d   s t a t e .   T o   w o r k   w i t h   K u b e r n e t e s   o b j e c t s — w h e t h e r   t o   c r e a t e ,   m o d i f y ,   o r   d e l e t e   t h e m — y o u ' l l   n e e d   t o   u s e   t h e   K u b e r n e t e s   A P I .   W h e n   y o u   u s e   t h e   k u b e c t l   c o m m a n d - l i n e   i n t e r f a c e ,   f o r   e x a m p l e ,   t h e   C L I   m a k e s   t h e   n e c e s s a r y   K u b e r n e t e s   A P I   c a l l s   f o r   y o u .   Y o u   c a n   a l s o   u s e   t h e   K u b e r n e t e s   A P I   d i r e c t l y   i n   y o u r   o w n   p r o g r a m s   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11535"
  },
  {
    "question": "What is Object spec and status?",
    "answer": "A l m o s t   e v e r y   K u b e r n e t e s   o b j e c t   i n c l u d e s   t w o   n e s t e d   o b j e c t   f i e l d s   t h a t   g o v e r n   t h e   o b j e c t ' s   c o n f i g u r a t i o n :   t h e   o b j e c t   s p e c   a n d   t h e   o b j e c t   s t a t u s .   F o r   o b j e c t s   t h a t   h a v e   a   s p e c ,   y o u   h a v e   t o   s e t   t h i s   w h e n   y o u   c r e a t e   t h e   o b j e c t ,   p r o v i d i n g   a   d e s c r i p t i o n   o f   t h e   c h a r a c t e r i s t i c s   y o u   w a n t   t h e   r e s o u r c e   t o   h a v e :   i t s   d e s i r e d   s t a t e .   T h e   s t a t u s   d e s c r i b e s   t h e   c u r r e n t   s t a t e   o f   t h e   o b j e c t ,   s u p p l i e d   a n d   u p d a t e d   b y   t h e   K u b e r n e t e s   s y s t e m   a n d   i t s   c o m p o n e n t s .   T h e   K u b e r n e t e s   c o n t r o l   p l a n e   c o n t i n u a l l y   a n d   a c t i v e l y   m a n a g e s   e v e r y   o b j e c t ' s   a c t u a l   s t a t e   t o   m a t c h   t h e   d e s i r e d   s t a t e   y o u   s u p p l i e d .   F o r   e x a m p l e :   i n   K u b e r n e t e s ,   a   D e p l o y m e n t   i s   a n   o b j e c t   t h a t   c a n   r e p r e s e n t   a n   a p p l i c a t i o n   r u n n i n g   o n   y o u r   c l u s t e r .   W h e n   y o u   c r e a t e   t h e   D e p l o y m e n t ,   y o u   m i g h t   s e t   t h e   D e p l o y m e n t   s p e c   t o   s p e c i f y   t h a t   y o u   w a n t   t h r e e   r e p l i c a s   o f   t h e   a p p l i c a t i o n   t o   b e   r u n n i n g .   T h e   K u b e r n e t e s   s y s t e m   r e a d s   t h e   D e p l o y m e n t   s p e c   a n d   s t a r t s   t h r e e   i n s t a n c e s   o f   y o u r   d e s i r e d   a p p l i c a t i o n - - u p d a t i n g   t h e   s t a t u s   t o   m a t c h   y o u r   s p e c .   I f   a n y   o f   t h o s e   i n s t a n c e s   s h o u l d ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11536"
  },
  {
    "question": "What is Describing a Kubernetes object?",
    "answer": "W h e n   y o u   c r e a t e   a n   o b j e c t   i n   K u b e r n e t e s ,   y o u   m u s t   p r o v i d e   t h e   o b j e c t   s p e c   t h a t   d e s c r i b e s   i t s   d e s i r e d   s t a t e ,   a s   w e l l   a s   s o m e   b a s i c   i n f o r m a t i o n   a b o u t   t h e   o b j e c t   ( s u c h   a s   a   n a m e ) .   W h e n   y o u   u s e   t h e   K u b e r n e t e s   A P I   t o   c r e a t e   t h e   o b j e c t   ( e i t h e r   d i r e c t l y   o r   v i a   k u b e c t l ) ,   t h a t   A P I   r e q u e s t   m u s t   i n c l u d e   t h a t   i n f o r m a t i o n   a s   J S O N   i n   t h e   r e q u e s t   b o d y .   M o s t   o f t e n ,   y o u   p r o v i d e   t h e   i n f o r m a t i o n   t o   k u b e c t l   i n   a   f i l e   k n o w n   a s   a   m a n i f e s t .   B y   c o n v e n t i o n ,   m a n i f e s t s   a r e   Y A M L   ( y o u   c o u l d   a l s o   u s e   J S O N   f o r m a t ) .   T o o l s   s u c h   a s   k u b e c t l   c o n v e r t   t h e   i n f o r m a t i o n   f r o m   a   m a n i f e s t   i n t o   J S O N   o r   a n o t h e r   s u p p o r t e d   s e r i a l i z a t i o n   f o r m a t   w h e n   m a k i n g   t h e   A P I   r e q u e s t   o v e r   H T T P .   H e r e ' s   a n   e x a m p l e   m a n i f e s t   t h a t   s h o w s   t h e   r e q u i r e d   f i e l d s   a n d   o b j e c t   s p e c   f o r   a   K u b e r n e t e s   D e p l o y m e n t :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   r e p l i c a s :   2   #   t e l l s   d e p l o y m e n t   t o   r u n   2   p o d s   m a t c h i n g   t h e   t e m p l a t e   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e : ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11537"
  },
  {
    "question": "What is Required fields?",
    "answer": "I n   t h e   m a n i f e s t   ( Y A M L   o r   J S O N   f i l e )   f o r   t h e   K u b e r n e t e s   o b j e c t   y o u   w a n t   t o   c r e a t e ,   y o u ' l l   n e e d   t o   s e t   v a l u e s   f o r   t h e   f o l l o w i n g   f i e l d s :   a p i V e r s i o n   -   W h i c h   v e r s i o n   o f   t h e   K u b e r n e t e s   A P I   y o u ' r e   u s i n g   t o   c r e a t e   t h i s   o b j e c t k i n d   -   W h a t   k i n d   o f   o b j e c t   y o u   w a n t   t o   c r e a t e m e t a d a t a   -   D a t a   t h a t   h e l p s   u n i q u e l y   i d e n t i f y   t h e   o b j e c t ,   i n c l u d i n g   a   n a m e   s t r i n g ,   U I D ,   a n d   o p t i o n a l   n a m e s p a c e s p e c   -   W h a t   s t a t e   y o u   d e s i r e   f o r   t h e   o b j e c t   T h e   p r e c i s e   f o r m a t   o f   t h e   o b j e c t   s p e c   i s   d i f f e r e n t   f o r   e v e r y   K u b e r n e t e s   o b j e c t ,   a n d   c o n t a i n s   n e s t e d   f i e l d s   s p e c i f i c   t o   t h a t   o b j e c t .   T h e   K u b e r n e t e s   A P I   R e f e r e n c e   c a n   h e l p   y o u   f i n d   t h e   s p e c   f o r m a t   f o r   a l l   o f   t h e   o b j e c t s   y o u   c a n   c r e a t e   u s i n g   K u b e r n e t e s .   F o r   e x a m p l e ,   s e e   t h e   s p e c   f i e l d   f o r   t h e   P o d   A P I   r e f e r e n c e .   F o r   e a c h   P o d ,   t h e   . s p e c   f i e l d   s p e c i f i e s   t h e   p o d   a n d   i t s   d e s i r e d   s t a t e   ( s u c h   a s   t h e   c o n t a i n e r   i m a g e   n a m e   f o r   e a c h   c o n t a i n e r   w i t h i n   t h a t   p o d ) .   A n o t h e r   e x a m p l e   o f   a n   o b j e c t   s p e c i f i c a t i o n   i s   t h e   s p e c   f i e l d   f o r   t h e   S t a t e f u l S e t   A P I .   F o r   S t a t e f u l S e t ,   t h e   . s p e c   f i e l d   s p e c i f i e s   t h e   S ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11538"
  },
  {
    "question": "What is Server side field validation?",
    "answer": "S t a r t i n g   w i t h   K u b e r n e t e s   v 1 . 2 5 ,   t h e   A P I   s e r v e r   o f f e r s   s e r v e r   s i d e   f i e l d   v a l i d a t i o n   t h a t   d e t e c t s   u n r e c o g n i z e d   o r   d u p l i c a t e   f i e l d s   i n   a n   o b j e c t .   I t   p r o v i d e s   a l l   t h e   f u n c t i o n a l i t y   o f   k u b e c t l   - - v a l i d a t e   o n   t h e   s e r v e r   s i d e .   T h e   k u b e c t l   t o o l   u s e s   t h e   - - v a l i d a t e   f l a g   t o   s e t   t h e   l e v e l   o f   f i e l d   v a l i d a t i o n .   I t   a c c e p t s   t h e   v a l u e s   i g n o r e ,   w a r n ,   a n d   s t r i c t   w h i l e   a l s o   a c c e p t i n g   t h e   v a l u e s   t r u e   ( e q u i v a l e n t   t o   s t r i c t )   a n d   f a l s e   ( e q u i v a l e n t   t o   i g n o r e ) .   T h e   d e f a u l t   v a l i d a t i o n   s e t t i n g   f o r   k u b e c t l   i s   - - v a l i d a t e = t r u e .   W h e n   k u b e c t l   c a n n o t   c o n n e c t   t o   a n   A P I   s e r v e r   t h a t   s u p p o r t s   f i e l d   v a l i d a t i o n   i t   w i l l   f a l l   b a c k   t o   u s i n g   c l i e n t - s i d e   v a l i d a t i o n .   K u b e r n e t e s   1 . 2 7   a n d   l a t e r   v e r s i o n s   a l w a y s   o f f e r   f i e l d   v a l i d a t i o n ;   o l d e r   K u b e r n e t e s   r e l e a s e s   m i g h t   n o t .   I f   y o u r   c l u s t e r   i s   o l d e r   t h a n   v 1 . 2 7 ,   c h e c k   t h e   d o c u m e n t a t i o n   f o r   y o u r   v e r s i o n   o f   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11539"
  },
  {
    "question": "What is What's next?",
    "answer": "I f   y o u ' r e   n e w   t o   K u b e r n e t e s ,   r e a d   m o r e   a b o u t   t h e   f o l l o w i n g :   P o d s   w h i c h   a r e   t h e   m o s t   i m p o r t a n t   b a s i c   K u b e r n e t e s   o b j e c t s . D e p l o y m e n t   o b j e c t s . C o n t r o l l e r s   i n   K u b e r n e t e s . k u b e c t l   a n d   k u b e c t l   c o m m a n d s .   K u b e r n e t e s   O b j e c t   M a n a g e m e n t   e x p l a i n s   h o w   t o   u s e   k u b e c t l   t o   m a n a g e   o b j e c t s .   Y o u   m i g h t   n e e d   t o   i n s t a l l   k u b e c t l   i f   y o u   d o n ' t   a l r e a d y   h a v e   i t   a v a i l a b l e .   T o   l e a r n   a b o u t   t h e   K u b e r n e t e s   A P I   i n   g e n e r a l ,   v i s i t :   K u b e r n e t e s   A P I   o v e r v i e w   T o   l e a r n   a b o u t   o b j e c t s   i n   K u b e r n e t e s   i n   m o r e   d e p t h ,   r e a d   o t h e r   p a g e s   i n   t h i s   s e c t i o n :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11540"
  },
  {
    "question": "What is 1.2.1 - Kubernetes Object Management?",
    "answer": "T h e   k u b e c t l   c o m m a n d - l i n e   t o o l   s u p p o r t s   s e v e r a l   d i f f e r e n t   w a y s   t o   c r e a t e   a n d   m a n a g e   K u b e r n e t e s   o b j e c t s .   T h i s   d o c u m e n t   p r o v i d e s   a n   o v e r v i e w   o f   t h e   d i f f e r e n t   a p p r o a c h e s .   R e a d   t h e   K u b e c t l   b o o k   f o r   d e t a i l s   o f   m a n a g i n g   o b j e c t s   b y   K u b e c t l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11541"
  },
  {
    "question": "What is Imperative commands?",
    "answer": "W h e n   u s i n g   i m p e r a t i v e   c o m m a n d s ,   a   u s e r   o p e r a t e s   d i r e c t l y   o n   l i v e   o b j e c t s   i n   a   c l u s t e r .   T h e   u s e r   p r o v i d e s   o p e r a t i o n s   t o   t h e   k u b e c t l   c o m m a n d   a s   a r g u m e n t s   o r   f l a g s .   T h i s   i s   t h e   r e c o m m e n d e d   w a y   t o   g e t   s t a r t e d   o r   t o   r u n   a   o n e - o f f   t a s k   i n   a   c l u s t e r .   B e c a u s e   t h i s   t e c h n i q u e   o p e r a t e s   d i r e c t l y   o n   l i v e   o b j e c t s ,   i t   p r o v i d e s   n o   h i s t o r y   o f   p r e v i o u s   c o n f i g u r a t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11542"
  },
  {
    "question": "What is Examples?",
    "answer": "R u n   a n   i n s t a n c e   o f   t h e   n g i n x   c o n t a i n e r   b y   c r e a t i n g   a   D e p l o y m e n t   o b j e c t :   k u b e c t l   c r e a t e   d e p l o y m e n t   n g i n x   - - i m a g e   n g i n x",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11543"
  },
  {
    "question": "What is Trade-offs?",
    "answer": "A d v a n t a g e s   c o m p a r e d   t o   o b j e c t   c o n f i g u r a t i o n :   C o m m a n d s   a r e   e x p r e s s e d   a s   a   s i n g l e   a c t i o n   w o r d . C o m m a n d s   r e q u i r e   o n l y   a   s i n g l e   s t e p   t o   m a k e   c h a n g e s   t o   t h e   c l u s t e r .   D i s a d v a n t a g e s   c o m p a r e d   t o   o b j e c t   c o n f i g u r a t i o n :   C o m m a n d s   d o   n o t   i n t e g r a t e   w i t h   c h a n g e   r e v i e w   p r o c e s s e s . C o m m a n d s   d o   n o t   p r o v i d e   a n   a u d i t   t r a i l   a s s o c i a t e d   w i t h   c h a n g e s . C o m m a n d s   d o   n o t   p r o v i d e   a   s o u r c e   o f   r e c o r d s   e x c e p t   f o r   w h a t   i s   l i v e . C o m m a n d s   d o   n o t   p r o v i d e   a   t e m p l a t e   f o r   c r e a t i n g   n e w   o b j e c t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11544"
  },
  {
    "question": "What is Imperative object configuration?",
    "answer": "I n   i m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n ,   t h e   k u b e c t l   c o m m a n d   s p e c i f i e s   t h e   o p e r a t i o n   ( c r e a t e ,   r e p l a c e ,   e t c . ) ,   o p t i o n a l   f l a g s   a n d   a t   l e a s t   o n e   f i l e   n a m e .   T h e   f i l e   s p e c i f i e d   m u s t   c o n t a i n   a   f u l l   d e f i n i t i o n   o f   t h e   o b j e c t   i n   Y A M L   o r   J S O N   f o r m a t .   S e e   t h e   A P I   r e f e r e n c e   f o r   m o r e   d e t a i l s   o n   o b j e c t   d e f i n i t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11545"
  },
  {
    "question": "What is Examples?",
    "answer": "C r e a t e   t h e   o b j e c t s   d e f i n e d   i n   a   c o n f i g u r a t i o n   f i l e :   k u b e c t l   c r e a t e   - f   n g i n x . y a m l   D e l e t e   t h e   o b j e c t s   d e f i n e d   i n   t w o   c o n f i g u r a t i o n   f i l e s :   k u b e c t l   d e l e t e   - f   n g i n x . y a m l   - f   r e d i s . y a m l   U p d a t e   t h e   o b j e c t s   d e f i n e d   i n   a   c o n f i g u r a t i o n   f i l e   b y   o v e r w r i t i n g   t h e   l i v e   c o n f i g u r a t i o n :   k u b e c t l   r e p l a c e   - f   n g i n x . y a m l",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11546"
  },
  {
    "question": "What is Trade-offs?",
    "answer": "A d v a n t a g e s   c o m p a r e d   t o   i m p e r a t i v e   c o m m a n d s :   O b j e c t   c o n f i g u r a t i o n   c a n   b e   s t o r e d   i n   a   s o u r c e   c o n t r o l   s y s t e m   s u c h   a s   G i t . O b j e c t   c o n f i g u r a t i o n   c a n   i n t e g r a t e   w i t h   p r o c e s s e s   s u c h   a s   r e v i e w i n g   c h a n g e s   b e f o r e   p u s h   a n d   a u d i t   t r a i l s . O b j e c t   c o n f i g u r a t i o n   p r o v i d e s   a   t e m p l a t e   f o r   c r e a t i n g   n e w   o b j e c t s .   D i s a d v a n t a g e s   c o m p a r e d   t o   i m p e r a t i v e   c o m m a n d s :   O b j e c t   c o n f i g u r a t i o n   r e q u i r e s   b a s i c   u n d e r s t a n d i n g   o f   t h e   o b j e c t   s c h e m a . O b j e c t   c o n f i g u r a t i o n   r e q u i r e s   t h e   a d d i t i o n a l   s t e p   o f   w r i t i n g   a   Y A M L   f i l e .   A d v a n t a g e s   c o m p a r e d   t o   d e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n :   I m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n   b e h a v i o r   i s   s i m p l e r   a n d   e a s i e r   t o   u n d e r s t a n d . A s   o f   K u b e r n e t e s   v e r s i o n   1 . 5 ,   i m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n   i s   m o r e   m a t u r e .   D i s a d v a n t a g e s   c o m p a r e d   t o   d e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n :   I m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n   w o r k s   b e s t   o n   f i l e s ,   n o t   d i r e c t o r i e s . U p d a t e s   t o   l i v e   o b j e c t s   m u s t   b e   r e f l e c t e d   i n   c o n f i g u r a t i o n   f i l e s ,   o r   t h e y   w i l l   b e   l o s t   d u r i n g   t h e   n e x t   r e p l a c e m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11547"
  },
  {
    "question": "What is Declarative object configuration?",
    "answer": "W h e n   u s i n g   d e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n ,   a   u s e r   o p e r a t e s   o n   o b j e c t   c o n f i g u r a t i o n   f i l e s   s t o r e d   l o c a l l y ,   h o w e v e r   t h e   u s e r   d o e s   n o t   d e f i n e   t h e   o p e r a t i o n s   t o   b e   t a k e n   o n   t h e   f i l e s .   C r e a t e ,   u p d a t e ,   a n d   d e l e t e   o p e r a t i o n s   a r e   a u t o m a t i c a l l y   d e t e c t e d   p e r - o b j e c t   b y   k u b e c t l .   T h i s   e n a b l e s   w o r k i n g   o n   d i r e c t o r i e s ,   w h e r e   d i f f e r e n t   o p e r a t i o n s   m i g h t   b e   n e e d e d   f o r   d i f f e r e n t   o b j e c t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11548"
  },
  {
    "question": "What is Examples?",
    "answer": "P r o c e s s   a l l   o b j e c t   c o n f i g u r a t i o n   f i l e s   i n   t h e   c o n f i g s   d i r e c t o r y ,   a n d   c r e a t e   o r   p a t c h   t h e   l i v e   o b j e c t s .   Y o u   c a n   f i r s t   d i f f   t o   s e e   w h a t   c h a n g e s   a r e   g o i n g   t o   b e   m a d e ,   a n d   t h e n   a p p l y :   k u b e c t l   d i f f   - f   c o n f i g s /   k u b e c t l   a p p l y   - f   c o n f i g s /   R e c u r s i v e l y   p r o c e s s   d i r e c t o r i e s :   k u b e c t l   d i f f   - R   - f   c o n f i g s /   k u b e c t l   a p p l y   - R   - f   c o n f i g s /",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11549"
  },
  {
    "question": "What is Trade-offs?",
    "answer": "A d v a n t a g e s   c o m p a r e d   t o   i m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n :   C h a n g e s   m a d e   d i r e c t l y   t o   l i v e   o b j e c t s   a r e   r e t a i n e d ,   e v e n   i f   t h e y   a r e   n o t   m e r g e d   b a c k   i n t o   t h e   c o n f i g u r a t i o n   f i l e s . D e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n   h a s   b e t t e r   s u p p o r t   f o r   o p e r a t i n g   o n   d i r e c t o r i e s   a n d   a u t o m a t i c a l l y   d e t e c t i n g   o p e r a t i o n   t y p e s   ( c r e a t e ,   p a t c h ,   d e l e t e )   p e r - o b j e c t .   D i s a d v a n t a g e s   c o m p a r e d   t o   i m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n :   D e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n   i s   h a r d e r   t o   d e b u g   a n d   u n d e r s t a n d   r e s u l t s   w h e n   t h e y   a r e   u n e x p e c t e d . P a r t i a l   u p d a t e s   u s i n g   d i f f s   c r e a t e   c o m p l e x   m e r g e   a n d   p a t c h   o p e r a t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11550"
  },
  {
    "question": "What is What's next?",
    "answer": "M a n a g i n g   K u b e r n e t e s   O b j e c t s   U s i n g   I m p e r a t i v e   C o m m a n d s I m p e r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s D e c l a r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s D e c l a r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   K u s t o m i z e K u b e c t l   C o m m a n d   R e f e r e n c e K u b e c t l   B o o k K u b e r n e t e s   A P I   R e f e r e n c e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11551"
  },
  {
    "question": "What is 1.2.2 - Object Names and IDs?",
    "answer": "E a c h   o b j e c t   i n   y o u r   c l u s t e r   h a s   a   N a m e   t h a t   i s   u n i q u e   f o r   t h a t   t y p e   o f   r e s o u r c e .   E v e r y   K u b e r n e t e s   o b j e c t   a l s o   h a s   a   U I D   t h a t   i s   u n i q u e   a c r o s s   y o u r   w h o l e   c l u s t e r .   F o r   e x a m p l e ,   y o u   c a n   o n l y   h a v e   o n e   P o d   n a m e d   m y a p p - 1 2 3 4   w i t h i n   t h e   s a m e   n a m e s p a c e ,   b u t   y o u   c a n   h a v e   o n e   P o d   a n d   o n e   D e p l o y m e n t   t h a t   a r e   e a c h   n a m e d   m y a p p - 1 2 3 4 .   F o r   n o n - u n i q u e   u s e r - p r o v i d e d   a t t r i b u t e s ,   K u b e r n e t e s   p r o v i d e s   l a b e l s   a n d   a n n o t a t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11552"
  },
  {
    "question": "What is Names?",
    "answer": "A   c l i e n t - p r o v i d e d   s t r i n g   t h a t   r e f e r s   t o   a n   o b j e c t   i n   a   r e s o u r c e   U R L ,   s u c h   a s   / a p i / v 1 / p o d s / s o m e - n a m e .   O n l y   o n e   o b j e c t   o f   a   g i v e n   k i n d   c a n   h a v e   a   g i v e n   n a m e   a t   a   t i m e .   H o w e v e r ,   i f   y o u   d e l e t e   t h e   o b j e c t ,   y o u   c a n   m a k e   a   n e w   o b j e c t   w i t h   t h e   s a m e   n a m e .   N a m e s   m u s t   b e   u n i q u e   a c r o s s   a l l   A P I   v e r s i o n s   o f   t h e   s a m e   r e s o u r c e .   A P I   r e s o u r c e s   a r e   d i s t i n g u i s h e d   b y   t h e i r   A P I   g r o u p ,   r e s o u r c e   t y p e ,   n a m e s p a c e   ( f o r   n a m e s p a c e d   r e s o u r c e s ) ,   a n d   n a m e .   I n   o t h e r   w o r d s ,   A P I   v e r s i o n   i s   i r r e l e v a n t   i n   t h i s   c o n t e x t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11553"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   s e r v e r   m a y   g e n e r a t e   a   n a m e   w h e n   g e n e r a t e N a m e   i s   p r o v i d e d   i n s t e a d   o f   n a m e   i n   a   r e s o u r c e   c r e a t e   r e q u e s t .   W h e n   g e n e r a t e N a m e   i s   u s e d ,   t h e   p r o v i d e d   v a l u e   i s   u s e d   a s   a   n a m e   p r e f i x ,   w h i c h   s e r v e r   a p p e n d s   a   g e n e r a t e d   s u f f i x   t o .   E v e n   t h o u g h   t h e   n a m e   i s   g e n e r a t e d ,   i t   m a y   c o n f l i c t   w i t h   e x i s t i n g   n a m e s   r e s u l t i n g   i n   a   H T T P   4 0 9   r e s p o n s e .   T h i s   b e c a m e   f a r   l e s s   l i k e l y   t o   h a p p e n   i n   K u b e r n e t e s   v 1 . 3 1   a n d   l a t e r ,   s i n c e   t h e   s e r v e r   w i l l   m a k e   u p   t o   8   a t t e m p t   t o   g e n e r a t e   a   u n i q u e   n a m e   b e f o r e   r e t u r n i n g   a   H T T P   4 0 9   r e s p o n s e .   B e l o w   a r e   f o u r   t y p e s   o f   c o m m o n l y   u s e d   n a m e   c o n s t r a i n t s   f o r   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11554"
  },
  {
    "question": "What is DNS Subdomain Names?",
    "answer": "M o s t   r e s o u r c e   t y p e s   r e q u i r e   a   n a m e   t h a t   c a n   b e   u s e d   a s   a   D N S   s u b d o m a i n   n a m e   a s   d e f i n e d   i n   R F C   1 1 2 3 .   T h i s   m e a n s   t h e   n a m e   m u s t :   c o n t a i n   n o   m o r e   t h a n   2 5 3   c h a r a c t e r s c o n t a i n   o n l y   l o w e r c a s e   a l p h a n u m e r i c   c h a r a c t e r s ,   ' - '   o r   ' . ' s t a r t   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r e n d   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11555"
  },
  {
    "question": "What is RFC 1123 Label Names?",
    "answer": "S o m e   r e s o u r c e   t y p e s   r e q u i r e   t h e i r   n a m e s   t o   f o l l o w   t h e   D N S   l a b e l   s t a n d a r d   a s   d e f i n e d   i n   R F C   1 1 2 3 .   T h i s   m e a n s   t h e   n a m e   m u s t :   c o n t a i n   a t   m o s t   6 3   c h a r a c t e r s c o n t a i n   o n l y   l o w e r c a s e   a l p h a n u m e r i c   c h a r a c t e r s   o r   ' - ' s t a r t   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r e n d   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11556"
  },
  {
    "question": "What is RFC 1035 Label Names?",
    "answer": "S o m e   r e s o u r c e   t y p e s   r e q u i r e   t h e i r   n a m e s   t o   f o l l o w   t h e   D N S   l a b e l   s t a n d a r d   a s   d e f i n e d   i n   R F C   1 0 3 5 .   T h i s   m e a n s   t h e   n a m e   m u s t :   c o n t a i n   a t   m o s t   6 3   c h a r a c t e r s c o n t a i n   o n l y   l o w e r c a s e   a l p h a n u m e r i c   c h a r a c t e r s   o r   ' - ' s t a r t   w i t h   a n   a l p h a b e t i c   c h a r a c t e r e n d   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11557"
  },
  {
    "question": "What is Path Segment Names?",
    "answer": "S o m e   r e s o u r c e   t y p e s   r e q u i r e   t h e i r   n a m e s   t o   b e   a b l e   t o   b e   s a f e l y   e n c o d e d   a s   a   p a t h   s e g m e n t .   I n   o t h e r   w o r d s ,   t h e   n a m e   m a y   n o t   b e   \" . \"   o r   \" . . \"   a n d   t h e   n a m e   m a y   n o t   c o n t a i n   \" / \"   o r   \" % \" .   H e r e ' s   a n   e x a m p l e   m a n i f e s t   f o r   a   P o d   n a m e d   n g i n x - d e m o .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11558"
  },
  {
    "question": "What is UIDs?",
    "answer": "A   K u b e r n e t e s   s y s t e m s - g e n e r a t e d   s t r i n g   t o   u n i q u e l y   i d e n t i f y   o b j e c t s .   E v e r y   o b j e c t   c r e a t e d   o v e r   t h e   w h o l e   l i f e t i m e   o f   a   K u b e r n e t e s   c l u s t e r   h a s   a   d i s t i n c t   U I D .   I t   i s   i n t e n d e d   t o   d i s t i n g u i s h   b e t w e e n   h i s t o r i c a l   o c c u r r e n c e s   o f   s i m i l a r   e n t i t i e s .   K u b e r n e t e s   U I D s   a r e   u n i v e r s a l l y   u n i q u e   i d e n t i f i e r s   ( a l s o   k n o w n   a s   U U I D s ) .   U U I D s   a r e   s t a n d a r d i z e d   a s   I S O / I E C   9 8 3 4 - 8   a n d   a s   I T U - T   X . 6 6 7 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11559"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   l a b e l s   a n d   a n n o t a t i o n s   i n   K u b e r n e t e s . S e e   t h e   I d e n t i f i e r s   a n d   N a m e s   i n   K u b e r n e t e s   d e s i g n   d o c u m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11560"
  },
  {
    "question": "What is 1.2.3 - Labels and Selectors?",
    "answer": "L a b e l s   a r e   k e y / v a l u e   p a i r s   t h a t   a r e   a t t a c h e d   t o   o b j e c t s   s u c h   a s   P o d s .   L a b e l s   a r e   i n t e n d e d   t o   b e   u s e d   t o   s p e c i f y   i d e n t i f y i n g   a t t r i b u t e s   o f   o b j e c t s   t h a t   a r e   m e a n i n g f u l   a n d   r e l e v a n t   t o   u s e r s ,   b u t   d o   n o t   d i r e c t l y   i m p l y   s e m a n t i c s   t o   t h e   c o r e   s y s t e m .   L a b e l s   c a n   b e   u s e d   t o   o r g a n i z e   a n d   t o   s e l e c t   s u b s e t s   o f   o b j e c t s .   L a b e l s   c a n   b e   a t t a c h e d   t o   o b j e c t s   a t   c r e a t i o n   t i m e   a n d   s u b s e q u e n t l y   a d d e d   a n d   m o d i f i e d   a t   a n y   t i m e .   E a c h   o b j e c t   c a n   h a v e   a   s e t   o f   k e y / v a l u e   l a b e l s   d e f i n e d .   E a c h   K e y   m u s t   b e   u n i q u e   f o r   a   g i v e n   o b j e c t .   \" m e t a d a t a \" :   {   \" l a b e l s \" :   {   \" k e y 1 \"   :   \" v a l u e 1 \" ,   \" k e y 2 \"   :   \" v a l u e 2 \"   }   }   L a b e l s   a l l o w   f o r   e f f i c i e n t   q u e r i e s   a n d   w a t c h e s   a n d   a r e   i d e a l   f o r   u s e   i n   U I s   a n d   C L I s .   N o n - i d e n t i f y i n g   i n f o r m a t i o n   s h o u l d   b e   r e c o r d e d   u s i n g   a n n o t a t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11561"
  },
  {
    "question": "What is Motivation?",
    "answer": "L a b e l s   e n a b l e   u s e r s   t o   m a p   t h e i r   o w n   o r g a n i z a t i o n a l   s t r u c t u r e s   o n t o   s y s t e m   o b j e c t s   i n   a   l o o s e l y   c o u p l e d   f a s h i o n ,   w i t h o u t   r e q u i r i n g   c l i e n t s   t o   s t o r e   t h e s e   m a p p i n g s .   S e r v i c e   d e p l o y m e n t s   a n d   b a t c h   p r o c e s s i n g   p i p e l i n e s   a r e   o f t e n   m u l t i - d i m e n s i o n a l   e n t i t i e s   ( e . g . ,   m u l t i p l e   p a r t i t i o n s   o r   d e p l o y m e n t s ,   m u l t i p l e   r e l e a s e   t r a c k s ,   m u l t i p l e   t i e r s ,   m u l t i p l e   m i c r o - s e r v i c e s   p e r   t i e r ) .   M a n a g e m e n t   o f t e n   r e q u i r e s   c r o s s - c u t t i n g   o p e r a t i o n s ,   w h i c h   b r e a k s   e n c a p s u l a t i o n   o f   s t r i c t l y   h i e r a r c h i c a l   r e p r e s e n t a t i o n s ,   e s p e c i a l l y   r i g i d   h i e r a r c h i e s   d e t e r m i n e d   b y   t h e   i n f r a s t r u c t u r e   r a t h e r   t h a n   b y   u s e r s .   E x a m p l e   l a b e l s :   \" r e l e a s e \"   :   \" s t a b l e \" ,   \" r e l e a s e \"   :   \" c a n a r y \" \" e n v i r o n m e n t \"   :   \" d e v \" ,   \" e n v i r o n m e n t \"   :   \" q a \" ,   \" e n v i r o n m e n t \"   :   \" p r o d u c t i o n \" \" t i e r \"   :   \" f r o n t e n d \" ,   \" t i e r \"   :   \" b a c k e n d \" ,   \" t i e r \"   :   \" c a c h e \" \" p a r t i t i o n \"   :   \" c u s t o m e r A \" ,   \" p a r t i t i o n \"   :   \" c u s t o m e r B \" \" t r a c k \"   :   \" d a i l y \" ,   \" t r a c k \"   :   \" w e e k l y \"   T h e s e   a r e   e x a m p l e s   o f   c o m m o n l y   u s e d   l a b e l s ;   y o u   a r e   f r e e   t o   d e v e l o p   y o u r   o w n   c o n v e n t i o n s .   K e e p   i n   m i n d   t h a t   l a b e l   K e y   m u s t   b e   u n i q u e   f o r   a   g i v e n   o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11562"
  },
  {
    "question": "What is Syntax and character set?",
    "answer": "L a b e l s   a r e   k e y / v a l u e   p a i r s .   V a l i d   l a b e l   k e y s   h a v e   t w o   s e g m e n t s :   a n   o p t i o n a l   p r e f i x   a n d   n a m e ,   s e p a r a t e d   b y   a   s l a s h   ( / ) .   T h e   n a m e   s e g m e n t   i s   r e q u i r e d   a n d   m u s t   b e   6 3   c h a r a c t e r s   o r   l e s s ,   b e g i n n i n g   a n d   e n d i n g   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r   ( [ a - z 0 - 9 A - Z ] )   w i t h   d a s h e s   ( - ) ,   u n d e r s c o r e s   ( _ ) ,   d o t s   ( . ) ,   a n d   a l p h a n u m e r i c s   b e t w e e n .   T h e   p r e f i x   i s   o p t i o n a l .   I f   s p e c i f i e d ,   t h e   p r e f i x   m u s t   b e   a   D N S   s u b d o m a i n :   a   s e r i e s   o f   D N S   l a b e l s   s e p a r a t e d   b y   d o t s   ( . ) ,   n o t   l o n g e r   t h a n   2 5 3   c h a r a c t e r s   i n   t o t a l ,   f o l l o w e d   b y   a   s l a s h   ( / ) .   I f   t h e   p r e f i x   i s   o m i t t e d ,   t h e   l a b e l   K e y   i s   p r e s u m e d   t o   b e   p r i v a t e   t o   t h e   u s e r .   A u t o m a t e d   s y s t e m   c o m p o n e n t s   ( e . g .   k u b e - s c h e d u l e r ,   k u b e - c o n t r o l l e r - m a n a g e r ,   k u b e - a p i s e r v e r ,   k u b e c t l ,   o r   o t h e r   t h i r d - p a r t y   a u t o m a t i o n )   w h i c h   a d d   l a b e l s   t o   e n d - u s e r   o b j e c t s   m u s t   s p e c i f y   a   p r e f i x .   T h e   k u b e r n e t e s . i o /   a n d   k 8 s . i o /   p r e f i x e s   a r e   r e s e r v e d   f o r   K u b e r n e t e s   c o r e   c o m p o n e n t s .   V a l i d   l a b e l   v a l u e :   m u s t   b e   6 3   c h a r a c t e r s   o r   l e s s   ( c a n   b e   e m p t y ) , u n l e s s   e m p t y ,   m u s t   b e g i n   a n d   e n d   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r   ( [ a - z 0 - 9 A ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11563"
  },
  {
    "question": "What is Label selectors?",
    "answer": "U n l i k e   n a m e s   a n d   U I D s ,   l a b e l s   d o   n o t   p r o v i d e   u n i q u e n e s s .   I n   g e n e r a l ,   w e   e x p e c t   m a n y   o b j e c t s   t o   c a r r y   t h e   s a m e   l a b e l ( s ) .   V i a   a   l a b e l   s e l e c t o r ,   t h e   c l i e n t / u s e r   c a n   i d e n t i f y   a   s e t   o f   o b j e c t s .   T h e   l a b e l   s e l e c t o r   i s   t h e   c o r e   g r o u p i n g   p r i m i t i v e   i n   K u b e r n e t e s .   T h e   A P I   c u r r e n t l y   s u p p o r t s   t w o   t y p e s   o f   s e l e c t o r s :   e q u a l i t y - b a s e d   a n d   s e t - b a s e d .   A   l a b e l   s e l e c t o r   c a n   b e   m a d e   o f   m u l t i p l e   r e q u i r e m e n t s   w h i c h   a r e   c o m m a - s e p a r a t e d .   I n   t h e   c a s e   o f   m u l t i p l e   r e q u i r e m e n t s ,   a l l   m u s t   b e   s a t i s f i e d   s o   t h e   c o m m a   s e p a r a t o r   a c t s   a s   a   l o g i c a l   A N D   ( & & )   o p e r a t o r .   T h e   s e m a n t i c s   o f   e m p t y   o r   n o n - s p e c i f i e d   s e l e c t o r s   a r e   d e p e n d e n t   o n   t h e   c o n t e x t ,   a n d   A P I   t y p e s   t h a t   u s e   s e l e c t o r s   s h o u l d   d o c u m e n t   t h e   v a l i d i t y   a n d   m e a n i n g   o f   t h e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11564"
  },
  {
    "question": "What is Equality-based requirement?",
    "answer": "E q u a l i t y -   o r   i n e q u a l i t y - b a s e d   r e q u i r e m e n t s   a l l o w   f i l t e r i n g   b y   l a b e l   k e y s   a n d   v a l u e s .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s ,   t h o u g h   t h e y   m a y   h a v e   a d d i t i o n a l   l a b e l s   a s   w e l l .   T h r e e   k i n d s   o f   o p e r a t o r s   a r e   a d m i t t e d   = , = = , ! = .   T h e   f i r s t   t w o   r e p r e s e n t   e q u a l i t y   ( a n d   a r e   s y n o n y m s ) ,   w h i l e   t h e   l a t t e r   r e p r e s e n t s   i n e q u a l i t y .   F o r   e x a m p l e :   e n v i r o n m e n t   =   p r o d u c t i o n   t i e r   ! =   f r o n t e n d   T h e   f o r m e r   s e l e c t s   a l l   r e s o u r c e s   w i t h   k e y   e q u a l   t o   e n v i r o n m e n t   a n d   v a l u e   e q u a l   t o   p r o d u c t i o n .   T h e   l a t t e r   s e l e c t s   a l l   r e s o u r c e s   w i t h   k e y   e q u a l   t o   t i e r   a n d   v a l u e   d i s t i n c t   f r o m   f r o n t e n d ,   a n d   a l l   r e s o u r c e s   w i t h   n o   l a b e l s   w i t h   t h e   t i e r   k e y .   O n e   c o u l d   f i l t e r   f o r   r e s o u r c e s   i n   p r o d u c t i o n   e x c l u d i n g   f r o n t e n d   u s i n g   t h e   c o m m a   o p e r a t o r :   e n v i r o n m e n t = p r o d u c t i o n , t i e r ! = f r o n t e n d   O n e   u s a g e   s c e n a r i o   f o r   e q u a l i t y - b a s e d   l a b e l   r e q u i r e m e n t   i s   f o r   P o d s   t o   s p e c i f y   n o d e   s e l e c t i o n   c r i t e r i a .   F o r   e x a m p l e ,   t h e   s a m p l e   P o d   b e l o w   s e l e c t s   n o d e s   w h e r e   t h e   a c c e l e r a t o r   l a b e l   e x i s t s   a n d   i s   s e t   t o   n v i d i a - t e s l a - p 1 0 0 .   a p i V e r s i o n :   v 1   k i n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11565"
  },
  {
    "question": "What is Set-based requirement?",
    "answer": "S e t - b a s e d   l a b e l   r e q u i r e m e n t s   a l l o w   f i l t e r i n g   k e y s   a c c o r d i n g   t o   a   s e t   o f   v a l u e s .   T h r e e   k i n d s   o f   o p e r a t o r s   a r e   s u p p o r t e d :   i n , n o t i n   a n d   e x i s t s   ( o n l y   t h e   k e y   i d e n t i f i e r ) .   F o r   e x a m p l e :   e n v i r o n m e n t   i n   ( p r o d u c t i o n ,   q a )   t i e r   n o t i n   ( f r o n t e n d ,   b a c k e n d )   p a r t i t i o n   ! p a r t i t i o n   T h e   f i r s t   e x a m p l e   s e l e c t s   a l l   r e s o u r c e s   w i t h   k e y   e q u a l   t o   e n v i r o n m e n t   a n d   v a l u e   e q u a l   t o   p r o d u c t i o n   o r   q a . T h e   s e c o n d   e x a m p l e   s e l e c t s   a l l   r e s o u r c e s   w i t h   k e y   e q u a l   t o   t i e r   a n d   v a l u e s   o t h e r   t h a n   f r o n t e n d   a n d   b a c k e n d ,   a n d   a l l   r e s o u r c e s   w i t h   n o   l a b e l s   w i t h   t h e   t i e r   k e y . T h e   t h i r d   e x a m p l e   s e l e c t s   a l l   r e s o u r c e s   i n c l u d i n g   a   l a b e l   w i t h   k e y   p a r t i t i o n ;   n o   v a l u e s   a r e   c h e c k e d . T h e   f o u r t h   e x a m p l e   s e l e c t s   a l l   r e s o u r c e s   w i t h o u t   a   l a b e l   w i t h   k e y   p a r t i t i o n ;   n o   v a l u e s   a r e   c h e c k e d .   S i m i l a r l y   t h e   c o m m a   s e p a r a t o r   a c t s   a s   a n   A N D   o p e r a t o r .   S o   f i l t e r i n g   r e s o u r c e s   w i t h   a   p a r t i t i o n   k e y   ( n o   m a t t e r   t h e   v a l u e )   a n d   w i t h   e n v i r o n m e n t   d i f f e r e n t   t h a n   q a   c a n   b e   a c h i e v e d   u s i n g   p a r t i t i o n , e n v i r o n m e n t   n o t i n   ( q a ) .   T h e   s e t - b a s e d   l a b e l   s e l e c t o r   i s   a   g e n e r a l   f o r m   o f   e q u a l ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11566"
  },
  {
    "question": "What is LIST and WATCH filtering?",
    "answer": "F o r   l i s t   a n d   w a t c h   o p e r a t i o n s ,   y o u   c a n   s p e c i f y   l a b e l   s e l e c t o r s   t o   f i l t e r   t h e   s e t s   o f   o b j e c t s   r e t u r n e d ;   y o u   s p e c i f y   t h e   f i l t e r   u s i n g   a   q u e r y   p a r a m e t e r .   ( T o   l e a r n   i n   d e t a i l   a b o u t   w a t c h e s   i n   K u b e r n e t e s ,   r e a d   e f f i c i e n t   d e t e c t i o n   o f   c h a n g e s ) .   B o t h   r e q u i r e m e n t s   a r e   p e r m i t t e d   ( p r e s e n t e d   h e r e   a s   t h e y   w o u l d   a p p e a r   i n   a   U R L   q u e r y   s t r i n g ) :   e q u a l i t y - b a s e d   r e q u i r e m e n t s :   ? l a b e l S e l e c t o r = e n v i r o n m e n t % 3 D p r o d u c t i o n , t i e r % 3 D f r o n t e n d s e t - b a s e d   r e q u i r e m e n t s :   ? l a b e l S e l e c t o r = e n v i r o n m e n t + i n + % 2 8 p r o d u c t i o n % 2 C q a % 2 9 % 2 C t i e r + i n + % 2 8 f r o n t e n d % 2 9   B o t h   l a b e l   s e l e c t o r   s t y l e s   c a n   b e   u s e d   t o   l i s t   o r   w a t c h   r e s o u r c e s   v i a   a   R E S T   c l i e n t .   F o r   e x a m p l e ,   t a r g e t i n g   a p i s e r v e r   w i t h   k u b e c t l   a n d   u s i n g   e q u a l i t y - b a s e d   o n e   m a y   w r i t e :   k u b e c t l   g e t   p o d s   - l   e n v i r o n m e n t = p r o d u c t i o n , t i e r = f r o n t e n d   o r   u s i n g   s e t - b a s e d   r e q u i r e m e n t s :   k u b e c t l   g e t   p o d s   - l   ' e n v i r o n m e n t   i n   ( p r o d u c t i o n ) , t i e r   i n   ( f r o n t e n d ) '   A s   a l r e a d y   m e n t i o n e d   s e t - b a s e d   r e q u i r e m e n t s   a r e   m o r e   e x p r e s s i v e .   F o r   i n s t a n c e ,   t h e y   c a n   i m p l e m e n t   t h e   O R   o p e r a t o r   o n   v a l u e s :   k u b e c t l   g e t   p o d s   - l   ' e n v i r o n m ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11567"
  },
  {
    "question": "What is Set references in API objects?",
    "answer": "S o m e   K u b e r n e t e s   o b j e c t s ,   s u c h   a s   s e r v i c e s   a n d   r e p l i c a t i o n c o n t r o l l e r s ,   a l s o   u s e   l a b e l   s e l e c t o r s   t o   s p e c i f y   s e t s   o f   o t h e r   r e s o u r c e s ,   s u c h   a s   p o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11568"
  },
  {
    "question": "What is Service and ReplicationController?",
    "answer": "T h e   s e t   o f   p o d s   t h a t   a   s e r v i c e   t a r g e t s   i s   d e f i n e d   w i t h   a   l a b e l   s e l e c t o r .   S i m i l a r l y ,   t h e   p o p u l a t i o n   o f   p o d s   t h a t   a   r e p l i c a t i o n c o n t r o l l e r   s h o u l d   m a n a g e   i s   a l s o   d e f i n e d   w i t h   a   l a b e l   s e l e c t o r .   L a b e l   s e l e c t o r s   f o r   b o t h   o b j e c t s   a r e   d e f i n e d   i n   j s o n   o r   y a m l   f i l e s   u s i n g   m a p s ,   a n d   o n l y   e q u a l i t y - b a s e d   r e q u i r e m e n t   s e l e c t o r s   a r e   s u p p o r t e d :   \" s e l e c t o r \" :   {   \" c o m p o n e n t \"   :   \" r e d i s \" ,   }   o r   s e l e c t o r :   c o m p o n e n t :   r e d i s   T h i s   s e l e c t o r   ( r e s p e c t i v e l y   i n   j s o n   o r   y a m l   f o r m a t )   i s   e q u i v a l e n t   t o   c o m p o n e n t = r e d i s   o r   c o m p o n e n t   i n   ( r e d i s ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11569"
  },
  {
    "question": "What is Resources that support set-based requirements?",
    "answer": "N e w e r   r e s o u r c e s ,   s u c h   a s   J o b ,   D e p l o y m e n t ,   R e p l i c a S e t ,   a n d   D a e m o n S e t ,   s u p p o r t   s e t - b a s e d   r e q u i r e m e n t s   a s   w e l l .   s e l e c t o r :   m a t c h L a b e l s :   c o m p o n e n t :   r e d i s   m a t c h E x p r e s s i o n s :   -   {   k e y :   t i e r ,   o p e r a t o r :   I n ,   v a l u e s :   [ c a c h e ]   }   -   {   k e y :   e n v i r o n m e n t ,   o p e r a t o r :   N o t I n ,   v a l u e s :   [ d e v ]   }   m a t c h L a b e l s   i s   a   m a p   o f   { k e y , v a l u e }   p a i r s .   A   s i n g l e   { k e y , v a l u e }   i n   t h e   m a t c h L a b e l s   m a p   i s   e q u i v a l e n t   t o   a n   e l e m e n t   o f   m a t c h E x p r e s s i o n s ,   w h o s e   k e y   f i e l d   i s   \" k e y \" ,   t h e   o p e r a t o r   i s   \" I n \" ,   a n d   t h e   v a l u e s   a r r a y   c o n t a i n s   o n l y   \" v a l u e \" .   m a t c h E x p r e s s i o n s   i s   a   l i s t   o f   p o d   s e l e c t o r   r e q u i r e m e n t s .   V a l i d   o p e r a t o r s   i n c l u d e   I n ,   N o t I n ,   E x i s t s ,   a n d   D o e s N o t E x i s t .   T h e   v a l u e s   s e t   m u s t   b e   n o n - e m p t y   i n   t h e   c a s e   o f   I n   a n d   N o t I n .   A l l   o f   t h e   r e q u i r e m e n t s ,   f r o m   b o t h   m a t c h L a b e l s   a n d   m a t c h E x p r e s s i o n s   a r e   A N D e d   t o g e t h e r   - -   t h e y   m u s t   a l l   b e   s a t i s f i e d   i n   o r d e r   t o   m a t c h .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11570"
  },
  {
    "question": "What is Selecting sets of nodes?",
    "answer": "O n e   u s e   c a s e   f o r   s e l e c t i n g   o v e r   l a b e l s   i s   t o   c o n s t r a i n   t h e   s e t   o f   n o d e s   o n t o   w h i c h   a   p o d   c a n   s c h e d u l e .   S e e   t h e   d o c u m e n t a t i o n   o n   n o d e   s e l e c t i o n   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11571"
  },
  {
    "question": "What is Using labels effectively?",
    "answer": "Y o u   c a n   a p p l y   a   s i n g l e   l a b e l   t o   a n y   r e s o u r c e s ,   b u t   t h i s   i s   n o t   a l w a y s   t h e   b e s t   p r a c t i c e .   T h e r e   a r e   m a n y   s c e n a r i o s   w h e r e   m u l t i p l e   l a b e l s   s h o u l d   b e   u s e d   t o   d i s t i n g u i s h   r e s o u r c e   s e t s   f r o m   o n e   a n o t h e r .   F o r   i n s t a n c e ,   d i f f e r e n t   a p p l i c a t i o n s   w o u l d   u s e   d i f f e r e n t   v a l u e s   f o r   t h e   a p p   l a b e l ,   b u t   a   m u l t i - t i e r   a p p l i c a t i o n ,   s u c h   a s   t h e   g u e s t b o o k   e x a m p l e ,   w o u l d   a d d i t i o n a l l y   n e e d   t o   d i s t i n g u i s h   e a c h   t i e r .   T h e   f r o n t e n d   c o u l d   c a r r y   t h e   f o l l o w i n g   l a b e l s :   l a b e l s :   a p p :   g u e s t b o o k   t i e r :   f r o n t e n d   w h i l e   t h e   R e d i s   m a s t e r   a n d   r e p l i c a   w o u l d   h a v e   d i f f e r e n t   t i e r   l a b e l s ,   a n d   p e r h a p s   e v e n   a n   a d d i t i o n a l   r o l e   l a b e l :   l a b e l s :   a p p :   g u e s t b o o k   t i e r :   b a c k e n d   r o l e :   m a s t e r   a n d   l a b e l s :   a p p :   g u e s t b o o k   t i e r :   b a c k e n d   r o l e :   r e p l i c a   T h e   l a b e l s   a l l o w   f o r   s l i c i n g   a n d   d i c i n g   t h e   r e s o u r c e s   a l o n g   a n y   d i m e n s i o n   s p e c i f i e d   b y   a   l a b e l :   k u b e c t l   a p p l y   - f   e x a m p l e s / g u e s t b o o k / a l l - i n - o n e / g u e s t b o o k - a l l - i n - o n e . y a m l   k u b e c t l   g e t   p o d s   - L a p p   - L t i e r   - L r o l e   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   A P P   T I E R   R O L E   g u e s t b o o k - f e - 4 n l p b   1 / 1   R u n n i n g   0   1 m   g u e s t b o o k   f r o n t e n d   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11572"
  },
  {
    "question": "What is Updating labels?",
    "answer": "S o m e t i m e s   y o u   m a y   w a n t   t o   r e l a b e l   e x i s t i n g   p o d s   a n d   o t h e r   r e s o u r c e s   b e f o r e   c r e a t i n g   n e w   r e s o u r c e s .   T h i s   c a n   b e   d o n e   w i t h   k u b e c t l   l a b e l .   F o r   e x a m p l e ,   i f   y o u   w a n t   t o   l a b e l   a l l   y o u r   N G I N X   P o d s   a s   f r o n t e n d   t i e r ,   r u n :   k u b e c t l   l a b e l   p o d s   - l   a p p = n g i n x   t i e r = f e   p o d / m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - j 5 f h i   l a b e l e d   p o d / m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - u 2 c 7 e   l a b e l e d   p o d / m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - u 3 t 6 x   l a b e l e d   T h i s   f i r s t   f i l t e r s   a l l   p o d s   w i t h   t h e   l a b e l   \" a p p = n g i n x \" ,   a n d   t h e n   l a b e l s   t h e m   w i t h   t h e   \" t i e r = f e \" .   T o   s e e   t h e   p o d s   y o u   l a b e l e d ,   r u n :   k u b e c t l   g e t   p o d s   - l   a p p = n g i n x   - L   t i e r   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   T I E R   m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - j 5 f h i   1 / 1   R u n n i n g   0   2 3 m   f e   m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - u 2 c 7 e   1 / 1   R u n n i n g   0   2 3 m   f e   m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - u 3 t 6 x   1 / 1   R u n n i n g   0   2 3 m   f e   T h i s   o u t p u t s   a l l   \" a p p = n g i n x \"   p o d s ,   w i t h   a n   a d d i t i o n a l   l a b e l   c o l u m n   o f   p o d s '   t i e r   ( s p e c i f i e d   w i t h   - L   o r   - - l a b e l - c o l u m n s ) .   F o r   m o r e   i n f o r m a t i o n ,   p l e a s e   s e e   k u b e c t l   l a b e l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11573"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   a d d   a   l a b e l   t o   a   n o d e F i n d   W e l l - k n o w n   l a b e l s ,   A n n o t a t i o n s   a n d   T a i n t s S e e   R e c o m m e n d e d   l a b e l s E n f o r c e   P o d   S e c u r i t y   S t a n d a r d s   w i t h   N a m e s p a c e   L a b e l s R e a d   a   b l o g   o n   W r i t i n g   a   C o n t r o l l e r   f o r   P o d   L a b e l s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11574"
  },
  {
    "question": "What is 1.2.4 - Namespaces?",
    "answer": "I n   K u b e r n e t e s ,   n a m e s p a c e s   p r o v i d e   a   m e c h a n i s m   f o r   i s o l a t i n g   g r o u p s   o f   r e s o u r c e s   w i t h i n   a   s i n g l e   c l u s t e r .   N a m e s   o f   r e s o u r c e s   n e e d   t o   b e   u n i q u e   w i t h i n   a   n a m e s p a c e ,   b u t   n o t   a c r o s s   n a m e s p a c e s .   N a m e s p a c e - b a s e d   s c o p i n g   i s   a p p l i c a b l e   o n l y   f o r   n a m e s p a c e d   o b j e c t s   ( e . g .   D e p l o y m e n t s ,   S e r v i c e s ,   e t c . )   a n d   n o t   f o r   c l u s t e r - w i d e   o b j e c t s   ( e . g .   S t o r a g e C l a s s ,   N o d e s ,   P e r s i s t e n t V o l u m e s ,   e t c . ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11575"
  },
  {
    "question": "What is When to Use Multiple Namespaces?",
    "answer": "N a m e s p a c e s   a r e   i n t e n d e d   f o r   u s e   i n   e n v i r o n m e n t s   w i t h   m a n y   u s e r s   s p r e a d   a c r o s s   m u l t i p l e   t e a m s ,   o r   p r o j e c t s .   F o r   c l u s t e r s   w i t h   a   f e w   t o   t e n s   o f   u s e r s ,   y o u   s h o u l d   n o t   n e e d   t o   c r e a t e   o r   t h i n k   a b o u t   n a m e s p a c e s   a t   a l l .   S t a r t   u s i n g   n a m e s p a c e s   w h e n   y o u   n e e d   t h e   f e a t u r e s   t h e y   p r o v i d e .   N a m e s p a c e s   p r o v i d e   a   s c o p e   f o r   n a m e s .   N a m e s   o f   r e s o u r c e s   n e e d   t o   b e   u n i q u e   w i t h i n   a   n a m e s p a c e ,   b u t   n o t   a c r o s s   n a m e s p a c e s .   N a m e s p a c e s   c a n n o t   b e   n e s t e d   i n s i d e   o n e   a n o t h e r   a n d   e a c h   K u b e r n e t e s   r e s o u r c e   c a n   o n l y   b e   i n   o n e   n a m e s p a c e .   N a m e s p a c e s   a r e   a   w a y   t o   d i v i d e   c l u s t e r   r e s o u r c e s   b e t w e e n   m u l t i p l e   u s e r s   ( v i a   r e s o u r c e   q u o t a ) .   I t   i s   n o t   n e c e s s a r y   t o   u s e   m u l t i p l e   n a m e s p a c e s   t o   s e p a r a t e   s l i g h t l y   d i f f e r e n t   r e s o u r c e s ,   s u c h   a s   d i f f e r e n t   v e r s i o n s   o f   t h e   s a m e   s o f t w a r e :   u s e   l a b e l s   t o   d i s t i n g u i s h   r e s o u r c e s   w i t h i n   t h e   s a m e   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11576"
  },
  {
    "question": "What is Initial namespaces?",
    "answer": "K u b e r n e t e s   s t a r t s   w i t h   f o u r   i n i t i a l   n a m e s p a c e s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11577"
  },
  {
    "question": "What is Working with Namespaces?",
    "answer": "C r e a t i o n   a n d   d e l e t i o n   o f   n a m e s p a c e s   a r e   d e s c r i b e d   i n   t h e   A d m i n   G u i d e   d o c u m e n t a t i o n   f o r   n a m e s p a c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11578"
  },
  {
    "question": "What is Viewing namespaces?",
    "answer": "Y o u   c a n   l i s t   t h e   c u r r e n t   n a m e s p a c e s   i n   a   c l u s t e r   u s i n g :   k u b e c t l   g e t   n a m e s p a c e   N A M E   S T A T U S   A G E   d e f a u l t   A c t i v e   1 d   k u b e - n o d e - l e a s e   A c t i v e   1 d   k u b e - p u b l i c   A c t i v e   1 d   k u b e - s y s t e m   A c t i v e   1 d",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11579"
  },
  {
    "question": "What is Setting the namespace for a request?",
    "answer": "T o   s e t   t h e   n a m e s p a c e   f o r   a   c u r r e n t   r e q u e s t ,   u s e   t h e   - - n a m e s p a c e   f l a g .   F o r   e x a m p l e :   k u b e c t l   r u n   n g i n x   - - i m a g e = n g i n x   - - n a m e s p a c e = < i n s e r t - n a m e s p a c e - n a m e - h e r e >   k u b e c t l   g e t   p o d s   - - n a m e s p a c e = < i n s e r t - n a m e s p a c e - n a m e - h e r e >",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11580"
  },
  {
    "question": "What is Setting the namespace preference?",
    "answer": "Y o u   c a n   p e r m a n e n t l y   s a v e   t h e   n a m e s p a c e   f o r   a l l   s u b s e q u e n t   k u b e c t l   c o m m a n d s   i n   t h a t   c o n t e x t .   k u b e c t l   c o n f i g   s e t - c o n t e x t   - - c u r r e n t   - - n a m e s p a c e = < i n s e r t - n a m e s p a c e - n a m e - h e r e >   #   V a l i d a t e   i t   k u b e c t l   c o n f i g   v i e w   - - m i n i f y   |   g r e p   n a m e s p a c e :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11581"
  },
  {
    "question": "What is Namespaces and DNS?",
    "answer": "W h e n   y o u   c r e a t e   a   S e r v i c e ,   i t   c r e a t e s   a   c o r r e s p o n d i n g   D N S   e n t r y .   T h i s   e n t r y   i s   o f   t h e   f o r m   < s e r v i c e - n a m e > . < n a m e s p a c e - n a m e > . s v c . c l u s t e r . l o c a l ,   w h i c h   m e a n s   t h a t   i f   a   c o n t a i n e r   o n l y   u s e s   < s e r v i c e - n a m e > ,   i t   w i l l   r e s o l v e   t o   t h e   s e r v i c e   w h i c h   i s   l o c a l   t o   a   n a m e s p a c e .   T h i s   i s   u s e f u l   f o r   u s i n g   t h e   s a m e   c o n f i g u r a t i o n   a c r o s s   m u l t i p l e   n a m e s p a c e s   s u c h   a s   D e v e l o p m e n t ,   S t a g i n g   a n d   P r o d u c t i o n .   I f   y o u   w a n t   t o   r e a c h   a c r o s s   n a m e s p a c e s ,   y o u   n e e d   t o   u s e   t h e   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N ) .   A s   a   r e s u l t ,   a l l   n a m e s p a c e   n a m e s   m u s t   b e   v a l i d   R F C   1 1 2 3   D N S   l a b e l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11582"
  },
  {
    "question": "What is Warning:?",
    "answer": "B y   c r e a t i n g   n a m e s p a c e s   w i t h   t h e   s a m e   n a m e   a s   p u b l i c   t o p - l e v e l   d o m a i n s ,   S e r v i c e s   i n   t h e s e   n a m e s p a c e s   c a n   h a v e   s h o r t   D N S   n a m e s   t h a t   o v e r l a p   w i t h   p u b l i c   D N S   r e c o r d s .   W o r k l o a d s   f r o m   a n y   n a m e s p a c e   p e r f o r m i n g   a   D N S   l o o k u p   w i t h o u t   a   t r a i l i n g   d o t   w i l l   b e   r e d i r e c t e d   t o   t h o s e   s e r v i c e s ,   t a k i n g   p r e c e d e n c e   o v e r   p u b l i c   D N S .   T o   m i t i g a t e   t h i s ,   l i m i t   p r i v i l e g e s   f o r   c r e a t i n g   n a m e s p a c e s   t o   t r u s t e d   u s e r s .   I f   r e q u i r e d ,   y o u   c o u l d   a d d i t i o n a l l y   c o n f i g u r e   t h i r d - p a r t y   s e c u r i t y   c o n t r o l s ,   s u c h   a s   a d m i s s i o n   w e b h o o k s ,   t o   b l o c k   c r e a t i n g   a n y   n a m e s p a c e   w i t h   t h e   n a m e   o f   p u b l i c   T L D s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11583"
  },
  {
    "question": "What is Not all objects are in a namespace?",
    "answer": "M o s t   K u b e r n e t e s   r e s o u r c e s   ( e . g .   p o d s ,   s e r v i c e s ,   r e p l i c a t i o n   c o n t r o l l e r s ,   a n d   o t h e r s )   a r e   i n   s o m e   n a m e s p a c e s .   H o w e v e r   n a m e s p a c e   r e s o u r c e s   a r e   n o t   t h e m s e l v e s   i n   a   n a m e s p a c e .   A n d   l o w - l e v e l   r e s o u r c e s ,   s u c h   a s   n o d e s   a n d   p e r s i s t e n t V o l u m e s ,   a r e   n o t   i n   a n y   n a m e s p a c e .   T o   s e e   w h i c h   K u b e r n e t e s   r e s o u r c e s   a r e   a n d   a r e n ' t   i n   a   n a m e s p a c e :   #   I n   a   n a m e s p a c e   k u b e c t l   a p i - r e s o u r c e s   - - n a m e s p a c e d = t r u e   #   N o t   i n   a   n a m e s p a c e   k u b e c t l   a p i - r e s o u r c e s   - - n a m e s p a c e d = f a l s e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11584"
  },
  {
    "question": "What is Automatic labelling?",
    "answer": "T h e   K u b e r n e t e s   c o n t r o l   p l a n e   s e t s   a n   i m m u t a b l e   l a b e l   k u b e r n e t e s . i o / m e t a d a t a . n a m e   o n   a l l   n a m e s p a c e s .   T h e   v a l u e   o f   t h e   l a b e l   i s   t h e   n a m e s p a c e   n a m e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11585"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   c r e a t i n g   a   n e w   n a m e s p a c e . L e a r n   m o r e   a b o u t   d e l e t i n g   a   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11586"
  },
  {
    "question": "What is 1.2.5 - Annotations?",
    "answer": "Y o u   c a n   u s e   K u b e r n e t e s   a n n o t a t i o n s   t o   a t t a c h   a r b i t r a r y   n o n - i d e n t i f y i n g   m e t a d a t a   t o   o b j e c t s .   C l i e n t s   s u c h   a s   t o o l s   a n d   l i b r a r i e s   c a n   r e t r i e v e   t h i s   m e t a d a t a .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11587"
  },
  {
    "question": "What is Attaching metadata to objects?",
    "answer": "Y o u   c a n   u s e   e i t h e r   l a b e l s   o r   a n n o t a t i o n s   t o   a t t a c h   m e t a d a t a   t o   K u b e r n e t e s   o b j e c t s .   L a b e l s   c a n   b e   u s e d   t o   s e l e c t   o b j e c t s   a n d   t o   f i n d   c o l l e c t i o n s   o f   o b j e c t s   t h a t   s a t i s f y   c e r t a i n   c o n d i t i o n s .   I n   c o n t r a s t ,   a n n o t a t i o n s   a r e   n o t   u s e d   t o   i d e n t i f y   a n d   s e l e c t   o b j e c t s .   T h e   m e t a d a t a   i n   a n   a n n o t a t i o n   c a n   b e   s m a l l   o r   l a r g e ,   s t r u c t u r e d   o r   u n s t r u c t u r e d ,   a n d   c a n   i n c l u d e   c h a r a c t e r s   n o t   p e r m i t t e d   b y   l a b e l s .   I t   i s   p o s s i b l e   t o   u s e   l a b e l s   a s   w e l l   a s   a n n o t a t i o n s   i n   t h e   m e t a d a t a   o f   t h e   s a m e   o b j e c t .   A n n o t a t i o n s ,   l i k e   l a b e l s ,   a r e   k e y / v a l u e   m a p s :   \" m e t a d a t a \" :   {   \" a n n o t a t i o n s \" :   {   \" k e y 1 \"   :   \" v a l u e 1 \" ,   \" k e y 2 \"   :   \" v a l u e 2 \"   }   }",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11588"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e   a r e   s o m e   e x a m p l e s   o f   i n f o r m a t i o n   t h a t   c o u l d   b e   r e c o r d e d   i n   a n n o t a t i o n s :   F i e l d s   m a n a g e d   b y   a   d e c l a r a t i v e   c o n f i g u r a t i o n   l a y e r .   A t t a c h i n g   t h e s e   f i e l d s   a s   a n n o t a t i o n s   d i s t i n g u i s h e s   t h e m   f r o m   d e f a u l t   v a l u e s   s e t   b y   c l i e n t s   o r   s e r v e r s ,   a n d   f r o m   a u t o - g e n e r a t e d   f i e l d s   a n d   f i e l d s   s e t   b y   a u t o - s i z i n g   o r   a u t o - s c a l i n g   s y s t e m s . B u i l d ,   r e l e a s e ,   o r   i m a g e   i n f o r m a t i o n   l i k e   t i m e s t a m p s ,   r e l e a s e   I D s ,   g i t   b r a n c h ,   P R   n u m b e r s ,   i m a g e   h a s h e s ,   a n d   r e g i s t r y   a d d r e s s . P o i n t e r s   t o   l o g g i n g ,   m o n i t o r i n g ,   a n a l y t i c s ,   o r   a u d i t   r e p o s i t o r i e s . C l i e n t   l i b r a r y   o r   t o o l   i n f o r m a t i o n   t h a t   c a n   b e   u s e d   f o r   d e b u g g i n g   p u r p o s e s :   f o r   e x a m p l e ,   n a m e ,   v e r s i o n ,   a n d   b u i l d   i n f o r m a t i o n . U s e r   o r   t o o l / s y s t e m   p r o v e n a n c e   i n f o r m a t i o n ,   s u c h   a s   U R L s   o f   r e l a t e d   o b j e c t s   f r o m   o t h e r   e c o s y s t e m   c o m p o n e n t s . L i g h t w e i g h t   r o l l o u t   t o o l   m e t a d a t a :   f o r   e x a m p l e ,   c o n f i g   o r   c h e c k p o i n t s . P h o n e   o r   p a g e r   n u m b e r s   o f   p e r s o n s   r e s p o n s i b l e ,   o r   d i r e c t o r y   e n t r i e s   t h a t   s p e c i f y   w h e r e   t h a t   i n f o r m a t i o n   c a n   b e   f o u n d ,   s u c h   a s   a   t e a m   w e b   s i t e . D i r e c t i v e s   f r o m   t h e   e n d - u s e r   t o   t h e   i m p l e m e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11589"
  },
  {
    "question": "What is Syntax and character set?",
    "answer": "A n n o t a t i o n s   a r e   k e y / v a l u e   p a i r s .   V a l i d   a n n o t a t i o n   k e y s   h a v e   t w o   s e g m e n t s :   a n   o p t i o n a l   p r e f i x   a n d   n a m e ,   s e p a r a t e d   b y   a   s l a s h   ( / ) .   T h e   n a m e   s e g m e n t   i s   r e q u i r e d   a n d   m u s t   b e   6 3   c h a r a c t e r s   o r   l e s s ,   b e g i n n i n g   a n d   e n d i n g   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r   ( [ a - z 0 - 9 A - Z ] )   w i t h   d a s h e s   ( - ) ,   u n d e r s c o r e s   ( _ ) ,   d o t s   ( . ) ,   a n d   a l p h a n u m e r i c s   b e t w e e n .   T h e   p r e f i x   i s   o p t i o n a l .   I f   s p e c i f i e d ,   t h e   p r e f i x   m u s t   b e   a   D N S   s u b d o m a i n :   a   s e r i e s   o f   D N S   l a b e l s   s e p a r a t e d   b y   d o t s   ( . ) ,   n o t   l o n g e r   t h a n   2 5 3   c h a r a c t e r s   i n   t o t a l ,   f o l l o w e d   b y   a   s l a s h   ( / ) .   I f   t h e   p r e f i x   i s   o m i t t e d ,   t h e   a n n o t a t i o n   K e y   i s   p r e s u m e d   t o   b e   p r i v a t e   t o   t h e   u s e r .   A u t o m a t e d   s y s t e m   c o m p o n e n t s   ( e . g .   k u b e - s c h e d u l e r ,   k u b e - c o n t r o l l e r - m a n a g e r ,   k u b e - a p i s e r v e r ,   k u b e c t l ,   o r   o t h e r   t h i r d - p a r t y   a u t o m a t i o n )   w h i c h   a d d   a n n o t a t i o n s   t o   e n d - u s e r   o b j e c t s   m u s t   s p e c i f y   a   p r e f i x .   T h e   k u b e r n e t e s . i o /   a n d   k 8 s . i o /   p r e f i x e s   a r e   r e s e r v e d   f o r   K u b e r n e t e s   c o r e   c o m p o n e n t s .   F o r   e x a m p l e ,   h e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   t h e   a n n o t a t i o n   i m a g e r e g i s t r y :   h t t p s : / / h u b . d o c k e r . c o m /   :   a p i V e r s i o n : ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11590"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   L a b e l s   a n d   S e l e c t o r s . F i n d   W e l l - k n o w n   l a b e l s ,   A n n o t a t i o n s   a n d   T a i n t s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11591"
  },
  {
    "question": "What is 1.2.6 - Field Selectors?",
    "answer": "F i e l d   s e l e c t o r s   l e t   y o u   s e l e c t   K u b e r n e t e s   o b j e c t s   b a s e d   o n   t h e   v a l u e   o f   o n e   o r   m o r e   r e s o u r c e   f i e l d s .   H e r e   a r e   s o m e   e x a m p l e s   o f   f i e l d   s e l e c t o r   q u e r i e s :   m e t a d a t a . n a m e = m y - s e r v i c e m e t a d a t a . n a m e s p a c e ! = d e f a u l t s t a t u s . p h a s e = P e n d i n g   T h i s   k u b e c t l   c o m m a n d   s e l e c t s   a l l   P o d s   f o r   w h i c h   t h e   v a l u e   o f   t h e   s t a t u s . p h a s e   f i e l d   i s   R u n n i n g :   k u b e c t l   g e t   p o d s   - - f i e l d - s e l e c t o r   s t a t u s . p h a s e = R u n n i n g",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11592"
  },
  {
    "question": "What is Supported fields?",
    "answer": "S u p p o r t e d   f i e l d   s e l e c t o r s   v a r y   b y   K u b e r n e t e s   r e s o u r c e   t y p e .   A l l   r e s o u r c e   t y p e s   s u p p o r t   t h e   m e t a d a t a . n a m e   a n d   m e t a d a t a . n a m e s p a c e   f i e l d s .   U s i n g   u n s u p p o r t e d   f i e l d   s e l e c t o r s   p r o d u c e s   a n   e r r o r .   F o r   e x a m p l e :   k u b e c t l   g e t   i n g r e s s   - - f i e l d - s e l e c t o r   f o o . b a r = b a z   E r r o r   f r o m   s e r v e r   ( B a d R e q u e s t ) :   U n a b l e   t o   f i n d   \" i n g r e s s e s \"   t h a t   m a t c h   l a b e l   s e l e c t o r   \" \" ,   f i e l d   s e l e c t o r   \" f o o . b a r = b a z \" :   \" f o o . b a r \"   i s   n o t   a   k n o w n   f i e l d   s e l e c t o r :   o n l y   \" m e t a d a t a . n a m e \" ,   \" m e t a d a t a . n a m e s p a c e \"",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11593"
  },
  {
    "question": "What is Custom resources fields?",
    "answer": "A l l   c u s t o m   r e s o u r c e   t y p e s   s u p p o r t   t h e   m e t a d a t a . n a m e   a n d   m e t a d a t a . n a m e s p a c e   f i e l d s .   A d d i t i o n a l l y ,   t h e   s p e c . v e r s i o n s [ * ] . s e l e c t a b l e F i e l d s   f i e l d   o f   a   C u s t o m R e s o u r c e D e f i n i t i o n   d e c l a r e s   w h i c h   o t h e r   f i e l d s   i n   a   c u s t o m   r e s o u r c e   m a y   b e   u s e d   i n   f i e l d   s e l e c t o r s .   S e e   s e l e c t a b l e   f i e l d s   f o r   c u s t o m   r e s o u r c e s   f o r   m o r e   i n f o r m a t i o n   a b o u t   h o w   t o   u s e   f i e l d   s e l e c t o r s   w i t h   C u s t o m R e s o u r c e D e f i n i t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11594"
  },
  {
    "question": "What is Supported operators?",
    "answer": "Y o u   c a n   u s e   t h e   = ,   = = ,   a n d   ! =   o p e r a t o r s   w i t h   f i e l d   s e l e c t o r s   ( =   a n d   = =   m e a n   t h e   s a m e   t h i n g ) .   T h i s   k u b e c t l   c o m m a n d ,   f o r   e x a m p l e ,   s e l e c t s   a l l   K u b e r n e t e s   S e r v i c e s   t h a t   a r e n ' t   i n   t h e   d e f a u l t   n a m e s p a c e :   k u b e c t l   g e t   s e r v i c e s   - - a l l - n a m e s p a c e s   - - f i e l d - s e l e c t o r   m e t a d a t a . n a m e s p a c e ! = d e f a u l t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11595"
  },
  {
    "question": "What is Chained selectors?",
    "answer": "A s   w i t h   l a b e l   a n d   o t h e r   s e l e c t o r s ,   f i e l d   s e l e c t o r s   c a n   b e   c h a i n e d   t o g e t h e r   a s   a   c o m m a - s e p a r a t e d   l i s t .   T h i s   k u b e c t l   c o m m a n d   s e l e c t s   a l l   P o d s   f o r   w h i c h   t h e   s t a t u s . p h a s e   d o e s   n o t   e q u a l   R u n n i n g   a n d   t h e   s p e c . r e s t a r t P o l i c y   f i e l d   e q u a l s   A l w a y s :   k u b e c t l   g e t   p o d s   - - f i e l d - s e l e c t o r = s t a t u s . p h a s e ! = R u n n i n g , s p e c . r e s t a r t P o l i c y = A l w a y s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11596"
  },
  {
    "question": "What is Multiple resource types?",
    "answer": "Y o u   c a n   u s e   f i e l d   s e l e c t o r s   a c r o s s   m u l t i p l e   r e s o u r c e   t y p e s .   T h i s   k u b e c t l   c o m m a n d   s e l e c t s   a l l   S t a t e f u l s e t s   a n d   S e r v i c e s   t h a t   a r e   n o t   i n   t h e   d e f a u l t   n a m e s p a c e :   k u b e c t l   g e t   s t a t e f u l s e t s , s e r v i c e s   - - a l l - n a m e s p a c e s   - - f i e l d - s e l e c t o r   m e t a d a t a . n a m e s p a c e ! = d e f a u l t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11597"
  },
  {
    "question": "What is 1.2.7 - Finalizers?",
    "answer": "F i n a l i z e r s   a r e   n a m e s p a c e d   k e y s   t h a t   t e l l   K u b e r n e t e s   t o   w a i t   u n t i l   s p e c i f i c   c o n d i t i o n s   a r e   m e t   b e f o r e   i t   f u l l y   d e l e t e s   r e s o u r c e s   t h a t   a r e   m a r k e d   f o r   d e l e t i o n .   F i n a l i z e r s   a l e r t   c o n t r o l l e r s   t o   c l e a n   u p   r e s o u r c e s   t h e   d e l e t e d   o b j e c t   o w n e d .   W h e n   y o u   t e l l   K u b e r n e t e s   t o   d e l e t e   a n   o b j e c t   t h a t   h a s   f i n a l i z e r s   s p e c i f i e d   f o r   i t ,   t h e   K u b e r n e t e s   A P I   m a r k s   t h e   o b j e c t   f o r   d e l e t i o n   b y   p o p u l a t i n g   . m e t a d a t a . d e l e t i o n T i m e s t a m p ,   a n d   r e t u r n s   a   2 0 2   s t a t u s   c o d e   ( H T T P   \" A c c e p t e d \" ) .   T h e   t a r g e t   o b j e c t   r e m a i n s   i n   a   t e r m i n a t i n g   s t a t e   w h i l e   t h e   c o n t r o l   p l a n e ,   o r   o t h e r   c o m p o n e n t s ,   t a k e   t h e   a c t i o n s   d e f i n e d   b y   t h e   f i n a l i z e r s .   A f t e r   t h e s e   a c t i o n s   a r e   c o m p l e t e ,   t h e   c o n t r o l l e r   r e m o v e s   t h e   r e l e v a n t   f i n a l i z e r s   f r o m   t h e   t a r g e t   o b j e c t .   W h e n   t h e   m e t a d a t a . f i n a l i z e r s   f i e l d   i s   e m p t y ,   K u b e r n e t e s   c o n s i d e r s   t h e   d e l e t i o n   c o m p l e t e   a n d   d e l e t e s   t h e   o b j e c t .   Y o u   c a n   u s e   f i n a l i z e r s   t o   c o n t r o l   g a r b a g e   c o l l e c t i o n   o f   r e s o u r c e s .   F o r   e x a m p l e ,   y o u   c a n   d e f i n e   a   f i n a l i z e r   t o   c l e a n   u p   r e l a t e d   A P I   r e s o u r c e s   o r   i n f r a s t r u c t u r e   b e f o r e   t h e   c o n t r o l l e r   d e l e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11598"
  },
  {
    "question": "What is How finalizers work?",
    "answer": "W h e n   y o u   c r e a t e   a   r e s o u r c e   u s i n g   a   m a n i f e s t   f i l e ,   y o u   c a n   s p e c i f y   f i n a l i z e r s   i n   t h e   m e t a d a t a . f i n a l i z e r s   f i e l d .   W h e n   y o u   a t t e m p t   t o   d e l e t e   t h e   r e s o u r c e ,   t h e   A P I   s e r v e r   h a n d l i n g   t h e   d e l e t e   r e q u e s t   n o t i c e s   t h e   v a l u e s   i n   t h e   f i n a l i z e r s   f i e l d   a n d   d o e s   t h e   f o l l o w i n g :   M o d i f i e s   t h e   o b j e c t   t o   a d d   a   m e t a d a t a . d e l e t i o n T i m e s t a m p   f i e l d   w i t h   t h e   t i m e   y o u   s t a r t e d   t h e   d e l e t i o n . P r e v e n t s   t h e   o b j e c t   f r o m   b e i n g   r e m o v e d   u n t i l   a l l   i t e m s   a r e   r e m o v e d   f r o m   i t s   m e t a d a t a . f i n a l i z e r s   f i e l d R e t u r n s   a   2 0 2   s t a t u s   c o d e   ( H T T P   \" A c c e p t e d \" )   T h e   c o n t r o l l e r   m a n a g i n g   t h a t   f i n a l i z e r   n o t i c e s   t h e   u p d a t e   t o   t h e   o b j e c t   s e t t i n g   t h e   m e t a d a t a . d e l e t i o n T i m e s t a m p ,   i n d i c a t i n g   d e l e t i o n   o f   t h e   o b j e c t   h a s   b e e n   r e q u e s t e d .   T h e   c o n t r o l l e r   t h e n   a t t e m p t s   t o   s a t i s f y   t h e   r e q u i r e m e n t s   o f   t h e   f i n a l i z e r s   s p e c i f i e d   f o r   t h a t   r e s o u r c e .   E a c h   t i m e   a   f i n a l i z e r   c o n d i t i o n   i s   s a t i s f i e d ,   t h e   c o n t r o l l e r   r e m o v e s   t h a t   k e y   f r o m   t h e   r e s o u r c e ' s   f i n a l i z e r s   f i e l d .   W h e n   t h e   f i n a l i z e r s   f i e l d   i s   e m p t i e d ,   a n   o b j e c t   w i t h   a   d e l e t i o n T i m e s t a m p   f i e l d   s e t   i s   a u t o m a t i c a l l y   d e l e t e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11599"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   y o u   D E L E T E   a n   o b j e c t ,   K u b e r n e t e s   a d d s   t h e   d e l e t i o n   t i m e s t a m p   f o r   t h a t   o b j e c t   a n d   t h e n   i m m e d i a t e l y   s t a r t s   t o   r e s t r i c t   c h a n g e s   t o   t h e   . m e t a d a t a . f i n a l i z e r s   f i e l d   f o r   t h e   o b j e c t   t h a t   i s   n o w   p e n d i n g   d e l e t i o n .   Y o u   c a n   r e m o v e   e x i s t i n g   f i n a l i z e r s   ( d e l e t i n g   a n   e n t r y   f r o m   t h e   f i n a l i z e r s   l i s t )   b u t   y o u   c a n n o t   a d d   a   n e w   f i n a l i z e r .   Y o u   a l s o   c a n n o t   m o d i f y   t h e   d e l e t i o n T i m e s t a m p   f o r   a n   o b j e c t   o n c e   i t   i s   s e t . A f t e r   t h e   d e l e t i o n   i s   r e q u e s t e d ,   y o u   c a n   n o t   r e s u r r e c t   t h i s   o b j e c t .   T h e   o n l y   w a y   i s   t o   d e l e t e   i t   a n d   m a k e   a   n e w   s i m i l a r   o b j e c t .   W h e n   y o u   D E L E T E   a n   o b j e c t ,   K u b e r n e t e s   a d d s   t h e   d e l e t i o n   t i m e s t a m p   f o r   t h a t   o b j e c t   a n d   t h e n   i m m e d i a t e l y   s t a r t s   t o   r e s t r i c t   c h a n g e s   t o   t h e   . m e t a d a t a . f i n a l i z e r s   f i e l d   f o r   t h e   o b j e c t   t h a t   i s   n o w   p e n d i n g   d e l e t i o n .   Y o u   c a n   r e m o v e   e x i s t i n g   f i n a l i z e r s   ( d e l e t i n g   a n   e n t r y   f r o m   t h e   f i n a l i z e r s   l i s t )   b u t   y o u   c a n n o t   a d d   a   n e w   f i n a l i z e r .   Y o u   a l s o   c a n n o t   m o d i f y   t h e   d e l e t i o n T i m e s t a m p   f o r   a n   o b j e c t   o n c e   i t   i s   s e t .   A f t e r   t h e   d e l e t i o n   i s   r e q u e s t e d ,   y o u   c a n   n o t   r e s u r r e c t   t h i s   o b j e c t .   T h e   o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11600"
  },
  {
    "question": "What is Owner references, labels, and finalizers?",
    "answer": "L i k e   l a b e l s ,   o w n e r   r e f e r e n c e s   d e s c r i b e   t h e   r e l a t i o n s h i p s   b e t w e e n   o b j e c t s   i n   K u b e r n e t e s ,   b u t   a r e   u s e d   f o r   a   d i f f e r e n t   p u r p o s e .   W h e n   a   c o n t r o l l e r   m a n a g e s   o b j e c t s   l i k e   P o d s ,   i t   u s e s   l a b e l s   t o   t r a c k   c h a n g e s   t o   g r o u p s   o f   r e l a t e d   o b j e c t s .   F o r   e x a m p l e ,   w h e n   a   J o b   c r e a t e s   o n e   o r   m o r e   P o d s ,   t h e   J o b   c o n t r o l l e r   a p p l i e s   l a b e l s   t o   t h o s e   p o d s   a n d   t r a c k s   c h a n g e s   t o   a n y   P o d s   i n   t h e   c l u s t e r   w i t h   t h e   s a m e   l a b e l .   T h e   J o b   c o n t r o l l e r   a l s o   a d d s   o w n e r   r e f e r e n c e s   t o   t h o s e   P o d s ,   p o i n t i n g   a t   t h e   J o b   t h a t   c r e a t e d   t h e   P o d s .   I f   y o u   d e l e t e   t h e   J o b   w h i l e   t h e s e   P o d s   a r e   r u n n i n g ,   K u b e r n e t e s   u s e s   t h e   o w n e r   r e f e r e n c e s   ( n o t   l a b e l s )   t o   d e t e r m i n e   w h i c h   P o d s   i n   t h e   c l u s t e r   n e e d   c l e a n u p .   K u b e r n e t e s   a l s o   p r o c e s s e s   f i n a l i z e r s   w h e n   i t   i d e n t i f i e s   o w n e r   r e f e r e n c e s   o n   a   r e s o u r c e   t a r g e t e d   f o r   d e l e t i o n .   I n   s o m e   s i t u a t i o n s ,   f i n a l i z e r s   c a n   b l o c k   t h e   d e l e t i o n   o f   d e p e n d e n t   o b j e c t s ,   w h i c h   c a n   c a u s e   t h e   t a r g e t e d   o w n e r   o b j e c t   t o   r e m a i n   f o r   l o n g e r   t h a n   e x p e c t e d   w i t h o u t   b e i n g   f u l l y   d e l e t e d .   I n   t h e s e   s i t u a t i o n s ,   y o u   s h o u l d   c h e c k   f i n a l i z e r s   a n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11601"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   U s i n g   F i n a l i z e r s   t o   C o n t r o l   D e l e t i o n   o n   t h e   K u b e r n e t e s   b l o g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11602"
  },
  {
    "question": "What is 1.2.8 - Owners and Dependents?",
    "answer": "I n   K u b e r n e t e s ,   s o m e   o b j e c t s   a r e   o w n e r s   o f   o t h e r   o b j e c t s .   F o r   e x a m p l e ,   a   R e p l i c a S e t   i s   t h e   o w n e r   o f   a   s e t   o f   P o d s .   T h e s e   o w n e d   o b j e c t s   a r e   d e p e n d e n t s   o f   t h e i r   o w n e r .   O w n e r s h i p   i s   d i f f e r e n t   f r o m   t h e   l a b e l s   a n d   s e l e c t o r s   m e c h a n i s m   t h a t   s o m e   r e s o u r c e s   a l s o   u s e .   F o r   e x a m p l e ,   c o n s i d e r   a   S e r v i c e   t h a t   c r e a t e s   E n d p o i n t S l i c e   o b j e c t s .   T h e   S e r v i c e   u s e s   l a b e l s   t o   a l l o w   t h e   c o n t r o l   p l a n e   t o   d e t e r m i n e   w h i c h   E n d p o i n t S l i c e   o b j e c t s   a r e   u s e d   f o r   t h a t   S e r v i c e .   I n   a d d i t i o n   t o   t h e   l a b e l s ,   e a c h   E n d p o i n t S l i c e   t h a t   i s   m a n a g e d   o n   b e h a l f   o f   a   S e r v i c e   h a s   a n   o w n e r   r e f e r e n c e .   O w n e r   r e f e r e n c e s   h e l p   d i f f e r e n t   p a r t s   o f   K u b e r n e t e s   a v o i d   i n t e r f e r i n g   w i t h   o b j e c t s   t h e y   d o n ’ t   c o n t r o l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11603"
  },
  {
    "question": "What is Owner references in object specifications?",
    "answer": "D e p e n d e n t   o b j e c t s   h a v e   a   m e t a d a t a . o w n e r R e f e r e n c e s   f i e l d   t h a t   r e f e r e n c e s   t h e i r   o w n e r   o b j e c t .   A   v a l i d   o w n e r   r e f e r e n c e   c o n s i s t s   o f   t h e   o b j e c t   n a m e   a n d   a   U I D   w i t h i n   t h e   s a m e   n a m e s p a c e   a s   t h e   d e p e n d e n t   o b j e c t .   K u b e r n e t e s   s e t s   t h e   v a l u e   o f   t h i s   f i e l d   a u t o m a t i c a l l y   f o r   o b j e c t s   t h a t   a r e   d e p e n d e n t s   o f   o t h e r   o b j e c t s   l i k e   R e p l i c a S e t s ,   D a e m o n S e t s ,   D e p l o y m e n t s ,   J o b s   a n d   C r o n J o b s ,   a n d   R e p l i c a t i o n C o n t r o l l e r s .   Y o u   c a n   a l s o   c o n f i g u r e   t h e s e   r e l a t i o n s h i p s   m a n u a l l y   b y   c h a n g i n g   t h e   v a l u e   o f   t h i s   f i e l d .   H o w e v e r ,   y o u   u s u a l l y   d o n ' t   n e e d   t o   a n d   c a n   a l l o w   K u b e r n e t e s   t o   a u t o m a t i c a l l y   m a n a g e   t h e   r e l a t i o n s h i p s .   D e p e n d e n t   o b j e c t s   a l s o   h a v e   a n   o w n e r R e f e r e n c e s . b l o c k O w n e r D e l e t i o n   f i e l d   t h a t   t a k e s   a   b o o l e a n   v a l u e   a n d   c o n t r o l s   w h e t h e r   s p e c i f i c   d e p e n d e n t s   c a n   b l o c k   g a r b a g e   c o l l e c t i o n   f r o m   d e l e t i n g   t h e i r   o w n e r   o b j e c t .   K u b e r n e t e s   a u t o m a t i c a l l y   s e t s   t h i s   f i e l d   t o   t r u e   i f   a   c o n t r o l l e r   ( f o r   e x a m p l e ,   t h e   D e p l o y m e n t   c o n t r o l l e r )   s e t s   t h e   v a l u e   o f   t h e   m e t a d a t a . o w n e r R e f e r e n c e s   f i e l d .   Y o u   c a n   a l s o   s e t   t h e   v a l u e   o f   t h e   b l o c k O w n e r D e l ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11604"
  },
  {
    "question": "What is Note:?",
    "answer": "C r o s s - n a m e s p a c e   o w n e r   r e f e r e n c e s   a r e   d i s a l l o w e d   b y   d e s i g n .   N a m e s p a c e d   d e p e n d e n t s   c a n   s p e c i f y   c l u s t e r - s c o p e d   o r   n a m e s p a c e d   o w n e r s .   A   n a m e s p a c e d   o w n e r   m u s t   e x i s t   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   d e p e n d e n t .   I f   i t   d o e s   n o t ,   t h e   o w n e r   r e f e r e n c e   i s   t r e a t e d   a s   a b s e n t ,   a n d   t h e   d e p e n d e n t   i s   s u b j e c t   t o   d e l e t i o n   o n c e   a l l   o w n e r s   a r e   v e r i f i e d   a b s e n t .   C l u s t e r - s c o p e d   d e p e n d e n t s   c a n   o n l y   s p e c i f y   c l u s t e r - s c o p e d   o w n e r s .   I n   v 1 . 2 0 + ,   i f   a   c l u s t e r - s c o p e d   d e p e n d e n t   s p e c i f i e s   a   n a m e s p a c e d   k i n d   a s   a n   o w n e r ,   i t   i s   t r e a t e d   a s   h a v i n g   a n   u n r e s o l v a b l e   o w n e r   r e f e r e n c e ,   a n d   i s   n o t   a b l e   t o   b e   g a r b a g e   c o l l e c t e d .   I n   v 1 . 2 0 + ,   i f   t h e   g a r b a g e   c o l l e c t o r   d e t e c t s   a n   i n v a l i d   c r o s s - n a m e s p a c e   o w n e r R e f e r e n c e ,   o r   a   c l u s t e r - s c o p e d   d e p e n d e n t   w i t h   a n   o w n e r R e f e r e n c e   r e f e r e n c i n g   a   n a m e s p a c e d   k i n d ,   a   w a r n i n g   E v e n t   w i t h   a   r e a s o n   o f   O w n e r R e f I n v a l i d N a m e s p a c e   a n d   a n   i n v o l v e d O b j e c t   o f   t h e   i n v a l i d   d e p e n d e n t   i s   r e p o r t e d .   Y o u   c a n   c h e c k   f o r   t h a t   k i n d   o f   E v e n t   b y   r u n n i n g   k u b e c t l   g e t   e v e n t s   - A   - - f i e l d - s e l e c t o r = r e a s o n = O w n e r R e f I n v a l i d N a m e s p a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11605"
  },
  {
    "question": "What is Ownership and finalizers?",
    "answer": "W h e n   y o u   t e l l   K u b e r n e t e s   t o   d e l e t e   a   r e s o u r c e ,   t h e   A P I   s e r v e r   a l l o w s   t h e   m a n a g i n g   c o n t r o l l e r   t o   p r o c e s s   a n y   f i n a l i z e r   r u l e s   f o r   t h e   r e s o u r c e .   F i n a l i z e r s   p r e v e n t   a c c i d e n t a l   d e l e t i o n   o f   r e s o u r c e s   y o u r   c l u s t e r   m a y   s t i l l   n e e d   t o   f u n c t i o n   c o r r e c t l y .   F o r   e x a m p l e ,   i f   y o u   t r y   t o   d e l e t e   a   P e r s i s t e n t V o l u m e   t h a t   i s   s t i l l   i n   u s e   b y   a   P o d ,   t h e   d e l e t i o n   d o e s   n o t   h a p p e n   i m m e d i a t e l y   b e c a u s e   t h e   P e r s i s t e n t V o l u m e   h a s   t h e   k u b e r n e t e s . i o / p v - p r o t e c t i o n   f i n a l i z e r   o n   i t .   I n s t e a d ,   t h e   v o l u m e   r e m a i n s   i n   t h e   T e r m i n a t i n g   s t a t u s   u n t i l   K u b e r n e t e s   c l e a r s   t h e   f i n a l i z e r ,   w h i c h   o n l y   h a p p e n s   a f t e r   t h e   P e r s i s t e n t V o l u m e   i s   n o   l o n g e r   b o u n d   t o   a   P o d .   K u b e r n e t e s   a l s o   a d d s   f i n a l i z e r s   t o   a n   o w n e r   r e s o u r c e   w h e n   y o u   u s e   e i t h e r   f o r e g r o u n d   o r   o r p h a n   c a s c a d i n g   d e l e t i o n .   I n   f o r e g r o u n d   d e l e t i o n ,   i t   a d d s   t h e   f o r e g r o u n d   f i n a l i z e r   s o   t h a t   t h e   c o n t r o l l e r   m u s t   d e l e t e   d e p e n d e n t   r e s o u r c e s   t h a t   a l s o   h a v e   o w n e r R e f e r e n c e s . b l o c k O w n e r D e l e t i o n = t r u e   b e f o r e   i t   d e l e t e s   t h e   o w n e r .   I f   y o u   s p e c i f y   a n   o r p h a n   d e l e t i o n   p o l i c y ,   K u b e r n e t e s   a d d s   t h e   o r p h a n   f ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11606"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   K u b e r n e t e s   f i n a l i z e r s . L e a r n   a b o u t   g a r b a g e   c o l l e c t i o n . R e a d   t h e   A P I   r e f e r e n c e   f o r   o b j e c t   m e t a d a t a .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11607"
  },
  {
    "question": "What is 1.2.9 - Recommended Labels?",
    "answer": "Y o u   c a n   v i s u a l i z e   a n d   m a n a g e   K u b e r n e t e s   o b j e c t s   w i t h   m o r e   t o o l s   t h a n   k u b e c t l   a n d   t h e   d a s h b o a r d .   A   c o m m o n   s e t   o f   l a b e l s   a l l o w s   t o o l s   t o   w o r k   i n t e r o p e r a b l y ,   d e s c r i b i n g   o b j e c t s   i n   a   c o m m o n   m a n n e r   t h a t   a l l   t o o l s   c a n   u n d e r s t a n d .   I n   a d d i t i o n   t o   s u p p o r t i n g   t o o l i n g ,   t h e   r e c o m m e n d e d   l a b e l s   d e s c r i b e   a p p l i c a t i o n s   i n   a   w a y   t h a t   c a n   b e   q u e r i e d .   T h e   m e t a d a t a   i s   o r g a n i z e d   a r o u n d   t h e   c o n c e p t   o f   a n   a p p l i c a t i o n .   K u b e r n e t e s   i s   n o t   a   p l a t f o r m   a s   a   s e r v i c e   ( P a a S )   a n d   d o e s n ' t   h a v e   o r   e n f o r c e   a   f o r m a l   n o t i o n   o f   a n   a p p l i c a t i o n .   I n s t e a d ,   a p p l i c a t i o n s   a r e   i n f o r m a l   a n d   d e s c r i b e d   w i t h   m e t a d a t a .   T h e   d e f i n i t i o n   o f   w h a t   a n   a p p l i c a t i o n   c o n t a i n s   i s   l o o s e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11608"
  },
  {
    "question": "What is Note:?",
    "answer": "S h a r e d   l a b e l s   a n d   a n n o t a t i o n s   s h a r e   a   c o m m o n   p r e f i x :   a p p . k u b e r n e t e s . i o .   L a b e l s   w i t h o u t   a   p r e f i x   a r e   p r i v a t e   t o   u s e r s .   T h e   s h a r e d   p r e f i x   e n s u r e s   t h a t   s h a r e d   l a b e l s   d o   n o t   i n t e r f e r e   w i t h   c u s t o m   u s e r   l a b e l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11609"
  },
  {
    "question": "What is Labels?",
    "answer": "I n   o r d e r   t o   t a k e   f u l l   a d v a n t a g e   o f   u s i n g   t h e s e   l a b e l s ,   t h e y   s h o u l d   b e   a p p l i e d   o n   e v e r y   r e s o u r c e   o b j e c t .   T o   i l l u s t r a t e   t h e s e   l a b e l s   i n   a c t i o n ,   c o n s i d e r   t h e   f o l l o w i n g   S t a t e f u l S e t   o b j e c t :   #   T h i s   i s   a n   e x c e r p t   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   m y s q l   a p p . k u b e r n e t e s . i o / i n s t a n c e :   m y s q l - a b c x y z   a p p . k u b e r n e t e s . i o / v e r s i o n :   \" 5 . 7 . 2 1 \"   a p p . k u b e r n e t e s . i o / c o m p o n e n t :   d a t a b a s e   a p p . k u b e r n e t e s . i o / p a r t - o f :   w o r d p r e s s   a p p . k u b e r n e t e s . i o / m a n a g e d - b y :   H e l m",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11610"
  },
  {
    "question": "What is Applications And Instances Of Applications?",
    "answer": "A n   a p p l i c a t i o n   c a n   b e   i n s t a l l e d   o n e   o r   m o r e   t i m e s   i n t o   a   K u b e r n e t e s   c l u s t e r   a n d ,   i n   s o m e   c a s e s ,   t h e   s a m e   n a m e s p a c e .   F o r   e x a m p l e ,   W o r d P r e s s   c a n   b e   i n s t a l l e d   m o r e   t h a n   o n c e   w h e r e   d i f f e r e n t   w e b s i t e s   a r e   d i f f e r e n t   i n s t a l l a t i o n s   o f   W o r d P r e s s .   T h e   n a m e   o f   a n   a p p l i c a t i o n   a n d   t h e   i n s t a n c e   n a m e   a r e   r e c o r d e d   s e p a r a t e l y .   F o r   e x a m p l e ,   W o r d P r e s s   h a s   a   a p p . k u b e r n e t e s . i o / n a m e   o f   w o r d p r e s s   w h i l e   i t   h a s   a n   i n s t a n c e   n a m e ,   r e p r e s e n t e d   a s   a p p . k u b e r n e t e s . i o / i n s t a n c e   w i t h   a   v a l u e   o f   w o r d p r e s s - a b c x y z .   T h i s   e n a b l e s   t h e   a p p l i c a t i o n   a n d   i n s t a n c e   o f   t h e   a p p l i c a t i o n   t o   b e   i d e n t i f i a b l e .   E v e r y   i n s t a n c e   o f   a n   a p p l i c a t i o n   m u s t   h a v e   a   u n i q u e   n a m e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11611"
  },
  {
    "question": "What is Examples?",
    "answer": "T o   i l l u s t r a t e   d i f f e r e n t   w a y s   t o   u s e   t h e s e   l a b e l s   t h e   f o l l o w i n g   e x a m p l e s   h a v e   v a r y i n g   c o m p l e x i t y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11612"
  },
  {
    "question": "What is A Simple Stateless Service?",
    "answer": "C o n s i d e r   t h e   c a s e   f o r   a   s i m p l e   s t a t e l e s s   s e r v i c e   d e p l o y e d   u s i n g   D e p l o y m e n t   a n d   S e r v i c e   o b j e c t s .   T h e   f o l l o w i n g   t w o   s n i p p e t s   r e p r e s e n t   h o w   t h e   l a b e l s   c o u l d   b e   u s e d   i n   t h e i r   s i m p l e s t   f o r m .   T h e   D e p l o y m e n t   i s   u s e d   t o   o v e r s e e   t h e   p o d s   r u n n i n g   t h e   a p p l i c a t i o n   i t s e l f .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   m y s e r v i c e   a p p . k u b e r n e t e s . i o / i n s t a n c e :   m y s e r v i c e - a b c x y z   . . .   T h e   S e r v i c e   i s   u s e d   t o   e x p o s e   t h e   a p p l i c a t i o n .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   m y s e r v i c e   a p p . k u b e r n e t e s . i o / i n s t a n c e :   m y s e r v i c e - a b c x y z   . . .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11613"
  },
  {
    "question": "What is Web Application With A Database?",
    "answer": "C o n s i d e r   a   s l i g h t l y   m o r e   c o m p l i c a t e d   a p p l i c a t i o n :   a   w e b   a p p l i c a t i o n   ( W o r d P r e s s )   u s i n g   a   d a t a b a s e   ( M y S Q L ) ,   i n s t a l l e d   u s i n g   H e l m .   T h e   f o l l o w i n g   s n i p p e t s   i l l u s t r a t e   t h e   s t a r t   o f   o b j e c t s   u s e d   t o   d e p l o y   t h i s   a p p l i c a t i o n .   T h e   s t a r t   t o   t h e   f o l l o w i n g   D e p l o y m e n t   i s   u s e d   f o r   W o r d P r e s s :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   w o r d p r e s s   a p p . k u b e r n e t e s . i o / i n s t a n c e :   w o r d p r e s s - a b c x y z   a p p . k u b e r n e t e s . i o / v e r s i o n :   \" 4 . 9 . 4 \"   a p p . k u b e r n e t e s . i o / m a n a g e d - b y :   H e l m   a p p . k u b e r n e t e s . i o / c o m p o n e n t :   s e r v e r   a p p . k u b e r n e t e s . i o / p a r t - o f :   w o r d p r e s s   . . .   T h e   S e r v i c e   i s   u s e d   t o   e x p o s e   W o r d P r e s s :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   w o r d p r e s s   a p p . k u b e r n e t e s . i o / i n s t a n c e :   w o r d p r e s s - a b c x y z   a p p . k u b e r n e t e s . i o / v e r s i o n :   \" 4 . 9 . 4 \"   a p p . k u b e r n e t e s . i o / m a n a g e d - b y :   H e l m   a p p . k u b e r n e t e s . i o / c o m p o n e n t :   s e r v e r   a p p . k u b e r n e t e s . i o / p a r t - o f :   w o r d p r e s s   . . .   M y S Q L   i s   e x p o s e d   a s   a   S t a t e f u l S e t   w i t h   m e t a d a t a   f o r   b o t h   i t   a n d   t h e   l a r g e r   a p p l i c a t i o n   i t   b e l o n g s   t o :   a p i V e r s i o n :   a p p s / v 1   k i n d :   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11614"
  },
  {
    "question": "What is 1.3 - The Kubernetes API?",
    "answer": "T h e   c o r e   o f   K u b e r n e t e s '   c o n t r o l   p l a n e   i s   t h e   A P I   s e r v e r .   T h e   A P I   s e r v e r   e x p o s e s   a n   H T T P   A P I   t h a t   l e t s   e n d   u s e r s ,   d i f f e r e n t   p a r t s   o f   y o u r   c l u s t e r ,   a n d   e x t e r n a l   c o m p o n e n t s   c o m m u n i c a t e   w i t h   o n e   a n o t h e r .   T h e   K u b e r n e t e s   A P I   l e t s   y o u   q u e r y   a n d   m a n i p u l a t e   t h e   s t a t e   o f   A P I   o b j e c t s   i n   K u b e r n e t e s   ( f o r   e x a m p l e :   P o d s ,   N a m e s p a c e s ,   C o n f i g M a p s ,   a n d   E v e n t s ) .   M o s t   o p e r a t i o n s   c a n   b e   p e r f o r m e d   t h r o u g h   t h e   k u b e c t l   c o m m a n d - l i n e   i n t e r f a c e   o r   o t h e r   c o m m a n d - l i n e   t o o l s ,   s u c h   a s   k u b e a d m ,   w h i c h   i n   t u r n   u s e   t h e   A P I .   H o w e v e r ,   y o u   c a n   a l s o   a c c e s s   t h e   A P I   d i r e c t l y   u s i n g   R E S T   c a l l s .   K u b e r n e t e s   p r o v i d e s   a   s e t   o f   c l i e n t   l i b r a r i e s   f o r   t h o s e   l o o k i n g   t o   w r i t e   a p p l i c a t i o n s   u s i n g   t h e   K u b e r n e t e s   A P I .   E a c h   K u b e r n e t e s   c l u s t e r   p u b l i s h e s   t h e   s p e c i f i c a t i o n   o f   t h e   A P I s   t h a t   t h e   c l u s t e r   s e r v e s .   T h e r e   a r e   t w o   m e c h a n i s m s   t h a t   K u b e r n e t e s   u s e s   t o   p u b l i s h   t h e s e   A P I   s p e c i f i c a t i o n s ;   b o t h   a r e   u s e f u l   t o   e n a b l e   a u t o m a t i c   i n t e r o p e r a b i l i t y .   F o r   e x a m p l e ,   t h e   k u b e c t l   t o o l   f e t c h e s   a n d   c a c h e s   t h e   A P I   s p e c i f i c a t i o n   f o r   e n a b l i n g   c o m m a n d - l i n e   c o m p l e t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11615"
  },
  {
    "question": "What is Discovery API?",
    "answer": "K u b e r n e t e s   p u b l i s h e s   a   l i s t   o f   a l l   g r o u p   v e r s i o n s   a n d   r e s o u r c e s   s u p p o r t e d   v i a   t h e   D i s c o v e r y   A P I .   T h i s   i n c l u d e s   t h e   f o l l o w i n g   f o r   e a c h   r e s o u r c e :   N a m e C l u s t e r   o r   n a m e s p a c e d   s c o p e E n d p o i n t   U R L   a n d   s u p p o r t e d   v e r b s A l t e r n a t i v e   n a m e s G r o u p ,   v e r s i o n ,   k i n d   T h e   A P I   i s   a v a i l a b l e   i n   b o t h   a g g r e g a t e d   a n d   u n a g g r e g a t e d   f o r m .   T h e   a g g r e g a t e d   d i s c o v e r y   s e r v e s   t w o   e n d p o i n t s ,   w h i l e   t h e   u n a g g r e g a t e d   d i s c o v e r y   s e r v e s   a   s e p a r a t e   e n d p o i n t   f o r   e a c h   g r o u p   v e r s i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11616"
  },
  {
    "question": "What is Aggregated discovery?",
    "answer": "K u b e r n e t e s   o f f e r s   s t a b l e   s u p p o r t   f o r   a g g r e g a t e d   d i s c o v e r y ,   p u b l i s h i n g   a l l   r e s o u r c e s   s u p p o r t e d   b y   a   c l u s t e r   t h r o u g h   t w o   e n d p o i n t s   ( / a p i   a n d   / a p i s ) .   R e q u e s t i n g   t h i s   e n d p o i n t   d r a s t i c a l l y   r e d u c e s   t h e   n u m b e r   o f   r e q u e s t s   s e n t   t o   f e t c h   t h e   d i s c o v e r y   d a t a   f r o m   t h e   c l u s t e r .   Y o u   c a n   a c c e s s   t h e   d a t a   b y   r e q u e s t i n g   t h e   r e s p e c t i v e   e n d p o i n t s   w i t h   a n   A c c e p t   h e a d e r   i n d i c a t i n g   t h e   a g g r e g a t e d   d i s c o v e r y   r e s o u r c e :   A c c e p t :   a p p l i c a t i o n / j s o n ; v = v 2 ; g = a p i d i s c o v e r y . k 8 s . i o ; a s = A P I G r o u p D i s c o v e r y L i s t .   W i t h o u t   i n d i c a t i n g   t h e   r e s o u r c e   t y p e   u s i n g   t h e   A c c e p t   h e a d e r ,   t h e   d e f a u l t   r e s p o n s e   f o r   t h e   / a p i   a n d   / a p i s   e n d p o i n t   i s   a n   u n a g g r e g a t e d   d i s c o v e r y   d o c u m e n t .   T h e   d i s c o v e r y   d o c u m e n t   f o r   t h e   b u i l t - i n   r e s o u r c e s   c a n   b e   f o u n d   i n   t h e   K u b e r n e t e s   G i t H u b   r e p o s i t o r y .   T h i s   G i t h u b   d o c u m e n t   c a n   b e   u s e d   a s   a   r e f e r e n c e   o f   t h e   b a s e   s e t   o f   t h e   a v a i l a b l e   r e s o u r c e s   i f   a   K u b e r n e t e s   c l u s t e r   i s   n o t   a v a i l a b l e   t o   q u e r y .   T h e   e n d p o i n t   a l s o   s u p p o r t s   E T a g   a n d   p r o t o b u f   e n c o d i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11617"
  },
  {
    "question": "What is Unaggregated discovery?",
    "answer": "W i t h o u t   d i s c o v e r y   a g g r e g a t i o n ,   d i s c o v e r y   i s   p u b l i s h e d   i n   l e v e l s ,   w i t h   t h e   r o o t   e n d p o i n t s   p u b l i s h i n g   d i s c o v e r y   i n f o r m a t i o n   f o r   d o w n s t r e a m   d o c u m e n t s .   A   l i s t   o f   a l l   g r o u p   v e r s i o n s   s u p p o r t e d   b y   a   c l u s t e r   i s   p u b l i s h e d   a t   t h e   / a p i   a n d   / a p i s   e n d p o i n t s .   E x a m p l e :   {   \" k i n d \" :   \" A P I G r o u p L i s t \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" g r o u p s \" :   [   {   \" n a m e \" :   \" a p i r e g i s t r a t i o n . k 8 s . i o \" ,   \" v e r s i o n s \" :   [   {   \" g r o u p V e r s i o n \" :   \" a p i r e g i s t r a t i o n . k 8 s . i o / v 1 \" ,   \" v e r s i o n \" :   \" v 1 \"   }   ] ,   \" p r e f e r r e d V e r s i o n \" :   {   \" g r o u p V e r s i o n \" :   \" a p i r e g i s t r a t i o n . k 8 s . i o / v 1 \" ,   \" v e r s i o n \" :   \" v 1 \"   }   } ,   {   \" n a m e \" :   \" a p p s \" ,   \" v e r s i o n s \" :   [   {   \" g r o u p V e r s i o n \" :   \" a p p s / v 1 \" ,   \" v e r s i o n \" :   \" v 1 \"   }   ] ,   \" p r e f e r r e d V e r s i o n \" :   {   \" g r o u p V e r s i o n \" :   \" a p p s / v 1 \" ,   \" v e r s i o n \" :   \" v 1 \"   }   } ,   . . .   }   A d d i t i o n a l   r e q u e s t s   a r e   n e e d e d   t o   o b t a i n   t h e   d i s c o v e r y   d o c u m e n t   f o r   e a c h   g r o u p   v e r s i o n   a t   / a p i s / < g r o u p > / < v e r s i o n >   ( f o r   e x a m p l e :   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 a l p h a 1 ) ,   w h i c h   a d v e r t i s e s   t h e   l i s t   o f   r e s o u r c e s   s e r v e d   u n d e r   a   p a r t i c u l a r   g r o u p   v e r s i o n .   T h e s e   e n d p o i n t s   a r e   u s e d   b y   k u b e c t l   t o   f e t c h   t h e   l i s t   o f   r e s o u r c e s   s u p p o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11618"
  },
  {
    "question": "What is OpenAPI interface definition?",
    "answer": "F o r   d e t a i l s   a b o u t   t h e   O p e n A P I   s p e c i f i c a t i o n s ,   s e e   t h e   O p e n A P I   d o c u m e n t a t i o n .   K u b e r n e t e s   s e r v e s   b o t h   O p e n A P I   v 2 . 0   a n d   O p e n A P I   v 3 . 0 .   O p e n A P I   v 3   i s   t h e   p r e f e r r e d   m e t h o d   o f   a c c e s s i n g   t h e   O p e n A P I   b e c a u s e   i t   o f f e r s   a   m o r e   c o m p r e h e n s i v e   ( l o s s l e s s )   r e p r e s e n t a t i o n   o f   K u b e r n e t e s   r e s o u r c e s .   D u e   t o   l i m i t a t i o n s   o f   O p e n A P I   v e r s i o n   2 ,   c e r t a i n   f i e l d s   a r e   d r o p p e d   f r o m   t h e   p u b l i s h e d   O p e n A P I   i n c l u d i n g   b u t   n o t   l i m i t e d   t o   d e f a u l t ,   n u l l a b l e ,   o n e O f .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11619"
  },
  {
    "question": "What is OpenAPI V2?",
    "answer": "T h e   K u b e r n e t e s   A P I   s e r v e r   s e r v e s   a n   a g g r e g a t e d   O p e n A P I   v 2   s p e c   v i a   t h e   / o p e n a p i / v 2   e n d p o i n t .   Y o u   c a n   r e q u e s t   t h e   r e s p o n s e   f o r m a t   u s i n g   r e q u e s t   h e a d e r s   a s   f o l l o w s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11620"
  },
  {
    "question": "What is OpenAPI V3?",
    "answer": "K u b e r n e t e s   s u p p o r t s   p u b l i s h i n g   a   d e s c r i p t i o n   o f   i t s   A P I s   a s   O p e n A P I   v 3 .   A   d i s c o v e r y   e n d p o i n t   / o p e n a p i / v 3   i s   p r o v i d e d   t o   s e e   a   l i s t   o f   a l l   g r o u p / v e r s i o n s   a v a i l a b l e .   T h i s   e n d p o i n t   o n l y   r e t u r n s   J S O N .   T h e s e   g r o u p / v e r s i o n s   a r e   p r o v i d e d   i n   t h e   f o l l o w i n g   f o r m a t :   {   \" p a t h s \" :   {   . . . ,   \" a p i / v 1 \" :   {   \" s e r v e r R e l a t i v e U R L \" :   \" / o p e n a p i / v 3 / a p i / v 1 ? h a s h = C C 0 E 9 B F D 9 9 2 D 8 C 5 9 A E C 9 8 A 1 E 2 3 3 6 F 8 9 9 E 8 3 1 8 D 3 C F 4 C 6 8 9 4 4 C 3 D E C 6 4 0 A F 5 A B 5 2 D 8 6 4 A C 5 0 D A A 8 D 1 4 5 B 3 4 9 4 F 7 5 F A 3 C F F 9 3 9 F C B D D A 4 3 1 D A D 3 C A 7 9 7 3 8 B 2 9 7 7 9 5 8 1 8 C F \"   } ,   \" a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 \" :   {   \" s e r v e r R e l a t i v e U R L \" :   \" / o p e n a p i / v 3 / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 ? h a s h = E 1 9 C C 9 3 A 1 1 6 9 8 2 C E 5 4 2 2 F C 4 2 B 5 9 0 A 8 A F A D 9 2 C D E 9 A E 4 D 5 9 B 5 C A A D 5 6 8 F 0 8 3 A D 0 7 9 4 6 E 6 C B 5 8 1 7 5 3 1 6 8 0 B C E 6 E 2 1 5 C 1 6 9 7 3 C D 3 9 0 0 3 B 0 4 2 5 F 3 4 7 7 C F D 8 5 4 E 8 9 A 9 D B 6 5 9 7 \"   } ,   . . . .   }   }   T h e   r e l a t i v e   U R L s   a r e   p o i n t i n g   t o   i m m u t a b l e   O p e n A P I   d e s c r i p t i o n s ,   i n   o r d e r   t o   i m p r o v e   c l i e n t - s i d e   c a c h i n g .   T h e   p r o p e r   H T T P   c a c h i n g   h e a d e r s   a r e   a l s o   s e t   b y   t h e   A P I   s e r v e r   f o r   t h a t   p u r p o s e   ( E x p i r e s   t o   1   y e a r   i n   t h e   f u t u r e ,   a n d   C a c h e - C o n t r o l   t o   i m m u t a b l e ) .   W h e n   a n   o b s o l e t e   U R L   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11621"
  },
  {
    "question": "What is Protobuf serialization?",
    "answer": "K u b e r n e t e s   i m p l e m e n t s   a n   a l t e r n a t i v e   P r o t o b u f   b a s e d   s e r i a l i z a t i o n   f o r m a t   t h a t   i s   p r i m a r i l y   i n t e n d e d   f o r   i n t r a - c l u s t e r   c o m m u n i c a t i o n .   F o r   m o r e   i n f o r m a t i o n   a b o u t   t h i s   f o r m a t ,   s e e   t h e   K u b e r n e t e s   P r o t o b u f   s e r i a l i z a t i o n   d e s i g n   p r o p o s a l   a n d   t h e   I n t e r f a c e   D e f i n i t i o n   L a n g u a g e   ( I D L )   f i l e s   f o r   e a c h   s c h e m a   l o c a t e d   i n   t h e   G o   p a c k a g e s   t h a t   d e f i n e   t h e   A P I   o b j e c t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11622"
  },
  {
    "question": "What is Persistence?",
    "answer": "K u b e r n e t e s   s t o r e s   t h e   s e r i a l i z e d   s t a t e   o f   o b j e c t s   b y   w r i t i n g   t h e m   i n t o   e t c d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11623"
  },
  {
    "question": "What is API groups and versioning?",
    "answer": "T o   m a k e   i t   e a s i e r   t o   e l i m i n a t e   f i e l d s   o r   r e s t r u c t u r e   r e s o u r c e   r e p r e s e n t a t i o n s ,   K u b e r n e t e s   s u p p o r t s   m u l t i p l e   A P I   v e r s i o n s ,   e a c h   a t   a   d i f f e r e n t   A P I   p a t h ,   s u c h   a s   / a p i / v 1   o r   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 a l p h a 1 .   V e r s i o n i n g   i s   d o n e   a t   t h e   A P I   l e v e l   r a t h e r   t h a n   a t   t h e   r e s o u r c e   o r   f i e l d   l e v e l   t o   e n s u r e   t h a t   t h e   A P I   p r e s e n t s   a   c l e a r ,   c o n s i s t e n t   v i e w   o f   s y s t e m   r e s o u r c e s   a n d   b e h a v i o r ,   a n d   t o   e n a b l e   c o n t r o l l i n g   a c c e s s   t o   e n d - o f - l i f e   a n d / o r   e x p e r i m e n t a l   A P I s .   T o   m a k e   i t   e a s i e r   t o   e v o l v e   a n d   t o   e x t e n d   i t s   A P I ,   K u b e r n e t e s   i m p l e m e n t s   A P I   g r o u p s   t h a t   c a n   b e   e n a b l e d   o r   d i s a b l e d .   A P I   r e s o u r c e s   a r e   d i s t i n g u i s h e d   b y   t h e i r   A P I   g r o u p ,   r e s o u r c e   t y p e ,   n a m e s p a c e   ( f o r   n a m e s p a c e d   r e s o u r c e s ) ,   a n d   n a m e .   T h e   A P I   s e r v e r   h a n d l e s   t h e   c o n v e r s i o n   b e t w e e n   A P I   v e r s i o n s   t r a n s p a r e n t l y :   a l l   t h e   d i f f e r e n t   v e r s i o n s   a r e   a c t u a l l y   r e p r e s e n t a t i o n s   o f   t h e   s a m e   p e r s i s t e d   d a t a .   T h e   A P I   s e r v e r   m a y   s e r v e   t h e   s a m e   u n d e r l y i n g   d a t a   t h r o u g h   m u l t i p l e   A P I   v e r s i o n s .   F o r   e x a m p l e ,   s u p p o s e   t h e r e   a r e   t w o   A P I   v e r s i o n s ,   v 1   a n d   v 1 b e t a 1 ,   f o r   t h e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11624"
  },
  {
    "question": "What is API changes?",
    "answer": "A n y   s y s t e m   t h a t   i s   s u c c e s s f u l   n e e d s   t o   g r o w   a n d   c h a n g e   a s   n e w   u s e   c a s e s   e m e r g e   o r   e x i s t i n g   o n e s   c h a n g e .   T h e r e f o r e ,   K u b e r n e t e s   h a s   d e s i g n e d   t h e   K u b e r n e t e s   A P I   t o   c o n t i n u o u s l y   c h a n g e   a n d   g r o w .   T h e   K u b e r n e t e s   p r o j e c t   a i m s   t o   n o t   b r e a k   c o m p a t i b i l i t y   w i t h   e x i s t i n g   c l i e n t s ,   a n d   t o   m a i n t a i n   t h a t   c o m p a t i b i l i t y   f o r   a   l e n g t h   o f   t i m e   s o   t h a t   o t h e r   p r o j e c t s   h a v e   a n   o p p o r t u n i t y   t o   a d a p t .   I n   g e n e r a l ,   n e w   A P I   r e s o u r c e s   a n d   n e w   r e s o u r c e   f i e l d s   c a n   b e   a d d e d   o f t e n   a n d   f r e q u e n t l y .   E l i m i n a t i o n   o f   r e s o u r c e s   o r   f i e l d s   r e q u i r e s   f o l l o w i n g   t h e   A P I   d e p r e c a t i o n   p o l i c y .   K u b e r n e t e s   m a k e s   a   s t r o n g   c o m m i t m e n t   t o   m a i n t a i n   c o m p a t i b i l i t y   f o r   o f f i c i a l   K u b e r n e t e s   A P I s   o n c e   t h e y   r e a c h   g e n e r a l   a v a i l a b i l i t y   ( G A ) ,   t y p i c a l l y   a t   A P I   v e r s i o n   v 1 .   A d d i t i o n a l l y ,   K u b e r n e t e s   m a i n t a i n s   c o m p a t i b i l i t y   w i t h   d a t a   p e r s i s t e d   v i a   b e t a   A P I   v e r s i o n s   o f   o f f i c i a l   K u b e r n e t e s   A P I s ,   a n d   e n s u r e s   t h a t   d a t a   c a n   b e   c o n v e r t e d   a n d   a c c e s s e d   v i a   G A   A P I   v e r s i o n s   w h e n   t h e   f e a t u r e   g o e s   s t a b l e .   I f   y o u   a d o p t   a   b e t a   A P I   v e r s i o n ,   y o u   w i l l   n e e d   t o   t r a n s i t i o n   t o   a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11625"
  },
  {
    "question": "What is Note:?",
    "answer": "R e f e r   t o   A P I   v e r s i o n s   r e f e r e n c e   f o r   m o r e   d e t a i l s   o n   t h e   A P I   v e r s i o n   l e v e l   d e f i n i t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11626"
  },
  {
    "question": "What is API Extension?",
    "answer": "T h e   K u b e r n e t e s   A P I   c a n   b e   e x t e n d e d   i n   o n e   o f   t w o   w a y s :   C u s t o m   r e s o u r c e s   l e t   y o u   d e c l a r a t i v e l y   d e f i n e   h o w   t h e   A P I   s e r v e r   s h o u l d   p r o v i d e   y o u r   c h o s e n   r e s o u r c e   A P I . Y o u   c a n   a l s o   e x t e n d   t h e   K u b e r n e t e s   A P I   b y   i m p l e m e n t i n g   a n   a g g r e g a t i o n   l a y e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11627"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   e x t e n d   t h e   K u b e r n e t e s   A P I   b y   a d d i n g   y o u r   o w n   C u s t o m R e s o u r c e D e f i n i t i o n . C o n t r o l l i n g   A c c e s s   T o   T h e   K u b e r n e t e s   A P I   d e s c r i b e s   h o w   t h e   c l u s t e r   m a n a g e s   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n   f o r   A P I   a c c e s s . L e a r n   a b o u t   A P I   e n d p o i n t s ,   r e s o u r c e   t y p e s   a n d   s a m p l e s   b y   r e a d i n g   A P I   R e f e r e n c e . L e a r n   a b o u t   w h a t   c o n s t i t u t e s   a   c o m p a t i b l e   c h a n g e ,   a n d   h o w   t o   c h a n g e   t h e   A P I ,   f r o m   A P I   c h a n g e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11628"
  },
  {
    "question": "What is 2 - Cluster Architecture?",
    "answer": "A   K u b e r n e t e s   c l u s t e r   c o n s i s t s   o f   a   c o n t r o l   p l a n e   p l u s   a   s e t   o f   w o r k e r   m a c h i n e s ,   c a l l e d   n o d e s ,   t h a t   r u n   c o n t a i n e r i z e d   a p p l i c a t i o n s .   E v e r y   c l u s t e r   n e e d s   a t   l e a s t   o n e   w o r k e r   n o d e   i n   o r d e r   t o   r u n   P o d s .   T h e   w o r k e r   n o d e ( s )   h o s t   t h e   P o d s   t h a t   a r e   t h e   c o m p o n e n t s   o f   t h e   a p p l i c a t i o n   w o r k l o a d .   T h e   c o n t r o l   p l a n e   m a n a g e s   t h e   w o r k e r   n o d e s   a n d   t h e   P o d s   i n   t h e   c l u s t e r .   I n   p r o d u c t i o n   e n v i r o n m e n t s ,   t h e   c o n t r o l   p l a n e   u s u a l l y   r u n s   a c r o s s   m u l t i p l e   c o m p u t e r s   a n d   a   c l u s t e r   u s u a l l y   r u n s   m u l t i p l e   n o d e s ,   p r o v i d i n g   f a u l t - t o l e r a n c e   a n d   h i g h   a v a i l a b i l i t y .   T h i s   d o c u m e n t   o u t l i n e s   t h e   v a r i o u s   c o m p o n e n t s   y o u   n e e d   t o   h a v e   f o r   a   c o m p l e t e   a n d   w o r k i n g   K u b e r n e t e s   c l u s t e r .   F i g u r e   1 .   K u b e r n e t e s   c l u s t e r   c o m p o n e n t s .   T h e   d i a g r a m   i n   F i g u r e   1   p r e s e n t s   a n   e x a m p l e   r e f e r e n c e   a r c h i t e c t u r e   f o r   a   K u b e r n e t e s   c l u s t e r .   T h e   a c t u a l   d i s t r i b u t i o n   o f   c o m p o n e n t s   c a n   v a r y   b a s e d   o n   s p e c i f i c   c l u s t e r   s e t u p s   a n d   r e q u i r e m e n t s .   I n   t h e   d i a g r a m ,   e a c h   n o d e   r u n s   t h e   k u b e - p r o x y   c o m p o n e n t .   Y o u   n e e d   a   n e t w o r k   p r o x y   c o m p o n e n t   o n   e a c h   n o d e   t o   e n s u r e   t h a t   t h e   S ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11629"
  },
  {
    "question": "What is Control plane components?",
    "answer": "T h e   c o n t r o l   p l a n e ' s   c o m p o n e n t s   m a k e   g l o b a l   d e c i s i o n s   a b o u t   t h e   c l u s t e r   ( f o r   e x a m p l e ,   s c h e d u l i n g ) ,   a s   w e l l   a s   d e t e c t i n g   a n d   r e s p o n d i n g   t o   c l u s t e r   e v e n t s   ( f o r   e x a m p l e ,   s t a r t i n g   u p   a   n e w   p o d   w h e n   a   D e p l o y m e n t ' s   r e p l i c a s   f i e l d   i s   u n s a t i s f i e d ) .   C o n t r o l   p l a n e   c o m p o n e n t s   c a n   b e   r u n   o n   a n y   m a c h i n e   i n   t h e   c l u s t e r .   H o w e v e r ,   f o r   s i m p l i c i t y ,   s e t u p   s c r i p t s   t y p i c a l l y   s t a r t   a l l   c o n t r o l   p l a n e   c o m p o n e n t s   o n   t h e   s a m e   m a c h i n e ,   a n d   d o   n o t   r u n   u s e r   c o n t a i n e r s   o n   t h i s   m a c h i n e .   S e e   C r e a t i n g   H i g h l y   A v a i l a b l e   c l u s t e r s   w i t h   k u b e a d m   f o r   a n   e x a m p l e   c o n t r o l   p l a n e   s e t u p   t h a t   r u n s   a c r o s s   m u l t i p l e   m a c h i n e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11630"
  },
  {
    "question": "What is kube-apiserver?",
    "answer": "T h e   A P I   s e r v e r   i s   a   c o m p o n e n t   o f   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   t h a t   e x p o s e s   t h e   K u b e r n e t e s   A P I .   T h e   A P I   s e r v e r   i s   t h e   f r o n t   e n d   f o r   t h e   K u b e r n e t e s   c o n t r o l   p l a n e .   T h e   m a i n   i m p l e m e n t a t i o n   o f   a   K u b e r n e t e s   A P I   s e r v e r   i s   k u b e - a p i s e r v e r .   k u b e - a p i s e r v e r   i s   d e s i g n e d   t o   s c a l e   h o r i z o n t a l l y — t h a t   i s ,   i t   s c a l e s   b y   d e p l o y i n g   m o r e   i n s t a n c e s .   Y o u   c a n   r u n   s e v e r a l   i n s t a n c e s   o f   k u b e - a p i s e r v e r   a n d   b a l a n c e   t r a f f i c   b e t w e e n   t h o s e   i n s t a n c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11631"
  },
  {
    "question": "What is etcd?",
    "answer": "C o n s i s t e n t   a n d   h i g h l y - a v a i l a b l e   k e y   v a l u e   s t o r e   u s e d   a s   K u b e r n e t e s '   b a c k i n g   s t o r e   f o r   a l l   c l u s t e r   d a t a .   I f   y o u r   K u b e r n e t e s   c l u s t e r   u s e s   e t c d   a s   i t s   b a c k i n g   s t o r e ,   m a k e   s u r e   y o u   h a v e   a   b a c k   u p   p l a n   f o r   t h e   d a t a .   Y o u   c a n   f i n d   i n - d e p t h   i n f o r m a t i o n   a b o u t   e t c d   i n   t h e   o f f i c i a l   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11632"
  },
  {
    "question": "What is kube-scheduler?",
    "answer": "C o n t r o l   p l a n e   c o m p o n e n t   t h a t   w a t c h e s   f o r   n e w l y   c r e a t e d   P o d s   w i t h   n o   a s s i g n e d   n o d e ,   a n d   s e l e c t s   a   n o d e   f o r   t h e m   t o   r u n   o n .   F a c t o r s   t a k e n   i n t o   a c c o u n t   f o r   s c h e d u l i n g   d e c i s i o n s   i n c l u d e :   i n d i v i d u a l   a n d   c o l l e c t i v e   r e s o u r c e   r e q u i r e m e n t s ,   h a r d w a r e / s o f t w a r e / p o l i c y   c o n s t r a i n t s ,   a f f i n i t y   a n d   a n t i - a f f i n i t y   s p e c i f i c a t i o n s ,   d a t a   l o c a l i t y ,   i n t e r - w o r k l o a d   i n t e r f e r e n c e ,   a n d   d e a d l i n e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11633"
  },
  {
    "question": "What is kube-controller-manager?",
    "answer": "C o n t r o l   p l a n e   c o m p o n e n t   t h a t   r u n s   c o n t r o l l e r   p r o c e s s e s .   L o g i c a l l y ,   e a c h   c o n t r o l l e r   i s   a   s e p a r a t e   p r o c e s s ,   b u t   t o   r e d u c e   c o m p l e x i t y ,   t h e y   a r e   a l l   c o m p i l e d   i n t o   a   s i n g l e   b i n a r y   a n d   r u n   i n   a   s i n g l e   p r o c e s s .   T h e r e   a r e   m a n y   d i f f e r e n t   t y p e s   o f   c o n t r o l l e r s .   S o m e   e x a m p l e s   o f   t h e m   a r e :   N o d e   c o n t r o l l e r :   R e s p o n s i b l e   f o r   n o t i c i n g   a n d   r e s p o n d i n g   w h e n   n o d e s   g o   d o w n . J o b   c o n t r o l l e r :   W a t c h e s   f o r   J o b   o b j e c t s   t h a t   r e p r e s e n t   o n e - o f f   t a s k s ,   t h e n   c r e a t e s   P o d s   t o   r u n   t h o s e   t a s k s   t o   c o m p l e t i o n . E n d p o i n t S l i c e   c o n t r o l l e r :   P o p u l a t e s   E n d p o i n t S l i c e   o b j e c t s   ( t o   p r o v i d e   a   l i n k   b e t w e e n   S e r v i c e s   a n d   P o d s ) . S e r v i c e A c c o u n t   c o n t r o l l e r :   C r e a t e   d e f a u l t   S e r v i c e A c c o u n t s   f o r   n e w   n a m e s p a c e s .   T h e   a b o v e   i s   n o t   a n   e x h a u s t i v e   l i s t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11634"
  },
  {
    "question": "What is cloud-controller-manager?",
    "answer": "T h e   c l o u d - c o n t r o l l e r - m a n a g e r   o n l y   r u n s   c o n t r o l l e r s   t h a t   a r e   s p e c i f i c   t o   y o u r   c l o u d   p r o v i d e r .   I f   y o u   a r e   r u n n i n g   K u b e r n e t e s   o n   y o u r   o w n   p r e m i s e s ,   o r   i n   a   l e a r n i n g   e n v i r o n m e n t   i n s i d e   y o u r   o w n   P C ,   t h e   c l u s t e r   d o e s   n o t   h a v e   a   c l o u d   c o n t r o l l e r   m a n a g e r .   A s   w i t h   t h e   k u b e - c o n t r o l l e r - m a n a g e r ,   t h e   c l o u d - c o n t r o l l e r - m a n a g e r   c o m b i n e s   s e v e r a l   l o g i c a l l y   i n d e p e n d e n t   c o n t r o l   l o o p s   i n t o   a   s i n g l e   b i n a r y   t h a t   y o u   r u n   a s   a   s i n g l e   p r o c e s s .   Y o u   c a n   s c a l e   h o r i z o n t a l l y   ( r u n   m o r e   t h a n   o n e   c o p y )   t o   i m p r o v e   p e r f o r m a n c e   o r   t o   h e l p   t o l e r a t e   f a i l u r e s .   T h e   f o l l o w i n g   c o n t r o l l e r s   c a n   h a v e   c l o u d   p r o v i d e r   d e p e n d e n c i e s :   N o d e   c o n t r o l l e r :   F o r   c h e c k i n g   t h e   c l o u d   p r o v i d e r   t o   d e t e r m i n e   i f   a   n o d e   h a s   b e e n   d e l e t e d   i n   t h e   c l o u d   a f t e r   i t   s t o p s   r e s p o n d i n g R o u t e   c o n t r o l l e r :   F o r   s e t t i n g   u p   r o u t e s   i n   t h e   u n d e r l y i n g   c l o u d   i n f r a s t r u c t u r e S e r v i c e   c o n t r o l l e r :   F o r   c r e a t i n g ,   u p d a t i n g   a n d   d e l e t i n g   c l o u d   p r o v i d e r   l o a d   b a l a n c e r s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11635"
  },
  {
    "question": "What is Node components?",
    "answer": "N o d e   c o m p o n e n t s   r u n   o n   e v e r y   n o d e ,   m a i n t a i n i n g   r u n n i n g   p o d s   a n d   p r o v i d i n g   t h e   K u b e r n e t e s   r u n t i m e   e n v i r o n m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11636"
  },
  {
    "question": "What is kubelet?",
    "answer": "A n   a g e n t   t h a t   r u n s   o n   e a c h   n o d e   i n   t h e   c l u s t e r .   I t   m a k e s   s u r e   t h a t   c o n t a i n e r s   a r e   r u n n i n g   i n   a   P o d .   T h e   k u b e l e t   t a k e s   a   s e t   o f   P o d S p e c s   t h a t   a r e   p r o v i d e d   t h r o u g h   v a r i o u s   m e c h a n i s m s   a n d   e n s u r e s   t h a t   t h e   c o n t a i n e r s   d e s c r i b e d   i n   t h o s e   P o d S p e c s   a r e   r u n n i n g   a n d   h e a l t h y .   T h e   k u b e l e t   d o e s n ' t   m a n a g e   c o n t a i n e r s   w h i c h   w e r e   n o t   c r e a t e d   b y   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11637"
  },
  {
    "question": "What is kube-proxy (optional)?",
    "answer": "k u b e - p r o x y   i s   a   n e t w o r k   p r o x y   t h a t   r u n s   o n   e a c h   n o d e   i n   y o u r   c l u s t e r ,   i m p l e m e n t i n g   p a r t   o f   t h e   K u b e r n e t e s   S e r v i c e   c o n c e p t . k u b e - p r o x y   m a i n t a i n s   n e t w o r k   r u l e s   o n   n o d e s .   T h e s e   n e t w o r k   r u l e s   a l l o w   n e t w o r k   c o m m u n i c a t i o n   t o   y o u r   P o d s   f r o m   n e t w o r k   s e s s i o n s   i n s i d e   o r   o u t s i d e   o f   y o u r   c l u s t e r . k u b e - p r o x y   u s e s   t h e   o p e r a t i n g   s y s t e m   p a c k e t   f i l t e r i n g   l a y e r   i f   t h e r e   i s   o n e   a n d   i t ' s   a v a i l a b l e .   O t h e r w i s e ,   k u b e - p r o x y   f o r w a r d s   t h e   t r a f f i c   i t s e l f . I f   y o u   u s e   a   n e t w o r k   p l u g i n   t h a t   i m p l e m e n t s   p a c k e t   f o r w a r d i n g   f o r   S e r v i c e s   b y   i t s e l f ,   a n d   p r o v i d i n g   e q u i v a l e n t   b e h a v i o r   t o   k u b e - p r o x y ,   t h e n   y o u   d o   n o t   n e e d   t o   r u n   k u b e - p r o x y   o n   t h e   n o d e s   i n   y o u r   c l u s t e r .   k u b e - p r o x y   i s   a   n e t w o r k   p r o x y   t h a t   r u n s   o n   e a c h   n o d e   i n   y o u r   c l u s t e r ,   i m p l e m e n t i n g   p a r t   o f   t h e   K u b e r n e t e s   S e r v i c e   c o n c e p t .   k u b e - p r o x y   m a i n t a i n s   n e t w o r k   r u l e s   o n   n o d e s .   T h e s e   n e t w o r k   r u l e s   a l l o w   n e t w o r k   c o m m u n i c a t i o n   t o   y o u r   P o d s   f r o m   n e t w o r k   s e s s i o n s   i n s i d e   o r   o u t s i d e   o f   y o u r   c l u s t e r .   k u b e - p r o x y   u s e s   t h e   o p e r a t i n g   s y s t e m   p a c k e t   f i l t e r i n g   l a y e r   i f   t h e r e   i s   o n e   a n d   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11638"
  },
  {
    "question": "What is Container runtime?",
    "answer": "A   f u n d a m e n t a l   c o m p o n e n t   t h a t   e m p o w e r s   K u b e r n e t e s   t o   r u n   c o n t a i n e r s   e f f e c t i v e l y .   I t   i s   r e s p o n s i b l e   f o r   m a n a g i n g   t h e   e x e c u t i o n   a n d   l i f e c y c l e   o f   c o n t a i n e r s   w i t h i n   t h e   K u b e r n e t e s   e n v i r o n m e n t .   K u b e r n e t e s   s u p p o r t s   c o n t a i n e r   r u n t i m e s   s u c h   a s   c o n t a i n e r d ,   C R I - O ,   a n d   a n y   o t h e r   i m p l e m e n t a t i o n   o f   t h e   K u b e r n e t e s   C R I   ( C o n t a i n e r   R u n t i m e   I n t e r f a c e ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11639"
  },
  {
    "question": "What is Addons?",
    "answer": "A d d o n s   u s e   K u b e r n e t e s   r e s o u r c e s   ( D a e m o n S e t ,   D e p l o y m e n t ,   e t c )   t o   i m p l e m e n t   c l u s t e r   f e a t u r e s .   B e c a u s e   t h e s e   a r e   p r o v i d i n g   c l u s t e r - l e v e l   f e a t u r e s ,   n a m e s p a c e d   r e s o u r c e s   f o r   a d d o n s   b e l o n g   w i t h i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   S e l e c t e d   a d d o n s   a r e   d e s c r i b e d   b e l o w ;   f o r   a n   e x t e n d e d   l i s t   o f   a v a i l a b l e   a d d o n s ,   p l e a s e   s e e   A d d o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11640"
  },
  {
    "question": "What is DNS?",
    "answer": "W h i l e   t h e   o t h e r   a d d o n s   a r e   n o t   s t r i c t l y   r e q u i r e d ,   a l l   K u b e r n e t e s   c l u s t e r s   s h o u l d   h a v e   c l u s t e r   D N S ,   a s   m a n y   e x a m p l e s   r e l y   o n   i t .   C l u s t e r   D N S   i s   a   D N S   s e r v e r ,   i n   a d d i t i o n   t o   t h e   o t h e r   D N S   s e r v e r ( s )   i n   y o u r   e n v i r o n m e n t ,   w h i c h   s e r v e s   D N S   r e c o r d s   f o r   K u b e r n e t e s   s e r v i c e s .   C o n t a i n e r s   s t a r t e d   b y   K u b e r n e t e s   a u t o m a t i c a l l y   i n c l u d e   t h i s   D N S   s e r v e r   i n   t h e i r   D N S   s e a r c h e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11641"
  },
  {
    "question": "What is Web UI (Dashboard)?",
    "answer": "D a s h b o a r d   i s   a   g e n e r a l   p u r p o s e ,   w e b - b a s e d   U I   f o r   K u b e r n e t e s   c l u s t e r s .   I t   a l l o w s   u s e r s   t o   m a n a g e   a n d   t r o u b l e s h o o t   a p p l i c a t i o n s   r u n n i n g   i n   t h e   c l u s t e r ,   a s   w e l l   a s   t h e   c l u s t e r   i t s e l f .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11642"
  },
  {
    "question": "What is Container resource monitoring?",
    "answer": "C o n t a i n e r   R e s o u r c e   M o n i t o r i n g   r e c o r d s   g e n e r i c   t i m e - s e r i e s   m e t r i c s   a b o u t   c o n t a i n e r s   i n   a   c e n t r a l   d a t a b a s e ,   a n d   p r o v i d e s   a   U I   f o r   b r o w s i n g   t h a t   d a t a .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11643"
  },
  {
    "question": "What is Cluster-level Logging?",
    "answer": "A   c l u s t e r - l e v e l   l o g g i n g   m e c h a n i s m   i s   r e s p o n s i b l e   f o r   s a v i n g   c o n t a i n e r   l o g s   t o   a   c e n t r a l   l o g   s t o r e   w i t h   a   s e a r c h / b r o w s i n g   i n t e r f a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11644"
  },
  {
    "question": "What is Network plugins?",
    "answer": "N e t w o r k   p l u g i n s   a r e   s o f t w a r e   c o m p o n e n t s   t h a t   i m p l e m e n t   t h e   c o n t a i n e r   n e t w o r k   i n t e r f a c e   ( C N I )   s p e c i f i c a t i o n .   T h e y   a r e   r e s p o n s i b l e   f o r   a l l o c a t i n g   I P   a d d r e s s e s   t o   p o d s   a n d   e n a b l i n g   t h e m   t o   c o m m u n i c a t e   w i t h   e a c h   o t h e r   w i t h i n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11645"
  },
  {
    "question": "What is Architecture variations?",
    "answer": "W h i l e   t h e   c o r e   c o m p o n e n t s   o f   K u b e r n e t e s   r e m a i n   c o n s i s t e n t ,   t h e   w a y   t h e y   a r e   d e p l o y e d   a n d   m a n a g e d   c a n   v a r y .   U n d e r s t a n d i n g   t h e s e   v a r i a t i o n s   i s   c r u c i a l   f o r   d e s i g n i n g   a n d   m a i n t a i n i n g   K u b e r n e t e s   c l u s t e r s   t h a t   m e e t   s p e c i f i c   o p e r a t i o n a l   n e e d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11646"
  },
  {
    "question": "What is Control plane deployment options?",
    "answer": "T h e   c o n t r o l   p l a n e   c o m p o n e n t s   c a n   b e   d e p l o y e d   i n   s e v e r a l   w a y s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11647"
  },
  {
    "question": "What is Workload placement considerations?",
    "answer": "T h e   p l a c e m e n t   o f   w o r k l o a d s ,   i n c l u d i n g   t h e   c o n t r o l   p l a n e   c o m p o n e n t s ,   c a n   v a r y   b a s e d   o n   c l u s t e r   s i z e ,   p e r f o r m a n c e   r e q u i r e m e n t s ,   a n d   o p e r a t i o n a l   p o l i c i e s :   I n   s m a l l e r   o r   d e v e l o p m e n t   c l u s t e r s ,   c o n t r o l   p l a n e   c o m p o n e n t s   a n d   u s e r   w o r k l o a d s   m i g h t   r u n   o n   t h e   s a m e   n o d e s . L a r g e r   p r o d u c t i o n   c l u s t e r s   o f t e n   d e d i c a t e   s p e c i f i c   n o d e s   t o   c o n t r o l   p l a n e   c o m p o n e n t s ,   s e p a r a t i n g   t h e m   f r o m   u s e r   w o r k l o a d s . S o m e   o r g a n i z a t i o n s   r u n   c r i t i c a l   a d d - o n s   o r   m o n i t o r i n g   t o o l s   o n   c o n t r o l   p l a n e   n o d e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11648"
  },
  {
    "question": "What is Cluster management tools?",
    "answer": "T o o l s   l i k e   k u b e a d m ,   k o p s ,   a n d   K u b e s p r a y   o f f e r   d i f f e r e n t   a p p r o a c h e s   t o   d e p l o y i n g   a n d   m a n a g i n g   c l u s t e r s ,   e a c h   w i t h   i t s   o w n   m e t h o d   o f   c o m p o n e n t   l a y o u t   a n d   m a n a g e m e n t .   T h e   f l e x i b i l i t y   o f   K u b e r n e t e s   a r c h i t e c t u r e   a l l o w s   o r g a n i z a t i o n s   t o   t a i l o r   t h e i r   c l u s t e r s   t o   s p e c i f i c   n e e d s ,   b a l a n c i n g   f a c t o r s   s u c h   a s   o p e r a t i o n a l   c o m p l e x i t y ,   p e r f o r m a n c e ,   a n d   m a n a g e m e n t   o v e r h e a d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11649"
  },
  {
    "question": "What is Customization and extensibility?",
    "answer": "K u b e r n e t e s   a r c h i t e c t u r e   a l l o w s   f o r   s i g n i f i c a n t   c u s t o m i z a t i o n :   C u s t o m   s c h e d u l e r s   c a n   b e   d e p l o y e d   t o   w o r k   a l o n g s i d e   t h e   d e f a u l t   K u b e r n e t e s   s c h e d u l e r   o r   t o   r e p l a c e   i t   e n t i r e l y . A P I   s e r v e r s   c a n   b e   e x t e n d e d   w i t h   C u s t o m R e s o u r c e D e f i n i t i o n s   a n d   A P I   A g g r e g a t i o n . C l o u d   p r o v i d e r s   c a n   i n t e g r a t e   d e e p l y   w i t h   K u b e r n e t e s   u s i n g   t h e   c l o u d - c o n t r o l l e r - m a n a g e r .   T h e   f l e x i b i l i t y   o f   K u b e r n e t e s   a r c h i t e c t u r e   a l l o w s   o r g a n i z a t i o n s   t o   t a i l o r   t h e i r   c l u s t e r s   t o   s p e c i f i c   n e e d s ,   b a l a n c i n g   f a c t o r s   s u c h   a s   o p e r a t i o n a l   c o m p l e x i t y ,   p e r f o r m a n c e ,   a n d   m a n a g e m e n t   o v e r h e a d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11650"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   t h e   f o l l o w i n g :   N o d e s   a n d   t h e i r   c o m m u n i c a t i o n   w i t h   t h e   c o n t r o l   p l a n e . K u b e r n e t e s   c o n t r o l l e r s . k u b e - s c h e d u l e r   w h i c h   i s   t h e   d e f a u l t   s c h e d u l e r   f o r   K u b e r n e t e s . E t c d ' s   o f f i c i a l   d o c u m e n t a t i o n . S e v e r a l   c o n t a i n e r   r u n t i m e s   i n   K u b e r n e t e s . I n t e g r a t i n g   w i t h   c l o u d   p r o v i d e r s   u s i n g   c l o u d - c o n t r o l l e r - m a n a g e r . k u b e c t l   c o m m a n d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11651"
  },
  {
    "question": "What is 2.1 - Nodes?",
    "answer": "K u b e r n e t e s   r u n s   y o u r   w o r k l o a d   b y   p l a c i n g   c o n t a i n e r s   i n t o   P o d s   t o   r u n   o n   N o d e s .   A   n o d e   m a y   b e   a   v i r t u a l   o r   p h y s i c a l   m a c h i n e ,   d e p e n d i n g   o n   t h e   c l u s t e r .   E a c h   n o d e   i s   m a n a g e d   b y   t h e   c o n t r o l   p l a n e   a n d   c o n t a i n s   t h e   s e r v i c e s   n e c e s s a r y   t o   r u n   P o d s .   T y p i c a l l y   y o u   h a v e   s e v e r a l   n o d e s   i n   a   c l u s t e r ;   i n   a   l e a r n i n g   o r   r e s o u r c e - l i m i t e d   e n v i r o n m e n t ,   y o u   m i g h t   h a v e   o n l y   o n e   n o d e .   T h e   c o m p o n e n t s   o n   a   n o d e   i n c l u d e   t h e   k u b e l e t ,   a   c o n t a i n e r   r u n t i m e ,   a n d   t h e   k u b e - p r o x y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11652"
  },
  {
    "question": "What is Management?",
    "answer": "T h e r e   a r e   t w o   m a i n   w a y s   t o   h a v e   N o d e s   a d d e d   t o   t h e   A P I   s e r v e r :   T h e   k u b e l e t   o n   a   n o d e   s e l f - r e g i s t e r s   t o   t h e   c o n t r o l   p l a n e Y o u   ( o r   a n o t h e r   h u m a n   u s e r )   m a n u a l l y   a d d   a   N o d e   o b j e c t   A f t e r   y o u   c r e a t e   a   N o d e   o b j e c t ,   o r   t h e   k u b e l e t   o n   a   n o d e   s e l f - r e g i s t e r s ,   t h e   c o n t r o l   p l a n e   c h e c k s   w h e t h e r   t h e   n e w   N o d e   o b j e c t   i s   v a l i d .   F o r   e x a m p l e ,   i f   y o u   t r y   t o   c r e a t e   a   N o d e   f r o m   t h e   f o l l o w i n g   J S O N   m a n i f e s t :   {   \" k i n d \" :   \" N o d e \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" 1 0 . 2 4 0 . 7 9 . 1 5 7 \" ,   \" l a b e l s \" :   {   \" n a m e \" :   \" m y - f i r s t - k 8 s - n o d e \"   }   }   }   K u b e r n e t e s   c r e a t e s   a   N o d e   o b j e c t   i n t e r n a l l y   ( t h e   r e p r e s e n t a t i o n ) .   K u b e r n e t e s   c h e c k s   t h a t   a   k u b e l e t   h a s   r e g i s t e r e d   t o   t h e   A P I   s e r v e r   t h a t   m a t c h e s   t h e   m e t a d a t a . n a m e   f i e l d   o f   t h e   N o d e .   I f   t h e   n o d e   i s   h e a l t h y   ( i . e .   a l l   n e c e s s a r y   s e r v i c e s   a r e   r u n n i n g ) ,   t h e n   i t   i s   e l i g i b l e   t o   r u n   a   P o d .   O t h e r w i s e ,   t h a t   n o d e   i s   i g n o r e d   f o r   a n y   c l u s t e r   a c t i v i t y   u n t i l   i t   b e c o m e s   h e a l t h y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11653"
  },
  {
    "question": "What is Note:?",
    "answer": "K u b e r n e t e s   k e e p s   t h e   o b j e c t   f o r   t h e   i n v a l i d   N o d e   a n d   c o n t i n u e s   c h e c k i n g   t o   s e e   w h e t h e r   i t   b e c o m e s   h e a l t h y .   Y o u ,   o r   a   c o n t r o l l e r ,   m u s t   e x p l i c i t l y   d e l e t e   t h e   N o d e   o b j e c t   t o   s t o p   t h a t   h e a l t h   c h e c k i n g .   T h e   n a m e   o f   a   N o d e   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11654"
  },
  {
    "question": "What is Node name uniqueness?",
    "answer": "T h e   n a m e   i d e n t i f i e s   a   N o d e .   T w o   N o d e s   c a n n o t   h a v e   t h e   s a m e   n a m e   a t   t h e   s a m e   t i m e .   K u b e r n e t e s   a l s o   a s s u m e s   t h a t   a   r e s o u r c e   w i t h   t h e   s a m e   n a m e   i s   t h e   s a m e   o b j e c t .   I n   c a s e   o f   a   N o d e ,   i t   i s   i m p l i c i t l y   a s s u m e d   t h a t   a n   i n s t a n c e   u s i n g   t h e   s a m e   n a m e   w i l l   h a v e   t h e   s a m e   s t a t e   ( e . g .   n e t w o r k   s e t t i n g s ,   r o o t   d i s k   c o n t e n t s )   a n d   a t t r i b u t e s   l i k e   n o d e   l a b e l s .   T h i s   m a y   l e a d   t o   i n c o n s i s t e n c i e s   i f   a n   i n s t a n c e   w a s   m o d i f i e d   w i t h o u t   c h a n g i n g   i t s   n a m e .   I f   t h e   N o d e   n e e d s   t o   b e   r e p l a c e d   o r   u p d a t e d   s i g n i f i c a n t l y ,   t h e   e x i s t i n g   N o d e   o b j e c t   n e e d s   t o   b e   r e m o v e d   f r o m   A P I   s e r v e r   f i r s t   a n d   r e - a d d e d   a f t e r   t h e   u p d a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11655"
  },
  {
    "question": "What is Self-registration of Nodes?",
    "answer": "W h e n   t h e   k u b e l e t   f l a g   - - r e g i s t e r - n o d e   i s   t r u e   ( t h e   d e f a u l t ) ,   t h e   k u b e l e t   w i l l   a t t e m p t   t o   r e g i s t e r   i t s e l f   w i t h   t h e   A P I   s e r v e r .   T h i s   i s   t h e   p r e f e r r e d   p a t t e r n ,   u s e d   b y   m o s t   d i s t r o s .   F o r   s e l f - r e g i s t r a t i o n ,   t h e   k u b e l e t   i s   s t a r t e d   w i t h   t h e   f o l l o w i n g   o p t i o n s :   - - k u b e c o n f i g   -   P a t h   t o   c r e d e n t i a l s   t o   a u t h e n t i c a t e   i t s e l f   t o   t h e   A P I   s e r v e r . - - c l o u d - p r o v i d e r   -   H o w   t o   t a l k   t o   a   c l o u d   p r o v i d e r   t o   r e a d   m e t a d a t a   a b o u t   i t s e l f . - - r e g i s t e r - n o d e   -   A u t o m a t i c a l l y   r e g i s t e r   w i t h   t h e   A P I   s e r v e r . - - r e g i s t e r - w i t h - t a i n t s   -   R e g i s t e r   t h e   n o d e   w i t h   t h e   g i v e n   l i s t   o f   t a i n t s   ( c o m m a   s e p a r a t e d   < k e y > = < v a l u e > : < e f f e c t > ) . N o - o p   i f   r e g i s t e r - n o d e   i s   f a l s e . - - n o d e - i p   -   O p t i o n a l   c o m m a - s e p a r a t e d   l i s t   o f   t h e   I P   a d d r e s s e s   f o r   t h e   n o d e .   Y o u   c a n   o n l y   s p e c i f y   a   s i n g l e   a d d r e s s   f o r   e a c h   a d d r e s s   f a m i l y .   F o r   e x a m p l e ,   i n   a   s i n g l e - s t a c k   I P v 4   c l u s t e r ,   y o u   s e t   t h i s   v a l u e   t o   b e   t h e   I P v 4   a d d r e s s   t h a t   t h e   k u b e l e t   s h o u l d   u s e   f o r   t h e   n o d e .   S e e   c o n f i g u r e   I P v 4 / I P v 6   d u a l   s t a c k   f o r   d e t a i l s   o f   r u n n i n g   a   d u a l - s t a c k   c l u s t e r . I f   y o u   d o n ' t   p r o v i d e   t h i s   a r g u m e n t ,   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11656"
  },
  {
    "question": "What is Note:?",
    "answer": "A s   m e n t i o n e d   i n   t h e   N o d e   n a m e   u n i q u e n e s s   s e c t i o n ,   w h e n   N o d e   c o n f i g u r a t i o n   n e e d s   t o   b e   u p d a t e d ,   i t   i s   a   g o o d   p r a c t i c e   t o   r e - r e g i s t e r   t h e   n o d e   w i t h   t h e   A P I   s e r v e r .   F o r   e x a m p l e ,   i f   t h e   k u b e l e t   i s   b e i n g   r e s t a r t e d   w i t h   a   n e w   s e t   o f   - - n o d e - l a b e l s ,   b u t   t h e   s a m e   N o d e   n a m e   i s   u s e d ,   t h e   c h a n g e   w i l l   n o t   t a k e   e f f e c t ,   a s   l a b e l s   a r e   o n l y   s e t   ( o r   m o d i f i e d )   u p o n   N o d e   r e g i s t r a t i o n   w i t h   t h e   A P I   s e r v e r .   P o d s   a l r e a d y   s c h e d u l e d   o n   t h e   N o d e   m a y   m i s b e h a v e   o r   c a u s e   i s s u e s   i f   t h e   N o d e   c o n f i g u r a t i o n   w i l l   b e   c h a n g e d   o n   k u b e l e t   r e s t a r t .   F o r   e x a m p l e ,   a l r e a d y   r u n n i n g   P o d   m a y   b e   t a i n t e d   a g a i n s t   t h e   n e w   l a b e l s   a s s i g n e d   t o   t h e   N o d e ,   w h i l e   o t h e r   P o d s ,   t h a t   a r e   i n c o m p a t i b l e   w i t h   t h a t   P o d   w i l l   b e   s c h e d u l e d   b a s e d   o n   t h i s   n e w   l a b e l .   N o d e   r e - r e g i s t r a t i o n   e n s u r e s   a l l   P o d s   w i l l   b e   d r a i n e d   a n d   p r o p e r l y   r e - s c h e d u l e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11657"
  },
  {
    "question": "What is Manual Node administration?",
    "answer": "Y o u   c a n   c r e a t e   a n d   m o d i f y   N o d e   o b j e c t s   u s i n g   k u b e c t l .   W h e n   y o u   w a n t   t o   c r e a t e   N o d e   o b j e c t s   m a n u a l l y ,   s e t   t h e   k u b e l e t   f l a g   - - r e g i s t e r - n o d e = f a l s e .   Y o u   c a n   m o d i f y   N o d e   o b j e c t s   r e g a r d l e s s   o f   t h e   s e t t i n g   o f   - - r e g i s t e r - n o d e .   F o r   e x a m p l e ,   y o u   c a n   s e t   l a b e l s   o n   a n   e x i s t i n g   N o d e   o r   m a r k   i t   u n s c h e d u l a b l e .   Y o u   c a n   s e t   o p t i o n a l   n o d e   r o l e ( s )   f o r   n o d e s   b y   a d d i n g   o n e   o r   m o r e   n o d e - r o l e . k u b e r n e t e s . i o / < r o l e > :   < r o l e >   l a b e l s   t o   t h e   n o d e   w h e r e   c h a r a c t e r s   o f   < r o l e >   a r e   l i m i t e d   b y   t h e   s y n t a x   r u l e s   f o r   l a b e l s .   K u b e r n e t e s   i g n o r e s   t h e   l a b e l   v a l u e   f o r   n o d e   r o l e s ;   b y   c o n v e n t i o n ,   y o u   c a n   s e t   i t   t o   t h e   s a m e   s t r i n g   y o u   u s e d   f o r   t h e   n o d e   r o l e   i n   t h e   l a b e l   k e y .   Y o u   c a n   u s e   l a b e l s   o n   N o d e s   i n   c o n j u n c t i o n   w i t h   n o d e   s e l e c t o r s   o n   P o d s   t o   c o n t r o l   s c h e d u l i n g .   F o r   e x a m p l e ,   y o u   c a n   c o n s t r a i n   a   P o d   t o   o n l y   b e   e l i g i b l e   t o   r u n   o n   a   s u b s e t   o f   t h e   a v a i l a b l e   n o d e s .   M a r k i n g   a   n o d e   a s   u n s c h e d u l a b l e   p r e v e n t s   t h e   s c h e d u l e r   f r o m   p l a c i n g   n e w   p o d s   o n t o   t h a t   N o d e   b u t   d o e s   n o t   a f f e c t   e x i s t i n g   P o d s   o n   t h e   N o d e .   T h i s   i s   u s e f u l   a s   a   p r e p a r a t o r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11658"
  },
  {
    "question": "What is Node status?",
    "answer": "A   N o d e ' s   s t a t u s   c o n t a i n s   t h e   f o l l o w i n g   i n f o r m a t i o n :   A d d r e s s e s C o n d i t i o n s C a p a c i t y   a n d   A l l o c a t a b l e I n f o   Y o u   c a n   u s e   k u b e c t l   t o   v i e w   a   N o d e ' s   s t a t u s   a n d   o t h e r   d e t a i l s :   k u b e c t l   d e s c r i b e   n o d e   < i n s e r t - n o d e - n a m e - h e r e >   S e e   N o d e   S t a t u s   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11659"
  },
  {
    "question": "What is Node heartbeats?",
    "answer": "H e a r t b e a t s ,   s e n t   b y   K u b e r n e t e s   n o d e s ,   h e l p   y o u r   c l u s t e r   d e t e r m i n e   t h e   a v a i l a b i l i t y   o f   e a c h   n o d e ,   a n d   t o   t a k e   a c t i o n   w h e n   f a i l u r e s   a r e   d e t e c t e d .   F o r   n o d e s   t h e r e   a r e   t w o   f o r m s   o f   h e a r t b e a t s :   U p d a t e s   t o   t h e   . s t a t u s   o f   a   N o d e . L e a s e   o b j e c t s   w i t h i n   t h e   k u b e - n o d e - l e a s e   n a m e s p a c e .   E a c h   N o d e   h a s   a n   a s s o c i a t e d   L e a s e   o b j e c t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11660"
  },
  {
    "question": "What is Node controller?",
    "answer": "T h e   n o d e   c o n t r o l l e r   i s   a   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t   t h a t   m a n a g e s   v a r i o u s   a s p e c t s   o f   n o d e s .   T h e   n o d e   c o n t r o l l e r   h a s   m u l t i p l e   r o l e s   i n   a   n o d e ' s   l i f e .   T h e   f i r s t   i s   a s s i g n i n g   a   C I D R   b l o c k   t o   t h e   n o d e   w h e n   i t   i s   r e g i s t e r e d   ( i f   C I D R   a s s i g n m e n t   i s   t u r n e d   o n ) .   T h e   s e c o n d   i s   k e e p i n g   t h e   n o d e   c o n t r o l l e r ' s   i n t e r n a l   l i s t   o f   n o d e s   u p   t o   d a t e   w i t h   t h e   c l o u d   p r o v i d e r ' s   l i s t   o f   a v a i l a b l e   m a c h i n e s .   W h e n   r u n n i n g   i n   a   c l o u d   e n v i r o n m e n t   a n d   w h e n e v e r   a   n o d e   i s   u n h e a l t h y ,   t h e   n o d e   c o n t r o l l e r   a s k s   t h e   c l o u d   p r o v i d e r   i f   t h e   V M   f o r   t h a t   n o d e   i s   s t i l l   a v a i l a b l e .   I f   n o t ,   t h e   n o d e   c o n t r o l l e r   d e l e t e s   t h e   n o d e   f r o m   i t s   l i s t   o f   n o d e s .   T h e   t h i r d   i s   m o n i t o r i n g   t h e   n o d e s '   h e a l t h .   T h e   n o d e   c o n t r o l l e r   i s   r e s p o n s i b l e   f o r :   I n   t h e   c a s e   t h a t   a   n o d e   b e c o m e s   u n r e a c h a b l e ,   u p d a t i n g   t h e   R e a d y   c o n d i t i o n   i n   t h e   N o d e ' s   . s t a t u s   f i e l d .   I n   t h i s   c a s e   t h e   n o d e   c o n t r o l l e r   s e t s   t h e   R e a d y   c o n d i t i o n   t o   U n k n o w n . I f   a   n o d e   r e m a i n s   u n r e a c h a b l e :   t r i g g e r i n g   A P I - i n i t i a t e d   e v i c t i o n   f o r   a l l   o f   t h e   P o d s   o n   t h e   u n r e a c h a b l e   n o d e .   B y   d e f a u l t ,   t h e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11661"
  },
  {
    "question": "What is Rate limits on eviction?",
    "answer": "I n   m o s t   c a s e s ,   t h e   n o d e   c o n t r o l l e r   l i m i t s   t h e   e v i c t i o n   r a t e   t o   - - n o d e - e v i c t i o n - r a t e   ( d e f a u l t   0 . 1 )   p e r   s e c o n d ,   m e a n i n g   i t   w o n ' t   e v i c t   p o d s   f r o m   m o r e   t h a n   1   n o d e   p e r   1 0   s e c o n d s .   T h e   n o d e   e v i c t i o n   b e h a v i o r   c h a n g e s   w h e n   a   n o d e   i n   a   g i v e n   a v a i l a b i l i t y   z o n e   b e c o m e s   u n h e a l t h y .   T h e   n o d e   c o n t r o l l e r   c h e c k s   w h a t   p e r c e n t a g e   o f   n o d e s   i n   t h e   z o n e   a r e   u n h e a l t h y   ( t h e   R e a d y   c o n d i t i o n   i s   U n k n o w n   o r   F a l s e )   a t   t h e   s a m e   t i m e :   I f   t h e   f r a c t i o n   o f   u n h e a l t h y   n o d e s   i s   a t   l e a s t   - - u n h e a l t h y - z o n e - t h r e s h o l d   ( d e f a u l t   0 . 5 5 ) ,   t h e n   t h e   e v i c t i o n   r a t e   i s   r e d u c e d . I f   t h e   c l u s t e r   i s   s m a l l   ( i . e .   h a s   l e s s   t h a n   o r   e q u a l   t o   - - l a r g e - c l u s t e r - s i z e - t h r e s h o l d   n o d e s   -   d e f a u l t   5 0 ) ,   t h e n   e v i c t i o n s   a r e   s t o p p e d . O t h e r w i s e ,   t h e   e v i c t i o n   r a t e   i s   r e d u c e d   t o   - - s e c o n d a r y - n o d e - e v i c t i o n - r a t e   ( d e f a u l t   0 . 0 1 )   p e r   s e c o n d .   T h e   r e a s o n   t h e s e   p o l i c i e s   a r e   i m p l e m e n t e d   p e r   a v a i l a b i l i t y   z o n e   i s   b e c a u s e   o n e   a v a i l a b i l i t y   z o n e   m i g h t   b e c o m e   p a r t i t i o n e d   f r o m   t h e   c o n t r o l   p l a n e   w h i l e   t h e   o t h e r s   r e m a i n   c o n n e c t e d .   I f   y o u r   c l u s t e r   d o e s   n o t   s p a n   m u l t i p l e   c l o u d   p r o v i d ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11662"
  },
  {
    "question": "What is Resource capacity tracking?",
    "answer": "N o d e   o b j e c t s   t r a c k   i n f o r m a t i o n   a b o u t   t h e   N o d e ' s   r e s o u r c e   c a p a c i t y :   f o r   e x a m p l e ,   t h e   a m o u n t   o f   m e m o r y   a v a i l a b l e   a n d   t h e   n u m b e r   o f   C P U s .   N o d e s   t h a t   s e l f   r e g i s t e r   r e p o r t   t h e i r   c a p a c i t y   d u r i n g   r e g i s t r a t i o n .   I f   y o u   m a n u a l l y   a d d   a   N o d e ,   t h e n   y o u   n e e d   t o   s e t   t h e   n o d e ' s   c a p a c i t y   i n f o r m a t i o n   w h e n   y o u   a d d   i t .   T h e   K u b e r n e t e s   s c h e d u l e r   e n s u r e s   t h a t   t h e r e   a r e   e n o u g h   r e s o u r c e s   f o r   a l l   t h e   P o d s   o n   a   N o d e .   T h e   s c h e d u l e r   c h e c k s   t h a t   t h e   s u m   o f   t h e   r e q u e s t s   o f   c o n t a i n e r s   o n   t h e   n o d e   i s   n o   g r e a t e r   t h a n   t h e   n o d e ' s   c a p a c i t y .   T h a t   s u m   o f   r e q u e s t s   i n c l u d e s   a l l   c o n t a i n e r s   m a n a g e d   b y   t h e   k u b e l e t ,   b u t   e x c l u d e s   a n y   c o n t a i n e r s   s t a r t e d   d i r e c t l y   b y   t h e   c o n t a i n e r   r u n t i m e ,   a n d   a l s o   e x c l u d e s   a n y   p r o c e s s e s   r u n n i n g   o u t s i d e   o f   t h e   k u b e l e t ' s   c o n t r o l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11663"
  },
  {
    "question": "What is Node topology?",
    "answer": "I f   y o u   h a v e   e n a b l e d   t h e   T o p o l o g y M a n a g e r   f e a t u r e   g a t e ,   t h e n   t h e   k u b e l e t   c a n   u s e   t o p o l o g y   h i n t s   w h e n   m a k i n g   r e s o u r c e   a s s i g n m e n t   d e c i s i o n s .   S e e   C o n t r o l   T o p o l o g y   M a n a g e m e n t   P o l i c i e s   o n   a   N o d e   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11664"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   t h e   f o l l o w i n g :   C o m p o n e n t s   t h a t   m a k e   u p   a   n o d e . A P I   d e f i n i t i o n   f o r   N o d e . N o d e   s e c t i o n   o f   t h e   a r c h i t e c t u r e   d e s i g n   d o c u m e n t . G r a c e f u l / n o n - g r a c e f u l   n o d e   s h u t d o w n . N o d e   a u t o s c a l i n g   t o   m a n a g e   t h e   n u m b e r   a n d   s i z e   o f   n o d e s   i n   y o u r   c l u s t e r . T a i n t s   a n d   T o l e r a t i o n s . N o d e   R e s o u r c e   M a n a g e r s . R e s o u r c e   M a n a g e m e n t   f o r   W i n d o w s   n o d e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11665"
  },
  {
    "question": "What is 2.2 - Communication between Nodes and the Control Plane?",
    "answer": "T h i s   d o c u m e n t   c a t a l o g s   t h e   c o m m u n i c a t i o n   p a t h s   b e t w e e n   t h e   A P I   s e r v e r   a n d   t h e   K u b e r n e t e s   c l u s t e r .   T h e   i n t e n t   i s   t o   a l l o w   u s e r s   t o   c u s t o m i z e   t h e i r   i n s t a l l a t i o n   t o   h a r d e n   t h e   n e t w o r k   c o n f i g u r a t i o n   s u c h   t h a t   t h e   c l u s t e r   c a n   b e   r u n   o n   a n   u n t r u s t e d   n e t w o r k   ( o r   o n   f u l l y   p u b l i c   I P s   o n   a   c l o u d   p r o v i d e r ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11666"
  },
  {
    "question": "What is Node to Control Plane?",
    "answer": "K u b e r n e t e s   h a s   a   \" h u b - a n d - s p o k e \"   A P I   p a t t e r n .   A l l   A P I   u s a g e   f r o m   n o d e s   ( o r   t h e   p o d s   t h e y   r u n )   t e r m i n a t e s   a t   t h e   A P I   s e r v e r .   N o n e   o f   t h e   o t h e r   c o n t r o l   p l a n e   c o m p o n e n t s   a r e   d e s i g n e d   t o   e x p o s e   r e m o t e   s e r v i c e s .   T h e   A P I   s e r v e r   i s   c o n f i g u r e d   t o   l i s t e n   f o r   r e m o t e   c o n n e c t i o n s   o n   a   s e c u r e   H T T P S   p o r t   ( t y p i c a l l y   4 4 3 )   w i t h   o n e   o r   m o r e   f o r m s   o f   c l i e n t   a u t h e n t i c a t i o n   e n a b l e d .   O n e   o r   m o r e   f o r m s   o f   a u t h o r i z a t i o n   s h o u l d   b e   e n a b l e d ,   e s p e c i a l l y   i f   a n o n y m o u s   r e q u e s t s   o r   s e r v i c e   a c c o u n t   t o k e n s   a r e   a l l o w e d .   N o d e s   s h o u l d   b e   p r o v i s i o n e d   w i t h   t h e   p u b l i c   r o o t   c e r t i f i c a t e   f o r   t h e   c l u s t e r   s u c h   t h a t   t h e y   c a n   c o n n e c t   s e c u r e l y   t o   t h e   A P I   s e r v e r   a l o n g   w i t h   v a l i d   c l i e n t   c r e d e n t i a l s .   A   g o o d   a p p r o a c h   i s   t h a t   t h e   c l i e n t   c r e d e n t i a l s   p r o v i d e d   t o   t h e   k u b e l e t   a r e   i n   t h e   f o r m   o f   a   c l i e n t   c e r t i f i c a t e .   S e e   k u b e l e t   T L S   b o o t s t r a p p i n g   f o r   a u t o m a t e d   p r o v i s i o n i n g   o f   k u b e l e t   c l i e n t   c e r t i f i c a t e s .   P o d s   t h a t   w i s h   t o   c o n n e c t   t o   t h e   A P I   s e r v e r   c a n   d o   s o   s e c u r e l y   b y   l e v e r a g i n g   a   s e r v i c e   a c c o u n t   s o   t h a t   K u b e r n e t e s   w i l l   a u t o m a t i c a l l y   i n j e c t   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11667"
  },
  {
    "question": "What is Control plane to node?",
    "answer": "T h e r e   a r e   t w o   p r i m a r y   c o m m u n i c a t i o n   p a t h s   f r o m   t h e   c o n t r o l   p l a n e   ( t h e   A P I   s e r v e r )   t o   t h e   n o d e s .   T h e   f i r s t   i s   f r o m   t h e   A P I   s e r v e r   t o   t h e   k u b e l e t   p r o c e s s   w h i c h   r u n s   o n   e a c h   n o d e   i n   t h e   c l u s t e r .   T h e   s e c o n d   i s   f r o m   t h e   A P I   s e r v e r   t o   a n y   n o d e ,   p o d ,   o r   s e r v i c e   t h r o u g h   t h e   A P I   s e r v e r ' s   p r o x y   f u n c t i o n a l i t y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11668"
  },
  {
    "question": "What is API server to kubelet?",
    "answer": "T h e   c o n n e c t i o n s   f r o m   t h e   A P I   s e r v e r   t o   t h e   k u b e l e t   a r e   u s e d   f o r :   F e t c h i n g   l o g s   f o r   p o d s . A t t a c h i n g   ( u s u a l l y   t h r o u g h   k u b e c t l )   t o   r u n n i n g   p o d s . P r o v i d i n g   t h e   k u b e l e t ' s   p o r t - f o r w a r d i n g   f u n c t i o n a l i t y .   T h e s e   c o n n e c t i o n s   t e r m i n a t e   a t   t h e   k u b e l e t ' s   H T T P S   e n d p o i n t .   B y   d e f a u l t ,   t h e   A P I   s e r v e r   d o e s   n o t   v e r i f y   t h e   k u b e l e t ' s   s e r v i n g   c e r t i f i c a t e ,   w h i c h   m a k e s   t h e   c o n n e c t i o n   s u b j e c t   t o   m a n - i n - t h e - m i d d l e   a t t a c k s   a n d   u n s a f e   t o   r u n   o v e r   u n t r u s t e d   a n d / o r   p u b l i c   n e t w o r k s .   T o   v e r i f y   t h i s   c o n n e c t i o n ,   u s e   t h e   - - k u b e l e t - c e r t i f i c a t e - a u t h o r i t y   f l a g   t o   p r o v i d e   t h e   A P I   s e r v e r   w i t h   a   r o o t   c e r t i f i c a t e   b u n d l e   t o   u s e   t o   v e r i f y   t h e   k u b e l e t ' s   s e r v i n g   c e r t i f i c a t e .   I f   t h a t   i s   n o t   p o s s i b l e ,   u s e   S S H   t u n n e l i n g   b e t w e e n   t h e   A P I   s e r v e r   a n d   k u b e l e t   i f   r e q u i r e d   t o   a v o i d   c o n n e c t i n g   o v e r   a n   u n t r u s t e d   o r   p u b l i c   n e t w o r k .   F i n a l l y ,   K u b e l e t   a u t h e n t i c a t i o n   a n d / o r   a u t h o r i z a t i o n   s h o u l d   b e   e n a b l e d   t o   s e c u r e   t h e   k u b e l e t   A P I .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11669"
  },
  {
    "question": "What is API server to nodes, pods, and services?",
    "answer": "T h e   c o n n e c t i o n s   f r o m   t h e   A P I   s e r v e r   t o   a   n o d e ,   p o d ,   o r   s e r v i c e   d e f a u l t   t o   p l a i n   H T T P   c o n n e c t i o n s   a n d   a r e   t h e r e f o r e   n e i t h e r   a u t h e n t i c a t e d   n o r   e n c r y p t e d .   T h e y   c a n   b e   r u n   o v e r   a   s e c u r e   H T T P S   c o n n e c t i o n   b y   p r e f i x i n g   h t t p s :   t o   t h e   n o d e ,   p o d ,   o r   s e r v i c e   n a m e   i n   t h e   A P I   U R L ,   b u t   t h e y   w i l l   n o t   v a l i d a t e   t h e   c e r t i f i c a t e   p r o v i d e d   b y   t h e   H T T P S   e n d p o i n t   n o r   p r o v i d e   c l i e n t   c r e d e n t i a l s .   S o   w h i l e   t h e   c o n n e c t i o n   w i l l   b e   e n c r y p t e d ,   i t   w i l l   n o t   p r o v i d e   a n y   g u a r a n t e e s   o f   i n t e g r i t y .   T h e s e   c o n n e c t i o n s   a r e   n o t   c u r r e n t l y   s a f e   t o   r u n   o v e r   u n t r u s t e d   o r   p u b l i c   n e t w o r k s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11670"
  },
  {
    "question": "What is SSH tunnels?",
    "answer": "K u b e r n e t e s   s u p p o r t s   S S H   t u n n e l s   t o   p r o t e c t   t h e   c o n t r o l   p l a n e   t o   n o d e s   c o m m u n i c a t i o n   p a t h s .   I n   t h i s   c o n f i g u r a t i o n ,   t h e   A P I   s e r v e r   i n i t i a t e s   a n   S S H   t u n n e l   t o   e a c h   n o d e   i n   t h e   c l u s t e r   ( c o n n e c t i n g   t o   t h e   S S H   s e r v e r   l i s t e n i n g   o n   p o r t   2 2 )   a n d   p a s s e s   a l l   t r a f f i c   d e s t i n e d   f o r   a   k u b e l e t ,   n o d e ,   p o d ,   o r   s e r v i c e   t h r o u g h   t h e   t u n n e l .   T h i s   t u n n e l   e n s u r e s   t h a t   t h e   t r a f f i c   i s   n o t   e x p o s e d   o u t s i d e   o f   t h e   n e t w o r k   i n   w h i c h   t h e   n o d e s   a r e   r u n n i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11671"
  },
  {
    "question": "What is Konnectivity service?",
    "answer": "A s   a   r e p l a c e m e n t   t o   t h e   S S H   t u n n e l s ,   t h e   K o n n e c t i v i t y   s e r v i c e   p r o v i d e s   T C P   l e v e l   p r o x y   f o r   t h e   c o n t r o l   p l a n e   t o   c l u s t e r   c o m m u n i c a t i o n .   T h e   K o n n e c t i v i t y   s e r v i c e   c o n s i s t s   o f   t w o   p a r t s :   t h e   K o n n e c t i v i t y   s e r v e r   i n   t h e   c o n t r o l   p l a n e   n e t w o r k   a n d   t h e   K o n n e c t i v i t y   a g e n t s   i n   t h e   n o d e s   n e t w o r k .   T h e   K o n n e c t i v i t y   a g e n t s   i n i t i a t e   c o n n e c t i o n s   t o   t h e   K o n n e c t i v i t y   s e r v e r   a n d   m a i n t a i n   t h e   n e t w o r k   c o n n e c t i o n s .   A f t e r   e n a b l i n g   t h e   K o n n e c t i v i t y   s e r v i c e ,   a l l   c o n t r o l   p l a n e   t o   n o d e s   t r a f f i c   g o e s   t h r o u g h   t h e s e   c o n n e c t i o n s .   F o l l o w   t h e   K o n n e c t i v i t y   s e r v i c e   t a s k   t o   s e t   u p   t h e   K o n n e c t i v i t y   s e r v i c e   i n   y o u r   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11672"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t s L e a r n   m o r e   a b o u t   H u b s   a n d   S p o k e   m o d e l L e a r n   h o w   t o   S e c u r e   a   C l u s t e r L e a r n   m o r e   a b o u t   t h e   K u b e r n e t e s   A P I S e t   u p   K o n n e c t i v i t y   s e r v i c e U s e   P o r t   F o r w a r d i n g   t o   A c c e s s   A p p l i c a t i o n s   i n   a   C l u s t e r L e a r n   h o w   t o   F e t c h   l o g s   f o r   P o d s ,   u s e   k u b e c t l   p o r t - f o r w a r d",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11673"
  },
  {
    "question": "What is 2.3 - Controllers?",
    "answer": "I n   r o b o t i c s   a n d   a u t o m a t i o n ,   a   c o n t r o l   l o o p   i s   a   n o n - t e r m i n a t i n g   l o o p   t h a t   r e g u l a t e s   t h e   s t a t e   o f   a   s y s t e m .   H e r e   i s   o n e   e x a m p l e   o f   a   c o n t r o l   l o o p :   a   t h e r m o s t a t   i n   a   r o o m .   W h e n   y o u   s e t   t h e   t e m p e r a t u r e ,   t h a t ' s   t e l l i n g   t h e   t h e r m o s t a t   a b o u t   y o u r   d e s i r e d   s t a t e .   T h e   a c t u a l   r o o m   t e m p e r a t u r e   i s   t h e   c u r r e n t   s t a t e .   T h e   t h e r m o s t a t   a c t s   t o   b r i n g   t h e   c u r r e n t   s t a t e   c l o s e r   t o   t h e   d e s i r e d   s t a t e ,   b y   t u r n i n g   e q u i p m e n t   o n   o r   o f f .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11674"
  },
  {
    "question": "What is Controller pattern?",
    "answer": "A   c o n t r o l l e r   t r a c k s   a t   l e a s t   o n e   K u b e r n e t e s   r e s o u r c e   t y p e .   T h e s e   o b j e c t s   h a v e   a   s p e c   f i e l d   t h a t   r e p r e s e n t s   t h e   d e s i r e d   s t a t e .   T h e   c o n t r o l l e r ( s )   f o r   t h a t   r e s o u r c e   a r e   r e s p o n s i b l e   f o r   m a k i n g   t h e   c u r r e n t   s t a t e   c o m e   c l o s e r   t o   t h a t   d e s i r e d   s t a t e .   T h e   c o n t r o l l e r   m i g h t   c a r r y   t h e   a c t i o n   o u t   i t s e l f ;   m o r e   c o m m o n l y ,   i n   K u b e r n e t e s ,   a   c o n t r o l l e r   w i l l   s e n d   m e s s a g e s   t o   t h e   A P I   s e r v e r   t h a t   h a v e   u s e f u l   s i d e   e f f e c t s .   Y o u ' l l   s e e   e x a m p l e s   o f   t h i s   b e l o w .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11675"
  },
  {
    "question": "What is Control via API server?",
    "answer": "T h e   J o b   c o n t r o l l e r   i s   a n   e x a m p l e   o f   a   K u b e r n e t e s   b u i l t - i n   c o n t r o l l e r .   B u i l t - i n   c o n t r o l l e r s   m a n a g e   s t a t e   b y   i n t e r a c t i n g   w i t h   t h e   c l u s t e r   A P I   s e r v e r .   J o b   i s   a   K u b e r n e t e s   r e s o u r c e   t h a t   r u n s   a   P o d ,   o r   p e r h a p s   s e v e r a l   P o d s ,   t o   c a r r y   o u t   a   t a s k   a n d   t h e n   s t o p .   ( O n c e   s c h e d u l e d ,   P o d   o b j e c t s   b e c o m e   p a r t   o f   t h e   d e s i r e d   s t a t e   f o r   a   k u b e l e t ) .   W h e n   t h e   J o b   c o n t r o l l e r   s e e s   a   n e w   t a s k   i t   m a k e s   s u r e   t h a t ,   s o m e w h e r e   i n   y o u r   c l u s t e r ,   t h e   k u b e l e t s   o n   a   s e t   o f   N o d e s   a r e   r u n n i n g   t h e   r i g h t   n u m b e r   o f   P o d s   t o   g e t   t h e   w o r k   d o n e .   T h e   J o b   c o n t r o l l e r   d o e s   n o t   r u n   a n y   P o d s   o r   c o n t a i n e r s   i t s e l f .   I n s t e a d ,   t h e   J o b   c o n t r o l l e r   t e l l s   t h e   A P I   s e r v e r   t o   c r e a t e   o r   r e m o v e   P o d s .   O t h e r   c o m p o n e n t s   i n   t h e   c o n t r o l   p l a n e   a c t   o n   t h e   n e w   i n f o r m a t i o n   ( t h e r e   a r e   n e w   P o d s   t o   s c h e d u l e   a n d   r u n ) ,   a n d   e v e n t u a l l y   t h e   w o r k   i s   d o n e .   A f t e r   y o u   c r e a t e   a   n e w   J o b ,   t h e   d e s i r e d   s t a t e   i s   f o r   t h a t   J o b   t o   b e   c o m p l e t e d .   T h e   J o b   c o n t r o l l e r   m a k e s   t h e   c u r r e n t   s t a t e   f o r   t h a t   J o b   b e   n e a r e r   t o   y o u r   d e s i r e d   s t a t e :   c r e a t i n g   P o d s   t h a t   d o   t h e   w o r k   y o u   w a n t e d   f o r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11676"
  },
  {
    "question": "What is Direct control?",
    "answer": "I n   c o n t r a s t   w i t h   J o b ,   s o m e   c o n t r o l l e r s   n e e d   t o   m a k e   c h a n g e s   t o   t h i n g s   o u t s i d e   o f   y o u r   c l u s t e r .   F o r   e x a m p l e ,   i f   y o u   u s e   a   c o n t r o l   l o o p   t o   m a k e   s u r e   t h e r e   a r e   e n o u g h   N o d e s   i n   y o u r   c l u s t e r ,   t h e n   t h a t   c o n t r o l l e r   n e e d s   s o m e t h i n g   o u t s i d e   t h e   c u r r e n t   c l u s t e r   t o   s e t   u p   n e w   N o d e s   w h e n   n e e d e d .   C o n t r o l l e r s   t h a t   i n t e r a c t   w i t h   e x t e r n a l   s t a t e   f i n d   t h e i r   d e s i r e d   s t a t e   f r o m   t h e   A P I   s e r v e r ,   t h e n   c o m m u n i c a t e   d i r e c t l y   w i t h   a n   e x t e r n a l   s y s t e m   t o   b r i n g   t h e   c u r r e n t   s t a t e   c l o s e r   i n   l i n e .   ( T h e r e   a c t u a l l y   i s   a   c o n t r o l l e r   t h a t   h o r i z o n t a l l y   s c a l e s   t h e   n o d e s   i n   y o u r   c l u s t e r . )   T h e   i m p o r t a n t   p o i n t   h e r e   i s   t h a t   t h e   c o n t r o l l e r   m a k e s   s o m e   c h a n g e s   t o   b r i n g   a b o u t   y o u r   d e s i r e d   s t a t e ,   a n d   t h e n   r e p o r t s   t h e   c u r r e n t   s t a t e   b a c k   t o   y o u r   c l u s t e r ' s   A P I   s e r v e r .   O t h e r   c o n t r o l   l o o p s   c a n   o b s e r v e   t h a t   r e p o r t e d   d a t a   a n d   t a k e   t h e i r   o w n   a c t i o n s .   I n   t h e   t h e r m o s t a t   e x a m p l e ,   i f   t h e   r o o m   i s   v e r y   c o l d   t h e n   a   d i f f e r e n t   c o n t r o l l e r   m i g h t   a l s o   t u r n   o n   a   f r o s t   p r o t e c t i o n   h e a t e r .   W i t h   K u b e r n e t e s   c l u s t e r s ,   t h e   c o n t r o l   p l a n e   i n d i r e c t l y   w o r k s   w i t h   I P ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11677"
  },
  {
    "question": "What is Desired versus current state?",
    "answer": "K u b e r n e t e s   t a k e s   a   c l o u d - n a t i v e   v i e w   o f   s y s t e m s ,   a n d   i s   a b l e   t o   h a n d l e   c o n s t a n t   c h a n g e .   Y o u r   c l u s t e r   c o u l d   b e   c h a n g i n g   a t   a n y   p o i n t   a s   w o r k   h a p p e n s   a n d   c o n t r o l   l o o p s   a u t o m a t i c a l l y   f i x   f a i l u r e s .   T h i s   m e a n s   t h a t ,   p o t e n t i a l l y ,   y o u r   c l u s t e r   n e v e r   r e a c h e s   a   s t a b l e   s t a t e .   A s   l o n g   a s   t h e   c o n t r o l l e r s   f o r   y o u r   c l u s t e r   a r e   r u n n i n g   a n d   a b l e   t o   m a k e   u s e f u l   c h a n g e s ,   i t   d o e s n ' t   m a t t e r   i f   t h e   o v e r a l l   s t a t e   i s   s t a b l e   o r   n o t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11678"
  },
  {
    "question": "What is Design?",
    "answer": "A s   a   t e n e t   o f   i t s   d e s i g n ,   K u b e r n e t e s   u s e s   l o t s   o f   c o n t r o l l e r s   t h a t   e a c h   m a n a g e   a   p a r t i c u l a r   a s p e c t   o f   c l u s t e r   s t a t e .   M o s t   c o m m o n l y ,   a   p a r t i c u l a r   c o n t r o l   l o o p   ( c o n t r o l l e r )   u s e s   o n e   k i n d   o f   r e s o u r c e   a s   i t s   d e s i r e d   s t a t e ,   a n d   h a s   a   d i f f e r e n t   k i n d   o f   r e s o u r c e   t h a t   i t   m a n a g e s   t o   m a k e   t h a t   d e s i r e d   s t a t e   h a p p e n .   F o r   e x a m p l e ,   a   c o n t r o l l e r   f o r   J o b s   t r a c k s   J o b   o b j e c t s   ( t o   d i s c o v e r   n e w   w o r k )   a n d   P o d   o b j e c t s   ( t o   r u n   t h e   J o b s ,   a n d   t h e n   t o   s e e   w h e n   t h e   w o r k   i s   f i n i s h e d ) .   I n   t h i s   c a s e   s o m e t h i n g   e l s e   c r e a t e s   t h e   J o b s ,   w h e r e a s   t h e   J o b   c o n t r o l l e r   c r e a t e s   P o d s .   I t ' s   u s e f u l   t o   h a v e   s i m p l e   c o n t r o l l e r s   r a t h e r   t h a n   o n e ,   m o n o l i t h i c   s e t   o f   c o n t r o l   l o o p s   t h a t   a r e   i n t e r l i n k e d .   C o n t r o l l e r s   c a n   f a i l ,   s o   K u b e r n e t e s   i s   d e s i g n e d   t o   a l l o w   f o r   t h a t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11679"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e r e   c a n   b e   s e v e r a l   c o n t r o l l e r s   t h a t   c r e a t e   o r   u p d a t e   t h e   s a m e   k i n d   o f   o b j e c t .   B e h i n d   t h e   s c e n e s ,   K u b e r n e t e s   c o n t r o l l e r s   m a k e   s u r e   t h a t   t h e y   o n l y   p a y   a t t e n t i o n   t o   t h e   r e s o u r c e s   l i n k e d   t o   t h e i r   c o n t r o l l i n g   r e s o u r c e .   F o r   e x a m p l e ,   y o u   c a n   h a v e   D e p l o y m e n t s   a n d   J o b s ;   t h e s e   b o t h   c r e a t e   P o d s .   T h e   J o b   c o n t r o l l e r   d o e s   n o t   d e l e t e   t h e   P o d s   t h a t   y o u r   D e p l o y m e n t   c r e a t e d ,   b e c a u s e   t h e r e   i s   i n f o r m a t i o n   ( l a b e l s )   t h e   c o n t r o l l e r s   c a n   u s e   t o   t e l l   t h o s e   P o d s   a p a r t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11680"
  },
  {
    "question": "What is Ways of running controllers?",
    "answer": "K u b e r n e t e s   c o m e s   w i t h   a   s e t   o f   b u i l t - i n   c o n t r o l l e r s   t h a t   r u n   i n s i d e   t h e   k u b e - c o n t r o l l e r - m a n a g e r .   T h e s e   b u i l t - i n   c o n t r o l l e r s   p r o v i d e   i m p o r t a n t   c o r e   b e h a v i o r s .   T h e   D e p l o y m e n t   c o n t r o l l e r   a n d   J o b   c o n t r o l l e r   a r e   e x a m p l e s   o f   c o n t r o l l e r s   t h a t   c o m e   a s   p a r t   o f   K u b e r n e t e s   i t s e l f   ( \" b u i l t - i n \"   c o n t r o l l e r s ) .   K u b e r n e t e s   l e t s   y o u   r u n   a   r e s i l i e n t   c o n t r o l   p l a n e ,   s o   t h a t   i f   a n y   o f   t h e   b u i l t - i n   c o n t r o l l e r s   w e r e   t o   f a i l ,   a n o t h e r   p a r t   o f   t h e   c o n t r o l   p l a n e   w i l l   t a k e   o v e r   t h e   w o r k .   Y o u   c a n   f i n d   c o n t r o l l e r s   t h a t   r u n   o u t s i d e   t h e   c o n t r o l   p l a n e ,   t o   e x t e n d   K u b e r n e t e s .   O r ,   i f   y o u   w a n t ,   y o u   c a n   w r i t e   a   n e w   c o n t r o l l e r   y o u r s e l f .   Y o u   c a n   r u n   y o u r   o w n   c o n t r o l l e r   a s   a   s e t   o f   P o d s ,   o r   e x t e r n a l l y   t o   K u b e r n e t e s .   W h a t   f i t s   b e s t   w i l l   d e p e n d   o n   w h a t   t h a t   p a r t i c u l a r   c o n t r o l l e r   d o e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11681"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   t h e   K u b e r n e t e s   c o n t r o l   p l a n e D i s c o v e r   s o m e   o f   t h e   b a s i c   K u b e r n e t e s   o b j e c t s L e a r n   m o r e   a b o u t   t h e   K u b e r n e t e s   A P I I f   y o u   w a n t   t o   w r i t e   y o u r   o w n   c o n t r o l l e r ,   s e e   K u b e r n e t e s   e x t e n s i o n   p a t t e r n s   a n d   t h e   s a m p l e - c o n t r o l l e r   r e p o s i t o r y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11682"
  },
  {
    "question": "What is 2.4 - Leases?",
    "answer": "D i s t r i b u t e d   s y s t e m s   o f t e n   h a v e   a   n e e d   f o r   l e a s e s ,   w h i c h   p r o v i d e   a   m e c h a n i s m   t o   l o c k   s h a r e d   r e s o u r c e s   a n d   c o o r d i n a t e   a c t i v i t y   b e t w e e n   m e m b e r s   o f   a   s e t .   I n   K u b e r n e t e s ,   t h e   l e a s e   c o n c e p t   i s   r e p r e s e n t e d   b y   L e a s e   o b j e c t s   i n   t h e   c o o r d i n a t i o n . k 8 s . i o   A P I   G r o u p ,   w h i c h   a r e   u s e d   f o r   s y s t e m - c r i t i c a l   c a p a b i l i t i e s   s u c h   a s   n o d e   h e a r t b e a t s   a n d   c o m p o n e n t - l e v e l   l e a d e r   e l e c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11683"
  },
  {
    "question": "What is Node heartbeats?",
    "answer": "K u b e r n e t e s   u s e s   t h e   L e a s e   A P I   t o   c o m m u n i c a t e   k u b e l e t   n o d e   h e a r t b e a t s   t o   t h e   K u b e r n e t e s   A P I   s e r v e r .   F o r   e v e r y   N o d e   ,   t h e r e   i s   a   L e a s e   o b j e c t   w i t h   a   m a t c h i n g   n a m e   i n   t h e   k u b e - n o d e - l e a s e   n a m e s p a c e .   U n d e r   t h e   h o o d ,   e v e r y   k u b e l e t   h e a r t b e a t   i s   a n   u p d a t e   r e q u e s t   t o   t h i s   L e a s e   o b j e c t ,   u p d a t i n g   t h e   s p e c . r e n e w T i m e   f i e l d   f o r   t h e   L e a s e .   T h e   K u b e r n e t e s   c o n t r o l   p l a n e   u s e s   t h e   t i m e   s t a m p   o f   t h i s   f i e l d   t o   d e t e r m i n e   t h e   a v a i l a b i l i t y   o f   t h i s   N o d e .   S e e   N o d e   L e a s e   o b j e c t s   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11684"
  },
  {
    "question": "What is Leader election?",
    "answer": "K u b e r n e t e s   a l s o   u s e s   L e a s e s   t o   e n s u r e   o n l y   o n e   i n s t a n c e   o f   a   c o m p o n e n t   i s   r u n n i n g   a t   a n y   g i v e n   t i m e .   T h i s   i s   u s e d   b y   c o n t r o l   p l a n e   c o m p o n e n t s   l i k e   k u b e - c o n t r o l l e r - m a n a g e r   a n d   k u b e - s c h e d u l e r   i n   H A   c o n f i g u r a t i o n s ,   w h e r e   o n l y   o n e   i n s t a n c e   o f   t h e   c o m p o n e n t   s h o u l d   b e   a c t i v e l y   r u n n i n g   w h i l e   t h e   o t h e r   i n s t a n c e s   a r e   o n   s t a n d - b y .   R e a d   c o o r d i n a t e d   l e a d e r   e l e c t i o n   t o   l e a r n   a b o u t   h o w   K u b e r n e t e s   b u i l d s   o n   t h e   L e a s e   A P I   t o   s e l e c t   w h i c h   c o m p o n e n t   i n s t a n c e   a c t s   a s   l e a d e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11685"
  },
  {
    "question": "What is API server identity?",
    "answer": "S t a r t i n g   i n   K u b e r n e t e s   v 1 . 2 6 ,   e a c h   k u b e - a p i s e r v e r   u s e s   t h e   L e a s e   A P I   t o   p u b l i s h   i t s   i d e n t i t y   t o   t h e   r e s t   o f   t h e   s y s t e m .   W h i l e   n o t   p a r t i c u l a r l y   u s e f u l   o n   i t s   o w n ,   t h i s   p r o v i d e s   a   m e c h a n i s m   f o r   c l i e n t s   t o   d i s c o v e r   h o w   m a n y   i n s t a n c e s   o f   k u b e - a p i s e r v e r   a r e   o p e r a t i n g   t h e   K u b e r n e t e s   c o n t r o l   p l a n e .   E x i s t e n c e   o f   k u b e - a p i s e r v e r   l e a s e s   e n a b l e s   f u t u r e   c a p a b i l i t i e s   t h a t   m a y   r e q u i r e   c o o r d i n a t i o n   b e t w e e n   e a c h   k u b e - a p i s e r v e r .   Y o u   c a n   i n s p e c t   L e a s e s   o w n e d   b y   e a c h   k u b e - a p i s e r v e r   b y   c h e c k i n g   f o r   l e a s e   o b j e c t s   i n   t h e   k u b e - s y s t e m   n a m e s p a c e   w i t h   t h e   n a m e   a p i s e r v e r - < s h a 2 5 6 - h a s h > .   A l t e r n a t i v e l y   y o u   c a n   u s e   t h e   l a b e l   s e l e c t o r   a p i s e r v e r . k u b e r n e t e s . i o / i d e n t i t y = k u b e - a p i s e r v e r :   k u b e c t l   - n   k u b e - s y s t e m   g e t   l e a s e   - l   a p i s e r v e r . k u b e r n e t e s . i o / i d e n t i t y = k u b e - a p i s e r v e r   N A M E   H O L D E R   A G E   a p i s e r v e r - 0 7 a 5 e a 9 b 9 b 0 7 2 c 4 a 5 f 3 d 1 c 3 7 0 2   a p i s e r v e r - 0 7 a 5 e a 9 b 9 b 0 7 2 c 4 a 5 f 3 d 1 c 3 7 0 2 _ 0 c 8 9 1 4 f 7 - 0 f 3 5 - 4 4 0 e - 8 6 7 6 - 7 8 4 4 9 7 7 d 3 a 0 5   5 m 3 3 s   a p i s e r v e r - 7 b e 9 e 0 6 1 c 5 9 d 3 6 8 b 3 d d a f 1 3 7 6 e   a p i s e r v e r - 7 b e 9 e 0 6 1 c 5 9 d 3 6 8 b 3 d d a f 1 3 7 6 e _ 8 4 f 2 a 8 5 d - 3 7 c 1 - 4 b 1 4 - b 6 b 9 - 6 0 3 e 6 2 e 4 8 9 6 f   4 m 2 3 s   a p i s e r v ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11686"
  },
  {
    "question": "What is Workloads?",
    "answer": "Y o u r   o w n   w o r k l o a d   c a n   d e f i n e   i t s   o w n   u s e   o f   L e a s e s .   F o r   e x a m p l e ,   y o u   m i g h t   r u n   a   c u s t o m   c o n t r o l l e r   w h e r e   a   p r i m a r y   o r   l e a d e r   m e m b e r   p e r f o r m s   o p e r a t i o n s   t h a t   i t s   p e e r s   d o   n o t .   Y o u   d e f i n e   a   L e a s e   s o   t h a t   t h e   c o n t r o l l e r   r e p l i c a s   c a n   s e l e c t   o r   e l e c t   a   l e a d e r ,   u s i n g   t h e   K u b e r n e t e s   A P I   f o r   c o o r d i n a t i o n .   I f   y o u   d o   u s e   a   L e a s e ,   i t ' s   a   g o o d   p r a c t i c e   t o   d e f i n e   a   n a m e   f o r   t h e   L e a s e   t h a t   i s   o b v i o u s l y   l i n k e d   t o   t h e   p r o d u c t   o r   c o m p o n e n t .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   c o m p o n e n t   n a m e d   E x a m p l e   F o o ,   u s e   a   L e a s e   n a m e d   e x a m p l e - f o o .   I f   a   c l u s t e r   o p e r a t o r   o r   a n o t h e r   e n d   u s e r   c o u l d   d e p l o y   m u l t i p l e   i n s t a n c e s   o f   a   c o m p o n e n t ,   s e l e c t   a   n a m e   p r e f i x   a n d   p i c k   a   m e c h a n i s m   ( s u c h   a s   h a s h   o f   t h e   n a m e   o f   t h e   D e p l o y m e n t )   t o   a v o i d   n a m e   c o l l i s i o n s   f o r   t h e   L e a s e s .   Y o u   c a n   u s e   a n o t h e r   a p p r o a c h   s o   l o n g   a s   i t   a c h i e v e s   t h e   s a m e   o u t c o m e :   d i f f e r e n t   s o f t w a r e   p r o d u c t s   d o   n o t   c o n f l i c t   w i t h   o n e   a n o t h e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11687"
  },
  {
    "question": "What is 2.5 - Cloud Controller Manager?",
    "answer": "C l o u d   i n f r a s t r u c t u r e   t e c h n o l o g i e s   l e t   y o u   r u n   K u b e r n e t e s   o n   p u b l i c ,   p r i v a t e ,   a n d   h y b r i d   c l o u d s .   K u b e r n e t e s   b e l i e v e s   i n   a u t o m a t e d ,   A P I - d r i v e n   i n f r a s t r u c t u r e   w i t h o u t   t i g h t   c o u p l i n g   b e t w e e n   c o m p o n e n t s .   T h e   c l o u d - c o n t r o l l e r - m a n a g e r   i s   a   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t   t h a t   e m b e d s   c l o u d - s p e c i f i c   c o n t r o l   l o g i c .   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   l e t s   y o u   l i n k   y o u r   c l u s t e r   i n t o   y o u r   c l o u d   p r o v i d e r ' s   A P I ,   a n d   s e p a r a t e s   o u t   t h e   c o m p o n e n t s   t h a t   i n t e r a c t   w i t h   t h a t   c l o u d   p l a t f o r m   f r o m   c o m p o n e n t s   t h a t   o n l y   i n t e r a c t   w i t h   y o u r   c l u s t e r .   T h e   c l o u d - c o n t r o l l e r - m a n a g e r   i s   a   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t   t h a t   e m b e d s   c l o u d - s p e c i f i c   c o n t r o l   l o g i c .   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   l e t s   y o u   l i n k   y o u r   c l u s t e r   i n t o   y o u r   c l o u d   p r o v i d e r ' s   A P I ,   a n d   s e p a r a t e s   o u t   t h e   c o m p o n e n t s   t h a t   i n t e r a c t   w i t h   t h a t   c l o u d   p l a t f o r m   f r o m   c o m p o n e n t s   t h a t   o n l y   i n t e r a c t   w i t h   y o u r   c l u s t e r .   B y   d e c o u p l i n g   t h e   i n t e r o p e r a b i l i t y   l o g i c   b e t w e e n   K u b e r n e t e s   a n d   t h e   u n d e r l y i n g   c l o u d   i n f r a s t r u c t u r e ,   t h e   c l o u d - c o n t r o l l e r - m a n a g e r   c o m p o n e n t   e n a b l e s   c l o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11688"
  },
  {
    "question": "What is Design?",
    "answer": "T h e   c l o u d   c o n t r o l l e r   m a n a g e r   r u n s   i n   t h e   c o n t r o l   p l a n e   a s   a   r e p l i c a t e d   s e t   o f   p r o c e s s e s   ( u s u a l l y ,   t h e s e   a r e   c o n t a i n e r s   i n   P o d s ) .   E a c h   c l o u d - c o n t r o l l e r - m a n a g e r   i m p l e m e n t s   m u l t i p l e   c o n t r o l l e r s   i n   a   s i n g l e   p r o c e s s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11689"
  },
  {
    "question": "What is Cloud controller manager functions?",
    "answer": "T h e   c o n t r o l l e r s   i n s i d e   t h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n c l u d e :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11690"
  },
  {
    "question": "What is Node controller?",
    "answer": "T h e   n o d e   c o n t r o l l e r   i s   r e s p o n s i b l e   f o r   u p d a t i n g   N o d e   o b j e c t s   w h e n   n e w   s e r v e r s   a r e   c r e a t e d   i n   y o u r   c l o u d   i n f r a s t r u c t u r e .   T h e   n o d e   c o n t r o l l e r   o b t a i n s   i n f o r m a t i o n   a b o u t   t h e   h o s t s   r u n n i n g   i n s i d e   y o u r   t e n a n c y   w i t h   t h e   c l o u d   p r o v i d e r .   T h e   n o d e   c o n t r o l l e r   p e r f o r m s   t h e   f o l l o w i n g   f u n c t i o n s :   U p d a t e   a   N o d e   o b j e c t   w i t h   t h e   c o r r e s p o n d i n g   s e r v e r ' s   u n i q u e   i d e n t i f i e r   o b t a i n e d   f r o m   t h e   c l o u d   p r o v i d e r   A P I . A n n o t a t i n g   a n d   l a b e l l i n g   t h e   N o d e   o b j e c t   w i t h   c l o u d - s p e c i f i c   i n f o r m a t i o n ,   s u c h   a s   t h e   r e g i o n   t h e   n o d e   i s   d e p l o y e d   i n t o   a n d   t h e   r e s o u r c e s   ( C P U ,   m e m o r y ,   e t c )   t h a t   i t   h a s   a v a i l a b l e . O b t a i n   t h e   n o d e ' s   h o s t n a m e   a n d   n e t w o r k   a d d r e s s e s . V e r i f y i n g   t h e   n o d e ' s   h e a l t h .   I n   c a s e   a   n o d e   b e c o m e s   u n r e s p o n s i v e ,   t h i s   c o n t r o l l e r   c h e c k s   w i t h   y o u r   c l o u d   p r o v i d e r ' s   A P I   t o   s e e   i f   t h e   s e r v e r   h a s   b e e n   d e a c t i v a t e d   /   d e l e t e d   /   t e r m i n a t e d .   I f   t h e   n o d e   h a s   b e e n   d e l e t e d   f r o m   t h e   c l o u d ,   t h e   c o n t r o l l e r   d e l e t e s   t h e   N o d e   o b j e c t   f r o m   y o u r   K u b e r n e t e s   c l u s t e r .   S o m e   c l o u d   p r o v i d e r   i m p l e m e n t a t i o n s   s p l i t   t h i s   i n t o   a   n o d e   c o n t r o l l e r   a n d   a   s e p a r a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11691"
  },
  {
    "question": "What is Route controller?",
    "answer": "T h e   r o u t e   c o n t r o l l e r   i s   r e s p o n s i b l e   f o r   c o n f i g u r i n g   r o u t e s   i n   t h e   c l o u d   a p p r o p r i a t e l y   s o   t h a t   c o n t a i n e r s   o n   d i f f e r e n t   n o d e s   i n   y o u r   K u b e r n e t e s   c l u s t e r   c a n   c o m m u n i c a t e   w i t h   e a c h   o t h e r .   D e p e n d i n g   o n   t h e   c l o u d   p r o v i d e r ,   t h e   r o u t e   c o n t r o l l e r   m i g h t   a l s o   a l l o c a t e   b l o c k s   o f   I P   a d d r e s s e s   f o r   t h e   P o d   n e t w o r k .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11692"
  },
  {
    "question": "What is Service controller?",
    "answer": "S e r v i c e s   i n t e g r a t e   w i t h   c l o u d   i n f r a s t r u c t u r e   c o m p o n e n t s   s u c h   a s   m a n a g e d   l o a d   b a l a n c e r s ,   I P   a d d r e s s e s ,   n e t w o r k   p a c k e t   f i l t e r i n g ,   a n d   t a r g e t   h e a l t h   c h e c k i n g .   T h e   s e r v i c e   c o n t r o l l e r   i n t e r a c t s   w i t h   y o u r   c l o u d   p r o v i d e r ' s   A P I s   t o   s e t   u p   l o a d   b a l a n c e r s   a n d   o t h e r   i n f r a s t r u c t u r e   c o m p o n e n t s   w h e n   y o u   d e c l a r e   a   S e r v i c e   r e s o u r c e   t h a t   r e q u i r e s   t h e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11693"
  },
  {
    "question": "What is Authorization?",
    "answer": "T h i s   s e c t i o n   b r e a k s   d o w n   t h e   a c c e s s   t h a t   t h e   c l o u d   c o n t r o l l e r   m a n a g e r   r e q u i r e s   o n   v a r i o u s   A P I   o b j e c t s ,   i n   o r d e r   t o   p e r f o r m   i t s   o p e r a t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11694"
  },
  {
    "question": "What is Node controller?",
    "answer": "T h e   N o d e   c o n t r o l l e r   o n l y   w o r k s   w i t h   N o d e   o b j e c t s .   I t   r e q u i r e s   f u l l   a c c e s s   t o   r e a d   a n d   m o d i f y   N o d e   o b j e c t s .   v 1 / N o d e :   g e t l i s t c r e a t e u p d a t e p a t c h w a t c h d e l e t e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11695"
  },
  {
    "question": "What is Route controller?",
    "answer": "T h e   r o u t e   c o n t r o l l e r   l i s t e n s   t o   N o d e   o b j e c t   c r e a t i o n   a n d   c o n f i g u r e s   r o u t e s   a p p r o p r i a t e l y .   I t   r e q u i r e s   G e t   a c c e s s   t o   N o d e   o b j e c t s .   v 1 / N o d e :   g e t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11696"
  },
  {
    "question": "What is Service controller?",
    "answer": "T h e   s e r v i c e   c o n t r o l l e r   w a t c h e s   f o r   S e r v i c e   o b j e c t   c r e a t e ,   u p d a t e   a n d   d e l e t e   e v e n t s   a n d   t h e n   c o n f i g u r e s   l o a d   b a l a n c e r s   f o r   t h o s e   S e r v i c e s   a p p r o p r i a t e l y .   T o   a c c e s s   S e r v i c e s ,   i t   r e q u i r e s   l i s t ,   a n d   w a t c h   a c c e s s .   T o   u p d a t e   S e r v i c e s ,   i t   r e q u i r e s   p a t c h   a n d   u p d a t e   a c c e s s   t o   t h e   s t a t u s   s u b r e s o u r c e .   v 1 / S e r v i c e :   l i s t g e t w a t c h p a t c h u p d a t e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11697"
  },
  {
    "question": "What is Others?",
    "answer": "T h e   i m p l e m e n t a t i o n   o f   t h e   c o r e   o f   t h e   c l o u d   c o n t r o l l e r   m a n a g e r   r e q u i r e s   a c c e s s   t o   c r e a t e   E v e n t   o b j e c t s ,   a n d   t o   e n s u r e   s e c u r e   o p e r a t i o n ,   i t   r e q u i r e s   a c c e s s   t o   c r e a t e   S e r v i c e A c c o u n t s .   v 1 / E v e n t :   c r e a t e p a t c h u p d a t e   v 1 / S e r v i c e A c c o u n t :   c r e a t e   T h e   R B A C   C l u s t e r R o l e   f o r   t h e   c l o u d   c o n t r o l l e r   m a n a g e r   l o o k s   l i k e :   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   n a m e :   c l o u d - c o n t r o l l e r - m a n a g e r   r u l e s :   -   a p i G r o u p s :   -   \" \"   r e s o u r c e s :   -   e v e n t s   v e r b s :   -   c r e a t e   -   p a t c h   -   u p d a t e   -   a p i G r o u p s :   -   \" \"   r e s o u r c e s :   -   n o d e s   v e r b s :   -   ' * '   -   a p i G r o u p s :   -   \" \"   r e s o u r c e s :   -   n o d e s / s t a t u s   v e r b s :   -   p a t c h   -   a p i G r o u p s :   -   \" \"   r e s o u r c e s :   -   s e r v i c e s   v e r b s :   -   l i s t   -   w a t c h   -   a p i G r o u p s :   -   \" \"   r e s o u r c e s :   -   s e r v i c e s / s t a t u s   v e r b s :   -   p a t c h   -   u p d a t e   -   a p i G r o u p s :   -   \" \"   r e s o u r c e s :   -   s e r v i c e a c c o u n t s   v e r b s :   -   c r e a t e   -   a p i G r o u p s :   -   \" \"   r e s o u r c e s :   -   p e r s i s t e n t v o l u m e s   v e r b s :   -   g e t   -   l i s t   -   u p d a t e   -   w a t c h",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11698"
  },
  {
    "question": "What is What's next?",
    "answer": "C l o u d   C o n t r o l l e r   M a n a g e r   A d m i n i s t r a t i o n   h a s   i n s t r u c t i o n s   o n   r u n n i n g   a n d   m a n a g i n g   t h e   c l o u d   c o n t r o l l e r   m a n a g e r . T o   u p g r a d e   a   H A   c o n t r o l   p l a n e   t o   u s e   t h e   c l o u d   c o n t r o l l e r   m a n a g e r ,   s e e   M i g r a t e   R e p l i c a t e d   C o n t r o l   P l a n e   T o   U s e   C l o u d   C o n t r o l l e r   M a n a g e r . W a n t   t o   k n o w   h o w   t o   i m p l e m e n t   y o u r   o w n   c l o u d   c o n t r o l l e r   m a n a g e r ,   o r   e x t e n d   a n   e x i s t i n g   p r o j e c t ? T h e   c l o u d   c o n t r o l l e r   m a n a g e r   u s e s   G o   i n t e r f a c e s ,   s p e c i f i c a l l y ,   C l o u d P r o v i d e r   i n t e r f a c e   d e f i n e d   i n   c l o u d . g o   f r o m   k u b e r n e t e s / c l o u d - p r o v i d e r   t o   a l l o w   i m p l e m e n t a t i o n s   f r o m   a n y   c l o u d   t o   b e   p l u g g e d   i n . T h e   i m p l e m e n t a t i o n   o f   t h e   s h a r e d   c o n t r o l l e r s   h i g h l i g h t e d   i n   t h i s   d o c u m e n t   ( N o d e ,   R o u t e ,   a n d   S e r v i c e ) ,   a n d   s o m e   s c a f f o l d i n g   a l o n g   w i t h   t h e   s h a r e d   c l o u d p r o v i d e r   i n t e r f a c e ,   i s   p a r t   o f   t h e   K u b e r n e t e s   c o r e .   I m p l e m e n t a t i o n s   s p e c i f i c   t o   c l o u d   p r o v i d e r s   a r e   o u t s i d e   t h e   c o r e   o f   K u b e r n e t e s   a n d   i m p l e m e n t   t h e   C l o u d P r o v i d e r   i n t e r f a c e . F o r   m o r e   i n f o r m a t i o n   a b o u t   d e v e l o p i n g   p l u g i n s ,   s e e   D e v e l o p i n g   C l o u d   C o n t r o l l e r   M a n a g e r .   C l o u d   C o n t r o l l e r   M a n a g e r   A d m i n i s t r a t i o n   h a s   i n s t r u c t i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11699"
  },
  {
    "question": "What is 2.6 - About cgroup v2?",
    "answer": "O n   L i n u x ,   c o n t r o l   g r o u p s   c o n s t r a i n   r e s o u r c e s   t h a t   a r e   a l l o c a t e d   t o   p r o c e s s e s .   T h e   k u b e l e t   a n d   t h e   u n d e r l y i n g   c o n t a i n e r   r u n t i m e   n e e d   t o   i n t e r f a c e   w i t h   c g r o u p s   t o   e n f o r c e   r e s o u r c e   m a n a g e m e n t   f o r   p o d s   a n d   c o n t a i n e r s   w h i c h   i n c l u d e s   c p u / m e m o r y   r e q u e s t s   a n d   l i m i t s   f o r   c o n t a i n e r i z e d   w o r k l o a d s .   T h e r e   a r e   t w o   v e r s i o n s   o f   c g r o u p s   i n   L i n u x :   c g r o u p   v 1   a n d   c g r o u p   v 2 .   c g r o u p   v 2   i s   t h e   n e w   g e n e r a t i o n   o f   t h e   c g r o u p   A P I .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11700"
  },
  {
    "question": "What is What is cgroup v2??",
    "answer": "c g r o u p   v 2   i s   t h e   n e x t   v e r s i o n   o f   t h e   L i n u x   c g r o u p   A P I .   c g r o u p   v 2   p r o v i d e s   a   u n i f i e d   c o n t r o l   s y s t e m   w i t h   e n h a n c e d   r e s o u r c e   m a n a g e m e n t   c a p a b i l i t i e s .   c g r o u p   v 2   o f f e r s   s e v e r a l   i m p r o v e m e n t s   o v e r   c g r o u p   v 1 ,   s u c h   a s   t h e   f o l l o w i n g :   S i n g l e   u n i f i e d   h i e r a r c h y   d e s i g n   i n   A P I S a f e r   s u b - t r e e   d e l e g a t i o n   t o   c o n t a i n e r s N e w e r   f e a t u r e s   l i k e   P r e s s u r e   S t a l l   I n f o r m a t i o n E n h a n c e d   r e s o u r c e   a l l o c a t i o n   m a n a g e m e n t   a n d   i s o l a t i o n   a c r o s s   m u l t i p l e   r e s o u r c e s U n i f i e d   a c c o u n t i n g   f o r   d i f f e r e n t   t y p e s   o f   m e m o r y   a l l o c a t i o n s   ( n e t w o r k   m e m o r y ,   k e r n e l   m e m o r y ,   e t c ) A c c o u n t i n g   f o r   n o n - i m m e d i a t e   r e s o u r c e   c h a n g e s   s u c h   a s   p a g e   c a c h e   w r i t e   b a c k s   U n i f i e d   a c c o u n t i n g   f o r   d i f f e r e n t   t y p e s   o f   m e m o r y   a l l o c a t i o n s   ( n e t w o r k   m e m o r y ,   k e r n e l   m e m o r y ,   e t c ) A c c o u n t i n g   f o r   n o n - i m m e d i a t e   r e s o u r c e   c h a n g e s   s u c h   a s   p a g e   c a c h e   w r i t e   b a c k s   S o m e   K u b e r n e t e s   f e a t u r e s   e x c l u s i v e l y   u s e   c g r o u p   v 2   f o r   e n h a n c e d   r e s o u r c e   m a n a g e m e n t   a n d   i s o l a t i o n .   F o r   e x a m p l e ,   t h e   M e m o r y Q o S   f e a t u r e   i m p r o v e s   m e m o r y   Q o S   a n d   r e l i e s   o n   c g r o u p   v 2   p r i m i t i v e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11701"
  },
  {
    "question": "What is Using cgroup v2?",
    "answer": "T h e   r e c o m m e n d e d   w a y   t o   u s e   c g r o u p   v 2   i s   t o   u s e   a   L i n u x   d i s t r i b u t i o n   t h a t   e n a b l e s   a n d   u s e s   c g r o u p   v 2   b y   d e f a u l t .   T o   c h e c k   i f   y o u r   d i s t r i b u t i o n   u s e s   c g r o u p   v 2 ,   r e f e r   t o   I d e n t i f y   c g r o u p   v e r s i o n   o n   L i n u x   n o d e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11702"
  },
  {
    "question": "What is Requirements?",
    "answer": "c g r o u p   v 2   h a s   t h e   f o l l o w i n g   r e q u i r e m e n t s :   O S   d i s t r i b u t i o n   e n a b l e s   c g r o u p   v 2 L i n u x   K e r n e l   v e r s i o n   i s   5 . 8   o r   l a t e r C o n t a i n e r   r u n t i m e   s u p p o r t s   c g r o u p   v 2 .   F o r   e x a m p l e : c o n t a i n e r d   v 1 . 4   a n d   l a t e r c r i - o   v 1 . 2 0   a n d   l a t e r T h e   k u b e l e t   a n d   t h e   c o n t a i n e r   r u n t i m e   a r e   c o n f i g u r e d   t o   u s e   t h e   s y s t e m d   c g r o u p   d r i v e r   c o n t a i n e r d   v 1 . 4   a n d   l a t e r c r i - o   v 1 . 2 0   a n d   l a t e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11703"
  },
  {
    "question": "What is Linux Distribution cgroup v2 support?",
    "answer": "F o r   a   l i s t   o f   L i n u x   d i s t r i b u t i o n s   t h a t   u s e   c g r o u p   v 2 ,   r e f e r   t o   t h e   c g r o u p   v 2   d o c u m e n t a t i o n   C o n t a i n e r   O p t i m i z e d   O S   ( s i n c e   M 9 7 ) U b u n t u   ( s i n c e   2 1 . 1 0 ,   2 2 . 0 4 +   r e c o m m e n d e d ) D e b i a n   G N U / L i n u x   ( s i n c e   D e b i a n   1 1   b u l l s e y e ) F e d o r a   ( s i n c e   3 1 ) A r c h   L i n u x   ( s i n c e   A p r i l   2 0 2 1 ) R H E L   a n d   R H E L - l i k e   d i s t r i b u t i o n s   ( s i n c e   9 )   T o   c h e c k   i f   y o u r   d i s t r i b u t i o n   i s   u s i n g   c g r o u p   v 2 ,   r e f e r   t o   y o u r   d i s t r i b u t i o n ' s   d o c u m e n t a t i o n   o r   f o l l o w   t h e   i n s t r u c t i o n s   i n   I d e n t i f y   t h e   c g r o u p   v e r s i o n   o n   L i n u x   n o d e s .   Y o u   c a n   a l s o   e n a b l e   c g r o u p   v 2   m a n u a l l y   o n   y o u r   L i n u x   d i s t r i b u t i o n   b y   m o d i f y i n g   t h e   k e r n e l   c m d l i n e   b o o t   a r g u m e n t s .   I f   y o u r   d i s t r i b u t i o n   u s e s   G R U B ,   s y s t e m d . u n i f i e d _ c g r o u p _ h i e r a r c h y = 1   s h o u l d   b e   a d d e d   i n   G R U B _ C M D L I N E _ L I N U X   u n d e r   / e t c / d e f a u l t / g r u b ,   f o l l o w e d   b y   s u d o   u p d a t e - g r u b .   H o w e v e r ,   t h e   r e c o m m e n d e d   a p p r o a c h   i s   t o   u s e   a   d i s t r i b u t i o n   t h a t   a l r e a d y   e n a b l e s   c g r o u p   v 2   b y   d e f a u l t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11704"
  },
  {
    "question": "What is Migrating to cgroup v2?",
    "answer": "T o   m i g r a t e   t o   c g r o u p   v 2 ,   e n s u r e   t h a t   y o u   m e e t   t h e   r e q u i r e m e n t s ,   t h e n   u p g r a d e   t o   a   k e r n e l   v e r s i o n   t h a t   e n a b l e s   c g r o u p   v 2   b y   d e f a u l t .   T h e   k u b e l e t   a u t o m a t i c a l l y   d e t e c t s   t h a t   t h e   O S   i s   r u n n i n g   o n   c g r o u p   v 2   a n d   p e r f o r m s   a c c o r d i n g l y   w i t h   n o   a d d i t i o n a l   c o n f i g u r a t i o n   r e q u i r e d .   T h e r e   s h o u l d   n o t   b e   a n y   n o t i c e a b l e   d i f f e r e n c e   i n   t h e   u s e r   e x p e r i e n c e   w h e n   s w i t c h i n g   t o   c g r o u p   v 2 ,   u n l e s s   u s e r s   a r e   a c c e s s i n g   t h e   c g r o u p   f i l e   s y s t e m   d i r e c t l y ,   e i t h e r   o n   t h e   n o d e   o r   f r o m   w i t h i n   t h e   c o n t a i n e r s .   c g r o u p   v 2   u s e s   a   d i f f e r e n t   A P I   t h a n   c g r o u p   v 1 ,   s o   i f   t h e r e   a r e   a n y   a p p l i c a t i o n s   t h a t   d i r e c t l y   a c c e s s   t h e   c g r o u p   f i l e   s y s t e m ,   t h e y   n e e d   t o   b e   u p d a t e d   t o   n e w e r   v e r s i o n s   t h a t   s u p p o r t   c g r o u p   v 2 .   F o r   e x a m p l e :   S o m e   t h i r d - p a r t y   m o n i t o r i n g   a n d   s e c u r i t y   a g e n t s   m a y   d e p e n d   o n   t h e   c g r o u p   f i l e s y s t e m .   U p d a t e   t h e s e   a g e n t s   t o   v e r s i o n s   t h a t   s u p p o r t   c g r o u p   v 2 . I f   y o u   r u n   c A d v i s o r   a s   a   s t a n d - a l o n e   D a e m o n S e t   f o r   m o n i t o r i n g   p o d s   a n d   c o n t a i n e r s ,   u p d a t e   i t   t o   v 0 . 4 3 . 0   o r   l a t e r . I f   y o u   d e p l o y   J a v a   a p p l i c a t i o n s ,   p r e f e r   t o   u s e   v e r s i o n s   w h i c h   f u l ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11705"
  },
  {
    "question": "What is Identify the cgroup version on Linux Nodes?",
    "answer": "T h e   c g r o u p   v e r s i o n   d e p e n d s   o n   t h e   L i n u x   d i s t r i b u t i o n   b e i n g   u s e d   a n d   t h e   d e f a u l t   c g r o u p   v e r s i o n   c o n f i g u r e d   o n   t h e   O S .   T o   c h e c k   w h i c h   c g r o u p   v e r s i o n   y o u r   d i s t r i b u t i o n   u s e s ,   r u n   t h e   s t a t   - f c   % T   / s y s / f s / c g r o u p /   c o m m a n d   o n   t h e   n o d e :   s t a t   - f c   % T   / s y s / f s / c g r o u p /   F o r   c g r o u p   v 2 ,   t h e   o u t p u t   i s   c g r o u p 2 f s .   F o r   c g r o u p   v 1 ,   t h e   o u t p u t   i s   t m p f s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11706"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   c g r o u p s L e a r n   m o r e   a b o u t   c o n t a i n e r   r u n t i m e L e a r n   m o r e   a b o u t   c g r o u p   d r i v e r s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11707"
  },
  {
    "question": "What is 2.7 - Kubernetes Self-Healing?",
    "answer": "K u b e r n e t e s   i s   d e s i g n e d   w i t h   s e l f - h e a l i n g   c a p a b i l i t i e s   t h a t   h e l p   m a i n t a i n   t h e   h e a l t h   a n d   a v a i l a b i l i t y   o f   w o r k l o a d s .   I t   a u t o m a t i c a l l y   r e p l a c e s   f a i l e d   c o n t a i n e r s ,   r e s c h e d u l e s   w o r k l o a d s   w h e n   n o d e s   b e c o m e   u n a v a i l a b l e ,   a n d   e n s u r e s   t h a t   t h e   d e s i r e d   s t a t e   o f   t h e   s y s t e m   i s   m a i n t a i n e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11708"
  },
  {
    "question": "What is Self-Healing capabilities?",
    "answer": "C o n t a i n e r - l e v e l   r e s t a r t s :   I f   a   c o n t a i n e r   i n s i d e   a   P o d   f a i l s ,   K u b e r n e t e s   r e s t a r t s   i t   b a s e d   o n   t h e   r e s t a r t P o l i c y . R e p l i c a   r e p l a c e m e n t :   I f   a   P o d   i n   a   D e p l o y m e n t   o r   S t a t e f u l S e t   f a i l s ,   K u b e r n e t e s   c r e a t e s   a   r e p l a c e m e n t   P o d   t o   m a i n t a i n   t h e   s p e c i f i e d   n u m b e r   o f   r e p l i c a s .   I f   a   P o d   f a i l s   t h a t   i s   p a r t   o f   a   D a e m o n S e t   f a i l s ,   t h e   c o n t r o l   p l a n e   c r e a t e s   a   r e p l a c e m e n t   P o d   t o   r u n   o n   t h e   s a m e   n o d e . P e r s i s t e n t   s t o r a g e   r e c o v e r y :   I f   a   n o d e   i s   r u n n i n g   a   P o d   w i t h   a   P e r s i s t e n t V o l u m e   ( P V )   a t t a c h e d ,   a n d   t h e   n o d e   f a i l s ,   K u b e r n e t e s   c a n   r e a t t a c h   t h e   v o l u m e   t o   a   n e w   P o d   o n   a   d i f f e r e n t   n o d e . L o a d   b a l a n c i n g   f o r   S e r v i c e s :   I f   a   P o d   b e h i n d   a   S e r v i c e   f a i l s ,   K u b e r n e t e s   a u t o m a t i c a l l y   r e m o v e s   i t   f r o m   t h e   S e r v i c e ' s   e n d p o i n t s   t o   r o u t e   t r a f f i c   o n l y   t o   h e a l t h y   P o d s .   C o n t a i n e r - l e v e l   r e s t a r t s :   I f   a   c o n t a i n e r   i n s i d e   a   P o d   f a i l s ,   K u b e r n e t e s   r e s t a r t s   i t   b a s e d   o n   t h e   r e s t a r t P o l i c y .   R e p l i c a   r e p l a c e m e n t :   I f   a   P o d   i n   a   D e p l o y m e n t   o r   S t a t e f u l S e t   f a i l s ,   K u b e r n e t e s   c r e a t e s   a   r e p l a c e m e n t   P o d   t o   m a i n t a i n   t h e   s p e c i f i e d   n u m b e r   o f   r e p l i c a s .   I f   a   P o d ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11709"
  },
  {
    "question": "What is Considerations?",
    "answer": "S t o r a g e   F a i l u r e s :   I f   a   p e r s i s t e n t   v o l u m e   b e c o m e s   u n a v a i l a b l e ,   r e c o v e r y   s t e p s   m a y   b e   r e q u i r e d . A p p l i c a t i o n   E r r o r s :   K u b e r n e t e s   c a n   r e s t a r t   c o n t a i n e r s ,   b u t   u n d e r l y i n g   a p p l i c a t i o n   i s s u e s   m u s t   b e   a d d r e s s e d   s e p a r a t e l y .   S t o r a g e   F a i l u r e s :   I f   a   p e r s i s t e n t   v o l u m e   b e c o m e s   u n a v a i l a b l e ,   r e c o v e r y   s t e p s   m a y   b e   r e q u i r e d .   A p p l i c a t i o n   E r r o r s :   K u b e r n e t e s   c a n   r e s t a r t   c o n t a i n e r s ,   b u t   u n d e r l y i n g   a p p l i c a t i o n   i s s u e s   m u s t   b e   a d d r e s s e d   s e p a r a t e l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11710"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   m o r e   a b o u t   P o d s L e a r n   a b o u t   K u b e r n e t e s   C o n t r o l l e r s E x p l o r e   P e r s i s t e n t V o l u m e s R e a d   a b o u t   n o d e   a u t o s c a l i n g .   N o d e   a u t o s c a l i n g   a l s o   p r o v i d e s   a u t o m a t i c   h e a l i n g   i f   o r   w h e n   n o d e s   f a i l   i n   y o u r   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11711"
  },
  {
    "question": "What is 2.8 - Container Runtime Interface (CRI)?",
    "answer": "T h e   C R I   i s   a   p l u g i n   i n t e r f a c e   w h i c h   e n a b l e s   t h e   k u b e l e t   t o   u s e   a   w i d e   v a r i e t y   o f   c o n t a i n e r   r u n t i m e s ,   w i t h o u t   h a v i n g   a   n e e d   t o   r e c o m p i l e   t h e   c l u s t e r   c o m p o n e n t s .   Y o u   n e e d   a   w o r k i n g   c o n t a i n e r   r u n t i m e   o n   e a c h   N o d e   i n   y o u r   c l u s t e r ,   s o   t h a t   t h e   k u b e l e t   c a n   l a u n c h   P o d s   a n d   t h e i r   c o n t a i n e r s .   T h e   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I )   i s   t h e   m a i n   p r o t o c o l   f o r   t h e   c o m m u n i c a t i o n   b e t w e e n   t h e   k u b e l e t   a n d   C o n t a i n e r   R u n t i m e .   T h e   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I )   i s   t h e   m a i n   p r o t o c o l   f o r   t h e   c o m m u n i c a t i o n   b e t w e e n   t h e   k u b e l e t   a n d   C o n t a i n e r   R u n t i m e .   T h e   K u b e r n e t e s   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I )   d e f i n e s   t h e   m a i n   g R P C   p r o t o c o l   f o r   t h e   c o m m u n i c a t i o n   b e t w e e n   t h e   n o d e   c o m p o n e n t s   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11712"
  },
  {
    "question": "What is The API?",
    "answer": "T h e   k u b e l e t   a c t s   a s   a   c l i e n t   w h e n   c o n n e c t i n g   t o   t h e   c o n t a i n e r   r u n t i m e   v i a   g R P C .   T h e   r u n t i m e   a n d   i m a g e   s e r v i c e   e n d p o i n t s   h a v e   t o   b e   a v a i l a b l e   i n   t h e   c o n t a i n e r   r u n t i m e ,   w h i c h   c a n   b e   c o n f i g u r e d   s e p a r a t e l y   w i t h i n   t h e   k u b e l e t   b y   u s i n g   t h e   - - c o n t a i n e r - r u n t i m e - e n d p o i n t   c o m m a n d   l i n e   f l a g .   F o r   K u b e r n e t e s   v 1 . 2 6   a n d   l a t e r ,   t h e   k u b e l e t   r e q u i r e s   t h a t   t h e   c o n t a i n e r   r u n t i m e   s u p p o r t s   t h e   v 1   C R I   A P I .   I f   a   c o n t a i n e r   r u n t i m e   d o e s   n o t   s u p p o r t   t h e   v 1   A P I ,   t h e   k u b e l e t   w i l l   n o t   r e g i s t e r   t h e   n o d e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11713"
  },
  {
    "question": "What is Upgrading?",
    "answer": "W h e n   u p g r a d i n g   t h e   K u b e r n e t e s   v e r s i o n   o n   a   n o d e ,   t h e   k u b e l e t   r e s t a r t s .   I f   t h e   c o n t a i n e r   r u n t i m e   d o e s   n o t   s u p p o r t   t h e   v 1   C R I   A P I ,   t h e   k u b e l e t   w i l l   f a i l   t o   r e g i s t e r   a n d   r e p o r t   a n   e r r o r .   I f   a   g R P C   r e - d i a l   i s   r e q u i r e d   b e c a u s e   t h e   c o n t a i n e r   r u n t i m e   h a s   b e e n   u p g r a d e d ,   t h e   r u n t i m e   m u s t   s u p p o r t   t h e   v 1   C R I   A P I   f o r   t h e   c o n n e c t i o n   t o   s u c c e e d .   T h i s   m i g h t   r e q u i r e   a   r e s t a r t   o f   t h e   k u b e l e t   a f t e r   t h e   c o n t a i n e r   r u n t i m e   i s   c o r r e c t l y   c o n f i g u r e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11714"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   t h e   C R I   p r o t o c o l   d e f i n i t i o n",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11715"
  },
  {
    "question": "What is 2.9 - Garbage Collection?",
    "answer": "G a r b a g e   c o l l e c t i o n   i s   a   c o l l e c t i v e   t e r m   f o r   t h e   v a r i o u s   m e c h a n i s m s   K u b e r n e t e s   u s e s   t o   c l e a n   u p   c l u s t e r   r e s o u r c e s .   T h i s   a l l o w s   t h e   c l e a n   u p   o f   r e s o u r c e s   l i k e   t h e   f o l l o w i n g :   T e r m i n a t e d   p o d s C o m p l e t e d   J o b s O b j e c t s   w i t h o u t   o w n e r   r e f e r e n c e s U n u s e d   c o n t a i n e r s   a n d   c o n t a i n e r   i m a g e s D y n a m i c a l l y   p r o v i s i o n e d   P e r s i s t e n t V o l u m e s   w i t h   a   S t o r a g e C l a s s   r e c l a i m   p o l i c y   o f   D e l e t e S t a l e   o r   e x p i r e d   C e r t i f i c a t e S i g n i n g R e q u e s t s   ( C S R s ) N o d e s   d e l e t e d   i n   t h e   f o l l o w i n g   s c e n a r i o s : O n   a   c l o u d   w h e n   t h e   c l u s t e r   u s e s   a   c l o u d   c o n t r o l l e r   m a n a g e r O n - p r e m i s e s   w h e n   t h e   c l u s t e r   u s e s   a n   a d d o n   s i m i l a r   t o   a   c l o u d   c o n t r o l l e r   m a n a g e r N o d e   L e a s e   o b j e c t s   O n   a   c l o u d   w h e n   t h e   c l u s t e r   u s e s   a   c l o u d   c o n t r o l l e r   m a n a g e r O n - p r e m i s e s   w h e n   t h e   c l u s t e r   u s e s   a n   a d d o n   s i m i l a r   t o   a   c l o u d   c o n t r o l l e r   m a n a g e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11716"
  },
  {
    "question": "What is Owners and dependents?",
    "answer": "M a n y   o b j e c t s   i n   K u b e r n e t e s   l i n k   t o   e a c h   o t h e r   t h r o u g h   o w n e r   r e f e r e n c e s .   O w n e r   r e f e r e n c e s   t e l l   t h e   c o n t r o l   p l a n e   w h i c h   o b j e c t s   a r e   d e p e n d e n t   o n   o t h e r s .   K u b e r n e t e s   u s e s   o w n e r   r e f e r e n c e s   t o   g i v e   t h e   c o n t r o l   p l a n e ,   a n d   o t h e r   A P I   c l i e n t s ,   t h e   o p p o r t u n i t y   t o   c l e a n   u p   r e l a t e d   r e s o u r c e s   b e f o r e   d e l e t i n g   a n   o b j e c t .   I n   m o s t   c a s e s ,   K u b e r n e t e s   m a n a g e s   o w n e r   r e f e r e n c e s   a u t o m a t i c a l l y .   O w n e r s h i p   i s   d i f f e r e n t   f r o m   t h e   l a b e l s   a n d   s e l e c t o r s   m e c h a n i s m   t h a t   s o m e   r e s o u r c e s   a l s o   u s e .   F o r   e x a m p l e ,   c o n s i d e r   a   S e r v i c e   t h a t   c r e a t e s   E n d p o i n t S l i c e   o b j e c t s .   T h e   S e r v i c e   u s e s   l a b e l s   t o   a l l o w   t h e   c o n t r o l   p l a n e   t o   d e t e r m i n e   w h i c h   E n d p o i n t S l i c e   o b j e c t s   a r e   u s e d   f o r   t h a t   S e r v i c e .   I n   a d d i t i o n   t o   t h e   l a b e l s ,   e a c h   E n d p o i n t S l i c e   t h a t   i s   m a n a g e d   o n   b e h a l f   o f   a   S e r v i c e   h a s   a n   o w n e r   r e f e r e n c e .   O w n e r   r e f e r e n c e s   h e l p   d i f f e r e n t   p a r t s   o f   K u b e r n e t e s   a v o i d   i n t e r f e r i n g   w i t h   o b j e c t s   t h e y   d o n ’ t   c o n t r o l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11717"
  },
  {
    "question": "What is Note:?",
    "answer": "C r o s s - n a m e s p a c e   o w n e r   r e f e r e n c e s   a r e   d i s a l l o w e d   b y   d e s i g n .   N a m e s p a c e d   d e p e n d e n t s   c a n   s p e c i f y   c l u s t e r - s c o p e d   o r   n a m e s p a c e d   o w n e r s .   A   n a m e s p a c e d   o w n e r   m u s t   e x i s t   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   d e p e n d e n t .   I f   i t   d o e s   n o t ,   t h e   o w n e r   r e f e r e n c e   i s   t r e a t e d   a s   a b s e n t ,   a n d   t h e   d e p e n d e n t   i s   s u b j e c t   t o   d e l e t i o n   o n c e   a l l   o w n e r s   a r e   v e r i f i e d   a b s e n t .   C l u s t e r - s c o p e d   d e p e n d e n t s   c a n   o n l y   s p e c i f y   c l u s t e r - s c o p e d   o w n e r s .   I n   v 1 . 2 0 + ,   i f   a   c l u s t e r - s c o p e d   d e p e n d e n t   s p e c i f i e s   a   n a m e s p a c e d   k i n d   a s   a n   o w n e r ,   i t   i s   t r e a t e d   a s   h a v i n g   a n   u n r e s o l v a b l e   o w n e r   r e f e r e n c e ,   a n d   i s   n o t   a b l e   t o   b e   g a r b a g e   c o l l e c t e d .   I n   v 1 . 2 0 + ,   i f   t h e   g a r b a g e   c o l l e c t o r   d e t e c t s   a n   i n v a l i d   c r o s s - n a m e s p a c e   o w n e r R e f e r e n c e ,   o r   a   c l u s t e r - s c o p e d   d e p e n d e n t   w i t h   a n   o w n e r R e f e r e n c e   r e f e r e n c i n g   a   n a m e s p a c e d   k i n d ,   a   w a r n i n g   E v e n t   w i t h   a   r e a s o n   o f   O w n e r R e f I n v a l i d N a m e s p a c e   a n d   a n   i n v o l v e d O b j e c t   o f   t h e   i n v a l i d   d e p e n d e n t   i s   r e p o r t e d .   Y o u   c a n   c h e c k   f o r   t h a t   k i n d   o f   E v e n t   b y   r u n n i n g   k u b e c t l   g e t   e v e n t s   - A   - - f i e l d - s e l e c t o r = r e a s o n = O w n e r R e f I n v a l i d N a m e s p a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11718"
  },
  {
    "question": "What is Cascading deletion?",
    "answer": "K u b e r n e t e s   c h e c k s   f o r   a n d   d e l e t e s   o b j e c t s   t h a t   n o   l o n g e r   h a v e   o w n e r   r e f e r e n c e s ,   l i k e   t h e   p o d s   l e f t   b e h i n d   w h e n   y o u   d e l e t e   a   R e p l i c a S e t .   W h e n   y o u   d e l e t e   a n   o b j e c t ,   y o u   c a n   c o n t r o l   w h e t h e r   K u b e r n e t e s   d e l e t e s   t h e   o b j e c t ' s   d e p e n d e n t s   a u t o m a t i c a l l y ,   i n   a   p r o c e s s   c a l l e d   c a s c a d i n g   d e l e t i o n .   T h e r e   a r e   t w o   t y p e s   o f   c a s c a d i n g   d e l e t i o n ,   a s   f o l l o w s :   F o r e g r o u n d   c a s c a d i n g   d e l e t i o n B a c k g r o u n d   c a s c a d i n g   d e l e t i o n   Y o u   c a n   a l s o   c o n t r o l   h o w   a n d   w h e n   g a r b a g e   c o l l e c t i o n   d e l e t e s   r e s o u r c e s   t h a t   h a v e   o w n e r   r e f e r e n c e s   u s i n g   K u b e r n e t e s   f i n a l i z e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11719"
  },
  {
    "question": "What is Foreground cascading deletion?",
    "answer": "I n   f o r e g r o u n d   c a s c a d i n g   d e l e t i o n ,   t h e   o w n e r   o b j e c t   y o u ' r e   d e l e t i n g   f i r s t   e n t e r s   a   d e l e t i o n   i n   p r o g r e s s   s t a t e .   I n   t h i s   s t a t e ,   t h e   f o l l o w i n g   h a p p e n s   t o   t h e   o w n e r   o b j e c t :   T h e   K u b e r n e t e s   A P I   s e r v e r   s e t s   t h e   o b j e c t ' s   m e t a d a t a . d e l e t i o n T i m e s t a m p   f i e l d   t o   t h e   t i m e   t h e   o b j e c t   w a s   m a r k e d   f o r   d e l e t i o n . T h e   K u b e r n e t e s   A P I   s e r v e r   a l s o   s e t s   t h e   m e t a d a t a . f i n a l i z e r s   f i e l d   t o   f o r e g r o u n d D e l e t i o n . T h e   o b j e c t   r e m a i n s   v i s i b l e   t h r o u g h   t h e   K u b e r n e t e s   A P I   u n t i l   t h e   d e l e t i o n   p r o c e s s   i s   c o m p l e t e .   A f t e r   t h e   o w n e r   o b j e c t   e n t e r s   t h e   d e l e t i o n   i n   p r o g r e s s   s t a t e ,   t h e   c o n t r o l l e r   d e l e t e s   d e p e n d e n t s   i t   k n o w s   a b o u t .   A f t e r   d e l e t i n g   a l l   t h e   d e p e n d e n t   o b j e c t s   i t   k n o w s   a b o u t ,   t h e   c o n t r o l l e r   d e l e t e s   t h e   o w n e r   o b j e c t .   A t   t h i s   p o i n t ,   t h e   o b j e c t   i s   n o   l o n g e r   v i s i b l e   i n   t h e   K u b e r n e t e s   A P I .   D u r i n g   f o r e g r o u n d   c a s c a d i n g   d e l e t i o n ,   t h e   o n l y   d e p e n d e n t s   t h a t   b l o c k   o w n e r   d e l e t i o n   a r e   t h o s e   t h a t   h a v e   t h e   o w n e r R e f e r e n c e . b l o c k O w n e r D e l e t i o n = t r u e   f i e l d   a n d   a r e   i n   t h e   g a r b a g e   c o l l e c t i o n   c o n t r o l l e r   c a c h e .   T h e   g a r b a g e   c o l l e c t i o n   c o n t r o l l e r   c a c h e   m ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11720"
  },
  {
    "question": "What is Background cascading deletion?",
    "answer": "I n   b a c k g r o u n d   c a s c a d i n g   d e l e t i o n ,   t h e   K u b e r n e t e s   A P I   s e r v e r   d e l e t e s   t h e   o w n e r   o b j e c t   i m m e d i a t e l y   a n d   t h e   g a r b a g e   c o l l e c t o r   c o n t r o l l e r   ( c u s t o m   o r   d e f a u l t )   c l e a n s   u p   t h e   d e p e n d e n t   o b j e c t s   i n   t h e   b a c k g r o u n d .   I f   a   f i n a l i z e r   e x i s t s ,   i t   e n s u r e s   t h a t   o b j e c t s   a r e   n o t   d e l e t e d   u n t i l   a l l   n e c e s s a r y   c l e a n - u p   t a s k s   a r e   c o m p l e t e d .   B y   d e f a u l t ,   K u b e r n e t e s   u s e s   b a c k g r o u n d   c a s c a d i n g   d e l e t i o n   u n l e s s   y o u   m a n u a l l y   u s e   f o r e g r o u n d   d e l e t i o n   o r   c h o o s e   t o   o r p h a n   t h e   d e p e n d e n t   o b j e c t s .   S e e   U s e   b a c k g r o u n d   c a s c a d i n g   d e l e t i o n   t o   l e a r n   m o r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11721"
  },
  {
    "question": "What is Orphaned dependents?",
    "answer": "W h e n   K u b e r n e t e s   d e l e t e s   a n   o w n e r   o b j e c t ,   t h e   d e p e n d e n t s   l e f t   b e h i n d   a r e   c a l l e d   o r p h a n   o b j e c t s .   B y   d e f a u l t ,   K u b e r n e t e s   d e l e t e s   d e p e n d e n t   o b j e c t s .   T o   l e a r n   h o w   t o   o v e r r i d e   t h i s   b e h a v i o u r ,   s e e   D e l e t e   o w n e r   o b j e c t s   a n d   o r p h a n   d e p e n d e n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11722"
  },
  {
    "question": "What is Garbage collection of unused containers and images?",
    "answer": "T h e   k u b e l e t   p e r f o r m s   g a r b a g e   c o l l e c t i o n   o n   u n u s e d   i m a g e s   e v e r y   f i v e   m i n u t e s   a n d   o n   u n u s e d   c o n t a i n e r s   e v e r y   m i n u t e .   Y o u   s h o u l d   a v o i d   u s i n g   e x t e r n a l   g a r b a g e   c o l l e c t i o n   t o o l s ,   a s   t h e s e   c a n   b r e a k   t h e   k u b e l e t   b e h a v i o r   a n d   r e m o v e   c o n t a i n e r s   t h a t   s h o u l d   e x i s t .   T o   c o n f i g u r e   o p t i o n s   f o r   u n u s e d   c o n t a i n e r   a n d   i m a g e   g a r b a g e   c o l l e c t i o n ,   t u n e   t h e   k u b e l e t   u s i n g   a   c o n f i g u r a t i o n   f i l e   a n d   c h a n g e   t h e   p a r a m e t e r s   r e l a t e d   t o   g a r b a g e   c o l l e c t i o n   u s i n g   t h e   K u b e l e t C o n f i g u r a t i o n   r e s o u r c e   t y p e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11723"
  },
  {
    "question": "What is Container image lifecycle?",
    "answer": "K u b e r n e t e s   m a n a g e s   t h e   l i f e c y c l e   o f   a l l   i m a g e s   t h r o u g h   i t s   i m a g e   m a n a g e r ,   w h i c h   i s   p a r t   o f   t h e   k u b e l e t ,   w i t h   t h e   c o o p e r a t i o n   o f   c a d v i s o r .   T h e   k u b e l e t   c o n s i d e r s   t h e   f o l l o w i n g   d i s k   u s a g e   l i m i t s   w h e n   m a k i n g   g a r b a g e   c o l l e c t i o n   d e c i s i o n s :   H i g h T h r e s h o l d P e r c e n t L o w T h r e s h o l d P e r c e n t   D i s k   u s a g e   a b o v e   t h e   c o n f i g u r e d   H i g h T h r e s h o l d P e r c e n t   v a l u e   t r i g g e r s   g a r b a g e   c o l l e c t i o n ,   w h i c h   d e l e t e s   i m a g e s   i n   o r d e r   b a s e d   o n   t h e   l a s t   t i m e   t h e y   w e r e   u s e d ,   s t a r t i n g   w i t h   t h e   o l d e s t   f i r s t .   T h e   k u b e l e t   d e l e t e s   i m a g e s   u n t i l   d i s k   u s a g e   r e a c h e s   t h e   L o w T h r e s h o l d P e r c e n t   v a l u e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11724"
  },
  {
    "question": "What is Garbage collection for unused container images?",
    "answer": "A s   a   b e t a   f e a t u r e ,   y o u   c a n   s p e c i f y   t h e   m a x i m u m   t i m e   a   l o c a l   i m a g e   c a n   b e   u n u s e d   f o r ,   r e g a r d l e s s   o f   d i s k   u s a g e .   T h i s   i s   a   k u b e l e t   s e t t i n g   t h a t   y o u   c o n f i g u r e   f o r   e a c h   n o d e .   T o   c o n f i g u r e   t h e   s e t t i n g ,   y o u   n e e d   t o   s e t   a   v a l u e   f o r   t h e   i m a g e M a x i m u m G C A g e   f i e l d   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e .   T h e   v a l u e   i s   s p e c i f i e d   a s   a   K u b e r n e t e s   d u r a t i o n .   S e e   d u r a t i o n   i n   t h e   g l o s s a r y   f o r   m o r e   d e t a i l s .   F o r   e x a m p l e ,   y o u   c a n   s e t   t h e   c o n f i g u r a t i o n   f i e l d   t o   1 2 h 4 5 m ,   w h i c h   m e a n s   1 2   h o u r s   a n d   4 5   m i n u t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11725"
  },
  {
    "question": "What is Container garbage collection?",
    "answer": "T h e   k u b e l e t   g a r b a g e   c o l l e c t s   u n u s e d   c o n t a i n e r s   b a s e d   o n   t h e   f o l l o w i n g   v a r i a b l e s ,   w h i c h   y o u   c a n   d e f i n e :   M i n A g e :   t h e   m i n i m u m   a g e   a t   w h i c h   t h e   k u b e l e t   c a n   g a r b a g e   c o l l e c t   a   c o n t a i n e r .   D i s a b l e   b y   s e t t i n g   t o   0 . M a x P e r P o d C o n t a i n e r :   t h e   m a x i m u m   n u m b e r   o f   d e a d   c o n t a i n e r s   e a c h   P o d   c a n   h a v e .   D i s a b l e   b y   s e t t i n g   t o   l e s s   t h a n   0 . M a x C o n t a i n e r s :   t h e   m a x i m u m   n u m b e r   o f   d e a d   c o n t a i n e r s   t h e   c l u s t e r   c a n   h a v e .   D i s a b l e   b y   s e t t i n g   t o   l e s s   t h a n   0 .   I n   a d d i t i o n   t o   t h e s e   v a r i a b l e s ,   t h e   k u b e l e t   g a r b a g e   c o l l e c t s   u n i d e n t i f i e d   a n d   d e l e t e d   c o n t a i n e r s ,   t y p i c a l l y   s t a r t i n g   w i t h   t h e   o l d e s t   f i r s t .   M a x P e r P o d C o n t a i n e r   a n d   M a x C o n t a i n e r s   m a y   p o t e n t i a l l y   c o n f l i c t   w i t h   e a c h   o t h e r   i n   s i t u a t i o n s   w h e r e   r e t a i n i n g   t h e   m a x i m u m   n u m b e r   o f   c o n t a i n e r s   p e r   P o d   ( M a x P e r P o d C o n t a i n e r )   w o u l d   g o   o u t s i d e   t h e   a l l o w a b l e   t o t a l   o f   g l o b a l   d e a d   c o n t a i n e r s   ( M a x C o n t a i n e r s ) .   I n   t h i s   s i t u a t i o n ,   t h e   k u b e l e t   a d j u s t s   M a x P e r P o d C o n t a i n e r   t o   a d d r e s s   t h e   c o n f l i c t .   A   w o r s t - c a s e   s c e n a r i o   w o u l d   b e   t o   d o w n g r a d e   M a x P e r P o d C o n t a i n e r   t o   1   a n d   e v i c t   t h e   o l d e s t   c o n t a i n e r s .   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11726"
  },
  {
    "question": "What is Configuring garbage collection?",
    "answer": "Y o u   c a n   t u n e   g a r b a g e   c o l l e c t i o n   o f   r e s o u r c e s   b y   c o n f i g u r i n g   o p t i o n s   s p e c i f i c   t o   t h e   c o n t r o l l e r s   m a n a g i n g   t h o s e   r e s o u r c e s .   T h e   f o l l o w i n g   p a g e s   s h o w   y o u   h o w   t o   c o n f i g u r e   g a r b a g e   c o l l e c t i o n :   C o n f i g u r i n g   c a s c a d i n g   d e l e t i o n   o f   K u b e r n e t e s   o b j e c t s C o n f i g u r i n g   c l e a n u p   o f   f i n i s h e d   J o b s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11727"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   o w n e r s h i p   o f   K u b e r n e t e s   o b j e c t s . L e a r n   m o r e   a b o u t   K u b e r n e t e s   f i n a l i z e r s . L e a r n   a b o u t   t h e   T T L   c o n t r o l l e r   t h a t   c l e a n s   u p   f i n i s h e d   J o b s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11728"
  },
  {
    "question": "What is 2.10 - Mixed Version Proxy?",
    "answer": "K u b e r n e t e s   1 . 3 4   i n c l u d e s   a n   a l p h a   f e a t u r e   t h a t   l e t s   a n   A P I   S e r v e r   p r o x y   a   r e s o u r c e   r e q u e s t s   t o   o t h e r   p e e r   A P I   s e r v e r s .   T h i s   i s   u s e f u l   w h e n   t h e r e   a r e   m u l t i p l e   A P I   s e r v e r s   r u n n i n g   d i f f e r e n t   v e r s i o n s   o f   K u b e r n e t e s   i n   o n e   c l u s t e r   ( f o r   e x a m p l e ,   d u r i n g   a   l o n g - l i v e d   r o l l o u t   t o   a   n e w   r e l e a s e   o f   K u b e r n e t e s ) .   T h i s   e n a b l e s   c l u s t e r   a d m i n i s t r a t o r s   t o   c o n f i g u r e   h i g h l y   a v a i l a b l e   c l u s t e r s   t h a t   c a n   b e   u p g r a d e d   m o r e   s a f e l y ,   b y   d i r e c t i n g   r e s o u r c e   r e q u e s t s   ( m a d e   d u r i n g   t h e   u p g r a d e )   t o   t h e   c o r r e c t   k u b e - a p i s e r v e r .   T h a t   p r o x y i n g   p r e v e n t s   u s e r s   f r o m   s e e i n g   u n e x p e c t e d   4 0 4   N o t   F o u n d   e r r o r s   t h a t   s t e m   f r o m   t h e   u p g r a d e   p r o c e s s .   T h i s   m e c h a n i s m   i s   c a l l e d   t h e   M i x e d   V e r s i o n   P r o x y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11729"
  },
  {
    "question": "What is Enabling the Mixed Version Proxy?",
    "answer": "E n s u r e   t h a t   U n k n o w n V e r s i o n I n t e r o p e r a b i l i t y P r o x y   f e a t u r e   g a t e   i s   e n a b l e d   w h e n   y o u   s t a r t   t h e   A P I   S e r v e r :   k u b e - a p i s e r v e r   \\   - - f e a t u r e - g a t e s = U n k n o w n V e r s i o n I n t e r o p e r a b i l i t y P r o x y = t r u e   \\   #   r e q u i r e d   c o m m a n d   l i n e   a r g u m e n t s   f o r   t h i s   f e a t u r e   - - p e e r - c a - f i l e = < p a t h   t o   k u b e - a p i s e r v e r   C A   c e r t >   - - p r o x y - c l i e n t - c e r t - f i l e = < p a t h   t o   a g g r e g a t o r   p r o x y   c e r t > ,   - - p r o x y - c l i e n t - k e y - f i l e = < p a t h   t o   a g g r e g a t o r   p r o x y   k e y > ,   - - r e q u e s t h e a d e r - c l i e n t - c a - f i l e = < p a t h   t o   a g g r e g a t o r   C A   c e r t > ,   #   r e q u e s t h e a d e r - a l l o w e d - n a m e s   c a n   b e   s e t   t o   b l a n k   t o   a l l o w   a n y   C o m m o n   N a m e   - - r e q u e s t h e a d e r - a l l o w e d - n a m e s = < v a l i d   C o m m o n   N a m e s   t o   v e r i f y   p r o x y   c l i e n t   c e r t   a g a i n s t > ,   #   o p t i o n a l   f l a g s   f o r   t h i s   f e a t u r e   - - p e e r - a d v e r t i s e - i p = ` I P   o f   t h i s   k u b e - a p i s e r v e r   t h a t   s h o u l d   b e   u s e d   b y   p e e r s   t o   p r o x y   r e q u e s t s `   - - p e e r - a d v e r t i s e - p o r t = ` p o r t   o f   t h i s   k u b e - a p i s e r v e r   t h a t   s h o u l d   b e   u s e d   b y   p e e r s   t o   p r o x y   r e q u e s t s `   #   … a n d   o t h e r   f l a g s   a s   u s u a l",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11730"
  },
  {
    "question": "What is Proxy transport and authentication between API servers?",
    "answer": "T h e   s o u r c e   k u b e - a p i s e r v e r   r e u s e s   t h e   e x i s t i n g   A P I s e r v e r   c l i e n t   a u t h e n t i c a t i o n   f l a g s   - - p r o x y - c l i e n t - c e r t - f i l e   a n d   - - p r o x y - c l i e n t - k e y - f i l e   t o   p r e s e n t   i t s   i d e n t i t y   t h a t   w i l l   b e   v e r i f i e d   b y   i t s   p e e r   ( t h e   d e s t i n a t i o n   k u b e - a p i s e r v e r ) .   T h e   d e s t i n a t i o n   A P I   s e r v e r   v e r i f i e s   t h a t   p e e r   c o n n e c t i o n   b a s e d   o n   t h e   c o n f i g u r a t i o n   y o u   s p e c i f y   u s i n g   t h e   - - r e q u e s t h e a d e r - c l i e n t - c a - f i l e   c o m m a n d   l i n e   a r g u m e n t . T o   a u t h e n t i c a t e   t h e   d e s t i n a t i o n   s e r v e r ' s   s e r v i n g   c e r t s ,   y o u   m u s t   c o n f i g u r e   a   c e r t i f i c a t e   a u t h o r i t y   b u n d l e   b y   s p e c i f y i n g   t h e   - - p e e r - c a - f i l e   c o m m a n d   l i n e   a r g u m e n t   t o   t h e   s o u r c e   A P I   s e r v e r .   T h e   s o u r c e   k u b e - a p i s e r v e r   r e u s e s   t h e   e x i s t i n g   A P I s e r v e r   c l i e n t   a u t h e n t i c a t i o n   f l a g s   - - p r o x y - c l i e n t - c e r t - f i l e   a n d   - - p r o x y - c l i e n t - k e y - f i l e   t o   p r e s e n t   i t s   i d e n t i t y   t h a t   w i l l   b e   v e r i f i e d   b y   i t s   p e e r   ( t h e   d e s t i n a t i o n   k u b e - a p i s e r v e r ) .   T h e   d e s t i n a t i o n   A P I   s e r v e r   v e r i f i e s   t h a t   p e e r   c o n n e c t i o n   b a s e d   o n   t h e   c o n f i g u r a t i o n   y o u   s p e c i f y   u s i n g   t h e   - - r e q u e s t h e a d e r - c l i e n t - c a - f i l e   c o m m a n d   l i n e   a r g u m e n t .   T o   a u t h e n t i c a t e   t h e   d e s t i n a t i o n   s e r v ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11731"
  },
  {
    "question": "What is Configuration for peer API server connectivity?",
    "answer": "T o   s e t   t h e   n e t w o r k   l o c a t i o n   o f   a   k u b e - a p i s e r v e r   t h a t   p e e r s   w i l l   u s e   t o   p r o x y   r e q u e s t s ,   u s e   t h e   - - p e e r - a d v e r t i s e - i p   a n d   - - p e e r - a d v e r t i s e - p o r t   c o m m a n d   l i n e   a r g u m e n t s   t o   k u b e - a p i s e r v e r   o r   s p e c i f y   t h e s e   f i e l d s   i n   t h e   A P I   s e r v e r   c o n f i g u r a t i o n   f i l e .   I f   t h e s e   f l a g s   a r e   u n s p e c i f i e d ,   p e e r s   w i l l   u s e   t h e   v a l u e   f r o m   e i t h e r   - - a d v e r t i s e - a d d r e s s   o r   - - b i n d - a d d r e s s   c o m m a n d   l i n e   a r g u m e n t   t o   t h e   k u b e - a p i s e r v e r .   I f   t h o s e   t o o ,   a r e   u n s e t ,   t h e   h o s t ' s   d e f a u l t   i n t e r f a c e   i s   u s e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11732"
  },
  {
    "question": "What is Mixed version proxying?",
    "answer": "W h e n   y o u   e n a b l e   m i x e d   v e r s i o n   p r o x y i n g ,   t h e   a g g r e g a t i o n   l a y e r   l o a d s   a   s p e c i a l   f i l t e r   t h a t   d o e s   t h e   f o l l o w i n g :   W h e n   a   r e s o u r c e   r e q u e s t   r e a c h e s   a n   A P I   s e r v e r   t h a t   c a n n o t   s e r v e   t h a t   A P I   ( e i t h e r   b e c a u s e   i t   i s   a t   a   v e r s i o n   p r e - d a t i n g   t h e   i n t r o d u c t i o n   o f   t h e   A P I   o r   t h e   A P I   i s   t u r n e d   o f f   o n   t h e   A P I   s e r v e r )   t h e   A P I   s e r v e r   a t t e m p t s   t o   s e n d   t h e   r e q u e s t   t o   a   p e e r   A P I   s e r v e r   t h a t   c a n   s e r v e   t h e   r e q u e s t e d   A P I .   I t   d o e s   s o   b y   i d e n t i f y i n g   A P I   g r o u p s   /   v e r s i o n s   /   r e s o u r c e s   t h a t   t h e   l o c a l   s e r v e r   d o e s n ' t   r e c o g n i s e ,   a n d   t r i e s   t o   p r o x y   t h o s e   r e q u e s t s   t o   a   p e e r   A P I   s e r v e r   t h a t   i s   c a p a b l e   o f   h a n d l i n g   t h e   r e q u e s t . I f   t h e   p e e r   A P I   s e r v e r   f a i l s   t o   r e s p o n d ,   t h e   s o u r c e   A P I   s e r v e r   r e s p o n d s   w i t h   5 0 3   ( \" S e r v i c e   U n a v a i l a b l e \" )   e r r o r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11733"
  },
  {
    "question": "What is How it works under the hood?",
    "answer": "W h e n   a n   A P I   S e r v e r   r e c e i v e s   a   r e s o u r c e   r e q u e s t ,   i t   f i r s t   c h e c k s   w h i c h   A P I   s e r v e r s   c a n   s e r v e   t h e   r e q u e s t e d   r e s o u r c e .   T h i s   c h e c k   h a p p e n s   u s i n g   t h e   i n t e r n a l   S t o r a g e V e r s i o n   A P I .   I f   t h e   r e s o u r c e   i s   k n o w n   t o   t h e   A P I   s e r v e r   t h a t   r e c e i v e d   t h e   r e q u e s t   ( f o r   e x a m p l e ,   G E T   / a p i / v 1 / p o d s / s o m e - p o d ) ,   t h e   r e q u e s t   i s   h a n d l e d   l o c a l l y . I f   t h e r e   i s   n o   i n t e r n a l   S t o r a g e V e r s i o n   o b j e c t   f o u n d   f o r   t h e   r e q u e s t e d   r e s o u r c e   ( f o r   e x a m p l e ,   G E T   / m y - a p i / v 1 / m y - r e s o u r c e )   a n d   t h e   c o n f i g u r e d   A P I S e r v i c e   s p e c i f i e s   p r o x y i n g   t o   a n   e x t e n s i o n   A P I   s e r v e r ,   t h a t   p r o x y i n g   h a p p e n s   f o l l o w i n g   t h e   u s u a l   f l o w   f o r   e x t e n s i o n   A P I s . I f   a   v a l i d   i n t e r n a l   S t o r a g e V e r s i o n   o b j e c t   i s   f o u n d   f o r   t h e   r e q u e s t e d   r e s o u r c e   ( f o r   e x a m p l e ,   G E T   / b a t c h / v 1 / j o b s )   a n d   t h e   A P I   s e r v e r   t r y i n g   t o   h a n d l e   t h e   r e q u e s t   ( t h e   h a n d l i n g   A P I   s e r v e r )   h a s   t h e   b a t c h   A P I   d i s a b l e d ,   t h e n   t h e   h a n d l i n g   A P I   s e r v e r   f e t c h e s   t h e   p e e r   A P I   s e r v e r s   t h a t   d o   s e r v e   t h e   r e l e v a n t   A P I   g r o u p   /   v e r s i o n   /   r e s o u r c e   ( a p i / v 1 / b a t c h   i n   t h i s   c a s e )   u s i n g   t h e   i n f o r m a t i o n   i n   t h e   f e t c h e d   S t o r a g e V e r s i o n   o b j e c t .   T h ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11734"
  },
  {
    "question": "What is 3 - Containers?",
    "answer": "T h i s   p a g e   w i l l   d i s c u s s   c o n t a i n e r s   a n d   c o n t a i n e r   i m a g e s ,   a s   w e l l   a s   t h e i r   u s e   i n   o p e r a t i o n s   a n d   s o l u t i o n   d e v e l o p m e n t .   T h e   w o r d   c o n t a i n e r   i s   a n   o v e r l o a d e d   t e r m .   W h e n e v e r   y o u   u s e   t h e   w o r d ,   c h e c k   w h e t h e r   y o u r   a u d i e n c e   u s e s   t h e   s a m e   d e f i n i t i o n .   E a c h   c o n t a i n e r   t h a t   y o u   r u n   i s   r e p e a t a b l e ;   t h e   s t a n d a r d i z a t i o n   f r o m   h a v i n g   d e p e n d e n c i e s   i n c l u d e d   m e a n s   t h a t   y o u   g e t   t h e   s a m e   b e h a v i o r   w h e r e v e r   y o u   r u n   i t .   C o n t a i n e r s   d e c o u p l e   a p p l i c a t i o n s   f r o m   t h e   u n d e r l y i n g   h o s t   i n f r a s t r u c t u r e .   T h i s   m a k e s   d e p l o y m e n t   e a s i e r   i n   d i f f e r e n t   c l o u d   o r   O S   e n v i r o n m e n t s .   E a c h   n o d e   i n   a   K u b e r n e t e s   c l u s t e r   r u n s   t h e   c o n t a i n e r s   t h a t   f o r m   t h e   P o d s   a s s i g n e d   t o   t h a t   n o d e .   C o n t a i n e r s   i n   a   P o d   a r e   c o - l o c a t e d   a n d   c o - s c h e d u l e d   t o   r u n   o n   t h e   s a m e   n o d e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11735"
  },
  {
    "question": "What is Container images?",
    "answer": "A   c o n t a i n e r   i m a g e   i s   a   r e a d y - t o - r u n   s o f t w a r e   p a c k a g e   c o n t a i n i n g   e v e r y t h i n g   n e e d e d   t o   r u n   a n   a p p l i c a t i o n :   t h e   c o d e   a n d   a n y   r u n t i m e   i t   r e q u i r e s ,   a p p l i c a t i o n   a n d   s y s t e m   l i b r a r i e s ,   a n d   d e f a u l t   v a l u e s   f o r   a n y   e s s e n t i a l   s e t t i n g s .   C o n t a i n e r s   a r e   i n t e n d e d   t o   b e   s t a t e l e s s   a n d   i m m u t a b l e :   y o u   s h o u l d   n o t   c h a n g e   t h e   c o d e   o f   a   c o n t a i n e r   t h a t   i s   a l r e a d y   r u n n i n g .   I f   y o u   h a v e   a   c o n t a i n e r i z e d   a p p l i c a t i o n   a n d   w a n t   t o   m a k e   c h a n g e s ,   t h e   c o r r e c t   p r o c e s s   i s   t o   b u i l d   a   n e w   i m a g e   t h a t   i n c l u d e s   t h e   c h a n g e ,   t h e n   r e c r e a t e   t h e   c o n t a i n e r   t o   s t a r t   f r o m   t h e   u p d a t e d   i m a g e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11736"
  },
  {
    "question": "What is Container runtimes?",
    "answer": "A   f u n d a m e n t a l   c o m p o n e n t   t h a t   e m p o w e r s   K u b e r n e t e s   t o   r u n   c o n t a i n e r s   e f f e c t i v e l y .   I t   i s   r e s p o n s i b l e   f o r   m a n a g i n g   t h e   e x e c u t i o n   a n d   l i f e c y c l e   o f   c o n t a i n e r s   w i t h i n   t h e   K u b e r n e t e s   e n v i r o n m e n t .   K u b e r n e t e s   s u p p o r t s   c o n t a i n e r   r u n t i m e s   s u c h   a s   c o n t a i n e r d ,   C R I - O ,   a n d   a n y   o t h e r   i m p l e m e n t a t i o n   o f   t h e   K u b e r n e t e s   C R I   ( C o n t a i n e r   R u n t i m e   I n t e r f a c e ) .   U s u a l l y ,   y o u   c a n   a l l o w   y o u r   c l u s t e r   t o   p i c k   t h e   d e f a u l t   c o n t a i n e r   r u n t i m e   f o r   a   P o d .   I f   y o u   n e e d   t o   u s e   m o r e   t h a n   o n e   c o n t a i n e r   r u n t i m e   i n   y o u r   c l u s t e r ,   y o u   c a n   s p e c i f y   t h e   R u n t i m e C l a s s   f o r   a   P o d   t o   m a k e   s u r e   t h a t   K u b e r n e t e s   r u n s   t h o s e   c o n t a i n e r s   u s i n g   a   p a r t i c u l a r   c o n t a i n e r   r u n t i m e .   Y o u   c a n   a l s o   u s e   R u n t i m e C l a s s   t o   r u n   d i f f e r e n t   P o d s   w i t h   t h e   s a m e   c o n t a i n e r   r u n t i m e   b u t   w i t h   d i f f e r e n t   s e t t i n g s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11737"
  },
  {
    "question": "What is 3.1 - Images?",
    "answer": "A   c o n t a i n e r   i m a g e   r e p r e s e n t s   b i n a r y   d a t a   t h a t   e n c a p s u l a t e s   a n   a p p l i c a t i o n   a n d   a l l   i t s   s o f t w a r e   d e p e n d e n c i e s .   C o n t a i n e r   i m a g e s   a r e   e x e c u t a b l e   s o f t w a r e   b u n d l e s   t h a t   c a n   r u n   s t a n d a l o n e   a n d   t h a t   m a k e   v e r y   w e l l - d e f i n e d   a s s u m p t i o n s   a b o u t   t h e i r   r u n t i m e   e n v i r o n m e n t .   Y o u   t y p i c a l l y   c r e a t e   a   c o n t a i n e r   i m a g e   o f   y o u r   a p p l i c a t i o n   a n d   p u s h   i t   t o   a   r e g i s t r y   b e f o r e   r e f e r r i n g   t o   i t   i n   a   P o d .   T h i s   p a g e   p r o v i d e s   a n   o u t l i n e   o f   t h e   c o n t a i n e r   i m a g e   c o n c e p t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11738"
  },
  {
    "question": "What is Image names?",
    "answer": "C o n t a i n e r   i m a g e s   a r e   u s u a l l y   g i v e n   a   n a m e   s u c h   a s   p a u s e ,   e x a m p l e / m y c o n t a i n e r ,   o r   k u b e - a p i s e r v e r .   I m a g e s   c a n   a l s o   i n c l u d e   a   r e g i s t r y   h o s t n a m e ;   f o r   e x a m p l e :   f i c t i o n a l . r e g i s t r y . e x a m p l e / i m a g e n a m e ,   a n d   p o s s i b l y   a   p o r t   n u m b e r   a s   w e l l ;   f o r   e x a m p l e :   f i c t i o n a l . r e g i s t r y . e x a m p l e : 1 0 4 4 3 / i m a g e n a m e .   I f   y o u   d o n ' t   s p e c i f y   a   r e g i s t r y   h o s t n a m e ,   K u b e r n e t e s   a s s u m e s   t h a t   y o u   m e a n   t h e   D o c k e r   p u b l i c   r e g i s t r y .   Y o u   c a n   c h a n g e   t h i s   b e h a v i o r   b y   s e t t i n g   a   d e f a u l t   i m a g e   r e g i s t r y   i n   t h e   c o n t a i n e r   r u n t i m e   c o n f i g u r a t i o n .   A f t e r   t h e   i m a g e   n a m e   p a r t   y o u   c a n   a d d   a   t a g   o r   d i g e s t   ( i n   t h e   s a m e   w a y   y o u   w o u l d   w h e n   u s i n g   w i t h   c o m m a n d s   l i k e   d o c k e r   o r   p o d m a n ) .   T a g s   l e t   y o u   i d e n t i f y   d i f f e r e n t   v e r s i o n s   o f   t h e   s a m e   s e r i e s   o f   i m a g e s .   D i g e s t s   a r e   a   u n i q u e   i d e n t i f i e r   f o r   a   s p e c i f i c   v e r s i o n   o f   a n   i m a g e .   D i g e s t s   a r e   h a s h e s   o f   t h e   i m a g e ' s   c o n t e n t ,   a n d   a r e   i m m u t a b l e .   T a g s   c a n   b e   m o v e d   t o   p o i n t   t o   d i f f e r e n t   i m a g e s ,   b u t   d i g e s t s   a r e   f i x e d .   I m a g e   t a g s   c o n s i s t   o f   l o w e r c a s e   a n d   u p p e r c a s e   l e t t e r s ,   d i g i t s ,   u n d e r s c o r e s   ( _ ) ,   p e r i o d s   ( . ) ,   a n d   d a s h e s   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11739"
  },
  {
    "question": "What is Updating images?",
    "answer": "W h e n   y o u   f i r s t   c r e a t e   a   D e p l o y m e n t ,   S t a t e f u l S e t ,   P o d ,   o r   o t h e r   o b j e c t   t h a t   i n c l u d e s   a   P o d T e m p l a t e ,   a n d   a   p u l l   p o l i c y   w a s   n o t   e x p l i c i t l y   s p e c i f i e d ,   t h e n   b y   d e f a u l t   t h e   p u l l   p o l i c y   o f   a l l   c o n t a i n e r s   i n   t h a t   P o d   w i l l   b e   s e t   t o   I f N o t P r e s e n t .   T h i s   p o l i c y   c a u s e s   t h e   k u b e l e t   t o   s k i p   p u l l i n g   a n   i m a g e   i f   i t   a l r e a d y   e x i s t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11740"
  },
  {
    "question": "What is Image pull policy?",
    "answer": "T h e   i m a g e P u l l P o l i c y   f o r   a   c o n t a i n e r   a n d   t h e   t a g   o f   t h e   i m a g e   b o t h   a f f e c t   w h e n   t h e   k u b e l e t   a t t e m p t s   t o   p u l l   ( d o w n l o a d )   t h e   s p e c i f i e d   i m a g e .   H e r e ' s   a   l i s t   o f   t h e   v a l u e s   y o u   c a n   s e t   f o r   i m a g e P u l l P o l i c y   a n d   t h e   e f f e c t s   t h e s e   v a l u e s   h a v e :   T h e   c a c h i n g   s e m a n t i c s   o f   t h e   u n d e r l y i n g   i m a g e   p r o v i d e r   m a k e   e v e n   i m a g e P u l l P o l i c y :   A l w a y s   e f f i c i e n t ,   a s   l o n g   a s   t h e   r e g i s t r y   i s   r e l i a b l y   a c c e s s i b l e .   Y o u r   c o n t a i n e r   r u n t i m e   c a n   n o t i c e   t h a t   t h e   i m a g e   l a y e r s   a l r e a d y   e x i s t   o n   t h e   n o d e   s o   t h a t   t h e y   d o n ' t   n e e d   t o   b e   d o w n l o a d e d   a g a i n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11741"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   s h o u l d   a v o i d   u s i n g   t h e   : l a t e s t   t a g   w h e n   d e p l o y i n g   c o n t a i n e r s   i n   p r o d u c t i o n   a s   i t   i s   h a r d e r   t o   t r a c k   w h i c h   v e r s i o n   o f   t h e   i m a g e   i s   r u n n i n g   a n d   m o r e   d i f f i c u l t   t o   r o l l   b a c k   p r o p e r l y .   I n s t e a d ,   s p e c i f y   a   m e a n i n g f u l   t a g   s u c h   a s   v 1 . 4 2 . 0   a n d / o r   a   d i g e s t .   T o   m a k e   s u r e   t h e   P o d   a l w a y s   u s e s   t h e   s a m e   v e r s i o n   o f   a   c o n t a i n e r   i m a g e ,   y o u   c a n   s p e c i f y   t h e   i m a g e ' s   d i g e s t ;   r e p l a c e   < i m a g e - n a m e > : < t a g >   w i t h   < i m a g e - n a m e > @ < d i g e s t >   ( f o r   e x a m p l e ,   i m a g e @ s h a 2 5 6 : 4 5 b 2 3 d e e 0 8 a f 5 e 4 3 a 7 f e a 6 c 4 c f 9 c 2 5 c c f 2 6 9 e e 1 1 3 1 6 8 c 1 9 7 2 2 f 8 7 8 7 6 6 7 7 c 5 c b 2 ) .   W h e n   u s i n g   i m a g e   t a g s ,   i f   t h e   i m a g e   r e g i s t r y   w e r e   t o   c h a n g e   t h e   c o d e   t h a t   t h e   t a g   o n   t h a t   i m a g e   r e p r e s e n t s ,   y o u   m i g h t   e n d   u p   w i t h   a   m i x   o f   P o d s   r u n n i n g   t h e   o l d   a n d   n e w   c o d e .   A n   i m a g e   d i g e s t   u n i q u e l y   i d e n t i f i e s   a   s p e c i f i c   v e r s i o n   o f   t h e   i m a g e ,   s o   K u b e r n e t e s   r u n s   t h e   s a m e   c o d e   e v e r y   t i m e   i t   s t a r t s   a   c o n t a i n e r   w i t h   t h a t   i m a g e   n a m e   a n d   d i g e s t   s p e c i f i e d .   S p e c i f y i n g   a n   i m a g e   b y   d i g e s t   p i n s   t h e   c o d e   t h a t   y o u   r u n   s o   t h a t   a   c h a n g e   a t   t h e   r e g i s t r y   c a n n o t   l e a d   t o   t h a t   m i x   o f   v e r s i o n s .   T h e r e   a r e   t h i r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11742"
  },
  {
    "question": "What is Default image pull policy?",
    "answer": "W h e n   y o u   ( o r   a   c o n t r o l l e r )   s u b m i t   a   n e w   P o d   t o   t h e   A P I   s e r v e r ,   y o u r   c l u s t e r   s e t s   t h e   i m a g e P u l l P o l i c y   f i e l d   w h e n   s p e c i f i c   c o n d i t i o n s   a r e   m e t :   i f   y o u   o m i t   t h e   i m a g e P u l l P o l i c y   f i e l d ,   a n d   y o u   s p e c i f y   t h e   d i g e s t   f o r   t h e   c o n t a i n e r   i m a g e ,   t h e   i m a g e P u l l P o l i c y   i s   a u t o m a t i c a l l y   s e t   t o   I f N o t P r e s e n t . i f   y o u   o m i t   t h e   i m a g e P u l l P o l i c y   f i e l d ,   a n d   t h e   t a g   f o r   t h e   c o n t a i n e r   i m a g e   i s   : l a t e s t ,   i m a g e P u l l P o l i c y   i s   a u t o m a t i c a l l y   s e t   t o   A l w a y s . i f   y o u   o m i t   t h e   i m a g e P u l l P o l i c y   f i e l d ,   a n d   y o u   d o n ' t   s p e c i f y   t h e   t a g   f o r   t h e   c o n t a i n e r   i m a g e ,   i m a g e P u l l P o l i c y   i s   a u t o m a t i c a l l y   s e t   t o   A l w a y s . i f   y o u   o m i t   t h e   i m a g e P u l l P o l i c y   f i e l d ,   a n d   y o u   s p e c i f y   a   t a g   f o r   t h e   c o n t a i n e r   i m a g e   t h a t   i s n ' t   : l a t e s t ,   t h e   i m a g e P u l l P o l i c y   i s   a u t o m a t i c a l l y   s e t   t o   I f N o t P r e s e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11743"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   v a l u e   o f   i m a g e P u l l P o l i c y   o f   t h e   c o n t a i n e r   i s   a l w a y s   s e t   w h e n   t h e   o b j e c t   i s   f i r s t   c r e a t e d ,   a n d   i s   n o t   u p d a t e d   i f   t h e   i m a g e ' s   t a g   o r   d i g e s t   l a t e r   c h a n g e s .   F o r   e x a m p l e ,   i f   y o u   c r e a t e   a   D e p l o y m e n t   w i t h   a n   i m a g e   w h o s e   t a g   i s   n o t   : l a t e s t ,   a n d   l a t e r   u p d a t e   t h a t   D e p l o y m e n t ' s   i m a g e   t o   a   : l a t e s t   t a g ,   t h e   i m a g e P u l l P o l i c y   f i e l d   w i l l   n o t   c h a n g e   t o   A l w a y s .   Y o u   m u s t   m a n u a l l y   c h a n g e   t h e   p u l l   p o l i c y   o f   a n y   o b j e c t   a f t e r   i t s   i n i t i a l   c r e a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11744"
  },
  {
    "question": "What is Required image pull?",
    "answer": "I f   y o u   w o u l d   l i k e   t o   a l w a y s   f o r c e   a   p u l l ,   y o u   c a n   d o   o n e   o f   t h e   f o l l o w i n g :   S e t   t h e   i m a g e P u l l P o l i c y   o f   t h e   c o n t a i n e r   t o   A l w a y s . O m i t   t h e   i m a g e P u l l P o l i c y   a n d   u s e   : l a t e s t   a s   t h e   t a g   f o r   t h e   i m a g e   t o   u s e ;   K u b e r n e t e s   w i l l   s e t   t h e   p o l i c y   t o   A l w a y s   w h e n   y o u   s u b m i t   t h e   P o d . O m i t   t h e   i m a g e P u l l P o l i c y   a n d   t h e   t a g   f o r   t h e   i m a g e   t o   u s e ;   K u b e r n e t e s   w i l l   s e t   t h e   p o l i c y   t o   A l w a y s   w h e n   y o u   s u b m i t   t h e   P o d . E n a b l e   t h e   A l w a y s P u l l I m a g e s   a d m i s s i o n   c o n t r o l l e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11745"
  },
  {
    "question": "What is ImagePullBackOff?",
    "answer": "W h e n   a   k u b e l e t   s t a r t s   c r e a t i n g   c o n t a i n e r s   f o r   a   P o d   u s i n g   a   c o n t a i n e r   r u n t i m e ,   i t   m i g h t   b e   p o s s i b l e   t h e   c o n t a i n e r   i s   i n   W a i t i n g   s t a t e   b e c a u s e   o f   I m a g e P u l l B a c k O f f .   T h e   s t a t u s   I m a g e P u l l B a c k O f f   m e a n s   t h a t   a   c o n t a i n e r   c o u l d   n o t   s t a r t   b e c a u s e   K u b e r n e t e s   c o u l d   n o t   p u l l   a   c o n t a i n e r   i m a g e   ( f o r   r e a s o n s   s u c h   a s   i n v a l i d   i m a g e   n a m e ,   o r   p u l l i n g   f r o m   a   p r i v a t e   r e g i s t r y   w i t h o u t   i m a g e P u l l S e c r e t ) .   T h e   B a c k O f f   p a r t   i n d i c a t e s   t h a t   K u b e r n e t e s   w i l l   k e e p   t r y i n g   t o   p u l l   t h e   i m a g e ,   w i t h   a n   i n c r e a s i n g   b a c k - o f f   d e l a y .   K u b e r n e t e s   r a i s e s   t h e   d e l a y   b e t w e e n   e a c h   a t t e m p t   u n t i l   i t   r e a c h e s   a   c o m p i l e d - i n   l i m i t ,   w h i c h   i s   3 0 0   s e c o n d s   ( 5   m i n u t e s ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11746"
  },
  {
    "question": "What is Image pull per runtime class?",
    "answer": "F E A T U R E   S T A T E :   K u b e r n e t e s   v 1 . 2 9   [ a l p h a ]   ( e n a b l e d   b y   d e f a u l t :   f a l s e ) K u b e r n e t e s   i n c l u d e s   a l p h a   s u p p o r t   f o r   p e r f o r m i n g   i m a g e   p u l l s   b a s e d   o n   t h e   R u n t i m e C l a s s   o f   a   P o d .   I f   y o u   e n a b l e   t h e   R u n t i m e C l a s s I n I m a g e C r i A p i   f e a t u r e   g a t e ,   t h e   k u b e l e t   r e f e r e n c e s   c o n t a i n e r   i m a g e s   b y   a   t u p l e   o f   i m a g e   n a m e   a n d   r u n t i m e   h a n d l e r   r a t h e r   t h a n   j u s t   t h e   i m a g e   n a m e   o r   d i g e s t .   Y o u r   c o n t a i n e r   r u n t i m e   m a y   a d a p t   i t s   b e h a v i o r   b a s e d   o n   t h e   s e l e c t e d   r u n t i m e   h a n d l e r .   P u l l i n g   i m a g e s   b a s e d   o n   r u n t i m e   c l a s s   i s   u s e f u l   f o r   V M - b a s e d   c o n t a i n e r s ,   s u c h   a s   W i n d o w s   H y p e r - V   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11747"
  },
  {
    "question": "What is Serial and parallel image pulls?",
    "answer": "B y   d e f a u l t ,   t h e   k u b e l e t   p u l l s   i m a g e s   s e r i a l l y .   I n   o t h e r   w o r d s ,   t h e   k u b e l e t   s e n d s   o n l y   o n e   i m a g e   p u l l   r e q u e s t   t o   t h e   i m a g e   s e r v i c e   a t   a   t i m e .   O t h e r   i m a g e   p u l l   r e q u e s t s   h a v e   t o   w a i t   u n t i l   t h e   o n e   b e i n g   p r o c e s s e d   i s   c o m p l e t e .   N o d e s   m a k e   i m a g e   p u l l   d e c i s i o n s   i n   i s o l a t i o n .   E v e n   w h e n   y o u   u s e   s e r i a l i z e d   i m a g e   p u l l s ,   t w o   d i f f e r e n t   n o d e s   c a n   p u l l   t h e   s a m e   i m a g e   i n   p a r a l l e l .   I f   y o u   w o u l d   l i k e   t o   e n a b l e   p a r a l l e l   i m a g e   p u l l s ,   y o u   c a n   s e t   t h e   f i e l d   s e r i a l i z e I m a g e P u l l s   t o   f a l s e   i n   t h e   k u b e l e t   c o n f i g u r a t i o n .   W i t h   s e r i a l i z e I m a g e P u l l s   s e t   t o   f a l s e ,   i m a g e   p u l l   r e q u e s t s   w i l l   b e   s e n t   t o   t h e   i m a g e   s e r v i c e   i m m e d i a t e l y ,   a n d   m u l t i p l e   i m a g e s   w i l l   b e   p u l l e d   a t   t h e   s a m e   t i m e .   W h e n   e n a b l i n g   p a r a l l e l   i m a g e   p u l l s ,   e n s u r e   t h a t   t h e   i m a g e   s e r v i c e   o f   y o u r   c o n t a i n e r   r u n t i m e   c a n   h a n d l e   p a r a l l e l   i m a g e   p u l l s .   T h e   k u b e l e t   n e v e r   p u l l s   m u l t i p l e   i m a g e s   i n   p a r a l l e l   o n   b e h a l f   o f   o n e   P o d .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   P o d   t h a t   h a s   a n   i n i t   c o n t a i n e r   a n d   a n   a p p l i c a t i o n   c o n t a i n e r ,   t h e   i m a g e   p u l l s   f o r   t h e   t w o   c o n t a i n e r s   w i l l   n o t   b e   p a r a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11748"
  },
  {
    "question": "What is Maximum parallel image pulls?",
    "answer": "W h e n   s e r i a l i z e I m a g e P u l l s   i s   s e t   t o   f a l s e ,   t h e   k u b e l e t   d e f a u l t s   t o   n o   l i m i t   o n   t h e   m a x i m u m   n u m b e r   o f   i m a g e s   b e i n g   p u l l e d   a t   t h e   s a m e   t i m e .   I f   y o u   w o u l d   l i k e   t o   l i m i t   t h e   n u m b e r   o f   p a r a l l e l   i m a g e   p u l l s ,   y o u   c a n   s e t   t h e   f i e l d   m a x P a r a l l e l I m a g e P u l l s   i n   t h e   k u b e l e t   c o n f i g u r a t i o n .   W i t h   m a x P a r a l l e l I m a g e P u l l s   s e t   t o   n ,   o n l y   n   i m a g e s   c a n   b e   p u l l e d   a t   t h e   s a m e   t i m e ,   a n d   a n y   i m a g e   p u l l   b e y o n d   n   w i l l   h a v e   t o   w a i t   u n t i l   a t   l e a s t   o n e   o n g o i n g   i m a g e   p u l l   i s   c o m p l e t e .   L i m i t i n g   t h e   n u m b e r   o f   p a r a l l e l   i m a g e   p u l l s   p r e v e n t s   i m a g e   p u l l i n g   f r o m   c o n s u m i n g   t o o   m u c h   n e t w o r k   b a n d w i d t h   o r   d i s k   I / O ,   w h e n   p a r a l l e l   i m a g e   p u l l i n g   i s   e n a b l e d .   Y o u   c a n   s e t   m a x P a r a l l e l I m a g e P u l l s   t o   a   p o s i t i v e   n u m b e r   t h a t   i s   g r e a t e r   t h a n   o r   e q u a l   t o   1 .   I f   y o u   s e t   m a x P a r a l l e l I m a g e P u l l s   t o   b e   g r e a t e r   t h a n   o r   e q u a l   t o   2 ,   y o u   m u s t   s e t   s e r i a l i z e I m a g e P u l l s   t o   f a l s e .   T h e   k u b e l e t   w i l l   f a i l   t o   s t a r t   w i t h   a n   i n v a l i d   m a x P a r a l l e l I m a g e P u l l s   s e t t i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11749"
  },
  {
    "question": "What is Multi-architecture images with image indexes?",
    "answer": "A s   w e l l   a s   p r o v i d i n g   b i n a r y   i m a g e s ,   a   c o n t a i n e r   r e g i s t r y   c a n   a l s o   s e r v e   a   c o n t a i n e r   i m a g e   i n d e x .   A n   i m a g e   i n d e x   c a n   p o i n t   t o   m u l t i p l e   i m a g e   m a n i f e s t s   f o r   a r c h i t e c t u r e - s p e c i f i c   v e r s i o n s   o f   a   c o n t a i n e r .   T h e   i d e a   i s   t h a t   y o u   c a n   h a v e   a   n a m e   f o r   a n   i m a g e   ( f o r   e x a m p l e :   p a u s e ,   e x a m p l e / m y c o n t a i n e r ,   k u b e - a p i s e r v e r )   a n d   a l l o w   d i f f e r e n t   s y s t e m s   t o   f e t c h   t h e   r i g h t   b i n a r y   i m a g e   f o r   t h e   m a c h i n e   a r c h i t e c t u r e   t h e y   a r e   u s i n g .   T h e   K u b e r n e t e s   p r o j e c t   t y p i c a l l y   c r e a t e s   c o n t a i n e r   i m a g e s   f o r   i t s   r e l e a s e s   w i t h   n a m e s   t h a t   i n c l u d e   t h e   s u f f i x   - $ ( A R C H ) .   F o r   b a c k w a r d   c o m p a t i b i l i t y ,   g e n e r a t e   o l d e r   i m a g e s   w i t h   s u f f i x e s .   F o r   i n s t a n c e ,   a n   i m a g e   n a m e d   a s   p a u s e   w o u l d   b e   a   m u l t i - a r c h i t e c t u r e   i m a g e   c o n t a i n i n g   m a n i f e s t s   f o r   a l l   s u p p o r t e d   a r c h i t e c t u r e s ,   w h i l e   p a u s e - a m d 6 4   w o u l d   b e   a   b a c k w a r d - c o m p a t i b l e   v e r s i o n   f o r   o l d e r   c o n f i g u r a t i o n s ,   o r   f o r   Y A M L   f i l e s   w i t h   h a r d c o d e d   i m a g e   n a m e s   c o n t a i n i n g   s u f f i x e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11750"
  },
  {
    "question": "What is Using a private registry?",
    "answer": "P r i v a t e   r e g i s t r i e s   m a y   r e q u i r e   a u t h e n t i c a t i o n   t o   b e   a b l e   t o   d i s c o v e r   a n d / o r   p u l l   i m a g e s   f r o m   t h e m .   C r e d e n t i a l s   c a n   b e   p r o v i d e d   i n   s e v e r a l   w a y s :   S p e c i f y i n g   i m a g e P u l l S e c r e t s   w h e n   y o u   d e f i n e   a   P o d O n l y   P o d s   w h i c h   p r o v i d e   t h e i r   o w n   k e y s   c a n   a c c e s s   t h e   p r i v a t e   r e g i s t r y . C o n f i g u r i n g   N o d e s   t o   A u t h e n t i c a t e   t o   a   P r i v a t e   R e g i s t r y A l l   P o d s   c a n   r e a d   a n y   c o n f i g u r e d   p r i v a t e   r e g i s t r i e s . R e q u i r e s   n o d e   c o n f i g u r a t i o n   b y   c l u s t e r   a d m i n i s t r a t o r . U s i n g   a   k u b e l e t   c r e d e n t i a l   p r o v i d e r   p l u g i n   t o   d y n a m i c a l l y   f e t c h   c r e d e n t i a l s   f o r   p r i v a t e   r e g i s t r i e s T h e   k u b e l e t   c a n   b e   c o n f i g u r e d   t o   u s e   c r e d e n t i a l   p r o v i d e r   e x e c   p l u g i n   f o r   t h e   r e s p e c t i v e   p r i v a t e   r e g i s t r y . P r e - p u l l e d   I m a g e s A l l   P o d s   c a n   u s e   a n y   i m a g e s   c a c h e d   o n   a   n o d e . R e q u i r e s   r o o t   a c c e s s   t o   a l l   n o d e s   t o   s e t   u p . V e n d o r - s p e c i f i c   o r   l o c a l   e x t e n s i o n s I f   y o u ' r e   u s i n g   a   c u s t o m   n o d e   c o n f i g u r a t i o n ,   y o u   ( o r   y o u r   c l o u d   p r o v i d e r )   c a n   i m p l e m e n t   y o u r   m e c h a n i s m   f o r   a u t h e n t i c a t i n g   t h e   n o d e   t o   t h e   c o n t a i n e r   r e g i s t r y .   S p e c i f y i n g   i m a g e P u l l S e c r e t s   w h e n   y o u   d e f i n e   a   P o d   O n l y   P o d s   w h i c h   p r o v i d e   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11751"
  },
  {
    "question": "What is Note:?",
    "answer": "K u b e r n e t e s   s u p p o r t s   s p e c i f y i n g   c o n t a i n e r   i m a g e   r e g i s t r y   k e y s   o n   a   P o d .   A l l   i m a g e P u l l S e c r e t s   m u s t   b e   S e c r e t s   t h a t   e x i s t   i n   t h e   s a m e   N a m e s p a c e   a s   t h e   P o d .   T h e s e   S e c r e t s   m u s t   b e   o f   t y p e   k u b e r n e t e s . i o / d o c k e r c f g   o r   k u b e r n e t e s . i o / d o c k e r c o n f i g j s o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11752"
  },
  {
    "question": "What is Configuring nodes to authenticate to a private registry?",
    "answer": "S p e c i f i c   i n s t r u c t i o n s   f o r   s e t t i n g   c r e d e n t i a l s   d e p e n d s   o n   t h e   c o n t a i n e r   r u n t i m e   a n d   r e g i s t r y   y o u   c h o s e   t o   u s e .   Y o u   s h o u l d   r e f e r   t o   y o u r   s o l u t i o n ' s   d o c u m e n t a t i o n   f o r   t h e   m o s t   a c c u r a t e   i n f o r m a t i o n .   F o r   a n   e x a m p l e   o f   c o n f i g u r i n g   a   p r i v a t e   c o n t a i n e r   i m a g e   r e g i s t r y ,   s e e   t h e   P u l l   a n   I m a g e   f r o m   a   P r i v a t e   R e g i s t r y   t a s k .   T h a t   e x a m p l e   u s e s   a   p r i v a t e   r e g i s t r y   i n   D o c k e r   H u b .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11753"
  },
  {
    "question": "What is Kubelet credential provider for authenticated image pulls?",
    "answer": "Y o u   c a n   c o n f i g u r e   t h e   k u b e l e t   t o   i n v o k e   a   p l u g i n   b i n a r y   t o   d y n a m i c a l l y   f e t c h   r e g i s t r y   c r e d e n t i a l s   f o r   a   c o n t a i n e r   i m a g e .   T h i s   i s   t h e   m o s t   r o b u s t   a n d   v e r s a t i l e   w a y   t o   f e t c h   c r e d e n t i a l s   f o r   p r i v a t e   r e g i s t r i e s ,   b u t   a l s o   r e q u i r e s   k u b e l e t - l e v e l   c o n f i g u r a t i o n   t o   e n a b l e .   T h i s   t e c h n i q u e   c a n   b e   e s p e c i a l l y   u s e f u l   f o r   r u n n i n g   s t a t i c   P o d s   t h a t   r e q u i r e   c o n t a i n e r   i m a g e s   h o s t e d   i n   a   p r i v a t e   r e g i s t r y .   U s i n g   a   S e r v i c e A c c o u n t   o r   a   S e c r e t   t o   p r o v i d e   p r i v a t e   r e g i s t r y   c r e d e n t i a l s   i s   n o t   p o s s i b l e   i n   t h e   s p e c i f i c a t i o n   o f   a   s t a t i c   P o d ,   b e c a u s e   i t   c a n n o t   h a v e   r e f e r e n c e s   t o   o t h e r   A P I   r e s o u r c e s   i n   i t s   s p e c i f i c a t i o n .   S e e   C o n f i g u r e   a   k u b e l e t   i m a g e   c r e d e n t i a l   p r o v i d e r   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11754"
  },
  {
    "question": "What is Interpretation of config.json?",
    "answer": "T h e   i n t e r p r e t a t i o n   o f   c o n f i g . j s o n   v a r i e s   b e t w e e n   t h e   o r i g i n a l   D o c k e r   i m p l e m e n t a t i o n   a n d   t h e   K u b e r n e t e s   i n t e r p r e t a t i o n .   I n   D o c k e r ,   t h e   a u t h s   k e y s   c a n   o n l y   s p e c i f y   r o o t   U R L s ,   w h e r e a s   K u b e r n e t e s   a l l o w s   g l o b   U R L s   a s   w e l l   a s   p r e f i x - m a t c h e d   p a t h s .   T h e   o n l y   l i m i t a t i o n   i s   t h a t   g l o b   p a t t e r n s   ( * )   h a v e   t o   i n c l u d e   t h e   d o t   ( . )   f o r   e a c h   s u b d o m a i n .   T h e   a m o u n t   o f   m a t c h e d   s u b d o m a i n s   h a s   t o   b e   e q u a l   t o   t h e   a m o u n t   o f   g l o b   p a t t e r n s   ( * . ) ,   f o r   e x a m p l e :   * . k u b e r n e t e s . i o   w i l l   n o t   m a t c h   k u b e r n e t e s . i o ,   b u t   w i l l   m a t c h   a b c . k u b e r n e t e s . i o . * . * . k u b e r n e t e s . i o   w i l l   n o t   m a t c h   a b c . k u b e r n e t e s . i o ,   b u t   w i l l   m a t c h   a b c . d e f . k u b e r n e t e s . i o . p r e f i x . * . i o   w i l l   m a t c h   p r e f i x . k u b e r n e t e s . i o . * - g o o d . k u b e r n e t e s . i o   w i l l   m a t c h   p r e f i x - g o o d . k u b e r n e t e s . i o .   T h i s   m e a n s   t h a t   a   c o n f i g . j s o n   l i k e   t h i s   i s   v a l i d :   {   \" a u t h s \" :   {   \" m y - r e g i s t r y . e x a m p l e / i m a g e s \" :   {   \" a u t h \" :   \" … \"   } ,   \" * . m y - r e g i s t r y . e x a m p l e / i m a g e s \" :   {   \" a u t h \" :   \" … \"   }   }   }   I m a g e   p u l l   o p e r a t i o n s   p a s s   t h e   c r e d e n t i a l s   t o   t h e   C R I   c o n t a i n e r   r u n t i m e   f o r   e v e r y   v a l i d   p a t t e r n .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   c o n t a i n e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11755"
  },
  {
    "question": "What is Note:?",
    "answer": "B y   d e f a u l t ,   t h e   k u b e l e t   t r i e s   t o   p u l l   e a c h   i m a g e   f r o m   t h e   s p e c i f i e d   r e g i s t r y .   H o w e v e r ,   i f   t h e   i m a g e P u l l P o l i c y   p r o p e r t y   o f   t h e   c o n t a i n e r   i s   s e t   t o   I f N o t P r e s e n t   o r   N e v e r ,   t h e n   a   l o c a l   i m a g e   i s   u s e d   ( p r e f e r e n t i a l l y   o r   e x c l u s i v e l y ,   r e s p e c t i v e l y ) .   I f   y o u   w a n t   t o   r e l y   o n   p r e - p u l l e d   i m a g e s   a s   a   s u b s t i t u t e   f o r   r e g i s t r y   a u t h e n t i c a t i o n ,   y o u   m u s t   e n s u r e   a l l   n o d e s   i n   t h e   c l u s t e r   h a v e   t h e   s a m e   p r e - p u l l e d   i m a g e s .   T h i s   c a n   b e   u s e d   t o   p r e l o a d   c e r t a i n   i m a g e s   f o r   s p e e d   o r   a s   a n   a l t e r n a t i v e   t o   a u t h e n t i c a t i n g   t o   a   p r i v a t e   r e g i s t r y .   S i m i l a r   t o   t h e   u s a g e   o f   t h e   k u b e l e t   c r e d e n t i a l   p r o v i d e r ,   p r e - p u l l e d   i m a g e s   a r e   a l s o   s u i t a b l e   f o r   l a u n c h i n g   s t a t i c   P o d s   t h a t   d e p e n d   o n   i m a g e s   h o s t e d   i n   a   p r i v a t e   r e g i s t r y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11756"
  },
  {
    "question": "What is Note:?",
    "answer": "A c c e s s   t o   p r e - p u l l e d   i m a g e s   m a y   b e   a u t h o r i z e d   a c c o r d i n g   t o   i m a g e   p u l l   c r e d e n t i a l   v e r i f i c a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11757"
  },
  {
    "question": "What is Ensure image pull credential verification?",
    "answer": "I f   t h e   K u b e l e t E n s u r e S e c r e t P u l l e d I m a g e s   f e a t u r e   g a t e   i s   e n a b l e d   f o r   y o u r   c l u s t e r ,   K u b e r n e t e s   w i l l   v a l i d a t e   i m a g e   c r e d e n t i a l s   f o r   e v e r y   i m a g e   t h a t   r e q u i r e s   c r e d e n t i a l s   t o   b e   p u l l e d ,   e v e n   i f   t h a t   i m a g e   i s   a l r e a d y   p r e s e n t   o n   t h e   n o d e .   T h i s   v a l i d a t i o n   e n s u r e s   t h a t   i m a g e s   i n   a   P o d   r e q u e s t   w h i c h   h a v e   n o t   b e e n   s u c c e s s f u l l y   p u l l e d   w i t h   t h e   p r o v i d e d   c r e d e n t i a l s   m u s t   r e - p u l l   t h e   i m a g e s   f r o m   t h e   r e g i s t r y .   A d d i t i o n a l l y ,   i m a g e   p u l l s   t h a t   r e - u s e   t h e   s a m e   c r e d e n t i a l s   w h i c h   p r e v i o u s l y   r e s u l t e d   i n   a   s u c c e s s f u l   i m a g e   p u l l   w i l l   n o t   n e e d   t o   r e - p u l l   f r o m   t h e   r e g i s t r y   a n d   a r e   i n s t e a d   v a l i d a t e d   l o c a l l y   w i t h o u t   a c c e s s i n g   t h e   r e g i s t r y   ( p r o v i d e d   t h e   i m a g e   i s   a v a i l a b l e   l o c a l l y ) .   T h i s   i s   c o n t r o l l e d   b y   t h e i m a g e P u l l C r e d e n t i a l s V e r i f i c a t i o n P o l i c y   f i e l d   i n   t h e   K u b e l e t   c o n f i g u r a t i o n .   T h i s   c o n f i g u r a t i o n   c o n t r o l s   w h e n   i m a g e   p u l l   c r e d e n t i a l s   m u s t   b e   v e r i f i e d   i f   t h e   i m a g e   i s   a l r e a d y   p r e s e n t   o n   t h e   n o d e :   N e v e r V e r i f y :   M i m i c s   t h e   b e h a v i o r   o f   h a v i n g   t h i s   f e a t u r e   g a t e   d i s a b l e d .   I f   t h e   i m a g e   i s   p r e s e n t   l o c a l l y ,   i m a g e   p u l l   c r e d e n t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11758"
  },
  {
    "question": "What is Creating a Secret with a Docker config?",
    "answer": "Y o u   n e e d   t o   k n o w   t h e   u s e r n a m e ,   r e g i s t r y   p a s s w o r d   a n d   c l i e n t   e m a i l   a d d r e s s   f o r   a u t h e n t i c a t i n g   t o   t h e   r e g i s t r y ,   a s   w e l l   a s   i t s   h o s t n a m e .   R u n   t h e   f o l l o w i n g   c o m m a n d ,   s u b s t i t u t i n g   p l a c e h o l d e r s   w i t h   t h e   a p p r o p r i a t e   v a l u e s :   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   < n a m e >   \\   - - d o c k e r - s e r v e r = < d o c k e r - r e g i s t r y - s e r v e r >   \\   - - d o c k e r - u s e r n a m e = < d o c k e r - u s e r >   \\   - - d o c k e r - p a s s w o r d = < d o c k e r - p a s s w o r d >   \\   - - d o c k e r - e m a i l = < d o c k e r - e m a i l >   I f   y o u   a l r e a d y   h a v e   a   D o c k e r   c r e d e n t i a l s   f i l e   t h e n ,   r a t h e r   t h a n   u s i n g   t h e   a b o v e   c o m m a n d ,   y o u   c a n   i m p o r t   t h e   c r e d e n t i a l s   f i l e   a s   a   K u b e r n e t e s   S e c r e t .   C r e a t e   a   S e c r e t   b a s e d   o n   e x i s t i n g   D o c k e r   c r e d e n t i a l s   e x p l a i n s   h o w   t o   s e t   t h i s   u p .   T h i s   i s   p a r t i c u l a r l y   u s e f u l   i f   y o u   a r e   u s i n g   m u l t i p l e   p r i v a t e   c o n t a i n e r   r e g i s t r i e s ,   a s   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   c r e a t e s   a   S e c r e t   t h a t   o n l y   w o r k s   w i t h   a   s i n g l e   p r i v a t e   r e g i s t r y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11759"
  },
  {
    "question": "What is Referring to imagePullSecrets on a Pod?",
    "answer": "N o w ,   y o u   c a n   c r e a t e   p o d s   w h i c h   r e f e r e n c e   t h a t   s e c r e t   b y   a d d i n g   t h e   i m a g e P u l l S e c r e t s   s e c t i o n   t o   a   P o d   d e f i n i t i o n .   E a c h   i t e m   i n   t h e   i m a g e P u l l S e c r e t s   a r r a y   c a n   o n l y   r e f e r e n c e   o n e   S e c r e t   i n   t h e   s a m e   n a m e s p a c e .   F o r   e x a m p l e :   c a t   < < E O F   >   p o d . y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   f o o   n a m e s p a c e :   a w e s o m e a p p s   s p e c :   c o n t a i n e r s :   -   n a m e :   f o o   i m a g e :   j a n e d o e / a w e s o m e a p p : v 1   i m a g e P u l l S e c r e t s :   -   n a m e :   m y r e g i s t r y k e y   E O F   c a t   < < E O F   > >   . / k u s t o m i z a t i o n . y a m l   r e s o u r c e s :   -   p o d . y a m l   E O F   T h i s   n e e d s   t o   b e   d o n e   f o r   e a c h   P o d   t h a t   i s   u s i n g   a   p r i v a t e   r e g i s t r y .   H o w e v e r ,   y o u   c a n   a u t o m a t e   t h i s   p r o c e s s   b y   s p e c i f y i n g   t h e   i m a g e P u l l S e c r e t s   s e c t i o n   i n   a   S e r v i c e A c c o u n t   r e s o u r c e .   S e e   A d d   I m a g e P u l l S e c r e t s   t o   a   S e r v i c e   A c c o u n t   f o r   d e t a i l e d   i n s t r u c t i o n s .   Y o u   c a n   u s e   t h i s   i n   c o n j u n c t i o n   w i t h   a   p e r - n o d e   . d o c k e r / c o n f i g . j s o n .   T h e   c r e d e n t i a l s   w i l l   b e   m e r g e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11760"
  },
  {
    "question": "What is Use cases?",
    "answer": "T h e r e   a r e   a   n u m b e r   o f   s o l u t i o n s   f o r   c o n f i g u r i n g   p r i v a t e   r e g i s t r i e s .   H e r e   a r e   s o m e   c o m m o n   u s e   c a s e s   a n d   s u g g e s t e d   s o l u t i o n s .   C l u s t e r   r u n n i n g   o n l y   n o n - p r o p r i e t a r y   ( e . g .   o p e n - s o u r c e )   i m a g e s .   N o   n e e d   t o   h i d e   i m a g e s . U s e   p u b l i c   i m a g e s   f r o m   a   p u b l i c   r e g i s t r y N o   c o n f i g u r a t i o n   r e q u i r e d . S o m e   c l o u d   p r o v i d e r s   a u t o m a t i c a l l y   c a c h e   o r   m i r r o r   p u b l i c   i m a g e s ,   w h i c h   i m p r o v e s   a v a i l a b i l i t y   a n d   r e d u c e s   t h e   t i m e   t o   p u l l   i m a g e s . C l u s t e r   r u n n i n g   s o m e   p r o p r i e t a r y   i m a g e s   w h i c h   s h o u l d   b e   h i d d e n   t o   t h o s e   o u t s i d e   t h e   c o m p a n y ,   b u t   v i s i b l e   t o   a l l   c l u s t e r   u s e r s . U s e   a   h o s t e d   p r i v a t e   r e g i s t r y M a n u a l   c o n f i g u r a t i o n   m a y   b e   r e q u i r e d   o n   t h e   n o d e s   t h a t   n e e d   t o   a c c e s s   t o   p r i v a t e   r e g i s t r y . O r ,   r u n   a n   i n t e r n a l   p r i v a t e   r e g i s t r y   b e h i n d   y o u r   f i r e w a l l   w i t h   o p e n   r e a d   a c c e s s . N o   K u b e r n e t e s   c o n f i g u r a t i o n   i s   r e q u i r e d . U s e   a   h o s t e d   c o n t a i n e r   i m a g e   r e g i s t r y   s e r v i c e   t h a t   c o n t r o l s   i m a g e   a c c e s s I t   w i l l   w o r k   b e t t e r   w i t h   N o d e   a u t o s c a l i n g   t h a n   m a n u a l   n o d e   c o n f i g u r a t i o n . O r ,   o n   a   c l u s t e r   w h e r e   c h a n g i n g   t h e   n o d e   c o n f i g u r a t i o n   i s   i n c o n v e n i e n t ,   u s e   i m a g e P u ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11761"
  },
  {
    "question": "What is Legacy built-in kubelet credential provider?",
    "answer": "I n   o l d e r   v e r s i o n s   o f   K u b e r n e t e s ,   t h e   k u b e l e t   h a d   a   d i r e c t   i n t e g r a t i o n   w i t h   c l o u d   p r o v i d e r   c r e d e n t i a l s .   T h i s   p r o v i d e d   t h e   a b i l i t y   t o   d y n a m i c a l l y   f e t c h   c r e d e n t i a l s   f o r   i m a g e   r e g i s t r i e s .   T h e r e   w e r e   t h r e e   b u i l t - i n   i m p l e m e n t a t i o n s   o f   t h e   k u b e l e t   c r e d e n t i a l   p r o v i d e r   i n t e g r a t i o n :   A C R   ( A z u r e   C o n t a i n e r   R e g i s t r y ) ,   E C R   ( E l a s t i c   C o n t a i n e r   R e g i s t r y ) ,   a n d   G C R   ( G o o g l e   C o n t a i n e r   R e g i s t r y ) .   S t a r t i n g   w i t h   v e r s i o n   1 . 2 6   o f   K u b e r n e t e s ,   t h e   l e g a c y   m e c h a n i s m   h a s   b e e n   r e m o v e d ,   s o   y o u   w o u l d   n e e d   t o   e i t h e r :   c o n f i g u r e   a   k u b e l e t   i m a g e   c r e d e n t i a l   p r o v i d e r   o n   e a c h   n o d e ;   o r s p e c i f y   i m a g e   p u l l   c r e d e n t i a l s   u s i n g   i m a g e P u l l S e c r e t s   a n d   a t   l e a s t   o n e   S e c r e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11762"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   t h e   O C I   I m a g e   M a n i f e s t   S p e c i f i c a t i o n . L e a r n   a b o u t   c o n t a i n e r   i m a g e   g a r b a g e   c o l l e c t i o n . L e a r n   m o r e   a b o u t   p u l l i n g   a n   I m a g e   f r o m   a   P r i v a t e   R e g i s t r y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11763"
  },
  {
    "question": "What is 3.2 - Container Environment?",
    "answer": "T h i s   p a g e   d e s c r i b e s   t h e   r e s o u r c e s   a v a i l a b l e   t o   C o n t a i n e r s   i n   t h e   C o n t a i n e r   e n v i r o n m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11764"
  },
  {
    "question": "What is Container environment?",
    "answer": "T h e   K u b e r n e t e s   C o n t a i n e r   e n v i r o n m e n t   p r o v i d e s   s e v e r a l   i m p o r t a n t   r e s o u r c e s   t o   C o n t a i n e r s :   A   f i l e s y s t e m ,   w h i c h   i s   a   c o m b i n a t i o n   o f   a n   i m a g e   a n d   o n e   o r   m o r e   v o l u m e s . I n f o r m a t i o n   a b o u t   t h e   C o n t a i n e r   i t s e l f . I n f o r m a t i o n   a b o u t   o t h e r   o b j e c t s   i n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11765"
  },
  {
    "question": "What is Container information?",
    "answer": "T h e   h o s t n a m e   o f   a   C o n t a i n e r   i s   t h e   n a m e   o f   t h e   P o d   i n   w h i c h   t h e   C o n t a i n e r   i s   r u n n i n g .   I t   i s   a v a i l a b l e   t h r o u g h   t h e   h o s t n a m e   c o m m a n d   o r   t h e   g e t h o s t n a m e   f u n c t i o n   c a l l   i n   l i b c .   T h e   P o d   n a m e   a n d   n a m e s p a c e   a r e   a v a i l a b l e   a s   e n v i r o n m e n t   v a r i a b l e s   t h r o u g h   t h e   d o w n w a r d   A P I .   U s e r   d e f i n e d   e n v i r o n m e n t   v a r i a b l e s   f r o m   t h e   P o d   d e f i n i t i o n   a r e   a l s o   a v a i l a b l e   t o   t h e   C o n t a i n e r ,   a s   a r e   a n y   e n v i r o n m e n t   v a r i a b l e s   s p e c i f i e d   s t a t i c a l l y   i n   t h e   c o n t a i n e r   i m a g e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11766"
  },
  {
    "question": "What is Cluster information?",
    "answer": "A   l i s t   o f   a l l   s e r v i c e s   t h a t   w e r e   r u n n i n g   w h e n   a   C o n t a i n e r   w a s   c r e a t e d   i s   a v a i l a b l e   t o   t h a t   C o n t a i n e r   a s   e n v i r o n m e n t   v a r i a b l e s .   T h i s   l i s t   i s   l i m i t e d   t o   s e r v i c e s   w i t h i n   t h e   s a m e   n a m e s p a c e   a s   t h e   n e w   C o n t a i n e r ' s   P o d   a n d   K u b e r n e t e s   c o n t r o l   p l a n e   s e r v i c e s .   F o r   a   s e r v i c e   n a m e d   f o o   t h a t   m a p s   t o   a   C o n t a i n e r   n a m e d   b a r ,   t h e   f o l l o w i n g   v a r i a b l e s   a r e   d e f i n e d :   F O O _ S E R V I C E _ H O S T = < t h e   h o s t   t h e   s e r v i c e   i s   r u n n i n g   o n >   F O O _ S E R V I C E _ P O R T = < t h e   p o r t   t h e   s e r v i c e   i s   r u n n i n g   o n >   S e r v i c e s   h a v e   d e d i c a t e d   I P   a d d r e s s e s   a n d   a r e   a v a i l a b l e   t o   t h e   C o n t a i n e r   v i a   D N S ,   i f   D N S   a d d o n   i s   e n a b l e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11767"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   C o n t a i n e r   l i f e c y c l e   h o o k s . G e t   h a n d s - o n   e x p e r i e n c e   a t t a c h i n g   h a n d l e r s   t o   C o n t a i n e r   l i f e c y c l e   e v e n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11768"
  },
  {
    "question": "What is 3.3 - Runtime Class?",
    "answer": "T h i s   p a g e   d e s c r i b e s   t h e   R u n t i m e C l a s s   r e s o u r c e   a n d   r u n t i m e   s e l e c t i o n   m e c h a n i s m .   R u n t i m e C l a s s   i s   a   f e a t u r e   f o r   s e l e c t i n g   t h e   c o n t a i n e r   r u n t i m e   c o n f i g u r a t i o n .   T h e   c o n t a i n e r   r u n t i m e   c o n f i g u r a t i o n   i s   u s e d   t o   r u n   a   P o d ' s   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11769"
  },
  {
    "question": "What is Motivation?",
    "answer": "Y o u   c a n   s e t   a   d i f f e r e n t   R u n t i m e C l a s s   b e t w e e n   d i f f e r e n t   P o d s   t o   p r o v i d e   a   b a l a n c e   o f   p e r f o r m a n c e   v e r s u s   s e c u r i t y .   F o r   e x a m p l e ,   i f   p a r t   o f   y o u r   w o r k l o a d   d e s e r v e s   a   h i g h   l e v e l   o f   i n f o r m a t i o n   s e c u r i t y   a s s u r a n c e ,   y o u   m i g h t   c h o o s e   t o   s c h e d u l e   t h o s e   P o d s   s o   t h a t   t h e y   r u n   i n   a   c o n t a i n e r   r u n t i m e   t h a t   u s e s   h a r d w a r e   v i r t u a l i z a t i o n .   Y o u ' d   t h e n   b e n e f i t   f r o m   t h e   e x t r a   i s o l a t i o n   o f   t h e   a l t e r n a t i v e   r u n t i m e ,   a t   t h e   e x p e n s e   o f   s o m e   a d d i t i o n a l   o v e r h e a d .   Y o u   c a n   a l s o   u s e   R u n t i m e C l a s s   t o   r u n   d i f f e r e n t   P o d s   w i t h   t h e   s a m e   c o n t a i n e r   r u n t i m e   b u t   w i t h   d i f f e r e n t   s e t t i n g s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11770"
  },
  {
    "question": "What is Setup?",
    "answer": "C o n f i g u r e   t h e   C R I   i m p l e m e n t a t i o n   o n   n o d e s   ( r u n t i m e   d e p e n d e n t ) C r e a t e   t h e   c o r r e s p o n d i n g   R u n t i m e C l a s s   r e s o u r c e s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11771"
  },
  {
    "question": "What is 1. Configure the CRI implementation on nodes?",
    "answer": "T h e   c o n f i g u r a t i o n s   a v a i l a b l e   t h r o u g h   R u n t i m e C l a s s   a r e   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I )   i m p l e m e n t a t i o n   d e p e n d e n t .   S e e   t h e   c o r r e s p o n d i n g   d o c u m e n t a t i o n   ( b e l o w )   f o r   y o u r   C R I   i m p l e m e n t a t i o n   f o r   h o w   t o   c o n f i g u r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11772"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   c o n f i g u r a t i o n s   h a v e   a   c o r r e s p o n d i n g   h a n d l e r   n a m e ,   r e f e r e n c e d   b y   t h e   R u n t i m e C l a s s .   T h e   h a n d l e r   m u s t   b e   a   v a l i d   D N S   l a b e l   n a m e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11773"
  },
  {
    "question": "What is 2. Create the corresponding RuntimeClass resources?",
    "answer": "T h e   c o n f i g u r a t i o n s   s e t u p   i n   s t e p   1   s h o u l d   e a c h   h a v e   a n   a s s o c i a t e d   h a n d l e r   n a m e ,   w h i c h   i d e n t i f i e s   t h e   c o n f i g u r a t i o n .   F o r   e a c h   h a n d l e r ,   c r e a t e   a   c o r r e s p o n d i n g   R u n t i m e C l a s s   o b j e c t .   T h e   R u n t i m e C l a s s   r e s o u r c e   c u r r e n t l y   o n l y   h a s   2   s i g n i f i c a n t   f i e l d s :   t h e   R u n t i m e C l a s s   n a m e   ( m e t a d a t a . n a m e )   a n d   t h e   h a n d l e r   ( h a n d l e r ) .   T h e   o b j e c t   d e f i n i t i o n   l o o k s   l i k e   t h i s :   #   R u n t i m e C l a s s   i s   d e f i n e d   i n   t h e   n o d e . k 8 s . i o   A P I   g r o u p   a p i V e r s i o n :   n o d e . k 8 s . i o / v 1   k i n d :   R u n t i m e C l a s s   m e t a d a t a :   #   T h e   n a m e   t h e   R u n t i m e C l a s s   w i l l   b e   r e f e r e n c e d   b y .   #   R u n t i m e C l a s s   i s   a   n o n - n a m e s p a c e d   r e s o u r c e .   n a m e :   m y c l a s s   #   T h e   n a m e   o f   t h e   c o r r e s p o n d i n g   C R I   c o n f i g u r a t i o n   h a n d l e r :   m y c o n f i g u r a t i o n   T h e   n a m e   o f   a   R u n t i m e C l a s s   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11774"
  },
  {
    "question": "What is Usage?",
    "answer": "O n c e   R u n t i m e C l a s s e s   a r e   c o n f i g u r e d   f o r   t h e   c l u s t e r ,   y o u   c a n   s p e c i f y   a   r u n t i m e C l a s s N a m e   i n   t h e   P o d   s p e c   t o   u s e   i t .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y p o d   s p e c :   r u n t i m e C l a s s N a m e :   m y c l a s s   #   . . .   T h i s   w i l l   i n s t r u c t   t h e   k u b e l e t   t o   u s e   t h e   n a m e d   R u n t i m e C l a s s   t o   r u n   t h i s   p o d .   I f   t h e   n a m e d   R u n t i m e C l a s s   d o e s   n o t   e x i s t ,   o r   t h e   C R I   c a n n o t   r u n   t h e   c o r r e s p o n d i n g   h a n d l e r ,   t h e   p o d   w i l l   e n t e r   t h e   F a i l e d   t e r m i n a l   p h a s e .   L o o k   f o r   a   c o r r e s p o n d i n g   e v e n t   f o r   a n   e r r o r   m e s s a g e .   I f   n o   r u n t i m e C l a s s N a m e   i s   s p e c i f i e d ,   t h e   d e f a u l t   R u n t i m e H a n d l e r   w i l l   b e   u s e d ,   w h i c h   i s   e q u i v a l e n t   t o   t h e   b e h a v i o r   w h e n   t h e   R u n t i m e C l a s s   f e a t u r e   i s   d i s a b l e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11775"
  },
  {
    "question": "What is CRI Configuration?",
    "answer": "F o r   m o r e   d e t a i l s   o n   s e t t i n g   u p   C R I   r u n t i m e s ,   s e e   C R I   i n s t a l l a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11776"
  },
  {
    "question": "What is containerd?",
    "answer": "R u n t i m e   h a n d l e r s   a r e   c o n f i g u r e d   t h r o u g h   c o n t a i n e r d ' s   c o n f i g u r a t i o n   a t   / e t c / c o n t a i n e r d / c o n f i g . t o m l .   V a l i d   h a n d l e r s   a r e   c o n f i g u r e d   u n d e r   t h e   r u n t i m e s   s e c t i o n :   [ p l u g i n s . \" i o . c o n t a i n e r d . g r p c . v 1 . c r i \" . c o n t a i n e r d . r u n t i m e s . $ { H A N D L E R _ N A M E } ]   S e e   c o n t a i n e r d ' s   c o n f i g   d o c u m e n t a t i o n   f o r   m o r e   d e t a i l s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11777"
  },
  {
    "question": "What is CRI-O?",
    "answer": "R u n t i m e   h a n d l e r s   a r e   c o n f i g u r e d   t h r o u g h   C R I - O ' s   c o n f i g u r a t i o n   a t   / e t c / c r i o / c r i o . c o n f .   V a l i d   h a n d l e r s   a r e   c o n f i g u r e d   u n d e r   t h e   c r i o . r u n t i m e   t a b l e :   [ c r i o . r u n t i m e . r u n t i m e s . $ { H A N D L E R _ N A M E } ]   r u n t i m e _ p a t h   =   \" $ { P A T H _ T O _ B I N A R Y } \"   S e e   C R I - O ' s   c o n f i g   d o c u m e n t a t i o n   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11778"
  },
  {
    "question": "What is Scheduling?",
    "answer": "B y   s p e c i f y i n g   t h e   s c h e d u l i n g   f i e l d   f o r   a   R u n t i m e C l a s s ,   y o u   c a n   s e t   c o n s t r a i n t s   t o   e n s u r e   t h a t   P o d s   r u n n i n g   w i t h   t h i s   R u n t i m e C l a s s   a r e   s c h e d u l e d   t o   n o d e s   t h a t   s u p p o r t   i t .   I f   s c h e d u l i n g   i s   n o t   s e t ,   t h i s   R u n t i m e C l a s s   i s   a s s u m e d   t o   b e   s u p p o r t e d   b y   a l l   n o d e s .   T o   e n s u r e   p o d s   l a n d   o n   n o d e s   s u p p o r t i n g   a   s p e c i f i c   R u n t i m e C l a s s ,   t h a t   s e t   o f   n o d e s   s h o u l d   h a v e   a   c o m m o n   l a b e l   w h i c h   i s   t h e n   s e l e c t e d   b y   t h e   r u n t i m e c l a s s . s c h e d u l i n g . n o d e S e l e c t o r   f i e l d .   T h e   R u n t i m e C l a s s ' s   n o d e S e l e c t o r   i s   m e r g e d   w i t h   t h e   p o d ' s   n o d e S e l e c t o r   i n   a d m i s s i o n ,   e f f e c t i v e l y   t a k i n g   t h e   i n t e r s e c t i o n   o f   t h e   s e t   o f   n o d e s   s e l e c t e d   b y   e a c h .   I f   t h e r e   i s   a   c o n f l i c t ,   t h e   p o d   w i l l   b e   r e j e c t e d .   I f   t h e   s u p p o r t e d   n o d e s   a r e   t a i n t e d   t o   p r e v e n t   o t h e r   R u n t i m e C l a s s   p o d s   f r o m   r u n n i n g   o n   t h e   n o d e ,   y o u   c a n   a d d   t o l e r a t i o n s   t o   t h e   R u n t i m e C l a s s .   A s   w i t h   t h e   n o d e S e l e c t o r ,   t h e   t o l e r a t i o n s   a r e   m e r g e d   w i t h   t h e   p o d ' s   t o l e r a t i o n s   i n   a d m i s s i o n ,   e f f e c t i v e l y   t a k i n g   t h e   u n i o n   o f   t h e   s e t   o f   n o d e s   t o l e r a t e d   b y   e a c h .   T o   l e a r n   m o r e   a b o u t   c o n f i g u r i n g   t h e   n o d e   s e l e c t o r   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11779"
  },
  {
    "question": "What is Pod Overhead?",
    "answer": "Y o u   c a n   s p e c i f y   o v e r h e a d   r e s o u r c e s   t h a t   a r e   a s s o c i a t e d   w i t h   r u n n i n g   a   P o d .   D e c l a r i n g   o v e r h e a d   a l l o w s   t h e   c l u s t e r   ( i n c l u d i n g   t h e   s c h e d u l e r )   t o   a c c o u n t   f o r   i t   w h e n   m a k i n g   d e c i s i o n s   a b o u t   P o d s   a n d   r e s o u r c e s .   P o d   o v e r h e a d   i s   d e f i n e d   i n   R u n t i m e C l a s s   t h r o u g h   t h e   o v e r h e a d   f i e l d .   T h r o u g h   t h e   u s e   o f   t h i s   f i e l d ,   y o u   c a n   s p e c i f y   t h e   o v e r h e a d   o f   r u n n i n g   p o d s   u t i l i z i n g   t h i s   R u n t i m e C l a s s   a n d   e n s u r e   t h e s e   o v e r h e a d s   a r e   a c c o u n t e d   f o r   i n   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11780"
  },
  {
    "question": "What is What's next?",
    "answer": "R u n t i m e C l a s s   D e s i g n R u n t i m e C l a s s   S c h e d u l i n g   D e s i g n R e a d   a b o u t   t h e   P o d   O v e r h e a d   c o n c e p t P o d O v e r h e a d   F e a t u r e   D e s i g n",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11781"
  },
  {
    "question": "What is 3.4 - Container Lifecycle Hooks?",
    "answer": "T h i s   p a g e   d e s c r i b e s   h o w   k u b e l e t   m a n a g e d   C o n t a i n e r s   c a n   u s e   t h e   C o n t a i n e r   l i f e c y c l e   h o o k   f r a m e w o r k   t o   r u n   c o d e   t r i g g e r e d   b y   e v e n t s   d u r i n g   t h e i r   m a n a g e m e n t   l i f e c y c l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11782"
  },
  {
    "question": "What is Overview?",
    "answer": "A n a l o g o u s   t o   m a n y   p r o g r a m m i n g   l a n g u a g e   f r a m e w o r k s   t h a t   h a v e   c o m p o n e n t   l i f e c y c l e   h o o k s ,   s u c h   a s   A n g u l a r ,   K u b e r n e t e s   p r o v i d e s   C o n t a i n e r s   w i t h   l i f e c y c l e   h o o k s .   T h e   h o o k s   e n a b l e   C o n t a i n e r s   t o   b e   a w a r e   o f   e v e n t s   i n   t h e i r   m a n a g e m e n t   l i f e c y c l e   a n d   r u n   c o d e   i m p l e m e n t e d   i n   a   h a n d l e r   w h e n   t h e   c o r r e s p o n d i n g   l i f e c y c l e   h o o k   i s   e x e c u t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11783"
  },
  {
    "question": "What is Container hooks?",
    "answer": "T h e r e   a r e   t w o   h o o k s   t h a t   a r e   e x p o s e d   t o   C o n t a i n e r s :   P o s t S t a r t   T h i s   h o o k   i s   e x e c u t e d   i m m e d i a t e l y   a f t e r   a   c o n t a i n e r   i s   c r e a t e d .   H o w e v e r ,   t h e r e   i s   n o   g u a r a n t e e   t h a t   t h e   h o o k   w i l l   e x e c u t e   b e f o r e   t h e   c o n t a i n e r   E N T R Y P O I N T .   N o   p a r a m e t e r s   a r e   p a s s e d   t o   t h e   h a n d l e r .   P r e S t o p   T h i s   h o o k   i s   c a l l e d   i m m e d i a t e l y   b e f o r e   a   c o n t a i n e r   i s   t e r m i n a t e d   d u e   t o   a n   A P I   r e q u e s t   o r   m a n a g e m e n t   e v e n t   s u c h   a s   a   l i v e n e s s / s t a r t u p   p r o b e   f a i l u r e ,   p r e e m p t i o n ,   r e s o u r c e   c o n t e n t i o n   a n d   o t h e r s .   A   c a l l   t o   t h e   P r e S t o p   h o o k   f a i l s   i f   t h e   c o n t a i n e r   i s   a l r e a d y   i n   a   t e r m i n a t e d   o r   c o m p l e t e d   s t a t e   a n d   t h e   h o o k   m u s t   c o m p l e t e   b e f o r e   t h e   T E R M   s i g n a l   t o   s t o p   t h e   c o n t a i n e r   c a n   b e   s e n t .   T h e   P o d ' s   t e r m i n a t i o n   g r a c e   p e r i o d   c o u n t d o w n   b e g i n s   b e f o r e   t h e   P r e S t o p   h o o k   i s   e x e c u t e d ,   s o   r e g a r d l e s s   o f   t h e   o u t c o m e   o f   t h e   h a n d l e r ,   t h e   c o n t a i n e r   w i l l   e v e n t u a l l y   t e r m i n a t e   w i t h i n   t h e   P o d ' s   t e r m i n a t i o n   g r a c e   p e r i o d .   N o   p a r a m e t e r s   a r e   p a s s e d   t o   t h e   h a n d l e r .   A   m o r e   d e t a i l e d   d e s c r i p t i o n   o f   t h e   t e r m i n a t i o n   b e h a v i o r   c a n   b e   f o u n d   i n   T e r m i n a t i o n   o f   P o d s .   S t o p S i g n a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11784"
  },
  {
    "question": "What is Hook handler implementations?",
    "answer": "C o n t a i n e r s   c a n   a c c e s s   a   h o o k   b y   i m p l e m e n t i n g   a n d   r e g i s t e r i n g   a   h a n d l e r   f o r   t h a t   h o o k .   T h e r e   a r e   t h r e e   t y p e s   o f   h o o k   h a n d l e r s   t h a t   c a n   b e   i m p l e m e n t e d   f o r   C o n t a i n e r s :   E x e c   -   E x e c u t e s   a   s p e c i f i c   c o m m a n d ,   s u c h   a s   p r e - s t o p . s h ,   i n s i d e   t h e   c g r o u p s   a n d   n a m e s p a c e s   o f   t h e   C o n t a i n e r .   R e s o u r c e s   c o n s u m e d   b y   t h e   c o m m a n d   a r e   c o u n t e d   a g a i n s t   t h e   C o n t a i n e r . H T T P   -   E x e c u t e s   a n   H T T P   r e q u e s t   a g a i n s t   a   s p e c i f i c   e n d p o i n t   o n   t h e   C o n t a i n e r . S l e e p   -   P a u s e s   t h e   c o n t a i n e r   f o r   a   s p e c i f i e d   d u r a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11785"
  },
  {
    "question": "What is Hook handler execution?",
    "answer": "W h e n   a   C o n t a i n e r   l i f e c y c l e   m a n a g e m e n t   h o o k   i s   c a l l e d ,   t h e   K u b e r n e t e s   m a n a g e m e n t   s y s t e m   e x e c u t e s   t h e   h a n d l e r   a c c o r d i n g   t o   t h e   h o o k   a c t i o n ,   h t t p G e t ,   t c p S o c k e t   ( d e p r e c a t e d )   a n d   s l e e p   a r e   e x e c u t e d   b y   t h e   k u b e l e t   p r o c e s s ,   a n d   e x e c   i s   e x e c u t e d   i n   t h e   c o n t a i n e r .   T h e   P o s t S t a r t   h o o k   h a n d l e r   c a l l   i s   i n i t i a t e d   w h e n   a   c o n t a i n e r   i s   c r e a t e d ,   m e a n i n g   t h e   c o n t a i n e r   E N T R Y P O I N T   a n d   t h e   P o s t S t a r t   h o o k   a r e   t r i g g e r e d   s i m u l t a n e o u s l y .   H o w e v e r ,   i f   t h e   P o s t S t a r t   h o o k   t a k e s   t o o   l o n g   t o   e x e c u t e   o r   i f   i t   h a n g s ,   i t   c a n   p r e v e n t   t h e   c o n t a i n e r   f r o m   t r a n s i t i o n i n g   t o   a   r u n n i n g   s t a t e .   P r e S t o p   h o o k s   a r e   n o t   e x e c u t e d   a s y n c h r o n o u s l y   f r o m   t h e   s i g n a l   t o   s t o p   t h e   C o n t a i n e r ;   t h e   h o o k   m u s t   c o m p l e t e   i t s   e x e c u t i o n   b e f o r e   t h e   T E R M   s i g n a l   c a n   b e   s e n t .   I f   a   P r e S t o p   h o o k   h a n g s   d u r i n g   e x e c u t i o n ,   t h e   P o d ' s   p h a s e   w i l l   b e   T e r m i n a t i n g   a n d   r e m a i n   t h e r e   u n t i l   t h e   P o d   i s   k i l l e d   a f t e r   i t s   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   e x p i r e s .   T h i s   g r a c e   p e r i o d   a p p l i e s   t o   t h e   t o t a l   t i m e   i t   t a k e s   f o r   b o t h   t h e   P r e S t o p   h o o k   t o   e x e c u t e   a n d   f o r   t h e   C o n t a i n e r   t o   s t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11786"
  },
  {
    "question": "What is Hook delivery guarantees?",
    "answer": "H o o k   d e l i v e r y   i s   i n t e n d e d   t o   b e   a t   l e a s t   o n c e ,   w h i c h   m e a n s   t h a t   a   h o o k   m a y   b e   c a l l e d   m u l t i p l e   t i m e s   f o r   a n y   g i v e n   e v e n t ,   s u c h   a s   f o r   P o s t S t a r t   o r   P r e S t o p .   I t   i s   u p   t o   t h e   h o o k   i m p l e m e n t a t i o n   t o   h a n d l e   t h i s   c o r r e c t l y .   G e n e r a l l y ,   o n l y   s i n g l e   d e l i v e r i e s   a r e   m a d e .   I f ,   f o r   e x a m p l e ,   a n   H T T P   h o o k   r e c e i v e r   i s   d o w n   a n d   i s   u n a b l e   t o   t a k e   t r a f f i c ,   t h e r e   i s   n o   a t t e m p t   t o   r e s e n d .   I n   s o m e   r a r e   c a s e s ,   h o w e v e r ,   d o u b l e   d e l i v e r y   m a y   o c c u r .   F o r   i n s t a n c e ,   i f   a   k u b e l e t   r e s t a r t s   i n   t h e   m i d d l e   o f   s e n d i n g   a   h o o k ,   t h e   h o o k   m i g h t   b e   r e s e n t   a f t e r   t h e   k u b e l e t   c o m e s   b a c k   u p .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11787"
  },
  {
    "question": "What is Debugging Hook handlers?",
    "answer": "T h e   l o g s   f o r   a   H o o k   h a n d l e r   a r e   n o t   e x p o s e d   i n   P o d   e v e n t s .   I f   a   h a n d l e r   f a i l s   f o r   s o m e   r e a s o n ,   i t   b r o a d c a s t s   a n   e v e n t .   F o r   P o s t S t a r t ,   t h i s   i s   t h e   F a i l e d P o s t S t a r t H o o k   e v e n t ,   a n d   f o r   P r e S t o p ,   t h i s   i s   t h e   F a i l e d P r e S t o p H o o k   e v e n t .   T o   g e n e r a t e   a   f a i l e d   F a i l e d P o s t S t a r t H o o k   e v e n t   y o u r s e l f ,   m o d i f y   t h e   l i f e c y c l e - e v e n t s . y a m l   f i l e   t o   c h a n g e   t h e   p o s t S t a r t   c o m m a n d   t o   \" b a d c o m m a n d \"   a n d   a p p l y   i t .   H e r e   i s   s o m e   e x a m p l e   o u t p u t   o f   t h e   r e s u l t i n g   e v e n t s   y o u   s e e   f r o m   r u n n i n g   k u b e c t l   d e s c r i b e   p o d   l i f e c y c l e - d e m o :   E v e n t s :   T y p e   R e a s o n   A g e   F r o m   M e s s a g e   - - - -   - - - - - -   - - - -   - - - -   - - - - - - -   N o r m a l   S c h e d u l e d   7 s   d e f a u l t - s c h e d u l e r   S u c c e s s f u l l y   a s s i g n e d   d e f a u l t / l i f e c y c l e - d e m o   t o   i p - X X X - X X X - X X - X X . u s - e a s t - 2 . . .   N o r m a l   P u l l e d   6 s   k u b e l e t   S u c c e s s f u l l y   p u l l e d   i m a g e   \" n g i n x \"   i n   2 2 9 . 6 0 4 3 1 5 m s   N o r m a l   P u l l i n g   4 s   ( x 2   o v e r   6 s )   k u b e l e t   P u l l i n g   i m a g e   \" n g i n x \"   N o r m a l   C r e a t e d   4 s   ( x 2   o v e r   5 s )   k u b e l e t   C r e a t e d   c o n t a i n e r   l i f e c y c l e - d e m o - c o n t a i n e r   N o r m a l   S t a r t e d   4 s   ( x 2   o v e r   5 s )   k u b e l e t   S t a r t e d   c o n t a i n e r   l i f e c y c l e - d e m o - c o n t a i n e r   W a r n i n g   F a i l e d P o s t S t a r t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11788"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   t h e   C o n t a i n e r   e n v i r o n m e n t . G e t   h a n d s - o n   e x p e r i e n c e   a t t a c h i n g   h a n d l e r s   t o   C o n t a i n e r   l i f e c y c l e   e v e n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11789"
  },
  {
    "question": "What is 4 - Workloads?",
    "answer": "A   w o r k l o a d   i s   a n   a p p l i c a t i o n   r u n n i n g   o n   K u b e r n e t e s .   W h e t h e r   y o u r   w o r k l o a d   i s   a   s i n g l e   c o m p o n e n t   o r   s e v e r a l   t h a t   w o r k   t o g e t h e r ,   o n   K u b e r n e t e s   y o u   r u n   i t   i n s i d e   a   s e t   o f   p o d s .   I n   K u b e r n e t e s ,   a   P o d   r e p r e s e n t s   a   s e t   o f   r u n n i n g   c o n t a i n e r s   o n   y o u r   c l u s t e r .   K u b e r n e t e s   p o d s   h a v e   a   d e f i n e d   l i f e c y c l e .   F o r   e x a m p l e ,   o n c e   a   p o d   i s   r u n n i n g   i n   y o u r   c l u s t e r   t h e n   a   c r i t i c a l   f a u l t   o n   t h e   n o d e   w h e r e   t h a t   p o d   i s   r u n n i n g   m e a n s   t h a t   a l l   t h e   p o d s   o n   t h a t   n o d e   f a i l .   K u b e r n e t e s   t r e a t s   t h a t   l e v e l   o f   f a i l u r e   a s   f i n a l :   y o u   w o u l d   n e e d   t o   c r e a t e   a   n e w   P o d   t o   r e c o v e r ,   e v e n   i f   t h e   n o d e   l a t e r   b e c o m e s   h e a l t h y .   H o w e v e r ,   t o   m a k e   l i f e   c o n s i d e r a b l y   e a s i e r ,   y o u   d o n ' t   n e e d   t o   m a n a g e   e a c h   P o d   d i r e c t l y .   I n s t e a d ,   y o u   c a n   u s e   w o r k l o a d   r e s o u r c e s   t h a t   m a n a g e   a   s e t   o f   p o d s   o n   y o u r   b e h a l f .   T h e s e   r e s o u r c e s   c o n f i g u r e   c o n t r o l l e r s   t h a t   m a k e   s u r e   t h e   r i g h t   n u m b e r   o f   t h e   r i g h t   k i n d   o f   p o d   a r e   r u n n i n g ,   t o   m a t c h   t h e   s t a t e   y o u   s p e c i f i e d .   K u b e r n e t e s   p r o v i d e s   s e v e r a l   b u i l t - i n   w o r k l o a d   r e s o u r c e s :   D e p l o y m e n t   a n d   R e p l i c a S e t   ( r e p l a c i n g   t h e   l e g a c y   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11790"
  },
  {
    "question": "What is What's next?",
    "answer": "A s   w e l l   a s   r e a d i n g   a b o u t   e a c h   A P I   k i n d   f o r   w o r k l o a d   m a n a g e m e n t ,   y o u   c a n   r e a d   h o w   t o   d o   s p e c i f i c   t a s k s :   R u n   a   s t a t e l e s s   a p p l i c a t i o n   u s i n g   a   D e p l o y m e n t R u n   a   s t a t e f u l   a p p l i c a t i o n   e i t h e r   a s   a   s i n g l e   i n s t a n c e   o r   a s   a   r e p l i c a t e d   s e t R u n   a u t o m a t e d   t a s k s   w i t h   a   C r o n J o b   T o   l e a r n   a b o u t   K u b e r n e t e s '   m e c h a n i s m s   f o r   s e p a r a t i n g   c o d e   f r o m   c o n f i g u r a t i o n ,   v i s i t   C o n f i g u r a t i o n .   T h e r e   a r e   t w o   s u p p o r t i n g   c o n c e p t s   t h a t   p r o v i d e   b a c k g r o u n d s   a b o u t   h o w   K u b e r n e t e s   m a n a g e s   p o d s   f o r   a p p l i c a t i o n s :   G a r b a g e   c o l l e c t i o n   t i d i e s   u p   o b j e c t s   f r o m   y o u r   c l u s t e r   a f t e r   t h e i r   o w n i n g   r e s o u r c e   h a s   b e e n   r e m o v e d . T h e   t i m e - t o - l i v e   a f t e r   f i n i s h e d   c o n t r o l l e r   r e m o v e s   J o b s   o n c e   a   d e f i n e d   t i m e   h a s   p a s s e d   s i n c e   t h e y   c o m p l e t e d .   O n c e   y o u r   a p p l i c a t i o n   i s   r u n n i n g ,   y o u   m i g h t   w a n t   t o   m a k e   i t   a v a i l a b l e   o n   t h e   i n t e r n e t   a s   a   S e r v i c e   o r ,   f o r   w e b   a p p l i c a t i o n   o n l y ,   u s i n g   a n   I n g r e s s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11791"
  },
  {
    "question": "What is 4.1 - Pods?",
    "answer": "P o d s   a r e   t h e   s m a l l e s t   d e p l o y a b l e   u n i t s   o f   c o m p u t i n g   t h a t   y o u   c a n   c r e a t e   a n d   m a n a g e   i n   K u b e r n e t e s .   A   P o d   ( a s   i n   a   p o d   o f   w h a l e s   o r   p e a   p o d )   i s   a   g r o u p   o f   o n e   o r   m o r e   c o n t a i n e r s ,   w i t h   s h a r e d   s t o r a g e   a n d   n e t w o r k   r e s o u r c e s ,   a n d   a   s p e c i f i c a t i o n   f o r   h o w   t o   r u n   t h e   c o n t a i n e r s .   A   P o d ' s   c o n t e n t s   a r e   a l w a y s   c o - l o c a t e d   a n d   c o - s c h e d u l e d ,   a n d   r u n   i n   a   s h a r e d   c o n t e x t .   A   P o d   m o d e l s   a n   a p p l i c a t i o n - s p e c i f i c   \" l o g i c a l   h o s t \" :   i t   c o n t a i n s   o n e   o r   m o r e   a p p l i c a t i o n   c o n t a i n e r s   w h i c h   a r e   r e l a t i v e l y   t i g h t l y   c o u p l e d .   I n   n o n - c l o u d   c o n t e x t s ,   a p p l i c a t i o n s   e x e c u t e d   o n   t h e   s a m e   p h y s i c a l   o r   v i r t u a l   m a c h i n e   a r e   a n a l o g o u s   t o   c l o u d   a p p l i c a t i o n s   e x e c u t e d   o n   t h e   s a m e   l o g i c a l   h o s t .   A s   w e l l   a s   a p p l i c a t i o n   c o n t a i n e r s ,   a   P o d   c a n   c o n t a i n   i n i t   c o n t a i n e r s   t h a t   r u n   d u r i n g   P o d   s t a r t u p .   Y o u   c a n   a l s o   i n j e c t   e p h e m e r a l   c o n t a i n e r s   f o r   d e b u g g i n g   a   r u n n i n g   P o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11792"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   s h a r e d   c o n t e x t   o f   a   P o d   i s   a   s e t   o f   L i n u x   n a m e s p a c e s ,   c g r o u p s ,   a n d   p o t e n t i a l l y   o t h e r   f a c e t s   o f   i s o l a t i o n   -   t h e   s a m e   t h i n g s   t h a t   i s o l a t e   a   c o n t a i n e r .   W i t h i n   a   P o d ' s   c o n t e x t ,   t h e   i n d i v i d u a l   a p p l i c a t i o n s   m a y   h a v e   f u r t h e r   s u b - i s o l a t i o n s   a p p l i e d .   A   P o d   i s   s i m i l a r   t o   a   s e t   o f   c o n t a i n e r s   w i t h   s h a r e d   n a m e s p a c e s   a n d   s h a r e d   f i l e s y s t e m   v o l u m e s .   P o d s   i n   a   K u b e r n e t e s   c l u s t e r   a r e   u s e d   i n   t w o   m a i n   w a y s :   P o d s   t h a t   r u n   a   s i n g l e   c o n t a i n e r .   T h e   \" o n e - c o n t a i n e r - p e r - P o d \"   m o d e l   i s   t h e   m o s t   c o m m o n   K u b e r n e t e s   u s e   c a s e ;   i n   t h i s   c a s e ,   y o u   c a n   t h i n k   o f   a   P o d   a s   a   w r a p p e r   a r o u n d   a   s i n g l e   c o n t a i n e r ;   K u b e r n e t e s   m a n a g e s   P o d s   r a t h e r   t h a n   m a n a g i n g   t h e   c o n t a i n e r s   d i r e c t l y . P o d s   t h a t   r u n   m u l t i p l e   c o n t a i n e r s   t h a t   n e e d   t o   w o r k   t o g e t h e r .   A   P o d   c a n   e n c a p s u l a t e   a n   a p p l i c a t i o n   c o m p o s e d   o f   m u l t i p l e   c o - l o c a t e d   c o n t a i n e r s   t h a t   a r e   t i g h t l y   c o u p l e d   a n d   n e e d   t o   s h a r e   r e s o u r c e s .   T h e s e   c o - l o c a t e d   c o n t a i n e r s   f o r m   a   s i n g l e   c o h e s i v e   u n i t . G r o u p i n g   m u l t i p l e   c o - l o c a t e d   a n d   c o - m a n a g e d   c o n t a i n e r s   i n   a   s i n g l e   P o d   i s   a   r e l a t i v e l y   a d v a n c e d   u s ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11793"
  },
  {
    "question": "What is Using Pods?",
    "answer": "T h e   f o l l o w i n g   i s   a n   e x a m p l e   o f   a   P o d   w h i c h   c o n s i s t s   o f   a   c o n t a i n e r   r u n n i n g   t h e   i m a g e   n g i n x : 1 . 1 4 . 2 .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0   T o   c r e a t e   t h e   P o d   s h o w n   a b o v e ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s i m p l e - p o d . y a m l   P o d s   a r e   g e n e r a l l y   n o t   c r e a t e d   d i r e c t l y   a n d   a r e   c r e a t e d   u s i n g   w o r k l o a d   r e s o u r c e s .   S e e   W o r k i n g   w i t h   P o d s   f o r   m o r e   i n f o r m a t i o n   o n   h o w   P o d s   a r e   u s e d   w i t h   w o r k l o a d   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11794"
  },
  {
    "question": "What is Workload resources for managing pods?",
    "answer": "U s u a l l y   y o u   d o n ' t   n e e d   t o   c r e a t e   P o d s   d i r e c t l y ,   e v e n   s i n g l e t o n   P o d s .   I n s t e a d ,   c r e a t e   t h e m   u s i n g   w o r k l o a d   r e s o u r c e s   s u c h   a s   D e p l o y m e n t   o r   J o b .   I f   y o u r   P o d s   n e e d   t o   t r a c k   s t a t e ,   c o n s i d e r   t h e   S t a t e f u l S e t   r e s o u r c e .   E a c h   P o d   i s   m e a n t   t o   r u n   a   s i n g l e   i n s t a n c e   o f   a   g i v e n   a p p l i c a t i o n .   I f   y o u   w a n t   t o   s c a l e   y o u r   a p p l i c a t i o n   h o r i z o n t a l l y   ( t o   p r o v i d e   m o r e   o v e r a l l   r e s o u r c e s   b y   r u n n i n g   m o r e   i n s t a n c e s ) ,   y o u   s h o u l d   u s e   m u l t i p l e   P o d s ,   o n e   f o r   e a c h   i n s t a n c e .   I n   K u b e r n e t e s ,   t h i s   i s   t y p i c a l l y   r e f e r r e d   t o   a s   r e p l i c a t i o n .   R e p l i c a t e d   P o d s   a r e   u s u a l l y   c r e a t e d   a n d   m a n a g e d   a s   a   g r o u p   b y   a   w o r k l o a d   r e s o u r c e   a n d   i t s   c o n t r o l l e r .   S e e   P o d s   a n d   c o n t r o l l e r s   f o r   m o r e   i n f o r m a t i o n   o n   h o w   K u b e r n e t e s   u s e s   w o r k l o a d   r e s o u r c e s ,   a n d   t h e i r   c o n t r o l l e r s ,   t o   i m p l e m e n t   a p p l i c a t i o n   s c a l i n g   a n d   a u t o - h e a l i n g .   P o d s   n a t i v e l y   p r o v i d e   t w o   k i n d s   o f   s h a r e d   r e s o u r c e s   f o r   t h e i r   c o n s t i t u e n t   c o n t a i n e r s :   n e t w o r k i n g   a n d   s t o r a g e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11795"
  },
  {
    "question": "What is Working with Pods?",
    "answer": "Y o u ' l l   r a r e l y   c r e a t e   i n d i v i d u a l   P o d s   d i r e c t l y   i n   K u b e r n e t e s — e v e n   s i n g l e t o n   P o d s .   T h i s   i s   b e c a u s e   P o d s   a r e   d e s i g n e d   a s   r e l a t i v e l y   e p h e m e r a l ,   d i s p o s a b l e   e n t i t i e s .   W h e n   a   P o d   g e t s   c r e a t e d   ( d i r e c t l y   b y   y o u ,   o r   i n d i r e c t l y   b y   a   c o n t r o l l e r ) ,   t h e   n e w   P o d   i s   s c h e d u l e d   t o   r u n   o n   a   N o d e   i n   y o u r   c l u s t e r .   T h e   P o d   r e m a i n s   o n   t h a t   n o d e   u n t i l   t h e   P o d   f i n i s h e s   e x e c u t i o n ,   t h e   P o d   o b j e c t   i s   d e l e t e d ,   t h e   P o d   i s   e v i c t e d   f o r   l a c k   o f   r e s o u r c e s ,   o r   t h e   n o d e   f a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11796"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   n a m e   o f   a   P o d   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   v a l u e ,   b u t   t h i s   c a n   p r o d u c e   u n e x p e c t e d   r e s u l t s   f o r   t h e   P o d   h o s t n a m e .   F o r   b e s t   c o m p a t i b i l i t y ,   t h e   n a m e   s h o u l d   f o l l o w   t h e   m o r e   r e s t r i c t i v e   r u l e s   f o r   a   D N S   l a b e l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11797"
  },
  {
    "question": "What is Pod OS?",
    "answer": "Y o u   s h o u l d   s e t   t h e   . s p e c . o s . n a m e   f i e l d   t o   e i t h e r   w i n d o w s   o r   l i n u x   t o   i n d i c a t e   t h e   O S   o n   w h i c h   y o u   w a n t   t h e   p o d   t o   r u n .   T h e s e   t w o   a r e   t h e   o n l y   o p e r a t i n g   s y s t e m s   s u p p o r t e d   f o r   n o w   b y   K u b e r n e t e s .   I n   t h e   f u t u r e ,   t h i s   l i s t   m a y   b e   e x p a n d e d .   I n   K u b e r n e t e s   v 1 . 3 4 ,   t h e   v a l u e   o f   . s p e c . o s . n a m e   d o e s   n o t   a f f e c t   h o w   t h e   k u b e - s c h e d u l e r   p i c k s   a   n o d e   f o r   t h e   P o d   t o   r u n   o n .   I n   a n y   c l u s t e r   w h e r e   t h e r e   i s   m o r e   t h a n   o n e   o p e r a t i n g   s y s t e m   f o r   r u n n i n g   n o d e s ,   y o u   s h o u l d   s e t   t h e   k u b e r n e t e s . i o / o s   l a b e l   c o r r e c t l y   o n   e a c h   n o d e ,   a n d   d e f i n e   p o d s   w i t h   a   n o d e S e l e c t o r   b a s e d   o n   t h e   o p e r a t i n g   s y s t e m   l a b e l .   T h e   k u b e - s c h e d u l e r   a s s i g n s   y o u r   p o d   t o   a   n o d e   b a s e d   o n   o t h e r   c r i t e r i a   a n d   m a y   o r   m a y   n o t   s u c c e e d   i n   p i c k i n g   a   s u i t a b l e   n o d e   p l a c e m e n t   w h e r e   t h e   n o d e   O S   i s   r i g h t   f o r   t h e   c o n t a i n e r s   i n   t h a t   P o d .   T h e   P o d   s e c u r i t y   s t a n d a r d s   a l s o   u s e   t h i s   f i e l d   t o   a v o i d   e n f o r c i n g   p o l i c i e s   t h a t   a r e n ' t   r e l e v a n t   t o   t h e   o p e r a t i n g   s y s t e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11798"
  },
  {
    "question": "What is Pods and controllers?",
    "answer": "Y o u   c a n   u s e   w o r k l o a d   r e s o u r c e s   t o   c r e a t e   a n d   m a n a g e   m u l t i p l e   P o d s   f o r   y o u .   A   c o n t r o l l e r   f o r   t h e   r e s o u r c e   h a n d l e s   r e p l i c a t i o n   a n d   r o l l o u t   a n d   a u t o m a t i c   h e a l i n g   i n   c a s e   o f   P o d   f a i l u r e .   F o r   e x a m p l e ,   i f   a   N o d e   f a i l s ,   a   c o n t r o l l e r   n o t i c e s   t h a t   P o d s   o n   t h a t   N o d e   h a v e   s t o p p e d   w o r k i n g   a n d   c r e a t e s   a   r e p l a c e m e n t   P o d .   T h e   s c h e d u l e r   p l a c e s   t h e   r e p l a c e m e n t   P o d   o n t o   a   h e a l t h y   N o d e .   H e r e   a r e   s o m e   e x a m p l e s   o f   w o r k l o a d   r e s o u r c e s   t h a t   m a n a g e   o n e   o r   m o r e   P o d s :   D e p l o y m e n t S t a t e f u l S e t D a e m o n S e t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11799"
  },
  {
    "question": "What is Pod templates?",
    "answer": "C o n t r o l l e r s   f o r   w o r k l o a d   r e s o u r c e s   c r e a t e   P o d s   f r o m   a   p o d   t e m p l a t e   a n d   m a n a g e   t h o s e   P o d s   o n   y o u r   b e h a l f .   P o d T e m p l a t e s   a r e   s p e c i f i c a t i o n s   f o r   c r e a t i n g   P o d s ,   a n d   a r e   i n c l u d e d   i n   w o r k l o a d   r e s o u r c e s   s u c h   a s   D e p l o y m e n t s ,   J o b s ,   a n d   D a e m o n S e t s .   E a c h   c o n t r o l l e r   f o r   a   w o r k l o a d   r e s o u r c e   u s e s   t h e   P o d T e m p l a t e   i n s i d e   t h e   w o r k l o a d   o b j e c t   t o   m a k e   a c t u a l   P o d s .   T h e   P o d T e m p l a t e   i s   p a r t   o f   t h e   d e s i r e d   s t a t e   o f   w h a t e v e r   w o r k l o a d   r e s o u r c e   y o u   u s e d   t o   r u n   y o u r   a p p .   W h e n   y o u   c r e a t e   a   P o d ,   y o u   c a n   i n c l u d e   e n v i r o n m e n t   v a r i a b l e s   i n   t h e   P o d   t e m p l a t e   f o r   t h e   c o n t a i n e r s   t h a t   r u n   i n   t h e   P o d .   T h e   s a m p l e   b e l o w   i s   a   m a n i f e s t   f o r   a   s i m p l e   J o b   w i t h   a   t e m p l a t e   t h a t   s t a r t s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   i n   t h a t   P o d   p r i n t s   a   m e s s a g e   t h e n   p a u s e s .   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   h e l l o   s p e c :   t e m p l a t e :   #   T h i s   i s   t h e   p o d   t e m p l a t e   s p e c :   c o n t a i n e r s :   -   n a m e :   h e l l o   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   ' e c h o   \" H e l l o ,   K u b e r n e t e s ! \"   & &   s l e e p   3 6 0 0 ' ]   r e s t a r t P o l i c y :   O n F a i l u r e   #   T h e   p o d   t e m p l a t e   e n d s   h e r e   M o d i f y i n g   t h e   p o d ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11800"
  },
  {
    "question": "What is Pod update and replacement?",
    "answer": "A s   m e n t i o n e d   i n   t h e   p r e v i o u s   s e c t i o n ,   w h e n   t h e   P o d   t e m p l a t e   f o r   a   w o r k l o a d   r e s o u r c e   i s   c h a n g e d ,   t h e   c o n t r o l l e r   c r e a t e s   n e w   P o d s   b a s e d   o n   t h e   u p d a t e d   t e m p l a t e   i n s t e a d   o f   u p d a t i n g   o r   p a t c h i n g   t h e   e x i s t i n g   P o d s .   K u b e r n e t e s   d o e s n ' t   p r e v e n t   y o u   f r o m   m a n a g i n g   P o d s   d i r e c t l y .   I t   i s   p o s s i b l e   t o   u p d a t e   s o m e   f i e l d s   o f   a   r u n n i n g   P o d ,   i n   p l a c e .   H o w e v e r ,   P o d   u p d a t e   o p e r a t i o n s   l i k e   p a t c h ,   a n d   r e p l a c e   h a v e   s o m e   l i m i t a t i o n s :   M o s t   o f   t h e   m e t a d a t a   a b o u t   a   P o d   i s   i m m u t a b l e .   F o r   e x a m p l e ,   y o u   c a n n o t   c h a n g e   t h e   n a m e s p a c e ,   n a m e ,   u i d ,   o r   c r e a t i o n T i m e s t a m p   f i e l d s . I f   t h e   m e t a d a t a . d e l e t i o n T i m e s t a m p   i s   s e t ,   n o   n e w   e n t r y   c a n   b e   a d d e d   t o   t h e   m e t a d a t a . f i n a l i z e r s   l i s t . P o d   u p d a t e s   m a y   n o t   c h a n g e   f i e l d s   o t h e r   t h a n   s p e c . c o n t a i n e r s [ * ] . i m a g e ,   s p e c . i n i t C o n t a i n e r s [ * ] . i m a g e ,   s p e c . a c t i v e D e a d l i n e S e c o n d s ,   s p e c . t e r m i n a t i o n G r a c e P e r i o d S e c o n d s ,   s p e c . t o l e r a t i o n s   o r   s p e c . s c h e d u l i n g G a t e s .   F o r   s p e c . t o l e r a t i o n s ,   y o u   c a n   o n l y   a d d   n e w   e n t r i e s . W h e n   u p d a t i n g   t h e   s p e c . a c t i v e D e a d l i n e S e c o n d s   f i e l d ,   t w o   t y p e s   o f   u p d a t e s   a r e   a l l o w e d : s e t t i n g   t h e   u ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11801"
  },
  {
    "question": "What is Pod subresources?",
    "answer": "T h e   a b o v e   u p d a t e   r u l e s   a p p l y   t o   r e g u l a r   p o d   u p d a t e s ,   b u t   o t h e r   p o d   f i e l d s   c a n   b e   u p d a t e d   t h r o u g h   s u b r e s o u r c e s .   R e s i z e :   T h e   r e s i z e   s u b r e s o u r c e   a l l o w s   c o n t a i n e r   r e s o u r c e s   ( s p e c . c o n t a i n e r s [ * ] . r e s o u r c e s )   t o   b e   u p d a t e d .   S e e   R e s i z e   C o n t a i n e r   R e s o u r c e s   f o r   m o r e   d e t a i l s . E p h e m e r a l   C o n t a i n e r s :   T h e   e p h e m e r a l C o n t a i n e r s   s u b r e s o u r c e   a l l o w s   e p h e m e r a l   c o n t a i n e r s   t o   b e   a d d e d   t o   a   P o d .   S e e   E p h e m e r a l   C o n t a i n e r s   f o r   m o r e   d e t a i l s . S t a t u s :   T h e   s t a t u s   s u b r e s o u r c e   a l l o w s   t h e   p o d   s t a t u s   t o   b e   u p d a t e d .   T h i s   i s   t y p i c a l l y   o n l y   u s e d   b y   t h e   K u b e l e t   a n d   o t h e r   s y s t e m   c o n t r o l l e r s . B i n d i n g :   T h e   b i n d i n g   s u b r e s o u r c e   a l l o w s   s e t t i n g   t h e   p o d ' s   s p e c . n o d e N a m e   v i a   a   B i n d i n g   r e q u e s t .   T h i s   i s   t y p i c a l l y   o n l y   u s e d   b y   t h e   s c h e d u l e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11802"
  },
  {
    "question": "What is Pod generation?",
    "answer": "T h e   m e t a d a t a . g e n e r a t i o n   f i e l d   i s   u n i q u e .   I t   w i l l   b e   a u t o m a t i c a l l y   s e t   b y   t h e   s y s t e m   s u c h   t h a t   n e w   p o d s   h a v e   a   m e t a d a t a . g e n e r a t i o n   o f   1 ,   a n d   e v e r y   u p d a t e   t o   m u t a b l e   f i e l d s   i n   t h e   p o d ' s   s p e c   w i l l   i n c r e m e n t   t h e   m e t a d a t a . g e n e r a t i o n   b y   1 .   o b s e r v e d G e n e r a t i o n   i s   a   f i e l d   t h a t   i s   c a p t u r e d   i n   t h e   s t a t u s   s e c t i o n   o f   t h e   P o d   o b j e c t .   I f   t h e   f e a t u r e   g a t e   P o d O b s e r v e d G e n e r a t i o n T r a c k i n g   i s   s e t ,   t h e   K u b e l e t   w i l l   s e t   s t a t u s . o b s e r v e d G e n e r a t i o n   t o   t r a c k   t h e   p o d   s t a t e   t o   t h e   c u r r e n t   p o d   s t a t u s .   T h e   p o d ' s   s t a t u s . o b s e r v e d G e n e r a t i o n   w i l l   r e f l e c t   t h e   m e t a d a t a . g e n e r a t i o n   o f   t h e   p o d   a t   t h e   p o i n t   t h a t   t h e   p o d   s t a t u s   i s   b e i n g   r e p o r t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11803"
  },
  {
    "question": "What is Note:?",
    "answer": "D i f f e r e n t   s t a t u s   f i e l d s   m a y   e i t h e r   b e   a s s o c i a t e d   w i t h   t h e   m e t a d a t a . g e n e r a t i o n   o f   t h e   c u r r e n t   s y n c   l o o p ,   o r   w i t h   t h e   m e t a d a t a . g e n e r a t i o n   o f   t h e   p r e v i o u s   s y n c   l o o p .   T h e   k e y   d i s t i n c t i o n   i s   w h e t h e r   a   c h a n g e   i n   t h e   s p e c   i s   r e f l e c t e d   d i r e c t l y   i n   t h e   s t a t u s   o r   i s   a n   i n d i r e c t   r e s u l t   o f   a   r u n n i n g   p r o c e s s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11804"
  },
  {
    "question": "What is Direct Status Updates?",
    "answer": "F o r   s t a t u s   f i e l d s   w h e r e   t h e   a l l o c a t e d   s p e c   i s   d i r e c t l y   r e f l e c t e d ,   t h e   o b s e r v e d G e n e r a t i o n   w i l l   b e   a s s o c i a t e d   w i t h   t h e   c u r r e n t   m e t a d a t a . g e n e r a t i o n   ( G e n e r a t i o n   N ) .   T h i s   b e h a v i o r   a p p l i e s   t o :   R e s i z e   S t a t u s :   T h e   s t a t u s   o f   a   r e s o u r c e   r e s i z e   o p e r a t i o n . A l l o c a t e d   R e s o u r c e s :   T h e   r e s o u r c e s   a l l o c a t e d   t o   t h e   P o d   a f t e r   a   r e s i z e . E p h e m e r a l   C o n t a i n e r s :   W h e n   a   n e w   e p h e m e r a l   c o n t a i n e r   i s   a d d e d ,   a n d   i t   i s   i n   W a i t i n g   s t a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11805"
  },
  {
    "question": "What is Indirect Status Updates?",
    "answer": "F o r   s t a t u s   f i e l d s   t h a t   a r e   a n   i n d i r e c t   r e s u l t   o f   r u n n i n g   t h e   s p e c ,   t h e   o b s e r v e d G e n e r a t i o n   w i l l   b e   a s s o c i a t e d   w i t h   t h e   m e t a d a t a . g e n e r a t i o n   o f   t h e   p r e v i o u s   s y n c   l o o p   ( G e n e r a t i o n   N - 1 ) .   T h i s   b e h a v i o r   a p p l i e s   t o :   C o n t a i n e r   I m a g e :   T h e   C o n t a i n e r S t a t u s . I m a g e I D   r e f l e c t s   t h e   i m a g e   f r o m   t h e   p r e v i o u s   g e n e r a t i o n   u n t i l   t h e   n e w   i m a g e   i s   p u l l e d   a n d   t h e   c o n t a i n e r   i s   u p d a t e d . A c t u a l   R e s o u r c e s :   D u r i n g   a n   i n - p r o g r e s s   r e s i z e ,   t h e   a c t u a l   r e s o u r c e s   i n   u s e   s t i l l   b e l o n g   t o   t h e   p r e v i o u s   g e n e r a t i o n ' s   r e q u e s t . C o n t a i n e r   s t a t e :   D u r i n g   a n   i n - p r o g r e s s   r e s i z e ,   w i t h   r e q u i r e   r e s t a r t   p o l i c y   r e f l e c t s   t h e   p r e v i o u s   g e n e r a t i o n ' s   r e q u e s t . a c t i v e D e a d l i n e S e c o n d s   &   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   &   d e l e t i o n T i m e s t a m p :   T h e   e f f e c t s   o f   t h e s e   f i e l d s   o n   t h e   P o d ' s   s t a t u s   a r e   a   r e s u l t   o f   t h e   p r e v i o u s l y   o b s e r v e d   s p e c i f i c a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11806"
  },
  {
    "question": "What is Resource sharing and communication?",
    "answer": "P o d s   e n a b l e   d a t a   s h a r i n g   a n d   c o m m u n i c a t i o n   a m o n g   t h e i r   c o n s t i t u e n t   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11807"
  },
  {
    "question": "What is Storage in Pods?",
    "answer": "A   P o d   c a n   s p e c i f y   a   s e t   o f   s h a r e d   s t o r a g e   v o l u m e s .   A l l   c o n t a i n e r s   i n   t h e   P o d   c a n   a c c e s s   t h e   s h a r e d   v o l u m e s ,   a l l o w i n g   t h o s e   c o n t a i n e r s   t o   s h a r e   d a t a .   V o l u m e s   a l s o   a l l o w   p e r s i s t e n t   d a t a   i n   a   P o d   t o   s u r v i v e   i n   c a s e   o n e   o f   t h e   c o n t a i n e r s   w i t h i n   n e e d s   t o   b e   r e s t a r t e d .   S e e   S t o r a g e   f o r   m o r e   i n f o r m a t i o n   o n   h o w   K u b e r n e t e s   i m p l e m e n t s   s h a r e d   s t o r a g e   a n d   m a k e s   i t   a v a i l a b l e   t o   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11808"
  },
  {
    "question": "What is Pod networking?",
    "answer": "E a c h   P o d   i s   a s s i g n e d   a   u n i q u e   I P   a d d r e s s   f o r   e a c h   a d d r e s s   f a m i l y .   E v e r y   c o n t a i n e r   i n   a   P o d   s h a r e s   t h e   n e t w o r k   n a m e s p a c e ,   i n c l u d i n g   t h e   I P   a d d r e s s   a n d   n e t w o r k   p o r t s .   I n s i d e   a   P o d   ( a n d   o n l y   t h e n ) ,   t h e   c o n t a i n e r s   t h a t   b e l o n g   t o   t h e   P o d   c a n   c o m m u n i c a t e   w i t h   o n e   a n o t h e r   u s i n g   l o c a l h o s t .   W h e n   c o n t a i n e r s   i n   a   P o d   c o m m u n i c a t e   w i t h   e n t i t i e s   o u t s i d e   t h e   P o d ,   t h e y   m u s t   c o o r d i n a t e   h o w   t h e y   u s e   t h e   s h a r e d   n e t w o r k   r e s o u r c e s   ( s u c h   a s   p o r t s ) .   W i t h i n   a   P o d ,   c o n t a i n e r s   s h a r e   a n   I P   a d d r e s s   a n d   p o r t   s p a c e ,   a n d   c a n   f i n d   e a c h   o t h e r   v i a   l o c a l h o s t .   T h e   c o n t a i n e r s   i n   a   P o d   c a n   a l s o   c o m m u n i c a t e   w i t h   e a c h   o t h e r   u s i n g   s t a n d a r d   i n t e r - p r o c e s s   c o m m u n i c a t i o n s   l i k e   S y s t e m V   s e m a p h o r e s   o r   P O S I X   s h a r e d   m e m o r y .   C o n t a i n e r s   i n   d i f f e r e n t   P o d s   h a v e   d i s t i n c t   I P   a d d r e s s e s   a n d   c a n   n o t   c o m m u n i c a t e   b y   O S - l e v e l   I P C   w i t h o u t   s p e c i a l   c o n f i g u r a t i o n .   C o n t a i n e r s   t h a t   w a n t   t o   i n t e r a c t   w i t h   a   c o n t a i n e r   r u n n i n g   i n   a   d i f f e r e n t   P o d   c a n   u s e   I P   n e t w o r k i n g   t o   c o m m u n i c a t e .   C o n t a i n e r s   w i t h i n   t h e   P o d   s e e   t h e   s y s t e m   h o s t n a m e   a s   b e i n g   t h e   s a m e   a s   t h e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11809"
  },
  {
    "question": "What is Pod security settings?",
    "answer": "T o   s e t   s e c u r i t y   c o n s t r a i n t s   o n   P o d s   a n d   c o n t a i n e r s ,   y o u   u s e   t h e   s e c u r i t y C o n t e x t   f i e l d   i n   t h e   P o d   s p e c i f i c a t i o n .   T h i s   f i e l d   g i v e s   y o u   g r a n u l a r   c o n t r o l   o v e r   w h a t   a   P o d   o r   i n d i v i d u a l   c o n t a i n e r s   c a n   d o .   F o r   e x a m p l e :   D r o p   s p e c i f i c   L i n u x   c a p a b i l i t i e s   t o   a v o i d   t h e   i m p a c t   o f   a   C V E . F o r c e   a l l   p r o c e s s e s   i n   t h e   P o d   t o   r u n   a s   a   n o n - r o o t   u s e r   o r   a s   a   s p e c i f i c   u s e r   o r   g r o u p   I D . S e t   a   s p e c i f i c   s e c c o m p   p r o f i l e . S e t   W i n d o w s   s e c u r i t y   o p t i o n s ,   s u c h   a s   w h e t h e r   c o n t a i n e r s   r u n   a s   H o s t P r o c e s s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11810"
  },
  {
    "question": "What is Caution:?",
    "answer": "T o   l e a r n   a b o u t   k e r n e l - l e v e l   s e c u r i t y   c o n s t r a i n t s   t h a t   y o u   c a n   u s e ,   s e e   L i n u x   k e r n e l   s e c u r i t y   c o n s t r a i n t s   f o r   P o d s   a n d   c o n t a i n e r s . T o   l e a r n   m o r e   a b o u t   t h e   P o d   s e c u r i t y   c o n t e x t ,   s e e   C o n f i g u r e   a   S e c u r i t y   C o n t e x t   f o r   a   P o d   o r   C o n t a i n e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11811"
  },
  {
    "question": "What is Static Pods?",
    "answer": "S t a t i c   P o d s   a r e   m a n a g e d   d i r e c t l y   b y   t h e   k u b e l e t   d a e m o n   o n   a   s p e c i f i c   n o d e ,   w i t h o u t   t h e   A P I   s e r v e r   o b s e r v i n g   t h e m .   W h e r e a s   m o s t   P o d s   a r e   m a n a g e d   b y   t h e   c o n t r o l   p l a n e   ( f o r   e x a m p l e ,   a   D e p l o y m e n t ) ,   f o r   s t a t i c   P o d s ,   t h e   k u b e l e t   d i r e c t l y   s u p e r v i s e s   e a c h   s t a t i c   P o d   ( a n d   r e s t a r t s   i t   i f   i t   f a i l s ) .   S t a t i c   P o d s   a r e   a l w a y s   b o u n d   t o   o n e   K u b e l e t   o n   a   s p e c i f i c   n o d e .   T h e   m a i n   u s e   f o r   s t a t i c   P o d s   i s   t o   r u n   a   s e l f - h o s t e d   c o n t r o l   p l a n e :   i n   o t h e r   w o r d s ,   u s i n g   t h e   k u b e l e t   t o   s u p e r v i s e   t h e   i n d i v i d u a l   c o n t r o l   p l a n e   c o m p o n e n t s .   T h e   k u b e l e t   a u t o m a t i c a l l y   t r i e s   t o   c r e a t e   a   m i r r o r   P o d   o n   t h e   K u b e r n e t e s   A P I   s e r v e r   f o r   e a c h   s t a t i c   P o d .   T h i s   m e a n s   t h a t   t h e   P o d s   r u n n i n g   o n   a   n o d e   a r e   v i s i b l e   o n   t h e   A P I   s e r v e r ,   b u t   c a n n o t   b e   c o n t r o l l e d   f r o m   t h e r e .   S e e   t h e   g u i d e   C r e a t e   s t a t i c   P o d s   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11812"
  },
  {
    "question": "What is Pods with multiple containers?",
    "answer": "P o d s   a r e   d e s i g n e d   t o   s u p p o r t   m u l t i p l e   c o o p e r a t i n g   p r o c e s s e s   ( a s   c o n t a i n e r s )   t h a t   f o r m   a   c o h e s i v e   u n i t   o f   s e r v i c e .   T h e   c o n t a i n e r s   i n   a   P o d   a r e   a u t o m a t i c a l l y   c o - l o c a t e d   a n d   c o - s c h e d u l e d   o n   t h e   s a m e   p h y s i c a l   o r   v i r t u a l   m a c h i n e   i n   t h e   c l u s t e r .   T h e   c o n t a i n e r s   c a n   s h a r e   r e s o u r c e s   a n d   d e p e n d e n c i e s ,   c o m m u n i c a t e   w i t h   o n e   a n o t h e r ,   a n d   c o o r d i n a t e   w h e n   a n d   h o w   t h e y   a r e   t e r m i n a t e d .   P o d s   i n   a   K u b e r n e t e s   c l u s t e r   a r e   u s e d   i n   t w o   m a i n   w a y s :   P o d s   t h a t   r u n   a   s i n g l e   c o n t a i n e r .   T h e   \" o n e - c o n t a i n e r - p e r - P o d \"   m o d e l   i s   t h e   m o s t   c o m m o n   K u b e r n e t e s   u s e   c a s e ;   i n   t h i s   c a s e ,   y o u   c a n   t h i n k   o f   a   P o d   a s   a   w r a p p e r   a r o u n d   a   s i n g l e   c o n t a i n e r ;   K u b e r n e t e s   m a n a g e s   P o d s   r a t h e r   t h a n   m a n a g i n g   t h e   c o n t a i n e r s   d i r e c t l y . P o d s   t h a t   r u n   m u l t i p l e   c o n t a i n e r s   t h a t   n e e d   t o   w o r k   t o g e t h e r .   A   P o d   c a n   e n c a p s u l a t e   a n   a p p l i c a t i o n   c o m p o s e d   o f   m u l t i p l e   c o - l o c a t e d   c o n t a i n e r s   t h a t   a r e   t i g h t l y   c o u p l e d   a n d   n e e d   t o   s h a r e   r e s o u r c e s .   T h e s e   c o - l o c a t e d   c o n t a i n e r s   f o r m   a   s i n g l e   c o h e s i v e   u n i t   o f   s e r v i c e — f o r   e x a m p l e ,   o n e   c o n t a i n e r   s e r v i n g   d a t a   s t o r e d   i n   a   s h a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11813"
  },
  {
    "question": "What is Container probes?",
    "answer": "A   p r o b e   i s   a   d i a g n o s t i c   p e r f o r m e d   p e r i o d i c a l l y   b y   t h e   k u b e l e t   o n   a   c o n t a i n e r .   T o   p e r f o r m   a   d i a g n o s t i c ,   t h e   k u b e l e t   c a n   i n v o k e   d i f f e r e n t   a c t i o n s :   E x e c A c t i o n   ( p e r f o r m e d   w i t h   t h e   h e l p   o f   t h e   c o n t a i n e r   r u n t i m e ) T C P S o c k e t A c t i o n   ( c h e c k e d   d i r e c t l y   b y   t h e   k u b e l e t ) H T T P G e t A c t i o n   ( c h e c k e d   d i r e c t l y   b y   t h e   k u b e l e t )   Y o u   c a n   r e a d   m o r e   a b o u t   p r o b e s   i n   t h e   P o d   L i f e c y c l e   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11814"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   t h e   l i f e c y c l e   o f   a   P o d . L e a r n   a b o u t   R u n t i m e C l a s s   a n d   h o w   y o u   c a n   u s e   i t   t o   c o n f i g u r e   d i f f e r e n t   P o d s   w i t h   d i f f e r e n t   c o n t a i n e r   r u n t i m e   c o n f i g u r a t i o n s . R e a d   a b o u t   P o d D i s r u p t i o n B u d g e t   a n d   h o w   y o u   c a n   u s e   i t   t o   m a n a g e   a p p l i c a t i o n   a v a i l a b i l i t y   d u r i n g   d i s r u p t i o n s . P o d   i s   a   t o p - l e v e l   r e s o u r c e   i n   t h e   K u b e r n e t e s   R E S T   A P I .   T h e   P o d   o b j e c t   d e f i n i t i o n   d e s c r i b e s   t h e   o b j e c t   i n   d e t a i l . T h e   D i s t r i b u t e d   S y s t e m   T o o l k i t :   P a t t e r n s   f o r   C o m p o s i t e   C o n t a i n e r s   e x p l a i n s   c o m m o n   l a y o u t s   f o r   P o d s   w i t h   m o r e   t h a n   o n e   c o n t a i n e r . R e a d   a b o u t   P o d   t o p o l o g y   s p r e a d   c o n s t r a i n t s   T o   u n d e r s t a n d   t h e   c o n t e x t   f o r   w h y   K u b e r n e t e s   w r a p s   a   c o m m o n   P o d   A P I   i n   o t h e r   r e s o u r c e s   ( s u c h   a s   S t a t e f u l S e t s   o r   D e p l o y m e n t s ) ,   y o u   c a n   r e a d   a b o u t   t h e   p r i o r   a r t ,   i n c l u d i n g :   A u r o r a B o r g M a r a t h o n O m e g a T u p p e r w a r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11815"
  },
  {
    "question": "What is 4.1.1 - Pod Lifecycle?",
    "answer": "T h i s   p a g e   d e s c r i b e s   t h e   l i f e c y c l e   o f   a   P o d .   P o d s   f o l l o w   a   d e f i n e d   l i f e c y c l e ,   s t a r t i n g   i n   t h e   P e n d i n g   p h a s e ,   m o v i n g   t h r o u g h   R u n n i n g   i f   a t   l e a s t   o n e   o f   i t s   p r i m a r y   c o n t a i n e r s   s t a r t s   O K ,   a n d   t h e n   t h r o u g h   e i t h e r   t h e   S u c c e e d e d   o r   F a i l e d   p h a s e s   d e p e n d i n g   o n   w h e t h e r   a n y   c o n t a i n e r   i n   t h e   P o d   t e r m i n a t e d   i n   f a i l u r e .   L i k e   i n d i v i d u a l   a p p l i c a t i o n   c o n t a i n e r s ,   P o d s   a r e   c o n s i d e r e d   t o   b e   r e l a t i v e l y   e p h e m e r a l   ( r a t h e r   t h a n   d u r a b l e )   e n t i t i e s .   P o d s   a r e   c r e a t e d ,   a s s i g n e d   a   u n i q u e   I D   ( U I D ) ,   a n d   s c h e d u l e d   t o   r u n   o n   n o d e s   w h e r e   t h e y   r e m a i n   u n t i l   t e r m i n a t i o n   ( a c c o r d i n g   t o   r e s t a r t   p o l i c y )   o r   d e l e t i o n .   I f   a   N o d e   d i e s ,   t h e   P o d s   r u n n i n g   o n   ( o r   s c h e d u l e d   t o   r u n   o n )   t h a t   n o d e   a r e   m a r k e d   f o r   d e l e t i o n .   T h e   c o n t r o l   p l a n e   m a r k s   t h e   P o d s   f o r   r e m o v a l   a f t e r   a   t i m e o u t   p e r i o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11816"
  },
  {
    "question": "What is Pod lifetime?",
    "answer": "W h i l s t   a   P o d   i s   r u n n i n g ,   t h e   k u b e l e t   i s   a b l e   t o   r e s t a r t   c o n t a i n e r s   t o   h a n d l e   s o m e   k i n d   o f   f a u l t s .   W i t h i n   a   P o d ,   K u b e r n e t e s   t r a c k s   d i f f e r e n t   c o n t a i n e r   s t a t e s   a n d   d e t e r m i n e s   w h a t   a c t i o n   t o   t a k e   t o   m a k e   t h e   P o d   h e a l t h y   a g a i n .   I n   t h e   K u b e r n e t e s   A P I ,   P o d s   h a v e   b o t h   a   s p e c i f i c a t i o n   a n d   a n   a c t u a l   s t a t u s .   T h e   s t a t u s   f o r   a   P o d   o b j e c t   c o n s i s t s   o f   a   s e t   o f   P o d   c o n d i t i o n s .   Y o u   c a n   a l s o   i n j e c t   c u s t o m   r e a d i n e s s   i n f o r m a t i o n   i n t o   t h e   c o n d i t i o n   d a t a   f o r   a   P o d ,   i f   t h a t   i s   u s e f u l   t o   y o u r   a p p l i c a t i o n .   P o d s   a r e   o n l y   s c h e d u l e d   o n c e   i n   t h e i r   l i f e t i m e ;   a s s i g n i n g   a   P o d   t o   a   s p e c i f i c   n o d e   i s   c a l l e d   b i n d i n g ,   a n d   t h e   p r o c e s s   o f   s e l e c t i n g   w h i c h   n o d e   t o   u s e   i s   c a l l e d   s c h e d u l i n g .   O n c e   a   P o d   h a s   b e e n   s c h e d u l e d   a n d   i s   b o u n d   t o   a   n o d e ,   K u b e r n e t e s   t r i e s   t o   r u n   t h a t   P o d   o n   t h e   n o d e .   T h e   P o d   r u n s   o n   t h a t   n o d e   u n t i l   i t   s t o p s ,   o r   u n t i l   t h e   P o d   i s   t e r m i n a t e d ;   i f   K u b e r n e t e s   i s n ' t   a b l e   t o   s t a r t   t h e   P o d   o n   t h e   s e l e c t e d   n o d e   ( f o r   e x a m p l e ,   i f   t h e   n o d e   c r a s h e s   b e f o r e   t h e   P o d   s t a r t s ) ,   t h e n   t h a t   p a r t i c u l a r   P o d   n e v e r   s t a r t s .   Y o u   c a n   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11817"
  },
  {
    "question": "What is Pods and fault recovery?",
    "answer": "I f   o n e   o f   t h e   c o n t a i n e r s   i n   t h e   P o d   f a i l s ,   t h e n   K u b e r n e t e s   m a y   t r y   t o   r e s t a r t   t h a t   s p e c i f i c   c o n t a i n e r .   R e a d   H o w   P o d s   h a n d l e   p r o b l e m s   w i t h   c o n t a i n e r s   t o   l e a r n   m o r e .   P o d s   c a n   h o w e v e r   f a i l   i n   a   w a y   t h a t   t h e   c l u s t e r   c a n n o t   r e c o v e r   f r o m ,   a n d   i n   t h a t   c a s e   K u b e r n e t e s   d o e s   n o t   a t t e m p t   t o   h e a l   t h e   P o d   f u r t h e r ;   i n s t e a d ,   K u b e r n e t e s   d e l e t e s   t h e   P o d   a n d   r e l i e s   o n   o t h e r   c o m p o n e n t s   t o   p r o v i d e   a u t o m a t i c   h e a l i n g .   I f   a   P o d   i s   s c h e d u l e d   t o   a   n o d e   a n d   t h a t   n o d e   t h e n   f a i l s ,   t h e   P o d   i s   t r e a t e d   a s   u n h e a l t h y   a n d   K u b e r n e t e s   e v e n t u a l l y   d e l e t e s   t h e   P o d .   A   P o d   w o n ' t   s u r v i v e   a n   e v i c t i o n   d u e   t o   a   l a c k   o f   r e s o u r c e s   o r   N o d e   m a i n t e n a n c e .   K u b e r n e t e s   u s e s   a   h i g h e r - l e v e l   a b s t r a c t i o n ,   c a l l e d   a   c o n t r o l l e r ,   t h a t   h a n d l e s   t h e   w o r k   o f   m a n a g i n g   t h e   r e l a t i v e l y   d i s p o s a b l e   P o d   i n s t a n c e s .   A   g i v e n   P o d   ( a s   d e f i n e d   b y   a   U I D )   i s   n e v e r   \" r e s c h e d u l e d \"   t o   a   d i f f e r e n t   n o d e ;   i n s t e a d ,   t h a t   P o d   c a n   b e   r e p l a c e d   b y   a   n e w ,   n e a r - i d e n t i c a l   P o d .   I f   y o u   m a k e   a   r e p l a c e m e n t   P o d ,   i t   c a n   e v e n   h a v e   s a m e   n a m e   ( a s   i n   . m e t a d a t a . n a m e )   t h a t   t h e   o l d   P o d   h a d ,   b u ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11818"
  },
  {
    "question": "What is Associated lifetimes?",
    "answer": "W h e n   s o m e t h i n g   i s   s a i d   t o   h a v e   t h e   s a m e   l i f e t i m e   a s   a   P o d ,   s u c h   a s   a   v o l u m e ,   t h a t   m e a n s   t h a t   t h e   t h i n g   e x i s t s   a s   l o n g   a s   t h a t   s p e c i f i c   P o d   ( w i t h   t h a t   e x a c t   U I D )   e x i s t s .   I f   t h a t   P o d   i s   d e l e t e d   f o r   a n y   r e a s o n ,   a n d   e v e n   i f   a n   i d e n t i c a l   r e p l a c e m e n t   i s   c r e a t e d ,   t h e   r e l a t e d   t h i n g   ( a   v o l u m e ,   i n   t h i s   e x a m p l e )   i s   a l s o   d e s t r o y e d   a n d   c r e a t e d   a n e w .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11819"
  },
  {
    "question": "What is Figure 1.?",
    "answer": "A   m u l t i - c o n t a i n e r   P o d   t h a t   c o n t a i n s   a   f i l e   p u l l e r   s i d e c a r   a n d   a   w e b   s e r v e r .   T h e   P o d   u s e s   a n   e p h e m e r a l   e m p t y D i r   v o l u m e   f o r   s h a r e d   s t o r a g e   b e t w e e n   t h e   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11820"
  },
  {
    "question": "What is Pod phase?",
    "answer": "A   P o d ' s   s t a t u s   f i e l d   i s   a   P o d S t a t u s   o b j e c t ,   w h i c h   h a s   a   p h a s e   f i e l d .   T h e   p h a s e   o f   a   P o d   i s   a   s i m p l e ,   h i g h - l e v e l   s u m m a r y   o f   w h e r e   t h e   P o d   i s   i n   i t s   l i f e c y c l e .   T h e   p h a s e   i s   n o t   i n t e n d e d   t o   b e   a   c o m p r e h e n s i v e   r o l l u p   o f   o b s e r v a t i o n s   o f   c o n t a i n e r   o r   P o d   s t a t e ,   n o r   i s   i t   i n t e n d e d   t o   b e   a   c o m p r e h e n s i v e   s t a t e   m a c h i n e .   T h e   n u m b e r   a n d   m e a n i n g s   o f   P o d   p h a s e   v a l u e s   a r e   t i g h t l y   g u a r d e d .   O t h e r   t h a n   w h a t   i s   d o c u m e n t e d   h e r e ,   n o t h i n g   s h o u l d   b e   a s s u m e d   a b o u t   P o d s   t h a t   h a v e   a   g i v e n   p h a s e   v a l u e .   H e r e   a r e   t h e   p o s s i b l e   v a l u e s   f o r   p h a s e :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11821"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   a   p o d   i s   f a i l i n g   t o   s t a r t   r e p e a t e d l y ,   C r a s h L o o p B a c k O f f   m a y   a p p e a r   i n   t h e   S t a t u s   f i e l d   o f   s o m e   k u b e c t l   c o m m a n d s .   S i m i l a r l y ,   w h e n   a   p o d   i s   b e i n g   d e l e t e d ,   T e r m i n a t i n g   m a y   a p p e a r   i n   t h e   S t a t u s   f i e l d   o f   s o m e   k u b e c t l   c o m m a n d s .   M a k e   s u r e   n o t   t o   c o n f u s e   S t a t u s ,   a   k u b e c t l   d i s p l a y   f i e l d   f o r   u s e r   i n t u i t i o n ,   w i t h   t h e   p o d ' s   p h a s e .   P o d   p h a s e   i s   a n   e x p l i c i t   p a r t   o f   t h e   K u b e r n e t e s   d a t a   m o d e l   a n d   o f   t h e   P o d   A P I .   N A M E S P A C E   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   a l e s s a n d r a s - n a m e s p a c e   a l e s s a n d r a s - p o d   0 / 1   C r a s h L o o p B a c k O f f   2 0 0   2 d 9 h   A   P o d   i s   g r a n t e d   a   t e r m   t o   t e r m i n a t e   g r a c e f u l l y ,   w h i c h   d e f a u l t s   t o   3 0   s e c o n d s .   Y o u   c a n   u s e   t h e   f l a g   - - f o r c e   t o   t e r m i n a t e   a   P o d   b y   f o r c e .   S i n c e   K u b e r n e t e s   1 . 2 7 ,   t h e   k u b e l e t   t r a n s i t i o n s   d e l e t e d   P o d s ,   e x c e p t   f o r   s t a t i c   P o d s   a n d   f o r c e - d e l e t e d   P o d s   w i t h o u t   a   f i n a l i z e r ,   t o   a   t e r m i n a l   p h a s e   ( F a i l e d   o r   S u c c e e d e d   d e p e n d i n g   o n   t h e   e x i t   s t a t u s e s   o f   t h e   p o d   c o n t a i n e r s )   b e f o r e   t h e i r   d e l e t i o n   f r o m   t h e   A P I   s e r v e r .   I f   a   n o d e   d i e s   o r   i s   d i s c o n n e c t e d   f r o m   t h e   r e s t   o f   t h e   c l u s t e r ,   K u b e r n e t e s   a p p l i e s   a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11822"
  },
  {
    "question": "What is Container states?",
    "answer": "A s   w e l l   a s   t h e   p h a s e   o f   t h e   P o d   o v e r a l l ,   K u b e r n e t e s   t r a c k s   t h e   s t a t e   o f   e a c h   c o n t a i n e r   i n s i d e   a   P o d .   Y o u   c a n   u s e   c o n t a i n e r   l i f e c y c l e   h o o k s   t o   t r i g g e r   e v e n t s   t o   r u n   a t   c e r t a i n   p o i n t s   i n   a   c o n t a i n e r ' s   l i f e c y c l e .   O n c e   t h e   s c h e d u l e r   a s s i g n s   a   P o d   t o   a   N o d e ,   t h e   k u b e l e t   s t a r t s   c r e a t i n g   c o n t a i n e r s   f o r   t h a t   P o d   u s i n g   a   c o n t a i n e r   r u n t i m e .   T h e r e   a r e   t h r e e   p o s s i b l e   c o n t a i n e r   s t a t e s :   W a i t i n g ,   R u n n i n g ,   a n d   T e r m i n a t e d .   T o   c h e c k   t h e   s t a t e   o f   a   P o d ' s   c o n t a i n e r s ,   y o u   c a n   u s e   k u b e c t l   d e s c r i b e   p o d   < n a m e - o f - p o d > .   T h e   o u t p u t   s h o w s   t h e   s t a t e   f o r   e a c h   c o n t a i n e r   w i t h i n   t h a t   P o d .   E a c h   s t a t e   h a s   a   s p e c i f i c   m e a n i n g :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11823"
  },
  {
    "question": "What is Waiting?",
    "answer": "I f   a   c o n t a i n e r   i s   n o t   i n   e i t h e r   t h e   R u n n i n g   o r   T e r m i n a t e d   s t a t e ,   i t   i s   W a i t i n g .   A   c o n t a i n e r   i n   t h e   W a i t i n g   s t a t e   i s   s t i l l   r u n n i n g   t h e   o p e r a t i o n s   i t   r e q u i r e s   i n   o r d e r   t o   c o m p l e t e   s t a r t   u p :   f o r   e x a m p l e ,   p u l l i n g   t h e   c o n t a i n e r   i m a g e   f r o m   a   c o n t a i n e r   i m a g e   r e g i s t r y ,   o r   a p p l y i n g   S e c r e t   d a t a .   W h e n   y o u   u s e   k u b e c t l   t o   q u e r y   a   P o d   w i t h   a   c o n t a i n e r   t h a t   i s   W a i t i n g ,   y o u   a l s o   s e e   a   R e a s o n   f i e l d   t o   s u m m a r i z e   w h y   t h e   c o n t a i n e r   i s   i n   t h a t   s t a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11824"
  },
  {
    "question": "What is Running?",
    "answer": "T h e   R u n n i n g   s t a t u s   i n d i c a t e s   t h a t   a   c o n t a i n e r   i s   e x e c u t i n g   w i t h o u t   i s s u e s .   I f   t h e r e   w a s   a   p o s t S t a r t   h o o k   c o n f i g u r e d ,   i t   h a s   a l r e a d y   e x e c u t e d   a n d   f i n i s h e d .   W h e n   y o u   u s e   k u b e c t l   t o   q u e r y   a   P o d   w i t h   a   c o n t a i n e r   t h a t   i s   R u n n i n g ,   y o u   a l s o   s e e   i n f o r m a t i o n   a b o u t   w h e n   t h e   c o n t a i n e r   e n t e r e d   t h e   R u n n i n g   s t a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11825"
  },
  {
    "question": "What is Terminated?",
    "answer": "A   c o n t a i n e r   i n   t h e   T e r m i n a t e d   s t a t e   b e g a n   e x e c u t i o n   a n d   t h e n   e i t h e r   r a n   t o   c o m p l e t i o n   o r   f a i l e d   f o r   s o m e   r e a s o n .   W h e n   y o u   u s e   k u b e c t l   t o   q u e r y   a   P o d   w i t h   a   c o n t a i n e r   t h a t   i s   T e r m i n a t e d ,   y o u   s e e   a   r e a s o n ,   a n   e x i t   c o d e ,   a n d   t h e   s t a r t   a n d   f i n i s h   t i m e   f o r   t h a t   c o n t a i n e r ' s   p e r i o d   o f   e x e c u t i o n .   I f   a   c o n t a i n e r   h a s   a   p r e S t o p   h o o k   c o n f i g u r e d ,   t h i s   h o o k   r u n s   b e f o r e   t h e   c o n t a i n e r   e n t e r s   t h e   T e r m i n a t e d   s t a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11826"
  },
  {
    "question": "What is How Pods handle problems with containers?",
    "answer": "K u b e r n e t e s   m a n a g e s   c o n t a i n e r   f a i l u r e s   w i t h i n   P o d s   u s i n g   a   r e s t a r t P o l i c y   d e f i n e d   i n   t h e   P o d   s p e c .   T h i s   p o l i c y   d e t e r m i n e s   h o w   K u b e r n e t e s   r e a c t s   t o   c o n t a i n e r s   e x i t i n g   d u e   t o   e r r o r s   o r   o t h e r   r e a s o n s ,   w h i c h   f a l l s   i n   t h e   f o l l o w i n g   s e q u e n c e :   I n i t i a l   c r a s h :   K u b e r n e t e s   a t t e m p t s   a n   i m m e d i a t e   r e s t a r t   b a s e d   o n   t h e   P o d   r e s t a r t P o l i c y . R e p e a t e d   c r a s h e s :   A f t e r   t h e   i n i t i a l   c r a s h   K u b e r n e t e s   a p p l i e s   a n   e x p o n e n t i a l   b a c k o f f   d e l a y   f o r   s u b s e q u e n t   r e s t a r t s ,   d e s c r i b e d   i n   r e s t a r t P o l i c y .   T h i s   p r e v e n t s   r a p i d ,   r e p e a t e d   r e s t a r t   a t t e m p t s   f r o m   o v e r l o a d i n g   t h e   s y s t e m . C r a s h L o o p B a c k O f f   s t a t e :   T h i s   i n d i c a t e s   t h a t   t h e   b a c k o f f   d e l a y   m e c h a n i s m   i s   c u r r e n t l y   i n   e f f e c t   f o r   a   g i v e n   c o n t a i n e r   t h a t   i s   i n   a   c r a s h   l o o p ,   f a i l i n g   a n d   r e s t a r t i n g   r e p e a t e d l y . B a c k o f f   r e s e t :   I f   a   c o n t a i n e r   r u n s   s u c c e s s f u l l y   f o r   a   c e r t a i n   d u r a t i o n   ( e . g . ,   1 0   m i n u t e s ) ,   K u b e r n e t e s   r e s e t s   t h e   b a c k o f f   d e l a y ,   t r e a t i n g   a n y   n e w   c r a s h   a s   t h e   f i r s t   o n e .   I n   p r a c t i c e ,   a   C r a s h L o o p B a c k O f f   i s   a   c o n d i t i o n   o r   e v e n t   t h a t   m i g h t   b e   s e e n   a s   o u t p u t   f r o m   t h e   k u b e c t l   c o m m a n d ,   w h i l ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11827"
  },
  {
    "question": "What is Container restarts?",
    "answer": "W h e n   a   c o n t a i n e r   i n   y o u r   P o d   s t o p s ,   o r   e x p e r i e n c e s   f a i l u r e ,   K u b e r n e t e s   c a n   r e s t a r t   i t .   A   r e s t a r t   i s n ' t   a l w a y s   a p p r o p r i a t e ;   f o r   e x a m p l e ,   i n i t   c o n t a i n e r s   r u n   o n l y   o n c e ,   d u r i n g   P o d   s t a r t u p .   Y o u   c a n   c o n f i g u r e   r e s t a r t s   a s   a   p o l i c y   t h a t   a p p l i e s   t o   a l l   P o d s ,   o r   u s i n g   c o n t a i n e r - l e v e l   c o n f i g u r a t i o n   ( f o r   e x a m p l e :   w h e n   y o u   d e f i n e   a   s i d e c a r   c o n t a i n e r ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11828"
  },
  {
    "question": "What is Container restarts and resilience?",
    "answer": "T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   f o l l o w i n g   c l o u d - n a t i v e   p r i n c i p l e s ,   i n c l u d i n g   r e s i l i e n t   d e s i g n   t h a t   a c c o u n t s   f o r   u n a n n o u n c e d   o r   a r b i t r a r y   r e s t a r t s .   Y o u   c a n   a c h i e v e   t h i s   e i t h e r   b y   f a i l i n g   t h e   P o d   a n d   r e l y i n g   o n   a u t o m a t i c   r e p l a c e m e n t ,   o r   y o u   c a n   d e s i g n   f o r   c o n t a i n e r - l e v e l   r e s i l i e n c e .   E i t h e r   a p p r o a c h   h e l p s   t o   e n s u r e   t h a t   y o u r   o v e r a l l   w o r k l o a d   r e m a i n s   a v a i l a b l e   d e s p i t e   p a r t i a l   f a i l u r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11829"
  },
  {
    "question": "What is Pod-level container restart policy?",
    "answer": "T h e   s p e c   o f   a   P o d   h a s   a   r e s t a r t P o l i c y   f i e l d   w i t h   p o s s i b l e   v a l u e s   A l w a y s ,   O n F a i l u r e ,   a n d   N e v e r .   T h e   d e f a u l t   v a l u e   i s   A l w a y s .   T h e   r e s t a r t P o l i c y   f o r   a   P o d   a p p l i e s   t o   a p p   c o n t a i n e r s   i n   t h e   P o d   a n d   t o   r e g u l a r   i n i t   c o n t a i n e r s .   S i d e c a r   c o n t a i n e r s   i g n o r e   t h e   P o d - l e v e l   r e s t a r t P o l i c y   f i e l d :   i n   K u b e r n e t e s ,   a   s i d e c a r   i s   d e f i n e d   a s   a n   e n t r y   i n s i d e   i n i t C o n t a i n e r s   t h a t   h a s   i t s   c o n t a i n e r - l e v e l   r e s t a r t P o l i c y   s e t   t o   A l w a y s .   F o r   i n i t   c o n t a i n e r s   t h a t   e x i t   w i t h   a n   e r r o r ,   t h e   k u b e l e t   r e s t a r t s   t h e   i n i t   c o n t a i n e r   i f   t h e   P o d   l e v e l   r e s t a r t P o l i c y   i s   e i t h e r   O n F a i l u r e   o r   A l w a y s :   A l w a y s :   A u t o m a t i c a l l y   r e s t a r t s   t h e   c o n t a i n e r   a f t e r   a n y   t e r m i n a t i o n . O n F a i l u r e :   O n l y   r e s t a r t s   t h e   c o n t a i n e r   i f   i t   e x i t s   w i t h   a n   e r r o r   ( n o n - z e r o   e x i t   s t a t u s ) . N e v e r :   D o e s   n o t   a u t o m a t i c a l l y   r e s t a r t   t h e   t e r m i n a t e d   c o n t a i n e r .   W h e n   t h e   k u b e l e t   i s   h a n d l i n g   c o n t a i n e r   r e s t a r t s   a c c o r d i n g   t o   t h e   c o n f i g u r e d   r e s t a r t   p o l i c y ,   t h a t   o n l y   a p p l i e s   t o   r e s t a r t s   t h a t   m a k e   r e p l a c e m e n t   c o n t a i n e r s   i n s i d e   t h e   s a m e   P o d   a n d   r u n n i n g   o n   t h e   s a m e   n o d e .   A f t e r   c o n t a i n e r s   i n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11830"
  },
  {
    "question": "What is Individual container restart policy and rules?",
    "answer": "I f   y o u r   c l u s t e r   h a s   t h e   f e a t u r e   g a t e   C o n t a i n e r R e s t a r t R u l e s   e n a b l e d ,   y o u   c a n   s p e c i f y   r e s t a r t P o l i c y   a n d   r e s t a r t P o l i c y R u l e s   o n   i n d i v i d u a l   c o n t a i n e r s   t o   o v e r r i d e   t h e   P o d   r e s t a r t   p o l i c y .   C o n t a i n e r   r e s t a r t   p o l i c y   a n d   r u l e s   a p p l i e s   t o   a p p   c o n t a i n e r s   i n   t h e   P o d   a n d   t o   r e g u l a r   i n i t   c o n t a i n e r s .   A   K u b e r n e t e s - n a t i v e   s i d e c a r   c o n t a i n e r   h a s   i t s   c o n t a i n e r - l e v e l   r e s t a r t P o l i c y   s e t   t o   A l w a y s ,   a n d   d o e s   n o t   s u p p o r t   r e s t a r t P o l i c y R u l e s .   T h e   c o n t a i n e r   r e s t a r t s   w i l l   f o l l o w   t h e   s a m e   e x p o n e n t i a l   b a c k o f f   a s   p o d   r e s t a r t   p o l i c y   d e s c r i b e d   a b o v e .   S u p p o r t e d   c o n t a i n e r   r e s t a r t   p o l i c i e s :   A l w a y s :   A u t o m a t i c a l l y   r e s t a r t s   t h e   c o n t a i n e r   a f t e r   a n y   t e r m i n a t i o n . O n F a i l u r e :   O n l y   r e s t a r t s   t h e   c o n t a i n e r   i f   i t   e x i t s   w i t h   a n   e r r o r   ( n o n - z e r o   e x i t   s t a t u s ) . N e v e r :   D o e s   n o t   a u t o m a t i c a l l y   r e s t a r t   t h e   t e r m i n a t e d   c o n t a i n e r .   A d d i t i o n a l l y ,   i n d i v i d u a l   c o n t a i n e r s   c a n   s p e c i f y   r e s t a r t P o l i c y R u l e s .   I f   t h e   r e s t a r t P o l i c y R u l e s   f i e l d   i s   s p e c i f i e d ,   t h e n   c o n t a i n e r   r e s t a r t P o l i c y   m u s t   a l s o   b e   s p e c i f i e d .   T h e   r e s t a r t P o l i c y R u l e s   d e f i n e   a   l i s t   o f   r u l e s   t o   a p p l y   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11831"
  },
  {
    "question": "What is Reduced container restart delay?",
    "answer": "W i t h   t h e   a l p h a   f e a t u r e   g a t e   R e d u c e D e f a u l t C r a s h L o o p B a c k O f f D e c a y   e n a b l e d ,   c o n t a i n e r   s t a r t   r e t r i e s   a c r o s s   y o u r   c l u s t e r   w i l l   b e   r e d u c e d   t o   b e g i n   a t   1 s   ( i n s t e a d   o f   1 0 s )   a n d   i n c r e a s e   e x p o n e n t i a l l y   b y   2 x   e a c h   r e s t a r t   u n t i l   a   m a x i m u m   d e l a y   o f   6 0 s   ( i n s t e a d   o f   3 0 0 s   w h i c h   i s   5   m i n u t e s ) .   I f   y o u   u s e   t h i s   f e a t u r e   a l o n g   w i t h   t h e   a l p h a   f e a t u r e   K u b e l e t C r a s h L o o p B a c k O f f M a x   ( d e s c r i b e d   b e l o w ) ,   i n d i v i d u a l   n o d e s   m a y   h a v e   d i f f e r e n t   m a x i m u m   d e l a y s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11832"
  },
  {
    "question": "What is Configurable container restart delay?",
    "answer": "W i t h   t h e   a l p h a   f e a t u r e   g a t e   K u b e l e t C r a s h L o o p B a c k O f f M a x   e n a b l e d ,   y o u   c a n   r e c o n f i g u r e   t h e   m a x i m u m   d e l a y   b e t w e e n   c o n t a i n e r   s t a r t   r e t r i e s   f r o m   t h e   d e f a u l t   o f   3 0 0 s   ( 5   m i n u t e s ) .   T h i s   c o n f i g u r a t i o n   i s   s e t   p e r   n o d e   u s i n g   k u b e l e t   c o n f i g u r a t i o n .   I n   y o u r   k u b e l e t   c o n f i g u r a t i o n ,   u n d e r   c r a s h L o o p B a c k O f f   s e t   t h e   m a x C o n t a i n e r R e s t a r t P e r i o d   f i e l d   b e t w e e n   \" 1 s \"   a n d   \" 3 0 0 s \" .   A s   d e s c r i b e d   a b o v e   i n   C o n t a i n e r   r e s t a r t   p o l i c y ,   d e l a y s   o n   t h a t   n o d e   w i l l   s t i l l   s t a r t   a t   1 0 s   a n d   i n c r e a s e   e x p o n e n t i a l l y   b y   2 x   e a c h   r e s t a r t ,   b u t   w i l l   n o w   b e   c a p p e d   a t   y o u r   c o n f i g u r e d   m a x i m u m .   I f   t h e   m a x C o n t a i n e r R e s t a r t P e r i o d   y o u   c o n f i g u r e   i s   l e s s   t h a n   t h e   d e f a u l t   i n i t i a l   v a l u e   o f   1 0 s ,   t h e   i n i t i a l   d e l a y   w i l l   i n s t e a d   b e   s e t   t o   t h e   c o n f i g u r e d   m a x i m u m .   S e e   t h e   f o l l o w i n g   k u b e l e t   c o n f i g u r a t i o n   e x a m p l e s :   #   c o n t a i n e r   r e s t a r t   d e l a y s   w i l l   s t a r t   a t   1 0 s ,   i n c r e a s i n g   #   2 x   e a c h   t i m e   t h e y   a r e   r e s t a r t e d ,   t o   a   m a x i m u m   o f   1 0 0 s   k i n d :   K u b e l e t C o n f i g u r a t i o n   c r a s h L o o p B a c k O f f :   m a x C o n t a i n e r R e s t a r t P e r i o d :   \" 1 0 0 s \"   #   d e l a y s   b e t w e e n   c o n t a i n e r   r e s t a r t s   w i l l   a l w a y s   b e   2 s   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11833"
  },
  {
    "question": "What is Pod conditions?",
    "answer": "A   P o d   h a s   a   P o d S t a t u s ,   w h i c h   h a s   a n   a r r a y   o f   P o d C o n d i t i o n s   t h r o u g h   w h i c h   t h e   P o d   h a s   o r   h a s   n o t   p a s s e d .   K u b e l e t   m a n a g e s   t h e   f o l l o w i n g   P o d C o n d i t i o n s :   P o d S c h e d u l e d :   t h e   P o d   h a s   b e e n   s c h e d u l e d   t o   a   n o d e . P o d R e a d y T o S t a r t C o n t a i n e r s :   ( b e t a   f e a t u r e ;   e n a b l e d   b y   d e f a u l t )   t h e   P o d   s a n d b o x   h a s   b e e n   s u c c e s s f u l l y   c r e a t e d   a n d   n e t w o r k i n g   c o n f i g u r e d . C o n t a i n e r s R e a d y :   a l l   c o n t a i n e r s   i n   t h e   P o d   a r e   r e a d y . I n i t i a l i z e d :   a l l   i n i t   c o n t a i n e r s   h a v e   c o m p l e t e d   s u c c e s s f u l l y . R e a d y :   t h e   P o d   i s   a b l e   t o   s e r v e   r e q u e s t s   a n d   s h o u l d   b e   a d d e d   t o   t h e   l o a d   b a l a n c i n g   p o o l s   o f   a l l   m a t c h i n g   S e r v i c e s . D i s r u p t i o n T a r g e t :   t h e   p o d   i s   a b o u t   t o   b e   t e r m i n a t e d   d u e   t o   a   d i s r u p t i o n   ( s u c h   a s   p r e e m p t i o n ,   e v i c t i o n   o r   g a r b a g e - c o l l e c t i o n ) . P o d R e s i z e P e n d i n g :   a   p o d   r e s i z e   w a s   r e q u e s t e d   b u t   c a n n o t   b e   a p p l i e d .   S e e   P o d   r e s i z e   s t a t u s . P o d R e s i z e I n P r o g r e s s :   t h e   p o d   i s   i n   t h e   p r o c e s s   o f   r e s i z i n g .   S e e   P o d   r e s i z e   s t a t u s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11834"
  },
  {
    "question": "What is Pod readiness?",
    "answer": "Y o u r   a p p l i c a t i o n   c a n   i n j e c t   e x t r a",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11835"
  },
  {
    "question": "What is Status for Pod readiness?",
    "answer": "T h e   k u b e c t l   p a t c h   c o m m a n d   d o e s   n o t   s u p p o r t   p a t c h i n g   o b j e c t   s t a t u s .   T o   s e t   t h e s e   s t a t u s . c o n d i t i o n s   f o r   t h e   P o d ,   a p p l i c a t i o n s   a n d   o p e r a t o r s   s h o u l d   u s e   t h e   P A T C H   a c t i o n .   Y o u   c a n   u s e   a   K u b e r n e t e s   c l i e n t   l i b r a r y   t o   w r i t e   c o d e   t h a t   s e t s   c u s t o m   P o d   c o n d i t i o n s   f o r   P o d   r e a d i n e s s .   F o r   a   P o d   t h a t   u s e s   c u s t o m   c o n d i t i o n s ,   t h a t   P o d   i s   e v a l u a t e d   t o   b e   r e a d y   o n l y   w h e n   b o t h   t h e   f o l l o w i n g   s t a t e m e n t s   a p p l y :   A l l   c o n t a i n e r s   i n   t h e   P o d   a r e   r e a d y . A l l   c o n d i t i o n s   s p e c i f i e d   i n   r e a d i n e s s G a t e s   a r e   T r u e .   W h e n   a   P o d ' s   c o n t a i n e r s   a r e   R e a d y   b u t   a t   l e a s t   o n e   c u s t o m   c o n d i t i o n   i s   m i s s i n g   o r   F a l s e ,   t h e   k u b e l e t   s e t s   t h e   P o d ' s   c o n d i t i o n   t o   C o n t a i n e r s R e a d y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11836"
  },
  {
    "question": "What is Note:?",
    "answer": "A f t e r   a   P o d   g e t s   s c h e d u l e d   o n   a   n o d e ,   i t   n e e d s   t o   b e   a d m i t t e d   b y   t h e   k u b e l e t   a n d   t o   h a v e   a n y   r e q u i r e d   s t o r a g e   v o l u m e s   m o u n t e d .   O n c e   t h e s e   p h a s e s   a r e   c o m p l e t e ,   t h e   k u b e l e t   w o r k s   w i t h   a   c o n t a i n e r   r u n t i m e   ( u s i n g   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I ) )   t o   s e t   u p   a   r u n t i m e   s a n d b o x   a n d   c o n f i g u r e   n e t w o r k i n g   f o r   t h e   P o d .   I f   t h e   P o d R e a d y T o S t a r t C o n t a i n e r s C o n d i t i o n   f e a t u r e   g a t e   i s   e n a b l e d   ( i t   i s   e n a b l e d   b y   d e f a u l t   f o r   K u b e r n e t e s   1 . 3 4 ) ,   t h e   P o d R e a d y T o S t a r t C o n t a i n e r s   c o n d i t i o n   w i l l   b e   a d d e d   t o   t h e   s t a t u s . c o n d i t i o n s   f i e l d   o f   a   P o d .   T h e   P o d R e a d y T o S t a r t C o n t a i n e r s   c o n d i t i o n   i s   s e t   t o   F a l s e   b y   t h e   K u b e l e t   w h e n   i t   d e t e c t s   a   P o d   d o e s   n o t   h a v e   a   r u n t i m e   s a n d b o x   w i t h   n e t w o r k i n g   c o n f i g u r e d .   T h i s   o c c u r s   i n   t h e   f o l l o w i n g   s c e n a r i o s :   E a r l y   i n   t h e   l i f e c y c l e   o f   t h e   P o d ,   w h e n   t h e   k u b e l e t   h a s   n o t   y e t   b e g u n   t o   s e t   u p   a   s a n d b o x   f o r   t h e   P o d   u s i n g   t h e   c o n t a i n e r   r u n t i m e . L a t e r   i n   t h e   l i f e c y c l e   o f   t h e   P o d ,   w h e n   t h e   P o d   s a n d b o x   h a s   b e e n   d e s t r o y e d   d u e   t o   e i t h e r : t h e   n o d e   r e b o o t i n g ,   w i t h o u t   t h e   P o d   g e t t i n g   e v i c t e d f o r   c o n t a i n e r   r u n t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11837"
  },
  {
    "question": "What is Container probes?",
    "answer": "A   p r o b e   i s   a   d i a g n o s t i c   p e r f o r m e d   p e r i o d i c a l l y   b y   t h e   k u b e l e t   o n   a   c o n t a i n e r .   T o   p e r f o r m   a   d i a g n o s t i c ,   t h e   k u b e l e t   e i t h e r   e x e c u t e s   c o d e   w i t h i n   t h e   c o n t a i n e r ,   o r   m a k e s   a   n e t w o r k   r e q u e s t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11838"
  },
  {
    "question": "What is Check mechanisms?",
    "answer": "T h e r e   a r e   f o u r   d i f f e r e n t   w a y s   t o   c h e c k   a   c o n t a i n e r   u s i n g   a   p r o b e .   E a c h   p r o b e   m u s t   d e f i n e   e x a c t l y   o n e   o f   t h e s e   f o u r   m e c h a n i s m s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11839"
  },
  {
    "question": "What is Probe outcome?",
    "answer": "E a c h   p r o b e   h a s   o n e   o f   t h r e e   r e s u l t s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11840"
  },
  {
    "question": "What is Types of probe?",
    "answer": "T h e   k u b e l e t   c a n   o p t i o n a l l y   p e r f o r m   a n d   r e a c t   t o   t h r e e   k i n d s   o f   p r o b e s   o n   r u n n i n g   c o n t a i n e r s :   F o r   m o r e   i n f o r m a t i o n   a b o u t   h o w   t o   s e t   u p   a   l i v e n e s s ,   r e a d i n e s s ,   o r   s t a r t u p   p r o b e ,   s e e   C o n f i g u r e   L i v e n e s s ,   R e a d i n e s s   a n d   S t a r t u p   P r o b e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11841"
  },
  {
    "question": "What is When should you use a liveness probe??",
    "answer": "I f   t h e   p r o c e s s   i n   y o u r   c o n t a i n e r   i s   a b l e   t o   c r a s h   o n   i t s   o w n   w h e n e v e r   i t   e n c o u n t e r s   a n   i s s u e   o r   b e c o m e s   u n h e a l t h y ,   y o u   d o   n o t   n e c e s s a r i l y   n e e d   a   l i v e n e s s   p r o b e ;   t h e   k u b e l e t   w i l l   a u t o m a t i c a l l y   p e r f o r m   t h e   c o r r e c t   a c t i o n   i n   a c c o r d a n c e   w i t h   t h e   P o d ' s   r e s t a r t P o l i c y .   I f   y o u ' d   l i k e   y o u r   c o n t a i n e r   t o   b e   k i l l e d   a n d   r e s t a r t e d   i f   a   p r o b e   f a i l s ,   t h e n   s p e c i f y   a   l i v e n e s s   p r o b e ,   a n d   s p e c i f y   a   r e s t a r t P o l i c y   o f   A l w a y s   o r   O n F a i l u r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11842"
  },
  {
    "question": "What is When should you use a readiness probe??",
    "answer": "I f   y o u ' d   l i k e   t o   s t a r t   s e n d i n g   t r a f f i c   t o   a   P o d   o n l y   w h e n   a   p r o b e   s u c c e e d s ,   s p e c i f y   a   r e a d i n e s s   p r o b e .   I n   t h i s   c a s e ,   t h e   r e a d i n e s s   p r o b e   m i g h t   b e   t h e   s a m e   a s   t h e   l i v e n e s s   p r o b e ,   b u t   t h e   e x i s t e n c e   o f   t h e   r e a d i n e s s   p r o b e   i n   t h e   s p e c   m e a n s   t h a t   t h e   P o d   w i l l   s t a r t   w i t h o u t   r e c e i v i n g   a n y   t r a f f i c   a n d   o n l y   s t a r t   r e c e i v i n g   t r a f f i c   a f t e r   t h e   p r o b e   s t a r t s   s u c c e e d i n g .   I f   y o u   w a n t   y o u r   c o n t a i n e r   t o   b e   a b l e   t o   t a k e   i t s e l f   d o w n   f o r   m a i n t e n a n c e ,   y o u   c a n   s p e c i f y   a   r e a d i n e s s   p r o b e   t h a t   c h e c k s   a n   e n d p o i n t   s p e c i f i c   t o   r e a d i n e s s   t h a t   i s   d i f f e r e n t   f r o m   t h e   l i v e n e s s   p r o b e .   I f   y o u r   a p p   h a s   a   s t r i c t   d e p e n d e n c y   o n   b a c k - e n d   s e r v i c e s ,   y o u   c a n   i m p l e m e n t   b o t h   a   l i v e n e s s   a n d   a   r e a d i n e s s   p r o b e .   T h e   l i v e n e s s   p r o b e   p a s s e s   w h e n   t h e   a p p   i t s e l f   i s   h e a l t h y ,   b u t   t h e   r e a d i n e s s   p r o b e   a d d i t i o n a l l y   c h e c k s   t h a t   e a c h   r e q u i r e d   b a c k - e n d   s e r v i c e   i s   a v a i l a b l e .   T h i s   h e l p s   y o u   a v o i d   d i r e c t i n g   t r a f f i c   t o   P o d s   t h a t   c a n   o n l y   r e s p o n d   w i t h   e r r o r   m e s s a g e s .   I f   y o u r   c o n t a i n e r   n e e d s   t o   w o r k   o n   l o a d i n g   l a r g e   d a t a ,   c o n f i g u r a t i o n   f i l e s ,   o r   m i g r a t i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11843"
  },
  {
    "question": "What is When should you use a startup probe??",
    "answer": "S t a r t u p   p r o b e s   a r e   u s e f u l   f o r   P o d s   t h a t   h a v e   c o n t a i n e r s   t h a t   t a k e   a   l o n g   t i m e   t o   c o m e   i n t o   s e r v i c e .   R a t h e r   t h a n   s e t   a   l o n g   l i v e n e s s   i n t e r v a l ,   y o u   c a n   c o n f i g u r e   a   s e p a r a t e   c o n f i g u r a t i o n   f o r   p r o b i n g   t h e   c o n t a i n e r   a s   i t   s t a r t s   u p ,   a l l o w i n g   a   t i m e   l o n g e r   t h a n   t h e   l i v e n e s s   i n t e r v a l   w o u l d   a l l o w .   I f   y o u r   c o n t a i n e r   u s u a l l y   s t a r t s   i n   m o r e   t h a n   \\ (   i n i t i a l D e l a y S e c o n d s   +   f a i l u r e T h r e s h o l d   \\ t i m e s   p e r i o d S e c o n d s   \\ ) ,   y o u   s h o u l d   s p e c i f y   a   s t a r t u p   p r o b e   t h a t   c h e c k s   t h e   s a m e   e n d p o i n t   a s   t h e   l i v e n e s s   p r o b e .   T h e   d e f a u l t   f o r   p e r i o d S e c o n d s   i s   1 0 s .   Y o u   s h o u l d   t h e n   s e t   i t s   f a i l u r e T h r e s h o l d   h i g h   e n o u g h   t o   a l l o w   t h e   c o n t a i n e r   t o   s t a r t ,   w i t h o u t   c h a n g i n g   t h e   d e f a u l t   v a l u e s   o f   t h e   l i v e n e s s   p r o b e .   T h i s   h e l p s   t o   p r o t e c t   a g a i n s t   d e a d l o c k s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11844"
  },
  {
    "question": "What is Termination of Pods?",
    "answer": "B e c a u s e   P o d s   r e p r e s e n t   p r o c e s s e s   r u n n i n g   o n   n o d e s   i n   t h e   c l u s t e r ,   i t   i s   i m p o r t a n t   t o   a l l o w   t h o s e   p r o c e s s e s   t o   g r a c e f u l l y   t e r m i n a t e   w h e n   t h e y   a r e   n o   l o n g e r   n e e d e d   ( r a t h e r   t h a n   b e i n g   a b r u p t l y   s t o p p e d   w i t h   a   K I L L   s i g n a l   a n d   h a v i n g   n o   c h a n c e   t o   c l e a n   u p ) .   T h e   d e s i g n   a i m   i s   f o r   y o u   t o   b e   a b l e   t o   r e q u e s t   d e l e t i o n   a n d   k n o w   w h e n   p r o c e s s e s   t e r m i n a t e ,   b u t   a l s o   b e   a b l e   t o   e n s u r e   t h a t   d e l e t e s   e v e n t u a l l y   c o m p l e t e .   W h e n   y o u   r e q u e s t   d e l e t i o n   o f   a   P o d ,   t h e   c l u s t e r   r e c o r d s   a n d   t r a c k s   t h e   i n t e n d e d   g r a c e   p e r i o d   b e f o r e   t h e   P o d   i s   a l l o w e d   t o   b e   f o r c e f u l l y   k i l l e d .   W i t h   t h a t   f o r c e f u l   s h u t d o w n   t r a c k i n g   i n   p l a c e ,   t h e   k u b e l e t   a t t e m p t s   g r a c e f u l   s h u t d o w n .   T y p i c a l l y ,   w i t h   t h i s   g r a c e f u l   t e r m i n a t i o n   o f   t h e   p o d ,   k u b e l e t   m a k e s   r e q u e s t s   t o   t h e   c o n t a i n e r   r u n t i m e   t o   a t t e m p t   t o   s t o p   t h e   c o n t a i n e r s   i n   t h e   p o d   b y   f i r s t   s e n d i n g   a   T E R M   ( a k a .   S I G T E R M )   s i g n a l ,   w i t h   a   g r a c e   p e r i o d   t i m e o u t ,   t o   t h e   m a i n   p r o c e s s   i n   e a c h   c o n t a i n e r .   T h e   r e q u e s t s   t o   s t o p   t h e   c o n t a i n e r s   a r e   p r o c e s s e d   b y   t h e   c o n t a i n e r   r u n t i m e   a s y n c h r o n o u s l y .   T h e r e   i s   n o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11845"
  },
  {
    "question": "What is Stop Signals?",
    "answer": "T h e   s t o p   s i g n a l   u s e d   t o   k i l l   t h e   c o n t a i n e r   c a n   b e   d e f i n e d   i n   t h e   c o n t a i n e r   i m a g e   w i t h   t h e   S T O P S I G N A L   i n s t r u c t i o n .   I f   n o   s t o p   s i g n a l   i s   d e f i n e d   i n   t h e   i m a g e ,   t h e   d e f a u l t   s i g n a l   o f   t h e   c o n t a i n e r   r u n t i m e   ( S I G T E R M   f o r   b o t h   c o n t a i n e r d   a n d   C R I - O )   w o u l d   b e   u s e d   t o   k i l l   t h e   c o n t a i n e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11846"
  },
  {
    "question": "What is Defining custom stop signals?",
    "answer": "I f   t h e   C o n t a i n e r S t o p S i g n a l s   f e a t u r e   g a t e   i s   e n a b l e d ,   y o u   c a n   c o n f i g u r e   a   c u s t o m   s t o p   s i g n a l   f o r   y o u r   c o n t a i n e r s   f r o m   t h e   c o n t a i n e r   L i f e c y c l e .   W e   r e q u i r e   t h e   P o d ' s   s p e c . o s . n a m e   f i e l d   t o   b e   p r e s e n t   a s   a   r e q u i r e m e n t   f o r   d e f i n i n g   s t o p   s i g n a l s   i n   t h e   c o n t a i n e r   l i f e c y c l e .   T h e   l i s t   o f   s i g n a l s   t h a t   a r e   v a l i d   d e p e n d s   o n   t h e   O S   t h e   P o d   i s   s c h e d u l e d   t o .   F o r   P o d s   s c h e d u l e d   t o   W i n d o w s   n o d e s ,   w e   o n l y   s u p p o r t   S I G T E R M   a n d   S I G K I L L   a s   v a l i d   s i g n a l s .   H e r e   i s   a n   e x a m p l e   P o d   s p e c   d e f i n i n g   a   c u s t o m   s t o p   s i g n a l :   s p e c :   o s :   n a m e :   l i n u x   c o n t a i n e r s :   -   n a m e :   m y - c o n t a i n e r   i m a g e :   c o n t a i n e r - i m a g e : l a t e s t   l i f e c y c l e :   s t o p S i g n a l :   S I G U S R 1   I f   a   s t o p   s i g n a l   i s   d e f i n e d   i n   t h e   l i f e c y c l e ,   t h i s   w i l l   o v e r r i d e   t h e   s i g n a l   d e f i n e d   i n   t h e   c o n t a i n e r   i m a g e .   I f   n o   s t o p   s i g n a l   i s   d e f i n e d   i n   t h e   c o n t a i n e r   s p e c ,   t h e   c o n t a i n e r   w o u l d   f a l l   b a c k   t o   t h e   d e f a u l t   b e h a v i o r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11847"
  },
  {
    "question": "What is Pod Termination Flow?",
    "answer": "P o d   t e r m i n a t i o n   f l o w ,   i l l u s t r a t e d   w i t h   a n   e x a m p l e :   Y o u   u s e   t h e   k u b e c t l   t o o l   t o   m a n u a l l y   d e l e t e   a   s p e c i f i c   P o d ,   w i t h   t h e   d e f a u l t   g r a c e   p e r i o d   ( 3 0   s e c o n d s ) . T h e   P o d   i n   t h e   A P I   s e r v e r   i s   u p d a t e d   w i t h   t h e   t i m e   b e y o n d   w h i c h   t h e   P o d   i s   c o n s i d e r e d   \" d e a d \"   a l o n g   w i t h   t h e   g r a c e   p e r i o d .   I f   y o u   u s e   k u b e c t l   d e s c r i b e   t o   c h e c k   t h e   P o d   y o u ' r e   d e l e t i n g ,   t h a t   P o d   s h o w s   u p   a s   \" T e r m i n a t i n g \" .   O n   t h e   n o d e   w h e r e   t h e   P o d   i s   r u n n i n g :   a s   s o o n   a s   t h e   k u b e l e t   s e e s   t h a t   a   P o d   h a s   b e e n   m a r k e d   a s   t e r m i n a t i n g   ( a   g r a c e f u l   s h u t d o w n   d u r a t i o n   h a s   b e e n   s e t ) ,   t h e   k u b e l e t   b e g i n s   t h e   l o c a l   P o d   s h u t d o w n   p r o c e s s . I f   o n e   o f   t h e   P o d ' s   c o n t a i n e r s   h a s   d e f i n e d   a   p r e S t o p   h o o k   a n d   t h e   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   i n   t h e   P o d   s p e c   i s   n o t   s e t   t o   0 ,   t h e   k u b e l e t   r u n s   t h a t   h o o k   i n s i d e   o f   t h e   c o n t a i n e r .   T h e   d e f a u l t   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   s e t t i n g   i s   3 0   s e c o n d s . I f   t h e   p r e S t o p   h o o k   i s   s t i l l   r u n n i n g   a f t e r   t h e   g r a c e   p e r i o d   e x p i r e s ,   t h e   k u b e l e t   r e q u e s t s   a   s m a l l ,   o n e - o f f   g r a c e   p e r i o d   e x t e n s i o n   o f   2   s e c o n d s . N o t e : I f   t h e   p r e S t o p   h o o k   n e e d s   l o n g ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11848"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   k u b e l e t   t r i g g e r s   t h e   c o n t a i n e r   r u n t i m e   t o   s e n d   a   T E R M   s i g n a l   t o   p r o c e s s   1   i n s i d e   e a c h   c o n t a i n e r .   T h e r e   i s   s p e c i a l   o r d e r i n g   i f   t h e   P o d   h a s   a n y   s i d e c a r   c o n t a i n e r s   d e f i n e d .   O t h e r w i s e ,   t h e   c o n t a i n e r s   i n   t h e   P o d   r e c e i v e   t h e   T E R M   s i g n a l   a t   d i f f e r e n t   t i m e s   a n d   i n   a n   a r b i t r a r y   o r d e r .   I f   t h e   o r d e r   o f   s h u t d o w n s   m a t t e r s ,   c o n s i d e r   u s i n g   a   p r e S t o p   h o o k   t o   s y n c h r o n i z e   ( o r   s w i t c h   t o   u s i n g   s i d e c a r   c o n t a i n e r s ) .   A t   t h e   s a m e   t i m e   a s   t h e   k u b e l e t   i s   s t a r t i n g   g r a c e f u l   s h u t d o w n   o f   t h e   P o d ,   t h e   c o n t r o l   p l a n e   e v a l u a t e s   w h e t h e r   t o   r e m o v e   t h a t   s h u t t i n g - d o w n   P o d   f r o m   E n d p o i n t S l i c e   o b j e c t s ,   w h e r e   t h o s e   o b j e c t s   r e p r e s e n t   a   S e r v i c e   w i t h   a   c o n f i g u r e d   s e l e c t o r .   R e p l i c a S e t s   a n d   o t h e r   w o r k l o a d   r e s o u r c e s   n o   l o n g e r   t r e a t   t h e   s h u t t i n g - d o w n   P o d   a s   a   v a l i d ,   i n - s e r v i c e   r e p l i c a .   P o d s   t h a t   s h u t   d o w n   s l o w l y   s h o u l d   n o t   c o n t i n u e   t o   s e r v e   r e g u l a r   t r a f f i c   a n d   s h o u l d   s t a r t   t e r m i n a t i n g   a n d   f i n i s h   p r o c e s s i n g   o p e n   c o n n e c t i o n s .   S o m e   a p p l i c a t i o n s   n e e d   t o   g o   b e y o n d   f i n i s h i n g   o p e n   c o n n e c t i o n s   a n d   n e e d   m o r e   g r a c e f u l   t e r m i n a t i o n ,   f o r   e x a m ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11849"
  },
  {
    "question": "What is Caution:?",
    "answer": "B y   d e f a u l t ,   a l l   d e l e t e s   a r e   g r a c e f u l   w i t h i n   3 0   s e c o n d s .   T h e   k u b e c t l   d e l e t e   c o m m a n d   s u p p o r t s   t h e   - - g r a c e - p e r i o d = < s e c o n d s >   o p t i o n   w h i c h   a l l o w s   y o u   t o   o v e r r i d e   t h e   d e f a u l t   a n d   s p e c i f y   y o u r   o w n   v a l u e .   S e t t i n g   t h e   g r a c e   p e r i o d   t o   0   f o r c i b l y   a n d   i m m e d i a t e l y   d e l e t e s   t h e   P o d   f r o m   t h e   A P I   s e r v e r .   I f   t h e   P o d   w a s   s t i l l   r u n n i n g   o n   a   n o d e ,   t h a t   f o r c i b l e   d e l e t i o n   t r i g g e r s   t h e   k u b e l e t   t o   b e g i n   i m m e d i a t e   c l e a n u p .   U s i n g   k u b e c t l ,   Y o u   m u s t   s p e c i f y   a n   a d d i t i o n a l   f l a g   - - f o r c e   a l o n g   w i t h   - - g r a c e - p e r i o d = 0   i n   o r d e r   t o   p e r f o r m   f o r c e   d e l e t i o n s .   W h e n   a   f o r c e   d e l e t i o n   i s   p e r f o r m e d ,   t h e   A P I   s e r v e r   d o e s   n o t   w a i t   f o r   c o n f i r m a t i o n   f r o m   t h e   k u b e l e t   t h a t   t h e   P o d   h a s   b e e n   t e r m i n a t e d   o n   t h e   n o d e   i t   w a s   r u n n i n g   o n .   I t   r e m o v e s   t h e   P o d   i n   t h e   A P I   i m m e d i a t e l y   s o   a   n e w   P o d   c a n   b e   c r e a t e d   w i t h   t h e   s a m e   n a m e .   O n   t h e   n o d e ,   P o d s   t h a t   a r e   s e t   t o   t e r m i n a t e   i m m e d i a t e l y   w i l l   s t i l l   b e   g i v e n   a   s m a l l   g r a c e   p e r i o d   b e f o r e   b e i n g   f o r c e   k i l l e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11850"
  },
  {
    "question": "What is Caution:?",
    "answer": "I f   y o u   n e e d   t o   f o r c e - d e l e t e   P o d s   t h a t   a r e   p a r t   o f   a   S t a t e f u l S e t ,   r e f e r   t o   t h e   t a s k   d o c u m e n t a t i o n   f o r   d e l e t i n g   P o d s   f r o m   a   S t a t e f u l S e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11851"
  },
  {
    "question": "What is Pod shutdown and sidecar containers?",
    "answer": "I f   y o u r   P o d   i n c l u d e s   o n e   o r   m o r e   s i d e c a r   c o n t a i n e r s   ( i n i t   c o n t a i n e r s   w i t h   a n   A l w a y s   r e s t a r t   p o l i c y ) ,   t h e   k u b e l e t   w i l l   d e l a y   s e n d i n g   t h e   T E R M   s i g n a l   t o   t h e s e   s i d e c a r   c o n t a i n e r s   u n t i l   t h e   l a s t   m a i n   c o n t a i n e r   h a s   f u l l y   t e r m i n a t e d .   T h e   s i d e c a r   c o n t a i n e r s   w i l l   b e   t e r m i n a t e d   i n   t h e   r e v e r s e   o r d e r   t h e y   a r e   d e f i n e d   i n   t h e   P o d   s p e c .   T h i s   e n s u r e s   t h a t   s i d e c a r   c o n t a i n e r s   c o n t i n u e   s e r v i n g   t h e   o t h e r   c o n t a i n e r s   i n   t h e   P o d   u n t i l   t h e y   a r e   n o   l o n g e r   n e e d e d .   T h i s   m e a n s   t h a t   s l o w   t e r m i n a t i o n   o f   a   m a i n   c o n t a i n e r   w i l l   a l s o   d e l a y   t h e   t e r m i n a t i o n   o f   t h e   s i d e c a r   c o n t a i n e r s .   I f   t h e   g r a c e   p e r i o d   e x p i r e s   b e f o r e   t h e   t e r m i n a t i o n   p r o c e s s   i s   c o m p l e t e ,   t h e   P o d   m a y   e n t e r   f o r c e d   t e r m i n a t i o n .   I n   t h i s   c a s e ,   a l l   r e m a i n i n g   c o n t a i n e r s   i n   t h e   P o d   w i l l   b e   t e r m i n a t e d   s i m u l t a n e o u s l y   w i t h   a   s h o r t   g r a c e   p e r i o d .   S i m i l a r l y ,   i f   t h e   P o d   h a s   a   p r e S t o p   h o o k   t h a t   e x c e e d s   t h e   t e r m i n a t i o n   g r a c e   p e r i o d ,   e m e r g e n c y   t e r m i n a t i o n   m a y   o c c u r .   I n   g e n e r a l ,   i f   y o u   h a v e   u s e d   p r e S t o p   h o o k s   t o   c o n t r o l   t h e   t e r m i n a t i o n   o r d e r   w i t h o u t   s i d e c a r   c o n t a i n e r s ,   y o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11852"
  },
  {
    "question": "What is Garbage collection of Pods?",
    "answer": "F o r   f a i l e d   P o d s ,   t h e   A P I   o b j e c t s   r e m a i n   i n   t h e   c l u s t e r ' s   A P I   u n t i l   a   h u m a n   o r   c o n t r o l l e r   p r o c e s s   e x p l i c i t l y   r e m o v e s   t h e m .   T h e   P o d   g a r b a g e   c o l l e c t o r   ( P o d G C ) ,   w h i c h   i s   a   c o n t r o l l e r   i n   t h e   c o n t r o l   p l a n e ,   c l e a n s   u p   t e r m i n a t e d   P o d s   ( w i t h   a   p h a s e   o f   S u c c e e d e d   o r   F a i l e d ) ,   w h e n   t h e   n u m b e r   o f   P o d s   e x c e e d s   t h e   c o n f i g u r e d   t h r e s h o l d   ( d e t e r m i n e d   b y   t e r m i n a t e d - p o d - g c - t h r e s h o l d   i n   t h e   k u b e - c o n t r o l l e r - m a n a g e r ) .   T h i s   a v o i d s   a   r e s o u r c e   l e a k   a s   P o d s   a r e   c r e a t e d   a n d   t e r m i n a t e d   o v e r   t i m e .   A d d i t i o n a l l y ,   P o d G C   c l e a n s   u p   a n y   P o d s   w h i c h   s a t i s f y   a n y   o f   t h e   f o l l o w i n g   c o n d i t i o n s :   a r e   o r p h a n   P o d s   -   b o u n d   t o   a   n o d e   w h i c h   n o   l o n g e r   e x i s t s , a r e   u n s c h e d u l e d   t e r m i n a t i n g   P o d s , a r e   t e r m i n a t i n g   P o d s ,   b o u n d   t o   a   n o n - r e a d y   n o d e   t a i n t e d   w i t h   n o d e . k u b e r n e t e s . i o / o u t - o f - s e r v i c e .   A l o n g   w i t h   c l e a n i n g   u p   t h e   P o d s ,   P o d G C   w i l l   a l s o   m a r k   t h e m   a s   f a i l e d   i f   t h e y   a r e   i n   a   n o n - t e r m i n a l   p h a s e .   A l s o ,   P o d G C   a d d s   a   P o d   d i s r u p t i o n   c o n d i t i o n   w h e n   c l e a n i n g   u p   a n   o r p h a n   P o d .   S e e   P o d   d i s r u p t i o n   c o n d i t i o n s   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11853"
  },
  {
    "question": "What is What's next?",
    "answer": "G e t   h a n d s - o n   e x p e r i e n c e   a t t a c h i n g   h a n d l e r s   t o   c o n t a i n e r   l i f e c y c l e   e v e n t s . G e t   h a n d s - o n   e x p e r i e n c e   c o n f i g u r i n g   L i v e n e s s ,   R e a d i n e s s   a n d   S t a r t u p   P r o b e s . L e a r n   m o r e   a b o u t   c o n t a i n e r   l i f e c y c l e   h o o k s . L e a r n   m o r e   a b o u t   s i d e c a r   c o n t a i n e r s . F o r   d e t a i l e d   i n f o r m a t i o n   a b o u t   P o d   a n d   c o n t a i n e r   s t a t u s   i n   t h e   A P I ,   s e e   t h e   A P I   r e f e r e n c e   d o c u m e n t a t i o n   c o v e r i n g   s t a t u s   f o r   P o d .   G e t   h a n d s - o n   e x p e r i e n c e   a t t a c h i n g   h a n d l e r s   t o   c o n t a i n e r   l i f e c y c l e   e v e n t s .   G e t   h a n d s - o n   e x p e r i e n c e   c o n f i g u r i n g   L i v e n e s s ,   R e a d i n e s s   a n d   S t a r t u p   P r o b e s .   L e a r n   m o r e   a b o u t   c o n t a i n e r   l i f e c y c l e   h o o k s .   L e a r n   m o r e   a b o u t   s i d e c a r   c o n t a i n e r s .   F o r   d e t a i l e d   i n f o r m a t i o n   a b o u t   P o d   a n d   c o n t a i n e r   s t a t u s   i n   t h e   A P I ,   s e e   t h e   A P I   r e f e r e n c e   d o c u m e n t a t i o n   c o v e r i n g   s t a t u s   f o r   P o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11854"
  },
  {
    "question": "What is 4.1.2 - Init Containers?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   o f   i n i t   c o n t a i n e r s :   s p e c i a l i z e d   c o n t a i n e r s   t h a t   r u n   b e f o r e   a p p   c o n t a i n e r s   i n   a   P o d .   I n i t   c o n t a i n e r s   c a n   c o n t a i n   u t i l i t i e s   o r   s e t u p   s c r i p t s   n o t   p r e s e n t   i n   a n   a p p   i m a g e .   Y o u   c a n   s p e c i f y   i n i t   c o n t a i n e r s   i n   t h e   P o d   s p e c i f i c a t i o n   a l o n g s i d e   t h e   c o n t a i n e r s   a r r a y   ( w h i c h   d e s c r i b e s   a p p   c o n t a i n e r s ) .   I n   K u b e r n e t e s ,   a   s i d e c a r   c o n t a i n e r   i s   a   c o n t a i n e r   t h a t   s t a r t s   b e f o r e   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r   a n d   c o n t i n u e s   t o   r u n .   T h i s   d o c u m e n t   i s   a b o u t   i n i t   c o n t a i n e r s :   c o n t a i n e r s   t h a t   r u n   t o   c o m p l e t i o n   d u r i n g   P o d   i n i t i a l i z a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11855"
  },
  {
    "question": "What is Understanding init containers?",
    "answer": "A   P o d   c a n   h a v e   m u l t i p l e   c o n t a i n e r s   r u n n i n g   a p p s   w i t h i n   i t ,   b u t   i t   c a n   a l s o   h a v e   o n e   o r   m o r e   i n i t   c o n t a i n e r s ,   w h i c h   a r e   r u n   b e f o r e   t h e   a p p   c o n t a i n e r s   a r e   s t a r t e d .   I n i t   c o n t a i n e r s   a r e   e x a c t l y   l i k e   r e g u l a r   c o n t a i n e r s ,   e x c e p t :   I n i t   c o n t a i n e r s   a l w a y s   r u n   t o   c o m p l e t i o n . E a c h   i n i t   c o n t a i n e r   m u s t   c o m p l e t e   s u c c e s s f u l l y   b e f o r e   t h e   n e x t   o n e   s t a r t s .   I f   a   P o d ' s   i n i t   c o n t a i n e r   f a i l s ,   t h e   k u b e l e t   r e p e a t e d l y   r e s t a r t s   t h a t   i n i t   c o n t a i n e r   u n t i l   i t   s u c c e e d s .   H o w e v e r ,   i f   t h e   P o d   h a s   a   r e s t a r t P o l i c y   o f   N e v e r ,   a n d   a n   i n i t   c o n t a i n e r   f a i l s   d u r i n g   s t a r t u p   o f   t h a t   P o d ,   K u b e r n e t e s   t r e a t s   t h e   o v e r a l l   P o d   a s   f a i l e d .   T o   s p e c i f y   a n   i n i t   c o n t a i n e r   f o r   a   P o d ,   a d d   t h e   i n i t C o n t a i n e r s   f i e l d   i n t o   t h e   P o d   s p e c i f i c a t i o n ,   a s   a n   a r r a y   o f   c o n t a i n e r   i t e m s   ( s i m i l a r   t o   t h e   a p p   c o n t a i n e r s   f i e l d   a n d   i t s   c o n t e n t s ) .   S e e   C o n t a i n e r   i n   t h e   A P I   r e f e r e n c e   f o r   m o r e   d e t a i l s .   T h e   s t a t u s   o f   t h e   i n i t   c o n t a i n e r s   i s   r e t u r n e d   i n   . s t a t u s . i n i t C o n t a i n e r S t a t u s e s   f i e l d   a s   a n   a r r a y   o f   t h e   c o n t a i n e r   s t a t u s e s   ( s i m i l a r   t o   t h e   . s t a t u s . c o n t a i n e r S t a t u s e s   f i e l ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11856"
  },
  {
    "question": "What is Differences from regular containers?",
    "answer": "I n i t   c o n t a i n e r s   s u p p o r t   a l l   t h e   f i e l d s   a n d   f e a t u r e s   o f   a p p   c o n t a i n e r s ,   i n c l u d i n g   r e s o u r c e   l i m i t s ,   v o l u m e s ,   a n d   s e c u r i t y   s e t t i n g s .   H o w e v e r ,   t h e   r e s o u r c e   r e q u e s t s   a n d   l i m i t s   f o r   a n   i n i t   c o n t a i n e r   a r e   h a n d l e d   d i f f e r e n t l y ,   a s   d o c u m e n t e d   i n   R e s o u r c e   s h a r i n g   w i t h i n   c o n t a i n e r s .   R e g u l a r   i n i t   c o n t a i n e r s   ( i n   o t h e r   w o r d s :   e x c l u d i n g   s i d e c a r   c o n t a i n e r s )   d o   n o t   s u p p o r t   t h e   l i f e c y c l e ,   l i v e n e s s P r o b e ,   r e a d i n e s s P r o b e ,   o r   s t a r t u p P r o b e   f i e l d s .   I n i t   c o n t a i n e r s   m u s t   r u n   t o   c o m p l e t i o n   b e f o r e   t h e   P o d   c a n   b e   r e a d y ;   s i d e c a r   c o n t a i n e r s   c o n t i n u e   r u n n i n g   d u r i n g   a   P o d ' s   l i f e t i m e ,   a n d   d o   s u p p o r t   s o m e   p r o b e s .   S e e   s i d e c a r   c o n t a i n e r   f o r   f u r t h e r   d e t a i l s   a b o u t   s i d e c a r   c o n t a i n e r s .   I f   y o u   s p e c i f y   m u l t i p l e   i n i t   c o n t a i n e r s   f o r   a   P o d ,   k u b e l e t   r u n s   e a c h   i n i t   c o n t a i n e r   s e q u e n t i a l l y .   E a c h   i n i t   c o n t a i n e r   m u s t   s u c c e e d   b e f o r e   t h e   n e x t   c a n   r u n .   W h e n   a l l   o f   t h e   i n i t   c o n t a i n e r s   h a v e   r u n   t o   c o m p l e t i o n ,   k u b e l e t   i n i t i a l i z e s   t h e   a p p l i c a t i o n   c o n t a i n e r s   f o r   t h e   P o d   a n d   r u n s   t h e m   a s   u s u a l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11857"
  },
  {
    "question": "What is Differences from sidecar containers?",
    "answer": "I n i t   c o n t a i n e r s   r u n   a n d   c o m p l e t e   t h e i r   t a s k s   b e f o r e   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r   s t a r t s .   U n l i k e   s i d e c a r   c o n t a i n e r s ,   i n i t   c o n t a i n e r s   a r e   n o t   c o n t i n u o u s l y   r u n n i n g   a l o n g s i d e   t h e   m a i n   c o n t a i n e r s .   I n i t   c o n t a i n e r s   r u n   t o   c o m p l e t i o n   s e q u e n t i a l l y ,   a n d   t h e   m a i n   c o n t a i n e r   d o e s   n o t   s t a r t   u n t i l   a l l   t h e   i n i t   c o n t a i n e r s   h a v e   s u c c e s s f u l l y   c o m p l e t e d .   i n i t   c o n t a i n e r s   d o   n o t   s u p p o r t   l i f e c y c l e ,   l i v e n e s s P r o b e ,   r e a d i n e s s P r o b e ,   o r   s t a r t u p P r o b e   w h e r e a s   s i d e c a r   c o n t a i n e r s   s u p p o r t   a l l   t h e s e   p r o b e s   t o   c o n t r o l   t h e i r   l i f e c y c l e .   I n i t   c o n t a i n e r s   s h a r e   t h e   s a m e   r e s o u r c e s   ( C P U ,   m e m o r y ,   n e t w o r k )   w i t h   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r s   b u t   d o   n o t   i n t e r a c t   d i r e c t l y   w i t h   t h e m .   T h e y   c a n ,   h o w e v e r ,   u s e   s h a r e d   v o l u m e s   f o r   d a t a   e x c h a n g e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11858"
  },
  {
    "question": "What is Using init containers?",
    "answer": "B e c a u s e   i n i t   c o n t a i n e r s   h a v e   s e p a r a t e   i m a g e s   f r o m   a p p   c o n t a i n e r s ,   t h e y   h a v e   s o m e   a d v a n t a g e s   f o r   s t a r t - u p   r e l a t e d   c o d e :   I n i t   c o n t a i n e r s   c a n   c o n t a i n   u t i l i t i e s   o r   c u s t o m   c o d e   f o r   s e t u p   t h a t   a r e   n o t   p r e s e n t   i n   a n   a p p   i m a g e .   F o r   e x a m p l e ,   t h e r e   i s   n o   n e e d   t o   m a k e   a n   i m a g e   F R O M   a n o t h e r   i m a g e   j u s t   t o   u s e   a   t o o l   l i k e   s e d ,   a w k ,   p y t h o n ,   o r   d i g   d u r i n g   s e t u p . T h e   a p p l i c a t i o n   i m a g e   b u i l d e r   a n d   d e p l o y e r   r o l e s   c a n   w o r k   i n d e p e n d e n t l y   w i t h o u t   t h e   n e e d   t o   j o i n t l y   b u i l d   a   s i n g l e   a p p   i m a g e . I n i t   c o n t a i n e r s   c a n   r u n   w i t h   a   d i f f e r e n t   v i e w   o f   t h e   f i l e s y s t e m   t h a n   a p p   c o n t a i n e r s   i n   t h e   s a m e   P o d .   C o n s e q u e n t l y ,   t h e y   c a n   b e   g i v e n   a c c e s s   t o   S e c r e t s   t h a t   a p p   c o n t a i n e r s   c a n n o t   a c c e s s . B e c a u s e   i n i t   c o n t a i n e r s   r u n   t o   c o m p l e t i o n   b e f o r e   a n y   a p p   c o n t a i n e r s   s t a r t ,   i n i t   c o n t a i n e r s   o f f e r   a   m e c h a n i s m   t o   b l o c k   o r   d e l a y   a p p   c o n t a i n e r   s t a r t u p   u n t i l   a   s e t   o f   p r e c o n d i t i o n s   a r e   m e t .   O n c e   p r e c o n d i t i o n s   a r e   m e t ,   a l l   o f   t h e   a p p   c o n t a i n e r s   i n   a   P o d   c a n   s t a r t   i n   p a r a l l e l . I n i t   c o n t a i n e r s   c a n   s e c u r e l y   r u n   u t i l i t i e s   o r   c u s t o m   c o d e   t h a t   w o u l d   o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11859"
  },
  {
    "question": "What is Examples?",
    "answer": "H e r e   a r e   s o m e   i d e a s   f o r   h o w   t o   u s e   i n i t   c o n t a i n e r s :   W a i t   f o r   a   S e r v i c e   t o   b e   c r e a t e d ,   u s i n g   a   s h e l l   o n e - l i n e   c o m m a n d   l i k e : f o r   i   i n   { 1 . . 1 0 0 } ;   d o   s l e e p   1 ;   i f   n s l o o k u p   m y s e r v i c e ;   t h e n   e x i t   0 ;   f i ;   d o n e ;   e x i t   1   R e g i s t e r   t h i s   P o d   w i t h   a   r e m o t e   s e r v e r   f r o m   t h e   d o w n w a r d   A P I   w i t h   a   c o m m a n d   l i k e : c u r l   - X   P O S T   h t t p : / / $ M A N A G E M E N T _ S E R V I C E _ H O S T : $ M A N A G E M E N T _ S E R V I C E _ P O R T / r e g i s t e r   - d   ' i n s t a n c e = $ ( < P O D _ N A M E > ) & i p = $ ( < P O D _ I P > ) '   W a i t   f o r   s o m e   t i m e   b e f o r e   s t a r t i n g   t h e   a p p   c o n t a i n e r   w i t h   a   c o m m a n d   l i k e s l e e p   6 0   C l o n e   a   G i t   r e p o s i t o r y   i n t o   a   V o l u m e P l a c e   v a l u e s   i n t o   a   c o n f i g u r a t i o n   f i l e   a n d   r u n   a   t e m p l a t e   t o o l   t o   d y n a m i c a l l y   g e n e r a t e   a   c o n f i g u r a t i o n   f i l e   f o r   t h e   m a i n   a p p   c o n t a i n e r .   F o r   e x a m p l e ,   p l a c e   t h e   P O D _ I P   v a l u e   i n   a   c o n f i g u r a t i o n   a n d   g e n e r a t e   t h e   m a i n   a p p   c o n f i g u r a t i o n   f i l e   u s i n g   J i n j a .   W a i t   f o r   a   S e r v i c e   t o   b e   c r e a t e d ,   u s i n g   a   s h e l l   o n e - l i n e   c o m m a n d   l i k e :   f o r   i   i n   { 1 . . 1 0 0 } ;   d o   s l e e p   1 ;   i f   n s l o o k u p   m y s e r v i c e ;   t h e n   e x i t   0 ;   f i ;   d o n e ;   e x i t   1   R e g i s t e r   t h i s   P o d   w i t h   a   r e m o t e   s e r v e r   f r o m   t h e   d o w n w a r d   A P I   w i t h   a   c o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11860"
  },
  {
    "question": "What is Init containers in use?",
    "answer": "T h i s   e x a m p l e   d e f i n e s   a   s i m p l e   P o d   t h a t   h a s   t w o   i n i t   c o n t a i n e r s .   T h e   f i r s t   w a i t s   f o r   m y s e r v i c e ,   a n d   t h e   s e c o n d   w a i t s   f o r   m y d b .   O n c e   b o t h   i n i t   c o n t a i n e r s   c o m p l e t e ,   t h e   P o d   r u n s   t h e   a p p   c o n t a i n e r   f r o m   i t s   s p e c   s e c t i o n .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y a p p - p o d   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   s p e c :   c o n t a i n e r s :   -   n a m e :   m y a p p - c o n t a i n e r   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   ' e c h o   T h e   a p p   i s   r u n n i n g !   & &   s l e e p   3 6 0 0 ' ]   i n i t C o n t a i n e r s :   -   n a m e :   i n i t - m y s e r v i c e   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   \" u n t i l   n s l o o k u p   m y s e r v i c e . $ ( c a t   / v a r / r u n / s e c r e t s / k u b e r n e t e s . i o / s e r v i c e a c c o u n t / n a m e s p a c e ) . s v c . c l u s t e r . l o c a l ;   d o   e c h o   w a i t i n g   f o r   m y s e r v i c e ;   s l e e p   2 ;   d o n e \" ]   -   n a m e :   i n i t - m y d b   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   \" u n t i l   n s l o o k u p   m y d b . $ ( c a t   / v a r / r u n / s e c r e t s / k u b e r n e t e s . i o / s e r v i c e a c c o u n t / n a m e s p a c e ) . s v c . c l u s t e r . l o c a l ;   d o   e c h o   w a i t i n g   f o r   m y d b ;   s l e e p   2 ;   d o n e \" ]   Y o u   c a n   s t a r t   t h i s   P o d   b y   r u n n i n g :   k u b e c t l   a p p l y   - f   m y a p p . y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   p o d / m y a p p - p o d   c r e a t e d   A n d   c h e c k   o n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11861"
  },
  {
    "question": "What is Detailed behavior?",
    "answer": "D u r i n g   P o d   s t a r t u p ,   t h e   k u b e l e t   d e l a y s   r u n n i n g   i n i t   c o n t a i n e r s   u n t i l   t h e   n e t w o r k i n g   a n d   s t o r a g e   a r e   r e a d y .   T h e n   t h e   k u b e l e t   r u n s   t h e   P o d ' s   i n i t   c o n t a i n e r s   i n   t h e   o r d e r   t h e y   a p p e a r   i n   t h e   P o d ' s   s p e c .   E a c h   i n i t   c o n t a i n e r   m u s t   e x i t   s u c c e s s f u l l y   b e f o r e   t h e   n e x t   c o n t a i n e r   s t a r t s .   I f   a   c o n t a i n e r   f a i l s   t o   s t a r t   d u e   t o   t h e   r u n t i m e   o r   e x i t s   w i t h   f a i l u r e ,   i t   i s   r e t r i e d   a c c o r d i n g   t o   t h e   P o d   r e s t a r t P o l i c y .   H o w e v e r ,   i f   t h e   P o d   r e s t a r t P o l i c y   i s   s e t   t o   A l w a y s ,   t h e   i n i t   c o n t a i n e r s   u s e   r e s t a r t P o l i c y   O n F a i l u r e .   A   P o d   c a n n o t   b e   R e a d y   u n t i l   a l l   i n i t   c o n t a i n e r s   h a v e   s u c c e e d e d .   T h e   p o r t s   o n   a n   i n i t   c o n t a i n e r   a r e   n o t   a g g r e g a t e d   u n d e r   a   S e r v i c e .   A   P o d   t h a t   i s   i n i t i a l i z i n g   i s   i n   t h e   P e n d i n g   s t a t e   b u t   s h o u l d   h a v e   a   c o n d i t i o n   I n i t i a l i z e d   s e t   t o   f a l s e .   I f   t h e   P o d   r e s t a r t s ,   o r   i s   r e s t a r t e d ,   a l l   i n i t   c o n t a i n e r s   m u s t   e x e c u t e   a g a i n .   C h a n g e s   t o   t h e   i n i t   c o n t a i n e r   s p e c   a r e   l i m i t e d   t o   t h e   c o n t a i n e r   i m a g e   f i e l d .   D i r e c t l y   a l t e r i n g   t h e   i m a g e   f i e l d   o f   a n   i n i t   c o n t a i n e r   d o e s   n o t   r e s t a r t   t h e   P o d   o r   t r i g g e r   i t s   r e c r e a t i o n .   I f   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11862"
  },
  {
    "question": "What is Resource sharing within containers?",
    "answer": "G i v e n   t h e   o r d e r   o f   e x e c u t i o n   f o r   i n i t ,   s i d e c a r   a n d   a p p   c o n t a i n e r s ,   t h e   f o l l o w i n g   r u l e s   f o r   r e s o u r c e   u s a g e   a p p l y :   T h e   h i g h e s t   o f   a n y   p a r t i c u l a r   r e s o u r c e   r e q u e s t   o r   l i m i t   d e f i n e d   o n   a l l   i n i t   c o n t a i n e r s   i s   t h e   e f f e c t i v e   i n i t   r e q u e s t / l i m i t .   I f   a n y   r e s o u r c e   h a s   n o   r e s o u r c e   l i m i t   s p e c i f i e d   t h i s   i s   c o n s i d e r e d   a s   t h e   h i g h e s t   l i m i t . T h e   P o d ' s   e f f e c t i v e   r e q u e s t / l i m i t   f o r   a   r e s o u r c e   i s   t h e   h i g h e r   o f : t h e   s u m   o f   a l l   a p p   c o n t a i n e r s   r e q u e s t / l i m i t   f o r   a   r e s o u r c e t h e   e f f e c t i v e   i n i t   r e q u e s t / l i m i t   f o r   a   r e s o u r c e S c h e d u l i n g   i s   d o n e   b a s e d   o n   e f f e c t i v e   r e q u e s t s / l i m i t s ,   w h i c h   m e a n s   i n i t   c o n t a i n e r s   c a n   r e s e r v e   r e s o u r c e s   f o r   i n i t i a l i z a t i o n   t h a t   a r e   n o t   u s e d   d u r i n g   t h e   l i f e   o f   t h e   P o d . T h e   Q o S   ( q u a l i t y   o f   s e r v i c e )   t i e r   o f   t h e   P o d ' s   e f f e c t i v e   Q o S   t i e r   i s   t h e   Q o S   t i e r   f o r   i n i t   c o n t a i n e r s   a n d   a p p   c o n t a i n e r s   a l i k e .   t h e   s u m   o f   a l l   a p p   c o n t a i n e r s   r e q u e s t / l i m i t   f o r   a   r e s o u r c e t h e   e f f e c t i v e   i n i t   r e q u e s t / l i m i t   f o r   a   r e s o u r c e   Q u o t a   a n d   l i m i t s   a r e   a p p l i e d   b a s e d   o n   t h e   e f f e c t i v e   P o d   r e q u e s t   a n d   l i m i t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11863"
  },
  {
    "question": "What is Init containers and Linux cgroups?",
    "answer": "O n   L i n u x ,   r e s o u r c e   a l l o c a t i o n s   f o r   P o d   l e v e l   c o n t r o l   g r o u p s   ( c g r o u p s )   a r e   b a s e d   o n   t h e   e f f e c t i v e   P o d   r e q u e s t   a n d   l i m i t ,   t h e   s a m e   a s   t h e   s c h e d u l e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11864"
  },
  {
    "question": "What is Pod restart reasons?",
    "answer": "A   P o d   c a n   r e s t a r t ,   c a u s i n g   r e - e x e c u t i o n   o f   i n i t   c o n t a i n e r s ,   f o r   t h e   f o l l o w i n g   r e a s o n s :   T h e   P o d   i n f r a s t r u c t u r e   c o n t a i n e r   i s   r e s t a r t e d .   T h i s   i s   u n c o m m o n   a n d   w o u l d   h a v e   t o   b e   d o n e   b y   s o m e o n e   w i t h   r o o t   a c c e s s   t o   n o d e s . A l l   c o n t a i n e r s   i n   a   P o d   a r e   t e r m i n a t e d   w h i l e   r e s t a r t P o l i c y   i s   s e t   t o   A l w a y s ,   f o r c i n g   a   r e s t a r t ,   a n d   t h e   i n i t   c o n t a i n e r   c o m p l e t i o n   r e c o r d   h a s   b e e n   l o s t   d u e   t o   g a r b a g e   c o l l e c t i o n .   T h e   P o d   w i l l   n o t   b e   r e s t a r t e d   w h e n   t h e   i n i t   c o n t a i n e r   i m a g e   i s   c h a n g e d ,   o r   t h e   i n i t   c o n t a i n e r   c o m p l e t i o n   r e c o r d   h a s   b e e n   l o s t   d u e   t o   g a r b a g e   c o l l e c t i o n .   T h i s   a p p l i e s   f o r   K u b e r n e t e s   v 1 . 2 0   a n d   l a t e r .   I f   y o u   a r e   u s i n g   a n   e a r l i e r   v e r s i o n   o f   K u b e r n e t e s ,   c o n s u l t   t h e   d o c u m e n t a t i o n   f o r   t h e   v e r s i o n   y o u   a r e   u s i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11865"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   t h e   f o l l o w i n g :   C r e a t i n g   a   P o d   t h a t   h a s   a n   i n i t   c o n t a i n e r . D e b u g   i n i t   c o n t a i n e r s . O v e r v i e w   o f   k u b e l e t   a n d   k u b e c t l . T y p e s   o f   p r o b e s :   l i v e n e s s ,   r e a d i n e s s ,   s t a r t u p   p r o b e . S i d e c a r   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11866"
  },
  {
    "question": "What is 4.1.3 - Sidecar Containers?",
    "answer": "S i d e c a r   c o n t a i n e r s   a r e   t h e   s e c o n d a r y   c o n t a i n e r s   t h a t   r u n   a l o n g   w i t h   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r   w i t h i n   t h e   s a m e   P o d .   T h e s e   c o n t a i n e r s   a r e   u s e d   t o   e n h a n c e   o r   t o   e x t e n d   t h e   f u n c t i o n a l i t y   o f   t h e   p r i m a r y   a p p   c o n t a i n e r   b y   p r o v i d i n g   a d d i t i o n a l   s e r v i c e s ,   o r   f u n c t i o n a l i t y   s u c h   a s   l o g g i n g ,   m o n i t o r i n g ,   s e c u r i t y ,   o r   d a t a   s y n c h r o n i z a t i o n ,   w i t h o u t   d i r e c t l y   a l t e r i n g   t h e   p r i m a r y   a p p l i c a t i o n   c o d e .   T y p i c a l l y ,   y o u   o n l y   h a v e   o n e   a p p   c o n t a i n e r   i n   a   P o d .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   w e b   a p p l i c a t i o n   t h a t   r e q u i r e s   a   l o c a l   w e b s e r v e r ,   t h e   l o c a l   w e b s e r v e r   i s   a   s i d e c a r   a n d   t h e   w e b   a p p l i c a t i o n   i t s e l f   i s   t h e   a p p   c o n t a i n e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11867"
  },
  {
    "question": "What is Sidecar containers in Kubernetes?",
    "answer": "K u b e r n e t e s   i m p l e m e n t s   s i d e c a r   c o n t a i n e r s   a s   a   s p e c i a l   c a s e   o f   i n i t   c o n t a i n e r s ;   s i d e c a r   c o n t a i n e r s   r e m a i n   r u n n i n g   a f t e r   P o d   s t a r t u p .   T h i s   d o c u m e n t   u s e s   t h e   t e r m   r e g u l a r   i n i t   c o n t a i n e r s   t o   c l e a r l y   r e f e r   t o   c o n t a i n e r s   t h a t   o n l y   r u n   d u r i n g   P o d   s t a r t u p .   P r o v i d e d   t h a t   y o u r   c l u s t e r   h a s   t h e   S i d e c a r C o n t a i n e r s   f e a t u r e   g a t e   e n a b l e d   ( t h e   f e a t u r e   i s   a c t i v e   b y   d e f a u l t   s i n c e   K u b e r n e t e s   v 1 . 2 9 ) ,   y o u   c a n   s p e c i f y   a   r e s t a r t P o l i c y   f o r   c o n t a i n e r s   l i s t e d   i n   a   P o d ' s   i n i t C o n t a i n e r s   f i e l d .   T h e s e   r e s t a r t a b l e   s i d e c a r   c o n t a i n e r s   a r e   i n d e p e n d e n t   f r o m   o t h e r   i n i t   c o n t a i n e r s   a n d   f r o m   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r ( s )   w i t h i n   t h e   s a m e   p o d .   T h e s e   c a n   b e   s t a r t e d ,   s t o p p e d ,   o r   r e s t a r t e d   w i t h o u t   a f f e c t i n g   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r   a n d   o t h e r   i n i t   c o n t a i n e r s .   Y o u   c a n   a l s o   r u n   a   P o d   w i t h   m u l t i p l e   c o n t a i n e r s   t h a t   a r e   n o t   m a r k e d   a s   i n i t   o r   s i d e c a r   c o n t a i n e r s .   T h i s   i s   a p p r o p r i a t e   i f   t h e   c o n t a i n e r s   w i t h i n   t h e   P o d   a r e   r e q u i r e d   f o r   t h e   P o d   t o   w o r k   o v e r a l l ,   b u t   y o u   d o n ' t   n e e d   t o   c o n t r o l   w h i c h   c o n t a i n e r s   s t a r t   o r   s t o p   f i r s t .   Y o u   c ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11868"
  },
  {
    "question": "What is Example application?",
    "answer": "H e r e ' s   a n   e x a m p l e   o f   a   D e p l o y m e n t   w i t h   t w o   c o n t a i n e r s ,   o n e   o f   w h i c h   i s   a   s i d e c a r :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   m y a p p   l a b e l s :   a p p :   m y a p p   s p e c :   r e p l i c a s :   1   s e l e c t o r :   m a t c h L a b e l s :   a p p :   m y a p p   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   m y a p p   s p e c :   c o n t a i n e r s :   -   n a m e :   m y a p p   i m a g e :   a l p i n e : l a t e s t   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   ' w h i l e   t r u e ;   d o   e c h o   \" l o g g i n g \"   > >   / o p t / l o g s . t x t ;   s l e e p   1 ;   d o n e ' ]   v o l u m e M o u n t s :   -   n a m e :   d a t a   m o u n t P a t h :   / o p t   i n i t C o n t a i n e r s :   -   n a m e :   l o g s h i p p e r   i m a g e :   a l p i n e : l a t e s t   r e s t a r t P o l i c y :   A l w a y s   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   ' t a i l   - F   / o p t / l o g s . t x t ' ]   v o l u m e M o u n t s :   -   n a m e :   d a t a   m o u n t P a t h :   / o p t   v o l u m e s :   -   n a m e :   d a t a   e m p t y D i r :   { }",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11869"
  },
  {
    "question": "What is Sidecar containers and Pod lifecycle?",
    "answer": "I f   a n   i n i t   c o n t a i n e r   i s   c r e a t e d   w i t h   i t s   r e s t a r t P o l i c y   s e t   t o   A l w a y s ,   i t   w i l l   s t a r t   a n d   r e m a i n   r u n n i n g   d u r i n g   t h e   e n t i r e   l i f e   o f   t h e   P o d .   T h i s   c a n   b e   h e l p f u l   f o r   r u n n i n g   s u p p o r t i n g   s e r v i c e s   s e p a r a t e d   f r o m   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r s .   I f   a   r e a d i n e s s P r o b e   i s   s p e c i f i e d   f o r   t h i s   i n i t   c o n t a i n e r ,   i t s   r e s u l t   w i l l   b e   u s e d   t o   d e t e r m i n e   t h e   r e a d y   s t a t e   o f   t h e   P o d .   S i n c e   t h e s e   c o n t a i n e r s   a r e   d e f i n e d   a s   i n i t   c o n t a i n e r s ,   t h e y   b e n e f i t   f r o m   t h e   s a m e   o r d e r i n g   a n d   s e q u e n t i a l   g u a r a n t e e s   a s   r e g u l a r   i n i t   c o n t a i n e r s ,   a l l o w i n g   y o u   t o   m i x   s i d e c a r   c o n t a i n e r s   w i t h   r e g u l a r   i n i t   c o n t a i n e r s   f o r   c o m p l e x   P o d   i n i t i a l i z a t i o n   f l o w s .   C o m p a r e d   t o   r e g u l a r   i n i t   c o n t a i n e r s ,   s i d e c a r s   d e f i n e d   w i t h i n   i n i t C o n t a i n e r s   c o n t i n u e   t o   r u n   a f t e r   t h e y   h a v e   s t a r t e d .   T h i s   i s   i m p o r t a n t   w h e n   t h e r e   i s   m o r e   t h a n   o n e   e n t r y   i n s i d e   . s p e c . i n i t C o n t a i n e r s   f o r   a   P o d .   A f t e r   a   s i d e c a r - s t y l e   i n i t   c o n t a i n e r   i s   r u n n i n g   ( t h e   k u b e l e t   h a s   s e t   t h e   s t a r t e d   s t a t u s   f o r   t h a t   i n i t   c o n t a i n e r   t o   t r u e ) ,   t h e   k u b e l e t   t h e n   s t a r t s   t h e   n e x t   i n i t   c o n t a i n e r   f r o m   t h e   o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11870"
  },
  {
    "question": "What is Jobs with sidecar containers?",
    "answer": "I f   y o u   d e f i n e   a   J o b   t h a t   u s e s   s i d e c a r   u s i n g   K u b e r n e t e s - s t y l e   i n i t   c o n t a i n e r s ,   t h e   s i d e c a r   c o n t a i n e r   i n   e a c h   P o d   d o e s   n o t   p r e v e n t   t h e   J o b   f r o m   c o m p l e t i n g   a f t e r   t h e   m a i n   c o n t a i n e r   h a s   f i n i s h e d .   H e r e ' s   a n   e x a m p l e   o f   a   J o b   w i t h   t w o   c o n t a i n e r s ,   o n e   o f   w h i c h   i s   a   s i d e c a r :   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   m y j o b   s p e c :   t e m p l a t e :   s p e c :   c o n t a i n e r s :   -   n a m e :   m y j o b   i m a g e :   a l p i n e : l a t e s t   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   ' e c h o   \" l o g g i n g \"   >   / o p t / l o g s . t x t ' ]   v o l u m e M o u n t s :   -   n a m e :   d a t a   m o u n t P a t h :   / o p t   i n i t C o n t a i n e r s :   -   n a m e :   l o g s h i p p e r   i m a g e :   a l p i n e : l a t e s t   r e s t a r t P o l i c y :   A l w a y s   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   ' t a i l   - F   / o p t / l o g s . t x t ' ]   v o l u m e M o u n t s :   -   n a m e :   d a t a   m o u n t P a t h :   / o p t   r e s t a r t P o l i c y :   N e v e r   v o l u m e s :   -   n a m e :   d a t a   e m p t y D i r :   { }",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11871"
  },
  {
    "question": "What is Differences from application containers?",
    "answer": "S i d e c a r   c o n t a i n e r s   r u n   a l o n g s i d e   a p p   c o n t a i n e r s   i n   t h e   s a m e   p o d .   H o w e v e r ,   t h e y   d o   n o t   e x e c u t e   t h e   p r i m a r y   a p p l i c a t i o n   l o g i c ;   i n s t e a d ,   t h e y   p r o v i d e   s u p p o r t i n g   f u n c t i o n a l i t y   t o   t h e   m a i n   a p p l i c a t i o n .   S i d e c a r   c o n t a i n e r s   h a v e   t h e i r   o w n   i n d e p e n d e n t   l i f e c y c l e s .   T h e y   c a n   b e   s t a r t e d ,   s t o p p e d ,   a n d   r e s t a r t e d   i n d e p e n d e n t l y   o f   a p p   c o n t a i n e r s .   T h i s   m e a n s   y o u   c a n   u p d a t e ,   s c a l e ,   o r   m a i n t a i n   s i d e c a r   c o n t a i n e r s   w i t h o u t   a f f e c t i n g   t h e   p r i m a r y   a p p l i c a t i o n .   S i d e c a r   c o n t a i n e r s   s h a r e   t h e   s a m e   n e t w o r k   a n d   s t o r a g e   n a m e s p a c e s   w i t h   t h e   p r i m a r y   c o n t a i n e r .   T h i s   c o - l o c a t i o n   a l l o w s   t h e m   t o   i n t e r a c t   c l o s e l y   a n d   s h a r e   r e s o u r c e s .   F r o m   a   K u b e r n e t e s   p e r s p e c t i v e ,   t h e   s i d e c a r   c o n t a i n e r ' s   g r a c e f u l   t e r m i n a t i o n   i s   l e s s   i m p o r t a n t .   W h e n   o t h e r   c o n t a i n e r s   t a k e   a l l   a l l o t t e d   g r a c e f u l   t e r m i n a t i o n   t i m e ,   t h e   s i d e c a r   c o n t a i n e r s   w i l l   r e c e i v e   t h e   S I G T E R M   s i g n a l ,   f o l l o w e d   b y   t h e   S I G K I L L   s i g n a l ,   b e f o r e   t h e y   h a v e   t i m e   t o   t e r m i n a t e   g r a c e f u l l y .   S o   e x i t   c o d e s   d i f f e r e n t   f r o m   0   ( 0   i n d i c a t e s   s u c c e s s f u l   e x i t ) ,   f o r   s i d e c a r   c o n t a i n e r s   a r e   n o r m a l   o n   P ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11872"
  },
  {
    "question": "What is Differences from init containers?",
    "answer": "S i d e c a r   c o n t a i n e r s   w o r k   a l o n g s i d e   t h e   m a i n   c o n t a i n e r ,   e x t e n d i n g   i t s   f u n c t i o n a l i t y   a n d   p r o v i d i n g   a d d i t i o n a l   s e r v i c e s .   S i d e c a r   c o n t a i n e r s   r u n   c o n c u r r e n t l y   w i t h   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r .   T h e y   a r e   a c t i v e   t h r o u g h o u t   t h e   l i f e c y c l e   o f   t h e   p o d   a n d   c a n   b e   s t a r t e d   a n d   s t o p p e d   i n d e p e n d e n t l y   o f   t h e   m a i n   c o n t a i n e r .   U n l i k e   i n i t   c o n t a i n e r s ,   s i d e c a r   c o n t a i n e r s   s u p p o r t   p r o b e s   t o   c o n t r o l   t h e i r   l i f e c y c l e .   S i d e c a r   c o n t a i n e r s   c a n   i n t e r a c t   d i r e c t l y   w i t h   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r s ,   b e c a u s e   l i k e   i n i t   c o n t a i n e r s   t h e y   a l w a y s   s h a r e   t h e   s a m e   n e t w o r k ,   a n d   c a n   o p t i o n a l l y   a l s o   s h a r e   v o l u m e s   ( f i l e s y s t e m s ) .   I n i t   c o n t a i n e r s   s t o p   b e f o r e   t h e   m a i n   c o n t a i n e r s   s t a r t   u p ,   s o   i n i t   c o n t a i n e r s   c a n n o t   e x c h a n g e   m e s s a g e s   w i t h   t h e   a p p   c o n t a i n e r   i n   a   P o d .   A n y   d a t a   p a s s i n g   i s   o n e - w a y   ( f o r   e x a m p l e ,   a n   i n i t   c o n t a i n e r   c a n   p u t   i n f o r m a t i o n   i n s i d e   a n   e m p t y D i r   v o l u m e ) .   C h a n g i n g   t h e   i m a g e   o f   a   s i d e c a r   c o n t a i n e r   w i l l   n o t   c a u s e   t h e   P o d   t o   r e s t a r t ,   b u t   w i l l   t r i g g e r   a   c o n t a i n e r   r e s t a r t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11873"
  },
  {
    "question": "What is Resource sharing within containers?",
    "answer": "G i v e n   t h e   o r d e r   o f   e x e c u t i o n   f o r   i n i t ,   s i d e c a r   a n d   a p p   c o n t a i n e r s ,   t h e   f o l l o w i n g   r u l e s   f o r   r e s o u r c e   u s a g e   a p p l y :   T h e   h i g h e s t   o f   a n y   p a r t i c u l a r   r e s o u r c e   r e q u e s t   o r   l i m i t   d e f i n e d   o n   a l l   i n i t   c o n t a i n e r s   i s   t h e   e f f e c t i v e   i n i t   r e q u e s t / l i m i t .   I f   a n y   r e s o u r c e   h a s   n o   r e s o u r c e   l i m i t   s p e c i f i e d   t h i s   i s   c o n s i d e r e d   a s   t h e   h i g h e s t   l i m i t . T h e   P o d ' s   e f f e c t i v e   r e q u e s t / l i m i t   f o r   a   r e s o u r c e   i s   t h e   s u m   o f   p o d   o v e r h e a d   a n d   t h e   h i g h e r   o f : t h e   s u m   o f   a l l   n o n - i n i t   c o n t a i n e r s ( a p p   a n d   s i d e c a r   c o n t a i n e r s )   r e q u e s t / l i m i t   f o r   a   r e s o u r c e t h e   e f f e c t i v e   i n i t   r e q u e s t / l i m i t   f o r   a   r e s o u r c e S c h e d u l i n g   i s   d o n e   b a s e d   o n   e f f e c t i v e   r e q u e s t s / l i m i t s ,   w h i c h   m e a n s   i n i t   c o n t a i n e r s   c a n   r e s e r v e   r e s o u r c e s   f o r   i n i t i a l i z a t i o n   t h a t   a r e   n o t   u s e d   d u r i n g   t h e   l i f e   o f   t h e   P o d . T h e   Q o S   ( q u a l i t y   o f   s e r v i c e )   t i e r   o f   t h e   P o d ' s   e f f e c t i v e   Q o S   t i e r   i s   t h e   Q o S   t i e r   f o r   a l l   i n i t ,   s i d e c a r   a n d   a p p   c o n t a i n e r s   a l i k e .   t h e   s u m   o f   a l l   n o n - i n i t   c o n t a i n e r s ( a p p   a n d   s i d e c a r   c o n t a i n e r s )   r e q u e s t / l i m i t   f o r   a   r e s o u r c e t h e   e f f e c t i v e   i n i t   r e q u e s t / l i m i t   f o r   a   r e s o u r c e   Q u o t a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11874"
  },
  {
    "question": "What is Sidecar containers and Linux cgroups?",
    "answer": "O n   L i n u x ,   r e s o u r c e   a l l o c a t i o n s   f o r   P o d   l e v e l   c o n t r o l   g r o u p s   ( c g r o u p s )   a r e   b a s e d   o n   t h e   e f f e c t i v e   P o d   r e q u e s t   a n d   l i m i t ,   t h e   s a m e   a s   t h e   s c h e d u l e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11875"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   A d o p t   S i d e c a r   C o n t a i n e r s R e a d   a   b l o g   p o s t   o n   n a t i v e   s i d e c a r   c o n t a i n e r s . R e a d   a b o u t   c r e a t i n g   a   P o d   t h a t   h a s   a n   i n i t   c o n t a i n e r . L e a r n   a b o u t   t h e   t y p e s   o f   p r o b e s :   l i v e n e s s ,   r e a d i n e s s ,   s t a r t u p   p r o b e . L e a r n   a b o u t   p o d   o v e r h e a d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11876"
  },
  {
    "question": "What is 4.1.4 - Ephemeral Containers?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   o f   e p h e m e r a l   c o n t a i n e r s :   a   s p e c i a l   t y p e   o f   c o n t a i n e r   t h a t   r u n s   t e m p o r a r i l y   i n   a n   e x i s t i n g   P o d   t o   a c c o m p l i s h   u s e r - i n i t i a t e d   a c t i o n s   s u c h   a s   t r o u b l e s h o o t i n g .   Y o u   u s e   e p h e m e r a l   c o n t a i n e r s   t o   i n s p e c t   s e r v i c e s   r a t h e r   t h a n   t o   b u i l d   a p p l i c a t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11877"
  },
  {
    "question": "What is Understanding ephemeral containers?",
    "answer": "P o d s   a r e   t h e   f u n d a m e n t a l   b u i l d i n g   b l o c k   o f   K u b e r n e t e s   a p p l i c a t i o n s .   S i n c e   P o d s   a r e   i n t e n d e d   t o   b e   d i s p o s a b l e   a n d   r e p l a c e a b l e ,   y o u   c a n n o t   a d d   a   c o n t a i n e r   t o   a   P o d   o n c e   i t   h a s   b e e n   c r e a t e d .   I n s t e a d ,   y o u   u s u a l l y   d e l e t e   a n d   r e p l a c e   P o d s   i n   a   c o n t r o l l e d   f a s h i o n   u s i n g   d e p l o y m e n t s .   S o m e t i m e s   i t ' s   n e c e s s a r y   t o   i n s p e c t   t h e   s t a t e   o f   a n   e x i s t i n g   P o d ,   h o w e v e r ,   f o r   e x a m p l e   t o   t r o u b l e s h o o t   a   h a r d - t o - r e p r o d u c e   b u g .   I n   t h e s e   c a s e s   y o u   c a n   r u n   a n   e p h e m e r a l   c o n t a i n e r   i n   a n   e x i s t i n g   P o d   t o   i n s p e c t   i t s   s t a t e   a n d   r u n   a r b i t r a r y   c o m m a n d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11878"
  },
  {
    "question": "What is What is an ephemeral container??",
    "answer": "E p h e m e r a l   c o n t a i n e r s   d i f f e r   f r o m   o t h e r   c o n t a i n e r s   i n   t h a t   t h e y   l a c k   g u a r a n t e e s   f o r   r e s o u r c e s   o r   e x e c u t i o n ,   a n d   t h e y   w i l l   n e v e r   b e   a u t o m a t i c a l l y   r e s t a r t e d ,   s o   t h e y   a r e   n o t   a p p r o p r i a t e   f o r   b u i l d i n g   a p p l i c a t i o n s .   E p h e m e r a l   c o n t a i n e r s   a r e   d e s c r i b e d   u s i n g   t h e   s a m e   C o n t a i n e r S p e c   a s   r e g u l a r   c o n t a i n e r s ,   b u t   m a n y   f i e l d s   a r e   i n c o m p a t i b l e   a n d   d i s a l l o w e d   f o r   e p h e m e r a l   c o n t a i n e r s .   E p h e m e r a l   c o n t a i n e r s   m a y   n o t   h a v e   p o r t s ,   s o   f i e l d s   s u c h   a s   p o r t s ,   l i v e n e s s P r o b e ,   r e a d i n e s s P r o b e   a r e   d i s a l l o w e d . P o d   r e s o u r c e   a l l o c a t i o n s   a r e   i m m u t a b l e ,   s o   s e t t i n g   r e s o u r c e s   i s   d i s a l l o w e d . F o r   a   c o m p l e t e   l i s t   o f   a l l o w e d   f i e l d s ,   s e e   t h e   E p h e m e r a l C o n t a i n e r   r e f e r e n c e   d o c u m e n t a t i o n .   E p h e m e r a l   c o n t a i n e r s   a r e   c r e a t e d   u s i n g   a   s p e c i a l   e p h e m e r a l c o n t a i n e r s   h a n d l e r   i n   t h e   A P I   r a t h e r   t h a n   b y   a d d i n g   t h e m   d i r e c t l y   t o   p o d . s p e c ,   s o   i t ' s   n o t   p o s s i b l e   t o   a d d   a n   e p h e m e r a l   c o n t a i n e r   u s i n g   k u b e c t l   e d i t .   L i k e   r e g u l a r   c o n t a i n e r s ,   y o u   m a y   n o t   c h a n g e   o r   r e m o v e   a n   e p h e m e r a l   c o n t a i n e r   a f t e r   y o u   h a v e   a d d e d   i t   t o   a   P o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11879"
  },
  {
    "question": "What is Uses for ephemeral containers?",
    "answer": "E p h e m e r a l   c o n t a i n e r s   a r e   u s e f u l   f o r   i n t e r a c t i v e   t r o u b l e s h o o t i n g   w h e n   k u b e c t l   e x e c   i s   i n s u f f i c i e n t   b e c a u s e   a   c o n t a i n e r   h a s   c r a s h e d   o r   a   c o n t a i n e r   i m a g e   d o e s n ' t   i n c l u d e   d e b u g g i n g   u t i l i t i e s .   I n   p a r t i c u l a r ,   d i s t r o l e s s   i m a g e s   e n a b l e   y o u   t o   d e p l o y   m i n i m a l   c o n t a i n e r   i m a g e s   t h a t   r e d u c e   a t t a c k   s u r f a c e   a n d   e x p o s u r e   t o   b u g s   a n d   v u l n e r a b i l i t i e s .   S i n c e   d i s t r o l e s s   i m a g e s   d o   n o t   i n c l u d e   a   s h e l l   o r   a n y   d e b u g g i n g   u t i l i t i e s ,   i t ' s   d i f f i c u l t   t o   t r o u b l e s h o o t   d i s t r o l e s s   i m a g e s   u s i n g   k u b e c t l   e x e c   a l o n e .   W h e n   u s i n g   e p h e m e r a l   c o n t a i n e r s ,   i t ' s   h e l p f u l   t o   e n a b l e   p r o c e s s   n a m e s p a c e   s h a r i n g   s o   y o u   c a n   v i e w   p r o c e s s e s   i n   o t h e r   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11880"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   d e b u g   p o d s   u s i n g   e p h e m e r a l   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11881"
  },
  {
    "question": "What is 4.1.5 - Disruptions?",
    "answer": "T h i s   g u i d e   i s   f o r   a p p l i c a t i o n   o w n e r s   w h o   w a n t   t o   b u i l d   h i g h l y   a v a i l a b l e   a p p l i c a t i o n s ,   a n d   t h u s   n e e d   t o   u n d e r s t a n d   w h a t   t y p e s   o f   d i s r u p t i o n s   c a n   h a p p e n   t o   P o d s .   I t   i s   a l s o   f o r   c l u s t e r   a d m i n i s t r a t o r s   w h o   w a n t   t o   p e r f o r m   a u t o m a t e d   c l u s t e r   a c t i o n s ,   l i k e   u p g r a d i n g   a n d   a u t o s c a l i n g   c l u s t e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11882"
  },
  {
    "question": "What is Voluntary and involuntary disruptions?",
    "answer": "P o d s   d o   n o t   d i s a p p e a r   u n t i l   s o m e o n e   ( a   p e r s o n   o r   a   c o n t r o l l e r )   d e s t r o y s   t h e m ,   o r   t h e r e   i s   a n   u n a v o i d a b l e   h a r d w a r e   o r   s y s t e m   s o f t w a r e   e r r o r .   W e   c a l l   t h e s e   u n a v o i d a b l e   c a s e s   i n v o l u n t a r y   d i s r u p t i o n s   t o   a n   a p p l i c a t i o n .   E x a m p l e s   a r e :   a   h a r d w a r e   f a i l u r e   o f   t h e   p h y s i c a l   m a c h i n e   b a c k i n g   t h e   n o d e c l u s t e r   a d m i n i s t r a t o r   d e l e t e s   V M   ( i n s t a n c e )   b y   m i s t a k e c l o u d   p r o v i d e r   o r   h y p e r v i s o r   f a i l u r e   m a k e s   V M   d i s a p p e a r a   k e r n e l   p a n i c t h e   n o d e   d i s a p p e a r s   f r o m   t h e   c l u s t e r   d u e   t o   c l u s t e r   n e t w o r k   p a r t i t i o n e v i c t i o n   o f   a   p o d   d u e   t o   t h e   n o d e   b e i n g   o u t - o f - r e s o u r c e s .   E x c e p t   f o r   t h e   o u t - o f - r e s o u r c e s   c o n d i t i o n ,   a l l   t h e s e   c o n d i t i o n s   s h o u l d   b e   f a m i l i a r   t o   m o s t   u s e r s ;   t h e y   a r e   n o t   s p e c i f i c   t o   K u b e r n e t e s .   W e   c a l l   o t h e r   c a s e s   v o l u n t a r y   d i s r u p t i o n s .   T h e s e   i n c l u d e   b o t h   a c t i o n s   i n i t i a t e d   b y   t h e   a p p l i c a t i o n   o w n e r   a n d   t h o s e   i n i t i a t e d   b y   a   C l u s t e r   A d m i n i s t r a t o r .   T y p i c a l   a p p l i c a t i o n   o w n e r   a c t i o n s   i n c l u d e :   d e l e t i n g   t h e   d e p l o y m e n t   o r   o t h e r   c o n t r o l l e r   t h a t   m a n a g e s   t h e   p o d u p d a t i n g   a   d e p l o y m e n t ' s   p o d   t e m p l a t e   c a u s i n g   a   r e s t a r t d i r e c t l y   d e l e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11883"
  },
  {
    "question": "What is Dealing with disruptions?",
    "answer": "H e r e   a r e   s o m e   w a y s   t o   m i t i g a t e   i n v o l u n t a r y   d i s r u p t i o n s :   E n s u r e   y o u r   p o d   r e q u e s t s   t h e   r e s o u r c e s   i t   n e e d s . R e p l i c a t e   y o u r   a p p l i c a t i o n   i f   y o u   n e e d   h i g h e r   a v a i l a b i l i t y .   ( L e a r n   a b o u t   r u n n i n g   r e p l i c a t e d   s t a t e l e s s   a n d   s t a t e f u l   a p p l i c a t i o n s . ) F o r   e v e n   h i g h e r   a v a i l a b i l i t y   w h e n   r u n n i n g   r e p l i c a t e d   a p p l i c a t i o n s ,   s p r e a d   a p p l i c a t i o n s   a c r o s s   r a c k s   ( u s i n g   a n t i - a f f i n i t y )   o r   a c r o s s   z o n e s   ( i f   u s i n g   a   m u l t i - z o n e   c l u s t e r . )   T h e   f r e q u e n c y   o f   v o l u n t a r y   d i s r u p t i o n s   v a r i e s .   O n   a   b a s i c   K u b e r n e t e s   c l u s t e r ,   t h e r e   a r e   n o   a u t o m a t e d   v o l u n t a r y   d i s r u p t i o n s   ( o n l y   u s e r - t r i g g e r e d   o n e s ) .   H o w e v e r ,   y o u r   c l u s t e r   a d m i n i s t r a t o r   o r   h o s t i n g   p r o v i d e r   m a y   r u n   s o m e   a d d i t i o n a l   s e r v i c e s   w h i c h   c a u s e   v o l u n t a r y   d i s r u p t i o n s .   F o r   e x a m p l e ,   r o l l i n g   o u t   n o d e   s o f t w a r e   u p d a t e s   c a n   c a u s e   v o l u n t a r y   d i s r u p t i o n s .   A l s o ,   s o m e   i m p l e m e n t a t i o n s   o f   c l u s t e r   ( n o d e )   a u t o s c a l i n g   m a y   c a u s e   v o l u n t a r y   d i s r u p t i o n s   t o   d e f r a g m e n t   a n d   c o m p a c t   n o d e s .   Y o u r   c l u s t e r   a d m i n i s t r a t o r   o r   h o s t i n g   p r o v i d e r   s h o u l d   h a v e   d o c u m e n t e d   w h a t   l e v e l   o f   v o l u n t a r y   d i s r u p t i o n s ,   i f   a n y ,   t o   e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11884"
  },
  {
    "question": "What is Pod disruption budgets?",
    "answer": "K u b e r n e t e s   o f f e r s   f e a t u r e s   t o   h e l p   y o u   r u n   h i g h l y   a v a i l a b l e   a p p l i c a t i o n s   e v e n   w h e n   y o u   i n t r o d u c e   f r e q u e n t   v o l u n t a r y   d i s r u p t i o n s .   A s   a n   a p p l i c a t i o n   o w n e r ,   y o u   c a n   c r e a t e   a   P o d D i s r u p t i o n B u d g e t   ( P D B )   f o r   e a c h   a p p l i c a t i o n .   A   P D B   l i m i t s   t h e   n u m b e r   o f   P o d s   o f   a   r e p l i c a t e d   a p p l i c a t i o n   t h a t   a r e   d o w n   s i m u l t a n e o u s l y   f r o m   v o l u n t a r y   d i s r u p t i o n s .   F o r   e x a m p l e ,   a   q u o r u m - b a s e d   a p p l i c a t i o n   w o u l d   l i k e   t o   e n s u r e   t h a t   t h e   n u m b e r   o f   r e p l i c a s   r u n n i n g   i s   n e v e r   b r o u g h t   b e l o w   t h e   n u m b e r   n e e d e d   f o r   a   q u o r u m .   A   w e b   f r o n t   e n d   m i g h t   w a n t   t o   e n s u r e   t h a t   t h e   n u m b e r   o f   r e p l i c a s   s e r v i n g   l o a d   n e v e r   f a l l s   b e l o w   a   c e r t a i n   p e r c e n t a g e   o f   t h e   t o t a l .   C l u s t e r   m a n a g e r s   a n d   h o s t i n g   p r o v i d e r s   s h o u l d   u s e   t o o l s   w h i c h   r e s p e c t   P o d D i s r u p t i o n B u d g e t s   b y   c a l l i n g   t h e   E v i c t i o n   A P I   i n s t e a d   o f   d i r e c t l y   d e l e t i n g   p o d s   o r   d e p l o y m e n t s .   F o r   e x a m p l e ,   t h e   k u b e c t l   d r a i n   s u b c o m m a n d   l e t s   y o u   m a r k   a   n o d e   a s   g o i n g   o u t   o f   s e r v i c e .   W h e n   y o u   r u n   k u b e c t l   d r a i n ,   t h e   t o o l   t r i e s   t o   e v i c t   a l l   o f   t h e   P o d s   o n   t h e   N o d e   y o u ' r e   t a k i n g   o u t   o f   s e r v i c e .   T h e   e v i c t i o n   r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11885"
  },
  {
    "question": "What is PodDisruptionBudget example?",
    "answer": "C o n s i d e r   a   c l u s t e r   w i t h   3   n o d e s ,   n o d e - 1   t h r o u g h   n o d e - 3 .   T h e   c l u s t e r   i s   r u n n i n g   s e v e r a l   a p p l i c a t i o n s .   O n e   o f   t h e m   h a s   3   r e p l i c a s   i n i t i a l l y   c a l l e d   p o d - a ,   p o d - b ,   a n d   p o d - c .   A n o t h e r ,   u n r e l a t e d   p o d   w i t h o u t   a   P D B ,   c a l l e d   p o d - x ,   i s   a l s o   s h o w n .   I n i t i a l l y ,   t h e   p o d s   a r e   l a i d   o u t   a s   f o l l o w s :   A l l   3   p o d s   a r e   p a r t   o f   a   d e p l o y m e n t ,   a n d   t h e y   c o l l e c t i v e l y   h a v e   a   P D B   w h i c h   r e q u i r e s   t h e r e   b e   a t   l e a s t   2   o f   t h e   3   p o d s   t o   b e   a v a i l a b l e   a t   a l l   t i m e s .   F o r   e x a m p l e ,   a s s u m e   t h e   c l u s t e r   a d m i n i s t r a t o r   w a n t s   t o   r e b o o t   i n t o   a   n e w   k e r n e l   v e r s i o n   t o   f i x   a   b u g   i n   t h e   k e r n e l .   T h e   c l u s t e r   a d m i n i s t r a t o r   f i r s t   t r i e s   t o   d r a i n   n o d e - 1   u s i n g   t h e   k u b e c t l   d r a i n   c o m m a n d .   T h a t   t o o l   t r i e s   t o   e v i c t   p o d - a   a n d   p o d - x .   T h i s   s u c c e e d s   i m m e d i a t e l y .   B o t h   p o d s   g o   i n t o   t h e   t e r m i n a t i n g   s t a t e   a t   t h e   s a m e   t i m e .   T h i s   p u t s   t h e   c l u s t e r   i n   t h i s   s t a t e :   T h e   d e p l o y m e n t   n o t i c e s   t h a t   o n e   o f   t h e   p o d s   i s   t e r m i n a t i n g ,   s o   i t   c r e a t e s   a   r e p l a c e m e n t   c a l l e d   p o d - d .   S i n c e   n o d e - 1   i s   c o r d o n e d ,   i t   l a n d s   o n   a n o t h e r   n o d e .   S o m e t h i n g   h a s   a l s o   c r e a t e d   p o d - y   a s   a   r e p l a c e m e n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11886"
  },
  {
    "question": "What is Pod disruption conditions?",
    "answer": "A   d e d i c a t e d   P o d   D i s r u p t i o n T a r g e t   c o n d i t i o n   i s   a d d e d   t o   i n d i c a t e   t h a t   t h e   P o d   i s   a b o u t   t o   b e   d e l e t e d   d u e   t o   a   d i s r u p t i o n .   T h e   r e a s o n   f i e l d   o f   t h e   c o n d i t i o n   a d d i t i o n a l l y   i n d i c a t e s   o n e   o f   t h e   f o l l o w i n g   r e a s o n s   f o r   t h e   P o d   t e r m i n a t i o n :   I n   a l l   o t h e r   d i s r u p t i o n   s c e n a r i o s ,   l i k e   e v i c t i o n   d u e   t o   e x c e e d i n g   P o d   c o n t a i n e r   l i m i t s ,   P o d s   d o n ' t   r e c e i v e   t h e   D i s r u p t i o n T a r g e t   c o n d i t i o n   b e c a u s e   t h e   d i s r u p t i o n s   w e r e   p r o b a b l y   c a u s e d   b y   t h e   P o d   a n d   w o u l d   r e o c c u r   o n   r e t r y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11887"
  },
  {
    "question": "What is Note:?",
    "answer": "A l o n g   w i t h   c l e a n i n g   u p   t h e   p o d s ,   t h e   P o d   g a r b a g e   c o l l e c t o r   ( P o d G C )   w i l l   a l s o   m a r k   t h e m   a s   f a i l e d   i f   t h e y   a r e   i n   a   n o n - t e r m i n a l   p h a s e   ( s e e   a l s o   P o d   g a r b a g e   c o l l e c t i o n ) .   W h e n   u s i n g   a   J o b   ( o r   C r o n J o b ) ,   y o u   m a y   w a n t   t o   u s e   t h e s e   P o d   d i s r u p t i o n   c o n d i t i o n s   a s   p a r t   o f   y o u r   J o b ' s   P o d   f a i l u r e   p o l i c y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11888"
  },
  {
    "question": "What is Separating Cluster Owner and Application Owner Roles?",
    "answer": "O f t e n ,   i t   i s   u s e f u l   t o   t h i n k   o f   t h e   C l u s t e r   M a n a g e r   a n d   A p p l i c a t i o n   O w n e r   a s   s e p a r a t e   r o l e s   w i t h   l i m i t e d   k n o w l e d g e   o f   e a c h   o t h e r .   T h i s   s e p a r a t i o n   o f   r e s p o n s i b i l i t i e s   m a y   m a k e   s e n s e   i n   t h e s e   s c e n a r i o s :   w h e n   t h e r e   a r e   m a n y   a p p l i c a t i o n   t e a m s   s h a r i n g   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e r e   i s   n a t u r a l   s p e c i a l i z a t i o n   o f   r o l e s w h e n   t h i r d - p a r t y   t o o l s   o r   s e r v i c e s   a r e   u s e d   t o   a u t o m a t e   c l u s t e r   m a n a g e m e n t   P o d   D i s r u p t i o n   B u d g e t s   s u p p o r t   t h i s   s e p a r a t i o n   o f   r o l e s   b y   p r o v i d i n g   a n   i n t e r f a c e   b e t w e e n   t h e   r o l e s .   I f   y o u   d o   n o t   h a v e   s u c h   a   s e p a r a t i o n   o f   r e s p o n s i b i l i t i e s   i n   y o u r   o r g a n i z a t i o n ,   y o u   m a y   n o t   n e e d   t o   u s e   P o d   D i s r u p t i o n   B u d g e t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11889"
  },
  {
    "question": "What is How to perform Disruptive Actions on your Cluster?",
    "answer": "I f   y o u   a r e   a   C l u s t e r   A d m i n i s t r a t o r ,   a n d   y o u   n e e d   t o   p e r f o r m   a   d i s r u p t i v e   a c t i o n   o n   a l l   t h e   n o d e s   i n   y o u r   c l u s t e r ,   s u c h   a s   a   n o d e   o r   s y s t e m   s o f t w a r e   u p g r a d e ,   h e r e   a r e   s o m e   o p t i o n s :   A c c e p t   d o w n t i m e   d u r i n g   t h e   u p g r a d e . F a i l o v e r   t o   a n o t h e r   c o m p l e t e   r e p l i c a   c l u s t e r . N o   d o w n t i m e ,   b u t   m a y   b e   c o s t l y   b o t h   f o r   t h e   d u p l i c a t e d   n o d e s   a n d   f o r   h u m a n   e f f o r t   t o   o r c h e s t r a t e   t h e   s w i t c h o v e r . W r i t e   d i s r u p t i o n   t o l e r a n t   a p p l i c a t i o n s   a n d   u s e   P D B s . N o   d o w n t i m e . M i n i m a l   r e s o u r c e   d u p l i c a t i o n . A l l o w s   m o r e   a u t o m a t i o n   o f   c l u s t e r   a d m i n i s t r a t i o n . W r i t i n g   d i s r u p t i o n - t o l e r a n t   a p p l i c a t i o n s   i s   t r i c k y ,   b u t   t h e   w o r k   t o   t o l e r a t e   v o l u n t a r y   d i s r u p t i o n s   l a r g e l y   o v e r l a p s   w i t h   w o r k   t o   s u p p o r t   a u t o s c a l i n g   a n d   t o l e r a t i n g   i n v o l u n t a r y   d i s r u p t i o n s .   N o   d o w n t i m e ,   b u t   m a y   b e   c o s t l y   b o t h   f o r   t h e   d u p l i c a t e d   n o d e s   a n d   f o r   h u m a n   e f f o r t   t o   o r c h e s t r a t e   t h e   s w i t c h o v e r .   N o   d o w n t i m e . M i n i m a l   r e s o u r c e   d u p l i c a t i o n . A l l o w s   m o r e   a u t o m a t i o n   o f   c l u s t e r   a d m i n i s t r a t i o n . W r i t i n g   d i s r u p t i o n - t o l e r a n t   a p p l i c a t i o n s   i s   t r i c k y ,   b u t   t h e   w o r k   t o   t o l e r a t e   v o l u n t a r y   d i s r u p t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11890"
  },
  {
    "question": "What is What's next?",
    "answer": "F o l l o w   s t e p s   t o   p r o t e c t   y o u r   a p p l i c a t i o n   b y   c o n f i g u r i n g   a   P o d   D i s r u p t i o n   B u d g e t . L e a r n   m o r e   a b o u t   d r a i n i n g   n o d e s L e a r n   a b o u t   u p d a t i n g   a   d e p l o y m e n t   i n c l u d i n g   s t e p s   t o   m a i n t a i n   i t s   a v a i l a b i l i t y   d u r i n g   t h e   r o l l o u t .   F o l l o w   s t e p s   t o   p r o t e c t   y o u r   a p p l i c a t i o n   b y   c o n f i g u r i n g   a   P o d   D i s r u p t i o n   B u d g e t .   L e a r n   m o r e   a b o u t   d r a i n i n g   n o d e s   L e a r n   a b o u t   u p d a t i n g   a   d e p l o y m e n t   i n c l u d i n g   s t e p s   t o   m a i n t a i n   i t s   a v a i l a b i l i t y   d u r i n g   t h e   r o l l o u t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11891"
  },
  {
    "question": "What is 4.1.6 - Pod Hostname?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   t o   s e t   a   P o d ' s   h o s t n a m e ,   p o t e n t i a l   s i d e   e f f e c t s   a f t e r   c o n f i g u r a t i o n ,   a n d   t h e   u n d e r l y i n g   m e c h a n i c s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11892"
  },
  {
    "question": "What is Default Pod hostname?",
    "answer": "W h e n   a   P o d   i s   c r e a t e d ,   i t s   h o s t n a m e   ( a s   o b s e r v e d   f r o m   w i t h i n   t h e   P o d )   i s   d e r i v e d   f r o m   t h e   P o d ' s   m e t a d a t a . n a m e   v a l u e .   B o t h   t h e   h o s t n a m e   a n d   i t s   c o r r e s p o n d i n g   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N )   a r e   s e t   t o   t h e   m e t a d a t a . n a m e   v a l u e   ( f r o m   t h e   P o d ' s   p e r s p e c t i v e )   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   b u s y b o x - 1   s p e c :   c o n t a i n e r s :   -   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   -   s l e e p   -   \" 3 6 0 0 \"   n a m e :   b u s y b o x   T h e   P o d   c r e a t e d   b y   t h i s   m a n i f e s t   w i l l   h a v e   i t s   h o s t n a m e   a n d   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N )   s e t   t o   b u s y b o x - 1 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11893"
  },
  {
    "question": "What is Hostname with pod's hostname and subdomain fields?",
    "answer": "T h e   P o d   s p e c   i n c l u d e s   a n   o p t i o n a l   h o s t n a m e   f i e l d .   W h e n   s e t ,   t h i s   v a l u e   t a k e s   p r e c e d e n c e   o v e r   t h e   P o d ' s   m e t a d a t a . n a m e   a s   t h e   h o s t n a m e   ( o b s e r v e d   f r o m   w i t h i n   t h e   P o d ) .   F o r   e x a m p l e ,   a   P o d   w i t h   s p e c . h o s t n a m e   s e t   t o   m y - h o s t   w i l l   h a v e   i t s   h o s t n a m e   s e t   t o   m y - h o s t .   T h e   P o d   s p e c   a l s o   i n c l u d e s   a n   o p t i o n a l   s u b d o m a i n   f i e l d ,   i n d i c a t i n g   t h e   P o d   b e l o n g s   t o   a   s u b d o m a i n   w i t h i n   i t s   n a m e s p a c e .   I f   a   P o d   h a s   s p e c . h o s t n a m e   s e t   t o   \" f o o \"   a n d   s p e c . s u b d o m a i n   s e t   t o   \" b a r \"   i n   t h e   n a m e s p a c e   m y - n a m e s p a c e ,   i t s   h o s t n a m e   b e c o m e s   f o o   a n d   i t s   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N )   b e c o m e s   f o o . b a r . m y - n a m e s p a c e . s v c . c l u s t e r - d o m a i n . e x a m p l e   ( o b s e r v e d   f r o m   w i t h i n   t h e   P o d ) .   W h e n   b o t h   h o s t n a m e   a n d   s u b d o m a i n   a r e   s e t ,   t h e   c l u s t e r ' s   D N S   s e r v e r   w i l l   c r e a t e   A   a n d / o r   A A A A   r e c o r d s   b a s e d   o n   t h e s e   f i e l d s .   R e f e r   t o :   P o d ' s   h o s t n a m e   a n d   s u b d o m a i n   f i e l d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11894"
  },
  {
    "question": "What is Hostname with pod's setHostnameAsFQDN fields?",
    "answer": "W h e n   a   P o d   i s   c o n f i g u r e d   t o   h a v e   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N ) ,   i t s   h o s t n a m e   i s   t h e   s h o r t   h o s t n a m e .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   P o d   w i t h   t h e   f u l l y   q u a l i f i e d   d o m a i n   n a m e   b u s y b o x - 1 . b u s y b o x - s u b d o m a i n . m y - n a m e s p a c e . s v c . c l u s t e r - d o m a i n . e x a m p l e ,   t h e n   b y   d e f a u l t   t h e   h o s t n a m e   c o m m a n d   i n s i d e   t h a t   P o d   r e t u r n s   b u s y b o x - 1   a n d   t h e   h o s t n a m e   - - f q d n   c o m m a n d   r e t u r n s   t h e   F Q D N .   W h e n   b o t h   s e t H o s t n a m e A s F Q D N :   t r u e   a n d   t h e   s u b d o m a i n   f i e l d   i s   s e t   i n   t h e   P o d   s p e c ,   t h e   k u b e l e t   w r i t e s   t h e   P o d ' s   F Q D N   i n t o   t h e   h o s t n a m e   f o r   t h a t   P o d ' s   n a m e s p a c e .   I n   t h i s   c a s e ,   b o t h   h o s t n a m e   a n d   h o s t n a m e   - - f q d n   r e t u r n   t h e   P o d ' s   F Q D N .   T h e   P o d ' s   F Q D N   i s   c o n s t r u c t e d   i n   t h e   s a m e   m a n n e r   a s   p r e v i o u s l y   d e f i n e d .   I t   i s   c o m p o s e d   o f   t h e   P o d ' s   s p e c . h o s t n a m e   ( i f   s p e c i f i e d )   o r   m e t a d a t a . n a m e   f i e l d ,   t h e   s p e c . s u b d o m a i n ,   t h e   n a m e s p a c e   n a m e ,   a n d   t h e   c l u s t e r   d o m a i n   s u f f i x .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11895"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   L i n u x ,   t h e   h o s t n a m e   f i e l d   o f   t h e   k e r n e l   ( t h e   n o d e n a m e   f i e l d   o f   s t r u c t   u t s n a m e )   i s   l i m i t e d   t o   6 4   c h a r a c t e r s .   I f   a   P o d   e n a b l e s   t h i s   f e a t u r e   a n d   i t s   F Q D N   i s   l o n g e r   t h a n   6 4   c h a r a c t e r ,   i t   w i l l   f a i l   t o   s t a r t .   T h e   P o d   w i l l   r e m a i n   i n   P e n d i n g   s t a t u s   ( C o n t a i n e r C r e a t i n g   a s   s e e n   b y   k u b e c t l )   g e n e r a t i n g   e r r o r   e v e n t s ,   s u c h   a s   \" F a i l e d   t o   c o n s t r u c t   F Q D N   f r o m   P o d   h o s t n a m e   a n d   c l u s t e r   d o m a i n \" .   T h i s   m e a n s   t h a t   w h e n   u s i n g   t h i s   f i e l d ,   y o u   m u s t   e n s u r e   t h e   c o m b i n e d   l e n g t h   o f   t h e   P o d ' s   m e t a d a t a . n a m e   ( o r   s p e c . h o s t n a m e )   a n d   s p e c . s u b d o m a i n   f i e l d s   r e s u l t s   i n   a n   F Q D N   t h a t   d o e s   n o t   e x c e e d   6 4   c h a r a c t e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11896"
  },
  {
    "question": "What is Hostname with pod's hostnameOverride?",
    "answer": "S e t t i n g   a   v a l u e   f o r   h o s t n a m e O v e r r i d e   i n   t h e   P o d   s p e c   c a u s e s   t h e   k u b e l e t   t o   u n c o n d i t i o n a l l y   s e t   b o t h   t h e   P o d ' s   h o s t n a m e   a n d   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N )   t o   t h e   h o s t n a m e O v e r r i d e   v a l u e .   T h e   h o s t n a m e O v e r r i d e   f i e l d   h a s   a   l e n g t h   l i m i t a t i o n   o f   6 4   c h a r a c t e r s   a n d   m u s t   a d h e r e   t o   t h e   D N S   s u b d o m a i n   n a m e s   s t a n d a r d   d e f i n e d   i n   R F C   1 1 2 3 .   E x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   b u s y b o x - 2 - b u s y b o x - e x a m p l e - d o m a i n   s p e c :   h o s t n a m e O v e r r i d e :   b u s y b o x - 2 . b u s y b o x . e x a m p l e . d o m a i n   c o n t a i n e r s :   -   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   -   s l e e p   -   \" 3 6 0 0 \"   n a m e :   b u s y b o x",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11897"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   h o s t n a m e O v e r r i d e   i s   s e t   a l o n g s i d e   h o s t n a m e   a n d   s u b d o m a i n   f i e l d s :   T h e   h o s t n a m e   i n s i d e   t h e   P o d   i s   o v e r r i d d e n   t o   t h e   h o s t n a m e O v e r r i d e   v a l u e . T h e   P o d ' s   A   a n d / o r   A A A A   r e c o r d s   i n   t h e   c l u s t e r   D N S   s e r v e r   a r e   s t i l l   g e n e r a t e d   b a s e d   o n   t h e   h o s t n a m e   a n d   s u b d o m a i n   f i e l d s .   T h e   h o s t n a m e   i n s i d e   t h e   P o d   i s   o v e r r i d d e n   t o   t h e   h o s t n a m e O v e r r i d e   v a l u e .   T h e   P o d ' s   A   a n d / o r   A A A A   r e c o r d s   i n   t h e   c l u s t e r   D N S   s e r v e r   a r e   s t i l l   g e n e r a t e d   b a s e d   o n   t h e   h o s t n a m e   a n d   s u b d o m a i n   f i e l d s .   N o t e :   I f   h o s t n a m e O v e r r i d e   i s   s e t ,   y o u   c a n n o t   s i m u l t a n e o u s l y   s e t   t h e   h o s t N e t w o r k   a n d   s e t H o s t n a m e A s F Q D N   f i e l d s .   T h e   A P I   s e r v e r   w i l l   e x p l i c i t l y   r e j e c t   a n y   c r e a t e   r e q u e s t   a t t e m p t i n g   t h i s   c o m b i n a t i o n .   F o r   d e t a i l s   o n   b e h a v i o r   w h e n   h o s t n a m e O v e r r i d e   i s   s e t   i n   c o m b i n a t i o n   w i t h   o t h e r   f i e l d s   ( h o s t n a m e ,   s u b d o m a i n ,   s e t H o s t n a m e A s F Q D N ,   h o s t N e t w o r k ) ,   s e e   t h e   t a b l e   i n   t h e   K E P - 4 7 6 2   d e s i g n   d e t a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11898"
  },
  {
    "question": "What is 4.1.7 - Pod Quality of Service Classes?",
    "answer": "T h i s   p a g e   i n t r o d u c e s   Q u a l i t y   o f   S e r v i c e   ( Q o S )   c l a s s e s   i n   K u b e r n e t e s ,   a n d   e x p l a i n s   h o w   K u b e r n e t e s   a s s i g n s   a   Q o S   c l a s s   t o   e a c h   P o d   a s   a   c o n s e q u e n c e   o f   t h e   r e s o u r c e   c o n s t r a i n t s   t h a t   y o u   s p e c i f y   f o r   t h e   c o n t a i n e r s   i n   t h a t   P o d .   K u b e r n e t e s   r e l i e s   o n   t h i s   c l a s s i f i c a t i o n   t o   m a k e   d e c i s i o n s   a b o u t   w h i c h   P o d s   t o   e v i c t   w h e n   t h e r e   a r e   n o t   e n o u g h   a v a i l a b l e   r e s o u r c e s   o n   a   N o d e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11899"
  },
  {
    "question": "What is Quality of Service classes?",
    "answer": "K u b e r n e t e s   c l a s s i f i e s   t h e   P o d s   t h a t   y o u   r u n   a n d   a l l o c a t e s   e a c h   P o d   i n t o   a   s p e c i f i c   q u a l i t y   o f   s e r v i c e   ( Q o S )   c l a s s .   K u b e r n e t e s   u s e s   t h a t   c l a s s i f i c a t i o n   t o   i n f l u e n c e   h o w   d i f f e r e n t   p o d s   a r e   h a n d l e d .   K u b e r n e t e s   d o e s   t h i s   c l a s s i f i c a t i o n   b a s e d   o n   t h e   r e s o u r c e   r e q u e s t s   o f   t h e   C o n t a i n e r s   i n   t h a t   P o d ,   a l o n g   w i t h   h o w   t h o s e   r e q u e s t s   r e l a t e   t o   r e s o u r c e   l i m i t s .   T h i s   i s   k n o w n   a s   Q u a l i t y   o f   S e r v i c e   ( Q o S )   c l a s s .   K u b e r n e t e s   a s s i g n s   e v e r y   P o d   a   Q o S   c l a s s   b a s e d   o n   t h e   r e s o u r c e   r e q u e s t s   a n d   l i m i t s   o f   i t s   c o m p o n e n t   C o n t a i n e r s .   Q o S   c l a s s e s   a r e   u s e d   b y   K u b e r n e t e s   t o   d e c i d e   w h i c h   P o d s   t o   e v i c t   f r o m   a   N o d e   e x p e r i e n c i n g   N o d e   P r e s s u r e .   T h e   p o s s i b l e   Q o S   c l a s s e s   a r e   G u a r a n t e e d ,   B u r s t a b l e ,   a n d   B e s t E f f o r t .   W h e n   a   N o d e   r u n s   o u t   o f   r e s o u r c e s ,   K u b e r n e t e s   w i l l   f i r s t   e v i c t   B e s t E f f o r t   P o d s   r u n n i n g   o n   t h a t   N o d e ,   f o l l o w e d   b y   B u r s t a b l e   a n d   f i n a l l y   G u a r a n t e e d   P o d s .   W h e n   t h i s   e v i c t i o n   i s   d u e   t o   r e s o u r c e   p r e s s u r e ,   o n l y   P o d s   e x c e e d i n g   r e s o u r c e   r e q u e s t s   a r e   c a n d i d a t e s   f o r   e v i c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11900"
  },
  {
    "question": "What is Guaranteed?",
    "answer": "P o d s   t h a t   a r e   G u a r a n t e e d   h a v e   t h e   s t r i c t e s t   r e s o u r c e   l i m i t s   a n d   a r e   l e a s t   l i k e l y   t o   f a c e   e v i c t i o n .   T h e y   a r e   g u a r a n t e e d   n o t   t o   b e   k i l l e d   u n t i l   t h e y   e x c e e d   t h e i r   l i m i t s   o r   t h e r e   a r e   n o   l o w e r - p r i o r i t y   P o d s   t h a t   c a n   b e   p r e e m p t e d   f r o m   t h e   N o d e .   T h e y   m a y   n o t   a c q u i r e   r e s o u r c e s   b e y o n d   t h e i r   s p e c i f i e d   l i m i t s .   T h e s e   P o d s   c a n   a l s o   m a k e   u s e   o f   e x c l u s i v e   C P U s   u s i n g   t h e   s t a t i c   C P U   m a n a g e m e n t   p o l i c y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11901"
  },
  {
    "question": "What is Criteria?",
    "answer": "F o r   a   P o d   t o   b e   g i v e n   a   Q o S   c l a s s   o f   G u a r a n t e e d :   E v e r y   C o n t a i n e r   i n   t h e   P o d   m u s t   h a v e   a   m e m o r y   l i m i t   a n d   a   m e m o r y   r e q u e s t . F o r   e v e r y   C o n t a i n e r   i n   t h e   P o d ,   t h e   m e m o r y   l i m i t   m u s t   e q u a l   t h e   m e m o r y   r e q u e s t . E v e r y   C o n t a i n e r   i n   t h e   P o d   m u s t   h a v e   a   C P U   l i m i t   a n d   a   C P U   r e q u e s t . F o r   e v e r y   C o n t a i n e r   i n   t h e   P o d ,   t h e   C P U   l i m i t   m u s t   e q u a l   t h e   C P U   r e q u e s t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11902"
  },
  {
    "question": "What is Burstable?",
    "answer": "P o d s   t h a t   a r e   B u r s t a b l e   h a v e   s o m e   l o w e r - b o u n d   r e s o u r c e   g u a r a n t e e s   b a s e d   o n   t h e   r e q u e s t ,   b u t   d o   n o t   r e q u i r e   a   s p e c i f i c   l i m i t .   I f   a   l i m i t   i s   n o t   s p e c i f i e d ,   i t   d e f a u l t s   t o   a   l i m i t   e q u i v a l e n t   t o   t h e   c a p a c i t y   o f   t h e   N o d e ,   w h i c h   a l l o w s   t h e   P o d s   t o   f l e x i b l y   i n c r e a s e   t h e i r   r e s o u r c e s   i f   r e s o u r c e s   a r e   a v a i l a b l e .   I n   t h e   e v e n t   o f   P o d   e v i c t i o n   d u e   t o   N o d e   r e s o u r c e   p r e s s u r e ,   t h e s e   P o d s   a r e   e v i c t e d   o n l y   a f t e r   a l l   B e s t E f f o r t   P o d s   a r e   e v i c t e d .   B e c a u s e   a   B u r s t a b l e   P o d   c a n   i n c l u d e   a   C o n t a i n e r   t h a t   h a s   n o   r e s o u r c e   l i m i t s   o r   r e q u e s t s ,   a   P o d   t h a t   i s   B u r s t a b l e   c a n   t r y   t o   u s e   a n y   a m o u n t   o f   n o d e   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11903"
  },
  {
    "question": "What is Criteria?",
    "answer": "A   P o d   i s   g i v e n   a   Q o S   c l a s s   o f   B u r s t a b l e   i f :   T h e   P o d   d o e s   n o t   m e e t   t h e   c r i t e r i a   f o r   Q o S   c l a s s   G u a r a n t e e d . A t   l e a s t   o n e   C o n t a i n e r   i n   t h e   P o d   h a s   a   m e m o r y   o r   C P U   r e q u e s t   o r   l i m i t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11904"
  },
  {
    "question": "What is BestEffort?",
    "answer": "P o d s   i n   t h e   B e s t E f f o r t   Q o S   c l a s s   c a n   u s e   n o d e   r e s o u r c e s   t h a t   a r e n ' t   s p e c i f i c a l l y   a s s i g n e d   t o   P o d s   i n   o t h e r   Q o S   c l a s s e s .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   n o d e   w i t h   1 6   C P U   c o r e s   a v a i l a b l e   t o   t h e   k u b e l e t ,   a n d   y o u   a s s i g n   4   C P U   c o r e s   t o   a   G u a r a n t e e d   P o d ,   t h e n   a   P o d   i n   t h e   B e s t E f f o r t   Q o S   c l a s s   c a n   t r y   t o   u s e   a n y   a m o u n t   o f   t h e   r e m a i n i n g   1 2   C P U   c o r e s .   T h e   k u b e l e t   p r e f e r s   t o   e v i c t   B e s t E f f o r t   P o d s   i f   t h e   n o d e   c o m e s   u n d e r   r e s o u r c e   p r e s s u r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11905"
  },
  {
    "question": "What is Criteria?",
    "answer": "A   P o d   h a s   a   Q o S   c l a s s   o f   B e s t E f f o r t   i f   i t   d o e s n ' t   m e e t   t h e   c r i t e r i a   f o r   e i t h e r   G u a r a n t e e d   o r   B u r s t a b l e .   I n   o t h e r   w o r d s ,   a   P o d   i s   B e s t E f f o r t   o n l y   i f   n o n e   o f   t h e   C o n t a i n e r s   i n   t h e   P o d   h a v e   a   m e m o r y   l i m i t   o r   a   m e m o r y   r e q u e s t ,   a n d   n o n e   o f   t h e   C o n t a i n e r s   i n   t h e   P o d   h a v e   a   C P U   l i m i t   o r   a   C P U   r e q u e s t .   C o n t a i n e r s   i n   a   P o d   c a n   r e q u e s t   o t h e r   r e s o u r c e s   ( n o t   C P U   o r   m e m o r y )   a n d   s t i l l   b e   c l a s s i f i e d   a s   B e s t E f f o r t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11906"
  },
  {
    "question": "What is Memory QoS with cgroup v2?",
    "answer": "M e m o r y   Q o S   u s e s   t h e   m e m o r y   c o n t r o l l e r   o f   c g r o u p   v 2   t o   g u a r a n t e e   m e m o r y   r e s o u r c e s   i n   K u b e r n e t e s .   M e m o r y   r e q u e s t s   a n d   l i m i t s   o f   c o n t a i n e r s   i n   p o d   a r e   u s e d   t o   s e t   s p e c i f i c   i n t e r f a c e s   m e m o r y . m i n   a n d   m e m o r y . h i g h   p r o v i d e d   b y   t h e   m e m o r y   c o n t r o l l e r .   W h e n   m e m o r y . m i n   i s   s e t   t o   m e m o r y   r e q u e s t s ,   m e m o r y   r e s o u r c e s   a r e   r e s e r v e d   a n d   n e v e r   r e c l a i m e d   b y   t h e   k e r n e l ;   t h i s   i s   h o w   M e m o r y   Q o S   e n s u r e s   m e m o r y   a v a i l a b i l i t y   f o r   K u b e r n e t e s   p o d s .   A n d   i f   m e m o r y   l i m i t s   a r e   s e t   i n   t h e   c o n t a i n e r ,   t h i s   m e a n s   t h a t   t h e   s y s t e m   n e e d s   t o   l i m i t   c o n t a i n e r   m e m o r y   u s a g e ;   M e m o r y   Q o S   u s e s   m e m o r y . h i g h   t o   t h r o t t l e   w o r k l o a d   a p p r o a c h i n g   i t s   m e m o r y   l i m i t ,   e n s u r i n g   t h a t   t h e   s y s t e m   i s   n o t   o v e r w h e l m e d   b y   i n s t a n t a n e o u s   m e m o r y   a l l o c a t i o n .   M e m o r y   Q o S   r e l i e s   o n   Q o S   c l a s s   t o   d e t e r m i n e   w h i c h   s e t t i n g s   t o   a p p l y ;   h o w e v e r ,   t h e s e   a r e   d i f f e r e n t   m e c h a n i s m s   t h a t   b o t h   p r o v i d e   c o n t r o l s   o v e r   q u a l i t y   o f   s e r v i c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11907"
  },
  {
    "question": "What is Some behavior is independent of QoS class?",
    "answer": "C e r t a i n   b e h a v i o r   i s   i n d e p e n d e n t   o f   t h e   Q o S   c l a s s   a s s i g n e d   b y   K u b e r n e t e s .   F o r   e x a m p l e :   A n y   C o n t a i n e r   e x c e e d i n g   a   r e s o u r c e   l i m i t   w i l l   b e   k i l l e d   a n d   r e s t a r t e d   b y   t h e   k u b e l e t   w i t h o u t   a f f e c t i n g   o t h e r   C o n t a i n e r s   i n   t h a t   P o d . I f   a   C o n t a i n e r   e x c e e d s   i t s   r e s o u r c e   r e q u e s t   a n d   t h e   n o d e   i t   r u n s   o n   f a c e s   r e s o u r c e   p r e s s u r e ,   t h e   P o d   i t   i s   i n   b e c o m e s   a   c a n d i d a t e   f o r   e v i c t i o n .   I f   t h i s   o c c u r s ,   a l l   C o n t a i n e r s   i n   t h e   P o d   w i l l   b e   t e r m i n a t e d .   K u b e r n e t e s   m a y   c r e a t e   a   r e p l a c e m e n t   P o d ,   u s u a l l y   o n   a   d i f f e r e n t   n o d e . T h e   r e s o u r c e   r e q u e s t   o f   a   P o d   i s   e q u a l   t o   t h e   s u m   o f   t h e   r e s o u r c e   r e q u e s t s   o f   i t s   c o m p o n e n t   C o n t a i n e r s ,   a n d   t h e   r e s o u r c e   l i m i t   o f   a   P o d   i s   e q u a l   t o   t h e   s u m   o f   t h e   r e s o u r c e   l i m i t s   o f   i t s   c o m p o n e n t   C o n t a i n e r s . T h e   k u b e - s c h e d u l e r   d o e s   n o t   c o n s i d e r   Q o S   c l a s s   w h e n   s e l e c t i n g   w h i c h   P o d s   t o   p r e e m p t .   P r e e m p t i o n   c a n   o c c u r   w h e n   a   c l u s t e r   d o e s   n o t   h a v e   e n o u g h   r e s o u r c e s   t o   r u n   a l l   t h e   P o d s   y o u   d e f i n e d .   A n y   C o n t a i n e r   e x c e e d i n g   a   r e s o u r c e   l i m i t   w i l l   b e   k i l l e d   a n d   r e s t a r t e d   b y   t h e   k u b e l e t   w i t h o u t   a f f e c t i n g   o t h e r   C o n t a i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11908"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   r e s o u r c e   m a n a g e m e n t   f o r   P o d s   a n d   C o n t a i n e r s . L e a r n   a b o u t   N o d e - p r e s s u r e   e v i c t i o n . L e a r n   a b o u t   P o d   p r i o r i t y   a n d   p r e e m p t i o n . L e a r n   a b o u t   P o d   d i s r u p t i o n s . L e a r n   h o w   t o   a s s i g n   m e m o r y   r e s o u r c e s   t o   c o n t a i n e r s   a n d   p o d s . L e a r n   h o w   t o   a s s i g n   C P U   r e s o u r c e s   t o   c o n t a i n e r s   a n d   p o d s . L e a r n   h o w   t o   c o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11909"
  },
  {
    "question": "What is 4.1.8 - User Namespaces?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   u s e r   n a m e s p a c e s   a r e   u s e d   i n   K u b e r n e t e s   p o d s .   A   u s e r   n a m e s p a c e   i s o l a t e s   t h e   u s e r   r u n n i n g   i n s i d e   t h e   c o n t a i n e r   f r o m   t h e   o n e   i n   t h e   h o s t .   A   p r o c e s s   r u n n i n g   a s   r o o t   i n   a   c o n t a i n e r   c a n   r u n   a s   a   d i f f e r e n t   ( n o n - r o o t )   u s e r   i n   t h e   h o s t ;   i n   o t h e r   w o r d s ,   t h e   p r o c e s s   h a s   f u l l   p r i v i l e g e s   f o r   o p e r a t i o n s   i n s i d e   t h e   u s e r   n a m e s p a c e ,   b u t   i s   u n p r i v i l e g e d   f o r   o p e r a t i o n s   o u t s i d e   t h e   n a m e s p a c e .   Y o u   c a n   u s e   t h i s   f e a t u r e   t o   r e d u c e   t h e   d a m a g e   a   c o m p r o m i s e d   c o n t a i n e r   c a n   d o   t o   t h e   h o s t   o r   o t h e r   p o d s   i n   t h e   s a m e   n o d e .   T h e r e   a r e   s e v e r a l   s e c u r i t y   v u l n e r a b i l i t i e s   r a t e d   e i t h e r   H I G H   o r   C R I T I C A L   t h a t   w e r e   n o t   e x p l o i t a b l e   w h e n   u s e r   n a m e s p a c e s   i s   a c t i v e .   I t   i s   e x p e c t e d   u s e r   n a m e s p a c e   w i l l   m i t i g a t e   s o m e   f u t u r e   v u l n e r a b i l i t i e s   t o o .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11910"
  },
  {
    "question": "What is Before you begin?",
    "answer": "T h i s   i s   a   L i n u x - o n l y   f e a t u r e   a n d   s u p p o r t   i s   n e e d e d   i n   L i n u x   f o r   i d m a p   m o u n t s   o n   t h e   f i l e s y s t e m s   u s e d .   T h i s   m e a n s :   O n   t h e   n o d e ,   t h e   f i l e s y s t e m   y o u   u s e   f o r   / v a r / l i b / k u b e l e t / p o d s / ,   o r   t h e   c u s t o m   d i r e c t o r y   y o u   c o n f i g u r e   f o r   t h i s ,   n e e d s   i d m a p   m o u n t   s u p p o r t . A l l   t h e   f i l e s y s t e m s   u s e d   i n   t h e   p o d ' s   v o l u m e s   m u s t   s u p p o r t   i d m a p   m o u n t s .   I n   p r a c t i c e   t h i s   m e a n s   y o u   n e e d   a t   l e a s t   L i n u x   6 . 3 ,   a s   t m p f s   s t a r t e d   s u p p o r t i n g   i d m a p   m o u n t s   i n   t h a t   v e r s i o n .   T h i s   i s   u s u a l l y   n e e d e d   a s   s e v e r a l   K u b e r n e t e s   f e a t u r e s   u s e   t m p f s   ( t h e   s e r v i c e   a c c o u n t   t o k e n   t h a t   i s   m o u n t e d   b y   d e f a u l t   u s e s   a   t m p f s ,   S e c r e t s   u s e   a   t m p f s ,   e t c . )   S o m e   p o p u l a r   f i l e s y s t e m s   t h a t   s u p p o r t   i d m a p   m o u n t s   i n   L i n u x   6 . 3   a r e :   b t r f s ,   e x t 4 ,   x f s ,   f a t ,   t m p f s ,   o v e r l a y f s .   I n   a d d i t i o n ,   t h e   c o n t a i n e r   r u n t i m e   a n d   i t s   u n d e r l y i n g   O C I   r u n t i m e   m u s t   s u p p o r t   u s e r   n a m e s p a c e s .   T h e   f o l l o w i n g   O C I   r u n t i m e s   o f f e r   s u p p o r t :   c r u n   v e r s i o n   1 . 9   o r   g r e a t e r   ( i t ' s   r e c o m m e n d   v e r s i o n   1 . 1 3 + ) . r u n c   v e r s i o n   1 . 2   o r   g r e a t e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11911"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   u s e   u s e r   n a m e s p a c e s   w i t h   K u b e r n e t e s ,   y o u   a l s o   n e e d   t o   u s e   a   C R I   c o n t a i n e r   r u n t i m e   t o   u s e   t h i s   f e a t u r e   w i t h   K u b e r n e t e s   p o d s :   c o n t a i n e r d :   v e r s i o n   2 . 0   ( a n d   l a t e r )   s u p p o r t s   u s e r   n a m e s p a c e s   f o r   c o n t a i n e r s . C R I - O :   v e r s i o n   1 . 2 5   ( a n d   l a t e r )   s u p p o r t s   u s e r   n a m e s p a c e s   f o r   c o n t a i n e r s .   Y o u   c a n   s e e   t h e   s t a t u s   o f   u s e r   n a m e s p a c e s   s u p p o r t   i n   c r i - d o c k e r d   t r a c k e d   i n   a n   i s s u e   o n   G i t H u b .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11912"
  },
  {
    "question": "What is Introduction?",
    "answer": "U s e r   n a m e s p a c e s   i s   a   L i n u x   f e a t u r e   t h a t   a l l o w s   t o   m a p   u s e r s   i n   t h e   c o n t a i n e r   t o   d i f f e r e n t   u s e r s   i n   t h e   h o s t .   F u r t h e r m o r e ,   t h e   c a p a b i l i t i e s   g r a n t e d   t o   a   p o d   i n   a   u s e r   n a m e s p a c e   a r e   v a l i d   o n l y   i n   t h e   n a m e s p a c e   a n d   v o i d   o u t s i d e   o f   i t .   A   p o d   c a n   o p t - i n   t o   u s e   u s e r   n a m e s p a c e s   b y   s e t t i n g   t h e   p o d . s p e c . h o s t U s e r s   f i e l d   t o   f a l s e .   T h e   k u b e l e t   w i l l   p i c k   h o s t   U I D s / G I D s   a   p o d   i s   m a p p e d   t o ,   a n d   w i l l   d o   s o   i n   a   w a y   t o   g u a r a n t e e   t h a t   n o   t w o   p o d s   o n   t h e   s a m e   n o d e   u s e   t h e   s a m e   m a p p i n g .   T h e   r u n A s U s e r ,   r u n A s G r o u p ,   f s G r o u p ,   e t c .   f i e l d s   i n   t h e   p o d . s p e c   a l w a y s   r e f e r   t o   t h e   u s e r   i n s i d e   t h e   c o n t a i n e r .   T h e s e   u s e r s   w i l l   b e   u s e d   f o r   v o l u m e   m o u n t s   ( s p e c i f i e d   i n   p o d . s p e c . v o l u m e s )   a n d   t h e r e f o r e   t h e   h o s t   U I D / G I D   w i l l   n o t   h a v e   a n y   e f f e c t   o n   w r i t e s / r e a d s   f r o m   v o l u m e s   t h e   p o d   c a n   m o u n t .   I n   o t h e r   w o r d s ,   t h e   i n o d e s   c r e a t e d / r e a d   i n   v o l u m e s   m o u n t e d   b y   t h e   p o d   w i l l   b e   t h e   s a m e   a s   i f   t h e   p o d   w a s n ' t   u s i n g   u s e r   n a m e s p a c e s .   T h i s   w a y ,   a   p o d   c a n   e a s i l y   e n a b l e   a n d   d i s a b l e   u s e r   n a m e s p a c e s   ( w i t h o u t   a f f e c t i n g   i t s   v o l u m e ' s   f i l e   o w n e r s h i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11913"
  },
  {
    "question": "What is Understanding user namespaces for pods?",
    "answer": "S e v e r a l   c o n t a i n e r   r u n t i m e s   w i t h   t h e i r   d e f a u l t   c o n f i g u r a t i o n   ( l i k e   D o c k e r   E n g i n e ,   c o n t a i n e r d ,   C R I - O )   u s e   L i n u x   n a m e s p a c e s   f o r   i s o l a t i o n .   O t h e r   t e c h n o l o g i e s   e x i s t   a n d   c a n   b e   u s e d   w i t h   t h o s e   r u n t i m e s   t o o   ( e . g .   K a t a   C o n t a i n e r s   u s e s   V M s   i n s t e a d   o f   L i n u x   n a m e s p a c e s ) .   T h i s   p a g e   i s   a p p l i c a b l e   f o r   c o n t a i n e r   r u n t i m e s   u s i n g   L i n u x   n a m e s p a c e s   f o r   i s o l a t i o n .   W h e n   c r e a t i n g   a   p o d ,   b y   d e f a u l t ,   s e v e r a l   n e w   n a m e s p a c e s   a r e   u s e d   f o r   i s o l a t i o n :   a   n e t w o r k   n a m e s p a c e   t o   i s o l a t e   t h e   n e t w o r k   o f   t h e   c o n t a i n e r ,   a   P I D   n a m e s p a c e   t o   i s o l a t e   t h e   v i e w   o f   p r o c e s s e s ,   e t c .   I f   a   u s e r   n a m e s p a c e   i s   u s e d ,   t h i s   w i l l   i s o l a t e   t h e   u s e r s   i n   t h e   c o n t a i n e r   f r o m   t h e   u s e r s   i n   t h e   n o d e .   T h i s   m e a n s   c o n t a i n e r s   c a n   r u n   a s   r o o t   a n d   b e   m a p p e d   t o   a   n o n - r o o t   u s e r   o n   t h e   h o s t .   I n s i d e   t h e   c o n t a i n e r   t h e   p r o c e s s   w i l l   t h i n k   i t   i s   r u n n i n g   a s   r o o t   ( a n d   t h e r e f o r e   t o o l s   l i k e   a p t ,   y u m ,   e t c .   w o r k   f i n e ) ,   w h i l e   i n   r e a l i t y   t h e   p r o c e s s   d o e s n ' t   h a v e   p r i v i l e g e s   o n   t h e   h o s t .   Y o u   c a n   v e r i f y   t h i s ,   f o r   e x a m p l e ,   i f   y o u   c h e c k   w h i c h   u s e r   t h e   c o n t a i n e r   p r o c e s s   i s   r u n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11914"
  },
  {
    "question": "What is Set up a node to support user namespaces?",
    "answer": "B y   d e f a u l t ,   t h e   k u b e l e t   a s s i g n s   p o d s   U I D s / G I D s   a b o v e   t h e   r a n g e   0 - 6 5 5 3 5 ,   b a s e d   o n   t h e   a s s u m p t i o n   t h a t   t h e   h o s t ' s   f i l e s   a n d   p r o c e s s e s   u s e   U I D s / G I D s   w i t h i n   t h i s   r a n g e ,   w h i c h   i s   s t a n d a r d   f o r   m o s t   L i n u x   d i s t r i b u t i o n s .   T h i s   a p p r o a c h   p r e v e n t s   a n y   o v e r l a p   b e t w e e n   t h e   U I D s / G I D s   o f   t h e   h o s t   a n d   t h o s e   o f   t h e   p o d s .   A v o i d i n g   t h e   o v e r l a p   i s   i m p o r t a n t   t o   m i t i g a t e   t h e   i m p a c t   o f   v u l n e r a b i l i t i e s   s u c h   a s   C V E - 2 0 2 1 - 2 5 7 4 1 ,   w h e r e   a   p o d   c a n   p o t e n t i a l l y   r e a d   a r b i t r a r y   f i l e s   i n   t h e   h o s t .   I f   t h e   U I D s / G I D s   o f   t h e   p o d   a n d   t h e   h o s t   d o n ' t   o v e r l a p ,   i t   i s   l i m i t e d   w h a t   a   p o d   w o u l d   b e   a b l e   t o   d o :   t h e   p o d   U I D / G I D   w o n ' t   m a t c h   t h e   h o s t ' s   f i l e   o w n e r / g r o u p .   T h e   k u b e l e t   c a n   u s e   a   c u s t o m   r a n g e   f o r   u s e r   I D s   a n d   g r o u p   I D s   f o r   p o d s .   T o   c o n f i g u r e   a   c u s t o m   r a n g e ,   t h e   n o d e   n e e d s   t o   h a v e :   A   u s e r   k u b e l e t   i n   t h e   s y s t e m   ( y o u   c a n n o t   u s e   a n y   o t h e r   u s e r n a m e   h e r e ) T h e   b i n a r y   g e t s u b i d s   i n s t a l l e d   ( p a r t   o f   s h a d o w - u t i l s )   a n d   i n   t h e   P A T H   f o r   t h e   k u b e l e t   b i n a r y . A   c o n f i g u r a t i o n   o f   s u b o r d i n a t e   U I D s / G I D s   f o r   t h e   k u b e l e t   u s e r   ( s e e   m a n   5   s u b u i d   a n d   m a n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11915"
  },
  {
    "question": "What is ID count for each of Pods?",
    "answer": "S t a r t i n g   w i t h   K u b e r n e t e s   v 1 . 3 3 ,   t h e   I D   c o u n t   f o r   e a c h   o f   P o d s   c a n   b e   s e t   i n   K u b e l e t C o n f i g u r a t i o n .   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   u s e r N a m e s p a c e s :   i d s P e r P o d :   1 0 4 8 5 7 6   T h e   v a l u e   o f   i d s P e r P o d   ( u i n t 3 2 )   m u s t   b e   a   m u l t i p l e   o f   6 5 5 3 6 .   T h e   d e f a u l t   v a l u e   i s   6 5 5 3 6 .   T h i s   v a l u e   o n l y   a p p l i e s   t o   c o n t a i n e r s   c r e a t e d   a f t e r   t h e   k u b e l e t   w a s   s t a r t e d   w i t h   t h i s   K u b e l e t C o n f i g u r a t i o n .   R u n n i n g   c o n t a i n e r s   a r e   n o t   a f f e c t e d   b y   t h i s   c o n f i g .   I n   K u b e r n e t e s   p r i o r   t o   v 1 . 3 3 ,   t h e   I D   c o u n t   f o r   e a c h   o f   P o d s   w a s   h a r d - c o d e d   t o   6 5 5 3 6 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11916"
  },
  {
    "question": "What is Integration with Pod security admission checks?",
    "answer": "F o r   L i n u x   P o d s   t h a t   e n a b l e   u s e r   n a m e s p a c e s ,   K u b e r n e t e s   r e l a x e s   t h e   a p p l i c a t i o n   o f   P o d   S e c u r i t y   S t a n d a r d s   i n   a   c o n t r o l l e d   w a y .   T h i s   b e h a v i o r   c a n   b e   c o n t r o l l e d   b y   t h e   f e a t u r e   g a t e   U s e r N a m e s p a c e s P o d S e c u r i t y S t a n d a r d s ,   w h i c h   a l l o w s   a n   e a r l y   o p t - i n   f o r   e n d   u s e r s .   A d m i n s   h a v e   t o   e n s u r e   t h a t   u s e r   n a m e s p a c e s   a r e   e n a b l e d   b y   a l l   n o d e s   w i t h i n   t h e   c l u s t e r   i f   u s i n g   t h e   f e a t u r e   g a t e .   I f   y o u   e n a b l e   t h e   a s s o c i a t e d   f e a t u r e   g a t e   a n d   c r e a t e   a   P o d   t h a t   u s e s   u s e r   n a m e s p a c e s ,   t h e   f o l l o w i n g   f i e l d s   w o n ' t   b e   c o n s t r a i n e d   e v e n   i n   c o n t e x t s   t h a t   e n f o r c e   t h e   B a s e l i n e   o r   R e s t r i c t e d   p o d   s e c u r i t y   s t a n d a r d .   T h i s   b e h a v i o r   d o e s   n o t   p r e s e n t   a   s e c u r i t y   c o n c e r n   b e c a u s e   r o o t   i n s i d e   a   P o d   w i t h   u s e r   n a m e s p a c e s   a c t u a l l y   r e f e r s   t o   t h e   u s e r   i n s i d e   t h e   c o n t a i n e r ,   t h a t   i s   n e v e r   m a p p e d   t o   a   p r i v i l e g e d   u s e r   o n   t h e   h o s t .   H e r e ' s   t h e   l i s t   o f   f i e l d s   t h a t   a r e   n o t   c h e c k s   f o r   P o d s   i n   t h o s e   c i r c u m s t a n c e s :   s p e c . s e c u r i t y C o n t e x t . r u n A s N o n R o o t s p e c . c o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . r u n A s N o n R o o t s p e c . i n i t C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . r u n A s N o n R o o t s p e c . e p h ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11917"
  },
  {
    "question": "What is Limitations?",
    "answer": "W h e n   u s i n g   a   u s e r   n a m e s p a c e   f o r   t h e   p o d ,   i t   i s   d i s a l l o w e d   t o   u s e   o t h e r   h o s t   n a m e s p a c e s .   I n   p a r t i c u l a r ,   i f   y o u   s e t   h o s t U s e r s :   f a l s e   t h e n   y o u   a r e   n o t   a l l o w e d   t o   s e t   a n y   o f :   h o s t N e t w o r k :   t r u e h o s t I P C :   t r u e h o s t P I D :   t r u e   N o   c o n t a i n e r   c a n   u s e   v o l u m e D e v i c e s   ( r a w   b l o c k   v o l u m e s ,   l i k e   / d e v / s d a )   e i t h e r .   T h i s   i n c l u d e s   a l l   t h e   c o n t a i n e r   a r r a y s   i n   t h e   p o d   s p e c :   c o n t a i n e r s i n i t C o n t a i n e r s e p h e m e r a l C o n t a i n e r s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11918"
  },
  {
    "question": "What is Metrics and observability?",
    "answer": "T h e   k u b e l e t   e x p o r t s   t w o   p r o m e t h e u s   m e t r i c s   s p e c i f i c   t o   u s e r - n a m e s p a c e s :   s t a r t e d _ u s e r _ n a m e s p a c e d _ p o d s _ t o t a l :   a   c o u n t e r   t h a t   t r a c k s   t h e   n u m b e r   o f   u s e r   n a m e s p a c e d   p o d s   t h a t   a r e   a t t e m p t e d   t o   b e   c r e a t e d . s t a r t e d _ u s e r _ n a m e s p a c e d _ p o d s _ e r r o r s _ t o t a l :   a   c o u n t e r   t h a t   t r a c k s   t h e   n u m b e r   o f   e r r o r s   c r e a t i n g   u s e r   n a m e s p a c e d   p o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11919"
  },
  {
    "question": "What is What's next?",
    "answer": "T a k e   a   l o o k   a t   U s e   a   U s e r   N a m e s p a c e   W i t h   a   P o d",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11920"
  },
  {
    "question": "What is 4.1.9 - Downward API?",
    "answer": "I t   i s   s o m e t i m e s   u s e f u l   f o r   a   c o n t a i n e r   t o   h a v e   i n f o r m a t i o n   a b o u t   i t s e l f ,   w i t h o u t   b e i n g   o v e r l y   c o u p l e d   t o   K u b e r n e t e s .   T h e   d o w n w a r d   A P I   a l l o w s   c o n t a i n e r s   t o   c o n s u m e   i n f o r m a t i o n   a b o u t   t h e m s e l v e s   o r   t h e   c l u s t e r   w i t h o u t   u s i n g   t h e   K u b e r n e t e s   c l i e n t   o r   A P I   s e r v e r .   A n   e x a m p l e   i s   a n   e x i s t i n g   a p p l i c a t i o n   t h a t   a s s u m e s   a   p a r t i c u l a r   w e l l - k n o w n   e n v i r o n m e n t   v a r i a b l e   h o l d s   a   u n i q u e   i d e n t i f i e r .   O n e   p o s s i b i l i t y   i s   t o   w r a p   t h e   a p p l i c a t i o n ,   b u t   t h a t   i s   t e d i o u s   a n d   e r r o r - p r o n e ,   a n d   i t   v i o l a t e s   t h e   g o a l   o f   l o w   c o u p l i n g .   A   b e t t e r   o p t i o n   w o u l d   b e   t o   u s e   t h e   P o d ' s   n a m e   a s   a n   i d e n t i f i e r ,   a n d   i n j e c t   t h e   P o d ' s   n a m e   i n t o   t h e   w e l l - k n o w n   e n v i r o n m e n t   v a r i a b l e .   I n   K u b e r n e t e s ,   t h e r e   a r e   t w o   w a y s   t o   e x p o s e   P o d   a n d   c o n t a i n e r   f i e l d s   t o   a   r u n n i n g   c o n t a i n e r :   a s   e n v i r o n m e n t   v a r i a b l e s a s   f i l e s   i n   a   d o w n w a r d A P I   v o l u m e   T o g e t h e r ,   t h e s e   t w o   w a y s   o f   e x p o s i n g   P o d   a n d   c o n t a i n e r   f i e l d s   a r e   c a l l e d   t h e   d o w n w a r d   A P I .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11921"
  },
  {
    "question": "What is Available fields?",
    "answer": "O n l y   s o m e   K u b e r n e t e s   A P I   f i e l d s   a r e   a v a i l a b l e   t h r o u g h   t h e   d o w n w a r d   A P I .   T h i s   s e c t i o n   l i s t s   w h i c h   f i e l d s   y o u   c a n   m a k e   a v a i l a b l e .   Y o u   c a n   p a s s   i n f o r m a t i o n   f r o m   a v a i l a b l e   P o d - l e v e l   f i e l d s   u s i n g   f i e l d R e f .   A t   t h e   A P I   l e v e l ,   t h e   s p e c   f o r   a   P o d   a l w a y s   d e f i n e s   a t   l e a s t   o n e   C o n t a i n e r .   Y o u   c a n   p a s s   i n f o r m a t i o n   f r o m   a v a i l a b l e   C o n t a i n e r - l e v e l   f i e l d s   u s i n g   r e s o u r c e F i e l d R e f .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11922"
  },
  {
    "question": "What is Information available via fieldRef?",
    "answer": "F o r   s o m e   P o d - l e v e l   f i e l d s ,   y o u   c a n   p r o v i d e   t h e m   t o   a   c o n t a i n e r   e i t h e r   a s   a n   e n v i r o n m e n t   v a r i a b l e   o r   u s i n g   a   d o w n w a r d A P I   v o l u m e .   T h e   f i e l d s   a v a i l a b l e   v i a   e i t h e r   m e c h a n i s m   a r e :   T h e   f o l l o w i n g   i n f o r m a t i o n   i s   a v a i l a b l e   t h r o u g h   e n v i r o n m e n t   v a r i a b l e s   b u t   n o t   a s   a   d o w n w a r d A P I   v o l u m e   f i e l d R e f :   T h e   f o l l o w i n g   i n f o r m a t i o n   i s   a v a i l a b l e   t h r o u g h   a   d o w n w a r d A P I   v o l u m e   f i e l d R e f ,   b u t   n o t   a s   e n v i r o n m e n t   v a r i a b l e s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11923"
  },
  {
    "question": "What is Information available via resourceFieldRef?",
    "answer": "T h e s e   c o n t a i n e r - l e v e l   f i e l d s   a l l o w   y o u   t o   p r o v i d e   i n f o r m a t i o n   a b o u t   r e q u e s t s   a n d   l i m i t s   f o r   r e s o u r c e s   s u c h   a s   C P U   a n d   m e m o r y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11924"
  },
  {
    "question": "What is Note:?",
    "answer": "C o n t a i n e r   C P U   a n d   m e m o r y   r e s o u r c e s   c a n   b e   r e s i z e d   w h i l e   t h e   c o n t a i n e r   i s   r u n n i n g .   I f   t h i s   h a p p e n s ,   a   d o w n w a r d   A P I   v o l u m e   w i l l   b e   u p d a t e d ,   b u t   e n v i r o n m e n t   v a r i a b l e s   w i l l   n o t   b e   u p d a t e d   u n l e s s   t h e   c o n t a i n e r   r e s t a r t s .   S e e   R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11925"
  },
  {
    "question": "What is Fallback information for resource limits?",
    "answer": "I f   C P U   a n d   m e m o r y   l i m i t s   a r e   n o t   s p e c i f i e d   f o r   a   c o n t a i n e r ,   a n d   y o u   u s e   t h e   d o w n w a r d   A P I   t o   t r y   t o   e x p o s e   t h a t   i n f o r m a t i o n ,   t h e n   t h e   k u b e l e t   d e f a u l t s   t o   e x p o s i n g   t h e   m a x i m u m   a l l o c a t a b l e   v a l u e   f o r   C P U   a n d   m e m o r y   b a s e d   o n   t h e   n o d e   a l l o c a t a b l e   c a l c u l a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11926"
  },
  {
    "question": "What is What's next?",
    "answer": "Y o u   c a n   r e a d   a b o u t   d o w n w a r d A P I   v o l u m e s .   Y o u   c a n   t r y   u s i n g   t h e   d o w n w a r d   A P I   t o   e x p o s e   c o n t a i n e r -   o r   P o d - l e v e l   i n f o r m a t i o n :   a s   e n v i r o n m e n t   v a r i a b l e s a s   f i l e s   i n   d o w n w a r d A P I   v o l u m e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11927"
  },
  {
    "question": "What is 4.2 - Workload Management?",
    "answer": "K u b e r n e t e s   p r o v i d e s   s e v e r a l   b u i l t - i n   A P I s   f o r   d e c l a r a t i v e   m a n a g e m e n t   o f   y o u r   w o r k l o a d s   a n d   t h e   c o m p o n e n t s   o f   t h o s e   w o r k l o a d s .   U l t i m a t e l y ,   y o u r   a p p l i c a t i o n s   r u n   a s   c o n t a i n e r s   i n s i d e   P o d s ;   h o w e v e r ,   m a n a g i n g   i n d i v i d u a l   P o d s   w o u l d   b e   a   l o t   o f   e f f o r t .   F o r   e x a m p l e ,   i f   a   P o d   f a i l s ,   y o u   p r o b a b l y   w a n t   t o   r u n   a   n e w   P o d   t o   r e p l a c e   i t .   K u b e r n e t e s   c a n   d o   t h a t   f o r   y o u .   Y o u   u s e   t h e   K u b e r n e t e s   A P I   t o   c r e a t e   a   w o r k l o a d   o b j e c t   t h a t   r e p r e s e n t s   a   h i g h e r   a b s t r a c t i o n   l e v e l   t h a n   a   P o d ,   a n d   t h e n   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   a u t o m a t i c a l l y   m a n a g e s   P o d   o b j e c t s   o n   y o u r   b e h a l f ,   b a s e d   o n   t h e   s p e c i f i c a t i o n   f o r   t h e   w o r k l o a d   o b j e c t   y o u   d e f i n e d .   T h e   b u i l t - i n   A P I s   f o r   m a n a g i n g   w o r k l o a d s   a r e :   D e p l o y m e n t   ( a n d ,   i n d i r e c t l y ,   R e p l i c a S e t ) ,   t h e   m o s t   c o m m o n   w a y   t o   r u n   a n   a p p l i c a t i o n   o n   y o u r   c l u s t e r .   D e p l o y m e n t   i s   a   g o o d   f i t   f o r   m a n a g i n g   a   s t a t e l e s s   a p p l i c a t i o n   w o r k l o a d   o n   y o u r   c l u s t e r ,   w h e r e   a n y   P o d   i n   t h e   D e p l o y m e n t   i s   i n t e r c h a n g e a b l e   a n d   c a n   b e   r e p l a c e d   i f   n e e d e d .   ( D e p l o y m e n t s   a r e   a   r e p l a c e m e n t   f o r   t h e   l e g a c y   R e p l i c a t i o n C o n t r o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11928"
  },
  {
    "question": "What is 4.2.1 - Deployments?",
    "answer": "A   D e p l o y m e n t   p r o v i d e s   d e c l a r a t i v e   u p d a t e s   f o r   P o d s   a n d   R e p l i c a S e t s .   Y o u   d e s c r i b e   a   d e s i r e d   s t a t e   i n   a   D e p l o y m e n t ,   a n d   t h e   D e p l o y m e n t   C o n t r o l l e r   c h a n g e s   t h e   a c t u a l   s t a t e   t o   t h e   d e s i r e d   s t a t e   a t   a   c o n t r o l l e d   r a t e .   Y o u   c a n   d e f i n e   D e p l o y m e n t s   t o   c r e a t e   n e w   R e p l i c a S e t s ,   o r   t o   r e m o v e   e x i s t i n g   D e p l o y m e n t s   a n d   a d o p t   a l l   t h e i r   r e s o u r c e s   w i t h   n e w   D e p l o y m e n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11929"
  },
  {
    "question": "What is Use Case?",
    "answer": "T h e   f o l l o w i n g   a r e   t y p i c a l   u s e   c a s e s   f o r   D e p l o y m e n t s :   C r e a t e   a   D e p l o y m e n t   t o   r o l l o u t   a   R e p l i c a S e t .   T h e   R e p l i c a S e t   c r e a t e s   P o d s   i n   t h e   b a c k g r o u n d .   C h e c k   t h e   s t a t u s   o f   t h e   r o l l o u t   t o   s e e   i f   i t   s u c c e e d s   o r   n o t . D e c l a r e   t h e   n e w   s t a t e   o f   t h e   P o d s   b y   u p d a t i n g   t h e   P o d T e m p l a t e S p e c   o f   t h e   D e p l o y m e n t .   A   n e w   R e p l i c a S e t   i s   c r e a t e d ,   a n d   t h e   D e p l o y m e n t   g r a d u a l l y   s c a l e s   i t   u p   w h i l e   s c a l i n g   d o w n   t h e   o l d   R e p l i c a S e t ,   e n s u r i n g   P o d s   a r e   r e p l a c e d   a t   a   c o n t r o l l e d   r a t e .   E a c h   n e w   R e p l i c a S e t   u p d a t e s   t h e   r e v i s i o n   o f   t h e   D e p l o y m e n t . R o l l b a c k   t o   a n   e a r l i e r   D e p l o y m e n t   r e v i s i o n   i f   t h e   c u r r e n t   s t a t e   o f   t h e   D e p l o y m e n t   i s   n o t   s t a b l e .   E a c h   r o l l b a c k   u p d a t e s   t h e   r e v i s i o n   o f   t h e   D e p l o y m e n t . S c a l e   u p   t h e   D e p l o y m e n t   t o   f a c i l i t a t e   m o r e   l o a d . P a u s e   t h e   r o l l o u t   o f   a   D e p l o y m e n t   t o   a p p l y   m u l t i p l e   f i x e s   t o   i t s   P o d T e m p l a t e S p e c   a n d   t h e n   r e s u m e   i t   t o   s t a r t   a   n e w   r o l l o u t . U s e   t h e   s t a t u s   o f   t h e   D e p l o y m e n t   a s   a n   i n d i c a t o r   t h a t   a   r o l l o u t   h a s   s t u c k . C l e a n   u p   o l d e r   R e p l i c a S e t s   t h a t   y o u   d o n ' t   n e e d   a n y m o r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11930"
  },
  {
    "question": "What is Creating a Deployment?",
    "answer": "T h e   f o l l o w i n g   i s   a n   e x a m p l e   o f   a   D e p l o y m e n t .   I t   c r e a t e s   a   R e p l i c a S e t   t o   b r i n g   u p   t h r e e   n g i n x   P o d s :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   l a b e l s :   a p p :   n g i n x   s p e c :   r e p l i c a s :   3   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0   I n   t h i s   e x a m p l e :   A   D e p l o y m e n t   n a m e d   n g i n x - d e p l o y m e n t   i s   c r e a t e d ,   i n d i c a t e d   b y   t h e   . m e t a d a t a . n a m e   f i e l d .   T h i s   n a m e   w i l l   b e c o m e   t h e   b a s i s   f o r   t h e   R e p l i c a S e t s   a n d   P o d s   w h i c h   a r e   c r e a t e d   l a t e r .   S e e   W r i t i n g   a   D e p l o y m e n t   S p e c   f o r   m o r e   d e t a i l s . T h e   D e p l o y m e n t   c r e a t e s   a   R e p l i c a S e t   t h a t   c r e a t e s   t h r e e   r e p l i c a t e d   P o d s ,   i n d i c a t e d   b y   t h e   . s p e c . r e p l i c a s   f i e l d . T h e   . s p e c . s e l e c t o r   f i e l d   d e f i n e s   h o w   t h e   c r e a t e d   R e p l i c a S e t   f i n d s   w h i c h   P o d s   t o   m a n a g e .   I n   t h i s   c a s e ,   y o u   s e l e c t   a   l a b e l   t h a t   i s   d e f i n e d   i n   t h e   P o d   t e m p l a t e   ( a p p :   n g i n x ) .   H o w e v e r ,   m o r e   s o p h i s t i c a t e d   s e l e c t i o n   r u l e s   a r e   p o s s i b l e ,   a s   l o n g   a s   t h e   P o d   t e m p l a t e   i t s e l f   s a t i s f i e s   t h e   r u l e . N o t e : T h e   . s p ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11931"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   . s p e c . t e m p l a t e   f i e l d   c o n t a i n s   t h e   f o l l o w i n g   s u b - f i e l d s :   T h e   P o d s   a r e   l a b e l e d   a p p :   n g i n x u s i n g   t h e   . m e t a d a t a . l a b e l s   f i e l d . T h e   P o d   t e m p l a t e ' s   s p e c i f i c a t i o n ,   o r   . s p e c   f i e l d ,   i n d i c a t e s   t h a t   t h e   P o d s   r u n   o n e   c o n t a i n e r ,   n g i n x ,   w h i c h   r u n s   t h e   n g i n x   D o c k e r   H u b   i m a g e   a t   v e r s i o n   1 . 1 4 . 2 . C r e a t e   o n e   c o n t a i n e r   a n d   n a m e   i t   n g i n x   u s i n g   t h e   . s p e c . c o n t a i n e r s [ 0 ] . n a m e   f i e l d .   B e f o r e   y o u   b e g i n ,   m a k e   s u r e   y o u r   K u b e r n e t e s   c l u s t e r   i s   u p   a n d   r u n n i n g .   F o l l o w   t h e   s t e p s   g i v e n   b e l o w   t o   c r e a t e   t h e   a b o v e   D e p l o y m e n t :   C r e a t e   t h e   D e p l o y m e n t   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / c o n t r o l l e r s / n g i n x - d e p l o y m e n t . y a m l   R u n   k u b e c t l   g e t   d e p l o y m e n t s   t o   c h e c k   i f   t h e   D e p l o y m e n t   w a s   c r e a t e d . I f   t h e   D e p l o y m e n t   i s   s t i l l   b e i n g   c r e a t e d ,   t h e   o u t p u t   i s   s i m i l a r   t o   t h e   f o l l o w i n g : N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   n g i n x - d e p l o y m e n t   0 / 3   0   0   1 s   W h e n   y o u   i n s p e c t   t h e   D e p l o y m e n t s   i n   y o u r   c l u s t e r ,   t h e   f o l l o w i n g   f i e l d s   a r e   d i s p l a y e d : N A M E   l i s t s   t h e   n a m e s   o f   t h e   D e p l o y m e n t s   i n   t h e   n a m e s p a c e . R E A D Y   d i s p l a y s   h o w   m a n y ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11932"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   m u s t   s p e c i f y   a n   a p p r o p r i a t e   s e l e c t o r   a n d   P o d   t e m p l a t e   l a b e l s   i n   a   D e p l o y m e n t   ( i n   t h i s   c a s e ,   a p p :   n g i n x ) .   D o   n o t   o v e r l a p   l a b e l s   o r   s e l e c t o r s   w i t h   o t h e r   c o n t r o l l e r s   ( i n c l u d i n g   o t h e r   D e p l o y m e n t s   a n d   S t a t e f u l S e t s ) .   K u b e r n e t e s   d o e s n ' t   s t o p   y o u   f r o m   o v e r l a p p i n g ,   a n d   i f   m u l t i p l e   c o n t r o l l e r s   h a v e   o v e r l a p p i n g   s e l e c t o r s   t h o s e   c o n t r o l l e r s   m i g h t   c o n f l i c t   a n d   b e h a v e   u n e x p e c t e d l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11933"
  },
  {
    "question": "What is Caution:?",
    "answer": "T h e   p o d - t e m p l a t e - h a s h   l a b e l   i s   a d d e d   b y   t h e   D e p l o y m e n t   c o n t r o l l e r   t o   e v e r y   R e p l i c a S e t   t h a t   a   D e p l o y m e n t   c r e a t e s   o r   a d o p t s .   T h i s   l a b e l   e n s u r e s   t h a t   c h i l d   R e p l i c a S e t s   o f   a   D e p l o y m e n t   d o   n o t   o v e r l a p .   I t   i s   g e n e r a t e d   b y   h a s h i n g   t h e   P o d T e m p l a t e   o f   t h e   R e p l i c a S e t   a n d   u s i n g   t h e   r e s u l t i n g   h a s h   a s   t h e   l a b e l   v a l u e   t h a t   i s   a d d e d   t o   t h e   R e p l i c a S e t   s e l e c t o r ,   P o d   t e m p l a t e   l a b e l s ,   a n d   i n   a n y   e x i s t i n g   P o d s   t h a t   t h e   R e p l i c a S e t   m i g h t   h a v e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11934"
  },
  {
    "question": "What is Note:?",
    "answer": "F o l l o w   t h e   s t e p s   g i v e n   b e l o w   t o   u p d a t e   y o u r   D e p l o y m e n t :   L e t ' s   u p d a t e   t h e   n g i n x   P o d s   t o   u s e   t h e   n g i n x : 1 . 1 6 . 1   i m a g e   i n s t e a d   o f   t h e   n g i n x : 1 . 1 4 . 2   i m a g e . k u b e c t l   s e t   i m a g e   d e p l o y m e n t . v 1 . a p p s / n g i n x - d e p l o y m e n t   n g i n x = n g i n x : 1 . 1 6 . 1   o r   u s e   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   s e t   i m a g e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   n g i n x = n g i n x : 1 . 1 6 . 1   w h e r e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   i n d i c a t e s   t h e   D e p l o y m e n t ,   n g i n x   i n d i c a t e s   t h e   C o n t a i n e r   t h e   u p d a t e   w i l l   t a k e   p l a c e   a n d   n g i n x : 1 . 1 6 . 1   i n d i c a t e s   t h e   n e w   i m a g e   a n d   i t s   t a g . T h e   o u t p u t   i s   s i m i l a r   t o : d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   i m a g e   u p d a t e d   A l t e r n a t i v e l y ,   y o u   c a n   e d i t   t h e   D e p l o y m e n t   a n d   c h a n g e   . s p e c . t e m p l a t e . s p e c . c o n t a i n e r s [ 0 ] . i m a g e   f r o m   n g i n x : 1 . 1 4 . 2   t o   n g i n x : 1 . 1 6 . 1 : k u b e c t l   e d i t   d e p l o y m e n t / n g i n x - d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o : d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   e d i t e d   T o   s e e   t h e   r o l l o u t   s t a t u s ,   r u n : k u b e c t l   r o l l o u t   s t a t u s   d e p l o y m e n t / n g i n x - d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : W a i t i n g   f o r   r o l l o u t   t o   f i n i s h :   2   o u t   o f   3   n e w   r e p l i c a s   h a v e   b e e n   u p d a t e d . . .   o r d e p l o y m e n t   \" n g i n x - d ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11935"
  },
  {
    "question": "What is Rollover (aka multiple updates in-flight)?",
    "answer": "E a c h   t i m e   a   n e w   D e p l o y m e n t   i s   o b s e r v e d   b y   t h e   D e p l o y m e n t   c o n t r o l l e r ,   a   R e p l i c a S e t   i s   c r e a t e d   t o   b r i n g   u p   t h e   d e s i r e d   P o d s .   I f   t h e   D e p l o y m e n t   i s   u p d a t e d ,   t h e   e x i s t i n g   R e p l i c a S e t   t h a t   c o n t r o l s   P o d s   w h o s e   l a b e l s   m a t c h   . s p e c . s e l e c t o r   b u t   w h o s e   t e m p l a t e   d o e s   n o t   m a t c h   . s p e c . t e m p l a t e   a r e   s c a l e d   d o w n .   E v e n t u a l l y ,   t h e   n e w   R e p l i c a S e t   i s   s c a l e d   t o   . s p e c . r e p l i c a s   a n d   a l l   o l d   R e p l i c a S e t s   i s   s c a l e d   t o   0 .   I f   y o u   u p d a t e   a   D e p l o y m e n t   w h i l e   a n   e x i s t i n g   r o l l o u t   i s   i n   p r o g r e s s ,   t h e   D e p l o y m e n t   c r e a t e s   a   n e w   R e p l i c a S e t   a s   p e r   t h e   u p d a t e   a n d   s t a r t   s c a l i n g   t h a t   u p ,   a n d   r o l l s   o v e r   t h e   R e p l i c a S e t   t h a t   i t   w a s   s c a l i n g   u p   p r e v i o u s l y   - -   i t   w i l l   a d d   i t   t o   i t s   l i s t   o f   o l d   R e p l i c a S e t s   a n d   s t a r t   s c a l i n g   i t   d o w n .   F o r   e x a m p l e ,   s u p p o s e   y o u   c r e a t e   a   D e p l o y m e n t   t o   c r e a t e   5   r e p l i c a s   o f   n g i n x : 1 . 1 4 . 2 ,   b u t   t h e n   u p d a t e   t h e   D e p l o y m e n t   t o   c r e a t e   5   r e p l i c a s   o f   n g i n x : 1 . 1 6 . 1 ,   w h e n   o n l y   3   r e p l i c a s   o f   n g i n x : 1 . 1 4 . 2   h a d   b e e n   c r e a t e d .   I n   t h a t   c a s e ,   t h e   D e p l o y m e n t   i m m e d i a t e l y   s t a r t s   k i l l i n g   t h e   3   n g i n x : 1 . 1 4 . 2   P o d s   t h a t   i t   h a d   c r e a t e d ,   a n d ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11936"
  },
  {
    "question": "What is Label selector updates?",
    "answer": "I t   i s   g e n e r a l l y   d i s c o u r a g e d   t o   m a k e   l a b e l   s e l e c t o r   u p d a t e s   a n d   i t   i s   s u g g e s t e d   t o   p l a n   y o u r   s e l e c t o r s   u p   f r o n t .   I n   a n y   c a s e ,   i f   y o u   n e e d   t o   p e r f o r m   a   l a b e l   s e l e c t o r   u p d a t e ,   e x e r c i s e   g r e a t   c a u t i o n   a n d   m a k e   s u r e   y o u   h a v e   g r a s p e d   a l l   o f   t h e   i m p l i c a t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11937"
  },
  {
    "question": "What is Note:?",
    "answer": "S e l e c t o r   a d d i t i o n s   r e q u i r e   t h e   P o d   t e m p l a t e   l a b e l s   i n   t h e   D e p l o y m e n t   s p e c   t o   b e   u p d a t e d   w i t h   t h e   n e w   l a b e l   t o o ,   o t h e r w i s e   a   v a l i d a t i o n   e r r o r   i s   r e t u r n e d .   T h i s   c h a n g e   i s   a   n o n - o v e r l a p p i n g   o n e ,   m e a n i n g   t h a t   t h e   n e w   s e l e c t o r   d o e s   n o t   s e l e c t   R e p l i c a S e t s   a n d   P o d s   c r e a t e d   w i t h   t h e   o l d   s e l e c t o r ,   r e s u l t i n g   i n   o r p h a n i n g   a l l   o l d   R e p l i c a S e t s   a n d   c r e a t i n g   a   n e w   R e p l i c a S e t . S e l e c t o r   u p d a t e s   c h a n g e s   t h e   e x i s t i n g   v a l u e   i n   a   s e l e c t o r   k e y   - -   r e s u l t   i n   t h e   s a m e   b e h a v i o r   a s   a d d i t i o n s . S e l e c t o r   r e m o v a l s   r e m o v e s   a n   e x i s t i n g   k e y   f r o m   t h e   D e p l o y m e n t   s e l e c t o r   - -   d o   n o t   r e q u i r e   a n y   c h a n g e s   i n   t h e   P o d   t e m p l a t e   l a b e l s .   E x i s t i n g   R e p l i c a S e t s   a r e   n o t   o r p h a n e d ,   a n d   a   n e w   R e p l i c a S e t   i s   n o t   c r e a t e d ,   b u t   n o t e   t h a t   t h e   r e m o v e d   l a b e l   s t i l l   e x i s t s   i n   a n y   e x i s t i n g   P o d s   a n d   R e p l i c a S e t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11938"
  },
  {
    "question": "What is Rolling Back a Deployment?",
    "answer": "S o m e t i m e s ,   y o u   m a y   w a n t   t o   r o l l b a c k   a   D e p l o y m e n t ;   f o r   e x a m p l e ,   w h e n   t h e   D e p l o y m e n t   i s   n o t   s t a b l e ,   s u c h   a s   c r a s h   l o o p i n g .   B y   d e f a u l t ,   a l l   o f   t h e   D e p l o y m e n t ' s   r o l l o u t   h i s t o r y   i s   k e p t   i n   t h e   s y s t e m   s o   t h a t   y o u   c a n   r o l l b a c k   a n y t i m e   y o u   w a n t   ( y o u   c a n   c h a n g e   t h a t   b y   m o d i f y i n g   r e v i s i o n   h i s t o r y   l i m i t ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11939"
  },
  {
    "question": "What is Note:?",
    "answer": "S u p p o s e   t h a t   y o u   m a d e   a   t y p o   w h i l e   u p d a t i n g   t h e   D e p l o y m e n t ,   b y   p u t t i n g   t h e   i m a g e   n a m e   a s   n g i n x : 1 . 1 6 1   i n s t e a d   o f   n g i n x : 1 . 1 6 . 1 : k u b e c t l   s e t   i m a g e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   n g i n x = n g i n x : 1 . 1 6 1   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   i m a g e   u p d a t e d   T h e   r o l l o u t   g e t s   s t u c k .   Y o u   c a n   v e r i f y   i t   b y   c h e c k i n g   t h e   r o l l o u t   s t a t u s : k u b e c t l   r o l l o u t   s t a t u s   d e p l o y m e n t / n g i n x - d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : W a i t i n g   f o r   r o l l o u t   t o   f i n i s h :   1   o u t   o f   3   n e w   r e p l i c a s   h a v e   b e e n   u p d a t e d . . .   P r e s s   C t r l - C   t o   s t o p   t h e   a b o v e   r o l l o u t   s t a t u s   w a t c h .   F o r   m o r e   i n f o r m a t i o n   o n   s t u c k   r o l l o u t s ,   r e a d   m o r e   h e r e . Y o u   s e e   t h a t   t h e   n u m b e r   o f   o l d   r e p l i c a s   ( a d d i n g   t h e   r e p l i c a   c o u n t   f r o m   n g i n x - d e p l o y m e n t - 1 5 6 4 1 8 0 3 6 5   a n d   n g i n x - d e p l o y m e n t - 2 0 3 5 3 8 4 2 1 1 )   i s   3 ,   a n d   t h e   n u m b e r   o f   n e w   r e p l i c a s   ( f r o m   n g i n x - d e p l o y m e n t - 3 0 6 6 7 2 4 1 9 1 )   i s   1 . k u b e c t l   g e t   r s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   D E S I R E D   C U R R E N T   R E A D Y   A G E   n g i n x - d e p l o y m e n t - 1 5 6 4 1 8 0 3 6 5   3   3   3   2 5 s   n g i n x - d e p l o y m e n t - 2 0 3 5 3 8 4 2 1 1   0   0   0   3 6 s   n g i n x - d e p l o y m e n t - 3 0 6 6 7 2 4 1 9 1   1   1   0   6 ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11940"
  },
  {
    "question": "What is Note:?",
    "answer": "G e t   t h e   d e s c r i p t i o n   o f   t h e   D e p l o y m e n t :   k u b e c t l   d e s c r i b e   d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N a m e :   n g i n x - d e p l o y m e n t   N a m e s p a c e :   d e f a u l t   C r e a t i o n T i m e s t a m p :   T u e ,   1 5   M a r   2 0 1 6   1 4 : 4 8 : 0 4   - 0 7 0 0   L a b e l s :   a p p = n g i n x   S e l e c t o r :   a p p = n g i n x   R e p l i c a s :   3   d e s i r e d   |   1   u p d a t e d   |   4   t o t a l   |   3   a v a i l a b l e   |   1   u n a v a i l a b l e   S t r a t e g y T y p e :   R o l l i n g U p d a t e   M i n R e a d y S e c o n d s :   0   R o l l i n g U p d a t e S t r a t e g y :   2 5 %   m a x   u n a v a i l a b l e ,   2 5 %   m a x   s u r g e   P o d   T e m p l a t e :   L a b e l s :   a p p = n g i n x   C o n t a i n e r s :   n g i n x :   I m a g e :   n g i n x : 1 . 1 6 1   P o r t :   8 0 / T C P   H o s t   P o r t :   0 / T C P   E n v i r o n m e n t :   < n o n e >   M o u n t s :   < n o n e >   V o l u m e s :   < n o n e >   C o n d i t i o n s :   T y p e   S t a t u s   R e a s o n   - - - -   - - - - - -   - - - - - -   A v a i l a b l e   T r u e   M i n i m u m R e p l i c a s A v a i l a b l e   P r o g r e s s i n g   T r u e   R e p l i c a S e t U p d a t e d   O l d R e p l i c a S e t s :   n g i n x - d e p l o y m e n t - 1 5 6 4 1 8 0 3 6 5   ( 3 / 3   r e p l i c a s   c r e a t e d )   N e w R e p l i c a S e t :   n g i n x - d e p l o y m e n t - 3 0 6 6 7 2 4 1 9 1   ( 1 / 1   r e p l i c a s   c r e a t e d )   E v e n t s :   F i r s t S e e n   L a s t S e e n   C o u n t   F r o m   S u b O b j e c t P a t h   T y p e   R e a s o n   M e s s a g e   - - - - - - - - -   - - - - - - - -   - - - - -   - - - -   - - - - - - - - - - - - -   - - - - - - - -   - - - - - -   - - - - - - -   1 m   1 m   1   { d e p l o y m e n t - c o n t r o l l e r   }   N o r m a l   S c a l i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11941"
  },
  {
    "question": "What is Checking Rollout History of a Deployment?",
    "answer": "F o l l o w   t h e   s t e p s   g i v e n   b e l o w   t o   c h e c k   t h e   r o l l o u t   h i s t o r y :   F i r s t ,   c h e c k   t h e   r e v i s i o n s   o f   t h i s   D e p l o y m e n t : k u b e c t l   r o l l o u t   h i s t o r y   d e p l o y m e n t / n g i n x - d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : d e p l o y m e n t s   \" n g i n x - d e p l o y m e n t \"   R E V I S I O N   C H A N G E - C A U S E   1   k u b e c t l   a p p l y   - - f i l e n a m e = h t t p s : / / k 8 s . i o / e x a m p l e s / c o n t r o l l e r s / n g i n x - d e p l o y m e n t . y a m l   2   k u b e c t l   s e t   i m a g e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   n g i n x = n g i n x : 1 . 1 6 . 1   3   k u b e c t l   s e t   i m a g e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   n g i n x = n g i n x : 1 . 1 6 1   C H A N G E - C A U S E   i s   c o p i e d   f r o m   t h e   D e p l o y m e n t   a n n o t a t i o n   k u b e r n e t e s . i o / c h a n g e - c a u s e   t o   i t s   r e v i s i o n s   u p o n   c r e a t i o n .   Y o u   c a n   s p e c i f y   t h e C H A N G E - C A U S E   m e s s a g e   b y : A n n o t a t i n g   t h e   D e p l o y m e n t   w i t h   k u b e c t l   a n n o t a t e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   k u b e r n e t e s . i o / c h a n g e - c a u s e = \" i m a g e   u p d a t e d   t o   1 . 1 6 . 1 \" M a n u a l l y   e d i t i n g   t h e   m a n i f e s t   o f   t h e   r e s o u r c e . T o   s e e   t h e   d e t a i l s   o f   e a c h   r e v i s i o n ,   r u n : k u b e c t l   r o l l o u t   h i s t o r y   d e p l o y m e n t / n g i n x - d e p l o y m e n t   - - r e v i s i o n = 2   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : d e p l o y m e n t s   \" n g i n x - d e p l o y m e n t \"   r e v i s i o n   2   L a b e l s :   a p p = n g i n x   p o d - t e m p l a t e - h a s ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11942"
  },
  {
    "question": "What is Rolling Back to a Previous Revision?",
    "answer": "F o l l o w   t h e   s t e p s   g i v e n   b e l o w   t o   r o l l b a c k   t h e   D e p l o y m e n t   f r o m   t h e   c u r r e n t   v e r s i o n   t o   t h e   p r e v i o u s   v e r s i o n ,   w h i c h   i s   v e r s i o n   2 .   N o w   y o u ' v e   d e c i d e d   t o   u n d o   t h e   c u r r e n t   r o l l o u t   a n d   r o l l b a c k   t o   t h e   p r e v i o u s   r e v i s i o n : k u b e c t l   r o l l o u t   u n d o   d e p l o y m e n t / n g i n x - d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   r o l l e d   b a c k   A l t e r n a t i v e l y ,   y o u   c a n   r o l l b a c k   t o   a   s p e c i f i c   r e v i s i o n   b y   s p e c i f y i n g   i t   w i t h   - - t o - r e v i s i o n : k u b e c t l   r o l l o u t   u n d o   d e p l o y m e n t / n g i n x - d e p l o y m e n t   - - t o - r e v i s i o n = 2   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   r o l l e d   b a c k   F o r   m o r e   d e t a i l s   a b o u t   r o l l o u t   r e l a t e d   c o m m a n d s ,   r e a d   k u b e c t l   r o l l o u t . T h e   D e p l o y m e n t   i s   n o w   r o l l e d   b a c k   t o   a   p r e v i o u s   s t a b l e   r e v i s i o n .   A s   y o u   c a n   s e e ,   a   D e p l o y m e n t R o l l b a c k   e v e n t   f o r   r o l l i n g   b a c k   t o   r e v i s i o n   2   i s   g e n e r a t e d   f r o m   D e p l o y m e n t   c o n t r o l l e r . C h e c k   i f   t h e   r o l l b a c k   w a s   s u c c e s s f u l   a n d   t h e   D e p l o y m e n t   i s   r u n n i n g   a s   e x p e c t e d ,   r u n : k u b e c t l   g e t   d e p l o y m e n t   n g i n x - d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11943"
  },
  {
    "question": "What is Scaling a Deployment?",
    "answer": "Y o u   c a n   s c a l e   a   D e p l o y m e n t   b y   u s i n g   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   s c a l e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   - - r e p l i c a s = 1 0   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   s c a l e d   A s s u m i n g   h o r i z o n t a l   P o d   a u t o s c a l i n g   i s   e n a b l e d   i n   y o u r   c l u s t e r ,   y o u   c a n   s e t   u p   a n   a u t o s c a l e r   f o r   y o u r   D e p l o y m e n t   a n d   c h o o s e   t h e   m i n i m u m   a n d   m a x i m u m   n u m b e r   o f   P o d s   y o u   w a n t   t o   r u n   b a s e d   o n   t h e   C P U   u t i l i z a t i o n   o f   y o u r   e x i s t i n g   P o d s .   k u b e c t l   a u t o s c a l e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   - - m i n = 1 0   - - m a x = 1 5   - - c p u - p e r c e n t = 8 0   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   s c a l e d",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11944"
  },
  {
    "question": "What is Proportional scaling?",
    "answer": "R o l l i n g U p d a t e   D e p l o y m e n t s   s u p p o r t   r u n n i n g   m u l t i p l e   v e r s i o n s   o f   a n   a p p l i c a t i o n   a t   t h e   s a m e   t i m e .   W h e n   y o u   o r   a n   a u t o s c a l e r   s c a l e s   a   R o l l i n g U p d a t e   D e p l o y m e n t   t h a t   i s   i n   t h e   m i d d l e   o f   a   r o l l o u t   ( e i t h e r   i n   p r o g r e s s   o r   p a u s e d ) ,   t h e   D e p l o y m e n t   c o n t r o l l e r   b a l a n c e s   t h e   a d d i t i o n a l   r e p l i c a s   i n   t h e   e x i s t i n g   a c t i v e   R e p l i c a S e t s   ( R e p l i c a S e t s   w i t h   P o d s )   i n   o r d e r   t o   m i t i g a t e   r i s k .   T h i s   i s   c a l l e d   p r o p o r t i o n a l   s c a l i n g .   F o r   e x a m p l e ,   y o u   a r e   r u n n i n g   a   D e p l o y m e n t   w i t h   1 0   r e p l i c a s ,   m a x S u r g e = 3 ,   a n d   m a x U n a v a i l a b l e = 2 .   E n s u r e   t h a t   t h e   1 0   r e p l i c a s   i n   y o u r   D e p l o y m e n t   a r e   r u n n i n g . k u b e c t l   g e t   d e p l o y   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   D E S I R E D   C U R R E N T   U P - T O - D A T E   A V A I L A B L E   A G E   n g i n x - d e p l o y m e n t   1 0   1 0   1 0   1 0   5 0 s   Y o u   u p d a t e   t o   a   n e w   i m a g e   w h i c h   h a p p e n s   t o   b e   u n r e s o l v a b l e   f r o m   i n s i d e   t h e   c l u s t e r . k u b e c t l   s e t   i m a g e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   n g i n x = n g i n x : s o m e t a g   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   i m a g e   u p d a t e d   T h e   i m a g e   u p d a t e   s t a r t s   a   n e w   r o l l o u t   w i t h   R e p l i c a S e t   n g i n x - d e p l o y m e n t - 1 9 8 9 1 9 8 1 9 1 ,   b u t   i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11945"
  },
  {
    "question": "What is Pausing and Resuming a rollout of a Deployment?",
    "answer": "W h e n   y o u   u p d a t e   a   D e p l o y m e n t ,   o r   p l a n   t o ,   y o u   c a n   p a u s e   r o l l o u t s   f o r   t h a t   D e p l o y m e n t   b e f o r e   y o u   t r i g g e r   o n e   o r   m o r e   u p d a t e s .   W h e n   y o u ' r e   r e a d y   t o   a p p l y   t h o s e   c h a n g e s ,   y o u   r e s u m e   r o l l o u t s   f o r   t h e   D e p l o y m e n t .   T h i s   a p p r o a c h   a l l o w s   y o u   t o   a p p l y   m u l t i p l e   f i x e s   i n   b e t w e e n   p a u s i n g   a n d   r e s u m i n g   w i t h o u t   t r i g g e r i n g   u n n e c e s s a r y   r o l l o u t s .   F o r   e x a m p l e ,   w i t h   a   D e p l o y m e n t   t h a t   w a s   c r e a t e d : G e t   t h e   D e p l o y m e n t   d e t a i l s : k u b e c t l   g e t   d e p l o y   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   D E S I R E D   C U R R E N T   U P - T O - D A T E   A V A I L A B L E   A G E   n g i n x   3   3   3   3   1 m   G e t   t h e   r o l l o u t   s t a t u s : k u b e c t l   g e t   r s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   D E S I R E D   C U R R E N T   R E A D Y   A G E   n g i n x - 2 1 4 2 1 1 6 3 2 1   3   3   3   1 m   P a u s e   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   r o l l o u t   p a u s e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   p a u s e d   T h e n   u p d a t e   t h e   i m a g e   o f   t h e   D e p l o y m e n t : k u b e c t l   s e t   i m a g e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   n g i n x = n g i n x : 1 . 1 6 . 1   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   i m a g e   u p d a t e d   N o t i c e   t h a t   n o   n e w ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11946"
  },
  {
    "question": "What is Deployment status?",
    "answer": "A   D e p l o y m e n t   e n t e r s   v a r i o u s   s t a t e s   d u r i n g   i t s   l i f e c y c l e .   I t   c a n   b e   p r o g r e s s i n g   w h i l e   r o l l i n g   o u t   a   n e w   R e p l i c a S e t ,   i t   c a n   b e   c o m p l e t e ,   o r   i t   c a n   f a i l   t o   p r o g r e s s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11947"
  },
  {
    "question": "What is Progressing Deployment?",
    "answer": "K u b e r n e t e s   m a r k s   a   D e p l o y m e n t   a s   p r o g r e s s i n g   w h e n   o n e   o f   t h e   f o l l o w i n g   t a s k s   i s   p e r f o r m e d :   T h e   D e p l o y m e n t   c r e a t e s   a   n e w   R e p l i c a S e t . T h e   D e p l o y m e n t   i s   s c a l i n g   u p   i t s   n e w e s t   R e p l i c a S e t . T h e   D e p l o y m e n t   i s   s c a l i n g   d o w n   i t s   o l d e r   R e p l i c a S e t ( s ) . N e w   P o d s   b e c o m e   r e a d y   o r   a v a i l a b l e   ( r e a d y   f o r   a t   l e a s t   M i n R e a d y S e c o n d s ) .   W h e n   t h e   r o l l o u t   b e c o m e s   “ p r o g r e s s i n g ” ,   t h e   D e p l o y m e n t   c o n t r o l l e r   a d d s   a   c o n d i t i o n   w i t h   t h e   f o l l o w i n g   a t t r i b u t e s   t o   t h e   D e p l o y m e n t ' s   . s t a t u s . c o n d i t i o n s :   t y p e :   P r o g r e s s i n g s t a t u s :   \" T r u e \" r e a s o n :   N e w R e p l i c a S e t C r e a t e d   |   r e a s o n :   F o u n d N e w R e p l i c a S e t   |   r e a s o n :   R e p l i c a S e t U p d a t e d   Y o u   c a n   m o n i t o r   t h e   p r o g r e s s   f o r   a   D e p l o y m e n t   b y   u s i n g   k u b e c t l   r o l l o u t   s t a t u s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11948"
  },
  {
    "question": "What is Complete Deployment?",
    "answer": "K u b e r n e t e s   m a r k s   a   D e p l o y m e n t   a s   c o m p l e t e   w h e n   i t   h a s   t h e   f o l l o w i n g   c h a r a c t e r i s t i c s :   A l l   o f   t h e   r e p l i c a s   a s s o c i a t e d   w i t h   t h e   D e p l o y m e n t   h a v e   b e e n   u p d a t e d   t o   t h e   l a t e s t   v e r s i o n   y o u ' v e   s p e c i f i e d ,   m e a n i n g   a n y   u p d a t e s   y o u ' v e   r e q u e s t e d   h a v e   b e e n   c o m p l e t e d . A l l   o f   t h e   r e p l i c a s   a s s o c i a t e d   w i t h   t h e   D e p l o y m e n t   a r e   a v a i l a b l e . N o   o l d   r e p l i c a s   f o r   t h e   D e p l o y m e n t   a r e   r u n n i n g .   W h e n   t h e   r o l l o u t   b e c o m e s   “ c o m p l e t e ” ,   t h e   D e p l o y m e n t   c o n t r o l l e r   s e t s   a   c o n d i t i o n   w i t h   t h e   f o l l o w i n g   a t t r i b u t e s   t o   t h e   D e p l o y m e n t ' s   . s t a t u s . c o n d i t i o n s :   t y p e :   P r o g r e s s i n g s t a t u s :   \" T r u e \" r e a s o n :   N e w R e p l i c a S e t A v a i l a b l e   T h i s   P r o g r e s s i n g   c o n d i t i o n   w i l l   r e t a i n   a   s t a t u s   v a l u e   o f   \" T r u e \"   u n t i l   a   n e w   r o l l o u t   i s   i n i t i a t e d .   T h e   c o n d i t i o n   h o l d s   e v e n   w h e n   a v a i l a b i l i t y   o f   r e p l i c a s   c h a n g e s   ( w h i c h   d o e s   i n s t e a d   a f f e c t   t h e   A v a i l a b l e   c o n d i t i o n ) .   Y o u   c a n   c h e c k   i f   a   D e p l o y m e n t   h a s   c o m p l e t e d   b y   u s i n g   k u b e c t l   r o l l o u t   s t a t u s .   I f   t h e   r o l l o u t   c o m p l e t e d   s u c c e s s f u l l y ,   k u b e c t l   r o l l o u t   s t a t u s   r e t u r n s   a   z e r o   e x i t   c o d e .   k u b e c t l   r o l l o u t   s t a t u s   d e p l o y m e n t / n g i n x - d e p l o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11949"
  },
  {
    "question": "What is Failed Deployment?",
    "answer": "Y o u r   D e p l o y m e n t   m a y   g e t   s t u c k   t r y i n g   t o   d e p l o y   i t s   n e w e s t   R e p l i c a S e t   w i t h o u t   e v e r   c o m p l e t i n g .   T h i s   c a n   o c c u r   d u e   t o   s o m e   o f   t h e   f o l l o w i n g   f a c t o r s :   I n s u f f i c i e n t   q u o t a R e a d i n e s s   p r o b e   f a i l u r e s I m a g e   p u l l   e r r o r s I n s u f f i c i e n t   p e r m i s s i o n s L i m i t   r a n g e s A p p l i c a t i o n   r u n t i m e   m i s c o n f i g u r a t i o n   O n e   w a y   y o u   c a n   d e t e c t   t h i s   c o n d i t i o n   i s   t o   s p e c i f y   a   d e a d l i n e   p a r a m e t e r   i n   y o u r   D e p l o y m e n t   s p e c :   ( . s p e c . p r o g r e s s D e a d l i n e S e c o n d s ) .   . s p e c . p r o g r e s s D e a d l i n e S e c o n d s   d e n o t e s   t h e   n u m b e r   o f   s e c o n d s   t h e   D e p l o y m e n t   c o n t r o l l e r   w a i t s   b e f o r e   i n d i c a t i n g   ( i n   t h e   D e p l o y m e n t   s t a t u s )   t h a t   t h e   D e p l o y m e n t   p r o g r e s s   h a s   s t a l l e d .   T h e   f o l l o w i n g   k u b e c t l   c o m m a n d   s e t s   t h e   s p e c   w i t h   p r o g r e s s D e a d l i n e S e c o n d s   t o   m a k e   t h e   c o n t r o l l e r   r e p o r t   l a c k   o f   p r o g r e s s   o f   a   r o l l o u t   f o r   a   D e p l o y m e n t   a f t e r   1 0   m i n u t e s :   k u b e c t l   p a t c h   d e p l o y m e n t / n g i n x - d e p l o y m e n t   - p   ' { \" s p e c \" : { \" p r o g r e s s D e a d l i n e S e c o n d s \" : 6 0 0 } } '   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   p a t c h e d   O n c e   t h e   d e a d l i n e   h a s   b e e n   e x c e e d e d ,   t h e   D e p l o y m e n t   c o n t r o l l e r   a d d s   a   D e p l o y m e n t C o n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11950"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   m a y   e x p e r i e n c e   t r a n s i e n t   e r r o r s   w i t h   y o u r   D e p l o y m e n t s ,   e i t h e r   d u e   t o   a   l o w   t i m e o u t   t h a t   y o u   h a v e   s e t   o r   d u e   t o   a n y   o t h e r   k i n d   o f   e r r o r   t h a t   c a n   b e   t r e a t e d   a s   t r a n s i e n t .   F o r   e x a m p l e ,   l e t ' s   s u p p o s e   y o u   h a v e   i n s u f f i c i e n t   q u o t a .   I f   y o u   d e s c r i b e   t h e   D e p l o y m e n t   y o u   w i l l   n o t i c e   t h e   f o l l o w i n g   s e c t i o n :   k u b e c t l   d e s c r i b e   d e p l o y m e n t   n g i n x - d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   < . . . >   C o n d i t i o n s :   T y p e   S t a t u s   R e a s o n   - - - -   - - - - - -   - - - - - -   A v a i l a b l e   T r u e   M i n i m u m R e p l i c a s A v a i l a b l e   P r o g r e s s i n g   T r u e   R e p l i c a S e t U p d a t e d   R e p l i c a F a i l u r e   T r u e   F a i l e d C r e a t e   < . . . >   I f   y o u   r u n   k u b e c t l   g e t   d e p l o y m e n t   n g i n x - d e p l o y m e n t   - o   y a m l ,   t h e   D e p l o y m e n t   s t a t u s   i s   s i m i l a r   t o   t h i s :   s t a t u s :   a v a i l a b l e R e p l i c a s :   2   c o n d i t i o n s :   -   l a s t T r a n s i t i o n T i m e :   2 0 1 6 - 1 0 - 0 4 T 1 2 : 2 5 : 3 9 Z   l a s t U p d a t e T i m e :   2 0 1 6 - 1 0 - 0 4 T 1 2 : 2 5 : 3 9 Z   m e s s a g e :   R e p l i c a   s e t   \" n g i n x - d e p l o y m e n t - 4 2 6 2 1 8 2 7 8 0 \"   i s   p r o g r e s s i n g .   r e a s o n :   R e p l i c a S e t U p d a t e d   s t a t u s :   \" T r u e \"   t y p e :   P r o g r e s s i n g   -   l a s t T r a n s i t i o n T i m e :   2 0 1 6 - 1 0 - 0 4 T 1 2 : 2 5 : 4 2 Z   l a s t U p d a t e T i m e :   2 0 1 6 - 1 0 - 0 4 T 1 2 : 2 5 : 4 2 Z   m e s s a g e :   D e p l o y m e n t   h a s   m i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11951"
  },
  {
    "question": "What is Operating on a failed deployment?",
    "answer": "A l l   a c t i o n s   t h a t   a p p l y   t o   a   c o m p l e t e   D e p l o y m e n t   a l s o   a p p l y   t o   a   f a i l e d   D e p l o y m e n t .   Y o u   c a n   s c a l e   i t   u p / d o w n ,   r o l l   b a c k   t o   a   p r e v i o u s   r e v i s i o n ,   o r   e v e n   p a u s e   i t   i f   y o u   n e e d   t o   a p p l y   m u l t i p l e   t w e a k s   i n   t h e   D e p l o y m e n t   P o d   t e m p l a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11952"
  },
  {
    "question": "What is Clean up Policy?",
    "answer": "Y o u   c a n   s e t   . s p e c . r e v i s i o n H i s t o r y L i m i t   f i e l d   i n   a   D e p l o y m e n t   t o   s p e c i f y   h o w   m a n y   o l d   R e p l i c a S e t s   f o r   t h i s   D e p l o y m e n t   y o u   w a n t   t o   r e t a i n .   T h e   r e s t   w i l l   b e   g a r b a g e - c o l l e c t e d   i n   t h e   b a c k g r o u n d .   B y   d e f a u l t ,   i t   i s   1 0 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11953"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   c l e a n u p   o n l y   s t a r t s   a f t e r   a   D e p l o y m e n t   r e a c h e s   a   c o m p l e t e   s t a t e .   I f   y o u   s e t   . s p e c . r e v i s i o n H i s t o r y L i m i t   t o   0 ,   a n y   r o l l o u t   n o n e t h e l e s s   t r i g g e r s   c r e a t i o n   o f   a   n e w   R e p l i c a S e t   b e f o r e   K u b e r n e t e s   r e m o v e s   t h e   o l d   o n e .   E v e n   w i t h   a   n o n - z e r o   r e v i s i o n   h i s t o r y   l i m i t ,   y o u   c a n   h a v e   m o r e   R e p l i c a S e t s   t h a n   t h e   l i m i t   y o u   c o n f i g u r e .   F o r   e x a m p l e ,   i f   p o d s   a r e   c r a s h   l o o p i n g ,   a n d   t h e r e   a r e   m u l t i p l e   r o l l i n g   u p d a t e s   e v e n t s   t r i g g e r e d   o v e r   t i m e ,   y o u   m i g h t   e n d   u p   w i t h   m o r e   R e p l i c a S e t s   t h a n   t h e   . s p e c . r e v i s i o n H i s t o r y L i m i t   b e c a u s e   t h e   D e p l o y m e n t   n e v e r   r e a c h e s   a   c o m p l e t e   s t a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11954"
  },
  {
    "question": "What is Canary Deployment?",
    "answer": "I f   y o u   w a n t   t o   r o l l   o u t   r e l e a s e s   t o   a   s u b s e t   o f   u s e r s   o r   s e r v e r s   u s i n g   t h e   D e p l o y m e n t ,   y o u   c a n   c r e a t e   m u l t i p l e   D e p l o y m e n t s ,   o n e   f o r   e a c h   r e l e a s e ,   f o l l o w i n g   t h e   c a n a r y   p a t t e r n   d e s c r i b e d   i n   m a n a g i n g   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11955"
  },
  {
    "question": "What is Writing a Deployment Spec?",
    "answer": "A s   w i t h   a l l   o t h e r   K u b e r n e t e s   c o n f i g s ,   a   D e p l o y m e n t   n e e d s   . a p i V e r s i o n ,   . k i n d ,   a n d   . m e t a d a t a   f i e l d s .   F o r   g e n e r a l   i n f o r m a t i o n   a b o u t   w o r k i n g   w i t h   c o n f i g   f i l e s ,   s e e   d e p l o y i n g   a p p l i c a t i o n s ,   c o n f i g u r i n g   c o n t a i n e r s ,   a n d   u s i n g   k u b e c t l   t o   m a n a g e   r e s o u r c e s   d o c u m e n t s .   W h e n   t h e   c o n t r o l   p l a n e   c r e a t e s   n e w   P o d s   f o r   a   D e p l o y m e n t ,   t h e   . m e t a d a t a . n a m e   o f   t h e   D e p l o y m e n t   i s   p a r t   o f   t h e   b a s i s   f o r   n a m i n g   t h o s e   P o d s .   T h e   n a m e   o f   a   D e p l o y m e n t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   v a l u e ,   b u t   t h i s   c a n   p r o d u c e   u n e x p e c t e d   r e s u l t s   f o r   t h e   P o d   h o s t n a m e s .   F o r   b e s t   c o m p a t i b i l i t y ,   t h e   n a m e   s h o u l d   f o l l o w   t h e   m o r e   r e s t r i c t i v e   r u l e s   f o r   a   D N S   l a b e l .   A   D e p l o y m e n t   a l s o   n e e d s   a   . s p e c   s e c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11956"
  },
  {
    "question": "What is Pod Template?",
    "answer": "T h e   . s p e c . t e m p l a t e   a n d   . s p e c . s e l e c t o r   a r e   t h e   o n l y   r e q u i r e d   f i e l d s   o f   t h e   . s p e c .   T h e   . s p e c . t e m p l a t e   i s   a   P o d   t e m p l a t e .   I t   h a s   e x a c t l y   t h e   s a m e   s c h e m a   a s   a   P o d ,   e x c e p t   i t   i s   n e s t e d   a n d   d o e s   n o t   h a v e   a n   a p i V e r s i o n   o r   k i n d .   I n   a d d i t i o n   t o   r e q u i r e d   f i e l d s   f o r   a   P o d ,   a   P o d   t e m p l a t e   i n   a   D e p l o y m e n t   m u s t   s p e c i f y   a p p r o p r i a t e   l a b e l s   a n d   a n   a p p r o p r i a t e   r e s t a r t   p o l i c y .   F o r   l a b e l s ,   m a k e   s u r e   n o t   t o   o v e r l a p   w i t h   o t h e r   c o n t r o l l e r s .   S e e   s e l e c t o r .   O n l y   a   . s p e c . t e m p l a t e . s p e c . r e s t a r t P o l i c y   e q u a l   t o   A l w a y s   i s   a l l o w e d ,   w h i c h   i s   t h e   d e f a u l t   i f   n o t   s p e c i f i e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11957"
  },
  {
    "question": "What is Replicas?",
    "answer": ". s p e c . r e p l i c a s   i s   a n   o p t i o n a l   f i e l d   t h a t   s p e c i f i e s   t h e   n u m b e r   o f   d e s i r e d   P o d s .   I t   d e f a u l t s   t o   1 .   S h o u l d   y o u   m a n u a l l y   s c a l e   a   D e p l o y m e n t ,   e x a m p l e   v i a   k u b e c t l   s c a l e   d e p l o y m e n t   d e p l o y m e n t   - - r e p l i c a s = X ,   a n d   t h e n   y o u   u p d a t e   t h a t   D e p l o y m e n t   b a s e d   o n   a   m a n i f e s t   ( f o r   e x a m p l e :   b y   r u n n i n g   k u b e c t l   a p p l y   - f   d e p l o y m e n t . y a m l ) ,   t h e n   a p p l y i n g   t h a t   m a n i f e s t   o v e r w r i t e s   t h e   m a n u a l   s c a l i n g   t h a t   y o u   p r e v i o u s l y   d i d .   I f   a   H o r i z o n t a l P o d A u t o s c a l e r   ( o r   a n y   s i m i l a r   A P I   f o r   h o r i z o n t a l   s c a l i n g )   i s   m a n a g i n g   s c a l i n g   f o r   a   D e p l o y m e n t ,   d o n ' t   s e t   . s p e c . r e p l i c a s .   I n s t e a d ,   a l l o w   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   t o   m a n a g e   t h e   . s p e c . r e p l i c a s   f i e l d   a u t o m a t i c a l l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11958"
  },
  {
    "question": "What is Selector?",
    "answer": ". s p e c . s e l e c t o r   i s   a   r e q u i r e d   f i e l d   t h a t   s p e c i f i e s   a   l a b e l   s e l e c t o r   f o r   t h e   P o d s   t a r g e t e d   b y   t h i s   D e p l o y m e n t .   . s p e c . s e l e c t o r   m u s t   m a t c h   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s ,   o r   i t   w i l l   b e   r e j e c t e d   b y   t h e   A P I .   I n   A P I   v e r s i o n   a p p s / v 1 ,   . s p e c . s e l e c t o r   a n d   . m e t a d a t a . l a b e l s   d o   n o t   d e f a u l t   t o   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s   i f   n o t   s e t .   S o   t h e y   m u s t   b e   s e t   e x p l i c i t l y .   A l s o   n o t e   t h a t   . s p e c . s e l e c t o r   i s   i m m u t a b l e   a f t e r   c r e a t i o n   o f   t h e   D e p l o y m e n t   i n   a p p s / v 1 .   A   D e p l o y m e n t   m a y   t e r m i n a t e   P o d s   w h o s e   l a b e l s   m a t c h   t h e   s e l e c t o r   i f   t h e i r   t e m p l a t e   i s   d i f f e r e n t   f r o m   . s p e c . t e m p l a t e   o r   i f   t h e   t o t a l   n u m b e r   o f   s u c h   P o d s   e x c e e d s   . s p e c . r e p l i c a s .   I t   b r i n g s   u p   n e w   P o d s   w i t h   . s p e c . t e m p l a t e   i f   t h e   n u m b e r   o f   P o d s   i s   l e s s   t h a n   t h e   d e s i r e d   n u m b e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11959"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   h a v e   m u l t i p l e   c o n t r o l l e r s   t h a t   h a v e   o v e r l a p p i n g   s e l e c t o r s ,   t h e   c o n t r o l l e r s   w i l l   f i g h t   w i t h   e a c h   o t h e r   a n d   w o n ' t   b e h a v e   c o r r e c t l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11960"
  },
  {
    "question": "What is Strategy?",
    "answer": ". s p e c . s t r a t e g y   s p e c i f i e s   t h e   s t r a t e g y   u s e d   t o   r e p l a c e   o l d   P o d s   b y   n e w   o n e s .   . s p e c . s t r a t e g y . t y p e   c a n   b e   \" R e c r e a t e \"   o r   \" R o l l i n g U p d a t e \" .   \" R o l l i n g U p d a t e \"   i s   t h e   d e f a u l t   v a l u e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11961"
  },
  {
    "question": "What is Recreate Deployment?",
    "answer": "A l l   e x i s t i n g   P o d s   a r e   k i l l e d   b e f o r e   n e w   o n e s   a r e   c r e a t e d   w h e n   . s p e c . s t r a t e g y . t y p e = = R e c r e a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11962"
  },
  {
    "question": "What is Rolling Update Deployment?",
    "answer": "T h e   D e p l o y m e n t   u p d a t e s   P o d s   i n   a   r o l l i n g   u p d a t e   f a s h i o n   ( g r a d u a l l y   s c a l e   d o w n   t h e   o l d   R e p l i c a S e t s   a n d   s c a l e   u p   t h e   n e w   o n e )   w h e n   . s p e c . s t r a t e g y . t y p e = = R o l l i n g U p d a t e .   Y o u   c a n   s p e c i f y   m a x U n a v a i l a b l e   a n d   m a x S u r g e   t o   c o n t r o l   t h e   r o l l i n g   u p d a t e   p r o c e s s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11963"
  },
  {
    "question": "What is Max Unavailable?",
    "answer": ". s p e c . s t r a t e g y . r o l l i n g U p d a t e . m a x U n a v a i l a b l e   i s   a n   o p t i o n a l   f i e l d   t h a t   s p e c i f i e s   t h e   m a x i m u m   n u m b e r   o f   P o d s   t h a t   c a n   b e   u n a v a i l a b l e   d u r i n g   t h e   u p d a t e   p r o c e s s .   T h e   v a l u e   c a n   b e   a n   a b s o l u t e   n u m b e r   ( f o r   e x a m p l e ,   5 )   o r   a   p e r c e n t a g e   o f   d e s i r e d   P o d s   ( f o r   e x a m p l e ,   1 0 % ) .   T h e   a b s o l u t e   n u m b e r   i s   c a l c u l a t e d   f r o m   p e r c e n t a g e   b y   r o u n d i n g   d o w n .   T h e   v a l u e   c a n n o t   b e   0   i f   . s p e c . s t r a t e g y . r o l l i n g U p d a t e . m a x S u r g e   i s   0 .   T h e   d e f a u l t   v a l u e   i s   2 5 % .   F o r   e x a m p l e ,   w h e n   t h i s   v a l u e   i s   s e t   t o   3 0 % ,   t h e   o l d   R e p l i c a S e t   c a n   b e   s c a l e d   d o w n   t o   7 0 %   o f   d e s i r e d   P o d s   i m m e d i a t e l y   w h e n   t h e   r o l l i n g   u p d a t e   s t a r t s .   O n c e   n e w   P o d s   a r e   r e a d y ,   o l d   R e p l i c a S e t   c a n   b e   s c a l e d   d o w n   f u r t h e r ,   f o l l o w e d   b y   s c a l i n g   u p   t h e   n e w   R e p l i c a S e t ,   e n s u r i n g   t h a t   t h e   t o t a l   n u m b e r   o f   P o d s   a v a i l a b l e   a t   a l l   t i m e s   d u r i n g   t h e   u p d a t e   i s   a t   l e a s t   7 0 %   o f   t h e   d e s i r e d   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_5_11964"
  },
  {
    "question": "What is Max Surge?",
    "answer": ". s p e c . s t r a t e g y . r o l l i n g U p d a t e . m a x S u r g e   i s   a n   o p t i o n a l   f i e l d   t h a t   s p e c i f i e s   t h e   m a x i m u m   n u m b e r   o f   P o d s   t h a t   c a n   b e   c r e a t e d   o v e r   t h e   d e s i r e d   n u m b e r   o f   P o d s .   T h e   v a l u e   c a n   b e   a n   a b s o l u t e   n u m b e r   ( f o r   e x a m p l e ,   5 )   o r   a   p e r c e n t a g e   o f   d e s i r e d   P o d s   ( f o r   e x a m p l e ,   1 0 % ) .   T h e   v a l u e   c a n n o t   b e   0   i f   m a x U n a v a i l a b l e   i s   0 .   T h e   a b s o l u t e   n u m b e r   i s   c a l c u l a t e d   f r o m   t h e   p e r c e n t a g e   b y   r o u n d i n g   u p .   T h e   d e f a u l t   v a l u e   i s   2 5 % .   F o r   e x a m p l e ,   w h e n   t h i s   v a l u e   i s   s e t   t o   3 0 % ,   t h e   n e w   R e p l i c a S e t   c a n   b e   s c a l e d   u p   i m m e d i a t e l y   w h e n   t h e   r o l l i n g   u p d a t e   s t a r t s ,   s u c h   t h a t   t h e   t o t a l   n u m b e r   o f   o l d   a n d   n e w   P o d s   d o e s   n o t   e x c e e d   1 3 0 %   o f   d e s i r e d   P o d s .   O n c e   o l d   P o d s   h a v e   b e e n   k i l l e d ,   t h e   n e w   R e p l i c a S e t   c a n   b e   s c a l e d   u p   f u r t h e r ,   e n s u r i n g   t h a t   t h e   t o t a l   n u m b e r   o f   P o d s   r u n n i n g   a t   a n y   t i m e   d u r i n g   t h e   u p d a t e   i s   a t   m o s t   1 3 0 %   o f   d e s i r e d   P o d s .   H e r e   a r e   s o m e   R o l l i n g   U p d a t e   D e p l o y m e n t   e x a m p l e s   t h a t   u s e   t h e   m a x U n a v a i l a b l e   a n d   m a x S u r g e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   l a b e l s :   a p p :   n g i n x   s p e c :   r e p l i c a s :   3   s e l e c ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_5_11965"
  },
  {
    "question": "What is Progress Deadline Seconds?",
    "answer": ". s p e c . p r o g r e s s D e a d l i n e S e c o n d s   i s   a n   o p t i o n a l   f i e l d   t h a t   s p e c i f i e s   t h e   n u m b e r   o f   s e c o n d s   y o u   w a n t   t o   w a i t   f o r   y o u r   D e p l o y m e n t   t o   p r o g r e s s   b e f o r e   t h e   s y s t e m   r e p o r t s   b a c k   t h a t   t h e   D e p l o y m e n t   h a s   f a i l e d   p r o g r e s s i n g   -   s u r f a c e d   a s   a   c o n d i t i o n   w i t h   t y p e :   P r o g r e s s i n g ,   s t a t u s :   \" F a l s e \" .   a n d   r e a s o n :   P r o g r e s s D e a d l i n e E x c e e d e d   i n   t h e   s t a t u s   o f   t h e   r e s o u r c e .   T h e   D e p l o y m e n t   c o n t r o l l e r   w i l l   k e e p   r e t r y i n g   t h e   D e p l o y m e n t .   T h i s   d e f a u l t s   t o   6 0 0 .   I n   t h e   f u t u r e ,   o n c e   a u t o m a t i c   r o l l b a c k   w i l l   b e   i m p l e m e n t e d ,   t h e   D e p l o y m e n t   c o n t r o l l e r   w i l l   r o l l   b a c k   a   D e p l o y m e n t   a s   s o o n   a s   i t   o b s e r v e s   s u c h   a   c o n d i t i o n .   I f   s p e c i f i e d ,   t h i s   f i e l d   n e e d s   t o   b e   g r e a t e r   t h a n   . s p e c . m i n R e a d y S e c o n d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11966"
  },
  {
    "question": "What is Min Ready Seconds?",
    "answer": ". s p e c . m i n R e a d y S e c o n d s   i s   a n   o p t i o n a l   f i e l d   t h a t   s p e c i f i e s   t h e   m i n i m u m   n u m b e r   o f   s e c o n d s   f o r   w h i c h   a   n e w l y   c r e a t e d   P o d   s h o u l d   b e   r e a d y   w i t h o u t   a n y   o f   i t s   c o n t a i n e r s   c r a s h i n g ,   f o r   i t   t o   b e   c o n s i d e r e d   a v a i l a b l e .   T h i s   d e f a u l t s   t o   0   ( t h e   P o d   w i l l   b e   c o n s i d e r e d   a v a i l a b l e   a s   s o o n   a s   i t   i s   r e a d y ) .   T o   l e a r n   m o r e   a b o u t   w h e n   a   P o d   i s   c o n s i d e r e d   r e a d y ,   s e e   C o n t a i n e r   P r o b e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11967"
  },
  {
    "question": "What is Terminating Pods?",
    "answer": "Y o u   c a n   e n a b l e   t h i s   f e a t u r e   b y   s e t t i n g   t h e   D e p l o y m e n t R e p l i c a S e t T e r m i n a t i n g R e p l i c a s   f e a t u r e   g a t e   o n   t h e   A P I   s e r v e r   a n d   o n   t h e   k u b e - c o n t r o l l e r - m a n a g e r   P o d s   t h a t   b e c o m e   t e r m i n a t i n g   d u e   t o   d e l e t i o n   o r   s c a l e   d o w n   m a y   t a k e   a   l o n g   t i m e   t o   t e r m i n a t e ,   a n d   m a y   c o n s u m e   a d d i t i o n a l   r e s o u r c e s   d u r i n g   t h a t   p e r i o d .   A s   a   r e s u l t ,   t h e   t o t a l   n u m b e r   o f   a l l   p o d s   c a n   t e m p o r a r i l y   e x c e e d   . s p e c . r e p l i c a s .   T e r m i n a t i n g   p o d s   c a n   b e   t r a c k e d   u s i n g   t h e   . s t a t u s . t e r m i n a t i n g R e p l i c a s   f i e l d   o f   t h e   D e p l o y m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11968"
  },
  {
    "question": "What is Revision History Limit?",
    "answer": "A   D e p l o y m e n t ' s   r e v i s i o n   h i s t o r y   i s   s t o r e d   i n   t h e   R e p l i c a S e t s   i t   c o n t r o l s .   . s p e c . r e v i s i o n H i s t o r y L i m i t   i s   a n   o p t i o n a l   f i e l d   t h a t   s p e c i f i e s   t h e   n u m b e r   o f   o l d   R e p l i c a S e t s   t o   r e t a i n   t o   a l l o w   r o l l b a c k .   T h e s e   o l d   R e p l i c a S e t s   c o n s u m e   r e s o u r c e s   i n   e t c d   a n d   c r o w d   t h e   o u t p u t   o f   k u b e c t l   g e t   r s .   T h e   c o n f i g u r a t i o n   o f   e a c h   D e p l o y m e n t   r e v i s i o n   i s   s t o r e d   i n   i t s   R e p l i c a S e t s ;   t h e r e f o r e ,   o n c e   a n   o l d   R e p l i c a S e t   i s   d e l e t e d ,   y o u   l o s e   t h e   a b i l i t y   t o   r o l l b a c k   t o   t h a t   r e v i s i o n   o f   D e p l o y m e n t .   B y   d e f a u l t ,   1 0   o l d   R e p l i c a S e t s   w i l l   b e   k e p t ,   h o w e v e r   i t s   i d e a l   v a l u e   d e p e n d s   o n   t h e   f r e q u e n c y   a n d   s t a b i l i t y   o f   n e w   D e p l o y m e n t s .   M o r e   s p e c i f i c a l l y ,   s e t t i n g   t h i s   f i e l d   t o   z e r o   m e a n s   t h a t   a l l   o l d   R e p l i c a S e t s   w i t h   0   r e p l i c a s   w i l l   b e   c l e a n e d   u p .   I n   t h i s   c a s e ,   a   n e w   D e p l o y m e n t   r o l l o u t   c a n n o t   b e   u n d o n e ,   s i n c e   i t s   r e v i s i o n   h i s t o r y   i s   c l e a n e d   u p .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11969"
  },
  {
    "question": "What is Paused?",
    "answer": ". s p e c . p a u s e d   i s   a n   o p t i o n a l   b o o l e a n   f i e l d   f o r   p a u s i n g   a n d   r e s u m i n g   a   D e p l o y m e n t .   T h e   o n l y   d i f f e r e n c e   b e t w e e n   a   p a u s e d   D e p l o y m e n t   a n d   o n e   t h a t   i s   n o t   p a u s e d ,   i s   t h a t   a n y   c h a n g e s   i n t o   t h e   P o d T e m p l a t e S p e c   o f   t h e   p a u s e d   D e p l o y m e n t   w i l l   n o t   t r i g g e r   n e w   r o l l o u t s   a s   l o n g   a s   i t   i s   p a u s e d .   A   D e p l o y m e n t   i s   n o t   p a u s e d   b y   d e f a u l t   w h e n   i t   i s   c r e a t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11970"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   P o d s . R u n   a   s t a t e l e s s   a p p l i c a t i o n   u s i n g   a   D e p l o y m e n t . R e a d   t h e   D e p l o y m e n t   t o   u n d e r s t a n d   t h e   D e p l o y m e n t   A P I . R e a d   a b o u t   P o d D i s r u p t i o n B u d g e t   a n d   h o w   y o u   c a n   u s e   i t   t o   m a n a g e   a p p l i c a t i o n   a v a i l a b i l i t y   d u r i n g   d i s r u p t i o n s . U s e   k u b e c t l   t o   c r e a t e   a   D e p l o y m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11971"
  },
  {
    "question": "What is 4.2.2 - ReplicaSet?",
    "answer": "A   R e p l i c a S e t ' s   p u r p o s e   i s   t o   m a i n t a i n   a   s t a b l e   s e t   o f   r e p l i c a   P o d s   r u n n i n g   a t   a n y   g i v e n   t i m e .   A s   s u c h ,   i t   i s   o f t e n   u s e d   t o   g u a r a n t e e   t h e   a v a i l a b i l i t y   o f   a   s p e c i f i e d   n u m b e r   o f   i d e n t i c a l   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11972"
  },
  {
    "question": "What is How a ReplicaSet works?",
    "answer": "A   R e p l i c a S e t   i s   d e f i n e d   w i t h   f i e l d s ,   i n c l u d i n g   a   s e l e c t o r   t h a t   s p e c i f i e s   h o w   t o   i d e n t i f y   P o d s   i t   c a n   a c q u i r e ,   a   n u m b e r   o f   r e p l i c a s   i n d i c a t i n g   h o w   m a n y   P o d s   i t   s h o u l d   b e   m a i n t a i n i n g ,   a n d   a   p o d   t e m p l a t e   s p e c i f y i n g   t h e   d a t a   o f   n e w   P o d s   i t   s h o u l d   c r e a t e   t o   m e e t   t h e   n u m b e r   o f   r e p l i c a s   c r i t e r i a .   A   R e p l i c a S e t   t h e n   f u l f i l l s   i t s   p u r p o s e   b y   c r e a t i n g   a n d   d e l e t i n g   P o d s   a s   n e e d e d   t o   r e a c h   t h e   d e s i r e d   n u m b e r .   W h e n   a   R e p l i c a S e t   n e e d s   t o   c r e a t e   n e w   P o d s ,   i t   u s e s   i t s   P o d   t e m p l a t e .   A   R e p l i c a S e t   i s   l i n k e d   t o   i t s   P o d s   v i a   t h e   P o d s '   m e t a d a t a . o w n e r R e f e r e n c e s   f i e l d ,   w h i c h   s p e c i f i e s   w h a t   r e s o u r c e   t h e   c u r r e n t   o b j e c t   i s   o w n e d   b y .   A l l   P o d s   a c q u i r e d   b y   a   R e p l i c a S e t   h a v e   t h e i r   o w n i n g   R e p l i c a S e t ' s   i d e n t i f y i n g   i n f o r m a t i o n   w i t h i n   t h e i r   o w n e r R e f e r e n c e s   f i e l d .   I t ' s   t h r o u g h   t h i s   l i n k   t h a t   t h e   R e p l i c a S e t   k n o w s   o f   t h e   s t a t e   o f   t h e   P o d s   i t   i s   m a i n t a i n i n g   a n d   p l a n s   a c c o r d i n g l y .   A   R e p l i c a S e t   i d e n t i f i e s   n e w   P o d s   t o   a c q u i r e   b y   u s i n g   i t s   s e l e c t o r .   I f   t h e r e   i s   a   P o d   t h a t   h a s   n o   O w n e r R e f e r e n c e   o r   t h e   O w n e r R e f e r e n c e   i s   n o t   a   C o n t r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11973"
  },
  {
    "question": "What is When to use a ReplicaSet?",
    "answer": "A   R e p l i c a S e t   e n s u r e s   t h a t   a   s p e c i f i e d   n u m b e r   o f   p o d   r e p l i c a s   a r e   r u n n i n g   a t   a n y   g i v e n   t i m e .   H o w e v e r ,   a   D e p l o y m e n t   i s   a   h i g h e r - l e v e l   c o n c e p t   t h a t   m a n a g e s   R e p l i c a S e t s   a n d   p r o v i d e s   d e c l a r a t i v e   u p d a t e s   t o   P o d s   a l o n g   w i t h   a   l o t   o f   o t h e r   u s e f u l   f e a t u r e s .   T h e r e f o r e ,   w e   r e c o m m e n d   u s i n g   D e p l o y m e n t s   i n s t e a d   o f   d i r e c t l y   u s i n g   R e p l i c a S e t s ,   u n l e s s   y o u   r e q u i r e   c u s t o m   u p d a t e   o r c h e s t r a t i o n   o r   d o n ' t   r e q u i r e   u p d a t e s   a t   a l l .   T h i s   a c t u a l l y   m e a n s   t h a t   y o u   m a y   n e v e r   n e e d   t o   m a n i p u l a t e   R e p l i c a S e t   o b j e c t s :   u s e   a   D e p l o y m e n t   i n s t e a d ,   a n d   d e f i n e   y o u r   a p p l i c a t i o n   i n   t h e   s p e c   s e c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11974"
  },
  {
    "question": "What is Example?",
    "answer": "a p i V e r s i o n :   a p p s / v 1   k i n d :   R e p l i c a S e t   m e t a d a t a :   n a m e :   f r o n t e n d   l a b e l s :   a p p :   g u e s t b o o k   t i e r :   f r o n t e n d   s p e c :   #   m o d i f y   r e p l i c a s   a c c o r d i n g   t o   y o u r   c a s e   r e p l i c a s :   3   s e l e c t o r :   m a t c h L a b e l s :   t i e r :   f r o n t e n d   t e m p l a t e :   m e t a d a t a :   l a b e l s :   t i e r :   f r o n t e n d   s p e c :   c o n t a i n e r s :   -   n a m e :   p h p - r e d i s   i m a g e :   u s - d o c k e r . p k g . d e v / g o o g l e - s a m p l e s / c o n t a i n e r s / g k e / g b - f r o n t e n d : v 5   S a v i n g   t h i s   m a n i f e s t   i n t o   f r o n t e n d . y a m l   a n d   s u b m i t t i n g   i t   t o   a   K u b e r n e t e s   c l u s t e r   w i l l   c r e a t e   t h e   d e f i n e d   R e p l i c a S e t   a n d   t h e   P o d s   t h a t   i t   m a n a g e s .   k u b e c t l   a p p l y   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / c o n t r o l l e r s / f r o n t e n d . y a m l   Y o u   c a n   t h e n   g e t   t h e   c u r r e n t   R e p l i c a S e t s   d e p l o y e d :   k u b e c t l   g e t   r s   A n d   s e e   t h e   f r o n t e n d   o n e   y o u   c r e a t e d :   N A M E   D E S I R E D   C U R R E N T   R E A D Y   A G E   f r o n t e n d   3   3   3   6 s   Y o u   c a n   a l s o   c h e c k   o n   t h e   s t a t e   o f   t h e   R e p l i c a S e t :   k u b e c t l   d e s c r i b e   r s / f r o n t e n d   A n d   y o u   w i l l   s e e   o u t p u t   s i m i l a r   t o :   N a m e :   f r o n t e n d   N a m e s p a c e :   d e f a u l t   S e l e c t o r :   t i e r = f r o n t e n d   L a b e l s :   a p p = g u e s t b o o k   t i e r = f r o n t e n d   A n n o t a t i o n s :   < n o n e >   R e p l i c a s :   3   c u r r e n t   /   3   d e s i r e d   P o d s   S t a t u s :   3   R u n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11975"
  },
  {
    "question": "What is Non-Template Pod acquisitions?",
    "answer": "W h i l e   y o u   c a n   c r e a t e   b a r e   P o d s   w i t h   n o   p r o b l e m s ,   i t   i s   s t r o n g l y   r e c o m m e n d e d   t o   m a k e   s u r e   t h a t   t h e   b a r e   P o d s   d o   n o t   h a v e   l a b e l s   w h i c h   m a t c h   t h e   s e l e c t o r   o f   o n e   o f   y o u r   R e p l i c a S e t s .   T h e   r e a s o n   f o r   t h i s   i s   b e c a u s e   a   R e p l i c a S e t   i s   n o t   l i m i t e d   t o   o w n i n g   P o d s   s p e c i f i e d   b y   i t s   t e m p l a t e - -   i t   c a n   a c q u i r e   o t h e r   P o d s   i n   t h e   m a n n e r   s p e c i f i e d   i n   t h e   p r e v i o u s   s e c t i o n s .   T a k e   t h e   p r e v i o u s   f r o n t e n d   R e p l i c a S e t   e x a m p l e ,   a n d   t h e   P o d s   s p e c i f i e d   i n   t h e   f o l l o w i n g   m a n i f e s t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p o d 1   l a b e l s :   t i e r :   f r o n t e n d   s p e c :   c o n t a i n e r s :   -   n a m e :   h e l l o 1   i m a g e :   g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 2 . 0   - - -   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p o d 2   l a b e l s :   t i e r :   f r o n t e n d   s p e c :   c o n t a i n e r s :   -   n a m e :   h e l l o 2   i m a g e :   g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 1 . 0   A s   t h o s e   P o d s   d o   n o t   h a v e   a   C o n t r o l l e r   ( o r   a n y   o b j e c t )   a s   t h e i r   o w n e r   r e f e r e n c e   a n d   m a t c h   t h e   s e l e c t o r   o f   t h e   f r o n t e n d   R e p l i c a S e t ,   t h e y   w i l l   i m m e d i a t e l y   b e   a c q u i r e d   b y   i t .   S u p p o s e   y o u   c r e a t e   t h e   P o d s   a f t e r   t h e   f r o n t e n d   R e p l i c a S e t   h a s   b e e n   d e p l o y e d   a n d ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11976"
  },
  {
    "question": "What is Writing a ReplicaSet manifest?",
    "answer": "A s   w i t h   a l l   o t h e r   K u b e r n e t e s   A P I   o b j e c t s ,   a   R e p l i c a S e t   n e e d s   t h e   a p i V e r s i o n ,   k i n d ,   a n d   m e t a d a t a   f i e l d s .   F o r   R e p l i c a S e t s ,   t h e   k i n d   i s   a l w a y s   a   R e p l i c a S e t .   W h e n   t h e   c o n t r o l   p l a n e   c r e a t e s   n e w   P o d s   f o r   a   R e p l i c a S e t ,   t h e   . m e t a d a t a . n a m e   o f   t h e   R e p l i c a S e t   i s   p a r t   o f   t h e   b a s i s   f o r   n a m i n g   t h o s e   P o d s .   T h e   n a m e   o f   a   R e p l i c a S e t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   v a l u e ,   b u t   t h i s   c a n   p r o d u c e   u n e x p e c t e d   r e s u l t s   f o r   t h e   P o d   h o s t n a m e s .   F o r   b e s t   c o m p a t i b i l i t y ,   t h e   n a m e   s h o u l d   f o l l o w   t h e   m o r e   r e s t r i c t i v e   r u l e s   f o r   a   D N S   l a b e l .   A   R e p l i c a S e t   a l s o   n e e d s   a   . s p e c   s e c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11977"
  },
  {
    "question": "What is Pod Template?",
    "answer": "T h e   . s p e c . t e m p l a t e   i s   a   p o d   t e m p l a t e   w h i c h   i s   a l s o   r e q u i r e d   t o   h a v e   l a b e l s   i n   p l a c e .   I n   o u r   f r o n t e n d . y a m l   e x a m p l e   w e   h a d   o n e   l a b e l :   t i e r :   f r o n t e n d .   B e   c a r e f u l   n o t   t o   o v e r l a p   w i t h   t h e   s e l e c t o r s   o f   o t h e r   c o n t r o l l e r s ,   l e s t   t h e y   t r y   t o   a d o p t   t h i s   P o d .   F o r   t h e   t e m p l a t e ' s   r e s t a r t   p o l i c y   f i e l d ,   . s p e c . t e m p l a t e . s p e c . r e s t a r t P o l i c y ,   t h e   o n l y   a l l o w e d   v a l u e   i s   A l w a y s ,   w h i c h   i s   t h e   d e f a u l t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11978"
  },
  {
    "question": "What is Pod Selector?",
    "answer": "T h e   . s p e c . s e l e c t o r   f i e l d   i s   a   l a b e l   s e l e c t o r .   A s   d i s c u s s e d   e a r l i e r   t h e s e   a r e   t h e   l a b e l s   u s e d   t o   i d e n t i f y   p o t e n t i a l   P o d s   t o   a c q u i r e .   I n   o u r   f r o n t e n d . y a m l   e x a m p l e ,   t h e   s e l e c t o r   w a s :   m a t c h L a b e l s :   t i e r :   f r o n t e n d   I n   t h e   R e p l i c a S e t ,   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s   m u s t   m a t c h   s p e c . s e l e c t o r ,   o r   i t   w i l l   b e   r e j e c t e d   b y   t h e   A P I .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11979"
  },
  {
    "question": "What is Replicas?",
    "answer": "Y o u   c a n   s p e c i f y   h o w   m a n y   P o d s   s h o u l d   r u n   c o n c u r r e n t l y   b y   s e t t i n g   . s p e c . r e p l i c a s .   T h e   R e p l i c a S e t   w i l l   c r e a t e / d e l e t e   i t s   P o d s   t o   m a t c h   t h i s   n u m b e r .   I f   y o u   d o   n o t   s p e c i f y   . s p e c . r e p l i c a s ,   t h e n   i t   d e f a u l t s   t o   1 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11980"
  },
  {
    "question": "What is Deleting a ReplicaSet and its Pods?",
    "answer": "T o   d e l e t e   a   R e p l i c a S e t   a n d   a l l   o f   i t s   P o d s ,   u s e   k u b e c t l   d e l e t e .   T h e   G a r b a g e   c o l l e c t o r   a u t o m a t i c a l l y   d e l e t e s   a l l   o f   t h e   d e p e n d e n t   P o d s   b y   d e f a u l t .   W h e n   u s i n g   t h e   R E S T   A P I   o r   t h e   c l i e n t - g o   l i b r a r y ,   y o u   m u s t   s e t   p r o p a g a t i o n P o l i c y   t o   B a c k g r o u n d   o r   F o r e g r o u n d   i n   t h e   - d   o p t i o n .   F o r   e x a m p l e :   k u b e c t l   p r o x y   - - p o r t = 8 0 8 0   c u r l   - X   D E L E T E   ' l o c a l h o s t : 8 0 8 0 / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / r e p l i c a s e t s / f r o n t e n d '   \\   - d   ' { \" k i n d \" : \" D e l e t e O p t i o n s \" , \" a p i V e r s i o n \" : \" v 1 \" , \" p r o p a g a t i o n P o l i c y \" : \" F o r e g r o u n d \" } '   \\   - H   \" C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n \"",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11981"
  },
  {
    "question": "What is Deleting just a ReplicaSet?",
    "answer": "Y o u   c a n   d e l e t e   a   R e p l i c a S e t   w i t h o u t   a f f e c t i n g   a n y   o f   i t s   P o d s   u s i n g   k u b e c t l   d e l e t e   w i t h   t h e   - - c a s c a d e = o r p h a n   o p t i o n .   W h e n   u s i n g   t h e   R E S T   A P I   o r   t h e   c l i e n t - g o   l i b r a r y ,   y o u   m u s t   s e t   p r o p a g a t i o n P o l i c y   t o   O r p h a n .   F o r   e x a m p l e :   k u b e c t l   p r o x y   - - p o r t = 8 0 8 0   c u r l   - X   D E L E T E   ' l o c a l h o s t : 8 0 8 0 / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / r e p l i c a s e t s / f r o n t e n d '   \\   - d   ' { \" k i n d \" : \" D e l e t e O p t i o n s \" , \" a p i V e r s i o n \" : \" v 1 \" , \" p r o p a g a t i o n P o l i c y \" : \" O r p h a n \" } '   \\   - H   \" C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n \"   O n c e   t h e   o r i g i n a l   i s   d e l e t e d ,   y o u   c a n   c r e a t e   a   n e w   R e p l i c a S e t   t o   r e p l a c e   i t .   A s   l o n g   a s   t h e   o l d   a n d   n e w   . s p e c . s e l e c t o r   a r e   t h e   s a m e ,   t h e n   t h e   n e w   o n e   w i l l   a d o p t   t h e   o l d   P o d s .   H o w e v e r ,   i t   w i l l   n o t   m a k e   a n y   e f f o r t   t o   m a k e   e x i s t i n g   P o d s   m a t c h   a   n e w ,   d i f f e r e n t   p o d   t e m p l a t e .   T o   u p d a t e   P o d s   t o   a   n e w   s p e c   i n   a   c o n t r o l l e d   w a y ,   u s e   a   D e p l o y m e n t ,   a s   R e p l i c a S e t s   d o   n o t   s u p p o r t   a   r o l l i n g   u p d a t e   d i r e c t l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11982"
  },
  {
    "question": "What is Terminating Pods?",
    "answer": "Y o u   c a n   e n a b l e   t h i s   f e a t u r e   b y   s e t t i n g   t h e   D e p l o y m e n t R e p l i c a S e t T e r m i n a t i n g R e p l i c a s   f e a t u r e   g a t e   o n   t h e   A P I   s e r v e r   a n d   o n   t h e   k u b e - c o n t r o l l e r - m a n a g e r   P o d s   t h a t   b e c o m e   t e r m i n a t i n g   d u e   t o   d e l e t i o n   o r   s c a l e   d o w n   m a y   t a k e   a   l o n g   t i m e   t o   t e r m i n a t e ,   a n d   m a y   c o n s u m e   a d d i t i o n a l   r e s o u r c e s   d u r i n g   t h a t   p e r i o d .   A s   a   r e s u l t ,   t h e   t o t a l   n u m b e r   o f   a l l   p o d s   c a n   t e m p o r a r i l y   e x c e e d   . s p e c . r e p l i c a s .   T e r m i n a t i n g   p o d s   c a n   b e   t r a c k e d   u s i n g   t h e   . s t a t u s . t e r m i n a t i n g R e p l i c a s   f i e l d   o f   t h e   R e p l i c a S e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11983"
  },
  {
    "question": "What is Isolating Pods from a ReplicaSet?",
    "answer": "Y o u   c a n   r e m o v e   P o d s   f r o m   a   R e p l i c a S e t   b y   c h a n g i n g   t h e i r   l a b e l s .   T h i s   t e c h n i q u e   m a y   b e   u s e d   t o   r e m o v e   P o d s   f r o m   s e r v i c e   f o r   d e b u g g i n g ,   d a t a   r e c o v e r y ,   e t c .   P o d s   t h a t   a r e   r e m o v e d   i n   t h i s   w a y   w i l l   b e   r e p l a c e d   a u t o m a t i c a l l y   (   a s s u m i n g   t h a t   t h e   n u m b e r   o f   r e p l i c a s   i s   n o t   a l s o   c h a n g e d ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11984"
  },
  {
    "question": "What is Scaling a ReplicaSet?",
    "answer": "A   R e p l i c a S e t   c a n   b e   e a s i l y   s c a l e d   u p   o r   d o w n   b y   s i m p l y   u p d a t i n g   t h e   . s p e c . r e p l i c a s   f i e l d .   T h e   R e p l i c a S e t   c o n t r o l l e r   e n s u r e s   t h a t   a   d e s i r e d   n u m b e r   o f   P o d s   w i t h   a   m a t c h i n g   l a b e l   s e l e c t o r   a r e   a v a i l a b l e   a n d   o p e r a t i o n a l .   W h e n   s c a l i n g   d o w n ,   t h e   R e p l i c a S e t   c o n t r o l l e r   c h o o s e s   w h i c h   p o d s   t o   d e l e t e   b y   s o r t i n g   t h e   a v a i l a b l e   p o d s   t o   p r i o r i t i z e   s c a l i n g   d o w n   p o d s   b a s e d   o n   t h e   f o l l o w i n g   g e n e r a l   a l g o r i t h m :   P e n d i n g   ( a n d   u n s c h e d u l a b l e )   p o d s   a r e   s c a l e d   d o w n   f i r s t I f   c o n t r o l l e r . k u b e r n e t e s . i o / p o d - d e l e t i o n - c o s t   a n n o t a t i o n   i s   s e t ,   t h e n   t h e   p o d   w i t h   t h e   l o w e r   v a l u e   w i l l   c o m e   f i r s t . P o d s   o n   n o d e s   w i t h   m o r e   r e p l i c a s   c o m e   b e f o r e   p o d s   o n   n o d e s   w i t h   f e w e r   r e p l i c a s . I f   t h e   p o d s '   c r e a t i o n   t i m e s   d i f f e r ,   t h e   p o d   t h a t   w a s   c r e a t e d   m o r e   r e c e n t l y   c o m e s   b e f o r e   t h e   o l d e r   p o d   ( t h e   c r e a t i o n   t i m e s   a r e   b u c k e t e d   o n   a n   i n t e g e r   l o g   s c a l e ) .   I f   a l l   o f   t h e   a b o v e   m a t c h ,   t h e n   s e l e c t i o n   i s   r a n d o m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11985"
  },
  {
    "question": "What is Pod deletion cost?",
    "answer": "U s i n g   t h e   c o n t r o l l e r . k u b e r n e t e s . i o / p o d - d e l e t i o n - c o s t   a n n o t a t i o n ,   u s e r s   c a n   s e t   a   p r e f e r e n c e   r e g a r d i n g   w h i c h   p o d s   t o   r e m o v e   f i r s t   w h e n   d o w n s c a l i n g   a   R e p l i c a S e t .   T h e   a n n o t a t i o n   s h o u l d   b e   s e t   o n   t h e   p o d ,   t h e   r a n g e   i s   [ - 2 1 4 7 4 8 3 6 4 8 ,   2 1 4 7 4 8 3 6 4 7 ] .   I t   r e p r e s e n t s   t h e   c o s t   o f   d e l e t i n g   a   p o d   c o m p a r e d   t o   o t h e r   p o d s   b e l o n g i n g   t o   t h e   s a m e   R e p l i c a S e t .   P o d s   w i t h   l o w e r   d e l e t i o n   c o s t   a r e   p r e f e r r e d   t o   b e   d e l e t e d   b e f o r e   p o d s   w i t h   h i g h e r   d e l e t i o n   c o s t .   T h e   i m p l i c i t   v a l u e   f o r   t h i s   a n n o t a t i o n   f o r   p o d s   t h a t   d o n ' t   s e t   i t   i s   0 ;   n e g a t i v e   v a l u e s   a r e   p e r m i t t e d .   I n v a l i d   v a l u e s   w i l l   b e   r e j e c t e d   b y   t h e   A P I   s e r v e r .   T h i s   f e a t u r e   i s   b e t a   a n d   e n a b l e d   b y   d e f a u l t .   Y o u   c a n   d i s a b l e   i t   u s i n g   t h e   f e a t u r e   g a t e   P o d D e l e t i o n C o s t   i n   b o t h   k u b e - a p i s e r v e r   a n d   k u b e - c o n t r o l l e r - m a n a g e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11986"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   i s   h o n o r e d   o n   a   b e s t - e f f o r t   b a s i s ,   s o   i t   d o e s   n o t   o f f e r   a n y   g u a r a n t e e s   o n   p o d   d e l e t i o n   o r d e r . U s e r s   s h o u l d   a v o i d   u p d a t i n g   t h e   a n n o t a t i o n   f r e q u e n t l y ,   s u c h   a s   u p d a t i n g   i t   b a s e d   o n   a   m e t r i c   v a l u e ,   b e c a u s e   d o i n g   s o   w i l l   g e n e r a t e   a   s i g n i f i c a n t   n u m b e r   o f   p o d   u p d a t e s   o n   t h e   a p i s e r v e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11987"
  },
  {
    "question": "What is Example Use Case?",
    "answer": "T h e   d i f f e r e n t   p o d s   o f   a n   a p p l i c a t i o n   c o u l d   h a v e   d i f f e r e n t   u t i l i z a t i o n   l e v e l s .   O n   s c a l e   d o w n ,   t h e   a p p l i c a t i o n   m a y   p r e f e r   t o   r e m o v e   t h e   p o d s   w i t h   l o w e r   u t i l i z a t i o n .   T o   a v o i d   f r e q u e n t l y   u p d a t i n g   t h e   p o d s ,   t h e   a p p l i c a t i o n   s h o u l d   u p d a t e   c o n t r o l l e r . k u b e r n e t e s . i o / p o d - d e l e t i o n - c o s t   o n c e   b e f o r e   i s s u i n g   a   s c a l e   d o w n   ( s e t t i n g   t h e   a n n o t a t i o n   t o   a   v a l u e   p r o p o r t i o n a l   t o   p o d   u t i l i z a t i o n   l e v e l ) .   T h i s   w o r k s   i f   t h e   a p p l i c a t i o n   i t s e l f   c o n t r o l s   t h e   d o w n   s c a l i n g ;   f o r   e x a m p l e ,   t h e   d r i v e r   p o d   o f   a   S p a r k   d e p l o y m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_11988"
  },
  {
    "question": "What is ReplicaSet as a Horizontal Pod Autoscaler Target?",
    "answer": "A   R e p l i c a S e t   c a n   a l s o   b e   a   t a r g e t   f o r   H o r i z o n t a l   P o d   A u t o s c a l e r s   ( H P A ) .   T h a t   i s ,   a   R e p l i c a S e t   c a n   b e   a u t o - s c a l e d   b y   a n   H P A .   H e r e   i s   a n   e x a m p l e   H P A   t a r g e t i n g   t h e   R e p l i c a S e t   w e   c r e a t e d   i n   t h e   p r e v i o u s   e x a m p l e .   a p i V e r s i o n :   a u t o s c a l i n g / v 1   k i n d :   H o r i z o n t a l P o d A u t o s c a l e r   m e t a d a t a :   n a m e :   f r o n t e n d - s c a l e r   s p e c :   s c a l e T a r g e t R e f :   k i n d :   R e p l i c a S e t   n a m e :   f r o n t e n d   m i n R e p l i c a s :   3   m a x R e p l i c a s :   1 0   t a r g e t C P U U t i l i z a t i o n P e r c e n t a g e :   5 0   S a v i n g   t h i s   m a n i f e s t   i n t o   h p a - r s . y a m l   a n d   s u b m i t t i n g   i t   t o   a   K u b e r n e t e s   c l u s t e r   s h o u l d   c r e a t e   t h e   d e f i n e d   H P A   t h a t   a u t o s c a l e s   t h e   t a r g e t   R e p l i c a S e t   d e p e n d i n g   o n   t h e   C P U   u s a g e   o f   t h e   r e p l i c a t e d   P o d s .   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / c o n t r o l l e r s / h p a - r s . y a m l   A l t e r n a t i v e l y ,   y o u   c a n   u s e   t h e   k u b e c t l   a u t o s c a l e   c o m m a n d   t o   a c c o m p l i s h   t h e   s a m e   ( a n d   i t ' s   e a s i e r ! )   k u b e c t l   a u t o s c a l e   r s   f r o n t e n d   - - m a x = 1 0   - - m i n = 3   - - c p u - p e r c e n t = 5 0",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11989"
  },
  {
    "question": "What is Deployment (recommended)?",
    "answer": "D e p l o y m e n t   i s   a n   o b j e c t   w h i c h   c a n   o w n   R e p l i c a S e t s   a n d   u p d a t e   t h e m   a n d   t h e i r   P o d s   v i a   d e c l a r a t i v e ,   s e r v e r - s i d e   r o l l i n g   u p d a t e s .   W h i l e   R e p l i c a S e t s   c a n   b e   u s e d   i n d e p e n d e n t l y ,   t o d a y   t h e y ' r e   m a i n l y   u s e d   b y   D e p l o y m e n t s   a s   a   m e c h a n i s m   t o   o r c h e s t r a t e   P o d   c r e a t i o n ,   d e l e t i o n   a n d   u p d a t e s .   W h e n   y o u   u s e   D e p l o y m e n t s   y o u   d o n ' t   h a v e   t o   w o r r y   a b o u t   m a n a g i n g   t h e   R e p l i c a S e t s   t h a t   t h e y   c r e a t e .   D e p l o y m e n t s   o w n   a n d   m a n a g e   t h e i r   R e p l i c a S e t s .   A s   s u c h ,   i t   i s   r e c o m m e n d e d   t o   u s e   D e p l o y m e n t s   w h e n   y o u   w a n t   R e p l i c a S e t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11990"
  },
  {
    "question": "What is Bare Pods?",
    "answer": "U n l i k e   t h e   c a s e   w h e r e   a   u s e r   d i r e c t l y   c r e a t e d   P o d s ,   a   R e p l i c a S e t   r e p l a c e s   P o d s   t h a t   a r e   d e l e t e d   o r   t e r m i n a t e d   f o r   a n y   r e a s o n ,   s u c h   a s   i n   t h e   c a s e   o f   n o d e   f a i l u r e   o r   d i s r u p t i v e   n o d e   m a i n t e n a n c e ,   s u c h   a s   a   k e r n e l   u p g r a d e .   F o r   t h i s   r e a s o n ,   w e   r e c o m m e n d   t h a t   y o u   u s e   a   R e p l i c a S e t   e v e n   i f   y o u r   a p p l i c a t i o n   r e q u i r e s   o n l y   a   s i n g l e   P o d .   T h i n k   o f   i t   s i m i l a r l y   t o   a   p r o c e s s   s u p e r v i s o r ,   o n l y   i t   s u p e r v i s e s   m u l t i p l e   P o d s   a c r o s s   m u l t i p l e   n o d e s   i n s t e a d   o f   i n d i v i d u a l   p r o c e s s e s   o n   a   s i n g l e   n o d e .   A   R e p l i c a S e t   d e l e g a t e s   l o c a l   c o n t a i n e r   r e s t a r t s   t o   s o m e   a g e n t   o n   t h e   n o d e   s u c h   a s   K u b e l e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11991"
  },
  {
    "question": "What is Job?",
    "answer": "U s e   a   J o b   i n s t e a d   o f   a   R e p l i c a S e t   f o r   P o d s   t h a t   a r e   e x p e c t e d   t o   t e r m i n a t e   o n   t h e i r   o w n   ( t h a t   i s ,   b a t c h   j o b s ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11992"
  },
  {
    "question": "What is DaemonSet?",
    "answer": "U s e   a   D a e m o n S e t   i n s t e a d   o f   a   R e p l i c a S e t   f o r   P o d s   t h a t   p r o v i d e   a   m a c h i n e - l e v e l   f u n c t i o n ,   s u c h   a s   m a c h i n e   m o n i t o r i n g   o r   m a c h i n e   l o g g i n g .   T h e s e   P o d s   h a v e   a   l i f e t i m e   t h a t   i s   t i e d   t o   a   m a c h i n e   l i f e t i m e :   t h e   P o d   n e e d s   t o   b e   r u n n i n g   o n   t h e   m a c h i n e   b e f o r e   o t h e r   P o d s   s t a r t ,   a n d   a r e   s a f e   t o   t e r m i n a t e   w h e n   t h e   m a c h i n e   i s   o t h e r w i s e   r e a d y   t o   b e   r e b o o t e d / s h u t d o w n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11993"
  },
  {
    "question": "What is ReplicationController?",
    "answer": "R e p l i c a S e t s   a r e   t h e   s u c c e s s o r s   t o   R e p l i c a t i o n C o n t r o l l e r s .   T h e   t w o   s e r v e   t h e   s a m e   p u r p o s e ,   a n d   b e h a v e   s i m i l a r l y ,   e x c e p t   t h a t   a   R e p l i c a t i o n C o n t r o l l e r   d o e s   n o t   s u p p o r t   s e t - b a s e d   s e l e c t o r   r e q u i r e m e n t s   a s   d e s c r i b e d   i n   t h e   l a b e l s   u s e r   g u i d e .   A s   s u c h ,   R e p l i c a S e t s   a r e   p r e f e r r e d   o v e r   R e p l i c a t i o n C o n t r o l l e r s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_11994"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   P o d s . L e a r n   a b o u t   D e p l o y m e n t s . R u n   a   S t a t e l e s s   A p p l i c a t i o n   U s i n g   a   D e p l o y m e n t ,   w h i c h   r e l i e s   o n   R e p l i c a S e t s   t o   w o r k . R e p l i c a S e t   i s   a   t o p - l e v e l   r e s o u r c e   i n   t h e   K u b e r n e t e s   R E S T   A P I .   R e a d   t h e   R e p l i c a S e t   o b j e c t   d e f i n i t i o n   t o   u n d e r s t a n d   t h e   A P I   f o r   r e p l i c a   s e t s . R e a d   a b o u t   P o d D i s r u p t i o n B u d g e t   a n d   h o w   y o u   c a n   u s e   i t   t o   m a n a g e   a p p l i c a t i o n   a v a i l a b i l i t y   d u r i n g   d i s r u p t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11995"
  },
  {
    "question": "What is 4.2.3 - StatefulSets?",
    "answer": "S t a t e f u l S e t   i s   t h e   w o r k l o a d   A P I   o b j e c t   u s e d   t o   m a n a g e   s t a t e f u l   a p p l i c a t i o n s .   M a n a g e s   t h e   d e p l o y m e n t   a n d   s c a l i n g   o f   a   s e t   o f   P o d s ,   a n d   p r o v i d e s   g u a r a n t e e s   a b o u t   t h e   o r d e r i n g   a n d   u n i q u e n e s s   o f   t h e s e   P o d s .   L i k e   a   D e p l o y m e n t ,   a   S t a t e f u l S e t   m a n a g e s   P o d s   t h a t   a r e   b a s e d   o n   a n   i d e n t i c a l   c o n t a i n e r   s p e c .   U n l i k e   a   D e p l o y m e n t ,   a   S t a t e f u l S e t   m a i n t a i n s   a   s t i c k y   i d e n t i t y   f o r   e a c h   o f   i t s   P o d s .   T h e s e   p o d s   a r e   c r e a t e d   f r o m   t h e   s a m e   s p e c ,   b u t   a r e   n o t   i n t e r c h a n g e a b l e :   e a c h   h a s   a   p e r s i s t e n t   i d e n t i f i e r   t h a t   i t   m a i n t a i n s   a c r o s s   a n y   r e s c h e d u l i n g .   I f   y o u   w a n t   t o   u s e   s t o r a g e   v o l u m e s   t o   p r o v i d e   p e r s i s t e n c e   f o r   y o u r   w o r k l o a d ,   y o u   c a n   u s e   a   S t a t e f u l S e t   a s   p a r t   o f   t h e   s o l u t i o n .   A l t h o u g h   i n d i v i d u a l   P o d s   i n   a   S t a t e f u l S e t   a r e   s u s c e p t i b l e   t o   f a i l u r e ,   t h e   p e r s i s t e n t   P o d   i d e n t i f i e r s   m a k e   i t   e a s i e r   t o   m a t c h   e x i s t i n g   v o l u m e s   t o   t h e   n e w   P o d s   t h a t   r e p l a c e   a n y   t h a t   h a v e   f a i l e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_11996"
  },
  {
    "question": "What is Using StatefulSets?",
    "answer": "S t a t e f u l S e t s   a r e   v a l u a b l e   f o r   a p p l i c a t i o n s   t h a t   r e q u i r e   o n e   o r   m o r e   o f   t h e   f o l l o w i n g .   S t a b l e ,   u n i q u e   n e t w o r k   i d e n t i f i e r s . S t a b l e ,   p e r s i s t e n t   s t o r a g e . O r d e r e d ,   g r a c e f u l   d e p l o y m e n t   a n d   s c a l i n g . O r d e r e d ,   a u t o m a t e d   r o l l i n g   u p d a t e s .   I n   t h e   a b o v e ,   s t a b l e   i s   s y n o n y m o u s   w i t h   p e r s i s t e n c e   a c r o s s   P o d   ( r e ) s c h e d u l i n g .   I f   a n   a p p l i c a t i o n   d o e s n ' t   r e q u i r e   a n y   s t a b l e   i d e n t i f i e r s   o r   o r d e r e d   d e p l o y m e n t ,   d e l e t i o n ,   o r   s c a l i n g ,   y o u   s h o u l d   d e p l o y   y o u r   a p p l i c a t i o n   u s i n g   a   w o r k l o a d   o b j e c t   t h a t   p r o v i d e s   a   s e t   o f   s t a t e l e s s   r e p l i c a s .   D e p l o y m e n t   o r   R e p l i c a S e t   m a y   b e   b e t t e r   s u i t e d   t o   y o u r   s t a t e l e s s   n e e d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11997"
  },
  {
    "question": "What is Limitations?",
    "answer": "T h e   s t o r a g e   f o r   a   g i v e n   P o d   m u s t   e i t h e r   b e   p r o v i s i o n e d   b y   a   P e r s i s t e n t V o l u m e   P r o v i s i o n e r   ( e x a m p l e s   h e r e )   b a s e d   o n   t h e   r e q u e s t e d   s t o r a g e   c l a s s ,   o r   p r e - p r o v i s i o n e d   b y   a n   a d m i n . D e l e t i n g   a n d / o r   s c a l i n g   a   S t a t e f u l S e t   d o w n   w i l l   n o t   d e l e t e   t h e   v o l u m e s   a s s o c i a t e d   w i t h   t h e   S t a t e f u l S e t .   T h i s   i s   d o n e   t o   e n s u r e   d a t a   s a f e t y ,   w h i c h   i s   g e n e r a l l y   m o r e   v a l u a b l e   t h a n   a n   a u t o m a t i c   p u r g e   o f   a l l   r e l a t e d   S t a t e f u l S e t   r e s o u r c e s . S t a t e f u l S e t s   c u r r e n t l y   r e q u i r e   a   H e a d l e s s   S e r v i c e   t o   b e   r e s p o n s i b l e   f o r   t h e   n e t w o r k   i d e n t i t y   o f   t h e   P o d s .   Y o u   a r e   r e s p o n s i b l e   f o r   c r e a t i n g   t h i s   S e r v i c e . S t a t e f u l S e t s   d o   n o t   p r o v i d e   a n y   g u a r a n t e e s   o n   t h e   t e r m i n a t i o n   o f   p o d s   w h e n   a   S t a t e f u l S e t   i s   d e l e t e d .   T o   a c h i e v e   o r d e r e d   a n d   g r a c e f u l   t e r m i n a t i o n   o f   t h e   p o d s   i n   t h e   S t a t e f u l S e t ,   i t   i s   p o s s i b l e   t o   s c a l e   t h e   S t a t e f u l S e t   d o w n   t o   0   p r i o r   t o   d e l e t i o n . W h e n   u s i n g   R o l l i n g   U p d a t e s   w i t h   t h e   d e f a u l t   P o d   M a n a g e m e n t   P o l i c y   ( O r d e r e d R e a d y ) ,   i t ' s   p o s s i b l e   t o   g e t   i n t o   a   b r o k e n   s t a t e   t h a t   r e q u i r e s   m a n u a l   i n t e r v e n t i o n   t o   r e p a i r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11998"
  },
  {
    "question": "What is Components?",
    "answer": "T h e   e x a m p l e   b e l o w   d e m o n s t r a t e s   t h e   c o m p o n e n t s   o f   a   S t a t e f u l S e t .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   n g i n x   l a b e l s :   a p p :   n g i n x   s p e c :   p o r t s :   -   p o r t :   8 0   n a m e :   w e b   c l u s t e r I P :   N o n e   s e l e c t o r :   a p p :   n g i n x   - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a :   n a m e :   w e b   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   #   h a s   t o   m a t c h   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s   s e r v i c e N a m e :   \" n g i n x \"   r e p l i c a s :   3   #   b y   d e f a u l t   i s   1   m i n R e a d y S e c o n d s :   1 0   #   b y   d e f a u l t   i s   0   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   #   h a s   t o   m a t c h   . s p e c . s e l e c t o r . m a t c h L a b e l s   s p e c :   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s :   1 0   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   r e g i s t r y . k 8 s . i o / n g i n x - s l i m : 0 . 2 4   p o r t s :   -   c o n t a i n e r P o r t :   8 0   n a m e :   w e b   v o l u m e M o u n t s :   -   n a m e :   w w w   m o u n t P a t h :   / u s r / s h a r e / n g i n x / h t m l   v o l u m e C l a i m T e m p l a t e s :   -   m e t a d a t a :   n a m e :   w w w   s p e c :   a c c e s s M o d e s :   [   \" R e a d W r i t e O n c e \"   ]   s t o r a g e C l a s s N a m e :   \" m y - s t o r a g e - c l a s s \"   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   1 G i",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_11999"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   t h e   a b o v e   e x a m p l e :   A   H e a d l e s s   S e r v i c e ,   n a m e d   n g i n x ,   i s   u s e d   t o   c o n t r o l   t h e   n e t w o r k   d o m a i n . T h e   S t a t e f u l S e t ,   n a m e d   w e b ,   h a s   a   S p e c   t h a t   i n d i c a t e s   t h a t   3   r e p l i c a s   o f   t h e   n g i n x   c o n t a i n e r   w i l l   b e   l a u n c h e d   i n   u n i q u e   P o d s . T h e   v o l u m e C l a i m T e m p l a t e s   w i l l   p r o v i d e   s t a b l e   s t o r a g e   u s i n g   P e r s i s t e n t V o l u m e s   p r o v i s i o n e d   b y   a   P e r s i s t e n t V o l u m e   P r o v i s i o n e r .   T h e   n a m e   o f   a   S t a t e f u l S e t   o b j e c t   m u s t   b e   a   v a l i d   D N S   l a b e l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12000"
  },
  {
    "question": "What is Pod Selector?",
    "answer": "Y o u   m u s t   s e t   t h e   . s p e c . s e l e c t o r   f i e l d   o f   a   S t a t e f u l S e t   t o   m a t c h   t h e   l a b e l s   o f   i t s   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s .   F a i l i n g   t o   s p e c i f y   a   m a t c h i n g   P o d   S e l e c t o r   w i l l   r e s u l t   i n   a   v a l i d a t i o n   e r r o r   d u r i n g   S t a t e f u l S e t   c r e a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12001"
  },
  {
    "question": "What is Volume Claim Templates?",
    "answer": "Y o u   c a n   s e t   t h e   . s p e c . v o l u m e C l a i m T e m p l a t e s   f i e l d   t o   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m .   T h i s   w i l l   p r o v i d e   s t a b l e   s t o r a g e   t o   t h e   S t a t e f u l S e t   i f   e i t h e r   T h e   S t o r a g e C l a s s   s p e c i f i e d   f o r   t h e   v o l u m e   c l a i m   i s   s e t   u p   t o   u s e   d y n a m i c   p r o v i s i o n i n g ,   o r T h e   c l u s t e r   a l r e a d y   c o n t a i n s   a   P e r s i s t e n t V o l u m e   w i t h   t h e   c o r r e c t   S t o r a g e C l a s s   a n d   s u f f i c i e n t   a v a i l a b l e   s t o r a g e   s p a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12002"
  },
  {
    "question": "What is Minimum ready seconds?",
    "answer": ". s p e c . m i n R e a d y S e c o n d s   i s   a n   o p t i o n a l   f i e l d   t h a t   s p e c i f i e s   t h e   m i n i m u m   n u m b e r   o f   s e c o n d s   f o r   w h i c h   a   n e w l y   c r e a t e d   P o d   s h o u l d   b e   r u n n i n g   a n d   r e a d y   w i t h o u t   a n y   o f   i t s   c o n t a i n e r s   c r a s h i n g ,   f o r   i t   t o   b e   c o n s i d e r e d   a v a i l a b l e .   T h i s   i s   u s e d   t o   c h e c k   p r o g r e s s i o n   o f   a   r o l l o u t   w h e n   u s i n g   a   R o l l i n g   U p d a t e   s t r a t e g y .   T h i s   f i e l d   d e f a u l t s   t o   0   ( t h e   P o d   w i l l   b e   c o n s i d e r e d   a v a i l a b l e   a s   s o o n   a s   i t   i s   r e a d y ) .   T o   l e a r n   m o r e   a b o u t   w h e n   a   P o d   i s   c o n s i d e r e d   r e a d y ,   s e e   C o n t a i n e r   P r o b e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12003"
  },
  {
    "question": "What is Pod Identity?",
    "answer": "S t a t e f u l S e t   P o d s   h a v e   a   u n i q u e   i d e n t i t y   t h a t   c o n s i s t s   o f   a n   o r d i n a l ,   a   s t a b l e   n e t w o r k   i d e n t i t y ,   a n d   s t a b l e   s t o r a g e .   T h e   i d e n t i t y   s t i c k s   t o   t h e   P o d ,   r e g a r d l e s s   o f   w h i c h   n o d e   i t ' s   ( r e ) s c h e d u l e d   o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12004"
  },
  {
    "question": "What is Ordinal Index?",
    "answer": "F o r   a   S t a t e f u l S e t   w i t h   N   r e p l i c a s ,   e a c h   P o d   i n   t h e   S t a t e f u l S e t   w i l l   b e   a s s i g n e d   a n   i n t e g e r   o r d i n a l ,   t h a t   i s   u n i q u e   o v e r   t h e   S e t .   B y   d e f a u l t ,   p o d s   w i l l   b e   a s s i g n e d   o r d i n a l s   f r o m   0   u p   t h r o u g h   N - 1 .   T h e   S t a t e f u l S e t   c o n t r o l l e r   w i l l   a l s o   a d d   a   p o d   l a b e l   w i t h   t h i s   i n d e x :   a p p s . k u b e r n e t e s . i o / p o d - i n d e x .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12005"
  },
  {
    "question": "What is Start ordinal?",
    "answer": ". s p e c . o r d i n a l s   i s   a n   o p t i o n a l   f i e l d   t h a t   a l l o w s   y o u   t o   c o n f i g u r e   t h e   i n t e g e r   o r d i n a l s   a s s i g n e d   t o   e a c h   P o d .   I t   d e f a u l t s   t o   n i l .   W i t h i n   t h e   f i e l d ,   y o u   c a n   c o n f i g u r e   t h e   f o l l o w i n g   o p t i o n s :   . s p e c . o r d i n a l s . s t a r t :   I f   t h e   . s p e c . o r d i n a l s . s t a r t   f i e l d   i s   s e t ,   P o d s   w i l l   b e   a s s i g n e d   o r d i n a l s   f r o m   . s p e c . o r d i n a l s . s t a r t   u p   t h r o u g h   . s p e c . o r d i n a l s . s t a r t   +   . s p e c . r e p l i c a s   -   1 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12006"
  },
  {
    "question": "What is Stable Network ID?",
    "answer": "E a c h   P o d   i n   a   S t a t e f u l S e t   d e r i v e s   i t s   h o s t n a m e   f r o m   t h e   n a m e   o f   t h e   S t a t e f u l S e t   a n d   t h e   o r d i n a l   o f   t h e   P o d .   T h e   p a t t e r n   f o r   t h e   c o n s t r u c t e d   h o s t n a m e   i s   $ ( s t a t e f u l s e t   n a m e ) - $ ( o r d i n a l ) .   T h e   e x a m p l e   a b o v e   w i l l   c r e a t e   t h r e e   P o d s   n a m e d   w e b - 0 , w e b - 1 , w e b - 2 .   A   S t a t e f u l S e t   c a n   u s e   a   H e a d l e s s   S e r v i c e   t o   c o n t r o l   t h e   d o m a i n   o f   i t s   P o d s .   T h e   d o m a i n   m a n a g e d   b y   t h i s   S e r v i c e   t a k e s   t h e   f o r m :   $ ( s e r v i c e   n a m e ) . $ ( n a m e s p a c e ) . s v c . c l u s t e r . l o c a l ,   w h e r e   \" c l u s t e r . l o c a l \"   i s   t h e   c l u s t e r   d o m a i n .   A s   e a c h   P o d   i s   c r e a t e d ,   i t   g e t s   a   m a t c h i n g   D N S   s u b d o m a i n ,   t a k i n g   t h e   f o r m :   $ ( p o d n a m e ) . $ ( g o v e r n i n g   s e r v i c e   d o m a i n ) ,   w h e r e   t h e   g o v e r n i n g   s e r v i c e   i s   d e f i n e d   b y   t h e   s e r v i c e N a m e   f i e l d   o n   t h e   S t a t e f u l S e t .   D e p e n d i n g   o n   h o w   D N S   i s   c o n f i g u r e d   i n   y o u r   c l u s t e r ,   y o u   m a y   n o t   b e   a b l e   t o   l o o k   u p   t h e   D N S   n a m e   f o r   a   n e w l y - r u n   P o d   i m m e d i a t e l y .   T h i s   b e h a v i o r   c a n   o c c u r   w h e n   o t h e r   c l i e n t s   i n   t h e   c l u s t e r   h a v e   a l r e a d y   s e n t   q u e r i e s   f o r   t h e   h o s t n a m e   o f   t h e   P o d   b e f o r e   i t   w a s   c r e a t e d .   N e g a t i v e   c a c h i n g   ( n o r m a l   i n   D N S )   m e a n s   t h a t   t h e   r e s u l t s   o f   p r e v i o u s ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12007"
  },
  {
    "question": "What is Stable Storage?",
    "answer": "F o r   e a c h   V o l u m e C l a i m T e m p l a t e   e n t r y   d e f i n e d   i n   a   S t a t e f u l S e t ,   e a c h   P o d   r e c e i v e s   o n e   P e r s i s t e n t V o l u m e C l a i m .   I n   t h e   n g i n x   e x a m p l e   a b o v e ,   e a c h   P o d   r e c e i v e s   a   s i n g l e   P e r s i s t e n t V o l u m e   w i t h   a   S t o r a g e C l a s s   o f   m y - s t o r a g e - c l a s s   a n d   1   G i B   o f   p r o v i s i o n e d   s t o r a g e .   I f   n o   S t o r a g e C l a s s   i s   s p e c i f i e d ,   t h e n   t h e   d e f a u l t   S t o r a g e C l a s s   w i l l   b e   u s e d .   W h e n   a   P o d   i s   ( r e ) s c h e d u l e d   o n t o   a   n o d e ,   i t s   v o l u m e M o u n t s   m o u n t   t h e   P e r s i s t e n t V o l u m e s   a s s o c i a t e d   w i t h   i t s   P e r s i s t e n t V o l u m e   C l a i m s .   N o t e   t h a t ,   t h e   P e r s i s t e n t V o l u m e s   a s s o c i a t e d   w i t h   t h e   P o d s '   P e r s i s t e n t V o l u m e   C l a i m s   a r e   n o t   d e l e t e d   w h e n   t h e   P o d s ,   o r   S t a t e f u l S e t   a r e   d e l e t e d .   T h i s   m u s t   b e   d o n e   m a n u a l l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12008"
  },
  {
    "question": "What is Pod Name Label?",
    "answer": "W h e n   t h e   S t a t e f u l S e t   c o n t r o l l e r   c r e a t e s   a   P o d ,   i t   a d d s   a   l a b e l ,   s t a t e f u l s e t . k u b e r n e t e s . i o / p o d - n a m e ,   t h a t   i s   s e t   t o   t h e   n a m e   o f   t h e   P o d .   T h i s   l a b e l   a l l o w s   y o u   t o   a t t a c h   a   S e r v i c e   t o   a   s p e c i f i c   P o d   i n   t h e   S t a t e f u l S e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12009"
  },
  {
    "question": "What is Pod index label?",
    "answer": "W h e n   t h e   S t a t e f u l S e t   c o n t r o l l e r   c r e a t e s   a   P o d ,   t h e   n e w   P o d   i s   l a b e l l e d   w i t h   a p p s . k u b e r n e t e s . i o / p o d - i n d e x .   T h e   v a l u e   o f   t h i s   l a b e l   i s   t h e   o r d i n a l   i n d e x   o f   t h e   P o d .   T h i s   l a b e l   a l l o w s   y o u   t o   r o u t e   t r a f f i c   t o   a   p a r t i c u l a r   p o d   i n d e x ,   f i l t e r   l o g s / m e t r i c s   u s i n g   t h e   p o d   i n d e x   l a b e l ,   a n d   m o r e .   N o t e   t h e   f e a t u r e   g a t e   P o d I n d e x L a b e l   i s   e n a b l e d   a n d   l o c k e d   b y   d e f a u l t   f o r   t h i s   f e a t u r e ,   i n   o r d e r   t o   d i s a b l e   i t ,   u s e r s   w i l l   h a v e   t o   u s e   s e r v e r   e m u l a t e d   v e r s i o n   v 1 . 3 1 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12010"
  },
  {
    "question": "What is Deployment and Scaling Guarantees?",
    "answer": "F o r   a   S t a t e f u l S e t   w i t h   N   r e p l i c a s ,   w h e n   P o d s   a r e   b e i n g   d e p l o y e d ,   t h e y   a r e   c r e a t e d   s e q u e n t i a l l y ,   i n   o r d e r   f r o m   { 0 . . N - 1 } . W h e n   P o d s   a r e   b e i n g   d e l e t e d ,   t h e y   a r e   t e r m i n a t e d   i n   r e v e r s e   o r d e r ,   f r o m   { N - 1 . . 0 } . B e f o r e   a   s c a l i n g   o p e r a t i o n   i s   a p p l i e d   t o   a   P o d ,   a l l   o f   i t s   p r e d e c e s s o r s   m u s t   b e   R u n n i n g   a n d   R e a d y . B e f o r e   a   P o d   i s   t e r m i n a t e d ,   a l l   o f   i t s   s u c c e s s o r s   m u s t   b e   c o m p l e t e l y   s h u t d o w n .   T h e   S t a t e f u l S e t   s h o u l d   n o t   s p e c i f y   a   p o d . S p e c . T e r m i n a t i o n G r a c e P e r i o d S e c o n d s   o f   0 .   T h i s   p r a c t i c e   i s   u n s a f e   a n d   s t r o n g l y   d i s c o u r a g e d .   F o r   f u r t h e r   e x p l a n a t i o n ,   p l e a s e   r e f e r   t o   f o r c e   d e l e t i n g   S t a t e f u l S e t   P o d s .   W h e n   t h e   n g i n x   e x a m p l e   a b o v e   i s   c r e a t e d ,   t h r e e   P o d s   w i l l   b e   d e p l o y e d   i n   t h e   o r d e r   w e b - 0 ,   w e b - 1 ,   w e b - 2 .   w e b - 1   w i l l   n o t   b e   d e p l o y e d   b e f o r e   w e b - 0   i s   R u n n i n g   a n d   R e a d y ,   a n d   w e b - 2   w i l l   n o t   b e   d e p l o y e d   u n t i l   w e b - 1   i s   R u n n i n g   a n d   R e a d y .   I f   w e b - 0   s h o u l d   f a i l ,   a f t e r   w e b - 1   i s   R u n n i n g   a n d   R e a d y ,   b u t   b e f o r e   w e b - 2   i s   l a u n c h e d ,   w e b - 2   w i l l   n o t   b e   l a u n c h e d   u n t i l   w e b - 0   i s   s u c c e s s f u l l y   r e l a u n c h e d   a n d   b e c o m e s   R u n n i n g   a n d   R e a d y .   I f   a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12011"
  },
  {
    "question": "What is Pod Management Policies?",
    "answer": "S t a t e f u l S e t   a l l o w s   y o u   t o   r e l a x   i t s   o r d e r i n g   g u a r a n t e e s   w h i l e   p r e s e r v i n g   i t s   u n i q u e n e s s   a n d   i d e n t i t y   g u a r a n t e e s   v i a   i t s   . s p e c . p o d M a n a g e m e n t P o l i c y   f i e l d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12012"
  },
  {
    "question": "What is OrderedReady Pod Management?",
    "answer": "O r d e r e d R e a d y   p o d   m a n a g e m e n t   i s   t h e   d e f a u l t   f o r   S t a t e f u l S e t s .   I t   i m p l e m e n t s   t h e   b e h a v i o r   d e s c r i b e d   a b o v e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12013"
  },
  {
    "question": "What is Parallel Pod Management?",
    "answer": "P a r a l l e l   p o d   m a n a g e m e n t   t e l l s   t h e   S t a t e f u l S e t   c o n t r o l l e r   t o   l a u n c h   o r   t e r m i n a t e   a l l   P o d s   i n   p a r a l l e l ,   a n d   t o   n o t   w a i t   f o r   P o d s   t o   b e c o m e   R u n n i n g   a n d   R e a d y   o r   c o m p l e t e l y   t e r m i n a t e d   p r i o r   t o   l a u n c h i n g   o r   t e r m i n a t i n g   a n o t h e r   P o d .   T h i s   o p t i o n   o n l y   a f f e c t s   t h e   b e h a v i o r   f o r   s c a l i n g   o p e r a t i o n s .   U p d a t e s   a r e   n o t   a f f e c t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12014"
  },
  {
    "question": "What is Update strategies?",
    "answer": "A   S t a t e f u l S e t ' s   . s p e c . u p d a t e S t r a t e g y   f i e l d   a l l o w s   y o u   t o   c o n f i g u r e   a n d   d i s a b l e   a u t o m a t e d   r o l l i n g   u p d a t e s   f o r   c o n t a i n e r s ,   l a b e l s ,   r e s o u r c e   r e q u e s t / l i m i t s ,   a n d   a n n o t a t i o n s   f o r   t h e   P o d s   i n   a   S t a t e f u l S e t .   T h e r e   a r e   t w o   p o s s i b l e   v a l u e s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12015"
  },
  {
    "question": "What is Rolling Updates?",
    "answer": "W h e n   a   S t a t e f u l S e t ' s   . s p e c . u p d a t e S t r a t e g y . t y p e   i s   s e t   t o   R o l l i n g U p d a t e ,   t h e   S t a t e f u l S e t   c o n t r o l l e r   w i l l   d e l e t e   a n d   r e c r e a t e   e a c h   P o d   i n   t h e   S t a t e f u l S e t .   I t   w i l l   p r o c e e d   i n   t h e   s a m e   o r d e r   a s   P o d   t e r m i n a t i o n   ( f r o m   t h e   l a r g e s t   o r d i n a l   t o   t h e   s m a l l e s t ) ,   u p d a t i n g   e a c h   P o d   o n e   a t   a   t i m e .   T h e   K u b e r n e t e s   c o n t r o l   p l a n e   w a i t s   u n t i l   a n   u p d a t e d   P o d   i s   R u n n i n g   a n d   R e a d y   p r i o r   t o   u p d a t i n g   i t s   p r e d e c e s s o r .   I f   y o u   h a v e   s e t   . s p e c . m i n R e a d y S e c o n d s   ( s e e   M i n i m u m   R e a d y   S e c o n d s ) ,   t h e   c o n t r o l   p l a n e   a d d i t i o n a l l y   w a i t s   t h a t   a m o u n t   o f   t i m e   a f t e r   t h e   P o d   t u r n s   r e a d y ,   b e f o r e   m o v i n g   o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12016"
  },
  {
    "question": "What is Partitioned rolling updates?",
    "answer": "T h e   R o l l i n g U p d a t e   u p d a t e   s t r a t e g y   c a n   b e   p a r t i t i o n e d ,   b y   s p e c i f y i n g   a   . s p e c . u p d a t e S t r a t e g y . r o l l i n g U p d a t e . p a r t i t i o n .   I f   a   p a r t i t i o n   i s   s p e c i f i e d ,   a l l   P o d s   w i t h   a n   o r d i n a l   t h a t   i s   g r e a t e r   t h a n   o r   e q u a l   t o   t h e   p a r t i t i o n   w i l l   b e   u p d a t e d   w h e n   t h e   S t a t e f u l S e t ' s   . s p e c . t e m p l a t e   i s   u p d a t e d .   A l l   P o d s   w i t h   a n   o r d i n a l   t h a t   i s   l e s s   t h a n   t h e   p a r t i t i o n   w i l l   n o t   b e   u p d a t e d ,   a n d ,   e v e n   i f   t h e y   a r e   d e l e t e d ,   t h e y   w i l l   b e   r e c r e a t e d   a t   t h e   p r e v i o u s   v e r s i o n .   I f   a   S t a t e f u l S e t ' s   . s p e c . u p d a t e S t r a t e g y . r o l l i n g U p d a t e . p a r t i t i o n   i s   g r e a t e r   t h a n   i t s   . s p e c . r e p l i c a s ,   u p d a t e s   t o   i t s   . s p e c . t e m p l a t e   w i l l   n o t   b e   p r o p a g a t e d   t o   i t s   P o d s .   I n   m o s t   c a s e s   y o u   w i l l   n o t   n e e d   t o   u s e   a   p a r t i t i o n ,   b u t   t h e y   a r e   u s e f u l   i f   y o u   w a n t   t o   s t a g e   a n   u p d a t e ,   r o l l   o u t   a   c a n a r y ,   o r   p e r f o r m   a   p h a s e d   r o l l   o u t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12017"
  },
  {
    "question": "What is Maximum unavailable Pods?",
    "answer": "Y o u   c a n   c o n t r o l   t h e   m a x i m u m   n u m b e r   o f   P o d s   t h a t   c a n   b e   u n a v a i l a b l e   d u r i n g   a n   u p d a t e   b y   s p e c i f y i n g   t h e   . s p e c . u p d a t e S t r a t e g y . r o l l i n g U p d a t e . m a x U n a v a i l a b l e   f i e l d .   T h e   v a l u e   c a n   b e   a n   a b s o l u t e   n u m b e r   ( f o r   e x a m p l e ,   5 )   o r   a   p e r c e n t a g e   o f   d e s i r e d   P o d s   ( f o r   e x a m p l e ,   1 0 % ) .   A b s o l u t e   n u m b e r   i s   c a l c u l a t e d   f r o m   t h e   p e r c e n t a g e   v a l u e   b y   r o u n d i n g   i t   u p .   T h i s   f i e l d   c a n n o t   b e   0 .   T h e   d e f a u l t   s e t t i n g   i s   1 .   T h i s   f i e l d   a p p l i e s   t o   a l l   P o d s   i n   t h e   r a n g e   0   t o   r e p l i c a s   -   1 .   I f   t h e r e   i s   a n y   u n a v a i l a b l e   P o d   i n   t h e   r a n g e   0   t o   r e p l i c a s   -   1 ,   i t   w i l l   b e   c o u n t e d   t o w a r d s   m a x U n a v a i l a b l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12018"
  },
  {
    "question": "What is Forced rollback?",
    "answer": "W h e n   u s i n g   R o l l i n g   U p d a t e s   w i t h   t h e   d e f a u l t   P o d   M a n a g e m e n t   P o l i c y   ( O r d e r e d R e a d y ) ,   i t ' s   p o s s i b l e   t o   g e t   i n t o   a   b r o k e n   s t a t e   t h a t   r e q u i r e s   m a n u a l   i n t e r v e n t i o n   t o   r e p a i r .   I f   y o u   u p d a t e   t h e   P o d   t e m p l a t e   t o   a   c o n f i g u r a t i o n   t h a t   n e v e r   b e c o m e s   R u n n i n g   a n d   R e a d y   ( f o r   e x a m p l e ,   d u e   t o   a   b a d   b i n a r y   o r   a p p l i c a t i o n - l e v e l   c o n f i g u r a t i o n   e r r o r ) ,   S t a t e f u l S e t   w i l l   s t o p   t h e   r o l l o u t   a n d   w a i t .   I n   t h i s   s t a t e ,   i t ' s   n o t   e n o u g h   t o   r e v e r t   t h e   P o d   t e m p l a t e   t o   a   g o o d   c o n f i g u r a t i o n .   D u e   t o   a   k n o w n   i s s u e ,   S t a t e f u l S e t   w i l l   c o n t i n u e   t o   w a i t   f o r   t h e   b r o k e n   P o d   t o   b e c o m e   R e a d y   ( w h i c h   n e v e r   h a p p e n s )   b e f o r e   i t   w i l l   a t t e m p t   t o   r e v e r t   i t   b a c k   t o   t h e   w o r k i n g   c o n f i g u r a t i o n .   A f t e r   r e v e r t i n g   t h e   t e m p l a t e ,   y o u   m u s t   a l s o   d e l e t e   a n y   P o d s   t h a t   S t a t e f u l S e t   h a d   a l r e a d y   a t t e m p t e d   t o   r u n   w i t h   t h e   b a d   c o n f i g u r a t i o n .   S t a t e f u l S e t   w i l l   t h e n   b e g i n   t o   r e c r e a t e   t h e   P o d s   u s i n g   t h e   r e v e r t e d   t e m p l a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12019"
  },
  {
    "question": "What is Revision history?",
    "answer": "C o n t r o l l e r R e v i s i o n   i s   a   K u b e r n e t e s   A P I   r e s o u r c e   u s e d   b y   c o n t r o l l e r s ,   s u c h   a s   t h e   S t a t e f u l S e t   c o n t r o l l e r ,   t o   t r a c k   h i s t o r i c a l   c o n f i g u r a t i o n   c h a n g e s .   S t a t e f u l S e t s   u s e   C o n t r o l l e r R e v i s i o n s   t o   m a i n t a i n   a   r e v i s i o n   h i s t o r y ,   e n a b l i n g   r o l l b a c k s   a n d   v e r s i o n   t r a c k i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12020"
  },
  {
    "question": "What is How StatefulSets track changes using ControllerRevisions?",
    "answer": "W h e n   y o u   u p d a t e   a   S t a t e f u l S e t ' s   P o d   t e m p l a t e   ( s p e c . t e m p l a t e ) ,   t h e   S t a t e f u l S e t   c o n t r o l l e r :   P r e p a r e s   a   n e w   C o n t r o l l e r R e v i s i o n   o b j e c t S t o r e s   a   s n a p s h o t   o f   t h e   P o d   t e m p l a t e   a n d   m e t a d a t a A s s i g n s   a n   i n c r e m e n t a l   r e v i s i o n   n u m b e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12021"
  },
  {
    "question": "What is Key Properties?",
    "answer": "C o n t r o l l e r R e v i s i o n   k e y   p r o p e r t i e s   a n d   o t h e r   d e t a i l s   c a n   b e   c h e c k e d   h e r e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12022"
  },
  {
    "question": "What is Managing Revision History?",
    "answer": "C o n t r o l   r e t a i n e d   r e v i s i o n s   w i t h   . s p e c . r e v i s i o n H i s t o r y L i m i t :   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a :   n a m e :   w e b a p p   s p e c :   r e v i s i o n H i s t o r y L i m i t :   5   #   K e e p   l a s t   5   r e v i s i o n s   #   . . .   o t h e r   s p e c   f i e l d s   . . .   D e f a u l t :   1 0   r e v i s i o n s   r e t a i n e d   i f   u n s p e c i f i e d C l e a n u p :   O l d e s t   r e v i s i o n s   a r e   g a r b a g e - c o l l e c t e d   w h e n   e x c e e d i n g   t h e   l i m i t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12023"
  },
  {
    "question": "What is Performing Rollbacks?",
    "answer": "Y o u   c a n   r e v e r t   t o   a   p r e v i o u s   c o n f i g u r a t i o n   u s i n g :   #   V i e w   r e v i s i o n   h i s t o r y   k u b e c t l   r o l l o u t   h i s t o r y   s t a t e f u l s e t / w e b a p p   #   R o l l b a c k   t o   a   s p e c i f i c   r e v i s i o n   k u b e c t l   r o l l o u t   u n d o   s t a t e f u l s e t / w e b a p p   - - t o - r e v i s i o n = 3   T h i s   w i l l :   A p p l y   t h e   P o d   t e m p l a t e   f r o m   r e v i s i o n   3 C r e a t e   a   n e w   C o n t r o l l e r R e v i s i o n   w i t h   a n   u p d a t e d   r e v i s i o n   n u m b e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12024"
  },
  {
    "question": "What is Inspecting ControllerRevisions?",
    "answer": "T o   v i e w   a s s o c i a t e d   C o n t r o l l e r R e v i s i o n s :   #   L i s t   a l l   r e v i s i o n s   f o r   t h e   S t a t e f u l S e t   k u b e c t l   g e t   c o n t r o l l e r r e v i s i o n s   - l   a p p . k u b e r n e t e s . i o / n a m e = w e b a p p   #   V i e w   d e t a i l e d   c o n f i g u r a t i o n   o f   a   s p e c i f i c   r e v i s i o n   k u b e c t l   g e t   c o n t r o l l e r r e v i s i o n / w e b a p p - 3   - o   y a m l",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12025"
  },
  {
    "question": "What is Retention Policy?",
    "answer": "S e t   r e v i s i o n H i s t o r y L i m i t   b e t w e e n   5 – 1 0   f o r   m o s t   w o r k l o a d s I n c r e a s e   o n l y   i f   d e e p   r o l l b a c k   h i s t o r y   i s   r e q u i r e d",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_5_12026"
  },
  {
    "question": "What is Monitoring?",
    "answer": "R e g u l a r l y   c h e c k   r e v i s i o n s   w i t h : k u b e c t l   g e t   c o n t r o l l e r r e v i s i o n s   A l e r t   o n   r a p i d   r e v i s i o n   c o u n t   g r o w t h   R e g u l a r l y   c h e c k   r e v i s i o n s   w i t h :   k u b e c t l   g e t   c o n t r o l l e r r e v i s i o n s   A l e r t   o n   r a p i d   r e v i s i o n   c o u n t   g r o w t h",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_5_12027"
  },
  {
    "question": "What is Avoid?",
    "answer": "M a n u a l   e d i t s   t o   C o n t r o l l e r R e v i s i o n   o b j e c t s . U s i n g   r e v i s i o n s   a s   a   b a c k u p   m e c h a n i s m   ( u s e   a c t u a l   b a c k u p   t o o l s ) . S e t t i n g   r e v i s i o n H i s t o r y L i m i t :   0   ( d i s a b l e s   r o l l b a c k   c a p a b i l i t y ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_5_12028"
  },
  {
    "question": "What is PersistentVolumeClaim retention?",
    "answer": "T h e   o p t i o n a l   . s p e c . p e r s i s t e n t V o l u m e C l a i m R e t e n t i o n P o l i c y   f i e l d   c o n t r o l s   i f   a n d   h o w   P V C s   a r e   d e l e t e d   d u r i n g   t h e   l i f e c y c l e   o f   a   S t a t e f u l S e t .   Y o u   m u s t   e n a b l e   t h e   S t a t e f u l S e t A u t o D e l e t e P V C   f e a t u r e   g a t e   o n   t h e   A P I   s e r v e r   a n d   t h e   c o n t r o l l e r   m a n a g e r   t o   u s e   t h i s   f i e l d .   O n c e   e n a b l e d ,   t h e r e   a r e   t w o   p o l i c i e s   y o u   c a n   c o n f i g u r e   f o r   e a c h   S t a t e f u l S e t :   F o r   e a c h   p o l i c y   t h a t   y o u   c a n   c o n f i g u r e ,   y o u   c a n   s e t   t h e   v a l u e   t o   e i t h e r   D e l e t e   o r   R e t a i n .   B e a r   i n   m i n d   t h a t   t h e s e   p o l i c i e s   o n l y   a p p l y   w h e n   P o d s   a r e   b e i n g   r e m o v e d   d u e   t o   t h e   S t a t e f u l S e t   b e i n g   d e l e t e d   o r   s c a l e d   d o w n .   F o r   e x a m p l e ,   i f   a   P o d   a s s o c i a t e d   w i t h   a   S t a t e f u l S e t   f a i l s   d u e   t o   n o d e   f a i l u r e ,   a n d   t h e   c o n t r o l   p l a n e   c r e a t e s   a   r e p l a c e m e n t   P o d ,   t h e   S t a t e f u l S e t   r e t a i n s   t h e   e x i s t i n g   P V C .   T h e   e x i s t i n g   v o l u m e   i s   u n a f f e c t e d ,   a n d   t h e   c l u s t e r   w i l l   a t t a c h   i t   t o   t h e   n o d e   w h e r e   t h e   n e w   P o d   i s   a b o u t   t o   l a u n c h .   T h e   d e f a u l t   f o r   p o l i c i e s   i s   R e t a i n ,   m a t c h i n g   t h e   S t a t e f u l S e t   b e h a v i o r   b e f o r e   t h i s   n e w   f e a t u r e .   H e r e   i s   a n   e x a m p l e   p o l i c y .   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   . . ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12029"
  },
  {
    "question": "What is Replicas?",
    "answer": ". s p e c . r e p l i c a s   i s   a n   o p t i o n a l   f i e l d   t h a t   s p e c i f i e s   t h e   n u m b e r   o f   d e s i r e d   P o d s .   I t   d e f a u l t s   t o   1 .   S h o u l d   y o u   m a n u a l l y   s c a l e   a   d e p l o y m e n t ,   e x a m p l e   v i a   k u b e c t l   s c a l e   s t a t e f u l s e t   s t a t e f u l s e t   - - r e p l i c a s = X ,   a n d   t h e n   y o u   u p d a t e   t h a t   S t a t e f u l S e t   b a s e d   o n   a   m a n i f e s t   ( f o r   e x a m p l e :   b y   r u n n i n g   k u b e c t l   a p p l y   - f   s t a t e f u l s e t . y a m l ) ,   t h e n   a p p l y i n g   t h a t   m a n i f e s t   o v e r w r i t e s   t h e   m a n u a l   s c a l i n g   t h a t   y o u   p r e v i o u s l y   d i d .   I f   a   H o r i z o n t a l P o d A u t o s c a l e r   ( o r   a n y   s i m i l a r   A P I   f o r   h o r i z o n t a l   s c a l i n g )   i s   m a n a g i n g   s c a l i n g   f o r   a   S t a t e f u l s e t ,   d o n ' t   s e t   . s p e c . r e p l i c a s .   I n s t e a d ,   a l l o w   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   t o   m a n a g e   t h e   . s p e c . r e p l i c a s   f i e l d   a u t o m a t i c a l l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12030"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   P o d s . F i n d   o u t   h o w   t o   u s e   S t a t e f u l S e t s F o l l o w   a n   e x a m p l e   o f   d e p l o y i n g   a   s t a t e f u l   a p p l i c a t i o n . F o l l o w   a n   e x a m p l e   o f   d e p l o y i n g   C a s s a n d r a   w i t h   S t a t e f u l   S e t s . F o l l o w   a n   e x a m p l e   o f   r u n n i n g   a   r e p l i c a t e d   s t a t e f u l   a p p l i c a t i o n . L e a r n   h o w   t o   s c a l e   a   S t a t e f u l S e t . L e a r n   w h a t ' s   i n v o l v e d   w h e n   y o u   d e l e t e   a   S t a t e f u l S e t . L e a r n   h o w   t o   c o n f i g u r e   a   P o d   t o   u s e   a   v o l u m e   f o r   s t o r a g e . L e a r n   h o w   t o   c o n f i g u r e   a   P o d   t o   u s e   a   P e r s i s t e n t V o l u m e   f o r   s t o r a g e . S t a t e f u l S e t   i s   a   t o p - l e v e l   r e s o u r c e   i n   t h e   K u b e r n e t e s   R E S T   A P I .   R e a d   t h e   S t a t e f u l S e t   o b j e c t   d e f i n i t i o n   t o   u n d e r s t a n d   t h e   A P I   f o r   s t a t e f u l   s e t s . R e a d   a b o u t   P o d D i s r u p t i o n B u d g e t   a n d   h o w   y o u   c a n   u s e   i t   t o   m a n a g e   a p p l i c a t i o n   a v a i l a b i l i t y   d u r i n g   d i s r u p t i o n s .   F o l l o w   a n   e x a m p l e   o f   d e p l o y i n g   a   s t a t e f u l   a p p l i c a t i o n . F o l l o w   a n   e x a m p l e   o f   d e p l o y i n g   C a s s a n d r a   w i t h   S t a t e f u l   S e t s . F o l l o w   a n   e x a m p l e   o f   r u n n i n g   a   r e p l i c a t e d   s t a t e f u l   a p p l i c a t i o n . L e a r n   h o w   t o   s c a l e   a   S t a t e f u l S e t . L e a r n   w h a t ' s   i n v o l v e d   w h e n   y o u   d e l e t e   a   S t a t e f u l S e t . L e a r n   h o w   t o   c o n f i g u r e   a   P o d   t o   u s e   a   v o l u m e   f o r   s t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12031"
  },
  {
    "question": "What is 4.2.4 - DaemonSet?",
    "answer": "A   D a e m o n S e t   e n s u r e s   t h a t   a l l   ( o r   s o m e )   N o d e s   r u n   a   c o p y   o f   a   P o d .   A s   n o d e s   a r e   a d d e d   t o   t h e   c l u s t e r ,   P o d s   a r e   a d d e d   t o   t h e m .   A s   n o d e s   a r e   r e m o v e d   f r o m   t h e   c l u s t e r ,   t h o s e   P o d s   a r e   g a r b a g e   c o l l e c t e d .   D e l e t i n g   a   D a e m o n S e t   w i l l   c l e a n   u p   t h e   P o d s   i t   c r e a t e d .   S o m e   t y p i c a l   u s e s   o f   a   D a e m o n S e t   a r e :   r u n n i n g   a   c l u s t e r   s t o r a g e   d a e m o n   o n   e v e r y   n o d e r u n n i n g   a   l o g s   c o l l e c t i o n   d a e m o n   o n   e v e r y   n o d e r u n n i n g   a   n o d e   m o n i t o r i n g   d a e m o n   o n   e v e r y   n o d e   I n   a   s i m p l e   c a s e ,   o n e   D a e m o n S e t ,   c o v e r i n g   a l l   n o d e s ,   w o u l d   b e   u s e d   f o r   e a c h   t y p e   o f   d a e m o n .   A   m o r e   c o m p l e x   s e t u p   m i g h t   u s e   m u l t i p l e   D a e m o n S e t s   f o r   a   s i n g l e   t y p e   o f   d a e m o n ,   b u t   w i t h   d i f f e r e n t   f l a g s   a n d / o r   d i f f e r e n t   m e m o r y   a n d   c p u   r e q u e s t s   f o r   d i f f e r e n t   h a r d w a r e   t y p e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12032"
  },
  {
    "question": "What is Create a DaemonSet?",
    "answer": "Y o u   c a n   d e s c r i b e   a   D a e m o n S e t   i n   a   Y A M L   f i l e .   F o r   e x a m p l e ,   t h e   d a e m o n s e t . y a m l   f i l e   b e l o w   d e s c r i b e s   a   D a e m o n S e t   t h a t   r u n s   t h e   f l u e n t d - e l a s t i c s e a r c h   D o c k e r   i m a g e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D a e m o n S e t   m e t a d a t a :   n a m e :   f l u e n t d - e l a s t i c s e a r c h   n a m e s p a c e :   k u b e - s y s t e m   l a b e l s :   k 8 s - a p p :   f l u e n t d - l o g g i n g   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   n a m e :   f l u e n t d - e l a s t i c s e a r c h   t e m p l a t e :   m e t a d a t a :   l a b e l s :   n a m e :   f l u e n t d - e l a s t i c s e a r c h   s p e c :   t o l e r a t i o n s :   #   t h e s e   t o l e r a t i o n s   a r e   t o   h a v e   t h e   d a e m o n s e t   r u n n a b l e   o n   c o n t r o l   p l a n e   n o d e s   #   r e m o v e   t h e m   i f   y o u r   c o n t r o l   p l a n e   n o d e s   s h o u l d   n o t   r u n   p o d s   -   k e y :   n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e   o p e r a t o r :   E x i s t s   e f f e c t :   N o S c h e d u l e   -   k e y :   n o d e - r o l e . k u b e r n e t e s . i o / m a s t e r   o p e r a t o r :   E x i s t s   e f f e c t :   N o S c h e d u l e   c o n t a i n e r s :   -   n a m e :   f l u e n t d - e l a s t i c s e a r c h   i m a g e :   q u a y . i o / f l u e n t d _ e l a s t i c s e a r c h / f l u e n t d : v 5 . 0 . 1   r e s o u r c e s :   l i m i t s :   m e m o r y :   2 0 0 M i   r e q u e s t s :   c p u :   1 0 0 m   m e m o r y :   2 0 0 M i   v o l u m e M o u n t s :   -   n a m e :   v a r l o g   m o u n t P a t h :   / v a r / l o g   #   i t   m a y   b e   d e s i r a b l e   t o   s e t   a   h i g h   p r i o r i t y   c l a s s   t o   e n s u r e   t h a t   a   D a e m o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12033"
  },
  {
    "question": "What is Required Fields?",
    "answer": "A s   w i t h   a l l   o t h e r   K u b e r n e t e s   c o n f i g ,   a   D a e m o n S e t   n e e d s   a p i V e r s i o n ,   k i n d ,   a n d   m e t a d a t a   f i e l d s .   F o r   g e n e r a l   i n f o r m a t i o n   a b o u t   w o r k i n g   w i t h   c o n f i g   f i l e s ,   s e e   r u n n i n g   s t a t e l e s s   a p p l i c a t i o n s   a n d   o b j e c t   m a n a g e m e n t   u s i n g   k u b e c t l .   T h e   n a m e   o f   a   D a e m o n S e t   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   A   D a e m o n S e t   a l s o   n e e d s   a   . s p e c   s e c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12034"
  },
  {
    "question": "What is Pod Template?",
    "answer": "T h e   . s p e c . t e m p l a t e   i s   o n e   o f   t h e   r e q u i r e d   f i e l d s   i n   . s p e c .   T h e   . s p e c . t e m p l a t e   i s   a   p o d   t e m p l a t e .   I t   h a s   e x a c t l y   t h e   s a m e   s c h e m a   a s   a   P o d ,   e x c e p t   i t   i s   n e s t e d   a n d   d o e s   n o t   h a v e   a n   a p i V e r s i o n   o r   k i n d .   I n   a d d i t i o n   t o   r e q u i r e d   f i e l d s   f o r   a   P o d ,   a   P o d   t e m p l a t e   i n   a   D a e m o n S e t   h a s   t o   s p e c i f y   a p p r o p r i a t e   l a b e l s   ( s e e   p o d   s e l e c t o r ) .   A   P o d   T e m p l a t e   i n   a   D a e m o n S e t   m u s t   h a v e   a   R e s t a r t P o l i c y   e q u a l   t o   A l w a y s ,   o r   b e   u n s p e c i f i e d ,   w h i c h   d e f a u l t s   t o   A l w a y s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12035"
  },
  {
    "question": "What is Pod Selector?",
    "answer": "T h e   . s p e c . s e l e c t o r   f i e l d   i s   a   p o d   s e l e c t o r .   I t   w o r k s   t h e   s a m e   a s   t h e   . s p e c . s e l e c t o r   o f   a   J o b .   Y o u   m u s t   s p e c i f y   a   p o d   s e l e c t o r   t h a t   m a t c h e s   t h e   l a b e l s   o f   t h e   . s p e c . t e m p l a t e .   A l s o ,   o n c e   a   D a e m o n S e t   i s   c r e a t e d ,   i t s   . s p e c . s e l e c t o r   c a n   n o t   b e   m u t a t e d .   M u t a t i n g   t h e   p o d   s e l e c t o r   c a n   l e a d   t o   t h e   u n i n t e n t i o n a l   o r p h a n i n g   o f   P o d s ,   a n d   i t   w a s   f o u n d   t o   b e   c o n f u s i n g   t o   u s e r s .   T h e   . s p e c . s e l e c t o r   i s   a n   o b j e c t   c o n s i s t i n g   o f   t w o   f i e l d s :   m a t c h L a b e l s   -   w o r k s   t h e   s a m e   a s   t h e   . s p e c . s e l e c t o r   o f   a   R e p l i c a t i o n C o n t r o l l e r . m a t c h E x p r e s s i o n s   -   a l l o w s   t o   b u i l d   m o r e   s o p h i s t i c a t e d   s e l e c t o r s   b y   s p e c i f y i n g   k e y ,   l i s t   o f   v a l u e s   a n d   a n   o p e r a t o r   t h a t   r e l a t e s   t h e   k e y   a n d   v a l u e s .   W h e n   t h e   t w o   a r e   s p e c i f i e d   t h e   r e s u l t   i s   A N D e d .   T h e   . s p e c . s e l e c t o r   m u s t   m a t c h   t h e   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s .   C o n f i g   w i t h   t h e s e   t w o   n o t   m a t c h i n g   w i l l   b e   r e j e c t e d   b y   t h e   A P I .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12036"
  },
  {
    "question": "What is Running Pods on select Nodes?",
    "answer": "I f   y o u   s p e c i f y   a   . s p e c . t e m p l a t e . s p e c . n o d e S e l e c t o r ,   t h e n   t h e   D a e m o n S e t   c o n t r o l l e r   w i l l   c r e a t e   P o d s   o n   n o d e s   w h i c h   m a t c h   t h a t   n o d e   s e l e c t o r .   L i k e w i s e   i f   y o u   s p e c i f y   a   . s p e c . t e m p l a t e . s p e c . a f f i n i t y ,   t h e n   D a e m o n S e t   c o n t r o l l e r   w i l l   c r e a t e   P o d s   o n   n o d e s   w h i c h   m a t c h   t h a t   n o d e   a f f i n i t y .   I f   y o u   d o   n o t   s p e c i f y   e i t h e r ,   t h e n   t h e   D a e m o n S e t   c o n t r o l l e r   w i l l   c r e a t e   P o d s   o n   a l l   n o d e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12037"
  },
  {
    "question": "What is How Daemon Pods are scheduled?",
    "answer": "A   D a e m o n S e t   c a n   b e   u s e d   t o   e n s u r e   t h a t   a l l   e l i g i b l e   n o d e s   r u n   a   c o p y   o f   a   P o d .   T h e   D a e m o n S e t   c o n t r o l l e r   c r e a t e s   a   P o d   f o r   e a c h   e l i g i b l e   n o d e   a n d   a d d s   t h e   s p e c . a f f i n i t y . n o d e A f f i n i t y   f i e l d   o f   t h e   P o d   t o   m a t c h   t h e   t a r g e t   h o s t .   A f t e r   t h e   P o d   i s   c r e a t e d ,   t h e   d e f a u l t   s c h e d u l e r   t y p i c a l l y   t a k e s   o v e r   a n d   t h e n   b i n d s   t h e   P o d   t o   t h e   t a r g e t   h o s t   b y   s e t t i n g   t h e   . s p e c . n o d e N a m e   f i e l d .   I f   t h e   n e w   P o d   c a n n o t   f i t   o n   t h e   n o d e ,   t h e   d e f a u l t   s c h e d u l e r   m a y   p r e e m p t   ( e v i c t )   s o m e   o f   t h e   e x i s t i n g   P o d s   b a s e d   o n   t h e   p r i o r i t y   o f   t h e   n e w   P o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12038"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   u s e r   c a n   s p e c i f y   a   d i f f e r e n t   s c h e d u l e r   f o r   t h e   P o d s   o f   t h e   D a e m o n S e t ,   b y   s e t t i n g   t h e   . s p e c . t e m p l a t e . s p e c . s c h e d u l e r N a m e   f i e l d   o f   t h e   D a e m o n S e t .   T h e   o r i g i n a l   n o d e   a f f i n i t y   s p e c i f i e d   a t   t h e   . s p e c . t e m p l a t e . s p e c . a f f i n i t y . n o d e A f f i n i t y   f i e l d   ( i f   s p e c i f i e d )   i s   t a k e n   i n t o   c o n s i d e r a t i o n   b y   t h e   D a e m o n S e t   c o n t r o l l e r   w h e n   e v a l u a t i n g   t h e   e l i g i b l e   n o d e s ,   b u t   i s   r e p l a c e d   o n   t h e   c r e a t e d   P o d   w i t h   t h e   n o d e   a f f i n i t y   t h a t   m a t c h e s   t h e   n a m e   o f   t h e   e l i g i b l e   n o d e .   n o d e A f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   n o d e S e l e c t o r T e r m s :   -   m a t c h F i e l d s :   -   k e y :   m e t a d a t a . n a m e   o p e r a t o r :   I n   v a l u e s :   -   t a r g e t - h o s t - n a m e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12039"
  },
  {
    "question": "What is Taints and tolerations?",
    "answer": "T h e   D a e m o n S e t   c o n t r o l l e r   a u t o m a t i c a l l y   a d d s   a   s e t   o f   t o l e r a t i o n s   t o   D a e m o n S e t   P o d s :   Y o u   c a n   a d d   y o u r   o w n   t o l e r a t i o n s   t o   t h e   P o d s   o f   a   D a e m o n S e t   a s   w e l l ,   b y   d e f i n i n g   t h e s e   i n   t h e   P o d   t e m p l a t e   o f   t h e   D a e m o n S e t .   B e c a u s e   t h e   D a e m o n S e t   c o n t r o l l e r   s e t s   t h e   n o d e . k u b e r n e t e s . i o / u n s c h e d u l a b l e : N o S c h e d u l e   t o l e r a t i o n   a u t o m a t i c a l l y ,   K u b e r n e t e s   c a n   r u n   D a e m o n S e t   P o d s   o n   n o d e s   t h a t   a r e   m a r k e d   a s   u n s c h e d u l a b l e .   I f   y o u   u s e   a   D a e m o n S e t   t o   p r o v i d e   a n   i m p o r t a n t   n o d e - l e v e l   f u n c t i o n ,   s u c h   a s   c l u s t e r   n e t w o r k i n g ,   i t   i s   h e l p f u l   t h a t   K u b e r n e t e s   p l a c e s   D a e m o n S e t   P o d s   o n   n o d e s   b e f o r e   t h e y   a r e   r e a d y .   F o r   e x a m p l e ,   w i t h o u t   t h a t   s p e c i a l   t o l e r a t i o n ,   y o u   c o u l d   e n d   u p   i n   a   d e a d l o c k   s i t u a t i o n   w h e r e   t h e   n o d e   i s   n o t   m a r k e d   a s   r e a d y   b e c a u s e   t h e   n e t w o r k   p l u g i n   i s   n o t   r u n n i n g   t h e r e ,   a n d   a t   t h e   s a m e   t i m e   t h e   n e t w o r k   p l u g i n   i s   n o t   r u n n i n g   o n   t h a t   n o d e   b e c a u s e   t h e   n o d e   i s   n o t   y e t   r e a d y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12040"
  },
  {
    "question": "What is Communicating with Daemon Pods?",
    "answer": "S o m e   p o s s i b l e   p a t t e r n s   f o r   c o m m u n i c a t i n g   w i t h   P o d s   i n   a   D a e m o n S e t   a r e :   P u s h :   P o d s   i n   t h e   D a e m o n S e t   a r e   c o n f i g u r e d   t o   s e n d   u p d a t e s   t o   a n o t h e r   s e r v i c e ,   s u c h   a s   a   s t a t s   d a t a b a s e .   T h e y   d o   n o t   h a v e   c l i e n t s . N o d e I P   a n d   K n o w n   P o r t :   P o d s   i n   t h e   D a e m o n S e t   c a n   u s e   a   h o s t P o r t ,   s o   t h a t   t h e   p o d s   a r e   r e a c h a b l e   v i a   t h e   n o d e   I P s .   C l i e n t s   k n o w   t h e   l i s t   o f   n o d e   I P s   s o m e h o w ,   a n d   k n o w   t h e   p o r t   b y   c o n v e n t i o n . D N S :   C r e a t e   a   h e a d l e s s   s e r v i c e   w i t h   t h e   s a m e   p o d   s e l e c t o r ,   a n d   t h e n   d i s c o v e r   D a e m o n S e t s   u s i n g   t h e   e n d p o i n t s   r e s o u r c e   o r   r e t r i e v e   m u l t i p l e   A   r e c o r d s   f r o m   D N S . S e r v i c e :   C r e a t e   a   s e r v i c e   w i t h   t h e   s a m e   P o d   s e l e c t o r ,   a n d   u s e   t h e   s e r v i c e   t o   r e a c h   a   d a e m o n   o n   a   r a n d o m   n o d e .   U s e   S e r v i c e   I n t e r n a l   T r a f f i c   P o l i c y   t o   l i m i t   t o   p o d s   o n   t h e   s a m e   n o d e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12041"
  },
  {
    "question": "What is Updating a DaemonSet?",
    "answer": "I f   n o d e   l a b e l s   a r e   c h a n g e d ,   t h e   D a e m o n S e t   w i l l   p r o m p t l y   a d d   P o d s   t o   n e w l y   m a t c h i n g   n o d e s   a n d   d e l e t e   P o d s   f r o m   n e w l y   n o t - m a t c h i n g   n o d e s .   Y o u   c a n   m o d i f y   t h e   P o d s   t h a t   a   D a e m o n S e t   c r e a t e s .   H o w e v e r ,   P o d s   d o   n o t   a l l o w   a l l   f i e l d s   t o   b e   u p d a t e d .   A l s o ,   t h e   D a e m o n S e t   c o n t r o l l e r   w i l l   u s e   t h e   o r i g i n a l   t e m p l a t e   t h e   n e x t   t i m e   a   n o d e   ( e v e n   w i t h   t h e   s a m e   n a m e )   i s   c r e a t e d .   Y o u   c a n   d e l e t e   a   D a e m o n S e t .   I f   y o u   s p e c i f y   - - c a s c a d e = o r p h a n   w i t h   k u b e c t l ,   t h e n   t h e   P o d s   w i l l   b e   l e f t   o n   t h e   n o d e s .   I f   y o u   s u b s e q u e n t l y   c r e a t e   a   n e w   D a e m o n S e t   w i t h   t h e   s a m e   s e l e c t o r ,   t h e   n e w   D a e m o n S e t   a d o p t s   t h e   e x i s t i n g   P o d s .   I f   a n y   P o d s   n e e d   r e p l a c i n g   t h e   D a e m o n S e t   r e p l a c e s   t h e m   a c c o r d i n g   t o   i t s   u p d a t e S t r a t e g y .   Y o u   c a n   p e r f o r m   a   r o l l i n g   u p d a t e   o n   a   D a e m o n S e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12042"
  },
  {
    "question": "What is Init scripts?",
    "answer": "I t   i s   c e r t a i n l y   p o s s i b l e   t o   r u n   d a e m o n   p r o c e s s e s   b y   d i r e c t l y   s t a r t i n g   t h e m   o n   a   n o d e   ( e . g .   u s i n g   i n i t ,   u p s t a r t d ,   o r   s y s t e m d ) .   T h i s   i s   p e r f e c t l y   f i n e .   H o w e v e r ,   t h e r e   a r e   s e v e r a l   a d v a n t a g e s   t o   r u n n i n g   s u c h   p r o c e s s e s   v i a   a   D a e m o n S e t :   A b i l i t y   t o   m o n i t o r   a n d   m a n a g e   l o g s   f o r   d a e m o n s   i n   t h e   s a m e   w a y   a s   a p p l i c a t i o n s . S a m e   c o n f i g   l a n g u a g e   a n d   t o o l s   ( e . g .   P o d   t e m p l a t e s ,   k u b e c t l )   f o r   d a e m o n s   a n d   a p p l i c a t i o n s . R u n n i n g   d a e m o n s   i n   c o n t a i n e r s   w i t h   r e s o u r c e   l i m i t s   i n c r e a s e s   i s o l a t i o n   b e t w e e n   d a e m o n s   f r o m   a p p   c o n t a i n e r s .   H o w e v e r ,   t h i s   c a n   a l s o   b e   a c c o m p l i s h e d   b y   r u n n i n g   t h e   d a e m o n s   i n   a   c o n t a i n e r   b u t   n o t   i n   a   P o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12043"
  },
  {
    "question": "What is Bare Pods?",
    "answer": "I t   i s   p o s s i b l e   t o   c r e a t e   P o d s   d i r e c t l y   w h i c h   s p e c i f y   a   p a r t i c u l a r   n o d e   t o   r u n   o n .   H o w e v e r ,   a   D a e m o n S e t   r e p l a c e s   P o d s   t h a t   a r e   d e l e t e d   o r   t e r m i n a t e d   f o r   a n y   r e a s o n ,   s u c h   a s   i n   t h e   c a s e   o f   n o d e   f a i l u r e   o r   d i s r u p t i v e   n o d e   m a i n t e n a n c e ,   s u c h   a s   a   k e r n e l   u p g r a d e .   F o r   t h i s   r e a s o n ,   y o u   s h o u l d   u s e   a   D a e m o n S e t   r a t h e r   t h a n   c r e a t i n g   i n d i v i d u a l   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12044"
  },
  {
    "question": "What is Static Pods?",
    "answer": "I t   i s   p o s s i b l e   t o   c r e a t e   P o d s   b y   w r i t i n g   a   f i l e   t o   a   c e r t a i n   d i r e c t o r y   w a t c h e d   b y   K u b e l e t .   T h e s e   a r e   c a l l e d   s t a t i c   p o d s .   U n l i k e   D a e m o n S e t ,   s t a t i c   P o d s   c a n n o t   b e   m a n a g e d   w i t h   k u b e c t l   o r   o t h e r   K u b e r n e t e s   A P I   c l i e n t s .   S t a t i c   P o d s   d o   n o t   d e p e n d   o n   t h e   a p i s e r v e r ,   m a k i n g   t h e m   u s e f u l   i n   c l u s t e r   b o o t s t r a p p i n g   c a s e s .   A l s o ,   s t a t i c   P o d s   m a y   b e   d e p r e c a t e d   i n   t h e   f u t u r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12045"
  },
  {
    "question": "What is Deployments?",
    "answer": "D a e m o n S e t s   a r e   s i m i l a r   t o   D e p l o y m e n t s   i n   t h a t   t h e y   b o t h   c r e a t e   P o d s ,   a n d   t h o s e   P o d s   h a v e   p r o c e s s e s   w h i c h   a r e   n o t   e x p e c t e d   t o   t e r m i n a t e   ( e . g .   w e b   s e r v e r s ,   s t o r a g e   s e r v e r s ) .   U s e   a   D e p l o y m e n t   f o r   s t a t e l e s s   s e r v i c e s ,   l i k e   f r o n t e n d s ,   w h e r e   s c a l i n g   u p   a n d   d o w n   t h e   n u m b e r   o f   r e p l i c a s   a n d   r o l l i n g   o u t   u p d a t e s   a r e   m o r e   i m p o r t a n t   t h a n   c o n t r o l l i n g   e x a c t l y   w h i c h   h o s t   t h e   P o d   r u n s   o n .   U s e   a   D a e m o n S e t   w h e n   i t   i s   i m p o r t a n t   t h a t   a   c o p y   o f   a   P o d   a l w a y s   r u n   o n   a l l   o r   c e r t a i n   h o s t s ,   i f   t h e   D a e m o n S e t   p r o v i d e s   n o d e - l e v e l   f u n c t i o n a l i t y   t h a t   a l l o w s   o t h e r   P o d s   t o   r u n   c o r r e c t l y   o n   t h a t   p a r t i c u l a r   n o d e .   F o r   e x a m p l e ,   n e t w o r k   p l u g i n s   o f t e n   i n c l u d e   a   c o m p o n e n t   t h a t   r u n s   a s   a   D a e m o n S e t .   T h e   D a e m o n S e t   c o m p o n e n t   m a k e s   s u r e   t h a t   t h e   n o d e   w h e r e   i t ' s   r u n n i n g   h a s   w o r k i n g   c l u s t e r   n e t w o r k i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12046"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   P o d s . L e a r n   a b o u t   s t a t i c   P o d s ,   w h i c h   a r e   u s e f u l   f o r   r u n n i n g   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t s . F i n d   o u t   h o w   t o   u s e   D a e m o n S e t s P e r f o r m   a   r o l l i n g   u p d a t e   o n   a   D a e m o n S e t P e r f o r m   a   r o l l b a c k   o n   a   D a e m o n S e t   ( f o r   e x a m p l e ,   i f   a   r o l l   o u t   d i d n ' t   w o r k   h o w   y o u   e x p e c t e d ) . U n d e r s t a n d   h o w   K u b e r n e t e s   a s s i g n s   P o d s   t o   N o d e s . L e a r n   a b o u t   d e v i c e   p l u g i n s   a n d   a d d   o n s ,   w h i c h   o f t e n   r u n   a s   D a e m o n S e t s . D a e m o n S e t   i s   a   t o p - l e v e l   r e s o u r c e   i n   t h e   K u b e r n e t e s   R E S T   A P I .   R e a d   t h e   D a e m o n S e t   o b j e c t   d e f i n i t i o n   t o   u n d e r s t a n d   t h e   A P I   f o r   d a e m o n   s e t s .   L e a r n   a b o u t   s t a t i c   P o d s ,   w h i c h   a r e   u s e f u l   f o r   r u n n i n g   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t s .   P e r f o r m   a   r o l l i n g   u p d a t e   o n   a   D a e m o n S e t P e r f o r m   a   r o l l b a c k   o n   a   D a e m o n S e t   ( f o r   e x a m p l e ,   i f   a   r o l l   o u t   d i d n ' t   w o r k   h o w   y o u   e x p e c t e d ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12047"
  },
  {
    "question": "What is 4.2.5 - Jobs?",
    "answer": "A   J o b   c r e a t e s   o n e   o r   m o r e   P o d s   a n d   w i l l   c o n t i n u e   t o   r e t r y   e x e c u t i o n   o f   t h e   P o d s   u n t i l   a   s p e c i f i e d   n u m b e r   o f   t h e m   s u c c e s s f u l l y   t e r m i n a t e .   A s   p o d s   s u c c e s s f u l l y   c o m p l e t e ,   t h e   J o b   t r a c k s   t h e   s u c c e s s f u l   c o m p l e t i o n s .   W h e n   a   s p e c i f i e d   n u m b e r   o f   s u c c e s s f u l   c o m p l e t i o n s   i s   r e a c h e d ,   t h e   t a s k   ( i e ,   J o b )   i s   c o m p l e t e .   D e l e t i n g   a   J o b   w i l l   c l e a n   u p   t h e   P o d s   i t   c r e a t e d .   S u s p e n d i n g   a   J o b   w i l l   d e l e t e   i t s   a c t i v e   P o d s   u n t i l   t h e   J o b   i s   r e s u m e d   a g a i n .   A   s i m p l e   c a s e   i s   t o   c r e a t e   o n e   J o b   o b j e c t   i n   o r d e r   t o   r e l i a b l y   r u n   o n e   P o d   t o   c o m p l e t i o n .   T h e   J o b   o b j e c t   w i l l   s t a r t   a   n e w   P o d   i f   t h e   f i r s t   P o d   f a i l s   o r   i s   d e l e t e d   ( f o r   e x a m p l e   d u e   t o   a   n o d e   h a r d w a r e   f a i l u r e   o r   a   n o d e   r e b o o t ) .   Y o u   c a n   a l s o   u s e   a   J o b   t o   r u n   m u l t i p l e   P o d s   i n   p a r a l l e l .   I f   y o u   w a n t   t o   r u n   a   J o b   ( e i t h e r   a   s i n g l e   t a s k ,   o r   s e v e r a l   i n   p a r a l l e l )   o n   a   s c h e d u l e ,   s e e   C r o n J o b .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12048"
  },
  {
    "question": "What is Running an example Job?",
    "answer": "H e r e   i s   a n   e x a m p l e   J o b   c o n f i g .   I t   c o m p u t e s   π   t o   2 0 0 0   p l a c e s   a n d   p r i n t s   i t   o u t .   I t   t a k e s   a r o u n d   1 0 s   t o   c o m p l e t e .   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   p i   s p e c :   t e m p l a t e :   s p e c :   c o n t a i n e r s :   -   n a m e :   p i   i m a g e :   p e r l : 5 . 3 4 . 0   c o m m a n d :   [ \" p e r l \" ,   \" - M b i g n u m = b p i \" ,   \" - w l e \" ,   \" p r i n t   b p i ( 2 0 0 0 ) \" ]   r e s t a r t P o l i c y :   N e v e r   b a c k o f f L i m i t :   4   Y o u   c a n   r u n   t h e   e x a m p l e   w i t h   t h i s   c o m m a n d :   k u b e c t l   a p p l y   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / c o n t r o l l e r s / j o b . y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   j o b . b a t c h / p i   c r e a t e d   C h e c k   o n   t h e   s t a t u s   o f   t h e   J o b   w i t h   k u b e c t l :   N a m e :   p i   N a m e s p a c e :   d e f a u l t   S e l e c t o r :   b a t c h . k u b e r n e t e s . i o / c o n t r o l l e r - u i d = c 9 9 4 8 3 0 7 - e 5 6 d - 4 b 5 d - 8 3 0 2 - a e 2 d 7 b 7 d a 6 7 c   L a b e l s :   b a t c h . k u b e r n e t e s . i o / c o n t r o l l e r - u i d = c 9 9 4 8 3 0 7 - e 5 6 d - 4 b 5 d - 8 3 0 2 - a e 2 d 7 b 7 d a 6 7 c   b a t c h . k u b e r n e t e s . i o / j o b - n a m e = p i   . . .   A n n o t a t i o n s :   b a t c h . k u b e r n e t e s . i o / j o b - t r a c k i n g :   \" \"   P a r a l l e l i s m :   1   C o m p l e t i o n s :   1   S t a r t   T i m e :   M o n ,   0 2   D e c   2 0 1 9   1 5 : 2 0 : 1 1   + 0 2 0 0   C o m p l e t e d   A t :   M o n ,   0 2   D e c   2 0 1 9   1 5 : 2 1 : 1 6   + 0 2 0 0   D u r a t i o n :   6 5 s   P o d s   S t a t u s e s :   0   R u n n i n g   /   1   S u c c e e d e d   /   0   F a i l e d   P o d   T e m ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12049"
  },
  {
    "question": "What is Writing a Job spec?",
    "answer": "A s   w i t h   a l l   o t h e r   K u b e r n e t e s   c o n f i g ,   a   J o b   n e e d s   a p i V e r s i o n ,   k i n d ,   a n d   m e t a d a t a   f i e l d s .   W h e n   t h e   c o n t r o l   p l a n e   c r e a t e s   n e w   P o d s   f o r   a   J o b ,   t h e   . m e t a d a t a . n a m e   o f   t h e   J o b   i s   p a r t   o f   t h e   b a s i s   f o r   n a m i n g   t h o s e   P o d s .   T h e   n a m e   o f   a   J o b   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   v a l u e ,   b u t   t h i s   c a n   p r o d u c e   u n e x p e c t e d   r e s u l t s   f o r   t h e   P o d   h o s t n a m e s .   F o r   b e s t   c o m p a t i b i l i t y ,   t h e   n a m e   s h o u l d   f o l l o w   t h e   m o r e   r e s t r i c t i v e   r u l e s   f o r   a   D N S   l a b e l .   E v e n   w h e n   t h e   n a m e   i s   a   D N S   s u b d o m a i n ,   t h e   n a m e   m u s t   b e   n o   l o n g e r   t h a n   6 3   c h a r a c t e r s .   A   J o b   a l s o   n e e d s   a   . s p e c   s e c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12050"
  },
  {
    "question": "What is Job Labels?",
    "answer": "J o b   l a b e l s   w i l l   h a v e   b a t c h . k u b e r n e t e s . i o /   p r e f i x   f o r   j o b - n a m e   a n d   c o n t r o l l e r - u i d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12051"
  },
  {
    "question": "What is Pod Template?",
    "answer": "T h e   . s p e c . t e m p l a t e   i s   t h e   o n l y   r e q u i r e d   f i e l d   o f   t h e   . s p e c .   T h e   . s p e c . t e m p l a t e   i s   a   p o d   t e m p l a t e .   I t   h a s   e x a c t l y   t h e   s a m e   s c h e m a   a s   a   P o d ,   e x c e p t   i t   i s   n e s t e d   a n d   d o e s   n o t   h a v e   a n   a p i V e r s i o n   o r   k i n d .   I n   a d d i t i o n   t o   r e q u i r e d   f i e l d s   f o r   a   P o d ,   a   p o d   t e m p l a t e   i n   a   J o b   m u s t   s p e c i f y   a p p r o p r i a t e   l a b e l s   ( s e e   p o d   s e l e c t o r )   a n d   a n   a p p r o p r i a t e   r e s t a r t   p o l i c y .   O n l y   a   R e s t a r t P o l i c y   e q u a l   t o   N e v e r   o r   O n F a i l u r e   i s   a l l o w e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12052"
  },
  {
    "question": "What is Pod selector?",
    "answer": "T h e   . s p e c . s e l e c t o r   f i e l d   i s   o p t i o n a l .   I n   a l m o s t   a l l   c a s e s   y o u   s h o u l d   n o t   s p e c i f y   i t .   S e e   s e c t i o n   s p e c i f y i n g   y o u r   o w n   p o d   s e l e c t o r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12053"
  },
  {
    "question": "What is Parallel execution for Jobs?",
    "answer": "T h e r e   a r e   t h r e e   m a i n   t y p e s   o f   t a s k   s u i t a b l e   t o   r u n   a s   a   J o b :   N o n - p a r a l l e l   J o b s n o r m a l l y ,   o n l y   o n e   P o d   i s   s t a r t e d ,   u n l e s s   t h e   P o d   f a i l s . t h e   J o b   i s   c o m p l e t e   a s   s o o n   a s   i t s   P o d   t e r m i n a t e s   s u c c e s s f u l l y . P a r a l l e l   J o b s   w i t h   a   f i x e d   c o m p l e t i o n   c o u n t : s p e c i f y   a   n o n - z e r o   p o s i t i v e   v a l u e   f o r   . s p e c . c o m p l e t i o n s . t h e   J o b   r e p r e s e n t s   t h e   o v e r a l l   t a s k ,   a n d   i s   c o m p l e t e   w h e n   t h e r e   a r e   . s p e c . c o m p l e t i o n s   s u c c e s s f u l   P o d s . w h e n   u s i n g   . s p e c . c o m p l e t i o n M o d e = \" I n d e x e d \" ,   e a c h   P o d   g e t s   a   d i f f e r e n t   i n d e x   i n   t h e   r a n g e   0   t o   . s p e c . c o m p l e t i o n s - 1 . P a r a l l e l   J o b s   w i t h   a   w o r k   q u e u e : d o   n o t   s p e c i f y   . s p e c . c o m p l e t i o n s ,   d e f a u l t   t o   . s p e c . p a r a l l e l i s m . t h e   P o d s   m u s t   c o o r d i n a t e   a m o n g s t   t h e m s e l v e s   o r   a n   e x t e r n a l   s e r v i c e   t o   d e t e r m i n e   w h a t   e a c h   s h o u l d   w o r k   o n .   F o r   e x a m p l e ,   a   P o d   m i g h t   f e t c h   a   b a t c h   o f   u p   t o   N   i t e m s   f r o m   t h e   w o r k   q u e u e . e a c h   P o d   i s   i n d e p e n d e n t l y   c a p a b l e   o f   d e t e r m i n i n g   w h e t h e r   o r   n o t   a l l   i t s   p e e r s   a r e   d o n e ,   a n d   t h u s   t h a t   t h e   e n t i r e   J o b   i s   d o n e . w h e n   a n y   P o d   f r o m   t h e   J o b   t e r m i n a t e s   w i t h   s u c c e s s ,   n o   n e w   P o d s   a r e   c r e a t e d . o n c e   a t   l e a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12054"
  },
  {
    "question": "What is Controlling parallelism?",
    "answer": "T h e   r e q u e s t e d   p a r a l l e l i s m   ( . s p e c . p a r a l l e l i s m )   c a n   b e   s e t   t o   a n y   n o n - n e g a t i v e   v a l u e .   I f   i t   i s   u n s p e c i f i e d ,   i t   d e f a u l t s   t o   1 .   I f   i t   i s   s p e c i f i e d   a s   0 ,   t h e n   t h e   J o b   i s   e f f e c t i v e l y   p a u s e d   u n t i l   i t   i s   i n c r e a s e d .   A c t u a l   p a r a l l e l i s m   ( n u m b e r   o f   p o d s   r u n n i n g   a t   a n y   i n s t a n t )   m a y   b e   m o r e   o r   l e s s   t h a n   r e q u e s t e d   p a r a l l e l i s m ,   f o r   a   v a r i e t y   o f   r e a s o n s :   F o r   f i x e d   c o m p l e t i o n   c o u n t   J o b s ,   t h e   a c t u a l   n u m b e r   o f   p o d s   r u n n i n g   i n   p a r a l l e l   w i l l   n o t   e x c e e d   t h e   n u m b e r   o f   r e m a i n i n g   c o m p l e t i o n s .   H i g h e r   v a l u e s   o f   . s p e c . p a r a l l e l i s m   a r e   e f f e c t i v e l y   i g n o r e d . F o r   w o r k   q u e u e   J o b s ,   n o   n e w   P o d s   a r e   s t a r t e d   a f t e r   a n y   P o d   h a s   s u c c e e d e d   - -   r e m a i n i n g   P o d s   a r e   a l l o w e d   t o   c o m p l e t e ,   h o w e v e r . I f   t h e   J o b   C o n t r o l l e r   h a s   n o t   h a d   t i m e   t o   r e a c t . I f   t h e   J o b   c o n t r o l l e r   f a i l e d   t o   c r e a t e   P o d s   f o r   a n y   r e a s o n   ( l a c k   o f   R e s o u r c e Q u o t a ,   l a c k   o f   p e r m i s s i o n ,   e t c . ) ,   t h e n   t h e r e   m a y   b e   f e w e r   p o d s   t h a n   r e q u e s t e d . T h e   J o b   c o n t r o l l e r   m a y   t h r o t t l e   n e w   P o d   c r e a t i o n   d u e   t o   e x c e s s i v e   p r e v i o u s   p o d   f a i l u r e s   i n   t h e   s a m e   J o b . W h e n   a   P o d   i s   g r a c e f u l l y   s h u t   d o w n ,   i t   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12055"
  },
  {
    "question": "What is Completion mode?",
    "answer": "J o b s   w i t h   f i x e d   c o m p l e t i o n   c o u n t   -   t h a t   i s ,   j o b s   t h a t   h a v e   n o n   n u l l   . s p e c . c o m p l e t i o n s   -   c a n   h a v e   a   c o m p l e t i o n   m o d e   t h a t   i s   s p e c i f i e d   i n   . s p e c . c o m p l e t i o n M o d e :   N o n I n d e x e d   ( d e f a u l t ) :   t h e   J o b   i s   c o n s i d e r e d   c o m p l e t e   w h e n   t h e r e   h a v e   b e e n   . s p e c . c o m p l e t i o n s   s u c c e s s f u l l y   c o m p l e t e d   P o d s .   I n   o t h e r   w o r d s ,   e a c h   P o d   c o m p l e t i o n   i s   h o m o l o g o u s   t o   e a c h   o t h e r .   N o t e   t h a t   J o b s   t h a t   h a v e   n u l l   . s p e c . c o m p l e t i o n s   a r e   i m p l i c i t l y   N o n I n d e x e d . I n d e x e d :   t h e   P o d s   o f   a   J o b   g e t   a n   a s s o c i a t e d   c o m p l e t i o n   i n d e x   f r o m   0   t o   . s p e c . c o m p l e t i o n s - 1 .   T h e   i n d e x   i s   a v a i l a b l e   t h r o u g h   f o u r   m e c h a n i s m s : T h e   P o d   a n n o t a t i o n   b a t c h . k u b e r n e t e s . i o / j o b - c o m p l e t i o n - i n d e x . T h e   P o d   l a b e l   b a t c h . k u b e r n e t e s . i o / j o b - c o m p l e t i o n - i n d e x   ( f o r   v 1 . 2 8   a n d   l a t e r ) .   N o t e   t h e   f e a t u r e   g a t e   P o d I n d e x L a b e l   m u s t   b e   e n a b l e d   t o   u s e   t h i s   l a b e l ,   a n d   i t   i s   e n a b l e d   b y   d e f a u l t . A s   p a r t   o f   t h e   P o d   h o s t n a m e ,   f o l l o w i n g   t h e   p a t t e r n   $ ( j o b - n a m e ) - $ ( i n d e x ) .   W h e n   y o u   u s e   a n   I n d e x e d   J o b   i n   c o m b i n a t i o n   w i t h   a   S e r v i c e ,   P o d s   w i t h i n   t h e   J o b   c a n   u s e   t h e   d e t e r m i n i s t i c   h o s t n a m e s   t o   a d d r e s s   e a c h   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12056"
  },
  {
    "question": "What is Handling Pod and container failures?",
    "answer": "A   c o n t a i n e r   i n   a   P o d   m a y   f a i l   f o r   a   n u m b e r   o f   r e a s o n s ,   s u c h   a s   b e c a u s e   t h e   p r o c e s s   i n   i t   e x i t e d   w i t h   a   n o n - z e r o   e x i t   c o d e ,   o r   t h e   c o n t a i n e r   w a s   k i l l e d   f o r   e x c e e d i n g   a   m e m o r y   l i m i t ,   e t c .   I f   t h i s   h a p p e n s ,   a n d   t h e   . s p e c . t e m p l a t e . s p e c . r e s t a r t P o l i c y   =   \" O n F a i l u r e \" ,   t h e n   t h e   P o d   s t a y s   o n   t h e   n o d e ,   b u t   t h e   c o n t a i n e r   i s   r e - r u n .   T h e r e f o r e ,   y o u r   p r o g r a m   n e e d s   t o   h a n d l e   t h e   c a s e   w h e n   i t   i s   r e s t a r t e d   l o c a l l y ,   o r   e l s e   s p e c i f y   . s p e c . t e m p l a t e . s p e c . r e s t a r t P o l i c y   =   \" N e v e r \" .   S e e   p o d   l i f e c y c l e   f o r   m o r e   i n f o r m a t i o n   o n   r e s t a r t P o l i c y .   A n   e n t i r e   P o d   c a n   a l s o   f a i l ,   f o r   a   n u m b e r   o f   r e a s o n s ,   s u c h   a s   w h e n   t h e   p o d   i s   k i c k e d   o f f   t h e   n o d e   ( n o d e   i s   u p g r a d e d ,   r e b o o t e d ,   d e l e t e d ,   e t c . ) ,   o r   i f   a   c o n t a i n e r   o f   t h e   P o d   f a i l s   a n d   t h e   . s p e c . t e m p l a t e . s p e c . r e s t a r t P o l i c y   =   \" N e v e r \" .   W h e n   a   P o d   f a i l s ,   t h e n   t h e   J o b   c o n t r o l l e r   s t a r t s   a   n e w   P o d .   T h i s   m e a n s   t h a t   y o u r   a p p l i c a t i o n   n e e d s   t o   h a n d l e   t h e   c a s e   w h e n   i t   i s   r e s t a r t e d   i n   a   n e w   p o d .   I n   p a r t i c u l a r ,   i t   n e e d s   t o   h a n d l e   t e m p o r a r y   f i l e s ,   l o c k s ,   i n c o m p l e t e   o u t p u t   a n d   t h e   l i k e   c a u s e d   b y ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12057"
  },
  {
    "question": "What is Pod backoff failure policy?",
    "answer": "T h e r e   a r e   s i t u a t i o n s   w h e r e   y o u   w a n t   t o   f a i l   a   J o b   a f t e r   s o m e   a m o u n t   o f   r e t r i e s   d u e   t o   a   l o g i c a l   e r r o r   i n   c o n f i g u r a t i o n   e t c .   T o   d o   s o ,   s e t   . s p e c . b a c k o f f L i m i t   t o   s p e c i f y   t h e   n u m b e r   o f   r e t r i e s   b e f o r e   c o n s i d e r i n g   a   J o b   a s   f a i l e d .   T h e   . s p e c . b a c k o f f L i m i t   i s   s e t   b y   d e f a u l t   t o   6 ,   u n l e s s   t h e   b a c k o f f   l i m i t   p e r   i n d e x   ( o n l y   I n d e x e d   J o b )   i s   s p e c i f i e d .   W h e n   . s p e c . b a c k o f f L i m i t P e r I n d e x   i s   s p e c i f i e d ,   t h e n   . s p e c . b a c k o f f L i m i t   d e f a u l t s   t o   2 1 4 7 4 8 3 6 4 7   ( M a x I n t 3 2 ) .   F a i l e d   P o d s   a s s o c i a t e d   w i t h   t h e   J o b   a r e   r e c r e a t e d   b y   t h e   J o b   c o n t r o l l e r   w i t h   a n   e x p o n e n t i a l   b a c k - o f f   d e l a y   ( 1 0 s ,   2 0 s ,   4 0 s   . . . )   c a p p e d   a t   s i x   m i n u t e s .   T h e   n u m b e r   o f   r e t r i e s   i s   c a l c u l a t e d   i n   t w o   w a y s :   T h e   n u m b e r   o f   P o d s   w i t h   . s t a t u s . p h a s e   =   \" F a i l e d \" . W h e n   u s i n g   r e s t a r t P o l i c y   =   \" O n F a i l u r e \" ,   t h e   n u m b e r   o f   r e t r i e s   i n   a l l   t h e   c o n t a i n e r s   o f   P o d s   w i t h   . s t a t u s . p h a s e   e q u a l   t o   P e n d i n g   o r   R u n n i n g .   I f   e i t h e r   o f   t h e   c a l c u l a t i o n s   r e a c h e s   t h e   . s p e c . b a c k o f f L i m i t ,   t h e   J o b   i s   c o n s i d e r e d   f a i l e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12058"
  },
  {
    "question": "What is Backoff limit per index?",
    "answer": "W h e n   y o u   r u n   a n   i n d e x e d   J o b ,   y o u   c a n   c h o o s e   t o   h a n d l e   r e t r i e s   f o r   p o d   f a i l u r e s   i n d e p e n d e n t l y   f o r   e a c h   i n d e x .   T o   d o   s o ,   s e t   t h e   . s p e c . b a c k o f f L i m i t P e r I n d e x   t o   s p e c i f y   t h e   m a x i m a l   n u m b e r   o f   p o d   f a i l u r e s   p e r   i n d e x .   W h e n   t h e   p e r - i n d e x   b a c k o f f   l i m i t   i s   e x c e e d e d   f o r   a n   i n d e x ,   K u b e r n e t e s   c o n s i d e r s   t h e   i n d e x   a s   f a i l e d   a n d   a d d s   i t   t o   t h e   . s t a t u s . f a i l e d I n d e x e s   f i e l d .   T h e   s u c c e e d e d   i n d e x e s ,   t h o s e   w i t h   a   s u c c e s s f u l l y   e x e c u t e d   p o d s ,   a r e   r e c o r d e d   i n   t h e   . s t a t u s . c o m p l e t e d I n d e x e s   f i e l d ,   r e g a r d l e s s   o f   w h e t h e r   y o u   s e t   t h e   b a c k o f f L i m i t P e r I n d e x   f i e l d .   N o t e   t h a t   a   f a i l i n g   i n d e x   d o e s   n o t   i n t e r r u p t   e x e c u t i o n   o f   o t h e r   i n d e x e s .   O n c e   a l l   i n d e x e s   f i n i s h   f o r   a   J o b   w h e r e   y o u   s p e c i f i e d   a   b a c k o f f   l i m i t   p e r   i n d e x ,   i f   a t   l e a s t   o n e   o f   t h o s e   i n d e x e s   d i d   f a i l ,   t h e   J o b   c o n t r o l l e r   m a r k s   t h e   o v e r a l l   J o b   a s   f a i l e d ,   b y   s e t t i n g   t h e   F a i l e d   c o n d i t i o n   i n   t h e   s t a t u s .   T h e   J o b   g e t s   m a r k e d   a s   f a i l e d   e v e n   i f   s o m e ,   p o t e n t i a l l y   n e a r l y   a l l ,   o f   t h e   i n d e x e s   w e r e   p r o c e s s e d   s u c c e s s f u l l y .   Y o u   c a n   a d d i t i o n a l l y   l i m i t   t h e   m a x i m a l   n u m b e r   o f   i n d e x e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12059"
  },
  {
    "question": "What is Pod failure policy?",
    "answer": "A   P o d   f a i l u r e   p o l i c y ,   d e f i n e d   w i t h   t h e   . s p e c . p o d F a i l u r e P o l i c y   f i e l d ,   e n a b l e s   y o u r   c l u s t e r   t o   h a n d l e   P o d   f a i l u r e s   b a s e d   o n   t h e   c o n t a i n e r   e x i t   c o d e s   a n d   t h e   P o d   c o n d i t i o n s .   I n   s o m e   s i t u a t i o n s ,   y o u   m a y   w a n t   t o   h a v e   a   b e t t e r   c o n t r o l   w h e n   h a n d l i n g   P o d   f a i l u r e s   t h a n   t h e   c o n t r o l   p r o v i d e d   b y   t h e   P o d   b a c k o f f   f a i l u r e   p o l i c y ,   w h i c h   i s   b a s e d   o n   t h e   J o b ' s   . s p e c . b a c k o f f L i m i t .   T h e s e   a r e   s o m e   e x a m p l e s   o f   u s e   c a s e s :   T o   o p t i m i z e   c o s t s   o f   r u n n i n g   w o r k l o a d s   b y   a v o i d i n g   u n n e c e s s a r y   P o d   r e s t a r t s ,   y o u   c a n   t e r m i n a t e   a   J o b   a s   s o o n   a s   o n e   o f   i t s   P o d s   f a i l s   w i t h   a n   e x i t   c o d e   i n d i c a t i n g   a   s o f t w a r e   b u g . T o   g u a r a n t e e   t h a t   y o u r   J o b   f i n i s h e s   e v e n   i f   t h e r e   a r e   d i s r u p t i o n s ,   y o u   c a n   i g n o r e   P o d   f a i l u r e s   c a u s e d   b y   d i s r u p t i o n s   ( s u c h   a s   p r e e m p t i o n ,   A P I - i n i t i a t e d   e v i c t i o n   o r   t a i n t - b a s e d   e v i c t i o n )   s o   t h a t   t h e y   d o n ' t   c o u n t   t o w a r d s   t h e   . s p e c . b a c k o f f L i m i t   l i m i t   o f   r e t r i e s .   Y o u   c a n   c o n f i g u r e   a   P o d   f a i l u r e   p o l i c y ,   i n   t h e   . s p e c . p o d F a i l u r e P o l i c y   f i e l d ,   t o   m e e t   t h e   a b o v e   u s e   c a s e s .   T h i s   p o l i c y   c a n   h a n d l e   P o d   f a i l u r e s   b a s e d   o n   t h e   c o n t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12060"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   s e c o n d   r u l e   o f   t h e   P o d   f a i l u r e   p o l i c y ,   s p e c i f y i n g   t h e   I g n o r e   a c t i o n   f o r   f a i l e d   P o d s   w i t h   c o n d i t i o n   D i s r u p t i o n T a r g e t   e x c l u d e s   P o d   d i s r u p t i o n s   f r o m   b e i n g   c o u n t e d   t o w a r d s   t h e   . s p e c . b a c k o f f L i m i t   l i m i t   o f   r e t r i e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12061"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e s e   a r e   s o m e   r e q u i r e m e n t s   a n d   s e m a n t i c s   o f   t h e   A P I :   i f   y o u   w a n t   t o   u s e   a   . s p e c . p o d F a i l u r e P o l i c y   f i e l d   f o r   a   J o b ,   y o u   m u s t   a l s o   d e f i n e   t h a t   J o b ' s   p o d   t e m p l a t e   w i t h   . s p e c . r e s t a r t P o l i c y   s e t   t o   N e v e r . t h e   P o d   f a i l u r e   p o l i c y   r u l e s   y o u   s p e c i f y   u n d e r   s p e c . p o d F a i l u r e P o l i c y . r u l e s   a r e   e v a l u a t e d   i n   o r d e r .   O n c e   a   r u l e   m a t c h e s   a   P o d   f a i l u r e ,   t h e   r e m a i n i n g   r u l e s   a r e   i g n o r e d .   W h e n   n o   r u l e   m a t c h e s   t h e   P o d   f a i l u r e ,   t h e   d e f a u l t   h a n d l i n g   a p p l i e s . y o u   m a y   w a n t   t o   r e s t r i c t   a   r u l e   t o   a   s p e c i f i c   c o n t a i n e r   b y   s p e c i f y i n g   i t s   n a m e   i n s p e c . p o d F a i l u r e P o l i c y . r u l e s [ * ] . o n E x i t C o d e s . c o n t a i n e r N a m e .   W h e n   n o t   s p e c i f i e d   t h e   r u l e   a p p l i e s   t o   a l l   c o n t a i n e r s .   W h e n   s p e c i f i e d ,   i t   s h o u l d   m a t c h   o n e   t h e   c o n t a i n e r   o r   i n i t C o n t a i n e r   n a m e s   i n   t h e   P o d   t e m p l a t e . y o u   m a y   s p e c i f y   t h e   a c t i o n   t a k e n   w h e n   a   P o d   f a i l u r e   p o l i c y   i s   m a t c h e d   b y   s p e c . p o d F a i l u r e P o l i c y . r u l e s [ * ] . a c t i o n .   P o s s i b l e   v a l u e s   a r e : F a i l J o b :   u s e   t o   i n d i c a t e   t h a t   t h e   P o d ' s   j o b   s h o u l d   b e   m a r k e d   a s   F a i l e d   a n d   a l l   r u n n i n g   P o d s   s h o u l d   b e   t e r m i n a t e d . I g n o r e :   u s e   t o   i n d i c a t e   t h a t   t h e   c o u ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12062"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   y o u   u s e   t h e   p o d F a i l u r e P o l i c y ,   a n d   t h e   J o b   f a i l s   d u e   t o   t h e   p o d   m a t c h i n g   t h e   r u l e   w i t h   t h e   F a i l J o b   a c t i o n ,   t h e n   t h e   J o b   c o n t r o l l e r   t r i g g e r s   t h e   J o b   t e r m i n a t i o n   p r o c e s s   b y   a d d i n g   t h e   F a i l u r e T a r g e t   c o n d i t i o n .   F o r   m o r e   d e t a i l s ,   s e e   J o b   t e r m i n a t i o n   a n d   c l e a n u p .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12063"
  },
  {
    "question": "What is Success policy?",
    "answer": "W h e n   c r e a t i n g   a n   I n d e x e d   J o b ,   y o u   c a n   d e f i n e   w h e n   a   J o b   c a n   b e   d e c l a r e d   a s   s u c c e e d e d   u s i n g   a   . s p e c . s u c c e s s P o l i c y ,   b a s e d   o n   t h e   p o d s   t h a t   s u c c e e d e d .   B y   d e f a u l t ,   a   J o b   s u c c e e d s   w h e n   t h e   n u m b e r   o f   s u c c e e d e d   P o d s   e q u a l s   . s p e c . c o m p l e t i o n s .   T h e s e   a r e   s o m e   s i t u a t i o n s   w h e r e   y o u   m i g h t   w a n t   a d d i t i o n a l   c o n t r o l   f o r   d e c l a r i n g   a   J o b   s u c c e e d e d :   W h e n   r u n n i n g   s i m u l a t i o n s   w i t h   d i f f e r e n t   p a r a m e t e r s ,   y o u   m i g h t   n o t   n e e d   a l l   t h e   s i m u l a t i o n s   t o   s u c c e e d   f o r   t h e   o v e r a l l   J o b   t o   b e   s u c c e s s f u l . W h e n   f o l l o w i n g   a   l e a d e r - w o r k e r   p a t t e r n ,   o n l y   t h e   s u c c e s s   o f   t h e   l e a d e r   d e t e r m i n e s   t h e   s u c c e s s   o r   f a i l u r e   o f   a   J o b .   E x a m p l e s   o f   t h i s   a r e   f r a m e w o r k s   l i k e   M P I   a n d   P y T o r c h   e t c .   Y o u   c a n   c o n f i g u r e   a   s u c c e s s   p o l i c y ,   i n   t h e   . s p e c . s u c c e s s P o l i c y   f i e l d ,   t o   m e e t   t h e   a b o v e   u s e   c a s e s .   T h i s   p o l i c y   c a n   h a n d l e   J o b   s u c c e s s   b a s e d   o n   t h e   s u c c e e d e d   p o d s .   A f t e r   t h e   J o b   m e e t s   t h e   s u c c e s s   p o l i c y ,   t h e   j o b   c o n t r o l l e r   t e r m i n a t e s   t h e   l i n g e r i n g   P o d s .   A   s u c c e s s   p o l i c y   i s   d e f i n e d   b y   r u l e s .   E a c h   r u l e   c a n   t a k e   o n e   o f   t h e   f o l l o w i n g   f o r m s :   W h e n   y o u   s p e c i f y   t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12064"
  },
  {
    "question": "What is Job termination and cleanup?",
    "answer": "W h e n   a   J o b   c o m p l e t e s ,   n o   m o r e   P o d s   a r e   c r e a t e d ,   b u t   t h e   P o d s   a r e   u s u a l l y   n o t   d e l e t e d   e i t h e r .   K e e p i n g   t h e m   a r o u n d   a l l o w s   y o u   t o   s t i l l   v i e w   t h e   l o g s   o f   c o m p l e t e d   p o d s   t o   c h e c k   f o r   e r r o r s ,   w a r n i n g s ,   o r   o t h e r   d i a g n o s t i c   o u t p u t .   T h e   j o b   o b j e c t   a l s o   r e m a i n s   a f t e r   i t   i s   c o m p l e t e d   s o   t h a t   y o u   c a n   v i e w   i t s   s t a t u s .   I t   i s   u p   t o   t h e   u s e r   t o   d e l e t e   o l d   j o b s   a f t e r   n o t i n g   t h e i r   s t a t u s .   D e l e t e   t h e   j o b   w i t h   k u b e c t l   ( e . g .   k u b e c t l   d e l e t e   j o b s / p i   o r   k u b e c t l   d e l e t e   - f   . / j o b . y a m l ) .   W h e n   y o u   d e l e t e   t h e   j o b   u s i n g   k u b e c t l ,   a l l   t h e   p o d s   i t   c r e a t e d   a r e   d e l e t e d   t o o .   B y   d e f a u l t ,   a   J o b   w i l l   r u n   u n i n t e r r u p t e d   u n l e s s   a   P o d   f a i l s   ( r e s t a r t P o l i c y = N e v e r )   o r   a   C o n t a i n e r   e x i t s   i n   e r r o r   ( r e s t a r t P o l i c y = O n F a i l u r e ) ,   a t   w h i c h   p o i n t   t h e   J o b   d e f e r s   t o   t h e   . s p e c . b a c k o f f L i m i t   d e s c r i b e d   a b o v e .   O n c e   . s p e c . b a c k o f f L i m i t   h a s   b e e n   r e a c h e d   t h e   J o b   w i l l   b e   m a r k e d   a s   f a i l e d   a n d   a n y   r u n n i n g   P o d s   w i l l   b e   t e r m i n a t e d .   A n o t h e r   w a y   t o   t e r m i n a t e   a   J o b   i s   b y   s e t t i n g   a n   a c t i v e   d e a d l i n e .   D o   t h i s   b y   s e t t i n g   t h e   . s p e c . a c t i v e D e a d l i n e S e c o n d s   f i e l d   o f   t h e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12065"
  },
  {
    "question": "What is Terminal Job conditions?",
    "answer": "A   J o b   h a s   t w o   p o s s i b l e   t e r m i n a l   s t a t e s ,   e a c h   o f   w h i c h   h a s   a   c o r r e s p o n d i n g   J o b   c o n d i t i o n :   S u c c e e d e d :   J o b   c o n d i t i o n   C o m p l e t e F a i l e d :   J o b   c o n d i t i o n   F a i l e d   J o b s   f a i l   f o r   t h e   f o l l o w i n g   r e a s o n s :   T h e   n u m b e r   o f   P o d   f a i l u r e s   e x c e e d e d   t h e   s p e c i f i e d   . s p e c . b a c k o f f L i m i t   i n   t h e   J o b   s p e c i f i c a t i o n .   F o r   d e t a i l s ,   s e e   P o d   b a c k o f f   f a i l u r e   p o l i c y . T h e   J o b   r u n t i m e   e x c e e d e d   t h e   s p e c i f i e d   . s p e c . a c t i v e D e a d l i n e S e c o n d s A n   i n d e x e d   J o b   t h a t   u s e d   . s p e c . b a c k o f f L i m i t P e r I n d e x   h a s   f a i l e d   i n d e x e s .   F o r   d e t a i l s ,   s e e   B a c k o f f   l i m i t   p e r   i n d e x . T h e   n u m b e r   o f   f a i l e d   i n d e x e s   i n   t h e   J o b   e x c e e d e d   t h e   s p e c i f i e d   s p e c . m a x F a i l e d I n d e x e s .   F o r   d e t a i l s ,   s e e   B a c k o f f   l i m i t   p e r   i n d e x A   f a i l e d   P o d   m a t c h e s   a   r u l e   i n   . s p e c . p o d F a i l u r e P o l i c y   t h a t   h a s   t h e   F a i l J o b   a c t i o n .   F o r   d e t a i l s   a b o u t   h o w   P o d   f a i l u r e   p o l i c y   r u l e s   m i g h t   a f f e c t   f a i l u r e   e v a l u a t i o n ,   s e e   P o d   f a i l u r e   p o l i c y .   J o b s   s u c c e e d   f o r   t h e   f o l l o w i n g   r e a s o n s :   T h e   n u m b e r   o f   s u c c e e d e d   P o d s   r e a c h e d   t h e   s p e c i f i e d   . s p e c . c o m p l e t i o n s T h e   c r i t e r i a   s p e c i f i e d   i n   . s p e c . s u c c e s s P o l i c y   a r e   m e t .   F o r   d e t a i l s ,   s e e   S ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12066"
  },
  {
    "question": "What is Termination of Job pods?",
    "answer": "T h e   J o b   c o n t r o l l e r   a d d s   t h e   F a i l u r e T a r g e t   c o n d i t i o n   o r   t h e   S u c c e s s C r i t e r i a M e t   c o n d i t i o n   t o   t h e   J o b   t o   t r i g g e r   P o d   t e r m i n a t i o n   a f t e r   a   J o b   m e e t s   e i t h e r   t h e   s u c c e s s   o r   f a i l u r e   c r i t e r i a .   F a c t o r s   l i k e   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   m i g h t   i n c r e a s e   t h e   a m o u n t   o f   t i m e   f r o m   t h e   m o m e n t   t h a t   t h e   J o b   c o n t r o l l e r   a d d s   t h e   F a i l u r e T a r g e t   c o n d i t i o n   o r   t h e   S u c c e s s C r i t e r i a M e t   c o n d i t i o n   t o   t h e   m o m e n t   t h a t   a l l   o f   t h e   J o b   P o d s   t e r m i n a t e   a n d   t h e   J o b   c o n t r o l l e r   a d d s   a   t e r m i n a l   c o n d i t i o n   ( F a i l e d   o r   C o m p l e t e ) .   Y o u   c a n   u s e   t h e   F a i l u r e T a r g e t   o r   t h e   S u c c e s s C r i t e r i a M e t   c o n d i t i o n   t o   e v a l u a t e   w h e t h e r   t h e   J o b   h a s   f a i l e d   o r   s u c c e e d e d   w i t h o u t   h a v i n g   t o   w a i t   f o r   t h e   c o n t r o l l e r   t o   a d d   a   t e r m i n a l   c o n d i t i o n .   F o r   e x a m p l e ,   y o u   m i g h t   w a n t   t o   d e c i d e   w h e n   t o   c r e a t e   a   r e p l a c e m e n t   J o b   t h a t   r e p l a c e s   a   f a i l e d   J o b .   I f   y o u   r e p l a c e   t h e   f a i l e d   J o b   w h e n   t h e   F a i l u r e T a r g e t   c o n d i t i o n   a p p e a r s ,   y o u r   r e p l a c e m e n t   J o b   r u n s   s o o n e r ,   b u t   c o u l d   r e s u l t   i n   P o d s   f r o m   t h e   f a i l e d   a n d   t h e   r e p l a c e m e n t   J o b   r u n n i n g   a t   t h e   s a m e   t i m e ,   u s i n g   e x t r a   c o m p u t e   r e s o u ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12067"
  },
  {
    "question": "What is Clean up finished jobs automatically?",
    "answer": "F i n i s h e d   J o b s   a r e   u s u a l l y   n o   l o n g e r   n e e d e d   i n   t h e   s y s t e m .   K e e p i n g   t h e m   a r o u n d   i n   t h e   s y s t e m   w i l l   p u t   p r e s s u r e   o n   t h e   A P I   s e r v e r .   I f   t h e   J o b s   a r e   m a n a g e d   d i r e c t l y   b y   a   h i g h e r   l e v e l   c o n t r o l l e r ,   s u c h   a s   C r o n J o b s ,   t h e   J o b s   c a n   b e   c l e a n e d   u p   b y   C r o n J o b s   b a s e d   o n   t h e   s p e c i f i e d   c a p a c i t y - b a s e d   c l e a n u p   p o l i c y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12068"
  },
  {
    "question": "What is TTL mechanism for finished Jobs?",
    "answer": "A n o t h e r   w a y   t o   c l e a n   u p   f i n i s h e d   J o b s   ( e i t h e r   C o m p l e t e   o r   F a i l e d )   a u t o m a t i c a l l y   i s   t o   u s e   a   T T L   m e c h a n i s m   p r o v i d e d   b y   a   T T L   c o n t r o l l e r   f o r   f i n i s h e d   r e s o u r c e s ,   b y   s p e c i f y i n g   t h e   . s p e c . t t l S e c o n d s A f t e r F i n i s h e d   f i e l d   o f   t h e   J o b .   W h e n   t h e   T T L   c o n t r o l l e r   c l e a n s   u p   t h e   J o b ,   i t   w i l l   d e l e t e   t h e   J o b   c a s c a d i n g l y ,   i . e .   d e l e t e   i t s   d e p e n d e n t   o b j e c t s ,   s u c h   a s   P o d s ,   t o g e t h e r   w i t h   t h e   J o b .   N o t e   t h a t   w h e n   t h e   J o b   i s   d e l e t e d ,   i t s   l i f e c y c l e   g u a r a n t e e s ,   s u c h   a s   f i n a l i z e r s ,   w i l l   b e   h o n o r e d .   F o r   e x a m p l e :   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   p i - w i t h - t t l   s p e c :   t t l S e c o n d s A f t e r F i n i s h e d :   1 0 0   t e m p l a t e :   s p e c :   c o n t a i n e r s :   -   n a m e :   p i   i m a g e :   p e r l : 5 . 3 4 . 0   c o m m a n d :   [ \" p e r l \" ,   \" - M b i g n u m = b p i \" ,   \" - w l e \" ,   \" p r i n t   b p i ( 2 0 0 0 ) \" ]   r e s t a r t P o l i c y :   N e v e r   T h e   J o b   p i - w i t h - t t l   w i l l   b e   e l i g i b l e   t o   b e   a u t o m a t i c a l l y   d e l e t e d ,   1 0 0   s e c o n d s   a f t e r   i t   f i n i s h e s .   I f   t h e   f i e l d   i s   s e t   t o   0 ,   t h e   J o b   w i l l   b e   e l i g i b l e   t o   b e   a u t o m a t i c a l l y   d e l e t e d   i m m e d i a t e l y   a f t e r   i t   f i n i s h e s .   I f   t h e   f i e l d   i s   u n s e t ,   t h i s   J o b   w o n ' t   b e   c l e a n e d   u p   b y   t h e   T T L   c o n t r o l l e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12069"
  },
  {
    "question": "What is Note:?",
    "answer": "I t   i s   r e c o m m e n d e d   t o   s e t   t t l S e c o n d s A f t e r F i n i s h e d   f i e l d   b e c a u s e   u n m a n a g e d   j o b s   ( J o b s   t h a t   y o u   c r e a t e d   d i r e c t l y ,   a n d   n o t   i n d i r e c t l y   t h r o u g h   o t h e r   w o r k l o a d   A P I s   s u c h   a s   C r o n J o b )   h a v e   a   d e f a u l t   d e l e t i o n   p o l i c y   o f   o r p h a n D e p e n d e n t s   c a u s i n g   P o d s   c r e a t e d   b y   a n   u n m a n a g e d   J o b   t o   b e   l e f t   a r o u n d   a f t e r   t h a t   J o b   i s   f u l l y   d e l e t e d .   E v e n   t h o u g h   t h e   c o n t r o l   p l a n e   e v e n t u a l l y   g a r b a g e   c o l l e c t s   t h e   P o d s   f r o m   a   d e l e t e d   J o b   a f t e r   t h e y   e i t h e r   f a i l   o r   c o m p l e t e ,   s o m e t i m e s   t h o s e   l i n g e r i n g   p o d s   m a y   c a u s e   c l u s t e r   p e r f o r m a n c e   d e g r a d a t i o n   o r   i n   w o r s t   c a s e   c a u s e   t h e   c l u s t e r   t o   g o   o f f l i n e   d u e   t o   t h i s   d e g r a d a t i o n .   Y o u   c a n   u s e   L i m i t R a n g e s   a n d   R e s o u r c e Q u o t a s   t o   p l a c e   a   c a p   o n   t h e   a m o u n t   o f   r e s o u r c e s   t h a t   a   p a r t i c u l a r   n a m e s p a c e   c a n   c o n s u m e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12070"
  },
  {
    "question": "What is Job patterns?",
    "answer": "T h e   J o b   o b j e c t   c a n   b e   u s e d   t o   p r o c e s s   a   s e t   o f   i n d e p e n d e n t   b u t   r e l a t e d   w o r k   i t e m s .   T h e s e   m i g h t   b e   e m a i l s   t o   b e   s e n t ,   f r a m e s   t o   b e   r e n d e r e d ,   f i l e s   t o   b e   t r a n s c o d e d ,   r a n g e s   o f   k e y s   i n   a   N o S Q L   d a t a b a s e   t o   s c a n ,   a n d   s o   o n .   I n   a   c o m p l e x   s y s t e m ,   t h e r e   m a y   b e   m u l t i p l e   d i f f e r e n t   s e t s   o f   w o r k   i t e m s .   H e r e   w e   a r e   j u s t   c o n s i d e r i n g   o n e   s e t   o f   w o r k   i t e m s   t h a t   t h e   u s e r   w a n t s   t o   m a n a g e   t o g e t h e r   —   a   b a t c h   j o b .   T h e r e   a r e   s e v e r a l   d i f f e r e n t   p a t t e r n s   f o r   p a r a l l e l   c o m p u t a t i o n ,   e a c h   w i t h   s t r e n g t h s   a n d   w e a k n e s s e s .   T h e   t r a d e o f f s   a r e :   O n e   J o b   o b j e c t   f o r   e a c h   w o r k   i t e m ,   v e r s u s   a   s i n g l e   J o b   o b j e c t   f o r   a l l   w o r k   i t e m s .   O n e   J o b   p e r   w o r k   i t e m   c r e a t e s   s o m e   o v e r h e a d   f o r   t h e   u s e r   a n d   f o r   t h e   s y s t e m   t o   m a n a g e   l a r g e   n u m b e r s   o f   J o b   o b j e c t s .   A   s i n g l e   J o b   f o r   a l l   w o r k   i t e m s   i s   b e t t e r   f o r   l a r g e   n u m b e r s   o f   i t e m s . N u m b e r   o f   P o d s   c r e a t e d   e q u a l s   n u m b e r   o f   w o r k   i t e m s ,   v e r s u s   e a c h   P o d   c a n   p r o c e s s   m u l t i p l e   w o r k   i t e m s .   W h e n   t h e   n u m b e r   o f   P o d s   e q u a l s   t h e   n u m b e r   o f   w o r k   i t e m s ,   t h e   P o d s   t y p i c a l l y   r e q u i r e s   l e s s   m o d i f i c a t i o n   t o   e x i s t i n g   c o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12071"
  },
  {
    "question": "What is Suspending a Job?",
    "answer": "W h e n   a   J o b   i s   c r e a t e d ,   t h e   J o b   c o n t r o l l e r   w i l l   i m m e d i a t e l y   b e g i n   c r e a t i n g   P o d s   t o   s a t i s f y   t h e   J o b ' s   r e q u i r e m e n t s   a n d   w i l l   c o n t i n u e   t o   d o   s o   u n t i l   t h e   J o b   i s   c o m p l e t e .   H o w e v e r ,   y o u   m a y   w a n t   t o   t e m p o r a r i l y   s u s p e n d   a   J o b ' s   e x e c u t i o n   a n d   r e s u m e   i t   l a t e r ,   o r   s t a r t   J o b s   i n   s u s p e n d e d   s t a t e   a n d   h a v e   a   c u s t o m   c o n t r o l l e r   d e c i d e   l a t e r   w h e n   t o   s t a r t   t h e m .   T o   s u s p e n d   a   J o b ,   y o u   c a n   u p d a t e   t h e   . s p e c . s u s p e n d   f i e l d   o f   t h e   J o b   t o   t r u e ;   l a t e r ,   w h e n   y o u   w a n t   t o   r e s u m e   i t   a g a i n ,   u p d a t e   i t   t o   f a l s e .   C r e a t i n g   a   J o b   w i t h   . s p e c . s u s p e n d   s e t   t o   t r u e   w i l l   c r e a t e   i t   i n   t h e   s u s p e n d e d   s t a t e .   W h e n   a   J o b   i s   r e s u m e d   f r o m   s u s p e n s i o n ,   i t s   . s t a t u s . s t a r t T i m e   f i e l d   w i l l   b e   r e s e t   t o   t h e   c u r r e n t   t i m e .   T h i s   m e a n s   t h a t   t h e   . s p e c . a c t i v e D e a d l i n e S e c o n d s   t i m e r   w i l l   b e   s t o p p e d   a n d   r e s e t   w h e n   a   J o b   i s   s u s p e n d e d   a n d   r e s u m e d .   W h e n   y o u   s u s p e n d   a   J o b ,   a n y   r u n n i n g   P o d s   t h a t   d o n ' t   h a v e   a   s t a t u s   o f   C o m p l e t e d   w i l l   b e   t e r m i n a t e d   w i t h   a   S I G T E R M   s i g n a l .   T h e   P o d ' s   g r a c e f u l   t e r m i n a t i o n   p e r i o d   w i l l   b e   h o n o r e d   a n d   y o u r   P o d   m u s t   h a n d l e   t h i s   s i g n a l   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12072"
  },
  {
    "question": "What is Mutable Scheduling Directives?",
    "answer": "I n   m o s t   c a s e s ,   a   p a r a l l e l   j o b   w i l l   w a n t   t h e   p o d s   t o   r u n   w i t h   c o n s t r a i n t s ,   l i k e   a l l   i n   t h e   s a m e   z o n e ,   o r   a l l   e i t h e r   o n   G P U   m o d e l   x   o r   y   b u t   n o t   a   m i x   o f   b o t h .   T h e   s u s p e n d   f i e l d   i s   t h e   f i r s t   s t e p   t o w a r d s   a c h i e v i n g   t h o s e   s e m a n t i c s .   S u s p e n d   a l l o w s   a   c u s t o m   q u e u e   c o n t r o l l e r   t o   d e c i d e   w h e n   a   j o b   s h o u l d   s t a r t ;   H o w e v e r ,   o n c e   a   j o b   i s   u n s u s p e n d e d ,   a   c u s t o m   q u e u e   c o n t r o l l e r   h a s   n o   i n f l u e n c e   o n   w h e r e   t h e   p o d s   o f   a   j o b   w i l l   a c t u a l l y   l a n d .   T h i s   f e a t u r e   a l l o w s   u p d a t i n g   a   J o b ' s   s c h e d u l i n g   d i r e c t i v e s   b e f o r e   i t   s t a r t s ,   w h i c h   g i v e s   c u s t o m   q u e u e   c o n t r o l l e r s   t h e   a b i l i t y   t o   i n f l u e n c e   p o d   p l a c e m e n t   w h i l e   a t   t h e   s a m e   t i m e   o f f l o a d i n g   a c t u a l   p o d - t o - n o d e   a s s i g n m e n t   t o   k u b e - s c h e d u l e r .   T h i s   i s   a l l o w e d   o n l y   f o r   s u s p e n d e d   J o b s   t h a t   h a v e   n e v e r   b e e n   u n s u s p e n d e d   b e f o r e .   T h e   f i e l d s   i n   a   J o b ' s   p o d   t e m p l a t e   t h a t   c a n   b e   u p d a t e d   a r e   n o d e   a f f i n i t y ,   n o d e   s e l e c t o r ,   t o l e r a t i o n s ,   l a b e l s ,   a n n o t a t i o n s   a n d   s c h e d u l i n g   g a t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12073"
  },
  {
    "question": "What is Specifying your own Pod selector?",
    "answer": "N o r m a l l y ,   w h e n   y o u   c r e a t e   a   J o b   o b j e c t ,   y o u   d o   n o t   s p e c i f y   . s p e c . s e l e c t o r .   T h e   s y s t e m   d e f a u l t i n g   l o g i c   a d d s   t h i s   f i e l d   w h e n   t h e   J o b   i s   c r e a t e d .   I t   p i c k s   a   s e l e c t o r   v a l u e   t h a t   w i l l   n o t   o v e r l a p   w i t h   a n y   o t h e r   j o b s .   H o w e v e r ,   i n   s o m e   c a s e s ,   y o u   m i g h t   n e e d   t o   o v e r r i d e   t h i s   a u t o m a t i c a l l y   s e t   s e l e c t o r .   T o   d o   t h i s ,   y o u   c a n   s p e c i f y   t h e   . s p e c . s e l e c t o r   o f   t h e   J o b .   B e   v e r y   c a r e f u l   w h e n   d o i n g   t h i s .   I f   y o u   s p e c i f y   a   l a b e l   s e l e c t o r   w h i c h   i s   n o t   u n i q u e   t o   t h e   p o d s   o f   t h a t   J o b ,   a n d   w h i c h   m a t c h e s   u n r e l a t e d   P o d s ,   t h e n   p o d s   o f   t h e   u n r e l a t e d   j o b   m a y   b e   d e l e t e d ,   o r   t h i s   J o b   m a y   c o u n t   o t h e r   P o d s   a s   c o m p l e t i n g   i t ,   o r   o n e   o r   b o t h   J o b s   m a y   r e f u s e   t o   c r e a t e   P o d s   o r   r u n   t o   c o m p l e t i o n .   I f   a   n o n - u n i q u e   s e l e c t o r   i s   c h o s e n ,   t h e n   o t h e r   c o n t r o l l e r s   ( e . g .   R e p l i c a t i o n C o n t r o l l e r )   a n d   t h e i r   P o d s   m a y   b e h a v e   i n   u n p r e d i c t a b l e   w a y s   t o o .   K u b e r n e t e s   w i l l   n o t   s t o p   y o u   f r o m   m a k i n g   a   m i s t a k e   w h e n   s p e c i f y i n g   . s p e c . s e l e c t o r .   H e r e   i s   a n   e x a m p l e   o f   a   c a s e   w h e n   y o u   m i g h t   w a n t   t o   u s e   t h i s   f e a t u r e .   S a y   J o b   o l d   i s   a l r e a d y   r u n n i n g .   Y o u   w a n t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12074"
  },
  {
    "question": "What is Job tracking with finalizers?",
    "answer": "T h e   c o n t r o l   p l a n e   k e e p s   t r a c k   o f   t h e   P o d s   t h a t   b e l o n g   t o   a n y   J o b   a n d   n o t i c e s   i f   a n y   s u c h   P o d   i s   r e m o v e d   f r o m   t h e   A P I   s e r v e r .   T o   d o   t h a t ,   t h e   J o b   c o n t r o l l e r   c r e a t e s   P o d s   w i t h   t h e   f i n a l i z e r   b a t c h . k u b e r n e t e s . i o / j o b - t r a c k i n g .   T h e   c o n t r o l l e r   r e m o v e s   t h e   f i n a l i z e r   o n l y   a f t e r   t h e   P o d   h a s   b e e n   a c c o u n t e d   f o r   i n   t h e   J o b   s t a t u s ,   a l l o w i n g   t h e   P o d   t o   b e   r e m o v e d   b y   o t h e r   c o n t r o l l e r s   o r   u s e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12075"
  },
  {
    "question": "What is Elastic Indexed Jobs?",
    "answer": "Y o u   c a n   s c a l e   I n d e x e d   J o b s   u p   o r   d o w n   b y   m u t a t i n g   b o t h   . s p e c . p a r a l l e l i s m   a n d   . s p e c . c o m p l e t i o n s   t o g e t h e r   s u c h   t h a t   . s p e c . p a r a l l e l i s m   = =   . s p e c . c o m p l e t i o n s .   W h e n   s c a l i n g   d o w n ,   K u b e r n e t e s   r e m o v e s   t h e   P o d s   w i t h   h i g h e r   i n d e x e s .   U s e   c a s e s   f o r   e l a s t i c   I n d e x e d   J o b s   i n c l u d e   b a t c h   w o r k l o a d s   w h i c h   r e q u i r e   s c a l i n g   a n   i n d e x e d   J o b ,   s u c h   a s   M P I ,   H o r o v o d ,   R a y ,   a n d   P y T o r c h   t r a i n i n g   j o b s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12076"
  },
  {
    "question": "What is Delayed creation of replacement pods?",
    "answer": "B y   d e f a u l t ,   t h e   J o b   c o n t r o l l e r   r e c r e a t e s   P o d s   a s   s o o n   t h e y   e i t h e r   f a i l   o r   a r e   t e r m i n a t i n g   ( h a v e   a   d e l e t i o n   t i m e s t a m p ) .   T h i s   m e a n s   t h a t ,   a t   a   g i v e n   t i m e ,   w h e n   s o m e   o f   t h e   P o d s   a r e   t e r m i n a t i n g ,   t h e   n u m b e r   o f   r u n n i n g   P o d s   f o r   a   J o b   c a n   b e   g r e a t e r   t h a n   p a r a l l e l i s m   o r   g r e a t e r   t h a n   o n e   P o d   p e r   i n d e x   ( i f   y o u   a r e   u s i n g   a n   I n d e x e d   J o b ) .   Y o u   m a y   c h o o s e   t o   c r e a t e   r e p l a c e m e n t   P o d s   o n l y   w h e n   t h e   t e r m i n a t i n g   P o d   i s   f u l l y   t e r m i n a l   ( h a s   s t a t u s . p h a s e :   F a i l e d ) .   T o   d o   t h i s ,   s e t   t h e   . s p e c . p o d R e p l a c e m e n t P o l i c y :   F a i l e d .   T h e   d e f a u l t   r e p l a c e m e n t   p o l i c y   d e p e n d s   o n   w h e t h e r   t h e   J o b   h a s   a   p o d F a i l u r e P o l i c y   s e t .   W i t h   n o   P o d   f a i l u r e   p o l i c y   d e f i n e d   f o r   a   J o b ,   o m i t t i n g   t h e   p o d R e p l a c e m e n t P o l i c y   f i e l d   s e l e c t s   t h e   T e r m i n a t i n g O r F a i l e d   r e p l a c e m e n t   p o l i c y :   t h e   c o n t r o l   p l a n e   c r e a t e s   r e p l a c e m e n t   P o d s   i m m e d i a t e l y   u p o n   P o d   d e l e t i o n   ( a s   s o o n   a s   t h e   c o n t r o l   p l a n e   s e e s   t h a t   a   P o d   f o r   t h i s   J o b   h a s   d e l e t i o n T i m e s t a m p   s e t ) .   F o r   J o b s   w i t h   a   P o d   f a i l u r e   p o l i c y   s e t ,   t h e   d e f a u l t   p o d R e p l a c e m e n t P o l i c y   i s   F a i l e d ,   a n d   n o   o t h e r   v a l u e   i s   p e r m i t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12077"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   f e a t u r e   a l l o w s   y o u   t o   d i s a b l e   t h e   b u i l t - i n   J o b   c o n t r o l l e r ,   f o r   a   s p e c i f i c   J o b ,   a n d   d e l e g a t e   r e c o n c i l i a t i o n   o f   t h e   J o b   t o   a n   e x t e r n a l   c o n t r o l l e r .   Y o u   i n d i c a t e   t h e   c o n t r o l l e r   t h a t   r e c o n c i l e s   t h e   J o b   b y   s e t t i n g   a   c u s t o m   v a l u e   f o r   t h e   s p e c . m a n a g e d B y   f i e l d   -   a n y   v a l u e   o t h e r   t h a n   k u b e r n e t e s . i o / j o b - c o n t r o l l e r .   T h e   v a l u e   o f   t h e   f i e l d   i s   i m m u t a b l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12078"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   d e v e l o p i n g   a n   e x t e r n a l   J o b   c o n t r o l l e r   b e   a w a r e   t h a t   y o u r   c o n t r o l l e r   n e e d s   t o   o p e r a t e   i n   a   f a s h i o n   c o n f o r m a n t   w i t h   t h e   d e f i n i t i o n s   o f   t h e   A P I   s p e c   a n d   s t a t u s   f i e l d s   o f   t h e   J o b   o b j e c t .   P l e a s e   r e v i e w   t h e s e   i n   d e t a i l   i n   t h e   J o b   A P I .   W e   a l s o   r e c o m m e n d   t h a t   y o u   r u n   t h e   e 2 e   c o n f o r m a n c e   t e s t s   f o r   t h e   J o b   o b j e c t   t o   v e r i f y   y o u r   i m p l e m e n t a t i o n .   F i n a l l y ,   w h e n   d e v e l o p i n g   a n   e x t e r n a l   J o b   c o n t r o l l e r   m a k e   s u r e   i t   d o e s   n o t   u s e   t h e   b a t c h . k u b e r n e t e s . i o / j o b - t r a c k i n g   f i n a l i z e r ,   r e s e r v e d   f o r   t h e   b u i l t - i n   c o n t r o l l e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12079"
  },
  {
    "question": "What is Bare Pods?",
    "answer": "W h e n   t h e   n o d e   t h a t   a   P o d   i s   r u n n i n g   o n   r e b o o t s   o r   f a i l s ,   t h e   p o d   i s   t e r m i n a t e d   a n d   w i l l   n o t   b e   r e s t a r t e d .   H o w e v e r ,   a   J o b   w i l l   c r e a t e   n e w   P o d s   t o   r e p l a c e   t e r m i n a t e d   o n e s .   F o r   t h i s   r e a s o n ,   w e   r e c o m m e n d   t h a t   y o u   u s e   a   J o b   r a t h e r   t h a n   a   b a r e   P o d ,   e v e n   i f   y o u r   a p p l i c a t i o n   r e q u i r e s   o n l y   a   s i n g l e   P o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12080"
  },
  {
    "question": "What is Replication Controller?",
    "answer": "J o b s   a r e   c o m p l e m e n t a r y   t o   R e p l i c a t i o n   C o n t r o l l e r s .   A   R e p l i c a t i o n   C o n t r o l l e r   m a n a g e s   P o d s   w h i c h   a r e   n o t   e x p e c t e d   t o   t e r m i n a t e   ( e . g .   w e b   s e r v e r s ) ,   a n d   a   J o b   m a n a g e s   P o d s   t h a t   a r e   e x p e c t e d   t o   t e r m i n a t e   ( e . g .   b a t c h   t a s k s ) .   A s   d i s c u s s e d   i n   P o d   L i f e c y c l e ,   J o b   i s   o n l y   a p p r o p r i a t e   f o r   p o d s   w i t h   R e s t a r t P o l i c y   e q u a l   t o   O n F a i l u r e   o r   N e v e r .   ( N o t e :   I f   R e s t a r t P o l i c y   i s   n o t   s e t ,   t h e   d e f a u l t   v a l u e   i s   A l w a y s . )",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12081"
  },
  {
    "question": "What is Single Job starts controller Pod?",
    "answer": "A n o t h e r   p a t t e r n   i s   f o r   a   s i n g l e   J o b   t o   c r e a t e   a   P o d   w h i c h   t h e n   c r e a t e s   o t h e r   P o d s ,   a c t i n g   a s   a   s o r t   o f   c u s t o m   c o n t r o l l e r   f o r   t h o s e   P o d s .   T h i s   a l l o w s   t h e   m o s t   f l e x i b i l i t y ,   b u t   m a y   b e   s o m e w h a t   c o m p l i c a t e d   t o   g e t   s t a r t e d   w i t h   a n d   o f f e r s   l e s s   i n t e g r a t i o n   w i t h   K u b e r n e t e s .   O n e   e x a m p l e   o f   t h i s   p a t t e r n   w o u l d   b e   a   J o b   w h i c h   s t a r t s   a   P o d   w h i c h   r u n s   a   s c r i p t   t h a t   i n   t u r n   s t a r t s   a   S p a r k   m a s t e r   c o n t r o l l e r   ( s e e   s p a r k   e x a m p l e ) ,   r u n s   a   s p a r k   d r i v e r ,   a n d   t h e n   c l e a n s   u p .   A n   a d v a n t a g e   o f   t h i s   a p p r o a c h   i s   t h a t   t h e   o v e r a l l   p r o c e s s   g e t s   t h e   c o m p l e t i o n   g u a r a n t e e   o f   a   J o b   o b j e c t ,   b u t   m a i n t a i n s   c o m p l e t e   c o n t r o l   o v e r   w h a t   P o d s   a r e   c r e a t e d   a n d   h o w   w o r k   i s   a s s i g n e d   t o   t h e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12082"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   P o d s . R e a d   a b o u t   d i f f e r e n t   w a y s   o f   r u n n i n g   J o b s : C o a r s e   P a r a l l e l   P r o c e s s i n g   U s i n g   a   W o r k   Q u e u e F i n e   P a r a l l e l   P r o c e s s i n g   U s i n g   a   W o r k   Q u e u e U s e   a n   i n d e x e d   J o b   f o r   p a r a l l e l   p r o c e s s i n g   w i t h   s t a t i c   w o r k   a s s i g n m e n t C r e a t e   m u l t i p l e   J o b s   b a s e d   o n   a   t e m p l a t e :   P a r a l l e l   P r o c e s s i n g   u s i n g   E x p a n s i o n s F o l l o w   t h e   l i n k s   w i t h i n   C l e a n   u p   f i n i s h e d   j o b s   a u t o m a t i c a l l y   t o   l e a r n   m o r e   a b o u t   h o w   y o u r   c l u s t e r   c a n   c l e a n   u p   c o m p l e t e d   a n d   /   o r   f a i l e d   t a s k s . J o b   i s   p a r t   o f   t h e   K u b e r n e t e s   R E S T   A P I .   R e a d   t h e   J o b   o b j e c t   d e f i n i t i o n   t o   u n d e r s t a n d   t h e   A P I   f o r   j o b s . R e a d   a b o u t   C r o n J o b ,   w h i c h   y o u   c a n   u s e   t o   d e f i n e   a   s e r i e s   o f   J o b s   t h a t   w i l l   r u n   b a s e d   o n   a   s c h e d u l e ,   s i m i l a r   t o   t h e   U N I X   t o o l   c r o n . P r a c t i c e   h o w   t o   c o n f i g u r e   h a n d l i n g   o f   r e t r i a b l e   a n d   n o n - r e t r i a b l e   p o d   f a i l u r e s   u s i n g   p o d F a i l u r e P o l i c y ,   b a s e d   o n   t h e   s t e p - b y - s t e p   e x a m p l e s .   C o a r s e   P a r a l l e l   P r o c e s s i n g   U s i n g   a   W o r k   Q u e u e F i n e   P a r a l l e l   P r o c e s s i n g   U s i n g   a   W o r k   Q u e u e U s e   a n   i n d e x e d   J o b   f o r   p a r a l l e l   p r o c e s s i n g   w i t h   s t a t i c   w o r k   a s s i g n m e n t C r e a t e   m u l t i p l e   J o b s   b a s e d   o n   a   t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12083"
  },
  {
    "question": "What is 4.2.6 - Automatic Cleanup for Finished Jobs?",
    "answer": "W h e n   y o u r   J o b   h a s   f i n i s h e d ,   i t ' s   u s e f u l   t o   k e e p   t h a t   J o b   i n   t h e   A P I   ( a n d   n o t   i m m e d i a t e l y   d e l e t e   t h e   J o b )   s o   t h a t   y o u   c a n   t e l l   w h e t h e r   t h e   J o b   s u c c e e d e d   o r   f a i l e d .   K u b e r n e t e s '   T T L - a f t e r - f i n i s h e d   c o n t r o l l e r   p r o v i d e s   a   T T L   ( t i m e   t o   l i v e )   m e c h a n i s m   t o   l i m i t   t h e   l i f e t i m e   o f   J o b   o b j e c t s   t h a t   h a v e   f i n i s h e d   e x e c u t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12084"
  },
  {
    "question": "What is Cleanup for finished Jobs?",
    "answer": "T h e   T T L - a f t e r - f i n i s h e d   c o n t r o l l e r   i s   o n l y   s u p p o r t e d   f o r   J o b s .   Y o u   c a n   u s e   t h i s   m e c h a n i s m   t o   c l e a n   u p   f i n i s h e d   J o b s   ( e i t h e r   C o m p l e t e   o r   F a i l e d )   a u t o m a t i c a l l y   b y   s p e c i f y i n g   t h e   . s p e c . t t l S e c o n d s A f t e r F i n i s h e d   f i e l d   o f   a   J o b ,   a s   i n   t h i s   e x a m p l e .   T h e   T T L - a f t e r - f i n i s h e d   c o n t r o l l e r   a s s u m e s   t h a t   a   J o b   i s   e l i g i b l e   t o   b e   c l e a n e d   u p   T T L   s e c o n d s   a f t e r   t h e   J o b   h a s   f i n i s h e d .   T h e   t i m e r   s t a r t s   o n c e   t h e   s t a t u s   c o n d i t i o n   o f   t h e   J o b   c h a n g e s   t o   s h o w   t h a t   t h e   J o b   i s   e i t h e r   C o m p l e t e   o r   F a i l e d ;   o n c e   t h e   T T L   h a s   e x p i r e d ,   t h a t   J o b   b e c o m e s   e l i g i b l e   f o r   c a s c a d i n g   r e m o v a l .   W h e n   t h e   T T L - a f t e r - f i n i s h e d   c o n t r o l l e r   c l e a n s   u p   a   j o b ,   i t   w i l l   d e l e t e   i t   c a s c a d i n g l y ,   t h a t   i s   t o   s a y   i t   w i l l   d e l e t e   i t s   d e p e n d e n t   o b j e c t s   t o g e t h e r   w i t h   i t .   K u b e r n e t e s   h o n o r s   o b j e c t   l i f e c y c l e   g u a r a n t e e s   o n   t h e   J o b ,   s u c h   a s   w a i t i n g   f o r   f i n a l i z e r s .   Y o u   c a n   s e t   t h e   T T L   s e c o n d s   a t   a n y   t i m e .   H e r e   a r e   s o m e   e x a m p l e s   f o r   s e t t i n g   t h e   . s p e c . t t l S e c o n d s A f t e r F i n i s h e d   f i e l d   o f   a   J o b :   S p e c i f y   t h i s   f i e l d   i n   t h e   J o b   m a n i f e s t ,   s o   t h a t   a   J o b   c a n   b e   c l e a n e d   u p   a u t o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12085"
  },
  {
    "question": "What is Updating TTL for finished Jobs?",
    "answer": "Y o u   c a n   m o d i f y   t h e   T T L   p e r i o d ,   e . g .   . s p e c . t t l S e c o n d s A f t e r F i n i s h e d   f i e l d   o f   J o b s ,   a f t e r   t h e   j o b   i s   c r e a t e d   o r   h a s   f i n i s h e d .   I f   y o u   e x t e n d   t h e   T T L   p e r i o d   a f t e r   t h e   e x i s t i n g   t t l S e c o n d s A f t e r F i n i s h e d   p e r i o d   h a s   e x p i r e d ,   K u b e r n e t e s   d o e s n ' t   g u a r a n t e e   t o   r e t a i n   t h a t   J o b ,   e v e n   i f   a n   u p d a t e   t o   e x t e n d   t h e   T T L   r e t u r n s   a   s u c c e s s f u l   A P I   r e s p o n s e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12086"
  },
  {
    "question": "What is Time skew?",
    "answer": "B e c a u s e   t h e   T T L - a f t e r - f i n i s h e d   c o n t r o l l e r   u s e s   t i m e s t a m p s   s t o r e d   i n   t h e   K u b e r n e t e s   j o b s   t o   d e t e r m i n e   w h e t h e r   t h e   T T L   h a s   e x p i r e d   o r   n o t ,   t h i s   f e a t u r e   i s   s e n s i t i v e   t o   t i m e   s k e w   i n   y o u r   c l u s t e r ,   w h i c h   m a y   c a u s e   t h e   c o n t r o l   p l a n e   t o   c l e a n   u p   J o b   o b j e c t s   a t   t h e   w r o n g   t i m e .   C l o c k s   a r e n ' t   a l w a y s   c o r r e c t ,   b u t   t h e   d i f f e r e n c e   s h o u l d   b e   v e r y   s m a l l .   P l e a s e   b e   a w a r e   o f   t h i s   r i s k   w h e n   s e t t i n g   a   n o n - z e r o   T T L .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12087"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   C l e a n   u p   J o b s   a u t o m a t i c a l l y R e f e r   t o   t h e   K u b e r n e t e s   E n h a n c e m e n t   P r o p o s a l   ( K E P )   f o r   a d d i n g   t h i s   m e c h a n i s m .   R e a d   C l e a n   u p   J o b s   a u t o m a t i c a l l y   R e f e r   t o   t h e   K u b e r n e t e s   E n h a n c e m e n t   P r o p o s a l   ( K E P )   f o r   a d d i n g   t h i s   m e c h a n i s m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12088"
  },
  {
    "question": "What is 4.2.7 - CronJob?",
    "answer": "A   C r o n J o b   c r e a t e s   J o b s   o n   a   r e p e a t i n g   s c h e d u l e .   C r o n J o b   i s   m e a n t   f o r   p e r f o r m i n g   r e g u l a r   s c h e d u l e d   a c t i o n s   s u c h   a s   b a c k u p s ,   r e p o r t   g e n e r a t i o n ,   a n d   s o   o n .   O n e   C r o n J o b   o b j e c t   i s   l i k e   o n e   l i n e   o f   a   c r o n t a b   ( c r o n   t a b l e )   f i l e   o n   a   U n i x   s y s t e m .   I t   r u n s   a   J o b   p e r i o d i c a l l y   o n   a   g i v e n   s c h e d u l e ,   w r i t t e n   i n   C r o n   f o r m a t .   C r o n J o b s   h a v e   l i m i t a t i o n s   a n d   i d i o s y n c r a s i e s .   F o r   e x a m p l e ,   i n   c e r t a i n   c i r c u m s t a n c e s ,   a   s i n g l e   C r o n J o b   c a n   c r e a t e   m u l t i p l e   c o n c u r r e n t   J o b s .   S e e   t h e   l i m i t a t i o n s   b e l o w .   W h e n   t h e   c o n t r o l   p l a n e   c r e a t e s   n e w   J o b s   a n d   ( i n d i r e c t l y )   P o d s   f o r   a   C r o n J o b ,   t h e   . m e t a d a t a . n a m e   o f   t h e   C r o n J o b   i s   p a r t   o f   t h e   b a s i s   f o r   n a m i n g   t h o s e   P o d s .   T h e   n a m e   o f   a   C r o n J o b   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   v a l u e ,   b u t   t h i s   c a n   p r o d u c e   u n e x p e c t e d   r e s u l t s   f o r   t h e   P o d   h o s t n a m e s .   F o r   b e s t   c o m p a t i b i l i t y ,   t h e   n a m e   s h o u l d   f o l l o w   t h e   m o r e   r e s t r i c t i v e   r u l e s   f o r   a   D N S   l a b e l .   E v e n   w h e n   t h e   n a m e   i s   a   D N S   s u b d o m a i n ,   t h e   n a m e   m u s t   b e   n o   l o n g e r   t h a n   5 2   c h a r a c t e r s .   T h i s   i s   b e c a u s e   t h e   C r o n J o b   c o n t r o l l e r   w i l l   a u t o m a t i c a l l y   a p p e n d   1 1   c h ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12089"
  },
  {
    "question": "What is Example?",
    "answer": "T h i s   e x a m p l e   C r o n J o b   m a n i f e s t   p r i n t s   t h e   c u r r e n t   t i m e   a n d   a   h e l l o   m e s s a g e   e v e r y   m i n u t e :   a p i V e r s i o n :   b a t c h / v 1   k i n d :   C r o n J o b   m e t a d a t a :   n a m e :   h e l l o   s p e c :   s c h e d u l e :   \" *   *   *   *   * \"   j o b T e m p l a t e :   s p e c :   t e m p l a t e :   s p e c :   c o n t a i n e r s :   -   n a m e :   h e l l o   i m a g e :   b u s y b o x : 1 . 2 8   i m a g e P u l l P o l i c y :   I f N o t P r e s e n t   c o m m a n d :   -   / b i n / s h   -   - c   -   d a t e ;   e c h o   H e l l o   f r o m   t h e   K u b e r n e t e s   c l u s t e r   r e s t a r t P o l i c y :   O n F a i l u r e   ( R u n n i n g   A u t o m a t e d   T a s k s   w i t h   a   C r o n J o b   t a k e s   y o u   t h r o u g h   t h i s   e x a m p l e   i n   m o r e   d e t a i l ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12090"
  },
  {
    "question": "What is Schedule syntax?",
    "answer": "T h e   . s p e c . s c h e d u l e   f i e l d   i s   r e q u i r e d .   T h e   v a l u e   o f   t h a t   f i e l d   f o l l o w s   t h e   C r o n   s y n t a x :   #   ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─   m i n u t e   ( 0   -   5 9 )   #   │   ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─   h o u r   ( 0   -   2 3 )   #   │   │   ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─   d a y   o f   t h e   m o n t h   ( 1   -   3 1 )   #   │   │   │   ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─   m o n t h   ( 1   -   1 2 )   #   │   │   │   │   ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─   d a y   o f   t h e   w e e k   ( 0   -   6 )   ( S u n d a y   t o   S a t u r d a y )   #   │   │   │   │   │   O R   s u n ,   m o n ,   t u e ,   w e d ,   t h u ,   f r i ,   s a t   #   │   │   │   │   │   #   │   │   │   │   │   #   *   *   *   *   *   F o r   e x a m p l e ,   0   3   *   *   1   m e a n s   t h i s   t a s k   i s   s c h e d u l e d   t o   r u n   w e e k l y   o n   a   M o n d a y   a t   3   A M .   T h e   f o r m a t   a l s o   i n c l u d e s   e x t e n d e d   \" V i x i e   c r o n \"   s t e p   v a l u e s .   A s   e x p l a i n e d   i n   t h e   F r e e B S D   m a n u a l :   S t e p   v a l u e s   c a n   b e   u s e d   i n   c o n j u n c t i o n   w i t h   r a n g e s .   F o l l o w i n g   a   r a n g e   w i t h   / < n u m b e r >   s p e c i f i e s   s k i p s   o f   t h e   n u m b e r ' s   v a l u e   t h r o u g h   t h e   r a n g e .   F o r   e x a m p l e ,   0 - 2 3 / 2   c a n   b e   u s e d   i n   t h e   h o u r s   f i e l d   t o   s p e c i f y   c o m m a n d   e x e c u t i o n   e v e r y   o t h e r   h o u r   ( t h e   a l t e r n a t i v e   i n   t h e   V 7   s t a n d a r d   i s   0 , 2 , 4 , 6 , 8 , 1 0 , 1 2 , 1 4 , 1 6 , 1 8 , 2 0 , 2 2 ) .   S t e p s   a r e   a l s o   p e r m i t t e d   a f t e r   a n   a s t e r i s k ,   s o   i f   y o u   w a n t   t o   s a y   \" e v e r y   t w o   h o u r s \" ,   j u s t   u s e   * / 2 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12091"
  },
  {
    "question": "What is Note:?",
    "answer": "O t h e r   t h a n   t h e   s t a n d a r d   s y n t a x ,   s o m e   m a c r o s   l i k e   @ m o n t h l y   c a n   a l s o   b e   u s e d :   T o   g e n e r a t e   C r o n J o b   s c h e d u l e   e x p r e s s i o n s ,   y o u   c a n   a l s o   u s e   w e b   t o o l s   l i k e   c r o n t a b . g u r u .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12092"
  },
  {
    "question": "What is Job template?",
    "answer": "T h e   . s p e c . j o b T e m p l a t e   d e f i n e s   a   t e m p l a t e   f o r   t h e   J o b s   t h a t   t h e   C r o n J o b   c r e a t e s ,   a n d   i t   i s   r e q u i r e d .   I t   h a s   e x a c t l y   t h e   s a m e   s c h e m a   a s   a   J o b ,   e x c e p t   t h a t   i t   i s   n e s t e d   a n d   d o e s   n o t   h a v e   a n   a p i V e r s i o n   o r   k i n d .   Y o u   c a n   s p e c i f y   c o m m o n   m e t a d a t a   f o r   t h e   t e m p l a t e d   J o b s ,   s u c h   a s   l a b e l s   o r   a n n o t a t i o n s .   F o r   i n f o r m a t i o n   a b o u t   w r i t i n g   a   J o b   . s p e c ,   s e e   W r i t i n g   a   J o b   S p e c .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12093"
  },
  {
    "question": "What is Deadline for delayed Job start?",
    "answer": "T h e   . s p e c . s t a r t i n g D e a d l i n e S e c o n d s   f i e l d   i s   o p t i o n a l .   T h i s   f i e l d   d e f i n e s   a   d e a d l i n e   ( i n   w h o l e   s e c o n d s )   f o r   s t a r t i n g   t h e   J o b ,   i f   t h a t   J o b   m i s s e s   i t s   s c h e d u l e d   t i m e   f o r   a n y   r e a s o n .   A f t e r   m i s s i n g   t h e   d e a d l i n e ,   t h e   C r o n J o b   s k i p s   t h a t   i n s t a n c e   o f   t h e   J o b   ( f u t u r e   o c c u r r e n c e s   a r e   s t i l l   s c h e d u l e d ) .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   b a c k u p   J o b   t h a t   r u n s   t w i c e   a   d a y ,   y o u   m i g h t   a l l o w   i t   t o   s t a r t   u p   t o   8   h o u r s   l a t e ,   b u t   n o   l a t e r ,   b e c a u s e   a   b a c k u p   t a k e n   a n y   l a t e r   w o u l d n ' t   b e   u s e f u l :   y o u   w o u l d   i n s t e a d   p r e f e r   t o   w a i t   f o r   t h e   n e x t   s c h e d u l e d   r u n .   F o r   J o b s   t h a t   m i s s   t h e i r   c o n f i g u r e d   d e a d l i n e ,   K u b e r n e t e s   t r e a t s   t h e m   a s   f a i l e d   J o b s .   I f   y o u   d o n ' t   s p e c i f y   s t a r t i n g D e a d l i n e S e c o n d s   f o r   a   C r o n J o b ,   t h e   J o b   o c c u r r e n c e s   h a v e   n o   d e a d l i n e .   I f   t h e   . s p e c . s t a r t i n g D e a d l i n e S e c o n d s   f i e l d   i s   s e t   ( n o t   n u l l ) ,   t h e   C r o n J o b   c o n t r o l l e r   m e a s u r e s   t h e   t i m e   b e t w e e n   w h e n   a   J o b   i s   e x p e c t e d   t o   b e   c r e a t e d   a n d   n o w .   I f   t h e   d i f f e r e n c e   i s   h i g h e r   t h a n   t h a t   l i m i t ,   i t   w i l l   s k i p   t h i s   e x e c u t i o n .   F o r   e x a m p l e ,   i f   i t   i s   s e t   t o   2 0 0 ,   i t   a l l o w s   a   J o b   t o   b e   c r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12094"
  },
  {
    "question": "What is Concurrency policy?",
    "answer": "T h e   . s p e c . c o n c u r r e n c y P o l i c y   f i e l d   i s   a l s o   o p t i o n a l .   I t   s p e c i f i e s   h o w   t o   t r e a t   c o n c u r r e n t   e x e c u t i o n s   o f   a   J o b   t h a t   i s   c r e a t e d   b y   t h i s   C r o n J o b .   T h e   s p e c   m a y   s p e c i f y   o n l y   o n e   o f   t h e   f o l l o w i n g   c o n c u r r e n c y   p o l i c i e s :   A l l o w   ( d e f a u l t ) :   T h e   C r o n J o b   a l l o w s   c o n c u r r e n t l y   r u n n i n g   J o b s F o r b i d :   T h e   C r o n J o b   d o e s   n o t   a l l o w   c o n c u r r e n t   r u n s ;   i f   i t   i s   t i m e   f o r   a   n e w   J o b   r u n   a n d   t h e   p r e v i o u s   J o b   r u n   h a s n ' t   f i n i s h e d   y e t ,   t h e   C r o n J o b   s k i p s   t h e   n e w   J o b   r u n .   A l s o   n o t e   t h a t   w h e n   t h e   p r e v i o u s   J o b   r u n   f i n i s h e s ,   . s p e c . s t a r t i n g D e a d l i n e S e c o n d s   i s   s t i l l   t a k e n   i n t o   a c c o u n t   a n d   m a y   r e s u l t   i n   a   n e w   J o b   r u n . R e p l a c e :   I f   i t   i s   t i m e   f o r   a   n e w   J o b   r u n   a n d   t h e   p r e v i o u s   J o b   r u n   h a s n ' t   f i n i s h e d   y e t ,   t h e   C r o n J o b   r e p l a c e s   t h e   c u r r e n t l y   r u n n i n g   J o b   r u n   w i t h   a   n e w   J o b   r u n   N o t e   t h a t   c o n c u r r e n c y   p o l i c y   o n l y   a p p l i e s   t o   t h e   J o b s   c r e a t e d   b y   t h e   s a m e   C r o n J o b .   I f   t h e r e   a r e   m u l t i p l e   C r o n J o b s ,   t h e i r   r e s p e c t i v e   J o b s   a r e   a l w a y s   a l l o w e d   t o   r u n   c o n c u r r e n t l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12095"
  },
  {
    "question": "What is Schedule suspension?",
    "answer": "Y o u   c a n   s u s p e n d   e x e c u t i o n   o f   J o b s   f o r   a   C r o n J o b ,   b y   s e t t i n g   t h e   o p t i o n a l   . s p e c . s u s p e n d   f i e l d   t o   t r u e .   T h e   f i e l d   d e f a u l t s   t o   f a l s e .   T h i s   s e t t i n g   d o e s   n o t   a f f e c t   J o b s   t h a t   t h e   C r o n J o b   h a s   a l r e a d y   s t a r t e d .   I f   y o u   d o   s e t   t h a t   f i e l d   t o   t r u e ,   a l l   s u b s e q u e n t   e x e c u t i o n s   a r e   s u s p e n d e d   ( t h e y   r e m a i n   s c h e d u l e d ,   b u t   t h e   C r o n J o b   c o n t r o l l e r   d o e s   n o t   s t a r t   t h e   J o b s   t o   r u n   t h e   t a s k s )   u n t i l   y o u   u n s u s p e n d   t h e   C r o n J o b .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12096"
  },
  {
    "question": "What is Jobs history limits?",
    "answer": "T h e   . s p e c . s u c c e s s f u l J o b s H i s t o r y L i m i t   a n d   . s p e c . f a i l e d J o b s H i s t o r y L i m i t   f i e l d s   s p e c i f y   h o w   m a n y   c o m p l e t e d   a n d   f a i l e d   J o b s   s h o u l d   b e   k e p t .   B o t h   f i e l d s   a r e   o p t i o n a l .   . s p e c . s u c c e s s f u l J o b s H i s t o r y L i m i t :   T h i s   f i e l d   s p e c i f i e s   t h e   n u m b e r   o f   s u c c e s s f u l   f i n i s h e d   j o b s   t o   k e e p .   T h e   d e f a u l t   v a l u e   i s   3 .   S e t t i n g   t h i s   f i e l d   t o   0   w i l l   n o t   k e e p   a n y   s u c c e s s f u l   j o b s . . s p e c . f a i l e d J o b s H i s t o r y L i m i t :   T h i s   f i e l d   s p e c i f i e s   t h e   n u m b e r   o f   f a i l e d   f i n i s h e d   j o b s   t o   k e e p .   T h e   d e f a u l t   v a l u e   i s   1 .   S e t t i n g   t h i s   f i e l d   t o   0   w i l l   n o t   k e e p   a n y   f a i l e d   j o b s .   . s p e c . s u c c e s s f u l J o b s H i s t o r y L i m i t :   T h i s   f i e l d   s p e c i f i e s   t h e   n u m b e r   o f   s u c c e s s f u l   f i n i s h e d   j o b s   t o   k e e p .   T h e   d e f a u l t   v a l u e   i s   3 .   S e t t i n g   t h i s   f i e l d   t o   0   w i l l   n o t   k e e p   a n y   s u c c e s s f u l   j o b s .   . s p e c . f a i l e d J o b s H i s t o r y L i m i t :   T h i s   f i e l d   s p e c i f i e s   t h e   n u m b e r   o f   f a i l e d   f i n i s h e d   j o b s   t o   k e e p .   T h e   d e f a u l t   v a l u e   i s   1 .   S e t t i n g   t h i s   f i e l d   t o   0   w i l l   n o t   k e e p   a n y   f a i l e d   j o b s .   F o r   a n o t h e r   w a y   t o   c l e a n   u p   J o b s   a u t o m a t i c a l l y ,   s e e   C l e a n   u p   f i n i s h e d   J o b s   a u t o m a t i c a l l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12097"
  },
  {
    "question": "What is Time zones?",
    "answer": "F o r   C r o n J o b s   w i t h   n o   t i m e   z o n e   s p e c i f i e d ,   t h e   k u b e - c o n t r o l l e r - m a n a g e r   i n t e r p r e t s   s c h e d u l e s   r e l a t i v e   t o   i t s   l o c a l   t i m e   z o n e .   Y o u   c a n   s p e c i f y   a   t i m e   z o n e   f o r   a   C r o n J o b   b y   s e t t i n g   . s p e c . t i m e Z o n e   t o   t h e   n a m e   o f   a   v a l i d   t i m e   z o n e .   F o r   e x a m p l e ,   s e t t i n g   . s p e c . t i m e Z o n e :   \" E t c / U T C \"   i n s t r u c t s   K u b e r n e t e s   t o   i n t e r p r e t   t h e   s c h e d u l e   r e l a t i v e   t o   C o o r d i n a t e d   U n i v e r s a l   T i m e .   A   t i m e   z o n e   d a t a b a s e   f r o m   t h e   G o   s t a n d a r d   l i b r a r y   i s   i n c l u d e d   i n   t h e   b i n a r i e s   a n d   u s e d   a s   a   f a l l b a c k   i n   c a s e   a n   e x t e r n a l   d a t a b a s e   i s   n o t   a v a i l a b l e   o n   t h e   s y s t e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12098"
  },
  {
    "question": "What is Unsupported TimeZone specification?",
    "answer": "S p e c i f y i n g   a   t i m e z o n e   u s i n g   C R O N _ T Z   o r   T Z   v a r i a b l e s   i n s i d e   . s p e c . s c h e d u l e   i s   n o t   o f f i c i a l l y   s u p p o r t e d   ( a n d   n e v e r   h a s   b e e n ) .   I f   y o u   t r y   t o   s e t   a   s c h e d u l e   t h a t   i n c l u d e s   T Z   o r   C R O N _ T Z   t i m e z o n e   s p e c i f i c a t i o n ,   K u b e r n e t e s   w i l l   f a i l   t o   c r e a t e   o r   u p d a t e   t h e   r e s o u r c e   w i t h   a   v a l i d a t i o n   e r r o r .   Y o u   s h o u l d   s p e c i f y   t i m e   z o n e s   u s i n g   t h e   t i m e   z o n e   f i e l d ,   i n s t e a d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12099"
  },
  {
    "question": "What is Modifying a CronJob?",
    "answer": "B y   d e s i g n ,   a   C r o n J o b   c o n t a i n s   a   t e m p l a t e   f o r   n e w   J o b s .   I f   y o u   m o d i f y   a n   e x i s t i n g   C r o n J o b ,   t h e   c h a n g e s   y o u   m a k e   w i l l   a p p l y   t o   n e w   J o b s   t h a t   s t a r t   t o   r u n   a f t e r   y o u r   m o d i f i c a t i o n   i s   c o m p l e t e .   J o b s   ( a n d   t h e i r   P o d s )   t h a t   h a v e   a l r e a d y   s t a r t e d   c o n t i n u e   t o   r u n   w i t h o u t   c h a n g e s .   T h a t   i s ,   t h e   C r o n J o b   d o e s   n o t   u p d a t e   e x i s t i n g   J o b s ,   e v e n   i f   t h o s e   r e m a i n   r u n n i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12100"
  },
  {
    "question": "What is Job creation?",
    "answer": "A   C r o n J o b   c r e a t e s   a   J o b   o b j e c t   a p p r o x i m a t e l y   o n c e   p e r   e x e c u t i o n   t i m e   o f   i t s   s c h e d u l e .   T h e   s c h e d u l i n g   i s   a p p r o x i m a t e   b e c a u s e   t h e r e   a r e   c e r t a i n   c i r c u m s t a n c e s   w h e r e   t w o   J o b s   m i g h t   b e   c r e a t e d ,   o r   n o   J o b   m i g h t   b e   c r e a t e d .   K u b e r n e t e s   t r i e s   t o   a v o i d   t h o s e   s i t u a t i o n s ,   b u t   d o e s   n o t   c o m p l e t e l y   p r e v e n t   t h e m .   T h e r e f o r e ,   t h e   J o b s   t h a t   y o u   d e f i n e   s h o u l d   b e   i d e m p o t e n t .   S t a r t i n g   w i t h   K u b e r n e t e s   v 1 . 3 2 ,   C r o n J o b s   a p p l y   a n   a n n o t a t i o n   b a t c h . k u b e r n e t e s . i o / c r o n j o b - s c h e d u l e d - t i m e s t a m p   t o   t h e i r   c r e a t e d   J o b s .   T h i s   a n n o t a t i o n   i n d i c a t e s   t h e   o r i g i n a l l y   s c h e d u l e d   c r e a t i o n   t i m e   f o r   t h e   J o b   a n d   i s   f o r m a t t e d   i n   R F C 3 3 3 9 .   I f   s t a r t i n g D e a d l i n e S e c o n d s   i s   s e t   t o   a   l a r g e   v a l u e   o r   l e f t   u n s e t   ( t h e   d e f a u l t )   a n d   i f   c o n c u r r e n c y P o l i c y   i s   s e t   t o   A l l o w ,   t h e   J o b s   w i l l   a l w a y s   r u n   a t   l e a s t   o n c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12101"
  },
  {
    "question": "What is Caution:?",
    "answer": "F o r   e v e r y   C r o n J o b ,   t h e   C r o n J o b   C o n t r o l l e r   c h e c k s   h o w   m a n y   s c h e d u l e s   i t   m i s s e d   i n   t h e   d u r a t i o n   f r o m   i t s   l a s t   s c h e d u l e d   t i m e   u n t i l   n o w .   I f   t h e r e   a r e   m o r e   t h a n   1 0 0   m i s s e d   s c h e d u l e s ,   t h e n   i t   d o e s   n o t   s t a r t   t h e   J o b   a n d   l o g s   t h e   e r r o r .   C a n n o t   d e t e r m i n e   i f   j o b   n e e d s   t o   b e   s t a r t e d .   T o o   m a n y   m i s s e d   s t a r t   t i m e   ( >   1 0 0 ) .   S e t   o r   d e c r e a s e   . s p e c . s t a r t i n g D e a d l i n e S e c o n d s   o r   c h e c k   c l o c k   s k e w .   I t   i s   i m p o r t a n t   t o   n o t e   t h a t   i f   t h e   s t a r t i n g D e a d l i n e S e c o n d s   f i e l d   i s   s e t   ( n o t   n i l ) ,   t h e   c o n t r o l l e r   c o u n t s   h o w   m a n y   m i s s e d   J o b s   o c c u r r e d   f r o m   t h e   v a l u e   o f   s t a r t i n g D e a d l i n e S e c o n d s   u n t i l   n o w   r a t h e r   t h a n   f r o m   t h e   l a s t   s c h e d u l e d   t i m e   u n t i l   n o w .   F o r   e x a m p l e ,   i f   s t a r t i n g D e a d l i n e S e c o n d s   i s   2 0 0 ,   t h e   c o n t r o l l e r   c o u n t s   h o w   m a n y   m i s s e d   J o b s   o c c u r r e d   i n   t h e   l a s t   2 0 0   s e c o n d s .   A   C r o n J o b   i s   c o u n t e d   a s   m i s s e d   i f   i t   h a s   f a i l e d   t o   b e   c r e a t e d   a t   i t s   s c h e d u l e d   t i m e .   F o r   e x a m p l e ,   i f   c o n c u r r e n c y P o l i c y   i s   s e t   t o   F o r b i d   a n d   a   C r o n J o b   w a s   a t t e m p t e d   t o   b e   s c h e d u l e d   w h e n   t h e r e   w a s   a   p r e v i o u s   s c h e d u l e   s t i l l   r u n n i n g ,   t h e n   i t   w o u l d   c o u n t   a s   m i s s ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12102"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   P o d s   a n d   J o b s ,   t w o   c o n c e p t s   t h a t   C r o n J o b s   r e l y   u p o n . R e a d   a b o u t   t h e   d e t a i l e d   f o r m a t   o f   C r o n J o b   . s p e c . s c h e d u l e   f i e l d s . F o r   i n s t r u c t i o n s   o n   c r e a t i n g   a n d   w o r k i n g   w i t h   C r o n J o b s ,   a n d   f o r   a n   e x a m p l e   o f   a   C r o n J o b   m a n i f e s t ,   s e e   R u n n i n g   a u t o m a t e d   t a s k s   w i t h   C r o n J o b s . C r o n J o b   i s   p a r t   o f   t h e   K u b e r n e t e s   R E S T   A P I .   R e a d   t h e   C r o n J o b   A P I   r e f e r e n c e   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12103"
  },
  {
    "question": "What is Note:?",
    "answer": "A   R e p l i c a t i o n C o n t r o l l e r   e n s u r e s   t h a t   a   s p e c i f i e d   n u m b e r   o f   p o d   r e p l i c a s   a r e   r u n n i n g   a t   a n y   o n e   t i m e .   I n   o t h e r   w o r d s ,   a   R e p l i c a t i o n C o n t r o l l e r   m a k e s   s u r e   t h a t   a   p o d   o r   a   h o m o g e n e o u s   s e t   o f   p o d s   i s   a l w a y s   u p   a n d   a v a i l a b l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12104"
  },
  {
    "question": "What is How a ReplicationController works?",
    "answer": "I f   t h e r e   a r e   t o o   m a n y   p o d s ,   t h e   R e p l i c a t i o n C o n t r o l l e r   t e r m i n a t e s   t h e   e x t r a   p o d s .   I f   t h e r e   a r e   t o o   f e w ,   t h e   R e p l i c a t i o n C o n t r o l l e r   s t a r t s   m o r e   p o d s .   U n l i k e   m a n u a l l y   c r e a t e d   p o d s ,   t h e   p o d s   m a i n t a i n e d   b y   a   R e p l i c a t i o n C o n t r o l l e r   a r e   a u t o m a t i c a l l y   r e p l a c e d   i f   t h e y   f a i l ,   a r e   d e l e t e d ,   o r   a r e   t e r m i n a t e d .   F o r   e x a m p l e ,   y o u r   p o d s   a r e   r e - c r e a t e d   o n   a   n o d e   a f t e r   d i s r u p t i v e   m a i n t e n a n c e   s u c h   a s   a   k e r n e l   u p g r a d e .   F o r   t h i s   r e a s o n ,   y o u   s h o u l d   u s e   a   R e p l i c a t i o n C o n t r o l l e r   e v e n   i f   y o u r   a p p l i c a t i o n   r e q u i r e s   o n l y   a   s i n g l e   p o d .   A   R e p l i c a t i o n C o n t r o l l e r   i s   s i m i l a r   t o   a   p r o c e s s   s u p e r v i s o r ,   b u t   i n s t e a d   o f   s u p e r v i s i n g   i n d i v i d u a l   p r o c e s s e s   o n   a   s i n g l e   n o d e ,   t h e   R e p l i c a t i o n C o n t r o l l e r   s u p e r v i s e s   m u l t i p l e   p o d s   a c r o s s   m u l t i p l e   n o d e s .   R e p l i c a t i o n C o n t r o l l e r   i s   o f t e n   a b b r e v i a t e d   t o   \" r c \"   i n   d i s c u s s i o n ,   a n d   a s   a   s h o r t c u t   i n   k u b e c t l   c o m m a n d s .   A   s i m p l e   c a s e   i s   t o   c r e a t e   o n e   R e p l i c a t i o n C o n t r o l l e r   o b j e c t   t o   r e l i a b l y   r u n   o n e   i n s t a n c e   o f   a   P o d   i n d e f i n i t e l y .   A   m o r e   c o m p l e x   u s e   c a s e   i s   t o   r u n   s e v e r a l   i d e n t i c a l   r e p l i c a s   o f   a   r e p l i c a t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12105"
  },
  {
    "question": "What is Running an example ReplicationController?",
    "answer": "T h i s   e x a m p l e   R e p l i c a t i o n C o n t r o l l e r   c o n f i g   r u n s   t h r e e   c o p i e s   o f   t h e   n g i n x   w e b   s e r v e r .   a p i V e r s i o n :   v 1   k i n d :   R e p l i c a t i o n C o n t r o l l e r   m e t a d a t a :   n a m e :   n g i n x   s p e c :   r e p l i c a s :   3   s e l e c t o r :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   n a m e :   n g i n x   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   p o r t s :   -   c o n t a i n e r P o r t :   8 0   R u n   t h e   e x a m p l e   j o b   b y   d o w n l o a d i n g   t h e   e x a m p l e   f i l e   a n d   t h e n   r u n n i n g   t h i s   c o m m a n d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / c o n t r o l l e r s / r e p l i c a t i o n . y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   r e p l i c a t i o n c o n t r o l l e r / n g i n x   c r e a t e d   C h e c k   o n   t h e   s t a t u s   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   u s i n g   t h i s   c o m m a n d :   k u b e c t l   d e s c r i b e   r e p l i c a t i o n c o n t r o l l e r s / n g i n x   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N a m e :   n g i n x   N a m e s p a c e :   d e f a u l t   S e l e c t o r :   a p p = n g i n x   L a b e l s :   a p p = n g i n x   A n n o t a t i o n s :   < n o n e >   R e p l i c a s :   3   c u r r e n t   /   3   d e s i r e d   P o d s   S t a t u s :   0   R u n n i n g   /   3   W a i t i n g   /   0   S u c c e e d e d   /   0   F a i l e d   P o d   T e m p l a t e :   L a b e l s :   a p p = n g i n x   C o n t a i n e r s :   n g i n x :   I m a g e :   n g i n x   P o r t :   8 0 / T C P   E n v i r o n m e n t :   < n o n e >   M o u n t s :   < n o n e >   V o l u m e s :   < n o n e >   E v e n t s :   F i r s t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12106"
  },
  {
    "question": "What is Writing a ReplicationController Manifest?",
    "answer": "A s   w i t h   a l l   o t h e r   K u b e r n e t e s   c o n f i g ,   a   R e p l i c a t i o n C o n t r o l l e r   n e e d s   a p i V e r s i o n ,   k i n d ,   a n d   m e t a d a t a   f i e l d s .   W h e n   t h e   c o n t r o l   p l a n e   c r e a t e s   n e w   P o d s   f o r   a   R e p l i c a t i o n C o n t r o l l e r ,   t h e   . m e t a d a t a . n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   i s   p a r t   o f   t h e   b a s i s   f o r   n a m i n g   t h o s e   P o d s .   T h e   n a m e   o f   a   R e p l i c a t i o n C o n t r o l l e r   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   v a l u e ,   b u t   t h i s   c a n   p r o d u c e   u n e x p e c t e d   r e s u l t s   f o r   t h e   P o d   h o s t n a m e s .   F o r   b e s t   c o m p a t i b i l i t y ,   t h e   n a m e   s h o u l d   f o l l o w   t h e   m o r e   r e s t r i c t i v e   r u l e s   f o r   a   D N S   l a b e l .   F o r   g e n e r a l   i n f o r m a t i o n   a b o u t   w o r k i n g   w i t h   c o n f i g u r a t i o n   f i l e s ,   s e e   o b j e c t   m a n a g e m e n t .   A   R e p l i c a t i o n C o n t r o l l e r   a l s o   n e e d s   a   . s p e c   s e c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12107"
  },
  {
    "question": "What is Pod Template?",
    "answer": "T h e   . s p e c . t e m p l a t e   i s   t h e   o n l y   r e q u i r e d   f i e l d   o f   t h e   . s p e c .   T h e   . s p e c . t e m p l a t e   i s   a   p o d   t e m p l a t e .   I t   h a s   e x a c t l y   t h e   s a m e   s c h e m a   a s   a   P o d ,   e x c e p t   i t   i s   n e s t e d   a n d   d o e s   n o t   h a v e   a n   a p i V e r s i o n   o r   k i n d .   I n   a d d i t i o n   t o   r e q u i r e d   f i e l d s   f o r   a   P o d ,   a   p o d   t e m p l a t e   i n   a   R e p l i c a t i o n C o n t r o l l e r   m u s t   s p e c i f y   a p p r o p r i a t e   l a b e l s   a n d   a n   a p p r o p r i a t e   r e s t a r t   p o l i c y .   F o r   l a b e l s ,   m a k e   s u r e   n o t   t o   o v e r l a p   w i t h   o t h e r   c o n t r o l l e r s .   S e e   p o d   s e l e c t o r .   O n l y   a   . s p e c . t e m p l a t e . s p e c . r e s t a r t P o l i c y   e q u a l   t o   A l w a y s   i s   a l l o w e d ,   w h i c h   i s   t h e   d e f a u l t   i f   n o t   s p e c i f i e d .   F o r   l o c a l   c o n t a i n e r   r e s t a r t s ,   R e p l i c a t i o n C o n t r o l l e r s   d e l e g a t e   t o   a n   a g e n t   o n   t h e   n o d e ,   f o r   e x a m p l e   t h e   K u b e l e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12108"
  },
  {
    "question": "What is Labels on the ReplicationController?",
    "answer": "T h e   R e p l i c a t i o n C o n t r o l l e r   c a n   i t s e l f   h a v e   l a b e l s   ( . m e t a d a t a . l a b e l s ) .   T y p i c a l l y ,   y o u   w o u l d   s e t   t h e s e   t h e   s a m e   a s   t h e   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s ;   i f   . m e t a d a t a . l a b e l s   i s   n o t   s p e c i f i e d   t h e n   i t   d e f a u l t s   t o   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s .   H o w e v e r ,   t h e y   a r e   a l l o w e d   t o   b e   d i f f e r e n t ,   a n d   t h e   . m e t a d a t a . l a b e l s   d o   n o t   a f f e c t   t h e   b e h a v i o r   o f   t h e   R e p l i c a t i o n C o n t r o l l e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12109"
  },
  {
    "question": "What is Pod Selector?",
    "answer": "T h e   . s p e c . s e l e c t o r   f i e l d   i s   a   l a b e l   s e l e c t o r .   A   R e p l i c a t i o n C o n t r o l l e r   m a n a g e s   a l l   t h e   p o d s   w i t h   l a b e l s   t h a t   m a t c h   t h e   s e l e c t o r .   I t   d o e s   n o t   d i s t i n g u i s h   b e t w e e n   p o d s   t h a t   i t   c r e a t e d   o r   d e l e t e d   a n d   p o d s   t h a t   a n o t h e r   p e r s o n   o r   p r o c e s s   c r e a t e d   o r   d e l e t e d .   T h i s   a l l o w s   t h e   R e p l i c a t i o n C o n t r o l l e r   t o   b e   r e p l a c e d   w i t h o u t   a f f e c t i n g   t h e   r u n n i n g   p o d s .   I f   s p e c i f i e d ,   t h e   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s   m u s t   b e   e q u a l   t o   t h e   . s p e c . s e l e c t o r ,   o r   i t   w i l l   b e   r e j e c t e d   b y   t h e   A P I .   I f   . s p e c . s e l e c t o r   i s   u n s p e c i f i e d ,   i t   w i l l   b e   d e f a u l t e d   t o   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s .   A l s o   y o u   s h o u l d   n o t   n o r m a l l y   c r e a t e   a n y   p o d s   w h o s e   l a b e l s   m a t c h   t h i s   s e l e c t o r ,   e i t h e r   d i r e c t l y ,   w i t h   a n o t h e r   R e p l i c a t i o n C o n t r o l l e r ,   o r   w i t h   a n o t h e r   c o n t r o l l e r   s u c h   a s   J o b .   I f   y o u   d o   s o ,   t h e   R e p l i c a t i o n C o n t r o l l e r   t h i n k s   t h a t   i t   c r e a t e d   t h e   o t h e r   p o d s .   K u b e r n e t e s   d o e s   n o t   s t o p   y o u   f r o m   d o i n g   t h i s .   I f   y o u   d o   e n d   u p   w i t h   m u l t i p l e   c o n t r o l l e r s   t h a t   h a v e   o v e r l a p p i n g   s e l e c t o r s ,   y o u   w i l l   h a v e   t o   m a n a g e   t h e   d e l e t i o n   y o u r s e l f   ( s e e   b e l o w ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12110"
  },
  {
    "question": "What is Multiple Replicas?",
    "answer": "Y o u   c a n   s p e c i f y   h o w   m a n y   p o d s   s h o u l d   r u n   c o n c u r r e n t l y   b y   s e t t i n g   . s p e c . r e p l i c a s   t o   t h e   n u m b e r   o f   p o d s   y o u   w o u l d   l i k e   t o   h a v e   r u n n i n g   c o n c u r r e n t l y .   T h e   n u m b e r   r u n n i n g   a t   a n y   t i m e   m a y   b e   h i g h e r   o r   l o w e r ,   s u c h   a s   i f   t h e   r e p l i c a s   w e r e   j u s t   i n c r e a s e d   o r   d e c r e a s e d ,   o r   i f   a   p o d   i s   g r a c e f u l l y   s h u t d o w n ,   a n d   a   r e p l a c e m e n t   s t a r t s   e a r l y .   I f   y o u   d o   n o t   s p e c i f y   . s p e c . r e p l i c a s ,   t h e n   i t   d e f a u l t s   t o   1 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12111"
  },
  {
    "question": "What is Deleting a ReplicationController and its Pods?",
    "answer": "T o   d e l e t e   a   R e p l i c a t i o n C o n t r o l l e r   a n d   a l l   i t s   p o d s ,   u s e   k u b e c t l   d e l e t e .   K u b e c t l   w i l l   s c a l e   t h e   R e p l i c a t i o n C o n t r o l l e r   t o   z e r o   a n d   w a i t   f o r   i t   t o   d e l e t e   e a c h   p o d   b e f o r e   d e l e t i n g   t h e   R e p l i c a t i o n C o n t r o l l e r   i t s e l f .   I f   t h i s   k u b e c t l   c o m m a n d   i s   i n t e r r u p t e d ,   i t   c a n   b e   r e s t a r t e d .   W h e n   u s i n g   t h e   R E S T   A P I   o r   c l i e n t   l i b r a r y ,   y o u   n e e d   t o   d o   t h e   s t e p s   e x p l i c i t l y   ( s c a l e   r e p l i c a s   t o   0 ,   w a i t   f o r   p o d   d e l e t i o n s ,   t h e n   d e l e t e   t h e   R e p l i c a t i o n C o n t r o l l e r ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12112"
  },
  {
    "question": "What is Deleting only a ReplicationController?",
    "answer": "Y o u   c a n   d e l e t e   a   R e p l i c a t i o n C o n t r o l l e r   w i t h o u t   a f f e c t i n g   a n y   o f   i t s   p o d s .   U s i n g   k u b e c t l ,   s p e c i f y   t h e   - - c a s c a d e = o r p h a n   o p t i o n   t o   k u b e c t l   d e l e t e .   W h e n   u s i n g   t h e   R E S T   A P I   o r   c l i e n t   l i b r a r y ,   y o u   c a n   d e l e t e   t h e   R e p l i c a t i o n C o n t r o l l e r   o b j e c t .   O n c e   t h e   o r i g i n a l   i s   d e l e t e d ,   y o u   c a n   c r e a t e   a   n e w   R e p l i c a t i o n C o n t r o l l e r   t o   r e p l a c e   i t .   A s   l o n g   a s   t h e   o l d   a n d   n e w   . s p e c . s e l e c t o r   a r e   t h e   s a m e ,   t h e n   t h e   n e w   o n e   w i l l   a d o p t   t h e   o l d   p o d s .   H o w e v e r ,   i t   w i l l   n o t   m a k e   a n y   e f f o r t   t o   m a k e   e x i s t i n g   p o d s   m a t c h   a   n e w ,   d i f f e r e n t   p o d   t e m p l a t e .   T o   u p d a t e   p o d s   t o   a   n e w   s p e c   i n   a   c o n t r o l l e d   w a y ,   u s e   a   r o l l i n g   u p d a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12113"
  },
  {
    "question": "What is Isolating pods from a ReplicationController?",
    "answer": "P o d s   m a y   b e   r e m o v e d   f r o m   a   R e p l i c a t i o n C o n t r o l l e r ' s   t a r g e t   s e t   b y   c h a n g i n g   t h e i r   l a b e l s .   T h i s   t e c h n i q u e   m a y   b e   u s e d   t o   r e m o v e   p o d s   f r o m   s e r v i c e   f o r   d e b u g g i n g   a n d   d a t a   r e c o v e r y .   P o d s   t h a t   a r e   r e m o v e d   i n   t h i s   w a y   w i l l   b e   r e p l a c e d   a u t o m a t i c a l l y   ( a s s u m i n g   t h a t   t h e   n u m b e r   o f   r e p l i c a s   i s   n o t   a l s o   c h a n g e d ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12114"
  },
  {
    "question": "What is Rescheduling?",
    "answer": "A s   m e n t i o n e d   a b o v e ,   w h e t h e r   y o u   h a v e   1   p o d   y o u   w a n t   t o   k e e p   r u n n i n g ,   o r   1 0 0 0 ,   a   R e p l i c a t i o n C o n t r o l l e r   w i l l   e n s u r e   t h a t   t h e   s p e c i f i e d   n u m b e r   o f   p o d s   e x i s t s ,   e v e n   i n   t h e   e v e n t   o f   n o d e   f a i l u r e   o r   p o d   t e r m i n a t i o n   ( f o r   e x a m p l e ,   d u e   t o   a n   a c t i o n   b y   a n o t h e r   c o n t r o l   a g e n t ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12115"
  },
  {
    "question": "What is Scaling?",
    "answer": "T h e   R e p l i c a t i o n C o n t r o l l e r   e n a b l e s   s c a l i n g   t h e   n u m b e r   o f   r e p l i c a s   u p   o r   d o w n ,   e i t h e r   m a n u a l l y   o r   b y   a n   a u t o - s c a l i n g   c o n t r o l   a g e n t ,   b y   u p d a t i n g   t h e   r e p l i c a s   f i e l d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12116"
  },
  {
    "question": "What is Rolling updates?",
    "answer": "T h e   R e p l i c a t i o n C o n t r o l l e r   i s   d e s i g n e d   t o   f a c i l i t a t e   r o l l i n g   u p d a t e s   t o   a   s e r v i c e   b y   r e p l a c i n g   p o d s   o n e - b y - o n e .   A s   e x p l a i n e d   i n   # 1 3 5 3 ,   t h e   r e c o m m e n d e d   a p p r o a c h   i s   t o   c r e a t e   a   n e w   R e p l i c a t i o n C o n t r o l l e r   w i t h   1   r e p l i c a ,   s c a l e   t h e   n e w   ( + 1 )   a n d   o l d   ( - 1 )   c o n t r o l l e r s   o n e   b y   o n e ,   a n d   t h e n   d e l e t e   t h e   o l d   c o n t r o l l e r   a f t e r   i t   r e a c h e s   0   r e p l i c a s .   T h i s   p r e d i c t a b l y   u p d a t e s   t h e   s e t   o f   p o d s   r e g a r d l e s s   o f   u n e x p e c t e d   f a i l u r e s .   I d e a l l y ,   t h e   r o l l i n g   u p d a t e   c o n t r o l l e r   w o u l d   t a k e   a p p l i c a t i o n   r e a d i n e s s   i n t o   a c c o u n t ,   a n d   w o u l d   e n s u r e   t h a t   a   s u f f i c i e n t   n u m b e r   o f   p o d s   w e r e   p r o d u c t i v e l y   s e r v i n g   a t   a n y   g i v e n   t i m e .   T h e   t w o   R e p l i c a t i o n C o n t r o l l e r s   w o u l d   n e e d   t o   c r e a t e   p o d s   w i t h   a t   l e a s t   o n e   d i f f e r e n t i a t i n g   l a b e l ,   s u c h   a s   t h e   i m a g e   t a g   o f   t h e   p r i m a r y   c o n t a i n e r   o f   t h e   p o d ,   s i n c e   i t   i s   t y p i c a l l y   i m a g e   u p d a t e s   t h a t   m o t i v a t e   r o l l i n g   u p d a t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12117"
  },
  {
    "question": "What is Multiple release tracks?",
    "answer": "I n   a d d i t i o n   t o   r u n n i n g   m u l t i p l e   r e l e a s e s   o f   a n   a p p l i c a t i o n   w h i l e   a   r o l l i n g   u p d a t e   i s   i n   p r o g r e s s ,   i t ' s   c o m m o n   t o   r u n   m u l t i p l e   r e l e a s e s   f o r   a n   e x t e n d e d   p e r i o d   o f   t i m e ,   o r   e v e n   c o n t i n u o u s l y ,   u s i n g   m u l t i p l e   r e l e a s e   t r a c k s .   T h e   t r a c k s   w o u l d   b e   d i f f e r e n t i a t e d   b y   l a b e l s .   F o r   i n s t a n c e ,   a   s e r v i c e   m i g h t   t a r g e t   a l l   p o d s   w i t h   t i e r   i n   ( f r o n t e n d ) ,   e n v i r o n m e n t   i n   ( p r o d ) .   N o w   s a y   y o u   h a v e   1 0   r e p l i c a t e d   p o d s   t h a t   m a k e   u p   t h i s   t i e r .   B u t   y o u   w a n t   t o   b e   a b l e   t o   ' c a n a r y '   a   n e w   v e r s i o n   o f   t h i s   c o m p o n e n t .   Y o u   c o u l d   s e t   u p   a   R e p l i c a t i o n C o n t r o l l e r   w i t h   r e p l i c a s   s e t   t o   9   f o r   t h e   b u l k   o f   t h e   r e p l i c a s ,   w i t h   l a b e l s   t i e r = f r o n t e n d ,   e n v i r o n m e n t = p r o d ,   t r a c k = s t a b l e ,   a n d   a n o t h e r   R e p l i c a t i o n C o n t r o l l e r   w i t h   r e p l i c a s   s e t   t o   1   f o r   t h e   c a n a r y ,   w i t h   l a b e l s   t i e r = f r o n t e n d ,   e n v i r o n m e n t = p r o d ,   t r a c k = c a n a r y .   N o w   t h e   s e r v i c e   i s   c o v e r i n g   b o t h   t h e   c a n a r y   a n d   n o n - c a n a r y   p o d s .   B u t   y o u   c a n   m e s s   w i t h   t h e   R e p l i c a t i o n C o n t r o l l e r s   s e p a r a t e l y   t o   t e s t   t h i n g s   o u t ,   m o n i t o r   t h e   r e s u l t s ,   e t c .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12118"
  },
  {
    "question": "What is Using ReplicationControllers with Services?",
    "answer": "M u l t i p l e   R e p l i c a t i o n C o n t r o l l e r s   c a n   s i t   b e h i n d   a   s i n g l e   s e r v i c e ,   s o   t h a t ,   f o r   e x a m p l e ,   s o m e   t r a f f i c   g o e s   t o   t h e   o l d   v e r s i o n ,   a n d   s o m e   g o e s   t o   t h e   n e w   v e r s i o n .   A   R e p l i c a t i o n C o n t r o l l e r   w i l l   n e v e r   t e r m i n a t e   o n   i t s   o w n ,   b u t   i t   i s n ' t   e x p e c t e d   t o   b e   a s   l o n g - l i v e d   a s   s e r v i c e s .   S e r v i c e s   m a y   b e   c o m p o s e d   o f   p o d s   c o n t r o l l e d   b y   m u l t i p l e   R e p l i c a t i o n C o n t r o l l e r s ,   a n d   i t   i s   e x p e c t e d   t h a t   m a n y   R e p l i c a t i o n C o n t r o l l e r s   m a y   b e   c r e a t e d   a n d   d e s t r o y e d   o v e r   t h e   l i f e t i m e   o f   a   s e r v i c e   ( f o r   i n s t a n c e ,   t o   p e r f o r m   a n   u p d a t e   o f   p o d s   t h a t   r u n   t h e   s e r v i c e ) .   B o t h   s e r v i c e s   t h e m s e l v e s   a n d   t h e i r   c l i e n t s   s h o u l d   r e m a i n   o b l i v i o u s   t o   t h e   R e p l i c a t i o n C o n t r o l l e r s   t h a t   m a i n t a i n   t h e   p o d s   o f   t h e   s e r v i c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12119"
  },
  {
    "question": "What is Writing programs for Replication?",
    "answer": "P o d s   c r e a t e d   b y   a   R e p l i c a t i o n C o n t r o l l e r   a r e   i n t e n d e d   t o   b e   f u n g i b l e   a n d   s e m a n t i c a l l y   i d e n t i c a l ,   t h o u g h   t h e i r   c o n f i g u r a t i o n s   m a y   b e c o m e   h e t e r o g e n e o u s   o v e r   t i m e .   T h i s   i s   a n   o b v i o u s   f i t   f o r   r e p l i c a t e d   s t a t e l e s s   s e r v e r s ,   b u t   R e p l i c a t i o n C o n t r o l l e r s   c a n   a l s o   b e   u s e d   t o   m a i n t a i n   a v a i l a b i l i t y   o f   m a s t e r - e l e c t e d ,   s h a r d e d ,   a n d   w o r k e r - p o o l   a p p l i c a t i o n s .   S u c h   a p p l i c a t i o n s   s h o u l d   u s e   d y n a m i c   w o r k   a s s i g n m e n t   m e c h a n i s m s ,   s u c h   a s   t h e   R a b b i t M Q   w o r k   q u e u e s ,   a s   o p p o s e d   t o   s t a t i c / o n e - t i m e   c u s t o m i z a t i o n   o f   t h e   c o n f i g u r a t i o n   o f   e a c h   p o d ,   w h i c h   i s   c o n s i d e r e d   a n   a n t i - p a t t e r n .   A n y   p o d   c u s t o m i z a t i o n   p e r f o r m e d ,   s u c h   a s   v e r t i c a l   a u t o - s i z i n g   o f   r e s o u r c e s   ( f o r   e x a m p l e ,   c p u   o r   m e m o r y ) ,   s h o u l d   b e   p e r f o r m e d   b y   a n o t h e r   o n l i n e   c o n t r o l l e r   p r o c e s s ,   n o t   u n l i k e   t h e   R e p l i c a t i o n C o n t r o l l e r   i t s e l f .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12120"
  },
  {
    "question": "What is Responsibilities of the ReplicationController?",
    "answer": "T h e   R e p l i c a t i o n C o n t r o l l e r   e n s u r e s   t h a t   t h e   d e s i r e d   n u m b e r   o f   p o d s   m a t c h e s   i t s   l a b e l   s e l e c t o r   a n d   a r e   o p e r a t i o n a l .   C u r r e n t l y ,   o n l y   t e r m i n a t e d   p o d s   a r e   e x c l u d e d   f r o m   i t s   c o u n t .   I n   t h e   f u t u r e ,   r e a d i n e s s   a n d   o t h e r   i n f o r m a t i o n   a v a i l a b l e   f r o m   t h e   s y s t e m   m a y   b e   t a k e n   i n t o   a c c o u n t ,   w e   m a y   a d d   m o r e   c o n t r o l s   o v e r   t h e   r e p l a c e m e n t   p o l i c y ,   a n d   w e   p l a n   t o   e m i t   e v e n t s   t h a t   c o u l d   b e   u s e d   b y   e x t e r n a l   c l i e n t s   t o   i m p l e m e n t   a r b i t r a r i l y   s o p h i s t i c a t e d   r e p l a c e m e n t   a n d / o r   s c a l e - d o w n   p o l i c i e s .   T h e   R e p l i c a t i o n C o n t r o l l e r   i s   f o r e v e r   c o n s t r a i n e d   t o   t h i s   n a r r o w   r e s p o n s i b i l i t y .   I t   i t s e l f   w i l l   n o t   p e r f o r m   r e a d i n e s s   n o r   l i v e n e s s   p r o b e s .   R a t h e r   t h a n   p e r f o r m i n g   a u t o - s c a l i n g ,   i t   i s   i n t e n d e d   t o   b e   c o n t r o l l e d   b y   a n   e x t e r n a l   a u t o - s c a l e r   ( a s   d i s c u s s e d   i n   # 4 9 2 ) ,   w h i c h   w o u l d   c h a n g e   i t s   r e p l i c a s   f i e l d .   W e   w i l l   n o t   a d d   s c h e d u l i n g   p o l i c i e s   ( f o r   e x a m p l e ,   s p r e a d i n g )   t o   t h e   R e p l i c a t i o n C o n t r o l l e r .   N o r   s h o u l d   i t   v e r i f y   t h a t   t h e   p o d s   c o n t r o l l e d   m a t c h   t h e   c u r r e n t l y   s p e c i f i e d   t e m p l a t e ,   a s   t h a t   w o u l d   o b s t r u c t   a u t o - s i z i n g   a n d   o t h e r   a u t o m a t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12121"
  },
  {
    "question": "What is API Object?",
    "answer": "R e p l i c a t i o n   c o n t r o l l e r   i s   a   t o p - l e v e l   r e s o u r c e   i n   t h e   K u b e r n e t e s   R E S T   A P I .   M o r e   d e t a i l s   a b o u t   t h e   A P I   o b j e c t   c a n   b e   f o u n d   a t :   R e p l i c a t i o n C o n t r o l l e r   A P I   o b j e c t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12122"
  },
  {
    "question": "What is ReplicaSet?",
    "answer": "R e p l i c a S e t   i s   t h e   n e x t - g e n e r a t i o n   R e p l i c a t i o n C o n t r o l l e r   t h a t   s u p p o r t s   t h e   n e w   s e t - b a s e d   l a b e l   s e l e c t o r .   I t ' s   m a i n l y   u s e d   b y   D e p l o y m e n t   a s   a   m e c h a n i s m   t o   o r c h e s t r a t e   p o d   c r e a t i o n ,   d e l e t i o n   a n d   u p d a t e s .   N o t e   t h a t   w e   r e c o m m e n d   u s i n g   D e p l o y m e n t s   i n s t e a d   o f   d i r e c t l y   u s i n g   R e p l i c a   S e t s ,   u n l e s s   y o u   r e q u i r e   c u s t o m   u p d a t e   o r c h e s t r a t i o n   o r   d o n ' t   r e q u i r e   u p d a t e s   a t   a l l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12123"
  },
  {
    "question": "What is Deployment (Recommended)?",
    "answer": "D e p l o y m e n t   i s   a   h i g h e r - l e v e l   A P I   o b j e c t   t h a t   u p d a t e s   i t s   u n d e r l y i n g   R e p l i c a   S e t s   a n d   t h e i r   P o d s .   D e p l o y m e n t s   a r e   r e c o m m e n d e d   i f   y o u   w a n t   t h e   r o l l i n g   u p d a t e   f u n c t i o n a l i t y ,   b e c a u s e   t h e y   a r e   d e c l a r a t i v e ,   s e r v e r - s i d e ,   a n d   h a v e   a d d i t i o n a l   f e a t u r e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12124"
  },
  {
    "question": "What is Bare Pods?",
    "answer": "U n l i k e   i n   t h e   c a s e   w h e r e   a   u s e r   d i r e c t l y   c r e a t e d   p o d s ,   a   R e p l i c a t i o n C o n t r o l l e r   r e p l a c e s   p o d s   t h a t   a r e   d e l e t e d   o r   t e r m i n a t e d   f o r   a n y   r e a s o n ,   s u c h   a s   i n   t h e   c a s e   o f   n o d e   f a i l u r e   o r   d i s r u p t i v e   n o d e   m a i n t e n a n c e ,   s u c h   a s   a   k e r n e l   u p g r a d e .   F o r   t h i s   r e a s o n ,   w e   r e c o m m e n d   t h a t   y o u   u s e   a   R e p l i c a t i o n C o n t r o l l e r   e v e n   i f   y o u r   a p p l i c a t i o n   r e q u i r e s   o n l y   a   s i n g l e   p o d .   T h i n k   o f   i t   s i m i l a r l y   t o   a   p r o c e s s   s u p e r v i s o r ,   o n l y   i t   s u p e r v i s e s   m u l t i p l e   p o d s   a c r o s s   m u l t i p l e   n o d e s   i n s t e a d   o f   i n d i v i d u a l   p r o c e s s e s   o n   a   s i n g l e   n o d e .   A   R e p l i c a t i o n C o n t r o l l e r   d e l e g a t e s   l o c a l   c o n t a i n e r   r e s t a r t s   t o   s o m e   a g e n t   o n   t h e   n o d e ,   s u c h   a s   t h e   k u b e l e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12125"
  },
  {
    "question": "What is Job?",
    "answer": "U s e   a   J o b   i n s t e a d   o f   a   R e p l i c a t i o n C o n t r o l l e r   f o r   p o d s   t h a t   a r e   e x p e c t e d   t o   t e r m i n a t e   o n   t h e i r   o w n   ( t h a t   i s ,   b a t c h   j o b s ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12126"
  },
  {
    "question": "What is DaemonSet?",
    "answer": "U s e   a   D a e m o n S e t   i n s t e a d   o f   a   R e p l i c a t i o n C o n t r o l l e r   f o r   p o d s   t h a t   p r o v i d e   a   m a c h i n e - l e v e l   f u n c t i o n ,   s u c h   a s   m a c h i n e   m o n i t o r i n g   o r   m a c h i n e   l o g g i n g .   T h e s e   p o d s   h a v e   a   l i f e t i m e   t h a t   i s   t i e d   t o   a   m a c h i n e   l i f e t i m e :   t h e   p o d   n e e d s   t o   b e   r u n n i n g   o n   t h e   m a c h i n e   b e f o r e   o t h e r   p o d s   s t a r t ,   a n d   a r e   s a f e   t o   t e r m i n a t e   w h e n   t h e   m a c h i n e   i s   o t h e r w i s e   r e a d y   t o   b e   r e b o o t e d / s h u t d o w n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12127"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   P o d s . L e a r n   a b o u t   D e p l o y m e n t ,   t h e   r e p l a c e m e n t   f o r   R e p l i c a t i o n C o n t r o l l e r . R e p l i c a t i o n C o n t r o l l e r   i s   p a r t   o f   t h e   K u b e r n e t e s   R E S T   A P I .   R e a d   t h e   R e p l i c a t i o n C o n t r o l l e r   o b j e c t   d e f i n i t i o n   t o   u n d e r s t a n d   t h e   A P I   f o r   r e p l i c a t i o n   c o n t r o l l e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12128"
  },
  {
    "question": "What is 4.3 - Autoscaling Workloads?",
    "answer": "I n   K u b e r n e t e s ,   y o u   c a n   s c a l e   a   w o r k l o a d   d e p e n d i n g   o n   t h e   c u r r e n t   d e m a n d   o f   r e s o u r c e s .   T h i s   a l l o w s   y o u r   c l u s t e r   t o   r e a c t   t o   c h a n g e s   i n   r e s o u r c e   d e m a n d   m o r e   e l a s t i c a l l y   a n d   e f f i c i e n t l y .   W h e n   y o u   s c a l e   a   w o r k l o a d ,   y o u   c a n   e i t h e r   i n c r e a s e   o r   d e c r e a s e   t h e   n u m b e r   o f   r e p l i c a s   m a n a g e d   b y   t h e   w o r k l o a d ,   o r   a d j u s t   t h e   r e s o u r c e s   a v a i l a b l e   t o   t h e   r e p l i c a s   i n - p l a c e .   T h e   f i r s t   a p p r o a c h   i s   r e f e r r e d   t o   a s   h o r i z o n t a l   s c a l i n g ,   w h i l e   t h e   s e c o n d   i s   r e f e r r e d   t o   a s   v e r t i c a l   s c a l i n g .   T h e r e   a r e   m a n u a l   a n d   a u t o m a t i c   w a y s   t o   s c a l e   y o u r   w o r k l o a d s ,   d e p e n d i n g   o n   y o u r   u s e   c a s e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12129"
  },
  {
    "question": "What is Scaling workloads manually?",
    "answer": "K u b e r n e t e s   s u p p o r t s   m a n u a l   s c a l i n g   o f   w o r k l o a d s .   H o r i z o n t a l   s c a l i n g   c a n   b e   d o n e   u s i n g   t h e   k u b e c t l   C L I .   F o r   v e r t i c a l   s c a l i n g ,   y o u   n e e d   t o   p a t c h   t h e   r e s o u r c e   d e f i n i t i o n   o f   y o u r   w o r k l o a d .   S e e   b e l o w   f o r   e x a m p l e s   o f   b o t h   s t r a t e g i e s .   H o r i z o n t a l   s c a l i n g :   R u n n i n g   m u l t i p l e   i n s t a n c e s   o f   y o u r   a p p V e r t i c a l   s c a l i n g :   R e s i z i n g   C P U   a n d   m e m o r y   r e s o u r c e s   a s s i g n e d   t o   c o n t a i n e r s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12130"
  },
  {
    "question": "What is Scaling workloads automatically?",
    "answer": "K u b e r n e t e s   a l s o   s u p p o r t s   a u t o m a t i c   s c a l i n g   o f   w o r k l o a d s ,   w h i c h   i s   t h e   f o c u s   o f   t h i s   p a g e .   T h e   c o n c e p t   o f   A u t o s c a l i n g   i n   K u b e r n e t e s   r e f e r s   t o   t h e   a b i l i t y   t o   a u t o m a t i c a l l y   u p d a t e   a n   o b j e c t   t h a t   m a n a g e s   a   s e t   o f   P o d s   ( f o r   e x a m p l e   a   D e p l o y m e n t ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12131"
  },
  {
    "question": "What is Scaling workloads horizontally?",
    "answer": "I n   K u b e r n e t e s ,   y o u   c a n   a u t o m a t i c a l l y   s c a l e   a   w o r k l o a d   h o r i z o n t a l l y   u s i n g   a   H o r i z o n t a l P o d A u t o s c a l e r   ( H P A ) .   I t   i s   i m p l e m e n t e d   a s   a   K u b e r n e t e s   A P I   r e s o u r c e   a n d   a   c o n t r o l l e r   a n d   p e r i o d i c a l l y   a d j u s t s   t h e   n u m b e r   o f   r e p l i c a s   i n   a   w o r k l o a d   t o   m a t c h   o b s e r v e d   r e s o u r c e   u t i l i z a t i o n   s u c h   a s   C P U   o r   m e m o r y   u s a g e .   T h e r e   i s   a   w a l k t h r o u g h   t u t o r i a l   o f   c o n f i g u r i n g   a   H o r i z o n t a l P o d A u t o s c a l e r   f o r   a   D e p l o y m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12132"
  },
  {
    "question": "What is Scaling workloads vertically?",
    "answer": "Y o u   c a n   a u t o m a t i c a l l y   s c a l e   a   w o r k l o a d   v e r t i c a l l y   u s i n g   a   V e r t i c a l P o d A u t o s c a l e r   ( V P A ) .   U n l i k e   t h e   H P A ,   t h e   V P A   d o e s n ' t   c o m e   w i t h   K u b e r n e t e s   b y   d e f a u l t ,   b u t   i s   a   s e p a r a t e   p r o j e c t   t h a t   c a n   b e   f o u n d   o n   G i t H u b .   O n c e   i n s t a l l e d ,   i t   a l l o w s   y o u   t o   c r e a t e   C u s t o m R e s o u r c e D e f i n i t i o n s   ( C R D s )   f o r   y o u r   w o r k l o a d s   w h i c h   d e f i n e   h o w   a n d   w h e n   t o   s c a l e   t h e   r e s o u r c e s   o f   t h e   m a n a g e d   r e p l i c a s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12133"
  },
  {
    "question": "What is Note:?",
    "answer": "A t   t h e   m o m e n t ,   t h e   V P A   c a n   o p e r a t e   i n   f o u r   d i f f e r e n t   m o d e s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12134"
  },
  {
    "question": "What is In-place pod vertical scaling?",
    "answer": "A s   o f   K u b e r n e t e s   1 . 3 4 ,   V P A   d o e s   n o t   s u p p o r t   r e s i z i n g   p o d s   i n - p l a c e ,   b u t   t h i s   i n t e g r a t i o n   i s   b e i n g   w o r k e d   o n .   F o r   m a n u a l l y   r e s i z i n g   p o d s   i n - p l a c e ,   s e e   R e s i z e   C o n t a i n e r   R e s o u r c e s   I n - P l a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12135"
  },
  {
    "question": "What is Autoscaling based on cluster size?",
    "answer": "F o r   w o r k l o a d s   t h a t   n e e d   t o   b e   s c a l e d   b a s e d   o n   t h e   s i z e   o f   t h e   c l u s t e r   ( f o r   e x a m p l e   c l u s t e r - d n s   o r   o t h e r   s y s t e m   c o m p o n e n t s ) ,   y o u   c a n   u s e   t h e   C l u s t e r   P r o p o r t i o n a l   A u t o s c a l e r .   J u s t   l i k e   t h e   V P A ,   i t   i s   n o t   p a r t   o f   t h e   K u b e r n e t e s   c o r e ,   b u t   h o s t e d   a s   i t s   o w n   p r o j e c t   o n   G i t H u b .   T h e   C l u s t e r   P r o p o r t i o n a l   A u t o s c a l e r   w a t c h e s   t h e   n u m b e r   o f   s c h e d u l a b l e   n o d e s   a n d   c o r e s   a n d   s c a l e s   t h e   n u m b e r   o f   r e p l i c a s   o f   t h e   t a r g e t   w o r k l o a d   a c c o r d i n g l y .   I f   t h e   n u m b e r   o f   r e p l i c a s   s h o u l d   s t a y   t h e   s a m e ,   y o u   c a n   s c a l e   y o u r   w o r k l o a d s   v e r t i c a l l y   a c c o r d i n g   t o   t h e   c l u s t e r   s i z e   u s i n g   t h e   C l u s t e r   P r o p o r t i o n a l   V e r t i c a l   A u t o s c a l e r .   T h e   p r o j e c t   i s   c u r r e n t l y   i n   b e t a   a n d   c a n   b e   f o u n d   o n   G i t H u b .   W h i l e   t h e   C l u s t e r   P r o p o r t i o n a l   A u t o s c a l e r   s c a l e s   t h e   n u m b e r   o f   r e p l i c a s   o f   a   w o r k l o a d ,   t h e   C l u s t e r   P r o p o r t i o n a l   V e r t i c a l   A u t o s c a l e r   a d j u s t s   t h e   r e s o u r c e   r e q u e s t s   f o r   a   w o r k l o a d   ( f o r   e x a m p l e   a   D e p l o y m e n t   o r   D a e m o n S e t )   b a s e d   o n   t h e   n u m b e r   o f   n o d e s   a n d / o r   c o r e s   i n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12136"
  },
  {
    "question": "What is Event driven Autoscaling?",
    "answer": "I t   i s   a l s o   p o s s i b l e   t o   s c a l e   w o r k l o a d s   b a s e d   o n   e v e n t s ,   f o r   e x a m p l e   u s i n g   t h e   K u b e r n e t e s   E v e n t   D r i v e n   A u t o s c a l e r   ( K E D A ) .   K E D A   i s   a   C N C F - g r a d u a t e d   p r o j e c t   e n a b l i n g   y o u   t o   s c a l e   y o u r   w o r k l o a d s   b a s e d   o n   t h e   n u m b e r   o f   e v e n t s   t o   b e   p r o c e s s e d ,   f o r   e x a m p l e   t h e   a m o u n t   o f   m e s s a g e s   i n   a   q u e u e .   T h e r e   e x i s t s   a   w i d e   r a n g e   o f   a d a p t e r s   f o r   d i f f e r e n t   e v e n t   s o u r c e s   t o   c h o o s e   f r o m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12137"
  },
  {
    "question": "What is Autoscaling based on schedules?",
    "answer": "A n o t h e r   s t r a t e g y   f o r   s c a l i n g   y o u r   w o r k l o a d s   i s   t o   s c h e d u l e   t h e   s c a l i n g   o p e r a t i o n s ,   f o r   e x a m p l e   i n   o r d e r   t o   r e d u c e   r e s o u r c e   c o n s u m p t i o n   d u r i n g   o f f - p e a k   h o u r s .   S i m i l a r   t o   e v e n t   d r i v e n   a u t o s c a l i n g ,   s u c h   b e h a v i o r   c a n   b e   a c h i e v e d   u s i n g   K E D A   i n   c o n j u n c t i o n   w i t h   i t s   C r o n   s c a l e r .   T h e   C r o n   s c a l e r   a l l o w s   y o u   t o   d e f i n e   s c h e d u l e s   ( a n d   t i m e   z o n e s )   f o r   s c a l i n g   y o u r   w o r k l o a d s   i n   o r   o u t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12138"
  },
  {
    "question": "What is Scaling cluster infrastructure?",
    "answer": "I f   s c a l i n g   w o r k l o a d s   i s n ' t   e n o u g h   t o   m e e t   y o u r   n e e d s ,   y o u   c a n   a l s o   s c a l e   y o u r   c l u s t e r   i n f r a s t r u c t u r e   i t s e l f .   S c a l i n g   t h e   c l u s t e r   i n f r a s t r u c t u r e   n o r m a l l y   m e a n s   a d d i n g   o r   r e m o v i n g   n o d e s .   R e a d   N o d e   a u t o s c a l i n g   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12139"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   s c a l i n g   h o r i z o n t a l l y S c a l e   a   S t a t e f u l S e t H o r i z o n t a l P o d A u t o s c a l e r   W a l k t h r o u g h R e s i z e   C o n t a i n e r   R e s o u r c e s   I n - P l a c e A u t o s c a l e   t h e   D N S   S e r v i c e   i n   a   C l u s t e r L e a r n   a b o u t   N o d e   a u t o s c a l i n g   S c a l e   a   S t a t e f u l S e t H o r i z o n t a l P o d A u t o s c a l e r   W a l k t h r o u g h",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12140"
  },
  {
    "question": "What is 4.4 - Managing Workloads?",
    "answer": "Y o u ' v e   d e p l o y e d   y o u r   a p p l i c a t i o n   a n d   e x p o s e d   i t   v i a   a   S e r v i c e .   N o w   w h a t ?   K u b e r n e t e s   p r o v i d e s   a   n u m b e r   o f   t o o l s   t o   h e l p   y o u   m a n a g e   y o u r   a p p l i c a t i o n   d e p l o y m e n t ,   i n c l u d i n g   s c a l i n g   a n d   u p d a t i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12141"
  },
  {
    "question": "What is Organizing resource configurations?",
    "answer": "M a n y   a p p l i c a t i o n s   r e q u i r e   m u l t i p l e   r e s o u r c e s   t o   b e   c r e a t e d ,   s u c h   a s   a   D e p l o y m e n t   a l o n g   w i t h   a   S e r v i c e .   M a n a g e m e n t   o f   m u l t i p l e   r e s o u r c e s   c a n   b e   s i m p l i f i e d   b y   g r o u p i n g   t h e m   t o g e t h e r   i n   t h e   s a m e   f i l e   ( s e p a r a t e d   b y   - - -   i n   Y A M L ) .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - n g i n x - s v c   l a b e l s :   a p p :   n g i n x   s p e c :   t y p e :   L o a d B a l a n c e r   p o r t s :   -   p o r t :   8 0   s e l e c t o r :   a p p :   n g i n x   - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   m y - n g i n x   l a b e l s :   a p p :   n g i n x   s p e c :   r e p l i c a s :   3   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0   M u l t i p l e   r e s o u r c e s   c a n   b e   c r e a t e d   t h e   s a m e   w a y   a s   a   s i n g l e   r e s o u r c e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / n g i n x - a p p . y a m l   s e r v i c e / m y - n g i n x - s v c   c r e a t e d   d e p l o y m e n t . a p p s / m y - n g i n x   c r e a t e d   T h e   r e s o u r c e s   w i l l   b e   c r e a t e d   i n   t h e   o r d e r   t h e y   a p p e a r   i n   t h e   m a n i f e s t .   T h e r e f o r e ,   i t ' s   b e s t   t o   s p e c i f y   t h e   S e r v i c e   f i r s t ,   s i n c e   t h a t   w i l l   e n s u r e   t h e   s c h e d u l e r   c a n   s p r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12142"
  },
  {
    "question": "What is External tools?",
    "answer": "T h i s   s e c t i o n   l i s t s   o n l y   t h e   m o s t   c o m m o n   t o o l s   u s e d   f o r   m a n a g i n g   w o r k l o a d s   o n   K u b e r n e t e s .   T o   s e e   a   l a r g e r   l i s t ,   v i e w   A p p l i c a t i o n   d e f i n i t i o n   a n d   i m a g e   b u i l d   i n   t h e   C N C F   L a n d s c a p e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12143"
  },
  {
    "question": "What is Helm?",
    "answer": "H e l m   i s   a   t o o l   f o r   m a n a g i n g   p a c k a g e s   o f   p r e - c o n f i g u r e d   K u b e r n e t e s   r e s o u r c e s .   T h e s e   p a c k a g e s   a r e   k n o w n   a s   H e l m   c h a r t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12144"
  },
  {
    "question": "What is Kustomize?",
    "answer": "K u s t o m i z e   t r a v e r s e s   a   K u b e r n e t e s   m a n i f e s t   t o   a d d ,   r e m o v e   o r   u p d a t e   c o n f i g u r a t i o n   o p t i o n s .   I t   i s   a v a i l a b l e   b o t h   a s   a   s t a n d a l o n e   b i n a r y   a n d   a s   a   n a t i v e   f e a t u r e   o f   k u b e c t l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12145"
  },
  {
    "question": "What is Bulk operations in kubectl?",
    "answer": "R e s o u r c e   c r e a t i o n   i s n ' t   t h e   o n l y   o p e r a t i o n   t h a t   k u b e c t l   c a n   p e r f o r m   i n   b u l k .   I t   c a n   a l s o   e x t r a c t   r e s o u r c e   n a m e s   f r o m   c o n f i g u r a t i o n   f i l e s   i n   o r d e r   t o   p e r f o r m   o t h e r   o p e r a t i o n s ,   i n   p a r t i c u l a r   t o   d e l e t e   t h e   s a m e   r e s o u r c e s   y o u   c r e a t e d :   k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / n g i n x - a p p . y a m l   d e p l o y m e n t . a p p s   \" m y - n g i n x \"   d e l e t e d   s e r v i c e   \" m y - n g i n x - s v c \"   d e l e t e d   I n   t h e   c a s e   o f   t w o   r e s o u r c e s ,   y o u   c a n   s p e c i f y   b o t h   r e s o u r c e s   o n   t h e   c o m m a n d   l i n e   u s i n g   t h e   r e s o u r c e / n a m e   s y n t a x :   k u b e c t l   d e l e t e   d e p l o y m e n t s / m y - n g i n x   s e r v i c e s / m y - n g i n x - s v c   F o r   l a r g e r   n u m b e r s   o f   r e s o u r c e s ,   y o u ' l l   f i n d   i t   e a s i e r   t o   s p e c i f y   t h e   s e l e c t o r   ( l a b e l   q u e r y )   s p e c i f i e d   u s i n g   - l   o r   - - s e l e c t o r ,   t o   f i l t e r   r e s o u r c e s   b y   t h e i r   l a b e l s :   k u b e c t l   d e l e t e   d e p l o y m e n t , s e r v i c e s   - l   a p p = n g i n x   d e p l o y m e n t . a p p s   \" m y - n g i n x \"   d e l e t e d   s e r v i c e   \" m y - n g i n x - s v c \"   d e l e t e d",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12146"
  },
  {
    "question": "What is Chaining and filtering?",
    "answer": "B e c a u s e   k u b e c t l   o u t p u t s   r e s o u r c e   n a m e s   i n   t h e   s a m e   s y n t a x   i t   a c c e p t s ,   y o u   c a n   c h a i n   o p e r a t i o n s   u s i n g   $ ( )   o r   x a r g s :   k u b e c t l   g e t   $ ( k u b e c t l   c r e a t e   - f   d o c s / c o n c e p t s / c l u s t e r - a d m i n i s t r a t i o n / n g i n x /   - o   n a m e   |   g r e p   s e r v i c e /   )   k u b e c t l   c r e a t e   - f   d o c s / c o n c e p t s / c l u s t e r - a d m i n i s t r a t i o n / n g i n x /   - o   n a m e   |   g r e p   s e r v i c e /   |   x a r g s   - i   k u b e c t l   g e t   ' { } '   T h e   o u t p u t   m i g h t   b e   s i m i l a r   t o :   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   m y - n g i n x - s v c   L o a d B a l a n c e r   1 0 . 0 . 0 . 2 0 8   < p e n d i n g >   8 0 / T C P   0 s   W i t h   t h e   a b o v e   c o m m a n d s ,   f i r s t   y o u   c r e a t e   r e s o u r c e s   u n d e r   e x a m p l e s / a p p l i c a t i o n / n g i n x /   a n d   p r i n t   t h e   r e s o u r c e s   c r e a t e d   w i t h   - o   n a m e   o u t p u t   f o r m a t   ( p r i n t   e a c h   r e s o u r c e   a s   r e s o u r c e / n a m e ) .   T h e n   y o u   g r e p   o n l y   t h e   S e r v i c e ,   a n d   t h e n   p r i n t   i t   w i t h   k u b e c t l   g e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12147"
  },
  {
    "question": "What is Recursive operations on local files?",
    "answer": "I f   y o u   h a p p e n   t o   o r g a n i z e   y o u r   r e s o u r c e s   a c r o s s   s e v e r a l   s u b d i r e c t o r i e s   w i t h i n   a   p a r t i c u l a r   d i r e c t o r y ,   y o u   c a n   r e c u r s i v e l y   p e r f o r m   t h e   o p e r a t i o n s   o n   t h e   s u b d i r e c t o r i e s   a l s o ,   b y   s p e c i f y i n g   - - r e c u r s i v e   o r   - R   a l o n g s i d e   t h e   - - f i l e n a m e / - f   a r g u m e n t .   F o r   i n s t a n c e ,   a s s u m e   t h e r e   i s   a   d i r e c t o r y   p r o j e c t / k 8 s / d e v e l o p m e n t   t h a t   h o l d s   a l l   o f   t h e   m a n i f e s t s   n e e d e d   f o r   t h e   d e v e l o p m e n t   e n v i r o n m e n t ,   o r g a n i z e d   b y   r e s o u r c e   t y p e :   p r o j e c t / k 8 s / d e v e l o p m e n t   ├ ─ ─   c o n f i g m a p   │   └ ─ ─   m y - c o n f i g m a p . y a m l   ├ ─ ─   d e p l o y m e n t   │   └ ─ ─   m y - d e p l o y m e n t . y a m l   └ ─ ─   p v c   └ ─ ─   m y - p v c . y a m l   B y   d e f a u l t ,   p e r f o r m i n g   a   b u l k   o p e r a t i o n   o n   p r o j e c t / k 8 s / d e v e l o p m e n t   w i l l   s t o p   a t   t h e   f i r s t   l e v e l   o f   t h e   d i r e c t o r y ,   n o t   p r o c e s s i n g   a n y   s u b d i r e c t o r i e s .   I f   y o u   h a d   t r i e d   t o   c r e a t e   t h e   r e s o u r c e s   i n   t h i s   d i r e c t o r y   u s i n g   t h e   f o l l o w i n g   c o m m a n d ,   w e   w o u l d   h a v e   e n c o u n t e r e d   a n   e r r o r :   k u b e c t l   a p p l y   - f   p r o j e c t / k 8 s / d e v e l o p m e n t   e r r o r :   y o u   m u s t   p r o v i d e   o n e   o r   m o r e   r e s o u r c e s   b y   a r g u m e n t   o r   f i l e n a m e   ( . j s o n | . y a m l | . y m l | s t d i n )   I n s t e a d ,   s p e c i f y   t h e   - - r e c u r s i v e   o r   - R   c o m m a n d   l i n e   a r g u ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12148"
  },
  {
    "question": "What is Updating your application without an outage?",
    "answer": "A t   s o m e   p o i n t ,   y o u ' l l   e v e n t u a l l y   n e e d   t o   u p d a t e   y o u r   d e p l o y e d   a p p l i c a t i o n ,   t y p i c a l l y   b y   s p e c i f y i n g   a   n e w   i m a g e   o r   i m a g e   t a g .   k u b e c t l   s u p p o r t s   s e v e r a l   u p d a t e   o p e r a t i o n s ,   e a c h   o f   w h i c h   i s   a p p l i c a b l e   t o   d i f f e r e n t   s c e n a r i o s .   Y o u   c a n   r u n   m u l t i p l e   c o p i e s   o f   y o u r   a p p ,   a n d   u s e   a   r o l l o u t   t o   g r a d u a l l y   s h i f t   t h e   t r a f f i c   t o   n e w   h e a l t h y   P o d s .   E v e n t u a l l y ,   a l l   t h e   r u n n i n g   P o d s   w o u l d   h a v e   t h e   n e w   s o f t w a r e .   T h i s   s e c t i o n   o f   t h e   p a g e   g u i d e s   y o u   t h r o u g h   h o w   t o   c r e a t e   a n d   u p d a t e   a p p l i c a t i o n s   w i t h   D e p l o y m e n t s .   L e t ' s   s a y   y o u   w e r e   r u n n i n g   v e r s i o n   1 . 1 4 . 2   o f   n g i n x :   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - n g i n x   - - i m a g e = n g i n x : 1 . 1 4 . 2   d e p l o y m e n t . a p p s / m y - n g i n x   c r e a t e d   E n s u r e   t h a t   t h e r e   i s   1   r e p l i c a :   k u b e c t l   s c a l e   - - r e p l i c a s   1   d e p l o y m e n t s / m y - n g i n x   - - s u b r e s o u r c e = ' s c a l e '   - - t y p e = ' m e r g e '   - p   ' { \" s p e c \" : { \" r e p l i c a s \" :   1 } } '   d e p l o y m e n t . a p p s / m y - n g i n x   s c a l e d   a n d   a l l o w   K u b e r n e t e s   t o   a d d   m o r e   t e m p o r a r y   r e p l i c a s   d u r i n g   a   r o l l o u t ,   b y   s e t t i n g   a   s u r g e   m a x i m u m   o f   1 0 0 % :   k u b e c t l   p a t c h   - - t y p e = ' m e r g e '   - p   ' { \" s p e c \" : { \" s t r a t e g y \" : { \" r o l l i n g U p d a t e \" : { \" m a x S u r g e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12149"
  },
  {
    "question": "What is Managing rollouts?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   r o l l o u t   t o   m a n a g e   a   p r o g r e s s i v e   u p d a t e   o f   a n   e x i s t i n g   a p p l i c a t i o n .   F o r   e x a m p l e :   k u b e c t l   a p p l y   - f   m y - d e p l o y m e n t . y a m l   #   w a i t   f o r   r o l l o u t   t o   f i n i s h   k u b e c t l   r o l l o u t   s t a t u s   d e p l o y m e n t / m y - d e p l o y m e n t   - - t i m e o u t   1 0 m   #   1 0   m i n u t e   t i m e o u t   o r   k u b e c t l   a p p l y   - f   b a c k i n g - s t a t e f u l - c o m p o n e n t . y a m l   #   d o n ' t   w a i t   f o r   r o l l o u t   t o   f i n i s h ,   j u s t   c h e c k   t h e   s t a t u s   k u b e c t l   r o l l o u t   s t a t u s   s t a t e f u l s e t s / b a c k i n g - s t a t e f u l - c o m p o n e n t   - - w a t c h = f a l s e   Y o u   c a n   a l s o   p a u s e ,   r e s u m e   o r   c a n c e l   a   r o l l o u t .   V i s i t   k u b e c t l   r o l l o u t   t o   l e a r n   m o r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12150"
  },
  {
    "question": "What is Canary deployments?",
    "answer": "A n o t h e r   s c e n a r i o   w h e r e   m u l t i p l e   l a b e l s   a r e   n e e d e d   i s   t o   d i s t i n g u i s h   d e p l o y m e n t s   o f   d i f f e r e n t   r e l e a s e s   o r   c o n f i g u r a t i o n s   o f   t h e   s a m e   c o m p o n e n t .   I t   i s   c o m m o n   p r a c t i c e   t o   d e p l o y   a   c a n a r y   o f   a   n e w   a p p l i c a t i o n   r e l e a s e   ( s p e c i f i e d   v i a   i m a g e   t a g   i n   t h e   p o d   t e m p l a t e )   s i d e   b y   s i d e   w i t h   t h e   p r e v i o u s   r e l e a s e   s o   t h a t   t h e   n e w   r e l e a s e   c a n   r e c e i v e   l i v e   p r o d u c t i o n   t r a f f i c   b e f o r e   f u l l y   r o l l i n g   i t   o u t .   F o r   i n s t a n c e ,   y o u   c a n   u s e   a   t r a c k   l a b e l   t o   d i f f e r e n t i a t e   d i f f e r e n t   r e l e a s e s .   T h e   p r i m a r y ,   s t a b l e   r e l e a s e   w o u l d   h a v e   a   t r a c k   l a b e l   w i t h   v a l u e   a s   s t a b l e :   n a m e :   f r o n t e n d   r e p l i c a s :   3   . . .   l a b e l s :   a p p :   g u e s t b o o k   t i e r :   f r o n t e n d   t r a c k :   s t a b l e   . . .   i m a g e :   g b - f r o n t e n d : v 3   a n d   t h e n   y o u   c a n   c r e a t e   a   n e w   r e l e a s e   o f   t h e   g u e s t b o o k   f r o n t e n d   t h a t   c a r r i e s   t h e   t r a c k   l a b e l   w i t h   d i f f e r e n t   v a l u e   ( i . e .   c a n a r y ) ,   s o   t h a t   t w o   s e t s   o f   p o d s   w o u l d   n o t   o v e r l a p :   n a m e :   f r o n t e n d - c a n a r y   r e p l i c a s :   1   . . .   l a b e l s :   a p p :   g u e s t b o o k   t i e r :   f r o n t e n d   t r a c k :   c a n a r y   . . .   i m a g e :   g b - f r o n t e n d : v 4   T h e   f r o n t e n d   s e r v i c e   w o u l d   s p a n   b o t h   s e t s   o f   r e p l i c a s   b y   s e l e c t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12151"
  },
  {
    "question": "What is Updating annotations?",
    "answer": "S o m e t i m e s   y o u   w o u l d   w a n t   t o   a t t a c h   a n n o t a t i o n s   t o   r e s o u r c e s .   A n n o t a t i o n s   a r e   a r b i t r a r y   n o n - i d e n t i f y i n g   m e t a d a t a   f o r   r e t r i e v a l   b y   A P I   c l i e n t s   s u c h   a s   t o o l s   o r   l i b r a r i e s .   T h i s   c a n   b e   d o n e   w i t h   k u b e c t l   a n n o t a t e .   F o r   e x a m p l e :   k u b e c t l   a n n o t a t e   p o d s   m y - n g i n x - v 4 - 9 g w 1 9   d e s c r i p t i o n = ' m y   f r o n t e n d   r u n n i n g   n g i n x '   k u b e c t l   g e t   p o d s   m y - n g i n x - v 4 - 9 g w 1 9   - o   y a m l   a p i V e r s i o n :   v 1   k i n d :   p o d   m e t a d a t a :   a n n o t a t i o n s :   d e s c r i p t i o n :   m y   f r o n t e n d   r u n n i n g   n g i n x   . . .   F o r   m o r e   i n f o r m a t i o n ,   s e e   a n n o t a t i o n s   a n d   k u b e c t l   a n n o t a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12152"
  },
  {
    "question": "What is Scaling your application?",
    "answer": "W h e n   l o a d   o n   y o u r   a p p l i c a t i o n   g r o w s   o r   s h r i n k s ,   u s e   k u b e c t l   t o   s c a l e   y o u r   a p p l i c a t i o n .   F o r   i n s t a n c e ,   t o   d e c r e a s e   t h e   n u m b e r   o f   n g i n x   r e p l i c a s   f r o m   3   t o   1 ,   d o :   k u b e c t l   s c a l e   d e p l o y m e n t / m y - n g i n x   - - r e p l i c a s = 1   d e p l o y m e n t . a p p s / m y - n g i n x   s c a l e d   N o w   y o u   o n l y   h a v e   o n e   p o d   m a n a g e d   b y   t h e   d e p l o y m e n t .   k u b e c t l   g e t   p o d s   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - j 5 f h i   1 / 1   R u n n i n g   0   3 0 m   T o   h a v e   t h e   s y s t e m   a u t o m a t i c a l l y   c h o o s e   t h e   n u m b e r   o f   n g i n x   r e p l i c a s   a s   n e e d e d ,   r a n g i n g   f r o m   1   t o   3 ,   d o :   #   T h i s   r e q u i r e s   a n   e x i s t i n g   s o u r c e   o f   c o n t a i n e r   a n d   P o d   m e t r i c s   k u b e c t l   a u t o s c a l e   d e p l o y m e n t / m y - n g i n x   - - m i n = 1   - - m a x = 3   h o r i z o n t a l p o d a u t o s c a l e r . a u t o s c a l i n g / m y - n g i n x   a u t o s c a l e d   N o w   y o u r   n g i n x   r e p l i c a s   w i l l   b e   s c a l e d   u p   a n d   d o w n   a s   n e e d e d ,   a u t o m a t i c a l l y .   F o r   m o r e   i n f o r m a t i o n ,   p l e a s e   s e e   k u b e c t l   s c a l e ,   k u b e c t l   a u t o s c a l e   a n d   h o r i z o n t a l   p o d   a u t o s c a l e r   d o c u m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12153"
  },
  {
    "question": "What is In-place updates of resources?",
    "answer": "S o m e t i m e s   i t ' s   n e c e s s a r y   t o   m a k e   n a r r o w ,   n o n - d i s r u p t i v e   u p d a t e s   t o   r e s o u r c e s   y o u ' v e   c r e a t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12154"
  },
  {
    "question": "What is kubectl apply?",
    "answer": "I t   i s   s u g g e s t e d   t o   m a i n t a i n   a   s e t   o f   c o n f i g u r a t i o n   f i l e s   i n   s o u r c e   c o n t r o l   ( s e e   c o n f i g u r a t i o n   a s   c o d e ) ,   s o   t h a t   t h e y   c a n   b e   m a i n t a i n e d   a n d   v e r s i o n e d   a l o n g   w i t h   t h e   c o d e   f o r   t h e   r e s o u r c e s   t h e y   c o n f i g u r e .   T h e n ,   y o u   c a n   u s e   k u b e c t l   a p p l y   t o   p u s h   y o u r   c o n f i g u r a t i o n   c h a n g e s   t o   t h e   c l u s t e r .   T h i s   c o m m a n d   w i l l   c o m p a r e   t h e   v e r s i o n   o f   t h e   c o n f i g u r a t i o n   t h a t   y o u ' r e   p u s h i n g   w i t h   t h e   p r e v i o u s   v e r s i o n   a n d   a p p l y   t h e   c h a n g e s   y o u ' v e   m a d e ,   w i t h o u t   o v e r w r i t i n g   a n y   a u t o m a t e d   c h a n g e s   t o   p r o p e r t i e s   y o u   h a v e n ' t   s p e c i f i e d .   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / n g i n x / n g i n x - d e p l o y m e n t . y a m l   d e p l o y m e n t . a p p s / m y - n g i n x   c o n f i g u r e d   T o   l e a r n   m o r e   a b o u t   t h e   u n d e r l y i n g   m e c h a n i s m ,   r e a d   s e r v e r - s i d e   a p p l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12155"
  },
  {
    "question": "What is kubectl edit?",
    "answer": "A l t e r n a t i v e l y ,   y o u   m a y   a l s o   u p d a t e   r e s o u r c e s   w i t h   k u b e c t l   e d i t :   k u b e c t l   e d i t   d e p l o y m e n t / m y - n g i n x   T h i s   i s   e q u i v a l e n t   t o   f i r s t   g e t   t h e   r e s o u r c e ,   e d i t   i t   i n   t e x t   e d i t o r ,   a n d   t h e n   a p p l y   t h e   r e s o u r c e   w i t h   t h e   u p d a t e d   v e r s i o n :   k u b e c t l   g e t   d e p l o y m e n t   m y - n g i n x   - o   y a m l   >   / t m p / n g i n x . y a m l   v i   / t m p / n g i n x . y a m l   #   d o   s o m e   e d i t ,   a n d   t h e n   s a v e   t h e   f i l e   k u b e c t l   a p p l y   - f   / t m p / n g i n x . y a m l   d e p l o y m e n t . a p p s / m y - n g i n x   c o n f i g u r e d   r m   / t m p / n g i n x . y a m l   T h i s   a l l o w s   y o u   t o   d o   m o r e   s i g n i f i c a n t   c h a n g e s   m o r e   e a s i l y .   N o t e   t h a t   y o u   c a n   s p e c i f y   t h e   e d i t o r   w i t h   y o u r   E D I T O R   o r   K U B E _ E D I T O R   e n v i r o n m e n t   v a r i a b l e s .   F o r   m o r e   i n f o r m a t i o n ,   p l e a s e   s e e   k u b e c t l   e d i t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12156"
  },
  {
    "question": "What is kubectl patch?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   p a t c h   t o   u p d a t e   A P I   o b j e c t s   i n   p l a c e .   T h i s   s u b c o m m a n d   s u p p o r t s   J S O N   p a t c h ,   J S O N   m e r g e   p a t c h ,   a n d   s t r a t e g i c   m e r g e   p a t c h .   S e e   U p d a t e   A P I   O b j e c t s   i n   P l a c e   U s i n g   k u b e c t l   p a t c h   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12157"
  },
  {
    "question": "What is Disruptive updates?",
    "answer": "I n   s o m e   c a s e s ,   y o u   m a y   n e e d   t o   u p d a t e   r e s o u r c e   f i e l d s   t h a t   c a n n o t   b e   u p d a t e d   o n c e   i n i t i a l i z e d ,   o r   y o u   m a y   w a n t   t o   m a k e   a   r e c u r s i v e   c h a n g e   i m m e d i a t e l y ,   s u c h   a s   t o   f i x   b r o k e n   p o d s   c r e a t e d   b y   a   D e p l o y m e n t .   T o   c h a n g e   s u c h   f i e l d s ,   u s e   r e p l a c e   - - f o r c e ,   w h i c h   d e l e t e s   a n d   r e - c r e a t e s   t h e   r e s o u r c e .   I n   t h i s   c a s e ,   y o u   c a n   m o d i f y   y o u r   o r i g i n a l   c o n f i g u r a t i o n   f i l e :   k u b e c t l   r e p l a c e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / n g i n x / n g i n x - d e p l o y m e n t . y a m l   - - f o r c e   d e p l o y m e n t . a p p s / m y - n g i n x   d e l e t e d   d e p l o y m e n t . a p p s / m y - n g i n x   r e p l a c e d",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12158"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   h o w   t o   u s e   k u b e c t l   f o r   a p p l i c a t i o n   i n t r o s p e c t i o n   a n d   d e b u g g i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12159"
  },
  {
    "question": "What is The Kubernetes network model?",
    "answer": "T h e   K u b e r n e t e s   n e t w o r k   m o d e l   i s   b u i l t   o u t   o f   s e v e r a l   p i e c e s :   E a c h   p o d   i n   a   c l u s t e r   g e t s   i t s   o w n   u n i q u e   c l u s t e r - w i d e   I P   a d d r e s s . A   p o d   h a s   i t s   o w n   p r i v a t e   n e t w o r k   n a m e s p a c e   w h i c h   i s   s h a r e d   b y   a l l   o f   t h e   c o n t a i n e r s   w i t h i n   t h e   p o d .   P r o c e s s e s   r u n n i n g   i n   d i f f e r e n t   c o n t a i n e r s   i n   t h e   s a m e   p o d   c a n   c o m m u n i c a t e   w i t h   e a c h   o t h e r   o v e r   l o c a l h o s t . T h e   p o d   n e t w o r k   ( a l s o   c a l l e d   a   c l u s t e r   n e t w o r k )   h a n d l e s   c o m m u n i c a t i o n   b e t w e e n   p o d s .   I t   e n s u r e s   t h a t   ( b a r r i n g   i n t e n t i o n a l   n e t w o r k   s e g m e n t a t i o n ) : A l l   p o d s   c a n   c o m m u n i c a t e   w i t h   a l l   o t h e r   p o d s ,   w h e t h e r   t h e y   a r e   o n   t h e   s a m e   n o d e   o r   o n   d i f f e r e n t   n o d e s .   P o d s   c a n   c o m m u n i c a t e   w i t h   e a c h   o t h e r   d i r e c t l y ,   w i t h o u t   t h e   u s e   o f   p r o x i e s   o r   a d d r e s s   t r a n s l a t i o n   ( N A T ) . O n   W i n d o w s ,   t h i s   r u l e   d o e s   n o t   a p p l y   t o   h o s t - n e t w o r k   p o d s . A g e n t s   o n   a   n o d e   ( s u c h   a s   s y s t e m   d a e m o n s ,   o r   k u b e l e t )   c a n   c o m m u n i c a t e   w i t h   a l l   p o d s   o n   t h a t   n o d e . T h e   S e r v i c e   A P I   l e t s   y o u   p r o v i d e   a   s t a b l e   ( l o n g   l i v e d )   I P   a d d r e s s   o r   h o s t n a m e   f o r   a   s e r v i c e   i m p l e m e n t e d   b y   o n e   o r   m o r e   b a c k e n d   p o d s ,   w h e r e   t h e   i n d i v i d u a l   p o d s   m a k i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12160"
  },
  {
    "question": "What is What's next?",
    "answer": "T h e   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s   t u t o r i a l   l e t s   y o u   l e a r n   a b o u t   S e r v i c e s   a n d   K u b e r n e t e s   n e t w o r k i n g   w i t h   a   h a n d s - o n   e x a m p l e .   C l u s t e r   N e t w o r k i n g   e x p l a i n s   h o w   t o   s e t   u p   n e t w o r k i n g   f o r   y o u r   c l u s t e r ,   a n d   a l s o   p r o v i d e s   a n   o v e r v i e w   o f   t h e   t e c h n o l o g i e s   i n v o l v e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12161"
  },
  {
    "question": "What is 5.1 - Service?",
    "answer": "I n   K u b e r n e t e s ,   a   S e r v i c e   i s   a   m e t h o d   f o r   e x p o s i n g   a   n e t w o r k   a p p l i c a t i o n   t h a t   i s   r u n n i n g   a s   o n e   o r   m o r e   P o d s   i n   y o u r   c l u s t e r .   A   k e y   a i m   o f   S e r v i c e s   i n   K u b e r n e t e s   i s   t h a t   y o u   d o n ' t   n e e d   t o   m o d i f y   y o u r   e x i s t i n g   a p p l i c a t i o n   t o   u s e   a n   u n f a m i l i a r   s e r v i c e   d i s c o v e r y   m e c h a n i s m .   Y o u   c a n   r u n   c o d e   i n   P o d s ,   w h e t h e r   t h i s   i s   a   c o d e   d e s i g n e d   f o r   a   c l o u d - n a t i v e   w o r l d ,   o r   a n   o l d e r   a p p   y o u ' v e   c o n t a i n e r i z e d .   Y o u   u s e   a   S e r v i c e   t o   m a k e   t h a t   s e t   o f   P o d s   a v a i l a b l e   o n   t h e   n e t w o r k   s o   t h a t   c l i e n t s   c a n   i n t e r a c t   w i t h   i t .   I f   y o u   u s e   a   D e p l o y m e n t   t o   r u n   y o u r   a p p ,   t h a t   D e p l o y m e n t   c a n   c r e a t e   a n d   d e s t r o y   P o d s   d y n a m i c a l l y .   F r o m   o n e   m o m e n t   t o   t h e   n e x t ,   y o u   d o n ' t   k n o w   h o w   m a n y   o f   t h o s e   P o d s   a r e   w o r k i n g   a n d   h e a l t h y ;   y o u   m i g h t   n o t   e v e n   k n o w   w h a t   t h o s e   h e a l t h y   P o d s   a r e   n a m e d .   K u b e r n e t e s   P o d s   a r e   c r e a t e d   a n d   d e s t r o y e d   t o   m a t c h   t h e   d e s i r e d   s t a t e   o f   y o u r   c l u s t e r .   P o d s   a r e   e p h e m e r a l   r e s o u r c e s   ( y o u   s h o u l d   n o t   e x p e c t   t h a t   a n   i n d i v i d u a l   P o d   i s   r e l i a b l e   a n d   d u r a b l e ) .   E a c h   P o d   g e t s   i t s   o w n   I P   a d d r e s s   ( K u b e r n e t e s   e x p e c t s   n e t w o r k   p l u g i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12162"
  },
  {
    "question": "What is Services in Kubernetes?",
    "answer": "T h e   S e r v i c e   A P I ,   p a r t   o f   K u b e r n e t e s ,   i s   a n   a b s t r a c t i o n   t o   h e l p   y o u   e x p o s e   g r o u p s   o f   P o d s   o v e r   a   n e t w o r k .   E a c h   S e r v i c e   o b j e c t   d e f i n e s   a   l o g i c a l   s e t   o f   e n d p o i n t s   ( u s u a l l y   t h e s e   e n d p o i n t s   a r e   P o d s )   a l o n g   w i t h   a   p o l i c y   a b o u t   h o w   t o   m a k e   t h o s e   p o d s   a c c e s s i b l e .   F o r   e x a m p l e ,   c o n s i d e r   a   s t a t e l e s s   i m a g e - p r o c e s s i n g   b a c k e n d   w h i c h   i s   r u n n i n g   w i t h   3   r e p l i c a s .   T h o s e   r e p l i c a s   a r e   f u n g i b l e — f r o n t e n d s   d o   n o t   c a r e   w h i c h   b a c k e n d   t h e y   u s e .   W h i l e   t h e   a c t u a l   P o d s   t h a t   c o m p o s e   t h e   b a c k e n d   s e t   m a y   c h a n g e ,   t h e   f r o n t e n d   c l i e n t s   s h o u l d   n o t   n e e d   t o   b e   a w a r e   o f   t h a t ,   n o r   s h o u l d   t h e y   n e e d   t o   k e e p   t r a c k   o f   t h e   s e t   o f   b a c k e n d s   t h e m s e l v e s .   T h e   S e r v i c e   a b s t r a c t i o n   e n a b l e s   t h i s   d e c o u p l i n g .   T h e   s e t   o f   P o d s   t a r g e t e d   b y   a   S e r v i c e   i s   u s u a l l y   d e t e r m i n e d   b y   a   s e l e c t o r   t h a t   y o u   d e f i n e .   T o   l e a r n   a b o u t   o t h e r   w a y s   t o   d e f i n e   S e r v i c e   e n d p o i n t s ,   s e e   S e r v i c e s   w i t h o u t   s e l e c t o r s .   I f   y o u r   w o r k l o a d   s p e a k s   H T T P ,   y o u   m i g h t   c h o o s e   t o   u s e   a n   I n g r e s s   t o   c o n t r o l   h o w   w e b   t r a f f i c   r e a c h e s   t h a t   w o r k l o a d .   I n g r e s s   i s   n o t   a   S e r v i c e   t y p e ,   b u t   i t   a c t s   a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12163"
  },
  {
    "question": "What is Cloud-native service discovery?",
    "answer": "I f   y o u ' r e   a b l e   t o   u s e   K u b e r n e t e s   A P I s   f o r   s e r v i c e   d i s c o v e r y   i n   y o u r   a p p l i c a t i o n ,   y o u   c a n   q u e r y   t h e   A P I   s e r v e r   f o r   m a t c h i n g   E n d p o i n t S l i c e s .   K u b e r n e t e s   u p d a t e s   t h e   E n d p o i n t S l i c e s   f o r   a   S e r v i c e   w h e n e v e r   t h e   s e t   o f   P o d s   i n   a   S e r v i c e   c h a n g e s .   F o r   n o n - n a t i v e   a p p l i c a t i o n s ,   K u b e r n e t e s   o f f e r s   w a y s   t o   p l a c e   a   n e t w o r k   p o r t   o r   l o a d   b a l a n c e r   i n   b e t w e e n   y o u r   a p p l i c a t i o n   a n d   t h e   b a c k e n d   P o d s .   E i t h e r   w a y ,   y o u r   w o r k l o a d   c a n   u s e   t h e s e   s e r v i c e   d i s c o v e r y   m e c h a n i s m s   t o   f i n d   t h e   t a r g e t   i t   w a n t s   t o   c o n n e c t   t o .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12164"
  },
  {
    "question": "What is Defining a Service?",
    "answer": "A   S e r v i c e   i s   a n   o b j e c t   ( t h e   s a m e   w a y   t h a t   a   P o d   o r   a   C o n f i g M a p   i s   a n   o b j e c t ) .   Y o u   c a n   c r e a t e ,   v i e w   o r   m o d i f y   S e r v i c e   d e f i n i t i o n s   u s i n g   t h e   K u b e r n e t e s   A P I .   U s u a l l y   y o u   u s e   a   t o o l   s u c h   a s   k u b e c t l   t o   m a k e   t h o s e   A P I   c a l l s   f o r   y o u .   F o r   e x a m p l e ,   s u p p o s e   y o u   h a v e   a   s e t   o f   P o d s   t h a t   e a c h   l i s t e n   o n   T C P   p o r t   9 3 7 6   a n d   a r e   l a b e l l e d   a s   a p p . k u b e r n e t e s . i o / n a m e = M y A p p .   Y o u   c a n   d e f i n e   a   S e r v i c e   t o   p u b l i s h   t h a t   T C P   l i s t e n e r :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   s p e c :   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   8 0   t a r g e t P o r t :   9 3 7 6   A p p l y i n g   t h i s   m a n i f e s t   c r e a t e s   a   n e w   S e r v i c e   n a m e d   \" m y - s e r v i c e \"   w i t h   t h e   d e f a u l t   C l u s t e r I P   s e r v i c e   t y p e .   T h e   S e r v i c e   t a r g e t s   T C P   p o r t   9 3 7 6   o n   a n y   P o d   w i t h   t h e   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   l a b e l .   K u b e r n e t e s   a s s i g n s   t h i s   S e r v i c e   a n   I P   a d d r e s s   ( t h e   c l u s t e r   I P ) ,   t h a t   i s   u s e d   b y   t h e   v i r t u a l   I P   a d d r e s s   m e c h a n i s m .   F o r   m o r e   d e t a i l s   o n   t h a t   m e c h a n i s m ,   r e a d   V i r t u a l   I P s   a n d   S e r v i c e   P r o x i e s .   T h e   c o n t r o l l e r   f o r   t h a t   S e r v i c e   c o n t i n u o u s l y   s c a n s   f o r   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12165"
  },
  {
    "question": "What is Relaxed naming requirements for Service objects?",
    "answer": "T h e   R e l a x e d S e r v i c e N a m e V a l i d a t i o n   f e a t u r e   g a t e   a l l o w s   S e r v i c e   o b j e c t   n a m e s   t o   s t a r t   w i t h   a   d i g i t .   W h e n   t h i s   f e a t u r e   g a t e   i s   e n a b l e d ,   S e r v i c e   o b j e c t   n a m e s   m u s t   b e   v a l i d   R F C   1 1 2 3   l a b e l   n a m e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12166"
  },
  {
    "question": "What is Port definitions?",
    "answer": "P o r t   d e f i n i t i o n s   i n   P o d s   h a v e   n a m e s ,   a n d   y o u   c a n   r e f e r e n c e   t h e s e   n a m e s   i n   t h e   t a r g e t P o r t   a t t r i b u t e   o f   a   S e r v i c e .   F o r   e x a m p l e ,   w e   c a n   b i n d   t h e   t a r g e t P o r t   o f   t h e   S e r v i c e   t o   t h e   P o d   p o r t   i n   t h e   f o l l o w i n g   w a y :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   p r o x y   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : s t a b l e   p o r t s :   -   c o n t a i n e r P o r t :   8 0   n a m e :   h t t p - w e b - s v c   - - -   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   n g i n x - s e r v i c e   s p e c :   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   p r o x y   p o r t s :   -   n a m e :   n a m e - o f - s e r v i c e - p o r t   p r o t o c o l :   T C P   p o r t :   8 0   t a r g e t P o r t :   h t t p - w e b - s v c   T h i s   w o r k s   e v e n   i f   t h e r e   i s   a   m i x t u r e   o f   P o d s   i n   t h e   S e r v i c e   u s i n g   a   s i n g l e   c o n f i g u r e d   n a m e ,   w i t h   t h e   s a m e   n e t w o r k   p r o t o c o l   a v a i l a b l e   v i a   d i f f e r e n t   p o r t   n u m b e r s .   T h i s   o f f e r s   a   l o t   o f   f l e x i b i l i t y   f o r   d e p l o y i n g   a n d   e v o l v i n g   y o u r   S e r v i c e s .   F o r   e x a m p l e ,   y o u   c a n   c h a n g e   t h e   p o r t   n u m b e r s   t h a t   P o d s   e x p o s e   i n   t h e   n e x t   v e r s i o n   o f   y o u r   b a c k e n d   s o f t w a r e ,   w i t h o u t   b r e a k i n g   c l i e n t s .   T h e   d e f a u l t   p r o t o c o l   f o r   S e r v i c e s   i s   T C P ;   y o u   c ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12167"
  },
  {
    "question": "What is Services without selectors?",
    "answer": "S e r v i c e s   m o s t   c o m m o n l y   a b s t r a c t   a c c e s s   t o   K u b e r n e t e s   P o d s   t h a n k s   t o   t h e   s e l e c t o r ,   b u t   w h e n   u s e d   w i t h   a   c o r r e s p o n d i n g   s e t   o f   E n d p o i n t S l i c e s   o b j e c t s   a n d   w i t h o u t   a   s e l e c t o r ,   t h e   S e r v i c e   c a n   a b s t r a c t   o t h e r   k i n d s   o f   b a c k e n d s ,   i n c l u d i n g   o n e s   t h a t   r u n   o u t s i d e   t h e   c l u s t e r .   F o r   e x a m p l e :   Y o u   w a n t   t o   h a v e   a n   e x t e r n a l   d a t a b a s e   c l u s t e r   i n   p r o d u c t i o n ,   b u t   i n   y o u r   t e s t   e n v i r o n m e n t   y o u   u s e   y o u r   o w n   d a t a b a s e s . Y o u   w a n t   t o   p o i n t   y o u r   S e r v i c e   t o   a   S e r v i c e   i n   a   d i f f e r e n t   N a m e s p a c e   o r   o n   a n o t h e r   c l u s t e r . Y o u   a r e   m i g r a t i n g   a   w o r k l o a d   t o   K u b e r n e t e s .   W h i l e   e v a l u a t i n g   t h e   a p p r o a c h ,   y o u   r u n   o n l y   a   p o r t i o n   o f   y o u r   b a c k e n d s   i n   K u b e r n e t e s .   I n   a n y   o f   t h e s e   s c e n a r i o s   y o u   c a n   d e f i n e   a   S e r v i c e   w i t h o u t   s p e c i f y i n g   a   s e l e c t o r   t o   m a t c h   P o d s .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   s p e c :   p o r t s :   -   n a m e :   h t t p   p r o t o c o l :   T C P   p o r t :   8 0   t a r g e t P o r t :   9 3 7 6   B e c a u s e   t h i s   S e r v i c e   h a s   n o   s e l e c t o r ,   t h e   c o r r e s p o n d i n g   E n d p o i n t S l i c e   o b j e c t s   a r e   n o t   c r e a t e d   a u t o m a t i c a l l y .   Y o u   c a n   m a p   t h e   S e r v i c e   t o   t h e   n e t w o r k   a d d r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12168"
  },
  {
    "question": "What is Custom EndpointSlices?",
    "answer": "W h e n   y o u   c r e a t e   a n   E n d p o i n t S l i c e   o b j e c t   f o r   a   S e r v i c e ,   y o u   c a n   u s e   a n y   n a m e   f o r   t h e   E n d p o i n t S l i c e .   E a c h   E n d p o i n t S l i c e   i n   a   n a m e s p a c e   m u s t   h a v e   a   u n i q u e   n a m e .   Y o u   l i n k   a n   E n d p o i n t S l i c e   t o   a   S e r v i c e   b y   s e t t i n g   t h e   k u b e r n e t e s . i o / s e r v i c e - n a m e   l a b e l   o n   t h a t   E n d p o i n t S l i c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12169"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   e n d p o i n t   I P s   m u s t   n o t   b e :   l o o p b a c k   ( 1 2 7 . 0 . 0 . 0 / 8   f o r   I P v 4 ,   : : 1 / 1 2 8   f o r   I P v 6 ) ,   o r   l i n k - l o c a l   ( 1 6 9 . 2 5 4 . 0 . 0 / 1 6   a n d   2 2 4 . 0 . 0 . 0 / 2 4   f o r   I P v 4 ,   f e 8 0 : : / 6 4   f o r   I P v 6 ) .   T h e   e n d p o i n t   I P   a d d r e s s e s   c a n n o t   b e   t h e   c l u s t e r   I P s   o f   o t h e r   K u b e r n e t e s   S e r v i c e s ,   b e c a u s e   k u b e - p r o x y   d o e s n ' t   s u p p o r t   v i r t u a l   I P s   a s   a   d e s t i n a t i o n .   F o r   a n   E n d p o i n t S l i c e   t h a t   y o u   c r e a t e   y o u r s e l f ,   o r   i n   y o u r   o w n   c o d e ,   y o u   s h o u l d   a l s o   p i c k   a   v a l u e   t o   u s e   f o r   t h e   l a b e l   e n d p o i n t s l i c e . k u b e r n e t e s . i o / m a n a g e d - b y .   I f   y o u   c r e a t e   y o u r   o w n   c o n t r o l l e r   c o d e   t o   m a n a g e   E n d p o i n t S l i c e s ,   c o n s i d e r   u s i n g   a   v a l u e   s i m i l a r   t o   \" m y - d o m a i n . e x a m p l e / n a m e - o f - c o n t r o l l e r \" .   I f   y o u   a r e   u s i n g   a   t h i r d   p a r t y   t o o l ,   u s e   t h e   n a m e   o f   t h e   t o o l   i n   a l l - l o w e r c a s e   a n d   c h a n g e   s p a c e s   a n d   o t h e r   p u n c t u a t i o n   t o   d a s h e s   ( - ) .   I f   p e o p l e   a r e   d i r e c t l y   u s i n g   a   t o o l   s u c h   a s   k u b e c t l   t o   m a n a g e   E n d p o i n t S l i c e s ,   u s e   a   n a m e   t h a t   d e s c r i b e s   t h i s   m a n u a l   m a n a g e m e n t ,   s u c h   a s   \" s t a f f \"   o r   \" c l u s t e r - a d m i n s \" .   Y o u   s h o u l d   a v o i d   u s i n g   t h e   r e s e r v e d   v a l u e   \" c o n t r o l l e r \" ,   w h i c h   i d e n t i f i e s   E n d p o i n t S l i c e s   m a n a g e d   b y ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12170"
  },
  {
    "question": "What is Accessing a Service without a selector?",
    "answer": "A c c e s s i n g   a   S e r v i c e   w i t h o u t   a   s e l e c t o r   w o r k s   t h e   s a m e   a s   i f   i t   h a d   a   s e l e c t o r .   I n   t h e   e x a m p l e   f o r   a   S e r v i c e   w i t h o u t   a   s e l e c t o r ,   t r a f f i c   i s   r o u t e d   t o   o n e   o f   t h e   t w o   e n d p o i n t s   d e f i n e d   i n   t h e   E n d p o i n t S l i c e   m a n i f e s t :   a   T C P   c o n n e c t i o n   t o   1 0 . 1 . 2 . 3   o r   1 0 . 4 . 5 . 6 ,   o n   p o r t   9 3 7 6 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12171"
  },
  {
    "question": "What is Note:?",
    "answer": "A n   E x t e r n a l N a m e   S e r v i c e   i s   a   s p e c i a l   c a s e   o f   S e r v i c e   t h a t   d o e s   n o t   h a v e   s e l e c t o r s   a n d   u s e s   D N S   n a m e s   i n s t e a d .   F o r   m o r e   i n f o r m a t i o n ,   s e e   t h e   E x t e r n a l N a m e   s e c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12172"
  },
  {
    "question": "What is EndpointSlices?",
    "answer": "E n d p o i n t S l i c e s   a r e   o b j e c t s   t h a t   r e p r e s e n t   a   s u b s e t   ( a   s l i c e )   o f   t h e   b a c k i n g   n e t w o r k   e n d p o i n t s   f o r   a   S e r v i c e .   Y o u r   K u b e r n e t e s   c l u s t e r   t r a c k s   h o w   m a n y   e n d p o i n t s   e a c h   E n d p o i n t S l i c e   r e p r e s e n t s .   I f   t h e r e   a r e   s o   m a n y   e n d p o i n t s   f o r   a   S e r v i c e   t h a t   a   t h r e s h o l d   i s   r e a c h e d ,   t h e n   K u b e r n e t e s   a d d s   a n o t h e r   e m p t y   E n d p o i n t S l i c e   a n d   s t o r e s   n e w   e n d p o i n t   i n f o r m a t i o n   t h e r e .   B y   d e f a u l t ,   K u b e r n e t e s   m a k e s   a   n e w   E n d p o i n t S l i c e   o n c e   t h e   e x i s t i n g   E n d p o i n t S l i c e s   a l l   c o n t a i n   a t   l e a s t   1 0 0   e n d p o i n t s .   K u b e r n e t e s   d o e s   n o t   m a k e   t h e   n e w   E n d p o i n t S l i c e   u n t i l   a n   e x t r a   e n d p o i n t   n e e d s   t o   b e   a d d e d .   S e e   E n d p o i n t S l i c e s   f o r   m o r e   i n f o r m a t i o n   a b o u t   t h i s   A P I .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12173"
  },
  {
    "question": "What is Endpoints (deprecated)?",
    "answer": "T h e   E n d p o i n t S l i c e   A P I   i s   t h e   e v o l u t i o n   o f   t h e   o l d e r   E n d p o i n t s   A P I .   T h e   d e p r e c a t e d   E n d p o i n t s   A P I   h a s   s e v e r a l   p r o b l e m s   r e l a t i v e   t o   E n d p o i n t S l i c e :   I t   d o e s   n o t   s u p p o r t   d u a l - s t a c k   c l u s t e r s . I t   d o e s   n o t   c o n t a i n   i n f o r m a t i o n   n e e d e d   t o   s u p p o r t   n e w e r   f e a t u r e s ,   s u c h   a s   t r a f f i c D i s t r i b u t i o n . I t   w i l l   t r u n c a t e   t h e   l i s t   o f   e n d p o i n t s   i f   i t   i s   t o o   l o n g   t o   f i t   i n   a   s i n g l e   o b j e c t .   B e c a u s e   o f   t h i s ,   i t   i s   r e c o m m e n d e d   t h a t   a l l   c l i e n t s   u s e   t h e   E n d p o i n t S l i c e   A P I   r a t h e r   t h a n   E n d p o i n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12174"
  },
  {
    "question": "What is Over-capacity endpoints?",
    "answer": "K u b e r n e t e s   l i m i t s   t h e   n u m b e r   o f   e n d p o i n t s   t h a t   c a n   f i t   i n   a   s i n g l e   E n d p o i n t s   o b j e c t .   W h e n   t h e r e   a r e   o v e r   1 0 0 0   b a c k i n g   e n d p o i n t s   f o r   a   S e r v i c e ,   K u b e r n e t e s   t r u n c a t e s   t h e   d a t a   i n   t h e   E n d p o i n t s   o b j e c t .   B e c a u s e   a   S e r v i c e   c a n   b e   l i n k e d   w i t h   m o r e   t h a n   o n e   E n d p o i n t S l i c e ,   t h e   1 0 0 0   b a c k i n g   e n d p o i n t   l i m i t   o n l y   a f f e c t s   t h e   l e g a c y   E n d p o i n t s   A P I .   I n   t h a t   c a s e ,   K u b e r n e t e s   s e l e c t s   a t   m o s t   1 0 0 0   p o s s i b l e   b a c k e n d   e n d p o i n t s   t o   s t o r e   i n t o   t h e   E n d p o i n t s   o b j e c t ,   a n d   s e t s   a n   a n n o t a t i o n   o n   t h e   E n d p o i n t s :   e n d p o i n t s . k u b e r n e t e s . i o / o v e r - c a p a c i t y :   t r u n c a t e d .   T h e   c o n t r o l   p l a n e   a l s o   r e m o v e s   t h a t   a n n o t a t i o n   i f   t h e   n u m b e r   o f   b a c k e n d   P o d s   d r o p s   b e l o w   1 0 0 0 .   T r a f f i c   i s   s t i l l   s e n t   t o   b a c k e n d s ,   b u t   a n y   l o a d   b a l a n c i n g   m e c h a n i s m   t h a t   r e l i e s   o n   t h e   l e g a c y   E n d p o i n t s   A P I   o n l y   s e n d s   t r a f f i c   t o   a t   m o s t   1 0 0 0   o f   t h e   a v a i l a b l e   b a c k i n g   e n d p o i n t s .   T h e   s a m e   A P I   l i m i t   m e a n s   t h a t   y o u   c a n n o t   m a n u a l l y   u p d a t e   a n   E n d p o i n t s   t o   h a v e   m o r e   t h a n   1 0 0 0   e n d p o i n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12175"
  },
  {
    "question": "What is Application protocol?",
    "answer": "T h e   a p p P r o t o c o l   f i e l d   p r o v i d e s   a   w a y   t o   s p e c i f y   a n   a p p l i c a t i o n   p r o t o c o l   f o r   e a c h   S e r v i c e   p o r t .   T h i s   i s   u s e d   a s   a   h i n t   f o r   i m p l e m e n t a t i o n s   t o   o f f e r   r i c h e r   b e h a v i o r   f o r   p r o t o c o l s   t h a t   t h e y   u n d e r s t a n d .   T h e   v a l u e   o f   t h i s   f i e l d   i s   m i r r o r e d   b y   t h e   c o r r e s p o n d i n g   E n d p o i n t s   a n d   E n d p o i n t S l i c e   o b j e c t s .   T h i s   f i e l d   f o l l o w s   s t a n d a r d   K u b e r n e t e s   l a b e l   s y n t a x .   V a l i d   v a l u e s   a r e   o n e   o f :   I A N A   s t a n d a r d   s e r v i c e   n a m e s . I m p l e m e n t a t i o n - d e f i n e d   p r e f i x e d   n a m e s   s u c h   a s   m y c o m p a n y . c o m / m y - c u s t o m - p r o t o c o l . K u b e r n e t e s - d e f i n e d   p r e f i x e d   n a m e s :   I A N A   s t a n d a r d   s e r v i c e   n a m e s .   I m p l e m e n t a t i o n - d e f i n e d   p r e f i x e d   n a m e s   s u c h   a s   m y c o m p a n y . c o m / m y - c u s t o m - p r o t o c o l .   K u b e r n e t e s - d e f i n e d   p r e f i x e d   n a m e s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12176"
  },
  {
    "question": "What is Multi-port Services?",
    "answer": "F o r   s o m e   S e r v i c e s ,   y o u   n e e d   t o   e x p o s e   m o r e   t h a n   o n e   p o r t .   K u b e r n e t e s   l e t s   y o u   c o n f i g u r e   m u l t i p l e   p o r t   d e f i n i t i o n s   o n   a   S e r v i c e   o b j e c t .   W h e n   u s i n g   m u l t i p l e   p o r t s   f o r   a   S e r v i c e ,   y o u   m u s t   g i v e   a l l   o f   y o u r   p o r t s   n a m e s   s o   t h a t   t h e s e   a r e   u n a m b i g u o u s .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   s p e c :   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   n a m e :   h t t p   p r o t o c o l :   T C P   p o r t :   8 0   t a r g e t P o r t :   9 3 7 6   -   n a m e :   h t t p s   p r o t o c o l :   T C P   p o r t :   4 4 3   t a r g e t P o r t :   9 3 7 7",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12177"
  },
  {
    "question": "What is Note:?",
    "answer": "A s   w i t h   K u b e r n e t e s   n a m e s   i n   g e n e r a l ,   n a m e s   f o r   p o r t s   m u s t   o n l y   c o n t a i n   l o w e r c a s e   a l p h a n u m e r i c   c h a r a c t e r s   a n d   - .   P o r t   n a m e s   m u s t   a l s o   s t a r t   a n d   e n d   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r .   F o r   e x a m p l e ,   t h e   n a m e s   1 2 3 - a b c   a n d   w e b   a r e   v a l i d ,   b u t   1 2 3 _ a b c   a n d   - w e b   a r e   n o t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12178"
  },
  {
    "question": "What is Service type?",
    "answer": "F o r   s o m e   p a r t s   o f   y o u r   a p p l i c a t i o n   ( f o r   e x a m p l e ,   f r o n t e n d s )   y o u   m a y   w a n t   t o   e x p o s e   a   S e r v i c e   o n t o   a n   e x t e r n a l   I P   a d d r e s s ,   o n e   t h a t ' s   a c c e s s i b l e   f r o m   o u t s i d e   o f   y o u r   c l u s t e r .   K u b e r n e t e s   S e r v i c e   t y p e s   a l l o w   y o u   t o   s p e c i f y   w h a t   k i n d   o f   S e r v i c e   y o u   w a n t .   T h e   a v a i l a b l e   t y p e   v a l u e s   a n d   t h e i r   b e h a v i o r s   a r e :   T h e   t y p e   f i e l d   i n   t h e   S e r v i c e   A P I   i s   d e s i g n e d   a s   n e s t e d   f u n c t i o n a l i t y   -   e a c h   l e v e l   a d d s   t o   t h e   p r e v i o u s .   H o w e v e r   t h e r e   i s   a n   e x c e p t i o n   t o   t h i s   n e s t e d   d e s i g n .   Y o u   c a n   d e f i n e   a   L o a d B a l a n c e r   S e r v i c e   b y   d i s a b l i n g   t h e   l o a d   b a l a n c e r   N o d e P o r t   a l l o c a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12179"
  },
  {
    "question": "What is type: ClusterIP?",
    "answer": "T h i s   d e f a u l t   S e r v i c e   t y p e   a s s i g n s   a n   I P   a d d r e s s   f r o m   a   p o o l   o f   I P   a d d r e s s e s   t h a t   y o u r   c l u s t e r   h a s   r e s e r v e d   f o r   t h a t   p u r p o s e .   S e v e r a l   o f   t h e   o t h e r   t y p e s   f o r   S e r v i c e   b u i l d   o n   t h e   C l u s t e r I P   t y p e   a s   a   f o u n d a t i o n .   I f   y o u   d e f i n e   a   S e r v i c e   t h a t   h a s   t h e   . s p e c . c l u s t e r I P   s e t   t o   \" N o n e \"   t h e n   K u b e r n e t e s   d o e s   n o t   a s s i g n   a n   I P   a d d r e s s .   S e e   h e a d l e s s   S e r v i c e s   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12180"
  },
  {
    "question": "What is Choosing your own IP address?",
    "answer": "Y o u   c a n   s p e c i f y   y o u r   o w n   c l u s t e r   I P   a d d r e s s   a s   p a r t   o f   a   S e r v i c e   c r e a t i o n   r e q u e s t .   T o   d o   t h i s ,   s e t   t h e   . s p e c . c l u s t e r I P   f i e l d .   F o r   e x a m p l e ,   i f   y o u   a l r e a d y   h a v e   a n   e x i s t i n g   D N S   e n t r y   t h a t   y o u   w i s h   t o   r e u s e ,   o r   l e g a c y   s y s t e m s   t h a t   a r e   c o n f i g u r e d   f o r   a   s p e c i f i c   I P   a d d r e s s   a n d   d i f f i c u l t   t o   r e - c o n f i g u r e .   T h e   I P   a d d r e s s   t h a t   y o u   c h o o s e   m u s t   b e   a   v a l i d   I P v 4   o r   I P v 6   a d d r e s s   f r o m   w i t h i n   t h e   s e r v i c e - c l u s t e r - i p - r a n g e   C I D R   r a n g e   t h a t   i s   c o n f i g u r e d   f o r   t h e   A P I   s e r v e r .   I f   y o u   t r y   t o   c r e a t e   a   S e r v i c e   w i t h   a n   i n v a l i d   c l u s t e r I P   a d d r e s s   v a l u e ,   t h e   A P I   s e r v e r   w i l l   r e t u r n   a   4 2 2   H T T P   s t a t u s   c o d e   t o   i n d i c a t e   t h a t   t h e r e ' s   a   p r o b l e m .   R e a d   a v o i d i n g   c o l l i s i o n s   t o   l e a r n   h o w   K u b e r n e t e s   h e l p s   r e d u c e   t h e   r i s k   a n d   i m p a c t   o f   t w o   d i f f e r e n t   S e r v i c e s   b o t h   t r y i n g   t o   u s e   t h e   s a m e   I P   a d d r e s s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12181"
  },
  {
    "question": "What is type: NodePort?",
    "answer": "I f   y o u   s e t   t h e   t y p e   f i e l d   t o   N o d e P o r t ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   a l l o c a t e s   a   p o r t   f r o m   a   r a n g e   s p e c i f i e d   b y   - - s e r v i c e - n o d e - p o r t - r a n g e   f l a g   ( d e f a u l t :   3 0 0 0 0 - 3 2 7 6 7 ) .   E a c h   n o d e   p r o x i e s   t h a t   p o r t   ( t h e   s a m e   p o r t   n u m b e r   o n   e v e r y   N o d e )   i n t o   y o u r   S e r v i c e .   Y o u r   S e r v i c e   r e p o r t s   t h e   a l l o c a t e d   p o r t   i n   i t s   . s p e c . p o r t s [ * ] . n o d e P o r t   f i e l d .   U s i n g   a   N o d e P o r t   g i v e s   y o u   t h e   f r e e d o m   t o   s e t   u p   y o u r   o w n   l o a d   b a l a n c i n g   s o l u t i o n ,   t o   c o n f i g u r e   e n v i r o n m e n t s   t h a t   a r e   n o t   f u l l y   s u p p o r t e d   b y   K u b e r n e t e s ,   o r   e v e n   t o   e x p o s e   o n e   o r   m o r e   n o d e s '   I P   a d d r e s s e s   d i r e c t l y .   F o r   a   n o d e   p o r t   S e r v i c e ,   K u b e r n e t e s   a d d i t i o n a l l y   a l l o c a t e s   a   p o r t   ( T C P ,   U D P   o r   S C T P   t o   m a t c h   t h e   p r o t o c o l   o f   t h e   S e r v i c e ) .   E v e r y   n o d e   i n   t h e   c l u s t e r   c o n f i g u r e s   i t s e l f   t o   l i s t e n   o n   t h a t   a s s i g n e d   p o r t   a n d   t o   f o r w a r d   t r a f f i c   t o   o n e   o f   t h e   r e a d y   e n d p o i n t s   a s s o c i a t e d   w i t h   t h a t   S e r v i c e .   Y o u ' l l   b e   a b l e   t o   c o n t a c t   t h e   t y p e :   N o d e P o r t   S e r v i c e ,   f r o m   o u t s i d e   t h e   c l u s t e r ,   b y   c o n n e c t i n g   t o   a n y   n o d e   u s i n g   t h e   a p p r o p r i a t e   p r o t o c o l   ( f o r   e x a m p l e :   T C P ) ,   a n d   t h e   a p p r o p r i a t e   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12182"
  },
  {
    "question": "What is Choosing your own port?",
    "answer": "I f   y o u   w a n t   a   s p e c i f i c   p o r t   n u m b e r ,   y o u   c a n   s p e c i f y   a   v a l u e   i n   t h e   n o d e P o r t   f i e l d .   T h e   c o n t r o l   p l a n e   w i l l   e i t h e r   a l l o c a t e   y o u   t h a t   p o r t   o r   r e p o r t   t h a t   t h e   A P I   t r a n s a c t i o n   f a i l e d .   T h i s   m e a n s   t h a t   y o u   n e e d   t o   t a k e   c a r e   o f   p o s s i b l e   p o r t   c o l l i s i o n s   y o u r s e l f .   Y o u   a l s o   h a v e   t o   u s e   a   v a l i d   p o r t   n u m b e r ,   o n e   t h a t ' s   i n s i d e   t h e   r a n g e   c o n f i g u r e d   f o r   N o d e P o r t   u s e .   H e r e   i s   a n   e x a m p l e   m a n i f e s t   f o r   a   S e r v i c e   o f   t y p e :   N o d e P o r t   t h a t   s p e c i f i e s   a   N o d e P o r t   v a l u e   ( 3 0 0 0 7 ,   i n   t h i s   e x a m p l e ) :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   s p e c :   t y p e :   N o d e P o r t   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   p o r t :   8 0   #   B y   d e f a u l t   a n d   f o r   c o n v e n i e n c e ,   t h e   ` t a r g e t P o r t `   i s   s e t   t o   #   t h e   s a m e   v a l u e   a s   t h e   ` p o r t `   f i e l d .   t a r g e t P o r t :   8 0   #   O p t i o n a l   f i e l d   #   B y   d e f a u l t   a n d   f o r   c o n v e n i e n c e ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   #   w i l l   a l l o c a t e   a   p o r t   f r o m   a   r a n g e   ( d e f a u l t :   3 0 0 0 0 - 3 2 7 6 7 )   n o d e P o r t :   3 0 0 0 7",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12183"
  },
  {
    "question": "What is Reserve Nodeport ranges to avoid collisions?",
    "answer": "T h e   p o l i c y   f o r   a s s i g n i n g   p o r t s   t o   N o d e P o r t   s e r v i c e s   a p p l i e s   t o   b o t h   t h e   a u t o - a s s i g n m e n t   a n d   t h e   m a n u a l   a s s i g n m e n t   s c e n a r i o s .   W h e n   a   u s e r   w a n t s   t o   c r e a t e   a   N o d e P o r t   s e r v i c e   t h a t   u s e s   a   s p e c i f i c   p o r t ,   t h e   t a r g e t   p o r t   m a y   c o n f l i c t   w i t h   a n o t h e r   p o r t   t h a t   h a s   a l r e a d y   b e e n   a s s i g n e d .   T o   a v o i d   t h i s   p r o b l e m ,   t h e   p o r t   r a n g e   f o r   N o d e P o r t   s e r v i c e s   i s   d i v i d e d   i n t o   t w o   b a n d s .   D y n a m i c   p o r t   a s s i g n m e n t   u s e s   t h e   u p p e r   b a n d   b y   d e f a u l t ,   a n d   i t   m a y   u s e   t h e   l o w e r   b a n d   o n c e   t h e   u p p e r   b a n d   h a s   b e e n   e x h a u s t e d .   U s e r s   c a n   t h e n   a l l o c a t e   f r o m   t h e   l o w e r   b a n d   w i t h   a   l o w e r   r i s k   o f   p o r t   c o l l i s i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12184"
  },
  {
    "question": "What is Custom IP address configuration for type: NodePort Services?",
    "answer": "Y o u   c a n   s e t   u p   n o d e s   i n   y o u r   c l u s t e r   t o   u s e   a   p a r t i c u l a r   I P   a d d r e s s   f o r   s e r v i n g   n o d e   p o r t   s e r v i c e s .   Y o u   m i g h t   w a n t   t o   d o   t h i s   i f   e a c h   n o d e   i s   c o n n e c t e d   t o   m u l t i p l e   n e t w o r k s   ( f o r   e x a m p l e :   o n e   n e t w o r k   f o r   a p p l i c a t i o n   t r a f f i c ,   a n d   a n o t h e r   n e t w o r k   f o r   t r a f f i c   b e t w e e n   n o d e s   a n d   t h e   c o n t r o l   p l a n e ) .   I f   y o u   w a n t   t o   s p e c i f y   p a r t i c u l a r   I P   a d d r e s s ( e s )   t o   p r o x y   t h e   p o r t ,   y o u   c a n   s e t   t h e   - - n o d e p o r t - a d d r e s s e s   f l a g   f o r   k u b e - p r o x y   o r   t h e   e q u i v a l e n t   n o d e P o r t A d d r e s s e s   f i e l d   o f   t h e   k u b e - p r o x y   c o n f i g u r a t i o n   f i l e   t o   p a r t i c u l a r   I P   b l o c k ( s ) .   T h i s   f l a g   t a k e s   a   c o m m a - d e l i m i t e d   l i s t   o f   I P   b l o c k s   ( e . g .   1 0 . 0 . 0 . 0 / 8 ,   1 9 2 . 0 . 2 . 0 / 2 5 )   t o   s p e c i f y   I P   a d d r e s s   r a n g e s   t h a t   k u b e - p r o x y   s h o u l d   c o n s i d e r   a s   l o c a l   t o   t h i s   n o d e .   F o r   e x a m p l e ,   i f   y o u   s t a r t   k u b e - p r o x y   w i t h   t h e   - - n o d e p o r t - a d d r e s s e s = 1 2 7 . 0 . 0 . 0 / 8   f l a g ,   k u b e - p r o x y   o n l y   s e l e c t s   t h e   l o o p b a c k   i n t e r f a c e   f o r   N o d e P o r t   S e r v i c e s .   T h e   d e f a u l t   f o r   - - n o d e p o r t - a d d r e s s e s   i s   a n   e m p t y   l i s t .   T h i s   m e a n s   t h a t   k u b e - p r o x y   s h o u l d   c o n s i d e r   a l l   a v a i l a b l e   n e t w o r k   i n t e r f a c e s   f o r   N o d e P o r t .   ( T h a t ' s ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12185"
  },
  {
    "question": "What is type: LoadBalancer?",
    "answer": "O n   c l o u d   p r o v i d e r s   w h i c h   s u p p o r t   e x t e r n a l   l o a d   b a l a n c e r s ,   s e t t i n g   t h e   t y p e   f i e l d   t o   L o a d B a l a n c e r   p r o v i s i o n s   a   l o a d   b a l a n c e r   f o r   y o u r   S e r v i c e .   T h e   a c t u a l   c r e a t i o n   o f   t h e   l o a d   b a l a n c e r   h a p p e n s   a s y n c h r o n o u s l y ,   a n d   i n f o r m a t i o n   a b o u t   t h e   p r o v i s i o n e d   b a l a n c e r   i s   p u b l i s h e d   i n   t h e   S e r v i c e ' s   . s t a t u s . l o a d B a l a n c e r   f i e l d .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   s p e c :   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   8 0   t a r g e t P o r t :   9 3 7 6   c l u s t e r I P :   1 0 . 0 . 1 7 1 . 2 3 9   t y p e :   L o a d B a l a n c e r   s t a t u s :   l o a d B a l a n c e r :   i n g r e s s :   -   i p :   1 9 2 . 0 . 2 . 1 2 7   T r a f f i c   f r o m   t h e   e x t e r n a l   l o a d   b a l a n c e r   i s   d i r e c t e d   a t   t h e   b a c k e n d   P o d s .   T h e   c l o u d   p r o v i d e r   d e c i d e s   h o w   i t   i s   l o a d   b a l a n c e d .   T o   i m p l e m e n t   a   S e r v i c e   o f   t y p e :   L o a d B a l a n c e r ,   K u b e r n e t e s   t y p i c a l l y   s t a r t s   o f f   b y   m a k i n g   t h e   c h a n g e s   t h a t   a r e   e q u i v a l e n t   t o   y o u   r e q u e s t i n g   a   S e r v i c e   o f   t y p e :   N o d e P o r t .   T h e   c l o u d - c o n t r o l l e r - m a n a g e r   c o m p o n e n t   t h e n   c o n f i g u r e s   t h e   e x t e r n a l   l o a d   b a l a n c e r   t o   f o r w a r d   t r a f f i c   t o   t h a t   a s s i g n e d   n o d e   p o r t .   Y o u   c a n   c o n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12186"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e . s p e c . l o a d B a l a n c e r I P   f i e l d   f o r   a   S e r v i c e   w a s   d e p r e c a t e d   i n   K u b e r n e t e s   v 1 . 2 4 .   T h i s   f i e l d   w a s   u n d e r - s p e c i f i e d   a n d   i t s   m e a n i n g   v a r i e s   a c r o s s   i m p l e m e n t a t i o n s .   I t   a l s o   c a n n o t   s u p p o r t   d u a l - s t a c k   n e t w o r k i n g .   T h i s   f i e l d   m a y   b e   r e m o v e d   i n   a   f u t u r e   A P I   v e r s i o n .   I f   y o u ' r e   i n t e g r a t i n g   w i t h   a   p r o v i d e r   t h a t   s u p p o r t s   s p e c i f y i n g   t h e   l o a d   b a l a n c e r   I P   a d d r e s s ( e s )   f o r   a   S e r v i c e   v i a   a   ( p r o v i d e r   s p e c i f i c )   a n n o t a t i o n ,   y o u   s h o u l d   s w i t c h   t o   d o i n g   t h a t .   I f   y o u   a r e   w r i t i n g   c o d e   f o r   a   l o a d   b a l a n c e r   i n t e g r a t i o n   w i t h   K u b e r n e t e s ,   a v o i d   u s i n g   t h i s   f i e l d .   Y o u   c a n   i n t e g r a t e   w i t h   G a t e w a y   r a t h e r   t h a n   S e r v i c e ,   o r   y o u   c a n   d e f i n e   y o u r   o w n   ( p r o v i d e r   s p e c i f i c )   a n n o t a t i o n s   o n   t h e   S e r v i c e   t h a t   s p e c i f y   t h e   e q u i v a l e n t   d e t a i l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12187"
  },
  {
    "question": "What is Node liveness impact on load balancer traffic?",
    "answer": "L o a d   b a l a n c e r   h e a l t h   c h e c k s   a r e   c r i t i c a l   t o   m o d e r n   a p p l i c a t i o n s .   T h e y   a r e   u s e d   t o   d e t e r m i n e   w h i c h   s e r v e r   ( v i r t u a l   m a c h i n e ,   o r   I P   a d d r e s s )   t h e   l o a d   b a l a n c e r   s h o u l d   d i s p a t c h   t r a f f i c   t o .   T h e   K u b e r n e t e s   A P I s   d o   n o t   d e f i n e   h o w   h e a l t h   c h e c k s   h a v e   t o   b e   i m p l e m e n t e d   f o r   K u b e r n e t e s   m a n a g e d   l o a d   b a l a n c e r s ,   i n s t e a d   i t ' s   t h e   c l o u d   p r o v i d e r s   ( a n d   t h e   p e o p l e   i m p l e m e n t i n g   i n t e g r a t i o n   c o d e )   w h o   d e c i d e   o n   t h e   b e h a v i o r .   L o a d   b a l a n c e r   h e a l t h   c h e c k s   a r e   e x t e n s i v e l y   u s e d   w i t h i n   t h e   c o n t e x t   o f   s u p p o r t i n g   t h e   e x t e r n a l T r a f f i c P o l i c y   f i e l d   f o r   S e r v i c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12188"
  },
  {
    "question": "What is Load balancers with mixed protocol types?",
    "answer": "B y   d e f a u l t ,   f o r   L o a d B a l a n c e r   t y p e   o f   S e r v i c e s ,   w h e n   t h e r e   i s   m o r e   t h a n   o n e   p o r t   d e f i n e d ,   a l l   p o r t s   m u s t   h a v e   t h e   s a m e   p r o t o c o l ,   a n d   t h e   p r o t o c o l   m u s t   b e   o n e   w h i c h   i s   s u p p o r t e d   b y   t h e   c l o u d   p r o v i d e r .   T h e   f e a t u r e   g a t e   M i x e d P r o t o c o l L B S e r v i c e   ( e n a b l e d   b y   d e f a u l t   f o r   t h e   k u b e - a p i s e r v e r   a s   o f   v 1 . 2 4 )   a l l o w s   t h e   u s e   o f   d i f f e r e n t   p r o t o c o l s   f o r   L o a d B a l a n c e r   t y p e   o f   S e r v i c e s ,   w h e n   t h e r e   i s   m o r e   t h a n   o n e   p o r t   d e f i n e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12189"
  },
  {
    "question": "What is Disabling load balancer NodePort allocation?",
    "answer": "Y o u   c a n   o p t i o n a l l y   d i s a b l e   n o d e   p o r t   a l l o c a t i o n   f o r   a   S e r v i c e   o f   t y p e :   L o a d B a l a n c e r ,   b y   s e t t i n g   t h e   f i e l d   s p e c . a l l o c a t e L o a d B a l a n c e r N o d e P o r t s   t o   f a l s e .   T h i s   s h o u l d   o n l y   b e   u s e d   f o r   l o a d   b a l a n c e r   i m p l e m e n t a t i o n s   t h a t   r o u t e   t r a f f i c   d i r e c t l y   t o   p o d s   a s   o p p o s e d   t o   u s i n g   n o d e   p o r t s .   B y   d e f a u l t ,   s p e c . a l l o c a t e L o a d B a l a n c e r N o d e P o r t s   i s   t r u e   a n d   t y p e   L o a d B a l a n c e r   S e r v i c e s   w i l l   c o n t i n u e   t o   a l l o c a t e   n o d e   p o r t s .   I f   s p e c . a l l o c a t e L o a d B a l a n c e r N o d e P o r t s   i s   s e t   t o   f a l s e   o n   a n   e x i s t i n g   S e r v i c e   w i t h   a l l o c a t e d   n o d e   p o r t s ,   t h o s e   n o d e   p o r t s   w i l l   n o t   b e   d e - a l l o c a t e d   a u t o m a t i c a l l y .   Y o u   m u s t   e x p l i c i t l y   r e m o v e   t h e   n o d e P o r t s   e n t r y   i n   e v e r y   S e r v i c e   p o r t   t o   d e - a l l o c a t e   t h o s e   n o d e   p o r t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12190"
  },
  {
    "question": "What is Specifying class of load balancer implementation?",
    "answer": "F o r   a   S e r v i c e   w i t h   t y p e   s e t   t o   L o a d B a l a n c e r ,   t h e   . s p e c . l o a d B a l a n c e r C l a s s   f i e l d   e n a b l e s   y o u   t o   u s e   a   l o a d   b a l a n c e r   i m p l e m e n t a t i o n   o t h e r   t h a n   t h e   c l o u d   p r o v i d e r   d e f a u l t .   B y   d e f a u l t ,   . s p e c . l o a d B a l a n c e r C l a s s   i s   n o t   s e t   a n d   a   L o a d B a l a n c e r   t y p e   o f   S e r v i c e   u s e s   t h e   c l o u d   p r o v i d e r ' s   d e f a u l t   l o a d   b a l a n c e r   i m p l e m e n t a t i o n   i f   t h e   c l u s t e r   i s   c o n f i g u r e d   w i t h   a   c l o u d   p r o v i d e r   u s i n g   t h e   - - c l o u d - p r o v i d e r   c o m p o n e n t   f l a g .   I f   y o u   s p e c i f y   . s p e c . l o a d B a l a n c e r C l a s s ,   i t   i s   a s s u m e d   t h a t   a   l o a d   b a l a n c e r   i m p l e m e n t a t i o n   t h a t   m a t c h e s   t h e   s p e c i f i e d   c l a s s   i s   w a t c h i n g   f o r   S e r v i c e s .   A n y   d e f a u l t   l o a d   b a l a n c e r   i m p l e m e n t a t i o n   ( f o r   e x a m p l e ,   t h e   o n e   p r o v i d e d   b y   t h e   c l o u d   p r o v i d e r )   w i l l   i g n o r e   S e r v i c e s   t h a t   h a v e   t h i s   f i e l d   s e t .   s p e c . l o a d B a l a n c e r C l a s s   c a n   b e   s e t   o n   a   S e r v i c e   o f   t y p e   L o a d B a l a n c e r   o n l y .   O n c e   s e t ,   i t   c a n n o t   b e   c h a n g e d .   T h e   v a l u e   o f   s p e c . l o a d B a l a n c e r C l a s s   m u s t   b e   a   l a b e l - s t y l e   i d e n t i f i e r ,   w i t h   a n   o p t i o n a l   p r e f i x   s u c h   a s   \" i n t e r n a l - v i p \"   o r   \" e x a m p l e . c o m / i n t e r n a l - v i p \" .   U n p r e f i x e d   n a m e s   a r e   r e s e r v e d   f o r   e n d - u s e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12191"
  },
  {
    "question": "What is Load balancer IP address mode?",
    "answer": "F o r   a   S e r v i c e   o f   t y p e :   L o a d B a l a n c e r ,   a   c o n t r o l l e r   c a n   s e t   . s t a t u s . l o a d B a l a n c e r . i n g r e s s . i p M o d e .   T h e   . s t a t u s . l o a d B a l a n c e r . i n g r e s s . i p M o d e   s p e c i f i e s   h o w   t h e   l o a d - b a l a n c e r   I P   b e h a v e s .   I t   m a y   b e   s p e c i f i e d   o n l y   w h e n   t h e   . s t a t u s . l o a d B a l a n c e r . i n g r e s s . i p   f i e l d   i s   a l s o   s p e c i f i e d .   T h e r e   a r e   t w o   p o s s i b l e   v a l u e s   f o r   . s t a t u s . l o a d B a l a n c e r . i n g r e s s . i p M o d e :   \" V I P \"   a n d   \" P r o x y \" .   T h e   d e f a u l t   v a l u e   i s   \" V I P \"   m e a n i n g   t h a t   t r a f f i c   i s   d e l i v e r e d   t o   t h e   n o d e   w i t h   t h e   d e s t i n a t i o n   s e t   t o   t h e   l o a d - b a l a n c e r ' s   I P   a n d   p o r t .   T h e r e   a r e   t w o   c a s e s   w h e n   s e t t i n g   t h i s   t o   \" P r o x y \" ,   d e p e n d i n g   o n   h o w   t h e   l o a d - b a l a n c e r   f r o m   t h e   c l o u d   p r o v i d e r   d e l i v e r s   t h e   t r a f f i c s :   I f   t h e   t r a f f i c   i s   d e l i v e r e d   t o   t h e   n o d e   t h e n   D N A T e d   t o   t h e   p o d ,   t h e   d e s t i n a t i o n   w o u l d   b e   s e t   t o   t h e   n o d e ' s   I P   a n d   n o d e   p o r t ; I f   t h e   t r a f f i c   i s   d e l i v e r e d   d i r e c t l y   t o   t h e   p o d ,   t h e   d e s t i n a t i o n   w o u l d   b e   s e t   t o   t h e   p o d ' s   I P   a n d   p o r t .   S e r v i c e   i m p l e m e n t a t i o n s   m a y   u s e   t h i s   i n f o r m a t i o n   t o   a d j u s t   t r a f f i c   r o u t i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12192"
  },
  {
    "question": "What is Internal load balancer?",
    "answer": "I n   a   m i x e d   e n v i r o n m e n t   i t   i s   s o m e t i m e s   n e c e s s a r y   t o   r o u t e   t r a f f i c   f r o m   S e r v i c e s   i n s i d e   t h e   s a m e   ( v i r t u a l )   n e t w o r k   a d d r e s s   b l o c k .   I n   a   s p l i t - h o r i z o n   D N S   e n v i r o n m e n t   y o u   w o u l d   n e e d   t w o   S e r v i c e s   t o   b e   a b l e   t o   r o u t e   b o t h   e x t e r n a l   a n d   i n t e r n a l   t r a f f i c   t o   y o u r   e n d p o i n t s .   T o   s e t   a n   i n t e r n a l   l o a d   b a l a n c e r ,   a d d   o n e   o f   t h e   f o l l o w i n g   a n n o t a t i o n s   t o   y o u r   S e r v i c e   d e p e n d i n g   o n   t h e   c l o u d   s e r v i c e   p r o v i d e r   y o u ' r e   u s i n g :   S e l e c t   o n e   o f   t h e   t a b s .   S e l e c t   o n e   o f   t h e   t a b s .   m e t a d a t a :   n a m e :   m y - s e r v i c e   a n n o t a t i o n s :   n e t w o r k i n g . g k e . i o / l o a d - b a l a n c e r - t y p e :   \" I n t e r n a l \"   m e t a d a t a :   n a m e :   m y - s e r v i c e   a n n o t a t i o n s :   n e t w o r k i n g . g k e . i o / l o a d - b a l a n c e r - t y p e :   \" I n t e r n a l \"   m e t a d a t a :   n a m e :   m y - s e r v i c e   a n n o t a t i o n s :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - i n t e r n a l :   \" t r u e \"   m e t a d a t a :   n a m e :   m y - s e r v i c e   a n n o t a t i o n s :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - i n t e r n a l :   \" t r u e \"   m e t a d a t a :   n a m e :   m y - s e r v i c e   a n n o t a t i o n s :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a z u r e - l o a d - b a l a n c e r - i n t e r n a l :   \" t r u e \"   m e t a d a t a :   n a m e :   m y - s e r v i c e   a n n o t a t i o n s :   s e r v i c e . b e t a . k u b e r n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12193"
  },
  {
    "question": "What is type: ExternalName?",
    "answer": "S e r v i c e s   o f   t y p e   E x t e r n a l N a m e   m a p   a   S e r v i c e   t o   a   D N S   n a m e ,   n o t   t o   a   t y p i c a l   s e l e c t o r   s u c h   a s   m y - s e r v i c e   o r   c a s s a n d r a .   Y o u   s p e c i f y   t h e s e   S e r v i c e s   w i t h   t h e   s p e c . e x t e r n a l N a m e   p a r a m e t e r .   T h i s   S e r v i c e   d e f i n i t i o n ,   f o r   e x a m p l e ,   m a p s   t h e   m y - s e r v i c e   S e r v i c e   i n   t h e   p r o d   n a m e s p a c e   t o   m y . d a t a b a s e . e x a m p l e . c o m :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   n a m e s p a c e :   p r o d   s p e c :   t y p e :   E x t e r n a l N a m e   e x t e r n a l N a m e :   m y . d a t a b a s e . e x a m p l e . c o m",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12194"
  },
  {
    "question": "What is Note:?",
    "answer": "A   S e r v i c e   o f   t y p e :   E x t e r n a l N a m e   a c c e p t s   a n   I P v 4   a d d r e s s   s t r i n g ,   b u t   t r e a t s   t h a t   s t r i n g   a s   a   D N S   n a m e   c o m p r i s e d   o f   d i g i t s ,   n o t   a s   a n   I P   a d d r e s s   ( t h e   i n t e r n e t   d o e s   n o t   h o w e v e r   a l l o w   s u c h   n a m e s   i n   D N S ) .   S e r v i c e s   w i t h   e x t e r n a l   n a m e s   t h a t   r e s e m b l e   I P v 4   a d d r e s s e s   a r e   n o t   r e s o l v e d   b y   D N S   s e r v e r s .   I f   y o u   w a n t   t o   m a p   a   S e r v i c e   d i r e c t l y   t o   a   s p e c i f i c   I P   a d d r e s s ,   c o n s i d e r   u s i n g   h e a d l e s s   S e r v i c e s .   W h e n   l o o k i n g   u p   t h e   h o s t   m y - s e r v i c e . p r o d . s v c . c l u s t e r . l o c a l ,   t h e   c l u s t e r   D N S   S e r v i c e   r e t u r n s   a   C N A M E   r e c o r d   w i t h   t h e   v a l u e   m y . d a t a b a s e . e x a m p l e . c o m .   A c c e s s i n g   m y - s e r v i c e   w o r k s   i n   t h e   s a m e   w a y   a s   o t h e r   S e r v i c e s   b u t   w i t h   t h e   c r u c i a l   d i f f e r e n c e   t h a t   r e d i r e c t i o n   h a p p e n s   a t   t h e   D N S   l e v e l   r a t h e r   t h a n   v i a   p r o x y i n g   o r   f o r w a r d i n g .   S h o u l d   y o u   l a t e r   d e c i d e   t o   m o v e   y o u r   d a t a b a s e   i n t o   y o u r   c l u s t e r ,   y o u   c a n   s t a r t   i t s   P o d s ,   a d d   a p p r o p r i a t e   s e l e c t o r s   o r   e n d p o i n t s ,   a n d   c h a n g e   t h e   S e r v i c e ' s   t y p e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12195"
  },
  {
    "question": "What is Caution:?",
    "answer": "Y o u   m a y   h a v e   t r o u b l e   u s i n g   E x t e r n a l N a m e   f o r   s o m e   c o m m o n   p r o t o c o l s ,   i n c l u d i n g   H T T P   a n d   H T T P S .   I f   y o u   u s e   E x t e r n a l N a m e   t h e n   t h e   h o s t n a m e   u s e d   b y   c l i e n t s   i n s i d e   y o u r   c l u s t e r   i s   d i f f e r e n t   f r o m   t h e   n a m e   t h a t   t h e   E x t e r n a l N a m e   r e f e r e n c e s .   F o r   p r o t o c o l s   t h a t   u s e   h o s t n a m e s   t h i s   d i f f e r e n c e   m a y   l e a d   t o   e r r o r s   o r   u n e x p e c t e d   r e s p o n s e s .   H T T P   r e q u e s t s   w i l l   h a v e   a   H o s t :   h e a d e r   t h a t   t h e   o r i g i n   s e r v e r   d o e s   n o t   r e c o g n i z e ;   T L S   s e r v e r s   w i l l   n o t   b e   a b l e   t o   p r o v i d e   a   c e r t i f i c a t e   m a t c h i n g   t h e   h o s t n a m e   t h a t   t h e   c l i e n t   c o n n e c t e d   t o .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12196"
  },
  {
    "question": "What is Headless Services?",
    "answer": "S o m e t i m e s   y o u   d o n ' t   n e e d   l o a d - b a l a n c i n g   a n d   a   s i n g l e   S e r v i c e   I P .   I n   t h i s   c a s e ,   y o u   c a n   c r e a t e   w h a t   a r e   t e r m e d   h e a d l e s s   S e r v i c e s ,   b y   e x p l i c i t l y   s p e c i f y i n g   \" N o n e \"   f o r   t h e   c l u s t e r   I P   a d d r e s s   ( . s p e c . c l u s t e r I P ) .   Y o u   c a n   u s e   a   h e a d l e s s   S e r v i c e   t o   i n t e r f a c e   w i t h   o t h e r   s e r v i c e   d i s c o v e r y   m e c h a n i s m s ,   w i t h o u t   b e i n g   t i e d   t o   K u b e r n e t e s '   i m p l e m e n t a t i o n .   F o r   h e a d l e s s   S e r v i c e s ,   a   c l u s t e r   I P   i s   n o t   a l l o c a t e d ,   k u b e - p r o x y   d o e s   n o t   h a n d l e   t h e s e   S e r v i c e s ,   a n d   t h e r e   i s   n o   l o a d   b a l a n c i n g   o r   p r o x y i n g   d o n e   b y   t h e   p l a t f o r m   f o r   t h e m .   A   h e a d l e s s   S e r v i c e   a l l o w s   a   c l i e n t   t o   c o n n e c t   t o   w h i c h e v e r   P o d   i t   p r e f e r s ,   d i r e c t l y .   S e r v i c e s   t h a t   a r e   h e a d l e s s   d o n ' t   c o n f i g u r e   r o u t e s   a n d   p a c k e t   f o r w a r d i n g   u s i n g   v i r t u a l   I P   a d d r e s s e s   a n d   p r o x i e s ;   i n s t e a d ,   h e a d l e s s   S e r v i c e s   r e p o r t   t h e   e n d p o i n t   I P   a d d r e s s e s   o f   t h e   i n d i v i d u a l   p o d s   v i a   i n t e r n a l   D N S   r e c o r d s ,   s e r v e d   t h r o u g h   t h e   c l u s t e r ' s   D N S   s e r v i c e .   T o   d e f i n e   a   h e a d l e s s   S e r v i c e ,   y o u   m a k e   a   S e r v i c e   w i t h   . s p e c . t y p e   s e t   t o   C l u s t e r I P   ( w h i c h   i s   a l s o   t h e   d e f a u l t   f o r   t y p e ) ,   a n d   y o u   a d d i t i o n a l l ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12197"
  },
  {
    "question": "What is With selectors?",
    "answer": "F o r   h e a d l e s s   S e r v i c e s   t h a t   d e f i n e   s e l e c t o r s ,   t h e   e n d p o i n t s   c o n t r o l l e r   c r e a t e s   E n d p o i n t S l i c e s   i n   t h e   K u b e r n e t e s   A P I ,   a n d   m o d i f i e s   t h e   D N S   c o n f i g u r a t i o n   t o   r e t u r n   A   o r   A A A A   r e c o r d s   ( I P v 4   o r   I P v 6   a d d r e s s e s )   t h a t   p o i n t   d i r e c t l y   t o   t h e   P o d s   b a c k i n g   t h e   S e r v i c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12198"
  },
  {
    "question": "What is Without selectors?",
    "answer": "F o r   h e a d l e s s   S e r v i c e s   t h a t   d o   n o t   d e f i n e   s e l e c t o r s ,   t h e   c o n t r o l   p l a n e   d o e s   n o t   c r e a t e   E n d p o i n t S l i c e   o b j e c t s .   H o w e v e r ,   t h e   D N S   s y s t e m   l o o k s   f o r   a n d   c o n f i g u r e s   e i t h e r :   D N S   C N A M E   r e c o r d s   f o r   t y p e :   E x t e r n a l N a m e   S e r v i c e s . D N S   A   /   A A A A   r e c o r d s   f o r   a l l   I P   a d d r e s s e s   o f   t h e   S e r v i c e ' s   r e a d y   e n d p o i n t s ,   f o r   a l l   S e r v i c e   t y p e s   o t h e r   t h a n   E x t e r n a l N a m e . F o r   I P v 4   e n d p o i n t s ,   t h e   D N S   s y s t e m   c r e a t e s   A   r e c o r d s . F o r   I P v 6   e n d p o i n t s ,   t h e   D N S   s y s t e m   c r e a t e s   A A A A   r e c o r d s .   F o r   I P v 4   e n d p o i n t s ,   t h e   D N S   s y s t e m   c r e a t e s   A   r e c o r d s . F o r   I P v 6   e n d p o i n t s ,   t h e   D N S   s y s t e m   c r e a t e s   A A A A   r e c o r d s .   W h e n   y o u   d e f i n e   a   h e a d l e s s   S e r v i c e   w i t h o u t   a   s e l e c t o r ,   t h e   p o r t   m u s t   m a t c h   t h e   t a r g e t P o r t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12199"
  },
  {
    "question": "What is Discovering services?",
    "answer": "F o r   c l i e n t s   r u n n i n g   i n s i d e   y o u r   c l u s t e r ,   K u b e r n e t e s   s u p p o r t s   t w o   p r i m a r y   m o d e s   o f   f i n d i n g   a   S e r v i c e :   e n v i r o n m e n t   v a r i a b l e s   a n d   D N S .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12200"
  },
  {
    "question": "What is Environment variables?",
    "answer": "W h e n   a   P o d   i s   r u n   o n   a   N o d e ,   t h e   k u b e l e t   a d d s   a   s e t   o f   e n v i r o n m e n t   v a r i a b l e s   f o r   e a c h   a c t i v e   S e r v i c e .   I t   a d d s   { S V C N A M E } _ S E R V I C E _ H O S T   a n d   { S V C N A M E } _ S E R V I C E _ P O R T   v a r i a b l e s ,   w h e r e   t h e   S e r v i c e   n a m e   i s   u p p e r - c a s e d   a n d   d a s h e s   a r e   c o n v e r t e d   t o   u n d e r s c o r e s .   F o r   e x a m p l e ,   t h e   S e r v i c e   r e d i s - p r i m a r y   w h i c h   e x p o s e s   T C P   p o r t   6 3 7 9   a n d   h a s   b e e n   a l l o c a t e d   c l u s t e r   I P   a d d r e s s   1 0 . 0 . 0 . 1 1 ,   p r o d u c e s   t h e   f o l l o w i n g   e n v i r o n m e n t   v a r i a b l e s :   R E D I S _ P R I M A R Y _ S E R V I C E _ H O S T = 1 0 . 0 . 0 . 1 1   R E D I S _ P R I M A R Y _ S E R V I C E _ P O R T = 6 3 7 9   R E D I S _ P R I M A R Y _ P O R T = t c p : / / 1 0 . 0 . 0 . 1 1 : 6 3 7 9   R E D I S _ P R I M A R Y _ P O R T _ 6 3 7 9 _ T C P = t c p : / / 1 0 . 0 . 0 . 1 1 : 6 3 7 9   R E D I S _ P R I M A R Y _ P O R T _ 6 3 7 9 _ T C P _ P R O T O = t c p   R E D I S _ P R I M A R Y _ P O R T _ 6 3 7 9 _ T C P _ P O R T = 6 3 7 9   R E D I S _ P R I M A R Y _ P O R T _ 6 3 7 9 _ T C P _ A D D R = 1 0 . 0 . 0 . 1 1",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12201"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   y o u   h a v e   a   P o d   t h a t   n e e d s   t o   a c c e s s   a   S e r v i c e ,   a n d   y o u   a r e   u s i n g   t h e   e n v i r o n m e n t   v a r i a b l e   m e t h o d   t o   p u b l i s h   t h e   p o r t   a n d   c l u s t e r   I P   t o   t h e   c l i e n t   P o d s ,   y o u   m u s t   c r e a t e   t h e   S e r v i c e   b e f o r e   t h e   c l i e n t   P o d s   c o m e   i n t o   e x i s t e n c e .   O t h e r w i s e ,   t h o s e   c l i e n t   P o d s   w o n ' t   h a v e   t h e i r   e n v i r o n m e n t   v a r i a b l e s   p o p u l a t e d .   I f   y o u   o n l y   u s e   D N S   t o   d i s c o v e r   t h e   c l u s t e r   I P   f o r   a   S e r v i c e ,   y o u   d o n ' t   n e e d   t o   w o r r y   a b o u t   t h i s   o r d e r i n g   i s s u e .   K u b e r n e t e s   a l s o   s u p p o r t s   a n d   p r o v i d e s   v a r i a b l e s   t h a t   a r e   c o m p a t i b l e   w i t h   D o c k e r   E n g i n e ' s   \" l e g a c y   c o n t a i n e r   l i n k s \"   f e a t u r e .   Y o u   c a n   r e a d   m a k e L i n k V a r i a b l e s   t o   s e e   h o w   t h i s   i s   i m p l e m e n t e d   i n   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12202"
  },
  {
    "question": "What is DNS?",
    "answer": "Y o u   c a n   ( a n d   a l m o s t   a l w a y s   s h o u l d )   s e t   u p   a   D N S   s e r v i c e   f o r   y o u r   K u b e r n e t e s   c l u s t e r   u s i n g   a n   a d d - o n .   A   c l u s t e r - a w a r e   D N S   s e r v e r ,   s u c h   a s   C o r e D N S ,   w a t c h e s   t h e   K u b e r n e t e s   A P I   f o r   n e w   S e r v i c e s   a n d   c r e a t e s   a   s e t   o f   D N S   r e c o r d s   f o r   e a c h   o n e .   I f   D N S   h a s   b e e n   e n a b l e d   t h r o u g h o u t   y o u r   c l u s t e r   t h e n   a l l   P o d s   s h o u l d   a u t o m a t i c a l l y   b e   a b l e   t o   r e s o l v e   S e r v i c e s   b y   t h e i r   D N S   n a m e .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   S e r v i c e   c a l l e d   m y - s e r v i c e   i n   a   K u b e r n e t e s   n a m e s p a c e   m y - n s ,   t h e   c o n t r o l   p l a n e   a n d   t h e   D N S   S e r v i c e   a c t i n g   t o g e t h e r   c r e a t e   a   D N S   r e c o r d   f o r   m y - s e r v i c e . m y - n s .   P o d s   i n   t h e   m y - n s   n a m e s p a c e   s h o u l d   b e   a b l e   t o   f i n d   t h e   s e r v i c e   b y   d o i n g   a   n a m e   l o o k u p   f o r   m y - s e r v i c e   ( m y - s e r v i c e . m y - n s   w o u l d   a l s o   w o r k ) .   P o d s   i n   o t h e r   n a m e s p a c e s   m u s t   q u a l i f y   t h e   n a m e   a s   m y - s e r v i c e . m y - n s .   T h e s e   n a m e s   w i l l   r e s o l v e   t o   t h e   c l u s t e r   I P   a s s i g n e d   f o r   t h e   S e r v i c e .   K u b e r n e t e s   a l s o   s u p p o r t s   D N S   S R V   ( S e r v i c e )   r e c o r d s   f o r   n a m e d   p o r t s .   I f   t h e   m y - s e r v i c e . m y - n s   S e r v i c e   h a s   a   p o r t   n a m e d   h t t p   w i t h   t h e   p r o t o c o l   s e t   t o   T C P ,   y o u   c a n   d o   a   D N S   S R V   q u e r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12203"
  },
  {
    "question": "What is Virtual IP addressing mechanism?",
    "answer": "R e a d   V i r t u a l   I P s   a n d   S e r v i c e   P r o x i e s   e x p l a i n s   t h e   m e c h a n i s m   K u b e r n e t e s   p r o v i d e s   t o   e x p o s e   a   S e r v i c e   w i t h   a   v i r t u a l   I P   a d d r e s s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12204"
  },
  {
    "question": "What is Traffic policies?",
    "answer": "Y o u   c a n   s e t   t h e   . s p e c . i n t e r n a l T r a f f i c P o l i c y   a n d   . s p e c . e x t e r n a l T r a f f i c P o l i c y   f i e l d s   t o   c o n t r o l   h o w   K u b e r n e t e s   r o u t e s   t r a f f i c   t o   h e a l t h y   ( “ r e a d y ” )   b a c k e n d s .   S e e   T r a f f i c   P o l i c i e s   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12205"
  },
  {
    "question": "What is Traffic distribution?",
    "answer": "T h e   . s p e c . t r a f f i c D i s t r i b u t i o n   f i e l d   p r o v i d e s   a n o t h e r   w a y   t o   i n f l u e n c e   t r a f f i c   r o u t i n g   w i t h i n   a   K u b e r n e t e s   S e r v i c e .   W h i l e   t r a f f i c   p o l i c i e s   f o c u s   o n   s t r i c t   s e m a n t i c   g u a r a n t e e s ,   t r a f f i c   d i s t r i b u t i o n   a l l o w s   y o u   t o   e x p r e s s   p r e f e r e n c e s   ( s u c h   a s   r o u t i n g   t o   t o p o l o g i c a l l y   c l o s e r   e n d p o i n t s ) .   T h i s   c a n   h e l p   o p t i m i z e   f o r   p e r f o r m a n c e ,   c o s t ,   o r   r e l i a b i l i t y .   I n   K u b e r n e t e s   1 . 3 4 ,   t h e   f o l l o w i n g   f i e l d   v a l u e   i s   s u p p o r t e d :   I n   K u b e r n e t e s   1 . 3 4 ,   t w o   a d d i t i o n a l   v a l u e s   a r e   a v a i l a b l e   ( u n l e s s   t h e   P r e f e r S a m e T r a f f i c D i s t r i b u t i o n   f e a t u r e   g a t e   i s   d i s a b l e d ) :   I f   t h e   f i e l d   i s   n o t   s e t ,   t h e   i m p l e m e n t a t i o n   w i l l   a p p l y   i t s   d e f a u l t   r o u t i n g   s t r a t e g y .   S e e   T r a f f i c   D i s t r i b u t i o n   f o r   m o r e   d e t a i l s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12206"
  },
  {
    "question": "What is Session stickiness?",
    "answer": "I f   y o u   w a n t   t o   m a k e   s u r e   t h a t   c o n n e c t i o n s   f r o m   a   p a r t i c u l a r   c l i e n t   a r e   p a s s e d   t o   t h e   s a m e   P o d   e a c h   t i m e ,   y o u   c a n   c o n f i g u r e   s e s s i o n   a f f i n i t y   b a s e d   o n   t h e   c l i e n t ' s   I P   a d d r e s s .   R e a d   s e s s i o n   a f f i n i t y   t o   l e a r n   m o r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12207"
  },
  {
    "question": "What is External IPs?",
    "answer": "I f   t h e r e   a r e   e x t e r n a l   I P s   t h a t   r o u t e   t o   o n e   o r   m o r e   c l u s t e r   n o d e s ,   K u b e r n e t e s   S e r v i c e s   c a n   b e   e x p o s e d   o n   t h o s e   e x t e r n a l I P s .   W h e n   n e t w o r k   t r a f f i c   a r r i v e s   i n t o   t h e   c l u s t e r ,   w i t h   t h e   e x t e r n a l   I P   ( a s   d e s t i n a t i o n   I P )   a n d   t h e   p o r t   m a t c h i n g   t h a t   S e r v i c e ,   r u l e s   a n d   r o u t e s   t h a t   K u b e r n e t e s   h a s   c o n f i g u r e d   e n s u r e   t h a t   t h e   t r a f f i c   i s   r o u t e d   t o   o n e   o f   t h e   e n d p o i n t s   f o r   t h a t   S e r v i c e .   W h e n   y o u   d e f i n e   a   S e r v i c e ,   y o u   c a n   s p e c i f y   e x t e r n a l I P s   f o r   a n y   s e r v i c e   t y p e .   I n   t h e   e x a m p l e   b e l o w ,   t h e   S e r v i c e   n a m e d   \" m y - s e r v i c e \"   c a n   b e   a c c e s s e d   b y   c l i e n t s   u s i n g   T C P ,   o n   \" 1 9 8 . 5 1 . 1 0 0 . 3 2 : 8 0 \"   ( c a l c u l a t e d   f r o m   . s p e c . e x t e r n a l I P s [ ]   a n d   . s p e c . p o r t s [ ] . p o r t ) .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   s p e c :   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   n a m e :   h t t p   p r o t o c o l :   T C P   p o r t :   8 0   t a r g e t P o r t :   4 9 1 5 2   e x t e r n a l I P s :   -   1 9 8 . 5 1 . 1 0 0 . 3 2",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12208"
  },
  {
    "question": "What is API Object?",
    "answer": "S e r v i c e   i s   a   t o p - l e v e l   r e s o u r c e   i n   t h e   K u b e r n e t e s   R E S T   A P I .   Y o u   c a n   f i n d   m o r e   d e t a i l s   a b o u t   t h e   S e r v i c e   A P I   o b j e c t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12209"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   S e r v i c e s   a n d   h o w   t h e y   f i t   i n t o   K u b e r n e t e s :   F o l l o w   t h e   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s   t u t o r i a l . R e a d   a b o u t   I n g r e s s ,   w h i c h   e x p o s e s   H T T P   a n d   H T T P S   r o u t e s   f r o m   o u t s i d e   t h e   c l u s t e r   t o   S e r v i c e s   w i t h i n   y o u r   c l u s t e r . R e a d   a b o u t   G a t e w a y ,   a n   e x t e n s i o n   t o   K u b e r n e t e s   t h a t   p r o v i d e s   m o r e   f l e x i b i l i t y   t h a n   I n g r e s s .   F o r   m o r e   c o n t e x t ,   r e a d   t h e   f o l l o w i n g :   V i r t u a l   I P s   a n d   S e r v i c e   P r o x i e s E n d p o i n t S l i c e s S e r v i c e   A P I   r e f e r e n c e E n d p o i n t S l i c e   A P I   r e f e r e n c e E n d p o i n t   A P I   r e f e r e n c e   ( l e g a c y )",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12210"
  },
  {
    "question": "What is 5.2 - Ingress?",
    "answer": "F E A T U R E   S T A T E :   K u b e r n e t e s   v 1 . 1 9   [ s t a b l e ] A n   A P I   o b j e c t   t h a t   m a n a g e s   e x t e r n a l   a c c e s s   t o   t h e   s e r v i c e s   i n   a   c l u s t e r ,   t y p i c a l l y   H T T P . I n g r e s s   m a y   p r o v i d e   l o a d   b a l a n c i n g ,   S S L   t e r m i n a t i o n   a n d   n a m e - b a s e d   v i r t u a l   h o s t i n g .   A n   A P I   o b j e c t   t h a t   m a n a g e s   e x t e r n a l   a c c e s s   t o   t h e   s e r v i c e s   i n   a   c l u s t e r ,   t y p i c a l l y   H T T P .   I n g r e s s   m a y   p r o v i d e   l o a d   b a l a n c i n g ,   S S L   t e r m i n a t i o n   a n d   n a m e - b a s e d   v i r t u a l   h o s t i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12211"
  },
  {
    "question": "What is Terminology?",
    "answer": "F o r   c l a r i t y ,   t h i s   g u i d e   d e f i n e s   t h e   f o l l o w i n g   t e r m s :   N o d e :   A   w o r k e r   m a c h i n e   i n   K u b e r n e t e s ,   p a r t   o f   a   c l u s t e r . C l u s t e r :   A   s e t   o f   N o d e s   t h a t   r u n   c o n t a i n e r i z e d   a p p l i c a t i o n s   m a n a g e d   b y   K u b e r n e t e s .   F o r   t h i s   e x a m p l e ,   a n d   i n   m o s t   c o m m o n   K u b e r n e t e s   d e p l o y m e n t s ,   n o d e s   i n   t h e   c l u s t e r   a r e   n o t   p a r t   o f   t h e   p u b l i c   i n t e r n e t . E d g e   r o u t e r :   A   r o u t e r   t h a t   e n f o r c e s   t h e   f i r e w a l l   p o l i c y   f o r   y o u r   c l u s t e r .   T h i s   c o u l d   b e   a   g a t e w a y   m a n a g e d   b y   a   c l o u d   p r o v i d e r   o r   a   p h y s i c a l   p i e c e   o f   h a r d w a r e . C l u s t e r   n e t w o r k :   A   s e t   o f   l i n k s ,   l o g i c a l   o r   p h y s i c a l ,   t h a t   f a c i l i t a t e   c o m m u n i c a t i o n   w i t h i n   a   c l u s t e r   a c c o r d i n g   t o   t h e   K u b e r n e t e s   n e t w o r k i n g   m o d e l . S e r v i c e :   A   K u b e r n e t e s   S e r v i c e   t h a t   i d e n t i f i e s   a   s e t   o f   P o d s   u s i n g   l a b e l   s e l e c t o r s .   U n l e s s   m e n t i o n e d   o t h e r w i s e ,   S e r v i c e s   a r e   a s s u m e d   t o   h a v e   v i r t u a l   I P s   o n l y   r o u t a b l e   w i t h i n   t h e   c l u s t e r   n e t w o r k .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12212"
  },
  {
    "question": "What is What is Ingress??",
    "answer": "I n g r e s s   e x p o s e s   H T T P   a n d   H T T P S   r o u t e s   f r o m   o u t s i d e   t h e   c l u s t e r   t o   s e r v i c e s   w i t h i n   t h e   c l u s t e r .   T r a f f i c   r o u t i n g   i s   c o n t r o l l e d   b y   r u l e s   d e f i n e d   o n   t h e   I n g r e s s   r e s o u r c e .   H e r e   i s   a   s i m p l e   e x a m p l e   w h e r e   a n   I n g r e s s   s e n d s   a l l   i t s   t r a f f i c   t o   o n e   S e r v i c e :   F i g u r e .   I n g r e s s   A n   I n g r e s s   m a y   b e   c o n f i g u r e d   t o   g i v e   S e r v i c e s   e x t e r n a l l y - r e a c h a b l e   U R L s ,   l o a d   b a l a n c e   t r a f f i c ,   t e r m i n a t e   S S L   /   T L S ,   a n d   o f f e r   n a m e - b a s e d   v i r t u a l   h o s t i n g .   A n   I n g r e s s   c o n t r o l l e r   i s   r e s p o n s i b l e   f o r   f u l f i l l i n g   t h e   I n g r e s s ,   u s u a l l y   w i t h   a   l o a d   b a l a n c e r ,   t h o u g h   i t   m a y   a l s o   c o n f i g u r e   y o u r   e d g e   r o u t e r   o r   a d d i t i o n a l   f r o n t e n d s   t o   h e l p   h a n d l e   t h e   t r a f f i c .   A n   I n g r e s s   d o e s   n o t   e x p o s e   a r b i t r a r y   p o r t s   o r   p r o t o c o l s .   E x p o s i n g   s e r v i c e s   o t h e r   t h a n   H T T P   a n d   H T T P S   t o   t h e   i n t e r n e t   t y p i c a l l y   u s e s   a   s e r v i c e   o f   t y p e   S e r v i c e . T y p e = N o d e P o r t   o r   S e r v i c e . T y p e = L o a d B a l a n c e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12213"
  },
  {
    "question": "What is Prerequisites?",
    "answer": "Y o u   m u s t   h a v e   a n   I n g r e s s   c o n t r o l l e r   t o   s a t i s f y   a n   I n g r e s s .   O n l y   c r e a t i n g   a n   I n g r e s s   r e s o u r c e   h a s   n o   e f f e c t .   Y o u   m a y   n e e d   t o   d e p l o y   a n   I n g r e s s   c o n t r o l l e r   s u c h   a s   i n g r e s s - n g i n x .   Y o u   c a n   c h o o s e   f r o m   a   n u m b e r   o f   I n g r e s s   c o n t r o l l e r s .   I d e a l l y ,   a l l   I n g r e s s   c o n t r o l l e r s   s h o u l d   f i t   t h e   r e f e r e n c e   s p e c i f i c a t i o n .   I n   r e a l i t y ,   t h e   v a r i o u s   I n g r e s s   c o n t r o l l e r s   o p e r a t e   s l i g h t l y   d i f f e r e n t l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12214"
  },
  {
    "question": "What is The Ingress resource?",
    "answer": "A   m i n i m a l   I n g r e s s   r e s o u r c e   e x a m p l e :   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a :   n a m e :   m i n i m a l - i n g r e s s   a n n o t a t i o n s :   n g i n x . i n g r e s s . k u b e r n e t e s . i o / r e w r i t e - t a r g e t :   /   s p e c :   i n g r e s s C l a s s N a m e :   n g i n x - e x a m p l e   r u l e s :   -   h t t p :   p a t h s :   -   p a t h :   / t e s t p a t h   p a t h T y p e :   P r e f i x   b a c k e n d :   s e r v i c e :   n a m e :   t e s t   p o r t :   n u m b e r :   8 0   A n   I n g r e s s   n e e d s   a p i V e r s i o n ,   k i n d ,   m e t a d a t a   a n d   s p e c   f i e l d s .   T h e   n a m e   o f   a n   I n g r e s s   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   F o r   g e n e r a l   i n f o r m a t i o n   a b o u t   w o r k i n g   w i t h   c o n f i g   f i l e s ,   s e e   d e p l o y i n g   a p p l i c a t i o n s ,   c o n f i g u r i n g   c o n t a i n e r s ,   m a n a g i n g   r e s o u r c e s .   I n g r e s s   f r e q u e n t l y   u s e s   a n n o t a t i o n s   t o   c o n f i g u r e   s o m e   o p t i o n s   d e p e n d i n g   o n   t h e   I n g r e s s   c o n t r o l l e r ,   a n   e x a m p l e   o f   w h i c h   i s   t h e   r e w r i t e - t a r g e t   a n n o t a t i o n .   D i f f e r e n t   I n g r e s s   c o n t r o l l e r s   s u p p o r t   d i f f e r e n t   a n n o t a t i o n s .   R e v i e w   t h e   d o c u m e n t a t i o n   f o r   y o u r   c h o i c e   o f   I n g r e s s   c o n t r o l l e r   t o   l e a r n   w h i c h   a n n o t a t i o n s   a r e   s u p p o r t e d .   T h e   I n g r e s s   s p e c   h a s   a l l   t h e   i n f o r m a t i o n   n e e d e d   t o   c o n f i g u r e   a   l o a d   b a l a n c e r   o r   p r o x y   s e r v e r .   M o s t   i m p o r t a n t l y ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12215"
  },
  {
    "question": "What is Ingress rules?",
    "answer": "E a c h   H T T P   r u l e   c o n t a i n s   t h e   f o l l o w i n g   i n f o r m a t i o n :   A n   o p t i o n a l   h o s t .   I n   t h i s   e x a m p l e ,   n o   h o s t   i s   s p e c i f i e d ,   s o   t h e   r u l e   a p p l i e s   t o   a l l   i n b o u n d   H T T P   t r a f f i c   t h r o u g h   t h e   I P   a d d r e s s   s p e c i f i e d .   I f   a   h o s t   i s   p r o v i d e d   ( f o r   e x a m p l e ,   f o o . b a r . c o m ) ,   t h e   r u l e s   a p p l y   t o   t h a t   h o s t . A   l i s t   o f   p a t h s   ( f o r   e x a m p l e ,   / t e s t p a t h ) ,   e a c h   o f   w h i c h   h a s   a n   a s s o c i a t e d   b a c k e n d   d e f i n e d   w i t h   a   s e r v i c e . n a m e   a n d   a   s e r v i c e . p o r t . n a m e   o r   s e r v i c e . p o r t . n u m b e r .   B o t h   t h e   h o s t   a n d   p a t h   m u s t   m a t c h   t h e   c o n t e n t   o f   a n   i n c o m i n g   r e q u e s t   b e f o r e   t h e   l o a d   b a l a n c e r   d i r e c t s   t r a f f i c   t o   t h e   r e f e r e n c e d   S e r v i c e . A   b a c k e n d   i s   a   c o m b i n a t i o n   o f   S e r v i c e   a n d   p o r t   n a m e s   a s   d e s c r i b e d   i n   t h e   S e r v i c e   d o c   o r   a   c u s t o m   r e s o u r c e   b a c k e n d   b y   w a y   o f   a   C R D .   H T T P   ( a n d   H T T P S )   r e q u e s t s   t o   t h e   I n g r e s s   t h a t   m a t c h   t h e   h o s t   a n d   p a t h   o f   t h e   r u l e   a r e   s e n t   t o   t h e   l i s t e d   b a c k e n d .   A   d e f a u l t B a c k e n d   i s   o f t e n   c o n f i g u r e d   i n   a n   I n g r e s s   c o n t r o l l e r   t o   s e r v i c e   a n y   r e q u e s t s   t h a t   d o   n o t   m a t c h   a   p a t h   i n   t h e   s p e c .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12216"
  },
  {
    "question": "What is DefaultBackend?",
    "answer": "A n   I n g r e s s   w i t h   n o   r u l e s   s e n d s   a l l   t r a f f i c   t o   a   s i n g l e   d e f a u l t   b a c k e n d   a n d   . s p e c . d e f a u l t B a c k e n d   i s   t h e   b a c k e n d   t h a t   s h o u l d   h a n d l e   r e q u e s t s   i n   t h a t   c a s e .   T h e   d e f a u l t B a c k e n d   i s   c o n v e n t i o n a l l y   a   c o n f i g u r a t i o n   o p t i o n   o f   t h e   I n g r e s s   c o n t r o l l e r   a n d   i s   n o t   s p e c i f i e d   i n   y o u r   I n g r e s s   r e s o u r c e s .   I f   n o   . s p e c . r u l e s   a r e   s p e c i f i e d ,   . s p e c . d e f a u l t B a c k e n d   m u s t   b e   s p e c i f i e d .   I f   d e f a u l t B a c k e n d   i s   n o t   s e t ,   t h e   h a n d l i n g   o f   r e q u e s t s   t h a t   d o   n o t   m a t c h   a n y   o f   t h e   r u l e s   w i l l   b e   u p   t o   t h e   i n g r e s s   c o n t r o l l e r   ( c o n s u l t   t h e   d o c u m e n t a t i o n   f o r   y o u r   i n g r e s s   c o n t r o l l e r   t o   f i n d   o u t   h o w   i t   h a n d l e s   t h i s   c a s e ) .   I f   n o n e   o f   t h e   h o s t s   o r   p a t h s   m a t c h   t h e   H T T P   r e q u e s t   i n   t h e   I n g r e s s   o b j e c t s ,   t h e   t r a f f i c   i s   r o u t e d   t o   y o u r   d e f a u l t   b a c k e n d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12217"
  },
  {
    "question": "What is Resource backends?",
    "answer": "A   R e s o u r c e   b a c k e n d   i s   a n   O b j e c t R e f   t o   a n o t h e r   K u b e r n e t e s   r e s o u r c e   w i t h i n   t h e   s a m e   n a m e s p a c e   a s   t h e   I n g r e s s   o b j e c t .   A   R e s o u r c e   i s   a   m u t u a l l y   e x c l u s i v e   s e t t i n g   w i t h   S e r v i c e ,   a n d   w i l l   f a i l   v a l i d a t i o n   i f   b o t h   a r e   s p e c i f i e d .   A   c o m m o n   u s a g e   f o r   a   R e s o u r c e   b a c k e n d   i s   t o   i n g r e s s   d a t a   t o   a n   o b j e c t   s t o r a g e   b a c k e n d   w i t h   s t a t i c   a s s e t s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a :   n a m e :   i n g r e s s - r e s o u r c e - b a c k e n d   s p e c :   d e f a u l t B a c k e n d :   r e s o u r c e :   a p i G r o u p :   k 8 s . e x a m p l e . c o m   k i n d :   S t o r a g e B u c k e t   n a m e :   s t a t i c - a s s e t s   r u l e s :   -   h t t p :   p a t h s :   -   p a t h :   / i c o n s   p a t h T y p e :   I m p l e m e n t a t i o n S p e c i f i c   b a c k e n d :   r e s o u r c e :   a p i G r o u p :   k 8 s . e x a m p l e . c o m   k i n d :   S t o r a g e B u c k e t   n a m e :   i c o n - a s s e t s   A f t e r   c r e a t i n g   t h e   I n g r e s s   a b o v e ,   y o u   c a n   v i e w   i t   w i t h   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   d e s c r i b e   i n g r e s s   i n g r e s s - r e s o u r c e - b a c k e n d   N a m e :   i n g r e s s - r e s o u r c e - b a c k e n d   N a m e s p a c e :   d e f a u l t   A d d r e s s :   D e f a u l t   b a c k e n d :   A P I G r o u p :   k 8 s . e x a m p l e . c o m ,   K i n d :   S t o r a g e B u c k e t ,   N a m e :   s t a t i c - a s s e t s   R u l e s :   H o s t   P a t h   B a c k e n d s   - - - -   - - - -   - - - - - - - -   *   / i c o n s   A P I G r o u p : ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12218"
  },
  {
    "question": "What is Path types?",
    "answer": "E a c h   p a t h   i n   a n   I n g r e s s   i s   r e q u i r e d   t o   h a v e   a   c o r r e s p o n d i n g   p a t h   t y p e .   P a t h s   t h a t   d o   n o t   i n c l u d e   a n   e x p l i c i t   p a t h T y p e   w i l l   f a i l   v a l i d a t i o n .   T h e r e   a r e   t h r e e   s u p p o r t e d   p a t h   t y p e s :   I m p l e m e n t a t i o n S p e c i f i c :   W i t h   t h i s   p a t h   t y p e ,   m a t c h i n g   i s   u p   t o   t h e   I n g r e s s C l a s s .   I m p l e m e n t a t i o n s   c a n   t r e a t   t h i s   a s   a   s e p a r a t e   p a t h T y p e   o r   t r e a t   i t   i d e n t i c a l l y   t o   P r e f i x   o r   E x a c t   p a t h   t y p e s . E x a c t :   M a t c h e s   t h e   U R L   p a t h   e x a c t l y   a n d   w i t h   c a s e   s e n s i t i v i t y . P r e f i x :   M a t c h e s   b a s e d   o n   a   U R L   p a t h   p r e f i x   s p l i t   b y   / .   M a t c h i n g   i s   c a s e   s e n s i t i v e   a n d   d o n e   o n   a   p a t h   e l e m e n t   b y   e l e m e n t   b a s i s .   A   p a t h   e l e m e n t   r e f e r s   t o   t h e   l i s t   o f   l a b e l s   i n   t h e   p a t h   s p l i t   b y   t h e   /   s e p a r a t o r .   A   r e q u e s t   i s   a   m a t c h   f o r   p a t h   p   i f   e v e r y   p   i s   a n   e l e m e n t - w i s e   p r e f i x   o f   p   o f   t h e   r e q u e s t   p a t h . N o t e : I f   t h e   l a s t   e l e m e n t   o f   t h e   p a t h   i s   a   s u b s t r i n g   o f   t h e   l a s t   e l e m e n t   i n   r e q u e s t   p a t h ,   i t   i s   n o t   a   m a t c h   ( f o r   e x a m p l e :   / f o o / b a r   m a t c h e s   / f o o / b a r / b a z ,   b u t   d o e s   n o t   m a t c h   / f o o / b a r b a z ) .   I m p l e m e n t a t i o n S p e c i f i c :   W i t h   t h i s   p a t h   t y p e ,   m a t c h i n g   i s   u p   t o   t h e   I n g r e s s C l a s s .   I m ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12219"
  },
  {
    "question": "What is Multiple matches?",
    "answer": "I n   s o m e   c a s e s ,   m u l t i p l e   p a t h s   w i t h i n   a n   I n g r e s s   w i l l   m a t c h   a   r e q u e s t .   I n   t h o s e   c a s e s   p r e c e d e n c e   w i l l   b e   g i v e n   f i r s t   t o   t h e   l o n g e s t   m a t c h i n g   p a t h .   I f   t w o   p a t h s   a r e   s t i l l   e q u a l l y   m a t c h e d ,   p r e c e d e n c e   w i l l   b e   g i v e n   t o   p a t h s   w i t h   a n   e x a c t   p a t h   t y p e   o v e r   p r e f i x   p a t h   t y p e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12220"
  },
  {
    "question": "What is Hostname wildcards?",
    "answer": "H o s t s   c a n   b e   p r e c i s e   m a t c h e s   ( f o r   e x a m p l e   “ f o o . b a r . c o m ” )   o r   a   w i l d c a r d   ( f o r   e x a m p l e   “ * . f o o . c o m ” ) .   P r e c i s e   m a t c h e s   r e q u i r e   t h a t   t h e   H T T P   h o s t   h e a d e r   m a t c h e s   t h e   h o s t   f i e l d .   W i l d c a r d   m a t c h e s   r e q u i r e   t h e   H T T P   h o s t   h e a d e r   i s   e q u a l   t o   t h e   s u f f i x   o f   t h e   w i l d c a r d   r u l e .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a :   n a m e :   i n g r e s s - w i l d c a r d - h o s t   s p e c :   r u l e s :   -   h o s t :   \" f o o . b a r . c o m \"   h t t p :   p a t h s :   -   p a t h T y p e :   P r e f i x   p a t h :   \" / b a r \"   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 1   p o r t :   n u m b e r :   8 0   -   h o s t :   \" * . f o o . c o m \"   h t t p :   p a t h s :   -   p a t h T y p e :   P r e f i x   p a t h :   \" / f o o \"   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 2   p o r t :   n u m b e r :   8 0",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12221"
  },
  {
    "question": "What is Ingress class?",
    "answer": "I n g r e s s e s   c a n   b e   i m p l e m e n t e d   b y   d i f f e r e n t   c o n t r o l l e r s ,   o f t e n   w i t h   d i f f e r e n t   c o n f i g u r a t i o n .   E a c h   I n g r e s s   s h o u l d   s p e c i f y   a   c l a s s ,   a   r e f e r e n c e   t o   a n   I n g r e s s C l a s s   r e s o u r c e   t h a t   c o n t a i n s   a d d i t i o n a l   c o n f i g u r a t i o n   i n c l u d i n g   t h e   n a m e   o f   t h e   c o n t r o l l e r   t h a t   s h o u l d   i m p l e m e n t   t h e   c l a s s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s C l a s s   m e t a d a t a :   n a m e :   e x t e r n a l - l b   s p e c :   c o n t r o l l e r :   e x a m p l e . c o m / i n g r e s s - c o n t r o l l e r   p a r a m e t e r s :   a p i G r o u p :   k 8 s . e x a m p l e . c o m   k i n d :   I n g r e s s P a r a m e t e r s   n a m e :   e x t e r n a l - l b   T h e   . s p e c . p a r a m e t e r s   f i e l d   o f   a n   I n g r e s s C l a s s   l e t s   y o u   r e f e r e n c e   a n o t h e r   r e s o u r c e   t h a t   p r o v i d e s   c o n f i g u r a t i o n   r e l a t e d   t o   t h a t   I n g r e s s C l a s s .   T h e   s p e c i f i c   t y p e   o f   p a r a m e t e r s   t o   u s e   d e p e n d s   o n   t h e   i n g r e s s   c o n t r o l l e r   t h a t   y o u   s p e c i f y   i n   t h e   . s p e c . c o n t r o l l e r   f i e l d   o f   t h e   I n g r e s s C l a s s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12222"
  },
  {
    "question": "What is IngressClass scope?",
    "answer": "D e p e n d i n g   o n   y o u r   i n g r e s s   c o n t r o l l e r ,   y o u   m a y   b e   a b l e   t o   u s e   p a r a m e t e r s   t h a t   y o u   s e t   c l u s t e r - w i d e ,   o r   j u s t   f o r   o n e   n a m e s p a c e .   T h e   d e f a u l t   s c o p e   f o r   I n g r e s s C l a s s   p a r a m e t e r s   i s   c l u s t e r - w i d e . I f   y o u   s e t   t h e   . s p e c . p a r a m e t e r s   f i e l d   a n d   d o n ' t   s e t   . s p e c . p a r a m e t e r s . s c o p e ,   o r   i f   y o u   s e t   . s p e c . p a r a m e t e r s . s c o p e   t o   C l u s t e r ,   t h e n   t h e   I n g r e s s C l a s s   r e f e r s   t o   a   c l u s t e r - s c o p e d   r e s o u r c e .   T h e   k i n d   ( i n   c o m b i n a t i o n   t h e   a p i G r o u p )   o f   t h e   p a r a m e t e r s   r e f e r s   t o   a   c l u s t e r - s c o p e d   A P I   ( p o s s i b l y   a   c u s t o m   r e s o u r c e ) ,   a n d   t h e   n a m e   o f   t h e   p a r a m e t e r s   i d e n t i f i e s   a   s p e c i f i c   c l u s t e r   s c o p e d   r e s o u r c e   f o r   t h a t   A P I . F o r   e x a m p l e : - - -   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s C l a s s   m e t a d a t a :   n a m e :   e x t e r n a l - l b - 1   s p e c :   c o n t r o l l e r :   e x a m p l e . c o m / i n g r e s s - c o n t r o l l e r   p a r a m e t e r s :   #   T h e   p a r a m e t e r s   f o r   t h i s   I n g r e s s C l a s s   a r e   s p e c i f i e d   i n   a   #   C l u s t e r I n g r e s s P a r a m e t e r   ( A P I   g r o u p   k 8 s . e x a m p l e . n e t )   n a m e d   #   \" e x t e r n a l - c o n f i g - 1 \" .   T h i s   d e f i n i t i o n   t e l l s   K u b e r n e t e s   t o   #   l o o k   f o r   a   c l u s t e r - s c o p e d   p a r a m e t e r   r e s o u r c e .   s c o p e :   C l u s t e r   a p i G r o u p :   k 8 s . e x a m p l e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12223"
  },
  {
    "question": "What is Deprecated annotation?",
    "answer": "B e f o r e   t h e   I n g r e s s C l a s s   r e s o u r c e   a n d   i n g r e s s C l a s s N a m e   f i e l d   w e r e   a d d e d   i n   K u b e r n e t e s   1 . 1 8 ,   I n g r e s s   c l a s s e s   w e r e   s p e c i f i e d   w i t h   a   k u b e r n e t e s . i o / i n g r e s s . c l a s s   a n n o t a t i o n   o n   t h e   I n g r e s s .   T h i s   a n n o t a t i o n   w a s   n e v e r   f o r m a l l y   d e f i n e d ,   b u t   w a s   w i d e l y   s u p p o r t e d   b y   I n g r e s s   c o n t r o l l e r s .   T h e   n e w e r   i n g r e s s C l a s s N a m e   f i e l d   o n   I n g r e s s e s   i s   a   r e p l a c e m e n t   f o r   t h a t   a n n o t a t i o n ,   b u t   i s   n o t   a   d i r e c t   e q u i v a l e n t .   W h i l e   t h e   a n n o t a t i o n   w a s   g e n e r a l l y   u s e d   t o   r e f e r e n c e   t h e   n a m e   o f   t h e   I n g r e s s   c o n t r o l l e r   t h a t   s h o u l d   i m p l e m e n t   t h e   I n g r e s s ,   t h e   f i e l d   i s   a   r e f e r e n c e   t o   a n   I n g r e s s C l a s s   r e s o u r c e   t h a t   c o n t a i n s   a d d i t i o n a l   I n g r e s s   c o n f i g u r a t i o n ,   i n c l u d i n g   t h e   n a m e   o f   t h e   I n g r e s s   c o n t r o l l e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12224"
  },
  {
    "question": "What is Default IngressClass?",
    "answer": "Y o u   c a n   m a r k   a   p a r t i c u l a r   I n g r e s s C l a s s   a s   d e f a u l t   f o r   y o u r   c l u s t e r .   S e t t i n g   t h e   i n g r e s s c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s   a n n o t a t i o n   t o   t r u e   o n   a n   I n g r e s s C l a s s   r e s o u r c e   w i l l   e n s u r e   t h a t   n e w   I n g r e s s e s   w i t h o u t   a n   i n g r e s s C l a s s N a m e   f i e l d   s p e c i f i e d   w i l l   b e   a s s i g n e d   t h i s   d e f a u l t   I n g r e s s C l a s s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12225"
  },
  {
    "question": "What is Caution:?",
    "answer": "T h e r e   a r e   s o m e   i n g r e s s   c o n t r o l l e r s ,   t h a t   w o r k   w i t h o u t   t h e   d e f i n i t i o n   o f   a   d e f a u l t   I n g r e s s C l a s s .   F o r   e x a m p l e ,   t h e   I n g r e s s - N G I N X   c o n t r o l l e r   c a n   b e   c o n f i g u r e d   w i t h   a   f l a g   - - w a t c h - i n g r e s s - w i t h o u t - c l a s s .   I t   i s   r e c o m m e n d e d   t h o u g h ,   t o   s p e c i f y   t h e   d e f a u l t   I n g r e s s C l a s s :   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s C l a s s   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / c o m p o n e n t :   c o n t r o l l e r   n a m e :   n g i n x - e x a m p l e   a n n o t a t i o n s :   i n g r e s s c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s :   \" t r u e \"   s p e c :   c o n t r o l l e r :   k 8 s . i o / i n g r e s s - n g i n x",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12226"
  },
  {
    "question": "What is Ingress backed by a single Service?",
    "answer": "T h e r e   a r e   e x i s t i n g   K u b e r n e t e s   c o n c e p t s   t h a t   a l l o w   y o u   t o   e x p o s e   a   s i n g l e   S e r v i c e   ( s e e   a l t e r n a t i v e s ) .   Y o u   c a n   a l s o   d o   t h i s   w i t h   a n   I n g r e s s   b y   s p e c i f y i n g   a   d e f a u l t   b a c k e n d   w i t h   n o   r u l e s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a :   n a m e :   t e s t - i n g r e s s   s p e c :   d e f a u l t B a c k e n d :   s e r v i c e :   n a m e :   t e s t   p o r t :   n u m b e r :   8 0   I f   y o u   c r e a t e   i t   u s i n g   k u b e c t l   a p p l y   - f   y o u   s h o u l d   b e   a b l e   t o   v i e w   t h e   s t a t e   o f   t h e   I n g r e s s   y o u   a d d e d :   k u b e c t l   g e t   i n g r e s s   t e s t - i n g r e s s   N A M E   C L A S S   H O S T S   A D D R E S S   P O R T S   A G E   t e s t - i n g r e s s   e x t e r n a l - l b   *   2 0 3 . 0 . 1 1 3 . 1 2 3   8 0   5 9 s   W h e r e   2 0 3 . 0 . 1 1 3 . 1 2 3   i s   t h e   I P   a l l o c a t e d   b y   t h e   I n g r e s s   c o n t r o l l e r   t o   s a t i s f y   t h i s   I n g r e s s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12227"
  },
  {
    "question": "What is Simple fanout?",
    "answer": "A   f a n o u t   c o n f i g u r a t i o n   r o u t e s   t r a f f i c   f r o m   a   s i n g l e   I P   a d d r e s s   t o   m o r e   t h a n   o n e   S e r v i c e ,   b a s e d   o n   t h e   H T T P   U R I   b e i n g   r e q u e s t e d .   A n   I n g r e s s   a l l o w s   y o u   t o   k e e p   t h e   n u m b e r   o f   l o a d   b a l a n c e r s   d o w n   t o   a   m i n i m u m .   F o r   e x a m p l e ,   a   s e t u p   l i k e :   F i g u r e .   I n g r e s s   F a n   O u t   I t   w o u l d   r e q u i r e   a n   I n g r e s s   s u c h   a s :   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a :   n a m e :   s i m p l e - f a n o u t - e x a m p l e   s p e c :   r u l e s :   -   h o s t :   f o o . b a r . c o m   h t t p :   p a t h s :   -   p a t h :   / f o o   p a t h T y p e :   P r e f i x   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 1   p o r t :   n u m b e r :   4 2 0 0   -   p a t h :   / b a r   p a t h T y p e :   P r e f i x   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 2   p o r t :   n u m b e r :   8 0 8 0   W h e n   y o u   c r e a t e   t h e   I n g r e s s   w i t h   k u b e c t l   a p p l y   - f :   k u b e c t l   d e s c r i b e   i n g r e s s   s i m p l e - f a n o u t - e x a m p l e   N a m e :   s i m p l e - f a n o u t - e x a m p l e   N a m e s p a c e :   d e f a u l t   A d d r e s s :   1 7 8 . 9 1 . 1 2 3 . 1 3 2   D e f a u l t   b a c k e n d :   d e f a u l t - h t t p - b a c k e n d : 8 0   ( 1 0 . 8 . 2 . 3 : 8 0 8 0 )   R u l e s :   H o s t   P a t h   B a c k e n d s   - - - -   - - - -   - - - - - - - -   f o o . b a r . c o m   / f o o   s e r v i c e 1 : 4 2 0 0   ( 1 0 . 8 . 0 . 9 0 : 4 2 0 0 )   / b a r   s e r v i c e 2 : 8 0 8 0   ( 1 0 . 8 . 0 . 9 1 : 8 0 8 0 )   E v e n t s :   T y p e   R e a s o n   A g e   F r o m   M e s s a g e   - - - -   - - - - - -   - - - -   - - ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12228"
  },
  {
    "question": "What is Name based virtual hosting?",
    "answer": "N a m e - b a s e d   v i r t u a l   h o s t s   s u p p o r t   r o u t i n g   H T T P   t r a f f i c   t o   m u l t i p l e   h o s t   n a m e s   a t   t h e   s a m e   I P   a d d r e s s .   F i g u r e .   I n g r e s s   N a m e   B a s e d   V i r t u a l   h o s t i n g   T h e   f o l l o w i n g   I n g r e s s   t e l l s   t h e   b a c k i n g   l o a d   b a l a n c e r   t o   r o u t e   r e q u e s t s   b a s e d   o n   t h e   H o s t   h e a d e r .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a :   n a m e :   n a m e - v i r t u a l - h o s t - i n g r e s s   s p e c :   r u l e s :   -   h o s t :   f o o . b a r . c o m   h t t p :   p a t h s :   -   p a t h T y p e :   P r e f i x   p a t h :   \" / \"   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 1   p o r t :   n u m b e r :   8 0   -   h o s t :   b a r . f o o . c o m   h t t p :   p a t h s :   -   p a t h T y p e :   P r e f i x   p a t h :   \" / \"   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 2   p o r t :   n u m b e r :   8 0   I f   y o u   c r e a t e   a n   I n g r e s s   r e s o u r c e   w i t h o u t   a n y   h o s t s   d e f i n e d   i n   t h e   r u l e s ,   t h e n   a n y   w e b   t r a f f i c   t o   t h e   I P   a d d r e s s   o f   y o u r   I n g r e s s   c o n t r o l l e r   c a n   b e   m a t c h e d   w i t h o u t   a   n a m e   b a s e d   v i r t u a l   h o s t   b e i n g   r e q u i r e d .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   I n g r e s s   r o u t e s   t r a f f i c   r e q u e s t e d   f o r   f i r s t . b a r . c o m   t o   s e r v i c e 1 ,   s e c o n d . b a r . c o m   t o   s e r v i c e 2 ,   a n d   a n y   t r a f f i c   w h o s e   r e q u e s t   h o s t   h e a d e r   d o e s n ' t   m a t c h   f i r s t . b a r . c o m   a n d   s e c o n d . b a r . c o m   t o   s e r v i c e 3 .   a p i V e r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12229"
  },
  {
    "question": "What is TLS?",
    "answer": "Y o u   c a n   s e c u r e   a n   I n g r e s s   b y   s p e c i f y i n g   a   S e c r e t   t h a t   c o n t a i n s   a   T L S   p r i v a t e   k e y   a n d   c e r t i f i c a t e .   T h e   I n g r e s s   r e s o u r c e   o n l y   s u p p o r t s   a   s i n g l e   T L S   p o r t ,   4 4 3 ,   a n d   a s s u m e s   T L S   t e r m i n a t i o n   a t   t h e   i n g r e s s   p o i n t   ( t r a f f i c   t o   t h e   S e r v i c e   a n d   i t s   P o d s   i s   i n   p l a i n t e x t ) .   I f   t h e   T L S   c o n f i g u r a t i o n   s e c t i o n   i n   a n   I n g r e s s   s p e c i f i e s   d i f f e r e n t   h o s t s ,   t h e y   a r e   m u l t i p l e x e d   o n   t h e   s a m e   p o r t   a c c o r d i n g   t o   t h e   h o s t n a m e   s p e c i f i e d   t h r o u g h   t h e   S N I   T L S   e x t e n s i o n   ( p r o v i d e d   t h e   I n g r e s s   c o n t r o l l e r   s u p p o r t s   S N I ) .   T h e   T L S   s e c r e t   m u s t   c o n t a i n   k e y s   n a m e d   t l s . c r t   a n d   t l s . k e y   t h a t   c o n t a i n   t h e   c e r t i f i c a t e   a n d   p r i v a t e   k e y   t o   u s e   f o r   T L S .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   t e s t s e c r e t - t l s   n a m e s p a c e :   d e f a u l t   d a t a :   t l s . c r t :   b a s e 6 4   e n c o d e d   c e r t   t l s . k e y :   b a s e 6 4   e n c o d e d   k e y   t y p e :   k u b e r n e t e s . i o / t l s   R e f e r e n c i n g   t h i s   s e c r e t   i n   a n   I n g r e s s   t e l l s   t h e   I n g r e s s   c o n t r o l l e r   t o   s e c u r e   t h e   c h a n n e l   f r o m   t h e   c l i e n t   t o   t h e   l o a d   b a l a n c e r   u s i n g   T L S .   Y o u   n e e d   t o   m a k e   s u r e   t h e   T L S   s e c r e t   y o u   c r e a t e d   c a m e   f r o m   a   c e r t i f i c a t e   t h a t   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12230"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a :   n a m e :   t l s - e x a m p l e - i n g r e s s   s p e c :   t l s :   -   h o s t s :   -   h t t p s - e x a m p l e . f o o . c o m   s e c r e t N a m e :   t e s t s e c r e t - t l s   r u l e s :   -   h o s t :   h t t p s - e x a m p l e . f o o . c o m   h t t p :   p a t h s :   -   p a t h :   /   p a t h T y p e :   P r e f i x   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 1   p o r t :   n u m b e r :   8 0",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12231"
  },
  {
    "question": "What is Load balancing?",
    "answer": "A n   I n g r e s s   c o n t r o l l e r   i s   b o o t s t r a p p e d   w i t h   s o m e   l o a d   b a l a n c i n g   p o l i c y   s e t t i n g s   t h a t   i t   a p p l i e s   t o   a l l   I n g r e s s ,   s u c h   a s   t h e   l o a d   b a l a n c i n g   a l g o r i t h m ,   b a c k e n d   w e i g h t   s c h e m e ,   a n d   o t h e r s .   M o r e   a d v a n c e d   l o a d   b a l a n c i n g   c o n c e p t s   ( e . g .   p e r s i s t e n t   s e s s i o n s ,   d y n a m i c   w e i g h t s )   a r e   n o t   y e t   e x p o s e d   t h r o u g h   t h e   I n g r e s s .   Y o u   c a n   i n s t e a d   g e t   t h e s e   f e a t u r e s   t h r o u g h   t h e   l o a d   b a l a n c e r   u s e d   f o r   a   S e r v i c e .   I t ' s   a l s o   w o r t h   n o t i n g   t h a t   e v e n   t h o u g h   h e a l t h   c h e c k s   a r e   n o t   e x p o s e d   d i r e c t l y   t h r o u g h   t h e   I n g r e s s ,   t h e r e   e x i s t   p a r a l l e l   c o n c e p t s   i n   K u b e r n e t e s   s u c h   a s   r e a d i n e s s   p r o b e s   t h a t   a l l o w   y o u   t o   a c h i e v e   t h e   s a m e   e n d   r e s u l t .   P l e a s e   r e v i e w   t h e   c o n t r o l l e r   s p e c i f i c   d o c u m e n t a t i o n   t o   s e e   h o w   t h e y   h a n d l e   h e a l t h   c h e c k s   ( f o r   e x a m p l e :   n g i n x ,   o r   G C E ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12232"
  },
  {
    "question": "What is Updating an Ingress?",
    "answer": "T o   u p d a t e   a n   e x i s t i n g   I n g r e s s   t o   a d d   a   n e w   H o s t ,   y o u   c a n   u p d a t e   i t   b y   e d i t i n g   t h e   r e s o u r c e :   k u b e c t l   d e s c r i b e   i n g r e s s   t e s t   N a m e :   t e s t   N a m e s p a c e :   d e f a u l t   A d d r e s s :   1 7 8 . 9 1 . 1 2 3 . 1 3 2   D e f a u l t   b a c k e n d :   d e f a u l t - h t t p - b a c k e n d : 8 0   ( 1 0 . 8 . 2 . 3 : 8 0 8 0 )   R u l e s :   H o s t   P a t h   B a c k e n d s   - - - -   - - - -   - - - - - - - -   f o o . b a r . c o m   / f o o   s e r v i c e 1 : 8 0   ( 1 0 . 8 . 0 . 9 0 : 8 0 )   A n n o t a t i o n s :   n g i n x . i n g r e s s . k u b e r n e t e s . i o / r e w r i t e - t a r g e t :   /   E v e n t s :   T y p e   R e a s o n   A g e   F r o m   M e s s a g e   - - - -   - - - - - -   - - - -   - - - -   - - - - - - -   N o r m a l   A D D   3 5 s   l o a d b a l a n c e r - c o n t r o l l e r   d e f a u l t / t e s t   k u b e c t l   e d i t   i n g r e s s   t e s t   T h i s   p o p s   u p   a n   e d i t o r   w i t h   t h e   e x i s t i n g   c o n f i g u r a t i o n   i n   Y A M L   f o r m a t .   M o d i f y   i t   t o   i n c l u d e   t h e   n e w   H o s t :   s p e c :   r u l e s :   -   h o s t :   f o o . b a r . c o m   h t t p :   p a t h s :   -   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 1   p o r t :   n u m b e r :   8 0   p a t h :   / f o o   p a t h T y p e :   P r e f i x   -   h o s t :   b a r . b a z . c o m   h t t p :   p a t h s :   -   b a c k e n d :   s e r v i c e :   n a m e :   s e r v i c e 2   p o r t :   n u m b e r :   8 0   p a t h :   / f o o   p a t h T y p e :   P r e f i x   . .   A f t e r   y o u   s a v e   y o u r   c h a n g e s ,   k u b e c t l   u p d a t e s   t h e   r e s o u r c e   i n   t h e   A P I   s e r v e r ,   w h i c h   t e l l s   t h e   I n g r e s s   c o n t r o l l e r   t o   r e c o n f i g u r e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12233"
  },
  {
    "question": "What is Failing across availability zones?",
    "answer": "T e c h n i q u e s   f o r   s p r e a d i n g   t r a f f i c   a c r o s s   f a i l u r e   d o m a i n s   d i f f e r   b e t w e e n   c l o u d   p r o v i d e r s .   P l e a s e   c h e c k   t h e   d o c u m e n t a t i o n   o f   t h e   r e l e v a n t   I n g r e s s   c o n t r o l l e r   f o r   d e t a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12234"
  },
  {
    "question": "What is Alternatives?",
    "answer": "Y o u   c a n   e x p o s e   a   S e r v i c e   i n   m u l t i p l e   w a y s   t h a t   d o n ' t   d i r e c t l y   i n v o l v e   t h e   I n g r e s s   r e s o u r c e :   U s e   S e r v i c e . T y p e = L o a d B a l a n c e r U s e   S e r v i c e . T y p e = N o d e P o r t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12235"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   t h e   I n g r e s s   A P I L e a r n   a b o u t   I n g r e s s   c o n t r o l l e r s S e t   u p   I n g r e s s   o n   M i n i k u b e   w i t h   t h e   N G I N X   C o n t r o l l e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12236"
  },
  {
    "question": "What is 5.3 - Ingress Controllers?",
    "answer": "I n   o r d e r   f o r   t h e   I n g r e s s   r e s o u r c e   t o   w o r k ,   t h e   c l u s t e r   m u s t   h a v e   a n   i n g r e s s   c o n t r o l l e r   r u n n i n g .   U n l i k e   o t h e r   t y p e s   o f   c o n t r o l l e r s   w h i c h   r u n   a s   p a r t   o f   t h e   k u b e - c o n t r o l l e r - m a n a g e r   b i n a r y ,   I n g r e s s   c o n t r o l l e r s   a r e   n o t   s t a r t e d   a u t o m a t i c a l l y   w i t h   a   c l u s t e r .   U s e   t h i s   p a g e   t o   c h o o s e   t h e   i n g r e s s   c o n t r o l l e r   i m p l e m e n t a t i o n   t h a t   b e s t   f i t s   y o u r   c l u s t e r .   K u b e r n e t e s   a s   a   p r o j e c t   s u p p o r t s   a n d   m a i n t a i n s   A W S ,   G C E ,   a n d   n g i n x   i n g r e s s   c o n t r o l l e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12237"
  },
  {
    "question": "What is Additional controllers?",
    "answer": "A K S   A p p l i c a t i o n   G a t e w a y   I n g r e s s   C o n t r o l l e r   i s   a n   i n g r e s s   c o n t r o l l e r   t h a t   c o n f i g u r e s   t h e   A z u r e   A p p l i c a t i o n   G a t e w a y . A l i b a b a   C l o u d   M S E   I n g r e s s   i s   a n   i n g r e s s   c o n t r o l l e r   t h a t   c o n f i g u r e s   t h e   A l i b a b a   C l o u d   N a t i v e   G a t e w a y ,   w h i c h   i s   a l s o   t h e   c o m m e r c i a l   v e r s i o n   o f   H i g r e s s . A p a c h e   A P I S I X   i n g r e s s   c o n t r o l l e r   i s   a n   A p a c h e   A P I S I X - b a s e d   i n g r e s s   c o n t r o l l e r . A v i   K u b e r n e t e s   O p e r a t o r   p r o v i d e s   L 4 - L 7   l o a d - b a l a n c i n g   u s i n g   V M w a r e   N S X   A d v a n c e d   L o a d   B a l a n c e r . B F E   I n g r e s s   C o n t r o l l e r   i s   a   B F E - b a s e d   i n g r e s s   c o n t r o l l e r . C i l i u m   I n g r e s s   C o n t r o l l e r   i s   a n   i n g r e s s   c o n t r o l l e r   p o w e r e d   b y   C i l i u m . T h e   C i t r i x   i n g r e s s   c o n t r o l l e r   w o r k s   w i t h   C i t r i x   A p p l i c a t i o n   D e l i v e r y   C o n t r o l l e r . C o n t o u r   i s   a n   E n v o y   b a s e d   i n g r e s s   c o n t r o l l e r . E m i s s a r y - I n g r e s s   A P I   G a t e w a y   i s   a n   E n v o y - b a s e d   i n g r e s s   c o n t r o l l e r . E n R o u t e   i s   a n   E n v o y   b a s e d   A P I   g a t e w a y   t h a t   c a n   r u n   a s   a n   i n g r e s s   c o n t r o l l e r . E a s e g r e s s   I n g r e s s C o n t r o l l e r   i s   a n   E a s e g r e s s   b a s e d   A P I   g a t e w a y   t h a t   c a n   r u n   a s   a n   i n g r e s s   c o n t r o l l e r . F 5   B I G - I P   C o n t a i n e r   I n g r e s s   S e r v i c e s   f o r   K u b e r n e t e s   l e t s   y o u   u s e   a n   I n g r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12238"
  },
  {
    "question": "What is Using multiple Ingress controllers?",
    "answer": "Y o u   m a y   d e p l o y   a n y   n u m b e r   o f   i n g r e s s   c o n t r o l l e r s   u s i n g   i n g r e s s   c l a s s   w i t h i n   a   c l u s t e r .   N o t e   t h e   . m e t a d a t a . n a m e   o f   y o u r   i n g r e s s   c l a s s   r e s o u r c e .   W h e n   y o u   c r e a t e   a n   i n g r e s s   y o u   w o u l d   n e e d   t h a t   n a m e   t o   s p e c i f y   t h e   i n g r e s s C l a s s N a m e   f i e l d   o n   y o u r   I n g r e s s   o b j e c t   ( r e f e r   t o   I n g r e s s S p e c   v 1   r e f e r e n c e ) .   i n g r e s s C l a s s N a m e   i s   a   r e p l a c e m e n t   o f   t h e   o l d e r   a n n o t a t i o n   m e t h o d .   I f   y o u   d o   n o t   s p e c i f y   a n   I n g r e s s C l a s s   f o r   a n   I n g r e s s ,   a n d   y o u r   c l u s t e r   h a s   e x a c t l y   o n e   I n g r e s s C l a s s   m a r k e d   a s   d e f a u l t ,   t h e n   K u b e r n e t e s   a p p l i e s   t h e   c l u s t e r ' s   d e f a u l t   I n g r e s s C l a s s   t o   t h e   I n g r e s s .   Y o u   m a r k   a n   I n g r e s s C l a s s   a s   d e f a u l t   b y   s e t t i n g   t h e   i n g r e s s c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s   a n n o t a t i o n   o n   t h a t   I n g r e s s C l a s s ,   w i t h   t h e   s t r i n g   v a l u e   \" t r u e \" .   I d e a l l y ,   a l l   i n g r e s s   c o n t r o l l e r s   s h o u l d   f u l f i l l   t h i s   s p e c i f i c a t i o n ,   b u t   t h e   v a r i o u s   i n g r e s s   c o n t r o l l e r s   o p e r a t e   s l i g h t l y   d i f f e r e n t l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12239"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   I n g r e s s . S e t   u p   I n g r e s s   o n   M i n i k u b e   w i t h   t h e   N G I N X   C o n t r o l l e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12240"
  },
  {
    "question": "What is 5.4 - Gateway API?",
    "answer": "M a k e   n e t w o r k   s e r v i c e s   a v a i l a b l e   b y   u s i n g   a n   e x t e n s i b l e ,   r o l e - o r i e n t e d ,   p r o t o c o l - a w a r e   c o n f i g u r a t i o n   m e c h a n i s m .   G a t e w a y   A P I   i s   a n   a d d - o n   c o n t a i n i n g   A P I   k i n d s   t h a t   p r o v i d e   d y n a m i c   i n f r a s t r u c t u r e   p r o v i s i o n i n g   a n d   a d v a n c e d   t r a f f i c   r o u t i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12241"
  },
  {
    "question": "What is Design principles?",
    "answer": "T h e   f o l l o w i n g   p r i n c i p l e s   s h a p e d   t h e   d e s i g n   a n d   a r c h i t e c t u r e   o f   G a t e w a y   A P I :   R o l e - o r i e n t e d :   G a t e w a y   A P I   k i n d s   a r e   m o d e l e d   a f t e r   o r g a n i z a t i o n a l   r o l e s   t h a t   a r e   r e s p o n s i b l e   f o r   m a n a g i n g   K u b e r n e t e s   s e r v i c e   n e t w o r k i n g : I n f r a s t r u c t u r e   P r o v i d e r :   M a n a g e s   i n f r a s t r u c t u r e   t h a t   a l l o w s   m u l t i p l e   i s o l a t e d   c l u s t e r s   t o   s e r v e   m u l t i p l e   t e n a n t s ,   e . g .   a   c l o u d   p r o v i d e r . C l u s t e r   O p e r a t o r :   M a n a g e s   c l u s t e r s   a n d   i s   t y p i c a l l y   c o n c e r n e d   w i t h   p o l i c i e s ,   n e t w o r k   a c c e s s ,   a p p l i c a t i o n   p e r m i s s i o n s ,   e t c . A p p l i c a t i o n   D e v e l o p e r :   M a n a g e s   a n   a p p l i c a t i o n   r u n n i n g   i n   a   c l u s t e r   a n d   i s   t y p i c a l l y   c o n c e r n e d   w i t h   a p p l i c a t i o n - l e v e l   c o n f i g u r a t i o n   a n d   S e r v i c e   c o m p o s i t i o n . P o r t a b l e :   G a t e w a y   A P I   s p e c i f i c a t i o n s   a r e   d e f i n e d   a s   c u s t o m   r e s o u r c e s   a n d   a r e   s u p p o r t e d   b y   m a n y   i m p l e m e n t a t i o n s . E x p r e s s i v e :   G a t e w a y   A P I   k i n d s   s u p p o r t   f u n c t i o n a l i t y   f o r   c o m m o n   t r a f f i c   r o u t i n g   u s e   c a s e s   s u c h   a s   h e a d e r - b a s e d   m a t c h i n g ,   t r a f f i c   w e i g h t i n g ,   a n d   o t h e r s   t h a t   w e r e   o n l y   p o s s i b l e   i n   I n g r e s s   b y   u s i n g   c u s t o m   a n n o t a t i o n s . E x t e n s i b l e :   G a t e w a y   a l l o w s   f o r   c u s t o m   r e s o u r c e s   t o   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12242"
  },
  {
    "question": "What is Resource model?",
    "answer": "G a t e w a y   A P I   h a s   f o u r   s t a b l e   A P I   k i n d s :   G a t e w a y C l a s s :   D e f i n e s   a   s e t   o f   g a t e w a y s   w i t h   c o m m o n   c o n f i g u r a t i o n   a n d   m a n a g e d   b y   a   c o n t r o l l e r   t h a t   i m p l e m e n t s   t h e   c l a s s . G a t e w a y :   D e f i n e s   a n   i n s t a n c e   o f   t r a f f i c   h a n d l i n g   i n f r a s t r u c t u r e ,   s u c h   a s   c l o u d   l o a d   b a l a n c e r . H T T P R o u t e :   D e f i n e s   H T T P - s p e c i f i c   r u l e s   f o r   m a p p i n g   t r a f f i c   f r o m   a   G a t e w a y   l i s t e n e r   t o   a   r e p r e s e n t a t i o n   o f   b a c k e n d   n e t w o r k   e n d p o i n t s .   T h e s e   e n d p o i n t s   a r e   o f t e n   r e p r e s e n t e d   a s   a   S e r v i c e . G R P C R o u t e :   D e f i n e s   g R P C - s p e c i f i c   r u l e s   f o r   m a p p i n g   t r a f f i c   f r o m   a   G a t e w a y   l i s t e n e r   t o   a   r e p r e s e n t a t i o n   o f   b a c k e n d   n e t w o r k   e n d p o i n t s .   T h e s e   e n d p o i n t s   a r e   o f t e n   r e p r e s e n t e d   a s   a   S e r v i c e .   G a t e w a y C l a s s :   D e f i n e s   a   s e t   o f   g a t e w a y s   w i t h   c o m m o n   c o n f i g u r a t i o n   a n d   m a n a g e d   b y   a   c o n t r o l l e r   t h a t   i m p l e m e n t s   t h e   c l a s s .   G a t e w a y :   D e f i n e s   a n   i n s t a n c e   o f   t r a f f i c   h a n d l i n g   i n f r a s t r u c t u r e ,   s u c h   a s   c l o u d   l o a d   b a l a n c e r .   H T T P R o u t e :   D e f i n e s   H T T P - s p e c i f i c   r u l e s   f o r   m a p p i n g   t r a f f i c   f r o m   a   G a t e w a y   l i s t e n e r   t o   a   r e p r e s e n t a t i o n   o f   b a c k e n d   n e t w o r k   e n d p o i n t s .   T h e s e   e n d p o i n t s   a r e   o f t e n   r e p r e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12243"
  },
  {
    "question": "What is GatewayClass?",
    "answer": "G a t e w a y s   c a n   b e   i m p l e m e n t e d   b y   d i f f e r e n t   c o n t r o l l e r s ,   o f t e n   w i t h   d i f f e r e n t   c o n f i g u r a t i o n s .   A   G a t e w a y   m u s t   r e f e r e n c e   a   G a t e w a y C l a s s   t h a t   c o n t a i n s   t h e   n a m e   o f   t h e   c o n t r o l l e r   t h a t   i m p l e m e n t s   t h e   c l a s s .   A   m i n i m a l   G a t e w a y C l a s s   e x a m p l e :   a p i V e r s i o n :   g a t e w a y . n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   G a t e w a y C l a s s   m e t a d a t a :   n a m e :   e x a m p l e - c l a s s   s p e c :   c o n t r o l l e r N a m e :   e x a m p l e . c o m / g a t e w a y - c o n t r o l l e r   I n   t h i s   e x a m p l e ,   a   c o n t r o l l e r   t h a t   h a s   i m p l e m e n t e d   G a t e w a y   A P I   i s   c o n f i g u r e d   t o   m a n a g e   G a t e w a y C l a s s e s   w i t h   t h e   c o n t r o l l e r   n a m e   e x a m p l e . c o m / g a t e w a y - c o n t r o l l e r .   G a t e w a y s   o f   t h i s   c l a s s   w i l l   b e   m a n a g e d   b y   t h e   i m p l e m e n t a t i o n ' s   c o n t r o l l e r .   S e e   t h e   G a t e w a y C l a s s   r e f e r e n c e   f o r   a   f u l l   d e f i n i t i o n   o f   t h i s   A P I   k i n d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12244"
  },
  {
    "question": "What is Gateway?",
    "answer": "A   G a t e w a y   d e s c r i b e s   a n   i n s t a n c e   o f   t r a f f i c   h a n d l i n g   i n f r a s t r u c t u r e .   I t   d e f i n e s   a   n e t w o r k   e n d p o i n t   t h a t   c a n   b e   u s e d   f o r   p r o c e s s i n g   t r a f f i c ,   i . e .   f i l t e r i n g ,   b a l a n c i n g ,   s p l i t t i n g ,   e t c .   f o r   b a c k e n d s   s u c h   a s   a   S e r v i c e .   F o r   e x a m p l e ,   a   G a t e w a y   m a y   r e p r e s e n t   a   c l o u d   l o a d   b a l a n c e r   o r   a n   i n - c l u s t e r   p r o x y   s e r v e r   t h a t   i s   c o n f i g u r e d   t o   a c c e p t   H T T P   t r a f f i c .   A   m i n i m a l   G a t e w a y   r e s o u r c e   e x a m p l e :   a p i V e r s i o n :   g a t e w a y . n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   G a t e w a y   m e t a d a t a :   n a m e :   e x a m p l e - g a t e w a y   s p e c :   g a t e w a y C l a s s N a m e :   e x a m p l e - c l a s s   l i s t e n e r s :   -   n a m e :   h t t p   p r o t o c o l :   H T T P   p o r t :   8 0   I n   t h i s   e x a m p l e ,   a n   i n s t a n c e   o f   t r a f f i c   h a n d l i n g   i n f r a s t r u c t u r e   i s   p r o g r a m m e d   t o   l i s t e n   f o r   H T T P   t r a f f i c   o n   p o r t   8 0 .   S i n c e   t h e   a d d r e s s e s   f i e l d   i s   u n s p e c i f i e d ,   a n   a d d r e s s   o r   h o s t n a m e   i s   a s s i g n e d   t o   t h e   G a t e w a y   b y   t h e   i m p l e m e n t a t i o n ' s   c o n t r o l l e r .   T h i s   a d d r e s s   i s   u s e d   a s   a   n e t w o r k   e n d p o i n t   f o r   p r o c e s s i n g   t r a f f i c   o f   b a c k e n d   n e t w o r k   e n d p o i n t s   d e f i n e d   i n   r o u t e s .   S e e   t h e   G a t e w a y   r e f e r e n c e   f o r   a   f u l l   d e f i n i t i o n   o f   t h i s   A P I   k i n d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12245"
  },
  {
    "question": "What is HTTPRoute?",
    "answer": "T h e   H T T P R o u t e   k i n d   s p e c i f i e s   r o u t i n g   b e h a v i o r   o f   H T T P   r e q u e s t s   f r o m   a   G a t e w a y   l i s t e n e r   t o   b a c k e n d   n e t w o r k   e n d p o i n t s .   F o r   a   S e r v i c e   b a c k e n d ,   a n   i m p l e m e n t a t i o n   m a y   r e p r e s e n t   t h e   b a c k e n d   n e t w o r k   e n d p o i n t   a s   a   S e r v i c e   I P   o r   t h e   b a c k i n g   E n d p o i n t S l i c e s   o f   t h e   S e r v i c e .   A n   H T T P R o u t e   r e p r e s e n t s   c o n f i g u r a t i o n   t h a t   i s   a p p l i e d   t o   t h e   u n d e r l y i n g   G a t e w a y   i m p l e m e n t a t i o n .   F o r   e x a m p l e ,   d e f i n i n g   a   n e w   H T T P R o u t e   m a y   r e s u l t   i n   c o n f i g u r i n g   a d d i t i o n a l   t r a f f i c   r o u t e s   i n   a   c l o u d   l o a d   b a l a n c e r   o r   i n - c l u s t e r   p r o x y   s e r v e r .   A   m i n i m a l   H T T P R o u t e   e x a m p l e :   a p i V e r s i o n :   g a t e w a y . n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   H T T P R o u t e   m e t a d a t a :   n a m e :   e x a m p l e - h t t p r o u t e   s p e c :   p a r e n t R e f s :   -   n a m e :   e x a m p l e - g a t e w a y   h o s t n a m e s :   -   \" w w w . e x a m p l e . c o m \"   r u l e s :   -   m a t c h e s :   -   p a t h :   t y p e :   P a t h P r e f i x   v a l u e :   / l o g i n   b a c k e n d R e f s :   -   n a m e :   e x a m p l e - s v c   p o r t :   8 0 8 0   I n   t h i s   e x a m p l e ,   H T T P   t r a f f i c   f r o m   G a t e w a y   e x a m p l e - g a t e w a y   w i t h   t h e   H o s t :   h e a d e r   s e t   t o   w w w . e x a m p l e . c o m   a n d   t h e   r e q u e s t   p a t h   s p e c i f i e d   a s   / l o g i n   w i l l   b e   r o u t e d   t o   S e r v i c e   e x a m p l e - s v c   o n   p o r t   8 0 8 0 .   S e e   t h e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12246"
  },
  {
    "question": "What is GRPCRoute?",
    "answer": "T h e   G R P C R o u t e   k i n d   s p e c i f i e s   r o u t i n g   b e h a v i o r   o f   g R P C   r e q u e s t s   f r o m   a   G a t e w a y   l i s t e n e r   t o   b a c k e n d   n e t w o r k   e n d p o i n t s .   F o r   a   S e r v i c e   b a c k e n d ,   a n   i m p l e m e n t a t i o n   m a y   r e p r e s e n t   t h e   b a c k e n d   n e t w o r k   e n d p o i n t   a s   a   S e r v i c e   I P   o r   t h e   b a c k i n g   E n d p o i n t S l i c e s   o f   t h e   S e r v i c e .   A   G R P C R o u t e   r e p r e s e n t s   c o n f i g u r a t i o n   t h a t   i s   a p p l i e d   t o   t h e   u n d e r l y i n g   G a t e w a y   i m p l e m e n t a t i o n .   F o r   e x a m p l e ,   d e f i n i n g   a   n e w   G R P C R o u t e   m a y   r e s u l t   i n   c o n f i g u r i n g   a d d i t i o n a l   t r a f f i c   r o u t e s   i n   a   c l o u d   l o a d   b a l a n c e r   o r   i n - c l u s t e r   p r o x y   s e r v e r .   G a t e w a y s   s u p p o r t i n g   G R P C R o u t e   a r e   r e q u i r e d   t o   s u p p o r t   H T T P / 2   w i t h o u t   a n   i n i t i a l   u p g r a d e   f r o m   H T T P / 1 ,   s o   g R P C   t r a f f i c   i s   g u a r a n t e e d   t o   f l o w   p r o p e r l y .   A   m i n i m a l   G R P C R o u t e   e x a m p l e :   a p i V e r s i o n :   g a t e w a y . n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   G R P C R o u t e   m e t a d a t a :   n a m e :   e x a m p l e - g r p c r o u t e   s p e c :   p a r e n t R e f s :   -   n a m e :   e x a m p l e - g a t e w a y   h o s t n a m e s :   -   \" s v c . e x a m p l e . c o m \"   r u l e s :   -   b a c k e n d R e f s :   -   n a m e :   e x a m p l e - s v c   p o r t :   5 0 0 5 1   I n   t h i s   e x a m p l e ,   g R P C   t r a f f i c   f r o m   G a t e w a y   e x a m p l e - g a t e w a y   w i t h   t h e   h o s t   s e t   t o   s v c . e x a m p l e . c o m   w i l l   b e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12247"
  },
  {
    "question": "What is Request flow?",
    "answer": "H e r e   i s   a   s i m p l e   e x a m p l e   o f   H T T P   t r a f f i c   b e i n g   r o u t e d   t o   a   S e r v i c e   b y   u s i n g   a   G a t e w a y   a n d   a n   H T T P R o u t e :   I n   t h i s   e x a m p l e ,   t h e   r e q u e s t   f l o w   f o r   a   G a t e w a y   i m p l e m e n t e d   a s   a   r e v e r s e   p r o x y   i s :   T h e   c l i e n t   s t a r t s   t o   p r e p a r e   a n   H T T P   r e q u e s t   f o r   t h e   U R L   h t t p : / / w w w . e x a m p l e . c o m T h e   c l i e n t ' s   D N S   r e s o l v e r   q u e r i e s   f o r   t h e   d e s t i n a t i o n   n a m e   a n d   l e a r n s   a   m a p p i n g   t o   o n e   o r   m o r e   I P   a d d r e s s e s   a s s o c i a t e d   w i t h   t h e   G a t e w a y . T h e   c l i e n t   s e n d s   a   r e q u e s t   t o   t h e   G a t e w a y   I P   a d d r e s s ;   t h e   r e v e r s e   p r o x y   r e c e i v e s   t h e   H T T P   r e q u e s t   a n d   u s e s   t h e   H o s t :   h e a d e r   t o   m a t c h   a   c o n f i g u r a t i o n   t h a t   w a s   d e r i v e d   f r o m   t h e   G a t e w a y   a n d   a t t a c h e d   H T T P R o u t e . O p t i o n a l l y ,   t h e   r e v e r s e   p r o x y   c a n   p e r f o r m   r e q u e s t   h e a d e r   a n d / o r   p a t h   m a t c h i n g   b a s e d   o n   m a t c h   r u l e s   o f   t h e   H T T P R o u t e . O p t i o n a l l y ,   t h e   r e v e r s e   p r o x y   c a n   m o d i f y   t h e   r e q u e s t ;   f o r   e x a m p l e ,   t o   a d d   o r   r e m o v e   h e a d e r s ,   b a s e d   o n   f i l t e r   r u l e s   o f   t h e   H T T P R o u t e . L a s t l y ,   t h e   r e v e r s e   p r o x y   f o r w a r d s   t h e   r e q u e s t   t o   o n e   o r   m o r e   b a c k e n d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12248"
  },
  {
    "question": "What is Conformance?",
    "answer": "G a t e w a y   A P I   c o v e r s   a   b r o a d   s e t   o f   f e a t u r e s   a n d   i s   w i d e l y   i m p l e m e n t e d .   T h i s   c o m b i n a t i o n   r e q u i r e s   c l e a r   c o n f o r m a n c e   d e f i n i t i o n s   a n d   t e s t s   t o   e n s u r e   t h a t   t h e   A P I   p r o v i d e s   a   c o n s i s t e n t   e x p e r i e n c e   w h e r e v e r   i t   i s   u s e d .   S e e   t h e   c o n f o r m a n c e   d o c u m e n t a t i o n   t o   u n d e r s t a n d   d e t a i l s   s u c h   a s   r e l e a s e   c h a n n e l s ,   s u p p o r t   l e v e l s ,   a n d   r u n n i n g   c o n f o r m a n c e   t e s t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12249"
  },
  {
    "question": "What is Migrating from Ingress?",
    "answer": "G a t e w a y   A P I   i s   t h e   s u c c e s s o r   t o   t h e   I n g r e s s   A P I .   H o w e v e r ,   i t   d o e s   n o t   i n c l u d e   t h e   I n g r e s s   k i n d .   A s   a   r e s u l t ,   a   o n e - t i m e   c o n v e r s i o n   f r o m   y o u r   e x i s t i n g   I n g r e s s   r e s o u r c e s   t o   G a t e w a y   A P I   r e s o u r c e s   i s   n e c e s s a r y .   R e f e r   t o   t h e   i n g r e s s   m i g r a t i o n   g u i d e   f o r   d e t a i l s   o n   m i g r a t i n g   I n g r e s s   r e s o u r c e s   t o   G a t e w a y   A P I   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12250"
  },
  {
    "question": "What is What's next?",
    "answer": "I n s t e a d   o f   G a t e w a y   A P I   r e s o u r c e s   b e i n g   n a t i v e l y   i m p l e m e n t e d   b y   K u b e r n e t e s ,   t h e   s p e c i f i c a t i o n s   a r e   d e f i n e d   a s   C u s t o m   R e s o u r c e s   s u p p o r t e d   b y   a   w i d e   r a n g e   o f   i m p l e m e n t a t i o n s .   I n s t a l l   t h e   G a t e w a y   A P I   C R D s   o r   f o l l o w   t h e   i n s t a l l a t i o n   i n s t r u c t i o n s   o f   y o u r   s e l e c t e d   i m p l e m e n t a t i o n .   A f t e r   i n s t a l l i n g   a n   i m p l e m e n t a t i o n ,   u s e   t h e   G e t t i n g   S t a r t e d   g u i d e   t o   h e l p   y o u   q u i c k l y   s t a r t   w o r k i n g   w i t h   G a t e w a y   A P I .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12251"
  },
  {
    "question": "What is Note:?",
    "answer": "R e f e r   t o   t h e   A P I   s p e c i f i c a t i o n   f o r   a d d i t i o n a l   d e t a i l s   o f   a l l   G a t e w a y   A P I   k i n d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12252"
  },
  {
    "question": "What is 5.5 - EndpointSlices?",
    "answer": "K u b e r n e t e s '   E n d p o i n t S l i c e   A P I   p r o v i d e s   a   w a y   t o   t r a c k   n e t w o r k   e n d p o i n t s   w i t h i n   a   K u b e r n e t e s   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12253"
  },
  {
    "question": "What is EndpointSlice API?",
    "answer": "I n   K u b e r n e t e s ,   a n   E n d p o i n t S l i c e   c o n t a i n s   r e f e r e n c e s   t o   a   s e t   o f   n e t w o r k   e n d p o i n t s .   T h e   c o n t r o l   p l a n e   a u t o m a t i c a l l y   c r e a t e s   E n d p o i n t S l i c e s   f o r   a n y   K u b e r n e t e s   S e r v i c e   t h a t   h a s   a   s e l e c t o r   s p e c i f i e d .   T h e s e   E n d p o i n t S l i c e s   i n c l u d e   r e f e r e n c e s   t o   a l l   t h e   P o d s   t h a t   m a t c h   t h e   S e r v i c e   s e l e c t o r .   E n d p o i n t S l i c e s   g r o u p   n e t w o r k   e n d p o i n t s   t o g e t h e r   b y   u n i q u e   c o m b i n a t i o n s   o f   I P   f a m i l y ,   p r o t o c o l ,   p o r t   n u m b e r ,   a n d   S e r v i c e   n a m e .   T h e   n a m e   o f   a   E n d p o i n t S l i c e   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   A s   a n   e x a m p l e ,   h e r e ' s   a   s a m p l e   E n d p o i n t S l i c e   o b j e c t ,   t h a t ' s   o w n e d   b y   t h e   e x a m p l e   K u b e r n e t e s   S e r v i c e .   a p i V e r s i o n :   d i s c o v e r y . k 8 s . i o / v 1   k i n d :   E n d p o i n t S l i c e   m e t a d a t a :   n a m e :   e x a m p l e - a b c   l a b e l s :   k u b e r n e t e s . i o / s e r v i c e - n a m e :   e x a m p l e   a d d r e s s T y p e :   I P v 4   p o r t s :   -   n a m e :   h t t p   p r o t o c o l :   T C P   p o r t :   8 0   e n d p o i n t s :   -   a d d r e s s e s :   -   \" 1 0 . 1 . 2 . 3 \"   c o n d i t i o n s :   r e a d y :   t r u e   h o s t n a m e :   p o d - 1   n o d e N a m e :   n o d e - 1   z o n e :   u s - w e s t 2 - a   B y   d e f a u l t ,   t h e   c o n t r o l   p l a n e   c r e a t e s   a n d   m a n a g e s   E n d p o i n t S l i c e s   t o   h a v e   n o   m o r e   t h a n   1 0 0   e n d p o i n t s   e a c h .   Y o u   c a n   c o n f i g u ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12254"
  },
  {
    "question": "What is Address types?",
    "answer": "E n d p o i n t S l i c e s   s u p p o r t   t w o   a d d r e s s   t y p e s :   I P v 4 I P v 6   E a c h   E n d p o i n t S l i c e   o b j e c t   r e p r e s e n t s   a   s p e c i f i c   I P   a d d r e s s   t y p e .   I f   y o u   h a v e   a   S e r v i c e   t h a t   i s   a v a i l a b l e   v i a   I P v 4   a n d   I P v 6 ,   t h e r e   w i l l   b e   a t   l e a s t   t w o   E n d p o i n t S l i c e   o b j e c t s   ( o n e   f o r   I P v 4 ,   a n d   o n e   f o r   I P v 6 ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12255"
  },
  {
    "question": "What is Conditions?",
    "answer": "T h e   E n d p o i n t S l i c e   A P I   s t o r e s   c o n d i t i o n s   a b o u t   e n d p o i n t s   t h a t   m a y   b e   u s e f u l   f o r   c o n s u m e r s .   T h e   t h r e e   c o n d i t i o n s   a r e   s e r v i n g ,   t e r m i n a t i n g ,   a n d   r e a d y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12256"
  },
  {
    "question": "What is Serving?",
    "answer": "T h e   s e r v i n g   c o n d i t i o n   i n d i c a t e s   t h a t   t h e   e n d p o i n t   i s   c u r r e n t l y   s e r v i n g   r e s p o n s e s ,   a n d   s o   i t   s h o u l d   b e   u s e d   a s   a   t a r g e t   f o r   S e r v i c e   t r a f f i c .   F o r   e n d p o i n t s   b a c k e d   b y   a   P o d ,   t h i s   m a p s   t o   t h e   P o d ' s   R e a d y   c o n d i t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12257"
  },
  {
    "question": "What is Terminating?",
    "answer": "T h e   t e r m i n a t i n g   c o n d i t i o n   i n d i c a t e s   t h a t   t h e   e n d p o i n t   i s   t e r m i n a t i n g .   F o r   e n d p o i n t s   b a c k e d   b y   a   P o d ,   t h i s   c o n d i t i o n   i s   s e t   w h e n   t h e   P o d   i s   f i r s t   d e l e t e d   ( t h a t   i s ,   w h e n   i t   r e c e i v e s   a   d e l e t i o n   t i m e s t a m p ,   b u t   m o s t   l i k e l y   b e f o r e   t h e   P o d ' s   c o n t a i n e r s   e x i t ) .   S e r v i c e   p r o x i e s   w i l l   n o r m a l l y   i g n o r e   e n d p o i n t s   t h a t   a r e   t e r m i n a t i n g ,   b u t   t h e y   m a y   r o u t e   t r a f f i c   t o   e n d p o i n t s   t h a t   a r e   b o t h   s e r v i n g   a n d   t e r m i n a t i n g   i f   a l l   a v a i l a b l e   e n d p o i n t s   a r e   t e r m i n a t i n g .   ( T h i s   h e l p s   t o   e n s u r e   t h a t   n o   S e r v i c e   t r a f f i c   i s   l o s t   d u r i n g   r o l l i n g   u p d a t e s   o f   t h e   u n d e r l y i n g   P o d s . )",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12258"
  },
  {
    "question": "What is Ready?",
    "answer": "T h e   r e a d y   c o n d i t i o n   i s   e s s e n t i a l l y   a   s h o r t c u t   f o r   c h e c k i n g   \" s e r v i n g   a n d   n o t   t e r m i n a t i n g \"   ( t h o u g h   i t   w i l l   a l s o   a l w a y s   b e   t r u e   f o r   S e r v i c e s   w i t h   s p e c . p u b l i s h N o t R e a d y A d d r e s s e s   s e t   t o   t r u e ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12259"
  },
  {
    "question": "What is Topology information?",
    "answer": "E a c h   e n d p o i n t   w i t h i n   a n   E n d p o i n t S l i c e   c a n   c o n t a i n   r e l e v a n t   t o p o l o g y   i n f o r m a t i o n .   T h e   t o p o l o g y   i n f o r m a t i o n   i n c l u d e s   t h e   l o c a t i o n   o f   t h e   e n d p o i n t   a n d   i n f o r m a t i o n   a b o u t   t h e   c o r r e s p o n d i n g   N o d e   a n d   z o n e .   T h e s e   a r e   a v a i l a b l e   i n   t h e   f o l l o w i n g   p e r   e n d p o i n t   f i e l d s   o n   E n d p o i n t S l i c e s :   n o d e N a m e   -   T h e   n a m e   o f   t h e   N o d e   t h i s   e n d p o i n t   i s   o n . z o n e   -   T h e   z o n e   t h i s   e n d p o i n t   i s   i n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12260"
  },
  {
    "question": "What is Management?",
    "answer": "M o s t   o f t e n ,   t h e   c o n t r o l   p l a n e   ( s p e c i f i c a l l y ,   t h e   e n d p o i n t   s l i c e   c o n t r o l l e r )   c r e a t e s   a n d   m a n a g e s   E n d p o i n t S l i c e   o b j e c t s .   T h e r e   a r e   a   v a r i e t y   o f   o t h e r   u s e   c a s e s   f o r   E n d p o i n t S l i c e s ,   s u c h   a s   s e r v i c e   m e s h   i m p l e m e n t a t i o n s ,   t h a t   c o u l d   r e s u l t   i n   o t h e r   e n t i t i e s   o r   c o n t r o l l e r s   m a n a g i n g   a d d i t i o n a l   s e t s   o f   E n d p o i n t S l i c e s .   T o   e n s u r e   t h a t   m u l t i p l e   e n t i t i e s   c a n   m a n a g e   E n d p o i n t S l i c e s   w i t h o u t   i n t e r f e r i n g   w i t h   e a c h   o t h e r ,   K u b e r n e t e s   d e f i n e s   t h e   l a b e l   e n d p o i n t s l i c e . k u b e r n e t e s . i o / m a n a g e d - b y ,   w h i c h   i n d i c a t e s   t h e   e n t i t y   m a n a g i n g   a n   E n d p o i n t S l i c e .   T h e   e n d p o i n t   s l i c e   c o n t r o l l e r   s e t s   e n d p o i n t s l i c e - c o n t r o l l e r . k 8 s . i o   a s   t h e   v a l u e   f o r   t h i s   l a b e l   o n   a l l   E n d p o i n t S l i c e s   i t   m a n a g e s .   O t h e r   e n t i t i e s   m a n a g i n g   E n d p o i n t S l i c e s   s h o u l d   a l s o   s e t   a   u n i q u e   v a l u e   f o r   t h i s   l a b e l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12261"
  },
  {
    "question": "What is Ownership?",
    "answer": "I n   m o s t   u s e   c a s e s ,   E n d p o i n t S l i c e s   a r e   o w n e d   b y   t h e   S e r v i c e   t h a t   t h e   e n d p o i n t   s l i c e   o b j e c t   t r a c k s   e n d p o i n t s   f o r .   T h i s   o w n e r s h i p   i s   i n d i c a t e d   b y   a n   o w n e r   r e f e r e n c e   o n   e a c h   E n d p o i n t S l i c e   a s   w e l l   a s   a   k u b e r n e t e s . i o / s e r v i c e - n a m e   l a b e l   t h a t   e n a b l e s   s i m p l e   l o o k u p s   o f   a l l   E n d p o i n t S l i c e s   b e l o n g i n g   t o   a   S e r v i c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12262"
  },
  {
    "question": "What is Distribution of EndpointSlices?",
    "answer": "E a c h   E n d p o i n t S l i c e   h a s   a   s e t   o f   p o r t s   t h a t   a p p l i e s   t o   a l l   e n d p o i n t s   w i t h i n   t h e   r e s o u r c e .   W h e n   n a m e d   p o r t s   a r e   u s e d   f o r   a   S e r v i c e ,   P o d s   m a y   e n d   u p   w i t h   d i f f e r e n t   t a r g e t   p o r t   n u m b e r s   f o r   t h e   s a m e   n a m e d   p o r t ,   r e q u i r i n g   d i f f e r e n t   E n d p o i n t S l i c e s .   T h e   c o n t r o l   p l a n e   t r i e s   t o   f i l l   E n d p o i n t S l i c e s   a s   f u l l   a s   p o s s i b l e ,   b u t   d o e s   n o t   a c t i v e l y   r e b a l a n c e   t h e m .   T h e   l o g i c   i s   f a i r l y   s t r a i g h t f o r w a r d :   I t e r a t e   t h r o u g h   e x i s t i n g   E n d p o i n t S l i c e s ,   r e m o v e   e n d p o i n t s   t h a t   a r e   n o   l o n g e r   d e s i r e d   a n d   u p d a t e   m a t c h i n g   e n d p o i n t s   t h a t   h a v e   c h a n g e d . I t e r a t e   t h r o u g h   E n d p o i n t S l i c e s   t h a t   h a v e   b e e n   m o d i f i e d   i n   t h e   f i r s t   s t e p   a n d   f i l l   t h e m   u p   w i t h   a n y   n e w   e n d p o i n t s   n e e d e d . I f   t h e r e ' s   s t i l l   n e w   e n d p o i n t s   l e f t   t o   a d d ,   t r y   t o   f i t   t h e m   i n t o   a   p r e v i o u s l y   u n c h a n g e d   s l i c e   a n d / o r   c r e a t e   n e w   o n e s .   I m p o r t a n t l y ,   t h e   t h i r d   s t e p   p r i o r i t i z e s   l i m i t i n g   E n d p o i n t S l i c e   u p d a t e s   o v e r   a   p e r f e c t l y   f u l l   d i s t r i b u t i o n   o f   E n d p o i n t S l i c e s .   A s   a n   e x a m p l e ,   i f   t h e r e   a r e   1 0   n e w   e n d p o i n t s   t o   a d d   a n d   2   E n d p o i n t S l i c e s   w i t h   r o o m   f o r   5   m o r e   e n d p o i n t s   e a c h ,   t h i s   a p p r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12263"
  },
  {
    "question": "What is Duplicate endpoints?",
    "answer": "D u e   t o   t h e   n a t u r e   o f   E n d p o i n t S l i c e   c h a n g e s ,   e n d p o i n t s   m a y   b e   r e p r e s e n t e d   i n   m o r e   t h a n   o n e   E n d p o i n t S l i c e   a t   t h e   s a m e   t i m e .   T h i s   n a t u r a l l y   o c c u r s   a s   c h a n g e s   t o   d i f f e r e n t   E n d p o i n t S l i c e   o b j e c t s   c a n   a r r i v e   a t   t h e   K u b e r n e t e s   c l i e n t   w a t c h   /   c a c h e   a t   d i f f e r e n t   t i m e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12264"
  },
  {
    "question": "What is Note:?",
    "answer": "C l i e n t s   o f   t h e   E n d p o i n t S l i c e   A P I   m u s t   i t e r a t e   t h r o u g h   a l l   t h e   e x i s t i n g   E n d p o i n t S l i c e s   a s s o c i a t e d   t o   a   S e r v i c e   a n d   b u i l d   a   c o m p l e t e   l i s t   o f   u n i q u e   n e t w o r k   e n d p o i n t s .   I t   i s   i m p o r t a n t   t o   m e n t i o n   t h a t   e n d p o i n t s   m a y   b e   d u p l i c a t e d   i n   d i f f e r e n t   E n d p o i n t S l i c e s .   Y o u   c a n   f i n d   a   r e f e r e n c e   i m p l e m e n t a t i o n   f o r   h o w   t o   p e r f o r m   t h i s   e n d p o i n t   a g g r e g a t i o n   a n d   d e d u p l i c a t i o n   a s   p a r t   o f   t h e   E n d p o i n t S l i c e C a c h e   c o d e   w i t h i n   k u b e - p r o x y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12265"
  },
  {
    "question": "What is EndpointSlice mirroring?",
    "answer": "T h e   E n d p o i n t S l i c e   A P I   i s   a   r e p l a c e m e n t   f o r   t h e   o l d e r   E n d p o i n t s   A P I .   T o   p r e s e r v e   c o m p a t i b i l i t y   w i t h   o l d e r   c o n t r o l l e r s   a n d   u s e r   w o r k l o a d s   t h a t   e x p e c t   k u b e - p r o x y   t o   r o u t e   t r a f f i c   b a s e d   o n   E n d p o i n t s   r e s o u r c e s ,   t h e   c l u s t e r ' s   c o n t r o l   p l a n e   m i r r o r s   m o s t   u s e r - c r e a t e d   E n d p o i n t s   r e s o u r c e s   t o   c o r r e s p o n d i n g   E n d p o i n t S l i c e s .   ( H o w e v e r ,   t h i s   f e a t u r e ,   l i k e   t h e   r e s t   o f   t h e   E n d p o i n t s   A P I ,   i s   d e p r e c a t e d .   U s e r s   w h o   m a n u a l l y   s p e c i f y   e n d p o i n t s   f o r   s e l e c t o r l e s s   S e r v i c e s   s h o u l d   d o   s o   b y   c r e a t i n g   E n d p o i n t S l i c e   r e s o u r c e s   d i r e c t l y ,   r a t h e r   t h a n   b y   c r e a t i n g   E n d p o i n t s   r e s o u r c e s   a n d   a l l o w i n g   t h e m   t o   b e   m i r r o r e d . )   T h e   c o n t r o l   p l a n e   m i r r o r s   E n d p o i n t s   r e s o u r c e s   u n l e s s :   t h e   E n d p o i n t s   r e s o u r c e   h a s   a   e n d p o i n t s l i c e . k u b e r n e t e s . i o / s k i p - m i r r o r   l a b e l   s e t   t o   t r u e . t h e   E n d p o i n t s   r e s o u r c e   h a s   a   c o n t r o l - p l a n e . a l p h a . k u b e r n e t e s . i o / l e a d e r   a n n o t a t i o n . t h e   c o r r e s p o n d i n g   S e r v i c e   r e s o u r c e   d o e s   n o t   e x i s t . t h e   c o r r e s p o n d i n g   S e r v i c e   r e s o u r c e   h a s   a   n o n - n i l   s e l e c t o r .   I n d i v i d u a l   E n d p o i n t s   r e s o u r c e s   m a y   t r a n s l a t e   i n t o   m u l t i p l e   E n d p o i n t S l i c e s .   T h i s   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12266"
  },
  {
    "question": "What is What's next?",
    "answer": "F o l l o w   t h e   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s   t u t o r i a l R e a d   t h e   A P I   r e f e r e n c e   f o r   t h e   E n d p o i n t S l i c e   A P I R e a d   t h e   A P I   r e f e r e n c e   f o r   t h e   E n d p o i n t s   A P I",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12267"
  },
  {
    "question": "What is 5.6 - Network Policies?",
    "answer": "I f   y o u   w a n t   t o   c o n t r o l   t r a f f i c   f l o w   a t   t h e   I P   a d d r e s s   o r   p o r t   l e v e l   f o r   T C P ,   U D P ,   a n d   S C T P   p r o t o c o l s ,   t h e n   y o u   m i g h t   c o n s i d e r   u s i n g   K u b e r n e t e s   N e t w o r k P o l i c i e s   f o r   p a r t i c u l a r   a p p l i c a t i o n s   i n   y o u r   c l u s t e r .   N e t w o r k P o l i c i e s   a r e   a n   a p p l i c a t i o n - c e n t r i c   c o n s t r u c t   w h i c h   a l l o w   y o u   t o   s p e c i f y   h o w   a   p o d   i s   a l l o w e d   t o   c o m m u n i c a t e   w i t h   v a r i o u s   n e t w o r k   \" e n t i t i e s \"   ( w e   u s e   t h e   w o r d   \" e n t i t y \"   h e r e   t o   a v o i d   o v e r l o a d i n g   t h e   m o r e   c o m m o n   t e r m s   s u c h   a s   \" e n d p o i n t s \"   a n d   \" s e r v i c e s \" ,   w h i c h   h a v e   s p e c i f i c   K u b e r n e t e s   c o n n o t a t i o n s )   o v e r   t h e   n e t w o r k .   N e t w o r k P o l i c i e s   a p p l y   t o   a   c o n n e c t i o n   w i t h   a   p o d   o n   o n e   o r   b o t h   e n d s ,   a n d   a r e   n o t   r e l e v a n t   t o   o t h e r   c o n n e c t i o n s .   T h e   e n t i t i e s   t h a t   a   P o d   c a n   c o m m u n i c a t e   w i t h   a r e   i d e n t i f i e d   t h r o u g h   a   c o m b i n a t i o n   o f   t h e   f o l l o w i n g   t h r e e   i d e n t i f i e r s :   O t h e r   p o d s   t h a t   a r e   a l l o w e d   ( e x c e p t i o n :   a   p o d   c a n n o t   b l o c k   a c c e s s   t o   i t s e l f ) N a m e s p a c e s   t h a t   a r e   a l l o w e d I P   b l o c k s   ( e x c e p t i o n :   t r a f f i c   t o   a n d   f r o m   t h e   n o d e   w h e r e   a   P o d   i s   r u n n i n g   i s   a l w a y s   a l l o w e d ,   r e g a r d l e s s   o f   t h e   I P   a d d r e s s   o f   t h e   P o d   o r   t h e   n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12268"
  },
  {
    "question": "What is Prerequisites?",
    "answer": "N e t w o r k   p o l i c i e s   a r e   i m p l e m e n t e d   b y   t h e   n e t w o r k   p l u g i n .   T o   u s e   n e t w o r k   p o l i c i e s ,   y o u   m u s t   b e   u s i n g   a   n e t w o r k i n g   s o l u t i o n   w h i c h   s u p p o r t s   N e t w o r k P o l i c y .   C r e a t i n g   a   N e t w o r k P o l i c y   r e s o u r c e   w i t h o u t   a   c o n t r o l l e r   t h a t   i m p l e m e n t s   i t   w i l l   h a v e   n o   e f f e c t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12269"
  },
  {
    "question": "What is The two sorts of pod isolation?",
    "answer": "T h e r e   a r e   t w o   s o r t s   o f   i s o l a t i o n   f o r   a   p o d :   i s o l a t i o n   f o r   e g r e s s ,   a n d   i s o l a t i o n   f o r   i n g r e s s .   T h e y   c o n c e r n   w h a t   c o n n e c t i o n s   m a y   b e   e s t a b l i s h e d .   \" I s o l a t i o n \"   h e r e   i s   n o t   a b s o l u t e ,   r a t h e r   i t   m e a n s   \" s o m e   r e s t r i c t i o n s   a p p l y \" .   T h e   a l t e r n a t i v e ,   \" n o n - i s o l a t e d   f o r   $ d i r e c t i o n \" ,   m e a n s   t h a t   n o   r e s t r i c t i o n s   a p p l y   i n   t h e   s t a t e d   d i r e c t i o n .   T h e   t w o   s o r t s   o f   i s o l a t i o n   ( o r   n o t )   a r e   d e c l a r e d   i n d e p e n d e n t l y ,   a n d   a r e   b o t h   r e l e v a n t   f o r   a   c o n n e c t i o n   f r o m   o n e   p o d   t o   a n o t h e r .   B y   d e f a u l t ,   a   p o d   i s   n o n - i s o l a t e d   f o r   e g r e s s ;   a l l   o u t b o u n d   c o n n e c t i o n s   a r e   a l l o w e d .   A   p o d   i s   i s o l a t e d   f o r   e g r e s s   i f   t h e r e   i s   a n y   N e t w o r k P o l i c y   t h a t   b o t h   s e l e c t s   t h e   p o d   a n d   h a s   \" E g r e s s \"   i n   i t s   p o l i c y T y p e s ;   w e   s a y   t h a t   s u c h   a   p o l i c y   a p p l i e s   t o   t h e   p o d   f o r   e g r e s s .   W h e n   a   p o d   i s   i s o l a t e d   f o r   e g r e s s ,   t h e   o n l y   a l l o w e d   c o n n e c t i o n s   f r o m   t h e   p o d   a r e   t h o s e   a l l o w e d   b y   t h e   e g r e s s   l i s t   o f   s o m e   N e t w o r k P o l i c y   t h a t   a p p l i e s   t o   t h e   p o d   f o r   e g r e s s .   R e p l y   t r a f f i c   f o r   t h o s e   a l l o w e d   c o n n e c t i o n s   w i l l   a l s o   b e   i m p l i c i t l y   a l l o w e d .   T h e   e f f e c t s   o f   t h o s e   e g r e s s   l i s t s   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12270"
  },
  {
    "question": "What is The NetworkPolicy resource?",
    "answer": "S e e   t h e   N e t w o r k P o l i c y   r e f e r e n c e   f o r   a   f u l l   d e f i n i t i o n   o f   t h e   r e s o u r c e .   A n   e x a m p l e   N e t w o r k P o l i c y   m i g h t   l o o k   l i k e   t h i s :   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a :   n a m e :   t e s t - n e t w o r k - p o l i c y   n a m e s p a c e :   d e f a u l t   s p e c :   p o d S e l e c t o r :   m a t c h L a b e l s :   r o l e :   d b   p o l i c y T y p e s :   -   I n g r e s s   -   E g r e s s   i n g r e s s :   -   f r o m :   -   i p B l o c k :   c i d r :   1 7 2 . 1 7 . 0 . 0 / 1 6   e x c e p t :   -   1 7 2 . 1 7 . 1 . 0 / 2 4   -   n a m e s p a c e S e l e c t o r :   m a t c h L a b e l s :   p r o j e c t :   m y p r o j e c t   -   p o d S e l e c t o r :   m a t c h L a b e l s :   r o l e :   f r o n t e n d   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   6 3 7 9   e g r e s s :   -   t o :   -   i p B l o c k :   c i d r :   1 0 . 0 . 0 . 0 / 2 4   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   5 9 7 8",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12271"
  },
  {
    "question": "What is Note:?",
    "answer": "M a n d a t o r y   F i e l d s :   A s   w i t h   a l l   o t h e r   K u b e r n e t e s   c o n f i g ,   a   N e t w o r k P o l i c y   n e e d s   a p i V e r s i o n ,   k i n d ,   a n d   m e t a d a t a   f i e l d s .   F o r   g e n e r a l   i n f o r m a t i o n   a b o u t   w o r k i n g   w i t h   c o n f i g   f i l e s ,   s e e   C o n f i g u r e   a   P o d   t o   U s e   a   C o n f i g M a p ,   a n d   O b j e c t   M a n a g e m e n t .   s p e c :   N e t w o r k P o l i c y   s p e c   h a s   a l l   t h e   i n f o r m a t i o n   n e e d e d   t o   d e f i n e   a   p a r t i c u l a r   n e t w o r k   p o l i c y   i n   t h e   g i v e n   n a m e s p a c e .   p o d S e l e c t o r :   E a c h   N e t w o r k P o l i c y   i n c l u d e s   a   p o d S e l e c t o r   w h i c h   s e l e c t s   t h e   g r o u p i n g   o f   p o d s   t o   w h i c h   t h e   p o l i c y   a p p l i e s .   T h e   e x a m p l e   p o l i c y   s e l e c t s   p o d s   w i t h   t h e   l a b e l   \" r o l e = d b \" .   A n   e m p t y   p o d S e l e c t o r   s e l e c t s   a l l   p o d s   i n   t h e   n a m e s p a c e .   p o l i c y T y p e s :   E a c h   N e t w o r k P o l i c y   i n c l u d e s   a   p o l i c y T y p e s   l i s t   w h i c h   m a y   i n c l u d e   e i t h e r   I n g r e s s ,   E g r e s s ,   o r   b o t h .   T h e   p o l i c y T y p e s   f i e l d   i n d i c a t e s   w h e t h e r   o r   n o t   t h e   g i v e n   p o l i c y   a p p l i e s   t o   i n g r e s s   t r a f f i c   t o   s e l e c t e d   p o d ,   e g r e s s   t r a f f i c   f r o m   s e l e c t e d   p o d s ,   o r   b o t h .   I f   n o   p o l i c y T y p e s   a r e   s p e c i f i e d   o n   a   N e t w o r k P o l i c y   t h e n   b y   d e f a u l t   I n g r e s s   w i l l   a l w a y s   b e   s e t   a n d   E g r e s s   w i l l   b e   s e t   i f   t h e   N e t w o r k P o l i c y   h a s   a n y   e g r e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12272"
  },
  {
    "question": "What is Behavior of to and from selectors?",
    "answer": "T h e r e   a r e   f o u r   k i n d s   o f   s e l e c t o r s   t h a t   c a n   b e   s p e c i f i e d   i n   a n   i n g r e s s   f r o m   s e c t i o n   o r   e g r e s s   t o   s e c t i o n :   p o d S e l e c t o r :   T h i s   s e l e c t s   p a r t i c u l a r   P o d s   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   N e t w o r k P o l i c y   w h i c h   s h o u l d   b e   a l l o w e d   a s   i n g r e s s   s o u r c e s   o r   e g r e s s   d e s t i n a t i o n s .   n a m e s p a c e S e l e c t o r :   T h i s   s e l e c t s   p a r t i c u l a r   n a m e s p a c e s   f o r   w h i c h   a l l   P o d s   s h o u l d   b e   a l l o w e d   a s   i n g r e s s   s o u r c e s   o r   e g r e s s   d e s t i n a t i o n s .   n a m e s p a c e S e l e c t o r   a n d   p o d S e l e c t o r :   A   s i n g l e   t o / f r o m   e n t r y   t h a t   s p e c i f i e s   b o t h   n a m e s p a c e S e l e c t o r   a n d   p o d S e l e c t o r   s e l e c t s   p a r t i c u l a r   P o d s   w i t h i n   p a r t i c u l a r   n a m e s p a c e s .   B e   c a r e f u l   t o   u s e   c o r r e c t   Y A M L   s y n t a x .   F o r   e x a m p l e :   . . .   i n g r e s s :   -   f r o m :   -   n a m e s p a c e S e l e c t o r :   m a t c h L a b e l s :   u s e r :   a l i c e   p o d S e l e c t o r :   m a t c h L a b e l s :   r o l e :   c l i e n t   . . .   T h i s   p o l i c y   c o n t a i n s   a   s i n g l e   f r o m   e l e m e n t   a l l o w i n g   c o n n e c t i o n s   f r o m   P o d s   w i t h   t h e   l a b e l   r o l e = c l i e n t   i n   n a m e s p a c e s   w i t h   t h e   l a b e l   u s e r = a l i c e .   B u t   t h e   f o l l o w i n g   p o l i c y   i s   d i f f e r e n t :   . . .   i n g r e s s :   -   f r o m :   -   n a m e s p a c e S e l e c t o r :   m a t c h L a b e l s :   u s e r :   a l i c e   -   p o d S e l e c t o r :   m a t c h L a b e l s :   r o l e : ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12273"
  },
  {
    "question": "What is Default policies?",
    "answer": "B y   d e f a u l t ,   i f   n o   p o l i c i e s   e x i s t   i n   a   n a m e s p a c e ,   t h e n   a l l   i n g r e s s   a n d   e g r e s s   t r a f f i c   i s   a l l o w e d   t o   a n d   f r o m   p o d s   i n   t h a t   n a m e s p a c e .   T h e   f o l l o w i n g   e x a m p l e s   l e t   y o u   c h a n g e   t h e   d e f a u l t   b e h a v i o r   i n   t h a t   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12274"
  },
  {
    "question": "What is Default deny all ingress traffic?",
    "answer": "Y o u   c a n   c r e a t e   a   \" d e f a u l t \"   i n g r e s s   i s o l a t i o n   p o l i c y   f o r   a   n a m e s p a c e   b y   c r e a t i n g   a   N e t w o r k P o l i c y   t h a t   s e l e c t s   a l l   p o d s   b u t   d o e s   n o t   a l l o w   a n y   i n g r e s s   t r a f f i c   t o   t h o s e   p o d s .   - - -   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a :   n a m e :   d e f a u l t - d e n y - i n g r e s s   s p e c :   p o d S e l e c t o r :   { }   p o l i c y T y p e s :   -   I n g r e s s   T h i s   e n s u r e s   t h a t   e v e n   p o d s   t h a t   a r e n ' t   s e l e c t e d   b y   a n y   o t h e r   N e t w o r k P o l i c y   w i l l   s t i l l   b e   i s o l a t e d   f o r   i n g r e s s .   T h i s   p o l i c y   d o e s   n o t   a f f e c t   i s o l a t i o n   f o r   e g r e s s   f r o m   a n y   p o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12275"
  },
  {
    "question": "What is Allow all ingress traffic?",
    "answer": "I f   y o u   w a n t   t o   a l l o w   a l l   i n c o m i n g   c o n n e c t i o n s   t o   a l l   p o d s   i n   a   n a m e s p a c e ,   y o u   c a n   c r e a t e   a   p o l i c y   t h a t   e x p l i c i t l y   a l l o w s   t h a t .   - - -   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a :   n a m e :   a l l o w - a l l - i n g r e s s   s p e c :   p o d S e l e c t o r :   { }   i n g r e s s :   -   { }   p o l i c y T y p e s :   -   I n g r e s s   W i t h   t h i s   p o l i c y   i n   p l a c e ,   n o   a d d i t i o n a l   p o l i c y   o r   p o l i c i e s   c a n   c a u s e   a n y   i n c o m i n g   c o n n e c t i o n   t o   t h o s e   p o d s   t o   b e   d e n i e d .   T h i s   p o l i c y   h a s   n o   e f f e c t   o n   i s o l a t i o n   f o r   e g r e s s   f r o m   a n y   p o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12276"
  },
  {
    "question": "What is Default deny all egress traffic?",
    "answer": "Y o u   c a n   c r e a t e   a   \" d e f a u l t \"   e g r e s s   i s o l a t i o n   p o l i c y   f o r   a   n a m e s p a c e   b y   c r e a t i n g   a   N e t w o r k P o l i c y   t h a t   s e l e c t s   a l l   p o d s   b u t   d o e s   n o t   a l l o w   a n y   e g r e s s   t r a f f i c   f r o m   t h o s e   p o d s .   - - -   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a :   n a m e :   d e f a u l t - d e n y - e g r e s s   s p e c :   p o d S e l e c t o r :   { }   p o l i c y T y p e s :   -   E g r e s s   T h i s   e n s u r e s   t h a t   e v e n   p o d s   t h a t   a r e n ' t   s e l e c t e d   b y   a n y   o t h e r   N e t w o r k P o l i c y   w i l l   n o t   b e   a l l o w e d   e g r e s s   t r a f f i c .   T h i s   p o l i c y   d o e s   n o t   c h a n g e   t h e   i n g r e s s   i s o l a t i o n   b e h a v i o r   o f   a n y   p o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12277"
  },
  {
    "question": "What is Allow all egress traffic?",
    "answer": "I f   y o u   w a n t   t o   a l l o w   a l l   c o n n e c t i o n s   f r o m   a l l   p o d s   i n   a   n a m e s p a c e ,   y o u   c a n   c r e a t e   a   p o l i c y   t h a t   e x p l i c i t l y   a l l o w s   a l l   o u t g o i n g   c o n n e c t i o n s   f r o m   p o d s   i n   t h a t   n a m e s p a c e .   - - -   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a :   n a m e :   a l l o w - a l l - e g r e s s   s p e c :   p o d S e l e c t o r :   { }   e g r e s s :   -   { }   p o l i c y T y p e s :   -   E g r e s s   W i t h   t h i s   p o l i c y   i n   p l a c e ,   n o   a d d i t i o n a l   p o l i c y   o r   p o l i c i e s   c a n   c a u s e   a n y   o u t g o i n g   c o n n e c t i o n   f r o m   t h o s e   p o d s   t o   b e   d e n i e d .   T h i s   p o l i c y   h a s   n o   e f f e c t   o n   i s o l a t i o n   f o r   i n g r e s s   t o   a n y   p o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12278"
  },
  {
    "question": "What is Default deny all ingress and all egress traffic?",
    "answer": "Y o u   c a n   c r e a t e   a   \" d e f a u l t \"   p o l i c y   f o r   a   n a m e s p a c e   w h i c h   p r e v e n t s   a l l   i n g r e s s   A N D   e g r e s s   t r a f f i c   b y   c r e a t i n g   t h e   f o l l o w i n g   N e t w o r k P o l i c y   i n   t h a t   n a m e s p a c e .   - - -   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a :   n a m e :   d e f a u l t - d e n y - a l l   s p e c :   p o d S e l e c t o r :   { }   p o l i c y T y p e s :   -   I n g r e s s   -   E g r e s s   T h i s   e n s u r e s   t h a t   e v e n   p o d s   t h a t   a r e n ' t   s e l e c t e d   b y   a n y   o t h e r   N e t w o r k P o l i c y   w i l l   n o t   b e   a l l o w e d   i n g r e s s   o r   e g r e s s   t r a f f i c .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12279"
  },
  {
    "question": "What is Network traffic filtering?",
    "answer": "N e t w o r k P o l i c y   i s   d e f i n e d   f o r   l a y e r   4   c o n n e c t i o n s   ( T C P ,   U D P ,   a n d   o p t i o n a l l y   S C T P ) .   F o r   a l l   t h e   o t h e r   p r o t o c o l s ,   t h e   b e h a v i o u r   m a y   v a r y   a c r o s s   n e t w o r k   p l u g i n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12280"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   a   d e n y   a l l   n e t w o r k   p o l i c y   i s   d e f i n e d ,   i t   i s   o n l y   g u a r a n t e e d   t o   d e n y   T C P ,   U D P   a n d   S C T P   c o n n e c t i o n s .   F o r   o t h e r   p r o t o c o l s ,   s u c h   a s   A R P   o r   I C M P ,   t h e   b e h a v i o u r   i s   u n d e f i n e d .   T h e   s a m e   a p p l i e s   t o   a l l o w   r u l e s :   w h e n   a   s p e c i f i c   p o d   i s   a l l o w e d   a s   i n g r e s s   s o u r c e   o r   e g r e s s   d e s t i n a t i o n ,   i t   i s   u n d e f i n e d   w h a t   h a p p e n s   w i t h   ( f o r   e x a m p l e )   I C M P   p a c k e t s .   P r o t o c o l s   s u c h   a s   I C M P   m a y   b e   a l l o w e d   b y   s o m e   n e t w o r k   p l u g i n s   a n d   d e n i e d   b y   o t h e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12281"
  },
  {
    "question": "What is Targeting a range of ports?",
    "answer": "W h e n   w r i t i n g   a   N e t w o r k P o l i c y ,   y o u   c a n   t a r g e t   a   r a n g e   o f   p o r t s   i n s t e a d   o f   a   s i n g l e   p o r t .   T h i s   i s   a c h i e v a b l e   w i t h   t h e   u s a g e   o f   t h e   e n d P o r t   f i e l d ,   a s   t h e   f o l l o w i n g   e x a m p l e :   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a :   n a m e :   m u l t i - p o r t - e g r e s s   n a m e s p a c e :   d e f a u l t   s p e c :   p o d S e l e c t o r :   m a t c h L a b e l s :   r o l e :   d b   p o l i c y T y p e s :   -   E g r e s s   e g r e s s :   -   t o :   -   i p B l o c k :   c i d r :   1 0 . 0 . 0 . 0 / 2 4   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   3 2 0 0 0   e n d P o r t :   3 2 7 6 8   T h e   a b o v e   r u l e   a l l o w s   a n y   P o d   w i t h   l a b e l   r o l e = d b   o n   t h e   n a m e s p a c e   d e f a u l t   t o   c o m m u n i c a t e   w i t h   a n y   I P   w i t h i n   t h e   r a n g e   1 0 . 0 . 0 . 0 / 2 4   o v e r   T C P ,   p r o v i d e d   t h a t   t h e   t a r g e t   p o r t   i s   b e t w e e n   t h e   r a n g e   3 2 0 0 0   a n d   3 2 7 6 8 .   T h e   f o l l o w i n g   r e s t r i c t i o n s   a p p l y   w h e n   u s i n g   t h i s   f i e l d :   T h e   e n d P o r t   f i e l d   m u s t   b e   e q u a l   t o   o r   g r e a t e r   t h a n   t h e   p o r t   f i e l d . e n d P o r t   c a n   o n l y   b e   d e f i n e d   i f   p o r t   i s   a l s o   d e f i n e d . B o t h   p o r t s   m u s t   b e   n u m e r i c .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12282"
  },
  {
    "question": "What is Targeting multiple namespaces by label?",
    "answer": "I n   t h i s   s c e n a r i o ,   y o u r   E g r e s s   N e t w o r k P o l i c y   t a r g e t s   m o r e   t h a n   o n e   n a m e s p a c e   u s i n g   t h e i r   l a b e l   n a m e s .   F o r   t h i s   t o   w o r k ,   y o u   n e e d   t o   l a b e l   t h e   t a r g e t   n a m e s p a c e s .   F o r   e x a m p l e :   k u b e c t l   l a b e l   n a m e s p a c e   f r o n t e n d   n a m e s p a c e = f r o n t e n d   k u b e c t l   l a b e l   n a m e s p a c e   b a c k e n d   n a m e s p a c e = b a c k e n d   A d d   t h e   l a b e l s   u n d e r   n a m e s p a c e S e l e c t o r   i n   y o u r   N e t w o r k P o l i c y   d o c u m e n t .   F o r   e x a m p l e :   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a :   n a m e :   e g r e s s - n a m e s p a c e s   s p e c :   p o d S e l e c t o r :   m a t c h L a b e l s :   a p p :   m y a p p   p o l i c y T y p e s :   -   E g r e s s   e g r e s s :   -   t o :   -   n a m e s p a c e S e l e c t o r :   m a t c h E x p r e s s i o n s :   -   k e y :   n a m e s p a c e   o p e r a t o r :   I n   v a l u e s :   [ \" f r o n t e n d \" ,   \" b a c k e n d \" ]",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12283"
  },
  {
    "question": "What is Targeting a Namespace by its name?",
    "answer": "T h e   K u b e r n e t e s   c o n t r o l   p l a n e   s e t s   a n   i m m u t a b l e   l a b e l   k u b e r n e t e s . i o / m e t a d a t a . n a m e   o n   a l l   n a m e s p a c e s ,   t h e   v a l u e   o f   t h e   l a b e l   i s   t h e   n a m e s p a c e   n a m e .   W h i l e   N e t w o r k P o l i c y   c a n n o t   t a r g e t   a   n a m e s p a c e   b y   i t s   n a m e   w i t h   s o m e   o b j e c t   f i e l d ,   y o u   c a n   u s e   t h e   s t a n d a r d i z e d   l a b e l   t o   t a r g e t   a   s p e c i f i c   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12284"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   a   n e w   N e t w o r k P o l i c y   o b j e c t   i s   c r e a t e d ,   i t   m a y   t a k e   s o m e   t i m e   f o r   a   n e t w o r k   p l u g i n   t o   h a n d l e   t h e   n e w   o b j e c t .   I f   a   p o d   t h a t   i s   a f f e c t e d   b y   a   N e t w o r k P o l i c y   i s   c r e a t e d   b e f o r e   t h e   n e t w o r k   p l u g i n   h a s   c o m p l e t e d   N e t w o r k P o l i c y   h a n d l i n g ,   t h a t   p o d   m a y   b e   s t a r t e d   u n p r o t e c t e d ,   a n d   i s o l a t i o n   r u l e s   w i l l   b e   a p p l i e d   w h e n   t h e   N e t w o r k P o l i c y   h a n d l i n g   i s   c o m p l e t e d .   O n c e   t h e   N e t w o r k P o l i c y   i s   h a n d l e d   b y   a   n e t w o r k   p l u g i n ,   A l l   n e w l y   c r e a t e d   p o d s   a f f e c t e d   b y   a   g i v e n   N e t w o r k P o l i c y   w i l l   b e   i s o l a t e d   b e f o r e   t h e y   a r e   s t a r t e d .   I m p l e m e n t a t i o n s   o f   N e t w o r k P o l i c y   m u s t   e n s u r e   t h a t   f i l t e r i n g   i s   e f f e c t i v e   t h r o u g h o u t   t h e   P o d   l i f e c y c l e ,   e v e n   f r o m   t h e   v e r y   f i r s t   i n s t a n t   t h a t   a n y   c o n t a i n e r   i n   t h a t   P o d   i s   s t a r t e d .   B e c a u s e   t h e y   a r e   a p p l i e d   a t   P o d   l e v e l ,   N e t w o r k P o l i c i e s   a p p l y   e q u a l l y   t o   i n i t   c o n t a i n e r s ,   s i d e c a r   c o n t a i n e r s ,   a n d   r e g u l a r   c o n t a i n e r s . A l l o w   r u l e s   w i l l   b e   a p p l i e d   e v e n t u a l l y   a f t e r   t h e   i s o l a t i o n   r u l e s   ( o r   m a y   b e   a p p l i e d   a t   t h e   s a m e   t i m e ) .   I n   t h e   w o r s t   c a s e ,   a   n e w l y   c r e a t e d   p o d   m a y   h a v e   n o   n e t w o r k   c o n n e c t i v i t y   a t   a l l   w ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12285"
  },
  {
    "question": "What is NetworkPolicy and hostNetwork pods?",
    "answer": "N e t w o r k P o l i c y   b e h a v i o u r   f o r   h o s t N e t w o r k   p o d s   i s   u n d e f i n e d ,   b u t   i t   s h o u l d   b e   l i m i t e d   t o   2   p o s s i b i l i t i e s :   T h e   n e t w o r k   p l u g i n   c a n   d i s t i n g u i s h   h o s t N e t w o r k   p o d   t r a f f i c   f r o m   a l l   o t h e r   t r a f f i c   ( i n c l u d i n g   b e i n g   a b l e   t o   d i s t i n g u i s h   t r a f f i c   f r o m   d i f f e r e n t   h o s t N e t w o r k   p o d s   o n   t h e   s a m e   n o d e ) ,   a n d   w i l l   a p p l y   N e t w o r k P o l i c y   t o   h o s t N e t w o r k   p o d s   j u s t   l i k e   i t   d o e s   t o   p o d - n e t w o r k   p o d s . T h e   n e t w o r k   p l u g i n   c a n n o t   p r o p e r l y   d i s t i n g u i s h   h o s t N e t w o r k   p o d   t r a f f i c ,   a n d   s o   i t   i g n o r e s   h o s t N e t w o r k   p o d s   w h e n   m a t c h i n g   p o d S e l e c t o r   a n d   n a m e s p a c e S e l e c t o r .   T r a f f i c   t o / f r o m   h o s t N e t w o r k   p o d s   i s   t r e a t e d   t h e   s a m e   a s   a l l   o t h e r   t r a f f i c   t o / f r o m   t h e   n o d e   I P .   ( T h i s   i s   t h e   m o s t   c o m m o n   i m p l e m e n t a t i o n . )   T h i s   a p p l i e s   w h e n   a   h o s t N e t w o r k   p o d   i s   s e l e c t e d   b y   s p e c . p o d S e l e c t o r .   . . .   s p e c :   p o d S e l e c t o r :   m a t c h L a b e l s :   r o l e :   c l i e n t   . . .   a   h o s t N e t w o r k   p o d   i s   s e l e c t e d   b y   a   p o d S e l e c t o r   o r   n a m e s p a c e S e l e c t o r   i n   a n   i n g r e s s   o r   e g r e s s   r u l e .   . . .   i n g r e s s :   -   f r o m :   -   p o d S e l e c t o r :   m a t c h L a b e l s :   r o l e :   c l i e n t   . . .   a   h o s t N e t w o r k   p o d   i s   s e l e c t e d   b y   s p e c . p o d S e l e c t o r .   . ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12286"
  },
  {
    "question": "What is What you can't do with network policies (at least, not yet)?",
    "answer": "A s   o f   K u b e r n e t e s   1 . 3 4 ,   t h e   f o l l o w i n g   f u n c t i o n a l i t y   d o e s   n o t   e x i s t   i n   t h e   N e t w o r k P o l i c y   A P I ,   b u t   y o u   m i g h t   b e   a b l e   t o   i m p l e m e n t   w o r k a r o u n d s   u s i n g   O p e r a t i n g   S y s t e m   c o m p o n e n t s   ( s u c h   a s   S E L i n u x ,   O p e n V S w i t c h ,   I P T a b l e s ,   a n d   s o   o n )   o r   L a y e r   7   t e c h n o l o g i e s   ( I n g r e s s   c o n t r o l l e r s ,   S e r v i c e   M e s h   i m p l e m e n t a t i o n s )   o r   a d m i s s i o n   c o n t r o l l e r s .   I n   c a s e   y o u   a r e   n e w   t o   n e t w o r k   s e c u r i t y   i n   K u b e r n e t e s ,   i t s   w o r t h   n o t i n g   t h a t   t h e   f o l l o w i n g   U s e r   S t o r i e s   c a n n o t   ( y e t )   b e   i m p l e m e n t e d   u s i n g   t h e   N e t w o r k P o l i c y   A P I .   F o r c i n g   i n t e r n a l   c l u s t e r   t r a f f i c   t o   g o   t h r o u g h   a   c o m m o n   g a t e w a y   ( t h i s   m i g h t   b e   b e s t   s e r v e d   w i t h   a   s e r v i c e   m e s h   o r   o t h e r   p r o x y ) . A n y t h i n g   T L S   r e l a t e d   ( u s e   a   s e r v i c e   m e s h   o r   i n g r e s s   c o n t r o l l e r   f o r   t h i s ) . N o d e   s p e c i f i c   p o l i c i e s   ( y o u   c a n   u s e   C I D R   n o t a t i o n   f o r   t h e s e ,   b u t   y o u   c a n n o t   t a r g e t   n o d e s   b y   t h e i r   K u b e r n e t e s   i d e n t i t i e s   s p e c i f i c a l l y ) . T a r g e t i n g   o f   s e r v i c e s   b y   n a m e   ( y o u   c a n ,   h o w e v e r ,   t a r g e t   p o d s   o r   n a m e s p a c e s   b y   t h e i r   l a b e l s ,   w h i c h   i s   o f t e n   a   v i a b l e   w o r k a r o u n d ) . C r e a t i o n   o r   m a n a g e m e n t   o f   \" P o l i c y   r e q u e s t s \"   t h a t   a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12287"
  },
  {
    "question": "What is NetworkPolicy's impact on existing connections?",
    "answer": "W h e n   t h e   s e t   o f   N e t w o r k P o l i c i e s   t h a t   a p p l i e s   t o   a n   e x i s t i n g   c o n n e c t i o n   c h a n g e s   -   t h i s   c o u l d   h a p p e n   e i t h e r   d u e   t o   a   c h a n g e   i n   N e t w o r k P o l i c i e s   o r   i f   t h e   r e l e v a n t   l a b e l s   o f   t h e   n a m e s p a c e s / p o d s   s e l e c t e d   b y   t h e   p o l i c y   ( b o t h   s u b j e c t   a n d   p e e r s )   a r e   c h a n g e d   i n   t h e   m i d d l e   o f   a n   e x i s t i n g   c o n n e c t i o n   -   i t   i s   i m p l e m e n t a t i o n   d e f i n e d   a s   t o   w h e t h e r   t h e   c h a n g e   w i l l   t a k e   e f f e c t   f o r   t h a t   e x i s t i n g   c o n n e c t i o n   o r   n o t .   E x a m p l e :   A   p o l i c y   i s   c r e a t e d   t h a t   l e a d s   t o   d e n y i n g   a   p r e v i o u s l y   a l l o w e d   c o n n e c t i o n ,   t h e   u n d e r l y i n g   n e t w o r k   p l u g i n   i m p l e m e n t a t i o n   i s   r e s p o n s i b l e   f o r   d e f i n i n g   i f   t h a t   n e w   p o l i c y   w i l l   c l o s e   t h e   e x i s t i n g   c o n n e c t i o n s   o r   n o t .   I t   i s   r e c o m m e n d e d   n o t   t o   m o d i f y   p o l i c i e s / p o d s / n a m e s p a c e s   i n   w a y s   t h a t   m i g h t   a f f e c t   e x i s t i n g   c o n n e c t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12288"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   t h e   D e c l a r e   N e t w o r k   P o l i c y   w a l k t h r o u g h   f o r   f u r t h e r   e x a m p l e s . S e e   m o r e   r e c i p e s   f o r   c o m m o n   s c e n a r i o s   e n a b l e d   b y   t h e   N e t w o r k P o l i c y   r e s o u r c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12289"
  },
  {
    "question": "What is 5.7 - DNS for Services and Pods?",
    "answer": "K u b e r n e t e s   c r e a t e s   D N S   r e c o r d s   f o r   S e r v i c e s   a n d   P o d s .   Y o u   c a n   c o n t a c t   S e r v i c e s   w i t h   c o n s i s t e n t   D N S   n a m e s   i n s t e a d   o f   I P   a d d r e s s e s .   K u b e r n e t e s   p u b l i s h e s   i n f o r m a t i o n   a b o u t   P o d s   a n d   S e r v i c e s   w h i c h   i s   u s e d   t o   p r o g r a m   D N S .   k u b e l e t   c o n f i g u r e s   P o d s '   D N S   s o   t h a t   r u n n i n g   c o n t a i n e r s   c a n   l o o k   u p   S e r v i c e s   b y   n a m e   r a t h e r   t h a n   I P .   S e r v i c e s   d e f i n e d   i n   t h e   c l u s t e r   a r e   a s s i g n e d   D N S   n a m e s .   B y   d e f a u l t ,   a   c l i e n t   P o d ' s   D N S   s e a r c h   l i s t   i n c l u d e s   t h e   P o d ' s   o w n   n a m e s p a c e   a n d   t h e   c l u s t e r ' s   d e f a u l t   d o m a i n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12290"
  },
  {
    "question": "What is Namespaces of Services?",
    "answer": "A   D N S   q u e r y   m a y   r e t u r n   d i f f e r e n t   r e s u l t s   b a s e d   o n   t h e   n a m e s p a c e   o f   t h e   P o d   m a k i n g   i t .   D N S   q u e r i e s   t h a t   d o n ' t   s p e c i f y   a   n a m e s p a c e   a r e   l i m i t e d   t o   t h e   P o d ' s   n a m e s p a c e .   A c c e s s   S e r v i c e s   i n   o t h e r   n a m e s p a c e s   b y   s p e c i f y i n g   i t   i n   t h e   D N S   q u e r y .   F o r   e x a m p l e ,   c o n s i d e r   a   P o d   i n   a   t e s t   n a m e s p a c e .   A   d a t a   S e r v i c e   i s   i n   t h e   p r o d   n a m e s p a c e .   A   q u e r y   f o r   d a t a   r e t u r n s   n o   r e s u l t s ,   b e c a u s e   i t   u s e s   t h e   P o d ' s   t e s t   n a m e s p a c e .   A   q u e r y   f o r   d a t a . p r o d   r e t u r n s   t h e   i n t e n d e d   r e s u l t ,   b e c a u s e   i t   s p e c i f i e s   t h e   n a m e s p a c e .   D N S   q u e r i e s   m a y   b e   e x p a n d e d   u s i n g   t h e   P o d ' s   / e t c / r e s o l v . c o n f .   k u b e l e t   c o n f i g u r e s   t h i s   f i l e   f o r   e a c h   P o d .   F o r   e x a m p l e ,   a   q u e r y   f o r   j u s t   d a t a   m a y   b e   e x p a n d e d   t o   d a t a . t e s t . s v c . c l u s t e r . l o c a l .   T h e   v a l u e s   o f   t h e   s e a r c h   o p t i o n   a r e   u s e d   t o   e x p a n d   q u e r i e s .   T o   l e a r n   m o r e   a b o u t   D N S   q u e r i e s ,   s e e   t h e   r e s o l v . c o n f   m a n u a l   p a g e .   n a m e s e r v e r   1 0 . 3 2 . 0 . 1 0   s e a r c h   < n a m e s p a c e > . s v c . c l u s t e r . l o c a l   s v c . c l u s t e r . l o c a l   c l u s t e r . l o c a l   o p t i o n s   n d o t s : 5   I n   s u m m a r y ,   a   P o d   i n   t h e   t e s t   n a m e s p a c e   c a n   s u c c e s s f u l l y   r e s o l v e   e i t h e r   d a t a . p r o d   o r   d a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12291"
  },
  {
    "question": "What is DNS Records?",
    "answer": "W h a t   o b j e c t s   g e t   D N S   r e c o r d s ?   S e r v i c e s P o d s   T h e   f o l l o w i n g   s e c t i o n s   d e t a i l   t h e   s u p p o r t e d   D N S   r e c o r d   t y p e s   a n d   l a y o u t   t h a t   i s   s u p p o r t e d .   A n y   o t h e r   l a y o u t   o r   n a m e s   o r   q u e r i e s   t h a t   h a p p e n   t o   w o r k   a r e   c o n s i d e r e d   i m p l e m e n t a t i o n   d e t a i l s   a n d   a r e   s u b j e c t   t o   c h a n g e   w i t h o u t   w a r n i n g .   F o r   m o r e   u p - t o - d a t e   s p e c i f i c a t i o n ,   s e e   K u b e r n e t e s   D N S - B a s e d   S e r v i c e   D i s c o v e r y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12292"
  },
  {
    "question": "What is A/AAAA records?",
    "answer": "\" N o r m a l \"   ( n o t   h e a d l e s s )   S e r v i c e s   a r e   a s s i g n e d   D N S   A   a n d / o r   A A A A   r e c o r d s ,   d e p e n d i n g   o n   t h e   I P   f a m i l y   o r   f a m i l i e s   o f   t h e   S e r v i c e ,   w i t h   a   n a m e   o f   t h e   f o r m   m y - s v c . m y - n a m e s p a c e . s v c . c l u s t e r - d o m a i n . e x a m p l e .   T h i s   r e s o l v e s   t o   t h e   c l u s t e r   I P   o f   t h e   S e r v i c e .   H e a d l e s s   S e r v i c e s   ( w i t h o u t   a   c l u s t e r   I P )   a r e   a l s o   a s s i g n e d   D N S   A   a n d / o r   A A A A   r e c o r d s ,   w i t h   a   n a m e   o f   t h e   f o r m   m y - s v c . m y - n a m e s p a c e . s v c . c l u s t e r - d o m a i n . e x a m p l e .   U n l i k e   n o r m a l   S e r v i c e s ,   t h i s   r e s o l v e s   t o   t h e   s e t   o f   I P s   o f   a l l   o f   t h e   P o d s   s e l e c t e d   b y   t h e   S e r v i c e .   C l i e n t s   a r e   e x p e c t e d   t o   c o n s u m e   t h e   s e t   o r   e l s e   u s e   s t a n d a r d   r o u n d - r o b i n   s e l e c t i o n   f r o m   t h e   s e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12293"
  },
  {
    "question": "What is SRV records?",
    "answer": "S R V   R e c o r d s   a r e   c r e a t e d   f o r   n a m e d   p o r t s   t h a t   a r e   p a r t   o f   n o r m a l   o r   h e a d l e s s   s e r v i c e s .   F o r   e a c h   n a m e d   p o r t ,   t h e   S R V   r e c o r d   h a s   t h e   f o r m   _ p o r t - n a m e . _ p o r t - p r o t o c o l . m y - s v c . m y - n a m e s p a c e . s v c . c l u s t e r - d o m a i n . e x a m p l e . F o r   a   r e g u l a r   S e r v i c e ,   t h i s   r e s o l v e s   t o   t h e   p o r t   n u m b e r   a n d   t h e   d o m a i n   n a m e :   m y - s v c . m y - n a m e s p a c e . s v c . c l u s t e r - d o m a i n . e x a m p l e . F o r   a   h e a d l e s s   S e r v i c e ,   t h i s   r e s o l v e s   t o   m u l t i p l e   a n s w e r s ,   o n e   f o r   e a c h   P o d   t h a t   i s   b a c k i n g   t h e   S e r v i c e ,   a n d   c o n t a i n s   t h e   p o r t   n u m b e r   a n d   t h e   d o m a i n   n a m e   o f   t h e   P o d   o f   t h e   f o r m   h o s t n a m e . m y - s v c . m y - n a m e s p a c e . s v c . c l u s t e r - d o m a i n . e x a m p l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12294"
  },
  {
    "question": "What is A/AAAA records?",
    "answer": "K u b e - D N S   v e r s i o n s ,   p r i o r   t o   t h e   i m p l e m e n t a t i o n   o f   t h e   D N S   s p e c i f i c a t i o n ,   h a d   t h e   f o l l o w i n g   D N S   r e s o l u t i o n :   < p o d - I P v 4 - a d d r e s s > . < n a m e s p a c e > . p o d . < c l u s t e r - d o m a i n >   F o r   e x a m p l e ,   i f   a   P o d   i n   t h e   d e f a u l t   n a m e s p a c e   h a s   t h e   I P   a d d r e s s   1 7 2 . 1 7 . 0 . 3 ,   a n d   t h e   d o m a i n   n a m e   f o r   y o u r   c l u s t e r   i s   c l u s t e r . l o c a l ,   t h e n   t h e   P o d   h a s   a   D N S   n a m e :   1 7 2 - 1 7 - 0 - 3 . d e f a u l t . p o d . c l u s t e r . l o c a l   S o m e   c l u s t e r   D N S   m e c h a n i s m s ,   l i k e   C o r e D N S ,   a l s o   p r o v i d e   A   r e c o r d s   f o r :   < p o d - i p v 4 - a d d r e s s > . < s e r v i c e - n a m e > . < m y - n a m e s p a c e > . s v c . < c l u s t e r - d o m a i n . e x a m p l e >   F o r   e x a m p l e ,   i f   a   P o d   i n   t h e   c a f e   n a m e s p a c e   h a s   t h e   I P   a d d r e s s   1 7 2 . 1 7 . 0 . 3 ,   i s   a n   e n d p o i n t   o f   a   S e r v i c e   n a m e d   b a r i s t a ,   a n d   t h e   d o m a i n   n a m e   f o r   y o u r   c l u s t e r   i s   c l u s t e r . l o c a l ,   t h e n   t h e   P o d   w o u l d   h a v e   t h i s   s e r v i c e - s c o p e d   D N S   A   r e c o r d .   1 7 2 - 1 7 - 0 - 3 . b a r i s t a . c a f e . s v c . c l u s t e r . l o c a l",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12295"
  },
  {
    "question": "What is Pod's hostname and subdomain fields?",
    "answer": "C u r r e n t l y   w h e n   a   P o d   i s   c r e a t e d ,   i t s   h o s t n a m e   ( a s   o b s e r v e d   f r o m   w i t h i n   t h e   P o d )   i s   t h e   P o d ' s   m e t a d a t a . n a m e   v a l u e .   T h e   P o d   s p e c   h a s   a n   o p t i o n a l   h o s t n a m e   f i e l d ,   w h i c h   c a n   b e   u s e d   t o   s p e c i f y   a   d i f f e r e n t   h o s t n a m e .   W h e n   s p e c i f i e d ,   i t   t a k e s   p r e c e d e n c e   o v e r   t h e   P o d ' s   n a m e   t o   b e   t h e   h o s t n a m e   o f   t h e   P o d   ( a g a i n ,   a s   o b s e r v e d   f r o m   w i t h i n   t h e   P o d ) .   F o r   e x a m p l e ,   g i v e n   a   P o d   w i t h   s p e c . h o s t n a m e   s e t   t o   \" m y - h o s t \" ,   t h e   P o d   w i l l   h a v e   i t s   h o s t n a m e   s e t   t o   \" m y - h o s t \" .   T h e   P o d   s p e c   a l s o   h a s   a n   o p t i o n a l   s u b d o m a i n   f i e l d   w h i c h   c a n   b e   u s e d   t o   i n d i c a t e   t h a t   t h e   p o d   i s   p a r t   o f   s u b - g r o u p   o f   t h e   n a m e s p a c e .   F o r   e x a m p l e ,   a   P o d   w i t h   s p e c . h o s t n a m e   s e t   t o   \" f o o \" ,   a n d   s p e c . s u b d o m a i n   s e t   t o   \" b a r \" ,   i n   n a m e s p a c e   \" m y - n a m e s p a c e \" ,   w i l l   h a v e   i t s   h o s t n a m e   s e t   t o   \" f o o \"   a n d   i t s   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N )   s e t   t o   \" f o o . b a r . m y - n a m e s p a c e . s v c . c l u s t e r . l o c a l \"   ( o n c e   m o r e ,   a s   o b s e r v e d   f r o m   w i t h i n   t h e   P o d ) .   I f   t h e r e   e x i s t s   a   h e a d l e s s   S e r v i c e   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   P o d ,   w i t h   t h e   s a m e   n a m e   a s   t h e   s u b d o m a i n ,   t h e   c l u s t e r ' s   D N S   S e r v e r   a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12296"
  },
  {
    "question": "What is Pod's setHostnameAsFQDN field?",
    "answer": "W h e n   a   P o d   i s   c o n f i g u r e d   t o   h a v e   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N ) ,   i t s   h o s t n a m e   i s   t h e   s h o r t   h o s t n a m e .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   P o d   w i t h   t h e   f u l l y   q u a l i f i e d   d o m a i n   n a m e   b u s y b o x - 1 . b u s y b o x - s u b d o m a i n . m y - n a m e s p a c e . s v c . c l u s t e r - d o m a i n . e x a m p l e ,   t h e n   b y   d e f a u l t   t h e   h o s t n a m e   c o m m a n d   i n s i d e   t h a t   P o d   r e t u r n s   b u s y b o x - 1   a n d   t h e   h o s t n a m e   - - f q d n   c o m m a n d   r e t u r n s   t h e   F Q D N .   W h e n   y o u   s e t   s e t H o s t n a m e A s F Q D N :   t r u e   i n   t h e   P o d   s p e c ,   t h e   k u b e l e t   w r i t e s   t h e   P o d ' s   F Q D N   i n t o   t h e   h o s t n a m e   f o r   t h a t   P o d ' s   n a m e s p a c e .   I n   t h i s   c a s e ,   b o t h   h o s t n a m e   a n d   h o s t n a m e   - - f q d n   r e t u r n   t h e   P o d ' s   F Q D N .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12297"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   L i n u x ,   t h e   h o s t n a m e   f i e l d   o f   t h e   k e r n e l   ( t h e   n o d e n a m e   f i e l d   o f   s t r u c t   u t s n a m e )   i s   l i m i t e d   t o   6 4   c h a r a c t e r s .   I f   a   P o d   e n a b l e s   t h i s   f e a t u r e   a n d   i t s   F Q D N   i s   l o n g e r   t h a n   6 4   c h a r a c t e r ,   i t   w i l l   f a i l   t o   s t a r t .   T h e   P o d   w i l l   r e m a i n   i n   P e n d i n g   s t a t u s   ( C o n t a i n e r C r e a t i n g   a s   s e e n   b y   k u b e c t l )   g e n e r a t i n g   e r r o r   e v e n t s ,   s u c h   a s   F a i l e d   t o   c o n s t r u c t   F Q D N   f r o m   P o d   h o s t n a m e   a n d   c l u s t e r   d o m a i n ,   F Q D N   l o n g - F Q D N   i s   t o o   l o n g   ( 6 4   c h a r a c t e r s   i s   t h e   m a x ,   7 0   c h a r a c t e r s   r e q u e s t e d ) .   O n e   w a y   o f   i m p r o v i n g   u s e r   e x p e r i e n c e   f o r   t h i s   s c e n a r i o   i s   t o   c r e a t e   a n   a d m i s s i o n   w e b h o o k   c o n t r o l l e r   t o   c o n t r o l   F Q D N   s i z e   w h e n   u s e r s   c r e a t e   t o p   l e v e l   o b j e c t s ,   f o r   e x a m p l e ,   D e p l o y m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12298"
  },
  {
    "question": "What is Pod's DNS Policy?",
    "answer": "D N S   p o l i c i e s   c a n   b e   s e t   o n   a   p e r - P o d   b a s i s .   C u r r e n t l y   K u b e r n e t e s   s u p p o r t s   t h e   f o l l o w i n g   P o d - s p e c i f i c   D N S   p o l i c i e s .   T h e s e   p o l i c i e s   a r e   s p e c i f i e d   i n   t h e   d n s P o l i c y   f i e l d   o f   a   P o d   S p e c .   \" D e f a u l t \" :   T h e   P o d   i n h e r i t s   t h e   n a m e   r e s o l u t i o n   c o n f i g u r a t i o n   f r o m   t h e   n o d e   t h a t   t h e   P o d s   r u n   o n .   S e e   r e l a t e d   d i s c u s s i o n   f o r   m o r e   d e t a i l s . \" C l u s t e r F i r s t \" :   A n y   D N S   q u e r y   t h a t   d o e s   n o t   m a t c h   t h e   c o n f i g u r e d   c l u s t e r   d o m a i n   s u f f i x ,   s u c h   a s   \" w w w . k u b e r n e t e s . i o \" ,   i s   f o r w a r d e d   t o   a n   u p s t r e a m   n a m e s e r v e r   b y   t h e   D N S   s e r v e r .   C l u s t e r   a d m i n i s t r a t o r s   m a y   h a v e   e x t r a   s t u b - d o m a i n   a n d   u p s t r e a m   D N S   s e r v e r s   c o n f i g u r e d .   S e e   r e l a t e d   d i s c u s s i o n   f o r   d e t a i l s   o n   h o w   D N S   q u e r i e s   a r e   h a n d l e d   i n   t h o s e   c a s e s . \" C l u s t e r F i r s t W i t h H o s t N e t \" :   F o r   P o d s   r u n n i n g   w i t h   h o s t N e t w o r k ,   y o u   s h o u l d   e x p l i c i t l y   s e t   i t s   D N S   p o l i c y   t o   \" C l u s t e r F i r s t W i t h H o s t N e t \" .   O t h e r w i s e ,   P o d s   r u n n i n g   w i t h   h o s t N e t w o r k   a n d   \" C l u s t e r F i r s t \"   w i l l   f a l l b a c k   t o   t h e   b e h a v i o r   o f   t h e   \" D e f a u l t \"   p o l i c y . N o t e : T h i s   i s   n o t   s u p p o r t e d   o n   W i n d o w s .   S e e   b e l o w   f o r   d e t a i l s . \" N o n e \" :   I t   a l l o w s   a   P o d   t o   i g ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12299"
  },
  {
    "question": "What is Note:?",
    "answer": "\" N o n e \" :   I t   a l l o w s   a   P o d   t o   i g n o r e   D N S   s e t t i n g s   f r o m   t h e   K u b e r n e t e s   e n v i r o n m e n t .   A l l   D N S   s e t t i n g s   a r e   s u p p o s e d   t o   b e   p r o v i d e d   u s i n g   t h e   d n s C o n f i g   f i e l d   i n   t h e   P o d   S p e c .   S e e   P o d ' s   D N S   c o n f i g   s u b s e c t i o n   b e l o w .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12300"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   e x a m p l e   b e l o w   s h o w s   a   P o d   w i t h   i t s   D N S   p o l i c y   s e t   t o   \" C l u s t e r F i r s t W i t h H o s t N e t \"   b e c a u s e   i t   h a s   h o s t N e t w o r k   s e t   t o   t r u e .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   b u s y b o x   n a m e s p a c e :   d e f a u l t   s p e c :   c o n t a i n e r s :   -   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   -   s l e e p   -   \" 3 6 0 0 \"   i m a g e P u l l P o l i c y :   I f N o t P r e s e n t   n a m e :   b u s y b o x   r e s t a r t P o l i c y :   A l w a y s   h o s t N e t w o r k :   t r u e   d n s P o l i c y :   C l u s t e r F i r s t W i t h H o s t N e t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12301"
  },
  {
    "question": "What is Pod's DNS Config?",
    "answer": "P o d ' s   D N S   C o n f i g   a l l o w s   u s e r s   m o r e   c o n t r o l   o n   t h e   D N S   s e t t i n g s   f o r   a   P o d .   T h e   d n s C o n f i g   f i e l d   i s   o p t i o n a l   a n d   i t   c a n   w o r k   w i t h   a n y   d n s P o l i c y   s e t t i n g s .   H o w e v e r ,   w h e n   a   P o d ' s   d n s P o l i c y   i s   s e t   t o   \" N o n e \" ,   t h e   d n s C o n f i g   f i e l d   h a s   t o   b e   s p e c i f i e d .   B e l o w   a r e   t h e   p r o p e r t i e s   a   u s e r   c a n   s p e c i f y   i n   t h e   d n s C o n f i g   f i e l d :   n a m e s e r v e r s :   a   l i s t   o f   I P   a d d r e s s e s   t h a t   w i l l   b e   u s e d   a s   D N S   s e r v e r s   f o r   t h e   P o d .   T h e r e   c a n   b e   a t   m o s t   3   I P   a d d r e s s e s   s p e c i f i e d .   W h e n   t h e   P o d ' s   d n s P o l i c y   i s   s e t   t o   \" N o n e \" ,   t h e   l i s t   m u s t   c o n t a i n   a t   l e a s t   o n e   I P   a d d r e s s ,   o t h e r w i s e   t h i s   p r o p e r t y   i s   o p t i o n a l .   T h e   s e r v e r s   l i s t e d   w i l l   b e   c o m b i n e d   t o   t h e   b a s e   n a m e s e r v e r s   g e n e r a t e d   f r o m   t h e   s p e c i f i e d   D N S   p o l i c y   w i t h   d u p l i c a t e   a d d r e s s e s   r e m o v e d . s e a r c h e s :   a   l i s t   o f   D N S   s e a r c h   d o m a i n s   f o r   h o s t n a m e   l o o k u p   i n   t h e   P o d .   T h i s   p r o p e r t y   i s   o p t i o n a l .   W h e n   s p e c i f i e d ,   t h e   p r o v i d e d   l i s t   w i l l   b e   m e r g e d   i n t o   t h e   b a s e   s e a r c h   d o m a i n   n a m e s   g e n e r a t e d   f r o m   t h e   c h o s e n   D N S   p o l i c y .   D u p l i c a t e   d o m a i n   n a m e s   a r e   r e m o v e d .   K u b e r n e t e s   a l l o w s   u p   t o   3 2   s e a r c h   d o m a i n s . o p t i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12302"
  },
  {
    "question": "What is DNS search domain list limits?",
    "answer": "K u b e r n e t e s   i t s e l f   d o e s   n o t   l i m i t   t h e   D N S   C o n f i g   u n t i l   t h e   l e n g t h   o f   t h e   s e a r c h   d o m a i n   l i s t   e x c e e d s   3 2   o r   t h e   t o t a l   l e n g t h   o f   a l l   s e a r c h   d o m a i n s   e x c e e d s   2 0 4 8 .   T h i s   l i m i t   a p p l i e s   t o   t h e   n o d e ' s   r e s o l v e r   c o n f i g u r a t i o n   f i l e ,   t h e   P o d ' s   D N S   C o n f i g ,   a n d   t h e   m e r g e d   D N S   C o n f i g   r e s p e c t i v e l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12303"
  },
  {
    "question": "What is Note:?",
    "answer": "S o m e   c o n t a i n e r   r u n t i m e s   o f   e a r l i e r   v e r s i o n s   m a y   h a v e   t h e i r   o w n   r e s t r i c t i o n s   o n   t h e   n u m b e r   o f   D N S   s e a r c h   d o m a i n s .   D e p e n d i n g   o n   t h e   c o n t a i n e r   r u n t i m e   e n v i r o n m e n t ,   t h e   p o d s   w i t h   a   l a r g e   n u m b e r   o f   D N S   s e a r c h   d o m a i n s   m a y   g e t   s t u c k   i n   t h e   p e n d i n g   s t a t e .   I t   i s   k n o w n   t h a t   c o n t a i n e r d   v 1 . 5 . 5   o r   e a r l i e r   a n d   C R I - O   v 1 . 2 1   o r   e a r l i e r   h a v e   t h i s   p r o b l e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12304"
  },
  {
    "question": "What is DNS resolution on Windows nodes?",
    "answer": "C l u s t e r F i r s t W i t h H o s t N e t   i s   n o t   s u p p o r t e d   f o r   P o d s   t h a t   r u n   o n   W i n d o w s   n o d e s .   W i n d o w s   t r e a t s   a l l   n a m e s   w i t h   a   .   a s   a   F Q D N   a n d   s k i p s   F Q D N   r e s o l u t i o n . O n   W i n d o w s ,   t h e r e   a r e   m u l t i p l e   D N S   r e s o l v e r s   t h a t   c a n   b e   u s e d .   A s   t h e s e   c o m e   w i t h   s l i g h t l y   d i f f e r e n t   b e h a v i o r s ,   u s i n g   t h e   R e s o l v e - D N S N a m e   p o w e r s h e l l   c m d l e t   f o r   n a m e   q u e r y   r e s o l u t i o n s   i s   r e c o m m e n d e d . O n   L i n u x ,   y o u   h a v e   a   D N S   s u f f i x   l i s t ,   w h i c h   i s   u s e d   a f t e r   r e s o l u t i o n   o f   a   n a m e   a s   f u l l y   q u a l i f i e d   h a s   f a i l e d .   O n   W i n d o w s ,   y o u   c a n   o n l y   h a v e   1   D N S   s u f f i x ,   w h i c h   i s   t h e   D N S   s u f f i x   a s s o c i a t e d   w i t h   t h a t   P o d ' s   n a m e s p a c e   ( e x a m p l e :   m y d n s . s v c . c l u s t e r . l o c a l ) .   W i n d o w s   c a n   r e s o l v e   F Q D N s ,   S e r v i c e s ,   o r   n e t w o r k   n a m e   w h i c h   c a n   b e   r e s o l v e d   w i t h   t h i s   s i n g l e   s u f f i x .   F o r   e x a m p l e ,   a   P o d   s p a w n e d   i n   t h e   d e f a u l t   n a m e s p a c e ,   w i l l   h a v e   t h e   D N S   s u f f i x   d e f a u l t . s v c . c l u s t e r . l o c a l .   I n s i d e   a   W i n d o w s   P o d ,   y o u   c a n   r e s o l v e   b o t h   k u b e r n e t e s . d e f a u l t . s v c . c l u s t e r . l o c a l   a n d   k u b e r n e t e s ,   b u t   n o t   t h e   p a r t i a l l y   q u a l i f i e d   n a m e s   ( k u b e r n e t e s . d e f a u l t   o r   k u b e r n e t e s . d e f a u l t . s v c ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12305"
  },
  {
    "question": "What is What's next?",
    "answer": "F o r   g u i d a n c e   o n   a d m i n i s t e r i n g   D N S   c o n f i g u r a t i o n s ,   c h e c k   C o n f i g u r e   D N S   S e r v i c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12306"
  },
  {
    "question": "What is 5.8 - IPv4/IPv6 dual-stack?",
    "answer": "I P v 4 / I P v 6   d u a l - s t a c k   n e t w o r k i n g   e n a b l e s   t h e   a l l o c a t i o n   o f   b o t h   I P v 4   a n d   I P v 6   a d d r e s s e s   t o   P o d s   a n d   S e r v i c e s .   I P v 4 / I P v 6   d u a l - s t a c k   n e t w o r k i n g   i s   e n a b l e d   b y   d e f a u l t   f o r   y o u r   K u b e r n e t e s   c l u s t e r   s t a r t i n g   i n   1 . 2 1 ,   a l l o w i n g   t h e   s i m u l t a n e o u s   a s s i g n m e n t   o f   b o t h   I P v 4   a n d   I P v 6   a d d r e s s e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12307"
  },
  {
    "question": "What is Supported Features?",
    "answer": "I P v 4 / I P v 6   d u a l - s t a c k   o n   y o u r   K u b e r n e t e s   c l u s t e r   p r o v i d e s   t h e   f o l l o w i n g   f e a t u r e s :   D u a l - s t a c k   P o d   n e t w o r k i n g   ( a   s i n g l e   I P v 4   a n d   I P v 6   a d d r e s s   a s s i g n m e n t   p e r   P o d ) I P v 4   a n d   I P v 6   e n a b l e d   S e r v i c e s P o d   o f f - c l u s t e r   e g r e s s   r o u t i n g   ( e g .   t h e   I n t e r n e t )   v i a   b o t h   I P v 4   a n d   I P v 6   i n t e r f a c e s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12308"
  },
  {
    "question": "What is Prerequisites?",
    "answer": "T h e   f o l l o w i n g   p r e r e q u i s i t e s   a r e   n e e d e d   i n   o r d e r   t o   u t i l i z e   I P v 4 / I P v 6   d u a l - s t a c k   K u b e r n e t e s   c l u s t e r s :   K u b e r n e t e s   1 . 2 0   o r   l a t e r F o r   i n f o r m a t i o n   a b o u t   u s i n g   d u a l - s t a c k   s e r v i c e s   w i t h   e a r l i e r   K u b e r n e t e s   v e r s i o n s ,   r e f e r   t o   t h e   d o c u m e n t a t i o n   f o r   t h a t   v e r s i o n   o f   K u b e r n e t e s . P r o v i d e r   s u p p o r t   f o r   d u a l - s t a c k   n e t w o r k i n g   ( C l o u d   p r o v i d e r   o r   o t h e r w i s e   m u s t   b e   a b l e   t o   p r o v i d e   K u b e r n e t e s   n o d e s   w i t h   r o u t a b l e   I P v 4 / I P v 6   n e t w o r k   i n t e r f a c e s ) A   n e t w o r k   p l u g i n   t h a t   s u p p o r t s   d u a l - s t a c k   n e t w o r k i n g .   K u b e r n e t e s   1 . 2 0   o r   l a t e r   F o r   i n f o r m a t i o n   a b o u t   u s i n g   d u a l - s t a c k   s e r v i c e s   w i t h   e a r l i e r   K u b e r n e t e s   v e r s i o n s ,   r e f e r   t o   t h e   d o c u m e n t a t i o n   f o r   t h a t   v e r s i o n   o f   K u b e r n e t e s .   P r o v i d e r   s u p p o r t   f o r   d u a l - s t a c k   n e t w o r k i n g   ( C l o u d   p r o v i d e r   o r   o t h e r w i s e   m u s t   b e   a b l e   t o   p r o v i d e   K u b e r n e t e s   n o d e s   w i t h   r o u t a b l e   I P v 4 / I P v 6   n e t w o r k   i n t e r f a c e s )   A   n e t w o r k   p l u g i n   t h a t   s u p p o r t s   d u a l - s t a c k   n e t w o r k i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12309"
  },
  {
    "question": "What is Configure IPv4/IPv6 dual-stack?",
    "answer": "T o   c o n f i g u r e   I P v 4 / I P v 6   d u a l - s t a c k ,   s e t   d u a l - s t a c k   c l u s t e r   n e t w o r k   a s s i g n m e n t s :   k u b e - a p i s e r v e r : - - s e r v i c e - c l u s t e r - i p - r a n g e = < I P v 4   C I D R > , < I P v 6   C I D R > k u b e - c o n t r o l l e r - m a n a g e r : - - c l u s t e r - c i d r = < I P v 4   C I D R > , < I P v 6   C I D R > - - s e r v i c e - c l u s t e r - i p - r a n g e = < I P v 4   C I D R > , < I P v 6   C I D R > - - n o d e - c i d r - m a s k - s i z e - i p v 4 | - - n o d e - c i d r - m a s k - s i z e - i p v 6   d e f a u l t s   t o   / 2 4   f o r   I P v 4   a n d   / 6 4   f o r   I P v 6 k u b e - p r o x y : - - c l u s t e r - c i d r = < I P v 4   C I D R > , < I P v 6   C I D R > k u b e l e t : - - n o d e - i p = < I P v 4   I P > , < I P v 6   I P > T h i s   o p t i o n   i s   r e q u i r e d   f o r   b a r e   m e t a l   d u a l - s t a c k   n o d e s   ( n o d e s   t h a t   d o   n o t   d e f i n e   a   c l o u d   p r o v i d e r   w i t h   t h e   - - c l o u d - p r o v i d e r   f l a g ) .   I f   y o u   a r e   u s i n g   a   c l o u d   p r o v i d e r   a n d   c h o o s e   t o   o v e r r i d e   t h e   n o d e   I P s   c h o s e n   b y   t h e   c l o u d   p r o v i d e r ,   s e t   t h e   - - n o d e - i p   o p t i o n . ( T h e   l e g a c y   b u i l t - i n   c l o u d   p r o v i d e r s   d o   n o t   s u p p o r t   d u a l - s t a c k   - - n o d e - i p . )   - - s e r v i c e - c l u s t e r - i p - r a n g e = < I P v 4   C I D R > , < I P v 6   C I D R >   - - c l u s t e r - c i d r = < I P v 4   C I D R > , < I P v 6   C I D R > - - s e r v i c e - c l u s t e r - i p - r a n g e = < I P v 4   C I D R > , < I P v 6   C I D R > - - n o d e - c i d r - m a s k - s i z e - i p v 4 | - - n o d e - c i d r - m a s k - s i z e - i p v 6   d e f a u l t s   t o   / 2 4   f o r   I P v 4   a n d   / 6 4   f o r   I ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12310"
  },
  {
    "question": "What is Note:?",
    "answer": "A n   e x a m p l e   o f   a n   I P v 4   C I D R :   1 0 . 2 4 4 . 0 . 0 / 1 6   ( t h o u g h   y o u   w o u l d   s u p p l y   y o u r   o w n   a d d r e s s   r a n g e )   A n   e x a m p l e   o f   a n   I P v 6   C I D R :   f d X Y : I J K L : M N O P : 1 5 : : / 6 4   ( t h i s   s h o w s   t h e   f o r m a t   b u t   i s   n o t   a   v a l i d   a d d r e s s   -   s e e   R F C   4 1 9 3 )",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12311"
  },
  {
    "question": "What is Services?",
    "answer": "Y o u   c a n   c r e a t e   S e r v i c e s   w h i c h   c a n   u s e   I P v 4 ,   I P v 6 ,   o r   b o t h .   T h e   a d d r e s s   f a m i l y   o f   a   S e r v i c e   d e f a u l t s   t o   t h e   a d d r e s s   f a m i l y   o f   t h e   f i r s t   s e r v i c e   c l u s t e r   I P   r a n g e   ( c o n f i g u r e d   v i a   t h e   - - s e r v i c e - c l u s t e r - i p - r a n g e   f l a g   t o   t h e   k u b e - a p i s e r v e r ) .   W h e n   y o u   d e f i n e   a   S e r v i c e   y o u   c a n   o p t i o n a l l y   c o n f i g u r e   i t   a s   d u a l   s t a c k .   T o   s p e c i f y   t h e   b e h a v i o r   y o u   w a n t ,   y o u   s e t   t h e   . s p e c . i p F a m i l y P o l i c y   f i e l d   t o   o n e   o f   t h e   f o l l o w i n g   v a l u e s :   S i n g l e S t a c k :   S i n g l e - s t a c k   s e r v i c e .   T h e   c o n t r o l   p l a n e   a l l o c a t e s   a   c l u s t e r   I P   f o r   t h e   S e r v i c e ,   u s i n g   t h e   f i r s t   c o n f i g u r e d   s e r v i c e   c l u s t e r   I P   r a n g e . P r e f e r D u a l S t a c k :   A l l o c a t e s   b o t h   I P v 4   a n d   I P v 6   c l u s t e r   I P s   f o r   t h e   S e r v i c e   w h e n   d u a l - s t a c k   i s   e n a b l e d .   I f   d u a l - s t a c k   i s   n o t   e n a b l e d   o r   s u p p o r t e d ,   i t   f a l l s   b a c k   t o   s i n g l e - s t a c k   b e h a v i o r . R e q u i r e D u a l S t a c k :   A l l o c a t e s   S e r v i c e   . s p e c . c l u s t e r I P s   f r o m   b o t h   I P v 4   a n d   I P v 6   a d d r e s s   r a n g e s   w h e n   d u a l - s t a c k   i s   e n a b l e d .   I f   d u a l - s t a c k   i s   n o t   e n a b l e d   o r   s u p p o r t e d ,   t h e   S e r v i c e   A P I   o b j e c t   c r e a t i o n   f a i l s . S e l e c t s   t h e   . s p e c . c l u s t e r I P   f r o m   t h e   l i s t   o f   . s p e c . c l u s t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12312"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   s e t   . s p e c . i p F a m i l i e s   t o   a n y   o f   t h e   f o l l o w i n g   a r r a y   v a l u e s :   [ \" I P v 4 \" ] [ \" I P v 6 \" ] [ \" I P v 4 \" , \" I P v 6 \" ]   ( d u a l   s t a c k ) [ \" I P v 6 \" , \" I P v 4 \" ]   ( d u a l   s t a c k )   T h e   f i r s t   f a m i l y   y o u   l i s t   i s   u s e d   f o r   t h e   l e g a c y   . s p e c . c l u s t e r I P   f i e l d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12313"
  },
  {
    "question": "What is Dual-stack Service configuration scenarios?",
    "answer": "T h e s e   e x a m p l e s   d e m o n s t r a t e   t h e   b e h a v i o r   o f   v a r i o u s   d u a l - s t a c k   S e r v i c e   c o n f i g u r a t i o n   s c e n a r i o s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12314"
  },
  {
    "question": "What is Dual-stack options on new Services?",
    "answer": "T h i s   S e r v i c e   s p e c i f i c a t i o n   d o e s   n o t   e x p l i c i t l y   d e f i n e   . s p e c . i p F a m i l y P o l i c y .   W h e n   y o u   c r e a t e   t h i s   S e r v i c e ,   K u b e r n e t e s   a s s i g n s   a   c l u s t e r   I P   f o r   t h e   S e r v i c e   f r o m   t h e   f i r s t   c o n f i g u r e d   s e r v i c e - c l u s t e r - i p - r a n g e   a n d   s e t s   t h e   . s p e c . i p F a m i l y P o l i c y   t o   S i n g l e S t a c k .   ( S e r v i c e s   w i t h o u t   s e l e c t o r s   a n d   h e a d l e s s   S e r v i c e s   w i t h   s e l e c t o r s   w i l l   b e h a v e   i n   t h i s   s a m e   w a y . ) s e r v i c e / n e t w o r k i n g / d u a l - s t a c k - d e f a u l t - s v c . y a m l   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   s p e c :   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   8 0   T h i s   S e r v i c e   s p e c i f i c a t i o n   e x p l i c i t l y   d e f i n e s   P r e f e r D u a l S t a c k   i n   . s p e c . i p F a m i l y P o l i c y .   W h e n   y o u   c r e a t e   t h i s   S e r v i c e   o n   a   d u a l - s t a c k   c l u s t e r ,   K u b e r n e t e s   a s s i g n s   b o t h   I P v 4   a n d   I P v 6   a d d r e s s e s   f o r   t h e   s e r v i c e .   T h e   c o n t r o l   p l a n e   u p d a t e s   t h e   . s p e c   f o r   t h e   S e r v i c e   t o   r e c o r d   t h e   I P   a d d r e s s   a s s i g n m e n t s .   T h e   f i e l d   . s p e c . c l u s t e r I P s   i s   t h e   p r i m a r y   f i e l d ,   a n d   c o n t a i n s   b o t h   a s s i g n e d   I P   a d d r e s s e s ;   . s p e c . c l u s t e r I P   i s   a   s e c o n d a r y   f i e l d   w i t h   i t s ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12315"
  },
  {
    "question": "What is Dual-stack defaults on existing Services?",
    "answer": "T h e s e   e x a m p l e s   d e m o n s t r a t e   t h e   d e f a u l t   b e h a v i o r   w h e n   d u a l - s t a c k   i s   n e w l y   e n a b l e d   o n   a   c l u s t e r   w h e r e   S e r v i c e s   a l r e a d y   e x i s t .   ( U p g r a d i n g   a n   e x i s t i n g   c l u s t e r   t o   1 . 2 1   o r   b e y o n d   w i l l   e n a b l e   d u a l - s t a c k . )   W h e n   d u a l - s t a c k   i s   e n a b l e d   o n   a   c l u s t e r ,   e x i s t i n g   S e r v i c e s   ( w h e t h e r   I P v 4   o r   I P v 6 )   a r e   c o n f i g u r e d   b y   t h e   c o n t r o l   p l a n e   t o   s e t   . s p e c . i p F a m i l y P o l i c y   t o   S i n g l e S t a c k   a n d   s e t   . s p e c . i p F a m i l i e s   t o   t h e   a d d r e s s   f a m i l y   o f   t h e   e x i s t i n g   S e r v i c e .   T h e   e x i s t i n g   S e r v i c e   c l u s t e r   I P   w i l l   b e   s t o r e d   i n   . s p e c . c l u s t e r I P s . s e r v i c e / n e t w o r k i n g / d u a l - s t a c k - d e f a u l t - s v c . y a m l   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   s p e c :   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   8 0   Y o u   c a n   v a l i d a t e   t h i s   b e h a v i o r   b y   u s i n g   k u b e c t l   t o   i n s p e c t   a n   e x i s t i n g   s e r v i c e . k u b e c t l   g e t   s v c   m y - s e r v i c e   - o   y a m l   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   n a m e :   m y - s e r v i c e   s p e c :   c l u s t e r I P :   1 0 . 0 . 1 9 7 . 1 2 3   c l u s t e r I P s :   -   1 0 . 0 . 1 9 7 . 1 2 3   i p F a m i l i e s :   -   I P v 4 ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12316"
  },
  {
    "question": "What is Switching Services between single-stack and dual-stack?",
    "answer": "S e r v i c e s   c a n   b e   c h a n g e d   f r o m   s i n g l e - s t a c k   t o   d u a l - s t a c k   a n d   f r o m   d u a l - s t a c k   t o   s i n g l e - s t a c k .   T o   c h a n g e   a   S e r v i c e   f r o m   s i n g l e - s t a c k   t o   d u a l - s t a c k ,   c h a n g e   . s p e c . i p F a m i l y P o l i c y   f r o m   S i n g l e S t a c k   t o   P r e f e r D u a l S t a c k   o r   R e q u i r e D u a l S t a c k   a s   d e s i r e d .   W h e n   y o u   c h a n g e   t h i s   S e r v i c e   f r o m   s i n g l e - s t a c k   t o   d u a l - s t a c k ,   K u b e r n e t e s   a s s i g n s   t h e   m i s s i n g   a d d r e s s   f a m i l y   s o   t h a t   t h e   S e r v i c e   n o w   h a s   I P v 4   a n d   I P v 6   a d d r e s s e s . E d i t   t h e   S e r v i c e   s p e c i f i c a t i o n   u p d a t i n g   t h e   . s p e c . i p F a m i l y P o l i c y   f r o m   S i n g l e S t a c k   t o   P r e f e r D u a l S t a c k . B e f o r e : s p e c :   i p F a m i l y P o l i c y :   S i n g l e S t a c k   A f t e r : s p e c :   i p F a m i l y P o l i c y :   P r e f e r D u a l S t a c k   T o   c h a n g e   a   S e r v i c e   f r o m   d u a l - s t a c k   t o   s i n g l e - s t a c k ,   c h a n g e   . s p e c . i p F a m i l y P o l i c y   f r o m   P r e f e r D u a l S t a c k   o r   R e q u i r e D u a l S t a c k   t o   S i n g l e S t a c k .   W h e n   y o u   c h a n g e   t h i s   S e r v i c e   f r o m   d u a l - s t a c k   t o   s i n g l e - s t a c k ,   K u b e r n e t e s   r e t a i n s   o n l y   t h e   f i r s t   e l e m e n t   i n   t h e   . s p e c . c l u s t e r I P s   a r r a y ,   a n d   s e t s   . s p e c . c l u s t e r I P   t o   t h a t   I P   a d d r e s s   a n d   s e t s   . s p e c . i p F a m i l i e s   t o   t h e   a d d r e s s   f a m i l y   o f   . s p e c . c l u s t e r I P s .   T o   c h a n g e   a   S e r v i c e   f r o m   s ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12317"
  },
  {
    "question": "What is Headless Services without selector?",
    "answer": "F o r   H e a d l e s s   S e r v i c e s   w i t h o u t   s e l e c t o r s   a n d   w i t h o u t   . s p e c . i p F a m i l y P o l i c y   e x p l i c i t l y   s e t ,   t h e   . s p e c . i p F a m i l y P o l i c y   f i e l d   d e f a u l t s   t o   R e q u i r e D u a l S t a c k .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12318"
  },
  {
    "question": "What is Service type LoadBalancer?",
    "answer": "T o   p r o v i s i o n   a   d u a l - s t a c k   l o a d   b a l a n c e r   f o r   y o u r   S e r v i c e :   S e t   t h e   . s p e c . t y p e   f i e l d   t o   L o a d B a l a n c e r S e t   . s p e c . i p F a m i l y P o l i c y   f i e l d   t o   P r e f e r D u a l S t a c k   o r   R e q u i r e D u a l S t a c k",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12319"
  },
  {
    "question": "What is Egress traffic?",
    "answer": "I f   y o u   w a n t   t o   e n a b l e   e g r e s s   t r a f f i c   i n   o r d e r   t o   r e a c h   o f f - c l u s t e r   d e s t i n a t i o n s   ( e g .   t h e   p u b l i c   I n t e r n e t )   f r o m   a   P o d   t h a t   u s e s   n o n - p u b l i c l y   r o u t a b l e   I P v 6   a d d r e s s e s ,   y o u   n e e d   t o   e n a b l e   t h e   P o d   t o   u s e   a   p u b l i c l y   r o u t e d   I P v 6   a d d r e s s   v i a   a   m e c h a n i s m   s u c h   a s   t r a n s p a r e n t   p r o x y i n g   o r   I P   m a s q u e r a d i n g .   T h e   i p - m a s q - a g e n t   p r o j e c t   s u p p o r t s   I P   m a s q u e r a d i n g   o n   d u a l - s t a c k   c l u s t e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12320"
  },
  {
    "question": "What is Windows support?",
    "answer": "K u b e r n e t e s   o n   W i n d o w s   d o e s   n o t   s u p p o r t   s i n g l e - s t a c k   \" I P v 6 - o n l y \"   n e t w o r k i n g .   H o w e v e r ,   d u a l - s t a c k   I P v 4 / I P v 6   n e t w o r k i n g   f o r   p o d s   a n d   n o d e s   w i t h   s i n g l e - f a m i l y   s e r v i c e s   i s   s u p p o r t e d .   Y o u   c a n   u s e   I P v 4 / I P v 6   d u a l - s t a c k   n e t w o r k i n g   w i t h   l 2 b r i d g e   n e t w o r k s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12321"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   r e a d   m o r e   a b o u t   t h e   d i f f e r e n t   n e t w o r k   m o d e s   f o r   W i n d o w s   w i t h i n   t h e   N e t w o r k i n g   o n   W i n d o w s   t o p i c .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12322"
  },
  {
    "question": "What is What's next?",
    "answer": "V a l i d a t e   I P v 4 / I P v 6   d u a l - s t a c k   n e t w o r k i n g E n a b l e   d u a l - s t a c k   n e t w o r k i n g   u s i n g   k u b e a d m",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12323"
  },
  {
    "question": "What is Note:?",
    "answer": "T o p o l o g y   A w a r e   R o u t i n g   a d j u s t s   r o u t i n g   b e h a v i o r   t o   p r e f e r   k e e p i n g   t r a f f i c   i n   t h e   z o n e   i t   o r i g i n a t e d   f r o m .   I n   s o m e   c a s e s   t h i s   c a n   h e l p   r e d u c e   c o s t s   o r   i m p r o v e   n e t w o r k   p e r f o r m a n c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12324"
  },
  {
    "question": "What is Motivation?",
    "answer": "K u b e r n e t e s   c l u s t e r s   a r e   i n c r e a s i n g l y   d e p l o y e d   i n   m u l t i - z o n e   e n v i r o n m e n t s .   T o p o l o g y   A w a r e   R o u t i n g   p r o v i d e s   a   m e c h a n i s m   t o   h e l p   k e e p   t r a f f i c   w i t h i n   t h e   z o n e   i t   o r i g i n a t e d   f r o m .   W h e n   c a l c u l a t i n g   t h e   e n d p o i n t s   f o r   a   S e r v i c e ,   t h e   E n d p o i n t S l i c e   c o n t r o l l e r   c o n s i d e r s   t h e   t o p o l o g y   ( r e g i o n   a n d   z o n e )   o f   e a c h   e n d p o i n t   a n d   p o p u l a t e s   t h e   h i n t s   f i e l d   t o   a l l o c a t e   i t   t o   a   z o n e .   C l u s t e r   c o m p o n e n t s   s u c h   a s   k u b e - p r o x y   c a n   t h e n   c o n s u m e   t h o s e   h i n t s ,   a n d   u s e   t h e m   t o   i n f l u e n c e   h o w   t h e   t r a f f i c   i s   r o u t e d   ( f a v o r i n g   t o p o l o g i c a l l y   c l o s e r   e n d p o i n t s ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12325"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   e n a b l e   T o p o l o g y   A w a r e   R o u t i n g   f o r   a   S e r v i c e   b y   s e t t i n g   t h e   s e r v i c e . k u b e r n e t e s . i o / t o p o l o g y - m o d e   a n n o t a t i o n   t o   A u t o .   W h e n   t h e r e   a r e   e n o u g h   e n d p o i n t s   a v a i l a b l e   i n   e a c h   z o n e ,   T o p o l o g y   H i n t s   w i l l   b e   p o p u l a t e d   o n   E n d p o i n t S l i c e s   t o   a l l o c a t e   i n d i v i d u a l   e n d p o i n t s   t o   s p e c i f i c   z o n e s ,   r e s u l t i n g   i n   t r a f f i c   b e i n g   r o u t e d   c l o s e r   t o   w h e r e   i t   o r i g i n a t e d   f r o m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12326"
  },
  {
    "question": "What is When it works best?",
    "answer": "T h i s   f e a t u r e   w o r k s   b e s t   w h e n :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12327"
  },
  {
    "question": "What is 1. Incoming traffic is evenly distributed?",
    "answer": "I f   a   l a r g e   p r o p o r t i o n   o f   t r a f f i c   i s   o r i g i n a t i n g   f r o m   a   s i n g l e   z o n e ,   t h a t   t r a f f i c   c o u l d   o v e r l o a d   t h e   s u b s e t   o f   e n d p o i n t s   t h a t   h a v e   b e e n   a l l o c a t e d   t o   t h a t   z o n e .   T h i s   f e a t u r e   i s   n o t   r e c o m m e n d e d   w h e n   i n c o m i n g   t r a f f i c   i s   e x p e c t e d   t o   o r i g i n a t e   f r o m   a   s i n g l e   z o n e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12328"
  },
  {
    "question": "What is 2. The Service has 3 or more endpoints per zone?",
    "answer": "I n   a   t h r e e   z o n e   c l u s t e r ,   t h i s   m e a n s   9   o r   m o r e   e n d p o i n t s .   I f   t h e r e   a r e   f e w e r   t h a n   3   e n d p o i n t s   p e r   z o n e ,   t h e r e   i s   a   h i g h   ( ≈ 5 0 % )   p r o b a b i l i t y   t h a t   t h e   E n d p o i n t S l i c e   c o n t r o l l e r   w i l l   n o t   b e   a b l e   t o   a l l o c a t e   e n d p o i n t s   e v e n l y   a n d   i n s t e a d   w i l l   f a l l   b a c k   t o   t h e   d e f a u l t   c l u s t e r - w i d e   r o u t i n g   a p p r o a c h .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12329"
  },
  {
    "question": "What is How It Works?",
    "answer": "T h e   \" A u t o \"   h e u r i s t i c   a t t e m p t s   t o   p r o p o r t i o n a l l y   a l l o c a t e   a   n u m b e r   o f   e n d p o i n t s   t o   e a c h   z o n e .   N o t e   t h a t   t h i s   h e u r i s t i c   w o r k s   b e s t   f o r   S e r v i c e s   t h a t   h a v e   a   s i g n i f i c a n t   n u m b e r   o f   e n d p o i n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12330"
  },
  {
    "question": "What is EndpointSlice controller?",
    "answer": "T h e   E n d p o i n t S l i c e   c o n t r o l l e r   i s   r e s p o n s i b l e   f o r   s e t t i n g   h i n t s   o n   E n d p o i n t S l i c e s   w h e n   t h i s   h e u r i s t i c   i s   e n a b l e d .   T h e   c o n t r o l l e r   a l l o c a t e s   a   p r o p o r t i o n a l   a m o u n t   o f   e n d p o i n t s   t o   e a c h   z o n e .   T h i s   p r o p o r t i o n   i s   b a s e d   o n   t h e   a l l o c a t a b l e   C P U   c o r e s   f o r   n o d e s   r u n n i n g   i n   t h a t   z o n e .   F o r   e x a m p l e ,   i f   o n e   z o n e   h a d   2   C P U   c o r e s   a n d   a n o t h e r   z o n e   o n l y   h a d   1   C P U   c o r e ,   t h e   c o n t r o l l e r   w o u l d   a l l o c a t e   t w i c e   a s   m a n y   e n d p o i n t s   t o   t h e   z o n e   w i t h   2   C P U   c o r e s .   T h e   f o l l o w i n g   e x a m p l e   s h o w s   w h a t   a n   E n d p o i n t S l i c e   l o o k s   l i k e   w h e n   h i n t s   h a v e   b e e n   p o p u l a t e d :   a p i V e r s i o n :   d i s c o v e r y . k 8 s . i o / v 1   k i n d :   E n d p o i n t S l i c e   m e t a d a t a :   n a m e :   e x a m p l e - h i n t s   l a b e l s :   k u b e r n e t e s . i o / s e r v i c e - n a m e :   e x a m p l e - s v c   a d d r e s s T y p e :   I P v 4   p o r t s :   -   n a m e :   h t t p   p r o t o c o l :   T C P   p o r t :   8 0   e n d p o i n t s :   -   a d d r e s s e s :   -   \" 1 0 . 1 . 2 . 3 \"   c o n d i t i o n s :   r e a d y :   t r u e   h o s t n a m e :   p o d - 1   z o n e :   z o n e - a   h i n t s :   f o r Z o n e s :   -   n a m e :   \" z o n e - a \"",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12331"
  },
  {
    "question": "What is kube-proxy?",
    "answer": "T h e   k u b e - p r o x y   c o m p o n e n t   f i l t e r s   t h e   e n d p o i n t s   i t   r o u t e s   t o   b a s e d   o n   t h e   h i n t s   s e t   b y   t h e   E n d p o i n t S l i c e   c o n t r o l l e r .   I n   m o s t   c a s e s ,   t h i s   m e a n s   t h a t   t h e   k u b e - p r o x y   i s   a b l e   t o   r o u t e   t r a f f i c   t o   e n d p o i n t s   i n   t h e   s a m e   z o n e .   S o m e t i m e s   t h e   c o n t r o l l e r   a l l o c a t e s   e n d p o i n t s   f r o m   a   d i f f e r e n t   z o n e   t o   e n s u r e   m o r e   e v e n   d i s t r i b u t i o n   o f   e n d p o i n t s   b e t w e e n   z o n e s .   T h i s   w o u l d   r e s u l t   i n   s o m e   t r a f f i c   b e i n g   r o u t e d   t o   o t h e r   z o n e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12332"
  },
  {
    "question": "What is Safeguards?",
    "answer": "T h e   K u b e r n e t e s   c o n t r o l   p l a n e   a n d   t h e   k u b e - p r o x y   o n   e a c h   n o d e   a p p l y   s o m e   s a f e g u a r d   r u l e s   b e f o r e   u s i n g   T o p o l o g y   A w a r e   H i n t s .   I f   t h e s e   d o n ' t   c h e c k   o u t ,   t h e   k u b e - p r o x y   s e l e c t s   e n d p o i n t s   f r o m   a n y w h e r e   i n   y o u r   c l u s t e r ,   r e g a r d l e s s   o f   t h e   z o n e .   I n s u f f i c i e n t   n u m b e r   o f   e n d p o i n t s :   I f   t h e r e   a r e   l e s s   e n d p o i n t s   t h a n   z o n e s   i n   a   c l u s t e r ,   t h e   c o n t r o l l e r   w i l l   n o t   a s s i g n   a n y   h i n t s . I m p o s s i b l e   t o   a c h i e v e   b a l a n c e d   a l l o c a t i o n :   I n   s o m e   c a s e s ,   i t   w i l l   b e   i m p o s s i b l e   t o   a c h i e v e   a   b a l a n c e d   a l l o c a t i o n   o f   e n d p o i n t s   a m o n g   z o n e s .   F o r   e x a m p l e ,   i f   z o n e - a   i s   t w i c e   a s   l a r g e   a s   z o n e - b ,   b u t   t h e r e   a r e   o n l y   2   e n d p o i n t s ,   a n   e n d p o i n t   a l l o c a t e d   t o   z o n e - a   m a y   r e c e i v e   t w i c e   a s   m u c h   t r a f f i c   a s   z o n e - b .   T h e   c o n t r o l l e r   d o e s   n o t   a s s i g n   h i n t s   i f   i t   c a n ' t   g e t   t h i s   \" e x p e c t e d   o v e r l o a d \"   v a l u e   b e l o w   a n   a c c e p t a b l e   t h r e s h o l d   f o r   e a c h   z o n e .   I m p o r t a n t l y   t h i s   i s   n o t   b a s e d   o n   r e a l - t i m e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12333"
  },
  {
    "question": "What is Constraints?",
    "answer": "T o p o l o g y   A w a r e   H i n t s   a r e   n o t   u s e d   w h e n   i n t e r n a l T r a f f i c P o l i c y   i s   s e t   t o   L o c a l   o n   a   S e r v i c e .   I t   i s   p o s s i b l e   t o   u s e   b o t h   f e a t u r e s   i n   t h e   s a m e   c l u s t e r   o n   d i f f e r e n t   S e r v i c e s ,   j u s t   n o t   o n   t h e   s a m e   S e r v i c e . T h i s   a p p r o a c h   w i l l   n o t   w o r k   w e l l   f o r   S e r v i c e s   t h a t   h a v e   a   l a r g e   p r o p o r t i o n   o f   t r a f f i c   o r i g i n a t i n g   f r o m   a   s u b s e t   o f   z o n e s .   I n s t e a d   t h i s   a s s u m e s   t h a t   i n c o m i n g   t r a f f i c   w i l l   b e   r o u g h l y   p r o p o r t i o n a l   t o   t h e   c a p a c i t y   o f   t h e   N o d e s   i n   e a c h   z o n e . T h e   E n d p o i n t S l i c e   c o n t r o l l e r   i g n o r e s   u n r e a d y   n o d e s   a s   i t   c a l c u l a t e s   t h e   p r o p o r t i o n s   o f   e a c h   z o n e .   T h i s   c o u l d   h a v e   u n i n t e n d e d   c o n s e q u e n c e s   i f   a   l a r g e   p o r t i o n   o f   n o d e s   a r e   u n r e a d y . T h e   E n d p o i n t S l i c e   c o n t r o l l e r   i g n o r e s   n o d e s   w i t h   t h e   n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e   o r   n o d e - r o l e . k u b e r n e t e s . i o / m a s t e r   l a b e l   s e t .   T h i s   c o u l d   b e   p r o b l e m a t i c   i f   w o r k l o a d s   a r e   a l s o   r u n n i n g   o n   t h o s e   n o d e s . T h e   E n d p o i n t S l i c e   c o n t r o l l e r   d o e s   n o t   t a k e   i n t o   a c c o u n t   t o l e r a t i o n s   w h e n   d e p l o y i n g   o r   c a l c u l a t i n g   t h e   p r o p o r t i o n s   o f   e a c h   z o n e .   I f   t h e   P o d s   b a c k i n g   a   S e r v i c e   a r e   l i m i t e d   t o   a   s u b s e t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12334"
  },
  {
    "question": "What is Custom heuristics?",
    "answer": "K u b e r n e t e s   i s   d e p l o y e d   i n   m a n y   d i f f e r e n t   w a y s ,   t h e r e   i s   n o   s i n g l e   h e u r i s t i c   f o r   a l l o c a t i n g   e n d p o i n t s   t o   z o n e s   w i l l   w o r k   f o r   e v e r y   u s e   c a s e .   A   k e y   g o a l   o f   t h i s   f e a t u r e   i s   t o   e n a b l e   c u s t o m   h e u r i s t i c s   t o   b e   d e v e l o p e d   i f   t h e   b u i l t   i n   h e u r i s t i c   d o e s   n o t   w o r k   f o r   y o u r   u s e   c a s e .   T h e   f i r s t   s t e p s   t o   e n a b l e   c u s t o m   h e u r i s t i c s   w e r e   i n c l u d e d   i n   t h e   1 . 2 7   r e l e a s e .   T h i s   i s   a   l i m i t e d   i m p l e m e n t a t i o n   t h a t   m a y   n o t   y e t   c o v e r   s o m e   r e l e v a n t   a n d   p l a u s i b l e   s i t u a t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12335"
  },
  {
    "question": "What is What's next?",
    "answer": "F o l l o w   t h e   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s   t u t o r i a l L e a r n   a b o u t   t h e   t r a f f i c D i s t r i b u t i o n   f i e l d ,   w h i c h   i s   c l o s e l y   r e l a t e d   t o   t h e   s e r v i c e . k u b e r n e t e s . i o / t o p o l o g y - m o d e   a n n o t a t i o n   a n d   p r o v i d e s   f l e x i b l e   o p t i o n s   f o r   t r a f f i c   r o u t i n g   w i t h i n   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12336"
  },
  {
    "question": "What is 5.10 - Networking on Windows?",
    "answer": "K u b e r n e t e s   s u p p o r t s   r u n n i n g   n o d e s   o n   e i t h e r   L i n u x   o r   W i n d o w s .   Y o u   c a n   m i x   b o t h   k i n d s   o f   n o d e   w i t h i n   a   s i n g l e   c l u s t e r .   T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   t o   n e t w o r k i n g   s p e c i f i c   t o   t h e   W i n d o w s   o p e r a t i n g   s y s t e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12337"
  },
  {
    "question": "What is Container networking on Windows?",
    "answer": "N e t w o r k i n g   f o r   W i n d o w s   c o n t a i n e r s   i s   e x p o s e d   t h r o u g h   C N I   p l u g i n s .   W i n d o w s   c o n t a i n e r s   f u n c t i o n   s i m i l a r l y   t o   v i r t u a l   m a c h i n e s   i n   r e g a r d s   t o   n e t w o r k i n g .   E a c h   c o n t a i n e r   h a s   a   v i r t u a l   n e t w o r k   a d a p t e r   ( v N I C )   w h i c h   i s   c o n n e c t e d   t o   a   H y p e r - V   v i r t u a l   s w i t c h   ( v S w i t c h ) .   T h e   H o s t   N e t w o r k i n g   S e r v i c e   ( H N S )   a n d   t h e   H o s t   C o m p u t e   S e r v i c e   ( H C S )   w o r k   t o g e t h e r   t o   c r e a t e   c o n t a i n e r s   a n d   a t t a c h   c o n t a i n e r   v N I C s   t o   n e t w o r k s .   H C S   i s   r e s p o n s i b l e   f o r   t h e   m a n a g e m e n t   o f   c o n t a i n e r s   w h e r e a s   H N S   i s   r e s p o n s i b l e   f o r   t h e   m a n a g e m e n t   o f   n e t w o r k i n g   r e s o u r c e s   s u c h   a s :   V i r t u a l   n e t w o r k s   ( i n c l u d i n g   c r e a t i o n   o f   v S w i t c h e s ) E n d p o i n t s   /   v N I C s N a m e s p a c e s P o l i c i e s   i n c l u d i n g   p a c k e t   e n c a p s u l a t i o n s ,   l o a d - b a l a n c i n g   r u l e s ,   A C L s ,   a n d   N A T   r u l e s .   T h e   W i n d o w s   H N S   a n d   v S w i t c h   i m p l e m e n t   n a m e s p a c i n g   a n d   c a n   c r e a t e   v i r t u a l   N I C s   a s   n e e d e d   f o r   a   p o d   o r   c o n t a i n e r .   H o w e v e r ,   m a n y   c o n f i g u r a t i o n s   s u c h   a s   D N S ,   r o u t e s ,   a n d   m e t r i c s   a r e   s t o r e d   i n   t h e   W i n d o w s   r e g i s t r y   d a t a b a s e   r a t h e r   t h a n   a s   f i l e s   i n s i d e   / e t c ,   w h i c h   i s   h o w   L i n u x   s t o r e s   t h o s e   c o n f i g u r a t i o n s .   T h e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12338"
  },
  {
    "question": "What is Network modes?",
    "answer": "W i n d o w s   s u p p o r t s   f i v e   d i f f e r e n t   n e t w o r k i n g   d r i v e r s / m o d e s :   L 2 b r i d g e ,   L 2 t u n n e l ,   O v e r l a y   ( B e t a ) ,   T r a n s p a r e n t ,   a n d   N A T .   I n   a   h e t e r o g e n e o u s   c l u s t e r   w i t h   W i n d o w s   a n d   L i n u x   w o r k e r   n o d e s ,   y o u   n e e d   t o   s e l e c t   a   n e t w o r k i n g   s o l u t i o n   t h a t   i s   c o m p a t i b l e   o n   b o t h   W i n d o w s   a n d   L i n u x .   T h e   f o l l o w i n g   t a b l e   l i s t s   t h e   o u t - o f - t r e e   p l u g i n s   a r e   s u p p o r t e d   o n   W i n d o w s ,   w i t h   r e c o m m e n d a t i o n s   o n   w h e n   t o   u s e   e a c h   C N I :   A s   o u t l i n e d   a b o v e ,   t h e   F l a n n e l   C N I   p l u g i n   i s   a l s o   s u p p o r t e d   o n   W i n d o w s   v i a   t h e   V X L A N   n e t w o r k   b a c k e n d   ( B e t a   s u p p o r t   ;   d e l e g a t e s   t o   w i n - o v e r l a y )   a n d   h o s t - g a t e w a y   n e t w o r k   b a c k e n d   ( s t a b l e   s u p p o r t ;   d e l e g a t e s   t o   w i n - b r i d g e ) .   T h i s   p l u g i n   s u p p o r t s   d e l e g a t i n g   t o   o n e   o f   t h e   r e f e r e n c e   C N I   p l u g i n s   ( w i n - o v e r l a y ,   w i n - b r i d g e ) ,   t o   w o r k   i n   c o n j u n c t i o n   w i t h   F l a n n e l   d a e m o n   o n   W i n d o w s   ( F l a n n e l d )   f o r   a u t o m a t i c   n o d e   s u b n e t   l e a s e   a s s i g n m e n t   a n d   H N S   n e t w o r k   c r e a t i o n .   T h i s   p l u g i n   r e a d s   i n   i t s   o w n   c o n f i g u r a t i o n   f i l e   ( c n i . c o n f ) ,   a n d   a g g r e g a t e s   i t   w i t h   t h e   e n v i r o n m e n t   v a r i a b l e s   f r o m   t h e   F l a n n e l D   g e n e r a t e d   s u b n e t . e n v   f i l e .   I t   t h e n   d ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12339"
  },
  {
    "question": "What is IP address management (IPAM)?",
    "answer": "T h e   f o l l o w i n g   I P A M   o p t i o n s   a r e   s u p p o r t e d   o n   W i n d o w s :   h o s t - l o c a l a z u r e - v n e t - i p a m   ( f o r   a z u r e - c n i   o n l y ) W i n d o w s   S e r v e r   I P A M   ( f a l l b a c k   o p t i o n   i f   n o   I P A M   i s   s e t )",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12340"
  },
  {
    "question": "What is Direct Server Return (DSR)?",
    "answer": "L o a d   b a l a n c i n g   m o d e   w h e r e   t h e   I P   a d d r e s s   f i x u p s   a n d   t h e   L B N A T   o c c u r s   a t   t h e   c o n t a i n e r   v S w i t c h   p o r t   d i r e c t l y ;   s e r v i c e   t r a f f i c   a r r i v e s   w i t h   t h e   s o u r c e   I P   s e t   a s   t h e   o r i g i n a t i n g   p o d   I P .   T h i s   p r o v i d e s   p e r f o r m a n c e   o p t i m i z a t i o n s   b y   a l l o w i n g   t h e   r e t u r n   t r a f f i c   r o u t e d   t h r o u g h   l o a d   b a l a n c e r s   t o   b y p a s s   t h e   l o a d   b a l a n c e r   a n d   r e s p o n d   d i r e c t l y   t o   t h e   c l i e n t ;   r e d u c i n g   l o a d   o n   t h e   l o a d   b a l a n c e r   a n d   a l s o   r e d u c i n g   o v e r a l l   l a t e n c y .   F o r   m o r e   i n f o r m a t i o n ,   r e a d   D i r e c t   S e r v e r   R e t u r n   ( D S R )   i n   a   n u t s h e l l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12341"
  },
  {
    "question": "What is Load balancing and Services?",
    "answer": "A   K u b e r n e t e s   S e r v i c e   i s   a n   a b s t r a c t i o n   t h a t   d e f i n e s   a   l o g i c a l   s e t   o f   P o d s   a n d   a   m e a n s   t o   a c c e s s   t h e m   o v e r   a   n e t w o r k .   I n   a   c l u s t e r   t h a t   i n c l u d e s   W i n d o w s   n o d e s ,   y o u   c a n   u s e   t h e   f o l l o w i n g   t y p e s   o f   S e r v i c e :   N o d e P o r t C l u s t e r I P L o a d B a l a n c e r E x t e r n a l N a m e   W i n d o w s   c o n t a i n e r   n e t w o r k i n g   d i f f e r s   i n   s o m e   i m p o r t a n t   w a y s   f r o m   L i n u x   n e t w o r k i n g .   T h e   M i c r o s o f t   d o c u m e n t a t i o n   f o r   W i n d o w s   C o n t a i n e r   N e t w o r k i n g   p r o v i d e s   a d d i t i o n a l   d e t a i l s   a n d   b a c k g r o u n d .   O n   W i n d o w s ,   y o u   c a n   u s e   t h e   f o l l o w i n g   s e t t i n g s   t o   c o n f i g u r e   S e r v i c e s   a n d   l o a d   b a l a n c i n g   b e h a v i o r :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12342"
  },
  {
    "question": "What is Limitations?",
    "answer": "T h e   f o l l o w i n g   n e t w o r k i n g   f u n c t i o n a l i t y   i s   n o t   s u p p o r t e d   o n   W i n d o w s   n o d e s :   H o s t   n e t w o r k i n g   m o d e L o c a l   N o d e P o r t   a c c e s s   f r o m   t h e   n o d e   i t s e l f   ( w o r k s   f o r   o t h e r   n o d e s   o r   e x t e r n a l   c l i e n t s ) M o r e   t h a n   6 4   b a c k e n d   p o d s   ( o r   u n i q u e   d e s t i n a t i o n   a d d r e s s e s )   f o r   a   s i n g l e   S e r v i c e I P v 6   c o m m u n i c a t i o n   b e t w e e n   W i n d o w s   p o d s   c o n n e c t e d   t o   o v e r l a y   n e t w o r k s L o c a l   T r a f f i c   P o l i c y   i n   n o n - D S R   m o d e O u t b o u n d   c o m m u n i c a t i o n   u s i n g   t h e   I C M P   p r o t o c o l   v i a   t h e   w i n - o v e r l a y ,   w i n - b r i d g e ,   o r   u s i n g   t h e   A z u r e - C N I   p l u g i n .   S p e c i f i c a l l y ,   t h e   W i n d o w s   d a t a   p l a n e   ( V F P )   d o e s n ' t   s u p p o r t   I C M P   p a c k e t   t r a n s p o s i t i o n s ,   a n d   t h i s   m e a n s : I C M P   p a c k e t s   d i r e c t e d   t o   d e s t i n a t i o n s   w i t h i n   t h e   s a m e   n e t w o r k   ( s u c h   a s   p o d   t o   p o d   c o m m u n i c a t i o n   v i a   p i n g )   w o r k   a s   e x p e c t e d ; T C P / U D P   p a c k e t s   w o r k   a s   e x p e c t e d ; I C M P   p a c k e t s   d i r e c t e d   t o   p a s s   t h r o u g h   a   r e m o t e   n e t w o r k   ( e . g .   p o d   t o   e x t e r n a l   i n t e r n e t   c o m m u n i c a t i o n   v i a   p i n g )   c a n n o t   b e   t r a n s p o s e d   a n d   t h u s   w i l l   n o t   b e   r o u t e d   b a c k   t o   t h e i r   s o u r c e ; S i n c e   T C P / U D P   p a c k e t s   c a n   s t i l l   b e   t r a n s p o s e d ,   y o u   c a n   s u b s t i t u t e   p i n g   < d e s t i n a t i o n >   w ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12343"
  },
  {
    "question": "What is 5.11 - Service ClusterIP allocation?",
    "answer": "I n   K u b e r n e t e s ,   S e r v i c e s   a r e   a n   a b s t r a c t   w a y   t o   e x p o s e   a n   a p p l i c a t i o n   r u n n i n g   o n   a   s e t   o f   P o d s .   S e r v i c e s   c a n   h a v e   a   c l u s t e r - s c o p e d   v i r t u a l   I P   a d d r e s s   ( u s i n g   a   S e r v i c e   o f   t y p e :   C l u s t e r I P ) .   C l i e n t s   c a n   c o n n e c t   u s i n g   t h a t   v i r t u a l   I P   a d d r e s s ,   a n d   K u b e r n e t e s   t h e n   l o a d - b a l a n c e s   t r a f f i c   t o   t h a t   S e r v i c e   a c r o s s   t h e   d i f f e r e n t   b a c k i n g   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12344"
  },
  {
    "question": "What is How Service ClusterIPs are allocated??",
    "answer": "W h e n   K u b e r n e t e s   n e e d s   t o   a s s i g n   a   v i r t u a l   I P   a d d r e s s   f o r   a   S e r v i c e ,   t h a t   a s s i g n m e n t   h a p p e n s   o n e   o f   t w o   w a y s :   A c r o s s   y o u r   w h o l e   c l u s t e r ,   e v e r y   S e r v i c e   C l u s t e r I P   m u s t   b e   u n i q u e .   T r y i n g   t o   c r e a t e   a   S e r v i c e   w i t h   a   s p e c i f i c   C l u s t e r I P   t h a t   h a s   a l r e a d y   b e e n   a l l o c a t e d   w i l l   r e t u r n   a n   e r r o r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12345"
  },
  {
    "question": "What is Why do you need to reserve Service Cluster IPs??",
    "answer": "S o m e t i m e s   y o u   m a y   w a n t   t o   h a v e   S e r v i c e s   r u n n i n g   i n   w e l l - k n o w n   I P   a d d r e s s e s ,   s o   o t h e r   c o m p o n e n t s   a n d   u s e r s   i n   t h e   c l u s t e r   c a n   u s e   t h e m .   T h e   b e s t   e x a m p l e   i s   t h e   D N S   S e r v i c e   f o r   t h e   c l u s t e r .   A s   a   s o f t   c o n v e n t i o n ,   s o m e   K u b e r n e t e s   i n s t a l l e r s   a s s i g n   t h e   1 0 t h   I P   a d d r e s s   f r o m   t h e   S e r v i c e   I P   r a n g e   t o   t h e   D N S   s e r v i c e .   A s s u m i n g   y o u   c o n f i g u r e d   y o u r   c l u s t e r   w i t h   S e r v i c e   I P   r a n g e   1 0 . 9 6 . 0 . 0 / 1 6   a n d   y o u   w a n t   y o u r   D N S   S e r v i c e   I P   t o   b e   1 0 . 9 6 . 0 . 1 0 ,   y o u ' d   h a v e   t o   c r e a t e   a   S e r v i c e   l i k e   t h i s :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   l a b e l s :   k 8 s - a p p :   k u b e - d n s   k u b e r n e t e s . i o / c l u s t e r - s e r v i c e :   \" t r u e \"   k u b e r n e t e s . i o / n a m e :   C o r e D N S   n a m e :   k u b e - d n s   n a m e s p a c e :   k u b e - s y s t e m   s p e c :   c l u s t e r I P :   1 0 . 9 6 . 0 . 1 0   p o r t s :   -   n a m e :   d n s   p o r t :   5 3   p r o t o c o l :   U D P   t a r g e t P o r t :   5 3   -   n a m e :   d n s - t c p   p o r t :   5 3   p r o t o c o l :   T C P   t a r g e t P o r t :   5 3   s e l e c t o r :   k 8 s - a p p :   k u b e - d n s   t y p e :   C l u s t e r I P   B u t ,   a s   i t   w a s   e x p l a i n e d   b e f o r e ,   t h e   I P   a d d r e s s   1 0 . 9 6 . 0 . 1 0   h a s   n o t   b e e n   r e s e r v e d .   I f   o t h e r   S e r v i c e s   a r e   c r e a t e d   b e f o r e   o r   i n   p a r a l l e l   w i t h   d y n a m i c   a l l o c a t i o n ,   t h e r e   i s   a   c h a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12346"
  },
  {
    "question": "What is How can you avoid Service ClusterIP conflicts??",
    "answer": "T h e   a l l o c a t i o n   s t r a t e g y   i m p l e m e n t e d   i n   K u b e r n e t e s   t o   a l l o c a t e   C l u s t e r I P s   t o   S e r v i c e s   r e d u c e s   t h e   r i s k   o f   c o l l i s i o n .   T h e   C l u s t e r I P   r a n g e   i s   d i v i d e d ,   b a s e d   o n   t h e   f o r m u l a   m i n ( m a x ( 1 6 ,   c i d r S i z e   /   1 6 ) ,   2 5 6 ) ,   d e s c r i b e d   a s   n e v e r   l e s s   t h a n   1 6   o r   m o r e   t h a n   2 5 6   w i t h   a   g r a d u a t e d   s t e p   b e t w e e n   t h e m .   D y n a m i c   I P   a s s i g n m e n t   u s e s   t h e   u p p e r   b a n d   b y   d e f a u l t ,   o n c e   t h i s   h a s   b e e n   e x h a u s t e d   i t   w i l l   u s e   t h e   l o w e r   r a n g e .   T h i s   w i l l   a l l o w   u s e r s   t o   u s e   s t a t i c   a l l o c a t i o n s   o n   t h e   l o w e r   b a n d   w i t h   a   l o w   r i s k   o f   c o l l i s i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12347"
  },
  {
    "question": "What is Example 1?",
    "answer": "T h i s   e x a m p l e   u s e s   t h e   I P   a d d r e s s   r a n g e :   1 0 . 9 6 . 0 . 0 / 2 4   ( C I D R   n o t a t i o n )   f o r   t h e   I P   a d d r e s s e s   o f   S e r v i c e s .   R a n g e   S i z e :   2 8   -   2   =   2 5 4 B a n d   O f f s e t :   m i n ( m a x ( 1 6 ,   2 5 6 / 1 6 ) ,   2 5 6 )   =   m i n ( 1 6 ,   2 5 6 )   =   1 6 S t a t i c   b a n d   s t a r t :   1 0 . 9 6 . 0 . 1 S t a t i c   b a n d   e n d :   1 0 . 9 6 . 0 . 1 6 R a n g e   e n d :   1 0 . 9 6 . 0 . 2 5 4",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12348"
  },
  {
    "question": "What is Example 2?",
    "answer": "T h i s   e x a m p l e   u s e s   t h e   I P   a d d r e s s   r a n g e :   1 0 . 9 6 . 0 . 0 / 2 0   ( C I D R   n o t a t i o n )   f o r   t h e   I P   a d d r e s s e s   o f   S e r v i c e s .   R a n g e   S i z e :   2 1 2   -   2   =   4 0 9 4 B a n d   O f f s e t :   m i n ( m a x ( 1 6 ,   4 0 9 6 / 1 6 ) ,   2 5 6 )   =   m i n ( 2 5 6 ,   2 5 6 )   =   2 5 6 S t a t i c   b a n d   s t a r t :   1 0 . 9 6 . 0 . 1 S t a t i c   b a n d   e n d :   1 0 . 9 6 . 1 . 0 R a n g e   e n d :   1 0 . 9 6 . 1 5 . 2 5 4",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12349"
  },
  {
    "question": "What is Example 3?",
    "answer": "T h i s   e x a m p l e   u s e s   t h e   I P   a d d r e s s   r a n g e :   1 0 . 9 6 . 0 . 0 / 1 6   ( C I D R   n o t a t i o n )   f o r   t h e   I P   a d d r e s s e s   o f   S e r v i c e s .   R a n g e   S i z e :   2 1 6   -   2   =   6 5 5 3 4 B a n d   O f f s e t :   m i n ( m a x ( 1 6 ,   6 5 5 3 6 / 1 6 ) ,   2 5 6 )   =   m i n ( 4 0 9 6 ,   2 5 6 )   =   2 5 6 S t a t i c   b a n d   s t a r t :   1 0 . 9 6 . 0 . 1 S t a t i c   b a n d   e n d s :   1 0 . 9 6 . 1 . 0 R a n g e   e n d :   1 0 . 9 6 . 2 5 5 . 2 5 4",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12350"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   S e r v i c e   E x t e r n a l   T r a f f i c   P o l i c y R e a d   a b o u t   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s R e a d   a b o u t   S e r v i c e s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12351"
  },
  {
    "question": "What is 5.12 - Service Internal Traffic Policy?",
    "answer": "S e r v i c e   I n t e r n a l   T r a f f i c   P o l i c y   e n a b l e s   i n t e r n a l   t r a f f i c   r e s t r i c t i o n s   t o   o n l y   r o u t e   i n t e r n a l   t r a f f i c   t o   e n d p o i n t s   w i t h i n   t h e   n o d e   t h e   t r a f f i c   o r i g i n a t e d   f r o m .   T h e   \" i n t e r n a l \"   t r a f f i c   h e r e   r e f e r s   t o   t r a f f i c   o r i g i n a t e d   f r o m   P o d s   i n   t h e   c u r r e n t   c l u s t e r .   T h i s   c a n   h e l p   t o   r e d u c e   c o s t s   a n d   i m p r o v e   p e r f o r m a n c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12352"
  },
  {
    "question": "What is Using Service Internal Traffic Policy?",
    "answer": "Y o u   c a n   e n a b l e   t h e   i n t e r n a l - o n l y   t r a f f i c   p o l i c y   f o r   a   S e r v i c e ,   b y   s e t t i n g   i t s   . s p e c . i n t e r n a l T r a f f i c P o l i c y   t o   L o c a l .   T h i s   t e l l s   k u b e - p r o x y   t o   o n l y   u s e   n o d e   l o c a l   e n d p o i n t s   f o r   c l u s t e r   i n t e r n a l   t r a f f i c .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12353"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   f o l l o w i n g   e x a m p l e   s h o w s   w h a t   a   S e r v i c e   l o o k s   l i k e   w h e n   y o u   s e t   . s p e c . i n t e r n a l T r a f f i c P o l i c y   t o   L o c a l :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   s p e c :   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   8 0   t a r g e t P o r t :   9 3 7 6   i n t e r n a l T r a f f i c P o l i c y :   L o c a l",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12354"
  },
  {
    "question": "What is How it works?",
    "answer": "T h e   k u b e - p r o x y   f i l t e r s   t h e   e n d p o i n t s   i t   r o u t e s   t o   b a s e d   o n   t h e   s p e c . i n t e r n a l T r a f f i c P o l i c y   s e t t i n g .   W h e n   i t ' s   s e t   t o   L o c a l ,   o n l y   n o d e   l o c a l   e n d p o i n t s   a r e   c o n s i d e r e d .   W h e n   i t ' s   C l u s t e r   ( t h e   d e f a u l t ) ,   o r   i s   n o t   s e t ,   K u b e r n e t e s   c o n s i d e r s   a l l   e n d p o i n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12355"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   T o p o l o g y   A w a r e   R o u t i n g R e a d   a b o u t   S e r v i c e   E x t e r n a l   T r a f f i c   P o l i c y F o l l o w   t h e   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s   t u t o r i a l",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12356"
  },
  {
    "question": "What is 6.1 - Volumes?",
    "answer": "K u b e r n e t e s   v o l u m e s   p r o v i d e   a   w a y   f o r   c o n t a i n e r s   i n   a   p o d   t o   a c c e s s   a n d   s h a r e   d a t a   v i a   t h e   f i l e s y s t e m .   T h e r e   a r e   d i f f e r e n t   k i n d s   o f   v o l u m e   t h a t   y o u   c a n   u s e   f o r   d i f f e r e n t   p u r p o s e s ,   s u c h   a s :   p o p u l a t i n g   a   c o n f i g u r a t i o n   f i l e   b a s e d   o n   a   C o n f i g M a p   o r   a   S e c r e t p r o v i d i n g   s o m e   t e m p o r a r y   s c r a t c h   s p a c e   f o r   a   p o d s h a r i n g   a   f i l e s y s t e m   b e t w e e n   t w o   d i f f e r e n t   c o n t a i n e r s   i n   t h e   s a m e   p o d s h a r i n g   a   f i l e s y s t e m   b e t w e e n   t w o   d i f f e r e n t   p o d s   ( e v e n   i f   t h o s e   P o d s   r u n   o n   d i f f e r e n t   n o d e s ) d u r a b l y   s t o r i n g   d a t a   s o   t h a t   i t   s t a y s   a v a i l a b l e   e v e n   i f   t h e   P o d   r e s t a r t s   o r   i s   r e p l a c e d p a s s i n g   c o n f i g u r a t i o n   i n f o r m a t i o n   t o   a n   a p p   r u n n i n g   i n   a   c o n t a i n e r ,   b a s e d   o n   d e t a i l s   o f   t h e   P o d   t h e   c o n t a i n e r   i s   i n   ( f o r   e x a m p l e :   t e l l i n g   a   s i d e c a r   c o n t a i n e r   w h a t   n a m e s p a c e   t h e   P o d   i s   r u n n i n g   i n ) p r o v i d i n g   r e a d - o n l y   a c c e s s   t o   d a t a   i n   a   d i f f e r e n t   c o n t a i n e r   i m a g e   D a t a   s h a r i n g   c a n   b e   b e t w e e n   d i f f e r e n t   l o c a l   p r o c e s s e s   w i t h i n   a   c o n t a i n e r ,   o r   b e t w e e n   d i f f e r e n t   c o n t a i n e r s ,   o r   b e t w e e n   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12357"
  },
  {
    "question": "What is Why volumes are important?",
    "answer": "D a t a   p e r s i s t e n c e :   O n - d i s k   f i l e s   i n   a   c o n t a i n e r   a r e   e p h e m e r a l ,   w h i c h   p r e s e n t s   s o m e   p r o b l e m s   f o r   n o n - t r i v i a l   a p p l i c a t i o n s   w h e n   r u n n i n g   i n   c o n t a i n e r s .   O n e   p r o b l e m   o c c u r s   w h e n   a   c o n t a i n e r   c r a s h e s   o r   i s   s t o p p e d ,   t h e   c o n t a i n e r   s t a t e   i s   n o t   s a v e d   s o   a l l   o f   t h e   f i l e s   t h a t   w e r e   c r e a t e d   o r   m o d i f i e d   d u r i n g   t h e   l i f e t i m e   o f   t h e   c o n t a i n e r   a r e   l o s t .   A f t e r   a   c r a s h ,   k u b e l e t   r e s t a r t s   t h e   c o n t a i n e r   w i t h   a   c l e a n   s t a t e . S h a r e d   s t o r a g e :   A n o t h e r   p r o b l e m   o c c u r s   w h e n   m u l t i p l e   c o n t a i n e r s   a r e   r u n n i n g   i n   a   P o d   a n d   n e e d   t o   s h a r e   f i l e s .   I t   c a n   b e   c h a l l e n g i n g   t o   s e t   u p   a n d   a c c e s s   a   s h a r e d   f i l e s y s t e m   a c r o s s   a l l   o f   t h e   c o n t a i n e r s .   D a t a   p e r s i s t e n c e :   O n - d i s k   f i l e s   i n   a   c o n t a i n e r   a r e   e p h e m e r a l ,   w h i c h   p r e s e n t s   s o m e   p r o b l e m s   f o r   n o n - t r i v i a l   a p p l i c a t i o n s   w h e n   r u n n i n g   i n   c o n t a i n e r s .   O n e   p r o b l e m   o c c u r s   w h e n   a   c o n t a i n e r   c r a s h e s   o r   i s   s t o p p e d ,   t h e   c o n t a i n e r   s t a t e   i s   n o t   s a v e d   s o   a l l   o f   t h e   f i l e s   t h a t   w e r e   c r e a t e d   o r   m o d i f i e d   d u r i n g   t h e   l i f e t i m e   o f   t h e   c o n t a i n e r   a r e   l o s t .   A f t e r   a   c r a s h ,   k u b e l e t   r e s t a r t s   t h e   c o n t a i n e r   w i t h   a   c l e a n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12358"
  },
  {
    "question": "What is How volumes work?",
    "answer": "K u b e r n e t e s   s u p p o r t s   m a n y   t y p e s   o f   v o l u m e s .   A   P o d   c a n   u s e   a n y   n u m b e r   o f   v o l u m e   t y p e s   s i m u l t a n e o u s l y .   E p h e m e r a l   v o l u m e   t y p e s   h a v e   a   l i f e t i m e   l i n k e d   t o   a   s p e c i f i c   P o d ,   b u t   p e r s i s t e n t   v o l u m e s   e x i s t   b e y o n d   t h e   l i f e t i m e   o f   a n y   i n d i v i d u a l   p o d .   W h e n   a   p o d   c e a s e s   t o   e x i s t ,   K u b e r n e t e s   d e s t r o y s   e p h e m e r a l   v o l u m e s ;   h o w e v e r ,   K u b e r n e t e s   d o e s   n o t   d e s t r o y   p e r s i s t e n t   v o l u m e s .   F o r   a n y   k i n d   o f   v o l u m e   i n   a   g i v e n   p o d ,   d a t a   i s   p r e s e r v e d   a c r o s s   c o n t a i n e r   r e s t a r t s .   A t   i t s   c o r e ,   a   v o l u m e   i s   a   d i r e c t o r y ,   p o s s i b l y   w i t h   s o m e   d a t a   i n   i t ,   w h i c h   i s   a c c e s s i b l e   t o   t h e   c o n t a i n e r s   i n   a   p o d .   H o w   t h a t   d i r e c t o r y   c o m e s   t o   b e ,   t h e   m e d i u m   t h a t   b a c k s   i t ,   a n d   t h e   c o n t e n t s   o f   i t   a r e   d e t e r m i n e d   b y   t h e   p a r t i c u l a r   v o l u m e   t y p e   u s e d .   T o   u s e   a   v o l u m e ,   s p e c i f y   t h e   v o l u m e s   t o   p r o v i d e   f o r   t h e   P o d   i n   . s p e c . v o l u m e s   a n d   d e c l a r e   w h e r e   t o   m o u n t   t h o s e   v o l u m e s   i n t o   c o n t a i n e r s   i n   . s p e c . c o n t a i n e r s [ * ] . v o l u m e M o u n t s .   W h e n   a   p o d   i s   l a u n c h e d ,   a   p r o c e s s   i n   t h e   c o n t a i n e r   s e e s   a   f i l e s y s t e m   v i e w   c o m p o s e d   f r o m   t h e   i n i t i a l   c o n t e n t s   o f   t h e   c o n t a i n e r   i m a g e ,   p l ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12359"
  },
  {
    "question": "What is Types of volumes?",
    "answer": "K u b e r n e t e s   s u p p o r t s   s e v e r a l   t y p e s   o f   v o l u m e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12360"
  },
  {
    "question": "What is awsElasticBlockStore (deprecated)?",
    "answer": "I n   K u b e r n e t e s   1 . 3 4 ,   a l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   a w s E l a s t i c B l o c k S t o r e   t y p e   a r e   r e d i r e c t e d   t o   t h e   e b s . c s i . a w s . c o m   C S I   d r i v e r .   T h e   A W S E l a s t i c B l o c k S t o r e   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 1 9   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 2 7   r e l e a s e .   T h e   K u b e r n e t e s   p r o j e c t   s u g g e s t s   t h a t   y o u   u s e   t h e   A W S   E B S   t h i r d   p a r t y   s t o r a g e   d r i v e r   i n s t e a d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12361"
  },
  {
    "question": "What is azureDisk (deprecated)?",
    "answer": "I n   K u b e r n e t e s   1 . 3 4 ,   a l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   a z u r e D i s k   t y p e   a r e   r e d i r e c t e d   t o   t h e   d i s k . c s i . a z u r e . c o m   C S I   d r i v e r .   T h e   A z u r e D i s k   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 1 9   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 2 7   r e l e a s e .   T h e   K u b e r n e t e s   p r o j e c t   s u g g e s t s   t h a t   y o u   u s e   t h e   A z u r e   D i s k   t h i r d   p a r t y   s t o r a g e   d r i v e r   i n s t e a d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12362"
  },
  {
    "question": "What is azureFile (deprecated)?",
    "answer": "I n   K u b e r n e t e s   1 . 3 4 ,   a l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   a z u r e F i l e   t y p e   a r e   r e d i r e c t e d   t o   t h e   f i l e . c s i . a z u r e . c o m   C S I   d r i v e r .   T h e   A z u r e F i l e   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 2 1   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 3 0   r e l e a s e .   T h e   K u b e r n e t e s   p r o j e c t   s u g g e s t s   t h a t   y o u   u s e   t h e   A z u r e   F i l e   t h i r d   p a r t y   s t o r a g e   d r i v e r   i n s t e a d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12363"
  },
  {
    "question": "What is cephfs (removed)?",
    "answer": "K u b e r n e t e s   1 . 3 4   d o e s   n o t   i n c l u d e   a   c e p h f s   v o l u m e   t y p e .   T h e   c e p h f s   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 2 8   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 3 1   r e l e a s e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12364"
  },
  {
    "question": "What is cinder (deprecated)?",
    "answer": "I n   K u b e r n e t e s   1 . 3 4 ,   a l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   c i n d e r   t y p e   a r e   r e d i r e c t e d   t o   t h e   c i n d e r . c s i . o p e n s t a c k . o r g   C S I   d r i v e r .   T h e   O p e n S t a c k   C i n d e r   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 1 1   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 2 6   r e l e a s e .   T h e   K u b e r n e t e s   p r o j e c t   s u g g e s t s   t h a t   y o u   u s e   t h e   O p e n S t a c k   C i n d e r   t h i r d   p a r t y   s t o r a g e   d r i v e r   i n s t e a d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12365"
  },
  {
    "question": "What is configMap?",
    "answer": "A   C o n f i g M a p   p r o v i d e s   a   w a y   t o   i n j e c t   c o n f i g u r a t i o n   d a t a   i n t o   p o d s .   T h e   d a t a   s t o r e d   i n   a   C o n f i g M a p   c a n   b e   r e f e r e n c e d   i n   a   v o l u m e   o f   t y p e   c o n f i g M a p   a n d   t h e n   c o n s u m e d   b y   c o n t a i n e r i z e d   a p p l i c a t i o n s   r u n n i n g   i n   a   p o d .   W h e n   r e f e r e n c i n g   a   C o n f i g M a p ,   y o u   p r o v i d e   t h e   n a m e   o f   t h e   C o n f i g M a p   i n   t h e   v o l u m e .   Y o u   c a n   c u s t o m i z e   t h e   p a t h   t o   u s e   f o r   a   s p e c i f i c   e n t r y   i n   t h e   C o n f i g M a p .   T h e   f o l l o w i n g   c o n f i g u r a t i o n   s h o w s   h o w   t o   m o u n t   t h e   l o g - c o n f i g   C o n f i g M a p   o n t o   a   P o d   c a l l e d   c o n f i g m a p - p o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o n f i g m a p - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   ' e c h o   \" T h e   a p p   i s   r u n n i n g ! \"   & &   t a i l   - f   / d e v / n u l l ' ]   v o l u m e M o u n t s :   -   n a m e :   c o n f i g - v o l   m o u n t P a t h :   / e t c / c o n f i g   v o l u m e s :   -   n a m e :   c o n f i g - v o l   c o n f i g M a p :   n a m e :   l o g - c o n f i g   i t e m s :   -   k e y :   l o g _ l e v e l   p a t h :   l o g _ l e v e l . c o n f   T h e   l o g - c o n f i g   C o n f i g M a p   i s   m o u n t e d   a s   a   v o l u m e ,   a n d   a l l   c o n t e n t s   s t o r e d   i n   i t s   l o g _ l e v e l   e n t r y   a r e   m o u n t e d   i n t o   t h e   P o d   a t   p a t h   / e t c / c o n f i g / l o g _ l e v e l . c o n f .   N o t e   t h a t   t h i s   p a t h   i s   d e r i v e d   f r o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12366"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   m u s t   c r e a t e   a   C o n f i g M a p   b e f o r e   y o u   c a n   u s e   i t . A   C o n f i g M a p   i s   a l w a y s   m o u n t e d   a s   r e a d O n l y . A   c o n t a i n e r   u s i n g   a   C o n f i g M a p   a s   a   s u b P a t h   v o l u m e   m o u n t   w i l l   n o t   r e c e i v e   u p d a t e s   w h e n   t h e   C o n f i g M a p   c h a n g e s . T e x t   d a t a   i s   e x p o s e d   a s   f i l e s   u s i n g   t h e   U T F - 8   c h a r a c t e r   e n c o d i n g .   F o r   o t h e r   c h a r a c t e r   e n c o d i n g s ,   u s e   b i n a r y D a t a .   Y o u   m u s t   c r e a t e   a   C o n f i g M a p   b e f o r e   y o u   c a n   u s e   i t .   A   C o n f i g M a p   i s   a l w a y s   m o u n t e d   a s   r e a d O n l y .   A   c o n t a i n e r   u s i n g   a   C o n f i g M a p   a s   a   s u b P a t h   v o l u m e   m o u n t   w i l l   n o t   r e c e i v e   u p d a t e s   w h e n   t h e   C o n f i g M a p   c h a n g e s .   T e x t   d a t a   i s   e x p o s e d   a s   f i l e s   u s i n g   t h e   U T F - 8   c h a r a c t e r   e n c o d i n g .   F o r   o t h e r   c h a r a c t e r   e n c o d i n g s ,   u s e   b i n a r y D a t a .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12367"
  },
  {
    "question": "What is downwardAPI?",
    "answer": "A   d o w n w a r d A P I   v o l u m e   m a k e s   d o w n w a r d   A P I   d a t a   a v a i l a b l e   t o   a p p l i c a t i o n s .   W i t h i n   t h e   v o l u m e ,   y o u   c a n   f i n d   t h e   e x p o s e d   d a t a   a s   r e a d - o n l y   f i l e s   i n   p l a i n   t e x t   f o r m a t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12368"
  },
  {
    "question": "What is Note:?",
    "answer": "S e e   E x p o s e   P o d   I n f o r m a t i o n   t o   C o n t a i n e r s   T h r o u g h   F i l e s   t o   l e a r n   m o r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12369"
  },
  {
    "question": "What is emptyDir?",
    "answer": "F o r   a   P o d   t h a t   d e f i n e s   a n   e m p t y D i r   v o l u m e ,   t h e   v o l u m e   i s   c r e a t e d   w h e n   t h e   P o d   i s   a s s i g n e d   t o   a   n o d e .   A s   t h e   n a m e   s a y s ,   t h e   e m p t y D i r   v o l u m e   i s   i n i t i a l l y   e m p t y .   A l l   c o n t a i n e r s   i n   t h e   P o d   c a n   r e a d   a n d   w r i t e   t h e   s a m e   f i l e s   i n   t h e   e m p t y D i r   v o l u m e ,   t h o u g h   t h a t   v o l u m e   c a n   b e   m o u n t e d   a t   t h e   s a m e   o r   d i f f e r e n t   p a t h s   i n   e a c h   c o n t a i n e r .   W h e n   a   P o d   i s   r e m o v e d   f r o m   a   n o d e   f o r   a n y   r e a s o n ,   t h e   d a t a   i n   t h e   e m p t y D i r   i s   d e l e t e d   p e r m a n e n t l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12370"
  },
  {
    "question": "What is Note:?",
    "answer": "S o m e   u s e s   f o r   a n   e m p t y D i r   a r e :   s c r a t c h   s p a c e ,   s u c h   a s   f o r   a   d i s k - b a s e d   m e r g e   s o r t c h e c k p o i n t i n g   a   l o n g   c o m p u t a t i o n   f o r   r e c o v e r y   f r o m   c r a s h e s h o l d i n g   f i l e s   t h a t   a   c o n t e n t - m a n a g e r   c o n t a i n e r   f e t c h e s   w h i l e   a   w e b s e r v e r   c o n t a i n e r   s e r v e s   t h e   d a t a   T h e   e m p t y D i r . m e d i u m   f i e l d   c o n t r o l s   w h e r e   e m p t y D i r   v o l u m e s   a r e   s t o r e d .   B y   d e f a u l t   e m p t y D i r   v o l u m e s   a r e   s t o r e d   o n   w h a t e v e r   m e d i u m   t h a t   b a c k s   t h e   n o d e   s u c h   a s   d i s k ,   S S D ,   o r   n e t w o r k   s t o r a g e ,   d e p e n d i n g   o n   y o u r   e n v i r o n m e n t .   I f   y o u   s e t   t h e   e m p t y D i r . m e d i u m   f i e l d   t o   \" M e m o r y \" ,   K u b e r n e t e s   m o u n t s   a   t m p f s   ( R A M - b a c k e d   f i l e s y s t e m )   f o r   y o u   i n s t e a d .   W h i l e   t m p f s   i s   v e r y   f a s t ,   b e   a w a r e   t h a t ,   u n l i k e   d i s k s ,   f i l e s   y o u   w r i t e   c o u n t   a g a i n s t   t h e   m e m o r y   l i m i t   o f   t h e   c o n t a i n e r   t h a t   w r o t e   t h e m .   A   s i z e   l i m i t   c a n   b e   s p e c i f i e d   f o r   t h e   d e f a u l t   m e d i u m ,   w h i c h   l i m i t s   t h e   c a p a c i t y   o f   t h e   e m p t y D i r   v o l u m e .   T h e   s t o r a g e   i s   a l l o c a t e d   f r o m   n o d e   e p h e m e r a l   s t o r a g e .   I f   t h a t   i s   f i l l e d   u p   f r o m   a n o t h e r   s o u r c e   ( f o r   e x a m p l e ,   l o g   f i l e s   o r   i m a g e   o v e r l a y s ) ,   t h e   e m p t y D i r   m a y   r u n   o u t   o f   c a p a c i t y   b e f o r e   t h i s ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12371"
  },
  {
    "question": "What is emptyDir configuration example?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t - p d   s p e c :   c o n t a i n e r s :   -   i m a g e :   r e g i s t r y . k 8 s . i o / t e s t - w e b s e r v e r   n a m e :   t e s t - c o n t a i n e r   v o l u m e M o u n t s :   -   m o u n t P a t h :   / c a c h e   n a m e :   c a c h e - v o l u m e   v o l u m e s :   -   n a m e :   c a c h e - v o l u m e   e m p t y D i r :   s i z e L i m i t :   5 0 0 M i",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12372"
  },
  {
    "question": "What is emptyDir memory configuration example?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t - p d   s p e c :   c o n t a i n e r s :   -   i m a g e :   r e g i s t r y . k 8 s . i o / t e s t - w e b s e r v e r   n a m e :   t e s t - c o n t a i n e r   v o l u m e M o u n t s :   -   m o u n t P a t h :   / c a c h e   n a m e :   c a c h e - v o l u m e   v o l u m e s :   -   n a m e :   c a c h e - v o l u m e   e m p t y D i r :   s i z e L i m i t :   5 0 0 M i   m e d i u m :   M e m o r y",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12373"
  },
  {
    "question": "What is fc (fibre channel)?",
    "answer": "A n   f c   v o l u m e   t y p e   a l l o w s   a n   e x i s t i n g   f i b r e   c h a n n e l   b l o c k   s t o r a g e   v o l u m e   t o   b e   m o u n t e d   i n   a   P o d .   Y o u   c a n   s p e c i f y   s i n g l e   o r   m u l t i p l e   t a r g e t   w o r l d   w i d e   n a m e s   ( W W N s )   u s i n g   t h e   p a r a m e t e r   t a r g e t W W N s   i n   y o u r   V o l u m e   c o n f i g u r a t i o n .   I f   m u l t i p l e   W W N s   a r e   s p e c i f i e d ,   t a r g e t W W N s   e x p e c t   t h a t   t h o s e   W W N s   a r e   f r o m   m u l t i - p a t h   c o n n e c t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12374"
  },
  {
    "question": "What is gcePersistentDisk (deprecated)?",
    "answer": "I n   K u b e r n e t e s   1 . 3 4 ,   a l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   g c e P e r s i s t e n t D i s k   t y p e   a r e   r e d i r e c t e d   t o   t h e   p d . c s i . s t o r a g e . g k e . i o   C S I   d r i v e r .   T h e   g c e P e r s i s t e n t D i s k   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 1 7   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 2 8   r e l e a s e .   T h e   K u b e r n e t e s   p r o j e c t   s u g g e s t s   t h a t   y o u   u s e   t h e   G o o g l e   C o m p u t e   E n g i n e   P e r s i s t e n t   D i s k   C S I   t h i r d   p a r t y   s t o r a g e   d r i v e r   i n s t e a d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12375"
  },
  {
    "question": "What is Warning:?",
    "answer": "T h e   g i t R e p o   v o l u m e   p l u g i n   i s   d e p r e c a t e d   a n d   i s   d i s a b l e d   b y   d e f a u l t .   T o   p r o v i s i o n   a   P o d   t h a t   h a s   a   G i t   r e p o s i t o r y   m o u n t e d ,   y o u   c a n   m o u n t   a n   e m p t y D i r   v o l u m e   i n t o   a n   i n i t   c o n t a i n e r   t h a t   c l o n e s   t h e   r e p o   u s i n g   G i t ,   t h e n   m o u n t   t h e   E m p t y D i r   i n t o   t h e   P o d ' s   c o n t a i n e r .   Y o u   c a n   r e s t r i c t   t h e   u s e   o f   g i t R e p o   v o l u m e s   i n   y o u r   c l u s t e r   u s i n g   p o l i c i e s ,   s u c h   a s   V a l i d a t i n g A d m i s s i o n P o l i c y .   Y o u   c a n   u s e   t h e   f o l l o w i n g   C o m m o n   E x p r e s s i o n   L a n g u a g e   ( C E L )   e x p r e s s i o n   a s   p a r t   o f   a   p o l i c y   t o   r e j e c t   u s e   o f   g i t R e p o   v o l u m e s :   ! h a s ( o b j e c t . s p e c . v o l u m e s )   | |   ! o b j e c t . s p e c . v o l u m e s . e x i s t s ( v ,   h a s ( v . g i t R e p o ) )   Y o u   c a n   u s e   t h i s   d e p r e c a t e d   s t o r a g e   p l u g i n   i n   y o u r   c l u s t e r   i f   y o u   e x p l i c i t l y   e n a b l e   t h e   G i t R e p o V o l u m e D r i v e r   f e a t u r e   g a t e .   A   g i t R e p o   v o l u m e   i s   a n   e x a m p l e   o f   a   v o l u m e   p l u g i n .   T h i s   p l u g i n   m o u n t s   a n   e m p t y   d i r e c t o r y   a n d   c l o n e s   a   g i t   r e p o s i t o r y   i n t o   t h i s   d i r e c t o r y   f o r   y o u r   P o d   t o   u s e .   H e r e   i s   a n   e x a m p l e   o f   a   g i t R e p o   v o l u m e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s e r v e r   s p e c :   c o n t a i n e r s :   -   i m a g e :   n g i n x   n a m e :   n g i n x   v o l u m e M o u n t s :   -   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12376"
  },
  {
    "question": "What is glusterfs (removed)?",
    "answer": "K u b e r n e t e s   1 . 3 4   d o e s   n o t   i n c l u d e   a   g l u s t e r f s   v o l u m e   t y p e .   T h e   G l u s t e r F S   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 2 5   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 2 6   r e l e a s e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12377"
  },
  {
    "question": "What is hostPath?",
    "answer": "A   h o s t P a t h   v o l u m e   m o u n t s   a   f i l e   o r   d i r e c t o r y   f r o m   t h e   h o s t   n o d e ' s   f i l e s y s t e m   i n t o   y o u r   P o d .   T h i s   i s   n o t   s o m e t h i n g   t h a t   m o s t   P o d s   w i l l   n e e d ,   b u t   i t   o f f e r s   a   p o w e r f u l   e s c a p e   h a t c h   f o r   s o m e   a p p l i c a t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12378"
  },
  {
    "question": "What is Warning:?",
    "answer": "U s i n g   t h e   h o s t P a t h   v o l u m e   t y p e   p r e s e n t s   m a n y   s e c u r i t y   r i s k s .   I f   y o u   c a n   a v o i d   u s i n g   a   h o s t P a t h   v o l u m e ,   y o u   s h o u l d .   F o r   e x a m p l e ,   d e f i n e   a   l o c a l   P e r s i s t e n t V o l u m e ,   a n d   u s e   t h a t   i n s t e a d .   I f   y o u   a r e   r e s t r i c t i n g   a c c e s s   t o   s p e c i f i c   d i r e c t o r i e s   o n   t h e   n o d e   u s i n g   a d m i s s i o n - t i m e   v a l i d a t i o n ,   t h a t   r e s t r i c t i o n   i s   o n l y   e f f e c t i v e   w h e n   y o u   a d d i t i o n a l l y   r e q u i r e   t h a t   a n y   m o u n t s   o f   t h a t   h o s t P a t h   v o l u m e   a r e   r e a d   o n l y .   I f   y o u   a l l o w   a   r e a d - w r i t e   m o u n t   o f   a n y   h o s t   p a t h   b y   a n   u n t r u s t e d   P o d ,   t h e   c o n t a i n e r s   i n   t h a t   P o d   m a y   b e   a b l e   t o   s u b v e r t   t h e   r e a d - w r i t e   h o s t   m o u n t .   T a k e   c a r e   w h e n   u s i n g   h o s t P a t h   v o l u m e s ,   w h e t h e r   t h e s e   a r e   m o u n t e d   a s   r e a d - o n l y   o r   a s   r e a d - w r i t e ,   b e c a u s e :   A c c e s s   t o   t h e   h o s t   f i l e s y s t e m   c a n   e x p o s e   p r i v i l e g e d   s y s t e m   c r e d e n t i a l s   ( s u c h   a s   f o r   t h e   k u b e l e t )   o r   p r i v i l e g e d   A P I s   ( s u c h   a s   t h e   c o n t a i n e r   r u n t i m e   s o c k e t )   t h a t   c a n   b e   u s e d   f o r   c o n t a i n e r   e s c a p e   o r   t o   a t t a c k   o t h e r   p a r t s   o f   t h e   c l u s t e r . P o d s   w i t h   i d e n t i c a l   c o n f i g u r a t i o n   ( s u c h   a s   c r e a t e d   f r o m   a   P o d T e m p l a t e )   m a y   b e h a v e   d i f f e r e n t l y   o n   d i f f e r e n t   n o d e s   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12379"
  },
  {
    "question": "What is hostPath volume types?",
    "answer": "I n   a d d i t i o n   t o   t h e   r e q u i r e d   p a t h   p r o p e r t y ,   y o u   c a n   o p t i o n a l l y   s p e c i f y   a   t y p e   f o r   a   h o s t P a t h   v o l u m e .   T h e   a v a i l a b l e   v a l u e s   f o r   t y p e   a r e :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12380"
  },
  {
    "question": "What is Caution:?",
    "answer": "S o m e   f i l e s   o r   d i r e c t o r i e s   c r e a t e d   o n   t h e   u n d e r l y i n g   h o s t s   m i g h t   o n l y   b e   a c c e s s i b l e   b y   r o o t .   Y o u   t h e n   e i t h e r   n e e d   t o   r u n   y o u r   p r o c e s s   a s   r o o t   i n   a   p r i v i l e g e d   c o n t a i n e r   o r   m o d i f y   t h e   f i l e   p e r m i s s i o n s   o n   t h e   h o s t   t o   r e a d   f r o m   o r   w r i t e   t o   a   h o s t P a t h   v o l u m e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12381"
  },
  {
    "question": "What is hostPath configuration example?",
    "answer": "- - -   #   T h i s   m a n i f e s t   m o u n t s   / d a t a / f o o   o n   t h e   h o s t   a s   / f o o   i n s i d e   t h e   #   s i n g l e   c o n t a i n e r   t h a t   r u n s   w i t h i n   t h e   h o s t p a t h - e x a m p l e - l i n u x   P o d .   #   #   T h e   m o u n t   i n t o   t h e   c o n t a i n e r   i s   r e a d - o n l y .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   h o s t p a t h - e x a m p l e - l i n u x   s p e c :   o s :   {   n a m e :   l i n u x   }   n o d e S e l e c t o r :   k u b e r n e t e s . i o / o s :   l i n u x   c o n t a i n e r s :   -   n a m e :   e x a m p l e - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / t e s t - w e b s e r v e r   v o l u m e M o u n t s :   -   m o u n t P a t h :   / f o o   n a m e :   e x a m p l e - v o l u m e   r e a d O n l y :   t r u e   v o l u m e s :   -   n a m e :   e x a m p l e - v o l u m e   #   m o u n t   / d a t a / f o o ,   b u t   o n l y   i f   t h a t   d i r e c t o r y   a l r e a d y   e x i s t s   h o s t P a t h :   p a t h :   / d a t a / f o o   #   d i r e c t o r y   l o c a t i o n   o n   h o s t   t y p e :   D i r e c t o r y   #   t h i s   f i e l d   i s   o p t i o n a l   - - -   #   T h i s   m a n i f e s t   m o u n t s   / d a t a / f o o   o n   t h e   h o s t   a s   / f o o   i n s i d e   t h e   #   s i n g l e   c o n t a i n e r   t h a t   r u n s   w i t h i n   t h e   h o s t p a t h - e x a m p l e - l i n u x   P o d .   #   #   T h e   m o u n t   i n t o   t h e   c o n t a i n e r   i s   r e a d - o n l y .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   h o s t p a t h - e x a m p l e - l i n u x   s p e c :   o s :   {   n a m e :   l i n u x   }   n o d e S e l e c t o r :   k u b e r n e t e s . i o / o s :   l i n u x   c o n t a i n e r s :   -   n a m e :   e x a m p l e - c o n t a i n e r   i m a g e :   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12382"
  },
  {
    "question": "What is hostPath FileOrCreate configuration example?",
    "answer": "T h e   f o l l o w i n g   m a n i f e s t   d e f i n e s   a   P o d   t h a t   m o u n t s   / v a r / l o c a l / a a a   i n s i d e   t h e   s i n g l e   c o n t a i n e r   i n   t h e   P o d .   I f   t h e   n o d e   d o e s   n o t   a l r e a d y   h a v e   a   p a t h   / v a r / l o c a l / a a a ,   t h e   k u b e l e t   c r e a t e s   i t   a s   a   d i r e c t o r y   a n d   t h e n   m o u n t s   i t   i n t o   t h e   P o d .   I f   / v a r / l o c a l / a a a   a l r e a d y   e x i s t s   b u t   i s   n o t   a   d i r e c t o r y ,   t h e   P o d   f a i l s .   A d d i t i o n a l l y ,   t h e   k u b e l e t   a t t e m p t s   t o   m a k e   a   f i l e   n a m e d   / v a r / l o c a l / a a a / 1 . t x t   i n s i d e   t h a t   d i r e c t o r y   ( a s   s e e n   f r o m   t h e   h o s t ) ;   i f   s o m e t h i n g   a l r e a d y   e x i s t s   a t   t h a t   p a t h   a n d   i s n ' t   a   r e g u l a r   f i l e ,   t h e   P o d   f a i l s .   H e r e ' s   t h e   e x a m p l e   m a n i f e s t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t - w e b s e r v e r   s p e c :   o s :   {   n a m e :   l i n u x   }   n o d e S e l e c t o r :   k u b e r n e t e s . i o / o s :   l i n u x   c o n t a i n e r s :   -   n a m e :   t e s t - w e b s e r v e r   i m a g e :   r e g i s t r y . k 8 s . i o / t e s t - w e b s e r v e r : l a t e s t   v o l u m e M o u n t s :   -   m o u n t P a t h :   / v a r / l o c a l / a a a   n a m e :   m y d i r   -   m o u n t P a t h :   / v a r / l o c a l / a a a / 1 . t x t   n a m e :   m y f i l e   v o l u m e s :   -   n a m e :   m y d i r   h o s t P a t h :   #   E n s u r e   t h e   f i l e   d i r e c t o r y   i s   c r e a t e d .   p a t h :   / v a r / l o c a l / a a a   t y p e :   D i r e c t o r y O r C r e a t e   -   n a m e :   m y f i l e   h o s t P a t h :   p a t h :   / v a r / l o c a l / ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12383"
  },
  {
    "question": "What is image?",
    "answer": "A n   i m a g e   v o l u m e   s o u r c e   r e p r e s e n t s   a n   O C I   o b j e c t   ( a   c o n t a i n e r   i m a g e   o r   a r t i f a c t )   w h i c h   i s   a v a i l a b l e   o n   t h e   k u b e l e t ' s   h o s t   m a c h i n e .   A n   e x a m p l e   o f   u s i n g   t h e   i m a g e   v o l u m e   s o u r c e   i s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   i m a g e - v o l u m e   s p e c :   c o n t a i n e r s :   -   n a m e :   s h e l l   c o m m a n d :   [ \" s l e e p \" ,   \" i n f i n i t y \" ]   i m a g e :   d e b i a n   v o l u m e M o u n t s :   -   n a m e :   v o l u m e   m o u n t P a t h :   / v o l u m e   v o l u m e s :   -   n a m e :   v o l u m e   i m a g e :   r e f e r e n c e :   q u a y . i o / c r i o / a r t i f a c t : v 2   p u l l P o l i c y :   I f N o t P r e s e n t   T h e   v o l u m e   i s   r e s o l v e d   a t   p o d   s t a r t u p   d e p e n d i n g   o n   w h i c h   p u l l P o l i c y   v a l u e   i s   p r o v i d e d :   T h e   v o l u m e   g e t s   r e - r e s o l v e d   i f   t h e   p o d   g e t s   d e l e t e d   a n d   r e c r e a t e d ,   w h i c h   m e a n s   t h a t   n e w   r e m o t e   c o n t e n t   w i l l   b e c o m e   a v a i l a b l e   o n   p o d   r e c r e a t i o n .   A   f a i l u r e   t o   r e s o l v e   o r   p u l l   t h e   i m a g e   d u r i n g   p o d   s t a r t u p   w i l l   b l o c k   c o n t a i n e r s   f r o m   s t a r t i n g   a n d   m a y   a d d   s i g n i f i c a n t   l a t e n c y .   F a i l u r e s   w i l l   b e   r e t r i e d   u s i n g   n o r m a l   v o l u m e   b a c k o f f   a n d   w i l l   b e   r e p o r t e d   o n   t h e   p o d   r e a s o n   a n d   m e s s a g e .   T h e   t y p e s   o f   o b j e c t s   t h a t   m a y   b e   m o u n t e d   b y   t h i s   v o l u m e   a r e   d e f i n e d   b y   t h e   c o n t a i n e r   r u n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12384"
  },
  {
    "question": "What is iscsi?",
    "answer": "A n   i s c s i   v o l u m e   a l l o w s   a n   e x i s t i n g   i S C S I   ( S C S I   o v e r   I P )   v o l u m e   t o   b e   m o u n t e d   i n t o   y o u r   P o d .   U n l i k e   e m p t y D i r ,   w h i c h   i s   e r a s e d   w h e n   a   P o d   i s   r e m o v e d ,   t h e   c o n t e n t s   o f   a n   i s c s i   v o l u m e   a r e   p r e s e r v e d   a n d   t h e   v o l u m e   i s   m e r e l y   u n m o u n t e d .   T h i s   m e a n s   t h a t   a n   i s c s i   v o l u m e   c a n   b e   p r e - p o p u l a t e d   w i t h   d a t a ,   a n d   t h a t   d a t a   c a n   b e   s h a r e d   b e t w e e n   p o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12385"
  },
  {
    "question": "What is Note:?",
    "answer": "A   f e a t u r e   o f   i S C S I   i s   t h a t   i t   c a n   b e   m o u n t e d   a s   r e a d - o n l y   b y   m u l t i p l e   c o n s u m e r s   s i m u l t a n e o u s l y .   T h i s   m e a n s   t h a t   y o u   c a n   p r e - p o p u l a t e   a   v o l u m e   w i t h   y o u r   d a t a s e t   a n d   t h e n   s e r v e   i t   i n   p a r a l l e l   f r o m   a s   m a n y   P o d s   a s   y o u   n e e d .   U n f o r t u n a t e l y ,   i S C S I   v o l u m e s   c a n   o n l y   b e   m o u n t e d   b y   a   s i n g l e   c o n s u m e r   i n   r e a d - w r i t e   m o d e .   S i m u l t a n e o u s   w r i t e r s   a r e   n o t   a l l o w e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12386"
  },
  {
    "question": "What is local?",
    "answer": "A   l o c a l   v o l u m e   r e p r e s e n t s   a   m o u n t e d   l o c a l   s t o r a g e   d e v i c e   s u c h   a s   a   d i s k ,   p a r t i t i o n   o r   d i r e c t o r y .   L o c a l   v o l u m e s   c a n   o n l y   b e   u s e d   a s   a   s t a t i c a l l y   c r e a t e d   P e r s i s t e n t V o l u m e .   D y n a m i c   p r o v i s i o n i n g   i s   n o t   s u p p o r t e d .   C o m p a r e d   t o   h o s t P a t h   v o l u m e s ,   l o c a l   v o l u m e s   a r e   u s e d   i n   a   d u r a b l e   a n d   p o r t a b l e   m a n n e r   w i t h o u t   m a n u a l l y   s c h e d u l i n g   p o d s   t o   n o d e s .   T h e   s y s t e m   i s   a w a r e   o f   t h e   v o l u m e ' s   n o d e   c o n s t r a i n t s   b y   l o o k i n g   a t   t h e   n o d e   a f f i n i t y   o n   t h e   P e r s i s t e n t V o l u m e .   H o w e v e r ,   l o c a l   v o l u m e s   a r e   s u b j e c t   t o   t h e   a v a i l a b i l i t y   o f   t h e   u n d e r l y i n g   n o d e   a n d   a r e   n o t   s u i t a b l e   f o r   a l l   a p p l i c a t i o n s .   I f   a   n o d e   b e c o m e s   u n h e a l t h y ,   t h e n   t h e   l o c a l   v o l u m e   b e c o m e s   i n a c c e s s i b l e   t o   t h e   p o d .   T h e   p o d   u s i n g   t h i s   v o l u m e   i s   u n a b l e   t o   r u n .   A p p l i c a t i o n s   u s i n g   l o c a l   v o l u m e s   m u s t   b e   a b l e   t o   t o l e r a t e   t h i s   r e d u c e d   a v a i l a b i l i t y ,   a s   w e l l   a s   p o t e n t i a l   d a t a   l o s s ,   d e p e n d i n g   o n   t h e   d u r a b i l i t y   c h a r a c t e r i s t i c s   o f   t h e   u n d e r l y i n g   d i s k .   T h e   f o l l o w i n g   e x a m p l e   s h o w s   a   P e r s i s t e n t V o l u m e   u s i n g   a   l o c a l   v o l u m e   a n d   n o d e A f f i n i t y :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12387"
  },
  {
    "question": "What is nfs?",
    "answer": "A n   n f s   v o l u m e   a l l o w s   a n   e x i s t i n g   N F S   ( N e t w o r k   F i l e   S y s t e m )   s h a r e   t o   b e   m o u n t e d   i n t o   a   P o d .   U n l i k e   e m p t y D i r ,   w h i c h   i s   e r a s e d   w h e n   a   P o d   i s   r e m o v e d ,   t h e   c o n t e n t s   o f   a n   n f s   v o l u m e   a r e   p r e s e r v e d   a n d   t h e   v o l u m e   i s   m e r e l y   u n m o u n t e d .   T h i s   m e a n s   t h a t   a n   N F S   v o l u m e   c a n   b e   p r e - p o p u l a t e d   w i t h   d a t a ,   a n d   t h a t   d a t a   c a n   b e   s h a r e d   b e t w e e n   p o d s .   N F S   c a n   b e   m o u n t e d   b y   m u l t i p l e   w r i t e r s   s i m u l t a n e o u s l y .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t - p d   s p e c :   c o n t a i n e r s :   -   i m a g e :   r e g i s t r y . k 8 s . i o / t e s t - w e b s e r v e r   n a m e :   t e s t - c o n t a i n e r   v o l u m e M o u n t s :   -   m o u n t P a t h :   / m y - n f s - d a t a   n a m e :   t e s t - v o l u m e   v o l u m e s :   -   n a m e :   t e s t - v o l u m e   n f s :   s e r v e r :   m y - n f s - s e r v e r . e x a m p l e . c o m   p a t h :   / m y - n f s - v o l u m e   r e a d O n l y :   t r u e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12388"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   m u s t   h a v e   y o u r   o w n   N F S   s e r v e r   r u n n i n g   w i t h   t h e   s h a r e   e x p o r t e d   b e f o r e   y o u   c a n   u s e   i t .   A l s o   n o t e   t h a t   y o u   c a n ' t   s p e c i f y   N F S   m o u n t   o p t i o n s   i n   a   P o d   s p e c .   Y o u   c a n   e i t h e r   s e t   m o u n t   o p t i o n s   s e r v e r - s i d e   o r   u s e   / e t c / n f s m o u n t . c o n f .   Y o u   c a n   a l s o   m o u n t   N F S   v o l u m e s   v i a   P e r s i s t e n t V o l u m e s   w h i c h   d o   a l l o w   y o u   t o   s e t   m o u n t   o p t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12389"
  },
  {
    "question": "What is persistentVolumeClaim?",
    "answer": "A   p e r s i s t e n t V o l u m e C l a i m   v o l u m e   i s   u s e d   t o   m o u n t   a   P e r s i s t e n t V o l u m e   i n t o   a   P o d .   P e r s i s t e n t V o l u m e C l a i m s   a r e   a   w a y   f o r   u s e r s   t o   \" c l a i m \"   d u r a b l e   s t o r a g e   ( s u c h   a s   a n   i S C S I   v o l u m e )   w i t h o u t   k n o w i n g   t h e   d e t a i l s   o f   t h e   p a r t i c u l a r   c l o u d   e n v i r o n m e n t .   S e e   t h e   i n f o r m a t i o n   a b o u t   P e r s i s t e n t V o l u m e s   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12390"
  },
  {
    "question": "What is portworxVolume (deprecated)?",
    "answer": "A   p o r t w o r x V o l u m e   i s   a n   e l a s t i c   b l o c k   s t o r a g e   l a y e r   t h a t   r u n s   h y p e r c o n v e r g e d   w i t h   K u b e r n e t e s .   P o r t w o r x   f i n g e r p r i n t s   s t o r a g e   i n   a   s e r v e r ,   t i e r s   b a s e d   o n   c a p a b i l i t i e s ,   a n d   a g g r e g a t e s   c a p a c i t y   a c r o s s   m u l t i p l e   s e r v e r s .   P o r t w o r x   r u n s   i n - g u e s t   i n   v i r t u a l   m a c h i n e s   o r   o n   b a r e   m e t a l   L i n u x   n o d e s .   A   p o r t w o r x V o l u m e   c a n   b e   d y n a m i c a l l y   c r e a t e d   t h r o u g h   K u b e r n e t e s   o r   i t   c a n   a l s o   b e   p r e - p r o v i s i o n e d   a n d   r e f e r e n c e d   i n s i d e   a   P o d .   H e r e   i s   a n   e x a m p l e   P o d   r e f e r e n c i n g   a   p r e - p r o v i s i o n e d   P o r t w o r x   v o l u m e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t - p o r t w o r x - v o l u m e - p o d   s p e c :   c o n t a i n e r s :   -   i m a g e :   r e g i s t r y . k 8 s . i o / t e s t - w e b s e r v e r   n a m e :   t e s t - c o n t a i n e r   v o l u m e M o u n t s :   -   m o u n t P a t h :   / m n t   n a m e :   p x v o l   v o l u m e s :   -   n a m e :   p x v o l   #   T h i s   P o r t w o r x   v o l u m e   m u s t   a l r e a d y   e x i s t .   p o r t w o r x V o l u m e :   v o l u m e I D :   \" p x v o l \"   f s T y p e :   \" < f s - t y p e > \"",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12391"
  },
  {
    "question": "What is Portworx CSI migration?",
    "answer": "I n   K u b e r n e t e s   1 . 3 4 ,   a l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   P o r t w o r x   v o l u m e s   a r e   r e d i r e c t e d   t o   t h e   p x d . p o r t w o r x . c o m   C o n t a i n e r   S t o r a g e   I n t e r f a c e   ( C S I )   D r i v e r   b y   d e f a u l t . P o r t w o r x   C S I   D r i v e r   m u s t   b e   i n s t a l l e d   o n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12392"
  },
  {
    "question": "What is projected?",
    "answer": "A   p r o j e c t e d   v o l u m e   m a p s   s e v e r a l   e x i s t i n g   v o l u m e   s o u r c e s   i n t o   t h e   s a m e   d i r e c t o r y .   F o r   m o r e   d e t a i l s ,   s e e   p r o j e c t e d   v o l u m e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12393"
  },
  {
    "question": "What is rbd (removed)?",
    "answer": "K u b e r n e t e s   1 . 3 4   d o e s   n o t   i n c l u d e   a   r b d   v o l u m e   t y p e .   T h e   R a d o s   B l o c k   D e v i c e   ( R B D )   i n - t r e e   s t o r a g e   d r i v e r   a n d   i t s   c s i   m i g r a t i o n   s u p p o r t   w e r e   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 2 8   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 3 1   r e l e a s e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12394"
  },
  {
    "question": "What is secret?",
    "answer": "A   s e c r e t   v o l u m e   i s   u s e d   t o   p a s s   s e n s i t i v e   i n f o r m a t i o n ,   s u c h   a s   p a s s w o r d s ,   t o   P o d s .   Y o u   c a n   s t o r e   s e c r e t s   i n   t h e   K u b e r n e t e s   A P I   a n d   m o u n t   t h e m   a s   f i l e s   f o r   u s e   b y   p o d s   w i t h o u t   c o u p l i n g   t o   K u b e r n e t e s   d i r e c t l y .   s e c r e t   v o l u m e s   a r e   b a c k e d   b y   t m p f s   ( a   R A M - b a c k e d   f i l e s y s t e m )   s o   t h e y   a r e   n e v e r   w r i t t e n   t o   n o n - v o l a t i l e   s t o r a g e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12395"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   m u s t   c r e a t e   a   S e c r e t   i n   t h e   K u b e r n e t e s   A P I   b e f o r e   y o u   c a n   u s e   i t . A   S e c r e t   i s   a l w a y s   m o u n t e d   a s   r e a d O n l y . A   c o n t a i n e r   u s i n g   a   S e c r e t   a s   a   s u b P a t h   v o l u m e   m o u n t   w i l l   n o t   r e c e i v e   S e c r e t   u p d a t e s .   Y o u   m u s t   c r e a t e   a   S e c r e t   i n   t h e   K u b e r n e t e s   A P I   b e f o r e   y o u   c a n   u s e   i t .   A   S e c r e t   i s   a l w a y s   m o u n t e d   a s   r e a d O n l y .   A   c o n t a i n e r   u s i n g   a   S e c r e t   a s   a   s u b P a t h   v o l u m e   m o u n t   w i l l   n o t   r e c e i v e   S e c r e t   u p d a t e s .   F o r   m o r e   d e t a i l s ,   s e e   C o n f i g u r i n g   S e c r e t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12396"
  },
  {
    "question": "What is vsphereVolume (deprecated)?",
    "answer": "I n   K u b e r n e t e s   1 . 3 4 ,   a l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   v s p h e r e V o l u m e   t y p e   a r e   r e d i r e c t e d   t o   t h e   c s i . v s p h e r e . v m w a r e . c o m   C S I   d r i v e r .   T h e   v s p h e r e V o l u m e   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 1 9   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 3 0   r e l e a s e .   T h e   K u b e r n e t e s   p r o j e c t   s u g g e s t s   t h a t   y o u   u s e   t h e   v S p h e r e   C S I   t h i r d   p a r t y   s t o r a g e   d r i v e r   i n s t e a d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12397"
  },
  {
    "question": "What is Using subPath?",
    "answer": "S o m e t i m e s ,   i t   i s   u s e f u l   t o   s h a r e   o n e   v o l u m e   f o r   m u l t i p l e   u s e s   i n   a   s i n g l e   p o d .   T h e   v o l u m e M o u n t s [ * ] . s u b P a t h   p r o p e r t y   s p e c i f i e s   a   s u b - p a t h   i n s i d e   t h e   r e f e r e n c e d   v o l u m e   i n s t e a d   o f   i t s   r o o t .   T h e   f o l l o w i n g   e x a m p l e   s h o w s   h o w   t o   c o n f i g u r e   a   P o d   w i t h   a   L A M P   s t a c k   ( L i n u x   A p a c h e   M y S Q L   P H P )   u s i n g   a   s i n g l e ,   s h a r e d   v o l u m e .   T h i s   s a m p l e   s u b P a t h   c o n f i g u r a t i o n   i s   n o t   r e c o m m e n d e d   f o r   p r o d u c t i o n   u s e .   T h e   P H P   a p p l i c a t i o n ' s   c o d e   a n d   a s s e t s   m a p   t o   t h e   v o l u m e ' s   h t m l   f o l d e r   a n d   t h e   M y S Q L   d a t a b a s e   i s   s t o r e d   i n   t h e   v o l u m e ' s   m y s q l   f o l d e r .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y - l a m p - s i t e   s p e c :   c o n t a i n e r s :   -   n a m e :   m y s q l   i m a g e :   m y s q l   e n v :   -   n a m e :   M Y S Q L _ R O O T _ P A S S W O R D   v a l u e :   \" r o o t p a s s w d \"   v o l u m e M o u n t s :   -   m o u n t P a t h :   / v a r / l i b / m y s q l   n a m e :   s i t e - d a t a   s u b P a t h :   m y s q l   -   n a m e :   p h p   i m a g e :   p h p : 7 . 0 - a p a c h e   v o l u m e M o u n t s :   -   m o u n t P a t h :   / v a r / w w w / h t m l   n a m e :   s i t e - d a t a   s u b P a t h :   h t m l   v o l u m e s :   -   n a m e :   s i t e - d a t a   p e r s i s t e n t V o l u m e C l a i m :   c l a i m N a m e :   m y - l a m p - s i t e - d a t a",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12398"
  },
  {
    "question": "What is Using subPath with expanded environment variables?",
    "answer": "U s e   t h e   s u b P a t h E x p r   f i e l d   t o   c o n s t r u c t   s u b P a t h   d i r e c t o r y   n a m e s   f r o m   d o w n w a r d   A P I   e n v i r o n m e n t   v a r i a b l e s .   T h e   s u b P a t h   a n d   s u b P a t h E x p r   p r o p e r t i e s   a r e   m u t u a l l y   e x c l u s i v e .   I n   t h i s   e x a m p l e ,   a   P o d   u s e s   s u b P a t h E x p r   t o   c r e a t e   a   d i r e c t o r y   p o d 1   w i t h i n   t h e   h o s t P a t h   v o l u m e   / v a r / l o g / p o d s .   T h e   h o s t P a t h   v o l u m e   t a k e s   t h e   P o d   n a m e   f r o m   t h e   d o w n w a r d A P I .   T h e   h o s t   d i r e c t o r y   / v a r / l o g / p o d s / p o d 1   i s   m o u n t e d   a t   / l o g s   i n   t h e   c o n t a i n e r .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p o d 1   s p e c :   c o n t a i n e r s :   -   n a m e :   c o n t a i n e r 1   e n v :   -   n a m e :   P O D _ N A M E   v a l u e F r o m :   f i e l d R e f :   a p i V e r s i o n :   v 1   f i e l d P a t h :   m e t a d a t a . n a m e   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [   \" s h \" ,   \" - c \" ,   \" w h i l e   [   t r u e   ] ;   d o   e c h o   ' H e l l o ' ;   s l e e p   1 0 ;   d o n e   |   t e e   - a   / l o g s / h e l l o . t x t \"   ]   v o l u m e M o u n t s :   -   n a m e :   w o r k d i r 1   m o u n t P a t h :   / l o g s   #   T h e   v a r i a b l e   e x p a n s i o n   u s e s   r o u n d   b r a c k e t s   ( n o t   c u r l y   b r a c k e t s ) .   s u b P a t h E x p r :   $ ( P O D _ N A M E )   r e s t a r t P o l i c y :   N e v e r   v o l u m e s :   -   n a m e :   w o r k d i r 1   h o s t P a t h :   p a t h :   / v a r / l o g / p o d s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12399"
  },
  {
    "question": "What is Resources?",
    "answer": "T h e   s t o r a g e   m e d i u m   ( s u c h   a s   D i s k   o r   S S D )   o f   a n   e m p t y D i r   v o l u m e   i s   d e t e r m i n e d   b y   t h e   m e d i u m   o f   t h e   f i l e s y s t e m   h o l d i n g   t h e   k u b e l e t   r o o t   d i r   ( t y p i c a l l y   / v a r / l i b / k u b e l e t ) .   T h e r e   i s   n o   l i m i t   o n   h o w   m u c h   s p a c e   a n   e m p t y D i r   o r   h o s t P a t h   v o l u m e   c a n   c o n s u m e ,   a n d   n o   i s o l a t i o n   b e t w e e n   c o n t a i n e r s   o r   p o d s .   T o   l e a r n   a b o u t   r e q u e s t i n g   s p a c e   u s i n g   a   r e s o u r c e   s p e c i f i c a t i o n ,   s e e   h o w   t o   m a n a g e   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12400"
  },
  {
    "question": "What is Out-of-tree volume plugins?",
    "answer": "T h e   o u t - o f - t r e e   v o l u m e   p l u g i n s   i n c l u d e   C o n t a i n e r   S t o r a g e   I n t e r f a c e   ( C S I ) ,   a n d   a l s o   F l e x V o l u m e   ( w h i c h   i s   d e p r e c a t e d ) .   T h e s e   p l u g i n s   e n a b l e   s t o r a g e   v e n d o r s   t o   c r e a t e   c u s t o m   s t o r a g e   p l u g i n s   w i t h o u t   a d d i n g   t h e i r   p l u g i n   s o u r c e   c o d e   t o   t h e   K u b e r n e t e s   r e p o s i t o r y .   P r e v i o u s l y ,   a l l   v o l u m e   p l u g i n s   w e r e   \" i n - t r e e \" .   T h e   \" i n - t r e e \"   p l u g i n s   w e r e   b u i l t ,   l i n k e d ,   c o m p i l e d ,   a n d   s h i p p e d   w i t h   t h e   c o r e   K u b e r n e t e s   b i n a r i e s .   T h i s   m e a n t   t h a t   a d d i n g   a   n e w   s t o r a g e   s y s t e m   t o   K u b e r n e t e s   ( a   v o l u m e   p l u g i n )   r e q u i r e d   c h e c k i n g   c o d e   i n t o   t h e   c o r e   K u b e r n e t e s   c o d e   r e p o s i t o r y .   B o t h   C S I   a n d   F l e x V o l u m e   a l l o w   v o l u m e   p l u g i n s   t o   b e   d e v e l o p e d   i n d e p e n d e n t l y   o f   t h e   K u b e r n e t e s   c o d e   b a s e ,   a n d   d e p l o y e d   ( i n s t a l l e d )   o n   K u b e r n e t e s   c l u s t e r s   a s   e x t e n s i o n s .   F o r   s t o r a g e   v e n d o r s   l o o k i n g   t o   c r e a t e   a n   o u t - o f - t r e e   v o l u m e   p l u g i n ,   p l e a s e   r e f e r   t o   t h e   v o l u m e   p l u g i n   F A Q .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12401"
  },
  {
    "question": "What is csi?",
    "answer": "C o n t a i n e r   S t o r a g e   I n t e r f a c e   ( C S I )   d e f i n e s   a   s t a n d a r d   i n t e r f a c e   f o r   c o n t a i n e r   o r c h e s t r a t i o n   s y s t e m s   ( l i k e   K u b e r n e t e s )   t o   e x p o s e   a r b i t r a r y   s t o r a g e   s y s t e m s   t o   t h e i r   c o n t a i n e r   w o r k l o a d s .   P l e a s e   r e a d   t h e   C S I   d e s i g n   p r o p o s a l   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12402"
  },
  {
    "question": "What is Note:?",
    "answer": "O n c e   a   C S I - c o m p a t i b l e   v o l u m e   d r i v e r   i s   d e p l o y e d   o n   a   K u b e r n e t e s   c l u s t e r ,   u s e r s   m a y   u s e   t h e   c s i   v o l u m e   t y p e   t o   a t t a c h   o r   m o u n t   t h e   v o l u m e s   e x p o s e d   b y   t h e   C S I   d r i v e r .   A   c s i   v o l u m e   c a n   b e   u s e d   i n   a   P o d   i n   t h r e e   d i f f e r e n t   w a y s :   t h r o u g h   a   r e f e r e n c e   t o   a   P e r s i s t e n t V o l u m e C l a i m w i t h   a   g e n e r i c   e p h e m e r a l   v o l u m e w i t h   a   C S I   e p h e m e r a l   v o l u m e   i f   t h e   d r i v e r   s u p p o r t s   t h a t   T h e   f o l l o w i n g   f i e l d s   a r e   a v a i l a b l e   t o   s t o r a g e   a d m i n i s t r a t o r s   t o   c o n f i g u r e   a   C S I   p e r s i s t e n t   v o l u m e :   d r i v e r :   A   s t r i n g   v a l u e   t h a t   s p e c i f i e s   t h e   n a m e   o f   t h e   v o l u m e   d r i v e r   t o   u s e .   T h i s   v a l u e   m u s t   c o r r e s p o n d   t o   t h e   v a l u e   r e t u r n e d   i n   t h e   G e t P l u g i n I n f o R e s p o n s e   b y   t h e   C S I   d r i v e r   a s   d e f i n e d   i n   t h e   C S I   s p e c .   I t   i s   u s e d   b y   K u b e r n e t e s   t o   i d e n t i f y   w h i c h   C S I   d r i v e r   t o   c a l l   o u t   t o ,   a n d   b y   C S I   d r i v e r   c o m p o n e n t s   t o   i d e n t i f y   w h i c h   P V   o b j e c t s   b e l o n g   t o   t h e   C S I   d r i v e r . v o l u m e H a n d l e :   A   s t r i n g   v a l u e   t h a t   u n i q u e l y   i d e n t i f i e s   t h e   v o l u m e .   T h i s   v a l u e   m u s t   c o r r e s p o n d   t o   t h e   v a l u e   r e t u r n e d   i n   t h e   v o l u m e . i d   f i e l d   o f   t h e   C r e a t e V o l u m e R e s p o n s e   b y   t h e   C S I   d r i v e r   a s   d e f i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12403"
  },
  {
    "question": "What is CSI raw block volume support?",
    "answer": "V e n d o r s   w i t h   e x t e r n a l   C S I   d r i v e r s   c a n   i m p l e m e n t   r a w   b l o c k   v o l u m e   s u p p o r t   i n   K u b e r n e t e s   w o r k l o a d s .   Y o u   c a n   s e t   u p   y o u r   P e r s i s t e n t V o l u m e / P e r s i s t e n t V o l u m e C l a i m   w i t h   r a w   b l o c k   v o l u m e   s u p p o r t   a s   u s u a l ,   w i t h o u t   a n y   C S I - s p e c i f i c   c h a n g e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12404"
  },
  {
    "question": "What is CSI ephemeral volumes?",
    "answer": "Y o u   c a n   d i r e c t l y   c o n f i g u r e   C S I   v o l u m e s   w i t h i n   t h e   P o d   s p e c i f i c a t i o n .   V o l u m e s   s p e c i f i e d   i n   t h i s   w a y   a r e   e p h e m e r a l   a n d   d o   n o t   p e r s i s t   a c r o s s   p o d   r e s t a r t s .   S e e   E p h e m e r a l   V o l u m e s   f o r   m o r e   i n f o r m a t i o n .   F o r   m o r e   i n f o r m a t i o n   o n   h o w   t o   d e v e l o p   a   C S I   d r i v e r ,   r e f e r   t o   t h e   k u b e r n e t e s - c s i   d o c u m e n t a t i o n",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12405"
  },
  {
    "question": "What is Windows CSI proxy?",
    "answer": "C S I   n o d e   p l u g i n s   n e e d   t o   p e r f o r m   v a r i o u s   p r i v i l e g e d   o p e r a t i o n s   l i k e   s c a n n i n g   o f   d i s k   d e v i c e s   a n d   m o u n t i n g   o f   f i l e   s y s t e m s .   T h e s e   o p e r a t i o n s   d i f f e r   f o r   e a c h   h o s t   o p e r a t i n g   s y s t e m .   F o r   L i n u x   w o r k e r   n o d e s ,   c o n t a i n e r i z e d   C S I   n o d e   p l u g i n s   a r e   t y p i c a l l y   d e p l o y e d   a s   p r i v i l e g e d   c o n t a i n e r s .   F o r   W i n d o w s   w o r k e r   n o d e s ,   p r i v i l e g e d   o p e r a t i o n s   f o r   c o n t a i n e r i z e d   C S I   n o d e   p l u g i n s   i s   s u p p o r t e d   u s i n g   c s i - p r o x y ,   a   c o m m u n i t y - m a n a g e d ,   s t a n d - a l o n e   b i n a r y   t h a t   n e e d s   t o   b e   p r e - i n s t a l l e d   o n   e a c h   W i n d o w s   n o d e .   F o r   m o r e   d e t a i l s ,   r e f e r   t o   t h e   d e p l o y m e n t   g u i d e   o f   t h e   C S I   p l u g i n   y o u   w i s h   t o   d e p l o y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12406"
  },
  {
    "question": "What is Migrating to CSI drivers from in-tree plugins?",
    "answer": "T h e   C S I M i g r a t i o n   f e a t u r e   d i r e c t s   o p e r a t i o n s   a g a i n s t   e x i s t i n g   i n - t r e e   p l u g i n s   t o   c o r r e s p o n d i n g   C S I   p l u g i n s   ( w h i c h   a r e   e x p e c t e d   t o   b e   i n s t a l l e d   a n d   c o n f i g u r e d ) .   A s   a   r e s u l t ,   o p e r a t o r s   d o   n o t   h a v e   t o   m a k e   a n y   c o n f i g u r a t i o n   c h a n g e s   t o   e x i s t i n g   S t o r a g e   C l a s s e s ,   P e r s i s t e n t V o l u m e s   o r   P e r s i s t e n t V o l u m e C l a i m s   ( r e f e r r i n g   t o   i n - t r e e   p l u g i n s )   w h e n   t r a n s i t i o n i n g   t o   a   C S I   d r i v e r   t h a t   s u p e r s e d e s   a n   i n - t r e e   p l u g i n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12407"
  },
  {
    "question": "What is Note:?",
    "answer": "E x i s t i n g   P V s   c r e a t e d   b y   a n   i n - t r e e   v o l u m e   p l u g i n   c a n   s t i l l   b e   u s e d   i n   t h e   f u t u r e   w i t h o u t   a n y   c o n f i g u r a t i o n   c h a n g e s ,   e v e n   a f t e r   t h e   m i g r a t i o n   t o   C S I   i s   c o m p l e t e d   f o r   t h a t   v o l u m e   t y p e ,   a n d   e v e n   a f t e r   y o u   u p g r a d e   t o   a   v e r s i o n   o f   K u b e r n e t e s   t h a t   d o e s n ' t   h a v e   c o m p i l e d - i n   s u p p o r t   f o r   t h a t   k i n d   o f   s t o r a g e .   A s   p a r t   o f   t h a t   m i g r a t i o n ,   y o u   -   o r   a n o t h e r   c l u s t e r   a d m i n i s t r a t o r   -   m u s t   h a v e   i n s t a l l e d   a n d   c o n f i g u r e d   t h e   a p p r o p r i a t e   C S I   d r i v e r   f o r   t h a t   s t o r a g e .   T h e   c o r e   o f   K u b e r n e t e s   d o e s   n o t   i n s t a l l   t h a t   s o f t w a r e   f o r   y o u .   A f t e r   t h a t   m i g r a t i o n ,   y o u   c a n   a l s o   d e f i n e   n e w   P V C s   a n d   P V s   t h a t   r e f e r   t o   t h e   l e g a c y ,   b u i l t - i n   s t o r a g e   i n t e g r a t i o n s .   P r o v i d e d   y o u   h a v e   t h e   a p p r o p r i a t e   C S I   d r i v e r   i n s t a l l e d   a n d   c o n f i g u r e d ,   t h e   P V   c r e a t i o n   c o n t i n u e s   t o   w o r k ,   e v e n   f o r   b r a n d   n e w   v o l u m e s .   T h e   a c t u a l   s t o r a g e   m a n a g e m e n t   n o w   h a p p e n s   t h r o u g h   t h e   C S I   d r i v e r .   T h e   o p e r a t i o n s   a n d   f e a t u r e s   t h a t   a r e   s u p p o r t e d   i n c l u d e :   p r o v i s i o n i n g / d e l e t e ,   a t t a c h / d e t a c h ,   m o u n t / u n m o u n t   a n d   r e s i z i n g   o f   v o l u m e s .   I n - t r e e   p l u g i n s   t h a t   s u p p o r t   C S I M i g r a t i o n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12408"
  },
  {
    "question": "What is flexVolume (deprecated)?",
    "answer": "F l e x V o l u m e   i s   a n   o u t - o f - t r e e   p l u g i n   i n t e r f a c e   t h a t   u s e s   a n   e x e c - b a s e d   m o d e l   t o   i n t e r f a c e   w i t h   s t o r a g e   d r i v e r s .   T h e   F l e x V o l u m e   d r i v e r   b i n a r i e s   m u s t   b e   i n s t a l l e d   i n   a   p r e - d e f i n e d   v o l u m e   p l u g i n   p a t h   o n   e a c h   n o d e   a n d   i n   s o m e   c a s e s   t h e   c o n t r o l   p l a n e   n o d e s   a s   w e l l .   P o d s   i n t e r a c t   w i t h   F l e x V o l u m e   d r i v e r s   t h r o u g h   t h e   f l e x V o l u m e   i n - t r e e   v o l u m e   p l u g i n .   T h e   f o l l o w i n g   F l e x V o l u m e   p l u g i n s ,   d e p l o y e d   a s   P o w e r S h e l l   s c r i p t s   o n   t h e   h o s t ,   s u p p o r t   W i n d o w s   n o d e s :   S M B i S C S I",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12409"
  },
  {
    "question": "What is Note:?",
    "answer": "F l e x V o l u m e   i s   d e p r e c a t e d .   U s i n g   a n   o u t - o f - t r e e   C S I   d r i v e r   i s   t h e   r e c o m m e n d e d   w a y   t o   i n t e g r a t e   e x t e r n a l   s t o r a g e   w i t h   K u b e r n e t e s .   M a i n t a i n e r s   o f   F l e x V o l u m e   d r i v e r   s h o u l d   i m p l e m e n t   a   C S I   D r i v e r   a n d   h e l p   t o   m i g r a t e   u s e r s   o f   F l e x V o l u m e   d r i v e r s   t o   C S I .   U s e r s   o f   F l e x V o l u m e   s h o u l d   m o v e   t h e i r   w o r k l o a d s   t o   u s e   t h e   e q u i v a l e n t   C S I   D r i v e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12410"
  },
  {
    "question": "What is Caution:?",
    "answer": "M o u n t   p r o p a g a t i o n   a l l o w s   f o r   s h a r i n g   v o l u m e s   m o u n t e d   b y   a   c o n t a i n e r   t o   o t h e r   c o n t a i n e r s   i n   t h e   s a m e   p o d ,   o r   e v e n   t o   o t h e r   p o d s   o n   t h e   s a m e   n o d e .   M o u n t   p r o p a g a t i o n   o f   a   v o l u m e   i s   c o n t r o l l e d   b y   t h e   m o u n t P r o p a g a t i o n   f i e l d   i n   c o n t a i n e r s [ * ] . v o l u m e M o u n t s .   I t s   v a l u e s   a r e :   N o n e   -   T h i s   v o l u m e   m o u n t   w i l l   n o t   r e c e i v e   a n y   s u b s e q u e n t   m o u n t s   t h a t   a r e   m o u n t e d   t o   t h i s   v o l u m e   o r   a n y   o f   i t s   s u b d i r e c t o r i e s   b y   t h e   h o s t .   I n   s i m i l a r   f a s h i o n ,   n o   m o u n t s   c r e a t e d   b y   t h e   c o n t a i n e r   w i l l   b e   v i s i b l e   o n   t h e   h o s t .   T h i s   i s   t h e   d e f a u l t   m o d e . T h i s   m o d e   i s   e q u a l   t o   r p r i v a t e   m o u n t   p r o p a g a t i o n   a s   d e s c r i b e d   i n   m o u n t ( 8 ) H o w e v e r ,   t h e   C R I   r u n t i m e   m a y   c h o o s e   r s l a v e   m o u n t   p r o p a g a t i o n   ( i . e . ,   H o s t T o C o n t a i n e r )   i n s t e a d ,   w h e n   r p r i v a t e   p r o p a g a t i o n   i s   n o t   a p p l i c a b l e .   c r i - d o c k e r d   ( D o c k e r )   i s   k n o w n   t o   c h o o s e   r s l a v e   m o u n t   p r o p a g a t i o n   w h e n   t h e   m o u n t   s o u r c e   c o n t a i n s   t h e   D o c k e r   d a e m o n ' s   r o o t   d i r e c t o r y   ( / v a r / l i b / d o c k e r ) . H o s t T o C o n t a i n e r   -   T h i s   v o l u m e   m o u n t   w i l l   r e c e i v e   a l l   s u b s e q u e n t   m o u n t s   t h a t   a r e   m o u n t e d   t o   t h i s   v o l u m e   o r   a n y   o f   i t s   s u b d i r e c t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12411"
  },
  {
    "question": "What is Read-only mounts?",
    "answer": "A   m o u n t   c a n   b e   m a d e   r e a d - o n l y   b y   s e t t i n g   t h e   . s p e c . c o n t a i n e r s [ ] . v o l u m e M o u n t s [ ] . r e a d O n l y   f i e l d   t o   t r u e .   T h i s   d o e s   n o t   m a k e   t h e   v o l u m e   i t s e l f   r e a d - o n l y ,   b u t   t h a t   s p e c i f i c   c o n t a i n e r   w i l l   n o t   b e   a b l e   t o   w r i t e   t o   i t .   O t h e r   c o n t a i n e r s   i n   t h e   P o d   m a y   m o u n t   t h e   s a m e   v o l u m e   a s   r e a d - w r i t e .   O n   L i n u x ,   r e a d - o n l y   m o u n t s   a r e   n o t   r e c u r s i v e l y   r e a d - o n l y   b y   d e f a u l t .   F o r   e x a m p l e ,   c o n s i d e r   a   P o d   w h i c h   m o u n t s   t h e   h o s t s   / m n t   a s   a   h o s t P a t h   v o l u m e .   I f   t h e r e   i s   a n o t h e r   f i l e s y s t e m   m o u n t e d   r e a d - w r i t e   o n   / m n t / < S U B M O U N T >   ( s u c h   a s   t m p f s ,   N F S ,   o r   U S B   s t o r a g e ) ,   t h e   v o l u m e   m o u n t e d   i n t o   t h e   c o n t a i n e r ( s )   w i l l   a l s o   h a v e   a   w r i t e a b l e   / m n t / < S U B M O U N T > ,   e v e n   i f   t h e   m o u n t   i t s e l f   w a s   s p e c i f i e d   a s   r e a d - o n l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12412"
  },
  {
    "question": "What is Recursive read-only mounts?",
    "answer": "R e c u r s i v e   r e a d - o n l y   m o u n t s   c a n   b e   e n a b l e d   b y   s e t t i n g   t h e   R e c u r s i v e R e a d O n l y M o u n t s   f e a t u r e   g a t e   f o r   k u b e l e t   a n d   k u b e - a p i s e r v e r ,   a n d   s e t t i n g   t h e   . s p e c . c o n t a i n e r s [ ] . v o l u m e M o u n t s [ ] . r e c u r s i v e R e a d O n l y   f i e l d   f o r   a   p o d .   T h e   a l l o w e d   v a l u e s   a r e :   D i s a b l e d   ( d e f a u l t ) :   n o   e f f e c t . E n a b l e d :   m a k e s   t h e   m o u n t   r e c u r s i v e l y   r e a d - o n l y .   N e e d s   a l l   t h e   f o l l o w i n g   r e q u i r e m e n t s   t o   b e   s a t i s f i e d : r e a d O n l y   i s   s e t   t o   t r u e m o u n t P r o p a g a t i o n   i s   u n s e t ,   o r ,   s e t   t o   N o n e T h e   h o s t   i s   r u n n i n g   w i t h   L i n u x   k e r n e l   v 5 . 1 2   o r   l a t e r T h e   C R I - l e v e l   c o n t a i n e r   r u n t i m e   s u p p o r t s   r e c u r s i v e   r e a d - o n l y   m o u n t s T h e   O C I - l e v e l   c o n t a i n e r   r u n t i m e   s u p p o r t s   r e c u r s i v e   r e a d - o n l y   m o u n t s . I t   w i l l   f a i l   i f   a n y   o f   t h e s e   i s   n o t   t r u e . I f P o s s i b l e :   a t t e m p t s   t o   a p p l y   E n a b l e d ,   a n d   f a l l s   b a c k   t o   D i s a b l e d   i f   t h e   f e a t u r e   i s   n o t   s u p p o r t e d   b y   t h e   k e r n e l   o r   t h e   r u n t i m e   c l a s s .   D i s a b l e d   ( d e f a u l t ) :   n o   e f f e c t .   E n a b l e d :   m a k e s   t h e   m o u n t   r e c u r s i v e l y   r e a d - o n l y .   N e e d s   a l l   t h e   f o l l o w i n g   r e q u i r e m e n t s   t o   b e   s a t i s f i e d :   r e a d O n l y   i s   s e t   t o   t r u e m o u n t P r o p a g a t i o n   i s   u n s e t ,   o r ,   s e t   t o   N o n e T h e   h o s t   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12413"
  },
  {
    "question": "What is Implementations?",
    "answer": "T h e   f o l l o w i n g   c o n t a i n e r   r u n t i m e s   a r e   k n o w n   t o   s u p p o r t   r e c u r s i v e   r e a d - o n l y   m o u n t s .   C R I - l e v e l :   c o n t a i n e r d ,   s i n c e   v 2 . 0 C R I - O ,   s i n c e   v 1 . 3 0   O C I - l e v e l :   r u n c ,   s i n c e   v 1 . 1 c r u n ,   s i n c e   v 1 . 8 . 6",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12414"
  },
  {
    "question": "What is What's next?",
    "answer": "F o l l o w   a n   e x a m p l e   o f   d e p l o y i n g   W o r d P r e s s   a n d   M y S Q L   w i t h   P e r s i s t e n t   V o l u m e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12415"
  },
  {
    "question": "What is 6.2 - Persistent Volumes?",
    "answer": "T h i s   d o c u m e n t   d e s c r i b e s   p e r s i s t e n t   v o l u m e s   i n   K u b e r n e t e s .   F a m i l i a r i t y   w i t h   v o l u m e s ,   S t o r a g e C l a s s e s   a n d   V o l u m e A t t r i b u t e s C l a s s e s   i s   s u g g e s t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12416"
  },
  {
    "question": "What is Introduction?",
    "answer": "M a n a g i n g   s t o r a g e   i s   a   d i s t i n c t   p r o b l e m   f r o m   m a n a g i n g   c o m p u t e   i n s t a n c e s .   T h e   P e r s i s t e n t V o l u m e   s u b s y s t e m   p r o v i d e s   a n   A P I   f o r   u s e r s   a n d   a d m i n i s t r a t o r s   t h a t   a b s t r a c t s   d e t a i l s   o f   h o w   s t o r a g e   i s   p r o v i d e d   f r o m   h o w   i t   i s   c o n s u m e d .   T o   d o   t h i s ,   w e   i n t r o d u c e   t w o   n e w   A P I   r e s o u r c e s :   P e r s i s t e n t V o l u m e   a n d   P e r s i s t e n t V o l u m e C l a i m .   A   P e r s i s t e n t V o l u m e   ( P V )   i s   a   p i e c e   o f   s t o r a g e   i n   t h e   c l u s t e r   t h a t   h a s   b e e n   p r o v i s i o n e d   b y   a n   a d m i n i s t r a t o r   o r   d y n a m i c a l l y   p r o v i s i o n e d   u s i n g   S t o r a g e   C l a s s e s .   I t   i s   a   r e s o u r c e   i n   t h e   c l u s t e r   j u s t   l i k e   a   n o d e   i s   a   c l u s t e r   r e s o u r c e .   P V s   a r e   v o l u m e   p l u g i n s   l i k e   V o l u m e s ,   b u t   h a v e   a   l i f e c y c l e   i n d e p e n d e n t   o f   a n y   i n d i v i d u a l   P o d   t h a t   u s e s   t h e   P V .   T h i s   A P I   o b j e c t   c a p t u r e s   t h e   d e t a i l s   o f   t h e   i m p l e m e n t a t i o n   o f   t h e   s t o r a g e ,   b e   t h a t   N F S ,   i S C S I ,   o r   a   c l o u d - p r o v i d e r - s p e c i f i c   s t o r a g e   s y s t e m .   A   P e r s i s t e n t V o l u m e C l a i m   ( P V C )   i s   a   r e q u e s t   f o r   s t o r a g e   b y   a   u s e r .   I t   i s   s i m i l a r   t o   a   P o d .   P o d s   c o n s u m e   n o d e   r e s o u r c e s   a n d   P V C s   c o n s u m e   P V   r e s o u r c e s .   P o d s   c a n   r e q u e s t   s p e c i f i c   l e v e l s   o f   r e s o u r c e s   ( C P U   a n d   M e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12417"
  },
  {
    "question": "What is Lifecycle of a volume and claim?",
    "answer": "P V s   a r e   r e s o u r c e s   i n   t h e   c l u s t e r .   P V C s   a r e   r e q u e s t s   f o r   t h o s e   r e s o u r c e s   a n d   a l s o   a c t   a s   c l a i m   c h e c k s   t o   t h e   r e s o u r c e .   T h e   i n t e r a c t i o n   b e t w e e n   P V s   a n d   P V C s   f o l l o w s   t h i s   l i f e c y c l e :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12418"
  },
  {
    "question": "What is Provisioning?",
    "answer": "T h e r e   a r e   t w o   w a y s   P V s   m a y   b e   p r o v i s i o n e d :   s t a t i c a l l y   o r   d y n a m i c a l l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12419"
  },
  {
    "question": "What is Static?",
    "answer": "A   c l u s t e r   a d m i n i s t r a t o r   c r e a t e s   a   n u m b e r   o f   P V s .   T h e y   c a r r y   t h e   d e t a i l s   o f   t h e   r e a l   s t o r a g e ,   w h i c h   i s   a v a i l a b l e   f o r   u s e   b y   c l u s t e r   u s e r s .   T h e y   e x i s t   i n   t h e   K u b e r n e t e s   A P I   a n d   a r e   a v a i l a b l e   f o r   c o n s u m p t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12420"
  },
  {
    "question": "What is Dynamic?",
    "answer": "W h e n   n o n e   o f   t h e   s t a t i c   P V s   t h e   a d m i n i s t r a t o r   c r e a t e d   m a t c h   a   u s e r ' s   P e r s i s t e n t V o l u m e C l a i m ,   t h e   c l u s t e r   m a y   t r y   t o   d y n a m i c a l l y   p r o v i s i o n   a   v o l u m e   s p e c i a l l y   f o r   t h e   P V C .   T h i s   p r o v i s i o n i n g   i s   b a s e d   o n   S t o r a g e C l a s s e s :   t h e   P V C   m u s t   r e q u e s t   a   s t o r a g e   c l a s s   a n d   t h e   a d m i n i s t r a t o r   m u s t   h a v e   c r e a t e d   a n d   c o n f i g u r e d   t h a t   c l a s s   f o r   d y n a m i c   p r o v i s i o n i n g   t o   o c c u r .   C l a i m s   t h a t   r e q u e s t   t h e   c l a s s   \" \"   e f f e c t i v e l y   d i s a b l e   d y n a m i c   p r o v i s i o n i n g   f o r   t h e m s e l v e s .   T o   e n a b l e   d y n a m i c   s t o r a g e   p r o v i s i o n i n g   b a s e d   o n   s t o r a g e   c l a s s ,   t h e   c l u s t e r   a d m i n i s t r a t o r   n e e d s   t o   e n a b l e   t h e   D e f a u l t S t o r a g e C l a s s   a d m i s s i o n   c o n t r o l l e r   o n   t h e   A P I   s e r v e r .   T h i s   c a n   b e   d o n e ,   f o r   e x a m p l e ,   b y   e n s u r i n g   t h a t   D e f a u l t S t o r a g e C l a s s   i s   a m o n g   t h e   c o m m a - d e l i m i t e d ,   o r d e r e d   l i s t   o f   v a l u e s   f o r   t h e   - - e n a b l e - a d m i s s i o n - p l u g i n s   f l a g   o f   t h e   A P I   s e r v e r   c o m p o n e n t .   F o r   m o r e   i n f o r m a t i o n   o n   A P I   s e r v e r   c o m m a n d - l i n e   f l a g s ,   c h e c k   k u b e - a p i s e r v e r   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12421"
  },
  {
    "question": "What is Binding?",
    "answer": "A   u s e r   c r e a t e s ,   o r   i n   t h e   c a s e   o f   d y n a m i c   p r o v i s i o n i n g ,   h a s   a l r e a d y   c r e a t e d ,   a   P e r s i s t e n t V o l u m e C l a i m   w i t h   a   s p e c i f i c   a m o u n t   o f   s t o r a g e   r e q u e s t e d   a n d   w i t h   c e r t a i n   a c c e s s   m o d e s .   A   c o n t r o l   l o o p   i n   t h e   c o n t r o l   p l a n e   w a t c h e s   f o r   n e w   P V C s ,   f i n d s   a   m a t c h i n g   P V   ( i f   p o s s i b l e ) ,   a n d   b i n d s   t h e m   t o g e t h e r .   I f   a   P V   w a s   d y n a m i c a l l y   p r o v i s i o n e d   f o r   a   n e w   P V C ,   t h e   l o o p   w i l l   a l w a y s   b i n d   t h a t   P V   t o   t h e   P V C .   O t h e r w i s e ,   t h e   u s e r   w i l l   a l w a y s   g e t   a t   l e a s t   w h a t   t h e y   a s k e d   f o r ,   b u t   t h e   v o l u m e   m a y   b e   i n   e x c e s s   o f   w h a t   w a s   r e q u e s t e d .   O n c e   b o u n d ,   P e r s i s t e n t V o l u m e C l a i m   b i n d s   a r e   e x c l u s i v e ,   r e g a r d l e s s   o f   h o w   t h e y   w e r e   b o u n d .   A   P V C   t o   P V   b i n d i n g   i s   a   o n e - t o - o n e   m a p p i n g ,   u s i n g   a   C l a i m R e f   w h i c h   i s   a   b i - d i r e c t i o n a l   b i n d i n g   b e t w e e n   t h e   P e r s i s t e n t V o l u m e   a n d   t h e   P e r s i s t e n t V o l u m e C l a i m .   C l a i m s   w i l l   r e m a i n   u n b o u n d   i n d e f i n i t e l y   i f   a   m a t c h i n g   v o l u m e   d o e s   n o t   e x i s t .   C l a i m s   w i l l   b e   b o u n d   a s   m a t c h i n g   v o l u m e s   b e c o m e   a v a i l a b l e .   F o r   e x a m p l e ,   a   c l u s t e r   p r o v i s i o n e d   w i t h   m a n y   5 0 G i   P V s   w o u l d   n o t   m a t c h   a   P V C   r e q u e s t i n g   1 0 0 G i .   T h e   P V C   c a n   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12422"
  },
  {
    "question": "What is Using?",
    "answer": "P o d s   u s e   c l a i m s   a s   v o l u m e s .   T h e   c l u s t e r   i n s p e c t s   t h e   c l a i m   t o   f i n d   t h e   b o u n d   v o l u m e   a n d   m o u n t s   t h a t   v o l u m e   f o r   a   P o d .   F o r   v o l u m e s   t h a t   s u p p o r t   m u l t i p l e   a c c e s s   m o d e s ,   t h e   u s e r   s p e c i f i e s   w h i c h   m o d e   i s   d e s i r e d   w h e n   u s i n g   t h e i r   c l a i m   a s   a   v o l u m e   i n   a   P o d .   O n c e   a   u s e r   h a s   a   c l a i m   a n d   t h a t   c l a i m   i s   b o u n d ,   t h e   b o u n d   P V   b e l o n g s   t o   t h e   u s e r   f o r   a s   l o n g   a s   t h e y   n e e d   i t .   U s e r s   s c h e d u l e   P o d s   a n d   a c c e s s   t h e i r   c l a i m e d   P V s   b y   i n c l u d i n g   a   p e r s i s t e n t V o l u m e C l a i m   s e c t i o n   i n   a   P o d ' s   v o l u m e s   b l o c k .   S e e   C l a i m s   A s   V o l u m e s   f o r   m o r e   d e t a i l s   o n   t h i s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12423"
  },
  {
    "question": "What is Storage Object in Use Protection?",
    "answer": "T h e   p u r p o s e   o f   t h e   S t o r a g e   O b j e c t   i n   U s e   P r o t e c t i o n   f e a t u r e   i s   t o   e n s u r e   t h a t   P e r s i s t e n t V o l u m e C l a i m s   ( P V C s )   i n   a c t i v e   u s e   b y   a   P o d   a n d   P e r s i s t e n t V o l u m e   ( P V s )   t h a t   a r e   b o u n d   t o   P V C s   a r e   n o t   r e m o v e d   f r o m   t h e   s y s t e m ,   a s   t h i s   m a y   r e s u l t   i n   d a t a   l o s s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12424"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   a   u s e r   d e l e t e s   a   P V C   i n   a c t i v e   u s e   b y   a   P o d ,   t h e   P V C   i s   n o t   r e m o v e d   i m m e d i a t e l y .   P V C   r e m o v a l   i s   p o s t p o n e d   u n t i l   t h e   P V C   i s   n o   l o n g e r   a c t i v e l y   u s e d   b y   a n y   P o d s .   A l s o ,   i f   a n   a d m i n   d e l e t e s   a   P V   t h a t   i s   b o u n d   t o   a   P V C ,   t h e   P V   i s   n o t   r e m o v e d   i m m e d i a t e l y .   P V   r e m o v a l   i s   p o s t p o n e d   u n t i l   t h e   P V   i s   n o   l o n g e r   b o u n d   t o   a   P V C .   Y o u   c a n   s e e   t h a t   a   P V C   i s   p r o t e c t e d   w h e n   t h e   P V C ' s   s t a t u s   i s   T e r m i n a t i n g   a n d   t h e   F i n a l i z e r s   l i s t   i n c l u d e s   k u b e r n e t e s . i o / p v c - p r o t e c t i o n :   k u b e c t l   d e s c r i b e   p v c   h o s t p a t h   N a m e :   h o s t p a t h   N a m e s p a c e :   d e f a u l t   S t o r a g e C l a s s :   e x a m p l e - h o s t p a t h   S t a t u s :   T e r m i n a t i n g   V o l u m e :   L a b e l s :   < n o n e >   A n n o t a t i o n s :   v o l u m e . b e t a . k u b e r n e t e s . i o / s t o r a g e - c l a s s = e x a m p l e - h o s t p a t h   v o l u m e . b e t a . k u b e r n e t e s . i o / s t o r a g e - p r o v i s i o n e r = e x a m p l e . c o m / h o s t p a t h   F i n a l i z e r s :   [ k u b e r n e t e s . i o / p v c - p r o t e c t i o n ]   . . .   Y o u   c a n   s e e   t h a t   a   P V   i s   p r o t e c t e d   w h e n   t h e   P V ' s   s t a t u s   i s   T e r m i n a t i n g   a n d   t h e   F i n a l i z e r s   l i s t   i n c l u d e s   k u b e r n e t e s . i o / p v - p r o t e c t i o n   t o o :   k u b e c t l   d e s c r i b e   p v   t a s k - p v - v o l u m e   N a m e :   t a s k - p v - v o l u m e   L a b e l s :   t y p e = l o c a l   A n n o t a t i o n s ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12425"
  },
  {
    "question": "What is Reclaiming?",
    "answer": "W h e n   a   u s e r   i s   d o n e   w i t h   t h e i r   v o l u m e ,   t h e y   c a n   d e l e t e   t h e   P V C   o b j e c t s   f r o m   t h e   A P I   t h a t   a l l o w s   r e c l a m a t i o n   o f   t h e   r e s o u r c e .   T h e   r e c l a i m   p o l i c y   f o r   a   P e r s i s t e n t V o l u m e   t e l l s   t h e   c l u s t e r   w h a t   t o   d o   w i t h   t h e   v o l u m e   a f t e r   i t   h a s   b e e n   r e l e a s e d   o f   i t s   c l a i m .   C u r r e n t l y ,   v o l u m e s   c a n   e i t h e r   b e   R e t a i n e d ,   R e c y c l e d ,   o r   D e l e t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12426"
  },
  {
    "question": "What is Retain?",
    "answer": "T h e   R e t a i n   r e c l a i m   p o l i c y   a l l o w s   f o r   m a n u a l   r e c l a m a t i o n   o f   t h e   r e s o u r c e .   W h e n   t h e   P e r s i s t e n t V o l u m e C l a i m   i s   d e l e t e d ,   t h e   P e r s i s t e n t V o l u m e   s t i l l   e x i s t s   a n d   t h e   v o l u m e   i s   c o n s i d e r e d   \" r e l e a s e d \" .   B u t   i t   i s   n o t   y e t   a v a i l a b l e   f o r   a n o t h e r   c l a i m   b e c a u s e   t h e   p r e v i o u s   c l a i m a n t ' s   d a t a   r e m a i n s   o n   t h e   v o l u m e .   A n   a d m i n i s t r a t o r   c a n   m a n u a l l y   r e c l a i m   t h e   v o l u m e   w i t h   t h e   f o l l o w i n g   s t e p s .   D e l e t e   t h e   P e r s i s t e n t V o l u m e .   T h e   a s s o c i a t e d   s t o r a g e   a s s e t   i n   e x t e r n a l   i n f r a s t r u c t u r e   s t i l l   e x i s t s   a f t e r   t h e   P V   i s   d e l e t e d . M a n u a l l y   c l e a n   u p   t h e   d a t a   o n   t h e   a s s o c i a t e d   s t o r a g e   a s s e t   a c c o r d i n g l y . M a n u a l l y   d e l e t e   t h e   a s s o c i a t e d   s t o r a g e   a s s e t .   I f   y o u   w a n t   t o   r e u s e   t h e   s a m e   s t o r a g e   a s s e t ,   c r e a t e   a   n e w   P e r s i s t e n t V o l u m e   w i t h   t h e   s a m e   s t o r a g e   a s s e t   d e f i n i t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12427"
  },
  {
    "question": "What is Delete?",
    "answer": "F o r   v o l u m e   p l u g i n s   t h a t   s u p p o r t   t h e   D e l e t e   r e c l a i m   p o l i c y ,   d e l e t i o n   r e m o v e s   b o t h   t h e   P e r s i s t e n t V o l u m e   o b j e c t   f r o m   K u b e r n e t e s ,   a s   w e l l   a s   t h e   a s s o c i a t e d   s t o r a g e   a s s e t   i n   t h e   e x t e r n a l   i n f r a s t r u c t u r e .   V o l u m e s   t h a t   w e r e   d y n a m i c a l l y   p r o v i s i o n e d   i n h e r i t   t h e   r e c l a i m   p o l i c y   o f   t h e i r   S t o r a g e C l a s s ,   w h i c h   d e f a u l t s   t o   D e l e t e .   T h e   a d m i n i s t r a t o r   s h o u l d   c o n f i g u r e   t h e   S t o r a g e C l a s s   a c c o r d i n g   t o   u s e r s '   e x p e c t a t i o n s ;   o t h e r w i s e ,   t h e   P V   m u s t   b e   e d i t e d   o r   p a t c h e d   a f t e r   i t   i s   c r e a t e d .   S e e   C h a n g e   t h e   R e c l a i m   P o l i c y   o f   a   P e r s i s t e n t V o l u m e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12428"
  },
  {
    "question": "What is Warning:?",
    "answer": "I f   s u p p o r t e d   b y   t h e   u n d e r l y i n g   v o l u m e   p l u g i n ,   t h e   R e c y c l e   r e c l a i m   p o l i c y   p e r f o r m s   a   b a s i c   s c r u b   ( r m   - r f   / t h e v o l u m e / * )   o n   t h e   v o l u m e   a n d   m a k e s   i t   a v a i l a b l e   a g a i n   f o r   a   n e w   c l a i m .   H o w e v e r ,   a n   a d m i n i s t r a t o r   c a n   c o n f i g u r e   a   c u s t o m   r e c y c l e r   P o d   t e m p l a t e   u s i n g   t h e   K u b e r n e t e s   c o n t r o l l e r   m a n a g e r   c o m m a n d   l i n e   a r g u m e n t s   a s   d e s c r i b e d   i n   t h e   r e f e r e n c e .   T h e   c u s t o m   r e c y c l e r   P o d   t e m p l a t e   m u s t   c o n t a i n   a   v o l u m e s   s p e c i f i c a t i o n ,   a s   s h o w n   i n   t h e   e x a m p l e   b e l o w :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p v - r e c y c l e r   n a m e s p a c e :   d e f a u l t   s p e c :   r e s t a r t P o l i c y :   N e v e r   v o l u m e s :   -   n a m e :   v o l   h o s t P a t h :   p a t h :   / a n y / p a t h / i t / w i l l / b e / r e p l a c e d   c o n t a i n e r s :   -   n a m e :   p v - r e c y c l e r   i m a g e :   \" r e g i s t r y . k 8 s . i o / b u s y b o x \"   c o m m a n d :   [ \" / b i n / s h \" ,   \" - c \" ,   \" t e s t   - e   / s c r u b   & &   r m   - r f   / s c r u b / . . ? *   / s c r u b / . [ ! . ] *   / s c r u b / *   & &   t e s t   - z   \\ \" $ ( l s   - A   / s c r u b ) \\ \"   | |   e x i t   1 \" ]   v o l u m e M o u n t s :   -   n a m e :   v o l   m o u n t P a t h :   / s c r u b   H o w e v e r ,   t h e   p a r t i c u l a r   p a t h   s p e c i f i e d   i n   t h e   c u s t o m   r e c y c l e r   P o d   t e m p l a t e   i n   t h e   v o l u m e s   p a r t   i s   r e p l a c e d   w i t h   t h e   p a r t i c u l a r   p a t h   o f   t h e   v o l u m e   t h a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12429"
  },
  {
    "question": "What is PersistentVolume deletion protection finalizer?",
    "answer": "F i n a l i z e r s   c a n   b e   a d d e d   o n   a   P e r s i s t e n t V o l u m e   t o   e n s u r e   t h a t   P e r s i s t e n t V o l u m e s   h a v i n g   D e l e t e   r e c l a i m   p o l i c y   a r e   d e l e t e d   o n l y   a f t e r   t h e   b a c k i n g   s t o r a g e   a r e   d e l e t e d .   T h e   f i n a l i z e r   e x t e r n a l - p r o v i s i o n e r . v o l u m e . k u b e r n e t e s . i o / f i n a l i z e r ( i n t r o d u c e d   i n   v 1 . 3 1 )   i s   a d d e d   t o   b o t h   d y n a m i c a l l y   p r o v i s i o n e d   a n d   s t a t i c a l l y   p r o v i s i o n e d   C S I   v o l u m e s .   T h e   f i n a l i z e r   k u b e r n e t e s . i o / p v - c o n t r o l l e r ( i n t r o d u c e d   i n   v 1 . 3 1 )   i s   a d d e d   t o   d y n a m i c a l l y   p r o v i s i o n e d   i n - t r e e   p l u g i n   v o l u m e s   a n d   s k i p p e d   f o r   s t a t i c a l l y   p r o v i s i o n e d   i n - t r e e   p l u g i n   v o l u m e s .   T h e   f o l l o w i n g   i s   a n   e x a m p l e   o f   d y n a m i c a l l y   p r o v i s i o n e d   i n - t r e e   p l u g i n   v o l u m e :   k u b e c t l   d e s c r i b e   p v   p v c - 7 4 a 4 9 8 d 6 - 3 9 2 9 - 4 7 e 8 - 8 c 0 2 - 0 7 8 c 1 e c e 4 d 7 8   N a m e :   p v c - 7 4 a 4 9 8 d 6 - 3 9 2 9 - 4 7 e 8 - 8 c 0 2 - 0 7 8 c 1 e c e 4 d 7 8   L a b e l s :   < n o n e >   A n n o t a t i o n s :   k u b e r n e t e s . i o / c r e a t e d b y :   v s p h e r e - v o l u m e - d y n a m i c - p r o v i s i o n e r   p v . k u b e r n e t e s . i o / b o u n d - b y - c o n t r o l l e r :   y e s   p v . k u b e r n e t e s . i o / p r o v i s i o n e d - b y :   k u b e r n e t e s . i o / v s p h e r e - v o l u m e   F i n a l i z e r s :   [ k u b e r n e t e s . i o / p v - p r o t e c t i o n   k u b e r n e t e s . i o / p v - c o n t r o l l e r ]   S t o r a g e C l a s s :   v c p - s c   S t a t u s :   B o u n d   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12430"
  },
  {
    "question": "What is Reserving a PersistentVolume?",
    "answer": "T h e   c o n t r o l   p l a n e   c a n   b i n d   P e r s i s t e n t V o l u m e C l a i m s   t o   m a t c h i n g   P e r s i s t e n t V o l u m e s   i n   t h e   c l u s t e r .   H o w e v e r ,   i f   y o u   w a n t   a   P V C   t o   b i n d   t o   a   s p e c i f i c   P V ,   y o u   n e e d   t o   p r e - b i n d   t h e m .   B y   s p e c i f y i n g   a   P e r s i s t e n t V o l u m e   i n   a   P e r s i s t e n t V o l u m e C l a i m ,   y o u   d e c l a r e   a   b i n d i n g   b e t w e e n   t h a t   s p e c i f i c   P V   a n d   P V C .   I f   t h e   P e r s i s t e n t V o l u m e   e x i s t s   a n d   h a s   n o t   r e s e r v e d   P e r s i s t e n t V o l u m e C l a i m s   t h r o u g h   i t s   c l a i m R e f   f i e l d ,   t h e n   t h e   P e r s i s t e n t V o l u m e   a n d   P e r s i s t e n t V o l u m e C l a i m   w i l l   b e   b o u n d .   T h e   b i n d i n g   h a p p e n s   r e g a r d l e s s   o f   s o m e   v o l u m e   m a t c h i n g   c r i t e r i a ,   i n c l u d i n g   n o d e   a f f i n i t y .   T h e   c o n t r o l   p l a n e   s t i l l   c h e c k s   t h a t   s t o r a g e   c l a s s ,   a c c e s s   m o d e s ,   a n d   r e q u e s t e d   s t o r a g e   s i z e   a r e   v a l i d .   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   f o o - p v c   n a m e s p a c e :   f o o   s p e c :   s t o r a g e C l a s s N a m e :   \" \"   #   E m p t y   s t r i n g   m u s t   b e   e x p l i c i t l y   s e t   o t h e r w i s e   d e f a u l t   S t o r a g e C l a s s   w i l l   b e   s e t   v o l u m e N a m e :   f o o - p v   . . .   T h i s   m e t h o d   d o e s   n o t   g u a r a n t e e   a n y   b i n d i n g   p r i v i l e g e s   t o   t h e   P e r s i s t e n t V o l u m e .   I f   o t h e r   P e r s i s t e n t V o l u m e C l a i m s   c o u l d   u s e   t h e   P V   t h a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12431"
  },
  {
    "question": "What is Expanding Persistent Volumes Claims?",
    "answer": "S u p p o r t   f o r   e x p a n d i n g   P e r s i s t e n t V o l u m e C l a i m s   ( P V C s )   i s   e n a b l e d   b y   d e f a u l t .   Y o u   c a n   e x p a n d   t h e   f o l l o w i n g   t y p e s   o f   v o l u m e s :   c s i   ( i n c l u d i n g   s o m e   C S I   m i g r a t e d   v o l m e   t y p e s ) f l e x V o l u m e   ( d e p r e c a t e d ) p o r t w o r x V o l u m e   ( d e p r e c a t e d )   Y o u   c a n   o n l y   e x p a n d   a   P V C   i f   i t s   s t o r a g e   c l a s s ' s   a l l o w V o l u m e E x p a n s i o n   f i e l d   i s   s e t   t o   t r u e .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   e x a m p l e - v o l - d e f a u l t   p r o v i s i o n e r :   v e n d o r - n a m e . e x a m p l e / m a g i c s t o r a g e   p a r a m e t e r s :   r e s t u r l :   \" h t t p : / / 1 9 2 . 1 6 8 . 1 0 . 1 0 0 : 8 0 8 0 \"   r e s t u s e r :   \" \"   s e c r e t N a m e s p a c e :   \" \"   s e c r e t N a m e :   \" \"   a l l o w V o l u m e E x p a n s i o n :   t r u e   T o   r e q u e s t   a   l a r g e r   v o l u m e   f o r   a   P V C ,   e d i t   t h e   P V C   o b j e c t   a n d   s p e c i f y   a   l a r g e r   s i z e .   T h i s   t r i g g e r s   e x p a n s i o n   o f   t h e   v o l u m e   t h a t   b a c k s   t h e   u n d e r l y i n g   P e r s i s t e n t V o l u m e .   A   n e w   P e r s i s t e n t V o l u m e   i s   n e v e r   c r e a t e d   t o   s a t i s f y   t h e   c l a i m .   I n s t e a d ,   a n   e x i s t i n g   v o l u m e   i s   r e s i z e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12432"
  },
  {
    "question": "What is CSI Volume expansion?",
    "answer": "S u p p o r t   f o r   e x p a n d i n g   C S I   v o l u m e s   i s   e n a b l e d   b y   d e f a u l t   b u t   i t   a l s o   r e q u i r e s   a   s p e c i f i c   C S I   d r i v e r   t o   s u p p o r t   v o l u m e   e x p a n s i o n .   R e f e r   t o   d o c u m e n t a t i o n   o f   t h e   s p e c i f i c   C S I   d r i v e r   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12433"
  },
  {
    "question": "What is Resizing a volume containing a file system?",
    "answer": "Y o u   c a n   o n l y   r e s i z e   v o l u m e s   c o n t a i n i n g   a   f i l e   s y s t e m   i f   t h e   f i l e   s y s t e m   i s   X F S ,   E x t 3 ,   o r   E x t 4 .   W h e n   a   v o l u m e   c o n t a i n s   a   f i l e   s y s t e m ,   t h e   f i l e   s y s t e m   i s   o n l y   r e s i z e d   w h e n   a   n e w   P o d   i s   u s i n g   t h e   P e r s i s t e n t V o l u m e C l a i m   i n   R e a d W r i t e   m o d e .   F i l e   s y s t e m   e x p a n s i o n   i s   e i t h e r   d o n e   w h e n   a   P o d   i s   s t a r t i n g   u p   o r   w h e n   a   P o d   i s   r u n n i n g   a n d   t h e   u n d e r l y i n g   f i l e   s y s t e m   s u p p o r t s   o n l i n e   e x p a n s i o n .   F l e x V o l u m e s   ( d e p r e c a t e d   s i n c e   K u b e r n e t e s   v 1 . 2 3 )   a l l o w   r e s i z e   i f   t h e   d r i v e r   i s   c o n f i g u r e d   w i t h   t h e   R e q u i r e s F S R e s i z e   c a p a b i l i t y   t o   t r u e .   T h e   F l e x V o l u m e   c a n   b e   r e s i z e d   o n   P o d   r e s t a r t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12434"
  },
  {
    "question": "What is Resizing an in-use PersistentVolumeClaim?",
    "answer": "I n   t h i s   c a s e ,   y o u   d o n ' t   n e e d   t o   d e l e t e   a n d   r e c r e a t e   a   P o d   o r   d e p l o y m e n t   t h a t   i s   u s i n g   a n   e x i s t i n g   P V C .   A n y   i n - u s e   P V C   a u t o m a t i c a l l y   b e c o m e s   a v a i l a b l e   t o   i t s   P o d   a s   s o o n   a s   i t s   f i l e   s y s t e m   h a s   b e e n   e x p a n d e d .   T h i s   f e a t u r e   h a s   n o   e f f e c t   o n   P V C s   t h a t   a r e   n o t   i n   u s e   b y   a   P o d   o r   d e p l o y m e n t .   Y o u   m u s t   c r e a t e   a   P o d   t h a t   u s e s   t h e   P V C   b e f o r e   t h e   e x p a n s i o n   c a n   c o m p l e t e .   S i m i l a r   t o   o t h e r   v o l u m e   t y p e s   -   F l e x V o l u m e   v o l u m e s   c a n   a l s o   b e   e x p a n d e d   w h e n   i n - u s e   b y   a   P o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12435"
  },
  {
    "question": "What is Recovering from Failure when Expanding Volumes?",
    "answer": "I f   a   u s e r   s p e c i f i e s   a   n e w   s i z e   t h a t   i s   t o o   b i g   t o   b e   s a t i s f i e d   b y   u n d e r l y i n g   s t o r a g e   s y s t e m ,   e x p a n s i o n   o f   P V C   w i l l   b e   c o n t i n u o u s l y   r e t r i e d   u n t i l   u s e r   o r   c l u s t e r   a d m i n i s t r a t o r   t a k e s   s o m e   a c t i o n .   T h i s   c a n   b e   u n d e s i r a b l e   a n d   h e n c e   K u b e r n e t e s   p r o v i d e s   f o l l o w i n g   m e t h o d s   o f   r e c o v e r i n g   f r o m   s u c h   f a i l u r e s .   I f   e x p a n d i n g   u n d e r l y i n g   s t o r a g e   f a i l s ,   t h e   c l u s t e r   a d m i n i s t r a t o r   c a n   m a n u a l l y   r e c o v e r   t h e   P e r s i s t e n t   V o l u m e   C l a i m   ( P V C )   s t a t e   a n d   c a n c e l   t h e   r e s i z e   r e q u e s t s .   O t h e r w i s e ,   t h e   r e s i z e   r e q u e s t s   a r e   c o n t i n u o u s l y   r e t r i e d   b y   t h e   c o n t r o l l e r   w i t h o u t   a d m i n i s t r a t o r   i n t e r v e n t i o n . M a r k   t h e   P e r s i s t e n t V o l u m e ( P V )   t h a t   i s   b o u n d   t o   t h e   P e r s i s t e n t V o l u m e C l a i m ( P V C )   w i t h   R e t a i n   r e c l a i m   p o l i c y . D e l e t e   t h e   P V C .   S i n c e   P V   h a s   R e t a i n   r e c l a i m   p o l i c y   -   w e   w i l l   n o t   l o s e   a n y   d a t a   w h e n   w e   r e c r e a t e   t h e   P V C . D e l e t e   t h e   c l a i m R e f   e n t r y   f r o m   P V   s p e c s ,   s o   a s   n e w   P V C   c a n   b i n d   t o   i t .   T h i s   s h o u l d   m a k e   t h e   P V   A v a i l a b l e . R e - c r e a t e   t h e   P V C   w i t h   s m a l l e r   s i z e   t h a n   P V   a n d   s e t   v o l u m e N a m e   f i e l d   o f   t h e   P V C   t o   t h e   n a m e   o f   t h e   P V .   T h i s   s h o u l d   b i n d ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12436"
  },
  {
    "question": "What is Types of Persistent Volumes?",
    "answer": "P e r s i s t e n t V o l u m e   t y p e s   a r e   i m p l e m e n t e d   a s   p l u g i n s .   K u b e r n e t e s   c u r r e n t l y   s u p p o r t s   t h e   f o l l o w i n g   p l u g i n s :   c s i   -   C o n t a i n e r   S t o r a g e   I n t e r f a c e   ( C S I ) f c   -   F i b r e   C h a n n e l   ( F C )   s t o r a g e h o s t P a t h   -   H o s t P a t h   v o l u m e   ( f o r   s i n g l e   n o d e   t e s t i n g   o n l y ;   W I L L   N O T   W O R K   i n   a   m u l t i - n o d e   c l u s t e r ;   c o n s i d e r   u s i n g   l o c a l   v o l u m e   i n s t e a d ) i s c s i   -   i S C S I   ( S C S I   o v e r   I P )   s t o r a g e l o c a l   -   l o c a l   s t o r a g e   d e v i c e s   m o u n t e d   o n   n o d e s . n f s   -   N e t w o r k   F i l e   S y s t e m   ( N F S )   s t o r a g e   T h e   f o l l o w i n g   t y p e s   o f   P e r s i s t e n t V o l u m e   a r e   d e p r e c a t e d   b u t   s t i l l   a v a i l a b l e .   I f   y o u   a r e   u s i n g   t h e s e   v o l u m e   t y p e s   e x c e p t   f o r   f l e x V o l u m e ,   c e p h f s   a n d   r b d ,   p l e a s e   i n s t a l l   c o r r e s p o n d i n g   C S I   d r i v e r s .   a w s E l a s t i c B l o c k S t o r e   -   A W S   E l a s t i c   B l o c k   S t o r e   ( E B S )   ( m i g r a t i o n   o n   b y   d e f a u l t   s t a r t i n g   v 1 . 2 3 ) a z u r e D i s k   -   A z u r e   D i s k   ( m i g r a t i o n   o n   b y   d e f a u l t   s t a r t i n g   v 1 . 2 3 ) a z u r e F i l e   -   A z u r e   F i l e   ( m i g r a t i o n   o n   b y   d e f a u l t   s t a r t i n g   v 1 . 2 4 ) c i n d e r   -   C i n d e r   ( O p e n S t a c k   b l o c k   s t o r a g e )   ( m i g r a t i o n   o n   b y   d e f a u l t   s t a r t i n g   v 1 . 2 1 ) f l e x V o l u m e   -   F l e x V o l u m e   ( d e p r e c a t e d   s t a r t i n g   v 1 . 2 3 ,   n o   m i g r a t i o n   p l a n   a n d   n o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12437"
  },
  {
    "question": "What is Persistent Volumes?",
    "answer": "E a c h   P V   c o n t a i n s   a   s p e c   a n d   s t a t u s ,   w h i c h   i s   t h e   s p e c i f i c a t i o n   a n d   s t a t u s   o f   t h e   v o l u m e .   T h e   n a m e   o f   a   P e r s i s t e n t V o l u m e   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e   m e t a d a t a :   n a m e :   p v 0 0 0 3   s p e c :   c a p a c i t y :   s t o r a g e :   5 G i   v o l u m e M o d e :   F i l e s y s t e m   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   p e r s i s t e n t V o l u m e R e c l a i m P o l i c y :   R e c y c l e   s t o r a g e C l a s s N a m e :   s l o w   m o u n t O p t i o n s :   -   h a r d   -   n f s v e r s = 4 . 1   n f s :   p a t h :   / t m p   s e r v e r :   1 7 2 . 1 7 . 0 . 2",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12438"
  },
  {
    "question": "What is Capacity?",
    "answer": "G e n e r a l l y ,   a   P V   w i l l   h a v e   a   s p e c i f i c   s t o r a g e   c a p a c i t y .   T h i s   i s   s e t   u s i n g   t h e   P V ' s   c a p a c i t y   a t t r i b u t e   w h i c h   i s   a   Q u a n t i t y   v a l u e .   C u r r e n t l y ,   s t o r a g e   s i z e   i s   t h e   o n l y   r e s o u r c e   t h a t   c a n   b e   s e t   o r   r e q u e s t e d .   F u t u r e   a t t r i b u t e s   m a y   i n c l u d e   I O P S ,   t h r o u g h p u t ,   e t c .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12439"
  },
  {
    "question": "What is Volume Mode?",
    "answer": "K u b e r n e t e s   s u p p o r t s   t w o   v o l u m e M o d e s   o f   P e r s i s t e n t V o l u m e s :   F i l e s y s t e m   a n d   B l o c k .   v o l u m e M o d e   i s   a n   o p t i o n a l   A P I   p a r a m e t e r .   F i l e s y s t e m   i s   t h e   d e f a u l t   m o d e   u s e d   w h e n   v o l u m e M o d e   p a r a m e t e r   i s   o m i t t e d .   A   v o l u m e   w i t h   v o l u m e M o d e :   F i l e s y s t e m   i s   m o u n t e d   i n t o   P o d s   i n t o   a   d i r e c t o r y .   I f   t h e   v o l u m e   i s   b a c k e d   b y   a   b l o c k   d e v i c e   a n d   t h e   d e v i c e   i s   e m p t y ,   K u b e r n e t e s   c r e a t e s   a   f i l e s y s t e m   o n   t h e   d e v i c e   b e f o r e   m o u n t i n g   i t   f o r   t h e   f i r s t   t i m e .   Y o u   c a n   s e t   t h e   v a l u e   o f   v o l u m e M o d e   t o   B l o c k   t o   u s e   a   v o l u m e   a s   a   r a w   b l o c k   d e v i c e .   S u c h   v o l u m e   i s   p r e s e n t e d   i n t o   a   P o d   a s   a   b l o c k   d e v i c e ,   w i t h o u t   a n y   f i l e s y s t e m   o n   i t .   T h i s   m o d e   i s   u s e f u l   t o   p r o v i d e   a   P o d   t h e   f a s t e s t   p o s s i b l e   w a y   t o   a c c e s s   a   v o l u m e ,   w i t h o u t   a n y   f i l e s y s t e m   l a y e r   b e t w e e n   t h e   P o d   a n d   t h e   v o l u m e .   O n   t h e   o t h e r   h a n d ,   t h e   a p p l i c a t i o n   r u n n i n g   i n   t h e   P o d   m u s t   k n o w   h o w   t o   h a n d l e   a   r a w   b l o c k   d e v i c e .   S e e   R a w   B l o c k   V o l u m e   S u p p o r t   f o r   a n   e x a m p l e   o n   h o w   t o   u s e   a   v o l u m e   w i t h   v o l u m e M o d e :   B l o c k   i n   a   P o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12440"
  },
  {
    "question": "What is Access Modes?",
    "answer": "A   P e r s i s t e n t V o l u m e   c a n   b e   m o u n t e d   o n   a   h o s t   i n   a n y   w a y   s u p p o r t e d   b y   t h e   r e s o u r c e   p r o v i d e r .   A s   s h o w n   i n   t h e   t a b l e   b e l o w ,   p r o v i d e r s   w i l l   h a v e   d i f f e r e n t   c a p a b i l i t i e s   a n d   e a c h   P V ' s   a c c e s s   m o d e s   a r e   s e t   t o   t h e   s p e c i f i c   m o d e s   s u p p o r t e d   b y   t h a t   p a r t i c u l a r   v o l u m e .   F o r   e x a m p l e ,   N F S   c a n   s u p p o r t   m u l t i p l e   r e a d / w r i t e   c l i e n t s ,   b u t   a   s p e c i f i c   N F S   P V   m i g h t   b e   e x p o r t e d   o n   t h e   s e r v e r   a s   r e a d - o n l y .   E a c h   P V   g e t s   i t s   o w n   s e t   o f   a c c e s s   m o d e s   d e s c r i b i n g   t h a t   s p e c i f i c   P V ' s   c a p a b i l i t i e s .   T h e   a c c e s s   m o d e s   a r e :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12441"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   R e a d W r i t e O n c e P o d   a c c e s s   m o d e   i s   o n l y   s u p p o r t e d   f o r   C S I   v o l u m e s   a n d   K u b e r n e t e s   v e r s i o n   1 . 2 2 + .   T o   u s e   t h i s   f e a t u r e   y o u   w i l l   n e e d   t o   u p d a t e   t h e   f o l l o w i n g   C S I   s i d e c a r s   t o   t h e s e   v e r s i o n s   o r   g r e a t e r :   c s i - p r o v i s i o n e r : v 3 . 0 . 0 + c s i - a t t a c h e r : v 3 . 3 . 0 + c s i - r e s i z e r : v 1 . 3 . 0 +   I n   t h e   C L I ,   t h e   a c c e s s   m o d e s   a r e   a b b r e v i a t e d   t o :   R W O   -   R e a d W r i t e O n c e R O X   -   R e a d O n l y M a n y R W X   -   R e a d W r i t e M a n y R W O P   -   R e a d W r i t e O n c e P o d",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12442"
  },
  {
    "question": "What is Note:?",
    "answer": "I m p o r t a n t !   A   v o l u m e   c a n   o n l y   b e   m o u n t e d   u s i n g   o n e   a c c e s s   m o d e   a t   a   t i m e ,   e v e n   i f   i t   s u p p o r t s   m a n y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12443"
  },
  {
    "question": "What is Class?",
    "answer": "A   P V   c a n   h a v e   a   c l a s s ,   w h i c h   i s   s p e c i f i e d   b y   s e t t i n g   t h e   s t o r a g e C l a s s N a m e   a t t r i b u t e   t o   t h e   n a m e   o f   a   S t o r a g e C l a s s .   A   P V   o f   a   p a r t i c u l a r   c l a s s   c a n   o n l y   b e   b o u n d   t o   P V C s   r e q u e s t i n g   t h a t   c l a s s .   A   P V   w i t h   n o   s t o r a g e C l a s s N a m e   h a s   n o   c l a s s   a n d   c a n   o n l y   b e   b o u n d   t o   P V C s   t h a t   r e q u e s t   n o   p a r t i c u l a r   c l a s s .   I n   t h e   p a s t ,   t h e   a n n o t a t i o n   v o l u m e . b e t a . k u b e r n e t e s . i o / s t o r a g e - c l a s s   w a s   u s e d   i n s t e a d   o f   t h e   s t o r a g e C l a s s N a m e   a t t r i b u t e .   T h i s   a n n o t a t i o n   i s   s t i l l   w o r k i n g ;   h o w e v e r ,   i t   w i l l   b e c o m e   f u l l y   d e p r e c a t e d   i n   a   f u t u r e   K u b e r n e t e s   r e l e a s e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12444"
  },
  {
    "question": "What is Reclaim Policy?",
    "answer": "C u r r e n t   r e c l a i m   p o l i c i e s   a r e :   R e t a i n   - -   m a n u a l   r e c l a m a t i o n R e c y c l e   - -   b a s i c   s c r u b   ( r m   - r f   / t h e v o l u m e / * ) D e l e t e   - -   d e l e t e   t h e   v o l u m e   F o r   K u b e r n e t e s   1 . 3 4 ,   o n l y   n f s   a n d   h o s t P a t h   v o l u m e   t y p e s   s u p p o r t   r e c y c l i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12445"
  },
  {
    "question": "What is Mount Options?",
    "answer": "A   K u b e r n e t e s   a d m i n i s t r a t o r   c a n   s p e c i f y   a d d i t i o n a l   m o u n t   o p t i o n s   f o r   w h e n   a   P e r s i s t e n t   V o l u m e   i s   m o u n t e d   o n   a   n o d e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12446"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   f o l l o w i n g   v o l u m e   t y p e s   s u p p o r t   m o u n t   o p t i o n s :   c s i   ( i n c l u d i n g   C S I   m i g r a t e d   v o l u m e   t y p e s ) i s c s i n f s   M o u n t   o p t i o n s   a r e   n o t   v a l i d a t e d .   I f   a   m o u n t   o p t i o n   i s   i n v a l i d ,   t h e   m o u n t   f a i l s .   I n   t h e   p a s t ,   t h e   a n n o t a t i o n   v o l u m e . b e t a . k u b e r n e t e s . i o / m o u n t - o p t i o n s   w a s   u s e d   i n s t e a d   o f   t h e   m o u n t O p t i o n s   a t t r i b u t e .   T h i s   a n n o t a t i o n   i s   s t i l l   w o r k i n g ;   h o w e v e r ,   i t   w i l l   b e c o m e   f u l l y   d e p r e c a t e d   i n   a   f u t u r e   K u b e r n e t e s   r e l e a s e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12447"
  },
  {
    "question": "What is Note:?",
    "answer": "A   P V   c a n   s p e c i f y   n o d e   a f f i n i t y   t o   d e f i n e   c o n s t r a i n t s   t h a t   l i m i t   w h a t   n o d e s   t h i s   v o l u m e   c a n   b e   a c c e s s e d   f r o m .   P o d s   t h a t   u s e   a   P V   w i l l   o n l y   b e   s c h e d u l e d   t o   n o d e s   t h a t   a r e   s e l e c t e d   b y   t h e   n o d e   a f f i n i t y .   T o   s p e c i f y   n o d e   a f f i n i t y ,   s e t   n o d e A f f i n i t y   i n   t h e   . s p e c   o f   a   P V .   T h e   P e r s i s t e n t V o l u m e   A P I   r e f e r e n c e   h a s   m o r e   d e t a i l s   o n   t h i s   f i e l d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12448"
  },
  {
    "question": "What is Phase?",
    "answer": "A   P e r s i s t e n t V o l u m e   w i l l   b e   i n   o n e   o f   t h e   f o l l o w i n g   p h a s e s :   Y o u   c a n   s e e   t h e   n a m e   o f   t h e   P V C   b o u n d   t o   t h e   P V   u s i n g   k u b e c t l   d e s c r i b e   p e r s i s t e n t v o l u m e   < n a m e > .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12449"
  },
  {
    "question": "What is Phase transition timestamp?",
    "answer": "T h e   . s t a t u s   f i e l d   f o r   a   P e r s i s t e n t V o l u m e   c a n   i n c l u d e   a n   a l p h a   l a s t P h a s e T r a n s i t i o n T i m e   f i e l d .   T h i s   f i e l d   r e c o r d s   t h e   t i m e s t a m p   o f   w h e n   t h e   v o l u m e   l a s t   t r a n s i t i o n e d   i t s   p h a s e .   F o r   n e w l y   c r e a t e d   v o l u m e s   t h e   p h a s e   i s   s e t   t o   P e n d i n g   a n d   l a s t P h a s e T r a n s i t i o n T i m e   i s   s e t   t o   t h e   c u r r e n t   t i m e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12450"
  },
  {
    "question": "What is PersistentVolumeClaims?",
    "answer": "E a c h   P V C   c o n t a i n s   a   s p e c   a n d   s t a t u s ,   w h i c h   i s   t h e   s p e c i f i c a t i o n   a n d   s t a t u s   o f   t h e   c l a i m .   T h e   n a m e   o f   a   P e r s i s t e n t V o l u m e C l a i m   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   m y c l a i m   s p e c :   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   v o l u m e M o d e :   F i l e s y s t e m   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   8 G i   s t o r a g e C l a s s N a m e :   s l o w   s e l e c t o r :   m a t c h L a b e l s :   r e l e a s e :   \" s t a b l e \"   m a t c h E x p r e s s i o n s :   -   { k e y :   e n v i r o n m e n t ,   o p e r a t o r :   I n ,   v a l u e s :   [ d e v ] }",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12451"
  },
  {
    "question": "What is Access Modes?",
    "answer": "C l a i m s   u s e   t h e   s a m e   c o n v e n t i o n s   a s   v o l u m e s   w h e n   r e q u e s t i n g   s t o r a g e   w i t h   s p e c i f i c   a c c e s s   m o d e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12452"
  },
  {
    "question": "What is Volume Modes?",
    "answer": "C l a i m s   u s e   t h e   s a m e   c o n v e n t i o n   a s   v o l u m e s   t o   i n d i c a t e   t h e   c o n s u m p t i o n   o f   t h e   v o l u m e   a s   e i t h e r   a   f i l e s y s t e m   o r   b l o c k   d e v i c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12453"
  },
  {
    "question": "What is Volume Name?",
    "answer": "C l a i m s   c a n   u s e   t h e   v o l u m e N a m e   f i e l d   t o   e x p l i c i t l y   b i n d   t o   a   s p e c i f i c   P e r s i s t e n t V o l u m e .   Y o u   c a n   a l s o   l e a v e   v o l u m e N a m e   u n s e t ,   i n d i c a t i n g   t h a t   y o u ' d   l i k e   K u b e r n e t e s   t o   s e t   u p   a   n e w   P e r s i s t e n t V o l u m e   t h a t   m a t c h e s   t h e   c l a i m .   I f   t h e   s p e c i f i e d   P V   i s   a l r e a d y   b o u n d   t o   a n o t h e r   P V C ,   t h e   b i n d i n g   w i l l   b e   s t u c k   i n   a   p e n d i n g   s t a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12454"
  },
  {
    "question": "What is Resources?",
    "answer": "C l a i m s ,   l i k e   P o d s ,   c a n   r e q u e s t   s p e c i f i c   q u a n t i t i e s   o f   a   r e s o u r c e .   I n   t h i s   c a s e ,   t h e   r e q u e s t   i s   f o r   s t o r a g e .   T h e   s a m e   r e s o u r c e   m o d e l   a p p l i e s   t o   b o t h   v o l u m e s   a n d   c l a i m s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12455"
  },
  {
    "question": "What is Selector?",
    "answer": "C l a i m s   c a n   s p e c i f y   a   l a b e l   s e l e c t o r   t o   f u r t h e r   f i l t e r   t h e   s e t   o f   v o l u m e s .   O n l y   t h e   v o l u m e s   w h o s e   l a b e l s   m a t c h   t h e   s e l e c t o r   c a n   b e   b o u n d   t o   t h e   c l a i m .   T h e   s e l e c t o r   c a n   c o n s i s t   o f   t w o   f i e l d s :   m a t c h L a b e l s   -   t h e   v o l u m e   m u s t   h a v e   a   l a b e l   w i t h   t h i s   v a l u e m a t c h E x p r e s s i o n s   -   a   l i s t   o f   r e q u i r e m e n t s   m a d e   b y   s p e c i f y i n g   k e y ,   l i s t   o f   v a l u e s ,   a n d   o p e r a t o r   t h a t   r e l a t e s   t h e   k e y   a n d   v a l u e s .   V a l i d   o p e r a t o r s   i n c l u d e   I n ,   N o t I n ,   E x i s t s ,   a n d   D o e s N o t E x i s t .   A l l   o f   t h e   r e q u i r e m e n t s ,   f r o m   b o t h   m a t c h L a b e l s   a n d   m a t c h E x p r e s s i o n s ,   a r e   A N D e d   t o g e t h e r   –   t h e y   m u s t   a l l   b e   s a t i s f i e d   i n   o r d e r   t o   m a t c h .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12456"
  },
  {
    "question": "What is Class?",
    "answer": "A   c l a i m   c a n   r e q u e s t   a   p a r t i c u l a r   c l a s s   b y   s p e c i f y i n g   t h e   n a m e   o f   a   S t o r a g e C l a s s   u s i n g   t h e   a t t r i b u t e   s t o r a g e C l a s s N a m e .   O n l y   P V s   o f   t h e   r e q u e s t e d   c l a s s ,   o n e s   w i t h   t h e   s a m e   s t o r a g e C l a s s N a m e   a s   t h e   P V C ,   c a n   b e   b o u n d   t o   t h e   P V C .   P V C s   d o n ' t   n e c e s s a r i l y   h a v e   t o   r e q u e s t   a   c l a s s .   A   P V C   w i t h   i t s   s t o r a g e C l a s s N a m e   s e t   e q u a l   t o   \" \"   i s   a l w a y s   i n t e r p r e t e d   t o   b e   r e q u e s t i n g   a   P V   w i t h   n o   c l a s s ,   s o   i t   c a n   o n l y   b e   b o u n d   t o   P V s   w i t h   n o   c l a s s   ( n o   a n n o t a t i o n   o r   o n e   s e t   e q u a l   t o   \" \" ) .   A   P V C   w i t h   n o   s t o r a g e C l a s s N a m e   i s   n o t   q u i t e   t h e   s a m e   a n d   i s   t r e a t e d   d i f f e r e n t l y   b y   t h e   c l u s t e r ,   d e p e n d i n g   o n   w h e t h e r   t h e   D e f a u l t S t o r a g e C l a s s   a d m i s s i o n   p l u g i n   i s   t u r n e d   o n .   I f   t h e   a d m i s s i o n   p l u g i n   i s   t u r n e d   o n ,   t h e   a d m i n i s t r a t o r   m a y   s p e c i f y   a   d e f a u l t   S t o r a g e C l a s s .   A l l   P V C s   t h a t   h a v e   n o   s t o r a g e C l a s s N a m e   c a n   b e   b o u n d   o n l y   t o   P V s   o f   t h a t   d e f a u l t .   S p e c i f y i n g   a   d e f a u l t   S t o r a g e C l a s s   i s   d o n e   b y   s e t t i n g   t h e   a n n o t a t i o n   s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s   e q u a l   t o   t r u e   i n   a   S t o r a g e C l a s s   o b j e c t .   I f   t h e   a d m i n i s t r a t o r   d o e s   n o t   s p e c i f y   a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12457"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   t h e   p a s t ,   t h e   a n n o t a t i o n   v o l u m e . b e t a . k u b e r n e t e s . i o / s t o r a g e - c l a s s   w a s   u s e d   i n s t e a d   o f   s t o r a g e C l a s s N a m e   a t t r i b u t e .   T h i s   a n n o t a t i o n   i s   s t i l l   w o r k i n g ;   h o w e v e r ,   i t   w o n ' t   b e   s u p p o r t e d   i n   a   f u t u r e   K u b e r n e t e s   r e l e a s e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12458"
  },
  {
    "question": "What is Retroactive default StorageClass assignment?",
    "answer": "Y o u   c a n   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   w i t h o u t   s p e c i f y i n g   a   s t o r a g e C l a s s N a m e   f o r   t h e   n e w   P V C ,   a n d   y o u   c a n   d o   s o   e v e n   w h e n   n o   d e f a u l t   S t o r a g e C l a s s   e x i s t s   i n   y o u r   c l u s t e r .   I n   t h i s   c a s e ,   t h e   n e w   P V C   c r e a t e s   a s   y o u   d e f i n e d   i t ,   a n d   t h e   s t o r a g e C l a s s N a m e   o f   t h a t   P V C   r e m a i n s   u n s e t   u n t i l   d e f a u l t   b e c o m e s   a v a i l a b l e .   W h e n   a   d e f a u l t   S t o r a g e C l a s s   b e c o m e s   a v a i l a b l e ,   t h e   c o n t r o l   p l a n e   i d e n t i f i e s   a n y   e x i s t i n g   P V C s   w i t h o u t   s t o r a g e C l a s s N a m e .   F o r   t h e   P V C s   t h a t   e i t h e r   h a v e   a n   e m p t y   v a l u e   f o r   s t o r a g e C l a s s N a m e   o r   d o   n o t   h a v e   t h i s   k e y ,   t h e   c o n t r o l   p l a n e   t h e n   u p d a t e s   t h o s e   P V C s   t o   s e t   s t o r a g e C l a s s N a m e   t o   m a t c h   t h e   n e w   d e f a u l t   S t o r a g e C l a s s .   I f   y o u   h a v e   a n   e x i s t i n g   P V C   w h e r e   t h e   s t o r a g e C l a s s N a m e   i s   \" \" ,   a n d   y o u   c o n f i g u r e   a   d e f a u l t   S t o r a g e C l a s s ,   t h e n   t h i s   P V C   w i l l   n o t   g e t   u p d a t e d .   I n   o r d e r   t o   k e e p   b i n d i n g   t o   P V s   w i t h   s t o r a g e C l a s s N a m e   s e t   t o   \" \"   ( w h i l e   a   d e f a u l t   S t o r a g e C l a s s   i s   p r e s e n t ) ,   y o u   n e e d   t o   s e t   t h e   s t o r a g e C l a s s N a m e   o f   t h e   a s s o c i a t e d   P V C   t o   \" \" .   T h i s   b e h a v i o r   h e l p s   a d m i n i s t r a t o r s   c h a n g e   d e f a u l t   S t o r a g e C l a s s   b ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12459"
  },
  {
    "question": "What is Claims As Volumes?",
    "answer": "P o d s   a c c e s s   s t o r a g e   b y   u s i n g   t h e   c l a i m   a s   a   v o l u m e .   C l a i m s   m u s t   e x i s t   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   P o d   u s i n g   t h e   c l a i m .   T h e   c l u s t e r   f i n d s   t h e   c l a i m   i n   t h e   P o d ' s   n a m e s p a c e   a n d   u s e s   i t   t o   g e t   t h e   P e r s i s t e n t V o l u m e   b a c k i n g   t h e   c l a i m .   T h e   v o l u m e   i s   t h e n   m o u n t e d   t o   t h e   h o s t   a n d   i n t o   t h e   P o d .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   m y f r o n t e n d   i m a g e :   n g i n x   v o l u m e M o u n t s :   -   m o u n t P a t h :   \" / v a r / w w w / h t m l \"   n a m e :   m y p d   v o l u m e s :   -   n a m e :   m y p d   p e r s i s t e n t V o l u m e C l a i m :   c l a i m N a m e :   m y c l a i m",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12460"
  },
  {
    "question": "What is A Note on Namespaces?",
    "answer": "P e r s i s t e n t V o l u m e s   b i n d s   a r e   e x c l u s i v e ,   a n d   s i n c e   P e r s i s t e n t V o l u m e C l a i m s   a r e   n a m e s p a c e d   o b j e c t s ,   m o u n t i n g   c l a i m s   w i t h   \" M a n y \"   m o d e s   ( R O X ,   R W X )   i s   o n l y   p o s s i b l e   w i t h i n   o n e   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12461"
  },
  {
    "question": "What is PersistentVolumes typed hostPath?",
    "answer": "A   h o s t P a t h   P e r s i s t e n t V o l u m e   u s e s   a   f i l e   o r   d i r e c t o r y   o n   t h e   N o d e   t o   e m u l a t e   n e t w o r k - a t t a c h e d   s t o r a g e .   S e e   a n   e x a m p l e   o f   h o s t P a t h   t y p e d   v o l u m e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12462"
  },
  {
    "question": "What is Raw Block Volume Support?",
    "answer": "T h e   f o l l o w i n g   v o l u m e   p l u g i n s   s u p p o r t   r a w   b l o c k   v o l u m e s ,   i n c l u d i n g   d y n a m i c   p r o v i s i o n i n g   w h e r e   a p p l i c a b l e :   C S I   ( i n c l u d i n g   s o m e   C S I   m i g r a t e d   v o l u m e   t y p e s ) F C   ( F i b r e   C h a n n e l ) i S C S I L o c a l   v o l u m e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12463"
  },
  {
    "question": "What is PersistentVolume using a Raw Block Volume?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e   m e t a d a t a :   n a m e :   b l o c k - p v   s p e c :   c a p a c i t y :   s t o r a g e :   1 0 G i   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   v o l u m e M o d e :   B l o c k   p e r s i s t e n t V o l u m e R e c l a i m P o l i c y :   R e t a i n   f c :   t a r g e t W W N s :   [ \" 5 0 0 6 0 e 8 0 1 0 4 9 c f d 1 \" ]   l u n :   0   r e a d O n l y :   f a l s e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12464"
  },
  {
    "question": "What is PersistentVolumeClaim requesting a Raw Block Volume?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   b l o c k - p v c   s p e c :   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   v o l u m e M o d e :   B l o c k   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   1 0 G i",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12465"
  },
  {
    "question": "What is Pod specification adding Raw Block Device path in container?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p o d - w i t h - b l o c k - v o l u m e   s p e c :   c o n t a i n e r s :   -   n a m e :   f c - c o n t a i n e r   i m a g e :   f e d o r a : 2 6   c o m m a n d :   [ \" / b i n / s h \" ,   \" - c \" ]   a r g s :   [   \" t a i l   - f   / d e v / n u l l \"   ]   v o l u m e D e v i c e s :   -   n a m e :   d a t a   d e v i c e P a t h :   / d e v / x v d a   v o l u m e s :   -   n a m e :   d a t a   p e r s i s t e n t V o l u m e C l a i m :   c l a i m N a m e :   b l o c k - p v c",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12466"
  },
  {
    "question": "What is Binding Block Volumes?",
    "answer": "I f   a   u s e r   r e q u e s t s   a   r a w   b l o c k   v o l u m e   b y   i n d i c a t i n g   t h i s   u s i n g   t h e   v o l u m e M o d e   f i e l d   i n   t h e   P e r s i s t e n t V o l u m e C l a i m   s p e c ,   t h e   b i n d i n g   r u l e s   d i f f e r   s l i g h t l y   f r o m   p r e v i o u s   r e l e a s e s   t h a t   d i d n ' t   c o n s i d e r   t h i s   m o d e   a s   p a r t   o f   t h e   s p e c .   L i s t e d   i s   a   t a b l e   o f   p o s s i b l e   c o m b i n a t i o n s   t h e   u s e r   a n d   a d m i n   m i g h t   s p e c i f y   f o r   r e q u e s t i n g   a   r a w   b l o c k   d e v i c e .   T h e   t a b l e   i n d i c a t e s   i f   t h e   v o l u m e   w i l l   b e   b o u n d   o r   n o t   g i v e n   t h e   c o m b i n a t i o n s :   V o l u m e   b i n d i n g   m a t r i x   f o r   s t a t i c a l l y   p r o v i s i o n e d   v o l u m e s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12467"
  },
  {
    "question": "What is Volume Snapshot and Restore Volume from Snapshot Support?",
    "answer": "V o l u m e   s n a p s h o t s   o n l y   s u p p o r t   t h e   o u t - o f - t r e e   C S I   v o l u m e   p l u g i n s .   F o r   d e t a i l s ,   s e e   V o l u m e   S n a p s h o t s .   I n - t r e e   v o l u m e   p l u g i n s   a r e   d e p r e c a t e d .   Y o u   c a n   r e a d   a b o u t   t h e   d e p r e c a t e d   v o l u m e   p l u g i n s   i n   t h e   V o l u m e   P l u g i n   F A Q .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12468"
  },
  {
    "question": "What is Create a PersistentVolumeClaim from a Volume Snapshot?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   r e s t o r e - p v c   s p e c :   s t o r a g e C l a s s N a m e :   c s i - h o s t p a t h - s c   d a t a S o u r c e :   n a m e :   n e w - s n a p s h o t - t e s t   k i n d :   V o l u m e S n a p s h o t   a p i G r o u p :   s n a p s h o t . s t o r a g e . k 8 s . i o   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   1 0 G i",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12469"
  },
  {
    "question": "What is Volume Cloning?",
    "answer": "V o l u m e   C l o n i n g   o n l y   a v a i l a b l e   f o r   C S I   v o l u m e   p l u g i n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12470"
  },
  {
    "question": "What is Create PersistentVolumeClaim from an existing PVC?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   c l o n e d - p v c   s p e c :   s t o r a g e C l a s s N a m e :   m y - c s i - p l u g i n   d a t a S o u r c e :   n a m e :   e x i s t i n g - s r c - p v c - n a m e   k i n d :   P e r s i s t e n t V o l u m e C l a i m   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   1 0 G i",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12471"
  },
  {
    "question": "What is Volume populators and data sources?",
    "answer": "K u b e r n e t e s   s u p p o r t s   c u s t o m   v o l u m e   p o p u l a t o r s .   T o   u s e   c u s t o m   v o l u m e   p o p u l a t o r s ,   y o u   m u s t   e n a b l e   t h e   A n y V o l u m e D a t a S o u r c e   f e a t u r e   g a t e   f o r   t h e   k u b e - a p i s e r v e r   a n d   k u b e - c o n t r o l l e r - m a n a g e r .   V o l u m e   p o p u l a t o r s   t a k e   a d v a n t a g e   o f   a   P V C   s p e c   f i e l d   c a l l e d   d a t a S o u r c e R e f .   U n l i k e   t h e   d a t a S o u r c e   f i e l d ,   w h i c h   c a n   o n l y   c o n t a i n   e i t h e r   a   r e f e r e n c e   t o   a n o t h e r   P e r s i s t e n t V o l u m e C l a i m   o r   t o   a   V o l u m e S n a p s h o t ,   t h e   d a t a S o u r c e R e f   f i e l d   c a n   c o n t a i n   a   r e f e r e n c e   t o   a n y   o b j e c t   i n   t h e   s a m e   n a m e s p a c e ,   e x c e p t   f o r   c o r e   o b j e c t s   o t h e r   t h a n   P V C s .   F o r   c l u s t e r s   t h a t   h a v e   t h e   f e a t u r e   g a t e   e n a b l e d ,   u s e   o f   t h e   d a t a S o u r c e R e f   i s   p r e f e r r e d   o v e r   d a t a S o u r c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12472"
  },
  {
    "question": "What is Cross namespace data sources?",
    "answer": "K u b e r n e t e s   s u p p o r t s   c r o s s   n a m e s p a c e   v o l u m e   d a t a   s o u r c e s .   T o   u s e   c r o s s   n a m e s p a c e   v o l u m e   d a t a   s o u r c e s ,   y o u   m u s t   e n a b l e   t h e   A n y V o l u m e D a t a S o u r c e   a n d   C r o s s N a m e s p a c e V o l u m e D a t a S o u r c e   f e a t u r e   g a t e s   f o r   t h e   k u b e - a p i s e r v e r   a n d   k u b e - c o n t r o l l e r - m a n a g e r .   A l s o ,   y o u   m u s t   e n a b l e   t h e   C r o s s N a m e s p a c e V o l u m e D a t a S o u r c e   f e a t u r e   g a t e   f o r   t h e   c s i - p r o v i s i o n e r .   E n a b l i n g   t h e   C r o s s N a m e s p a c e V o l u m e D a t a S o u r c e   f e a t u r e   g a t e   a l l o w s   y o u   t o   s p e c i f y   a   n a m e s p a c e   i n   t h e   d a t a S o u r c e R e f   f i e l d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12473"
  },
  {
    "question": "What is Data source references?",
    "answer": "T h e   d a t a S o u r c e R e f   f i e l d   b e h a v e s   a l m o s t   t h e   s a m e   a s   t h e   d a t a S o u r c e   f i e l d .   I f   o n e   i s   s p e c i f i e d   w h i l e   t h e   o t h e r   i s   n o t ,   t h e   A P I   s e r v e r   w i l l   g i v e   b o t h   f i e l d s   t h e   s a m e   v a l u e .   N e i t h e r   f i e l d   c a n   b e   c h a n g e d   a f t e r   c r e a t i o n ,   a n d   a t t e m p t i n g   t o   s p e c i f y   d i f f e r e n t   v a l u e s   f o r   t h e   t w o   f i e l d s   w i l l   r e s u l t   i n   a   v a l i d a t i o n   e r r o r .   T h e r e f o r e   t h e   t w o   f i e l d s   w i l l   a l w a y s   h a v e   t h e   s a m e   c o n t e n t s .   T h e r e   a r e   t w o   d i f f e r e n c e s   b e t w e e n   t h e   d a t a S o u r c e R e f   f i e l d   a n d   t h e   d a t a S o u r c e   f i e l d   t h a t   u s e r s   s h o u l d   b e   a w a r e   o f :   T h e   d a t a S o u r c e   f i e l d   i g n o r e s   i n v a l i d   v a l u e s   ( a s   i f   t h e   f i e l d   w a s   b l a n k )   w h i l e   t h e   d a t a S o u r c e R e f   f i e l d   n e v e r   i g n o r e s   v a l u e s   a n d   w i l l   c a u s e   a n   e r r o r   i f   a n   i n v a l i d   v a l u e   i s   u s e d .   I n v a l i d   v a l u e s   a r e   a n y   c o r e   o b j e c t   ( o b j e c t s   w i t h   n o   a p i G r o u p )   e x c e p t   f o r   P V C s . T h e   d a t a S o u r c e R e f   f i e l d   m a y   c o n t a i n   d i f f e r e n t   t y p e s   o f   o b j e c t s ,   w h i l e   t h e   d a t a S o u r c e   f i e l d   o n l y   a l l o w s   P V C s   a n d   V o l u m e S n a p s h o t s .   W h e n   t h e   C r o s s N a m e s p a c e V o l u m e D a t a S o u r c e   f e a t u r e   i s   e n a b l e d ,   t h e r e   a r e   a d d i t i o n a l   d i f f e r e n c e s :   T h e   d a t a S o u r c e   f i e l d   o n l y   a l l o w s   l o c ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12474"
  },
  {
    "question": "What is Using volume populators?",
    "answer": "V o l u m e   p o p u l a t o r s   a r e   c o n t r o l l e r s   t h a t   c a n   c r e a t e   n o n - e m p t y   v o l u m e s ,   w h e r e   t h e   c o n t e n t s   o f   t h e   v o l u m e   a r e   d e t e r m i n e d   b y   a   C u s t o m   R e s o u r c e .   U s e r s   c r e a t e   a   p o p u l a t e d   v o l u m e   b y   r e f e r r i n g   t o   a   C u s t o m   R e s o u r c e   u s i n g   t h e   d a t a S o u r c e R e f   f i e l d :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   p o p u l a t e d - p v c   s p e c :   d a t a S o u r c e R e f :   n a m e :   e x a m p l e - n a m e   k i n d :   E x a m p l e D a t a S o u r c e   a p i G r o u p :   e x a m p l e . s t o r a g e . k 8 s . i o   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   1 0 G i   B e c a u s e   v o l u m e   p o p u l a t o r s   a r e   e x t e r n a l   c o m p o n e n t s ,   a t t e m p t s   t o   c r e a t e   a   P V C   t h a t   u s e s   o n e   c a n   f a i l   i f   n o t   a l l   t h e   c o r r e c t   c o m p o n e n t s   a r e   i n s t a l l e d .   E x t e r n a l   c o n t r o l l e r s   s h o u l d   g e n e r a t e   e v e n t s   o n   t h e   P V C   t o   p r o v i d e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12475"
  },
  {
    "question": "What is Using a cross-namespace volume data source?",
    "answer": "C r e a t e   a   R e f e r e n c e G r a n t   t o   a l l o w   t h e   n a m e s p a c e   o w n e r   t o   a c c e p t   t h e   r e f e r e n c e .   Y o u   d e f i n e   a   p o p u l a t e d   v o l u m e   b y   s p e c i f y i n g   a   c r o s s   n a m e s p a c e   v o l u m e   d a t a   s o u r c e   u s i n g   t h e   d a t a S o u r c e R e f   f i e l d .   Y o u   m u s t   a l r e a d y   h a v e   a   v a l i d   R e f e r e n c e G r a n t   i n   t h e   s o u r c e   n a m e s p a c e :   a p i V e r s i o n :   g a t e w a y . n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1   k i n d :   R e f e r e n c e G r a n t   m e t a d a t a :   n a m e :   a l l o w - n s 1 - p v c   n a m e s p a c e :   d e f a u l t   s p e c :   f r o m :   -   g r o u p :   \" \"   k i n d :   P e r s i s t e n t V o l u m e C l a i m   n a m e s p a c e :   n s 1   t o :   -   g r o u p :   s n a p s h o t . s t o r a g e . k 8 s . i o   k i n d :   V o l u m e S n a p s h o t   n a m e :   n e w - s n a p s h o t - d e m o   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   f o o - p v c   n a m e s p a c e :   n s 1   s p e c :   s t o r a g e C l a s s N a m e :   e x a m p l e   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   1 G i   d a t a S o u r c e R e f :   a p i G r o u p :   s n a p s h o t . s t o r a g e . k 8 s . i o   k i n d :   V o l u m e S n a p s h o t   n a m e :   n e w - s n a p s h o t - d e m o   n a m e s p a c e :   d e f a u l t   v o l u m e M o d e :   F i l e s y s t e m",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12476"
  },
  {
    "question": "What is Writing Portable Configuration?",
    "answer": "I f   y o u ' r e   w r i t i n g   c o n f i g u r a t i o n   t e m p l a t e s   o r   e x a m p l e s   t h a t   r u n   o n   a   w i d e   r a n g e   o f   c l u s t e r s   a n d   n e e d   p e r s i s t e n t   s t o r a g e ,   i t   i s   r e c o m m e n d e d   t h a t   y o u   u s e   t h e   f o l l o w i n g   p a t t e r n :   I n c l u d e   P e r s i s t e n t V o l u m e C l a i m   o b j e c t s   i n   y o u r   b u n d l e   o f   c o n f i g   ( a l o n g s i d e   D e p l o y m e n t s ,   C o n f i g M a p s ,   e t c ) . D o   n o t   i n c l u d e   P e r s i s t e n t V o l u m e   o b j e c t s   i n   t h e   c o n f i g ,   s i n c e   t h e   u s e r   i n s t a n t i a t i n g   t h e   c o n f i g   m a y   n o t   h a v e   p e r m i s s i o n   t o   c r e a t e   P e r s i s t e n t V o l u m e s . G i v e   t h e   u s e r   t h e   o p t i o n   o f   p r o v i d i n g   a   s t o r a g e   c l a s s   n a m e   w h e n   i n s t a n t i a t i n g   t h e   t e m p l a t e . I f   t h e   u s e r   p r o v i d e s   a   s t o r a g e   c l a s s   n a m e ,   p u t   t h a t   v a l u e   i n t o   t h e   p e r s i s t e n t V o l u m e C l a i m . s t o r a g e C l a s s N a m e   f i e l d .   T h i s   w i l l   c a u s e   t h e   P V C   t o   m a t c h   t h e   r i g h t   s t o r a g e   c l a s s   i f   t h e   c l u s t e r   h a s   S t o r a g e C l a s s e s   e n a b l e d   b y   t h e   a d m i n . I f   t h e   u s e r   d o e s   n o t   p r o v i d e   a   s t o r a g e   c l a s s   n a m e ,   l e a v e   t h e   p e r s i s t e n t V o l u m e C l a i m . s t o r a g e C l a s s N a m e   f i e l d   a s   n i l .   T h i s   w i l l   c a u s e   a   P V   t o   b e   a u t o m a t i c a l l y   p r o v i s i o n e d   f o r   t h e   u s e r   w i t h   t h e   d e f a u l t   S t o r a g e C l a s s   i n   t h e   c l u s t e r .   M a n y   c l u s t e r   e n v i r o n m e n t s   h a v e   a   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12477"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   C r e a t i n g   a   P e r s i s t e n t V o l u m e . L e a r n   m o r e   a b o u t   C r e a t i n g   a   P e r s i s t e n t V o l u m e C l a i m . R e a d   t h e   P e r s i s t e n t   S t o r a g e   d e s i g n   d o c u m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12478"
  },
  {
    "question": "What is API references?",
    "answer": "R e a d   a b o u t   t h e   A P I s   d e s c r i b e d   i n   t h i s   p a g e :   P e r s i s t e n t V o l u m e P e r s i s t e n t V o l u m e C l a i m",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12479"
  },
  {
    "question": "What is 6.3 - Projected Volumes?",
    "answer": "T h i s   d o c u m e n t   d e s c r i b e s   p r o j e c t e d   v o l u m e s   i n   K u b e r n e t e s .   F a m i l i a r i t y   w i t h   v o l u m e s   i s   s u g g e s t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12480"
  },
  {
    "question": "What is Introduction?",
    "answer": "A   p r o j e c t e d   v o l u m e   m a p s   s e v e r a l   e x i s t i n g   v o l u m e   s o u r c e s   i n t o   t h e   s a m e   d i r e c t o r y .   C u r r e n t l y ,   t h e   f o l l o w i n g   t y p e s   o f   v o l u m e   s o u r c e s   c a n   b e   p r o j e c t e d :   s e c r e t d o w n w a r d A P I c o n f i g M a p s e r v i c e A c c o u n t T o k e n c l u s t e r T r u s t B u n d l e p o d C e r t i f i c a t e   A l l   s o u r c e s   a r e   r e q u i r e d   t o   b e   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   P o d .   F o r   m o r e   d e t a i l s ,   s e e   t h e   a l l - i n - o n e   v o l u m e   d e s i g n   d o c u m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12481"
  },
  {
    "question": "What is Example configuration with a secret, a downwardAPI, and a configMap?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   v o l u m e - t e s t   s p e c :   c o n t a i n e r s :   -   n a m e :   c o n t a i n e r - t e s t   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ \" s l e e p \" ,   \" 3 6 0 0 \" ]   v o l u m e M o u n t s :   -   n a m e :   a l l - i n - o n e   m o u n t P a t h :   \" / p r o j e c t e d - v o l u m e \"   r e a d O n l y :   t r u e   v o l u m e s :   -   n a m e :   a l l - i n - o n e   p r o j e c t e d :   s o u r c e s :   -   s e c r e t :   n a m e :   m y s e c r e t   i t e m s :   -   k e y :   u s e r n a m e   p a t h :   m y - g r o u p / m y - u s e r n a m e   -   d o w n w a r d A P I :   i t e m s :   -   p a t h :   \" l a b e l s \"   f i e l d R e f :   f i e l d P a t h :   m e t a d a t a . l a b e l s   -   p a t h :   \" c p u _ l i m i t \"   r e s o u r c e F i e l d R e f :   c o n t a i n e r N a m e :   c o n t a i n e r - t e s t   r e s o u r c e :   l i m i t s . c p u   -   c o n f i g M a p :   n a m e :   m y c o n f i g m a p   i t e m s :   -   k e y :   c o n f i g   p a t h :   m y - g r o u p / m y - c o n f i g",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12482"
  },
  {
    "question": "What is Example configuration: secrets with a non-default permission mode set?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   v o l u m e - t e s t   s p e c :   c o n t a i n e r s :   -   n a m e :   c o n t a i n e r - t e s t   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ \" s l e e p \" ,   \" 3 6 0 0 \" ]   v o l u m e M o u n t s :   -   n a m e :   a l l - i n - o n e   m o u n t P a t h :   \" / p r o j e c t e d - v o l u m e \"   r e a d O n l y :   t r u e   v o l u m e s :   -   n a m e :   a l l - i n - o n e   p r o j e c t e d :   s o u r c e s :   -   s e c r e t :   n a m e :   m y s e c r e t   i t e m s :   -   k e y :   u s e r n a m e   p a t h :   m y - g r o u p / m y - u s e r n a m e   -   s e c r e t :   n a m e :   m y s e c r e t 2   i t e m s :   -   k e y :   p a s s w o r d   p a t h :   m y - g r o u p / m y - p a s s w o r d   m o d e :   5 1 1   E a c h   p r o j e c t e d   v o l u m e   s o u r c e   i s   l i s t e d   i n   t h e   s p e c   u n d e r   s o u r c e s .   T h e   p a r a m e t e r s   a r e   n e a r l y   t h e   s a m e   w i t h   t w o   e x c e p t i o n s :   F o r   s e c r e t s ,   t h e   s e c r e t N a m e   f i e l d   h a s   b e e n   c h a n g e d   t o   n a m e   t o   b e   c o n s i s t e n t   w i t h   C o n f i g M a p   n a m i n g . T h e   d e f a u l t M o d e   c a n   o n l y   b e   s p e c i f i e d   a t   t h e   p r o j e c t e d   l e v e l   a n d   n o t   f o r   e a c h   v o l u m e   s o u r c e .   H o w e v e r ,   a s   i l l u s t r a t e d   a b o v e ,   y o u   c a n   e x p l i c i t l y   s e t   t h e   m o d e   f o r   e a c h   i n d i v i d u a l   p r o j e c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12483"
  },
  {
    "question": "What is serviceAccountToken projected volumes?",
    "answer": "Y o u   c a n   i n j e c t   t h e   t o k e n   f o r   t h e   c u r r e n t   s e r v i c e   a c c o u n t   i n t o   a   P o d   a t   a   s p e c i f i e d   p a t h .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s a - t o k e n - t e s t   s p e c :   c o n t a i n e r s :   -   n a m e :   c o n t a i n e r - t e s t   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ \" s l e e p \" ,   \" 3 6 0 0 \" ]   v o l u m e M o u n t s :   -   n a m e :   t o k e n - v o l   m o u n t P a t h :   \" / s e r v i c e - a c c o u n t \"   r e a d O n l y :   t r u e   s e r v i c e A c c o u n t N a m e :   d e f a u l t   v o l u m e s :   -   n a m e :   t o k e n - v o l   p r o j e c t e d :   s o u r c e s :   -   s e r v i c e A c c o u n t T o k e n :   a u d i e n c e :   a p i   e x p i r a t i o n S e c o n d s :   3 6 0 0   p a t h :   t o k e n   T h e   e x a m p l e   P o d   h a s   a   p r o j e c t e d   v o l u m e   c o n t a i n i n g   t h e   i n j e c t e d   s e r v i c e   a c c o u n t   t o k e n .   C o n t a i n e r s   i n   t h i s   P o d   c a n   u s e   t h a t   t o k e n   t o   a c c e s s   t h e   K u b e r n e t e s   A P I   s e r v e r ,   a u t h e n t i c a t i n g   w i t h   t h e   i d e n t i t y   o f   t h e   p o d ' s   S e r v i c e A c c o u n t .   T h e   a u d i e n c e   f i e l d   c o n t a i n s   t h e   i n t e n d e d   a u d i e n c e   o f   t h e   t o k e n .   A   r e c i p i e n t   o f   t h e   t o k e n   m u s t   i d e n t i f y   i t s e l f   w i t h   a n   i d e n t i f i e r   s p e c i f i e d   i n   t h e   a u d i e n c e   o f   t h e   t o k e n ,   a n d   o t h e r w i s e   s h o u l d   r e j e c t   t h e   t o k e n .   T h i s   f i e l d   i s   o p t i o n a l   a n d   i t   d e f a u l t s   t o   t h e   i d e n t i f i e r   o f   t h e   A P I   s e r v e r .   T h e   e x p i r a t i o n S e c o n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12484"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   c l u s t e r T r u s t B u n d l e   p r o j e c t e d   v o l u m e   s o u r c e   i n j e c t s   t h e   c o n t e n t s   o f   o n e   o r   m o r e   C l u s t e r T r u s t B u n d l e   o b j e c t s   a s   a n   a u t o m a t i c a l l y - u p d a t i n g   f i l e   i n   t h e   c o n t a i n e r   f i l e s y s t e m .   C l u s t e r T r u s t B u n d l e s   c a n   b e   s e l e c t e d   e i t h e r   b y   n a m e   o r   b y   s i g n e r   n a m e .   T o   s e l e c t   b y   n a m e ,   u s e   t h e   n a m e   f i e l d   t o   d e s i g n a t e   a   s i n g l e   C l u s t e r T r u s t B u n d l e   o b j e c t .   T o   s e l e c t   b y   s i g n e r   n a m e ,   u s e   t h e   s i g n e r N a m e   f i e l d   ( a n d   o p t i o n a l l y   t h e   l a b e l S e l e c t o r   f i e l d )   t o   d e s i g n a t e   a   s e t   o f   C l u s t e r T r u s t B u n d l e   o b j e c t s   t h a t   u s e   t h e   g i v e n   s i g n e r   n a m e .   I f   l a b e l S e l e c t o r   i s   n o t   p r e s e n t ,   t h e n   a l l   C l u s t e r T r u s t B u n d l e s   f o r   t h a t   s i g n e r   a r e   s e l e c t e d .   T h e   k u b e l e t   d e d u p l i c a t e s   t h e   c e r t i f i c a t e s   i n   t h e   s e l e c t e d   C l u s t e r T r u s t B u n d l e   o b j e c t s ,   n o r m a l i z e s   t h e   P E M   r e p r e s e n t a t i o n s   ( d i s c a r d i n g   c o m m e n t s   a n d   h e a d e r s ) ,   r e o r d e r s   t h e   c e r t i f i c a t e s ,   a n d   w r i t e s   t h e m   i n t o   t h e   f i l e   n a m e d   b y   p a t h .   A s   t h e   s e t   o f   s e l e c t e d   C l u s t e r T r u s t B u n d l e s   o r   t h e i r   c o n t e n t   c h a n g e s ,   k u b e l e t   k e e p s   t h e   f i l e   u p - t o - d a t e .   B y   d e f a u l t ,   t h e   k u b e l e t   w i l l   p r e v e n t   t h e   p o d   f r o m   s t a r t i n g   i f   t h e   n a m e d   C ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12485"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   p o d C e r t i f i c a t e   p r o j e c t e d   v o l u m e s   s o u r c e   s e c u r e l y   p r o v i s i o n s   a   p r i v a t e   k e y   a n d   X . 5 0 9   c e r t i f i c a t e   c h a i n   f o r   p o d   t o   u s e   a s   c l i e n t   o r   s e r v e r   c r e d e n t i a l s .   K u b e l e t   w i l l   t h e n   h a n d l e   r e f r e s h i n g   t h e   p r i v a t e   k e y   a n d   c e r t i f i c a t e   c h a i n   w h e n   t h e y   g e t   c l o s e   t o   e x p i r a t i o n .   T h e   a p p l i c a t i o n   j u s t   h a s   t o   m a k e   s u r e   t h a t   i t   r e l o a d s   t h e   f i l e   p r o m p t l y   w h e n   i t   c h a n g e s ,   w i t h   a   m e c h a n i s m   l i k e   i n o t i f y   o r   p o l l i n g .   E a c h   p o d C e r t i f i c a t e   p r o j e c t i o n   s u p p o r t s   t h e   f o l l o w i n g   c o n f i g u r a t i o n   f i e l d s :   s i g n e r N a m e :   T h e   s i g n e r   y o u   w a n t   t o   i s s u e   t h e   c e r t i f i c a t e .   N o t e   t h a t   s i g n e r s   m a y   h a v e   t h e i r   o w n   a c c e s s   r e q u i r e m e n t s ,   a n d   m a y   r e f u s e   t o   i s s u e   c e r t i f i c a t e s   t o   y o u r   p o d . k e y T y p e :   T h e   t y p e   o f   p r i v a t e   k e y   t h a t   s h o u l d   b e   g e n e r a t e d .   V a l i d   v a l u e s   a r e   E D 2 5 5 1 9 ,   E C D S A P 2 5 6 ,   E C D S A P 3 8 4 ,   E C D S A P 5 2 1 ,   R S A 3 0 7 2 ,   a n d   R S A 4 0 9 6 . m a x E x p i r a t i o n S e c o n d s :   T h e   m a x i m u m   l i f e t i m e   y o u   w i l l   a c c e p t   f o r   t h e   c e r t i f i c a t e   i s s u e d   t o   t h e   p o d .   I f   n o t   s e t ,   w i l l   b e   d e f a u l t e d   t o   8 6 4 0 0   ( 2 4   h o u r s ) .   M u s t   b e   a t   l e a s t   3 6 0 0   ( 1   h o u r ) ,   a n d   a t   m o s t   7 8 6 2 4 0 0   ( 9 1   d a y s ) .   K u b e r n e t e s   b u i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12486"
  },
  {
    "question": "What is Note:?",
    "answer": "#   S a m p l e   P o d   s p e c   t h a t   u s e s   a   p o d C e r t i f i c a t e   p r o j e c t i o n   t o   r e q u e s t   a n   E D 2 5 5 1 9   #   p r i v a t e   k e y ,   a   c e r t i f i c a t e   f r o m   t h e   ` c o o l c e r t . e x a m p l e . c o m / f o o `   s i g n e r ,   a n d   #   w r i t e   t h e   r e s u l t s   t o   ` / v a r / r u n / m y - x 5 0 9 - c r e d e n t i a l s / c r e d e n t i a l b u n d l e . p e m ` .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e s p a c e :   d e f a u l t   n a m e :   p o d c e r t i f i c a t e - p o d   s p e c :   s e r v i c e A c c o u n t N a m e :   d e f a u l t   c o n t a i n e r s :   -   i m a g e :   d e b i a n   n a m e :   m a i n   c o m m a n d :   [ \" s l e e p \" ,   \" i n f i n i t y \" ]   v o l u m e M o u n t s :   -   n a m e :   m y - x 5 0 9 - c r e d e n t i a l s   m o u n t P a t h :   / v a r / r u n / m y - x 5 0 9 - c r e d e n t i a l s   v o l u m e s :   -   n a m e :   m y - x 5 0 9 - c r e d e n t i a l s   p r o j e c t e d :   d e f a u l t M o d e :   4 2 0   s o u r c e s :   -   p o d C e r t i f i c a t e :   k e y T y p e :   E D 2 5 5 1 9   s i g n e r N a m e :   c o o l c e r t . e x a m p l e . c o m / f o o   c r e d e n t i a l B u n d l e P a t h :   c r e d e n t i a l b u n d l e . p e m",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12487"
  },
  {
    "question": "What is SecurityContext interactions?",
    "answer": "T h e   p r o p o s a l   f o r   f i l e   p e r m i s s i o n   h a n d l i n g   i n   p r o j e c t e d   s e r v i c e   a c c o u n t   v o l u m e   e n h a n c e m e n t   i n t r o d u c e d   t h e   p r o j e c t e d   f i l e s   h a v i n g   t h e   c o r r e c t   o w n e r   p e r m i s s i o n s   s e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12488"
  },
  {
    "question": "What is Linux?",
    "answer": "I n   L i n u x   p o d s   t h a t   h a v e   a   p r o j e c t e d   v o l u m e   a n d   R u n A s U s e r   s e t   i n   t h e   P o d   S e c u r i t y C o n t e x t ,   t h e   p r o j e c t e d   f i l e s   h a v e   t h e   c o r r e c t   o w n e r s h i p   s e t   i n c l u d i n g   c o n t a i n e r   u s e r   o w n e r s h i p .   W h e n   a l l   c o n t a i n e r s   i n   a   p o d   h a v e   t h e   s a m e   r u n A s U s e r   s e t   i n   t h e i r   P o d S e c u r i t y C o n t e x t   o r   c o n t a i n e r   S e c u r i t y C o n t e x t ,   t h e n   t h e   k u b e l e t   e n s u r e s   t h a t   t h e   c o n t e n t s   o f   t h e   s e r v i c e A c c o u n t T o k e n   v o l u m e   a r e   o w n e d   b y   t h a t   u s e r ,   a n d   t h e   t o k e n   f i l e   h a s   i t s   p e r m i s s i o n   m o d e   s e t   t o   0 6 0 0 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12489"
  },
  {
    "question": "What is Note:?",
    "answer": "E p h e m e r a l   c o n t a i n e r s   a d d e d   t o   a   P o d   a f t e r   i t   i s   c r e a t e d   d o   n o t   c h a n g e   v o l u m e   p e r m i s s i o n s   t h a t   w e r e   s e t   w h e n   t h e   p o d   w a s   c r e a t e d .   I f   a   P o d ' s   s e r v i c e A c c o u n t T o k e n   v o l u m e   p e r m i s s i o n s   w e r e   s e t   t o   0 6 0 0   b e c a u s e   a l l   o t h e r   c o n t a i n e r s   i n   t h e   P o d   h a v e   t h e   s a m e   r u n A s U s e r ,   e p h e m e r a l   c o n t a i n e r s   m u s t   u s e   t h e   s a m e   r u n A s U s e r   t o   b e   a b l e   t o   r e a d   t h e   t o k e n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12490"
  },
  {
    "question": "What is Windows?",
    "answer": "I n   W i n d o w s   p o d s   t h a t   h a v e   a   p r o j e c t e d   v o l u m e   a n d   R u n A s U s e r n a m e   s e t   i n   t h e   P o d   S e c u r i t y C o n t e x t ,   t h e   o w n e r s h i p   i s   n o t   e n f o r c e d   d u e   t o   t h e   w a y   u s e r   a c c o u n t s   a r e   m a n a g e d   i n   W i n d o w s .   W i n d o w s   s t o r e s   a n d   m a n a g e s   l o c a l   u s e r   a n d   g r o u p   a c c o u n t s   i n   a   d a t a b a s e   f i l e   c a l l e d   S e c u r i t y   A c c o u n t   M a n a g e r   ( S A M ) .   E a c h   c o n t a i n e r   m a i n t a i n s   i t s   o w n   i n s t a n c e   o f   t h e   S A M   d a t a b a s e ,   t o   w h i c h   t h e   h o s t   h a s   n o   v i s i b i l i t y   i n t o   w h i l e   t h e   c o n t a i n e r   i s   r u n n i n g .   W i n d o w s   c o n t a i n e r s   a r e   d e s i g n e d   t o   r u n   t h e   u s e r   m o d e   p o r t i o n   o f   t h e   O S   i n   i s o l a t i o n   f r o m   t h e   h o s t ,   h e n c e   t h e   m a i n t e n a n c e   o f   a   v i r t u a l   S A M   d a t a b a s e .   A s   a   r e s u l t ,   t h e   k u b e l e t   r u n n i n g   o n   t h e   h o s t   d o e s   n o t   h a v e   t h e   a b i l i t y   t o   d y n a m i c a l l y   c o n f i g u r e   h o s t   f i l e   o w n e r s h i p   f o r   v i r t u a l i z e d   c o n t a i n e r   a c c o u n t s .   I t   i s   r e c o m m e n d e d   t h a t   i f   f i l e s   o n   t h e   h o s t   m a c h i n e   a r e   t o   b e   s h a r e d   w i t h   t h e   c o n t a i n e r   t h e n   t h e y   s h o u l d   b e   p l a c e d   i n t o   t h e i r   o w n   v o l u m e   m o u n t   o u t s i d e   o f   C : \\ .   B y   d e f a u l t ,   t h e   p r o j e c t e d   f i l e s   w i l l   h a v e   t h e   f o l l o w i n g   o w n e r s h i p   a s   s h o w n   f o r   a n   e x a m p l e   p r o j e c t e d   v o l u m e   f i l e : ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12491"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   g e n e r a l ,   g r a n t i n g   t h e   c o n t a i n e r   a c c e s s   t o   t h e   h o s t   i s   d i s c o u r a g e d   a s   i t   c a n   o p e n   t h e   d o o r   f o r   p o t e n t i a l   s e c u r i t y   e x p l o i t s .   C r e a t i n g   a   W i n d o w s   P o d   w i t h   R u n A s U s e r   i n   i t ' s   S e c u r i t y C o n t e x t   w i l l   r e s u l t   i n   t h e   P o d   b e i n g   s t u c k   a t   C o n t a i n e r C r e a t i n g   f o r e v e r .   S o   i t   i s   a d v i s e d   t o   n o t   u s e   t h e   L i n u x   o n l y   R u n A s U s e r   o p t i o n   w i t h   W i n d o w s   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12492"
  },
  {
    "question": "What is 6.4 - Ephemeral Volumes?",
    "answer": "T h i s   d o c u m e n t   d e s c r i b e s   e p h e m e r a l   v o l u m e s   i n   K u b e r n e t e s .   F a m i l i a r i t y   w i t h   v o l u m e s   i s   s u g g e s t e d ,   i n   p a r t i c u l a r   P e r s i s t e n t V o l u m e C l a i m   a n d   P e r s i s t e n t V o l u m e .   S o m e   a p p l i c a t i o n s   n e e d   a d d i t i o n a l   s t o r a g e   b u t   d o n ' t   c a r e   w h e t h e r   t h a t   d a t a   i s   s t o r e d   p e r s i s t e n t l y   a c r o s s   r e s t a r t s .   F o r   e x a m p l e ,   c a c h i n g   s e r v i c e s   a r e   o f t e n   l i m i t e d   b y   m e m o r y   s i z e   a n d   c a n   m o v e   i n f r e q u e n t l y   u s e d   d a t a   i n t o   s t o r a g e   t h a t   i s   s l o w e r   t h a n   m e m o r y   w i t h   l i t t l e   i m p a c t   o n   o v e r a l l   p e r f o r m a n c e .   O t h e r   a p p l i c a t i o n s   e x p e c t   s o m e   r e a d - o n l y   i n p u t   d a t a   t o   b e   p r e s e n t   i n   f i l e s ,   l i k e   c o n f i g u r a t i o n   d a t a   o r   s e c r e t   k e y s .   E p h e m e r a l   v o l u m e s   a r e   d e s i g n e d   f o r   t h e s e   u s e   c a s e s .   B e c a u s e   v o l u m e s   f o l l o w   t h e   P o d ' s   l i f e t i m e   a n d   g e t   c r e a t e d   a n d   d e l e t e d   a l o n g   w i t h   t h e   P o d ,   P o d s   c a n   b e   s t o p p e d   a n d   r e s t a r t e d   w i t h o u t   b e i n g   l i m i t e d   t o   w h e r e   s o m e   p e r s i s t e n t   v o l u m e   i s   a v a i l a b l e .   E p h e m e r a l   v o l u m e s   a r e   s p e c i f i e d   i n l i n e   i n   t h e   P o d   s p e c ,   w h i c h   s i m p l i f i e s   a p p l i c a t i o n   d e p l o y m e n t   a n d   m a n a g e m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12493"
  },
  {
    "question": "What is Types of ephemeral volumes?",
    "answer": "K u b e r n e t e s   s u p p o r t s   s e v e r a l   d i f f e r e n t   k i n d s   o f   e p h e m e r a l   v o l u m e s   f o r   d i f f e r e n t   p u r p o s e s :   e m p t y D i r :   e m p t y   a t   P o d   s t a r t u p ,   w i t h   s t o r a g e   c o m i n g   l o c a l l y   f r o m   t h e   k u b e l e t   b a s e   d i r e c t o r y   ( u s u a l l y   t h e   r o o t   d i s k )   o r   R A M c o n f i g M a p ,   d o w n w a r d A P I ,   s e c r e t :   i n j e c t   d i f f e r e n t   k i n d s   o f   K u b e r n e t e s   d a t a   i n t o   a   P o d i m a g e :   a l l o w s   m o u n t i n g   c o n t a i n e r   i m a g e   f i l e s   o r   a r t i f a c t s ,   d i r e c t l y   t o   a   P o d . C S I   e p h e m e r a l   v o l u m e s :   s i m i l a r   t o   t h e   p r e v i o u s   v o l u m e   k i n d s ,   b u t   p r o v i d e d   b y   s p e c i a l   C S I   d r i v e r s   w h i c h   s p e c i f i c a l l y   s u p p o r t   t h i s   f e a t u r e g e n e r i c   e p h e m e r a l   v o l u m e s ,   w h i c h   c a n   b e   p r o v i d e d   b y   a l l   s t o r a g e   d r i v e r s   t h a t   a l s o   s u p p o r t   p e r s i s t e n t   v o l u m e s   e m p t y D i r ,   c o n f i g M a p ,   d o w n w a r d A P I ,   s e c r e t   a r e   p r o v i d e d   a s   l o c a l   e p h e m e r a l   s t o r a g e .   T h e y   a r e   m a n a g e d   b y   k u b e l e t   o n   e a c h   n o d e .   C S I   e p h e m e r a l   v o l u m e s   m u s t   b e   p r o v i d e d   b y   t h i r d - p a r t y   C S I   s t o r a g e   d r i v e r s .   G e n e r i c   e p h e m e r a l   v o l u m e s   c a n   b e   p r o v i d e d   b y   t h i r d - p a r t y   C S I   s t o r a g e   d r i v e r s ,   b u t   a l s o   b y   a n y   o t h e r   s t o r a g e   d r i v e r   t h a t   s u p p o r t s   d y n a m i c   p r o v i s i o n i n g .   S o m e   C S I   d r i v e r s   a r e   w r i t t e n   s p e c ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12494"
  },
  {
    "question": "What is Note:?",
    "answer": "C o n c e p t u a l l y ,   C S I   e p h e m e r a l   v o l u m e s   a r e   s i m i l a r   t o   c o n f i g M a p ,   d o w n w a r d A P I   a n d   s e c r e t   v o l u m e   t y p e s :   t h e   s t o r a g e   i s   m a n a g e d   l o c a l l y   o n   e a c h   n o d e   a n d   i s   c r e a t e d   t o g e t h e r   w i t h   o t h e r   l o c a l   r e s o u r c e s   a f t e r   a   P o d   h a s   b e e n   s c h e d u l e d   o n t o   a   n o d e .   K u b e r n e t e s   h a s   n o   c o n c e p t   o f   r e s c h e d u l i n g   P o d s   a n y m o r e   a t   t h i s   s t a g e .   V o l u m e   c r e a t i o n   h a s   t o   b e   u n l i k e l y   t o   f a i l ,   o t h e r w i s e   P o d   s t a r t u p   g e t s   s t u c k .   I n   p a r t i c u l a r ,   s t o r a g e   c a p a c i t y   a w a r e   P o d   s c h e d u l i n g   i s   n o t   s u p p o r t e d   f o r   t h e s e   v o l u m e s .   T h e y   a r e   c u r r e n t l y   a l s o   n o t   c o v e r e d   b y   t h e   s t o r a g e   r e s o u r c e   u s a g e   l i m i t s   o f   a   P o d ,   b e c a u s e   t h a t   i s   s o m e t h i n g   t h a t   k u b e l e t   c a n   o n l y   e n f o r c e   f o r   s t o r a g e   t h a t   i t   m a n a g e s   i t s e l f .   H e r e ' s   a n   e x a m p l e   m a n i f e s t   f o r   a   P o d   t h a t   u s e s   C S I   e p h e m e r a l   s t o r a g e :   k i n d :   P o d   a p i V e r s i o n :   v 1   m e t a d a t a :   n a m e :   m y - c s i - a p p   s p e c :   c o n t a i n e r s :   -   n a m e :   m y - f r o n t e n d   i m a g e :   b u s y b o x : 1 . 2 8   v o l u m e M o u n t s :   -   m o u n t P a t h :   \" / d a t a \"   n a m e :   m y - c s i - i n l i n e - v o l   c o m m a n d :   [   \" s l e e p \" ,   \" 1 0 0 0 0 0 0 \"   ]   v o l u m e s :   -   n a m e :   m y - c s i - i n l i n e - v o l   c s i :   d r i v e r :   i n l i n e . s t o r a g e . k u b e r n e t e s . i o   v o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12495"
  },
  {
    "question": "What is CSI driver restrictions?",
    "answer": "C S I   e p h e m e r a l   v o l u m e s   a l l o w   u s e r s   t o   p r o v i d e   v o l u m e A t t r i b u t e s   d i r e c t l y   t o   t h e   C S I   d r i v e r   a s   p a r t   o f   t h e   P o d   s p e c .   A   C S I   d r i v e r   a l l o w i n g   v o l u m e A t t r i b u t e s   t h a t   a r e   t y p i c a l l y   r e s t r i c t e d   t o   a d m i n i s t r a t o r s   i s   N O T   s u i t a b l e   f o r   u s e   i n   a n   i n l i n e   e p h e m e r a l   v o l u m e .   F o r   e x a m p l e ,   p a r a m e t e r s   t h a t   a r e   n o r m a l l y   d e f i n e d   i n   t h e   S t o r a g e C l a s s   s h o u l d   n o t   b e   e x p o s e d   t o   u s e r s   t h r o u g h   t h e   u s e   o f   i n l i n e   e p h e m e r a l   v o l u m e s .   C l u s t e r   a d m i n i s t r a t o r s   w h o   n e e d   t o   r e s t r i c t   t h e   C S I   d r i v e r s   t h a t   a r e   a l l o w e d   t o   b e   u s e d   a s   i n l i n e   v o l u m e s   w i t h i n   a   P o d   s p e c   m a y   d o   s o   b y :   R e m o v i n g   E p h e m e r a l   f r o m   v o l u m e L i f e c y c l e M o d e s   i n   t h e   C S I D r i v e r   s p e c ,   w h i c h   p r e v e n t s   t h e   d r i v e r   f r o m   b e i n g   u s e d   a s   a n   i n l i n e   e p h e m e r a l   v o l u m e . U s i n g   a n   a d m i s s i o n   w e b h o o k   t o   r e s t r i c t   h o w   t h i s   d r i v e r   i s   u s e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12496"
  },
  {
    "question": "What is Generic ephemeral volumes?",
    "answer": "G e n e r i c   e p h e m e r a l   v o l u m e s   a r e   s i m i l a r   t o   e m p t y D i r   v o l u m e s   i n   t h e   s e n s e   t h a t   t h e y   p r o v i d e   a   p e r - p o d   d i r e c t o r y   f o r   s c r a t c h   d a t a   t h a t   i s   u s u a l l y   e m p t y   a f t e r   p r o v i s i o n i n g .   B u t   t h e y   m a y   a l s o   h a v e   a d d i t i o n a l   f e a t u r e s :   S t o r a g e   c a n   b e   l o c a l   o r   n e t w o r k - a t t a c h e d . V o l u m e s   c a n   h a v e   a   f i x e d   s i z e   t h a t   P o d s   a r e   n o t   a b l e   t o   e x c e e d . V o l u m e s   m a y   h a v e   s o m e   i n i t i a l   d a t a ,   d e p e n d i n g   o n   t h e   d r i v e r   a n d   p a r a m e t e r s . T y p i c a l   o p e r a t i o n s   o n   v o l u m e s   a r e   s u p p o r t e d   a s s u m i n g   t h a t   t h e   d r i v e r   s u p p o r t s   t h e m ,   i n c l u d i n g   s n a p s h o t t i n g ,   c l o n i n g ,   r e s i z i n g ,   a n d   s t o r a g e   c a p a c i t y   t r a c k i n g .   E x a m p l e :   k i n d :   P o d   a p i V e r s i o n :   v 1   m e t a d a t a :   n a m e :   m y - a p p   s p e c :   c o n t a i n e r s :   -   n a m e :   m y - f r o n t e n d   i m a g e :   b u s y b o x : 1 . 2 8   v o l u m e M o u n t s :   -   m o u n t P a t h :   \" / s c r a t c h \"   n a m e :   s c r a t c h - v o l u m e   c o m m a n d :   [   \" s l e e p \" ,   \" 1 0 0 0 0 0 0 \"   ]   v o l u m e s :   -   n a m e :   s c r a t c h - v o l u m e   e p h e m e r a l :   v o l u m e C l a i m T e m p l a t e :   m e t a d a t a :   l a b e l s :   t y p e :   m y - f r o n t e n d - v o l u m e   s p e c :   a c c e s s M o d e s :   [   \" R e a d W r i t e O n c e \"   ]   s t o r a g e C l a s s N a m e :   \" s c r a t c h - s t o r a g e - c l a s s \"   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   1 G i",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12497"
  },
  {
    "question": "What is Lifecycle and PersistentVolumeClaim?",
    "answer": "T h e   k e y   d e s i g n   i d e a   i s   t h a t   t h e   p a r a m e t e r s   f o r   a   v o l u m e   c l a i m   a r e   a l l o w e d   i n s i d e   a   v o l u m e   s o u r c e   o f   t h e   P o d .   L a b e l s ,   a n n o t a t i o n s   a n d   t h e   w h o l e   s e t   o f   f i e l d s   f o r   a   P e r s i s t e n t V o l u m e C l a i m   a r e   s u p p o r t e d .   W h e n   s u c h   a   P o d   g e t s   c r e a t e d ,   t h e   e p h e m e r a l   v o l u m e   c o n t r o l l e r   t h e n   c r e a t e s   a n   a c t u a l   P e r s i s t e n t V o l u m e C l a i m   o b j e c t   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   P o d   a n d   e n s u r e s   t h a t   t h e   P e r s i s t e n t V o l u m e C l a i m   g e t s   d e l e t e d   w h e n   t h e   P o d   g e t s   d e l e t e d .   T h a t   t r i g g e r s   v o l u m e   b i n d i n g   a n d / o r   p r o v i s i o n i n g ,   e i t h e r   i m m e d i a t e l y   i f   t h e   S t o r a g e C l a s s   u s e s   i m m e d i a t e   v o l u m e   b i n d i n g   o r   w h e n   t h e   P o d   i s   t e n t a t i v e l y   s c h e d u l e d   o n t o   a   n o d e   ( W a i t F o r F i r s t C o n s u m e r   v o l u m e   b i n d i n g   m o d e ) .   T h e   l a t t e r   i s   r e c o m m e n d e d   f o r   g e n e r i c   e p h e m e r a l   v o l u m e s   b e c a u s e   t h e n   t h e   s c h e d u l e r   i s   f r e e   t o   c h o o s e   a   s u i t a b l e   n o d e   f o r   t h e   P o d .   W i t h   i m m e d i a t e   b i n d i n g ,   t h e   s c h e d u l e r   i s   f o r c e d   t o   s e l e c t   a   n o d e   t h a t   h a s   a c c e s s   t o   t h e   v o l u m e   o n c e   i t   i s   a v a i l a b l e .   I n   t e r m s   o f   r e s o u r c e   o w n e r s h i p ,   a   P o d   t h a t   h a s   g e n e r i c   e p h e m e r a l   s t o r a g e   i s   t h e   o w n e r   o f   t h e   P e r s i s t e n t V o l u ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12498"
  },
  {
    "question": "What is PersistentVolumeClaim naming?",
    "answer": "N a m i n g   o f   t h e   a u t o m a t i c a l l y   c r e a t e d   P V C s   i s   d e t e r m i n i s t i c :   t h e   n a m e   i s   a   c o m b i n a t i o n   o f   t h e   P o d   n a m e   a n d   v o l u m e   n a m e ,   w i t h   a   h y p h e n   ( - )   i n   t h e   m i d d l e .   I n   t h e   e x a m p l e   a b o v e ,   t h e   P V C   n a m e   w i l l   b e   m y - a p p - s c r a t c h - v o l u m e .   T h i s   d e t e r m i n i s t i c   n a m i n g   m a k e s   i t   e a s i e r   t o   i n t e r a c t   w i t h   t h e   P V C   b e c a u s e   o n e   d o e s   n o t   h a v e   t o   s e a r c h   f o r   i t   o n c e   t h e   P o d   n a m e   a n d   v o l u m e   n a m e   a r e   k n o w n .   T h e   d e t e r m i n i s t i c   n a m i n g   a l s o   i n t r o d u c e s   a   p o t e n t i a l   c o n f l i c t   b e t w e e n   d i f f e r e n t   P o d s   ( a   P o d   \" p o d - a \"   w i t h   v o l u m e   \" s c r a t c h \"   a n d   a n o t h e r   P o d   w i t h   n a m e   \" p o d \"   a n d   v o l u m e   \" a - s c r a t c h \"   b o t h   e n d   u p   w i t h   t h e   s a m e   P V C   n a m e   \" p o d - a - s c r a t c h \" )   a n d   b e t w e e n   P o d s   a n d   m a n u a l l y   c r e a t e d   P V C s .   S u c h   c o n f l i c t s   a r e   d e t e c t e d :   a   P V C   i s   o n l y   u s e d   f o r   a n   e p h e m e r a l   v o l u m e   i f   i t   w a s   c r e a t e d   f o r   t h e   P o d .   T h i s   c h e c k   i s   b a s e d   o n   t h e   o w n e r s h i p   r e l a t i o n s h i p .   A n   e x i s t i n g   P V C   i s   n o t   o v e r w r i t t e n   o r   m o d i f i e d .   B u t   t h i s   d o e s   n o t   r e s o l v e   t h e   c o n f l i c t   b e c a u s e   w i t h o u t   t h e   r i g h t   P V C ,   t h e   P o d   c a n n o t   s t a r t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12499"
  },
  {
    "question": "What is Security?",
    "answer": "U s i n g   g e n e r i c   e p h e m e r a l   v o l u m e s   a l l o w s   u s e r s   t o   c r e a t e   P V C s   i n d i r e c t l y   i f   t h e y   c a n   c r e a t e   P o d s ,   e v e n   i f   t h e y   d o   n o t   h a v e   p e r m i s s i o n   t o   c r e a t e   P V C s   d i r e c t l y .   C l u s t e r   a d m i n i s t r a t o r s   m u s t   b e   a w a r e   o f   t h i s .   I f   t h i s   d o e s   n o t   f i t   t h e i r   s e c u r i t y   m o d e l ,   t h e y   s h o u l d   u s e   a n   a d m i s s i o n   w e b h o o k   t h a t   r e j e c t s   o b j e c t s   l i k e   P o d s   t h a t   h a v e   a   g e n e r i c   e p h e m e r a l   v o l u m e .   T h e   n o r m a l   n a m e s p a c e   q u o t a   f o r   P V C s   s t i l l   a p p l i e s ,   s o   e v e n   i f   u s e r s   a r e   a l l o w e d   t o   u s e   t h i s   n e w   m e c h a n i s m ,   t h e y   c a n n o t   u s e   i t   t o   c i r c u m v e n t   o t h e r   p o l i c i e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12500"
  },
  {
    "question": "What is Ephemeral volumes managed by kubelet?",
    "answer": "S e e   l o c a l   e p h e m e r a l   s t o r a g e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12501"
  },
  {
    "question": "What is CSI ephemeral volumes?",
    "answer": "F o r   m o r e   i n f o r m a t i o n   o n   t h e   d e s i g n ,   s e e   t h e   E p h e m e r a l   I n l i n e   C S I   v o l u m e s   K E P . F o r   m o r e   i n f o r m a t i o n   o n   f u r t h e r   d e v e l o p m e n t   o f   t h i s   f e a t u r e ,   s e e   t h e   e n h a n c e m e n t   t r a c k i n g   i s s u e   # 5 9 6 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12502"
  },
  {
    "question": "What is Generic ephemeral volumes?",
    "answer": "F o r   m o r e   i n f o r m a t i o n   o n   t h e   d e s i g n ,   s e e   t h e   G e n e r i c   e p h e m e r a l   i n l i n e   v o l u m e s   K E P .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12503"
  },
  {
    "question": "What is 6.5 - Storage Classes?",
    "answer": "T h i s   d o c u m e n t   d e s c r i b e s   t h e   c o n c e p t   o f   a   S t o r a g e C l a s s   i n   K u b e r n e t e s .   F a m i l i a r i t y   w i t h   v o l u m e s   a n d   p e r s i s t e n t   v o l u m e s   i s   s u g g e s t e d .   A   S t o r a g e C l a s s   p r o v i d e s   a   w a y   f o r   a d m i n i s t r a t o r s   t o   d e s c r i b e   t h e   c l a s s e s   o f   s t o r a g e   t h e y   o f f e r .   D i f f e r e n t   c l a s s e s   m i g h t   m a p   t o   q u a l i t y - o f - s e r v i c e   l e v e l s ,   o r   t o   b a c k u p   p o l i c i e s ,   o r   t o   a r b i t r a r y   p o l i c i e s   d e t e r m i n e d   b y   t h e   c l u s t e r   a d m i n i s t r a t o r s .   K u b e r n e t e s   i t s e l f   i s   u n o p i n i o n a t e d   a b o u t   w h a t   c l a s s e s   r e p r e s e n t .   T h e   K u b e r n e t e s   c o n c e p t   o f   a   s t o r a g e   c l a s s   i s   s i m i l a r   t o   “ p r o f i l e s ”   i n   s o m e   o t h e r   s t o r a g e   s y s t e m   d e s i g n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12504"
  },
  {
    "question": "What is StorageClass objects?",
    "answer": "E a c h   S t o r a g e C l a s s   c o n t a i n s   t h e   f i e l d s   p r o v i s i o n e r ,   p a r a m e t e r s ,   a n d   r e c l a i m P o l i c y ,   w h i c h   a r e   u s e d   w h e n   a   P e r s i s t e n t V o l u m e   b e l o n g i n g   t o   t h e   c l a s s   n e e d s   t o   b e   d y n a m i c a l l y   p r o v i s i o n e d   t o   s a t i s f y   a   P e r s i s t e n t V o l u m e C l a i m   ( P V C ) .   T h e   n a m e   o f   a   S t o r a g e C l a s s   o b j e c t   i s   s i g n i f i c a n t ,   a n d   i s   h o w   u s e r s   c a n   r e q u e s t   a   p a r t i c u l a r   c l a s s .   A d m i n i s t r a t o r s   s e t   t h e   n a m e   a n d   o t h e r   p a r a m e t e r s   o f   a   c l a s s   w h e n   f i r s t   c r e a t i n g   S t o r a g e C l a s s   o b j e c t s .   A s   a n   a d m i n i s t r a t o r ,   y o u   c a n   s p e c i f y   a   d e f a u l t   S t o r a g e C l a s s   t h a t   a p p l i e s   t o   a n y   P V C s   t h a t   d o n ' t   r e q u e s t   a   s p e c i f i c   c l a s s .   F o r   m o r e   d e t a i l s ,   s e e   t h e   P e r s i s t e n t V o l u m e C l a i m   c o n c e p t .   H e r e ' s   a n   e x a m p l e   o f   a   S t o r a g e C l a s s :   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   l o w - l a t e n c y   a n n o t a t i o n s :   s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s :   \" f a l s e \"   p r o v i s i o n e r :   c s i - d r i v e r . e x a m p l e - v e n d o r . e x a m p l e   r e c l a i m P o l i c y :   R e t a i n   #   d e f a u l t   v a l u e   i s   D e l e t e   a l l o w V o l u m e E x p a n s i o n :   t r u e   m o u n t O p t i o n s :   -   d i s c a r d   #   t h i s   m i g h t   e n a b l e   U N M A P   /   T R I M   a t   t h e   b l o c k   s t o r a g e   l a y e r   v o l u m e B i n d i n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12505"
  },
  {
    "question": "What is Default StorageClass?",
    "answer": "Y o u   c a n   m a r k   a   S t o r a g e C l a s s   a s   t h e   d e f a u l t   f o r   y o u r   c l u s t e r .   F o r   i n s t r u c t i o n s   o n   s e t t i n g   t h e   d e f a u l t   S t o r a g e C l a s s ,   s e e   C h a n g e   t h e   d e f a u l t   S t o r a g e C l a s s .   W h e n   a   P V C   d o e s   n o t   s p e c i f y   a   s t o r a g e C l a s s N a m e ,   t h e   d e f a u l t   S t o r a g e C l a s s   i s   u s e d .   I f   y o u   s e t   t h e   s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s   a n n o t a t i o n   t o   t r u e   o n   m o r e   t h a n   o n e   S t o r a g e C l a s s   i n   y o u r   c l u s t e r ,   a n d   y o u   t h e n   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   w i t h   n o   s t o r a g e C l a s s N a m e   s e t ,   K u b e r n e t e s   u s e s   t h e   m o s t   r e c e n t l y   c r e a t e d   d e f a u l t   S t o r a g e C l a s s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12506"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   w i t h o u t   s p e c i f y i n g   a   s t o r a g e C l a s s N a m e   f o r   t h e   n e w   P V C ,   a n d   y o u   c a n   d o   s o   e v e n   w h e n   n o   d e f a u l t   S t o r a g e C l a s s   e x i s t s   i n   y o u r   c l u s t e r .   I n   t h i s   c a s e ,   t h e   n e w   P V C   c r e a t e s   a s   y o u   d e f i n e d   i t ,   a n d   t h e   s t o r a g e C l a s s N a m e   o f   t h a t   P V C   r e m a i n s   u n s e t   u n t i l   a   d e f a u l t   b e c o m e s   a v a i l a b l e .   Y o u   c a n   h a v e   a   c l u s t e r   w i t h o u t   a n y   d e f a u l t   S t o r a g e C l a s s .   I f   y o u   d o n ' t   m a r k   a n y   S t o r a g e C l a s s   a s   d e f a u l t   ( a n d   o n e   h a s n ' t   b e e n   s e t   f o r   y o u   b y ,   f o r   e x a m p l e ,   a   c l o u d   p r o v i d e r ) ,   t h e n   K u b e r n e t e s   c a n n o t   a p p l y   t h a t   d e f a u l t i n g   f o r   P e r s i s t e n t V o l u m e C l a i m s   t h a t   n e e d   i t .   I f   o r   w h e n   a   d e f a u l t   S t o r a g e C l a s s   b e c o m e s   a v a i l a b l e ,   t h e   c o n t r o l   p l a n e   i d e n t i f i e s   a n y   e x i s t i n g   P V C s   w i t h o u t   s t o r a g e C l a s s N a m e .   F o r   t h e   P V C s   t h a t   e i t h e r   h a v e   a n   e m p t y   v a l u e   f o r   s t o r a g e C l a s s N a m e   o r   d o   n o t   h a v e   t h i s   k e y ,   t h e   c o n t r o l   p l a n e   t h e n   u p d a t e s   t h o s e   P V C s   t o   s e t   s t o r a g e C l a s s N a m e   t o   m a t c h   t h e   n e w   d e f a u l t   S t o r a g e C l a s s .   I f   y o u   h a v e   a n   e x i s t i n g   P V C   w h e r e   t h e   s t o r a g e C l a s s N a m e   i s   \" \" ,   a n d   y o u   c o n f i g u r e   a   d e f a u l t   S t o r a g e C l a s s ,   t h e n   t h ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12507"
  },
  {
    "question": "What is Provisioner?",
    "answer": "E a c h   S t o r a g e C l a s s   h a s   a   p r o v i s i o n e r   t h a t   d e t e r m i n e s   w h a t   v o l u m e   p l u g i n   i s   u s e d   f o r   p r o v i s i o n i n g   P V s .   T h i s   f i e l d   m u s t   b e   s p e c i f i e d .   Y o u   a r e   n o t   r e s t r i c t e d   t o   s p e c i f y i n g   t h e   \" i n t e r n a l \"   p r o v i s i o n e r s   l i s t e d   h e r e   ( w h o s e   n a m e s   a r e   p r e f i x e d   w i t h   \" k u b e r n e t e s . i o \"   a n d   s h i p p e d   a l o n g s i d e   K u b e r n e t e s ) .   Y o u   c a n   a l s o   r u n   a n d   s p e c i f y   e x t e r n a l   p r o v i s i o n e r s ,   w h i c h   a r e   i n d e p e n d e n t   p r o g r a m s   t h a t   f o l l o w   a   s p e c i f i c a t i o n   d e f i n e d   b y   K u b e r n e t e s .   A u t h o r s   o f   e x t e r n a l   p r o v i s i o n e r s   h a v e   f u l l   d i s c r e t i o n   o v e r   w h e r e   t h e i r   c o d e   l i v e s ,   h o w   t h e   p r o v i s i o n e r   i s   s h i p p e d ,   h o w   i t   n e e d s   t o   b e   r u n ,   w h a t   v o l u m e   p l u g i n   i t   u s e s   ( i n c l u d i n g   F l e x ) ,   e t c .   T h e   r e p o s i t o r y   k u b e r n e t e s - s i g s / s i g - s t o r a g e - l i b - e x t e r n a l - p r o v i s i o n e r   h o u s e s   a   l i b r a r y   f o r   w r i t i n g   e x t e r n a l   p r o v i s i o n e r s   t h a t   i m p l e m e n t s   t h e   b u l k   o f   t h e   s p e c i f i c a t i o n .   S o m e   e x t e r n a l   p r o v i s i o n e r s   a r e   l i s t e d   u n d e r   t h e   r e p o s i t o r y   k u b e r n e t e s - s i g s / s i g - s t o r a g e - l i b - e x t e r n a l - p r o v i s i o n e r .   F o r   e x a m p l e ,   N F S   d o e s n ' t   p r o v i d e   a n   i n t e r n a l   p r o v i s i o n e r ,   b u t   a n   e x t e r n a l   p r o v i s i o n e r   c a n   b e   u s e d .   T h e r e   a r e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12508"
  },
  {
    "question": "What is Reclaim policy?",
    "answer": "P e r s i s t e n t V o l u m e s   t h a t   a r e   d y n a m i c a l l y   c r e a t e d   b y   a   S t o r a g e C l a s s   w i l l   h a v e   t h e   r e c l a i m   p o l i c y   s p e c i f i e d   i n   t h e   r e c l a i m P o l i c y   f i e l d   o f   t h e   c l a s s ,   w h i c h   c a n   b e   e i t h e r   D e l e t e   o r   R e t a i n .   I f   n o   r e c l a i m P o l i c y   i s   s p e c i f i e d   w h e n   a   S t o r a g e C l a s s   o b j e c t   i s   c r e a t e d ,   i t   w i l l   d e f a u l t   t o   D e l e t e .   P e r s i s t e n t V o l u m e s   t h a t   a r e   c r e a t e d   m a n u a l l y   a n d   m a n a g e d   v i a   a   S t o r a g e C l a s s   w i l l   h a v e   w h a t e v e r   r e c l a i m   p o l i c y   t h e y   w e r e   a s s i g n e d   a t   c r e a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12509"
  },
  {
    "question": "What is Volume expansion?",
    "answer": "P e r s i s t e n t V o l u m e s   c a n   b e   c o n f i g u r e d   t o   b e   e x p a n d a b l e .   T h i s   a l l o w s   y o u   t o   r e s i z e   t h e   v o l u m e   b y   e d i t i n g   t h e   c o r r e s p o n d i n g   P V C   o b j e c t ,   r e q u e s t i n g   a   n e w   l a r g e r   a m o u n t   o f   s t o r a g e .   T h e   f o l l o w i n g   t y p e s   o f   v o l u m e s   s u p p o r t   v o l u m e   e x p a n s i o n ,   w h e n   t h e   u n d e r l y i n g   S t o r a g e C l a s s   h a s   t h e   f i e l d   a l l o w V o l u m e E x p a n s i o n   s e t   t o   t r u e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12510"
  },
  {
    "question": "What is Mount options?",
    "answer": "P e r s i s t e n t V o l u m e s   t h a t   a r e   d y n a m i c a l l y   c r e a t e d   b y   a   S t o r a g e C l a s s   w i l l   h a v e   t h e   m o u n t   o p t i o n s   s p e c i f i e d   i n   t h e   m o u n t O p t i o n s   f i e l d   o f   t h e   c l a s s .   I f   t h e   v o l u m e   p l u g i n   d o e s   n o t   s u p p o r t   m o u n t   o p t i o n s   b u t   m o u n t   o p t i o n s   a r e   s p e c i f i e d ,   p r o v i s i o n i n g   w i l l   f a i l .   M o u n t   o p t i o n s   a r e   n o t   v a l i d a t e d   o n   e i t h e r   t h e   c l a s s   o r   P V .   I f   a   m o u n t   o p t i o n   i s   i n v a l i d ,   t h e   P V   m o u n t   f a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12511"
  },
  {
    "question": "What is Volume binding mode?",
    "answer": "T h e   v o l u m e B i n d i n g M o d e   f i e l d   c o n t r o l s   w h e n   v o l u m e   b i n d i n g   a n d   d y n a m i c   p r o v i s i o n i n g   s h o u l d   o c c u r .   W h e n   u n s e t ,   I m m e d i a t e   m o d e   i s   u s e d   b y   d e f a u l t .   T h e   I m m e d i a t e   m o d e   i n d i c a t e s   t h a t   v o l u m e   b i n d i n g   a n d   d y n a m i c   p r o v i s i o n i n g   o c c u r s   o n c e   t h e   P e r s i s t e n t V o l u m e C l a i m   i s   c r e a t e d .   F o r   s t o r a g e   b a c k e n d s   t h a t   a r e   t o p o l o g y - c o n s t r a i n e d   a n d   n o t   g l o b a l l y   a c c e s s i b l e   f r o m   a l l   N o d e s   i n   t h e   c l u s t e r ,   P e r s i s t e n t V o l u m e s   w i l l   b e   b o u n d   o r   p r o v i s i o n e d   w i t h o u t   k n o w l e d g e   o f   t h e   P o d ' s   s c h e d u l i n g   r e q u i r e m e n t s .   T h i s   m a y   r e s u l t   i n   u n s c h e d u l a b l e   P o d s .   A   c l u s t e r   a d m i n i s t r a t o r   c a n   a d d r e s s   t h i s   i s s u e   b y   s p e c i f y i n g   t h e   W a i t F o r F i r s t C o n s u m e r   m o d e   w h i c h   w i l l   d e l a y   t h e   b i n d i n g   a n d   p r o v i s i o n i n g   o f   a   P e r s i s t e n t V o l u m e   u n t i l   a   P o d   u s i n g   t h e   P e r s i s t e n t V o l u m e C l a i m   i s   c r e a t e d .   P e r s i s t e n t V o l u m e s   w i l l   b e   s e l e c t e d   o r   p r o v i s i o n e d   c o n f o r m i n g   t o   t h e   t o p o l o g y   t h a t   i s   s p e c i f i e d   b y   t h e   P o d ' s   s c h e d u l i n g   c o n s t r a i n t s .   T h e s e   i n c l u d e ,   b u t   a r e   n o t   l i m i t e d   t o ,   r e s o u r c e   r e q u i r e m e n t s ,   n o d e   s e l e c t o r s ,   p o d   a f f i n i t y   a n d   a n t i - a f f i n i t y ,   a n d   t a i n t s   a n d   t o l e r a t i o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12512"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   c h o o s e   t o   u s e   W a i t F o r F i r s t C o n s u m e r ,   d o   n o t   u s e   n o d e N a m e   i n   t h e   P o d   s p e c   t o   s p e c i f y   n o d e   a f f i n i t y .   I f   n o d e N a m e   i s   u s e d   i n   t h i s   c a s e ,   t h e   s c h e d u l e r   w i l l   b e   b y p a s s e d   a n d   P V C   w i l l   r e m a i n   i n   p e n d i n g   s t a t e .   I n s t e a d ,   y o u   c a n   u s e   n o d e   s e l e c t o r   f o r   k u b e r n e t e s . i o / h o s t n a m e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t a s k - p v - p o d   s p e c :   n o d e S e l e c t o r :   k u b e r n e t e s . i o / h o s t n a m e :   k u b e - 0 1   v o l u m e s :   -   n a m e :   t a s k - p v - s t o r a g e   p e r s i s t e n t V o l u m e C l a i m :   c l a i m N a m e :   t a s k - p v - c l a i m   c o n t a i n e r s :   -   n a m e :   t a s k - p v - c o n t a i n e r   i m a g e :   n g i n x   p o r t s :   -   c o n t a i n e r P o r t :   8 0   n a m e :   \" h t t p - s e r v e r \"   v o l u m e M o u n t s :   -   m o u n t P a t h :   \" / u s r / s h a r e / n g i n x / h t m l \"   n a m e :   t a s k - p v - s t o r a g e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12513"
  },
  {
    "question": "What is Allowed topologies?",
    "answer": "W h e n   a   c l u s t e r   o p e r a t o r   s p e c i f i e s   t h e   W a i t F o r F i r s t C o n s u m e r   v o l u m e   b i n d i n g   m o d e ,   i t   i s   n o   l o n g e r   n e c e s s a r y   t o   r e s t r i c t   p r o v i s i o n i n g   t o   s p e c i f i c   t o p o l o g i e s   i n   m o s t   s i t u a t i o n s .   H o w e v e r ,   i f   s t i l l   r e q u i r e d ,   a l l o w e d T o p o l o g i e s   c a n   b e   s p e c i f i e d .   T h i s   e x a m p l e   d e m o n s t r a t e s   h o w   t o   r e s t r i c t   t h e   t o p o l o g y   o f   p r o v i s i o n e d   v o l u m e s   t o   s p e c i f i c   z o n e s   a n d   s h o u l d   b e   u s e d   a s   a   r e p l a c e m e n t   f o r   t h e   z o n e   a n d   z o n e s   p a r a m e t e r s   f o r   t h e   s u p p o r t e d   p l u g i n s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   s t a n d a r d   p r o v i s i o n e r :   e x a m p l e . c o m / e x a m p l e   p a r a m e t e r s :   t y p e :   p d - s t a n d a r d   v o l u m e B i n d i n g M o d e :   W a i t F o r F i r s t C o n s u m e r   a l l o w e d T o p o l o g i e s :   -   m a t c h L a b e l E x p r e s s i o n s :   -   k e y :   t o p o l o g y . k u b e r n e t e s . i o / z o n e   v a l u e s :   -   u s - c e n t r a l - 1 a   -   u s - c e n t r a l - 1 b",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12514"
  },
  {
    "question": "What is Parameters?",
    "answer": "S t o r a g e C l a s s e s   h a v e   p a r a m e t e r s   t h a t   d e s c r i b e   v o l u m e s   b e l o n g i n g   t o   t h e   s t o r a g e   c l a s s .   D i f f e r e n t   p a r a m e t e r s   m a y   b e   a c c e p t e d   d e p e n d i n g   o n   t h e   p r o v i s i o n e r .   W h e n   a   p a r a m e t e r   i s   o m i t t e d ,   s o m e   d e f a u l t   i s   u s e d .   T h e r e   c a n   b e   a t   m o s t   5 1 2   p a r a m e t e r s   d e f i n e d   f o r   a   S t o r a g e C l a s s .   T h e   t o t a l   l e n g t h   o f   t h e   p a r a m e t e r s   o b j e c t   i n c l u d i n g   i t s   k e y s   a n d   v a l u e s   c a n n o t   e x c e e d   2 5 6   K i B .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12515"
  },
  {
    "question": "What is AWS EBS?",
    "answer": "K u b e r n e t e s   1 . 3 4   d o e s   n o t   i n c l u d e   a   a w s E l a s t i c B l o c k S t o r e   v o l u m e   t y p e .   T h e   A W S E l a s t i c B l o c k S t o r e   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 1 9   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 2 7   r e l e a s e .   T h e   K u b e r n e t e s   p r o j e c t   s u g g e s t s   t h a t   y o u   u s e   t h e   A W S   E B S   o u t - o f - t r e e   s t o r a g e   d r i v e r   i n s t e a d .   H e r e   i s   a n   e x a m p l e   S t o r a g e C l a s s   f o r   t h e   A W S   E B S   C S I   d r i v e r :   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   e b s - s c   p r o v i s i o n e r :   e b s . c s i . a w s . c o m   v o l u m e B i n d i n g M o d e :   W a i t F o r F i r s t C o n s u m e r   p a r a m e t e r s :   c s i . s t o r a g e . k 8 s . i o / f s t y p e :   x f s   t y p e :   i o 1   i o p s P e r G B :   \" 5 0 \"   e n c r y p t e d :   \" t r u e \"   t a g S p e c i f i c a t i o n _ 1 :   \" k e y 1 = v a l u e 1 \"   t a g S p e c i f i c a t i o n _ 2 :   \" k e y 2 = v a l u e 2 \"   a l l o w e d T o p o l o g i e s :   -   m a t c h L a b e l E x p r e s s i o n s :   -   k e y :   t o p o l o g y . e b s . c s i . a w s . c o m / z o n e   v a l u e s :   -   u s - e a s t - 2 c   t a g S p e c i f i c a t i o n :   T a g s   w i t h   t h i s   p r e f i x   a r e   a p p l i e d   t o   d y n a m i c a l l y   p r o v i s i o n e d   E B S   v o l u m e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12516"
  },
  {
    "question": "What is AWS EFS?",
    "answer": "T o   c o n f i g u r e   A W S   E F S   s t o r a g e ,   y o u   c a n   u s e   t h e   o u t - o f - t r e e   A W S _ E F S _ C S I _ D R I V E R .   k i n d :   S t o r a g e C l a s s   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   m e t a d a t a :   n a m e :   e f s - s c   p r o v i s i o n e r :   e f s . c s i . a w s . c o m   p a r a m e t e r s :   p r o v i s i o n i n g M o d e :   e f s - a p   f i l e S y s t e m I d :   f s - 9 2 1 0 7 4 1 0   d i r e c t o r y P e r m s :   \" 7 0 0 \"   p r o v i s i o n i n g M o d e :   T h e   t y p e   o f   v o l u m e   t o   b e   p r o v i s i o n e d   b y   A m a z o n   E F S .   C u r r e n t l y ,   o n l y   a c c e s s   p o i n t   b a s e d   p r o v i s i o n i n g   i s   s u p p o r t e d   ( e f s - a p ) . f i l e S y s t e m I d :   T h e   f i l e   s y s t e m   u n d e r   w h i c h   t h e   a c c e s s   p o i n t   i s   c r e a t e d . d i r e c t o r y P e r m s :   T h e   d i r e c t o r y   p e r m i s s i o n s   o f   t h e   r o o t   d i r e c t o r y   c r e a t e d   b y   t h e   a c c e s s   p o i n t .   F o r   m o r e   d e t a i l s ,   r e f e r   t o   t h e   A W S _ E F S _ C S I _ D r i v e r   D y n a m i c   P r o v i s i o n i n g   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12517"
  },
  {
    "question": "What is NFS?",
    "answer": "T o   c o n f i g u r e   N F S   s t o r a g e ,   y o u   c a n   u s e   t h e   i n - t r e e   d r i v e r   o r   t h e   N F S   C S I   d r i v e r   f o r   K u b e r n e t e s   ( r e c o m m e n d e d ) .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   e x a m p l e - n f s   p r o v i s i o n e r :   e x a m p l e . c o m / e x t e r n a l - n f s   p a r a m e t e r s :   s e r v e r :   n f s - s e r v e r . e x a m p l e . c o m   p a t h :   / s h a r e   r e a d O n l y :   \" f a l s e \"   s e r v e r :   S e r v e r   i s   t h e   h o s t n a m e   o r   I P   a d d r e s s   o f   t h e   N F S   s e r v e r . p a t h :   P a t h   t h a t   i s   e x p o r t e d   b y   t h e   N F S   s e r v e r . r e a d O n l y :   A   f l a g   i n d i c a t i n g   w h e t h e r   t h e   s t o r a g e   w i l l   b e   m o u n t e d   a s   r e a d   o n l y   ( d e f a u l t   f a l s e ) .   K u b e r n e t e s   d o e s n ' t   i n c l u d e   a n   i n t e r n a l   N F S   p r o v i s i o n e r .   Y o u   n e e d   t o   u s e   a n   e x t e r n a l   p r o v i s i o n e r   t o   c r e a t e   a   S t o r a g e C l a s s   f o r   N F S .   H e r e   a r e   s o m e   e x a m p l e s :   N F S   G a n e s h a   s e r v e r   a n d   e x t e r n a l   p r o v i s i o n e r N F S   s u b d i r   e x t e r n a l   p r o v i s i o n e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12518"
  },
  {
    "question": "What is vSphere?",
    "answer": "T h e r e   a r e   t w o   t y p e s   o f   p r o v i s i o n e r s   f o r   v S p h e r e   s t o r a g e   c l a s s e s :   C S I   p r o v i s i o n e r :   c s i . v s p h e r e . v m w a r e . c o m v C P   p r o v i s i o n e r :   k u b e r n e t e s . i o / v s p h e r e - v o l u m e   I n - t r e e   p r o v i s i o n e r s   a r e   d e p r e c a t e d .   F o r   m o r e   i n f o r m a t i o n   o n   t h e   C S I   p r o v i s i o n e r ,   s e e   K u b e r n e t e s   v S p h e r e   C S I   D r i v e r   a n d   v S p h e r e V o l u m e   C S I   m i g r a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12519"
  },
  {
    "question": "What is CSI Provisioner?",
    "answer": "T h e   v S p h e r e   C S I   S t o r a g e C l a s s   p r o v i s i o n e r   w o r k s   w i t h   T a n z u   K u b e r n e t e s   c l u s t e r s .   F o r   a n   e x a m p l e ,   r e f e r   t o   t h e   v S p h e r e   C S I   r e p o s i t o r y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12520"
  },
  {
    "question": "What is vCP Provisioner?",
    "answer": "T h e   f o l l o w i n g   e x a m p l e s   u s e   t h e   V M w a r e   C l o u d   P r o v i d e r   ( v C P )   S t o r a g e C l a s s   p r o v i s i o n e r .   C r e a t e   a   S t o r a g e C l a s s   w i t h   a   u s e r   s p e c i f i e d   d i s k   f o r m a t . a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   f a s t   p r o v i s i o n e r :   k u b e r n e t e s . i o / v s p h e r e - v o l u m e   p a r a m e t e r s :   d i s k f o r m a t :   z e r o e d t h i c k   d i s k f o r m a t :   t h i n ,   z e r o e d t h i c k   a n d   e a g e r z e r o e d t h i c k .   D e f a u l t :   \" t h i n \" . C r e a t e   a   S t o r a g e C l a s s   w i t h   a   d i s k   f o r m a t   o n   a   u s e r   s p e c i f i e d   d a t a s t o r e . a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   f a s t   p r o v i s i o n e r :   k u b e r n e t e s . i o / v s p h e r e - v o l u m e   p a r a m e t e r s :   d i s k f o r m a t :   z e r o e d t h i c k   d a t a s t o r e :   V S A N D a t a s t o r e   d a t a s t o r e :   T h e   u s e r   c a n   a l s o   s p e c i f y   t h e   d a t a s t o r e   i n   t h e   S t o r a g e C l a s s .   T h e   v o l u m e   w i l l   b e   c r e a t e d   o n   t h e   d a t a s t o r e   s p e c i f i e d   i n   t h e   S t o r a g e C l a s s ,   w h i c h   i n   t h i s   c a s e   i s   V S A N D a t a s t o r e .   T h i s   f i e l d   i s   o p t i o n a l .   I f   t h e   d a t a s t o r e   i s   n o t   s p e c i f i e d ,   t h e n   t h e   v o l u m e   w i l l   b e   c r e a t e d   o n   t h e   d a t a s t o r e   s p e c i f i e d   i n   t h e   v S p h e r e   c o n f i g   f i l e   u s e d   t o   i n i t i a l i z e   t h e   v S p h e r e   C l o u d   P r o v i d e r . S t o r a g e   P o l i c y   M a n a g e m e n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12521"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   i n t e r n a l   p r o v i s i o n e r   o f   C e p h   R B D   i s   d e p r e c a t e d .   P l e a s e   u s e   C e p h F S   R B D   C S I   d r i v e r .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   f a s t   p r o v i s i o n e r :   k u b e r n e t e s . i o / r b d   #   T h i s   p r o v i s i o n e r   i s   d e p r e c a t e d   p a r a m e t e r s :   m o n i t o r s :   1 9 8 . 1 9 . 2 5 4 . 1 0 5 : 6 7 8 9   a d m i n I d :   k u b e   a d m i n S e c r e t N a m e :   c e p h - s e c r e t   a d m i n S e c r e t N a m e s p a c e :   k u b e - s y s t e m   p o o l :   k u b e   u s e r I d :   k u b e   u s e r S e c r e t N a m e :   c e p h - s e c r e t - u s e r   u s e r S e c r e t N a m e s p a c e :   d e f a u l t   f s T y p e :   e x t 4   i m a g e F o r m a t :   \" 2 \"   i m a g e F e a t u r e s :   \" l a y e r i n g \"   m o n i t o r s :   C e p h   m o n i t o r s ,   c o m m a   d e l i m i t e d .   T h i s   p a r a m e t e r   i s   r e q u i r e d . a d m i n I d :   C e p h   c l i e n t   I D   t h a t   i s   c a p a b l e   o f   c r e a t i n g   i m a g e s   i n   t h e   p o o l .   D e f a u l t   i s   \" a d m i n \" . a d m i n S e c r e t N a m e :   S e c r e t   N a m e   f o r   a d m i n I d .   T h i s   p a r a m e t e r   i s   r e q u i r e d .   T h e   p r o v i d e d   s e c r e t   m u s t   h a v e   t y p e   \" k u b e r n e t e s . i o / r b d \" . a d m i n S e c r e t N a m e s p a c e :   T h e   n a m e s p a c e   f o r   a d m i n S e c r e t N a m e .   D e f a u l t   i s   \" d e f a u l t \" . p o o l :   C e p h   R B D   p o o l .   D e f a u l t   i s   \" r b d \" . u s e r I d :   C e p h   c l i e n t   I D   t h a t   i s   u s e d   t o   m a p   t h e   R B D   i m a g e .   D e f a u l t   i s   t h e   s a m e   a s   a d m i n I d . u s e r S e c r e t N a m e :   T h e   n a m e   o f   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12522"
  },
  {
    "question": "What is Azure Disk?",
    "answer": "K u b e r n e t e s   1 . 3 4   d o e s   n o t   i n c l u d e   a   a z u r e D i s k   v o l u m e   t y p e .   T h e   a z u r e D i s k   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 1 9   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 2 7   r e l e a s e .   T h e   K u b e r n e t e s   p r o j e c t   s u g g e s t s   t h a t   y o u   u s e   t h e   A z u r e   D i s k   t h i r d   p a r t y   s t o r a g e   d r i v e r   i n s t e a d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12523"
  },
  {
    "question": "What is Azure File (deprecated)?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   a z u r e f i l e   p r o v i s i o n e r :   k u b e r n e t e s . i o / a z u r e - f i l e   p a r a m e t e r s :   s k u N a m e :   S t a n d a r d _ L R S   l o c a t i o n :   e a s t u s   s t o r a g e A c c o u n t :   a z u r e _ s t o r a g e _ a c c o u n t _ n a m e   #   e x a m p l e   v a l u e   s k u N a m e :   A z u r e   s t o r a g e   a c c o u n t   S K U   t i e r .   D e f a u l t   i s   e m p t y . l o c a t i o n :   A z u r e   s t o r a g e   a c c o u n t   l o c a t i o n .   D e f a u l t   i s   e m p t y . s t o r a g e A c c o u n t :   A z u r e   s t o r a g e   a c c o u n t   n a m e .   D e f a u l t   i s   e m p t y .   I f   a   s t o r a g e   a c c o u n t   i s   n o t   p r o v i d e d ,   a l l   s t o r a g e   a c c o u n t s   a s s o c i a t e d   w i t h   t h e   r e s o u r c e   g r o u p   a r e   s e a r c h e d   t o   f i n d   o n e   t h a t   m a t c h e s   s k u N a m e   a n d   l o c a t i o n .   I f   a   s t o r a g e   a c c o u n t   i s   p r o v i d e d ,   i t   m u s t   r e s i d e   i n   t h e   s a m e   r e s o u r c e   g r o u p   a s   t h e   c l u s t e r ,   a n d   s k u N a m e   a n d   l o c a t i o n   a r e   i g n o r e d . s e c r e t N a m e s p a c e :   t h e   n a m e s p a c e   o f   t h e   s e c r e t   t h a t   c o n t a i n s   t h e   A z u r e   S t o r a g e   A c c o u n t   N a m e   a n d   K e y .   D e f a u l t   i s   t h e   s a m e   a s   t h e   P o d . s e c r e t N a m e :   t h e   n a m e   o f   t h e   s e c r e t   t h a t   c o n t a i n s   t h e   A z u r e   S t o r a g e   A c c o u n t   N a m e   a n d   K e y .   D e f a u l t   i s   a z u r e - s t o r a g e - a c c o u n t - < a c c o u n t N a m e > - s e c r e t r e a d O n l y :   a   f l a g   i n d i c a t i n g   w h e t h e r   t h e   s t o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12524"
  },
  {
    "question": "What is Portworx volume (deprecated)?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   p o r t w o r x - i o - p r i o r i t y - h i g h   p r o v i s i o n e r :   k u b e r n e t e s . i o / p o r t w o r x - v o l u m e   #   T h i s   p r o v i s i o n e r   i s   d e p r e c a t e d   p a r a m e t e r s :   r e p l :   \" 1 \"   s n a p _ i n t e r v a l :   \" 7 0 \"   p r i o r i t y _ i o :   \" h i g h \"   f s :   f i l e s y s t e m   t o   b e   l a i d   o u t :   n o n e / x f s / e x t 4   ( d e f a u l t :   e x t 4 ) . b l o c k _ s i z e :   b l o c k   s i z e   i n   K b y t e s   ( d e f a u l t :   3 2 ) . r e p l :   n u m b e r   o f   s y n c h r o n o u s   r e p l i c a s   t o   b e   p r o v i d e d   i n   t h e   f o r m   o f   r e p l i c a t i o n   f a c t o r   1 . . 3   ( d e f a u l t :   1 )   A   s t r i n g   i s   e x p e c t e d   h e r e   i . e .   \" 1 \"   a n d   n o t   1 . p r i o r i t y _ i o :   d e t e r m i n e s   w h e t h e r   t h e   v o l u m e   w i l l   b e   c r e a t e d   f r o m   h i g h e r   p e r f o r m a n c e   o r   a   l o w e r   p r i o r i t y   s t o r a g e   h i g h / m e d i u m / l o w   ( d e f a u l t :   l o w ) . s n a p _ i n t e r v a l :   c l o c k / t i m e   i n t e r v a l   i n   m i n u t e s   f o r   w h e n   t o   t r i g g e r   s n a p s h o t s .   S n a p s h o t s   a r e   i n c r e m e n t a l   b a s e d   o n   d i f f e r e n c e   w i t h   t h e   p r i o r   s n a p s h o t ,   0   d i s a b l e s   s n a p s   ( d e f a u l t :   0 ) .   A   s t r i n g   i s   e x p e c t e d   h e r e   i . e .   \" 7 0 \"   a n d   n o t   7 0 . a g g r e g a t i o n _ l e v e l :   s p e c i f i e s   t h e   n u m b e r   o f   c h u n k s   t h e   v o l u m e   w o u l d   b e   d i s t r i b u t e d   i n t o ,   0   i n d i c a t e s   a   n o n - a g g r e g a t e d   v o l u m e   ( d e f a u l t :   0 ) .   A   s t r i n g ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12525"
  },
  {
    "question": "What is Local?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   l o c a l - s t o r a g e   p r o v i s i o n e r :   k u b e r n e t e s . i o / n o - p r o v i s i o n e r   #   i n d i c a t e s   t h a t   t h i s   S t o r a g e C l a s s   d o e s   n o t   s u p p o r t   a u t o m a t i c   p r o v i s i o n i n g   v o l u m e B i n d i n g M o d e :   W a i t F o r F i r s t C o n s u m e r   L o c a l   v o l u m e s   d o   n o t   s u p p o r t   d y n a m i c   p r o v i s i o n i n g   i n   K u b e r n e t e s   1 . 3 4 ;   h o w e v e r   a   S t o r a g e C l a s s   s h o u l d   s t i l l   b e   c r e a t e d   t o   d e l a y   v o l u m e   b i n d i n g   u n t i l   a   P o d   i s   a c t u a l l y   s c h e d u l e d   t o   t h e   a p p r o p r i a t e   n o d e .   T h i s   i s   s p e c i f i e d   b y   t h e   W a i t F o r F i r s t C o n s u m e r   v o l u m e   b i n d i n g   m o d e .   D e l a y i n g   v o l u m e   b i n d i n g   a l l o w s   t h e   s c h e d u l e r   t o   c o n s i d e r   a l l   o f   a   P o d ' s   s c h e d u l i n g   c o n s t r a i n t s   w h e n   c h o o s i n g   a n   a p p r o p r i a t e   P e r s i s t e n t V o l u m e   f o r   a   P e r s i s t e n t V o l u m e C l a i m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12526"
  },
  {
    "question": "What is 6.6 - Volume Attributes Classes?",
    "answer": "T h i s   p a g e   a s s u m e s   t h a t   y o u   a r e   f a m i l i a r   w i t h   S t o r a g e C l a s s e s ,   v o l u m e s   a n d   P e r s i s t e n t V o l u m e s   i n   K u b e r n e t e s .   A   V o l u m e A t t r i b u t e s C l a s s   p r o v i d e s   a   w a y   f o r   a d m i n i s t r a t o r s   t o   d e s c r i b e   t h e   m u t a b l e   \" c l a s s e s \"   o f   s t o r a g e   t h e y   o f f e r .   D i f f e r e n t   c l a s s e s   m i g h t   m a p   t o   d i f f e r e n t   q u a l i t y - o f - s e r v i c e   l e v e l s .   K u b e r n e t e s   i t s e l f   i s   u n - o p i n i o n a t e d   a b o u t   w h a t   t h e s e   c l a s s e s   r e p r e s e n t .   T h i s   f e a t u r e   i s   g e n e r a l l y   a v a i l a b l e   ( G A )   a s   o f   v e r s i o n   1 . 3 4 ,   a n d   u s e r s   h a v e   t h e   o p t i o n   t o   d i s a b l e   i t .   Y o u   c a n   a l s o   o n l y   u s e   V o l u m e A t t r i b u t e s C l a s s e s   w i t h   s t o r a g e   b a c k e d   b y   C o n t a i n e r   S t o r a g e   I n t e r f a c e ,   a n d   o n l y   w h e r e   t h e   r e l e v a n t   C S I   d r i v e r   i m p l e m e n t s   t h e   M o d i f y V o l u m e   A P I .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12527"
  },
  {
    "question": "What is The VolumeAttributesClass API?",
    "answer": "E a c h   V o l u m e A t t r i b u t e s C l a s s   c o n t a i n s   t h e   d r i v e r N a m e   a n d   p a r a m e t e r s ,   w h i c h   a r e   u s e d   w h e n   a   P e r s i s t e n t V o l u m e   ( P V )   b e l o n g i n g   t o   t h e   c l a s s   n e e d s   t o   b e   d y n a m i c a l l y   p r o v i s i o n e d   o r   m o d i f i e d .   T h e   n a m e   o f   a   V o l u m e A t t r i b u t e s C l a s s   o b j e c t   i s   s i g n i f i c a n t   a n d   i s   h o w   u s e r s   c a n   r e q u e s t   a   p a r t i c u l a r   c l a s s .   A d m i n i s t r a t o r s   s e t   t h e   n a m e   a n d   o t h e r   p a r a m e t e r s   o f   a   c l a s s   w h e n   f i r s t   c r e a t i n g   V o l u m e A t t r i b u t e s C l a s s   o b j e c t s .   W h i l e   t h e   n a m e   o f   a   V o l u m e A t t r i b u t e s C l a s s   o b j e c t   i n   a   P e r s i s t e n t V o l u m e C l a i m   i s   m u t a b l e ,   t h e   p a r a m e t e r s   i n   a n   e x i s t i n g   c l a s s   a r e   i m m u t a b l e .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e A t t r i b u t e s C l a s s   m e t a d a t a :   n a m e :   s i l v e r   d r i v e r N a m e :   p d . c s i . s t o r a g e . g k e . i o   p a r a m e t e r s :   p r o v i s i o n e d - i o p s :   \" 3 0 0 0 \"   p r o v i s i o n e d - t h r o u g h p u t :   \" 5 0 \"",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12528"
  },
  {
    "question": "What is Provisioner?",
    "answer": "E a c h   V o l u m e A t t r i b u t e s C l a s s   h a s   a   p r o v i s i o n e r   t h a t   d e t e r m i n e s   w h a t   v o l u m e   p l u g i n   i s   u s e d   f o r   p r o v i s i o n i n g   P V s .   T h e   f i e l d   d r i v e r N a m e   m u s t   b e   s p e c i f i e d .   T h e   f e a t u r e   s u p p o r t   f o r   V o l u m e A t t r i b u t e s C l a s s   i s   i m p l e m e n t e d   i n   k u b e r n e t e s - c s i / e x t e r n a l - p r o v i s i o n e r .   Y o u   a r e   n o t   r e s t r i c t e d   t o   s p e c i f y i n g   t h e   k u b e r n e t e s - c s i / e x t e r n a l - p r o v i s i o n e r .   Y o u   c a n   a l s o   r u n   a n d   s p e c i f y   e x t e r n a l   p r o v i s i o n e r s ,   w h i c h   a r e   i n d e p e n d e n t   p r o g r a m s   t h a t   f o l l o w   a   s p e c i f i c a t i o n   d e f i n e d   b y   K u b e r n e t e s .   A u t h o r s   o f   e x t e r n a l   p r o v i s i o n e r s   h a v e   f u l l   d i s c r e t i o n   o v e r   w h e r e   t h e i r   c o d e   l i v e s ,   h o w   t h e   p r o v i s i o n e r   i s   s h i p p e d ,   h o w   i t   n e e d s   t o   b e   r u n ,   w h a t   v o l u m e   p l u g i n   i t   u s e s ,   e t c .   T o   u n d e r s t a n d   h o w   t h e   p r o v i s i o n e r   w o r k s   w i t h   V o l u m e A t t r i b u t e s C l a s s ,   r e f e r   t o   t h e   C S I   e x t e r n a l - p r o v i s i o n e r   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12529"
  },
  {
    "question": "What is Resizer?",
    "answer": "E a c h   V o l u m e A t t r i b u t e s C l a s s   h a s   a   r e s i z e r   t h a t   d e t e r m i n e s   w h a t   v o l u m e   p l u g i n   i s   u s e d   f o r   m o d i f y i n g   P V s .   T h e   f i e l d   d r i v e r N a m e   m u s t   b e   s p e c i f i e d .   T h e   m o d i f y i n g   v o l u m e   f e a t u r e   s u p p o r t   f o r   V o l u m e A t t r i b u t e s C l a s s   i s   i m p l e m e n t e d   i n   k u b e r n e t e s - c s i / e x t e r n a l - r e s i z e r .   F o r   e x a m p l e ,   a n   e x i s t i n g   P e r s i s t e n t V o l u m e C l a i m   i s   u s i n g   a   V o l u m e A t t r i b u t e s C l a s s   n a m e d   s i l v e r :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   t e s t - p v - c l a i m   s p e c :   …   v o l u m e A t t r i b u t e s C l a s s N a m e :   s i l v e r   …   A   n e w   V o l u m e A t t r i b u t e s C l a s s   g o l d   i s   a v a i l a b l e   i n   t h e   c l u s t e r :   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e A t t r i b u t e s C l a s s   m e t a d a t a :   n a m e :   g o l d   d r i v e r N a m e :   p d . c s i . s t o r a g e . g k e . i o   p a r a m e t e r s :   i o p s :   \" 4 0 0 0 \"   t h r o u g h p u t :   \" 6 0 \"   T h e   e n d   u s e r   c a n   u p d a t e   t h e   P V C   w i t h   t h e   n e w   V o l u m e A t t r i b u t e s C l a s s   g o l d   a n d   a p p l y :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   t e s t - p v - c l a i m   s p e c :   …   v o l u m e A t t r i b u t e s C l a s s N a m e :   g o l d   …   T o   u n d e r s t a n d   h o w   t h e   r e s i z e r   w o r k s   w i t h   V o l u m e A t t r i b u t e s C l a s s ,   r e f e r   t o   t h e   C S I   e x t e r n a l - r e s i z e r   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12530"
  },
  {
    "question": "What is Parameters?",
    "answer": "V o l u m e A t t r i b u t e C l a s s e s   h a v e   p a r a m e t e r s   t h a t   d e s c r i b e   v o l u m e s   b e l o n g i n g   t o   t h e m .   D i f f e r e n t   p a r a m e t e r s   m a y   b e   a c c e p t e d   d e p e n d i n g   o n   t h e   p r o v i s i o n e r   o r   t h e   r e s i z e r .   F o r   e x a m p l e ,   t h e   v a l u e   4 0 0 0 ,   f o r   t h e   p a r a m e t e r   i o p s ,   a n d   t h e   p a r a m e t e r   t h r o u g h p u t   a r e   s p e c i f i c   t o   G C E   P D .   W h e n   a   p a r a m e t e r   i s   o m i t t e d ,   t h e   d e f a u l t   i s   u s e d   a t   v o l u m e   p r o v i s i o n i n g .   I f   a   u s e r   a p p l i e s   t h e   P V C   w i t h   a   d i f f e r e n t   V o l u m e A t t r i b u t e s C l a s s   w i t h   o m i t t e d   p a r a m e t e r s ,   t h e   d e f a u l t   v a l u e   o f   t h e   p a r a m e t e r s   m a y   b e   u s e d   d e p e n d i n g   o n   t h e   C S I   d r i v e r   i m p l e m e n t a t i o n .   P l e a s e   r e f e r   t o   t h e   r e l a t e d   C S I   d r i v e r   d o c u m e n t a t i o n   f o r   m o r e   d e t a i l s .   T h e r e   c a n   b e   a t   m o s t   5 1 2   p a r a m e t e r s   d e f i n e d   f o r   a   V o l u m e A t t r i b u t e s C l a s s .   T h e   t o t a l   l e n g t h   o f   t h e   p a r a m e t e r s   o b j e c t   i n c l u d i n g   i t s   k e y s   a n d   v a l u e s   c a n n o t   e x c e e d   2 5 6   K i B .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12531"
  },
  {
    "question": "What is 6.7 - Dynamic Volume Provisioning?",
    "answer": "D y n a m i c   v o l u m e   p r o v i s i o n i n g   a l l o w s   s t o r a g e   v o l u m e s   t o   b e   c r e a t e d   o n - d e m a n d .   W i t h o u t   d y n a m i c   p r o v i s i o n i n g ,   c l u s t e r   a d m i n i s t r a t o r s   h a v e   t o   m a n u a l l y   m a k e   c a l l s   t o   t h e i r   c l o u d   o r   s t o r a g e   p r o v i d e r   t o   c r e a t e   n e w   s t o r a g e   v o l u m e s ,   a n d   t h e n   c r e a t e   P e r s i s t e n t V o l u m e   o b j e c t s   t o   r e p r e s e n t   t h e m   i n   K u b e r n e t e s .   T h e   d y n a m i c   p r o v i s i o n i n g   f e a t u r e   e l i m i n a t e s   t h e   n e e d   f o r   c l u s t e r   a d m i n i s t r a t o r s   t o   p r e - p r o v i s i o n   s t o r a g e .   I n s t e a d ,   i t   a u t o m a t i c a l l y   p r o v i s i o n s   s t o r a g e   w h e n   u s e r s   c r e a t e   P e r s i s t e n t V o l u m e C l a i m   o b j e c t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12532"
  },
  {
    "question": "What is Background?",
    "answer": "T h e   i m p l e m e n t a t i o n   o f   d y n a m i c   v o l u m e   p r o v i s i o n i n g   i s   b a s e d   o n   t h e   A P I   o b j e c t   S t o r a g e C l a s s   f r o m   t h e   A P I   g r o u p   s t o r a g e . k 8 s . i o .   A   c l u s t e r   a d m i n i s t r a t o r   c a n   d e f i n e   a s   m a n y   S t o r a g e C l a s s   o b j e c t s   a s   n e e d e d ,   e a c h   s p e c i f y i n g   a   v o l u m e   p l u g i n   ( a k a   p r o v i s i o n e r )   t h a t   p r o v i s i o n s   a   v o l u m e   a n d   t h e   s e t   o f   p a r a m e t e r s   t o   p a s s   t o   t h a t   p r o v i s i o n e r   w h e n   p r o v i s i o n i n g .   A   c l u s t e r   a d m i n i s t r a t o r   c a n   d e f i n e   a n d   e x p o s e   m u l t i p l e   f l a v o r s   o f   s t o r a g e   ( f r o m   t h e   s a m e   o r   d i f f e r e n t   s t o r a g e   s y s t e m s )   w i t h i n   a   c l u s t e r ,   e a c h   w i t h   a   c u s t o m   s e t   o f   p a r a m e t e r s .   T h i s   d e s i g n   a l s o   e n s u r e s   t h a t   e n d   u s e r s   d o n ' t   h a v e   t o   w o r r y   a b o u t   t h e   c o m p l e x i t y   a n d   n u a n c e s   o f   h o w   s t o r a g e   i s   p r o v i s i o n e d ,   b u t   s t i l l   h a v e   t h e   a b i l i t y   t o   s e l e c t   f r o m   m u l t i p l e   s t o r a g e   o p t i o n s .   M o r e   i n f o r m a t i o n   o n   s t o r a g e   c l a s s e s   c a n   b e   f o u n d   h e r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12533"
  },
  {
    "question": "What is Enabling Dynamic Provisioning?",
    "answer": "T o   e n a b l e   d y n a m i c   p r o v i s i o n i n g ,   a   c l u s t e r   a d m i n i s t r a t o r   n e e d s   t o   p r e - c r e a t e   o n e   o r   m o r e   S t o r a g e C l a s s   o b j e c t s   f o r   u s e r s .   S t o r a g e C l a s s   o b j e c t s   d e f i n e   w h i c h   p r o v i s i o n e r   s h o u l d   b e   u s e d   a n d   w h a t   p a r a m e t e r s   s h o u l d   b e   p a s s e d   t o   t h a t   p r o v i s i o n e r   w h e n   d y n a m i c   p r o v i s i o n i n g   i s   i n v o k e d .   T h e   n a m e   o f   a   S t o r a g e C l a s s   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   T h e   f o l l o w i n g   m a n i f e s t   c r e a t e s   a   s t o r a g e   c l a s s   \" s l o w \"   w h i c h   p r o v i s i o n s   s t a n d a r d   d i s k - l i k e   p e r s i s t e n t   d i s k s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   s l o w   p r o v i s i o n e r :   k u b e r n e t e s . i o / g c e - p d   p a r a m e t e r s :   t y p e :   p d - s t a n d a r d   T h e   f o l l o w i n g   m a n i f e s t   c r e a t e s   a   s t o r a g e   c l a s s   \" f a s t \"   w h i c h   p r o v i s i o n s   S S D - l i k e   p e r s i s t e n t   d i s k s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   f a s t   p r o v i s i o n e r :   k u b e r n e t e s . i o / g c e - p d   p a r a m e t e r s :   t y p e :   p d - s s d",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12534"
  },
  {
    "question": "What is Using Dynamic Provisioning?",
    "answer": "U s e r s   r e q u e s t   d y n a m i c a l l y   p r o v i s i o n e d   s t o r a g e   b y   i n c l u d i n g   a   s t o r a g e   c l a s s   i n   t h e i r   P e r s i s t e n t V o l u m e C l a i m .   B e f o r e   K u b e r n e t e s   v 1 . 6 ,   t h i s   w a s   d o n e   v i a   t h e   v o l u m e . b e t a . k u b e r n e t e s . i o / s t o r a g e - c l a s s   a n n o t a t i o n .   H o w e v e r ,   t h i s   a n n o t a t i o n   i s   d e p r e c a t e d   s i n c e   v 1 . 9 .   U s e r s   n o w   c a n   a n d   s h o u l d   i n s t e a d   u s e   t h e   s t o r a g e C l a s s N a m e   f i e l d   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   o b j e c t .   T h e   v a l u e   o f   t h i s   f i e l d   m u s t   m a t c h   t h e   n a m e   o f   a   S t o r a g e C l a s s   c o n f i g u r e d   b y   t h e   a d m i n i s t r a t o r   ( s e e   b e l o w ) .   T o   s e l e c t   t h e   \" f a s t \"   s t o r a g e   c l a s s ,   f o r   e x a m p l e ,   a   u s e r   w o u l d   c r e a t e   t h e   f o l l o w i n g   P e r s i s t e n t V o l u m e C l a i m :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   c l a i m 1   s p e c :   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   s t o r a g e C l a s s N a m e :   f a s t   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   3 0 G i   T h i s   c l a i m   r e s u l t s   i n   a n   S S D - l i k e   P e r s i s t e n t   D i s k   b e i n g   a u t o m a t i c a l l y   p r o v i s i o n e d .   W h e n   t h e   c l a i m   i s   d e l e t e d ,   t h e   v o l u m e   i s   d e s t r o y e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12535"
  },
  {
    "question": "What is Defaulting Behavior?",
    "answer": "D y n a m i c   p r o v i s i o n i n g   c a n   b e   e n a b l e d   o n   a   c l u s t e r   s u c h   t h a t   a l l   c l a i m s   a r e   d y n a m i c a l l y   p r o v i s i o n e d   i f   n o   s t o r a g e   c l a s s   i s   s p e c i f i e d .   A   c l u s t e r   a d m i n i s t r a t o r   c a n   e n a b l e   t h i s   b e h a v i o r   b y :   M a r k i n g   o n e   S t o r a g e C l a s s   o b j e c t   a s   d e f a u l t ; M a k i n g   s u r e   t h a t   t h e   D e f a u l t S t o r a g e C l a s s   a d m i s s i o n   c o n t r o l l e r   i s   e n a b l e d   o n   t h e   A P I   s e r v e r .   A n   a d m i n i s t r a t o r   c a n   m a r k   a   s p e c i f i c   S t o r a g e C l a s s   a s   d e f a u l t   b y   a d d i n g   t h e   s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s   a n n o t a t i o n   t o   i t .   W h e n   a   d e f a u l t   S t o r a g e C l a s s   e x i s t s   i n   a   c l u s t e r   a n d   a   u s e r   c r e a t e s   a   P e r s i s t e n t V o l u m e C l a i m   w i t h   s t o r a g e C l a s s N a m e   u n s p e c i f i e d ,   t h e   D e f a u l t S t o r a g e C l a s s   a d m i s s i o n   c o n t r o l l e r   a u t o m a t i c a l l y   a d d s   t h e   s t o r a g e C l a s s N a m e   f i e l d   p o i n t i n g   t o   t h e   d e f a u l t   s t o r a g e   c l a s s .   N o t e   t h a t   i f   y o u   s e t   t h e   s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s   a n n o t a t i o n   t o   t r u e   o n   m o r e   t h a n   o n e   S t o r a g e C l a s s   i n   y o u r   c l u s t e r ,   a n d   y o u   t h e n   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   w i t h   n o   s t o r a g e C l a s s N a m e   s e t ,   K u b e r n e t e s   u s e s   t h e   m o s t   r e c e n t l y   c r e a t e d   d e f a u l t   S t o r a g e C l a s s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12536"
  },
  {
    "question": "What is Topology Awareness?",
    "answer": "I n   M u l t i - Z o n e   c l u s t e r s ,   P o d s   c a n   b e   s p r e a d   a c r o s s   Z o n e s   i n   a   R e g i o n .   S i n g l e - Z o n e   s t o r a g e   b a c k e n d s   s h o u l d   b e   p r o v i s i o n e d   i n   t h e   Z o n e s   w h e r e   P o d s   a r e   s c h e d u l e d .   T h i s   c a n   b e   a c c o m p l i s h e d   b y   s e t t i n g   t h e   V o l u m e   B i n d i n g   M o d e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12537"
  },
  {
    "question": "What is 6.8 - Volume Snapshots?",
    "answer": "I n   K u b e r n e t e s ,   a   V o l u m e S n a p s h o t   r e p r e s e n t s   a   s n a p s h o t   o f   a   v o l u m e   o n   a   s t o r a g e   s y s t e m .   T h i s   d o c u m e n t   a s s u m e s   t h a t   y o u   a r e   a l r e a d y   f a m i l i a r   w i t h   K u b e r n e t e s   p e r s i s t e n t   v o l u m e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12538"
  },
  {
    "question": "What is Introduction?",
    "answer": "S i m i l a r   t o   h o w   A P I   r e s o u r c e s   P e r s i s t e n t V o l u m e   a n d   P e r s i s t e n t V o l u m e C l a i m   a r e   u s e d   t o   p r o v i s i o n   v o l u m e s   f o r   u s e r s   a n d   a d m i n i s t r a t o r s ,   V o l u m e S n a p s h o t C o n t e n t   a n d   V o l u m e S n a p s h o t   A P I   r e s o u r c e s   a r e   p r o v i d e d   t o   c r e a t e   v o l u m e   s n a p s h o t s   f o r   u s e r s   a n d   a d m i n i s t r a t o r s .   A   V o l u m e S n a p s h o t C o n t e n t   i s   a   s n a p s h o t   t a k e n   f r o m   a   v o l u m e   i n   t h e   c l u s t e r   t h a t   h a s   b e e n   p r o v i s i o n e d   b y   a n   a d m i n i s t r a t o r .   I t   i s   a   r e s o u r c e   i n   t h e   c l u s t e r   j u s t   l i k e   a   P e r s i s t e n t V o l u m e   i s   a   c l u s t e r   r e s o u r c e .   A   V o l u m e S n a p s h o t   i s   a   r e q u e s t   f o r   s n a p s h o t   o f   a   v o l u m e   b y   a   u s e r .   I t   i s   s i m i l a r   t o   a   P e r s i s t e n t V o l u m e C l a i m .   V o l u m e S n a p s h o t C l a s s   a l l o w s   y o u   t o   s p e c i f y   d i f f e r e n t   a t t r i b u t e s   b e l o n g i n g   t o   a   V o l u m e S n a p s h o t .   T h e s e   a t t r i b u t e s   m a y   d i f f e r   a m o n g   s n a p s h o t s   t a k e n   f r o m   t h e   s a m e   v o l u m e   o n   t h e   s t o r a g e   s y s t e m   a n d   t h e r e f o r e   c a n n o t   b e   e x p r e s s e d   b y   u s i n g   t h e   s a m e   S t o r a g e C l a s s   o f   a   P e r s i s t e n t V o l u m e C l a i m .   V o l u m e   s n a p s h o t s   p r o v i d e   K u b e r n e t e s   u s e r s   w i t h   a   s t a n d a r d i z e d   w a y   t o   c o p y   a   v o l u m e ' s   c o n t e n t s   a t   a   p a r t i c u l a r   p o i n t   i n   t i m e   w i t h o u t   c r e a t i n g   a n   e n t i r e l ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12539"
  },
  {
    "question": "What is Lifecycle of a volume snapshot and volume snapshot content?",
    "answer": "V o l u m e S n a p s h o t C o n t e n t s   a r e   r e s o u r c e s   i n   t h e   c l u s t e r .   V o l u m e S n a p s h o t s   a r e   r e q u e s t s   f o r   t h o s e   r e s o u r c e s .   T h e   i n t e r a c t i o n   b e t w e e n   V o l u m e S n a p s h o t C o n t e n t s   a n d   V o l u m e S n a p s h o t s   f o l l o w   t h i s   l i f e c y c l e :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12540"
  },
  {
    "question": "What is Provisioning Volume Snapshot?",
    "answer": "T h e r e   a r e   t w o   w a y s   s n a p s h o t s   m a y   b e   p r o v i s i o n e d :   p r e - p r o v i s i o n e d   o r   d y n a m i c a l l y   p r o v i s i o n e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12541"
  },
  {
    "question": "What is Pre-provisioned?",
    "answer": "A   c l u s t e r   a d m i n i s t r a t o r   c r e a t e s   a   n u m b e r   o f   V o l u m e S n a p s h o t C o n t e n t s .   T h e y   c a r r y   t h e   d e t a i l s   o f   t h e   r e a l   v o l u m e   s n a p s h o t   o n   t h e   s t o r a g e   s y s t e m   w h i c h   i s   a v a i l a b l e   f o r   u s e   b y   c l u s t e r   u s e r s .   T h e y   e x i s t   i n   t h e   K u b e r n e t e s   A P I   a n d   a r e   a v a i l a b l e   f o r   c o n s u m p t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12542"
  },
  {
    "question": "What is Dynamic?",
    "answer": "I n s t e a d   o f   u s i n g   a   p r e - e x i s t i n g   s n a p s h o t ,   y o u   c a n   r e q u e s t   t h a t   a   s n a p s h o t   t o   b e   d y n a m i c a l l y   t a k e n   f r o m   a   P e r s i s t e n t V o l u m e C l a i m .   T h e   V o l u m e S n a p s h o t C l a s s   s p e c i f i e s   s t o r a g e   p r o v i d e r - s p e c i f i c   p a r a m e t e r s   t o   u s e   w h e n   t a k i n g   a   s n a p s h o t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12543"
  },
  {
    "question": "What is Binding?",
    "answer": "T h e   s n a p s h o t   c o n t r o l l e r   h a n d l e s   t h e   b i n d i n g   o f   a   V o l u m e S n a p s h o t   o b j e c t   w i t h   a n   a p p r o p r i a t e   V o l u m e S n a p s h o t C o n t e n t   o b j e c t ,   i n   b o t h   p r e - p r o v i s i o n e d   a n d   d y n a m i c a l l y   p r o v i s i o n e d   s c e n a r i o s .   T h e   b i n d i n g   i s   a   o n e - t o - o n e   m a p p i n g .   I n   t h e   c a s e   o f   p r e - p r o v i s i o n e d   b i n d i n g ,   t h e   V o l u m e S n a p s h o t   w i l l   r e m a i n   u n b o u n d   u n t i l   t h e   r e q u e s t e d   V o l u m e S n a p s h o t C o n t e n t   o b j e c t   i s   c r e a t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12544"
  },
  {
    "question": "What is Persistent Volume Claim as Snapshot Source Protection?",
    "answer": "T h e   p u r p o s e   o f   t h i s   p r o t e c t i o n   i s   t o   e n s u r e   t h a t   i n - u s e   P e r s i s t e n t V o l u m e C l a i m   A P I   o b j e c t s   a r e   n o t   r e m o v e d   f r o m   t h e   s y s t e m   w h i l e   a   s n a p s h o t   i s   b e i n g   t a k e n   f r o m   i t   ( a s   t h i s   m a y   r e s u l t   i n   d a t a   l o s s ) .   W h i l e   a   s n a p s h o t   i s   b e i n g   t a k e n   o f   a   P e r s i s t e n t V o l u m e C l a i m ,   t h a t   P e r s i s t e n t V o l u m e C l a i m   i s   i n - u s e .   I f   y o u   d e l e t e   a   P e r s i s t e n t V o l u m e C l a i m   A P I   o b j e c t   i n   a c t i v e   u s e   a s   a   s n a p s h o t   s o u r c e ,   t h e   P e r s i s t e n t V o l u m e C l a i m   o b j e c t   i s   n o t   r e m o v e d   i m m e d i a t e l y .   I n s t e a d ,   r e m o v a l   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   o b j e c t   i s   p o s t p o n e d   u n t i l   t h e   s n a p s h o t   i s   r e a d y T o U s e   o r   a b o r t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12545"
  },
  {
    "question": "What is Delete?",
    "answer": "D e l e t i o n   i s   t r i g g e r e d   b y   d e l e t i n g   t h e   V o l u m e S n a p s h o t   o b j e c t ,   a n d   t h e   D e l e t i o n P o l i c y   w i l l   b e   f o l l o w e d .   I f   t h e   D e l e t i o n P o l i c y   i s   D e l e t e ,   t h e n   t h e   u n d e r l y i n g   s t o r a g e   s n a p s h o t   w i l l   b e   d e l e t e d   a l o n g   w i t h   t h e   V o l u m e S n a p s h o t C o n t e n t   o b j e c t .   I f   t h e   D e l e t i o n P o l i c y   i s   R e t a i n ,   t h e n   b o t h   t h e   u n d e r l y i n g   s n a p s h o t   a n d   V o l u m e S n a p s h o t C o n t e n t   r e m a i n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12546"
  },
  {
    "question": "What is VolumeSnapshots?",
    "answer": "E a c h   V o l u m e S n a p s h o t   c o n t a i n s   a   s p e c   a n d   a   s t a t u s .   a p i V e r s i o n :   s n a p s h o t . s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e S n a p s h o t   m e t a d a t a :   n a m e :   n e w - s n a p s h o t - t e s t   s p e c :   v o l u m e S n a p s h o t C l a s s N a m e :   c s i - h o s t p a t h - s n a p c l a s s   s o u r c e :   p e r s i s t e n t V o l u m e C l a i m N a m e :   p v c - t e s t   p e r s i s t e n t V o l u m e C l a i m N a m e   i s   t h e   n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   d a t a   s o u r c e   f o r   t h e   s n a p s h o t .   T h i s   f i e l d   i s   r e q u i r e d   f o r   d y n a m i c a l l y   p r o v i s i o n i n g   a   s n a p s h o t .   A   v o l u m e   s n a p s h o t   c a n   r e q u e s t   a   p a r t i c u l a r   c l a s s   b y   s p e c i f y i n g   t h e   n a m e   o f   a   V o l u m e S n a p s h o t C l a s s   u s i n g   t h e   a t t r i b u t e   v o l u m e S n a p s h o t C l a s s N a m e .   I f   n o t h i n g   i s   s e t ,   t h e n   t h e   d e f a u l t   c l a s s   i s   u s e d   i f   a v a i l a b l e .   F o r   p r e - p r o v i s i o n e d   s n a p s h o t s ,   y o u   n e e d   t o   s p e c i f y   a   v o l u m e S n a p s h o t C o n t e n t N a m e   a s   t h e   s o u r c e   f o r   t h e   s n a p s h o t   a s   s h o w n   i n   t h e   f o l l o w i n g   e x a m p l e .   T h e   v o l u m e S n a p s h o t C o n t e n t N a m e   s o u r c e   f i e l d   i s   r e q u i r e d   f o r   p r e - p r o v i s i o n e d   s n a p s h o t s .   a p i V e r s i o n :   s n a p s h o t . s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e S n a p s h o t   m e t a d a t a :   n a m e :   t e s t - s n a p s h o t   s p e c :   s o u r c e :   v o l u m e S n a p s h o t C o n t e n t N a m e :   t e s t - c o n t e n t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12547"
  },
  {
    "question": "What is Volume Snapshot Contents?",
    "answer": "E a c h   V o l u m e S n a p s h o t C o n t e n t   c o n t a i n s   a   s p e c   a n d   s t a t u s .   I n   d y n a m i c   p r o v i s i o n i n g ,   t h e   s n a p s h o t   c o m m o n   c o n t r o l l e r   c r e a t e s   V o l u m e S n a p s h o t C o n t e n t   o b j e c t s .   H e r e   i s   a n   e x a m p l e :   a p i V e r s i o n :   s n a p s h o t . s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e S n a p s h o t C o n t e n t   m e t a d a t a :   n a m e :   s n a p c o n t e n t - 7 2 d 9 a 3 4 9 - a a c d - 4 2 d 2 - a 2 4 0 - d 7 7 5 6 5 0 d 2 4 5 5   s p e c :   d e l e t i o n P o l i c y :   D e l e t e   d r i v e r :   h o s t p a t h . c s i . k 8 s . i o   s o u r c e :   v o l u m e H a n d l e :   e e 0 c f b 9 4 - f 8 d 4 - 1 1 e 9 - b 2 d 8 - 0 2 4 2 a c 1 1 0 0 0 2   s o u r c e V o l u m e M o d e :   F i l e s y s t e m   v o l u m e S n a p s h o t C l a s s N a m e :   c s i - h o s t p a t h - s n a p c l a s s   v o l u m e S n a p s h o t R e f :   n a m e :   n e w - s n a p s h o t - t e s t   n a m e s p a c e :   d e f a u l t   u i d :   7 2 d 9 a 3 4 9 - a a c d - 4 2 d 2 - a 2 4 0 - d 7 7 5 6 5 0 d 2 4 5 5   v o l u m e H a n d l e   i s   t h e   u n i q u e   i d e n t i f i e r   o f   t h e   v o l u m e   c r e a t e d   o n   t h e   s t o r a g e   b a c k e n d   a n d   r e t u r n e d   b y   t h e   C S I   d r i v e r   d u r i n g   t h e   v o l u m e   c r e a t i o n .   T h i s   f i e l d   i s   r e q u i r e d   f o r   d y n a m i c a l l y   p r o v i s i o n i n g   a   s n a p s h o t .   I t   s p e c i f i e s   t h e   v o l u m e   s o u r c e   o f   t h e   s n a p s h o t .   F o r   p r e - p r o v i s i o n e d   s n a p s h o t s ,   y o u   ( a s   c l u s t e r   a d m i n i s t r a t o r )   a r e   r e s p o n s i b l e   f o r   c r e a t i n g   t h e   V o l u m e S n a p s h o t C o n t e n t   o b j e c t   a s   f o l l o w s .   a p i V e r s i o n : ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12548"
  },
  {
    "question": "What is Converting the volume mode of a Snapshot?",
    "answer": "I f   t h e   V o l u m e S n a p s h o t s   A P I   i n s t a l l e d   o n   y o u r   c l u s t e r   s u p p o r t s   t h e   s o u r c e V o l u m e M o d e   f i e l d ,   t h e n   t h e   A P I   h a s   t h e   c a p a b i l i t y   t o   p r e v e n t   u n a u t h o r i z e d   u s e r s   f r o m   c o n v e r t i n g   t h e   m o d e   o f   a   v o l u m e .   T o   c h e c k   i f   y o u r   c l u s t e r   h a s   c a p a b i l i t y   f o r   t h i s   f e a t u r e ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   $   k u b e c t l   g e t   c r d   v o l u m e s n a p s h o t c o n t e n t   - o   y a m l   I f   y o u   w a n t   t o   a l l o w   u s e r s   t o   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   f r o m   a n   e x i s t i n g   V o l u m e S n a p s h o t ,   b u t   w i t h   a   d i f f e r e n t   v o l u m e   m o d e   t h a n   t h e   s o u r c e ,   t h e   a n n o t a t i o n   s n a p s h o t . s t o r a g e . k u b e r n e t e s . i o / a l l o w - v o l u m e - m o d e - c h a n g e :   \" t r u e \" n e e d s   t o   b e   a d d e d   t o   t h e   V o l u m e S n a p s h o t C o n t e n t   t h a t   c o r r e s p o n d s   t o   t h e   V o l u m e S n a p s h o t .   F o r   p r e - p r o v i s i o n e d   s n a p s h o t s ,   s p e c . s o u r c e V o l u m e M o d e   n e e d s   t o   b e   p o p u l a t e d   b y   t h e   c l u s t e r   a d m i n i s t r a t o r .   A n   e x a m p l e   V o l u m e S n a p s h o t C o n t e n t   r e s o u r c e   w i t h   t h i s   f e a t u r e   e n a b l e d   w o u l d   l o o k   l i k e :   a p i V e r s i o n :   s n a p s h o t . s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e S n a p s h o t C o n t e n t   m e t a d a t a :   n a m e :   n e w - s n a p s h o t - c o n t e n t - t e s t   a n n o t a t i o n s :   -   s n a p s h o t . s t o r a g e . k u b e r n e t e s . i o / a l l o w - v o l u m e - m o d e - c h a n g ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12549"
  },
  {
    "question": "What is Provisioning Volumes from Snapshots?",
    "answer": "Y o u   c a n   p r o v i s i o n   a   n e w   v o l u m e ,   p r e - p o p u l a t e d   w i t h   d a t a   f r o m   a   s n a p s h o t ,   b y   u s i n g   t h e   d a t a S o u r c e   f i e l d   i n   t h e   P e r s i s t e n t V o l u m e C l a i m   o b j e c t .   F o r   m o r e   d e t a i l s ,   s e e   V o l u m e   S n a p s h o t   a n d   R e s t o r e   V o l u m e   f r o m   S n a p s h o t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12550"
  },
  {
    "question": "What is 6.9 - Volume Snapshot Classes?",
    "answer": "T h i s   d o c u m e n t   d e s c r i b e s   t h e   c o n c e p t   o f   V o l u m e S n a p s h o t C l a s s   i n   K u b e r n e t e s .   F a m i l i a r i t y   w i t h   v o l u m e   s n a p s h o t s   a n d   s t o r a g e   c l a s s e s   i s   s u g g e s t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12551"
  },
  {
    "question": "What is Introduction?",
    "answer": "J u s t   l i k e   S t o r a g e C l a s s   p r o v i d e s   a   w a y   f o r   a d m i n i s t r a t o r s   t o   d e s c r i b e   t h e   \" c l a s s e s \"   o f   s t o r a g e   t h e y   o f f e r   w h e n   p r o v i s i o n i n g   a   v o l u m e ,   V o l u m e S n a p s h o t C l a s s   p r o v i d e s   a   w a y   t o   d e s c r i b e   t h e   \" c l a s s e s \"   o f   s t o r a g e   w h e n   p r o v i s i o n i n g   a   v o l u m e   s n a p s h o t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12552"
  },
  {
    "question": "What is The VolumeSnapshotClass Resource?",
    "answer": "E a c h   V o l u m e S n a p s h o t C l a s s   c o n t a i n s   t h e   f i e l d s   d r i v e r ,   d e l e t i o n P o l i c y ,   a n d   p a r a m e t e r s ,   w h i c h   a r e   u s e d   w h e n   a   V o l u m e S n a p s h o t   b e l o n g i n g   t o   t h e   c l a s s   n e e d s   t o   b e   d y n a m i c a l l y   p r o v i s i o n e d .   T h e   n a m e   o f   a   V o l u m e S n a p s h o t C l a s s   o b j e c t   i s   s i g n i f i c a n t ,   a n d   i s   h o w   u s e r s   c a n   r e q u e s t   a   p a r t i c u l a r   c l a s s .   A d m i n i s t r a t o r s   s e t   t h e   n a m e   a n d   o t h e r   p a r a m e t e r s   o f   a   c l a s s   w h e n   f i r s t   c r e a t i n g   V o l u m e S n a p s h o t C l a s s   o b j e c t s ,   a n d   t h e   o b j e c t s   c a n n o t   b e   u p d a t e d   o n c e   t h e y   a r e   c r e a t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12553"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i V e r s i o n :   s n a p s h o t . s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e S n a p s h o t C l a s s   m e t a d a t a :   n a m e :   c s i - h o s t p a t h - s n a p c l a s s   d r i v e r :   h o s t p a t h . c s i . k 8 s . i o   d e l e t i o n P o l i c y :   D e l e t e   p a r a m e t e r s :   A d m i n i s t r a t o r s   c a n   s p e c i f y   a   d e f a u l t   V o l u m e S n a p s h o t C l a s s   f o r   V o l u m e S n a p s h o t s   t h a t   d o n ' t   r e q u e s t   a n y   p a r t i c u l a r   c l a s s   t o   b i n d   t o   b y   a d d i n g   t h e   s n a p s h o t . s t o r a g e . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s :   \" t r u e \"   a n n o t a t i o n :   a p i V e r s i o n :   s n a p s h o t . s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e S n a p s h o t C l a s s   m e t a d a t a :   n a m e :   c s i - h o s t p a t h - s n a p c l a s s   a n n o t a t i o n s :   s n a p s h o t . s t o r a g e . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s :   \" t r u e \"   d r i v e r :   h o s t p a t h . c s i . k 8 s . i o   d e l e t i o n P o l i c y :   D e l e t e   p a r a m e t e r s :   I f   m u l t i p l e   C S I   d r i v e r s   e x i s t ,   a   d e f a u l t   V o l u m e S n a p s h o t C l a s s   c a n   b e   s p e c i f i e d   f o r   e a c h   o f   t h e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12554"
  },
  {
    "question": "What is VolumeSnapshotClass dependencies?",
    "answer": "W h e n   y o u   c r e a t e   a   V o l u m e S n a p s h o t   w i t h o u t   s p e c i f y i n g   a   V o l u m e S n a p s h o t C l a s s ,   K u b e r n e t e s   a u t o m a t i c a l l y   s e l e c t s   a   d e f a u l t   V o l u m e S n a p s h o t C l a s s   t h a t   h a s   a   C S I   d r i v e r   m a t c h i n g   t h e   C S I   d r i v e r   o f   t h e   P V C ’ s   S t o r a g e C l a s s .   T h i s   b e h a v i o r   a l l o w s   m u l t i p l e   d e f a u l t   V o l u m e S n a p s h o t C l a s s   o b j e c t s   t o   c o e x i s t   i n   a   c l u s t e r ,   a s   l o n g   a s   e a c h   o n e   i s   a s s o c i a t e d   w i t h   a   u n i q u e   C S I   d r i v e r .   A l w a y s   e n s u r e   t h a t   t h e r e   i s   o n l y   o n e   d e f a u l t   V o l u m e S n a p s h o t C l a s s   f o r   e a c h   C S I   d r i v e r .   I f   m u l t i p l e   d e f a u l t   V o l u m e S n a p s h o t C l a s s   o b j e c t s   a r e   c r e a t e d   u s i n g   t h e   s a m e   C S I   d r i v e r ,   a   V o l u m e S n a p s h o t   c r e a t i o n   w i l l   f a i l   b e c a u s e   K u b e r n e t e s   c a n n o t   d e t e r m i n e   w h i c h   o n e   t o   u s e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12555"
  },
  {
    "question": "What is Driver?",
    "answer": "V o l u m e   s n a p s h o t   c l a s s e s   h a v e   a   d r i v e r   t h a t   d e t e r m i n e s   w h a t   C S I   v o l u m e   p l u g i n   i s   u s e d   f o r   p r o v i s i o n i n g   V o l u m e S n a p s h o t s .   T h i s   f i e l d   m u s t   b e   s p e c i f i e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12556"
  },
  {
    "question": "What is DeletionPolicy?",
    "answer": "V o l u m e   s n a p s h o t   c l a s s e s   h a v e   a   d e l e t i o n P o l i c y .   I t   e n a b l e s   y o u   t o   c o n f i g u r e   w h a t   h a p p e n s   t o   a   V o l u m e S n a p s h o t C o n t e n t   w h e n   t h e   V o l u m e S n a p s h o t   o b j e c t   i t   i s   b o u n d   t o   i s   t o   b e   d e l e t e d .   T h e   d e l e t i o n P o l i c y   o f   a   v o l u m e   s n a p s h o t   c l a s s   c a n   e i t h e r   b e   R e t a i n   o r   D e l e t e .   T h i s   f i e l d   m u s t   b e   s p e c i f i e d .   I f   t h e   d e l e t i o n P o l i c y   i s   D e l e t e ,   t h e n   t h e   u n d e r l y i n g   s t o r a g e   s n a p s h o t   w i l l   b e   d e l e t e d   a l o n g   w i t h   t h e   V o l u m e S n a p s h o t C o n t e n t   o b j e c t .   I f   t h e   d e l e t i o n P o l i c y   i s   R e t a i n ,   t h e n   b o t h   t h e   u n d e r l y i n g   s n a p s h o t   a n d   V o l u m e S n a p s h o t C o n t e n t   r e m a i n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12557"
  },
  {
    "question": "What is Parameters?",
    "answer": "V o l u m e   s n a p s h o t   c l a s s e s   h a v e   p a r a m e t e r s   t h a t   d e s c r i b e   v o l u m e   s n a p s h o t s   b e l o n g i n g   t o   t h e   v o l u m e   s n a p s h o t   c l a s s .   D i f f e r e n t   p a r a m e t e r s   m a y   b e   a c c e p t e d   d e p e n d i n g   o n   t h e   d r i v e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12558"
  },
  {
    "question": "What is 6.10 - CSI Volume Cloning?",
    "answer": "T h i s   d o c u m e n t   d e s c r i b e s   t h e   c o n c e p t   o f   c l o n i n g   e x i s t i n g   C S I   V o l u m e s   i n   K u b e r n e t e s .   F a m i l i a r i t y   w i t h   V o l u m e s   i s   s u g g e s t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12559"
  },
  {
    "question": "What is Introduction?",
    "answer": "T h e   C S I   V o l u m e   C l o n i n g   f e a t u r e   a d d s   s u p p o r t   f o r   s p e c i f y i n g   e x i s t i n g   P V C s   i n   t h e   d a t a S o u r c e   f i e l d   t o   i n d i c a t e   a   u s e r   w o u l d   l i k e   t o   c l o n e   a   V o l u m e .   A   C l o n e   i s   d e f i n e d   a s   a   d u p l i c a t e   o f   a n   e x i s t i n g   K u b e r n e t e s   V o l u m e   t h a t   c a n   b e   c o n s u m e d   a s   a n y   s t a n d a r d   V o l u m e   w o u l d   b e .   T h e   o n l y   d i f f e r e n c e   i s   t h a t   u p o n   p r o v i s i o n i n g ,   r a t h e r   t h a n   c r e a t i n g   a   \" n e w \"   e m p t y   V o l u m e ,   t h e   b a c k   e n d   d e v i c e   c r e a t e s   a n   e x a c t   d u p l i c a t e   o f   t h e   s p e c i f i e d   V o l u m e .   T h e   i m p l e m e n t a t i o n   o f   c l o n i n g ,   f r o m   t h e   p e r s p e c t i v e   o f   t h e   K u b e r n e t e s   A P I ,   a d d s   t h e   a b i l i t y   t o   s p e c i f y   a n   e x i s t i n g   P V C   a s   a   d a t a S o u r c e   d u r i n g   n e w   P V C   c r e a t i o n .   T h e   s o u r c e   P V C   m u s t   b e   b o u n d   a n d   a v a i l a b l e   ( n o t   i n   u s e ) .   U s e r s   n e e d   t o   b e   a w a r e   o f   t h e   f o l l o w i n g   w h e n   u s i n g   t h i s   f e a t u r e :   C l o n i n g   s u p p o r t   ( V o l u m e P V C D a t a S o u r c e )   i s   o n l y   a v a i l a b l e   f o r   C S I   d r i v e r s . C l o n i n g   s u p p o r t   i s   o n l y   a v a i l a b l e   f o r   d y n a m i c   p r o v i s i o n e r s . C S I   d r i v e r s   m a y   o r   m a y   n o t   h a v e   i m p l e m e n t e d   t h e   v o l u m e   c l o n i n g   f u n c t i o n a l i t y . Y o u   c a n   o n l y   c l o n e   a   P V C   w h e n   i t   e x i s t s   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   d e s t i n a t i o n   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12560"
  },
  {
    "question": "What is Provisioning?",
    "answer": "C l o n e s   a r e   p r o v i s i o n e d   l i k e   a n y   o t h e r   P V C   w i t h   t h e   e x c e p t i o n   o f   a d d i n g   a   d a t a S o u r c e   t h a t   r e f e r e n c e s   a n   e x i s t i n g   P V C   i n   t h e   s a m e   n a m e s p a c e .   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   c l o n e - o f - p v c - 1   n a m e s p a c e :   m y n s   s p e c :   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   s t o r a g e C l a s s N a m e :   c l o n i n g   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   5 G i   d a t a S o u r c e :   k i n d :   P e r s i s t e n t V o l u m e C l a i m   n a m e :   p v c - 1",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12561"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   r e s u l t   i s   a   n e w   P V C   w i t h   t h e   n a m e   c l o n e - o f - p v c - 1   t h a t   h a s   t h e   e x a c t   s a m e   c o n t e n t   a s   t h e   s p e c i f i e d   s o u r c e   p v c - 1 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12562"
  },
  {
    "question": "What is Usage?",
    "answer": "U p o n   a v a i l a b i l i t y   o f   t h e   n e w   P V C ,   t h e   c l o n e d   P V C   i s   c o n s u m e d   t h e   s a m e   a s   o t h e r   P V C .   I t ' s   a l s o   e x p e c t e d   a t   t h i s   p o i n t   t h a t   t h e   n e w l y   c r e a t e d   P V C   i s   a n   i n d e p e n d e n t   o b j e c t .   I t   c a n   b e   c o n s u m e d ,   c l o n e d ,   s n a p s h o t t e d ,   o r   d e l e t e d   i n d e p e n d e n t l y   a n d   w i t h o u t   c o n s i d e r a t i o n   f o r   i t ' s   o r i g i n a l   d a t a S o u r c e   P V C .   T h i s   a l s o   i m p l i e s   t h a t   t h e   s o u r c e   i s   n o t   l i n k e d   i n   a n y   w a y   t o   t h e   n e w l y   c r e a t e d   c l o n e ,   i t   m a y   a l s o   b e   m o d i f i e d   o r   d e l e t e d   w i t h o u t   a f f e c t i n g   t h e   n e w l y   c r e a t e d   c l o n e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12563"
  },
  {
    "question": "What is 6.11 - Storage Capacity?",
    "answer": "S t o r a g e   c a p a c i t y   i s   l i m i t e d   a n d   m a y   v a r y   d e p e n d i n g   o n   t h e   n o d e   o n   w h i c h   a   p o d   r u n s :   n e t w o r k - a t t a c h e d   s t o r a g e   m i g h t   n o t   b e   a c c e s s i b l e   b y   a l l   n o d e s ,   o r   s t o r a g e   i s   l o c a l   t o   a   n o d e   t o   b e g i n   w i t h .   T h i s   p a g e   d e s c r i b e s   h o w   K u b e r n e t e s   k e e p s   t r a c k   o f   s t o r a g e   c a p a c i t y   a n d   h o w   t h e   s c h e d u l e r   u s e s   t h a t   i n f o r m a t i o n   t o   s c h e d u l e   P o d s   o n t o   n o d e s   t h a t   h a v e   a c c e s s   t o   e n o u g h   s t o r a g e   c a p a c i t y   f o r   t h e   r e m a i n i n g   m i s s i n g   v o l u m e s .   W i t h o u t   s t o r a g e   c a p a c i t y   t r a c k i n g ,   t h e   s c h e d u l e r   m a y   c h o o s e   a   n o d e   t h a t   d o e s n ' t   h a v e   e n o u g h   c a p a c i t y   t o   p r o v i s i o n   a   v o l u m e   a n d   m u l t i p l e   s c h e d u l i n g   r e t r i e s   w i l l   b e   n e e d e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12564"
  },
  {
    "question": "What is Before you begin?",
    "answer": "K u b e r n e t e s   v 1 . 3 4   i n c l u d e s   c l u s t e r - l e v e l   A P I   s u p p o r t   f o r   s t o r a g e   c a p a c i t y   t r a c k i n g .   T o   u s e   t h i s   y o u   m u s t   a l s o   b e   u s i n g   a   C S I   d r i v e r   t h a t   s u p p o r t s   c a p a c i t y   t r a c k i n g .   C o n s u l t   t h e   d o c u m e n t a t i o n   f o r   t h e   C S I   d r i v e r s   t h a t   y o u   u s e   t o   f i n d   o u t   w h e t h e r   t h i s   s u p p o r t   i s   a v a i l a b l e   a n d ,   i f   s o ,   h o w   t o   u s e   i t .   I f   y o u   a r e   n o t   r u n n i n g   K u b e r n e t e s   v 1 . 3 4 ,   c h e c k   t h e   d o c u m e n t a t i o n   f o r   t h a t   v e r s i o n   o f   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12565"
  },
  {
    "question": "What is API?",
    "answer": "T h e r e   a r e   t w o   A P I   e x t e n s i o n s   f o r   t h i s   f e a t u r e :   C S I S t o r a g e C a p a c i t y   o b j e c t s :   t h e s e   g e t   p r o d u c e d   b y   a   C S I   d r i v e r   i n   t h e   n a m e s p a c e   w h e r e   t h e   d r i v e r   i s   i n s t a l l e d .   E a c h   o b j e c t   c o n t a i n s   c a p a c i t y   i n f o r m a t i o n   f o r   o n e   s t o r a g e   c l a s s   a n d   d e f i n e s   w h i c h   n o d e s   h a v e   a c c e s s   t o   t h a t   s t o r a g e . T h e   C S I D r i v e r S p e c . S t o r a g e C a p a c i t y   f i e l d :   w h e n   s e t   t o   t r u e ,   t h e   K u b e r n e t e s   s c h e d u l e r   w i l l   c o n s i d e r   s t o r a g e   c a p a c i t y   f o r   v o l u m e s   t h a t   u s e   t h e   C S I   d r i v e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12566"
  },
  {
    "question": "What is Scheduling?",
    "answer": "S t o r a g e   c a p a c i t y   i n f o r m a t i o n   i s   u s e d   b y   t h e   K u b e r n e t e s   s c h e d u l e r   i f :   a   P o d   u s e s   a   v o l u m e   t h a t   h a s   n o t   b e e n   c r e a t e d   y e t , t h a t   v o l u m e   u s e s   a   S t o r a g e C l a s s   w h i c h   r e f e r e n c e s   a   C S I   d r i v e r   a n d   u s e s   W a i t F o r F i r s t C o n s u m e r   v o l u m e   b i n d i n g   m o d e ,   a n d t h e   C S I D r i v e r   o b j e c t   f o r   t h e   d r i v e r   h a s   S t o r a g e C a p a c i t y   s e t   t o   t r u e .   I n   t h a t   c a s e ,   t h e   s c h e d u l e r   o n l y   c o n s i d e r s   n o d e s   f o r   t h e   P o d   w h i c h   h a v e   e n o u g h   s t o r a g e   a v a i l a b l e   t o   t h e m .   T h i s   c h e c k   i s   v e r y   s i m p l i s t i c   a n d   o n l y   c o m p a r e s   t h e   s i z e   o f   t h e   v o l u m e   a g a i n s t   t h e   c a p a c i t y   l i s t e d   i n   C S I S t o r a g e C a p a c i t y   o b j e c t s   w i t h   a   t o p o l o g y   t h a t   i n c l u d e s   t h e   n o d e .   F o r   v o l u m e s   w i t h   I m m e d i a t e   v o l u m e   b i n d i n g   m o d e ,   t h e   s t o r a g e   d r i v e r   d e c i d e s   w h e r e   t o   c r e a t e   t h e   v o l u m e ,   i n d e p e n d e n t l y   o f   P o d s   t h a t   w i l l   u s e   t h e   v o l u m e .   T h e   s c h e d u l e r   t h e n   s c h e d u l e s   P o d s   o n t o   n o d e s   w h e r e   t h e   v o l u m e   i s   a v a i l a b l e   a f t e r   t h e   v o l u m e   h a s   b e e n   c r e a t e d .   F o r   C S I   e p h e m e r a l   v o l u m e s ,   s c h e d u l i n g   a l w a y s   h a p p e n s   w i t h o u t   c o n s i d e r i n g   s t o r a g e   c a p a c i t y .   T h i s   i s   b a s e d   o n   t h e   a s s u m p t i o n   t h a t   t h i s   v o l u m e   t y p e   i s   o n l y   u s e d   b y ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12567"
  },
  {
    "question": "What is Rescheduling?",
    "answer": "W h e n   a   n o d e   h a s   b e e n   s e l e c t e d   f o r   a   P o d   w i t h   W a i t F o r F i r s t C o n s u m e r   v o l u m e s ,   t h a t   d e c i s i o n   i s   s t i l l   t e n t a t i v e .   T h e   n e x t   s t e p   i s   t h a t   t h e   C S I   s t o r a g e   d r i v e r   g e t s   a s k e d   t o   c r e a t e   t h e   v o l u m e   w i t h   a   h i n t   t h a t   t h e   v o l u m e   i s   s u p p o s e d   t o   b e   a v a i l a b l e   o n   t h e   s e l e c t e d   n o d e .   B e c a u s e   K u b e r n e t e s   m i g h t   h a v e   c h o s e n   a   n o d e   b a s e d   o n   o u t - d a t e d   c a p a c i t y   i n f o r m a t i o n ,   i t   i s   p o s s i b l e   t h a t   t h e   v o l u m e   c a n n o t   r e a l l y   b e   c r e a t e d .   T h e   n o d e   s e l e c t i o n   i s   t h e n   r e s e t   a n d   t h e   K u b e r n e t e s   s c h e d u l e r   t r i e s   a g a i n   t o   f i n d   a   n o d e   f o r   t h e   P o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12568"
  },
  {
    "question": "What is Limitations?",
    "answer": "S t o r a g e   c a p a c i t y   t r a c k i n g   i n c r e a s e s   t h e   c h a n c e   t h a t   s c h e d u l i n g   w o r k s   o n   t h e   f i r s t   t r y ,   b u t   c a n n o t   g u a r a n t e e   t h i s   b e c a u s e   t h e   s c h e d u l e r   h a s   t o   d e c i d e   b a s e d   o n   p o t e n t i a l l y   o u t - d a t e d   i n f o r m a t i o n .   U s u a l l y ,   t h e   s a m e   r e t r y   m e c h a n i s m   a s   f o r   s c h e d u l i n g   w i t h o u t   a n y   s t o r a g e   c a p a c i t y   i n f o r m a t i o n   h a n d l e s   s c h e d u l i n g   f a i l u r e s .   O n e   s i t u a t i o n   w h e r e   s c h e d u l i n g   c a n   f a i l   p e r m a n e n t l y   i s   w h e n   a   P o d   u s e s   m u l t i p l e   v o l u m e s :   o n e   v o l u m e   m i g h t   h a v e   b e e n   c r e a t e d   a l r e a d y   i n   a   t o p o l o g y   s e g m e n t   w h i c h   t h e n   d o e s   n o t   h a v e   e n o u g h   c a p a c i t y   l e f t   f o r   a n o t h e r   v o l u m e .   M a n u a l   i n t e r v e n t i o n   i s   n e c e s s a r y   t o   r e c o v e r   f r o m   t h i s ,   f o r   e x a m p l e   b y   i n c r e a s i n g   c a p a c i t y   o r   d e l e t i n g   t h e   v o l u m e   t h a t   w a s   a l r e a d y   c r e a t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12569"
  },
  {
    "question": "What is What's next?",
    "answer": "F o r   m o r e   i n f o r m a t i o n   o n   t h e   d e s i g n ,   s e e   t h e   S t o r a g e   C a p a c i t y   C o n s t r a i n t s   f o r   P o d   S c h e d u l i n g   K E P .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12570"
  },
  {
    "question": "What is 6.12 - Node-specific Volume Limits?",
    "answer": "T h i s   p a g e   d e s c r i b e s   t h e   m a x i m u m   n u m b e r   o f   v o l u m e s   t h a t   c a n   b e   a t t a c h e d   t o   a   N o d e   f o r   v a r i o u s   c l o u d   p r o v i d e r s .   C l o u d   p r o v i d e r s   l i k e   G o o g l e ,   A m a z o n ,   a n d   M i c r o s o f t   t y p i c a l l y   h a v e   a   l i m i t   o n   h o w   m a n y   v o l u m e s   c a n   b e   a t t a c h e d   t o   a   N o d e .   I t   i s   i m p o r t a n t   f o r   K u b e r n e t e s   t o   r e s p e c t   t h o s e   l i m i t s .   O t h e r w i s e ,   P o d s   s c h e d u l e d   o n   a   N o d e   c o u l d   g e t   s t u c k   w a i t i n g   f o r   v o l u m e s   t o   a t t a c h .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12571"
  },
  {
    "question": "What is Kubernetes default limits?",
    "answer": "T h e   K u b e r n e t e s   s c h e d u l e r   h a s   d e f a u l t   l i m i t s   o n   t h e   n u m b e r   o f   v o l u m e s   t h a t   c a n   b e   a t t a c h e d   t o   a   N o d e :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12572"
  },
  {
    "question": "What is Dynamic volume limits?",
    "answer": "D y n a m i c   v o l u m e   l i m i t s   a r e   s u p p o r t e d   f o r   f o l l o w i n g   v o l u m e   t y p e s .   A m a z o n   E B S G o o g l e   P e r s i s t e n t   D i s k A z u r e   D i s k C S I   F o r   v o l u m e s   m a n a g e d   b y   i n - t r e e   v o l u m e   p l u g i n s ,   K u b e r n e t e s   a u t o m a t i c a l l y   d e t e r m i n e s   t h e   N o d e   t y p e   a n d   e n f o r c e s   t h e   a p p r o p r i a t e   m a x i m u m   n u m b e r   o f   v o l u m e s   f o r   t h e   n o d e .   F o r   e x a m p l e :   O n   G o o g l e   C o m p u t e   E n g i n e ,   u p   t o   1 2 7   v o l u m e s   c a n   b e   a t t a c h e d   t o   a   n o d e ,   d e p e n d i n g   o n   t h e   n o d e   t y p e . F o r   A m a z o n   E B S   d i s k s   o n   M 5 , C 5 , R 5 , T 3   a n d   Z 1 D   i n s t a n c e   t y p e s ,   K u b e r n e t e s   a l l o w s   o n l y   2 5   v o l u m e s   t o   b e   a t t a c h e d   t o   a   N o d e .   F o r   o t h e r   i n s t a n c e   t y p e s   o n   A m a z o n   E l a s t i c   C o m p u t e   C l o u d   ( E C 2 ) ,   K u b e r n e t e s   a l l o w s   3 9   v o l u m e s   t o   b e   a t t a c h e d   t o   a   N o d e . O n   A z u r e ,   u p   t o   6 4   d i s k s   c a n   b e   a t t a c h e d   t o   a   n o d e ,   d e p e n d i n g   o n   t h e   n o d e   t y p e .   F o r   m o r e   d e t a i l s ,   r e f e r   t o   S i z e s   f o r   v i r t u a l   m a c h i n e s   i n   A z u r e . I f   a   C S I   s t o r a g e   d r i v e r   a d v e r t i s e s   a   m a x i m u m   n u m b e r   o f   v o l u m e s   f o r   a   N o d e   ( u s i n g   N o d e G e t I n f o ) ,   t h e   k u b e - s c h e d u l e r   h o n o r s   t h a t   l i m i t .   R e f e r   t o   t h e   C S I   s p e c i f i c a t i o n s   f o r   d e t a i l s . F o r   v o l u m e s   m a n a g e d   b y   i n - t r e e   p l u g i n s   t h a t   h a v e   b e e n   m ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12573"
  },
  {
    "question": "What is Mutable CSI Node Allocatable Count?",
    "answer": "C S I   d r i v e r s   c a n   d y n a m i c a l l y   a d j u s t   t h e   m a x i m u m   n u m b e r   o f   v o l u m e s   t h a t   c a n   b e   a t t a c h e d   t o   a   N o d e   a t   r u n t i m e .   T h i s   e n h a n c e s   s c h e d u l i n g   a c c u r a c y   a n d   r e d u c e s   p o d   s c h e d u l i n g   f a i l u r e s   d u e   t o   c h a n g e s   i n   r e s o u r c e   a v a i l a b i l i t y .   T o   u s e   t h i s   f e a t u r e ,   y o u   m u s t   e n a b l e   t h e   M u t a b l e C S I N o d e A l l o c a t a b l e C o u n t   f e a t u r e   g a t e   o n   t h e   f o l l o w i n g   c o m p o n e n t s :   k u b e - a p i s e r v e r k u b e l e t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12574"
  },
  {
    "question": "What is Periodic Updates?",
    "answer": "W h e n   e n a b l e d ,   C S I   d r i v e r s   c a n   r e q u e s t   p e r i o d i c   u p d a t e s   t o   t h e i r   v o l u m e   l i m i t s   b y   s e t t i n g   t h e   n o d e A l l o c a t a b l e U p d a t e P e r i o d S e c o n d s   f i e l d   i n   t h e   C S I D r i v e r   s p e c i f i c a t i o n .   F o r   e x a m p l e :   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   C S I D r i v e r   m e t a d a t a :   n a m e :   h o s t p a t h . c s i . k 8 s . i o   s p e c :   n o d e A l l o c a t a b l e U p d a t e P e r i o d S e c o n d s :   6 0   K u b e l e t   w i l l   p e r i o d i c a l l y   c a l l   t h e   c o r r e s p o n d i n g   C S I   d r i v e r ’ s   N o d e G e t I n f o   e n d p o i n t   t o   r e f r e s h   t h e   m a x i m u m   n u m b e r   o f   a t t a c h a b l e   v o l u m e s ,   u s i n g   t h e   i n t e r v a l   s p e c i f i e d   i n   n o d e A l l o c a t a b l e U p d a t e P e r i o d S e c o n d s .   T h e   m i n i m u m   a l l o w e d   v a l u e   f o r   t h i s   f i e l d   i s   1 0   s e c o n d s .   I f   a   v o l u m e   a t t a c h m e n t   o p e r a t i o n   f a i l s   w i t h   a   R e s o u r c e E x h a u s t e d   e r r o r   ( g R P C   c o d e   8 ) ,   K u b e r n e t e s   t r i g g e r s   a n   i m m e d i a t e   u p d a t e   t o   t h e   a l l o c a t a b l e   v o l u m e   c o u n t   f o r   t h a t   N o d e .   A d d i t i o n a l l y ,   k u b e l e t   m a r k s   a f f e c t e d   p o d s   a s   F a i l e d ,   a l l o w i n g   t h e i r   c o n t r o l l e r s   t o   h a n d l e   r e c r e a t i o n .   T h i s   p r e v e n t s   p o d s   f r o m   g e t t i n g   s t u c k   i n d e f i n i t e l y   i n   t h e   C o n t a i n e r C r e a t i n g   s t a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12575"
  },
  {
    "question": "What is 6.13 - Volume Health Monitoring?",
    "answer": "C S I   v o l u m e   h e a l t h   m o n i t o r i n g   a l l o w s   C S I   D r i v e r s   t o   d e t e c t   a b n o r m a l   v o l u m e   c o n d i t i o n s   f r o m   t h e   u n d e r l y i n g   s t o r a g e   s y s t e m s   a n d   r e p o r t   t h e m   a s   e v e n t s   o n   P V C s   o r   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12576"
  },
  {
    "question": "What is Volume health monitoring?",
    "answer": "K u b e r n e t e s   v o l u m e   h e a l t h   m o n i t o r i n g   i s   p a r t   o f   h o w   K u b e r n e t e s   i m p l e m e n t s   t h e   C o n t a i n e r   S t o r a g e   I n t e r f a c e   ( C S I ) .   V o l u m e   h e a l t h   m o n i t o r i n g   f e a t u r e   i s   i m p l e m e n t e d   i n   t w o   c o m p o n e n t s :   a n   E x t e r n a l   H e a l t h   M o n i t o r   c o n t r o l l e r ,   a n d   t h e   k u b e l e t .   I f   a   C S I   D r i v e r   s u p p o r t s   V o l u m e   H e a l t h   M o n i t o r i n g   f e a t u r e   f r o m   t h e   c o n t r o l l e r   s i d e ,   a n   e v e n t   w i l l   b e   r e p o r t e d   o n   t h e   r e l a t e d   P e r s i s t e n t V o l u m e C l a i m   ( P V C )   w h e n   a n   a b n o r m a l   v o l u m e   c o n d i t i o n   i s   d e t e c t e d   o n   a   C S I   v o l u m e .   T h e   E x t e r n a l   H e a l t h   M o n i t o r   c o n t r o l l e r   a l s o   w a t c h e s   f o r   n o d e   f a i l u r e   e v e n t s .   Y o u   c a n   e n a b l e   n o d e   f a i l u r e   m o n i t o r i n g   b y   s e t t i n g   t h e   e n a b l e - n o d e - w a t c h e r   f l a g   t o   t r u e .   W h e n   t h e   e x t e r n a l   h e a l t h   m o n i t o r   d e t e c t s   a   n o d e   f a i l u r e   e v e n t ,   t h e   c o n t r o l l e r   r e p o r t s   a n   E v e n t   w i l l   b e   r e p o r t e d   o n   t h e   P V C   t o   i n d i c a t e   t h a t   p o d s   u s i n g   t h i s   P V C   a r e   o n   a   f a i l e d   n o d e .   I f   a   C S I   D r i v e r   s u p p o r t s   V o l u m e   H e a l t h   M o n i t o r i n g   f e a t u r e   f r o m   t h e   n o d e   s i d e ,   a n   E v e n t   w i l l   b e   r e p o r t e d   o n   e v e r y   P o d   u s i n g   t h e   P V C   w h e n   a n   a b n o r m a l   v o l u m e   c o n d i t i o n   i s   d e t e c t e d   o n   a   C S I   v o l u m e .   I n   a d d i t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12577"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   t h e   C S I   d r i v e r   d o c u m e n t a t i o n   t o   f i n d   o u t   w h i c h   C S I   d r i v e r s   h a v e   i m p l e m e n t e d   t h i s   f e a t u r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12578"
  },
  {
    "question": "What is 6.14 - Windows Storage?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   s t o r a g e   o v e r v i e w   s p e c i f i c   t o   t h e   W i n d o w s   o p e r a t i n g   s y s t e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12579"
  },
  {
    "question": "What is Persistent storage?",
    "answer": "W i n d o w s   h a s   a   l a y e r e d   f i l e s y s t e m   d r i v e r   t o   m o u n t   c o n t a i n e r   l a y e r s   a n d   c r e a t e   a   c o p y   f i l e s y s t e m   b a s e d   o n   N T F S .   A l l   f i l e   p a t h s   i n   t h e   c o n t a i n e r   a r e   r e s o l v e d   o n l y   w i t h i n   t h e   c o n t e x t   o f   t h a t   c o n t a i n e r .   W i t h   D o c k e r ,   v o l u m e   m o u n t s   c a n   o n l y   t a r g e t   a   d i r e c t o r y   i n   t h e   c o n t a i n e r ,   a n d   n o t   a n   i n d i v i d u a l   f i l e .   T h i s   l i m i t a t i o n   d o e s   n o t   a p p l y   t o   c o n t a i n e r d . V o l u m e   m o u n t s   c a n n o t   p r o j e c t   f i l e s   o r   d i r e c t o r i e s   b a c k   t o   t h e   h o s t   f i l e s y s t e m . R e a d - o n l y   f i l e s y s t e m s   a r e   n o t   s u p p o r t e d   b e c a u s e   w r i t e   a c c e s s   i s   a l w a y s   r e q u i r e d   f o r   t h e   W i n d o w s   r e g i s t r y   a n d   S A M   d a t a b a s e .   H o w e v e r ,   r e a d - o n l y   v o l u m e s   a r e   s u p p o r t e d . V o l u m e   u s e r - m a s k s   a n d   p e r m i s s i o n s   a r e   n o t   a v a i l a b l e .   B e c a u s e   t h e   S A M   i s   n o t   s h a r e d   b e t w e e n   t h e   h o s t   &   c o n t a i n e r ,   t h e r e ' s   n o   m a p p i n g   b e t w e e n   t h e m .   A l l   p e r m i s s i o n s   a r e   r e s o l v e d   w i t h i n   t h e   c o n t e x t   o f   t h e   c o n t a i n e r .   A s   a   r e s u l t ,   t h e   f o l l o w i n g   s t o r a g e   f u n c t i o n a l i t y   i s   n o t   s u p p o r t e d   o n   W i n d o w s   n o d e s :   V o l u m e   s u b p a t h   m o u n t s :   o n l y   t h e   e n t i r e   v o l u m e   c a n   b e   m o u n t e d   i n   a   W i n d o w s   c o n t a i n e r S u b p a t h   v o l u m e   m o u n t i n g   f o r   S e c r e t s ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12580"
  },
  {
    "question": "What is In-tree volume plugins?",
    "answer": "T h e   f o l l o w i n g   i n - t r e e   p l u g i n s   s u p p o r t   p e r s i s t e n t   s t o r a g e   o n   W i n d o w s   n o d e s :   a z u r e F i l e v s p h e r e V o l u m e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_5_12581"
  },
  {
    "question": "What is 7.1 - Configuration Best Practices?",
    "answer": "T h i s   d o c u m e n t   h i g h l i g h t s   a n d   c o n s o l i d a t e s   c o n f i g u r a t i o n   b e s t   p r a c t i c e s   t h a t   a r e   i n t r o d u c e d   t h r o u g h o u t   t h e   u s e r   g u i d e ,   G e t t i n g   S t a r t e d   d o c u m e n t a t i o n ,   a n d   e x a m p l e s .   T h i s   i s   a   l i v i n g   d o c u m e n t .   I f   y o u   t h i n k   o f   s o m e t h i n g   t h a t   i s   n o t   o n   t h i s   l i s t   b u t   m i g h t   b e   u s e f u l   t o   o t h e r s ,   p l e a s e   d o n ' t   h e s i t a t e   t o   f i l e   a n   i s s u e   o r   s u b m i t   a   P R .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12582"
  },
  {
    "question": "What is General Configuration Tips?",
    "answer": "W h e n   d e f i n i n g   c o n f i g u r a t i o n s ,   s p e c i f y   t h e   l a t e s t   s t a b l e   A P I   v e r s i o n . C o n f i g u r a t i o n   f i l e s   s h o u l d   b e   s t o r e d   i n   v e r s i o n   c o n t r o l   b e f o r e   b e i n g   p u s h e d   t o   t h e   c l u s t e r .   T h i s   a l l o w s   y o u   t o   q u i c k l y   r o l l   b a c k   a   c o n f i g u r a t i o n   c h a n g e   i f   n e c e s s a r y .   I t   a l s o   a i d s   c l u s t e r   r e - c r e a t i o n   a n d   r e s t o r a t i o n . W r i t e   y o u r   c o n f i g u r a t i o n   f i l e s   u s i n g   Y A M L   r a t h e r   t h a n   J S O N .   T h o u g h   t h e s e   f o r m a t s   c a n   b e   u s e d   i n t e r c h a n g e a b l y   i n   a l m o s t   a l l   s c e n a r i o s ,   Y A M L   t e n d s   t o   b e   m o r e   u s e r - f r i e n d l y . G r o u p   r e l a t e d   o b j e c t s   i n t o   a   s i n g l e   f i l e   w h e n e v e r   i t   m a k e s   s e n s e .   O n e   f i l e   i s   o f t e n   e a s i e r   t o   m a n a g e   t h a n   s e v e r a l .   S e e   t h e   g u e s t b o o k - a l l - i n - o n e . y a m l   f i l e   a s   a n   e x a m p l e   o f   t h i s   s y n t a x . N o t e   a l s o   t h a t   m a n y   k u b e c t l   c o m m a n d s   c a n   b e   c a l l e d   o n   a   d i r e c t o r y .   F o r   e x a m p l e ,   y o u   c a n   c a l l   k u b e c t l   a p p l y   o n   a   d i r e c t o r y   o f   c o n f i g   f i l e s . D o n ' t   s p e c i f y   d e f a u l t   v a l u e s   u n n e c e s s a r i l y :   s i m p l e ,   m i n i m a l   c o n f i g u r a t i o n   w i l l   m a k e   e r r o r s   l e s s   l i k e l y . P u t   o b j e c t   d e s c r i p t i o n s   i n   a n n o t a t i o n s ,   t o   a l l o w   b e t t e r   i n t r o s p e c t i o n .   W h e n   d e f i n i n g   c o n f i g u r a t i o n s ,   s p e c i f y   t h e   l a t e s t   s t a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12583"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e r e   i s   a   b r e a k i n g   c h a n g e   i n t r o d u c e d   i n   t h e   Y A M L   1 . 2   b o o l e a n   v a l u e s   s p e c i f i c a t i o n   w i t h   r e s p e c t   t o   Y A M L   1 . 1 .   T h i s   i s   a   k n o w n   i s s u e   i n   K u b e r n e t e s .   Y A M L   1 . 2   o n l y   r e c o g n i z e s   t r u e   a n d   f a l s e   a s   v a l i d   b o o l e a n s ,   w h i l e   Y A M L   1 . 1   a l s o   a c c e p t s   y e s ,   n o ,   o n ,   a n d   o f f   a s   b o o l e a n s .   H o w e v e r ,   K u b e r n e t e s   u s e s   Y A M L   p a r s e r s   t h a t   a r e   m o s t l y   c o m p a t i b l e   w i t h   Y A M L   1 . 1 ,   w h i c h   m e a n s   t h a t   u s i n g   y e s   o r   n o   i n s t e a d   o f   t r u e   o r   f a l s e   i n   a   Y A M L   m a n i f e s t   m a y   c a u s e   u n e x p e c t e d   e r r o r s   o r   b e h a v i o r s .   T o   a v o i d   t h i s   i s s u e ,   i t   i s   r e c o m m e n d e d   t o   a l w a y s   u s e   t r u e   o r   f a l s e   f o r   b o o l e a n   v a l u e s   i n   Y A M L   m a n i f e s t s ,   a n d   t o   q u o t e   a n y   s t r i n g s   t h a t   m a y   b e   c o n f u s e d   w i t h   b o o l e a n s ,   s u c h   a s   \" y e s \"   o r   \" n o \" .   B e s i d e s   b o o l e a n s ,   t h e r e   a r e   a d d i t i o n a l   s p e c i f i c a t i o n s   c h a n g e s   b e t w e e n   Y A M L   v e r s i o n s .   P l e a s e   r e f e r   t o   t h e   Y A M L   S p e c i f i c a t i o n   C h a n g e s   d o c u m e n t a t i o n   f o r   a   c o m p r e h e n s i v e   l i s t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12584"
  },
  {
    "question": "What is \"Naked\" Pods versus ReplicaSets, Deployments, and Jobs?",
    "answer": "D o n ' t   u s e   n a k e d   P o d s   ( t h a t   i s ,   P o d s   n o t   b o u n d   t o   a   R e p l i c a S e t   o r   D e p l o y m e n t )   i f   y o u   c a n   a v o i d   i t .   N a k e d   P o d s   w i l l   n o t   b e   r e s c h e d u l e d   i n   t h e   e v e n t   o f   a   n o d e   f a i l u r e . A   D e p l o y m e n t ,   w h i c h   b o t h   c r e a t e s   a   R e p l i c a S e t   t o   e n s u r e   t h a t   t h e   d e s i r e d   n u m b e r   o f   P o d s   i s   a l w a y s   a v a i l a b l e ,   a n d   s p e c i f i e s   a   s t r a t e g y   t o   r e p l a c e   P o d s   ( s u c h   a s   R o l l i n g U p d a t e ) ,   i s   a l m o s t   a l w a y s   p r e f e r a b l e   t o   c r e a t i n g   P o d s   d i r e c t l y ,   e x c e p t   f o r   s o m e   e x p l i c i t   r e s t a r t P o l i c y :   N e v e r   s c e n a r i o s .   A   J o b   m a y   a l s o   b e   a p p r o p r i a t e .   D o n ' t   u s e   n a k e d   P o d s   ( t h a t   i s ,   P o d s   n o t   b o u n d   t o   a   R e p l i c a S e t   o r   D e p l o y m e n t )   i f   y o u   c a n   a v o i d   i t .   N a k e d   P o d s   w i l l   n o t   b e   r e s c h e d u l e d   i n   t h e   e v e n t   o f   a   n o d e   f a i l u r e .   A   D e p l o y m e n t ,   w h i c h   b o t h   c r e a t e s   a   R e p l i c a S e t   t o   e n s u r e   t h a t   t h e   d e s i r e d   n u m b e r   o f   P o d s   i s   a l w a y s   a v a i l a b l e ,   a n d   s p e c i f i e s   a   s t r a t e g y   t o   r e p l a c e   P o d s   ( s u c h   a s   R o l l i n g U p d a t e ) ,   i s   a l m o s t   a l w a y s   p r e f e r a b l e   t o   c r e a t i n g   P o d s   d i r e c t l y ,   e x c e p t   f o r   s o m e   e x p l i c i t   r e s t a r t P o l i c y :   N e v e r   s c e n a r i o s .   A   J o b   m a y   a l s o   b e   a p p r o p r i a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12585"
  },
  {
    "question": "What is Services?",
    "answer": "C r e a t e   a   S e r v i c e   b e f o r e   i t s   c o r r e s p o n d i n g   b a c k e n d   w o r k l o a d s   ( D e p l o y m e n t s   o r   R e p l i c a S e t s ) ,   a n d   b e f o r e   a n y   w o r k l o a d s   t h a t   n e e d   t o   a c c e s s   i t .   W h e n   K u b e r n e t e s   s t a r t s   a   c o n t a i n e r ,   i t   p r o v i d e s   e n v i r o n m e n t   v a r i a b l e s   p o i n t i n g   t o   a l l   t h e   S e r v i c e s   w h i c h   w e r e   r u n n i n g   w h e n   t h e   c o n t a i n e r   w a s   s t a r t e d .   F o r   e x a m p l e ,   i f   a   S e r v i c e   n a m e d   f o o   e x i s t s ,   a l l   c o n t a i n e r s   w i l l   g e t   t h e   f o l l o w i n g   v a r i a b l e s   i n   t h e i r   i n i t i a l   e n v i r o n m e n t : F O O _ S E R V I C E _ H O S T = < t h e   h o s t   t h e   S e r v i c e   i s   r u n n i n g   o n >   F O O _ S E R V I C E _ P O R T = < t h e   p o r t   t h e   S e r v i c e   i s   r u n n i n g   o n >   T h i s   d o e s   i m p l y   a n   o r d e r i n g   r e q u i r e m e n t   -   a n y   S e r v i c e   t h a t   a   P o d   w a n t s   t o   a c c e s s   m u s t   b e   c r e a t e d   b e f o r e   t h e   P o d   i t s e l f ,   o r   e l s e   t h e   e n v i r o n m e n t   v a r i a b l e s   w i l l   n o t   b e   p o p u l a t e d .   D N S   d o e s   n o t   h a v e   t h i s   r e s t r i c t i o n . A n   o p t i o n a l   ( t h o u g h   s t r o n g l y   r e c o m m e n d e d )   c l u s t e r   a d d - o n   i s   a   D N S   s e r v e r .   T h e   D N S   s e r v e r   w a t c h e s   t h e   K u b e r n e t e s   A P I   f o r   n e w   S e r v i c e s   a n d   c r e a t e s   a   s e t   o f   D N S   r e c o r d s   f o r   e a c h .   I f   D N S   h a s   b e e n   e n a b l e d   t h r o u g h o u t   t h e   c l u s t e r   t h e n   a l l   P o d s   s h o u l d   b e   a b l e   t o   d o   n a m e   r e s o l u t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12586"
  },
  {
    "question": "What is Using Labels?",
    "answer": "D e f i n e   a n d   u s e   l a b e l s   t h a t   i d e n t i f y   s e m a n t i c   a t t r i b u t e s   o f   y o u r   a p p l i c a t i o n   o r   D e p l o y m e n t ,   s u c h   a s   {   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p ,   t i e r :   f r o n t e n d ,   p h a s e :   t e s t ,   d e p l o y m e n t :   v 3   } .   Y o u   c a n   u s e   t h e s e   l a b e l s   t o   s e l e c t   t h e   a p p r o p r i a t e   P o d s   f o r   o t h e r   r e s o u r c e s ;   f o r   e x a m p l e ,   a   S e r v i c e   t h a t   s e l e c t s   a l l   t i e r :   f r o n t e n d   P o d s ,   o r   a l l   p h a s e :   t e s t   c o m p o n e n t s   o f   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p .   S e e   t h e   g u e s t b o o k   a p p   f o r   e x a m p l e s   o f   t h i s   a p p r o a c h . A   S e r v i c e   c a n   b e   m a d e   t o   s p a n   m u l t i p l e   D e p l o y m e n t s   b y   o m i t t i n g   r e l e a s e - s p e c i f i c   l a b e l s   f r o m   i t s   s e l e c t o r .   W h e n   y o u   n e e d   t o   u p d a t e   a   r u n n i n g   s e r v i c e   w i t h o u t   d o w n t i m e ,   u s e   a   D e p l o y m e n t . A   d e s i r e d   s t a t e   o f   a n   o b j e c t   i s   d e s c r i b e d   b y   a   D e p l o y m e n t ,   a n d   i f   c h a n g e s   t o   t h a t   s p e c   a r e   a p p l i e d ,   t h e   d e p l o y m e n t   c o n t r o l l e r   c h a n g e s   t h e   a c t u a l   s t a t e   t o   t h e   d e s i r e d   s t a t e   a t   a   c o n t r o l l e d   r a t e . U s e   t h e   K u b e r n e t e s   c o m m o n   l a b e l s   f o r   c o m m o n   u s e   c a s e s .   T h e s e   s t a n d a r d i z e d   l a b e l s   e n r i c h   t h e   m e t a d a t a   i n   a   w a y   t h a t   a l l o w s   t o o l s ,   i n c l u d i n g   k u b e c t l   a n d   d a s h b o a r d ,   t o   w o r k   i n   a n   i n t e r o p e r a b l e   w ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12587"
  },
  {
    "question": "What is Using kubectl?",
    "answer": "U s e   k u b e c t l   a p p l y   - f   < d i r e c t o r y > .   T h i s   l o o k s   f o r   K u b e r n e t e s   c o n f i g u r a t i o n   i n   a l l   . y a m l ,   . y m l ,   a n d   . j s o n   f i l e s   i n   < d i r e c t o r y >   a n d   p a s s e s   i t   t o   a p p l y . U s e   l a b e l   s e l e c t o r s   f o r   g e t   a n d   d e l e t e   o p e r a t i o n s   i n s t e a d   o f   s p e c i f i c   o b j e c t   n a m e s .   S e e   t h e   s e c t i o n s   o n   l a b e l   s e l e c t o r s   a n d   u s i n g   l a b e l s   e f f e c t i v e l y . U s e   k u b e c t l   c r e a t e   d e p l o y m e n t   a n d   k u b e c t l   e x p o s e   t o   q u i c k l y   c r e a t e   s i n g l e - c o n t a i n e r   D e p l o y m e n t s   a n d   S e r v i c e s .   S e e   U s e   a   S e r v i c e   t o   A c c e s s   a n   A p p l i c a t i o n   i n   a   C l u s t e r   f o r   a n   e x a m p l e .   U s e   k u b e c t l   a p p l y   - f   < d i r e c t o r y > .   T h i s   l o o k s   f o r   K u b e r n e t e s   c o n f i g u r a t i o n   i n   a l l   . y a m l ,   . y m l ,   a n d   . j s o n   f i l e s   i n   < d i r e c t o r y >   a n d   p a s s e s   i t   t o   a p p l y .   U s e   l a b e l   s e l e c t o r s   f o r   g e t   a n d   d e l e t e   o p e r a t i o n s   i n s t e a d   o f   s p e c i f i c   o b j e c t   n a m e s .   S e e   t h e   s e c t i o n s   o n   l a b e l   s e l e c t o r s   a n d   u s i n g   l a b e l s   e f f e c t i v e l y .   U s e   k u b e c t l   c r e a t e   d e p l o y m e n t   a n d   k u b e c t l   e x p o s e   t o   q u i c k l y   c r e a t e   s i n g l e - c o n t a i n e r   D e p l o y m e n t s   a n d   S e r v i c e s .   S e e   U s e   a   S e r v i c e   t o   A c c e s s   a n   A p p l i c a t i o n   i n   a   C l u s t e r   f o r   a n   e x a m p l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12588"
  },
  {
    "question": "What is 7.2 - ConfigMaps?",
    "answer": "A   C o n f i g M a p   i s   a n   A P I   o b j e c t   u s e d   t o   s t o r e   n o n - c o n f i d e n t i a l   d a t a   i n   k e y - v a l u e   p a i r s .   P o d s   c a n   c o n s u m e   C o n f i g M a p s   a s   e n v i r o n m e n t   v a r i a b l e s ,   c o m m a n d - l i n e   a r g u m e n t s ,   o r   a s   c o n f i g u r a t i o n   f i l e s   i n   a   v o l u m e .   A   C o n f i g M a p   i s   a n   A P I   o b j e c t   u s e d   t o   s t o r e   n o n - c o n f i d e n t i a l   d a t a   i n   k e y - v a l u e   p a i r s .   P o d s   c a n   c o n s u m e   C o n f i g M a p s   a s   e n v i r o n m e n t   v a r i a b l e s ,   c o m m a n d - l i n e   a r g u m e n t s ,   o r   a s   c o n f i g u r a t i o n   f i l e s   i n   a   v o l u m e .   A   C o n f i g M a p   a l l o w s   y o u   t o   d e c o u p l e   e n v i r o n m e n t - s p e c i f i c   c o n f i g u r a t i o n   f r o m   y o u r   c o n t a i n e r   i m a g e s ,   s o   t h a t   y o u r   a p p l i c a t i o n s   a r e   e a s i l y   p o r t a b l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12589"
  },
  {
    "question": "What is Motivation?",
    "answer": "U s e   a   C o n f i g M a p   f o r   s e t t i n g   c o n f i g u r a t i o n   d a t a   s e p a r a t e l y   f r o m   a p p l i c a t i o n   c o d e .   F o r   e x a m p l e ,   i m a g i n e   t h a t   y o u   a r e   d e v e l o p i n g   a n   a p p l i c a t i o n   t h a t   y o u   c a n   r u n   o n   y o u r   o w n   c o m p u t e r   ( f o r   d e v e l o p m e n t )   a n d   i n   t h e   c l o u d   ( t o   h a n d l e   r e a l   t r a f f i c ) .   Y o u   w r i t e   t h e   c o d e   t o   l o o k   i n   a n   e n v i r o n m e n t   v a r i a b l e   n a m e d   D A T A B A S E _ H O S T .   L o c a l l y ,   y o u   s e t   t h a t   v a r i a b l e   t o   l o c a l h o s t .   I n   t h e   c l o u d ,   y o u   s e t   i t   t o   r e f e r   t o   a   K u b e r n e t e s   S e r v i c e   t h a t   e x p o s e s   t h e   d a t a b a s e   c o m p o n e n t   t o   y o u r   c l u s t e r .   T h i s   l e t s   y o u   f e t c h   a   c o n t a i n e r   i m a g e   r u n n i n g   i n   t h e   c l o u d   a n d   d e b u g   t h e   e x a c t   s a m e   c o d e   l o c a l l y   i f   n e e d e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12590"
  },
  {
    "question": "What is ConfigMap object?",
    "answer": "A   C o n f i g M a p   i s   a n   A P I   o b j e c t   t h a t   l e t s   y o u   s t o r e   c o n f i g u r a t i o n   f o r   o t h e r   o b j e c t s   t o   u s e .   U n l i k e   m o s t   K u b e r n e t e s   o b j e c t s   t h a t   h a v e   a   s p e c ,   a   C o n f i g M a p   h a s   d a t a   a n d   b i n a r y D a t a   f i e l d s .   T h e s e   f i e l d s   a c c e p t   k e y - v a l u e   p a i r s   a s   t h e i r   v a l u e s .   B o t h   t h e   d a t a   f i e l d   a n d   t h e   b i n a r y D a t a   a r e   o p t i o n a l .   T h e   d a t a   f i e l d   i s   d e s i g n e d   t o   c o n t a i n   U T F - 8   s t r i n g s   w h i l e   t h e   b i n a r y D a t a   f i e l d   i s   d e s i g n e d   t o   c o n t a i n   b i n a r y   d a t a   a s   b a s e 6 4 - e n c o d e d   s t r i n g s .   T h e   n a m e   o f   a   C o n f i g M a p   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   E a c h   k e y   u n d e r   t h e   d a t a   o r   t h e   b i n a r y D a t a   f i e l d   m u s t   c o n s i s t   o f   a l p h a n u m e r i c   c h a r a c t e r s ,   - ,   _   o r   . .   T h e   k e y s   s t o r e d   i n   d a t a   m u s t   n o t   o v e r l a p   w i t h   t h e   k e y s   i n   t h e   b i n a r y D a t a   f i e l d .   S t a r t i n g   f r o m   v 1 . 1 9 ,   y o u   c a n   a d d   a n   i m m u t a b l e   f i e l d   t o   a   C o n f i g M a p   d e f i n i t i o n   t o   c r e a t e   a n   i m m u t a b l e   C o n f i g M a p .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12591"
  },
  {
    "question": "What is ConfigMaps and Pods?",
    "answer": "Y o u   c a n   w r i t e   a   P o d   s p e c   t h a t   r e f e r s   t o   a   C o n f i g M a p   a n d   c o n f i g u r e s   t h e   c o n t a i n e r ( s )   i n   t h a t   P o d   b a s e d   o n   t h e   d a t a   i n   t h e   C o n f i g M a p .   T h e   P o d   a n d   t h e   C o n f i g M a p   m u s t   b e   i n   t h e   s a m e   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12592"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e ' s   a n   e x a m p l e   C o n f i g M a p   t h a t   h a s   s o m e   k e y s   w i t h   s i n g l e   v a l u e s ,   a n d   o t h e r   k e y s   w h e r e   t h e   v a l u e   l o o k s   l i k e   a   f r a g m e n t   o f   a   c o n f i g u r a t i o n   f o r m a t .   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   g a m e - d e m o   d a t a :   #   p r o p e r t y - l i k e   k e y s ;   e a c h   k e y   m a p s   t o   a   s i m p l e   v a l u e   p l a y e r _ i n i t i a l _ l i v e s :   \" 3 \"   u i _ p r o p e r t i e s _ f i l e _ n a m e :   \" u s e r - i n t e r f a c e . p r o p e r t i e s \"   #   f i l e - l i k e   k e y s   g a m e . p r o p e r t i e s :   |   e n e m y . t y p e s = a l i e n s , m o n s t e r s   p l a y e r . m a x i m u m - l i v e s = 5   u s e r - i n t e r f a c e . p r o p e r t i e s :   |   c o l o r . g o o d = p u r p l e   c o l o r . b a d = y e l l o w   a l l o w . t e x t m o d e = t r u e   T h e r e   a r e   f o u r   d i f f e r e n t   w a y s   t h a t   y o u   c a n   u s e   a   C o n f i g M a p   t o   c o n f i g u r e   a   c o n t a i n e r   i n s i d e   a   P o d :   I n s i d e   a   c o n t a i n e r   c o m m a n d   a n d   a r g s E n v i r o n m e n t   v a r i a b l e s   f o r   a   c o n t a i n e r A d d   a   f i l e   i n   r e a d - o n l y   v o l u m e ,   f o r   t h e   a p p l i c a t i o n   t o   r e a d W r i t e   c o d e   t o   r u n   i n s i d e   t h e   P o d   t h a t   u s e s   t h e   K u b e r n e t e s   A P I   t o   r e a d   a   C o n f i g M a p   T h e s e   d i f f e r e n t   m e t h o d s   l e n d   t h e m s e l v e s   t o   d i f f e r e n t   w a y s   o f   m o d e l i n g   t h e   d a t a   b e i n g   c o n s u m e d .   F o r   t h e   f i r s t   t h r e e   m e t h o d s ,   t h e   k u b e l e t   u s e s   t h e   d a t a   f r o m   t h e   C o n f i g M a p   w h e n   i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12593"
  },
  {
    "question": "What is Using ConfigMaps?",
    "answer": "C o n f i g M a p s   c a n   b e   m o u n t e d   a s   d a t a   v o l u m e s .   C o n f i g M a p s   c a n   a l s o   b e   u s e d   b y   o t h e r   p a r t s   o f   t h e   s y s t e m ,   w i t h o u t   b e i n g   d i r e c t l y   e x p o s e d   t o   t h e   P o d .   F o r   e x a m p l e ,   C o n f i g M a p s   c a n   h o l d   d a t a   t h a t   o t h e r   p a r t s   o f   t h e   s y s t e m   s h o u l d   u s e   f o r   c o n f i g u r a t i o n .   T h e   m o s t   c o m m o n   w a y   t o   u s e   C o n f i g M a p s   i s   t o   c o n f i g u r e   s e t t i n g s   f o r   c o n t a i n e r s   r u n n i n g   i n   a   P o d   i n   t h e   s a m e   n a m e s p a c e .   Y o u   c a n   a l s o   u s e   a   C o n f i g M a p   s e p a r a t e l y .   F o r   e x a m p l e ,   y o u   m i g h t   e n c o u n t e r   a d d o n s   o r   o p e r a t o r s   t h a t   a d j u s t   t h e i r   b e h a v i o r   b a s e d   o n   a   C o n f i g M a p .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12594"
  },
  {
    "question": "What is Using ConfigMaps as files from a Pod?",
    "answer": "T o   c o n s u m e   a   C o n f i g M a p   i n   a   v o l u m e   i n   a   P o d :   C r e a t e   a   C o n f i g M a p   o r   u s e   a n   e x i s t i n g   o n e .   M u l t i p l e   P o d s   c a n   r e f e r e n c e   t h e   s a m e   C o n f i g M a p . M o d i f y   y o u r   P o d   d e f i n i t i o n   t o   a d d   a   v o l u m e   u n d e r   . s p e c . v o l u m e s [ ] .   N a m e   t h e   v o l u m e   a n y t h i n g ,   a n d   h a v e   a   . s p e c . v o l u m e s [ ] . c o n f i g M a p . n a m e   f i e l d   s e t   t o   r e f e r e n c e   y o u r   C o n f i g M a p   o b j e c t . A d d   a   . s p e c . c o n t a i n e r s [ ] . v o l u m e M o u n t s [ ]   t o   e a c h   c o n t a i n e r   t h a t   n e e d s   t h e   C o n f i g M a p .   S p e c i f y   . s p e c . c o n t a i n e r s [ ] . v o l u m e M o u n t s [ ] . r e a d O n l y   =   t r u e   a n d   . s p e c . c o n t a i n e r s [ ] . v o l u m e M o u n t s [ ] . m o u n t P a t h   t o   a n   u n u s e d   d i r e c t o r y   n a m e   w h e r e   y o u   w o u l d   l i k e   t h e   C o n f i g M a p   t o   a p p e a r . M o d i f y   y o u r   i m a g e   o r   c o m m a n d   l i n e   s o   t h a t   t h e   p r o g r a m   l o o k s   f o r   f i l e s   i n   t h a t   d i r e c t o r y .   E a c h   k e y   i n   t h e   C o n f i g M a p   d a t a   m a p   b e c o m e s   t h e   f i l e n a m e   u n d e r   m o u n t P a t h .   T h i s   i s   a n   e x a m p l e   o f   a   P o d   t h a t   m o u n t s   a   C o n f i g M a p   i n   a   v o l u m e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   m y p o d   i m a g e :   r e d i s   v o l u m e M o u n t s :   -   n a m e :   f o o   m o u n t P a t h :   \" / e t c / f o o \"   r e a d O n l y :   t r u e   v o l u m e s :   -   n a m e :   f o o   c o n f i g M a p :   n a m e :   m y c ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12595"
  },
  {
    "question": "What is Mounted ConfigMaps are updated automatically?",
    "answer": "W h e n   a   C o n f i g M a p   c u r r e n t l y   c o n s u m e d   i n   a   v o l u m e   i s   u p d a t e d ,   p r o j e c t e d   k e y s   a r e   e v e n t u a l l y   u p d a t e d   a s   w e l l .   T h e   k u b e l e t   c h e c k s   w h e t h e r   t h e   m o u n t e d   C o n f i g M a p   i s   f r e s h   o n   e v e r y   p e r i o d i c   s y n c .   H o w e v e r ,   t h e   k u b e l e t   u s e s   i t s   l o c a l   c a c h e   f o r   g e t t i n g   t h e   c u r r e n t   v a l u e   o f   t h e   C o n f i g M a p .   T h e   t y p e   o f   t h e   c a c h e   i s   c o n f i g u r a b l e   u s i n g   t h e   c o n f i g M a p A n d S e c r e t C h a n g e D e t e c t i o n S t r a t e g y   f i e l d   i n   t h e   K u b e l e t C o n f i g u r a t i o n   s t r u c t .   A   C o n f i g M a p   c a n   b e   e i t h e r   p r o p a g a t e d   b y   w a t c h   ( d e f a u l t ) ,   t t l - b a s e d ,   o r   b y   r e d i r e c t i n g   a l l   r e q u e s t s   d i r e c t l y   t o   t h e   A P I   s e r v e r .   A s   a   r e s u l t ,   t h e   t o t a l   d e l a y   f r o m   t h e   m o m e n t   w h e n   t h e   C o n f i g M a p   i s   u p d a t e d   t o   t h e   m o m e n t   w h e n   n e w   k e y s   a r e   p r o j e c t e d   t o   t h e   P o d   c a n   b e   a s   l o n g   a s   t h e   k u b e l e t   s y n c   p e r i o d   +   c a c h e   p r o p a g a t i o n   d e l a y ,   w h e r e   t h e   c a c h e   p r o p a g a t i o n   d e l a y   d e p e n d s   o n   t h e   c h o s e n   c a c h e   t y p e   ( i t   e q u a l s   t o   w a t c h   p r o p a g a t i o n   d e l a y ,   t t l   o f   c a c h e ,   o r   z e r o   c o r r e s p o n d i n g l y ) .   C o n f i g M a p s   c o n s u m e d   a s   e n v i r o n m e n t   v a r i a b l e s   a r e   n o t   u p d a t e d   a u t o m a t i c a l l y   a n d   r e q u i r e   a   p o d   r e s t a r t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12596"
  },
  {
    "question": "What is Using Configmaps as environment variables?",
    "answer": "T o   u s e   a   C o n f i g m a p   i n   a n   e n v i r o n m e n t   v a r i a b l e   i n   a   P o d :   F o r   e a c h   c o n t a i n e r   i n   y o u r   P o d   s p e c i f i c a t i o n ,   a d d   a n   e n v i r o n m e n t   v a r i a b l e   f o r   e a c h   C o n f i g m a p   k e y   t h a t   y o u   w a n t   t o   u s e   t o   t h e   e n v [ ] . v a l u e F r o m . c o n f i g M a p K e y R e f   f i e l d . M o d i f y   y o u r   i m a g e   a n d / o r   c o m m a n d   l i n e   s o   t h a t   t h e   p r o g r a m   l o o k s   f o r   v a l u e s   i n   t h e   s p e c i f i e d   e n v i r o n m e n t   v a r i a b l e s .   T h i s   i s   a n   e x a m p l e   o f   d e f i n i n g   a   C o n f i g M a p   a s   a   p o d   e n v i r o n m e n t   v a r i a b l e :   T h e   f o l l o w i n g   C o n f i g M a p   ( m y c o n f i g m a p . y a m l )   s t o r e s   t w o   p r o p e r t i e s :   u s e r n a m e   a n d   a c c e s s _ l e v e l :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   m y c o n f i g m a p   d a t a :   u s e r n a m e :   k 8 s - a d m i n   a c c e s s _ l e v e l :   \" 1 \"   T h e   f o l l o w i n g   c o m m a n d   w i l l   c r e a t e   t h e   C o n f i g M a p   o b j e c t :   k u b e c t l   a p p l y   - f   m y c o n f i g m a p . y a m l   T h e   f o l l o w i n g   P o d   c o n s u m e s   t h e   c o n t e n t   o f   t h e   C o n f i g M a p   a s   e n v i r o n m e n t   v a r i a b l e s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e n v - c o n f i g m a p   s p e c :   c o n t a i n e r s :   -   n a m e :   a p p   c o m m a n d :   [ \" / b i n / s h \" ,   \" - c \" ,   \" p r i n t e n v \" ]   i m a g e :   b u s y b o x : l a t e s t   e n v F r o m :   -   c o n f i g M a p R e f :   n a m e :   m y c o n f i g m a p   T h e   e n v F r o m   f i e l d   i n s t r u c t s   K u b e r n e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12597"
  },
  {
    "question": "What is Immutable ConfigMaps?",
    "answer": "T h e   K u b e r n e t e s   f e a t u r e   I m m u t a b l e   S e c r e t s   a n d   C o n f i g M a p s   p r o v i d e s   a n   o p t i o n   t o   s e t   i n d i v i d u a l   S e c r e t s   a n d   C o n f i g M a p s   a s   i m m u t a b l e .   F o r   c l u s t e r s   t h a t   e x t e n s i v e l y   u s e   C o n f i g M a p s   ( a t   l e a s t   t e n s   o f   t h o u s a n d s   o f   u n i q u e   C o n f i g M a p   t o   P o d   m o u n t s ) ,   p r e v e n t i n g   c h a n g e s   t o   t h e i r   d a t a   h a s   t h e   f o l l o w i n g   a d v a n t a g e s :   p r o t e c t s   y o u   f r o m   a c c i d e n t a l   ( o r   u n w a n t e d )   u p d a t e s   t h a t   c o u l d   c a u s e   a p p l i c a t i o n s   o u t a g e s i m p r o v e s   p e r f o r m a n c e   o f   y o u r   c l u s t e r   b y   s i g n i f i c a n t l y   r e d u c i n g   l o a d   o n   k u b e - a p i s e r v e r ,   b y   c l o s i n g   w a t c h e s   f o r   C o n f i g M a p s   m a r k e d   a s   i m m u t a b l e .   Y o u   c a n   c r e a t e   a n   i m m u t a b l e   C o n f i g M a p   b y   s e t t i n g   t h e   i m m u t a b l e   f i e l d   t o   t r u e .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   . . .   d a t a :   . . .   i m m u t a b l e :   t r u e   O n c e   a   C o n f i g M a p   i s   m a r k e d   a s   i m m u t a b l e ,   i t   i s   n o t   p o s s i b l e   t o   r e v e r t   t h i s   c h a n g e   n o r   t o   m u t a t e   t h e   c o n t e n t s   o f   t h e   d a t a   o r   t h e   b i n a r y D a t a   f i e l d .   Y o u   c a n   o n l y   d e l e t e   a n d   r e c r e a t e   t h e   C o n f i g M a p .   B e c a u s e   e x i s t i n g   P o d s   m a i n t a i n   a   m o u n t   p o i n t   t o   t h e   d e l e t e d   C o n f i g M a p ,   i t   i s   r e c o m m e n d e d   t o   r e c r e a t e   t h e s e   p o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12598"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   S e c r e t s . R e a d   C o n f i g u r e   a   P o d   t o   U s e   a   C o n f i g M a p . R e a d   a b o u t   c h a n g i n g   a   C o n f i g M a p   ( o r   a n y   o t h e r   K u b e r n e t e s   o b j e c t ) R e a d   T h e   T w e l v e - F a c t o r   A p p   t o   u n d e r s t a n d   t h e   m o t i v a t i o n   f o r   s e p a r a t i n g   c o d e   f r o m   c o n f i g u r a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12599"
  },
  {
    "question": "What is 7.3 - Secrets?",
    "answer": "A   S e c r e t   i s   a n   o b j e c t   t h a t   c o n t a i n s   a   s m a l l   a m o u n t   o f   s e n s i t i v e   d a t a   s u c h   a s   a   p a s s w o r d ,   a   t o k e n ,   o r   a   k e y .   S u c h   i n f o r m a t i o n   m i g h t   o t h e r w i s e   b e   p u t   i n   a   P o d   s p e c i f i c a t i o n   o r   i n   a   c o n t a i n e r   i m a g e .   U s i n g   a   S e c r e t   m e a n s   t h a t   y o u   d o n ' t   n e e d   t o   i n c l u d e   c o n f i d e n t i a l   d a t a   i n   y o u r   a p p l i c a t i o n   c o d e .   B e c a u s e   S e c r e t s   c a n   b e   c r e a t e d   i n d e p e n d e n t l y   o f   t h e   P o d s   t h a t   u s e   t h e m ,   t h e r e   i s   l e s s   r i s k   o f   t h e   S e c r e t   ( a n d   i t s   d a t a )   b e i n g   e x p o s e d   d u r i n g   t h e   w o r k f l o w   o f   c r e a t i n g ,   v i e w i n g ,   a n d   e d i t i n g   P o d s .   K u b e r n e t e s ,   a n d   a p p l i c a t i o n s   t h a t   r u n   i n   y o u r   c l u s t e r ,   c a n   a l s o   t a k e   a d d i t i o n a l   p r e c a u t i o n s   w i t h   S e c r e t s ,   s u c h   a s   a v o i d i n g   w r i t i n g   s e n s i t i v e   d a t a   t o   n o n v o l a t i l e   s t o r a g e .   S e c r e t s   a r e   s i m i l a r   t o   C o n f i g M a p s   b u t   a r e   s p e c i f i c a l l y   i n t e n d e d   t o   h o l d   c o n f i d e n t i a l   d a t a .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12600"
  },
  {
    "question": "What is Caution:?",
    "answer": "K u b e r n e t e s   S e c r e t s   a r e ,   b y   d e f a u l t ,   s t o r e d   u n e n c r y p t e d   i n   t h e   A P I   s e r v e r ' s   u n d e r l y i n g   d a t a   s t o r e   ( e t c d ) .   A n y o n e   w i t h   A P I   a c c e s s   c a n   r e t r i e v e   o r   m o d i f y   a   S e c r e t ,   a n d   s o   c a n   a n y o n e   w i t h   a c c e s s   t o   e t c d .   A d d i t i o n a l l y ,   a n y o n e   w h o   i s   a u t h o r i z e d   t o   c r e a t e   a   P o d   i n   a   n a m e s p a c e   c a n   u s e   t h a t   a c c e s s   t o   r e a d   a n y   S e c r e t   i n   t h a t   n a m e s p a c e ;   t h i s   i n c l u d e s   i n d i r e c t   a c c e s s   s u c h   a s   t h e   a b i l i t y   t o   c r e a t e   a   D e p l o y m e n t .   I n   o r d e r   t o   s a f e l y   u s e   S e c r e t s ,   t a k e   a t   l e a s t   t h e   f o l l o w i n g   s t e p s :   E n a b l e   E n c r y p t i o n   a t   R e s t   f o r   S e c r e t s . E n a b l e   o r   c o n f i g u r e   R B A C   r u l e s   w i t h   l e a s t - p r i v i l e g e   a c c e s s   t o   S e c r e t s . R e s t r i c t   S e c r e t   a c c e s s   t o   s p e c i f i c   c o n t a i n e r s . C o n s i d e r   u s i n g   e x t e r n a l   S e c r e t   s t o r e   p r o v i d e r s .   F o r   m o r e   g u i d e l i n e s   t o   m a n a g e   a n d   i m p r o v e   t h e   s e c u r i t y   o f   y o u r   S e c r e t s ,   r e f e r   t o   G o o d   p r a c t i c e s   f o r   K u b e r n e t e s   S e c r e t s .   S e e   I n f o r m a t i o n   s e c u r i t y   f o r   S e c r e t s   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12601"
  },
  {
    "question": "What is Uses for Secrets?",
    "answer": "Y o u   c a n   u s e   S e c r e t s   f o r   p u r p o s e s   s u c h   a s   t h e   f o l l o w i n g :   S e t   e n v i r o n m e n t   v a r i a b l e s   f o r   a   c o n t a i n e r . P r o v i d e   c r e d e n t i a l s   s u c h   a s   S S H   k e y s   o r   p a s s w o r d s   t o   P o d s . A l l o w   t h e   k u b e l e t   t o   p u l l   c o n t a i n e r   i m a g e s   f r o m   p r i v a t e   r e g i s t r i e s .   T h e   K u b e r n e t e s   c o n t r o l   p l a n e   a l s o   u s e s   S e c r e t s ;   f o r   e x a m p l e ,   b o o t s t r a p   t o k e n   S e c r e t s   a r e   a   m e c h a n i s m   t o   h e l p   a u t o m a t e   n o d e   r e g i s t r a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12602"
  },
  {
    "question": "What is Use case: dotfiles in a secret volume?",
    "answer": "Y o u   c a n   m a k e   y o u r   d a t a   \" h i d d e n \"   b y   d e f i n i n g   a   k e y   t h a t   b e g i n s   w i t h   a   d o t .   T h i s   k e y   r e p r e s e n t s   a   d o t f i l e   o r   \" h i d d e n \"   f i l e .   F o r   e x a m p l e ,   w h e n   t h e   f o l l o w i n g   S e c r e t   i s   m o u n t e d   i n t o   a   v o l u m e ,   s e c r e t - v o l u m e ,   t h e   v o l u m e   w i l l   c o n t a i n   a   s i n g l e   f i l e ,   c a l l e d   . s e c r e t - f i l e ,   a n d   t h e   d o t f i l e - t e s t - c o n t a i n e r   w i l l   h a v e   t h i s   f i l e   p r e s e n t   a t   t h e   p a t h   / e t c / s e c r e t - v o l u m e / . s e c r e t - f i l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12603"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   d o t f i l e - s e c r e t   d a t a :   . s e c r e t - f i l e :   d m F s d W U t M g 0 K D Q o =   - - -   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s e c r e t - d o t f i l e s - p o d   s p e c :   v o l u m e s :   -   n a m e :   s e c r e t - v o l u m e   s e c r e t :   s e c r e t N a m e :   d o t f i l e - s e c r e t   c o n t a i n e r s :   -   n a m e :   d o t f i l e - t e s t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x   c o m m a n d :   -   l s   -   \" - l \"   -   \" / e t c / s e c r e t - v o l u m e \"   v o l u m e M o u n t s :   -   n a m e :   s e c r e t - v o l u m e   r e a d O n l y :   t r u e   m o u n t P a t h :   \" / e t c / s e c r e t - v o l u m e \"",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12604"
  },
  {
    "question": "What is Use case: Secret visible to one container in a Pod?",
    "answer": "C o n s i d e r   a   p r o g r a m   t h a t   n e e d s   t o   h a n d l e   H T T P   r e q u e s t s ,   d o   s o m e   c o m p l e x   b u s i n e s s   l o g i c ,   a n d   t h e n   s i g n   s o m e   m e s s a g e s   w i t h   a n   H M A C .   B e c a u s e   i t   h a s   c o m p l e x   a p p l i c a t i o n   l o g i c ,   t h e r e   m i g h t   b e   a n   u n n o t i c e d   r e m o t e   f i l e   r e a d i n g   e x p l o i t   i n   t h e   s e r v e r ,   w h i c h   c o u l d   e x p o s e   t h e   p r i v a t e   k e y   t o   a n   a t t a c k e r .   T h i s   c o u l d   b e   d i v i d e d   i n t o   t w o   p r o c e s s e s   i n   t w o   c o n t a i n e r s :   a   f r o n t e n d   c o n t a i n e r   w h i c h   h a n d l e s   u s e r   i n t e r a c t i o n   a n d   b u s i n e s s   l o g i c ,   b u t   w h i c h   c a n n o t   s e e   t h e   p r i v a t e   k e y ;   a n d   a   s i g n e r   c o n t a i n e r   t h a t   c a n   s e e   t h e   p r i v a t e   k e y ,   a n d   r e s p o n d s   t o   s i m p l e   s i g n i n g   r e q u e s t s   f r o m   t h e   f r o n t e n d   ( f o r   e x a m p l e ,   o v e r   l o c a l h o s t   n e t w o r k i n g ) .   W i t h   t h i s   p a r t i t i o n e d   a p p r o a c h ,   a n   a t t a c k e r   n o w   h a s   t o   t r i c k   t h e   a p p l i c a t i o n   s e r v e r   i n t o   d o i n g   s o m e t h i n g   r a t h e r   a r b i t r a r y ,   w h i c h   m a y   b e   h a r d e r   t h a n   g e t t i n g   i t   t o   r e a d   a   f i l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12605"
  },
  {
    "question": "What is Alternatives to Secrets?",
    "answer": "R a t h e r   t h a n   u s i n g   a   S e c r e t   t o   p r o t e c t   c o n f i d e n t i a l   d a t a ,   y o u   c a n   p i c k   f r o m   a l t e r n a t i v e s .   H e r e   a r e   s o m e   o f   y o u r   o p t i o n s :   I f   y o u r   c l o u d - n a t i v e   c o m p o n e n t   n e e d s   t o   a u t h e n t i c a t e   t o   a n o t h e r   a p p l i c a t i o n   t h a t   y o u   k n o w   i s   r u n n i n g   w i t h i n   t h e   s a m e   K u b e r n e t e s   c l u s t e r ,   y o u   c a n   u s e   a   S e r v i c e A c c o u n t   a n d   i t s   t o k e n s   t o   i d e n t i f y   y o u r   c l i e n t . T h e r e   a r e   t h i r d - p a r t y   t o o l s   t h a t   y o u   c a n   r u n ,   e i t h e r   w i t h i n   o r   o u t s i d e   y o u r   c l u s t e r ,   t h a t   m a n a g e   s e n s i t i v e   d a t a .   F o r   e x a m p l e ,   a   s e r v i c e   t h a t   P o d s   a c c e s s   o v e r   H T T P S ,   t h a t   r e v e a l s   a   S e c r e t   i f   t h e   c l i e n t   c o r r e c t l y   a u t h e n t i c a t e s   ( f o r   e x a m p l e ,   w i t h   a   S e r v i c e A c c o u n t   t o k e n ) . F o r   a u t h e n t i c a t i o n ,   y o u   c a n   i m p l e m e n t   a   c u s t o m   s i g n e r   f o r   X . 5 0 9   c e r t i f i c a t e s ,   a n d   u s e   C e r t i f i c a t e S i g n i n g R e q u e s t s   t o   l e t   t h a t   c u s t o m   s i g n e r   i s s u e   c e r t i f i c a t e s   t o   P o d s   t h a t   n e e d   t h e m . Y o u   c a n   u s e   a   d e v i c e   p l u g i n   t o   e x p o s e   n o d e - l o c a l   e n c r y p t i o n   h a r d w a r e   t o   a   s p e c i f i c   P o d .   F o r   e x a m p l e ,   y o u   c a n   s c h e d u l e   t r u s t e d   P o d s   o n t o   n o d e s   t h a t   p r o v i d e   a   T r u s t e d   P l a t f o r m   M o d u l e ,   c o n f i g u r e d   o u t - o f - b a n d .   Y o u   c a n   a l s o   c o m b i n e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12606"
  },
  {
    "question": "What is Types of Secret?",
    "answer": "W h e n   c r e a t i n g   a   S e c r e t ,   y o u   c a n   s p e c i f y   i t s   t y p e   u s i n g   t h e   t y p e   f i e l d   o f   t h e   S e c r e t   r e s o u r c e ,   o r   c e r t a i n   e q u i v a l e n t   k u b e c t l   c o m m a n d   l i n e   f l a g s   ( i f   a v a i l a b l e ) .   T h e   S e c r e t   t y p e   i s   u s e d   t o   f a c i l i t a t e   p r o g r a m m a t i c   h a n d l i n g   o f   t h e   S e c r e t   d a t a .   K u b e r n e t e s   p r o v i d e s   s e v e r a l   b u i l t - i n   t y p e s   f o r   s o m e   c o m m o n   u s a g e   s c e n a r i o s .   T h e s e   t y p e s   v a r y   i n   t e r m s   o f   t h e   v a l i d a t i o n s   p e r f o r m e d   a n d   t h e   c o n s t r a i n t s   K u b e r n e t e s   i m p o s e s   o n   t h e m .   Y o u   c a n   d e f i n e   a n d   u s e   y o u r   o w n   S e c r e t   t y p e   b y   a s s i g n i n g   a   n o n - e m p t y   s t r i n g   a s   t h e   t y p e   v a l u e   f o r   a   S e c r e t   o b j e c t   ( a n   e m p t y   s t r i n g   i s   t r e a t e d   a s   a n   O p a q u e   t y p e ) .   K u b e r n e t e s   d o e s n ' t   i m p o s e   a n y   c o n s t r a i n t s   o n   t h e   t y p e   n a m e .   H o w e v e r ,   i f   y o u   a r e   u s i n g   o n e   o f   t h e   b u i l t - i n   t y p e s ,   y o u   m u s t   m e e t   a l l   t h e   r e q u i r e m e n t s   d e f i n e d   f o r   t h a t   t y p e .   I f   y o u   a r e   d e f i n i n g   a   t y p e   o f   S e c r e t   t h a t ' s   f o r   p u b l i c   u s e ,   f o l l o w   t h e   c o n v e n t i o n   a n d   s t r u c t u r e   t h e   S e c r e t   t y p e   t o   h a v e   y o u r   d o m a i n   n a m e   b e f o r e   t h e   n a m e ,   s e p a r a t e d   b y   a   / .   F o r   e x a m p l e :   c l o u d - h o s t i n g . e x a m p l e . n e t / c l o u d - a p i - c r e d e n t i a l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12607"
  },
  {
    "question": "What is Opaque Secrets?",
    "answer": "O p a q u e   i s   t h e   d e f a u l t   S e c r e t   t y p e   i f   y o u   d o n ' t   e x p l i c i t l y   s p e c i f y   a   t y p e   i n   a   S e c r e t   m a n i f e s t .   W h e n   y o u   c r e a t e   a   S e c r e t   u s i n g   k u b e c t l ,   y o u   m u s t   u s e   t h e   g e n e r i c   s u b c o m m a n d   t o   i n d i c a t e   a n   O p a q u e   S e c r e t   t y p e .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   c o m m a n d   c r e a t e s   a n   e m p t y   S e c r e t   o f   t y p e   O p a q u e :   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   e m p t y - s e c r e t   k u b e c t l   g e t   s e c r e t   e m p t y - s e c r e t   T h e   o u t p u t   l o o k s   l i k e :   N A M E   T Y P E   D A T A   A G E   e m p t y - s e c r e t   O p a q u e   0   2 m 6 s   T h e   D A T A   c o l u m n   s h o w s   t h e   n u m b e r   o f   d a t a   i t e m s   s t o r e d   i n   t h e   S e c r e t .   I n   t h i s   c a s e ,   0   m e a n s   y o u   h a v e   c r e a t e d   a n   e m p t y   S e c r e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12608"
  },
  {
    "question": "What is ServiceAccount token Secrets?",
    "answer": "A   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n   t y p e   o f   S e c r e t   i s   u s e d   t o   s t o r e   a   t o k e n   c r e d e n t i a l   t h a t   i d e n t i f i e s   a   S e r v i c e A c c o u n t .   T h i s   i s   a   l e g a c y   m e c h a n i s m   t h a t   p r o v i d e s   l o n g - l i v e d   S e r v i c e A c c o u n t   c r e d e n t i a l s   t o   P o d s .   I n   K u b e r n e t e s   v 1 . 2 2   a n d   l a t e r ,   t h e   r e c o m m e n d e d   a p p r o a c h   i s   t o   o b t a i n   a   s h o r t - l i v e d ,   a u t o m a t i c a l l y   r o t a t i n g   S e r v i c e A c c o u n t   t o k e n   b y   u s i n g   t h e   T o k e n R e q u e s t   A P I   i n s t e a d .   Y o u   c a n   g e t   t h e s e   s h o r t - l i v e d   t o k e n s   u s i n g   t h e   f o l l o w i n g   m e t h o d s :   C a l l   t h e   T o k e n R e q u e s t   A P I   e i t h e r   d i r e c t l y   o r   b y   u s i n g   a n   A P I   c l i e n t   l i k e   k u b e c t l .   F o r   e x a m p l e ,   y o u   c a n   u s e   t h e   k u b e c t l   c r e a t e   t o k e n   c o m m a n d . R e q u e s t   a   m o u n t e d   t o k e n   i n   a   p r o j e c t e d   v o l u m e   i n   y o u r   P o d   m a n i f e s t .   K u b e r n e t e s   c r e a t e s   t h e   t o k e n   a n d   m o u n t s   i t   i n   t h e   P o d .   T h e   t o k e n   i s   a u t o m a t i c a l l y   i n v a l i d a t e d   w h e n   t h e   P o d   t h a t   i t ' s   m o u n t e d   i n   i s   d e l e t e d .   F o r   d e t a i l s ,   s e e   L a u n c h   a   P o d   u s i n g   s e r v i c e   a c c o u n t   t o k e n   p r o j e c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12609"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   u s i n g   t h i s   S e c r e t   t y p e ,   y o u   n e e d   t o   e n s u r e   t h a t   t h e   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . n a m e   a n n o t a t i o n   i s   s e t   t o   a n   e x i s t i n g   S e r v i c e A c c o u n t   n a m e .   I f   y o u   a r e   c r e a t i n g   b o t h   t h e   S e r v i c e A c c o u n t   a n d   t h e   S e c r e t   o b j e c t s ,   y o u   s h o u l d   c r e a t e   t h e   S e r v i c e A c c o u n t   o b j e c t   f i r s t .   A f t e r   t h e   S e c r e t   i s   c r e a t e d ,   a   K u b e r n e t e s   c o n t r o l l e r   f i l l s   i n   s o m e   o t h e r   f i e l d s   s u c h   a s   t h e   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . u i d   a n n o t a t i o n ,   a n d   t h e   t o k e n   k e y   i n   t h e   d a t a   f i e l d ,   w h i c h   i s   p o p u l a t e d   w i t h   a n   a u t h e n t i c a t i o n   t o k e n .   T h e   f o l l o w i n g   e x a m p l e   c o n f i g u r a t i o n   d e c l a r e s   a   S e r v i c e A c c o u n t   t o k e n   S e c r e t :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   s e c r e t - s a - s a m p l e   a n n o t a t i o n s :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . n a m e :   \" s a - n a m e \"   t y p e :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n   d a t a :   e x t r a :   Y m F y C g = =   A f t e r   c r e a t i n g   t h e   S e c r e t ,   w a i t   f o r   K u b e r n e t e s   t o   p o p u l a t e   t h e   t o k e n   k e y   i n   t h e   d a t a   f i e l d .   S e e   t h e   S e r v i c e A c c o u n t   d o c u m e n t a t i o n   f o r   m o r e   i n f o r m a t i o n   o n   h o w   S e r v i c e A c c o u n t s   w o r k .   Y o u   c a n   a l s o   c h e c k   t h e   a u t o m o u n t S e r v i c e A c c o u n t T o k e n   f i e l d   a n d   t h e   s e r v i c ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12610"
  },
  {
    "question": "What is Docker config Secrets?",
    "answer": "I f   y o u   a r e   c r e a t i n g   a   S e c r e t   t o   s t o r e   c r e d e n t i a l s   f o r   a c c e s s i n g   a   c o n t a i n e r   i m a g e   r e g i s t r y ,   y o u   m u s t   u s e   o n e   o f   t h e   f o l l o w i n g   t y p e   v a l u e s   f o r   t h a t   S e c r e t :   k u b e r n e t e s . i o / d o c k e r c f g :   s t o r e   a   s e r i a l i z e d   ~ / . d o c k e r c f g   w h i c h   i s   t h e   l e g a c y   f o r m a t   f o r   c o n f i g u r i n g   D o c k e r   c o m m a n d   l i n e .   T h e   S e c r e t   d a t a   f i e l d   c o n t a i n s   a   . d o c k e r c f g   k e y   w h o s e   v a l u e   i s   t h e   c o n t e n t   o f   a   b a s e 6 4   e n c o d e d   ~ / . d o c k e r c f g   f i l e . k u b e r n e t e s . i o / d o c k e r c o n f i g j s o n :   s t o r e   a   s e r i a l i z e d   J S O N   t h a t   f o l l o w s   t h e   s a m e   f o r m a t   r u l e s   a s   t h e   ~ / . d o c k e r / c o n f i g . j s o n   f i l e ,   w h i c h   i s   a   n e w   f o r m a t   f o r   ~ / . d o c k e r c f g .   T h e   S e c r e t   d a t a   f i e l d   m u s t   c o n t a i n   a   . d o c k e r c o n f i g j s o n   k e y   f o r   w h i c h   t h e   v a l u e   i s   t h e   c o n t e n t   o f   a   b a s e 6 4   e n c o d e d   ~ / . d o c k e r / c o n f i g . j s o n   f i l e .   B e l o w   i s   a n   e x a m p l e   f o r   a   k u b e r n e t e s . i o / d o c k e r c f g   t y p e   o f   S e c r e t :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   s e c r e t - d o c k e r c f g   t y p e :   k u b e r n e t e s . i o / d o c k e r c f g   d a t a :   . d o c k e r c f g :   |   e y J h d X R o c y I 6 e y J o d H R w c z o v L 2 V 4 Y W 1 w b G U v d j E v I j p 7 I m F 1 d G g i O i J v c G V u c 2 V z Y W 1 l I n 1 9 f Q o =",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12611"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   y o u   c r e a t e   D o c k e r   c o n f i g   S e c r e t s   u s i n g   a   m a n i f e s t ,   t h e   A P I   s e r v e r   c h e c k s   w h e t h e r   t h e   e x p e c t e d   k e y   e x i s t s   i n   t h e   d a t a   f i e l d ,   a n d   i t   v e r i f i e s   i f   t h e   v a l u e   p r o v i d e d   c a n   b e   p a r s e d   a s   a   v a l i d   J S O N .   T h e   A P I   s e r v e r   d o e s n ' t   v a l i d a t e   i f   t h e   J S O N   a c t u a l l y   i s   a   D o c k e r   c o n f i g   f i l e .   Y o u   c a n   a l s o   u s e   k u b e c t l   t o   c r e a t e   a   S e c r e t   f o r   a c c e s s i n g   a   c o n t a i n e r   r e g i s t r y ,   s u c h   a s   w h e n   y o u   d o n ' t   h a v e   a   D o c k e r   c o n f i g u r a t i o n   f i l e :   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   s e c r e t - t i g e r - d o c k e r   \\   - - d o c k e r - e m a i l = t i g e r @ a c m e . e x a m p l e   \\   - - d o c k e r - u s e r n a m e = t i g e r   \\   - - d o c k e r - p a s s w o r d = p a s s 1 2 3 4   \\   - - d o c k e r - s e r v e r = m y - r e g i s t r y . e x a m p l e : 5 0 0 0   T h i s   c o m m a n d   c r e a t e s   a   S e c r e t   o f   t y p e   k u b e r n e t e s . i o / d o c k e r c o n f i g j s o n .   R e t r i e v e   t h e   . d a t a . d o c k e r c o n f i g j s o n   f i e l d   f r o m   t h a t   n e w   S e c r e t   a n d   d e c o d e   t h e   d a t a :   k u b e c t l   g e t   s e c r e t   s e c r e t - t i g e r - d o c k e r   - o   j s o n p a t h = ' { . d a t a . * } '   |   b a s e 6 4   - d   T h e   o u t p u t   i s   e q u i v a l e n t   t o   t h e   f o l l o w i n g   J S O N   d o c u m e n t   ( w h i c h   i s   a l s o   a   v a l i d   D o c k e r   c o n f i g u r a t i o n   f i l e ) :   {   \" a u t h s \" :   {   \" m y - r e g i s t r y . e x a m p l e : 5 0 0 0 \" :   {   \" u s e r n a m e \" :   \" t i g ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12612"
  },
  {
    "question": "What is Caution:?",
    "answer": "T h e   a u t h   v a l u e   t h e r e   i s   b a s e 6 4   e n c o d e d ;   i t   i s   o b s c u r e d   b u t   n o t   s e c r e t .   A n y o n e   w h o   c a n   r e a d   t h a t   S e c r e t   c a n   l e a r n   t h e   r e g i s t r y   a c c e s s   b e a r e r   t o k e n .   I t   i s   s u g g e s t e d   t o   u s e   c r e d e n t i a l   p r o v i d e r s   t o   d y n a m i c a l l y   a n d   s e c u r e l y   p r o v i d e   p u l l   s e c r e t s   o n - d e m a n d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12613"
  },
  {
    "question": "What is Basic authentication Secret?",
    "answer": "T h e   k u b e r n e t e s . i o / b a s i c - a u t h   t y p e   i s   p r o v i d e d   f o r   s t o r i n g   c r e d e n t i a l s   n e e d e d   f o r   b a s i c   a u t h e n t i c a t i o n .   W h e n   u s i n g   t h i s   S e c r e t   t y p e ,   t h e   d a t a   f i e l d   o f   t h e   S e c r e t   m u s t   c o n t a i n   o n e   o f   t h e   f o l l o w i n g   t w o   k e y s :   u s e r n a m e :   t h e   u s e r   n a m e   f o r   a u t h e n t i c a t i o n p a s s w o r d :   t h e   p a s s w o r d   o r   t o k e n   f o r   a u t h e n t i c a t i o n   B o t h   v a l u e s   f o r   t h e   a b o v e   t w o   k e y s   a r e   b a s e 6 4   e n c o d e d   s t r i n g s .   Y o u   c a n   a l t e r n a t i v e l y   p r o v i d e   t h e   c l e a r   t e x t   c o n t e n t   u s i n g   t h e   s t r i n g D a t a   f i e l d   i n   t h e   S e c r e t   m a n i f e s t .   T h e   f o l l o w i n g   m a n i f e s t   i s   a n   e x a m p l e   o f   a   b a s i c   a u t h e n t i c a t i o n   S e c r e t :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   s e c r e t - b a s i c - a u t h   t y p e :   k u b e r n e t e s . i o / b a s i c - a u t h   s t r i n g D a t a :   u s e r n a m e :   a d m i n   #   r e q u i r e d   f i e l d   f o r   k u b e r n e t e s . i o / b a s i c - a u t h   p a s s w o r d :   t 0 p - S e c r e t   #   r e q u i r e d   f i e l d   f o r   k u b e r n e t e s . i o / b a s i c - a u t h",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12614"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   b a s i c   a u t h e n t i c a t i o n   S e c r e t   t y p e   i s   p r o v i d e d   o n l y   f o r   c o n v e n i e n c e .   Y o u   c a n   c r e a t e   a n   O p a q u e   t y p e   f o r   c r e d e n t i a l s   u s e d   f o r   b a s i c   a u t h e n t i c a t i o n .   H o w e v e r ,   u s i n g   t h e   d e f i n e d   a n d   p u b l i c   S e c r e t   t y p e   ( k u b e r n e t e s . i o / b a s i c - a u t h )   h e l p s   o t h e r   p e o p l e   t o   u n d e r s t a n d   t h e   p u r p o s e   o f   y o u r   S e c r e t ,   a n d   s e t s   a   c o n v e n t i o n   f o r   w h a t   k e y   n a m e s   t o   e x p e c t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12615"
  },
  {
    "question": "What is SSH authentication Secrets?",
    "answer": "T h e   b u i l t i n   t y p e   k u b e r n e t e s . i o / s s h - a u t h   i s   p r o v i d e d   f o r   s t o r i n g   d a t a   u s e d   i n   S S H   a u t h e n t i c a t i o n .   W h e n   u s i n g   t h i s   S e c r e t   t y p e ,   y o u   w i l l   h a v e   t o   s p e c i f y   a   s s h - p r i v a t e k e y   k e y - v a l u e   p a i r   i n   t h e   d a t a   ( o r   s t r i n g D a t a )   f i e l d   a s   t h e   S S H   c r e d e n t i a l   t o   u s e .   T h e   f o l l o w i n g   m a n i f e s t   i s   a n   e x a m p l e   o f   a   S e c r e t   u s e d   f o r   S S H   p u b l i c / p r i v a t e   k e y   a u t h e n t i c a t i o n :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   s e c r e t - s s h - a u t h   t y p e :   k u b e r n e t e s . i o / s s h - a u t h   d a t a :   #   t h e   d a t a   i s   a b b r e v i a t e d   i n   t h i s   e x a m p l e   s s h - p r i v a t e k e y :   |   U G 9 1 c m l u Z z Y l R W 1 v d G l j b 2 4 l U 2 N 1 Y m E =   T h e   S S H   a u t h e n t i c a t i o n   S e c r e t   t y p e   i s   p r o v i d e d   o n l y   f o r   c o n v e n i e n c e .   Y o u   c a n   c r e a t e   a n   O p a q u e   t y p e   f o r   c r e d e n t i a l s   u s e d   f o r   S S H   a u t h e n t i c a t i o n .   H o w e v e r ,   u s i n g   t h e   d e f i n e d   a n d   p u b l i c   S e c r e t   t y p e   ( k u b e r n e t e s . i o / s s h - a u t h )   h e l p s   o t h e r   p e o p l e   t o   u n d e r s t a n d   t h e   p u r p o s e   o f   y o u r   S e c r e t ,   a n d   s e t s   a   c o n v e n t i o n   f o r   w h a t   k e y   n a m e s   t o   e x p e c t .   T h e   K u b e r n e t e s   A P I   v e r i f i e s   t h a t   t h e   r e q u i r e d   k e y s   a r e   s e t   f o r   a   S e c r e t   o f   t h i s   t y p e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12616"
  },
  {
    "question": "What is TLS Secrets?",
    "answer": "T h e   k u b e r n e t e s . i o / t l s   S e c r e t   t y p e   i s   f o r   s t o r i n g   a   c e r t i f i c a t e   a n d   i t s   a s s o c i a t e d   k e y   t h a t   a r e   t y p i c a l l y   u s e d   f o r   T L S .   O n e   c o m m o n   u s e   f o r   T L S   S e c r e t s   i s   t o   c o n f i g u r e   e n c r y p t i o n   i n   t r a n s i t   f o r   a n   I n g r e s s ,   b u t   y o u   c a n   a l s o   u s e   i t   w i t h   o t h e r   r e s o u r c e s   o r   d i r e c t l y   i n   y o u r   w o r k l o a d .   W h e n   u s i n g   t h i s   t y p e   o f   S e c r e t ,   t h e   t l s . k e y   a n d   t h e   t l s . c r t   k e y   m u s t   b e   p r o v i d e d   i n   t h e   d a t a   ( o r   s t r i n g D a t a )   f i e l d   o f   t h e   S e c r e t   c o n f i g u r a t i o n ,   a l t h o u g h   t h e   A P I   s e r v e r   d o e s n ' t   a c t u a l l y   v a l i d a t e   t h e   v a l u e s   f o r   e a c h   k e y .   A s   a n   a l t e r n a t i v e   t o   u s i n g   s t r i n g D a t a ,   y o u   c a n   u s e   t h e   d a t a   f i e l d   t o   p r o v i d e   t h e   b a s e 6 4   e n c o d e d   c e r t i f i c a t e   a n d   p r i v a t e   k e y .   F o r   d e t a i l s ,   s e e   C o n s t r a i n t s   o n   S e c r e t   n a m e s   a n d   d a t a .   T h e   f o l l o w i n g   Y A M L   c o n t a i n s   a n   e x a m p l e   c o n f i g   f o r   a   T L S   S e c r e t :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   s e c r e t - t l s   t y p e :   k u b e r n e t e s . i o / t l s   d a t a :   #   v a l u e s   a r e   b a s e 6 4   e n c o d e d ,   w h i c h   o b s c u r e s   t h e m   b u t   d o e s   N O T   p r o v i d e   #   a n y   u s e f u l   l e v e l   o f   c o n f i d e n t i a l i t y   #   R e p l a c e   t h e   f o l l o w i n g   v a l u e s   w i t h   y o u r   o w n   b a s e 6 4 - e n c o d e d   c e r t i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12617"
  },
  {
    "question": "What is Bootstrap token Secrets?",
    "answer": "T h e   b o o t s t r a p . k u b e r n e t e s . i o / t o k e n   S e c r e t   t y p e   i s   f o r   t o k e n s   u s e d   d u r i n g   t h e   n o d e   b o o t s t r a p   p r o c e s s .   I t   s t o r e s   t o k e n s   u s e d   t o   s i g n   w e l l - k n o w n   C o n f i g M a p s .   A   b o o t s t r a p   t o k e n   S e c r e t   i s   u s u a l l y   c r e a t e d   i n   t h e   k u b e - s y s t e m   n a m e s p a c e   a n d   n a m e d   i n   t h e   f o r m   b o o t s t r a p - t o k e n - < t o k e n - i d >   w h e r e   < t o k e n - i d >   i s   a   6   c h a r a c t e r   s t r i n g   o f   t h e   t o k e n   I D .   A s   a   K u b e r n e t e s   m a n i f e s t ,   a   b o o t s t r a p   t o k e n   S e c r e t   m i g h t   l o o k   l i k e   t h e   f o l l o w i n g :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   b o o t s t r a p - t o k e n - 5 e m i t j   n a m e s p a c e :   k u b e - s y s t e m   t y p e :   b o o t s t r a p . k u b e r n e t e s . i o / t o k e n   d a t a :   a u t h - e x t r a - g r o u p s :   c 3 l z d G V t O m J v b 3 R z d H J h c H B l c n M 6 a 3 V i Z W F k b T p k Z W Z h d W x 0 L W 5 v Z G U t d G 9 r Z W 4 =   e x p i r a t i o n :   M j A y M C 0 w O S 0 x M 1 Q w N D o z O T o x M F o =   t o k e n - i d :   N W V t a X R q   t o k e n - s e c r e t :   a 3 E 0 Z 2 l o d n N 6 e m d u M X A w c g = =   u s a g e - b o o t s t r a p - a u t h e n t i c a t i o n :   d H J 1 Z Q = =   u s a g e - b o o t s t r a p - s i g n i n g :   d H J 1 Z Q = =   A   b o o t s t r a p   t o k e n   S e c r e t   h a s   t h e   f o l l o w i n g   k e y s   s p e c i f i e d   u n d e r   d a t a :   t o k e n - i d :   A   r a n d o m   6   c h a r a c t e r   s t r i n g   a s   t h e   t o k e n   i d e n t i f i e r .   R e q u i r e d . t o k e n - s e c r e t :   A   r a n d o m   1 6   c h a r a c t e r   s t r i n g   a s   t h e   a c t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12618"
  },
  {
    "question": "What is Creating a Secret?",
    "answer": "T h e r e   a r e   s e v e r a l   o p t i o n s   t o   c r e a t e   a   S e c r e t :   U s e   k u b e c t l U s e   a   c o n f i g u r a t i o n   f i l e U s e   t h e   K u s t o m i z e   t o o l",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12619"
  },
  {
    "question": "What is Constraints on Secret names and data?",
    "answer": "T h e   n a m e   o f   a   S e c r e t   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   Y o u   c a n   s p e c i f y   t h e   d a t a   a n d / o r   t h e   s t r i n g D a t a   f i e l d   w h e n   c r e a t i n g   a   c o n f i g u r a t i o n   f i l e   f o r   a   S e c r e t .   T h e   d a t a   a n d   t h e   s t r i n g D a t a   f i e l d s   a r e   o p t i o n a l .   T h e   v a l u e s   f o r   a l l   k e y s   i n   t h e   d a t a   f i e l d   h a v e   t o   b e   b a s e 6 4 - e n c o d e d   s t r i n g s .   I f   t h e   c o n v e r s i o n   t o   b a s e 6 4   s t r i n g   i s   n o t   d e s i r a b l e ,   y o u   c a n   c h o o s e   t o   s p e c i f y   t h e   s t r i n g D a t a   f i e l d   i n s t e a d ,   w h i c h   a c c e p t s   a r b i t r a r y   s t r i n g s   a s   v a l u e s .   T h e   k e y s   o f   d a t a   a n d   s t r i n g D a t a   m u s t   c o n s i s t   o f   a l p h a n u m e r i c   c h a r a c t e r s ,   - ,   _   o r   . .   A l l   k e y - v a l u e   p a i r s   i n   t h e   s t r i n g D a t a   f i e l d   a r e   i n t e r n a l l y   m e r g e d   i n t o   t h e   d a t a   f i e l d .   I f   a   k e y   a p p e a r s   i n   b o t h   t h e   d a t a   a n d   t h e   s t r i n g D a t a   f i e l d ,   t h e   v a l u e   s p e c i f i e d   i n   t h e   s t r i n g D a t a   f i e l d   t a k e s   p r e c e d e n c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12620"
  },
  {
    "question": "What is Size limit?",
    "answer": "I n d i v i d u a l   S e c r e t s   a r e   l i m i t e d   t o   1 M i B   i n   s i z e .   T h i s   i s   t o   d i s c o u r a g e   c r e a t i o n   o f   v e r y   l a r g e   S e c r e t s   t h a t   c o u l d   e x h a u s t   t h e   A P I   s e r v e r   a n d   k u b e l e t   m e m o r y .   H o w e v e r ,   c r e a t i o n   o f   m a n y   s m a l l e r   S e c r e t s   c o u l d   a l s o   e x h a u s t   m e m o r y .   Y o u   c a n   u s e   a   r e s o u r c e   q u o t a   t o   l i m i t   t h e   n u m b e r   o f   S e c r e t s   ( o r   o t h e r   r e s o u r c e s )   i n   a   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12621"
  },
  {
    "question": "What is Editing a Secret?",
    "answer": "Y o u   c a n   e d i t   a n   e x i s t i n g   S e c r e t   u n l e s s   i t   i s   i m m u t a b l e .   T o   e d i t   a   S e c r e t ,   u s e   o n e   o f   t h e   f o l l o w i n g   m e t h o d s :   U s e   k u b e c t l U s e   a   c o n f i g u r a t i o n   f i l e   Y o u   c a n   a l s o   e d i t   t h e   d a t a   i n   a   S e c r e t   u s i n g   t h e   K u s t o m i z e   t o o l .   H o w e v e r ,   t h i s   m e t h o d   c r e a t e s   a   n e w   S e c r e t   o b j e c t   w i t h   t h e   e d i t e d   d a t a .   D e p e n d i n g   o n   h o w   y o u   c r e a t e d   t h e   S e c r e t ,   a s   w e l l   a s   h o w   t h e   S e c r e t   i s   u s e d   i n   y o u r   P o d s ,   u p d a t e s   t o   e x i s t i n g   S e c r e t   o b j e c t s   a r e   p r o p a g a t e d   a u t o m a t i c a l l y   t o   P o d s   t h a t   u s e   t h e   d a t a .   F o r   m o r e   i n f o r m a t i o n ,   r e f e r   t o   U s i n g   S e c r e t s   a s   f i l e s   f r o m   a   P o d   s e c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12622"
  },
  {
    "question": "What is Using a Secret?",
    "answer": "S e c r e t s   c a n   b e   m o u n t e d   a s   d a t a   v o l u m e s   o r   e x p o s e d   a s   e n v i r o n m e n t   v a r i a b l e s   t o   b e   u s e d   b y   a   c o n t a i n e r   i n   a   P o d .   S e c r e t s   c a n   a l s o   b e   u s e d   b y   o t h e r   p a r t s   o f   t h e   s y s t e m ,   w i t h o u t   b e i n g   d i r e c t l y   e x p o s e d   t o   t h e   P o d .   F o r   e x a m p l e ,   S e c r e t s   c a n   h o l d   c r e d e n t i a l s   t h a t   o t h e r   p a r t s   o f   t h e   s y s t e m   s h o u l d   u s e   t o   i n t e r a c t   w i t h   e x t e r n a l   s y s t e m s   o n   y o u r   b e h a l f .   S e c r e t   v o l u m e   s o u r c e s   a r e   v a l i d a t e d   t o   e n s u r e   t h a t   t h e   s p e c i f i e d   o b j e c t   r e f e r e n c e   a c t u a l l y   p o i n t s   t o   a n   o b j e c t   o f   t y p e   S e c r e t .   T h e r e f o r e ,   a   S e c r e t   n e e d s   t o   b e   c r e a t e d   b e f o r e   a n y   P o d s   t h a t   d e p e n d   o n   i t .   I f   t h e   S e c r e t   c a n n o t   b e   f e t c h e d   ( p e r h a p s   b e c a u s e   i t   d o e s   n o t   e x i s t ,   o r   d u e   t o   a   t e m p o r a r y   l a c k   o f   c o n n e c t i o n   t o   t h e   A P I   s e r v e r )   t h e   k u b e l e t   p e r i o d i c a l l y   r e t r i e s   r u n n i n g   t h a t   P o d .   T h e   k u b e l e t   a l s o   r e p o r t s   a n   E v e n t   f o r   t h a t   P o d ,   i n c l u d i n g   d e t a i l s   o f   t h e   p r o b l e m   f e t c h i n g   t h e   S e c r e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12623"
  },
  {
    "question": "What is Optional Secrets?",
    "answer": "W h e n   y o u   r e f e r e n c e   a   S e c r e t   i n   a   P o d ,   y o u   c a n   m a r k   t h e   S e c r e t   a s   o p t i o n a l ,   s u c h   a s   i n   t h e   f o l l o w i n g   e x a m p l e .   I f   a n   o p t i o n a l   S e c r e t   d o e s n ' t   e x i s t ,   K u b e r n e t e s   i g n o r e s   i t .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   m y p o d   i m a g e :   r e d i s   v o l u m e M o u n t s :   -   n a m e :   f o o   m o u n t P a t h :   \" / e t c / f o o \"   r e a d O n l y :   t r u e   v o l u m e s :   -   n a m e :   f o o   s e c r e t :   s e c r e t N a m e :   m y s e c r e t   o p t i o n a l :   t r u e   B y   d e f a u l t ,   S e c r e t s   a r e   r e q u i r e d .   N o n e   o f   a   P o d ' s   c o n t a i n e r s   w i l l   s t a r t   u n t i l   a l l   n o n - o p t i o n a l   S e c r e t s   a r e   a v a i l a b l e .   I f   a   P o d   r e f e r e n c e s   a   s p e c i f i c   k e y   i n   a   n o n - o p t i o n a l   S e c r e t   a n d   t h a t   S e c r e t   d o e s   e x i s t ,   b u t   i s   m i s s i n g   t h e   n a m e d   k e y ,   t h e   P o d   f a i l s   d u r i n g   s t a r t u p .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12624"
  },
  {
    "question": "What is Using Secrets as files from a Pod?",
    "answer": "I f   y o u   w a n t   t o   a c c e s s   d a t a   f r o m   a   S e c r e t   i n   a   P o d ,   o n e   w a y   t o   d o   t h a t   i s   t o   h a v e   K u b e r n e t e s   m a k e   t h e   v a l u e   o f   t h a t   S e c r e t   b e   a v a i l a b l e   a s   a   f i l e   i n s i d e   t h e   f i l e s y s t e m   o f   o n e   o r   m o r e   o f   t h e   P o d ' s   c o n t a i n e r s .   F o r   i n s t r u c t i o n s ,   r e f e r   t o   C r e a t e   a   P o d   t h a t   h a s   a c c e s s   t o   t h e   s e c r e t   d a t a   t h r o u g h   a   V o l u m e .   W h e n   a   v o l u m e   c o n t a i n s   d a t a   f r o m   a   S e c r e t ,   a n d   t h a t   S e c r e t   i s   u p d a t e d ,   K u b e r n e t e s   t r a c k s   t h i s   a n d   u p d a t e s   t h e   d a t a   i n   t h e   v o l u m e ,   u s i n g   a n   e v e n t u a l l y - c o n s i s t e n t   a p p r o a c h .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12625"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   k u b e l e t   k e e p s   a   c a c h e   o f   t h e   c u r r e n t   k e y s   a n d   v a l u e s   f o r   t h e   S e c r e t s   t h a t   a r e   u s e d   i n   v o l u m e s   f o r   p o d s   o n   t h a t   n o d e .   Y o u   c a n   c o n f i g u r e   t h e   w a y   t h a t   t h e   k u b e l e t   d e t e c t s   c h a n g e s   f r o m   t h e   c a c h e d   v a l u e s .   T h e   c o n f i g M a p A n d S e c r e t C h a n g e D e t e c t i o n S t r a t e g y   f i e l d   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   c o n t r o l s   w h i c h   s t r a t e g y   t h e   k u b e l e t   u s e s .   T h e   d e f a u l t   s t r a t e g y   i s   W a t c h .   U p d a t e s   t o   S e c r e t s   c a n   b e   e i t h e r   p r o p a g a t e d   b y   a n   A P I   w a t c h   m e c h a n i s m   ( t h e   d e f a u l t ) ,   b a s e d   o n   a   c a c h e   w i t h   a   d e f i n e d   t i m e - t o - l i v e ,   o r   p o l l e d   f r o m   t h e   c l u s t e r   A P I   s e r v e r   o n   e a c h   k u b e l e t   s y n c h r o n i s a t i o n   l o o p .   A s   a   r e s u l t ,   t h e   t o t a l   d e l a y   f r o m   t h e   m o m e n t   w h e n   t h e   S e c r e t   i s   u p d a t e d   t o   t h e   m o m e n t   w h e n   n e w   k e y s   a r e   p r o j e c t e d   t o   t h e   P o d   c a n   b e   a s   l o n g   a s   t h e   k u b e l e t   s y n c   p e r i o d   +   c a c h e   p r o p a g a t i o n   d e l a y ,   w h e r e   t h e   c a c h e   p r o p a g a t i o n   d e l a y   d e p e n d s   o n   t h e   c h o s e n   c a c h e   t y p e   ( f o l l o w i n g   t h e   s a m e   o r d e r   l i s t e d   i n   t h e   p r e v i o u s   p a r a g r a p h ,   t h e s e   a r e :   w a t c h   p r o p a g a t i o n   d e l a y ,   t h e   c o n f i g u r e d   c a c h e   T T L ,   o r   z e r o   f o r   d i r e c t   p o l l i n g ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12626"
  },
  {
    "question": "What is Using Secrets as environment variables?",
    "answer": "T o   u s e   a   S e c r e t   i n   a n   e n v i r o n m e n t   v a r i a b l e   i n   a   P o d :   F o r   e a c h   c o n t a i n e r   i n   y o u r   P o d   s p e c i f i c a t i o n ,   a d d   a n   e n v i r o n m e n t   v a r i a b l e   f o r   e a c h   S e c r e t   k e y   t h a t   y o u   w a n t   t o   u s e   t o   t h e   e n v [ ] . v a l u e F r o m . s e c r e t K e y R e f   f i e l d . M o d i f y   y o u r   i m a g e   a n d / o r   c o m m a n d   l i n e   s o   t h a t   t h e   p r o g r a m   l o o k s   f o r   v a l u e s   i n   t h e   s p e c i f i e d   e n v i r o n m e n t   v a r i a b l e s .   F o r   i n s t r u c t i o n s ,   r e f e r   t o   D e f i n e   c o n t a i n e r   e n v i r o n m e n t   v a r i a b l e s   u s i n g   S e c r e t   d a t a .   I t ' s   i m p o r t a n t   t o   n o t e   t h a t   t h e   r a n g e   o f   c h a r a c t e r s   a l l o w e d   f o r   e n v i r o n m e n t   v a r i a b l e   n a m e s   i n   p o d s   i s   r e s t r i c t e d .   I f   a n y   k e y s   d o   n o t   m e e t   t h e   r u l e s ,   t h o s e   k e y s   a r e   n o t   m a d e   a v a i l a b l e   t o   y o u r   c o n t a i n e r ,   t h o u g h   t h e   P o d   i s   a l l o w e d   t o   s t a r t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12627"
  },
  {
    "question": "What is Container image pull Secrets?",
    "answer": "I f   y o u   w a n t   t o   f e t c h   c o n t a i n e r   i m a g e s   f r o m   a   p r i v a t e   r e p o s i t o r y ,   y o u   n e e d   a   w a y   f o r   t h e   k u b e l e t   o n   e a c h   n o d e   t o   a u t h e n t i c a t e   t o   t h a t   r e p o s i t o r y .   Y o u   c a n   c o n f i g u r e   i m a g e   p u l l   S e c r e t s   t o   m a k e   t h i s   p o s s i b l e .   T h e s e   S e c r e t s   a r e   c o n f i g u r e d   a t   t h e   P o d   l e v e l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12628"
  },
  {
    "question": "What is Using imagePullSecrets?",
    "answer": "T h e   i m a g e P u l l S e c r e t s   f i e l d   i s   a   l i s t   o f   r e f e r e n c e s   t o   S e c r e t s   i n   t h e   s a m e   n a m e s p a c e .   Y o u   c a n   u s e   a n   i m a g e P u l l S e c r e t s   t o   p a s s   a   S e c r e t   t h a t   c o n t a i n s   a   D o c k e r   ( o r   o t h e r )   i m a g e   r e g i s t r y   p a s s w o r d   t o   t h e   k u b e l e t .   T h e   k u b e l e t   u s e s   t h i s   i n f o r m a t i o n   t o   p u l l   a   p r i v a t e   i m a g e   o n   b e h a l f   o f   y o u r   P o d .   S e e   t h e   P o d S p e c   A P I   f o r   m o r e   i n f o r m a t i o n   a b o u t   t h e   i m a g e P u l l S e c r e t s   f i e l d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12629"
  },
  {
    "question": "What is Manually specifying an imagePullSecret?",
    "answer": "Y o u   c a n   l e a r n   h o w   t o   s p e c i f y   i m a g e P u l l S e c r e t s   f r o m   t h e   c o n t a i n e r   i m a g e s   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_5_12630"
  },
  {
    "question": "What is Arranging for imagePullSecrets to be automatically attached?",
    "answer": "Y o u   c a n   m a n u a l l y   c r e a t e   i m a g e P u l l S e c r e t s ,   a n d   r e f e r e n c e   t h e s e   f r o m   a   S e r v i c e A c c o u n t .   A n y   P o d s   c r e a t e d   w i t h   t h a t   S e r v i c e A c c o u n t   o r   c r e a t e d   w i t h   t h a t   S e r v i c e A c c o u n t   b y   d e f a u l t ,   w i l l   g e t   t h e i r   i m a g e P u l l S e c r e t s   f i e l d   s e t   t o   t h a t   o f   t h e   s e r v i c e   a c c o u n t .   S e e   A d d   I m a g e P u l l S e c r e t s   t o   a   s e r v i c e   a c c o u n t   f o r   a   d e t a i l e d   e x p l a n a t i o n   o f   t h a t   p r o c e s s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_5_12631"
  },
  {
    "question": "What is Using Secrets with static Pods?",
    "answer": "Y o u   c a n n o t   u s e   C o n f i g M a p s   o r   S e c r e t s   w i t h   s t a t i c   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12632"
  },
  {
    "question": "What is Immutable Secrets?",
    "answer": "K u b e r n e t e s   l e t s   y o u   m a r k   s p e c i f i c   S e c r e t s   ( a n d   C o n f i g M a p s )   a s   i m m u t a b l e .   P r e v e n t i n g   c h a n g e s   t o   t h e   d a t a   o f   a n   e x i s t i n g   S e c r e t   h a s   t h e   f o l l o w i n g   b e n e f i t s :   p r o t e c t s   y o u   f r o m   a c c i d e n t a l   ( o r   u n w a n t e d )   u p d a t e s   t h a t   c o u l d   c a u s e   a p p l i c a t i o n s   o u t a g e s ( f o r   c l u s t e r s   t h a t   e x t e n s i v e l y   u s e   S e c r e t s   -   a t   l e a s t   t e n s   o f   t h o u s a n d s   o f   u n i q u e   S e c r e t   t o   P o d   m o u n t s ) ,   s w i t c h i n g   t o   i m m u t a b l e   S e c r e t s   i m p r o v e s   t h e   p e r f o r m a n c e   o f   y o u r   c l u s t e r   b y   s i g n i f i c a n t l y   r e d u c i n g   l o a d   o n   k u b e - a p i s e r v e r .   T h e   k u b e l e t   d o e s   n o t   n e e d   t o   m a i n t a i n   a   [ w a t c h ]   o n   a n y   S e c r e t s   t h a t   a r e   m a r k e d   a s   i m m u t a b l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12633"
  },
  {
    "question": "What is Marking a Secret as immutable?",
    "answer": "Y o u   c a n   c r e a t e   a n   i m m u t a b l e   S e c r e t   b y   s e t t i n g   t h e   i m m u t a b l e   f i e l d   t o   t r u e .   F o r   e x a m p l e ,   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   . . .   d a t a :   . . .   i m m u t a b l e :   t r u e   Y o u   c a n   a l s o   u p d a t e   a n y   e x i s t i n g   m u t a b l e   S e c r e t   t o   m a k e   i t   i m m u t a b l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12634"
  },
  {
    "question": "What is Information security for Secrets?",
    "answer": "A l t h o u g h   C o n f i g M a p   a n d   S e c r e t   w o r k   s i m i l a r l y ,   K u b e r n e t e s   a p p l i e s   s o m e   a d d i t i o n a l   p r o t e c t i o n   f o r   S e c r e t   o b j e c t s .   S e c r e t s   o f t e n   h o l d   v a l u e s   t h a t   s p a n   a   s p e c t r u m   o f   i m p o r t a n c e ,   m a n y   o f   w h i c h   c a n   c a u s e   e s c a l a t i o n s   w i t h i n   K u b e r n e t e s   ( e . g .   s e r v i c e   a c c o u n t   t o k e n s )   a n d   t o   e x t e r n a l   s y s t e m s .   E v e n   i f   a n   i n d i v i d u a l   a p p   c a n   r e a s o n   a b o u t   t h e   p o w e r   o f   t h e   S e c r e t s   i t   e x p e c t s   t o   i n t e r a c t   w i t h ,   o t h e r   a p p s   w i t h i n   t h e   s a m e   n a m e s p a c e   c a n   r e n d e r   t h o s e   a s s u m p t i o n s   i n v a l i d .   A   S e c r e t   i s   o n l y   s e n t   t o   a   n o d e   i f   a   P o d   o n   t h a t   n o d e   r e q u i r e s   i t .   F o r   m o u n t i n g   S e c r e t s   i n t o   P o d s ,   t h e   k u b e l e t   s t o r e s   a   c o p y   o f   t h e   d a t a   i n t o   a   t m p f s   s o   t h a t   t h e   c o n f i d e n t i a l   d a t a   i s   n o t   w r i t t e n   t o   d u r a b l e   s t o r a g e .   O n c e   t h e   P o d   t h a t   d e p e n d s   o n   t h e   S e c r e t   i s   d e l e t e d ,   t h e   k u b e l e t   d e l e t e s   i t s   l o c a l   c o p y   o f   t h e   c o n f i d e n t i a l   d a t a   f r o m   t h e   S e c r e t .   T h e r e   m a y   b e   s e v e r a l   c o n t a i n e r s   i n   a   P o d .   B y   d e f a u l t ,   c o n t a i n e r s   y o u   d e f i n e   o n l y   h a v e   a c c e s s   t o   t h e   d e f a u l t   S e r v i c e A c c o u n t   a n d   i t s   r e l a t e d   S e c r e t .   Y o u   m u s t   e x p l i c i t l y   d e f i n e   e n v i r o n m e n t   v a r i a b l e s   o r   m a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12635"
  },
  {
    "question": "What is Configure least-privilege access to Secrets?",
    "answer": "T o   e n h a n c e   t h e   s e c u r i t y   m e a s u r e s   a r o u n d   S e c r e t s ,   u s e   s e p a r a t e   n a m e s p a c e s   t o   i s o l a t e   a c c e s s   t o   m o u n t e d   s e c r e t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12636"
  },
  {
    "question": "What is What's next?",
    "answer": "F o r   g u i d e l i n e s   t o   m a n a g e   a n d   i m p r o v e   t h e   s e c u r i t y   o f   y o u r   S e c r e t s ,   r e f e r   t o   G o o d   p r a c t i c e s   f o r   K u b e r n e t e s   S e c r e t s . L e a r n   h o w   t o   m a n a g e   S e c r e t s   u s i n g   k u b e c t l L e a r n   h o w   t o   m a n a g e   S e c r e t s   u s i n g   c o n f i g   f i l e L e a r n   h o w   t o   m a n a g e   S e c r e t s   u s i n g   k u s t o m i z e R e a d   t h e   A P I   r e f e r e n c e   f o r   S e c r e t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12637"
  },
  {
    "question": "What is 7.4 - Liveness, Readiness, and Startup Probes?",
    "answer": "K u b e r n e t e s   h a s   v a r i o u s   t y p e s   o f   p r o b e s :   L i v e n e s s   p r o b e R e a d i n e s s   p r o b e S t a r t u p   p r o b e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12638"
  },
  {
    "question": "What is Liveness probe?",
    "answer": "L i v e n e s s   p r o b e s   d e t e r m i n e   w h e n   t o   r e s t a r t   a   c o n t a i n e r .   F o r   e x a m p l e ,   l i v e n e s s   p r o b e s   c o u l d   c a t c h   a   d e a d l o c k   w h e n   a n   a p p l i c a t i o n   i s   r u n n i n g   b u t   u n a b l e   t o   m a k e   p r o g r e s s .   I f   a   c o n t a i n e r   f a i l s   i t s   l i v e n e s s   p r o b e   r e p e a t e d l y ,   t h e   k u b e l e t   r e s t a r t s   t h e   c o n t a i n e r .   L i v e n e s s   p r o b e s   d o   n o t   w a i t   f o r   r e a d i n e s s   p r o b e s   t o   s u c c e e d .   I f   y o u   w a n t   t o   w a i t   b e f o r e   e x e c u t i n g   a   l i v e n e s s   p r o b e ,   y o u   c a n   e i t h e r   d e f i n e   i n i t i a l D e l a y S e c o n d s   o r   u s e   a   s t a r t u p   p r o b e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12639"
  },
  {
    "question": "What is Readiness probe?",
    "answer": "R e a d i n e s s   p r o b e s   d e t e r m i n e   w h e n   a   c o n t a i n e r   i s   r e a d y   t o   a c c e p t   t r a f f i c .   T h i s   i s   u s e f u l   w h e n   w a i t i n g   f o r   a n   a p p l i c a t i o n   t o   p e r f o r m   t i m e - c o n s u m i n g   i n i t i a l   t a s k s   t h a t   d e p e n d   o n   i t s   b a c k i n g   s e r v i c e s ;   f o r   e x a m p l e :   e s t a b l i s h i n g   n e t w o r k   c o n n e c t i o n s ,   l o a d i n g   f i l e s ,   a n d   w a r m i n g   c a c h e s .   R e a d i n e s s   p r o b e s   c a n   a l s o   b e   u s e f u l   l a t e r   i n   t h e   c o n t a i n e r ’ s   l i f e c y c l e ,   f o r   e x a m p l e ,   w h e n   r e c o v e r i n g   f r o m   t e m p o r a r y   f a u l t s   o r   o v e r l o a d s .   I f   t h e   r e a d i n e s s   p r o b e   r e t u r n s   a   f a i l e d   s t a t e ,   K u b e r n e t e s   r e m o v e s   t h e   p o d   f r o m   a l l   m a t c h i n g   s e r v i c e   e n d p o i n t s .   R e a d i n e s s   p r o b e s   r u n   o n   t h e   c o n t a i n e r   d u r i n g   i t s   w h o l e   l i f e c y c l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12640"
  },
  {
    "question": "What is Startup probe?",
    "answer": "A   s t a r t u p   p r o b e   v e r i f i e s   w h e t h e r   t h e   a p p l i c a t i o n   w i t h i n   a   c o n t a i n e r   i s   s t a r t e d .   T h i s   c a n   b e   u s e d   t o   a d o p t   l i v e n e s s   c h e c k s   o n   s l o w   s t a r t i n g   c o n t a i n e r s ,   a v o i d i n g   t h e m   g e t t i n g   k i l l e d   b y   t h e   k u b e l e t   b e f o r e   t h e y   a r e   u p   a n d   r u n n i n g .   I f   s u c h   a   p r o b e   i s   c o n f i g u r e d ,   i t   d i s a b l e s   l i v e n e s s   a n d   r e a d i n e s s   c h e c k s   u n t i l   i t   s u c c e e d s .   T h i s   t y p e   o f   p r o b e   i s   o n l y   e x e c u t e d   a t   s t a r t u p ,   u n l i k e   l i v e n e s s   a n d   r e a d i n e s s   p r o b e s ,   w h i c h   a r e   r u n   p e r i o d i c a l l y .   R e a d   m o r e   a b o u t   t h e   C o n f i g u r e   L i v e n e s s ,   R e a d i n e s s   a n d   S t a r t u p   P r o b e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12641"
  },
  {
    "question": "What is 7.5 - Resource Management for Pods and Containers?",
    "answer": "W h e n   y o u   s p e c i f y   a   P o d ,   y o u   c a n   o p t i o n a l l y   s p e c i f y   h o w   m u c h   o f   e a c h   r e s o u r c e   a   c o n t a i n e r   n e e d s .   T h e   m o s t   c o m m o n   r e s o u r c e s   t o   s p e c i f y   a r e   C P U   a n d   m e m o r y   ( R A M ) ;   t h e r e   a r e   o t h e r s .   W h e n   y o u   s p e c i f y   t h e   r e s o u r c e   r e q u e s t   f o r   c o n t a i n e r s   i n   a   P o d ,   t h e   k u b e - s c h e d u l e r   u s e s   t h i s   i n f o r m a t i o n   t o   d e c i d e   w h i c h   n o d e   t o   p l a c e   t h e   P o d   o n .   W h e n   y o u   s p e c i f y   a   r e s o u r c e   l i m i t   f o r   a   c o n t a i n e r ,   t h e   k u b e l e t   e n f o r c e s   t h o s e   l i m i t s   s o   t h a t   t h e   r u n n i n g   c o n t a i n e r   i s   n o t   a l l o w e d   t o   u s e   m o r e   o f   t h a t   r e s o u r c e   t h a n   t h e   l i m i t   y o u   s e t .   T h e   k u b e l e t   a l s o   r e s e r v e s   a t   l e a s t   t h e   r e q u e s t   a m o u n t   o f   t h a t   s y s t e m   r e s o u r c e   s p e c i f i c a l l y   f o r   t h a t   c o n t a i n e r   t o   u s e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12642"
  },
  {
    "question": "What is Requests and limits?",
    "answer": "I f   t h e   n o d e   w h e r e   a   P o d   i s   r u n n i n g   h a s   e n o u g h   o f   a   r e s o u r c e   a v a i l a b l e ,   i t ' s   p o s s i b l e   ( a n d   a l l o w e d )   f o r   a   c o n t a i n e r   t o   u s e   m o r e   r e s o u r c e   t h a n   i t s   r e q u e s t   f o r   t h a t   r e s o u r c e   s p e c i f i e s .   F o r   e x a m p l e ,   i f   y o u   s e t   a   m e m o r y   r e q u e s t   o f   2 5 6   M i B   f o r   a   c o n t a i n e r ,   a n d   t h a t   c o n t a i n e r   i s   i n   a   P o d   s c h e d u l e d   t o   a   N o d e   w i t h   8 G i B   o f   m e m o r y   a n d   n o   o t h e r   P o d s ,   t h e n   t h e   c o n t a i n e r   c a n   t r y   t o   u s e   m o r e   R A M .   L i m i t s   a r e   a   d i f f e r e n t   s t o r y .   B o t h   c p u   a n d   m e m o r y   l i m i t s   a r e   a p p l i e d   b y   t h e   k u b e l e t   ( a n d   c o n t a i n e r   r u n t i m e ) ,   a n d   a r e   u l t i m a t e l y   e n f o r c e d   b y   t h e   k e r n e l .   O n   L i n u x   n o d e s ,   t h e   L i n u x   k e r n e l   e n f o r c e s   l i m i t s   w i t h   c g r o u p s .   T h e   b e h a v i o r   o f   c p u   a n d   m e m o r y   l i m i t   e n f o r c e m e n t   i s   s l i g h t l y   d i f f e r e n t .   c p u   l i m i t s   a r e   e n f o r c e d   b y   C P U   t h r o t t l i n g .   W h e n   a   c o n t a i n e r   a p p r o a c h e s   i t s   c p u   l i m i t ,   t h e   k e r n e l   w i l l   r e s t r i c t   a c c e s s   t o   t h e   C P U   c o r r e s p o n d i n g   t o   t h e   c o n t a i n e r ' s   l i m i t .   T h u s ,   a   c p u   l i m i t   i s   a   h a r d   l i m i t   t h e   k e r n e l   e n f o r c e s .   C o n t a i n e r s   m a y   n o t   u s e   m o r e   C P U   t h a n   i s   s p e c i f i e d   i n   t h e i r   c p u   l i m i t .   m e m o r y   l i m i t s   a r e   e n f o r c e d   b y   t h e   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12643"
  },
  {
    "question": "What is Resource types?",
    "answer": "C P U   a n d   m e m o r y   a r e   e a c h   a   r e s o u r c e   t y p e .   A   r e s o u r c e   t y p e   h a s   a   b a s e   u n i t .   C P U   r e p r e s e n t s   c o m p u t e   p r o c e s s i n g   a n d   i s   s p e c i f i e d   i n   u n i t s   o f   K u b e r n e t e s   C P U s .   M e m o r y   i s   s p e c i f i e d   i n   u n i t s   o f   b y t e s .   F o r   L i n u x   w o r k l o a d s ,   y o u   c a n   s p e c i f y   h u g e   p a g e   r e s o u r c e s .   H u g e   p a g e s   a r e   a   L i n u x - s p e c i f i c   f e a t u r e   w h e r e   t h e   n o d e   k e r n e l   a l l o c a t e s   b l o c k s   o f   m e m o r y   t h a t   a r e   m u c h   l a r g e r   t h a n   t h e   d e f a u l t   p a g e   s i z e .   F o r   e x a m p l e ,   o n   a   s y s t e m   w h e r e   t h e   d e f a u l t   p a g e   s i z e   i s   4 K i B ,   y o u   c o u l d   s p e c i f y   a   l i m i t ,   h u g e p a g e s - 2 M i :   8 0 M i .   I f   t h e   c o n t a i n e r   t r i e s   a l l o c a t i n g   o v e r   4 0   2 M i B   h u g e   p a g e s   ( a   t o t a l   o f   8 0   M i B ) ,   t h a t   a l l o c a t i o n   f a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12644"
  },
  {
    "question": "What is Note:?",
    "answer": "C P U   a n d   m e m o r y   a r e   c o l l e c t i v e l y   r e f e r r e d   t o   a s   c o m p u t e   r e s o u r c e s ,   o r   r e s o u r c e s .   C o m p u t e   r e s o u r c e s   a r e   m e a s u r a b l e   q u a n t i t i e s   t h a t   c a n   b e   r e q u e s t e d ,   a l l o c a t e d ,   a n d   c o n s u m e d .   T h e y   a r e   d i s t i n c t   f r o m   A P I   r e s o u r c e s .   A P I   r e s o u r c e s ,   s u c h   a s   P o d s   a n d   S e r v i c e s   a r e   o b j e c t s   t h a t   c a n   b e   r e a d   a n d   m o d i f i e d   t h r o u g h   t h e   K u b e r n e t e s   A P I   s e r v e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12645"
  },
  {
    "question": "What is Resource requests and limits of Pod and container?",
    "answer": "F o r   e a c h   c o n t a i n e r ,   y o u   c a n   s p e c i f y   r e s o u r c e   l i m i t s   a n d   r e q u e s t s ,   i n c l u d i n g   t h e   f o l l o w i n g :   s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . l i m i t s . c p u s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . l i m i t s . m e m o r y s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . l i m i t s . h u g e p a g e s - < s i z e > s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . r e q u e s t s . c p u s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . r e q u e s t s . m e m o r y s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . r e q u e s t s . h u g e p a g e s - < s i z e >   A l t h o u g h   y o u   c a n   o n l y   s p e c i f y   r e q u e s t s   a n d   l i m i t s   f o r   i n d i v i d u a l   c o n t a i n e r s ,   i t   i s   a l s o   u s e f u l   t o   t h i n k   a b o u t   t h e   o v e r a l l   r e s o u r c e   r e q u e s t s   a n d   l i m i t s   f o r   a   P o d .   F o r   a   p a r t i c u l a r   r e s o u r c e ,   a   P o d   r e s o u r c e   r e q u e s t / l i m i t   i s   t h e   s u m   o f   t h e   r e s o u r c e   r e q u e s t s / l i m i t s   o f   t h a t   t y p e   f o r   e a c h   c o n t a i n e r   i n   t h e   P o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12646"
  },
  {
    "question": "What is Pod-level resource specification?",
    "answer": "P r o v i d e d   y o u r   c l u s t e r   h a s   t h e   P o d L e v e l R e s o u r c e s   f e a t u r e   g a t e   e n a b l e d ,   y o u   c a n   s p e c i f y   r e s o u r c e   r e q u e s t s   a n d   l i m i t s   a t   t h e   P o d   l e v e l .   A t   t h e   P o d   l e v e l ,   K u b e r n e t e s   1 . 3 4   o n l y   s u p p o r t s   r e s o u r c e   r e q u e s t s   o r   l i m i t s   f o r   s p e c i f i c   r e s o u r c e   t y p e s :   c p u   a n d   /   o r   m e m o r y   a n d   /   o r   h u g e p a g e s .   W i t h   t h i s   f e a t u r e ,   K u b e r n e t e s   a l l o w s   y o u   t o   d e c l a r e   a n   o v e r a l l   r e s o u r c e   b u d g e t   f o r   t h e   P o d ,   w h i c h   i s   e s p e c i a l l y   h e l p f u l   w h e n   d e a l i n g   w i t h   a   l a r g e   n u m b e r   o f   c o n t a i n e r s   w h e r e   i t   c a n   b e   d i f f i c u l t   t o   a c c u r a t e l y   g a u g e   i n d i v i d u a l   r e s o u r c e   n e e d s .   A d d i t i o n a l l y ,   i t   e n a b l e s   c o n t a i n e r s   w i t h i n   a   P o d   t o   s h a r e   i d l e   r e s o u r c e s   w i t h   e a c h   o t h e r ,   i m p r o v i n g   r e s o u r c e   u t i l i z a t i o n .   F o r   a   P o d ,   y o u   c a n   s p e c i f y   r e s o u r c e   l i m i t s   a n d   r e q u e s t s   f o r   C P U   a n d   m e m o r y   b y   i n c l u d i n g   t h e   f o l l o w i n g :   s p e c . r e s o u r c e s . l i m i t s . c p u s p e c . r e s o u r c e s . l i m i t s . m e m o r y s p e c . r e s o u r c e s . l i m i t s . h u g e p a g e s - < s i z e > s p e c . r e s o u r c e s . r e q u e s t s . c p u s p e c . r e s o u r c e s . r e q u e s t s . m e m o r y s p e c . r e s o u r c e s . r e q u e s t s . h u g e p a g e s - < s i z e >",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12647"
  },
  {
    "question": "What is CPU resource units?",
    "answer": "L i m i t s   a n d   r e q u e s t s   f o r   C P U   r e s o u r c e s   a r e   m e a s u r e d   i n   c p u   u n i t s .   I n   K u b e r n e t e s ,   1   C P U   u n i t   i s   e q u i v a l e n t   t o   1   p h y s i c a l   C P U   c o r e ,   o r   1   v i r t u a l   c o r e ,   d e p e n d i n g   o n   w h e t h e r   t h e   n o d e   i s   a   p h y s i c a l   h o s t   o r   a   v i r t u a l   m a c h i n e   r u n n i n g   i n s i d e   a   p h y s i c a l   m a c h i n e .   F r a c t i o n a l   r e q u e s t s   a r e   a l l o w e d .   W h e n   y o u   d e f i n e   a   c o n t a i n e r   w i t h   s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . r e q u e s t s . c p u   s e t   t o   0 . 5 ,   y o u   a r e   r e q u e s t i n g   h a l f   a s   m u c h   C P U   t i m e   c o m p a r e d   t o   i f   y o u   a s k e d   f o r   1 . 0   C P U .   F o r   C P U   r e s o u r c e   u n i t s ,   t h e   q u a n t i t y   e x p r e s s i o n   0 . 1   i s   e q u i v a l e n t   t o   t h e   e x p r e s s i o n   1 0 0 m ,   w h i c h   c a n   b e   r e a d   a s   \" o n e   h u n d r e d   m i l l i c p u \" .   S o m e   p e o p l e   s a y   \" o n e   h u n d r e d   m i l l i c o r e s \" ,   a n d   t h i s   i s   u n d e r s t o o d   t o   m e a n   t h e   s a m e   t h i n g .   C P U   r e s o u r c e   i s   a l w a y s   s p e c i f i e d   a s   a n   a b s o l u t e   a m o u n t   o f   r e s o u r c e ,   n e v e r   a s   a   r e l a t i v e   a m o u n t .   F o r   e x a m p l e ,   5 0 0 m   C P U   r e p r e s e n t s   t h e   r o u g h l y   s a m e   a m o u n t   o f   c o m p u t i n g   p o w e r   w h e t h e r   t h a t   c o n t a i n e r   r u n s   o n   a   s i n g l e - c o r e ,   d u a l - c o r e ,   o r   4 8 - c o r e   m a c h i n e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12648"
  },
  {
    "question": "What is Note:?",
    "answer": "K u b e r n e t e s   d o e s n ' t   a l l o w   y o u   t o   s p e c i f y   C P U   r e s o u r c e s   w i t h   a   p r e c i s i o n   f i n e r   t h a n   1 m   o r   0 . 0 0 1   C P U .   T o   a v o i d   a c c i d e n t a l l y   u s i n g   a n   i n v a l i d   C P U   q u a n t i t y ,   i t ' s   u s e f u l   t o   s p e c i f y   C P U   u n i t s   u s i n g   t h e   m i l l i C P U   f o r m   i n s t e a d   o f   t h e   d e c i m a l   f o r m   w h e n   u s i n g   l e s s   t h a n   1   C P U   u n i t .   F o r   e x a m p l e ,   y o u   h a v e   a   P o d   t h a t   u s e s   5 m   o r   0 . 0 0 5   C P U   a n d   w o u l d   l i k e   t o   d e c r e a s e   i t s   C P U   r e s o u r c e s .   B y   u s i n g   t h e   d e c i m a l   f o r m ,   i t ' s   h a r d e r   t o   s p o t   t h a t   0 . 0 0 0 5   C P U   i s   a n   i n v a l i d   v a l u e ,   w h i l e   b y   u s i n g   t h e   m i l l i C P U   f o r m ,   i t ' s   e a s i e r   t o   s p o t   t h a t   0 . 5 m   i s   a n   i n v a l i d   v a l u e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12649"
  },
  {
    "question": "What is Memory resource units?",
    "answer": "L i m i t s   a n d   r e q u e s t s   f o r   m e m o r y   a r e   m e a s u r e d   i n   b y t e s .   Y o u   c a n   e x p r e s s   m e m o r y   a s   a   p l a i n   i n t e g e r   o r   a s   a   f i x e d - p o i n t   n u m b e r   u s i n g   o n e   o f   t h e s e   q u a n t i t y   s u f f i x e s :   E ,   P ,   T ,   G ,   M ,   k .   Y o u   c a n   a l s o   u s e   t h e   p o w e r - o f - t w o   e q u i v a l e n t s :   E i ,   P i ,   T i ,   G i ,   M i ,   K i .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   r e p r e s e n t   r o u g h l y   t h e   s a m e   v a l u e :   1 2 8 9 7 4 8 4 8 ,   1 2 9 e 6 ,   1 2 9 M ,   1 2 8 9 7 4 8 4 8 0 0 0 m ,   1 2 3 M i   P a y   a t t e n t i o n   t o   t h e   c a s e   o f   t h e   s u f f i x e s .   I f   y o u   r e q u e s t   4 0 0 m   o f   m e m o r y ,   t h i s   i s   a   r e q u e s t   f o r   0 . 4   b y t e s .   S o m e o n e   w h o   t y p e s   t h a t   p r o b a b l y   m e a n t   t o   a s k   f o r   4 0 0   m e b i b y t e s   ( 4 0 0 M i )   o r   4 0 0   m e g a b y t e s   ( 4 0 0 M ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12650"
  },
  {
    "question": "What is Container resources example?",
    "answer": "T h e   f o l l o w i n g   P o d   h a s   t w o   c o n t a i n e r s .   B o t h   c o n t a i n e r s   a r e   d e f i n e d   w i t h   a   r e q u e s t   f o r   0 . 2 5   C P U   a n d   6 4 M i B   ( 2 2 6   b y t e s )   o f   m e m o r y .   E a c h   c o n t a i n e r   h a s   a   l i m i t   o f   0 . 5   C P U   a n d   1 2 8 M i B   o f   m e m o r y .   Y o u   c a n   s a y   t h e   P o d   h a s   a   r e q u e s t   o f   0 . 5   C P U   a n d   1 2 8   M i B   o f   m e m o r y ,   a n d   a   l i m i t   o f   1   C P U   a n d   2 5 6 M i B   o f   m e m o r y .   - - -   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   f r o n t e n d   s p e c :   c o n t a i n e r s :   -   n a m e :   a p p   i m a g e :   i m a g e s . m y - c o m p a n y . e x a m p l e / a p p : v 4   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 6 4 M i \"   c p u :   \" 2 5 0 m \"   l i m i t s :   m e m o r y :   \" 1 2 8 M i \"   c p u :   \" 5 0 0 m \"   -   n a m e :   l o g - a g g r e g a t o r   i m a g e :   i m a g e s . m y - c o m p a n y . e x a m p l e / l o g - a g g r e g a t o r : v 6   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 6 4 M i \"   c p u :   \" 2 5 0 m \"   l i m i t s :   m e m o r y :   \" 1 2 8 M i \"   c p u :   \" 5 0 0 m \"",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12651"
  },
  {
    "question": "What is Pod resources example?",
    "answer": "T h i s   f e a t u r e   c a n   b e   e n a b l e d   b y   s e t t i n g   t h e   P o d L e v e l R e s o u r c e s   f e a t u r e   g a t e .   T h e   f o l l o w i n g   P o d   h a s   a n   e x p l i c i t   r e q u e s t   o f   1   C P U   a n d   1 0 0   M i B   o f   m e m o r y ,   a n d   a n   e x p l i c i t   l i m i t   o f   1   C P U   a n d   2 0 0   M i B   o f   m e m o r y .   T h e   p o d - r e s o u r c e s - d e m o - c t r - 1   c o n t a i n e r   h a s   e x p l i c i t   r e q u e s t s   a n d   l i m i t s   s e t .   H o w e v e r ,   t h e   p o d - r e s o u r c e s - d e m o - c t r - 2   c o n t a i n e r   w i l l   s i m p l y   s h a r e   t h e   r e s o u r c e s   a v a i l a b l e   w i t h i n   t h e   P o d   r e s o u r c e   b o u n d a r i e s ,   a s   i t   d o e s   n o t   h a v e   e x p l i c i t   r e q u e s t s   a n d   l i m i t s   s e t .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p o d - r e s o u r c e s - d e m o   n a m e s p a c e :   p o d - r e s o u r c e s - e x a m p l e   s p e c :   r e s o u r c e s :   l i m i t s :   c p u :   \" 1 \"   m e m o r y :   \" 2 0 0 M i \"   r e q u e s t s :   c p u :   \" 1 \"   m e m o r y :   \" 1 0 0 M i \"   c o n t a i n e r s :   -   n a m e :   p o d - r e s o u r c e s - d e m o - c t r - 1   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   c p u :   \" 0 . 5 \"   m e m o r y :   \" 1 0 0 M i \"   r e q u e s t s :   c p u :   \" 0 . 5 \"   m e m o r y :   \" 5 0 M i \"   -   n a m e :   p o d - r e s o u r c e s - d e m o - c t r - 2   i m a g e :   f e d o r a   c o m m a n d :   -   s l e e p   -   i n f",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12652"
  },
  {
    "question": "What is How Pods with resource requests are scheduled?",
    "answer": "W h e n   y o u   c r e a t e   a   P o d ,   t h e   K u b e r n e t e s   s c h e d u l e r   s e l e c t s   a   n o d e   f o r   t h e   P o d   t o   r u n   o n .   E a c h   n o d e   h a s   a   m a x i m u m   c a p a c i t y   f o r   e a c h   o f   t h e   r e s o u r c e   t y p e s :   t h e   a m o u n t   o f   C P U   a n d   m e m o r y   i t   c a n   p r o v i d e   f o r   P o d s .   T h e   s c h e d u l e r   e n s u r e s   t h a t ,   f o r   e a c h   r e s o u r c e   t y p e ,   t h e   s u m   o f   t h e   r e s o u r c e   r e q u e s t s   o f   t h e   s c h e d u l e d   c o n t a i n e r s   i s   l e s s   t h a n   t h e   c a p a c i t y   o f   t h e   n o d e .   N o t e   t h a t   a l t h o u g h   a c t u a l   m e m o r y   o r   C P U   r e s o u r c e   u s a g e   o n   n o d e s   i s   v e r y   l o w ,   t h e   s c h e d u l e r   s t i l l   r e f u s e s   t o   p l a c e   a   P o d   o n   a   n o d e   i f   t h e   c a p a c i t y   c h e c k   f a i l s .   T h i s   p r o t e c t s   a g a i n s t   a   r e s o u r c e   s h o r t a g e   o n   a   n o d e   w h e n   r e s o u r c e   u s a g e   l a t e r   i n c r e a s e s ,   f o r   e x a m p l e ,   d u r i n g   a   d a i l y   p e a k   i n   r e q u e s t   r a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12653"
  },
  {
    "question": "What is How Kubernetes applies resource requests and limits?",
    "answer": "W h e n   t h e   k u b e l e t   s t a r t s   a   c o n t a i n e r   a s   p a r t   o f   a   P o d ,   t h e   k u b e l e t   p a s s e s   t h a t   c o n t a i n e r ' s   r e q u e s t s   a n d   l i m i t s   f o r   m e m o r y   a n d   C P U   t o   t h e   c o n t a i n e r   r u n t i m e .   O n   L i n u x ,   t h e   c o n t a i n e r   r u n t i m e   t y p i c a l l y   c o n f i g u r e s   k e r n e l   c g r o u p s   t h a t   a p p l y   a n d   e n f o r c e   t h e   l i m i t s   y o u   d e f i n e d .   T h e   C P U   l i m i t   d e f i n e s   a   h a r d   c e i l i n g   o n   h o w   m u c h   C P U   t i m e   t h e   c o n t a i n e r   c a n   u s e .   D u r i n g   e a c h   s c h e d u l i n g   i n t e r v a l   ( t i m e   s l i c e ) ,   t h e   L i n u x   k e r n e l   c h e c k s   t o   s e e   i f   t h i s   l i m i t   i s   e x c e e d e d ;   i f   s o ,   t h e   k e r n e l   w a i t s   b e f o r e   a l l o w i n g   t h a t   c g r o u p   t o   r e s u m e   e x e c u t i o n . T h e   C P U   r e q u e s t   t y p i c a l l y   d e f i n e s   a   w e i g h t i n g .   I f   s e v e r a l   d i f f e r e n t   c o n t a i n e r s   ( c g r o u p s )   w a n t   t o   r u n   o n   a   c o n t e n d e d   s y s t e m ,   w o r k l o a d s   w i t h   l a r g e r   C P U   r e q u e s t s   a r e   a l l o c a t e d   m o r e   C P U   t i m e   t h a n   w o r k l o a d s   w i t h   s m a l l   r e q u e s t s . T h e   m e m o r y   r e q u e s t   i s   m a i n l y   u s e d   d u r i n g   ( K u b e r n e t e s )   P o d   s c h e d u l i n g .   O n   a   n o d e   t h a t   u s e s   c g r o u p s   v 2 ,   t h e   c o n t a i n e r   r u n t i m e   m i g h t   u s e   t h e   m e m o r y   r e q u e s t   a s   a   h i n t   t o   s e t   m e m o r y . m i n   a n d   m e m o r y . l o w . T h e   m e m o r y   l i m i t   d e f i n e s   a   m e m o r y   l i m i t   f o r   t h a t   c g r o u p ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12654"
  },
  {
    "question": "What is Monitoring compute & memory resource usage?",
    "answer": "T h e   k u b e l e t   r e p o r t s   t h e   r e s o u r c e   u s a g e   o f   a   P o d   a s   p a r t   o f   t h e   P o d   s t a t u s .   I f   o p t i o n a l   t o o l s   f o r   m o n i t o r i n g   a r e   a v a i l a b l e   i n   y o u r   c l u s t e r ,   t h e n   P o d   r e s o u r c e   u s a g e   c a n   b e   r e t r i e v e d   e i t h e r   f r o m   t h e   M e t r i c s   A P I   d i r e c t l y   o r   f r o m   y o u r   m o n i t o r i n g   t o o l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12655"
  },
  {
    "question": "What is Caution:?",
    "answer": "F r o m   t h e   p e r s p e c t i v e   o f   m e m o r y   m a n a g e m e n t ,   t h e r e   a r e   s o m e   s i m i l a r i t i e s   b e t w e e n   w h e n   a   p r o c e s s   u s e s   m e m o r y   a s   a   w o r k   a r e a   a n d   w h e n   u s i n g   m e m o r y - b a c k e d   e m p t y D i r .   B u t   w h e n   u s i n g   m e m o r y   a s   a   v o l u m e ,   l i k e   m e m o r y - b a c k e d   e m p t y D i r ,   t h e r e   a r e   a d d i t i o n a l   p o i n t s   b e l o w   t h a t   y o u   s h o u l d   b e   c a r e f u l   o f :   F i l e s   s t o r e d   o n   a   m e m o r y - b a c k e d   v o l u m e   a r e   a l m o s t   e n t i r e l y   m a n a g e d   b y   t h e   u s e r   a p p l i c a t i o n .   U n l i k e   w h e n   u s e d   a s   a   w o r k   a r e a   f o r   a   p r o c e s s ,   y o u   c a n   n o t   r e l y   o n   t h i n g s   l i k e   l a n g u a g e - l e v e l   g a r b a g e   c o l l e c t i o n . T h e   p u r p o s e   o f   w r i t i n g   f i l e s   t o   a   v o l u m e   i s   t o   s a v e   d a t a   o r   p a s s   i t   b e t w e e n   a p p l i c a t i o n s .   N e i t h e r   K u b e r n e t e s   n o r   t h e   O S   m a y   a u t o m a t i c a l l y   d e l e t e   f i l e s   f r o m   a   v o l u m e ,   s o   m e m o r y   u s e d   b y   t h o s e   f i l e s   c a n   n o t   b e   r e c l a i m e d   w h e n   t h e   s y s t e m   o r   t h e   p o d   a r e   u n d e r   m e m o r y   p r e s s u r e . A   m e m o r y - b a c k e d   e m p t y D i r   i s   u s e f u l   b e c a u s e   o f   i t s   p e r f o r m a n c e ,   b u t   m e m o r y   i s   g e n e r a l l y   m u c h   s m a l l e r   i n   s i z e   a n d   m u c h   h i g h e r   i n   c o s t   t h a n   o t h e r   s t o r a g e   m e d i a ,   s u c h   a s   d i s k s   o r   S S D s .   U s i n g   l a r g e   a m o u n t s   o f   m e m o r y   f o r   e m p t y D i r   v o l u m e s   m a y   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12656"
  },
  {
    "question": "What is Local ephemeral storage?",
    "answer": "N o d e s   h a v e   l o c a l   e p h e m e r a l   s t o r a g e ,   b a c k e d   b y   l o c a l l y - a t t a c h e d   w r i t e a b l e   d e v i c e s   o r ,   s o m e t i m e s ,   b y   R A M .   \" E p h e m e r a l \"   m e a n s   t h a t   t h e r e   i s   n o   l o n g - t e r m   g u a r a n t e e   a b o u t   d u r a b i l i t y .   P o d s   u s e   e p h e m e r a l   l o c a l   s t o r a g e   f o r   s c r a t c h   s p a c e ,   c a c h i n g ,   a n d   f o r   l o g s .   T h e   k u b e l e t   c a n   p r o v i d e   s c r a t c h   s p a c e   t o   P o d s   u s i n g   l o c a l   e p h e m e r a l   s t o r a g e   t o   m o u n t   e m p t y D i r   v o l u m e s   i n t o   c o n t a i n e r s .   T h e   k u b e l e t   a l s o   u s e s   t h i s   k i n d   o f   s t o r a g e   t o   h o l d   n o d e - l e v e l   c o n t a i n e r   l o g s ,   c o n t a i n e r   i m a g e s ,   a n d   t h e   w r i t a b l e   l a y e r s   o f   r u n n i n g   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12657"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   m a k e   t h e   r e s o u r c e   q u o t a   w o r k   o n   e p h e m e r a l - s t o r a g e ,   t w o   t h i n g s   n e e d   t o   b e   d o n e :   A n   a d m i n   s e t s   t h e   r e s o u r c e   q u o t a   f o r   e p h e m e r a l - s t o r a g e   i n   a   n a m e s p a c e . A   u s e r   n e e d s   t o   s p e c i f y   l i m i t s   f o r   t h e   e p h e m e r a l - s t o r a g e   r e s o u r c e   i n   t h e   P o d   s p e c .   I f   t h e   u s e r   d o e s n ' t   s p e c i f y   t h e   e p h e m e r a l - s t o r a g e   r e s o u r c e   l i m i t   i n   t h e   P o d   s p e c ,   t h e   r e s o u r c e   q u o t a   i s   n o t   e n f o r c e d   o n   e p h e m e r a l - s t o r a g e .   K u b e r n e t e s   l e t s   y o u   t r a c k ,   r e s e r v e   a n d   l i m i t   t h e   a m o u n t   o f   e p h e m e r a l   l o c a l   s t o r a g e   a   P o d   c a n   c o n s u m e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12658"
  },
  {
    "question": "What is Configurations for local ephemeral storage?",
    "answer": "K u b e r n e t e s   s u p p o r t s   t w o   w a y s   t o   c o n f i g u r e   l o c a l   e p h e m e r a l   s t o r a g e   o n   a   n o d e : I n   t h i s   c o n f i g u r a t i o n ,   y o u   p l a c e   a l l   d i f f e r e n t   k i n d s   o f   e p h e m e r a l   l o c a l   d a t a   ( e m p t y D i r   v o l u m e s ,   w r i t e a b l e   l a y e r s ,   c o n t a i n e r   i m a g e s ,   l o g s )   i n t o   o n e   f i l e s y s t e m .   T h e   m o s t   e f f e c t i v e   w a y   t o   c o n f i g u r e   t h e   k u b e l e t   m e a n s   d e d i c a t i n g   t h i s   f i l e s y s t e m   t o   K u b e r n e t e s   ( k u b e l e t )   d a t a . T h e   k u b e l e t   a l s o   w r i t e s   n o d e - l e v e l   c o n t a i n e r   l o g s   a n d   t r e a t s   t h e s e   s i m i l a r l y   t o   e p h e m e r a l   l o c a l   s t o r a g e . T h e   k u b e l e t   w r i t e s   l o g s   t o   f i l e s   i n s i d e   i t s   c o n f i g u r e d   l o g   d i r e c t o r y   ( / v a r / l o g   b y   d e f a u l t ) ;   a n d   h a s   a   b a s e   d i r e c t o r y   f o r   o t h e r   l o c a l l y   s t o r e d   d a t a   ( / v a r / l i b / k u b e l e t   b y   d e f a u l t ) . T y p i c a l l y ,   b o t h   / v a r / l i b / k u b e l e t   a n d   / v a r / l o g   a r e   o n   t h e   s y s t e m   r o o t   f i l e s y s t e m ,   a n d   t h e   k u b e l e t   i s   d e s i g n e d   w i t h   t h a t   l a y o u t   i n   m i n d . Y o u r   n o d e   c a n   h a v e   a s   m a n y   o t h e r   f i l e s y s t e m s ,   n o t   u s e d   f o r   K u b e r n e t e s ,   a s   y o u   l i k e . Y o u   h a v e   a   f i l e s y s t e m   o n   t h e   n o d e   t h a t   y o u ' r e   u s i n g   f o r   e p h e m e r a l   d a t a   t h a t   c o m e s   f r o m   r u n n i n g   P o d s :   l o g s ,   a n d   e m p t y D i r   v o l u m e s .   Y o u   c a n   u s e   t h i s   f i l e s y s t e m   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12659"
  },
  {
    "question": "What is Setting requests and limits for local ephemeral storage?",
    "answer": "Y o u   c a n   s p e c i f y   e p h e m e r a l - s t o r a g e   f o r   m a n a g i n g   l o c a l   e p h e m e r a l   s t o r a g e .   E a c h   c o n t a i n e r   o f   a   P o d   c a n   s p e c i f y   e i t h e r   o r   b o t h   o f   t h e   f o l l o w i n g :   s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . l i m i t s . e p h e m e r a l - s t o r a g e s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . r e q u e s t s . e p h e m e r a l - s t o r a g e   L i m i t s   a n d   r e q u e s t s   f o r   e p h e m e r a l - s t o r a g e   a r e   m e a s u r e d   i n   b y t e   q u a n t i t i e s .   Y o u   c a n   e x p r e s s   s t o r a g e   a s   a   p l a i n   i n t e g e r   o r   a s   a   f i x e d - p o i n t   n u m b e r   u s i n g   o n e   o f   t h e s e   s u f f i x e s :   E ,   P ,   T ,   G ,   M ,   k .   Y o u   c a n   a l s o   u s e   t h e   p o w e r - o f - t w o   e q u i v a l e n t s :   E i ,   P i ,   T i ,   G i ,   M i ,   K i .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   q u a n t i t i e s   a l l   r e p r e s e n t   r o u g h l y   t h e   s a m e   v a l u e :   1 2 8 9 7 4 8 4 8 1 2 9 e 6 1 2 9 M 1 2 3 M i   P a y   a t t e n t i o n   t o   t h e   c a s e   o f   t h e   s u f f i x e s .   I f   y o u   r e q u e s t   4 0 0 m   o f   e p h e m e r a l - s t o r a g e ,   t h i s   i s   a   r e q u e s t   f o r   0 . 4   b y t e s .   S o m e o n e   w h o   t y p e s   t h a t   p r o b a b l y   m e a n t   t o   a s k   f o r   4 0 0   m e b i b y t e s   ( 4 0 0 M i )   o r   4 0 0   m e g a b y t e s   ( 4 0 0 M ) .   I n   t h e   f o l l o w i n g   e x a m p l e ,   t h e   P o d   h a s   t w o   c o n t a i n e r s .   E a c h   c o n t a i n e r   h a s   a   r e q u e s t   o f   2 G i B   o f   l o c a l   e p h e m e r a l   s t o r a g e .   E a c h   c o n t a i n e r   h a s   a   l i m i t   o f   4 G i B   o f   l o c a l   e p h e m e r a l   s t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12660"
  },
  {
    "question": "What is How Pods with ephemeral-storage requests are scheduled?",
    "answer": "W h e n   y o u   c r e a t e   a   P o d ,   t h e   K u b e r n e t e s   s c h e d u l e r   s e l e c t s   a   n o d e   f o r   t h e   P o d   t o   r u n   o n .   E a c h   n o d e   h a s   a   m a x i m u m   a m o u n t   o f   l o c a l   e p h e m e r a l   s t o r a g e   i t   c a n   p r o v i d e   f o r   P o d s .   F o r   m o r e   i n f o r m a t i o n ,   s e e   N o d e   A l l o c a t a b l e .   T h e   s c h e d u l e r   e n s u r e s   t h a t   t h e   s u m   o f   t h e   r e s o u r c e   r e q u e s t s   o f   t h e   s c h e d u l e d   c o n t a i n e r s   i s   l e s s   t h a n   t h e   c a p a c i t y   o f   t h e   n o d e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12661"
  },
  {
    "question": "What is Ephemeral storage consumption management?",
    "answer": "I f   t h e   k u b e l e t   i s   m a n a g i n g   l o c a l   e p h e m e r a l   s t o r a g e   a s   a   r e s o u r c e ,   t h e n   t h e   k u b e l e t   m e a s u r e s   s t o r a g e   u s e   i n :   e m p t y D i r   v o l u m e s ,   e x c e p t   t m p f s   e m p t y D i r   v o l u m e s d i r e c t o r i e s   h o l d i n g   n o d e - l e v e l   l o g s w r i t e a b l e   c o n t a i n e r   l a y e r s   I f   a   P o d   i s   u s i n g   m o r e   e p h e m e r a l   s t o r a g e   t h a n   y o u   a l l o w   i t   t o ,   t h e   k u b e l e t   s e t s   a n   e v i c t i o n   s i g n a l   t h a t   t r i g g e r s   P o d   e v i c t i o n .   F o r   c o n t a i n e r - l e v e l   i s o l a t i o n ,   i f   a   c o n t a i n e r ' s   w r i t a b l e   l a y e r   a n d   l o g   u s a g e   e x c e e d s   i t s   s t o r a g e   l i m i t ,   t h e   k u b e l e t   m a r k s   t h e   P o d   f o r   e v i c t i o n .   F o r   p o d - l e v e l   i s o l a t i o n   t h e   k u b e l e t   w o r k s   o u t   a n   o v e r a l l   P o d   s t o r a g e   l i m i t   b y   s u m m i n g   t h e   l i m i t s   f o r   t h e   c o n t a i n e r s   i n   t h a t   P o d .   I n   t h i s   c a s e ,   i f   t h e   s u m   o f   t h e   l o c a l   e p h e m e r a l   s t o r a g e   u s a g e   f r o m   a l l   c o n t a i n e r s   a n d   a l s o   t h e   P o d ' s   e m p t y D i r   v o l u m e s   e x c e e d s   t h e   o v e r a l l   P o d   s t o r a g e   l i m i t ,   t h e n   t h e   k u b e l e t   a l s o   m a r k s   t h e   P o d   f o r   e v i c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12662"
  },
  {
    "question": "What is Caution:?",
    "answer": "I f   t h e   k u b e l e t   i s   n o t   m e a s u r i n g   l o c a l   e p h e m e r a l   s t o r a g e ,   t h e n   a   P o d   t h a t   e x c e e d s   i t s   l o c a l   s t o r a g e   l i m i t   w i l l   n o t   b e   e v i c t e d   f o r   b r e a c h i n g   l o c a l   s t o r a g e   r e s o u r c e   l i m i t s .   H o w e v e r ,   i f   t h e   f i l e s y s t e m   s p a c e   f o r   w r i t e a b l e   c o n t a i n e r   l a y e r s ,   n o d e - l e v e l   l o g s ,   o r   e m p t y D i r   v o l u m e s   f a l l s   l o w ,   t h e   n o d e   t a i n t s   i t s e l f   a s   s h o r t   o n   l o c a l   s t o r a g e   a n d   t h i s   t a i n t   t r i g g e r s   e v i c t i o n   f o r   a n y   P o d s   t h a t   d o n ' t   s p e c i f i c a l l y   t o l e r a t e   t h e   t a i n t .   S e e   t h e   s u p p o r t e d   c o n f i g u r a t i o n s   f o r   e p h e m e r a l   l o c a l   s t o r a g e .   T h e   k u b e l e t   s u p p o r t s   d i f f e r e n t   w a y s   t o   m e a s u r e   P o d   s t o r a g e   u s e :   T h e   k u b e l e t   p e r f o r m s   r e g u l a r ,   s c h e d u l e d   c h e c k s   t h a t   s c a n   e a c h   e m p t y D i r   v o l u m e ,   c o n t a i n e r   l o g   d i r e c t o r y ,   a n d   w r i t e a b l e   c o n t a i n e r   l a y e r . T h e   s c a n   m e a s u r e s   h o w   m u c h   s p a c e   i s   u s e d . N o t e : I n   t h i s   m o d e ,   t h e   k u b e l e t   d o e s   n o t   t r a c k   o p e n   f i l e   d e s c r i p t o r s   f o r   d e l e t e d   f i l e s . I f   y o u   ( o r   a   c o n t a i n e r )   c r e a t e   a   f i l e   i n s i d e   a n   e m p t y D i r   v o l u m e ,   s o m e t h i n g   t h e n   o p e n s   t h a t   f i l e ,   a n d   y o u   d e l e t e   t h e   f i l e   w h i l e   i t   i s   s t i l l   o p e n ,   t h e n   t h e   i n o d e   f o r   t h e   d e l e t e d   f i l e   s t a y s   u n t i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12663"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   t h i s   m o d e ,   t h e   k u b e l e t   d o e s   n o t   t r a c k   o p e n   f i l e   d e s c r i p t o r s   f o r   d e l e t e d   f i l e s .   I f   y o u   ( o r   a   c o n t a i n e r )   c r e a t e   a   f i l e   i n s i d e   a n   e m p t y D i r   v o l u m e ,   s o m e t h i n g   t h e n   o p e n s   t h a t   f i l e ,   a n d   y o u   d e l e t e   t h e   f i l e   w h i l e   i t   i s   s t i l l   o p e n ,   t h e n   t h e   i n o d e   f o r   t h e   d e l e t e d   f i l e   s t a y s   u n t i l   y o u   c l o s e   t h a t   f i l e   b u t   t h e   k u b e l e t   d o e s   n o t   c a t e g o r i z e   t h e   s p a c e   a s   i n   u s e .   F E A T U R E   S T A T E :   K u b e r n e t e s   v 1 . 3 1   [ b e t a ]   ( e n a b l e d   b y   d e f a u l t :   f a l s e ) P r o j e c t   q u o t a s   a r e   a n   o p e r a t i n g - s y s t e m   l e v e l   f e a t u r e   f o r   m a n a g i n g   s t o r a g e   u s e   o n   f i l e s y s t e m s .   W i t h   K u b e r n e t e s ,   y o u   c a n   e n a b l e   p r o j e c t   q u o t a s   f o r   m o n i t o r i n g   s t o r a g e   u s e .   M a k e   s u r e   t h a t   t h e   f i l e s y s t e m   b a c k i n g   t h e   e m p t y D i r   v o l u m e s ,   o n   t h e   n o d e ,   p r o v i d e s   p r o j e c t   q u o t a   s u p p o r t .   F o r   e x a m p l e ,   X F S   a n d   e x t 4 f s   o f f e r   p r o j e c t   q u o t a s . N o t e : P r o j e c t   q u o t a s   l e t   y o u   m o n i t o r   s t o r a g e   u s e ;   t h e y   d o   n o t   e n f o r c e   l i m i t s . K u b e r n e t e s   u s e s   p r o j e c t   I D s   s t a r t i n g   f r o m   1 0 4 8 5 7 6 .   T h e   I D s   i n   u s e   a r e   r e g i s t e r e d   i n   / e t c / p r o j e c t s   a n d   / e t c / p r o j i d .   I f   p r o j e c t   I D s   i n   t h i s   r a n g e   a r e   u s e d   f o r   o t h e r   p u r p o s e s   o n   t h e   s y s t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12664"
  },
  {
    "question": "What is Note:?",
    "answer": "K u b e r n e t e s   u s e s   p r o j e c t   I D s   s t a r t i n g   f r o m   1 0 4 8 5 7 6 .   T h e   I D s   i n   u s e   a r e   r e g i s t e r e d   i n   / e t c / p r o j e c t s   a n d   / e t c / p r o j i d .   I f   p r o j e c t   I D s   i n   t h i s   r a n g e   a r e   u s e d   f o r   o t h e r   p u r p o s e s   o n   t h e   s y s t e m ,   t h o s e   p r o j e c t   I D s   m u s t   b e   r e g i s t e r e d   i n   / e t c / p r o j e c t s   a n d   / e t c / p r o j i d   s o   t h a t   K u b e r n e t e s   d o e s   n o t   u s e   t h e m .   Q u o t a s   a r e   f a s t e r   a n d   m o r e   a c c u r a t e   t h a n   d i r e c t o r y   s c a n n i n g .   W h e n   a   d i r e c t o r y   i s   a s s i g n e d   t o   a   p r o j e c t ,   a l l   f i l e s   c r e a t e d   u n d e r   a   d i r e c t o r y   a r e   c r e a t e d   i n   t h a t   p r o j e c t ,   a n d   t h e   k e r n e l   m e r e l y   h a s   t o   k e e p   t r a c k   o f   h o w   m a n y   b l o c k s   a r e   i n   u s e   b y   f i l e s   i n   t h a t   p r o j e c t .   I f   a   f i l e   i s   c r e a t e d   a n d   d e l e t e d ,   b u t   h a s   a n   o p e n   f i l e   d e s c r i p t o r ,   i t   c o n t i n u e s   t o   c o n s u m e   s p a c e .   Q u o t a   t r a c k i n g   r e c o r d s   t h a t   s p a c e   a c c u r a t e l y   w h e r e a s   d i r e c t o r y   s c a n s   o v e r l o o k   t h e   s t o r a g e   u s e d   b y   d e l e t e d   f i l e s .   T o   u s e   q u o t a s   t o   t r a c k   a   p o d ' s   r e s o u r c e   u s a g e ,   t h e   p o d   m u s t   b e   i n   a   u s e r   n a m e s p a c e .   W i t h i n   u s e r   n a m e s p a c e s ,   t h e   k e r n e l   r e s t r i c t s   c h a n g e s   t o   p r o j e c t I D s   o n   t h e   f i l e s y s t e m ,   e n s u r i n g   t h e   r e l i a b i l i t y   o f   s t o r a g e   m e t r i c s   c a l c u l a t e d   b y   q ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12665"
  },
  {
    "question": "What is Extended resources?",
    "answer": "E x t e n d e d   r e s o u r c e s   a r e   f u l l y - q u a l i f i e d   r e s o u r c e   n a m e s   o u t s i d e   t h e   k u b e r n e t e s . i o   d o m a i n .   T h e y   a l l o w   c l u s t e r   o p e r a t o r s   t o   a d v e r t i s e   a n d   u s e r s   t o   c o n s u m e   t h e   n o n - K u b e r n e t e s - b u i l t - i n   r e s o u r c e s .   T h e r e   a r e   t w o   s t e p s   r e q u i r e d   t o   u s e   E x t e n d e d   R e s o u r c e s .   F i r s t ,   t h e   c l u s t e r   o p e r a t o r   m u s t   a d v e r t i s e   a n   E x t e n d e d   R e s o u r c e .   S e c o n d ,   u s e r s   m u s t   r e q u e s t   t h e   E x t e n d e d   R e s o u r c e   i n   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12666"
  },
  {
    "question": "What is Node-level extended resources?",
    "answer": "N o d e - l e v e l   e x t e n d e d   r e s o u r c e s   a r e   t i e d   t o   n o d e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12667"
  },
  {
    "question": "What is Device plugin managed resources?",
    "answer": "S e e   D e v i c e   P l u g i n   f o r   h o w   t o   a d v e r t i s e   d e v i c e   p l u g i n   m a n a g e d   r e s o u r c e s   o n   e a c h   n o d e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_5_12668"
  },
  {
    "question": "What is Other resources?",
    "answer": "T o   a d v e r t i s e   a   n e w   n o d e - l e v e l   e x t e n d e d   r e s o u r c e ,   t h e   c l u s t e r   o p e r a t o r   c a n   s u b m i t   a   P A T C H   H T T P   r e q u e s t   t o   t h e   A P I   s e r v e r   t o   s p e c i f y   t h e   a v a i l a b l e   q u a n t i t y   i n   t h e   s t a t u s . c a p a c i t y   f o r   a   n o d e   i n   t h e   c l u s t e r .   A f t e r   t h i s   o p e r a t i o n ,   t h e   n o d e ' s   s t a t u s . c a p a c i t y   w i l l   i n c l u d e   a   n e w   r e s o u r c e .   T h e   s t a t u s . a l l o c a t a b l e   f i e l d   i s   u p d a t e d   a u t o m a t i c a l l y   w i t h   t h e   n e w   r e s o u r c e   a s y n c h r o n o u s l y   b y   t h e   k u b e l e t .   B e c a u s e   t h e   s c h e d u l e r   u s e s   t h e   n o d e ' s   s t a t u s . a l l o c a t a b l e   v a l u e   w h e n   e v a l u a t i n g   P o d   f i t n e s s ,   t h e   s c h e d u l e r   o n l y   t a k e s   a c c o u n t   o f   t h e   n e w   v a l u e   a f t e r   t h a t   a s y n c h r o n o u s   u p d a t e .   T h e r e   m a y   b e   a   s h o r t   d e l a y   b e t w e e n   p a t c h i n g   t h e   n o d e   c a p a c i t y   w i t h   a   n e w   r e s o u r c e   a n d   t h e   t i m e   w h e n   t h e   f i r s t   P o d   t h a t   r e q u e s t s   t h e   r e s o u r c e   c a n   b e   s c h e d u l e d   o n   t h a t   n o d e .   E x a m p l e :   H e r e   i s   a n   e x a m p l e   s h o w i n g   h o w   t o   u s e   c u r l   t o   f o r m   a n   H T T P   r e q u e s t   t h a t   a d v e r t i s e s   f i v e   \" e x a m p l e . c o m / f o o \"   r e s o u r c e s   o n   n o d e   k 8 s - n o d e - 1   w h o s e   m a s t e r   i s   k 8 s - m a s t e r .   c u r l   - - h e a d e r   \" C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n - p a t c h + j s o n \"   \\   - - r e q u e s t   P A T C H   \\   - - d a t a   ' [ { \" o p \" : ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_5_12669"
  },
  {
    "question": "What is Cluster-level extended resources?",
    "answer": "C l u s t e r - l e v e l   e x t e n d e d   r e s o u r c e s   a r e   n o t   t i e d   t o   n o d e s .   T h e y   a r e   u s u a l l y   m a n a g e d   b y   s c h e d u l e r   e x t e n d e r s ,   w h i c h   h a n d l e   t h e   r e s o u r c e   c o n s u m p t i o n   a n d   r e s o u r c e   q u o t a .   Y o u   c a n   s p e c i f y   t h e   e x t e n d e d   r e s o u r c e s   t h a t   a r e   h a n d l e d   b y   s c h e d u l e r   e x t e n d e r s   i n   s c h e d u l e r   c o n f i g u r a t i o n   E x a m p l e :   T h e   f o l l o w i n g   c o n f i g u r a t i o n   f o r   a   s c h e d u l e r   p o l i c y   i n d i c a t e s   t h a t   t h e   c l u s t e r - l e v e l   e x t e n d e d   r e s o u r c e   \" e x a m p l e . c o m / f o o \"   i s   h a n d l e d   b y   t h e   s c h e d u l e r   e x t e n d e r .   T h e   s c h e d u l e r   s e n d s   a   P o d   t o   t h e   s c h e d u l e r   e x t e n d e r   o n l y   i f   t h e   P o d   r e q u e s t s   \" e x a m p l e . c o m / f o o \" . T h e   i g n o r e d B y S c h e d u l e r   f i e l d   s p e c i f i e s   t h a t   t h e   s c h e d u l e r   d o e s   n o t   c h e c k   t h e   \" e x a m p l e . c o m / f o o \"   r e s o u r c e   i n   i t s   P o d F i t s R e s o u r c e s   p r e d i c a t e .   {   \" k i n d \" :   \" P o l i c y \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" e x t e n d e r s \" :   [   {   \" u r l P r e f i x \" : \" < e x t e n d e r - e n d p o i n t > \" ,   \" b i n d V e r b \" :   \" b i n d \" ,   \" m a n a g e d R e s o u r c e s \" :   [   {   \" n a m e \" :   \" e x a m p l e . c o m / f o o \" ,   \" i g n o r e d B y S c h e d u l e r \" :   t r u e   }   ]   }   ]   }",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12670"
  },
  {
    "question": "What is Extended resources allocation by DRA?",
    "answer": "E x t e n d e d   r e s o u r c e s   a l l o c a t i o n   b y   D R A   a l l o w s   c l u s t e r   a d m i n i s t r a t o r s   t o   s p e c i f y   a n   e x t e n d e d R e s o u r c e N a m e   i n   D e v i c e C l a s s ,   t h e n   t h e   d e v i c e s   m a t c h i n g   t h e   D e v i c e C l a s s   c a n   b e   r e q u e s t e d   f r o m   a   p o d ' s   e x t e n d e d   r e s o u r c e   r e q u e s t s .   R e a d   m o r e   a b o u t   E x t e n d e d   R e s o u r c e   a l l o c a t i o n   b y   D R A .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12671"
  },
  {
    "question": "What is Consuming extended resources?",
    "answer": "U s e r s   c a n   c o n s u m e   e x t e n d e d   r e s o u r c e s   i n   P o d   s p e c s   l i k e   C P U   a n d   m e m o r y .   T h e   s c h e d u l e r   t a k e s   c a r e   o f   t h e   r e s o u r c e   a c c o u n t i n g   s o   t h a t   n o   m o r e   t h a n   t h e   a v a i l a b l e   a m o u n t   i s   s i m u l t a n e o u s l y   a l l o c a t e d   t o   P o d s .   T h e   A P I   s e r v e r   r e s t r i c t s   q u a n t i t i e s   o f   e x t e n d e d   r e s o u r c e s   t o   w h o l e   n u m b e r s .   E x a m p l e s   o f   v a l i d   q u a n t i t i e s   a r e   3 ,   3 0 0 0 m   a n d   3 K i .   E x a m p l e s   o f   i n v a l i d   q u a n t i t i e s   a r e   0 . 5   a n d   1 5 0 0 m   ( b e c a u s e   1 5 0 0 m   w o u l d   r e s u l t   i n   1 . 5 ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12672"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   c o n s u m e   a n   e x t e n d e d   r e s o u r c e   i n   a   P o d ,   i n c l u d e   t h e   r e s o u r c e   n a m e   a s   a   k e y   i n   t h e   s p e c . c o n t a i n e r s [ ] . r e s o u r c e s . l i m i t s   m a p   i n   t h e   c o n t a i n e r   s p e c .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12673"
  },
  {
    "question": "What is Note:?",
    "answer": "A   P o d   i s   s c h e d u l e d   o n l y   i f   a l l   o f   t h e   r e s o u r c e   r e q u e s t s   a r e   s a t i s f i e d ,   i n c l u d i n g   C P U ,   m e m o r y   a n d   a n y   e x t e n d e d   r e s o u r c e s .   T h e   P o d   r e m a i n s   i n   t h e   P E N D I N G   s t a t e   a s   l o n g   a s   t h e   r e s o u r c e   r e q u e s t   c a n n o t   b e   s a t i s f i e d .   E x a m p l e :   T h e   P o d   b e l o w   r e q u e s t s   2   C P U s   a n d   1   \" e x a m p l e . c o m / f o o \"   ( a n   e x t e n d e d   r e s o u r c e ) .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   m y - c o n t a i n e r   i m a g e :   m y i m a g e   r e s o u r c e s :   r e q u e s t s :   c p u :   2   e x a m p l e . c o m / f o o :   1   l i m i t s :   e x a m p l e . c o m / f o o :   1",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12674"
  },
  {
    "question": "What is PID limiting?",
    "answer": "P r o c e s s   I D   ( P I D )   l i m i t s   a l l o w   f o r   t h e   c o n f i g u r a t i o n   o f   a   k u b e l e t   t o   l i m i t   t h e   n u m b e r   o f   P I D s   t h a t   a   g i v e n   P o d   c a n   c o n s u m e .   S e e   P I D   L i m i t i n g   f o r   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12675"
  },
  {
    "question": "What is My Pods are pending with event message FailedScheduling?",
    "answer": "I f   t h e   s c h e d u l e r   c a n n o t   f i n d   a n y   n o d e   w h e r e   a   P o d   c a n   f i t ,   t h e   P o d   r e m a i n s   u n s c h e d u l e d   u n t i l   a   p l a c e   c a n   b e   f o u n d .   A n   E v e n t   i s   p r o d u c e d   e a c h   t i m e   t h e   s c h e d u l e r   f a i l s   t o   f i n d   a   p l a c e   f o r   t h e   P o d .   Y o u   c a n   u s e   k u b e c t l   t o   v i e w   t h e   e v e n t s   f o r   a   P o d ;   f o r   e x a m p l e :   k u b e c t l   d e s c r i b e   p o d   f r o n t e n d   |   g r e p   - A   9 9 9 9 9 9 9 9 9 9   E v e n t s   E v e n t s :   T y p e   R e a s o n   A g e   F r o m   M e s s a g e   - - - -   - - - - - -   - - - -   - - - -   - - - - - - -   W a r n i n g   F a i l e d S c h e d u l i n g   2 3 s   d e f a u l t - s c h e d u l e r   0 / 4 2   n o d e s   a v a i l a b l e :   i n s u f f i c i e n t   c p u   I n   t h e   p r e c e d i n g   e x a m p l e ,   t h e   P o d   n a m e d   \" f r o n t e n d \"   f a i l s   t o   b e   s c h e d u l e d   d u e   t o   i n s u f f i c i e n t   C P U   r e s o u r c e   o n   a n y   n o d e .   S i m i l a r   e r r o r   m e s s a g e s   c a n   a l s o   s u g g e s t   f a i l u r e   d u e   t o   i n s u f f i c i e n t   m e m o r y   ( P o d E x c e e d s F r e e M e m o r y ) .   I n   g e n e r a l ,   i f   a   P o d   i s   p e n d i n g   w i t h   a   m e s s a g e   o f   t h i s   t y p e ,   t h e r e   a r e   s e v e r a l   t h i n g s   t o   t r y :   A d d   m o r e   n o d e s   t o   t h e   c l u s t e r . T e r m i n a t e   u n n e e d e d   P o d s   t o   m a k e   r o o m   f o r   p e n d i n g   P o d s . C h e c k   t h a t   t h e   P o d   i s   n o t   l a r g e r   t h a n   a l l   t h e   n o d e s .   F o r   e x a m p l e ,   i f   a l l   t h e   n o d e s   h a v e   a   c a p a c i t y   o f   c p u :   1 ,   t h e n   a   P o d   w i t h   a   r e q u e s t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12676"
  },
  {
    "question": "What is My container is terminated?",
    "answer": "Y o u r   c o n t a i n e r   m i g h t   g e t   t e r m i n a t e d   b e c a u s e   i t   i s   r e s o u r c e - s t a r v e d .   T o   c h e c k   w h e t h e r   a   c o n t a i n e r   i s   b e i n g   k i l l e d   b e c a u s e   i t   i s   h i t t i n g   a   r e s o u r c e   l i m i t ,   c a l l   k u b e c t l   d e s c r i b e   p o d   o n   t h e   P o d   o f   i n t e r e s t :   k u b e c t l   d e s c r i b e   p o d   s i m m e m l e a k - h r a 9 9   T h e   o u t p u t   i s   s i m i l a r   t o :   N a m e :   s i m m e m l e a k - h r a 9 9   N a m e s p a c e :   d e f a u l t   I m a g e ( s ) :   s a a d a l i / s i m m e m l e a k   N o d e :   k u b e r n e t e s - n o d e - t f 0 f / 1 0 . 2 4 0 . 2 1 6 . 6 6   L a b e l s :   n a m e = s i m m e m l e a k   S t a t u s :   R u n n i n g   R e a s o n :   M e s s a g e :   I P :   1 0 . 2 4 4 . 2 . 7 5   C o n t a i n e r s :   s i m m e m l e a k :   I m a g e :   s a a d a l i / s i m m e m l e a k : l a t e s t   L i m i t s :   c p u :   1 0 0 m   m e m o r y :   5 0 M i   S t a t e :   R u n n i n g   S t a r t e d :   T u e ,   0 7   J u l   2 0 1 9   1 2 : 5 4 : 4 1   - 0 7 0 0   L a s t   S t a t e :   T e r m i n a t e d   R e a s o n :   O O M K i l l e d   E x i t   C o d e :   1 3 7   S t a r t e d :   F r i ,   0 7   J u l   2 0 1 9   1 2 : 5 4 : 3 0   - 0 7 0 0   F i n i s h e d :   F r i ,   0 7   J u l   2 0 1 9   1 2 : 5 4 : 3 3   - 0 7 0 0   R e a d y :   F a l s e   R e s t a r t   C o u n t :   5   C o n d i t i o n s :   T y p e   S t a t u s   R e a d y   F a l s e   E v e n t s :   T y p e   R e a s o n   A g e   F r o m   M e s s a g e   - - - -   - - - - - -   - - - -   - - - -   - - - - - - -   N o r m a l   S c h e d u l e d   4 2 s   d e f a u l t - s c h e d u l e r   S u c c e s s f u l l y   a s s i g n e d   s i m m e m l e a k - h r a 9 9   t o   k u b e r n e t e s - n o d e - t f 0 f   N o r m a l   P u l l e d   4 1 s   k u b e l e t   C o n t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12677"
  },
  {
    "question": "What is What's next?",
    "answer": "G e t   h a n d s - o n   e x p e r i e n c e   a s s i g n i n g   M e m o r y   r e s o u r c e s   t o   c o n t a i n e r s   a n d   P o d s . G e t   h a n d s - o n   e x p e r i e n c e   a s s i g n i n g   C P U   r e s o u r c e s   t o   c o n t a i n e r s   a n d   P o d s . R e a d   h o w   t h e   A P I   r e f e r e n c e   d e f i n e s   a   c o n t a i n e r   a n d   i t s   r e s o u r c e   r e q u i r e m e n t s R e a d   a b o u t   p r o j e c t   q u o t a s   i n   X F S R e a d   m o r e   a b o u t   t h e   k u b e - s c h e d u l e r   c o n f i g u r a t i o n   r e f e r e n c e   ( v 1 ) R e a d   m o r e   a b o u t   Q u a l i t y   o f   S e r v i c e   c l a s s e s   f o r   P o d s R e a d   m o r e   a b o u t   E x t e n d e d   R e s o u r c e   a l l o c a t i o n   b y   D R A",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12678"
  },
  {
    "question": "What is 7.6 - Organizing Cluster Access Using kubeconfig Files?",
    "answer": "U s e   k u b e c o n f i g   f i l e s   t o   o r g a n i z e   i n f o r m a t i o n   a b o u t   c l u s t e r s ,   u s e r s ,   n a m e s p a c e s ,   a n d   a u t h e n t i c a t i o n   m e c h a n i s m s .   T h e   k u b e c t l   c o m m a n d - l i n e   t o o l   u s e s   k u b e c o n f i g   f i l e s   t o   f i n d   t h e   i n f o r m a t i o n   i t   n e e d s   t o   c h o o s e   a   c l u s t e r   a n d   c o m m u n i c a t e   w i t h   t h e   A P I   s e r v e r   o f   a   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12679"
  },
  {
    "question": "What is Warning:?",
    "answer": "B y   d e f a u l t ,   k u b e c t l   l o o k s   f o r   a   f i l e   n a m e d   c o n f i g   i n   t h e   $ H O M E / . k u b e   d i r e c t o r y .   Y o u   c a n   s p e c i f y   o t h e r   k u b e c o n f i g   f i l e s   b y   s e t t i n g   t h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   o r   b y   s e t t i n g   t h e   - - k u b e c o n f i g   f l a g .   F o r   s t e p - b y - s t e p   i n s t r u c t i o n s   o n   c r e a t i n g   a n d   s p e c i f y i n g   k u b e c o n f i g   f i l e s ,   s e e   C o n f i g u r e   A c c e s s   t o   M u l t i p l e   C l u s t e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12680"
  },
  {
    "question": "What is Supporting multiple clusters, users, and authentication mechanisms?",
    "answer": "S u p p o s e   y o u   h a v e   s e v e r a l   c l u s t e r s ,   a n d   y o u r   u s e r s   a n d   c o m p o n e n t s   a u t h e n t i c a t e   i n   a   v a r i e t y   o f   w a y s .   F o r   e x a m p l e :   A   r u n n i n g   k u b e l e t   m i g h t   a u t h e n t i c a t e   u s i n g   c e r t i f i c a t e s . A   u s e r   m i g h t   a u t h e n t i c a t e   u s i n g   t o k e n s . A d m i n i s t r a t o r s   m i g h t   h a v e   s e t s   o f   c e r t i f i c a t e s   t h a t   t h e y   p r o v i d e   t o   i n d i v i d u a l   u s e r s .   W i t h   k u b e c o n f i g   f i l e s ,   y o u   c a n   o r g a n i z e   y o u r   c l u s t e r s ,   u s e r s ,   a n d   n a m e s p a c e s .   Y o u   c a n   a l s o   d e f i n e   c o n t e x t s   t o   q u i c k l y   a n d   e a s i l y   s w i t c h   b e t w e e n   c l u s t e r s   a n d   n a m e s p a c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12681"
  },
  {
    "question": "What is Context?",
    "answer": "A   c o n t e x t   e l e m e n t   i n   a   k u b e c o n f i g   f i l e   i s   u s e d   t o   g r o u p   a c c e s s   p a r a m e t e r s   u n d e r   a   c o n v e n i e n t   n a m e .   E a c h   c o n t e x t   h a s   t h r e e   p a r a m e t e r s :   c l u s t e r ,   n a m e s p a c e ,   a n d   u s e r .   B y   d e f a u l t ,   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   u s e s   p a r a m e t e r s   f r o m   t h e   c u r r e n t   c o n t e x t   t o   c o m m u n i c a t e   w i t h   t h e   c l u s t e r .   T o   c h o o s e   t h e   c u r r e n t   c o n t e x t :   k u b e c t l   c o n f i g   u s e - c o n t e x t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12682"
  },
  {
    "question": "What is The KUBECONFIG environment variable?",
    "answer": "T h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   h o l d s   a   l i s t   o f   k u b e c o n f i g   f i l e s .   F o r   L i n u x   a n d   M a c ,   t h e   l i s t   i s   c o l o n - d e l i m i t e d .   F o r   W i n d o w s ,   t h e   l i s t   i s   s e m i c o l o n - d e l i m i t e d .   T h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   i s   n o t   r e q u i r e d .   I f   t h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   d o e s n ' t   e x i s t ,   k u b e c t l   u s e s   t h e   d e f a u l t   k u b e c o n f i g   f i l e ,   $ H O M E / . k u b e / c o n f i g .   I f   t h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   d o e s   e x i s t ,   k u b e c t l   u s e s   a n   e f f e c t i v e   c o n f i g u r a t i o n   t h a t   i s   t h e   r e s u l t   o f   m e r g i n g   t h e   f i l e s   l i s t e d   i n   t h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12683"
  },
  {
    "question": "What is Merging kubeconfig files?",
    "answer": "T o   s e e   y o u r   c o n f i g u r a t i o n ,   e n t e r   t h i s   c o m m a n d :   k u b e c t l   c o n f i g   v i e w   A s   d e s c r i b e d   p r e v i o u s l y ,   t h e   o u t p u t   m i g h t   b e   f r o m   a   s i n g l e   k u b e c o n f i g   f i l e ,   o r   i t   m i g h t   b e   t h e   r e s u l t   o f   m e r g i n g   s e v e r a l   k u b e c o n f i g   f i l e s .   H e r e   a r e   t h e   r u l e s   t h a t   k u b e c t l   u s e s   w h e n   i t   m e r g e s   k u b e c o n f i g   f i l e s :   I f   t h e   - - k u b e c o n f i g   f l a g   i s   s e t ,   u s e   o n l y   t h e   s p e c i f i e d   f i l e .   D o   n o t   m e r g e .   O n l y   o n e   i n s t a n c e   o f   t h i s   f l a g   i s   a l l o w e d . O t h e r w i s e ,   i f   t h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   i s   s e t ,   u s e   i t   a s   a   l i s t   o f   f i l e s   t h a t   s h o u l d   b e   m e r g e d .   M e r g e   t h e   f i l e s   l i s t e d   i n   t h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   a c c o r d i n g   t o   t h e s e   r u l e s : I g n o r e   e m p t y   f i l e n a m e s . P r o d u c e   e r r o r s   f o r   f i l e s   w i t h   c o n t e n t   t h a t   c a n n o t   b e   d e s e r i a l i z e d . T h e   f i r s t   f i l e   t o   s e t   a   p a r t i c u l a r   v a l u e   o r   m a p   k e y   w i n s . N e v e r   c h a n g e   t h e   v a l u e   o r   m a p   k e y .   E x a m p l e :   P r e s e r v e   t h e   c o n t e x t   o f   t h e   f i r s t   f i l e   t o   s e t   c u r r e n t - c o n t e x t .   E x a m p l e :   I f   t w o   f i l e s   s p e c i f y   a   r e d - u s e r ,   u s e   o n l y   v a l u e s   f r o m   t h e   f i r s t   f i l e ' s   r e d - u s e r .   E v e n   i f   t h e   s e c o n d   f i l e   h a s   n o n - c o n f l i c t i n g   e n t r i e s   u n d e r   r e d - u s e r ,   d ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12684"
  },
  {
    "question": "What is File references?",
    "answer": "F i l e   a n d   p a t h   r e f e r e n c e s   i n   a   k u b e c o n f i g   f i l e   a r e   r e l a t i v e   t o   t h e   l o c a t i o n   o f   t h e   k u b e c o n f i g   f i l e .   F i l e   r e f e r e n c e s   o n   t h e   c o m m a n d   l i n e   a r e   r e l a t i v e   t o   t h e   c u r r e n t   w o r k i n g   d i r e c t o r y .   I n   $ H O M E / . k u b e / c o n f i g ,   r e l a t i v e   p a t h s   a r e   s t o r e d   r e l a t i v e l y ,   a n d   a b s o l u t e   p a t h s   a r e   s t o r e d   a b s o l u t e l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12685"
  },
  {
    "question": "What is Proxy?",
    "answer": "Y o u   c a n   c o n f i g u r e   k u b e c t l   t o   u s e   a   p r o x y   p e r   c l u s t e r   u s i n g   p r o x y - u r l   i n   y o u r   k u b e c o n f i g   f i l e ,   l i k e   t h i s :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g   c l u s t e r s :   -   c l u s t e r :   p r o x y - u r l :   h t t p : / / p r o x y . e x a m p l e . o r g : 3 1 2 8   s e r v e r :   h t t p s : / / k 8 s . e x a m p l e . o r g / k 8 s / c l u s t e r s / c - x x y y z z   n a m e :   d e v e l o p m e n t   u s e r s :   -   n a m e :   d e v e l o p e r   c o n t e x t s :   -   c o n t e x t :   n a m e :   d e v e l o p m e n t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12686"
  },
  {
    "question": "What is What's next?",
    "answer": "C o n f i g u r e   A c c e s s   t o   M u l t i p l e   C l u s t e r s k u b e c t l   c o n f i g",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12687"
  },
  {
    "question": "What is 7.7 - Resource Management for Windows nodes?",
    "answer": "T h i s   p a g e   o u t l i n e s   t h e   d i f f e r e n c e s   i n   h o w   r e s o u r c e s   a r e   m a n a g e d   b e t w e e n   L i n u x   a n d   W i n d o w s .   O n   L i n u x   n o d e s ,   c g r o u p s   a r e   u s e d   a s   a   p o d   b o u n d a r y   f o r   r e s o u r c e   c o n t r o l .   C o n t a i n e r s   a r e   c r e a t e d   w i t h i n   t h a t   b o u n d a r y   f o r   n e t w o r k ,   p r o c e s s   a n d   f i l e   s y s t e m   i s o l a t i o n .   T h e   L i n u x   c g r o u p   A P I s   c a n   b e   u s e d   t o   g a t h e r   C P U ,   I / O ,   a n d   m e m o r y   u s e   s t a t i s t i c s .   I n   c o n t r a s t ,   W i n d o w s   u s e s   a   j o b   o b j e c t   p e r   c o n t a i n e r   w i t h   a   s y s t e m   n a m e s p a c e   f i l t e r   t o   c o n t a i n   a l l   p r o c e s s e s   i n   a   c o n t a i n e r   a n d   p r o v i d e   l o g i c a l   i s o l a t i o n   f r o m   t h e   h o s t .   ( J o b   o b j e c t s   a r e   a   W i n d o w s   p r o c e s s   i s o l a t i o n   m e c h a n i s m   a n d   a r e   d i f f e r e n t   f r o m   w h a t   K u b e r n e t e s   r e f e r s   t o   a s   a   J o b ) .   T h e r e   i s   n o   w a y   t o   r u n   a   W i n d o w s   c o n t a i n e r   w i t h o u t   t h e   n a m e s p a c e   f i l t e r i n g   i n   p l a c e .   T h i s   m e a n s   t h a t   s y s t e m   p r i v i l e g e s   c a n n o t   b e   a s s e r t e d   i n   t h e   c o n t e x t   o f   t h e   h o s t ,   a n d   t h u s   p r i v i l e g e d   c o n t a i n e r s   a r e   n o t   a v a i l a b l e   o n   W i n d o w s .   C o n t a i n e r s   c a n n o t   a s s u m e   a n   i d e n t i t y   f r o m   t h e   h o s t   b e c a u s e   t h e   S e c u r i t y   A c c o u n t   M a n a g e r   ( S A M )   i s   s e p a r a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12688"
  },
  {
    "question": "What is Memory management?",
    "answer": "W i n d o w s   d o e s   n o t   h a v e   a n   o u t - o f - m e m o r y   p r o c e s s   k i l l e r   a s   L i n u x   d o e s .   W i n d o w s   a l w a y s   t r e a t s   a l l   u s e r - m o d e   m e m o r y   a l l o c a t i o n s   a s   v i r t u a l ,   a n d   p a g e f i l e s   a r e   m a n d a t o r y .   W i n d o w s   n o d e s   d o   n o t   o v e r c o m m i t   m e m o r y   f o r   p r o c e s s e s .   T h e   n e t   e f f e c t   i s   t h a t   W i n d o w s   w o n ' t   r e a c h   o u t   o f   m e m o r y   c o n d i t i o n s   t h e   s a m e   w a y   L i n u x   d o e s ,   a n d   p r o c e s s e s   p a g e   t o   d i s k   i n s t e a d   o f   b e i n g   s u b j e c t   t o   o u t   o f   m e m o r y   ( O O M )   t e r m i n a t i o n .   I f   m e m o r y   i s   o v e r - p r o v i s i o n e d   a n d   a l l   p h y s i c a l   m e m o r y   i s   e x h a u s t e d ,   t h e n   p a g i n g   c a n   s l o w   d o w n   p e r f o r m a n c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12689"
  },
  {
    "question": "What is CPU management?",
    "answer": "W i n d o w s   c a n   l i m i t   t h e   a m o u n t   o f   C P U   t i m e   a l l o c a t e d   f o r   d i f f e r e n t   p r o c e s s e s   b u t   c a n n o t   g u a r a n t e e   a   m i n i m u m   a m o u n t   o f   C P U   t i m e .   O n   W i n d o w s ,   t h e   k u b e l e t   s u p p o r t s   a   c o m m a n d - l i n e   f l a g   t o   s e t   t h e   s c h e d u l i n g   p r i o r i t y   o f   t h e   k u b e l e t   p r o c e s s :   - - w i n d o w s - p r i o r i t y c l a s s .   T h i s   f l a g   a l l o w s   t h e   k u b e l e t   p r o c e s s   t o   g e t   m o r e   C P U   t i m e   s l i c e s   w h e n   c o m p a r e d   t o   o t h e r   p r o c e s s e s   r u n n i n g   o n   t h e   W i n d o w s   h o s t .   M o r e   i n f o r m a t i o n   o n   t h e   a l l o w a b l e   v a l u e s   a n d   t h e i r   m e a n i n g   i s   a v a i l a b l e   a t   W i n d o w s   P r i o r i t y   C l a s s e s .   T o   e n s u r e   t h a t   r u n n i n g   P o d s   d o   n o t   s t a r v e   t h e   k u b e l e t   o f   C P U   c y c l e s ,   s e t   t h i s   f l a g   t o   A B O V E _ N O R M A L _ P R I O R I T Y _ C L A S S   o r   a b o v e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12690"
  },
  {
    "question": "What is Resource reservation?",
    "answer": "T o   a c c o u n t   f o r   m e m o r y   a n d   C P U   u s e d   b y   t h e   o p e r a t i n g   s y s t e m ,   t h e   c o n t a i n e r   r u n t i m e ,   a n d   b y   K u b e r n e t e s   h o s t   p r o c e s s e s   s u c h   a s   t h e   k u b e l e t ,   y o u   c a n   ( a n d   s h o u l d )   r e s e r v e   m e m o r y   a n d   C P U   r e s o u r c e s   w i t h   t h e   - - k u b e - r e s e r v e d   a n d / o r   - - s y s t e m - r e s e r v e d   k u b e l e t   f l a g s .   O n   W i n d o w s   t h e s e   v a l u e s   a r e   o n l y   u s e d   t o   c a l c u l a t e   t h e   n o d e ' s   a l l o c a t a b l e   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12691"
  },
  {
    "question": "What is Caution:?",
    "answer": "A s   y o u   d e p l o y   w o r k l o a d s ,   s e t   r e s o u r c e   m e m o r y   a n d   C P U   l i m i t s   o n   c o n t a i n e r s .   T h i s   a l s o   s u b t r a c t s   f r o m   N o d e A l l o c a t a b l e   a n d   h e l p s   t h e   c l u s t e r - w i d e   s c h e d u l e r   i n   d e t e r m i n i n g   w h i c h   p o d s   t o   p l a c e   o n   w h i c h   n o d e s .   S c h e d u l i n g   p o d s   w i t h o u t   l i m i t s   m a y   o v e r - p r o v i s i o n   t h e   W i n d o w s   n o d e s   a n d   i n   e x t r e m e   c a s e s   c a n   c a u s e   t h e   n o d e s   t o   b e c o m e   u n h e a l t h y .   O n   W i n d o w s ,   a   g o o d   p r a c t i c e   i s   t o   r e s e r v e   a t   l e a s t   2 G i B   o f   m e m o r y .   T o   d e t e r m i n e   h o w   m u c h   C P U   t o   r e s e r v e ,   i d e n t i f y   t h e   m a x i m u m   p o d   d e n s i t y   f o r   e a c h   n o d e   a n d   m o n i t o r   t h e   C P U   u s a g e   o f   t h e   s y s t e m   s e r v i c e s   r u n n i n g   t h e r e ,   t h e n   c h o o s e   a   v a l u e   t h a t   m e e t s   y o u r   w o r k l o a d   n e e d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12692"
  },
  {
    "question": "What is 8 - Security?",
    "answer": "T h i s   s e c t i o n   o f   t h e   K u b e r n e t e s   d o c u m e n t a t i o n   a i m s   t o   h e l p   y o u   l e a r n   t o   r u n   w o r k l o a d s   m o r e   s e c u r e l y ,   a n d   a b o u t   t h e   e s s e n t i a l   a s p e c t s   o f   k e e p i n g   a   K u b e r n e t e s   c l u s t e r   s e c u r e .   K u b e r n e t e s   i s   b a s e d   o n   a   c l o u d - n a t i v e   a r c h i t e c t u r e ,   a n d   d r a w s   o n   a d v i c e   f r o m   t h e   C N C F   a b o u t   g o o d   p r a c t i c e   f o r   c l o u d   n a t i v e   i n f o r m a t i o n   s e c u r i t y .   R e a d   C l o u d   N a t i v e   S e c u r i t y   a n d   K u b e r n e t e s   f o r   t h e   b r o a d e r   c o n t e x t   a b o u t   h o w   t o   s e c u r e   y o u r   c l u s t e r   a n d   t h e   a p p l i c a t i o n s   t h a t   y o u ' r e   r u n n i n g   o n   i t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12693"
  },
  {
    "question": "What is Kubernetes security mechanisms?",
    "answer": "K u b e r n e t e s   i n c l u d e s   s e v e r a l   A P I s   a n d   s e c u r i t y   c o n t r o l s ,   a s   w e l l   a s   w a y s   t o   d e f i n e   p o l i c i e s   t h a t   c a n   f o r m   p a r t   o f   h o w   y o u   m a n a g e   i n f o r m a t i o n   s e c u r i t y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12694"
  },
  {
    "question": "What is Control plane protection?",
    "answer": "A   k e y   s e c u r i t y   m e c h a n i s m   f o r   a n y   K u b e r n e t e s   c l u s t e r   i s   t o   c o n t r o l   a c c e s s   t o   t h e   K u b e r n e t e s   A P I .   K u b e r n e t e s   e x p e c t s   y o u   t o   c o n f i g u r e   a n d   u s e   T L S   t o   p r o v i d e   d a t a   e n c r y p t i o n   i n   t r a n s i t   w i t h i n   t h e   c o n t r o l   p l a n e ,   a n d   b e t w e e n   t h e   c o n t r o l   p l a n e   a n d   i t s   c l i e n t s .   Y o u   c a n   a l s o   e n a b l e   e n c r y p t i o n   a t   r e s t   f o r   t h e   d a t a   s t o r e d   w i t h i n   K u b e r n e t e s   c o n t r o l   p l a n e ;   t h i s   i s   s e p a r a t e   f r o m   u s i n g   e n c r y p t i o n   a t   r e s t   f o r   y o u r   o w n   w o r k l o a d s '   d a t a ,   w h i c h   m i g h t   a l s o   b e   a   g o o d   i d e a .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12695"
  },
  {
    "question": "What is Secrets?",
    "answer": "T h e   S e c r e t   A P I   p r o v i d e s   b a s i c   p r o t e c t i o n   f o r   c o n f i g u r a t i o n   v a l u e s   t h a t   r e q u i r e   c o n f i d e n t i a l i t y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12696"
  },
  {
    "question": "What is Workload protection?",
    "answer": "E n f o r c e   P o d   s e c u r i t y   s t a n d a r d s   t o   e n s u r e   t h a t   P o d s   a n d   t h e i r   c o n t a i n e r s   a r e   i s o l a t e d   a p p r o p r i a t e l y .   Y o u   c a n   a l s o   u s e   R u n t i m e C l a s s e s   t o   d e f i n e   c u s t o m   i s o l a t i o n   i f   y o u   n e e d   i t .   N e t w o r k   p o l i c i e s   l e t   y o u   c o n t r o l   n e t w o r k   t r a f f i c   b e t w e e n   P o d s ,   o r   b e t w e e n   P o d s   a n d   t h e   n e t w o r k   o u t s i d e   y o u r   c l u s t e r .   Y o u   c a n   d e p l o y   s e c u r i t y   c o n t r o l s   f r o m   t h e   w i d e r   e c o s y s t e m   t o   i m p l e m e n t   p r e v e n t a t i v e   o r   d e t e c t i v e   c o n t r o l s   a r o u n d   P o d s ,   t h e i r   c o n t a i n e r s ,   a n d   t h e   i m a g e s   t h a t   r u n   i n   t h e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12697"
  },
  {
    "question": "What is Admission control?",
    "answer": "A d m i s s i o n   c o n t r o l l e r s   a r e   p l u g i n s   t h a t   i n t e r c e p t   K u b e r n e t e s   A P I   r e q u e s t s   a n d   c a n   v a l i d a t e   o r   m u t a t e   t h e   r e q u e s t s   b a s e d   o n   s p e c i f i c   f i e l d s   i n   t h e   r e q u e s t .   T h o u g h t f u l l y   d e s i g n i n g   t h e s e   c o n t r o l l e r s   h e l p s   t o   a v o i d   u n i n t e n d e d   d i s r u p t i o n s   a s   K u b e r n e t e s   A P I s   c h a n g e   a c r o s s   v e r s i o n   u p d a t e s .   F o r   d e s i g n   c o n s i d e r a t i o n s ,   s e e   A d m i s s i o n   W e b h o o k   G o o d   P r a c t i c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12698"
  },
  {
    "question": "What is Auditing?",
    "answer": "K u b e r n e t e s   a u d i t   l o g g i n g   p r o v i d e s   a   s e c u r i t y - r e l e v a n t ,   c h r o n o l o g i c a l   s e t   o f   r e c o r d s   d o c u m e n t i n g   t h e   s e q u e n c e   o f   a c t i o n s   i n   a   c l u s t e r .   T h e   c l u s t e r   a u d i t s   t h e   a c t i v i t i e s   g e n e r a t e d   b y   u s e r s ,   b y   a p p l i c a t i o n s   t h a t   u s e   t h e   K u b e r n e t e s   A P I ,   a n d   b y   t h e   c o n t r o l   p l a n e   i t s e l f .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12699"
  },
  {
    "question": "What is Cloud provider security?",
    "answer": "I f   y o u   a r e   r u n n i n g   a   K u b e r n e t e s   c l u s t e r   o n   y o u r   o w n   h a r d w a r e   o r   a   d i f f e r e n t   c l o u d   p r o v i d e r ,   c o n s u l t   y o u r   d o c u m e n t a t i o n   f o r   s e c u r i t y   b e s t   p r a c t i c e s .   H e r e   a r e   l i n k s   t o   s o m e   o f   t h e   p o p u l a r   c l o u d   p r o v i d e r s '   s e c u r i t y   d o c u m e n t a t i o n :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12700"
  },
  {
    "question": "What is Policies?",
    "answer": "Y o u   c a n   d e f i n e   s e c u r i t y   p o l i c i e s   u s i n g   K u b e r n e t e s - n a t i v e   m e c h a n i s m s ,   s u c h   a s   N e t w o r k P o l i c y   ( d e c l a r a t i v e   c o n t r o l   o v e r   n e t w o r k   p a c k e t   f i l t e r i n g )   o r   V a l i d a t i n g A d m i s s i o n P o l i c y   ( d e c l a r a t i v e   r e s t r i c t i o n s   o n   w h a t   c h a n g e s   s o m e o n e   c a n   m a k e   u s i n g   t h e   K u b e r n e t e s   A P I ) .   H o w e v e r ,   y o u   c a n   a l s o   r e l y   o n   p o l i c y   i m p l e m e n t a t i o n s   f r o m   t h e   w i d e r   e c o s y s t e m   a r o u n d   K u b e r n e t e s .   K u b e r n e t e s   p r o v i d e s   e x t e n s i o n   m e c h a n i s m s   t o   l e t   t h o s e   e c o s y s t e m   p r o j e c t s   i m p l e m e n t   t h e i r   o w n   p o l i c y   c o n t r o l s   o n   s o u r c e   c o d e   r e v i e w ,   c o n t a i n e r   i m a g e   a p p r o v a l ,   A P I   a c c e s s   c o n t r o l s ,   n e t w o r k i n g ,   a n d   m o r e .   F o r   m o r e   i n f o r m a t i o n   a b o u t   p o l i c y   m e c h a n i s m s   a n d   K u b e r n e t e s ,   r e a d   P o l i c i e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12701"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   r e l a t e d   K u b e r n e t e s   s e c u r i t y   t o p i c s :   S e c u r i n g   y o u r   c l u s t e r K n o w n   v u l n e r a b i l i t i e s   i n   K u b e r n e t e s   ( a n d   l i n k s   t o   f u r t h e r   i n f o r m a t i o n ) D a t a   e n c r y p t i o n   i n   t r a n s i t   f o r   t h e   c o n t r o l   p l a n e D a t a   e n c r y p t i o n   a t   r e s t C o n t r o l l i n g   A c c e s s   t o   t h e   K u b e r n e t e s   A P I N e t w o r k   p o l i c i e s   f o r   P o d s S e c r e t s   i n   K u b e r n e t e s P o d   s e c u r i t y   s t a n d a r d s R u n t i m e C l a s s e s   L e a r n   t h e   c o n t e x t :   C l o u d   N a t i v e   S e c u r i t y   a n d   K u b e r n e t e s   G e t   c e r t i f i e d :   C e r t i f i e d   K u b e r n e t e s   S e c u r i t y   S p e c i a l i s t   c e r t i f i c a t i o n   a n d   o f f i c i a l   t r a i n i n g   c o u r s e .   R e a d   m o r e   i n   t h i s   s e c t i o n :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12702"
  },
  {
    "question": "What is 8.1 - Cloud Native Security and Kubernetes?",
    "answer": "K u b e r n e t e s   i s   b a s e d   o n   a   c l o u d - n a t i v e   a r c h i t e c t u r e ,   a n d   d r a w s   o n   a d v i c e   f r o m   t h e   C N C F   a b o u t   g o o d   p r a c t i c e   f o r   c l o u d   n a t i v e   i n f o r m a t i o n   s e c u r i t y .   R e a d   o n   t h r o u g h   t h i s   p a g e   f o r   a n   o v e r v i e w   o f   h o w   K u b e r n e t e s   i s   d e s i g n e d   t o   h e l p   y o u   d e p l o y   a   s e c u r e   c l o u d   n a t i v e   p l a t f o r m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12703"
  },
  {
    "question": "What is Cloud native information security?",
    "answer": "T h e   C N C F   w h i t e   p a p e r   o n   c l o u d   n a t i v e   s e c u r i t y   d e f i n e s   s e c u r i t y   c o n t r o l s   a n d   p r a c t i c e s   t h a t   a r e   a p p r o p r i a t e   t o   d i f f e r e n t   l i f e c y c l e   p h a s e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12704"
  },
  {
    "question": "What is Develop lifecycle phase?",
    "answer": "E n s u r e   t h e   i n t e g r i t y   o f   d e v e l o p m e n t   e n v i r o n m e n t s . D e s i g n   a p p l i c a t i o n s   f o l l o w i n g   g o o d   p r a c t i c e   f o r   i n f o r m a t i o n   s e c u r i t y ,   a p p r o p r i a t e   f o r   y o u r   c o n t e x t . C o n s i d e r   e n d   u s e r   s e c u r i t y   a s   p a r t   o f   s o l u t i o n   d e s i g n .   T o   a c h i e v e   t h i s ,   y o u   c a n :   A d o p t   a n   a r c h i t e c t u r e ,   s u c h   a s   z e r o   t r u s t ,   t h a t   m i n i m i z e s   a t t a c k   s u r f a c e s ,   e v e n   f o r   i n t e r n a l   t h r e a t s . D e f i n e   a   c o d e   r e v i e w   p r o c e s s   t h a t   c o n s i d e r s   s e c u r i t y   c o n c e r n s . B u i l d   a   t h r e a t   m o d e l   o f   y o u r   s y s t e m   o r   a p p l i c a t i o n   t h a t   i d e n t i f i e s   t r u s t   b o u n d a r i e s .   U s e   t h a t   t o   m o d e l   t o   i d e n t i f y   r i s k s   a n d   t o   h e l p   f i n d   w a y s   t o   t r e a t   t h o s e   r i s k s . I n c o r p o r a t e   a d v a n c e d   s e c u r i t y   a u t o m a t i o n ,   s u c h   a s   f u z z i n g   a n d   s e c u r i t y   c h a o s   e n g i n e e r i n g ,   w h e r e   i t ' s   j u s t i f i e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12705"
  },
  {
    "question": "What is Distribute lifecycle phase?",
    "answer": "E n s u r e   t h e   s e c u r i t y   o f   t h e   s u p p l y   c h a i n   f o r   c o n t a i n e r   i m a g e s   y o u   e x e c u t e . E n s u r e   t h e   s e c u r i t y   o f   t h e   s u p p l y   c h a i n   f o r   t h e   c l u s t e r   a n d   o t h e r   c o m p o n e n t s   t h a t   e x e c u t e   y o u r   a p p l i c a t i o n .   A n   e x a m p l e   o f   a n o t h e r   c o m p o n e n t   m i g h t   b e   a n   e x t e r n a l   d a t a b a s e   t h a t   y o u r   c l o u d - n a t i v e   a p p l i c a t i o n   u s e s   f o r   p e r s i s t e n c e .   T o   a c h i e v e   t h i s ,   y o u   c a n :   S c a n   c o n t a i n e r   i m a g e s   a n d   o t h e r   a r t i f a c t s   f o r   k n o w n   v u l n e r a b i l i t i e s . E n s u r e   t h a t   s o f t w a r e   d i s t r i b u t i o n   u s e s   e n c r y p t i o n   i n   t r a n s i t ,   w i t h   a   c h a i n   o f   t r u s t   f o r   t h e   s o f t w a r e   s o u r c e . A d o p t   a n d   f o l l o w   p r o c e s s e s   t o   u p d a t e   d e p e n d e n c i e s   w h e n   u p d a t e s   a r e   a v a i l a b l e ,   e s p e c i a l l y   i n   r e s p o n s e   t o   s e c u r i t y   a n n o u n c e m e n t s . U s e   v a l i d a t i o n   m e c h a n i s m s   s u c h   a s   d i g i t a l   c e r t i f i c a t e s   f o r   s u p p l y   c h a i n   a s s u r a n c e . S u b s c r i b e   t o   f e e d s   a n d   o t h e r   m e c h a n i s m s   t o   a l e r t   y o u   t o   s e c u r i t y   r i s k s . R e s t r i c t   a c c e s s   t o   a r t i f a c t s .   P l a c e   c o n t a i n e r   i m a g e s   i n   a   p r i v a t e   r e g i s t r y   t h a t   o n l y   a l l o w s   a u t h o r i z e d   c l i e n t s   t o   p u l l   i m a g e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12706"
  },
  {
    "question": "What is Deploy lifecycle phase?",
    "answer": "E n s u r e   a p p r o p r i a t e   r e s t r i c t i o n s   o n   w h a t   c a n   b e   d e p l o y e d ,   w h o   c a n   d e p l o y   i t ,   a n d   w h e r e   i t   c a n   b e   d e p l o y e d   t o .   Y o u   c a n   e n f o r c e   m e a s u r e s   f r o m   t h e   d i s t r i b u t e   p h a s e ,   s u c h   a s   v e r i f y i n g   t h e   c r y p t o g r a p h i c   i d e n t i t y   o f   c o n t a i n e r   i m a g e   a r t i f a c t s .   Y o u   c a n   d e p l o y   d i f f e r e n t   a p p l i c a t i o n s   a n d   c l u s t e r   c o m p o n e n t s   i n t o   d i f f e r e n t   n a m e s p a c e s .   C o n t a i n e r s   t h e m s e l v e s ,   a n d   n a m e s p a c e s ,   b o t h   p r o v i d e   i s o l a t i o n   m e c h a n i s m s   t h a t   a r e   r e l e v a n t   t o   i n f o r m a t i o n   s e c u r i t y .   W h e n   y o u   d e p l o y   K u b e r n e t e s ,   y o u   a l s o   s e t   t h e   f o u n d a t i o n   f o r   y o u r   a p p l i c a t i o n s '   r u n t i m e   e n v i r o n m e n t :   a   K u b e r n e t e s   c l u s t e r   ( o r   m u l t i p l e   c l u s t e r s ) .   T h a t   I T   i n f r a s t r u c t u r e   m u s t   p r o v i d e   t h e   s e c u r i t y   g u a r a n t e e s   t h a t   h i g h e r   l a y e r s   e x p e c t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12707"
  },
  {
    "question": "What is Runtime lifecycle phase?",
    "answer": "T h e   R u n t i m e   p h a s e   c o m p r i s e s   t h r e e   c r i t i c a l   a r e a s :   a c c e s s ,   c o m p u t e ,   a n d   s t o r a g e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12708"
  },
  {
    "question": "What is Runtime protection: access?",
    "answer": "T h e   K u b e r n e t e s   A P I   i s   w h a t   m a k e s   y o u r   c l u s t e r   w o r k .   P r o t e c t i n g   t h i s   A P I   i s   k e y   t o   p r o v i d i n g   e f f e c t i v e   c l u s t e r   s e c u r i t y .   O t h e r   p a g e s   i n   t h e   K u b e r n e t e s   d o c u m e n t a t i o n   h a v e   m o r e   d e t a i l   a b o u t   h o w   t o   s e t   u p   s p e c i f i c   a s p e c t s   o f   a c c e s s   c o n t r o l .   T h e   s e c u r i t y   c h e c k l i s t   h a s   a   s e t   o f   s u g g e s t e d   b a s i c   c h e c k s   f o r   y o u r   c l u s t e r .   B e y o n d   t h a t ,   s e c u r i n g   y o u r   c l u s t e r   m e a n s   i m p l e m e n t i n g   e f f e c t i v e   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n   f o r   A P I   a c c e s s .   U s e   S e r v i c e A c c o u n t s   t o   p r o v i d e   a n d   m a n a g e   s e c u r i t y   i d e n t i t i e s   f o r   w o r k l o a d s   a n d   c l u s t e r   c o m p o n e n t s .   K u b e r n e t e s   u s e s   T L S   t o   p r o t e c t   A P I   t r a f f i c ;   m a k e   s u r e   t o   d e p l o y   t h e   c l u s t e r   u s i n g   T L S   ( i n c l u d i n g   f o r   t r a f f i c   b e t w e e n   n o d e s   a n d   t h e   c o n t r o l   p l a n e ) ,   a n d   p r o t e c t   t h e   e n c r y p t i o n   k e y s .   I f   y o u   u s e   K u b e r n e t e s '   o w n   A P I   f o r   C e r t i f i c a t e S i g n i n g R e q u e s t s ,   p a y   s p e c i a l   a t t e n t i o n   t o   r e s t r i c t i n g   m i s u s e   t h e r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12709"
  },
  {
    "question": "What is Runtime protection: compute?",
    "answer": "C o n t a i n e r s   p r o v i d e   t w o   t h i n g s :   i s o l a t i o n   b e t w e e n   d i f f e r e n t   a p p l i c a t i o n s ,   a n d   a   m e c h a n i s m   t o   c o m b i n e   t h o s e   i s o l a t e d   a p p l i c a t i o n s   t o   r u n   o n   t h e   s a m e   h o s t   c o m p u t e r .   T h o s e   t w o   a s p e c t s ,   i s o l a t i o n   a n d   a g g r e g a t i o n ,   m e a n   t h a t   r u n t i m e   s e c u r i t y   i n v o l v e s   i d e n t i f y i n g   t r a d e - o f f s   a n d   f i n d i n g   a n   a p p r o p r i a t e   b a l a n c e .   K u b e r n e t e s   r e l i e s   o n   a   c o n t a i n e r   r u n t i m e   t o   a c t u a l l y   s e t   u p   a n d   r u n   c o n t a i n e r s .   T h e   K u b e r n e t e s   p r o j e c t   d o e s   n o t   r e c o m m e n d   a   s p e c i f i c   c o n t a i n e r   r u n t i m e   a n d   y o u   s h o u l d   m a k e   s u r e   t h a t   t h e   r u n t i m e ( s )   t h a t   y o u   c h o o s e   m e e t   y o u r   i n f o r m a t i o n   s e c u r i t y   n e e d s .   T o   p r o t e c t   y o u r   c o m p u t e   a t   r u n t i m e ,   y o u   c a n :   E n f o r c e   P o d   s e c u r i t y   s t a n d a r d s   f o r   a p p l i c a t i o n s ,   t o   h e l p   e n s u r e   t h e y   r u n   w i t h   o n l y   t h e   n e c e s s a r y   p r i v i l e g e s . R u n   a   s p e c i a l i z e d   o p e r a t i n g   s y s t e m   o n   y o u r   n o d e s   t h a t   i s   d e s i g n e d   s p e c i f i c a l l y   f o r   r u n n i n g   c o n t a i n e r i z e d   w o r k l o a d s .   T h i s   i s   t y p i c a l l y   b a s e d   o n   a   r e a d - o n l y   o p e r a t i n g   s y s t e m   ( i m m u t a b l e   i m a g e )   t h a t   p r o v i d e s   o n l y   t h e   s e r v i c e s   e s s e n t i a l   f o r   r u n n i n g   c o n t a i n e r s . C o n t a i n e r - s p e c i f i c   o p e r a t i n g   s y s t e m s   h e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12710"
  },
  {
    "question": "What is Runtime protection: storage?",
    "answer": "T o   p r o t e c t   s t o r a g e   f o r   y o u r   c l u s t e r   a n d   t h e   a p p l i c a t i o n s   t h a t   r u n   t h e r e ,   y o u   c a n :   I n t e g r a t e   y o u r   c l u s t e r   w i t h   a n   e x t e r n a l   s t o r a g e   p l u g i n   t h a t   p r o v i d e s   e n c r y p t i o n   a t   r e s t   f o r   v o l u m e s . E n a b l e   e n c r y p t i o n   a t   r e s t   f o r   A P I   o b j e c t s . P r o t e c t   d a t a   d u r a b i l i t y   u s i n g   b a c k u p s .   V e r i f y   t h a t   y o u   c a n   r e s t o r e   t h e s e ,   w h e n e v e r   y o u   n e e d   t o . A u t h e n t i c a t e   c o n n e c t i o n s   b e t w e e n   c l u s t e r   n o d e s   a n d   a n y   n e t w o r k   s t o r a g e   t h e y   r e l y   u p o n . I m p l e m e n t   d a t a   e n c r y p t i o n   w i t h i n   y o u r   o w n   a p p l i c a t i o n .   F o r   e n c r y p t i o n   k e y s ,   g e n e r a t i n g   t h e s e   w i t h i n   s p e c i a l i z e d   h a r d w a r e   p r o v i d e s   t h e   b e s t   p r o t e c t i o n   a g a i n s t   d i s c l o s u r e   r i s k s .   A   h a r d w a r e   s e c u r i t y   m o d u l e   c a n   l e t   y o u   p e r f o r m   c r y p t o g r a p h i c   o p e r a t i o n s   w i t h o u t   a l l o w i n g   t h e   s e c u r i t y   k e y   t o   b e   c o p i e d   e l s e w h e r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12711"
  },
  {
    "question": "What is Networking and security?",
    "answer": "Y o u   s h o u l d   a l s o   c o n s i d e r   n e t w o r k   s e c u r i t y   m e a s u r e s ,   s u c h   a s   N e t w o r k P o l i c y   o r   a   s e r v i c e   m e s h .   S o m e   n e t w o r k   p l u g i n s   f o r   K u b e r n e t e s   p r o v i d e   e n c r y p t i o n   f o r   y o u r   c l u s t e r   n e t w o r k ,   u s i n g   t e c h n o l o g i e s   s u c h   a s   a   v i r t u a l   p r i v a t e   n e t w o r k   ( V P N )   o v e r l a y .   B y   d e s i g n ,   K u b e r n e t e s   l e t s   y o u   u s e   y o u r   o w n   n e t w o r k i n g   p l u g i n   f o r   y o u r   c l u s t e r   ( i f   y o u   u s e   m a n a g e d   K u b e r n e t e s ,   t h e   p e r s o n   o r   o r g a n i z a t i o n   m a n a g i n g   y o u r   c l u s t e r   m a y   h a v e   c h o s e n   a   n e t w o r k   p l u g i n   f o r   y o u ) .   T h e   n e t w o r k   p l u g i n   y o u   c h o o s e   a n d   t h e   w a y   y o u   i n t e g r a t e   i t   c a n   h a v e   a   s t r o n g   i m p a c t   o n   t h e   s e c u r i t y   o f   i n f o r m a t i o n   i n   t r a n s i t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12712"
  },
  {
    "question": "What is Observability and runtime security?",
    "answer": "K u b e r n e t e s   l e t s   y o u   e x t e n d   y o u r   c l u s t e r   w i t h   e x t r a   t o o l i n g .   Y o u   c a n   s e t   u p   t h i r d   p a r t y   s o l u t i o n s   t o   h e l p   y o u   m o n i t o r   o r   t r o u b l e s h o o t   y o u r   a p p l i c a t i o n s   a n d   t h e   c l u s t e r s   t h e y   a r e   r u n n i n g .   Y o u   a l s o   g e t   s o m e   b a s i c   o b s e r v a b i l i t y   f e a t u r e s   b u i l t   i n   t o   K u b e r n e t e s   i t s e l f .   Y o u r   c o d e   r u n n i n g   i n   c o n t a i n e r s   c a n   g e n e r a t e   l o g s ,   p u b l i s h   m e t r i c s   o r   p r o v i d e   o t h e r   o b s e r v a b i l i t y   d a t a ;   a t   d e p l o y   t i m e ,   y o u   n e e d   t o   m a k e   s u r e   y o u r   c l u s t e r   p r o v i d e s   a n   a p p r o p r i a t e   l e v e l   o f   p r o t e c t i o n   t h e r e .   I f   y o u   s e t   u p   a   m e t r i c s   d a s h b o a r d   o r   s o m e t h i n g   s i m i l a r ,   r e v i e w   t h e   c h a i n   o f   c o m p o n e n t s   t h a t   p o p u l a t e   d a t a   i n t o   t h a t   d a s h b o a r d ,   a s   w e l l   a s   t h e   d a s h b o a r d   i t s e l f .   M a k e   s u r e   t h a t   t h e   w h o l e   c h a i n   i s   d e s i g n e d   w i t h   e n o u g h   r e s i l i e n c e   a n d   e n o u g h   i n t e g r i t y   p r o t e c t i o n   t h a t   y o u   c a n   r e l y   o n   i t   e v e n   d u r i n g   a n   i n c i d e n t   w h e r e   y o u r   c l u s t e r   m i g h t   b e   d e g r a d e d .   W h e r e   a p p r o p r i a t e ,   d e p l o y   s e c u r i t y   m e a s u r e s   b e l o w   t h e   l e v e l   o f   K u b e r n e t e s   i t s e l f ,   s u c h   a s   c r y p t o g r a p h i c a l l y   m e a s u r e d   b o o t ,   o r   a u t h e n t i c a t e d   d i s t r i b u t i o n   o f   t i m e   ( w h i c h   h e l p s   e n s u r e   t h e   f ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12713"
  },
  {
    "question": "What is Cloud native security?",
    "answer": "C N C F   w h i t e   p a p e r   o n   c l o u d   n a t i v e   s e c u r i t y . C N C F   w h i t e   p a p e r   o n   g o o d   p r a c t i c e s   f o r   s e c u r i n g   a   s o f t w a r e   s u p p l y   c h a i n . F i x i n g   t h e   K u b e r n e t e s   c l u s t e r f * * k :   U n d e r s t a n d i n g   s e c u r i t y   f r o m   t h e   k e r n e l   u p   ( F O S D E M   2 0 2 0 ) K u b e r n e t e s   S e c u r i t y   B e s t   P r a c t i c e s   ( K u b e r n e t e s   F o r u m   S e o u l   2 0 1 9 ) T o w a r d s   M e a s u r e d   B o o t   O u t   o f   t h e   B o x   ( L i n u x   S e c u r i t y   S u m m i t   2 0 1 6 )",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12714"
  },
  {
    "question": "What is Kubernetes and information security?",
    "answer": "K u b e r n e t e s   s e c u r i t y S e c u r i n g   y o u r   c l u s t e r D a t a   e n c r y p t i o n   i n   t r a n s i t   f o r   t h e   c o n t r o l   p l a n e D a t a   e n c r y p t i o n   a t   r e s t S e c r e t s   i n   K u b e r n e t e s C o n t r o l l i n g   A c c e s s   t o   t h e   K u b e r n e t e s   A P I N e t w o r k   p o l i c i e s   f o r   P o d s P o d   s e c u r i t y   s t a n d a r d s R u n t i m e C l a s s e s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12715"
  },
  {
    "question": "What is 8.2 - Pod Security Standards?",
    "answer": "T h e   P o d   S e c u r i t y   S t a n d a r d s   d e f i n e   t h r e e   d i f f e r e n t   p o l i c i e s   t o   b r o a d l y   c o v e r   t h e   s e c u r i t y   s p e c t r u m .   T h e s e   p o l i c i e s   a r e   c u m u l a t i v e   a n d   r a n g e   f r o m   h i g h l y - p e r m i s s i v e   t o   h i g h l y - r e s t r i c t i v e .   T h i s   g u i d e   o u t l i n e s   t h e   r e q u i r e m e n t s   o f   e a c h   p o l i c y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12716"
  },
  {
    "question": "What is Privileged?",
    "answer": "T h e   P r i v i l e g e d   p o l i c y   i s   p u r p o s e l y - o p e n ,   a n d   e n t i r e l y   u n r e s t r i c t e d .   T h i s   t y p e   o f   p o l i c y   i s   t y p i c a l l y   a i m e d   a t   s y s t e m -   a n d   i n f r a s t r u c t u r e - l e v e l   w o r k l o a d s   m a n a g e d   b y   p r i v i l e g e d ,   t r u s t e d   u s e r s .   T h e   P r i v i l e g e d   p o l i c y   i s   d e f i n e d   b y   a n   a b s e n c e   o f   r e s t r i c t i o n s .   I f   y o u   d e f i n e   a   P o d   w h e r e   t h e   P r i v i l e g e d   s e c u r i t y   p o l i c y   a p p l i e s ,   t h e   P o d   y o u   d e f i n e   i s   a b l e   t o   b y p a s s   t y p i c a l   c o n t a i n e r   i s o l a t i o n   m e c h a n i s m s .   F o r   e x a m p l e ,   y o u   c a n   d e f i n e   a   P o d   t h a t   h a s   a c c e s s   t o   t h e   n o d e ' s   h o s t   n e t w o r k .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12717"
  },
  {
    "question": "What is Baseline?",
    "answer": "T h e   B a s e l i n e   p o l i c y   i s   a i m e d   a t   e a s e   o f   a d o p t i o n   f o r   c o m m o n   c o n t a i n e r i z e d   w o r k l o a d s   w h i l e   p r e v e n t i n g   k n o w n   p r i v i l e g e   e s c a l a t i o n s .   T h i s   p o l i c y   i s   t a r g e t e d   a t   a p p l i c a t i o n   o p e r a t o r s   a n d   d e v e l o p e r s   o f   n o n - c r i t i c a l   a p p l i c a t i o n s .   T h e   f o l l o w i n g   l i s t e d   c o n t r o l s   s h o u l d   b e   e n f o r c e d / d i s a l l o w e d :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12718"
  },
  {
    "question": "What is Note:?",
    "answer": "W i n d o w s   P o d s   o f f e r   t h e   a b i l i t y   t o   r u n   H o s t P r o c e s s   c o n t a i n e r s   w h i c h   e n a b l e s   p r i v i l e g e d   a c c e s s   t o   t h e   W i n d o w s   h o s t   m a c h i n e .   P r i v i l e g e d   a c c e s s   t o   t h e   h o s t   i s   d i s a l l o w e d   i n   t h e   B a s e l i n e   p o l i c y . F E A T U R E   S T A T E :   K u b e r n e t e s   v 1 . 2 6   [ s t a b l e ]   R e s t r i c t e d   F i e l d s   s p e c . s e c u r i t y C o n t e x t . w i n d o w s O p t i o n s . h o s t P r o c e s s s p e c . c o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . w i n d o w s O p t i o n s . h o s t P r o c e s s s p e c . i n i t C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . w i n d o w s O p t i o n s . h o s t P r o c e s s s p e c . e p h e m e r a l C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . w i n d o w s O p t i o n s . h o s t P r o c e s s   A l l o w e d   V a l u e s   U n d e f i n e d / n i l f a l s e   S h a r i n g   t h e   h o s t   n a m e s p a c e s   m u s t   b e   d i s a l l o w e d .   R e s t r i c t e d   F i e l d s   s p e c . h o s t N e t w o r k s p e c . h o s t P I D s p e c . h o s t I P C   A l l o w e d   V a l u e s   U n d e f i n e d / n i l f a l s e   P r i v i l e g e d   P o d s   d i s a b l e   m o s t   s e c u r i t y   m e c h a n i s m s   a n d   m u s t   b e   d i s a l l o w e d .   R e s t r i c t e d   F i e l d s   s p e c . c o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . p r i v i l e g e d s p e c . i n i t C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . p r i v i l e g e d s p e c . e p h e m e r a l C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . p r i v i l e g e d   A l l o w e d   V a l u e s   U n d e f i n e d / n i l f a l s e   A d d i n g   a d d i t i o n a l   c a p a b i l i t i e s   b e y o n d   t h o s e   l i s t e d   b e l o w   m u ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12719"
  },
  {
    "question": "What is Restricted?",
    "answer": "T h e   R e s t r i c t e d   p o l i c y   i s   a i m e d   a t   e n f o r c i n g   c u r r e n t   P o d   h a r d e n i n g   b e s t   p r a c t i c e s ,   a t   t h e   e x p e n s e   o f   s o m e   c o m p a t i b i l i t y .   I t   i s   t a r g e t e d   a t   o p e r a t o r s   a n d   d e v e l o p e r s   o f   s e c u r i t y - c r i t i c a l   a p p l i c a t i o n s ,   a s   w e l l   a s   l o w e r - t r u s t   u s e r s .   T h e   f o l l o w i n g   l i s t e d   c o n t r o l s   s h o u l d   b e   e n f o r c e d / d i s a l l o w e d :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12720"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   R e s t r i c t e d   p o l i c y   o n l y   p e r m i t s   t h e   f o l l o w i n g   v o l u m e   t y p e s .   R e s t r i c t e d   F i e l d s   s p e c . v o l u m e s [ * ]   A l l o w e d   V a l u e s   s p e c . v o l u m e s [ * ] . c o n f i g M a p s p e c . v o l u m e s [ * ] . c s i s p e c . v o l u m e s [ * ] . d o w n w a r d A P I s p e c . v o l u m e s [ * ] . e m p t y D i r s p e c . v o l u m e s [ * ] . e p h e m e r a l s p e c . v o l u m e s [ * ] . p e r s i s t e n t V o l u m e C l a i m s p e c . v o l u m e s [ * ] . p r o j e c t e d s p e c . v o l u m e s [ * ] . s e c r e t   P r i v i l e g e   e s c a l a t i o n   ( s u c h   a s   v i a   s e t - u s e r - I D   o r   s e t - g r o u p - I D   f i l e   m o d e )   s h o u l d   n o t   b e   a l l o w e d .   T h i s   i s   L i n u x   o n l y   p o l i c y   i n   v 1 . 2 5 +   ( s p e c . o s . n a m e   ! =   w i n d o w s )   R e s t r i c t e d   F i e l d s   s p e c . c o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . a l l o w P r i v i l e g e E s c a l a t i o n s p e c . i n i t C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . a l l o w P r i v i l e g e E s c a l a t i o n s p e c . e p h e m e r a l C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . a l l o w P r i v i l e g e E s c a l a t i o n   A l l o w e d   V a l u e s   f a l s e   C o n t a i n e r s   m u s t   b e   r e q u i r e d   t o   r u n   a s   n o n - r o o t   u s e r s .   R e s t r i c t e d   F i e l d s   s p e c . s e c u r i t y C o n t e x t . r u n A s N o n R o o t s p e c . c o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . r u n A s N o n R o o t s p e c . i n i t C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . r u n A s N o n R o o t s p e c . e p h e m e r a l C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . r u n A s N o n R o o t   A l l o w e d   V a l u e s   t r u e   C o n t a i n e r s   m u s t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12721"
  },
  {
    "question": "What is Policy Instantiation?",
    "answer": "D e c o u p l i n g   p o l i c y   d e f i n i t i o n   f r o m   p o l i c y   i n s t a n t i a t i o n   a l l o w s   f o r   a   c o m m o n   u n d e r s t a n d i n g   a n d   c o n s i s t e n t   l a n g u a g e   o f   p o l i c i e s   a c r o s s   c l u s t e r s ,   i n d e p e n d e n t   o f   t h e   u n d e r l y i n g   e n f o r c e m e n t   m e c h a n i s m .   A s   m e c h a n i s m s   m a t u r e ,   t h e y   w i l l   b e   d e f i n e d   b e l o w   o n   a   p e r - p o l i c y   b a s i s .   T h e   m e t h o d s   o f   e n f o r c e m e n t   o f   i n d i v i d u a l   p o l i c i e s   a r e   n o t   d e f i n e d   h e r e .   P o d   S e c u r i t y   A d m i s s i o n   C o n t r o l l e r   P r i v i l e g e d   n a m e s p a c e B a s e l i n e   n a m e s p a c e R e s t r i c t e d   n a m e s p a c e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12722"
  },
  {
    "question": "What is Alternatives?",
    "answer": "O t h e r   a l t e r n a t i v e s   f o r   e n f o r c i n g   p o l i c i e s   a r e   b e i n g   d e v e l o p e d   i n   t h e   K u b e r n e t e s   e c o s y s t e m ,   s u c h   a s :   K u b e w a r d e n K y v e r n o O P A   G a t e k e e p e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12723"
  },
  {
    "question": "What is Pod OS field?",
    "answer": "K u b e r n e t e s   l e t s   y o u   u s e   n o d e s   t h a t   r u n   e i t h e r   L i n u x   o r   W i n d o w s .   Y o u   c a n   m i x   b o t h   k i n d s   o f   n o d e   i n   o n e   c l u s t e r .   W i n d o w s   i n   K u b e r n e t e s   h a s   s o m e   l i m i t a t i o n s   a n d   d i f f e r e n t i a t o r s   f r o m   L i n u x - b a s e d   w o r k l o a d s .   S p e c i f i c a l l y ,   m a n y   o f   t h e   P o d   s e c u r i t y C o n t e x t   f i e l d s   h a v e   n o   e f f e c t   o n   W i n d o w s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12724"
  },
  {
    "question": "What is Restricted Pod Security Standard changes?",
    "answer": "A n o t h e r   i m p o r t a n t   c h a n g e ,   m a d e   i n   K u b e r n e t e s   v 1 . 2 5   i s   t h a t   t h e   R e s t r i c t e d   p o l i c y   h a s   b e e n   u p d a t e d   t o   u s e   t h e   p o d . s p e c . o s . n a m e   f i e l d .   B a s e d   o n   t h e   O S   n a m e ,   c e r t a i n   p o l i c i e s   t h a t   a r e   s p e c i f i c   t o   a   p a r t i c u l a r   O S   c a n   b e   r e l a x e d   f o r   t h e   o t h e r   O S .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12725"
  },
  {
    "question": "What is OS-specific policy controls?",
    "answer": "R e s t r i c t i o n s   o n   t h e   f o l l o w i n g   c o n t r o l s   a r e   o n l y   r e q u i r e d   i f   . s p e c . o s . n a m e   i s   n o t   w i n d o w s :   P r i v i l e g e   E s c a l a t i o n S e c c o m p L i n u x   C a p a b i l i t i e s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12726"
  },
  {
    "question": "What is User namespaces?",
    "answer": "U s e r   N a m e s p a c e s   a r e   a   L i n u x - o n l y   f e a t u r e   t o   r u n   w o r k l o a d s   w i t h   i n c r e a s e d   i s o l a t i o n .   H o w   t h e y   w o r k   t o g e t h e r   w i t h   P o d   S e c u r i t y   S t a n d a r d s   i s   d e s c r i b e d   i n   t h e   d o c u m e n t a t i o n   f o r   P o d s   t h a t   u s e   u s e r   n a m e s p a c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12727"
  },
  {
    "question": "What is Why isn't there a profile between Privileged and Baseline??",
    "answer": "T h e   t h r e e   p r o f i l e s   d e f i n e d   h e r e   h a v e   a   c l e a r   l i n e a r   p r o g r e s s i o n   f r o m   m o s t   s e c u r e   ( R e s t r i c t e d )   t o   l e a s t   s e c u r e   ( P r i v i l e g e d ) ,   a n d   c o v e r   a   b r o a d   s e t   o f   w o r k l o a d s .   P r i v i l e g e s   r e q u i r e d   a b o v e   t h e   B a s e l i n e   p o l i c y   a r e   t y p i c a l l y   v e r y   a p p l i c a t i o n   s p e c i f i c ,   s o   w e   d o   n o t   o f f e r   a   s t a n d a r d   p r o f i l e   i n   t h i s   n i c h e .   T h i s   i s   n o t   t o   s a y   t h a t   t h e   p r i v i l e g e d   p r o f i l e   s h o u l d   a l w a y s   b e   u s e d   i n   t h i s   c a s e ,   b u t   t h a t   p o l i c i e s   i n   t h i s   s p a c e   n e e d   t o   b e   d e f i n e d   o n   a   c a s e - b y - c a s e   b a s i s .   S I G   A u t h   m a y   r e c o n s i d e r   t h i s   p o s i t i o n   i n   t h e   f u t u r e ,   s h o u l d   a   c l e a r   n e e d   f o r   o t h e r   p r o f i l e s   a r i s e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12728"
  },
  {
    "question": "What is What's the difference between a security profile and a security context??",
    "answer": "S e c u r i t y   C o n t e x t s   c o n f i g u r e   P o d s   a n d   C o n t a i n e r s   a t   r u n t i m e .   S e c u r i t y   c o n t e x t s   a r e   d e f i n e d   a s   p a r t   o f   t h e   P o d   a n d   c o n t a i n e r   s p e c i f i c a t i o n s   i n   t h e   P o d   m a n i f e s t ,   a n d   r e p r e s e n t   p a r a m e t e r s   t o   t h e   c o n t a i n e r   r u n t i m e .   S e c u r i t y   p r o f i l e s   a r e   c o n t r o l   p l a n e   m e c h a n i s m s   t o   e n f o r c e   s p e c i f i c   s e t t i n g s   i n   t h e   S e c u r i t y   C o n t e x t ,   a s   w e l l   a s   o t h e r   r e l a t e d   p a r a m e t e r s   o u t s i d e   t h e   S e c u r i t y   C o n t e x t .   A s   o f   J u l y   2 0 2 1 ,   P o d   S e c u r i t y   P o l i c i e s   a r e   d e p r e c a t e d   i n   f a v o r   o f   t h e   b u i l t - i n   P o d   S e c u r i t y   A d m i s s i o n   C o n t r o l l e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12729"
  },
  {
    "question": "What is What about sandboxed Pods??",
    "answer": "T h e r e   i s   c u r r e n t l y   n o   A P I   s t a n d a r d   t h a t   c o n t r o l s   w h e t h e r   a   P o d   i s   c o n s i d e r e d   s a n d b o x e d   o r   n o t .   S a n d b o x   P o d s   m a y   b e   i d e n t i f i e d   b y   t h e   u s e   o f   a   s a n d b o x e d   r u n t i m e   ( s u c h   a s   g V i s o r   o r   K a t a   C o n t a i n e r s ) ,   b u t   t h e r e   i s   n o   s t a n d a r d   d e f i n i t i o n   o f   w h a t   a   s a n d b o x e d   r u n t i m e   i s .   T h e   p r o t e c t i o n s   n e c e s s a r y   f o r   s a n d b o x e d   w o r k l o a d s   c a n   d i f f e r   f r o m   o t h e r s .   F o r   e x a m p l e ,   t h e   n e e d   t o   r e s t r i c t   p r i v i l e g e d   p e r m i s s i o n s   i s   l e s s e n e d   w h e n   t h e   w o r k l o a d   i s   i s o l a t e d   f r o m   t h e   u n d e r l y i n g   k e r n e l .   T h i s   a l l o w s   f o r   w o r k l o a d s   r e q u i r i n g   h e i g h t e n e d   p e r m i s s i o n s   t o   s t i l l   b e   i s o l a t e d .   A d d i t i o n a l l y ,   t h e   p r o t e c t i o n   o f   s a n d b o x e d   w o r k l o a d s   i s   h i g h l y   d e p e n d e n t   o n   t h e   m e t h o d   o f   s a n d b o x i n g .   A s   s u c h ,   n o   s i n g l e   r e c o m m e n d e d   p r o f i l e   i s   r e c o m m e n d e d   f o r   a l l   s a n d b o x e d   w o r k l o a d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12730"
  },
  {
    "question": "What is 8.3 - Pod Security Admission?",
    "answer": "T h e   K u b e r n e t e s   P o d   S e c u r i t y   S t a n d a r d s   d e f i n e   d i f f e r e n t   i s o l a t i o n   l e v e l s   f o r   P o d s .   T h e s e   s t a n d a r d s   l e t   y o u   d e f i n e   h o w   y o u   w a n t   t o   r e s t r i c t   t h e   b e h a v i o r   o f   p o d s   i n   a   c l e a r ,   c o n s i s t e n t   f a s h i o n .   K u b e r n e t e s   o f f e r s   a   b u i l t - i n   P o d   S e c u r i t y   a d m i s s i o n   c o n t r o l l e r   t o   e n f o r c e   t h e   P o d   S e c u r i t y   S t a n d a r d s .   P o d   s e c u r i t y   r e s t r i c t i o n s   a r e   a p p l i e d   a t   t h e   n a m e s p a c e   l e v e l   w h e n   p o d s   a r e   c r e a t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12731"
  },
  {
    "question": "What is Built-in Pod Security admission enforcement?",
    "answer": "T h i s   p a g e   i s   p a r t   o f   t h e   d o c u m e n t a t i o n   f o r   K u b e r n e t e s   v 1 . 3 4 .   I f   y o u   a r e   r u n n i n g   a   d i f f e r e n t   v e r s i o n   o f   K u b e r n e t e s ,   c o n s u l t   t h e   d o c u m e n t a t i o n   f o r   t h a t   r e l e a s e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12732"
  },
  {
    "question": "What is Pod Security levels?",
    "answer": "P o d   S e c u r i t y   a d m i s s i o n   p l a c e s   r e q u i r e m e n t s   o n   a   P o d ' s   S e c u r i t y   C o n t e x t   a n d   o t h e r   r e l a t e d   f i e l d s   a c c o r d i n g   t o   t h e   t h r e e   l e v e l s   d e f i n e d   b y   t h e   P o d   S e c u r i t y   S t a n d a r d s :   p r i v i l e g e d ,   b a s e l i n e ,   a n d   r e s t r i c t e d .   R e f e r   t o   t h e   P o d   S e c u r i t y   S t a n d a r d s   p a g e   f o r   a n   i n - d e p t h   l o o k   a t   t h o s e   r e q u i r e m e n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12733"
  },
  {
    "question": "What is Pod Security Admission labels for namespaces?",
    "answer": "O n c e   t h e   f e a t u r e   i s   e n a b l e d   o r   t h e   w e b h o o k   i s   i n s t a l l e d ,   y o u   c a n   c o n f i g u r e   n a m e s p a c e s   t o   d e f i n e   t h e   a d m i s s i o n   c o n t r o l   m o d e   y o u   w a n t   t o   u s e   f o r   p o d   s e c u r i t y   i n   e a c h   n a m e s p a c e .   K u b e r n e t e s   d e f i n e s   a   s e t   o f   l a b e l s   t h a t   y o u   c a n   s e t   t o   d e f i n e   w h i c h   o f   t h e   p r e d e f i n e d   P o d   S e c u r i t y   S t a n d a r d   l e v e l s   y o u   w a n t   t o   u s e   f o r   a   n a m e s p a c e .   T h e   l a b e l   y o u   s e l e c t   d e f i n e s   w h a t   a c t i o n   t h e   c o n t r o l   p l a n e   t a k e s   i f   a   p o t e n t i a l   v i o l a t i o n   i s   d e t e c t e d :   A   n a m e s p a c e   c a n   c o n f i g u r e   a n y   o r   a l l   m o d e s ,   o r   e v e n   s e t   a   d i f f e r e n t   l e v e l   f o r   d i f f e r e n t   m o d e s .   F o r   e a c h   m o d e ,   t h e r e   a r e   t w o   l a b e l s   t h a t   d e t e r m i n e   t h e   p o l i c y   u s e d :   #   T h e   p e r - m o d e   l e v e l   l a b e l   i n d i c a t e s   w h i c h   p o l i c y   l e v e l   t o   a p p l y   f o r   t h e   m o d e .   #   #   M O D E   m u s t   b e   o n e   o f   ` e n f o r c e ` ,   ` a u d i t ` ,   o r   ` w a r n ` .   #   L E V E L   m u s t   b e   o n e   o f   ` p r i v i l e g e d ` ,   ` b a s e l i n e ` ,   o r   ` r e s t r i c t e d ` .   p o d - s e c u r i t y . k u b e r n e t e s . i o / < M O D E > :   < L E V E L >   #   O p t i o n a l :   p e r - m o d e   v e r s i o n   l a b e l   t h a t   c a n   b e   u s e d   t o   p i n   t h e   p o l i c y   t o   t h e   #   v e r s i o n   t h a t   s h i p p e d   w i t h   a   g i v e n   K u b e r n e t e s   m i n o r   v e r s i o n   ( f o r   e x a m p l e   v 1 . 3 4 ) .   #   #   M O D E   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12734"
  },
  {
    "question": "What is Workload resources and Pod templates?",
    "answer": "P o d s   a r e   o f t e n   c r e a t e d   i n d i r e c t l y ,   b y   c r e a t i n g   a   w o r k l o a d   o b j e c t   s u c h   a s   a   D e p l o y m e n t   o r   J o b .   T h e   w o r k l o a d   o b j e c t   d e f i n e s   a   P o d   t e m p l a t e   a n d   a   c o n t r o l l e r   f o r   t h e   w o r k l o a d   r e s o u r c e   c r e a t e s   P o d s   b a s e d   o n   t h a t   t e m p l a t e .   T o   h e l p   c a t c h   v i o l a t i o n s   e a r l y ,   b o t h   t h e   a u d i t   a n d   w a r n i n g   m o d e s   a r e   a p p l i e d   t o   t h e   w o r k l o a d   r e s o u r c e s .   H o w e v e r ,   e n f o r c e   m o d e   i s   n o t   a p p l i e d   t o   w o r k l o a d   r e s o u r c e s ,   o n l y   t o   t h e   r e s u l t i n g   p o d   o b j e c t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12735"
  },
  {
    "question": "What is Exemptions?",
    "answer": "Y o u   c a n   d e f i n e   e x e m p t i o n s   f r o m   p o d   s e c u r i t y   e n f o r c e m e n t   i n   o r d e r   t o   a l l o w   t h e   c r e a t i o n   o f   p o d s   t h a t   w o u l d   h a v e   o t h e r w i s e   b e e n   p r o h i b i t e d   d u e   t o   t h e   p o l i c y   a s s o c i a t e d   w i t h   a   g i v e n   n a m e s p a c e .   E x e m p t i o n s   c a n   b e   s t a t i c a l l y   c o n f i g u r e d   i n   t h e   A d m i s s i o n   C o n t r o l l e r   c o n f i g u r a t i o n .   E x e m p t i o n s   m u s t   b e   e x p l i c i t l y   e n u m e r a t e d .   R e q u e s t s   m e e t i n g   e x e m p t i o n   c r i t e r i a   a r e   i g n o r e d   b y   t h e   A d m i s s i o n   C o n t r o l l e r   ( a l l   e n f o r c e ,   a u d i t   a n d   w a r n   b e h a v i o r s   a r e   s k i p p e d ) .   E x e m p t i o n   d i m e n s i o n s   i n c l u d e :   U s e r n a m e s :   r e q u e s t s   f r o m   u s e r s   w i t h   a n   e x e m p t   a u t h e n t i c a t e d   ( o r   i m p e r s o n a t e d )   u s e r n a m e   a r e   i g n o r e d . R u n t i m e C l a s s N a m e s :   p o d s   a n d   w o r k l o a d   r e s o u r c e s   s p e c i f y i n g   a n   e x e m p t   r u n t i m e   c l a s s   n a m e   a r e   i g n o r e d . N a m e s p a c e s :   p o d s   a n d   w o r k l o a d   r e s o u r c e s   i n   a n   e x e m p t   n a m e s p a c e   a r e   i g n o r e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12736"
  },
  {
    "question": "What is Caution:?",
    "answer": "U p d a t e s   t o   t h e   f o l l o w i n g   p o d   f i e l d s   a r e   e x e m p t   f r o m   p o l i c y   c h e c k s ,   m e a n i n g   t h a t   i f   a   p o d   u p d a t e   r e q u e s t   o n l y   c h a n g e s   t h e s e   f i e l d s ,   i t   w i l l   n o t   b e   d e n i e d   e v e n   i f   t h e   p o d   i s   i n   v i o l a t i o n   o f   t h e   c u r r e n t   p o l i c y   l e v e l :   A n y   m e t a d a t a   u p d a t e s   e x c e p t   c h a n g e s   t o   t h e   s e c c o m p   o r   A p p A r m o r   a n n o t a t i o n s : s e c c o m p . s e c u r i t y . a l p h a . k u b e r n e t e s . i o / p o d   ( d e p r e c a t e d ) c o n t a i n e r . s e c c o m p . s e c u r i t y . a l p h a . k u b e r n e t e s . i o / *   ( d e p r e c a t e d ) c o n t a i n e r . a p p a r m o r . s e c u r i t y . b e t a . k u b e r n e t e s . i o / *   ( d e p r e c a t e d ) V a l i d   u p d a t e s   t o   . s p e c . a c t i v e D e a d l i n e S e c o n d s V a l i d   u p d a t e s   t o   . s p e c . t o l e r a t i o n s   s e c c o m p . s e c u r i t y . a l p h a . k u b e r n e t e s . i o / p o d   ( d e p r e c a t e d ) c o n t a i n e r . s e c c o m p . s e c u r i t y . a l p h a . k u b e r n e t e s . i o / *   ( d e p r e c a t e d ) c o n t a i n e r . a p p a r m o r . s e c u r i t y . b e t a . k u b e r n e t e s . i o / *   ( d e p r e c a t e d )",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12737"
  },
  {
    "question": "What is Metrics?",
    "answer": "H e r e   a r e   t h e   P r o m e t h e u s   m e t r i c s   e x p o s e d   b y   k u b e - a p i s e r v e r :   p o d _ s e c u r i t y _ e r r o r s _ t o t a l :   T h i s   m e t r i c   i n d i c a t e s   t h e   n u m b e r   o f   e r r o r s   p r e v e n t i n g   n o r m a l   e v a l u a t i o n .   N o n - f a t a l   e r r o r s   m a y   r e s u l t   i n   t h e   l a t e s t   r e s t r i c t e d   p r o f i l e   b e i n g   u s e d   f o r   e n f o r c e m e n t . p o d _ s e c u r i t y _ e v a l u a t i o n s _ t o t a l :   T h i s   m e t r i c   i n d i c a t e s   t h e   n u m b e r   o f   p o l i c y   e v a l u a t i o n s   t h a t   h a v e   o c c u r r e d ,   n o t   c o u n t i n g   i g n o r e d   o r   e x e m p t   r e q u e s t s   d u r i n g   e x p o r t i n g . p o d _ s e c u r i t y _ e x e m p t i o n s _ t o t a l :   T h i s   m e t r i c   i n d i c a t e s   t h e   n u m b e r   o f   e x e m p t   r e q u e s t s ,   n o t   c o u n t i n g   i g n o r e d   o r   o u t   o f   s c o p e   r e q u e s t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12738"
  },
  {
    "question": "What is What's next?",
    "answer": "P o d   S e c u r i t y   S t a n d a r d s E n f o r c i n g   P o d   S e c u r i t y   S t a n d a r d s E n f o r c e   P o d   S e c u r i t y   S t a n d a r d s   b y   C o n f i g u r i n g   t h e   B u i l t - i n   A d m i s s i o n   C o n t r o l l e r E n f o r c e   P o d   S e c u r i t y   S t a n d a r d s   w i t h   N a m e s p a c e   L a b e l s   I f   y o u   a r e   r u n n i n g   a n   o l d e r   v e r s i o n   o f   K u b e r n e t e s   a n d   w a n t   t o   u p g r a d e   t o   a   v e r s i o n   o f   K u b e r n e t e s   t h a t   d o e s   n o t   i n c l u d e   P o d S e c u r i t y P o l i c i e s ,   r e a d   m i g r a t e   f r o m   P o d S e c u r i t y P o l i c y   t o   t h e   B u i l t - I n   P o d S e c u r i t y   A d m i s s i o n   C o n t r o l l e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12739"
  },
  {
    "question": "What is 8.4 - Service Accounts?",
    "answer": "T h i s   p a g e   i n t r o d u c e s   t h e   S e r v i c e A c c o u n t   o b j e c t   i n   K u b e r n e t e s ,   p r o v i d i n g   i n f o r m a t i o n   a b o u t   h o w   s e r v i c e   a c c o u n t s   w o r k ,   u s e   c a s e s ,   l i m i t a t i o n s ,   a l t e r n a t i v e s ,   a n d   l i n k s   t o   r e s o u r c e s   f o r   a d d i t i o n a l   g u i d a n c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12740"
  },
  {
    "question": "What is What are service accounts??",
    "answer": "A   s e r v i c e   a c c o u n t   i s   a   t y p e   o f   n o n - h u m a n   a c c o u n t   t h a t ,   i n   K u b e r n e t e s ,   p r o v i d e s   a   d i s t i n c t   i d e n t i t y   i n   a   K u b e r n e t e s   c l u s t e r .   A p p l i c a t i o n   P o d s ,   s y s t e m   c o m p o n e n t s ,   a n d   e n t i t i e s   i n s i d e   a n d   o u t s i d e   t h e   c l u s t e r   c a n   u s e   a   s p e c i f i c   S e r v i c e A c c o u n t ' s   c r e d e n t i a l s   t o   i d e n t i f y   a s   t h a t   S e r v i c e A c c o u n t .   T h i s   i d e n t i t y   i s   u s e f u l   i n   v a r i o u s   s i t u a t i o n s ,   i n c l u d i n g   a u t h e n t i c a t i n g   t o   t h e   A P I   s e r v e r   o r   i m p l e m e n t i n g   i d e n t i t y - b a s e d   s e c u r i t y   p o l i c i e s .   S e r v i c e   a c c o u n t s   e x i s t   a s   S e r v i c e A c c o u n t   o b j e c t s   i n   t h e   A P I   s e r v e r .   S e r v i c e   a c c o u n t s   h a v e   t h e   f o l l o w i n g   p r o p e r t i e s :   N a m e s p a c e d :   E a c h   s e r v i c e   a c c o u n t   i s   b o u n d   t o   a   K u b e r n e t e s   n a m e s p a c e .   E v e r y   n a m e s p a c e   g e t s   a   d e f a u l t   S e r v i c e A c c o u n t   u p o n   c r e a t i o n . L i g h t w e i g h t :   S e r v i c e   a c c o u n t s   e x i s t   i n   t h e   c l u s t e r   a n d   a r e   d e f i n e d   i n   t h e   K u b e r n e t e s   A P I .   Y o u   c a n   q u i c k l y   c r e a t e   s e r v i c e   a c c o u n t s   t o   e n a b l e   s p e c i f i c   t a s k s . P o r t a b l e :   A   c o n f i g u r a t i o n   b u n d l e   f o r   a   c o m p l e x   c o n t a i n e r i z e d   w o r k l o a d   m i g h t   i n c l u d e   s e r v i c e   a c c o u n t   d e f i n i t i o n s   f o r   t h e   s y s t e m ' s   c o m p o n e n t s .   T h e   l i g h t w e i g h t   n a t u r e   o f   s e r v ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12741"
  },
  {
    "question": "What is Default service accounts?",
    "answer": "W h e n   y o u   c r e a t e   a   c l u s t e r ,   K u b e r n e t e s   a u t o m a t i c a l l y   c r e a t e s   a   S e r v i c e A c c o u n t   o b j e c t   n a m e d   d e f a u l t   f o r   e v e r y   n a m e s p a c e   i n   y o u r   c l u s t e r .   T h e   d e f a u l t   s e r v i c e   a c c o u n t s   i n   e a c h   n a m e s p a c e   g e t   n o   p e r m i s s i o n s   b y   d e f a u l t   o t h e r   t h a n   t h e   d e f a u l t   A P I   d i s c o v e r y   p e r m i s s i o n s   t h a t   K u b e r n e t e s   g r a n t s   t o   a l l   a u t h e n t i c a t e d   p r i n c i p a l s   i f   r o l e - b a s e d   a c c e s s   c o n t r o l   ( R B A C )   i s   e n a b l e d .   I f   y o u   d e l e t e   t h e   d e f a u l t   S e r v i c e A c c o u n t   o b j e c t   i n   a   n a m e s p a c e ,   t h e   c o n t r o l   p l a n e   r e p l a c e s   i t   w i t h   a   n e w   o n e .   I f   y o u   d e p l o y   a   P o d   i n   a   n a m e s p a c e ,   a n d   y o u   d o n ' t   m a n u a l l y   a s s i g n   a   S e r v i c e A c c o u n t   t o   t h e   P o d ,   K u b e r n e t e s   a s s i g n s   t h e   d e f a u l t   S e r v i c e A c c o u n t   f o r   t h a t   n a m e s p a c e   t o   t h e   P o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12742"
  },
  {
    "question": "What is Use cases for Kubernetes service accounts?",
    "answer": "A s   a   g e n e r a l   g u i d e l i n e ,   y o u   c a n   u s e   s e r v i c e   a c c o u n t s   t o   p r o v i d e   i d e n t i t i e s   i n   t h e   f o l l o w i n g   s c e n a r i o s :   Y o u r   P o d s   n e e d   t o   c o m m u n i c a t e   w i t h   t h e   K u b e r n e t e s   A P I   s e r v e r ,   f o r   e x a m p l e   i n   s i t u a t i o n s   s u c h   a s   t h e   f o l l o w i n g : P r o v i d i n g   r e a d - o n l y   a c c e s s   t o   s e n s i t i v e   i n f o r m a t i o n   s t o r e d   i n   S e c r e t s . G r a n t i n g   c r o s s - n a m e s p a c e   a c c e s s ,   s u c h   a s   a l l o w i n g   a   P o d   i n   n a m e s p a c e   e x a m p l e   t o   r e a d ,   l i s t ,   a n d   w a t c h   f o r   L e a s e   o b j e c t s   i n   t h e   k u b e - n o d e - l e a s e   n a m e s p a c e . Y o u r   P o d s   n e e d   t o   c o m m u n i c a t e   w i t h   a n   e x t e r n a l   s e r v i c e .   F o r   e x a m p l e ,   a   w o r k l o a d   P o d   r e q u i r e s   a n   i d e n t i t y   f o r   a   c o m m e r c i a l l y   a v a i l a b l e   c l o u d   A P I ,   a n d   t h e   c o m m e r c i a l   p r o v i d e r   a l l o w s   c o n f i g u r i n g   a   s u i t a b l e   t r u s t   r e l a t i o n s h i p . A u t h e n t i c a t i n g   t o   a   p r i v a t e   i m a g e   r e g i s t r y   u s i n g   a n   i m a g e P u l l S e c r e t . A n   e x t e r n a l   s e r v i c e   n e e d s   t o   c o m m u n i c a t e   w i t h   t h e   K u b e r n e t e s   A P I   s e r v e r .   F o r   e x a m p l e ,   a u t h e n t i c a t i n g   t o   t h e   c l u s t e r   a s   p a r t   o f   a   C I / C D   p i p e l i n e . Y o u   u s e   t h i r d - p a r t y   s e c u r i t y   s o f t w a r e   i n   y o u r   c l u s t e r   t h a t   r e l i e s   o n   t h e   S e r v i c e A c c o u n t   i d e n t i t y   o f   d i f f e r e n t   P o d s   t o   g r o u p   t h o s e   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12743"
  },
  {
    "question": "What is How to use service accounts?",
    "answer": "T o   u s e   a   K u b e r n e t e s   s e r v i c e   a c c o u n t ,   y o u   d o   t h e   f o l l o w i n g :   C r e a t e   a   S e r v i c e A c c o u n t   o b j e c t   u s i n g   a   K u b e r n e t e s   c l i e n t   l i k e   k u b e c t l   o r   a   m a n i f e s t   t h a t   d e f i n e s   t h e   o b j e c t . G r a n t   p e r m i s s i o n s   t o   t h e   S e r v i c e A c c o u n t   o b j e c t   u s i n g   a n   a u t h o r i z a t i o n   m e c h a n i s m   s u c h   a s   R B A C . A s s i g n   t h e   S e r v i c e A c c o u n t   o b j e c t   t o   P o d s   d u r i n g   P o d   c r e a t i o n . I f   y o u ' r e   u s i n g   t h e   i d e n t i t y   f r o m   a n   e x t e r n a l   s e r v i c e ,   r e t r i e v e   t h e   S e r v i c e A c c o u n t   t o k e n   a n d   u s e   i t   f r o m   t h a t   s e r v i c e   i n s t e a d .   C r e a t e   a   S e r v i c e A c c o u n t   o b j e c t   u s i n g   a   K u b e r n e t e s   c l i e n t   l i k e   k u b e c t l   o r   a   m a n i f e s t   t h a t   d e f i n e s   t h e   o b j e c t .   G r a n t   p e r m i s s i o n s   t o   t h e   S e r v i c e A c c o u n t   o b j e c t   u s i n g   a n   a u t h o r i z a t i o n   m e c h a n i s m   s u c h   a s   R B A C .   A s s i g n   t h e   S e r v i c e A c c o u n t   o b j e c t   t o   P o d s   d u r i n g   P o d   c r e a t i o n .   I f   y o u ' r e   u s i n g   t h e   i d e n t i t y   f r o m   a n   e x t e r n a l   s e r v i c e ,   r e t r i e v e   t h e   S e r v i c e A c c o u n t   t o k e n   a n d   u s e   i t   f r o m   t h a t   s e r v i c e   i n s t e a d .   F o r   i n s t r u c t i o n s ,   r e f e r   t o   C o n f i g u r e   S e r v i c e   A c c o u n t s   f o r   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12744"
  },
  {
    "question": "What is Grant permissions to a ServiceAccount?",
    "answer": "Y o u   c a n   u s e   t h e   b u i l t - i n   K u b e r n e t e s   r o l e - b a s e d   a c c e s s   c o n t r o l   ( R B A C )   m e c h a n i s m   t o   g r a n t   t h e   m i n i m u m   p e r m i s s i o n s   r e q u i r e d   b y   e a c h   s e r v i c e   a c c o u n t .   Y o u   c r e a t e   a   r o l e ,   w h i c h   g r a n t s   a c c e s s ,   a n d   t h e n   b i n d   t h e   r o l e   t o   y o u r   S e r v i c e A c c o u n t .   R B A C   l e t s   y o u   d e f i n e   a   m i n i m u m   s e t   o f   p e r m i s s i o n s   s o   t h a t   t h e   s e r v i c e   a c c o u n t   p e r m i s s i o n s   f o l l o w   t h e   p r i n c i p l e   o f   l e a s t   p r i v i l e g e .   P o d s   t h a t   u s e   t h a t   s e r v i c e   a c c o u n t   d o n ' t   g e t   m o r e   p e r m i s s i o n s   t h a n   a r e   r e q u i r e d   t o   f u n c t i o n   c o r r e c t l y .   F o r   i n s t r u c t i o n s ,   r e f e r   t o   S e r v i c e A c c o u n t   p e r m i s s i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12745"
  },
  {
    "question": "What is Cross-namespace access using a ServiceAccount?",
    "answer": "Y o u   c a n   u s e   R B A C   t o   a l l o w   s e r v i c e   a c c o u n t s   i n   o n e   n a m e s p a c e   t o   p e r f o r m   a c t i o n s   o n   r e s o u r c e s   i n   a   d i f f e r e n t   n a m e s p a c e   i n   t h e   c l u s t e r .   F o r   e x a m p l e ,   c o n s i d e r   a   s c e n a r i o   w h e r e   y o u   h a v e   a   s e r v i c e   a c c o u n t   a n d   P o d   i n   t h e   d e v   n a m e s p a c e   a n d   y o u   w a n t   y o u r   P o d   t o   s e e   J o b s   r u n n i n g   i n   t h e   m a i n t e n a n c e   n a m e s p a c e .   Y o u   c o u l d   c r e a t e   a   R o l e   o b j e c t   t h a t   g r a n t s   p e r m i s s i o n s   t o   l i s t   J o b   o b j e c t s .   T h e n ,   y o u ' d   c r e a t e   a   R o l e B i n d i n g   o b j e c t   i n   t h e   m a i n t e n a n c e   n a m e s p a c e   t o   b i n d   t h e   R o l e   t o   t h e   S e r v i c e A c c o u n t   o b j e c t .   N o w ,   P o d s   i n   t h e   d e v   n a m e s p a c e   c a n   l i s t   J o b   o b j e c t s   i n   t h e   m a i n t e n a n c e   n a m e s p a c e   u s i n g   t h a t   s e r v i c e   a c c o u n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12746"
  },
  {
    "question": "What is Assign a ServiceAccount to a Pod?",
    "answer": "T o   a s s i g n   a   S e r v i c e A c c o u n t   t o   a   P o d ,   y o u   s e t   t h e   s p e c . s e r v i c e A c c o u n t N a m e   f i e l d   i n   t h e   P o d   s p e c i f i c a t i o n .   K u b e r n e t e s   t h e n   a u t o m a t i c a l l y   p r o v i d e s   t h e   c r e d e n t i a l s   f o r   t h a t   S e r v i c e A c c o u n t   t o   t h e   P o d .   I n   v 1 . 2 2   a n d   l a t e r ,   K u b e r n e t e s   g e t s   a   s h o r t - l i v e d ,   a u t o m a t i c a l l y   r o t a t i n g   t o k e n   u s i n g   t h e   T o k e n R e q u e s t   A P I   a n d   m o u n t s   t h e   t o k e n   a s   a   p r o j e c t e d   v o l u m e .   B y   d e f a u l t ,   K u b e r n e t e s   p r o v i d e s   t h e   P o d   w i t h   t h e   c r e d e n t i a l s   f o r   a n   a s s i g n e d   S e r v i c e A c c o u n t ,   w h e t h e r   t h a t   i s   t h e   d e f a u l t   S e r v i c e A c c o u n t   o r   a   c u s t o m   S e r v i c e A c c o u n t   t h a t   y o u   s p e c i f y .   T o   p r e v e n t   K u b e r n e t e s   f r o m   a u t o m a t i c a l l y   i n j e c t i n g   c r e d e n t i a l s   f o r   a   s p e c i f i e d   S e r v i c e A c c o u n t   o r   t h e   d e f a u l t   S e r v i c e A c c o u n t ,   s e t   t h e   a u t o m o u n t S e r v i c e A c c o u n t T o k e n   f i e l d   i n   y o u r   P o d   s p e c i f i c a t i o n   t o   f a l s e .   I n   v e r s i o n s   e a r l i e r   t h a n   1 . 2 2 ,   K u b e r n e t e s   p r o v i d e s   a   l o n g - l i v e d ,   s t a t i c   t o k e n   t o   t h e   P o d   a s   a   S e c r e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12747"
  },
  {
    "question": "What is Manually retrieve ServiceAccount credentials?",
    "answer": "I f   y o u   n e e d   t h e   c r e d e n t i a l s   f o r   a   S e r v i c e A c c o u n t   t o   m o u n t   i n   a   n o n - s t a n d a r d   l o c a t i o n ,   o r   f o r   a n   a u d i e n c e   t h a t   i s n ' t   t h e   A P I   s e r v e r ,   u s e   o n e   o f   t h e   f o l l o w i n g   m e t h o d s :   T o k e n R e q u e s t   A P I   ( r e c o m m e n d e d ) :   R e q u e s t   a   s h o r t - l i v e d   s e r v i c e   a c c o u n t   t o k e n   f r o m   w i t h i n   y o u r   o w n   a p p l i c a t i o n   c o d e .   T h e   t o k e n   e x p i r e s   a u t o m a t i c a l l y   a n d   c a n   r o t a t e   u p o n   e x p i r a t i o n .   I f   y o u   h a v e   a   l e g a c y   a p p l i c a t i o n   t h a t   i s   n o t   a w a r e   o f   K u b e r n e t e s ,   y o u   c o u l d   u s e   a   s i d e c a r   c o n t a i n e r   w i t h i n   t h e   s a m e   p o d   t o   f e t c h   t h e s e   t o k e n s   a n d   m a k e   t h e m   a v a i l a b l e   t o   t h e   a p p l i c a t i o n   w o r k l o a d . T o k e n   V o l u m e   P r o j e c t i o n   ( a l s o   r e c o m m e n d e d ) :   I n   K u b e r n e t e s   v 1 . 2 0   a n d   l a t e r ,   u s e   t h e   P o d   s p e c i f i c a t i o n   t o   t e l l   t h e   k u b e l e t   t o   a d d   t h e   s e r v i c e   a c c o u n t   t o k e n   t o   t h e   P o d   a s   a   p r o j e c t e d   v o l u m e .   P r o j e c t e d   t o k e n s   e x p i r e   a u t o m a t i c a l l y ,   a n d   t h e   k u b e l e t   r o t a t e s   t h e   t o k e n   b e f o r e   i t   e x p i r e s . S e r v i c e   A c c o u n t   T o k e n   S e c r e t s   ( n o t   r e c o m m e n d e d ) :   Y o u   c a n   m o u n t   s e r v i c e   a c c o u n t   t o k e n s   a s   K u b e r n e t e s   S e c r e t s   i n   P o d s .   T h e s e   t o k e n s   d o n ' t   e x p i r e   a n d   d o n ' t   r o t a t e .   I n   v e r s i o n s   p r i o r   t o   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12748"
  },
  {
    "question": "What is Note:?",
    "answer": "F o r   a p p l i c a t i o n s   r u n n i n g   o u t s i d e   y o u r   K u b e r n e t e s   c l u s t e r ,   y o u   m i g h t   b e   c o n s i d e r i n g   c r e a t i n g   a   l o n g - l i v e d   S e r v i c e A c c o u n t   t o k e n   t h a t   i s   s t o r e d   i n   a   S e c r e t .   T h i s   a l l o w s   a u t h e n t i c a t i o n ,   b u t   t h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   y o u   a v o i d   t h i s   a p p r o a c h .   L o n g - l i v e d   b e a r e r   t o k e n s   r e p r e s e n t   a   s e c u r i t y   r i s k   a s ,   o n c e   d i s c l o s e d ,   t h e   t o k e n   c a n   b e   m i s u s e d .   I n s t e a d ,   c o n s i d e r   u s i n g   a n   a l t e r n a t i v e .   F o r   e x a m p l e ,   y o u r   e x t e r n a l   a p p l i c a t i o n   c a n   a u t h e n t i c a t e   u s i n g   a   w e l l - p r o t e c t e d   p r i v a t e   k e y   a n d   a   c e r t i f i c a t e ,   o r   u s i n g   a   c u s t o m   m e c h a n i s m   s u c h   a s   a n   a u t h e n t i c a t i o n   w e b h o o k   t h a t   y o u   i m p l e m e n t   y o u r s e l f .   Y o u   c a n   a l s o   u s e   T o k e n R e q u e s t   t o   o b t a i n   s h o r t - l i v e d   t o k e n s   f o r   y o u r   e x t e r n a l   a p p l i c a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12749"
  },
  {
    "question": "What is Note:?",
    "answer": "K u b e r n e t e s   p r o v i d e s   a n   a n n o t a t i o n   c a l l e d   k u b e r n e t e s . i o / e n f o r c e - m o u n t a b l e - s e c r e t s   t h a t   y o u   c a n   a d d   t o   y o u r   S e r v i c e A c c o u n t s .   W h e n   t h i s   a n n o t a t i o n   i s   a p p l i e d ,   t h e   S e r v i c e A c c o u n t ' s   s e c r e t s   c a n   o n l y   b e   m o u n t e d   o n   s p e c i f i e d   t y p e s   o f   r e s o u r c e s ,   e n h a n c i n g   t h e   s e c u r i t y   p o s t u r e   o f   y o u r   c l u s t e r .   Y o u   c a n   a d d   t h e   a n n o t a t i o n   t o   a   S e r v i c e A c c o u n t   u s i n g   a   m a n i f e s t :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   a n n o t a t i o n s :   k u b e r n e t e s . i o / e n f o r c e - m o u n t a b l e - s e c r e t s :   \" t r u e \"   n a m e :   m y - s e r v i c e a c c o u n t   n a m e s p a c e :   m y - n a m e s p a c e   W h e n   t h i s   a n n o t a t i o n   i s   s e t   t o   \" t r u e \" ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   e n s u r e s   t h a t   t h e   S e c r e t s   f r o m   t h i s   S e r v i c e A c c o u n t   a r e   s u b j e c t   t o   c e r t a i n   m o u n t i n g   r e s t r i c t i o n s .   T h e   n a m e   o f   e a c h   S e c r e t   t h a t   i s   m o u n t e d   a s   a   v o l u m e   i n   a   P o d   m u s t   a p p e a r   i n   t h e   s e c r e t s   f i e l d   o f   t h e   P o d ' s   S e r v i c e A c c o u n t . T h e   n a m e   o f   e a c h   S e c r e t   r e f e r e n c e d   u s i n g   e n v F r o m   i n   a   P o d   m u s t   a l s o   a p p e a r   i n   t h e   s e c r e t s   f i e l d   o f   t h e   P o d ' s   S e r v i c e A c c o u n t . T h e   n a m e   o f   e a c h   S e c r e t   r e f e r e n c e d   u s i n g   i m a g e P u l l S e c r e t s   i n   a   P o d   m u s t   a l s o   a p p e a r   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12750"
  },
  {
    "question": "What is Authenticating service account credentials?",
    "answer": "S e r v i c e A c c o u n t s   u s e   s i g n e d   J S O N   W e b   T o k e n s   ( J W T s )   t o   a u t h e n t i c a t e   t o   t h e   K u b e r n e t e s   A P I   s e r v e r ,   a n d   t o   a n y   o t h e r   s y s t e m   w h e r e   a   t r u s t   r e l a t i o n s h i p   e x i s t s .   D e p e n d i n g   o n   h o w   t h e   t o k e n   w a s   i s s u e d   ( e i t h e r   t i m e - l i m i t e d   u s i n g   a   T o k e n R e q u e s t   o r   u s i n g   a   l e g a c y   m e c h a n i s m   w i t h   a   S e c r e t ) ,   a   S e r v i c e A c c o u n t   t o k e n   m i g h t   a l s o   h a v e   a n   e x p i r y   t i m e ,   a n   a u d i e n c e ,   a n d   a   t i m e   a f t e r   w h i c h   t h e   t o k e n   s t a r t s   b e i n g   v a l i d .   W h e n   a   c l i e n t   t h a t   i s   a c t i n g   a s   a   S e r v i c e A c c o u n t   t r i e s   t o   c o m m u n i c a t e   w i t h   t h e   K u b e r n e t e s   A P I   s e r v e r ,   t h e   c l i e n t   i n c l u d e s   a n   A u t h o r i z a t i o n :   B e a r e r   < t o k e n >   h e a d e r   w i t h   t h e   H T T P   r e q u e s t .   T h e   A P I   s e r v e r   c h e c k s   t h e   v a l i d i t y   o f   t h a t   b e a r e r   t o k e n   a s   f o l l o w s :   C h e c k s   t h e   t o k e n   s i g n a t u r e . C h e c k s   w h e t h e r   t h e   t o k e n   h a s   e x p i r e d . C h e c k s   w h e t h e r   o b j e c t   r e f e r e n c e s   i n   t h e   t o k e n   c l a i m s   a r e   c u r r e n t l y   v a l i d . C h e c k s   w h e t h e r   t h e   t o k e n   i s   c u r r e n t l y   v a l i d . C h e c k s   t h e   a u d i e n c e   c l a i m s .   T h e   T o k e n R e q u e s t   A P I   p r o d u c e s   b o u n d   t o k e n s   f o r   a   S e r v i c e A c c o u n t .   T h i s   b i n d i n g   i s   l i n k e d   t o   t h e   l i f e t i m e   o f   t h e   c l i e n t ,   s u c h   a s   a   P o d ,   t h a t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12751"
  },
  {
    "question": "What is Authenticating service account credentials in your own code?",
    "answer": "I f   y o u   h a v e   s e r v i c e s   o f   y o u r   o w n   t h a t   n e e d   t o   v a l i d a t e   K u b e r n e t e s   s e r v i c e   a c c o u n t   c r e d e n t i a l s ,   y o u   c a n   u s e   t h e   f o l l o w i n g   m e t h o d s :   T o k e n R e v i e w   A P I   ( r e c o m m e n d e d ) O I D C   d i s c o v e r y   T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   t h a t   y o u   u s e   t h e   T o k e n R e v i e w   A P I ,   b e c a u s e   t h i s   m e t h o d   i n v a l i d a t e s   t o k e n s   t h a t   a r e   b o u n d   t o   A P I   o b j e c t s   s u c h   a s   S e c r e t s ,   S e r v i c e A c c o u n t s ,   P o d s   o r   N o d e s   w h e n   t h o s e   o b j e c t s   a r e   d e l e t e d .   F o r   e x a m p l e ,   i f   y o u   d e l e t e   t h e   P o d   t h a t   c o n t a i n s   a   p r o j e c t e d   S e r v i c e A c c o u n t   t o k e n ,   t h e   c l u s t e r   i n v a l i d a t e s   t h a t   t o k e n   i m m e d i a t e l y   a n d   a   T o k e n R e v i e w   i m m e d i a t e l y   f a i l s .   I f   y o u   u s e   O I D C   v a l i d a t i o n   i n s t e a d ,   y o u r   c l i e n t s   c o n t i n u e   t o   t r e a t   t h e   t o k e n   a s   v a l i d   u n t i l   t h e   t o k e n   r e a c h e s   i t s   e x p i r a t i o n   t i m e s t a m p .   Y o u r   a p p l i c a t i o n   s h o u l d   a l w a y s   d e f i n e   t h e   a u d i e n c e   t h a t   i t   a c c e p t s ,   a n d   s h o u l d   c h e c k   t h a t   t h e   t o k e n ' s   a u d i e n c e s   m a t c h   t h e   a u d i e n c e s   t h a t   t h e   a p p l i c a t i o n   e x p e c t s .   T h i s   h e l p s   t o   m i n i m i z e   t h e   s c o p e   o f   t h e   t o k e n   s o   t h a t   i t   c a n   o n l y   b e   u s e d   i n   y o u r   a p p l i c a t i o n   a n d   n o w h e r e   e l s e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12752"
  },
  {
    "question": "What is Alternatives?",
    "answer": "I s s u e   y o u r   o w n   t o k e n s   u s i n g   a n o t h e r   m e c h a n i s m ,   a n d   t h e n   u s e   W e b h o o k   T o k e n   A u t h e n t i c a t i o n   t o   v a l i d a t e   b e a r e r   t o k e n s   u s i n g   y o u r   o w n   v a l i d a t i o n   s e r v i c e . P r o v i d e   y o u r   o w n   i d e n t i t i e s   t o   P o d s . U s e   t h e   S P I F F E   C S I   d r i v e r   p l u g i n   t o   p r o v i d e   S P I F F E   S V I D s   a s   X . 5 0 9   c e r t i f i c a t e   p a i r s   t o   P o d s . 🛇   T h i s   i t e m   l i n k s   t o   a   t h i r d   p a r t y   p r o j e c t   o r   p r o d u c t   t h a t   i s   n o t   p a r t   o f   K u b e r n e t e s   i t s e l f .   M o r e   i n f o r m a t i o n U s e   a   s e r v i c e   m e s h   s u c h   a s   I s t i o   t o   p r o v i d e   c e r t i f i c a t e s   t o   P o d s . A u t h e n t i c a t e   f r o m   o u t s i d e   t h e   c l u s t e r   t o   t h e   A P I   s e r v e r   w i t h o u t   u s i n g   s e r v i c e   a c c o u n t   t o k e n s : C o n f i g u r e   t h e   A P I   s e r v e r   t o   a c c e p t   O p e n I D   C o n n e c t   ( O I D C )   t o k e n s   f r o m   y o u r   i d e n t i t y   p r o v i d e r . U s e   s e r v i c e   a c c o u n t s   o r   u s e r   a c c o u n t s   c r e a t e d   u s i n g   a n   e x t e r n a l   I d e n t i t y   a n d   A c c e s s   M a n a g e m e n t   ( I A M )   s e r v i c e ,   s u c h   a s   f r o m   a   c l o u d   p r o v i d e r ,   t o   a u t h e n t i c a t e   t o   y o u r   c l u s t e r . U s e   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   A P I   w i t h   c l i e n t   c e r t i f i c a t e s . C o n f i g u r e   t h e   k u b e l e t   t o   r e t r i e v e   c r e d e n t i a l s   f r o m   a n   i m a g e   r e g i s t r y . U s e   a   D e v i c e   P l u g i n   t o   a c c e s s   a   v i r t u a l   T r u s t e d   P l a t f o r m   M o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12753"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   m a n a g e   y o u r   S e r v i c e A c c o u n t s   a s   a   c l u s t e r   a d m i n i s t r a t o r . L e a r n   h o w   t o   a s s i g n   a   S e r v i c e A c c o u n t   t o   a   P o d . R e a d   t h e   S e r v i c e A c c o u n t   A P I   r e f e r e n c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12754"
  },
  {
    "question": "What is Removed feature?",
    "answer": "I n s t e a d   o f   u s i n g   P o d S e c u r i t y P o l i c y ,   y o u   c a n   e n f o r c e   s i m i l a r   r e s t r i c t i o n s   o n   P o d s   u s i n g   e i t h e r   o r   b o t h :   P o d   S e c u r i t y   A d m i s s i o n a   3 r d   p a r t y   a d m i s s i o n   p l u g i n ,   t h a t   y o u   d e p l o y   a n d   c o n f i g u r e   y o u r s e l f   F o r   a   m i g r a t i o n   g u i d e ,   s e e   M i g r a t e   f r o m   P o d S e c u r i t y P o l i c y   t o   t h e   B u i l t - I n   P o d S e c u r i t y   A d m i s s i o n   C o n t r o l l e r .   F o r   m o r e   i n f o r m a t i o n   o n   t h e   r e m o v a l   o f   t h i s   A P I ,   s e e   P o d S e c u r i t y P o l i c y   D e p r e c a t i o n :   P a s t ,   P r e s e n t ,   a n d   F u t u r e .   I f   y o u   a r e   n o t   r u n n i n g   K u b e r n e t e s   v 1 . 3 4 ,   c h e c k   t h e   d o c u m e n t a t i o n   f o r   y o u r   v e r s i o n   o f   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12755"
  },
  {
    "question": "What is 8.6 - Security For Linux Nodes?",
    "answer": "T h i s   p a g e   d e s c r i b e s   s e c u r i t y   c o n s i d e r a t i o n s   a n d   b e s t   p r a c t i c e s   s p e c i f i c   t o   t h e   L i n u x   o p e r a t i n g   s y s t e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12756"
  },
  {
    "question": "What is Protection for Secret data on nodes?",
    "answer": "O n   L i n u x   n o d e s ,   m e m o r y - b a c k e d   v o l u m e s   ( s u c h   a s   s e c r e t   v o l u m e   m o u n t s ,   o r   e m p t y D i r   w i t h   m e d i u m :   M e m o r y )   a r e   i m p l e m e n t e d   w i t h   a   t m p f s   f i l e s y s t e m .   I f   y o u   h a v e   s w a p   c o n f i g u r e d   a n d   u s e   a n   o l d e r   L i n u x   k e r n e l   ( o r   a   c u r r e n t   k e r n e l   a n d   a n   u n s u p p o r t e d   c o n f i g u r a t i o n   o f   K u b e r n e t e s ) ,   m e m o r y   b a c k e d   v o l u m e s   c a n   h a v e   d a t a   w r i t t e n   t o   p e r s i s t e n t   s t o r a g e .   T h e   L i n u x   k e r n e l   o f f i c i a l l y   s u p p o r t s   t h e   n o s w a p   o p t i o n   f r o m   v e r s i o n   6 . 3 ,   t h e r e f o r e   i t   i s   r e c o m m e n d e d   t h e   u s e d   k e r n e l   v e r s i o n   i s   6 . 3   o r   l a t e r ,   o r   s u p p o r t s   t h e   n o s w a p   o p t i o n   v i a   a   b a c k p o r t ,   i f   s w a p   i s   e n a b l e d   o n   t h e   n o d e .   R e a d   s w a p   m e m o r y   m a n a g e m e n t   f o r   m o r e   i n f o .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12757"
  },
  {
    "question": "What is 8.7 - Security For Windows Nodes?",
    "answer": "T h i s   p a g e   d e s c r i b e s   s e c u r i t y   c o n s i d e r a t i o n s   a n d   b e s t   p r a c t i c e s   s p e c i f i c   t o   t h e   W i n d o w s   o p e r a t i n g   s y s t e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12758"
  },
  {
    "question": "What is Protection for Secret data on nodes?",
    "answer": "O n   W i n d o w s ,   d a t a   f r o m   S e c r e t s   a r e   w r i t t e n   o u t   i n   c l e a r   t e x t   o n t o   t h e   n o d e ' s   l o c a l   s t o r a g e   ( a s   c o m p a r e d   t o   u s i n g   t m p f s   /   i n - m e m o r y   f i l e s y s t e m s   o n   L i n u x ) .   A s   a   c l u s t e r   o p e r a t o r ,   y o u   s h o u l d   t a k e   b o t h   o f   t h e   f o l l o w i n g   a d d i t i o n a l   m e a s u r e s :   U s e   f i l e   A C L s   t o   s e c u r e   t h e   S e c r e t s '   f i l e   l o c a t i o n . A p p l y   v o l u m e - l e v e l   e n c r y p t i o n   u s i n g   B i t L o c k e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12759"
  },
  {
    "question": "What is Container users?",
    "answer": "R u n A s U s e r n a m e   c a n   b e   s p e c i f i e d   f o r   W i n d o w s   P o d s   o r   c o n t a i n e r s   t o   e x e c u t e   t h e   c o n t a i n e r   p r o c e s s e s   a s   s p e c i f i c   u s e r .   T h i s   i s   r o u g h l y   e q u i v a l e n t   t o   R u n A s U s e r .   W i n d o w s   c o n t a i n e r s   o f f e r   t w o   d e f a u l t   u s e r   a c c o u n t s ,   C o n t a i n e r U s e r   a n d   C o n t a i n e r A d m i n i s t r a t o r .   T h e   d i f f e r e n c e s   b e t w e e n   t h e s e   t w o   u s e r   a c c o u n t s   a r e   c o v e r e d   i n   W h e n   t o   u s e   C o n t a i n e r A d m i n   a n d   C o n t a i n e r U s e r   u s e r   a c c o u n t s   w i t h i n   M i c r o s o f t ' s   S e c u r e   W i n d o w s   c o n t a i n e r s   d o c u m e n t a t i o n .   L o c a l   u s e r s   c a n   b e   a d d e d   t o   c o n t a i n e r   i m a g e s   d u r i n g   t h e   c o n t a i n e r   b u i l d   p r o c e s s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12760"
  },
  {
    "question": "What is Note:?",
    "answer": "N a n o   S e r v e r   b a s e d   i m a g e s   r u n   a s   C o n t a i n e r U s e r   b y   d e f a u l t S e r v e r   C o r e   b a s e d   i m a g e s   r u n   a s   C o n t a i n e r A d m i n i s t r a t o r   b y   d e f a u l t   W i n d o w s   c o n t a i n e r s   c a n   a l s o   r u n   a s   A c t i v e   D i r e c t o r y   i d e n t i t i e s   b y   u t i l i z i n g   G r o u p   M a n a g e d   S e r v i c e   A c c o u n t s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12761"
  },
  {
    "question": "What is Pod-level security isolation?",
    "answer": "L i n u x - s p e c i f i c   p o d   s e c u r i t y   c o n t e x t   m e c h a n i s m s   ( s u c h   a s   S E L i n u x ,   A p p A r m o r ,   S e c c o m p ,   o r   c u s t o m   P O S I X   c a p a b i l i t i e s )   a r e   n o t   s u p p o r t e d   o n   W i n d o w s   n o d e s .   P r i v i l e g e d   c o n t a i n e r s   a r e   n o t   s u p p o r t e d   o n   W i n d o w s .   I n s t e a d   H o s t P r o c e s s   c o n t a i n e r s   c a n   b e   u s e d   o n   W i n d o w s   t o   p e r f o r m   m a n y   o f   t h e   t a s k s   p e r f o r m e d   b y   p r i v i l e g e d   c o n t a i n e r s   o n   L i n u x .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12762"
  },
  {
    "question": "What is 8.8 - Controlling Access to the Kubernetes API?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   o f   c o n t r o l l i n g   a c c e s s   t o   t h e   K u b e r n e t e s   A P I .   U s e r s   a c c e s s   t h e   K u b e r n e t e s   A P I   u s i n g   k u b e c t l ,   c l i e n t   l i b r a r i e s ,   o r   b y   m a k i n g   R E S T   r e q u e s t s .   B o t h   h u m a n   u s e r s   a n d   K u b e r n e t e s   s e r v i c e   a c c o u n t s   c a n   b e   a u t h o r i z e d   f o r   A P I   a c c e s s .   W h e n   a   r e q u e s t   r e a c h e s   t h e   A P I ,   i t   g o e s   t h r o u g h   s e v e r a l   s t a g e s ,   i l l u s t r a t e d   i n   t h e   f o l l o w i n g   d i a g r a m :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12763"
  },
  {
    "question": "What is Transport security?",
    "answer": "B y   d e f a u l t ,   t h e   K u b e r n e t e s   A P I   s e r v e r   l i s t e n s   o n   p o r t   6 4 4 3   o n   t h e   f i r s t   n o n - l o c a l h o s t   n e t w o r k   i n t e r f a c e ,   p r o t e c t e d   b y   T L S .   I n   a   t y p i c a l   p r o d u c t i o n   K u b e r n e t e s   c l u s t e r ,   t h e   A P I   s e r v e s   o n   p o r t   4 4 3 .   T h e   p o r t   c a n   b e   c h a n g e d   w i t h   t h e   - - s e c u r e - p o r t ,   a n d   t h e   l i s t e n i n g   I P   a d d r e s s   w i t h   t h e   - - b i n d - a d d r e s s   f l a g .   T h e   A P I   s e r v e r   p r e s e n t s   a   c e r t i f i c a t e .   T h i s   c e r t i f i c a t e   m a y   b e   s i g n e d   u s i n g   a   p r i v a t e   c e r t i f i c a t e   a u t h o r i t y   ( C A ) ,   o r   b a s e d   o n   a   p u b l i c   k e y   i n f r a s t r u c t u r e   l i n k e d   t o   a   g e n e r a l l y   r e c o g n i z e d   C A .   T h e   c e r t i f i c a t e   a n d   c o r r e s p o n d i n g   p r i v a t e   k e y   c a n   b e   s e t   b y   u s i n g   t h e   - - t l s - c e r t - f i l e   a n d   - - t l s - p r i v a t e - k e y - f i l e   f l a g s .   I f   y o u r   c l u s t e r   u s e s   a   p r i v a t e   c e r t i f i c a t e   a u t h o r i t y ,   y o u   n e e d   a   c o p y   o f   t h a t   C A   c e r t i f i c a t e   c o n f i g u r e d   i n t o   y o u r   ~ / . k u b e / c o n f i g   o n   t h e   c l i e n t ,   s o   t h a t   y o u   c a n   t r u s t   t h e   c o n n e c t i o n   a n d   b e   c o n f i d e n t   i t   w a s   n o t   i n t e r c e p t e d .   Y o u r   c l i e n t   c a n   p r e s e n t   a   T L S   c l i e n t   c e r t i f i c a t e   a t   t h i s   s t a g e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12764"
  },
  {
    "question": "What is Authentication?",
    "answer": "O n c e   T L S   i s   e s t a b l i s h e d ,   t h e   H T T P   r e q u e s t   m o v e s   t o   t h e   A u t h e n t i c a t i o n   s t e p .   T h i s   i s   s h o w n   a s   s t e p   1   i n   t h e   d i a g r a m .   T h e   c l u s t e r   c r e a t i o n   s c r i p t   o r   c l u s t e r   a d m i n   c o n f i g u r e s   t h e   A P I   s e r v e r   t o   r u n   o n e   o r   m o r e   A u t h e n t i c a t o r   m o d u l e s .   A u t h e n t i c a t o r s   a r e   d e s c r i b e d   i n   m o r e   d e t a i l   i n   A u t h e n t i c a t i o n .   T h e   i n p u t   t o   t h e   a u t h e n t i c a t i o n   s t e p   i s   t h e   e n t i r e   H T T P   r e q u e s t ;   h o w e v e r ,   i t   t y p i c a l l y   e x a m i n e s   t h e   h e a d e r s   a n d / o r   c l i e n t   c e r t i f i c a t e .   A u t h e n t i c a t i o n   m o d u l e s   i n c l u d e   c l i e n t   c e r t i f i c a t e s ,   p a s s w o r d ,   a n d   p l a i n   t o k e n s ,   b o o t s t r a p   t o k e n s ,   a n d   J S O N   W e b   T o k e n s   ( u s e d   f o r   s e r v i c e   a c c o u n t s ) .   M u l t i p l e   a u t h e n t i c a t i o n   m o d u l e s   c a n   b e   s p e c i f i e d ,   i n   w h i c h   c a s e   e a c h   o n e   i s   t r i e d   i n   s e q u e n c e ,   u n t i l   o n e   o f   t h e m   s u c c e e d s .   I f   t h e   r e q u e s t   c a n n o t   b e   a u t h e n t i c a t e d ,   i t   i s   r e j e c t e d   w i t h   H T T P   s t a t u s   c o d e   4 0 1 .   O t h e r w i s e ,   t h e   u s e r   i s   a u t h e n t i c a t e d   a s   a   s p e c i f i c   u s e r n a m e ,   a n d   t h e   u s e r   n a m e   i s   a v a i l a b l e   t o   s u b s e q u e n t   s t e p s   t o   u s e   i n   t h e i r   d e c i s i o n s .   S o m e   a u t h e n t i c a t o r s   a l s o   p r o v i d e   t h e   g r o u p   m e m b e r s h i p s   o f   t h e   u s e r ,   w h i l e   o t h e r   a u ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12765"
  },
  {
    "question": "What is Authorization?",
    "answer": "A f t e r   t h e   r e q u e s t   i s   a u t h e n t i c a t e d   a s   c o m i n g   f r o m   a   s p e c i f i c   u s e r ,   t h e   r e q u e s t   m u s t   b e   a u t h o r i z e d .   T h i s   i s   s h o w n   a s   s t e p   2   i n   t h e   d i a g r a m .   A   r e q u e s t   m u s t   i n c l u d e   t h e   u s e r n a m e   o f   t h e   r e q u e s t e r ,   t h e   r e q u e s t e d   a c t i o n ,   a n d   t h e   o b j e c t   a f f e c t e d   b y   t h e   a c t i o n .   T h e   r e q u e s t   i s   a u t h o r i z e d   i f   a n   e x i s t i n g   p o l i c y   d e c l a r e s   t h a t   t h e   u s e r   h a s   p e r m i s s i o n s   t o   c o m p l e t e   t h e   r e q u e s t e d   a c t i o n .   F o r   e x a m p l e ,   i f   B o b   h a s   t h e   p o l i c y   b e l o w ,   t h e n   h e   c a n   r e a d   p o d s   o n l y   i n   t h e   n a m e s p a c e   p r o j e c t C a r i b o u :   {   \" a p i V e r s i o n \" :   \" a b a c . a u t h o r i z a t i o n . k u b e r n e t e s . i o / v 1 b e t a 1 \" ,   \" k i n d \" :   \" P o l i c y \" ,   \" s p e c \" :   {   \" u s e r \" :   \" b o b \" ,   \" n a m e s p a c e \" :   \" p r o j e c t C a r i b o u \" ,   \" r e s o u r c e \" :   \" p o d s \" ,   \" r e a d o n l y \" :   t r u e   }   }   I f   B o b   m a k e s   t h e   f o l l o w i n g   r e q u e s t ,   t h e   r e q u e s t   i s   a u t h o r i z e d   b e c a u s e   h e   i s   a l l o w e d   t o   r e a d   o b j e c t s   i n   t h e   p r o j e c t C a r i b o u   n a m e s p a c e :   {   \" a p i V e r s i o n \" :   \" a u t h o r i z a t i o n . k 8 s . i o / v 1 b e t a 1 \" ,   \" k i n d \" :   \" S u b j e c t A c c e s s R e v i e w \" ,   \" s p e c \" :   {   \" r e s o u r c e A t t r i b u t e s \" :   {   \" n a m e s p a c e \" :   \" p r o j e c t C a r i b o u \" ,   \" v e r b \" :   \" g e t \" ,   \" g r o u p \" :   \" u n i c o r n . e x a m p l e . o r g \" ,   \" r e s o u r c e \" :   \" p o d s \"   }   }   } ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12766"
  },
  {
    "question": "What is Admission control?",
    "answer": "A d m i s s i o n   C o n t r o l   m o d u l e s   a r e   s o f t w a r e   m o d u l e s   t h a t   c a n   m o d i f y   o r   r e j e c t   r e q u e s t s .   I n   a d d i t i o n   t o   t h e   a t t r i b u t e s   a v a i l a b l e   t o   A u t h o r i z a t i o n   m o d u l e s ,   A d m i s s i o n   C o n t r o l   m o d u l e s   c a n   a c c e s s   t h e   c o n t e n t s   o f   t h e   o b j e c t   t h a t   i s   b e i n g   c r e a t e d   o r   m o d i f i e d .   A d m i s s i o n   c o n t r o l l e r s   a c t   o n   r e q u e s t s   t h a t   c r e a t e ,   m o d i f y ,   d e l e t e ,   o r   c o n n e c t   t o   ( p r o x y )   a n   o b j e c t .   A d m i s s i o n   c o n t r o l l e r s   d o   n o t   a c t   o n   r e q u e s t s   t h a t   m e r e l y   r e a d   o b j e c t s .   W h e n   m u l t i p l e   a d m i s s i o n   c o n t r o l l e r s   a r e   c o n f i g u r e d ,   t h e y   a r e   c a l l e d   i n   o r d e r .   T h i s   i s   s h o w n   a s   s t e p   3   i n   t h e   d i a g r a m .   U n l i k e   A u t h e n t i c a t i o n   a n d   A u t h o r i z a t i o n   m o d u l e s ,   i f   a n y   a d m i s s i o n   c o n t r o l l e r   m o d u l e   r e j e c t s ,   t h e n   t h e   r e q u e s t   i s   i m m e d i a t e l y   r e j e c t e d .   I n   a d d i t i o n   t o   r e j e c t i n g   o b j e c t s ,   a d m i s s i o n   c o n t r o l l e r s   c a n   a l s o   s e t   c o m p l e x   d e f a u l t s   f o r   f i e l d s .   T h e   a v a i l a b l e   A d m i s s i o n   C o n t r o l   m o d u l e s   a r e   d e s c r i b e d   i n   A d m i s s i o n   C o n t r o l l e r s .   O n c e   a   r e q u e s t   p a s s e s   a l l   a d m i s s i o n   c o n t r o l l e r s ,   i t   i s   v a l i d a t e d   u s i n g   t h e   v a l i d a t i o n   r o u t i n e s   f o r   t h e   c o r r e s p o n d i n g   A P I   o b j e c t ,   a n d   t h e n   w r i t t e n   t o   t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12767"
  },
  {
    "question": "What is Auditing?",
    "answer": "K u b e r n e t e s   a u d i t i n g   p r o v i d e s   a   s e c u r i t y - r e l e v a n t ,   c h r o n o l o g i c a l   s e t   o f   r e c o r d s   d o c u m e n t i n g   t h e   s e q u e n c e   o f   a c t i o n s   i n   a   c l u s t e r .   T h e   c l u s t e r   a u d i t s   t h e   a c t i v i t i e s   g e n e r a t e d   b y   u s e r s ,   b y   a p p l i c a t i o n s   t h a t   u s e   t h e   K u b e r n e t e s   A P I ,   a n d   b y   t h e   c o n t r o l   p l a n e   i t s e l f .   F o r   m o r e   i n f o r m a t i o n ,   s e e   A u d i t i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12768"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   m o r e   d o c u m e n t a t i o n   o n   a u t h e n t i c a t i o n ,   a u t h o r i z a t i o n   a n d   A P I   a c c e s s   c o n t r o l :   A u t h e n t i c a t i n g A u t h e n t i c a t i n g   w i t h   B o o t s t r a p   T o k e n s A d m i s s i o n   C o n t r o l l e r s D y n a m i c   A d m i s s i o n   C o n t r o l A u t h o r i z a t i o n R o l e   B a s e d   A c c e s s   C o n t r o l A t t r i b u t e   B a s e d   A c c e s s   C o n t r o l N o d e   A u t h o r i z a t i o n W e b h o o k   A u t h o r i z a t i o n C e r t i f i c a t e   S i g n i n g   R e q u e s t s i n c l u d i n g   C S R   a p p r o v a l   a n d   c e r t i f i c a t e   s i g n i n g S e r v i c e   a c c o u n t s D e v e l o p e r   g u i d e A d m i n i s t r a t i o n   A u t h e n t i c a t i n g   w i t h   B o o t s t r a p   T o k e n s   D y n a m i c   A d m i s s i o n   C o n t r o l   R o l e   B a s e d   A c c e s s   C o n t r o l A t t r i b u t e   B a s e d   A c c e s s   C o n t r o l N o d e   A u t h o r i z a t i o n W e b h o o k   A u t h o r i z a t i o n   i n c l u d i n g   C S R   a p p r o v a l   a n d   c e r t i f i c a t e   s i g n i n g   D e v e l o p e r   g u i d e A d m i n i s t r a t i o n   Y o u   c a n   l e a r n   a b o u t :   h o w   P o d s   c a n   u s e   S e c r e t s   t o   o b t a i n   A P I   c r e d e n t i a l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12769"
  },
  {
    "question": "What is 8.9 - Role Based Access Control Good Practices?",
    "answer": "K u b e r n e t e s   R B A C   i s   a   k e y   s e c u r i t y   c o n t r o l   t o   e n s u r e   t h a t   c l u s t e r   u s e r s   a n d   w o r k l o a d s   h a v e   o n l y   t h e   a c c e s s   t o   r e s o u r c e s   r e q u i r e d   t o   e x e c u t e   t h e i r   r o l e s .   I t   i s   i m p o r t a n t   t o   e n s u r e   t h a t ,   w h e n   d e s i g n i n g   p e r m i s s i o n s   f o r   c l u s t e r   u s e r s ,   t h e   c l u s t e r   a d m i n i s t r a t o r   u n d e r s t a n d s   t h e   a r e a s   w h e r e   p r i v i l e g e   e s c a l a t i o n   c o u l d   o c c u r ,   t o   r e d u c e   t h e   r i s k   o f   e x c e s s i v e   a c c e s s   l e a d i n g   t o   s e c u r i t y   i n c i d e n t s .   T h e   g o o d   p r a c t i c e s   l a i d   o u t   h e r e   s h o u l d   b e   r e a d   i n   c o n j u n c t i o n   w i t h   t h e   g e n e r a l   R B A C   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12770"
  },
  {
    "question": "What is Least privilege?",
    "answer": "I d e a l l y ,   m i n i m a l   R B A C   r i g h t s   s h o u l d   b e   a s s i g n e d   t o   u s e r s   a n d   s e r v i c e   a c c o u n t s .   O n l y   p e r m i s s i o n s   e x p l i c i t l y   r e q u i r e d   f o r   t h e i r   o p e r a t i o n   s h o u l d   b e   u s e d .   W h i l e   e a c h   c l u s t e r   w i l l   b e   d i f f e r e n t ,   s o m e   g e n e r a l   r u l e s   t h a t   c a n   b e   a p p l i e d   a r e   :   A s s i g n   p e r m i s s i o n s   a t   t h e   n a m e s p a c e   l e v e l   w h e r e   p o s s i b l e .   U s e   R o l e B i n d i n g s   a s   o p p o s e d   t o   C l u s t e r R o l e B i n d i n g s   t o   g i v e   u s e r s   r i g h t s   o n l y   w i t h i n   a   s p e c i f i c   n a m e s p a c e . A v o i d   p r o v i d i n g   w i l d c a r d   p e r m i s s i o n s   w h e n   p o s s i b l e ,   e s p e c i a l l y   t o   a l l   r e s o u r c e s .   A s   K u b e r n e t e s   i s   a n   e x t e n s i b l e   s y s t e m ,   p r o v i d i n g   w i l d c a r d   a c c e s s   g i v e s   r i g h t s   n o t   j u s t   t o   a l l   o b j e c t   t y p e s   t h a t   c u r r e n t l y   e x i s t   i n   t h e   c l u s t e r ,   b u t   a l s o   t o   a l l   o b j e c t   t y p e s   w h i c h   a r e   c r e a t e d   i n   t h e   f u t u r e . A d m i n i s t r a t o r s   s h o u l d   n o t   u s e   c l u s t e r - a d m i n   a c c o u n t s   e x c e p t   w h e r e   s p e c i f i c a l l y   n e e d e d .   P r o v i d i n g   a   l o w   p r i v i l e g e d   a c c o u n t   w i t h   i m p e r s o n a t i o n   r i g h t s   c a n   a v o i d   a c c i d e n t a l   m o d i f i c a t i o n   o f   c l u s t e r   r e s o u r c e s . A v o i d   a d d i n g   u s e r s   t o   t h e   s y s t e m : m a s t e r s   g r o u p .   A n y   u s e r   w h o   i s   a   m e m b e r   o f   t h i s   g r o u p   b y p a s s e s   a l l   R B A C   r i g h t s   c ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12771"
  },
  {
    "question": "What is Minimize distribution of privileged tokens?",
    "answer": "I d e a l l y ,   p o d s   s h o u l d n ' t   b e   a s s i g n e d   s e r v i c e   a c c o u n t s   t h a t   h a v e   b e e n   g r a n t e d   p o w e r f u l   p e r m i s s i o n s   ( f o r   e x a m p l e ,   a n y   o f   t h e   r i g h t s   l i s t e d   u n d e r   p r i v i l e g e   e s c a l a t i o n   r i s k s ) .   I n   c a s e s   w h e r e   a   w o r k l o a d   r e q u i r e s   p o w e r f u l   p e r m i s s i o n s ,   c o n s i d e r   t h e   f o l l o w i n g   p r a c t i c e s :   L i m i t   t h e   n u m b e r   o f   n o d e s   r u n n i n g   p o w e r f u l   p o d s .   E n s u r e   t h a t   a n y   D a e m o n S e t s   y o u   r u n   a r e   n e c e s s a r y   a n d   a r e   r u n   w i t h   l e a s t   p r i v i l e g e   t o   l i m i t   t h e   b l a s t   r a d i u s   o f   c o n t a i n e r   e s c a p e s . A v o i d   r u n n i n g   p o w e r f u l   p o d s   a l o n g s i d e   u n t r u s t e d   o r   p u b l i c l y - e x p o s e d   o n e s .   C o n s i d e r   u s i n g   T a i n t s   a n d   T o l e r a t i o n ,   N o d e A f f i n i t y ,   o r   P o d A n t i A f f i n i t y   t o   e n s u r e   p o d s   d o n ' t   r u n   a l o n g s i d e   u n t r u s t e d   o r   l e s s - t r u s t e d   P o d s .   P a y   s p e c i a l   a t t e n t i o n   t o   s i t u a t i o n s   w h e r e   l e s s - t r u s t w o r t h y   P o d s   a r e   n o t   m e e t i n g   t h e   R e s t r i c t e d   P o d   S e c u r i t y   S t a n d a r d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12772"
  },
  {
    "question": "What is Hardening?",
    "answer": "K u b e r n e t e s   d e f a u l t s   t o   p r o v i d i n g   a c c e s s   w h i c h   m a y   n o t   b e   r e q u i r e d   i n   e v e r y   c l u s t e r .   R e v i e w i n g   t h e   R B A C   r i g h t s   p r o v i d e d   b y   d e f a u l t   c a n   p r o v i d e   o p p o r t u n i t i e s   f o r   s e c u r i t y   h a r d e n i n g .   I n   g e n e r a l ,   c h a n g e s   s h o u l d   n o t   b e   m a d e   t o   r i g h t s   p r o v i d e d   t o   s y s t e m :   a c c o u n t s   s o m e   o p t i o n s   t o   h a r d e n   c l u s t e r   r i g h t s   e x i s t :   R e v i e w   b i n d i n g s   f o r   t h e   s y s t e m : u n a u t h e n t i c a t e d   g r o u p   a n d   r e m o v e   t h e m   w h e r e   p o s s i b l e ,   a s   t h i s   g i v e s   a c c e s s   t o   a n y o n e   w h o   c a n   c o n t a c t   t h e   A P I   s e r v e r   a t   a   n e t w o r k   l e v e l . A v o i d   t h e   d e f a u l t   a u t o - m o u n t i n g   o f   s e r v i c e   a c c o u n t   t o k e n s   b y   s e t t i n g   a u t o m o u n t S e r v i c e A c c o u n t T o k e n :   f a l s e .   F o r   m o r e   d e t a i l s ,   s e e   u s i n g   d e f a u l t   s e r v i c e   a c c o u n t   t o k e n .   S e t t i n g   t h i s   v a l u e   f o r   a   P o d   w i l l   o v e r w r i t e   t h e   s e r v i c e   a c c o u n t   s e t t i n g ,   w o r k l o a d s   w h i c h   r e q u i r e   s e r v i c e   a c c o u n t   t o k e n s   c a n   s t i l l   m o u n t   t h e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12773"
  },
  {
    "question": "What is Periodic review?",
    "answer": "I t   i s   v i t a l   t o   p e r i o d i c a l l y   r e v i e w   t h e   K u b e r n e t e s   R B A C   s e t t i n g s   f o r   r e d u n d a n t   e n t r i e s   a n d   p o s s i b l e   p r i v i l e g e   e s c a l a t i o n s .   I f   a n   a t t a c k e r   i s   a b l e   t o   c r e a t e   a   u s e r   a c c o u n t   w i t h   t h e   s a m e   n a m e   a s   a   d e l e t e d   u s e r ,   t h e y   c a n   a u t o m a t i c a l l y   i n h e r i t   a l l   t h e   r i g h t s   o f   t h e   d e l e t e d   u s e r ,   e s p e c i a l l y   t h e   r i g h t s   a s s i g n e d   t o   t h a t   u s e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12774"
  },
  {
    "question": "What is Kubernetes RBAC - privilege escalation risks?",
    "answer": "W i t h i n   K u b e r n e t e s   R B A C   t h e r e   a r e   a   n u m b e r   o f   p r i v i l e g e s   w h i c h ,   i f   g r a n t e d ,   c a n   a l l o w   a   u s e r   o r   a   s e r v i c e   a c c o u n t   t o   e s c a l a t e   t h e i r   p r i v i l e g e s   i n   t h e   c l u s t e r   o r   a f f e c t   s y s t e m s   o u t s i d e   t h e   c l u s t e r .   T h i s   s e c t i o n   i s   i n t e n d e d   t o   p r o v i d e   v i s i b i l i t y   o f   t h e   a r e a s   w h e r e   c l u s t e r   o p e r a t o r s   s h o u l d   t a k e   c a r e ,   t o   e n s u r e   t h a t   t h e y   d o   n o t   i n a d v e r t e n t l y   a l l o w   f o r   m o r e   a c c e s s   t o   c l u s t e r s   t h a n   i n t e n d e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12775"
  },
  {
    "question": "What is Listing secrets?",
    "answer": "I t   i s   g e n e r a l l y   c l e a r   t h a t   a l l o w i n g   g e t   a c c e s s   o n   S e c r e t s   w i l l   a l l o w   a   u s e r   t o   r e a d   t h e i r   c o n t e n t s .   I t   i s   a l s o   i m p o r t a n t   t o   n o t e   t h a t   l i s t   a n d   w a t c h   a c c e s s   a l s o   e f f e c t i v e l y   a l l o w   f o r   u s e r s   t o   r e v e a l   t h e   S e c r e t   c o n t e n t s .   F o r   e x a m p l e ,   w h e n   a   L i s t   r e s p o n s e   i s   r e t u r n e d   ( f o r   e x a m p l e ,   v i a   k u b e c t l   g e t   s e c r e t s   - A   - o   y a m l ) ,   t h e   r e s p o n s e   i n c l u d e s   t h e   c o n t e n t s   o f   a l l   S e c r e t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12776"
  },
  {
    "question": "What is Workload creation?",
    "answer": "P e r m i s s i o n   t o   c r e a t e   w o r k l o a d s   ( e i t h e r   P o d s ,   o r   w o r k l o a d   r e s o u r c e s   t h a t   m a n a g e   P o d s )   i n   a   n a m e s p a c e   i m p l i c i t l y   g r a n t s   a c c e s s   t o   m a n y   o t h e r   r e s o u r c e s   i n   t h a t   n a m e s p a c e ,   s u c h   a s   S e c r e t s ,   C o n f i g M a p s ,   a n d   P e r s i s t e n t V o l u m e s   t h a t   c a n   b e   m o u n t e d   i n   P o d s .   A d d i t i o n a l l y ,   s i n c e   P o d s   c a n   r u n   a s   a n y   S e r v i c e A c c o u n t ,   g r a n t i n g   p e r m i s s i o n   t o   c r e a t e   w o r k l o a d s   a l s o   i m p l i c i t l y   g r a n t s   t h e   A P I   a c c e s s   l e v e l s   o f   a n y   s e r v i c e   a c c o u n t   i n   t h a t   n a m e s p a c e .   U s e r s   w h o   c a n   r u n   p r i v i l e g e d   P o d s   c a n   u s e   t h a t   a c c e s s   t o   g a i n   n o d e   a c c e s s   a n d   p o t e n t i a l l y   t o   f u r t h e r   e l e v a t e   t h e i r   p r i v i l e g e s .   W h e r e   y o u   d o   n o t   f u l l y   t r u s t   a   u s e r   o r   o t h e r   p r i n c i p a l   w i t h   t h e   a b i l i t y   t o   c r e a t e   s u i t a b l y   s e c u r e   a n d   i s o l a t e d   P o d s ,   y o u   s h o u l d   e n f o r c e   e i t h e r   t h e   B a s e l i n e   o r   R e s t r i c t e d   P o d   S e c u r i t y   S t a n d a r d .   Y o u   c a n   u s e   P o d   S e c u r i t y   a d m i s s i o n   o r   o t h e r   ( t h i r d   p a r t y )   m e c h a n i s m s   t o   i m p l e m e n t   t h a t   e n f o r c e m e n t .   F o r   t h e s e   r e a s o n s ,   n a m e s p a c e s   s h o u l d   b e   u s e d   t o   s e p a r a t e   r e s o u r c e s   r e q u i r i n g   d i f f e r e n t   l e v e l s   o f   t r u s t   o r   t e n a n c y .   I t   i s   s t i l l   c o n s i d e r e d   b e s t   p r a c t i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12777"
  },
  {
    "question": "What is Persistent volume creation?",
    "answer": "I f   s o m e o n e   -   o r   s o m e   a p p l i c a t i o n   -   i s   a l l o w e d   t o   c r e a t e   a r b i t r a r y   P e r s i s t e n t V o l u m e s ,   t h a t   a c c e s s   i n c l u d e s   t h e   c r e a t i o n   o f   h o s t P a t h   v o l u m e s ,   w h i c h   t h e n   m e a n s   t h a t   a   P o d   w o u l d   g e t   a c c e s s   t o   t h e   u n d e r l y i n g   h o s t   f i l e s y s t e m ( s )   o n   t h e   a s s o c i a t e d   n o d e .   G r a n t i n g   t h a t   a b i l i t y   i s   a   s e c u r i t y   r i s k .   T h e r e   a r e   m a n y   w a y s   a   c o n t a i n e r   w i t h   u n r e s t r i c t e d   a c c e s s   t o   t h e   h o s t   f i l e s y s t e m   c a n   e s c a l a t e   p r i v i l e g e s ,   i n c l u d i n g   r e a d i n g   d a t a   f r o m   o t h e r   c o n t a i n e r s ,   a n d   a b u s i n g   t h e   c r e d e n t i a l s   o f   s y s t e m   s e r v i c e s ,   s u c h   a s   K u b e l e t .   Y o u   s h o u l d   o n l y   a l l o w   a c c e s s   t o   c r e a t e   P e r s i s t e n t V o l u m e   o b j e c t s   f o r :   U s e r s   ( c l u s t e r   o p e r a t o r s )   t h a t   n e e d   t h i s   a c c e s s   f o r   t h e i r   w o r k ,   a n d   w h o   y o u   t r u s t . T h e   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t s   w h i c h   c r e a t e s   P e r s i s t e n t V o l u m e s   b a s e d   o n   P e r s i s t e n t V o l u m e C l a i m s   t h a t   a r e   c o n f i g u r e d   f o r   a u t o m a t i c   p r o v i s i o n i n g .   T h i s   i s   u s u a l l y   s e t u p   b y   t h e   K u b e r n e t e s   p r o v i d e r   o r   b y   t h e   o p e r a t o r   w h e n   i n s t a l l i n g   a   C S I   d r i v e r .   W h e r e   a c c e s s   t o   p e r s i s t e n t   s t o r a g e   i s   r e q u i r e d   t r u s t e d   a d m i n i s t r a t o r s   s h o u l d   c r e a t e   P e r s i s t e n t V ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12778"
  },
  {
    "question": "What is Access to proxy subresource of Nodes?",
    "answer": "U s e r s   w i t h   a c c e s s   t o   t h e   p r o x y   s u b - r e s o u r c e   o f   n o d e   o b j e c t s   h a v e   r i g h t s   t o   t h e   K u b e l e t   A P I ,   w h i c h   a l l o w s   f o r   c o m m a n d   e x e c u t i o n   o n   e v e r y   p o d   o n   t h e   n o d e ( s )   t o   w h i c h   t h e y   h a v e   r i g h t s .   T h i s   a c c e s s   b y p a s s e s   a u d i t   l o g g i n g   a n d   a d m i s s i o n   c o n t r o l ,   s o   c a r e   s h o u l d   b e   t a k e n   b e f o r e   g r a n t i n g   r i g h t s   t o   t h i s   r e s o u r c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12779"
  },
  {
    "question": "What is Escalate verb?",
    "answer": "G e n e r a l l y ,   t h e   R B A C   s y s t e m   p r e v e n t s   u s e r s   f r o m   c r e a t i n g   c l u s t e r r o l e s   w i t h   m o r e   r i g h t s   t h a n   t h e   u s e r   p o s s e s s e s .   T h e   e x c e p t i o n   t o   t h i s   i s   t h e   e s c a l a t e   v e r b .   A s   n o t e d   i n   t h e   R B A C   d o c u m e n t a t i o n ,   u s e r s   w i t h   t h i s   r i g h t   c a n   e f f e c t i v e l y   e s c a l a t e   t h e i r   p r i v i l e g e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12780"
  },
  {
    "question": "What is Bind verb?",
    "answer": "S i m i l a r   t o   t h e   e s c a l a t e   v e r b ,   g r a n t i n g   u s e r s   t h i s   r i g h t   a l l o w s   f o r   t h e   b y p a s s   o f   K u b e r n e t e s   i n - b u i l t   p r o t e c t i o n s   a g a i n s t   p r i v i l e g e   e s c a l a t i o n ,   a l l o w i n g   u s e r s   t o   c r e a t e   b i n d i n g s   t o   r o l e s   w i t h   r i g h t s   t h e y   d o   n o t   a l r e a d y   h a v e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12781"
  },
  {
    "question": "What is Impersonate verb?",
    "answer": "T h i s   v e r b   a l l o w s   u s e r s   t o   i m p e r s o n a t e   a n d   g a i n   t h e   r i g h t s   o f   o t h e r   u s e r s   i n   t h e   c l u s t e r .   C a r e   s h o u l d   b e   t a k e n   w h e n   g r a n t i n g   i t ,   t o   e n s u r e   t h a t   e x c e s s i v e   p e r m i s s i o n s   c a n n o t   b e   g a i n e d   v i a   o n e   o f   t h e   i m p e r s o n a t e d   a c c o u n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12782"
  },
  {
    "question": "What is CSRs and certificate issuing?",
    "answer": "T h e   C S R   A P I   a l l o w s   f o r   u s e r s   w i t h   c r e a t e   r i g h t s   t o   C S R s   a n d   u p d a t e   r i g h t s   o n   c e r t i f i c a t e s i g n i n g r e q u e s t s / a p p r o v a l   w h e r e   t h e   s i g n e r   i s   k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t   t o   c r e a t e   n e w   c l i e n t   c e r t i f i c a t e s   w h i c h   a l l o w   u s e r s   t o   a u t h e n t i c a t e   t o   t h e   c l u s t e r .   T h o s e   c l i e n t   c e r t i f i c a t e s   c a n   h a v e   a r b i t r a r y   n a m e s   i n c l u d i n g   d u p l i c a t e s   o f   K u b e r n e t e s   s y s t e m   c o m p o n e n t s .   T h i s   w i l l   e f f e c t i v e l y   a l l o w   f o r   p r i v i l e g e   e s c a l a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12783"
  },
  {
    "question": "What is Token request?",
    "answer": "U s e r s   w i t h   c r e a t e   r i g h t s   o n   s e r v i c e a c c o u n t s / t o k e n   c a n   c r e a t e   T o k e n R e q u e s t s   t o   i s s u e   t o k e n s   f o r   e x i s t i n g   s e r v i c e   a c c o u n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12784"
  },
  {
    "question": "What is Control admission webhooks?",
    "answer": "U s e r s   w i t h   c o n t r o l   o v e r   v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s   o r   m u t a t i n g w e b h o o k c o n f i g u r a t i o n s   c a n   c o n t r o l   w e b h o o k s   t h a t   c a n   r e a d   a n y   o b j e c t   a d m i t t e d   t o   t h e   c l u s t e r ,   a n d   i n   t h e   c a s e   o f   m u t a t i n g   w e b h o o k s ,   a l s o   m u t a t e   a d m i t t e d   o b j e c t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12785"
  },
  {
    "question": "What is Namespace modification?",
    "answer": "U s e r s   w h o   c a n   p e r f o r m   p a t c h   o p e r a t i o n s   o n   N a m e s p a c e   o b j e c t s   ( t h r o u g h   a   n a m e s p a c e d   R o l e B i n d i n g   t o   a   R o l e   w i t h   t h a t   a c c e s s )   c a n   m o d i f y   l a b e l s   o n   t h a t   n a m e s p a c e .   I n   c l u s t e r s   w h e r e   P o d   S e c u r i t y   A d m i s s i o n   i s   u s e d ,   t h i s   m a y   a l l o w   a   u s e r   t o   c o n f i g u r e   t h e   n a m e s p a c e   f o r   a   m o r e   p e r m i s s i v e   p o l i c y   t h a n   i n t e n d e d   b y   t h e   a d m i n i s t r a t o r s .   F o r   c l u s t e r s   w h e r e   N e t w o r k P o l i c y   i s   u s e d ,   u s e r s   m a y   b e   s e t   l a b e l s   t h a t   i n d i r e c t l y   a l l o w   a c c e s s   t o   s e r v i c e s   t h a t   a n   a d m i n i s t r a t o r   d i d   n o t   i n t e n d   t o   a l l o w .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12786"
  },
  {
    "question": "What is Object creation denial-of-service?",
    "answer": "U s e r s   w h o   h a v e   r i g h t s   t o   c r e a t e   o b j e c t s   i n   a   c l u s t e r   m a y   b e   a b l e   t o   c r e a t e   s u f f i c i e n t   l a r g e   o b j e c t s   t o   c r e a t e   a   d e n i a l   o f   s e r v i c e   c o n d i t i o n   e i t h e r   b a s e d   o n   t h e   s i z e   o r   n u m b e r   o f   o b j e c t s ,   a s   d i s c u s s e d   i n   e t c d   u s e d   b y   K u b e r n e t e s   i s   v u l n e r a b l e   t o   O O M   a t t a c k .   T h i s   m a y   b e   s p e c i f i c a l l y   r e l e v a n t   i n   m u l t i - t e n a n t   c l u s t e r s   i f   s e m i - t r u s t e d   o r   u n t r u s t e d   u s e r s   a r e   a l l o w e d   l i m i t e d   a c c e s s   t o   a   s y s t e m .   O n e   o p t i o n   f o r   m i t i g a t i o n   o f   t h i s   i s s u e   w o u l d   b e   t o   u s e   r e s o u r c e   q u o t a s   t o   l i m i t   t h e   q u a n t i t y   o f   o b j e c t s   w h i c h   c a n   b e   c r e a t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12787"
  },
  {
    "question": "What is What's next?",
    "answer": "T o   l e a r n   m o r e   a b o u t   R B A C ,   s e e   t h e   R B A C   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12788"
  },
  {
    "question": "What is 8.10 - Good practices for Kubernetes Secrets?",
    "answer": "I n   K u b e r n e t e s ,   a   S e c r e t   i s   a n   o b j e c t   t h a t   s t o r e s   s e n s i t i v e   i n f o r m a t i o n ,   s u c h   a s   p a s s w o r d s ,   O A u t h   t o k e n s ,   a n d   S S H   k e y s .   I n   K u b e r n e t e s ,   a   S e c r e t   i s   a n   o b j e c t   t h a t   s t o r e s   s e n s i t i v e   i n f o r m a t i o n ,   s u c h   a s   p a s s w o r d s ,   O A u t h   t o k e n s ,   a n d   S S H   k e y s .   S e c r e t s   g i v e   y o u   m o r e   c o n t r o l   o v e r   h o w   s e n s i t i v e   i n f o r m a t i o n   i s   u s e d   a n d   r e d u c e s   t h e   r i s k   o f   a c c i d e n t a l   e x p o s u r e .   S e c r e t   v a l u e s   a r e   e n c o d e d   a s   b a s e 6 4   s t r i n g s   a n d   a r e   s t o r e d   u n e n c r y p t e d   b y   d e f a u l t ,   b u t   c a n   b e   c o n f i g u r e d   t o   b e   e n c r y p t e d   a t   r e s t .   A   P o d   c a n   r e f e r e n c e   t h e   S e c r e t   i n   a   v a r i e t y   o f   w a y s ,   s u c h   a s   i n   a   v o l u m e   m o u n t   o r   a s   a n   e n v i r o n m e n t   v a r i a b l e .   S e c r e t s   a r e   d e s i g n e d   f o r   c o n f i d e n t i a l   d a t a   a n d   C o n f i g M a p s   a r e   d e s i g n e d   f o r   n o n - c o n f i d e n t i a l   d a t a .   T h e   f o l l o w i n g   g o o d   p r a c t i c e s   a r e   i n t e n d e d   f o r   b o t h   c l u s t e r   a d m i n i s t r a t o r s   a n d   a p p l i c a t i o n   d e v e l o p e r s .   U s e   t h e s e   g u i d e l i n e s   t o   i m p r o v e   t h e   s e c u r i t y   o f   y o u r   s e n s i t i v e   i n f o r m a t i o n   i n   S e c r e t   o b j e c t s ,   a s   w e l l   a s   t o   m o r e   e f f e c t i v e l y   m a n a g e   y o u r   S e c r e t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12789"
  },
  {
    "question": "What is Cluster administrators?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   g o o d   p r a c t i c e s   t h a t   c l u s t e r   a d m i n i s t r a t o r s   c a n   u s e   t o   i m p r o v e   t h e   s e c u r i t y   o f   c o n f i d e n t i a l   i n f o r m a t i o n   i n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12790"
  },
  {
    "question": "What is Configure encryption at rest?",
    "answer": "B y   d e f a u l t ,   S e c r e t   o b j e c t s   a r e   s t o r e d   u n e n c r y p t e d   i n   e t c d .   Y o u   s h o u l d   c o n f i g u r e   e n c r y p t i o n   o f   y o u r   S e c r e t   d a t a   i n   e t c d .   F o r   i n s t r u c t i o n s ,   r e f e r   t o   E n c r y p t   S e c r e t   D a t a   a t   R e s t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12791"
  },
  {
    "question": "What is Configure least-privilege access to Secrets?",
    "answer": "W h e n   p l a n n i n g   y o u r   a c c e s s   c o n t r o l   m e c h a n i s m ,   s u c h   a s   K u b e r n e t e s   R o l e - b a s e d   A c c e s s   C o n t r o l   ( R B A C ) ,   c o n s i d e r   t h e   f o l l o w i n g   g u i d e l i n e s   f o r   a c c e s s   t o   S e c r e t   o b j e c t s .   Y o u   s h o u l d   a l s o   f o l l o w   t h e   o t h e r   g u i d e l i n e s   i n   R B A C   g o o d   p r a c t i c e s .   C o m p o n e n t s :   R e s t r i c t   w a t c h   o r   l i s t   a c c e s s   t o   o n l y   t h e   m o s t   p r i v i l e g e d ,   s y s t e m - l e v e l   c o m p o n e n t s .   O n l y   g r a n t   g e t   a c c e s s   f o r   S e c r e t s   i f   t h e   c o m p o n e n t ' s   n o r m a l   b e h a v i o r   r e q u i r e s   i t . H u m a n s :   R e s t r i c t   g e t ,   w a t c h ,   o r   l i s t   a c c e s s   t o   S e c r e t s .   O n l y   a l l o w   c l u s t e r   a d m i n i s t r a t o r s   t o   a c c e s s   e t c d .   T h i s   i n c l u d e s   r e a d - o n l y   a c c e s s .   F o r   m o r e   c o m p l e x   a c c e s s   c o n t r o l ,   s u c h   a s   r e s t r i c t i n g   a c c e s s   t o   S e c r e t s   w i t h   s p e c i f i c   a n n o t a t i o n s ,   c o n s i d e r   u s i n g   t h i r d - p a r t y   a u t h o r i z a t i o n   m e c h a n i s m s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12792"
  },
  {
    "question": "What is Caution:?",
    "answer": "A   u s e r   w h o   c a n   c r e a t e   a   P o d   t h a t   u s e s   a   S e c r e t   c a n   a l s o   s e e   t h e   v a l u e   o f   t h a t   S e c r e t .   E v e n   i f   c l u s t e r   p o l i c i e s   d o   n o t   a l l o w   a   u s e r   t o   r e a d   t h e   S e c r e t   d i r e c t l y ,   t h e   s a m e   u s e r   c o u l d   h a v e   a c c e s s   t o   r u n   a   P o d   t h a t   t h e n   e x p o s e s   t h e   S e c r e t .   Y o u   c a n   d e t e c t   o r   l i m i t   t h e   i m p a c t   c a u s e d   b y   S e c r e t   d a t a   b e i n g   e x p o s e d ,   e i t h e r   i n t e n t i o n a l l y   o r   u n i n t e n t i o n a l l y ,   b y   a   u s e r   w i t h   t h i s   a c c e s s .   S o m e   r e c o m m e n d a t i o n s   i n c l u d e :   U s e   s h o r t - l i v e d   S e c r e t s I m p l e m e n t   a u d i t   r u l e s   t h a t   a l e r t   o n   s p e c i f i c   e v e n t s ,   s u c h   a s   c o n c u r r e n t   r e a d i n g   o f   m u l t i p l e   S e c r e t s   b y   a   s i n g l e   u s e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12793"
  },
  {
    "question": "What is Restrict Access for Secrets?",
    "answer": "U s e   s e p a r a t e   n a m e s p a c e s   t o   i s o l a t e   a c c e s s   t o   m o u n t e d   s e c r e t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12794"
  },
  {
    "question": "What is Improve etcd management policies?",
    "answer": "C o n s i d e r   w i p i n g   o r   s h r e d d i n g   t h e   d u r a b l e   s t o r a g e   u s e d   b y   e t c d   o n c e   i t   i s   n o   l o n g e r   i n   u s e .   I f   t h e r e   a r e   m u l t i p l e   e t c d   i n s t a n c e s ,   c o n f i g u r e   e n c r y p t e d   S S L / T L S   c o m m u n i c a t i o n   b e t w e e n   t h e   i n s t a n c e s   t o   p r o t e c t   t h e   S e c r e t   d a t a   i n   t r a n s i t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12795"
  },
  {
    "question": "What is Configure access to external Secrets?",
    "answer": "Y o u   c a n   u s e   t h i r d - p a r t y   S e c r e t s   s t o r e   p r o v i d e r s   t o   k e e p   y o u r   c o n f i d e n t i a l   d a t a   o u t s i d e   y o u r   c l u s t e r   a n d   t h e n   c o n f i g u r e   P o d s   t o   a c c e s s   t h a t   i n f o r m a t i o n .   T h e   K u b e r n e t e s   S e c r e t s   S t o r e   C S I   D r i v e r   i s   a   D a e m o n S e t   t h a t   l e t s   t h e   k u b e l e t   r e t r i e v e   S e c r e t s   f r o m   e x t e r n a l   s t o r e s ,   a n d   m o u n t   t h e   S e c r e t s   a s   a   v o l u m e   i n t o   s p e c i f i c   P o d s   t h a t   y o u   a u t h o r i z e   t o   a c c e s s   t h e   d a t a .   F o r   a   l i s t   o f   s u p p o r t e d   p r o v i d e r s ,   r e f e r   t o   P r o v i d e r s   f o r   t h e   S e c r e t   S t o r e   C S I   D r i v e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12796"
  },
  {
    "question": "What is Good practices for using swap memory?",
    "answer": "F o r   b e s t   p r a c t i c e s   f o r   s e t t i n g   s w a p   m e m o r y   f o r   L i n u x   n o d e s ,   p l e a s e   r e f e r   t o   s w a p   m e m o r y   m a n a g e m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12797"
  },
  {
    "question": "What is Developers?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   g o o d   p r a c t i c e s   f o r   d e v e l o p e r s   t o   u s e   t o   i m p r o v e   t h e   s e c u r i t y   o f   c o n f i d e n t i a l   d a t a   w h e n   b u i l d i n g   a n d   d e p l o y i n g   K u b e r n e t e s   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12798"
  },
  {
    "question": "What is Restrict Secret access to specific containers?",
    "answer": "I f   y o u   a r e   d e f i n i n g   m u l t i p l e   c o n t a i n e r s   i n   a   P o d ,   a n d   o n l y   o n e   o f   t h o s e   c o n t a i n e r s   n e e d s   a c c e s s   t o   a   S e c r e t ,   d e f i n e   t h e   v o l u m e   m o u n t   o r   e n v i r o n m e n t   v a r i a b l e   c o n f i g u r a t i o n   s o   t h a t   t h e   o t h e r   c o n t a i n e r s   d o   n o t   h a v e   a c c e s s   t o   t h a t   S e c r e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12799"
  },
  {
    "question": "What is Protect Secret data after reading?",
    "answer": "A p p l i c a t i o n s   s t i l l   n e e d   t o   p r o t e c t   t h e   v a l u e   o f   c o n f i d e n t i a l   i n f o r m a t i o n   a f t e r   r e a d i n g   i t   f r o m   a n   e n v i r o n m e n t   v a r i a b l e   o r   v o l u m e .   F o r   e x a m p l e ,   y o u r   a p p l i c a t i o n   m u s t   a v o i d   l o g g i n g   t h e   s e c r e t   d a t a   i n   t h e   c l e a r   o r   t r a n s m i t t i n g   i t   t o   a n   u n t r u s t e d   p a r t y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12800"
  },
  {
    "question": "What is Avoid sharing Secret manifests?",
    "answer": "I f   y o u   c o n f i g u r e   a   S e c r e t   t h r o u g h   a   m a n i f e s t ,   w i t h   t h e   s e c r e t   d a t a   e n c o d e d   a s   b a s e 6 4 ,   s h a r i n g   t h i s   f i l e   o r   c h e c k i n g   i t   i n   t o   a   s o u r c e   r e p o s i t o r y   m e a n s   t h e   s e c r e t   i s   a v a i l a b l e   t o   e v e r y o n e   w h o   c a n   r e a d   t h e   m a n i f e s t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12801"
  },
  {
    "question": "What is 8.11 - Multi-tenancy?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   o f   a v a i l a b l e   c o n f i g u r a t i o n   o p t i o n s   a n d   b e s t   p r a c t i c e s   f o r   c l u s t e r   m u l t i - t e n a n c y .   S h a r i n g   c l u s t e r s   s a v e s   c o s t s   a n d   s i m p l i f i e s   a d m i n i s t r a t i o n .   H o w e v e r ,   s h a r i n g   c l u s t e r s   a l s o   p r e s e n t s   c h a l l e n g e s   s u c h   a s   s e c u r i t y ,   f a i r n e s s ,   a n d   m a n a g i n g   n o i s y   n e i g h b o r s .   C l u s t e r s   c a n   b e   s h a r e d   i n   m a n y   w a y s .   I n   s o m e   c a s e s ,   d i f f e r e n t   a p p l i c a t i o n s   m a y   r u n   i n   t h e   s a m e   c l u s t e r .   I n   o t h e r   c a s e s ,   m u l t i p l e   i n s t a n c e s   o f   t h e   s a m e   a p p l i c a t i o n   m a y   r u n   i n   t h e   s a m e   c l u s t e r ,   o n e   f o r   e a c h   e n d   u s e r .   A l l   t h e s e   t y p e s   o f   s h a r i n g   a r e   f r e q u e n t l y   d e s c r i b e d   u s i n g   t h e   u m b r e l l a   t e r m   m u l t i - t e n a n c y .   W h i l e   K u b e r n e t e s   d o e s   n o t   h a v e   f i r s t - c l a s s   c o n c e p t s   o f   e n d   u s e r s   o r   t e n a n t s ,   i t   p r o v i d e s   s e v e r a l   f e a t u r e s   t o   h e l p   m a n a g e   d i f f e r e n t   t e n a n c y   r e q u i r e m e n t s .   T h e s e   a r e   d i s c u s s e d   b e l o w .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12802"
  },
  {
    "question": "What is Use cases?",
    "answer": "T h e   f i r s t   s t e p   t o   d e t e r m i n i n g   h o w   t o   s h a r e   y o u r   c l u s t e r   i s   u n d e r s t a n d i n g   y o u r   u s e   c a s e ,   s o   y o u   c a n   e v a l u a t e   t h e   p a t t e r n s   a n d   t o o l s   a v a i l a b l e .   I n   g e n e r a l ,   m u l t i - t e n a n c y   i n   K u b e r n e t e s   c l u s t e r s   f a l l s   i n t o   t w o   b r o a d   c a t e g o r i e s ,   t h o u g h   m a n y   v a r i a t i o n s   a n d   h y b r i d s   a r e   a l s o   p o s s i b l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12803"
  },
  {
    "question": "What is Multiple teams?",
    "answer": "A   c o m m o n   f o r m   o f   m u l t i - t e n a n c y   i s   t o   s h a r e   a   c l u s t e r   b e t w e e n   m u l t i p l e   t e a m s   w i t h i n   a n   o r g a n i z a t i o n ,   e a c h   o f   w h o m   m a y   o p e r a t e   o n e   o r   m o r e   w o r k l o a d s .   T h e s e   w o r k l o a d s   f r e q u e n t l y   n e e d   t o   c o m m u n i c a t e   w i t h   e a c h   o t h e r ,   a n d   w i t h   o t h e r   w o r k l o a d s   l o c a t e d   o n   t h e   s a m e   o r   d i f f e r e n t   c l u s t e r s .   I n   t h i s   s c e n a r i o ,   m e m b e r s   o f   t h e   t e a m s   o f t e n   h a v e   d i r e c t   a c c e s s   t o   K u b e r n e t e s   r e s o u r c e s   v i a   t o o l s   s u c h   a s   k u b e c t l ,   o r   i n d i r e c t   a c c e s s   t h r o u g h   G i t O p s   c o n t r o l l e r s   o r   o t h e r   t y p e s   o f   r e l e a s e   a u t o m a t i o n   t o o l s .   T h e r e   i s   o f t e n   s o m e   l e v e l   o f   t r u s t   b e t w e e n   m e m b e r s   o f   d i f f e r e n t   t e a m s ,   b u t   K u b e r n e t e s   p o l i c i e s   s u c h   a s   R B A C ,   q u o t a s ,   a n d   n e t w o r k   p o l i c i e s   a r e   e s s e n t i a l   t o   s a f e l y   a n d   f a i r l y   s h a r e   c l u s t e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12804"
  },
  {
    "question": "What is Multiple customers?",
    "answer": "T h e   o t h e r   m a j o r   f o r m   o f   m u l t i - t e n a n c y   f r e q u e n t l y   i n v o l v e s   a   S o f t w a r e - a s - a - S e r v i c e   ( S a a S )   v e n d o r   r u n n i n g   m u l t i p l e   i n s t a n c e s   o f   a   w o r k l o a d   f o r   c u s t o m e r s .   T h i s   b u s i n e s s   m o d e l   i s   s o   s t r o n g l y   a s s o c i a t e d   w i t h   t h i s   d e p l o y m e n t   s t y l e   t h a t   m a n y   p e o p l e   c a l l   i t   \" S a a S   t e n a n c y . \"   H o w e v e r ,   a   b e t t e r   t e r m   m i g h t   b e   \" m u l t i - c u s t o m e r   t e n a n c y , \"   s i n c e   S a a S   v e n d o r s   m a y   a l s o   u s e   o t h e r   d e p l o y m e n t   m o d e l s ,   a n d   t h i s   d e p l o y m e n t   m o d e l   c a n   a l s o   b e   u s e d   o u t s i d e   o f   S a a S .   I n   t h i s   s c e n a r i o ,   t h e   c u s t o m e r s   d o   n o t   h a v e   a c c e s s   t o   t h e   c l u s t e r ;   K u b e r n e t e s   i s   i n v i s i b l e   f r o m   t h e i r   p e r s p e c t i v e   a n d   i s   o n l y   u s e d   b y   t h e   v e n d o r   t o   m a n a g e   t h e   w o r k l o a d s .   C o s t   o p t i m i z a t i o n   i s   f r e q u e n t l y   a   c r i t i c a l   c o n c e r n ,   a n d   K u b e r n e t e s   p o l i c i e s   a r e   u s e d   t o   e n s u r e   t h a t   t h e   w o r k l o a d s   a r e   s t r o n g l y   i s o l a t e d   f r o m   e a c h   o t h e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12805"
  },
  {
    "question": "What is Tenants?",
    "answer": "W h e n   d i s c u s s i n g   m u l t i - t e n a n c y   i n   K u b e r n e t e s ,   t h e r e   i s   n o   s i n g l e   d e f i n i t i o n   f o r   a   \" t e n a n t \" .   R a t h e r ,   t h e   d e f i n i t i o n   o f   a   t e n a n t   w i l l   v a r y   d e p e n d i n g   o n   w h e t h e r   m u l t i - t e a m   o r   m u l t i - c u s t o m e r   t e n a n c y   i s   b e i n g   d i s c u s s e d .   I n   m u l t i - t e a m   u s a g e ,   a   t e n a n t   i s   t y p i c a l l y   a   t e a m ,   w h e r e   e a c h   t e a m   t y p i c a l l y   d e p l o y s   a   s m a l l   n u m b e r   o f   w o r k l o a d s   t h a t   s c a l e s   w i t h   t h e   c o m p l e x i t y   o f   t h e   s e r v i c e .   H o w e v e r ,   t h e   d e f i n i t i o n   o f   \" t e a m \"   m a y   i t s e l f   b e   f u z z y ,   a s   t e a m s   m a y   b e   o r g a n i z e d   i n t o   h i g h e r - l e v e l   d i v i s i o n s   o r   s u b d i v i d e d   i n t o   s m a l l e r   t e a m s .   B y   c o n t r a s t ,   i f   e a c h   t e a m   d e p l o y s   d e d i c a t e d   w o r k l o a d s   f o r   e a c h   n e w   c l i e n t ,   t h e y   a r e   u s i n g   a   m u l t i - c u s t o m e r   m o d e l   o f   t e n a n c y .   I n   t h i s   c a s e ,   a   \" t e n a n t \"   i s   s i m p l y   a   g r o u p   o f   u s e r s   w h o   s h a r e   a   s i n g l e   w o r k l o a d .   T h i s   m a y   b e   a s   l a r g e   a s   a n   e n t i r e   c o m p a n y ,   o r   a s   s m a l l   a s   a   s i n g l e   t e a m   a t   t h a t   c o m p a n y .   I n   m a n y   c a s e s ,   t h e   s a m e   o r g a n i z a t i o n   m a y   u s e   b o t h   d e f i n i t i o n s   o f   \" t e n a n t s \"   i n   d i f f e r e n t   c o n t e x t s .   F o r   e x a m p l e ,   a   p l a t f o r m   t e a m   m a y   o f f e r   s h a r e d   s e r v i c e s   s u c h   a s   s e c u r i t y   t o o l s   a n d   d a t a b a s ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12806"
  },
  {
    "question": "What is Isolation?",
    "answer": "T h e r e   a r e   s e v e r a l   w a y s   t o   d e s i g n   a n d   b u i l d   m u l t i - t e n a n t   s o l u t i o n s   w i t h   K u b e r n e t e s .   E a c h   o f   t h e s e   m e t h o d s   c o m e s   w i t h   i t s   o w n   s e t   o f   t r a d e o f f s   t h a t   i m p a c t   t h e   i s o l a t i o n   l e v e l ,   i m p l e m e n t a t i o n   e f f o r t ,   o p e r a t i o n a l   c o m p l e x i t y ,   a n d   c o s t   o f   s e r v i c e .   A   K u b e r n e t e s   c l u s t e r   c o n s i s t s   o f   a   c o n t r o l   p l a n e   w h i c h   r u n s   K u b e r n e t e s   s o f t w a r e ,   a n d   a   d a t a   p l a n e   c o n s i s t i n g   o f   w o r k e r   n o d e s   w h e r e   t e n a n t   w o r k l o a d s   a r e   e x e c u t e d   a s   p o d s .   T e n a n t   i s o l a t i o n   c a n   b e   a p p l i e d   i n   b o t h   t h e   c o n t r o l   p l a n e   a n d   t h e   d a t a   p l a n e   b a s e d   o n   o r g a n i z a t i o n a l   r e q u i r e m e n t s .   T h e   l e v e l   o f   i s o l a t i o n   o f f e r e d   i s   s o m e t i m e s   d e s c r i b e d   u s i n g   t e r m s   l i k e   “ h a r d ”   m u l t i - t e n a n c y ,   w h i c h   i m p l i e s   s t r o n g   i s o l a t i o n ,   a n d   “ s o f t ”   m u l t i - t e n a n c y ,   w h i c h   i m p l i e s   w e a k e r   i s o l a t i o n .   I n   p a r t i c u l a r ,   \" h a r d \"   m u l t i - t e n a n c y   i s   o f t e n   u s e d   t o   d e s c r i b e   c a s e s   w h e r e   t h e   t e n a n t s   d o   n o t   t r u s t   e a c h   o t h e r ,   o f t e n   f r o m   s e c u r i t y   a n d   r e s o u r c e   s h a r i n g   p e r s p e c t i v e s   ( e . g .   g u a r d i n g   a g a i n s t   a t t a c k s   s u c h   a s   d a t a   e x f i l t r a t i o n   o r   D o S ) .   S i n c e   d a t a   p l a n e s   t y p i c a l l y   h a v e   m u c h   l a r g e r   a t t a c k   s u r f a c e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12807"
  },
  {
    "question": "What is Control plane isolation?",
    "answer": "C o n t r o l   p l a n e   i s o l a t i o n   e n s u r e s   t h a t   d i f f e r e n t   t e n a n t s   c a n n o t   a c c e s s   o r   a f f e c t   e a c h   o t h e r s '   K u b e r n e t e s   A P I   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12808"
  },
  {
    "question": "What is Namespaces?",
    "answer": "I n   K u b e r n e t e s ,   a   N a m e s p a c e   p r o v i d e s   a   m e c h a n i s m   f o r   i s o l a t i n g   g r o u p s   o f   A P I   r e s o u r c e s   w i t h i n   a   s i n g l e   c l u s t e r .   T h i s   i s o l a t i o n   h a s   t w o   k e y   d i m e n s i o n s :   O b j e c t   n a m e s   w i t h i n   a   n a m e s p a c e   c a n   o v e r l a p   w i t h   n a m e s   i n   o t h e r   n a m e s p a c e s ,   s i m i l a r   t o   f i l e s   i n   f o l d e r s .   T h i s   a l l o w s   t e n a n t s   t o   n a m e   t h e i r   r e s o u r c e s   w i t h o u t   h a v i n g   t o   c o n s i d e r   w h a t   o t h e r   t e n a n t s   a r e   d o i n g . M a n y   K u b e r n e t e s   s e c u r i t y   p o l i c i e s   a r e   s c o p e d   t o   n a m e s p a c e s .   F o r   e x a m p l e ,   R B A C   R o l e s   a n d   N e t w o r k   P o l i c i e s   a r e   n a m e s p a c e - s c o p e d   r e s o u r c e s .   U s i n g   R B A C ,   U s e r s   a n d   S e r v i c e   A c c o u n t s   c a n   b e   r e s t r i c t e d   t o   a   n a m e s p a c e .   O b j e c t   n a m e s   w i t h i n   a   n a m e s p a c e   c a n   o v e r l a p   w i t h   n a m e s   i n   o t h e r   n a m e s p a c e s ,   s i m i l a r   t o   f i l e s   i n   f o l d e r s .   T h i s   a l l o w s   t e n a n t s   t o   n a m e   t h e i r   r e s o u r c e s   w i t h o u t   h a v i n g   t o   c o n s i d e r   w h a t   o t h e r   t e n a n t s   a r e   d o i n g .   M a n y   K u b e r n e t e s   s e c u r i t y   p o l i c i e s   a r e   s c o p e d   t o   n a m e s p a c e s .   F o r   e x a m p l e ,   R B A C   R o l e s   a n d   N e t w o r k   P o l i c i e s   a r e   n a m e s p a c e - s c o p e d   r e s o u r c e s .   U s i n g   R B A C ,   U s e r s   a n d   S e r v i c e   A c c o u n t s   c a n   b e   r e s t r i c t e d   t o   a   n a m e s p a c e .   I n   a   m u l t i - t e n a n t   e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12809"
  },
  {
    "question": "What is Access controls?",
    "answer": "T h e   m o s t   i m p o r t a n t   t y p e   o f   i s o l a t i o n   f o r   t h e   c o n t r o l   p l a n e   i s   a u t h o r i z a t i o n .   I f   t e a m s   o r   t h e i r   w o r k l o a d s   c a n   a c c e s s   o r   m o d i f y   e a c h   o t h e r s '   A P I   r e s o u r c e s ,   t h e y   c a n   c h a n g e   o r   d i s a b l e   a l l   o t h e r   t y p e s   o f   p o l i c i e s   t h e r e b y   n e g a t i n g   a n y   p r o t e c t i o n   t h o s e   p o l i c i e s   m a y   o f f e r .   A s   a   r e s u l t ,   i t   i s   c r i t i c a l   t o   e n s u r e   t h a t   e a c h   t e n a n t   h a s   t h e   a p p r o p r i a t e   a c c e s s   t o   o n l y   t h e   n a m e s p a c e s   t h e y   n e e d ,   a n d   n o   m o r e .   T h i s   i s   k n o w n   a s   t h e   \" P r i n c i p l e   o f   L e a s t   P r i v i l e g e . \"   R o l e - b a s e d   a c c e s s   c o n t r o l   ( R B A C )   i s   c o m m o n l y   u s e d   t o   e n f o r c e   a u t h o r i z a t i o n   i n   t h e   K u b e r n e t e s   c o n t r o l   p l a n e ,   f o r   b o t h   u s e r s   a n d   w o r k l o a d s   ( s e r v i c e   a c c o u n t s ) .   R o l e s   a n d   R o l e B i n d i n g s   a r e   K u b e r n e t e s   o b j e c t s   t h a t   a r e   u s e d   a t   a   n a m e s p a c e   l e v e l   t o   e n f o r c e   a c c e s s   c o n t r o l   i n   y o u r   a p p l i c a t i o n ;   s i m i l a r   o b j e c t s   e x i s t   f o r   a u t h o r i z i n g   a c c e s s   t o   c l u s t e r - l e v e l   o b j e c t s ,   t h o u g h   t h e s e   a r e   l e s s   u s e f u l   f o r   m u l t i - t e n a n t   c l u s t e r s .   I n   a   m u l t i - t e a m   e n v i r o n m e n t ,   R B A C   m u s t   b e   u s e d   t o   r e s t r i c t   t e n a n t s '   a c c e s s   t o   t h e   a p p r o p r i a t e   n a m e s p a c e s ,   a n d   e n s u r e   t h a t   c l u s t e r - w i d e   r e s o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12810"
  },
  {
    "question": "What is Quotas?",
    "answer": "K u b e r n e t e s   w o r k l o a d s   c o n s u m e   n o d e   r e s o u r c e s ,   l i k e   C P U   a n d   m e m o r y .   I n   a   m u l t i - t e n a n t   e n v i r o n m e n t ,   y o u   c a n   u s e   R e s o u r c e   Q u o t a s   t o   m a n a g e   r e s o u r c e   u s a g e   o f   t e n a n t   w o r k l o a d s .   F o r   t h e   m u l t i p l e   t e a m s   u s e   c a s e ,   w h e r e   t e n a n t s   h a v e   a c c e s s   t o   t h e   K u b e r n e t e s   A P I ,   y o u   c a n   u s e   r e s o u r c e   q u o t a s   t o   l i m i t   t h e   n u m b e r   o f   A P I   r e s o u r c e s   ( f o r   e x a m p l e :   t h e   n u m b e r   o f   P o d s ,   o r   t h e   n u m b e r   o f   C o n f i g M a p s )   t h a t   a   t e n a n t   c a n   c r e a t e .   L i m i t s   o n   o b j e c t   c o u n t   e n s u r e   f a i r n e s s   a n d   a i m   t o   a v o i d   n o i s y   n e i g h b o r   i s s u e s   f r o m   a f f e c t i n g   o t h e r   t e n a n t s   t h a t   s h a r e   a   c o n t r o l   p l a n e .   R e s o u r c e   q u o t a s   a r e   n a m e s p a c e d   o b j e c t s .   B y   m a p p i n g   t e n a n t s   t o   n a m e s p a c e s ,   c l u s t e r   a d m i n s   c a n   u s e   q u o t a s   t o   e n s u r e   t h a t   a   t e n a n t   c a n n o t   m o n o p o l i z e   a   c l u s t e r ' s   r e s o u r c e s   o r   o v e r w h e l m   i t s   c o n t r o l   p l a n e .   N a m e s p a c e   m a n a g e m e n t   t o o l s   s i m p l i f y   t h e   a d m i n i s t r a t i o n   o f   q u o t a s .   I n   a d d i t i o n ,   w h i l e   K u b e r n e t e s   q u o t a s   o n l y   a p p l y   w i t h i n   a   s i n g l e   n a m e s p a c e ,   s o m e   n a m e s p a c e   m a n a g e m e n t   t o o l s   a l l o w   g r o u p s   o f   n a m e s p a c e s   t o   s h a r e   q u o t a s ,   g i v i n g   a d m i n i s t r a t o r s   f a r   m o r e   f l e x i b i l i t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12811"
  },
  {
    "question": "What is Data Plane Isolation?",
    "answer": "D a t a   p l a n e   i s o l a t i o n   e n s u r e s   t h a t   p o d s   a n d   w o r k l o a d s   f o r   d i f f e r e n t   t e n a n t s   a r e   s u f f i c i e n t l y   i s o l a t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12812"
  },
  {
    "question": "What is Network isolation?",
    "answer": "B y   d e f a u l t ,   a l l   p o d s   i n   a   K u b e r n e t e s   c l u s t e r   a r e   a l l o w e d   t o   c o m m u n i c a t e   w i t h   e a c h   o t h e r ,   a n d   a l l   n e t w o r k   t r a f f i c   i s   u n e n c r y p t e d .   T h i s   c a n   l e a d   t o   s e c u r i t y   v u l n e r a b i l i t i e s   w h e r e   t r a f f i c   i s   a c c i d e n t a l l y   o r   m a l i c i o u s l y   s e n t   t o   a n   u n i n t e n d e d   d e s t i n a t i o n ,   o r   i s   i n t e r c e p t e d   b y   a   w o r k l o a d   o n   a   c o m p r o m i s e d   n o d e .   P o d - t o - p o d   c o m m u n i c a t i o n   c a n   b e   c o n t r o l l e d   u s i n g   N e t w o r k   P o l i c i e s ,   w h i c h   r e s t r i c t   c o m m u n i c a t i o n   b e t w e e n   p o d s   u s i n g   n a m e s p a c e   l a b e l s   o r   I P   a d d r e s s   r a n g e s .   I n   a   m u l t i - t e n a n t   e n v i r o n m e n t   w h e r e   s t r i c t   n e t w o r k   i s o l a t i o n   b e t w e e n   t e n a n t s   i s   r e q u i r e d ,   s t a r t i n g   w i t h   a   d e f a u l t   p o l i c y   t h a t   d e n i e s   c o m m u n i c a t i o n   b e t w e e n   p o d s   i s   r e c o m m e n d e d   w i t h   a n o t h e r   r u l e   t h a t   a l l o w s   a l l   p o d s   t o   q u e r y   t h e   D N S   s e r v e r   f o r   n a m e   r e s o l u t i o n .   W i t h   s u c h   a   d e f a u l t   p o l i c y   i n   p l a c e ,   y o u   c a n   b e g i n   a d d i n g   m o r e   p e r m i s s i v e   r u l e s   t h a t   a l l o w   f o r   c o m m u n i c a t i o n   w i t h i n   a   n a m e s p a c e .   I t   i s   a l s o   r e c o m m e n d e d   n o t   t o   u s e   e m p t y   l a b e l   s e l e c t o r   ' { } '   f o r   n a m e s p a c e S e l e c t o r   f i e l d   i n   n e t w o r k   p o l i c y   d e f i n i t i o n ,   i n   c a s e   t r a f f i c   n e e d   t o   b e   a l l o w e d ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12813"
  },
  {
    "question": "What is Warning:?",
    "answer": "M o r e   a d v a n c e d   n e t w o r k   i s o l a t i o n   m a y   b e   p r o v i d e d   b y   s e r v i c e   m e s h e s ,   w h i c h   p r o v i d e   O S I   L a y e r   7   p o l i c i e s   b a s e d   o n   w o r k l o a d   i d e n t i t y ,   i n   a d d i t i o n   t o   n a m e s p a c e s .   T h e s e   h i g h e r - l e v e l   p o l i c i e s   c a n   m a k e   i t   e a s i e r   t o   m a n a g e   n a m e s p a c e - b a s e d   m u l t i - t e n a n c y ,   e s p e c i a l l y   w h e n   m u l t i p l e   n a m e s p a c e s   a r e   d e d i c a t e d   t o   a   s i n g l e   t e n a n t .   T h e y   f r e q u e n t l y   a l s o   o f f e r   e n c r y p t i o n   u s i n g   m u t u a l   T L S ,   p r o t e c t i n g   y o u r   d a t a   e v e n   i n   t h e   p r e s e n c e   o f   a   c o m p r o m i s e d   n o d e ,   a n d   w o r k   a c r o s s   d e d i c a t e d   o r   v i r t u a l   c l u s t e r s .   H o w e v e r ,   t h e y   c a n   b e   s i g n i f i c a n t l y   m o r e   c o m p l e x   t o   m a n a g e   a n d   m a y   n o t   b e   a p p r o p r i a t e   f o r   a l l   u s e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12814"
  },
  {
    "question": "What is Storage isolation?",
    "answer": "K u b e r n e t e s   o f f e r s   s e v e r a l   t y p e s   o f   v o l u m e s   t h a t   c a n   b e   u s e d   a s   p e r s i s t e n t   s t o r a g e   f o r   w o r k l o a d s .   F o r   s e c u r i t y   a n d   d a t a - i s o l a t i o n ,   d y n a m i c   v o l u m e   p r o v i s i o n i n g   i s   r e c o m m e n d e d   a n d   v o l u m e   t y p e s   t h a t   u s e   n o d e   r e s o u r c e s   s h o u l d   b e   a v o i d e d .   S t o r a g e C l a s s e s   a l l o w   y o u   t o   d e s c r i b e   c u s t o m   \" c l a s s e s \"   o f   s t o r a g e   o f f e r e d   b y   y o u r   c l u s t e r ,   b a s e d   o n   q u a l i t y - o f - s e r v i c e   l e v e l s ,   b a c k u p   p o l i c i e s ,   o r   c u s t o m   p o l i c i e s   d e t e r m i n e d   b y   t h e   c l u s t e r   a d m i n i s t r a t o r s .   P o d s   c a n   r e q u e s t   s t o r a g e   u s i n g   a   P e r s i s t e n t V o l u m e C l a i m .   A   P e r s i s t e n t V o l u m e C l a i m   i s   a   n a m e s p a c e d   r e s o u r c e ,   w h i c h   e n a b l e s   i s o l a t i n g   p o r t i o n s   o f   t h e   s t o r a g e   s y s t e m   a n d   d e d i c a t i n g   i t   t o   t e n a n t s   w i t h i n   t h e   s h a r e d   K u b e r n e t e s   c l u s t e r .   H o w e v e r ,   i t   i s   i m p o r t a n t   t o   n o t e   t h a t   a   P e r s i s t e n t V o l u m e   i s   a   c l u s t e r - w i d e   r e s o u r c e   a n d   h a s   a   l i f e c y c l e   i n d e p e n d e n t   o f   w o r k l o a d s   a n d   n a m e s p a c e s .   F o r   e x a m p l e ,   y o u   c a n   c o n f i g u r e   a   s e p a r a t e   S t o r a g e C l a s s   f o r   e a c h   t e n a n t   a n d   u s e   t h i s   t o   s t r e n g t h e n   i s o l a t i o n .   I f   a   S t o r a g e C l a s s   i s   s h a r e d ,   y o u   s h o u l d   s e t   a   r e c l a i m   p o l i c y   o f   D e l e t e   t o   e n s u r e   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12815"
  },
  {
    "question": "What is Sandboxing containers?",
    "answer": "K u b e r n e t e s   p o d s   a r e   c o m p o s e d   o f   o n e   o r   m o r e   c o n t a i n e r s   t h a t   e x e c u t e   o n   w o r k e r   n o d e s .   C o n t a i n e r s   u t i l i z e   O S - l e v e l   v i r t u a l i z a t i o n   a n d   h e n c e   o f f e r   a   w e a k e r   i s o l a t i o n   b o u n d a r y   t h a n   v i r t u a l   m a c h i n e s   t h a t   u t i l i z e   h a r d w a r e - b a s e d   v i r t u a l i z a t i o n .   I n   a   s h a r e d   e n v i r o n m e n t ,   u n p a t c h e d   v u l n e r a b i l i t i e s   i n   t h e   a p p l i c a t i o n   a n d   s y s t e m   l a y e r s   c a n   b e   e x p l o i t e d   b y   a t t a c k e r s   f o r   c o n t a i n e r   b r e a k o u t s   a n d   r e m o t e   c o d e   e x e c u t i o n   t h a t   a l l o w   a c c e s s   t o   h o s t   r e s o u r c e s .   I n   s o m e   a p p l i c a t i o n s ,   l i k e   a   C o n t e n t   M a n a g e m e n t   S y s t e m   ( C M S ) ,   c u s t o m e r s   m a y   b e   a l l o w e d   t h e   a b i l i t y   t o   u p l o a d   a n d   e x e c u t e   u n t r u s t e d   s c r i p t s   o r   c o d e .   I n   e i t h e r   c a s e ,   m e c h a n i s m s   t o   f u r t h e r   i s o l a t e   a n d   p r o t e c t   w o r k l o a d s   u s i n g   s t r o n g   i s o l a t i o n   a r e   d e s i r a b l e .   S a n d b o x i n g   p r o v i d e s   a   w a y   t o   i s o l a t e   w o r k l o a d s   r u n n i n g   i n   a   s h a r e d   c l u s t e r .   I t   t y p i c a l l y   i n v o l v e s   r u n n i n g   e a c h   p o d   i n   a   s e p a r a t e   e x e c u t i o n   e n v i r o n m e n t   s u c h   a s   a   v i r t u a l   m a c h i n e   o r   a   u s e r s p a c e   k e r n e l .   S a n d b o x i n g   i s   o f t e n   r e c o m m e n d e d   w h e n   y o u   a r e   r u n n i n g   u n t r u s t e d   c o d e ,   w h e r e   w o r k l o a d s   a r e   a s s u m e d   t o   b e   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12816"
  },
  {
    "question": "What is Node Isolation?",
    "answer": "N o d e   i s o l a t i o n   i s   a n o t h e r   t e c h n i q u e   t h a t   y o u   c a n   u s e   t o   i s o l a t e   t e n a n t   w o r k l o a d s   f r o m   e a c h   o t h e r .   W i t h   n o d e   i s o l a t i o n ,   a   s e t   o f   n o d e s   i s   d e d i c a t e d   t o   r u n n i n g   p o d s   f r o m   a   p a r t i c u l a r   t e n a n t   a n d   c o - m i n g l i n g   o f   t e n a n t   p o d s   i s   p r o h i b i t e d .   T h i s   c o n f i g u r a t i o n   r e d u c e s   t h e   n o i s y   t e n a n t   i s s u e ,   a s   a l l   p o d s   r u n n i n g   o n   a   n o d e   w i l l   b e l o n g   t o   a   s i n g l e   t e n a n t .   T h e   r i s k   o f   i n f o r m a t i o n   d i s c l o s u r e   i s   s l i g h t l y   l o w e r   w i t h   n o d e   i s o l a t i o n   b e c a u s e   a n   a t t a c k e r   t h a t   m a n a g e s   t o   e s c a p e   f r o m   a   c o n t a i n e r   w i l l   o n l y   h a v e   a c c e s s   t o   t h e   c o n t a i n e r s   a n d   v o l u m e s   m o u n t e d   t o   t h a t   n o d e .   A l t h o u g h   w o r k l o a d s   f r o m   d i f f e r e n t   t e n a n t s   a r e   r u n n i n g   o n   d i f f e r e n t   n o d e s ,   i t   i s   i m p o r t a n t   t o   b e   a w a r e   t h a t   t h e   k u b e l e t   a n d   ( u n l e s s   u s i n g   v i r t u a l   c o n t r o l   p l a n e s )   t h e   A P I   s e r v i c e   a r e   s t i l l   s h a r e d   s e r v i c e s .   A   s k i l l e d   a t t a c k e r   c o u l d   u s e   t h e   p e r m i s s i o n s   a s s i g n e d   t o   t h e   k u b e l e t   o r   o t h e r   p o d s   r u n n i n g   o n   t h e   n o d e   t o   m o v e   l a t e r a l l y   w i t h i n   t h e   c l u s t e r   a n d   g a i n   a c c e s s   t o   t e n a n t   w o r k l o a d s   r u n n i n g   o n   o t h e r   n o d e s .   I f   t h i s   i s   a   m a j o r   c o n c e r n ,   c o n s i d e r   i m p l e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12817"
  },
  {
    "question": "What is Additional Considerations?",
    "answer": "T h i s   s e c t i o n   d i s c u s s e s   o t h e r   K u b e r n e t e s   c o n s t r u c t s   a n d   p a t t e r n s   t h a t   a r e   r e l e v a n t   f o r   m u l t i - t e n a n c y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12818"
  },
  {
    "question": "What is API Priority and Fairness?",
    "answer": "A P I   p r i o r i t y   a n d   f a i r n e s s   i s   a   K u b e r n e t e s   f e a t u r e   t h a t   a l l o w s   y o u   t o   a s s i g n   a   p r i o r i t y   t o   c e r t a i n   p o d s   r u n n i n g   w i t h i n   t h e   c l u s t e r .   W h e n   a n   a p p l i c a t i o n   c a l l s   t h e   K u b e r n e t e s   A P I ,   t h e   A P I   s e r v e r   e v a l u a t e s   t h e   p r i o r i t y   a s s i g n e d   t o   p o d .   C a l l s   f r o m   p o d s   w i t h   h i g h e r   p r i o r i t y   a r e   f u l f i l l e d   b e f o r e   t h o s e   w i t h   a   l o w e r   p r i o r i t y .   W h e n   c o n t e n t i o n   i s   h i g h ,   l o w e r   p r i o r i t y   c a l l s   c a n   b e   q u e u e d   u n t i l   t h e   s e r v e r   i s   l e s s   b u s y   o r   y o u   c a n   r e j e c t   t h e   r e q u e s t s .   U s i n g   A P I   p r i o r i t y   a n d   f a i r n e s s   w i l l   n o t   b e   v e r y   c o m m o n   i n   S a a S   e n v i r o n m e n t s   u n l e s s   y o u   a r e   a l l o w i n g   c u s t o m e r s   t o   r u n   a p p l i c a t i o n s   t h a t   i n t e r f a c e   w i t h   t h e   K u b e r n e t e s   A P I ,   f o r   e x a m p l e ,   a   c o n t r o l l e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12819"
  },
  {
    "question": "What is Quality-of-Service (QoS)?",
    "answer": "W h e n   y o u ’ r e   r u n n i n g   a   S a a S   a p p l i c a t i o n ,   y o u   m a y   w a n t   t h e   a b i l i t y   t o   o f f e r   d i f f e r e n t   Q u a l i t y - o f - S e r v i c e   ( Q o S )   t i e r s   o f   s e r v i c e   t o   d i f f e r e n t   t e n a n t s .   F o r   e x a m p l e ,   y o u   m a y   h a v e   f r e e m i u m   s e r v i c e   t h a t   c o m e s   w i t h   f e w e r   p e r f o r m a n c e   g u a r a n t e e s   a n d   f e a t u r e s   a n d   a   f o r - f e e   s e r v i c e   t i e r   w i t h   s p e c i f i c   p e r f o r m a n c e   g u a r a n t e e s .   F o r t u n a t e l y ,   t h e r e   a r e   s e v e r a l   K u b e r n e t e s   c o n s t r u c t s   t h a t   c a n   h e l p   y o u   a c c o m p l i s h   t h i s   w i t h i n   a   s h a r e d   c l u s t e r ,   i n c l u d i n g   n e t w o r k   Q o S ,   s t o r a g e   c l a s s e s ,   a n d   p o d   p r i o r i t y   a n d   p r e e m p t i o n .   T h e   i d e a   w i t h   e a c h   o f   t h e s e   i s   t o   p r o v i d e   t e n a n t s   w i t h   t h e   q u a l i t y   o f   s e r v i c e   t h a t   t h e y   p a i d   f o r .   L e t ’ s   s t a r t   b y   l o o k i n g   a t   n e t w o r k i n g   Q o S .   T y p i c a l l y ,   a l l   p o d s   o n   a   n o d e   s h a r e   a   n e t w o r k   i n t e r f a c e .   W i t h o u t   n e t w o r k   Q o S ,   s o m e   p o d s   m a y   c o n s u m e   a n   u n f a i r   s h a r e   o f   t h e   a v a i l a b l e   b a n d w i d t h   a t   t h e   e x p e n s e   o f   o t h e r   p o d s .   T h e   K u b e r n e t e s   b a n d w i d t h   p l u g i n   c r e a t e s   a n   e x t e n d e d   r e s o u r c e   f o r   n e t w o r k i n g   t h a t   a l l o w s   y o u   t o   u s e   K u b e r n e t e s   r e s o u r c e s   c o n s t r u c t s ,   i . e .   r e q u e s t s / l i m i t s ,   t o   a p p l y   r a t e   l i m i t s   t o   p o d s   b y   u s ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12820"
  },
  {
    "question": "What is DNS?",
    "answer": "K u b e r n e t e s   c l u s t e r s   i n c l u d e   a   D o m a i n   N a m e   S y s t e m   ( D N S )   s e r v i c e   t o   p r o v i d e   t r a n s l a t i o n s   f r o m   n a m e s   t o   I P   a d d r e s s e s ,   f o r   a l l   S e r v i c e s   a n d   P o d s .   B y   d e f a u l t ,   t h e   K u b e r n e t e s   D N S   s e r v i c e   a l l o w s   l o o k u p s   a c r o s s   a l l   n a m e s p a c e s   i n   t h e   c l u s t e r .   I n   m u l t i - t e n a n t   e n v i r o n m e n t s   w h e r e   t e n a n t s   c a n   a c c e s s   p o d s   a n d   o t h e r   K u b e r n e t e s   r e s o u r c e s ,   o r   w h e r e   s t r o n g e r   i s o l a t i o n   i s   r e q u i r e d ,   i t   m a y   b e   n e c e s s a r y   t o   p r e v e n t   p o d s   f r o m   l o o k i n g   u p   s e r v i c e s   i n   o t h e r   N a m e s p a c e s .   Y o u   c a n   r e s t r i c t   c r o s s - n a m e s p a c e   D N S   l o o k u p s   b y   c o n f i g u r i n g   s e c u r i t y   r u l e s   f o r   t h e   D N S   s e r v i c e .   F o r   e x a m p l e ,   C o r e D N S   ( t h e   d e f a u l t   D N S   s e r v i c e   f o r   K u b e r n e t e s )   c a n   l e v e r a g e   K u b e r n e t e s   m e t a d a t a   t o   r e s t r i c t   q u e r i e s   t o   P o d s   a n d   S e r v i c e s   w i t h i n   a   n a m e s p a c e .   F o r   m o r e   i n f o r m a t i o n ,   r e a d   a n   e x a m p l e   o f   c o n f i g u r i n g   t h i s   w i t h i n   t h e   C o r e D N S   d o c u m e n t a t i o n .   W h e n   a   V i r t u a l   C o n t r o l   P l a n e   p e r   t e n a n t   m o d e l   i s   u s e d ,   a   D N S   s e r v i c e   m u s t   b e   c o n f i g u r e d   p e r   t e n a n t   o r   a   m u l t i - t e n a n t   D N S   s e r v i c e   m u s t   b e   u s e d .   H e r e   i s   a n   e x a m p l e   o f   a   c u s t o m i z e d   v e r s i o n   o f   C o r e D N S   t h a t   s u p p o r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12821"
  },
  {
    "question": "What is Operators?",
    "answer": "O p e r a t o r s   a r e   K u b e r n e t e s   c o n t r o l l e r s   t h a t   m a n a g e   a p p l i c a t i o n s .   O p e r a t o r s   c a n   s i m p l i f y   t h e   m a n a g e m e n t   o f   m u l t i p l e   i n s t a n c e s   o f   a n   a p p l i c a t i o n ,   l i k e   a   d a t a b a s e   s e r v i c e ,   w h i c h   m a k e s   t h e m   a   c o m m o n   b u i l d i n g   b l o c k   i n   t h e   m u l t i - c o n s u m e r   ( S a a S )   m u l t i - t e n a n c y   u s e   c a s e .   O p e r a t o r s   u s e d   i n   a   m u l t i - t e n a n t   e n v i r o n m e n t   s h o u l d   f o l l o w   a   s t r i c t e r   s e t   o f   g u i d e l i n e s .   S p e c i f i c a l l y ,   t h e   O p e r a t o r   s h o u l d :   S u p p o r t   c r e a t i n g   r e s o u r c e s   w i t h i n   d i f f e r e n t   t e n a n t   n a m e s p a c e s ,   r a t h e r   t h a n   j u s t   i n   t h e   n a m e s p a c e   i n   w h i c h   t h e   O p e r a t o r   i s   d e p l o y e d . E n s u r e   t h a t   t h e   P o d s   a r e   c o n f i g u r e d   w i t h   r e s o u r c e   r e q u e s t s   a n d   l i m i t s ,   t o   e n s u r e   s c h e d u l i n g   a n d   f a i r n e s s . S u p p o r t   c o n f i g u r a t i o n   o f   P o d s   f o r   d a t a - p l a n e   i s o l a t i o n   t e c h n i q u e s   s u c h   a s   n o d e   i s o l a t i o n   a n d   s a n d b o x e d   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12822"
  },
  {
    "question": "What is Implementations?",
    "answer": "T h e r e   a r e   t w o   p r i m a r y   w a y s   t o   s h a r e   a   K u b e r n e t e s   c l u s t e r   f o r   m u l t i - t e n a n c y :   u s i n g   N a m e s p a c e s   ( t h a t   i s ,   a   N a m e s p a c e   p e r   t e n a n t )   o r   b y   v i r t u a l i z i n g   t h e   c o n t r o l   p l a n e   ( t h a t   i s ,   v i r t u a l   c o n t r o l   p l a n e   p e r   t e n a n t ) .   I n   b o t h   c a s e s ,   d a t a   p l a n e   i s o l a t i o n ,   a n d   m a n a g e m e n t   o f   a d d i t i o n a l   c o n s i d e r a t i o n s   s u c h   a s   A P I   P r i o r i t y   a n d   F a i r n e s s ,   i s   a l s o   r e c o m m e n d e d .   N a m e s p a c e   i s o l a t i o n   i s   w e l l - s u p p o r t e d   b y   K u b e r n e t e s ,   h a s   a   n e g l i g i b l e   r e s o u r c e   c o s t ,   a n d   p r o v i d e s   m e c h a n i s m s   t o   a l l o w   t e n a n t s   t o   i n t e r a c t   a p p r o p r i a t e l y ,   s u c h   a s   b y   a l l o w i n g   s e r v i c e - t o - s e r v i c e   c o m m u n i c a t i o n .   H o w e v e r ,   i t   c a n   b e   d i f f i c u l t   t o   c o n f i g u r e ,   a n d   d o e s n ' t   a p p l y   t o   K u b e r n e t e s   r e s o u r c e s   t h a t   c a n ' t   b e   n a m e s p a c e d ,   s u c h   a s   C u s t o m   R e s o u r c e   D e f i n i t i o n s ,   S t o r a g e   C l a s s e s ,   a n d   W e b h o o k s .   C o n t r o l   p l a n e   v i r t u a l i z a t i o n   a l l o w s   f o r   i s o l a t i o n   o f   n o n - n a m e s p a c e d   r e s o u r c e s   a t   t h e   c o s t   o f   s o m e w h a t   h i g h e r   r e s o u r c e   u s a g e   a n d   m o r e   d i f f i c u l t   c r o s s - t e n a n t   s h a r i n g .   I t   i s   a   g o o d   o p t i o n   w h e n   n a m e s p a c e   i s o l a t i o n   i s   i n s u f f i c i e n t   b u t   d e d i c a t e d   c l u s t e r s   a r e   u n d e s i r a b l e ,   d u ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12823"
  },
  {
    "question": "What is Namespace per tenant?",
    "answer": "A s   p r e v i o u s l y   m e n t i o n e d ,   y o u   s h o u l d   c o n s i d e r   i s o l a t i n g   e a c h   w o r k l o a d   i n   i t s   o w n   n a m e s p a c e ,   e v e n   i f   y o u   a r e   u s i n g   d e d i c a t e d   c l u s t e r s   o r   v i r t u a l i z e d   c o n t r o l   p l a n e s .   T h i s   e n s u r e s   t h a t   e a c h   w o r k l o a d   o n l y   h a s   a c c e s s   t o   i t s   o w n   r e s o u r c e s ,   s u c h   a s   C o n f i g M a p s   a n d   S e c r e t s ,   a n d   a l l o w s   y o u   t o   t a i l o r   d e d i c a t e d   s e c u r i t y   p o l i c i e s   f o r   e a c h   w o r k l o a d .   I n   a d d i t i o n ,   i t   i s   a   b e s t   p r a c t i c e   t o   g i v e   e a c h   n a m e s p a c e   n a m e s   t h a t   a r e   u n i q u e   a c r o s s   y o u r   e n t i r e   f l e e t   ( t h a t   i s ,   e v e n   i f   t h e y   a r e   i n   s e p a r a t e   c l u s t e r s ) ,   a s   t h i s   g i v e s   y o u   t h e   f l e x i b i l i t y   t o   s w i t c h   b e t w e e n   d e d i c a t e d   a n d   s h a r e d   c l u s t e r s   i n   t h e   f u t u r e ,   o r   t o   u s e   m u l t i - c l u s t e r   t o o l i n g   s u c h   a s   s e r v i c e   m e s h e s .   C o n v e r s e l y ,   t h e r e   a r e   a l s o   a d v a n t a g e s   t o   a s s i g n i n g   n a m e s p a c e s   a t   t h e   t e n a n t   l e v e l ,   n o t   j u s t   t h e   w o r k l o a d   l e v e l ,   s i n c e   t h e r e   a r e   o f t e n   p o l i c i e s   t h a t   a p p l y   t o   a l l   w o r k l o a d s   o w n e d   b y   a   s i n g l e   t e n a n t .   H o w e v e r ,   t h i s   r a i s e s   i t s   o w n   p r o b l e m s .   F i r s t l y ,   t h i s   m a k e s   i t   d i f f i c u l t   o r   i m p o s s i b l e   t o   c u s t o m i z e   p o l i c i e s   t o   i n d i v i d u a l   w o r k l o a d s ,   a n d   s e c o n d l y ,   i t   m a y   b e   c ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12824"
  },
  {
    "question": "What is Virtual control plane per tenant?",
    "answer": "A n o t h e r   f o r m   o f   c o n t r o l - p l a n e   i s o l a t i o n   i s   t o   u s e   K u b e r n e t e s   e x t e n s i o n s   t o   p r o v i d e   e a c h   t e n a n t   a   v i r t u a l   c o n t r o l - p l a n e   t h a t   e n a b l e s   s e g m e n t a t i o n   o f   c l u s t e r - w i d e   A P I   r e s o u r c e s .   D a t a   p l a n e   i s o l a t i o n   t e c h n i q u e s   c a n   b e   u s e d   w i t h   t h i s   m o d e l   t o   s e c u r e l y   m a n a g e   w o r k e r   n o d e s   a c r o s s   t e n a n t s .   T h e   v i r t u a l   c o n t r o l   p l a n e   b a s e d   m u l t i - t e n a n c y   m o d e l   e x t e n d s   n a m e s p a c e - b a s e d   m u l t i - t e n a n c y   b y   p r o v i d i n g   e a c h   t e n a n t   w i t h   d e d i c a t e d   c o n t r o l   p l a n e   c o m p o n e n t s ,   a n d   h e n c e   c o m p l e t e   c o n t r o l   o v e r   c l u s t e r - w i d e   r e s o u r c e s   a n d   a d d - o n   s e r v i c e s .   W o r k e r   n o d e s   a r e   s h a r e d   a c r o s s   a l l   t e n a n t s ,   a n d   a r e   m a n a g e d   b y   a   K u b e r n e t e s   c l u s t e r   t h a t   i s   n o r m a l l y   i n a c c e s s i b l e   t o   t e n a n t s .   T h i s   c l u s t e r   i s   o f t e n   r e f e r r e d   t o   a s   a   s u p e r - c l u s t e r   ( o r   s o m e t i m e s   a s   a   h o s t - c l u s t e r ) .   S i n c e   a   t e n a n t ’ s   c o n t r o l - p l a n e   i s   n o t   d i r e c t l y   a s s o c i a t e d   w i t h   u n d e r l y i n g   c o m p u t e   r e s o u r c e s   i t   i s   r e f e r r e d   t o   a s   a   v i r t u a l   c o n t r o l   p l a n e .   A   v i r t u a l   c o n t r o l   p l a n e   t y p i c a l l y   c o n s i s t s   o f   t h e   K u b e r n e t e s   A P I   s e r v e r ,   t h e   c o n t r o l l e r   m a n a g e r ,   a n d   t h e   e t c d   d a t a   s t o r e .   I t   i n t e r a c t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12825"
  },
  {
    "question": "What is 8.12 - Hardening Guide - Authentication Mechanisms?",
    "answer": "S e l e c t i n g   t h e   a p p r o p r i a t e   a u t h e n t i c a t i o n   m e c h a n i s m ( s )   i s   a   c r u c i a l   a s p e c t   o f   s e c u r i n g   y o u r   c l u s t e r .   K u b e r n e t e s   p r o v i d e s   s e v e r a l   b u i l t - i n   m e c h a n i s m s ,   e a c h   w i t h   i t s   o w n   s t r e n g t h s   a n d   w e a k n e s s e s   t h a t   s h o u l d   b e   c a r e f u l l y   c o n s i d e r e d   w h e n   c h o o s i n g   t h e   b e s t   a u t h e n t i c a t i o n   m e c h a n i s m   f o r   y o u r   c l u s t e r .   I n   g e n e r a l ,   i t   i s   r e c o m m e n d e d   t o   e n a b l e   a s   f e w   a u t h e n t i c a t i o n   m e c h a n i s m s   a s   p o s s i b l e   t o   s i m p l i f y   u s e r   m a n a g e m e n t   a n d   p r e v e n t   c a s e s   w h e r e   u s e r s   r e t a i n   a c c e s s   t o   a   c l u s t e r   t h a t   i s   n o   l o n g e r   r e q u i r e d .   I t   i s   i m p o r t a n t   t o   n o t e   t h a t   K u b e r n e t e s   d o e s   n o t   h a v e   a n   i n - b u i l t   u s e r   d a t a b a s e   w i t h i n   t h e   c l u s t e r .   I n s t e a d ,   i t   t a k e s   u s e r   i n f o r m a t i o n   f r o m   t h e   c o n f i g u r e d   a u t h e n t i c a t i o n   s y s t e m   a n d   u s e s   t h a t   t o   m a k e   a u t h o r i z a t i o n   d e c i s i o n s .   T h e r e f o r e ,   t o   a u d i t   u s e r   a c c e s s ,   y o u   n e e d   t o   r e v i e w   c r e d e n t i a l s   f r o m   e v e r y   c o n f i g u r e d   a u t h e n t i c a t i o n   s o u r c e .   F o r   p r o d u c t i o n   c l u s t e r s   w i t h   m u l t i p l e   u s e r s   d i r e c t l y   a c c e s s i n g   t h e   K u b e r n e t e s   A P I ,   i t   i s   r e c o m m e n d e d   t o   u s e   e x t e r n a l   a u t h e n t i c a t i o n   s o u r c e s   s u c h   a s   O I D C .   T h e   i n t e r n a l   a u t h e n t i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12826"
  },
  {
    "question": "What is X.509 client certificate authentication?",
    "answer": "K u b e r n e t e s   l e v e r a g e s   X . 5 0 9   c l i e n t   c e r t i f i c a t e   a u t h e n t i c a t i o n   f o r   s y s t e m   c o m p o n e n t s ,   s u c h   a s   w h e n   t h e   k u b e l e t   a u t h e n t i c a t e s   t o   t h e   A P I   S e r v e r .   W h i l e   t h i s   m e c h a n i s m   c a n   a l s o   b e   u s e d   f o r   u s e r   a u t h e n t i c a t i o n ,   i t   m i g h t   n o t   b e   s u i t a b l e   f o r   p r o d u c t i o n   u s e   d u e   t o   s e v e r a l   r e s t r i c t i o n s :   C l i e n t   c e r t i f i c a t e s   c a n n o t   b e   i n d i v i d u a l l y   r e v o k e d .   O n c e   c o m p r o m i s e d ,   a   c e r t i f i c a t e   c a n   b e   u s e d   b y   a n   a t t a c k e r   u n t i l   i t   e x p i r e s .   T o   m i t i g a t e   t h i s   r i s k ,   i t   i s   r e c o m m e n d e d   t o   c o n f i g u r e   s h o r t   l i f e t i m e s   f o r   u s e r   a u t h e n t i c a t i o n   c r e d e n t i a l s   c r e a t e d   u s i n g   c l i e n t   c e r t i f i c a t e s . I f   a   c e r t i f i c a t e   n e e d s   t o   b e   i n v a l i d a t e d ,   t h e   c e r t i f i c a t e   a u t h o r i t y   m u s t   b e   r e - k e y e d ,   w h i c h   c a n   i n t r o d u c e   a v a i l a b i l i t y   r i s k s   t o   t h e   c l u s t e r . T h e r e   i s   n o   p e r m a n e n t   r e c o r d   o f   c l i e n t   c e r t i f i c a t e s   c r e a t e d   i n   t h e   c l u s t e r .   T h e r e f o r e ,   a l l   i s s u e d   c e r t i f i c a t e s   m u s t   b e   r e c o r d e d   i f   y o u   n e e d   t o   k e e p   t r a c k   o f   t h e m . P r i v a t e   k e y s   u s e d   f o r   c l i e n t   c e r t i f i c a t e   a u t h e n t i c a t i o n   c a n n o t   b e   p a s s w o r d - p r o t e c t e d .   A n y o n e   w h o   c a n   r e a d   t h e   f i l e   c o n t a i n i n g   t h e   k e y   w i l l   b e   a b l e   t o   m ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12827"
  },
  {
    "question": "What is Static token file?",
    "answer": "A l t h o u g h   K u b e r n e t e s   a l l o w s   y o u   t o   l o a d   c r e d e n t i a l s   f r o m   a   s t a t i c   t o k e n   f i l e   l o c a t e d   o n   t h e   c o n t r o l   p l a n e   n o d e   d i s k s ,   t h i s   a p p r o a c h   i s   n o t   r e c o m m e n d e d   f o r   p r o d u c t i o n   s e r v e r s   d u e   t o   s e v e r a l   r e a s o n s :   C r e d e n t i a l s   a r e   s t o r e d   i n   c l e a r   t e x t   o n   c o n t r o l   p l a n e   n o d e   d i s k s ,   w h i c h   c a n   b e   a   s e c u r i t y   r i s k . C h a n g i n g   a n y   c r e d e n t i a l   r e q u i r e s   a   r e s t a r t   o f   t h e   A P I   s e r v e r   p r o c e s s   t o   t a k e   e f f e c t ,   w h i c h   c a n   i m p a c t   a v a i l a b i l i t y . T h e r e   i s   n o   m e c h a n i s m   a v a i l a b l e   t o   a l l o w   u s e r s   t o   r o t a t e   t h e i r   c r e d e n t i a l s .   T o   r o t a t e   a   c r e d e n t i a l ,   a   c l u s t e r   a d m i n i s t r a t o r   m u s t   m o d i f y   t h e   t o k e n   o n   d i s k   a n d   d i s t r i b u t e   i t   t o   t h e   u s e r s . T h e r e   i s   n o   l o c k o u t   m e c h a n i s m   a v a i l a b l e   t o   p r e v e n t   b r u t e - f o r c e   a t t a c k s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12828"
  },
  {
    "question": "What is Bootstrap tokens?",
    "answer": "B o o t s t r a p   t o k e n s   a r e   u s e d   f o r   j o i n i n g   n o d e s   t o   c l u s t e r s   a n d   a r e   n o t   r e c o m m e n d e d   f o r   u s e r   a u t h e n t i c a t i o n   d u e   t o   s e v e r a l   r e a s o n s :   T h e y   h a v e   h a r d - c o d e d   g r o u p   m e m b e r s h i p s   t h a t   a r e   n o t   s u i t a b l e   f o r   g e n e r a l   u s e ,   m a k i n g   t h e m   u n s u i t a b l e   f o r   a u t h e n t i c a t i o n   p u r p o s e s . M a n u a l l y   g e n e r a t i n g   b o o t s t r a p   t o k e n s   c a n   l e a d   t o   w e a k   t o k e n s   t h a t   c a n   b e   g u e s s e d   b y   a n   a t t a c k e r ,   w h i c h   c a n   b e   a   s e c u r i t y   r i s k . T h e r e   i s   n o   l o c k o u t   m e c h a n i s m   a v a i l a b l e   t o   p r e v e n t   b r u t e - f o r c e   a t t a c k s ,   m a k i n g   i t   e a s i e r   f o r   a t t a c k e r s   t o   g u e s s   o r   c r a c k   t h e   t o k e n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12829"
  },
  {
    "question": "What is ServiceAccount secret tokens?",
    "answer": "S e r v i c e   a c c o u n t   s e c r e t s   a r e   a v a i l a b l e   a s   a n   o p t i o n   t o   a l l o w   w o r k l o a d s   r u n n i n g   i n   t h e   c l u s t e r   t o   a u t h e n t i c a t e   t o   t h e   A P I   s e r v e r .   I n   K u b e r n e t e s   <   1 . 2 3 ,   t h e s e   w e r e   t h e   d e f a u l t   o p t i o n ,   h o w e v e r ,   t h e y   a r e   b e i n g   r e p l a c e d   w i t h   T o k e n R e q u e s t   A P I   t o k e n s .   W h i l e   t h e s e   s e c r e t s   c o u l d   b e   u s e d   f o r   u s e r   a u t h e n t i c a t i o n ,   t h e y   a r e   g e n e r a l l y   u n s u i t a b l e   f o r   a   n u m b e r   o f   r e a s o n s :   T h e y   c a n n o t   b e   s e t   w i t h   a n   e x p i r y   a n d   w i l l   r e m a i n   v a l i d   u n t i l   t h e   a s s o c i a t e d   s e r v i c e   a c c o u n t   i s   d e l e t e d . T h e   a u t h e n t i c a t i o n   t o k e n s   a r e   v i s i b l e   t o   a n y   c l u s t e r   u s e r   w h o   c a n   r e a d   s e c r e t s   i n   t h e   n a m e s p a c e   t h a t   t h e y   a r e   d e f i n e d   i n . S e r v i c e   a c c o u n t s   c a n n o t   b e   a d d e d   t o   a r b i t r a r y   g r o u p s   c o m p l i c a t i n g   R B A C   m a n a g e m e n t   w h e r e   t h e y   a r e   u s e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12830"
  },
  {
    "question": "What is TokenRequest API tokens?",
    "answer": "T h e   T o k e n R e q u e s t   A P I   i s   a   u s e f u l   t o o l   f o r   g e n e r a t i n g   s h o r t - l i v e d   c r e d e n t i a l s   f o r   s e r v i c e   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e r   o r   t h i r d - p a r t y   s y s t e m s .   H o w e v e r ,   i t   i s   n o t   g e n e r a l l y   r e c o m m e n d e d   f o r   u s e r   a u t h e n t i c a t i o n   a s   t h e r e   i s   n o   r e v o c a t i o n   m e t h o d   a v a i l a b l e ,   a n d   d i s t r i b u t i n g   c r e d e n t i a l s   t o   u s e r s   i n   a   s e c u r e   m a n n e r   c a n   b e   c h a l l e n g i n g .   W h e n   u s i n g   T o k e n R e q u e s t   t o k e n s   f o r   s e r v i c e   a u t h e n t i c a t i o n ,   i t   i s   r e c o m m e n d e d   t o   i m p l e m e n t   a   s h o r t   l i f e s p a n   t o   r e d u c e   t h e   i m p a c t   o f   c o m p r o m i s e d   t o k e n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12831"
  },
  {
    "question": "What is OpenID Connect token authentication?",
    "answer": "K u b e r n e t e s   s u p p o r t s   i n t e g r a t i n g   e x t e r n a l   a u t h e n t i c a t i o n   s e r v i c e s   w i t h   t h e   K u b e r n e t e s   A P I   u s i n g   O p e n I D   C o n n e c t   ( O I D C ) .   T h e r e   i s   a   w i d e   v a r i e t y   o f   s o f t w a r e   t h a t   c a n   b e   u s e d   t o   i n t e g r a t e   K u b e r n e t e s   w i t h   a n   i d e n t i t y   p r o v i d e r .   H o w e v e r ,   w h e n   u s i n g   O I D C   a u t h e n t i c a t i o n   i n   K u b e r n e t e s ,   i t   i s   i m p o r t a n t   t o   c o n s i d e r   t h e   f o l l o w i n g   h a r d e n i n g   m e a s u r e s :   T h e   s o f t w a r e   i n s t a l l e d   i n   t h e   c l u s t e r   t o   s u p p o r t   O I D C   a u t h e n t i c a t i o n   s h o u l d   b e   i s o l a t e d   f r o m   g e n e r a l   w o r k l o a d s   a s   i t   w i l l   r u n   w i t h   h i g h   p r i v i l e g e s . S o m e   K u b e r n e t e s   m a n a g e d   s e r v i c e s   a r e   l i m i t e d   i n   t h e   O I D C   p r o v i d e r s   t h a t   c a n   b e   u s e d . A s   w i t h   T o k e n R e q u e s t   t o k e n s ,   O I D C   t o k e n s   s h o u l d   h a v e   a   s h o r t   l i f e s p a n   t o   r e d u c e   t h e   i m p a c t   o f   c o m p r o m i s e d   t o k e n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12832"
  },
  {
    "question": "What is Webhook token authentication?",
    "answer": "W e b h o o k   t o k e n   a u t h e n t i c a t i o n   i s   a n o t h e r   o p t i o n   f o r   i n t e g r a t i n g   e x t e r n a l   a u t h e n t i c a t i o n   p r o v i d e r s   i n t o   K u b e r n e t e s .   T h i s   m e c h a n i s m   a l l o w s   f o r   a n   a u t h e n t i c a t i o n   s e r v i c e ,   e i t h e r   r u n n i n g   i n s i d e   t h e   c l u s t e r   o r   e x t e r n a l l y ,   t o   b e   c o n t a c t e d   f o r   a n   a u t h e n t i c a t i o n   d e c i s i o n   o v e r   a   w e b h o o k .   I t   i s   i m p o r t a n t   t o   n o t e   t h a t   t h e   s u i t a b i l i t y   o f   t h i s   m e c h a n i s m   w i l l   l i k e l y   d e p e n d   o n   t h e   s o f t w a r e   u s e d   f o r   t h e   a u t h e n t i c a t i o n   s e r v i c e ,   a n d   t h e r e   a r e   s o m e   K u b e r n e t e s - s p e c i f i c   c o n s i d e r a t i o n s   t o   t a k e   i n t o   a c c o u n t .   T o   c o n f i g u r e   W e b h o o k   a u t h e n t i c a t i o n ,   a c c e s s   t o   c o n t r o l   p l a n e   s e r v e r   f i l e s y s t e m s   i s   r e q u i r e d .   T h i s   m e a n s   t h a t   i t   w i l l   n o t   b e   p o s s i b l e   w i t h   M a n a g e d   K u b e r n e t e s   u n l e s s   t h e   p r o v i d e r   s p e c i f i c a l l y   m a k e s   i t   a v a i l a b l e .   A d d i t i o n a l l y ,   a n y   s o f t w a r e   i n s t a l l e d   i n   t h e   c l u s t e r   t o   s u p p o r t   t h i s   a c c e s s   s h o u l d   b e   i s o l a t e d   f r o m   g e n e r a l   w o r k l o a d s ,   a s   i t   w i l l   r u n   w i t h   h i g h   p r i v i l e g e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12833"
  },
  {
    "question": "What is Authenticating proxy?",
    "answer": "A n o t h e r   o p t i o n   f o r   i n t e g r a t i n g   e x t e r n a l   a u t h e n t i c a t i o n   s y s t e m s   i n t o   K u b e r n e t e s   i s   t o   u s e   a n   a u t h e n t i c a t i n g   p r o x y .   W i t h   t h i s   m e c h a n i s m ,   K u b e r n e t e s   e x p e c t s   t o   r e c e i v e   r e q u e s t s   f r o m   t h e   p r o x y   w i t h   s p e c i f i c   h e a d e r   v a l u e s   s e t ,   i n d i c a t i n g   t h e   u s e r n a m e   a n d   g r o u p   m e m b e r s h i p s   t o   a s s i g n   f o r   a u t h o r i z a t i o n   p u r p o s e s .   I t   i s   i m p o r t a n t   t o   n o t e   t h a t   t h e r e   a r e   s p e c i f i c   c o n s i d e r a t i o n s   t o   t a k e   i n t o   a c c o u n t   w h e n   u s i n g   t h i s   m e c h a n i s m .   F i r s t l y ,   s e c u r e l y   c o n f i g u r e d   T L S   m u s t   b e   u s e d   b e t w e e n   t h e   p r o x y   a n d   K u b e r n e t e s   A P I   s e r v e r   t o   m i t i g a t e   t h e   r i s k   o f   t r a f f i c   i n t e r c e p t i o n   o r   s n i f f i n g   a t t a c k s .   T h i s   e n s u r e s   t h a t   t h e   c o m m u n i c a t i o n   b e t w e e n   t h e   p r o x y   a n d   K u b e r n e t e s   A P I   s e r v e r   i s   s e c u r e .   S e c o n d l y ,   i t   i s   i m p o r t a n t   t o   b e   a w a r e   t h a t   a n   a t t a c k e r   w h o   i s   a b l e   t o   m o d i f y   t h e   h e a d e r s   o f   t h e   r e q u e s t   m a y   b e   a b l e   t o   g a i n   u n a u t h o r i z e d   a c c e s s   t o   K u b e r n e t e s   r e s o u r c e s .   A s   s u c h ,   i t   i s   i m p o r t a n t   t o   e n s u r e   t h a t   t h e   h e a d e r s   a r e   p r o p e r l y   s e c u r e d   a n d   c a n n o t   b e   t a m p e r e d   w i t h .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12834"
  },
  {
    "question": "What is What's next?",
    "answer": "U s e r   A u t h e n t i c a t i o n A u t h e n t i c a t i n g   w i t h   B o o t s t r a p   T o k e n s k u b e l e t   A u t h e n t i c a t i o n A u t h e n t i c a t i n g   w i t h   S e r v i c e   A c c o u n t   T o k e n s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12835"
  },
  {
    "question": "What is 8.13 - Hardening Guide - Scheduler Configuration?",
    "answer": "T h e   K u b e r n e t e s   s c h e d u l e r   i s   o n e   o f   t h e   c r i t i c a l   c o m p o n e n t s   o f   t h e   c o n t r o l   p l a n e .   T h i s   d o c u m e n t   c o v e r s   h o w   t o   i m p r o v e   t h e   s e c u r i t y   p o s t u r e   o f   t h e   S c h e d u l e r .   A   m i s c o n f i g u r e d   s c h e d u l e r   c a n   h a v e   s e c u r i t y   i m p l i c a t i o n s .   S u c h   a   s c h e d u l e r   c a n   t a r g e t   s p e c i f i c   n o d e s   a n d   e v i c t   t h e   w o r k l o a d s   o r   a p p l i c a t i o n s   t h a t   a r e   s h a r i n g   t h e   n o d e   a n d   i t s   r e s o u r c e s .   T h i s   c a n   a i d   a n   a t t a c k e r   w i t h   a   Y o - Y o   a t t a c k :   a n   a t t a c k   o n   a   v u l n e r a b l e   a u t o s c a l e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12836"
  },
  {
    "question": "What is Scheduler authentication & authorization command line options?",
    "answer": "W h e n   s e t t i n g   u p   a u t h e n t i c a t i o n   c o n f i g u r a t i o n ,   i t   s h o u l d   b e   m a d e   s u r e   t h a t   k u b e - s c h e d u l e r ' s   a u t h e n t i c a t i o n   r e m a i n s   c o n s i s t e n t   w i t h   k u b e - a p i - s e r v e r ' s   a u t h e n t i c a t i o n .   I f   a n y   r e q u e s t   h a s   m i s s i n g   a u t h e n t i c a t i o n   h e a d e r s ,   t h e   a u t h e n t i c a t i o n   s h o u l d   h a p p e n   t h r o u g h   t h e   k u b e - a p i - s e r v e r   a l l o w i n g   a l l   a u t h e n t i c a t i o n   t o   b e   c o n s i s t e n t   i n   t h e   c l u s t e r .   a u t h e n t i c a t i o n - k u b e c o n f i g :   M a k e   s u r e   t o   p r o v i d e   a   p r o p e r   k u b e c o n f i g   s o   t h a t   t h e   s c h e d u l e r   c a n   r e t r i e v e   a u t h e n t i c a t i o n   c o n f i g u r a t i o n   o p t i o n s   f r o m   t h e   A P I   S e r v e r .   T h i s   k u b e c o n f i g   f i l e   s h o u l d   b e   p r o t e c t e d   w i t h   s t r i c t   f i l e   p e r m i s s i o n s . a u t h e n t i c a t i o n - t o l e r a t e - l o o k u p - f a i l u r e :   S e t   t h i s   t o   f a l s e   t o   m a k e   s u r e   t h e   s c h e d u l e r   a l w a y s   l o o k s   u p   i t s   a u t h e n t i c a t i o n   c o n f i g u r a t i o n   f r o m   t h e   A P I   s e r v e r . a u t h e n t i c a t i o n - s k i p - l o o k u p :   S e t   t h i s   t o   f a l s e   t o   m a k e   s u r e   t h e   s c h e d u l e r   a l w a y s   l o o k s   u p   i t s   a u t h e n t i c a t i o n   c o n f i g u r a t i o n   f r o m   t h e   A P I   s e r v e r . a u t h o r i z a t i o n - a l w a y s - a l l o w - p a t h s :   T h e s e   p a t h s   s h o u l d   r e s p o n d   w i t h   d a t a   t h a t   i s   a p p r o p r i a t e   f o r   a n o n y m o u s   a u t h o r i z a t i o n .   D e f a u l t s   t o   / h e a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12837"
  },
  {
    "question": "What is Scheduler networking command line options?",
    "answer": "b i n d - a d d r e s s :   I n   m o s t   c a s e s ,   t h e   k u b e - s c h e d u l e r   d o e s   n o t   n e e d   t o   b e   e x t e r n a l l y   a c c e s s i b l e .   S e t t i n g   t h e   b i n d   a d d r e s s   t o   l o c a l h o s t   i s   a   s e c u r e   p r a c t i c e . p e r m i t - a d d r e s s - s h a r i n g :   S e t   t h i s   t o   f a l s e   t o   d i s a b l e   c o n n e c t i o n   s h a r i n g   t h r o u g h   S O _ R E U S E A D D R .   S O _ R E U S E A D D R   c a n   l e a d   t o   r e u s e   o f   t e r m i n a t e d   c o n n e c t i o n s   t h a t   a r e   i n   T I M E _ W A I T   s t a t e . p e r m i t - p o r t - s h a r i n g :   D e f a u l t   f a l s e .   U s e   t h e   d e f a u l t   u n l e s s   y o u   a r e   c o n f i d e n t   y o u   u n d e r s t a n d   t h e   s e c u r i t y   i m p l i c a t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12838"
  },
  {
    "question": "What is Scheduler TLS command line options?",
    "answer": "t l s - c i p h e r - s u i t e s :   A l w a y s   p r o v i d e   a   l i s t   o f   p r e f e r r e d   c i p h e r   s u i t e s .   T h i s   e n s u r e s   e n c r y p t i o n   n e v e r   h a p p e n s   w i t h   i n s e c u r e   c i p h e r   s u i t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12839"
  },
  {
    "question": "What is Scheduling configurations for custom schedulers?",
    "answer": "W h e n   u s i n g   c u s t o m   s c h e d u l e r s   b a s e d   o n   t h e   K u b e r n e t e s   s c h e d u l i n g   c o d e ,   c l u s t e r   a d m i n i s t r a t o r s   n e e d   t o   b e   c a r e f u l   w i t h   p l u g i n s   t h a t   u s e   t h e   q u e u e S o r t ,   p r e f i l t e r ,   f i l t e r ,   o r   p e r m i t   e x t e n s i o n   p o i n t s .   T h e s e   e x t e n s i o n   p o i n t s   c o n t r o l   v a r i o u s   s t a g e s   o f   a   s c h e d u l i n g   p r o c e s s ,   a n d   t h e   w r o n g   c o n f i g u r a t i o n   c a n   i m p a c t   t h e   k u b e - s c h e d u l e r ' s   b e h a v i o r   i n   y o u r   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12840"
  },
  {
    "question": "What is Key considerations?",
    "answer": "E x a c t l y   o n e   p l u g i n   t h a t   u s e s   t h e   q u e u e S o r t   e x t e n s i o n   p o i n t   c a n   b e   e n a b l e d   a t   a   t i m e .   A n y   p l u g i n s   t h a t   u s e   q u e u e S o r t   s h o u l d   b e   s c r u t i n i z e d . P l u g i n s   t h a t   i m p l e m e n t   t h e   p r e f i l t e r   o r   f i l t e r   e x t e n s i o n   p o i n t   c a n   p o t e n t i a l l y   m a r k   a l l   n o d e s   a s   u n s c h e d u l a b l e .   T h i s   c a n   b r i n g   s c h e d u l i n g   o f   n e w   p o d s   t o   a   h a l t . P l u g i n s   t h a t   i m p l e m e n t   t h e   p e r m i t   e x t e n s i o n   p o i n t   c a n   p r e v e n t   o r   d e l a y   t h e   b i n d i n g   o f   a   P o d .   S u c h   p l u g i n s   s h o u l d   b e   t h o r o u g h l y   r e v i e w e d   b y   t h e   c l u s t e r   a d m i n i s t r a t o r .   W h e n   u s i n g   a   p l u g i n   t h a t   i s   n o t   o n e   o f   t h e   d e f a u l t   p l u g i n s ,   c o n s i d e r   d i s a b l i n g   t h e   q u e u e S o r t ,   f i l t e r   a n d   p e r m i t   e x t e n s i o n   p o i n t s   a s   f o l l o w s :   a p i V e r s i o n :   k u b e s c h e d u l e r . c o n f i g . k 8 s . i o / v 1   k i n d :   K u b e S c h e d u l e r C o n f i g u r a t i o n   p r o f i l e s :   -   s c h e d u l e r N a m e :   m y - s c h e d u l e r   p l u g i n s :   #   D i s a b l e   s p e c i f i c   p l u g i n s   f o r   d i f f e r e n t   e x t e n s i o n   p o i n t s   #   Y o u   c a n   d i s a b l e   a l l   p l u g i n s   f o r   a n   e x t e n s i o n   p o i n t   u s i n g   \" * \"   q u e u e S o r t :   d i s a b l e d :   -   n a m e :   \" * \"   #   D i s a b l e   a l l   q u e u e S o r t   p l u g i n s   #   -   n a m e :   \" P r i o r i t y S o r t \"   #   D i s a b l e   s p e c i f i c   q u e u e S o r t   p l u g i n   f i l t e r :   d i s a b l e d :   -   n a m ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12841"
  },
  {
    "question": "What is Disallow labeling nodes?",
    "answer": "A   c l u s t e r   a d m i n i s t r a t o r   s h o u l d   e n s u r e   t h a t   c l u s t e r   u s e r s   c a n n o t   l a b e l   t h e   n o d e s .   A   m a l i c i o u s   a c t o r   c a n   u s e   n o d e S e l e c t o r   t o   s c h e d u l e   w o r k l o a d s   o n   n o d e s   w h e r e   t h o s e   w o r k l o a d s   s h o u l d   n o t   b e   p r e s e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12842"
  },
  {
    "question": "What is 8.14 - Kubernetes API Server Bypass Risks?",
    "answer": "T h e   K u b e r n e t e s   A P I   s e r v e r   i s   t h e   m a i n   p o i n t   o f   e n t r y   t o   a   c l u s t e r   f o r   e x t e r n a l   p a r t i e s   ( u s e r s   a n d   s e r v i c e s )   i n t e r a c t i n g   w i t h   i t .   A s   p a r t   o f   t h i s   r o l e ,   t h e   A P I   s e r v e r   h a s   s e v e r a l   k e y   b u i l t - i n   s e c u r i t y   c o n t r o l s ,   s u c h   a s   a u d i t   l o g g i n g   a n d   a d m i s s i o n   c o n t r o l l e r s .   H o w e v e r ,   t h e r e   a r e   w a y s   t o   m o d i f y   t h e   c o n f i g u r a t i o n   o r   c o n t e n t   o f   t h e   c l u s t e r   t h a t   b y p a s s   t h e s e   c o n t r o l s .   T h i s   p a g e   d e s c r i b e s   t h e   w a y s   i n   w h i c h   t h e   s e c u r i t y   c o n t r o l s   b u i l t   i n t o   t h e   K u b e r n e t e s   A P I   s e r v e r   c a n   b e   b y p a s s e d ,   s o   t h a t   c l u s t e r   o p e r a t o r s   a n d   s e c u r i t y   a r c h i t e c t s   c a n   e n s u r e   t h a t   t h e s e   b y p a s s e s   a r e   a p p r o p r i a t e l y   r e s t r i c t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12843"
  },
  {
    "question": "What is Static Pods?",
    "answer": "T h e   k u b e l e t   o n   e a c h   n o d e   l o a d s   a n d   d i r e c t l y   m a n a g e s   a n y   m a n i f e s t s   t h a t   a r e   s t o r e d   i n   a   n a m e d   d i r e c t o r y   o r   f e t c h e d   f r o m   a   s p e c i f i c   U R L   a s   s t a t i c   P o d s   i n   y o u r   c l u s t e r .   T h e   A P I   s e r v e r   d o e s n ' t   m a n a g e   t h e s e   s t a t i c   P o d s .   A n   a t t a c k e r   w i t h   w r i t e   a c c e s s   t o   t h i s   l o c a t i o n   c o u l d   m o d i f y   t h e   c o n f i g u r a t i o n   o f   s t a t i c   p o d s   l o a d e d   f r o m   t h a t   s o u r c e ,   o r   c o u l d   i n t r o d u c e   n e w   s t a t i c   P o d s .   S t a t i c   P o d s   a r e   r e s t r i c t e d   f r o m   a c c e s s i n g   o t h e r   o b j e c t s   i n   t h e   K u b e r n e t e s   A P I .   F o r   e x a m p l e ,   y o u   c a n ' t   c o n f i g u r e   a   s t a t i c   P o d   t o   m o u n t   a   S e c r e t   f r o m   t h e   c l u s t e r .   H o w e v e r ,   t h e s e   P o d s   c a n   t a k e   o t h e r   s e c u r i t y   s e n s i t i v e   a c t i o n s ,   s u c h   a s   u s i n g   h o s t P a t h   m o u n t s   f r o m   t h e   u n d e r l y i n g   n o d e .   B y   d e f a u l t ,   t h e   k u b e l e t   c r e a t e s   a   m i r r o r   p o d   s o   t h a t   t h e   s t a t i c   P o d s   a r e   v i s i b l e   i n   t h e   K u b e r n e t e s   A P I .   H o w e v e r ,   i f   t h e   a t t a c k e r   u s e s   a n   i n v a l i d   n a m e s p a c e   n a m e   w h e n   c r e a t i n g   t h e   P o d ,   i t   w i l l   n o t   b e   v i s i b l e   i n   t h e   K u b e r n e t e s   A P I   a n d   c a n   o n l y   b e   d i s c o v e r e d   b y   t o o l i n g   t h a t   h a s   a c c e s s   t o   t h e   a f f e c t e d   h o s t ( s ) .   I f   a   s t a t i c   P o d   f a i l s   a d m i s s i o n   c o n t r o l ,   t h e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12844"
  },
  {
    "question": "What is Mitigations?",
    "answer": "O n l y   e n a b l e   t h e   k u b e l e t   s t a t i c   P o d   m a n i f e s t   f u n c t i o n a l i t y   i f   r e q u i r e d   b y   t h e   n o d e . I f   a   n o d e   u s e s   t h e   s t a t i c   P o d   f u n c t i o n a l i t y ,   r e s t r i c t   f i l e s y s t e m   a c c e s s   t o   t h e   s t a t i c   P o d   m a n i f e s t   d i r e c t o r y   o r   U R L   t o   u s e r s   w h o   n e e d   t h e   a c c e s s . R e s t r i c t   a c c e s s   t o   k u b e l e t   c o n f i g u r a t i o n   p a r a m e t e r s   a n d   f i l e s   t o   p r e v e n t   a n   a t t a c k e r   s e t t i n g   a   s t a t i c   P o d   p a t h   o r   U R L . R e g u l a r l y   a u d i t   a n d   c e n t r a l l y   r e p o r t   a l l   a c c e s s   t o   d i r e c t o r i e s   o r   w e b   s t o r a g e   l o c a t i o n s   t h a t   h o s t   s t a t i c   P o d   m a n i f e s t s   a n d   k u b e l e t   c o n f i g u r a t i o n   f i l e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12845"
  },
  {
    "question": "What is The kubelet API?",
    "answer": "T h e   k u b e l e t   p r o v i d e s   a n   H T T P   A P I   t h a t   i s   t y p i c a l l y   e x p o s e d   o n   T C P   p o r t   1 0 2 5 0   o n   c l u s t e r   w o r k e r   n o d e s .   T h e   A P I   m i g h t   a l s o   b e   e x p o s e d   o n   c o n t r o l   p l a n e   n o d e s   d e p e n d i n g   o n   t h e   K u b e r n e t e s   d i s t r i b u t i o n   i n   u s e .   D i r e c t   a c c e s s   t o   t h e   A P I   a l l o w s   f o r   d i s c l o s u r e   o f   i n f o r m a t i o n   a b o u t   t h e   p o d s   r u n n i n g   o n   a   n o d e ,   t h e   l o g s   f r o m   t h o s e   p o d s ,   a n d   e x e c u t i o n   o f   c o m m a n d s   i n   e v e r y   c o n t a i n e r   r u n n i n g   o n   t h e   n o d e .   W h e n   K u b e r n e t e s   c l u s t e r   u s e r s   h a v e   R B A C   a c c e s s   t o   N o d e   o b j e c t   s u b - r e s o u r c e s ,   t h a t   a c c e s s   s e r v e s   a s   a u t h o r i z a t i o n   t o   i n t e r a c t   w i t h   t h e   k u b e l e t   A P I .   T h e   e x a c t   a c c e s s   d e p e n d s   o n   w h i c h   s u b - r e s o u r c e   a c c e s s   h a s   b e e n   g r a n t e d ,   a s   d e t a i l e d   i n   k u b e l e t   a u t h o r i z a t i o n .   D i r e c t   a c c e s s   t o   t h e   k u b e l e t   A P I   i s   n o t   s u b j e c t   t o   a d m i s s i o n   c o n t r o l   a n d   i s   n o t   l o g g e d   b y   K u b e r n e t e s   a u d i t   l o g g i n g .   A n   a t t a c k e r   w i t h   d i r e c t   a c c e s s   t o   t h i s   A P I   m a y   b e   a b l e   t o   b y p a s s   c o n t r o l s   t h a t   d e t e c t   o r   p r e v e n t   c e r t a i n   a c t i o n s .   T h e   k u b e l e t   A P I   c a n   b e   c o n f i g u r e d   t o   a u t h e n t i c a t e   r e q u e s t s   i n   a   n u m b e r   o f   w a y s .   B y   d e f a u l t ,   t h e   k u b e l e t   c o n f i g u r a t i o n   a l l ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12846"
  },
  {
    "question": "What is Mitigations?",
    "answer": "R e s t r i c t   a c c e s s   t o   s u b - r e s o u r c e s   o f   t h e   n o d e s   A P I   o b j e c t   u s i n g   m e c h a n i s m s   s u c h   a s   R B A C .   O n l y   g r a n t   t h i s   a c c e s s   w h e n   r e q u i r e d ,   s u c h   a s   b y   m o n i t o r i n g   s e r v i c e s . R e s t r i c t   a c c e s s   t o   t h e   k u b e l e t   p o r t .   O n l y   a l l o w   s p e c i f i e d   a n d   t r u s t e d   I P   a d d r e s s   r a n g e s   t o   a c c e s s   t h e   p o r t . E n s u r e   t h a t   k u b e l e t   a u t h e n t i c a t i o n .   i s   s e t   t o   w e b h o o k   o r   c e r t i f i c a t e   m o d e . E n s u r e   t h a t   t h e   u n a u t h e n t i c a t e d   \" r e a d - o n l y \"   K u b e l e t   p o r t   i s   n o t   e n a b l e d   o n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12847"
  },
  {
    "question": "What is The etcd API?",
    "answer": "K u b e r n e t e s   c l u s t e r s   u s e   e t c d   a s   a   d a t a s t o r e .   T h e   e t c d   s e r v i c e   l i s t e n s   o n   T C P   p o r t   2 3 7 9 .   T h e   o n l y   c l i e n t s   t h a t   n e e d   a c c e s s   a r e   t h e   K u b e r n e t e s   A P I   s e r v e r   a n d   a n y   b a c k u p   t o o l i n g   t h a t   y o u   u s e .   D i r e c t   a c c e s s   t o   t h i s   A P I   a l l o w s   f o r   d i s c l o s u r e   o r   m o d i f i c a t i o n   o f   a n y   d a t a   h e l d   i n   t h e   c l u s t e r .   A c c e s s   t o   t h e   e t c d   A P I   i s   t y p i c a l l y   m a n a g e d   b y   c l i e n t   c e r t i f i c a t e   a u t h e n t i c a t i o n .   A n y   c e r t i f i c a t e   i s s u e d   b y   a   c e r t i f i c a t e   a u t h o r i t y   t h a t   e t c d   t r u s t s   a l l o w s   f u l l   a c c e s s   t o   t h e   d a t a   s t o r e d   i n s i d e   e t c d .   D i r e c t   a c c e s s   t o   e t c d   i s   n o t   s u b j e c t   t o   K u b e r n e t e s   a d m i s s i o n   c o n t r o l   a n d   i s   n o t   l o g g e d   b y   K u b e r n e t e s   a u d i t   l o g g i n g .   A n   a t t a c k e r   w h o   h a s   r e a d   a c c e s s   t o   t h e   A P I   s e r v e r ' s   e t c d   c l i e n t   c e r t i f i c a t e   p r i v a t e   k e y   ( o r   c a n   c r e a t e   a   n e w   t r u s t e d   c l i e n t   c e r t i f i c a t e )   c a n   g a i n   c l u s t e r   a d m i n   r i g h t s   b y   a c c e s s i n g   c l u s t e r   s e c r e t s   o r   m o d i f y i n g   a c c e s s   r u l e s .   E v e n   w i t h o u t   e l e v a t i n g   t h e i r   K u b e r n e t e s   R B A C   p r i v i l e g e s ,   a n   a t t a c k e r   w h o   c a n   m o d i f y   e t c d   c a n   r e t r i e v e   a n y   A P I   o b j e c t   o r   c r e a t e   n e w   w o r k l o a d s   i n s i d e   t h e   c l u s t e r .   M a n y   K u b e r n e t e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12848"
  },
  {
    "question": "What is Mitigations?",
    "answer": "E n s u r e   t h a t   t h e   c e r t i f i c a t e   a u t h o r i t y   t r u s t e d   b y   e t c d   i s   u s e d   o n l y   f o r   t h e   p u r p o s e s   o f   a u t h e n t i c a t i o n   t o   t h a t   s e r v i c e . C o n t r o l   a c c e s s   t o   t h e   p r i v a t e   k e y   f o r   t h e   e t c d   s e r v e r   c e r t i f i c a t e ,   a n d   t o   t h e   A P I   s e r v e r ' s   c l i e n t   c e r t i f i c a t e   a n d   k e y . C o n s i d e r   r e s t r i c t i n g   a c c e s s   t o   t h e   e t c d   p o r t   a t   a   n e t w o r k   l e v e l ,   t o   o n l y   a l l o w   a c c e s s   f r o m   s p e c i f i e d   a n d   t r u s t e d   I P   a d d r e s s   r a n g e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12849"
  },
  {
    "question": "What is Container runtime socket?",
    "answer": "O n   e a c h   n o d e   i n   a   K u b e r n e t e s   c l u s t e r ,   a c c e s s   t o   i n t e r a c t   w i t h   c o n t a i n e r s   i s   c o n t r o l l e d   b y   t h e   c o n t a i n e r   r u n t i m e   ( o r   r u n t i m e s ,   i f   y o u   h a v e   c o n f i g u r e d   m o r e   t h a n   o n e ) .   T y p i c a l l y ,   t h e   c o n t a i n e r   r u n t i m e   e x p o s e s   a   U n i x   s o c k e t   t h a t   t h e   k u b e l e t   c a n   a c c e s s .   A n   a t t a c k e r   w i t h   a c c e s s   t o   t h i s   s o c k e t   c a n   l a u n c h   n e w   c o n t a i n e r s   o r   i n t e r a c t   w i t h   r u n n i n g   c o n t a i n e r s .   A t   t h e   c l u s t e r   l e v e l ,   t h e   i m p a c t   o f   t h i s   a c c e s s   d e p e n d s   o n   w h e t h e r   t h e   c o n t a i n e r s   t h a t   r u n   o n   t h e   c o m p r o m i s e d   n o d e   h a v e   a c c e s s   t o   S e c r e t s   o r   o t h e r   c o n f i d e n t i a l   d a t a   t h a t   a n   a t t a c k e r   c o u l d   u s e   t o   e s c a l a t e   p r i v i l e g e s   t o   o t h e r   w o r k e r   n o d e s   o r   t o   c o n t r o l   p l a n e   c o m p o n e n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12850"
  },
  {
    "question": "What is Mitigations?",
    "answer": "E n s u r e   t h a t   y o u   t i g h t l y   c o n t r o l   f i l e s y s t e m   a c c e s s   t o   c o n t a i n e r   r u n t i m e   s o c k e t s .   W h e n   p o s s i b l e ,   r e s t r i c t   t h i s   a c c e s s   t o   t h e   r o o t   u s e r . I s o l a t e   t h e   k u b e l e t   f r o m   o t h e r   c o m p o n e n t s   r u n n i n g   o n   t h e   n o d e ,   u s i n g   m e c h a n i s m s   s u c h   a s   L i n u x   k e r n e l   n a m e s p a c e s . E n s u r e   t h a t   y o u   r e s t r i c t   o r   f o r b i d   t h e   u s e   o f   h o s t P a t h   m o u n t s   t h a t   i n c l u d e   t h e   c o n t a i n e r   r u n t i m e   s o c k e t ,   e i t h e r   d i r e c t l y   o r   b y   m o u n t i n g   a   p a r e n t   d i r e c t o r y .   A l s o   h o s t P a t h   m o u n t s   m u s t   b e   s e t   a s   r e a d - o n l y   t o   m i t i g a t e   r i s k s   o f   a t t a c k e r s   b y p a s s i n g   d i r e c t o r y   r e s t r i c t i o n s . R e s t r i c t   u s e r   a c c e s s   t o   n o d e s ,   a n d   e s p e c i a l l y   r e s t r i c t   s u p e r u s e r   a c c e s s   t o   n o d e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12851"
  },
  {
    "question": "What is 8.15 - Linux kernel security constraints for Pods and containers?",
    "answer": "T h i s   p a g e   d e s c r i b e s   s o m e   o f   t h e   s e c u r i t y   f e a t u r e s   t h a t   a r e   b u i l t   i n t o   t h e   L i n u x   k e r n e l   t h a t   y o u   c a n   u s e   i n   y o u r   K u b e r n e t e s   w o r k l o a d s .   T o   l e a r n   h o w   t o   a p p l y   t h e s e   f e a t u r e s   t o   y o u r   P o d s   a n d   c o n t a i n e r s ,   r e f e r   t o   C o n f i g u r e   a   S e c u r i t y C o n t e x t   f o r   a   P o d   o r   C o n t a i n e r .   Y o u   s h o u l d   a l r e a d y   b e   f a m i l i a r   w i t h   L i n u x   a n d   w i t h   t h e   b a s i c s   o f   K u b e r n e t e s   w o r k l o a d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12852"
  },
  {
    "question": "What is Run workloads without root privileges?",
    "answer": "W h e n   y o u   d e p l o y   a   w o r k l o a d   i n   K u b e r n e t e s ,   u s e   t h e   P o d   s p e c i f i c a t i o n   t o   r e s t r i c t   t h a t   w o r k l o a d   f r o m   r u n n i n g   a s   t h e   r o o t   u s e r   o n   t h e   n o d e .   Y o u   c a n   u s e   t h e   P o d   s e c u r i t y C o n t e x t   t o   d e f i n e   t h e   s p e c i f i c   L i n u x   u s e r   a n d   g r o u p   f o r   t h e   p r o c e s s e s   i n   t h e   P o d ,   a n d   e x p l i c i t l y   r e s t r i c t   c o n t a i n e r s   f r o m   r u n n i n g   a s   r o o t   u s e r s .   S e t t i n g   t h e s e   v a l u e s   i n   t h e   P o d   m a n i f e s t   t a k e s   p r e c e d e n c e   o v e r   s i m i l a r   v a l u e s   i n   t h e   c o n t a i n e r   i m a g e ,   w h i c h   i s   e s p e c i a l l y   u s e f u l   i f   y o u ' r e   r u n n i n g   i m a g e s   t h a t   y o u   d o n ' t   o w n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12853"
  },
  {
    "question": "What is Caution:?",
    "answer": "C o n f i g u r i n g   t h e   k e r n e l   s e c u r i t y   f e a t u r e s   o n   t h i s   p a g e   p r o v i d e s   f i n e - g r a i n e d   c o n t r o l   o v e r   t h e   a c t i o n s   t h a t   p r o c e s s e s   i n   y o u r   c l u s t e r   c a n   t a k e ,   b u t   m a n a g i n g   t h e s e   c o n f i g u r a t i o n s   c a n   b e   c h a l l e n g i n g   a t   s c a l e .   R u n n i n g   c o n t a i n e r s   a s   n o n - r o o t ,   o r   i n   u s e r   n a m e s p a c e s   i f   y o u   n e e d   r o o t   p r i v i l e g e s ,   h e l p s   t o   r e d u c e   t h e   c h a n c e   t h a t   y o u ' l l   n e e d   t o   e n f o r c e   y o u r   c o n f i g u r e d   k e r n e l   s e c u r i t y   c a p a b i l i t i e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12854"
  },
  {
    "question": "What is Security features in the Linux kernel?",
    "answer": "K u b e r n e t e s   l e t s   y o u   c o n f i g u r e   a n d   u s e   L i n u x   k e r n e l   f e a t u r e s   t o   i m p r o v e   i s o l a t i o n   a n d   h a r d e n   y o u r   c o n t a i n e r i z e d   w o r k l o a d s .   C o m m o n   f e a t u r e s   i n c l u d e   t h e   f o l l o w i n g :   S e c u r e   c o m p u t i n g   m o d e   ( s e c c o m p ) :   F i l t e r   w h i c h   s y s t e m   c a l l s   a   p r o c e s s   c a n   m a k e A p p A r m o r :   R e s t r i c t   t h e   a c c e s s   p r i v i l e g e s   o f   i n d i v i d u a l   p r o g r a m s S e c u r i t y   E n h a n c e d   L i n u x   ( S E L i n u x ) :   A s s i g n   s e c u r i t y   l a b e l s   t o   o b j e c t s   f o r   m o r e   m a n a g e a b l e   s e c u r i t y   p o l i c y   e n f o r c e m e n t   T o   c o n f i g u r e   s e t t i n g s   f o r   o n e   o f   t h e s e   f e a t u r e s ,   t h e   o p e r a t i n g   s y s t e m   t h a t   y o u   c h o o s e   f o r   y o u r   n o d e s   m u s t   e n a b l e   t h e   f e a t u r e   i n   t h e   k e r n e l .   F o r   e x a m p l e ,   U b u n t u   7 . 1 0   a n d   l a t e r   e n a b l e   A p p A r m o r   b y   d e f a u l t .   T o   l e a r n   w h e t h e r   y o u r   O S   e n a b l e s   a   s p e c i f i c   f e a t u r e ,   c o n s u l t   t h e   O S   d o c u m e n t a t i o n .   Y o u   u s e   t h e   s e c u r i t y C o n t e x t   f i e l d   i n   y o u r   P o d   s p e c i f i c a t i o n   t o   d e f i n e   t h e   c o n s t r a i n t s   t h a t   a p p l y   t o   t h o s e   p r o c e s s e s .   T h e   s e c u r i t y C o n t e x t   f i e l d   a l s o   s u p p o r t s   o t h e r   s e c u r i t y   s e t t i n g s ,   s u c h   a s   s p e c i f i c   L i n u x   c a p a b i l i t i e s   o r   f i l e   a c c e s s   p e r m i s s i o n s   u s i n g   U I D s   a n d   G I D s .   T o   l e a r n   m o r e ,   r e f e r   t o   C o n f i g ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12855"
  },
  {
    "question": "What is seccomp?",
    "answer": "S o m e   o f   y o u r   w o r k l o a d s   m i g h t   n e e d   p r i v i l e g e s   t o   p e r f o r m   s p e c i f i c   a c t i o n s   a s   t h e   r o o t   u s e r   o n   y o u r   n o d e ' s   h o s t   m a c h i n e .   L i n u x   u s e s   c a p a b i l i t i e s   t o   d i v i d e   t h e   a v a i l a b l e   p r i v i l e g e s   i n t o   c a t e g o r i e s ,   s o   t h a t   p r o c e s s e s   c a n   g e t   t h e   p r i v i l e g e s   r e q u i r e d   t o   p e r f o r m   s p e c i f i c   a c t i o n s   w i t h o u t   b e i n g   g r a n t e d   a l l   p r i v i l e g e s .   E a c h   c a p a b i l i t y   h a s   a   s e t   o f   s y s t e m   c a l l s   ( s y s c a l l s )   t h a t   a   p r o c e s s   c a n   m a k e .   s e c c o m p   l e t s   y o u   r e s t r i c t   t h e s e   i n d i v i d u a l   s y s c a l l s .   I t   c a n   b e   u s e d   t o   s a n d b o x   t h e   p r i v i l e g e s   o f   a   p r o c e s s ,   r e s t r i c t i n g   t h e   c a l l s   i t   i s   a b l e   t o   m a k e   f r o m   u s e r s p a c e   i n t o   t h e   k e r n e l .   I n   K u b e r n e t e s ,   y o u   u s e   a   c o n t a i n e r   r u n t i m e   o n   e a c h   n o d e   t o   r u n   y o u r   c o n t a i n e r s .   E x a m p l e   r u n t i m e s   i n c l u d e   C R I - O ,   D o c k e r ,   o r   c o n t a i n e r d .   E a c h   r u n t i m e   a l l o w s   o n l y   a   s u b s e t   o f   L i n u x   c a p a b i l i t i e s   b y   d e f a u l t .   Y o u   c a n   f u r t h e r   l i m i t   t h e   a l l o w e d   s y s c a l l s   i n d i v i d u a l l y   b y   u s i n g   a   s e c c o m p   p r o f i l e .   C o n t a i n e r   r u n t i m e s   u s u a l l y   i n c l u d e   a   d e f a u l t   s e c c o m p   p r o f i l e .   K u b e r n e t e s   l e t s   y o u   a u t o m a t i c a l l y   a p p l y   s e c c o m p   p r o f i l e s   l o a d e d   o n t o   a   n o d e   t o   y o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12856"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   l e a r n   h o w   t o   i m p l e m e n t   s e c c o m p   i n   K u b e r n e t e s ,   r e f e r   t o   R e s t r i c t   a   C o n t a i n e r ' s   S y s c a l l s   w i t h   s e c c o m p   o r   t h e   S e c c o m p   n o d e   r e f e r e n c e   T o   l e a r n   m o r e   a b o u t   s e c c o m p ,   s e e   S e c c o m p   B P F   i n   t h e   L i n u x   k e r n e l   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12857"
  },
  {
    "question": "What is Considerations for seccomp?",
    "answer": "s e c c o m p   i s   a   l o w - l e v e l   s e c u r i t y   c o n f i g u r a t i o n   t h a t   y o u   s h o u l d   o n l y   c o n f i g u r e   y o u r s e l f   i f   y o u   r e q u i r e   f i n e - g r a i n e d   c o n t r o l   o v e r   L i n u x   s y s c a l l s .   U s i n g   s e c c o m p ,   e s p e c i a l l y   a t   s c a l e ,   h a s   t h e   f o l l o w i n g   r i s k s :   C o n f i g u r a t i o n s   m i g h t   b r e a k   d u r i n g   a p p l i c a t i o n   u p d a t e s A t t a c k e r s   c a n   s t i l l   u s e   a l l o w e d   s y s c a l l s   t o   e x p l o i t   v u l n e r a b i l i t i e s P r o f i l e   m a n a g e m e n t   f o r   i n d i v i d u a l   a p p l i c a t i o n s   b e c o m e s   c h a l l e n g i n g   a t   s c a l e   R e c o m m e n d a t i o n :   U s e   t h e   d e f a u l t   s e c c o m p   p r o f i l e   t h a t ' s   b u n d l e d   w i t h   y o u r   c o n t a i n e r   r u n t i m e .   I f   y o u   n e e d   a   m o r e   i s o l a t e d   e n v i r o n m e n t ,   c o n s i d e r   u s i n g   a   s a n d b o x ,   s u c h   a s   g V i s o r .   S a n d b o x e s   s o l v e   t h e   p r e c e d i n g   r i s k s   w i t h   c u s t o m   s e c c o m p   p r o f i l e s ,   b u t   r e q u i r e   m o r e   c o m p u t e   r e s o u r c e s   o n   y o u r   n o d e s   a n d   m i g h t   h a v e   c o m p a t i b i l i t y   i s s u e s   w i t h   G P U s   a n d   o t h e r   s p e c i a l i z e d   h a r d w a r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12858"
  },
  {
    "question": "What is AppArmor and SELinux: policy-based mandatory access control?",
    "answer": "Y o u   c a n   u s e   L i n u x   p o l i c y - b a s e d   m a n d a t o r y   a c c e s s   c o n t r o l   ( M A C )   m e c h a n i s m s ,   s u c h   a s   A p p A r m o r   a n d   S E L i n u x ,   t o   h a r d e n   y o u r   K u b e r n e t e s   w o r k l o a d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12859"
  },
  {
    "question": "What is AppArmor?",
    "answer": "A p p A r m o r   i s   a   L i n u x   k e r n e l   s e c u r i t y   m o d u l e   t h a t   s u p p l e m e n t s   t h e   s t a n d a r d   L i n u x   u s e r   a n d   g r o u p   b a s e d   p e r m i s s i o n s   t o   c o n f i n e   p r o g r a m s   t o   a   l i m i t e d   s e t   o f   r e s o u r c e s .   A p p A r m o r   c a n   b e   c o n f i g u r e d   f o r   a n y   a p p l i c a t i o n   t o   r e d u c e   i t s   p o t e n t i a l   a t t a c k   s u r f a c e   a n d   p r o v i d e   g r e a t e r   i n - d e p t h   d e f e n s e .   I t   i s   c o n f i g u r e d   t h r o u g h   p r o f i l e s   t u n e d   t o   a l l o w   t h e   a c c e s s   n e e d e d   b y   a   s p e c i f i c   p r o g r a m   o r   c o n t a i n e r ,   s u c h   a s   L i n u x   c a p a b i l i t i e s ,   n e t w o r k   a c c e s s ,   a n d   f i l e   p e r m i s s i o n s .   E a c h   p r o f i l e   c a n   b e   r u n   i n   e i t h e r   e n f o r c i n g   m o d e ,   w h i c h   b l o c k s   a c c e s s   t o   d i s a l l o w e d   r e s o u r c e s ,   o r   c o m p l a i n   m o d e ,   w h i c h   o n l y   r e p o r t s   v i o l a t i o n s .   A p p A r m o r   c a n   h e l p   y o u   t o   r u n   a   m o r e   s e c u r e   d e p l o y m e n t   b y   r e s t r i c t i n g   w h a t   c o n t a i n e r s   a r e   a l l o w e d   t o   d o ,   a n d / o r   p r o v i d e   b e t t e r   a u d i t i n g   t h r o u g h   s y s t e m   l o g s .   T h e   c o n t a i n e r   r u n t i m e   t h a t   y o u   u s e   m i g h t   s h i p   w i t h   a   d e f a u l t   A p p A r m o r   p r o f i l e ,   o r   y o u   c a n   u s e   a   c u s t o m   p r o f i l e .   T o   l e a r n   h o w   t o   u s e   A p p A r m o r   i n   K u b e r n e t e s ,   r e f e r   t o   R e s t r i c t   a   C o n t a i n e r ' s   A c c e s s   t o   R e s o u r c e s   w i t h   A p p A r m o r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12860"
  },
  {
    "question": "What is SELinux?",
    "answer": "S E L i n u x   i s   a   L i n u x   k e r n e l   s e c u r i t y   m o d u l e   t h a t   l e t s   y o u   r e s t r i c t   t h e   a c c e s s   t h a t   a   s p e c i f i c   s u b j e c t ,   s u c h   a s   a   p r o c e s s ,   h a s   t o   t h e   f i l e s   o n   y o u r   s y s t e m .   Y o u   d e f i n e   s e c u r i t y   p o l i c i e s   t h a t   a p p l y   t o   s u b j e c t s   t h a t   h a v e   s p e c i f i c   S E L i n u x   l a b e l s .   W h e n   a   p r o c e s s   t h a t   h a s   a n   S E L i n u x   l a b e l   a t t e m p t s   t o   a c c e s s   a   f i l e ,   t h e   S E L i n u x   s e r v e r   c h e c k s   w h e t h e r   t h a t   p r o c e s s '   s e c u r i t y   p o l i c y   a l l o w s   t h e   a c c e s s   a n d   m a k e s   a n   a u t h o r i z a t i o n   d e c i s i o n .   I n   K u b e r n e t e s ,   y o u   c a n   s e t   a n   S E L i n u x   l a b e l   i n   t h e   s e c u r i t y C o n t e x t   f i e l d   o f   y o u r   m a n i f e s t .   T h e   s p e c i f i e d   l a b e l s   a r e   a s s i g n e d   t o   t h o s e   p r o c e s s e s .   I f   y o u   h a v e   c o n f i g u r e d   s e c u r i t y   p o l i c i e s   t h a t   a f f e c t   t h o s e   l a b e l s ,   t h e   h o s t   O S   k e r n e l   e n f o r c e s   t h e s e   p o l i c i e s .   T o   l e a r n   h o w   t o   u s e   S E L i n u x   i n   K u b e r n e t e s ,   r e f e r   t o   A s s i g n   S E L i n u x   l a b e l s   t o   a   c o n t a i n e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12861"
  },
  {
    "question": "What is Differences between AppArmor and SELinux?",
    "answer": "T h e   o p e r a t i n g   s y s t e m   o n   y o u r   L i n u x   n o d e s   u s u a l l y   i n c l u d e s   o n e   o f   e i t h e r   A p p A r m o r   o r   S E L i n u x .   B o t h   m e c h a n i s m s   p r o v i d e   s i m i l a r   t y p e s   o f   p r o t e c t i o n ,   b u t   h a v e   d i f f e r e n c e s   s u c h   a s   t h e   f o l l o w i n g :   C o n f i g u r a t i o n :   A p p A r m o r   u s e s   p r o f i l e s   t o   d e f i n e   a c c e s s   t o   r e s o u r c e s .   S E L i n u x   u s e s   p o l i c i e s   t h a t   a p p l y   t o   s p e c i f i c   l a b e l s . P o l i c y   a p p l i c a t i o n :   I n   A p p A r m o r ,   y o u   d e f i n e   r e s o u r c e s   u s i n g   f i l e   p a t h s .   S E L i n u x   u s e s   t h e   i n d e x   n o d e   ( i n o d e )   o f   a   r e s o u r c e   t o   i d e n t i f y   t h e   r e s o u r c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12862"
  },
  {
    "question": "What is Summary of features?",
    "answer": "T h e   f o l l o w i n g   t a b l e   d e s c r i b e s   t h e   u s e   c a s e s   a n d   s c o p e   o f   e a c h   s e c u r i t y   c o n t r o l .   Y o u   c a n   u s e   a l l   o f   t h e s e   c o n t r o l s   t o g e t h e r   t o   b u i l d   a   m o r e   h a r d e n e d   s y s t e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12863"
  },
  {
    "question": "What is Considerations for managing custom configurations?",
    "answer": "s e c c o m p ,   A p p A r m o r ,   a n d   S E L i n u x   u s u a l l y   h a v e   a   d e f a u l t   c o n f i g u r a t i o n   t h a t   o f f e r s   b a s i c   p r o t e c t i o n s .   Y o u   c a n   a l s o   c r e a t e   c u s t o m   p r o f i l e s   a n d   p o l i c i e s   t h a t   m e e t   t h e   r e q u i r e m e n t s   o f   y o u r   w o r k l o a d s .   M a n a g i n g   a n d   d i s t r i b u t i n g   t h e s e   c u s t o m   c o n f i g u r a t i o n s   a t   s c a l e   m i g h t   b e   c h a l l e n g i n g ,   e s p e c i a l l y   i f   y o u   u s e   a l l   t h r e e   f e a t u r e s   t o g e t h e r .   T o   h e l p   y o u   t o   m a n a g e   t h e s e   c o n f i g u r a t i o n s   a t   s c a l e ,   u s e   a   t o o l   l i k e   t h e   K u b e r n e t e s   S e c u r i t y   P r o f i l e s   O p e r a t o r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12864"
  },
  {
    "question": "What is Kernel-level security features and privileged containers?",
    "answer": "K u b e r n e t e s   l e t s   y o u   s p e c i f y   t h a t   s o m e   t r u s t e d   c o n t a i n e r s   c a n   r u n   i n   p r i v i l e g e d   m o d e .   A n y   c o n t a i n e r   i n   a   P o d   c a n   r u n   i n   p r i v i l e g e d   m o d e   t o   u s e   o p e r a t i n g   s y s t e m   a d m i n i s t r a t i v e   c a p a b i l i t i e s   t h a t   w o u l d   o t h e r w i s e   b e   i n a c c e s s i b l e .   T h i s   i s   a v a i l a b l e   f o r   b o t h   W i n d o w s   a n d   L i n u x .   P r i v i l e g e d   c o n t a i n e r s   e x p l i c i t l y   o v e r r i d e   s o m e   o f   t h e   L i n u x   k e r n e l   c o n s t r a i n t s   t h a t   y o u   m i g h t   u s e   i n   y o u r   w o r k l o a d s ,   a s   f o l l o w s :   s e c c o m p :   P r i v i l e g e d   c o n t a i n e r s   r u n   a s   t h e   U n c o n f i n e d   s e c c o m p   p r o f i l e ,   o v e r r i d i n g   a n y   s e c c o m p   p r o f i l e   t h a t   y o u   s p e c i f i e d   i n   y o u r   m a n i f e s t . A p p A r m o r :   P r i v i l e g e d   c o n t a i n e r s   i g n o r e   a n y   a p p l i e d   A p p A r m o r   p r o f i l e s . S E L i n u x :   P r i v i l e g e d   c o n t a i n e r s   r u n   a s   t h e   u n c o n f i n e d _ t   d o m a i n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12865"
  },
  {
    "question": "What is Privileged containers?",
    "answer": "A n y   c o n t a i n e r   i n   a   P o d   c a n   e n a b l e   P r i v i l e g e d   m o d e   i f   y o u   s e t   t h e   p r i v i l e g e d :   t r u e   f i e l d   i n   t h e   s e c u r i t y C o n t e x t   f i e l d   f o r   t h e   c o n t a i n e r .   P r i v i l e g e d   c o n t a i n e r s   o v e r r i d e   o r   u n d o   m a n y   o t h e r   h a r d e n i n g   s e t t i n g s   s u c h   a s   t h e   a p p l i e d   s e c c o m p   p r o f i l e ,   A p p A r m o r   p r o f i l e ,   o r   S E L i n u x   c o n s t r a i n t s .   P r i v i l e g e d   c o n t a i n e r s   a r e   g i v e n   a l l   L i n u x   c a p a b i l i t i e s ,   i n c l u d i n g   c a p a b i l i t i e s   t h a t   t h e y   d o n ' t   r e q u i r e .   F o r   e x a m p l e ,   a   r o o t   u s e r   i n   a   p r i v i l e g e d   c o n t a i n e r   m i g h t   b e   a b l e   t o   u s e   t h e   C A P _ S Y S _ A D M I N   a n d   C A P _ N E T _ A D M I N   c a p a b i l i t i e s   o n   t h e   n o d e ,   b y p a s s i n g   t h e   r u n t i m e   s e c c o m p   c o n f i g u r a t i o n   a n d   o t h e r   r e s t r i c t i o n s .   I n   m o s t   c a s e s ,   y o u   s h o u l d   a v o i d   u s i n g   p r i v i l e g e d   c o n t a i n e r s ,   a n d   i n s t e a d   g r a n t   t h e   s p e c i f i c   c a p a b i l i t i e s   r e q u i r e d   b y   y o u r   c o n t a i n e r   u s i n g   t h e   c a p a b i l i t i e s   f i e l d   i n   t h e   s e c u r i t y C o n t e x t   f i e l d .   O n l y   u s e   p r i v i l e g e d   m o d e   i f   y o u   h a v e   a   c a p a b i l i t y   t h a t   y o u   c a n ' t   g r a n t   w i t h   t h e   s e c u r i t y C o n t e x t .   T h i s   i s   u s e f u l   f o r   c o n t a i n e r s   t h a t   w a n t   t o   u s e   o p e r a t i n g   s y s t e m   a d m i n i s t r a t i v e   c a p a b i l i t i e s   s u c h   a s   m a n i p u l a t i n g   t h e   n e t w o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12866"
  },
  {
    "question": "What is Recommendations and best practices?",
    "answer": "B e f o r e   c o n f i g u r i n g   k e r n e l - l e v e l   s e c u r i t y   c a p a b i l i t i e s ,   y o u   s h o u l d   c o n s i d e r   i m p l e m e n t i n g   n e t w o r k - l e v e l   i s o l a t i o n .   F o r   m o r e   i n f o r m a t i o n ,   r e a d   t h e   S e c u r i t y   C h e c k l i s t . U n l e s s   n e c e s s a r y ,   r u n   L i n u x   w o r k l o a d s   a s   n o n - r o o t   b y   s e t t i n g   s p e c i f i c   u s e r   a n d   g r o u p   I D s   i n   y o u r   P o d   m a n i f e s t   a n d   b y   s p e c i f y i n g   r u n A s N o n R o o t :   t r u e .   A d d i t i o n a l l y ,   y o u   c a n   r u n   w o r k l o a d s   i n   u s e r   n a m e s p a c e s   b y   s e t t i n g   h o s t U s e r s :   f a l s e   i n   y o u r   P o d   m a n i f e s t .   T h i s   l e t s   y o u   r u n   c o n t a i n e r s   a s   r o o t   u s e r s   i n   t h e   u s e r   n a m e s p a c e ,   b u t   a s   n o n - r o o t   u s e r s   i n   t h e   h o s t   n a m e s p a c e   o n   t h e   n o d e .   T h i s   i s   s t i l l   i n   e a r l y   s t a g e s   o f   d e v e l o p m e n t   a n d   m i g h t   n o t   h a v e   t h e   l e v e l   o f   s u p p o r t   t h a t   y o u   n e e d .   F o r   i n s t r u c t i o n s ,   r e f e r   t o   U s e   a   U s e r   N a m e s p a c e   W i t h   a   P o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12867"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   u s e   A p p A r m o r L e a r n   h o w   t o   u s e   s e c c o m p L e a r n   h o w   t o   u s e   S E L i n u x S e c c o m p   N o d e   R e f e r e n c e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12868"
  },
  {
    "question": "What is 8.16 - Security Checklist?",
    "answer": "T h i s   c h e c k l i s t   a i m s   a t   p r o v i d i n g   a   b a s i c   l i s t   o f   g u i d a n c e   w i t h   l i n k s   t o   m o r e   c o m p r e h e n s i v e   d o c u m e n t a t i o n   o n   e a c h   t o p i c .   I t   d o e s   n o t   c l a i m   t o   b e   e x h a u s t i v e   a n d   i s   m e a n t   t o   e v o l v e .   O n   h o w   t o   r e a d   a n d   u s e   t h i s   d o c u m e n t :   T h e   o r d e r   o f   t o p i c s   d o e s   n o t   r e f l e c t   a n   o r d e r   o f   p r i o r i t y . S o m e   c h e c k l i s t   i t e m s   a r e   d e t a i l e d   i n   t h e   p a r a g r a p h   b e l o w   t h e   l i s t   o f   e a c h   s e c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12869"
  },
  {
    "question": "What is Authentication & Authorization?",
    "answer": "s y s t e m : m a s t e r s   g r o u p   i s   n o t   u s e d   f o r   u s e r   o r   c o m p o n e n t   a u t h e n t i c a t i o n   a f t e r   b o o t s t r a p p i n g .   T h e   k u b e - c o n t r o l l e r - m a n a g e r   i s   r u n n i n g   w i t h   - - u s e - s e r v i c e - a c c o u n t - c r e d e n t i a l s   e n a b l e d .   T h e   r o o t   c e r t i f i c a t e   i s   p r o t e c t e d   ( e i t h e r   a n   o f f l i n e   C A ,   o r   a   m a n a g e d   o n l i n e   C A   w i t h   e f f e c t i v e   a c c e s s   c o n t r o l s ) .   I n t e r m e d i a t e   a n d   l e a f   c e r t i f i c a t e s   h a v e   a n   e x p i r y   d a t e   n o   m o r e   t h a n   3   y e a r s   i n   t h e   f u t u r e .   A   p r o c e s s   e x i s t s   f o r   p e r i o d i c   a c c e s s   r e v i e w ,   a n d   r e v i e w s   o c c u r   n o   m o r e   t h a n   2 4   m o n t h s   a p a r t .   T h e   R o l e   B a s e d   A c c e s s   C o n t r o l   G o o d   P r a c t i c e s   a r e   f o l l o w e d   f o r   g u i d a n c e   r e l a t e d   t o   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n .   A f t e r   b o o t s t r a p p i n g ,   n e i t h e r   u s e r s   n o r   c o m p o n e n t s   s h o u l d   a u t h e n t i c a t e   t o   t h e   K u b e r n e t e s   A P I   a s   s y s t e m : m a s t e r s .   S i m i l a r l y ,   r u n n i n g   a l l   o f   k u b e - c o n t r o l l e r - m a n a g e r   a s   s y s t e m : m a s t e r s   s h o u l d   b e   a v o i d e d .   I n   f a c t ,   s y s t e m : m a s t e r s   s h o u l d   o n l y   b e   u s e d   a s   a   b r e a k - g l a s s   m e c h a n i s m ,   a s   o p p o s e d   t o   a n   a d m i n   u s e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12870"
  },
  {
    "question": "What is Network security?",
    "answer": "C N I   p l u g i n s   i n   u s e   s u p p o r t   n e t w o r k   p o l i c i e s .   I n g r e s s   a n d   e g r e s s   n e t w o r k   p o l i c i e s   a r e   a p p l i e d   t o   a l l   w o r k l o a d s   i n   t h e   c l u s t e r .   D e f a u l t   n e t w o r k   p o l i c i e s   w i t h i n   e a c h   n a m e s p a c e ,   s e l e c t i n g   a l l   p o d s ,   d e n y i n g   e v e r y t h i n g ,   a r e   i n   p l a c e .   I f   a p p r o p r i a t e ,   a   s e r v i c e   m e s h   i s   u s e d   t o   e n c r y p t   a l l   c o m m u n i c a t i o n s   i n s i d e   o f   t h e   c l u s t e r .   T h e   K u b e r n e t e s   A P I ,   k u b e l e t   A P I   a n d   e t c d   a r e   n o t   e x p o s e d   p u b l i c l y   o n   I n t e r n e t .   A c c e s s   f r o m   t h e   w o r k l o a d s   t o   t h e   c l o u d   m e t a d a t a   A P I   i s   f i l t e r e d .   U s e   o f   L o a d B a l a n c e r   a n d   E x t e r n a l I P s   i s   r e s t r i c t e d .   A   n u m b e r   o f   C o n t a i n e r   N e t w o r k   I n t e r f a c e   ( C N I )   p l u g i n s   p l u g i n s   p r o v i d e   t h e   f u n c t i o n a l i t y   t o   r e s t r i c t   n e t w o r k   r e s o u r c e s   t h a t   p o d s   m a y   c o m m u n i c a t e   w i t h .   T h i s   i s   m o s t   c o m m o n l y   d o n e   t h r o u g h   N e t w o r k   P o l i c i e s   w h i c h   p r o v i d e   a   n a m e s p a c e d   r e s o u r c e   t o   d e f i n e   r u l e s .   D e f a u l t   n e t w o r k   p o l i c i e s   t h a t   b l o c k   a l l   e g r e s s   a n d   i n g r e s s ,   i n   e a c h   n a m e s p a c e ,   s e l e c t i n g   a l l   p o d s ,   c a n   b e   u s e f u l   t o   a d o p t   a n   a l l o w   l i s t   a p p r o a c h   t o   e n s u r e   t h a t   n o   w o r k l o a d s   a r e   m i s s e d .   N o t   a l l   C N I   p l u g i n s   p r o v i d e   e n c r y p t i o n   i n   t r a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12871"
  },
  {
    "question": "What is Pod security?",
    "answer": "R B A C   r i g h t s   t o   c r e a t e ,   u p d a t e ,   p a t c h ,   d e l e t e   w o r k l o a d s   i s   o n l y   g r a n t e d   i f   n e c e s s a r y .   A p p r o p r i a t e   P o d   S e c u r i t y   S t a n d a r d s   p o l i c y   i s   a p p l i e d   f o r   a l l   n a m e s p a c e s   a n d   e n f o r c e d .   M e m o r y   l i m i t   i s   s e t   f o r   t h e   w o r k l o a d s   w i t h   a   l i m i t   e q u a l   o r   i n f e r i o r   t o   t h e   r e q u e s t .   C P U   l i m i t   m i g h t   b e   s e t   o n   s e n s i t i v e   w o r k l o a d s .   F o r   n o d e s   t h a t   s u p p o r t   i t ,   S e c c o m p   i s   e n a b l e d   w i t h   a p p r o p r i a t e   s y s c a l l s   p r o f i l e   f o r   p r o g r a m s .   F o r   n o d e s   t h a t   s u p p o r t   i t ,   A p p A r m o r   o r   S E L i n u x   i s   e n a b l e d   w i t h   a p p r o p r i a t e   p r o f i l e   f o r   p r o g r a m s .   R B A C   a u t h o r i z a t i o n   i s   c r u c i a l   b u t   c a n n o t   b e   g r a n u l a r   e n o u g h   t o   h a v e   a u t h o r i z a t i o n   o n   t h e   P o d s '   r e s o u r c e s   ( o r   o n   a n y   r e s o u r c e   t h a t   m a n a g e s   P o d s ) .   T h e   o n l y   g r a n u l a r i t y   i s   t h e   A P I   v e r b s   o n   t h e   r e s o u r c e   i t s e l f ,   f o r   e x a m p l e ,   c r e a t e   o n   P o d s .   W i t h o u t   a d d i t i o n a l   a d m i s s i o n ,   t h e   a u t h o r i z a t i o n   t o   c r e a t e   t h e s e   r e s o u r c e s   a l l o w s   d i r e c t   u n r e s t r i c t e d   a c c e s s   t o   t h e   s c h e d u l a b l e   n o d e s   o f   a   c l u s t e r .   T h e   P o d   S e c u r i t y   S t a n d a r d s   d e f i n e   t h r e e   d i f f e r e n t   p o l i c i e s ,   p r i v i l e g e d ,   b a s e l i n e   a n d   r e s t r i c t e d   t h a t   l i m i t   h o w   f i e l d s   c a n   b ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12872"
  },
  {
    "question": "What is Enabling Seccomp?",
    "answer": "S e c c o m p   s t a n d s   f o r   s e c u r e   c o m p u t i n g   m o d e   a n d   h a s   b e e n   a   f e a t u r e   o f   t h e   L i n u x   k e r n e l   s i n c e   v e r s i o n   2 . 6 . 1 2 .   I t   c a n   b e   u s e d   t o   s a n d b o x   t h e   p r i v i l e g e s   o f   a   p r o c e s s ,   r e s t r i c t i n g   t h e   c a l l s   i t   i s   a b l e   t o   m a k e   f r o m   u s e r s p a c e   i n t o   t h e   k e r n e l .   K u b e r n e t e s   l e t s   y o u   a u t o m a t i c a l l y   a p p l y   s e c c o m p   p r o f i l e s   l o a d e d   o n t o   a   n o d e   t o   y o u r   P o d s   a n d   c o n t a i n e r s .   S e c c o m p   c a n   i m p r o v e   t h e   s e c u r i t y   o f   y o u r   w o r k l o a d s   b y   r e d u c i n g   t h e   L i n u x   k e r n e l   s y s c a l l   a t t a c k   s u r f a c e   a v a i l a b l e   i n s i d e   c o n t a i n e r s .   T h e   s e c c o m p   f i l t e r   m o d e   l e v e r a g e s   B P F   t o   c r e a t e   a n   a l l o w   o r   d e n y   l i s t   o f   s p e c i f i c   s y s c a l l s ,   n a m e d   p r o f i l e s .   S i n c e   K u b e r n e t e s   1 . 2 7 ,   y o u   c a n   e n a b l e   t h e   u s e   o f   R u n t i m e D e f a u l t   a s   t h e   d e f a u l t   s e c c o m p   p r o f i l e   f o r   a l l   w o r k l o a d s .   A   s e c u r i t y   t u t o r i a l   i s   a v a i l a b l e   o n   t h i s   t o p i c .   I n   a d d i t i o n ,   t h e   K u b e r n e t e s   S e c u r i t y   P r o f i l e s   O p e r a t o r   i s   a   p r o j e c t   t h a t   f a c i l i t a t e s   t h e   m a n a g e m e n t   a n d   u s e   o f   s e c c o m p   i n   c l u s t e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12873"
  },
  {
    "question": "What is AppArmor?",
    "answer": "A p p A r m o r   i s   a   L i n u x   k e r n e l   s e c u r i t y   m o d u l e   t h a t   c a n   p r o v i d e   a n   e a s y   w a y   t o   i m p l e m e n t   M a n d a t o r y   A c c e s s   C o n t r o l   ( M A C )   a n d   b e t t e r   a u d i t i n g   t h r o u g h   s y s t e m   l o g s .   A   d e f a u l t   A p p A r m o r   p r o f i l e   i s   e n f o r c e d   o n   n o d e s   t h a t   s u p p o r t   i t ,   o r   a   c u s t o m   p r o f i l e   c a n   b e   c o n f i g u r e d .   L i k e   s e c c o m p ,   A p p A r m o r   i s   a l s o   c o n f i g u r e d   t h r o u g h   p r o f i l e s ,   w h e r e   e a c h   p r o f i l e   i s   e i t h e r   r u n n i n g   i n   e n f o r c i n g   m o d e ,   w h i c h   b l o c k s   a c c e s s   t o   d i s a l l o w e d   r e s o u r c e s   o r   c o m p l a i n   m o d e ,   w h i c h   o n l y   r e p o r t s   v i o l a t i o n s .   A p p A r m o r   p r o f i l e s   a r e   e n f o r c e d   o n   a   p e r - c o n t a i n e r   b a s i s ,   w i t h   a n   a n n o t a t i o n ,   a l l o w i n g   f o r   p r o c e s s e s   t o   g a i n   j u s t   t h e   r i g h t   p r i v i l e g e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12874"
  },
  {
    "question": "What is SELinux?",
    "answer": "S E L i n u x   i s   a l s o   a   L i n u x   k e r n e l   s e c u r i t y   m o d u l e   t h a t   c a n   p r o v i d e   a   m e c h a n i s m   f o r   s u p p o r t i n g   a c c e s s   c o n t r o l   s e c u r i t y   p o l i c i e s ,   i n c l u d i n g   M a n d a t o r y   A c c e s s   C o n t r o l s   ( M A C ) .   S E L i n u x   l a b e l s   c a n   b e   a s s i g n e d   t o   c o n t a i n e r s   o r   p o d s   v i a   t h e i r   s e c u r i t y C o n t e x t   s e c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12875"
  },
  {
    "question": "What is Logs and auditing?",
    "answer": "A u d i t   l o g s ,   i f   e n a b l e d ,   a r e   p r o t e c t e d   f r o m   g e n e r a l   a c c e s s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12876"
  },
  {
    "question": "What is Pod placement?",
    "answer": "P o d   p l a c e m e n t   i s   d o n e   i n   a c c o r d a n c e   w i t h   t h e   t i e r s   o f   s e n s i t i v i t y   o f   t h e   a p p l i c a t i o n .   S e n s i t i v e   a p p l i c a t i o n s   a r e   r u n n i n g   i s o l a t e d   o n   n o d e s   o r   w i t h   s p e c i f i c   s a n d b o x e d   r u n t i m e s .   P o d s   t h a t   a r e   o n   d i f f e r e n t   t i e r s   o f   s e n s i t i v i t y ,   f o r   e x a m p l e ,   a n   a p p l i c a t i o n   p o d   a n d   t h e   K u b e r n e t e s   A P I   s e r v e r ,   s h o u l d   b e   d e p l o y e d   o n t o   s e p a r a t e   n o d e s .   T h e   p u r p o s e   o f   n o d e   i s o l a t i o n   i s   t o   p r e v e n t   a n   a p p l i c a t i o n   c o n t a i n e r   b r e a k o u t   t o   d i r e c t l y   p r o v i d i n g   a c c e s s   t o   a p p l i c a t i o n s   w i t h   h i g h e r   l e v e l   o f   s e n s i t i v i t y   t o   e a s i l y   p i v o t   w i t h i n   t h e   c l u s t e r .   T h i s   s e p a r a t i o n   s h o u l d   b e   e n f o r c e d   t o   p r e v e n t   p o d s   a c c i d e n t a l l y   b e i n g   d e p l o y e d   o n t o   t h e   s a m e   n o d e .   T h i s   c o u l d   b e   e n f o r c e d   w i t h   t h e   f o l l o w i n g   f e a t u r e s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12877"
  },
  {
    "question": "What is Secrets?",
    "answer": "C o n f i g M a p s   a r e   n o t   u s e d   t o   h o l d   c o n f i d e n t i a l   d a t a .   E n c r y p t i o n   a t   r e s t   i s   c o n f i g u r e d   f o r   t h e   S e c r e t   A P I .   I f   a p p r o p r i a t e ,   a   m e c h a n i s m   t o   i n j e c t   s e c r e t s   s t o r e d   i n   t h i r d - p a r t y   s t o r a g e   i s   d e p l o y e d   a n d   a v a i l a b l e .   S e r v i c e   a c c o u n t   t o k e n s   a r e   n o t   m o u n t e d   i n   p o d s   t h a t   d o n ' t   r e q u i r e   t h e m .   B o u n d   s e r v i c e   a c c o u n t   t o k e n   v o l u m e   i s   i n - u s e   i n s t e a d   o f   n o n - e x p i r i n g   t o k e n s .   S e c r e t s   r e q u i r e d   f o r   p o d s   s h o u l d   b e   s t o r e d   w i t h i n   K u b e r n e t e s   S e c r e t s   a s   o p p o s e d   t o   a l t e r n a t i v e s   s u c h   a s   C o n f i g M a p .   S e c r e t   r e s o u r c e s   s t o r e d   w i t h i n   e t c d   s h o u l d   b e   e n c r y p t e d   a t   r e s t .   P o d s   n e e d i n g   s e c r e t s   s h o u l d   h a v e   t h e s e   a u t o m a t i c a l l y   m o u n t e d   t h r o u g h   v o l u m e s ,   p r e f e r a b l y   s t o r e d   i n   m e m o r y   l i k e   w i t h   t h e   e m p t y D i r . m e d i u m   o p t i o n .   M e c h a n i s m   c a n   b e   u s e d   t o   a l s o   i n j e c t   s e c r e t s   f r o m   t h i r d - p a r t y   s t o r a g e s   a s   v o l u m e ,   l i k e   t h e   S e c r e t s   S t o r e   C S I   D r i v e r .   T h i s   s h o u l d   b e   d o n e   p r e f e r e n t i a l l y   a s   c o m p a r e d   t o   p r o v i d i n g   t h e   p o d s   s e r v i c e   a c c o u n t   R B A C   a c c e s s   t o   s e c r e t s .   T h i s   w o u l d   a l l o w   a d d i n g   s e c r e t s   i n t o   t h e   p o d   a s   e n v i r o n m e n t   v a r i a b l e s   o r   f i l e s .   P l e a s e   n o t e   t h ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12878"
  },
  {
    "question": "What is Images?",
    "answer": "M i n i m i z e   u n n e c e s s a r y   c o n t e n t   i n   c o n t a i n e r   i m a g e s .   C o n t a i n e r   i m a g e s   a r e   c o n f i g u r e d   t o   b e   r u n   a s   u n p r i v i l e g e d   u s e r .   R e f e r e n c e s   t o   c o n t a i n e r   i m a g e s   a r e   m a d e   b y   s h a 2 5 6   d i g e s t s   ( r a t h e r   t h a n   t a g s )   o r   t h e   p r o v e n a n c e   o f   t h e   i m a g e   i s   v a l i d a t e d   b y   v e r i f y i n g   t h e   i m a g e ' s   d i g i t a l   s i g n a t u r e   a t   d e p l o y   t i m e   v i a   a d m i s s i o n   c o n t r o l .   C o n t a i n e r   i m a g e s   a r e   r e g u l a r l y   s c a n n e d   d u r i n g   c r e a t i o n   a n d   i n   d e p l o y m e n t ,   a n d   k n o w n   v u l n e r a b l e   s o f t w a r e   i s   p a t c h e d .   C o n t a i n e r   i m a g e   s h o u l d   c o n t a i n   t h e   b a r e   m i n i m u m   t o   r u n   t h e   p r o g r a m   t h e y   p a c k a g e .   P r e f e r a b l y ,   o n l y   t h e   p r o g r a m   a n d   i t s   d e p e n d e n c i e s ,   b u i l d i n g   t h e   i m a g e   f r o m   t h e   m i n i m a l   p o s s i b l e   b a s e .   I n   p a r t i c u l a r ,   i m a g e   u s e d   i n   p r o d u c t i o n   s h o u l d   n o t   c o n t a i n   s h e l l s   o r   d e b u g g i n g   u t i l i t i e s ,   a s   a n   e p h e m e r a l   d e b u g   c o n t a i n e r   c a n   b e   u s e d   f o r   t r o u b l e s h o o t i n g .   B u i l d   i m a g e s   t o   d i r e c t l y   s t a r t   w i t h   a n   u n p r i v i l e g e d   u s e r   b y   u s i n g   t h e   U S E R   i n s t r u c t i o n   i n   D o c k e r f i l e .   T h e   S e c u r i t y   C o n t e x t   a l l o w s   a   c o n t a i n e r   i m a g e   t o   b e   s t a r t e d   w i t h   a   s p e c i f i c   u s e r   a n d   g r o u p   w i t h   r u n A s U s e r   a n d   r u n A s G r o u p ,   e v e n   i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12879"
  },
  {
    "question": "What is Admission controllers?",
    "answer": "A n   a p p r o p r i a t e   s e l e c t i o n   o f   a d m i s s i o n   c o n t r o l l e r s   i s   e n a b l e d .   A   p o d   s e c u r i t y   p o l i c y   i s   e n f o r c e d   b y   t h e   P o d   S e c u r i t y   A d m i s s i o n   o r / a n d   a   w e b h o o k   a d m i s s i o n   c o n t r o l l e r .   T h e   a d m i s s i o n   c h a i n   p l u g i n s   a n d   w e b h o o k s   a r e   s e c u r e l y   c o n f i g u r e d .   A d m i s s i o n   c o n t r o l l e r s   c a n   h e l p   i m p r o v e   t h e   s e c u r i t y   o f   t h e   c l u s t e r .   H o w e v e r ,   t h e y   c a n   p r e s e n t   r i s k s   t h e m s e l v e s   a s   t h e y   e x t e n d   t h e   A P I   s e r v e r   a n d   s h o u l d   b e   p r o p e r l y   s e c u r e d .   T h e   f o l l o w i n g   l i s t s   p r e s e n t   a   n u m b e r   o f   a d m i s s i o n   c o n t r o l l e r s   t h a t   c o u l d   b e   c o n s i d e r e d   t o   e n h a n c e   t h e   s e c u r i t y   p o s t u r e   o f   y o u r   c l u s t e r   a n d   a p p l i c a t i o n .   I t   i n c l u d e s   c o n t r o l l e r s   t h a t   m a y   b e   r e f e r e n c e d   i n   o t h e r   p a r t s   o f   t h i s   d o c u m e n t .   T h i s   f i r s t   g r o u p   o f   a d m i s s i o n   c o n t r o l l e r s   i n c l u d e s   p l u g i n s   e n a b l e d   b y   d e f a u l t ,   c o n s i d e r   t o   l e a v e   t h e m   e n a b l e d   u n l e s s   y o u   k n o w   w h a t   y o u   a r e   d o i n g :   T h e   s e c o n d   g r o u p   i n c l u d e s   p l u g i n s   t h a t   a r e   n o t   e n a b l e d   b y   d e f a u l t   b u t   a r e   i n   g e n e r a l   a v a i l a b i l i t y   s t a t e   a n d   a r e   r e c o m m e n d e d   t o   i m p r o v e   y o u r   s e c u r i t y   p o s t u r e :   T h e   t h i r d   g r o u p   i n c l u d e s   p l u g i n s   t h a t   a r e   n o t   e n a b l e d   b y   d e f ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12880"
  },
  {
    "question": "What is What's next?",
    "answer": "P r i v i l e g e   e s c a l a t i o n   v i a   P o d   c r e a t i o n   w a r n s   y o u   a b o u t   a   s p e c i f i c   a c c e s s   c o n t r o l   r i s k ;   c h e c k   h o w   y o u ' r e   m a n a g i n g   t h a t   t h r e a t . I f   y o u   u s e   K u b e r n e t e s   R B A C ,   r e a d   R B A C   G o o d   P r a c t i c e s   f o r   f u r t h e r   i n f o r m a t i o n   o n   a u t h o r i z a t i o n . S e c u r i n g   a   C l u s t e r   f o r   i n f o r m a t i o n   o n   p r o t e c t i n g   a   c l u s t e r   f r o m   a c c i d e n t a l   o r   m a l i c i o u s   a c c e s s . C l u s t e r   M u l t i - t e n a n c y   g u i d e   f o r   c o n f i g u r a t i o n   o p t i o n s   r e c o m m e n d a t i o n s   a n d   b e s t   p r a c t i c e s   o n   m u l t i - t e n a n c y . B l o g   p o s t   \" A   C l o s e r   L o o k   a t   N S A / C I S A   K u b e r n e t e s   H a r d e n i n g   G u i d a n c e \"   f o r   c o m p l e m e n t a r y   r e s o u r c e   o n   h a r d e n i n g   K u b e r n e t e s   c l u s t e r s .   I f   y o u   u s e   K u b e r n e t e s   R B A C ,   r e a d   R B A C   G o o d   P r a c t i c e s   f o r   f u r t h e r   i n f o r m a t i o n   o n   a u t h o r i z a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12881"
  },
  {
    "question": "What is 8.17 - Application Security Checklist?",
    "answer": "T h i s   c h e c k l i s t   a i m s   t o   p r o v i d e   b a s i c   g u i d e l i n e s   o n   s e c u r i n g   a p p l i c a t i o n s   r u n n i n g   i n   K u b e r n e t e s   f r o m   a   d e v e l o p e r ' s   p e r s p e c t i v e .   T h i s   l i s t   i s   n o t   m e a n t   t o   b e   e x h a u s t i v e   a n d   i s   i n t e n d e d   t o   e v o l v e   o v e r   t i m e .   O n   h o w   t o   r e a d   a n d   u s e   t h i s   d o c u m e n t :   T h e   o r d e r   o f   t o p i c s   d o e s   n o t   r e f l e c t   a n   o r d e r   o f   p r i o r i t y . S o m e   c h e c k l i s t   i t e m s   a r e   d e t a i l e d   i n   t h e   p a r a g r a p h   b e l o w   t h e   l i s t   o f   e a c h   s e c t i o n . T h i s   c h e c k l i s t   a s s u m e s   t h a t   a   d e v e l o p e r   i s   a   K u b e r n e t e s   c l u s t e r   u s e r   w h o   i n t e r a c t s   w i t h   n a m e s p a c e d   s c o p e   o b j e c t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12882"
  },
  {
    "question": "What is Base security hardening?",
    "answer": "T h e   f o l l o w i n g   c h e c k l i s t   p r o v i d e s   b a s e   s e c u r i t y   h a r d e n i n g   r e c o m m e n d a t i o n s   t h a t   w o u l d   a p p l y   t o   m o s t   a p p l i c a t i o n s   d e p l o y i n g   t o   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12883"
  },
  {
    "question": "What is Application design?",
    "answer": "F o l l o w   t h e   r i g h t   s e c u r i t y   p r i n c i p l e s   w h e n   d e s i g n i n g   a p p l i c a t i o n s .   A p p l i c a t i o n   c o n f i g u r e d   w i t h   a p p r o p r i a t e   Q o S   c l a s s   t h r o u g h   r e s o u r c e   r e q u e s t   a n d   l i m i t s .   M e m o r y   l i m i t   i s   s e t   f o r   t h e   w o r k l o a d s   w i t h   a   l i m i t   e q u a l   t o   o r   g r e a t e r   t h a n   t h e   r e q u e s t .   C P U   l i m i t   m i g h t   b e   s e t   o n   s e n s i t i v e   w o r k l o a d s .   M e m o r y   l i m i t   i s   s e t   f o r   t h e   w o r k l o a d s   w i t h   a   l i m i t   e q u a l   t o   o r   g r e a t e r   t h a n   t h e   r e q u e s t .   C P U   l i m i t   m i g h t   b e   s e t   o n   s e n s i t i v e   w o r k l o a d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12884"
  },
  {
    "question": "What is Service account?",
    "answer": "A v o i d   u s i n g   t h e   d e f a u l t   S e r v i c e A c c o u n t .   I n s t e a d ,   c r e a t e   S e r v i c e A c c o u n t s   f o r   e a c h   w o r k l o a d   o r   m i c r o s e r v i c e .   a u t o m o u n t S e r v i c e A c c o u n t T o k e n   s h o u l d   b e   s e t   t o   f a l s e   u n l e s s   t h e   p o d   s p e c i f i c a l l y   r e q u i r e s   a c c e s s   t o   t h e   K u b e r n e t e s   A P I   t o   o p e r a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12885"
  },
  {
    "question": "What is Pod-level securityContext recommendations?",
    "answer": "S e t   r u n A s N o n R o o t :   t r u e .   C o n f i g u r e   t h e   c o n t a i n e r   t o   e x e c u t e   a s   a   l e s s   p r i v i l e g e d   u s e r   ( f o r   e x a m p l e ,   u s i n g   r u n A s U s e r   a n d   r u n A s G r o u p ) ,   a n d   c o n f i g u r e   a p p r o p r i a t e   p e r m i s s i o n s   o n   f i l e s   o r   d i r e c t o r i e s   i n s i d e   t h e   c o n t a i n e r   i m a g e .   O p t i o n a l l y   a d d   a   s u p p l e m e n t a r y   g r o u p   w i t h   f s G r o u p   t o   a c c e s s   p e r s i s t e n t   v o l u m e s .   T h e   a p p l i c a t i o n   d e p l o y s   i n t o   a   n a m e s p a c e   t h a t   e n f o r c e s   a n   a p p r o p r i a t e   P o d   s e c u r i t y   s t a n d a r d .   I f   y o u   c a n n o t   c o n t r o l   t h i s   e n f o r c e m e n t   f o r   t h e   c l u s t e r ( s )   w h e r e   t h e   a p p l i c a t i o n   i s   d e p l o y e d ,   t a k e   t h i s   i n t o   a c c o u n t   e i t h e r   t h r o u g h   d o c u m e n t a t i o n   o r   a d d i t i o n a l   d e f e n s e   i n   d e p t h .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12886"
  },
  {
    "question": "What is Container-level securityContext recommendations?",
    "answer": "D i s a b l e   p r i v i l e g e   e s c a l a t i o n s   u s i n g   a l l o w P r i v i l e g e E s c a l a t i o n :   f a l s e .   C o n f i g u r e   t h e   r o o t   f i l e s y s t e m   t o   b e   r e a d - o n l y   w i t h   r e a d O n l y R o o t F i l e s y s t e m :   t r u e .   A v o i d   r u n n i n g   p r i v i l e g e d   c o n t a i n e r s   ( s e t   p r i v i l e g e d :   f a l s e ) .   D r o p   a l l   c a p a b i l i t i e s   f r o m   t h e   c o n t a i n e r s   a n d   a d d   b a c k   o n l y   s p e c i f i c   o n e s   t h a t   a r e   n e e d e d   f o r   o p e r a t i o n   o f   t h e   c o n t a i n e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12887"
  },
  {
    "question": "What is Role Based Access Control (RBAC)?",
    "answer": "P e r m i s s i o n s   s u c h   a s   c r e a t e ,   p a t c h ,   u p d a t e   a n d   d e l e t e   s h o u l d   b e   o n l y   g r a n t e d   i f   n e c e s s a r y .   A v o i d   c r e a t i n g   R B A C   p e r m i s s i o n s   t o   c r e a t e   o r   u p d a t e   r o l e s   w h i c h   c a n   l e a d   t o   p r i v i l e g e   e s c a l a t i o n .   R e v i e w   b i n d i n g s   f o r   t h e   s y s t e m : u n a u t h e n t i c a t e d   g r o u p   a n d   r e m o v e   t h e m   w h e r e   p o s s i b l e ,   a s   t h i s   g i v e s   a c c e s s   t o   a n y o n e   w h o   c a n   c o n t a c t   t h e   A P I   s e r v e r   a t   a   n e t w o r k   l e v e l .   T h e   c r e a t e ,   u p d a t e   a n d   d e l e t e   v e r b s   s h o u l d   b e   p e r m i t t e d   j u d i c i o u s l y .   T h e   p a t c h   v e r b   i f   a l l o w e d   o n   a   N a m e s p a c e   c a n   a l l o w   u s e r s   t o   u p d a t e   l a b e l s   o n   t h e   n a m e s p a c e   o r   d e p l o y m e n t s   w h i c h   c a n   i n c r e a s e   t h e   a t t a c k   s u r f a c e .   F o r   s e n s i t i v e   w o r k l o a d s ,   c o n s i d e r   p r o v i d i n g   a   r e c o m m e n d e d   V a l i d a t i n g A d m i s s i o n P o l i c y   t h a t   f u r t h e r   r e s t r i c t s   t h e   p e r m i t t e d   w r i t e   a c t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12888"
  },
  {
    "question": "What is Image security?",
    "answer": "U s i n g   a n   i m a g e   s c a n n i n g   t o o l   t o   s c a n   a n   i m a g e   b e f o r e   d e p l o y i n g   c o n t a i n e r s   i n   t h e   K u b e r n e t e s   c l u s t e r .   U s e   c o n t a i n e r   s i g n i n g   t o   v a l i d a t e   t h e   c o n t a i n e r   i m a g e   s i g n a t u r e   b e f o r e   d e p l o y i n g   t o   t h e   K u b e r n e t e s   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12889"
  },
  {
    "question": "What is Network policies?",
    "answer": "C o n f i g u r e   N e t w o r k P o l i c i e s   t o   o n l y   a l l o w   e x p e c t e d   i n g r e s s   a n d   e g r e s s   t r a f f i c   f r o m   t h e   p o d s .   M a k e   s u r e   t h a t   y o u r   c l u s t e r   p r o v i d e s   a n d   e n f o r c e s   N e t w o r k P o l i c y .   I f   y o u   a r e   w r i t i n g   a n   a p p l i c a t i o n   t h a t   u s e r s   w i l l   d e p l o y   t o   d i f f e r e n t   c l u s t e r s ,   c o n s i d e r   w h e t h e r   y o u   c a n   a s s u m e   t h a t   N e t w o r k P o l i c y   i s   a v a i l a b l e   a n d   e n f o r c e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12890"
  },
  {
    "question": "What is Advanced security hardening?",
    "answer": "T h i s   s e c t i o n   o f   t h i s   g u i d e   c o v e r s   s o m e   a d v a n c e d   s e c u r i t y   h a r d e n i n g   p o i n t s   w h i c h   m i g h t   b e   v a l u a b l e   b a s e d   o n   d i f f e r e n t   K u b e r n e t e s   e n v i r o n m e n t   s e t u p .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12891"
  },
  {
    "question": "What is Linux container security?",
    "answer": "C o n f i g u r e   S e c u r i t y   C o n t e x t   f o r   t h e   p o d - c o n t a i n e r .   S e t   t h e   S e c c o m p   P r o f i l e   f o r   a   C o n t a i n e r .   R e s t r i c t   a   C o n t a i n e r ' s   A c c e s s   t o   R e s o u r c e s   w i t h   A p p A r m o r .   A s s i g n   S E L i n u x   L a b e l s   t o   a   C o n t a i n e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12892"
  },
  {
    "question": "What is Runtime classes?",
    "answer": "C o n f i g u r e   a p p r o p r i a t e   r u n t i m e   c l a s s e s   f o r   c o n t a i n e r s .   S o m e   c o n t a i n e r s   m a y   r e q u i r e   a   d i f f e r e n t   i s o l a t i o n   l e v e l   f r o m   w h a t   i s   p r o v i d e d   b y   t h e   d e f a u l t   r u n t i m e   o f   t h e   c l u s t e r .   r u n t i m e C l a s s N a m e   c a n   b e   u s e d   i n   a   p o d s p e c   t o   d e f i n e   a   d i f f e r e n t   r u n t i m e   c l a s s .   F o r   s e n s i t i v e   w o r k l o a d s   c o n s i d e r   u s i n g   k e r n e l   e m u l a t i o n   t o o l s   l i k e   g V i s o r ,   o r   v i r t u a l i z e d   i s o l a t i o n   u s i n g   a   m e c h a n i s m   s u c h   a s   k a t a - c o n t a i n e r s .   I n   h i g h   t r u s t   e n v i r o n m e n t s ,   c o n s i d e r   u s i n g   c o n f i d e n t i a l   v i r t u a l   m a c h i n e s   t o   i m p r o v e   c l u s t e r   s e c u r i t y   e v e n   f u r t h e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12893"
  },
  {
    "question": "What is 9 - Policies?",
    "answer": "K u b e r n e t e s   p o l i c i e s   a r e   c o n f i g u r a t i o n s   t h a t   m a n a g e   o t h e r   c o n f i g u r a t i o n s   o r   r u n t i m e   b e h a v i o r s .   K u b e r n e t e s   o f f e r s   v a r i o u s   f o r m s   o f   p o l i c i e s ,   d e s c r i b e d   b e l o w :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12894"
  },
  {
    "question": "What is Apply policies using API objects?",
    "answer": "S o m e   A P I   o b j e c t s   a c t   a s   p o l i c i e s .   H e r e   a r e   s o m e   e x a m p l e s :   N e t w o r k P o l i c i e s   c a n   b e   u s e d   t o   r e s t r i c t   i n g r e s s   a n d   e g r e s s   t r a f f i c   f o r   a   w o r k l o a d . L i m i t R a n g e s   m a n a g e   r e s o u r c e   a l l o c a t i o n   c o n s t r a i n t s   a c r o s s   d i f f e r e n t   o b j e c t   k i n d s . R e s o u r c e Q u o t a s   l i m i t   r e s o u r c e   c o n s u m p t i o n   f o r   a   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12895"
  },
  {
    "question": "What is Apply policies using admission controllers?",
    "answer": "A n   a d m i s s i o n   c o n t r o l l e r   r u n s   i n   t h e   A P I   s e r v e r   a n d   c a n   v a l i d a t e   o r   m u t a t e   A P I   r e q u e s t s .   S o m e   a d m i s s i o n   c o n t r o l l e r s   a c t   t o   a p p l y   p o l i c i e s .   F o r   e x a m p l e ,   t h e   A l w a y s P u l l I m a g e s   a d m i s s i o n   c o n t r o l l e r   m o d i f i e s   a   n e w   P o d   t o   s e t   t h e   i m a g e   p u l l   p o l i c y   t o   A l w a y s .   K u b e r n e t e s   h a s   s e v e r a l   b u i l t - i n   a d m i s s i o n   c o n t r o l l e r s   t h a t   a r e   c o n f i g u r a b l e   v i a   t h e   A P I   s e r v e r   - - e n a b l e - a d m i s s i o n - p l u g i n s   f l a g .   D e t a i l s   o n   a d m i s s i o n   c o n t r o l l e r s ,   w i t h   t h e   c o m p l e t e   l i s t   o f   a v a i l a b l e   a d m i s s i o n   c o n t r o l l e r s ,   a r e   d o c u m e n t e d   i n   a   d e d i c a t e d   s e c t i o n :   A d m i s s i o n   C o n t r o l l e r s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12896"
  },
  {
    "question": "What is Apply policies using ValidatingAdmissionPolicy?",
    "answer": "V a l i d a t i n g   a d m i s s i o n   p o l i c i e s   a l l o w   c o n f i g u r a b l e   v a l i d a t i o n   c h e c k s   t o   b e   e x e c u t e d   i n   t h e   A P I   s e r v e r   u s i n g   t h e   C o m m o n   E x p r e s s i o n   L a n g u a g e   ( C E L ) .   F o r   e x a m p l e ,   a   V a l i d a t i n g A d m i s s i o n P o l i c y   c a n   b e   u s e d   t o   d i s a l l o w   u s e   o f   t h e   l a t e s t   i m a g e   t a g .   A   V a l i d a t i n g A d m i s s i o n P o l i c y   o p e r a t e s   o n   a n   A P I   r e q u e s t   a n d   c a n   b e   u s e d   t o   b l o c k ,   a u d i t ,   a n d   w a r n   u s e r s   a b o u t   n o n - c o m p l i a n t   c o n f i g u r a t i o n s .   D e t a i l s   o n   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   A P I ,   w i t h   e x a m p l e s ,   a r e   d o c u m e n t e d   i n   a   d e d i c a t e d   s e c t i o n :   V a l i d a t i n g   A d m i s s i o n   P o l i c y",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12897"
  },
  {
    "question": "What is Apply policies using dynamic admission control?",
    "answer": "D y n a m i c   a d m i s s i o n   c o n t r o l l e r s   ( o r   a d m i s s i o n   w e b h o o k s )   r u n   o u t s i d e   t h e   A P I   s e r v e r   a s   s e p a r a t e   a p p l i c a t i o n s   t h a t   r e g i s t e r   t o   r e c e i v e   w e b h o o k s   r e q u e s t s   t o   p e r f o r m   v a l i d a t i o n   o r   m u t a t i o n   o f   A P I   r e q u e s t s .   D y n a m i c   a d m i s s i o n   c o n t r o l l e r s   c a n   b e   u s e d   t o   a p p l y   p o l i c i e s   o n   A P I   r e q u e s t s   a n d   t r i g g e r   o t h e r   p o l i c y - b a s e d   w o r k f l o w s .   A   d y n a m i c   a d m i s s i o n   c o n t r o l l e r   c a n   p e r f o r m   c o m p l e x   c h e c k s   i n c l u d i n g   t h o s e   t h a t   r e q u i r e   r e t r i e v a l   o f   o t h e r   c l u s t e r   r e s o u r c e s   a n d   e x t e r n a l   d a t a .   F o r   e x a m p l e ,   a n   i m a g e   v e r i f i c a t i o n   c h e c k   c a n   l o o k u p   d a t a   f r o m   O C I   r e g i s t r i e s   t o   v a l i d a t e   t h e   c o n t a i n e r   i m a g e   s i g n a t u r e s   a n d   a t t e s t a t i o n s .   D e t a i l s   o n   d y n a m i c   a d m i s s i o n   c o n t r o l   a r e   d o c u m e n t e d   i n   a   d e d i c a t e d   s e c t i o n :   D y n a m i c   A d m i s s i o n   C o n t r o l",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12898"
  },
  {
    "question": "What is Implementations?",
    "answer": "D y n a m i c   A d m i s s i o n   C o n t r o l l e r s   t h a t   a c t   a s   f l e x i b l e   p o l i c y   e n g i n e s   a r e   b e i n g   d e v e l o p e d   i n   t h e   K u b e r n e t e s   e c o s y s t e m ,   s u c h   a s :   K u b e w a r d e n K y v e r n o O P A   G a t e k e e p e r P o l a r i s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12899"
  },
  {
    "question": "What is Apply policies using Kubelet configurations?",
    "answer": "K u b e r n e t e s   a l l o w s   c o n f i g u r i n g   t h e   K u b e l e t   o n   e a c h   w o r k e r   n o d e .   S o m e   K u b e l e t   c o n f i g u r a t i o n s   a c t   a s   p o l i c i e s :   P r o c e s s   I D   l i m i t s   a n d   r e s e r v a t i o n s   a r e   u s e d   t o   l i m i t   a n d   r e s e r v e   a l l o c a t a b l e   P I D s . N o d e   R e s o u r c e   M a n a g e r s   c a n   m a n a g e   c o m p u t e ,   m e m o r y ,   a n d   d e v i c e   r e s o u r c e s   f o r   l a t e n c y - c r i t i c a l   a n d   h i g h - t h r o u g h p u t   w o r k l o a d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12900"
  },
  {
    "question": "What is 9.1 - Limit Ranges?",
    "answer": "B y   d e f a u l t ,   c o n t a i n e r s   r u n   w i t h   u n b o u n d e d   c o m p u t e   r e s o u r c e s   o n   a   K u b e r n e t e s   c l u s t e r .   U s i n g   K u b e r n e t e s   r e s o u r c e   q u o t a s ,   a d m i n i s t r a t o r s   ( a l s o   t e r m e d   c l u s t e r   o p e r a t o r s )   c a n   r e s t r i c t   c o n s u m p t i o n   a n d   c r e a t i o n   o f   c l u s t e r   r e s o u r c e s   ( s u c h   a s   C P U   t i m e ,   m e m o r y ,   a n d   p e r s i s t e n t   s t o r a g e )   w i t h i n   a   s p e c i f i e d   n a m e s p a c e .   W i t h i n   a   n a m e s p a c e ,   a   P o d   c a n   c o n s u m e   a s   m u c h   C P U   a n d   m e m o r y   a s   i s   a l l o w e d   b y   t h e   R e s o u r c e Q u o t a s   t h a t   a p p l y   t o   t h a t   n a m e s p a c e .   A s   a   c l u s t e r   o p e r a t o r ,   o r   a s   a   n a m e s p a c e - l e v e l   a d m i n i s t r a t o r ,   y o u   m i g h t   a l s o   b e   c o n c e r n e d   a b o u t   m a k i n g   s u r e   t h a t   a   s i n g l e   o b j e c t   c a n n o t   m o n o p o l i z e   a l l   a v a i l a b l e   r e s o u r c e s   w i t h i n   a   n a m e s p a c e .   A   L i m i t R a n g e   i s   a   p o l i c y   t o   c o n s t r a i n   t h e   r e s o u r c e   a l l o c a t i o n s   ( l i m i t s   a n d   r e q u e s t s )   t h a t   y o u   c a n   s p e c i f y   f o r   e a c h   a p p l i c a b l e   o b j e c t   k i n d   ( s u c h   a s   P o d   o r   P e r s i s t e n t V o l u m e C l a i m )   i n   a   n a m e s p a c e .   A   L i m i t R a n g e   p r o v i d e s   c o n s t r a i n t s   t h a t   c a n :   E n f o r c e   m i n i m u m   a n d   m a x i m u m   c o m p u t e   r e s o u r c e s   u s a g e   p e r   P o d   o r   C o n t a i n e r   i n   a   n a m e s p a c e . E n f o r c e   m i n i m u m   a n d   m a x i m u m   s t o r a g e   r e q u e s t   p e r   P e r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12901"
  },
  {
    "question": "What is Constraints on resource limits and requests?",
    "answer": "T h e   a d m i n i s t r a t o r   c r e a t e s   a   L i m i t R a n g e   i n   a   n a m e s p a c e . U s e r s   c r e a t e   ( o r   t r y   t o   c r e a t e )   o b j e c t s   i n   t h a t   n a m e s p a c e ,   s u c h   a s   P o d s   o r   P e r s i s t e n t V o l u m e C l a i m s . F i r s t ,   t h e   L i m i t R a n g e   a d m i s s i o n   c o n t r o l l e r   a p p l i e s   d e f a u l t   r e q u e s t   a n d   l i m i t   v a l u e s   f o r   a l l   P o d s   ( a n d   t h e i r   c o n t a i n e r s )   t h a t   d o   n o t   s e t   c o m p u t e   r e s o u r c e   r e q u i r e m e n t s . S e c o n d ,   t h e   L i m i t R a n g e   t r a c k s   u s a g e   t o   e n s u r e   i t   d o e s   n o t   e x c e e d   r e s o u r c e   m i n i m u m ,   m a x i m u m   a n d   r a t i o   d e f i n e d   i n   a n y   L i m i t R a n g e   p r e s e n t   i n   t h e   n a m e s p a c e . I f   y o u   a t t e m p t   t o   c r e a t e   o r   u p d a t e   a n   o b j e c t   ( P o d   o r   P e r s i s t e n t V o l u m e C l a i m )   t h a t   v i o l a t e s   a   L i m i t R a n g e   c o n s t r a i n t ,   y o u r   r e q u e s t   t o   t h e   A P I   s e r v e r   w i l l   f a i l   w i t h   a n H T T P   s t a t u s   c o d e   4 0 3   F o r b i d d e n   a n d   a   m e s s a g e   e x p l a i n i n g   t h e   c o n s t r a i n t   t h a t   h a s   b e e n   v i o l a t e d . I f   y o u   a d d   a   L i m i t R a n g e   i n   a   n a m e s p a c e   t h a t   a p p l i e s   t o   c o m p u t e - r e l a t e d   r e s o u r c e s   s u c h   a s   c p u   a n d   m e m o r y ,   y o u   m u s t   s p e c i f y   r e q u e s t s   o r   l i m i t s   f o r   t h o s e   v a l u e s .   O t h e r w i s e ,   t h e   s y s t e m   m a y   r e j e c t   P o d   c r e a t i o n . L i m i t R a n g e   v a l i d a t i o n s   o c c u r   o n l y   a t   P o d   a d m i s s i o n   s t a g e ,   n o t   o n   r u n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12902"
  },
  {
    "question": "What is LimitRange and admission checks for Pods?",
    "answer": "A   L i m i t R a n g e   d o e s   n o t   c h e c k   t h e   c o n s i s t e n c y   o f   t h e   d e f a u l t   v a l u e s   i t   a p p l i e s .   T h i s   m e a n s   t h a t   a   d e f a u l t   v a l u e   f o r   t h e   l i m i t   t h a t   i s   s e t   b y   L i m i t R a n g e   m a y   b e   l e s s   t h a n   t h e   r e q u e s t   v a l u e   s p e c i f i e d   f o r   t h e   c o n t a i n e r   i n   t h e   s p e c   t h a t   a   c l i e n t   s u b m i t s   t o   t h e   A P I   s e r v e r .   I f   t h a t   h a p p e n s ,   t h e   f i n a l   P o d   w i l l   n o t   b e   s c h e d u l a b l e .   F o r   e x a m p l e ,   y o u   d e f i n e   a   L i m i t R a n g e   w i t h   b e l o w   m a n i f e s t : N o t e : T h e   f o l l o w i n g   e x a m p l e s   o p e r a t e   w i t h i n   t h e   d e f a u l t   n a m e s p a c e   o f   y o u r   c l u s t e r ,   a s   t h e   n a m e s p a c e   p a r a m e t e r   i s   u n d e f i n e d   a n d   t h e   L i m i t R a n g e   s c o p e   i s   l i m i t e d   t o   t h e   n a m e s p a c e   l e v e l .   T h i s   i m p l i e s   t h a t   a n y   r e f e r e n c e s   o r   o p e r a t i o n s   w i t h i n   t h e s e   e x a m p l e s   w i l l   i n t e r a c t   w i t h   e l e m e n t s   w i t h i n   t h e   d e f a u l t   n a m e s p a c e   o f   y o u r   c l u s t e r .   Y o u   c a n   o v e r r i d e   t h e   o p e r a t i n g   n a m e s p a c e   b y   c o n f i g u r i n g   n a m e s p a c e   i n   t h e   m e t a d a t a . n a m e s p a c e   f i e l d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12903"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   L i m i t R a n g e   m e t a d a t a :   n a m e :   c p u - r e s o u r c e - c o n s t r a i n t   s p e c :   l i m i t s :   -   d e f a u l t :   #   t h i s   s e c t i o n   d e f i n e s   d e f a u l t   l i m i t s   c p u :   5 0 0 m   d e f a u l t R e q u e s t :   #   t h i s   s e c t i o n   d e f i n e s   d e f a u l t   r e q u e s t s   c p u :   5 0 0 m   m a x :   #   m a x   a n d   m i n   d e f i n e   t h e   l i m i t   r a n g e   c p u :   \" 1 \"   m i n :   c p u :   1 0 0 m   t y p e :   C o n t a i n e r   a l o n g   w i t h   a   P o d   t h a t   d e c l a r e s   a   C P U   r e s o u r c e   r e q u e s t   o f   7 0 0 m ,   b u t   n o t   a   l i m i t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e x a m p l e - c o n f l i c t - w i t h - l i m i t r a n g e - c p u   s p e c :   c o n t a i n e r s :   -   n a m e :   d e m o   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 8   r e s o u r c e s :   r e q u e s t s :   c p u :   7 0 0 m   t h e n   t h a t   P o d   w i l l   n o t   b e   s c h e d u l e d ,   f a i l i n g   w i t h   a n   e r r o r   s i m i l a r   t o :   P o d   \" e x a m p l e - c o n f l i c t - w i t h - l i m i t r a n g e - c p u \"   i s   i n v a l i d :   s p e c . c o n t a i n e r s [ 0 ] . r e s o u r c e s . r e q u e s t s :   I n v a l i d   v a l u e :   \" 7 0 0 m \" :   m u s t   b e   l e s s   t h a n   o r   e q u a l   t o   c p u   l i m i t   I f   y o u   s e t   b o t h   r e q u e s t   a n d   l i m i t ,   t h e n   t h a t   n e w   P o d   w i l l   b e   s c h e d u l e d   s u c c e s s f u l l y   e v e n   w i t h   t h e   s a m e   L i m i t R a n g e   i n   p l a c e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e x a m p l e - n o - c o n f l i c t - w i t h - l i m i t r a n g e - c p u   s p e c :   c o n t a i n e r s :   -   n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12904"
  },
  {
    "question": "What is Example resource constraints?",
    "answer": "E x a m p l e s   o f   p o l i c i e s   t h a t   c o u l d   b e   c r e a t e d   u s i n g   L i m i t R a n g e   a r e :   I n   a   2   n o d e   c l u s t e r   w i t h   a   c a p a c i t y   o f   8   G i B   R A M   a n d   1 6   c o r e s ,   c o n s t r a i n   P o d s   i n   a   n a m e s p a c e   t o   r e q u e s t   1 0 0 m   o f   C P U   w i t h   a   m a x   l i m i t   o f   5 0 0 m   f o r   C P U   a n d   r e q u e s t   2 0 0 M i   f o r   M e m o r y   w i t h   a   m a x   l i m i t   o f   6 0 0 M i   f o r   M e m o r y . D e f i n e   d e f a u l t   C P U   l i m i t   a n d   r e q u e s t   t o   1 5 0 m   a n d   m e m o r y   d e f a u l t   r e q u e s t   t o   3 0 0 M i   f o r   C o n t a i n e r s   s t a r t e d   w i t h   n o   c p u   a n d   m e m o r y   r e q u e s t s   i n   t h e i r   s p e c s .   I n   t h e   c a s e   w h e r e   t h e   t o t a l   l i m i t s   o f   t h e   n a m e s p a c e   i s   l e s s   t h a n   t h e   s u m   o f   t h e   l i m i t s   o f   t h e   P o d s / C o n t a i n e r s ,   t h e r e   m a y   b e   c o n t e n t i o n   f o r   r e s o u r c e s .   I n   t h i s   c a s e ,   t h e   C o n t a i n e r s   o r   P o d s   w i l l   n o t   b e   c r e a t e d .   N e i t h e r   c o n t e n t i o n   n o r   c h a n g e s   t o   a   L i m i t R a n g e   w i l l   a f f e c t   a l r e a d y   c r e a t e d   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12905"
  },
  {
    "question": "What is What's next?",
    "answer": "F o r   e x a m p l e s   o n   u s i n g   l i m i t s ,   s e e :   h o w   t o   c o n f i g u r e   m i n i m u m   a n d   m a x i m u m   C P U   c o n s t r a i n t s   p e r   n a m e s p a c e . h o w   t o   c o n f i g u r e   m i n i m u m   a n d   m a x i m u m   M e m o r y   c o n s t r a i n t s   p e r   n a m e s p a c e . h o w   t o   c o n f i g u r e   d e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   p e r   n a m e s p a c e . h o w   t o   c o n f i g u r e   d e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   p e r   n a m e s p a c e . h o w   t o   c o n f i g u r e   m i n i m u m   a n d   m a x i m u m   S t o r a g e   c o n s u m p t i o n   p e r   n a m e s p a c e . a   d e t a i l e d   e x a m p l e   o n   c o n f i g u r i n g   q u o t a   p e r   n a m e s p a c e .   R e f e r   t o   t h e   L i m i t R a n g e r   d e s i g n   d o c u m e n t   f o r   c o n t e x t   a n d   h i s t o r i c a l   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12906"
  },
  {
    "question": "What is 9.2 - Resource Quotas?",
    "answer": "W h e n   s e v e r a l   u s e r s   o r   t e a m s   s h a r e   a   c l u s t e r   w i t h   a   f i x e d   n u m b e r   o f   n o d e s ,   t h e r e   i s   a   c o n c e r n   t h a t   o n e   t e a m   c o u l d   u s e   m o r e   t h a n   i t s   f a i r   s h a r e   o f   r e s o u r c e s .   R e s o u r c e   q u o t a s   a r e   a   t o o l   f o r   a d m i n i s t r a t o r s   t o   a d d r e s s   t h i s   c o n c e r n .   A   r e s o u r c e   q u o t a ,   d e f i n e d   b y   a   R e s o u r c e Q u o t a   o b j e c t ,   p r o v i d e s   c o n s t r a i n t s   t h a t   l i m i t   a g g r e g a t e   r e s o u r c e   c o n s u m p t i o n   p e r   n a m e s p a c e .   A   R e s o u r c e Q u o t a   c a n   a l s o   l i m i t   t h e   q u a n t i t y   o f   o b j e c t s   t h a t   c a n   b e   c r e a t e d   i n   a   n a m e s p a c e   b y   A P I   k i n d ,   a s   w e l l   a s   t h e   t o t a l   a m o u n t   o f   i n f r a s t r u c t u r e   r e s o u r c e s   t h a t   m a y   b e   c o n s u m e d   b y   A P I   o b j e c t s   f o u n d   i n   t h a t   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12907"
  },
  {
    "question": "What is How Kubernetes ResourceQuotas work?",
    "answer": "R e s o u r c e Q u o t a s   w o r k   l i k e   t h i s :   D i f f e r e n t   t e a m s   w o r k   i n   d i f f e r e n t   n a m e s p a c e s .   T h i s   s e p a r a t i o n   c a n   b e   e n f o r c e d   w i t h   R B A C   o r   a n y   o t h e r   a u t h o r i z a t i o n   m e c h a n i s m . A   c l u s t e r   a d m i n i s t r a t o r   c r e a t e s   a t   l e a s t   o n e   R e s o u r c e Q u o t a   f o r   e a c h   n a m e s p a c e . T o   m a k e   s u r e   t h e   e n f o r c e m e n t   s t a y s   e n f o r c e d ,   t h e   c l u s t e r   a d m i n i s t r a t o r   s h o u l d   a l s o   r e s t r i c t   a c c e s s   t o   d e l e t e   o r   u p d a t e   t h a t   R e s o u r c e Q u o t a ;   f o r   e x a m p l e ,   b y   d e f i n i n g   a   V a l i d a t i n g A d m i s s i o n P o l i c y . U s e r s   c r e a t e   r e s o u r c e s   ( p o d s ,   s e r v i c e s ,   e t c . )   i n   t h e   n a m e s p a c e ,   a n d   t h e   q u o t a   s y s t e m   t r a c k s   u s a g e   t o   e n s u r e   i t   d o e s   n o t   e x c e e d   h a r d   r e s o u r c e   l i m i t s   d e f i n e d   i n   a   R e s o u r c e Q u o t a . Y o u   c a n   a p p l y   a   s c o p e   t o   a   R e s o u r c e Q u o t a   t o   l i m i t   w h e r e   i t   a p p l i e s , I f   c r e a t i n g   o r   u p d a t i n g   a   r e s o u r c e   v i o l a t e s   a   q u o t a   c o n s t r a i n t ,   t h e   c o n t r o l   p l a n e   r e j e c t s   t h a t   r e q u e s t   w i t h   H T T P   s t a t u s   c o d e   4 0 3   F o r b i d d e n .   T h e   e r r o r   i n c l u d e s   a   m e s s a g e   e x p l a i n i n g   t h e   c o n s t r a i n t   t h a t   w o u l d   h a v e   b e e n   v i o l a t e d . I f   q u o t a s   a r e   e n a b l e d   i n   a   n a m e s p a c e   f o r   r e s o u r c e   s u c h   a s   c p u   a n d   m e m o r y ,   u s e r s   m u s t   s p e c i f y   r e q u e s t s   o r   l i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12908"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   d e f i n e   a   L i m i t R a n g e   t o   f o r c e   d e f a u l t s   o n   p o d s   t h a t   m a k e   n o   c o m p u t e   r e s o u r c e   r e q u i r e m e n t s   ( s o   t h a t   u s e r s   d o n ' t   h a v e   t o   r e m e m b e r   t o   d o   t h a t ) .   Y o u   o f t e n   d o   n o t   c r e a t e   P o d s   d i r e c t l y ;   f o r   e x a m p l e ,   y o u   m o r e   u s u a l l y   c r e a t e   a   w o r k l o a d   m a n a g e m e n t   o b j e c t   s u c h   a s   a   D e p l o y m e n t .   I f   y o u   c r e a t e   a   D e p l o y m e n t   t h a t   t r i e s   t o   u s e   m o r e   r e s o u r c e s   t h a n   a r e   a v a i l a b l e ,   t h e   c r e a t i o n   o f   t h e   D e p l o y m e n t   ( o r   o t h e r   w o r k l o a d   m a n a g e m e n t   o b j e c t )   s u c c e e d s ,   b u t   t h e   D e p l o y m e n t   m a y   n o t   b e   a b l e   t o   g e t   a l l   o f   t h e   P o d s   i t   m a n a g e s   t o   e x i s t .   I n   t h a t   c a s e   y o u   c a n   c h e c k   t h e   s t a t u s   o f   t h e   D e p l o y m e n t ,   f o r   e x a m p l e   w i t h   k u b e c t l   d e s c r i b e ,   t o   s e e   w h a t   h a s   h a p p e n e d .   F o r   c p u   a n d   m e m o r y   r e s o u r c e s ,   R e s o u r c e Q u o t a s   e n f o r c e   t h a t   e v e r y   ( n e w )   p o d   i n   t h a t   n a m e s p a c e   s e t s   a   l i m i t   f o r   t h a t   r e s o u r c e .   I f   y o u   e n f o r c e   a   r e s o u r c e   q u o t a   i n   a   n a m e s p a c e   f o r   e i t h e r   c p u   o r   m e m o r y ,   y o u   a n d   o t h e r   c l i e n t s ,   m u s t   s p e c i f y   e i t h e r   r e q u e s t s   o r   l i m i t s   f o r   t h a t   r e s o u r c e ,   f o r   e v e r y   n e w   P o d   y o u   s u b m i t .   I f   y o u   d o n ' t ,   t h e   c o n t r o l   p l a n e   m a y   r e j e c t   a d m i s s i o n   f o r   t h a t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12909"
  },
  {
    "question": "What is Enabling Resource Quota?",
    "answer": "R e s o u r c e Q u o t a   s u p p o r t   i s   e n a b l e d   b y   d e f a u l t   f o r   m a n y   K u b e r n e t e s   d i s t r i b u t i o n s .   I t   i s   e n a b l e d   w h e n   t h e   A P I   s e r v e r   - - e n a b l e - a d m i s s i o n - p l u g i n s =   f l a g   h a s   R e s o u r c e Q u o t a   a s   o n e   o f   i t s   a r g u m e n t s .   A   r e s o u r c e   q u o t a   i s   e n f o r c e d   i n   a   p a r t i c u l a r   n a m e s p a c e   w h e n   t h e r e   i s   a   R e s o u r c e Q u o t a   i n   t h a t   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12910"
  },
  {
    "question": "What is Types of resource quota?",
    "answer": "T h e   R e s o u r c e Q u o t a   m e c h a n i s m   l e t s   y o u   e n f o r c e   d i f f e r e n t   k i n d s   o f   l i m i t s .   T h i s   s e c t i o n   d e s c r i b e s   t h e   t y p e s   o f   l i m i t   t h a t   y o u   c a n   e n f o r c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12911"
  },
  {
    "question": "What is Quota for infrastructure resources?",
    "answer": "Y o u   c a n   l i m i t   t h e   t o t a l   s u m   o f   c o m p u t e   r e s o u r c e s   t h a t   c a n   b e   r e q u e s t e d   i n   a   g i v e n   n a m e s p a c e .   T h e   f o l l o w i n g   r e s o u r c e   t y p e s   a r e   s u p p o r t e d :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12912"
  },
  {
    "question": "What is Quota for extended resources?",
    "answer": "I n   a d d i t i o n   t o   t h e   r e s o u r c e s   m e n t i o n e d   a b o v e ,   i n   r e l e a s e   1 . 1 0 ,   q u o t a   s u p p o r t   f o r   e x t e n d e d   r e s o u r c e s   i s   a d d e d .   A s   o v e r c o m m i t   i s   n o t   a l l o w e d   f o r   e x t e n d e d   r e s o u r c e s ,   i t   m a k e s   n o   s e n s e   t o   s p e c i f y   b o t h   r e q u e s t s   a n d   l i m i t s   f o r   t h e   s a m e   e x t e n d e d   r e s o u r c e   i n   a   q u o t a .   S o   f o r   e x t e n d e d   r e s o u r c e s ,   o n l y   q u o t a   i t e m s   w i t h   p r e f i x   r e q u e s t s .   a r e   a l l o w e d .   T a k e   t h e   G P U   r e s o u r c e   a s   a n   e x a m p l e ,   i f   t h e   r e s o u r c e   n a m e   i s   n v i d i a . c o m / g p u ,   a n d   y o u   w a n t   t o   l i m i t   t h e   t o t a l   n u m b e r   o f   G P U s   r e q u e s t e d   i n   a   n a m e s p a c e   t o   4 ,   y o u   c a n   d e f i n e   a   q u o t a   a s   f o l l o w s :   r e q u e s t s . n v i d i a . c o m / g p u :   4   S e e   V i e w i n g   a n d   S e t t i n g   Q u o t a s   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12913"
  },
  {
    "question": "What is Quota for storage?",
    "answer": "Y o u   c a n   l i m i t   t h e   t o t a l   s u m   o f   s t o r a g e   f o r   v o l u m e s   t h a t   c a n   b e   r e q u e s t e d   i n   a   g i v e n   n a m e s p a c e .   I n   a d d i t i o n ,   y o u   c a n   l i m i t   c o n s u m p t i o n   o f   s t o r a g e   r e s o u r c e s   b a s e d   o n   a s s o c i a t e d   S t o r a g e C l a s s .   F o r   e x a m p l e ,   i f   y o u   w a n t   t o   q u o t a   s t o r a g e   w i t h   g o l d   S t o r a g e C l a s s   s e p a r a t e   f r o m   a   b r o n z e   S t o r a g e C l a s s ,   y o u   c a n   d e f i n e   a   q u o t a   a s   f o l l o w s :   g o l d . s t o r a g e c l a s s . s t o r a g e . k 8 s . i o / r e q u e s t s . s t o r a g e :   5 0 0 G i b r o n z e . s t o r a g e c l a s s . s t o r a g e . k 8 s . i o / r e q u e s t s . s t o r a g e :   1 0 0 G i",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12914"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   u s i n g   a   C R I   c o n t a i n e r   r u n t i m e ,   c o n t a i n e r   l o g s   w i l l   c o u n t   a g a i n s t   t h e   e p h e m e r a l   s t o r a g e   q u o t a .   T h i s   c a n   r e s u l t   i n   t h e   u n e x p e c t e d   e v i c t i o n   o f   p o d s   t h a t   h a v e   e x h a u s t e d   t h e i r   s t o r a g e   q u o t a s .   R e f e r   t o   L o g g i n g   A r c h i t e c t u r e   f o r   d e t a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12915"
  },
  {
    "question": "What is Quota on object count?",
    "answer": "Y o u   c a n   s e t   q u o t a   f o r   t h e   t o t a l   n u m b e r   o f   o n e   p a r t i c u l a r   r e s o u r c e   k i n d   i n   t h e   K u b e r n e t e s   A P I ,   u s i n g   t h e   f o l l o w i n g   s y n t a x :   c o u n t / < r e s o u r c e > . < g r o u p >   f o r   r e s o u r c e s   f r o m   n o n - c o r e   A P I   g r o u p s c o u n t / < r e s o u r c e >   f o r   r e s o u r c e s   f r o m   t h e   c o r e   A P I   g r o u p   F o r   e x a m p l e ,   t h e   P o d T e m p l a t e   A P I   i s   i n   t h e   c o r e   A P I   g r o u p   a n d   s o   i f   y o u   w a n t   t o   l i m i t   t h e   n u m b e r   o f   P o d T e m p l a t e   o b j e c t s   i n   a   n a m e s p a c e ,   y o u   u s e   c o u n t / p o d t e m p l a t e s .   T h e s e   t y p e s   o f   q u o t a s   a r e   u s e f u l   t o   p r o t e c t   a g a i n s t   e x h a u s t i o n   o f   c o n t r o l   p l a n e   s t o r a g e .   F o r   e x a m p l e ,   y o u   m a y   w a n t   t o   l i m i t   t h e   n u m b e r   o f   S e c r e t s   i n   a   s e r v e r   g i v e n   t h e i r   l a r g e   s i z e .   T o o   m a n y   S e c r e t s   i n   a   c l u s t e r   c a n   a c t u a l l y   p r e v e n t   s e r v e r s   a n d   c o n t r o l l e r s   f r o m   s t a r t i n g .   Y o u   c a n   s e t   a   q u o t a   f o r   J o b s   t o   p r o t e c t   a g a i n s t   a   p o o r l y   c o n f i g u r e d   C r o n J o b .   C r o n J o b s   t h a t   c r e a t e   t o o   m a n y   J o b s   i n   a   n a m e s p a c e   c a n   l e a d   t o   a   d e n i a l   o f   s e r v i c e .   I f   y o u   d e f i n e   a   q u o t a   t h i s   w a y ,   i t   a p p l i e s   t o   K u b e r n e t e s '   A P I s   t h a t   a r e   p a r t   o f   t h e   A P I   s e r v e r ,   a n d   t o   a n y   c u s t o m   r e s o u r c e s   b a c k e d   b y   a   C u s t o m R e s o u r c e D e f i n i t i o n .   F o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12916"
  },
  {
    "question": "What is Generic syntax?",
    "answer": "T h i s   i s   a   l i s t   o f   c o m m o n   e x a m p l e s   o f   o b j e c t   k i n d s   t h a t   y o u   m a y   w a n t   t o   p u t   u n d e r   o b j e c t   c o u n t   q u o t a ,   l i s t e d   b y   t h e   c o n f i g u r a t i o n   s t r i n g   t h a t   y o u   w o u l d   u s e .   c o u n t / p o d s c o u n t / p e r s i s t e n t v o l u m e c l a i m s c o u n t / s e r v i c e s c o u n t / s e c r e t s c o u n t / c o n f i g m a p s c o u n t / d e p l o y m e n t s . a p p s c o u n t / r e p l i c a s e t s . a p p s c o u n t / s t a t e f u l s e t s . a p p s c o u n t / j o b s . b a t c h c o u n t / c r o n j o b s . b a t c h",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_5_12917"
  },
  {
    "question": "What is Specialized syntax?",
    "answer": "T h e r e   i s   a n o t h e r   s y n t a x   o n l y   t o   s e t   t h e   s a m e   t y p e   o f   q u o t a ,   t h a t   o n l y   w o r k s   f o r   c e r t a i n   A P I   k i n d s .   T h e   f o l l o w i n g   t y p e s   a r e   s u p p o r t e d :   F o r   e x a m p l e ,   p o d s   q u o t a   c o u n t s   a n d   e n f o r c e s   a   m a x i m u m   o n   t h e   n u m b e r   o f   p o d s   c r e a t e d   i n   a   s i n g l e   n a m e s p a c e   t h a t   a r e   n o t   t e r m i n a l .   Y o u   m i g h t   w a n t   t o   s e t   a   p o d s   q u o t a   o n   a   n a m e s p a c e   t o   a v o i d   t h e   c a s e   w h e r e   a   u s e r   c r e a t e s   m a n y   s m a l l   p o d s   a n d   e x h a u s t s   t h e   c l u s t e r ' s   s u p p l y   o f   P o d   I P s .   Y o u   c a n   f i n d   m o r e   e x a m p l e s   o n   V i e w i n g   a n d   S e t t i n g   Q u o t a s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_5_12918"
  },
  {
    "question": "What is Quota Scopes?",
    "answer": "E a c h   q u o t a   c a n   h a v e   a n   a s s o c i a t e d   s e t   o f   s c o p e s .   A   q u o t a   w i l l   o n l y   m e a s u r e   u s a g e   f o r   a   r e s o u r c e   i f   i t   m a t c h e s   t h e   i n t e r s e c t i o n   o f   e n u m e r a t e d   s c o p e s .   W h e n   a   s c o p e   i s   a d d e d   t o   t h e   q u o t a ,   i t   l i m i t s   t h e   n u m b e r   o f   r e s o u r c e s   i t   s u p p o r t s   t o   t h o s e   t h a t   p e r t a i n   t o   t h e   s c o p e .   R e s o u r c e s   s p e c i f i e d   o n   t h e   q u o t a   o u t s i d e   o f   t h e   a l l o w e d   s e t   r e s u l t s   i n   a   v a l i d a t i o n   e r r o r .   T h e   B e s t E f f o r t   s c o p e   r e s t r i c t s   a   q u o t a   t o   t r a c k i n g   t h e   f o l l o w i n g   r e s o u r c e :   p o d s   T h e   T e r m i n a t i n g ,   N o t T e r m i n a t i n g ,   N o t B e s t E f f o r t   a n d   P r i o r i t y C l a s s   s c o p e s   r e s t r i c t   a   q u o t a   t o   t r a c k i n g   t h e   f o l l o w i n g   r e s o u r c e s :   p o d s c p u m e m o r y r e q u e s t s . c p u r e q u e s t s . m e m o r y l i m i t s . c p u l i m i t s . m e m o r y   N o t e   t h a t   y o u   c a n n o t   s p e c i f y   b o t h   t h e   T e r m i n a t i n g   a n d   t h e   N o t T e r m i n a t i n g   s c o p e s   i n   t h e   s a m e   q u o t a ,   a n d   y o u   c a n n o t   s p e c i f y   b o t h   t h e   B e s t E f f o r t   a n d   N o t B e s t E f f o r t   s c o p e s   i n   t h e   s a m e   q u o t a   e i t h e r .   T h e   s c o p e S e l e c t o r   s u p p o r t s   t h e   f o l l o w i n g   v a l u e s   i n   t h e   o p e r a t o r   f i e l d :   I n N o t I n E x i s t s D o e s N o t E x i s t   W h e n   u s i n g   o n e   o f   t h e   f o l l o w i n g   v a l u e s   a s   t h e   s c o p e N a m e   w h e n   d e f i n i n g   t h e   s c o p e S e l ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12919"
  },
  {
    "question": "What is Resource Quota Per PriorityClass?",
    "answer": "P o d s   c a n   b e   c r e a t e d   a t   a   s p e c i f i c   p r i o r i t y .   Y o u   c a n   c o n t r o l   a   p o d ' s   c o n s u m p t i o n   o f   s y s t e m   r e s o u r c e s   b a s e d   o n   a   p o d ' s   p r i o r i t y ,   b y   u s i n g   t h e   s c o p e S e l e c t o r   f i e l d   i n   t h e   q u o t a   s p e c .   A   q u o t a   i s   m a t c h e d   a n d   c o n s u m e d   o n l y   i f   s c o p e S e l e c t o r   i n   t h e   q u o t a   s p e c   s e l e c t s   t h e   p o d .   W h e n   q u o t a   i s   s c o p e d   f o r   p r i o r i t y   c l a s s   u s i n g   s c o p e S e l e c t o r   f i e l d ,   q u o t a   o b j e c t   i s   r e s t r i c t e d   t o   t r a c k   o n l y   f o l l o w i n g   r e s o u r c e s :   p o d s c p u m e m o r y e p h e m e r a l - s t o r a g e l i m i t s . c p u l i m i t s . m e m o r y l i m i t s . e p h e m e r a l - s t o r a g e r e q u e s t s . c p u r e q u e s t s . m e m o r y r e q u e s t s . e p h e m e r a l - s t o r a g e   T h i s   e x a m p l e   c r e a t e s   a   q u o t a   o b j e c t   a n d   m a t c h e s   i t   w i t h   p o d s   a t   s p e c i f i c   p r i o r i t i e s .   T h e   e x a m p l e   w o r k s   a s   f o l l o w s :   P o d s   i n   t h e   c l u s t e r   h a v e   o n e   o f   t h e   t h r e e   p r i o r i t y   c l a s s e s ,   \" l o w \" ,   \" m e d i u m \" ,   \" h i g h \" . O n e   q u o t a   o b j e c t   i s   c r e a t e d   f o r   e a c h   p r i o r i t y .   S a v e   t h e   f o l l o w i n g   Y A M L   t o   a   f i l e   q u o t a . y a m l .   a p i V e r s i o n :   v 1   k i n d :   L i s t   i t e m s :   -   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a   m e t a d a t a :   n a m e :   p o d s - h i g h   s p e c :   h a r d :   c p u :   \" 1 0 0 0 \"   m e m o r y :   \" 2 0 0 G i \"   p o d s :   \" 1 0 \"   s c o p e S e l e c t o r :   m a t c h E x p r e s s i o n s :   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12920"
  },
  {
    "question": "What is Cross-namespace Pod Affinity Quota?",
    "answer": "O p e r a t o r s   c a n   u s e   C r o s s N a m e s p a c e P o d A f f i n i t y   q u o t a   s c o p e   t o   l i m i t   w h i c h   n a m e s p a c e s   a r e   a l l o w e d   t o   h a v e   p o d s   w i t h   a f f i n i t y   t e r m s   t h a t   c r o s s   n a m e s p a c e s .   S p e c i f i c a l l y ,   i t   c o n t r o l s   w h i c h   p o d s   a r e   a l l o w e d   t o   s e t   n a m e s p a c e s   o r   n a m e s p a c e S e l e c t o r   f i e l d s   i n   p o d   a f f i n i t y   t e r m s .   P r e v e n t i n g   u s e r s   f r o m   u s i n g   c r o s s - n a m e s p a c e   a f f i n i t y   t e r m s   m i g h t   b e   d e s i r e d   s i n c e   a   p o d   w i t h   a n t i - a f f i n i t y   c o n s t r a i n t s   c a n   b l o c k   p o d s   f r o m   a l l   o t h e r   n a m e s p a c e s   f r o m   g e t t i n g   s c h e d u l e d   i n   a   f a i l u r e   d o m a i n .   U s i n g   t h i s   s c o p e   o p e r a t o r s   c a n   p r e v e n t   c e r t a i n   n a m e s p a c e s   ( f o o - n s   i n   t h e   e x a m p l e   b e l o w )   f r o m   h a v i n g   p o d s   t h a t   u s e   c r o s s - n a m e s p a c e   p o d   a f f i n i t y   b y   c r e a t i n g   a   r e s o u r c e   q u o t a   o b j e c t   i n   t h a t   n a m e s p a c e   w i t h   C r o s s N a m e s p a c e P o d A f f i n i t y   s c o p e   a n d   h a r d   l i m i t   o f   0 :   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a   m e t a d a t a :   n a m e :   d i s a b l e - c r o s s - n a m e s p a c e - a f f i n i t y   n a m e s p a c e :   f o o - n s   s p e c :   h a r d :   p o d s :   \" 0 \"   s c o p e S e l e c t o r :   m a t c h E x p r e s s i o n s :   -   s c o p e N a m e :   C r o s s N a m e s p a c e P o d A f f i n i t y   o p e r a t o r :   E x i s t s   I f   o p e r a t o r s   w a n t   t o   d i s a l l o w   u s i n g   n a m e s p a c e s   a n d   n a m e s p a c e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12921"
  },
  {
    "question": "What is Resource Quota Per VolumeAttributesClass?",
    "answer": "P e r s i s t e n t V o l u m e C l a i m s   c a n   b e   c r e a t e d   w i t h   a   s p e c i f i c   v o l u m e   a t t r i b u t e s   c l a s s ,   a n d   m i g h t   b e   m o d i f i e d   a f t e r   c r e a t i o n .   Y o u   c a n   c o n t r o l   a   P V C ' s   c o n s u m p t i o n   o f   s t o r a g e   r e s o u r c e s   b a s e d   o n   t h e   a s s o c i a t e d   v o l u m e   a t t r i b u t e s   c l a s s e s ,   b y   u s i n g   t h e   s c o p e S e l e c t o r   f i e l d   i n   t h e   q u o t a   s p e c .   T h e   P V C   r e f e r e n c e s   t h e   a s s o c i a t e d   v o l u m e   a t t r i b u t e s   c l a s s   b y   t h e   f o l l o w i n g   f i e l d s :   s p e c . v o l u m e A t t r i b u t e s C l a s s N a m e s t a t u s . c u r r e n t V o l u m e A t t r i b u t e s C l a s s N a m e s t a t u s . m o d i f y V o l u m e S t a t u s . t a r g e t V o l u m e A t t r i b u t e s C l a s s N a m e   A   q u o t a   i s   m a t c h e d   a n d   c o n s u m e d   o n l y   i f   s c o p e S e l e c t o r   i n   t h e   q u o t a   s p e c   s e l e c t s   t h e   P V C .   W h e n   t h e   q u o t a   i s   s c o p e d   f o r   t h e   v o l u m e   a t t r i b u t e s   c l a s s   u s i n g   t h e   s c o p e S e l e c t o r   f i e l d ,   t h e   q u o t a   o b j e c t   i s   r e s t r i c t e d   t o   t r a c k   o n l y   t h e   f o l l o w i n g   r e s o u r c e s :   p e r s i s t e n t v o l u m e c l a i m s r e q u e s t s . s t o r a g e   T h i s   e x a m p l e   c r e a t e s   a   q u o t a   o b j e c t   a n d   m a t c h e s   i t   w i t h   P V C   a t   s p e c i f i c   v o l u m e   a t t r i b u t e s   c l a s s e s .   T h e   e x a m p l e   w o r k s   a s   f o l l o w s :   P V C s   i n   t h e   c l u s t e r   h a v e   a t   l e a s t   o n e   o f   t h e   t h r e e   v o l u m e   a t t r i b u t e s   c l a s s e s ,   \" g o l d \" ,   \" s i l v e r \" ,   \" c ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12922"
  },
  {
    "question": "What is Requests compared to Limits?",
    "answer": "W h e n   a l l o c a t i n g   c o m p u t e   r e s o u r c e s ,   e a c h   c o n t a i n e r   m a y   s p e c i f y   a   r e q u e s t   a n d   a   l i m i t   v a l u e   f o r   e i t h e r   C P U   o r   m e m o r y .   T h e   q u o t a   c a n   b e   c o n f i g u r e d   t o   q u o t a   e i t h e r   v a l u e .   I f   t h e   q u o t a   h a s   a   v a l u e   s p e c i f i e d   f o r   r e q u e s t s . c p u   o r   r e q u e s t s . m e m o r y ,   t h e n   i t   r e q u i r e s   t h a t   e v e r y   i n c o m i n g   c o n t a i n e r   m a k e s   a n   e x p l i c i t   r e q u e s t   f o r   t h o s e   r e s o u r c e s .   I f   t h e   q u o t a   h a s   a   v a l u e   s p e c i f i e d   f o r   l i m i t s . c p u   o r   l i m i t s . m e m o r y ,   t h e n   i t   r e q u i r e s   t h a t   e v e r y   i n c o m i n g   c o n t a i n e r   s p e c i f i e s   a n   e x p l i c i t   l i m i t   f o r   t h o s e   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12923"
  },
  {
    "question": "What is Viewing and Setting Quotas?",
    "answer": "k u b e c t l   s u p p o r t s   c r e a t i n g ,   u p d a t i n g ,   a n d   v i e w i n g   q u o t a s :   k u b e c t l   c r e a t e   n a m e s p a c e   m y s p a c e   c a t   < < E O F   >   c o m p u t e - r e s o u r c e s . y a m l   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a   m e t a d a t a :   n a m e :   c o m p u t e - r e s o u r c e s   s p e c :   h a r d :   r e q u e s t s . c p u :   \" 1 \"   r e q u e s t s . m e m o r y :   \" 1 G i \"   l i m i t s . c p u :   \" 2 \"   l i m i t s . m e m o r y :   \" 2 G i \"   r e q u e s t s . n v i d i a . c o m / g p u :   4   E O F   k u b e c t l   c r e a t e   - f   . / c o m p u t e - r e s o u r c e s . y a m l   - - n a m e s p a c e = m y s p a c e   c a t   < < E O F   >   o b j e c t - c o u n t s . y a m l   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a   m e t a d a t a :   n a m e :   o b j e c t - c o u n t s   s p e c :   h a r d :   c o n f i g m a p s :   \" 1 0 \"   p e r s i s t e n t v o l u m e c l a i m s :   \" 4 \"   p o d s :   \" 4 \"   r e p l i c a t i o n c o n t r o l l e r s :   \" 2 0 \"   s e c r e t s :   \" 1 0 \"   s e r v i c e s :   \" 1 0 \"   s e r v i c e s . l o a d b a l a n c e r s :   \" 2 \"   E O F   k u b e c t l   c r e a t e   - f   . / o b j e c t - c o u n t s . y a m l   - - n a m e s p a c e = m y s p a c e   k u b e c t l   g e t   q u o t a   - - n a m e s p a c e = m y s p a c e   N A M E   A G E   c o m p u t e - r e s o u r c e s   3 0 s   o b j e c t - c o u n t s   3 2 s   k u b e c t l   d e s c r i b e   q u o t a   c o m p u t e - r e s o u r c e s   - - n a m e s p a c e = m y s p a c e   N a m e :   c o m p u t e - r e s o u r c e s   N a m e s p a c e :   m y s p a c e   R e s o u r c e   U s e d   H a r d   - - - - - - - -   - - - -   - - - -   l i m i t s . c p u   0   2   l i m i t s . m e m o r y   0   2 G i   r e q u e s t s . c p u   0   1   r e q u e s t s . m e m o r y   0   1 G i   r e q u e s t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12924"
  },
  {
    "question": "What is Quota and Cluster Capacity?",
    "answer": "R e s o u r c e Q u o t a s   a r e   i n d e p e n d e n t   o f   t h e   c l u s t e r   c a p a c i t y .   T h e y   a r e   e x p r e s s e d   i n   a b s o l u t e   u n i t s .   S o ,   i f   y o u   a d d   n o d e s   t o   y o u r   c l u s t e r ,   t h i s   d o e s   n o t   a u t o m a t i c a l l y   g i v e   e a c h   n a m e s p a c e   t h e   a b i l i t y   t o   c o n s u m e   m o r e   r e s o u r c e s .   S o m e t i m e s   m o r e   c o m p l e x   p o l i c i e s   m a y   b e   d e s i r e d ,   s u c h   a s :   P r o p o r t i o n a l l y   d i v i d e   t o t a l   c l u s t e r   r e s o u r c e s   a m o n g   s e v e r a l   t e a m s . A l l o w   e a c h   t e n a n t   t o   g r o w   r e s o u r c e   u s a g e   a s   n e e d e d ,   b u t   h a v e   a   g e n e r o u s   l i m i t   t o   p r e v e n t   a c c i d e n t a l   r e s o u r c e   e x h a u s t i o n . D e t e c t   d e m a n d   f r o m   o n e   n a m e s p a c e ,   a d d   n o d e s ,   a n d   i n c r e a s e   q u o t a .   S u c h   p o l i c i e s   c o u l d   b e   i m p l e m e n t e d   u s i n g   R e s o u r c e Q u o t a s   a s   b u i l d i n g   b l o c k s ,   b y   w r i t i n g   a   \" c o n t r o l l e r \"   t h a t   w a t c h e s   t h e   q u o t a   u s a g e   a n d   a d j u s t s   t h e   q u o t a   h a r d   l i m i t s   o f   e a c h   n a m e s p a c e   a c c o r d i n g   t o   o t h e r   s i g n a l s .   N o t e   t h a t   r e s o u r c e   q u o t a   d i v i d e s   u p   a g g r e g a t e   c l u s t e r   r e s o u r c e s ,   b u t   i t   c r e a t e s   n o   r e s t r i c t i o n s   a r o u n d   n o d e s :   p o d s   f r o m   s e v e r a l   n a m e s p a c e s   m a y   r u n   o n   t h e   s a m e   n o d e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12925"
  },
  {
    "question": "What is Limit Priority Class consumption by default?",
    "answer": "I t   m a y   b e   d e s i r e d   t h a t   p o d s   a t   a   p a r t i c u l a r   p r i o r i t y ,   s u c h   a s   \" c l u s t e r - s e r v i c e s \" ,   s h o u l d   b e   a l l o w e d   i n   a   n a m e s p a c e ,   i f   a n d   o n l y   i f ,   a   m a t c h i n g   q u o t a   o b j e c t   e x i s t s .   W i t h   t h i s   m e c h a n i s m ,   o p e r a t o r s   a r e   a b l e   t o   r e s t r i c t   u s a g e   o f   c e r t a i n   h i g h   p r i o r i t y   c l a s s e s   t o   a   l i m i t e d   n u m b e r   o f   n a m e s p a c e s   a n d   n o t   e v e r y   n a m e s p a c e   w i l l   b e   a b l e   t o   c o n s u m e   t h e s e   p r i o r i t y   c l a s s e s   b y   d e f a u l t .   T o   e n f o r c e   t h i s ,   k u b e - a p i s e r v e r   f l a g   - - a d m i s s i o n - c o n t r o l - c o n f i g - f i l e   s h o u l d   b e   u s e d   t o   p a s s   p a t h   t o   t h e   f o l l o w i n g   c o n f i g u r a t i o n   f i l e :   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   A d m i s s i o n C o n f i g u r a t i o n   p l u g i n s :   -   n a m e :   \" R e s o u r c e Q u o t a \"   c o n f i g u r a t i o n :   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   R e s o u r c e Q u o t a C o n f i g u r a t i o n   l i m i t e d R e s o u r c e s :   -   r e s o u r c e :   p o d s   m a t c h S c o p e s :   -   s c o p e N a m e :   P r i o r i t y C l a s s   o p e r a t o r :   I n   v a l u e s :   [ \" c l u s t e r - s e r v i c e s \" ]   T h e n ,   c r e a t e   a   r e s o u r c e   q u o t a   o b j e c t   i n   t h e   k u b e - s y s t e m   n a m e s p a c e :   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a   m e t a d a t a :   n a m e :   p o d s - c l u s t e r - s e r v i c e s   s p e c :   s c o p e S e l e c t o r :   m a t c h E x p r e s s i o n s :   -   o p e r a t o r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12926"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   a   d e t a i l e d   e x a m p l e   f o r   h o w   t o   u s e   r e s o u r c e   q u o t a . R e a d   t h e   R e s o u r c e Q u o t a   A P I   r e f e r e n c e L e a r n   a b o u t   L i m i t R a n g e s Y o u   c a n   r e a d   t h e   h i s t o r i c a l   R e s o u r c e Q u o t a   d e s i g n   d o c u m e n t   f o r   m o r e   i n f o r m a t i o n . Y o u   c a n   a l s o   r e a d   t h e   Q u o t a   s u p p o r t   f o r   p r i o r i t y   c l a s s   d e s i g n   d o c u m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12927"
  },
  {
    "question": "What is 9.3 - Process ID Limits And Reservations?",
    "answer": "K u b e r n e t e s   a l l o w   y o u   t o   l i m i t   t h e   n u m b e r   o f   p r o c e s s   I D s   ( P I D s )   t h a t   a   P o d   c a n   u s e .   Y o u   c a n   a l s o   r e s e r v e   a   n u m b e r   o f   a l l o c a t a b l e   P I D s   f o r   e a c h   n o d e   f o r   u s e   b y   t h e   o p e r a t i n g   s y s t e m   a n d   d a e m o n s   ( r a t h e r   t h a n   b y   P o d s ) .   P r o c e s s   I D s   ( P I D s )   a r e   a   f u n d a m e n t a l   r e s o u r c e   o n   n o d e s .   I t   i s   t r i v i a l   t o   h i t   t h e   t a s k   l i m i t   w i t h o u t   h i t t i n g   a n y   o t h e r   r e s o u r c e   l i m i t s ,   w h i c h   c a n   t h e n   c a u s e   i n s t a b i l i t y   t o   a   h o s t   m a c h i n e .   C l u s t e r   a d m i n i s t r a t o r s   r e q u i r e   m e c h a n i s m s   t o   e n s u r e   t h a t   P o d s   r u n n i n g   i n   t h e   c l u s t e r   c a n n o t   i n d u c e   P I D   e x h a u s t i o n   t h a t   p r e v e n t s   h o s t   d a e m o n s   ( s u c h   a s   t h e   k u b e l e t   o r   k u b e - p r o x y ,   a n d   p o t e n t i a l l y   a l s o   t h e   c o n t a i n e r   r u n t i m e )   f r o m   r u n n i n g .   I n   a d d i t i o n ,   i t   i s   i m p o r t a n t   t o   e n s u r e   t h a t   P I D s   a r e   l i m i t e d   a m o n g   P o d s   i n   o r d e r   t o   e n s u r e   t h e y   h a v e   l i m i t e d   i m p a c t   o n   o t h e r   w o r k l o a d s   o n   t h e   s a m e   n o d e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12928"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   c o n f i g u r e   a   k u b e l e t   t o   l i m i t   t h e   n u m b e r   o f   P I D s   a   g i v e n   P o d   c a n   c o n s u m e .   F o r   e x a m p l e ,   i f   y o u r   n o d e ' s   h o s t   O S   i s   s e t   t o   u s e   a   m a x i m u m   o f   2 6 2 1 4 4   P I D s   a n d   e x p e c t   t o   h o s t   l e s s   t h a n   2 5 0   P o d s ,   o n e   c a n   g i v e   e a c h   P o d   a   b u d g e t   o f   1 0 0 0   P I D s   t o   p r e v e n t   u s i n g   u p   t h a t   n o d e ' s   o v e r a l l   n u m b e r   o f   a v a i l a b l e   P I D s .   I f   t h e   a d m i n   w a n t s   t o   o v e r c o m m i t   P I D s   s i m i l a r   t o   C P U   o r   m e m o r y ,   t h e y   m a y   d o   s o   a s   w e l l   w i t h   s o m e   a d d i t i o n a l   r i s k s .   E i t h e r   w a y ,   a   s i n g l e   P o d   w i l l   n o t   b e   a b l e   t o   b r i n g   t h e   w h o l e   m a c h i n e   d o w n .   T h i s   k i n d   o f   r e s o u r c e   l i m i t i n g   h e l p s   t o   p r e v e n t   s i m p l e   f o r k   b o m b s   f r o m   a f f e c t i n g   o p e r a t i o n   o f   a n   e n t i r e   c l u s t e r .   P e r - P o d   P I D   l i m i t i n g   a l l o w s   a d m i n i s t r a t o r s   t o   p r o t e c t   o n e   P o d   f r o m   a n o t h e r ,   b u t   d o e s   n o t   e n s u r e   t h a t   a l l   P o d s   s c h e d u l e d   o n t o   t h a t   h o s t   a r e   u n a b l e   t o   i m p a c t   t h e   n o d e   o v e r a l l .   P e r - P o d   l i m i t i n g   a l s o   d o e s   n o t   p r o t e c t   t h e   n o d e   a g e n t s   t h e m s e l v e s   f r o m   P I D   e x h a u s t i o n .   Y o u   c a n   a l s o   r e s e r v e   a n   a m o u n t   o f   P I D s   f o r   n o d e   o v e r h e a d ,   s e p a r a t e   f r o m   t h e   a l l o c a t i o n   t o   P o d s .   T h i s   i s   s i m i l a r   t o   h o w   y o u   c a n   r e s e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12929"
  },
  {
    "question": "What is Node PID limits?",
    "answer": "K u b e r n e t e s   a l l o w s   y o u   t o   r e s e r v e   a   n u m b e r   o f   p r o c e s s   I D s   f o r   t h e   s y s t e m   u s e .   T o   c o n f i g u r e   t h e   r e s e r v a t i o n ,   u s e   t h e   p a r a m e t e r   p i d = < n u m b e r >   i n   t h e   - - s y s t e m - r e s e r v e d   a n d   - - k u b e - r e s e r v e d   c o m m a n d   l i n e   o p t i o n s   t o   t h e   k u b e l e t .   T h e   v a l u e   y o u   s p e c i f i e d   d e c l a r e s   t h a t   t h e   s p e c i f i e d   n u m b e r   o f   p r o c e s s   I D s   w i l l   b e   r e s e r v e d   f o r   t h e   s y s t e m   a s   a   w h o l e   a n d   f o r   K u b e r n e t e s   s y s t e m   d a e m o n s   r e s p e c t i v e l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12930"
  },
  {
    "question": "What is Pod PID limits?",
    "answer": "K u b e r n e t e s   a l l o w s   y o u   t o   l i m i t   t h e   n u m b e r   o f   p r o c e s s e s   r u n n i n g   i n   a   P o d .   Y o u   s p e c i f y   t h i s   l i m i t   a t   t h e   n o d e   l e v e l ,   r a t h e r   t h a n   c o n f i g u r i n g   i t   a s   a   r e s o u r c e   l i m i t   f o r   a   p a r t i c u l a r   P o d .   E a c h   N o d e   c a n   h a v e   a   d i f f e r e n t   P I D   l i m i t . T o   c o n f i g u r e   t h e   l i m i t ,   y o u   c a n   s p e c i f y   t h e   c o m m a n d   l i n e   p a r a m e t e r   - - p o d - m a x - p i d s   t o   t h e   k u b e l e t ,   o r   s e t   P o d P i d s L i m i t   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12931"
  },
  {
    "question": "What is PID based eviction?",
    "answer": "Y o u   c a n   c o n f i g u r e   k u b e l e t   t o   s t a r t   t e r m i n a t i n g   a   P o d   w h e n   i t   i s   m i s b e h a v i n g   a n d   c o n s u m i n g   a b n o r m a l   a m o u n t   o f   r e s o u r c e s .   T h i s   f e a t u r e   i s   c a l l e d   e v i c t i o n .   Y o u   c a n   C o n f i g u r e   O u t   o f   R e s o u r c e   H a n d l i n g   f o r   v a r i o u s   e v i c t i o n   s i g n a l s .   U s e   p i d . a v a i l a b l e   e v i c t i o n   s i g n a l   t o   c o n f i g u r e   t h e   t h r e s h o l d   f o r   n u m b e r   o f   P I D s   u s e d   b y   P o d .   Y o u   c a n   s e t   s o f t   a n d   h a r d   e v i c t i o n   p o l i c i e s .   H o w e v e r ,   e v e n   w i t h   t h e   h a r d   e v i c t i o n   p o l i c y ,   i f   t h e   n u m b e r   o f   P I D s   g r o w i n g   v e r y   f a s t ,   n o d e   c a n   s t i l l   g e t   i n t o   u n s t a b l e   s t a t e   b y   h i t t i n g   t h e   n o d e   P I D s   l i m i t .   E v i c t i o n   s i g n a l   v a l u e   i s   c a l c u l a t e d   p e r i o d i c a l l y   a n d   d o e s   N O T   e n f o r c e   t h e   l i m i t .   P I D   l i m i t i n g   -   p e r   P o d   a n d   p e r   N o d e   s e t s   t h e   h a r d   l i m i t .   O n c e   t h e   l i m i t   i s   h i t ,   w o r k l o a d   w i l l   s t a r t   e x p e r i e n c i n g   f a i l u r e s   w h e n   t r y i n g   t o   g e t   a   n e w   P I D .   I t   m a y   o r   m a y   n o t   l e a d   t o   r e s c h e d u l i n g   o f   a   P o d ,   d e p e n d i n g   o n   h o w   w o r k l o a d   r e a c t s   o n   t h e s e   f a i l u r e s   a n d   h o w   l i v e n e s s   a n d   r e a d i n e s s   p r o b e s   a r e   c o n f i g u r e d   f o r   t h e   P o d .   H o w e v e r ,   i f   l i m i t s   w e r e   s e t   c o r r e c t l y ,   y o u   c a n   g u a r a n t e e   t h a t   o t h e r   P o d s   w o r k l o a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12932"
  },
  {
    "question": "What is What's next?",
    "answer": "R e f e r   t o   t h e   P I D   L i m i t i n g   e n h a n c e m e n t   d o c u m e n t   f o r   m o r e   i n f o r m a t i o n . F o r   h i s t o r i c a l   c o n t e x t ,   r e a d   P r o c e s s   I D   L i m i t i n g   f o r   S t a b i l i t y   I m p r o v e m e n t s   i n   K u b e r n e t e s   1 . 1 4 . R e a d   M a n a g i n g   R e s o u r c e s   f o r   C o n t a i n e r s . L e a r n   h o w   t o   C o n f i g u r e   O u t   o f   R e s o u r c e   H a n d l i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12933"
  },
  {
    "question": "What is 9.4 - Node Resource Managers?",
    "answer": "I n   o r d e r   t o   s u p p o r t   l a t e n c y - c r i t i c a l   a n d   h i g h - t h r o u g h p u t   w o r k l o a d s ,   K u b e r n e t e s   o f f e r s   a   s u i t e   o f   R e s o u r c e   M a n a g e r s .   T h e   m a n a g e r s   a i m   t o   c o - o r d i n a t e   a n d   o p t i m i s e   t h e   a l i g n m e n t   o f   n o d e ' s   r e s o u r c e s   f o r   p o d s   c o n f i g u r e d   w i t h   a   s p e c i f i c   r e q u i r e m e n t   f o r   C P U s ,   d e v i c e s ,   a n d   m e m o r y   ( h u g e p a g e s )   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12934"
  },
  {
    "question": "What is Hardware topology alignment policies?",
    "answer": "T o p o l o g y   M a n a g e r   i s   a   k u b e l e t   c o m p o n e n t   t h a t   a i m s   t o   c o o r d i n a t e   t h e   s e t   o f   c o m p o n e n t s   t h a t   a r e   r e s p o n s i b l e   f o r   t h e s e   o p t i m i z a t i o n s .   T h e   o v e r a l l   r e s o u r c e   m a n a g e m e n t   p r o c e s s   i s   g o v e r n e d   u s i n g   t h e   p o l i c y   y o u   s p e c i f y .   T o   l e a r n   m o r e ,   r e a d   C o n t r o l   T o p o l o g y   M a n a g e m e n t   P o l i c i e s   o n   a   N o d e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12935"
  },
  {
    "question": "What is Policies for assigning CPUs to Pods?",
    "answer": "O n c e   a   P o d   i s   b o u n d   t o   a   N o d e ,   t h e   k u b e l e t   o n   t h a t   n o d e   m a y   n e e d   t o   e i t h e r   m u l t i p l e x   t h e   e x i s t i n g   h a r d w a r e   ( f o r   e x a m p l e ,   s h a r i n g   C P U s   a c r o s s   m u l t i p l e   P o d s )   o r   a l l o c a t e   h a r d w a r e   b y   d e d i c a t i n g   s o m e   r e s o u r c e   ( f o r   e x a m p l e ,   a s s i g n i n g   o n e   o f   m o r e   C P U s   f o r   a   P o d ' s   e x c l u s i v e   u s e ) .   B y   d e f a u l t ,   t h e   k u b e l e t   u s e s   C F S   q u o t a   t o   e n f o r c e   p o d   C P U   l i m i t s .   W h e n   t h e   n o d e   r u n s   m a n y   C P U - b o u n d   p o d s ,   t h e   w o r k l o a d   c a n   m o v e   t o   d i f f e r e n t   C P U   c o r e s   d e p e n d i n g   o n   w h e t h e r   t h e   p o d   i s   t h r o t t l e d   a n d   w h i c h   C P U   c o r e s   a r e   a v a i l a b l e   a t   s c h e d u l i n g   t i m e .   M a n y   w o r k l o a d s   a r e   n o t   s e n s i t i v e   t o   t h i s   m i g r a t i o n   a n d   t h u s   w o r k   f i n e   w i t h o u t   a n y   i n t e r v e n t i o n .   H o w e v e r ,   i n   w o r k l o a d s   w h e r e   C P U   c a c h e   a f f i n i t y   a n d   s c h e d u l i n g   l a t e n c y   s i g n i f i c a n t l y   a f f e c t   w o r k l o a d   p e r f o r m a n c e ,   t h e   k u b e l e t   a l l o w s   a l t e r n a t i v e   C P U   m a n a g e m e n t   p o l i c i e s   t o   d e t e r m i n e   s o m e   p l a c e m e n t   p r e f e r e n c e s   o n   t h e   n o d e .   T h i s   i s   i m p l e m e n t e d   u s i n g   t h e   C P U   M a n a g e r   a n d   i t s   p o l i c y .   T h e r e   a r e   t w o   a v a i l a b l e   p o l i c i e s :   n o n e :   t h e   n o n e   p o l i c y   e x p l i c i t l y   e n a b l e s   t h e   e x i s t i n g   d e f a u l t   C P U   a f f i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12936"
  },
  {
    "question": "What is Note:?",
    "answer": "C P U   M a n a g e r   d o e s n ' t   s u p p o r t   o f f l i n i n g   a n d   o n l i n i n g   o f   C P U s   a t   r u n t i m e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12937"
  },
  {
    "question": "What is Static policy?",
    "answer": "T h e   s t a t i c   p o l i c y   e n a b l e s   f i n e r - g r a i n e d   C P U   m a n a g e m e n t   a n d   e x c l u s i v e   C P U   a s s i g n m e n t .   T h i s   p o l i c y   m a n a g e s   a   s h a r e d   p o o l   o f   C P U s   t h a t   i n i t i a l l y   c o n t a i n s   a l l   C P U s   i n   t h e   n o d e .   T h e   a m o u n t   o f   e x c l u s i v e l y   a l l o c a t a b l e   C P U s   i s   e q u a l   t o   t h e   t o t a l   n u m b e r   o f   C P U s   i n   t h e   n o d e   m i n u s   a n y   C P U   r e s e r v a t i o n s   s e t   b y   t h e   k u b e l e t   c o n f i g u r a t i o n .   C P U s   r e s e r v e d   b y   t h e s e   o p t i o n s   a r e   t a k e n ,   i n   i n t e g e r   q u a n t i t y ,   f r o m   t h e   i n i t i a l   s h a r e d   p o o l   i n   a s c e n d i n g   o r d e r   b y   p h y s i c a l   c o r e   I D .   T h i s   s h a r e d   p o o l   i s   t h e   s e t   o f   C P U s   o n   w h i c h   a n y   c o n t a i n e r s   i n   B e s t E f f o r t   a n d   B u r s t a b l e   p o d s   r u n .   C o n t a i n e r s   i n   G u a r a n t e e d   p o d s   w i t h   f r a c t i o n a l   C P U   r e q u e s t s   a l s o   r u n   o n   C P U s   i n   t h e   s h a r e d   p o o l .   O n l y   c o n t a i n e r s   t h a t   a r e   p a r t   o f   a   G u a r a n t e e d   p o d   a n d   h a v e   i n t e g e r   C P U   r e q u e s t s   a r e   a s s i g n e d   e x c l u s i v e   C P U s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12938"
  },
  {
    "question": "What is Note:?",
    "answer": "A s   G u a r a n t e e d   p o d s   w h o s e   c o n t a i n e r s   f i t   t h e   r e q u i r e m e n t s   f o r   b e i n g   s t a t i c a l l y   a s s i g n e d   a r e   s c h e d u l e d   t o   t h e   n o d e ,   C P U s   a r e   r e m o v e d   f r o m   t h e   s h a r e d   p o o l   a n d   p l a c e d   i n   t h e   c p u s e t   f o r   t h e   c o n t a i n e r .   C F S   q u o t a   i s   n o t   u s e d   t o   b o u n d   t h e   C P U   u s a g e   o f   t h e s e   c o n t a i n e r s   a s   t h e i r   u s a g e   i s   b o u n d   b y   t h e   s c h e d u l i n g   d o m a i n   i t s e l f .   I n   o t h e r s   w o r d s ,   t h e   n u m b e r   o f   C P U s   i n   t h e   c o n t a i n e r   c p u s e t   i s   e q u a l   t o   t h e   i n t e g e r   C P U   l i m i t   s p e c i f i e d   i n   t h e   p o d   s p e c .   T h i s   s t a t i c   a s s i g n m e n t   i n c r e a s e s   C P U   a f f i n i t y   a n d   d e c r e a s e s   c o n t e x t   s w i t c h e s   d u e   t o   t h r o t t l i n g   f o r   t h e   C P U - b o u n d   w o r k l o a d .   C o n s i d e r   t h e   c o n t a i n e r s   i n   t h e   f o l l o w i n g   p o d   s p e c s :   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   T h e   p o d   a b o v e   r u n s   i n   t h e   B e s t E f f o r t   Q o S   c l a s s   b e c a u s e   n o   r e s o u r c e   r e q u e s t s   o r   l i m i t s   a r e   s p e c i f i e d .   I t   r u n s   i n   t h e   s h a r e d   p o o l .   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 2 0 0 M i \"   r e q u e s t s :   m e m o r y :   \" 1 0 0 M i \"   T h e   p o d   a b o v e   r u n s   i n   t h e   B u r s t a b l e   Q o S   c l a s s   b e c a u s e   r e s o u r c e   r e q u e s t s   d o   n o t   e q u a l   l i m i t s   a n d   t h e   c p u   q u ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12939"
  },
  {
    "question": "What is Static policy options?",
    "answer": "H e r e   a r e   t h e   a v a i l a b l e   p o l i c y   o p t i o n s   f o r   t h e   s t a t i c   C P U   m a n a g e m e n t   p o l i c y ,   l i s t e d   i n   a l p h a b e t i c a l   o r d e r :   Y o u   c a n   t o g g l e   g r o u p s   o f   o p t i o n s   o n   a n d   o f f   b a s e d   u p o n   t h e i r   m a t u r i t y   l e v e l   u s i n g   t h e   f o l l o w i n g   f e a t u r e   g a t e s :   C P U M a n a g e r P o l i c y B e t a O p t i o n s   ( d e f a u l t   e n a b l e d ) .   D i s a b l e   t o   h i d e   b e t a - l e v e l   o p t i o n s . C P U M a n a g e r P o l i c y A l p h a O p t i o n s   ( d e f a u l t   d i s a b l e d ) .   E n a b l e   t o   s h o w   a l p h a - l e v e l   o p t i o n s .   Y o u   w i l l   s t i l l   h a v e   t o   e n a b l e   e a c h   o p t i o n   u s i n g   t h e   c p u M a n a g e r P o l i c y O p t i o n s   f i e l d   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e .   F o r   m o r e   d e t a i l   a b o u t   t h e   i n d i v i d u a l   o p t i o n s   y o u   c a n   c o n f i g u r e ,   r e a d   o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12940"
  },
  {
    "question": "What is full-pcpus-only?",
    "answer": "I f   t h e   f u l l - p c p u s - o n l y   p o l i c y   o p t i o n   i s   s p e c i f i e d ,   t h e   s t a t i c   p o l i c y   w i l l   a l w a y s   a l l o c a t e   f u l l   p h y s i c a l   c o r e s .   B y   d e f a u l t ,   w i t h o u t   t h i s   o p t i o n ,   t h e   s t a t i c   p o l i c y   a l l o c a t e s   C P U s   u s i n g   a   t o p o l o g y - a w a r e   b e s t - f i t   a l l o c a t i o n .   O n   S M T   e n a b l e d   s y s t e m s ,   t h e   p o l i c y   c a n   a l l o c a t e   i n d i v i d u a l   v i r t u a l   c o r e s ,   w h i c h   c o r r e s p o n d   t o   h a r d w a r e   t h r e a d s .   T h i s   c a n   l e a d   t o   d i f f e r e n t   c o n t a i n e r s   s h a r i n g   t h e   s a m e   p h y s i c a l   c o r e s ;   t h i s   b e h a v i o u r   i n   t u r n   c o n t r i b u t e s   t o   t h e   n o i s y   n e i g h b o u r s   p r o b l e m .   W i t h   t h e   o p t i o n   e n a b l e d ,   t h e   p o d   w i l l   b e   a d m i t t e d   b y   t h e   k u b e l e t   o n l y   i f   t h e   C P U   r e q u e s t   o f   a l l   i t s   c o n t a i n e r s   c a n   b e   f u l f i l l e d   b y   a l l o c a t i n g   f u l l   p h y s i c a l   c o r e s .   I f   t h e   p o d   d o e s   n o t   p a s s   t h e   a d m i s s i o n ,   i t   w i l l   b e   p u t   i n   F a i l e d   s t a t e   w i t h   t h e   m e s s a g e   S M T A l i g n m e n t E r r o r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_5_12941"
  },
  {
    "question": "What is distribute-cpus-across-numa?",
    "answer": "I f   t h e   d i s t r i b u t e - c p u s - a c r o s s - n u m a p o l i c y   o p t i o n   i s   s p e c i f i e d ,   t h e   s t a t i c   p o l i c y   w i l l   e v e n l y   d i s t r i b u t e   C P U s   a c r o s s   N U M A   n o d e s   i n   c a s e s   w h e r e   m o r e   t h a n   o n e   N U M A   n o d e   i s   r e q u i r e d   t o   s a t i s f y   t h e   a l l o c a t i o n .   B y   d e f a u l t ,   t h e   C P U M a n a g e r   w i l l   p a c k   C P U s   o n t o   o n e   N U M A   n o d e   u n t i l   i t   i s   f i l l e d ,   w i t h   a n y   r e m a i n i n g   C P U s   s i m p l y   s p i l l i n g   o v e r   t o   t h e   n e x t   N U M A   n o d e .   T h i s   c a n   c a u s e   u n d e s i r e d   b o t t l e n e c k s   i n   p a r a l l e l   c o d e   r e l y i n g   o n   b a r r i e r s   ( a n d   s i m i l a r   s y n c h r o n i z a t i o n   p r i m i t i v e s ) ,   a s   t h i s   t y p e   o f   c o d e   t e n d s   t o   r u n   o n l y   a s   f a s t   a s   i t s   s l o w e s t   w o r k e r   ( w h i c h   i s   s l o w e d   d o w n   b y   t h e   f a c t   t h a t   f e w e r   C P U s   a r e   a v a i l a b l e   o n   a t   l e a s t   o n e   N U M A   n o d e ) .   B y   d i s t r i b u t i n g   C P U s   e v e n l y   a c r o s s   N U M A   n o d e s ,   a p p l i c a t i o n   d e v e l o p e r s   c a n   m o r e   e a s i l y   e n s u r e   t h a t   n o   s i n g l e   w o r k e r   s u f f e r s   f r o m   N U M A   e f f e c t s   m o r e   t h a n   a n y   o t h e r ,   i m p r o v i n g   t h e   o v e r a l l   p e r f o r m a n c e   o f   t h e s e   t y p e s   o f   a p p l i c a t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_5_12942"
  },
  {
    "question": "What is align-by-socket?",
    "answer": "I f   t h e   a l i g n - b y - s o c k e t   p o l i c y   o p t i o n   i s   s p e c i f i e d ,   C P U s   w i l l   b e   c o n s i d e r e d   a l i g n e d   a t   t h e   s o c k e t   b o u n d a r y   w h e n   d e c i d i n g   h o w   t o   a l l o c a t e   C P U s   t o   a   c o n t a i n e r .   B y   d e f a u l t ,   t h e   C P U M a n a g e r   a l i g n s   C P U   a l l o c a t i o n s   a t   t h e   N U M A   b o u n d a r y ,   w h i c h   c o u l d   r e s u l t   i n   p e r f o r m a n c e   d e g r a d a t i o n   i f   C P U s   n e e d   t o   b e   p u l l e d   f r o m   m o r e   t h a n   o n e   N U M A   n o d e   t o   s a t i s f y   t h e   a l l o c a t i o n .   A l t h o u g h   i t   t r i e s   t o   e n s u r e   t h a t   a l l   C P U s   a r e   a l l o c a t e d   f r o m   t h e   m i n i m u m   n u m b e r   o f   N U M A   n o d e s ,   t h e r e   i s   n o   g u a r a n t e e   t h a t   t h o s e   N U M A   n o d e s   w i l l   b e   o n   t h e   s a m e   s o c k e t .   B y   d i r e c t i n g   t h e   C P U M a n a g e r   t o   e x p l i c i t l y   a l i g n   C P U s   a t   t h e   s o c k e t   b o u n d a r y   r a t h e r   t h a n   t h e   N U M A   b o u n d a r y ,   w e   a r e   a b l e   t o   a v o i d   s u c h   i s s u e s .   N o t e ,   t h i s   p o l i c y   o p t i o n   i s   n o t   c o m p a t i b l e   w i t h   T o p o l o g y M a n a g e r   s i n g l e - n u m a - n o d e   p o l i c y   a n d   d o e s   n o t   a p p l y   t o   h a r d w a r e   w h e r e   t h e   n u m b e r   o f   s o c k e t s   i s   g r e a t e r   t h a n   n u m b e r   o f   N U M A   n o d e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_5_12943"
  },
  {
    "question": "What is distribute-cpus-across-cores?",
    "answer": "I f   t h e   d i s t r i b u t e - c p u s - a c r o s s - c o r e s   p o l i c y   o p t i o n   i s   s p e c i f i e d ,   t h e   s t a t i c   p o l i c y   w i l l   a t t e m p t   t o   a l l o c a t e   v i r t u a l   c o r e s   ( h a r d w a r e   t h r e a d s )   a c r o s s   d i f f e r e n t   p h y s i c a l   c o r e s .   B y   d e f a u l t ,   t h e   C P U M a n a g e r   t e n d s   t o   p a c k   C P U s   o n t o   a s   f e w   p h y s i c a l   c o r e s   a s   p o s s i b l e ,   w h i c h   c a n   l e a d   t o   c o n t e n t i o n   a m o n g   C P U s   o n   t h e   s a m e   p h y s i c a l   c o r e   a n d   r e s u l t   i n   p e r f o r m a n c e   b o t t l e n e c k s .   B y   e n a b l i n g   t h e   d i s t r i b u t e - c p u s - a c r o s s - c o r e s   p o l i c y ,   t h e   s t a t i c   p o l i c y   e n s u r e s   t h a t   C P U s   a r e   d i s t r i b u t e d   a c r o s s   a s   m a n y   p h y s i c a l   c o r e s   a s   p o s s i b l e ,   r e d u c i n g   t h e   c o n t e n t i o n   o n   t h e   s a m e   p h y s i c a l   c o r e   a n d   t h e r e b y   i m p r o v i n g   o v e r a l l   p e r f o r m a n c e .   H o w e v e r ,   i t   i s   i m p o r t a n t   t o   n o t e   t h a t   t h i s   s t r a t e g y   m i g h t   b e   l e s s   e f f e c t i v e   w h e n   t h e   s y s t e m   i s   h e a v i l y   l o a d e d .   U n d e r   s u c h   c o n d i t i o n s ,   t h e   b e n e f i t   o f   r e d u c i n g   c o n t e n t i o n   d i m i n i s h e s .   C o n v e r s e l y ,   d e f a u l t   b e h a v i o r   c a n   h e l p   i n   r e d u c i n g   i n t e r - c o r e   c o m m u n i c a t i o n   o v e r h e a d ,   p o t e n t i a l l y   p r o v i d i n g   b e t t e r   p e r f o r m a n c e   u n d e r   h i g h   l o a d   c o n d i t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_5_12944"
  },
  {
    "question": "What is strict-cpu-reservation?",
    "answer": "T h e   r e s e r v e d S y s t e m C P U s   p a r a m e t e r   i n   K u b e l e t C o n f i g u r a t i o n ,   o r   t h e   d e p r e c a t e d   k u b e l e t   c o m m a n d   l i n e   o p t i o n   - - r e s e r v e d - c p u s ,   d e f i n e s   a n   e x p l i c i t   C P U   s e t   f o r   O S   s y s t e m   d a e m o n s   a n d   k u b e r n e t e s   s y s t e m   d a e m o n s .   M o r e   d e t a i l s   o f   t h i s   p a r a m e t e r   c a n   b e   f o u n d   o n   t h e   E x p l i c i t l y   R e s e r v e d   C P U   L i s t   p a g e .   B y   d e f a u l t ,   t h i s   i s o l a t i o n   i s   i m p l e m e n t e d   o n l y   f o r   g u a r a n t e e d   p o d s   w i t h   i n t e g e r   C P U   r e q u e s t s   n o t   f o r   b u r s t a b l e   a n d   b e s t - e f f o r t   p o d s   ( a n d   g u a r a n t e e d   p o d s   w i t h   f r a c t i o n a l   C P U   r e q u e s t s ) .   A d m i s s i o n   i s   o n l y   c o m p a r i n g   t h e   C P U   r e q u e s t s   a g a i n s t   t h e   a l l o c a t a b l e   C P U s .   S i n c e   t h e   C P U   l i m i t   i s   h i g h e r   t h a n   t h e   r e q u e s t ,   t h e   d e f a u l t   b e h a v i o u r   a l l o w s   b u r s t a b l e   a n d   b e s t - e f f o r t   p o d s   t o   u s e   u p   t h e   c a p a c i t y   o f   r e s e r v e d S y s t e m C P U s   a n d   c a u s e   h o s t   O S   s e r v i c e s   t o   s t a r v e   i n   r e a l   l i f e   d e p l o y m e n t s .   I f   t h e   s t r i c t - c p u - r e s e r v a t i o n   p o l i c y   o p t i o n   i s   e n a b l e d ,   t h e   s t a t i c   p o l i c y   w i l l   n o t   a l l o w   a n y   w o r k l o a d   t o   u s e   t h e   C P U   c o r e s   s p e c i f i e d   i n   r e s e r v e d S y s t e m C P U s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_5_12945"
  },
  {
    "question": "What is prefer-align-cpus-by-uncorecache?",
    "answer": "I f   t h e   p r e f e r - a l i g n - c p u s - b y - u n c o r e c a c h e   p o l i c y   i s   s p e c i f i e d ,   t h e   s t a t i c   p o l i c y   w i l l   a l l o c a t e   C P U   r e s o u r c e s   f o r   i n d i v i d u a l   c o n t a i n e r s   s u c h   t h a t   a l l   C P U s   a s s i g n e d   t o   a   c o n t a i n e r   s h a r e   t h e   s a m e   u n c o r e   c a c h e   b l o c k   ( a l s o   k n o w n   a s   t h e   L a s t - L e v e l   C a c h e   o r   L L C ) .   B y   d e f a u l t ,   t h e   C P U M a n a g e r   w i l l   t i g h t l y   p a c k   C P U   a s s i g n m e n t s   w h i c h   c a n   r e s u l t   i n   c o n t a i n e r s   b e i n g   a s s i g n e d   C P U s   f r o m   m u l t i p l e   u n c o r e   c a c h e s .   T h i s   o p t i o n   e n a b l e s   t h e   C P U M a n a g e r   t o   a l l o c a t e   C P U s   i n   a   w a y   t h a t   m a x i m i z e s   t h e   e f f i c i e n t   u s e   o f   t h e   u n c o r e   c a c h e .   A l l o c a t i o n   i s   p e r f o r m e d   o n   a   b e s t - e f f o r t   b a s i s ,   a i m i n g   t o   a f f i n e   a s   m a n y   C P U s   a s   p o s s i b l e   w i t h i n   t h e   s a m e   u n c o r e   c a c h e .   I f   t h e   c o n t a i n e r ' s   C P U   r e q u i r e m e n t   e x c e e d s   t h e   C P U   c a p a c i t y   o f   a   s i n g l e   u n c o r e   c a c h e ,   t h e   C P U M a n a g e r   m i n i m i z e s   t h e   n u m b e r   o f   u n c o r e   c a c h e s   u s e d   i n   o r d e r   t o   m a i n t a i n   o p t i m a l   u n c o r e   c a c h e   a l i g n m e n t .   S p e c i f i c   w o r k l o a d s   c a n   b e n e f i t   i n   p e r f o r m a n c e   f r o m   t h e   r e d u c t i o n   o f   i n t e r - c a c h e   l a t e n c y   a n d   n o i s y   n e i g h b o r s   a t   t h e   c a c h e   l e v e l .   I f   t h e   C P U M a n a g e r   c a n n o t   a l i g n   o p t i m a l l y   w h i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_5_12946"
  },
  {
    "question": "What is Memory Management Policies?",
    "answer": "T h e   K u b e r n e t e s   M e m o r y   M a n a g e r   e n a b l e s   t h e   f e a t u r e   o f   g u a r a n t e e d   m e m o r y   ( a n d   h u g e p a g e s )   a l l o c a t i o n   f o r   p o d s   i n   t h e   G u a r a n t e e d   Q o S   c l a s s .   T h e   M e m o r y   M a n a g e r   e m p l o y s   h i n t   g e n e r a t i o n   p r o t o c o l   t o   y i e l d   t h e   m o s t   s u i t a b l e   N U M A   a f f i n i t y   f o r   a   p o d .   T h e   M e m o r y   M a n a g e r   f e e d s   t h e   c e n t r a l   m a n a g e r   ( T o p o l o g y   M a n a g e r )   w i t h   t h e s e   a f f i n i t y   h i n t s .   B a s e d   o n   b o t h   t h e   h i n t s   a n d   T o p o l o g y   M a n a g e r   p o l i c y ,   t h e   p o d   i s   r e j e c t e d   o r   a d m i t t e d   t o   t h e   n o d e .   M o r e o v e r ,   t h e   M e m o r y   M a n a g e r   e n s u r e s   t h a t   t h e   m e m o r y   w h i c h   a   p o d   r e q u e s t s   i s   a l l o c a t e d   f r o m   a   m i n i m u m   n u m b e r   o f   N U M A   n o d e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12947"
  },
  {
    "question": "What is Other resource managers?",
    "answer": "T h e   c o n f i g u r a t i o n   o f   i n d i v i d u a l   m a n a g e r s   i s   e l a b o r a t e d   i n   d e d i c a t e d   d o c u m e n t s :   D e v i c e   M a n a g e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12948"
  },
  {
    "question": "What is 10 - Scheduling, Preemption and Eviction?",
    "answer": "I n   K u b e r n e t e s ,   s c h e d u l i n g   r e f e r s   t o   m a k i n g   s u r e   t h a t   P o d s   a r e   m a t c h e d   t o   N o d e s   s o   t h a t   t h e   k u b e l e t   c a n   r u n   t h e m .   P r e e m p t i o n   i s   t h e   p r o c e s s   o f   t e r m i n a t i n g   P o d s   w i t h   l o w e r   P r i o r i t y   s o   t h a t   P o d s   w i t h   h i g h e r   P r i o r i t y   c a n   s c h e d u l e   o n   N o d e s .   E v i c t i o n   i s   t h e   p r o c e s s   o f   t e r m i n a t i n g   o n e   o r   m o r e   P o d s   o n   N o d e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12949"
  },
  {
    "question": "What is Scheduling?",
    "answer": "K u b e r n e t e s   S c h e d u l e r A s s i g n i n g   P o d s   t o   N o d e s P o d   O v e r h e a d P o d   T o p o l o g y   S p r e a d   C o n s t r a i n t s T a i n t s   a n d   T o l e r a t i o n s S c h e d u l i n g   F r a m e w o r k D y n a m i c   R e s o u r c e   A l l o c a t i o n S c h e d u l e r   P e r f o r m a n c e   T u n i n g R e s o u r c e   B i n   P a c k i n g   f o r   E x t e n d e d   R e s o u r c e s P o d   S c h e d u l i n g   R e a d i n e s s D e s c h e d u l e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12950"
  },
  {
    "question": "What is Pod Disruption?",
    "answer": "P o d   d i s r u p t i o n   i s   t h e   p r o c e s s   b y   w h i c h   P o d s   o n   N o d e s   a r e   t e r m i n a t e d   e i t h e r   v o l u n t a r i l y   o r   i n v o l u n t a r i l y .   V o l u n t a r y   d i s r u p t i o n s   a r e   s t a r t e d   i n t e n t i o n a l l y   b y   a p p l i c a t i o n   o w n e r s   o r   c l u s t e r   a d m i n i s t r a t o r s .   I n v o l u n t a r y   d i s r u p t i o n s   a r e   u n i n t e n t i o n a l   a n d   c a n   b e   t r i g g e r e d   b y   u n a v o i d a b l e   i s s u e s   l i k e   N o d e s   r u n n i n g   o u t   o f   r e s o u r c e s ,   o r   b y   a c c i d e n t a l   d e l e t i o n s .   P o d   P r i o r i t y   a n d   P r e e m p t i o n N o d e - p r e s s u r e   E v i c t i o n A P I - i n i t i a t e d   E v i c t i o n",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12951"
  },
  {
    "question": "What is 10.1 - Kubernetes Scheduler?",
    "answer": "I n   K u b e r n e t e s ,   s c h e d u l i n g   r e f e r s   t o   m a k i n g   s u r e   t h a t   P o d s   a r e   m a t c h e d   t o   N o d e s   s o   t h a t   K u b e l e t   c a n   r u n   t h e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12952"
  },
  {
    "question": "What is Scheduling overview?",
    "answer": "A   s c h e d u l e r   w a t c h e s   f o r   n e w l y   c r e a t e d   P o d s   t h a t   h a v e   n o   N o d e   a s s i g n e d .   F o r   e v e r y   P o d   t h a t   t h e   s c h e d u l e r   d i s c o v e r s ,   t h e   s c h e d u l e r   b e c o m e s   r e s p o n s i b l e   f o r   f i n d i n g   t h e   b e s t   N o d e   f o r   t h a t   P o d   t o   r u n   o n .   T h e   s c h e d u l e r   r e a c h e s   t h i s   p l a c e m e n t   d e c i s i o n   t a k i n g   i n t o   a c c o u n t   t h e   s c h e d u l i n g   p r i n c i p l e s   d e s c r i b e d   b e l o w .   I f   y o u   w a n t   t o   u n d e r s t a n d   w h y   P o d s   a r e   p l a c e d   o n t o   a   p a r t i c u l a r   N o d e ,   o r   i f   y o u ' r e   p l a n n i n g   t o   i m p l e m e n t   a   c u s t o m   s c h e d u l e r   y o u r s e l f ,   t h i s   p a g e   w i l l   h e l p   y o u   l e a r n   a b o u t   s c h e d u l i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12953"
  },
  {
    "question": "What is kube-scheduler?",
    "answer": "k u b e - s c h e d u l e r   i s   t h e   d e f a u l t   s c h e d u l e r   f o r   K u b e r n e t e s   a n d   r u n s   a s   p a r t   o f   t h e   c o n t r o l   p l a n e .   k u b e - s c h e d u l e r   i s   d e s i g n e d   s o   t h a t ,   i f   y o u   w a n t   a n d   n e e d   t o ,   y o u   c a n   w r i t e   y o u r   o w n   s c h e d u l i n g   c o m p o n e n t   a n d   u s e   t h a t   i n s t e a d .   K u b e - s c h e d u l e r   s e l e c t s   a n   o p t i m a l   n o d e   t o   r u n   n e w l y   c r e a t e d   o r   n o t   y e t   s c h e d u l e d   ( u n s c h e d u l e d )   p o d s .   S i n c e   c o n t a i n e r s   i n   p o d s   -   a n d   p o d s   t h e m s e l v e s   -   c a n   h a v e   d i f f e r e n t   r e q u i r e m e n t s ,   t h e   s c h e d u l e r   f i l t e r s   o u t   a n y   n o d e s   t h a t   d o n ' t   m e e t   a   P o d ' s   s p e c i f i c   s c h e d u l i n g   n e e d s .   A l t e r n a t i v e l y ,   t h e   A P I   l e t s   y o u   s p e c i f y   a   n o d e   f o r   a   P o d   w h e n   y o u   c r e a t e   i t ,   b u t   t h i s   i s   u n u s u a l   a n d   i s   o n l y   d o n e   i n   s p e c i a l   c a s e s .   I n   a   c l u s t e r ,   N o d e s   t h a t   m e e t   t h e   s c h e d u l i n g   r e q u i r e m e n t s   f o r   a   P o d   a r e   c a l l e d   f e a s i b l e   n o d e s .   I f   n o n e   o f   t h e   n o d e s   a r e   s u i t a b l e ,   t h e   p o d   r e m a i n s   u n s c h e d u l e d   u n t i l   t h e   s c h e d u l e r   i s   a b l e   t o   p l a c e   i t .   T h e   s c h e d u l e r   f i n d s   f e a s i b l e   N o d e s   f o r   a   P o d   a n d   t h e n   r u n s   a   s e t   o f   f u n c t i o n s   t o   s c o r e   t h e   f e a s i b l e   N o d e s   a n d   p i c k s   a   N o d e   w i t h   t h e   h i g h e s t   s c o r e   a m o n g   t h e   f e a s i b l e   o n e s   t o   r u n   t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12954"
  },
  {
    "question": "What is Node selection in kube-scheduler?",
    "answer": "k u b e - s c h e d u l e r   s e l e c t s   a   n o d e   f o r   t h e   p o d   i n   a   2 - s t e p   o p e r a t i o n :   F i l t e r i n g S c o r i n g   T h e   f i l t e r i n g   s t e p   f i n d s   t h e   s e t   o f   N o d e s   w h e r e   i t ' s   f e a s i b l e   t o   s c h e d u l e   t h e   P o d .   F o r   e x a m p l e ,   t h e   P o d F i t s R e s o u r c e s   f i l t e r   c h e c k s   w h e t h e r   a   c a n d i d a t e   N o d e   h a s   e n o u g h   a v a i l a b l e   r e s o u r c e s   t o   m e e t   a   P o d ' s   s p e c i f i c   r e s o u r c e   r e q u e s t s .   A f t e r   t h i s   s t e p ,   t h e   n o d e   l i s t   c o n t a i n s   a n y   s u i t a b l e   N o d e s ;   o f t e n ,   t h e r e   w i l l   b e   m o r e   t h a n   o n e .   I f   t h e   l i s t   i s   e m p t y ,   t h a t   P o d   i s n ' t   ( y e t )   s c h e d u l a b l e .   I n   t h e   s c o r i n g   s t e p ,   t h e   s c h e d u l e r   r a n k s   t h e   r e m a i n i n g   n o d e s   t o   c h o o s e   t h e   m o s t   s u i t a b l e   P o d   p l a c e m e n t .   T h e   s c h e d u l e r   a s s i g n s   a   s c o r e   t o   e a c h   N o d e   t h a t   s u r v i v e d   f i l t e r i n g ,   b a s i n g   t h i s   s c o r e   o n   t h e   a c t i v e   s c o r i n g   r u l e s .   F i n a l l y ,   k u b e - s c h e d u l e r   a s s i g n s   t h e   P o d   t o   t h e   N o d e   w i t h   t h e   h i g h e s t   r a n k i n g .   I f   t h e r e   i s   m o r e   t h a n   o n e   n o d e   w i t h   e q u a l   s c o r e s ,   k u b e - s c h e d u l e r   s e l e c t s   o n e   o f   t h e s e   a t   r a n d o m .   T h e r e   a r e   t w o   s u p p o r t e d   w a y s   t o   c o n f i g u r e   t h e   f i l t e r i n g   a n d   s c o r i n g   b e h a v i o r   o f   t h e   s c h e d u l e r :   S c h e d u l i n g   P o l i c i e s   a l l o w   y o u   t o   c o n f i g u r e   P r e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12955"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   s c h e d u l e r   p e r f o r m a n c e   t u n i n g R e a d   a b o u t   P o d   t o p o l o g y   s p r e a d   c o n s t r a i n t s R e a d   t h e   r e f e r e n c e   d o c u m e n t a t i o n   f o r   k u b e - s c h e d u l e r R e a d   t h e   k u b e - s c h e d u l e r   c o n f i g   ( v 1 )   r e f e r e n c e L e a r n   a b o u t   c o n f i g u r i n g   m u l t i p l e   s c h e d u l e r s L e a r n   a b o u t   t o p o l o g y   m a n a g e m e n t   p o l i c i e s L e a r n   a b o u t   P o d   O v e r h e a d L e a r n   a b o u t   s c h e d u l i n g   o f   P o d s   t h a t   u s e   v o l u m e s   i n : V o l u m e   T o p o l o g y   S u p p o r t S t o r a g e   C a p a c i t y   T r a c k i n g N o d e - s p e c i f i c   V o l u m e   L i m i t s   V o l u m e   T o p o l o g y   S u p p o r t S t o r a g e   C a p a c i t y   T r a c k i n g N o d e - s p e c i f i c   V o l u m e   L i m i t s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12956"
  },
  {
    "question": "What is 10.2 - Assigning Pods to Nodes?",
    "answer": "Y o u   c a n   c o n s t r a i n   a   P o d   s o   t h a t   i t   i s   r e s t r i c t e d   t o   r u n   o n   p a r t i c u l a r   n o d e ( s ) ,   o r   t o   p r e f e r   t o   r u n   o n   p a r t i c u l a r   n o d e s .   T h e r e   a r e   s e v e r a l   w a y s   t o   d o   t h i s   a n d   t h e   r e c o m m e n d e d   a p p r o a c h e s   a l l   u s e   l a b e l   s e l e c t o r s   t o   f a c i l i t a t e   t h e   s e l e c t i o n .   O f t e n ,   y o u   d o   n o t   n e e d   t o   s e t   a n y   s u c h   c o n s t r a i n t s ;   t h e   s c h e d u l e r   w i l l   a u t o m a t i c a l l y   d o   a   r e a s o n a b l e   p l a c e m e n t   ( f o r   e x a m p l e ,   s p r e a d i n g   y o u r   P o d s   a c r o s s   n o d e s   s o   a s   n o t   p l a c e   P o d s   o n   a   n o d e   w i t h   i n s u f f i c i e n t   f r e e   r e s o u r c e s ) .   H o w e v e r ,   t h e r e   a r e   s o m e   c i r c u m s t a n c e s   w h e r e   y o u   m a y   w a n t   t o   c o n t r o l   w h i c h   n o d e   t h e   P o d   d e p l o y s   t o ,   f o r   e x a m p l e ,   t o   e n s u r e   t h a t   a   P o d   e n d s   u p   o n   a   n o d e   w i t h   a n   S S D   a t t a c h e d   t o   i t ,   o r   t o   c o - l o c a t e   P o d s   f r o m   t w o   d i f f e r e n t   s e r v i c e s   t h a t   c o m m u n i c a t e   a   l o t   i n t o   t h e   s a m e   a v a i l a b i l i t y   z o n e .   Y o u   c a n   u s e   a n y   o f   t h e   f o l l o w i n g   m e t h o d s   t o   c h o o s e   w h e r e   K u b e r n e t e s   s c h e d u l e s   s p e c i f i c   P o d s :   n o d e S e l e c t o r   f i e l d   m a t c h i n g   a g a i n s t   n o d e   l a b e l s A f f i n i t y   a n d   a n t i - a f f i n i t y n o d e N a m e   f i e l d P o d   t o p o l o g y   s p r e a d   c o n s t r a i n t s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12957"
  },
  {
    "question": "What is Node labels?",
    "answer": "L i k e   m a n y   o t h e r   K u b e r n e t e s   o b j e c t s ,   n o d e s   h a v e   l a b e l s .   Y o u   c a n   a t t a c h   l a b e l s   m a n u a l l y .   K u b e r n e t e s   a l s o   p o p u l a t e s   a   s t a n d a r d   s e t   o f   l a b e l s   o n   a l l   n o d e s   i n   a   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12958"
  },
  {
    "question": "What is Node isolation/restriction?",
    "answer": "A d d i n g   l a b e l s   t o   n o d e s   a l l o w s   y o u   t o   t a r g e t   P o d s   f o r   s c h e d u l i n g   o n   s p e c i f i c   n o d e s   o r   g r o u p s   o f   n o d e s .   Y o u   c a n   u s e   t h i s   f u n c t i o n a l i t y   t o   e n s u r e   t h a t   s p e c i f i c   P o d s   o n l y   r u n   o n   n o d e s   w i t h   c e r t a i n   i s o l a t i o n ,   s e c u r i t y ,   o r   r e g u l a t o r y   p r o p e r t i e s .   I f   y o u   u s e   l a b e l s   f o r   n o d e   i s o l a t i o n ,   c h o o s e   l a b e l   k e y s   t h a t   t h e   k u b e l e t   c a n n o t   m o d i f y .   T h i s   p r e v e n t s   a   c o m p r o m i s e d   n o d e   f r o m   s e t t i n g   t h o s e   l a b e l s   o n   i t s e l f   s o   t h a t   t h e   s c h e d u l e r   s c h e d u l e s   w o r k l o a d s   o n t o   t h e   c o m p r o m i s e d   n o d e .   T h e   N o d e R e s t r i c t i o n   a d m i s s i o n   p l u g i n   p r e v e n t s   t h e   k u b e l e t   f r o m   s e t t i n g   o r   m o d i f y i n g   l a b e l s   w i t h   a   n o d e - r e s t r i c t i o n . k u b e r n e t e s . i o /   p r e f i x .   T o   m a k e   u s e   o f   t h a t   l a b e l   p r e f i x   f o r   n o d e   i s o l a t i o n :   E n s u r e   y o u   a r e   u s i n g   t h e   N o d e   a u t h o r i z e r   a n d   h a v e   e n a b l e d   t h e   N o d e R e s t r i c t i o n   a d m i s s i o n   p l u g i n . A d d   l a b e l s   w i t h   t h e   n o d e - r e s t r i c t i o n . k u b e r n e t e s . i o /   p r e f i x   t o   y o u r   n o d e s ,   a n d   u s e   t h o s e   l a b e l s   i n   y o u r   n o d e   s e l e c t o r s .   F o r   e x a m p l e ,   e x a m p l e . c o m . n o d e - r e s t r i c t i o n . k u b e r n e t e s . i o / f i p s = t r u e   o r   e x a m p l e . c o m . n o d e - r e s t r i c t i o n . k u b e r n e t e s . i o / p c i - d s s = t r u e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12959"
  },
  {
    "question": "What is nodeSelector?",
    "answer": "n o d e S e l e c t o r   i s   t h e   s i m p l e s t   r e c o m m e n d e d   f o r m   o f   n o d e   s e l e c t i o n   c o n s t r a i n t .   Y o u   c a n   a d d   t h e   n o d e S e l e c t o r   f i e l d   t o   y o u r   P o d   s p e c i f i c a t i o n   a n d   s p e c i f y   t h e   n o d e   l a b e l s   y o u   w a n t   t h e   t a r g e t   n o d e   t o   h a v e .   K u b e r n e t e s   o n l y   s c h e d u l e s   t h e   P o d   o n t o   n o d e s   t h a t   h a v e   e a c h   o f   t h e   l a b e l s   y o u   s p e c i f y .   S e e   A s s i g n   P o d s   t o   N o d e s   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12960"
  },
  {
    "question": "What is Affinity and anti-affinity?",
    "answer": "n o d e S e l e c t o r   i s   t h e   s i m p l e s t   w a y   t o   c o n s t r a i n   P o d s   t o   n o d e s   w i t h   s p e c i f i c   l a b e l s .   A f f i n i t y   a n d   a n t i - a f f i n i t y   e x p a n d   t h e   t y p e s   o f   c o n s t r a i n t s   y o u   c a n   d e f i n e .   S o m e   o f   t h e   b e n e f i t s   o f   a f f i n i t y   a n d   a n t i - a f f i n i t y   i n c l u d e :   T h e   a f f i n i t y / a n t i - a f f i n i t y   l a n g u a g e   i s   m o r e   e x p r e s s i v e .   n o d e S e l e c t o r   o n l y   s e l e c t s   n o d e s   w i t h   a l l   t h e   s p e c i f i e d   l a b e l s .   A f f i n i t y / a n t i - a f f i n i t y   g i v e s   y o u   m o r e   c o n t r o l   o v e r   t h e   s e l e c t i o n   l o g i c . Y o u   c a n   i n d i c a t e   t h a t   a   r u l e   i s   s o f t   o r   p r e f e r r e d ,   s o   t h a t   t h e   s c h e d u l e r   s t i l l   s c h e d u l e s   t h e   P o d   e v e n   i f   i t   c a n ' t   f i n d   a   m a t c h i n g   n o d e . Y o u   c a n   c o n s t r a i n   a   P o d   u s i n g   l a b e l s   o n   o t h e r   P o d s   r u n n i n g   o n   t h e   n o d e   ( o r   o t h e r   t o p o l o g i c a l   d o m a i n ) ,   i n s t e a d   o f   j u s t   n o d e   l a b e l s ,   w h i c h   a l l o w s   y o u   t o   d e f i n e   r u l e s   f o r   w h i c h   P o d s   c a n   b e   c o - l o c a t e d   o n   a   n o d e .   T h e   a f f i n i t y   f e a t u r e   c o n s i s t s   o f   t w o   t y p e s   o f   a f f i n i t y :   N o d e   a f f i n i t y   f u n c t i o n s   l i k e   t h e   n o d e S e l e c t o r   f i e l d   b u t   i s   m o r e   e x p r e s s i v e   a n d   a l l o w s   y o u   t o   s p e c i f y   s o f t   r u l e s . I n t e r - p o d   a f f i n i t y / a n t i - a f f i n i t y   a l l o w s   y o u   t o   c o n s t r a i n   P o d s   a g a i n s t   l a b e l s   o n   o t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12961"
  },
  {
    "question": "What is Node affinity?",
    "answer": "N o d e   a f f i n i t y   i s   c o n c e p t u a l l y   s i m i l a r   t o   n o d e S e l e c t o r ,   a l l o w i n g   y o u   t o   c o n s t r a i n   w h i c h   n o d e s   y o u r   P o d   c a n   b e   s c h e d u l e d   o n   b a s e d   o n   n o d e   l a b e l s .   T h e r e   a r e   t w o   t y p e s   o f   n o d e   a f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   T h e   s c h e d u l e r   c a n ' t   s c h e d u l e   t h e   P o d   u n l e s s   t h e   r u l e   i s   m e t .   T h i s   f u n c t i o n s   l i k e   n o d e S e l e c t o r ,   b u t   w i t h   a   m o r e   e x p r e s s i v e   s y n t a x . p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   T h e   s c h e d u l e r   t r i e s   t o   f i n d   a   n o d e   t h a t   m e e t s   t h e   r u l e .   I f   a   m a t c h i n g   n o d e   i s   n o t   a v a i l a b l e ,   t h e   s c h e d u l e r   s t i l l   s c h e d u l e s   t h e   P o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12962"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   s p e c i f y   n o d e   a f f i n i t i e s   u s i n g   t h e   . s p e c . a f f i n i t y . n o d e A f f i n i t y   f i e l d   i n   y o u r   P o d   s p e c .   F o r   e x a m p l e ,   c o n s i d e r   t h e   f o l l o w i n g   P o d   s p e c :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   w i t h - n o d e - a f f i n i t y   s p e c :   a f f i n i t y :   n o d e A f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   n o d e S e l e c t o r T e r m s :   -   m a t c h E x p r e s s i o n s :   -   k e y :   t o p o l o g y . k u b e r n e t e s . i o / z o n e   o p e r a t o r :   I n   v a l u e s :   -   a n t a r c t i c a - e a s t 1   -   a n t a r c t i c a - w e s t 1   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   -   w e i g h t :   1   p r e f e r e n c e :   m a t c h E x p r e s s i o n s :   -   k e y :   a n o t h e r - n o d e - l a b e l - k e y   o p e r a t o r :   I n   v a l u e s :   -   a n o t h e r - n o d e - l a b e l - v a l u e   c o n t a i n e r s :   -   n a m e :   w i t h - n o d e - a f f i n i t y   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 8   I n   t h i s   e x a m p l e ,   t h e   f o l l o w i n g   r u l e s   a p p l y :   T h e   n o d e   m u s t   h a v e   a   l a b e l   w i t h   t h e   k e y   t o p o l o g y . k u b e r n e t e s . i o / z o n e   a n d   t h e   v a l u e   o f   t h a t   l a b e l   m u s t   b e   e i t h e r   a n t a r c t i c a - e a s t 1   o r   a n t a r c t i c a - w e s t 1 . T h e   n o d e   p r e f e r a b l y   h a s   a   l a b e l   w i t h   t h e   k e y   a n o t h e r - n o d e - l a b e l - k e y   a n d   t h e   v a l u e   a n o t h e r - n o d e - l a b e l - v a l u e .   Y o u   c a n   u s e   t h e   o p e r a t o r   f i e l d   t o   s p e c i f y   a   l o g i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12963"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   s p e c i f y   b o t h   n o d e S e l e c t o r   a n d   n o d e A f f i n i t y ,   b o t h   m u s t   b e   s a t i s f i e d   f o r   t h e   P o d   t o   b e   s c h e d u l e d   o n t o   a   n o d e .   I f   y o u   s p e c i f y   m u l t i p l e   t e r m s   i n   n o d e S e l e c t o r T e r m s   a s s o c i a t e d   w i t h   n o d e A f f i n i t y   t y p e s ,   t h e n   t h e   P o d   c a n   b e   s c h e d u l e d   o n t o   a   n o d e   i f   o n e   o f   t h e   s p e c i f i e d   t e r m s   c a n   b e   s a t i s f i e d   ( t e r m s   a r e   O R e d ) .   I f   y o u   s p e c i f y   m u l t i p l e   e x p r e s s i o n s   i n   a   s i n g l e   m a t c h E x p r e s s i o n s   f i e l d   a s s o c i a t e d   w i t h   a   t e r m   i n   n o d e S e l e c t o r T e r m s ,   t h e n   t h e   P o d   c a n   b e   s c h e d u l e d   o n t o   a   n o d e   o n l y   i f   a l l   t h e   e x p r e s s i o n s   a r e   s a t i s f i e d   ( e x p r e s s i o n s   a r e   A N D e d ) .   S e e   A s s i g n   P o d s   t o   N o d e s   u s i n g   N o d e   A f f i n i t y   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12964"
  },
  {
    "question": "What is Node affinity weight?",
    "answer": "Y o u   c a n   s p e c i f y   a   w e i g h t   b e t w e e n   1   a n d   1 0 0   f o r   e a c h   i n s t a n c e   o f   t h e   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   a f f i n i t y   t y p e .   W h e n   t h e   s c h e d u l e r   f i n d s   n o d e s   t h a t   m e e t   a l l   t h e   o t h e r   s c h e d u l i n g   r e q u i r e m e n t s   o f   t h e   P o d ,   t h e   s c h e d u l e r   i t e r a t e s   t h r o u g h   e v e r y   p r e f e r r e d   r u l e   t h a t   t h e   n o d e   s a t i s f i e s   a n d   a d d s   t h e   v a l u e   o f   t h e   w e i g h t   f o r   t h a t   e x p r e s s i o n   t o   a   s u m .   T h e   f i n a l   s u m   i s   a d d e d   t o   t h e   s c o r e   o f   o t h e r   p r i o r i t y   f u n c t i o n s   f o r   t h e   n o d e .   N o d e s   w i t h   t h e   h i g h e s t   t o t a l   s c o r e   a r e   p r i o r i t i z e d   w h e n   t h e   s c h e d u l e r   m a k e s   a   s c h e d u l i n g   d e c i s i o n   f o r   t h e   P o d .   F o r   e x a m p l e ,   c o n s i d e r   t h e   f o l l o w i n g   P o d   s p e c :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   w i t h - a f f i n i t y - p r e f e r r e d - w e i g h t   s p e c :   a f f i n i t y :   n o d e A f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   n o d e S e l e c t o r T e r m s :   -   m a t c h E x p r e s s i o n s :   -   k e y :   k u b e r n e t e s . i o / o s   o p e r a t o r :   I n   v a l u e s :   -   l i n u x   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   -   w e i g h t :   1   p r e f e r e n c e :   m a t c h E x p r e s s i o n s :   -   k e y :   l a b e l - 1   o p e r a t o r :   I n   v a l u e s :   -   k e y - 1   -   w e i g h t :   5 0   p r e f e r e n c e :   m a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12965"
  },
  {
    "question": "What is Node affinity per scheduling profile?",
    "answer": "W h e n   c o n f i g u r i n g   m u l t i p l e   s c h e d u l i n g   p r o f i l e s ,   y o u   c a n   a s s o c i a t e   a   p r o f i l e   w i t h   a   n o d e   a f f i n i t y ,   w h i c h   i s   u s e f u l   i f   a   p r o f i l e   o n l y   a p p l i e s   t o   a   s p e c i f i c   s e t   o f   n o d e s .   T o   d o   s o ,   a d d   a n   a d d e d A f f i n i t y   t o   t h e   a r g s   f i e l d   o f   t h e   N o d e A f f i n i t y   p l u g i n   i n   t h e   s c h e d u l e r   c o n f i g u r a t i o n .   F o r   e x a m p l e :   a p i V e r s i o n :   k u b e s c h e d u l e r . c o n f i g . k 8 s . i o / v 1   k i n d :   K u b e S c h e d u l e r C o n f i g u r a t i o n   p r o f i l e s :   -   s c h e d u l e r N a m e :   d e f a u l t - s c h e d u l e r   -   s c h e d u l e r N a m e :   f o o - s c h e d u l e r   p l u g i n C o n f i g :   -   n a m e :   N o d e A f f i n i t y   a r g s :   a d d e d A f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   n o d e S e l e c t o r T e r m s :   -   m a t c h E x p r e s s i o n s :   -   k e y :   s c h e d u l e r - p r o f i l e   o p e r a t o r :   I n   v a l u e s :   -   f o o   T h e   a d d e d A f f i n i t y   i s   a p p l i e d   t o   a l l   P o d s   t h a t   s e t   . s p e c . s c h e d u l e r N a m e   t o   f o o - s c h e d u l e r ,   i n   a d d i t i o n   t o   t h e   N o d e A f f i n i t y   s p e c i f i e d   i n   t h e   P o d S p e c .   T h a t   i s ,   i n   o r d e r   t o   m a t c h   t h e   P o d ,   n o d e s   n e e d   t o   s a t i s f y   a d d e d A f f i n i t y   a n d   t h e   P o d ' s   . s p e c . N o d e A f f i n i t y .   S i n c e   t h e   a d d e d A f f i n i t y   i s   n o t   v i s i b l e   t o   e n d   u s e r s ,   i t s   b e h a v i o r   m i g h t   b e   u n e x p e c t e d   t o   t h e m .   U s e   n o d e   l a b e l s   t h ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12966"
  },
  {
    "question": "What is Inter-pod affinity and anti-affinity?",
    "answer": "I n t e r - p o d   a f f i n i t y   a n d   a n t i - a f f i n i t y   a l l o w   y o u   t o   c o n s t r a i n   w h i c h   n o d e s   y o u r   P o d s   c a n   b e   s c h e d u l e d   o n   b a s e d   o n   t h e   l a b e l s   o f   P o d s   a l r e a d y   r u n n i n g   o n   t h a t   n o d e ,   i n s t e a d   o f   t h e   n o d e   l a b e l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12967"
  },
  {
    "question": "What is Types of Inter-pod Affinity and Anti-affinity?",
    "answer": "I n t e r - p o d   a f f i n i t y   a n d   a n t i - a f f i n i t y   t a k e   t h e   f o r m   \" t h i s   P o d   s h o u l d   ( o r ,   i n   t h e   c a s e   o f   a n t i - a f f i n i t y ,   s h o u l d   n o t )   r u n   i n   a n   X   i f   t h a t   X   i s   a l r e a d y   r u n n i n g   o n e   o r   m o r e   P o d s   t h a t   m e e t   r u l e   Y \" ,   w h e r e   X   i s   a   t o p o l o g y   d o m a i n   l i k e   n o d e ,   r a c k ,   c l o u d   p r o v i d e r   z o n e   o r   r e g i o n ,   o r   s i m i l a r   a n d   Y   i s   t h e   r u l e   K u b e r n e t e s   t r i e s   t o   s a t i s f y .   Y o u   e x p r e s s   t h e s e   r u l e s   ( Y )   a s   l a b e l   s e l e c t o r s   w i t h   a n   o p t i o n a l   a s s o c i a t e d   l i s t   o f   n a m e s p a c e s .   P o d s   a r e   n a m e s p a c e d   o b j e c t s   i n   K u b e r n e t e s ,   s o   P o d   l a b e l s   a l s o   i m p l i c i t l y   h a v e   n a m e s p a c e s .   A n y   l a b e l   s e l e c t o r s   f o r   P o d   l a b e l s   s h o u l d   s p e c i f y   t h e   n a m e s p a c e s   i n   w h i c h   K u b e r n e t e s   s h o u l d   l o o k   f o r   t h o s e   l a b e l s .   Y o u   e x p r e s s   t h e   t o p o l o g y   d o m a i n   ( X )   u s i n g   a   t o p o l o g y K e y ,   w h i c h   i s   t h e   k e y   f o r   t h e   n o d e   l a b e l   t h a t   t h e   s y s t e m   u s e s   t o   d e n o t e   t h e   d o m a i n .   F o r   e x a m p l e s ,   s e e   W e l l - K n o w n   L a b e l s ,   A n n o t a t i o n s   a n d   T a i n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12968"
  },
  {
    "question": "What is Note:?",
    "answer": "S i m i l a r   t o   n o d e   a f f i n i t y   a r e   t w o   t y p e s   o f   P o d   a f f i n i t y   a n d   a n t i - a f f i n i t y   a s   f o l l o w s :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   F o r   e x a m p l e ,   y o u   c o u l d   u s e   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   a f f i n i t y   t o   t e l l   t h e   s c h e d u l e r   t o   c o - l o c a t e   P o d s   o f   t w o   s e r v i c e s   i n   t h e   s a m e   c l o u d   p r o v i d e r   z o n e   b e c a u s e   t h e y   c o m m u n i c a t e   w i t h   e a c h   o t h e r   a   l o t .   S i m i l a r l y ,   y o u   c o u l d   u s e   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   a n t i - a f f i n i t y   t o   s p r e a d   P o d s   f r o m   a   s e r v i c e   a c r o s s   m u l t i p l e   c l o u d   p r o v i d e r   z o n e s .   T o   u s e   i n t e r - p o d   a f f i n i t y ,   u s e   t h e   a f f i n i t y . p o d A f f i n i t y   f i e l d   i n   t h e   P o d   s p e c .   F o r   i n t e r - p o d   a n t i - a f f i n i t y ,   u s e   t h e   a f f i n i t y . p o d A n t i A f f i n i t y   f i e l d   i n   t h e   P o d   s p e c .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12969"
  },
  {
    "question": "What is Scheduling Behavior?",
    "answer": "W h e n   s c h e d u l i n g   a   n e w   P o d ,   t h e   K u b e r n e t e s   s c h e d u l e r   e v a l u a t e s   t h e   P o d ' s   a f f i n i t y / a n t i - a f f i n i t y   r u l e s   i n   t h e   c o n t e x t   o f   t h e   c u r r e n t   c l u s t e r   s t a t e :   H a r d   C o n s t r a i n t s   ( N o d e   F i l t e r i n g ) : p o d A f f i n i t y . r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   a n d   p o d A n t i A f f i n i t y . r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n : T h e   s c h e d u l e r   e n s u r e s   t h e   n e w   P o d   i s   a s s i g n e d   t o   n o d e s   t h a t   s a t i s f y   t h e s e   r e q u i r e d   a f f i n i t y   a n d   a n t i - a f f i n i t y   r u l e s   b a s e d   o n   e x i s t i n g   P o d s . S o f t   C o n s t r a i n t s   ( S c o r i n g ) : p o d A f f i n i t y . p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   a n d   p o d A n t i A f f i n i t y . p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n : T h e   s c h e d u l e r   s c o r e s   n o d e s   b a s e d   o n   h o w   w e l l   t h e y   m e e t   t h e s e   p r e f e r r e d   a f f i n i t y   a n d   a n t i - a f f i n i t y   r u l e s   t o   o p t i m i z e   P o d   p l a c e m e n t . I g n o r e d   F i e l d s : E x i s t i n g   P o d s '   p o d A f f i n i t y . p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n : T h e s e   p r e f e r r e d   a f f i n i t y   r u l e s   a r e   n o t   c o n s i d e r e d   d u r i n g   t h e   s c h e d u l i n g   d e c i s i o n   f o r   n e w   P o d s . E x i s t i n g   P o d s '   p o d A n t i A f f i n i t y . p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n : S i m i l a r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12970"
  },
  {
    "question": "What is Scheduling a Group of Pods with Inter-pod Affinity to Themselves?",
    "answer": "I f   t h e   c u r r e n t   P o d   b e i n g   s c h e d u l e d   i s   t h e   f i r s t   i n   a   s e r i e s   t h a t   h a v e   a f f i n i t y   t o   t h e m s e l v e s ,   i t   i s   a l l o w e d   t o   b e   s c h e d u l e d   i f   i t   p a s s e s   a l l   o t h e r   a f f i n i t y   c h e c k s .   T h i s   i s   d e t e r m i n e d   b y   v e r i f y i n g   t h a t   n o   o t h e r   P o d   i n   t h e   c l u s t e r   m a t c h e s   t h e   n a m e s p a c e   a n d   s e l e c t o r   o f   t h i s   P o d ,   t h a t   t h e   P o d   m a t c h e s   i t s   o w n   t e r m s ,   a n d   t h e   c h o s e n   n o d e   m a t c h e s   a l l   r e q u e s t e d   t o p o l o g i e s .   T h i s   e n s u r e s   t h a t   t h e r e   w i l l   n o t   b e   a   d e a d l o c k   e v e n   i f   a l l   t h e   P o d s   h a v e   i n t e r - p o d   a f f i n i t y   s p e c i f i e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12971"
  },
  {
    "question": "What is Pod Affinity Example?",
    "answer": "C o n s i d e r   t h e   f o l l o w i n g   P o d   s p e c :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   w i t h - p o d - a f f i n i t y   s p e c :   a f f i n i t y :   p o d A f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   -   l a b e l S e l e c t o r :   m a t c h E x p r e s s i o n s :   -   k e y :   s e c u r i t y   o p e r a t o r :   I n   v a l u e s :   -   S 1   t o p o l o g y K e y :   t o p o l o g y . k u b e r n e t e s . i o / z o n e   p o d A n t i A f f i n i t y :   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   -   w e i g h t :   1 0 0   p o d A f f i n i t y T e r m :   l a b e l S e l e c t o r :   m a t c h E x p r e s s i o n s :   -   k e y :   s e c u r i t y   o p e r a t o r :   I n   v a l u e s :   -   S 2   t o p o l o g y K e y :   t o p o l o g y . k u b e r n e t e s . i o / z o n e   c o n t a i n e r s :   -   n a m e :   w i t h - p o d - a f f i n i t y   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 8   T h i s   e x a m p l e   d e f i n e s   o n e   P o d   a f f i n i t y   r u l e   a n d   o n e   P o d   a n t i - a f f i n i t y   r u l e .   T h e   P o d   a f f i n i t y   r u l e   u s e s   t h e   \" h a r d \"   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n ,   w h i l e   t h e   a n t i - a f f i n i t y   r u l e   u s e s   t h e   \" s o f t \"   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n .   T h e   a f f i n i t y   r u l e   s p e c i f i e s   t h a t   t h e   s c h e d u l e r   i s   a l l o w e d   t o   p l a c e   t h e   e x a m p l e   P o d   o n   a   n o d e   o n l y   i f   t h a t   n o d e   b e l o n g s   t o   a   s p e c i f i c   z o n e   w h e r e   o t h e r   P o d s   h a v e   b e e n   l a b e l e d   w ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12972"
  },
  {
    "question": "What is Namespace Selector?",
    "answer": "Y o u   c a n   a l s o   s e l e c t   m a t c h i n g   n a m e s p a c e s   u s i n g   n a m e s p a c e S e l e c t o r ,   w h i c h   i s   a   l a b e l   q u e r y   o v e r   t h e   s e t   o f   n a m e s p a c e s .   T h e   a f f i n i t y   t e r m   i s   a p p l i e d   t o   n a m e s p a c e s   s e l e c t e d   b y   b o t h   n a m e s p a c e S e l e c t o r   a n d   t h e   n a m e s p a c e s   f i e l d .   N o t e   t h a t   a n   e m p t y   n a m e s p a c e S e l e c t o r   ( { } )   m a t c h e s   a l l   n a m e s p a c e s ,   w h i l e   a   n u l l   o r   e m p t y   n a m e s p a c e s   l i s t   a n d   n u l l   n a m e s p a c e S e l e c t o r   m a t c h e s   t h e   n a m e s p a c e   o f   t h e   P o d   w h e r e   t h e   r u l e   i s   d e f i n e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12973"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   m a t c h L a b e l K e y s   f i e l d   i s   a   b e t a - l e v e l   f i e l d   a n d   i s   e n a b l e d   b y   d e f a u l t   i n   K u b e r n e t e s   1 . 3 4 .   W h e n   y o u   w a n t   t o   d i s a b l e   i t ,   y o u   h a v e   t o   d i s a b l e   i t   e x p l i c i t l y   v i a   t h e   M a t c h L a b e l K e y s I n P o d A f f i n i t y   f e a t u r e   g a t e .   K u b e r n e t e s   i n c l u d e s   a n   o p t i o n a l   m a t c h L a b e l K e y s   f i e l d   f o r   P o d   a f f i n i t y   o r   a n t i - a f f i n i t y .   T h e   f i e l d   s p e c i f i e s   k e y s   f o r   t h e   l a b e l s   t h a t   s h o u l d   m a t c h   w i t h   t h e   i n c o m i n g   P o d ' s   l a b e l s ,   w h e n   s a t i s f y i n g   t h e   P o d   ( a n t i ) a f f i n i t y .   T h e   k e y s   a r e   u s e d   t o   l o o k   u p   v a l u e s   f r o m   t h e   P o d   l a b e l s ;   t h o s e   k e y - v a l u e   l a b e l s   a r e   c o m b i n e d   ( u s i n g   A N D )   w i t h   t h e   m a t c h   r e s t r i c t i o n s   d e f i n e d   u s i n g   t h e   l a b e l S e l e c t o r   f i e l d .   T h e   c o m b i n e d   f i l t e r i n g   s e l e c t s   t h e   s e t   o f   e x i s t i n g   P o d s   t h a t   w i l l   b e   t a k e n   i n t o   P o d   ( a n t i ) a f f i n i t y   c a l c u l a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12974"
  },
  {
    "question": "What is Caution:?",
    "answer": "A   c o m m o n   u s e   c a s e   i s   t o   u s e   m a t c h L a b e l K e y s   w i t h   p o d - t e m p l a t e - h a s h   ( s e t   o n   P o d s   m a n a g e d   a s   p a r t   o f   a   D e p l o y m e n t ,   w h e r e   t h e   v a l u e   i s   u n i q u e   f o r   e a c h   r e v i s i o n ) .   U s i n g   p o d - t e m p l a t e - h a s h   i n   m a t c h L a b e l K e y s   a l l o w s   y o u   t o   t a r g e t   t h e   P o d s   t h a t   b e l o n g   t o   t h e   s a m e   r e v i s i o n   a s   t h e   i n c o m i n g   P o d ,   s o   t h a t   a   r o l l i n g   u p g r a d e   w o n ' t   b r e a k   a f f i n i t y .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   a p p l i c a t i o n - s e r v e r   . . .   s p e c :   t e m p l a t e :   s p e c :   a f f i n i t y :   p o d A f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   -   l a b e l S e l e c t o r :   m a t c h E x p r e s s i o n s :   -   k e y :   a p p   o p e r a t o r :   I n   v a l u e s :   -   d a t a b a s e   t o p o l o g y K e y :   t o p o l o g y . k u b e r n e t e s . i o / z o n e   #   O n l y   P o d s   f r o m   a   g i v e n   r o l l o u t   a r e   t a k e n   i n t o   c o n s i d e r a t i o n   w h e n   c a l c u l a t i n g   p o d   a f f i n i t y .   #   I f   y o u   u p d a t e   t h e   D e p l o y m e n t ,   t h e   r e p l a c e m e n t   P o d s   f o l l o w   t h e i r   o w n   a f f i n i t y   r u l e s   #   ( i f   t h e r e   a r e   a n y   d e f i n e d   i n   t h e   n e w   P o d   t e m p l a t e )   m a t c h L a b e l K e y s :   -   p o d - t e m p l a t e - h a s h",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12975"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   m i s m a t c h L a b e l K e y s   f i e l d   i s   a   b e t a - l e v e l   f i e l d   a n d   i s   e n a b l e d   b y   d e f a u l t   i n   K u b e r n e t e s   1 . 3 4 .   W h e n   y o u   w a n t   t o   d i s a b l e   i t ,   y o u   h a v e   t o   d i s a b l e   i t   e x p l i c i t l y   v i a   t h e   M a t c h L a b e l K e y s I n P o d A f f i n i t y   f e a t u r e   g a t e .   K u b e r n e t e s   i n c l u d e s   a n   o p t i o n a l   m i s m a t c h L a b e l K e y s   f i e l d   f o r   P o d   a f f i n i t y   o r   a n t i - a f f i n i t y .   T h e   f i e l d   s p e c i f i e s   k e y s   f o r   t h e   l a b e l s   t h a t   s h o u l d   n o t   m a t c h   w i t h   t h e   i n c o m i n g   P o d ' s   l a b e l s ,   w h e n   s a t i s f y i n g   t h e   P o d   ( a n t i ) a f f i n i t y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12976"
  },
  {
    "question": "What is Caution:?",
    "answer": "O n e   e x a m p l e   u s e   c a s e   i s   t o   e n s u r e   P o d s   g o   t o   t h e   t o p o l o g y   d o m a i n   ( n o d e ,   z o n e ,   e t c )   w h e r e   o n l y   P o d s   f r o m   t h e   s a m e   t e n a n t   o r   t e a m   a r e   s c h e d u l e d   i n .   I n   o t h e r   w o r d s ,   y o u   w a n t   t o   a v o i d   r u n n i n g   P o d s   f r o m   t w o   d i f f e r e n t   t e n a n t s   o n   t h e   s a m e   t o p o l o g y   d o m a i n   a t   t h e   s a m e   t i m e .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   l a b e l s :   #   A s s u m e   t h a t   a l l   r e l e v a n t   P o d s   h a v e   a   \" t e n a n t \"   l a b e l   s e t   t e n a n t :   t e n a n t - a   . . .   s p e c :   a f f i n i t y :   p o d A f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   #   e n s u r e   t h a t   P o d s   a s s o c i a t e d   w i t h   t h i s   t e n a n t   l a n d   o n   t h e   c o r r e c t   n o d e   p o o l   -   m a t c h L a b e l K e y s :   -   t e n a n t   t o p o l o g y K e y :   n o d e - p o o l   p o d A n t i A f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   #   e n s u r e   t h a t   P o d s   a s s o c i a t e d   w i t h   t h i s   t e n a n t   c a n ' t   s c h e d u l e   t o   n o d e s   u s e d   f o r   a n o t h e r   t e n a n t   -   m i s m a t c h L a b e l K e y s :   -   t e n a n t   #   w h a t e v e r   t h e   v a l u e   o f   t h e   \" t e n a n t \"   l a b e l   f o r   t h i s   P o d ,   p r e v e n t   #   s c h e d u l i n g   t o   n o d e s   i n   a n y   p o o l   w h e r e   a n y   P o d   f r o m   a   d i f f e r e n t   #   t e n a n t   i s   r u n n i n g .   l a b e l S e l e c t o r :   #   W e   h a v e   t o   h a v e   t h e   l a b e l S e l e c t o r   w h i c h   s e l e c t s   o n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12977"
  },
  {
    "question": "What is More practical use-cases?",
    "answer": "I n t e r - p o d   a f f i n i t y   a n d   a n t i - a f f i n i t y   c a n   b e   e v e n   m o r e   u s e f u l   w h e n   t h e y   a r e   u s e d   w i t h   h i g h e r   l e v e l   c o l l e c t i o n s   s u c h   a s   R e p l i c a S e t s ,   S t a t e f u l S e t s ,   D e p l o y m e n t s ,   e t c .   T h e s e   r u l e s   a l l o w   y o u   t o   c o n f i g u r e   t h a t   a   s e t   o f   w o r k l o a d s   s h o u l d   b e   c o - l o c a t e d   i n   t h e   s a m e   d e f i n e d   t o p o l o g y ;   f o r   e x a m p l e ,   p r e f e r r i n g   t o   p l a c e   t w o   r e l a t e d   P o d s   o n t o   t h e   s a m e   n o d e .   F o r   e x a m p l e :   i m a g i n e   a   t h r e e - n o d e   c l u s t e r .   Y o u   u s e   t h e   c l u s t e r   t o   r u n   a   w e b   a p p l i c a t i o n   a n d   a l s o   a n   i n - m e m o r y   c a c h e   ( s u c h   a s   R e d i s ) .   F o r   t h i s   e x a m p l e ,   a l s o   a s s u m e   t h a t   l a t e n c y   b e t w e e n   t h e   w e b   a p p l i c a t i o n   a n d   t h e   m e m o r y   c a c h e   s h o u l d   b e   a s   l o w   a s   i s   p r a c t i c a l .   Y o u   c o u l d   u s e   i n t e r - p o d   a f f i n i t y   a n d   a n t i - a f f i n i t y   t o   c o - l o c a t e   t h e   w e b   s e r v e r s   w i t h   t h e   c a c h e   a s   m u c h   a s   p o s s i b l e .   I n   t h e   f o l l o w i n g   e x a m p l e   D e p l o y m e n t   f o r   t h e   R e d i s   c a c h e ,   t h e   r e p l i c a s   g e t   t h e   l a b e l   a p p = s t o r e .   T h e   p o d A n t i A f f i n i t y   r u l e   t e l l s   t h e   s c h e d u l e r   t o   a v o i d   p l a c i n g   m u l t i p l e   r e p l i c a s   w i t h   t h e   a p p = s t o r e   l a b e l   o n   a   s i n g l e   n o d e .   T h i s   c r e a t e s   e a c h   c a c h e   i n   a   s e p a r a t e   n o d e .   a p i V e r s i o n :   a p p s / v 1   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12978"
  },
  {
    "question": "What is nodeName?",
    "answer": "n o d e N a m e   i s   a   m o r e   d i r e c t   f o r m   o f   n o d e   s e l e c t i o n   t h a n   a f f i n i t y   o r   n o d e S e l e c t o r .   n o d e N a m e   i s   a   f i e l d   i n   t h e   P o d   s p e c .   I f   t h e   n o d e N a m e   f i e l d   i s   n o t   e m p t y ,   t h e   s c h e d u l e r   i g n o r e s   t h e   P o d   a n d   t h e   k u b e l e t   o n   t h e   n a m e d   n o d e   t r i e s   t o   p l a c e   t h e   P o d   o n   t h a t   n o d e .   U s i n g   n o d e N a m e   o v e r r u l e s   u s i n g   n o d e S e l e c t o r   o r   a f f i n i t y   a n d   a n t i - a f f i n i t y   r u l e s .   S o m e   o f   t h e   l i m i t a t i o n s   o f   u s i n g   n o d e N a m e   t o   s e l e c t   n o d e s   a r e :   I f   t h e   n a m e d   n o d e   d o e s   n o t   e x i s t ,   t h e   P o d   w i l l   n o t   r u n ,   a n d   i n   s o m e   c a s e s   m a y   b e   a u t o m a t i c a l l y   d e l e t e d . I f   t h e   n a m e d   n o d e   d o e s   n o t   h a v e   t h e   r e s o u r c e s   t o   a c c o m m o d a t e   t h e   P o d ,   t h e   P o d   w i l l   f a i l   a n d   i t s   r e a s o n   w i l l   i n d i c a t e   w h y ,   f o r   e x a m p l e   O u t O f m e m o r y   o r   O u t O f c p u . N o d e   n a m e s   i n   c l o u d   e n v i r o n m e n t s   a r e   n o t   a l w a y s   p r e d i c t a b l e   o r   s t a b l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12979"
  },
  {
    "question": "What is Warning:?",
    "answer": "H e r e   i s   a n   e x a m p l e   o f   a   P o d   s p e c   u s i n g   t h e   n o d e N a m e   f i e l d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   n o d e N a m e :   k u b e - 0 1   T h e   a b o v e   P o d   w i l l   o n l y   r u n   o n   t h e   n o d e   k u b e - 0 1 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12980"
  },
  {
    "question": "What is nominatedNodeName?",
    "answer": "n o m i n a t e d N o d e N a m e   c a n   b e   u s e d   f o r   e x t e r n a l   c o m p o n e n t s   t o   n o m i n a t e   n o d e   f o r   a   p e n d i n g   p o d .   T h i s   n o m i n a t i o n   i s   b e s t   e f f o r t :   i t   m i g h t   b e   i g n o r e d   i f   t h e   s c h e d u l e r   d e t e r m i n e s   t h e   p o d   c a n n o t   g o   t o   a   n o m i n a t e d   n o d e .   A l s o ,   t h i s   f i e l d   c a n   b e   ( o v e r ) w r i t t e n   b y   t h e   s c h e d u l e r :   I f   t h e   s c h e d u l e r   f i n d s   a   n o d e   t o   n o m i n a t e   v i a   t h e   p r e e m p t i o n . I f   t h e   s c h e d u l e r   d e c i d e s   w h e r e   t h e   p o d   i s   g o i n g ,   a n d   m o v e   i t   t o   t h e   b i n d i n g   c y c l e . N o t e   t h a t ,   i n   t h i s   c a s e ,   n o m i n a t e d N o d e N a m e   i s   p u t   o n l y   w h e n   t h e   p o d   h a s   t o   g o   t h r o u g h   W a i t O n P e r m i t   o r   P r e B i n d   e x t e n s i o n   p o i n t s .   N o t e   t h a t ,   i n   t h i s   c a s e ,   n o m i n a t e d N o d e N a m e   i s   p u t   o n l y   w h e n   t h e   p o d   h a s   t o   g o   t h r o u g h   W a i t O n P e r m i t   o r   P r e B i n d   e x t e n s i o n   p o i n t s .   H e r e   i s   a n   e x a m p l e   o f   a   P o d   s t a t u s   u s i n g   t h e   n o m i n a t e d N o d e N a m e   f i e l d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   . . .   s t a t u s :   n o m i n a t e d N o d e N a m e :   k u b e - 0 1",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12981"
  },
  {
    "question": "What is Pod topology spread constraints?",
    "answer": "Y o u   c a n   u s e   t o p o l o g y   s p r e a d   c o n s t r a i n t s   t o   c o n t r o l   h o w   P o d s   a r e   s p r e a d   a c r o s s   y o u r   c l u s t e r   a m o n g   f a i l u r e - d o m a i n s   s u c h   a s   r e g i o n s ,   z o n e s ,   n o d e s ,   o r   a m o n g   a n y   o t h e r   t o p o l o g y   d o m a i n s   t h a t   y o u   d e f i n e .   Y o u   m i g h t   d o   t h i s   t o   i m p r o v e   p e r f o r m a n c e ,   e x p e c t e d   a v a i l a b i l i t y ,   o r   o v e r a l l   u t i l i z a t i o n .   R e a d   P o d   t o p o l o g y   s p r e a d   c o n s t r a i n t s   t o   l e a r n   m o r e   a b o u t   h o w   t h e s e   w o r k .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12982"
  },
  {
    "question": "What is Operators?",
    "answer": "T h e   f o l l o w i n g   a r e   a l l   t h e   l o g i c a l   o p e r a t o r s   t h a t   y o u   c a n   u s e   i n   t h e   o p e r a t o r   f i e l d   f o r   n o d e A f f i n i t y   a n d   p o d A f f i n i t y   m e n t i o n e d   a b o v e .   T h e   f o l l o w i n g   o p e r a t o r s   c a n   o n l y   b e   u s e d   w i t h   n o d e A f f i n i t y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12983"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   m o r e   a b o u t   t a i n t s   a n d   t o l e r a t i o n s . R e a d   t h e   d e s i g n   d o c s   f o r   n o d e   a f f i n i t y   a n d   f o r   i n t e r - p o d   a f f i n i t y / a n t i - a f f i n i t y . L e a r n   a b o u t   h o w   t h e   t o p o l o g y   m a n a g e r   t a k e s   p a r t   i n   n o d e - l e v e l   r e s o u r c e   a l l o c a t i o n   d e c i s i o n s . L e a r n   h o w   t o   u s e   n o d e S e l e c t o r . L e a r n   h o w   t o   u s e   a f f i n i t y   a n d   a n t i - a f f i n i t y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12984"
  },
  {
    "question": "What is 10.3 - Pod Overhead?",
    "answer": "W h e n   y o u   r u n   a   P o d   o n   a   N o d e ,   t h e   P o d   i t s e l f   t a k e s   a n   a m o u n t   o f   s y s t e m   r e s o u r c e s .   T h e s e   r e s o u r c e s   a r e   a d d i t i o n a l   t o   t h e   r e s o u r c e s   n e e d e d   t o   r u n   t h e   c o n t a i n e r ( s )   i n s i d e   t h e   P o d .   I n   K u b e r n e t e s ,   P o d   O v e r h e a d   i s   a   w a y   t o   a c c o u n t   f o r   t h e   r e s o u r c e s   c o n s u m e d   b y   t h e   P o d   i n f r a s t r u c t u r e   o n   t o p   o f   t h e   c o n t a i n e r   r e q u e s t s   &   l i m i t s .   I n   K u b e r n e t e s ,   t h e   P o d ' s   o v e r h e a d   i s   s e t   a t   a d m i s s i o n   t i m e   a c c o r d i n g   t o   t h e   o v e r h e a d   a s s o c i a t e d   w i t h   t h e   P o d ' s   R u n t i m e C l a s s .   A   p o d ' s   o v e r h e a d   i s   c o n s i d e r e d   i n   a d d i t i o n   t o   t h e   s u m   o f   c o n t a i n e r   r e s o u r c e   r e q u e s t s   w h e n   s c h e d u l i n g   a   P o d .   S i m i l a r l y ,   t h e   k u b e l e t   w i l l   i n c l u d e   t h e   P o d   o v e r h e a d   w h e n   s i z i n g   t h e   P o d   c g r o u p ,   a n d   w h e n   c a r r y i n g   o u t   P o d   e v i c t i o n   r a n k i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12985"
  },
  {
    "question": "What is Configuring Pod overhead?",
    "answer": "Y o u   n e e d   t o   m a k e   s u r e   a   R u n t i m e C l a s s   i s   u t i l i z e d   w h i c h   d e f i n e s   t h e   o v e r h e a d   f i e l d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12986"
  },
  {
    "question": "What is Usage example?",
    "answer": "T o   w o r k   w i t h   P o d   o v e r h e a d ,   y o u   n e e d   a   R u n t i m e C l a s s   t h a t   d e f i n e s   t h e   o v e r h e a d   f i e l d .   A s   a n   e x a m p l e ,   y o u   c o u l d   u s e   t h e   f o l l o w i n g   R u n t i m e C l a s s   d e f i n i t i o n   w i t h   a   v i r t u a l i z a t i o n   c o n t a i n e r   r u n t i m e   ( i n   t h i s   e x a m p l e ,   K a t a   C o n t a i n e r s   c o m b i n e d   w i t h   t h e   F i r e c r a c k e r   v i r t u a l   m a c h i n e   m o n i t o r )   t h a t   u s e s   a r o u n d   1 2 0 M i B   p e r   P o d   f o r   t h e   v i r t u a l   m a c h i n e   a n d   t h e   g u e s t   O S :   #   Y o u   n e e d   t o   c h a n g e   t h i s   e x a m p l e   t o   m a t c h   t h e   a c t u a l   r u n t i m e   n a m e ,   a n d   p e r - P o d   #   r e s o u r c e   o v e r h e a d ,   t h a t   t h e   c o n t a i n e r   r u n t i m e   i s   a d d i n g   i n   y o u r   c l u s t e r .   a p i V e r s i o n :   n o d e . k 8 s . i o / v 1   k i n d :   R u n t i m e C l a s s   m e t a d a t a :   n a m e :   k a t a - f c   h a n d l e r :   k a t a - f c   o v e r h e a d :   p o d F i x e d :   m e m o r y :   \" 1 2 0 M i \"   c p u :   \" 2 5 0 m \"   W o r k l o a d s   w h i c h   a r e   c r e a t e d   w h i c h   s p e c i f y   t h e   k a t a - f c   R u n t i m e C l a s s   h a n d l e r   w i l l   t a k e   t h e   m e m o r y   a n d   c p u   o v e r h e a d s   i n t o   a c c o u n t   f o r   r e s o u r c e   q u o t a   c a l c u l a t i o n s ,   n o d e   s c h e d u l i n g ,   a s   w e l l   a s   P o d   c g r o u p   s i z i n g .   C o n s i d e r   r u n n i n g   t h e   g i v e n   e x a m p l e   w o r k l o a d ,   t e s t - p o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t - p o d   s p e c :   r u n t i m e C l a s s N a m e :   k a t a - f c   c o n t a i n e r s :   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12987"
  },
  {
    "question": "What is Note:?",
    "answer": "A t   a d m i s s i o n   t i m e   t h e   R u n t i m e C l a s s   a d m i s s i o n   c o n t r o l l e r   u p d a t e s   t h e   w o r k l o a d ' s   P o d S p e c   t o   i n c l u d e   t h e   o v e r h e a d   a s   d e s c r i b e d   i n   t h e   R u n t i m e C l a s s .   I f   t h e   P o d S p e c   a l r e a d y   h a s   t h i s   f i e l d   d e f i n e d ,   t h e   P o d   w i l l   b e   r e j e c t e d .   I n   t h e   g i v e n   e x a m p l e ,   s i n c e   o n l y   t h e   R u n t i m e C l a s s   n a m e   i s   s p e c i f i e d ,   t h e   a d m i s s i o n   c o n t r o l l e r   m u t a t e s   t h e   P o d   t o   i n c l u d e   a n   o v e r h e a d .   A f t e r   t h e   R u n t i m e C l a s s   a d m i s s i o n   c o n t r o l l e r   h a s   m a d e   m o d i f i c a t i o n s ,   y o u   c a n   c h e c k   t h e   u p d a t e d   P o d   o v e r h e a d   v a l u e :   k u b e c t l   g e t   p o d   t e s t - p o d   - o   j s o n p a t h = ' { . s p e c . o v e r h e a d } '   T h e   o u t p u t   i s :   m a p [ c p u : 2 5 0 m   m e m o r y : 1 2 0 M i ]   I f   a   R e s o u r c e Q u o t a   i s   d e f i n e d ,   t h e   s u m   o f   c o n t a i n e r   r e q u e s t s   a s   w e l l   a s   t h e   o v e r h e a d   f i e l d   a r e   c o u n t e d .   W h e n   t h e   k u b e - s c h e d u l e r   i s   d e c i d i n g   w h i c h   n o d e   s h o u l d   r u n   a   n e w   P o d ,   t h e   s c h e d u l e r   c o n s i d e r s   t h a t   P o d ' s   o v e r h e a d   a s   w e l l   a s   t h e   s u m   o f   c o n t a i n e r   r e q u e s t s   f o r   t h a t   P o d .   F o r   t h i s   e x a m p l e ,   t h e   s c h e d u l e r   a d d s   t h e   r e q u e s t s   a n d   t h e   o v e r h e a d ,   t h e n   l o o k s   f o r   a   n o d e   t h a t   h a s   2 . 2 5   C P U   a n d   3 2 0   M i B   o f   m e m o r y   a v a i l a b l e .   O n c e   a   P o d   i s   s c h e d u l e d ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_12988"
  },
  {
    "question": "What is Verify Pod cgroup limits?",
    "answer": "C h e c k   t h e   P o d ' s   m e m o r y   c g r o u p s   o n   t h e   n o d e   w h e r e   t h e   w o r k l o a d   i s   r u n n i n g .   I n   t h e   f o l l o w i n g   e x a m p l e ,   c r i c t l   i s   u s e d   o n   t h e   n o d e ,   w h i c h   p r o v i d e s   a   C L I   f o r   C R I - c o m p a t i b l e   c o n t a i n e r   r u n t i m e s .   T h i s   i s   a n   a d v a n c e d   e x a m p l e   t o   s h o w   P o d   o v e r h e a d   b e h a v i o r ,   a n d   i t   i s   n o t   e x p e c t e d   t h a t   u s e r s   s h o u l d   n e e d   t o   c h e c k   c g r o u p s   d i r e c t l y   o n   t h e   n o d e .   F i r s t ,   o n   t h e   p a r t i c u l a r   n o d e ,   d e t e r m i n e   t h e   P o d   i d e n t i f i e r :   #   R u n   t h i s   o n   t h e   n o d e   w h e r e   t h e   P o d   i s   s c h e d u l e d   P O D _ I D = \" $ ( s u d o   c r i c t l   p o d s   - - n a m e   t e s t - p o d   - q ) \"   F r o m   t h i s ,   y o u   c a n   d e t e r m i n e   t h e   c g r o u p   p a t h   f o r   t h e   P o d :   #   R u n   t h i s   o n   t h e   n o d e   w h e r e   t h e   P o d   i s   s c h e d u l e d   s u d o   c r i c t l   i n s p e c t p   - o = j s o n   $ P O D _ I D   |   g r e p   c g r o u p s P a t h   T h e   r e s u l t i n g   c g r o u p   p a t h   i n c l u d e s   t h e   P o d ' s   p a u s e   c o n t a i n e r .   T h e   P o d   l e v e l   c g r o u p   i s   o n e   d i r e c t o r y   a b o v e .   \" c g r o u p s P a t h \" :   \" / k u b e p o d s / p o d d 7 f 4 b 5 0 9 - c f 9 4 - 4 9 5 1 - 9 4 1 7 - d 1 0 8 7 c 9 2 a 5 b 2 / 7 c c f 5 5 a e e 3 5 d d 1 6 a c a 4 1 8 9 c 9 5 2 d 8 3 4 8 7 2 9 7 f 3 c d 7 6 0 f 1 b b f 0 9 6 2 0 e 2 0 6 e 7 d 0 c 2 7 a \"   I n   t h i s   s p e c i f i c   c a s e ,   t h e   p o d   c g r o u p   p a t h   i s   k u b e p o d s / p o d d 7 f 4 b 5 0 9 - c f 9 4 - 4 9 5 1 - 9 4 1 7 - d 1 0 8 7 c 9 2 a 5 b 2 .   V e r i f y   t h e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12989"
  },
  {
    "question": "What is Observability?",
    "answer": "S o m e   k u b e _ p o d _ o v e r h e a d _ *   m e t r i c s   a r e   a v a i l a b l e   i n   k u b e - s t a t e - m e t r i c s   t o   h e l p   i d e n t i f y   w h e n   P o d   o v e r h e a d   i s   b e i n g   u t i l i z e d   a n d   t o   h e l p   o b s e r v e   s t a b i l i t y   o f   w o r k l o a d s   r u n n i n g   w i t h   a   d e f i n e d   o v e r h e a d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_12990"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   R u n t i m e C l a s s R e a d   t h e   P o d O v e r h e a d   D e s i g n   e n h a n c e m e n t   p r o p o s a l   f o r   e x t r a   c o n t e x t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12991"
  },
  {
    "question": "What is 10.4 - Pod Scheduling Readiness?",
    "answer": "P o d s   w e r e   c o n s i d e r e d   r e a d y   f o r   s c h e d u l i n g   o n c e   c r e a t e d .   K u b e r n e t e s   s c h e d u l e r   d o e s   i t s   d u e   d i l i g e n c e   t o   f i n d   n o d e s   t o   p l a c e   a l l   p e n d i n g   P o d s .   H o w e v e r ,   i n   a   r e a l - w o r l d   c a s e ,   s o m e   P o d s   m a y   s t a y   i n   a   \" m i s s - e s s e n t i a l - r e s o u r c e s \"   s t a t e   f o r   a   l o n g   p e r i o d .   T h e s e   P o d s   a c t u a l l y   c h u r n   t h e   s c h e d u l e r   ( a n d   d o w n s t r e a m   i n t e g r a t o r s   l i k e   C l u s t e r   A u t o S c a l e r )   i n   a n   u n n e c e s s a r y   m a n n e r .   B y   s p e c i f y i n g / r e m o v i n g   a   P o d ' s   . s p e c . s c h e d u l i n g G a t e s ,   y o u   c a n   c o n t r o l   w h e n   a   P o d   i s   r e a d y   t o   b e   c o n s i d e r e d   f o r   s c h e d u l i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12992"
  },
  {
    "question": "What is Configuring Pod schedulingGates?",
    "answer": "T h e   s c h e d u l i n g G a t e s   f i e l d   c o n t a i n s   a   l i s t   o f   s t r i n g s ,   a n d   e a c h   s t r i n g   l i t e r a l   i s   p e r c e i v e d   a s   a   c r i t e r i a   t h a t   P o d   s h o u l d   b e   s a t i s f i e d   b e f o r e   c o n s i d e r e d   s c h e d u l a b l e .   T h i s   f i e l d   c a n   b e   i n i t i a l i z e d   o n l y   w h e n   a   P o d   i s   c r e a t e d   ( e i t h e r   b y   t h e   c l i e n t ,   o r   m u t a t e d   d u r i n g   a d m i s s i o n ) .   A f t e r   c r e a t i o n ,   e a c h   s c h e d u l i n g G a t e   c a n   b e   r e m o v e d   i n   a r b i t r a r y   o r d e r ,   b u t   a d d i t i o n   o f   a   n e w   s c h e d u l i n g   g a t e   i s   d i s a l l o w e d .   F i g u r e .   P o d   S c h e d u l i n g G a t e s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12993"
  },
  {
    "question": "What is Usage example?",
    "answer": "T o   m a r k   a   P o d   n o t - r e a d y   f o r   s c h e d u l i n g ,   y o u   c a n   c r e a t e   i t   w i t h   o n e   o r   m o r e   s c h e d u l i n g   g a t e s   l i k e   t h i s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t - p o d   s p e c :   s c h e d u l i n g G a t e s :   -   n a m e :   e x a m p l e . c o m / f o o   -   n a m e :   e x a m p l e . c o m / b a r   c o n t a i n e r s :   -   n a m e :   p a u s e   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 6   A f t e r   t h e   P o d ' s   c r e a t i o n ,   y o u   c a n   c h e c k   i t s   s t a t e   u s i n g :   k u b e c t l   g e t   p o d   t e s t - p o d   T h e   o u t p u t   r e v e a l s   i t ' s   i n   S c h e d u l i n g G a t e d   s t a t e :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   t e s t - p o d   0 / 1   S c h e d u l i n g G a t e d   0   7 s   Y o u   c a n   a l s o   c h e c k   i t s   s c h e d u l i n g G a t e s   f i e l d   b y   r u n n i n g :   k u b e c t l   g e t   p o d   t e s t - p o d   - o   j s o n p a t h = ' { . s p e c . s c h e d u l i n g G a t e s } '   T h e   o u t p u t   i s :   [ { \" n a m e \" : \" e x a m p l e . c o m / f o o \" } , { \" n a m e \" : \" e x a m p l e . c o m / b a r \" } ]   T o   i n f o r m   s c h e d u l e r   t h i s   P o d   i s   r e a d y   f o r   s c h e d u l i n g ,   y o u   c a n   r e m o v e   i t s   s c h e d u l i n g G a t e s   e n t i r e l y   b y   r e a p p l y i n g   a   m o d i f i e d   m a n i f e s t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   p a u s e   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 6   Y o u   c a n   c h e c k   i f   t h e   s c h e d u l i n g G a t e s   i s   c l e a r e d   b y   r u n n i n g :   k u b e c t l   g e t   p o d   t e s t - ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12994"
  },
  {
    "question": "What is Observability?",
    "answer": "T h e   m e t r i c   s c h e d u l e r _ p e n d i n g _ p o d s   c o m e s   w i t h   a   n e w   l a b e l   \" g a t e d \"   t o   d i s t i n g u i s h   w h e t h e r   a   P o d   h a s   b e e n   t r i e d   s c h e d u l i n g   b u t   c l a i m e d   a s   u n s c h e d u l a b l e ,   o r   e x p l i c i t l y   m a r k e d   a s   n o t   r e a d y   f o r   s c h e d u l i n g .   Y o u   c a n   u s e   s c h e d u l e r _ p e n d i n g _ p o d s { q u e u e = \" g a t e d \" }   t o   c h e c k   t h e   m e t r i c   r e s u l t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12995"
  },
  {
    "question": "What is Mutable Pod scheduling directives?",
    "answer": "Y o u   c a n   m u t a t e   s c h e d u l i n g   d i r e c t i v e s   o f   P o d s   w h i l e   t h e y   h a v e   s c h e d u l i n g   g a t e s ,   w i t h   c e r t a i n   c o n s t r a i n t s .   A t   a   h i g h   l e v e l ,   y o u   c a n   o n l y   t i g h t e n   t h e   s c h e d u l i n g   d i r e c t i v e s   o f   a   P o d .   I n   o t h e r   w o r d s ,   t h e   u p d a t e d   d i r e c t i v e s   w o u l d   c a u s e   t h e   P o d s   t o   o n l y   b e   a b l e   t o   b e   s c h e d u l e d   o n   a   s u b s e t   o f   t h e   n o d e s   t h a t   i t   w o u l d   p r e v i o u s l y   m a t c h .   M o r e   c o n c r e t e l y ,   t h e   r u l e s   f o r   u p d a t i n g   a   P o d ' s   s c h e d u l i n g   d i r e c t i v e s   a r e   a s   f o l l o w s :   F o r   . s p e c . n o d e S e l e c t o r ,   o n l y   a d d i t i o n s   a r e   a l l o w e d .   I f   a b s e n t ,   i t   w i l l   b e   a l l o w e d   t o   b e   s e t . F o r   s p e c . a f f i n i t y . n o d e A f f i n i t y ,   i f   n i l ,   t h e n   s e t t i n g   a n y t h i n g   i s   a l l o w e d . I f   N o d e S e l e c t o r T e r m s   w a s   e m p t y ,   i t   w i l l   b e   a l l o w e d   t o   b e   s e t .   I f   n o t   e m p t y ,   t h e n   o n l y   a d d i t i o n s   o f   N o d e S e l e c t o r R e q u i r e m e n t s   t o   m a t c h E x p r e s s i o n s   o r   f i e l d E x p r e s s i o n s   a r e   a l l o w e d ,   a n d   n o   c h a n g e s   t o   e x i s t i n g   m a t c h E x p r e s s i o n s   a n d   f i e l d E x p r e s s i o n s   w i l l   b e   a l l o w e d .   T h i s   i s   b e c a u s e   t h e   t e r m s   i n   . r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n . N o d e S e l e c t o r T e r m s ,   a r e   O R e d   w h i l e   t h e   e x p r e s s i o n s   i n   n o d e S e l e c t o r T e r m s [ ] . m a t c h E x p r e s s ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12996"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   t h e   P o d S c h e d u l i n g R e a d i n e s s   K E P   f o r   m o r e   d e t a i l s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12997"
  },
  {
    "question": "What is 10.5 - Pod Topology Spread Constraints?",
    "answer": "Y o u   c a n   u s e   t o p o l o g y   s p r e a d   c o n s t r a i n t s   t o   c o n t r o l   h o w   P o d s   a r e   s p r e a d   a c r o s s   y o u r   c l u s t e r   a m o n g   f a i l u r e - d o m a i n s   s u c h   a s   r e g i o n s ,   z o n e s ,   n o d e s ,   a n d   o t h e r   u s e r - d e f i n e d   t o p o l o g y   d o m a i n s .   T h i s   c a n   h e l p   t o   a c h i e v e   h i g h   a v a i l a b i l i t y   a s   w e l l   a s   e f f i c i e n t   r e s o u r c e   u t i l i z a t i o n .   Y o u   c a n   s e t   c l u s t e r - l e v e l   c o n s t r a i n t s   a s   a   d e f a u l t ,   o r   c o n f i g u r e   t o p o l o g y   s p r e a d   c o n s t r a i n t s   f o r   i n d i v i d u a l   w o r k l o a d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_12998"
  },
  {
    "question": "What is Motivation?",
    "answer": "I m a g i n e   t h a t   y o u   h a v e   a   c l u s t e r   o f   u p   t o   t w e n t y   n o d e s ,   a n d   y o u   w a n t   t o   r u n   a   w o r k l o a d   t h a t   a u t o m a t i c a l l y   s c a l e s   h o w   m a n y   r e p l i c a s   i t   u s e s .   T h e r e   c o u l d   b e   a s   f e w   a s   t w o   P o d s   o r   a s   m a n y   a s   f i f t e e n .   W h e n   t h e r e   a r e   o n l y   t w o   P o d s ,   y o u ' d   p r e f e r   n o t   t o   h a v e   b o t h   o f   t h o s e   P o d s   r u n   o n   t h e   s a m e   n o d e :   y o u   w o u l d   r u n   t h e   r i s k   t h a t   a   s i n g l e   n o d e   f a i l u r e   t a k e s   y o u r   w o r k l o a d   o f f l i n e .   I n   a d d i t i o n   t o   t h i s   b a s i c   u s a g e ,   t h e r e   a r e   s o m e   a d v a n c e d   u s a g e   e x a m p l e s   t h a t   e n a b l e   y o u r   w o r k l o a d s   t o   b e n e f i t   o n   h i g h   a v a i l a b i l i t y   a n d   c l u s t e r   u t i l i z a t i o n .   A s   y o u   s c a l e   u p   a n d   r u n   m o r e   P o d s ,   a   d i f f e r e n t   c o n c e r n   b e c o m e s   i m p o r t a n t .   I m a g i n e   t h a t   y o u   h a v e   t h r e e   n o d e s   r u n n i n g   f i v e   P o d s   e a c h .   T h e   n o d e s   h a v e   e n o u g h   c a p a c i t y   t o   r u n   t h a t   m a n y   r e p l i c a s ;   h o w e v e r ,   t h e   c l i e n t s   t h a t   i n t e r a c t   w i t h   t h i s   w o r k l o a d   a r e   s p l i t   a c r o s s   t h r e e   d i f f e r e n t   d a t a c e n t e r s   ( o r   i n f r a s t r u c t u r e   z o n e s ) .   N o w   y o u   h a v e   l e s s   c o n c e r n   a b o u t   a   s i n g l e   n o d e   f a i l u r e ,   b u t   y o u   n o t i c e   t h a t   l a t e n c y   i s   h i g h e r   t h a n   y o u ' d   l i k e ,   a n d   y o u   a r e   p a y i n g   f o r   n e t w o r k   c o s t s   a s s o c i a t e d ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_12999"
  },
  {
    "question": "What is topologySpreadConstraints field?",
    "answer": "T h e   P o d   A P I   i n c l u d e s   a   f i e l d ,   s p e c . t o p o l o g y S p r e a d C o n s t r a i n t s .   T h e   u s a g e   o f   t h i s   f i e l d   l o o k s   l i k e   t h e   f o l l o w i n g :   - - -   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e x a m p l e - p o d   s p e c :   #   C o n f i g u r e   a   t o p o l o g y   s p r e a d   c o n s t r a i n t   t o p o l o g y S p r e a d C o n s t r a i n t s :   -   m a x S k e w :   < i n t e g e r >   m i n D o m a i n s :   < i n t e g e r >   #   o p t i o n a l   t o p o l o g y K e y :   < s t r i n g >   w h e n U n s a t i s f i a b l e :   < s t r i n g >   l a b e l S e l e c t o r :   < o b j e c t >   m a t c h L a b e l K e y s :   < l i s t >   #   o p t i o n a l ;   b e t a   s i n c e   v 1 . 2 7   n o d e A f f i n i t y P o l i c y :   [ H o n o r | I g n o r e ]   #   o p t i o n a l ;   b e t a   s i n c e   v 1 . 2 6   n o d e T a i n t s P o l i c y :   [ H o n o r | I g n o r e ]   #   o p t i o n a l ;   b e t a   s i n c e   v 1 . 2 6   # # #   o t h e r   P o d   f i e l d s   g o   h e r e   Y o u   c a n   r e a d   m o r e   a b o u t   t h i s   f i e l d   b y   r u n n i n g   k u b e c t l   e x p l a i n   P o d . s p e c . t o p o l o g y S p r e a d C o n s t r a i n t s   o r   r e f e r   t o   t h e   s c h e d u l i n g   s e c t i o n   o f   t h e   A P I   r e f e r e n c e   f o r   P o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13000"
  },
  {
    "question": "What is Spread constraint definition?",
    "answer": "Y o u   c a n   d e f i n e   o n e   o r   m u l t i p l e   t o p o l o g y S p r e a d C o n s t r a i n t s   e n t r i e s   t o   i n s t r u c t   t h e   k u b e - s c h e d u l e r   h o w   t o   p l a c e   e a c h   i n c o m i n g   P o d   i n   r e l a t i o n   t o   t h e   e x i s t i n g   P o d s   a c r o s s   y o u r   c l u s t e r .   T h o s e   f i e l d s   a r e :   m a x S k e w   d e s c r i b e s   t h e   d e g r e e   t o   w h i c h   P o d s   m a y   b e   u n e v e n l y   d i s t r i b u t e d .   Y o u   m u s t   s p e c i f y   t h i s   f i e l d   a n d   t h e   n u m b e r   m u s t   b e   g r e a t e r   t h a n   z e r o .   I t s   s e m a n t i c s   d i f f e r   a c c o r d i n g   t o   t h e   v a l u e   o f   w h e n U n s a t i s f i a b l e : i f   y o u   s e l e c t   w h e n U n s a t i s f i a b l e :   D o N o t S c h e d u l e ,   t h e n   m a x S k e w   d e f i n e s   t h e   m a x i m u m   p e r m i t t e d   d i f f e r e n c e   b e t w e e n   t h e   n u m b e r   o f   m a t c h i n g   p o d s   i n   t h e   t a r g e t   t o p o l o g y   a n d   t h e   g l o b a l   m i n i m u m   ( t h e   m i n i m u m   n u m b e r   o f   m a t c h i n g   p o d s   i n   a n   e l i g i b l e   d o m a i n   o r   z e r o   i f   t h e   n u m b e r   o f   e l i g i b l e   d o m a i n s   i s   l e s s   t h a n   M i n D o m a i n s ) .   F o r   e x a m p l e ,   i f   y o u   h a v e   3   z o n e s   w i t h   2 ,   2   a n d   1   m a t c h i n g   p o d s   r e s p e c t i v e l y ,   M a x S k e w   i s   s e t   t o   1   t h e n   t h e   g l o b a l   m i n i m u m   i s   1 . i f   y o u   s e l e c t   w h e n U n s a t i s f i a b l e :   S c h e d u l e A n y w a y ,   t h e   s c h e d u l e r   g i v e s   h i g h e r   p r e c e d e n c e   t o   t o p o l o g i e s   t h a t   w o u l d   h e l p   r e d u c e   t h e   s k e w . m i n D o m a i n s   i n d i c a t e s   a   m ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13001"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   v a l u e   o f   m i n D o m a i n s   m u s t   b e   g r e a t e r   t h a n   0 ,   w h e n   s p e c i f i e d .   Y o u   c a n   o n l y   s p e c i f y   m i n D o m a i n s   i n   c o n j u n c t i o n   w i t h   w h e n U n s a t i s f i a b l e :   D o N o t S c h e d u l e . W h e n   t h e   n u m b e r   o f   e l i g i b l e   d o m a i n s   w i t h   m a t c h   t o p o l o g y   k e y s   i s   l e s s   t h a n   m i n D o m a i n s ,   P o d   t o p o l o g y   s p r e a d   t r e a t s   g l o b a l   m i n i m u m   a s   0 ,   a n d   t h e n   t h e   c a l c u l a t i o n   o f   s k e w   i s   p e r f o r m e d .   T h e   g l o b a l   m i n i m u m   i s   t h e   m i n i m u m   n u m b e r   o f   m a t c h i n g   P o d s   i n   a n   e l i g i b l e   d o m a i n ,   o r   z e r o   i f   t h e   n u m b e r   o f   e l i g i b l e   d o m a i n s   i s   l e s s   t h a n   m i n D o m a i n s . W h e n   t h e   n u m b e r   o f   e l i g i b l e   d o m a i n s   w i t h   m a t c h i n g   t o p o l o g y   k e y s   e q u a l s   o r   i s   g r e a t e r   t h a n   m i n D o m a i n s ,   t h i s   v a l u e   h a s   n o   e f f e c t   o n   s c h e d u l i n g . I f   y o u   d o   n o t   s p e c i f y   m i n D o m a i n s ,   t h e   c o n s t r a i n t   b e h a v e s   a s   i f   m i n D o m a i n s   i s   1 .   t o p o l o g y K e y   i s   t h e   k e y   o f   n o d e   l a b e l s .   N o d e s   t h a t   h a v e   a   l a b e l   w i t h   t h i s   k e y   a n d   i d e n t i c a l   v a l u e s   a r e   c o n s i d e r e d   t o   b e   i n   t h e   s a m e   t o p o l o g y .   W e   c a l l   e a c h   i n s t a n c e   o f   a   t o p o l o g y   ( i n   o t h e r   w o r d s ,   a   < k e y ,   v a l u e >   p a i r )   a   d o m a i n .   T h e   s c h e d u l e r   w i l l   t r y   t o   p u t   a   b a l a n c e d   n u m b e r   o f   p o d s   i n t o   e a c h   d o m a i n .   A l s ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13002"
  },
  {
    "question": "What is Caution:?",
    "answer": "W i t h   m a t c h L a b e l K e y s ,   y o u   d o n ' t   n e e d   t o   u p d a t e   t h e   p o d . s p e c   b e t w e e n   d i f f e r e n t   r e v i s i o n s .   T h e   c o n t r o l l e r / o p e r a t o r   j u s t   n e e d s   t o   s e t   d i f f e r e n t   v a l u e s   t o   t h e   s a m e   l a b e l   k e y   f o r   d i f f e r e n t   r e v i s i o n s .   F o r   e x a m p l e ,   i f   y o u   a r e   c o n f i g u r i n g   a   D e p l o y m e n t ,   y o u   c a n   u s e   t h e   l a b e l   k e y e d   w i t h   p o d - t e m p l a t e - h a s h ,   w h i c h   i s   a d d e d   a u t o m a t i c a l l y   b y   t h e   D e p l o y m e n t   c o n t r o l l e r ,   t o   d i s t i n g u i s h   b e t w e e n   d i f f e r e n t   r e v i s i o n s   i n   a   s i n g l e   D e p l o y m e n t .   t o p o l o g y S p r e a d C o n s t r a i n t s :   -   m a x S k e w :   1   t o p o l o g y K e y :   k u b e r n e t e s . i o / h o s t n a m e   w h e n U n s a t i s f i a b l e :   D o N o t S c h e d u l e   l a b e l S e l e c t o r :   m a t c h L a b e l s :   a p p :   f o o   m a t c h L a b e l K e y s :   -   p o d - t e m p l a t e - h a s h",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13003"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   m a t c h L a b e l K e y s   f i e l d   i s   a   b e t a - l e v e l   f i e l d   a n d   e n a b l e d   b y   d e f a u l t   i n   1 . 2 7 .   Y o u   c a n   d i s a b l e   i t   b y   d i s a b l i n g   t h e   M a t c h L a b e l K e y s I n P o d T o p o l o g y S p r e a d   f e a t u r e   g a t e .   B e f o r e   v 1 . 3 4 ,   m a t c h L a b e l K e y s   w a s   h a n d l e d   i m p l i c i t l y .   S i n c e   v 1 . 3 4 ,   k e y - v a l u e   l a b e l s   c o r r e s p o n d i n g   t o   m a t c h L a b e l K e y s   a r e   e x p l i c i t l y   m e r g e d   i n t o   l a b e l S e l e c t o r .   Y o u   c a n   d i s a b l e   i t   a n d   r e v e r t   t o   t h e   p r e v i o u s   b e h a v i o r   b y   d i s a b l i n g   t h e   M a t c h L a b e l K e y s I n P o d T o p o l o g y S p r e a d S e l e c t o r M e r g e   f e a t u r e   g a t e   o f   k u b e - a p i s e r v e r .   n o d e A f f i n i t y P o l i c y   i n d i c a t e s   h o w   w e   w i l l   t r e a t   P o d ' s   n o d e A f f i n i t y / n o d e S e l e c t o r   w h e n   c a l c u l a t i n g   p o d   t o p o l o g y   s p r e a d   s k e w .   O p t i o n s   a r e :   H o n o r :   o n l y   n o d e s   m a t c h i n g   n o d e A f f i n i t y / n o d e S e l e c t o r   a r e   i n c l u d e d   i n   t h e   c a l c u l a t i o n s . I g n o r e :   n o d e A f f i n i t y / n o d e S e l e c t o r   a r e   i g n o r e d .   A l l   n o d e s   a r e   i n c l u d e d   i n   t h e   c a l c u l a t i o n s .   I f   t h i s   v a l u e   i s   n u l l ,   t h e   b e h a v i o r   i s   e q u i v a l e n t   t o   t h e   H o n o r   p o l i c y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13004"
  },
  {
    "question": "What is Note:?",
    "answer": "n o d e T a i n t s P o l i c y   i n d i c a t e s   h o w   w e   w i l l   t r e a t   n o d e   t a i n t s   w h e n   c a l c u l a t i n g   p o d   t o p o l o g y   s p r e a d   s k e w .   O p t i o n s   a r e :   H o n o r :   n o d e s   w i t h o u t   t a i n t s ,   a l o n g   w i t h   t a i n t e d   n o d e s   f o r   w h i c h   t h e   i n c o m i n g   p o d   h a s   a   t o l e r a t i o n ,   a r e   i n c l u d e d . I g n o r e :   n o d e   t a i n t s   a r e   i g n o r e d .   A l l   n o d e s   a r e   i n c l u d e d .   I f   t h i s   v a l u e   i s   n u l l ,   t h e   b e h a v i o r   i s   e q u i v a l e n t   t o   t h e   I g n o r e   p o l i c y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13005"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   a   P o d   d e f i n e s   m o r e   t h a n   o n e   t o p o l o g y S p r e a d C o n s t r a i n t ,   t h o s e   c o n s t r a i n t s   a r e   c o m b i n e d   u s i n g   a   l o g i c a l   A N D   o p e r a t i o n :   t h e   k u b e - s c h e d u l e r   l o o k s   f o r   a   n o d e   f o r   t h e   i n c o m i n g   P o d   t h a t   s a t i s f i e s   a l l   t h e   c o n f i g u r e d   c o n s t r a i n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13006"
  },
  {
    "question": "What is Node labels?",
    "answer": "T o p o l o g y   s p r e a d   c o n s t r a i n t s   r e l y   o n   n o d e   l a b e l s   t o   i d e n t i f y   t h e   t o p o l o g y   d o m a i n ( s )   t h a t   e a c h   n o d e   i s   i n .   F o r   e x a m p l e ,   a   n o d e   m i g h t   h a v e   l a b e l s :   r e g i o n :   u s - e a s t - 1   z o n e :   u s - e a s t - 1 a",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13007"
  },
  {
    "question": "What is Note:?",
    "answer": "F o r   b r e v i t y ,   t h i s   e x a m p l e   d o e s n ' t   u s e   t h e   w e l l - k n o w n   l a b e l   k e y s   t o p o l o g y . k u b e r n e t e s . i o / z o n e   a n d   t o p o l o g y . k u b e r n e t e s . i o / r e g i o n .   H o w e v e r ,   t h o s e   r e g i s t e r e d   l a b e l   k e y s   a r e   n o n e t h e l e s s   r e c o m m e n d e d   r a t h e r   t h a n   t h e   p r i v a t e   ( u n q u a l i f i e d )   l a b e l   k e y s   r e g i o n   a n d   z o n e   t h a t   a r e   u s e d   h e r e .   Y o u   c a n ' t   m a k e   a   r e l i a b l e   a s s u m p t i o n   a b o u t   t h e   m e a n i n g   o f   a   p r i v a t e   l a b e l   k e y   b e t w e e n   d i f f e r e n t   c o n t e x t s .   S u p p o s e   y o u   h a v e   a   4 - n o d e   c l u s t e r   w i t h   t h e   f o l l o w i n g   l a b e l s :   N A M E   S T A T U S   R O L E S   A G E   V E R S I O N   L A B E L S   n o d e 1   R e a d y   < n o n e >   4 m 2 6 s   v 1 . 1 6 . 0   n o d e = n o d e 1 , z o n e = z o n e A   n o d e 2   R e a d y   < n o n e >   3 m 5 8 s   v 1 . 1 6 . 0   n o d e = n o d e 2 , z o n e = z o n e A   n o d e 3   R e a d y   < n o n e >   3 m 1 7 s   v 1 . 1 6 . 0   n o d e = n o d e 3 , z o n e = z o n e B   n o d e 4   R e a d y   < n o n e >   2 m 4 3 s   v 1 . 1 6 . 0   n o d e = n o d e 4 , z o n e = z o n e B   T h e n   t h e   c l u s t e r   i s   l o g i c a l l y   v i e w e d   a s   b e l o w :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13008"
  },
  {
    "question": "What is Consistency?",
    "answer": "Y o u   s h o u l d   s e t   t h e   s a m e   P o d   t o p o l o g y   s p r e a d   c o n s t r a i n t s   o n   a l l   p o d s   i n   a   g r o u p .   U s u a l l y ,   i f   y o u   a r e   u s i n g   a   w o r k l o a d   c o n t r o l l e r   s u c h   a s   a   D e p l o y m e n t ,   t h e   p o d   t e m p l a t e   t a k e s   c a r e   o f   t h i s   f o r   y o u .   I f   y o u   m i x   d i f f e r e n t   s p r e a d   c o n s t r a i n t s   t h e n   K u b e r n e t e s   f o l l o w s   t h e   A P I   d e f i n i t i o n   o f   t h e   f i e l d ;   h o w e v e r ,   t h e   b e h a v i o r   i s   m o r e   l i k e l y   t o   b e c o m e   c o n f u s i n g   a n d   t r o u b l e s h o o t i n g   i s   l e s s   s t r a i g h t f o r w a r d .   Y o u   n e e d   a   m e c h a n i s m   t o   e n s u r e   t h a t   a l l   t h e   n o d e s   i n   a   t o p o l o g y   d o m a i n   ( s u c h   a s   a   c l o u d   p r o v i d e r   r e g i o n )   a r e   l a b e l e d   c o n s i s t e n t l y .   T o   a v o i d   y o u   n e e d i n g   t o   m a n u a l l y   l a b e l   n o d e s ,   m o s t   c l u s t e r s   a u t o m a t i c a l l y   p o p u l a t e   w e l l - k n o w n   l a b e l s   s u c h   a s   k u b e r n e t e s . i o / h o s t n a m e .   C h e c k   w h e t h e r   y o u r   c l u s t e r   s u p p o r t s   t h i s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13009"
  },
  {
    "question": "What is Example: one topology spread constraint?",
    "answer": "S u p p o s e   y o u   h a v e   a   4 - n o d e   c l u s t e r   w h e r e   3   P o d s   l a b e l e d   f o o :   b a r   a r e   l o c a t e d   i n   n o d e 1 ,   n o d e 2   a n d   n o d e 3   r e s p e c t i v e l y :   I f   y o u   w a n t   a n   i n c o m i n g   P o d   t o   b e   e v e n l y   s p r e a d   w i t h   e x i s t i n g   P o d s   a c r o s s   z o n e s ,   y o u   c a n   u s e   a   m a n i f e s t   s i m i l a r   t o :   k i n d :   P o d   a p i V e r s i o n :   v 1   m e t a d a t a :   n a m e :   m y p o d   l a b e l s :   f o o :   b a r   s p e c :   t o p o l o g y S p r e a d C o n s t r a i n t s :   -   m a x S k e w :   1   t o p o l o g y K e y :   z o n e   w h e n U n s a t i s f i a b l e :   D o N o t S c h e d u l e   l a b e l S e l e c t o r :   m a t c h L a b e l s :   f o o :   b a r   c o n t a i n e r s :   -   n a m e :   p a u s e   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 1   F r o m   t h a t   m a n i f e s t ,   t o p o l o g y K e y :   z o n e   i m p l i e s   t h e   e v e n   d i s t r i b u t i o n   w i l l   o n l y   b e   a p p l i e d   t o   n o d e s   t h a t   a r e   l a b e l e d   z o n e :   < a n y   v a l u e >   ( n o d e s   t h a t   d o n ' t   h a v e   a   z o n e   l a b e l   a r e   s k i p p e d ) .   T h e   f i e l d   w h e n U n s a t i s f i a b l e :   D o N o t S c h e d u l e   t e l l s   t h e   s c h e d u l e r   t o   l e t   t h e   i n c o m i n g   P o d   s t a y   p e n d i n g   i f   t h e   s c h e d u l e r   c a n ' t   f i n d   a   w a y   t o   s a t i s f y   t h e   c o n s t r a i n t .   I f   t h e   s c h e d u l e r   p l a c e d   t h i s   i n c o m i n g   P o d   i n t o   z o n e   A ,   t h e   d i s t r i b u t i o n   o f   P o d s   w o u l d   b e c o m e   [ 3 ,   1 ] .   T h a t   m e a n s   t h e   a c t u a l   s k e w   i s   t h e n   2   ( c a l c u l a t e d   a s   3   -   1 ) ,   w h i c h   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13010"
  },
  {
    "question": "What is Example: multiple topology spread constraints?",
    "answer": "T h i s   b u i l d s   u p o n   t h e   p r e v i o u s   e x a m p l e .   S u p p o s e   y o u   h a v e   a   4 - n o d e   c l u s t e r   w h e r e   3   e x i s t i n g   P o d s   l a b e l e d   f o o :   b a r   a r e   l o c a t e d   o n   n o d e 1 ,   n o d e 2   a n d   n o d e 3   r e s p e c t i v e l y :   Y o u   c a n   c o m b i n e   t w o   t o p o l o g y   s p r e a d   c o n s t r a i n t s   t o   c o n t r o l   t h e   s p r e a d   o f   P o d s   b o t h   b y   n o d e   a n d   b y   z o n e :   k i n d :   P o d   a p i V e r s i o n :   v 1   m e t a d a t a :   n a m e :   m y p o d   l a b e l s :   f o o :   b a r   s p e c :   t o p o l o g y S p r e a d C o n s t r a i n t s :   -   m a x S k e w :   1   t o p o l o g y K e y :   z o n e   w h e n U n s a t i s f i a b l e :   D o N o t S c h e d u l e   l a b e l S e l e c t o r :   m a t c h L a b e l s :   f o o :   b a r   -   m a x S k e w :   1   t o p o l o g y K e y :   n o d e   w h e n U n s a t i s f i a b l e :   D o N o t S c h e d u l e   l a b e l S e l e c t o r :   m a t c h L a b e l s :   f o o :   b a r   c o n t a i n e r s :   -   n a m e :   p a u s e   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 1   I n   t h i s   c a s e ,   t o   m a t c h   t h e   f i r s t   c o n s t r a i n t ,   t h e   i n c o m i n g   P o d   c a n   o n l y   b e   p l a c e d   o n t o   n o d e s   i n   z o n e   B ;   w h i l e   i n   t e r m s   o f   t h e   s e c o n d   c o n s t r a i n t ,   t h e   i n c o m i n g   P o d   c a n   o n l y   b e   s c h e d u l e d   t o   t h e   n o d e   n o d e 4 .   T h e   s c h e d u l e r   o n l y   c o n s i d e r s   o p t i o n s   t h a t   s a t i s f y   a l l   d e f i n e d   c o n s t r a i n t s ,   s o   t h e   o n l y   v a l i d   p l a c e m e n t   i s   o n t o   n o d e   n o d e 4 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13011"
  },
  {
    "question": "What is Example: conflicting topology spread constraints?",
    "answer": "M u l t i p l e   c o n s t r a i n t s   c a n   l e a d   t o   c o n f l i c t s .   S u p p o s e   y o u   h a v e   a   3 - n o d e   c l u s t e r   a c r o s s   2   z o n e s :   I f   y o u   w e r e   t o   a p p l y   t w o - c o n s t r a i n t s . y a m l   ( t h e   m a n i f e s t   f r o m   t h e   p r e v i o u s   e x a m p l e )   t o   t h i s   c l u s t e r ,   y o u   w o u l d   s e e   t h a t   t h e   P o d   m y p o d   s t a y s   i n   t h e   P e n d i n g   s t a t e .   T h i s   h a p p e n s   b e c a u s e :   t o   s a t i s f y   t h e   f i r s t   c o n s t r a i n t ,   t h e   P o d   m y p o d   c a n   o n l y   b e   p l a c e d   i n t o   z o n e   B ;   w h i l e   i n   t e r m s   o f   t h e   s e c o n d   c o n s t r a i n t ,   t h e   P o d   m y p o d   c a n   o n l y   s c h e d u l e   t o   n o d e   n o d e 2 .   T h e   i n t e r s e c t i o n   o f   t h e   t w o   c o n s t r a i n t s   r e t u r n s   a n   e m p t y   s e t ,   a n d   t h e   s c h e d u l e r   c a n n o t   p l a c e   t h e   P o d .   T o   o v e r c o m e   t h i s   s i t u a t i o n ,   y o u   c a n   e i t h e r   i n c r e a s e   t h e   v a l u e   o f   m a x S k e w   o r   m o d i f y   o n e   o f   t h e   c o n s t r a i n t s   t o   u s e   w h e n U n s a t i s f i a b l e :   S c h e d u l e A n y w a y .   D e p e n d i n g   o n   c i r c u m s t a n c e s ,   y o u   m i g h t   a l s o   d e c i d e   t o   d e l e t e   a n   e x i s t i n g   P o d   m a n u a l l y   -   f o r   e x a m p l e ,   i f   y o u   a r e   t r o u b l e s h o o t i n g   w h y   a   b u g - f i x   r o l l o u t   i s   n o t   m a k i n g   p r o g r e s s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13012"
  },
  {
    "question": "What is Interaction with node affinity and node selectors?",
    "answer": "T h e   s c h e d u l e r   w i l l   s k i p   t h e   n o n - m a t c h i n g   n o d e s   f r o m   t h e   s k e w   c a l c u l a t i o n s   i f   t h e   i n c o m i n g   P o d   h a s   s p e c . n o d e S e l e c t o r   o r   s p e c . a f f i n i t y . n o d e A f f i n i t y   d e f i n e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13013"
  },
  {
    "question": "What is Example: topology spread constraints with node affinity?",
    "answer": "S u p p o s e   y o u   h a v e   a   5 - n o d e   c l u s t e r   r a n g i n g   a c r o s s   z o n e s   A   t o   C :   a n d   y o u   k n o w   t h a t   z o n e   C   m u s t   b e   e x c l u d e d .   I n   t h i s   c a s e ,   y o u   c a n   c o m p o s e   a   m a n i f e s t   a s   b e l o w ,   s o   t h a t   P o d   m y p o d   w i l l   b e   p l a c e d   i n t o   z o n e   B   i n s t e a d   o f   z o n e   C .   S i m i l a r l y ,   K u b e r n e t e s   a l s o   r e s p e c t s   s p e c . n o d e S e l e c t o r .   k i n d :   P o d   a p i V e r s i o n :   v 1   m e t a d a t a :   n a m e :   m y p o d   l a b e l s :   f o o :   b a r   s p e c :   t o p o l o g y S p r e a d C o n s t r a i n t s :   -   m a x S k e w :   1   t o p o l o g y K e y :   z o n e   w h e n U n s a t i s f i a b l e :   D o N o t S c h e d u l e   l a b e l S e l e c t o r :   m a t c h L a b e l s :   f o o :   b a r   a f f i n i t y :   n o d e A f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   n o d e S e l e c t o r T e r m s :   -   m a t c h E x p r e s s i o n s :   -   k e y :   z o n e   o p e r a t o r :   N o t I n   v a l u e s :   -   z o n e C   c o n t a i n e r s :   -   n a m e :   p a u s e   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 1",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13014"
  },
  {
    "question": "What is Implicit conventions?",
    "answer": "T h e r e   a r e   s o m e   i m p l i c i t   c o n v e n t i o n s   w o r t h   n o t i n g   h e r e :   O n l y   t h e   P o d s   h o l d i n g   t h e   s a m e   n a m e s p a c e   a s   t h e   i n c o m i n g   P o d   c a n   b e   m a t c h i n g   c a n d i d a t e s . T h e   s c h e d u l e r   o n l y   c o n s i d e r s   n o d e s   t h a t   h a v e   a l l   t o p o l o g y S p r e a d C o n s t r a i n t s [ * ] . t o p o l o g y K e y   p r e s e n t   a t   t h e   s a m e   t i m e .   N o d e s   m i s s i n g   a n y   o f   t h e s e   t o p o l o g y K e y s   a r e   b y p a s s e d .   T h i s   i m p l i e s   t h a t : a n y   P o d s   l o c a t e d   o n   t h o s e   b y p a s s e d   n o d e s   d o   n o t   i m p a c t   m a x S k e w   c a l c u l a t i o n   -   i n   t h e   a b o v e   e x a m p l e ,   s u p p o s e   t h e   n o d e   n o d e 1   d o e s   n o t   h a v e   a   l a b e l   \" z o n e \" ,   t h e n   t h e   2   P o d s   w i l l   b e   d i s r e g a r d e d ,   h e n c e   t h e   i n c o m i n g   P o d   w i l l   b e   s c h e d u l e d   i n t o   z o n e   A . t h e   i n c o m i n g   P o d   h a s   n o   c h a n c e s   t o   b e   s c h e d u l e d   o n t o   t h i s   k i n d   o f   n o d e s   -   i n   t h e   a b o v e   e x a m p l e ,   s u p p o s e   a   n o d e   n o d e 5   h a s   t h e   m i s t y p e d   l a b e l   z o n e - t y p o :   z o n e C   ( a n d   n o   z o n e   l a b e l   s e t ) .   A f t e r   n o d e   n o d e 5   j o i n s   t h e   c l u s t e r ,   i t   w i l l   b e   b y p a s s e d   a n d   P o d s   f o r   t h i s   w o r k l o a d   a r e n ' t   s c h e d u l e d   t h e r e . B e   a w a r e   o f   w h a t   w i l l   h a p p e n   i f   t h e   i n c o m i n g   P o d ' s   t o p o l o g y S p r e a d C o n s t r a i n t s [ * ] . l a b e l S e l e c t o r   d o e s n ' t   m a t c h   i t s   o w n   l a b e l s .   I n   t h e   a b o v e   e x ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13015"
  },
  {
    "question": "What is Cluster-level default constraints?",
    "answer": "I t   i s   p o s s i b l e   t o   s e t   d e f a u l t   t o p o l o g y   s p r e a d   c o n s t r a i n t s   f o r   a   c l u s t e r .   D e f a u l t   t o p o l o g y   s p r e a d   c o n s t r a i n t s   a r e   a p p l i e d   t o   a   P o d   i f ,   a n d   o n l y   i f :   I t   d o e s n ' t   d e f i n e   a n y   c o n s t r a i n t s   i n   i t s   . s p e c . t o p o l o g y S p r e a d C o n s t r a i n t s . I t   b e l o n g s   t o   a   S e r v i c e ,   R e p l i c a S e t ,   S t a t e f u l S e t   o r   R e p l i c a t i o n C o n t r o l l e r .   D e f a u l t   c o n s t r a i n t s   c a n   b e   s e t   a s   p a r t   o f   t h e   P o d T o p o l o g y S p r e a d   p l u g i n   a r g u m e n t s   i n   a   s c h e d u l i n g   p r o f i l e .   T h e   c o n s t r a i n t s   a r e   s p e c i f i e d   w i t h   t h e   s a m e   A P I   a b o v e ,   e x c e p t   t h a t   l a b e l S e l e c t o r   m u s t   b e   e m p t y .   T h e   s e l e c t o r s   a r e   c a l c u l a t e d   f r o m   t h e   S e r v i c e s ,   R e p l i c a S e t s ,   S t a t e f u l S e t s   o r   R e p l i c a t i o n C o n t r o l l e r s   t h a t   t h e   P o d   b e l o n g s   t o .   A n   e x a m p l e   c o n f i g u r a t i o n   m i g h t   l o o k   l i k e   f o l l o w s :   a p i V e r s i o n :   k u b e s c h e d u l e r . c o n f i g . k 8 s . i o / v 1   k i n d :   K u b e S c h e d u l e r C o n f i g u r a t i o n   p r o f i l e s :   -   s c h e d u l e r N a m e :   d e f a u l t - s c h e d u l e r   p l u g i n C o n f i g :   -   n a m e :   P o d T o p o l o g y S p r e a d   a r g s :   d e f a u l t C o n s t r a i n t s :   -   m a x S k e w :   1   t o p o l o g y K e y :   t o p o l o g y . k u b e r n e t e s . i o / z o n e   w h e n U n s a t i s f i a b l e :   S c h e d u l e A n y w a y   d e f a u l t i n g T y p e :   L i s t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13016"
  },
  {
    "question": "What is Built-in default constraints?",
    "answer": "I f   y o u   d o n ' t   c o n f i g u r e   a n y   c l u s t e r - l e v e l   d e f a u l t   c o n s t r a i n t s   f o r   p o d   t o p o l o g y   s p r e a d i n g ,   t h e n   k u b e - s c h e d u l e r   a c t s   a s   i f   y o u   s p e c i f i e d   t h e   f o l l o w i n g   d e f a u l t   t o p o l o g y   c o n s t r a i n t s :   d e f a u l t C o n s t r a i n t s :   -   m a x S k e w :   3   t o p o l o g y K e y :   \" k u b e r n e t e s . i o / h o s t n a m e \"   w h e n U n s a t i s f i a b l e :   S c h e d u l e A n y w a y   -   m a x S k e w :   5   t o p o l o g y K e y :   \" t o p o l o g y . k u b e r n e t e s . i o / z o n e \"   w h e n U n s a t i s f i a b l e :   S c h e d u l e A n y w a y   A l s o ,   t h e   l e g a c y   S e l e c t o r S p r e a d   p l u g i n ,   w h i c h   p r o v i d e s   a n   e q u i v a l e n t   b e h a v i o r ,   i s   d i s a b l e d   b y   d e f a u l t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13017"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   P o d T o p o l o g y S p r e a d   p l u g i n   d o e s   n o t   s c o r e   t h e   n o d e s   t h a t   d o n ' t   h a v e   t h e   t o p o l o g y   k e y s   s p e c i f i e d   i n   t h e   s p r e a d i n g   c o n s t r a i n t s .   T h i s   m i g h t   r e s u l t   i n   a   d i f f e r e n t   d e f a u l t   b e h a v i o r   c o m p a r e d   t o   t h e   l e g a c y   S e l e c t o r S p r e a d   p l u g i n   w h e n   u s i n g   t h e   d e f a u l t   t o p o l o g y   c o n s t r a i n t s .   I f   y o u r   n o d e s   a r e   n o t   e x p e c t e d   t o   h a v e   b o t h   k u b e r n e t e s . i o / h o s t n a m e   a n d   t o p o l o g y . k u b e r n e t e s . i o / z o n e   l a b e l s   s e t ,   d e f i n e   y o u r   o w n   c o n s t r a i n t s   i n s t e a d   o f   u s i n g   t h e   K u b e r n e t e s   d e f a u l t s .   I f   y o u   d o n ' t   w a n t   t o   u s e   t h e   d e f a u l t   P o d   s p r e a d i n g   c o n s t r a i n t s   f o r   y o u r   c l u s t e r ,   y o u   c a n   d i s a b l e   t h o s e   d e f a u l t s   b y   s e t t i n g   d e f a u l t i n g T y p e   t o   L i s t   a n d   l e a v i n g   e m p t y   d e f a u l t C o n s t r a i n t s   i n   t h e   P o d T o p o l o g y S p r e a d   p l u g i n   c o n f i g u r a t i o n :   a p i V e r s i o n :   k u b e s c h e d u l e r . c o n f i g . k 8 s . i o / v 1   k i n d :   K u b e S c h e d u l e r C o n f i g u r a t i o n   p r o f i l e s :   -   s c h e d u l e r N a m e :   d e f a u l t - s c h e d u l e r   p l u g i n C o n f i g :   -   n a m e :   P o d T o p o l o g y S p r e a d   a r g s :   d e f a u l t C o n s t r a i n t s :   [ ]   d e f a u l t i n g T y p e :   L i s t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13018"
  },
  {
    "question": "What is Comparison with podAffinity and podAntiAffinity?",
    "answer": "I n   K u b e r n e t e s ,   i n t e r - P o d   a f f i n i t y   a n d   a n t i - a f f i n i t y   c o n t r o l   h o w   P o d s   a r e   s c h e d u l e d   i n   r e l a t i o n   t o   o n e   a n o t h e r   -   e i t h e r   m o r e   p a c k e d   o r   m o r e   s c a t t e r e d .   F o r   f i n e r   c o n t r o l ,   y o u   c a n   s p e c i f y   t o p o l o g y   s p r e a d   c o n s t r a i n t s   t o   d i s t r i b u t e   P o d s   a c r o s s   d i f f e r e n t   t o p o l o g y   d o m a i n s   -   t o   a c h i e v e   e i t h e r   h i g h   a v a i l a b i l i t y   o r   c o s t - s a v i n g .   T h i s   c a n   a l s o   h e l p   o n   r o l l i n g   u p d a t e   w o r k l o a d s   a n d   s c a l i n g   o u t   r e p l i c a s   s m o o t h l y .   F o r   m o r e   c o n t e x t ,   s e e   t h e   M o t i v a t i o n   s e c t i o n   o f   t h e   e n h a n c e m e n t   p r o p o s a l   a b o u t   P o d   t o p o l o g y   s p r e a d   c o n s t r a i n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13019"
  },
  {
    "question": "What is Known limitations?",
    "answer": "T h e r e ' s   n o   g u a r a n t e e   t h a t   t h e   c o n s t r a i n t s   r e m a i n   s a t i s f i e d   w h e n   P o d s   a r e   r e m o v e d .   F o r   e x a m p l e ,   s c a l i n g   d o w n   a   D e p l o y m e n t   m a y   r e s u l t   i n   i m b a l a n c e d   P o d s   d i s t r i b u t i o n . Y o u   c a n   u s e   a   t o o l   s u c h   a s   t h e   D e s c h e d u l e r   t o   r e b a l a n c e   t h e   P o d s   d i s t r i b u t i o n . P o d s   m a t c h e d   o n   t a i n t e d   n o d e s   a r e   r e s p e c t e d .   S e e   I s s u e   8 0 9 2 1 . T h e   s c h e d u l e r   d o e s n ' t   h a v e   p r i o r   k n o w l e d g e   o f   a l l   t h e   z o n e s   o r   o t h e r   t o p o l o g y   d o m a i n s   t h a t   a   c l u s t e r   h a s .   T h e y   a r e   d e t e r m i n e d   f r o m   t h e   e x i s t i n g   n o d e s   i n   t h e   c l u s t e r .   T h i s   c o u l d   l e a d   t o   a   p r o b l e m   i n   a u t o s c a l e d   c l u s t e r s ,   w h e n   a   n o d e   p o o l   ( o r   n o d e   g r o u p )   i s   s c a l e d   t o   z e r o   n o d e s ,   a n d   y o u ' r e   e x p e c t i n g   t h e   c l u s t e r   t o   s c a l e   u p ,   b e c a u s e ,   i n   t h i s   c a s e ,   t h o s e   t o p o l o g y   d o m a i n s   w o n ' t   b e   c o n s i d e r e d   u n t i l   t h e r e   i s   a t   l e a s t   o n e   n o d e   i n   t h e m . Y o u   c a n   w o r k   a r o u n d   t h i s   b y   u s i n g   a   N o d e   a u t o s c a l e r   t h a t   i s   a w a r e   o f   P o d   t o p o l o g y   s p r e a d   c o n s t r a i n t s   a n d   i s   a l s o   a w a r e   o f   t h e   o v e r a l l   s e t   o f   t o p o l o g y   d o m a i n s .   T h e r e ' s   n o   g u a r a n t e e   t h a t   t h e   c o n s t r a i n t s   r e m a i n   s a t i s f i e d   w h e n   P o d s   a r e   r e m o v e d .   F o r   e x a m p l e ,   s c a l i n g   d o w n   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13020"
  },
  {
    "question": "What is What's next?",
    "answer": "T h e   b l o g   a r t i c l e   I n t r o d u c i n g   P o d T o p o l o g y S p r e a d   e x p l a i n s   m a x S k e w   i n   s o m e   d e t a i l ,   a s   w e l l   a s   c o v e r i n g   s o m e   a d v a n c e d   u s a g e   e x a m p l e s . R e a d   t h e   s c h e d u l i n g   s e c t i o n   o f   t h e   A P I   r e f e r e n c e   f o r   P o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13021"
  },
  {
    "question": "What is 10.6 - Taints and Tolerations?",
    "answer": "N o d e   a f f i n i t y   i s   a   p r o p e r t y   o f   P o d s   t h a t   a t t r a c t s   t h e m   t o   a   s e t   o f   n o d e s   ( e i t h e r   a s   a   p r e f e r e n c e   o r   a   h a r d   r e q u i r e m e n t ) .   T a i n t s   a r e   t h e   o p p o s i t e   - -   t h e y   a l l o w   a   n o d e   t o   r e p e l   a   s e t   o f   p o d s .   T o l e r a t i o n s   a r e   a p p l i e d   t o   p o d s .   T o l e r a t i o n s   a l l o w   t h e   s c h e d u l e r   t o   s c h e d u l e   p o d s   w i t h   m a t c h i n g   t a i n t s .   T o l e r a t i o n s   a l l o w   s c h e d u l i n g   b u t   d o n ' t   g u a r a n t e e   s c h e d u l i n g :   t h e   s c h e d u l e r   a l s o   e v a l u a t e s   o t h e r   p a r a m e t e r s   a s   p a r t   o f   i t s   f u n c t i o n .   T a i n t s   a n d   t o l e r a t i o n s   w o r k   t o g e t h e r   t o   e n s u r e   t h a t   p o d s   a r e   n o t   s c h e d u l e d   o n t o   i n a p p r o p r i a t e   n o d e s .   O n e   o r   m o r e   t a i n t s   a r e   a p p l i e d   t o   a   n o d e ;   t h i s   m a r k s   t h a t   t h e   n o d e   s h o u l d   n o t   a c c e p t   a n y   p o d s   t h a t   d o   n o t   t o l e r a t e   t h e   t a i n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13022"
  },
  {
    "question": "What is Concepts?",
    "answer": "Y o u   a d d   a   t a i n t   t o   a   n o d e   u s i n g   k u b e c t l   t a i n t .   F o r   e x a m p l e ,   k u b e c t l   t a i n t   n o d e s   n o d e 1   k e y 1 = v a l u e 1 : N o S c h e d u l e   p l a c e s   a   t a i n t   o n   n o d e   n o d e 1 .   T h e   t a i n t   h a s   k e y   k e y 1 ,   v a l u e   v a l u e 1 ,   a n d   t a i n t   e f f e c t   N o S c h e d u l e .   T h i s   m e a n s   t h a t   n o   p o d   w i l l   b e   a b l e   t o   s c h e d u l e   o n t o   n o d e 1   u n l e s s   i t   h a s   a   m a t c h i n g   t o l e r a t i o n .   T o   r e m o v e   t h e   t a i n t   a d d e d   b y   t h e   c o m m a n d   a b o v e ,   y o u   c a n   r u n :   k u b e c t l   t a i n t   n o d e s   n o d e 1   k e y 1 = v a l u e 1 : N o S c h e d u l e -   Y o u   s p e c i f y   a   t o l e r a t i o n   f o r   a   p o d   i n   t h e   P o d S p e c .   B o t h   o f   t h e   f o l l o w i n g   t o l e r a t i o n s   \" m a t c h \"   t h e   t a i n t   c r e a t e d   b y   t h e   k u b e c t l   t a i n t   l i n e   a b o v e ,   a n d   t h u s   a   p o d   w i t h   e i t h e r   t o l e r a t i o n   w o u l d   b e   a b l e   t o   s c h e d u l e   o n t o   n o d e 1 :   t o l e r a t i o n s :   -   k e y :   \" k e y 1 \"   o p e r a t o r :   \" E q u a l \"   v a l u e :   \" v a l u e 1 \"   e f f e c t :   \" N o S c h e d u l e \"   t o l e r a t i o n s :   -   k e y :   \" k e y 1 \"   o p e r a t o r :   \" E x i s t s \"   e f f e c t :   \" N o S c h e d u l e \"   T h e   d e f a u l t   K u b e r n e t e s   s c h e d u l e r   t a k e s   t a i n t s   a n d   t o l e r a t i o n s   i n t o   a c c o u n t   w h e n   s e l e c t i n g   a   n o d e   t o   r u n   a   p a r t i c u l a r   P o d .   H o w e v e r ,   i f   y o u   m a n u a l l y   s p e c i f y   t h e   . s p e c . n o d e N a m e   f o r   a   P o d ,   t h a t   a c t i o n   b y p a s s e s   t h e   s c h e d u l e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13023"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e r e   a r e   t w o   s p e c i a l   c a s e s :   I f   t h e   k e y   i s   e m p t y ,   t h e n   t h e   o p e r a t o r   m u s t   b e   E x i s t s ,   w h i c h   m a t c h e s   a l l   k e y s   a n d   v a l u e s .   N o t e   t h a t   t h e   e f f e c t   s t i l l   n e e d s   t o   b e   m a t c h e d   a t   t h e   s a m e   t i m e .   A n   e m p t y   e f f e c t   m a t c h e s   a l l   e f f e c t s   w i t h   k e y   k e y 1 .   T h e   a b o v e   e x a m p l e   u s e d   t h e   e f f e c t   o f   N o S c h e d u l e .   A l t e r n a t i v e l y ,   y o u   c a n   u s e   t h e   e f f e c t   o f   P r e f e r N o S c h e d u l e .   T h e   a l l o w e d   v a l u e s   f o r   t h e   e f f e c t   f i e l d   a r e :   P o d s   t h a t   d o   n o t   t o l e r a t e   t h e   t a i n t   a r e   e v i c t e d   i m m e d i a t e l y P o d s   t h a t   t o l e r a t e   t h e   t a i n t   w i t h o u t   s p e c i f y i n g   t o l e r a t i o n S e c o n d s   i n   t h e i r   t o l e r a t i o n   s p e c i f i c a t i o n   r e m a i n   b o u n d   f o r e v e r P o d s   t h a t   t o l e r a t e   t h e   t a i n t   w i t h   a   s p e c i f i e d   t o l e r a t i o n S e c o n d s   r e m a i n   b o u n d   f o r   t h e   s p e c i f i e d   a m o u n t   o f   t i m e .   A f t e r   t h a t   t i m e   e l a p s e s ,   t h e   n o d e   l i f e c y c l e   c o n t r o l l e r   e v i c t s   t h e   P o d s   f r o m   t h e   n o d e .   Y o u   c a n   p u t   m u l t i p l e   t a i n t s   o n   t h e   s a m e   n o d e   a n d   m u l t i p l e   t o l e r a t i o n s   o n   t h e   s a m e   p o d .   T h e   w a y   K u b e r n e t e s   p r o c e s s e s   m u l t i p l e   t a i n t s   a n d   t o l e r a t i o n s   i s   l i k e   a   f i l t e r :   s t a r t   w i t h   a l l   o f   a   n o d e ' s   t a i n t s ,   t h e n   i g n o r e   t h e   o n e s   f o r   w h i c h   t h e   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13024"
  },
  {
    "question": "What is Example Use Cases?",
    "answer": "T a i n t s   a n d   t o l e r a t i o n s   a r e   a   f l e x i b l e   w a y   t o   s t e e r   p o d s   a w a y   f r o m   n o d e s   o r   e v i c t   p o d s   t h a t   s h o u l d n ' t   b e   r u n n i n g .   A   f e w   o f   t h e   u s e   c a s e s   a r e   D e d i c a t e d   N o d e s :   I f   y o u   w a n t   t o   d e d i c a t e   a   s e t   o f   n o d e s   f o r   e x c l u s i v e   u s e   b y   a   p a r t i c u l a r   s e t   o f   u s e r s ,   y o u   c a n   a d d   a   t a i n t   t o   t h o s e   n o d e s   ( s a y ,   k u b e c t l   t a i n t   n o d e s   n o d e n a m e   d e d i c a t e d = g r o u p N a m e : N o S c h e d u l e )   a n d   t h e n   a d d   a   c o r r e s p o n d i n g   t o l e r a t i o n   t o   t h e i r   p o d s   ( t h i s   w o u l d   b e   d o n e   m o s t   e a s i l y   b y   w r i t i n g   a   c u s t o m   a d m i s s i o n   c o n t r o l l e r ) .   T h e   p o d s   w i t h   t h e   t o l e r a t i o n s   w i l l   t h e n   b e   a l l o w e d   t o   u s e   t h e   t a i n t e d   ( d e d i c a t e d )   n o d e s   a s   w e l l   a s   a n y   o t h e r   n o d e s   i n   t h e   c l u s t e r .   I f   y o u   w a n t   t o   d e d i c a t e   t h e   n o d e s   t o   t h e m   a n d   e n s u r e   t h e y   o n l y   u s e   t h e   d e d i c a t e d   n o d e s ,   t h e n   y o u   s h o u l d   a d d i t i o n a l l y   a d d   a   l a b e l   s i m i l a r   t o   t h e   t a i n t   t o   t h e   s a m e   s e t   o f   n o d e s   ( e . g .   d e d i c a t e d = g r o u p N a m e ) ,   a n d   t h e   a d m i s s i o n   c o n t r o l l e r   s h o u l d   a d d i t i o n a l l y   a d d   a   n o d e   a f f i n i t y   t o   r e q u i r e   t h a t   t h e   p o d s   c a n   o n l y   s c h e d u l e   o n t o   n o d e s   l a b e l e d   w i t h   d e d i c a t e d = g r o u p N a m e . N o d e s   w i t h   S p e c i a l   H a r d w a r e :   I n   a   c ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13025"
  },
  {
    "question": "What is Taint based Evictions?",
    "answer": "T h e   n o d e   c o n t r o l l e r   a u t o m a t i c a l l y   t a i n t s   a   N o d e   w h e n   c e r t a i n   c o n d i t i o n s   a r e   t r u e .   T h e   f o l l o w i n g   t a i n t s   a r e   b u i l t   i n :   n o d e . k u b e r n e t e s . i o / n o t - r e a d y :   N o d e   i s   n o t   r e a d y .   T h i s   c o r r e s p o n d s   t o   t h e   N o d e C o n d i t i o n   R e a d y   b e i n g   \" F a l s e \" . n o d e . k u b e r n e t e s . i o / u n r e a c h a b l e :   N o d e   i s   u n r e a c h a b l e   f r o m   t h e   n o d e   c o n t r o l l e r .   T h i s   c o r r e s p o n d s   t o   t h e   N o d e C o n d i t i o n   R e a d y   b e i n g   \" U n k n o w n \" . n o d e . k u b e r n e t e s . i o / m e m o r y - p r e s s u r e :   N o d e   h a s   m e m o r y   p r e s s u r e . n o d e . k u b e r n e t e s . i o / d i s k - p r e s s u r e :   N o d e   h a s   d i s k   p r e s s u r e . n o d e . k u b e r n e t e s . i o / p i d - p r e s s u r e :   N o d e   h a s   P I D   p r e s s u r e . n o d e . k u b e r n e t e s . i o / n e t w o r k - u n a v a i l a b l e :   N o d e ' s   n e t w o r k   i s   u n a v a i l a b l e . n o d e . k u b e r n e t e s . i o / u n s c h e d u l a b l e :   N o d e   i s   u n s c h e d u l a b l e . n o d e . c l o u d p r o v i d e r . k u b e r n e t e s . i o / u n i n i t i a l i z e d :   W h e n   t h e   k u b e l e t   i s   s t a r t e d   w i t h   a n   \" e x t e r n a l \"   c l o u d   p r o v i d e r ,   t h i s   t a i n t   i s   s e t   o n   a   n o d e   t o   m a r k   i t   a s   u n u s a b l e .   A f t e r   a   c o n t r o l l e r   f r o m   t h e   c l o u d - c o n t r o l l e r - m a n a g e r   i n i t i a l i z e s   t h i s   n o d e ,   t h e   k u b e l e t   r e m o v e s   t h i s   t a i n t .   I n   c a s e   a   n o d e   i s   t o   b e   d r a i n e d ,   t h e   n o d e   c o n t r o l l e r   o r   t h e   k u b e l e t   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13026"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   s p e c i f y   t o l e r a t i o n S e c o n d s   f o r   a   P o d   t o   d e f i n e   h o w   l o n g   t h a t   P o d   s t a y s   b o u n d   t o   a   f a i l i n g   o r   u n r e s p o n s i v e   N o d e .   F o r   e x a m p l e ,   y o u   m i g h t   w a n t   t o   k e e p   a n   a p p l i c a t i o n   w i t h   a   l o t   o f   l o c a l   s t a t e   b o u n d   t o   n o d e   f o r   a   l o n g   t i m e   i n   t h e   e v e n t   o f   n e t w o r k   p a r t i t i o n ,   h o p i n g   t h a t   t h e   p a r t i t i o n   w i l l   r e c o v e r   a n d   t h u s   t h e   p o d   e v i c t i o n   c a n   b e   a v o i d e d .   T h e   t o l e r a t i o n   y o u   s e t   f o r   t h a t   P o d   m i g h t   l o o k   l i k e :   t o l e r a t i o n s :   -   k e y :   \" n o d e . k u b e r n e t e s . i o / u n r e a c h a b l e \"   o p e r a t o r :   \" E x i s t s \"   e f f e c t :   \" N o E x e c u t e \"   t o l e r a t i o n S e c o n d s :   6 0 0 0",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13027"
  },
  {
    "question": "What is Note:?",
    "answer": "K u b e r n e t e s   a u t o m a t i c a l l y   a d d s   a   t o l e r a t i o n   f o r   n o d e . k u b e r n e t e s . i o / n o t - r e a d y   a n d   n o d e . k u b e r n e t e s . i o / u n r e a c h a b l e   w i t h   t o l e r a t i o n S e c o n d s = 3 0 0 ,   u n l e s s   y o u ,   o r   a   c o n t r o l l e r ,   s e t   t h o s e   t o l e r a t i o n s   e x p l i c i t l y .   T h e s e   a u t o m a t i c a l l y - a d d e d   t o l e r a t i o n s   m e a n   t h a t   P o d s   r e m a i n   b o u n d   t o   N o d e s   f o r   5   m i n u t e s   a f t e r   o n e   o f   t h e s e   p r o b l e m s   i s   d e t e c t e d .   D a e m o n S e t   p o d s   a r e   c r e a t e d   w i t h   N o E x e c u t e   t o l e r a t i o n s   f o r   t h e   f o l l o w i n g   t a i n t s   w i t h   n o   t o l e r a t i o n S e c o n d s :   n o d e . k u b e r n e t e s . i o / u n r e a c h a b l e n o d e . k u b e r n e t e s . i o / n o t - r e a d y   T h i s   e n s u r e s   t h a t   D a e m o n S e t   p o d s   a r e   n e v e r   e v i c t e d   d u e   t o   t h e s e   p r o b l e m s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13028"
  },
  {
    "question": "What is Taint Nodes by Condition?",
    "answer": "T h e   c o n t r o l   p l a n e ,   u s i n g   t h e   n o d e   c o n t r o l l e r ,   a u t o m a t i c a l l y   c r e a t e s   t a i n t s   w i t h   a   N o S c h e d u l e   e f f e c t   f o r   n o d e   c o n d i t i o n s .   T h e   s c h e d u l e r   c h e c k s   t a i n t s ,   n o t   n o d e   c o n d i t i o n s ,   w h e n   i t   m a k e s   s c h e d u l i n g   d e c i s i o n s .   T h i s   e n s u r e s   t h a t   n o d e   c o n d i t i o n s   d o n ' t   d i r e c t l y   a f f e c t   s c h e d u l i n g .   F o r   e x a m p l e ,   i f   t h e   D i s k P r e s s u r e   n o d e   c o n d i t i o n   i s   a c t i v e ,   t h e   c o n t r o l   p l a n e   a d d s   t h e   n o d e . k u b e r n e t e s . i o / d i s k - p r e s s u r e   t a i n t   a n d   d o e s   n o t   s c h e d u l e   n e w   p o d s   o n t o   t h e   a f f e c t e d   n o d e .   I f   t h e   M e m o r y P r e s s u r e   n o d e   c o n d i t i o n   i s   a c t i v e ,   t h e   c o n t r o l   p l a n e   a d d s   t h e   n o d e . k u b e r n e t e s . i o / m e m o r y - p r e s s u r e   t a i n t .   Y o u   c a n   i g n o r e   n o d e   c o n d i t i o n s   f o r   n e w l y   c r e a t e d   p o d s   b y   a d d i n g   t h e   c o r r e s p o n d i n g   P o d   t o l e r a t i o n s .   T h e   c o n t r o l   p l a n e   a l s o   a d d s   t h e   n o d e . k u b e r n e t e s . i o / m e m o r y - p r e s s u r e   t o l e r a t i o n   o n   p o d s   t h a t   h a v e   a   Q o S   c l a s s   o t h e r   t h a n   B e s t E f f o r t .   T h i s   i s   b e c a u s e   K u b e r n e t e s   t r e a t s   p o d s   i n   t h e   G u a r a n t e e d   o r   B u r s t a b l e   Q o S   c l a s s e s   ( e v e n   p o d s   w i t h   n o   m e m o r y   r e q u e s t   s e t )   a s   i f   t h e y   a r e   a b l e   t o   c o p e   w i t h   m e m o r y   p r e s s u r e ,   w h i l e   n e w   B e s t E f f o r t   p o d s   a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13029"
  },
  {
    "question": "What is Device taints and tolerations?",
    "answer": "I n s t e a d   o f   t a i n t i n g   e n t i r e   n o d e s ,   a d m i n i s t r a t o r s   c a n   a l s o   t a i n t   i n d i v i d u a l   d e v i c e s   w h e n   t h e   c l u s t e r   u s e s   d y n a m i c   r e s o u r c e   a l l o c a t i o n   t o   m a n a g e   s p e c i a l   h a r d w a r e .   T h e   a d v a n t a g e   i s   t h a t   t a i n t i n g   c a n   b e   t a r g e t e d   t o w a r d s   e x a c t l y   t h e   h a r d w a r e   t h a t   i s   f a u l t y   o r   n e e d s   m a i n t e n a n c e .   T o l e r a t i o n s   a r e   a l s o   s u p p o r t e d   a n d   c a n   b e   s p e c i f i e d   w h e n   r e q u e s t i n g   d e v i c e s .   L i k e   t a i n t s   t h e y   a p p l y   t o   a l l   p o d s   w h i c h   s h a r e   t h e   s a m e   a l l o c a t e d   d e v i c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13030"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   N o d e - p r e s s u r e   E v i c t i o n   a n d   h o w   y o u   c a n   c o n f i g u r e   i t R e a d   a b o u t   P o d   P r i o r i t y R e a d   a b o u t   d e v i c e   t a i n t s   a n d   t o l e r a t i o n s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13031"
  },
  {
    "question": "What is 10.7 - Scheduling Framework?",
    "answer": "T h e   s c h e d u l i n g   f r a m e w o r k   i s   a   p l u g g a b l e   a r c h i t e c t u r e   f o r   t h e   K u b e r n e t e s   s c h e d u l e r .   I t   c o n s i s t s   o f   a   s e t   o f   \" p l u g i n \"   A P I s   t h a t   a r e   c o m p i l e d   d i r e c t l y   i n t o   t h e   s c h e d u l e r .   T h e s e   A P I s   a l l o w   m o s t   s c h e d u l i n g   f e a t u r e s   t o   b e   i m p l e m e n t e d   a s   p l u g i n s ,   w h i l e   k e e p i n g   t h e   s c h e d u l i n g   \" c o r e \"   l i g h t w e i g h t   a n d   m a i n t a i n a b l e .   R e f e r   t o   t h e   d e s i g n   p r o p o s a l   o f   t h e   s c h e d u l i n g   f r a m e w o r k   f o r   m o r e   t e c h n i c a l   i n f o r m a t i o n   o n   t h e   d e s i g n   o f   t h e   f r a m e w o r k .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13032"
  },
  {
    "question": "What is Framework workflow?",
    "answer": "T h e   S c h e d u l i n g   F r a m e w o r k   d e f i n e s   a   f e w   e x t e n s i o n   p o i n t s .   S c h e d u l e r   p l u g i n s   r e g i s t e r   t o   b e   i n v o k e d   a t   o n e   o r   m o r e   e x t e n s i o n   p o i n t s .   S o m e   o f   t h e s e   p l u g i n s   c a n   c h a n g e   t h e   s c h e d u l i n g   d e c i s i o n s   a n d   s o m e   a r e   i n f o r m a t i o n a l   o n l y .   E a c h   a t t e m p t   t o   s c h e d u l e   o n e   P o d   i s   s p l i t   i n t o   t w o   p h a s e s ,   t h e   s c h e d u l i n g   c y c l e   a n d   t h e   b i n d i n g   c y c l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13033"
  },
  {
    "question": "What is Scheduling cycle & binding cycle?",
    "answer": "T h e   s c h e d u l i n g   c y c l e   s e l e c t s   a   n o d e   f o r   t h e   P o d ,   a n d   t h e   b i n d i n g   c y c l e   a p p l i e s   t h a t   d e c i s i o n   t o   t h e   c l u s t e r .   T o g e t h e r ,   a   s c h e d u l i n g   c y c l e   a n d   b i n d i n g   c y c l e   a r e   r e f e r r e d   t o   a s   a   \" s c h e d u l i n g   c o n t e x t \" .   S c h e d u l i n g   c y c l e s   a r e   r u n   s e r i a l l y ,   w h i l e   b i n d i n g   c y c l e s   m a y   r u n   c o n c u r r e n t l y .   A   s c h e d u l i n g   o r   b i n d i n g   c y c l e   c a n   b e   a b o r t e d   i f   t h e   P o d   i s   d e t e r m i n e d   t o   b e   u n s c h e d u l a b l e   o r   i f   t h e r e   i s   a n   i n t e r n a l   e r r o r .   T h e   P o d   w i l l   b e   r e t u r n e d   t o   t h e   q u e u e   a n d   r e t r i e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13034"
  },
  {
    "question": "What is Interfaces?",
    "answer": "T h e   f o l l o w i n g   p i c t u r e   s h o w s   t h e   s c h e d u l i n g   c o n t e x t   o f   a   P o d   a n d   t h e   i n t e r f a c e s   t h a t   t h e   s c h e d u l i n g   f r a m e w o r k   e x p o s e s .   O n e   p l u g i n   m a y   i m p l e m e n t   m u l t i p l e   i n t e r f a c e s   t o   p e r f o r m   m o r e   c o m p l e x   o r   s t a t e f u l   t a s k s .   S o m e   i n t e r f a c e s   m a t c h   t h e   s c h e d u l e r   e x t e n s i o n   p o i n t s   w h i c h   c a n   b e   c o n f i g u r e d   t h r o u g h   S c h e d u l e r   C o n f i g u r a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13035"
  },
  {
    "question": "What is PreEnqueue?",
    "answer": "T h e s e   p l u g i n s   a r e   c a l l e d   p r i o r   t o   a d d i n g   P o d s   t o   t h e   i n t e r n a l   a c t i v e   q u e u e ,   w h e r e   P o d s   a r e   m a r k e d   a s   r e a d y   f o r   s c h e d u l i n g .   O n l y   w h e n   a l l   P r e E n q u e u e   p l u g i n s   r e t u r n   S u c c e s s ,   t h e   P o d   i s   a l l o w e d   t o   e n t e r   t h e   a c t i v e   q u e u e .   O t h e r w i s e ,   i t ' s   p l a c e d   i n   t h e   i n t e r n a l   u n s c h e d u l a b l e   P o d s   l i s t ,   a n d   d o e s n ' t   g e t   a n   U n s c h e d u l a b l e   c o n d i t i o n .   F o r   m o r e   d e t a i l s   a b o u t   h o w   i n t e r n a l   s c h e d u l e r   q u e u e s   w o r k ,   r e a d   S c h e d u l i n g   q u e u e   i n   k u b e - s c h e d u l e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13036"
  },
  {
    "question": "What is EnqueueExtension?",
    "answer": "E n q u e u e E x t e n s i o n   i s   t h e   i n t e r f a c e   w h e r e   t h e   p l u g i n   c a n   c o n t r o l   w h e t h e r   t o   r e t r y   s c h e d u l i n g   o f   P o d s   r e j e c t e d   b y   t h i s   p l u g i n ,   b a s e d   o n   c h a n g e s   i n   t h e   c l u s t e r .   P l u g i n s   t h a t   i m p l e m e n t   P r e E n q u e u e ,   P r e F i l t e r ,   F i l t e r ,   R e s e r v e   o r   P e r m i t   s h o u l d   i m p l e m e n t   t h i s   i n t e r f a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13037"
  },
  {
    "question": "What is QueueingHint?",
    "answer": "Q u e u e i n g H i n t   i s   a   c a l l b a c k   f u n c t i o n   f o r   d e c i d i n g   w h e t h e r   a   P o d   c a n   b e   r e q u e u e d   t o   t h e   a c t i v e   q u e u e   o r   b a c k o f f   q u e u e .   I t ' s   e x e c u t e d   e v e r y   t i m e   a   c e r t a i n   k i n d   o f   e v e n t   o r   c h a n g e   h a p p e n s   i n   t h e   c l u s t e r .   W h e n   t h e   Q u e u e i n g H i n t   f i n d s   t h a t   t h e   e v e n t   m i g h t   m a k e   t h e   P o d   s c h e d u l a b l e ,   t h e   P o d   i s   p u t   i n t o   t h e   a c t i v e   q u e u e   o r   t h e   b a c k o f f   q u e u e   s o   t h a t   t h e   s c h e d u l e r   w i l l   r e t r y   t h e   s c h e d u l i n g   o f   t h e   P o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13038"
  },
  {
    "question": "What is QueueSort?",
    "answer": "T h e s e   p l u g i n s   a r e   u s e d   t o   s o r t   P o d s   i n   t h e   s c h e d u l i n g   q u e u e .   A   q u e u e   s o r t   p l u g i n   e s s e n t i a l l y   p r o v i d e s   a   L e s s ( P o d 1 ,   P o d 2 )   f u n c t i o n .   O n l y   o n e   q u e u e   s o r t   p l u g i n   m a y   b e   e n a b l e d   a t   a   t i m e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13039"
  },
  {
    "question": "What is PreFilter?",
    "answer": "T h e s e   p l u g i n s   a r e   u s e d   t o   p r e - p r o c e s s   i n f o   a b o u t   t h e   P o d ,   o r   t o   c h e c k   c e r t a i n   c o n d i t i o n s   t h a t   t h e   c l u s t e r   o r   t h e   P o d   m u s t   m e e t .   I f   a   P r e F i l t e r   p l u g i n   r e t u r n s   a n   e r r o r ,   t h e   s c h e d u l i n g   c y c l e   i s   a b o r t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13040"
  },
  {
    "question": "What is Filter?",
    "answer": "T h e s e   p l u g i n s   a r e   u s e d   t o   f i l t e r   o u t   n o d e s   t h a t   c a n n o t   r u n   t h e   P o d .   F o r   e a c h   n o d e ,   t h e   s c h e d u l e r   w i l l   c a l l   f i l t e r   p l u g i n s   i n   t h e i r   c o n f i g u r e d   o r d e r .   I f   a n y   f i l t e r   p l u g i n   m a r k s   t h e   n o d e   a s   i n f e a s i b l e ,   t h e   r e m a i n i n g   p l u g i n s   w i l l   n o t   b e   c a l l e d   f o r   t h a t   n o d e .   N o d e s   m a y   b e   e v a l u a t e d   c o n c u r r e n t l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13041"
  },
  {
    "question": "What is PostFilter?",
    "answer": "T h e s e   p l u g i n s   a r e   c a l l e d   a f t e r   t h e   F i l t e r   p h a s e ,   b u t   o n l y   w h e n   n o   f e a s i b l e   n o d e s   w e r e   f o u n d   f o r   t h e   p o d .   P l u g i n s   a r e   c a l l e d   i n   t h e i r   c o n f i g u r e d   o r d e r .   I f   a n y   p o s t F i l t e r   p l u g i n   m a r k s   t h e   n o d e   a s   S c h e d u l a b l e ,   t h e   r e m a i n i n g   p l u g i n s   w i l l   n o t   b e   c a l l e d .   A   t y p i c a l   P o s t F i l t e r   i m p l e m e n t a t i o n   i s   p r e e m p t i o n ,   w h i c h   t r i e s   t o   m a k e   t h e   p o d   s c h e d u l a b l e   b y   p r e e m p t i n g   o t h e r   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13042"
  },
  {
    "question": "What is PreScore?",
    "answer": "T h e s e   p l u g i n s   a r e   u s e d   t o   p e r f o r m   \" p r e - s c o r i n g \"   w o r k ,   w h i c h   g e n e r a t e s   a   s h a r a b l e   s t a t e   f o r   S c o r e   p l u g i n s   t o   u s e .   I f   a   P r e S c o r e   p l u g i n   r e t u r n s   a n   e r r o r ,   t h e   s c h e d u l i n g   c y c l e   i s   a b o r t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13043"
  },
  {
    "question": "What is Score?",
    "answer": "T h e s e   p l u g i n s   a r e   u s e d   t o   r a n k   n o d e s   t h a t   h a v e   p a s s e d   t h e   f i l t e r i n g   p h a s e .   T h e   s c h e d u l e r   w i l l   c a l l   e a c h   s c o r i n g   p l u g i n   f o r   e a c h   n o d e .   T h e r e   w i l l   b e   a   w e l l   d e f i n e d   r a n g e   o f   i n t e g e r s   r e p r e s e n t i n g   t h e   m i n i m u m   a n d   m a x i m u m   s c o r e s .   A f t e r   t h e   N o r m a l i z e S c o r e   p h a s e ,   t h e   s c h e d u l e r   w i l l   c o m b i n e   n o d e   s c o r e s   f r o m   a l l   p l u g i n s   a c c o r d i n g   t o   t h e   c o n f i g u r e d   p l u g i n   w e i g h t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13044"
  },
  {
    "question": "What is Capacity scoring?",
    "answer": "T h e   f e a t u r e   g a t e   V o l u m e C a p a c i t y P r i o r i t y   w a s   u s e d   i n   v 1 . 3 2   t o   s u p p o r t   s t o r a g e   t h a t   a r e   s t a t i c a l l y   p r o v i s i o n e d .   S t a r t i n g   f r o m   v 1 . 3 3 ,   t h e   n e w   f e a t u r e   g a t e   S t o r a g e C a p a c i t y S c o r i n g   r e p l a c e s   t h e   o l d   V o l u m e C a p a c i t y P r i o r i t y   g a t e   w i t h   a d d e d   s u p p o r t   t o   d y n a m i c a l l y   p r o v i s i o n e d   s t o r a g e .   W h e n   S t o r a g e C a p a c i t y S c o r i n g   i s   e n a b l e d ,   t h e   V o l u m e B i n d i n g   p l u g i n   i n   t h e   k u b e - s c h e d u l e r   i s   e x t e n d e d   t o   s c o r e   N o d e s   b a s e d   o n   t h e   s t o r a g e   c a p a c i t y   o n   e a c h   o f   t h e m .   T h i s   f e a t u r e   i s   a p p l i c a b l e   t o   C S I   v o l u m e s   t h a t   s u p p o r t e d   S t o r a g e   C a p a c i t y ,   i n c l u d i n g   l o c a l   s t o r a g e   b a c k e d   b y   a   C S I   d r i v e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13045"
  },
  {
    "question": "What is NormalizeScore?",
    "answer": "T h e s e   p l u g i n s   a r e   u s e d   t o   m o d i f y   s c o r e s   b e f o r e   t h e   s c h e d u l e r   c o m p u t e s   a   f i n a l   r a n k i n g   o f   N o d e s .   A   p l u g i n   t h a t   r e g i s t e r s   f o r   t h i s   e x t e n s i o n   p o i n t   w i l l   b e   c a l l e d   w i t h   t h e   S c o r e   r e s u l t s   f r o m   t h e   s a m e   p l u g i n .   T h i s   i s   c a l l e d   o n c e   p e r   p l u g i n   p e r   s c h e d u l i n g   c y c l e .   F o r   e x a m p l e ,   s u p p o s e   a   p l u g i n   B l i n k i n g L i g h t S c o r e r   r a n k s   N o d e s   b a s e d   o n   h o w   m a n y   b l i n k i n g   l i g h t s   t h e y   h a v e .   f u n c   S c o r e N o d e ( _   * v 1 . p o d ,   n   * v 1 . N o d e )   ( i n t ,   e r r o r )   {   r e t u r n   g e t B l i n k i n g L i g h t C o u n t ( n )   }   H o w e v e r ,   t h e   m a x i m u m   c o u n t   o f   b l i n k i n g   l i g h t s   m a y   b e   s m a l l   c o m p a r e d   t o   N o d e S c o r e M a x .   T o   f i x   t h i s ,   B l i n k i n g L i g h t S c o r e r   s h o u l d   a l s o   r e g i s t e r   f o r   t h i s   e x t e n s i o n   p o i n t .   f u n c   N o r m a l i z e S c o r e s ( s c o r e s   m a p [ s t r i n g ] i n t )   {   h i g h e s t   : =   0   f o r   _ ,   s c o r e   : =   r a n g e   s c o r e s   {   h i g h e s t   =   m a x ( h i g h e s t ,   s c o r e )   }   f o r   n o d e ,   s c o r e   : =   r a n g e   s c o r e s   {   s c o r e s [ n o d e ]   =   s c o r e * N o d e S c o r e M a x / h i g h e s t   }   }   I f   a n y   N o r m a l i z e S c o r e   p l u g i n   r e t u r n s   a n   e r r o r ,   t h e   s c h e d u l i n g   c y c l e   i s   a b o r t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13046"
  },
  {
    "question": "What is Reserve?",
    "answer": "A   p l u g i n   t h a t   i m p l e m e n t s   t h e   R e s e r v e   i n t e r f a c e   h a s   t w o   m e t h o d s ,   n a m e l y   R e s e r v e   a n d   U n r e s e r v e ,   t h a t   b a c k   t w o   i n f o r m a t i o n a l   s c h e d u l i n g   p h a s e s   c a l l e d   R e s e r v e   a n d   U n r e s e r v e ,   r e s p e c t i v e l y .   P l u g i n s   w h i c h   m a i n t a i n   r u n t i m e   s t a t e   ( a k a   \" s t a t e f u l   p l u g i n s \" )   s h o u l d   u s e   t h e s e   p h a s e s   t o   b e   n o t i f i e d   b y   t h e   s c h e d u l e r   w h e n   r e s o u r c e s   o n   a   n o d e   a r e   b e i n g   r e s e r v e d   a n d   u n r e s e r v e d   f o r   a   g i v e n   P o d .   T h e   R e s e r v e   p h a s e   h a p p e n s   b e f o r e   t h e   s c h e d u l e r   a c t u a l l y   b i n d s   a   P o d   t o   i t s   d e s i g n a t e d   n o d e .   I t   e x i s t s   t o   p r e v e n t   r a c e   c o n d i t i o n s   w h i l e   t h e   s c h e d u l e r   w a i t s   f o r   t h e   b i n d   t o   s u c c e e d .   T h e   R e s e r v e   m e t h o d   o f   e a c h   R e s e r v e   p l u g i n   m a y   s u c c e e d   o r   f a i l ;   i f   o n e   R e s e r v e   m e t h o d   c a l l   f a i l s ,   s u b s e q u e n t   p l u g i n s   a r e   n o t   e x e c u t e d   a n d   t h e   R e s e r v e   p h a s e   i s   c o n s i d e r e d   t o   h a v e   f a i l e d .   I f   t h e   R e s e r v e   m e t h o d   o f   a l l   p l u g i n s   s u c c e e d ,   t h e   R e s e r v e   p h a s e   i s   c o n s i d e r e d   t o   b e   s u c c e s s f u l   a n d   t h e   r e s t   o f   t h e   s c h e d u l i n g   c y c l e   a n d   t h e   b i n d i n g   c y c l e   a r e   e x e c u t e d .   T h e   U n r e s e r v e   p h a s e   i s   t r i g g e r e d   i f   t h e   R e s e r v e   p h a s e   o r   a   l a t e r   p h a s e   f a i l s .   W h e n   t h i s   h ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13047"
  },
  {
    "question": "What is Permit?",
    "answer": "P e r m i t   p l u g i n s   a r e   i n v o k e d   a t   t h e   e n d   o f   t h e   s c h e d u l i n g   c y c l e   f o r   e a c h   P o d ,   t o   p r e v e n t   o r   d e l a y   t h e   b i n d i n g   t o   t h e   c a n d i d a t e   n o d e .   A   p e r m i t   p l u g i n   c a n   d o   o n e   o f   t h e   t h r e e   t h i n g s :   a p p r o v e O n c e   a l l   P e r m i t   p l u g i n s   a p p r o v e   a   P o d ,   i t   i s   s e n t   f o r   b i n d i n g . d e n y I f   a n y   P e r m i t   p l u g i n   d e n i e s   a   P o d ,   i t   i s   r e t u r n e d   t o   t h e   s c h e d u l i n g   q u e u e .   T h i s   w i l l   t r i g g e r   t h e   U n r e s e r v e   p h a s e   i n   R e s e r v e   p l u g i n s . w a i t   ( w i t h   a   t i m e o u t ) I f   a   P e r m i t   p l u g i n   r e t u r n s   \" w a i t \" ,   t h e n   t h e   P o d   i s   k e p t   i n   a n   i n t e r n a l   \" w a i t i n g \"   P o d s   l i s t ,   a n d   t h e   b i n d i n g   c y c l e   o f   t h i s   P o d   s t a r t s   b u t   d i r e c t l y   b l o c k s   u n t i l   i t   g e t s   a p p r o v e d .   I f   a   t i m e o u t   o c c u r s ,   w a i t   b e c o m e s   d e n y   a n d   t h e   P o d   i s   r e t u r n e d   t o   t h e   s c h e d u l i n g   q u e u e ,   t r i g g e r i n g   t h e   U n r e s e r v e   p h a s e   i n   R e s e r v e   p l u g i n s .   a p p r o v e O n c e   a l l   P e r m i t   p l u g i n s   a p p r o v e   a   P o d ,   i t   i s   s e n t   f o r   b i n d i n g .   d e n y I f   a n y   P e r m i t   p l u g i n   d e n i e s   a   P o d ,   i t   i s   r e t u r n e d   t o   t h e   s c h e d u l i n g   q u e u e .   T h i s   w i l l   t r i g g e r   t h e   U n r e s e r v e   p h a s e   i n   R e s e r v e   p l u g i n s .   w a i t   ( w i t h   a   t i m e o u t ) I f   a   P e r m i t   p l u g i n   r e t u r n s   \" w a i t \" ,   t h e n   t h e   P o d   i s   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13048"
  },
  {
    "question": "What is PreBind?",
    "answer": "T h e s e   p l u g i n s   a r e   u s e d   t o   p e r f o r m   a n y   w o r k   r e q u i r e d   b e f o r e   a   P o d   i s   b o u n d .   F o r   e x a m p l e ,   a   p r e - b i n d   p l u g i n   m a y   p r o v i s i o n   a   n e t w o r k   v o l u m e   a n d   m o u n t   i t   o n   t h e   t a r g e t   n o d e   b e f o r e   a l l o w i n g   t h e   P o d   t o   r u n   t h e r e .   I f   a n y   P r e B i n d   p l u g i n   r e t u r n s   a n   e r r o r ,   t h e   P o d   i s   r e j e c t e d   a n d   r e t u r n e d   t o   t h e   s c h e d u l i n g   q u e u e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13049"
  },
  {
    "question": "What is Bind?",
    "answer": "T h e s e   p l u g i n s   a r e   u s e d   t o   b i n d   a   P o d   t o   a   N o d e .   B i n d   p l u g i n s   w i l l   n o t   b e   c a l l e d   u n t i l   a l l   P r e B i n d   p l u g i n s   h a v e   c o m p l e t e d .   E a c h   b i n d   p l u g i n   i s   c a l l e d   i n   t h e   c o n f i g u r e d   o r d e r .   A   b i n d   p l u g i n   m a y   c h o o s e   w h e t h e r   o r   n o t   t o   h a n d l e   t h e   g i v e n   P o d .   I f   a   b i n d   p l u g i n   c h o o s e s   t o   h a n d l e   a   P o d ,   t h e   r e m a i n i n g   b i n d   p l u g i n s   a r e   s k i p p e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13050"
  },
  {
    "question": "What is PostBind?",
    "answer": "T h i s   i s   a n   i n f o r m a t i o n a l   i n t e r f a c e .   P o s t - b i n d   p l u g i n s   a r e   c a l l e d   a f t e r   a   P o d   i s   s u c c e s s f u l l y   b o u n d .   T h i s   i s   t h e   e n d   o f   a   b i n d i n g   c y c l e ,   a n d   c a n   b e   u s e d   t o   c l e a n   u p   a s s o c i a t e d   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13051"
  },
  {
    "question": "What is Plugin API?",
    "answer": "T h e r e   a r e   t w o   s t e p s   t o   t h e   p l u g i n   A P I .   F i r s t ,   p l u g i n s   m u s t   r e g i s t e r   a n d   g e t   c o n f i g u r e d ,   t h e n   t h e y   u s e   t h e   e x t e n s i o n   p o i n t   i n t e r f a c e s .   E x t e n s i o n   p o i n t   i n t e r f a c e s   h a v e   t h e   f o l l o w i n g   f o r m .   t y p e   P l u g i n   i n t e r f a c e   {   N a m e ( )   s t r i n g   }   t y p e   Q u e u e S o r t P l u g i n   i n t e r f a c e   {   P l u g i n   L e s s ( * v 1 . p o d ,   * v 1 . p o d )   b o o l   }   t y p e   P r e F i l t e r P l u g i n   i n t e r f a c e   {   P l u g i n   P r e F i l t e r ( c o n t e x t . C o n t e x t ,   * f r a m e w o r k . C y c l e S t a t e ,   * v 1 . p o d )   e r r o r   }   / /   . . .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13052"
  },
  {
    "question": "What is Plugin configuration?",
    "answer": "Y o u   c a n   e n a b l e   o r   d i s a b l e   p l u g i n s   i n   t h e   s c h e d u l e r   c o n f i g u r a t i o n .   I f   y o u   a r e   u s i n g   K u b e r n e t e s   v 1 . 1 8   o r   l a t e r ,   m o s t   s c h e d u l i n g   p l u g i n s   a r e   i n   u s e   a n d   e n a b l e d   b y   d e f a u l t .   I n   a d d i t i o n   t o   d e f a u l t   p l u g i n s ,   y o u   c a n   a l s o   i m p l e m e n t   y o u r   o w n   s c h e d u l i n g   p l u g i n s   a n d   g e t   t h e m   c o n f i g u r e d   a l o n g   w i t h   d e f a u l t   p l u g i n s .   Y o u   c a n   v i s i t   s c h e d u l e r - p l u g i n s   f o r   m o r e   d e t a i l s .   I f   y o u   a r e   u s i n g   K u b e r n e t e s   v 1 . 1 8   o r   l a t e r ,   y o u   c a n   c o n f i g u r e   a   s e t   o f   p l u g i n s   a s   a   s c h e d u l e r   p r o f i l e   a n d   t h e n   d e f i n e   m u l t i p l e   p r o f i l e s   t o   f i t   v a r i o u s   k i n d s   o f   w o r k l o a d .   L e a r n   m o r e   a t   m u l t i p l e   p r o f i l e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13053"
  },
  {
    "question": "What is 10.8 - Dynamic Resource Allocation?",
    "answer": "T h i s   p a g e   d e s c r i b e s   d y n a m i c   r e s o u r c e   a l l o c a t i o n   ( D R A )   i n   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13054"
  },
  {
    "question": "What is About DRA?",
    "answer": "D R A   i s   a   K u b e r n e t e s   f e a t u r e   t h a t   l e t s   y o u   r e q u e s t   a n d   s h a r e   r e s o u r c e s   a m o n g   P o d s .   T h e s e   r e s o u r c e s   a r e   o f t e n   a t t a c h e d   d e v i c e s   l i k e   h a r d w a r e   a c c e l e r a t o r s .   D R A   i s   a   K u b e r n e t e s   f e a t u r e   t h a t   l e t s   y o u   r e q u e s t   a n d   s h a r e   r e s o u r c e s   a m o n g   P o d s .   T h e s e   r e s o u r c e s   a r e   o f t e n   a t t a c h e d   d e v i c e s   l i k e   h a r d w a r e   a c c e l e r a t o r s .   W i t h   D R A ,   d e v i c e   d r i v e r s   a n d   c l u s t e r   a d m i n s   d e f i n e   d e v i c e   c l a s s e s   t h a t   a r e   a v a i l a b l e   t o   c l a i m   i n   w o r k l o a d s .   K u b e r n e t e s   a l l o c a t e s   m a t c h i n g   d e v i c e s   t o   s p e c i f i c   c l a i m s   a n d   p l a c e s   t h e   c o r r e s p o n d i n g   P o d s   o n   n o d e s   t h a t   c a n   a c c e s s   t h e   a l l o c a t e d   d e v i c e s .   A l l o c a t i n g   r e s o u r c e s   w i t h   D R A   i s   a   s i m i l a r   e x p e r i e n c e   t o   d y n a m i c   v o l u m e   p r o v i s i o n i n g ,   i n   w h i c h   y o u   u s e   P e r s i s t e n t V o l u m e C l a i m s   t o   c l a i m   s t o r a g e   c a p a c i t y   f r o m   s t o r a g e   c l a s s e s   a n d   r e q u e s t   t h e   c l a i m e d   c a p a c i t y   i n   y o u r   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13055"
  },
  {
    "question": "What is Benefits of DRA?",
    "answer": "D R A   p r o v i d e s   a   f l e x i b l e   w a y   t o   c a t e g o r i z e ,   r e q u e s t ,   a n d   u s e   d e v i c e s   i n   y o u r   c l u s t e r .   U s i n g   D R A   p r o v i d e s   b e n e f i t s   l i k e   t h e   f o l l o w i n g :   F l e x i b l e   d e v i c e   f i l t e r i n g :   u s e   c o m m o n   e x p r e s s i o n   l a n g u a g e   ( C E L )   t o   p e r f o r m   f i n e - g r a i n e d   f i l t e r i n g   f o r   s p e c i f i c   d e v i c e   a t t r i b u t e s . D e v i c e   s h a r i n g :   s h a r e   t h e   s a m e   r e s o u r c e   w i t h   m u l t i p l e   c o n t a i n e r s   o r   P o d s   b y   r e f e r e n c i n g   t h e   c o r r e s p o n d i n g   r e s o u r c e   c l a i m . C e n t r a l i z e d   d e v i c e   c a t e g o r i z a t i o n :   d e v i c e   d r i v e r s   a n d   c l u s t e r   a d m i n s   c a n   u s e   d e v i c e   c l a s s e s   t o   p r o v i d e   a p p   o p e r a t o r s   w i t h   h a r d w a r e   c a t e g o r i e s   t h a t   a r e   o p t i m i z e d   f o r   v a r i o u s   u s e   c a s e s .   F o r   e x a m p l e ,   y o u   c a n   c r e a t e   a   c o s t - o p t i m i z e d   d e v i c e   c l a s s   f o r   g e n e r a l - p u r p o s e   w o r k l o a d s ,   a n d   a   h i g h - p e r f o r m a n c e   d e v i c e   c l a s s   f o r   c r i t i c a l   j o b s . S i m p l i f i e d   P o d   r e q u e s t s :   w i t h   D R A ,   a p p   o p e r a t o r s   d o n ' t   n e e d   t o   s p e c i f y   d e v i c e   q u a n t i t i e s   i n   P o d   r e s o u r c e   r e q u e s t s .   I n s t e a d ,   t h e   P o d   r e f e r e n c e s   a   r e s o u r c e   c l a i m ,   a n d   t h e   d e v i c e   c o n f i g u r a t i o n   i n   t h a t   c l a i m   a p p l i e s   t o   t h e   P o d .   T h e s e   b e n e f i t s   p r o v i d e   s i g n i f i c a n t   i m p r o v e m e n t s   i n   t h e   d e v i c e   a l l o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13056"
  },
  {
    "question": "What is Types of DRA users?",
    "answer": "T h e   w o r k f l o w   o f   u s i n g   D R A   t o   a l l o c a t e   d e v i c e s   i n v o l v e s   t h e   f o l l o w i n g   t y p e s   o f   u s e r s :   D e v i c e   o w n e r :   r e s p o n s i b l e   f o r   d e v i c e s .   D e v i c e   o w n e r s   m i g h t   b e   c o m m e r c i a l   v e n d o r s ,   t h e   c l u s t e r   o p e r a t o r ,   o r   a n o t h e r   e n t i t y .   T o   u s e   D R A ,   d e v i c e s   m u s t   h a v e   D R A - c o m p a t i b l e   d r i v e r s   t h a t   d o   t h e   f o l l o w i n g : C r e a t e   R e s o u r c e S l i c e s   t h a t   p r o v i d e   K u b e r n e t e s   w i t h   i n f o r m a t i o n   a b o u t   n o d e s   a n d   r e s o u r c e s . U p d a t e   R e s o u r c e S l i c e s   w h e n   r e s o u r c e   c a p a c i t y   i n   t h e   c l u s t e r   c h a n g e s . O p t i o n a l l y ,   c r e a t e   D e v i c e C l a s s e s   t h a t   w o r k l o a d   o p e r a t o r s   c a n   u s e   t o   c l a i m   d e v i c e s . C l u s t e r   a d m i n :   r e s p o n s i b l e   f o r   c o n f i g u r i n g   c l u s t e r s   a n d   n o d e s ,   a t t a c h i n g   d e v i c e s ,   i n s t a l l i n g   d r i v e r s ,   a n d   s i m i l a r   t a s k s .   T o   u s e   D R A ,   c l u s t e r   a d m i n s   d o   t h e   f o l l o w i n g : A t t a c h   d e v i c e s   t o   n o d e s . I n s t a l l   d e v i c e   d r i v e r s   t h a t   s u p p o r t   D R A . O p t i o n a l l y ,   c r e a t e   D e v i c e C l a s s e s   t h a t   w o r k l o a d   o p e r a t o r s   c a n   u s e   t o   c l a i m   d e v i c e s . W o r k l o a d   o p e r a t o r :   r e s p o n s i b l e   f o r   d e p l o y i n g   a n d   m a n a g i n g   w o r k l o a d s   i n   t h e   c l u s t e r .   T o   u s e   D R A   t o   a l l o c a t e   d e v i c e s   t o   P o d s ,   w o r k l o a d   o p e r a t o r s   d o   t h e   f o l l o w i n g : C r e a t e   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13057"
  },
  {
    "question": "What is DRA terminology?",
    "answer": "D R A   u s e s   t h e   f o l l o w i n g   K u b e r n e t e s   A P I   k i n d s   t o   p r o v i d e   t h e   c o r e   a l l o c a t i o n   f u n c t i o n a l i t y .   A l l   o f   t h e s e   A P I   k i n d s   a r e   i n c l u d e d   i n   t h e   r e s o u r c e . k 8 s . i o / v 1   A P I   g r o u p .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13058"
  },
  {
    "question": "What is DeviceClass?",
    "answer": "A   D e v i c e C l a s s   l e t s   c l u s t e r   a d m i n s   o r   d e v i c e   d r i v e r s   d e f i n e   c a t e g o r i e s   o f   d e v i c e s   i n   t h e   c l u s t e r .   D e v i c e C l a s s e s   t e l l   o p e r a t o r s   w h a t   d e v i c e s   t h e y   c a n   r e q u e s t   a n d   h o w   t h e y   c a n   r e q u e s t   t h o s e   d e v i c e s .   Y o u   c a n   u s e   c o m m o n   e x p r e s s i o n   l a n g u a g e   ( C E L )   t o   s e l e c t   d e v i c e s   b a s e d   o n   s p e c i f i c   a t t r i b u t e s .   A   R e s o u r c e C l a i m   t h a t   r e f e r e n c e s   t h e   D e v i c e C l a s s   c a n   t h e n   r e q u e s t   s p e c i f i c   c o n f i g u r a t i o n s   w i t h i n   t h e   D e v i c e C l a s s .   T o   c r e a t e   a   D e v i c e C l a s s ,   s e e   S e t   U p   D R A   i n   a   C l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13059"
  },
  {
    "question": "What is ResourceClaims and ResourceClaimTemplates?",
    "answer": "A   R e s o u r c e C l a i m   d e f i n e s   t h e   r e s o u r c e s   t h a t   a   w o r k l o a d   n e e d s .   E v e r y   R e s o u r c e C l a i m   h a s   r e q u e s t s   t h a t   r e f e r e n c e   a   D e v i c e C l a s s   a n d   s e l e c t   d e v i c e s   f r o m   t h a t   D e v i c e C l a s s .   R e s o u r c e C l a i m s   c a n   a l s o   u s e   s e l e c t o r s   t o   f i l t e r   f o r   d e v i c e s   t h a t   m e e t   s p e c i f i c   r e q u i r e m e n t s ,   a n d   c a n   u s e   c o n s t r a i n t s   t o   l i m i t   t h e   d e v i c e s   t h a t   c a n   s a t i s f y   a   r e q u e s t .   R e s o u r c e C l a i m s   c a n   b e   c r e a t e d   b y   w o r k l o a d   o p e r a t o r s   o r   c a n   b e   g e n e r a t e d   b y   K u b e r n e t e s   b a s e d   o n   a   R e s o u r c e C l a i m T e m p l a t e .   A   R e s o u r c e C l a i m T e m p l a t e   d e f i n e s   a   t e m p l a t e   t h a t   K u b e r n e t e s   c a n   u s e   t o   a u t o - g e n e r a t e   R e s o u r c e C l a i m s   f o r   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13060"
  },
  {
    "question": "What is Use cases for ResourceClaims and ResourceClaimTemplates?",
    "answer": "T h e   m e t h o d   t h a t   y o u   u s e   d e p e n d s   o n   y o u r   r e q u i r e m e n t s ,   a s   f o l l o w s :   R e s o u r c e C l a i m :   y o u   w a n t   m u l t i p l e   P o d s   t o   s h a r e   a c c e s s   t o   s p e c i f i c   d e v i c e s .   Y o u   m a n u a l l y   m a n a g e   t h e   l i f e c y c l e   o f   R e s o u r c e C l a i m s   t h a t   y o u   c r e a t e . R e s o u r c e C l a i m T e m p l a t e :   y o u   w a n t   P o d s   t o   h a v e   i n d e p e n d e n t   a c c e s s   t o   s e p a r a t e ,   s i m i l a r l y - c o n f i g u r e d   d e v i c e s .   K u b e r n e t e s   g e n e r a t e s   R e s o u r c e C l a i m s   f r o m   t h e   s p e c i f i c a t i o n   i n   t h e   R e s o u r c e C l a i m T e m p l a t e .   T h e   l i f e t i m e   o f   e a c h   g e n e r a t e d   R e s o u r c e C l a i m   i s   b o u n d   t o   t h e   l i f e t i m e   o f   t h e   c o r r e s p o n d i n g   P o d .   W h e n   y o u   d e f i n e   a   w o r k l o a d ,   y o u   c a n   u s e   C o m m o n   E x p r e s s i o n   L a n g u a g e   ( C E L )   t o   f i l t e r   f o r   s p e c i f i c   d e v i c e   a t t r i b u t e s   o r   c a p a c i t y .   T h e   a v a i l a b l e   p a r a m e t e r s   f o r   f i l t e r i n g   d e p e n d   o n   t h e   d e v i c e   a n d   t h e   d r i v e r s .   I f   y o u   d i r e c t l y   r e f e r e n c e   a   s p e c i f i c   R e s o u r c e C l a i m   i n   a   P o d ,   t h a t   R e s o u r c e C l a i m   m u s t   a l r e a d y   e x i s t   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   P o d .   I f   t h e   R e s o u r c e C l a i m   d o e s n ' t   e x i s t   i n   t h e   n a m e s p a c e ,   t h e   P o d   w o n ' t   s c h e d u l e .   T h i s   b e h a v i o r   i s   s i m i l a r   t o   h o w   a   P e r s i s t e n t V o l u m e C l a i m   m u s t   e x i s t   i n   t h e   s a m e   n a m e s p ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13061"
  },
  {
    "question": "What is Prioritized list?",
    "answer": "Y o u   c a n   p r o v i d e   a   p r i o r i t i z e d   l i s t   o f   s u b r e q u e s t s   f o r   r e q u e s t s   i n   a   R e s o u r c e C l a i m   o r   R e s o u r c e C l a i m T e m p l a t e .   T h e   s c h e d u l e r   w i l l   t h e n   s e l e c t   t h e   f i r s t   s u b r e q u e s t   t h a t   c a n   b e   a l l o c a t e d .   T h i s   a l l o w s   u s e r s   t o   s p e c i f y   a l t e r n a t i v e   d e v i c e s   t h a t   c a n   b e   u s e d   b y   t h e   w o r k l o a d   i f   t h e   p r i m a r y   c h o i c e   i s   n o t   a v a i l a b l e .   I n   t h e   e x a m p l e   b e l o w ,   t h e   R e s o u r c e C l a i m T e m p l a t e   r e q u e s t e d   a   d e v i c e   w i t h   t h e   c o l o r   b l a c k   a n d   t h e   s i z e   l a r g e .   I f   a   d e v i c e   w i t h   t h o s e   a t t r i b u t e s   i s   n o t   a v a i l a b l e ,   t h e   p o d   c a n n o t   b e   s c h e d u l e d .   W i t h   t h e   p r i o r i t i z e d   l i s t   f e a t u r e ,   a   s e c o n d   a l t e r n a t i v e   c a n   b e   s p e c i f i e d ,   w h i c h   r e q u e s t s   t w o   d e v i c e s   w i t h   t h e   c o l o r   w h i t e   a n d   s i z e   s m a l l .   T h e   l a r g e   b l a c k   d e v i c e   w i l l   b e   a l l o c a t e d   i f   i t   i s   a v a i l a b l e .   I f   i t   i s   n o t ,   b u t   t w o   s m a l l   w h i t e   d e v i c e s   a r e   a v a i l a b l e ,   t h e   p o d   w i l l   s t i l l   b e   a b l e   t o   r u n .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   R e s o u r c e C l a i m T e m p l a t e   m e t a d a t a :   n a m e :   p r i o r i t i z e d - l i s t - c l a i m - t e m p l a t e   s p e c :   s p e c :   d e v i c e s :   r e q u e s t s :   -   n a m e :   r e q - 0   f i r s t A v a i l a b l e :   -   n a m e :   l a r g e - b l a c k   d e v i c e C l a s s N a m e :   r e s o u r c e . e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13062"
  },
  {
    "question": "What is ResourceSlice?",
    "answer": "E a c h   R e s o u r c e S l i c e   r e p r e s e n t s   o n e   o r   m o r e   d e v i c e s   i n   a   p o o l .   T h e   p o o l   i s   m a n a g e d   b y   a   d e v i c e   d r i v e r ,   w h i c h   c r e a t e s   a n d   m a n a g e s   R e s o u r c e S l i c e s .   T h e   r e s o u r c e s   i n   a   p o o l   m i g h t   b e   r e p r e s e n t e d   b y   a   s i n g l e   R e s o u r c e S l i c e   o r   s p a n   m u l t i p l e   R e s o u r c e S l i c e s .   R e s o u r c e S l i c e s   p r o v i d e   u s e f u l   i n f o r m a t i o n   t o   d e v i c e   u s e r s   a n d   t o   t h e   s c h e d u l e r ,   a n d   a r e   c r u c i a l   f o r   d y n a m i c   r e s o u r c e   a l l o c a t i o n .   E v e r y   R e s o u r c e S l i c e   m u s t   i n c l u d e   t h e   f o l l o w i n g   i n f o r m a t i o n :   R e s o u r c e   p o o l :   a   g r o u p   o f   o n e   o r   m o r e   r e s o u r c e s   t h a t   t h e   d r i v e r   m a n a g e s .   T h e   p o o l   c a n   s p a n   m o r e   t h a n   o n e   R e s o u r c e S l i c e .   C h a n g e s   t o   t h e   r e s o u r c e s   i n   a   p o o l   m u s t   b e   p r o p a g a t e d   a c r o s s   a l l   o f   t h e   R e s o u r c e S l i c e s   i n   t h a t   p o o l .   T h e   d e v i c e   d r i v e r   t h a t   m a n a g e s   t h e   p o o l   i s   r e s p o n s i b l e   f o r   e n s u r i n g   t h a t   t h i s   p r o p a g a t i o n   h a p p e n s . D e v i c e s :   d e v i c e s   i n   t h e   m a n a g e d   p o o l .   A   R e s o u r c e S l i c e   c a n   l i s t   e v e r y   d e v i c e   i n   a   p o o l   o r   a   s u b s e t   o f   t h e   d e v i c e s   i n   a   p o o l .   T h e   R e s o u r c e S l i c e   d e f i n e s   d e v i c e   i n f o r m a t i o n   l i k e   a t t r i b u t e s ,   v e r s i o n s ,   a n d   c a p a c i t y .   D e v i c e   u s e r s   c a n   s e l e c t   d e v i c e s   f o r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13063"
  },
  {
    "question": "What is How resource allocation with DRA works?",
    "answer": "T h e   f o l l o w i n g   s e c t i o n s   d e s c r i b e   t h e   w o r k f l o w   f o r   t h e   v a r i o u s   t y p e s   o f   D R A   u s e r s   a n d   f o r   t h e   K u b e r n e t e s   s y s t e m   d u r i n g   d y n a m i c   r e s o u r c e   a l l o c a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13064"
  },
  {
    "question": "What is Workflow for users?",
    "answer": "D r i v e r   c r e a t i o n :   d e v i c e   o w n e r s   o r   t h i r d - p a r t y   e n t i t i e s   c r e a t e   d r i v e r s   t h a t   c a n   c r e a t e   a n d   m a n a g e   R e s o u r c e S l i c e s   i n   t h e   c l u s t e r .   T h e s e   d r i v e r s   o p t i o n a l l y   a l s o   c r e a t e   D e v i c e C l a s s e s   t h a t   d e f i n e   a   c a t e g o r y   o f   d e v i c e s   a n d   h o w   t o   r e q u e s t   t h e m . C l u s t e r   c o n f i g u r a t i o n :   c l u s t e r   a d m i n s   c r e a t e   c l u s t e r s ,   a t t a c h   d e v i c e s   t o   n o d e s ,   a n d   i n s t a l l   t h e   D R A   d e v i c e   d r i v e r s .   C l u s t e r   a d m i n s   o p t i o n a l l y   c r e a t e   D e v i c e C l a s s e s   t h a t   d e f i n e   c a t e g o r i e s   o f   d e v i c e s   a n d   h o w   t o   r e q u e s t   t h e m . R e s o u r c e   c l a i m s :   w o r k l o a d   o p e r a t o r s   c r e a t e   R e s o u r c e C l a i m T e m p l a t e s   o r   R e s o u r c e C l a i m s   t h a t   r e q u e s t   s p e c i f i c   d e v i c e   c o n f i g u r a t i o n s   w i t h i n   a   D e v i c e C l a s s .   I n   t h e   s a m e   s t e p ,   w o r k l o a d   o p e r a t o r s   m o d i f y   t h e i r   K u b e r n e t e s   m a n i f e s t s   t o   r e q u e s t   t h o s e   R e s o u r c e C l a i m T e m p l a t e s   o r   R e s o u r c e C l a i m s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13065"
  },
  {
    "question": "What is Workflow for Kubernetes?",
    "answer": "R e s o u r c e S l i c e   c r e a t i o n :   d r i v e r s   i n   t h e   c l u s t e r   c r e a t e   R e s o u r c e S l i c e s   t h a t   r e p r e s e n t   o n e   o r   m o r e   d e v i c e s   i n   a   m a n a g e d   p o o l   o f   s i m i l a r   d e v i c e s . W o r k l o a d   c r e a t i o n :   t h e   c l u s t e r   c o n t r o l   p l a n e   c h e c k s   n e w   w o r k l o a d s   f o r   r e f e r e n c e s   t o   R e s o u r c e C l a i m T e m p l a t e s   o r   t o   s p e c i f i c   R e s o u r c e C l a i m s . I f   t h e   w o r k l o a d   u s e s   a   R e s o u r c e C l a i m T e m p l a t e ,   a   c o n t r o l l e r   n a m e d   t h e   r e s o u r c e c l a i m - c o n t r o l l e r   g e n e r a t e s   R e s o u r c e C l a i m s   f o r   e v e r y   P o d   i n   t h e   w o r k l o a d . I f   t h e   w o r k l o a d   u s e s   a   s p e c i f i c   R e s o u r c e C l a i m ,   K u b e r n e t e s   c h e c k s   w h e t h e r   t h a t   R e s o u r c e C l a i m   e x i s t s   i n   t h e   c l u s t e r .   I f   t h e   R e s o u r c e C l a i m   d o e s n ' t   e x i s t ,   t h e   P o d s   w o n ' t   d e p l o y . R e s o u r c e S l i c e   f i l t e r i n g :   f o r   e v e r y   P o d ,   K u b e r n e t e s   c h e c k s   t h e   R e s o u r c e S l i c e s   i n   t h e   c l u s t e r   t o   f i n d   a   d e v i c e   t h a t   s a t i s f i e s   a l l   o f   t h e   f o l l o w i n g   c r i t e r i a : T h e   n o d e s   t h a t   c a n   a c c e s s   t h e   r e s o u r c e s   a r e   e l i g i b l e   t o   r u n   t h e   P o d . T h e   R e s o u r c e S l i c e   h a s   u n a l l o c a t e d   r e s o u r c e s   t h a t   m a t c h   t h e   r e q u i r e m e n t s   o f   t h e   P o d ' s   R e s o u r c e C l a i m . R e s o u r c e   a l l o c a t i o n :   a f t e r   f i n d i n g   a n   e l i g i b l e   R e s o u r c e S l i c e   f o r   a   P o d ' s   R e s o u r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13066"
  },
  {
    "question": "What is Observability of dynamic resources?",
    "answer": "Y o u   c a n   c h e c k   t h e   s t a t u s   o f   d y n a m i c a l l y   a l l o c a t e d   r e s o u r c e s   b y   u s i n g   a n y   o f   t h e   f o l l o w i n g   m e t h o d s :   k u b e l e t   d e v i c e   m e t r i c s R e s o u r c e C l a i m   s t a t u s D e v i c e   h e a l t h   m o n i t o r i n g",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13067"
  },
  {
    "question": "What is kubelet device metrics?",
    "answer": "T h e   P o d R e s o u r c e s L i s t e r   k u b e l e t   g R P C   s e r v i c e   l e t s   y o u   m o n i t o r   i n - u s e   d e v i c e s .   T h e   D y n a m i c R e s o u r c e   m e s s a g e   p r o v i d e s   i n f o r m a t i o n   t h a t ' s   s p e c i f i c   t o   d y n a m i c   r e s o u r c e   a l l o c a t i o n ,   s u c h   a s   t h e   d e v i c e   n a m e   a n d   t h e   c l a i m   n a m e .   F o r   d e t a i l s ,   s e e   M o n i t o r i n g   d e v i c e   p l u g i n   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13068"
  },
  {
    "question": "What is ResourceClaim device status?",
    "answer": "D R A   d r i v e r s   c a n   r e p o r t   d r i v e r - s p e c i f i c   d e v i c e   s t a t u s   d a t a   f o r   e a c h   a l l o c a t e d   d e v i c e   i n   t h e   s t a t u s . d e v i c e s   f i e l d   o f   a   R e s o u r c e C l a i m .   F o r   e x a m p l e ,   t h e   d r i v e r   m i g h t   l i s t   t h e   I P   a d d r e s s e s   t h a t   a r e   a s s i g n e d   t o   a   n e t w o r k   i n t e r f a c e   d e v i c e .   T h e   a c c u r a c y   o f   t h e   i n f o r m a t i o n   t h a t   a   d r i v e r   a d d s   t o   a   R e s o u r c e C l a i m   s t a t u s . d e v i c e s   f i e l d   d e p e n d s   o n   t h e   d r i v e r .   E v a l u a t e   d r i v e r s   t o   d e c i d e   w h e t h e r   y o u   c a n   r e l y   o n   t h i s   f i e l d   a s   t h e   o n l y   s o u r c e   o f   d e v i c e   i n f o r m a t i o n .   I f   y o u   d i s a b l e   t h e   D R A R e s o u r c e C l a i m D e v i c e S t a t u s   f e a t u r e   g a t e ,   t h e   s t a t u s . d e v i c e s   f i e l d   a u t o m a t i c a l l y   g e t s   c l e a r e d   w h e n   s t o r i n g   t h e   R e s o u r c e C l a i m .   A   R e s o u r c e C l a i m   d e v i c e   s t a t u s   i s   s u p p o r t e d   w h e n   i t   i s   p o s s i b l e ,   f r o m   a   D R A   d r i v e r ,   t o   u p d a t e   a n   e x i s t i n g   R e s o u r c e C l a i m   w h e r e   t h e   s t a t u s . d e v i c e s   f i e l d   i s   s e t .   F o r   d e t a i l s   a b o u t   t h e   s t a t u s . d e v i c e s   f i e l d ,   s e e   t h e   R e s o u r c e C l a i m   A P I   r e f e r e n c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13069"
  },
  {
    "question": "What is Device Health Monitoring?",
    "answer": "A s   a n   a l p h a   f e a t u r e ,   K u b e r n e t e s   p r o v i d e s   a   m e c h a n i s m   f o r   m o n i t o r i n g   a n d   r e p o r t i n g   t h e   h e a l t h   o f   d y n a m i c a l l y   a l l o c a t e d   i n f r a s t r u c t u r e   r e s o u r c e s .   F o r   s t a t e f u l   a p p l i c a t i o n s   r u n n i n g   o n   s p e c i a l i z e d   h a r d w a r e ,   i t   i s   c r i t i c a l   t o   k n o w   w h e n   a   d e v i c e   h a s   f a i l e d   o r   b e c o m e   u n h e a l t h y .   I t   i s   a l s o   h e l p f u l   t o   f i n d   o u t   i f   t h e   d e v i c e   r e c o v e r s .   T o   e n a b l e   t h i s   f u n c t i o n a l i t y ,   t h e   R e s o u r c e H e a l t h S t a t u s   f e a t u r e   g a t e   m u s t   b e   e n a b l e d ,   a n d   t h e   D R A   d r i v e r   m u s t   i m p l e m e n t   t h e   D R A R e s o u r c e H e a l t h   g R P C   s e r v i c e .   W h e n   a   D R A   d r i v e r   d e t e c t s   t h a t   a n   a l l o c a t e d   d e v i c e   h a s   b e c o m e   u n h e a l t h y ,   i t   r e p o r t s   t h i s   s t a t u s   b a c k   t o   t h e   k u b e l e t .   T h i s   h e a l t h   i n f o r m a t i o n   i s   t h e n   e x p o s e d   d i r e c t l y   i n   t h e   P o d ' s   s t a t u s .   T h e   k u b e l e t   p o p u l a t e s   t h e   a l l o c a t e d R e s o u r c e s S t a t u s   f i e l d   i n   t h e   s t a t u s   o f   e a c h   c o n t a i n e r ,   d e t a i l i n g   t h e   h e a l t h   o f   e a c h   d e v i c e   a s s i g n e d   t o   t h a t   c o n t a i n e r .   T h i s   p r o v i d e s   c r u c i a l   v i s i b i l i t y   f o r   u s e r s   a n d   c o n t r o l l e r s   t o   r e a c t   t o   h a r d w a r e   f a i l u r e s .   F o r   a   P o d   t h a t   i s   f a i l i n g ,   y o u   c a n   i n s p e c t   t h i s   s t a t u s   t o   d e t e r m i n e   i f   t h e   f a i l u r e   w a s   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13070"
  },
  {
    "question": "What is Pre-scheduled Pods?",
    "answer": "W h e n   y o u   -   o r   a n o t h e r   A P I   c l i e n t   -   c r e a t e   a   P o d   w i t h   s p e c . n o d e N a m e   a l r e a d y   s e t ,   t h e   s c h e d u l e r   g e t s   b y p a s s e d .   I f   s o m e   R e s o u r c e C l a i m   n e e d e d   b y   t h a t   P o d   d o e s   n o t   e x i s t   y e t ,   i s   n o t   a l l o c a t e d   o r   n o t   r e s e r v e d   f o r   t h e   P o d ,   t h e n   t h e   k u b e l e t   w i l l   f a i l   t o   r u n   t h e   P o d   a n d   r e - c h e c k   p e r i o d i c a l l y   b e c a u s e   t h o s e   r e q u i r e m e n t s   m i g h t   s t i l l   g e t   f u l f i l l e d   l a t e r .   S u c h   a   s i t u a t i o n   c a n   a l s o   a r i s e   w h e n   s u p p o r t   f o r   d y n a m i c   r e s o u r c e   a l l o c a t i o n   w a s   n o t   e n a b l e d   i n   t h e   s c h e d u l e r   a t   t h e   t i m e   w h e n   t h e   P o d   g o t   s c h e d u l e d   ( v e r s i o n   s k e w ,   c o n f i g u r a t i o n ,   f e a t u r e   g a t e ,   e t c . ) .   k u b e - c o n t r o l l e r - m a n a g e r   d e t e c t s   t h i s   a n d   t r i e s   t o   m a k e   t h e   P o d   r u n n a b l e   b y   r e s e r v i n g   t h e   r e q u i r e d   R e s o u r c e C l a i m s .   H o w e v e r ,   t h i s   o n l y   w o r k s   i f   t h o s e   w e r e   a l l o c a t e d   b y   t h e   s c h e d u l e r   f o r   s o m e   o t h e r   p o d .   I t   i s   b e t t e r   t o   a v o i d   b y p a s s i n g   t h e   s c h e d u l e r   b e c a u s e   a   P o d   t h a t   i s   a s s i g n e d   t o   a   n o d e   b l o c k s   n o r m a l   r e s o u r c e s   ( R A M ,   C P U )   t h a t   t h e n   c a n n o t   b e   u s e d   f o r   o t h e r   P o d s   w h i l e   t h e   P o d   i s   s t u c k .   T o   m a k e   a   P o d   r u n   o n   a   s p e c i f i c   n o d e   w h i l e   s t i l l   g o i n g   t h r o u g h   t h e   n o r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13071"
  },
  {
    "question": "What is DRA beta features?",
    "answer": "T h e   f o l l o w i n g   s e c t i o n s   d e s c r i b e   D R A   f e a t u r e s   t h a t   a r e   a v a i l a b l e   i n   t h e   B e t a   f e a t u r e   s t a g e .   F o r   m o r e   i n f o r m a t i o n ,   s e e   S e t   u p   D R A   i n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13072"
  },
  {
    "question": "What is Admin access?",
    "answer": "Y o u   c a n   m a r k   a   r e q u e s t   i n   a   R e s o u r c e C l a i m   o r   R e s o u r c e C l a i m T e m p l a t e   a s   h a v i n g   p r i v i l e g e d   f e a t u r e s   f o r   m a i n t e n a n c e   a n d   t r o u b l e s h o o t i n g   t a s k s .   A   r e q u e s t   w i t h   a d m i n   a c c e s s   g r a n t s   a c c e s s   t o   i n - u s e   d e v i c e s   a n d   m a y   e n a b l e   a d d i t i o n a l   p e r m i s s i o n s   w h e n   m a k i n g   t h e   d e v i c e   a v a i l a b l e   i n   a   c o n t a i n e r :   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   R e s o u r c e C l a i m T e m p l a t e   m e t a d a t a :   n a m e :   l a r g e - b l a c k - c a t - c l a i m - t e m p l a t e   s p e c :   s p e c :   d e v i c e s :   r e q u e s t s :   -   n a m e :   r e q - 0   e x a c t l y :   d e v i c e C l a s s N a m e :   r e s o u r c e . e x a m p l e . c o m   a l l o c a t i o n M o d e :   A l l   a d m i n A c c e s s :   t r u e   I f   t h i s   f e a t u r e   i s   d i s a b l e d ,   t h e   a d m i n A c c e s s   f i e l d   w i l l   b e   r e m o v e d   a u t o m a t i c a l l y   w h e n   c r e a t i n g   s u c h   a   R e s o u r c e C l a i m .   A d m i n   a c c e s s   i s   a   p r i v i l e g e d   m o d e   a n d   s h o u l d   n o t   b e   g r a n t e d   t o   r e g u l a r   u s e r s   i n   m u l t i - t e n a n t   c l u s t e r s .   S t a r t i n g   w i t h   K u b e r n e t e s   v 1 . 3 3 ,   o n l y   u s e r s   a u t h o r i z e d   t o   c r e a t e   R e s o u r c e C l a i m   o r   R e s o u r c e C l a i m T e m p l a t e   o b j e c t s   i n   n a m e s p a c e s   l a b e l e d   w i t h   r e s o u r c e . k 8 s . i o / a d m i n - a c c e s s :   \" t r u e \"   ( c a s e - s e n s i t i v e )   c a n   u s e   t h e   a d m i n A c c e s s   f i e l d .   T h i s   e n s u r e s   t h a t   n o n - a d m i n   u s e r s   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13073"
  },
  {
    "question": "What is DRA alpha features?",
    "answer": "T h e   f o l l o w i n g   s e c t i o n s   d e s c r i b e   D R A   f e a t u r e s   t h a t   a r e   a v a i l a b l e   i n   t h e   A l p h a   f e a t u r e   s t a g e .   T o   u s e   a n y   o f   t h e s e   f e a t u r e s ,   y o u   m u s t   a l s o   s e t   u p   D R A   i n   y o u r   c l u s t e r s   b y   e n a b l i n g   t h e   D y n a m i c R e s o u r c e A l l o c a t i o n   f e a t u r e   g a t e   a n d   t h e   D R A   A P I   g r o u p s .   F o r   m o r e   i n f o r m a t i o n ,   s e e   S e t   u p   D R A   i n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13074"
  },
  {
    "question": "What is Extended resource allocation by DRA?",
    "answer": "Y o u   c a n   p r o v i d e   a n   e x t e n d e d   r e s o u r c e   n a m e   f o r   a   D e v i c e C l a s s .   T h e   s c h e d u l e r   w i l l   t h e n   s e l e c t   t h e   d e v i c e s   m a t c h i n g   t h e   c l a s s   f o r   t h e   e x t e n d e d   r e s o u r c e   r e q u e s t s .   T h i s   a l l o w s   u s e r s   t o   c o n t i n u e   u s i n g   e x t e n d e d   r e s o u r c e   r e q u e s t s   i n   a   p o d   t o   r e q u e s t   e i t h e r   e x t e n d e d   r e s o u r c e s   p r o v i d e d   b y   d e v i c e   p l u g i n ,   o r   D R A   d e v i c e s .   T h e   s a m e   e x t e n d e d   r e s o u r c e   c a n   b e   p r o v i d e d   e i t h e r   b y   d e v i c e   p l u g i n ,   o r   D R A   o n   o n e   s i n g l e   c l u s t e r   n o d e .   T h e   s a m e   e x t e n d e d   r e s o u r c e   c a n   b e   p r o v i d e d   b y   d e v i c e   p l u g i n   o n   s o m e   n o d e s ,   a n d   D R A   o n   o t h e r   n o d e s   i n   t h e   s a m e   c l u s t e r .   I n   t h e   e x a m p l e   b e l o w ,   t h e   D e v i c e C l a s s   i s   g i v e n   a n   e x t e n d e d R e s o u r c e N a m e   e x a m p l e . c o m / g p u .   I f   a   p o d   r e q u e s t e d   f o r   t h e   e x t e n d e d   r e s o u r c e   e x a m p l e . c o m / g p u :   2 ,   i t   c a n   b e   s c h e d u l e d   t o   a   n o d e   w i t h   t w o   o r   m o r e   d e v i c e s   m a t c h i n g   t h e   D e v i c e C l a s s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   D e v i c e C l a s s   m e t a d a t a :   n a m e :   g p u . e x a m p l e . c o m   s p e c :   s e l e c t o r s :   -   c e l :   e x p r e s s i o n :   d e v i c e . d r i v e r   = =   ' g p u . e x a m p l e . c o m '   & &   d e v i c e . a t t r i b u t e s [ ' g p u . e x a m p l e . c o m ' ] . t y p e   = =   ' g p u '   e x t e n d e d R e s o u r c e N a m e :   e x a m p ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13075"
  },
  {
    "question": "What is Partitionable devices?",
    "answer": "D e v i c e s   r e p r e s e n t e d   i n   D R A   d o n ' t   n e c e s s a r i l y   h a v e   t o   b e   a   s i n g l e   u n i t   c o n n e c t e d   t o   a   s i n g l e   m a c h i n e ,   b u t   c a n   a l s o   b e   a   l o g i c a l   d e v i c e   c o m p r i s e d   o f   m u l t i p l e   d e v i c e s   c o n n e c t e d   t o   m u l t i p l e   m a c h i n e s .   T h e s e   d e v i c e s   m i g h t   c o n s u m e   o v e r l a p p i n g   r e s o u r c e s   o f   t h e   u n d e r l y i n g   p h y i c a l   d e v i c e s ,   m e a n i n g   t h a t   w h e n   o n e   l o g i c a l   d e v i c e   i s   a l l o c a t e d   o t h e r   d e v i c e s   w i l l   n o   l o n g e r   b e   a v a i l a b l e .   I n   t h e   R e s o u r c e S l i c e   A P I ,   t h i s   i s   r e p r e s e n t e d   a s   a   l i s t   o f   n a m e d   C o u n t e r S e t s ,   e a c h   o f   w h i c h   c o n t a i n s   a   s e t   o f   n a m e d   c o u n t e r s .   T h e   c o u n t e r s   r e p r e s e n t   t h e   r e s o u r c e s   a v a i l a b l e   o n   t h e   p h y s i c a l   d e v i c e   t h a t   a r e   u s e d   b y   t h e   l o g i c a l   d e v i c e s   a d v e r t i s e d   t h r o u g h   D R A .   L o g i c a l   d e v i c e s   c a n   s p e c i f y   t h e   C o n s u m e s C o u n t e r s   l i s t .   E a c h   e n t r y   c o n t a i n s   a   r e f e r e n c e   t o   a   C o u n t e r S e t   a n d   a   s e t   o f   n a m e d   c o u n t e r s   w i t h   t h e   a m o u n t s   t h e y   w i l l   c o n s u m e .   S o   f o r   a   d e v i c e   t o   b e   a l l o c a t a b l e ,   t h e   r e f e r e n c e d   c o u n t e r   s e t s   m u s t   h a v e   s u f f i c i e n t   q u a n t i t y   f o r   t h e   c o u n t e r s   r e f e r e n c e d   b y   t h e   d e v i c e .   H e r e   i s   a n   e x a m p l e   o f   t w o   d e v i c e s ,   e a c h   c o n s u m i n g   6 G i   o f   m e m o r y   f r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13076"
  },
  {
    "question": "What is Consumable capacity?",
    "answer": "T h e   c o n s u m a b l e   c a p a c i t y   f e a t u r e   a l l o w s   t h e   s a m e   d e v i c e s   t o   b e   c o n s u m e d   b y   m u l t i p l e   i n d e p e n d e n t   R e s o u r c e C l a i m s ,   w i t h   t h e   K u b e r n e t e s   s c h e d u l e r   m a n a g i n g   h o w   m u c h   o f   t h e   d e v i c e ' s   c a p a c i t y   i s   u s e d   u p   b y   e a c h   c l a i m .   T h i s   i s   a n a l o g o u s   t o   h o w   P o d s   c a n   s h a r e   t h e   r e s o u r c e s   o n   a   N o d e ;   R e s o u r c e C l a i m s   c a n   s h a r e   t h e   r e s o u r c e s   o n   a   D e v i c e .   T h e   d e v i c e   d r i v e r   c a n   s e t   a l l o w M u l t i p l e A l l o c a t i o n s   f i e l d   a d d e d   i n   . s p e c . d e v i c e s   o f   R e s o u r c e S l i c e   t o   a l l o w   a l l o c a t i n g   t h a t   d e v i c e   t o   m u l t i p l e   i n d e p e n d e n t   R e s o u r c e C l a i m s   o r   t o   m u l t i p l e   r e q u e s t s   w i t h i n   a   R e s o u r c e C l a i m .   U s e r s   c a n   s e t   c a p a c i t y   f i e l d   a d d e d   i n   s p e c . d e v i c e s . r e q u e s t s   o f   R e s o u r c e C l a i m   t o   s p e c i f y   t h e   d e v i c e   r e s o u r c e   r e q u i r e m e n t s   f o r   e a c h   a l l o c a t i o n .   F o r   t h e   d e v i c e   t h a t   a l l o w s   m u l t i p l e   a l l o c a t i o n s ,   t h e   r e q u e s t e d   c a p a c i t y   i s   d r a w n   f r o m   —   o r   c o n s u m e d   f r o m   —   i t s   t o t a l   c a p a c i t y ,   a   c o n c e p t   k n o w n   a s   c o n s u m a b l e   c a p a c i t y .   T h e n ,   t h e   s c h e d u l e r   e n s u r e s   t h a t   t h e   a g g r e g a t e   c o n s u m e d   c a p a c i t y   a c r o s s   a l l   c l a i m s   d o e s   n o t   e x c e e d   t h e   d e v i c e ’ s   o v e r a l l   c a p a c i t y .   F u r t h e r m o r e ,   d r i v e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13077"
  },
  {
    "question": "What is Device taints and tolerations?",
    "answer": "D e v i c e   t a i n t s   a r e   s i m i l a r   t o   n o d e   t a i n t s :   a   t a i n t   h a s   a   s t r i n g   k e y ,   a   s t r i n g   v a l u e ,   a n d   a n   e f f e c t .   T h e   e f f e c t   i s   a p p l i e d   t o   t h e   R e s o u r c e C l a i m   w h i c h   i s   u s i n g   a   t a i n t e d   d e v i c e   a n d   t o   a l l   P o d s   r e f e r e n c i n g   t h a t   R e s o u r c e C l a i m .   T h e   \" N o S c h e d u l e \"   e f f e c t   p r e v e n t s   s c h e d u l i n g   t h o s e   P o d s .   T a i n t e d   d e v i c e s   a r e   i g n o r e d   w h e n   t r y i n g   t o   a l l o c a t e   a   R e s o u r c e C l a i m   b e c a u s e   u s i n g   t h e m   w o u l d   p r e v e n t   s c h e d u l i n g   o f   P o d s .   T h e   \" N o E x e c u t e \"   e f f e c t   i m p l i e s   \" N o S c h e d u l e \"   a n d   i n   a d d i t i o n   c a u s e s   e v i c t i o n   o f   a l l   P o d s   w h i c h   h a v e   b e e n   s c h e d u l e d   a l r e a d y .   T h i s   e v i c t i o n   i s   i m p l e m e n t e d   i n   t h e   d e v i c e   t a i n t   e v i c t i o n   c o n t r o l l e r   i n   k u b e - c o n t r o l l e r - m a n a g e r   b y   d e l e t i n g   a f f e c t e d   P o d s .   R e s o u r c e C l a i m s   c a n   t o l e r a t e   t a i n t s .   I f   a   t a i n t   i s   t o l e r a t e d ,   i t s   e f f e c t   d o e s   n o t   a p p l y .   A n   e m p t y   t o l e r a t i o n   m a t c h e s   a l l   t a i n t s .   A   t o l e r a t i o n   c a n   b e   l i m i t e d   t o   c e r t a i n   e f f e c t s   a n d / o r   m a t c h   c e r t a i n   k e y / v a l u e   p a i r s .   A   t o l e r a t i o n   c a n   c h e c k   t h a t   a   c e r t a i n   k e y   e x i s t s ,   r e g a r d l e s s   w h i c h   v a l u e   i t   h a s ,   o r   i t   c a n   c h e c k   f o r   s p e c i f i c   v a l u e s   o f   a   k e y .   F o r   m o r e   i n f o r m ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13078"
  },
  {
    "question": "What is Taints set by the driver?",
    "answer": "A   D R A   d r i v e r   c a n   a d d   t a i n t s   t o   t h e   d e v i c e   i n f o r m a t i o n   t h a t   i t   p u b l i s h e s   i n   R e s o u r c e S l i c e s .   C o n s u l t   t h e   d o c u m e n t a t i o n   o f   a   D R A   d r i v e r   t o   l e a r n   w h e t h e r   t h e   d r i v e r   u s e s   t a i n t s   a n d   w h a t   t h e i r   k e y s   a n d   v a l u e s   a r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13079"
  },
  {
    "question": "What is Taints set by an admin?",
    "answer": "A n   a d m i n   o r   a   c o n t r o l   p l a n e   c o m p o n e n t   c a n   t a i n t   d e v i c e s   w i t h o u t   h a v i n g   t o   t e l l   t h e   D R A   d r i v e r   t o   i n c l u d e   t a i n t s   i n   i t s   d e v i c e   i n f o r m a t i o n   i n   R e s o u r c e S l i c e s .   T h e y   d o   t h a t   b y   c r e a t i n g   D e v i c e T a i n t R u l e s .   E a c h   D e v i c e T a i n t R u l e   a d d s   o n e   t a i n t   t o   d e v i c e s   w h i c h   m a t c h   t h e   d e v i c e   s e l e c t o r .   W i t h o u t   s u c h   a   s e l e c t o r ,   n o   d e v i c e s   a r e   t a i n t e d .   T h i s   m a k e s   i t   h a r d e r   t o   a c c i d e n t a l l y   e v i c t   a l l   p o d s   u s i n g   R e s o u r c e C l a i m s   w h e n   l e a v i n g   o u t   t h e   s e l e c t o r   b y   m i s t a k e .   D e v i c e s   c a n   b e   s e l e c t e d   b y   g i v i n g   t h e   n a m e   o f   a   D e v i c e C l a s s ,   d r i v e r ,   p o o l ,   a n d / o r   d e v i c e .   T h e   D e v i c e C l a s s   s e l e c t s   a l l   d e v i c e s   t h a t   a r e   s e l e c t e d   b y   t h e   s e l e c t o r s   i n   t h a t   D e v i c e C l a s s .   W i t h   j u s t   t h e   d r i v e r   n a m e ,   a n   a d m i n   c a n   t a i n t   a l l   d e v i c e s   m a n a g e d   b y   t h a t   d r i v e r ,   f o r   e x a m p l e   w h i l e   d o i n g   s o m e   k i n d   o f   m a i n t e n a n c e   o f   t h a t   d r i v e r   a c r o s s   t h e   e n t i r e   c l u s t e r .   A d d i n g   a   p o o l   n a m e   c a n   l i m i t   t h e   t a i n t   t o   a   s i n g l e   n o d e ,   i f   t h e   d r i v e r   m a n a g e s   n o d e - l o c a l   d e v i c e s .   F i n a l l y ,   a d d i n g   t h e   d e v i c e   n a m e   c a n   s e l e c t   o n e   s p e c i f i c   d e v i c e .   T h e   d e v i c e   n a m e   a n d   p o o l   n a m e   c a n   a l s o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13080"
  },
  {
    "question": "What is Device Binding Conditions?",
    "answer": "D e v i c e   B i n d i n g   C o n d i t i o n s   a l l o w   t h e   K u b e r n e t e s   s c h e d u l e r   t o   d e l a y   P o d   b i n d i n g   u n t i l   e x t e r n a l   r e s o u r c e s ,   s u c h   a s   f a b r i c - a t t a c h e d   G P U s   o r   r e p r o g r a m m a b l e   F P G A s ,   a r e   c o n f i r m e d   t o   b e   r e a d y .   T h i s   w a i t i n g   b e h a v i o r   i s   i m p l e m e n t e d   i n   t h e   P r e B i n d   p h a s e   o f   t h e   s c h e d u l i n g   f r a m e w o r k .   D u r i n g   t h i s   p h a s e ,   t h e   s c h e d u l e r   c h e c k s   w h e t h e r   a l l   r e q u i r e d   d e v i c e   c o n d i t i o n s   a r e   s a t i s f i e d   b e f o r e   p r o c e e d i n g   w i t h   b i n d i n g .   T h i s   i m p r o v e s   s c h e d u l i n g   r e l i a b i l i t y   b y   a v o i d i n g   p r e m a t u r e   b i n d i n g   a n d   e n a b l e s   c o o r d i n a t i o n   w i t h   e x t e r n a l   d e v i c e   c o n t r o l l e r s .   T o   u s e   t h i s   f e a t u r e ,   d e v i c e   d r i v e r s   ( t y p i c a l l y   m a n a g e d   b y   d r i v e r   o w n e r s )   m u s t   p u b l i s h   t h e   f o l l o w i n g   f i e l d s   i n   t h e   D e v i c e   s e c t i o n   o f   a   R e s o u r c e S l i c e .   C l u s t e r   a d m i n i s t r a t o r s   m u s t   e n a b l e   t h e   D R A D e v i c e B i n d i n g C o n d i t i o n s   a n d   D R A R e s o u r c e C l a i m D e v i c e S t a t u s   f e a t u r e   g a t e s   f o r   t h e   s c h e d u l e r   t o   h o n o r   t h e s e   f i e l d s .   b i n d i n g C o n d i t i o n s :   A   l i s t   o f   c o n d i t i o n   t y p e s   t h a t   m u s t   b e   s e t   t o   T r u e   i n   t h e   s t a t u s . c o n d i t i o n s   f i e l d   o f   t h e   a s s o c i a t e d   R e s o u r c e C l a i m   b e f o r e   t h e   P o d   c a n   b e   b o u n d .   T h e s e   t y p i c a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13081"
  },
  {
    "question": "What is What's next?",
    "answer": "S e t   U p   D R A   i n   a   C l u s t e r A l l o c a t e   d e v i c e s   t o   w o r k l o a d s   u s i n g   D R A F o r   m o r e   i n f o r m a t i o n   o n   t h e   d e s i g n ,   s e e   t h e   D y n a m i c   R e s o u r c e   A l l o c a t i o n   w i t h   S t r u c t u r e d   P a r a m e t e r s   K E P .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13082"
  },
  {
    "question": "What is 10.9 - Scheduler Performance Tuning?",
    "answer": "k u b e - s c h e d u l e r   i s   t h e   K u b e r n e t e s   d e f a u l t   s c h e d u l e r .   I t   i s   r e s p o n s i b l e   f o r   p l a c e m e n t   o f   P o d s   o n   N o d e s   i n   a   c l u s t e r .   N o d e s   i n   a   c l u s t e r   t h a t   m e e t   t h e   s c h e d u l i n g   r e q u i r e m e n t s   o f   a   P o d   a r e   c a l l e d   f e a s i b l e   N o d e s   f o r   t h e   P o d .   T h e   s c h e d u l e r   f i n d s   f e a s i b l e   N o d e s   f o r   a   P o d   a n d   t h e n   r u n s   a   s e t   o f   f u n c t i o n s   t o   s c o r e   t h e   f e a s i b l e   N o d e s ,   p i c k i n g   a   N o d e   w i t h   t h e   h i g h e s t   s c o r e   a m o n g   t h e   f e a s i b l e   o n e s   t o   r u n   t h e   P o d .   T h e   s c h e d u l e r   t h e n   n o t i f i e s   t h e   A P I   s e r v e r   a b o u t   t h i s   d e c i s i o n   i n   a   p r o c e s s   c a l l e d   B i n d i n g .   T h i s   p a g e   e x p l a i n s   p e r f o r m a n c e   t u n i n g   o p t i m i z a t i o n s   t h a t   a r e   r e l e v a n t   f o r   l a r g e   K u b e r n e t e s   c l u s t e r s .   I n   l a r g e   c l u s t e r s ,   y o u   c a n   t u n e   t h e   s c h e d u l e r ' s   b e h a v i o u r   b a l a n c i n g   s c h e d u l i n g   o u t c o m e s   b e t w e e n   l a t e n c y   ( n e w   P o d s   a r e   p l a c e d   q u i c k l y )   a n d   a c c u r a c y   ( t h e   s c h e d u l e r   r a r e l y   m a k e s   p o o r   p l a c e m e n t   d e c i s i o n s ) .   Y o u   c o n f i g u r e   t h i s   t u n i n g   s e t t i n g   v i a   k u b e - s c h e d u l e r   s e t t i n g   p e r c e n t a g e O f N o d e s T o S c o r e .   T h i s   K u b e S c h e d u l e r C o n f i g u r a t i o n   s e t t i n g   d e t e r m i n e s   a   t h r e s h o l d   f o r   s c h e d u l i n g   n o d e s   i n   y o u r   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13083"
  },
  {
    "question": "What is Setting the threshold?",
    "answer": "T h e   p e r c e n t a g e O f N o d e s T o S c o r e   o p t i o n   a c c e p t s   w h o l e   n u m e r i c   v a l u e s   b e t w e e n   0   a n d   1 0 0 .   T h e   v a l u e   0   i s   a   s p e c i a l   n u m b e r   w h i c h   i n d i c a t e s   t h a t   t h e   k u b e - s c h e d u l e r   s h o u l d   u s e   i t s   c o m p i l e d - i n   d e f a u l t .   I f   y o u   s e t   p e r c e n t a g e O f N o d e s T o S c o r e   a b o v e   1 0 0 ,   k u b e - s c h e d u l e r   a c t s   a s   i f   y o u   h a d   s e t   a   v a l u e   o f   1 0 0 .   T o   c h a n g e   t h e   v a l u e ,   e d i t   t h e   k u b e - s c h e d u l e r   c o n f i g u r a t i o n   f i l e   a n d   t h e n   r e s t a r t   t h e   s c h e d u l e r .   I n   m a n y   c a s e s ,   t h e   c o n f i g u r a t i o n   f i l e   c a n   b e   f o u n d   a t   / e t c / k u b e r n e t e s / c o n f i g / k u b e - s c h e d u l e r . y a m l .   A f t e r   y o u   h a v e   m a d e   t h i s   c h a n g e ,   y o u   c a n   r u n   k u b e c t l   g e t   p o d s   - n   k u b e - s y s t e m   |   g r e p   k u b e - s c h e d u l e r   t o   v e r i f y   t h a t   t h e   k u b e - s c h e d u l e r   c o m p o n e n t   i s   h e a l t h y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13084"
  },
  {
    "question": "What is Node scoring threshold?",
    "answer": "T o   i m p r o v e   s c h e d u l i n g   p e r f o r m a n c e ,   t h e   k u b e - s c h e d u l e r   c a n   s t o p   l o o k i n g   f o r   f e a s i b l e   n o d e s   o n c e   i t   h a s   f o u n d   e n o u g h   o f   t h e m .   I n   l a r g e   c l u s t e r s ,   t h i s   s a v e s   t i m e   c o m p a r e d   t o   a   n a i v e   a p p r o a c h   t h a t   w o u l d   c o n s i d e r   e v e r y   n o d e .   Y o u   s p e c i f y   a   t h r e s h o l d   f o r   h o w   m a n y   n o d e s   a r e   e n o u g h ,   a s   a   w h o l e   n u m b e r   p e r c e n t a g e   o f   a l l   t h e   n o d e s   i n   y o u r   c l u s t e r .   T h e   k u b e - s c h e d u l e r   c o n v e r t s   t h i s   i n t o   a n   i n t e g e r   n u m b e r   o f   n o d e s .   D u r i n g   s c h e d u l i n g ,   i f   t h e   k u b e - s c h e d u l e r   h a s   i d e n t i f i e d   e n o u g h   f e a s i b l e   n o d e s   t o   e x c e e d   t h e   c o n f i g u r e d   p e r c e n t a g e ,   t h e   k u b e - s c h e d u l e r   s t o p s   s e a r c h i n g   f o r   m o r e   f e a s i b l e   n o d e s   a n d   m o v e s   o n   t o   t h e   s c o r i n g   p h a s e .   H o w   t h e   s c h e d u l e r   i t e r a t e s   o v e r   N o d e s   d e s c r i b e s   t h e   p r o c e s s   i n   d e t a i l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13085"
  },
  {
    "question": "What is Default threshold?",
    "answer": "I f   y o u   d o n ' t   s p e c i f y   a   t h r e s h o l d ,   K u b e r n e t e s   c a l c u l a t e s   a   f i g u r e   u s i n g   a   l i n e a r   f o r m u l a   t h a t   y i e l d s   5 0 %   f o r   a   1 0 0 - n o d e   c l u s t e r   a n d   y i e l d s   1 0 %   f o r   a   5 0 0 0 - n o d e   c l u s t e r .   T h e   l o w e r   b o u n d   f o r   t h e   a u t o m a t i c   v a l u e   i s   5 % .   T h i s   m e a n s   t h a t   t h e   k u b e - s c h e d u l e r   a l w a y s   s c o r e s   a t   l e a s t   5 %   o f   y o u r   c l u s t e r   n o   m a t t e r   h o w   l a r g e   t h e   c l u s t e r   i s ,   u n l e s s   y o u   h a v e   e x p l i c i t l y   s e t   p e r c e n t a g e O f N o d e s T o S c o r e   t o   b e   s m a l l e r   t h a n   5 .   I f   y o u   w a n t   t h e   s c h e d u l e r   t o   s c o r e   a l l   n o d e s   i n   y o u r   c l u s t e r ,   s e t   p e r c e n t a g e O f N o d e s T o S c o r e   t o   1 0 0 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13086"
  },
  {
    "question": "What is Example?",
    "answer": "B e l o w   i s   a n   e x a m p l e   c o n f i g u r a t i o n   t h a t   s e t s   p e r c e n t a g e O f N o d e s T o S c o r e   t o   5 0 % .   a p i V e r s i o n :   k u b e s c h e d u l e r . c o n f i g . k 8 s . i o / v 1 a l p h a 1   k i n d :   K u b e S c h e d u l e r C o n f i g u r a t i o n   a l g o r i t h m S o u r c e :   p r o v i d e r :   D e f a u l t P r o v i d e r   . . .   p e r c e n t a g e O f N o d e s T o S c o r e :   5 0",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13087"
  },
  {
    "question": "What is Tuning percentageOfNodesToScore?",
    "answer": "p e r c e n t a g e O f N o d e s T o S c o r e   m u s t   b e   a   v a l u e   b e t w e e n   1   a n d   1 0 0   w i t h   t h e   d e f a u l t   v a l u e   b e i n g   c a l c u l a t e d   b a s e d   o n   t h e   c l u s t e r   s i z e .   T h e r e   i s   a l s o   a   h a r d c o d e d   m i n i m u m   v a l u e   o f   1 0 0   n o d e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13088"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   c l u s t e r s   w i t h   l e s s   t h a n   1 0 0   f e a s i b l e   n o d e s ,   t h e   s c h e d u l e r   s t i l l   c h e c k s   a l l   t h e   n o d e s   b e c a u s e   t h e r e   a r e   n o t   e n o u g h   f e a s i b l e   n o d e s   t o   s t o p   t h e   s c h e d u l e r ' s   s e a r c h   e a r l y .   I n   a   s m a l l   c l u s t e r ,   i f   y o u   s e t   a   l o w   v a l u e   f o r   p e r c e n t a g e O f N o d e s T o S c o r e ,   y o u r   c h a n g e   w i l l   h a v e   n o   o r   l i t t l e   e f f e c t ,   f o r   a   s i m i l a r   r e a s o n .   I f   y o u r   c l u s t e r   h a s   s e v e r a l   h u n d r e d   N o d e s   o r   f e w e r ,   l e a v e   t h i s   c o n f i g u r a t i o n   o p t i o n   a t   i t s   d e f a u l t   v a l u e .   M a k i n g   c h a n g e s   i s   u n l i k e l y   t o   i m p r o v e   t h e   s c h e d u l e r ' s   p e r f o r m a n c e   s i g n i f i c a n t l y .   A n   i m p o r t a n t   d e t a i l   t o   c o n s i d e r   w h e n   s e t t i n g   t h i s   v a l u e   i s   t h a t   w h e n   a   s m a l l e r   n u m b e r   o f   n o d e s   i n   a   c l u s t e r   a r e   c h e c k e d   f o r   f e a s i b i l i t y ,   s o m e   n o d e s   a r e   n o t   s e n t   t o   b e   s c o r e d   f o r   a   g i v e n   P o d .   A s   a   r e s u l t ,   a   N o d e   w h i c h   c o u l d   p o s s i b l y   s c o r e   a   h i g h e r   v a l u e   f o r   r u n n i n g   t h e   g i v e n   P o d   m i g h t   n o t   e v e n   b e   p a s s e d   t o   t h e   s c o r i n g   p h a s e .   T h i s   w o u l d   r e s u l t   i n   a   l e s s   t h a n   i d e a l   p l a c e m e n t   o f   t h e   P o d .   Y o u   s h o u l d   a v o i d   s e t t i n g   p e r c e n t a g e O f N o d e s T o S c o r e   v e r y   l o w   s o   t h a t   k u b e - s c h e d u l e r   d o e s   n o t   m a k e   f r e q u e n t ,   p o o r   P o d   p l a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13089"
  },
  {
    "question": "What is How the scheduler iterates over Nodes?",
    "answer": "T h i s   s e c t i o n   i s   i n t e n d e d   f o r   t h o s e   w h o   w a n t   t o   u n d e r s t a n d   t h e   i n t e r n a l   d e t a i l s   o f   t h i s   f e a t u r e .   I n   o r d e r   t o   g i v e   a l l   t h e   N o d e s   i n   a   c l u s t e r   a   f a i r   c h a n c e   o f   b e i n g   c o n s i d e r e d   f o r   r u n n i n g   P o d s ,   t h e   s c h e d u l e r   i t e r a t e s   o v e r   t h e   n o d e s   i n   a   r o u n d   r o b i n   f a s h i o n .   Y o u   c a n   i m a g i n e   t h a t   N o d e s   a r e   i n   a n   a r r a y .   T h e   s c h e d u l e r   s t a r t s   f r o m   t h e   s t a r t   o f   t h e   a r r a y   a n d   c h e c k s   f e a s i b i l i t y   o f   t h e   n o d e s   u n t i l   i t   f i n d s   e n o u g h   N o d e s   a s   s p e c i f i e d   b y   p e r c e n t a g e O f N o d e s T o S c o r e .   F o r   t h e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13090"
  },
  {
    "question": "What is What's next?",
    "answer": "C h e c k   t h e   k u b e - s c h e d u l e r   c o n f i g u r a t i o n   r e f e r e n c e   ( v 1 )",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13091"
  },
  {
    "question": "What is 10.10 - Resource Bin Packing?",
    "answer": "I n   t h e   s c h e d u l i n g - p l u g i n   N o d e R e s o u r c e s F i t   o f   k u b e - s c h e d u l e r ,   t h e r e   a r e   t w o   s c o r i n g   s t r a t e g i e s   t h a t   s u p p o r t   t h e   b i n   p a c k i n g   o f   r e s o u r c e s :   M o s t A l l o c a t e d   a n d   R e q u e s t e d T o C a p a c i t y R a t i o .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13092"
  },
  {
    "question": "What is Enabling bin packing using MostAllocated strategy?",
    "answer": "T h e   M o s t A l l o c a t e d   s t r a t e g y   s c o r e s   t h e   n o d e s   b a s e d   o n   t h e   u t i l i z a t i o n   o f   r e s o u r c e s ,   f a v o r i n g   t h e   o n e s   w i t h   h i g h e r   a l l o c a t i o n .   F o r   e a c h   r e s o u r c e   t y p e ,   y o u   c a n   s e t   a   w e i g h t   t o   m o d i f y   i t s   i n f l u e n c e   i n   t h e   n o d e   s c o r e .   T o   s e t   t h e   M o s t A l l o c a t e d   s t r a t e g y   f o r   t h e   N o d e R e s o u r c e s F i t   p l u g i n ,   u s e   a   s c h e d u l e r   c o n f i g u r a t i o n   s i m i l a r   t o   t h e   f o l l o w i n g :   a p i V e r s i o n :   k u b e s c h e d u l e r . c o n f i g . k 8 s . i o / v 1   k i n d :   K u b e S c h e d u l e r C o n f i g u r a t i o n   p r o f i l e s :   -   p l u g i n C o n f i g :   -   a r g s :   s c o r i n g S t r a t e g y :   r e s o u r c e s :   -   n a m e :   c p u   w e i g h t :   1   -   n a m e :   m e m o r y   w e i g h t :   1   -   n a m e :   i n t e l . c o m / f o o   w e i g h t :   3   -   n a m e :   i n t e l . c o m / b a r   w e i g h t :   3   t y p e :   M o s t A l l o c a t e d   n a m e :   N o d e R e s o u r c e s F i t   T o   l e a r n   m o r e   a b o u t   o t h e r   p a r a m e t e r s   a n d   t h e i r   d e f a u l t   c o n f i g u r a t i o n ,   s e e   t h e   A P I   d o c u m e n t a t i o n   f o r   N o d e R e s o u r c e s F i t A r g s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13093"
  },
  {
    "question": "What is Enabling bin packing using RequestedToCapacityRatio?",
    "answer": "T h e   R e q u e s t e d T o C a p a c i t y R a t i o   s t r a t e g y   a l l o w s   t h e   u s e r s   t o   s p e c i f y   t h e   r e s o u r c e s   a l o n g   w i t h   w e i g h t s   f o r   e a c h   r e s o u r c e   t o   s c o r e   n o d e s   b a s e d   o n   t h e   r e q u e s t   t o   c a p a c i t y   r a t i o .   T h i s   a l l o w s   u s e r s   t o   b i n   p a c k   e x t e n d e d   r e s o u r c e s   b y   u s i n g   a p p r o p r i a t e   p a r a m e t e r s   t o   i m p r o v e   t h e   u t i l i z a t i o n   o f   s c a r c e   r e s o u r c e s   i n   l a r g e   c l u s t e r s .   I t   f a v o r s   n o d e s   a c c o r d i n g   t o   a   c o n f i g u r e d   f u n c t i o n   o f   t h e   a l l o c a t e d   r e s o u r c e s .   T h e   b e h a v i o r   o f   t h e   R e q u e s t e d T o C a p a c i t y R a t i o   i n   t h e   N o d e R e s o u r c e s F i t   s c o r e   f u n c t i o n   c a n   b e   c o n t r o l l e d   b y   t h e   s c o r i n g S t r a t e g y   f i e l d .   W i t h i n   t h e   s c o r i n g S t r a t e g y   f i e l d ,   y o u   c a n   c o n f i g u r e   t w o   p a r a m e t e r s :   r e q u e s t e d T o C a p a c i t y R a t i o   a n d   r e s o u r c e s .   T h e   s h a p e   i n   t h e   r e q u e s t e d T o C a p a c i t y R a t i o   p a r a m e t e r   a l l o w s   t h e   u s e r   t o   t u n e   t h e   f u n c t i o n   a s   l e a s t   r e q u e s t e d   o r   m o s t   r e q u e s t e d   b a s e d   o n   u t i l i z a t i o n   a n d   s c o r e   v a l u e s .   T h e   r e s o u r c e s   p a r a m e t e r   c o m p r i s e s   b o t h   t h e   n a m e   o f   t h e   r e s o u r c e   t o   b e   c o n s i d e r e d   d u r i n g   s c o r i n g   a n d   i t s   c o r r e s p o n d i n g   w e i g h t ,   w h i c h   s p e c i f i e s   t h e   w e i g h t   o f   e a c h   r e s o u r c e .   B e l o w   i s   a n   e x a m p l e   c o n f i g ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13094"
  },
  {
    "question": "What is Tuning the score function?",
    "answer": "s h a p e   i s   u s e d   t o   s p e c i f y   t h e   b e h a v i o r   o f   t h e   R e q u e s t e d T o C a p a c i t y R a t i o   f u n c t i o n .   s h a p e :   -   u t i l i z a t i o n :   0   s c o r e :   0   -   u t i l i z a t i o n :   1 0 0   s c o r e :   1 0   T h e   a b o v e   a r g u m e n t s   g i v e   t h e   n o d e   a   s c o r e   o f   0   i f   u t i l i z a t i o n   i s   0 %   a n d   1 0   f o r   u t i l i z a t i o n   1 0 0 % ,   t h u s   e n a b l i n g   b i n   p a c k i n g   b e h a v i o r .   T o   e n a b l e   l e a s t   r e q u e s t e d   t h e   s c o r e   v a l u e   m u s t   b e   r e v e r s e d   a s   f o l l o w s .   s h a p e :   -   u t i l i z a t i o n :   0   s c o r e :   1 0   -   u t i l i z a t i o n :   1 0 0   s c o r e :   0   r e s o u r c e s   i s   a n   o p t i o n a l   p a r a m e t e r   w h i c h   d e f a u l t s   t o :   r e s o u r c e s :   -   n a m e :   c p u   w e i g h t :   1   -   n a m e :   m e m o r y   w e i g h t :   1   I t   c a n   b e   u s e d   t o   a d d   e x t e n d e d   r e s o u r c e s   a s   f o l l o w s :   r e s o u r c e s :   -   n a m e :   i n t e l . c o m / f o o   w e i g h t :   5   -   n a m e :   c p u   w e i g h t :   3   -   n a m e :   m e m o r y   w e i g h t :   1   T h e   w e i g h t   p a r a m e t e r   i s   o p t i o n a l   a n d   i s   s e t   t o   1   i f   n o t   s p e c i f i e d .   A l s o ,   t h e   w e i g h t   c a n n o t   b e   s e t   t o   a   n e g a t i v e   v a l u e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13095"
  },
  {
    "question": "What is Node scoring for capacity allocation?",
    "answer": "T h i s   s e c t i o n   i s   i n t e n d e d   f o r   t h o s e   w h o   w a n t   t o   u n d e r s t a n d   t h e   i n t e r n a l   d e t a i l s   o f   t h i s   f e a t u r e .   B e l o w   i s   a n   e x a m p l e   o f   h o w   t h e   n o d e   s c o r e   i s   c a l c u l a t e d   f o r   a   g i v e n   s e t   o f   v a l u e s .   R e q u e s t e d   r e s o u r c e s :   i n t e l . c o m / f o o   :   2   m e m o r y :   2 5 6 M B   c p u :   2   R e s o u r c e   w e i g h t s :   i n t e l . c o m / f o o   :   5   m e m o r y :   1   c p u :   3   F u n c t i o n S h a p e P o i n t   { { 0 ,   0 } ,   { 1 0 0 ,   1 0 } }   N o d e   1   s p e c :   A v a i l a b l e :   i n t e l . c o m / f o o :   4   m e m o r y :   1   G B   c p u :   8   U s e d :   i n t e l . c o m / f o o :   1   m e m o r y :   2 5 6 M B   c p u :   1   N o d e   s c o r e :   i n t e l . c o m / f o o   =   r e s o u r c e S c o r i n g F u n c t i o n ( ( 2 + 1 ) , 4 )   =   ( 1 0 0   -   ( ( 4 - 3 ) * 1 0 0 / 4 )   =   ( 1 0 0   -   2 5 )   =   7 5   #   r e q u e s t e d   +   u s e d   =   7 5 %   *   a v a i l a b l e   =   r a w S c o r i n g F u n c t i o n ( 7 5 )   =   7   #   f l o o r ( 7 5 / 1 0 )   m e m o r y   =   r e s o u r c e S c o r i n g F u n c t i o n ( ( 2 5 6 + 2 5 6 ) , 1 0 2 4 )   =   ( 1 0 0   - ( ( 1 0 2 4 - 5 1 2 ) * 1 0 0 / 1 0 2 4 ) )   =   5 0   #   r e q u e s t e d   +   u s e d   =   5 0 %   *   a v a i l a b l e   =   r a w S c o r i n g F u n c t i o n ( 5 0 )   =   5   #   f l o o r ( 5 0 / 1 0 )   c p u   =   r e s o u r c e S c o r i n g F u n c t i o n ( ( 2 + 1 ) , 8 )   =   ( 1 0 0   - ( ( 8 - 3 ) * 1 0 0 / 8 ) )   =   3 7 . 5   #   r e q u e s t e d   +   u s e d   =   3 7 . 5 %   *   a v a i l a b l e   =   r a w S c o r i n g F u n c t i o n ( 3 7 . 5 )   =   3   #   f l o o r ( 3 7 . 5 / 1 0 )   N o d e S c o r e   =   ( ( 7   *   5 )   +   ( 5   *   1 )   +   ( 3   *   3 ) )   /   ( 5   +   1   +   3 )   =   5 ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13096"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   m o r e   a b o u t   t h e   s c h e d u l i n g   f r a m e w o r k R e a d   m o r e   a b o u t   s c h e d u l e r   c o n f i g u r a t i o n",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13097"
  },
  {
    "question": "What is 10.11 - Pod Priority and Preemption?",
    "answer": "P o d s   c a n   h a v e   p r i o r i t y .   P r i o r i t y   i n d i c a t e s   t h e   i m p o r t a n c e   o f   a   P o d   r e l a t i v e   t o   o t h e r   P o d s .   I f   a   P o d   c a n n o t   b e   s c h e d u l e d ,   t h e   s c h e d u l e r   t r i e s   t o   p r e e m p t   ( e v i c t )   l o w e r   p r i o r i t y   P o d s   t o   m a k e   s c h e d u l i n g   o f   t h e   p e n d i n g   P o d   p o s s i b l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13098"
  },
  {
    "question": "What is Warning:?",
    "answer": "I n   a   c l u s t e r   w h e r e   n o t   a l l   u s e r s   a r e   t r u s t e d ,   a   m a l i c i o u s   u s e r   c o u l d   c r e a t e   P o d s   a t   t h e   h i g h e s t   p o s s i b l e   p r i o r i t i e s ,   c a u s i n g   o t h e r   P o d s   t o   b e   e v i c t e d / n o t   g e t   s c h e d u l e d .   A n   a d m i n i s t r a t o r   c a n   u s e   R e s o u r c e Q u o t a   t o   p r e v e n t   u s e r s   f r o m   c r e a t i n g   p o d s   a t   h i g h   p r i o r i t i e s .   S e e   l i m i t   P r i o r i t y   C l a s s   c o n s u m p t i o n   b y   d e f a u l t   f o r   d e t a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13099"
  },
  {
    "question": "What is How to use priority and preemption?",
    "answer": "T o   u s e   p r i o r i t y   a n d   p r e e m p t i o n :   A d d   o n e   o r   m o r e   P r i o r i t y C l a s s e s . C r e a t e   P o d s   w i t h p r i o r i t y C l a s s N a m e   s e t   t o   o n e   o f   t h e   a d d e d   P r i o r i t y C l a s s e s .   O f   c o u r s e   y o u   d o   n o t   n e e d   t o   c r e a t e   t h e   P o d s   d i r e c t l y ;   n o r m a l l y   y o u   w o u l d   a d d   p r i o r i t y C l a s s N a m e   t o   t h e   P o d   t e m p l a t e   o f   a   c o l l e c t i o n   o b j e c t   l i k e   a   D e p l o y m e n t .   A d d   o n e   o r   m o r e   P r i o r i t y C l a s s e s .   C r e a t e   P o d s   w i t h p r i o r i t y C l a s s N a m e   s e t   t o   o n e   o f   t h e   a d d e d   P r i o r i t y C l a s s e s .   O f   c o u r s e   y o u   d o   n o t   n e e d   t o   c r e a t e   t h e   P o d s   d i r e c t l y ;   n o r m a l l y   y o u   w o u l d   a d d   p r i o r i t y C l a s s N a m e   t o   t h e   P o d   t e m p l a t e   o f   a   c o l l e c t i o n   o b j e c t   l i k e   a   D e p l o y m e n t .   K e e p   r e a d i n g   f o r   m o r e   i n f o r m a t i o n   a b o u t   t h e s e   s t e p s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13100"
  },
  {
    "question": "What is PriorityClass?",
    "answer": "A   P r i o r i t y C l a s s   i s   a   n o n - n a m e s p a c e d   o b j e c t   t h a t   d e f i n e s   a   m a p p i n g   f r o m   a   p r i o r i t y   c l a s s   n a m e   t o   t h e   i n t e g e r   v a l u e   o f   t h e   p r i o r i t y .   T h e   n a m e   i s   s p e c i f i e d   i n   t h e   n a m e   f i e l d   o f   t h e   P r i o r i t y C l a s s   o b j e c t ' s   m e t a d a t a .   T h e   v a l u e   i s   s p e c i f i e d   i n   t h e   r e q u i r e d   v a l u e   f i e l d .   T h e   h i g h e r   t h e   v a l u e ,   t h e   h i g h e r   t h e   p r i o r i t y .   T h e   n a m e   o f   a   P r i o r i t y C l a s s   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e ,   a n d   i t   c a n n o t   b e   p r e f i x e d   w i t h   s y s t e m - .   A   P r i o r i t y C l a s s   o b j e c t   c a n   h a v e   a n y   3 2 - b i t   i n t e g e r   v a l u e   s m a l l e r   t h a n   o r   e q u a l   t o   1   b i l l i o n .   T h i s   m e a n s   t h a t   t h e   r a n g e   o f   v a l u e s   f o r   a   P r i o r i t y C l a s s   o b j e c t   i s   f r o m   - 2 1 4 7 4 8 3 6 4 8   t o   1 0 0 0 0 0 0 0 0 0   i n c l u s i v e .   L a r g e r   n u m b e r s   a r e   r e s e r v e d   f o r   b u i l t - i n   P r i o r i t y C l a s s e s   t h a t   r e p r e s e n t   c r i t i c a l   s y s t e m   P o d s .   A   c l u s t e r   a d m i n   s h o u l d   c r e a t e   o n e   P r i o r i t y C l a s s   o b j e c t   f o r   e a c h   s u c h   m a p p i n g   t h a t   t h e y   w a n t .   P r i o r i t y C l a s s   a l s o   h a s   t w o   o p t i o n a l   f i e l d s :   g l o b a l D e f a u l t   a n d   d e s c r i p t i o n .   T h e   g l o b a l D e f a u l t   f i e l d   i n d i c a t e s   t h a t   t h e   v a l u e   o f   t h i s   P r i o r i t y C l a s s   s h o u l d   b e   u s e d   f o r   P o d s   w i t h o u t   a   p r i o r i t y C l a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13101"
  },
  {
    "question": "What is Notes about PodPriority and existing clusters?",
    "answer": "I f   y o u   u p g r a d e   a n   e x i s t i n g   c l u s t e r   w i t h o u t   t h i s   f e a t u r e ,   t h e   p r i o r i t y   o f   y o u r   e x i s t i n g   P o d s   i s   e f f e c t i v e l y   z e r o . A d d i t i o n   o f   a   P r i o r i t y C l a s s   w i t h   g l o b a l D e f a u l t   s e t   t o   t r u e   d o e s   n o t   c h a n g e   t h e   p r i o r i t i e s   o f   e x i s t i n g   P o d s .   T h e   v a l u e   o f   s u c h   a   P r i o r i t y C l a s s   i s   u s e d   o n l y   f o r   P o d s   c r e a t e d   a f t e r   t h e   P r i o r i t y C l a s s   i s   a d d e d . I f   y o u   d e l e t e   a   P r i o r i t y C l a s s ,   e x i s t i n g   P o d s   t h a t   u s e   t h e   n a m e   o f   t h e   d e l e t e d   P r i o r i t y C l a s s   r e m a i n   u n c h a n g e d ,   b u t   y o u   c a n n o t   c r e a t e   m o r e   P o d s   t h a t   u s e   t h e   n a m e   o f   t h e   d e l e t e d   P r i o r i t y C l a s s .   I f   y o u   u p g r a d e   a n   e x i s t i n g   c l u s t e r   w i t h o u t   t h i s   f e a t u r e ,   t h e   p r i o r i t y   o f   y o u r   e x i s t i n g   P o d s   i s   e f f e c t i v e l y   z e r o .   A d d i t i o n   o f   a   P r i o r i t y C l a s s   w i t h   g l o b a l D e f a u l t   s e t   t o   t r u e   d o e s   n o t   c h a n g e   t h e   p r i o r i t i e s   o f   e x i s t i n g   P o d s .   T h e   v a l u e   o f   s u c h   a   P r i o r i t y C l a s s   i s   u s e d   o n l y   f o r   P o d s   c r e a t e d   a f t e r   t h e   P r i o r i t y C l a s s   i s   a d d e d .   I f   y o u   d e l e t e   a   P r i o r i t y C l a s s ,   e x i s t i n g   P o d s   t h a t   u s e   t h e   n a m e   o f   t h e   d e l e t e d   P r i o r i t y C l a s s   r e m a i n   u n c h a n g e d ,   b u t   y o u   c a n n o t   c r e a t e   m o r e   P o d s   t h a t   u s e   t h e   n a m e   o f   t h e   d e l e t e d ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13102"
  },
  {
    "question": "What is Example PriorityClass?",
    "answer": "a p i V e r s i o n :   s c h e d u l i n g . k 8 s . i o / v 1   k i n d :   P r i o r i t y C l a s s   m e t a d a t a :   n a m e :   h i g h - p r i o r i t y   v a l u e :   1 0 0 0 0 0 0   g l o b a l D e f a u l t :   f a l s e   d e s c r i p t i o n :   \" T h i s   p r i o r i t y   c l a s s   s h o u l d   b e   u s e d   f o r   X Y Z   s e r v i c e   p o d s   o n l y . \"",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13103"
  },
  {
    "question": "What is Non-preempting PriorityClass?",
    "answer": "P o d s   w i t h   p r e e m p t i o n P o l i c y :   N e v e r   w i l l   b e   p l a c e d   i n   t h e   s c h e d u l i n g   q u e u e   a h e a d   o f   l o w e r - p r i o r i t y   p o d s ,   b u t   t h e y   c a n n o t   p r e e m p t   o t h e r   p o d s .   A   n o n - p r e e m p t i n g   p o d   w a i t i n g   t o   b e   s c h e d u l e d   w i l l   s t a y   i n   t h e   s c h e d u l i n g   q u e u e ,   u n t i l   s u f f i c i e n t   r e s o u r c e s   a r e   f r e e ,   a n d   i t   c a n   b e   s c h e d u l e d .   N o n - p r e e m p t i n g   p o d s ,   l i k e   o t h e r   p o d s ,   a r e   s u b j e c t   t o   s c h e d u l e r   b a c k - o f f .   T h i s   m e a n s   t h a t   i f   t h e   s c h e d u l e r   t r i e s   t h e s e   p o d s   a n d   t h e y   c a n n o t   b e   s c h e d u l e d ,   t h e y   w i l l   b e   r e t r i e d   w i t h   l o w e r   f r e q u e n c y ,   a l l o w i n g   o t h e r   p o d s   w i t h   l o w e r   p r i o r i t y   t o   b e   s c h e d u l e d   b e f o r e   t h e m .   N o n - p r e e m p t i n g   p o d s   m a y   s t i l l   b e   p r e e m p t e d   b y   o t h e r ,   h i g h - p r i o r i t y   p o d s .   p r e e m p t i o n P o l i c y   d e f a u l t s   t o   P r e e m p t L o w e r P r i o r i t y ,   w h i c h   w i l l   a l l o w   p o d s   o f   t h a t   P r i o r i t y C l a s s   t o   p r e e m p t   l o w e r - p r i o r i t y   p o d s   ( a s   i s   e x i s t i n g   d e f a u l t   b e h a v i o r ) .   I f   p r e e m p t i o n P o l i c y   i s   s e t   t o   N e v e r ,   p o d s   i n   t h a t   P r i o r i t y C l a s s   w i l l   b e   n o n - p r e e m p t i n g .   A n   e x a m p l e   u s e   c a s e   i s   f o r   d a t a   s c i e n c e   w o r k l o a d s .   A   u s e r   m a y   s u b m i t   a   j o b   t h a t   t h e y   w a n t   t o   b e   p r i o r i t i z e d   a b o v e   o t h e r   w o r k l o a d s ,   b ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13104"
  },
  {
    "question": "What is Example Non-preempting PriorityClass?",
    "answer": "a p i V e r s i o n :   s c h e d u l i n g . k 8 s . i o / v 1   k i n d :   P r i o r i t y C l a s s   m e t a d a t a :   n a m e :   h i g h - p r i o r i t y - n o n p r e e m p t i n g   v a l u e :   1 0 0 0 0 0 0   p r e e m p t i o n P o l i c y :   N e v e r   g l o b a l D e f a u l t :   f a l s e   d e s c r i p t i o n :   \" T h i s   p r i o r i t y   c l a s s   w i l l   n o t   c a u s e   o t h e r   p o d s   t o   b e   p r e e m p t e d . \"",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13105"
  },
  {
    "question": "What is Pod priority?",
    "answer": "A f t e r   y o u   h a v e   o n e   o r   m o r e   P r i o r i t y C l a s s e s ,   y o u   c a n   c r e a t e   P o d s   t h a t   s p e c i f y   o n e   o f   t h o s e   P r i o r i t y C l a s s   n a m e s   i n   t h e i r   s p e c i f i c a t i o n s .   T h e   p r i o r i t y   a d m i s s i o n   c o n t r o l l e r   u s e s   t h e   p r i o r i t y C l a s s N a m e   f i e l d   a n d   p o p u l a t e s   t h e   i n t e g e r   v a l u e   o f   t h e   p r i o r i t y .   I f   t h e   p r i o r i t y   c l a s s   i s   n o t   f o u n d ,   t h e   P o d   i s   r e j e c t e d .   T h e   f o l l o w i n g   Y A M L   i s   a n   e x a m p l e   o f   a   P o d   c o n f i g u r a t i o n   t h a t   u s e s   t h e   P r i o r i t y C l a s s   c r e a t e d   i n   t h e   p r e c e d i n g   e x a m p l e .   T h e   p r i o r i t y   a d m i s s i o n   c o n t r o l l e r   c h e c k s   t h e   s p e c i f i c a t i o n   a n d   r e s o l v e s   t h e   p r i o r i t y   o f   t h e   P o d   t o   1 0 0 0 0 0 0 .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   l a b e l s :   e n v :   t e s t   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   i m a g e P u l l P o l i c y :   I f N o t P r e s e n t   p r i o r i t y C l a s s N a m e :   h i g h - p r i o r i t y",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13106"
  },
  {
    "question": "What is Effect of Pod priority on scheduling order?",
    "answer": "W h e n   P o d   p r i o r i t y   i s   e n a b l e d ,   t h e   s c h e d u l e r   o r d e r s   p e n d i n g   P o d s   b y   t h e i r   p r i o r i t y   a n d   a   p e n d i n g   P o d   i s   p l a c e d   a h e a d   o f   o t h e r   p e n d i n g   P o d s   w i t h   l o w e r   p r i o r i t y   i n   t h e   s c h e d u l i n g   q u e u e .   A s   a   r e s u l t ,   t h e   h i g h e r   p r i o r i t y   P o d   m a y   b e   s c h e d u l e d   s o o n e r   t h a n   P o d s   w i t h   l o w e r   p r i o r i t y   i f   i t s   s c h e d u l i n g   r e q u i r e m e n t s   a r e   m e t .   I f   s u c h   P o d   c a n n o t   b e   s c h e d u l e d ,   t h e   s c h e d u l e r   w i l l   c o n t i n u e   a n d   t r y   t o   s c h e d u l e   o t h e r   l o w e r   p r i o r i t y   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13107"
  },
  {
    "question": "What is Preemption?",
    "answer": "W h e n   P o d s   a r e   c r e a t e d ,   t h e y   g o   t o   a   q u e u e   a n d   w a i t   t o   b e   s c h e d u l e d .   T h e   s c h e d u l e r   p i c k s   a   P o d   f r o m   t h e   q u e u e   a n d   t r i e s   t o   s c h e d u l e   i t   o n   a   N o d e .   I f   n o   N o d e   i s   f o u n d   t h a t   s a t i s f i e s   a l l   t h e   s p e c i f i e d   r e q u i r e m e n t s   o f   t h e   P o d ,   p r e e m p t i o n   l o g i c   i s   t r i g g e r e d   f o r   t h e   p e n d i n g   P o d .   L e t ' s   c a l l   t h e   p e n d i n g   P o d   P .   P r e e m p t i o n   l o g i c   t r i e s   t o   f i n d   a   N o d e   w h e r e   r e m o v a l   o f   o n e   o r   m o r e   P o d s   w i t h   l o w e r   p r i o r i t y   t h a n   P   w o u l d   e n a b l e   P   t o   b e   s c h e d u l e d   o n   t h a t   N o d e .   I f   s u c h   a   N o d e   i s   f o u n d ,   o n e   o r   m o r e   l o w e r   p r i o r i t y   P o d s   g e t   e v i c t e d   f r o m   t h e   N o d e .   A f t e r   t h e   P o d s   a r e   g o n e ,   P   c a n   b e   s c h e d u l e d   o n   t h e   N o d e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13108"
  },
  {
    "question": "What is User exposed information?",
    "answer": "W h e n   P o d   P   p r e e m p t s   o n e   o r   m o r e   P o d s   o n   N o d e   N ,   n o m i n a t e d N o d e N a m e   f i e l d   o f   P o d   P ' s   s t a t u s   i s   s e t   t o   t h e   n a m e   o f   N o d e   N .   T h i s   f i e l d   h e l p s   t h e   s c h e d u l e r   t r a c k   r e s o u r c e s   r e s e r v e d   f o r   P o d   P   a n d   a l s o   g i v e s   u s e r s   i n f o r m a t i o n   a b o u t   p r e e m p t i o n s   i n   t h e i r   c l u s t e r s .   P l e a s e   n o t e   t h a t   P o d   P   i s   n o t   n e c e s s a r i l y   s c h e d u l e d   t o   t h e   \" n o m i n a t e d   N o d e \" .   T h e   s c h e d u l e r   a l w a y s   t r i e s   t h e   \" n o m i n a t e d   N o d e \"   b e f o r e   i t e r a t i n g   o v e r   a n y   o t h e r   n o d e s .   A f t e r   v i c t i m   P o d s   a r e   p r e e m p t e d ,   t h e y   g e t   t h e i r   g r a c e f u l   t e r m i n a t i o n   p e r i o d .   I f   a n o t h e r   n o d e   b e c o m e s   a v a i l a b l e   w h i l e   s c h e d u l e r   i s   w a i t i n g   f o r   t h e   v i c t i m   P o d s   t o   t e r m i n a t e ,   s c h e d u l e r   m a y   u s e   t h e   o t h e r   n o d e   t o   s c h e d u l e   P o d   P .   A s   a   r e s u l t   n o m i n a t e d N o d e N a m e   a n d   n o d e N a m e   o f   P o d   s p e c   a r e   n o t   a l w a y s   t h e   s a m e .   A l s o ,   i f   t h e   s c h e d u l e r   p r e e m p t s   P o d s   o n   N o d e   N ,   b u t   t h e n   a   h i g h e r   p r i o r i t y   P o d   t h a n   P o d   P   a r r i v e s ,   t h e   s c h e d u l e r   m a y   g i v e   N o d e   N   t o   t h e   n e w   h i g h e r   p r i o r i t y   P o d .   I n   s u c h   a   c a s e ,   s c h e d u l e r   c l e a r s   n o m i n a t e d N o d e N a m e   o f   P o d   P .   B y   d o i n g   t h i s ,   s c h e d u l e r   m a k e s   P o d   P   e l i g i b l e   t o   p r e e m ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13109"
  },
  {
    "question": "What is Graceful termination of preemption victims?",
    "answer": "W h e n   P o d s   a r e   p r e e m p t e d ,   t h e   v i c t i m s   g e t   t h e i r   g r a c e f u l   t e r m i n a t i o n   p e r i o d .   T h e y   h a v e   t h a t   m u c h   t i m e   t o   f i n i s h   t h e i r   w o r k   a n d   e x i t .   I f   t h e y   d o n ' t ,   t h e y   a r e   k i l l e d .   T h i s   g r a c e f u l   t e r m i n a t i o n   p e r i o d   c r e a t e s   a   t i m e   g a p   b e t w e e n   t h e   p o i n t   t h a t   t h e   s c h e d u l e r   p r e e m p t s   P o d s   a n d   t h e   t i m e   w h e n   t h e   p e n d i n g   P o d   ( P )   c a n   b e   s c h e d u l e d   o n   t h e   N o d e   ( N ) .   I n   t h e   m e a n t i m e ,   t h e   s c h e d u l e r   k e e p s   s c h e d u l i n g   o t h e r   p e n d i n g   P o d s .   A s   v i c t i m s   e x i t   o r   g e t   t e r m i n a t e d ,   t h e   s c h e d u l e r   t r i e s   t o   s c h e d u l e   P o d s   i n   t h e   p e n d i n g   q u e u e .   T h e r e f o r e ,   t h e r e   i s   u s u a l l y   a   t i m e   g a p   b e t w e e n   t h e   p o i n t   t h a t   s c h e d u l e r   p r e e m p t s   v i c t i m s   a n d   t h e   t i m e   t h a t   P o d   P   i s   s c h e d u l e d .   I n   o r d e r   t o   m i n i m i z e   t h i s   g a p ,   o n e   c a n   s e t   g r a c e f u l   t e r m i n a t i o n   p e r i o d   o f   l o w e r   p r i o r i t y   P o d s   t o   z e r o   o r   a   s m a l l   n u m b e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13110"
  },
  {
    "question": "What is PodDisruptionBudget is supported, but not guaranteed?",
    "answer": "A   P o d D i s r u p t i o n B u d g e t   ( P D B )   a l l o w s   a p p l i c a t i o n   o w n e r s   t o   l i m i t   t h e   n u m b e r   o f   P o d s   o f   a   r e p l i c a t e d   a p p l i c a t i o n   t h a t   a r e   d o w n   s i m u l t a n e o u s l y   f r o m   v o l u n t a r y   d i s r u p t i o n s .   K u b e r n e t e s   s u p p o r t s   P D B   w h e n   p r e e m p t i n g   P o d s ,   b u t   r e s p e c t i n g   P D B   i s   b e s t   e f f o r t .   T h e   s c h e d u l e r   t r i e s   t o   f i n d   v i c t i m s   w h o s e   P D B   a r e   n o t   v i o l a t e d   b y   p r e e m p t i o n ,   b u t   i f   n o   s u c h   v i c t i m s   a r e   f o u n d ,   p r e e m p t i o n   w i l l   s t i l l   h a p p e n ,   a n d   l o w e r   p r i o r i t y   P o d s   w i l l   b e   r e m o v e d   d e s p i t e   t h e i r   P D B s   b e i n g   v i o l a t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13111"
  },
  {
    "question": "What is Inter-Pod affinity on lower-priority Pods?",
    "answer": "A   N o d e   i s   c o n s i d e r e d   f o r   p r e e m p t i o n   o n l y   w h e n   t h e   a n s w e r   t o   t h i s   q u e s t i o n   i s   y e s :   \" I f   a l l   t h e   P o d s   w i t h   l o w e r   p r i o r i t y   t h a n   t h e   p e n d i n g   P o d   a r e   r e m o v e d   f r o m   t h e   N o d e ,   c a n   t h e   p e n d i n g   P o d   b e   s c h e d u l e d   o n   t h e   N o d e ? \"",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13112"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   a   p e n d i n g   P o d   h a s   i n t e r - p o d   a f f i n i t y   t o   o n e   o r   m o r e   o f   t h e   l o w e r - p r i o r i t y   P o d s   o n   t h e   N o d e ,   t h e   i n t e r - P o d   a f f i n i t y   r u l e   c a n n o t   b e   s a t i s f i e d   i n   t h e   a b s e n c e   o f   t h o s e   l o w e r - p r i o r i t y   P o d s .   I n   t h i s   c a s e ,   t h e   s c h e d u l e r   d o e s   n o t   p r e e m p t   a n y   P o d s   o n   t h e   N o d e .   I n s t e a d ,   i t   l o o k s   f o r   a n o t h e r   N o d e .   T h e   s c h e d u l e r   m i g h t   f i n d   a   s u i t a b l e   N o d e   o r   i t   m i g h t   n o t .   T h e r e   i s   n o   g u a r a n t e e   t h a t   t h e   p e n d i n g   P o d   c a n   b e   s c h e d u l e d .   O u r   r e c o m m e n d e d   s o l u t i o n   f o r   t h i s   p r o b l e m   i s   t o   c r e a t e   i n t e r - P o d   a f f i n i t y   o n l y   t o w a r d s   e q u a l   o r   h i g h e r   p r i o r i t y   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13113"
  },
  {
    "question": "What is Cross node preemption?",
    "answer": "S u p p o s e   a   N o d e   N   i s   b e i n g   c o n s i d e r e d   f o r   p r e e m p t i o n   s o   t h a t   a   p e n d i n g   P o d   P   c a n   b e   s c h e d u l e d   o n   N .   P   m i g h t   b e c o m e   f e a s i b l e   o n   N   o n l y   i f   a   P o d   o n   a n o t h e r   N o d e   i s   p r e e m p t e d .   H e r e ' s   a n   e x a m p l e :   P o d   P   i s   b e i n g   c o n s i d e r e d   f o r   N o d e   N . P o d   Q   i s   r u n n i n g   o n   a n o t h e r   N o d e   i n   t h e   s a m e   Z o n e   a s   N o d e   N . P o d   P   h a s   Z o n e - w i d e   a n t i - a f f i n i t y   w i t h   P o d   Q   ( t o p o l o g y K e y :   t o p o l o g y . k u b e r n e t e s . i o / z o n e ) . T h e r e   a r e   n o   o t h e r   c a s e s   o f   a n t i - a f f i n i t y   b e t w e e n   P o d   P   a n d   o t h e r   P o d s   i n   t h e   Z o n e . I n   o r d e r   t o   s c h e d u l e   P o d   P   o n   N o d e   N ,   P o d   Q   c a n   b e   p r e e m p t e d ,   b u t   s c h e d u l e r   d o e s   n o t   p e r f o r m   c r o s s - n o d e   p r e e m p t i o n .   S o ,   P o d   P   w i l l   b e   d e e m e d   u n s c h e d u l a b l e   o n   N o d e   N .   I f   P o d   Q   w e r e   r e m o v e d   f r o m   i t s   N o d e ,   t h e   P o d   a n t i - a f f i n i t y   v i o l a t i o n   w o u l d   b e   g o n e ,   a n d   P o d   P   c o u l d   p o s s i b l y   b e   s c h e d u l e d   o n   N o d e   N .   W e   m a y   c o n s i d e r   a d d i n g   c r o s s   N o d e   p r e e m p t i o n   i n   f u t u r e   v e r s i o n s   i f   t h e r e   i s   e n o u g h   d e m a n d   a n d   i f   w e   f i n d   a n   a l g o r i t h m   w i t h   r e a s o n a b l e   p e r f o r m a n c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13114"
  },
  {
    "question": "What is Troubleshooting?",
    "answer": "P o d   p r i o r i t y   a n d   p r e e m p t i o n   c a n   h a v e   u n w a n t e d   s i d e   e f f e c t s .   H e r e   a r e   s o m e   e x a m p l e s   o f   p o t e n t i a l   p r o b l e m s   a n d   w a y s   t o   d e a l   w i t h   t h e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13115"
  },
  {
    "question": "What is Pods are preempted unnecessarily?",
    "answer": "P r e e m p t i o n   r e m o v e s   e x i s t i n g   P o d s   f r o m   a   c l u s t e r   u n d e r   r e s o u r c e   p r e s s u r e   t o   m a k e   r o o m   f o r   h i g h e r   p r i o r i t y   p e n d i n g   P o d s .   I f   y o u   g i v e   h i g h   p r i o r i t i e s   t o   c e r t a i n   P o d s   b y   m i s t a k e ,   t h e s e   u n i n t e n t i o n a l l y   h i g h   p r i o r i t y   P o d s   m a y   c a u s e   p r e e m p t i o n   i n   y o u r   c l u s t e r .   P o d   p r i o r i t y   i s   s p e c i f i e d   b y   s e t t i n g   t h e   p r i o r i t y C l a s s N a m e   f i e l d   i n   t h e   P o d ' s   s p e c i f i c a t i o n .   T h e   i n t e g e r   v a l u e   f o r   p r i o r i t y   i s   t h e n   r e s o l v e d   a n d   p o p u l a t e d   t o   t h e   p r i o r i t y   f i e l d   o f   p o d S p e c .   T o   a d d r e s s   t h e   p r o b l e m ,   y o u   c a n   c h a n g e   t h e   p r i o r i t y C l a s s N a m e   f o r   t h o s e   P o d s   t o   u s e   l o w e r   p r i o r i t y   c l a s s e s ,   o r   l e a v e   t h a t   f i e l d   e m p t y .   A n   e m p t y   p r i o r i t y C l a s s N a m e   i s   r e s o l v e d   t o   z e r o   b y   d e f a u l t .   W h e n   a   P o d   i s   p r e e m p t e d ,   t h e r e   w i l l   b e   e v e n t s   r e c o r d e d   f o r   t h e   p r e e m p t e d   P o d .   P r e e m p t i o n   s h o u l d   h a p p e n   o n l y   w h e n   a   c l u s t e r   d o e s   n o t   h a v e   e n o u g h   r e s o u r c e s   f o r   a   P o d .   I n   s u c h   c a s e s ,   p r e e m p t i o n   h a p p e n s   o n l y   w h e n   t h e   p r i o r i t y   o f   t h e   p e n d i n g   P o d   ( p r e e m p t o r )   i s   h i g h e r   t h a n   t h e   v i c t i m   P o d s .   P r e e m p t i o n   m u s t   n o t   h a p p e n   w h e n   t h e r e   i s   n o   p e n d i n g   P o d ,   o r   w h e n   t h e   p e n d i n g   P o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13116"
  },
  {
    "question": "What is Pods are preempted, but the preemptor is not scheduled?",
    "answer": "W h e n   p o d s   a r e   p r e e m p t e d ,   t h e y   r e c e i v e   t h e i r   r e q u e s t e d   g r a c e f u l   t e r m i n a t i o n   p e r i o d ,   w h i c h   i s   b y   d e f a u l t   3 0   s e c o n d s .   I f   t h e   v i c t i m   P o d s   d o   n o t   t e r m i n a t e   w i t h i n   t h i s   p e r i o d ,   t h e y   a r e   f o r c i b l y   t e r m i n a t e d .   O n c e   a l l   t h e   v i c t i m s   g o   a w a y ,   t h e   p r e e m p t o r   P o d   c a n   b e   s c h e d u l e d .   W h i l e   t h e   p r e e m p t o r   P o d   i s   w a i t i n g   f o r   t h e   v i c t i m s   t o   g o   a w a y ,   a   h i g h e r   p r i o r i t y   P o d   m a y   b e   c r e a t e d   t h a t   f i t s   o n   t h e   s a m e   N o d e .   I n   t h i s   c a s e ,   t h e   s c h e d u l e r   w i l l   s c h e d u l e   t h e   h i g h e r   p r i o r i t y   P o d   i n s t e a d   o f   t h e   p r e e m p t o r .   T h i s   i s   e x p e c t e d   b e h a v i o r :   t h e   P o d   w i t h   t h e   h i g h e r   p r i o r i t y   s h o u l d   t a k e   t h e   p l a c e   o f   a   P o d   w i t h   a   l o w e r   p r i o r i t y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13117"
  },
  {
    "question": "What is Higher priority Pods are preempted before lower priority pods?",
    "answer": "T h e   s c h e d u l e r   t r i e s   t o   f i n d   n o d e s   t h a t   c a n   r u n   a   p e n d i n g   P o d .   I f   n o   n o d e   i s   f o u n d ,   t h e   s c h e d u l e r   t r i e s   t o   r e m o v e   P o d s   w i t h   l o w e r   p r i o r i t y   f r o m   a n   a r b i t r a r y   n o d e   i n   o r d e r   t o   m a k e   r o o m   f o r   t h e   p e n d i n g   p o d .   I f   a   n o d e   w i t h   l o w   p r i o r i t y   P o d s   i s   n o t   f e a s i b l e   t o   r u n   t h e   p e n d i n g   P o d ,   t h e   s c h e d u l e r   m a y   c h o o s e   a n o t h e r   n o d e   w i t h   h i g h e r   p r i o r i t y   P o d s   ( c o m p a r e d   t o   t h e   P o d s   o n   t h e   o t h e r   n o d e )   f o r   p r e e m p t i o n .   T h e   v i c t i m s   m u s t   s t i l l   h a v e   l o w e r   p r i o r i t y   t h a n   t h e   p r e e m p t o r   P o d .   W h e n   t h e r e   a r e   m u l t i p l e   n o d e s   a v a i l a b l e   f o r   p r e e m p t i o n ,   t h e   s c h e d u l e r   t r i e s   t o   c h o o s e   t h e   n o d e   w i t h   a   s e t   o f   P o d s   w i t h   l o w e s t   p r i o r i t y .   H o w e v e r ,   i f   s u c h   P o d s   h a v e   P o d D i s r u p t i o n B u d g e t   t h a t   w o u l d   b e   v i o l a t e d   i f   t h e y   a r e   p r e e m p t e d   t h e n   t h e   s c h e d u l e r   m a y   c h o o s e   a n o t h e r   n o d e   w i t h   h i g h e r   p r i o r i t y   P o d s .   W h e n   m u l t i p l e   n o d e s   e x i s t   f o r   p r e e m p t i o n   a n d   n o n e   o f   t h e   a b o v e   s c e n a r i o s   a p p l y ,   t h e   s c h e d u l e r   c h o o s e s   a   n o d e   w i t h   t h e   l o w e s t   p r i o r i t y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13118"
  },
  {
    "question": "What is Interactions between Pod priority and quality of service?",
    "answer": "P o d   p r i o r i t y   a n d   Q o S   c l a s s   a r e   t w o   o r t h o g o n a l   f e a t u r e s   w i t h   f e w   i n t e r a c t i o n s   a n d   n o   d e f a u l t   r e s t r i c t i o n s   o n   s e t t i n g   t h e   p r i o r i t y   o f   a   P o d   b a s e d   o n   i t s   Q o S   c l a s s e s .   T h e   s c h e d u l e r ' s   p r e e m p t i o n   l o g i c   d o e s   n o t   c o n s i d e r   Q o S   w h e n   c h o o s i n g   p r e e m p t i o n   t a r g e t s .   P r e e m p t i o n   c o n s i d e r s   P o d   p r i o r i t y   a n d   a t t e m p t s   t o   c h o o s e   a   s e t   o f   t a r g e t s   w i t h   t h e   l o w e s t   p r i o r i t y .   H i g h e r - p r i o r i t y   P o d s   a r e   c o n s i d e r e d   f o r   p r e e m p t i o n   o n l y   i f   t h e   r e m o v a l   o f   t h e   l o w e s t   p r i o r i t y   P o d s   i s   n o t   s u f f i c i e n t   t o   a l l o w   t h e   s c h e d u l e r   t o   s c h e d u l e   t h e   p r e e m p t o r   P o d ,   o r   i f   t h e   l o w e s t   p r i o r i t y   P o d s   a r e   p r o t e c t e d   b y   P o d D i s r u p t i o n B u d g e t .   T h e   k u b e l e t   u s e s   P r i o r i t y   t o   d e t e r m i n e   p o d   o r d e r   f o r   n o d e - p r e s s u r e   e v i c t i o n .   Y o u   c a n   u s e   t h e   Q o S   c l a s s   t o   e s t i m a t e   t h e   o r d e r   i n   w h i c h   p o d s   a r e   m o s t   l i k e l y   t o   g e t   e v i c t e d .   T h e   k u b e l e t   r a n k s   p o d s   f o r   e v i c t i o n   b a s e d   o n   t h e   f o l l o w i n g   f a c t o r s :   W h e t h e r   t h e   s t a r v e d   r e s o u r c e   u s a g e   e x c e e d s   r e q u e s t s P o d   P r i o r i t y A m o u n t   o f   r e s o u r c e   u s a g e   r e l a t i v e   t o   r e q u e s t s   S e e   P o d   s e l e c t i o n   f o r   k u b e l e t   e v i c t i o n   f o r   m o r e   d e t a i l s .   k u ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13119"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   u s i n g   R e s o u r c e Q u o t a s   i n   c o n n e c t i o n   w i t h   P r i o r i t y C l a s s e s :   l i m i t   P r i o r i t y   C l a s s   c o n s u m p t i o n   b y   d e f a u l t L e a r n   a b o u t   P o d   D i s r u p t i o n L e a r n   a b o u t   A P I - i n i t i a t e d   E v i c t i o n L e a r n   a b o u t   N o d e - p r e s s u r e   E v i c t i o n",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13120"
  },
  {
    "question": "What is 10.12 - Node-pressure Eviction?",
    "answer": "N o d e - p r e s s u r e   e v i c t i o n   i s   t h e   p r o c e s s   b y   w h i c h   t h e   k u b e l e t   p r o a c t i v e l y   t e r m i n a t e s   p o d s   t o   r e c l a i m   r e s o u r c e   o n   n o d e s .   T h e   k u b e l e t   m o n i t o r s   r e s o u r c e s   l i k e   m e m o r y ,   d i s k   s p a c e ,   a n d   f i l e s y s t e m   i n o d e s   o n   y o u r   c l u s t e r ' s   n o d e s .   W h e n   o n e   o r   m o r e   o f   t h e s e   r e s o u r c e s   r e a c h   s p e c i f i c   c o n s u m p t i o n   l e v e l s ,   t h e   k u b e l e t   c a n   p r o a c t i v e l y   f a i l   o n e   o r   m o r e   p o d s   o n   t h e   n o d e   t o   r e c l a i m   r e s o u r c e s   a n d   p r e v e n t   s t a r v a t i o n .   D u r i n g   a   n o d e - p r e s s u r e   e v i c t i o n ,   t h e   k u b e l e t   s e t s   t h e   p h a s e   f o r   t h e   s e l e c t e d   p o d s   t o   F a i l e d ,   a n d   t e r m i n a t e s   t h e   P o d .   N o d e - p r e s s u r e   e v i c t i o n   i s   n o t   t h e   s a m e   a s   A P I - i n i t i a t e d   e v i c t i o n .   T h e   k u b e l e t   d o e s   n o t   r e s p e c t   y o u r   c o n f i g u r e d   P o d D i s r u p t i o n B u d g e t   o r   t h e   p o d ' s   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s .   I f   y o u   u s e   s o f t   e v i c t i o n   t h r e s h o l d s ,   t h e   k u b e l e t   r e s p e c t s   y o u r   c o n f i g u r e d   e v i c t i o n - m a x - p o d - g r a c e - p e r i o d .   I f   y o u   u s e   h a r d   e v i c t i o n   t h r e s h o l d s ,   t h e   k u b e l e t   u s e s   a   0 s   g r a c e   p e r i o d   ( i m m e d i a t e   s h u t d o w n )   f o r   t e r m i n a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13121"
  },
  {
    "question": "What is Self healing behavior?",
    "answer": "T h e   k u b e l e t   a t t e m p t s   t o   r e c l a i m   n o d e - l e v e l   r e s o u r c e s   b e f o r e   i t   t e r m i n a t e s   e n d - u s e r   p o d s .   F o r   e x a m p l e ,   i t   r e m o v e s   u n u s e d   c o n t a i n e r   i m a g e s   w h e n   d i s k   r e s o u r c e s   a r e   s t a r v e d .   I f   t h e   p o d s   a r e   m a n a g e d   b y   a   w o r k l o a d   m a n a g e m e n t   o b j e c t   ( s u c h   a s   S t a t e f u l S e t   o r   D e p l o y m e n t )   t h a t   r e p l a c e s   f a i l e d   p o d s ,   t h e   c o n t r o l   p l a n e   ( k u b e - c o n t r o l l e r - m a n a g e r )   c r e a t e s   n e w   p o d s   i n   p l a c e   o f   t h e   e v i c t e d   p o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13122"
  },
  {
    "question": "What is Self healing for static pods?",
    "answer": "I f   y o u   a r e   r u n n i n g   a   s t a t i c   p o d   o n   a   n o d e   t h a t   i s   u n d e r   r e s o u r c e   p r e s s u r e ,   t h e   k u b e l e t   m a y   e v i c t   t h a t   s t a t i c   P o d .   T h e   k u b e l e t   t h e n   t r i e s   t o   c r e a t e   a   r e p l a c e m e n t ,   b e c a u s e   s t a t i c   P o d s   a l w a y s   r e p r e s e n t   a n   i n t e n t   t o   r u n   a   P o d   o n   t h a t   n o d e .   T h e   k u b e l e t   t a k e s   t h e   p r i o r i t y   o f   t h e   s t a t i c   p o d   i n t o   a c c o u n t   w h e n   c r e a t i n g   a   r e p l a c e m e n t .   I f   t h e   s t a t i c   p o d   m a n i f e s t   s p e c i f i e s   a   l o w   p r i o r i t y ,   a n d   t h e r e   a r e   h i g h e r - p r i o r i t y   P o d s   d e f i n e d   w i t h i n   t h e   c l u s t e r ' s   c o n t r o l   p l a n e ,   a n d   t h e   n o d e   i s   u n d e r   r e s o u r c e   p r e s s u r e ,   t h e   k u b e l e t   m a y   n o t   b e   a b l e   t o   m a k e   r o o m   f o r   t h a t   s t a t i c   p o d .   T h e   k u b e l e t   c o n t i n u e s   t o   a t t e m p t   t o   r u n   a l l   s t a t i c   p o d s   e v e n   w h e n   t h e r e   i s   r e s o u r c e   p r e s s u r e   o n   a   n o d e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13123"
  },
  {
    "question": "What is Eviction signals and thresholds?",
    "answer": "T h e   k u b e l e t   u s e s   v a r i o u s   p a r a m e t e r s   t o   m a k e   e v i c t i o n   d e c i s i o n s ,   l i k e   t h e   f o l l o w i n g :   E v i c t i o n   s i g n a l s E v i c t i o n   t h r e s h o l d s M o n i t o r i n g   i n t e r v a l s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13124"
  },
  {
    "question": "What is Eviction signals?",
    "answer": "E v i c t i o n   s i g n a l s   a r e   t h e   c u r r e n t   s t a t e   o f   a   p a r t i c u l a r   r e s o u r c e   a t   a   s p e c i f i c   p o i n t   i n   t i m e .   T h e   k u b e l e t   u s e s   e v i c t i o n   s i g n a l s   t o   m a k e   e v i c t i o n   d e c i s i o n s   b y   c o m p a r i n g   t h e   s i g n a l s   t o   e v i c t i o n   t h r e s h o l d s ,   w h i c h   a r e   t h e   m i n i m u m   a m o u n t   o f   t h e   r e s o u r c e   t h a t   s h o u l d   b e   a v a i l a b l e   o n   t h e   n o d e .   T h e   k u b e l e t   u s e s   t h e   f o l l o w i n g   e v i c t i o n   s i g n a l s :   I n   t h i s   t a b l e ,   t h e   D e s c r i p t i o n   c o l u m n   s h o w s   h o w   k u b e l e t   g e t s   t h e   v a l u e   o f   t h e   s i g n a l .   E a c h   s i g n a l   s u p p o r t s   e i t h e r   a   p e r c e n t a g e   o r   a   l i t e r a l   v a l u e .   T h e   k u b e l e t   c a l c u l a t e s   t h e   p e r c e n t a g e   v a l u e   r e l a t i v e   t o   t h e   t o t a l   c a p a c i t y   a s s o c i a t e d   w i t h   t h e   s i g n a l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13125"
  },
  {
    "question": "What is Memory signals?",
    "answer": "O n   L i n u x   n o d e s ,   t h e   v a l u e   f o r   m e m o r y . a v a i l a b l e   i s   d e r i v e d   f r o m   t h e   c g r o u p f s   i n s t e a d   o f   t o o l s   l i k e   f r e e   - m .   T h i s   i s   i m p o r t a n t   b e c a u s e   f r e e   - m   d o e s   n o t   w o r k   i n   a   c o n t a i n e r ,   a n d   i f   u s e r s   u s e   t h e   n o d e   a l l o c a t a b l e   f e a t u r e ,   o u t   o f   r e s o u r c e   d e c i s i o n s   a r e   m a d e   l o c a l   t o   t h e   e n d   u s e r   P o d   p a r t   o f   t h e   c g r o u p   h i e r a r c h y   a s   w e l l   a s   t h e   r o o t   n o d e .   T h i s   s c r i p t   o r   c g r o u p v 2   s c r i p t   r e p r o d u c e s   t h e   s a m e   s e t   o f   s t e p s   t h a t   t h e   k u b e l e t   p e r f o r m s   t o   c a l c u l a t e   m e m o r y . a v a i l a b l e .   T h e   k u b e l e t   e x c l u d e s   i n a c t i v e _ f i l e   ( t h e   n u m b e r   o f   b y t e s   o f   f i l e - b a c k e d   m e m o r y   o n   t h e   i n a c t i v e   L R U   l i s t )   f r o m   i t s   c a l c u l a t i o n ,   a s   i t   a s s u m e s   t h a t   m e m o r y   i s   r e c l a i m a b l e   u n d e r   p r e s s u r e .   O n   W i n d o w s   n o d e s ,   t h e   v a l u e   f o r   m e m o r y . a v a i l a b l e   i s   d e r i v e d   f r o m   t h e   n o d e ' s   g l o b a l   m e m o r y   c o m m i t   l e v e l s   ( q u e r i e d   t h r o u g h   t h e   G e t P e r f o r m a n c e I n f o ( )   s y s t e m   c a l l )   b y   s u b t r a c t i n g   t h e   n o d e ' s   g l o b a l   C o m m i t T o t a l   f r o m   t h e   n o d e ' s   C o m m i t L i m i t .   P l e a s e   n o t e   t h a t   C o m m i t L i m i t   c a n   c h a n g e   i f   t h e   n o d e ' s   p a g e - f i l e   s i z e   c h a n g e s !",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13126"
  },
  {
    "question": "What is Filesystem signals?",
    "answer": "T h e   k u b e l e t   r e c o g n i z e s   t h r e e   s p e c i f i c   f i l e s y s t e m   i d e n t i f i e r s   t h a t   c a n   b e   u s e d   w i t h   e v i c t i o n   s i g n a l s   ( < i d e n t i f i e r > . i n o d e s F r e e   o r   < i d e n t i f i e r > . a v a i l a b l e ) :   n o d e f s :   T h e   n o d e ' s   m a i n   f i l e s y s t e m ,   u s e d   f o r   l o c a l   d i s k   v o l u m e s ,   e m p t y D i r   v o l u m e s   n o t   b a c k e d   b y   m e m o r y ,   l o g   s t o r a g e ,   e p h e m e r a l   s t o r a g e ,   a n d   m o r e .   F o r   e x a m p l e ,   n o d e f s   c o n t a i n s   / v a r / l i b / k u b e l e t . i m a g e f s :   A n   o p t i o n a l   f i l e s y s t e m   t h a t   c o n t a i n e r   r u n t i m e s   c a n   u s e   t o   s t o r e   c o n t a i n e r   i m a g e s   ( w h i c h   a r e   t h e   r e a d - o n l y   l a y e r s )   a n d   c o n t a i n e r   w r i t a b l e   l a y e r s . c o n t a i n e r f s :   A n   o p t i o n a l   f i l e s y s t e m   t h a t   c o n t a i n e r   r u n t i m e   c a n   u s e   t o   s t o r e   t h e   w r i t e a b l e   l a y e r s .   S i m i l a r   t o   t h e   m a i n   f i l e s y s t e m   ( s e e   n o d e f s ) ,   i t ' s   u s e d   t o   s t o r e   l o c a l   d i s k   v o l u m e s ,   e m p t y D i r   v o l u m e s   n o t   b a c k e d   b y   m e m o r y ,   l o g   s t o r a g e ,   a n d   e p h e m e r a l   s t o r a g e ,   e x c e p t   f o r   t h e   c o n t a i n e r   i m a g e s .   W h e n   c o n t a i n e r f s   i s   u s e d ,   t h e   i m a g e f s   f i l e s y s t e m   c a n   b e   s p l i t   t o   o n l y   s t o r e   i m a g e s   ( r e a d - o n l y   l a y e r s )   a n d   n o t h i n g   e l s e .   n o d e f s :   T h e   n o d e ' s   m a i n   f i l e s y s t e m ,   u s e d   f o r   l o c a l   d i s k   v o l u m e s ,   e m p t y D i r   v o l u m e s   n o t   b a c k e d ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13127"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   s p l i t   i m a g e   f i l e s y s t e m   f e a t u r e ,   w h i c h   e n a b l e s   s u p p o r t   f o r   t h e   c o n t a i n e r f s   f i l e s y s t e m ,   a d d s   s e v e r a l   n e w   e v i c t i o n   s i g n a l s ,   t h r e s h o l d s   a n d   m e t r i c s .   T o   u s e   c o n t a i n e r f s ,   t h e   K u b e r n e t e s   r e l e a s e   v 1 . 3 4   r e q u i r e s   t h e   K u b e l e t S e p a r a t e D i s k G C   f e a t u r e   g a t e   t o   b e   e n a b l e d .   C u r r e n t l y ,   o n l y   C R I - O   ( v 1 . 2 9   o r   h i g h e r )   o f f e r s   t h e   c o n t a i n e r f s   f i l e s y s t e m   s u p p o r t .   A s   s u c h ,   k u b e l e t   g e n e r a l l y   a l l o w s   t h r e e   o p t i o n s   f o r   c o n t a i n e r   f i l e s y s t e m s :   E v e r y t h i n g   i s   o n   t h e   s i n g l e   n o d e f s ,   a l s o   r e f e r r e d   t o   a s   \" r o o t f s \"   o r   s i m p l y   \" r o o t \" ,   a n d   t h e r e   i s   n o   d e d i c a t e d   i m a g e   f i l e s y s t e m . C o n t a i n e r   s t o r a g e   ( s e e   n o d e f s )   i s   o n   a   d e d i c a t e d   d i s k ,   a n d   i m a g e f s   ( w r i t a b l e   a n d   r e a d - o n l y   l a y e r s )   i s   s e p a r a t e   f r o m   t h e   r o o t   f i l e s y s t e m .   T h i s   i s   o f t e n   r e f e r r e d   t o   a s   \" s p l i t   d i s k \"   ( o r   \" s e p a r a t e   d i s k \" )   f i l e s y s t e m . C o n t a i n e r   f i l e s y s t e m   c o n t a i n e r f s   ( s a m e   a s   n o d e f s   p l u s   w r i t a b l e   l a y e r s )   i s   o n   r o o t   a n d   t h e   c o n t a i n e r   i m a g e s   ( r e a d - o n l y   l a y e r s )   a r e   s t o r e d   o n   s e p a r a t e   i m a g e f s .   T h i s   i s   o f t e n   r e f e r r e d   t o   a s   \" s p l i t   i m a g e \"   f i l e s y s t e m .   E v e r y t h i n g   i s   o n   t h e   s i n g l e   n o d ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13128"
  },
  {
    "question": "What is Deprecated kubelet garbage collection features?",
    "answer": "S o m e   k u b e l e t   g a r b a g e   c o l l e c t i o n   f e a t u r e s   a r e   d e p r e c a t e d   i n   f a v o r   o f   e v i c t i o n :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13129"
  },
  {
    "question": "What is Eviction thresholds?",
    "answer": "Y o u   c a n   s p e c i f y   c u s t o m   e v i c t i o n   t h r e s h o l d s   f o r   t h e   k u b e l e t   t o   u s e   w h e n   i t   m a k e s   e v i c t i o n   d e c i s i o n s .   Y o u   c a n   c o n f i g u r e   s o f t   a n d   h a r d   e v i c t i o n   t h r e s h o l d s .   E v i c t i o n   t h r e s h o l d s   h a v e   t h e   f o r m   [ e v i c t i o n - s i g n a l ] [ o p e r a t o r ] [ q u a n t i t y ] ,   w h e r e :   e v i c t i o n - s i g n a l   i s   t h e   e v i c t i o n   s i g n a l   t o   u s e . o p e r a t o r   i s   t h e   r e l a t i o n a l   o p e r a t o r   y o u   w a n t ,   s u c h   a s   <   ( l e s s   t h a n ) . q u a n t i t y   i s   t h e   e v i c t i o n   t h r e s h o l d   a m o u n t ,   s u c h   a s   1 G i .   T h e   v a l u e   o f   q u a n t i t y   m u s t   m a t c h   t h e   q u a n t i t y   r e p r e s e n t a t i o n   u s e d   b y   K u b e r n e t e s .   Y o u   c a n   u s e   e i t h e r   l i t e r a l   v a l u e s   o r   p e r c e n t a g e s   ( % ) .   F o r   e x a m p l e ,   i f   a   n o d e   h a s   1 0 G i B   o f   t o t a l   m e m o r y   a n d   y o u   w a n t   t r i g g e r   e v i c t i o n   i f   t h e   a v a i l a b l e   m e m o r y   f a l l s   b e l o w   1 G i B ,   y o u   c a n   d e f i n e   t h e   e v i c t i o n   t h r e s h o l d   a s   e i t h e r   m e m o r y . a v a i l a b l e < 1 0 %   o r   m e m o r y . a v a i l a b l e < 1 G i   ( y o u   c a n n o t   u s e   b o t h ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13130"
  },
  {
    "question": "What is Soft eviction thresholds?",
    "answer": "A   s o f t   e v i c t i o n   t h r e s h o l d   p a i r s   a n   e v i c t i o n   t h r e s h o l d   w i t h   a   r e q u i r e d   a d m i n i s t r a t o r - s p e c i f i e d   g r a c e   p e r i o d .   T h e   k u b e l e t   d o e s   n o t   e v i c t   p o d s   u n t i l   t h e   g r a c e   p e r i o d   i s   e x c e e d e d .   T h e   k u b e l e t   r e t u r n s   a n   e r r o r   o n   s t a r t u p   i f   y o u   d o   n o t   s p e c i f y   a   g r a c e   p e r i o d .   Y o u   c a n   s p e c i f y   b o t h   a   s o f t   e v i c t i o n   t h r e s h o l d   g r a c e   p e r i o d   a n d   a   m a x i m u m   a l l o w e d   p o d   t e r m i n a t i o n   g r a c e   p e r i o d   f o r   k u b e l e t   t o   u s e   d u r i n g   e v i c t i o n s .   I f   y o u   s p e c i f y   a   m a x i m u m   a l l o w e d   g r a c e   p e r i o d   a n d   t h e   s o f t   e v i c t i o n   t h r e s h o l d   i s   m e t ,   t h e   k u b e l e t   u s e s   t h e   l e s s e r   o f   t h e   t w o   g r a c e   p e r i o d s .   I f   y o u   d o   n o t   s p e c i f y   a   m a x i m u m   a l l o w e d   g r a c e   p e r i o d ,   t h e   k u b e l e t   k i l l s   e v i c t e d   p o d s   i m m e d i a t e l y   w i t h o u t   g r a c e f u l   t e r m i n a t i o n .   Y o u   c a n   u s e   t h e   f o l l o w i n g   f l a g s   t o   c o n f i g u r e   s o f t   e v i c t i o n   t h r e s h o l d s :   e v i c t i o n - s o f t :   A   s e t   o f   e v i c t i o n   t h r e s h o l d s   l i k e   m e m o r y . a v a i l a b l e < 1 . 5 G i   t h a t   c a n   t r i g g e r   p o d   e v i c t i o n   i f   h e l d   o v e r   t h e   s p e c i f i e d   g r a c e   p e r i o d . e v i c t i o n - s o f t - g r a c e - p e r i o d :   A   s e t   o f   e v i c t i o n   g r a c e   p e r i o d s   l i k e   m e m o r y . a v a i l a b l e = 1 m 3 0 s   t h a t   d e f i n e   h o w   l o n g   a   s o f t   e v ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13131"
  },
  {
    "question": "What is Hard eviction thresholds?",
    "answer": "A   h a r d   e v i c t i o n   t h r e s h o l d   h a s   n o   g r a c e   p e r i o d .   W h e n   a   h a r d   e v i c t i o n   t h r e s h o l d   i s   m e t ,   t h e   k u b e l e t   k i l l s   p o d s   i m m e d i a t e l y   w i t h o u t   g r a c e f u l   t e r m i n a t i o n   t o   r e c l a i m   t h e   s t a r v e d   r e s o u r c e .   Y o u   c a n   u s e   t h e   e v i c t i o n - h a r d   f l a g   t o   c o n f i g u r e   a   s e t   o f   h a r d   e v i c t i o n   t h r e s h o l d s   l i k e   m e m o r y . a v a i l a b l e < 1 G i .   T h e   k u b e l e t   h a s   t h e   f o l l o w i n g   d e f a u l t   h a r d   e v i c t i o n   t h r e s h o l d s :   m e m o r y . a v a i l a b l e < 1 0 0 M i   ( L i n u x   n o d e s ) m e m o r y . a v a i l a b l e < 5 0 0 M i   ( W i n d o w s   n o d e s ) n o d e f s . a v a i l a b l e < 1 0 % i m a g e f s . a v a i l a b l e < 1 5 % n o d e f s . i n o d e s F r e e < 5 %   ( L i n u x   n o d e s ) i m a g e f s . i n o d e s F r e e < 5 %   ( L i n u x   n o d e s )   T h e s e   d e f a u l t   v a l u e s   o f   h a r d   e v i c t i o n   t h r e s h o l d s   w i l l   o n l y   b e   s e t   i f   n o n e   o f   t h e   p a r a m e t e r s   i s   c h a n g e d .   I f   y o u   c h a n g e   t h e   v a l u e   o f   a n y   p a r a m e t e r ,   t h e n   t h e   v a l u e s   o f   o t h e r   p a r a m e t e r s   w i l l   n o t   b e   i n h e r i t e d   a s   t h e   d e f a u l t   v a l u e s   a n d   w i l l   b e   s e t   t o   z e r o .   I n   o r d e r   t o   p r o v i d e   c u s t o m   v a l u e s ,   y o u   s h o u l d   p r o v i d e   a l l   t h e   t h r e s h o l d s   r e s p e c t i v e l y .   Y o u   c a n   a l s o   s e t   t h e   k u b e l e t   c o n f i g   M e r g e D e f a u l t E v i c t i o n S e t t i n g s   t o   t r u e   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e .   I f   s e t   t o   t r u ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13132"
  },
  {
    "question": "What is Eviction monitoring interval?",
    "answer": "T h e   k u b e l e t   e v a l u a t e s   e v i c t i o n   t h r e s h o l d s   b a s e d   o n   i t s   c o n f i g u r e d   h o u s e k e e p i n g - i n t e r v a l ,   w h i c h   d e f a u l t s   t o   1 0 s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13133"
  },
  {
    "question": "What is Node conditions?",
    "answer": "T h e   k u b e l e t   r e p o r t s   n o d e   c o n d i t i o n s   t o   r e f l e c t   t h a t   t h e   n o d e   i s   u n d e r   p r e s s u r e   b e c a u s e   h a r d   o r   s o f t   e v i c t i o n   t h r e s h o l d   i s   m e t ,   i n d e p e n d e n t   o f   c o n f i g u r e d   g r a c e   p e r i o d s .   T h e   k u b e l e t   m a p s   e v i c t i o n   s i g n a l s   t o   n o d e   c o n d i t i o n s   a s   f o l l o w s :   T h e   c o n t r o l   p l a n e   a l s o   m a p s   t h e s e   n o d e   c o n d i t i o n s   t o   t a i n t s .   T h e   k u b e l e t   u p d a t e s   t h e   n o d e   c o n d i t i o n s   b a s e d   o n   t h e   c o n f i g u r e d   - - n o d e - s t a t u s - u p d a t e - f r e q u e n c y ,   w h i c h   d e f a u l t s   t o   1 0 s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13134"
  },
  {
    "question": "What is Node condition oscillation?",
    "answer": "I n   s o m e   c a s e s ,   n o d e s   o s c i l l a t e   a b o v e   a n d   b e l o w   s o f t   e v i c t i o n   t h r e s h o l d s   w i t h o u t   h o l d i n g   f o r   t h e   d e f i n e d   g r a c e   p e r i o d s .   T h i s   c a u s e s   t h e   r e p o r t e d   n o d e   c o n d i t i o n   t o   c o n s t a n t l y   s w i t c h   b e t w e e n   t r u e   a n d   f a l s e ,   l e a d i n g   t o   b a d   e v i c t i o n   d e c i s i o n s .   T o   p r o t e c t   a g a i n s t   o s c i l l a t i o n ,   y o u   c a n   u s e   t h e   e v i c t i o n - p r e s s u r e - t r a n s i t i o n - p e r i o d   f l a g ,   w h i c h   c o n t r o l s   h o w   l o n g   t h e   k u b e l e t   m u s t   w a i t   b e f o r e   t r a n s i t i o n i n g   a   n o d e   c o n d i t i o n   t o   a   d i f f e r e n t   s t a t e .   T h e   t r a n s i t i o n   p e r i o d   h a s   a   d e f a u l t   v a l u e   o f   5 m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13135"
  },
  {
    "question": "What is Reclaiming node level resources?",
    "answer": "T h e   k u b e l e t   t r i e s   t o   r e c l a i m   n o d e - l e v e l   r e s o u r c e s   b e f o r e   i t   e v i c t s   e n d - u s e r   p o d s .   W h e n   a   D i s k P r e s s u r e   n o d e   c o n d i t i o n   i s   r e p o r t e d ,   t h e   k u b e l e t   r e c l a i m s   n o d e - l e v e l   r e s o u r c e s   b a s e d   o n   t h e   f i l e s y s t e m s   o n   t h e   n o d e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13136"
  },
  {
    "question": "What is Without imagefs or containerfs?",
    "answer": "I f   t h e   n o d e   o n l y   h a s   a   n o d e f s   f i l e s y s t e m   t h a t   m e e t s   e v i c t i o n   t h r e s h o l d s ,   t h e   k u b e l e t   f r e e s   u p   d i s k   s p a c e   i n   t h e   f o l l o w i n g   o r d e r :   G a r b a g e   c o l l e c t   d e a d   p o d s   a n d   c o n t a i n e r s . D e l e t e   u n u s e d   i m a g e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13137"
  },
  {
    "question": "What is With imagefs?",
    "answer": "I f   t h e   n o d e   h a s   a   d e d i c a t e d   i m a g e f s   f i l e s y s t e m   f o r   c o n t a i n e r   r u n t i m e s   t o   u s e ,   t h e   k u b e l e t   d o e s   t h e   f o l l o w i n g :   I f   t h e   n o d e f s   f i l e s y s t e m   m e e t s   t h e   e v i c t i o n   t h r e s h o l d s ,   t h e   k u b e l e t   g a r b a g e   c o l l e c t s   d e a d   p o d s   a n d   c o n t a i n e r s . I f   t h e   i m a g e f s   f i l e s y s t e m   m e e t s   t h e   e v i c t i o n   t h r e s h o l d s ,   t h e   k u b e l e t   d e l e t e s   a l l   u n u s e d   i m a g e s .   I f   t h e   n o d e f s   f i l e s y s t e m   m e e t s   t h e   e v i c t i o n   t h r e s h o l d s ,   t h e   k u b e l e t   g a r b a g e   c o l l e c t s   d e a d   p o d s   a n d   c o n t a i n e r s .   I f   t h e   i m a g e f s   f i l e s y s t e m   m e e t s   t h e   e v i c t i o n   t h r e s h o l d s ,   t h e   k u b e l e t   d e l e t e s   a l l   u n u s e d   i m a g e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13138"
  },
  {
    "question": "What is With imagefs and containerfs?",
    "answer": "I f   t h e   n o d e   h a s   a   d e d i c a t e d   c o n t a i n e r f s   a l o n g s i d e   t h e   i m a g e f s   f i l e s y s t e m   c o n f i g u r e d   f o r   t h e   c o n t a i n e r   r u n t i m e s   t o   u s e ,   t h e n   k u b e l e t   w i l l   a t t e m p t   t o   r e c l a i m   r e s o u r c e s   a s   f o l l o w s :   I f   t h e   c o n t a i n e r f s   f i l e s y s t e m   m e e t s   t h e   e v i c t i o n   t h r e s h o l d s ,   t h e   k u b e l e t   g a r b a g e   c o l l e c t s   d e a d   p o d s   a n d   c o n t a i n e r s . I f   t h e   i m a g e f s   f i l e s y s t e m   m e e t s   t h e   e v i c t i o n   t h r e s h o l d s ,   t h e   k u b e l e t   d e l e t e s   a l l   u n u s e d   i m a g e s .   I f   t h e   c o n t a i n e r f s   f i l e s y s t e m   m e e t s   t h e   e v i c t i o n   t h r e s h o l d s ,   t h e   k u b e l e t   g a r b a g e   c o l l e c t s   d e a d   p o d s   a n d   c o n t a i n e r s .   I f   t h e   i m a g e f s   f i l e s y s t e m   m e e t s   t h e   e v i c t i o n   t h r e s h o l d s ,   t h e   k u b e l e t   d e l e t e s   a l l   u n u s e d   i m a g e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13139"
  },
  {
    "question": "What is Pod selection for kubelet eviction?",
    "answer": "I f   t h e   k u b e l e t ' s   a t t e m p t s   t o   r e c l a i m   n o d e - l e v e l   r e s o u r c e s   d o n ' t   b r i n g   t h e   e v i c t i o n   s i g n a l   b e l o w   t h e   t h r e s h o l d ,   t h e   k u b e l e t   b e g i n s   t o   e v i c t   e n d - u s e r   p o d s .   T h e   k u b e l e t   u s e s   t h e   f o l l o w i n g   p a r a m e t e r s   t o   d e t e r m i n e   t h e   p o d   e v i c t i o n   o r d e r :   W h e t h e r   t h e   p o d ' s   r e s o u r c e   u s a g e   e x c e e d s   r e q u e s t s P o d   P r i o r i t y T h e   p o d ' s   r e s o u r c e   u s a g e   r e l a t i v e   t o   r e q u e s t s   A s   a   r e s u l t ,   k u b e l e t   r a n k s   a n d   e v i c t s   p o d s   i n   t h e   f o l l o w i n g   o r d e r :   B e s t E f f o r t   o r   B u r s t a b l e   p o d s   w h e r e   t h e   u s a g e   e x c e e d s   r e q u e s t s .   T h e s e   p o d s   a r e   e v i c t e d   b a s e d   o n   t h e i r   P r i o r i t y   a n d   t h e n   b y   h o w   m u c h   t h e i r   u s a g e   l e v e l   e x c e e d s   t h e   r e q u e s t . G u a r a n t e e d   p o d s   a n d   B u r s t a b l e   p o d s   w h e r e   t h e   u s a g e   i s   l e s s   t h a n   r e q u e s t s   a r e   e v i c t e d   l a s t ,   b a s e d   o n   t h e i r   P r i o r i t y .   B e s t E f f o r t   o r   B u r s t a b l e   p o d s   w h e r e   t h e   u s a g e   e x c e e d s   r e q u e s t s .   T h e s e   p o d s   a r e   e v i c t e d   b a s e d   o n   t h e i r   P r i o r i t y   a n d   t h e n   b y   h o w   m u c h   t h e i r   u s a g e   l e v e l   e x c e e d s   t h e   r e q u e s t .   G u a r a n t e e d   p o d s   a n d   B u r s t a b l e   p o d s   w h e r e   t h e   u s a g e   i s   l e s s   t h a n   r e q u e s t s   a r e   e v i c t e d   l a s t ,   b a s e d   o n   t h e i r   P r i o r i t y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13140"
  },
  {
    "question": "What is Note:?",
    "answer": "G u a r a n t e e d   p o d s   a r e   g u a r a n t e e d   o n l y   w h e n   r e q u e s t s   a n d   l i m i t s   a r e   s p e c i f i e d   f o r   a l l   t h e   c o n t a i n e r s   a n d   t h e y   a r e   e q u a l .   T h e s e   p o d s   w i l l   n e v e r   b e   e v i c t e d   b e c a u s e   o f   a n o t h e r   p o d ' s   r e s o u r c e   c o n s u m p t i o n .   I f   a   s y s t e m   d a e m o n   ( s u c h   a s   k u b e l e t   a n d   j o u r n a l d )   i s   c o n s u m i n g   m o r e   r e s o u r c e s   t h a n   w e r e   r e s e r v e d   v i a   s y s t e m - r e s e r v e d   o r   k u b e - r e s e r v e d   a l l o c a t i o n s ,   a n d   t h e   n o d e   o n l y   h a s   G u a r a n t e e d   o r   B u r s t a b l e   p o d s   u s i n g   l e s s   r e s o u r c e s   t h a n   r e q u e s t s   l e f t   o n   i t ,   t h e n   t h e   k u b e l e t   m u s t   c h o o s e   t o   e v i c t   o n e   o f   t h e s e   p o d s   t o   p r e s e r v e   n o d e   s t a b i l i t y   a n d   t o   l i m i t   t h e   i m p a c t   o f   r e s o u r c e   s t a r v a t i o n   o n   o t h e r   p o d s .   I n   t h i s   c a s e ,   i t   w i l l   c h o o s e   t o   e v i c t   p o d s   o f   l o w e s t   P r i o r i t y   f i r s t .   I f   y o u   a r e   r u n n i n g   a   s t a t i c   p o d   a n d   w a n t   t o   a v o i d   h a v i n g   i t   e v i c t e d   u n d e r   r e s o u r c e   p r e s s u r e ,   s e t   t h e   p r i o r i t y   f i e l d   f o r   t h a t   P o d   d i r e c t l y .   S t a t i c   p o d s   d o   n o t   s u p p o r t   t h e   p r i o r i t y C l a s s N a m e   f i e l d .   W h e n   t h e   k u b e l e t   e v i c t s   p o d s   i n   r e s p o n s e   t o   i n o d e   o r   p r o c e s s   I D   s t a r v a t i o n ,   i t   u s e s   t h e   P o d s '   r e l a t i v e   p r i o r i t y   t o   d e t e r m i n e   t h e   e v i c t i o n   o r d e r ,   b e c ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13141"
  },
  {
    "question": "What is Without imagefs or containerfs (nodefs and imagefs use the same filesystem)?",
    "answer": "I f   n o d e f s   t r i g g e r s   e v i c t i o n s ,   t h e   k u b e l e t   s o r t s   p o d s   b a s e d   o n   t h e i r   t o t a l   d i s k   u s a g e   ( l o c a l   v o l u m e s   +   l o g s   a n d   a   w r i t a b l e   l a y e r   o f   a l l   c o n t a i n e r s ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13142"
  },
  {
    "question": "What is With imagefs (nodefs and imagefs filesystems are separate)?",
    "answer": "I f   n o d e f s   t r i g g e r s   e v i c t i o n s ,   t h e   k u b e l e t   s o r t s   p o d s   b a s e d   o n   n o d e f s   u s a g e   ( l o c a l   v o l u m e s   +   l o g s   o f   a l l   c o n t a i n e r s ) . I f   i m a g e f s   t r i g g e r s   e v i c t i o n s ,   t h e   k u b e l e t   s o r t s   p o d s   b a s e d   o n   t h e   w r i t a b l e   l a y e r   u s a g e   o f   a l l   c o n t a i n e r s .   I f   n o d e f s   t r i g g e r s   e v i c t i o n s ,   t h e   k u b e l e t   s o r t s   p o d s   b a s e d   o n   n o d e f s   u s a g e   ( l o c a l   v o l u m e s   +   l o g s   o f   a l l   c o n t a i n e r s ) .   I f   i m a g e f s   t r i g g e r s   e v i c t i o n s ,   t h e   k u b e l e t   s o r t s   p o d s   b a s e d   o n   t h e   w r i t a b l e   l a y e r   u s a g e   o f   a l l   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13143"
  },
  {
    "question": "What is With imagesfs and containerfs (imagefs and containerfs have been split)?",
    "answer": "I f   c o n t a i n e r f s   t r i g g e r s   e v i c t i o n s ,   t h e   k u b e l e t   s o r t s   p o d s   b a s e d   o n   c o n t a i n e r f s   u s a g e   ( l o c a l   v o l u m e s   +   l o g s   a n d   a   w r i t a b l e   l a y e r   o f   a l l   c o n t a i n e r s ) . I f   i m a g e f s   t r i g g e r s   e v i c t i o n s ,   t h e   k u b e l e t   s o r t s   p o d s   b a s e d   o n   t h e   s t o r a g e   o f   i m a g e s   r a n k ,   w h i c h   r e p r e s e n t s   t h e   d i s k   u s a g e   o f   a   g i v e n   i m a g e .   I f   c o n t a i n e r f s   t r i g g e r s   e v i c t i o n s ,   t h e   k u b e l e t   s o r t s   p o d s   b a s e d   o n   c o n t a i n e r f s   u s a g e   ( l o c a l   v o l u m e s   +   l o g s   a n d   a   w r i t a b l e   l a y e r   o f   a l l   c o n t a i n e r s ) .   I f   i m a g e f s   t r i g g e r s   e v i c t i o n s ,   t h e   k u b e l e t   s o r t s   p o d s   b a s e d   o n   t h e   s t o r a g e   o f   i m a g e s   r a n k ,   w h i c h   r e p r e s e n t s   t h e   d i s k   u s a g e   o f   a   g i v e n   i m a g e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13144"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   s o m e   c a s e s ,   p o d   e v i c t i o n   o n l y   r e c l a i m s   a   s m a l l   a m o u n t   o f   t h e   s t a r v e d   r e s o u r c e .   T h i s   c a n   l e a d   t o   t h e   k u b e l e t   r e p e a t e d l y   h i t t i n g   t h e   c o n f i g u r e d   e v i c t i o n   t h r e s h o l d s   a n d   t r i g g e r i n g   m u l t i p l e   e v i c t i o n s .   Y o u   c a n   u s e   t h e   - - e v i c t i o n - m i n i m u m - r e c l a i m   f l a g   o r   a   k u b e l e t   c o n f i g   f i l e   t o   c o n f i g u r e   a   m i n i m u m   r e c l a i m   a m o u n t   f o r   e a c h   r e s o u r c e .   W h e n   t h e   k u b e l e t   n o t i c e s   t h a t   a   r e s o u r c e   i s   s t a r v e d ,   i t   c o n t i n u e s   t o   r e c l a i m   t h a t   r e s o u r c e   u n t i l   i t   r e c l a i m s   t h e   q u a n t i t y   y o u   s p e c i f y .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   c o n f i g u r a t i o n   s e t s   m i n i m u m   r e c l a i m   a m o u n t s :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   e v i c t i o n H a r d :   m e m o r y . a v a i l a b l e :   \" 5 0 0 M i \"   n o d e f s . a v a i l a b l e :   \" 1 G i \"   i m a g e f s . a v a i l a b l e :   \" 1 0 0 G i \"   e v i c t i o n M i n i m u m R e c l a i m :   m e m o r y . a v a i l a b l e :   \" 0 M i \"   n o d e f s . a v a i l a b l e :   \" 5 0 0 M i \"   i m a g e f s . a v a i l a b l e :   \" 2 G i \"   I n   t h i s   e x a m p l e ,   i f   t h e   n o d e f s . a v a i l a b l e   s i g n a l   m e e t s   t h e   e v i c t i o n   t h r e s h o l d ,   t h e   k u b e l e t   r e c l a i m s   t h e   r e s o u r c e   u n t i l   t h e   s i g n a l   r e a c h e s   t h e   t h r e s h o l d   o f   1 G i B ,   a n d   t h e n   c o n t i n u e s   t o   r e c l a i m   t h e   m i n i m u m   a m o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13145"
  },
  {
    "question": "What is Node out of memory behavior?",
    "answer": "I f   t h e   n o d e   e x p e r i e n c e s   a n   o u t   o f   m e m o r y   ( O O M )   e v e n t   p r i o r   t o   t h e   k u b e l e t   b e i n g   a b l e   t o   r e c l a i m   m e m o r y ,   t h e   n o d e   d e p e n d s   o n   t h e   o o m _ k i l l e r   t o   r e s p o n d .   T h e   k u b e l e t   s e t s   a n   o o m _ s c o r e _ a d j   v a l u e   f o r   e a c h   c o n t a i n e r   b a s e d   o n   t h e   Q o S   f o r   t h e   p o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13146"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   t h e   k u b e l e t   c a n ' t   r e c l a i m   m e m o r y   b e f o r e   a   n o d e   e x p e r i e n c e s   O O M ,   t h e   o o m _ k i l l e r   c a l c u l a t e s   a n   o o m _ s c o r e   b a s e d   o n   t h e   p e r c e n t a g e   o f   m e m o r y   i t ' s   u s i n g   o n   t h e   n o d e ,   a n d   t h e n   a d d s   t h e   o o m _ s c o r e _ a d j   t o   g e t   a n   e f f e c t i v e   o o m _ s c o r e   f o r   e a c h   c o n t a i n e r .   I t   t h e n   k i l l s   t h e   c o n t a i n e r   w i t h   t h e   h i g h e s t   s c o r e .   T h i s   m e a n s   t h a t   c o n t a i n e r s   i n   l o w   Q o S   p o d s   t h a t   c o n s u m e   a   l a r g e   a m o u n t   o f   m e m o r y   r e l a t i v e   t o   t h e i r   s c h e d u l i n g   r e q u e s t s   a r e   k i l l e d   f i r s t .   U n l i k e   p o d   e v i c t i o n ,   i f   a   c o n t a i n e r   i s   O O M   k i l l e d ,   t h e   k u b e l e t   c a n   r e s t a r t   i t   b a s e d   o n   i t s   r e s t a r t P o l i c y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13147"
  },
  {
    "question": "What is Good practices?",
    "answer": "T h e   f o l l o w i n g   s e c t i o n s   d e s c r i b e   g o o d   p r a c t i c e   f o r   e v i c t i o n   c o n f i g u r a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13148"
  },
  {
    "question": "What is Schedulable resources and eviction policies?",
    "answer": "W h e n   y o u   c o n f i g u r e   t h e   k u b e l e t   w i t h   a n   e v i c t i o n   p o l i c y ,   y o u   s h o u l d   m a k e   s u r e   t h a t   t h e   s c h e d u l e r   w i l l   n o t   s c h e d u l e   p o d s   i f   t h e y   w i l l   t r i g g e r   e v i c t i o n   b e c a u s e   t h e y   i m m e d i a t e l y   i n d u c e   m e m o r y   p r e s s u r e .   C o n s i d e r   t h e   f o l l o w i n g   s c e n a r i o :   N o d e   m e m o r y   c a p a c i t y :   1 0 G i B O p e r a t o r   w a n t s   t o   r e s e r v e   1 0 %   o f   m e m o r y   c a p a c i t y   f o r   s y s t e m   d a e m o n s   ( k e r n e l ,   k u b e l e t ,   e t c . ) O p e r a t o r   w a n t s   t o   e v i c t   P o d s   a t   9 5 %   m e m o r y   u t i l i z a t i o n   t o   r e d u c e   i n c i d e n c e   o f   s y s t e m   O O M .   F o r   t h i s   t o   w o r k ,   t h e   k u b e l e t   i s   l a u n c h e d   a s   f o l l o w s :   - - e v i c t i o n - h a r d = m e m o r y . a v a i l a b l e < 5 0 0 M i   - - s y s t e m - r e s e r v e d = m e m o r y = 1 . 5 G i   I n   t h i s   c o n f i g u r a t i o n ,   t h e   - - s y s t e m - r e s e r v e d   f l a g   r e s e r v e s   1 . 5 G i B   o f   m e m o r y   f o r   t h e   s y s t e m ,   w h i c h   i s   1 0 %   o f   t h e   t o t a l   m e m o r y   +   t h e   e v i c t i o n   t h r e s h o l d   a m o u n t .   T h e   n o d e   c a n   r e a c h   t h e   e v i c t i o n   t h r e s h o l d   i f   a   p o d   i s   u s i n g   m o r e   t h a n   i t s   r e q u e s t ,   o r   i f   t h e   s y s t e m   i s   u s i n g   m o r e   t h a n   1 G i B   o f   m e m o r y ,   w h i c h   m a k e s   t h e   m e m o r y . a v a i l a b l e   s i g n a l   f a l l   b e l o w   5 0 0 M i B   a n d   t r i g g e r s   t h e   t h r e s h o l d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13149"
  },
  {
    "question": "What is DaemonSets and node-pressure eviction?",
    "answer": "P o d   p r i o r i t y   i s   a   m a j o r   f a c t o r   i n   m a k i n g   e v i c t i o n   d e c i s i o n s .   I f   y o u   d o   n o t   w a n t   t h e   k u b e l e t   t o   e v i c t   p o d s   t h a t   b e l o n g   t o   a   D a e m o n S e t ,   g i v e   t h o s e   p o d s   a   h i g h   e n o u g h   p r i o r i t y   b y   s p e c i f y i n g   a   s u i t a b l e   p r i o r i t y C l a s s N a m e   i n   t h e   p o d   s p e c .   Y o u   c a n   a l s o   u s e   a   l o w e r   p r i o r i t y ,   o r   t h e   d e f a u l t ,   t o   o n l y   a l l o w   p o d s   f r o m   t h a t   D a e m o n S e t   t o   r u n   w h e n   t h e r e   a r e   e n o u g h   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13150"
  },
  {
    "question": "What is Known issues?",
    "answer": "T h e   f o l l o w i n g   s e c t i o n s   d e s c r i b e   k n o w n   i s s u e s   r e l a t e d   t o   o u t   o f   r e s o u r c e   h a n d l i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13151"
  },
  {
    "question": "What is kubelet may not observe memory pressure right away?",
    "answer": "B y   d e f a u l t ,   t h e   k u b e l e t   p o l l s   c A d v i s o r   t o   c o l l e c t   m e m o r y   u s a g e   s t a t s   a t   a   r e g u l a r   i n t e r v a l .   I f   m e m o r y   u s a g e   i n c r e a s e s   w i t h i n   t h a t   w i n d o w   r a p i d l y ,   t h e   k u b e l e t   m a y   n o t   o b s e r v e   M e m o r y P r e s s u r e   f a s t   e n o u g h ,   a n d   t h e   O O M   k i l l e r   w i l l   s t i l l   b e   i n v o k e d .   Y o u   c a n   u s e   t h e   - - k e r n e l - m e m c g - n o t i f i c a t i o n   f l a g   t o   e n a b l e   t h e   m e m c g   n o t i f i c a t i o n   A P I   o n   t h e   k u b e l e t   t o   g e t   n o t i f i e d   i m m e d i a t e l y   w h e n   a   t h r e s h o l d   i s   c r o s s e d .   I f   y o u   a r e   n o t   t r y i n g   t o   a c h i e v e   e x t r e m e   u t i l i z a t i o n ,   b u t   a   s e n s i b l e   m e a s u r e   o f   o v e r c o m m i t ,   a   v i a b l e   w o r k a r o u n d   f o r   t h i s   i s s u e   i s   t o   u s e   t h e   - - k u b e - r e s e r v e d   a n d   - - s y s t e m - r e s e r v e d   f l a g s   t o   a l l o c a t e   m e m o r y   f o r   t h e   s y s t e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13152"
  },
  {
    "question": "What is active_file memory is not considered as available memory?",
    "answer": "O n   L i n u x ,   t h e   k e r n e l   t r a c k s   t h e   n u m b e r   o f   b y t e s   o f   f i l e - b a c k e d   m e m o r y   o n   a c t i v e   l e a s t   r e c e n t l y   u s e d   ( L R U )   l i s t   a s   t h e   a c t i v e _ f i l e   s t a t i s t i c .   T h e   k u b e l e t   t r e a t s   a c t i v e _ f i l e   m e m o r y   a r e a s   a s   n o t   r e c l a i m a b l e .   F o r   w o r k l o a d s   t h a t   m a k e   i n t e n s i v e   u s e   o f   b l o c k - b a c k e d   l o c a l   s t o r a g e ,   i n c l u d i n g   e p h e m e r a l   l o c a l   s t o r a g e ,   k e r n e l - l e v e l   c a c h e s   o f   f i l e   a n d   b l o c k   d a t a   m e a n s   t h a t   m a n y   r e c e n t l y   a c c e s s e d   c a c h e   p a g e s   a r e   l i k e l y   t o   b e   c o u n t e d   a s   a c t i v e _ f i l e .   I f   e n o u g h   o f   t h e s e   k e r n e l   b l o c k   b u f f e r s   a r e   o n   t h e   a c t i v e   L R U   l i s t ,   t h e   k u b e l e t   i s   l i a b l e   t o   o b s e r v e   t h i s   a s   h i g h   r e s o u r c e   u s e   a n d   t a i n t   t h e   n o d e   a s   e x p e r i e n c i n g   m e m o r y   p r e s s u r e   -   t r i g g e r i n g   p o d   e v i c t i o n .   F o r   m o r e   d e t a i l s ,   s e e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k u b e r n e t e s / i s s u e s / 4 3 9 1 6   Y o u   c a n   w o r k   a r o u n d   t h a t   b e h a v i o r   b y   s e t t i n g   t h e   m e m o r y   l i m i t   a n d   m e m o r y   r e q u e s t   t h e   s a m e   f o r   c o n t a i n e r s   l i k e l y   t o   p e r f o r m   i n t e n s i v e   I / O   a c t i v i t y .   Y o u   w i l l   n e e d   t o   e s t i m a t e   o r   m e a s u r e   a n   o p t i m a l   m e m o r y   l i m i t   v a l u e   f o r   t h a t   c o n t a i n e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13153"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   A P I - i n i t i a t e d   E v i c t i o n L e a r n   a b o u t   P o d   P r i o r i t y   a n d   P r e e m p t i o n L e a r n   a b o u t   P o d D i s r u p t i o n B u d g e t s L e a r n   a b o u t   Q u a l i t y   o f   S e r v i c e   ( Q o S ) C h e c k   o u t   t h e   E v i c t i o n   A P I",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13154"
  },
  {
    "question": "What is 10.13 - API-initiated Eviction?",
    "answer": "A P I - i n i t i a t e d   e v i c t i o n   i s   t h e   p r o c e s s   b y   w h i c h   y o u   u s e   t h e   E v i c t i o n   A P I   t o   c r e a t e   a n   E v i c t i o n   o b j e c t   t h a t   t r i g g e r s   g r a c e f u l   p o d   t e r m i n a t i o n .   Y o u   c a n   r e q u e s t   e v i c t i o n   b y   c a l l i n g   t h e   E v i c t i o n   A P I   d i r e c t l y ,   o r   p r o g r a m m a t i c a l l y   u s i n g   a   c l i e n t   o f   t h e   A P I   s e r v e r ,   l i k e   t h e   k u b e c t l   d r a i n   c o m m a n d .   T h i s   c r e a t e s   a n   E v i c t i o n   o b j e c t ,   w h i c h   c a u s e s   t h e   A P I   s e r v e r   t o   t e r m i n a t e   t h e   P o d .   A P I - i n i t i a t e d   e v i c t i o n s   r e s p e c t   y o u r   c o n f i g u r e d   P o d D i s r u p t i o n B u d g e t s   a n d   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s .   U s i n g   t h e   A P I   t o   c r e a t e   a n   E v i c t i o n   o b j e c t   f o r   a   P o d   i s   l i k e   p e r f o r m i n g   a   p o l i c y - c o n t r o l l e d   D E L E T E   o p e r a t i o n   o n   t h e   P o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13155"
  },
  {
    "question": "What is Calling the Eviction API?",
    "answer": "Y o u   c a n   u s e   a   K u b e r n e t e s   l a n g u a g e   c l i e n t   t o   a c c e s s   t h e   K u b e r n e t e s   A P I   a n d   c r e a t e   a n   E v i c t i o n   o b j e c t .   T o   d o   t h i s ,   y o u   P O S T   t h e   a t t e m p t e d   o p e r a t i o n ,   s i m i l a r   t o   t h e   f o l l o w i n g   e x a m p l e :   N o t e : p o l i c y / v 1   E v i c t i o n   i s   a v a i l a b l e   i n   v 1 . 2 2 + .   U s e   p o l i c y / v 1 b e t a 1   w i t h   p r i o r   r e l e a s e s . {   \" a p i V e r s i o n \" :   \" p o l i c y / v 1 \" ,   \" k i n d \" :   \" E v i c t i o n \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" q u u x \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \"   }   }",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13156"
  },
  {
    "question": "What is Note:?",
    "answer": "{   \" a p i V e r s i o n \" :   \" p o l i c y / v 1 \" ,   \" k i n d \" :   \" E v i c t i o n \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" q u u x \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \"   }   }   N o t e : D e p r e c a t e d   i n   v 1 . 2 2   i n   f a v o r   o f   p o l i c y / v 1 {   \" a p i V e r s i o n \" :   \" p o l i c y / v 1 b e t a 1 \" ,   \" k i n d \" :   \" E v i c t i o n \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" q u u x \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \"   }   }",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13157"
  },
  {
    "question": "What is Note:?",
    "answer": "{   \" a p i V e r s i o n \" :   \" p o l i c y / v 1 b e t a 1 \" ,   \" k i n d \" :   \" E v i c t i o n \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" q u u x \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \"   }   }   A l t e r n a t i v e l y ,   y o u   c a n   a t t e m p t   a n   e v i c t i o n   o p e r a t i o n   b y   a c c e s s i n g   t h e   A P I   u s i n g   c u r l   o r   w g e t ,   s i m i l a r   t o   t h e   f o l l o w i n g   e x a m p l e :   c u r l   - v   - H   ' C o n t e n t - t y p e :   a p p l i c a t i o n / j s o n '   h t t p s : / / y o u r - c l u s t e r - a p i - e n d p o i n t . e x a m p l e / a p i / v 1 / n a m e s p a c e s / d e f a u l t / p o d s / q u u x / e v i c t i o n   - d   @ e v i c t i o n . j s o n",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13158"
  },
  {
    "question": "What is How API-initiated eviction works?",
    "answer": "W h e n   y o u   r e q u e s t   a n   e v i c t i o n   u s i n g   t h e   A P I ,   t h e   A P I   s e r v e r   p e r f o r m s   a d m i s s i o n   c h e c k s   a n d   r e s p o n d s   i n   o n e   o f   t h e   f o l l o w i n g   w a y s :   2 0 0   O K :   t h e   e v i c t i o n   i s   a l l o w e d ,   t h e   E v i c t i o n   s u b r e s o u r c e   i s   c r e a t e d ,   a n d   t h e   P o d   i s   d e l e t e d ,   s i m i l a r   t o   s e n d i n g   a   D E L E T E   r e q u e s t   t o   t h e   P o d   U R L . 4 2 9   T o o   M a n y   R e q u e s t s :   t h e   e v i c t i o n   i s   n o t   c u r r e n t l y   a l l o w e d   b e c a u s e   o f   t h e   c o n f i g u r e d   P o d D i s r u p t i o n B u d g e t .   Y o u   m a y   b e   a b l e   t o   a t t e m p t   t h e   e v i c t i o n   a g a i n   l a t e r .   Y o u   m i g h t   a l s o   s e e   t h i s   r e s p o n s e   b e c a u s e   o f   A P I   r a t e   l i m i t i n g . 5 0 0   I n t e r n a l   S e r v e r   E r r o r :   t h e   e v i c t i o n   i s   n o t   a l l o w e d   b e c a u s e   t h e r e   i s   a   m i s c o n f i g u r a t i o n ,   l i k e   i f   m u l t i p l e   P o d D i s r u p t i o n B u d g e t s   r e f e r e n c e   t h e   s a m e   P o d .   I f   t h e   P o d   y o u   w a n t   t o   e v i c t   i s n ' t   p a r t   o f   a   w o r k l o a d   t h a t   h a s   a   P o d D i s r u p t i o n B u d g e t ,   t h e   A P I   s e r v e r   a l w a y s   r e t u r n s   2 0 0   O K   a n d   a l l o w s   t h e   e v i c t i o n .   I f   t h e   A P I   s e r v e r   a l l o w s   t h e   e v i c t i o n ,   t h e   P o d   i s   d e l e t e d   a s   f o l l o w s :   T h e   P o d   r e s o u r c e   i n   t h e   A P I   s e r v e r   i s   u p d a t e d   w i t h   a   d e l e t i o n   t i m e s t a m p ,   a f t e r   w h i c h   t h e   A P I   s e r v e r   c o n s i d e r s   t h e   P o d   r e s o u r c e   t o   b e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13159"
  },
  {
    "question": "What is Troubleshooting stuck evictions?",
    "answer": "I n   s o m e   c a s e s ,   y o u r   a p p l i c a t i o n s   m a y   e n t e r   a   b r o k e n   s t a t e ,   w h e r e   t h e   E v i c t i o n   A P I   w i l l   o n l y   r e t u r n   4 2 9   o r   5 0 0   r e s p o n s e s   u n t i l   y o u   i n t e r v e n e .   T h i s   c a n   h a p p e n   i f ,   f o r   e x a m p l e ,   a   R e p l i c a S e t   c r e a t e s   p o d s   f o r   y o u r   a p p l i c a t i o n   b u t   n e w   p o d s   d o   n o t   e n t e r   a   R e a d y   s t a t e .   Y o u   m a y   a l s o   n o t i c e   t h i s   b e h a v i o r   i n   c a s e s   w h e r e   t h e   l a s t   e v i c t e d   P o d   h a d   a   l o n g   t e r m i n a t i o n   g r a c e   p e r i o d .   I f   y o u   n o t i c e   s t u c k   e v i c t i o n s ,   t r y   o n e   o f   t h e   f o l l o w i n g   s o l u t i o n s :   A b o r t   o r   p a u s e   t h e   a u t o m a t e d   o p e r a t i o n   c a u s i n g   t h e   i s s u e .   I n v e s t i g a t e   t h e   s t u c k   a p p l i c a t i o n   b e f o r e   y o u   r e s t a r t   t h e   o p e r a t i o n . W a i t   a   w h i l e ,   t h e n   d i r e c t l y   d e l e t e   t h e   P o d   f r o m   y o u r   c l u s t e r   c o n t r o l   p l a n e   i n s t e a d   o f   u s i n g   t h e   E v i c t i o n   A P I .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13160"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   p r o t e c t   y o u r   a p p l i c a t i o n s   w i t h   a   P o d   D i s r u p t i o n   B u d g e t . L e a r n   a b o u t   N o d e - p r e s s u r e   E v i c t i o n . L e a r n   a b o u t   P o d   P r i o r i t y   a n d   P r e e m p t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13161"
  },
  {
    "question": "What is 11 - Cluster Administration?",
    "answer": "T h e   c l u s t e r   a d m i n i s t r a t i o n   o v e r v i e w   i s   f o r   a n y o n e   c r e a t i n g   o r   a d m i n i s t e r i n g   a   K u b e r n e t e s   c l u s t e r .   I t   a s s u m e s   s o m e   f a m i l i a r i t y   w i t h   c o r e   K u b e r n e t e s   c o n c e p t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13162"
  },
  {
    "question": "What is Planning a cluster?",
    "answer": "S e e   t h e   g u i d e s   i n   S e t u p   f o r   e x a m p l e s   o f   h o w   t o   p l a n ,   s e t   u p ,   a n d   c o n f i g u r e   K u b e r n e t e s   c l u s t e r s .   T h e   s o l u t i o n s   l i s t e d   i n   t h i s   a r t i c l e   a r e   c a l l e d   d i s t r o s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13163"
  },
  {
    "question": "What is Note:?",
    "answer": "B e f o r e   c h o o s i n g   a   g u i d e ,   h e r e   a r e   s o m e   c o n s i d e r a t i o n s :   D o   y o u   w a n t   t o   t r y   o u t   K u b e r n e t e s   o n   y o u r   c o m p u t e r ,   o r   d o   y o u   w a n t   t o   b u i l d   a   h i g h - a v a i l a b i l i t y ,   m u l t i - n o d e   c l u s t e r ?   C h o o s e   d i s t r o s   b e s t   s u i t e d   f o r   y o u r   n e e d s . W i l l   y o u   b e   u s i n g   a   h o s t e d   K u b e r n e t e s   c l u s t e r ,   s u c h   a s   G o o g l e   K u b e r n e t e s   E n g i n e ,   o r   h o s t i n g   y o u r   o w n   c l u s t e r ? W i l l   y o u r   c l u s t e r   b e   o n - p r e m i s e s ,   o r   i n   t h e   c l o u d   ( I a a S ) ?   K u b e r n e t e s   d o e s   n o t   d i r e c t l y   s u p p o r t   h y b r i d   c l u s t e r s .   I n s t e a d ,   y o u   c a n   s e t   u p   m u l t i p l e   c l u s t e r s . I f   y o u   a r e   c o n f i g u r i n g   K u b e r n e t e s   o n - p r e m i s e s ,   c o n s i d e r   w h i c h   n e t w o r k i n g   m o d e l   f i t s   b e s t . W i l l   y o u   b e   r u n n i n g   K u b e r n e t e s   o n   \" b a r e   m e t a l \"   h a r d w a r e   o r   o n   v i r t u a l   m a c h i n e s   ( V M s ) ? D o   y o u   w a n t   t o   r u n   a   c l u s t e r ,   o r   d o   y o u   e x p e c t   t o   d o   a c t i v e   d e v e l o p m e n t   o f   K u b e r n e t e s   p r o j e c t   c o d e ?   I f   t h e   l a t t e r ,   c h o o s e   a n   a c t i v e l y - d e v e l o p e d   d i s t r o .   S o m e   d i s t r o s   o n l y   u s e   b i n a r y   r e l e a s e s ,   b u t   o f f e r   a   g r e a t e r   v a r i e t y   o f   c h o i c e s . F a m i l i a r i z e   y o u r s e l f   w i t h   t h e   c o m p o n e n t s   n e e d e d   t o   r u n   a   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13164"
  },
  {
    "question": "What is Managing a cluster?",
    "answer": "L e a r n   h o w   t o   m a n a g e   n o d e s . R e a d   a b o u t   N o d e   a u t o s c a l i n g . L e a r n   h o w   t o   s e t   u p   a n d   m a n a g e   t h e   r e s o u r c e   q u o t a   f o r   s h a r e d   c l u s t e r s .   L e a r n   h o w   t o   m a n a g e   n o d e s .   R e a d   a b o u t   N o d e   a u t o s c a l i n g .   L e a r n   h o w   t o   s e t   u p   a n d   m a n a g e   t h e   r e s o u r c e   q u o t a   f o r   s h a r e d   c l u s t e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13165"
  },
  {
    "question": "What is Securing a cluster?",
    "answer": "G e n e r a t e   C e r t i f i c a t e s   d e s c r i b e s   t h e   s t e p s   t o   g e n e r a t e   c e r t i f i c a t e s   u s i n g   d i f f e r e n t   t o o l   c h a i n s . K u b e r n e t e s   C o n t a i n e r   E n v i r o n m e n t   d e s c r i b e s   t h e   e n v i r o n m e n t   f o r   K u b e l e t   m a n a g e d   c o n t a i n e r s   o n   a   K u b e r n e t e s   n o d e . C o n t r o l l i n g   A c c e s s   t o   t h e   K u b e r n e t e s   A P I   d e s c r i b e s   h o w   K u b e r n e t e s   i m p l e m e n t s   a c c e s s   c o n t r o l   f o r   i t s   o w n   A P I . A u t h e n t i c a t i n g   e x p l a i n s   a u t h e n t i c a t i o n   i n   K u b e r n e t e s ,   i n c l u d i n g   t h e   v a r i o u s   a u t h e n t i c a t i o n   o p t i o n s . A u t h o r i z a t i o n   i s   s e p a r a t e   f r o m   a u t h e n t i c a t i o n ,   a n d   c o n t r o l s   h o w   H T T P   c a l l s   a r e   h a n d l e d . U s i n g   A d m i s s i o n   C o n t r o l l e r s   e x p l a i n s   p l u g - i n s   w h i c h   i n t e r c e p t s   r e q u e s t s   t o   t h e   K u b e r n e t e s   A P I   s e r v e r   a f t e r   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n . A d m i s s i o n   W e b h o o k   G o o d   P r a c t i c e s   p r o v i d e s   g o o d   p r a c t i c e s   a n d   c o n s i d e r a t i o n s   w h e n   d e s i g n i n g   m u t a t i n g   a d m i s s i o n   w e b h o o k s   a n d   v a l i d a t i n g   a d m i s s i o n   w e b h o o k s . U s i n g   S y s c t l s   i n   a   K u b e r n e t e s   C l u s t e r   d e s c r i b e s   t o   a n   a d m i n i s t r a t o r   h o w   t o   u s e   t h e   s y s c t l   c o m m a n d - l i n e   t o o l   t o   s e t   k e r n e l   p a r a m e t e r s   . A u d i t i n g   d e s c r i b e s   h o w   t o   i n t e r a c t   w i t h   K u b e r n e t e s '   a u d i t   l o g s .   G e n e r a t e   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13166"
  },
  {
    "question": "What is Securing the kubelet?",
    "answer": "C o n t r o l   P l a n e - N o d e   c o m m u n i c a t i o n T L S   b o o t s t r a p p i n g K u b e l e t   a u t h e n t i c a t i o n / a u t h o r i z a t i o n",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13167"
  },
  {
    "question": "What is Optional Cluster Services?",
    "answer": "D N S   I n t e g r a t i o n   d e s c r i b e s   h o w   t o   r e s o l v e   a   D N S   n a m e   d i r e c t l y   t o   a   K u b e r n e t e s   s e r v i c e . L o g g i n g   a n d   M o n i t o r i n g   C l u s t e r   A c t i v i t y   e x p l a i n s   h o w   l o g g i n g   i n   K u b e r n e t e s   w o r k s   a n d   h o w   t o   i m p l e m e n t   i t .   D N S   I n t e g r a t i o n   d e s c r i b e s   h o w   t o   r e s o l v e   a   D N S   n a m e   d i r e c t l y   t o   a   K u b e r n e t e s   s e r v i c e .   L o g g i n g   a n d   M o n i t o r i n g   C l u s t e r   A c t i v i t y   e x p l a i n s   h o w   l o g g i n g   i n   K u b e r n e t e s   w o r k s   a n d   h o w   t o   i m p l e m e n t   i t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13168"
  },
  {
    "question": "What is 11.1 - Node Shutdowns?",
    "answer": "I n   a   K u b e r n e t e s   c l u s t e r ,   a   n o d e   c a n   b e   s h u t   d o w n   i n   a   p l a n n e d   g r a c e f u l   w a y   o r   u n e x p e c t e d l y   b e c a u s e   o f   r e a s o n s   s u c h   a s   a   p o w e r   o u t a g e   o r   s o m e t h i n g   e l s e   e x t e r n a l .   A   n o d e   s h u t d o w n   c o u l d   l e a d   t o   w o r k l o a d   f a i l u r e   i f   t h e   n o d e   i s   n o t   d r a i n e d   b e f o r e   t h e   s h u t d o w n .   A   n o d e   s h u t d o w n   c a n   b e   e i t h e r   g r a c e f u l   o r   n o n - g r a c e f u l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13169"
  },
  {
    "question": "What is Graceful node shutdown?",
    "answer": "T h e   k u b e l e t   a t t e m p t s   t o   d e t e c t   n o d e   s y s t e m   s h u t d o w n   a n d   t e r m i n a t e s   p o d s   r u n n i n g   o n   t h e   n o d e .   K u b e l e t   e n s u r e s   t h a t   p o d s   f o l l o w   t h e   n o r m a l   p o d   t e r m i n a t i o n   p r o c e s s   d u r i n g   t h e   n o d e   s h u t d o w n .   D u r i n g   n o d e   s h u t d o w n ,   t h e   k u b e l e t   d o e s   n o t   a c c e p t   n e w   P o d s   ( e v e n   i f   t h o s e   P o d s   a r e   a l r e a d y   b o u n d   t o   t h e   n o d e ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13170"
  },
  {
    "question": "What is Enabling graceful node shutdown?",
    "answer": "F E A T U R E   S T A T E :   K u b e r n e t e s   v 1 . 2 1   [ b e t a ]   ( e n a b l e d   b y   d e f a u l t :   t r u e ) O n   L i n u x ,   t h e   g r a c e f u l   n o d e   s h u t d o w n   f e a t u r e   i s   c o n t r o l l e d   w i t h   t h e   G r a c e f u l N o d e S h u t d o w n   f e a t u r e   g a t e   w h i c h   i s   e n a b l e d   b y   d e f a u l t   i n   1 . 2 1 . N o t e : T h e   g r a c e f u l   n o d e   s h u t d o w n   f e a t u r e   d e p e n d s   o n   s y s t e m d   s i n c e   i t   t a k e s   a d v a n t a g e   o f   s y s t e m d   i n h i b i t o r   l o c k s   t o   d e l a y   t h e   n o d e   s h u t d o w n   w i t h   a   g i v e n   d u r a t i o n .   O n   L i n u x ,   t h e   g r a c e f u l   n o d e   s h u t d o w n   f e a t u r e   i s   c o n t r o l l e d   w i t h   t h e   G r a c e f u l N o d e S h u t d o w n   f e a t u r e   g a t e   w h i c h   i s   e n a b l e d   b y   d e f a u l t   i n   1 . 2 1 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13171"
  },
  {
    "question": "What is Note:?",
    "answer": "F E A T U R E   S T A T E :   K u b e r n e t e s   v 1 . 3 4   [ b e t a ]   ( e n a b l e d   b y   d e f a u l t :   t r u e ) O n   W i n d o w s ,   t h e   g r a c e f u l   n o d e   s h u t d o w n   f e a t u r e   i s   c o n t r o l l e d   w i t h   t h e   W i n d o w s G r a c e f u l N o d e S h u t d o w n   f e a t u r e   g a t e   w h i c h   i s   i n t r o d u c e d   i n   1 . 3 2   a s   a n   a l p h a   f e a t u r e .   I n   K u b e r n e t e s   1 . 3 4   t h e   f e a t u r e   i s   B e t a   a n d   i s   e n a b l e d   b y   d e f a u l t . N o t e : T h e   W i n d o w s   g r a c e f u l   n o d e   s h u t d o w n   f e a t u r e   d e p e n d s   o n   k u b e l e t   r u n n i n g   a s   a   W i n d o w s   s e r v i c e ,   i t   w i l l   t h e n   h a v e   a   r e g i s t e r e d   s e r v i c e   c o n t r o l   h a n d l e r   t o   d e l a y   t h e   p r e s h u t d o w n   e v e n t   w i t h   a   g i v e n   d u r a t i o n . W i n d o w s   g r a c e f u l   n o d e   s h u t d o w n   c a n   n o t   b e   c a n c e l l e d . I f   k u b e l e t   i s   n o t   r u n n i n g   a s   a   W i n d o w s   s e r v i c e ,   i t   w i l l   n o t   b e   a b l e   t o   s e t   a n d   m o n i t o r   t h e   P r e s h u t d o w n   e v e n t ,   t h e   n o d e   w i l l   h a v e   t o   g o   t h r o u g h   t h e   N o n - G r a c e f u l   N o d e   S h u t d o w n   p r o c e d u r e   m e n t i o n e d   a b o v e . I n   t h e   c a s e   w h e r e   t h e   W i n d o w s   g r a c e f u l   n o d e   s h u t d o w n   f e a t u r e   i s   e n a b l e d ,   b u t   t h e   k u b e l e t   i s   n o t   r u n n i n g   a s   a   W i n d o w s   s e r v i c e ,   t h e   k u b e l e t   w i l l   c o n t i n u e   r u n n i n g   i n s t e a d   o f   f a i l i n g .   H o w e v e r ,   i t   w i l l   l o g   a n   e r r o r   i n d i c a t i n g   t h a t   i t   n e e d s   t o   b e   r u n   a s   a   W i n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13172"
  },
  {
    "question": "What is Note:?",
    "answer": "W i n d o w s   g r a c e f u l   n o d e   s h u t d o w n   c a n   n o t   b e   c a n c e l l e d .   I f   k u b e l e t   i s   n o t   r u n n i n g   a s   a   W i n d o w s   s e r v i c e ,   i t   w i l l   n o t   b e   a b l e   t o   s e t   a n d   m o n i t o r   t h e   P r e s h u t d o w n   e v e n t ,   t h e   n o d e   w i l l   h a v e   t o   g o   t h r o u g h   t h e   N o n - G r a c e f u l   N o d e   S h u t d o w n   p r o c e d u r e   m e n t i o n e d   a b o v e .   I n   t h e   c a s e   w h e r e   t h e   W i n d o w s   g r a c e f u l   n o d e   s h u t d o w n   f e a t u r e   i s   e n a b l e d ,   b u t   t h e   k u b e l e t   i s   n o t   r u n n i n g   a s   a   W i n d o w s   s e r v i c e ,   t h e   k u b e l e t   w i l l   c o n t i n u e   r u n n i n g   i n s t e a d   o f   f a i l i n g .   H o w e v e r ,   i t   w i l l   l o g   a n   e r r o r   i n d i c a t i n g   t h a t   i t   n e e d s   t o   b e   r u n   a s   a   W i n d o w s   s e r v i c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13173"
  },
  {
    "question": "What is Configuring graceful node shutdown?",
    "answer": "N o t e   t h a t   b y   d e f a u l t ,   b o t h   c o n f i g u r a t i o n   o p t i o n s   d e s c r i b e d   b e l o w ,   s h u t d o w n G r a c e P e r i o d   a n d   s h u t d o w n G r a c e P e r i o d C r i t i c a l P o d s ,   a r e   s e t   t o   z e r o ,   t h u s   n o t   a c t i v a t i n g   t h e   g r a c e f u l   n o d e   s h u t d o w n   f u n c t i o n a l i t y .   T o   a c t i v a t e   t h e   f e a t u r e ,   b o t h   o p t i o n s   s h o u l d   b e   c o n f i g u r e d   a p p r o p r i a t e l y   a n d   s e t   t o   n o n - z e r o   v a l u e s .   O n c e   t h e   k u b e l e t   i s   n o t i f i e d   o f   a   n o d e   s h u t d o w n ,   i t   s e t s   a   N o t R e a d y   c o n d i t i o n   o n   t h e   N o d e ,   w i t h   t h e   r e a s o n   s e t   t o   \" n o d e   i s   s h u t t i n g   d o w n \" .   T h e   k u b e - s c h e d u l e r   h o n o r s   t h i s   c o n d i t i o n   a n d   d o e s   n o t   s c h e d u l e   a n y   P o d s   o n t o   t h e   a f f e c t e d   n o d e ;   o t h e r   t h i r d - p a r t y   s c h e d u l e r s   a r e   e x p e c t e d   t o   f o l l o w   t h e   s a m e   l o g i c .   T h i s   m e a n s   t h a t   n e w   P o d s   w o n ' t   b e   s c h e d u l e d   o n t o   t h a t   n o d e   a n d   t h e r e f o r e   n o n e   w i l l   s t a r t .   T h e   k u b e l e t   a l s o   r e j e c t s   P o d s   d u r i n g   t h e   P o d A d m i s s i o n   p h a s e   i f   a n   o n g o i n g   n o d e   s h u t d o w n   h a s   b e e n   d e t e c t e d ,   s o   t h a t   e v e n   P o d s   w i t h   a   t o l e r a t i o n   f o r   n o d e . k u b e r n e t e s . i o / n o t - r e a d y : N o S c h e d u l e   d o   n o t   s t a r t   t h e r e .   W h e n   k u b e l e t   i s   s e t t i n g   t h a t   c o n d i t i o n   o n   i t s   N o d e   v i a   t h e   A P I ,   t h e   k u b e l e t   a l s o   b e g i n s   t e r m i n a t i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13174"
  },
  {
    "question": "What is Note:?",
    "answer": "F o r   e x a m p l e ,   i f   s h u t d o w n G r a c e P e r i o d = 3 0 s ,   a n d   s h u t d o w n G r a c e P e r i o d C r i t i c a l P o d s = 1 0 s ,   k u b e l e t   w i l l   d e l a y   t h e   n o d e   s h u t d o w n   b y   3 0   s e c o n d s .   D u r i n g   t h e   s h u t d o w n ,   t h e   f i r s t   2 0   ( 3 0 - 1 0 )   s e c o n d s   w o u l d   b e   r e s e r v e d   f o r   g r a c e f u l l y   t e r m i n a t i n g   n o r m a l   p o d s ,   a n d   t h e   l a s t   1 0   s e c o n d s   w o u l d   b e   r e s e r v e d   f o r   t e r m i n a t i n g   c r i t i c a l   p o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13175"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   p o d s   w e r e   e v i c t e d   d u r i n g   t h e   g r a c e f u l   n o d e   s h u t d o w n ,   t h e y   a r e   m a r k e d   a s   s h u t d o w n .   R u n n i n g   k u b e c t l   g e t   p o d s   s h o w s   t h e   s t a t u s   o f   t h e   e v i c t e d   p o d s   a s   T e r m i n a t e d .   A n d   k u b e c t l   d e s c r i b e   p o d   i n d i c a t e s   t h a t   t h e   p o d   w a s   e v i c t e d   b e c a u s e   o f   n o d e   s h u t d o w n :   R e a s o n :   T e r m i n a t e d   M e s s a g e :   P o d   w a s   t e r m i n a t e d   i n   r e s p o n s e   t o   i m m i n e n t   n o d e   s h u t d o w n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13176"
  },
  {
    "question": "What is Pod Priority based graceful node shutdown?",
    "answer": "T o   p r o v i d e   m o r e   f l e x i b i l i t y   d u r i n g   g r a c e f u l   n o d e   s h u t d o w n   a r o u n d   t h e   o r d e r i n g   o f   p o d s   d u r i n g   s h u t d o w n ,   g r a c e f u l   n o d e   s h u t d o w n   h o n o r s   t h e   P r i o r i t y C l a s s   f o r   P o d s ,   p r o v i d e d   t h a t   y o u   e n a b l e d   t h i s   f e a t u r e   i n   y o u r   c l u s t e r .   T h e   f e a t u r e   a l l o w s   c l u s t e r   a d m i n i s t r a t o r s   t o   e x p l i c i t l y   d e f i n e   t h e   o r d e r i n g   o f   p o d s   d u r i n g   g r a c e f u l   n o d e   s h u t d o w n   b a s e d   o n   p r i o r i t y   c l a s s e s .   T h e   G r a c e f u l   N o d e   S h u t d o w n   f e a t u r e ,   a s   d e s c r i b e d   a b o v e ,   s h u t s   d o w n   p o d s   i n   t w o   p h a s e s ,   n o n - c r i t i c a l   p o d s ,   f o l l o w e d   b y   c r i t i c a l   p o d s .   I f   a d d i t i o n a l   f l e x i b i l i t y   i s   n e e d e d   t o   e x p l i c i t l y   d e f i n e   t h e   o r d e r i n g   o f   p o d s   d u r i n g   s h u t d o w n   i n   a   m o r e   g r a n u l a r   w a y ,   p o d   p r i o r i t y   b a s e d   g r a c e f u l   s h u t d o w n   c a n   b e   u s e d .   W h e n   g r a c e f u l   n o d e   s h u t d o w n   h o n o r s   p o d   p r i o r i t i e s ,   t h i s   m a k e s   i t   p o s s i b l e   t o   d o   g r a c e f u l   n o d e   s h u t d o w n   i n   m u l t i p l e   p h a s e s ,   e a c h   p h a s e   s h u t t i n g   d o w n   a   p a r t i c u l a r   p r i o r i t y   c l a s s   o f   p o d s .   T h e   k u b e l e t   c a n   b e   c o n f i g u r e d   w i t h   t h e   e x a c t   p h a s e s   a n d   s h u t d o w n   t i m e   p e r   p h a s e .   A s s u m i n g   t h e   f o l l o w i n g   c u s t o m   p o d   p r i o r i t y   c l a s s e s   i n   a   c l u s t e r ,   W i t h i n   t h e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13177"
  },
  {
    "question": "What is Note:?",
    "answer": "M e t r i c s   g r a c e f u l _ s h u t d o w n _ s t a r t _ t i m e _ s e c o n d s   a n d   g r a c e f u l _ s h u t d o w n _ e n d _ t i m e _ s e c o n d s   a r e   e m i t t e d   u n d e r   t h e   k u b e l e t   s u b s y s t e m   t o   m o n i t o r   n o d e   s h u t d o w n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13178"
  },
  {
    "question": "What is Non-graceful node shutdown handling?",
    "answer": "A   n o d e   s h u t d o w n   a c t i o n   m a y   n o t   b e   d e t e c t e d   b y   k u b e l e t ' s   N o d e   S h u t d o w n   M a n a g e r ,   e i t h e r   b e c a u s e   t h e   c o m m a n d   d o e s   n o t   t r i g g e r   t h e   i n h i b i t o r   l o c k s   m e c h a n i s m   u s e d   b y   k u b e l e t   o r   b e c a u s e   o f   a   u s e r   e r r o r ,   i . e . ,   t h e   S h u t d o w n G r a c e P e r i o d   a n d   S h u t d o w n G r a c e P e r i o d C r i t i c a l P o d s   a r e   n o t   c o n f i g u r e d   p r o p e r l y .   P l e a s e   r e f e r   t o   a b o v e   s e c t i o n   G r a c e f u l   N o d e   S h u t d o w n   f o r   m o r e   d e t a i l s .   W h e n   a   n o d e   i s   s h u t d o w n   b u t   n o t   d e t e c t e d   b y   k u b e l e t ' s   N o d e   S h u t d o w n   M a n a g e r ,   t h e   p o d s   t h a t   a r e   p a r t   o f   a   S t a t e f u l S e t   w i l l   b e   s t u c k   i n   t e r m i n a t i n g   s t a t u s   o n   t h e   s h u t d o w n   n o d e   a n d   c a n n o t   m o v e   t o   a   n e w   r u n n i n g   n o d e .   T h i s   i s   b e c a u s e   k u b e l e t   o n   t h e   s h u t d o w n   n o d e   i s   n o t   a v a i l a b l e   t o   d e l e t e   t h e   p o d s   s o   t h e   S t a t e f u l S e t   c a n n o t   c r e a t e   a   n e w   p o d   w i t h   t h e   s a m e   n a m e .   I f   t h e r e   a r e   v o l u m e s   u s e d   b y   t h e   p o d s ,   t h e   V o l u m e A t t a c h m e n t s   w i l l   n o t   b e   d e l e t e d   f r o m   t h e   o r i g i n a l   s h u t d o w n   n o d e   s o   t h e   v o l u m e s   u s e d   b y   t h e s e   p o d s   c a n n o t   b e   a t t a c h e d   t o   a   n e w   r u n n i n g   n o d e .   A s   a   r e s u l t ,   t h e   a p p l i c a t i o n   r u n n i n g   o n   t h e   S t a t e f u l S e t   c a n n o t   f u n c t i o n   p r o p e r l y .   I f   t h e   o r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13179"
  },
  {
    "question": "What is Note:?",
    "answer": "B e f o r e   a d d i n g   t h e   t a i n t   n o d e . k u b e r n e t e s . i o / o u t - o f - s e r v i c e ,   i t   s h o u l d   b e   v e r i f i e d   t h a t   t h e   n o d e   i s   a l r e a d y   i n   s h u t d o w n   o r   p o w e r   o f f   s t a t e   ( n o t   i n   t h e   m i d d l e   o f   r e s t a r t i n g ) . T h e   u s e r   i s   r e q u i r e d   t o   m a n u a l l y   r e m o v e   t h e   o u t - o f - s e r v i c e   t a i n t   a f t e r   t h e   p o d s   a r e   m o v e d   t o   a   n e w   n o d e   a n d   t h e   u s e r   h a s   c h e c k e d   t h a t   t h e   s h u t d o w n   n o d e   h a s   b e e n   r e c o v e r e d   s i n c e   t h e   u s e r   w a s   t h e   o n e   w h o   o r i g i n a l l y   a d d e d   t h e   t a i n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13180"
  },
  {
    "question": "What is Forced storage detach on timeout?",
    "answer": "I n   a n y   s i t u a t i o n   w h e r e   a   p o d   d e l e t i o n   h a s   n o t   s u c c e e d e d   f o r   6   m i n u t e s ,   k u b e r n e t e s   w i l l   f o r c e   d e t a c h   v o l u m e s   b e i n g   u n m o u n t e d   i f   t h e   n o d e   i s   u n h e a l t h y   a t   t h a t   i n s t a n t .   A n y   w o r k l o a d   s t i l l   r u n n i n g   o n   t h e   n o d e   t h a t   u s e s   a   f o r c e - d e t a c h e d   v o l u m e   w i l l   c a u s e   a   v i o l a t i o n   o f   t h e   C S I   s p e c i f i c a t i o n ,   w h i c h   s t a t e s   t h a t   C o n t r o l l e r U n p u b l i s h V o l u m e   \" m u s t   b e   c a l l e d   a f t e r   a l l   N o d e U n s t a g e V o l u m e   a n d   N o d e U n p u b l i s h V o l u m e   o n   t h e   v o l u m e   a r e   c a l l e d   a n d   s u c c e e d \" .   I n   s u c h   c i r c u m s t a n c e s ,   v o l u m e s   o n   t h e   n o d e   i n   q u e s t i o n   m i g h t   e n c o u n t e r   d a t a   c o r r u p t i o n .   T h e   f o r c e d   s t o r a g e   d e t a c h   b e h a v i o u r   i s   o p t i o n a l ;   u s e r s   m i g h t   o p t   t o   u s e   t h e   \" N o n - g r a c e f u l   n o d e   s h u t d o w n \"   f e a t u r e   i n s t e a d .   F o r c e   s t o r a g e   d e t a c h   o n   t i m e o u t   c a n   b e   d i s a b l e d   b y   s e t t i n g   t h e   d i s a b l e - f o r c e - d e t a c h - o n - t i m e o u t   c o n f i g   f i e l d   i n   k u b e - c o n t r o l l e r - m a n a g e r .   D i s a b l i n g   t h e   f o r c e   d e t a c h   o n   t i m e o u t   f e a t u r e   m e a n s   t h a t   a   v o l u m e   t h a t   i s   h o s t e d   o n   a   n o d e   t h a t   i s   u n h e a l t h y   f o r   m o r e   t h a n   6   m i n u t e s   w i l l   n o t   h a v e   i t s   a s s o c i a t e d   V o l u m e A t t a c h m e n t   d e l e t e d .   A f t e r   t h i s   s e t t i n g   h a s   b e e n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13181"
  },
  {
    "question": "What is Note:?",
    "answer": "C a u t i o n   m u s t   b e   t a k e n   w h i l e   u s i n g   t h e   N o n - G r a c e f u l   N o d e   S h u t d o w n   p r o c e d u r e . D e v i a t i o n   f r o m   t h e   s t e p s   d o c u m e n t e d   a b o v e   c a n   r e s u l t   i n   d a t a   c o r r u p t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13182"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   t h e   f o l l o w i n g :   B l o g :   N o n - G r a c e f u l   N o d e   S h u t d o w n . C l u s t e r   A r c h i t e c t u r e :   N o d e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13183"
  },
  {
    "question": "What is 11.2 - Swap memory management?",
    "answer": "K u b e r n e t e s   c a n   b e   c o n f i g u r e d   t o   u s e   s w a p   m e m o r y   o n   a   n o d e ,   a l l o w i n g   t h e   k e r n e l   t o   f r e e   u p   p h y s i c a l   m e m o r y   b y   s w a p p i n g   o u t   p a g e s   t o   b a c k i n g   s t o r a g e .   T h i s   i s   u s e f u l   f o r   m u l t i p l e   u s e - c a s e s .   F o r   e x a m p l e ,   n o d e s   r u n n i n g   w o r k l o a d s   t h a t   c a n   b e n e f i t   f r o m   u s i n g   s w a p ,   s u c h   a s   t h o s e   t h a t   h a v e   l a r g e   m e m o r y   f o o t p r i n t s   b u t   o n l y   a c c e s s   a   p o r t i o n   o f   t h a t   m e m o r y   a t   a n y   g i v e n   t i m e .   I t   a l s o   h e l p s   p r e v e n t   P o d s   f r o m   b e i n g   t e r m i n a t e d   d u r i n g   m e m o r y   p r e s s u r e   s p i k e s ,   s h i e l d s   n o d e s   f r o m   s y s t e m - l e v e l   m e m o r y   s p i k e s   t h a t   m i g h t   c o m p r o m i s e   i t s   s t a b i l i t y ,   a l l o w s   f o r   m o r e   f l e x i b l e   m e m o r y   m a n a g e m e n t   o n   t h e   n o d e ,   a n d   m u c h   m o r e .   T o   l e a r n   a b o u t   c o n f i g u r i n g   s w a p   i n   y o u r   c l u s t e r ,   r e a d   C o n f i g u r i n g   s w a p   m e m o r y   o n   K u b e r n e t e s   n o d e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13184"
  },
  {
    "question": "What is Operating system support?",
    "answer": "L i n u x   n o d e s   s u p p o r t   s w a p ;   y o u   n e e d   t o   c o n f i g u r e   e a c h   n o d e   t o   e n a b l e   i t .   B y   d e f a u l t ,   t h e   k u b e l e t   w i l l   n o t   s t a r t   o n   a   L i n u x   n o d e   t h a t   h a s   s w a p   e n a b l e d . W i n d o w s   n o d e s   r e q u i r e   s w a p   s p a c e .   B y   d e f a u l t ,   t h e   k u b e l e t   d o e s   n o t   s t a r t   o n   a   W i n d o w s   n o d e   t h a t   h a s   s w a p   d i s a b l e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13185"
  },
  {
    "question": "What is How does it work??",
    "answer": "T h e r e   a r e   a   n u m b e r   o f   p o s s i b l e   w a y s   t h a t   o n e   c o u l d   e n v i s i o n   s w a p   u s e   o n   a   n o d e .   I f   k u b e l e t   i s   a l r e a d y   r u n n i n g   o n   a   n o d e ,   i t   w o u l d   n e e d   t o   b e   r e s t a r t e d   a f t e r   s w a p   i s   p r o v i s i o n e d   i n   o r d e r   t o   i d e n t i f y   i t .   W h e n   k u b e l e t   s t a r t s   o n   a   n o d e   i n   w h i c h   s w a p   i s   p r o v i s i o n e d   a n d   a v a i l a b l e   ( w i t h   t h e   f a i l S w a p O n :   f a l s e   c o n f i g u r a t i o n ) ,   k u b e l e t   w i l l :   B e   a b l e   t o   s t a r t   o n   t h i s   s w a p - e n a b l e d   n o d e . D i r e c t   t h e   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I )   i m p l e m e n t a t i o n ,   o f t e n   r e f e r r e d   t o   a s   t h e   c o n t a i n e r   r u n t i m e ,   t o   a l l o c a t e   z e r o   s w a p   m e m o r y   t o   K u b e r n e t e s   w o r k l o a d s   b y   d e f a u l t .   S w a p   c o n f i g u r a t i o n   o n   a   n o d e   i s   e x p o s e d   t o   a   c l u s t e r   a d m i n   v i a   t h e   m e m o r y S w a p   i n   t h e   K u b e l e t C o n f i g u r a t i o n .   A s   a   c l u s t e r   a d m i n i s t r a t o r ,   y o u   c a n   s p e c i f y   t h e   n o d e ' s   b e h a v i o u r   i n   t h e   p r e s e n c e   o f   s w a p   m e m o r y   b y   s e t t i n g   m e m o r y S w a p . s w a p B e h a v i o r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13186"
  },
  {
    "question": "What is Swap behaviors?",
    "answer": "Y o u   n e e d   t o   p i c k   a   s w a p   b e h a v i o r   t o   u s e .   D i f f e r e n t   n o d e s   i n   y o u r   c l u s t e r   c a n   u s e   d i f f e r e n t   s w a p   b e h a v i o r s .   T h e   s w a p   b e h a v i o r s   y o u   c a n   c h o o s e   f o r   L i n u x   n o d e s   a r e :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13187"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   c h o o s e   t h e   N o S w a p   b e h a v i o r ,   a n d   y o u   c o n f i g u r e   t h e   k u b e l e t   t o   t o l e r a t e   s w a p   s p a c e   ( f a i l S w a p O n :   f a l s e ) ,   t h e n   y o u r   w o r k l o a d s   d o n ' t   u s e   a n y   s w a p .   H o w e v e r ,   p r o c e s s e s   o u t s i d e   o f   K u b e r n e t e s - m a n a g e d   c o n t a i n e r s ,   s u c h   a s   s y s t e m i   s e r v i c e s   ( a n d   e v e n   t h e   k u b e l e t   i t s e l f ! )   c a n   u t i l i z e   s w a p .   Y o u   c a n   r e a d   c o n f i g u r i n g   s w a p   m e m o r y   o n   K u b e r n e t e s   n o d e s   t o   l e a r n   a b o u t   e n a b l i n g   s w a p   f o r   y o u r   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13188"
  },
  {
    "question": "What is Container runtime integration?",
    "answer": "T h e   k u b e l e t   u s e s   t h e   c o n t a i n e r   r u n t i m e   A P I ,   a n d   d i r e c t s   t h e   c o n t a i n e r   r u n t i m e   t o   a p p l y   s p e c i f i c   c o n f i g u r a t i o n   ( f o r   e x a m p l e ,   i n   t h e   c g r o u p   v 2   c a s e ,   m e m o r y . s w a p . m a x )   i n   a   m a n n e r   t h a t   w i l l   e n a b l e   t h e   d e s i r e d   s w a p   c o n f i g u r a t i o n   f o r   a   c o n t a i n e r .   F o r   r u n t i m e s   t h a t   u s e   c o n t r o l   g r o u p s ,   o r   c g r o u p s ,   t h e   c o n t a i n e r   r u n t i m e   i s   t h e n   r e s p o n s i b l e   f o r   w r i t i n g   t h e s e   s e t t i n g s   t o   t h e   c o n t a i n e r - l e v e l   c g r o u p .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13189"
  },
  {
    "question": "What is Node and container level metric statistics?",
    "answer": "K u b e l e t   n o w   c o l l e c t s   n o d e   a n d   c o n t a i n e r   l e v e l   m e t r i c   s t a t i s t i c s ,   w h i c h   c a n   b e   a c c e s s e d   a t   t h e   / m e t r i c s / r e s o u r c e   ( w h i c h   i s   u s e d   m a i n l y   b y   m o n i t o r i n g   t o o l s   l i k e   P r o m e t h e u s )   a n d   / s t a t s / s u m m a r y   ( w h i c h   i s   u s e d   m a i n l y   b y   A u t o s c a l e r s )   k u b e l e t   H T T P   e n d p o i n t s .   T h i s   a l l o w s   c l i e n t s   w h o   c a n   d i r e c t l y   r e q u e s t   t h e   k u b e l e t   t o   m o n i t o r   s w a p   u s a g e   a n d   r e m a i n i n g   s w a p   m e m o r y   w h e n   u s i n g   L i m i t e d S w a p .   A d d i t i o n a l l y ,   a   m a c h i n e _ s w a p _ b y t e s   m e t r i c   h a s   b e e n   a d d e d   t o   c a d v i s o r   t o   s h o w   t h e   t o t a l   p h y s i c a l   s w a p   c a p a c i t y   o f   t h e   m a c h i n e .   S e e   t h i s   p a g e   f o r   m o r e   i n f o .   F o r   e x a m p l e ,   t h e s e   / m e t r i c s / r e s o u r c e   a r e   s u p p o r t e d :   n o d e _ s w a p _ u s a g e _ b y t e s :   C u r r e n t   s w a p   u s a g e   o f   t h e   n o d e   i n   b y t e s . c o n t a i n e r _ s w a p _ u s a g e _ b y t e s :   C u r r e n t   a m o u n t   o f   t h e   c o n t a i n e r   s w a p   u s a g e   i n   b y t e s . c o n t a i n e r _ s w a p _ l i m i t _ b y t e s :   C u r r e n t   a m o u n t   o f   t h e   c o n t a i n e r   s w a p   l i m i t   i n   b y t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13190"
  },
  {
    "question": "What is Using kubectl top --show-swap?",
    "answer": "Q u e r y i n g   m e t r i c s   i s   v a l u a b l e ,   b u t   s o m e w h a t   c u m b e r s o m e ,   a s   t h e s e   m e t r i c s   a r e   d e s i g n e d   t o   b e   u s e d   b y   s o f t w a r e   r a t h e r   t h a n   h u m a n s .   I n   o r d e r   t o   c o n s u m e   t h i s   d a t a   i n   a   m o r e   u s e r - f r i e n d l y   w a y ,   t h e   k u b e c t l   t o p   c o m m a n d   h a s   b e e n   e x t e n d e d   t o   s u p p o r t   s w a p   m e t r i c s ,   u s i n g   t h e   - - s h o w - s w a p   f l a g .   I n   o r d e r   t o   r e c e i v e   i n f o r m a t i o n   a b o u t   s w a p   u s a g e   o n   n o d e s ,   k u b e c t l   t o p   n o d e s   - - s h o w - s w a p   c a n   b e   u s e d :   k u b e c t l   t o p   n o d e s   - - s h o w - s w a p   T h i s   w i l l   r e s u l t   i n   a n   o u t p u t   s i m i l a r   t o :   N A M E   C P U ( c o r e s )   C P U ( % )   M E M O R Y ( b y t e s )   M E M O R Y ( % )   S W A P ( b y t e s )   S W A P ( % )   n o d e 1   1 m   1 0 %   2 M i   1 0 %   1 M i   0 %   n o d e 2   5 m   1 0 %   6 M i   1 0 %   2 M i   0 %   n o d e 3   3 m   1 0 %   4 M i   1 0 %   < u n k n o w n >   < u n k n o w n >   I n   o r d e r   t o   r e c e i v e   i n f o r m a t i o n   a b o u t   s w a p   u s a g e   b y   p o d s ,   k u b e c t l   t o p   n o d e s   - - s h o w - s w a p   c a n   b e   u s e d :   k u b e c t l   t o p   p o d   - n   k u b e - s y s t e m   - - s h o w - s w a p   T h i s   w i l l   r e s u l t   i n   a n   o u t p u t   s i m i l a r   t o :   N A M E   C P U ( c o r e s )   M E M O R Y ( b y t e s )   S W A P ( b y t e s )   c o r e d n s - 5 8 d 5 b c 5 c d b - 5 n b k 4   2 m   1 9 M i   0 M i   c o r e d n s - 5 8 d 5 b c 5 c d b - j s h 2 6   3 m   3 7 M i   0 M i   e t c d - n o d e 0 1   5 1 m   1 4 3 M i   5 M i   k u b e - a p i s e r v e r - n o d e 0 1   9 8 m   8 2 4 M i   1 6 M i   k u b e - c o n t r o l l e r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13191"
  },
  {
    "question": "What is Nodes to report swap capacity as part of node status?",
    "answer": "A   n e w   n o d e   s t a t u s   f i e l d   i s   n o w   a d d e d ,   n o d e . s t a t u s . n o d e I n f o . s w a p . c a p a c i t y ,   t o   r e p o r t   t h e   s w a p   c a p a c i t y   o f   a   n o d e .   A s   a n   e x a m p l e ,   t h e   f o l l o w i n g   c o m m a n d   c a n   b e   u s e d   t o   r e t r i e v e   t h e   s w a p   c a p a c i t y   o f   t h e   n o d e s   i n   a   c l u s t e r :   k u b e c t l   g e t   n o d e s   - o   g o - t e m p l a t e = ' { { r a n g e   . i t e m s } } { { . m e t a d a t a . n a m e } } :   { { i f   . s t a t u s . n o d e I n f o . s w a p . c a p a c i t y } } { { . s t a t u s . n o d e I n f o . s w a p . c a p a c i t y } } { { e l s e } } < u n k n o w n > { { e n d } } { { \" \\ n \" } } { { e n d } } '   T h i s   w i l l   r e s u l t   i n   a n   o u t p u t   s i m i l a r   t o :   n o d e 1 :   2 1 4 7 4 8 3 6 4 8 0   n o d e 2 :   4 2 9 4 9 6 6 4 7 6 8   n o d e 3 :   < u n k n o w n >",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13192"
  },
  {
    "question": "What is Swap discovery using Node Feature Discovery (NFD)?",
    "answer": "N o d e   F e a t u r e   D i s c o v e r y   i s   a   K u b e r n e t e s   a d d o n   f o r   d e t e c t i n g   h a r d w a r e   f e a t u r e s   a n d   c o n f i g u r a t i o n .   I t   c a n   b e   u t i l i z e d   t o   d i s c o v e r   w h i c h   n o d e s   a r e   p r o v i s i o n e d   w i t h   s w a p .   A s   a n   e x a m p l e ,   t o   f i g u r e   o u t   w h i c h   n o d e s   a r e   p r o v i s i o n e d   w i t h   s w a p ,   u s e   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   g e t   n o d e s   - o   j s o n p a t h = ' { r a n g e   . i t e m s [ ? ( @ . m e t a d a t a . l a b e l s . f e a t u r e \\ . n o d e \\ . k u b e r n e t e s \\ . i o / m e m o r y - s w a p ) ] } { . m e t a d a t a . n a m e } { \" \\ t \" } { . m e t a d a t a . l a b e l s . f e a t u r e \\ . n o d e \\ . k u b e r n e t e s \\ . i o / m e m o r y - s w a p } { \" \\ n \" } { e n d } '   T h i s   w i l l   r e s u l t   i n   a n   o u t p u t   s i m i l a r   t o :   k 8 s - w o r k e r 1 :   t r u e   k 8 s - w o r k e r 2 :   t r u e   k 8 s - w o r k e r 3 :   f a l s e   I n   t h i s   e x a m p l e ,   s w a p   i s   p r o v i s i o n e d   o n   n o d e s   k 8 s - w o r k e r 1   a n d   k 8 s - w o r k e r 2 ,   b u t   n o t   o n   k 8 s - w o r k e r 3 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13193"
  },
  {
    "question": "What is Caution:?",
    "answer": "H a v i n g   s w a p   a v a i l a b l e   o n   a   s y s t e m   r e d u c e s   p r e d i c t a b i l i t y .   W h i l e   s w a p   c a n   e n h a n c e   p e r f o r m a n c e   b y   m a k i n g   m o r e   R A M   a v a i l a b l e ,   s w a p p i n g   d a t a   b a c k   t o   m e m o r y   i s   a   h e a v y   o p e r a t i o n ,   s o m e t i m e s   s l o w e r   b y   m a n y   o r d e r s   o f   m a g n i t u d e ,   w h i c h   c a n   c a u s e   u n e x p e c t e d   p e r f o r m a n c e   r e g r e s s i o n s .   F u r t h e r m o r e ,   s w a p   c h a n g e s   a   s y s t e m ' s   b e h a v i o u r   u n d e r   m e m o r y   p r e s s u r e .   E n a b l i n g   s w a p   i n c r e a s e s   t h e   r i s k   o f   n o i s y   n e i g h b o r s ,   w h e r e   P o d s   t h a t   f r e q u e n t l y   u s e   t h e i r   R A M   m a y   c a u s e   o t h e r   P o d s   t o   s w a p .   I n   a d d i t i o n ,   s i n c e   s w a p   a l l o w s   f o r   g r e a t e r   m e m o r y   u s a g e   f o r   w o r k l o a d s   i n   K u b e r n e t e s   t h a t   c a n n o t   b e   p r e d i c t a b l y   a c c o u n t e d   f o r ,   a n d   d u e   t o   u n e x p e c t e d   p a c k i n g   c o n f i g u r a t i o n s ,   t h e   s c h e d u l e r   c u r r e n t l y   d o e s   n o t   a c c o u n t   f o r   s w a p   m e m o r y   u s a g e .   T h i s   h e i g h t e n s   t h e   r i s k   o f   n o i s y   n e i g h b o r s .   T h e   p e r f o r m a n c e   o f   a   n o d e   w i t h   s w a p   m e m o r y   e n a b l e d   d e p e n d s   o n   t h e   u n d e r l y i n g   p h y s i c a l   s t o r a g e .   W h e n   s w a p   m e m o r y   i s   i n   u s e ,   p e r f o r m a n c e   w i l l   b e   s i g n i f i c a n t l y   w o r s e   i n   a n   I / O   o p e r a t i o n s   p e r   s e c o n d   ( I O P S )   c o n s t r a i n e d   e n v i r o n m e n t ,   s u c h   a s   a   c l o u d   V M   w i t h   I / O ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13194"
  },
  {
    "question": "What is Memory-backed volumes?",
    "answer": "O n   L i n u x   n o d e s ,   m e m o r y - b a c k e d   v o l u m e s   ( s u c h   a s   s e c r e t   v o l u m e   m o u n t s ,   o r   e m p t y D i r   w i t h   m e d i u m :   M e m o r y )   a r e   i m p l e m e n t e d   w i t h   a   t m p f s   f i l e s y s t e m .   T h e   c o n t e n t s   o f   s u c h   v o l u m e s   s h o u l d   r e m a i n   i n   m e m o r y   a t   a l l   t i m e s ,   h e n c e   s h o u l d   n o t   b e   s w a p p e d   t o   d i s k .   T o   e n s u r e   t h e   c o n t e n t s   o f   s u c h   v o l u m e s   r e m a i n   i n   m e m o r y ,   t h e   n o s w a p   t m p f s   o p t i o n   i s   b e i n g   u s e d .   T h e   L i n u x   k e r n e l   o f f i c i a l l y   s u p p o r t s   t h e   n o s w a p   o p t i o n   f r o m   v e r s i o n   6 . 3   ( m o r e   i n f o   c a n   b e   f o u n d   i n   L i n u x   K e r n e l   V e r s i o n   R e q u i r e m e n t s ) .   H o w e v e r ,   t h e   d i f f e r e n t   d i s t r i b u t i o n s   o f t e n   c h o o s e   t o   b a c k p o r t   t h i s   m o u n t   o p t i o n   t o   o l d e r   L i n u x   v e r s i o n s   a s   w e l l .   I n   o r d e r   t o   v e r i f y   w h e t h e r   t h e   n o d e   s u p p o r t s   t h e   n o s w a p   o p t i o n ,   t h e   k u b e l e t   w i l l   d o   t h e   f o l l o w i n g :   I f   t h e   k e r n e l ' s   v e r s i o n   i s   a b o v e   6 . 3   t h e n   t h e   n o s w a p   o p t i o n   w i l l   b e   a s s u m e d   t o   b e   s u p p o r t e d . O t h e r w i s e ,   k u b e l e t   w o u l d   t r y   t o   m o u n t   a   d u m m y   t m p f s   w i t h   t h e   n o s w a p   o p t i o n   a t   s t a r t u p .   I f   k u b e l e t   f a i l s   w i t h   a n   e r r o r   i n d i c a t i n g   o f   a n   u n k n o w n   o p t i o n ,   n o s w a p   w i l l   b e   a s s u m e d   t o   n o t   b e   s u p p o r t e d ,   h e n c e   w i l l   n o t   b e   u s e d . ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13195"
  },
  {
    "question": "What is Evictions?",
    "answer": "C o n f i g u r i n g   m e m o r y   e v i c t i o n   t h r e s h o l d s   f o r   s w a p - e n a b l e d   n o d e s   c a n   b e   t r i c k y .   W i t h   s w a p   b e i n g   d i s a b l e d ,   i t   i s   r e a s o n a b l e   t o   c o n f i g u r e   k u b e l e t ' s   e v i c t i o n   t h r e s h o l d s   t o   b e   a   b i t   l o w e r   t h a n   t h e   n o d e ' s   m e m o r y   c a p a c i t y .   T h e   r a t i o n a l e   i s   t h a t   w e   w a n t   K u b e r n e t e s   t o   s t a r t   e v i c t i n g   P o d s   b e f o r e   t h e   n o d e   r u n s   o u t   o f   m e m o r y   a n d   i n v o k e s   t h e   O u t   O f   M e m o r y   ( O O M )   k i l l e r ,   s i n c e   t h e   O O M   k i l l e r   i s   n o t   K u b e r n e t e s - a w a r e ,   t h e r e f o r e   d o e s   n o t   c o n s i d e r   t h i n g s   l i k e   Q o S ,   p o d   p r i o r i t y ,   o r   o t h e r   K u b e r n e t e s - s p e c i f i c   f a c t o r s .   W i t h   s w a p   e n a b l e d ,   t h e   s i t u a t i o n   i s   m o r e   c o m p l e x .   I n   L i n u x ,   t h e   v m . m i n _ f r e e _ k b y t e s   p a r a m e t e r   d e f i n e s   t h e   m e m o r y   t h r e s h o l d   f o r   t h e   k e r n e l   t o   s t a r t   a g g r e s s i v e l y   r e c l a i m i n g   m e m o r y ,   w h i c h   i n c l u d e s   s w a p p i n g   o u t   p a g e s .   I f   t h e   k u b e l e t ' s   e v i c t i o n   t h r e s h o l d s   a r e   s e t   i n   a   w a y   t h a t   e v i c t i o n   w o u l d   t a k e   p l a c e   b e f o r e   t h e   k e r n e l   s t a r t s   r e c l a i m i n g   m e m o r y ,   i t   c o u l d   l e a d   t o   w o r k l o a d s   n e v e r   b e i n g   a b l e   t o   s w a p   o u t   d u r i n g   n o d e   m e m o r y   p r e s s u r e .   H o w e v e r ,   s e t t i n g   t h e   e v i c t i o n   t h r e s h o l d s   t o o   h i g h   c o u l d   r e s u l t   i n   t h e   n o d ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13196"
  },
  {
    "question": "What is Unutilized swap space?",
    "answer": "U n d e r   t h e   L i m i t e d S w a p   b e h a v i o r ,   t h e   a m o u n t   o f   s w a p   a v a i l a b l e   t o   a   P o d   i s   d e t e r m i n e d   a u t o m a t i c a l l y ,   b a s e d   o n   t h e   p r o p o r t i o n   o f   t h e   m e m o r y   r e q u e s t e d   r e l a t i v e   t o   t h e   n o d e ' s   t o t a l   m e m o r y   ( F o r   m o r e   d e t a i l s ,   s e e   t h e   s e c t i o n   b e l o w ) .   T h i s   d e s i g n   m e a n s   t h a t   u s u a l l y   t h e r e   w o u l d   b e   s o m e   p o r t i o n   o f   s w a p   t h a t   w i l l   r e m a i n   r e s t r i c t e d   f o r   K u b e r n e t e s   w o r k l o a d s .   F o r   e x a m p l e ,   s i n c e   K u b e r n e t e s   1 . 3 4   d o e s   n o t   p e r m i t   s w a p   u s e   f o r   P o d s   i n   t h e   G u a r a n t e e d   Q o S   c l a s s ,   t h e   a m o u n t   o f   s w a p   t h a t ' s   p r o p o r t i o n a l   t o   t h e   m e m o r y   r e q u e s t   f o r   G u a r a n t e e d   p o d s   w o u l d   r e m a i n   u n u s e d   b y   K u b e r n e t e s   w o r k l o a d s .   T h i s   b e h a v i o r   c a r r i e s   s o m e   r i s k   i n   a   s i t u a t i o n   w h e r e   m a n y   p o d s   a r e   n o t   e l i g i b l e   f o r   s w a p p i n g .   O n   t h e   o t h e r   h a n d ,   i t   e f f e c t i v e l y   k e e p s   s o m e   s y s t e m - r e s e r v e d   a m o u n t   o f   s w a p   m e m o r y   t h a t   c a n   b e   u s e d   b y   p r o c e s s e s   o u t s i d e   o f   K u b e r n e t e s '   s c o p e ,   s u c h   a s   s y s t e m   d a e m o n s   a n d   e v e n   k u b e l e t   i t s e l f .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13197"
  },
  {
    "question": "What is Disable swap for system-critical daemons?",
    "answer": "D u r i n g   t h e   t e s t i n g   p h a s e   a n d   b a s e d   o n   u s e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13198"
  },
  {
    "question": "What is Protect system-critical daemons for I/O latency?",
    "answer": "S w a p   c a n   i n c r e a s e   t h e   I / O   l o a d   o n   a   n o d e .   W h e n   m e m o r y   p r e s s u r e   c a u s e s   t h e   k e r n e l   t o   r a p i d l y   s w a p   p a g e s   i n   a n d   o u t ,   s y s t e m - c r i t i c a l   d a e m o n s   a n d   s e r v i c e s   t h a t   r e l y   o n   I / O   o p e r a t i o n s   m a y   e x p e r i e n c e   p e r f o r m a n c e   d e g r a d a t i o n .   T o   m i t i g a t e   t h i s ,   i t   i s   r e c o m m e n d e d   f o r   s y s t e m d   u s e r s   t o   p r i o r i t i z e   t h e   s y s t e m   s l i c e   i n   t e r m s   o f   I / O   l a t e n c y .   F o r   n o n - s y s t e m d   u s e r s ,   s e t t i n g   u p   a   d e d i c a t e d   c g r o u p   f o r   s y s t e m   d a e m o n s   a n d   p r o c e s s e s   a n d   p r i o r i t i z i n g   I / O   l a t e n c y   i n   t h e   s a m e   w a y   i s   a d v i s e d .   T h i s   c a n   b e   a c h i e v e d   b y   s e t t i n g   i o . l a t e n c y   f o r   t h e   s y s t e m   s l i c e ,   t h e r e b y   g r a n t i n g   i t   h i g h e r   I / O   p r i o r i t y .   S e e   c g r o u p ' s   d o c u m e n t a t i o n   f o r   m o r e   i n f o .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13199"
  },
  {
    "question": "What is Swap and control plane nodes?",
    "answer": "T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   r u n n i n g   c o n t r o l   p l a n e   n o d e s   w i t h o u t   a n y   s w a p   s p a c e   c o n f i g u r e d .   T h e   c o n t r o l   p l a n e   p r i m a r i l y   h o s t s   G u a r a n t e e d   Q o S   P o d s ,   s o   s w a p   c a n   g e n e r a l l y   b e   d i s a b l e d .   T h e   m a i n   c o n c e r n   i s   t h a t   s w a p p i n g   c r i t i c a l   s e r v i c e s   o n   t h e   c o n t r o l   p l a n e   c o u l d   n e g a t i v e l y   i m p a c t   p e r f o r m a n c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13200"
  },
  {
    "question": "What is Use of a dedicated disk for swap?",
    "answer": "T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   u s i n g   e n c r y p t e d   s w a p ,   w h e n e v e r   y o u   r u n   n o d e s   w i t h   s w a p   e n a b l e d .   I f   s w a p   r e s i d e s   o n   a   p a r t i t i o n   o r   t h e   r o o t   f i l e s y s t e m ,   w o r k l o a d s   m a y   i n t e r f e r e   w i t h   s y s t e m   p r o c e s s e s   t h a t   n e e d   t o   w r i t e   t o   d i s k .   W h e n   t h e y   s h a r e   t h e   s a m e   d i s k ,   p r o c e s s e s   c a n   o v e r w h e l m   s w a p ,   d i s r u p t i n g   t h e   I / O   o f   k u b e l e t ,   c o n t a i n e r   r u n t i m e ,   a n d   s y s t e m d ,   w h i c h   w o u l d   i m p a c t   o t h e r   w o r k l o a d s .   S i n c e   s w a p   s p a c e   i s   l o c a t e d   o n   a   d i s k ,   i t   i s   c r u c i a l   t o   e n s u r e   t h e   d i s k   i s   f a s t   e n o u g h   f o r   t h e   i n t e n d e d   u s e   c a s e s .   A l t e r n a t i v e l y ,   o n e   c a n   c o n f i g u r e   I / O   p r i o r i t i e s   b e t w e e n   d i f f e r e n t   m a p p e d   a r e a s   o f   a   s i n g l e   b a c k i n g   d e v i c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13201"
  },
  {
    "question": "What is Swap-aware scheduling?",
    "answer": "K u b e r n e t e s   1 . 3 4   d o e s   n o t   s u p p o r t   a l l o c a t i n g   P o d s   t o   n o d e s   i n   a   w a y   t h a t   a c c o u n t s   f o r   s w a p   m e m o r y   u s a g e .   T h e   s c h e d u l e r   t y p i c a l l y   u s e s   r e q u e s t s   f o r   i n f r a s t r u c t u r e   r e s o u r c e s   t o   g u i d e   P o d   p l a c e m e n t ,   a n d   P o d s   d o   n o t   r e q u e s t   s w a p   s p a c e ;   t h e y   j u s t   r e q u e s t   m e m o r y .   T h i s   m e a n s   t h a t   t h e   s c h e d u l e r   d o e s   n o t   c o n s i d e r   s w a p   m e m o r y   w h e n   m a k i n g   s c h e d u l i n g   d e c i s i o n s .   W h i l e   t h i s   i s   s o m e t h i n g   w e   a r e   a c t i v e l y   w o r k i n g   o n ,   i t   i s   n o t   y e t   i m p l e m e n t e d .   I n   o r d e r   f o r   a d m i n i s t r a t o r s   t o   e n s u r e   t h a t   P o d s   a r e   n o t   s c h e d u l e d   o n   n o d e s   w i t h   s w a p   m e m o r y   u n l e s s   t h e y   a r e   s p e c i f i c a l l y   i n t e n d e d   t o   u s e   i t ,   A d m i n i s t r a t o r s   c a n   t a i n t   n o d e s   w i t h   s w a p   a v a i l a b l e   t o   p r o t e c t   a g a i n s t   t h i s   p r o b l e m .   T a i n t s   w i l l   e n s u r e   t h a t   w o r k l o a d s   w h i c h   t o l e r a t e   s w a p   w i l l   n o t   s p i l l   o n t o   n o d e s   w i t h o u t   s w a p   u n d e r   l o a d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13202"
  },
  {
    "question": "What is Selecting storage for optimal performance?",
    "answer": "T h e   s t o r a g e   d e v i c e   d e s i g n a t e d   f o r   s w a p   s p a c e   i s   c r i t i c a l   t o   m a i n t a i n i n g   s y s t e m   r e s p o n s i v e n e s s   d u r i n g   h i g h   m e m o r y   u s a g e .   R o t a t i o n a l   h a r d   d i s k   d r i v e s   ( H D D s )   a r e   i l l - s u i t e d   f o r   t h i s   t a s k   a s   t h e i r   m e c h a n i c a l   n a t u r e   i n t r o d u c e s   s i g n i f i c a n t   l a t e n c y ,   l e a d i n g   t o   s e v e r e   p e r f o r m a n c e   d e g r a d a t i o n   a n d   s y s t e m   t h r a s h i n g .   F o r   m o d e r n   p e r f o r m a n c e   n e e d s ,   a   d e v i c e   s u c h   a s   a   S o l i d   S t a t e   D r i v e   ( S S D )   i s   p r o b a b l y   t h e   a p p r o p r i a t e   c h o i c e   f o r   s w a p ,   a s   i t s   l o w - l a t e n c y   e l e c t r o n i c   a c c e s s   m i n i m i z e s   t h e   s l o w d o w n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13203"
  },
  {
    "question": "What is How is the swap limit being determined with LimitedSwap??",
    "answer": "T h e   c o n f i g u r a t i o n   o f   s w a p   m e m o r y ,   i n c l u d i n g   i t s   l i m i t a t i o n s ,   p r e s e n t s   a   s i g n i f i c a n t   c h a l l e n g e .   N o t   o n l y   i s   i t   p r o n e   t o   m i s c o n f i g u r a t i o n ,   b u t   a s   a   s y s t e m - l e v e l   p r o p e r t y ,   a n y   m i s c o n f i g u r a t i o n   c o u l d   p o t e n t i a l l y   c o m p r o m i s e   t h e   e n t i r e   n o d e   r a t h e r   t h a n   j u s t   a   s p e c i f i c   w o r k l o a d .   T o   m i t i g a t e   t h i s   r i s k   a n d   e n s u r e   t h e   h e a l t h   o f   t h e   n o d e ,   w e   h a v e   i m p l e m e n t e d   S w a p   w i t h   a u t o m a t i c   c o n f i g u r a t i o n   o f   l i m i t a t i o n s .   W i t h   L i m i t e d S w a p ,   P o d s   t h a t   d o   n o t   f a l l   u n d e r   t h e   B u r s t a b l e   Q o S   c l a s s i f i c a t i o n   ( i . e .   B e s t E f f o r t / G u a r a n t e e d   Q o S   P o d s )   a r e   p r o h i b i t e d   f r o m   u t i l i z i n g   s w a p   m e m o r y .   B e s t E f f o r t   Q o S   P o d s   e x h i b i t   u n p r e d i c t a b l e   m e m o r y   c o n s u m p t i o n   p a t t e r n s   a n d   l a c k   i n f o r m a t i o n   r e g a r d i n g   t h e i r   m e m o r y   u s a g e ,   m a k i n g   i t   d i f f i c u l t   t o   d e t e r m i n e   a   s a f e   a l l o c a t i o n   o f   s w a p   m e m o r y .   C o n v e r s e l y ,   G u a r a n t e e d   Q o S   P o d s   a r e   t y p i c a l l y   e m p l o y e d   f o r   a p p l i c a t i o n s   t h a t   r e l y   o n   t h e   p r e c i s e   a l l o c a t i o n   o f   r e s o u r c e s   s p e c i f i e d   b y   t h e   w o r k l o a d ,   w i t h   m e m o r y   b e i n g   i m m e d i a t e l y   a v a i l a b l e .   T o   m a i n t a i n   t h e   a f o r e m e n t i o n e d   s e c u r i t y   a n d   n o d e   h e a l t h   g u a r a n t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13204"
  },
  {
    "question": "What is What's next?",
    "answer": "T o   l e a r n   a b o u t   m a n a g i n g   s w a p   o n   L i n u x   n o d e s ,   r e a d   c o n f i g u r i n g   s w a p   m e m o r y   o n   K u b e r n e t e s   n o d e s . Y o u   c a n   c h e c k   o u t   a   b l o g   p o s t   a b o u t   K u b e r n e t e s   a n d   s w a p F o r   b a c k g r o u n d   i n f o r m a t i o n ,   p l e a s e   s e e   t h e   o r i g i n a l   K E P ,   K E P - 2 4 0 0 ,   a n d   i t s   d e s i g n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13205"
  },
  {
    "question": "What is 11.3 - Node Autoscaling?",
    "answer": "I n   o r d e r   t o   r u n   w o r k l o a d s   i n   y o u r   c l u s t e r ,   y o u   n e e d   N o d e s .   N o d e s   i n   y o u r   c l u s t e r   c a n   b e   a u t o s c a l e d   -   d y n a m i c a l l y   p r o v i s i o n e d ,   o r   c o n s o l i d a t e d   t o   p r o v i d e   n e e d e d   c a p a c i t y   w h i l e   o p t i m i z i n g   c o s t .   A u t o s c a l i n g   i s   p e r f o r m e d   b y   N o d e   a u t o s c a l e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13206"
  },
  {
    "question": "What is Node provisioning?",
    "answer": "I f   t h e r e   a r e   P o d s   i n   a   c l u s t e r   t h a t   c a n ' t   b e   s c h e d u l e d   o n   e x i s t i n g   N o d e s ,   n e w   N o d e s   c a n   b e   a u t o m a t i c a l l y   a d d e d   t o   t h e   c l u s t e r — p r o v i s i o n e d — t o   a c c o m m o d a t e   t h e   P o d s .   T h i s   i s   e s p e c i a l l y   u s e f u l   i f   t h e   n u m b e r   o f   P o d s   c h a n g e s   o v e r   t i m e ,   f o r   e x a m p l e   a s   a   r e s u l t   o f   c o m b i n i n g   h o r i z o n t a l   w o r k l o a d   w i t h   N o d e   a u t o s c a l i n g .   A u t o s c a l e r s   p r o v i s i o n   t h e   N o d e s   b y   c r e a t i n g   a n d   d e l e t i n g   c l o u d   p r o v i d e r   r e s o u r c e s   b a c k i n g   t h e m .   M o s t   c o m m o n l y ,   t h e   r e s o u r c e s   b a c k i n g   t h e   N o d e s   a r e   V i r t u a l   M a c h i n e s .   T h e   m a i n   g o a l   o f   p r o v i s i o n i n g   i s   t o   m a k e   a l l   P o d s   s c h e d u l a b l e .   T h i s   g o a l   i s   n o t   a l w a y s   a t t a i n a b l e   b e c a u s e   o f   v a r i o u s   l i m i t a t i o n s ,   i n c l u d i n g   r e a c h i n g   c o n f i g u r e d   p r o v i s i o n i n g   l i m i t s ,   p r o v i s i o n i n g   c o n f i g u r a t i o n   n o t   b e i n g   c o m p a t i b l e   w i t h   a   p a r t i c u l a r   s e t   o f   p o d s ,   o r   t h e   l a c k   o f   c l o u d   p r o v i d e r   c a p a c i t y .   W h i l e   p r o v i s i o n i n g ,   N o d e   a u t o s c a l e r s   o f t e n   t r y   t o   a c h i e v e   a d d i t i o n a l   g o a l s   ( f o r   e x a m p l e   m i n i m i z i n g   t h e   c o s t   o f   t h e   p r o v i s i o n e d   N o d e s   o r   b a l a n c i n g   t h e   n u m b e r   o f   N o d e s   b e t w e e n   f a i l u r e   d o m a i n s ) .   T h e r e   a r e   t w o   m a i n   i n p u t s   t o   a   N o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13207"
  },
  {
    "question": "What is Pod scheduling constraints?",
    "answer": "P o d s   c a n   e x p r e s s   s c h e d u l i n g   c o n s t r a i n t s   t o   i m p o s e   l i m i t a t i o n s   o n   t h e   k i n d   o f   N o d e s   t h e y   c a n   b e   s c h e d u l e d   o n .   N o d e   a u t o s c a l e r s   t a k e   t h e s e   c o n s t r a i n t s   i n t o   a c c o u n t   t o   e n s u r e   t h a t   t h e   p e n d i n g   P o d s   c a n   b e   s c h e d u l e d   o n   t h e   p r o v i s i o n e d   N o d e s .   T h e   m o s t   c o m m o n   k i n d   o f   s c h e d u l i n g   c o n s t r a i n t s   a r e   t h e   r e s o u r c e   r e q u e s t s   s p e c i f i e d   b y   P o d   c o n t a i n e r s .   A u t o s c a l e r s   w i l l   m a k e   s u r e   t h a t   t h e   p r o v i s i o n e d   N o d e s   h a v e   e n o u g h   r e s o u r c e s   t o   s a t i s f y   t h e   r e q u e s t s .   H o w e v e r ,   t h e y   d o n ' t   d i r e c t l y   t a k e   i n t o   a c c o u n t   t h e   r e a l   r e s o u r c e   u s a g e   o f   t h e   P o d s   a f t e r   t h e y   s t a r t   r u n n i n g .   I n   o r d e r   t o   a u t o s c a l e   N o d e s   b a s e d   o n   a c t u a l   w o r k l o a d   r e s o u r c e   u s a g e ,   y o u   c a n   c o m b i n e   h o r i z o n t a l   w o r k l o a d   a u t o s c a l i n g   w i t h   N o d e   a u t o s c a l i n g .   O t h e r   c o m m o n   P o d   s c h e d u l i n g   c o n s t r a i n t s   i n c l u d e   N o d e   a f f i n i t y ,   i n t e r - P o d   a f f i n i t y ,   o r   a   r e q u i r e m e n t   f o r   a   p a r t i c u l a r   s t o r a g e   v o l u m e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13208"
  },
  {
    "question": "What is Node constraints imposed by autoscaler configuration?",
    "answer": "T h e   s p e c i f i c s   o f   t h e   p r o v i s i o n e d   N o d e s   ( f o r   e x a m p l e   t h e   a m o u n t   o f   r e s o u r c e s ,   t h e   p r e s e n c e   o f   a   g i v e n   l a b e l )   d e p e n d   o n   a u t o s c a l e r   c o n f i g u r a t i o n .   A u t o s c a l e r s   c a n   e i t h e r   c h o o s e   t h e m   f r o m   a   p r e - d e f i n e d   s e t   o f   N o d e   c o n f i g u r a t i o n s ,   o r   u s e   a u t o - p r o v i s i o n i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13209"
  },
  {
    "question": "What is Auto-provisioning?",
    "answer": "N o d e   a u t o - p r o v i s i o n i n g   i s   a   m o d e   o f   p r o v i s i o n i n g   i n   w h i c h   a   u s e r   d o e s n ' t   h a v e   t o   f u l l y   c o n f i g u r e   t h e   s p e c i f i c s   o f   t h e   N o d e s   t h a t   c a n   b e   p r o v i s i o n e d .   I n s t e a d ,   t h e   a u t o s c a l e r   d y n a m i c a l l y   c h o o s e s   t h e   N o d e   c o n f i g u r a t i o n   b a s e d   o n   t h e   p e n d i n g   P o d s   i t ' s   r e a c t i n g   t o ,   a s   w e l l   a s   p r e - c o n f i g u r e d   c o n s t r a i n t s   ( f o r   e x a m p l e ,   t h e   m i n i m u m   a m o u n t   o f   r e s o u r c e s   o r   t h e   n e e d   f o r   a   g i v e n   l a b e l ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13210"
  },
  {
    "question": "What is Node consolidation?",
    "answer": "T h e   m a i n   c o n s i d e r a t i o n   w h e n   r u n n i n g   a   c l u s t e r   i s   e n s u r i n g   t h a t   a l l   s c h e d u l a b l e   p o d s   a r e   r u n n i n g ,   w h i l s t   k e e p i n g   t h e   c o s t   o f   t h e   c l u s t e r   a s   l o w   a s   p o s s i b l e .   T o   a c h i e v e   t h i s ,   t h e   P o d s '   r e s o u r c e   r e q u e s t s   s h o u l d   u t i l i z e   a s   m u c h   o f   t h e   N o d e s '   r e s o u r c e s   a s   p o s s i b l e .   F r o m   t h i s   p e r s p e c t i v e ,   t h e   o v e r a l l   N o d e   u t i l i z a t i o n   i n   a   c l u s t e r   c a n   b e   u s e d   a s   a   p r o x y   f o r   h o w   c o s t - e f f e c t i v e   t h e   c l u s t e r   i s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13211"
  },
  {
    "question": "What is Note:?",
    "answer": "N o d e s   i n   y o u r   c l u s t e r   c a n   b e   a u t o m a t i c a l l y   c o n s o l i d a t e d   i n   o r d e r   t o   i m p r o v e   t h e   o v e r a l l   N o d e   u t i l i z a t i o n ,   a n d   i n   t u r n   t h e   c o s t - e f f e c t i v e n e s s   o f   t h e   c l u s t e r .   C o n s o l i d a t i o n   h a p p e n s   t h r o u g h   r e m o v i n g   a   s e t   o f   u n d e r u t i l i z e d   N o d e s   f r o m   t h e   c l u s t e r .   O p t i o n a l l y ,   a   d i f f e r e n t   s e t   o f   N o d e s   c a n   b e   p r o v i s i o n e d   t o   r e p l a c e   t h e m .   C o n s o l i d a t i o n ,   l i k e   p r o v i s i o n i n g ,   o n l y   c o n s i d e r s   P o d   r e s o u r c e   r e q u e s t s   a n d   n o t   r e a l   r e s o u r c e   u s a g e   w h e n   m a k i n g   d e c i s i o n s .   F o r   t h e   p u r p o s e   o f   c o n s o l i d a t i o n ,   a   N o d e   i s   c o n s i d e r e d   e m p t y   i f   i t   o n l y   h a s   D a e m o n S e t   a n d   s t a t i c   P o d s   r u n n i n g   o n   i t .   R e m o v i n g   e m p t y   N o d e s   d u r i n g   c o n s o l i d a t i o n   i s   m o r e   s t r a i g h t f o r w a r d   t h a n   n o n - e m p t y   o n e s ,   a n d   a u t o s c a l e r s   o f t e n   h a v e   o p t i m i z a t i o n s   d e s i g n e d   s p e c i f i c a l l y   f o r   c o n s o l i d a t i n g   e m p t y   N o d e s .   R e m o v i n g   n o n - e m p t y   N o d e s   d u r i n g   c o n s o l i d a t i o n   i s   d i s r u p t i v e — t h e   P o d s   r u n n i n g   o n   t h e m   a r e   t e r m i n a t e d ,   a n d   p o s s i b l y   h a v e   t o   b e   r e c r e a t e d   ( f o r   e x a m p l e   b y   a   D e p l o y m e n t ) .   H o w e v e r ,   a l l   s u c h   r e c r e a t e d   P o d s   s h o u l d   b e   a b l e   t o   s c h e d u l e   o n   e x i s t i n g   N o d e s   i n   t h e   c l u s t e r ,   o r   t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13212"
  },
  {
    "question": "What is Note:?",
    "answer": "A u t o s c a l e r   c o n f i g u r a t i o n   m a y   a l s o   e n a b l e   t r i g g e r i n g   c o n s o l i d a t i o n   b y   o t h e r   c o n d i t i o n s   ( f o r   e x a m p l e ,   t h e   t i m e   e l a p s e d   s i n c e   a   N o d e   w a s   c r e a t e d ) ,   i n   o r d e r   t o   o p t i m i z e   d i f f e r e n t   p r o p e r t i e s   ( f o r   e x a m p l e ,   t h e   m a x i m u m   l i f e s p a n   o f   N o d e s   i n   a   c l u s t e r ) .   T h e   d e t a i l s   o f   h o w   c o n s o l i d a t i o n   i s   p e r f o r m e d   d e p e n d   o n   t h e   c o n f i g u r a t i o n   o f   a   g i v e n   a u t o s c a l e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13213"
  },
  {
    "question": "What is Autoscalers?",
    "answer": "T h e   f u n c t i o n a l i t i e s   d e s c r i b e d   i n   p r e v i o u s   s e c t i o n s   a r e   p r o v i d e d   b y   N o d e   a u t o s c a l e r s .   I n   a d d i t i o n   t o   t h e   K u b e r n e t e s   A P I ,   a u t o s c a l e r s   a l s o   n e e d   t o   i n t e r a c t   w i t h   c l o u d   p r o v i d e r   A P I s   t o   p r o v i s i o n   a n d   c o n s o l i d a t e   N o d e s .   T h i s   m e a n s   t h a t   t h e y   n e e d   t o   b e   e x p l i c i t l y   i n t e g r a t e d   w i t h   e a c h   s u p p o r t e d   c l o u d   p r o v i d e r .   T h e   p e r f o r m a n c e   a n d   f e a t u r e   s e t   o f   a   g i v e n   a u t o s c a l e r   c a n   d i f f e r   b e t w e e n   c l o u d   p r o v i d e r   i n t e g r a t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13214"
  },
  {
    "question": "What is Autoscaler implementations?",
    "answer": "C l u s t e r   A u t o s c a l e r   a n d   K a r p e n t e r   a r e   t h e   t w o   N o d e   a u t o s c a l e r s   c u r r e n t l y   s p o n s o r e d   b y   S I G   A u t o s c a l i n g .   F r o m   t h e   p e r s p e c t i v e   o f   a   c l u s t e r   u s e r ,   b o t h   a u t o s c a l e r s   s h o u l d   p r o v i d e   a   s i m i l a r   N o d e   a u t o s c a l i n g   e x p e r i e n c e .   B o t h   w i l l   p r o v i s i o n   n e w   N o d e s   f o r   u n s c h e d u l a b l e   P o d s ,   a n d   b o t h   w i l l   c o n s o l i d a t e   t h e   N o d e s   t h a t   a r e   n o   l o n g e r   o p t i m a l l y   u t i l i z e d .   D i f f e r e n t   a u t o s c a l e r s   m a y   a l s o   p r o v i d e   f e a t u r e s   o u t s i d e   t h e   N o d e   a u t o s c a l i n g   s c o p e   d e s c r i b e d   o n   t h i s   p a g e ,   a n d   t h o s e   a d d i t i o n a l   f e a t u r e s   m a y   d i f f e r   b e t w e e n   t h e m .   C o n s u l t   t h e   s e c t i o n s   b e l o w ,   a n d   t h e   l i n k e d   d o c u m e n t a t i o n   f o r   t h e   i n d i v i d u a l   a u t o s c a l e r s   t o   d e c i d e   w h i c h   a u t o s c a l e r   f i t s   y o u r   u s e   c a s e   b e t t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13215"
  },
  {
    "question": "What is Cluster Autoscaler?",
    "answer": "C l u s t e r   A u t o s c a l e r   a d d s   o r   r e m o v e s   N o d e s   t o   p r e - c o n f i g u r e d   N o d e   g r o u p s .   N o d e   g r o u p s   g e n e r a l l y   m a p   t o   s o m e   s o r t   o f   c l o u d   p r o v i d e r   r e s o u r c e   g r o u p   ( m o s t   c o m m o n l y   a   V i r t u a l   M a c h i n e   g r o u p ) .   A   s i n g l e   i n s t a n c e   o f   C l u s t e r   A u t o s c a l e r   c a n   s i m u l t a n e o u s l y   m a n a g e   m u l t i p l e   N o d e   g r o u p s .   W h e n   p r o v i s i o n i n g ,   C l u s t e r   A u t o s c a l e r   w i l l   a d d   N o d e s   t o   t h e   g r o u p   t h a t   b e s t   f i t s   t h e   r e q u e s t s   o f   p e n d i n g   P o d s .   W h e n   c o n s o l i d a t i n g ,   C l u s t e r   A u t o s c a l e r   a l w a y s   s e l e c t s   s p e c i f i c   N o d e s   t o   r e m o v e ,   a s   o p p o s e d   t o   j u s t   r e s i z i n g   t h e   u n d e r l y i n g   c l o u d   p r o v i d e r   r e s o u r c e   g r o u p .   A d d i t i o n a l   c o n t e x t :   D o c u m e n t a t i o n   o v e r v i e w C l o u d   p r o v i d e r   i n t e g r a t i o n s C l u s t e r   A u t o s c a l e r   F A Q C o n t a c t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13216"
  },
  {
    "question": "What is Karpenter?",
    "answer": "K a r p e n t e r   a u t o - p r o v i s i o n s   N o d e s   b a s e d   o n   N o d e P o o l   c o n f i g u r a t i o n s   p r o v i d e d   b y   t h e   c l u s t e r   o p e r a t o r .   K a r p e n t e r   h a n d l e s   a l l   a s p e c t s   o f   n o d e   l i f e c y c l e ,   n o t   j u s t   a u t o s c a l i n g .   T h i s   i n c l u d e s   a u t o m a t i c a l l y   r e f r e s h i n g   N o d e s   o n c e   t h e y   r e a c h   a   c e r t a i n   l i f e t i m e ,   a n d   a u t o - u p g r a d i n g   N o d e s   w h e n   n e w   w o r k e r   N o d e   i m a g e s   a r e   r e l e a s e d .   I t   w o r k s   d i r e c t l y   w i t h   i n d i v i d u a l   c l o u d   p r o v i d e r   r e s o u r c e s   ( m o s t   c o m m o n l y   i n d i v i d u a l   V i r t u a l   M a c h i n e s ) ,   a n d   d o e s n ' t   r e l y   o n   c l o u d   p r o v i d e r   r e s o u r c e   g r o u p s .   A d d i t i o n a l   c o n t e x t :   D o c u m e n t a t i o n C l o u d   p r o v i d e r   i n t e g r a t i o n s K a r p e n t e r   F A Q C o n t a c t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13217"
  },
  {
    "question": "What is Implementation comparison?",
    "answer": "M a i n   d i f f e r e n c e s   b e t w e e n   C l u s t e r   A u t o s c a l e r   a n d   K a r p e n t e r :   C l u s t e r   A u t o s c a l e r   p r o v i d e s   f e a t u r e s   r e l a t e d   t o   j u s t   N o d e   a u t o s c a l i n g .   K a r p e n t e r   h a s   a   w i d e r   s c o p e ,   a n d   a l s o   p r o v i d e s   f e a t u r e s   i n t e n d e d   f o r   m a n a g i n g   N o d e   l i f e c y c l e   a l t o g e t h e r   ( f o r   e x a m p l e ,   u t i l i z i n g   d i s r u p t i o n   t o   a u t o - r e c r e a t e   N o d e s   o n c e   t h e y   r e a c h   a   c e r t a i n   l i f e t i m e ,   o r   a u t o - u p g r a d e   t h e m   t o   n e w   v e r s i o n s ) . C l u s t e r   A u t o s c a l e r   d o e s n ' t   s u p p o r t   a u t o - p r o v i s i o n i n g ,   t h e   N o d e   g r o u p s   i t   c a n   p r o v i s i o n   f r o m   h a v e   t o   b e   p r e - c o n f i g u r e d .   K a r p e n t e r   s u p p o r t s   a u t o - p r o v i s i o n i n g ,   s o   t h e   u s e r   o n l y   h a s   t o   c o n f i g u r e   a   s e t   o f   c o n s t r a i n t s   f o r   t h e   p r o v i s i o n e d   N o d e s ,   i n s t e a d   o f   f u l l y   c o n f i g u r i n g   h o m o g e n o u s   g r o u p s . C l u s t e r   A u t o s c a l e r   p r o v i d e s   c l o u d   p r o v i d e r   i n t e g r a t i o n s   d i r e c t l y ,   w h i c h   m e a n s   t h a t   t h e y ' r e   a   p a r t   o f   t h e   K u b e r n e t e s   p r o j e c t .   F o r   K a r p e n t e r ,   t h e   K u b e r n e t e s   p r o j e c t   p u b l i s h e s   K a r p e n t e r   a s   a   l i b r a r y   t h a t   c l o u d   p r o v i d e r s   c a n   i n t e g r a t e   w i t h   t o   b u i l d   a   N o d e   a u t o s c a l e r . C l u s t e r   A u t o s c a l e r   p r o v i d e s   i n t e g r a t i o n s   w i t h   n u m e r o u s   c l o u d   p r o v i d e r s ,   i n c l u d i n g   s m a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13218"
  },
  {
    "question": "What is Horizontal workload autoscaling?",
    "answer": "N o d e   a u t o s c a l i n g   u s u a l l y   w o r k s   i n   r e s p o n s e   t o   P o d s — i t   p r o v i s i o n s   n e w   N o d e s   t o   a c c o m m o d a t e   u n s c h e d u l a b l e   P o d s ,   a n d   t h e n   c o n s o l i d a t e s   t h e   N o d e s   o n c e   t h e y ' r e   n o   l o n g e r   n e e d e d .   H o r i z o n t a l   w o r k l o a d   a u t o s c a l i n g   a u t o m a t i c a l l y   s c a l e s   t h e   n u m b e r   o f   w o r k l o a d   r e p l i c a s   t o   m a i n t a i n   a   d e s i r e d   a v e r a g e   r e s o u r c e   u t i l i z a t i o n   a c r o s s   t h e   r e p l i c a s .   I n   o t h e r   w o r d s ,   i t   a u t o m a t i c a l l y   c r e a t e s   n e w   P o d s   i n   r e s p o n s e   t o   a p p l i c a t i o n   l o a d ,   a n d   t h e n   r e m o v e s   t h e   P o d s   o n c e   t h e   l o a d   d e c r e a s e s .   Y o u   c a n   u s e   N o d e   a u t o s c a l i n g   t o g e t h e r   w i t h   h o r i z o n t a l   w o r k l o a d   a u t o s c a l i n g   t o   a u t o s c a l e   t h e   N o d e s   i n   y o u r   c l u s t e r   b a s e d   o n   t h e   a v e r a g e   r e a l   r e s o u r c e   u t i l i z a t i o n   o f   y o u r   P o d s .   I f   t h e   a p p l i c a t i o n   l o a d   i n c r e a s e s ,   t h e   a v e r a g e   u t i l i z a t i o n   o f   i t s   P o d s   s h o u l d   a l s o   i n c r e a s e ,   p r o m p t i n g   w o r k l o a d   a u t o s c a l i n g   t o   c r e a t e   n e w   P o d s .   N o d e   a u t o s c a l i n g   s h o u l d   t h e n   p r o v i s i o n   n e w   N o d e s   t o   a c c o m m o d a t e   t h e   n e w   P o d s .   O n c e   t h e   a p p l i c a t i o n   l o a d   d e c r e a s e s ,   w o r k l o a d   a u t o s c a l i n g   s h o u l d   r e m o v e   u n n e c e s s a r y   P o d s .   N o d e   a u t o s c a l i n g   s h o u l d ,   i n   t u r n ,   c o n s o l i d a t e   t h e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13219"
  },
  {
    "question": "What is Vertical workload autoscaling?",
    "answer": "W h e n   u s i n g   N o d e   a u t o s c a l i n g ,   i t ' s   i m p o r t a n t   t o   s e t   P o d   r e s o u r c e   r e q u e s t s   c o r r e c t l y .   I f   t h e   r e q u e s t s   o f   a   g i v e n   P o d   a r e   t o o   l o w ,   p r o v i s i o n i n g   a   n e w   N o d e   f o r   i t   m i g h t   n o t   h e l p   t h e   P o d   a c t u a l l y   r u n .   I f   t h e   r e q u e s t s   o f   a   g i v e n   P o d   a r e   t o o   h i g h ,   i t   m i g h t   i n c o r r e c t l y   p r e v e n t   c o n s o l i d a t i n g   i t s   N o d e .   V e r t i c a l   w o r k l o a d   a u t o s c a l i n g   a u t o m a t i c a l l y   a d j u s t s   t h e   r e s o u r c e   r e q u e s t s   o f   y o u r   P o d s   b a s e d   o n   t h e i r   h i s t o r i c a l   r e s o u r c e   u s a g e .   Y o u   c a n   u s e   N o d e   a u t o s c a l i n g   t o g e t h e r   w i t h   v e r t i c a l   w o r k l o a d   a u t o s c a l i n g   i n   o r d e r   t o   a d j u s t   t h e   r e s o u r c e   r e q u e s t s   o f   y o u r   P o d s   w h i l e   p r e s e r v i n g   N o d e   a u t o s c a l i n g   c a p a b i l i t i e s   i n   y o u r   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13220"
  },
  {
    "question": "What is Related components?",
    "answer": "T h i s   s e c t i o n   d e s c r i b e s   c o m p o n e n t s   p r o v i d i n g   f u n c t i o n a l i t y   r e l a t e d   t o   N o d e   a u t o s c a l i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13221"
  },
  {
    "question": "What is Descheduler?",
    "answer": "T h e   d e s c h e d u l e r   i s   a   c o m p o n e n t   p r o v i d i n g   N o d e   c o n s o l i d a t i o n   f u n c t i o n a l i t y   b a s e d   o n   c u s t o m   p o l i c i e s ,   a s   w e l l   a s   o t h e r   f e a t u r e s   r e l a t e d   t o   o p t i m i z i n g   N o d e s   a n d   P o d s   ( f o r   e x a m p l e   d e l e t i n g   f r e q u e n t l y   r e s t a r t i n g   P o d s ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13222"
  },
  {
    "question": "What is Workload autoscalers based on cluster size?",
    "answer": "C l u s t e r   P r o p o r t i o n a l   A u t o s c a l e r   a n d   C l u s t e r   P r o p o r t i o n a l   V e r t i c a l   A u t o s c a l e r   p r o v i d e   h o r i z o n t a l ,   a n d   v e r t i c a l   w o r k l o a d   a u t o s c a l i n g   b a s e d   o n   t h e   n u m b e r   o f   N o d e s   i n   t h e   c l u s t e r .   Y o u   c a n   r e a d   m o r e   i n   a u t o s c a l i n g   b a s e d   o n   c l u s t e r   s i z e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13223"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   w o r k l o a d - l e v e l   a u t o s c a l i n g",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13224"
  },
  {
    "question": "What is 11.4 - Certificates?",
    "answer": "T o   l e a r n   h o w   t o   g e n e r a t e   c e r t i f i c a t e s   f o r   y o u r   c l u s t e r ,   s e e   C e r t i f i c a t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13225"
  },
  {
    "question": "What is 11.5 - Cluster Networking?",
    "answer": "N e t w o r k i n g   i s   a   c e n t r a l   p a r t   o f   K u b e r n e t e s ,   b u t   i t   c a n   b e   c h a l l e n g i n g   t o   u n d e r s t a n d   e x a c t l y   h o w   i t   i s   e x p e c t e d   t o   w o r k .   T h e r e   a r e   4   d i s t i n c t   n e t w o r k i n g   p r o b l e m s   t o   a d d r e s s :   H i g h l y - c o u p l e d   c o n t a i n e r - t o - c o n t a i n e r   c o m m u n i c a t i o n s :   t h i s   i s   s o l v e d   b y   P o d s   a n d   l o c a l h o s t   c o m m u n i c a t i o n s . P o d - t o - P o d   c o m m u n i c a t i o n s :   t h i s   i s   t h e   p r i m a r y   f o c u s   o f   t h i s   d o c u m e n t . P o d - t o - S e r v i c e   c o m m u n i c a t i o n s :   t h i s   i s   c o v e r e d   b y   S e r v i c e s . E x t e r n a l - t o - S e r v i c e   c o m m u n i c a t i o n s :   t h i s   i s   a l s o   c o v e r e d   b y   S e r v i c e s .   K u b e r n e t e s   i s   a l l   a b o u t   s h a r i n g   m a c h i n e s   a m o n g   a p p l i c a t i o n s .   T y p i c a l l y ,   s h a r i n g   m a c h i n e s   r e q u i r e s   e n s u r i n g   t h a t   t w o   a p p l i c a t i o n s   d o   n o t   t r y   t o   u s e   t h e   s a m e   p o r t s .   C o o r d i n a t i n g   p o r t s   a c r o s s   m u l t i p l e   d e v e l o p e r s   i s   v e r y   d i f f i c u l t   t o   d o   a t   s c a l e   a n d   e x p o s e s   u s e r s   t o   c l u s t e r - l e v e l   i s s u e s   o u t s i d e   o f   t h e i r   c o n t r o l .   D y n a m i c   p o r t   a l l o c a t i o n   b r i n g s   a   l o t   o f   c o m p l i c a t i o n s   t o   t h e   s y s t e m   -   e v e r y   a p p l i c a t i o n   h a s   t o   t a k e   p o r t s   a s   f l a g s ,   t h e   A P I   s e r v e r s   h a v e   t o   k n o w   h o w   t o   i n s e r t   d y n a m i c   p o r t   n u m b e r s   i n t o   c o n f i g u r a t i o n   b l o c k s ,   s e r v i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13226"
  },
  {
    "question": "What is Kubernetes IP address ranges?",
    "answer": "K u b e r n e t e s   c l u s t e r s   r e q u i r e   t o   a l l o c a t e   n o n - o v e r l a p p i n g   I P   a d d r e s s e s   f o r   P o d s ,   S e r v i c e s   a n d   N o d e s ,   f r o m   a   r a n g e   o f   a v a i l a b l e   a d d r e s s e s   c o n f i g u r e d   i n   t h e   f o l l o w i n g   c o m p o n e n t s :   T h e   n e t w o r k   p l u g i n   i s   c o n f i g u r e d   t o   a s s i g n   I P   a d d r e s s e s   t o   P o d s . T h e   k u b e - a p i s e r v e r   i s   c o n f i g u r e d   t o   a s s i g n   I P   a d d r e s s e s   t o   S e r v i c e s . T h e   k u b e l e t   o r   t h e   c l o u d - c o n t r o l l e r - m a n a g e r   i s   c o n f i g u r e d   t o   a s s i g n   I P   a d d r e s s e s   t o   N o d e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13227"
  },
  {
    "question": "What is Cluster networking types?",
    "answer": "K u b e r n e t e s   c l u s t e r s ,   a t t e n d i n g   t o   t h e   I P   f a m i l i e s   c o n f i g u r e d ,   c a n   b e   c a t e g o r i z e d   i n t o :   I P v 4   o n l y :   T h e   n e t w o r k   p l u g i n ,   k u b e - a p i s e r v e r   a n d   k u b e l e t / c l o u d - c o n t r o l l e r - m a n a g e r   a r e   c o n f i g u r e d   t o   a s s i g n   o n l y   I P v 4   a d d r e s s e s . I P v 6   o n l y :   T h e   n e t w o r k   p l u g i n ,   k u b e - a p i s e r v e r   a n d   k u b e l e t / c l o u d - c o n t r o l l e r - m a n a g e r   a r e   c o n f i g u r e d   t o   a s s i g n   o n l y   I P v 6   a d d r e s s e s . I P v 4 / I P v 6   o r   I P v 6 / I P v 4   d u a l - s t a c k : T h e   n e t w o r k   p l u g i n   i s   c o n f i g u r e d   t o   a s s i g n   I P v 4   a n d   I P v 6   a d d r e s s e s . T h e   k u b e - a p i s e r v e r   i s   c o n f i g u r e d   t o   a s s i g n   I P v 4   a n d   I P v 6   a d d r e s s e s . T h e   k u b e l e t   o r   c l o u d - c o n t r o l l e r - m a n a g e r   i s   c o n f i g u r e d   t o   a s s i g n   I P v 4   a n d   I P v 6   a d d r e s s . A l l   c o m p o n e n t s   m u s t   a g r e e   o n   t h e   c o n f i g u r e d   p r i m a r y   I P   f a m i l y .   T h e   n e t w o r k   p l u g i n   i s   c o n f i g u r e d   t o   a s s i g n   I P v 4   a n d   I P v 6   a d d r e s s e s . T h e   k u b e - a p i s e r v e r   i s   c o n f i g u r e d   t o   a s s i g n   I P v 4   a n d   I P v 6   a d d r e s s e s . T h e   k u b e l e t   o r   c l o u d - c o n t r o l l e r - m a n a g e r   i s   c o n f i g u r e d   t o   a s s i g n   I P v 4   a n d   I P v 6   a d d r e s s . A l l   c o m p o n e n t s   m u s t   a g r e e   o n   t h e   c o n f i g u r e d   p r i m a r y   I P   f a m i l y .   K u b e r n e t e s   c l u s t e r s   o n l y   c o n s i d e r   t h e   I P   f a m i l i e s   p r e s e n t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13228"
  },
  {
    "question": "What is How to implement the Kubernetes network model?",
    "answer": "T h e   n e t w o r k   m o d e l   i s   i m p l e m e n t e d   b y   t h e   c o n t a i n e r   r u n t i m e   o n   e a c h   n o d e .   T h e   m o s t   c o m m o n   c o n t a i n e r   r u n t i m e s   u s e   C o n t a i n e r   N e t w o r k   I n t e r f a c e   ( C N I )   p l u g i n s   t o   m a n a g e   t h e i r   n e t w o r k   a n d   s e c u r i t y   c a p a b i l i t i e s .   M a n y   d i f f e r e n t   C N I   p l u g i n s   e x i s t   f r o m   m a n y   d i f f e r e n t   v e n d o r s .   S o m e   o f   t h e s e   p r o v i d e   o n l y   b a s i c   f e a t u r e s   o f   a d d i n g   a n d   r e m o v i n g   n e t w o r k   i n t e r f a c e s ,   w h i l e   o t h e r s   p r o v i d e   m o r e   s o p h i s t i c a t e d   s o l u t i o n s ,   s u c h   a s   i n t e g r a t i o n   w i t h   o t h e r   c o n t a i n e r   o r c h e s t r a t i o n   s y s t e m s ,   r u n n i n g   m u l t i p l e   C N I   p l u g i n s ,   a d v a n c e d   I P A M   f e a t u r e s   e t c .   S e e   t h i s   p a g e   f o r   a   n o n - e x h a u s t i v e   l i s t   o f   n e t w o r k i n g   a d d o n s   s u p p o r t e d   b y   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13229"
  },
  {
    "question": "What is What's next?",
    "answer": "T h e   e a r l y   d e s i g n   o f   t h e   n e t w o r k i n g   m o d e l   a n d   i t s   r a t i o n a l e   a r e   d e s c r i b e d   i n   m o r e   d e t a i l   i n   t h e   n e t w o r k i n g   d e s i g n   d o c u m e n t .   F o r   f u t u r e   p l a n s   a n d   s o m e   o n - g o i n g   e f f o r t s   t h a t   a i m   t o   i m p r o v e   K u b e r n e t e s   n e t w o r k i n g ,   p l e a s e   r e f e r   t o   t h e   S I G - N e t w o r k   K E P s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13230"
  },
  {
    "question": "What is 11.6 - Admission Webhook Good Practices?",
    "answer": "T h i s   p a g e   p r o v i d e s   g o o d   p r a c t i c e s   a n d   c o n s i d e r a t i o n s   w h e n   d e s i g n i n g   a d m i s s i o n   w e b h o o k s   i n   K u b e r n e t e s .   T h i s   i n f o r m a t i o n   i s   i n t e n d e d   f o r   c l u s t e r   o p e r a t o r s   w h o   r u n   a d m i s s i o n   w e b h o o k   s e r v e r s   o r   t h i r d - p a r t y   a p p l i c a t i o n s   t h a t   m o d i f y   o r   v a l i d a t e   y o u r   A P I   r e q u e s t s .   B e f o r e   r e a d i n g   t h i s   p a g e ,   e n s u r e   t h a t   y o u ' r e   f a m i l i a r   w i t h   t h e   f o l l o w i n g   c o n c e p t s :   A d m i s s i o n   c o n t r o l l e r s A d m i s s i o n   w e b h o o k s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13231"
  },
  {
    "question": "What is Importance of good webhook design?",
    "answer": "A d m i s s i o n   c o n t r o l   o c c u r s   w h e n   a n y   c r e a t e ,   u p d a t e ,   o r   d e l e t e   r e q u e s t   i s   s e n t   t o   t h e   K u b e r n e t e s   A P I .   A d m i s s i o n   c o n t r o l l e r s   i n t e r c e p t   r e q u e s t s   t h a t   m a t c h   s p e c i f i c   c r i t e r i a   t h a t   y o u   d e f i n e .   T h e s e   r e q u e s t s   a r e   t h e n   s e n t   t o   m u t a t i n g   a d m i s s i o n   w e b h o o k s   o r   v a l i d a t i n g   a d m i s s i o n   w e b h o o k s .   T h e s e   w e b h o o k s   a r e   o f t e n   w r i t t e n   t o   e n s u r e   t h a t   s p e c i f i c   f i e l d s   i n   o b j e c t   s p e c i f i c a t i o n s   e x i s t   o r   h a v e   s p e c i f i c   a l l o w e d   v a l u e s .   W e b h o o k s   a r e   a   p o w e r f u l   m e c h a n i s m   t o   e x t e n d   t h e   K u b e r n e t e s   A P I .   B a d l y - d e s i g n e d   w e b h o o k s   o f t e n   r e s u l t   i n   w o r k l o a d   d i s r u p t i o n s   b e c a u s e   o f   h o w   m u c h   c o n t r o l   t h e   w e b h o o k s   h a v e   o v e r   o b j e c t s   i n   t h e   c l u s t e r .   L i k e   o t h e r   A P I   e x t e n s i o n   m e c h a n i s m s ,   w e b h o o k s   a r e   c h a l l e n g i n g   t o   t e s t   a t   s c a l e   f o r   c o m p a t i b i l i t y   w i t h   a l l   o f   y o u r   w o r k l o a d s ,   o t h e r   w e b h o o k s ,   a d d - o n s ,   a n d   p l u g i n s .   A d d i t i o n a l l y ,   w i t h   e v e r y   r e l e a s e ,   K u b e r n e t e s   a d d s   o r   m o d i f i e s   t h e   A P I   w i t h   n e w   f e a t u r e s ,   f e a t u r e   p r o m o t i o n s   t o   b e t a   o r   s t a b l e   s t a t u s ,   a n d   d e p r e c a t i o n s .   E v e n   s t a b l e   K u b e r n e t e s   A P I s   a r e   l i k e l y   t o   c h a n g e .   F o r   e x a m p l e ,   t h e   P o d   A P I   c h ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13232"
  },
  {
    "question": "What is Identify whether you use admission webhooks?",
    "answer": "E v e n   i f   y o u   d o n ' t   r u n   y o u r   o w n   a d m i s s i o n   w e b h o o k s ,   s o m e   t h i r d - p a r t y   a p p l i c a t i o n s   t h a t   y o u   r u n   i n   y o u r   c l u s t e r s   m i g h t   u s e   m u t a t i n g   o r   v a l i d a t i n g   a d m i s s i o n   w e b h o o k s .   T o   c h e c k   w h e t h e r   y o u r   c l u s t e r   h a s   a n y   m u t a t i n g   a d m i s s i o n   w e b h o o k s ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   g e t   m u t a t i n g w e b h o o k c o n f i g u r a t i o n s   T h e   o u t p u t   l i s t s   a n y   m u t a t i n g   a d m i s s i o n   c o n t r o l l e r s   i n   t h e   c l u s t e r .   T o   c h e c k   w h e t h e r   y o u r   c l u s t e r   h a s   a n y   v a l i d a t i n g   a d m i s s i o n   w e b h o o k s ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   g e t   v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s   T h e   o u t p u t   l i s t s   a n y   v a l i d a t i n g   a d m i s s i o n   c o n t r o l l e r s   i n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13233"
  },
  {
    "question": "What is Choose an admission control mechanism?",
    "answer": "K u b e r n e t e s   i n c l u d e s   m u l t i p l e   a d m i s s i o n   c o n t r o l   a n d   p o l i c y   e n f o r c e m e n t   o p t i o n s .   K n o w i n g   w h e n   t o   u s e   a   s p e c i f i c   o p t i o n   c a n   h e l p   y o u   t o   i m p r o v e   l a t e n c y   a n d   p e r f o r m a n c e ,   r e d u c e   m a n a g e m e n t   o v e r h e a d ,   a n d   a v o i d   i s s u e s   d u r i n g   v e r s i o n   u p g r a d e s .   T h e   f o l l o w i n g   t a b l e   d e s c r i b e s   t h e   m e c h a n i s m s   t h a t   l e t   y o u   m u t a t e   o r   v a l i d a t e   r e s o u r c e s   d u r i n g   a d m i s s i o n :   M a k e   c r i t i c a l   m o d i f i c a t i o n s   t h a t   m u s t   h a p p e n   b e f o r e   r e s o u r c e   a d m i s s i o n . M a k e   c o m p l e x   m o d i f i c a t i o n s   t h a t   r e q u i r e   a d v a n c e d   l o g i c ,   l i k e   c a l l i n g   e x t e r n a l   A P I s .   M a k e   c r i t i c a l   m o d i f i c a t i o n s   t h a t   m u s t   h a p p e n   b e f o r e   r e s o u r c e   a d m i s s i o n . M a k e   s i m p l e   m o d i f i c a t i o n s ,   s u c h   a s   a d j u s t i n g   l a b e l s   o r   r e p l i c a   c o u n t s .   V a l i d a t e   c r i t i c a l   c o n f i g u r a t i o n s   b e f o r e   r e s o u r c e   a d m i s s i o n . E n f o r c e   c o m p l e x   p o l i c y   l o g i c   b e f o r e   a d m i s s i o n .   V a l i d a t e   c r i t i c a l   c o n f i g u r a t i o n s   b e f o r e   r e s o u r c e   a d m i s s i o n . E n f o r c e   p o l i c y   l o g i c   u s i n g   C E L   e x p r e s s i o n s .   I n   g e n e r a l ,   u s e   w e b h o o k   a d m i s s i o n   c o n t r o l   w h e n   y o u   w a n t   a n   e x t e n s i b l e   w a y   t o   d e c l a r e   o r   c o n f i g u r e   t h e   l o g i c .   U s e   b u i l t - i n   C E L - b a s e d   a d m i s s i o n   c o n t r o l   w h e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13234"
  },
  {
    "question": "What is Use built-in validation and defaulting for CustomResourceDefinitions?",
    "answer": "I f   y o u   u s e   C u s t o m R e s o u r c e D e f i n i t i o n s ,   d o n ' t   u s e   a d m i s s i o n   w e b h o o k s   t o   v a l i d a t e   v a l u e s   i n   C u s t o m R e s o u r c e   s p e c i f i c a t i o n s   o r   t o   s e t   d e f a u l t   v a l u e s   f o r   f i e l d s .   K u b e r n e t e s   l e t s   y o u   d e f i n e   v a l i d a t i o n   r u l e s   a n d   d e f a u l t   f i e l d   v a l u e s   w h e n   y o u   c r e a t e   C u s t o m R e s o u r c e D e f i n i t i o n s .   T o   l e a r n   m o r e ,   s e e   t h e   f o l l o w i n g   r e s o u r c e s :   V a l i d a t i o n   r u l e s D e f a u l t i n g",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13235"
  },
  {
    "question": "What is Performance and latency?",
    "answer": "T h i s   s e c t i o n   d e s c r i b e s   r e c o m m e n d a t i o n s   f o r   i m p r o v i n g   p e r f o r m a n c e   a n d   r e d u c i n g   l a t e n c y .   I n   s u m m a r y ,   t h e s e   a r e   a s   f o l l o w s :   C o n s o l i d a t e   w e b h o o k s   a n d   l i m i t   t h e   n u m b e r   o f   A P I   c a l l s   p e r   w e b h o o k . U s e   a u d i t   l o g s   t o   c h e c k   f o r   w e b h o o k s   t h a t   r e p e a t e d l y   d o   t h e   s a m e   a c t i o n . U s e   l o a d   b a l a n c i n g   f o r   w e b h o o k   a v a i l a b i l i t y . S e t   a   s m a l l   t i m e o u t   v a l u e   f o r   e a c h   w e b h o o k . C o n s i d e r   c l u s t e r   a v a i l a b i l i t y   n e e d s   d u r i n g   w e b h o o k   d e s i g n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13236"
  },
  {
    "question": "What is Design admission webhooks for low latency?",
    "answer": "M u t a t i n g   a d m i s s i o n   w e b h o o k s   a r e   c a l l e d   i n   s e q u e n c e .   D e p e n d i n g   o n   t h e   m u t a t i n g   w e b h o o k   s e t u p ,   s o m e   w e b h o o k s   m i g h t   b e   c a l l e d   m u l t i p l e   t i m e s .   E v e r y   m u t a t i n g   w e b h o o k   c a l l   a d d s   l a t e n c y   t o   t h e   a d m i s s i o n   p r o c e s s .   T h i s   i s   u n l i k e   v a l i d a t i n g   w e b h o o k s ,   w h i c h   g e t   c a l l e d   i n   p a r a l l e l .   W h e n   d e s i g n i n g   y o u r   m u t a t i n g   w e b h o o k s ,   c o n s i d e r   y o u r   l a t e n c y   r e q u i r e m e n t s   a n d   t o l e r a n c e .   T h e   m o r e   m u t a t i n g   w e b h o o k s   t h e r e   a r e   i n   y o u r   c l u s t e r ,   t h e   g r e a t e r   t h e   c h a n c e   o f   l a t e n c y   i n c r e a s e s .   C o n s i d e r   t h e   f o l l o w i n g   t o   r e d u c e   l a t e n c y :   C o n s o l i d a t e   w e b h o o k s   t h a t   p e r f o r m   a   s i m i l a r   m u t a t i o n   o n   d i f f e r e n t   o b j e c t s . R e d u c e   t h e   n u m b e r   o f   A P I   c a l l s   m a d e   i n   t h e   m u t a t i n g   w e b h o o k   s e r v e r   l o g i c . L i m i t   t h e   m a t c h   c o n d i t i o n s   o f   e a c h   m u t a t i n g   w e b h o o k   t o   r e d u c e   h o w   m a n y   w e b h o o k s   a r e   t r i g g e r e d   b y   a   s p e c i f i c   A P I   r e q u e s t . C o n s o l i d a t e   s m a l l   w e b h o o k s   i n t o   o n e   s e r v e r   a n d   c o n f i g u r a t i o n   t o   h e l p   w i t h   o r d e r i n g   a n d   o r g a n i z a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13237"
  },
  {
    "question": "What is Prevent loops caused by competing controllers?",
    "answer": "C o n s i d e r   a n y   o t h e r   c o m p o n e n t s   t h a t   r u n   i n   y o u r   c l u s t e r   t h a t   m i g h t   c o n f l i c t   w i t h   t h e   m u t a t i o n s   t h a t   y o u r   w e b h o o k   m a k e s .   F o r   e x a m p l e ,   i f   y o u r   w e b h o o k   a d d s   a   l a b e l   t h a t   a   d i f f e r e n t   c o n t r o l l e r   r e m o v e s ,   y o u r   w e b h o o k   g e t s   c a l l e d   a g a i n .   T h i s   l e a d s   t o   a   l o o p .   T o   d e t e c t   t h e s e   l o o p s ,   t r y   t h e   f o l l o w i n g :   U p d a t e   y o u r   c l u s t e r   a u d i t   p o l i c y   t o   l o g   a u d i t   e v e n t s .   U s e   t h e   f o l l o w i n g   p a r a m e t e r s : l e v e l :   R e q u e s t R e s p o n s e v e r b s :   [ \" p a t c h \" ] o m i t S t a g e s :   R e q u e s t R e c e i v e d S e t   t h e   a u d i t   r u l e   t o   c r e a t e   e v e n t s   f o r   t h e   s p e c i f i c   r e s o u r c e s   t h a t   y o u r   w e b h o o k   m u t a t e s . C h e c k   y o u r   a u d i t   e v e n t s   f o r   w e b h o o k s   b e i n g   r e i n v o k e d   m u l t i p l e   t i m e s   w i t h   t h e   s a m e   p a t c h   b e i n g   a p p l i e d   t o   t h e   s a m e   o b j e c t ,   o r   f o r   a n   o b j e c t   h a v i n g   a   f i e l d   u p d a t e d   a n d   r e v e r t e d   m u l t i p l e   t i m e s .   U p d a t e   y o u r   c l u s t e r   a u d i t   p o l i c y   t o   l o g   a u d i t   e v e n t s .   U s e   t h e   f o l l o w i n g   p a r a m e t e r s :   l e v e l :   R e q u e s t R e s p o n s e v e r b s :   [ \" p a t c h \" ] o m i t S t a g e s :   R e q u e s t R e c e i v e d   S e t   t h e   a u d i t   r u l e   t o   c r e a t e   e v e n t s   f o r   t h e   s p e c i f i c   r e s o u r c e s   t h a t   y o u r   w e b h o o k   m u t a t e s .   C h e c k   y o u r   a u d i t   e v e n t s   f o r   w e b h o o k s   b ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13238"
  },
  {
    "question": "What is Set a small timeout value?",
    "answer": "A d m i s s i o n   w e b h o o k s   s h o u l d   e v a l u a t e   a s   q u i c k l y   a s   p o s s i b l e   ( t y p i c a l l y   i n   m i l l i s e c o n d s ) ,   s i n c e   t h e y   a d d   t o   A P I   r e q u e s t   l a t e n c y .   U s e   a   s m a l l   t i m e o u t   f o r   w e b h o o k s .   F o r   d e t a i l s ,   s e e   T i m e o u t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13239"
  },
  {
    "question": "What is Use a load balancer to ensure webhook availability?",
    "answer": "A d m i s s i o n   w e b h o o k s   s h o u l d   l e v e r a g e   s o m e   f o r m   o f   l o a d - b a l a n c i n g   t o   p r o v i d e   h i g h   a v a i l a b i l i t y   a n d   p e r f o r m a n c e   b e n e f i t s .   I f   a   w e b h o o k   i s   r u n n i n g   w i t h i n   t h e   c l u s t e r ,   y o u   c a n   r u n   m u l t i p l e   w e b h o o k   b a c k e n d s   b e h i n d   a   S e r v i c e   o f   t y p e   C l u s t e r I P .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13240"
  },
  {
    "question": "What is Use a high-availability deployment model?",
    "answer": "C o n s i d e r   y o u r   c l u s t e r ' s   a v a i l a b i l i t y   r e q u i r e m e n t s   w h e n   d e s i g n i n g   y o u r   w e b h o o k .   F o r   e x a m p l e ,   d u r i n g   n o d e   d o w n t i m e   o r   z o n a l   o u t a g e s ,   K u b e r n e t e s   m a r k s   P o d s   a s   N o t R e a d y   t o   a l l o w   l o a d   b a l a n c e r s   t o   r e r o u t e   t r a f f i c   t o   a v a i l a b l e   z o n e s   a n d   n o d e s .   T h e s e   u p d a t e s   t o   P o d s   m i g h t   t r i g g e r   y o u r   m u t a t i n g   w e b h o o k s .   D e p e n d i n g   o n   t h e   n u m b e r   o f   a f f e c t e d   P o d s ,   t h e   m u t a t i n g   w e b h o o k   s e r v e r   h a s   a   r i s k   o f   t i m i n g   o u t   o r   c a u s i n g   d e l a y s   i n   P o d   p r o c e s s i n g .   A s   a   r e s u l t ,   t r a f f i c   w o n ' t   g e t   r e r o u t e d   a s   q u i c k l y   a s   y o u   n e e d .   C o n s i d e r   s i t u a t i o n s   l i k e   t h e   p r e c e d i n g   e x a m p l e   w h e n   w r i t i n g   y o u r   w e b h o o k s .   E x c l u d e   o p e r a t i o n s   t h a t   a r e   a   r e s u l t   o f   K u b e r n e t e s   r e s p o n d i n g   t o   u n a v o i d a b l e   i n c i d e n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13241"
  },
  {
    "question": "What is Request filtering?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   r e c o m m e n d a t i o n s   f o r   f i l t e r i n g   w h i c h   r e q u e s t s   t r i g g e r   s p e c i f i c   w e b h o o k s .   I n   s u m m a r y ,   t h e s e   a r e   a s   f o l l o w s :   L i m i t   t h e   w e b h o o k   s c o p e   t o   a v o i d   s y s t e m   c o m p o n e n t s   a n d   r e a d - o n l y   r e q u e s t s . L i m i t   w e b h o o k s   t o   s p e c i f i c   n a m e s p a c e s . U s e   m a t c h   c o n d i t i o n s   t o   p e r f o r m   f i n e - g r a i n e d   r e q u e s t   f i l t e r i n g . M a t c h   a l l   v e r s i o n s   o f   a n   o b j e c t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13242"
  },
  {
    "question": "What is Limit the scope of each webhook?",
    "answer": "A d m i s s i o n   w e b h o o k s   a r e   o n l y   c a l l e d   w h e n   a n   A P I   r e q u e s t   m a t c h e s   t h e   c o r r e s p o n d i n g   w e b h o o k   c o n f i g u r a t i o n .   L i m i t   t h e   s c o p e   o f   e a c h   w e b h o o k   t o   r e d u c e   u n n e c e s s a r y   c a l l s   t o   t h e   w e b h o o k   s e r v e r .   C o n s i d e r   t h e   f o l l o w i n g   s c o p e   l i m i t a t i o n s :   A v o i d   m a t c h i n g   o b j e c t s   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   I f   y o u   r u n   y o u r   o w n   P o d s   i n   t h e   k u b e - s y s t e m   n a m e s p a c e ,   u s e   a n   o b j e c t S e l e c t o r   t o   a v o i d   m u t a t i n g   a   c r i t i c a l   w o r k l o a d . D o n ' t   m u t a t e   n o d e   l e a s e s ,   w h i c h   e x i s t   a s   L e a s e   o b j e c t s   i n   t h e   k u b e - n o d e - l e a s e   s y s t e m   n a m e s p a c e .   M u t a t i n g   n o d e   l e a s e s   m i g h t   r e s u l t   i n   f a i l e d   n o d e   u p g r a d e s .   O n l y   a p p l y   v a l i d a t i o n   c o n t r o l s   t o   L e a s e   o b j e c t s   i n   t h i s   n a m e s p a c e   i f   y o u ' r e   c o n f i d e n t   t h a t   t h e   c o n t r o l s   w o n ' t   p u t   y o u r   c l u s t e r   a t   r i s k . D o n ' t   m u t a t e   T o k e n R e v i e w   o r   S u b j e c t A c c e s s R e v i e w   o b j e c t s .   T h e s e   a r e   a l w a y s   r e a d - o n l y   r e q u e s t s .   M o d i f y i n g   t h e s e   o b j e c t s   m i g h t   b r e a k   y o u r   c l u s t e r . L i m i t   e a c h   w e b h o o k   t o   a   s p e c i f i c   n a m e s p a c e   b y   u s i n g   a   n a m e s p a c e S e l e c t o r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13243"
  },
  {
    "question": "What is Filter for specific requests by using match conditions?",
    "answer": "A d m i s s i o n   c o n t r o l l e r s   s u p p o r t   m u l t i p l e   f i e l d s   t h a t   y o u   c a n   u s e   t o   m a t c h   r e q u e s t s   t h a t   m e e t   s p e c i f i c   c r i t e r i a .   F o r   e x a m p l e ,   y o u   c a n   u s e   a   n a m e s p a c e S e l e c t o r   t o   f i l t e r   f o r   r e q u e s t s   t h a t   t a r g e t   a   s p e c i f i c   n a m e s p a c e .   F o r   m o r e   f i n e - g r a i n e d   r e q u e s t   f i l t e r i n g ,   u s e   t h e   m a t c h C o n d i t i o n s   f i e l d   i n   y o u r   w e b h o o k   c o n f i g u r a t i o n .   T h i s   f i e l d   l e t s   y o u   w r i t e   m u l t i p l e   C E L   e x p r e s s i o n s   t h a t   m u s t   e v a l u a t e   t o   t r u e   f o r   a   r e q u e s t   t o   t r i g g e r   y o u r   a d m i s s i o n   w e b h o o k .   U s i n g   m a t c h C o n d i t i o n s   m i g h t   s i g n i f i c a n t l y   r e d u c e   t h e   n u m b e r   o f   c a l l s   t o   y o u r   w e b h o o k   s e r v e r .   F o r   d e t a i l s ,   s e e   M a t c h i n g   r e q u e s t s :   m a t c h C o n d i t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13244"
  },
  {
    "question": "What is Match all versions of an API?",
    "answer": "B y   d e f a u l t ,   a d m i s s i o n   w e b h o o k s   r u n   o n   a n y   A P I   v e r s i o n s   t h a t   a f f e c t   a   s p e c i f i e d   r e s o u r c e .   T h e   m a t c h P o l i c y   f i e l d   i n   t h e   w e b h o o k   c o n f i g u r a t i o n   c o n t r o l s   t h i s   b e h a v i o r .   S p e c i f y   a   v a l u e   o f   E q u i v a l e n t   i n   t h e   m a t c h P o l i c y   f i e l d   o r   o m i t   t h e   f i e l d   t o   a l l o w   t h e   w e b h o o k   t o   r u n   o n   a n y   A P I   v e r s i o n .   F o r   d e t a i l s ,   s e e   M a t c h i n g   r e q u e s t s :   m a t c h P o l i c y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13245"
  },
  {
    "question": "What is Mutation scope and field considerations?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   r e c o m m e n d a t i o n s   f o r   t h e   s c o p e   o f   m u t a t i o n s   a n d   a n y   s p e c i a l   c o n s i d e r a t i o n s   f o r   o b j e c t   f i e l d s .   I n   s u m m a r y ,   t h e s e   a r e   a s   f o l l o w s :   P a t c h   o n l y   t h e   f i e l d s   t h a t   y o u   n e e d   t o   p a t c h . D o n ' t   o v e r w r i t e   a r r a y   v a l u e s . A v o i d   s i d e   e f f e c t s   i n   m u t a t i o n s   w h e n   p o s s i b l e . A v o i d   s e l f - m u t a t i o n s . F a i l   o p e n   a n d   v a l i d a t e   t h e   f i n a l   s t a t e . P l a n   f o r   f u t u r e   f i e l d   u p d a t e s   i n   l a t e r   v e r s i o n s . P r e v e n t   w e b h o o k s   f r o m   s e l f - t r i g g e r i n g . D o n ' t   c h a n g e   i m m u t a b l e   o b j e c t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13246"
  },
  {
    "question": "What is Patch only required fields?",
    "answer": "A d m i s s i o n   w e b h o o k   s e r v e r s   s e n d   H T T P   r e s p o n s e s   t o   i n d i c a t e   w h a t   t o   d o   w i t h   a   s p e c i f i c   K u b e r n e t e s   A P I   r e q u e s t .   T h i s   r e s p o n s e   i s   a n   A d m i s s i o n R e v i e w   o b j e c t .   A   m u t a t i n g   w e b h o o k   c a n   a d d   s p e c i f i c   f i e l d s   t o   m u t a t e   b e f o r e   a l l o w i n g   a d m i s s i o n   b y   u s i n g   t h e   p a t c h T y p e   f i e l d   a n d   t h e   p a t c h   f i e l d   i n   t h e   r e s p o n s e .   E n s u r e   t h a t   y o u   o n l y   m o d i f y   t h e   f i e l d s   t h a t   r e q u i r e   a   c h a n g e .   F o r   e x a m p l e ,   c o n s i d e r   a   m u t a t i n g   w e b h o o k   t h a t ' s   c o n f i g u r e d   t o   e n s u r e   t h a t   w e b - s e r v e r   D e p l o y m e n t s   h a v e   a t   l e a s t   t h r e e   r e p l i c a s .   W h e n   a   r e q u e s t   t o   c r e a t e   a   D e p l o y m e n t   o b j e c t   m a t c h e s   y o u r   w e b h o o k   c o n f i g u r a t i o n ,   t h e   w e b h o o k   s h o u l d   o n l y   u p d a t e   t h e   v a l u e   i n   t h e   s p e c . r e p l i c a s   f i e l d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13247"
  },
  {
    "question": "What is Don't overwrite array values?",
    "answer": "F i e l d s   i n   K u b e r n e t e s   o b j e c t   s p e c i f i c a t i o n s   m i g h t   i n c l u d e   a r r a y s .   S o m e   a r r a y s   c o n t a i n   k e y : v a l u e   p a i r s   ( l i k e   t h e   e n v V a r   f i e l d   i n   a   c o n t a i n e r   s p e c i f i c a t i o n ) ,   w h i l e   o t h e r   a r r a y s   a r e   u n k e y e d   ( l i k e   t h e   r e a d i n e s s G a t e s   f i e l d   i n   a   P o d   s p e c i f i c a t i o n ) .   T h e   o r d e r   o f   v a l u e s   i n   a n   a r r a y   f i e l d   m i g h t   m a t t e r   i n   s o m e   s i t u a t i o n s .   F o r   e x a m p l e ,   t h e   o r d e r   o f   a r g u m e n t s   i n   t h e   a r g s   f i e l d   o f   a   c o n t a i n e r   s p e c i f i c a t i o n   m i g h t   a f f e c t   t h e   c o n t a i n e r .   C o n s i d e r   t h e   f o l l o w i n g   w h e n   m o d i f y i n g   a r r a y s :   W h e n e v e r   p o s s i b l e ,   u s e   t h e   a d d   J S O N P a t c h   o p e r a t i o n   i n s t e a d   o f   r e p l a c e   t o   a v o i d   a c c i d e n t a l l y   r e p l a c i n g   a   r e q u i r e d   v a l u e . T r e a t   a r r a y s   t h a t   d o n ' t   u s e   k e y : v a l u e   p a i r s   a s   s e t s . E n s u r e   t h a t   t h e   v a l u e s   i n   t h e   f i e l d   t h a t   y o u   m o d i f y   a r e n ' t   r e q u i r e d   t o   b e   i n   a   s p e c i f i c   o r d e r . D o n ' t   o v e r w r i t e   e x i s t i n g   k e y : v a l u e   p a i r s   u n l e s s   a b s o l u t e l y   n e c e s s a r y . U s e   c a u t i o n   w h e n   m o d i f y i n g   l a b e l   f i e l d s .   A n   a c c i d e n t a l   m o d i f i c a t i o n   m i g h t   c a u s e   l a b e l   s e l e c t o r s   t o   b r e a k ,   r e s u l t i n g   i n   u n i n t e n d e d   b e h a v i o r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13248"
  },
  {
    "question": "What is Avoid side effects?",
    "answer": "E n s u r e   t h a t   y o u r   w e b h o o k s   o p e r a t e   o n l y   o n   t h e   c o n t e n t   o f   t h e   A d m i s s i o n R e v i e w   t h a t ' s   s e n t   t o   t h e m ,   a n d   d o   n o t   m a k e   o u t - o f - b a n d   c h a n g e s .   T h e s e   a d d i t i o n a l   c h a n g e s ,   c a l l e d   s i d e   e f f e c t s ,   m i g h t   c a u s e   c o n f l i c t s   d u r i n g   a d m i s s i o n   i f   t h e y   a r e n ' t   r e c o n c i l e d   p r o p e r l y .   T h e   . w e b h o o k s [ ] . s i d e E f f e c t s   f i e l d   s h o u l d   b e   s e t   t o   N o n e   i f   a   w e b h o o k   d o e s n ' t   h a v e   a n y   s i d e   e f f e c t .   I f   s i d e   e f f e c t s   a r e   r e q u i r e d   d u r i n g   t h e   a d m i s s i o n   e v a l u a t i o n ,   t h e y   m u s t   b e   s u p p r e s s e d   w h e n   p r o c e s s i n g   a n   A d m i s s i o n R e v i e w   o b j e c t   w i t h   d r y R u n   s e t   t o   t r u e ,   a n d   t h e   . w e b h o o k s [ ] . s i d e E f f e c t s   f i e l d   s h o u l d   b e   s e t   t o   N o n e O n D r y R u n .   F o r   d e t a i l s ,   s e e   S i d e   e f f e c t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13249"
  },
  {
    "question": "What is Avoid self-mutations?",
    "answer": "A   w e b h o o k   r u n n i n g   i n s i d e   t h e   c l u s t e r   m i g h t   c a u s e   d e a d l o c k s   f o r   i t s   o w n   d e p l o y m e n t   i f   i t   i s   c o n f i g u r e d   t o   i n t e r c e p t   r e s o u r c e s   r e q u i r e d   t o   s t a r t   i t s   o w n   P o d s .   F o r   e x a m p l e ,   a   m u t a t i n g   a d m i s s i o n   w e b h o o k   i s   c o n f i g u r e d   t o   a d m i t   c r e a t e   P o d   r e q u e s t s   o n l y   i f   a   c e r t a i n   l a b e l   i s   s e t   i n   t h e   P o d   ( s u c h   a s   e n v :   p r o d ) .   T h e   w e b h o o k   s e r v e r   r u n s   i n   a   D e p l o y m e n t   t h a t   d o e s n ' t   s e t   t h e   e n v   l a b e l .   W h e n   a   n o d e   t h a t   r u n s   t h e   w e b h o o k   s e r v e r   P o d s   b e c o m e s   u n h e a l t h y ,   t h e   w e b h o o k   D e p l o y m e n t   t r i e s   t o   r e s c h e d u l e   t h e   P o d s   t o   a n o t h e r   n o d e .   H o w e v e r ,   t h e   e x i s t i n g   w e b h o o k   s e r v e r   r e j e c t s   t h e   r e q u e s t s   s i n c e   t h e   e n v   l a b e l   i s   u n s e t .   A s   a   r e s u l t ,   t h e   m i g r a t i o n   c a n n o t   h a p p e n .   E x c l u d e   t h e   n a m e s p a c e   w h e r e   y o u r   w e b h o o k   i s   r u n n i n g   w i t h   a   n a m e s p a c e S e l e c t o r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13250"
  },
  {
    "question": "What is Avoid dependency loops?",
    "answer": "D e p e n d e n c y   l o o p s   c a n   o c c u r   i n   s c e n a r i o s   l i k e   t h e   f o l l o w i n g :   T w o   w e b h o o k s   c h e c k   e a c h   o t h e r ' s   P o d s .   I f   b o t h   w e b h o o k s   b e c o m e   u n a v a i l a b l e   a t   t h e   s a m e   t i m e ,   n e i t h e r   w e b h o o k   c a n   s t a r t . Y o u r   w e b h o o k   i n t e r c e p t s   c l u s t e r   a d d - o n   c o m p o n e n t s ,   s u c h   a s   n e t w o r k i n g   p l u g i n s   o r   s t o r a g e   p l u g i n s ,   t h a t   y o u r   w e b h o o k   d e p e n d s   o n .   I f   b o t h   t h e   w e b h o o k   a n d   t h e   d e p e n d e n t   a d d - o n   b e c o m e   u n a v a i l a b l e ,   n e i t h e r   c o m p o n e n t   c a n   f u n c t i o n .   T o   a v o i d   t h e s e   d e p e n d e n c y   l o o p s ,   t r y   t h e   f o l l o w i n g :   U s e   V a l i d a t i n g A d m i s s i o n P o l i c i e s   t o   a v o i d   i n t r o d u c i n g   d e p e n d e n c i e s . P r e v e n t   w e b h o o k s   f r o m   v a l i d a t i n g   o r   m u t a t i n g   o t h e r   w e b h o o k s .   C o n s i d e r   e x c l u d i n g   s p e c i f i c   n a m e s p a c e s   f r o m   t r i g g e r i n g   y o u r   w e b h o o k . P r e v e n t   y o u r   w e b h o o k s   f r o m   a c t i n g   o n   d e p e n d e n t   a d d - o n s   b y   u s i n g   a n   o b j e c t S e l e c t o r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13251"
  },
  {
    "question": "What is Fail open and validate the final state?",
    "answer": "M u t a t i n g   a d m i s s i o n   w e b h o o k s   s u p p o r t   t h e   f a i l u r e P o l i c y   c o n f i g u r a t i o n   f i e l d .   T h i s   f i e l d   i n d i c a t e s   w h e t h e r   t h e   A P I   s e r v e r   s h o u l d   a d m i t   o r   r e j e c t   t h e   r e q u e s t   i f   t h e   w e b h o o k   f a i l s .   W e b h o o k   f a i l u r e s   m i g h t   o c c u r   b e c a u s e   o f   t i m e o u t s   o r   e r r o r s   i n   t h e   s e r v e r   l o g i c .   B y   d e f a u l t ,   a d m i s s i o n   w e b h o o k s   s e t   t h e   f a i l u r e P o l i c y   f i e l d   t o   F a i l .   T h e   A P I   s e r v e r   r e j e c t s   a   r e q u e s t   i f   t h e   w e b h o o k   f a i l s .   H o w e v e r ,   r e j e c t i n g   r e q u e s t s   b y   d e f a u l t   m i g h t   r e s u l t   i n   c o m p l i a n t   r e q u e s t s   b e i n g   r e j e c t e d   d u r i n g   w e b h o o k   d o w n t i m e .   L e t   y o u r   m u t a t i n g   w e b h o o k s   \" f a i l   o p e n \"   b y   s e t t i n g   t h e   f a i l u r e P o l i c y   f i e l d   t o   I g n o r e .   U s e   a   v a l i d a t i n g   c o n t r o l l e r   t o   c h e c k   t h e   s t a t e   o f   r e q u e s t s   t o   e n s u r e   t h a t   t h e y   c o m p l y   w i t h   y o u r   p o l i c i e s .   T h i s   a p p r o a c h   h a s   t h e   f o l l o w i n g   b e n e f i t s :   M u t a t i n g   w e b h o o k   d o w n t i m e   d o e s n ' t   a f f e c t   c o m p l i a n t   r e s o u r c e s   f r o m   d e p l o y i n g . P o l i c y   e n f o r c e m e n t   o c c u r s   d u r i n g   v a l i d a t i n g   a d m i s s i o n   c o n t r o l . M u t a t i n g   w e b h o o k s   d o n ' t   i n t e r f e r e   w i t h   o t h e r   c o n t r o l l e r s   i n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13252"
  },
  {
    "question": "What is Plan for future updates to fields?",
    "answer": "I n   g e n e r a l ,   d e s i g n   y o u r   w e b h o o k s   u n d e r   t h e   a s s u m p t i o n   t h a t   K u b e r n e t e s   A P I s   m i g h t   c h a n g e   i n   a   l a t e r   v e r s i o n .   D o n ' t   w r i t e   a   s e r v e r   t h a t   t a k e s   t h e   s t a b i l i t y   o f   a n   A P I   f o r   g r a n t e d .   F o r   e x a m p l e ,   t h e   r e l e a s e   o f   s i d e c a r   c o n t a i n e r s   i n   K u b e r n e t e s   a d d e d   a   r e s t a r t P o l i c y   f i e l d   t o   t h e   P o d   A P I .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13253"
  },
  {
    "question": "What is Prevent your webhook from triggering itself?",
    "answer": "M u t a t i n g   w e b h o o k s   t h a t   r e s p o n d   t o   a   b r o a d   r a n g e   o f   A P I   r e q u e s t s   m i g h t   u n i n t e n t i o n a l l y   t r i g g e r   t h e m s e l v e s .   F o r   e x a m p l e ,   c o n s i d e r   a   w e b h o o k   t h a t   r e s p o n d s   t o   a l l   r e q u e s t s   i n   t h e   c l u s t e r .   I f   y o u   c o n f i g u r e   t h e   w e b h o o k   t o   c r e a t e   E v e n t   o b j e c t s   f o r   e v e r y   m u t a t i o n ,   i t ' l l   r e s p o n d   t o   i t s   o w n   E v e n t   o b j e c t   c r e a t i o n   r e q u e s t s .   T o   a v o i d   t h i s ,   c o n s i d e r   s e t t i n g   a   u n i q u e   l a b e l   i n   a n y   r e s o u r c e s   t h a t   y o u r   w e b h o o k   c r e a t e s .   E x c l u d e   t h i s   l a b e l   f r o m   y o u r   w e b h o o k   m a t c h   c o n d i t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13254"
  },
  {
    "question": "What is Don't change immutable objects?",
    "answer": "S o m e   K u b e r n e t e s   o b j e c t s   i n   t h e   A P I   s e r v e r   c a n ' t   c h a n g e .   F o r   e x a m p l e ,   w h e n   y o u   d e p l o y   a   s t a t i c   P o d ,   t h e   k u b e l e t   o n   t h e   n o d e   c r e a t e s   a   m i r r o r   P o d   i n   t h e   A P I   s e r v e r   t o   t r a c k   t h e   s t a t i c   P o d .   H o w e v e r ,   c h a n g e s   t o   t h e   m i r r o r   P o d   d o n ' t   p r o p a g a t e   t o   t h e   s t a t i c   P o d .   D o n ' t   a t t e m p t   t o   m u t a t e   t h e s e   o b j e c t s   d u r i n g   a d m i s s i o n .   A l l   m i r r o r   P o d s   h a v e   t h e   k u b e r n e t e s . i o / c o n f i g . m i r r o r   a n n o t a t i o n .   T o   e x c l u d e   m i r r o r   P o d s   w h i l e   r e d u c i n g   t h e   s e c u r i t y   r i s k   o f   i g n o r i n g   a n   a n n o t a t i o n ,   a l l o w   s t a t i c   P o d s   t o   o n l y   r u n   i n   s p e c i f i c   n a m e s p a c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13255"
  },
  {
    "question": "What is Mutating webhook ordering and idempotence?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   r e c o m m e n d a t i o n s   f o r   w e b h o o k   o r d e r   a n d   d e s i g n i n g   i d e m p o t e n t   w e b h o o k s .   I n   s u m m a r y ,   t h e s e   a r e   a s   f o l l o w s :   D o n ' t   r e l y   o n   a   s p e c i f i c   o r d e r   o f   e x e c u t i o n . V a l i d a t e   m u t a t i o n s   b e f o r e   a d m i s s i o n . C h e c k   f o r   m u t a t i o n s   b e i n g   o v e r w r i t t e n   b y   o t h e r   c o n t r o l l e r s . E n s u r e   t h a t   t h e   s e t   o f   m u t a t i n g   w e b h o o k s   i s   i d e m p o t e n t ,   n o t   j u s t   t h e   i n d i v i d u a l   w e b h o o k s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13256"
  },
  {
    "question": "What is Don't rely on mutating webhook invocation order?",
    "answer": "M u t a t i n g   a d m i s s i o n   w e b h o o k s   d o n ' t   r u n   i n   a   c o n s i s t e n t   o r d e r .   V a r i o u s   f a c t o r s   m i g h t   c h a n g e   w h e n   a   s p e c i f i c   w e b h o o k   i s   c a l l e d .   D o n ' t   r e l y   o n   y o u r   w e b h o o k   r u n n i n g   a t   a   s p e c i f i c   p o i n t   i n   t h e   a d m i s s i o n   p r o c e s s .   O t h e r   w e b h o o k s   c o u l d   s t i l l   m u t a t e   y o u r   m o d i f i e d   o b j e c t .   T h e   f o l l o w i n g   r e c o m m e n d a t i o n s   m i g h t   h e l p   t o   m i n i m i z e   t h e   r i s k   o f   u n i n t e n d e d   c h a n g e s :   V a l i d a t e   m u t a t i o n s   b e f o r e   a d m i s s i o n U s e   a   r e i n v o c a t i o n   p o l i c y   t o   o b s e r v e   c h a n g e s   t o   a n   o b j e c t   b y   o t h e r   p l u g i n s   a n d   r e - r u n   t h e   w e b h o o k   a s   n e e d e d .   F o r   d e t a i l s ,   s e e   R e i n v o c a t i o n   p o l i c y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13257"
  },
  {
    "question": "What is Ensure that the mutating webhooks in your cluster are idempotent?",
    "answer": "E v e r y   m u t a t i n g   a d m i s s i o n   w e b h o o k   s h o u l d   b e   i d e m p o t e n t .   T h e   w e b h o o k   s h o u l d   b e   a b l e   t o   r u n   o n   a n   o b j e c t   t h a t   i t   a l r e a d y   m o d i f i e d   w i t h o u t   m a k i n g   a d d i t i o n a l   c h a n g e s   b e y o n d   t h e   o r i g i n a l   c h a n g e .   A d d i t i o n a l l y ,   a l l   o f   t h e   m u t a t i n g   w e b h o o k s   i n   y o u r   c l u s t e r   s h o u l d ,   a s   a   c o l l e c t i o n ,   b e   i d e m p o t e n t .   A f t e r   t h e   m u t a t i o n   p h a s e   o f   a d m i s s i o n   c o n t r o l   e n d s ,   e v e r y   i n d i v i d u a l   m u t a t i n g   w e b h o o k   s h o u l d   b e   a b l e   t o   r u n   o n   a n   o b j e c t   w i t h o u t   m a k i n g   a d d i t i o n a l   c h a n g e s   t o   t h e   o b j e c t .   D e p e n d i n g   o n   y o u r   e n v i r o n m e n t ,   e n s u r i n g   i d e m p o t e n c e   a t   s c a l e   m i g h t   b e   c h a l l e n g i n g .   T h e   f o l l o w i n g   r e c o m m e n d a t i o n s   m i g h t   h e l p :   U s e   v a l i d a t i n g   a d m i s s i o n   c o n t r o l l e r s   t o   v e r i f y   t h e   f i n a l   s t a t e   o f   c r i t i c a l   w o r k l o a d s . T e s t   y o u r   d e p l o y m e n t s   i n   a   s t a g i n g   c l u s t e r   t o   s e e   i f   a n y   o b j e c t s   g e t   m o d i f i e d   m u l t i p l e   t i m e s   b y   t h e   s a m e   w e b h o o k . E n s u r e   t h a t   t h e   s c o p e   o f   e a c h   m u t a t i n g   w e b h o o k   i s   s p e c i f i c   a n d   l i m i t e d .   T h e   f o l l o w i n g   e x a m p l e s   s h o w   i d e m p o t e n t   m u t a t i o n   l o g i c :   F o r   a   c r e a t e   P o d   r e q u e s t ,   s e t   t h e   f i e l d   . s p e c . s e c u r i t y C o n t e x t . r u n A s N o n R o o t   o f   t h e   P o d   t o   t r u ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13258"
  },
  {
    "question": "What is Mutation testing and validation?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   r e c o m m e n d a t i o n s   f o r   t e s t i n g   y o u r   m u t a t i n g   w e b h o o k s   a n d   v a l i d a t i n g   m u t a t e d   o b j e c t s .   I n   s u m m a r y ,   t h e s e   a r e   a s   f o l l o w s :   T e s t   w e b h o o k s   i n   s t a g i n g   e n v i r o n m e n t s . A v o i d   m u t a t i o n s   t h a t   v i o l a t e   v a l i d a t i o n s . T e s t   m i n o r   v e r s i o n   u p g r a d e s   f o r   r e g r e s s i o n s   a n d   c o n f l i c t s . V a l i d a t e   m u t a t e d   o b j e c t s   b e f o r e   a d m i s s i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13259"
  },
  {
    "question": "What is Test webhooks in staging environments?",
    "answer": "R o b u s t   t e s t i n g   s h o u l d   b e   a   c o r e   p a r t   o f   y o u r   r e l e a s e   c y c l e   f o r   n e w   o r   u p d a t e d   w e b h o o k s .   I f   p o s s i b l e ,   t e s t   a n y   c h a n g e s   t o   y o u r   c l u s t e r   w e b h o o k s   i n   a   s t a g i n g   e n v i r o n m e n t   t h a t   c l o s e l y   r e s e m b l e s   y o u r   p r o d u c t i o n   c l u s t e r s .   A t   t h e   v e r y   l e a s t ,   c o n s i d e r   u s i n g   a   t o o l   l i k e   m i n i k u b e   o r   k i n d   t o   c r e a t e   a   s m a l l   t e s t   c l u s t e r   f o r   w e b h o o k   c h a n g e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13260"
  },
  {
    "question": "What is Ensure that mutations don't violate validations?",
    "answer": "Y o u r   m u t a t i n g   w e b h o o k s   s h o u l d n ' t   b r e a k   a n y   o f   t h e   v a l i d a t i o n s   t h a t   a p p l y   t o   a n   o b j e c t   b e f o r e   a d m i s s i o n .   F o r   e x a m p l e ,   c o n s i d e r   a   m u t a t i n g   w e b h o o k   t h a t   s e t s   t h e   d e f a u l t   C P U   r e q u e s t   o f   a   P o d   t o   a   s p e c i f i c   v a l u e .   I f   t h e   C P U   l i m i t   o f   t h a t   P o d   i s   s e t   t o   a   l o w e r   v a l u e   t h a n   t h e   m u t a t e d   r e q u e s t ,   t h e   P o d   f a i l s   a d m i s s i o n .   T e s t   e v e r y   m u t a t i n g   w e b h o o k   a g a i n s t   t h e   v a l i d a t i o n s   t h a t   r u n   i n   y o u r   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13261"
  },
  {
    "question": "What is Test minor version upgrades to ensure consistent behavior?",
    "answer": "B e f o r e   u p g r a d i n g   y o u r   p r o d u c t i o n   c l u s t e r s   t o   a   n e w   m i n o r   v e r s i o n ,   t e s t   y o u r   w e b h o o k s   a n d   w o r k l o a d s   i n   a   s t a g i n g   e n v i r o n m e n t .   C o m p a r e   t h e   r e s u l t s   t o   e n s u r e   t h a t   y o u r   w e b h o o k s   c o n t i n u e   t o   f u n c t i o n   a s   e x p e c t e d   a f t e r   t h e   u p g r a d e .   A d d i t i o n a l l y ,   u s e   t h e   f o l l o w i n g   r e s o u r c e s   t o   s t a y   i n f o r m e d   a b o u t   A P I   c h a n g e s :   K u b e r n e t e s   r e l e a s e   n o t e s K u b e r n e t e s   b l o g",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13262"
  },
  {
    "question": "What is Validate mutations before admission?",
    "answer": "M u t a t i n g   w e b h o o k s   r u n   t o   c o m p l e t i o n   b e f o r e   a n y   v a l i d a t i n g   w e b h o o k s   r u n .   T h e r e   i s   n o   s t a b l e   o r d e r   i n   w h i c h   m u t a t i o n s   a r e   a p p l i e d   t o   o b j e c t s .   A s   a   r e s u l t ,   y o u r   m u t a t i o n s   c o u l d   g e t   o v e r w r i t t e n   b y   a   m u t a t i n g   w e b h o o k   t h a t   r u n s   a t   a   l a t e r   t i m e .   A d d   a   v a l i d a t i n g   a d m i s s i o n   c o n t r o l l e r   l i k e   a   V a l i d a t i n g A d m i s s i o n W e b h o o k   o r   a   V a l i d a t i n g A d m i s s i o n P o l i c y   t o   y o u r   c l u s t e r   t o   e n s u r e   t h a t   y o u r   m u t a t i o n s   a r e   s t i l l   p r e s e n t .   F o r   e x a m p l e ,   c o n s i d e r   a   m u t a t i n g   w e b h o o k   t h a t   i n s e r t s   t h e   r e s t a r t P o l i c y :   A l w a y s   f i e l d   t o   s p e c i f i c   i n i t   c o n t a i n e r s   t o   m a k e   t h e m   r u n   a s   s i d e c a r   c o n t a i n e r s .   Y o u   c o u l d   r u n   a   v a l i d a t i n g   w e b h o o k   t o   e n s u r e   t h a t   t h o s e   i n i t   c o n t a i n e r s   r e t a i n e d   t h e   r e s t a r t P o l i c y :   A l w a y s   c o n f i g u r a t i o n   a f t e r   a l l   m u t a t i o n s   w e r e   c o m p l e t e d .   F o r   d e t a i l s ,   s e e   t h e   f o l l o w i n g   r e s o u r c e s :   V a l i d a t i n g   A d m i s s i o n   P o l i c y V a l i d a t i n g A d m i s s i o n W e b h o o k s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13263"
  },
  {
    "question": "What is Mutating webhook deployment?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   r e c o m m e n d a t i o n s   f o r   d e p l o y i n g   y o u r   m u t a t i n g   a d m i s s i o n   w e b h o o k s .   I n   s u m m a r y ,   t h e s e   a r e   a s   f o l l o w s :   G r a d u a l l y   r o l l   o u t   t h e   w e b h o o k   c o n f i g u r a t i o n   a n d   m o n i t o r   f o r   i s s u e s   b y   n a m e s p a c e . L i m i t   a c c e s s   t o   e d i t   t h e   w e b h o o k   c o n f i g u r a t i o n   r e s o u r c e s . L i m i t   a c c e s s   t o   t h e   n a m e s p a c e   t h a t   r u n s   t h e   w e b h o o k   s e r v e r ,   i f   t h e   s e r v e r   i s   i n - c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13264"
  },
  {
    "question": "What is Install and enable a mutating webhook?",
    "answer": "W h e n   y o u ' r e   r e a d y   t o   d e p l o y   y o u r   m u t a t i n g   w e b h o o k   t o   a   c l u s t e r ,   u s e   t h e   f o l l o w i n g   o r d e r   o f   o p e r a t i o n s :   I n s t a l l   t h e   w e b h o o k   s e r v e r   a n d   s t a r t   i t . S e t   t h e   f a i l u r e P o l i c y   f i e l d   i n   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   m a n i f e s t   t o   I g n o r e .   T h i s   l e t s   y o u   a v o i d   d i s r u p t i o n s   c a u s e d   b y   m i s c o n f i g u r e d   w e b h o o k s . S e t   t h e   n a m e s p a c e S e l e c t o r   f i e l d   i n   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   m a n i f e s t   t o   a   t e s t   n a m e s p a c e . D e p l o y   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   t o   y o u r   c l u s t e r .   M o n i t o r   t h e   w e b h o o k   i n   t h e   t e s t   n a m e s p a c e   t o   c h e c k   f o r   a n y   i s s u e s ,   t h e n   r o l l   t h e   w e b h o o k   o u t   t o   o t h e r   n a m e s p a c e s .   I f   t h e   w e b h o o k   i n t e r c e p t s   a n   A P I   r e q u e s t   t h a t   i t   w a s n ' t   m e a n t   t o   i n t e r c e p t ,   p a u s e   t h e   r o l l o u t   a n d   a d j u s t   t h e   s c o p e   o f   t h e   w e b h o o k   c o n f i g u r a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13265"
  },
  {
    "question": "What is Limit edit access to mutating webhooks?",
    "answer": "M u t a t i n g   w e b h o o k s   a r e   p o w e r f u l   K u b e r n e t e s   c o n t r o l l e r s .   U s e   R B A C   o r   a n o t h e r   a u t h o r i z a t i o n   m e c h a n i s m   t o   l i m i t   a c c e s s   t o   y o u r   w e b h o o k   c o n f i g u r a t i o n s   a n d   s e r v e r s .   F o r   R B A C ,   e n s u r e   t h a t   t h e   f o l l o w i n g   a c c e s s   i s   o n l y   a v a i l a b l e   t o   t r u s t e d   e n t i t i e s :   V e r b s :   c r e a t e ,   u p d a t e ,   p a t c h ,   d e l e t e ,   d e l e t e c o l l e c t i o n A P I   g r o u p :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 A P I   k i n d :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n s   I f   y o u r   m u t a t i n g   w e b h o o k   s e r v e r   r u n s   i n   t h e   c l u s t e r ,   l i m i t   a c c e s s   t o   c r e a t e   o r   m o d i f y   a n y   r e s o u r c e s   i n   t h a t   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13266"
  },
  {
    "question": "What is Examples of good implementations?",
    "answer": "T h e   f o l l o w i n g   p r o j e c t s   a r e   e x a m p l e s   o f   \" g o o d \"   c u s t o m   w e b h o o k   s e r v e r   i m p l e m e n t a t i o n s .   Y o u   c a n   u s e   t h e m   a s   a   s t a r t i n g   p o i n t   w h e n   d e s i g n i n g   y o u r   o w n   w e b h o o k s .   D o n ' t   u s e   t h e s e   e x a m p l e s   a s - i s ;   u s e   t h e m   a s   a   s t a r t i n g   p o i n t   a n d   d e s i g n   y o u r   w e b h o o k s   t o   r u n   w e l l   i n   y o u r   s p e c i f i c   e n v i r o n m e n t .   c e r t - m a n a g e r G a t e k e e p e r   O p e n   P o l i c y   A g e n t   ( O P A )",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13267"
  },
  {
    "question": "What is What's next?",
    "answer": "U s e   w e b h o o k s   f o r   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n L e a r n   a b o u t   M u t a t i n g A d m i s s i o n P o l i c i e s L e a r n   a b o u t   V a l i d a t i n g A d m i s s i o n P o l i c i e s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13268"
  },
  {
    "question": "What is 11.7 - Good practices for Dynamic Resource Allocation as a Cluster Admin?",
    "answer": "T h i s   p a g e   d e s c r i b e s   g o o d   p r a c t i c e s   w h e n   c o n f i g u r i n g   a   K u b e r n e t e s   c l u s t e r   u t i l i z i n g   D y n a m i c   R e s o u r c e   A l l o c a t i o n   ( D R A ) .   T h e s e   i n s t r u c t i o n s   a r e   f o r   c l u s t e r   a d m i n i s t r a t o r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13269"
  },
  {
    "question": "What is Separate permissions to DRA related APIs?",
    "answer": "D R A   i s   o r c h e s t r a t e d   t h r o u g h   a   n u m b e r   o f   d i f f e r e n t   A P I s .   U s e   a u t h o r i z a t i o n   t o o l s   ( l i k e   R B A C ,   o r   a n o t h e r   s o l u t i o n )   t o   c o n t r o l   a c c e s s   t o   t h e   r i g h t   A P I s   d e p e n d i n g   o n   t h e   p e r s o n a   o f   y o u r   u s e r .   I n   g e n e r a l ,   D e v i c e C l a s s e s   a n d   R e s o u r c e S l i c e s   s h o u l d   b e   r e s t r i c t e d   t o   a d m i n s   a n d   t h e   D R A   d r i v e r s .   C l u s t e r   o p e r a t o r s   t h a t   w i l l   b e   d e p l o y i n g   P o d s   w i t h   c l a i m s   w i l l   n e e d   a c c e s s   t o   R e s o u r c e C l a i m   a n d   R e s o u r c e C l a i m T e m p l a t e   A P I s ;   b o t h   o f   t h e s e   A P I s   a r e   n a m e s p a c e   s c o p e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13270"
  },
  {
    "question": "What is DRA driver deployment and maintenance?",
    "answer": "D R A   d r i v e r s   a r e   t h i r d - p a r t y   a p p l i c a t i o n s   t h a t   r u n   o n   e a c h   n o d e   o f   y o u r   c l u s t e r   t o   i n t e r f a c e   w i t h   t h e   h a r d w a r e   o f   t h a t   n o d e   a n d   K u b e r n e t e s '   n a t i v e   D R A   c o m p o n e n t s .   T h e   i n s t a l l a t i o n   p r o c e d u r e   d e p e n d s   o n   t h e   d r i v e r   y o u   c h o o s e ,   b u t   i s   l i k e l y   d e p l o y e d   a s   a   D a e m o n S e t   t o   a l l   o r   a   s e l e c t i o n   o f   t h e   n o d e s   ( u s i n g   n o d e   s e l e c t o r s   o r   s i m i l a r   m e c h a n i s m s )   i n   y o u r   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13271"
  },
  {
    "question": "What is Use drivers with seamless upgrade if available?",
    "answer": "D R A   d r i v e r s   i m p l e m e n t   t h e   k u b e l e t p l u g i n   p a c k a g e   i n t e r f a c e .   Y o u r   d r i v e r   m a y   s u p p o r t   s e a m l e s s   u p g r a d e s   b y   i m p l e m e n t i n g   a   p r o p e r t y   o f   t h i s   i n t e r f a c e   t h a t   a l l o w s   t w o   v e r s i o n s   o f   t h e   s a m e   D R A   d r i v e r   t o   c o e x i s t   f o r   a   s h o r t   t i m e .   T h i s   i s   o n l y   a v a i l a b l e   f o r   k u b e l e t   v e r s i o n s   1 . 3 3   a n d   a b o v e   a n d   m a y   n o t   b e   s u p p o r t e d   b y   y o u r   d r i v e r   f o r   h e t e r o g e n e o u s   c l u s t e r s   w i t h   a t t a c h e d   n o d e s   r u n n i n g   o l d e r   v e r s i o n s   o f   K u b e r n e t e s   -   c h e c k   y o u r   d r i v e r ' s   d o c u m e n t a t i o n   t o   b e   s u r e .   I f   s e a m l e s s   u p g r a d e s   a r e   a v a i l a b l e   f o r   y o u r   s i t u a t i o n ,   c o n s i d e r   u s i n g   i t   t o   m i n i m i z e   s c h e d u l i n g   d e l a y s   w h e n   y o u r   d r i v e r   u p d a t e s .   I f   y o u   c a n n o t   u s e   s e a m l e s s   u p g r a d e s ,   d u r i n g   d r i v e r   d o w n t i m e   f o r   u p g r a d e s   y o u   m a y   o b s e r v e   t h a t :   P o d s   c a n n o t   s t a r t   u n l e s s   t h e   c l a i m s   t h e y   d e p e n d   o n   w e r e   a l r e a d y   p r e p a r e d   f o r   u s e . C l e a n u p   a f t e r   t h e   l a s t   p o d   w h i c h   u s e d   a   c l a i m   g e t s   d e l a y e d   u n t i l   t h e   d r i v e r   i s   a v a i l a b l e   a g a i n .   T h e   p o d   i s   n o t   m a r k e d   a s   t e r m i n a t e d .   T h i s   p r e v e n t s   r e u s i n g   t h e   r e s o u r c e s   u s e d   b y   t h e   p o d   f o r   o t h e r   p o d s . R u n n i n g   p o d s   w i l l   c o n t i n u e   t o   r u n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13272"
  },
  {
    "question": "What is Confirm your DRA driver exposes a liveness probe and utilize it?",
    "answer": "Y o u r   D R A   d r i v e r   l i k e l y   i m p l e m e n t s   a   g R P C   s o c k e t   f o r   h e a l t h c h e c k s   a s   p a r t   o f   D R A   d r i v e r   g o o d   p r a c t i c e s .   T h e   e a s i e s t   w a y   t o   u t i l i z e   t h i s   g r p c   s o c k e t   i s   t o   c o n f i g u r e   i t   a s   a   l i v e n e s s   p r o b e   f o r   t h e   D a e m o n S e t   d e p l o y i n g   y o u r   D R A   d r i v e r .   Y o u r   d r i v e r ' s   d o c u m e n t a t i o n   o r   d e p l o y m e n t   t o o l i n g   m a y   a l r e a d y   i n c l u d e   t h i s ,   b u t   i f   y o u   a r e   b u i l d i n g   y o u r   c o n f i g u r a t i o n   s e p a r a t e l y   o r   n o t   r u n n i n g   y o u r   D R A   d r i v e r   a s   a   K u b e r n e t e s   p o d ,   b e   s u r e   t h a t   y o u r   o r c h e s t r a t i o n   t o o l i n g   r e s t a r t s   t h e   D R A   d r i v e r   o n   f a i l e d   h e a l t h c h e c k s   t o   t h i s   g r p c   s o c k e t .   D o i n g   s o   w i l l   m i n i m i z e   a n y   a c c i d e n t a l   d o w n t i m e   o f   t h e   D R A   d r i v e r   a n d   g i v e   i t   m o r e   o p p o r t u n i t i e s   t o   s e l f   h e a l ,   r e d u c i n g   s c h e d u l i n g   d e l a y s   o r   t r o u b l e s h o o t i n g   t i m e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13273"
  },
  {
    "question": "What is When draining a node, drain the DRA driver as late as possible?",
    "answer": "T h e   D R A   d r i v e r   i s   r e s p o n s i b l e   f o r   u n p r e p a r i n g   a n y   d e v i c e s   t h a t   w e r e   a l l o c a t e d   t o   P o d s ,   a n d   i f   t h e   D R A   d r i v e r   i s   d r a i n e d   b e f o r e   P o d s   w i t h   c l a i m s   h a v e   b e e n   d e l e t e d ,   i t   w i l l   n o t   b e   a b l e   t o   f i n a l i z e   i t s   c l e a n u p .   I f   y o u   i m p l e m e n t   c u s t o m   d r a i n   l o g i c   f o r   n o d e s ,   c o n s i d e r   c h e c k i n g   t h a t   t h e r e   a r e   n o   a l l o c a t e d / r e s e r v e d   R e s o u r c e C l a i m   o r   R e s o u r c e C l a i m T e m p l a t e s   b e f o r e   t e r m i n a t i n g   t h e   D R A   d r i v e r   i t s e l f .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13274"
  },
  {
    "question": "What is Monitor and tune components for higher load, especially in high scale environments?",
    "answer": "C o n t r o l   p l a n e   c o m p o n e n t   k u b e - s c h e d u l e r   a n d   t h e   i n t e r n a l   R e s o u r c e C l a i m   c o n t r o l l e r   o r c h e s t r a t e d   b y   t h e   c o m p o n e n t   k u b e - c o n t r o l l e r - m a n a g e r   d o   t h e   h e a v y   l i f t i n g   d u r i n g   s c h e d u l i n g   o f   P o d s   w i t h   c l a i m s   b a s e d   o n   m e t a d a t a   s t o r e d   i n   t h e   D R A   A P I s .   C o m p a r e d   t o   n o n - D R A   s c h e d u l e d   P o d s ,   t h e   n u m b e r   o f   A P I   s e r v e r   c a l l s ,   m e m o r y ,   a n d   C P U   u t i l i z a t i o n   n e e d e d   b y   t h e s e   c o m p o n e n t s   i s   i n c r e a s e d   f o r   P o d s   u s i n g   D R A   c l a i m s .   I n   a d d i t i o n ,   n o d e   l o c a l   c o m p o n e n t s   l i k e   t h e   D R A   d r i v e r   a n d   k u b e l e t   u t i l i z e   D R A   A P I s   t o   a l l o c a t e d   t h e   h a r d w a r e   r e q u e s t   a t   P o d   s a n d b o x   c r e a t i o n   t i m e .   E s p e c i a l l y   i n   h i g h   s c a l e   e n v i r o n m e n t s   w h e r e   c l u s t e r s   h a v e   m a n y   n o d e s ,   a n d / o r   d e p l o y   m a n y   w o r k l o a d s   t h a t   h e a v i l y   u t i l i z e   D R A   d e f i n e d   r e s o u r c e   c l a i m s ,   t h e   c l u s t e r   a d m i n i s t r a t o r   s h o u l d   c o n f i g u r e   t h e   r e l e v a n t   c o m p o n e n t s   t o   a n t i c i p a t e   t h e   i n c r e a s e d   l o a d .   T h e   e f f e c t s   o f   m i s t u n e d   c o m p o n e n t s   c a n   h a v e   d i r e c t   o r   s n o w b a l l i n g   a f f e c t s   c a u s i n g   d i f f e r e n t   s y m p t o m s   d u r i n g   t h e   P o d   l i f e c y c l e .   I f   t h e   k u b e - s c h e d u l e r   c o m p o n e n t ' s   Q P S   a n d   b u r s t   c o n f i g u r a t i o n s   a r e   t o o   l o w ,   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13275"
  },
  {
    "question": "What is kube-controller-manager metrics?",
    "answer": "T h e   f o l l o w i n g   m e t r i c s   l o o k   c l o s e l y   a t   t h e   i n t e r n a l   R e s o u r c e C l a i m   c o n t r o l l e r   m a n a g e d   b y   t h e   k u b e - c o n t r o l l e r - m a n a g e r   c o m p o n e n t .   W o r k q u e u e   A d d   R a t e :   M o n i t o r   s u m ( r a t e ( w o r k q u e u e _ a d d s _ t o t a l { n a m e = \" r e s o u r c e _ c l a i m \" } [ 5 m ] ) )   t o   g a u g e   h o w   q u i c k l y   i t e m s   a r e   a d d e d   t o   t h e   R e s o u r c e C l a i m   c o n t r o l l e r . W o r k q u e u e   D e p t h :   T r a c k   s u m ( w o r k q u e u e _ d e p t h { e n d p o i n t = \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   n a m e = \" r e s o u r c e _ c l a i m \" } )   t o   i d e n t i f y   a n y   b a c k l o g s   i n   t h e   R e s o u r c e C l a i m   c o n t r o l l e r . W o r k q u e u e   W o r k   D u r a t i o n :   O b s e r v e   h i s t o g r a m _ q u a n t i l e ( 0 . 9 9 ,   s u m ( r a t e ( w o r k q u e u e _ w o r k _ d u r a t i o n _ s e c o n d s _ b u c k e t { n a m e = \" r e s o u r c e _ c l a i m \" } [ 5 m ] ) )   b y   ( l e ) )   t o   u n d e r s t a n d   t h e   s p e e d   a t   w h i c h   t h e   R e s o u r c e C l a i m   c o n t r o l l e r   p r o c e s s e s   w o r k .   I f   y o u   a r e   e x p e r i e n c i n g   l o w   W o r k q u e u e   A d d   R a t e ,   h i g h   W o r k q u e u e   D e p t h ,   a n d / o r   h i g h   W o r k q u e u e   W o r k   D u r a t i o n ,   t h i s   s u g g e s t s   t h e   c o n t r o l l e r   i s n ' t   p e r f o r m i n g   o p t i m a l l y .   C o n s i d e r   t u n i n g   p a r a m e t e r s   l i k e   Q P S ,   b u r s t ,   a n d   C P U / m e m o r y   c o n f i g u r a t i o n s .   I f   y o u   a r e   e x p e r i e n c i n g   h i g h   W o r k e q u e u e   A d d   R a t e ,   h i g h   W o r k q u e u e   D e p t h ,   b u t   r e a s o n a b l e   W o r k q u e u e   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13276"
  },
  {
    "question": "What is kube-scheduler metrics?",
    "answer": "T h e   f o l l o w i n g   s c h e d u l e r   m e t r i c s   a r e   h i g h   l e v e l   m e t r i c s   a g g r e g a t i n g   p e r f o r m a n c e   a c r o s s   a l l   P o d s   s c h e d u l e d ,   n o t   j u s t   t h o s e   u s i n g   D R A .   I t   i s   i m p o r t a n t   t o   n o t e   t h a t   t h e   e n d - t o - e n d   m e t r i c s   a r e   u l t i m a t e l y   i n f l u e n c e d   b y   t h e   k u b e - c o n t r o l l e r - m a n a g e r ' s   p e r f o r m a n c e   i n   c r e a t i n g   R e s o u r c e C l a i m s   f r o m   R e s o u r c e C l a i n T e m p l a t e s   i n   d e p l o y m e n t s   t h a t   h e a v i l y   u s e   R e s o u r c e C l a i n T e m p l a t e s .   S c h e d u l e r   E n d - t o - E n d   D u r a t i o n :   M o n i t o r   h i s t o g r a m _ q u a n t i l e ( 0 . 9 9 ,   s u m ( i n c r e a s e ( s c h e d u l e r _ p o d _ s c h e d u l i n g _ s l i _ d u r a t i o n _ s e c o n d s _ b u c k e t [ 5 m ] ) )   b y   ( l e ) ) . S c h e d u l e r   A l g o r i t h m   L a t e n c y :   T r a c k   h i s t o g r a m _ q u a n t i l e ( 0 . 9 9 ,   s u m ( i n c r e a s e ( s c h e d u l e r _ s c h e d u l i n g _ a l g o r i t h m _ d u r a t i o n _ s e c o n d s _ b u c k e t [ 5 m ] ) )   b y   ( l e ) ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13277"
  },
  {
    "question": "What is kubelet metrics?",
    "answer": "W h e n   a   P o d   b o u n d   t o   a   n o d e   m u s t   h a v e   a   R e s o u r c e C l a i m   s a t i s f i e d ,   k u b e l e t   c a l l s   t h e   N o d e P r e p a r e R e s o u r c e s   a n d   N o d e U n p r e p a r e R e s o u r c e s   m e t h o d s   o f   t h e   D R A   d r i v e r .   Y o u   c a n   o b s e r v e   t h i s   b e h a v i o r   f r o m   t h e   k u b e l e t ' s   p o i n t   o f   v i e w   w i t h   t h e   f o l l o w i n g   m e t r i c s .   K u b e l e t   N o d e P r e p a r e R e s o u r c e s :   M o n i t o r   h i s t o g r a m _ q u a n t i l e ( 0 . 9 9 ,   s u m ( r a t e ( d r a _ o p e r a t i o n s _ d u r a t i o n _ s e c o n d s _ b u c k e t { o p e r a t i o n _ n a m e = \" P r e p a r e R e s o u r c e s \" } [ 5 m ] ) )   b y   ( l e ) ) . K u b e l e t   N o d e U n p r e p a r e R e s o u r c e s :   T r a c k   h i s t o g r a m _ q u a n t i l e ( 0 . 9 9 ,   s u m ( r a t e ( d r a _ o p e r a t i o n s _ d u r a t i o n _ s e c o n d s _ b u c k e t { o p e r a t i o n _ n a m e = \" U n p r e p a r e R e s o u r c e s \" } [ 5 m ] ) )   b y   ( l e ) ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13278"
  },
  {
    "question": "What is DRA kubeletplugin operations?",
    "answer": "D R A   d r i v e r s   i m p l e m e n t   t h e   k u b e l e t p l u g i n   p a c k a g e   i n t e r f a c e   w h i c h   s u r f a c e s   i t s   o w n   m e t r i c   f o r   t h e   u n d e r l y i n g   g R P C   o p e r a t i o n   N o d e P r e p a r e R e s o u r c e s   a n d   N o d e U n p r e p a r e R e s o u r c e s .   Y o u   c a n   o b s e r v e   t h i s   b e h a v i o r   f r o m   t h e   p o i n t   o f   v i e w   o f   t h e   i n t e r n a l   k u b e l e t p l u g i n   w i t h   t h e   f o l l o w i n g   m e t r i c s .   D R A   k u b e l e t p l u g i n   g R P C   N o d e P r e p a r e R e s o u r c e s   o p e r a t i o n :   O b s e r v e   h i s t o g r a m _ q u a n t i l e ( 0 . 9 9 ,   s u m ( r a t e ( d r a _ g r p c _ o p e r a t i o n s _ d u r a t i o n _ s e c o n d s _ b u c k e t { m e t h o d _ n a m e = ~ \" . * N o d e P r e p a r e R e s o u r c e s \" } [ 5 m ] ) )   b y   ( l e ) ) . D R A   k u b e l e t p l u g i n   g R P C   N o d e U n p r e p a r e R e s o u r c e s   o p e r a t i o n :   O b s e r v e   h i s t o g r a m _ q u a n t i l e ( 0 . 9 9 ,   s u m ( r a t e ( d r a _ g r p c _ o p e r a t i o n s _ d u r a t i o n _ s e c o n d s _ b u c k e t { m e t h o d _ n a m e = ~ \" . * N o d e U n p r e p a r e R e s o u r c e s \" } [ 5 m ] ) )   b y   ( l e ) ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13279"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   D R A R e a d   t h e   K u b e r n e t e s   M e t r i c s   R e f e r e n c e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13280"
  },
  {
    "question": "What is 11.8 - Logging Architecture?",
    "answer": "A p p l i c a t i o n   l o g s   c a n   h e l p   y o u   u n d e r s t a n d   w h a t   i s   h a p p e n i n g   i n s i d e   y o u r   a p p l i c a t i o n .   T h e   l o g s   a r e   p a r t i c u l a r l y   u s e f u l   f o r   d e b u g g i n g   p r o b l e m s   a n d   m o n i t o r i n g   c l u s t e r   a c t i v i t y .   M o s t   m o d e r n   a p p l i c a t i o n s   h a v e   s o m e   k i n d   o f   l o g g i n g   m e c h a n i s m .   L i k e w i s e ,   c o n t a i n e r   e n g i n e s   a r e   d e s i g n e d   t o   s u p p o r t   l o g g i n g .   T h e   e a s i e s t   a n d   m o s t   a d o p t e d   l o g g i n g   m e t h o d   f o r   c o n t a i n e r i z e d   a p p l i c a t i o n s   i s   w r i t i n g   t o   s t a n d a r d   o u t p u t   a n d   s t a n d a r d   e r r o r   s t r e a m s .   H o w e v e r ,   t h e   n a t i v e   f u n c t i o n a l i t y   p r o v i d e d   b y   a   c o n t a i n e r   e n g i n e   o r   r u n t i m e   i s   u s u a l l y   n o t   e n o u g h   f o r   a   c o m p l e t e   l o g g i n g   s o l u t i o n .   F o r   e x a m p l e ,   y o u   m a y   w a n t   t o   a c c e s s   y o u r   a p p l i c a t i o n ' s   l o g s   i f   a   c o n t a i n e r   c r a s h e s ,   a   p o d   g e t s   e v i c t e d ,   o r   a   n o d e   d i e s .   I n   a   c l u s t e r ,   l o g s   s h o u l d   h a v e   a   s e p a r a t e   s t o r a g e   a n d   l i f e c y c l e   i n d e p e n d e n t   o f   n o d e s ,   p o d s ,   o r   c o n t a i n e r s .   T h i s   c o n c e p t   i s   c a l l e d   c l u s t e r - l e v e l   l o g g i n g .   C l u s t e r - l e v e l   l o g g i n g   a r c h i t e c t u r e s   r e q u i r e   a   s e p a r a t e   b a c k e n d   t o   s t o r e ,   a n a l y z e ,   a n d   q u e r y   l o g s .   K u b e r n e t e s   d o e s   n o t   p r o v i d e   a   n a t i v e   s t o r a g e   s o l u t i o n   f o r   l o g   d a t a .   I ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13281"
  },
  {
    "question": "What is Pod and container logs?",
    "answer": "K u b e r n e t e s   c a p t u r e s   l o g s   f r o m   e a c h   c o n t a i n e r   i n   a   r u n n i n g   P o d .   T h i s   e x a m p l e   u s e s   a   m a n i f e s t   f o r   a   P o d   w i t h   a   c o n t a i n e r   t h a t   w r i t e s   t e x t   t o   t h e   s t a n d a r d   o u t p u t   s t r e a m ,   o n c e   p e r   s e c o n d .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o u n t e r   s p e c :   c o n t a i n e r s :   -   n a m e :   c o u n t   i m a g e :   b u s y b o x : 1 . 2 8   a r g s :   [ / b i n / s h ,   - c ,   ' i = 0 ;   w h i l e   t r u e ;   d o   e c h o   \" $ i :   $ ( d a t e ) \" ;   i = $ ( ( i + 1 ) ) ;   s l e e p   1 ;   d o n e ' ]   T o   r u n   t h i s   p o d ,   u s e   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d e b u g / c o u n t e r - p o d . y a m l   T h e   o u t p u t   i s :   p o d / c o u n t e r   c r e a t e d   T o   f e t c h   t h e   l o g s ,   u s e   t h e   k u b e c t l   l o g s   c o m m a n d ,   a s   f o l l o w s :   k u b e c t l   l o g s   c o u n t e r   T h e   o u t p u t   i s   s i m i l a r   t o :   0 :   F r i   A p r   1   1 1 : 4 2 : 2 3   U T C   2 0 2 2   1 :   F r i   A p r   1   1 1 : 4 2 : 2 4   U T C   2 0 2 2   2 :   F r i   A p r   1   1 1 : 4 2 : 2 5   U T C   2 0 2 2   Y o u   c a n   u s e   k u b e c t l   l o g s   - - p r e v i o u s   t o   r e t r i e v e   l o g s   f r o m   a   p r e v i o u s   i n s t a n t i a t i o n   o f   a   c o n t a i n e r .   I f   y o u r   p o d   h a s   m u l t i p l e   c o n t a i n e r s ,   s p e c i f y   w h i c h   c o n t a i n e r ' s   l o g s   y o u   w a n t   t o   a c c e s s   b y   a p p e n d i n g   a   c o n t a i n e r   n a m e   t o   t h e   c o m m a n d ,   w i t h   a   - c   f l a g ,   l i k e   s o :   k u b e c t l   l o g s   c o u n t e r   - c   c ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13282"
  },
  {
    "question": "What is Container log streams?",
    "answer": "A s   a n   a l p h a   f e a t u r e ,   t h e   k u b e l e t   c a n   s p l i t   o u t   t h e   l o g s   f r o m   t h e   t w o   s t a n d a r d   s t r e a m s   p r o d u c e d   b y   a   c o n t a i n e r :   s t a n d a r d   o u t p u t   a n d   s t a n d a r d   e r r o r .   T o   u s e   t h i s   b e h a v i o r ,   y o u   m u s t   e n a b l e   t h e   P o d L o g s Q u e r y S p l i t S t r e a m s   f e a t u r e   g a t e .   W i t h   t h a t   f e a t u r e   g a t e   e n a b l e d ,   K u b e r n e t e s   1 . 3 4   a l l o w s   a c c e s s   t o   t h e s e   l o g   s t r e a m s   d i r e c t l y   v i a   t h e   P o d   A P I .   Y o u   c a n   f e t c h   a   s p e c i f i c   s t r e a m   b y   s p e c i f y i n g   t h e   s t r e a m   n a m e   ( e i t h e r   S t d o u t   o r   S t d e r r ) ,   u s i n g   t h e   s t r e a m   q u e r y   s t r i n g .   Y o u   m u s t   h a v e   a c c e s s   t o   r e a d   t h e   l o g   s u b r e s o u r c e   o f   t h a t   P o d .   T o   d e m o n s t r a t e   t h i s   f e a t u r e ,   y o u   c a n   c r e a t e   a   P o d   t h a t   p e r i o d i c a l l y   w r i t e s   t e x t   t o   b o t h   t h e   s t a n d a r d   o u t p u t   a n d   e r r o r   s t r e a m .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o u n t e r - e r r   s p e c :   c o n t a i n e r s :   -   n a m e :   c o u n t   i m a g e :   b u s y b o x : 1 . 2 8   a r g s :   [ / b i n / s h ,   - c ,   ' i = 0 ;   w h i l e   t r u e ;   d o   e c h o   \" $ i :   $ ( d a t e ) \" ;   e c h o   \" $ i :   e r r \"   > & 2   ;   i = $ ( ( i + 1 ) ) ;   s l e e p   1 ;   d o n e ' ]   T o   r u n   t h i s   p o d ,   u s e   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d e b u g / c o u n t e r - p o d - e r r . y a m l   T o   f e t c h   o n l y   t h e   s t d e r r   l o g ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13283"
  },
  {
    "question": "What is How nodes handle container logs?",
    "answer": "A   c o n t a i n e r   r u n t i m e   h a n d l e s   a n d   r e d i r e c t s   a n y   o u t p u t   g e n e r a t e d   t o   a   c o n t a i n e r i z e d   a p p l i c a t i o n ' s   s t d o u t   a n d   s t d e r r   s t r e a m s .   D i f f e r e n t   c o n t a i n e r   r u n t i m e s   i m p l e m e n t   t h i s   i n   d i f f e r e n t   w a y s ;   h o w e v e r ,   t h e   i n t e g r a t i o n   w i t h   t h e   k u b e l e t   i s   s t a n d a r d i z e d   a s   t h e   C R I   l o g g i n g   f o r m a t .   B y   d e f a u l t ,   i f   a   c o n t a i n e r   r e s t a r t s ,   t h e   k u b e l e t   k e e p s   o n e   t e r m i n a t e d   c o n t a i n e r   w i t h   i t s   l o g s .   I f   a   p o d   i s   e v i c t e d   f r o m   t h e   n o d e ,   a l l   c o r r e s p o n d i n g   c o n t a i n e r s   a r e   a l s o   e v i c t e d ,   a l o n g   w i t h   t h e i r   l o g s .   T h e   k u b e l e t   m a k e s   l o g s   a v a i l a b l e   t o   c l i e n t s   v i a   a   s p e c i a l   f e a t u r e   o f   t h e   K u b e r n e t e s   A P I .   T h e   u s u a l   w a y   t o   a c c e s s   t h i s   i s   b y   r u n n i n g   k u b e c t l   l o g s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13284"
  },
  {
    "question": "What is Log rotation?",
    "answer": "T h e   k u b e l e t   i s   r e s p o n s i b l e   f o r   r o t a t i n g   c o n t a i n e r   l o g s   a n d   m a n a g i n g   t h e   l o g g i n g   d i r e c t o r y   s t r u c t u r e .   T h e   k u b e l e t   s e n d s   t h i s   i n f o r m a t i o n   t o   t h e   c o n t a i n e r   r u n t i m e   ( u s i n g   C R I ) ,   a n d   t h e   r u n t i m e   w r i t e s   t h e   c o n t a i n e r   l o g s   t o   t h e   g i v e n   l o c a t i o n .   Y o u   c a n   c o n f i g u r e   t w o   k u b e l e t   c o n f i g u r a t i o n   s e t t i n g s ,   c o n t a i n e r L o g M a x S i z e   ( d e f a u l t   1 0 M i )   a n d   c o n t a i n e r L o g M a x F i l e s   ( d e f a u l t   5 ) ,   u s i n g   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e .   T h e s e   s e t t i n g s   l e t   y o u   c o n f i g u r e   t h e   m a x i m u m   s i z e   f o r   e a c h   l o g   f i l e   a n d   t h e   m a x i m u m   n u m b e r   o f   f i l e s   a l l o w e d   f o r   e a c h   c o n t a i n e r   r e s p e c t i v e l y .   I n   o r d e r   t o   p e r f o r m   a n   e f f i c i e n t   l o g   r o t a t i o n   i n   c l u s t e r s   w h e r e   t h e   v o l u m e   o f   t h e   l o g s   g e n e r a t e d   b y   t h e   w o r k l o a d   i s   l a r g e ,   k u b e l e t   a l s o   p r o v i d e s   a   m e c h a n i s m   t o   t u n e   h o w   t h e   l o g s   a r e   r o t a t e d   i n   t e r m s   o f   h o w   m a n y   c o n c u r r e n t   l o g   r o t a t i o n s   c a n   b e   p e r f o r m e d   a n d   t h e   i n t e r v a l   a t   w h i c h   t h e   l o g s   a r e   m o n i t o r e d   a n d   r o t a t e d   a s   r e q u i r e d .   Y o u   c a n   c o n f i g u r e   t w o   k u b e l e t   c o n f i g u r a t i o n   s e t t i n g s ,   c o n t a i n e r L o g M a x W o r k e r s   a n d   c o n t a i n e r L o g M o n i t o r I n t e r v a l   u s i n g   t h e   k u b e l e t   c ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13285"
  },
  {
    "question": "What is Note:?",
    "answer": "O n l y   t h e   c o n t e n t s   o f   t h e   l a t e s t   l o g   f i l e   a r e   a v a i l a b l e   t h r o u g h   k u b e c t l   l o g s .   F o r   e x a m p l e ,   i f   a   P o d   w r i t e s   4 0   M i B   o f   l o g s   a n d   t h e   k u b e l e t   r o t a t e s   l o g s   a f t e r   1 0   M i B ,   r u n n i n g   k u b e c t l   l o g s   r e t u r n s   a t   m o s t   1 0 M i B   o f   d a t a .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13286"
  },
  {
    "question": "What is System component logs?",
    "answer": "T h e r e   a r e   t w o   t y p e s   o f   s y s t e m   c o m p o n e n t s :   t h o s e   t h a t   t y p i c a l l y   r u n   i n   a   c o n t a i n e r ,   a n d   t h o s e   c o m p o n e n t s   d i r e c t l y   i n v o l v e d   i n   r u n n i n g   c o n t a i n e r s .   F o r   e x a m p l e :   T h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   d o   n o t   r u n   i n   c o n t a i n e r s .   T h e   k u b e l e t   r u n s   y o u r   c o n t a i n e r s   ( g r o u p e d   t o g e t h e r   i n   p o d s ) T h e   K u b e r n e t e s   s c h e d u l e r ,   c o n t r o l l e r   m a n a g e r ,   a n d   A P I   s e r v e r   r u n   w i t h i n   p o d s   ( u s u a l l y   s t a t i c   P o d s ) .   T h e   e t c d   c o m p o n e n t   r u n s   i n   t h e   c o n t r o l   p l a n e ,   a n d   m o s t   c o m m o n l y   a l s o   a s   a   s t a t i c   p o d .   I f   y o u r   c l u s t e r   u s e s   k u b e - p r o x y ,   y o u   t y p i c a l l y   r u n   t h i s   a s   a   D a e m o n S e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13287"
  },
  {
    "question": "What is Log locations?",
    "answer": "T h e   w a y   t h a t   t h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   w r i t e   l o g s   d e p e n d s   o n   t h e   o p e r a t i n g   s y s t e m   t h a t   t h e   n o d e   u s e s :   O n   L i n u x   n o d e s   t h a t   u s e   s y s t e m d ,   t h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   w r i t e   t o   j o u r n a l d   b y   d e f a u l t .   Y o u   u s e   j o u r n a l c t l   t o   r e a d   t h e   s y s t e m d   j o u r n a l ;   f o r   e x a m p l e :   j o u r n a l c t l   - u   k u b e l e t . I f   s y s t e m d   i s   n o t   p r e s e n t ,   t h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   w r i t e   t o   . l o g   f i l e s   i n   t h e   / v a r / l o g   d i r e c t o r y .   I f   y o u   w a n t   t o   h a v e   l o g s   w r i t t e n   e l s e w h e r e ,   y o u   c a n   i n d i r e c t l y   r u n   t h e   k u b e l e t   v i a   a   h e l p e r   t o o l ,   k u b e - l o g - r u n n e r ,   a n d   u s e   t h a t   t o o l   t o   r e d i r e c t   k u b e l e t   l o g s   t o   a   d i r e c t o r y   t h a t   y o u   c h o o s e . B y   d e f a u l t ,   k u b e l e t   d i r e c t s   y o u r   c o n t a i n e r   r u n t i m e   t o   w r i t e   l o g s   i n t o   d i r e c t o r i e s   w i t h i n   / v a r / l o g / p o d s . F o r   m o r e   i n f o r m a t i o n   o n   k u b e - l o g - r u n n e r ,   r e a d   S y s t e m   L o g s .   O n   L i n u x   n o d e s   t h a t   u s e   s y s t e m d ,   t h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   w r i t e   t o   j o u r n a l d   b y   d e f a u l t .   Y o u   u s e   j o u r n a l c t l   t o   r e a d   t h e   s y s t e m d   j o u r n a l ;   f o r   e x a m p l e :   j o u r n a l c t l   - u   k u b e l e t .   I f   s y s t e m d   i s   n o t   p r e s e n t ,   t h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   w r i t e   t o   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13288"
  },
  {
    "question": "What is Caution:?",
    "answer": "I t ' s   i m p o r t a n t   t o   n o t e   t h a t   t h e   d e f a u l t   l o c a t i o n   / v a r / l o g / p o d s   h a s   b e e n   i n   u s e   f o r   a n   e x t e n d e d   p e r i o d   a n d   c e r t a i n   p r o c e s s e s   m i g h t   i m p l i c i t l y   a s s u m e   t h i s   p a t h .   T h e r e f o r e ,   a l t e r i n g   t h i s   p a r a m e t e r   m u s t   b e   a p p r o a c h e d   w i t h   c a u t i o n   a n d   a t   y o u r   o w n   r i s k .   A n o t h e r   c a v e a t   t o   k e e p   i n   m i n d   i s   t h a t   t h e   k u b e l e t   s u p p o r t s   t h e   l o c a t i o n   b e i n g   o n   t h e   s a m e   d i s k   a s   / v a r .   O t h e r w i s e ,   i f   t h e   l o g s   a r e   o n   a   s e p a r a t e   f i l e s y s t e m   f r o m   / v a r ,   t h e n   t h e   k u b e l e t   w i l l   n o t   t r a c k   t h a t   f i l e s y s t e m ' s   u s a g e ,   p o t e n t i a l l y   l e a d i n g   t o   i s s u e s   i f   i t   f i l l s   u p .   F o r   d e t a i l s   a b o u t   e t c d   a n d   i t s   l o g s ,   v i e w   t h e   e t c d   d o c u m e n t a t i o n .   A g a i n ,   y o u   c a n   u s e   K u b e r n e t e s '   s t o r a g e   m e c h a n i s m s   t o   m a p   p e r s i s t e n t   s t o r a g e   i n t o   t h e   c o n t a i n e r   t h a t   r u n s   t h e   c o m p o n e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13289"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   d e p l o y   K u b e r n e t e s   c l u s t e r   c o m p o n e n t s   ( s u c h   a s   t h e   s c h e d u l e r )   t o   l o g   t o   a   v o l u m e   s h a r e d   f r o m   t h e   p a r e n t   n o d e ,   y o u   n e e d   t o   c o n s i d e r   a n d   e n s u r e   t h a t   t h o s e   l o g s   a r e   r o t a t e d .   K u b e r n e t e s   d o e s   n o t   m a n a g e   t h a t   l o g   r o t a t i o n .   Y o u r   o p e r a t i n g   s y s t e m   m a y   a u t o m a t i c a l l y   i m p l e m e n t   s o m e   l o g   r o t a t i o n   -   f o r   e x a m p l e ,   i f   y o u   s h a r e   t h e   d i r e c t o r y   / v a r / l o g   i n t o   a   s t a t i c   P o d   f o r   a   c o m p o n e n t ,   n o d e - l e v e l   l o g   r o t a t i o n   t r e a t s   a   f i l e   i n   t h a t   d i r e c t o r y   t h e   s a m e   a s   a   f i l e   w r i t t e n   b y   a n y   c o m p o n e n t   o u t s i d e   K u b e r n e t e s .   S o m e   d e p l o y   t o o l s   a c c o u n t   f o r   t h a t   l o g   r o t a t i o n   a n d   a u t o m a t e   i t ;   o t h e r s   l e a v e   t h i s   a s   y o u r   r e s p o n s i b i l i t y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13290"
  },
  {
    "question": "What is Cluster-level logging architectures?",
    "answer": "W h i l e   K u b e r n e t e s   d o e s   n o t   p r o v i d e   a   n a t i v e   s o l u t i o n   f o r   c l u s t e r - l e v e l   l o g g i n g ,   t h e r e   a r e   s e v e r a l   c o m m o n   a p p r o a c h e s   y o u   c a n   c o n s i d e r .   H e r e   a r e   s o m e   o p t i o n s :   U s e   a   n o d e - l e v e l   l o g g i n g   a g e n t   t h a t   r u n s   o n   e v e r y   n o d e . I n c l u d e   a   d e d i c a t e d   s i d e c a r   c o n t a i n e r   f o r   l o g g i n g   i n   a n   a p p l i c a t i o n   p o d . P u s h   l o g s   d i r e c t l y   t o   a   b a c k e n d   f r o m   w i t h i n   a n   a p p l i c a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13291"
  },
  {
    "question": "What is Using a node logging agent?",
    "answer": "Y o u   c a n   i m p l e m e n t   c l u s t e r - l e v e l   l o g g i n g   b y   i n c l u d i n g   a   n o d e - l e v e l   l o g g i n g   a g e n t   o n   e a c h   n o d e .   T h e   l o g g i n g   a g e n t   i s   a   d e d i c a t e d   t o o l   t h a t   e x p o s e s   l o g s   o r   p u s h e s   l o g s   t o   a   b a c k e n d .   C o m m o n l y ,   t h e   l o g g i n g   a g e n t   i s   a   c o n t a i n e r   t h a t   h a s   a c c e s s   t o   a   d i r e c t o r y   w i t h   l o g   f i l e s   f r o m   a l l   o f   t h e   a p p l i c a t i o n   c o n t a i n e r s   o n   t h a t   n o d e .   B e c a u s e   t h e   l o g g i n g   a g e n t   m u s t   r u n   o n   e v e r y   n o d e ,   i t   i s   r e c o m m e n d e d   t o   r u n   t h e   a g e n t   a s   a   D a e m o n S e t .   N o d e - l e v e l   l o g g i n g   c r e a t e s   o n l y   o n e   a g e n t   p e r   n o d e   a n d   d o e s n ' t   r e q u i r e   a n y   c h a n g e s   t o   t h e   a p p l i c a t i o n s   r u n n i n g   o n   t h e   n o d e .   C o n t a i n e r s   w r i t e   t o   s t d o u t   a n d   s t d e r r ,   b u t   w i t h   n o   a g r e e d   f o r m a t .   A   n o d e - l e v e l   a g e n t   c o l l e c t s   t h e s e   l o g s   a n d   f o r w a r d s   t h e m   f o r   a g g r e g a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13292"
  },
  {
    "question": "What is Using a sidecar container with the logging agent?",
    "answer": "Y o u   c a n   u s e   a   s i d e c a r   c o n t a i n e r   i n   o n e   o f   t h e   f o l l o w i n g   w a y s :   T h e   s i d e c a r   c o n t a i n e r   s t r e a m s   a p p l i c a t i o n   l o g s   t o   i t s   o w n   s t d o u t . T h e   s i d e c a r   c o n t a i n e r   r u n s   a   l o g g i n g   a g e n t ,   w h i c h   i s   c o n f i g u r e d   t o   p i c k   u p   l o g s   f r o m   a n   a p p l i c a t i o n   c o n t a i n e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13293"
  },
  {
    "question": "What is Streaming sidecar container?",
    "answer": "B y   h a v i n g   y o u r   s i d e c a r   c o n t a i n e r s   w r i t e   t o   t h e i r   o w n   s t d o u t   a n d   s t d e r r   s t r e a m s ,   y o u   c a n   t a k e   a d v a n t a g e   o f   t h e   k u b e l e t   a n d   t h e   l o g g i n g   a g e n t   t h a t   a l r e a d y   r u n   o n   e a c h   n o d e .   T h e   s i d e c a r   c o n t a i n e r s   r e a d   l o g s   f r o m   a   f i l e ,   a   s o c k e t ,   o r   j o u r n a l d .   E a c h   s i d e c a r   c o n t a i n e r   p r i n t s   a   l o g   t o   i t s   o w n   s t d o u t   o r   s t d e r r   s t r e a m .   T h i s   a p p r o a c h   a l l o w s   y o u   t o   s e p a r a t e   s e v e r a l   l o g   s t r e a m s   f r o m   d i f f e r e n t   p a r t s   o f   y o u r   a p p l i c a t i o n ,   s o m e   o f   w h i c h   c a n   l a c k   s u p p o r t   f o r   w r i t i n g   t o   s t d o u t   o r   s t d e r r .   T h e   l o g i c   b e h i n d   r e d i r e c t i n g   l o g s   i s   m i n i m a l ,   s o   i t ' s   n o t   a   s i g n i f i c a n t   o v e r h e a d .   A d d i t i o n a l l y ,   b e c a u s e   s t d o u t   a n d   s t d e r r   a r e   h a n d l e d   b y   t h e   k u b e l e t ,   y o u   c a n   u s e   b u i l t - i n   t o o l s   l i k e   k u b e c t l   l o g s .   F o r   e x a m p l e ,   a   p o d   r u n s   a   s i n g l e   c o n t a i n e r ,   a n d   t h e   c o n t a i n e r   w r i t e s   t o   t w o   d i f f e r e n t   l o g   f i l e s   u s i n g   t w o   d i f f e r e n t   f o r m a t s .   H e r e ' s   a   m a n i f e s t   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o u n t e r   s p e c :   c o n t a i n e r s :   -   n a m e :   c o u n t   i m a g e :   b u s y b o x : 1 . 2 8   a r g s :   -   / b i n / s h   -   - c   -   >   i = 0 ;   w h i l e   t r u e ;   d o   e c h o   \" $ i :   $ ( d a t e ) \"   > >   / v a r / ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13294"
  },
  {
    "question": "What is Sidecar container with a logging agent?",
    "answer": "I f   t h e   n o d e - l e v e l   l o g g i n g   a g e n t   i s   n o t   f l e x i b l e   e n o u g h   f o r   y o u r   s i t u a t i o n ,   y o u   c a n   c r e a t e   a   s i d e c a r   c o n t a i n e r   w i t h   a   s e p a r a t e   l o g g i n g   a g e n t   t h a t   y o u   h a v e   c o n f i g u r e d   s p e c i f i c a l l y   t o   r u n   w i t h   y o u r   a p p l i c a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13295"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e   a r e   t w o   e x a m p l e   m a n i f e s t s   t h a t   y o u   c a n   u s e   t o   i m p l e m e n t   a   s i d e c a r   c o n t a i n e r   w i t h   a   l o g g i n g   a g e n t .   T h e   f i r s t   m a n i f e s t   c o n t a i n s   a   C o n f i g M a p   t o   c o n f i g u r e   f l u e n t d .   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   f l u e n t d - c o n f i g   d a t a :   f l u e n t d . c o n f :   |   < s o u r c e >   t y p e   t a i l   f o r m a t   n o n e   p a t h   / v a r / l o g / 1 . l o g   p o s _ f i l e   / v a r / l o g / 1 . l o g . p o s   t a g   c o u n t . f o r m a t 1   < / s o u r c e >   < s o u r c e >   t y p e   t a i l   f o r m a t   n o n e   p a t h   / v a r / l o g / 2 . l o g   p o s _ f i l e   / v a r / l o g / 2 . l o g . p o s   t a g   c o u n t . f o r m a t 2   < / s o u r c e >   < m a t c h   * * >   t y p e   g o o g l e _ c l o u d   < / m a t c h >",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13296"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   s e c o n d   m a n i f e s t   d e s c r i b e s   a   p o d   t h a t   h a s   a   s i d e c a r   c o n t a i n e r   r u n n i n g   f l u e n t d .   T h e   p o d   m o u n t s   a   v o l u m e   w h e r e   f l u e n t d   c a n   p i c k   u p   i t s   c o n f i g u r a t i o n   d a t a .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o u n t e r   s p e c :   c o n t a i n e r s :   -   n a m e :   c o u n t   i m a g e :   b u s y b o x : 1 . 2 8   a r g s :   -   / b i n / s h   -   - c   -   >   i = 0 ;   w h i l e   t r u e ;   d o   e c h o   \" $ i :   $ ( d a t e ) \"   > >   / v a r / l o g / 1 . l o g ;   e c h o   \" $ ( d a t e )   I N F O   $ i \"   > >   / v a r / l o g / 2 . l o g ;   i = $ ( ( i + 1 ) ) ;   s l e e p   1 ;   d o n e   v o l u m e M o u n t s :   -   n a m e :   v a r l o g   m o u n t P a t h :   / v a r / l o g   -   n a m e :   c o u n t - a g e n t   i m a g e :   r e g i s t r y . k 8 s . i o / f l u e n t d - g c p : 1 . 3 0   e n v :   -   n a m e :   F L U E N T D _ A R G S   v a l u e :   - c   / e t c / f l u e n t d - c o n f i g / f l u e n t d . c o n f   v o l u m e M o u n t s :   -   n a m e :   v a r l o g   m o u n t P a t h :   / v a r / l o g   -   n a m e :   c o n f i g - v o l u m e   m o u n t P a t h :   / e t c / f l u e n t d - c o n f i g   v o l u m e s :   -   n a m e :   v a r l o g   e m p t y D i r :   { }   -   n a m e :   c o n f i g - v o l u m e   c o n f i g M a p :   n a m e :   f l u e n t d - c o n f i g",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13297"
  },
  {
    "question": "What is Exposing logs directly from the application?",
    "answer": "C l u s t e r - l o g g i n g   t h a t   e x p o s e s   o r   p u s h e s   l o g s   d i r e c t l y   f r o m   e v e r y   a p p l i c a t i o n   i s   o u t s i d e   t h e   s c o p e   o f   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13298"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   K u b e r n e t e s   s y s t e m   l o g s L e a r n   a b o u t   T r a c e s   F o r   K u b e r n e t e s   S y s t e m   C o m p o n e n t s L e a r n   h o w   t o   c u s t o m i s e   t h e   t e r m i n a t i o n   m e s s a g e   t h a t   K u b e r n e t e s   r e c o r d s   w h e n   a   P o d   f a i l s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13299"
  },
  {
    "question": "What is 11.9 - Compatibility Version For Kubernetes Control Plane Components?",
    "answer": "S i n c e   r e l e a s e   v 1 . 3 2 ,   w e   i n t r o d u c e d   c o n f i g u r a b l e   v e r s i o n   c o m p a t i b i l i t y   a n d   e m u l a t i o n   o p t i o n s   t o   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t s   t o   m a k e   u p g r a d e s   s a f e r   b y   p r o v i d i n g   m o r e   c o n t r o l   a n d   i n c r e a s i n g   t h e   g r a n u l a r i t y   o f   s t e p s   a v a i l a b l e   t o   c l u s t e r   a d m i n i s t r a t o r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13300"
  },
  {
    "question": "What is Emulated Version?",
    "answer": "T h e   e m u l a t i o n   o p t i o n   i s   s e t   b y   t h e   - - e m u l a t e d - v e r s i o n   f l a g   o f   c o n t r o l   p l a n e   c o m p o n e n t s .   I t   a l l o w s   t h e   c o m p o n e n t   t o   e m u l a t e   t h e   b e h a v i o r   ( A P I s ,   f e a t u r e s ,   . . . )   o f   a n   e a r l i e r   v e r s i o n   o f   K u b e r n e t e s .   W h e n   u s e d ,   t h e   c a p a b i l i t i e s   a v a i l a b l e   w i l l   m a t c h   t h e   e m u l a t e d   v e r s i o n :   A n y   c a p a b i l i t i e s   p r e s e n t   i n   t h e   b i n a r y   v e r s i o n   t h a t   w e r e   i n t r o d u c e d   a f t e r   t h e   e m u l a t i o n   v e r s i o n   w i l l   b e   u n a v a i l a b l e . A n y   c a p a b i l i t i e s   r e m o v e d   a f t e r   t h e   e m u l a t i o n   v e r s i o n   w i l l   b e   a v a i l a b l e .   T h i s   e n a b l e s   a   b i n a r y   f r o m   a   p a r t i c u l a r   K u b e r n e t e s   r e l e a s e   t o   e m u l a t e   t h e   b e h a v i o r   o f   a   p r e v i o u s   v e r s i o n   w i t h   s u f f i c i e n t   f i d e l i t y   t h a t   i n t e r o p e r a b i l i t y   w i t h   o t h e r   s y s t e m   c o m p o n e n t s   c a n   b e   d e f i n e d   i n   t e r m s   o f   t h e   e m u l a t e d   v e r s i o n .   T h e   - - e m u l a t e d - v e r s i o n   m u s t   b e   < =   b i n a r y V e r s i o n .   S e e   t h e   h e l p   m e s s a g e   o f   t h e   - - e m u l a t e d - v e r s i o n   f l a g   f o r   s u p p o r t e d   r a n g e   o f   e m u l a t e d   v e r s i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13301"
  },
  {
    "question": "What is 11.10 - Metrics For Kubernetes System Components?",
    "answer": "S y s t e m   c o m p o n e n t   m e t r i c s   c a n   g i v e   a   b e t t e r   l o o k   i n t o   w h a t   i s   h a p p e n i n g   i n s i d e   t h e m .   M e t r i c s   a r e   p a r t i c u l a r l y   u s e f u l   f o r   b u i l d i n g   d a s h b o a r d s   a n d   a l e r t s .   K u b e r n e t e s   c o m p o n e n t s   e m i t   m e t r i c s   i n   P r o m e t h e u s   f o r m a t .   T h i s   f o r m a t   i s   s t r u c t u r e d   p l a i n   t e x t ,   d e s i g n e d   s o   t h a t   p e o p l e   a n d   m a c h i n e s   c a n   b o t h   r e a d   i t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13302"
  },
  {
    "question": "What is Metrics in Kubernetes?",
    "answer": "I n   m o s t   c a s e s   m e t r i c s   a r e   a v a i l a b l e   o n   / m e t r i c s   e n d p o i n t   o f   t h e   H T T P   s e r v e r .   F o r   c o m p o n e n t s   t h a t   d o n ' t   e x p o s e   e n d p o i n t   b y   d e f a u l t ,   i t   c a n   b e   e n a b l e d   u s i n g   - - b i n d - a d d r e s s   f l a g .   E x a m p l e s   o f   t h o s e   c o m p o n e n t s :   k u b e - c o n t r o l l e r - m a n a g e r k u b e - p r o x y k u b e - a p i s e r v e r k u b e - s c h e d u l e r k u b e l e t   I n   a   p r o d u c t i o n   e n v i r o n m e n t   y o u   m a y   w a n t   t o   c o n f i g u r e   P r o m e t h e u s   S e r v e r   o r   s o m e   o t h e r   m e t r i c s   s c r a p e r   t o   p e r i o d i c a l l y   g a t h e r   t h e s e   m e t r i c s   a n d   m a k e   t h e m   a v a i l a b l e   i n   s o m e   k i n d   o f   t i m e   s e r i e s   d a t a b a s e .   N o t e   t h a t   k u b e l e t   a l s o   e x p o s e s   m e t r i c s   i n   / m e t r i c s / c a d v i s o r ,   / m e t r i c s / r e s o u r c e   a n d   / m e t r i c s / p r o b e s   e n d p o i n t s .   T h o s e   m e t r i c s   d o   n o t   h a v e   t h e   s a m e   l i f e c y c l e .   I f   y o u r   c l u s t e r   u s e s   R B A C ,   r e a d i n g   m e t r i c s   r e q u i r e s   a u t h o r i z a t i o n   v i a   a   u s e r ,   g r o u p   o r   S e r v i c e A c c o u n t   w i t h   a   C l u s t e r R o l e   t h a t   a l l o w s   a c c e s s i n g   / m e t r i c s .   F o r   e x a m p l e :   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   n a m e :   p r o m e t h e u s   r u l e s :   -   n o n R e s o u r c e U R L s :   -   \" / m e t r i c s \"   v e r b s :   -   g e t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13303"
  },
  {
    "question": "What is Metric lifecycle?",
    "answer": "A l p h a   m e t r i c   →   S t a b l e   m e t r i c   →   D e p r e c a t e d   m e t r i c   →   H i d d e n   m e t r i c   →   D e l e t e d   m e t r i c   A l p h a   m e t r i c s   h a v e   n o   s t a b i l i t y   g u a r a n t e e s .   T h e s e   m e t r i c s   c a n   b e   m o d i f i e d   o r   d e l e t e d   a t   a n y   t i m e .   S t a b l e   m e t r i c s   a r e   g u a r a n t e e d   t o   n o t   c h a n g e .   T h i s   m e a n s :   A   s t a b l e   m e t r i c   w i t h o u t   a   d e p r e c a t e d   s i g n a t u r e   w i l l   n o t   b e   d e l e t e d   o r   r e n a m e d A   s t a b l e   m e t r i c ' s   t y p e   w i l l   n o t   b e   m o d i f i e d   D e p r e c a t e d   m e t r i c s   a r e   s l a t e d   f o r   d e l e t i o n ,   b u t   a r e   s t i l l   a v a i l a b l e   f o r   u s e .   T h e s e   m e t r i c s   i n c l u d e   a n   a n n o t a t i o n   a b o u t   t h e   v e r s i o n   i n   w h i c h   t h e y   b e c a m e   d e p r e c a t e d .   F o r   e x a m p l e :   B e f o r e   d e p r e c a t i o n #   H E L P   s o m e _ c o u n t e r   t h i s   c o u n t s   t h i n g s   #   T Y P E   s o m e _ c o u n t e r   c o u n t e r   s o m e _ c o u n t e r   0   A f t e r   d e p r e c a t i o n #   H E L P   s o m e _ c o u n t e r   ( D e p r e c a t e d   s i n c e   1 . 1 5 . 0 )   t h i s   c o u n t s   t h i n g s   #   T Y P E   s o m e _ c o u n t e r   c o u n t e r   s o m e _ c o u n t e r   0   B e f o r e   d e p r e c a t i o n   #   H E L P   s o m e _ c o u n t e r   t h i s   c o u n t s   t h i n g s   #   T Y P E   s o m e _ c o u n t e r   c o u n t e r   s o m e _ c o u n t e r   0   A f t e r   d e p r e c a t i o n   #   H E L P   s o m e _ c o u n t e r   ( D e p r e c a t e d   s i n c e   1 . 1 5 . 0 )   t h i s   c o u n t s   t h i n g s   #   T Y P E   s o m e _ c o u n t e r   c o u n t e r   s o m e _ c o u n t e r   0   H i d d e n   m e t r i c ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13304"
  },
  {
    "question": "What is Show hidden metrics?",
    "answer": "A s   d e s c r i b e d   a b o v e ,   a d m i n s   c a n   e n a b l e   h i d d e n   m e t r i c s   t h r o u g h   a   c o m m a n d - l i n e   f l a g   o n   a   s p e c i f i c   b i n a r y .   T h i s   i n t e n d s   t o   b e   u s e d   a s   a n   e s c a p e   h a t c h   f o r   a d m i n s   i f   t h e y   m i s s e d   t h e   m i g r a t i o n   o f   t h e   m e t r i c s   d e p r e c a t e d   i n   t h e   l a s t   r e l e a s e .   T h e   f l a g   s h o w - h i d d e n - m e t r i c s - f o r - v e r s i o n   t a k e s   a   v e r s i o n   f o r   w h i c h   y o u   w a n t   t o   s h o w   m e t r i c s   d e p r e c a t e d   i n   t h a t   r e l e a s e .   T h e   v e r s i o n   i s   e x p r e s s e d   a s   x . y ,   w h e r e   x   i s   t h e   m a j o r   v e r s i o n ,   y   i s   t h e   m i n o r   v e r s i o n .   T h e   p a t c h   v e r s i o n   i s   n o t   n e e d e d   e v e n   t h o u g h   a   m e t r i c s   c a n   b e   d e p r e c a t e d   i n   a   p a t c h   r e l e a s e ,   t h e   r e a s o n   f o r   t h a t   i s   t h e   m e t r i c s   d e p r e c a t i o n   p o l i c y   r u n s   a g a i n s t   t h e   m i n o r   r e l e a s e .   T h e   f l a g   c a n   o n l y   t a k e   t h e   p r e v i o u s   m i n o r   v e r s i o n   a s   i t ' s   v a l u e .   A l l   m e t r i c s   h i d d e n   i n   p r e v i o u s   w i l l   b e   e m i t t e d   i f   a d m i n s   s e t   t h e   p r e v i o u s   v e r s i o n   t o   s h o w - h i d d e n - m e t r i c s - f o r - v e r s i o n .   T h e   t o o   o l d   v e r s i o n   i s   n o t   a l l o w e d   b e c a u s e   t h i s   v i o l a t e s   t h e   m e t r i c s   d e p r e c a t e d   p o l i c y .   T a k e   m e t r i c   A   a s   a n   e x a m p l e ,   h e r e   a s s u m e d   t h a t   A   i s   d e p r e c a t e d   i n   1 . n .   A c c o r d i n g   t o   m e t r i c s   d e p r e c a t e d   p o l i c y ,   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13305"
  },
  {
    "question": "What is kube-controller-manager metrics?",
    "answer": "C o n t r o l l e r   m a n a g e r   m e t r i c s   p r o v i d e   i m p o r t a n t   i n s i g h t   i n t o   t h e   p e r f o r m a n c e   a n d   h e a l t h   o f   t h e   c o n t r o l l e r   m a n a g e r .   T h e s e   m e t r i c s   i n c l u d e   c o m m o n   G o   l a n g u a g e   r u n t i m e   m e t r i c s   s u c h   a s   g o _ r o u t i n e   c o u n t   a n d   c o n t r o l l e r   s p e c i f i c   m e t r i c s   s u c h   a s   e t c d   r e q u e s t   l a t e n c i e s   o r   C l o u d p r o v i d e r   ( A W S ,   G C E ,   O p e n S t a c k )   A P I   l a t e n c i e s   t h a t   c a n   b e   u s e d   t o   g a u g e   t h e   h e a l t h   o f   a   c l u s t e r .   S t a r t i n g   f r o m   K u b e r n e t e s   1 . 7 ,   d e t a i l e d   C l o u d p r o v i d e r   m e t r i c s   a r e   a v a i l a b l e   f o r   s t o r a g e   o p e r a t i o n s   f o r   G C E ,   A W S ,   V s p h e r e   a n d   O p e n S t a c k .   T h e s e   m e t r i c s   c a n   b e   u s e d   t o   m o n i t o r   h e a l t h   o f   p e r s i s t e n t   v o l u m e   o p e r a t i o n s .   F o r   e x a m p l e ,   f o r   G C E   t h e s e   m e t r i c s   a r e   c a l l e d :   c l o u d p r o v i d e r _ g c e _ a p i _ r e q u e s t _ d u r a t i o n _ s e c o n d s   {   r e q u e s t   =   \" i n s t a n c e _ l i s t \" }   c l o u d p r o v i d e r _ g c e _ a p i _ r e q u e s t _ d u r a t i o n _ s e c o n d s   {   r e q u e s t   =   \" d i s k _ i n s e r t \" }   c l o u d p r o v i d e r _ g c e _ a p i _ r e q u e s t _ d u r a t i o n _ s e c o n d s   {   r e q u e s t   =   \" d i s k _ d e l e t e \" }   c l o u d p r o v i d e r _ g c e _ a p i _ r e q u e s t _ d u r a t i o n _ s e c o n d s   {   r e q u e s t   =   \" a t t a c h _ d i s k \" }   c l o u d p r o v i d e r _ g c e _ a p i _ r e q u e s t _ d u r a t i o n _ s e c o n d s   {   r e q u e s t   =   \" d e t a c h _ d i s k \" }   c l o u d p r o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13306"
  },
  {
    "question": "What is kube-scheduler metrics?",
    "answer": "T h e   s c h e d u l e r   e x p o s e s   o p t i o n a l   m e t r i c s   t h a t   r e p o r t s   t h e   r e q u e s t e d   r e s o u r c e s   a n d   t h e   d e s i r e d   l i m i t s   o f   a l l   r u n n i n g   p o d s .   T h e s e   m e t r i c s   c a n   b e   u s e d   t o   b u i l d   c a p a c i t y   p l a n n i n g   d a s h b o a r d s ,   a s s e s s   c u r r e n t   o r   h i s t o r i c a l   s c h e d u l i n g   l i m i t s ,   q u i c k l y   i d e n t i f y   w o r k l o a d s   t h a t   c a n n o t   s c h e d u l e   d u e   t o   l a c k   o f   r e s o u r c e s ,   a n d   c o m p a r e   a c t u a l   u s a g e   t o   t h e   p o d ' s   r e q u e s t .   T h e   k u b e - s c h e d u l e r   i d e n t i f i e s   t h e   r e s o u r c e   r e q u e s t s   a n d   l i m i t s   c o n f i g u r e d   f o r   e a c h   P o d ;   w h e n   e i t h e r   a   r e q u e s t   o r   l i m i t   i s   n o n - z e r o ,   t h e   k u b e - s c h e d u l e r   r e p o r t s   a   m e t r i c s   t i m e s e r i e s .   T h e   t i m e   s e r i e s   i s   l a b e l l e d   b y :   n a m e s p a c e p o d   n a m e t h e   n o d e   w h e r e   t h e   p o d   i s   s c h e d u l e d   o r   a n   e m p t y   s t r i n g   i f   n o t   y e t   s c h e d u l e d p r i o r i t y t h e   a s s i g n e d   s c h e d u l e r   f o r   t h a t   p o d t h e   n a m e   o f   t h e   r e s o u r c e   ( f o r   e x a m p l e ,   c p u ) t h e   u n i t   o f   t h e   r e s o u r c e   i f   k n o w n   ( f o r   e x a m p l e ,   c o r e s )   O n c e   a   p o d   r e a c h e s   c o m p l e t i o n   ( h a s   a   r e s t a r t P o l i c y   o f   N e v e r   o r   O n F a i l u r e   a n d   i s   i n   t h e   S u c c e e d e d   o r   F a i l e d   p o d   p h a s e ,   o r   h a s   b e e n   d e l e t e d   a n d   a l l   c o n t a i n e r s   h a v e   a   t e r m i n a t e d   s t a t e )   t h e   s e r i e s   i s   n o   l ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13307"
  },
  {
    "question": "What is kubelet Pressure Stall Information (PSI) metrics?",
    "answer": "A s   a   b e t a   f e a t u r e ,   K u b e r n e t e s   l e t s   y o u   c o n f i g u r e   k u b e l e t   t o   c o l l e c t   L i n u x   k e r n e l   P r e s s u r e   S t a l l   I n f o r m a t i o n   ( P S I )   f o r   C P U ,   m e m o r y   a n d   I / O   u s a g e .   T h e   i n f o r m a t i o n   i s   c o l l e c t e d   a t   n o d e ,   p o d   a n d   c o n t a i n e r   l e v e l .   T h e   m e t r i c s   a r e   e x p o s e d   a t   t h e   / m e t r i c s / c a d v i s o r   e n d p o i n t   w i t h   t h e   f o l l o w i n g   n a m e s :   c o n t a i n e r _ p r e s s u r e _ c p u _ s t a l l e d _ s e c o n d s _ t o t a l   c o n t a i n e r _ p r e s s u r e _ c p u _ w a i t i n g _ s e c o n d s _ t o t a l   c o n t a i n e r _ p r e s s u r e _ m e m o r y _ s t a l l e d _ s e c o n d s _ t o t a l   c o n t a i n e r _ p r e s s u r e _ m e m o r y _ w a i t i n g _ s e c o n d s _ t o t a l   c o n t a i n e r _ p r e s s u r e _ i o _ s t a l l e d _ s e c o n d s _ t o t a l   c o n t a i n e r _ p r e s s u r e _ i o _ w a i t i n g _ s e c o n d s _ t o t a l   T h i s   f e a t u r e   i s   e n a b l e d   b y   d e f a u l t ,   b y   s e t t i n g   t h e   K u b e l e t P S I   f e a t u r e   g a t e .   T h e   i n f o r m a t i o n   i s   a l s o   e x p o s e d   i n   t h e   S u m m a r y   A P I .   Y o u   c a n   l e a r n   h o w   t o   i n t e r p r e t   t h e   P S I   m e t r i c s   i n   U n d e r s t a n d   P S I   M e t r i c s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13308"
  },
  {
    "question": "What is Requirements?",
    "answer": "P r e s s u r e   S t a l l   I n f o r m a t i o n   r e q u i r e s :   L i n u x   k e r n e l   v e r s i o n s   4 . 2 0   o r   l a t e r . c g r o u p   v 2",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13309"
  },
  {
    "question": "What is Disabling metrics?",
    "answer": "Y o u   c a n   e x p l i c i t l y   t u r n   o f f   m e t r i c s   v i a   c o m m a n d   l i n e   f l a g   - - d i s a b l e d - m e t r i c s .   T h i s   m a y   b e   d e s i r e d   i f ,   f o r   e x a m p l e ,   a   m e t r i c   i s   c a u s i n g   a   p e r f o r m a n c e   p r o b l e m .   T h e   i n p u t   i s   a   l i s t   o f   d i s a b l e d   m e t r i c s   ( i . e .   - - d i s a b l e d - m e t r i c s = m e t r i c 1 , m e t r i c 2 ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13310"
  },
  {
    "question": "What is Metric cardinality enforcement?",
    "answer": "M e t r i c s   w i t h   u n b o u n d e d   d i m e n s i o n s   c o u l d   c a u s e   m e m o r y   i s s u e s   i n   t h e   c o m p o n e n t s   t h e y   i n s t r u m e n t .   T o   l i m i t   r e s o u r c e   u s e ,   y o u   c a n   u s e   t h e   - - a l l o w - m e t r i c - l a b e l s   c o m m a n d   l i n e   o p t i o n   t o   d y n a m i c a l l y   c o n f i g u r e   a n   a l l o w - l i s t   o f   l a b e l   v a l u e s   f o r   a   m e t r i c .   I n   a l p h a   s t a g e ,   t h e   f l a g   c a n   o n l y   t a k e   i n   a   s e r i e s   o f   m a p p i n g s   a s   m e t r i c   l a b e l   a l l o w - l i s t .   E a c h   m a p p i n g   i s   o f   t h e   f o r m a t   < m e t r i c _ n a m e > , < l a b e l _ n a m e > = < a l l o w e d _ l a b e l s >   w h e r e   < a l l o w e d _ l a b e l s >   i s   a   c o m m a - s e p a r a t e d   l i s t   o f   a c c e p t a b l e   l a b e l   n a m e s .   T h e   o v e r a l l   f o r m a t   l o o k s   l i k e :   - - a l l o w - m e t r i c - l a b e l s   < m e t r i c _ n a m e > , < l a b e l _ n a m e > = ' < a l l o w _ v a l u e 1 > ,   < a l l o w _ v a l u e 2 > . . . ' ,   < m e t r i c _ n a m e 2 > , < l a b e l _ n a m e > = ' < a l l o w _ v a l u e 1 > ,   < a l l o w _ v a l u e 2 > . . . ' ,   . . .   H e r e   i s   a n   e x a m p l e :   - - a l l o w - m e t r i c - l a b e l s   n u m b e r _ c o u n t _ m e t r i c , o d d _ n u m b e r = ' 1 , 3 , 5 ' ,   n u m b e r _ c o u n t _ m e t r i c , e v e n _ n u m b e r = ' 2 , 4 , 6 ' ,   d a t e _ g a u g e _ m e t r i c , w e e k e n d = ' S a t u r d a y , S u n d a y '   I n   a d d i t i o n   t o   s p e c i f y i n g   t h i s   f r o m   t h e   C L I ,   t h i s   c a n   a l s o   b e   d o n e   w i t h i n   a   c o n f i g u r a t i o n   f i l e .   Y o u   c a n   s p e c i f y   t h e   p a t h   t o   t h a t   c o n f i g u r a t i o n   f i l e   u s i n g   t h e   - - a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13311"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   t h e   P r o m e t h e u s   t e x t   f o r m a t   f o r   m e t r i c s S e e   t h e   l i s t   o f   s t a b l e   K u b e r n e t e s   m e t r i c s R e a d   a b o u t   t h e   K u b e r n e t e s   d e p r e c a t i o n   p o l i c y",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13312"
  },
  {
    "question": "What is 11.11 - Metrics for Kubernetes Object States?",
    "answer": "T h e   s t a t e   o f   K u b e r n e t e s   o b j e c t s   i n   t h e   K u b e r n e t e s   A P I   c a n   b e   e x p o s e d   a s   m e t r i c s .   A n   a d d - o n   a g e n t   c a l l e d   k u b e - s t a t e - m e t r i c s   c a n   c o n n e c t   t o   t h e   K u b e r n e t e s   A P I   s e r v e r   a n d   e x p o s e   a   H T T P   e n d p o i n t   w i t h   m e t r i c s   g e n e r a t e d   f r o m   t h e   s t a t e   o f   i n d i v i d u a l   o b j e c t s   i n   t h e   c l u s t e r .   I t   e x p o s e s   v a r i o u s   i n f o r m a t i o n   a b o u t   t h e   s t a t e   o f   o b j e c t s   l i k e   l a b e l s   a n d   a n n o t a t i o n s ,   s t a r t u p   a n d   t e r m i n a t i o n   t i m e s ,   s t a t u s   o r   t h e   p h a s e   t h e   o b j e c t   c u r r e n t l y   i s   i n .   F o r   e x a m p l e ,   c o n t a i n e r s   r u n n i n g   i n   p o d s   c r e a t e   a   k u b e _ p o d _ c o n t a i n e r _ i n f o   m e t r i c .   T h i s   i n c l u d e s   t h e   n a m e   o f   t h e   c o n t a i n e r ,   t h e   n a m e   o f   t h e   p o d   i t   i s   p a r t   o f ,   t h e   n a m e s p a c e   t h e   p o d   i s   r u n n i n g   i n ,   t h e   n a m e   o f   t h e   c o n t a i n e r   i m a g e ,   t h e   I D   o f   t h e   i m a g e ,   t h e   i m a g e   n a m e   f r o m   t h e   s p e c   o f   t h e   c o n t a i n e r ,   t h e   I D   o f   t h e   r u n n i n g   c o n t a i n e r   a n d   t h e   I D   o f   t h e   p o d   a s   l a b e l s .   A n   e x t e r n a l   c o m p o n e n t   t h a t   i s   a b l e   a n d   c a p a b l e   t o   s c r a p e   t h e   e n d p o i n t   o f   k u b e - s t a t e - m e t r i c s   ( f o r   e x a m p l e   v i a   P r o m e t h e u s )   c a n   n o w   b e   u s e d   t o   e n a b l e   t h e   f o l l o w i n g   u s e   c a s e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13313"
  },
  {
    "question": "What is Example: using metrics from kube-state-metrics to query the cluster state?",
    "answer": "M e t r i c   s e r i e s   g e n e r a t e d   b y   k u b e - s t a t e - m e t r i c s   a r e   h e l p f u l   t o   g a t h e r   f u r t h e r   i n s i g h t s   i n t o   t h e   c l u s t e r ,   a s   t h e y   c a n   b e   u s e d   f o r   q u e r y i n g .   I f   y o u   u s e   P r o m e t h e u s   o r   a n o t h e r   t o o l   t h a t   u s e s   t h e   s a m e   q u e r y   l a n g u a g e ,   t h e   f o l l o w i n g   P r o m Q L   q u e r y   r e t u r n s   t h e   n u m b e r   o f   p o d s   t h a t   a r e   n o t   r e a d y :   c o u n t ( k u b e _ p o d _ s t a t u s _ r e a d y { c o n d i t i o n = \" f a l s e \" } )   b y   ( n a m e s p a c e ,   p o d )",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13314"
  },
  {
    "question": "What is Example: alerting based on from kube-state-metrics?",
    "answer": "M e t r i c s   g e n e r a t e d   f r o m   k u b e - s t a t e - m e t r i c s   a l s o   a l l o w   f o r   a l e r t i n g   o n   i s s u e s   i n   t h e   c l u s t e r .   I f   y o u   u s e   P r o m e t h e u s   o r   a   s i m i l a r   t o o l   t h a t   u s e s   t h e   s a m e   a l e r t   r u l e   l a n g u a g e ,   t h e   f o l l o w i n g   a l e r t   w i l l   f i r e   i f   t h e r e   a r e   p o d s   t h a t   h a v e   b e e n   i n   a   T e r m i n a t i n g   s t a t e   f o r   m o r e   t h a n   5   m i n u t e s :   g r o u p s :   -   n a m e :   P o d   s t a t e   r u l e s :   -   a l e r t :   P o d s B l o c k e d I n T e r m i n a t i n g S t a t e   e x p r :   c o u n t ( k u b e _ p o d _ d e l e t i o n _ t i m e s t a m p )   b y   ( n a m e s p a c e ,   p o d )   *   c o u n t ( k u b e _ p o d _ s t a t u s _ r e a s o n { r e a s o n = \" N o d e L o s t \" }   = =   0 )   b y   ( n a m e s p a c e ,   p o d )   >   0   f o r :   5 m   l a b e l s :   s e v e r i t y :   p a g e   a n n o t a t i o n s :   s u m m a r y :   P o d   { { $ l a b e l s . n a m e s p a c e } } / { { $ l a b e l s . p o d } }   b l o c k e d   i n   T e r m i n a t i n g   s t a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13315"
  },
  {
    "question": "What is 11.12 - System Logs?",
    "answer": "S y s t e m   c o m p o n e n t   l o g s   r e c o r d   e v e n t s   h a p p e n i n g   i n   c l u s t e r ,   w h i c h   c a n   b e   v e r y   u s e f u l   f o r   d e b u g g i n g .   Y o u   c a n   c o n f i g u r e   l o g   v e r b o s i t y   t o   s e e   m o r e   o r   l e s s   d e t a i l .   L o g s   c a n   b e   a s   c o a r s e - g r a i n e d   a s   s h o w i n g   e r r o r s   w i t h i n   a   c o m p o n e n t ,   o r   a s   f i n e - g r a i n e d   a s   s h o w i n g   s t e p - b y - s t e p   t r a c e s   o f   e v e n t s   ( l i k e   H T T P   a c c e s s   l o g s ,   p o d   s t a t e   c h a n g e s ,   c o n t r o l l e r   a c t i o n s ,   o r   s c h e d u l e r   d e c i s i o n s ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13316"
  },
  {
    "question": "What is Klog?",
    "answer": "k l o g   i s   t h e   K u b e r n e t e s   l o g g i n g   l i b r a r y .   k l o g   g e n e r a t e s   l o g   m e s s a g e s   f o r   t h e   K u b e r n e t e s   s y s t e m   c o m p o n e n t s .   K u b e r n e t e s   i s   i n   t h e   p r o c e s s   o f   s i m p l i f y i n g   l o g g i n g   i n   i t s   c o m p o n e n t s .   T h e   f o l l o w i n g   k l o g   c o m m a n d   l i n e   f l a g s   a r e   d e p r e c a t e d   s t a r t i n g   w i t h   K u b e r n e t e s   v 1 . 2 3   a n d   r e m o v e d   i n   K u b e r n e t e s   v 1 . 2 6 :   - - a d d - d i r - h e a d e r - - a l s o l o g t o s t d e r r - - l o g - b a c k t r a c e - a t - - l o g - d i r - - l o g - f i l e - - l o g - f i l e - m a x - s i z e - - l o g t o s t d e r r - - o n e - o u t p u t - - s k i p - h e a d e r s - - s k i p - l o g - h e a d e r s - - s t d e r r t h r e s h o l d   O u t p u t   w i l l   a l w a y s   b e   w r i t t e n   t o   s t d e r r ,   r e g a r d l e s s   o f   t h e   o u t p u t   f o r m a t .   O u t p u t   r e d i r e c t i o n   i s   e x p e c t e d   t o   b e   h a n d l e d   b y   t h e   c o m p o n e n t   w h i c h   i n v o k e s   a   K u b e r n e t e s   c o m p o n e n t .   T h i s   c a n   b e   a   P O S I X   s h e l l   o r   a   t o o l   l i k e   s y s t e m d .   I n   s o m e   c a s e s ,   f o r   e x a m p l e   a   d i s t r o l e s s   c o n t a i n e r   o r   a   W i n d o w s   s y s t e m   s e r v i c e ,   t h o s e   o p t i o n s   a r e   n o t   a v a i l a b l e .   T h e n   t h e   k u b e - l o g - r u n n e r   b i n a r y   c a n   b e   u s e d   a s   w r a p p e r   a r o u n d   a   K u b e r n e t e s   c o m p o n e n t   t o   r e d i r e c t   o u t p u t .   A   p r e b u i l t   b i n a r y   i s   i n c l u d e d   i n   s e v e r a l   K u b e r n e t e s   b a s e   i m a g e s   u n d e r   i t s   t r a d i t i o n a l   n a m e   a s   / g o - r u n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13317"
  },
  {
    "question": "What is Klog output?",
    "answer": "A n   e x a m p l e   o f   t h e   t r a d i t i o n a l   k l o g   n a t i v e   f o r m a t :   I 1 0 2 5   0 0 : 1 5 : 1 5 . 5 2 5 1 0 8   1   h t t p l o g . g o : 7 9 ]   G E T   / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / p o d s / m e t r i c s - s e r v e r - v 0 . 3 . 1 - 5 7 c 7 5 7 7 9 f - 9 p 8 w g :   ( 1 . 5 1 2 m s )   2 0 0   [ p o d _ n a n n y / v 0 . 0 . 0   ( l i n u x / a m d 6 4 )   k u b e r n e t e s / $ F o r m a t   1 0 . 5 6 . 1 . 1 9 : 5 1 7 5 6 ]   T h e   m e s s a g e   s t r i n g   m a y   c o n t a i n   l i n e   b r e a k s :   I 1 0 2 5   0 0 : 1 5 : 1 5 . 5 2 5 1 0 8   1   e x a m p l e . g o : 7 9 ]   T h i s   i s   a   m e s s a g e   w h i c h   h a s   a   l i n e   b r e a k .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13318"
  },
  {
    "question": "What is Warning:?",
    "answer": "M i g r a t i o n   t o   s t r u c t u r e d   l o g   m e s s a g e s   i s   a n   o n g o i n g   p r o c e s s .   N o t   a l l   l o g   m e s s a g e s   a r e   s t r u c t u r e d   i n   t h i s   v e r s i o n .   W h e n   p a r s i n g   l o g   f i l e s ,   y o u   m u s t   a l s o   h a n d l e   u n s t r u c t u r e d   l o g   m e s s a g e s .   L o g   f o r m a t t i n g   a n d   v a l u e   s e r i a l i z a t i o n   a r e   s u b j e c t   t o   c h a n g e .   S t r u c t u r e d   l o g g i n g   i n t r o d u c e s   a   u n i f o r m   s t r u c t u r e   i n   l o g   m e s s a g e s   a l l o w i n g   f o r   p r o g r a m m a t i c   e x t r a c t i o n   o f   i n f o r m a t i o n .   Y o u   c a n   s t o r e   a n d   p r o c e s s   s t r u c t u r e d   l o g s   w i t h   l e s s   e f f o r t   a n d   c o s t .   T h e   c o d e   w h i c h   g e n e r a t e s   a   l o g   m e s s a g e   d e t e r m i n e s   w h e t h e r   i t   u s e s   t h e   t r a d i t i o n a l   u n s t r u c t u r e d   k l o g   o u t p u t   o r   s t r u c t u r e d   l o g g i n g .   T h e   d e f a u l t   f o r m a t t i n g   o f   s t r u c t u r e d   l o g   m e s s a g e s   i s   a s   t e x t ,   w i t h   a   f o r m a t   t h a t   i s   b a c k w a r d   c o m p a t i b l e   w i t h   t r a d i t i o n a l   k l o g :   < k l o g   h e a d e r >   \" < m e s s a g e > \"   < k e y 1 > = \" < v a l u e 1 > \"   < k e y 2 > = \" < v a l u e 2 > \"   . . .   E x a m p l e :   I 1 0 2 5   0 0 : 1 5 : 1 5 . 5 2 5 1 0 8   1   c o n t r o l l e r _ u t i l s . g o : 1 1 6 ]   \" P o d   s t a t u s   u p d a t e d \"   p o d = \" k u b e - s y s t e m / k u b e d n s \"   s t a t u s = \" r e a d y \"   S t r i n g s   a r e   q u o t e d .   O t h e r   v a l u e s   a r e   f o r m a t t e d   w i t h   % + v ,   w h i c h   m a y   c a u s e   l o g   m e s s a g e s   t o   c o n t i n u e   o n   t h e   n e x t   l i n e   d e p e n d i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13319"
  },
  {
    "question": "What is Contextual Logging?",
    "answer": "C o n t e x t u a l   l o g g i n g   b u i l d s   o n   t o p   o f   s t r u c t u r e d   l o g g i n g .   I t   i s   p r i m a r i l y   a b o u t   h o w   d e v e l o p e r s   u s e   l o g g i n g   c a l l s :   c o d e   b a s e d   o n   t h a t   c o n c e p t   i s   m o r e   f l e x i b l e   a n d   s u p p o r t s   a d d i t i o n a l   u s e   c a s e s   a s   d e s c r i b e d   i n   t h e   C o n t e x t u a l   L o g g i n g   K E P .   I f   d e v e l o p e r s   u s e   a d d i t i o n a l   f u n c t i o n s   l i k e   W i t h V a l u e s   o r   W i t h N a m e   i n   t h e i r   c o m p o n e n t s ,   t h e n   l o g   e n t r i e s   c o n t a i n   a d d i t i o n a l   i n f o r m a t i o n   t h a t   g e t s   p a s s e d   i n t o   f u n c t i o n s   b y   t h e i r   c a l l e r .   F o r   K u b e r n e t e s   1 . 3 4 ,   t h i s   i s   g a t e d   b e h i n d   t h e   C o n t e x t u a l L o g g i n g   f e a t u r e   g a t e   a n d   i s   e n a b l e d   b y   d e f a u l t .   T h e   i n f r a s t r u c t u r e   f o r   t h i s   w a s   a d d e d   i n   1 . 2 4   w i t h o u t   m o d i f y i n g   c o m p o n e n t s .   T h e   c o m p o n e n t - b a s e / l o g s / e x a m p l e   c o m m a n d   d e m o n s t r a t e s   h o w   t o   u s e   t h e   n e w   l o g g i n g   c a l l s   a n d   h o w   a   c o m p o n e n t   b e h a v e s   t h a t   s u p p o r t s   c o n t e x t u a l   l o g g i n g .   $   c d   $ G O P A T H / s r c / k 8 s . i o / k u b e r n e t e s / s t a g i n g / s r c / k 8 s . i o / c o m p o n e n t - b a s e / l o g s / e x a m p l e / c m d /   $   g o   r u n   .   - - h e l p   . . .   - - f e a t u r e - g a t e s   m a p S t r i n g B o o l   A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   a l p h a / e x p e r i m e n t a l   f e a t u r e s .   O p t i o n s   a r e :   A l l A l p h a = t r u e | f ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13320"
  },
  {
    "question": "What is Warning:?",
    "answer": "J S O N   o u t p u t   d o e s   n o t   s u p p o r t   m a n y   s t a n d a r d   k l o g   f l a g s .   F o r   l i s t   o f   u n s u p p o r t e d   k l o g   f l a g s ,   s e e   t h e   C o m m a n d   l i n e   t o o l   r e f e r e n c e .   N o t   a l l   l o g s   a r e   g u a r a n t e e d   t o   b e   w r i t t e n   i n   J S O N   f o r m a t   ( f o r   e x a m p l e ,   d u r i n g   p r o c e s s   s t a r t ) .   I f   y o u   i n t e n d   t o   p a r s e   l o g s ,   m a k e   s u r e   y o u   c a n   h a n d l e   l o g   l i n e s   t h a t   a r e   n o t   J S O N   a s   w e l l .   F i e l d   n a m e s   a n d   J S O N   s e r i a l i z a t i o n   a r e   s u b j e c t   t o   c h a n g e .   T h e   - - l o g g i n g - f o r m a t = j s o n   f l a g   c h a n g e s   t h e   f o r m a t   o f   l o g s   f r o m   k l o g   n a t i v e   f o r m a t   t o   J S O N   f o r m a t .   E x a m p l e   o f   J S O N   l o g   f o r m a t   ( p r e t t y   p r i n t e d ) :   {   \" t s \" :   1 5 8 0 3 0 6 7 7 7 . 0 4 7 2 8 ,   \" v \" :   4 ,   \" m s g \" :   \" P o d   s t a t u s   u p d a t e d \" ,   \" p o d \" : {   \" n a m e \" :   \" n g i n x - 1 \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \"   } ,   \" s t a t u s \" :   \" r e a d y \"   }   K e y s   w i t h   s p e c i a l   m e a n i n g :   t s   -   t i m e s t a m p   a s   U n i x   t i m e   ( r e q u i r e d ,   f l o a t ) v   -   v e r b o s i t y   ( o n l y   f o r   i n f o   a n d   n o t   f o r   e r r o r   m e s s a g e s ,   i n t ) e r r   -   e r r o r   s t r i n g   ( o p t i o n a l ,   s t r i n g ) m s g   -   m e s s a g e   ( r e q u i r e d ,   s t r i n g )   L i s t   o f   c o m p o n e n t s   c u r r e n t l y   s u p p o r t i n g   J S O N   f o r m a t :   k u b e - c o n t r o l l e r - m a n a g e r k u b e - a p i s e r v e r k u b e - s c h e d u l e r k u b e l e t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13321"
  },
  {
    "question": "What is Log verbosity level?",
    "answer": "T h e   - v   f l a g   c o n t r o l s   l o g   v e r b o s i t y .   I n c r e a s i n g   t h e   v a l u e   i n c r e a s e s   t h e   n u m b e r   o f   l o g g e d   e v e n t s .   D e c r e a s i n g   t h e   v a l u e   d e c r e a s e s   t h e   n u m b e r   o f   l o g g e d   e v e n t s .   I n c r e a s i n g   v e r b o s i t y   s e t t i n g s   l o g s   i n c r e a s i n g l y   l e s s   s e v e r e   e v e n t s .   A   v e r b o s i t y   s e t t i n g   o f   0   l o g s   o n l y   c r i t i c a l   e v e n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13322"
  },
  {
    "question": "What is Log location?",
    "answer": "T h e r e   a r e   t w o   t y p e s   o f   s y s t e m   c o m p o n e n t s :   t h o s e   t h a t   r u n   i n   a   c o n t a i n e r   a n d   t h o s e   t h a t   d o   n o t   r u n   i n   a   c o n t a i n e r .   F o r   e x a m p l e :   T h e   K u b e r n e t e s   s c h e d u l e r   a n d   k u b e - p r o x y   r u n   i n   a   c o n t a i n e r . T h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   d o   n o t   r u n   i n   c o n t a i n e r s .   O n   m a c h i n e s   w i t h   s y s t e m d ,   t h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   w r i t e   t o   j o u r n a l d .   O t h e r w i s e ,   t h e y   w r i t e   t o   . l o g   f i l e s   i n   t h e   / v a r / l o g   d i r e c t o r y .   S y s t e m   c o m p o n e n t s   i n s i d e   c o n t a i n e r s   a l w a y s   w r i t e   t o   . l o g   f i l e s   i n   t h e   / v a r / l o g   d i r e c t o r y ,   b y p a s s i n g   t h e   d e f a u l t   l o g g i n g   m e c h a n i s m .   S i m i l a r   t o   t h e   c o n t a i n e r   l o g s ,   y o u   s h o u l d   r o t a t e   s y s t e m   c o m p o n e n t   l o g s   i n   t h e   / v a r / l o g   d i r e c t o r y .   I n   K u b e r n e t e s   c l u s t e r s   c r e a t e d   b y   t h e   k u b e - u p . s h   s c r i p t ,   l o g   r o t a t i o n   i s   c o n f i g u r e d   b y   t h e   l o g r o t a t e   t o o l .   T h e   l o g r o t a t e   t o o l   r o t a t e s   l o g s   d a i l y ,   o r   o n c e   t h e   l o g   s i z e   i s   g r e a t e r   t h a n   1 0 0 M B .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13323"
  },
  {
    "question": "What is Log query?",
    "answer": "T o   h e l p   w i t h   d e b u g g i n g   i s s u e s   o n   n o d e s ,   K u b e r n e t e s   v 1 . 2 7   i n t r o d u c e d   a   f e a t u r e   t h a t   a l l o w s   v i e w i n g   l o g s   o f   s e r v i c e s   r u n n i n g   o n   t h e   n o d e .   T o   u s e   t h e   f e a t u r e ,   e n s u r e   t h a t   t h e   N o d e L o g Q u e r y   f e a t u r e   g a t e   i s   e n a b l e d   f o r   t h a t   n o d e ,   a n d   t h a t   t h e   k u b e l e t   c o n f i g u r a t i o n   o p t i o n s   e n a b l e S y s t e m L o g H a n d l e r   a n d   e n a b l e S y s t e m L o g Q u e r y   a r e   b o t h   s e t   t o   t r u e .   O n   L i n u x   t h e   a s s u m p t i o n   i s   t h a t   s e r v i c e   l o g s   a r e   a v a i l a b l e   v i a   j o u r n a l d .   O n   W i n d o w s   t h e   a s s u m p t i o n   i s   t h a t   s e r v i c e   l o g s   a r e   a v a i l a b l e   i n   t h e   a p p l i c a t i o n   l o g   p r o v i d e r .   O n   b o t h   o p e r a t i n g   s y s t e m s ,   l o g s   a r e   a l s o   a v a i l a b l e   b y   r e a d i n g   f i l e s   w i t h i n   / v a r / l o g / .   P r o v i d e d   y o u   a r e   a u t h o r i z e d   t o   i n t e r a c t   w i t h   n o d e   o b j e c t s ,   y o u   c a n   t r y   o u t   t h i s   f e a t u r e   o n   a l l   y o u r   n o d e s   o r   j u s t   a   s u b s e t .   H e r e   i s   a n   e x a m p l e   t o   r e t r i e v e   t h e   k u b e l e t   s e r v i c e   l o g s   f r o m   a   n o d e :   #   F e t c h   k u b e l e t   l o g s   f r o m   a   n o d e   n a m e d   n o d e - 1 . e x a m p l e   k u b e c t l   g e t   - - r a w   \" / a p i / v 1 / n o d e s / n o d e - 1 . e x a m p l e / p r o x y / l o g s / ? q u e r y = k u b e l e t \"   Y o u   c a n   a l s o   f e t c h   f i l e s ,   p r o v i d e d   t h a t   t h e   f i l e s   a r e   i n   a   d i r e c t o r y   t h a t   t h e   k u b e l e t   a l ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13324"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   t h e   K u b e r n e t e s   L o g g i n g   A r c h i t e c t u r e R e a d   a b o u t   S t r u c t u r e d   L o g g i n g R e a d   a b o u t   C o n t e x t u a l   L o g g i n g R e a d   a b o u t   d e p r e c a t i o n   o f   k l o g   f l a g s R e a d   a b o u t   t h e   C o n v e n t i o n s   f o r   l o g g i n g   s e v e r i t y R e a d   a b o u t   L o g   Q u e r y",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13325"
  },
  {
    "question": "What is 11.13 - Traces For Kubernetes System Components?",
    "answer": "S y s t e m   c o m p o n e n t   t r a c e s   r e c o r d   t h e   l a t e n c y   o f   a n d   r e l a t i o n s h i p s   b e t w e e n   o p e r a t i o n s   i n   t h e   c l u s t e r .   K u b e r n e t e s   c o m p o n e n t s   e m i t   t r a c e s   u s i n g   t h e   O p e n T e l e m e t r y   P r o t o c o l   w i t h   t h e   g R P C   e x p o r t e r   a n d   c a n   b e   c o l l e c t e d   a n d   r o u t e d   t o   t r a c i n g   b a c k e n d s   u s i n g   a n   O p e n T e l e m e t r y   C o l l e c t o r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13326"
  },
  {
    "question": "What is Trace Collection?",
    "answer": "K u b e r n e t e s   c o m p o n e n t s   h a v e   b u i l t - i n   g R P C   e x p o r t e r s   f o r   O T L P   t o   e x p o r t   t r a c e s ,   e i t h e r   w i t h   a n   O p e n T e l e m e t r y   C o l l e c t o r ,   o r   w i t h o u t   a n   O p e n T e l e m e t r y   C o l l e c t o r .   F o r   a   c o m p l e t e   g u i d e   t o   c o l l e c t i n g   t r a c e s   a n d   u s i n g   t h e   c o l l e c t o r ,   s e e   G e t t i n g   S t a r t e d   w i t h   t h e   O p e n T e l e m e t r y   C o l l e c t o r .   H o w e v e r ,   t h e r e   a r e   a   f e w   t h i n g s   t o   n o t e   t h a t   a r e   s p e c i f i c   t o   K u b e r n e t e s   c o m p o n e n t s .   B y   d e f a u l t ,   K u b e r n e t e s   c o m p o n e n t s   e x p o r t   t r a c e s   u s i n g   t h e   g r p c   e x p o r t e r   f o r   O T L P   o n   t h e   I A N A   O p e n T e l e m e t r y   p o r t ,   4 3 1 7 .   A s   a n   e x a m p l e ,   i f   t h e   c o l l e c t o r   i s   r u n n i n g   a s   a   s i d e c a r   t o   a   K u b e r n e t e s   c o m p o n e n t ,   t h e   f o l l o w i n g   r e c e i v e r   c o n f i g u r a t i o n   w i l l   c o l l e c t   s p a n s   a n d   l o g   t h e m   t o   s t a n d a r d   o u t p u t :   r e c e i v e r s :   o t l p :   p r o t o c o l s :   g r p c :   e x p o r t e r s :   #   R e p l a c e   t h i s   e x p o r t e r   w i t h   t h e   e x p o r t e r   f o r   y o u r   b a c k e n d   e x p o r t e r s :   d e b u g :   v e r b o s i t y :   d e t a i l e d   s e r v i c e :   p i p e l i n e s :   t r a c e s :   r e c e i v e r s :   [ o t l p ]   e x p o r t e r s :   [ d e b u g ]   T o   d i r e c t l y   e m i t   t r a c e s   t o   a   b a c k e n d   w i t h o u t   u t i l i z i n g   a   c o l l e c t o r ,   s p e c i f y   t h e   e n d p o i n t   f i e l d   i n   t h e   K u b e r n e t e s   t r a c i n g   c o n f i g u r a t i o n   f i l e   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13327"
  },
  {
    "question": "What is kube-apiserver traces?",
    "answer": "T h e   k u b e - a p i s e r v e r   g e n e r a t e s   s p a n s   f o r   i n c o m i n g   H T T P   r e q u e s t s ,   a n d   f o r   o u t g o i n g   r e q u e s t s   t o   w e b h o o k s ,   e t c d ,   a n d   r e - e n t r a n t   r e q u e s t s .   I t   p r o p a g a t e s   t h e   W 3 C   T r a c e   C o n t e x t   w i t h   o u t g o i n g   r e q u e s t s   b u t   d o e s   n o t   m a k e   u s e   o f   t h e   t r a c e   c o n t e x t   a t t a c h e d   t o   i n c o m i n g   r e q u e s t s ,   a s   t h e   k u b e - a p i s e r v e r   i s   o f t e n   a   p u b l i c   e n d p o i n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13328"
  },
  {
    "question": "What is Enabling tracing in the kube-apiserver?",
    "answer": "T o   e n a b l e   t r a c i n g ,   p r o v i d e   t h e   k u b e - a p i s e r v e r   w i t h   a   t r a c i n g   c o n f i g u r a t i o n   f i l e   w i t h   - - t r a c i n g - c o n f i g - f i l e = < p a t h - t o - c o n f i g > .   T h i s   i s   a n   e x a m p l e   c o n f i g   t h a t   r e c o r d s   s p a n s   f o r   1   i n   1 0 0 0 0   r e q u e s t s ,   a n d   u s e s   t h e   d e f a u l t   O p e n T e l e m e t r y   e n d p o i n t :   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   T r a c i n g C o n f i g u r a t i o n   #   d e f a u l t   v a l u e   # e n d p o i n t :   l o c a l h o s t : 4 3 1 7   s a m p l i n g R a t e P e r M i l l i o n :   1 0 0   F o r   m o r e   i n f o r m a t i o n   a b o u t   t h e   T r a c i n g C o n f i g u r a t i o n   s t r u c t ,   s e e   A P I   s e r v e r   c o n f i g   A P I   ( v 1 ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13329"
  },
  {
    "question": "What is kubelet traces?",
    "answer": "T h e   k u b e l e t   C R I   i n t e r f a c e   a n d   a u t h e n t i c a t e d   h t t p   s e r v e r s   a r e   i n s t r u m e n t e d   t o   g e n e r a t e   t r a c e   s p a n s .   A s   w i t h   t h e   a p i s e r v e r ,   t h e   e n d p o i n t   a n d   s a m p l i n g   r a t e   a r e   c o n f i g u r a b l e .   T r a c e   c o n t e x t   p r o p a g a t i o n   i s   a l s o   c o n f i g u r e d .   A   p a r e n t   s p a n ' s   s a m p l i n g   d e c i s i o n   i s   a l w a y s   r e s p e c t e d .   A   p r o v i d e d   t r a c i n g   c o n f i g u r a t i o n   s a m p l i n g   r a t e   w i l l   a p p l y   t o   s p a n s   w i t h o u t   a   p a r e n t .   E n a b l e d   w i t h o u t   a   c o n f i g u r e d   e n d p o i n t ,   t h e   d e f a u l t   O p e n T e l e m e t r y   C o l l e c t o r   r e c e i v e r   a d d r e s s   o f   \" l o c a l h o s t : 4 3 1 7 \"   i s   s e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13330"
  },
  {
    "question": "What is Enabling tracing in the kubelet?",
    "answer": "T o   e n a b l e   t r a c i n g ,   a p p l y   t h e   t r a c i n g   c o n f i g u r a t i o n .   T h i s   i s   a n   e x a m p l e   s n i p p e t   o f   a   k u b e l e t   c o n f i g   t h a t   r e c o r d s   s p a n s   f o r   1   i n   1 0 0 0 0   r e q u e s t s ,   a n d   u s e s   t h e   d e f a u l t   O p e n T e l e m e t r y   e n d p o i n t :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   t r a c i n g :   #   d e f a u l t   v a l u e   # e n d p o i n t :   l o c a l h o s t : 4 3 1 7   s a m p l i n g R a t e P e r M i l l i o n :   1 0 0   I f   t h e   s a m p l i n g R a t e P e r M i l l i o n   i s   s e t   t o   o n e   m i l l i o n   ( 1 0 0 0 0 0 0 ) ,   t h e n   e v e r y   s p a n   w i l l   b e   s e n t   t o   t h e   e x p o r t e r .   T h e   k u b e l e t   i n   K u b e r n e t e s   v 1 . 3 4   c o l l e c t s   s p a n s   f r o m   t h e   g a r b a g e   c o l l e c t i o n ,   p o d   s y n c h r o n i z a t i o n   r o u t i n e   a s   w e l l   a s   e v e r y   g R P C   m e t h o d .   T h e   k u b e l e t   p r o p a g a t e s   t r a c e   c o n t e x t   w i t h   g R P C   r e q u e s t s   s o   t h a t   c o n t a i n e r   r u n t i m e s   w i t h   t r a c e   i n s t r u m e n t a t i o n ,   s u c h   a s   C R I - O   a n d   c o n t a i n e r d ,   c a n   a s s o c i a t e   t h e i r   e x p o r t e d   s p a n s   w i t h   t h e   t r a c e   c o n t e x t   f r o m   t h e   k u b e l e t .   T h e   r e s u l t i n g   t r a c e s   w i l l   h a v e   p a r e n t - c h i l d   l i n k s   b e t w e e n   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   s p a n s ,   p r o v i d i n g   h e l p f u l   c o n t e x t   w h e n   d e b u g g i n g   n o d e   i s s u e s .   P l e a s e   n o t e   t h a t   e x p o r t i n g   s p a n s   a l w a y s   c o m e s   w i t h   a   s m ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13331"
  },
  {
    "question": "What is Stability?",
    "answer": "T r a c i n g   i n s t r u m e n t a t i o n   i s   s t i l l   u n d e r   a c t i v e   d e v e l o p m e n t ,   a n d   m a y   c h a n g e   i n   a   v a r i e t y   o f   w a y s .   T h i s   i n c l u d e s   s p a n   n a m e s ,   a t t a c h e d   a t t r i b u t e s ,   i n s t r u m e n t e d   e n d p o i n t s ,   e t c .   U n t i l   t h i s   f e a t u r e   g r a d u a t e s   t o   s t a b l e ,   t h e r e   a r e   n o   g u a r a n t e e s   o f   b a c k w a r d s   c o m p a t i b i l i t y   f o r   t r a c i n g   i n s t r u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13332"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   G e t t i n g   S t a r t e d   w i t h   t h e   O p e n T e l e m e t r y   C o l l e c t o r R e a d   a b o u t   O T L P   E x p o r t e r   C o n f i g u r a t i o n",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13333"
  },
  {
    "question": "What is 11.14 - Proxies in Kubernetes?",
    "answer": "T h i s   p a g e   e x p l a i n s   p r o x i e s   u s e d   w i t h   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13334"
  },
  {
    "question": "What is Proxies?",
    "answer": "T h e r e   a r e   s e v e r a l   d i f f e r e n t   p r o x i e s   y o u   m a y   e n c o u n t e r   w h e n   u s i n g   K u b e r n e t e s :   T h e   k u b e c t l   p r o x y : r u n s   o n   a   u s e r ' s   d e s k t o p   o r   i n   a   p o d p r o x i e s   f r o m   a   l o c a l h o s t   a d d r e s s   t o   t h e   K u b e r n e t e s   a p i s e r v e r c l i e n t   t o   p r o x y   u s e s   H T T P p r o x y   t o   a p i s e r v e r   u s e s   H T T P S l o c a t e s   a p i s e r v e r a d d s   a u t h e n t i c a t i o n   h e a d e r s T h e   a p i s e r v e r   p r o x y : i s   a   b a s t i o n   b u i l t   i n t o   t h e   a p i s e r v e r c o n n e c t s   a   u s e r   o u t s i d e   o f   t h e   c l u s t e r   t o   c l u s t e r   I P s   w h i c h   o t h e r w i s e   m i g h t   n o t   b e   r e a c h a b l e r u n s   i n   t h e   a p i s e r v e r   p r o c e s s e s c l i e n t   t o   p r o x y   u s e s   H T T P S   ( o r   h t t p   i f   a p i s e r v e r   s o   c o n f i g u r e d ) p r o x y   t o   t a r g e t   m a y   u s e   H T T P   o r   H T T P S   a s   c h o s e n   b y   p r o x y   u s i n g   a v a i l a b l e   i n f o r m a t i o n c a n   b e   u s e d   t o   r e a c h   a   N o d e ,   P o d ,   o r   S e r v i c e d o e s   l o a d   b a l a n c i n g   w h e n   u s e d   t o   r e a c h   a   S e r v i c e T h e   k u b e   p r o x y : r u n s   o n   e a c h   n o d e p r o x i e s   U D P ,   T C P   a n d   S C T P d o e s   n o t   u n d e r s t a n d   H T T P p r o v i d e s   l o a d   b a l a n c i n g i s   o n l y   u s e d   t o   r e a c h   s e r v i c e s A   P r o x y / L o a d - b a l a n c e r   i n   f r o n t   o f   a p i s e r v e r ( s ) : e x i s t e n c e   a n d   i m p l e m e n t a t i o n   v a r i e s   f r o m   c l u s t e r   t o   c l u s t e r   ( e . g .   n g i n x ) s i t s   b e t w e e n   a l l   c l i e n t s   a n d   o n e   o r   m o r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13335"
  },
  {
    "question": "What is Requesting redirects?",
    "answer": "P r o x i e s   h a v e   r e p l a c e d   r e d i r e c t   c a p a b i l i t i e s .   R e d i r e c t s   h a v e   b e e n   d e p r e c a t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13336"
  },
  {
    "question": "What is 11.15 - API Priority and Fairness?",
    "answer": "C o n t r o l l i n g   t h e   b e h a v i o r   o f   t h e   K u b e r n e t e s   A P I   s e r v e r   i n   a n   o v e r l o a d   s i t u a t i o n   i s   a   k e y   t a s k   f o r   c l u s t e r   a d m i n i s t r a t o r s .   T h e   k u b e - a p i s e r v e r   h a s   s o m e   c o n t r o l s   a v a i l a b l e   ( i . e .   t h e   - - m a x - r e q u e s t s - i n f l i g h t   a n d   - - m a x - m u t a t i n g - r e q u e s t s - i n f l i g h t   c o m m a n d - l i n e   f l a g s )   t o   l i m i t   t h e   a m o u n t   o f   o u t s t a n d i n g   w o r k   t h a t   w i l l   b e   a c c e p t e d ,   p r e v e n t i n g   a   f l o o d   o f   i n b o u n d   r e q u e s t s   f r o m   o v e r l o a d i n g   a n d   p o t e n t i a l l y   c r a s h i n g   t h e   A P I   s e r v e r ,   b u t   t h e s e   f l a g s   a r e   n o t   e n o u g h   t o   e n s u r e   t h a t   t h e   m o s t   i m p o r t a n t   r e q u e s t s   g e t   t h r o u g h   i n   a   p e r i o d   o f   h i g h   t r a f f i c .   T h e   A P I   P r i o r i t y   a n d   F a i r n e s s   f e a t u r e   ( A P F )   i s   a n   a l t e r n a t i v e   t h a t   i m p r o v e s   u p o n   a f o r e m e n t i o n e d   m a x - i n f l i g h t   l i m i t a t i o n s .   A P F   c l a s s i f i e s   a n d   i s o l a t e s   r e q u e s t s   i n   a   m o r e   f i n e - g r a i n e d   w a y .   I t   a l s o   i n t r o d u c e s   a   l i m i t e d   a m o u n t   o f   q u e u i n g ,   s o   t h a t   n o   r e q u e s t s   a r e   r e j e c t e d   i n   c a s e s   o f   v e r y   b r i e f   b u r s t s .   R e q u e s t s   a r e   d i s p a t c h e d   f r o m   q u e u e s   u s i n g   a   f a i r   q u e u i n g   t e c h n i q u e   s o   t h a t ,   f o r   e x a m p l e ,   a   p o o r l y - b e h a v e d   c o n t r o l l e r   n e e d   n o t   s t a r v e   o t h e r s   ( e v e n   a t   t h e   s a m e   p r i o r i t y   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13337"
  },
  {
    "question": "What is Enabling/Disabling API Priority and Fairness?",
    "answer": "T h e   A P I   P r i o r i t y   a n d   F a i r n e s s   f e a t u r e   i s   c o n t r o l l e d   b y   a   c o m m a n d - l i n e   f l a g   a n d   i s   e n a b l e d   b y   d e f a u l t .   S e e   O p t i o n s   f o r   a   g e n e r a l   e x p l a n a t i o n   o f   t h e   a v a i l a b l e   k u b e - a p i s e r v e r   c o m m a n d - l i n e   o p t i o n s   a n d   h o w   t o   e n a b l e   a n d   d i s a b l e   t h e m .   T h e   n a m e   o f   t h e   c o m m a n d - l i n e   o p t i o n   f o r   A P F   i s   \" - - e n a b l e - p r i o r i t y - a n d - f a i r n e s s \" .   T h i s   f e a t u r e   a l s o   i n v o l v e s   a n   A P I   G r o u p   w i t h :   ( a )   a   s t a b l e   v 1   v e r s i o n ,   i n t r o d u c e d   i n   1 . 2 9 ,   a n d   e n a b l e d   b y   d e f a u l t   ( b )   a   v 1 b e t a 3   v e r s i o n ,   e n a b l e d   b y   d e f a u l t ,   a n d   d e p r e c a t e d   i n   v 1 . 2 9 .   Y o u   c a n   d i s a b l e   t h e   A P I   g r o u p   b e t a   v e r s i o n   v 1 b e t a 3   b y   a d d i n g   t h e   f o l l o w i n g   c o m m a n d - l i n e   f l a g s   t o   y o u r   k u b e - a p i s e r v e r   i n v o c a t i o n :   k u b e - a p i s e r v e r   \\   - - r u n t i m e - c o n f i g = f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 b e t a 3 = f a l s e   \\   #   … a n d   o t h e r   f l a g s   a s   u s u a l   T h e   c o m m a n d - l i n e   f l a g   - - e n a b l e - p r i o r i t y - a n d - f a i r n e s s = f a l s e   w i l l   d i s a b l e   t h e   A P I   P r i o r i t y   a n d   F a i r n e s s   f e a t u r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13338"
  },
  {
    "question": "What is Recursive server scenarios?",
    "answer": "A P I   P r i o r i t y   a n d   F a i r n e s s   m u s t   b e   u s e d   c a r e f u l l y   i n   r e c u r s i v e   s e r v e r   s c e n a r i o s .   T h e s e   a r e   s c e n a r i o s   i n   w h i c h   s o m e   s e r v e r   A ,   w h i l e   s e r v i n g   a   r e q u e s t ,   i s s u e s   a   s u b s i d i a r y   r e q u e s t   t o   s o m e   s e r v e r   B .   P e r h a p s   s e r v e r   B   m i g h t   e v e n   m a k e   a   f u r t h e r   s u b s i d i a r y   c a l l   b a c k   t o   s e r v e r   A .   I n   s i t u a t i o n s   w h e r e   P r i o r i t y   a n d   F a i r n e s s   c o n t r o l   i s   a p p l i e d   t o   b o t h   t h e   o r i g i n a l   r e q u e s t   a n d   s o m e   s u b s i d i a r y   o n e s ( s ) ,   n o   m a t t e r   h o w   d e e p   i n   t h e   r e c u r s i o n ,   t h e r e   i s   a   d a n g e r   o f   p r i o r i t y   i n v e r s i o n s   a n d / o r   d e a d l o c k s .   O n e   e x a m p l e   o f   r e c u r s i o n   i s   w h e n   t h e   k u b e - a p i s e r v e r   i s s u e s   a n   a d m i s s i o n   w e b h o o k   c a l l   t o   s e r v e r   B ,   a n d   w h i l e   s e r v i n g   t h a t   c a l l ,   s e r v e r   B   m a k e s   a   f u r t h e r   s u b s i d i a r y   r e q u e s t   b a c k   t o   t h e   k u b e - a p i s e r v e r .   A n o t h e r   e x a m p l e   o f   r e c u r s i o n   i s   w h e n   a n   A P I S e r v i c e   o b j e c t   d i r e c t s   t h e   k u b e - a p i s e r v e r   t o   d e l e g a t e   r e q u e s t s   a b o u t   a   c e r t a i n   A P I   g r o u p   t o   a   c u s t o m   e x t e r n a l   s e r v e r   B   ( t h i s   i s   o n e   o f   t h e   t h i n g s   c a l l e d   \" a g g r e g a t i o n \" ) .   W h e n   t h e   o r i g i n a l   r e q u e s t   i s   k n o w n   t o   b e l o n g   t o   a   c e r t a i n   p r i o r i t y   l e v e l ,   a n d   t h e   s u b s i d i a r y   c o n t r o l l e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13339"
  },
  {
    "question": "What is Concepts?",
    "answer": "T h e r e   a r e   s e v e r a l   d i s t i n c t   f e a t u r e s   i n v o l v e d   i n   t h e   A P I   P r i o r i t y   a n d   F a i r n e s s   f e a t u r e .   I n c o m i n g   r e q u e s t s   a r e   c l a s s i f i e d   b y   a t t r i b u t e s   o f   t h e   r e q u e s t   u s i n g   F l o w S c h e m a s ,   a n d   a s s i g n e d   t o   p r i o r i t y   l e v e l s .   P r i o r i t y   l e v e l s   a d d   a   d e g r e e   o f   i s o l a t i o n   b y   m a i n t a i n i n g   s e p a r a t e   c o n c u r r e n c y   l i m i t s ,   s o   t h a t   r e q u e s t s   a s s i g n e d   t o   d i f f e r e n t   p r i o r i t y   l e v e l s   c a n n o t   s t a r v e   e a c h   o t h e r .   W i t h i n   a   p r i o r i t y   l e v e l ,   a   f a i r - q u e u i n g   a l g o r i t h m   p r e v e n t s   r e q u e s t s   f r o m   d i f f e r e n t   f l o w s   f r o m   s t a r v i n g   e a c h   o t h e r ,   a n d   a l l o w s   f o r   r e q u e s t s   t o   b e   q u e u e d   t o   p r e v e n t   b u r s t y   t r a f f i c   f r o m   c a u s i n g   f a i l e d   r e q u e s t s   w h e n   t h e   a v e r a g e   l o a d   i s   a c c e p t a b l y   l o w .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13340"
  },
  {
    "question": "What is Priority Levels?",
    "answer": "W i t h o u t   A P F   e n a b l e d ,   o v e r a l l   c o n c u r r e n c y   i n   t h e   A P I   s e r v e r   i s   l i m i t e d   b y   t h e   k u b e - a p i s e r v e r   f l a g s   - - m a x - r e q u e s t s - i n f l i g h t   a n d   - - m a x - m u t a t i n g - r e q u e s t s - i n f l i g h t .   W i t h   A P F   e n a b l e d ,   t h e   c o n c u r r e n c y   l i m i t s   d e f i n e d   b y   t h e s e   f l a g s   a r e   s u m m e d   a n d   t h e n   t h e   s u m   i s   d i v i d e d   u p   a m o n g   a   c o n f i g u r a b l e   s e t   o f   p r i o r i t y   l e v e l s .   E a c h   i n c o m i n g   r e q u e s t   i s   a s s i g n e d   t o   a   s i n g l e   p r i o r i t y   l e v e l ,   a n d   e a c h   p r i o r i t y   l e v e l   w i l l   o n l y   d i s p a t c h   a s   m a n y   c o n c u r r e n t   r e q u e s t s   a s   i t s   p a r t i c u l a r   l i m i t   a l l o w s .   T h e   d e f a u l t   c o n f i g u r a t i o n ,   f o r   e x a m p l e ,   i n c l u d e s   s e p a r a t e   p r i o r i t y   l e v e l s   f o r   l e a d e r - e l e c t i o n   r e q u e s t s ,   r e q u e s t s   f r o m   b u i l t - i n   c o n t r o l l e r s ,   a n d   r e q u e s t s   f r o m   P o d s .   T h i s   m e a n s   t h a t   a n   i l l - b e h a v e d   P o d   t h a t   f l o o d s   t h e   A P I   s e r v e r   w i t h   r e q u e s t s   c a n n o t   p r e v e n t   l e a d e r   e l e c t i o n   o r   a c t i o n s   b y   t h e   b u i l t - i n   c o n t r o l l e r s   f r o m   s u c c e e d i n g .   T h e   c o n c u r r e n c y   l i m i t s   o f   t h e   p r i o r i t y   l e v e l s   a r e   p e r i o d i c a l l y   a d j u s t e d ,   a l l o w i n g   u n d e r - u t i l i z e d   p r i o r i t y   l e v e l s   t o   t e m p o r a r i l y   l e n d   c o n c u r r e n c y   t o   h e a v i l y - u t i l i z e d   l e v e l s .   T h e s e   l i m i t s   a r e   b a s e d   o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13341"
  },
  {
    "question": "What is Seats Occupied by a Request?",
    "answer": "T h e   a b o v e   d e s c r i p t i o n   o f   c o n c u r r e n c y   m a n a g e m e n t   i s   t h e   b a s e l i n e   s t o r y .   R e q u e s t s   h a v e   d i f f e r e n t   d u r a t i o n s   b u t   a r e   c o u n t e d   e q u a l l y   a t   a n y   g i v e n   m o m e n t   w h e n   c o m p a r i n g   a g a i n s t   a   p r i o r i t y   l e v e l ' s   c o n c u r r e n c y   l i m i t .   I n   t h e   b a s e l i n e   s t o r y ,   e a c h   r e q u e s t   o c c u p i e s   o n e   u n i t   o f   c o n c u r r e n c y .   T h e   w o r d   \" s e a t \"   i s   u s e d   t o   m e a n   o n e   u n i t   o f   c o n c u r r e n c y ,   i n s p i r e d   b y   t h e   w a y   e a c h   p a s s e n g e r   o n   a   t r a i n   o r   a i r c r a f t   t a k e s   u p   o n e   o f   t h e   f i x e d   s u p p l y   o f   s e a t s .   B u t   s o m e   r e q u e s t s   t a k e   u p   m o r e   t h a n   o n e   s e a t .   S o m e   o f   t h e s e   a r e   l i s t   r e q u e s t s   t h a t   t h e   s e r v e r   e s t i m a t e s   w i l l   r e t u r n   a   l a r g e   n u m b e r   o f   o b j e c t s .   T h e s e   h a v e   b e e n   f o u n d   t o   p u t   a n   e x c e p t i o n a l l y   h e a v y   b u r d e n   o n   t h e   s e r v e r .   F o r   t h i s   r e a s o n ,   t h e   s e r v e r   e s t i m a t e s   t h e   n u m b e r   o f   o b j e c t s   t h a t   w i l l   b e   r e t u r n e d   a n d   c o n s i d e r s   t h e   r e q u e s t   t o   t a k e   a   n u m b e r   o f   s e a t s   t h a t   i s   p r o p o r t i o n a l   t o   t h a t   e s t i m a t e d   n u m b e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13342"
  },
  {
    "question": "What is Execution time tweaks for watch requests?",
    "answer": "A P I   P r i o r i t y   a n d   F a i r n e s s   m a n a g e s   w a t c h   r e q u e s t s ,   b u t   t h i s   i n v o l v e s   a   c o u p l e   m o r e   e x c u r s i o n s   f r o m   t h e   b a s e l i n e   b e h a v i o r .   T h e   f i r s t   c o n c e r n s   h o w   l o n g   a   w a t c h   r e q u e s t   i s   c o n s i d e r e d   t o   o c c u p y   i t s   s e a t .   D e p e n d i n g   o n   r e q u e s t   p a r a m e t e r s ,   t h e   r e s p o n s e   t o   a   w a t c h   r e q u e s t   m a y   o r   m a y   n o t   b e g i n   w i t h   c r e a t e   n o t i f i c a t i o n s   f o r   a l l   t h e   r e l e v a n t   p r e - e x i s t i n g   o b j e c t s .   A P I   P r i o r i t y   a n d   F a i r n e s s   c o n s i d e r s   a   w a t c h   r e q u e s t   t o   b e   d o n e   w i t h   i t s   s e a t   o n c e   t h a t   i n i t i a l   b u r s t   o f   n o t i f i c a t i o n s ,   i f   a n y ,   i s   o v e r .   T h e   n o r m a l   n o t i f i c a t i o n s   a r e   s e n t   i n   a   c o n c u r r e n t   b u r s t   t o   a l l   r e l e v a n t   w a t c h   r e s p o n s e   s t r e a m s   w h e n e v e r   t h e   s e r v e r   i s   n o t i f i e d   o f   a n   o b j e c t   c r e a t e / u p d a t e / d e l e t e .   T o   a c c o u n t   f o r   t h i s   w o r k ,   A P I   P r i o r i t y   a n d   F a i r n e s s   c o n s i d e r s   e v e r y   w r i t e   r e q u e s t   t o   s p e n d   s o m e   a d d i t i o n a l   t i m e   o c c u p y i n g   s e a t s   a f t e r   t h e   a c t u a l   w r i t i n g   i s   d o n e .   T h e   s e r v e r   e s t i m a t e s   t h e   n u m b e r   o f   n o t i f i c a t i o n s   t o   b e   s e n t   a n d   a d j u s t s   t h e   w r i t e   r e q u e s t ' s   n u m b e r   o f   s e a t s   a n d   s e a t   o c c u p a n c y   t i m e   t o   i n c l u d e   t h i s   e x t r a   w o r k .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13343"
  },
  {
    "question": "What is Queuing?",
    "answer": "E v e n   w i t h i n   a   p r i o r i t y   l e v e l   t h e r e   m a y   b e   a   l a r g e   n u m b e r   o f   d i s t i n c t   s o u r c e s   o f   t r a f f i c .   I n   a n   o v e r l o a d   s i t u a t i o n ,   i t   i s   v a l u a b l e   t o   p r e v e n t   o n e   s t r e a m   o f   r e q u e s t s   f r o m   s t a r v i n g   o t h e r s   ( i n   p a r t i c u l a r ,   i n   t h e   r e l a t i v e l y   c o m m o n   c a s e   o f   a   s i n g l e   b u g g y   c l i e n t   f l o o d i n g   t h e   k u b e - a p i s e r v e r   w i t h   r e q u e s t s ,   t h a t   b u g g y   c l i e n t   w o u l d   i d e a l l y   n o t   h a v e   m u c h   m e a s u r a b l e   i m p a c t   o n   o t h e r   c l i e n t s   a t   a l l ) .   T h i s   i s   h a n d l e d   b y   u s e   o f   a   f a i r - q u e u i n g   a l g o r i t h m   t o   p r o c e s s   r e q u e s t s   t h a t   a r e   a s s i g n e d   t h e   s a m e   p r i o r i t y   l e v e l .   E a c h   r e q u e s t   i s   a s s i g n e d   t o   a   f l o w ,   i d e n t i f i e d   b y   t h e   n a m e   o f   t h e   m a t c h i n g   F l o w S c h e m a   p l u s   a   f l o w   d i s t i n g u i s h e r   —   w h i c h   i s   e i t h e r   t h e   r e q u e s t i n g   u s e r ,   t h e   t a r g e t   r e s o u r c e ' s   n a m e s p a c e ,   o r   n o t h i n g   —   a n d   t h e   s y s t e m   a t t e m p t s   t o   g i v e   a p p r o x i m a t e l y   e q u a l   w e i g h t   t o   r e q u e s t s   i n   d i f f e r e n t   f l o w s   o f   t h e   s a m e   p r i o r i t y   l e v e l .   T o   e n a b l e   d i s t i n c t   h a n d l i n g   o f   d i s t i n c t   i n s t a n c e s ,   c o n t r o l l e r s   t h a t   h a v e   m a n y   i n s t a n c e s   s h o u l d   a u t h e n t i c a t e   w i t h   d i s t i n c t   u s e r n a m e s   A f t e r   c l a s s i f y i n g   a   r e q u e s t   i n t o   a   f l o w ,   t h e   A P I   P ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13344"
  },
  {
    "question": "What is Exempt requests?",
    "answer": "S o m e   r e q u e s t s   a r e   c o n s i d e r e d   s u f f i c i e n t l y   i m p o r t a n t   t h a t   t h e y   a r e   n o t   s u b j e c t   t o   a n y   o f   t h e   l i m i t a t i o n s   i m p o s e d   b y   t h i s   f e a t u r e .   T h e s e   e x e m p t i o n s   p r e v e n t   a n   i m p r o p e r l y - c o n f i g u r e d   f l o w   c o n t r o l   c o n f i g u r a t i o n   f r o m   t o t a l l y   d i s a b l i n g   a n   A P I   s e r v e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13345"
  },
  {
    "question": "What is Resources?",
    "answer": "T h e   f l o w   c o n t r o l   A P I   i n v o l v e s   t w o   k i n d s   o f   r e s o u r c e s .   P r i o r i t y L e v e l C o n f i g u r a t i o n s   d e f i n e   t h e   a v a i l a b l e   p r i o r i t y   l e v e l s ,   t h e   s h a r e   o f   t h e   a v a i l a b l e   c o n c u r r e n c y   b u d g e t   t h a t   e a c h   c a n   h a n d l e ,   a n d   a l l o w   f o r   f i n e - t u n i n g   q u e u i n g   b e h a v i o r .   F l o w S c h e m a s   a r e   u s e d   t o   c l a s s i f y   i n d i v i d u a l   i n b o u n d   r e q u e s t s ,   m a t c h i n g   e a c h   t o   a   s i n g l e   P r i o r i t y L e v e l C o n f i g u r a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13346"
  },
  {
    "question": "What is PriorityLevelConfiguration?",
    "answer": "A   P r i o r i t y L e v e l C o n f i g u r a t i o n   r e p r e s e n t s   a   s i n g l e   p r i o r i t y   l e v e l .   E a c h   P r i o r i t y L e v e l C o n f i g u r a t i o n   h a s   a n   i n d e p e n d e n t   l i m i t   o n   t h e   n u m b e r   o f   o u t s t a n d i n g   r e q u e s t s ,   a n d   l i m i t a t i o n s   o n   t h e   n u m b e r   o f   q u e u e d   r e q u e s t s .   T h e   n o m i n a l   c o n c u r r e n c y   l i m i t   f o r   a   P r i o r i t y L e v e l C o n f i g u r a t i o n   i s   n o t   s p e c i f i e d   i n   a n   a b s o l u t e   n u m b e r   o f   s e a t s ,   b u t   r a t h e r   i n   \" n o m i n a l   c o n c u r r e n c y   s h a r e s . \"   T h e   t o t a l   c o n c u r r e n c y   l i m i t   f o r   t h e   A P I   S e r v e r   i s   d i s t r i b u t e d   a m o n g   t h e   e x i s t i n g   P r i o r i t y L e v e l C o n f i g u r a t i o n s   i n   p r o p o r t i o n   t o   t h e s e   s h a r e s ,   t o   g i v e   e a c h   l e v e l   i t s   n o m i n a l   l i m i t   i n   t e r m s   o f   s e a t s .   T h i s   a l l o w s   a   c l u s t e r   a d m i n i s t r a t o r   t o   s c a l e   u p   o r   d o w n   t h e   t o t a l   a m o u n t   o f   t r a f f i c   t o   a   s e r v e r   b y   r e s t a r t i n g   k u b e - a p i s e r v e r   w i t h   a   d i f f e r e n t   v a l u e   f o r   - - m a x - r e q u e s t s - i n f l i g h t   ( o r   - - m a x - m u t a t i n g - r e q u e s t s - i n f l i g h t ) ,   a n d   a l l   P r i o r i t y L e v e l C o n f i g u r a t i o n s   w i l l   s e e   t h e i r   m a x i m u m   a l l o w e d   c o n c u r r e n c y   g o   u p   ( o r   d o w n )   b y   t h e   s a m e   f r a c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13347"
  },
  {
    "question": "What is Caution:?",
    "answer": "T h e   b o u n d s   o n   h o w   m u c h   c o n c u r r e n c y   a   p r i o r i t y   l e v e l   m a y   l e n d   a n d   h o w   m u c h   i t   m a y   b o r r o w   a r e   e x p r e s s e d   i n   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   a s   p e r c e n t a g e s   o f   t h e   l e v e l ' s   n o m i n a l   l i m i t .   T h e s e   a r e   r e s o l v e d   t o   a b s o l u t e   n u m b e r s   o f   s e a t s   b y   m u l t i p l y i n g   w i t h   t h e   n o m i n a l   l i m i t   /   1 0 0 . 0   a n d   r o u n d i n g .   T h e   d y n a m i c a l l y   a d j u s t e d   c o n c u r r e n c y   l i m i t   o f   a   p r i o r i t y   l e v e l   i s   c o n s t r a i n e d   t o   l i e   b e t w e e n   ( a )   a   l o w e r   b o u n d   o f   i t s   n o m i n a l   l i m i t   m i n u s   i t s   l e n d a b l e   s e a t s   a n d   ( b )   a n   u p p e r   b o u n d   o f   i t s   n o m i n a l   l i m i t   p l u s   t h e   s e a t s   i t   m a y   b o r r o w .   A t   e a c h   a d j u s t m e n t   t h e   d y n a m i c   l i m i t s   a r e   d e r i v e d   b y   e a c h   p r i o r i t y   l e v e l   r e c l a i m i n g   a n y   l e n t   s e a t s   f o r   w h i c h   d e m a n d   r e c e n t l y   a p p e a r e d   a n d   t h e n   j o i n t l y   f a i r l y   r e s p o n d i n g   t o   t h e   r e c e n t   s e a t   d e m a n d   o n   t h e   p r i o r i t y   l e v e l s ,   w i t h i n   t h e   b o u n d s   j u s t   d e s c r i b e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13348"
  },
  {
    "question": "What is Caution:?",
    "answer": "W h e n   t h e   v o l u m e   o f   i n b o u n d   r e q u e s t s   a s s i g n e d   t o   a   s i n g l e   P r i o r i t y L e v e l C o n f i g u r a t i o n   i s   m o r e   t h a n   i t s   p e r m i t t e d   c o n c u r r e n c y   l e v e l ,   t h e   t y p e   f i e l d   o f   i t s   s p e c i f i c a t i o n   d e t e r m i n e s   w h a t   w i l l   h a p p e n   t o   e x t r a   r e q u e s t s .   A   t y p e   o f   R e j e c t   m e a n s   t h a t   e x c e s s   t r a f f i c   w i l l   i m m e d i a t e l y   b e   r e j e c t e d   w i t h   a n   H T T P   4 2 9   ( T o o   M a n y   R e q u e s t s )   e r r o r .   A   t y p e   o f   Q u e u e   m e a n s   t h a t   r e q u e s t s   a b o v e   t h e   t h r e s h o l d   w i l l   b e   q u e u e d ,   w i t h   t h e   s h u f f l e   s h a r d i n g   a n d   f a i r   q u e u i n g   t e c h n i q u e s   u s e d   t o   b a l a n c e   p r o g r e s s   b e t w e e n   r e q u e s t   f l o w s .   T h e   q u e u i n g   c o n f i g u r a t i o n   a l l o w s   t u n i n g   t h e   f a i r   q u e u i n g   a l g o r i t h m   f o r   a   p r i o r i t y   l e v e l .   D e t a i l s   o f   t h e   a l g o r i t h m   c a n   b e   r e a d   i n   t h e   e n h a n c e m e n t   p r o p o s a l ,   b u t   i n   s h o r t :   I n c r e a s i n g   q u e u e s   r e d u c e s   t h e   r a t e   o f   c o l l i s i o n s   b e t w e e n   d i f f e r e n t   f l o w s ,   a t   t h e   c o s t   o f   i n c r e a s e d   m e m o r y   u s a g e .   A   v a l u e   o f   1   h e r e   e f f e c t i v e l y   d i s a b l e s   t h e   f a i r - q u e u i n g   l o g i c ,   b u t   s t i l l   a l l o w s   r e q u e s t s   t o   b e   q u e u e d . I n c r e a s i n g   q u e u e L e n g t h L i m i t   a l l o w s   l a r g e r   b u r s t s   o f   t r a f f i c   t o   b e   s u s t a i n e d   w i t h o u t   d r o p p i n g   a n y   r e q u e s t s ,   a t   t h e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13349"
  },
  {
    "question": "What is Note:?",
    "answer": "F o l l o w i n g   i s   a   t a b l e   s h o w i n g   a n   i n t e r e s t i n g   c o l l e c t i o n   o f   s h u f f l e   s h a r d i n g   c o n f i g u r a t i o n s ,   s h o w i n g   f o r   e a c h   t h e   p r o b a b i l i t y   t h a t   a   g i v e n   m o u s e   ( l o w - i n t e n s i t y   f l o w )   i s   s q u i s h e d   b y   t h e   e l e p h a n t s   ( h i g h - i n t e n s i t y   f l o w s )   f o r   a n   i l l u s t r a t i v e   c o l l e c t i o n   o f   n u m b e r s   o f   e l e p h a n t s .   S e e   h t t p s : / / p l a y . g o l a n g . o r g / p / G i 0 P L g V H i U g   ,   w h i c h   c o m p u t e s   t h i s   t a b l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13350"
  },
  {
    "question": "What is FlowSchema?",
    "answer": "A   F l o w S c h e m a   m a t c h e s   s o m e   i n b o u n d   r e q u e s t s   a n d   a s s i g n s   t h e m   t o   a   p r i o r i t y   l e v e l .   E v e r y   i n b o u n d   r e q u e s t   i s   t e s t e d   a g a i n s t   F l o w S c h e m a s ,   s t a r t i n g   w i t h   t h o s e   w i t h   t h e   n u m e r i c a l l y   l o w e s t   m a t c h i n g P r e c e d e n c e   a n d   w o r k i n g   u p w a r d .   T h e   f i r s t   m a t c h   w i n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13351"
  },
  {
    "question": "What is Caution:?",
    "answer": "A   F l o w S c h e m a   m a t c h e s   a   g i v e n   r e q u e s t   i f   a t   l e a s t   o n e   o f   i t s   r u l e s   m a t c h e s .   A   r u l e   m a t c h e s   i f   a t   l e a s t   o n e   o f   i t s   s u b j e c t s   a n d   a t   l e a s t   o n e   o f   i t s   r e s o u r c e R u l e s   o r   n o n R e s o u r c e R u l e s   ( d e p e n d i n g   o n   w h e t h e r   t h e   i n c o m i n g   r e q u e s t   i s   f o r   a   r e s o u r c e   o r   n o n - r e s o u r c e   U R L )   m a t c h   t h e   r e q u e s t .   F o r   t h e   n a m e   f i e l d   i n   s u b j e c t s ,   a n d   t h e   v e r b s ,   a p i G r o u p s ,   r e s o u r c e s ,   n a m e s p a c e s ,   a n d   n o n R e s o u r c e U R L s   f i e l d s   o f   r e s o u r c e   a n d   n o n - r e s o u r c e   r u l e s ,   t h e   w i l d c a r d   *   m a y   b e   s p e c i f i e d   t o   m a t c h   a l l   v a l u e s   f o r   t h e   g i v e n   f i e l d ,   e f f e c t i v e l y   r e m o v i n g   i t   f r o m   c o n s i d e r a t i o n .   A   F l o w S c h e m a ' s   d i s t i n g u i s h e r M e t h o d . t y p e   d e t e r m i n e s   h o w   r e q u e s t s   m a t c h i n g   t h a t   s c h e m a   w i l l   b e   s e p a r a t e d   i n t o   f l o w s .   I t   m a y   b e   B y U s e r ,   i n   w h i c h   o n e   r e q u e s t i n g   u s e r   w i l l   n o t   b e   a b l e   t o   s t a r v e   o t h e r   u s e r s   o f   c a p a c i t y ;   B y N a m e s p a c e ,   i n   w h i c h   r e q u e s t s   f o r   r e s o u r c e s   i n   o n e   n a m e s p a c e   w i l l   n o t   b e   a b l e   t o   s t a r v e   r e q u e s t s   f o r   r e s o u r c e s   i n   o t h e r   n a m e s p a c e s   o f   c a p a c i t y ;   o r   b l a n k   ( o r   d i s t i n g u i s h e r M e t h o d   m a y   b e   o m i t t e d   e n t i r e l y ) ,   i n   w h i c h   a l l   r e q u e s t s   m a t c h e d   b y   t h i s   F l ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13352"
  },
  {
    "question": "What is Defaults?",
    "answer": "E a c h   k u b e - a p i s e r v e r   m a i n t a i n s   t w o   s o r t s   o f   A P F   c o n f i g u r a t i o n   o b j e c t s :   m a n d a t o r y   a n d   s u g g e s t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13353"
  },
  {
    "question": "What is Mandatory Configuration Objects?",
    "answer": "T h e   f o u r   m a n d a t o r y   c o n f i g u r a t i o n   o b j e c t s   r e f l e c t   f i x e d   b u i l t - i n   g u a r d r a i l   b e h a v i o r .   T h i s   i s   b e h a v i o r   t h a t   t h e   s e r v e r s   h a v e   b e f o r e   t h o s e   o b j e c t s   e x i s t ,   a n d   w h e n   t h o s e   o b j e c t s   e x i s t   t h e i r   s p e c s   r e f l e c t   t h i s   b e h a v i o r .   T h e   f o u r   m a n d a t o r y   o b j e c t s   a r e   a s   f o l l o w s .   T h e   m a n d a t o r y   e x e m p t   p r i o r i t y   l e v e l   i s   u s e d   f o r   r e q u e s t s   t h a t   a r e   n o t   s u b j e c t   t o   f l o w   c o n t r o l   a t   a l l :   t h e y   w i l l   a l w a y s   b e   d i s p a t c h e d   i m m e d i a t e l y .   T h e   m a n d a t o r y   e x e m p t   F l o w S c h e m a   c l a s s i f i e s   a l l   r e q u e s t s   f r o m   t h e   s y s t e m : m a s t e r s   g r o u p   i n t o   t h i s   p r i o r i t y   l e v e l .   Y o u   m a y   d e f i n e   o t h e r   F l o w S c h e m a s   t h a t   d i r e c t   o t h e r   r e q u e s t s   t o   t h i s   p r i o r i t y   l e v e l ,   i f   a p p r o p r i a t e . T h e   m a n d a t o r y   c a t c h - a l l   p r i o r i t y   l e v e l   i s   u s e d   i n   c o m b i n a t i o n   w i t h   t h e   m a n d a t o r y   c a t c h - a l l   F l o w S c h e m a   t o   m a k e   s u r e   t h a t   e v e r y   r e q u e s t   g e t s   s o m e   k i n d   o f   c l a s s i f i c a t i o n .   T y p i c a l l y   y o u   s h o u l d   n o t   r e l y   o n   t h i s   c a t c h - a l l   c o n f i g u r a t i o n ,   a n d   s h o u l d   c r e a t e   y o u r   o w n   c a t c h - a l l   F l o w S c h e m a   a n d   P r i o r i t y L e v e l C o n f i g u r a t i o n   ( o r   u s e   t h e   s u g g e s t e d   g l o b a l - d e f a u l t   p r i o r i t y   l e v e l   t h a t   i s   i n s t a l l e d   b y   d e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13354"
  },
  {
    "question": "What is Suggested Configuration Objects?",
    "answer": "T h e   s u g g e s t e d   F l o w S c h e m a s   a n d   P r i o r i t y L e v e l C o n f i g u r a t i o n s   c o n s t i t u t e   a   r e a s o n a b l e   d e f a u l t   c o n f i g u r a t i o n .   Y o u   c a n   m o d i f y   t h e s e   a n d / o r   c r e a t e   a d d i t i o n a l   c o n f i g u r a t i o n   o b j e c t s   i f   y o u   w a n t .   I f   y o u r   c l u s t e r   i s   l i k e l y   t o   e x p e r i e n c e   h e a v y   l o a d   t h e n   y o u   s h o u l d   c o n s i d e r   w h a t   c o n f i g u r a t i o n   w i l l   w o r k   b e s t .   T h e   s u g g e s t e d   c o n f i g u r a t i o n   g r o u p s   r e q u e s t s   i n t o   s i x   p r i o r i t y   l e v e l s :   T h e   n o d e - h i g h   p r i o r i t y   l e v e l   i s   f o r   h e a l t h   u p d a t e s   f r o m   n o d e s . T h e   s y s t e m   p r i o r i t y   l e v e l   i s   f o r   n o n - h e a l t h   r e q u e s t s   f r o m   t h e   s y s t e m : n o d e s   g r o u p ,   i . e .   K u b e l e t s ,   w h i c h   m u s t   b e   a b l e   t o   c o n t a c t   t h e   A P I   s e r v e r   i n   o r d e r   f o r   w o r k l o a d s   t o   b e   a b l e   t o   s c h e d u l e   o n   t h e m . T h e   l e a d e r - e l e c t i o n   p r i o r i t y   l e v e l   i s   f o r   l e a d e r   e l e c t i o n   r e q u e s t s   f r o m   b u i l t - i n   c o n t r o l l e r s   ( i n   p a r t i c u l a r ,   r e q u e s t s   f o r   e n d p o i n t s ,   c o n f i g m a p s ,   o r   l e a s e s   c o m i n g   f r o m   t h e   s y s t e m : k u b e - c o n t r o l l e r - m a n a g e r   o r   s y s t e m : k u b e - s c h e d u l e r   u s e r s   a n d   s e r v i c e   a c c o u n t s   i n   t h e   k u b e - s y s t e m   n a m e s p a c e ) .   T h e s e   a r e   i m p o r t a n t   t o   i s o l a t e   f r o m   o t h e r   t r a f f i c   b e c a u s e   f a i l u r e s   i n   l e a d e r   e l e c t i o n   c a u s ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13355"
  },
  {
    "question": "What is Maintenance of the Mandatory and Suggested Configuration Objects?",
    "answer": "E a c h   k u b e - a p i s e r v e r   i n d e p e n d e n t l y   m a i n t a i n s   t h e   m a n d a t o r y   a n d   s u g g e s t e d   c o n f i g u r a t i o n   o b j e c t s ,   u s i n g   i n i t i a l   a n d   p e r i o d i c   b e h a v i o r .   T h u s ,   i n   a   s i t u a t i o n   w i t h   a   m i x t u r e   o f   s e r v e r s   o f   d i f f e r e n t   v e r s i o n s   t h e r e   m a y   b e   t h r a s h i n g   a s   l o n g   a s   d i f f e r e n t   s e r v e r s   h a v e   d i f f e r e n t   o p i n i o n s   o f   t h e   p r o p e r   c o n t e n t   o f   t h e s e   o b j e c t s .   E a c h   k u b e - a p i s e r v e r   m a k e s   a n   i n i t i a l   m a i n t e n a n c e   p a s s   o v e r   t h e   m a n d a t o r y   a n d   s u g g e s t e d   c o n f i g u r a t i o n   o b j e c t s ,   a n d   a f t e r   t h a t   d o e s   p e r i o d i c   m a i n t e n a n c e   ( o n c e   p e r   m i n u t e )   o f   t h o s e   o b j e c t s .   F o r   t h e   m a n d a t o r y   c o n f i g u r a t i o n   o b j e c t s ,   m a i n t e n a n c e   c o n s i s t s   o f   e n s u r i n g   t h a t   t h e   o b j e c t   e x i s t s   a n d ,   i f   i t   d o e s ,   h a s   t h e   p r o p e r   s p e c .   T h e   s e r v e r   r e f u s e s   t o   a l l o w   a   c r e a t i o n   o r   u p d a t e   w i t h   a   s p e c   t h a t   i s   i n c o n s i s t e n t   w i t h   t h e   s e r v e r ' s   g u a r d r a i l   b e h a v i o r .   M a i n t e n a n c e   o f   s u g g e s t e d   c o n f i g u r a t i o n   o b j e c t s   i s   d e s i g n e d   t o   a l l o w   t h e i r   s p e c s   t o   b e   o v e r r i d d e n .   D e l e t i o n ,   o n   t h e   o t h e r   h a n d ,   i s   n o t   r e s p e c t e d :   m a i n t e n a n c e   w i l l   r e s t o r e   t h e   o b j e c t .   I f   y o u   d o   n o t   w a n t   a   s u g g e s t e d   c o n f i g u r a t i o n   o b j e c t   t h e n   y o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13356"
  },
  {
    "question": "What is Health check concurrency exemption?",
    "answer": "T h e   s u g g e s t e d   c o n f i g u r a t i o n   g i v e s   n o   s p e c i a l   t r e a t m e n t   t o   t h e   h e a l t h   c h e c k   r e q u e s t s   o n   k u b e - a p i s e r v e r s   f r o m   t h e i r   l o c a l   k u b e l e t s   - - -   w h i c h   t e n d   t o   u s e   t h e   s e c u r e d   p o r t   b u t   s u p p l y   n o   c r e d e n t i a l s .   W i t h   t h e   s u g g e s t e d   c o n f i g ,   t h e s e   r e q u e s t s   g e t   a s s i g n e d   t o   t h e   g l o b a l - d e f a u l t   F l o w S c h e m a   a n d   t h e   c o r r e s p o n d i n g   g l o b a l - d e f a u l t   p r i o r i t y   l e v e l ,   w h e r e   o t h e r   t r a f f i c   c a n   c r o w d   t h e m   o u t .   I f   y o u   a d d   t h e   f o l l o w i n g   a d d i t i o n a l   F l o w S c h e m a ,   t h i s   e x e m p t s   t h o s e   r e q u e s t s   f r o m   r a t e   l i m i t i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13357"
  },
  {
    "question": "What is Caution:?",
    "answer": "a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   k i n d :   F l o w S c h e m a   m e t a d a t a :   n a m e :   h e a l t h - f o r - s t r a n g e r s   s p e c :   m a t c h i n g P r e c e d e n c e :   1 0 0 0   p r i o r i t y L e v e l C o n f i g u r a t i o n :   n a m e :   e x e m p t   r u l e s :   -   n o n R e s o u r c e R u l e s :   -   n o n R e s o u r c e U R L s :   -   \" / h e a l t h z \"   -   \" / l i v e z \"   -   \" / r e a d y z \"   v e r b s :   -   \" * \"   s u b j e c t s :   -   k i n d :   G r o u p   g r o u p :   n a m e :   \" s y s t e m : u n a u t h e n t i c a t e d \"",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13358"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   y o u   e n a b l e   t h e   A P I   P r i o r i t y   a n d   F a i r n e s s   f e a t u r e ,   t h e   k u b e - a p i s e r v e r   e x p o r t s   a d d i t i o n a l   m e t r i c s .   M o n i t o r i n g   t h e s e   c a n   h e l p   y o u   d e t e r m i n e   w h e t h e r   y o u r   c o n f i g u r a t i o n   i s   i n a p p r o p r i a t e l y   t h r o t t l i n g   i m p o r t a n t   t r a f f i c ,   o r   f i n d   p o o r l y - b e h a v e d   w o r k l o a d s   t h a t   m a y   b e   h a r m i n g   s y s t e m   h e a l t h .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13359"
  },
  {
    "question": "What is Maturity level BETA?",
    "answer": "a p i s e r v e r _ f l o w c o n t r o l _ r e j e c t e d _ r e q u e s t s _ t o t a l   i s   a   c o u n t e r   v e c t o r   ( c u m u l a t i v e   s i n c e   s e r v e r   s t a r t )   o f   r e q u e s t s   t h a t   w e r e   r e j e c t e d ,   b r o k e n   d o w n   b y   t h e   l a b e l s   f l o w _ s c h e m a   ( i n d i c a t i n g   t h e   o n e   t h a t   m a t c h e d   t h e   r e q u e s t ) ,   p r i o r i t y _ l e v e l   ( i n d i c a t i n g   t h e   o n e   t o   w h i c h   t h e   r e q u e s t   w a s   a s s i g n e d ) ,   a n d   r e a s o n .   T h e   r e a s o n   l a b e l   w i l l   b e   o n e   o f   t h e   f o l l o w i n g   v a l u e s : q u e u e - f u l l ,   i n d i c a t i n g   t h a t   t o o   m a n y   r e q u e s t s   w e r e   a l r e a d y   q u e u e d . c o n c u r r e n c y - l i m i t ,   i n d i c a t i n g   t h a t   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   i s   c o n f i g u r e d   t o   r e j e c t   r a t h e r   t h a n   q u e u e   e x c e s s   r e q u e s t s . t i m e - o u t ,   i n d i c a t i n g   t h a t   t h e   r e q u e s t   w a s   s t i l l   i n   t h e   q u e u e   w h e n   i t s   q u e u i n g   t i m e   l i m i t   e x p i r e d . c a n c e l l e d ,   i n d i c a t i n g   t h a t   t h e   r e q u e s t   i s   n o t   p u r g e   l o c k e d   a n d   h a s   b e e n   e j e c t e d   f r o m   t h e   q u e u e . a p i s e r v e r _ f l o w c o n t r o l _ d i s p a t c h e d _ r e q u e s t s _ t o t a l   i s   a   c o u n t e r   v e c t o r   ( c u m u l a t i v e   s i n c e   s e r v e r   s t a r t )   o f   r e q u e s t s   t h a t   b e g a n   e x e c u t i n g ,   b r o k e n   d o w n   b y   f l o w _ s c h e m a   a n d   p r i o r i t y _ l e v e l . a p i s e r v e r _ f l o w c o n t r o l _ c u r r e n t _ i n q u e u e _ r e q u e s t s   i s   a   g a u g e   v e c t o r   h o l d i n g   t h e   i n s t a n t a n e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13360"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i s e r v e r _ f l o w c o n t r o l _ n o m i n a l _ l i m i t _ s e a t s   i s   a   g a u g e   v e c t o r   h o l d i n g   e a c h   p r i o r i t y   l e v e l ' s   n o m i n a l   c o n c u r r e n c y   l i m i t ,   c o m p u t e d   f r o m   t h e   A P I   s e r v e r ' s   t o t a l   c o n c u r r e n c y   l i m i t   a n d   t h e   p r i o r i t y   l e v e l ' s   c o n f i g u r e d   n o m i n a l   c o n c u r r e n c y   s h a r e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13361"
  },
  {
    "question": "What is Maturity level ALPHA?",
    "answer": "a p i s e r v e r _ c u r r e n t _ i n q u e u e _ r e q u e s t s   i s   a   g a u g e   v e c t o r   o f   r e c e n t   h i g h   w a t e r   m a r k s   o f   t h e   n u m b e r   o f   q u e u e d   r e q u e s t s ,   g r o u p e d   b y   a   l a b e l   n a m e d   r e q u e s t _ k i n d   w h o s e   v a l u e   i s   m u t a t i n g   o r   r e a d O n l y .   T h e s e   h i g h   w a t e r   m a r k s   d e s c r i b e   t h e   l a r g e s t   n u m b e r   s e e n   i n   t h e   o n e   s e c o n d   w i n d o w   m o s t   r e c e n t l y   c o m p l e t e d .   T h e s e   c o m p l e m e n t   t h e   o l d e r   a p i s e r v e r _ c u r r e n t _ i n f l i g h t _ r e q u e s t s   g a u g e   v e c t o r   t h a t   h o l d s   t h e   l a s t   w i n d o w ' s   h i g h   w a t e r   m a r k   o f   n u m b e r   o f   r e q u e s t s   a c t i v e l y   b e i n g   s e r v e d . a p i s e r v e r _ c u r r e n t _ i n q u e u e _ s e a t s   i s   a   g a u g e   v e c t o r   o f   t h e   s u m   o v e r   q u e u e d   r e q u e s t s   o f   t h e   l a r g e s t   n u m b e r   o f   s e a t s   e a c h   w i l l   o c c u p y ,   g r o u p e d   b y   l a b e l s   n a m e d   f l o w _ s c h e m a   a n d   p r i o r i t y _ l e v e l . a p i s e r v e r _ f l o w c o n t r o l _ r e a d _ v s _ w r i t e _ c u r r e n t _ r e q u e s t s   i s   a   h i s t o g r a m   v e c t o r   o f   o b s e r v a t i o n s ,   m a d e   a t   t h e   e n d   o f   e v e r y   n a n o s e c o n d ,   o f   t h e   n u m b e r   o f   r e q u e s t s   b r o k e n   d o w n   b y   t h e   l a b e l s   p h a s e   ( w h i c h   t a k e s   o n   t h e   v a l u e s   w a i t i n g   a n d   e x e c u t i n g )   a n d   r e q u e s t _ k i n d   ( w h i c h   t a k e s   o n   t h e   v a l u e s   m u t a t i n g   a n d   r e a d O n l y ) .   E a c h   o b s e r v e d   v a l u e   i s   a   r a t i o ,   b e t w e e n   0   a n d   1 ,   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13362"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i s e r v e r _ f l o w c o n t r o l _ r e q u e s t _ c o n c u r r e n c y _ l i m i t   i s   t h e   s a m e   a s   a p i s e r v e r _ f l o w c o n t r o l _ n o m i n a l _ l i m i t _ s e a t s .   B e f o r e   t h e   i n t r o d u c t i o n   o f   c o n c u r r e n c y   b o r r o w i n g   b e t w e e n   p r i o r i t y   l e v e l s ,   t h i s   w a s   a l w a y s   e q u a l   t o   a p i s e r v e r _ f l o w c o n t r o l _ c u r r e n t _ l i m i t _ s e a t s   ( w h i c h   d i d   n o t   e x i s t   a s   a   d i s t i n c t   m e t r i c ) .   a p i s e r v e r _ f l o w c o n t r o l _ l o w e r _ l i m i t _ s e a t s   i s   a   g a u g e   v e c t o r   h o l d i n g   t h e   l o w e r   b o u n d   o n   e a c h   p r i o r i t y   l e v e l ' s   d y n a m i c   c o n c u r r e n c y   l i m i t .   a p i s e r v e r _ f l o w c o n t r o l _ u p p e r _ l i m i t _ s e a t s   i s   a   g a u g e   v e c t o r   h o l d i n g   t h e   u p p e r   b o u n d   o n   e a c h   p r i o r i t y   l e v e l ' s   d y n a m i c   c o n c u r r e n c y   l i m i t .   a p i s e r v e r _ f l o w c o n t r o l _ d e m a n d _ s e a t s   i s   a   h i s t o g r a m   v e c t o r   c o u n t i n g   o b s e r v a t i o n s ,   a t   t h e   e n d   o f   e v e r y   n a n o s e c o n d ,   o f   e a c h   p r i o r i t y   l e v e l ' s   r a t i o   o f   ( s e a t   d e m a n d )   /   ( n o m i n a l   c o n c u r r e n c y   l i m i t ) .   A   p r i o r i t y   l e v e l ' s   s e a t   d e m a n d   i s   t h e   s u m ,   o v e r   b o t h   q u e u e d   r e q u e s t s   a n d   t h o s e   i n   t h e   i n i t i a l   p h a s e   o f   e x e c u t i o n ,   o f   t h e   m a x i m u m   o f   t h e   n u m b e r   o f   s e a t s   o c c u p i e d   i n   t h e   r e q u e s t ' s   i n i t i a l   a n d   f i n a l   e x e c u t i o n   p h a s e s .   a p i s e r v e r _ f l o w c o n t r o l _ d e m a n d _ s e a t s _ h ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13363"
  },
  {
    "question": "What is Good practices for using API Priority and Fairness?",
    "answer": "W h e n   a   g i v e n   p r i o r i t y   l e v e l   e x c e e d s   i t s   p e r m i t t e d   c o n c u r r e n c y ,   r e q u e s t s   c a n   e x p e r i e n c e   i n c r e a s e d   l a t e n c y   o r   b e   d r o p p e d   w i t h   a n   H T T P   4 2 9   ( T o o   M a n y   R e q u e s t s )   e r r o r .   T o   p r e v e n t   t h e s e   s i d e   e f f e c t s   o f   A P F ,   y o u   c a n   m o d i f y   y o u r   w o r k l o a d   o r   t w e a k   y o u r   A P F   s e t t i n g s   t o   e n s u r e   t h e r e   a r e   s u f f i c i e n t   s e a t s   a v a i l a b l e   t o   s e r v e   y o u r   r e q u e s t s .   T o   d e t e c t   w h e t h e r   r e q u e s t s   a r e   b e i n g   r e j e c t e d   d u e   t o   A P F ,   c h e c k   t h e   f o l l o w i n g   m e t r i c s :   a p i s e r v e r _ f l o w c o n t r o l _ r e j e c t e d _ r e q u e s t s _ t o t a l :   t h e   t o t a l   n u m b e r   o f   r e q u e s t s   r e j e c t e d   p e r   F l o w S c h e m a   a n d   P r i o r i t y L e v e l C o n f i g u r a t i o n . a p i s e r v e r _ f l o w c o n t r o l _ c u r r e n t _ i n q u e u e _ r e q u e s t s :   t h e   c u r r e n t   n u m b e r   o f   r e q u e s t s   q u e u e d   p e r   F l o w S c h e m a   a n d   P r i o r i t y L e v e l C o n f i g u r a t i o n . a p i s e r v e r _ f l o w c o n t r o l _ r e q u e s t _ w a i t _ d u r a t i o n _ s e c o n d s :   t h e   l a t e n c y   a d d e d   t o   r e q u e s t s   w a i t i n g   i n   q u e u e s . a p i s e r v e r _ f l o w c o n t r o l _ p r i o r i t y _ l e v e l _ s e a t _ u t i l i z a t i o n :   t h e   s e a t   u t i l i z a t i o n   p e r   P r i o r i t y L e v e l C o n f i g u r a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13364"
  },
  {
    "question": "What is Workload modifications?",
    "answer": "T o   p r e v e n t   r e q u e s t s   f r o m   q u e u i n g   a n d   a d d i n g   l a t e n c y   o r   b e i n g   d r o p p e d   d u e   t o   A P F ,   y o u   c a n   o p t i m i z e   y o u r   r e q u e s t s   b y :   R e d u c i n g   t h e   r a t e   a t   w h i c h   r e q u e s t s   a r e   e x e c u t e d .   A   f e w e r   n u m b e r   o f   r e q u e s t s   o v e r   a   f i x e d   p e r i o d   w i l l   r e s u l t   i n   a   f e w e r   n u m b e r   o f   s e a t s   b e i n g   n e e d e d   a t   a   g i v e n   t i m e . A v o i d   i s s u i n g   a   l a r g e   n u m b e r   o f   e x p e n s i v e   r e q u e s t s   c o n c u r r e n t l y .   R e q u e s t s   c a n   b e   o p t i m i z e d   t o   u s e   f e w e r   s e a t s   o r   h a v e   l o w e r   l a t e n c y   s o   t h a t   t h e s e   r e q u e s t s   h o l d   t h o s e   s e a t s   f o r   a   s h o r t e r   d u r a t i o n .   L i s t   r e q u e s t s   c a n   o c c u p y   m o r e   t h a n   1   s e a t   d e p e n d i n g   o n   t h e   n u m b e r   o f   o b j e c t s   f e t c h e d   d u r i n g   t h e   r e q u e s t .   R e s t r i c t i n g   t h e   n u m b e r   o f   o b j e c t s   r e t r i e v e d   i n   a   l i s t   r e q u e s t ,   f o r   e x a m p l e   b y   u s i n g   p a g i n a t i o n ,   w i l l   u s e   l e s s   t o t a l   s e a t s   o v e r   a   s h o r t e r   p e r i o d .   F u r t h e r m o r e ,   r e p l a c i n g   l i s t   r e q u e s t s   w i t h   w a t c h   r e q u e s t s   w i l l   r e q u i r e   l o w e r   t o t a l   c o n c u r r e n c y   s h a r e s   a s   w a t c h   r e q u e s t s   o n l y   o c c u p y   1   s e a t   d u r i n g   i t s   i n i t i a l   b u r s t   o f   n o t i f i c a t i o n s .   I f   u s i n g   s t r e a m i n g   l i s t s   i n   v e r s i o n s   1 . 2 7   a n d   l a t e r ,   w a t c h   r e q u e s t s   w i l l   o c c u p y   t h e   s a m e   n u m ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13365"
  },
  {
    "question": "What is Priority and fairness settings?",
    "answer": "Y o u   c a n   a l s o   m o d i f y   t h e   d e f a u l t   F l o w S c h e m a   a n d   P r i o r i t y L e v e l C o n f i g u r a t i o n   o b j e c t s   o r   c r e a t e   n e w   o b j e c t s   o f   t h e s e   t y p e s   t o   b e t t e r   a c c o m m o d a t e   y o u r   w o r k l o a d .   A P F   s e t t i n g s   c a n   b e   m o d i f i e d   t o :   G i v e   m o r e   s e a t s   t o   h i g h   p r i o r i t y   r e q u e s t s . I s o l a t e   n o n - e s s e n t i a l   o r   e x p e n s i v e   r e q u e s t s   t h a t   w o u l d   s t a r v e   a   c o n c u r r e n c y   l e v e l   i f   i t   w a s   s h a r e d   w i t h   o t h e r   f l o w s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13366"
  },
  {
    "question": "What is Give more seats to high priority requests?",
    "answer": "I f   p o s s i b l e ,   t h e   n u m b e r   o f   s e a t s   a v a i l a b l e   a c r o s s   a l l   p r i o r i t y   l e v e l s   f o r   a   p a r t i c u l a r   k u b e - a p i s e r v e r   c a n   b e   i n c r e a s e d   b y   i n c r e a s i n g   t h e   v a l u e s   f o r   t h e   m a x - r e q u e s t s - i n f l i g h t   a n d   m a x - m u t a t i n g - r e q u e s t s - i n f l i g h t   f l a g s .   A l t e r n a t i v e l y ,   h o r i z o n t a l l y   s c a l i n g   t h e   n u m b e r   o f   k u b e - a p i s e r v e r   i n s t a n c e s   w i l l   i n c r e a s e   t h e   t o t a l   c o n c u r r e n c y   p e r   p r i o r i t y   l e v e l   a c r o s s   t h e   c l u s t e r   a s s u m i n g   t h e r e   i s   s u f f i c i e n t   l o a d   b a l a n c i n g   o f   r e q u e s t s . Y o u   c a n   c r e a t e   a   n e w   F l o w S c h e m a   w h i c h   r e f e r e n c e s   a   P r i o r i t y L e v e l C o n f i g u r a t i o n   w i t h   a   l a r g e r   c o n c u r r e n c y   l e v e l .   T h i s   n e w   P r i o r i t y L e v e l C o n f i g u r a t i o n   c o u l d   b e   a n   e x i s t i n g   l e v e l   o r   a   n e w   l e v e l   w i t h   i t s   o w n   s e t   o f   n o m i n a l   c o n c u r r e n c y   s h a r e s .   F o r   e x a m p l e ,   a   n e w   F l o w S c h e m a   c o u l d   b e   i n t r o d u c e d   t o   c h a n g e   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   f o r   y o u r   r e q u e s t s   f r o m   g l o b a l - d e f a u l t   t o   w o r k l o a d - l o w   t o   i n c r e a s e   t h e   n u m b e r   o f   s e a t s   a v a i l a b l e   t o   y o u r   u s e r .   C r e a t i n g   a   n e w   P r i o r i t y L e v e l C o n f i g u r a t i o n   w i l l   r e d u c e   t h e   n u m b e r   o f   s e a t s   d e s i g n a t e d   f o r   e x i s t i n g   l e v e l s .   R e c a l l   t h a t   e d i t i n g   a   d e f a u l t   F l o w S ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13367"
  },
  {
    "question": "What is Isolate non-essential requests from starving other flows?",
    "answer": "F o r   r e q u e s t   i s o l a t i o n ,   y o u   c a n   c r e a t e   a   F l o w S c h e m a   w h o s e   s u b j e c t   m a t c h e s   t h e   u s e r   m a k i n g   t h e s e   r e q u e s t s   o r   c r e a t e   a   F l o w S c h e m a   t h a t   m a t c h e s   w h a t   t h e   r e q u e s t   i s   ( c o r r e s p o n d i n g   t o   t h e   r e s o u r c e R u l e s ) .   N e x t ,   y o u   c a n   m a p   t h i s   F l o w S c h e m a   t o   a   P r i o r i t y L e v e l C o n f i g u r a t i o n   w i t h   a   l o w   s h a r e   o f   s e a t s .   F o r   e x a m p l e ,   s u p p o s e   l i s t   e v e n t   r e q u e s t s   f r o m   P o d s   r u n n i n g   i n   t h e   d e f a u l t   n a m e s p a c e   a r e   u s i n g   1 0   s e a t s   e a c h   a n d   e x e c u t e   f o r   1   m i n u t e .   T o   p r e v e n t   t h e s e   e x p e n s i v e   r e q u e s t s   f r o m   i m p a c t i n g   r e q u e s t s   f r o m   o t h e r   P o d s   u s i n g   t h e   e x i s t i n g   s e r v i c e - a c c o u n t s   F l o w S c h e m a ,   y o u   c a n   a p p l y   t h e   f o l l o w i n g   F l o w S c h e m a   t o   i s o l a t e   t h e s e   l i s t   c a l l s   f r o m   o t h e r   r e q u e s t s .   E x a m p l e   F l o w S c h e m a   o b j e c t   t o   i s o l a t e   l i s t   e v e n t   r e q u e s t s :   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   k i n d :   F l o w S c h e m a   m e t a d a t a :   n a m e :   l i s t - e v e n t s - d e f a u l t - s e r v i c e - a c c o u n t   s p e c :   d i s t i n g u i s h e r M e t h o d :   t y p e :   B y U s e r   m a t c h i n g P r e c e d e n c e :   8 0 0 0   p r i o r i t y L e v e l C o n f i g u r a t i o n :   n a m e :   c a t c h - a l l   r u l e s :   -   r e s o u r c e R u l e s :   -   a p i G r o u p s :   -   ' * '   n a m e s p a c e s :   -   d e f a u l t   r e s o u r c e s :   -   e v e n t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13368"
  },
  {
    "question": "What is What's next?",
    "answer": "Y o u   c a n   v i s i t   f l o w   c o n t r o l   r e f e r e n c e   d o c   t o   l e a r n   m o r e   a b o u t   t r o u b l e s h o o t i n g . F o r   b a c k g r o u n d   i n f o r m a t i o n   o n   d e s i g n   d e t a i l s   f o r   A P I   p r i o r i t y   a n d   f a i r n e s s ,   s e e   t h e   e n h a n c e m e n t   p r o p o s a l . Y o u   c a n   m a k e   s u g g e s t i o n s   a n d   f e a t u r e   r e q u e s t s   v i a   S I G   A P I   M a c h i n e r y   o r   t h e   f e a t u r e ' s   s l a c k   c h a n n e l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13369"
  },
  {
    "question": "What is 11.16 - Installing Addons?",
    "answer": "A d d - o n s   e x t e n d   t h e   f u n c t i o n a l i t y   o f   K u b e r n e t e s .   T h i s   p a g e   l i s t s   s o m e   o f   t h e   a v a i l a b l e   a d d - o n s   a n d   l i n k s   t o   t h e i r   r e s p e c t i v e   i n s t a l l a t i o n   i n s t r u c t i o n s .   T h e   l i s t   d o e s   n o t   t r y   t o   b e   e x h a u s t i v e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13370"
  },
  {
    "question": "What is Networking and Network Policy?",
    "answer": "A C I   p r o v i d e s   i n t e g r a t e d   c o n t a i n e r   n e t w o r k i n g   a n d   n e t w o r k   s e c u r i t y   w i t h   C i s c o   A C I . A n t r e a   o p e r a t e s   a t   L a y e r   3 / 4   t o   p r o v i d e   n e t w o r k i n g   a n d   s e c u r i t y   s e r v i c e s   f o r   K u b e r n e t e s ,   l e v e r a g i n g   O p e n   v S w i t c h   a s   t h e   n e t w o r k i n g   d a t a   p l a n e .   A n t r e a   i s   a   C N C F   p r o j e c t   a t   t h e   S a n d b o x   l e v e l . C a l i c o   i s   a   n e t w o r k i n g   a n d   n e t w o r k   p o l i c y   p r o v i d e r .   C a l i c o   s u p p o r t s   a   f l e x i b l e   s e t   o f   n e t w o r k i n g   o p t i o n s   s o   y o u   c a n   c h o o s e   t h e   m o s t   e f f i c i e n t   o p t i o n   f o r   y o u r   s i t u a t i o n ,   i n c l u d i n g   n o n - o v e r l a y   a n d   o v e r l a y   n e t w o r k s ,   w i t h   o r   w i t h o u t   B G P .   C a l i c o   u s e s   t h e   s a m e   e n g i n e   t o   e n f o r c e   n e t w o r k   p o l i c y   f o r   h o s t s ,   p o d s ,   a n d   ( i f   u s i n g   I s t i o   &   E n v o y )   a p p l i c a t i o n s   a t   t h e   s e r v i c e   m e s h   l a y e r . C a n a l   u n i t e s   F l a n n e l   a n d   C a l i c o ,   p r o v i d i n g   n e t w o r k i n g   a n d   n e t w o r k   p o l i c y . C i l i u m   i s   a   n e t w o r k i n g ,   o b s e r v a b i l i t y ,   a n d   s e c u r i t y   s o l u t i o n   w i t h   a n   e B P F - b a s e d   d a t a   p l a n e .   C i l i u m   p r o v i d e s   a   s i m p l e   f l a t   L a y e r   3   n e t w o r k   w i t h   t h e   a b i l i t y   t o   s p a n   m u l t i p l e   c l u s t e r s   i n   e i t h e r   a   n a t i v e   r o u t i n g   o r   o v e r l a y / e n c a p s u l a t i o n   m o d e ,   a n d   c a n   e n f o r c e   n e t w o r k   p o l i c i e s   o n   L 3 - L 7   u s i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13371"
  },
  {
    "question": "What is Service Discovery?",
    "answer": "C o r e D N S   i s   a   f l e x i b l e ,   e x t e n s i b l e   D N S   s e r v e r   w h i c h   c a n   b e   i n s t a l l e d   a s   t h e   i n - c l u s t e r   D N S   f o r   p o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13372"
  },
  {
    "question": "What is Visualization & Control?",
    "answer": "D a s h b o a r d   i s   a   d a s h b o a r d   w e b   i n t e r f a c e   f o r   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13373"
  },
  {
    "question": "What is Infrastructure?",
    "answer": "K u b e V i r t   i s   a n   a d d - o n   t o   r u n   v i r t u a l   m a c h i n e s   o n   K u b e r n e t e s .   U s u a l l y   r u n   o n   b a r e - m e t a l   c l u s t e r s . T h e   n o d e   p r o b l e m   d e t e c t o r   r u n s   o n   L i n u x   n o d e s   a n d   r e p o r t s   s y s t e m   i s s u e s   a s   e i t h e r   E v e n t s   o r   N o d e   c o n d i t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13374"
  },
  {
    "question": "What is Instrumentation?",
    "answer": "k u b e - s t a t e - m e t r i c s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13375"
  },
  {
    "question": "What is Legacy Add-ons?",
    "answer": "T h e r e   a r e   s e v e r a l   o t h e r   a d d - o n s   d o c u m e n t e d   i n   t h e   d e p r e c a t e d   c l u s t e r / a d d o n s   d i r e c t o r y .   W e l l - m a i n t a i n e d   o n e s   s h o u l d   b e   l i n k e d   t o   h e r e .   P R s   w e l c o m e !",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13376"
  },
  {
    "question": "What is 11.17 - Coordinated Leader Election?",
    "answer": "K u b e r n e t e s   1 . 3 4   i n c l u d e s   a   b e t a   f e a t u r e   t h a t   a l l o w s   c o n t r o l   p l a n e   c o m p o n e n t s   t o   d e t e r m i n i s t i c a l l y   s e l e c t   a   l e a d e r   v i a   c o o r d i n a t e d   l e a d e r   e l e c t i o n .   T h i s   i s   u s e f u l   t o   s a t i s f y   K u b e r n e t e s   v e r s i o n   s k e w   c o n s t r a i n t s   d u r i n g   c l u s t e r   u p g r a d e s .   C u r r e n t l y ,   t h e   o n l y   b u i l t i n   s e l e c t i o n   s t r a t e g y   i s   O l d e s t E m u l a t i o n V e r s i o n ,   p r e f e r r i n g   t h e   l e a d e r   w i t h   t h e   l o w e s t   e m u l a t i o n   v e r s i o n ,   f o l l o w e d   b y   b i n a r y   v e r s i o n ,   f o l l o w e d   b y   c r e a t i o n   t i m e s t a m p .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13377"
  },
  {
    "question": "What is Enabling coordinated leader election?",
    "answer": "E n s u r e   t h a t   C o o r d i n a t e d L e a d e r E l e c t i o n   f e a t u r e   g a t e   i s   e n a b l e d   w h e n   y o u   s t a r t   t h e   A P I   S e r v e r :   a n d   t h a t   t h e   c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1   A P I   g r o u p   i s   e n a b l e d .   T h i s   c a n   b e   d o n e   b y   s e t t i n g   f l a g s   - - f e a t u r e - g a t e s = \" C o o r d i n a t e d L e a d e r E l e c t i o n = t r u e \"   a n d   - - r u n t i m e - c o n f i g = \" c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 = t r u e \" .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13378"
  },
  {
    "question": "What is Component configuration?",
    "answer": "P r o v i d e d   t h a t   y o u   h a v e   e n a b l e d   t h e   C o o r d i n a t e d L e a d e r E l e c t i o n   f e a t u r e   g a t e   a n d h a v e   t h e   c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1   A P I   g r o u p   e n a b l e d ,   c o m p a t i b l e   c o n t r o l   p l a n e c o m p o n e n t s   a u t o m a t i c a l l y   u s e   t h e   L e a s e C a n d i d a t e   a n d   L e a s e   A P I s   t o   e l e c t   a   l e a d e r a s   n e e d e d .   F o r   K u b e r n e t e s   1 . 3 4 ,   t w o   c o n t r o l   p l a n e   c o m p o n e n t s ( k u b e - c o n t r o l l e r - m a n a g e r   a n d   k u b e - s c h e d u l e r )   a u t o m a t i c a l l y   u s e   c o o r d i n a t e d l e a d e r   e l e c t i o n   w h e n   t h e   f e a t u r e   g a t e   a n d   A P I   g r o u p   a r e   e n a b l e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13379"
  },
  {
    "question": "What is 12 - Windows in Kubernetes?",
    "answer": "K u b e r n e t e s   s u p p o r t s   w o r k e r   n o d e s   r u n n i n g   e i t h e r   L i n u x   o r   M i c r o s o f t   W i n d o w s .   T h e   C N C F   a n d   i t s   p a r e n t   t h e   L i n u x   F o u n d a t i o n   t a k e   a   v e n d o r - n e u t r a l   a p p r o a c h   t o w a r d s   c o m p a t i b i l i t y .   I t   i s   p o s s i b l e   t o   j o i n   y o u r   W i n d o w s   s e r v e r   a s   a   w o r k e r   n o d e   t o   a   K u b e r n e t e s   c l u s t e r .   Y o u   c a n   i n s t a l l   a n d   s e t   u p   k u b e c t l   o n   W i n d o w s   n o   m a t t e r   w h a t   o p e r a t i n g   s y s t e m   y o u   u s e   w i t h i n   y o u r   c l u s t e r .   I f   y o u   a r e   u s i n g   W i n d o w s   n o d e s ,   y o u   c a n   r e a d :   N e t w o r k i n g   O n   W i n d o w s W i n d o w s   S t o r a g e   I n   K u b e r n e t e s R e s o u r c e   M a n a g e m e n t   f o r   W i n d o w s   N o d e s C o n f i g u r e   R u n A s U s e r N a m e   f o r   W i n d o w s   P o d s   a n d   C o n t a i n e r s C r e a t e   A   W i n d o w s   H o s t P r o c e s s   P o d C o n f i g u r e   G r o u p   M a n a g e d   S e r v i c e   A c c o u n t s   f o r   W i n d o w s   P o d s   a n d   C o n t a i n e r s S e c u r i t y   F o r   W i n d o w s   N o d e s W i n d o w s   D e b u g g i n g   T i p s G u i d e   f o r   S c h e d u l i n g   W i n d o w s   C o n t a i n e r s   i n   K u b e r n e t e s   o r ,   f o r   a n   o v e r v i e w ,   r e a d :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13380"
  },
  {
    "question": "What is 12.1 - Windows containers in Kubernetes?",
    "answer": "W i n d o w s   a p p l i c a t i o n s   c o n s t i t u t e   a   l a r g e   p o r t i o n   o f   t h e   s e r v i c e s   a n d   a p p l i c a t i o n s   t h a t   r u n   i n   m a n y   o r g a n i z a t i o n s .   W i n d o w s   c o n t a i n e r s   p r o v i d e   a   w a y   t o   e n c a p s u l a t e   p r o c e s s e s   a n d   p a c k a g e   d e p e n d e n c i e s ,   m a k i n g   i t   e a s i e r   t o   u s e   D e v O p s   p r a c t i c e s   a n d   f o l l o w   c l o u d   n a t i v e   p a t t e r n s   f o r   W i n d o w s   a p p l i c a t i o n s .   O r g a n i z a t i o n s   w i t h   i n v e s t m e n t s   i n   W i n d o w s - b a s e d   a p p l i c a t i o n s   a n d   L i n u x - b a s e d   a p p l i c a t i o n s   d o n ' t   h a v e   t o   l o o k   f o r   s e p a r a t e   o r c h e s t r a t o r s   t o   m a n a g e   t h e i r   w o r k l o a d s ,   l e a d i n g   t o   i n c r e a s e d   o p e r a t i o n a l   e f f i c i e n c i e s   a c r o s s   t h e i r   d e p l o y m e n t s ,   r e g a r d l e s s   o f   o p e r a t i n g   s y s t e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13381"
  },
  {
    "question": "What is Windows nodes in Kubernetes?",
    "answer": "T o   e n a b l e   t h e   o r c h e s t r a t i o n   o f   W i n d o w s   c o n t a i n e r s   i n   K u b e r n e t e s ,   i n c l u d e   W i n d o w s   n o d e s   i n   y o u r   e x i s t i n g   L i n u x   c l u s t e r .   S c h e d u l i n g   W i n d o w s   c o n t a i n e r s   i n   P o d s   o n   K u b e r n e t e s   i s   s i m i l a r   t o   s c h e d u l i n g   L i n u x - b a s e d   c o n t a i n e r s .   I n   o r d e r   t o   r u n   W i n d o w s   c o n t a i n e r s ,   y o u r   K u b e r n e t e s   c l u s t e r   m u s t   i n c l u d e   m u l t i p l e   o p e r a t i n g   s y s t e m s .   W h i l e   y o u   c a n   o n l y   r u n   t h e   c o n t r o l   p l a n e   o n   L i n u x ,   y o u   c a n   d e p l o y   w o r k e r   n o d e s   r u n n i n g   e i t h e r   W i n d o w s   o r   L i n u x .   W i n d o w s   n o d e s   a r e   s u p p o r t e d   p r o v i d e d   t h a t   t h e   o p e r a t i n g   s y s t e m   i s   W i n d o w s   S e r v e r   2 0 1 9   o r   W i n d o w s   S e r v e r   2 0 2 2 .   T h i s   d o c u m e n t   u s e s   t h e   t e r m   W i n d o w s   c o n t a i n e r s   t o   m e a n   W i n d o w s   c o n t a i n e r s   w i t h   p r o c e s s   i s o l a t i o n .   K u b e r n e t e s   d o e s   n o t   s u p p o r t   r u n n i n g   W i n d o w s   c o n t a i n e r s   w i t h   H y p e r - V   i s o l a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13382"
  },
  {
    "question": "What is Compatibility and limitations?",
    "answer": "S o m e   n o d e   f e a t u r e s   a r e   o n l y   a v a i l a b l e   i f   y o u   u s e   a   s p e c i f i c   c o n t a i n e r   r u n t i m e ;   o t h e r s   a r e   n o t   a v a i l a b l e   o n   W i n d o w s   n o d e s ,   i n c l u d i n g :   H u g e P a g e s :   n o t   s u p p o r t e d   f o r   W i n d o w s   c o n t a i n e r s P r i v i l e g e d   c o n t a i n e r s :   n o t   s u p p o r t e d   f o r   W i n d o w s   c o n t a i n e r s .   H o s t P r o c e s s   C o n t a i n e r s   o f f e r   s i m i l a r   f u n c t i o n a l i t y . T e r m i n a t i o n G r a c e P e r i o d :   r e q u i r e s   c o n t a i n e r D   N o t   a l l   f e a t u r e s   o f   s h a r e d   n a m e s p a c e s   a r e   s u p p o r t e d .   S e e   A P I   c o m p a t i b i l i t y   f o r   m o r e   d e t a i l s .   S e e   W i n d o w s   O S   v e r s i o n   c o m p a t i b i l i t y   f o r   d e t a i l s   o n   t h e   W i n d o w s   v e r s i o n s   t h a t   K u b e r n e t e s   i s   t e s t e d   a g a i n s t .   F r o m   a n   A P I   a n d   k u b e c t l   p e r s p e c t i v e ,   W i n d o w s   c o n t a i n e r s   b e h a v e   i n   m u c h   t h e   s a m e   w a y   a s   L i n u x - b a s e d   c o n t a i n e r s .   H o w e v e r ,   t h e r e   a r e   s o m e   n o t a b l e   d i f f e r e n c e s   i n   k e y   f u n c t i o n a l i t y   w h i c h   a r e   o u t l i n e d   i n   t h i s   s e c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13383"
  },
  {
    "question": "What is Comparison with Linux?",
    "answer": "K e y   K u b e r n e t e s   e l e m e n t s   w o r k   t h e   s a m e   w a y   i n   W i n d o w s   a s   t h e y   d o   i n   L i n u x .   T h i s   s e c t i o n   r e f e r s   t o   s e v e r a l   k e y   w o r k l o a d   a b s t r a c t i o n s   a n d   h o w   t h e y   m a p   t o   W i n d o w s .   P o d s A   P o d   i s   t h e   b a s i c   b u i l d i n g   b l o c k   o f   K u b e r n e t e s – t h e   s m a l l e s t   a n d   s i m p l e s t   u n i t   i n   t h e   K u b e r n e t e s   o b j e c t   m o d e l   t h a t   y o u   c r e a t e   o r   d e p l o y .   Y o u   m a y   n o t   d e p l o y   W i n d o w s   a n d   L i n u x   c o n t a i n e r s   i n   t h e   s a m e   P o d .   A l l   c o n t a i n e r s   i n   a   P o d   a r e   s c h e d u l e d   o n t o   a   s i n g l e   N o d e   w h e r e   e a c h   N o d e   r e p r e s e n t s   a   s p e c i f i c   p l a t f o r m   a n d   a r c h i t e c t u r e .   T h e   f o l l o w i n g   P o d   c a p a b i l i t i e s ,   p r o p e r t i e s   a n d   e v e n t s   a r e   s u p p o r t e d   w i t h   W i n d o w s   c o n t a i n e r s : S i n g l e   o r   m u l t i p l e   c o n t a i n e r s   p e r   P o d   w i t h   p r o c e s s   i s o l a t i o n   a n d   v o l u m e   s h a r i n g P o d   s t a t u s   f i e l d s R e a d i n e s s ,   l i v e n e s s ,   a n d   s t a r t u p   p r o b e s p o s t S t a r t   &   p r e S t o p   c o n t a i n e r   l i f e c y c l e   h o o k s C o n f i g M a p ,   S e c r e t s :   a s   e n v i r o n m e n t   v a r i a b l e s   o r   v o l u m e s e m p t y D i r   v o l u m e s N a m e d   p i p e   h o s t   m o u n t s R e s o u r c e   l i m i t s O S   f i e l d : T h e   . s p e c . o s . n a m e   f i e l d   s h o u l d   b e   s e t   t o   w i n d o w s   t o   i n d i c a t e   t h a t   t h e   c u r r e n t   P o d   u s e s   W i n d o w s   c o n t a i n e r s . I f   y o u   s e t   t h e   . s ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13384"
  },
  {
    "question": "What is Command line options for the kubelet?",
    "answer": "S o m e   k u b e l e t   c o m m a n d   l i n e   o p t i o n s   b e h a v e   d i f f e r e n t l y   o n   W i n d o w s ,   a s   d e s c r i b e d   b e l o w :   T h e   - - w i n d o w s - p r i o r i t y c l a s s   l e t s   y o u   s e t   t h e   s c h e d u l i n g   p r i o r i t y   o f   t h e   k u b e l e t   p r o c e s s   ( s e e   C P U   r e s o u r c e   m a n a g e m e n t ) T h e   - - k u b e - r e s e r v e d ,   - - s y s t e m - r e s e r v e d   ,   a n d   - - e v i c t i o n - h a r d   f l a g s   u p d a t e   N o d e A l l o c a t a b l e E v i c t i o n   b y   u s i n g   - - e n f o r c e - n o d e - a l l o c a b l e   i s   n o t   i m p l e m e n t e d W h e n   r u n n i n g   o n   a   W i n d o w s   n o d e   t h e   k u b e l e t   d o e s   n o t   h a v e   m e m o r y   o r   C P U   r e s t r i c t i o n s .   - - k u b e - r e s e r v e d   a n d   - - s y s t e m - r e s e r v e d   o n l y   s u b t r a c t   f r o m   N o d e A l l o c a t a b l e   a n d   d o   n o t   g u a r a n t e e   r e s o u r c e   p r o v i d e d   f o r   w o r k l o a d s .   S e e   R e s o u r c e   M a n a g e m e n t   f o r   W i n d o w s   n o d e s   f o r   m o r e   i n f o r m a t i o n . T h e   P I D P r e s s u r e   C o n d i t i o n   i s   n o t   i m p l e m e n t e d T h e   k u b e l e t   d o e s   n o t   t a k e   O O M   e v i c t i o n   a c t i o n s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13385"
  },
  {
    "question": "What is API compatibility?",
    "answer": "T h e r e   a r e   s u b t l e   d i f f e r e n c e s   i n   t h e   w a y   t h e   K u b e r n e t e s   A P I s   w o r k   f o r   W i n d o w s   d u e   t o   t h e   O S   a n d   c o n t a i n e r   r u n t i m e .   S o m e   w o r k l o a d   p r o p e r t i e s   w e r e   d e s i g n e d   f o r   L i n u x ,   a n d   f a i l   t o   r u n   o n   W i n d o w s .   A t   a   h i g h   l e v e l ,   t h e s e   O S   c o n c e p t s   a r e   d i f f e r e n t :   I d e n t i t y   -   L i n u x   u s e s   u s e r I D   ( U I D )   a n d   g r o u p I D   ( G I D )   w h i c h   a r e   r e p r e s e n t e d   a s   i n t e g e r   t y p e s .   U s e r   a n d   g r o u p   n a m e s   a r e   n o t   c a n o n i c a l   -   t h e y   a r e   j u s t   a n   a l i a s   i n   / e t c / g r o u p s   o r   / e t c / p a s s w d   b a c k   t o   U I D + G I D .   W i n d o w s   u s e s   a   l a r g e r   b i n a r y   s e c u r i t y   i d e n t i f i e r   ( S I D )   w h i c h   i s   s t o r e d   i n   t h e   W i n d o w s   S e c u r i t y   A c c e s s   M a n a g e r   ( S A M )   d a t a b a s e .   T h i s   d a t a b a s e   i s   n o t   s h a r e d   b e t w e e n   t h e   h o s t   a n d   c o n t a i n e r s ,   o r   b e t w e e n   c o n t a i n e r s . F i l e   p e r m i s s i o n s   -   W i n d o w s   u s e s   a n   a c c e s s   c o n t r o l   l i s t   b a s e d   o n   ( S I D s ) ,   w h e r e a s   P O S I X   s y s t e m s   s u c h   a s   L i n u x   u s e   a   b i t m a s k   b a s e d   o n   o b j e c t   p e r m i s s i o n s   a n d   U I D + G I D ,   p l u s   o p t i o n a l   a c c e s s   c o n t r o l   l i s t s . F i l e   p a t h s   -   t h e   c o n v e n t i o n   o n   W i n d o w s   i s   t o   u s e   \\   i n s t e a d   o f   / .   T h e   G o   I O   l i b r a r i e s   t y p i c a l l y   a c c e p t   b o t h   a n d   j u s t   m a k e   i t   w o r k ,   b u t   w h e n   y o u ' r e   s ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13386"
  },
  {
    "question": "What is Field compatibility for container specifications?",
    "answer": "T h e   f o l l o w i n g   l i s t   d o c u m e n t s   d i f f e r e n c e s   b e t w e e n   h o w   P o d   c o n t a i n e r   s p e c i f i c a t i o n s   w o r k   b e t w e e n   W i n d o w s   a n d   L i n u x :   H u g e   p a g e s   a r e   n o t   i m p l e m e n t e d   i n   t h e   W i n d o w s   c o n t a i n e r   r u n t i m e ,   a n d   a r e   n o t   a v a i l a b l e .   T h e y   r e q u i r e   a s s e r t i n g   a   u s e r   p r i v i l e g e   t h a t ' s   n o t   c o n f i g u r a b l e   f o r   c o n t a i n e r s . r e q u e s t s . c p u   a n d   r e q u e s t s . m e m o r y   -   r e q u e s t s   a r e   s u b t r a c t e d   f r o m   n o d e   a v a i l a b l e   r e s o u r c e s ,   s o   t h e y   c a n   b e   u s e d   t o   a v o i d   o v e r p r o v i s i o n i n g   a   n o d e .   H o w e v e r ,   t h e y   c a n n o t   b e   u s e d   t o   g u a r a n t e e   r e s o u r c e s   i n   a n   o v e r p r o v i s i o n e d   n o d e .   T h e y   s h o u l d   b e   a p p l i e d   t o   a l l   c o n t a i n e r s   a s   a   b e s t   p r a c t i c e   i f   t h e   o p e r a t o r   w a n t s   t o   a v o i d   o v e r p r o v i s i o n i n g   e n t i r e l y . s e c u r i t y C o n t e x t . a l l o w P r i v i l e g e E s c a l a t i o n   -   n o t   p o s s i b l e   o n   W i n d o w s ;   n o n e   o f   t h e   c a p a b i l i t i e s   a r e   h o o k e d   u p s e c u r i t y C o n t e x t . c a p a b i l i t i e s   -   P O S I X   c a p a b i l i t i e s   a r e   n o t   i m p l e m e n t e d   o n   W i n d o w s s e c u r i t y C o n t e x t . p r i v i l e g e d   -   W i n d o w s   d o e s n ' t   s u p p o r t   p r i v i l e g e d   c o n t a i n e r s ,   u s e   H o s t P r o c e s s   C o n t a i n e r s   i n s t e a d s e c u r i t y C o n t e x t . p r o c M o u n t   -   W i n d o w s   d o e s n ' t   h a v e   a   / p r o c   f i l e s y s t e m s e c u r i t y C o n t e x t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13387"
  },
  {
    "question": "What is Field compatibility for Pod specifications?",
    "answer": "T h e   f o l l o w i n g   l i s t   d o c u m e n t s   d i f f e r e n c e s   b e t w e e n   h o w   P o d   s p e c i f i c a t i o n s   w o r k   b e t w e e n   W i n d o w s   a n d   L i n u x :   h o s t I P C   a n d   h o s t p i d   -   h o s t   n a m e s p a c e   s h a r i n g   i s   n o t   p o s s i b l e   o n   W i n d o w s h o s t N e t w o r k   -   h o s t   n e t w o r k i n g   i s   n o t   p o s s i b l e   o n   W i n d o w s d n s P o l i c y   -   s e t t i n g   t h e   P o d   d n s P o l i c y   t o   C l u s t e r F i r s t W i t h H o s t N e t   i s   n o t   s u p p o r t e d   o n   W i n d o w s   b e c a u s e   h o s t   n e t w o r k i n g   i s   n o t   p r o v i d e d .   P o d s   a l w a y s   r u n   w i t h   a   c o n t a i n e r   n e t w o r k . p o d S e c u r i t y C o n t e x t   s e e   b e l o w s h a r e P r o c e s s N a m e s p a c e   -   t h i s   i s   a   b e t a   f e a t u r e ,   a n d   d e p e n d s   o n   L i n u x   n a m e s p a c e s   w h i c h   a r e   n o t   i m p l e m e n t e d   o n   W i n d o w s .   W i n d o w s   c a n n o t   s h a r e   p r o c e s s   n a m e s p a c e s   o r   t h e   c o n t a i n e r ' s   r o o t   f i l e s y s t e m .   O n l y   t h e   n e t w o r k   c a n   b e   s h a r e d . t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   -   t h i s   i s   n o t   f u l l y   i m p l e m e n t e d   i n   D o c k e r   o n   W i n d o w s ,   s e e   t h e   G i t H u b   i s s u e .   T h e   b e h a v i o r   t o d a y   i s   t h a t   t h e   E N T R Y P O I N T   p r o c e s s   i s   s e n t   C T R L _ S H U T D O W N _ E V E N T ,   t h e n   W i n d o w s   w a i t s   5   s e c o n d s   b y   d e f a u l t ,   a n d   f i n a l l y   s h u t s   d o w n   a l l   p r o c e s s e s   u s i n g   t h e   n o r m a l   W i n d o w s   s h u t d o w n   b e h a v i o r .   T h e   5   s e c o n d   d e f a u l t   i s   a c t u a l l y   i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13388"
  },
  {
    "question": "What is Host network access?",
    "answer": "K u b e r n e t e s   v 1 . 2 6   t o   v 1 . 3 2   i n c l u d e d   a l p h a   s u p p o r t   f o r   r u n n i n g   W i n d o w s   P o d s   i n   t h e   h o s t ' s   n e t w o r k   n a m e s p a c e .   K u b e r n e t e s   v 1 . 3 4   d o e s   n o t   i n c l u d e   t h e   W i n d o w s H o s t N e t w o r k   f e a t u r e   g a t e   o r   s u p p o r t   f o r   r u n n i n g   W i n d o w s   P o d s   i n   t h e   h o s t ' s   n e t w o r k   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13389"
  },
  {
    "question": "What is Field compatibility for Pod security context?",
    "answer": "O n l y   t h e   s e c u r i t y C o n t e x t . r u n A s N o n R o o t   a n d   s e c u r i t y C o n t e x t . w i n d o w s O p t i o n s   f r o m   t h e   P o d   s e c u r i t y C o n t e x t   f i e l d s   w o r k   o n   W i n d o w s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13390"
  },
  {
    "question": "What is Node problem detector?",
    "answer": "T h e   n o d e   p r o b l e m   d e t e c t o r   ( s e e   M o n i t o r   N o d e   H e a l t h )   h a s   p r e l i m i n a r y   s u p p o r t   f o r   W i n d o w s .   F o r   m o r e   i n f o r m a t i o n ,   v i s i t   t h e   p r o j e c t ' s   G i t H u b   p a g e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13391"
  },
  {
    "question": "What is Pause container?",
    "answer": "I n   a   K u b e r n e t e s   P o d ,   a n   i n f r a s t r u c t u r e   o r   “ p a u s e ”   c o n t a i n e r   i s   f i r s t   c r e a t e d   t o   h o s t   t h e   c o n t a i n e r .   I n   L i n u x ,   t h e   c g r o u p s   a n d   n a m e s p a c e s   t h a t   m a k e   u p   a   p o d   n e e d   a   p r o c e s s   t o   m a i n t a i n   t h e i r   c o n t i n u e d   e x i s t e n c e ;   t h e   p a u s e   p r o c e s s   p r o v i d e s   t h i s .   C o n t a i n e r s   t h a t   b e l o n g   t o   t h e   s a m e   p o d ,   i n c l u d i n g   i n f r a s t r u c t u r e   a n d   w o r k e r   c o n t a i n e r s ,   s h a r e   a   c o m m o n   n e t w o r k   e n d p o i n t   ( s a m e   I P v 4   a n d   /   o r   I P v 6   a d d r e s s ,   s a m e   n e t w o r k   p o r t   s p a c e s ) .   K u b e r n e t e s   u s e s   p a u s e   c o n t a i n e r s   t o   a l l o w   f o r   w o r k e r   c o n t a i n e r s   c r a s h i n g   o r   r e s t a r t i n g   w i t h o u t   l o s i n g   a n y   o f   t h e   n e t w o r k i n g   c o n f i g u r a t i o n .   K u b e r n e t e s   m a i n t a i n s   a   m u l t i - a r c h i t e c t u r e   i m a g e   t h a t   i n c l u d e s   s u p p o r t   f o r   W i n d o w s .   F o r   K u b e r n e t e s   v 1 . 3 4 . 0   t h e   r e c o m m e n d e d   p a u s e   i m a g e   i s   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 6 .   T h e   s o u r c e   c o d e   i s   a v a i l a b l e   o n   G i t H u b .   M i c r o s o f t   m a i n t a i n s   a   d i f f e r e n t   m u l t i - a r c h i t e c t u r e   i m a g e ,   w i t h   L i n u x   a n d   W i n d o w s   a m d 6 4   s u p p o r t ,   t h a t   y o u   c a n   f i n d   a s   m c r . m i c r o s o f t . c o m / o s s / k u b e r n e t e s / p a u s e : 3 . 6 .   T h i s   i m a g e   i s   b u i l t   f r o m   t h e   s a m e   s o u r c e   a s   t h e   K u b e r n e t e s   m a i n t a i n e d   i m ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13392"
  },
  {
    "question": "What is Container runtimes?",
    "answer": "Y o u   n e e d   t o   i n s t a l l   a   c o n t a i n e r   r u n t i m e   i n t o   e a c h   n o d e   i n   t h e   c l u s t e r   s o   t h a t   P o d s   c a n   r u n   t h e r e .   T h e   f o l l o w i n g   c o n t a i n e r   r u n t i m e s   w o r k   w i t h   W i n d o w s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13393"
  },
  {
    "question": "What is ContainerD?",
    "answer": "Y o u   c a n   u s e   C o n t a i n e r D   1 . 4 . 0 +   a s   t h e   c o n t a i n e r   r u n t i m e   f o r   K u b e r n e t e s   n o d e s   t h a t   r u n   W i n d o w s .   L e a r n   h o w   t o   i n s t a l l   C o n t a i n e r D   o n   a   W i n d o w s   n o d e . N o t e : T h e r e   i s   a   k n o w n   l i m i t a t i o n   w h e n   u s i n g   G M S A   w i t h   c o n t a i n e r d   t o   a c c e s s   W i n d o w s   n e t w o r k   s h a r e s ,   w h i c h   r e q u i r e s   a   k e r n e l   p a t c h .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13394"
  },
  {
    "question": "What is Mirantis Container Runtime?",
    "answer": "M i r a n t i s   C o n t a i n e r   R u n t i m e   ( M C R )   i s   a v a i l a b l e   a s   a   c o n t a i n e r   r u n t i m e   f o r   a l l   W i n d o w s   S e r v e r   2 0 1 9   a n d   l a t e r   v e r s i o n s .   S e e   I n s t a l l   M C R   o n   W i n d o w s   S e r v e r s   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13395"
  },
  {
    "question": "What is Windows OS version compatibility?",
    "answer": "O n   W i n d o w s   n o d e s ,   s t r i c t   c o m p a t i b i l i t y   r u l e s   a p p l y   w h e r e   t h e   h o s t   O S   v e r s i o n   m u s t   m a t c h   t h e   c o n t a i n e r   b a s e   i m a g e   O S   v e r s i o n .   O n l y   W i n d o w s   c o n t a i n e r s   w i t h   a   c o n t a i n e r   o p e r a t i n g   s y s t e m   o f   W i n d o w s   S e r v e r   2 0 1 9   a r e   f u l l y   s u p p o r t e d .   F o r   K u b e r n e t e s   v 1 . 3 4 ,   o p e r a t i n g   s y s t e m   c o m p a t i b i l i t y   f o r   W i n d o w s   n o d e s   ( a n d   P o d s )   i s   a s   f o l l o w s :   T h e   K u b e r n e t e s   v e r s i o n - s k e w   p o l i c y   a l s o   a p p l i e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13396"
  },
  {
    "question": "What is Note:?",
    "answer": "6 4 - b i t   p r o c e s s o r   4   C P U   c o r e s   o r   m o r e ,   c a p a b l e   o f   s u p p o r t i n g   v i r t u a l i z a t i o n 8 G B   o r   m o r e   o f   R A M 5 0 G B   o r   m o r e   o f   f r e e   d i s k   s p a c e   R e f e r   t o   H a r d w a r e   r e q u i r e m e n t s   f o r   W i n d o w s   S e r v e r   M i c r o s o f t   d o c u m e n t a t i o n   f o r   t h e   m o s t   u p - t o - d a t e   i n f o r m a t i o n   o n   m i n i m u m   h a r d w a r e   r e q u i r e m e n t s .   F o r   g u i d a n c e   o n   d e c i d i n g   o n   r e s o u r c e s   f o r   p r o d u c t i o n   w o r k e r   n o d e s   r e f e r   t o   P r o d u c t i o n   w o r k e r   n o d e s   K u b e r n e t e s   d o c u m e n t a t i o n .   T o   o p t i m i z e   s y s t e m   r e s o u r c e s ,   i f   a   g r a p h i c a l   u s e r   i n t e r f a c e   i s   n o t   r e q u i r e d ,   i t   m a y   b e   p r e f e r a b l e   t o   u s e   a   W i n d o w s   S e r v e r   O S   i n s t a l l a t i o n   t h a t   e x c l u d e s   t h e   W i n d o w s   D e s k t o p   E x p e r i e n c e   i n s t a l l a t i o n   o p t i o n ,   a s   t h i s   c o n f i g u r a t i o n   t y p i c a l l y   f r e e s   u p   m o r e   s y s t e m   r e s o u r c e s .   I n   a s s e s s i n g   d i s k   s p a c e   f o r   W i n d o w s   w o r k e r   n o d e s ,   t a k e   n o t e   t h a t   W i n d o w s   c o n t a i n e r   i m a g e s   a r e   t y p i c a l l y   l a r g e r   t h a n   L i n u x   c o n t a i n e r   i m a g e s ,   w i t h   c o n t a i n e r   i m a g e   s i z e s   r a n g i n g   f r o m   3 0 0 M B   t o   o v e r   1 0 G B   f o r   a   s i n g l e   i m a g e .   A d d i t i o n a l l y ,   t a k e   n o t e   t h a t   t h e   C :   d r i v e   i n   W i n d o w s   c o n t a i n e r s   r e p r e s e n t s   a   v i r t u a l   f r e e   s i z e   o f   2 0 G B   b y   d e f a u l t ,   w h i c h ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13397"
  },
  {
    "question": "What is Getting help and troubleshooting?",
    "answer": "Y o u r   m a i n   s o u r c e   o f   h e l p   f o r   t r o u b l e s h o o t i n g   y o u r   K u b e r n e t e s   c l u s t e r   s h o u l d   s t a r t   w i t h   t h e   T r o u b l e s h o o t i n g   p a g e .   S o m e   a d d i t i o n a l ,   W i n d o w s - s p e c i f i c   t r o u b l e s h o o t i n g   h e l p   i s   i n c l u d e d   i n   t h i s   s e c t i o n .   L o g s   a r e   a n   i m p o r t a n t   e l e m e n t   o f   t r o u b l e s h o o t i n g   i s s u e s   i n   K u b e r n e t e s .   M a k e   s u r e   t o   i n c l u d e   t h e m   a n y   t i m e   y o u   s e e k   t r o u b l e s h o o t i n g   a s s i s t a n c e   f r o m   o t h e r   c o n t r i b u t o r s .   F o l l o w   t h e   i n s t r u c t i o n s   i n   t h e   S I G   W i n d o w s   c o n t r i b u t i n g   g u i d e   o n   g a t h e r i n g   l o g s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13398"
  },
  {
    "question": "What is Reporting issues and feature requests?",
    "answer": "I f   y o u   h a v e   w h a t   l o o k s   l i k e   a   b u g ,   o r   y o u   w o u l d   l i k e   t o   m a k e   a   f e a t u r e   r e q u e s t ,   p l e a s e   f o l l o w   t h e   S I G   W i n d o w s   c o n t r i b u t i n g   g u i d e   t o   c r e a t e   a   n e w   i s s u e .   Y o u   s h o u l d   f i r s t   s e a r c h   t h e   l i s t   o f   i s s u e s   i n   c a s e   i t   w a s   r e p o r t e d   p r e v i o u s l y   a n d   c o m m e n t   w i t h   y o u r   e x p e r i e n c e   o n   t h e   i s s u e   a n d   a d d   a d d i t i o n a l   l o g s .   S I G   W i n d o w s   c h a n n e l   o n   t h e   K u b e r n e t e s   S l a c k   i s   a l s o   a   g r e a t   a v e n u e   t o   g e t   s o m e   i n i t i a l   s u p p o r t   a n d   t r o u b l e s h o o t i n g   i d e a s   p r i o r   t o   c r e a t i n g   a   t i c k e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13399"
  },
  {
    "question": "What is Validating the Windows cluster operability?",
    "answer": "T h e   K u b e r n e t e s   p r o j e c t   p r o v i d e s   a   W i n d o w s   O p e r a t i o n a l   R e a d i n e s s   s p e c i f i c a t i o n ,   a c c o m p a n i e d   b y   a   s t r u c t u r e d   t e s t   s u i t e .   T h i s   s u i t e   i s   s p l i t   i n t o   t w o   s e t s   o f   t e s t s ,   c o r e   a n d   e x t e n d e d ,   e a c h   c o n t a i n i n g   c a t e g o r i e s   a i m e d   a t   t e s t i n g   s p e c i f i c   a r e a s .   I t   c a n   b e   u s e d   t o   v a l i d a t e   a l l   t h e   f u n c t i o n a l i t i e s   o f   a   W i n d o w s   a n d   h y b r i d   s y s t e m   ( m i x e d   w i t h   L i n u x   n o d e s )   w i t h   f u l l   c o v e r a g e .   T o   s e t   u p   t h e   p r o j e c t   o n   a   n e w l y   c r e a t e d   c l u s t e r ,   r e f e r   t o   t h e   i n s t r u c t i o n s   i n   t h e   p r o j e c t   g u i d e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13400"
  },
  {
    "question": "What is Deployment tools?",
    "answer": "T h e   k u b e a d m   t o o l   h e l p s   y o u   t o   d e p l o y   a   K u b e r n e t e s   c l u s t e r ,   p r o v i d i n g   t h e   c o n t r o l   p l a n e   t o   m a n a g e   t h e   c l u s t e r   i t ,   a n d   n o d e s   t o   r u n   y o u r   w o r k l o a d s .   T h e   K u b e r n e t e s   c l u s t e r   A P I   p r o j e c t   a l s o   p r o v i d e s   m e a n s   t o   a u t o m a t e   d e p l o y m e n t   o f   W i n d o w s   n o d e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13401"
  },
  {
    "question": "What is Windows distribution channels?",
    "answer": "F o r   a   d e t a i l e d   e x p l a n a t i o n   o f   W i n d o w s   d i s t r i b u t i o n   c h a n n e l s   s e e   t h e   M i c r o s o f t   d o c u m e n t a t i o n .   I n f o r m a t i o n   o n   t h e   d i f f e r e n t   W i n d o w s   S e r v e r   s e r v i c i n g   c h a n n e l s   i n c l u d i n g   t h e i r   s u p p o r t   m o d e l s   c a n   b e   f o u n d   a t   W i n d o w s   S e r v e r   s e r v i c i n g   c h a n n e l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13402"
  },
  {
    "question": "What is 12.2 - Guide for Running Windows Containers in Kubernetes?",
    "answer": "T h i s   p a g e   p r o v i d e s   a   w a l k t h r o u g h   f o r   s o m e   s t e p s   y o u   c a n   f o l l o w   t o   r u n   W i n d o w s   c o n t a i n e r s   u s i n g   K u b e r n e t e s .   T h e   p a g e   a l s o   h i g h l i g h t s   s o m e   W i n d o w s   s p e c i f i c   f u n c t i o n a l i t y   w i t h i n   K u b e r n e t e s .   I t   i s   i m p o r t a n t   t o   n o t e   t h a t   c r e a t i n g   a n d   d e p l o y i n g   s e r v i c e s   a n d   w o r k l o a d s   o n   K u b e r n e t e s   b e h a v e s   i n   m u c h   t h e   s a m e   w a y   f o r   L i n u x   a n d   W i n d o w s   c o n t a i n e r s .   T h e   k u b e c t l   c o m m a n d s   t o   i n t e r f a c e   w i t h   t h e   c l u s t e r   a r e   i d e n t i c a l .   T h e   e x a m p l e s   i n   t h i s   p a g e   a r e   p r o v i d e d   t o   j u m p s t a r t   y o u r   e x p e r i e n c e   w i t h   W i n d o w s   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13403"
  },
  {
    "question": "What is Objectives?",
    "answer": "C o n f i g u r e   a n   e x a m p l e   d e p l o y m e n t   t o   r u n   W i n d o w s   c o n t a i n e r s   o n   a   W i n d o w s   n o d e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13404"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   s h o u l d   a l r e a d y   h a v e   a c c e s s   t o   a   K u b e r n e t e s   c l u s t e r   t h a t   i n c l u d e s   a   w o r k e r   n o d e   r u n n i n g   W i n d o w s   S e r v e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13405"
  },
  {
    "question": "What is Getting Started: Deploying a Windows workload?",
    "answer": "T h e   e x a m p l e   Y A M L   f i l e   b e l o w   d e p l o y s   a   s i m p l e   w e b s e r v e r   a p p l i c a t i o n   r u n n i n g   i n s i d e   a   W i n d o w s   c o n t a i n e r .   C r e a t e   a   m a n i f e s t   n a m e d   w i n - w e b s e r v e r . y a m l   w i t h   t h e   c o n t e n t s   b e l o w :   - - -   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   w i n - w e b s e r v e r   l a b e l s :   a p p :   w i n - w e b s e r v e r   s p e c :   p o r t s :   #   t h e   p o r t   t h a t   t h i s   s e r v i c e   s h o u l d   s e r v e   o n   -   p o r t :   8 0   t a r g e t P o r t :   8 0   s e l e c t o r :   a p p :   w i n - w e b s e r v e r   t y p e :   N o d e P o r t   - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   l a b e l s :   a p p :   w i n - w e b s e r v e r   n a m e :   w i n - w e b s e r v e r   s p e c :   r e p l i c a s :   2   s e l e c t o r :   m a t c h L a b e l s :   a p p :   w i n - w e b s e r v e r   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   w i n - w e b s e r v e r   n a m e :   w i n - w e b s e r v e r   s p e c :   c o n t a i n e r s :   -   n a m e :   w i n d o w s w e b s e r v e r   i m a g e :   m c r . m i c r o s o f t . c o m / w i n d o w s / s e r v e r c o r e : l t s c 2 0 1 9   c o m m a n d :   -   p o w e r s h e l l . e x e   -   - c o m m a n d   -   \" < # c o d e   u s e d   f r o m   h t t p s : / / g i s t . g i t h u b . c o m / 1 9 W A S 8 5 / 5 4 2 4 4 3 1 # >   ;   $ $ l i s t e n e r   =   N e w - O b j e c t   S y s t e m . N e t . H t t p L i s t e n e r   ;   $ $ l i s t e n e r . P r e f i x e s . A d d ( ' h t t p : / / * : 8 0 / ' )   ;   $ $ l i s t e n e r . S t a r t ( )   ;   $ $ c a l l e r C o u n t s   =   @ { }   ;   W r i t e - H o s t ( ' L i s t e n i n g   a t   h t t p : / / * : 8 0 / ' )   ;   w h i l e   ( $ $ l i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13406"
  },
  {
    "question": "What is Note:?",
    "answer": "C h e c k   t h a t   a l l   n o d e s   a r e   h e a l t h y : k u b e c t l   g e t   n o d e s   D e p l o y   t h e   s e r v i c e   a n d   w a t c h   f o r   p o d   u p d a t e s : k u b e c t l   a p p l y   - f   w i n - w e b s e r v e r . y a m l   k u b e c t l   g e t   p o d s   - o   w i d e   - w   W h e n   t h e   s e r v i c e   i s   d e p l o y e d   c o r r e c t l y   b o t h   P o d s   a r e   m a r k e d   a s   R e a d y .   T o   e x i t   t h e   w a t c h   c o m m a n d ,   p r e s s   C t r l + C . C h e c k   t h a t   t h e   d e p l o y m e n t   s u c c e e d e d .   T o   v e r i f y : S e v e r a l   p o d s   l i s t e d   f r o m   t h e   L i n u x   c o n t r o l   p l a n e   n o d e ,   u s e   k u b e c t l   g e t   p o d s N o d e - t o - p o d   c o m m u n i c a t i o n   a c r o s s   t h e   n e t w o r k ,   c u r l   p o r t   8 0   o f   y o u r   p o d   I P s   f r o m   t h e   L i n u x   c o n t r o l   p l a n e   n o d e   t o   c h e c k   f o r   a   w e b   s e r v e r   r e s p o n s e P o d - t o - p o d   c o m m u n i c a t i o n ,   p i n g   b e t w e e n   p o d s   ( a n d   a c r o s s   h o s t s ,   i f   y o u   h a v e   m o r e   t h a n   o n e   W i n d o w s   n o d e )   u s i n g   k u b e c t l   e x e c S e r v i c e - t o - p o d   c o m m u n i c a t i o n ,   c u r l   t h e   v i r t u a l   s e r v i c e   I P   ( s e e n   u n d e r   k u b e c t l   g e t   s e r v i c e s )   f r o m   t h e   L i n u x   c o n t r o l   p l a n e   n o d e   a n d   f r o m   i n d i v i d u a l   p o d s S e r v i c e   d i s c o v e r y ,   c u r l   t h e   s e r v i c e   n a m e   w i t h   t h e   K u b e r n e t e s   d e f a u l t   D N S   s u f f i x I n b o u n d   c o n n e c t i v i t y ,   c u r l   t h e   N o d e P o r t   f r o m   t h e   L i n u x   c o n t r o l   p l a n e   n o d e   o r   m a c h i n e s   o u t s i d e   o f   t h e   c l u s t e r O u t b o u n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13407"
  },
  {
    "question": "What is Capturing logs from workloads?",
    "answer": "L o g s   a r e   a n   i m p o r t a n t   e l e m e n t   o f   o b s e r v a b i l i t y ;   t h e y   e n a b l e   u s e r s   t o   g a i n   i n s i g h t s   i n t o   t h e   o p e r a t i o n a l   a s p e c t   o f   w o r k l o a d s   a n d   a r e   a   k e y   i n g r e d i e n t   t o   t r o u b l e s h o o t i n g   i s s u e s .   B e c a u s e   W i n d o w s   c o n t a i n e r s   a n d   w o r k l o a d s   i n s i d e   W i n d o w s   c o n t a i n e r s   b e h a v e   d i f f e r e n t l y   f r o m   L i n u x   c o n t a i n e r s ,   u s e r s   h a d   a   h a r d   t i m e   c o l l e c t i n g   l o g s ,   l i m i t i n g   o p e r a t i o n a l   v i s i b i l i t y .   W i n d o w s   w o r k l o a d s   f o r   e x a m p l e   a r e   u s u a l l y   c o n f i g u r e d   t o   l o g   t o   E T W   ( E v e n t   T r a c i n g   f o r   W i n d o w s )   o r   p u s h   e n t r i e s   t o   t h e   a p p l i c a t i o n   e v e n t   l o g .   L o g M o n i t o r ,   a n   o p e n   s o u r c e   t o o l   b y   M i c r o s o f t ,   i s   t h e   r e c o m m e n d e d   w a y   t o   m o n i t o r   c o n f i g u r e d   l o g   s o u r c e s   i n s i d e   a   W i n d o w s   c o n t a i n e r .   L o g M o n i t o r   s u p p o r t s   m o n i t o r i n g   e v e n t   l o g s ,   E T W   p r o v i d e r s ,   a n d   c u s t o m   a p p l i c a t i o n   l o g s ,   p i p i n g   t h e m   t o   S T D O U T   f o r   c o n s u m p t i o n   b y   k u b e c t l   l o g s   < p o d > .   F o l l o w   t h e   i n s t r u c t i o n s   i n   t h e   L o g M o n i t o r   G i t H u b   p a g e   t o   c o p y   i t s   b i n a r i e s   a n d   c o n f i g u r a t i o n   f i l e s   t o   a l l   y o u r   c o n t a i n e r s   a n d   a d d   t h e   n e c e s s a r y   e n t r y p o i n t s   f o r   L o g M o n i t o r   t o   p u s h   y o u r   l o g s   t o   S T D O U T .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13408"
  },
  {
    "question": "What is Using configurable Container usernames?",
    "answer": "W i n d o w s   c o n t a i n e r s   c a n   b e   c o n f i g u r e d   t o   r u n   t h e i r   e n t r y p o i n t s   a n d   p r o c e s s e s   w i t h   d i f f e r e n t   u s e r n a m e s   t h a n   t h e   i m a g e   d e f a u l t s .   L e a r n   m o r e   a b o u t   i t   h e r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13409"
  },
  {
    "question": "What is Managing Workload Identity with Group Managed Service Accounts?",
    "answer": "W i n d o w s   c o n t a i n e r   w o r k l o a d s   c a n   b e   c o n f i g u r e d   t o   u s e   G r o u p   M a n a g e d   S e r v i c e   A c c o u n t s   ( G M S A ) .   G r o u p   M a n a g e d   S e r v i c e   A c c o u n t s   a r e   a   s p e c i f i c   t y p e   o f   A c t i v e   D i r e c t o r y   a c c o u n t   t h a t   p r o v i d e   a u t o m a t i c   p a s s w o r d   m a n a g e m e n t ,   s i m p l i f i e d   s e r v i c e   p r i n c i p a l   n a m e   ( S P N )   m a n a g e m e n t ,   a n d   t h e   a b i l i t y   t o   d e l e g a t e   t h e   m a n a g e m e n t   t o   o t h e r   a d m i n i s t r a t o r s   a c r o s s   m u l t i p l e   s e r v e r s .   C o n t a i n e r s   c o n f i g u r e d   w i t h   a   G M S A   c a n   a c c e s s   e x t e r n a l   A c t i v e   D i r e c t o r y   D o m a i n   r e s o u r c e s   w h i l e   c a r r y i n g   t h e   i d e n t i t y   c o n f i g u r e d   w i t h   t h e   G M S A .   L e a r n   m o r e   a b o u t   c o n f i g u r i n g   a n d   u s i n g   G M S A   f o r   W i n d o w s   c o n t a i n e r s   h e r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13410"
  },
  {
    "question": "What is Taints and tolerations?",
    "answer": "U s e r s   n e e d   t o   u s e   s o m e   c o m b i n a t i o n   o f   t a i n t   a n d   n o d e   s e l e c t o r s   i n   o r d e r   t o   s c h e d u l e   L i n u x   a n d   W i n d o w s   w o r k l o a d s   t o   t h e i r   r e s p e c t i v e   O S - s p e c i f i c   n o d e s .   T h e   r e c o m m e n d e d   a p p r o a c h   i s   o u t l i n e d   b e l o w ,   w i t h   o n e   o f   i t s   m a i n   g o a l s   b e i n g   t h a t   t h i s   a p p r o a c h   s h o u l d   n o t   b r e a k   c o m p a t i b i l i t y   f o r   e x i s t i n g   L i n u x   w o r k l o a d s .   Y o u   c a n   ( a n d   s h o u l d )   s e t   . s p e c . o s . n a m e   f o r   e a c h   P o d ,   t o   i n d i c a t e   t h e   o p e r a t i n g   s y s t e m   t h a t   t h e   c o n t a i n e r s   i n   t h a t   P o d   a r e   d e s i g n e d   f o r .   F o r   P o d s   t h a t   r u n   L i n u x   c o n t a i n e r s ,   s e t   . s p e c . o s . n a m e   t o   l i n u x .   F o r   P o d s   t h a t   r u n   W i n d o w s   c o n t a i n e r s ,   s e t   . s p e c . o s . n a m e   t o   w i n d o w s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13411"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   s c h e d u l e r   d o e s   n o t   u s e   t h e   v a l u e   o f   . s p e c . o s . n a m e   w h e n   a s s i g n i n g   P o d s   t o   n o d e s .   Y o u   s h o u l d   u s e   n o r m a l   K u b e r n e t e s   m e c h a n i s m s   f o r   a s s i g n i n g   p o d s   t o   n o d e s   t o   e n s u r e   t h a t   t h e   c o n t r o l   p l a n e   f o r   y o u r   c l u s t e r   p l a c e s   p o d s   o n t o   n o d e s   t h a t   a r e   r u n n i n g   t h e   a p p r o p r i a t e   o p e r a t i n g   s y s t e m .   T h e   . s p e c . o s . n a m e   v a l u e   h a s   n o   e f f e c t   o n   t h e   s c h e d u l i n g   o f   t h e   W i n d o w s   p o d s ,   s o   t a i n t s   a n d   t o l e r a t i o n s   ( o r   n o d e   s e l e c t o r s )   a r e   s t i l l   r e q u i r e d   t o   e n s u r e   t h a t   t h e   W i n d o w s   p o d s   l a n d   o n t o   a p p r o p r i a t e   W i n d o w s   n o d e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13412"
  },
  {
    "question": "What is Ensuring OS-specific workloads land on the appropriate container host?",
    "answer": "U s e r s   c a n   e n s u r e   W i n d o w s   c o n t a i n e r s   c a n   b e   s c h e d u l e d   o n   t h e   a p p r o p r i a t e   h o s t   u s i n g   t a i n t s   a n d   t o l e r a t i o n s .   A l l   K u b e r n e t e s   n o d e s   r u n n i n g   K u b e r n e t e s   1 . 3 4   h a v e   t h e   f o l l o w i n g   d e f a u l t   l a b e l s :   k u b e r n e t e s . i o / o s   =   [ w i n d o w s | l i n u x ] k u b e r n e t e s . i o / a r c h   =   [ a m d 6 4 | a r m 6 4 | . . . ]   I f   a   P o d   s p e c i f i c a t i o n   d o e s   n o t   s p e c i f y   a   n o d e S e l e c t o r   s u c h   a s   \" k u b e r n e t e s . i o / o s \" :   w i n d o w s ,   i t   i s   p o s s i b l e   t h e   P o d   c a n   b e   s c h e d u l e d   o n   a n y   h o s t ,   W i n d o w s   o r   L i n u x .   T h i s   c a n   b e   p r o b l e m a t i c   s i n c e   a   W i n d o w s   c o n t a i n e r   c a n   o n l y   r u n   o n   W i n d o w s   a n d   a   L i n u x   c o n t a i n e r   c a n   o n l y   r u n   o n   L i n u x .   T h e   b e s t   p r a c t i c e   f o r   K u b e r n e t e s   1 . 3 4   i s   t o   u s e   a   n o d e S e l e c t o r .   H o w e v e r ,   i n   m a n y   c a s e s   u s e r s   h a v e   a   p r e - e x i s t i n g   l a r g e   n u m b e r   o f   d e p l o y m e n t s   f o r   L i n u x   c o n t a i n e r s ,   a s   w e l l   a s   a n   e c o s y s t e m   o f   o f f - t h e - s h e l f   c o n f i g u r a t i o n s ,   s u c h   a s   c o m m u n i t y   H e l m   c h a r t s ,   a n d   p r o g r a m m a t i c   P o d   g e n e r a t i o n   c a s e s ,   s u c h   a s   w i t h   o p e r a t o r s .   I n   t h o s e   s i t u a t i o n s ,   y o u   m a y   b e   h e s i t a n t   t o   m a k e   t h e   c o n f i g u r a t i o n   c h a n g e   t o   a d d   n o d e S e l e c t o r   f i e l d s   t o   a l l   P o d s   a n d   P o d   t e m p l a t e s .   T h e   a l t e r n a t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13413"
  },
  {
    "question": "What is Handling multiple Windows versions in the same cluster?",
    "answer": "T h e   W i n d o w s   S e r v e r   v e r s i o n   u s e d   b y   e a c h   p o d   m u s t   m a t c h   t h a t   o f   t h e   n o d e .   I f   y o u   w a n t   t o   u s e   m u l t i p l e   W i n d o w s   S e r v e r   v e r s i o n s   i n   t h e   s a m e   c l u s t e r ,   t h e n   y o u   s h o u l d   s e t   a d d i t i o n a l   n o d e   l a b e l s   a n d   n o d e S e l e c t o r   f i e l d s .   K u b e r n e t e s   a u t o m a t i c a l l y   a d d s   a   l a b e l ,   n o d e . k u b e r n e t e s . i o / w i n d o w s - b u i l d   t o   s i m p l i f y   t h i s .   T h i s   l a b e l   r e f l e c t s   t h e   W i n d o w s   m a j o r ,   m i n o r ,   a n d   b u i l d   n u m b e r   t h a t   n e e d   t o   m a t c h   f o r   c o m p a t i b i l i t y .   H e r e   a r e   v a l u e s   u s e d   f o r   e a c h   W i n d o w s   S e r v e r   v e r s i o n :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13414"
  },
  {
    "question": "What is Simplifying with RuntimeClass?",
    "answer": "R u n t i m e C l a s s   c a n   b e   u s e d   t o   s i m p l i f y   t h e   p r o c e s s   o f   u s i n g   t a i n t s   a n d   t o l e r a t i o n s .   A   c l u s t e r   a d m i n i s t r a t o r   c a n   c r e a t e   a   R u n t i m e C l a s s   o b j e c t   w h i c h   i s   u s e d   t o   e n c a p s u l a t e   t h e s e   t a i n t s   a n d   t o l e r a t i o n s .   S a v e   t h i s   f i l e   t o   r u n t i m e C l a s s e s . y m l .   I t   i n c l u d e s   t h e   a p p r o p r i a t e   n o d e S e l e c t o r   f o r   t h e   W i n d o w s   O S ,   a r c h i t e c t u r e ,   a n d   v e r s i o n . - - -   a p i V e r s i o n :   n o d e . k 8 s . i o / v 1   k i n d :   R u n t i m e C l a s s   m e t a d a t a :   n a m e :   w i n d o w s - 2 0 1 9   h a n d l e r :   e x a m p l e - c o n t a i n e r - r u n t i m e - h a n d l e r   s c h e d u l i n g :   n o d e S e l e c t o r :   k u b e r n e t e s . i o / o s :   ' w i n d o w s '   k u b e r n e t e s . i o / a r c h :   ' a m d 6 4 '   n o d e . k u b e r n e t e s . i o / w i n d o w s - b u i l d :   ' 1 0 . 0 . 1 7 7 6 3 '   t o l e r a t i o n s :   -   e f f e c t :   N o S c h e d u l e   k e y :   o s   o p e r a t o r :   E q u a l   v a l u e :   \" w i n d o w s \"   R u n   k u b e c t l   c r e a t e   - f   r u n t i m e C l a s s e s . y m l   u s i n g   a s   a   c l u s t e r   a d m i n i s t r a t o r A d d   r u n t i m e C l a s s N a m e :   w i n d o w s - 2 0 1 9   a s   a p p r o p r i a t e   t o   P o d   s p e c s F o r   e x a m p l e : - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   i i s - 2 0 1 9   l a b e l s :   a p p :   i i s - 2 0 1 9   s p e c :   r e p l i c a s :   1   t e m p l a t e :   m e t a d a t a :   n a m e :   i i s - 2 0 1 9   l a b e l s :   a p p :   i i s - 2 0 1 9   s p e c :   r u n t i m e C l a s s N a m e :   w i n d o w s - 2 0 1 9   c o n t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13415"
  },
  {
    "question": "What is 13 - Extending Kubernetes?",
    "answer": "K u b e r n e t e s   i s   h i g h l y   c o n f i g u r a b l e   a n d   e x t e n s i b l e .   A s   a   r e s u l t ,   t h e r e   i s   r a r e l y   a   n e e d   t o   f o r k   o r   s u b m i t   p a t c h e s   t o   t h e   K u b e r n e t e s   p r o j e c t   c o d e .   T h i s   g u i d e   d e s c r i b e s   t h e   o p t i o n s   f o r   c u s t o m i z i n g   a   K u b e r n e t e s   c l u s t e r .   I t   i s   a i m e d   a t   c l u s t e r   o p e r a t o r s   w h o   w a n t   t o   u n d e r s t a n d   h o w   t o   a d a p t   t h e i r   K u b e r n e t e s   c l u s t e r   t o   t h e   n e e d s   o f   t h e i r   w o r k   e n v i r o n m e n t .   D e v e l o p e r s   w h o   a r e   p r o s p e c t i v e   P l a t f o r m   D e v e l o p e r s   o r   K u b e r n e t e s   P r o j e c t   C o n t r i b u t o r s   w i l l   a l s o   f i n d   i t   u s e f u l   a s   a n   i n t r o d u c t i o n   t o   w h a t   e x t e n s i o n   p o i n t s   a n d   p a t t e r n s   e x i s t ,   a n d   t h e i r   t r a d e - o f f s   a n d   l i m i t a t i o n s .   C u s t o m i z a t i o n   a p p r o a c h e s   c a n   b e   b r o a d l y   d i v i d e d   i n t o   c o n f i g u r a t i o n ,   w h i c h   o n l y   i n v o l v e s   c h a n g i n g   c o m m a n d   l i n e   a r g u m e n t s ,   l o c a l   c o n f i g u r a t i o n   f i l e s ,   o r   A P I   r e s o u r c e s ;   a n d   e x t e n s i o n s ,   w h i c h   i n v o l v e   r u n n i n g   a d d i t i o n a l   p r o g r a m s ,   a d d i t i o n a l   n e t w o r k   s e r v i c e s ,   o r   b o t h .   T h i s   d o c u m e n t   i s   p r i m a r i l y   a b o u t   e x t e n s i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13416"
  },
  {
    "question": "What is Configuration?",
    "answer": "C o n f i g u r a t i o n   f i l e s   a n d   c o m m a n d   a r g u m e n t s   a r e   d o c u m e n t e d   i n   t h e   R e f e r e n c e   s e c t i o n   o f   t h e   o n l i n e   d o c u m e n t a t i o n ,   w i t h   a   p a g e   f o r   e a c h   b i n a r y :   k u b e - a p i s e r v e r k u b e - c o n t r o l l e r - m a n a g e r k u b e - s c h e d u l e r k u b e l e t k u b e - p r o x y   C o m m a n d   a r g u m e n t s   a n d   c o n f i g u r a t i o n   f i l e s   m a y   n o t   a l w a y s   b e   c h a n g e a b l e   i n   a   h o s t e d   K u b e r n e t e s   s e r v i c e   o r   a   d i s t r i b u t i o n   w i t h   m a n a g e d   i n s t a l l a t i o n .   W h e n   t h e y   a r e   c h a n g e a b l e ,   t h e y   a r e   u s u a l l y   o n l y   c h a n g e a b l e   b y   t h e   c l u s t e r   o p e r a t o r .   A l s o ,   t h e y   a r e   s u b j e c t   t o   c h a n g e   i n   f u t u r e   K u b e r n e t e s   v e r s i o n s ,   a n d   s e t t i n g   t h e m   m a y   r e q u i r e   r e s t a r t i n g   p r o c e s s e s .   F o r   t h o s e   r e a s o n s ,   t h e y   s h o u l d   b e   u s e d   o n l y   w h e n   t h e r e   a r e   n o   o t h e r   o p t i o n s .   B u i l t - i n   p o l i c y   A P I s ,   s u c h   a s   R e s o u r c e Q u o t a ,   N e t w o r k P o l i c y   a n d   R o l e - b a s e d   A c c e s s   C o n t r o l   ( R B A C ) ,   a r e   b u i l t - i n   K u b e r n e t e s   A P I s   t h a t   p r o v i d e   d e c l a r a t i v e l y   c o n f i g u r e d   p o l i c y   s e t t i n g s .   A P I s   a r e   t y p i c a l l y   u s a b l e   e v e n   w i t h   h o s t e d   K u b e r n e t e s   s e r v i c e s   a n d   w i t h   m a n a g e d   K u b e r n e t e s   i n s t a l l a t i o n s .   T h e   b u i l t - i n   p o l i c y   A P I s   f o l l o w   t h e   s a m e   c o n v e n t i o n s   a s   o t h e r   K u b e r n e t e s   r e s o u r c e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13417"
  },
  {
    "question": "What is Extensions?",
    "answer": "E x t e n s i o n s   a r e   s o f t w a r e   c o m p o n e n t s   t h a t   e x t e n d   a n d   d e e p l y   i n t e g r a t e   w i t h   K u b e r n e t e s .   T h e y   a d a p t   i t   t o   s u p p o r t   n e w   t y p e s   a n d   n e w   k i n d s   o f   h a r d w a r e .   M a n y   c l u s t e r   a d m i n i s t r a t o r s   u s e   a   h o s t e d   o r   d i s t r i b u t i o n   i n s t a n c e   o f   K u b e r n e t e s .   T h e s e   c l u s t e r s   c o m e   w i t h   e x t e n s i o n s   p r e - i n s t a l l e d .   A s   a   r e s u l t ,   m o s t   K u b e r n e t e s   u s e r s   w i l l   n o t   n e e d   t o   i n s t a l l   e x t e n s i o n s   a n d   e v e n   f e w e r   u s e r s   w i l l   n e e d   t o   a u t h o r   n e w   o n e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13418"
  },
  {
    "question": "What is Extension patterns?",
    "answer": "K u b e r n e t e s   i s   d e s i g n e d   t o   b e   a u t o m a t e d   b y   w r i t i n g   c l i e n t   p r o g r a m s .   A n y   p r o g r a m   t h a t   r e a d s   a n d / o r   w r i t e s   t o   t h e   K u b e r n e t e s   A P I   c a n   p r o v i d e   u s e f u l   a u t o m a t i o n .   A u t o m a t i o n   c a n   r u n   o n   t h e   c l u s t e r   o r   o f f   i t .   B y   f o l l o w i n g   t h e   g u i d a n c e   i n   t h i s   d o c   y o u   c a n   w r i t e   h i g h l y   a v a i l a b l e   a n d   r o b u s t   a u t o m a t i o n .   A u t o m a t i o n   g e n e r a l l y   w o r k s   w i t h   a n y   K u b e r n e t e s   c l u s t e r ,   i n c l u d i n g   h o s t e d   c l u s t e r s   a n d   m a n a g e d   i n s t a l l a t i o n s .   T h e r e   i s   a   s p e c i f i c   p a t t e r n   f o r   w r i t i n g   c l i e n t   p r o g r a m s   t h a t   w o r k   w e l l   w i t h   K u b e r n e t e s   c a l l e d   t h e   c o n t r o l l e r   p a t t e r n .   C o n t r o l l e r s   t y p i c a l l y   r e a d   a n   o b j e c t ' s   . s p e c ,   p o s s i b l y   d o   t h i n g s ,   a n d   t h e n   u p d a t e   t h e   o b j e c t ' s   . s t a t u s .   A   c o n t r o l l e r   i s   a   c l i e n t   o f   t h e   K u b e r n e t e s   A P I .   W h e n   K u b e r n e t e s   i s   t h e   c l i e n t   a n d   c a l l s   o u t   t o   a   r e m o t e   s e r v i c e ,   K u b e r n e t e s   c a l l s   t h i s   a   w e b h o o k .   T h e   r e m o t e   s e r v i c e   i s   c a l l e d   a   w e b h o o k   b a c k e n d .   A s   w i t h   c u s t o m   c o n t r o l l e r s ,   w e b h o o k s   d o   a d d   a   p o i n t   o f   f a i l u r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13419"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   t h e   w e b h o o k   m o d e l ,   K u b e r n e t e s   m a k e s   a   n e t w o r k   r e q u e s t   t o   a   r e m o t e   s e r v i c e .   W i t h   t h e   a l t e r n a t i v e   b i n a r y   P l u g i n   m o d e l ,   K u b e r n e t e s   e x e c u t e s   a   b i n a r y   ( p r o g r a m ) .   B i n a r y   p l u g i n s   a r e   u s e d   b y   t h e   k u b e l e t   ( f o r   e x a m p l e ,   C S I   s t o r a g e   p l u g i n s   a n d   C N I   n e t w o r k   p l u g i n s ) ,   a n d   b y   k u b e c t l   ( s e e   E x t e n d   k u b e c t l   w i t h   p l u g i n s ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13420"
  },
  {
    "question": "What is Extension points?",
    "answer": "T h i s   d i a g r a m   s h o w s   t h e   e x t e n s i o n   p o i n t s   i n   a   K u b e r n e t e s   c l u s t e r   a n d   t h e   c l i e n t s   t h a t   a c c e s s   i t .   K u b e r n e t e s   e x t e n s i o n   p o i n t s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13421"
  },
  {
    "question": "What is Key to the figure?",
    "answer": "U s e r s   o f t e n   i n t e r a c t   w i t h   t h e   K u b e r n e t e s   A P I   u s i n g   k u b e c t l .   P l u g i n s   c u s t o m i s e   t h e   b e h a v i o u r   o f   c l i e n t s .   T h e r e   a r e   g e n e r i c   e x t e n s i o n s   t h a t   c a n   a p p l y   t o   d i f f e r e n t   c l i e n t s ,   a s   w e l l   a s   s p e c i f i c   w a y s   t o   e x t e n d   k u b e c t l . T h e   A P I   s e r v e r   h a n d l e s   a l l   r e q u e s t s .   S e v e r a l   t y p e s   o f   e x t e n s i o n   p o i n t s   i n   t h e   A P I   s e r v e r   a l l o w   a u t h e n t i c a t i n g   r e q u e s t s ,   o r   b l o c k i n g   t h e m   b a s e d   o n   t h e i r   c o n t e n t ,   e d i t i n g   c o n t e n t ,   a n d   h a n d l i n g   d e l e t i o n .   T h e s e   a r e   d e s c r i b e d   i n   t h e   A P I   A c c e s s   E x t e n s i o n s   s e c t i o n . T h e   A P I   s e r v e r   s e r v e s   v a r i o u s   k i n d s   o f   r e s o u r c e s .   B u i l t - i n   r e s o u r c e   k i n d s ,   s u c h   a s   p o d s ,   a r e   d e f i n e d   b y   t h e   K u b e r n e t e s   p r o j e c t   a n d   c a n ' t   b e   c h a n g e d .   R e a d   A P I   e x t e n s i o n s   t o   l e a r n   a b o u t   e x t e n d i n g   t h e   K u b e r n e t e s   A P I . T h e   K u b e r n e t e s   s c h e d u l e r   d e c i d e s   w h i c h   n o d e s   t o   p l a c e   p o d s   o n .   T h e r e   a r e   s e v e r a l   w a y s   t o   e x t e n d   s c h e d u l i n g ,   w h i c h   a r e   d e s c r i b e d   i n   t h e   S c h e d u l i n g   e x t e n s i o n s   s e c t i o n . M u c h   o f   t h e   b e h a v i o r   o f   K u b e r n e t e s   i s   i m p l e m e n t e d   b y   p r o g r a m s   c a l l e d   c o n t r o l l e r s ,   t h a t   a r e   c l i e n t s   o f   t h e   A P I   s e r v e r .   C o n t r o l l e r s   a r e   o f t e n   u s e d   i n   c o n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13422"
  },
  {
    "question": "What is Extension point choice flowchart?",
    "answer": "I f   y o u   a r e   u n s u r e   w h e r e   t o   s t a r t ,   t h i s   f l o w c h a r t   c a n   h e l p .   N o t e   t h a t   s o m e   s o l u t i o n s   m a y   i n v o l v e   s e v e r a l   t y p e s   o f   e x t e n s i o n s .   F l o w c h a r t   g u i d e   t o   s e l e c t   a n   e x t e n s i o n   a p p r o a c h",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13423"
  },
  {
    "question": "What is Client extensions?",
    "answer": "P l u g i n s   f o r   k u b e c t l   a r e   s e p a r a t e   b i n a r i e s   t h a t   a d d   o r   r e p l a c e   t h e   b e h a v i o r   o f   s p e c i f i c   s u b c o m m a n d s .   T h e   k u b e c t l   t o o l   c a n   a l s o   i n t e g r a t e   w i t h   c r e d e n t i a l   p l u g i n s   T h e s e   e x t e n s i o n s   o n l y   a f f e c t   a   i n d i v i d u a l   u s e r ' s   l o c a l   e n v i r o n m e n t ,   a n d   s o   c a n n o t   e n f o r c e   s i t e - w i d e   p o l i c i e s .   I f   y o u   w a n t   t o   e x t e n d   t h e   k u b e c t l   t o o l ,   r e a d   E x t e n d   k u b e c t l   w i t h   p l u g i n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13424"
  },
  {
    "question": "What is Custom resource definitions?",
    "answer": "C o n s i d e r   a d d i n g   a   C u s t o m   R e s o u r c e   t o   K u b e r n e t e s   i f   y o u   w a n t   t o   d e f i n e   n e w   c o n t r o l l e r s ,   a p p l i c a t i o n   c o n f i g u r a t i o n   o b j e c t s   o r   o t h e r   d e c l a r a t i v e   A P I s ,   a n d   t o   m a n a g e   t h e m   u s i n g   K u b e r n e t e s   t o o l s ,   s u c h   a s   k u b e c t l .   F o r   m o r e   a b o u t   C u s t o m   R e s o u r c e s ,   s e e   t h e   C u s t o m   R e s o u r c e s   c o n c e p t   g u i d e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13425"
  },
  {
    "question": "What is API aggregation layer?",
    "answer": "Y o u   c a n   u s e   K u b e r n e t e s '   A P I   A g g r e g a t i o n   L a y e r   t o   i n t e g r a t e   t h e   K u b e r n e t e s   A P I   w i t h   a d d i t i o n a l   s e r v i c e s   s u c h   a s   f o r   m e t r i c s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13426"
  },
  {
    "question": "What is Combining new APIs with automation?",
    "answer": "A   c o m b i n a t i o n   o f   a   c u s t o m   r e s o u r c e   A P I   a n d   a   c o n t r o l   l o o p   i s   c a l l e d   t h e   c o n t r o l l e r s   p a t t e r n .   I f   y o u r   c o n t r o l l e r   t a k e s   t h e   p l a c e   o f   a   h u m a n   o p e r a t o r   d e p l o y i n g   i n f r a s t r u c t u r e   b a s e d   o n   a   d e s i r e d   s t a t e ,   t h e n   t h e   c o n t r o l l e r   m a y   a l s o   b e   f o l l o w i n g   t h e   o p e r a t o r   p a t t e r n .   T h e   O p e r a t o r   p a t t e r n   i s   u s e d   t o   m a n a g e   s p e c i f i c   a p p l i c a t i o n s ;   u s u a l l y ,   t h e s e   a r e   a p p l i c a t i o n s   t h a t   m a i n t a i n   s t a t e   a n d   r e q u i r e   c a r e   i n   h o w   t h e y   a r e   m a n a g e d .   Y o u   c a n   a l s o   m a k e   y o u r   o w n   c u s t o m   A P I s   a n d   c o n t r o l   l o o p s   t h a t   m a n a g e   o t h e r   r e s o u r c e s ,   s u c h   a s   s t o r a g e ,   o r   t o   d e f i n e   p o l i c i e s   ( s u c h   a s   a n   a c c e s s   c o n t r o l   r e s t r i c t i o n ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13427"
  },
  {
    "question": "What is Changing built-in resources?",
    "answer": "W h e n   y o u   e x t e n d   t h e   K u b e r n e t e s   A P I   b y   a d d i n g   c u s t o m   r e s o u r c e s ,   t h e   a d d e d   r e s o u r c e s   a l w a y s   f a l l   i n t o   a   n e w   A P I   G r o u p s .   Y o u   c a n n o t   r e p l a c e   o r   c h a n g e   e x i s t i n g   A P I   g r o u p s .   A d d i n g   a n   A P I   d o e s   n o t   d i r e c t l y   l e t   y o u   a f f e c t   t h e   b e h a v i o r   o f   e x i s t i n g   A P I s   ( s u c h   a s   P o d s ) ,   w h e r e a s   A P I   A c c e s s   E x t e n s i o n s   d o .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13428"
  },
  {
    "question": "What is API access extensions?",
    "answer": "W h e n   a   r e q u e s t   r e a c h e s   t h e   K u b e r n e t e s   A P I   S e r v e r ,   i t   i s   f i r s t   a u t h e n t i c a t e d ,   t h e n   a u t h o r i z e d ,   a n d   i s   t h e n   s u b j e c t   t o   v a r i o u s   t y p e s   o f   a d m i s s i o n   c o n t r o l   ( s o m e   r e q u e s t s   a r e   i n   f a c t   n o t   a u t h e n t i c a t e d ,   a n d   g e t   s p e c i a l   t r e a t m e n t ) .   S e e   C o n t r o l l i n g   A c c e s s   t o   t h e   K u b e r n e t e s   A P I   f o r   m o r e   o n   t h i s   f l o w .   E a c h   o f   t h e   s t e p s   i n   t h e   K u b e r n e t e s   a u t h e n t i c a t i o n   /   a u t h o r i z a t i o n   f l o w   o f f e r s   e x t e n s i o n   p o i n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13429"
  },
  {
    "question": "What is Authentication?",
    "answer": "A u t h e n t i c a t i o n   m a p s   h e a d e r s   o r   c e r t i f i c a t e s   i n   a l l   r e q u e s t s   t o   a   u s e r n a m e   f o r   t h e   c l i e n t   m a k i n g   t h e   r e q u e s t .   K u b e r n e t e s   h a s   s e v e r a l   b u i l t - i n   a u t h e n t i c a t i o n   m e t h o d s   t h a t   i t   s u p p o r t s .   I t   c a n   a l s o   s i t   b e h i n d   a n   a u t h e n t i c a t i n g   p r o x y ,   a n d   i t   c a n   s e n d   a   t o k e n   f r o m   a n   A u t h o r i z a t i o n :   h e a d e r   t o   a   r e m o t e   s e r v i c e   f o r   v e r i f i c a t i o n   ( a n   a u t h e n t i c a t i o n   w e b h o o k )   i f   t h o s e   d o n ' t   m e e t   y o u r   n e e d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13430"
  },
  {
    "question": "What is Authorization?",
    "answer": "A u t h o r i z a t i o n   d e t e r m i n e s   w h e t h e r   s p e c i f i c   u s e r s   c a n   r e a d ,   w r i t e ,   a n d   d o   o t h e r   o p e r a t i o n s   o n   A P I   r e s o u r c e s .   I t   w o r k s   a t   t h e   l e v e l   o f   w h o l e   r e s o u r c e s   - -   i t   d o e s n ' t   d i s c r i m i n a t e   b a s e d   o n   a r b i t r a r y   o b j e c t   f i e l d s .   I f   t h e   b u i l t - i n   a u t h o r i z a t i o n   o p t i o n s   d o n ' t   m e e t   y o u r   n e e d s ,   a n   a u t h o r i z a t i o n   w e b h o o k   a l l o w s   c a l l i n g   o u t   t o   c u s t o m   c o d e   t h a t   m a k e s   a n   a u t h o r i z a t i o n   d e c i s i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13431"
  },
  {
    "question": "What is Dynamic admission control?",
    "answer": "A f t e r   a   r e q u e s t   i s   a u t h o r i z e d ,   i f   i t   i s   a   w r i t e   o p e r a t i o n ,   i t   a l s o   g o e s   t h r o u g h   A d m i s s i o n   C o n t r o l   s t e p s .   I n   a d d i t i o n   t o   t h e   b u i l t - i n   s t e p s ,   t h e r e   a r e   s e v e r a l   e x t e n s i o n s :   T h e   I m a g e   P o l i c y   w e b h o o k   r e s t r i c t s   w h a t   i m a g e s   c a n   b e   r u n   i n   c o n t a i n e r s . T o   m a k e   a r b i t r a r y   a d m i s s i o n   c o n t r o l   d e c i s i o n s ,   a   g e n e r a l   A d m i s s i o n   w e b h o o k   c a n   b e   u s e d .   A d m i s s i o n   w e b h o o k s   c a n   r e j e c t   c r e a t i o n s   o r   u p d a t e s .   S o m e   a d m i s s i o n   w e b h o o k s   m o d i f y   t h e   i n c o m i n g   r e q u e s t   d a t a   b e f o r e   i t   i s   h a n d l e d   f u r t h e r   b y   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13432"
  },
  {
    "question": "What is Device plugins?",
    "answer": "D e v i c e   p l u g i n s   a l l o w   a   n o d e   t o   d i s c o v e r   n e w   N o d e   r e s o u r c e s   ( i n   a d d i t i o n   t o   t h e   b u i l t i n   o n e s   l i k e   c p u   a n d   m e m o r y )   v i a   a   D e v i c e   P l u g i n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13433"
  },
  {
    "question": "What is Storage plugins?",
    "answer": "C o n t a i n e r   S t o r a g e   I n t e r f a c e   ( C S I )   p l u g i n s   p r o v i d e   a   w a y   t o   e x t e n d   K u b e r n e t e s   w i t h   s u p p o r t s   f o r   n e w   k i n d s   o f   v o l u m e s .   T h e   v o l u m e s   c a n   b e   b a c k e d   b y   d u r a b l e   e x t e r n a l   s t o r a g e ,   o r   p r o v i d e   e p h e m e r a l   s t o r a g e ,   o r   t h e y   m i g h t   o f f e r   a   r e a d - o n l y   i n t e r f a c e   t o   i n f o r m a t i o n   u s i n g   a   f i l e s y s t e m   p a r a d i g m .   K u b e r n e t e s   a l s o   i n c l u d e s   s u p p o r t   f o r   F l e x V o l u m e   p l u g i n s ,   w h i c h   a r e   d e p r e c a t e d   s i n c e   K u b e r n e t e s   v 1 . 2 3   ( i n   f a v o u r   o f   C S I ) .   F l e x V o l u m e   p l u g i n s   a l l o w   u s e r s   t o   m o u n t   v o l u m e   t y p e s   t h a t   a r e n ' t   n a t i v e l y   s u p p o r t e d   b y   K u b e r n e t e s .   W h e n   y o u   r u n   a   P o d   t h a t   r e l i e s   o n   F l e x V o l u m e   s t o r a g e ,   t h e   k u b e l e t   c a l l s   a   b i n a r y   p l u g i n   t o   m o u n t   t h e   v o l u m e .   T h e   a r c h i v e d   F l e x V o l u m e   d e s i g n   p r o p o s a l   h a s   m o r e   d e t a i l   o n   t h i s   a p p r o a c h .   T h e   K u b e r n e t e s   V o l u m e   P l u g i n   F A Q   f o r   S t o r a g e   V e n d o r s   i n c l u d e s   g e n e r a l   i n f o r m a t i o n   o n   s t o r a g e   p l u g i n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13434"
  },
  {
    "question": "What is Network plugins?",
    "answer": "Y o u r   K u b e r n e t e s   c l u s t e r   n e e d s   a   n e t w o r k   p l u g i n   i n   o r d e r   t o   h a v e   a   w o r k i n g   P o d   n e t w o r k   a n d   t o   s u p p o r t   o t h e r   a s p e c t s   o f   t h e   K u b e r n e t e s   n e t w o r k   m o d e l .   N e t w o r k   P l u g i n s   a l l o w   K u b e r n e t e s   t o   w o r k   w i t h   d i f f e r e n t   n e t w o r k i n g   t o p o l o g i e s   a n d   t e c h n o l o g i e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13435"
  },
  {
    "question": "What is Kubelet image credential provider plugins?",
    "answer": "F E A T U R E   S T A T E :   K u b e r n e t e s   v 1 . 2 6   [ s t a b l e ] K u b e l e t   i m a g e   c r e d e n t i a l   p r o v i d e r s   a r e   p l u g i n s   f o r   t h e   k u b e l e t   t o   d y n a m i c a l l y   r e t r i e v e   i m a g e   r e g i s t r y   c r e d e n t i a l s .   T h e   c r e d e n t i a l s   a r e   t h e n   u s e d   w h e n   p u l l i n g   i m a g e s   f r o m   c o n t a i n e r   i m a g e   r e g i s t r i e s   t h a t   m a t c h   t h e   c o n f i g u r a t i o n .   T h e   p l u g i n s   c a n   c o m m u n i c a t e   w i t h   e x t e r n a l   s e r v i c e s   o r   u s e   l o c a l   f i l e s   t o   o b t a i n   c r e d e n t i a l s .   T h i s   w a y ,   t h e   k u b e l e t   d o e s   n o t   n e e d   t o   h a v e   s t a t i c   c r e d e n t i a l s   f o r   e a c h   r e g i s t r y ,   a n d   c a n   s u p p o r t   v a r i o u s   a u t h e n t i c a t i o n   m e t h o d s   a n d   p r o t o c o l s .   F o r   p l u g i n   c o n f i g u r a t i o n   d e t a i l s ,   s e e   C o n f i g u r e   a   k u b e l e t   i m a g e   c r e d e n t i a l   p r o v i d e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13436"
  },
  {
    "question": "What is Scheduling extensions?",
    "answer": "T h e   s c h e d u l e r   i s   a   s p e c i a l   t y p e   o f   c o n t r o l l e r   t h a t   w a t c h e s   p o d s ,   a n d   a s s i g n s   p o d s   t o   n o d e s .   T h e   d e f a u l t   s c h e d u l e r   c a n   b e   r e p l a c e d   e n t i r e l y ,   w h i l e   c o n t i n u i n g   t o   u s e   o t h e r   K u b e r n e t e s   c o m p o n e n t s ,   o r   m u l t i p l e   s c h e d u l e r s   c a n   r u n   a t   t h e   s a m e   t i m e .   T h i s   i s   a   s i g n i f i c a n t   u n d e r t a k i n g ,   a n d   a l m o s t   a l l   K u b e r n e t e s   u s e r s   f i n d   t h e y   d o   n o t   n e e d   t o   m o d i f y   t h e   s c h e d u l e r .   Y o u   c a n   c o n t r o l   w h i c h   s c h e d u l i n g   p l u g i n s   a r e   a c t i v e ,   o r   a s s o c i a t e   s e t s   o f   p l u g i n s   w i t h   d i f f e r e n t   n a m e d   s c h e d u l e r   p r o f i l e s .   Y o u   c a n   a l s o   w r i t e   y o u r   o w n   p l u g i n   t h a t   i n t e g r a t e s   w i t h   o n e   o r   m o r e   o f   t h e   k u b e - s c h e d u l e r ' s   e x t e n s i o n   p o i n t s .   F i n a l l y ,   t h e   b u i l t   i n   k u b e - s c h e d u l e r   c o m p o n e n t   s u p p o r t s   a   w e b h o o k   t h a t   p e r m i t s   a   r e m o t e   H T T P   b a c k e n d   ( s c h e d u l e r   e x t e n s i o n )   t o   f i l t e r   a n d   /   o r   p r i o r i t i z e   t h e   n o d e s   t h a t   t h e   k u b e - s c h e d u l e r   c h o o s e s   f o r   a   p o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13437"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   i n f r a s t r u c t u r e   e x t e n s i o n s D e v i c e   P l u g i n s N e t w o r k   P l u g i n s C S I   s t o r a g e   p l u g i n s L e a r n   a b o u t   k u b e c t l   p l u g i n s L e a r n   m o r e   a b o u t   C u s t o m   R e s o u r c e s L e a r n   m o r e   a b o u t   E x t e n s i o n   A P I   S e r v e r s L e a r n   a b o u t   D y n a m i c   a d m i s s i o n   c o n t r o l L e a r n   a b o u t   t h e   O p e r a t o r   p a t t e r n   D e v i c e   P l u g i n s N e t w o r k   P l u g i n s C S I   s t o r a g e   p l u g i n s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13438"
  },
  {
    "question": "What is 13.1 - Compute, Storage, and Networking Extensions?",
    "answer": "T h i s   s e c t i o n   c o v e r s   e x t e n s i o n s   t o   y o u r   c l u s t e r   t h a t   d o   n o t   c o m e   a s   p a r t   a s   K u b e r n e t e s   i t s e l f .   Y o u   c a n   u s e   t h e s e   e x t e n s i o n s   t o   e n h a n c e   t h e   n o d e s   i n   y o u r   c l u s t e r ,   o r   t o   p r o v i d e   t h e   n e t w o r k   f a b r i c   t h a t   l i n k s   P o d s   t o g e t h e r .   C S I   a n d   F l e x V o l u m e   s t o r a g e   p l u g i n s C o n t a i n e r   S t o r a g e   I n t e r f a c e   ( C S I )   p l u g i n s   p r o v i d e   a   w a y   t o   e x t e n d   K u b e r n e t e s   w i t h   s u p p o r t s   f o r   n e w   k i n d s   o f   v o l u m e s .   T h e   v o l u m e s   c a n   b e   b a c k e d   b y   d u r a b l e   e x t e r n a l   s t o r a g e ,   o r   p r o v i d e   e p h e m e r a l   s t o r a g e ,   o r   t h e y   m i g h t   o f f e r   a   r e a d - o n l y   i n t e r f a c e   t o   i n f o r m a t i o n   u s i n g   a   f i l e s y s t e m   p a r a d i g m . K u b e r n e t e s   a l s o   i n c l u d e s   s u p p o r t   f o r   F l e x V o l u m e   p l u g i n s ,   w h i c h   a r e   d e p r e c a t e d   s i n c e   K u b e r n e t e s   v 1 . 2 3   ( i n   f a v o u r   o f   C S I ) . F l e x V o l u m e   p l u g i n s   a l l o w   u s e r s   t o   m o u n t   v o l u m e   t y p e s   t h a t   a r e n ' t   n a t i v e l y   s u p p o r t e d   b y   K u b e r n e t e s .   W h e n   y o u   r u n   a   P o d   t h a t   r e l i e s   o n   F l e x V o l u m e   s t o r a g e ,   t h e   k u b e l e t   c a l l s   a   b i n a r y   p l u g i n   t o   m o u n t   t h e   v o l u m e .   T h e   a r c h i v e d   F l e x V o l u m e   d e s i g n   p r o p o s a l   h a s   m o r e   d e t a i l   o n   t h i s   a p p r o a c h . T h e   K u b e r n e t e s   V o l u m e   P l u g i n   F A Q   f o r   S t o r a g e   V e n d o r s   i n c l u ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13439"
  },
  {
    "question": "What is 13.1.1 - Network Plugins?",
    "answer": "K u b e r n e t e s   ( v e r s i o n   1 . 3   t h r o u g h   t o   t h e   l a t e s t   1 . 3 4 ,   a n d   l i k e l y   o n w a r d s )   l e t s   y o u   u s e   C o n t a i n e r   N e t w o r k   I n t e r f a c e   ( C N I )   p l u g i n s   f o r   c l u s t e r   n e t w o r k i n g .   Y o u   m u s t   u s e   a   C N I   p l u g i n   t h a t   i s   c o m p a t i b l e   w i t h   y o u r   c l u s t e r   a n d   t h a t   s u i t s   y o u r   n e e d s .   D i f f e r e n t   p l u g i n s   a r e   a v a i l a b l e   ( b o t h   o p e n -   a n d   c l o s e d -   s o u r c e )   i n   t h e   w i d e r   K u b e r n e t e s   e c o s y s t e m .   A   C N I   p l u g i n   i s   r e q u i r e d   t o   i m p l e m e n t   t h e   K u b e r n e t e s   n e t w o r k   m o d e l .   Y o u   m u s t   u s e   a   C N I   p l u g i n   t h a t   i s   c o m p a t i b l e   w i t h   t h e   v 0 . 4 . 0   o r   l a t e r   r e l e a s e s   o f   t h e   C N I   s p e c i f i c a t i o n .   T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   u s i n g   a   p l u g i n   t h a t   i s   c o m p a t i b l e   w i t h   t h e   v 1 . 0 . 0   C N I   s p e c i f i c a t i o n   ( p l u g i n s   c a n   b e   c o m p a t i b l e   w i t h   m u l t i p l e   s p e c   v e r s i o n s ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13440"
  },
  {
    "question": "What is Installation?",
    "answer": "A   C o n t a i n e r   R u n t i m e ,   i n   t h e   n e t w o r k i n g   c o n t e x t ,   i s   a   d a e m o n   o n   a   n o d e   c o n f i g u r e d   t o   p r o v i d e   C R I   S e r v i c e s   f o r   k u b e l e t .   I n   p a r t i c u l a r ,   t h e   C o n t a i n e r   R u n t i m e   m u s t   b e   c o n f i g u r e d   t o   l o a d   t h e   C N I   p l u g i n s   r e q u i r e d   t o   i m p l e m e n t   t h e   K u b e r n e t e s   n e t w o r k   m o d e l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13441"
  },
  {
    "question": "What is Note:?",
    "answer": "P r i o r   t o   K u b e r n e t e s   1 . 2 4 ,   t h e   C N I   p l u g i n s   c o u l d   a l s o   b e   m a n a g e d   b y   t h e   k u b e l e t   u s i n g   t h e   c n i - b i n - d i r   a n d   n e t w o r k - p l u g i n   c o m m a n d - l i n e   p a r a m e t e r s .   T h e s e   c o m m a n d - l i n e   p a r a m e t e r s   w e r e   r e m o v e d   i n   K u b e r n e t e s   1 . 2 4 ,   w i t h   m a n a g e m e n t   o f   t h e   C N I   n o   l o n g e r   i n   s c o p e   f o r   k u b e l e t .   S e e   T r o u b l e s h o o t i n g   C N I   p l u g i n - r e l a t e d   e r r o r s   i f   y o u   a r e   f a c i n g   i s s u e s   f o l l o w i n g   t h e   r e m o v a l   o f   d o c k e r s h i m .   F o r   s p e c i f i c   i n f o r m a t i o n   a b o u t   h o w   a   C o n t a i n e r   R u n t i m e   m a n a g e s   t h e   C N I   p l u g i n s ,   s e e   t h e   d o c u m e n t a t i o n   f o r   t h a t   C o n t a i n e r   R u n t i m e ,   f o r   e x a m p l e :   c o n t a i n e r d C R I - O   F o r   s p e c i f i c   i n f o r m a t i o n   a b o u t   h o w   t o   i n s t a l l   a n d   m a n a g e   a   C N I   p l u g i n ,   s e e   t h e   d o c u m e n t a t i o n   f o r   t h a t   p l u g i n   o r   n e t w o r k i n g   p r o v i d e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13442"
  },
  {
    "question": "What is Loopback CNI?",
    "answer": "I n   a d d i t i o n   t o   t h e   C N I   p l u g i n   i n s t a l l e d   o n   t h e   n o d e s   f o r   i m p l e m e n t i n g   t h e   K u b e r n e t e s   n e t w o r k   m o d e l ,   K u b e r n e t e s   a l s o   r e q u i r e s   t h e   c o n t a i n e r   r u n t i m e s   t o   p r o v i d e   a   l o o p b a c k   i n t e r f a c e   l o ,   w h i c h   i s   u s e d   f o r   e a c h   s a n d b o x   ( p o d   s a n d b o x e s ,   v m   s a n d b o x e s ,   . . . ) .   I m p l e m e n t i n g   t h e   l o o p b a c k   i n t e r f a c e   c a n   b e   a c c o m p l i s h e d   b y   r e - u s i n g   t h e   C N I   l o o p b a c k   p l u g i n .   o r   b y   d e v e l o p i n g   y o u r   o w n   c o d e   t o   a c h i e v e   t h i s   ( s e e   t h i s   e x a m p l e   f r o m   C R I - O ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13443"
  },
  {
    "question": "What is Support hostPort?",
    "answer": "T h e   C N I   n e t w o r k i n g   p l u g i n   s u p p o r t s   h o s t P o r t .   Y o u   c a n   u s e   t h e   o f f i c i a l   p o r t m a p   p l u g i n   o f f e r e d   b y   t h e   C N I   p l u g i n   t e a m   o r   u s e   y o u r   o w n   p l u g i n   w i t h   p o r t M a p p i n g   f u n c t i o n a l i t y .   I f   y o u   w a n t   t o   e n a b l e   h o s t P o r t   s u p p o r t ,   y o u   m u s t   s p e c i f y   p o r t M a p p i n g s   c a p a b i l i t y   i n   y o u r   c n i - c o n f - d i r .   F o r   e x a m p l e :   {   \" n a m e \" :   \" k 8 s - p o d - n e t w o r k \" ,   \" c n i V e r s i o n \" :   \" 0 . 4 . 0 \" ,   \" p l u g i n s \" :   [   {   \" t y p e \" :   \" c a l i c o \" ,   \" l o g _ l e v e l \" :   \" i n f o \" ,   \" d a t a s t o r e _ t y p e \" :   \" k u b e r n e t e s \" ,   \" n o d e n a m e \" :   \" 1 2 7 . 0 . 0 . 1 \" ,   \" i p a m \" :   {   \" t y p e \" :   \" h o s t - l o c a l \" ,   \" s u b n e t \" :   \" u s e P o d C i d r \"   } ,   \" p o l i c y \" :   {   \" t y p e \" :   \" k 8 s \"   } ,   \" k u b e r n e t e s \" :   {   \" k u b e c o n f i g \" :   \" / e t c / c n i / n e t . d / c a l i c o - k u b e c o n f i g \"   }   } ,   {   \" t y p e \" :   \" p o r t m a p \" ,   \" c a p a b i l i t i e s \" :   { \" p o r t M a p p i n g s \" :   t r u e } ,   \" e x t e r n a l S e t M a r k C h a i n \" :   \" K U B E - M A R K - M A S Q \"   }   ]   }",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13444"
  },
  {
    "question": "What is Support traffic shaping?",
    "answer": "E x p e r i m e n t a l   F e a t u r e   T h e   C N I   n e t w o r k i n g   p l u g i n   a l s o   s u p p o r t s   p o d   i n g r e s s   a n d   e g r e s s   t r a f f i c   s h a p i n g .   Y o u   c a n   u s e   t h e   o f f i c i a l   b a n d w i d t h   p l u g i n   o f f e r e d   b y   t h e   C N I   p l u g i n   t e a m   o r   u s e   y o u r   o w n   p l u g i n   w i t h   b a n d w i d t h   c o n t r o l   f u n c t i o n a l i t y .   I f   y o u   w a n t   t o   e n a b l e   t r a f f i c   s h a p i n g   s u p p o r t ,   y o u   m u s t   a d d   t h e   b a n d w i d t h   p l u g i n   t o   y o u r   C N I   c o n f i g u r a t i o n   f i l e   ( d e f a u l t   / e t c / c n i / n e t . d )   a n d   e n s u r e   t h a t   t h e   b i n a r y   i s   i n c l u d e d   i n   y o u r   C N I   b i n   d i r   ( d e f a u l t   / o p t / c n i / b i n ) .   {   \" n a m e \" :   \" k 8 s - p o d - n e t w o r k \" ,   \" c n i V e r s i o n \" :   \" 0 . 4 . 0 \" ,   \" p l u g i n s \" :   [   {   \" t y p e \" :   \" c a l i c o \" ,   \" l o g _ l e v e l \" :   \" i n f o \" ,   \" d a t a s t o r e _ t y p e \" :   \" k u b e r n e t e s \" ,   \" n o d e n a m e \" :   \" 1 2 7 . 0 . 0 . 1 \" ,   \" i p a m \" :   {   \" t y p e \" :   \" h o s t - l o c a l \" ,   \" s u b n e t \" :   \" u s e P o d C i d r \"   } ,   \" p o l i c y \" :   {   \" t y p e \" :   \" k 8 s \"   } ,   \" k u b e r n e t e s \" :   {   \" k u b e c o n f i g \" :   \" / e t c / c n i / n e t . d / c a l i c o - k u b e c o n f i g \"   }   } ,   {   \" t y p e \" :   \" b a n d w i d t h \" ,   \" c a p a b i l i t i e s \" :   { \" b a n d w i d t h \" :   t r u e }   }   ]   }   N o w   y o u   c a n   a d d   t h e   k u b e r n e t e s . i o / i n g r e s s - b a n d w i d t h   a n d   k u b e r n e t e s . i o / e g r e s s - b a n d w i d t h   a n n o t a t i o n s   t o   y o u r   P o d .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13445"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   C l u s t e r   N e t w o r k i n g L e a r n   m o r e   a b o u t   N e t w o r k   P o l i c i e s L e a r n   a b o u t   t h e   T r o u b l e s h o o t i n g   C N I   p l u g i n - r e l a t e d   e r r o r s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13446"
  },
  {
    "question": "What is 13.1.2 - Device Plugins?",
    "answer": "K u b e r n e t e s   p r o v i d e s   a   d e v i c e   p l u g i n   f r a m e w o r k   t h a t   y o u   c a n   u s e   t o   a d v e r t i s e   s y s t e m   h a r d w a r e   r e s o u r c e s   t o   t h e   K u b e l e t .   I n s t e a d   o f   c u s t o m i z i n g   t h e   c o d e   f o r   K u b e r n e t e s   i t s e l f ,   v e n d o r s   c a n   i m p l e m e n t   a   d e v i c e   p l u g i n   t h a t   y o u   d e p l o y   e i t h e r   m a n u a l l y   o r   a s   a   D a e m o n S e t .   T h e   t a r g e t e d   d e v i c e s   i n c l u d e   G P U s ,   h i g h - p e r f o r m a n c e   N I C s ,   F P G A s ,   I n f i n i B a n d   a d a p t e r s ,   a n d   o t h e r   s i m i l a r   c o m p u t i n g   r e s o u r c e s   t h a t   m a y   r e q u i r e   v e n d o r   s p e c i f i c   i n i t i a l i z a t i o n   a n d   s e t u p .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13447"
  },
  {
    "question": "What is Device plugin registration?",
    "answer": "T h e   k u b e l e t   e x p o r t s   a   R e g i s t r a t i o n   g R P C   s e r v i c e :   s e r v i c e   R e g i s t r a t i o n   {   r p c   R e g i s t e r ( R e g i s t e r R e q u e s t )   r e t u r n s   ( E m p t y )   { }   }   A   d e v i c e   p l u g i n   c a n   r e g i s t e r   i t s e l f   w i t h   t h e   k u b e l e t   t h r o u g h   t h i s   g R P C   s e r v i c e .   D u r i n g   t h e   r e g i s t r a t i o n ,   t h e   d e v i c e   p l u g i n   n e e d s   t o   s e n d :   T h e   n a m e   o f   i t s   U n i x   s o c k e t . T h e   D e v i c e   P l u g i n   A P I   v e r s i o n   a g a i n s t   w h i c h   i t   w a s   b u i l t . T h e   R e s o u r c e N a m e   i t   w a n t s   t o   a d v e r t i s e .   H e r e   R e s o u r c e N a m e   n e e d s   t o   f o l l o w   t h e   e x t e n d e d   r e s o u r c e   n a m i n g   s c h e m e   a s   v e n d o r - d o m a i n / r e s o u r c e t y p e .   ( F o r   e x a m p l e ,   a n   N V I D I A   G P U   i s   a d v e r t i s e d   a s   n v i d i a . c o m / g p u . )   F o l l o w i n g   a   s u c c e s s f u l   r e g i s t r a t i o n ,   t h e   d e v i c e   p l u g i n   s e n d s   t h e   k u b e l e t   t h e   l i s t   o f   d e v i c e s   i t   m a n a g e s ,   a n d   t h e   k u b e l e t   i s   t h e n   i n   c h a r g e   o f   a d v e r t i s i n g   t h o s e   r e s o u r c e s   t o   t h e   A P I   s e r v e r   a s   p a r t   o f   t h e   k u b e l e t   n o d e   s t a t u s   u p d a t e .   F o r   e x a m p l e ,   a f t e r   a   d e v i c e   p l u g i n   r e g i s t e r s   h a r d w a r e - v e n d o r . e x a m p l e / f o o   w i t h   t h e   k u b e l e t   a n d   r e p o r t s   t w o   h e a l t h y   d e v i c e s   o n   a   n o d e ,   t h e   n o d e   s t a t u s   i s   u p d a t e d   t o   a d v e r t i s e   t h a t   t h e   n o d e   h a s   2   \" F o o \"   d e v i c e s   i n s t a l l e d   a n d ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13448"
  },
  {
    "question": "What is Example?",
    "answer": "S u p p o s e   a   K u b e r n e t e s   c l u s t e r   i s   r u n n i n g   a   d e v i c e   p l u g i n   t h a t   a d v e r t i s e s   r e s o u r c e   h a r d w a r e - v e n d o r . e x a m p l e / f o o   o n   c e r t a i n   n o d e s .   H e r e   i s   a n   e x a m p l e   o f   a   p o d   r e q u e s t i n g   t h i s   r e s o u r c e   t o   r u n   a   d e m o   w o r k l o a d :   - - -   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d e m o - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   d e m o - c o n t a i n e r - 1   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 8   r e s o u r c e s :   l i m i t s :   h a r d w a r e - v e n d o r . e x a m p l e / f o o :   2   #   #   T h i s   P o d   n e e d s   2   o f   t h e   h a r d w a r e - v e n d o r . e x a m p l e / f o o   d e v i c e s   #   a n d   c a n   o n l y   s c h e d u l e   o n t o   a   N o d e   t h a t ' s   a b l e   t o   s a t i s f y   #   t h a t   n e e d .   #   #   I f   t h e   N o d e   h a s   m o r e   t h a n   2   o f   t h o s e   d e v i c e s   a v a i l a b l e ,   t h e   #   r e m a i n d e r   w o u l d   b e   a v a i l a b l e   f o r   o t h e r   P o d s   t o   u s e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13449"
  },
  {
    "question": "What is Device plugin implementation?",
    "answer": "T h e   g e n e r a l   w o r k f l o w   o f   a   d e v i c e   p l u g i n   i n c l u d e s   t h e   f o l l o w i n g   s t e p s :   I n i t i a l i z a t i o n .   D u r i n g   t h i s   p h a s e ,   t h e   d e v i c e   p l u g i n   p e r f o r m s   v e n d o r - s p e c i f i c   i n i t i a l i z a t i o n   a n d   s e t u p   t o   m a k e   s u r e   t h e   d e v i c e s   a r e   i n   a   r e a d y   s t a t e . T h e   p l u g i n   s t a r t s   a   g R P C   s e r v i c e ,   w i t h   a   U n i x   s o c k e t   u n d e r   t h e   h o s t   p a t h   / v a r / l i b / k u b e l e t / d e v i c e - p l u g i n s / ,   t h a t   i m p l e m e n t s   t h e   f o l l o w i n g   i n t e r f a c e s : s e r v i c e   D e v i c e P l u g i n   {   / /   G e t D e v i c e P l u g i n O p t i o n s   r e t u r n s   o p t i o n s   t o   b e   c o m m u n i c a t e d   w i t h   D e v i c e   M a n a g e r .   r p c   G e t D e v i c e P l u g i n O p t i o n s ( E m p t y )   r e t u r n s   ( D e v i c e P l u g i n O p t i o n s )   { }   / /   L i s t A n d W a t c h   r e t u r n s   a   s t r e a m   o f   L i s t   o f   D e v i c e s   / /   W h e n e v e r   a   D e v i c e   s t a t e   c h a n g e   o r   a   D e v i c e   d i s a p p e a r s ,   L i s t A n d W a t c h   / /   r e t u r n s   t h e   n e w   l i s t   r p c   L i s t A n d W a t c h ( E m p t y )   r e t u r n s   ( s t r e a m   L i s t A n d W a t c h R e s p o n s e )   { }   / /   A l l o c a t e   i s   c a l l e d   d u r i n g   c o n t a i n e r   c r e a t i o n   s o   t h a t   t h e   D e v i c e   / /   P l u g i n   c a n   r u n   d e v i c e   s p e c i f i c   o p e r a t i o n s   a n d   i n s t r u c t   K u b e l e t   / /   o f   t h e   s t e p s   t o   m a k e   t h e   D e v i c e   a v a i l a b l e   i n   t h e   c o n t a i n e r   r p c   A l l o c a t e ( A l l o c a t e R e q u e s t )   r e t u r n s   ( A l l o c a t e R e s p o n s ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13450"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   p l u g i n   r e g i s t e r s   i t s e l f   w i t h   t h e   k u b e l e t   t h r o u g h   t h e   U n i x   s o c k e t   a t   h o s t   p a t h   / v a r / l i b / k u b e l e t / d e v i c e - p l u g i n s / k u b e l e t . s o c k .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13451"
  },
  {
    "question": "What is Note:?",
    "answer": "A f t e r   s u c c e s s f u l l y   r e g i s t e r i n g   i t s e l f ,   t h e   d e v i c e   p l u g i n   r u n s   i n   s e r v i n g   m o d e ,   d u r i n g   w h i c h   i t   k e e p s   m o n i t o r i n g   d e v i c e   h e a l t h   a n d   r e p o r t s   b a c k   t o   t h e   k u b e l e t   u p o n   a n y   d e v i c e   s t a t e   c h a n g e s .   I t   i s   a l s o   r e s p o n s i b l e   f o r   s e r v i n g   A l l o c a t e   g R P C   r e q u e s t s .   D u r i n g   A l l o c a t e ,   t h e   d e v i c e   p l u g i n   m a y   d o   d e v i c e - s p e c i f i c   p r e p a r a t i o n ;   f o r   e x a m p l e ,   G P U   c l e a n u p   o r   Q R N G   i n i t i a l i z a t i o n .   I f   t h e   o p e r a t i o n s   s u c c e e d ,   t h e   d e v i c e   p l u g i n   r e t u r n s   a n   A l l o c a t e R e s p o n s e   t h a t   c o n t a i n s   c o n t a i n e r   r u n t i m e   c o n f i g u r a t i o n s   f o r   a c c e s s i n g   t h e   a l l o c a t e d   d e v i c e s .   T h e   k u b e l e t   p a s s e s   t h i s   i n f o r m a t i o n   t o   t h e   c o n t a i n e r   r u n t i m e .   A n   A l l o c a t e R e s p o n s e   c o n t a i n s   z e r o   o r   m o r e   C o n t a i n e r A l l o c a t e R e s p o n s e   o b j e c t s .   I n   t h e s e ,   t h e   d e v i c e   p l u g i n   d e f i n e s   m o d i f i c a t i o n s   t h a t   m u s t   b e   m a d e   t o   a   c o n t a i n e r ' s   d e f i n i t i o n   t o   p r o v i d e   a c c e s s   t o   t h e   d e v i c e .   T h e s e   m o d i f i c a t i o n s   i n c l u d e :   A n n o t a t i o n s d e v i c e   n o d e s e n v i r o n m e n t   v a r i a b l e s m o u n t s f u l l y - q u a l i f i e d   C D I   d e v i c e   n a m e s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13452"
  },
  {
    "question": "What is Handling kubelet restarts?",
    "answer": "A   d e v i c e   p l u g i n   i s   e x p e c t e d   t o   d e t e c t   k u b e l e t   r e s t a r t s   a n d   r e - r e g i s t e r   i t s e l f   w i t h   t h e   n e w   k u b e l e t   i n s t a n c e .   A   n e w   k u b e l e t   i n s t a n c e   d e l e t e s   a l l   t h e   e x i s t i n g   U n i x   s o c k e t s   u n d e r   / v a r / l i b / k u b e l e t / d e v i c e - p l u g i n s   w h e n   i t   s t a r t s .   A   d e v i c e   p l u g i n   c a n   m o n i t o r   t h e   d e l e t i o n   o f   i t s   U n i x   s o c k e t   a n d   r e - r e g i s t e r   i t s e l f   u p o n   s u c h   a n   e v e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13453"
  },
  {
    "question": "What is Device plugin and unhealthy devices?",
    "answer": "T h e r e   a r e   c a s e s   w h e n   d e v i c e s   f a i l   o r   a r e   s h u t   d o w n .   T h e   r e s p o n s i b i l i t y   o f   t h e   D e v i c e   P l u g i n   i n   t h i s   c a s e   i s   t o   n o t i f y   t h e   k u b e l e t   a b o u t   t h e   s i t u a t i o n   u s i n g   t h e   L i s t A n d W a t c h R e s p o n s e   A P I .   O n c e   a   d e v i c e   i s   m a r k e d   a s   u n h e a l t h y ,   t h e   k u b e l e t   w i l l   d e c r e a s e   t h e   a l l o c a t a b l e   c o u n t   f o r   t h i s   r e s o u r c e   o n   t h e   N o d e   t o   r e f l e c t   h o w   m a n y   d e v i c e s   c a n   b e   u s e d   f o r   s c h e d u l i n g   n e w   p o d s .   C a p a c i t y   c o u n t   f o r   t h e   r e s o u r c e   w i l l   n o t   c h a n g e .   P o d s   t h a t   w e r e   a s s i g n e d   t o   t h e   f a i l e d   d e v i c e s   w i l l   c o n t i n u e   b e   a s s i g n e d   t o   t h i s   d e v i c e .   I t   i s   t y p i c a l   t h a t   c o d e   r e l y i n g   o n   t h e   d e v i c e   w i l l   s t a r t   f a i l i n g   a n d   P o d   m a y   g e t   i n t o   F a i l e d   p h a s e   i f   r e s t a r t P o l i c y   f o r   t h e   P o d   w a s   n o t   A l w a y s   o r   e n t e r   t h e   c r a s h   l o o p   o t h e r w i s e .   B e f o r e   K u b e r n e t e s   v 1 . 3 1 ,   t h e   w a y   t o   k n o w   w h e t h e r   o r   n o t   a   P o d   i s   a s s o c i a t e d   w i t h   t h e   f a i l e d   d e v i c e   i s   t o   u s e   t h e   P o d R e s o u r c e s   A P I .   B y   e n a b l i n g   t h e   f e a t u r e   g a t e   R e s o u r c e H e a l t h S t a t u s ,   t h e   f i e l d   a l l o c a t e d R e s o u r c e s S t a t u s   w i l l   b e   a d d e d   t o   e a c h   c o n t a i n e r   s t a t u s ,   w i t h i n   t h e   . s t a t u s   f o r   e a c h   P o d .   T h e   a l l o c a t e d R e s o u r c e s S t a t u s ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13454"
  },
  {
    "question": "What is Device plugin deployment?",
    "answer": "Y o u   c a n   d e p l o y   a   d e v i c e   p l u g i n   a s   a   D a e m o n S e t ,   a s   a   p a c k a g e   f o r   y o u r   n o d e ' s   o p e r a t i n g   s y s t e m ,   o r   m a n u a l l y .   T h e   c a n o n i c a l   d i r e c t o r y   / v a r / l i b / k u b e l e t / d e v i c e - p l u g i n s   r e q u i r e s   p r i v i l e g e d   a c c e s s ,   s o   a   d e v i c e   p l u g i n   m u s t   r u n   i n   a   p r i v i l e g e d   s e c u r i t y   c o n t e x t .   I f   y o u ' r e   d e p l o y i n g   a   d e v i c e   p l u g i n   a s   a   D a e m o n S e t ,   / v a r / l i b / k u b e l e t / d e v i c e - p l u g i n s   m u s t   b e   m o u n t e d   a s   a   V o l u m e   i n   t h e   p l u g i n ' s   P o d S p e c .   I f   y o u   c h o o s e   t h e   D a e m o n S e t   a p p r o a c h   y o u   c a n   r e l y   o n   K u b e r n e t e s   t o :   p l a c e   t h e   d e v i c e   p l u g i n ' s   P o d   o n t o   N o d e s ,   t o   r e s t a r t   t h e   d a e m o n   P o d   a f t e r   f a i l u r e ,   a n d   t o   h e l p   a u t o m a t e   u p g r a d e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13455"
  },
  {
    "question": "What is API compatibility?",
    "answer": "P r e v i o u s l y ,   t h e   v e r s i o n i n g   s c h e m e   r e q u i r e d   t h e   D e v i c e   P l u g i n ' s   A P I   v e r s i o n   t o   m a t c h   e x a c t l y   t h e   K u b e l e t ' s   v e r s i o n .   S i n c e   t h e   g r a d u a t i o n   o f   t h i s   f e a t u r e   t o   B e t a   i n   v 1 . 1 2   t h i s   i s   n o   l o n g e r   a   h a r d   r e q u i r e m e n t .   T h e   A P I   i s   v e r s i o n e d   a n d   h a s   b e e n   s t a b l e   s i n c e   B e t a   g r a d u a t i o n   o f   t h i s   f e a t u r e .   B e c a u s e   o f   t h i s ,   k u b e l e t   u p g r a d e s   s h o u l d   b e   s e a m l e s s   b u t   t h e r e   s t i l l   m a y   b e   c h a n g e s   i n   t h e   A P I   b e f o r e   s t a b i l i z a t i o n   m a k i n g   u p g r a d e s   n o t   g u a r a n t e e d   t o   b e   n o n - b r e a k i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13456"
  },
  {
    "question": "What is Note:?",
    "answer": "A s   a   p r o j e c t ,   K u b e r n e t e s   r e c o m m e n d s   t h a t   d e v i c e   p l u g i n   d e v e l o p e r s :   W a t c h   f o r   D e v i c e   P l u g i n   A P I   c h a n g e s   i n   t h e   f u t u r e   r e l e a s e s . S u p p o r t   m u l t i p l e   v e r s i o n s   o f   t h e   d e v i c e   p l u g i n   A P I   f o r   b a c k w a r d / f o r w a r d   c o m p a t i b i l i t y .   T o   r u n   d e v i c e   p l u g i n s   o n   n o d e s   t h a t   n e e d   t o   b e   u p g r a d e d   t o   a   K u b e r n e t e s   r e l e a s e   w i t h   a   n e w e r   d e v i c e   p l u g i n   A P I   v e r s i o n ,   u p g r a d e   y o u r   d e v i c e   p l u g i n s   t o   s u p p o r t   b o t h   v e r s i o n s   b e f o r e   u p g r a d i n g   t h e s e   n o d e s .   T a k i n g   t h a t   a p p r o a c h   w i l l   e n s u r e   t h e   c o n t i n u o u s   f u n c t i o n i n g   o f   t h e   d e v i c e   a l l o c a t i o n s   d u r i n g   t h e   u p g r a d e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13457"
  },
  {
    "question": "What is Monitoring device plugin resources?",
    "answer": "I n   o r d e r   t o   m o n i t o r   r e s o u r c e s   p r o v i d e d   b y   d e v i c e   p l u g i n s ,   m o n i t o r i n g   a g e n t s   n e e d   t o   b e   a b l e   t o   d i s c o v e r   t h e   s e t   o f   d e v i c e s   t h a t   a r e   i n - u s e   o n   t h e   n o d e   a n d   o b t a i n   m e t a d a t a   t o   d e s c r i b e   w h i c h   c o n t a i n e r   t h e   m e t r i c   s h o u l d   b e   a s s o c i a t e d   w i t h .   P r o m e t h e u s   m e t r i c s   e x p o s e d   b y   d e v i c e   m o n i t o r i n g   a g e n t s   s h o u l d   f o l l o w   t h e   K u b e r n e t e s   I n s t r u m e n t a t i o n   G u i d e l i n e s ,   i d e n t i f y i n g   c o n t a i n e r s   u s i n g   p o d ,   n a m e s p a c e ,   a n d   c o n t a i n e r   p r o m e t h e u s   l a b e l s .   T h e   k u b e l e t   p r o v i d e s   a   g R P C   s e r v i c e   t o   e n a b l e   d i s c o v e r y   o f   i n - u s e   d e v i c e s ,   a n d   t o   p r o v i d e   m e t a d a t a   f o r   t h e s e   d e v i c e s :   / /   P o d R e s o u r c e s L i s t e r   i s   a   s e r v i c e   p r o v i d e d   b y   t h e   k u b e l e t   t h a t   p r o v i d e s   i n f o r m a t i o n   a b o u t   t h e   / /   n o d e   r e s o u r c e s   c o n s u m e d   b y   p o d s   a n d   c o n t a i n e r s   o n   t h e   n o d e   s e r v i c e   P o d R e s o u r c e s L i s t e r   {   r p c   L i s t ( L i s t P o d R e s o u r c e s R e q u e s t )   r e t u r n s   ( L i s t P o d R e s o u r c e s R e s p o n s e )   { }   r p c   G e t A l l o c a t a b l e R e s o u r c e s ( A l l o c a t a b l e R e s o u r c e s R e q u e s t )   r e t u r n s   ( A l l o c a t a b l e R e s o u r c e s R e s p o n s e )   { }   r p c   G e t ( G e t P o d R e s o u r c e s R e q u e s t )   r e t u r n s   ( G e t P o d R e s o u r c e s R e s p o n s e )   { }   }",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13458"
  },
  {
    "question": "What is List gRPC endpoint?",
    "answer": "T h e   L i s t   e n d p o i n t   p r o v i d e s   i n f o r m a t i o n   o n   r e s o u r c e s   o f   r u n n i n g   p o d s ,   w i t h   d e t a i l s   s u c h   a s   t h e   i d   o f   e x c l u s i v e l y   a l l o c a t e d   C P U s ,   d e v i c e   i d   a s   i t   w a s   r e p o r t e d   b y   d e v i c e   p l u g i n s   a n d   i d   o f   t h e   N U M A   n o d e   w h e r e   t h e s e   d e v i c e s   a r e   a l l o c a t e d .   A l s o ,   f o r   N U M A - b a s e d   m a c h i n e s ,   i t   c o n t a i n s   t h e   i n f o r m a t i o n   a b o u t   m e m o r y   a n d   h u g e p a g e s   r e s e r v e d   f o r   a   c o n t a i n e r .   S t a r t i n g   f r o m   K u b e r n e t e s   v 1 . 2 7 ,   t h e   L i s t   e n d p o i n t   c a n   p r o v i d e   i n f o r m a t i o n   o n   r e s o u r c e s   o f   r u n n i n g   p o d s   a l l o c a t e d   i n   R e s o u r c e C l a i m s   b y   t h e   D y n a m i c R e s o u r c e A l l o c a t i o n   A P I .   S t a r t i n g   f r o m   K u b e r n e t e s   v 1 . 3 4 ,   t h i s   f e a t u r e   i s   e n a b l e d   b y   d e f a u l t .   T o   d i s a b l e ,   k u b e l e t   m u s t   b e   s t a r t e d   w i t h   t h e   f o l l o w i n g   f l a g s :   - - f e a t u r e - g a t e s = K u b e l e t P o d R e s o u r c e s D y n a m i c R e s o u r c e s = f a l s e   / /   L i s t P o d R e s o u r c e s R e s p o n s e   i s   t h e   r e s p o n s e   r e t u r n e d   b y   L i s t   f u n c t i o n   m e s s a g e   L i s t P o d R e s o u r c e s R e s p o n s e   {   r e p e a t e d   P o d R e s o u r c e s   p o d _ r e s o u r c e s   =   1 ;   }   / /   P o d R e s o u r c e s   c o n t a i n s   i n f o r m a t i o n   a b o u t   t h e   n o d e   r e s o u r c e s   a s s i g n e d   t o   a   p o d   m e s s a g e   P o d R e s o u r c e s   {   s t r i n g   n a m e   =   1 ;   s t r i n g   n a m e s p a c e   =   2 ;   r e p e a t e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13459"
  },
  {
    "question": "What is Note:?",
    "answer": "c p u _ i d s   i n   t h e   C o n t a i n e r R e s o u r c e s   i n   t h e   L i s t   e n d p o i n t   c o r r e s p o n d   t o   e x c l u s i v e   C P U s   a l l o c a t e d   t o   a   p a r t i c u l a r   c o n t a i n e r .   I f   t h e   g o a l   i s   t o   e v a l u a t e   C P U s   t h a t   b e l o n g   t o   t h e   s h a r e d   p o o l ,   t h e   L i s t   e n d p o i n t   n e e d s   t o   b e   u s e d   i n   c o n j u n c t i o n   w i t h   t h e   G e t A l l o c a t a b l e R e s o u r c e s   e n d p o i n t   a s   e x p l a i n e d   b e l o w :   C a l l   G e t A l l o c a t a b l e R e s o u r c e s   t o   g e t   a   l i s t   o f   a l l   t h e   a l l o c a t a b l e   C P U s C a l l   G e t C p u I d s   o n   a l l   C o n t a i n e r R e s o u r c e s   i n   t h e   s y s t e m S u b t r a c t   o u t   a l l   o f   t h e   C P U s   f r o m   t h e   G e t C p u I d s   c a l l s   f r o m   t h e   G e t A l l o c a t a b l e R e s o u r c e s   c a l l",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13460"
  },
  {
    "question": "What is GetAllocatableResources gRPC endpoint?",
    "answer": "G e t A l l o c a t a b l e R e s o u r c e s   p r o v i d e s   i n f o r m a t i o n   o n   r e s o u r c e s   i n i t i a l l y   a v a i l a b l e   o n   t h e   w o r k e r   n o d e .   I t   p r o v i d e s   m o r e   i n f o r m a t i o n   t h a n   k u b e l e t   e x p o r t s   t o   A P I S e r v e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13461"
  },
  {
    "question": "What is Note:?",
    "answer": "G e t A l l o c a t a b l e R e s o u r c e s   s h o u l d   o n l y   b e   u s e d   t o   e v a l u a t e   a l l o c a t a b l e   r e s o u r c e s   o n   a   n o d e .   I f   t h e   g o a l   i s   t o   e v a l u a t e   f r e e / u n a l l o c a t e d   r e s o u r c e s   i t   s h o u l d   b e   u s e d   i n   c o n j u n c t i o n   w i t h   t h e   L i s t ( )   e n d p o i n t .   T h e   r e s u l t   o b t a i n e d   b y   G e t A l l o c a t a b l e R e s o u r c e s   w o u l d   r e m a i n   t h e   s a m e   u n l e s s   t h e   u n d e r l y i n g   r e s o u r c e s   e x p o s e d   t o   k u b e l e t   c h a n g e .   T h i s   h a p p e n s   r a r e l y   b u t   w h e n   i t   d o e s   ( f o r   e x a m p l e :   h o t p l u g / h o t u n p l u g ,   d e v i c e   h e a l t h   c h a n g e s ) ,   c l i e n t   i s   e x p e c t e d   t o   c a l l   G e t A l l o c t a b l e R e s o u r c e s   e n d p o i n t .   H o w e v e r ,   c a l l i n g   G e t A l l o c a t a b l e R e s o u r c e s   e n d p o i n t   i s   n o t   s u f f i c i e n t   i n   c a s e   o f   c p u   a n d / o r   m e m o r y   u p d a t e   a n d   K u b e l e t   n e e d s   t o   b e   r e s t a r t e d   t o   r e f l e c t   t h e   c o r r e c t   r e s o u r c e   c a p a c i t y   a n d   a l l o c a t a b l e .   / /   A l l o c a t a b l e R e s o u r c e s R e s p o n s e s   c o n t a i n s   i n f o r m a t i o n   a b o u t   a l l   t h e   d e v i c e s   k n o w n   b y   t h e   k u b e l e t   m e s s a g e   A l l o c a t a b l e R e s o u r c e s R e s p o n s e   {   r e p e a t e d   C o n t a i n e r D e v i c e s   d e v i c e s   =   1 ;   r e p e a t e d   i n t 6 4   c p u _ i d s   =   2 ;   r e p e a t e d   C o n t a i n e r M e m o r y   m e m o r y   =   3 ;   }   C o n t a i n e r D e v i c e s   d o   e x p o s e   t h e   t o p o l o g y   i n f o r m a t i o n   d e c l a r i n g   t o   w h i c h   N U M A   c e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13462"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   a c c e s s i n g   t h e   / v a r / l i b / k u b e l e t / p o d - r e s o u r c e s / k u b e l e t . s o c k   f r o m   D a e m o n S e t   o r   a n y   o t h e r   a p p   d e p l o y e d   a s   a   c o n t a i n e r   o n   t h e   h o s t ,   w h i c h   i s   m o u n t i n g   s o c k e t   a s   a   v o l u m e ,   i t   i s   a   g o o d   p r a c t i c e   t o   m o u n t   d i r e c t o r y   / v a r / l i b / k u b e l e t / p o d - r e s o u r c e s /   i n s t e a d   o f   t h e   / v a r / l i b / k u b e l e t / p o d - r e s o u r c e s / k u b e l e t . s o c k .   T h i s   w i l l   e n s u r e   t h a t   a f t e r   k u b e l e t   r e s t a r t ,   c o n t a i n e r   w i l l   b e   a b l e   t o   r e - c o n n e c t   t o   t h i s   s o c k e t .   C o n t a i n e r   m o u n t s   a r e   m a n a g e d   b y   i n o d e   r e f e r e n c i n g   t h e   s o c k e t   o r   d i r e c t o r y ,   d e p e n d i n g   o n   w h a t   w a s   m o u n t e d .   W h e n   k u b e l e t   r e s t a r t s ,   s o c k e t   i s   d e l e t e d   a n d   a   n e w   s o c k e t   i s   c r e a t e d ,   w h i l e   d i r e c t o r y   s t a y s   u n t o u c h e d .   S o   t h e   o r i g i n a l   i n o d e   f o r   t h e   s o c k e t   b e c o m e   u n u s a b l e .   I n o d e   t o   d i r e c t o r y   w i l l   c o n t i n u e   w o r k i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13463"
  },
  {
    "question": "What is Get gRPC endpoint?",
    "answer": "T h e   G e t   e n d p o i n t   p r o v i d e s   i n f o r m a t i o n   o n   r e s o u r c e s   o f   a   r u n n i n g   P o d .   I t   e x p o s e s   i n f o r m a t i o n   s i m i l a r   t o   t h o s e   d e s c r i b e d   i n   t h e   L i s t   e n d p o i n t .   T h e   G e t   e n d p o i n t   r e q u i r e s   P o d N a m e   a n d   P o d N a m e s p a c e   o f   t h e   r u n n i n g   P o d .   / /   G e t P o d R e s o u r c e s R e q u e s t   c o n t a i n s   i n f o r m a t i o n   a b o u t   t h e   p o d   m e s s a g e   G e t P o d R e s o u r c e s R e q u e s t   {   s t r i n g   p o d _ n a m e   =   1 ;   s t r i n g   p o d _ n a m e s p a c e   =   2 ;   }   T o   d i s a b l e   t h i s   f e a t u r e ,   y o u   m u s t   s t a r t   y o u r   k u b e l e t   s e r v i c e s   w i t h   t h e   f o l l o w i n g   f l a g :   - - f e a t u r e - g a t e s = K u b e l e t P o d R e s o u r c e s G e t = f a l s e   T h e   G e t   e n d p o i n t   c a n   p r o v i d e   P o d   i n f o r m a t i o n   r e l a t e d   t o   d y n a m i c   r e s o u r c e s   a l l o c a t e d   b y   t h e   d y n a m i c   r e s o u r c e   a l l o c a t i o n   A P I .   S t a r t i n g   f r o m   K u b e r n e t e s   v 1 . 3 4 ,   t h i s   f e a t u r e   i s   e n a b l e d   b y   d e f a u l t .   T o   d i s a b l e ,   k u b e l e t   m u s t   b e   s t a r t e d   w i t h   t h e   f o l l o w i n g   f l a g s :   - - f e a t u r e - g a t e s = K u b e l e t P o d R e s o u r c e s D y n a m i c R e s o u r c e s = f a l s e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13464"
  },
  {
    "question": "What is Device plugin integration with the Topology Manager?",
    "answer": "T h e   T o p o l o g y   M a n a g e r   i s   a   K u b e l e t   c o m p o n e n t   t h a t   a l l o w s   r e s o u r c e s   t o   b e   c o - o r d i n a t e d   i n   a   T o p o l o g y   a l i g n e d   m a n n e r .   I n   o r d e r   t o   d o   t h i s ,   t h e   D e v i c e   P l u g i n   A P I   w a s   e x t e n d e d   t o   i n c l u d e   a   T o p o l o g y I n f o   s t r u c t .   m e s s a g e   T o p o l o g y I n f o   {   r e p e a t e d   N U M A N o d e   n o d e s   =   1 ;   }   m e s s a g e   N U M A N o d e   {   i n t 6 4   I D   =   1 ;   }   D e v i c e   P l u g i n s   t h a t   w i s h   t o   l e v e r a g e   t h e   T o p o l o g y   M a n a g e r   c a n   s e n d   b a c k   a   p o p u l a t e d   T o p o l o g y I n f o   s t r u c t   a s   p a r t   o f   t h e   d e v i c e   r e g i s t r a t i o n ,   a l o n g   w i t h   t h e   d e v i c e   I D s   a n d   t h e   h e a l t h   o f   t h e   d e v i c e .   T h e   d e v i c e   m a n a g e r   w i l l   t h e n   u s e   t h i s   i n f o r m a t i o n   t o   c o n s u l t   w i t h   t h e   T o p o l o g y   M a n a g e r   a n d   m a k e   r e s o u r c e   a s s i g n m e n t   d e c i s i o n s .   T o p o l o g y I n f o   s u p p o r t s   s e t t i n g   a   n o d e s   f i e l d   t o   e i t h e r   n i l   o r   a   l i s t   o f   N U M A   n o d e s .   T h i s   a l l o w s   t h e   D e v i c e   P l u g i n   t o   a d v e r t i s e   a   d e v i c e   t h a t   s p a n s   m u l t i p l e   N U M A   n o d e s .   S e t t i n g   T o p o l o g y I n f o   t o   n i l   o r   p r o v i d i n g   a n   e m p t y   l i s t   o f   N U M A   n o d e s   f o r   a   g i v e n   d e v i c e   i n d i c a t e s   t h a t   t h e   D e v i c e   P l u g i n   d o e s   n o t   h a v e   a   N U M A   a f f i n i t y   p r e f e r e n c e   f o r   t h a t   d e v i c e .   A n   e x a m p l e   T o p o l o g y I n f o   s t r u c t   p o p u l a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13465"
  },
  {
    "question": "What is Device plugin examples?",
    "answer": "H e r e   a r e   s o m e   e x a m p l e s   o f   d e v i c e   p l u g i n   i m p l e m e n t a t i o n s :   A k r i ,   w h i c h   l e t s   y o u   e a s i l y   e x p o s e   h e t e r o g e n e o u s   l e a f   d e v i c e s   ( s u c h   a s   I P   c a m e r a s   a n d   U S B   d e v i c e s ) . T h e   A M D   G P U   d e v i c e   p l u g i n T h e   g e n e r i c   d e v i c e   p l u g i n   f o r   g e n e r i c   L i n u x   d e v i c e s   a n d   U S B   d e v i c e s T h e   H A M i   f o r   h e t e r o g e n e o u s   A I   c o m p u t i n g   v i r t u a l i z a t i o n   m i d d l e w a r e   ( f o r   e x a m p l e ,   N V I D I A ,   C a m b r i c o n ,   H y g o n ,   I l u v a t a r ,   M T h r e a d s ,   A s c e n d ,   M e t a x ) T h e   I n t e l   d e v i c e   p l u g i n s   f o r   I n t e l   G P U ,   F P G A ,   Q A T ,   V P U ,   S G X ,   D S A ,   D L B   a n d   I A A   d e v i c e s T h e   K u b e V i r t   d e v i c e   p l u g i n s   f o r   h a r d w a r e - a s s i s t e d   v i r t u a l i z a t i o n T h e   N V I D I A   G P U   d e v i c e   p l u g i n ,   N V I D I A ' s   o f f i c i a l   d e v i c e   p l u g i n   t o   e x p o s e   N V I D I A   G P U s   a n d   m o n i t o r   G P U   h e a l t h T h e   N V I D I A   G P U   d e v i c e   p l u g i n   f o r   C o n t a i n e r - O p t i m i z e d   O S T h e   R D M A   d e v i c e   p l u g i n T h e   S o c k e t C A N   d e v i c e   p l u g i n T h e   S o l a r f l a r e   d e v i c e   p l u g i n T h e   S R - I O V   N e t w o r k   d e v i c e   p l u g i n T h e   X i l i n x   F P G A   d e v i c e   p l u g i n s   f o r   X i l i n x   F P G A   d e v i c e s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13466"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   s c h e d u l i n g   G P U   r e s o u r c e s   u s i n g   d e v i c e   p l u g i n s L e a r n   a b o u t   a d v e r t i s i n g   e x t e n d e d   r e s o u r c e s   o n   a   n o d e L e a r n   a b o u t   t h e   T o p o l o g y   M a n a g e r R e a d   a b o u t   u s i n g   h a r d w a r e   a c c e l e r a t i o n   f o r   T L S   i n g r e s s   w i t h   K u b e r n e t e s R e a d   m o r e   a b o u t   E x t e n d e d   R e s o u r c e   a l l o c a t i o n   b y   D R A",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13467"
  },
  {
    "question": "What is 13.2 - Extending the Kubernetes API?",
    "answer": "C u s t o m   r e s o u r c e s   a r e   e x t e n s i o n s   o f   t h e   K u b e r n e t e s   A P I .   K u b e r n e t e s   p r o v i d e s   t w o   w a y s   t o   a d d   c u s t o m   r e s o u r c e s   t o   y o u r   c l u s t e r :   T h e   C u s t o m R e s o u r c e D e f i n i t i o n   ( C R D )   m e c h a n i s m   a l l o w s   y o u   t o   d e c l a r a t i v e l y   d e f i n e   a   n e w   c u s t o m   A P I   w i t h   a n   A P I   g r o u p ,   k i n d ,   a n d   s c h e m a   t h a t   y o u   s p e c i f y .   T h e   K u b e r n e t e s   c o n t r o l   p l a n e   s e r v e s   a n d   h a n d l e s   t h e   s t o r a g e   o f   y o u r   c u s t o m   r e s o u r c e .   C R D s   a l l o w   y o u   t o   c r e a t e   n e w   t y p e s   o f   r e s o u r c e s   f o r   y o u r   c l u s t e r   w i t h o u t   w r i t i n g   a n d   r u n n i n g   a   c u s t o m   A P I   s e r v e r . T h e   a g g r e g a t i o n   l a y e r   s i t s   b e h i n d   t h e   p r i m a r y   A P I   s e r v e r ,   w h i c h   a c t s   a s   a   p r o x y .   T h i s   a r r a n g e m e n t   i s   c a l l e d   A P I   A g g r e g a t i o n   ( A A ) ,   w h i c h   a l l o w s   y o u   t o   p r o v i d e   s p e c i a l i z e d   i m p l e m e n t a t i o n s   f o r   y o u r   c u s t o m   r e s o u r c e s   b y   w r i t i n g   a n d   d e p l o y i n g   y o u r   o w n   A P I   s e r v e r .   T h e   m a i n   A P I   s e r v e r   d e l e g a t e s   r e q u e s t s   t o   y o u r   A P I   s e r v e r   f o r   t h e   c u s t o m   A P I s   t h a t   y o u   s p e c i f y ,   m a k i n g   t h e m   a v a i l a b l e   t o   a l l   o f   i t s   c l i e n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13468"
  },
  {
    "question": "What is 13.2.1 - Custom Resources?",
    "answer": "C u s t o m   r e s o u r c e s   a r e   e x t e n s i o n s   o f   t h e   K u b e r n e t e s   A P I .   T h i s   p a g e   d i s c u s s e s   w h e n   t o   a d d   a   c u s t o m   r e s o u r c e   t o   y o u r   K u b e r n e t e s   c l u s t e r   a n d   w h e n   t o   u s e   a   s t a n d a l o n e   s e r v i c e .   I t   d e s c r i b e s   t h e   t w o   m e t h o d s   f o r   a d d i n g   c u s t o m   r e s o u r c e s   a n d   h o w   t o   c h o o s e   b e t w e e n   t h e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13469"
  },
  {
    "question": "What is Custom resources?",
    "answer": "A   r e s o u r c e   i s   a n   e n d p o i n t   i n   t h e   K u b e r n e t e s   A P I   t h a t   s t o r e s   a   c o l l e c t i o n   o f   A P I   o b j e c t s   o f   a   c e r t a i n   k i n d ;   f o r   e x a m p l e ,   t h e   b u i l t - i n   p o d s   r e s o u r c e   c o n t a i n s   a   c o l l e c t i o n   o f   P o d   o b j e c t s .   A   c u s t o m   r e s o u r c e   i s   a n   e x t e n s i o n   o f   t h e   K u b e r n e t e s   A P I   t h a t   i s   n o t   n e c e s s a r i l y   a v a i l a b l e   i n   a   d e f a u l t   K u b e r n e t e s   i n s t a l l a t i o n .   I t   r e p r e s e n t s   a   c u s t o m i z a t i o n   o f   a   p a r t i c u l a r   K u b e r n e t e s   i n s t a l l a t i o n .   H o w e v e r ,   m a n y   c o r e   K u b e r n e t e s   f u n c t i o n s   a r e   n o w   b u i l t   u s i n g   c u s t o m   r e s o u r c e s ,   m a k i n g   K u b e r n e t e s   m o r e   m o d u l a r .   C u s t o m   r e s o u r c e s   c a n   a p p e a r   a n d   d i s a p p e a r   i n   a   r u n n i n g   c l u s t e r   t h r o u g h   d y n a m i c   r e g i s t r a t i o n ,   a n d   c l u s t e r   a d m i n s   c a n   u p d a t e   c u s t o m   r e s o u r c e s   i n d e p e n d e n t l y   o f   t h e   c l u s t e r   i t s e l f .   O n c e   a   c u s t o m   r e s o u r c e   i s   i n s t a l l e d ,   u s e r s   c a n   c r e a t e   a n d   a c c e s s   i t s   o b j e c t s   u s i n g   k u b e c t l ,   j u s t   a s   t h e y   d o   f o r   b u i l t - i n   r e s o u r c e s   l i k e   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13470"
  },
  {
    "question": "What is Custom controllers?",
    "answer": "O n   t h e i r   o w n ,   c u s t o m   r e s o u r c e s   l e t   y o u   s t o r e   a n d   r e t r i e v e   s t r u c t u r e d   d a t a .   W h e n   y o u   c o m b i n e   a   c u s t o m   r e s o u r c e   w i t h   a   c u s t o m   c o n t r o l l e r ,   c u s t o m   r e s o u r c e s   p r o v i d e   a   t r u e   d e c l a r a t i v e   A P I .   T h e   K u b e r n e t e s   d e c l a r a t i v e   A P I   e n f o r c e s   a   s e p a r a t i o n   o f   r e s p o n s i b i l i t i e s .   Y o u   d e c l a r e   t h e   d e s i r e d   s t a t e   o f   y o u r   r e s o u r c e .   T h e   K u b e r n e t e s   c o n t r o l l e r   k e e p s   t h e   c u r r e n t   s t a t e   o f   K u b e r n e t e s   o b j e c t s   i n   s y n c   w i t h   y o u r   d e c l a r e d   d e s i r e d   s t a t e .   T h i s   i s   i n   c o n t r a s t   t o   a n   i m p e r a t i v e   A P I ,   w h e r e   y o u   i n s t r u c t   a   s e r v e r   w h a t   t o   d o .   Y o u   c a n   d e p l o y   a n d   u p d a t e   a   c u s t o m   c o n t r o l l e r   o n   a   r u n n i n g   c l u s t e r ,   i n d e p e n d e n t l y   o f   t h e   c l u s t e r ' s   l i f e c y c l e .   C u s t o m   c o n t r o l l e r s   c a n   w o r k   w i t h   a n y   k i n d   o f   r e s o u r c e ,   b u t   t h e y   a r e   e s p e c i a l l y   e f f e c t i v e   w h e n   c o m b i n e d   w i t h   c u s t o m   r e s o u r c e s .   T h e   O p e r a t o r   p a t t e r n   c o m b i n e s   c u s t o m   r e s o u r c e s   a n d   c u s t o m   c o n t r o l l e r s .   Y o u   c a n   u s e   c u s t o m   c o n t r o l l e r s   t o   e n c o d e   d o m a i n   k n o w l e d g e   f o r   s p e c i f i c   a p p l i c a t i o n s   i n t o   a n   e x t e n s i o n   o f   t h e   K u b e r n e t e s   A P I .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13471"
  },
  {
    "question": "What is Should I add a custom resource to my Kubernetes cluster??",
    "answer": "W h e n   c r e a t i n g   a   n e w   A P I ,   c o n s i d e r   w h e t h e r   t o   a g g r e g a t e   y o u r   A P I   w i t h   t h e   K u b e r n e t e s   c l u s t e r   A P I s   o r   l e t   y o u r   A P I   s t a n d   a l o n e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13472"
  },
  {
    "question": "What is Declarative APIs?",
    "answer": "I n   a   D e c l a r a t i v e   A P I ,   t y p i c a l l y :   Y o u r   A P I   c o n s i s t s   o f   a   r e l a t i v e l y   s m a l l   n u m b e r   o f   r e l a t i v e l y   s m a l l   o b j e c t s   ( r e s o u r c e s ) . T h e   o b j e c t s   d e f i n e   c o n f i g u r a t i o n   o f   a p p l i c a t i o n s   o r   i n f r a s t r u c t u r e . T h e   o b j e c t s   a r e   u p d a t e d   r e l a t i v e l y   i n f r e q u e n t l y . H u m a n s   o f t e n   n e e d   t o   r e a d   a n d   w r i t e   t h e   o b j e c t s . T h e   m a i n   o p e r a t i o n s   o n   t h e   o b j e c t s   a r e   C R U D - y   ( c r e a t i n g ,   r e a d i n g ,   u p d a t i n g   a n d   d e l e t i n g ) . T r a n s a c t i o n s   a c r o s s   o b j e c t s   a r e   n o t   r e q u i r e d :   t h e   A P I   r e p r e s e n t s   a   d e s i r e d   s t a t e ,   n o t   a n   e x a c t   s t a t e .   I m p e r a t i v e   A P I s   a r e   n o t   d e c l a r a t i v e .   S i g n s   t h a t   y o u r   A P I   m i g h t   n o t   b e   d e c l a r a t i v e   i n c l u d e :   T h e   c l i e n t   s a y s   \" d o   t h i s \" ,   a n d   t h e n   g e t s   a   s y n c h r o n o u s   r e s p o n s e   b a c k   w h e n   i t   i s   d o n e . T h e   c l i e n t   s a y s   \" d o   t h i s \" ,   a n d   t h e n   g e t s   a n   o p e r a t i o n   I D   b a c k ,   a n d   h a s   t o   c h e c k   a   s e p a r a t e   O p e r a t i o n   o b j e c t   t o   d e t e r m i n e   c o m p l e t i o n   o f   t h e   r e q u e s t . Y o u   t a l k   a b o u t   R e m o t e   P r o c e d u r e   C a l l s   ( R P C s ) . D i r e c t l y   s t o r i n g   l a r g e   a m o u n t s   o f   d a t a ;   f o r   e x a m p l e ,   >   a   f e w   k B   p e r   o b j e c t ,   o r   >   1 0 0 0 s   o f   o b j e c t s . H i g h   b a n d w i d t h   a c c e s s   ( 1 0 s   o f   r e q u e s t s   p e r   s e c o n d   s u s t a i n e d ) ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13473"
  },
  {
    "question": "What is Should I use a ConfigMap or a custom resource??",
    "answer": "U s e   a   C o n f i g M a p   i f   a n y   o f   t h e   f o l l o w i n g   a p p l y :   T h e r e   i s   a n   e x i s t i n g ,   w e l l - d o c u m e n t e d   c o n f i g u r a t i o n   f i l e   f o r m a t ,   s u c h   a s   a   m y s q l . c n f   o r   p o m . x m l . Y o u   w a n t   t o   p u t   t h e   e n t i r e   c o n f i g u r a t i o n   i n t o   o n e   k e y   o f   a   C o n f i g M a p . T h e   m a i n   u s e   o f   t h e   c o n f i g u r a t i o n   f i l e   i s   f o r   a   p r o g r a m   r u n n i n g   i n   a   P o d   o n   y o u r   c l u s t e r   t o   c o n s u m e   t h e   f i l e   t o   c o n f i g u r e   i t s e l f . C o n s u m e r s   o f   t h e   f i l e   p r e f e r   t o   c o n s u m e   v i a   f i l e   i n   a   P o d   o r   e n v i r o n m e n t   v a r i a b l e   i n   a   p o d ,   r a t h e r   t h a n   t h e   K u b e r n e t e s   A P I . Y o u   w a n t   t o   p e r f o r m   r o l l i n g   u p d a t e s   v i a   D e p l o y m e n t ,   e t c . ,   w h e n   t h e   f i l e   i s   u p d a t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13474"
  },
  {
    "question": "What is Note:?",
    "answer": "U s e   a   c u s t o m   r e s o u r c e   ( C R D   o r   A g g r e g a t e d   A P I )   i f   m o s t   o f   t h e   f o l l o w i n g   a p p l y :   Y o u   w a n t   t o   u s e   K u b e r n e t e s   c l i e n t   l i b r a r i e s   a n d   C L I s   t o   c r e a t e   a n d   u p d a t e   t h e   n e w   r e s o u r c e . Y o u   w a n t   t o p - l e v e l   s u p p o r t   f r o m   k u b e c t l ;   f o r   e x a m p l e ,   k u b e c t l   g e t   m y - o b j e c t   o b j e c t - n a m e . Y o u   w a n t   t o   b u i l d   n e w   a u t o m a t i o n   t h a t   w a t c h e s   f o r   u p d a t e s   o n   t h e   n e w   o b j e c t ,   a n d   t h e n   C R U D   o t h e r   o b j e c t s ,   o r   v i c e   v e r s a . Y o u   w a n t   t o   w r i t e   a u t o m a t i o n   t h a t   h a n d l e s   u p d a t e s   t o   t h e   o b j e c t . Y o u   w a n t   t o   u s e   K u b e r n e t e s   A P I   c o n v e n t i o n s   l i k e   . s p e c ,   . s t a t u s ,   a n d   . m e t a d a t a . Y o u   w a n t   t h e   o b j e c t   t o   b e   a n   a b s t r a c t i o n   o v e r   a   c o l l e c t i o n   o f   c o n t r o l l e d   r e s o u r c e s ,   o r   a   s u m m a r i z a t i o n   o f   o t h e r   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13475"
  },
  {
    "question": "What is Adding custom resources?",
    "answer": "K u b e r n e t e s   p r o v i d e s   t w o   w a y s   t o   a d d   c u s t o m   r e s o u r c e s   t o   y o u r   c l u s t e r :   C R D s   a r e   s i m p l e   a n d   c a n   b e   c r e a t e d   w i t h o u t   a n y   p r o g r a m m i n g . A P I   A g g r e g a t i o n   r e q u i r e s   p r o g r a m m i n g ,   b u t   a l l o w s   m o r e   c o n t r o l   o v e r   A P I   b e h a v i o r s   l i k e   h o w   d a t a   i s   s t o r e d   a n d   c o n v e r s i o n   b e t w e e n   A P I   v e r s i o n s .   K u b e r n e t e s   p r o v i d e s   t h e s e   t w o   o p t i o n s   t o   m e e t   t h e   n e e d s   o f   d i f f e r e n t   u s e r s ,   s o   t h a t   n e i t h e r   e a s e   o f   u s e   n o r   f l e x i b i l i t y   i s   c o m p r o m i s e d .   A g g r e g a t e d   A P I s   a r e   s u b o r d i n a t e   A P I   s e r v e r s   t h a t   s i t   b e h i n d   t h e   p r i m a r y   A P I   s e r v e r ,   w h i c h   a c t s   a s   a   p r o x y .   T h i s   a r r a n g e m e n t   i s   c a l l e d   A P I   A g g r e g a t i o n ( A A ) .   T o   u s e r s ,   t h e   K u b e r n e t e s   A P I   a p p e a r s   e x t e n d e d .   C R D s   a l l o w   u s e r s   t o   c r e a t e   n e w   t y p e s   o f   r e s o u r c e s   w i t h o u t   a d d i n g   a n o t h e r   A P I   s e r v e r .   Y o u   d o   n o t   n e e d   t o   u n d e r s t a n d   A P I   A g g r e g a t i o n   t o   u s e   C R D s .   R e g a r d l e s s   o f   h o w   t h e y   a r e   i n s t a l l e d ,   t h e   n e w   r e s o u r c e s   a r e   r e f e r r e d   t o   a s   C u s t o m   R e s o u r c e s   t o   d i s t i n g u i s h   t h e m   f r o m   b u i l t - i n   K u b e r n e t e s   r e s o u r c e s   ( l i k e   p o d s ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13476"
  },
  {
    "question": "What is Note:?",
    "answer": "A v o i d   u s i n g   a   C u s t o m   R e s o u r c e   a s   d a t a   s t o r a g e   f o r   a p p l i c a t i o n ,   e n d   u s e r ,   o r   m o n i t o r i n g   d a t a :   a r c h i t e c t u r e   d e s i g n s   t h a t   s t o r e   a p p l i c a t i o n   d a t a   w i t h i n   t h e   K u b e r n e t e s   A P I   t y p i c a l l y   r e p r e s e n t   a   d e s i g n   t h a t   i s   t o o   c l o s e l y   c o u p l e d .   A r c h i t e c t u r a l l y ,   c l o u d   n a t i v e   a p p l i c a t i o n   a r c h i t e c t u r e s   f a v o r   l o o s e   c o u p l i n g   b e t w e e n   c o m p o n e n t s .   I f   p a r t   o f   y o u r   w o r k l o a d   r e q u i r e s   a   b a c k i n g   s e r v i c e   f o r   i t s   r o u t i n e   o p e r a t i o n ,   r u n   t h a t   b a c k i n g   s e r v i c e   a s   a   c o m p o n e n t   o r   c o n s u m e   i t   a s   a n   e x t e r n a l   s e r v i c e .   T h i s   w a y ,   y o u r   w o r k l o a d   d o e s   n o t   r e l y   o n   t h e   K u b e r n e t e s   A P I   f o r   i t s   n o r m a l   o p e r a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_4_13477"
  },
  {
    "question": "What is CustomResourceDefinitions?",
    "answer": "T h e   C u s t o m R e s o u r c e D e f i n i t i o n   A P I   r e s o u r c e   a l l o w s   y o u   t o   d e f i n e   c u s t o m   r e s o u r c e s .   D e f i n i n g   a   C R D   o b j e c t   c r e a t e s   a   n e w   c u s t o m   r e s o u r c e   w i t h   a   n a m e   a n d   s c h e m a   t h a t   y o u   s p e c i f y .   T h e   K u b e r n e t e s   A P I   s e r v e s   a n d   h a n d l e s   t h e   s t o r a g e   o f   y o u r   c u s t o m   r e s o u r c e .   T h e   n a m e   o f   t h e   C R D   o b j e c t   i t s e l f   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e   d e r i v e d   f r o m   t h e   d e f i n e d   r e s o u r c e   n a m e   a n d   i t s   A P I   g r o u p ;   s e e   h o w   t o   c r e a t e   a   C R D   f o r   m o r e   d e t a i l s .   F u r t h e r ,   t h e   n a m e   o f   a n   o b j e c t   w h o s e   k i n d / r e s o u r c e   i s   d e f i n e d   b y   a   C R D   m u s t   a l s o   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   T h i s   f r e e s   y o u   f r o m   w r i t i n g   y o u r   o w n   A P I   s e r v e r   t o   h a n d l e   t h e   c u s t o m   r e s o u r c e ,   b u t   t h e   g e n e r i c   n a t u r e   o f   t h e   i m p l e m e n t a t i o n   m e a n s   y o u   h a v e   l e s s   f l e x i b i l i t y   t h a n   w i t h   A P I   s e r v e r   a g g r e g a t i o n .   R e f e r   t o   t h e   c u s t o m   c o n t r o l l e r   e x a m p l e   f o r   a n   e x a m p l e   o f   h o w   t o   r e g i s t e r   a   n e w   c u s t o m   r e s o u r c e ,   w o r k   w i t h   i n s t a n c e s   o f   y o u r   n e w   r e s o u r c e   t y p e ,   a n d   u s e   a   c o n t r o l l e r   t o   h a n d l e   e v e n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13478"
  },
  {
    "question": "What is API server aggregation?",
    "answer": "U s u a l l y ,   e a c h   r e s o u r c e   i n   t h e   K u b e r n e t e s   A P I   r e q u i r e s   c o d e   t h a t   h a n d l e s   R E S T   r e q u e s t s   a n d   m a n a g e s   p e r s i s t e n t   s t o r a g e   o f   o b j e c t s .   T h e   m a i n   K u b e r n e t e s   A P I   s e r v e r   h a n d l e s   b u i l t - i n   r e s o u r c e s   l i k e   p o d s   a n d   s e r v i c e s ,   a n d   c a n   a l s o   g e n e r i c a l l y   h a n d l e   c u s t o m   r e s o u r c e s   t h r o u g h   C R D s .   T h e   a g g r e g a t i o n   l a y e r   a l l o w s   y o u   t o   p r o v i d e   s p e c i a l i z e d   i m p l e m e n t a t i o n s   f o r   y o u r   c u s t o m   r e s o u r c e s   b y   w r i t i n g   a n d   d e p l o y i n g   y o u r   o w n   A P I   s e r v e r .   T h e   m a i n   A P I   s e r v e r   d e l e g a t e s   r e q u e s t s   t o   y o u r   A P I   s e r v e r   f o r   t h e   c u s t o m   r e s o u r c e s   t h a t   y o u   h a n d l e ,   m a k i n g   t h e m   a v a i l a b l e   t o   a l l   o f   i t s   c l i e n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13479"
  },
  {
    "question": "What is Choosing a method for adding custom resources?",
    "answer": "C R D s   a r e   e a s i e r   t o   u s e .   A g g r e g a t e d   A P I s   a r e   m o r e   f l e x i b l e .   C h o o s e   t h e   m e t h o d   t h a t   b e s t   m e e t s   y o u r   n e e d s .   T y p i c a l l y ,   C R D s   a r e   a   g o o d   f i t   i f :   Y o u   h a v e   a   h a n d f u l   o f   f i e l d s Y o u   a r e   u s i n g   t h e   r e s o u r c e   w i t h i n   y o u r   c o m p a n y ,   o r   a s   p a r t   o f   a   s m a l l   o p e n - s o u r c e   p r o j e c t   ( a s   o p p o s e d   t o   a   c o m m e r c i a l   p r o d u c t )",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13480"
  },
  {
    "question": "What is Comparing ease of use?",
    "answer": "C R D s   a r e   e a s i e r   t o   c r e a t e   t h a n   A g g r e g a t e d   A P I s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13481"
  },
  {
    "question": "What is Advanced features and flexibility?",
    "answer": "A g g r e g a t e d   A P I s   o f f e r   m o r e   a d v a n c e d   A P I   f e a t u r e s   a n d   c u s t o m i z a t i o n   o f   o t h e r   f e a t u r e s ;   f o r   e x a m p l e ,   t h e   s t o r a g e   l a y e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13482"
  },
  {
    "question": "What is Common Features?",
    "answer": "W h e n   y o u   c r e a t e   a   c u s t o m   r e s o u r c e ,   e i t h e r   v i a   a   C R D   o r   a n   A A ,   y o u   g e t   m a n y   f e a t u r e s   f o r   y o u r   A P I ,   c o m p a r e d   t o   i m p l e m e n t i n g   i t   o u t s i d e   t h e   K u b e r n e t e s   p l a t f o r m :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13483"
  },
  {
    "question": "What is Preparing to install a custom resource?",
    "answer": "T h e r e   a r e   s e v e r a l   p o i n t s   t o   b e   a w a r e   o f   b e f o r e   a d d i n g   a   c u s t o m   r e s o u r c e   t o   y o u r   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13484"
  },
  {
    "question": "What is Third party code and new points of failure?",
    "answer": "W h i l e   c r e a t i n g   a   C R D   d o e s   n o t   a u t o m a t i c a l l y   a d d   a n y   n e w   p o i n t s   o f   f a i l u r e   ( f o r   e x a m p l e ,   b y   c a u s i n g   t h i r d   p a r t y   c o d e   t o   r u n   o n   y o u r   A P I   s e r v e r ) ,   p a c k a g e s   ( f o r   e x a m p l e ,   C h a r t s )   o r   o t h e r   i n s t a l l a t i o n   b u n d l e s   o f t e n   i n c l u d e   C R D s   a s   w e l l   a s   a   D e p l o y m e n t   o f   t h i r d - p a r t y   c o d e   t h a t   i m p l e m e n t s   t h e   b u s i n e s s   l o g i c   f o r   a   n e w   c u s t o m   r e s o u r c e .   I n s t a l l i n g   a n   A g g r e g a t e d   A P I   s e r v e r   a l w a y s   i n v o l v e s   r u n n i n g   a   n e w   D e p l o y m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13485"
  },
  {
    "question": "What is Storage?",
    "answer": "C u s t o m   r e s o u r c e s   c o n s u m e   s t o r a g e   s p a c e   i n   t h e   s a m e   w a y   t h a t   C o n f i g M a p s   d o .   C r e a t i n g   t o o   m a n y   c u s t o m   r e s o u r c e s   m a y   o v e r l o a d   y o u r   A P I   s e r v e r ' s   s t o r a g e   s p a c e .   A g g r e g a t e d   A P I   s e r v e r s   m a y   u s e   t h e   s a m e   s t o r a g e   a s   t h e   m a i n   A P I   s e r v e r ,   i n   w h i c h   c a s e   t h e   s a m e   w a r n i n g   a p p l i e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13486"
  },
  {
    "question": "What is Authentication, authorization, and auditing?",
    "answer": "C R D s   a l w a y s   u s e   t h e   s a m e   a u t h e n t i c a t i o n ,   a u t h o r i z a t i o n ,   a n d   a u d i t   l o g g i n g   a s   t h e   b u i l t - i n   r e s o u r c e s   o f   y o u r   A P I   s e r v e r .   I f   y o u   u s e   R B A C   f o r   a u t h o r i z a t i o n ,   m o s t   R B A C   r o l e s   w i l l   n o t   g r a n t   a c c e s s   t o   t h e   n e w   r e s o u r c e s   ( e x c e p t   t h e   c l u s t e r - a d m i n   r o l e   o r   a n y   r o l e   c r e a t e d   w i t h   w i l d c a r d   r u l e s ) .   Y o u ' l l   n e e d   t o   e x p l i c i t l y   g r a n t   a c c e s s   t o   t h e   n e w   r e s o u r c e s .   C R D s   a n d   A g g r e g a t e d   A P I s   o f t e n   c o m e   b u n d l e d   w i t h   n e w   r o l e   d e f i n i t i o n s   f o r   t h e   t y p e s   t h e y   a d d .   A g g r e g a t e d   A P I   s e r v e r s   m a y   o r   m a y   n o t   u s e   t h e   s a m e   a u t h e n t i c a t i o n ,   a u t h o r i z a t i o n ,   a n d   a u d i t i n g   a s   t h e   p r i m a r y   A P I   s e r v e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13487"
  },
  {
    "question": "What is Accessing a custom resource?",
    "answer": "K u b e r n e t e s   c l i e n t   l i b r a r i e s   c a n   b e   u s e d   t o   a c c e s s   c u s t o m   r e s o u r c e s .   N o t   a l l   c l i e n t   l i b r a r i e s   s u p p o r t   c u s t o m   r e s o u r c e s .   T h e   G o   a n d   P y t h o n   c l i e n t   l i b r a r i e s   d o .   W h e n   y o u   a d d   a   c u s t o m   r e s o u r c e ,   y o u   c a n   a c c e s s   i t   u s i n g :   k u b e c t l T h e   K u b e r n e t e s   d y n a m i c   c l i e n t . A   R E S T   c l i e n t   t h a t   y o u   w r i t e . A   c l i e n t   g e n e r a t e d   u s i n g   K u b e r n e t e s   c l i e n t   g e n e r a t i o n   t o o l s   ( g e n e r a t i n g   o n e   i s   a n   a d v a n c e d   u n d e r t a k i n g ,   b u t   s o m e   p r o j e c t s   m a y   p r o v i d e   a   c l i e n t   a l o n g   w i t h   t h e   C R D   o r   A A ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13488"
  },
  {
    "question": "What is Custom resource field selectors?",
    "answer": "F i e l d   S e l e c t o r s   l e t   c l i e n t s   s e l e c t   c u s t o m   r e s o u r c e s   b a s e d   o n   t h e   v a l u e   o f   o n e   o r   m o r e   r e s o u r c e   f i e l d s .   A l l   c u s t o m   r e s o u r c e s   s u p p o r t   t h e   m e t a d a t a . n a m e   a n d   m e t a d a t a . n a m e s p a c e   f i e l d   s e l e c t o r s .   F i e l d s   d e c l a r e d   i n   a   C u s t o m R e s o u r c e D e f i n i t i o n   m a y   a l s o   b e   u s e d   w i t h   f i e l d   s e l e c t o r s   w h e n   i n c l u d e d   i n   t h e   s p e c . v e r s i o n s [ * ] . s e l e c t a b l e F i e l d s   f i e l d   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13489"
  },
  {
    "question": "What is Selectable fields for custom resources?",
    "answer": "T h e   s p e c . v e r s i o n s [ * ] . s e l e c t a b l e F i e l d s   f i e l d   o f   a   C u s t o m R e s o u r c e D e f i n i t i o n   m a y   b e   u s e d   t o   d e c l a r e   w h i c h   o t h e r   f i e l d s   i n   a   c u s t o m   r e s o u r c e   m a y   b e   u s e d   i n   f i e l d   s e l e c t o r s .   T h e   f o l l o w i n g   e x a m p l e   a d d s   t h e   . s p e c . c o l o r   a n d   . s p e c . s i z e   f i e l d s   a s   s e l e c t a b l e   f i e l d s .   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   m e t a d a t a :   n a m e :   s h i r t s . s t a b l e . e x a m p l e . c o m   s p e c :   g r o u p :   s t a b l e . e x a m p l e . c o m   s c o p e :   N a m e s p a c e d   n a m e s :   p l u r a l :   s h i r t s   s i n g u l a r :   s h i r t   k i n d :   S h i r t   v e r s i o n s :   -   n a m e :   v 1   s e r v e d :   t r u e   s t o r a g e :   t r u e   s c h e m a :   o p e n A P I V 3 S c h e m a :   t y p e :   o b j e c t   p r o p e r t i e s :   s p e c :   t y p e :   o b j e c t   p r o p e r t i e s :   c o l o r :   t y p e :   s t r i n g   s i z e :   t y p e :   s t r i n g   s e l e c t a b l e F i e l d s :   -   j s o n P a t h :   . s p e c . c o l o r   -   j s o n P a t h :   . s p e c . s i z e   a d d i t i o n a l P r i n t e r C o l u m n s :   -   j s o n P a t h :   . s p e c . c o l o r   n a m e :   C o l o r   t y p e :   s t r i n g   -   j s o n P a t h :   . s p e c . s i z e   n a m e :   S i z e   t y p e :   s t r i n g   F i e l d   s e l e c t o r s   c a n   t h e n   b e   u s e d   t o   g e t   o n l y   r e s o u r c e s   w i t h   a   c o l o r   o f   b l u e :   k u b e c t l   g e t   s h i r t s . s t a b l e . e x a m p l e . c o m   - - f i e l d - s e l e c t o r   s p e c . c o l o r = b l u e   T h e   o u t p u t   s h o u l d   b e :   N A M E   C O L O R ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13490"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   E x t e n d   t h e   K u b e r n e t e s   A P I   w i t h   t h e   a g g r e g a t i o n   l a y e r . L e a r n   h o w   t o   E x t e n d   t h e   K u b e r n e t e s   A P I   w i t h   C u s t o m R e s o u r c e D e f i n i t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13491"
  },
  {
    "question": "What is 13.2.2 - Kubernetes API Aggregation Layer?",
    "answer": "T h e   a g g r e g a t i o n   l a y e r   a l l o w s   K u b e r n e t e s   t o   b e   e x t e n d e d   w i t h   a d d i t i o n a l   A P I s ,   b e y o n d   w h a t   i s   o f f e r e d   b y   t h e   c o r e   K u b e r n e t e s   A P I s .   T h e   a d d i t i o n a l   A P I s   c a n   e i t h e r   b e   r e a d y - m a d e   s o l u t i o n s   s u c h   a s   a   m e t r i c s   s e r v e r ,   o r   A P I s   t h a t   y o u   d e v e l o p   y o u r s e l f .   T h e   a g g r e g a t i o n   l a y e r   i s   d i f f e r e n t   f r o m   C u s t o m   R e s o u r c e   D e f i n i t i o n s ,   w h i c h   a r e   a   w a y   t o   m a k e   t h e   k u b e - a p i s e r v e r   r e c o g n i s e   n e w   k i n d s   o f   o b j e c t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13492"
  },
  {
    "question": "What is Aggregation layer?",
    "answer": "T h e   a g g r e g a t i o n   l a y e r   r u n s   i n - p r o c e s s   w i t h   t h e   k u b e - a p i s e r v e r .   U n t i l   a n   e x t e n s i o n   r e s o u r c e   i s   r e g i s t e r e d ,   t h e   a g g r e g a t i o n   l a y e r   w i l l   d o   n o t h i n g .   T o   r e g i s t e r   a n   A P I ,   y o u   a d d   a n   A P I S e r v i c e   o b j e c t ,   w h i c h   \" c l a i m s \"   t h e   U R L   p a t h   i n   t h e   K u b e r n e t e s   A P I .   A t   t h a t   p o i n t ,   t h e   a g g r e g a t i o n   l a y e r   w i l l   p r o x y   a n y t h i n g   s e n t   t o   t h a t   A P I   p a t h   ( e . g .   / a p i s / m y e x t e n s i o n . m y c o m p a n y . i o / v 1 / … )   t o   t h e   r e g i s t e r e d   A P I S e r v i c e .   T h e   m o s t   c o m m o n   w a y   t o   i m p l e m e n t   t h e   A P I S e r v i c e   i s   t o   r u n   a n   e x t e n s i o n   A P I   s e r v e r   i n   P o d ( s )   t h a t   r u n   i n   y o u r   c l u s t e r .   I f   y o u ' r e   u s i n g   t h e   e x t e n s i o n   A P I   s e r v e r   t o   m a n a g e   r e s o u r c e s   i n   y o u r   c l u s t e r ,   t h e   e x t e n s i o n   A P I   s e r v e r   ( a l s o   w r i t t e n   a s   \" e x t e n s i o n - a p i s e r v e r \" )   i s   t y p i c a l l y   p a i r e d   w i t h   o n e   o r   m o r e   c o n t r o l l e r s .   T h e   a p i s e r v e r - b u i l d e r   l i b r a r y   p r o v i d e s   a   s k e l e t o n   f o r   b o t h   e x t e n s i o n   A P I   s e r v e r s   a n d   t h e   a s s o c i a t e d   c o n t r o l l e r ( s ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13493"
  },
  {
    "question": "What is Response latency?",
    "answer": "E x t e n s i o n   A P I   s e r v e r s   s h o u l d   h a v e   l o w   l a t e n c y   n e t w o r k i n g   t o   a n d   f r o m   t h e   k u b e - a p i s e r v e r .   D i s c o v e r y   r e q u e s t s   a r e   r e q u i r e d   t o   r o u n d - t r i p   f r o m   t h e   k u b e - a p i s e r v e r   i n   f i v e   s e c o n d s   o r   l e s s .   I f   y o u r   e x t e n s i o n   A P I   s e r v e r   c a n n o t   a c h i e v e   t h a t   l a t e n c y   r e q u i r e m e n t ,   c o n s i d e r   m a k i n g   c h a n g e s   t h a t   l e t   y o u   m e e t   i t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_3_13494"
  },
  {
    "question": "What is What's next?",
    "answer": "T o   g e t   t h e   a g g r e g a t o r   w o r k i n g   i n   y o u r   e n v i r o n m e n t ,   c o n f i g u r e   t h e   a g g r e g a t i o n   l a y e r . T h e n ,   s e t u p   a n   e x t e n s i o n   a p i - s e r v e r   t o   w o r k   w i t h   t h e   a g g r e g a t i o n   l a y e r . R e a d   a b o u t   A P I S e r v i c e   i n   t h e   A P I   r e f e r e n c e L e a r n   a b o u t   D e c l a r a t i v e   V a l i d a t i o n   C o n c e p t s ,   a n   i n t e r n a l   m e c h a n i s m   f o r   d e f i n i n g   v a l i d a t i o n   r u l e s   t h a t   i n   t h e   f u t u r e   w i l l   h e l p   s u p p o r t   v a l i d a t i o n   f o r   e x t e n s i o n   A P I   s e r v e r   d e v e l o p m e n t .   A l t e r n a t i v e l y :   l e a r n   h o w   t o   e x t e n d   t h e   K u b e r n e t e s   A P I   u s i n g   C u s t o m   R e s o u r c e   D e f i n i t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13495"
  },
  {
    "question": "What is 13.3 - Operator pattern?",
    "answer": "O p e r a t o r s   a r e   s o f t w a r e   e x t e n s i o n s   t o   K u b e r n e t e s   t h a t   m a k e   u s e   o f   c u s t o m   r e s o u r c e s   t o   m a n a g e   a p p l i c a t i o n s   a n d   t h e i r   c o m p o n e n t s .   O p e r a t o r s   f o l l o w   K u b e r n e t e s   p r i n c i p l e s ,   n o t a b l y   t h e   c o n t r o l   l o o p .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_1_13496"
  },
  {
    "question": "What is Motivation?",
    "answer": "T h e   o p e r a t o r   p a t t e r n   a i m s   t o   c a p t u r e   t h e   k e y   a i m   o f   a   h u m a n   o p e r a t o r   w h o   i s   m a n a g i n g   a   s e r v i c e   o r   s e t   o f   s e r v i c e s .   H u m a n   o p e r a t o r s   w h o   l o o k   a f t e r   s p e c i f i c   a p p l i c a t i o n s   a n d   s e r v i c e s   h a v e   d e e p   k n o w l e d g e   o f   h o w   t h e   s y s t e m   o u g h t   t o   b e h a v e ,   h o w   t o   d e p l o y   i t ,   a n d   h o w   t o   r e a c t   i f   t h e r e   a r e   p r o b l e m s .   P e o p l e   w h o   r u n   w o r k l o a d s   o n   K u b e r n e t e s   o f t e n   l i k e   t o   u s e   a u t o m a t i o n   t o   t a k e   c a r e   o f   r e p e a t a b l e   t a s k s .   T h e   o p e r a t o r   p a t t e r n   c a p t u r e s   h o w   y o u   c a n   w r i t e   c o d e   t o   a u t o m a t e   a   t a s k   b e y o n d   w h a t   K u b e r n e t e s   i t s e l f   p r o v i d e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13497"
  },
  {
    "question": "What is Operators in Kubernetes?",
    "answer": "K u b e r n e t e s   i s   d e s i g n e d   f o r   a u t o m a t i o n .   O u t   o f   t h e   b o x ,   y o u   g e t   l o t s   o f   b u i l t - i n   a u t o m a t i o n   f r o m   t h e   c o r e   o f   K u b e r n e t e s .   Y o u   c a n   u s e   K u b e r n e t e s   t o   a u t o m a t e   d e p l o y i n g   a n d   r u n n i n g   w o r k l o a d s ,   a n d   y o u   c a n   a u t o m a t e   h o w   K u b e r n e t e s   d o e s   t h a t .   K u b e r n e t e s '   o p e r a t o r   p a t t e r n   c o n c e p t   l e t s   y o u   e x t e n d   t h e   c l u s t e r ' s   b e h a v i o u r   w i t h o u t   m o d i f y i n g   t h e   c o d e   o f   K u b e r n e t e s   i t s e l f   b y   l i n k i n g   c o n t r o l l e r s   t o   o n e   o r   m o r e   c u s t o m   r e s o u r c e s .   O p e r a t o r s   a r e   c l i e n t s   o f   t h e   K u b e r n e t e s   A P I   t h a t   a c t   a s   c o n t r o l l e r s   f o r   a   C u s t o m   R e s o u r c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13498"
  },
  {
    "question": "What is An example operator?",
    "answer": "S o m e   o f   t h e   t h i n g s   t h a t   y o u   c a n   u s e   a n   o p e r a t o r   t o   a u t o m a t e   i n c l u d e :   d e p l o y i n g   a n   a p p l i c a t i o n   o n   d e m a n d t a k i n g   a n d   r e s t o r i n g   b a c k u p s   o f   t h a t   a p p l i c a t i o n ' s   s t a t e h a n d l i n g   u p g r a d e s   o f   t h e   a p p l i c a t i o n   c o d e   a l o n g s i d e   r e l a t e d   c h a n g e s   s u c h   a s   d a t a b a s e   s c h e m a s   o r   e x t r a   c o n f i g u r a t i o n   s e t t i n g s p u b l i s h i n g   a   S e r v i c e   t o   a p p l i c a t i o n s   t h a t   d o n ' t   s u p p o r t   K u b e r n e t e s   A P I s   t o   d i s c o v e r   t h e m s i m u l a t i n g   f a i l u r e   i n   a l l   o r   p a r t   o f   y o u r   c l u s t e r   t o   t e s t   i t s   r e s i l i e n c e c h o o s i n g   a   l e a d e r   f o r   a   d i s t r i b u t e d   a p p l i c a t i o n   w i t h o u t   a n   i n t e r n a l   m e m b e r   e l e c t i o n   p r o c e s s   W h a t   m i g h t   a n   o p e r a t o r   l o o k   l i k e   i n   m o r e   d e t a i l ?   H e r e ' s   a n   e x a m p l e :   A   c u s t o m   r e s o u r c e   n a m e d   S a m p l e D B ,   t h a t   y o u   c a n   c o n f i g u r e   i n t o   t h e   c l u s t e r . A   D e p l o y m e n t   t h a t   m a k e s   s u r e   a   P o d   i s   r u n n i n g   t h a t   c o n t a i n s   t h e   c o n t r o l l e r   p a r t   o f   t h e   o p e r a t o r . A   c o n t a i n e r   i m a g e   o f   t h e   o p e r a t o r   c o d e . C o n t r o l l e r   c o d e   t h a t   q u e r i e s   t h e   c o n t r o l   p l a n e   t o   f i n d   o u t   w h a t   S a m p l e D B   r e s o u r c e s   a r e   c o n f i g u r e d . T h e   c o r e   o f   t h e   o p e r a t o r   i s   c o d e   t o   t e l l   t h e   A P I   s e r v e r   h o w   t o   m a k e   r e a l i t y   m a t c h   t h e   c o n f ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13499"
  },
  {
    "question": "What is Deploying operators?",
    "answer": "T h e   m o s t   c o m m o n   w a y   t o   d e p l o y   a n   o p e r a t o r   i s   t o   a d d   t h e   C u s t o m   R e s o u r c e   D e f i n i t i o n   a n d   i t s   a s s o c i a t e d   C o n t r o l l e r   t o   y o u r   c l u s t e r .   T h e   C o n t r o l l e r   w i l l   n o r m a l l y   r u n   o u t s i d e   o f   t h e   c o n t r o l   p l a n e ,   m u c h   a s   y o u   w o u l d   r u n   a n y   c o n t a i n e r i z e d   a p p l i c a t i o n .   F o r   e x a m p l e ,   y o u   c a n   r u n   t h e   c o n t r o l l e r   i n   y o u r   c l u s t e r   a s   a   D e p l o y m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13500"
  },
  {
    "question": "What is Using an operator?",
    "answer": "O n c e   y o u   h a v e   a n   o p e r a t o r   d e p l o y e d ,   y o u ' d   u s e   i t   b y   a d d i n g ,   m o d i f y i n g   o r   d e l e t i n g   t h e   k i n d   o f   r e s o u r c e   t h a t   t h e   o p e r a t o r   u s e s .   F o l l o w i n g   t h e   a b o v e   e x a m p l e ,   y o u   w o u l d   s e t   u p   a   D e p l o y m e n t   f o r   t h e   o p e r a t o r   i t s e l f ,   a n d   t h e n :   k u b e c t l   g e t   S a m p l e D B   #   f i n d   c o n f i g u r e d   d a t a b a s e s   k u b e c t l   e d i t   S a m p l e D B / e x a m p l e - d a t a b a s e   #   m a n u a l l y   c h a n g e   s o m e   s e t t i n g s   … a n d   t h a t ' s   i t !   T h e   o p e r a t o r   w i l l   t a k e   c a r e   o f   a p p l y i n g   t h e   c h a n g e s   a s   w e l l   a s   k e e p i n g   t h e   e x i s t i n g   s e r v i c e   i n   g o o d   s h a p e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13501"
  },
  {
    "question": "What is Writing your own operator?",
    "answer": "I f   t h e r e   i s n ' t   a n   o p e r a t o r   i n   t h e   e c o s y s t e m   t h a t   i m p l e m e n t s   t h e   b e h a v i o r   y o u   w a n t ,   y o u   c a n   c o d e   y o u r   o w n .   Y o u   a l s o   i m p l e m e n t   a n   o p e r a t o r   ( t h a t   i s ,   a   C o n t r o l l e r )   u s i n g   a n y   l a n g u a g e   /   r u n t i m e   t h a t   c a n   a c t   a s   a   c l i e n t   f o r   t h e   K u b e r n e t e s   A P I .   F o l l o w i n g   a r e   a   f e w   l i b r a r i e s   a n d   t o o l s   y o u   c a n   u s e   t o   w r i t e   y o u r   o w n   c l o u d   n a t i v e   o p e r a t o r .   C h a r m e d   O p e r a t o r   F r a m e w o r k J a v a   O p e r a t o r   S D K K o p f   ( K u b e r n e t e s   O p e r a t o r   P y t h o n i c   F r a m e w o r k ) k u b e - r s   ( R u s t ) k u b e b u i l d e r K u b e O p s   ( . N E T   o p e r a t o r   S D K ) M a s t M e t a c o n t r o l l e r   a l o n g   w i t h   W e b H o o k s   t h a t   y o u   i m p l e m e n t   y o u r s e l f O p e r a t o r   F r a m e w o r k s h e l l - o p e r a t o r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13502"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   t h e   C N C F   O p e r a t o r   W h i t e   P a p e r . L e a r n   m o r e   a b o u t   C u s t o m   R e s o u r c e s F i n d   r e a d y - m a d e   o p e r a t o r s   o n   O p e r a t o r H u b . i o   t o   s u i t   y o u r   u s e   c a s e P u b l i s h   y o u r   o p e r a t o r   f o r   o t h e r   p e o p l e   t o   u s e R e a d   C o r e O S '   o r i g i n a l   a r t i c l e   t h a t   i n t r o d u c e d   t h e   o p e r a t o r   p a t t e r n   ( t h i s   i s   a n   a r c h i v e d   v e r s i o n   o f   t h e   o r i g i n a l   a r t i c l e ) . R e a d   a n   a r t i c l e   f r o m   G o o g l e   C l o u d   a b o u t   b e s t   p r a c t i c e s   f o r   b u i l d i n g   o p e r a t o r s   ©   2 0 2 5   T h e   K u b e r n e t e s   A u t h o r s   |   D o c u m e n t a t i o n   D i s t r i b u t e d   u n d e r   C C   B Y   4 . 0   ©   2 0 2 5   T h e   L i n u x   F o u n d a t i o n   ® .   A l l   r i g h t s   r e s e r v e d .   T h e   L i n u x   F o u n d a t i o n   h a s   r e g i s t e r e d   t r a d e m a r k s   a n d   u s e s   t r a d e m a r k s .   F o r   a   l i s t   o f   t r a d e m a r k s   o f   T h e   L i n u x   F o u n d a t i o n ,   p l e a s e   s e e   o u r   T r a d e m a r k   U s a g e   p a g e   I C P   l i c e n s e :   京 I C P 备 1 7 0 7 4 2 6 6 号 - 3",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/_print/",
    "id": "k8s_00617_section_2_13503"
  },
  {
    "question": "What is GETTING STARTED?",
    "answer": "Kubectl Reference Docs GETTING STARTEDcreateclusterroleclusterrolebindingconfigmapcronjobdeploymentingressjobnamespacepoddisruptionbudgetpriorityclassquotarolerolebindingsecretsecret docker-registrysecret genericsecret tlsserviceservice clusteripservice externalnameservice loadbalancerservice nodeportserviceaccountgetrunexposedeleteAPP MANAGEMENTapplyedit-last-appliedset-last-appliedview-last-appliedannotateautoscaledebugdiffeditkustomizelabelpatchreplacerollouthistorypauserestartresumestatusundoscalesetenvimageresourcesselectorserviceaccountsubjectwaitWORKING WITH APPSattachauthcan-ireconcilecpdescribeexeclogsport-forwardproxytopnodepodCLUSTER MANAGEMENTapi-versionscertificateapprovedenycluster-infodumpcordondraintaintuncordonKUBECTL SETTINGS AND USAGEalphaapi-resourcescompletionconfigcurrent-contextdelete-clusterdelete-contextdelete-userget-clustersget-contextsget-usersrename-contextsetset-clusterset-contextset-credentialsunsetuse-contextviewexplainoptionspluginlistversionCopyright 2020 The Kubernetes Authors. example GETTING STARTED This section contains the most basic commands for getting a workload running on your cluster. run will start running 1 or more instances of a container image on your cluster. expose will load balance traffic across the running instances, and can create a HA proxy for accessing the containers from outside the cluster. Once your workloads are running, you can use the commands in the WORKING WITH APPS section to inspect them. create Create a pod using the data in pod.json kubectl create -f ./pod.json Create a pod based on the JSON passed into stdin cat pod.json | kubectl create -f - Edit the data in docker-registry.yaml in JSON then create the resource using the edited data kubectl create -f docker-registry.yaml --edit -o json Create a resource from a file or from stdin. JSON and YAML formats are accepted. Usage $ kubectl create -f FILENAME Flags Name Shorthand Default Usage allow-missing-template-keys true If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats. dry-run none Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource. edit false Edit the API resource before creating field-manager kubectl-create Name of the manager used to track field ownership. filename f [] Filename, directory, or URL to files to use to create the resource kustomize k Process the kustomization directory. This flag can't be used together with -f or -R. output o Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file. raw Raw URI to POST to the server. Uses the transport specified by the kubeconfig file. record false Record current kubectl command in the resource annotation. If set to false, do not record the command. If set to true, record",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_qa_13504"
  },
  {
    "question": "How does GETTING STARTED work?",
    "answer": "Kubectl Reference Docs GETTING STARTEDcreateclusterroleclusterrolebindingconfigmapcronjobdeploymentingressjobnamespacepoddisruptionbudgetpriorityclassquotarolerolebindingsecretsecret docker-registrysecret genericsecret tlsserviceservice clusteripservice externalnameservice loadbalancerservice nodeportserviceaccountgetrunexposedeleteAPP MANAGEMENTapplyedit-last-appliedset-last-appliedview-last-appliedannotateautoscaledebugdiffeditkustomizelabelpatchreplacerollouthistorypauserestartresumestatusundoscalesetenvimageresourcesselectorserviceaccountsubjectwaitWORKING WITH APPSattachauthcan-ireconcilecpdescribeexeclogsport-forwardproxytopnodepodCLUSTER MANAGEMENTapi-versionscertificateapprovedenycluster-infodumpcordondraintaintuncordonKUBECTL SETTINGS AND USAGEalphaapi-resourcescompletionconfigcurrent-contextdelete-clusterdelete-contextdelete-userget-clustersget-contextsget-usersrename-contextsetset-clusterset-contextset-credentialsunsetuse-contextviewexplainoptionspluginlistversionCopyright 2020 The Kubernetes Authors. example GETTING STARTED This section contains the most basic commands for getting a workload running on your cluster. run will start running 1 or more instances of a container image on your cluster. expose will load balance traffic across the running instances, and can create a HA proxy for accessing the containers from outside the cluster. Once your workloads are running, you can use the commands in the WORKING WITH APPS section to inspect them. create Create a pod using the data in pod.json kubectl create -f ./pod.json Create a pod based on the JSON passed into stdin cat pod.json | kubectl create -f - Edit the data in docker-registry.yaml in JSON then create the resource using the edited data kubectl create -f docker-registry.yaml --edit -o json Create a resource from a file or from stdin. JSON and YAML formats are accepted. Usage $ kubectl create -f FILENAME Flags Name Shorthand Default Usage allow-missing-template-keys true If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats. dry-run none Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource. edit false Edit the API resource before creating field-manager kubectl-create Name of the manager used to track field ownership. filename f [] Filename, directory, or URL to files to use to create the resource kustomize k Process the kustomization directory. This flag can't be used together with -f or -R. output o Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file. raw Raw URI to POST to the server. Uses the transport specified by the kubeconfig file. record false Record current kubectl command in the resource annotation. If set to false, do not record the command. If set to true, record",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_qa_13505"
  },
  {
    "question": "When would you use GETTING STARTED?",
    "answer": "Kubectl Reference Docs GETTING STARTEDcreateclusterroleclusterrolebindingconfigmapcronjobdeploymentingressjobnamespacepoddisruptionbudgetpriorityclassquotarolerolebindingsecretsecret docker-registrysecret genericsecret tlsserviceservice clusteripservice externalnameservice loadbalancerservice nodeportserviceaccountgetrunexposedeleteAPP MANAGEMENTapplyedit-last-appliedset-last-appliedview-last-appliedannotateautoscaledebugdiffeditkustomizelabelpatchreplacerollouthistorypauserestartresumestatusundoscalesetenvimageresourcesselectorserviceaccountsubjectwaitWORKING WITH APPSattachauthcan-ireconcilecpdescribeexeclogsport-forwardproxytopnodepodCLUSTER MANAGEMENTapi-versionscertificateapprovedenycluster-infodumpcordondraintaintuncordonKUBECTL SETTINGS AND USAGEalphaapi-resourcescompletionconfigcurrent-contextdelete-clusterdelete-contextdelete-userget-clustersget-contextsget-usersrename-contextsetset-clusterset-contextset-credentialsunsetuse-contextviewexplainoptionspluginlistversionCopyright 2020 The Kubernetes Authors. example GETTING STARTED This section contains the most basic commands for getting a workload running on your cluster. run will start running 1 or more instances of a container image on your cluster. expose will load balance traffic across the running instances, and can create a HA proxy for accessing the containers from outside the cluster. Once your workloads are running, you can use the commands in the WORKING WITH APPS section to inspect them. create Create a pod using the data in pod.json kubectl create -f ./pod.json Create a pod based on the JSON passed into stdin cat pod.json | kubectl create -f - Edit the data in docker-registry.yaml in JSON then create the resource using the edited data kubectl create -f docker-registry.yaml --edit -o json Create a resource from a file or from stdin. JSON and YAML formats are accepted. Usage $ kubectl create -f FILENAME Flags Name Shorthand Default Usage allow-missing-template-keys true If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats. dry-run none Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource. edit false Edit the API resource before creating field-manager kubectl-create Name of the manager used to track field ownership. filename f [] Filename, directory, or URL to files to use to create the resource kustomize k Process the kustomization directory. This flag can't be used together with -f or -R. output o Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file. raw Raw URI to POST to the server. Uses the transport specified by the kubeconfig file. record false Record current kubectl command in the resource annotation. If set to false, do not record the command. If set to true, record",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_qa_13506"
  },
  {
    "question": "What are the benefits of GETTING STARTED?",
    "answer": "Kubectl Reference Docs GETTING STARTEDcreateclusterroleclusterrolebindingconfigmapcronjobdeploymentingressjobnamespacepoddisruptionbudgetpriorityclassquotarolerolebindingsecretsecret docker-registrysecret genericsecret tlsserviceservice clusteripservice externalnameservice loadbalancerservice nodeportserviceaccountgetrunexposedeleteAPP MANAGEMENTapplyedit-last-appliedset-last-appliedview-last-appliedannotateautoscaledebugdiffeditkustomizelabelpatchreplacerollouthistorypauserestartresumestatusundoscalesetenvimageresourcesselectorserviceaccountsubjectwaitWORKING WITH APPSattachauthcan-ireconcilecpdescribeexeclogsport-forwardproxytopnodepodCLUSTER MANAGEMENTapi-versionscertificateapprovedenycluster-infodumpcordondraintaintuncordonKUBECTL SETTINGS AND USAGEalphaapi-resourcescompletionconfigcurrent-contextdelete-clusterdelete-contextdelete-userget-clustersget-contextsget-usersrename-contextsetset-clusterset-contextset-credentialsunsetuse-contextviewexplainoptionspluginlistversionCopyright 2020 The Kubernetes Authors. example GETTING STARTED This section contains the most basic commands for getting a workload running on your cluster. run will start running 1 or more instances of a container image on your cluster. expose will load balance traffic across the running instances, and can create a HA proxy for accessing the containers from outside the cluster. Once your workloads are running, you can use the commands in the WORKING WITH APPS section to inspect them. create Create a pod using the data in pod.json kubectl create -f ./pod.json Create a pod based on the JSON passed into stdin cat pod.json | kubectl create -f - Edit the data in docker-registry.yaml in JSON then create the resource using the edited data kubectl create -f docker-registry.yaml --edit -o json Create a resource from a file or from stdin. JSON and YAML formats are accepted. Usage $ kubectl create -f FILENAME Flags Name Shorthand Default Usage allow-missing-template-keys true If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats. dry-run none Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource. edit false Edit the API resource before creating field-manager kubectl-create Name of the manager used to track field ownership. filename f [] Filename, directory, or URL to files to use to create the resource kustomize k Process the kustomization directory. This flag can't be used together with -f or -R. output o Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file. raw Raw URI to POST to the server. Uses the transport specified by the kubeconfig file. record false Record current kubectl command in the resource annotation. If set to false, do not record the command. If set to true, record",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_qa_13507"
  },
  {
    "question": "What is GETTING STARTED?",
    "answer": "T h i s   s e c t i o n   c o n t a i n s   t h e   m o s t   b a s i c   c o m m a n d s   f o r   g e t t i n g   a   w o r k l o a d   r u n n i n g   o n   y o u r   c l u s t e r .   r u n   w i l l   s t a r t   r u n n i n g   1   o r   m o r e   i n s t a n c e s   o f   a   c o n t a i n e r   i m a g e   o n   y o u r   c l u s t e r .   e x p o s e   w i l l   l o a d   b a l a n c e   t r a f f i c   a c r o s s   t h e   r u n n i n g   i n s t a n c e s ,   a n d   c a n   c r e a t e   a   H A   p r o x y   f o r   a c c e s s i n g   t h e   c o n t a i n e r s   f r o m   o u t s i d e   t h e   c l u s t e r .   O n c e   y o u r   w o r k l o a d s   a r e   r u n n i n g ,   y o u   c a n   u s e   t h e   c o m m a n d s   i n   t h e   W O R K I N G   W I T H   A P P S   s e c t i o n   t o   i n s p e c t   t h e m .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13508"
  },
  {
    "question": "What is create?",
    "answer": "C r e a t e   a   p o d   u s i n g   t h e   d a t a   i n   p o d . j s o n   k u b e c t l   c r e a t e   - f   . / p o d . j s o n   C r e a t e   a   p o d   b a s e d   o n   t h e   J S O N   p a s s e d   i n t o   s t d i n   c a t   p o d . j s o n   |   k u b e c t l   c r e a t e   - f   -   E d i t   t h e   d a t a   i n   d o c k e r - r e g i s t r y . y a m l   i n   J S O N   t h e n   c r e a t e   t h e   r e s o u r c e   u s i n g   t h e   e d i t e d   d a t a   k u b e c t l   c r e a t e   - f   d o c k e r - r e g i s t r y . y a m l   - - e d i t   - o   j s o n   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n .   J S O N   a n d   Y A M L   f o r m a t s   a r e   a c c e p t e d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13509"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   - f   F I L E N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13510"
  },
  {
    "question": "What is clusterrole?",
    "answer": "C r e a t e   a   c l u s t e r   r o l e   n a m e d   \" p o d - r e a d e r \"   t h a t   a l l o w s   u s e r   t o   p e r f o r m   \" g e t \" ,   \" w a t c h \"   a n d   \" l i s t \"   o n   p o d s   k u b e c t l   c r e a t e   c l u s t e r r o l e   p o d - r e a d e r   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = p o d s   C r e a t e   a   c l u s t e r   r o l e   n a m e d   \" p o d - r e a d e r \"   w i t h   R e s o u r c e N a m e   s p e c i f i e d   k u b e c t l   c r e a t e   c l u s t e r r o l e   p o d - r e a d e r   - - v e r b = g e t   - - r e s o u r c e = p o d s   - - r e s o u r c e - n a m e = r e a d a b l e p o d   - - r e s o u r c e - n a m e = a n o t h e r p o d   C r e a t e   a   c l u s t e r   r o l e   n a m e d   \" f o o \"   w i t h   A P I   G r o u p   s p e c i f i e d   k u b e c t l   c r e a t e   c l u s t e r r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = r s . e x t e n s i o n s   C r e a t e   a   c l u s t e r   r o l e   n a m e d   \" f o o \"   w i t h   S u b R e s o u r c e   s p e c i f i e d   k u b e c t l   c r e a t e   c l u s t e r r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = p o d s , p o d s / s t a t u s   C r e a t e   a   c l u s t e r   r o l e   n a m e   \" f o o \"   w i t h   N o n R e s o u r c e U R L   s p e c i f i e d   k u b e c t l   c r e a t e   c l u s t e r r o l e   \" f o o \"   - - v e r b = g e t   - - n o n - r e s o u r c e - u r l = / l o g s / *   C r e a t e   a   c l u s t e r   r o l e   n a m e   \" m o n i t o r i n g \"   w i t h   A g g r e g a t i o n R u l e   s p e c i f i e d   k u b e c t l   c r e a t e   c l u s t e r r o l e   m o n i t o r i n g   - - a g g r e g a t i o n - r u l e = \" r b a c . e x a m p l e . c o m / a g g r e g a t e - t o - m o n i t o r i n g = t r u e \"   C r e a t e   a   c l u s t e r   r o l e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13511"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   c l u s t e r r o l e   N A M E   - - v e r b = v e r b   - - r e s o u r c e = r e s o u r c e . g r o u p   [ - - r e s o u r c e - n a m e = r e s o u r c e n a m e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13512"
  },
  {
    "question": "What is clusterrolebinding?",
    "answer": "C r e a t e   a   c l u s t e r   r o l e   b i n d i n g   f o r   u s e r 1 ,   u s e r 2 ,   a n d   g r o u p 1   u s i n g   t h e   c l u s t e r - a d m i n   c l u s t e r   r o l e   k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   c l u s t e r - a d m i n   - - c l u s t e r r o l e = c l u s t e r - a d m i n   - - u s e r = u s e r 1   - - u s e r = u s e r 2   - - g r o u p = g r o u p 1   C r e a t e   a   c l u s t e r   r o l e   b i n d i n g   f o r   a   p a r t i c u l a r   c l u s t e r   r o l e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13513"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   N A M E   - - c l u s t e r r o l e = N A M E   [ - - u s e r = u s e r n a m e ]   [ - - g r o u p = g r o u p n a m e ]   [ - - s e r v i c e a c c o u n t = n a m e s p a c e : s e r v i c e a c c o u n t n a m e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13514"
  },
  {
    "question": "What is configmap?",
    "answer": "C r e a t e   a   n e w   c o n f i g   m a p   n a m e d   m y - c o n f i g   b a s e d   o n   f o l d e r   b a r   k u b e c t l   c r e a t e   c o n f i g m a p   m y - c o n f i g   - - f r o m - f i l e = p a t h / t o / b a r   C r e a t e   a   n e w   c o n f i g   m a p   n a m e d   m y - c o n f i g   w i t h   s p e c i f i e d   k e y s   i n s t e a d   o f   f i l e   b a s e n a m e s   o n   d i s k   k u b e c t l   c r e a t e   c o n f i g m a p   m y - c o n f i g   - - f r o m - f i l e = k e y 1 = / p a t h / t o / b a r / f i l e 1 . t x t   - - f r o m - f i l e = k e y 2 = / p a t h / t o / b a r / f i l e 2 . t x t   C r e a t e   a   n e w   c o n f i g   m a p   n a m e d   m y - c o n f i g   w i t h   k e y 1 = c o n f i g 1   a n d   k e y 2 = c o n f i g 2   k u b e c t l   c r e a t e   c o n f i g m a p   m y - c o n f i g   - - f r o m - l i t e r a l = k e y 1 = c o n f i g 1   - - f r o m - l i t e r a l = k e y 2 = c o n f i g 2   C r e a t e   a   n e w   c o n f i g   m a p   n a m e d   m y - c o n f i g   f r o m   t h e   k e y = v a l u e   p a i r s   i n   t h e   f i l e   k u b e c t l   c r e a t e   c o n f i g m a p   m y - c o n f i g   - - f r o m - f i l e = p a t h / t o / b a r   C r e a t e   a   n e w   c o n f i g   m a p   n a m e d   m y - c o n f i g   f r o m   a n   e n v   f i l e   k u b e c t l   c r e a t e   c o n f i g m a p   m y - c o n f i g   - - f r o m - e n v - f i l e = p a t h / t o / b a r . e n v   C r e a t e   a   c o n f i g   m a p   b a s e d   o n   a   f i l e ,   d i r e c t o r y ,   o r   s p e c i f i e d   l i t e r a l   v a l u e .   A   s i n g l e   c o n f i g   m a p   m a y   p a c k a g e   o n e   o r   m o r e   k e y / v a l u e   p a i r s .   W h e n   c r e a t i n g   a   c o n f i g   m a p   b a s e d   o n   a   f i l e ,   t h e   k e y   w i l l   d e f a u l t   t o   t h e   b a s e n a m e   o f   t h e   f i l e ,   a n d   t h e   v a l u e   w ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13515"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   c o n f i g m a p   N A M E   [ - - f r o m - f i l e = [ k e y = ] s o u r c e ]   [ - - f r o m - l i t e r a l = k e y 1 = v a l u e 1 ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13516"
  },
  {
    "question": "What is cronjob?",
    "answer": "C r e a t e   a   c r o n   j o b   k u b e c t l   c r e a t e   c r o n j o b   m y - j o b   - - i m a g e = b u s y b o x   - - s c h e d u l e = \" * / 1   *   *   *   * \"   C r e a t e   a   c r o n   j o b   w i t h   a   c o m m a n d   k u b e c t l   c r e a t e   c r o n j o b   m y - j o b   - - i m a g e = b u s y b o x   - - s c h e d u l e = \" * / 1   *   *   *   * \"   - -   d a t e   C r e a t e   a   c r o n   j o b   w i t h   t h e   s p e c i f i e d   n a m e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13517"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   c r o n j o b   N A M E   - - i m a g e = i m a g e   - - s c h e d u l e = ' 0 / 5   *   *   *   ? '   - -   [ C O M M A N D ]   [ a r g s . . . ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13518"
  },
  {
    "question": "What is deployment?",
    "answer": "C r e a t e   a   d e p l o y m e n t   n a m e d   m y - d e p   t h a t   r u n s   t h e   b u s y b o x   i m a g e   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - - i m a g e = b u s y b o x   C r e a t e   a   d e p l o y m e n t   w i t h   a   c o m m a n d   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - - i m a g e = b u s y b o x   - -   d a t e   C r e a t e   a   d e p l o y m e n t   n a m e d   m y - d e p   t h a t   r u n s   t h e   n g i n x   i m a g e   w i t h   3   r e p l i c a s   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - - i m a g e = n g i n x   - - r e p l i c a s = 3   C r e a t e   a   d e p l o y m e n t   n a m e d   m y - d e p   t h a t   r u n s   t h e   b u s y b o x   i m a g e   a n d   e x p o s e   p o r t   5 7 0 1   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - - i m a g e = b u s y b o x   - - p o r t = 5 7 0 1   C r e a t e   a   d e p l o y m e n t   w i t h   t h e   s p e c i f i e d   n a m e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13519"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   d e p l o y m e n t   N A M E   - - i m a g e = i m a g e   - -   [ C O M M A N D ]   [ a r g s . . . ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13520"
  },
  {
    "question": "What is ingress?",
    "answer": "C r e a t e   a   s i n g l e   i n g r e s s   c a l l e d   ' s i m p l e '   t h a t   d i r e c t s   r e q u e s t s   t o   f o o . c o m / b a r   t o   s v c   #   s v c 1 : 8 0 8 0   w i t h   a   t l s   s e c r e t   \" m y - c e r t \"   k u b e c t l   c r e a t e   i n g r e s s   s i m p l e   - - r u l e = \" f o o . c o m / b a r = s v c 1 : 8 0 8 0 , t l s = m y - c e r t \"   C r e a t e   a   c a t c h   a l l   i n g r e s s   o f   \" / p a t h \"   p o i n t i n g   t o   s e r v i c e   s v c : p o r t   a n d   I n g r e s s   C l a s s   a s   \" o t h e r i n g r e s s \"   k u b e c t l   c r e a t e   i n g r e s s   c a t c h - a l l   - - c l a s s = o t h e r i n g r e s s   - - r u l e = \" / p a t h = s v c : p o r t \"   C r e a t e   a n   i n g r e s s   w i t h   t w o   a n n o t a t i o n s :   i n g r e s s . a n n o t a t i o n 1   a n d   i n g r e s s . a n n o t a t i o n s 2   k u b e c t l   c r e a t e   i n g r e s s   a n n o t a t e d   - - c l a s s = d e f a u l t   - - r u l e = \" f o o . c o m / b a r = s v c : p o r t \"   \\   - - a n n o t a t i o n   i n g r e s s . a n n o t a t i o n 1 = f o o   \\   - - a n n o t a t i o n   i n g r e s s . a n n o t a t i o n 2 = b l a   C r e a t e   a n   i n g r e s s   w i t h   t h e   s a m e   h o s t   a n d   m u l t i p l e   p a t h s   k u b e c t l   c r e a t e   i n g r e s s   m u l t i p a t h   - - c l a s s = d e f a u l t   \\   - - r u l e = \" f o o . c o m / = s v c : p o r t \"   \\   - - r u l e = \" f o o . c o m / a d m i n / = s v c a d m i n : p o r t a d m i n \"   C r e a t e   a n   i n g r e s s   w i t h   m u l t i p l e   h o s t s   a n d   t h e   p a t h T y p e   a s   P r e f i x   k u b e c t l   c r e a t e   i n g r e s s   i n g r e s s 1   - - c l a s s = d e f a u l t   \\   - - r u l e = \" f o o . c o m / p a t h * = s v c : 8 0 8 0 \"   \\   - - r u l e = \" b a r . c o m / a d m i n * = s v c 2 : h t t p \"   C r e a t e   a n   i n g r e s s   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13521"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   i n g r e s s   N A M E   - - r u l e = h o s t / p a t h = s e r v i c e : p o r t [ , t l s [ = s e c r e t ] ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13522"
  },
  {
    "question": "What is job?",
    "answer": "C r e a t e   a   j o b   k u b e c t l   c r e a t e   j o b   m y - j o b   - - i m a g e = b u s y b o x   C r e a t e   a   j o b   w i t h   a   c o m m a n d   k u b e c t l   c r e a t e   j o b   m y - j o b   - - i m a g e = b u s y b o x   - -   d a t e   C r e a t e   a   j o b   f r o m   a   c r o n   j o b   n a m e d   \" a - c r o n j o b \"   k u b e c t l   c r e a t e   j o b   t e s t - j o b   - - f r o m = c r o n j o b / a - c r o n j o b   C r e a t e   a   j o b   w i t h   t h e   s p e c i f i e d   n a m e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13523"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   j o b   N A M E   - - i m a g e = i m a g e   [ - - f r o m = c r o n j o b / n a m e ]   - -   [ C O M M A N D ]   [ a r g s . . . ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13524"
  },
  {
    "question": "What is namespace?",
    "answer": "C r e a t e   a   n e w   n a m e s p a c e   n a m e d   m y - n a m e s p a c e   k u b e c t l   c r e a t e   n a m e s p a c e   m y - n a m e s p a c e   C r e a t e   a   n a m e s p a c e   w i t h   t h e   s p e c i f i e d   n a m e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13525"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   n a m e s p a c e   N A M E   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13526"
  },
  {
    "question": "What is poddisruptionbudget?",
    "answer": "C r e a t e   a   p o d   d i s r u p t i o n   b u d g e t   n a m e d   m y - p d b   t h a t   w i l l   s e l e c t   a l l   p o d s   w i t h   t h e   a p p = r a i l s   l a b e l   #   a n d   r e q u i r e   a t   l e a s t   o n e   o f   t h e m   b e i n g   a v a i l a b l e   a t   a n y   p o i n t   i n   t i m e   k u b e c t l   c r e a t e   p o d d i s r u p t i o n b u d g e t   m y - p d b   - - s e l e c t o r = a p p = r a i l s   - - m i n - a v a i l a b l e = 1   C r e a t e   a   p o d   d i s r u p t i o n   b u d g e t   n a m e d   m y - p d b   t h a t   w i l l   s e l e c t   a l l   p o d s   w i t h   t h e   a p p = n g i n x   l a b e l   #   a n d   r e q u i r e   a t   l e a s t   h a l f   o f   t h e   p o d s   s e l e c t e d   t o   b e   a v a i l a b l e   a t   a n y   p o i n t   i n   t i m e   k u b e c t l   c r e a t e   p d b   m y - p d b   - - s e l e c t o r = a p p = n g i n x   - - m i n - a v a i l a b l e = 5 0 %   C r e a t e   a   p o d   d i s r u p t i o n   b u d g e t   w i t h   t h e   s p e c i f i e d   n a m e ,   s e l e c t o r ,   a n d   d e s i r e d   m i n i m u m   a v a i l a b l e   p o d s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13527"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   p o d d i s r u p t i o n b u d g e t   N A M E   - - s e l e c t o r = S E L E C T O R   - - m i n - a v a i l a b l e = N   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13528"
  },
  {
    "question": "What is priorityclass?",
    "answer": "C r e a t e   a   p r i o r i t y   c l a s s   n a m e d   h i g h - p r i o r i t y   k u b e c t l   c r e a t e   p r i o r i t y c l a s s   h i g h - p r i o r i t y   - - v a l u e = 1 0 0 0   - - d e s c r i p t i o n = \" h i g h   p r i o r i t y \"   C r e a t e   a   p r i o r i t y   c l a s s   n a m e d   d e f a u l t - p r i o r i t y   t h a t   i s   c o n s i d e r e d   a s   t h e   g l o b a l   d e f a u l t   p r i o r i t y   k u b e c t l   c r e a t e   p r i o r i t y c l a s s   d e f a u l t - p r i o r i t y   - - v a l u e = 1 0 0 0   - - g l o b a l - d e f a u l t = t r u e   - - d e s c r i p t i o n = \" d e f a u l t   p r i o r i t y \"   C r e a t e   a   p r i o r i t y   c l a s s   n a m e d   h i g h - p r i o r i t y   t h a t   c a n n o t   p r e e m p t   p o d s   w i t h   l o w e r   p r i o r i t y   k u b e c t l   c r e a t e   p r i o r i t y c l a s s   h i g h - p r i o r i t y   - - v a l u e = 1 0 0 0   - - d e s c r i p t i o n = \" h i g h   p r i o r i t y \"   - - p r e e m p t i o n - p o l i c y = \" N e v e r \"   C r e a t e   a   p r i o r i t y   c l a s s   w i t h   t h e   s p e c i f i e d   n a m e ,   v a l u e ,   g l o b a l D e f a u l t   a n d   d e s c r i p t i o n .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13529"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   p r i o r i t y c l a s s   N A M E   - - v a l u e = V A L U E   - - g l o b a l - d e f a u l t = B O O L   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13530"
  },
  {
    "question": "What is quota?",
    "answer": "C r e a t e   a   n e w   r e s o u r c e   q u o t a   n a m e d   m y - q u o t a   k u b e c t l   c r e a t e   q u o t a   m y - q u o t a   - - h a r d = c p u = 1 , m e m o r y = 1 G , p o d s = 2 , s e r v i c e s = 3 , r e p l i c a t i o n c o n t r o l l e r s = 2 , r e s o u r c e q u o t a s = 1 , s e c r e t s = 5 , p e r s i s t e n t v o l u m e c l a i m s = 1 0   C r e a t e   a   n e w   r e s o u r c e   q u o t a   n a m e d   b e s t - e f f o r t   k u b e c t l   c r e a t e   q u o t a   b e s t - e f f o r t   - - h a r d = p o d s = 1 0 0   - - s c o p e s = B e s t E f f o r t   C r e a t e   a   r e s o u r c e   q u o t a   w i t h   t h e   s p e c i f i e d   n a m e ,   h a r d   l i m i t s ,   a n d   o p t i o n a l   s c o p e s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13531"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   q u o t a   N A M E   [ - - h a r d = k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 ]   [ - - s c o p e s = S c o p e 1 , S c o p e 2 ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13532"
  },
  {
    "question": "What is role?",
    "answer": "C r e a t e   a   r o l e   n a m e d   \" p o d - r e a d e r \"   t h a t   a l l o w s   u s e r   t o   p e r f o r m   \" g e t \" ,   \" w a t c h \"   a n d   \" l i s t \"   o n   p o d s   k u b e c t l   c r e a t e   r o l e   p o d - r e a d e r   - - v e r b = g e t   - - v e r b = l i s t   - - v e r b = w a t c h   - - r e s o u r c e = p o d s   C r e a t e   a   r o l e   n a m e d   \" p o d - r e a d e r \"   w i t h   R e s o u r c e N a m e   s p e c i f i e d   k u b e c t l   c r e a t e   r o l e   p o d - r e a d e r   - - v e r b = g e t   - - r e s o u r c e = p o d s   - - r e s o u r c e - n a m e = r e a d a b l e p o d   - - r e s o u r c e - n a m e = a n o t h e r p o d   C r e a t e   a   r o l e   n a m e d   \" f o o \"   w i t h   A P I   G r o u p   s p e c i f i e d   k u b e c t l   c r e a t e   r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = r s . e x t e n s i o n s   C r e a t e   a   r o l e   n a m e d   \" f o o \"   w i t h   S u b R e s o u r c e   s p e c i f i e d   k u b e c t l   c r e a t e   r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = p o d s , p o d s / s t a t u s   C r e a t e   a   r o l e   w i t h   s i n g l e   r u l e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13533"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   r o l e   N A M E   - - v e r b = v e r b   - - r e s o u r c e = r e s o u r c e . g r o u p / s u b r e s o u r c e   [ - - r e s o u r c e - n a m e = r e s o u r c e n a m e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13534"
  },
  {
    "question": "What is rolebinding?",
    "answer": "C r e a t e   a   r o l e   b i n d i n g   f o r   u s e r 1 ,   u s e r 2 ,   a n d   g r o u p 1   u s i n g   t h e   a d m i n   c l u s t e r   r o l e   k u b e c t l   c r e a t e   r o l e b i n d i n g   a d m i n   - - c l u s t e r r o l e = a d m i n   - - u s e r = u s e r 1   - - u s e r = u s e r 2   - - g r o u p = g r o u p 1   C r e a t e   a   r o l e   b i n d i n g   f o r   a   p a r t i c u l a r   r o l e   o r   c l u s t e r   r o l e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13535"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   r o l e b i n d i n g   N A M E   - - c l u s t e r r o l e = N A M E | - - r o l e = N A M E   [ - - u s e r = u s e r n a m e ]   [ - - g r o u p = g r o u p n a m e ]   [ - - s e r v i c e a c c o u n t = n a m e s p a c e : s e r v i c e a c c o u n t n a m e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13536"
  },
  {
    "question": "What is secret?",
    "answer": "C r e a t e   a   s e c r e t   u s i n g   s p e c i f i e d   s u b c o m m a n d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13537"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   s e c r e t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13538"
  },
  {
    "question": "What is secret docker-registry?",
    "answer": "I f   y o u   d o n ' t   a l r e a d y   h a v e   a   . d o c k e r c f g   f i l e ,   y o u   c a n   c r e a t e   a   d o c k e r c f g   s e c r e t   d i r e c t l y   b y   u s i n g :   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   m y - s e c r e t   - - d o c k e r - s e r v e r = D O C K E R _ R E G I S T R Y _ S E R V E R   - - d o c k e r - u s e r n a m e = D O C K E R _ U S E R   - - d o c k e r - p a s s w o r d = D O C K E R _ P A S S W O R D   - - d o c k e r - e m a i l = D O C K E R _ E M A I L   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   f r o m   ~ / . d o c k e r / c o n f i g . j s o n   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   m y - s e c r e t   - - f r o m - f i l e = . d o c k e r c o n f i g j s o n = p a t h / t o / . d o c k e r / c o n f i g . j s o n   C r e a t e   a   n e w   s e c r e t   f o r   u s e   w i t h   D o c k e r   r e g i s t r i e s .   D o c k e r c f g   s e c r e t s   a r e   u s e d   t o   a u t h e n t i c a t e   a g a i n s t   D o c k e r   r e g i s t r i e s .   W h e n   u s i n g   t h e   D o c k e r   c o m m a n d   l i n e   t o   p u s h   i m a g e s ,   y o u   c a n   a u t h e n t i c a t e   t o   a   g i v e n   r e g i s t r y   b y   r u n n i n g :   ' $   d o c k e r   l o g i n   D O C K E R _ R E G I S T R Y _ S E R V E R   - - u s e r n a m e = D O C K E R _ U S E R   - - p a s s w o r d = D O C K E R _ P A S S W O R D   - - e m a i l = D O C K E R _ E M A I L ' .   T h a t   p r o d u c e s   a   ~ / . d o c k e r c f g   f i l e   t h a t   i s   u s e d   b y   s u b s e q u e n t   ' d o c k e r   p u s h '   a n d   ' d o c k e r   p u l l '   c o m m a n d s   t o   a u t h e n t i c a t e   t o   t h e   r e g i s t r y .   T h e   e m a i l   a d d r e s s   i s   o p t i o n a l .   W h e n   c r e a t i n g   a p p l i c a t i o n s ,   y o u   m a y   h a v e   a   D o c k e r   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13539"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   N A M E   - - d o c k e r - u s e r n a m e = u s e r   - - d o c k e r - p a s s w o r d = p a s s w o r d   - - d o c k e r - e m a i l = e m a i l   [ - - d o c k e r - s e r v e r = s t r i n g ]   [ - - f r o m - f i l e = [ k e y = ] s o u r c e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13540"
  },
  {
    "question": "What is secret generic?",
    "answer": "C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   w i t h   k e y s   f o r   e a c h   f i l e   i n   f o l d e r   b a r   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - f i l e = p a t h / t o / b a r   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   w i t h   s p e c i f i e d   k e y s   i n s t e a d   o f   n a m e s   o n   d i s k   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - f i l e = s s h - p r i v a t e k e y = p a t h / t o / i d _ r s a   - - f r o m - f i l e = s s h - p u b l i c k e y = p a t h / t o / i d _ r s a . p u b   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   w i t h   k e y 1 = s u p e r s e c r e t   a n d   k e y 2 = t o p s e c r e t   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - l i t e r a l = k e y 1 = s u p e r s e c r e t   - - f r o m - l i t e r a l = k e y 2 = t o p s e c r e t   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   u s i n g   a   c o m b i n a t i o n   o f   a   f i l e   a n d   a   l i t e r a l   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - f i l e = s s h - p r i v a t e k e y = p a t h / t o / i d _ r s a   - - f r o m - l i t e r a l = p a s s p h r a s e = t o p s e c r e t   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   f r o m   a n   e n v   f i l e   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - e n v - f i l e = p a t h / t o / b a r . e n v   C r e a t e   a   s e c r e t   b a s e d   o n   a   f i l e ,   d i r e c t o r y ,   o r   s p e c i f i e d   l i t e r a l   v a l u e .   A   s i n g l e   s e c r e t   m a y   p a c k a g e   o n e   o r   m o r e   k e y / v a l u e   p a i r s .   W h e n   c r e a t i n g   a   s e c r e t   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13541"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   g e n e r i c   N A M E   [ - - t y p e = s t r i n g ]   [ - - f r o m - f i l e = [ k e y = ] s o u r c e ]   [ - - f r o m - l i t e r a l = k e y 1 = v a l u e 1 ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13542"
  },
  {
    "question": "What is secret tls?",
    "answer": "C r e a t e   a   n e w   T L S   s e c r e t   n a m e d   t l s - s e c r e t   w i t h   t h e   g i v e n   k e y   p a i r   k u b e c t l   c r e a t e   s e c r e t   t l s   t l s - s e c r e t   - - c e r t = p a t h / t o / t l s . c e r t   - - k e y = p a t h / t o / t l s . k e y   C r e a t e   a   T L S   s e c r e t   f r o m   t h e   g i v e n   p u b l i c / p r i v a t e   k e y   p a i r .   T h e   p u b l i c / p r i v a t e   k e y   p a i r   m u s t   e x i s t   b e f o r e h a n d .   T h e   p u b l i c   k e y   c e r t i f i c a t e   m u s t   b e   . P E M   e n c o d e d   a n d   m a t c h   t h e   g i v e n   p r i v a t e   k e y .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13543"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   s e c r e t   t l s   N A M E   - - c e r t = p a t h / t o / c e r t / f i l e   - - k e y = p a t h / t o / k e y / f i l e   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13544"
  },
  {
    "question": "What is service?",
    "answer": "C r e a t e   a   s e r v i c e   u s i n g   a   s p e c i f i e d   s u b c o m m a n d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13545"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   s e r v i c e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13546"
  },
  {
    "question": "What is service clusterip?",
    "answer": "C r e a t e   a   n e w   C l u s t e r I P   s e r v i c e   n a m e d   m y - c s   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   m y - c s   - - t c p = 5 6 7 8 : 8 0 8 0   C r e a t e   a   n e w   C l u s t e r I P   s e r v i c e   n a m e d   m y - c s   ( i n   h e a d l e s s   m o d e )   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   m y - c s   - - c l u s t e r i p = \" N o n e \"   C r e a t e   a   C l u s t e r I P   s e r v i c e   w i t h   t h e   s p e c i f i e d   n a m e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13547"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   N A M E   [ - - t c p = < p o r t > : < t a r g e t P o r t > ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13548"
  },
  {
    "question": "What is service externalname?",
    "answer": "C r e a t e   a   n e w   E x t e r n a l N a m e   s e r v i c e   n a m e d   m y - n s   k u b e c t l   c r e a t e   s e r v i c e   e x t e r n a l n a m e   m y - n s   - - e x t e r n a l - n a m e   b a r . c o m   C r e a t e   a n   E x t e r n a l N a m e   s e r v i c e   w i t h   t h e   s p e c i f i e d   n a m e .   E x t e r n a l N a m e   s e r v i c e   r e f e r e n c e s   t o   a n   e x t e r n a l   D N S   a d d r e s s   i n s t e a d   o f   o n l y   p o d s ,   w h i c h   w i l l   a l l o w   a p p l i c a t i o n   a u t h o r s   t o   r e f e r e n c e   s e r v i c e s   t h a t   e x i s t   o f f   p l a t f o r m ,   o n   o t h e r   c l u s t e r s ,   o r   l o c a l l y .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13549"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   s e r v i c e   e x t e r n a l n a m e   N A M E   - - e x t e r n a l - n a m e   e x t e r n a l . n a m e   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13550"
  },
  {
    "question": "What is service loadbalancer?",
    "answer": "C r e a t e   a   n e w   L o a d B a l a n c e r   s e r v i c e   n a m e d   m y - l b s   k u b e c t l   c r e a t e   s e r v i c e   l o a d b a l a n c e r   m y - l b s   - - t c p = 5 6 7 8 : 8 0 8 0   C r e a t e   a   L o a d B a l a n c e r   s e r v i c e   w i t h   t h e   s p e c i f i e d   n a m e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13551"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   s e r v i c e   l o a d b a l a n c e r   N A M E   [ - - t c p = p o r t : t a r g e t P o r t ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13552"
  },
  {
    "question": "What is service nodeport?",
    "answer": "C r e a t e   a   n e w   N o d e P o r t   s e r v i c e   n a m e d   m y - n s   k u b e c t l   c r e a t e   s e r v i c e   n o d e p o r t   m y - n s   - - t c p = 5 6 7 8 : 8 0 8 0   C r e a t e   a   N o d e P o r t   s e r v i c e   w i t h   t h e   s p e c i f i e d   n a m e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13553"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   s e r v i c e   n o d e p o r t   N A M E   [ - - t c p = p o r t : t a r g e t P o r t ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13554"
  },
  {
    "question": "What is serviceaccount?",
    "answer": "C r e a t e   a   n e w   s e r v i c e   a c c o u n t   n a m e d   m y - s e r v i c e - a c c o u n t   k u b e c t l   c r e a t e   s e r v i c e a c c o u n t   m y - s e r v i c e - a c c o u n t   C r e a t e   a   s e r v i c e   a c c o u n t   w i t h   t h e   s p e c i f i e d   n a m e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13555"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c r e a t e   s e r v i c e a c c o u n t   N A M E   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13556"
  },
  {
    "question": "What is get?",
    "answer": "L i s t   a l l   p o d s   i n   p s   o u t p u t   f o r m a t   k u b e c t l   g e t   p o d s   L i s t   a l l   p o d s   i n   p s   o u t p u t   f o r m a t   w i t h   m o r e   i n f o r m a t i o n   ( s u c h   a s   n o d e   n a m e )   k u b e c t l   g e t   p o d s   - o   w i d e   L i s t   a   s i n g l e   r e p l i c a t i o n   c o n t r o l l e r   w i t h   s p e c i f i e d   N A M E   i n   p s   o u t p u t   f o r m a t   k u b e c t l   g e t   r e p l i c a t i o n c o n t r o l l e r   w e b   L i s t   d e p l o y m e n t s   i n   J S O N   o u t p u t   f o r m a t ,   i n   t h e   \" v 1 \"   v e r s i o n   o f   t h e   \" a p p s \"   A P I   g r o u p   k u b e c t l   g e t   d e p l o y m e n t s . v 1 . a p p s   - o   j s o n   L i s t   a   s i n g l e   p o d   i n   J S O N   o u t p u t   f o r m a t   k u b e c t l   g e t   - o   j s o n   p o d   w e b - p o d - 1 3 j e 7   L i s t   a   p o d   i d e n t i f i e d   b y   t y p e   a n d   n a m e   s p e c i f i e d   i n   \" p o d . y a m l \"   i n   J S O N   o u t p u t   f o r m a t   k u b e c t l   g e t   - f   p o d . y a m l   - o   j s o n   L i s t   r e s o u r c e s   f r o m   a   d i r e c t o r y   w i t h   k u s t o m i z a t i o n . y a m l   -   e . g .   d i r / k u s t o m i z a t i o n . y a m l   k u b e c t l   g e t   - k   d i r /   R e t u r n   o n l y   t h e   p h a s e   v a l u e   o f   t h e   s p e c i f i e d   p o d   k u b e c t l   g e t   - o   t e m p l a t e   p o d / w e b - p o d - 1 3 j e 7   - - t e m p l a t e = { { . s t a t u s . p h a s e } }   L i s t   r e s o u r c e   i n f o r m a t i o n   i n   c u s t o m   c o l u m n s   k u b e c t l   g e t   p o d   t e s t - p o d   - o   c u s t o m - c o l u m n s = C O N T A I N E R : . s p e c . c o n t a i n e r s [ 0 ] . n a m e , I M A G E : . s p e c . c o n t a i n e r s [ 0 ] . i m a g e   L i s t   a l l   r e p l i c a t i o n   c o n t r o l l e r s   a ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13557"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   g e t   [ ( - o | - - o u t p u t = ) j s o n | y a m l | n a m e | g o - t e m p l a t e | g o - t e m p l a t e - f i l e | t e m p l a t e | t e m p l a t e f i l e | j s o n p a t h | j s o n p a t h - a s - j s o n | j s o n p a t h - f i l e | c u s t o m - c o l u m n s | c u s t o m - c o l u m n s - f i l e | w i d e ]   ( T Y P E [ . V E R S I O N ] [ . G R O U P ]   [ N A M E   |   - l   l a b e l ]   |   T Y P E [ . V E R S I O N ] [ . G R O U P ] / N A M E   . . . )   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13558"
  },
  {
    "question": "What is run?",
    "answer": "S t a r t   a   n g i n x   p o d   k u b e c t l   r u n   n g i n x   - - i m a g e = n g i n x   S t a r t   a   h a z e l c a s t   p o d   a n d   l e t   t h e   c o n t a i n e r   e x p o s e   p o r t   5 7 0 1   k u b e c t l   r u n   h a z e l c a s t   - - i m a g e = h a z e l c a s t / h a z e l c a s t   - - p o r t = 5 7 0 1   S t a r t   a   h a z e l c a s t   p o d   a n d   s e t   e n v i r o n m e n t   v a r i a b l e s   \" D N S _ D O M A I N = c l u s t e r \"   a n d   \" P O D _ N A M E S P A C E = d e f a u l t \"   i n   t h e   c o n t a i n e r   k u b e c t l   r u n   h a z e l c a s t   - - i m a g e = h a z e l c a s t / h a z e l c a s t   - - e n v = \" D N S _ D O M A I N = c l u s t e r \"   - - e n v = \" P O D _ N A M E S P A C E = d e f a u l t \"   S t a r t   a   h a z e l c a s t   p o d   a n d   s e t   l a b e l s   \" a p p = h a z e l c a s t \"   a n d   \" e n v = p r o d \"   i n   t h e   c o n t a i n e r   k u b e c t l   r u n   h a z e l c a s t   - - i m a g e = h a z e l c a s t / h a z e l c a s t   - - l a b e l s = \" a p p = h a z e l c a s t , e n v = p r o d \"   D r y   r u n ;   p r i n t   t h e   c o r r e s p o n d i n g   A P I   o b j e c t s   w i t h o u t   c r e a t i n g   t h e m   k u b e c t l   r u n   n g i n x   - - i m a g e = n g i n x   - - d r y - r u n = c l i e n t   S t a r t   a   n g i n x   p o d ,   b u t   o v e r l o a d   t h e   s p e c   w i t h   a   p a r t i a l   s e t   o f   v a l u e s   p a r s e d   f r o m   J S O N   k u b e c t l   r u n   n g i n x   - - i m a g e = n g i n x   - - o v e r r i d e s = ' {   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" s p e c \" :   {   . . .   }   } '   S t a r t   a   b u s y b o x   p o d   a n d   k e e p   i t   i n   t h e   f o r e g r o u n d ,   d o n ' t   r e s t a r t   i t   i f   i t   e x i t s   k u b e c t l   r u n   - i   - t   b u s y b o x   - - i m a g e = b u s y b o x   - - r e s t a r t = N e v e r   S t a r t   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13559"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   r u n   N A M E   - - i m a g e = i m a g e   [ - - e n v = \" k e y = v a l u e \" ]   [ - - p o r t = p o r t ]   [ - - d r y - r u n = s e r v e r | c l i e n t ]   [ - - o v e r r i d e s = i n l i n e - j s o n ]   [ - - c o m m a n d ]   - -   [ C O M M A N D ]   [ a r g s . . . ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13560"
  },
  {
    "question": "What is expose?",
    "answer": "C r e a t e   a   s e r v i c e   f o r   a   r e p l i c a t e d   n g i n x ,   w h i c h   s e r v e s   o n   p o r t   8 0   a n d   c o n n e c t s   t o   t h e   c o n t a i n e r s   o n   p o r t   8 0 0 0   k u b e c t l   e x p o s e   r c   n g i n x   - - p o r t = 8 0   - - t a r g e t - p o r t = 8 0 0 0   C r e a t e   a   s e r v i c e   f o r   a   r e p l i c a t i o n   c o n t r o l l e r   i d e n t i f i e d   b y   t y p e   a n d   n a m e   s p e c i f i e d   i n   \" n g i n x - c o n t r o l l e r . y a m l \" ,   w h i c h   s e r v e s   o n   p o r t   8 0   a n d   c o n n e c t s   t o   t h e   c o n t a i n e r s   o n   p o r t   8 0 0 0   k u b e c t l   e x p o s e   - f   n g i n x - c o n t r o l l e r . y a m l   - - p o r t = 8 0   - - t a r g e t - p o r t = 8 0 0 0   C r e a t e   a   s e r v i c e   f o r   a   p o d   v a l i d - p o d ,   w h i c h   s e r v e s   o n   p o r t   4 4 4   w i t h   t h e   n a m e   \" f r o n t e n d \"   k u b e c t l   e x p o s e   p o d   v a l i d - p o d   - - p o r t = 4 4 4   - - n a m e = f r o n t e n d   C r e a t e   a   s e c o n d   s e r v i c e   b a s e d   o n   t h e   a b o v e   s e r v i c e ,   e x p o s i n g   t h e   c o n t a i n e r   p o r t   8 4 4 3   a s   p o r t   4 4 3   w i t h   t h e   n a m e   \" n g i n x - h t t p s \"   k u b e c t l   e x p o s e   s e r v i c e   n g i n x   - - p o r t = 4 4 3   - - t a r g e t - p o r t = 8 4 4 3   - - n a m e = n g i n x - h t t p s   C r e a t e   a   s e r v i c e   f o r   a   r e p l i c a t e d   s t r e a m i n g   a p p l i c a t i o n   o n   p o r t   4 1 0 0   b a l a n c i n g   U D P   t r a f f i c   a n d   n a m e d   ' v i d e o - s t r e a m ' .   k u b e c t l   e x p o s e   r c   s t r e a m e r   - - p o r t = 4 1 0 0   - - p r o t o c o l = U D P   - - n a m e = v i d e o - s t r e a m   C r e a t e   a   s e r v i c e   f o r   a   r e p l i c a t e d   n g i n x   u s i n g   r e p l i ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13561"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   e x p o s e   ( - f   F I L E N A M E   |   T Y P E   N A M E )   [ - - p o r t = p o r t ]   [ - - p r o t o c o l = T C P | U D P | S C T P ]   [ - - t a r g e t - p o r t = n u m b e r - o r - n a m e ]   [ - - n a m e = n a m e ]   [ - - e x t e r n a l - i p = e x t e r n a l - i p - o f - s e r v i c e ]   [ - - t y p e = t y p e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13562"
  },
  {
    "question": "What is delete?",
    "answer": "D e l e t e   a   p o d   u s i n g   t h e   t y p e   a n d   n a m e   s p e c i f i e d   i n   p o d . j s o n   k u b e c t l   d e l e t e   - f   . / p o d . j s o n   D e l e t e   r e s o u r c e s   f r o m   a   d i r e c t o r y   c o n t a i n i n g   k u s t o m i z a t i o n . y a m l   -   e . g .   d i r / k u s t o m i z a t i o n . y a m l   k u b e c t l   d e l e t e   - k   d i r   D e l e t e   a   p o d   b a s e d   o n   t h e   t y p e   a n d   n a m e   i n   t h e   J S O N   p a s s e d   i n t o   s t d i n   c a t   p o d . j s o n   |   k u b e c t l   d e l e t e   - f   -   D e l e t e   p o d s   a n d   s e r v i c e s   w i t h   s a m e   n a m e s   \" b a z \"   a n d   \" f o o \"   k u b e c t l   d e l e t e   p o d , s e r v i c e   b a z   f o o   D e l e t e   p o d s   a n d   s e r v i c e s   w i t h   l a b e l   n a m e = m y L a b e l   k u b e c t l   d e l e t e   p o d s , s e r v i c e s   - l   n a m e = m y L a b e l   D e l e t e   a   p o d   w i t h   m i n i m a l   d e l a y   k u b e c t l   d e l e t e   p o d   f o o   - - n o w   F o r c e   d e l e t e   a   p o d   o n   a   d e a d   n o d e   k u b e c t l   d e l e t e   p o d   f o o   - - f o r c e   D e l e t e   a l l   p o d s   k u b e c t l   d e l e t e   p o d s   - - a l l   D e l e t e   r e s o u r c e s   b y   f i l e   n a m e s ,   s t d i n ,   r e s o u r c e s   a n d   n a m e s ,   o r   b y   r e s o u r c e s   a n d   l a b e l   s e l e c t o r .   J S O N   a n d   Y A M L   f o r m a t s   a r e   a c c e p t e d .   O n l y   o n e   t y p e   o f   a r g u m e n t   m a y   b e   s p e c i f i e d :   f i l e   n a m e s ,   r e s o u r c e s   a n d   n a m e s ,   o r   r e s o u r c e s   a n d   l a b e l   s e l e c t o r .   S o m e   r e s o u r c e s ,   s u c h   a s   p o d s ,   s u p p o r t   g r a c e f u l   d e l e t i o n .   T h e s e   r e s o u r c e s   d e f i n e   a   d e f a u l t   p e r i o ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13563"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   d e l e t e   ( [ - f   F I L E N A M E ]   |   [ - k   D I R E C T O R Y ]   |   T Y P E   [ ( N A M E   |   - l   l a b e l   |   - - a l l ) ] )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13564"
  },
  {
    "question": "What is APP MANAGEMENT?",
    "answer": "T h i s   s e c t i o n   c o n t a i n s   c o m m a n d s   f o r   c r e a t i n g ,   u p d a t i n g ,   d e l e t i n g ,   a n d   v i e w i n g   y o u r   w o r k l o a d s   i n   a   K u b e r n e t e s   c l u s t e r .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13565"
  },
  {
    "question": "What is apply?",
    "answer": "A p p l y   t h e   c o n f i g u r a t i o n   i n   p o d . j s o n   t o   a   p o d   k u b e c t l   a p p l y   - f   . / p o d . j s o n   A p p l y   r e s o u r c e s   f r o m   a   d i r e c t o r y   c o n t a i n i n g   k u s t o m i z a t i o n . y a m l   -   e . g .   d i r / k u s t o m i z a t i o n . y a m l   k u b e c t l   a p p l y   - k   d i r /   A p p l y   t h e   J S O N   p a s s e d   i n t o   s t d i n   t o   a   p o d   c a t   p o d . j s o n   |   k u b e c t l   a p p l y   - f   -   N o t e :   - - p r u n e   i s   s t i l l   i n   A l p h a   #   A p p l y   t h e   c o n f i g u r a t i o n   i n   m a n i f e s t . y a m l   t h a t   m a t c h e s   l a b e l   a p p = n g i n x   a n d   d e l e t e   a l l   o t h e r   r e s o u r c e s   t h a t   a r e   n o t   i n   t h e   f i l e   a n d   m a t c h   l a b e l   a p p = n g i n x   k u b e c t l   a p p l y   - - p r u n e   - f   m a n i f e s t . y a m l   - l   a p p = n g i n x   A p p l y   t h e   c o n f i g u r a t i o n   i n   m a n i f e s t . y a m l   a n d   d e l e t e   a l l   t h e   o t h e r   c o n f i g   m a p s   t h a t   a r e   n o t   i n   t h e   f i l e   k u b e c t l   a p p l y   - - p r u n e   - f   m a n i f e s t . y a m l   - - a l l   - - p r u n e - w h i t e l i s t = c o r e / v 1 / C o n f i g M a p   A p p l y   a   c o n f i g u r a t i o n   t o   a   r e s o u r c e   b y   f i l e   n a m e   o r   s t d i n .   T h e   r e s o u r c e   n a m e   m u s t   b e   s p e c i f i e d .   T h i s   r e s o u r c e   w i l l   b e   c r e a t e d   i f   i t   d o e s n ' t   e x i s t   y e t .   T o   u s e   ' a p p l y ' ,   a l w a y s   c r e a t e   t h e   r e s o u r c e   i n i t i a l l y   w i t h   e i t h e r   ' a p p l y '   o r   ' c r e a t e   - - s a v e - c o n f i g ' .   J S O N   a n d   Y A M L   f o r m a t s   a r e   a c c e p t e d .   A l p h a   D i s c l a i m e r :   t h e   - - p r u ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13566"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   a p p l y   ( - f   F I L E N A M E   |   - k   D I R E C T O R Y )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13567"
  },
  {
    "question": "What is edit-last-applied?",
    "answer": "E d i t   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   t y p e / n a m e   i n   Y A M L   k u b e c t l   a p p l y   e d i t - l a s t - a p p l i e d   d e p l o y m e n t / n g i n x   E d i t   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   f i l e   i n   J S O N   k u b e c t l   a p p l y   e d i t - l a s t - a p p l i e d   - f   d e p l o y . y a m l   - o   j s o n   E d i t   t h e   l a t e s t   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   o f   r e s o u r c e s   f r o m   t h e   d e f a u l t   e d i t o r .   T h e   e d i t - l a s t - a p p l i e d   c o m m a n d   a l l o w s   y o u   t o   d i r e c t l y   e d i t   a n y   A P I   r e s o u r c e   y o u   c a n   r e t r i e v e   v i a   t h e   c o m m a n d - l i n e   t o o l s .   I t   w i l l   o p e n   t h e   e d i t o r   d e f i n e d   b y   y o u r   K U B E _ E D I T O R ,   o r   E D I T O R   e n v i r o n m e n t   v a r i a b l e s ,   o r   f a l l   b a c k   t o   ' v i '   f o r   L i n u x   o r   ' n o t e p a d '   f o r   W i n d o w s .   Y o u   c a n   e d i t   m u l t i p l e   o b j e c t s ,   a l t h o u g h   c h a n g e s   a r e   a p p l i e d   o n e   a t   a   t i m e .   T h e   c o m m a n d   a c c e p t s   f i l e   n a m e s   a s   w e l l   a s   c o m m a n d - l i n e   a r g u m e n t s ,   a l t h o u g h   t h e   f i l e s   y o u   p o i n t   t o   m u s t   b e   p r e v i o u s l y   s a v e d   v e r s i o n s   o f   r e s o u r c e s .   T h e   d e f a u l t   f o r m a t   i s   Y A M L .   T o   e d i t   i n   J S O N ,   s p e c i f y   \" - o   j s o n \" .   T h e   f l a g   - - w i n d o w s - l i n e - e n d i n g s   c a n   b e   u s e d   t o   f o r c e   W i n d o w s   l i n e   e n d i n g s ,   o t h e r w i s e   t h e   d e f a u l t   f o r   y o u r   o p e r a t i n g   s y s t e m ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13568"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   a p p l y   e d i t - l a s t - a p p l i e d   ( R E S O U R C E / N A M E   |   - f   F I L E N A M E )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13569"
  },
  {
    "question": "What is set-last-applied?",
    "answer": "S e t   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   o f   a   r e s o u r c e   t o   m a t c h   t h e   c o n t e n t s   o f   a   f i l e   k u b e c t l   a p p l y   s e t - l a s t - a p p l i e d   - f   d e p l o y . y a m l   E x e c u t e   s e t - l a s t - a p p l i e d   a g a i n s t   e a c h   c o n f i g u r a t i o n   f i l e   i n   a   d i r e c t o r y   k u b e c t l   a p p l y   s e t - l a s t - a p p l i e d   - f   p a t h /   S e t   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   o f   a   r e s o u r c e   t o   m a t c h   t h e   c o n t e n t s   o f   a   f i l e ;   w i l l   c r e a t e   t h e   a n n o t a t i o n   i f   i t   d o e s   n o t   a l r e a d y   e x i s t   k u b e c t l   a p p l y   s e t - l a s t - a p p l i e d   - f   d e p l o y . y a m l   - - c r e a t e - a n n o t a t i o n = t r u e   S e t   t h e   l a t e s t   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   s e t t i n g   i t   t o   m a t c h   t h e   c o n t e n t s   o f   a   f i l e .   T h i s   r e s u l t s   i n   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   b e i n g   u p d a t e d   a s   t h o u g h   ' k u b e c t l   a p p l y   - f   '   w a s   r u n ,   w i t h o u t   u p d a t i n g   a n y   o t h e r   p a r t s   o f   t h e   o b j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13570"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   a p p l y   s e t - l a s t - a p p l i e d   - f   F I L E N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13571"
  },
  {
    "question": "What is view-last-applied?",
    "answer": "V i e w   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   t y p e / n a m e   i n   Y A M L   k u b e c t l   a p p l y   v i e w - l a s t - a p p l i e d   d e p l o y m e n t / n g i n x   V i e w   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   f i l e   i n   J S O N   k u b e c t l   a p p l y   v i e w - l a s t - a p p l i e d   - f   d e p l o y . y a m l   - o   j s o n   V i e w   t h e   l a t e s t   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   t y p e / n a m e   o r   f i l e .   T h e   d e f a u l t   o u t p u t   w i l l   b e   p r i n t e d   t o   s t d o u t   i n   Y A M L   f o r m a t .   Y o u   c a n   u s e   t h e   - o   o p t i o n   t o   c h a n g e   t h e   o u t p u t   f o r m a t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13572"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   a p p l y   v i e w - l a s t - a p p l i e d   ( T Y P E   [ N A M E   |   - l   l a b e l ]   |   T Y P E / N A M E   |   - f   F I L E N A M E )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13573"
  },
  {
    "question": "What is annotate?",
    "answer": "U p d a t e   p o d   ' f o o '   w i t h   t h e   a n n o t a t i o n   ' d e s c r i p t i o n '   a n d   t h e   v a l u e   ' m y   f r o n t e n d '   #   I f   t h e   s a m e   a n n o t a t i o n   i s   s e t   m u l t i p l e   t i m e s ,   o n l y   t h e   l a s t   v a l u e   w i l l   b e   a p p l i e d   k u b e c t l   a n n o t a t e   p o d s   f o o   d e s c r i p t i o n = ' m y   f r o n t e n d '   U p d a t e   a   p o d   i d e n t i f i e d   b y   t y p e   a n d   n a m e   i n   \" p o d . j s o n \"   k u b e c t l   a n n o t a t e   - f   p o d . j s o n   d e s c r i p t i o n = ' m y   f r o n t e n d '   U p d a t e   p o d   ' f o o '   w i t h   t h e   a n n o t a t i o n   ' d e s c r i p t i o n '   a n d   t h e   v a l u e   ' m y   f r o n t e n d   r u n n i n g   n g i n x ' ,   o v e r w r i t i n g   a n y   e x i s t i n g   v a l u e   k u b e c t l   a n n o t a t e   - - o v e r w r i t e   p o d s   f o o   d e s c r i p t i o n = ' m y   f r o n t e n d   r u n n i n g   n g i n x '   U p d a t e   a l l   p o d s   i n   t h e   n a m e s p a c e   k u b e c t l   a n n o t a t e   p o d s   - - a l l   d e s c r i p t i o n = ' m y   f r o n t e n d   r u n n i n g   n g i n x '   U p d a t e   p o d   ' f o o '   o n l y   i f   t h e   r e s o u r c e   i s   u n c h a n g e d   f r o m   v e r s i o n   1   k u b e c t l   a n n o t a t e   p o d s   f o o   d e s c r i p t i o n = ' m y   f r o n t e n d   r u n n i n g   n g i n x '   - - r e s o u r c e - v e r s i o n = 1   U p d a t e   p o d   ' f o o '   b y   r e m o v i n g   a n   a n n o t a t i o n   n a m e d   ' d e s c r i p t i o n '   i f   i t   e x i s t s   #   D o e s   n o t   r e q u i r e   t h e   - - o v e r w r i t e   f l a g   k u b e c t l   a n n o t a t e   p o d s   f o o   d e s c r i p t i o n -   U p d a t e   t h e   a n n o t a t i o n s   o n   o n e   o r   m o r e   r e s o u r c e s .   A l l   K u b e r n e t e s ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13574"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   a n n o t a t e   [ - - o v e r w r i t e ]   ( - f   F I L E N A M E   |   T Y P E   N A M E )   K E Y _ 1 = V A L _ 1   . . .   K E Y _ N = V A L _ N   [ - - r e s o u r c e - v e r s i o n = v e r s i o n ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13575"
  },
  {
    "question": "What is autoscale?",
    "answer": "A u t o   s c a l e   a   d e p l o y m e n t   \" f o o \" ,   w i t h   t h e   n u m b e r   o f   p o d s   b e t w e e n   2   a n d   1 0 ,   n o   t a r g e t   C P U   u t i l i z a t i o n   s p e c i f i e d   s o   a   d e f a u l t   a u t o s c a l i n g   p o l i c y   w i l l   b e   u s e d   k u b e c t l   a u t o s c a l e   d e p l o y m e n t   f o o   - - m i n = 2   - - m a x = 1 0   A u t o   s c a l e   a   r e p l i c a t i o n   c o n t r o l l e r   \" f o o \" ,   w i t h   t h e   n u m b e r   o f   p o d s   b e t w e e n   1   a n d   5 ,   t a r g e t   C P U   u t i l i z a t i o n   a t   8 0 %   k u b e c t l   a u t o s c a l e   r c   f o o   - - m a x = 5   - - c p u - p e r c e n t = 8 0   C r e a t e s   a n   a u t o s c a l e r   t h a t   a u t o m a t i c a l l y   c h o o s e s   a n d   s e t s   t h e   n u m b e r   o f   p o d s   t h a t   r u n   i n   a   K u b e r n e t e s   c l u s t e r .   L o o k s   u p   a   d e p l o y m e n t ,   r e p l i c a   s e t ,   s t a t e f u l   s e t ,   o r   r e p l i c a t i o n   c o n t r o l l e r   b y   n a m e   a n d   c r e a t e s   a n   a u t o s c a l e r   t h a t   u s e s   t h e   g i v e n   r e s o u r c e   a s   a   r e f e r e n c e .   A n   a u t o s c a l e r   c a n   a u t o m a t i c a l l y   i n c r e a s e   o r   d e c r e a s e   n u m b e r   o f   p o d s   d e p l o y e d   w i t h i n   t h e   s y s t e m   a s   n e e d e d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13576"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   a u t o s c a l e   ( - f   F I L E N A M E   |   T Y P E   N A M E   |   T Y P E / N A M E )   [ - - m i n = M I N P O D S ]   - - m a x = M A X P O D S   [ - - c p u - p e r c e n t = C P U ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13577"
  },
  {
    "question": "What is debug?",
    "answer": "C r e a t e   a n   i n t e r a c t i v e   d e b u g g i n g   s e s s i o n   i n   p o d   m y p o d   a n d   i m m e d i a t e l y   a t t a c h   t o   i t .   #   ( r e q u i r e s   t h e   E p h e m e r a l C o n t a i n e r s   f e a t u r e   t o   b e   e n a b l e d   i n   t h e   c l u s t e r )   k u b e c t l   d e b u g   m y p o d   - i t   - - i m a g e = b u s y b o x   C r e a t e   a   d e b u g   c o n t a i n e r   n a m e d   d e b u g g e r   u s i n g   a   c u s t o m   a u t o m a t e d   d e b u g g i n g   i m a g e .   #   ( r e q u i r e s   t h e   E p h e m e r a l C o n t a i n e r s   f e a t u r e   t o   b e   e n a b l e d   i n   t h e   c l u s t e r )   k u b e c t l   d e b u g   - - i m a g e = m y p r o j / d e b u g - t o o l s   - c   d e b u g g e r   m y p o d   C r e a t e   a   c o p y   o f   m y p o d   a d d i n g   a   d e b u g   c o n t a i n e r   a n d   a t t a c h   t o   i t   k u b e c t l   d e b u g   m y p o d   - i t   - - i m a g e = b u s y b o x   - - c o p y - t o = m y - d e b u g g e r   C r e a t e   a   c o p y   o f   m y p o d   c h a n g i n g   t h e   c o m m a n d   o f   m y c o n t a i n e r   k u b e c t l   d e b u g   m y p o d   - i t   - - c o p y - t o = m y - d e b u g g e r   - - c o n t a i n e r = m y c o n t a i n e r   - -   s h   C r e a t e   a   c o p y   o f   m y p o d   c h a n g i n g   a l l   c o n t a i n e r   i m a g e s   t o   b u s y b o x   k u b e c t l   d e b u g   m y p o d   - - c o p y - t o = m y - d e b u g g e r   - - s e t - i m a g e = * = b u s y b o x   C r e a t e   a   c o p y   o f   m y p o d   a d d i n g   a   d e b u g   c o n t a i n e r   a n d   c h a n g i n g   c o n t a i n e r   i m a g e s   k u b e c t l   d e b u g   m y p o d   - i t   - - c o p y - t o = m y - d e b u g g e r   - - i m a g e = d e b i a n   - - s e t - i m a g e = a p p = a p p : d e b u g , s i d e c a r = s i d e c a r : d e b u g   C r e a t e   a n   i ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13578"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   d e b u g   ( P O D   |   T Y P E [ [ . V E R S I O N ] . G R O U P ] / N A M E )   [   - -   C O M M A N D   [ a r g s . . . ]   ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13579"
  },
  {
    "question": "What is diff?",
    "answer": "D i f f   r e s o u r c e s   i n c l u d e d   i n   p o d . j s o n   k u b e c t l   d i f f   - f   p o d . j s o n   D i f f   f i l e   r e a d   f r o m   s t d i n   c a t   s e r v i c e . y a m l   |   k u b e c t l   d i f f   - f   -   D i f f   c o n f i g u r a t i o n s   s p e c i f i e d   b y   f i l e   n a m e   o r   s t d i n   b e t w e e n   t h e   c u r r e n t   o n l i n e   c o n f i g u r a t i o n ,   a n d   t h e   c o n f i g u r a t i o n   a s   i t   w o u l d   b e   i f   a p p l i e d .   T h e   o u t p u t   i s   a l w a y s   Y A M L .   K U B E C T L _ E X T E R N A L _ D I F F   e n v i r o n m e n t   v a r i a b l e   c a n   b e   u s e d   t o   s e l e c t   y o u r   o w n   d i f f   c o m m a n d .   U s e r s   c a n   u s e   e x t e r n a l   c o m m a n d s   w i t h   p a r a m s   t o o ,   e x a m p l e :   K U B E C T L _ E X T E R N A L _ D I F F = \" c o l o r d i f f   - N   - u \"   B y   d e f a u l t ,   t h e   \" d i f f \"   c o m m a n d   a v a i l a b l e   i n   y o u r   p a t h   w i l l   b e   r u n   w i t h   t h e   \" - u \"   ( u n i f i e d   d i f f )   a n d   \" - N \"   ( t r e a t   a b s e n t   f i l e s   a s   e m p t y )   o p t i o n s .   E x i t   s t a t u s :   0   N o   d i f f e r e n c e s   w e r e   f o u n d .   1   D i f f e r e n c e s   w e r e   f o u n d .   > 1   K u b e c t l   o r   d i f f   f a i l e d   w i t h   a n   e r r o r .   N o t e :   K U B E C T L _ E X T E R N A L _ D I F F ,   i f   u s e d ,   i s   e x p e c t e d   t o   f o l l o w   t h a t   c o n v e n t i o n .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13580"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   d i f f   - f   F I L E N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13581"
  },
  {
    "question": "What is edit?",
    "answer": "E d i t   t h e   s e r v i c e   n a m e d   ' d o c k e r - r e g i s t r y '   k u b e c t l   e d i t   s v c / d o c k e r - r e g i s t r y   U s e   a n   a l t e r n a t i v e   e d i t o r   K U B E _ E D I T O R = \" n a n o \"   k u b e c t l   e d i t   s v c / d o c k e r - r e g i s t r y   E d i t   t h e   j o b   ' m y j o b '   i n   J S O N   u s i n g   t h e   v 1   A P I   f o r m a t   k u b e c t l   e d i t   j o b . v 1 . b a t c h / m y j o b   - o   j s o n   E d i t   t h e   d e p l o y m e n t   ' m y d e p l o y m e n t '   i n   Y A M L   a n d   s a v e   t h e   m o d i f i e d   c o n f i g   i n   i t s   a n n o t a t i o n   k u b e c t l   e d i t   d e p l o y m e n t / m y d e p l o y m e n t   - o   y a m l   - - s a v e - c o n f i g   E d i t   a   r e s o u r c e   f r o m   t h e   d e f a u l t   e d i t o r .   T h e   e d i t   c o m m a n d   a l l o w s   y o u   t o   d i r e c t l y   e d i t   a n y   A P I   r e s o u r c e   y o u   c a n   r e t r i e v e   v i a   t h e   c o m m a n d - l i n e   t o o l s .   I t   w i l l   o p e n   t h e   e d i t o r   d e f i n e d   b y   y o u r   K U B E _ E D I T O R ,   o r   E D I T O R   e n v i r o n m e n t   v a r i a b l e s ,   o r   f a l l   b a c k   t o   ' v i '   f o r   L i n u x   o r   ' n o t e p a d '   f o r   W i n d o w s .   Y o u   c a n   e d i t   m u l t i p l e   o b j e c t s ,   a l t h o u g h   c h a n g e s   a r e   a p p l i e d   o n e   a t   a   t i m e .   T h e   c o m m a n d   a c c e p t s   f i l e   n a m e s   a s   w e l l   a s   c o m m a n d - l i n e   a r g u m e n t s ,   a l t h o u g h   t h e   f i l e s   y o u   p o i n t   t o   m u s t   b e   p r e v i o u s l y   s a v e d   v e r s i o n s   o f   r e s o u r c e s .   E d i t i n g   i s   d o n e   w i t h   t h e   A P I   v e r s i o n   u s e d   t o   f e t c h   t h e   r e s o u r c e .   T o   e d i t   u s i n g   a   s p e c i f i c   A P I   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13582"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   e d i t   ( R E S O U R C E / N A M E   |   - f   F I L E N A M E )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13583"
  },
  {
    "question": "What is kustomize?",
    "answer": "B u i l d   t h e   c u r r e n t   w o r k i n g   d i r e c t o r y   k u b e c t l   k u s t o m i z e   B u i l d   s o m e   s h a r e d   c o n f i g u r a t i o n   d i r e c t o r y   k u b e c t l   k u s t o m i z e   / h o m e / c o n f i g / p r o d u c t i o n   B u i l d   f r o m   g i t h u b   k u b e c t l   k u s t o m i z e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s - s i g s / k u s t o m i z e . g i t / e x a m p l e s / h e l l o W o r l d ? r e f = v 1 . 0 . 6   B u i l d   a   s e t   o f   K R M   r e s o u r c e s   u s i n g   a   ' k u s t o m i z a t i o n . y a m l '   f i l e .   T h e   D I R   a r g u m e n t   m u s t   b e   a   p a t h   t o   a   d i r e c t o r y   c o n t a i n i n g   ' k u s t o m i z a t i o n . y a m l ' ,   o r   a   g i t   r e p o s i t o r y   U R L   w i t h   a   p a t h   s u f f i x   s p e c i f y i n g   s a m e   w i t h   r e s p e c t   t o   t h e   r e p o s i t o r y   r o o t .   I f   D I R   i s   o m i t t e d ,   ' . '   i s   a s s u m e d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13584"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   k u s t o m i z e   D I R",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13585"
  },
  {
    "question": "What is label?",
    "answer": "U p d a t e   p o d   ' f o o '   w i t h   t h e   l a b e l   ' u n h e a l t h y '   a n d   t h e   v a l u e   ' t r u e '   k u b e c t l   l a b e l   p o d s   f o o   u n h e a l t h y = t r u e   U p d a t e   p o d   ' f o o '   w i t h   t h e   l a b e l   ' s t a t u s '   a n d   t h e   v a l u e   ' u n h e a l t h y ' ,   o v e r w r i t i n g   a n y   e x i s t i n g   v a l u e   k u b e c t l   l a b e l   - - o v e r w r i t e   p o d s   f o o   s t a t u s = u n h e a l t h y   U p d a t e   a l l   p o d s   i n   t h e   n a m e s p a c e   k u b e c t l   l a b e l   p o d s   - - a l l   s t a t u s = u n h e a l t h y   U p d a t e   a   p o d   i d e n t i f i e d   b y   t h e   t y p e   a n d   n a m e   i n   \" p o d . j s o n \"   k u b e c t l   l a b e l   - f   p o d . j s o n   s t a t u s = u n h e a l t h y   U p d a t e   p o d   ' f o o '   o n l y   i f   t h e   r e s o u r c e   i s   u n c h a n g e d   f r o m   v e r s i o n   1   k u b e c t l   l a b e l   p o d s   f o o   s t a t u s = u n h e a l t h y   - - r e s o u r c e - v e r s i o n = 1   U p d a t e   p o d   ' f o o '   b y   r e m o v i n g   a   l a b e l   n a m e d   ' b a r '   i f   i t   e x i s t s   #   D o e s   n o t   r e q u i r e   t h e   - - o v e r w r i t e   f l a g   k u b e c t l   l a b e l   p o d s   f o o   b a r -   U p d a t e   t h e   l a b e l s   o n   a   r e s o u r c e .   A   l a b e l   k e y   a n d   v a l u e   m u s t   b e g i n   w i t h   a   l e t t e r   o r   n u m b e r ,   a n d   m a y   c o n t a i n   l e t t e r s ,   n u m b e r s ,   h y p h e n s ,   d o t s ,   a n d   u n d e r s c o r e s ,   u p   t o   6 3   c h a r a c t e r s   e a c h .   O p t i o n a l l y ,   t h e   k e y   c a n   b e g i n   w i t h   a   D N S   s u b d o m a i n   p r e f i x   a n d   a   s i n g l e   ' / ' ,   l i k e   e x a m p l e . c o m / m y - a p p .   I f   - - o v e r w r i t e   i s   t r u e ,   t h e n ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13586"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   l a b e l   [ - - o v e r w r i t e ]   ( - f   F I L E N A M E   |   T Y P E   N A M E )   K E Y _ 1 = V A L _ 1   . . .   K E Y _ N = V A L _ N   [ - - r e s o u r c e - v e r s i o n = v e r s i o n ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13587"
  },
  {
    "question": "What is patch?",
    "answer": "P a r t i a l l y   u p d a t e   a   n o d e   u s i n g   a   s t r a t e g i c   m e r g e   p a t c h ,   s p e c i f y i n g   t h e   p a t c h   a s   J S O N   k u b e c t l   p a t c h   n o d e   k 8 s - n o d e - 1   - p   ' { \" s p e c \" : { \" u n s c h e d u l a b l e \" : t r u e } } '   P a r t i a l l y   u p d a t e   a   n o d e   u s i n g   a   s t r a t e g i c   m e r g e   p a t c h ,   s p e c i f y i n g   t h e   p a t c h   a s   Y A M L   k u b e c t l   p a t c h   n o d e   k 8 s - n o d e - 1   - p   $ ' s p e c : \\ n   u n s c h e d u l a b l e :   t r u e '   P a r t i a l l y   u p d a t e   a   n o d e   i d e n t i f i e d   b y   t h e   t y p e   a n d   n a m e   s p e c i f i e d   i n   \" n o d e . j s o n \"   u s i n g   s t r a t e g i c   m e r g e   p a t c h   k u b e c t l   p a t c h   - f   n o d e . j s o n   - p   ' { \" s p e c \" : { \" u n s c h e d u l a b l e \" : t r u e } } '   U p d a t e   a   c o n t a i n e r ' s   i m a g e ;   s p e c . c o n t a i n e r s [ * ] . n a m e   i s   r e q u i r e d   b e c a u s e   i t ' s   a   m e r g e   k e y   k u b e c t l   p a t c h   p o d   v a l i d - p o d   - p   ' { \" s p e c \" : { \" c o n t a i n e r s \" : [ { \" n a m e \" : \" k u b e r n e t e s - s e r v e - h o s t n a m e \" , \" i m a g e \" : \" n e w   i m a g e \" } ] } } '   U p d a t e   a   c o n t a i n e r ' s   i m a g e   u s i n g   a   J S O N   p a t c h   w i t h   p o s i t i o n a l   a r r a y s   k u b e c t l   p a t c h   p o d   v a l i d - p o d   - - t y p e = ' j s o n '   - p = ' [ { \" o p \" :   \" r e p l a c e \" ,   \" p a t h \" :   \" / s p e c / c o n t a i n e r s / 0 / i m a g e \" ,   \" v a l u e \" : \" n e w   i m a g e \" } ] '   U p d a t e   f i e l d s   o f   a   r e s o u r c e   u s i n g   s t r a t e g i c   m e r g e   p a t c h ,   a   J S O N   m e r g e   p a t c h ,   o r   a   J S O N   p a t c h .   J S O N   a n d   Y A M L   f o r m a t s   a r e   a c c e p t e d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13588"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   p a t c h   ( - f   F I L E N A M E   |   T Y P E   N A M E )   [ - p   P A T C H | - - p a t c h - f i l e   F I L E ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13589"
  },
  {
    "question": "What is replace?",
    "answer": "R e p l a c e   a   p o d   u s i n g   t h e   d a t a   i n   p o d . j s o n   k u b e c t l   r e p l a c e   - f   . / p o d . j s o n   R e p l a c e   a   p o d   b a s e d   o n   t h e   J S O N   p a s s e d   i n t o   s t d i n   c a t   p o d . j s o n   |   k u b e c t l   r e p l a c e   - f   -   U p d a t e   a   s i n g l e - c o n t a i n e r   p o d ' s   i m a g e   v e r s i o n   ( t a g )   t o   v 4   k u b e c t l   g e t   p o d   m y p o d   - o   y a m l   |   s e d   ' s / \\ ( i m a g e :   m y i m a g e \\ ) : . * $ / \\ 1 : v 4 / '   |   k u b e c t l   r e p l a c e   - f   -   F o r c e   r e p l a c e ,   d e l e t e   a n d   t h e n   r e - c r e a t e   t h e   r e s o u r c e   k u b e c t l   r e p l a c e   - - f o r c e   - f   . / p o d . j s o n   R e p l a c e   a   r e s o u r c e   b y   f i l e   n a m e   o r   s t d i n .   J S O N   a n d   Y A M L   f o r m a t s   a r e   a c c e p t e d .   I f   r e p l a c i n g   a n   e x i s t i n g   r e s o u r c e ,   t h e   c o m p l e t e   r e s o u r c e   s p e c   m u s t   b e   p r o v i d e d .   T h i s   c a n   b e   o b t a i n e d   b y   $   k u b e c t l   g e t   T Y P E   N A M E   - o   y a m l",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13590"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   r e p l a c e   - f   F I L E N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13591"
  },
  {
    "question": "What is rollout?",
    "answer": "R o l l b a c k   t o   t h e   p r e v i o u s   d e p l o y m e n t   k u b e c t l   r o l l o u t   u n d o   d e p l o y m e n t / a b c   C h e c k   t h e   r o l l o u t   s t a t u s   o f   a   d a e m o n s e t   k u b e c t l   r o l l o u t   s t a t u s   d a e m o n s e t / f o o   M a n a g e   t h e   r o l l o u t   o f   a   r e s o u r c e .   V a l i d   r e s o u r c e   t y p e s   i n c l u d e :   d e p l o y m e n t s   d a e m o n s e t s   s t a t e f u l s e t s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13592"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   r o l l o u t   S U B C O M M A N D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13593"
  },
  {
    "question": "What is history?",
    "answer": "V i e w   t h e   r o l l o u t   h i s t o r y   o f   a   d e p l o y m e n t   k u b e c t l   r o l l o u t   h i s t o r y   d e p l o y m e n t / a b c   V i e w   t h e   d e t a i l s   o f   d a e m o n s e t   r e v i s i o n   3   k u b e c t l   r o l l o u t   h i s t o r y   d a e m o n s e t / a b c   - - r e v i s i o n = 3   V i e w   p r e v i o u s   r o l l o u t   r e v i s i o n s   a n d   c o n f i g u r a t i o n s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13594"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   r o l l o u t   h i s t o r y   ( T Y P E   N A M E   |   T Y P E / N A M E )   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13595"
  },
  {
    "question": "What is pause?",
    "answer": "M a r k   t h e   n g i n x   d e p l o y m e n t   a s   p a u s e d   #   A n y   c u r r e n t   s t a t e   o f   t h e   d e p l o y m e n t   w i l l   c o n t i n u e   i t s   f u n c t i o n ;   n e w   u p d a t e s   #   t o   t h e   d e p l o y m e n t   w i l l   n o t   h a v e   a n   e f f e c t   a s   l o n g   a s   t h e   d e p l o y m e n t   i s   p a u s e d   k u b e c t l   r o l l o u t   p a u s e   d e p l o y m e n t / n g i n x   M a r k   t h e   p r o v i d e d   r e s o u r c e   a s   p a u s e d .   P a u s e d   r e s o u r c e s   w i l l   n o t   b e   r e c o n c i l e d   b y   a   c o n t r o l l e r .   U s e   \" k u b e c t l   r o l l o u t   r e s u m e \"   t o   r e s u m e   a   p a u s e d   r e s o u r c e .   C u r r e n t l y   o n l y   d e p l o y m e n t s   s u p p o r t   b e i n g   p a u s e d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13596"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   r o l l o u t   p a u s e   R E S O U R C E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13597"
  },
  {
    "question": "What is restart?",
    "answer": "R e s t a r t   a   d e p l o y m e n t   k u b e c t l   r o l l o u t   r e s t a r t   d e p l o y m e n t / n g i n x   R e s t a r t   a   d a e m o n   s e t   k u b e c t l   r o l l o u t   r e s t a r t   d a e m o n s e t / a b c   R e s t a r t   a   r e s o u r c e .   R e s o u r c e   r o l l o u t   w i l l   b e   r e s t a r t e d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13598"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   r o l l o u t   r e s t a r t   R E S O U R C E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13599"
  },
  {
    "question": "What is resume?",
    "answer": "R e s u m e   a n   a l r e a d y   p a u s e d   d e p l o y m e n t   k u b e c t l   r o l l o u t   r e s u m e   d e p l o y m e n t / n g i n x   R e s u m e   a   p a u s e d   r e s o u r c e .   P a u s e d   r e s o u r c e s   w i l l   n o t   b e   r e c o n c i l e d   b y   a   c o n t r o l l e r .   B y   r e s u m i n g   a   r e s o u r c e ,   w e   a l l o w   i t   t o   b e   r e c o n c i l e d   a g a i n .   C u r r e n t l y   o n l y   d e p l o y m e n t s   s u p p o r t   b e i n g   r e s u m e d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13600"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   r o l l o u t   r e s u m e   R E S O U R C E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13601"
  },
  {
    "question": "What is status?",
    "answer": "W a t c h   t h e   r o l l o u t   s t a t u s   o f   a   d e p l o y m e n t   k u b e c t l   r o l l o u t   s t a t u s   d e p l o y m e n t / n g i n x   S h o w   t h e   s t a t u s   o f   t h e   r o l l o u t .   B y   d e f a u l t   ' r o l l o u t   s t a t u s '   w i l l   w a t c h   t h e   s t a t u s   o f   t h e   l a t e s t   r o l l o u t   u n t i l   i t ' s   d o n e .   I f   y o u   d o n ' t   w a n t   t o   w a i t   f o r   t h e   r o l l o u t   t o   f i n i s h   t h e n   y o u   c a n   u s e   - - w a t c h = f a l s e .   N o t e   t h a t   i f   a   n e w   r o l l o u t   s t a r t s   i n - b e t w e e n ,   t h e n   ' r o l l o u t   s t a t u s '   w i l l   c o n t i n u e   w a t c h i n g   t h e   l a t e s t   r e v i s i o n .   I f   y o u   w a n t   t o   p i n   t o   a   s p e c i f i c   r e v i s i o n   a n d   a b o r t   i f   i t   i s   r o l l e d   o v e r   b y   a n o t h e r   r e v i s i o n ,   u s e   - - r e v i s i o n = N   w h e r e   N   i s   t h e   r e v i s i o n   y o u   n e e d   t o   w a t c h   f o r .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13602"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   r o l l o u t   s t a t u s   ( T Y P E   N A M E   |   T Y P E / N A M E )   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13603"
  },
  {
    "question": "What is undo?",
    "answer": "R o l l   b a c k   t o   t h e   p r e v i o u s   d e p l o y m e n t   k u b e c t l   r o l l o u t   u n d o   d e p l o y m e n t / a b c   R o l l   b a c k   t o   d a e m o n s e t   r e v i s i o n   3   k u b e c t l   r o l l o u t   u n d o   d a e m o n s e t / a b c   - - t o - r e v i s i o n = 3   R o l l   b a c k   t o   t h e   p r e v i o u s   d e p l o y m e n t   w i t h   d r y - r u n   k u b e c t l   r o l l o u t   u n d o   - - d r y - r u n = s e r v e r   d e p l o y m e n t / a b c   R o l l   b a c k   t o   a   p r e v i o u s   r o l l o u t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13604"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   r o l l o u t   u n d o   ( T Y P E   N A M E   |   T Y P E / N A M E )   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13605"
  },
  {
    "question": "What is scale?",
    "answer": "S c a l e   a   r e p l i c a   s e t   n a m e d   ' f o o '   t o   3   k u b e c t l   s c a l e   - - r e p l i c a s = 3   r s / f o o   S c a l e   a   r e s o u r c e   i d e n t i f i e d   b y   t y p e   a n d   n a m e   s p e c i f i e d   i n   \" f o o . y a m l \"   t o   3   k u b e c t l   s c a l e   - - r e p l i c a s = 3   - f   f o o . y a m l   I f   t h e   d e p l o y m e n t   n a m e d   m y s q l ' s   c u r r e n t   s i z e   i s   2 ,   s c a l e   m y s q l   t o   3   k u b e c t l   s c a l e   - - c u r r e n t - r e p l i c a s = 2   - - r e p l i c a s = 3   d e p l o y m e n t / m y s q l   S c a l e   m u l t i p l e   r e p l i c a t i o n   c o n t r o l l e r s   k u b e c t l   s c a l e   - - r e p l i c a s = 5   r c / f o o   r c / b a r   r c / b a z   S c a l e   s t a t e f u l   s e t   n a m e d   ' w e b '   t o   3   k u b e c t l   s c a l e   - - r e p l i c a s = 3   s t a t e f u l s e t / w e b   S e t   a   n e w   s i z e   f o r   a   d e p l o y m e n t ,   r e p l i c a   s e t ,   r e p l i c a t i o n   c o n t r o l l e r ,   o r   s t a t e f u l   s e t .   S c a l e   a l s o   a l l o w s   u s e r s   t o   s p e c i f y   o n e   o r   m o r e   p r e c o n d i t i o n s   f o r   t h e   s c a l e   a c t i o n .   I f   - - c u r r e n t - r e p l i c a s   o r   - - r e s o u r c e - v e r s i o n   i s   s p e c i f i e d ,   i t   i s   v a l i d a t e d   b e f o r e   t h e   s c a l e   i s   a t t e m p t e d ,   a n d   i t   i s   g u a r a n t e e d   t h a t   t h e   p r e c o n d i t i o n   h o l d s   t r u e   w h e n   t h e   s c a l e   i s   s e n t   t o   t h e   s e r v e r .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13606"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   s c a l e   [ - - r e s o u r c e - v e r s i o n = v e r s i o n ]   [ - - c u r r e n t - r e p l i c a s = c o u n t ]   - - r e p l i c a s = C O U N T   ( - f   F I L E N A M E   |   T Y P E   N A M E )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13607"
  },
  {
    "question": "What is set?",
    "answer": "C o n f i g u r e   a p p l i c a t i o n   r e s o u r c e s .   T h e s e   c o m m a n d s   h e l p   y o u   m a k e   c h a n g e s   t o   e x i s t i n g   a p p l i c a t i o n   r e s o u r c e s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13608"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   s e t   S U B C O M M A N D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13609"
  },
  {
    "question": "What is env?",
    "answer": "U p d a t e   d e p l o y m e n t   ' r e g i s t r y '   w i t h   a   n e w   e n v i r o n m e n t   v a r i a b l e   k u b e c t l   s e t   e n v   d e p l o y m e n t / r e g i s t r y   S T O R A G E _ D I R = / l o c a l   L i s t   t h e   e n v i r o n m e n t   v a r i a b l e s   d e f i n e d   o n   a   d e p l o y m e n t s   ' s a m p l e - b u i l d '   k u b e c t l   s e t   e n v   d e p l o y m e n t / s a m p l e - b u i l d   - - l i s t   L i s t   t h e   e n v i r o n m e n t   v a r i a b l e s   d e f i n e d   o n   a l l   p o d s   k u b e c t l   s e t   e n v   p o d s   - - a l l   - - l i s t   O u t p u t   m o d i f i e d   d e p l o y m e n t   i n   Y A M L ,   a n d   d o e s   n o t   a l t e r   t h e   o b j e c t   o n   t h e   s e r v e r   k u b e c t l   s e t   e n v   d e p l o y m e n t / s a m p l e - b u i l d   S T O R A G E _ D I R = / d a t a   - o   y a m l   U p d a t e   a l l   c o n t a i n e r s   i n   a l l   r e p l i c a t i o n   c o n t r o l l e r s   i n   t h e   p r o j e c t   t o   h a v e   E N V = p r o d   k u b e c t l   s e t   e n v   r c   - - a l l   E N V = p r o d   I m p o r t   e n v i r o n m e n t   f r o m   a   s e c r e t   k u b e c t l   s e t   e n v   - - f r o m = s e c r e t / m y s e c r e t   d e p l o y m e n t / m y a p p   I m p o r t   e n v i r o n m e n t   f r o m   a   c o n f i g   m a p   w i t h   a   p r e f i x   k u b e c t l   s e t   e n v   - - f r o m = c o n f i g m a p / m y c o n f i g m a p   - - p r e f i x = M Y S Q L _   d e p l o y m e n t / m y a p p   I m p o r t   s p e c i f i c   k e y s   f r o m   a   c o n f i g   m a p   k u b e c t l   s e t   e n v   - - k e y s = m y - e x a m p l e - k e y   - - f r o m = c o n f i g m a p / m y c o n f i g m a p   d e p l o y m e n t / m y a p p   R e m o v e   t h e   e n v i r o n m e n t   v a r i a b l e   E N V   f r o m   c o n t a i n e r   ' c 1 '   i n   a l l   d e p l o y m e n t   c ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13610"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   s e t   e n v   R E S O U R C E / N A M E   K E Y _ 1 = V A L _ 1   . . .   K E Y _ N = V A L _ N",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13611"
  },
  {
    "question": "What is image?",
    "answer": "S e t   a   d e p l o y m e n t ' s   n g i n x   c o n t a i n e r   i m a g e   t o   ' n g i n x : 1 . 9 . 1 ' ,   a n d   i t s   b u s y b o x   c o n t a i n e r   i m a g e   t o   ' b u s y b o x '   k u b e c t l   s e t   i m a g e   d e p l o y m e n t / n g i n x   b u s y b o x = b u s y b o x   n g i n x = n g i n x : 1 . 9 . 1   U p d a t e   a l l   d e p l o y m e n t s '   a n d   r c ' s   n g i n x   c o n t a i n e r ' s   i m a g e   t o   ' n g i n x : 1 . 9 . 1 '   k u b e c t l   s e t   i m a g e   d e p l o y m e n t s , r c   n g i n x = n g i n x : 1 . 9 . 1   - - a l l   U p d a t e   i m a g e   o f   a l l   c o n t a i n e r s   o f   d a e m o n s e t   a b c   t o   ' n g i n x : 1 . 9 . 1 '   k u b e c t l   s e t   i m a g e   d a e m o n s e t   a b c   * = n g i n x : 1 . 9 . 1   P r i n t   r e s u l t   ( i n   y a m l   f o r m a t )   o f   u p d a t i n g   n g i n x   c o n t a i n e r   i m a g e   f r o m   l o c a l   f i l e ,   w i t h o u t   h i t t i n g   t h e   s e r v e r   k u b e c t l   s e t   i m a g e   - f   p a t h / t o / f i l e . y a m l   n g i n x = n g i n x : 1 . 9 . 1   - - l o c a l   - o   y a m l   U p d a t e   e x i s t i n g   c o n t a i n e r   i m a g e ( s )   o f   r e s o u r c e s .   P o s s i b l e   r e s o u r c e s   i n c l u d e   ( c a s e   i n s e n s i t i v e ) :   p o d   ( p o ) ,   r e p l i c a t i o n c o n t r o l l e r   ( r c ) ,   d e p l o y m e n t   ( d e p l o y ) ,   d a e m o n s e t   ( d s ) ,   s t a t e f u l s e t   ( s t s ) ,   c r o n j o b   ( c j ) ,   r e p l i c a s e t   ( r s )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13612"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   s e t   i m a g e   ( - f   F I L E N A M E   |   T Y P E   N A M E )   C O N T A I N E R _ N A M E _ 1 = C O N T A I N E R _ I M A G E _ 1   . . .   C O N T A I N E R _ N A M E _ N = C O N T A I N E R _ I M A G E _ N",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13613"
  },
  {
    "question": "What is resources?",
    "answer": "S e t   a   d e p l o y m e n t s   n g i n x   c o n t a i n e r   c p u   l i m i t s   t o   \" 2 0 0 m \"   a n d   m e m o r y   t o   \" 5 1 2 M i \"   k u b e c t l   s e t   r e s o u r c e s   d e p l o y m e n t   n g i n x   - c = n g i n x   - - l i m i t s = c p u = 2 0 0 m , m e m o r y = 5 1 2 M i   S e t   t h e   r e s o u r c e   r e q u e s t   a n d   l i m i t s   f o r   a l l   c o n t a i n e r s   i n   n g i n x   k u b e c t l   s e t   r e s o u r c e s   d e p l o y m e n t   n g i n x   - - l i m i t s = c p u = 2 0 0 m , m e m o r y = 5 1 2 M i   - - r e q u e s t s = c p u = 1 0 0 m , m e m o r y = 2 5 6 M i   R e m o v e   t h e   r e s o u r c e   r e q u e s t s   f o r   r e s o u r c e s   o n   c o n t a i n e r s   i n   n g i n x   k u b e c t l   s e t   r e s o u r c e s   d e p l o y m e n t   n g i n x   - - l i m i t s = c p u = 0 , m e m o r y = 0   - - r e q u e s t s = c p u = 0 , m e m o r y = 0   P r i n t   t h e   r e s u l t   ( i n   y a m l   f o r m a t )   o f   u p d a t i n g   n g i n x   c o n t a i n e r   l i m i t s   f r o m   a   l o c a l ,   w i t h o u t   h i t t i n g   t h e   s e r v e r   k u b e c t l   s e t   r e s o u r c e s   - f   p a t h / t o / f i l e . y a m l   - - l i m i t s = c p u = 2 0 0 m , m e m o r y = 5 1 2 M i   - - l o c a l   - o   y a m l   S p e c i f y   c o m p u t e   r e s o u r c e   r e q u i r e m e n t s   ( C P U ,   m e m o r y )   f o r   a n y   r e s o u r c e   t h a t   d e f i n e s   a   p o d   t e m p l a t e .   I f   a   p o d   i s   s u c c e s s f u l l y   s c h e d u l e d ,   i t   i s   g u a r a n t e e d   t h e   a m o u n t   o f   r e s o u r c e   r e q u e s t e d ,   b u t   m a y   b u r s t   u p   t o   i t s   s p e c i f i e d   l i m i t s .   F o r   e a c h   c o m p u t e   r e s o u r c e ,   i f   a   l i m i t   i s   s p e c i f i e d   a n d   a   r e q u e s t   i s   o m i t t e d ,   t h e   r e q u e s t   w i l l   d ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13614"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   s e t   r e s o u r c e s   ( - f   F I L E N A M E   |   T Y P E   N A M E )   ( [ - - l i m i t s = L I M I T S   &   - - r e q u e s t s = R E Q U E S T S ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13615"
  },
  {
    "question": "What is selector?",
    "answer": "S e t   t h e   l a b e l s   a n d   s e l e c t o r   b e f o r e   c r e a t i n g   a   d e p l o y m e n t / s e r v i c e   p a i r   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   m y - s v c   - - c l u s t e r i p = \" N o n e \"   - o   y a m l   - - d r y - r u n = c l i e n t   |   k u b e c t l   s e t   s e l e c t o r   - - l o c a l   - f   -   ' e n v i r o n m e n t = q a '   - o   y a m l   |   k u b e c t l   c r e a t e   - f   -   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - o   y a m l   - - d r y - r u n = c l i e n t   |   k u b e c t l   l a b e l   - - l o c a l   - f   -   e n v i r o n m e n t = q a   - o   y a m l   |   k u b e c t l   c r e a t e   - f   -   S e t   t h e   s e l e c t o r   o n   a   r e s o u r c e .   N o t e   t h a t   t h e   n e w   s e l e c t o r   w i l l   o v e r w r i t e   t h e   o l d   s e l e c t o r   i f   t h e   r e s o u r c e   h a d   o n e   p r i o r   t o   t h e   i n v o c a t i o n   o f   ' s e t   s e l e c t o r ' .   A   s e l e c t o r   m u s t   b e g i n   w i t h   a   l e t t e r   o r   n u m b e r ,   a n d   m a y   c o n t a i n   l e t t e r s ,   n u m b e r s ,   h y p h e n s ,   d o t s ,   a n d   u n d e r s c o r e s ,   u p   t o   6 3   c h a r a c t e r s .   I f   - - r e s o u r c e - v e r s i o n   i s   s p e c i f i e d ,   t h e n   u p d a t e s   w i l l   u s e   t h i s   r e s o u r c e   v e r s i o n ,   o t h e r w i s e   t h e   e x i s t i n g   r e s o u r c e - v e r s i o n   w i l l   b e   u s e d .   N o t e :   c u r r e n t l y   s e l e c t o r s   c a n   o n l y   b e   s e t   o n   S e r v i c e   o b j e c t s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13616"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   s e t   s e l e c t o r   ( - f   F I L E N A M E   |   T Y P E   N A M E )   E X P R E S S I O N S   [ - - r e s o u r c e - v e r s i o n = v e r s i o n ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13617"
  },
  {
    "question": "What is serviceaccount?",
    "answer": "S e t   d e p l o y m e n t   n g i n x - d e p l o y m e n t ' s   s e r v i c e   a c c o u n t   t o   s e r v i c e a c c o u n t 1   k u b e c t l   s e t   s e r v i c e a c c o u n t   d e p l o y m e n t   n g i n x - d e p l o y m e n t   s e r v i c e a c c o u n t 1   P r i n t   t h e   r e s u l t   ( i n   Y A M L   f o r m a t )   o f   u p d a t e d   n g i n x   d e p l o y m e n t   w i t h   t h e   s e r v i c e   a c c o u n t   f r o m   l o c a l   f i l e ,   w i t h o u t   h i t t i n g   t h e   A P I   s e r v e r   k u b e c t l   s e t   s a   - f   n g i n x - d e p l o y m e n t . y a m l   s e r v i c e a c c o u n t 1   - - l o c a l   - - d r y - r u n = c l i e n t   - o   y a m l   U p d a t e   t h e   s e r v i c e   a c c o u n t   o f   p o d   t e m p l a t e   r e s o u r c e s .   P o s s i b l e   r e s o u r c e s   ( c a s e   i n s e n s i t i v e )   c a n   b e :   r e p l i c a t i o n c o n t r o l l e r   ( r c ) ,   d e p l o y m e n t   ( d e p l o y ) ,   d a e m o n s e t   ( d s ) ,   j o b ,   r e p l i c a s e t   ( r s ) ,   s t a t e f u l s e t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13618"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   s e t   s e r v i c e a c c o u n t   ( - f   F I L E N A M E   |   T Y P E   N A M E )   S E R V I C E _ A C C O U N T",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13619"
  },
  {
    "question": "What is subject?",
    "answer": "U p d a t e   a   c l u s t e r   r o l e   b i n d i n g   f o r   s e r v i c e a c c o u n t 1   k u b e c t l   s e t   s u b j e c t   c l u s t e r r o l e b i n d i n g   a d m i n   - - s e r v i c e a c c o u n t = n a m e s p a c e : s e r v i c e a c c o u n t 1   U p d a t e   a   r o l e   b i n d i n g   f o r   u s e r 1 ,   u s e r 2 ,   a n d   g r o u p 1   k u b e c t l   s e t   s u b j e c t   r o l e b i n d i n g   a d m i n   - - u s e r = u s e r 1   - - u s e r = u s e r 2   - - g r o u p = g r o u p 1   P r i n t   t h e   r e s u l t   ( i n   Y A M L   f o r m a t )   o f   u p d a t i n g   r o l e b i n d i n g   s u b j e c t s   f r o m   a   l o c a l ,   w i t h o u t   h i t t i n g   t h e   s e r v e r   k u b e c t l   c r e a t e   r o l e b i n d i n g   a d m i n   - - r o l e = a d m i n   - - u s e r = a d m i n   - o   y a m l   - - d r y - r u n = c l i e n t   |   k u b e c t l   s e t   s u b j e c t   - - l o c a l   - f   -   - - u s e r = f o o   - o   y a m l   U p d a t e   t h e   u s e r ,   g r o u p ,   o r   s e r v i c e   a c c o u n t   i n   a   r o l e   b i n d i n g   o r   c l u s t e r   r o l e   b i n d i n g .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13620"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   s e t   s u b j e c t   ( - f   F I L E N A M E   |   T Y P E   N A M E )   [ - - u s e r = u s e r n a m e ]   [ - - g r o u p = g r o u p n a m e ]   [ - - s e r v i c e a c c o u n t = n a m e s p a c e : s e r v i c e a c c o u n t n a m e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13621"
  },
  {
    "question": "What is wait?",
    "answer": "W a i t   f o r   t h e   p o d   \" b u s y b o x 1 \"   t o   c o n t a i n   t h e   s t a t u s   c o n d i t i o n   o f   t y p e   \" R e a d y \"   k u b e c t l   w a i t   - - f o r = c o n d i t i o n = R e a d y   p o d / b u s y b o x 1   T h e   d e f a u l t   v a l u e   o f   s t a t u s   c o n d i t i o n   i s   t r u e ;   y o u   c a n   s e t   i t   t o   f a l s e   k u b e c t l   w a i t   - - f o r = c o n d i t i o n = R e a d y = f a l s e   p o d / b u s y b o x 1   W a i t   f o r   t h e   p o d   \" b u s y b o x 1 \"   t o   b e   d e l e t e d ,   w i t h   a   t i m e o u t   o f   6 0 s ,   a f t e r   h a v i n g   i s s u e d   t h e   \" d e l e t e \"   c o m m a n d   k u b e c t l   d e l e t e   p o d / b u s y b o x 1   k u b e c t l   w a i t   - - f o r = d e l e t e   p o d / b u s y b o x 1   - - t i m e o u t = 6 0 s   E x p e r i m e n t a l :   W a i t   f o r   a   s p e c i f i c   c o n d i t i o n   o n   o n e   o r   m a n y   r e s o u r c e s .   T h e   c o m m a n d   t a k e s   m u l t i p l e   r e s o u r c e s   a n d   w a i t s   u n t i l   t h e   s p e c i f i e d   c o n d i t i o n   i s   s e e n   i n   t h e   S t a t u s   f i e l d   o f   e v e r y   g i v e n   r e s o u r c e .   A l t e r n a t i v e l y ,   t h e   c o m m a n d   c a n   w a i t   f o r   t h e   g i v e n   s e t   o f   r e s o u r c e s   t o   b e   d e l e t e d   b y   p r o v i d i n g   t h e   \" d e l e t e \"   k e y w o r d   a s   t h e   v a l u e   t o   t h e   - - f o r   f l a g .   A   s u c c e s s f u l   m e s s a g e   w i l l   b e   p r i n t e d   t o   s t d o u t   i n d i c a t i n g   w h e n   t h e   s p e c i f i e d   c o n d i t i o n   h a s   b e e n   m e t .   Y o u   c a n   u s e   - o   o p t i o n   t o   c h a n g e   t o   o u t p u t   d e s t i n a t i o n .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13622"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   w a i t   ( [ - f   F I L E N A M E ]   |   r e s o u r c e . g r o u p / r e s o u r c e . n a m e   |   r e s o u r c e . g r o u p   [ ( - l   l a b e l   |   - - a l l ) ] )   [ - - f o r = d e l e t e | - - f o r   c o n d i t i o n = a v a i l a b l e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13623"
  },
  {
    "question": "What is WORKING WITH APPS?",
    "answer": "T h i s   s e c t i o n   c o n t a i n s   c o m m a n d s   f o r   i n s p e c t i n g   a n d   d e b u g g i n g   y o u r   a p p l i c a t i o n s .   l o g s   w i l l   p r i n t   t h e   l o g s   f r o m   t h e   s p e c i f i e d   p o d   +   c o n t a i n e r .   e x e c   c a n   b e   u s e d   t o   g e t   a n   i n t e r a c t i v e   s h e l l   o n   a   p o d   +   c o n t a i n e r .   d e s c r i b e   w i l l   p r i n t   d e b u g   i n f o r m a t i o n   a b o u t   t h e   g i v e n   r e s o u r c e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13624"
  },
  {
    "question": "What is attach?",
    "answer": "G e t   o u t p u t   f r o m   r u n n i n g   p o d   m y p o d ;   u s e   t h e   ' k u b e c t l . k u b e r n e t e s . i o / d e f a u l t - c o n t a i n e r '   a n n o t a t i o n   #   f o r   s e l e c t i n g   t h e   c o n t a i n e r   t o   b e   a t t a c h e d   o r   t h e   f i r s t   c o n t a i n e r   i n   t h e   p o d   w i l l   b e   c h o s e n   k u b e c t l   a t t a c h   m y p o d   G e t   o u t p u t   f r o m   r u b y - c o n t a i n e r   f r o m   p o d   m y p o d   k u b e c t l   a t t a c h   m y p o d   - c   r u b y - c o n t a i n e r   S w i t c h   t o   r a w   t e r m i n a l   m o d e ;   s e n d s   s t d i n   t o   ' b a s h '   i n   r u b y - c o n t a i n e r   f r o m   p o d   m y p o d   #   a n d   s e n d s   s t d o u t / s t d e r r   f r o m   ' b a s h '   b a c k   t o   t h e   c l i e n t   k u b e c t l   a t t a c h   m y p o d   - c   r u b y - c o n t a i n e r   - i   - t   G e t   o u t p u t   f r o m   t h e   f i r s t   p o d   o f   a   r e p l i c a   s e t   n a m e d   n g i n x   k u b e c t l   a t t a c h   r s / n g i n x   A t t a c h   t o   a   p r o c e s s   t h a t   i s   a l r e a d y   r u n n i n g   i n s i d e   a n   e x i s t i n g   c o n t a i n e r .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13625"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   a t t a c h   ( P O D   |   T Y P E / N A M E )   - c   C O N T A I N E R",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13626"
  },
  {
    "question": "What is auth?",
    "answer": "I n s p e c t   a u t h o r i z a t i o n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13627"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   a u t h",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13628"
  },
  {
    "question": "What is can-i?",
    "answer": "C h e c k   t o   s e e   i f   I   c a n   c r e a t e   p o d s   i n   a n y   n a m e s p a c e   k u b e c t l   a u t h   c a n - i   c r e a t e   p o d s   - - a l l - n a m e s p a c e s   C h e c k   t o   s e e   i f   I   c a n   l i s t   d e p l o y m e n t s   i n   m y   c u r r e n t   n a m e s p a c e   k u b e c t l   a u t h   c a n - i   l i s t   d e p l o y m e n t s . a p p s   C h e c k   t o   s e e   i f   I   c a n   d o   e v e r y t h i n g   i n   m y   c u r r e n t   n a m e s p a c e   ( \" * \"   m e a n s   a l l )   k u b e c t l   a u t h   c a n - i   ' * '   ' * '   C h e c k   t o   s e e   i f   I   c a n   g e t   t h e   j o b   n a m e d   \" b a r \"   i n   n a m e s p a c e   \" f o o \"   k u b e c t l   a u t h   c a n - i   l i s t   j o b s . b a t c h / b a r   - n   f o o   C h e c k   t o   s e e   i f   I   c a n   r e a d   p o d   l o g s   k u b e c t l   a u t h   c a n - i   g e t   p o d s   - - s u b r e s o u r c e = l o g   C h e c k   t o   s e e   i f   I   c a n   a c c e s s   t h e   U R L   / l o g s /   k u b e c t l   a u t h   c a n - i   g e t   / l o g s /   L i s t   a l l   a l l o w e d   a c t i o n s   i n   n a m e s p a c e   \" f o o \"   k u b e c t l   a u t h   c a n - i   - - l i s t   - - n a m e s p a c e = f o o   C h e c k   w h e t h e r   a n   a c t i o n   i s   a l l o w e d .   V E R B   i s   a   l o g i c a l   K u b e r n e t e s   A P I   v e r b   l i k e   ' g e t ' ,   ' l i s t ' ,   ' w a t c h ' ,   ' d e l e t e ' ,   e t c .   T Y P E   i s   a   K u b e r n e t e s   r e s o u r c e .   S h o r t c u t s   a n d   g r o u p s   w i l l   b e   r e s o l v e d .   N O N R E S O U R C E U R L   i s   a   p a r t i a l   U R L   t h a t   s t a r t s   w i t h   \" / \" .   N A M E   i s   t h e   n a m e   o f   a   p a r t i c u l a r   K u b e r n e t e s   r e s o u r c e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13629"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   a u t h   c a n - i   V E R B   [ T Y P E   |   T Y P E / N A M E   |   N O N R E S O U R C E U R L ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13630"
  },
  {
    "question": "What is reconcile?",
    "answer": "R e c o n c i l e   R B A C   r e s o u r c e s   f r o m   a   f i l e   k u b e c t l   a u t h   r e c o n c i l e   - f   m y - r b a c - r u l e s . y a m l   R e c o n c i l e s   r u l e s   f o r   R B A C   r o l e ,   r o l e   b i n d i n g ,   c l u s t e r   r o l e ,   a n d   c l u s t e r   r o l e   b i n d i n g   o b j e c t s .   M i s s i n g   o b j e c t s   a r e   c r e a t e d ,   a n d   t h e   c o n t a i n i n g   n a m e s p a c e   i s   c r e a t e d   f o r   n a m e s p a c e d   o b j e c t s ,   i f   r e q u i r e d .   E x i s t i n g   r o l e s   a r e   u p d a t e d   t o   i n c l u d e   t h e   p e r m i s s i o n s   i n   t h e   i n p u t   o b j e c t s ,   a n d   r e m o v e   e x t r a   p e r m i s s i o n s   i f   - - r e m o v e - e x t r a - p e r m i s s i o n s   i s   s p e c i f i e d .   E x i s t i n g   b i n d i n g s   a r e   u p d a t e d   t o   i n c l u d e   t h e   s u b j e c t s   i n   t h e   i n p u t   o b j e c t s ,   a n d   r e m o v e   e x t r a   s u b j e c t s   i f   - - r e m o v e - e x t r a - s u b j e c t s   i s   s p e c i f i e d .   T h i s   i s   p r e f e r r e d   t o   ' a p p l y '   f o r   R B A C   r e s o u r c e s   s o   t h a t   s e m a n t i c a l l y - a w a r e   m e r g i n g   o f   r u l e s   a n d   s u b j e c t s   i s   d o n e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13631"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   a u t h   r e c o n c i l e   - f   F I L E N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13632"
  },
  {
    "question": "What is cp?",
    "answer": "! ! ! I m p o r t a n t   N o t e ! ! !   #   R e q u i r e s   t h a t   t h e   ' t a r '   b i n a r y   i s   p r e s e n t   i n   y o u r   c o n t a i n e r   #   i m a g e .   I f   ' t a r '   i s   n o t   p r e s e n t ,   ' k u b e c t l   c p '   w i l l   f a i l .   #   #   F o r   a d v a n c e d   u s e   c a s e s ,   s u c h   a s   s y m l i n k s ,   w i l d c a r d   e x p a n s i o n   o r   #   f i l e   m o d e   p r e s e r v a t i o n ,   c o n s i d e r   u s i n g   ' k u b e c t l   e x e c ' .   #   C o p y   / t m p / f o o   l o c a l   f i l e   t o   / t m p / b a r   i n   a   r e m o t e   p o d   i n   n a m e s p a c e   t a r   c f   -   / t m p / f o o   |   k u b e c t l   e x e c   - i   - n   < s o m e - n a m e s p a c e >   < s o m e - p o d >   - -   t a r   x f   -   - C   / t m p / b a r   C o p y   / t m p / f o o   f r o m   a   r e m o t e   p o d   t o   / t m p / b a r   l o c a l l y   k u b e c t l   e x e c   - n   < s o m e - n a m e s p a c e >   < s o m e - p o d >   - -   t a r   c f   -   / t m p / f o o   |   t a r   x f   -   - C   / t m p / b a r   C o p y   / t m p / f o o _ d i r   l o c a l   d i r e c t o r y   t o   / t m p / b a r _ d i r   i n   a   r e m o t e   p o d   i n   t h e   d e f a u l t   n a m e s p a c e   k u b e c t l   c p   / t m p / f o o _ d i r   < s o m e - p o d > : / t m p / b a r _ d i r   C o p y   / t m p / f o o   l o c a l   f i l e   t o   / t m p / b a r   i n   a   r e m o t e   p o d   i n   a   s p e c i f i c   c o n t a i n e r   k u b e c t l   c p   / t m p / f o o   < s o m e - p o d > : / t m p / b a r   - c   < s p e c i f i c - c o n t a i n e r >   C o p y   / t m p / f o o   l o c a l   f i l e   t o   / t m p / b a r   i n   a   r e m o t e   p o d   i n   n a m e s p a c e   k u b e c t l   c p   / t m p / f o o   < s o m e - n a m e s p a c e > / < s o m e - p o d > : / t m p / b a r   C o p y   / t m p / f o o   f r o m   a   r e m o t e   p o d   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13633"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c p   < f i l e - s p e c - s r c >   < f i l e - s p e c - d e s t >",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13634"
  },
  {
    "question": "What is describe?",
    "answer": "D e s c r i b e   a   n o d e   k u b e c t l   d e s c r i b e   n o d e s   k u b e r n e t e s - n o d e - e m t 8 . c . m y p r o j e c t . i n t e r n a l   D e s c r i b e   a   p o d   k u b e c t l   d e s c r i b e   p o d s / n g i n x   D e s c r i b e   a   p o d   i d e n t i f i e d   b y   t y p e   a n d   n a m e   i n   \" p o d . j s o n \"   k u b e c t l   d e s c r i b e   - f   p o d . j s o n   D e s c r i b e   a l l   p o d s   k u b e c t l   d e s c r i b e   p o d s   D e s c r i b e   p o d s   b y   l a b e l   n a m e = m y L a b e l   k u b e c t l   d e s c r i b e   p o   - l   n a m e = m y L a b e l   D e s c r i b e   a l l   p o d s   m a n a g e d   b y   t h e   ' f r o n t e n d '   r e p l i c a t i o n   c o n t r o l l e r   ( r c - c r e a t e d   p o d s   #   g e t   t h e   n a m e   o f   t h e   r c   a s   a   p r e f i x   i n   t h e   p o d   t h e   n a m e )   k u b e c t l   d e s c r i b e   p o d s   f r o n t e n d   S h o w   d e t a i l s   o f   a   s p e c i f i c   r e s o u r c e   o r   g r o u p   o f   r e s o u r c e s .   P r i n t   a   d e t a i l e d   d e s c r i p t i o n   o f   t h e   s e l e c t e d   r e s o u r c e s ,   i n c l u d i n g   r e l a t e d   r e s o u r c e s   s u c h   a s   e v e n t s   o r   c o n t r o l l e r s .   Y o u   m a y   s e l e c t   a   s i n g l e   o b j e c t   b y   n a m e ,   a l l   o b j e c t s   o f   t h a t   t y p e ,   p r o v i d e   a   n a m e   p r e f i x ,   o r   l a b e l   s e l e c t o r .   F o r   e x a m p l e :   $   k u b e c t l   d e s c r i b e   T Y P E   N A M E _ P R E F I X   w i l l   f i r s t   c h e c k   f o r   a n   e x a c t   m a t c h   o n   T Y P E   a n d   N A M E _ P R E F I X .   I f   n o   s u c h   r e s o u r c e   e x i s t s ,   i t   w i l l   o u t p u t   d e t a i l s   f o r   e v e r y   r e s o u r c e   t h a t   h a s   a   n a m e   p r e f i x e d   w i t h   N A M E _ P R E F I X .   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13635"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   d e s c r i b e   ( - f   F I L E N A M E   |   T Y P E   [ N A M E _ P R E F I X   |   - l   l a b e l ]   |   T Y P E / N A M E )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13636"
  },
  {
    "question": "What is exec?",
    "answer": "G e t   o u t p u t   f r o m   r u n n i n g   t h e   ' d a t e '   c o m m a n d   f r o m   p o d   m y p o d ,   u s i n g   t h e   f i r s t   c o n t a i n e r   b y   d e f a u l t   k u b e c t l   e x e c   m y p o d   - -   d a t e   G e t   o u t p u t   f r o m   r u n n i n g   t h e   ' d a t e '   c o m m a n d   i n   r u b y - c o n t a i n e r   f r o m   p o d   m y p o d   k u b e c t l   e x e c   m y p o d   - c   r u b y - c o n t a i n e r   - -   d a t e   S w i t c h   t o   r a w   t e r m i n a l   m o d e ;   s e n d s   s t d i n   t o   ' b a s h '   i n   r u b y - c o n t a i n e r   f r o m   p o d   m y p o d   #   a n d   s e n d s   s t d o u t / s t d e r r   f r o m   ' b a s h '   b a c k   t o   t h e   c l i e n t   k u b e c t l   e x e c   m y p o d   - c   r u b y - c o n t a i n e r   - i   - t   - -   b a s h   - i l   L i s t   c o n t e n t s   o f   / u s r   f r o m   t h e   f i r s t   c o n t a i n e r   o f   p o d   m y p o d   a n d   s o r t   b y   m o d i f i c a t i o n   t i m e   #   I f   t h e   c o m m a n d   y o u   w a n t   t o   e x e c u t e   i n   t h e   p o d   h a s   a n y   f l a g s   i n   c o m m o n   ( e . g .   - i ) ,   #   y o u   m u s t   u s e   t w o   d a s h e s   ( - - )   t o   s e p a r a t e   y o u r   c o m m a n d ' s   f l a g s / a r g u m e n t s   #   A l s o   n o t e ,   d o   n o t   s u r r o u n d   y o u r   c o m m a n d   a n d   i t s   f l a g s / a r g u m e n t s   w i t h   q u o t e s   #   u n l e s s   t h a t   i s   h o w   y o u   w o u l d   e x e c u t e   i t   n o r m a l l y   ( i . e . ,   d o   l s   - t   / u s r ,   n o t   \" l s   - t   / u s r \" )   k u b e c t l   e x e c   m y p o d   - i   - t   - -   l s   - t   / u s r   G e t   o u t p u t   f r o m   r u n n i n g   ' d a t e '   c o m m a n d   f r o m   t h e   f i r s t   p o d   o f   t h e   d e p l o y m e n t   m y d e p l o y m e n t ,   u s i n g   t h e   f i r s t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13637"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   e x e c   ( P O D   |   T Y P E / N A M E )   [ - c   C O N T A I N E R ]   [ f l a g s ]   - -   C O M M A N D   [ a r g s . . . ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13638"
  },
  {
    "question": "What is logs?",
    "answer": "R e t u r n   s n a p s h o t   l o g s   f r o m   p o d   n g i n x   w i t h   o n l y   o n e   c o n t a i n e r   k u b e c t l   l o g s   n g i n x   R e t u r n   s n a p s h o t   l o g s   f r o m   p o d   n g i n x   w i t h   m u l t i   c o n t a i n e r s   k u b e c t l   l o g s   n g i n x   - - a l l - c o n t a i n e r s = t r u e   R e t u r n   s n a p s h o t   l o g s   f r o m   a l l   c o n t a i n e r s   i n   p o d s   d e f i n e d   b y   l a b e l   a p p = n g i n x   k u b e c t l   l o g s   - l   a p p = n g i n x   - - a l l - c o n t a i n e r s = t r u e   R e t u r n   s n a p s h o t   o f   p r e v i o u s   t e r m i n a t e d   r u b y   c o n t a i n e r   l o g s   f r o m   p o d   w e b - 1   k u b e c t l   l o g s   - p   - c   r u b y   w e b - 1   B e g i n   s t r e a m i n g   t h e   l o g s   o f   t h e   r u b y   c o n t a i n e r   i n   p o d   w e b - 1   k u b e c t l   l o g s   - f   - c   r u b y   w e b - 1   B e g i n   s t r e a m i n g   t h e   l o g s   f r o m   a l l   c o n t a i n e r s   i n   p o d s   d e f i n e d   b y   l a b e l   a p p = n g i n x   k u b e c t l   l o g s   - f   - l   a p p = n g i n x   - - a l l - c o n t a i n e r s = t r u e   D i s p l a y   o n l y   t h e   m o s t   r e c e n t   2 0   l i n e s   o f   o u t p u t   i n   p o d   n g i n x   k u b e c t l   l o g s   - - t a i l = 2 0   n g i n x   S h o w   a l l   l o g s   f r o m   p o d   n g i n x   w r i t t e n   i n   t h e   l a s t   h o u r   k u b e c t l   l o g s   - - s i n c e = 1 h   n g i n x   S h o w   l o g s   f r o m   a   k u b e l e t   w i t h   a n   e x p i r e d   s e r v i n g   c e r t i f i c a t e   k u b e c t l   l o g s   - - i n s e c u r e - s k i p - t l s - v e r i f y - b a c k e n d   n g i n x   R e t u r n   s n a p s h o t   l o g s   f r o m   f i r s t   c o n t a i n e r   o f   a   j o b   n a m e d   h e l l o   k u b e c t l   l o g s   j o b / h e l l ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13639"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   l o g s   [ - f ]   [ - p ]   ( P O D   |   T Y P E / N A M E )   [ - c   C O N T A I N E R ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13640"
  },
  {
    "question": "What is port-forward?",
    "answer": "L i s t e n   o n   p o r t s   5 0 0 0   a n d   6 0 0 0   l o c a l l y ,   f o r w a r d i n g   d a t a   t o / f r o m   p o r t s   5 0 0 0   a n d   6 0 0 0   i n   t h e   p o d   k u b e c t l   p o r t - f o r w a r d   p o d / m y p o d   5 0 0 0   6 0 0 0   L i s t e n   o n   p o r t s   5 0 0 0   a n d   6 0 0 0   l o c a l l y ,   f o r w a r d i n g   d a t a   t o / f r o m   p o r t s   5 0 0 0   a n d   6 0 0 0   i n   a   p o d   s e l e c t e d   b y   t h e   d e p l o y m e n t   k u b e c t l   p o r t - f o r w a r d   d e p l o y m e n t / m y d e p l o y m e n t   5 0 0 0   6 0 0 0   L i s t e n   o n   p o r t   8 4 4 3   l o c a l l y ,   f o r w a r d i n g   t o   t h e   t a r g e t P o r t   o f   t h e   s e r v i c e ' s   p o r t   n a m e d   \" h t t p s \"   i n   a   p o d   s e l e c t e d   b y   t h e   s e r v i c e   k u b e c t l   p o r t - f o r w a r d   s e r v i c e / m y s e r v i c e   8 4 4 3 : h t t p s   L i s t e n   o n   p o r t   8 8 8 8   l o c a l l y ,   f o r w a r d i n g   t o   5 0 0 0   i n   t h e   p o d   k u b e c t l   p o r t - f o r w a r d   p o d / m y p o d   8 8 8 8 : 5 0 0 0   L i s t e n   o n   p o r t   8 8 8 8   o n   a l l   a d d r e s s e s ,   f o r w a r d i n g   t o   5 0 0 0   i n   t h e   p o d   k u b e c t l   p o r t - f o r w a r d   - - a d d r e s s   0 . 0 . 0 . 0   p o d / m y p o d   8 8 8 8 : 5 0 0 0   L i s t e n   o n   p o r t   8 8 8 8   o n   l o c a l h o s t   a n d   s e l e c t e d   I P ,   f o r w a r d i n g   t o   5 0 0 0   i n   t h e   p o d   k u b e c t l   p o r t - f o r w a r d   - - a d d r e s s   l o c a l h o s t , 1 0 . 1 9 . 2 1 . 2 3   p o d / m y p o d   8 8 8 8 : 5 0 0 0   L i s t e n   o n   a   r a n d o m   p o r t   l o c a l l y ,   f o r w a r d i n g   t o   5 0 0 0   i n   t h e   p o d   k u b e c t l   p o r t - f o r w a r d   p o d / m y p o d   : 5 0 0 0   F o r w a r d   o n e   o r   m o r e   l o c a l   p o r t s   t o ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13641"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   p o r t - f o r w a r d   T Y P E / N A M E   [ o p t i o n s ]   [ L O C A L _ P O R T : ] R E M O T E _ P O R T   [ . . . [ L O C A L _ P O R T _ N : ] R E M O T E _ P O R T _ N ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13642"
  },
  {
    "question": "What is proxy?",
    "answer": "T o   p r o x y   a l l   o f   t h e   K u b e r n e t e s   A P I   a n d   n o t h i n g   e l s e   k u b e c t l   p r o x y   - - a p i - p r e f i x = /   T o   p r o x y   o n l y   p a r t   o f   t h e   K u b e r n e t e s   A P I   a n d   a l s o   s o m e   s t a t i c   f i l e s   #   Y o u   c a n   g e t   p o d s   i n f o   w i t h   ' c u r l   l o c a l h o s t : 8 0 0 1 / a p i / v 1 / p o d s '   k u b e c t l   p r o x y   - - w w w = / m y / f i l e s   - - w w w - p r e f i x = / s t a t i c /   - - a p i - p r e f i x = / a p i /   T o   p r o x y   t h e   e n t i r e   K u b e r n e t e s   A P I   a t   a   d i f f e r e n t   r o o t   #   Y o u   c a n   g e t   p o d s   i n f o   w i t h   ' c u r l   l o c a l h o s t : 8 0 0 1 / c u s t o m / a p i / v 1 / p o d s '   k u b e c t l   p r o x y   - - a p i - p r e f i x = / c u s t o m /   R u n   a   p r o x y   t o   t h e   K u b e r n e t e s   A P I   s e r v e r   o n   p o r t   8 0 1 1 ,   s e r v i n g   s t a t i c   c o n t e n t   f r o m   . / l o c a l / w w w /   k u b e c t l   p r o x y   - - p o r t = 8 0 1 1   - - w w w = . / l o c a l / w w w /   R u n   a   p r o x y   t o   t h e   K u b e r n e t e s   A P I   s e r v e r   o n   a n   a r b i t r a r y   l o c a l   p o r t   #   T h e   c h o s e n   p o r t   f o r   t h e   s e r v e r   w i l l   b e   o u t p u t   t o   s t d o u t   k u b e c t l   p r o x y   - - p o r t = 0   R u n   a   p r o x y   t o   t h e   K u b e r n e t e s   A P I   s e r v e r ,   c h a n g i n g   t h e   A P I   p r e f i x   t o   k 8 s - a p i   #   T h i s   m a k e s   e . g .   t h e   p o d s   A P I   a v a i l a b l e   a t   l o c a l h o s t : 8 0 0 1 / k 8 s - a p i / v 1 / p o d s /   k u b e c t l   p r o x y   - - a p i - p r e f i x = / k 8 s - a p i   C r e a t e s   a   p r o x y   s e r v e r   o r   a p p l i c a t i o n - l e v e l   g a t e w a y   b e t w e e n   l o c a l h o s t   a n d   t h e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13643"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   p r o x y   [ - - p o r t = P O R T ]   [ - - w w w = s t a t i c - d i r ]   [ - - w w w - p r e f i x = p r e f i x ]   [ - - a p i - p r e f i x = p r e f i x ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13644"
  },
  {
    "question": "What is top?",
    "answer": "D i s p l a y   R e s o u r c e   ( C P U / M e m o r y )   u s a g e .   T h e   t o p   c o m m a n d   a l l o w s   y o u   t o   s e e   t h e   r e s o u r c e   c o n s u m p t i o n   f o r   n o d e s   o r   p o d s .   T h i s   c o m m a n d   r e q u i r e s   M e t r i c s   S e r v e r   t o   b e   c o r r e c t l y   c o n f i g u r e d   a n d   w o r k i n g   o n   t h e   s e r v e r .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13645"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   t o p",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13646"
  },
  {
    "question": "What is node?",
    "answer": "S h o w   m e t r i c s   f o r   a l l   n o d e s   k u b e c t l   t o p   n o d e   S h o w   m e t r i c s   f o r   a   g i v e n   n o d e   k u b e c t l   t o p   n o d e   N O D E _ N A M E   D i s p l a y   r e s o u r c e   ( C P U / m e m o r y )   u s a g e   o f   n o d e s .   T h e   t o p - n o d e   c o m m a n d   a l l o w s   y o u   t o   s e e   t h e   r e s o u r c e   c o n s u m p t i o n   o f   n o d e s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13647"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   t o p   n o d e   [ N A M E   |   - l   l a b e l ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13648"
  },
  {
    "question": "What is pod?",
    "answer": "S h o w   m e t r i c s   f o r   a l l   p o d s   i n   t h e   d e f a u l t   n a m e s p a c e   k u b e c t l   t o p   p o d   S h o w   m e t r i c s   f o r   a l l   p o d s   i n   t h e   g i v e n   n a m e s p a c e   k u b e c t l   t o p   p o d   - - n a m e s p a c e = N A M E S P A C E   S h o w   m e t r i c s   f o r   a   g i v e n   p o d   a n d   i t s   c o n t a i n e r s   k u b e c t l   t o p   p o d   P O D _ N A M E   - - c o n t a i n e r s   S h o w   m e t r i c s   f o r   t h e   p o d s   d e f i n e d   b y   l a b e l   n a m e = m y L a b e l   k u b e c t l   t o p   p o d   - l   n a m e = m y L a b e l   D i s p l a y   r e s o u r c e   ( C P U / m e m o r y )   u s a g e   o f   p o d s .   T h e   ' t o p   p o d '   c o m m a n d   a l l o w s   y o u   t o   s e e   t h e   r e s o u r c e   c o n s u m p t i o n   o f   p o d s .   D u e   t o   t h e   m e t r i c s   p i p e l i n e   d e l a y ,   t h e y   m a y   b e   u n a v a i l a b l e   f o r   a   f e w   m i n u t e s   s i n c e   p o d   c r e a t i o n .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13649"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   t o p   p o d   [ N A M E   |   - l   l a b e l ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13650"
  },
  {
    "question": "What is api-versions?",
    "answer": "P r i n t   t h e   s u p p o r t e d   A P I   v e r s i o n s   k u b e c t l   a p i - v e r s i o n s   P r i n t   t h e   s u p p o r t e d   A P I   v e r s i o n s   o n   t h e   s e r v e r ,   i n   t h e   f o r m   o f   \" g r o u p / v e r s i o n \" .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13651"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   a p i - v e r s i o n s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13652"
  },
  {
    "question": "What is certificate?",
    "answer": "M o d i f y   c e r t i f i c a t e   r e s o u r c e s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13653"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c e r t i f i c a t e   S U B C O M M A N D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13654"
  },
  {
    "question": "What is approve?",
    "answer": "A p p r o v e   C S R   ' c s r - s q g z p '   k u b e c t l   c e r t i f i c a t e   a p p r o v e   c s r - s q g z p   A p p r o v e   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t .   k u b e c t l   c e r t i f i c a t e   a p p r o v e   a l l o w s   a   c l u s t e r   a d m i n   t o   a p p r o v e   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t   ( C S R ) .   T h i s   a c t i o n   t e l l s   a   c e r t i f i c a t e   s i g n i n g   c o n t r o l l e r   t o   i s s u e   a   c e r t i f i c a t e   t o   t h e   r e q u e s t o r   w i t h   t h e   a t t r i b u t e s   r e q u e s t e d   i n   t h e   C S R .   S E C U R I T Y   N O T I C E :   D e p e n d i n g   o n   t h e   r e q u e s t e d   a t t r i b u t e s ,   t h e   i s s u e d   c e r t i f i c a t e   c a n   p o t e n t i a l l y   g r a n t   a   r e q u e s t e r   a c c e s s   t o   c l u s t e r   r e s o u r c e s   o r   t o   a u t h e n t i c a t e   a s   a   r e q u e s t e d   i d e n t i t y .   B e f o r e   a p p r o v i n g   a   C S R ,   e n s u r e   y o u   u n d e r s t a n d   w h a t   t h e   s i g n e d   c e r t i f i c a t e   c a n   d o .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13655"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c e r t i f i c a t e   a p p r o v e   ( - f   F I L E N A M E   |   N A M E )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13656"
  },
  {
    "question": "What is deny?",
    "answer": "D e n y   C S R   ' c s r - s q g z p '   k u b e c t l   c e r t i f i c a t e   d e n y   c s r - s q g z p   D e n y   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t .   k u b e c t l   c e r t i f i c a t e   d e n y   a l l o w s   a   c l u s t e r   a d m i n   t o   d e n y   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t   ( C S R ) .   T h i s   a c t i o n   t e l l s   a   c e r t i f i c a t e   s i g n i n g   c o n t r o l l e r   t o   n o t   t o   i s s u e   a   c e r t i f i c a t e   t o   t h e   r e q u e s t o r .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13657"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c e r t i f i c a t e   d e n y   ( - f   F I L E N A M E   |   N A M E )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13658"
  },
  {
    "question": "What is cluster-info?",
    "answer": "P r i n t   t h e   a d d r e s s   o f   t h e   c o n t r o l   p l a n e   a n d   c l u s t e r   s e r v i c e s   k u b e c t l   c l u s t e r - i n f o   D i s p l a y   a d d r e s s e s   o f   t h e   c o n t r o l   p l a n e   a n d   s e r v i c e s   w i t h   l a b e l   k u b e r n e t e s . i o / c l u s t e r - s e r v i c e = t r u e .   T o   f u r t h e r   d e b u g   a n d   d i a g n o s e   c l u s t e r   p r o b l e m s ,   u s e   ' k u b e c t l   c l u s t e r - i n f o   d u m p ' .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13659"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c l u s t e r - i n f o",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13660"
  },
  {
    "question": "What is dump?",
    "answer": "D u m p   c u r r e n t   c l u s t e r   s t a t e   t o   s t d o u t   k u b e c t l   c l u s t e r - i n f o   d u m p   D u m p   c u r r e n t   c l u s t e r   s t a t e   t o   / p a t h / t o / c l u s t e r - s t a t e   k u b e c t l   c l u s t e r - i n f o   d u m p   - - o u t p u t - d i r e c t o r y = / p a t h / t o / c l u s t e r - s t a t e   D u m p   a l l   n a m e s p a c e s   t o   s t d o u t   k u b e c t l   c l u s t e r - i n f o   d u m p   - - a l l - n a m e s p a c e s   D u m p   a   s e t   o f   n a m e s p a c e s   t o   / p a t h / t o / c l u s t e r - s t a t e   k u b e c t l   c l u s t e r - i n f o   d u m p   - - n a m e s p a c e s   d e f a u l t , k u b e - s y s t e m   - - o u t p u t - d i r e c t o r y = / p a t h / t o / c l u s t e r - s t a t e   D u m p   c l u s t e r   i n f o r m a t i o n   o u t   s u i t a b l e   f o r   d e b u g g i n g   a n d   d i a g n o s i n g   c l u s t e r   p r o b l e m s .   B y   d e f a u l t ,   d u m p s   e v e r y t h i n g   t o   s t d o u t .   Y o u   c a n   o p t i o n a l l y   s p e c i f y   a   d i r e c t o r y   w i t h   - - o u t p u t - d i r e c t o r y .   I f   y o u   s p e c i f y   a   d i r e c t o r y ,   K u b e r n e t e s   w i l l   b u i l d   a   s e t   o f   f i l e s   i n   t h a t   d i r e c t o r y .   B y   d e f a u l t ,   o n l y   d u m p s   t h i n g s   i n   t h e   c u r r e n t   n a m e s p a c e   a n d   ' k u b e - s y s t e m '   n a m e s p a c e ,   b u t   y o u   c a n   s w i t c h   t o   a   d i f f e r e n t   n a m e s p a c e   w i t h   t h e   - - n a m e s p a c e s   f l a g ,   o r   s p e c i f y   - - a l l - n a m e s p a c e s   t o   d u m p   a l l   n a m e s p a c e s .   T h e   c o m m a n d   a l s o   d u m p s   t h e   l o g s   o f   a l l   o f   t h e   p o d s   i n   t h e   c l u s t e r ;   t h e s e   l o g s   a r e   d u m p e d   i n t o   d i f f e r e n t   d i r e c t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13661"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c l u s t e r - i n f o   d u m p",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13662"
  },
  {
    "question": "What is cordon?",
    "answer": "M a r k   n o d e   \" f o o \"   a s   u n s c h e d u l a b l e   k u b e c t l   c o r d o n   f o o   M a r k   n o d e   a s   u n s c h e d u l a b l e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13663"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o r d o n   N O D E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13664"
  },
  {
    "question": "What is drain?",
    "answer": "D r a i n   n o d e   \" f o o \" ,   e v e n   i f   t h e r e   a r e   p o d s   n o t   m a n a g e d   b y   a   r e p l i c a t i o n   c o n t r o l l e r ,   r e p l i c a   s e t ,   j o b ,   d a e m o n   s e t   o r   s t a t e f u l   s e t   o n   i t   k u b e c t l   d r a i n   f o o   - - f o r c e   A s   a b o v e ,   b u t   a b o r t   i f   t h e r e   a r e   p o d s   n o t   m a n a g e d   b y   a   r e p l i c a t i o n   c o n t r o l l e r ,   r e p l i c a   s e t ,   j o b ,   d a e m o n   s e t   o r   s t a t e f u l   s e t ,   a n d   u s e   a   g r a c e   p e r i o d   o f   1 5   m i n u t e s   k u b e c t l   d r a i n   f o o   - - g r a c e - p e r i o d = 9 0 0   D r a i n   n o d e   i n   p r e p a r a t i o n   f o r   m a i n t e n a n c e .   T h e   g i v e n   n o d e   w i l l   b e   m a r k e d   u n s c h e d u l a b l e   t o   p r e v e n t   n e w   p o d s   f r o m   a r r i v i n g .   ' d r a i n '   e v i c t s   t h e   p o d s   i f   t h e   A P I   s e r v e r   s u p p o r t s   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / p o d s / d i s r u p t i o n s /   .   O t h e r w i s e ,   i t   w i l l   u s e   n o r m a l   D E L E T E   t o   d e l e t e   t h e   p o d s .   T h e   ' d r a i n '   e v i c t s   o r   d e l e t e s   a l l   p o d s   e x c e p t   m i r r o r   p o d s   ( w h i c h   c a n n o t   b e   d e l e t e d   t h r o u g h   t h e   A P I   s e r v e r ) .   I f   t h e r e   a r e   d a e m o n   s e t - m a n a g e d   p o d s ,   d r a i n   w i l l   n o t   p r o c e e d   w i t h o u t   - - i g n o r e - d a e m o n s e t s ,   a n d   r e g a r d l e s s   i t   w i l l   n o t   d e l e t e   a n y   d a e m o n   s e t - m a n a g e d   p o d s ,   b e c a u s e   t h o s e   p o d s   w o u l d   b e   i m m e d i a t e l y   r e p l a c e d   b y   t h e   d a e m o n   s e t   c o n t r o l l e r ,   w h i c h   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13665"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   d r a i n   N O D E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13666"
  },
  {
    "question": "What is taint?",
    "answer": "U p d a t e   n o d e   ' f o o '   w i t h   a   t a i n t   w i t h   k e y   ' d e d i c a t e d '   a n d   v a l u e   ' s p e c i a l - u s e r '   a n d   e f f e c t   ' N o S c h e d u l e '   #   I f   a   t a i n t   w i t h   t h a t   k e y   a n d   e f f e c t   a l r e a d y   e x i s t s ,   i t s   v a l u e   i s   r e p l a c e d   a s   s p e c i f i e d   k u b e c t l   t a i n t   n o d e s   f o o   d e d i c a t e d = s p e c i a l - u s e r : N o S c h e d u l e   R e m o v e   f r o m   n o d e   ' f o o '   t h e   t a i n t   w i t h   k e y   ' d e d i c a t e d '   a n d   e f f e c t   ' N o S c h e d u l e '   i f   o n e   e x i s t s   k u b e c t l   t a i n t   n o d e s   f o o   d e d i c a t e d : N o S c h e d u l e -   R e m o v e   f r o m   n o d e   ' f o o '   a l l   t h e   t a i n t s   w i t h   k e y   ' d e d i c a t e d '   k u b e c t l   t a i n t   n o d e s   f o o   d e d i c a t e d -   A d d   a   t a i n t   w i t h   k e y   ' d e d i c a t e d '   o n   n o d e s   h a v i n g   l a b e l   m y l a b e l = X   k u b e c t l   t a i n t   n o d e   - l   m y L a b e l = X   d e d i c a t e d = f o o : P r e f e r N o S c h e d u l e   A d d   t o   n o d e   ' f o o '   a   t a i n t   w i t h   k e y   ' b a r '   a n d   n o   v a l u e   k u b e c t l   t a i n t   n o d e s   f o o   b a r : N o S c h e d u l e   U p d a t e   t h e   t a i n t s   o n   o n e   o r   m o r e   n o d e s .   A   t a i n t   c o n s i s t s   o f   a   k e y ,   v a l u e ,   a n d   e f f e c t .   A s   a n   a r g u m e n t   h e r e ,   i t   i s   e x p r e s s e d   a s   k e y = v a l u e : e f f e c t .   T h e   k e y   m u s t   b e g i n   w i t h   a   l e t t e r   o r   n u m b e r ,   a n d   m a y   c o n t a i n   l e t t e r s ,   n u m b e r s ,   h y p h e n s ,   d o t s ,   a n d   u n d e r s c o r e s ,   u p   t o   2 5 3   c h a r a c t e r s .   O p t i o n a l l y ,   t h e   k e y   c a n ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13667"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   t a i n t   N O D E   N A M E   K E Y _ 1 = V A L _ 1 : T A I N T _ E F F E C T _ 1   . . .   K E Y _ N = V A L _ N : T A I N T _ E F F E C T _ N",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13668"
  },
  {
    "question": "What is uncordon?",
    "answer": "M a r k   n o d e   \" f o o \"   a s   s c h e d u l a b l e   k u b e c t l   u n c o r d o n   f o o   M a r k   n o d e   a s   s c h e d u l a b l e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13669"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   u n c o r d o n   N O D E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13670"
  },
  {
    "question": "What is alpha?",
    "answer": "T h e s e   c o m m a n d s   c o r r e s p o n d   t o   a l p h a   f e a t u r e s   t h a t   a r e   n o t   e n a b l e d   i n   K u b e r n e t e s   c l u s t e r s   b y   d e f a u l t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13671"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   a l p h a",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13672"
  },
  {
    "question": "What is api-resources?",
    "answer": "P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   k u b e c t l   a p i - r e s o u r c e s   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   w i t h   m o r e   i n f o r m a t i o n   k u b e c t l   a p i - r e s o u r c e s   - o   w i d e   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   s o r t e d   b y   a   c o l u m n   k u b e c t l   a p i - r e s o u r c e s   - - s o r t - b y = n a m e   P r i n t   t h e   s u p p o r t e d   n a m e s p a c e d   r e s o u r c e s   k u b e c t l   a p i - r e s o u r c e s   - - n a m e s p a c e d = t r u e   P r i n t   t h e   s u p p o r t e d   n o n - n a m e s p a c e d   r e s o u r c e s   k u b e c t l   a p i - r e s o u r c e s   - - n a m e s p a c e d = f a l s e   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   w i t h   a   s p e c i f i c   A P I G r o u p   k u b e c t l   a p i - r e s o u r c e s   - - a p i - g r o u p = e x t e n s i o n s   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   o n   t h e   s e r v e r .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13673"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   a p i - r e s o u r c e s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13674"
  },
  {
    "question": "What is completion?",
    "answer": "I n s t a l l i n g   b a s h   c o m p l e t i o n   o n   m a c O S   u s i n g   h o m e b r e w   # #   I f   r u n n i n g   B a s h   3 . 2   i n c l u d e d   w i t h   m a c O S   b r e w   i n s t a l l   b a s h - c o m p l e t i o n   o r ,   i f   r u n n i n g   B a s h   4 . 1 +   b r e w   i n s t a l l   b a s h - c o m p l e t i o n @ 2   I f   k u b e c t l   i s   i n s t a l l e d   v i a   h o m e b r e w ,   t h i s   s h o u l d   s t a r t   w o r k i n g   i m m e d i a t e l y   # #   I f   y o u ' v e   i n s t a l l e d   v i a   o t h e r   m e a n s ,   y o u   m a y   n e e d   a d d   t h e   c o m p l e t i o n   t o   y o u r   c o m p l e t i o n   d i r e c t o r y   k u b e c t l   c o m p l e t i o n   b a s h   >   $ ( b r e w   - - p r e f i x ) / e t c / b a s h _ c o m p l e t i o n . d / k u b e c t l   I n s t a l l i n g   b a s h   c o m p l e t i o n   o n   L i n u x   # #   I f   b a s h - c o m p l e t i o n   i s   n o t   i n s t a l l e d   o n   L i n u x ,   i n s t a l l   t h e   ' b a s h - c o m p l e t i o n '   p a c k a g e   # #   v i a   y o u r   d i s t r i b u t i o n ' s   p a c k a g e   m a n a g e r .   # #   L o a d   t h e   k u b e c t l   c o m p l e t i o n   c o d e   f o r   b a s h   i n t o   t h e   c u r r e n t   s h e l l   s o u r c e   < ( k u b e c t l   c o m p l e t i o n   b a s h )   W r i t e   b a s h   c o m p l e t i o n   c o d e   t o   a   f i l e   a n d   s o u r c e   i t   f r o m   . b a s h _ p r o f i l e   k u b e c t l   c o m p l e t i o n   b a s h   >   ~ / . k u b e / c o m p l e t i o n . b a s h . i n c   p r i n t f   \"   K u b e c t l   s h e l l   c o m p l e t i o n   s o u r c e   ' $ H O M E / . k u b e / c o m p l e t i o n . b a s h . i n c '   \"   > >   $ H O M E / . b a s h _ p r o f i l e   s o u r c e   $ H O M E / . b a s h _ p r o f i l e   L o a d   t h e   k u b e c t l   c o m p l e t i o n   c o d e   f o r   z s h [ 1 ]   i n t o   t h ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13675"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o m p l e t i o n   S H E L L",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13676"
  },
  {
    "question": "What is config?",
    "answer": "M o d i f y   k u b e c o n f i g   f i l e s   u s i n g   s u b c o m m a n d s   l i k e   \" k u b e c t l   c o n f i g   s e t   c u r r e n t - c o n t e x t   m y - c o n t e x t \"   T h e   l o a d i n g   o r d e r   f o l l o w s   t h e s e   r u l e s :   I f   t h e   - - k u b e c o n f i g   f l a g   i s   s e t ,   t h e n   o n l y   t h a t   f i l e   i s   l o a d e d .   T h e   f l a g   m a y   o n l y   b e   s e t   o n c e   a n d   n o   m e r g i n g   t a k e s   p l a c e .   I f   $ K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   i s   s e t ,   t h e n   i t   i s   u s e d   a s   a   l i s t   o f   p a t h s   ( n o r m a l   p a t h   d e l i m i t i n g   r u l e s   f o r   y o u r   s y s t e m ) .   T h e s e   p a t h s   a r e   m e r g e d .   W h e n   a   v a l u e   i s   m o d i f i e d ,   i t   i s   m o d i f i e d   i n   t h e   f i l e   t h a t   d e f i n e s   t h e   s t a n z a .   W h e n   a   v a l u e   i s   c r e a t e d ,   i t   i s   c r e a t e d   i n   t h e   f i r s t   f i l e   t h a t   e x i s t s .   I f   n o   f i l e s   i n   t h e   c h a i n   e x i s t ,   t h e n   i t   c r e a t e s   t h e   l a s t   f i l e   i n   t h e   l i s t .   O t h e r w i s e ,   $ { H O M E } / . k u b e / c o n f i g   i s   u s e d   a n d   n o   m e r g i n g   t a k e s   p l a c e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13677"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   S U B C O M M A N D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13678"
  },
  {
    "question": "What is current-context?",
    "answer": "D i s p l a y   t h e   c u r r e n t - c o n t e x t   k u b e c t l   c o n f i g   c u r r e n t - c o n t e x t   D i s p l a y   t h e   c u r r e n t - c o n t e x t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13679"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   c u r r e n t - c o n t e x t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13680"
  },
  {
    "question": "What is delete-cluster?",
    "answer": "D e l e t e   t h e   m i n i k u b e   c l u s t e r   k u b e c t l   c o n f i g   d e l e t e - c l u s t e r   m i n i k u b e   D e l e t e   t h e   s p e c i f i e d   c l u s t e r   f r o m   t h e   k u b e c o n f i g .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13681"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   d e l e t e - c l u s t e r   N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13682"
  },
  {
    "question": "What is delete-context?",
    "answer": "D e l e t e   t h e   c o n t e x t   f o r   t h e   m i n i k u b e   c l u s t e r   k u b e c t l   c o n f i g   d e l e t e - c o n t e x t   m i n i k u b e   D e l e t e   t h e   s p e c i f i e d   c o n t e x t   f r o m   t h e   k u b e c o n f i g .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13683"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   d e l e t e - c o n t e x t   N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13684"
  },
  {
    "question": "What is delete-user?",
    "answer": "D e l e t e   t h e   m i n i k u b e   u s e r   k u b e c t l   c o n f i g   d e l e t e - u s e r   m i n i k u b e   D e l e t e   t h e   s p e c i f i e d   u s e r   f r o m   t h e   k u b e c o n f i g .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13685"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   d e l e t e - u s e r   N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13686"
  },
  {
    "question": "What is get-clusters?",
    "answer": "L i s t   t h e   c l u s t e r s   t h a t   k u b e c t l   k n o w s   a b o u t   k u b e c t l   c o n f i g   g e t - c l u s t e r s   D i s p l a y   c l u s t e r s   d e f i n e d   i n   t h e   k u b e c o n f i g .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13687"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   g e t - c l u s t e r s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13688"
  },
  {
    "question": "What is get-contexts?",
    "answer": "L i s t   a l l   t h e   c o n t e x t s   i n   y o u r   k u b e c o n f i g   f i l e   k u b e c t l   c o n f i g   g e t - c o n t e x t s   D e s c r i b e   o n e   c o n t e x t   i n   y o u r   k u b e c o n f i g   f i l e   k u b e c t l   c o n f i g   g e t - c o n t e x t s   m y - c o n t e x t   D i s p l a y   o n e   o r   m a n y   c o n t e x t s   f r o m   t h e   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13689"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   g e t - c o n t e x t s   [ ( - o | - - o u t p u t = ) n a m e ) ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13690"
  },
  {
    "question": "What is get-users?",
    "answer": "L i s t   t h e   u s e r s   t h a t   k u b e c t l   k n o w s   a b o u t   k u b e c t l   c o n f i g   g e t - u s e r s   D i s p l a y   u s e r s   d e f i n e d   i n   t h e   k u b e c o n f i g .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13691"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   g e t - u s e r s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13692"
  },
  {
    "question": "What is rename-context?",
    "answer": "R e n a m e   t h e   c o n t e x t   ' o l d - n a m e '   t o   ' n e w - n a m e '   i n   y o u r   k u b e c o n f i g   f i l e   k u b e c t l   c o n f i g   r e n a m e - c o n t e x t   o l d - n a m e   n e w - n a m e   R e n a m e s   a   c o n t e x t   f r o m   t h e   k u b e c o n f i g   f i l e .   C O N T E X T _ N A M E   i s   t h e   c o n t e x t   n a m e   t h a t   y o u   w a n t   t o   c h a n g e .   N E W _ N A M E   i s   t h e   n e w   n a m e   y o u   w a n t   t o   s e t .   N o t e :   I f   t h e   c o n t e x t   b e i n g   r e n a m e d   i s   t h e   ' c u r r e n t - c o n t e x t ' ,   t h i s   f i e l d   w i l l   a l s o   b e   u p d a t e d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13693"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   r e n a m e - c o n t e x t   C O N T E X T _ N A M E   N E W _ N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13694"
  },
  {
    "question": "What is set?",
    "answer": "S e t   t h e   s e r v e r   f i e l d   o n   t h e   m y - c l u s t e r   c l u s t e r   t o   h t t p s : / / 1 . 2 . 3 . 4   k u b e c t l   c o n f i g   s e t   c l u s t e r s . m y - c l u s t e r . s e r v e r   h t t p s : / / 1 . 2 . 3 . 4   S e t   t h e   c e r t i f i c a t e - a u t h o r i t y - d a t a   f i e l d   o n   t h e   m y - c l u s t e r   c l u s t e r   k u b e c t l   c o n f i g   s e t   c l u s t e r s . m y - c l u s t e r . c e r t i f i c a t e - a u t h o r i t y - d a t a   $ ( e c h o   \" c e r t _ d a t a _ h e r e \"   |   b a s e 6 4   - i   - )   S e t   t h e   c l u s t e r   f i e l d   i n   t h e   m y - c o n t e x t   c o n t e x t   t o   m y - c l u s t e r   k u b e c t l   c o n f i g   s e t   c o n t e x t s . m y - c o n t e x t . c l u s t e r   m y - c l u s t e r   S e t   t h e   c l i e n t - k e y - d a t a   f i e l d   i n   t h e   c l u s t e r - a d m i n   u s e r   u s i n g   - - s e t - r a w - b y t e s   o p t i o n   k u b e c t l   c o n f i g   s e t   u s e r s . c l u s t e r - a d m i n . c l i e n t - k e y - d a t a   c e r t _ d a t a _ h e r e   - - s e t - r a w - b y t e s = t r u e   S e t   a n   i n d i v i d u a l   v a l u e   i n   a   k u b e c o n f i g   f i l e .   P R O P E R T Y _ N A M E   i s   a   d o t   d e l i m i t e d   n a m e   w h e r e   e a c h   t o k e n   r e p r e s e n t s   e i t h e r   a n   a t t r i b u t e   n a m e   o r   a   m a p   k e y .   M a p   k e y s   m a y   n o t   c o n t a i n   d o t s .   P R O P E R T Y _ V A L U E   i s   t h e   n e w   v a l u e   y o u   w a n t   t o   s e t .   B i n a r y   f i e l d s   s u c h   a s   ' c e r t i f i c a t e - a u t h o r i t y - d a t a '   e x p e c t   a   b a s e 6 4   e n c o d e d   s t r i n g   u n l e s s   t h e   - - s e t - r a w - b y t e s   f l a g   i s   u s e d .   S p e c i f y i n g   a n   a t t r i b u t e   n a m e   t h a t   a l r e a d y   e x i s t s   w ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13695"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   s e t   P R O P E R T Y _ N A M E   P R O P E R T Y _ V A L U E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13696"
  },
  {
    "question": "What is set-cluster?",
    "answer": "S e t   o n l y   t h e   s e r v e r   f i e l d   o n   t h e   e 2 e   c l u s t e r   e n t r y   w i t h o u t   t o u c h i n g   o t h e r   v a l u e s   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - s e r v e r = h t t p s : / / 1 . 2 . 3 . 4   E m b e d   c e r t i f i c a t e   a u t h o r i t y   d a t a   f o r   t h e   e 2 e   c l u s t e r   e n t r y   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - e m b e d - c e r t s   - - c e r t i f i c a t e - a u t h o r i t y = ~ / . k u b e / e 2 e / k u b e r n e t e s . c a . c r t   D i s a b l e   c e r t   c h e c k i n g   f o r   t h e   d e v   c l u s t e r   e n t r y   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - i n s e c u r e - s k i p - t l s - v e r i f y = t r u e   S e t   c u s t o m   T L S   s e r v e r   n a m e   t o   u s e   f o r   v a l i d a t i o n   f o r   t h e   e 2 e   c l u s t e r   e n t r y   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - t l s - s e r v e r - n a m e = m y - c l u s t e r - n a m e   S e t   a   c l u s t e r   e n t r y   i n   k u b e c o n f i g .   S p e c i f y i n g   a   n a m e   t h a t   a l r e a d y   e x i s t s   w i l l   m e r g e   n e w   f i e l d s   o n   t o p   o f   e x i s t i n g   v a l u e s   f o r   t h o s e   f i e l d s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13697"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   s e t - c l u s t e r   N A M E   [ - - s e r v e r = s e r v e r ]   [ - - c e r t i f i c a t e - a u t h o r i t y = p a t h / t o / c e r t i f i c a t e / a u t h o r i t y ]   [ - - i n s e c u r e - s k i p - t l s - v e r i f y = t r u e ]   [ - - t l s - s e r v e r - n a m e = e x a m p l e . c o m ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13698"
  },
  {
    "question": "What is set-context?",
    "answer": "S e t   t h e   u s e r   f i e l d   o n   t h e   g c e   c o n t e x t   e n t r y   w i t h o u t   t o u c h i n g   o t h e r   v a l u e s   k u b e c t l   c o n f i g   s e t - c o n t e x t   g c e   - - u s e r = c l u s t e r - a d m i n   S e t   a   c o n t e x t   e n t r y   i n   k u b e c o n f i g .   S p e c i f y i n g   a   n a m e   t h a t   a l r e a d y   e x i s t s   w i l l   m e r g e   n e w   f i e l d s   o n   t o p   o f   e x i s t i n g   v a l u e s   f o r   t h o s e   f i e l d s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13699"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   s e t - c o n t e x t   [ N A M E   |   - - c u r r e n t ]   [ - - c l u s t e r = c l u s t e r _ n i c k n a m e ]   [ - - u s e r = u s e r _ n i c k n a m e ]   [ - - n a m e s p a c e = n a m e s p a c e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13700"
  },
  {
    "question": "What is set-credentials?",
    "answer": "S e t   o n l y   t h e   \" c l i e n t - k e y \"   f i e l d   o n   t h e   \" c l u s t e r - a d m i n \"   #   e n t r y ,   w i t h o u t   t o u c h i n g   o t h e r   v a l u e s   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - c l i e n t - k e y = ~ / . k u b e / a d m i n . k e y   S e t   b a s i c   a u t h   f o r   t h e   \" c l u s t e r - a d m i n \"   e n t r y   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - u s e r n a m e = a d m i n   - - p a s s w o r d = u X F G w e U 9 l 3 5 q c i f   E m b e d   c l i e n t   c e r t i f i c a t e   d a t a   i n   t h e   \" c l u s t e r - a d m i n \"   e n t r y   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - c l i e n t - c e r t i f i c a t e = ~ / . k u b e / a d m i n . c r t   - - e m b e d - c e r t s = t r u e   E n a b l e   t h e   G o o g l e   C o m p u t e   P l a t f o r m   a u t h   p r o v i d e r   f o r   t h e   \" c l u s t e r - a d m i n \"   e n t r y   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - a u t h - p r o v i d e r = g c p   E n a b l e   t h e   O p e n I D   C o n n e c t   a u t h   p r o v i d e r   f o r   t h e   \" c l u s t e r - a d m i n \"   e n t r y   w i t h   a d d i t i o n a l   a r g s   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - a u t h - p r o v i d e r = o i d c   - - a u t h - p r o v i d e r - a r g = c l i e n t - i d = f o o   - - a u t h - p r o v i d e r - a r g = c l i e n t - s e c r e t = b a r   R e m o v e   t h e   \" c l i e n t - s e c r e t \"   c o n f i g   v a l u e   f o r   t h e   O p e n I D   C o n n e c t   a u t h   p r o v i d e r   f o r   t h e   \" c l u s t e r - a d m i n \"   e n t r y   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - a u t h - p r ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13701"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   N A M E   [ - - c l i e n t - c e r t i f i c a t e = p a t h / t o / c e r t f i l e ]   [ - - c l i e n t - k e y = p a t h / t o / k e y f i l e ]   [ - - t o k e n = b e a r e r _ t o k e n ]   [ - - u s e r n a m e = b a s i c _ u s e r ]   [ - - p a s s w o r d = b a s i c _ p a s s w o r d ]   [ - - a u t h - p r o v i d e r = p r o v i d e r _ n a m e ]   [ - - a u t h - p r o v i d e r - a r g = k e y = v a l u e ]   [ - - e x e c - c o m m a n d = e x e c _ c o m m a n d ]   [ - - e x e c - a p i - v e r s i o n = e x e c _ a p i _ v e r s i o n ]   [ - - e x e c - a r g = a r g ]   [ - - e x e c - e n v = k e y = v a l u e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13702"
  },
  {
    "question": "What is unset?",
    "answer": "U n s e t   t h e   c u r r e n t - c o n t e x t   k u b e c t l   c o n f i g   u n s e t   c u r r e n t - c o n t e x t   U n s e t   n a m e s p a c e   i n   f o o   c o n t e x t   k u b e c t l   c o n f i g   u n s e t   c o n t e x t s . f o o . n a m e s p a c e   U n s e t   a n   i n d i v i d u a l   v a l u e   i n   a   k u b e c o n f i g   f i l e .   P R O P E R T Y _ N A M E   i s   a   d o t   d e l i m i t e d   n a m e   w h e r e   e a c h   t o k e n   r e p r e s e n t s   e i t h e r   a n   a t t r i b u t e   n a m e   o r   a   m a p   k e y .   M a p   k e y s   m a y   n o t   c o n t a i n   d o t s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13703"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   u n s e t   P R O P E R T Y _ N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13704"
  },
  {
    "question": "What is use-context?",
    "answer": "U s e   t h e   c o n t e x t   f o r   t h e   m i n i k u b e   c l u s t e r   k u b e c t l   c o n f i g   u s e - c o n t e x t   m i n i k u b e   S e t   t h e   c u r r e n t - c o n t e x t   i n   a   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13705"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   u s e - c o n t e x t   C O N T E X T _ N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13706"
  },
  {
    "question": "What is view?",
    "answer": "S h o w   m e r g e d   k u b e c o n f i g   s e t t i n g s   k u b e c t l   c o n f i g   v i e w   S h o w   m e r g e d   k u b e c o n f i g   s e t t i n g s   a n d   r a w   c e r t i f i c a t e   d a t a   k u b e c t l   c o n f i g   v i e w   - - r a w   G e t   t h e   p a s s w o r d   f o r   t h e   e 2 e   u s e r   k u b e c t l   c o n f i g   v i e w   - o   j s o n p a t h = ' { . u s e r s [ ? ( @ . n a m e   = =   \" e 2 e \" ) ] . u s e r . p a s s w o r d } '   D i s p l a y   m e r g e d   k u b e c o n f i g   s e t t i n g s   o r   a   s p e c i f i e d   k u b e c o n f i g   f i l e .   Y o u   c a n   u s e   - - o u t p u t   j s o n p a t h = { . . . }   t o   e x t r a c t   s p e c i f i c   v a l u e s   u s i n g   a   j s o n p a t h   e x p r e s s i o n .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13707"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   c o n f i g   v i e w",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13708"
  },
  {
    "question": "What is explain?",
    "answer": "G e t   t h e   d o c u m e n t a t i o n   o f   t h e   r e s o u r c e   a n d   i t s   f i e l d s   k u b e c t l   e x p l a i n   p o d s   G e t   t h e   d o c u m e n t a t i o n   o f   a   s p e c i f i c   f i e l d   o f   a   r e s o u r c e   k u b e c t l   e x p l a i n   p o d s . s p e c . c o n t a i n e r s   L i s t   t h e   f i e l d s   f o r   s u p p o r t e d   r e s o u r c e s .   T h i s   c o m m a n d   d e s c r i b e s   t h e   f i e l d s   a s s o c i a t e d   w i t h   e a c h   s u p p o r t e d   A P I   r e s o u r c e .   F i e l d s   a r e   i d e n t i f i e d   v i a   a   s i m p l e   J S O N P a t h   i d e n t i f i e r :   < t y p e > . < f i e l d N a m e > [ . < f i e l d N a m e > ]   A d d   t h e   - - r e c u r s i v e   f l a g   t o   d i s p l a y   a l l   o f   t h e   f i e l d s   a t   o n c e   w i t h o u t   d e s c r i p t i o n s .   I n f o r m a t i o n   a b o u t   e a c h   f i e l d   i s   r e t r i e v e d   f r o m   t h e   s e r v e r   i n   O p e n A P I   f o r m a t .   U s e   \" k u b e c t l   a p i - r e s o u r c e s \"   f o r   a   c o m p l e t e   l i s t   o f   s u p p o r t e d   r e s o u r c e s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13709"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   e x p l a i n   R E S O U R C E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13710"
  },
  {
    "question": "What is options?",
    "answer": "P r i n t   f l a g s   i n h e r i t e d   b y   a l l   c o m m a n d s   k u b e c t l   o p t i o n s   P r i n t   t h e   l i s t   o f   f l a g s   i n h e r i t e d   b y   a l l   c o m m a n d s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13711"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   o p t i o n s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13712"
  },
  {
    "question": "What is plugin?",
    "answer": "P r o v i d e s   u t i l i t i e s   f o r   i n t e r a c t i n g   w i t h   p l u g i n s .   P l u g i n s   p r o v i d e   e x t e n d e d   f u n c t i o n a l i t y   t h a t   i s   n o t   p a r t   o f   t h e   m a j o r   c o m m a n d - l i n e   d i s t r i b u t i o n .   P l e a s e   r e f e r   t o   t h e   d o c u m e n t a t i o n   a n d   e x a m p l e s   f o r   m o r e   i n f o r m a t i o n   a b o u t   h o w   w r i t e   y o u r   o w n   p l u g i n s .   T h e   e a s i e s t   w a y   t o   d i s c o v e r   a n d   i n s t a l l   p l u g i n s   i s   v i a   t h e   k u b e r n e t e s   s u b - p r o j e c t   k r e w .   T o   i n s t a l l   k r e w ,   v i s i t   h t t p s : / / k r e w . s i g s . k 8 s . i o / d o c s / u s e r - g u i d e / s e t u p / i n s t a l l /",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13713"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   p l u g i n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13714"
  },
  {
    "question": "What is list?",
    "answer": "L i s t   a l l   a v a i l a b l e   p l u g i n   f i l e s   o n   a   u s e r ' s   P A T H .   A v a i l a b l e   p l u g i n   f i l e s   a r e   t h o s e   t h a t   a r e :   -   e x e c u t a b l e   -   a n y w h e r e   o n   t h e   u s e r ' s   P A T H   -   b e g i n   w i t h   \" k u b e c t l - \"",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_2_13715"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   p l u g i n   l i s t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13716"
  },
  {
    "question": "What is version?",
    "answer": "P r i n t   t h e   c l i e n t   a n d   s e r v e r   v e r s i o n s   f o r   t h e   c u r r e n t   c o n t e x t   k u b e c t l   v e r s i o n   P r i n t   t h e   c l i e n t   a n d   s e r v e r   v e r s i o n   i n f o r m a t i o n   f o r   t h e   c u r r e n t   c o n t e x t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_1_13717"
  },
  {
    "question": "What is Usage?",
    "answer": "$   k u b e c t l   v e r s i o n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kubectl-cmds/",
    "id": "k8s_00618_section_3_13718"
  },
  {
    "question": "What is ?",
    "answer": "Requirements:You need a machine that is running Linux or macOS.You need to have these tools installed:Python v3.7.x+GitGolang version 1.13+Pip used to install PyYAMLPyYAML v5.1.2makegcc compiler/linkerDocker (Required only for kubectl command reference)Your PATH environment variable must include the required build tools, such as the Go binary and python.You need to know how to create a pull request to a GitHub repository. This involves creating your own fork of the repository. For more information, see Work from a local clone.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/prerequisites-ref-docs/",
    "id": "k8s_00619_qa_13719"
  },
  {
    "question": "How does  work?",
    "answer": "Requirements:You need a machine that is running Linux or macOS.You need to have these tools installed:Python v3.7.x+GitGolang version 1.13+Pip used to install PyYAMLPyYAML v5.1.2makegcc compiler/linkerDocker (Required only for kubectl command reference)Your PATH environment variable must include the required build tools, such as the Go binary and python.You need to know how to create a pull request to a GitHub repository. This involves creating your own fork of the repository. For more information, see Work from a local clone.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/prerequisites-ref-docs/",
    "id": "k8s_00619_qa_13720"
  },
  {
    "question": "When would you use ?",
    "answer": "Requirements:You need a machine that is running Linux or macOS.You need to have these tools installed:Python v3.7.x+GitGolang version 1.13+Pip used to install PyYAMLPyYAML v5.1.2makegcc compiler/linkerDocker (Required only for kubectl command reference)Your PATH environment variable must include the required build tools, such as the Go binary and python.You need to know how to create a pull request to a GitHub repository. This involves creating your own fork of the repository. For more information, see Work from a local clone.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/prerequisites-ref-docs/",
    "id": "k8s_00619_qa_13721"
  },
  {
    "question": "What are the benefits of ?",
    "answer": "Requirements:You need a machine that is running Linux or macOS.You need to have these tools installed:Python v3.7.x+GitGolang version 1.13+Pip used to install PyYAMLPyYAML v5.1.2makegcc compiler/linkerDocker (Required only for kubectl command reference)Your PATH environment variable must include the required build tools, such as the Go binary and python.You need to know how to create a pull request to a GitHub repository. This involves creating your own fork of the repository. For more information, see Work from a local clone.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/prerequisites-ref-docs/",
    "id": "k8s_00619_qa_13722"
  },
  {
    "question": "What is Requirements:?",
    "answer": "Y o u   n e e d   a   m a c h i n e   t h a t   i s   r u n n i n g   L i n u x   o r   m a c O S . Y o u   n e e d   t o   h a v e   t h e s e   t o o l s   i n s t a l l e d : P y t h o n   v 3 . 7 . x + G i t G o l a n g   v e r s i o n   1 . 1 3 + P i p   u s e d   t o   i n s t a l l   P y Y A M L P y Y A M L   v 5 . 1 . 2 m a k e g c c   c o m p i l e r / l i n k e r D o c k e r   ( R e q u i r e d   o n l y   f o r   k u b e c t l   c o m m a n d   r e f e r e n c e ) Y o u r   P A T H   e n v i r o n m e n t   v a r i a b l e   m u s t   i n c l u d e   t h e   r e q u i r e d   b u i l d   t o o l s ,   s u c h   a s   t h e   G o   b i n a r y   a n d   p y t h o n . Y o u   n e e d   t o   k n o w   h o w   t o   c r e a t e   a   p u l l   r e q u e s t   t o   a   G i t H u b   r e p o s i t o r y .   T h i s   i n v o l v e s   c r e a t i n g   y o u r   o w n   f o r k   o f   t h e   r e p o s i t o r y .   F o r   m o r e   i n f o r m a t i o n ,   s e e   W o r k   f r o m   a   l o c a l   c l o n e .   Y o u   n e e d   a   m a c h i n e   t h a t   i s   r u n n i n g   L i n u x   o r   m a c O S .   Y o u   n e e d   t o   h a v e   t h e s e   t o o l s   i n s t a l l e d :   P y t h o n   v 3 . 7 . x + G i t G o l a n g   v e r s i o n   1 . 1 3 + P i p   u s e d   t o   i n s t a l l   P y Y A M L P y Y A M L   v 5 . 1 . 2 m a k e g c c   c o m p i l e r / l i n k e r D o c k e r   ( R e q u i r e d   o n l y   f o r   k u b e c t l   c o m m a n d   r e f e r e n c e )   Y o u r   P A T H   e n v i r o n m e n t   v a r i a b l e   m u s t   i n c l u d e   t h e   r e q u i r e d   b u i l d   t o o l s ,   s u c h   a s   t h e   G o   b i n a r y   a n d   p y t h o n .   Y o u   n e e d   t o   k n o w   h o w   t o   c r e a t e   a   p u l l   r e q u e s t   t o   a   G i t H u b   r e p o s i t o r y .   T h i s   i n v o l v e s   c r e a t i n g   y o u r   o w n   f o r k   o f   t h e   r e p o s i t o r y .   F o r   m o r ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/prerequisites-ref-docs/",
    "id": "k8s_00619_section_3_13723"
  },
  {
    "question": "What is Auditing?",
    "answer": "AuditingKubernetes auditing provides a security-relevant, chronological set of records documenting the sequence of actions in a cluster. The cluster audits the activities generated by users, by applications that use the Kubernetes API, and by the control plane itself.Auditing allows cluster administrators to answer the following questions:what happened?when did it happen?who initiated it?on what did it happen?where was it observed?from where was it initiated?to where was it going?Audit records begin their lifecycle inside the kube-apiserver component. Each request on each stage of its execution generates an audit event, which is then pre-processed according to a certain policy and written to a backend. The policy determines what's recorded and the backends persist the records. The current backend implementations include logs files and webhooks.Each request can be recorded with an associated stage. The defined stages are:RequestReceived - The stage for events generated as soon as the audit handler receives the request, and before it is delegated down the handler chain.ResponseStarted - Once the response headers are sent, but before the response body is sent. This stage is only generated for long-running requests (e.g. watch).ResponseComplete - The response body has been completed and no more bytes will be sent.Panic - Events generated when a panic occurred.Note:The configuration of an Audit Event configuration is different from the Event API object.The audit logging feature increases the memory consumption of the API server because some context required for auditing is stored for each request. Memory consumption depends on the audit logging configuration.Audit policyAudit policy defines rules about what events should be recorded and what data they should include. The audit policy object structure is defined in the audit.k8s.io API group. When an event is processed, it's compared against the list of rules in order. The first matching rule sets the audit level of the event. The defined audit levels are:None - don't log events that match this rule.Metadata - log events with metadata (requesting user, timestamp, resource, verb, etc.) but not request or response body.Request - log events with request metadata and body but not response body. This does not apply for non-resource requests.RequestResponse - log events with request metadata, request body and response body. This does not apply for non-resource requests.You can pass a file with the policy to kube-apiserver using the --audit-policy-file flag. If the flag is omitted, no events are logged. Note that the rules field must be provided in the audit policy file. A policy with no (0) rules is treated as illegal.Below is an example audit policy file:audit/audit-policy.yaml apiVersion: audit.k8s.io/v1 # This is required. kind: Policy # Don't generate audit events for all requests in RequestReceived stage. omitStages: - \"RequestReceived\" rules: # Log pod changes at RequestResponse level - level: RequestR",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/audit/",
    "id": "k8s_00620_qa_13724"
  },
  {
    "question": "How does Auditing work?",
    "answer": "AuditingKubernetes auditing provides a security-relevant, chronological set of records documenting the sequence of actions in a cluster. The cluster audits the activities generated by users, by applications that use the Kubernetes API, and by the control plane itself.Auditing allows cluster administrators to answer the following questions:what happened?when did it happen?who initiated it?on what did it happen?where was it observed?from where was it initiated?to where was it going?Audit records begin their lifecycle inside the kube-apiserver component. Each request on each stage of its execution generates an audit event, which is then pre-processed according to a certain policy and written to a backend. The policy determines what's recorded and the backends persist the records. The current backend implementations include logs files and webhooks.Each request can be recorded with an associated stage. The defined stages are:RequestReceived - The stage for events generated as soon as the audit handler receives the request, and before it is delegated down the handler chain.ResponseStarted - Once the response headers are sent, but before the response body is sent. This stage is only generated for long-running requests (e.g. watch).ResponseComplete - The response body has been completed and no more bytes will be sent.Panic - Events generated when a panic occurred.Note:The configuration of an Audit Event configuration is different from the Event API object.The audit logging feature increases the memory consumption of the API server because some context required for auditing is stored for each request. Memory consumption depends on the audit logging configuration.Audit policyAudit policy defines rules about what events should be recorded and what data they should include. The audit policy object structure is defined in the audit.k8s.io API group. When an event is processed, it's compared against the list of rules in order. The first matching rule sets the audit level of the event. The defined audit levels are:None - don't log events that match this rule.Metadata - log events with metadata (requesting user, timestamp, resource, verb, etc.) but not request or response body.Request - log events with request metadata and body but not response body. This does not apply for non-resource requests.RequestResponse - log events with request metadata, request body and response body. This does not apply for non-resource requests.You can pass a file with the policy to kube-apiserver using the --audit-policy-file flag. If the flag is omitted, no events are logged. Note that the rules field must be provided in the audit policy file. A policy with no (0) rules is treated as illegal.Below is an example audit policy file:audit/audit-policy.yaml apiVersion: audit.k8s.io/v1 # This is required. kind: Policy # Don't generate audit events for all requests in RequestReceived stage. omitStages: - \"RequestReceived\" rules: # Log pod changes at RequestResponse level - level: RequestR",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/audit/",
    "id": "k8s_00620_qa_13725"
  },
  {
    "question": "When would you use Auditing?",
    "answer": "AuditingKubernetes auditing provides a security-relevant, chronological set of records documenting the sequence of actions in a cluster. The cluster audits the activities generated by users, by applications that use the Kubernetes API, and by the control plane itself.Auditing allows cluster administrators to answer the following questions:what happened?when did it happen?who initiated it?on what did it happen?where was it observed?from where was it initiated?to where was it going?Audit records begin their lifecycle inside the kube-apiserver component. Each request on each stage of its execution generates an audit event, which is then pre-processed according to a certain policy and written to a backend. The policy determines what's recorded and the backends persist the records. The current backend implementations include logs files and webhooks.Each request can be recorded with an associated stage. The defined stages are:RequestReceived - The stage for events generated as soon as the audit handler receives the request, and before it is delegated down the handler chain.ResponseStarted - Once the response headers are sent, but before the response body is sent. This stage is only generated for long-running requests (e.g. watch).ResponseComplete - The response body has been completed and no more bytes will be sent.Panic - Events generated when a panic occurred.Note:The configuration of an Audit Event configuration is different from the Event API object.The audit logging feature increases the memory consumption of the API server because some context required for auditing is stored for each request. Memory consumption depends on the audit logging configuration.Audit policyAudit policy defines rules about what events should be recorded and what data they should include. The audit policy object structure is defined in the audit.k8s.io API group. When an event is processed, it's compared against the list of rules in order. The first matching rule sets the audit level of the event. The defined audit levels are:None - don't log events that match this rule.Metadata - log events with metadata (requesting user, timestamp, resource, verb, etc.) but not request or response body.Request - log events with request metadata and body but not response body. This does not apply for non-resource requests.RequestResponse - log events with request metadata, request body and response body. This does not apply for non-resource requests.You can pass a file with the policy to kube-apiserver using the --audit-policy-file flag. If the flag is omitted, no events are logged. Note that the rules field must be provided in the audit policy file. A policy with no (0) rules is treated as illegal.Below is an example audit policy file:audit/audit-policy.yaml apiVersion: audit.k8s.io/v1 # This is required. kind: Policy # Don't generate audit events for all requests in RequestReceived stage. omitStages: - \"RequestReceived\" rules: # Log pod changes at RequestResponse level - level: RequestR",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/audit/",
    "id": "k8s_00620_qa_13726"
  },
  {
    "question": "What are the benefits of Auditing?",
    "answer": "AuditingKubernetes auditing provides a security-relevant, chronological set of records documenting the sequence of actions in a cluster. The cluster audits the activities generated by users, by applications that use the Kubernetes API, and by the control plane itself.Auditing allows cluster administrators to answer the following questions:what happened?when did it happen?who initiated it?on what did it happen?where was it observed?from where was it initiated?to where was it going?Audit records begin their lifecycle inside the kube-apiserver component. Each request on each stage of its execution generates an audit event, which is then pre-processed according to a certain policy and written to a backend. The policy determines what's recorded and the backends persist the records. The current backend implementations include logs files and webhooks.Each request can be recorded with an associated stage. The defined stages are:RequestReceived - The stage for events generated as soon as the audit handler receives the request, and before it is delegated down the handler chain.ResponseStarted - Once the response headers are sent, but before the response body is sent. This stage is only generated for long-running requests (e.g. watch).ResponseComplete - The response body has been completed and no more bytes will be sent.Panic - Events generated when a panic occurred.Note:The configuration of an Audit Event configuration is different from the Event API object.The audit logging feature increases the memory consumption of the API server because some context required for auditing is stored for each request. Memory consumption depends on the audit logging configuration.Audit policyAudit policy defines rules about what events should be recorded and what data they should include. The audit policy object structure is defined in the audit.k8s.io API group. When an event is processed, it's compared against the list of rules in order. The first matching rule sets the audit level of the event. The defined audit levels are:None - don't log events that match this rule.Metadata - log events with metadata (requesting user, timestamp, resource, verb, etc.) but not request or response body.Request - log events with request metadata and body but not response body. This does not apply for non-resource requests.RequestResponse - log events with request metadata, request body and response body. This does not apply for non-resource requests.You can pass a file with the policy to kube-apiserver using the --audit-policy-file flag. If the flag is omitted, no events are logged. Note that the rules field must be provided in the audit policy file. A policy with no (0) rules is treated as illegal.Below is an example audit policy file:audit/audit-policy.yaml apiVersion: audit.k8s.io/v1 # This is required. kind: Policy # Don't generate audit events for all requests in RequestReceived stage. omitStages: - \"RequestReceived\" rules: # Log pod changes at RequestResponse level - level: RequestR",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/audit/",
    "id": "k8s_00620_qa_13727"
  },
  {
    "question": "What is Auditing?",
    "answer": "K u b e r n e t e s   a u d i t i n g   p r o v i d e s   a   s e c u r i t y - r e l e v a n t ,   c h r o n o l o g i c a l   s e t   o f   r e c o r d s   d o c u m e n t i n g   t h e   s e q u e n c e   o f   a c t i o n s   i n   a   c l u s t e r .   T h e   c l u s t e r   a u d i t s   t h e   a c t i v i t i e s   g e n e r a t e d   b y   u s e r s ,   b y   a p p l i c a t i o n s   t h a t   u s e   t h e   K u b e r n e t e s   A P I ,   a n d   b y   t h e   c o n t r o l   p l a n e   i t s e l f .   A u d i t i n g   a l l o w s   c l u s t e r   a d m i n i s t r a t o r s   t o   a n s w e r   t h e   f o l l o w i n g   q u e s t i o n s :   w h a t   h a p p e n e d ? w h e n   d i d   i t   h a p p e n ? w h o   i n i t i a t e d   i t ? o n   w h a t   d i d   i t   h a p p e n ? w h e r e   w a s   i t   o b s e r v e d ? f r o m   w h e r e   w a s   i t   i n i t i a t e d ? t o   w h e r e   w a s   i t   g o i n g ?   A u d i t   r e c o r d s   b e g i n   t h e i r   l i f e c y c l e   i n s i d e   t h e   k u b e - a p i s e r v e r   c o m p o n e n t .   E a c h   r e q u e s t   o n   e a c h   s t a g e   o f   i t s   e x e c u t i o n   g e n e r a t e s   a n   a u d i t   e v e n t ,   w h i c h   i s   t h e n   p r e - p r o c e s s e d   a c c o r d i n g   t o   a   c e r t a i n   p o l i c y   a n d   w r i t t e n   t o   a   b a c k e n d .   T h e   p o l i c y   d e t e r m i n e s   w h a t ' s   r e c o r d e d   a n d   t h e   b a c k e n d s   p e r s i s t   t h e   r e c o r d s .   T h e   c u r r e n t   b a c k e n d   i m p l e m e n t a t i o n s   i n c l u d e   l o g s   f i l e s   a n d   w e b h o o k s .   E a c h   r e q u e s t   c a n   b e   r e c o r d e d   w i t h   a n   a s s o c i a t e d   s t a g e .   T h e   d e f i n e d   s t a g e s   a r e :   R e q u e s t R e c e i v e d   -   T h e   s t a g e   f o r   e v e n t s   g e n e r a t e d   a s   s o o n   a s   t h e   a u d i t ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/audit/",
    "id": "k8s_00620_section_1_13728"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   a u d i t   l o g g i n g   f e a t u r e   i n c r e a s e s   t h e   m e m o r y   c o n s u m p t i o n   o f   t h e   A P I   s e r v e r   b e c a u s e   s o m e   c o n t e x t   r e q u i r e d   f o r   a u d i t i n g   i s   s t o r e d   f o r   e a c h   r e q u e s t .   M e m o r y   c o n s u m p t i o n   d e p e n d s   o n   t h e   a u d i t   l o g g i n g   c o n f i g u r a t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/audit/",
    "id": "k8s_00620_section_4_13729"
  },
  {
    "question": "What is Audit policy?",
    "answer": "A u d i t   p o l i c y   d e f i n e s   r u l e s   a b o u t   w h a t   e v e n t s   s h o u l d   b e   r e c o r d e d   a n d   w h a t   d a t a   t h e y   s h o u l d   i n c l u d e .   T h e   a u d i t   p o l i c y   o b j e c t   s t r u c t u r e   i s   d e f i n e d   i n   t h e   a u d i t . k 8 s . i o   A P I   g r o u p .   W h e n   a n   e v e n t   i s   p r o c e s s e d ,   i t ' s   c o m p a r e d   a g a i n s t   t h e   l i s t   o f   r u l e s   i n   o r d e r .   T h e   f i r s t   m a t c h i n g   r u l e   s e t s   t h e   a u d i t   l e v e l   o f   t h e   e v e n t .   T h e   d e f i n e d   a u d i t   l e v e l s   a r e :   N o n e   -   d o n ' t   l o g   e v e n t s   t h a t   m a t c h   t h i s   r u l e . M e t a d a t a   -   l o g   e v e n t s   w i t h   m e t a d a t a   ( r e q u e s t i n g   u s e r ,   t i m e s t a m p ,   r e s o u r c e ,   v e r b ,   e t c . )   b u t   n o t   r e q u e s t   o r   r e s p o n s e   b o d y . R e q u e s t   -   l o g   e v e n t s   w i t h   r e q u e s t   m e t a d a t a   a n d   b o d y   b u t   n o t   r e s p o n s e   b o d y .   T h i s   d o e s   n o t   a p p l y   f o r   n o n - r e s o u r c e   r e q u e s t s . R e q u e s t R e s p o n s e   -   l o g   e v e n t s   w i t h   r e q u e s t   m e t a d a t a ,   r e q u e s t   b o d y   a n d   r e s p o n s e   b o d y .   T h i s   d o e s   n o t   a p p l y   f o r   n o n - r e s o u r c e   r e q u e s t s .   Y o u   c a n   p a s s   a   f i l e   w i t h   t h e   p o l i c y   t o   k u b e - a p i s e r v e r   u s i n g   t h e   - - a u d i t - p o l i c y - f i l e   f l a g .   I f   t h e   f l a g   i s   o m i t t e d ,   n o   e v e n t s   a r e   l o g g e d .   N o t e   t h a t   t h e   r u l e s   f i e l d   m u s t   b e   p r o v i d e d   i n   t h e   a u d i t   p o l i c y   f i l e .   A   p o l i c y   w i t h   n o   ( 0 )   r u l e s   i s   t r e a t e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/audit/",
    "id": "k8s_00620_section_2_13730"
  },
  {
    "question": "What is Audit backends?",
    "answer": "A u d i t   b a c k e n d s   p e r s i s t   a u d i t   e v e n t s   t o   a n   e x t e r n a l   s t o r a g e .   O u t   o f   t h e   b o x ,   t h e   k u b e - a p i s e r v e r   p r o v i d e s   t w o   b a c k e n d s :   L o g   b a c k e n d ,   w h i c h   w r i t e s   e v e n t s   i n t o   t h e   f i l e s y s t e m W e b h o o k   b a c k e n d ,   w h i c h   s e n d s   e v e n t s   t o   a n   e x t e r n a l   H T T P   A P I   I n   a l l   c a s e s ,   a u d i t   e v e n t s   f o l l o w   a   s t r u c t u r e   d e f i n e d   b y   t h e   K u b e r n e t e s   A P I   i n   t h e   a u d i t . k 8 s . i o   A P I   g r o u p .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/audit/",
    "id": "k8s_00620_section_2_13731"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   c a s e   o f   p a t c h e s ,   r e q u e s t   b o d y   i s   a   J S O N   a r r a y   w i t h   p a t c h   o p e r a t i o n s ,   n o t   a   J S O N   o b j e c t   w i t h   a n   a p p r o p r i a t e   K u b e r n e t e s   A P I   o b j e c t .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   r e q u e s t   b o d y   i s   a   v a l i d   p a t c h   r e q u e s t   t o   / a p i s / b a t c h / v 1 / n a m e s p a c e s / s o m e - n a m e s p a c e / j o b s / s o m e - j o b - n a m e :   [   {   \" o p \" :   \" r e p l a c e \" ,   \" p a t h \" :   \" / s p e c / p a r a l l e l i s m \" ,   \" v a l u e \" :   0   } ,   {   \" o p \" :   \" r e m o v e \" ,   \" p a t h \" :   \" / s p e c / t e m p l a t e / s p e c / c o n t a i n e r s / 0 / t e r m i n a t i o n M e s s a g e P o l i c y \"   }   ]",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/audit/",
    "id": "k8s_00620_section_4_13732"
  },
  {
    "question": "What is Log backend?",
    "answer": "T h e   l o g   b a c k e n d   w r i t e s   a u d i t   e v e n t s   t o   a   f i l e   i n   J S O N l i n e s   f o r m a t .   Y o u   c a n   c o n f i g u r e   t h e   l o g   a u d i t   b a c k e n d   u s i n g   t h e   f o l l o w i n g   k u b e - a p i s e r v e r   f l a g s :   - - a u d i t - l o g - p a t h   s p e c i f i e s   t h e   l o g   f i l e   p a t h   t h a t   l o g   b a c k e n d   u s e s   t o   w r i t e   a u d i t   e v e n t s .   N o t   s p e c i f y i n g   t h i s   f l a g   d i s a b l e s   l o g   b a c k e n d .   -   m e a n s   s t a n d a r d   o u t - - a u d i t - l o g - m a x a g e   d e f i n e d   t h e   m a x i m u m   n u m b e r   o f   d a y s   t o   r e t a i n   o l d   a u d i t   l o g   f i l e s - - a u d i t - l o g - m a x b a c k u p   d e f i n e s   t h e   m a x i m u m   n u m b e r   o f   a u d i t   l o g   f i l e s   t o   r e t a i n - - a u d i t - l o g - m a x s i z e   d e f i n e s   t h e   m a x i m u m   s i z e   i n   m e g a b y t e s   o f   t h e   a u d i t   l o g   f i l e   b e f o r e   i t   g e t s   r o t a t e d   I f   y o u r   c l u s t e r ' s   c o n t r o l   p l a n e   r u n s   t h e   k u b e - a p i s e r v e r   a s   a   P o d ,   r e m e m b e r   t o   m o u n t   t h e   h o s t P a t h   t o   t h e   l o c a t i o n   o f   t h e   p o l i c y   f i l e   a n d   l o g   f i l e ,   s o   t h a t   a u d i t   r e c o r d s   a r e   p e r s i s t e d .   F o r   e x a m p l e :   -   - - a u d i t - p o l i c y - f i l e = / e t c / k u b e r n e t e s / a u d i t - p o l i c y . y a m l   -   - - a u d i t - l o g - p a t h = / v a r / l o g / k u b e r n e t e s / a u d i t / a u d i t . l o g   t h e n   m o u n t   t h e   v o l u m e s :   . . .   v o l u m e M o u n t s :   -   m o u n t P a t h :   / e t c / k u b e r n e t e s / a u d i t - p o l i c y . y a m l   n a m e :   a u d i t   r e a d O n l y :   t r u e   -   m o u n t P ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/audit/",
    "id": "k8s_00620_section_3_13733"
  },
  {
    "question": "What is Webhook backend?",
    "answer": "T h e   w e b h o o k   a u d i t   b a c k e n d   s e n d s   a u d i t   e v e n t s   t o   a   r e m o t e   w e b   A P I ,   w h i c h   i s   a s s u m e d   t o   b e   a   f o r m   o f   t h e   K u b e r n e t e s   A P I ,   i n c l u d i n g   m e a n s   o f   a u t h e n t i c a t i o n .   Y o u   c a n   c o n f i g u r e   a   w e b h o o k   a u d i t   b a c k e n d   u s i n g   t h e   f o l l o w i n g   k u b e - a p i s e r v e r   f l a g s :   - - a u d i t - w e b h o o k - c o n f i g - f i l e   s p e c i f i e s   t h e   p a t h   t o   a   f i l e   w i t h   a   w e b h o o k   c o n f i g u r a t i o n .   T h e   w e b h o o k   c o n f i g u r a t i o n   i s   e f f e c t i v e l y   a   s p e c i a l i z e d   k u b e c o n f i g . - - a u d i t - w e b h o o k - i n i t i a l - b a c k o f f   s p e c i f i e s   t h e   a m o u n t   o f   t i m e   t o   w a i t   a f t e r   t h e   f i r s t   f a i l e d   r e q u e s t   b e f o r e   r e t r y i n g .   S u b s e q u e n t   r e q u e s t s   a r e   r e t r i e d   w i t h   e x p o n e n t i a l   b a c k o f f .   T h e   w e b h o o k   c o n f i g   f i l e   u s e s   t h e   k u b e c o n f i g   f o r m a t   t o   s p e c i f y   t h e   r e m o t e   a d d r e s s   o f   t h e   s e r v i c e   a n d   c r e d e n t i a l s   u s e d   t o   c o n n e c t   t o   i t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/audit/",
    "id": "k8s_00620_section_3_13734"
  },
  {
    "question": "What is Event batching?",
    "answer": "B o t h   l o g   a n d   w e b h o o k   b a c k e n d s   s u p p o r t   b a t c h i n g .   B e l o w   i s   a   l i s t   o f   a v a i l a b l e   f l a g s   s p e c i f i c   t o   e a c h   b a c k e n d .   B y   d e f a u l t ,   b a t c h i n g   a n d   t h r o t t l i n g   a r e   e n a b l e d   f o r   t h e   w e b h o o k   b a c k e n d   a n d   d i s a b l e d   f o r   t h e   l o g   b a c k e n d .   - - a u d i t - w e b h o o k - m o d e   d e f i n e s   t h e   b u f f e r i n g   s t r a t e g y .   O n e   o f   t h e   f o l l o w i n g : b a t c h   -   b u f f e r   e v e n t s   a n d   a s y n c h r o n o u s l y   p r o c e s s   t h e m   i n   b a t c h e s .   T h i s   i s   t h e   d e f a u l t   m o d e   f o r   t h e   w e b h o o k   b a c k e n d . b l o c k i n g   -   b l o c k   A P I   s e r v e r   r e s p o n s e s   o n   p r o c e s s i n g   e a c h   i n d i v i d u a l   e v e n t . b l o c k i n g - s t r i c t   -   S a m e   a s   b l o c k i n g ,   b u t   w h e n   t h e r e   i s   a   f a i l u r e   d u r i n g   a u d i t   l o g g i n g   a t   t h e   R e q u e s t R e c e i v e d   s t a g e ,   t h e   w h o l e   r e q u e s t   t o   t h e   k u b e - a p i s e r v e r   f a i l s . T h e   f o l l o w i n g   f l a g s   a r e   u s e d   o n l y   i n   t h e   b a t c h   m o d e : - - a u d i t - w e b h o o k - b a t c h - b u f f e r - s i z e   d e f i n e s   t h e   n u m b e r   o f   e v e n t s   t o   b u f f e r   b e f o r e   b a t c h i n g .   I f   t h e   r a t e   o f   i n c o m i n g   e v e n t s   o v e r f l o w s   t h e   b u f f e r ,   e v e n t s   a r e   d r o p p e d .   T h e   d e f a u l t   v a l u e   i s   1 0 0 0 0 . - - a u d i t - w e b h o o k - b a t c h - m a x - s i z e   d e f i n e s   t h e   m a x i m u m   n u m b e r   o f   e v e n t s   i n   o n e   b a t c h .   T h e   d e f a u l t   v a l u e   i s   4 0 0 . - - a u d i t - w e b h ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/audit/",
    "id": "k8s_00620_section_2_13735"
  },
  {
    "question": "What is Parameter tuning?",
    "answer": "P a r a m e t e r s   s h o u l d   b e   s e t   t o   a c c o m m o d a t e   t h e   l o a d   o n   t h e   A P I   s e r v e r .   F o r   e x a m p l e ,   i f   k u b e - a p i s e r v e r   r e c e i v e s   1 0 0   r e q u e s t s   e a c h   s e c o n d ,   a n d   e a c h   r e q u e s t   i s   a u d i t e d   o n l y   o n   R e s p o n s e S t a r t e d   a n d   R e s p o n s e C o m p l e t e   s t a g e s ,   y o u   s h o u l d   a c c o u n t   f o r   ≅ 2 0 0   a u d i t   e v e n t s   b e i n g   g e n e r a t e d   e a c h   s e c o n d .   A s s u m i n g   t h a t   t h e r e   a r e   u p   t o   1 0 0   e v e n t s   i n   a   b a t c h ,   y o u   s h o u l d   s e t   t h r o t t l i n g   l e v e l   a t   l e a s t   2   q u e r i e s   p e r   s e c o n d .   A s s u m i n g   t h a t   t h e   b a c k e n d   c a n   t a k e   u p   t o   5   s e c o n d s   t o   w r i t e   e v e n t s ,   y o u   s h o u l d   s e t   t h e   b u f f e r   s i z e   t o   h o l d   u p   t o   5   s e c o n d s   o f   e v e n t s ;   t h a t   i s :   1 0   b a t c h e s ,   o r   1 0 0 0   e v e n t s .   I n   m o s t   c a s e s   h o w e v e r ,   t h e   d e f a u l t   p a r a m e t e r s   s h o u l d   b e   s u f f i c i e n t   a n d   y o u   d o n ' t   h a v e   t o   w o r r y   a b o u t   s e t t i n g   t h e m   m a n u a l l y .   Y o u   c a n   l o o k   a t   t h e   f o l l o w i n g   P r o m e t h e u s   m e t r i c s   e x p o s e d   b y   k u b e - a p i s e r v e r   a n d   i n   t h e   l o g s   t o   m o n i t o r   t h e   s t a t e   o f   t h e   a u d i t i n g   s u b s y s t e m .   a p i s e r v e r _ a u d i t _ e v e n t _ t o t a l   m e t r i c   c o n t a i n s   t h e   t o t a l   n u m b e r   o f   a u d i t   e v e n t s   e x p o r t e d . a p i s e r v e r _ a u d i t _ e r r o r _ t o t a l   m e t r i c   c o n t a i n s   t h e   t o t a l   n u m b e r   o f   e v e n t s   d r o p p e d   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/audit/",
    "id": "k8s_00620_section_2_13736"
  },
  {
    "question": "What is Log entry truncation?",
    "answer": "B o t h   l o g   a n d   w e b h o o k   b a c k e n d s   s u p p o r t   l i m i t i n g   t h e   s i z e   o f   e v e n t s   t h a t   a r e   l o g g e d .   A s   a n   e x a m p l e ,   t h e   f o l l o w i n g   i s   t h e   l i s t   o f   f l a g s   a v a i l a b l e   f o r   t h e   l o g   b a c k e n d :   a u d i t - l o g - t r u n c a t e - e n a b l e d   w h e t h e r   e v e n t   a n d   b a t c h   t r u n c a t i n g   i s   e n a b l e d . a u d i t - l o g - t r u n c a t e - m a x - b a t c h - s i z e   m a x i m u m   s i z e   i n   b y t e s   o f   t h e   b a t c h   s e n t   t o   t h e   u n d e r l y i n g   b a c k e n d . a u d i t - l o g - t r u n c a t e - m a x - e v e n t - s i z e   m a x i m u m   s i z e   i n   b y t e s   o f   t h e   a u d i t   e v e n t   s e n t   t o   t h e   u n d e r l y i n g   b a c k e n d .   B y   d e f a u l t   t r u n c a t e   i s   d i s a b l e d   i n   b o t h   w e b h o o k   a n d   l o g ,   a   c l u s t e r   a d m i n i s t r a t o r   s h o u l d   s e t   a u d i t - l o g - t r u n c a t e - e n a b l e d   o r   a u d i t - w e b h o o k - t r u n c a t e - e n a b l e d   t o   e n a b l e   t h e   f e a t u r e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/audit/",
    "id": "k8s_00620_section_3_13737"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   M u t a t i n g   w e b h o o k   a u d i t i n g   a n n o t a t i o n s . L e a r n   m o r e   a b o u t   E v e n t   a n d   t h e   P o l i c y   r e s o u r c e   t y p e s   b y   r e a d i n g   t h e   A u d i t   c o n f i g u r a t i o n   r e f e r e n c e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/audit/",
    "id": "k8s_00620_section_2_13738"
  },
  {
    "question": "What is HorizontalPodAutoscaler?",
    "answer": "HorizontalPodAutoscalerHorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.apiVersion: autoscaling/v2import \"k8s.io/api/autoscaling/v2\"HorizontalPodAutoscalerHorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.apiVersion: autoscaling/v2kind: HorizontalPodAutoscalermetadata (ObjectMeta)metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (HorizontalPodAutoscalerSpec)spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.status (HorizontalPodAutoscalerStatus)status is the current information about the autoscaler.HorizontalPodAutoscalerSpecHorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.maxReplicas (int32), requiredmaxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.scaleTargetRef (CrossVersionObjectReference), requiredscaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.CrossVersionObjectReference contains enough information to let you identify the referred resource.scaleTargetRef.kind (string), requiredkind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsscaleTargetRef.name (string), requiredname is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesscaleTargetRef.apiVersion (string)apiVersion is the API version of the referentminReplicas (int32)minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.behavior (HorizontalPodAutoscalerBehavior)behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).behavior.scaleDown (HPAScalingRules)scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_qa_13739"
  },
  {
    "question": "How does HorizontalPodAutoscaler work?",
    "answer": "HorizontalPodAutoscalerHorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.apiVersion: autoscaling/v2import \"k8s.io/api/autoscaling/v2\"HorizontalPodAutoscalerHorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.apiVersion: autoscaling/v2kind: HorizontalPodAutoscalermetadata (ObjectMeta)metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (HorizontalPodAutoscalerSpec)spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.status (HorizontalPodAutoscalerStatus)status is the current information about the autoscaler.HorizontalPodAutoscalerSpecHorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.maxReplicas (int32), requiredmaxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.scaleTargetRef (CrossVersionObjectReference), requiredscaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.CrossVersionObjectReference contains enough information to let you identify the referred resource.scaleTargetRef.kind (string), requiredkind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsscaleTargetRef.name (string), requiredname is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesscaleTargetRef.apiVersion (string)apiVersion is the API version of the referentminReplicas (int32)minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.behavior (HorizontalPodAutoscalerBehavior)behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).behavior.scaleDown (HPAScalingRules)scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_qa_13740"
  },
  {
    "question": "When would you use HorizontalPodAutoscaler?",
    "answer": "HorizontalPodAutoscalerHorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.apiVersion: autoscaling/v2import \"k8s.io/api/autoscaling/v2\"HorizontalPodAutoscalerHorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.apiVersion: autoscaling/v2kind: HorizontalPodAutoscalermetadata (ObjectMeta)metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (HorizontalPodAutoscalerSpec)spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.status (HorizontalPodAutoscalerStatus)status is the current information about the autoscaler.HorizontalPodAutoscalerSpecHorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.maxReplicas (int32), requiredmaxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.scaleTargetRef (CrossVersionObjectReference), requiredscaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.CrossVersionObjectReference contains enough information to let you identify the referred resource.scaleTargetRef.kind (string), requiredkind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsscaleTargetRef.name (string), requiredname is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesscaleTargetRef.apiVersion (string)apiVersion is the API version of the referentminReplicas (int32)minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.behavior (HorizontalPodAutoscalerBehavior)behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).behavior.scaleDown (HPAScalingRules)scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_qa_13741"
  },
  {
    "question": "What are the benefits of HorizontalPodAutoscaler?",
    "answer": "HorizontalPodAutoscalerHorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.apiVersion: autoscaling/v2import \"k8s.io/api/autoscaling/v2\"HorizontalPodAutoscalerHorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.apiVersion: autoscaling/v2kind: HorizontalPodAutoscalermetadata (ObjectMeta)metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (HorizontalPodAutoscalerSpec)spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.status (HorizontalPodAutoscalerStatus)status is the current information about the autoscaler.HorizontalPodAutoscalerSpecHorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.maxReplicas (int32), requiredmaxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.scaleTargetRef (CrossVersionObjectReference), requiredscaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.CrossVersionObjectReference contains enough information to let you identify the referred resource.scaleTargetRef.kind (string), requiredkind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsscaleTargetRef.name (string), requiredname is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesscaleTargetRef.apiVersion (string)apiVersion is the API version of the referentminReplicas (int32)minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.behavior (HorizontalPodAutoscalerBehavior)behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).behavior.scaleDown (HPAScalingRules)scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_qa_13742"
  },
  {
    "question": "What is HorizontalPodAutoscaler?",
    "answer": "a p i V e r s i o n :   a u t o s c a l i n g / v 2   i m p o r t   \" k 8 s . i o / a p i / a u t o s c a l i n g / v 2 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_1_13743"
  },
  {
    "question": "What is HorizontalPodAutoscaler?",
    "answer": "H o r i z o n t a l P o d A u t o s c a l e r   i s   t h e   c o n f i g u r a t i o n   f o r   a   h o r i z o n t a l   p o d   a u t o s c a l e r ,   w h i c h   a u t o m a t i c a l l y   m a n a g e s   t h e   r e p l i c a   c o u n t   o f   a n y   r e s o u r c e   i m p l e m e n t i n g   t h e   s c a l e   s u b r e s o u r c e   b a s e d   o n   t h e   m e t r i c s   s p e c i f i e d .   a p i V e r s i o n :   a u t o s c a l i n g / v 2 k i n d :   H o r i z o n t a l P o d A u t o s c a l e r m e t a d a t a   ( O b j e c t M e t a ) m e t a d a t a   i s   t h e   s t a n d a r d   o b j e c t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( H o r i z o n t a l P o d A u t o s c a l e r S p e c ) s p e c   i s   t h e   s p e c i f i c a t i o n   f o r   t h e   b e h a v i o u r   o f   t h e   a u t o s c a l e r .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s . s t a t u s   ( H o r i z o n t a l P o d A u t o s c a l e r S t a t u s ) s t a t u s   i s   t h e   c u r r e n t   i n f o r m a t i o n   a b o u t   t h e   a u t o s c a l e r .   a p i V e r s i o n :   a u t o s c a l i n g / v 2   k i n d :   H o r i z o n t a l P o d A u t o s c a l e r   m e t a d a t a   ( O b j e c t M e t a )   m e t a d a t a   i s   t h e   s t a n d a r d   o b j e c t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( H o r i z o n t a l P o d A u t o s c a l e r S p e c )   s p e c   i s   t h ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_2_13744"
  },
  {
    "question": "What is HorizontalPodAutoscalerSpec?",
    "answer": "H o r i z o n t a l P o d A u t o s c a l e r S p e c   d e s c r i b e s   t h e   d e s i r e d   f u n c t i o n a l i t y   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r .   m a x R e p l i c a s   ( i n t 3 2 ) ,   r e q u i r e d m a x R e p l i c a s   i s   t h e   u p p e r   l i m i t   f o r   t h e   n u m b e r   o f   r e p l i c a s   t o   w h i c h   t h e   a u t o s c a l e r   c a n   s c a l e   u p .   I t   c a n n o t   b e   l e s s   t h a t   m i n R e p l i c a s . s c a l e T a r g e t R e f   ( C r o s s V e r s i o n O b j e c t R e f e r e n c e ) ,   r e q u i r e d s c a l e T a r g e t R e f   p o i n t s   t o   t h e   t a r g e t   r e s o u r c e   t o   s c a l e ,   a n d   i s   u s e d   t o   t h e   p o d s   f o r   w h i c h   m e t r i c s   s h o u l d   b e   c o l l e c t e d ,   a s   w e l l   a s   t o   a c t u a l l y   c h a n g e   t h e   r e p l i c a   c o u n t . C r o s s V e r s i o n O b j e c t R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   i d e n t i f y   t h e   r e f e r r e d   r e s o u r c e . s c a l e T a r g e t R e f . k i n d   ( s t r i n g ) ,   r e q u i r e d k i n d   i s   t h e   k i n d   o f   t h e   r e f e r e n t ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s s c a l e T a r g e t R e f . n a m e   ( s t r i n g ) ,   r e q u i r e d n a m e   i s   t h e   n a m e   o f   t h e   r e f e r e n t ;   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s / # n a m e s s c a l e T a r g e t R e f . a p i V e r s i o n   ( s t r i n g ) a p i V e r s i o n   i s   t h e   A P I   v e r s i o n   o f   t h e   r e f e r e n t m i n R e p l i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_2_13745"
  },
  {
    "question": "What is HorizontalPodAutoscalerStatus?",
    "answer": "H o r i z o n t a l P o d A u t o s c a l e r S t a t u s   d e s c r i b e s   t h e   c u r r e n t   s t a t u s   o f   a   h o r i z o n t a l   p o d   a u t o s c a l e r .   d e s i r e d R e p l i c a s   ( i n t 3 2 ) ,   r e q u i r e d d e s i r e d R e p l i c a s   i s   t h e   d e s i r e d   n u m b e r   o f   r e p l i c a s   o f   p o d s   m a n a g e d   b y   t h i s   a u t o s c a l e r ,   a s   l a s t   c a l c u l a t e d   b y   t h e   a u t o s c a l e r . c o n d i t i o n s   ( [ ] H o r i z o n t a l P o d A u t o s c a l e r C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e c o n d i t i o n s   i s   t h e   s e t   o f   c o n d i t i o n s   r e q u i r e d   f o r   t h i s   a u t o s c a l e r   t o   s c a l e   i t s   t a r g e t ,   a n d   i n d i c a t e s   w h e t h e r   o r   n o t   t h o s e   c o n d i t i o n s   a r e   m e t . H o r i z o n t a l P o d A u t o s c a l e r C o n d i t i o n   d e s c r i b e s   t h e   s t a t e   o f   a   H o r i z o n t a l P o d A u t o s c a l e r   a t   a   c e r t a i n   p o i n t . c o n d i t i o n s . s t a t u s   ( s t r i n g ) ,   r e q u i r e d s t a t u s   i s   t h e   s t a t u s   o f   t h e   c o n d i t i o n   ( T r u e ,   F a l s e ,   U n k n o w n ) c o n d i t i o n s . t y p e   ( s t r i n g ) ,   r e q u i r e d t y p e   d e s c r i b e s   t h e   c u r r e n t   c o n d i t i o n c o n d i t i o n s . l a s t T r a n s i t i o n T i m e   ( T i m e ) l a s t T r a n s i t i o n T i m e   i s   t h e   l a s t   t i m e   t h e   c o n d i t i o n   t r a n s i t i o n e d   f r o m   o n e   s t a t u s   t o   a n o t h e r T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_2_13746"
  },
  {
    "question": "What is HorizontalPodAutoscalerList?",
    "answer": "H o r i z o n t a l P o d A u t o s c a l e r L i s t   i s   a   l i s t   o f   h o r i z o n t a l   p o d   a u t o s c a l e r   o b j e c t s .   a p i V e r s i o n :   a u t o s c a l i n g / v 2 k i n d :   H o r i z o n t a l P o d A u t o s c a l e r L i s t m e t a d a t a   ( L i s t M e t a ) m e t a d a t a   i s   t h e   s t a n d a r d   l i s t   m e t a d a t a . i t e m s   ( [ ] H o r i z o n t a l P o d A u t o s c a l e r ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   h o r i z o n t a l   p o d   a u t o s c a l e r   o b j e c t s .   a p i V e r s i o n :   a u t o s c a l i n g / v 2   k i n d :   H o r i z o n t a l P o d A u t o s c a l e r L i s t   m e t a d a t a   ( L i s t M e t a )   m e t a d a t a   i s   t h e   s t a n d a r d   l i s t   m e t a d a t a .   i t e m s   ( [ ] H o r i z o n t a l P o d A u t o s c a l e r ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   h o r i z o n t a l   p o d   a u t o s c a l e r   o b j e c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_2_13747"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13748"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13749"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13750"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13751"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13752"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13753"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13754"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13755"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13756"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 2 / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13757"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13758"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13759"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13760"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13761"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   2 0 2   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13762"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13763"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13764"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13765"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13766"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13767"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13768"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13769"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13770"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13771"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13772"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13773"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13774"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13775"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13776"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13777"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13778"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13779"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v2/",
    "id": "k8s_00621_section_4_13780"
  },
  {
    "question": "What is kubectl apply?",
    "answer": "kubectl applySynopsisApply a configuration to a resource by file name or stdin. The resource name must be specified. This resource will be created if it doesn't exist yet. To use 'apply', always create the resource initially with either 'apply' or 'create --save-config'.JSON and YAML formats are accepted.Alpha Disclaimer: the --prune functionality is not yet complete. Do not use unless you are aware of what the current state is. See https://issues.k8s.io/34274.kubectl apply (-f FILENAME | -k DIRECTORY) Examples # Apply the configuration in pod.json to a pod kubectl apply -f ./pod.json # Apply resources from a directory containing kustomization.yaml - e.g. dir/kustomization.yaml kubectl apply -k dir/ # Apply the JSON passed into stdin to a pod cat pod.json | kubectl apply -f - # Apply the configuration from all files that end with '.json' kubectl apply -f '*.json' # Note: --prune is still in Alpha # Apply the configuration in manifest.yaml that matches label app=nginx and delete all other resources that are not in the file and match label app=nginx kubectl apply --prune -f manifest.yaml -l app=nginx # Apply the configuration in manifest.yaml and delete all the other config maps that are not in the file kubectl apply --prune -f manifest.yaml --all --prune-allowlist=core/v1/ConfigMap Options--allSelect all resources in the namespace of the specified resource types.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--cascade string[=\"background\"] Default: \"background\"Must be \"background\", \"orphan\", or \"foreground\". Selects the deletion cascading strategy for the dependents (e.g. Pods created by a ReplicationController). Defaults to background.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-client-side-apply\"Name of the manager used to track field ownership.-f, --filename stringsThe files that contain the configurations to apply.--forceIf true, immediately remove resources from API and bypass graceful deletion. Note that immediate deletion of some resources may result in inconsistency or data loss and requires confirmation.--force-conflictsIf true, server-side apply will force the changes against conflicts.--grace-period int Default: -1Period of time in seconds given to the resource to terminate gracefully. Ignored if negative. Set to 1 for immediate shutdown. Can only be set to 0 when --force is true (force deletion).-h, --helphelp for apply-k, --kustomize stringProcess a kustomization directory. This flag can't be used together with -f or -R.--openapi-patch Default: trueIf true, use openapi to calculate diff when the openapi presents and the resource can be found in the openapi spec",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/",
    "id": "k8s_00622_qa_13781"
  },
  {
    "question": "How does kubectl apply work?",
    "answer": "kubectl applySynopsisApply a configuration to a resource by file name or stdin. The resource name must be specified. This resource will be created if it doesn't exist yet. To use 'apply', always create the resource initially with either 'apply' or 'create --save-config'.JSON and YAML formats are accepted.Alpha Disclaimer: the --prune functionality is not yet complete. Do not use unless you are aware of what the current state is. See https://issues.k8s.io/34274.kubectl apply (-f FILENAME | -k DIRECTORY) Examples # Apply the configuration in pod.json to a pod kubectl apply -f ./pod.json # Apply resources from a directory containing kustomization.yaml - e.g. dir/kustomization.yaml kubectl apply -k dir/ # Apply the JSON passed into stdin to a pod cat pod.json | kubectl apply -f - # Apply the configuration from all files that end with '.json' kubectl apply -f '*.json' # Note: --prune is still in Alpha # Apply the configuration in manifest.yaml that matches label app=nginx and delete all other resources that are not in the file and match label app=nginx kubectl apply --prune -f manifest.yaml -l app=nginx # Apply the configuration in manifest.yaml and delete all the other config maps that are not in the file kubectl apply --prune -f manifest.yaml --all --prune-allowlist=core/v1/ConfigMap Options--allSelect all resources in the namespace of the specified resource types.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--cascade string[=\"background\"] Default: \"background\"Must be \"background\", \"orphan\", or \"foreground\". Selects the deletion cascading strategy for the dependents (e.g. Pods created by a ReplicationController). Defaults to background.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-client-side-apply\"Name of the manager used to track field ownership.-f, --filename stringsThe files that contain the configurations to apply.--forceIf true, immediately remove resources from API and bypass graceful deletion. Note that immediate deletion of some resources may result in inconsistency or data loss and requires confirmation.--force-conflictsIf true, server-side apply will force the changes against conflicts.--grace-period int Default: -1Period of time in seconds given to the resource to terminate gracefully. Ignored if negative. Set to 1 for immediate shutdown. Can only be set to 0 when --force is true (force deletion).-h, --helphelp for apply-k, --kustomize stringProcess a kustomization directory. This flag can't be used together with -f or -R.--openapi-patch Default: trueIf true, use openapi to calculate diff when the openapi presents and the resource can be found in the openapi spec",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/",
    "id": "k8s_00622_qa_13782"
  },
  {
    "question": "When would you use kubectl apply?",
    "answer": "kubectl applySynopsisApply a configuration to a resource by file name or stdin. The resource name must be specified. This resource will be created if it doesn't exist yet. To use 'apply', always create the resource initially with either 'apply' or 'create --save-config'.JSON and YAML formats are accepted.Alpha Disclaimer: the --prune functionality is not yet complete. Do not use unless you are aware of what the current state is. See https://issues.k8s.io/34274.kubectl apply (-f FILENAME | -k DIRECTORY) Examples # Apply the configuration in pod.json to a pod kubectl apply -f ./pod.json # Apply resources from a directory containing kustomization.yaml - e.g. dir/kustomization.yaml kubectl apply -k dir/ # Apply the JSON passed into stdin to a pod cat pod.json | kubectl apply -f - # Apply the configuration from all files that end with '.json' kubectl apply -f '*.json' # Note: --prune is still in Alpha # Apply the configuration in manifest.yaml that matches label app=nginx and delete all other resources that are not in the file and match label app=nginx kubectl apply --prune -f manifest.yaml -l app=nginx # Apply the configuration in manifest.yaml and delete all the other config maps that are not in the file kubectl apply --prune -f manifest.yaml --all --prune-allowlist=core/v1/ConfigMap Options--allSelect all resources in the namespace of the specified resource types.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--cascade string[=\"background\"] Default: \"background\"Must be \"background\", \"orphan\", or \"foreground\". Selects the deletion cascading strategy for the dependents (e.g. Pods created by a ReplicationController). Defaults to background.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-client-side-apply\"Name of the manager used to track field ownership.-f, --filename stringsThe files that contain the configurations to apply.--forceIf true, immediately remove resources from API and bypass graceful deletion. Note that immediate deletion of some resources may result in inconsistency or data loss and requires confirmation.--force-conflictsIf true, server-side apply will force the changes against conflicts.--grace-period int Default: -1Period of time in seconds given to the resource to terminate gracefully. Ignored if negative. Set to 1 for immediate shutdown. Can only be set to 0 when --force is true (force deletion).-h, --helphelp for apply-k, --kustomize stringProcess a kustomization directory. This flag can't be used together with -f or -R.--openapi-patch Default: trueIf true, use openapi to calculate diff when the openapi presents and the resource can be found in the openapi spec",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/",
    "id": "k8s_00622_qa_13783"
  },
  {
    "question": "What are the benefits of kubectl apply?",
    "answer": "kubectl applySynopsisApply a configuration to a resource by file name or stdin. The resource name must be specified. This resource will be created if it doesn't exist yet. To use 'apply', always create the resource initially with either 'apply' or 'create --save-config'.JSON and YAML formats are accepted.Alpha Disclaimer: the --prune functionality is not yet complete. Do not use unless you are aware of what the current state is. See https://issues.k8s.io/34274.kubectl apply (-f FILENAME | -k DIRECTORY) Examples # Apply the configuration in pod.json to a pod kubectl apply -f ./pod.json # Apply resources from a directory containing kustomization.yaml - e.g. dir/kustomization.yaml kubectl apply -k dir/ # Apply the JSON passed into stdin to a pod cat pod.json | kubectl apply -f - # Apply the configuration from all files that end with '.json' kubectl apply -f '*.json' # Note: --prune is still in Alpha # Apply the configuration in manifest.yaml that matches label app=nginx and delete all other resources that are not in the file and match label app=nginx kubectl apply --prune -f manifest.yaml -l app=nginx # Apply the configuration in manifest.yaml and delete all the other config maps that are not in the file kubectl apply --prune -f manifest.yaml --all --prune-allowlist=core/v1/ConfigMap Options--allSelect all resources in the namespace of the specified resource types.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--cascade string[=\"background\"] Default: \"background\"Must be \"background\", \"orphan\", or \"foreground\". Selects the deletion cascading strategy for the dependents (e.g. Pods created by a ReplicationController). Defaults to background.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-client-side-apply\"Name of the manager used to track field ownership.-f, --filename stringsThe files that contain the configurations to apply.--forceIf true, immediately remove resources from API and bypass graceful deletion. Note that immediate deletion of some resources may result in inconsistency or data loss and requires confirmation.--force-conflictsIf true, server-side apply will force the changes against conflicts.--grace-period int Default: -1Period of time in seconds given to the resource to terminate gracefully. Ignored if negative. Set to 1 for immediate shutdown. Can only be set to 0 when --force is true (force deletion).-h, --helphelp for apply-k, --kustomize stringProcess a kustomization directory. This flag can't be used together with -f or -R.--openapi-patch Default: trueIf true, use openapi to calculate diff when the openapi presents and the resource can be found in the openapi spec",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/",
    "id": "k8s_00622_qa_13784"
  },
  {
    "question": "What is Synopsis?",
    "answer": "A p p l y   a   c o n f i g u r a t i o n   t o   a   r e s o u r c e   b y   f i l e   n a m e   o r   s t d i n .   T h e   r e s o u r c e   n a m e   m u s t   b e   s p e c i f i e d .   T h i s   r e s o u r c e   w i l l   b e   c r e a t e d   i f   i t   d o e s n ' t   e x i s t   y e t .   T o   u s e   ' a p p l y ' ,   a l w a y s   c r e a t e   t h e   r e s o u r c e   i n i t i a l l y   w i t h   e i t h e r   ' a p p l y '   o r   ' c r e a t e   - - s a v e - c o n f i g ' .   J S O N   a n d   Y A M L   f o r m a t s   a r e   a c c e p t e d .   A l p h a   D i s c l a i m e r :   t h e   - - p r u n e   f u n c t i o n a l i t y   i s   n o t   y e t   c o m p l e t e .   D o   n o t   u s e   u n l e s s   y o u   a r e   a w a r e   o f   w h a t   t h e   c u r r e n t   s t a t e   i s .   S e e   h t t p s : / / i s s u e s . k 8 s . i o / 3 4 2 7 4 .   k u b e c t l   a p p l y   ( - f   F I L E N A M E   |   - k   D I R E C T O R Y )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/",
    "id": "k8s_00622_section_2_13785"
  },
  {
    "question": "What is Examples?",
    "answer": "#   A p p l y   t h e   c o n f i g u r a t i o n   i n   p o d . j s o n   t o   a   p o d   k u b e c t l   a p p l y   - f   . / p o d . j s o n   #   A p p l y   r e s o u r c e s   f r o m   a   d i r e c t o r y   c o n t a i n i n g   k u s t o m i z a t i o n . y a m l   -   e . g .   d i r / k u s t o m i z a t i o n . y a m l   k u b e c t l   a p p l y   - k   d i r /   #   A p p l y   t h e   J S O N   p a s s e d   i n t o   s t d i n   t o   a   p o d   c a t   p o d . j s o n   |   k u b e c t l   a p p l y   - f   -   #   A p p l y   t h e   c o n f i g u r a t i o n   f r o m   a l l   f i l e s   t h a t   e n d   w i t h   ' . j s o n '   k u b e c t l   a p p l y   - f   ' * . j s o n '   #   N o t e :   - - p r u n e   i s   s t i l l   i n   A l p h a   #   A p p l y   t h e   c o n f i g u r a t i o n   i n   m a n i f e s t . y a m l   t h a t   m a t c h e s   l a b e l   a p p = n g i n x   a n d   d e l e t e   a l l   o t h e r   r e s o u r c e s   t h a t   a r e   n o t   i n   t h e   f i l e   a n d   m a t c h   l a b e l   a p p = n g i n x   k u b e c t l   a p p l y   - - p r u n e   - f   m a n i f e s t . y a m l   - l   a p p = n g i n x   #   A p p l y   t h e   c o n f i g u r a t i o n   i n   m a n i f e s t . y a m l   a n d   d e l e t e   a l l   t h e   o t h e r   c o n f i g   m a p s   t h a t   a r e   n o t   i n   t h e   f i l e   k u b e c t l   a p p l y   - - p r u n e   - f   m a n i f e s t . y a m l   - - a l l   - - p r u n e - a l l o w l i s t = c o r e / v 1 / C o n f i g M a p",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/",
    "id": "k8s_00622_section_2_13786"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" b a c k g r o u n d \" ,   \" o r p h a n \" ,   o r   \" f o r e g r o u n d \" .   S e l e c t s   t h e   d e l e t i o n   c a s c a d i n g   s t r a t e g y   f o r   t h e   d e p e n d e n t s   ( e . g .   P o d s   c r e a t e d   b y   a   R e p l i c a t i o n C o n t r o l l e r ) .   D e f a u l t s   t o   b a c k g r o u n d .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   T h e   f i l e s   t h a t   c o n t a i n   t h e   c o n f i g u r a t i o n s   t o   a p p l y .   I f   t r u e ,   i m m e d i a t e l y   r e m o v e   r e s o u r c e s   f r o m   A P I   a n d   b y p a s s   g r a c e f u l   d e l e t i o n .   N o t e   t h a t   i m m e d i a t e   d e l e t i o n   o f   s o m e   r e s o u r c e s   m a y   r e s u l t   i n   i n c o n s i s t e n c y   o r   d a t a   l o s s   a n d   r e q u i r e s   c o n f i r m a t i o n .   I f   t r u e ,   s e r v e r - s i d e   a p p l y   w i l l   f o r c e   t h e   c h a n g e s   a g a i n s t   c o n f l i c t s .   P e r i o d   o f   t i m e   i n   s e c o n d s   g i v e n   t o   t h e   r ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/",
    "id": "k8s_00622_section_2_13787"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/",
    "id": "k8s_00622_section_2_13788"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   a p p l y   e d i t - l a s t - a p p l i e d   -   E d i t   l a t e s t   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   o f   a   r e s o u r c e / o b j e c t k u b e c t l   a p p l y   s e t - l a s t - a p p l i e d   -   S e t   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   o n   a   l i v e   o b j e c t   t o   m a t c h   t h e   c o n t e n t s   o f   a   f i l e k u b e c t l   a p p l y   v i e w - l a s t - a p p l i e d   -   V i e w   t h e   l a t e s t   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   o f   a   r e s o u r c e / o b j e c t   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/",
    "id": "k8s_00622_section_2_13789"
  },
  {
    "question": "What is Resource Bin Packing?",
    "answer": "Resource Bin PackingIn the scheduling-plugin NodeResourcesFit of kube-scheduler, there are two scoring strategies that support the bin packing of resources: MostAllocated and RequestedToCapacityRatio.Enabling bin packing using MostAllocated strategyThe MostAllocated strategy scores the nodes based on the utilization of resources, favoring the ones with higher allocation. For each resource type, you can set a weight to modify its influence in the node score.To set the MostAllocated strategy for the NodeResourcesFit plugin, use a scheduler configuration similar to the following:apiVersion: kubescheduler.config.k8s.io/v1 kind: KubeSchedulerConfiguration profiles: - pluginConfig: - args: scoringStrategy: resources: - name: cpu weight: 1 - name: memory weight: 1 - name: intel.com/foo weight: 3 - name: intel.com/bar weight: 3 type: MostAllocated name: NodeResourcesFit To learn more about other parameters and their default configuration, see the API documentation for NodeResourcesFitArgs.Enabling bin packing using RequestedToCapacityRatioThe RequestedToCapacityRatio strategy allows the users to specify the resources along with weights for each resource to score nodes based on the request to capacity ratio. This allows users to bin pack extended resources by using appropriate parameters to improve the utilization of scarce resources in large clusters. It favors nodes according to a configured function of the allocated resources. The behavior of the RequestedToCapacityRatio in the NodeResourcesFit score function can be controlled by the scoringStrategy field. Within the scoringStrategy field, you can configure two parameters: requestedToCapacityRatio and resources. The shape in the requestedToCapacityRatio parameter allows the user to tune the function as least requested or most requested based on utilization and score values. The resources parameter comprises both the name of the resource to be considered during scoring and its corresponding weight, which specifies the weight of each resource.Below is an example configuration that sets the bin packing behavior for extended resources intel.com/foo and intel.com/bar using the requestedToCapacityRatio field.apiVersion: kubescheduler.config.k8s.io/v1 kind: KubeSchedulerConfiguration profiles: - pluginConfig: - args: scoringStrategy: resources: - name: intel.com/foo weight: 3 - name: intel.com/bar weight: 3 requestedToCapacityRatio: shape: - utilization: 0 score: 0 - utilization: 100 score: 10 type: RequestedToCapacityRatio name: NodeResourcesFit Referencing the KubeSchedulerConfiguration file with the kube-scheduler flag --config=/path/to/config/file will pass the configuration to the scheduler.To learn more about other parameters and their default configuration, see the API documentation for NodeResourcesFitArgs.Tuning the score functionshape is used to specify the behavior of the RequestedToCapacityRatio function.shape: - utilization: 0 score: 0 - utilization: 100 score: 10 The above arguments give the nod",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/resource-bin-packing/",
    "id": "k8s_00623_qa_13790"
  },
  {
    "question": "How does Resource Bin Packing work?",
    "answer": "Resource Bin PackingIn the scheduling-plugin NodeResourcesFit of kube-scheduler, there are two scoring strategies that support the bin packing of resources: MostAllocated and RequestedToCapacityRatio.Enabling bin packing using MostAllocated strategyThe MostAllocated strategy scores the nodes based on the utilization of resources, favoring the ones with higher allocation. For each resource type, you can set a weight to modify its influence in the node score.To set the MostAllocated strategy for the NodeResourcesFit plugin, use a scheduler configuration similar to the following:apiVersion: kubescheduler.config.k8s.io/v1 kind: KubeSchedulerConfiguration profiles: - pluginConfig: - args: scoringStrategy: resources: - name: cpu weight: 1 - name: memory weight: 1 - name: intel.com/foo weight: 3 - name: intel.com/bar weight: 3 type: MostAllocated name: NodeResourcesFit To learn more about other parameters and their default configuration, see the API documentation for NodeResourcesFitArgs.Enabling bin packing using RequestedToCapacityRatioThe RequestedToCapacityRatio strategy allows the users to specify the resources along with weights for each resource to score nodes based on the request to capacity ratio. This allows users to bin pack extended resources by using appropriate parameters to improve the utilization of scarce resources in large clusters. It favors nodes according to a configured function of the allocated resources. The behavior of the RequestedToCapacityRatio in the NodeResourcesFit score function can be controlled by the scoringStrategy field. Within the scoringStrategy field, you can configure two parameters: requestedToCapacityRatio and resources. The shape in the requestedToCapacityRatio parameter allows the user to tune the function as least requested or most requested based on utilization and score values. The resources parameter comprises both the name of the resource to be considered during scoring and its corresponding weight, which specifies the weight of each resource.Below is an example configuration that sets the bin packing behavior for extended resources intel.com/foo and intel.com/bar using the requestedToCapacityRatio field.apiVersion: kubescheduler.config.k8s.io/v1 kind: KubeSchedulerConfiguration profiles: - pluginConfig: - args: scoringStrategy: resources: - name: intel.com/foo weight: 3 - name: intel.com/bar weight: 3 requestedToCapacityRatio: shape: - utilization: 0 score: 0 - utilization: 100 score: 10 type: RequestedToCapacityRatio name: NodeResourcesFit Referencing the KubeSchedulerConfiguration file with the kube-scheduler flag --config=/path/to/config/file will pass the configuration to the scheduler.To learn more about other parameters and their default configuration, see the API documentation for NodeResourcesFitArgs.Tuning the score functionshape is used to specify the behavior of the RequestedToCapacityRatio function.shape: - utilization: 0 score: 0 - utilization: 100 score: 10 The above arguments give the nod",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/resource-bin-packing/",
    "id": "k8s_00623_qa_13791"
  },
  {
    "question": "When would you use Resource Bin Packing?",
    "answer": "Resource Bin PackingIn the scheduling-plugin NodeResourcesFit of kube-scheduler, there are two scoring strategies that support the bin packing of resources: MostAllocated and RequestedToCapacityRatio.Enabling bin packing using MostAllocated strategyThe MostAllocated strategy scores the nodes based on the utilization of resources, favoring the ones with higher allocation. For each resource type, you can set a weight to modify its influence in the node score.To set the MostAllocated strategy for the NodeResourcesFit plugin, use a scheduler configuration similar to the following:apiVersion: kubescheduler.config.k8s.io/v1 kind: KubeSchedulerConfiguration profiles: - pluginConfig: - args: scoringStrategy: resources: - name: cpu weight: 1 - name: memory weight: 1 - name: intel.com/foo weight: 3 - name: intel.com/bar weight: 3 type: MostAllocated name: NodeResourcesFit To learn more about other parameters and their default configuration, see the API documentation for NodeResourcesFitArgs.Enabling bin packing using RequestedToCapacityRatioThe RequestedToCapacityRatio strategy allows the users to specify the resources along with weights for each resource to score nodes based on the request to capacity ratio. This allows users to bin pack extended resources by using appropriate parameters to improve the utilization of scarce resources in large clusters. It favors nodes according to a configured function of the allocated resources. The behavior of the RequestedToCapacityRatio in the NodeResourcesFit score function can be controlled by the scoringStrategy field. Within the scoringStrategy field, you can configure two parameters: requestedToCapacityRatio and resources. The shape in the requestedToCapacityRatio parameter allows the user to tune the function as least requested or most requested based on utilization and score values. The resources parameter comprises both the name of the resource to be considered during scoring and its corresponding weight, which specifies the weight of each resource.Below is an example configuration that sets the bin packing behavior for extended resources intel.com/foo and intel.com/bar using the requestedToCapacityRatio field.apiVersion: kubescheduler.config.k8s.io/v1 kind: KubeSchedulerConfiguration profiles: - pluginConfig: - args: scoringStrategy: resources: - name: intel.com/foo weight: 3 - name: intel.com/bar weight: 3 requestedToCapacityRatio: shape: - utilization: 0 score: 0 - utilization: 100 score: 10 type: RequestedToCapacityRatio name: NodeResourcesFit Referencing the KubeSchedulerConfiguration file with the kube-scheduler flag --config=/path/to/config/file will pass the configuration to the scheduler.To learn more about other parameters and their default configuration, see the API documentation for NodeResourcesFitArgs.Tuning the score functionshape is used to specify the behavior of the RequestedToCapacityRatio function.shape: - utilization: 0 score: 0 - utilization: 100 score: 10 The above arguments give the nod",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/resource-bin-packing/",
    "id": "k8s_00623_qa_13792"
  },
  {
    "question": "What are the benefits of Resource Bin Packing?",
    "answer": "Resource Bin PackingIn the scheduling-plugin NodeResourcesFit of kube-scheduler, there are two scoring strategies that support the bin packing of resources: MostAllocated and RequestedToCapacityRatio.Enabling bin packing using MostAllocated strategyThe MostAllocated strategy scores the nodes based on the utilization of resources, favoring the ones with higher allocation. For each resource type, you can set a weight to modify its influence in the node score.To set the MostAllocated strategy for the NodeResourcesFit plugin, use a scheduler configuration similar to the following:apiVersion: kubescheduler.config.k8s.io/v1 kind: KubeSchedulerConfiguration profiles: - pluginConfig: - args: scoringStrategy: resources: - name: cpu weight: 1 - name: memory weight: 1 - name: intel.com/foo weight: 3 - name: intel.com/bar weight: 3 type: MostAllocated name: NodeResourcesFit To learn more about other parameters and their default configuration, see the API documentation for NodeResourcesFitArgs.Enabling bin packing using RequestedToCapacityRatioThe RequestedToCapacityRatio strategy allows the users to specify the resources along with weights for each resource to score nodes based on the request to capacity ratio. This allows users to bin pack extended resources by using appropriate parameters to improve the utilization of scarce resources in large clusters. It favors nodes according to a configured function of the allocated resources. The behavior of the RequestedToCapacityRatio in the NodeResourcesFit score function can be controlled by the scoringStrategy field. Within the scoringStrategy field, you can configure two parameters: requestedToCapacityRatio and resources. The shape in the requestedToCapacityRatio parameter allows the user to tune the function as least requested or most requested based on utilization and score values. The resources parameter comprises both the name of the resource to be considered during scoring and its corresponding weight, which specifies the weight of each resource.Below is an example configuration that sets the bin packing behavior for extended resources intel.com/foo and intel.com/bar using the requestedToCapacityRatio field.apiVersion: kubescheduler.config.k8s.io/v1 kind: KubeSchedulerConfiguration profiles: - pluginConfig: - args: scoringStrategy: resources: - name: intel.com/foo weight: 3 - name: intel.com/bar weight: 3 requestedToCapacityRatio: shape: - utilization: 0 score: 0 - utilization: 100 score: 10 type: RequestedToCapacityRatio name: NodeResourcesFit Referencing the KubeSchedulerConfiguration file with the kube-scheduler flag --config=/path/to/config/file will pass the configuration to the scheduler.To learn more about other parameters and their default configuration, see the API documentation for NodeResourcesFitArgs.Tuning the score functionshape is used to specify the behavior of the RequestedToCapacityRatio function.shape: - utilization: 0 score: 0 - utilization: 100 score: 10 The above arguments give the nod",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/resource-bin-packing/",
    "id": "k8s_00623_qa_13793"
  },
  {
    "question": "What is Resource Bin Packing?",
    "answer": "I n   t h e   s c h e d u l i n g - p l u g i n   N o d e R e s o u r c e s F i t   o f   k u b e - s c h e d u l e r ,   t h e r e   a r e   t w o   s c o r i n g   s t r a t e g i e s   t h a t   s u p p o r t   t h e   b i n   p a c k i n g   o f   r e s o u r c e s :   M o s t A l l o c a t e d   a n d   R e q u e s t e d T o C a p a c i t y R a t i o .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/resource-bin-packing/",
    "id": "k8s_00623_section_1_13794"
  },
  {
    "question": "What is Enabling bin packing using MostAllocated strategy?",
    "answer": "T h e   M o s t A l l o c a t e d   s t r a t e g y   s c o r e s   t h e   n o d e s   b a s e d   o n   t h e   u t i l i z a t i o n   o f   r e s o u r c e s ,   f a v o r i n g   t h e   o n e s   w i t h   h i g h e r   a l l o c a t i o n .   F o r   e a c h   r e s o u r c e   t y p e ,   y o u   c a n   s e t   a   w e i g h t   t o   m o d i f y   i t s   i n f l u e n c e   i n   t h e   n o d e   s c o r e .   T o   s e t   t h e   M o s t A l l o c a t e d   s t r a t e g y   f o r   t h e   N o d e R e s o u r c e s F i t   p l u g i n ,   u s e   a   s c h e d u l e r   c o n f i g u r a t i o n   s i m i l a r   t o   t h e   f o l l o w i n g :   a p i V e r s i o n :   k u b e s c h e d u l e r . c o n f i g . k 8 s . i o / v 1   k i n d :   K u b e S c h e d u l e r C o n f i g u r a t i o n   p r o f i l e s :   -   p l u g i n C o n f i g :   -   a r g s :   s c o r i n g S t r a t e g y :   r e s o u r c e s :   -   n a m e :   c p u   w e i g h t :   1   -   n a m e :   m e m o r y   w e i g h t :   1   -   n a m e :   i n t e l . c o m / f o o   w e i g h t :   3   -   n a m e :   i n t e l . c o m / b a r   w e i g h t :   3   t y p e :   M o s t A l l o c a t e d   n a m e :   N o d e R e s o u r c e s F i t   T o   l e a r n   m o r e   a b o u t   o t h e r   p a r a m e t e r s   a n d   t h e i r   d e f a u l t   c o n f i g u r a t i o n ,   s e e   t h e   A P I   d o c u m e n t a t i o n   f o r   N o d e R e s o u r c e s F i t A r g s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/resource-bin-packing/",
    "id": "k8s_00623_section_2_13795"
  },
  {
    "question": "What is Enabling bin packing using RequestedToCapacityRatio?",
    "answer": "T h e   R e q u e s t e d T o C a p a c i t y R a t i o   s t r a t e g y   a l l o w s   t h e   u s e r s   t o   s p e c i f y   t h e   r e s o u r c e s   a l o n g   w i t h   w e i g h t s   f o r   e a c h   r e s o u r c e   t o   s c o r e   n o d e s   b a s e d   o n   t h e   r e q u e s t   t o   c a p a c i t y   r a t i o .   T h i s   a l l o w s   u s e r s   t o   b i n   p a c k   e x t e n d e d   r e s o u r c e s   b y   u s i n g   a p p r o p r i a t e   p a r a m e t e r s   t o   i m p r o v e   t h e   u t i l i z a t i o n   o f   s c a r c e   r e s o u r c e s   i n   l a r g e   c l u s t e r s .   I t   f a v o r s   n o d e s   a c c o r d i n g   t o   a   c o n f i g u r e d   f u n c t i o n   o f   t h e   a l l o c a t e d   r e s o u r c e s .   T h e   b e h a v i o r   o f   t h e   R e q u e s t e d T o C a p a c i t y R a t i o   i n   t h e   N o d e R e s o u r c e s F i t   s c o r e   f u n c t i o n   c a n   b e   c o n t r o l l e d   b y   t h e   s c o r i n g S t r a t e g y   f i e l d .   W i t h i n   t h e   s c o r i n g S t r a t e g y   f i e l d ,   y o u   c a n   c o n f i g u r e   t w o   p a r a m e t e r s :   r e q u e s t e d T o C a p a c i t y R a t i o   a n d   r e s o u r c e s .   T h e   s h a p e   i n   t h e   r e q u e s t e d T o C a p a c i t y R a t i o   p a r a m e t e r   a l l o w s   t h e   u s e r   t o   t u n e   t h e   f u n c t i o n   a s   l e a s t   r e q u e s t e d   o r   m o s t   r e q u e s t e d   b a s e d   o n   u t i l i z a t i o n   a n d   s c o r e   v a l u e s .   T h e   r e s o u r c e s   p a r a m e t e r   c o m p r i s e s   b o t h   t h e   n a m e   o f   t h e   r e s o u r c e   t o   b e   c o n s i d e r e d   d u r i n g   s c o r i n g   a n d   i t s   c o r r e s p o n d i n g   w e i g h t ,   w h i c h   s p e c i f i e s   t h e   w e i g h t   o f   e a c h   r e s o u r c e .   B e l o w   i s   a n   e x a m p l e   c o n f i g ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/resource-bin-packing/",
    "id": "k8s_00623_section_2_13796"
  },
  {
    "question": "What is Tuning the score function?",
    "answer": "s h a p e   i s   u s e d   t o   s p e c i f y   t h e   b e h a v i o r   o f   t h e   R e q u e s t e d T o C a p a c i t y R a t i o   f u n c t i o n .   s h a p e :   -   u t i l i z a t i o n :   0   s c o r e :   0   -   u t i l i z a t i o n :   1 0 0   s c o r e :   1 0   T h e   a b o v e   a r g u m e n t s   g i v e   t h e   n o d e   a   s c o r e   o f   0   i f   u t i l i z a t i o n   i s   0 %   a n d   1 0   f o r   u t i l i z a t i o n   1 0 0 % ,   t h u s   e n a b l i n g   b i n   p a c k i n g   b e h a v i o r .   T o   e n a b l e   l e a s t   r e q u e s t e d   t h e   s c o r e   v a l u e   m u s t   b e   r e v e r s e d   a s   f o l l o w s .   s h a p e :   -   u t i l i z a t i o n :   0   s c o r e :   1 0   -   u t i l i z a t i o n :   1 0 0   s c o r e :   0   r e s o u r c e s   i s   a n   o p t i o n a l   p a r a m e t e r   w h i c h   d e f a u l t s   t o :   r e s o u r c e s :   -   n a m e :   c p u   w e i g h t :   1   -   n a m e :   m e m o r y   w e i g h t :   1   I t   c a n   b e   u s e d   t o   a d d   e x t e n d e d   r e s o u r c e s   a s   f o l l o w s :   r e s o u r c e s :   -   n a m e :   i n t e l . c o m / f o o   w e i g h t :   5   -   n a m e :   c p u   w e i g h t :   3   -   n a m e :   m e m o r y   w e i g h t :   1   T h e   w e i g h t   p a r a m e t e r   i s   o p t i o n a l   a n d   i s   s e t   t o   1   i f   n o t   s p e c i f i e d .   A l s o ,   t h e   w e i g h t   c a n n o t   b e   s e t   t o   a   n e g a t i v e   v a l u e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/resource-bin-packing/",
    "id": "k8s_00623_section_3_13797"
  },
  {
    "question": "What is Node scoring for capacity allocation?",
    "answer": "T h i s   s e c t i o n   i s   i n t e n d e d   f o r   t h o s e   w h o   w a n t   t o   u n d e r s t a n d   t h e   i n t e r n a l   d e t a i l s   o f   t h i s   f e a t u r e .   B e l o w   i s   a n   e x a m p l e   o f   h o w   t h e   n o d e   s c o r e   i s   c a l c u l a t e d   f o r   a   g i v e n   s e t   o f   v a l u e s .   R e q u e s t e d   r e s o u r c e s :   i n t e l . c o m / f o o   :   2   m e m o r y :   2 5 6 M B   c p u :   2   R e s o u r c e   w e i g h t s :   i n t e l . c o m / f o o   :   5   m e m o r y :   1   c p u :   3   F u n c t i o n S h a p e P o i n t   { { 0 ,   0 } ,   { 1 0 0 ,   1 0 } }   N o d e   1   s p e c :   A v a i l a b l e :   i n t e l . c o m / f o o :   4   m e m o r y :   1   G B   c p u :   8   U s e d :   i n t e l . c o m / f o o :   1   m e m o r y :   2 5 6 M B   c p u :   1   N o d e   s c o r e :   i n t e l . c o m / f o o   =   r e s o u r c e S c o r i n g F u n c t i o n ( ( 2 + 1 ) , 4 )   =   ( 1 0 0   -   ( ( 4 - 3 ) * 1 0 0 / 4 )   =   ( 1 0 0   -   2 5 )   =   7 5   #   r e q u e s t e d   +   u s e d   =   7 5 %   *   a v a i l a b l e   =   r a w S c o r i n g F u n c t i o n ( 7 5 )   =   7   #   f l o o r ( 7 5 / 1 0 )   m e m o r y   =   r e s o u r c e S c o r i n g F u n c t i o n ( ( 2 5 6 + 2 5 6 ) , 1 0 2 4 )   =   ( 1 0 0   - ( ( 1 0 2 4 - 5 1 2 ) * 1 0 0 / 1 0 2 4 ) )   =   5 0   #   r e q u e s t e d   +   u s e d   =   5 0 %   *   a v a i l a b l e   =   r a w S c o r i n g F u n c t i o n ( 5 0 )   =   5   #   f l o o r ( 5 0 / 1 0 )   c p u   =   r e s o u r c e S c o r i n g F u n c t i o n ( ( 2 + 1 ) , 8 )   =   ( 1 0 0   - ( ( 8 - 3 ) * 1 0 0 / 8 ) )   =   3 7 . 5   #   r e q u e s t e d   +   u s e d   =   3 7 . 5 %   *   a v a i l a b l e   =   r a w S c o r i n g F u n c t i o n ( 3 7 . 5 )   =   3   #   f l o o r ( 3 7 . 5 / 1 0 )   N o d e S c o r e   =   ( ( 7   *   5 )   +   ( 5   *   1 )   +   ( 3   *   3 ) )   /   ( 5   +   1   +   3 )   =   5 ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/resource-bin-packing/",
    "id": "k8s_00623_section_3_13798"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   m o r e   a b o u t   t h e   s c h e d u l i n g   f r a m e w o r k R e a d   m o r e   a b o u t   s c h e d u l e r   c o n f i g u r a t i o n",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/resource-bin-packing/",
    "id": "k8s_00623_section_2_13799"
  },
  {
    "question": "What is Debug a StatefulSet?",
    "answer": "Debug a StatefulSetThis task shows you how to debug a StatefulSet.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster.You should have a StatefulSet running that you want to investigate.Debugging a StatefulSetIn order to list all the pods which belong to a StatefulSet, which have a label app.kubernetes.io/name=MyApp set on them, you can use the following:kubectl get pods -l app.kubernetes.io/name=MyApp If you find that any Pods listed are in Unknown or Terminating state for an extended period of time, refer to the Deleting StatefulSet Pods task for instructions on how to deal with them. You can debug individual Pods in a StatefulSet using the Debugging Pods guide.What's nextLearn more about debugging an init-container.",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-statefulset/",
    "id": "k8s_00624_qa_13800"
  },
  {
    "question": "How does Debug a StatefulSet work?",
    "answer": "Debug a StatefulSetThis task shows you how to debug a StatefulSet.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster.You should have a StatefulSet running that you want to investigate.Debugging a StatefulSetIn order to list all the pods which belong to a StatefulSet, which have a label app.kubernetes.io/name=MyApp set on them, you can use the following:kubectl get pods -l app.kubernetes.io/name=MyApp If you find that any Pods listed are in Unknown or Terminating state for an extended period of time, refer to the Deleting StatefulSet Pods task for instructions on how to deal with them. You can debug individual Pods in a StatefulSet using the Debugging Pods guide.What's nextLearn more about debugging an init-container.",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-statefulset/",
    "id": "k8s_00624_qa_13801"
  },
  {
    "question": "When would you use Debug a StatefulSet?",
    "answer": "Debug a StatefulSetThis task shows you how to debug a StatefulSet.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster.You should have a StatefulSet running that you want to investigate.Debugging a StatefulSetIn order to list all the pods which belong to a StatefulSet, which have a label app.kubernetes.io/name=MyApp set on them, you can use the following:kubectl get pods -l app.kubernetes.io/name=MyApp If you find that any Pods listed are in Unknown or Terminating state for an extended period of time, refer to the Deleting StatefulSet Pods task for instructions on how to deal with them. You can debug individual Pods in a StatefulSet using the Debugging Pods guide.What's nextLearn more about debugging an init-container.",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-statefulset/",
    "id": "k8s_00624_qa_13802"
  },
  {
    "question": "What are the benefits of Debug a StatefulSet?",
    "answer": "Debug a StatefulSetThis task shows you how to debug a StatefulSet.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster.You should have a StatefulSet running that you want to investigate.Debugging a StatefulSetIn order to list all the pods which belong to a StatefulSet, which have a label app.kubernetes.io/name=MyApp set on them, you can use the following:kubectl get pods -l app.kubernetes.io/name=MyApp If you find that any Pods listed are in Unknown or Terminating state for an extended period of time, refer to the Deleting StatefulSet Pods task for instructions on how to deal with them. You can debug individual Pods in a StatefulSet using the Debugging Pods guide.What's nextLearn more about debugging an init-container.",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-statefulset/",
    "id": "k8s_00624_qa_13803"
  },
  {
    "question": "What is Debug a StatefulSet?",
    "answer": "T h i s   t a s k   s h o w s   y o u   h o w   t o   d e b u g   a   S t a t e f u l S e t .",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-statefulset/",
    "id": "k8s_00624_section_1_13804"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r . Y o u   s h o u l d   h a v e   a   S t a t e f u l S e t   r u n n i n g   t h a t   y o u   w a n t   t o   i n v e s t i g a t e .",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-statefulset/",
    "id": "k8s_00624_section_2_13805"
  },
  {
    "question": "What is Debugging a StatefulSet?",
    "answer": "I n   o r d e r   t o   l i s t   a l l   t h e   p o d s   w h i c h   b e l o n g   t o   a   S t a t e f u l S e t ,   w h i c h   h a v e   a   l a b e l   a p p . k u b e r n e t e s . i o / n a m e = M y A p p   s e t   o n   t h e m ,   y o u   c a n   u s e   t h e   f o l l o w i n g :   k u b e c t l   g e t   p o d s   - l   a p p . k u b e r n e t e s . i o / n a m e = M y A p p   I f   y o u   f i n d   t h a t   a n y   P o d s   l i s t e d   a r e   i n   U n k n o w n   o r   T e r m i n a t i n g   s t a t e   f o r   a n   e x t e n d e d   p e r i o d   o f   t i m e ,   r e f e r   t o   t h e   D e l e t i n g   S t a t e f u l S e t   P o d s   t a s k   f o r   i n s t r u c t i o n s   o n   h o w   t o   d e a l   w i t h   t h e m .   Y o u   c a n   d e b u g   i n d i v i d u a l   P o d s   i n   a   S t a t e f u l S e t   u s i n g   t h e   D e b u g g i n g   P o d s   g u i d e .",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-statefulset/",
    "id": "k8s_00624_section_2_13806"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   d e b u g g i n g   a n   i n i t - c o n t a i n e r .",
    "category": "tasks",
    "subcategory": "monitor-log-debug",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-application/debug-statefulset/",
    "id": "k8s_00624_section_2_13807"
  },
  {
    "question": "What is Control CPU Management Policies on the Node?",
    "answer": "Control CPU Management Policies on the NodeFEATURE STATE: Kubernetes v1.26 [stable]Kubernetes keeps many aspects of how pods execute on nodes abstracted from the user. This is by design. However, some workloads require stronger guarantees in terms of latency and/or performance in order to operate acceptably. The kubelet provides methods to enable more complex workload placement policies while keeping the abstraction free from explicit placement directives.For detailed information on resource management, please refer to the Resource Management for Pods and Containers documentation.For detailed information on how the kubelet implements resource management, please refer to the Node ResourceManagers documentation.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.26.To check the version, enter kubectl version.If you are running an older version of Kubernetes, please look at the documentation for the version you are actually running.Configuring CPU management policiesBy default, the kubelet uses CFS quota to enforce pod CPU limits. When the node runs many CPU-bound pods, the workload can move to different CPU cores depending on whether the pod is throttled and which CPU cores are available at scheduling time. Many workloads are not sensitive to this migration and thus work fine without any intervention.However, in workloads where CPU cache affinity and scheduling latency significantly affect workload performance, the kubelet allows alternative CPU management policies to determine some placement preferences on the node.Windows SupportFEATURE STATE: Kubernetes v1.32 [alpha] (enabled by default: false)CPU Manager support can be enabled on Windows by using the WindowsCPUAndMemoryAffinity feature gate and it requires support in the container runtime. Once the feature gate is enabled, follow the steps below to configure the CPU manager policy.ConfigurationThe CPU Manager policy is set with the --cpu-manager-policy kubelet flag or the cpuManagerPolicy field in KubeletConfiguration. There are two supported policies:none: the default policy.static: allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node.The CPU manager periodically writes resource updates through the CRI in order to reconcile in-memory CPU assignments with cgroupfs. The reconcile frequency is set through a new Kubelet configuration value --cpu-manager-reconcile-period. If not specified, it defaults to the same duration as --node-status-update-frequency.The behavior of the static policy can be fine",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/",
    "id": "k8s_00625_qa_13808"
  },
  {
    "question": "How does Control CPU Management Policies on the Node work?",
    "answer": "Control CPU Management Policies on the NodeFEATURE STATE: Kubernetes v1.26 [stable]Kubernetes keeps many aspects of how pods execute on nodes abstracted from the user. This is by design. However, some workloads require stronger guarantees in terms of latency and/or performance in order to operate acceptably. The kubelet provides methods to enable more complex workload placement policies while keeping the abstraction free from explicit placement directives.For detailed information on resource management, please refer to the Resource Management for Pods and Containers documentation.For detailed information on how the kubelet implements resource management, please refer to the Node ResourceManagers documentation.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.26.To check the version, enter kubectl version.If you are running an older version of Kubernetes, please look at the documentation for the version you are actually running.Configuring CPU management policiesBy default, the kubelet uses CFS quota to enforce pod CPU limits. When the node runs many CPU-bound pods, the workload can move to different CPU cores depending on whether the pod is throttled and which CPU cores are available at scheduling time. Many workloads are not sensitive to this migration and thus work fine without any intervention.However, in workloads where CPU cache affinity and scheduling latency significantly affect workload performance, the kubelet allows alternative CPU management policies to determine some placement preferences on the node.Windows SupportFEATURE STATE: Kubernetes v1.32 [alpha] (enabled by default: false)CPU Manager support can be enabled on Windows by using the WindowsCPUAndMemoryAffinity feature gate and it requires support in the container runtime. Once the feature gate is enabled, follow the steps below to configure the CPU manager policy.ConfigurationThe CPU Manager policy is set with the --cpu-manager-policy kubelet flag or the cpuManagerPolicy field in KubeletConfiguration. There are two supported policies:none: the default policy.static: allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node.The CPU manager periodically writes resource updates through the CRI in order to reconcile in-memory CPU assignments with cgroupfs. The reconcile frequency is set through a new Kubelet configuration value --cpu-manager-reconcile-period. If not specified, it defaults to the same duration as --node-status-update-frequency.The behavior of the static policy can be fine",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/",
    "id": "k8s_00625_qa_13809"
  },
  {
    "question": "When would you use Control CPU Management Policies on the Node?",
    "answer": "Control CPU Management Policies on the NodeFEATURE STATE: Kubernetes v1.26 [stable]Kubernetes keeps many aspects of how pods execute on nodes abstracted from the user. This is by design. However, some workloads require stronger guarantees in terms of latency and/or performance in order to operate acceptably. The kubelet provides methods to enable more complex workload placement policies while keeping the abstraction free from explicit placement directives.For detailed information on resource management, please refer to the Resource Management for Pods and Containers documentation.For detailed information on how the kubelet implements resource management, please refer to the Node ResourceManagers documentation.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.26.To check the version, enter kubectl version.If you are running an older version of Kubernetes, please look at the documentation for the version you are actually running.Configuring CPU management policiesBy default, the kubelet uses CFS quota to enforce pod CPU limits. When the node runs many CPU-bound pods, the workload can move to different CPU cores depending on whether the pod is throttled and which CPU cores are available at scheduling time. Many workloads are not sensitive to this migration and thus work fine without any intervention.However, in workloads where CPU cache affinity and scheduling latency significantly affect workload performance, the kubelet allows alternative CPU management policies to determine some placement preferences on the node.Windows SupportFEATURE STATE: Kubernetes v1.32 [alpha] (enabled by default: false)CPU Manager support can be enabled on Windows by using the WindowsCPUAndMemoryAffinity feature gate and it requires support in the container runtime. Once the feature gate is enabled, follow the steps below to configure the CPU manager policy.ConfigurationThe CPU Manager policy is set with the --cpu-manager-policy kubelet flag or the cpuManagerPolicy field in KubeletConfiguration. There are two supported policies:none: the default policy.static: allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node.The CPU manager periodically writes resource updates through the CRI in order to reconcile in-memory CPU assignments with cgroupfs. The reconcile frequency is set through a new Kubelet configuration value --cpu-manager-reconcile-period. If not specified, it defaults to the same duration as --node-status-update-frequency.The behavior of the static policy can be fine",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/",
    "id": "k8s_00625_qa_13810"
  },
  {
    "question": "What are the benefits of Control CPU Management Policies on the Node?",
    "answer": "Control CPU Management Policies on the NodeFEATURE STATE: Kubernetes v1.26 [stable]Kubernetes keeps many aspects of how pods execute on nodes abstracted from the user. This is by design. However, some workloads require stronger guarantees in terms of latency and/or performance in order to operate acceptably. The kubelet provides methods to enable more complex workload placement policies while keeping the abstraction free from explicit placement directives.For detailed information on resource management, please refer to the Resource Management for Pods and Containers documentation.For detailed information on how the kubelet implements resource management, please refer to the Node ResourceManagers documentation.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.26.To check the version, enter kubectl version.If you are running an older version of Kubernetes, please look at the documentation for the version you are actually running.Configuring CPU management policiesBy default, the kubelet uses CFS quota to enforce pod CPU limits. When the node runs many CPU-bound pods, the workload can move to different CPU cores depending on whether the pod is throttled and which CPU cores are available at scheduling time. Many workloads are not sensitive to this migration and thus work fine without any intervention.However, in workloads where CPU cache affinity and scheduling latency significantly affect workload performance, the kubelet allows alternative CPU management policies to determine some placement preferences on the node.Windows SupportFEATURE STATE: Kubernetes v1.32 [alpha] (enabled by default: false)CPU Manager support can be enabled on Windows by using the WindowsCPUAndMemoryAffinity feature gate and it requires support in the container runtime. Once the feature gate is enabled, follow the steps below to configure the CPU manager policy.ConfigurationThe CPU Manager policy is set with the --cpu-manager-policy kubelet flag or the cpuManagerPolicy field in KubeletConfiguration. There are two supported policies:none: the default policy.static: allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node.The CPU manager periodically writes resource updates through the CRI in order to reconcile in-memory CPU assignments with cgroupfs. The reconcile frequency is set through a new Kubelet configuration value --cpu-manager-reconcile-period. If not specified, it defaults to the same duration as --node-status-update-frequency.The behavior of the static policy can be fine",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/",
    "id": "k8s_00625_qa_13811"
  },
  {
    "question": "What is Control CPU Management Policies on the Node?",
    "answer": "K u b e r n e t e s   k e e p s   m a n y   a s p e c t s   o f   h o w   p o d s   e x e c u t e   o n   n o d e s   a b s t r a c t e d   f r o m   t h e   u s e r .   T h i s   i s   b y   d e s i g n .   H o w e v e r ,   s o m e   w o r k l o a d s   r e q u i r e   s t r o n g e r   g u a r a n t e e s   i n   t e r m s   o f   l a t e n c y   a n d / o r   p e r f o r m a n c e   i n   o r d e r   t o   o p e r a t e   a c c e p t a b l y .   T h e   k u b e l e t   p r o v i d e s   m e t h o d s   t o   e n a b l e   m o r e   c o m p l e x   w o r k l o a d   p l a c e m e n t   p o l i c i e s   w h i l e   k e e p i n g   t h e   a b s t r a c t i o n   f r e e   f r o m   e x p l i c i t   p l a c e m e n t   d i r e c t i v e s .   F o r   d e t a i l e d   i n f o r m a t i o n   o n   r e s o u r c e   m a n a g e m e n t ,   p l e a s e   r e f e r   t o   t h e   R e s o u r c e   M a n a g e m e n t   f o r   P o d s   a n d   C o n t a i n e r s   d o c u m e n t a t i o n .   F o r   d e t a i l e d   i n f o r m a t i o n   o n   h o w   t h e   k u b e l e t   i m p l e m e n t s   r e s o u r c e   m a n a g e m e n t ,   p l e a s e   r e f e r   t o   t h e   N o d e   R e s o u r c e M a n a g e r s   d o c u m e n t a t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/",
    "id": "k8s_00625_section_1_13812"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 2 6 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/",
    "id": "k8s_00625_section_2_13813"
  },
  {
    "question": "What is Configuring CPU management policies?",
    "answer": "B y   d e f a u l t ,   t h e   k u b e l e t   u s e s   C F S   q u o t a   t o   e n f o r c e   p o d   C P U   l i m i t s .   W h e n   t h e   n o d e   r u n s   m a n y   C P U - b o u n d   p o d s ,   t h e   w o r k l o a d   c a n   m o v e   t o   d i f f e r e n t   C P U   c o r e s   d e p e n d i n g   o n   w h e t h e r   t h e   p o d   i s   t h r o t t l e d   a n d   w h i c h   C P U   c o r e s   a r e   a v a i l a b l e   a t   s c h e d u l i n g   t i m e .   M a n y   w o r k l o a d s   a r e   n o t   s e n s i t i v e   t o   t h i s   m i g r a t i o n   a n d   t h u s   w o r k   f i n e   w i t h o u t   a n y   i n t e r v e n t i o n .   H o w e v e r ,   i n   w o r k l o a d s   w h e r e   C P U   c a c h e   a f f i n i t y   a n d   s c h e d u l i n g   l a t e n c y   s i g n i f i c a n t l y   a f f e c t   w o r k l o a d   p e r f o r m a n c e ,   t h e   k u b e l e t   a l l o w s   a l t e r n a t i v e   C P U   m a n a g e m e n t   p o l i c i e s   t o   d e t e r m i n e   s o m e   p l a c e m e n t   p r e f e r e n c e s   o n   t h e   n o d e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/",
    "id": "k8s_00625_section_2_13814"
  },
  {
    "question": "What is Windows Support?",
    "answer": "C P U   M a n a g e r   s u p p o r t   c a n   b e   e n a b l e d   o n   W i n d o w s   b y   u s i n g   t h e   W i n d o w s C P U A n d M e m o r y A f f i n i t y   f e a t u r e   g a t e   a n d   i t   r e q u i r e s   s u p p o r t   i n   t h e   c o n t a i n e r   r u n t i m e .   O n c e   t h e   f e a t u r e   g a t e   i s   e n a b l e d ,   f o l l o w   t h e   s t e p s   b e l o w   t o   c o n f i g u r e   t h e   C P U   m a n a g e r   p o l i c y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/",
    "id": "k8s_00625_section_2_13815"
  },
  {
    "question": "What is Configuration?",
    "answer": "T h e   C P U   M a n a g e r   p o l i c y   i s   s e t   w i t h   t h e   - - c p u - m a n a g e r - p o l i c y   k u b e l e t   f l a g   o r   t h e   c p u M a n a g e r P o l i c y   f i e l d   i n   K u b e l e t C o n f i g u r a t i o n .   T h e r e   a r e   t w o   s u p p o r t e d   p o l i c i e s :   n o n e :   t h e   d e f a u l t   p o l i c y . s t a t i c :   a l l o w s   p o d s   w i t h   c e r t a i n   r e s o u r c e   c h a r a c t e r i s t i c s   t o   b e   g r a n t e d   i n c r e a s e d   C P U   a f f i n i t y   a n d   e x c l u s i v i t y   o n   t h e   n o d e .   T h e   C P U   m a n a g e r   p e r i o d i c a l l y   w r i t e s   r e s o u r c e   u p d a t e s   t h r o u g h   t h e   C R I   i n   o r d e r   t o   r e c o n c i l e   i n - m e m o r y   C P U   a s s i g n m e n t s   w i t h   c g r o u p f s .   T h e   r e c o n c i l e   f r e q u e n c y   i s   s e t   t h r o u g h   a   n e w   K u b e l e t   c o n f i g u r a t i o n   v a l u e   - - c p u - m a n a g e r - r e c o n c i l e - p e r i o d .   I f   n o t   s p e c i f i e d ,   i t   d e f a u l t s   t o   t h e   s a m e   d u r a t i o n   a s   - - n o d e - s t a t u s - u p d a t e - f r e q u e n c y .   T h e   b e h a v i o r   o f   t h e   s t a t i c   p o l i c y   c a n   b e   f i n e - t u n e d   u s i n g   t h e   - - c p u - m a n a g e r - p o l i c y - o p t i o n s   f l a g .   T h e   f l a g   t a k e s   a   c o m m a - s e p a r a t e d   l i s t   o f   k e y = v a l u e   p o l i c y   o p t i o n s .   I f   y o u   d i s a b l e   t h e   C P U M a n a g e r P o l i c y O p t i o n s   f e a t u r e   g a t e   t h e n   y o u   c a n n o t   f i n e - t u n e   C P U   m a n a g e r   p o l i c i e s .   I n   t h a t   c a s e ,   t h e   C P U   m a n a g e r   o p e r a t e s   o n l y   u s i n g   i t s   d e f a u l t   s e t t i n g s .   I n   a d d i t i o n   t o   t h e   t o p - l e v ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/",
    "id": "k8s_00625_section_2_13816"
  },
  {
    "question": "What is Changing the CPU Manager Policy?",
    "answer": "S i n c e   t h e   C P U   m a n a g e r   p o l i c y   c a n   o n l y   b e   a p p l i e d   w h e n   k u b e l e t   s p a w n s   n e w   p o d s ,   s i m p l y   c h a n g i n g   f r o m   \" n o n e \"   t o   \" s t a t i c \"   w o n ' t   a p p l y   t o   e x i s t i n g   p o d s .   S o   i n   o r d e r   t o   p r o p e r l y   c h a n g e   t h e   C P U   m a n a g e r   p o l i c y   o n   a   n o d e ,   p e r f o r m   t h e   f o l l o w i n g   s t e p s :   D r a i n   t h e   n o d e . S t o p   k u b e l e t . R e m o v e   t h e   o l d   C P U   m a n a g e r   s t a t e   f i l e .   T h e   p a t h   t o   t h i s   f i l e   i s   / v a r / l i b / k u b e l e t / c p u _ m a n a g e r _ s t a t e   b y   d e f a u l t .   T h i s   c l e a r s   t h e   s t a t e   m a i n t a i n e d   b y   t h e   C P U M a n a g e r   s o   t h a t   t h e   c p u - s e t s   s e t   u p   b y   t h e   n e w   p o l i c y   w o n ’ t   c o n f l i c t   w i t h   i t . E d i t   t h e   k u b e l e t   c o n f i g u r a t i o n   t o   c h a n g e   t h e   C P U   m a n a g e r   p o l i c y   t o   t h e   d e s i r e d   v a l u e . S t a r t   k u b e l e t .   R e p e a t   t h i s   p r o c e s s   f o r   e v e r y   n o d e   t h a t   n e e d s   i t s   C P U   m a n a g e r   p o l i c y   c h a n g e d .   S k i p p i n g   t h i s   p r o c e s s   w i l l   r e s u l t   i n   k u b e l e t   c r a s h l o o p i n g   w i t h   t h e   f o l l o w i n g   e r r o r :   c o u l d   n o t   r e s t o r e   s t a t e   f r o m   c h e c k p o i n t :   c o n f i g u r e d   p o l i c y   \" s t a t i c \"   d i f f e r s   f r o m   s t a t e   c h e c k p o i n t   p o l i c y   \" n o n e \" ,   p l e a s e   d r a i n   t h i s   n o d e   a n d   d e l e t e   t h e   C P U   m a n a g e r   c h e c k p o i n t   f i l e   \" / v a r / l i b / k u b e l e t / c p u _ m a n a g e r _ s t a t e \"   b e f o r e   r e s t a r t i n g   K u ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/",
    "id": "k8s_00625_section_2_13817"
  },
  {
    "question": "What is none policy configuration?",
    "answer": "T h i s   p o l i c y   h a s   n o   e x t r a   c o n f i g u r a t i o n   i t e m s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/",
    "id": "k8s_00625_section_3_13818"
  },
  {
    "question": "What is static policy configuration?",
    "answer": "T h i s   p o l i c y   m a n a g e s   a   s h a r e d   p o o l   o f   C P U s   t h a t   i n i t i a l l y   c o n t a i n s   a l l   C P U s   i n   t h e   n o d e .   T h e   a m o u n t   o f   e x c l u s i v e l y   a l l o c a t a b l e   C P U s   i s   e q u a l   t o   t h e   t o t a l   n u m b e r   o f   C P U s   i n   t h e   n o d e   m i n u s   a n y   C P U   r e s e r v a t i o n s   b y   t h e   k u b e l e t   - - k u b e - r e s e r v e d   o r   - - s y s t e m - r e s e r v e d   o p t i o n s .   F r o m   1 . 1 7 ,   t h e   C P U   r e s e r v a t i o n   l i s t   c a n   b e   s p e c i f i e d   e x p l i c i t l y   b y   k u b e l e t   - - r e s e r v e d - c p u s   o p t i o n .   T h e   e x p l i c i t   C P U   l i s t   s p e c i f i e d   b y   - - r e s e r v e d - c p u s   t a k e s   p r e c e d e n c e   o v e r   t h e   C P U   r e s e r v a t i o n   s p e c i f i e d   b y   - - k u b e - r e s e r v e d   a n d   - - s y s t e m - r e s e r v e d .   C P U s   r e s e r v e d   b y   t h e s e   o p t i o n s   a r e   t a k e n ,   i n   i n t e g e r   q u a n t i t y ,   f r o m   t h e   i n i t i a l   s h a r e d   p o o l   i n   a s c e n d i n g   o r d e r   b y   p h y s i c a l   c o r e   I D .   T h i s   s h a r e d   p o o l   i s   t h e   s e t   o f   C P U s   o n   w h i c h   a n y   c o n t a i n e r s   i n   B e s t E f f o r t   a n d   B u r s t a b l e   p o d s   r u n .   C o n t a i n e r s   i n   G u a r a n t e e d   p o d s   w i t h   f r a c t i o n a l   C P U   r e q u e s t s   a l s o   r u n   o n   C P U s   i n   t h e   s h a r e d   p o o l .   O n l y   c o n t a i n e r s   t h a t   a r e   b o t h   p a r t   o f   a   G u a r a n t e e d   p o d   a n d   h a v e   i n t e g e r   C P U   r e q u e s t s   a r e   a s s i g n e d   e x c l u s i v e   C P U s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/",
    "id": "k8s_00625_section_3_13819"
  },
  {
    "question": "What is Static policy options?",
    "answer": "Y o u   c a n   t o g g l e   g r o u p s   o f   o p t i o n s   o n   a n d   o f f   b a s e d   u p o n   t h e i r   m a t u r i t y   l e v e l   u s i n g   t h e   f o l l o w i n g   f e a t u r e   g a t e s :   C P U M a n a g e r P o l i c y B e t a O p t i o n s   d e f a u l t   e n a b l e d .   D i s a b l e   t o   h i d e   b e t a - l e v e l   o p t i o n s . C P U M a n a g e r P o l i c y A l p h a O p t i o n s   d e f a u l t   d i s a b l e d .   E n a b l e   t o   s h o w   a l p h a - l e v e l   o p t i o n s .   Y o u   w i l l   s t i l l   h a v e   t o   e n a b l e   e a c h   o p t i o n   u s i n g   t h e   C P U M a n a g e r P o l i c y O p t i o n s   k u b e l e t   o p t i o n .   T h e   f o l l o w i n g   p o l i c y   o p t i o n s   e x i s t   f o r   t h e   s t a t i c   C P U M a n a g e r   p o l i c y :   f u l l - p c p u s - o n l y   ( G A ,   v i s i b l e   b y   d e f a u l t )   ( 1 . 3 3   o r   h i g h e r ) d i s t r i b u t e - c p u s - a c r o s s - n u m a   ( b e t a ,   v i s i b l e   b y   d e f a u l t )   ( 1 . 3 3   o r   h i g h e r ) a l i g n - b y - s o c k e t   ( a l p h a ,   h i d d e n   b y   d e f a u l t )   ( 1 . 2 5   o r   h i g h e r ) d i s t r i b u t e - c p u s - a c r o s s - c o r e s   ( a l p h a ,   h i d d e n   b y   d e f a u l t )   ( 1 . 3 1   o r   h i g h e r ) s t r i c t - c p u - r e s e r v a t i o n   ( b e t a ,   v i s i b l e   b y   d e f a u l t )   ( 1 . 3 2   o r   h i g h e r ) p r e f e r - a l i g n - c p u s - b y - u n c o r e c a c h e   ( b e t a ,   v i s i b l e   b y   d e f a u l t )   ( 1 . 3 4   o r   h i g h e r )   T h e   f u l l - p c p u s - o n l y   o p t i o n   c a n   b e   e n a b l e d   b y   a d d i n g   f u l l - p c p u s - o n l y = t r u e   t o   t h e   C P U M a n a g e r   p o l i c y   o p t i o n s .   L i k e w i s e ,   t h e   d i s t r i b u t e - c p u s - a c r o s s - n u m a   o p t i o n   c a n   b e   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/",
    "id": "k8s_00625_section_3_13820"
  },
  {
    "question": "What is Event?",
    "answer": "EventEvent is a report of an event somewhere in the cluster.apiVersion: events.k8s.io/v1import \"k8s.io/api/events/v1\"EventEvent is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.apiVersion: events.k8s.io/v1kind: Eventmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataeventTime (MicroTime), requiredeventTime is the time when this Event was first observed. It is required.MicroTime is version of Time with microsecond level precision.action (string)action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.deprecatedCount (int32)deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.deprecatedFirstTimestamp (Time)deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.deprecatedLastTimestamp (Time)deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.deprecatedSource (EventSource)deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.EventSource contains information for an event.deprecatedSource.component (string)Component from which the event is generated.deprecatedSource.host (string)Node name on which the event is generated.note (string)note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.reason (string)reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.regarding (ObjectReference)regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object.related (ObjectReference)related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.reportingController (string)reportingController is the nam",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_qa_13821"
  },
  {
    "question": "How does Event work?",
    "answer": "EventEvent is a report of an event somewhere in the cluster.apiVersion: events.k8s.io/v1import \"k8s.io/api/events/v1\"EventEvent is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.apiVersion: events.k8s.io/v1kind: Eventmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataeventTime (MicroTime), requiredeventTime is the time when this Event was first observed. It is required.MicroTime is version of Time with microsecond level precision.action (string)action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.deprecatedCount (int32)deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.deprecatedFirstTimestamp (Time)deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.deprecatedLastTimestamp (Time)deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.deprecatedSource (EventSource)deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.EventSource contains information for an event.deprecatedSource.component (string)Component from which the event is generated.deprecatedSource.host (string)Node name on which the event is generated.note (string)note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.reason (string)reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.regarding (ObjectReference)regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object.related (ObjectReference)related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.reportingController (string)reportingController is the nam",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_qa_13822"
  },
  {
    "question": "When would you use Event?",
    "answer": "EventEvent is a report of an event somewhere in the cluster.apiVersion: events.k8s.io/v1import \"k8s.io/api/events/v1\"EventEvent is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.apiVersion: events.k8s.io/v1kind: Eventmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataeventTime (MicroTime), requiredeventTime is the time when this Event was first observed. It is required.MicroTime is version of Time with microsecond level precision.action (string)action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.deprecatedCount (int32)deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.deprecatedFirstTimestamp (Time)deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.deprecatedLastTimestamp (Time)deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.deprecatedSource (EventSource)deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.EventSource contains information for an event.deprecatedSource.component (string)Component from which the event is generated.deprecatedSource.host (string)Node name on which the event is generated.note (string)note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.reason (string)reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.regarding (ObjectReference)regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object.related (ObjectReference)related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.reportingController (string)reportingController is the nam",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_qa_13823"
  },
  {
    "question": "What are the benefits of Event?",
    "answer": "EventEvent is a report of an event somewhere in the cluster.apiVersion: events.k8s.io/v1import \"k8s.io/api/events/v1\"EventEvent is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.apiVersion: events.k8s.io/v1kind: Eventmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataeventTime (MicroTime), requiredeventTime is the time when this Event was first observed. It is required.MicroTime is version of Time with microsecond level precision.action (string)action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.deprecatedCount (int32)deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.deprecatedFirstTimestamp (Time)deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.deprecatedLastTimestamp (Time)deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.deprecatedSource (EventSource)deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.EventSource contains information for an event.deprecatedSource.component (string)Component from which the event is generated.deprecatedSource.host (string)Node name on which the event is generated.note (string)note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.reason (string)reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.regarding (ObjectReference)regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object.related (ObjectReference)related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.reportingController (string)reportingController is the nam",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_qa_13824"
  },
  {
    "question": "What is Event?",
    "answer": "a p i V e r s i o n :   e v e n t s . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / e v e n t s / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_1_13825"
  },
  {
    "question": "What is Event?",
    "answer": "E v e n t   i s   a   r e p o r t   o f   a n   e v e n t   s o m e w h e r e   i n   t h e   c l u s t e r .   I t   g e n e r a l l y   d e n o t e s   s o m e   s t a t e   c h a n g e   i n   t h e   s y s t e m .   E v e n t s   h a v e   a   l i m i t e d   r e t e n t i o n   t i m e   a n d   t r i g g e r s   a n d   m e s s a g e s   m a y   e v o l v e   w i t h   t i m e .   E v e n t   c o n s u m e r s   s h o u l d   n o t   r e l y   o n   t h e   t i m i n g   o f   a n   e v e n t   w i t h   a   g i v e n   R e a s o n   r e f l e c t i n g   a   c o n s i s t e n t   u n d e r l y i n g   t r i g g e r ,   o r   t h e   c o n t i n u e d   e x i s t e n c e   o f   e v e n t s   w i t h   t h a t   R e a s o n .   E v e n t s   s h o u l d   b e   t r e a t e d   a s   i n f o r m a t i v e ,   b e s t - e f f o r t ,   s u p p l e m e n t a l   d a t a .   a p i V e r s i o n :   e v e n t s . k 8 s . i o / v 1 k i n d :   E v e n t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a e v e n t T i m e   ( M i c r o T i m e ) ,   r e q u i r e d e v e n t T i m e   i s   t h e   t i m e   w h e n   t h i s   E v e n t   w a s   f i r s t   o b s e r v e d .   I t   i s   r e q u i r e d . M i c r o T i m e   i s   v e r s i o n   o f   T i m e   w i t h   m i c r o s e c o n d   l e v e l   p r e c i s i o n . a c t i o n   ( s t r i n g ) a c t i o n   i s   w h a t   a c t i o n   w a s   t a k e n / f a i l e d   r e g a r d i n g   t o   t h e   r e g a r d i n g   o b j e c t .   I t   i s   m a c h i n e - r e a d a b l e .   T h i s   f i e l d   c a n n o t   b e   e m p t y   f o r   n e w   E v e n t s   a n d   i t   c a n   h a v e   a t   m o s t   1 2 8   c h a r a c t e r s . d e p r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_2_13826"
  },
  {
    "question": "What is EventList?",
    "answer": "E v e n t L i s t   i s   a   l i s t   o f   E v e n t   o b j e c t s .   a p i V e r s i o n :   e v e n t s . k 8 s . i o / v 1 k i n d :   E v e n t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] E v e n t ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .   a p i V e r s i o n :   e v e n t s . k 8 s . i o / v 1   k i n d :   E v e n t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] E v e n t ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_2_13827"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_4_13828"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E v e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E v e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_4_13829"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E v e n t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_4_13830"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_4_13831"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_4_13832"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E v e n t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_4_13833"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / e v e n t s . k 8 s . i o / v 1 / e v e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_4_13834"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_4_13835"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E v e n t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_4_13836"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_4_13837"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   E v e n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   E v e n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_4_13838"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E v e n t ) :   O K   2 0 1   ( E v e n t ) :   C r e a t e d   2 0 2   ( E v e n t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_4_13839"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_4_13840"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E v e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   E v e n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E v e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   E v e n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_4_13841"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E v e n t ) :   O K   2 0 1   ( E v e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_4_13842"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_4_13843"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E v e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E v e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_4_13844"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E v e n t ) :   O K   2 0 1   ( E v e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_4_13845"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_4_13846"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E v e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E v e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_4_13847"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_4_13848"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_4_13849"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_4_13850"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/",
    "id": "k8s_00626_section_4_13851"
  },
  {
    "question": "What is kubectl config set-context?",
    "answer": "kubectl config set-contextSynopsisSet a context entry in kubeconfig.Specifying a name that already exists will merge new fields on top of existing values for those fields.kubectl config set-context [NAME | --current] [--cluster=cluster_nickname] [--user=user_nickname] [--namespace=namespace] Examples # Set the user field on the gce context entry without touching other values kubectl config set-context gce --user=cluster-admin Options--cluster stringcluster for the context entry in kubeconfig--currentModify the current context-h, --helphelp for set-context--namespace stringnamespace for the context entry in kubeconfig--user stringuser for the context entry in kubeconfigParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use fo",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-context/",
    "id": "k8s_00627_qa_13852"
  },
  {
    "question": "How does kubectl config set-context work?",
    "answer": "kubectl config set-contextSynopsisSet a context entry in kubeconfig.Specifying a name that already exists will merge new fields on top of existing values for those fields.kubectl config set-context [NAME | --current] [--cluster=cluster_nickname] [--user=user_nickname] [--namespace=namespace] Examples # Set the user field on the gce context entry without touching other values kubectl config set-context gce --user=cluster-admin Options--cluster stringcluster for the context entry in kubeconfig--currentModify the current context-h, --helphelp for set-context--namespace stringnamespace for the context entry in kubeconfig--user stringuser for the context entry in kubeconfigParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use fo",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-context/",
    "id": "k8s_00627_qa_13853"
  },
  {
    "question": "When would you use kubectl config set-context?",
    "answer": "kubectl config set-contextSynopsisSet a context entry in kubeconfig.Specifying a name that already exists will merge new fields on top of existing values for those fields.kubectl config set-context [NAME | --current] [--cluster=cluster_nickname] [--user=user_nickname] [--namespace=namespace] Examples # Set the user field on the gce context entry without touching other values kubectl config set-context gce --user=cluster-admin Options--cluster stringcluster for the context entry in kubeconfig--currentModify the current context-h, --helphelp for set-context--namespace stringnamespace for the context entry in kubeconfig--user stringuser for the context entry in kubeconfigParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use fo",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-context/",
    "id": "k8s_00627_qa_13854"
  },
  {
    "question": "What are the benefits of kubectl config set-context?",
    "answer": "kubectl config set-contextSynopsisSet a context entry in kubeconfig.Specifying a name that already exists will merge new fields on top of existing values for those fields.kubectl config set-context [NAME | --current] [--cluster=cluster_nickname] [--user=user_nickname] [--namespace=namespace] Examples # Set the user field on the gce context entry without touching other values kubectl config set-context gce --user=cluster-admin Options--cluster stringcluster for the context entry in kubeconfig--currentModify the current context-h, --helphelp for set-context--namespace stringnamespace for the context entry in kubeconfig--user stringuser for the context entry in kubeconfigParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use fo",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-context/",
    "id": "k8s_00627_qa_13855"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S e t   a   c o n t e x t   e n t r y   i n   k u b e c o n f i g .   S p e c i f y i n g   a   n a m e   t h a t   a l r e a d y   e x i s t s   w i l l   m e r g e   n e w   f i e l d s   o n   t o p   o f   e x i s t i n g   v a l u e s   f o r   t h o s e   f i e l d s .   k u b e c t l   c o n f i g   s e t - c o n t e x t   [ N A M E   |   - - c u r r e n t ]   [ - - c l u s t e r = c l u s t e r _ n i c k n a m e ]   [ - - u s e r = u s e r _ n i c k n a m e ]   [ - - n a m e s p a c e = n a m e s p a c e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-context/",
    "id": "k8s_00627_section_2_13856"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   t h e   u s e r   f i e l d   o n   t h e   g c e   c o n t e x t   e n t r y   w i t h o u t   t o u c h i n g   o t h e r   v a l u e s   k u b e c t l   c o n f i g   s e t - c o n t e x t   g c e   - - u s e r = c l u s t e r - a d m i n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-context/",
    "id": "k8s_00627_section_2_13857"
  },
  {
    "question": "What is Options?",
    "answer": "c l u s t e r   f o r   t h e   c o n t e x t   e n t r y   i n   k u b e c o n f i g   M o d i f y   t h e   c u r r e n t   c o n t e x t   h e l p   f o r   s e t - c o n t e x t   n a m e s p a c e   f o r   t h e   c o n t e x t   e n t r y   i n   k u b e c o n f i g   u s e r   f o r   t h e   c o n t e x t   e n t r y   i n   k u b e c o n f i g",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-context/",
    "id": "k8s_00627_section_2_13858"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e r   N a m e   o f   p r o f i l e   t o   c a p t u r e .   O n e   o f   ( n o n e | c p u | h e a p | g o r o u t i n e | t h r e a d c r e a t e | b l o c k | m u t e x )   N a m e   o f ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-context/",
    "id": "k8s_00627_section_2_13859"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-context/",
    "id": "k8s_00627_section_2_13860"
  },
  {
    "question": "What is Share a Cluster with Namespaces?",
    "answer": "Share a Cluster with NamespacesThis page shows how to view, work in, and delete namespaces. The page also shows how to use Kubernetes namespaces to subdivide your cluster.Before you beginHave an existing Kubernetes cluster.You have a basic understanding of Kubernetes Pods, Services, and Deployments.Viewing namespacesList the current namespaces in a cluster using:kubectl get namespaces NAME STATUS AGE default Active 11d kube-node-lease Active 11d kube-public Active 11d kube-system Active 11d Kubernetes starts with four initial namespaces:default The default namespace for objects with no other namespacekube-node-lease This namespace holds Lease objects associated with each node. Node leases allow the kubelet to send heartbeats so that the control plane can detect node failure.kube-public This namespace is created automatically and is readable by all users (including those not authenticated). This namespace is mostly reserved for cluster usage, in case that some resources should be visible and readable publicly throughout the whole cluster. The public aspect of this namespace is only a convention, not a requirement.kube-system The namespace for objects created by the Kubernetes systemYou can also get the summary of a specific namespace using:kubectl get namespaces <name> Or you can get detailed information with:kubectl describe namespaces <name> Name: default Labels: <none> Annotations: <none> Status: Active No resource quota. Resource Limits Type Resource Min Max Default ---- -------- --- --- --- Container cpu - - 100m Note that these details show both resource quota (if present) as well as resource limit ranges.Resource quota tracks aggregate usage of resources in the Namespace and allows cluster operators to define Hard resource usage limits that a Namespace may consume.A limit range defines min/max constraints on the amount of resources a single entity can consume in a Namespace.See Admission control: Limit RangeA namespace can be in one of two phases:Active the namespace is in useTerminating the namespace is being deleted, and can not be used for new objectsFor more details, see Namespace in the API reference.Creating a new namespaceNote:Avoid creating namespace with prefix kube-, since it is reserved for Kubernetes system namespaces.Create a new YAML file called my-namespace.yaml with the contents:apiVersion: v1 kind: Namespace metadata: name: <insert-namespace-name-here> Then run:kubectl create -f ./my-namespace.yaml Alternatively, you can create namespace using below command:kubectl create namespace <insert-namespace-name-here> The name of your namespace must be a valid DNS label.There's an optional field finalizers, which allows observables to purge resources whenever the namespace is deleted. Keep in mind that if you specify a nonexistent finalizer, the namespace will be created but will get stuck in the Terminating state if the user tries to delete it.More information on finalizers can be found in the namespace design doc.Deleting a names",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/namespaces/",
    "id": "k8s_00628_qa_13861"
  },
  {
    "question": "How does Share a Cluster with Namespaces work?",
    "answer": "Share a Cluster with NamespacesThis page shows how to view, work in, and delete namespaces. The page also shows how to use Kubernetes namespaces to subdivide your cluster.Before you beginHave an existing Kubernetes cluster.You have a basic understanding of Kubernetes Pods, Services, and Deployments.Viewing namespacesList the current namespaces in a cluster using:kubectl get namespaces NAME STATUS AGE default Active 11d kube-node-lease Active 11d kube-public Active 11d kube-system Active 11d Kubernetes starts with four initial namespaces:default The default namespace for objects with no other namespacekube-node-lease This namespace holds Lease objects associated with each node. Node leases allow the kubelet to send heartbeats so that the control plane can detect node failure.kube-public This namespace is created automatically and is readable by all users (including those not authenticated). This namespace is mostly reserved for cluster usage, in case that some resources should be visible and readable publicly throughout the whole cluster. The public aspect of this namespace is only a convention, not a requirement.kube-system The namespace for objects created by the Kubernetes systemYou can also get the summary of a specific namespace using:kubectl get namespaces <name> Or you can get detailed information with:kubectl describe namespaces <name> Name: default Labels: <none> Annotations: <none> Status: Active No resource quota. Resource Limits Type Resource Min Max Default ---- -------- --- --- --- Container cpu - - 100m Note that these details show both resource quota (if present) as well as resource limit ranges.Resource quota tracks aggregate usage of resources in the Namespace and allows cluster operators to define Hard resource usage limits that a Namespace may consume.A limit range defines min/max constraints on the amount of resources a single entity can consume in a Namespace.See Admission control: Limit RangeA namespace can be in one of two phases:Active the namespace is in useTerminating the namespace is being deleted, and can not be used for new objectsFor more details, see Namespace in the API reference.Creating a new namespaceNote:Avoid creating namespace with prefix kube-, since it is reserved for Kubernetes system namespaces.Create a new YAML file called my-namespace.yaml with the contents:apiVersion: v1 kind: Namespace metadata: name: <insert-namespace-name-here> Then run:kubectl create -f ./my-namespace.yaml Alternatively, you can create namespace using below command:kubectl create namespace <insert-namespace-name-here> The name of your namespace must be a valid DNS label.There's an optional field finalizers, which allows observables to purge resources whenever the namespace is deleted. Keep in mind that if you specify a nonexistent finalizer, the namespace will be created but will get stuck in the Terminating state if the user tries to delete it.More information on finalizers can be found in the namespace design doc.Deleting a names",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/namespaces/",
    "id": "k8s_00628_qa_13862"
  },
  {
    "question": "When would you use Share a Cluster with Namespaces?",
    "answer": "Share a Cluster with NamespacesThis page shows how to view, work in, and delete namespaces. The page also shows how to use Kubernetes namespaces to subdivide your cluster.Before you beginHave an existing Kubernetes cluster.You have a basic understanding of Kubernetes Pods, Services, and Deployments.Viewing namespacesList the current namespaces in a cluster using:kubectl get namespaces NAME STATUS AGE default Active 11d kube-node-lease Active 11d kube-public Active 11d kube-system Active 11d Kubernetes starts with four initial namespaces:default The default namespace for objects with no other namespacekube-node-lease This namespace holds Lease objects associated with each node. Node leases allow the kubelet to send heartbeats so that the control plane can detect node failure.kube-public This namespace is created automatically and is readable by all users (including those not authenticated). This namespace is mostly reserved for cluster usage, in case that some resources should be visible and readable publicly throughout the whole cluster. The public aspect of this namespace is only a convention, not a requirement.kube-system The namespace for objects created by the Kubernetes systemYou can also get the summary of a specific namespace using:kubectl get namespaces <name> Or you can get detailed information with:kubectl describe namespaces <name> Name: default Labels: <none> Annotations: <none> Status: Active No resource quota. Resource Limits Type Resource Min Max Default ---- -------- --- --- --- Container cpu - - 100m Note that these details show both resource quota (if present) as well as resource limit ranges.Resource quota tracks aggregate usage of resources in the Namespace and allows cluster operators to define Hard resource usage limits that a Namespace may consume.A limit range defines min/max constraints on the amount of resources a single entity can consume in a Namespace.See Admission control: Limit RangeA namespace can be in one of two phases:Active the namespace is in useTerminating the namespace is being deleted, and can not be used for new objectsFor more details, see Namespace in the API reference.Creating a new namespaceNote:Avoid creating namespace with prefix kube-, since it is reserved for Kubernetes system namespaces.Create a new YAML file called my-namespace.yaml with the contents:apiVersion: v1 kind: Namespace metadata: name: <insert-namespace-name-here> Then run:kubectl create -f ./my-namespace.yaml Alternatively, you can create namespace using below command:kubectl create namespace <insert-namespace-name-here> The name of your namespace must be a valid DNS label.There's an optional field finalizers, which allows observables to purge resources whenever the namespace is deleted. Keep in mind that if you specify a nonexistent finalizer, the namespace will be created but will get stuck in the Terminating state if the user tries to delete it.More information on finalizers can be found in the namespace design doc.Deleting a names",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/namespaces/",
    "id": "k8s_00628_qa_13863"
  },
  {
    "question": "What are the benefits of Share a Cluster with Namespaces?",
    "answer": "Share a Cluster with NamespacesThis page shows how to view, work in, and delete namespaces. The page also shows how to use Kubernetes namespaces to subdivide your cluster.Before you beginHave an existing Kubernetes cluster.You have a basic understanding of Kubernetes Pods, Services, and Deployments.Viewing namespacesList the current namespaces in a cluster using:kubectl get namespaces NAME STATUS AGE default Active 11d kube-node-lease Active 11d kube-public Active 11d kube-system Active 11d Kubernetes starts with four initial namespaces:default The default namespace for objects with no other namespacekube-node-lease This namespace holds Lease objects associated with each node. Node leases allow the kubelet to send heartbeats so that the control plane can detect node failure.kube-public This namespace is created automatically and is readable by all users (including those not authenticated). This namespace is mostly reserved for cluster usage, in case that some resources should be visible and readable publicly throughout the whole cluster. The public aspect of this namespace is only a convention, not a requirement.kube-system The namespace for objects created by the Kubernetes systemYou can also get the summary of a specific namespace using:kubectl get namespaces <name> Or you can get detailed information with:kubectl describe namespaces <name> Name: default Labels: <none> Annotations: <none> Status: Active No resource quota. Resource Limits Type Resource Min Max Default ---- -------- --- --- --- Container cpu - - 100m Note that these details show both resource quota (if present) as well as resource limit ranges.Resource quota tracks aggregate usage of resources in the Namespace and allows cluster operators to define Hard resource usage limits that a Namespace may consume.A limit range defines min/max constraints on the amount of resources a single entity can consume in a Namespace.See Admission control: Limit RangeA namespace can be in one of two phases:Active the namespace is in useTerminating the namespace is being deleted, and can not be used for new objectsFor more details, see Namespace in the API reference.Creating a new namespaceNote:Avoid creating namespace with prefix kube-, since it is reserved for Kubernetes system namespaces.Create a new YAML file called my-namespace.yaml with the contents:apiVersion: v1 kind: Namespace metadata: name: <insert-namespace-name-here> Then run:kubectl create -f ./my-namespace.yaml Alternatively, you can create namespace using below command:kubectl create namespace <insert-namespace-name-here> The name of your namespace must be a valid DNS label.There's an optional field finalizers, which allows observables to purge resources whenever the namespace is deleted. Keep in mind that if you specify a nonexistent finalizer, the namespace will be created but will get stuck in the Terminating state if the user tries to delete it.More information on finalizers can be found in the namespace design doc.Deleting a names",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/namespaces/",
    "id": "k8s_00628_qa_13864"
  },
  {
    "question": "What is Share a Cluster with Namespaces?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   v i e w ,   w o r k   i n ,   a n d   d e l e t e   n a m e s p a c e s .   T h e   p a g e   a l s o   s h o w s   h o w   t o   u s e   K u b e r n e t e s   n a m e s p a c e s   t o   s u b d i v i d e   y o u r   c l u s t e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/namespaces/",
    "id": "k8s_00628_section_1_13865"
  },
  {
    "question": "What is Before you begin?",
    "answer": "H a v e   a n   e x i s t i n g   K u b e r n e t e s   c l u s t e r . Y o u   h a v e   a   b a s i c   u n d e r s t a n d i n g   o f   K u b e r n e t e s   P o d s ,   S e r v i c e s ,   a n d   D e p l o y m e n t s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/namespaces/",
    "id": "k8s_00628_section_2_13866"
  },
  {
    "question": "What is Viewing namespaces?",
    "answer": "L i s t   t h e   c u r r e n t   n a m e s p a c e s   i n   a   c l u s t e r   u s i n g :   k u b e c t l   g e t   n a m e s p a c e s   N A M E   S T A T U S   A G E   d e f a u l t   A c t i v e   1 1 d   k u b e - n o d e - l e a s e   A c t i v e   1 1 d   k u b e - p u b l i c   A c t i v e   1 1 d   k u b e - s y s t e m   A c t i v e   1 1 d   K u b e r n e t e s   s t a r t s   w i t h   f o u r   i n i t i a l   n a m e s p a c e s :   d e f a u l t   T h e   d e f a u l t   n a m e s p a c e   f o r   o b j e c t s   w i t h   n o   o t h e r   n a m e s p a c e k u b e - n o d e - l e a s e   T h i s   n a m e s p a c e   h o l d s   L e a s e   o b j e c t s   a s s o c i a t e d   w i t h   e a c h   n o d e .   N o d e   l e a s e s   a l l o w   t h e   k u b e l e t   t o   s e n d   h e a r t b e a t s   s o   t h a t   t h e   c o n t r o l   p l a n e   c a n   d e t e c t   n o d e   f a i l u r e . k u b e - p u b l i c   T h i s   n a m e s p a c e   i s   c r e a t e d   a u t o m a t i c a l l y   a n d   i s   r e a d a b l e   b y   a l l   u s e r s   ( i n c l u d i n g   t h o s e   n o t   a u t h e n t i c a t e d ) .   T h i s   n a m e s p a c e   i s   m o s t l y   r e s e r v e d   f o r   c l u s t e r   u s a g e ,   i n   c a s e   t h a t   s o m e   r e s o u r c e s   s h o u l d   b e   v i s i b l e   a n d   r e a d a b l e   p u b l i c l y   t h r o u g h o u t   t h e   w h o l e   c l u s t e r .   T h e   p u b l i c   a s p e c t   o f   t h i s   n a m e s p a c e   i s   o n l y   a   c o n v e n t i o n ,   n o t   a   r e q u i r e m e n t . k u b e - s y s t e m   T h e   n a m e s p a c e   f o r   o b j e c t s   c r e a t e d   b y   t h e   K u b e r n e t e s   s y s t e m   Y o u   c a n   a l s o   g e t   t h e   s u m m a r y   o f   a   s p e c i f i c   n a m e s p a c e   u s i n g :   k u b e c t l   g e t   n a m e s p a c e s   < n a m e >   O r   y o u   c a n   g e t   d e t a i l e d   i ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/namespaces/",
    "id": "k8s_00628_section_2_13867"
  },
  {
    "question": "What is Note:?",
    "answer": "C r e a t e   a   n e w   Y A M L   f i l e   c a l l e d   m y - n a m e s p a c e . y a m l   w i t h   t h e   c o n t e n t s :   a p i V e r s i o n :   v 1   k i n d :   N a m e s p a c e   m e t a d a t a :   n a m e :   < i n s e r t - n a m e s p a c e - n a m e - h e r e >   T h e n   r u n :   k u b e c t l   c r e a t e   - f   . / m y - n a m e s p a c e . y a m l   A l t e r n a t i v e l y ,   y o u   c a n   c r e a t e   n a m e s p a c e   u s i n g   b e l o w   c o m m a n d :   k u b e c t l   c r e a t e   n a m e s p a c e   < i n s e r t - n a m e s p a c e - n a m e - h e r e >   T h e   n a m e   o f   y o u r   n a m e s p a c e   m u s t   b e   a   v a l i d   D N S   l a b e l .   T h e r e ' s   a n   o p t i o n a l   f i e l d   f i n a l i z e r s ,   w h i c h   a l l o w s   o b s e r v a b l e s   t o   p u r g e   r e s o u r c e s   w h e n e v e r   t h e   n a m e s p a c e   i s   d e l e t e d .   K e e p   i n   m i n d   t h a t   i f   y o u   s p e c i f y   a   n o n e x i s t e n t   f i n a l i z e r ,   t h e   n a m e s p a c e   w i l l   b e   c r e a t e d   b u t   w i l l   g e t   s t u c k   i n   t h e   T e r m i n a t i n g   s t a t e   i f   t h e   u s e r   t r i e s   t o   d e l e t e   i t .   M o r e   i n f o r m a t i o n   o n   f i n a l i z e r s   c a n   b e   f o u n d   i n   t h e   n a m e s p a c e   d e s i g n   d o c .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/namespaces/",
    "id": "k8s_00628_section_4_13868"
  },
  {
    "question": "What is Deleting a namespace?",
    "answer": "D e l e t e   a   n a m e s p a c e   w i t h   k u b e c t l   d e l e t e   n a m e s p a c e s   < i n s e r t - s o m e - n a m e s p a c e - n a m e >",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/namespaces/",
    "id": "k8s_00628_section_2_13869"
  },
  {
    "question": "What is Warning:?",
    "answer": "T h i s   d e l e t e   i s   a s y n c h r o n o u s ,   s o   f o r   a   t i m e   y o u   w i l l   s e e   t h e   n a m e s p a c e   i n   t h e   T e r m i n a t i n g   s t a t e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/namespaces/",
    "id": "k8s_00628_section_4_13870"
  },
  {
    "question": "What is Subdividing your cluster using Kubernetes namespaces?",
    "answer": "B y   d e f a u l t ,   a   K u b e r n e t e s   c l u s t e r   w i l l   i n s t a n t i a t e   a   d e f a u l t   n a m e s p a c e   w h e n   p r o v i s i o n i n g   t h e   c l u s t e r   t o   h o l d   t h e   d e f a u l t   s e t   o f   P o d s ,   S e r v i c e s ,   a n d   D e p l o y m e n t s   u s e d   b y   t h e   c l u s t e r .   A s s u m i n g   y o u   h a v e   a   f r e s h   c l u s t e r ,   y o u   c a n   i n t r o s p e c t   t h e   a v a i l a b l e   n a m e s p a c e s   b y   d o i n g   t h e   f o l l o w i n g :   k u b e c t l   g e t   n a m e s p a c e s   N A M E   S T A T U S   A G E   d e f a u l t   A c t i v e   1 3 m",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/namespaces/",
    "id": "k8s_00628_section_2_13871"
  },
  {
    "question": "What is Create new namespaces?",
    "answer": "F o r   t h i s   e x e r c i s e ,   w e   w i l l   c r e a t e   t w o   a d d i t i o n a l   K u b e r n e t e s   n a m e s p a c e s   t o   h o l d   o u r   c o n t e n t .   I n   a   s c e n a r i o   w h e r e   a n   o r g a n i z a t i o n   i s   u s i n g   a   s h a r e d   K u b e r n e t e s   c l u s t e r   f o r   d e v e l o p m e n t   a n d   p r o d u c t i o n   u s e   c a s e s :   T h e   d e v e l o p m e n t   t e a m   w o u l d   l i k e   t o   m a i n t a i n   a   s p a c e   i n   t h e   c l u s t e r   w h e r e   t h e y   c a n   g e t   a   v i e w   o n   t h e   l i s t   o f   P o d s ,   S e r v i c e s ,   a n d   D e p l o y m e n t s   t h e y   u s e   t o   b u i l d   a n d   r u n   t h e i r   a p p l i c a t i o n .   I n   t h i s   s p a c e ,   K u b e r n e t e s   r e s o u r c e s   c o m e   a n d   g o ,   a n d   t h e   r e s t r i c t i o n s   o n   w h o   c a n   o r   c a n n o t   m o d i f y   r e s o u r c e s   a r e   r e l a x e d   t o   e n a b l e   a g i l e   d e v e l o p m e n t . T h e   o p e r a t i o n s   t e a m   w o u l d   l i k e   t o   m a i n t a i n   a   s p a c e   i n   t h e   c l u s t e r   w h e r e   t h e y   c a n   e n f o r c e   s t r i c t   p r o c e d u r e s   o n   w h o   c a n   o r   c a n n o t   m a n i p u l a t e   t h e   s e t   o f   P o d s ,   S e r v i c e s ,   a n d   D e p l o y m e n t s   t h a t   r u n   t h e   p r o d u c t i o n   s i t e .   T h e   d e v e l o p m e n t   t e a m   w o u l d   l i k e   t o   m a i n t a i n   a   s p a c e   i n   t h e   c l u s t e r   w h e r e   t h e y   c a n   g e t   a   v i e w   o n   t h e   l i s t   o f   P o d s ,   S e r v i c e s ,   a n d   D e p l o y m e n t s   t h e y   u s e   t o   b u i l d   a n d   r u n   t h e i r   a p p l i c a t i o n .   I n   t h i s   s p a c e ,   K u b e r n e t e s   r e s o u r c e s   c o m e   a n d   g o ,   a n d   t h e   r e s t r i ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/namespaces/",
    "id": "k8s_00628_section_3_13872"
  },
  {
    "question": "What is Create pods in each namespace?",
    "answer": "A   K u b e r n e t e s   n a m e s p a c e   p r o v i d e s   t h e   s c o p e   f o r   P o d s ,   S e r v i c e s ,   a n d   D e p l o y m e n t s   i n   t h e   c l u s t e r .   U s e r s   i n t e r a c t i n g   w i t h   o n e   n a m e s p a c e   d o   n o t   s e e   t h e   c o n t e n t   i n   a n o t h e r   n a m e s p a c e .   T o   d e m o n s t r a t e   t h i s ,   l e t ' s   s p i n   u p   a   s i m p l e   D e p l o y m e n t   a n d   P o d s   i n   t h e   d e v e l o p m e n t   n a m e s p a c e .   k u b e c t l   c r e a t e   d e p l o y m e n t   s n o w f l a k e   \\   - - i m a g e = r e g i s t r y . k 8 s . i o / s e r v e _ h o s t n a m e   \\   - n = d e v e l o p m e n t   - - r e p l i c a s = 2   W e   h a v e   c r e a t e d   a   d e p l o y m e n t   w h o s e   r e p l i c a   s i z e   i s   2   t h a t   i s   r u n n i n g   t h e   p o d   c a l l e d   s n o w f l a k e   w i t h   a   b a s i c   c o n t a i n e r   t h a t   s e r v e s   t h e   h o s t n a m e .   k u b e c t l   g e t   d e p l o y m e n t   - n = d e v e l o p m e n t   N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   s n o w f l a k e   2 / 2   2   2   2 m   k u b e c t l   g e t   p o d s   - l   a p p = s n o w f l a k e   - n = d e v e l o p m e n t   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   s n o w f l a k e - 3 9 6 8 8 2 0 9 5 0 - 9 d g r 8   1 / 1   R u n n i n g   0   2 m   s n o w f l a k e - 3 9 6 8 8 2 0 9 5 0 - v g c 4 n   1 / 1   R u n n i n g   0   2 m   A n d   t h i s   i s   g r e a t ,   d e v e l o p e r s   a r e   a b l e   t o   d o   w h a t   t h e y   w a n t ,   a n d   t h e y   d o   n o t   h a v e   t o   w o r r y   a b o u t   a f f e c t i n g   c o n t e n t   i n   t h e   p r o d u c t i o n   n a m e s p a c e .   L e t ' s   s w i t c h   t o   t h e   p r o d u c t i o n   n a m e s p a c e   a n d   s h o w   h o w   r e s o u r c e s   i n   o n e   n a ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/namespaces/",
    "id": "k8s_00628_section_3_13873"
  },
  {
    "question": "What is Understanding the motivation for using namespaces?",
    "answer": "A   s i n g l e   c l u s t e r   s h o u l d   b e   a b l e   t o   s a t i s f y   t h e   n e e d s   o f   m u l t i p l e   u s e r s   o r   g r o u p s   o f   u s e r s   ( h e n c e f o r t h   i n   t h i s   d o c u m e n t   a   u s e r   c o m m u n i t y ) .   K u b e r n e t e s   n a m e s p a c e s   h e l p   d i f f e r e n t   p r o j e c t s ,   t e a m s ,   o r   c u s t o m e r s   t o   s h a r e   a   K u b e r n e t e s   c l u s t e r .   I t   d o e s   t h i s   b y   p r o v i d i n g   t h e   f o l l o w i n g :   A   s c o p e   f o r   n a m e s . A   m e c h a n i s m   t o   a t t a c h   a u t h o r i z a t i o n   a n d   p o l i c y   t o   a   s u b s e c t i o n   o f   t h e   c l u s t e r .   U s e   o f   m u l t i p l e   n a m e s p a c e s   i s   o p t i o n a l .   E a c h   u s e r   c o m m u n i t y   w a n t s   t o   b e   a b l e   t o   w o r k   i n   i s o l a t i o n   f r o m   o t h e r   c o m m u n i t i e s .   E a c h   u s e r   c o m m u n i t y   h a s   i t s   o w n :   r e s o u r c e s   ( p o d s ,   s e r v i c e s ,   r e p l i c a t i o n   c o n t r o l l e r s ,   e t c . ) p o l i c i e s   ( w h o   c a n   o r   c a n n o t   p e r f o r m   a c t i o n s   i n   t h e i r   c o m m u n i t y ) c o n s t r a i n t s   ( t h i s   c o m m u n i t y   i s   a l l o w e d   t h i s   m u c h   q u o t a ,   e t c . )   A   c l u s t e r   o p e r a t o r   m a y   c r e a t e   a   N a m e s p a c e   f o r   e a c h   u n i q u e   u s e r   c o m m u n i t y .   T h e   N a m e s p a c e   p r o v i d e s   a   u n i q u e   s c o p e   f o r :   n a m e d   r e s o u r c e s   ( t o   a v o i d   b a s i c   n a m i n g   c o l l i s i o n s ) d e l e g a t e d   m a n a g e m e n t   a u t h o r i t y   t o   t r u s t e d   u s e r s a b i l i t y   t o   l i m i t   c o m m u n i t y   r e s o u r c e   c o n s u m p t i o n   U s e   c a s e s   i n c l u d e :   A s   a   c l u ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/namespaces/",
    "id": "k8s_00628_section_2_13874"
  },
  {
    "question": "What is Understanding namespaces and DNS?",
    "answer": "W h e n   y o u   c r e a t e   a   S e r v i c e ,   i t   c r e a t e s   a   c o r r e s p o n d i n g   D N S   e n t r y .   T h i s   e n t r y   i s   o f   t h e   f o r m   < s e r v i c e - n a m e > . < n a m e s p a c e - n a m e > . s v c . c l u s t e r . l o c a l ,   w h i c h   m e a n s   t h a t   i f   a   c o n t a i n e r   u s e s   < s e r v i c e - n a m e >   i t   w i l l   r e s o l v e   t o   t h e   s e r v i c e   w h i c h   i s   l o c a l   t o   a   n a m e s p a c e .   T h i s   i s   u s e f u l   f o r   u s i n g   t h e   s a m e   c o n f i g u r a t i o n   a c r o s s   m u l t i p l e   n a m e s p a c e s   s u c h   a s   D e v e l o p m e n t ,   S t a g i n g   a n d   P r o d u c t i o n .   I f   y o u   w a n t   t o   r e a c h   a c r o s s   n a m e s p a c e s ,   y o u   n e e d   t o   u s e   t h e   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N ) .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/namespaces/",
    "id": "k8s_00628_section_2_13875"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   s e t t i n g   t h e   n a m e s p a c e   p r e f e r e n c e . L e a r n   m o r e   a b o u t   s e t t i n g   t h e   n a m e s p a c e   f o r   a   r e q u e s t S e e   n a m e s p a c e s   d e s i g n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/namespaces/",
    "id": "k8s_00628_section_2_13876"
  },
  {
    "question": "What is Reconfiguring a kubeadm cluster?",
    "answer": "Reconfiguring a kubeadm clusterkubeadm does not support automated ways of reconfiguring components that were deployed on managed nodes. One way of automating this would be by using a custom operator.To modify the components configuration you must manually edit associated cluster objects and files on disk.This guide shows the correct sequence of steps that need to be performed to achieve kubeadm cluster reconfiguration.Before you beginYou need a cluster that was deployed using kubeadmHave administrator credentials (/etc/kubernetes/admin.conf) and network connectivity to a running kube-apiserver in the cluster from a host that has kubectl installedHave a text editor installed on all hostsReconfiguring the clusterkubeadm writes a set of cluster wide component configuration options in ConfigMaps and other objects. These objects must be manually edited. The command kubectl edit can be used for that.The kubectl edit command will open a text editor where you can edit and save the object directly.You can use the environment variables KUBECONFIG and KUBE_EDITOR to specify the location of the kubectl consumed kubeconfig file and preferred text editor.For example:KUBECONFIG=/etc/kubernetes/admin.conf KUBE_EDITOR=nano kubectl edit <parameters> Note:Upon saving any changes to these cluster objects, components running on nodes may not be automatically updated. The steps below instruct you on how to perform that manually.Warning:Component configuration in ConfigMaps is stored as unstructured data (YAML string). This means that validation will not be performed upon updating the contents of a ConfigMap. You have to be careful to follow the documented API format for a particular component configuration and avoid introducing typos and YAML indentation mistakes.Applying cluster configuration changesUpdating the ClusterConfigurationDuring cluster creation and upgrade, kubeadm writes its ClusterConfiguration in a ConfigMap called kubeadm-config in the kube-system namespace.To change a particular option in the ClusterConfiguration you can edit the ConfigMap with this command:kubectl edit cm -n kube-system kubeadm-config The configuration is located under the data.ClusterConfiguration key.Note:The ClusterConfiguration includes a variety of options that affect the configuration of individual components such as kube-apiserver, kube-scheduler, kube-controller-manager, CoreDNS, etcd and kube-proxy. Changes to the configuration must be reflected on node components manually.Reflecting ClusterConfiguration changes on control plane nodeskubeadm manages the control plane components as static Pod manifests located in the directory /etc/kubernetes/manifests. Any changes to the ClusterConfiguration under the apiServer, controllerManager, scheduler or etcd keys must be reflected in the associated files in the manifests directory on a control plane node.Such changes may include:extraArgs - requires updating the list of flags passed to a component containerextraVolumes - requires upda",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/",
    "id": "k8s_00629_qa_13877"
  },
  {
    "question": "How does Reconfiguring a kubeadm cluster work?",
    "answer": "Reconfiguring a kubeadm clusterkubeadm does not support automated ways of reconfiguring components that were deployed on managed nodes. One way of automating this would be by using a custom operator.To modify the components configuration you must manually edit associated cluster objects and files on disk.This guide shows the correct sequence of steps that need to be performed to achieve kubeadm cluster reconfiguration.Before you beginYou need a cluster that was deployed using kubeadmHave administrator credentials (/etc/kubernetes/admin.conf) and network connectivity to a running kube-apiserver in the cluster from a host that has kubectl installedHave a text editor installed on all hostsReconfiguring the clusterkubeadm writes a set of cluster wide component configuration options in ConfigMaps and other objects. These objects must be manually edited. The command kubectl edit can be used for that.The kubectl edit command will open a text editor where you can edit and save the object directly.You can use the environment variables KUBECONFIG and KUBE_EDITOR to specify the location of the kubectl consumed kubeconfig file and preferred text editor.For example:KUBECONFIG=/etc/kubernetes/admin.conf KUBE_EDITOR=nano kubectl edit <parameters> Note:Upon saving any changes to these cluster objects, components running on nodes may not be automatically updated. The steps below instruct you on how to perform that manually.Warning:Component configuration in ConfigMaps is stored as unstructured data (YAML string). This means that validation will not be performed upon updating the contents of a ConfigMap. You have to be careful to follow the documented API format for a particular component configuration and avoid introducing typos and YAML indentation mistakes.Applying cluster configuration changesUpdating the ClusterConfigurationDuring cluster creation and upgrade, kubeadm writes its ClusterConfiguration in a ConfigMap called kubeadm-config in the kube-system namespace.To change a particular option in the ClusterConfiguration you can edit the ConfigMap with this command:kubectl edit cm -n kube-system kubeadm-config The configuration is located under the data.ClusterConfiguration key.Note:The ClusterConfiguration includes a variety of options that affect the configuration of individual components such as kube-apiserver, kube-scheduler, kube-controller-manager, CoreDNS, etcd and kube-proxy. Changes to the configuration must be reflected on node components manually.Reflecting ClusterConfiguration changes on control plane nodeskubeadm manages the control plane components as static Pod manifests located in the directory /etc/kubernetes/manifests. Any changes to the ClusterConfiguration under the apiServer, controllerManager, scheduler or etcd keys must be reflected in the associated files in the manifests directory on a control plane node.Such changes may include:extraArgs - requires updating the list of flags passed to a component containerextraVolumes - requires upda",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/",
    "id": "k8s_00629_qa_13878"
  },
  {
    "question": "When would you use Reconfiguring a kubeadm cluster?",
    "answer": "Reconfiguring a kubeadm clusterkubeadm does not support automated ways of reconfiguring components that were deployed on managed nodes. One way of automating this would be by using a custom operator.To modify the components configuration you must manually edit associated cluster objects and files on disk.This guide shows the correct sequence of steps that need to be performed to achieve kubeadm cluster reconfiguration.Before you beginYou need a cluster that was deployed using kubeadmHave administrator credentials (/etc/kubernetes/admin.conf) and network connectivity to a running kube-apiserver in the cluster from a host that has kubectl installedHave a text editor installed on all hostsReconfiguring the clusterkubeadm writes a set of cluster wide component configuration options in ConfigMaps and other objects. These objects must be manually edited. The command kubectl edit can be used for that.The kubectl edit command will open a text editor where you can edit and save the object directly.You can use the environment variables KUBECONFIG and KUBE_EDITOR to specify the location of the kubectl consumed kubeconfig file and preferred text editor.For example:KUBECONFIG=/etc/kubernetes/admin.conf KUBE_EDITOR=nano kubectl edit <parameters> Note:Upon saving any changes to these cluster objects, components running on nodes may not be automatically updated. The steps below instruct you on how to perform that manually.Warning:Component configuration in ConfigMaps is stored as unstructured data (YAML string). This means that validation will not be performed upon updating the contents of a ConfigMap. You have to be careful to follow the documented API format for a particular component configuration and avoid introducing typos and YAML indentation mistakes.Applying cluster configuration changesUpdating the ClusterConfigurationDuring cluster creation and upgrade, kubeadm writes its ClusterConfiguration in a ConfigMap called kubeadm-config in the kube-system namespace.To change a particular option in the ClusterConfiguration you can edit the ConfigMap with this command:kubectl edit cm -n kube-system kubeadm-config The configuration is located under the data.ClusterConfiguration key.Note:The ClusterConfiguration includes a variety of options that affect the configuration of individual components such as kube-apiserver, kube-scheduler, kube-controller-manager, CoreDNS, etcd and kube-proxy. Changes to the configuration must be reflected on node components manually.Reflecting ClusterConfiguration changes on control plane nodeskubeadm manages the control plane components as static Pod manifests located in the directory /etc/kubernetes/manifests. Any changes to the ClusterConfiguration under the apiServer, controllerManager, scheduler or etcd keys must be reflected in the associated files in the manifests directory on a control plane node.Such changes may include:extraArgs - requires updating the list of flags passed to a component containerextraVolumes - requires upda",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/",
    "id": "k8s_00629_qa_13879"
  },
  {
    "question": "What are the benefits of Reconfiguring a kubeadm cluster?",
    "answer": "Reconfiguring a kubeadm clusterkubeadm does not support automated ways of reconfiguring components that were deployed on managed nodes. One way of automating this would be by using a custom operator.To modify the components configuration you must manually edit associated cluster objects and files on disk.This guide shows the correct sequence of steps that need to be performed to achieve kubeadm cluster reconfiguration.Before you beginYou need a cluster that was deployed using kubeadmHave administrator credentials (/etc/kubernetes/admin.conf) and network connectivity to a running kube-apiserver in the cluster from a host that has kubectl installedHave a text editor installed on all hostsReconfiguring the clusterkubeadm writes a set of cluster wide component configuration options in ConfigMaps and other objects. These objects must be manually edited. The command kubectl edit can be used for that.The kubectl edit command will open a text editor where you can edit and save the object directly.You can use the environment variables KUBECONFIG and KUBE_EDITOR to specify the location of the kubectl consumed kubeconfig file and preferred text editor.For example:KUBECONFIG=/etc/kubernetes/admin.conf KUBE_EDITOR=nano kubectl edit <parameters> Note:Upon saving any changes to these cluster objects, components running on nodes may not be automatically updated. The steps below instruct you on how to perform that manually.Warning:Component configuration in ConfigMaps is stored as unstructured data (YAML string). This means that validation will not be performed upon updating the contents of a ConfigMap. You have to be careful to follow the documented API format for a particular component configuration and avoid introducing typos and YAML indentation mistakes.Applying cluster configuration changesUpdating the ClusterConfigurationDuring cluster creation and upgrade, kubeadm writes its ClusterConfiguration in a ConfigMap called kubeadm-config in the kube-system namespace.To change a particular option in the ClusterConfiguration you can edit the ConfigMap with this command:kubectl edit cm -n kube-system kubeadm-config The configuration is located under the data.ClusterConfiguration key.Note:The ClusterConfiguration includes a variety of options that affect the configuration of individual components such as kube-apiserver, kube-scheduler, kube-controller-manager, CoreDNS, etcd and kube-proxy. Changes to the configuration must be reflected on node components manually.Reflecting ClusterConfiguration changes on control plane nodeskubeadm manages the control plane components as static Pod manifests located in the directory /etc/kubernetes/manifests. Any changes to the ClusterConfiguration under the apiServer, controllerManager, scheduler or etcd keys must be reflected in the associated files in the manifests directory on a control plane node.Such changes may include:extraArgs - requires updating the list of flags passed to a component containerextraVolumes - requires upda",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/",
    "id": "k8s_00629_qa_13880"
  },
  {
    "question": "What is Reconfiguring a kubeadm cluster?",
    "answer": "k u b e a d m   d o e s   n o t   s u p p o r t   a u t o m a t e d   w a y s   o f   r e c o n f i g u r i n g   c o m p o n e n t s   t h a t   w e r e   d e p l o y e d   o n   m a n a g e d   n o d e s .   O n e   w a y   o f   a u t o m a t i n g   t h i s   w o u l d   b e   b y   u s i n g   a   c u s t o m   o p e r a t o r .   T o   m o d i f y   t h e   c o m p o n e n t s   c o n f i g u r a t i o n   y o u   m u s t   m a n u a l l y   e d i t   a s s o c i a t e d   c l u s t e r   o b j e c t s   a n d   f i l e s   o n   d i s k .   T h i s   g u i d e   s h o w s   t h e   c o r r e c t   s e q u e n c e   o f   s t e p s   t h a t   n e e d   t o   b e   p e r f o r m e d   t o   a c h i e v e   k u b e a d m   c l u s t e r   r e c o n f i g u r a t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/",
    "id": "k8s_00629_section_1_13881"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   a   c l u s t e r   t h a t   w a s   d e p l o y e d   u s i n g   k u b e a d m H a v e   a d m i n i s t r a t o r   c r e d e n t i a l s   ( / e t c / k u b e r n e t e s / a d m i n . c o n f )   a n d   n e t w o r k   c o n n e c t i v i t y   t o   a   r u n n i n g   k u b e - a p i s e r v e r   i n   t h e   c l u s t e r   f r o m   a   h o s t   t h a t   h a s   k u b e c t l   i n s t a l l e d H a v e   a   t e x t   e d i t o r   i n s t a l l e d   o n   a l l   h o s t s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/",
    "id": "k8s_00629_section_2_13882"
  },
  {
    "question": "What is Reconfiguring the cluster?",
    "answer": "k u b e a d m   w r i t e s   a   s e t   o f   c l u s t e r   w i d e   c o m p o n e n t   c o n f i g u r a t i o n   o p t i o n s   i n   C o n f i g M a p s   a n d   o t h e r   o b j e c t s .   T h e s e   o b j e c t s   m u s t   b e   m a n u a l l y   e d i t e d .   T h e   c o m m a n d   k u b e c t l   e d i t   c a n   b e   u s e d   f o r   t h a t .   T h e   k u b e c t l   e d i t   c o m m a n d   w i l l   o p e n   a   t e x t   e d i t o r   w h e r e   y o u   c a n   e d i t   a n d   s a v e   t h e   o b j e c t   d i r e c t l y .   Y o u   c a n   u s e   t h e   e n v i r o n m e n t   v a r i a b l e s   K U B E C O N F I G   a n d   K U B E _ E D I T O R   t o   s p e c i f y   t h e   l o c a t i o n   o f   t h e   k u b e c t l   c o n s u m e d   k u b e c o n f i g   f i l e   a n d   p r e f e r r e d   t e x t   e d i t o r .   F o r   e x a m p l e :   K U B E C O N F I G = / e t c / k u b e r n e t e s / a d m i n . c o n f   K U B E _ E D I T O R = n a n o   k u b e c t l   e d i t   < p a r a m e t e r s >",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/",
    "id": "k8s_00629_section_2_13883"
  },
  {
    "question": "What is Updating the ClusterConfiguration?",
    "answer": "D u r i n g   c l u s t e r   c r e a t i o n   a n d   u p g r a d e ,   k u b e a d m   w r i t e s   i t s   C l u s t e r C o n f i g u r a t i o n   i n   a   C o n f i g M a p   c a l l e d   k u b e a d m - c o n f i g   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   T o   c h a n g e   a   p a r t i c u l a r   o p t i o n   i n   t h e   C l u s t e r C o n f i g u r a t i o n   y o u   c a n   e d i t   t h e   C o n f i g M a p   w i t h   t h i s   c o m m a n d :   k u b e c t l   e d i t   c m   - n   k u b e - s y s t e m   k u b e a d m - c o n f i g   T h e   c o n f i g u r a t i o n   i s   l o c a t e d   u n d e r   t h e   d a t a . C l u s t e r C o n f i g u r a t i o n   k e y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/",
    "id": "k8s_00629_section_4_13884"
  },
  {
    "question": "What is Reflecting ClusterConfiguration changes on control plane nodes?",
    "answer": "k u b e a d m   m a n a g e s   t h e   c o n t r o l   p l a n e   c o m p o n e n t s   a s   s t a t i c   P o d   m a n i f e s t s   l o c a t e d   i n   t h e   d i r e c t o r y   / e t c / k u b e r n e t e s / m a n i f e s t s .   A n y   c h a n g e s   t o   t h e   C l u s t e r C o n f i g u r a t i o n   u n d e r   t h e   a p i S e r v e r ,   c o n t r o l l e r M a n a g e r ,   s c h e d u l e r   o r   e t c d   k e y s   m u s t   b e   r e f l e c t e d   i n   t h e   a s s o c i a t e d   f i l e s   i n   t h e   m a n i f e s t s   d i r e c t o r y   o n   a   c o n t r o l   p l a n e   n o d e .   S u c h   c h a n g e s   m a y   i n c l u d e :   e x t r a A r g s   -   r e q u i r e s   u p d a t i n g   t h e   l i s t   o f   f l a g s   p a s s e d   t o   a   c o m p o n e n t   c o n t a i n e r e x t r a V o l u m e s   -   r e q u i r e s   u p d a t i n g   t h e   v o l u m e   m o u n t s   f o r   a   c o m p o n e n t   c o n t a i n e r * S A N s   -   r e q u i r e s   w r i t i n g   n e w   c e r t i f i c a t e s   w i t h   u p d a t e d   S u b j e c t   A l t e r n a t i v e   N a m e s   B e f o r e   p r o c e e d i n g   w i t h   t h e s e   c h a n g e s ,   m a k e   s u r e   y o u   h a v e   b a c k e d   u p   t h e   d i r e c t o r y   / e t c / k u b e r n e t e s / .   T o   w r i t e   n e w   c e r t i f i c a t e s   y o u   c a n   u s e :   k u b e a d m   i n i t   p h a s e   c e r t s   < c o m p o n e n t - n a m e >   - - c o n f i g   < c o n f i g - f i l e >   T o   w r i t e   n e w   m a n i f e s t   f i l e s   i n   / e t c / k u b e r n e t e s / m a n i f e s t s   y o u   c a n   u s e :   #   F o r   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t s   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   < c o m p o n e n t - n a m e >   - - c o n f i g   < c o n f i g - f i l e >   #   F o r   l o c a l   e t c d   k u b e a d m   i n i t   p h ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/",
    "id": "k8s_00629_section_4_13885"
  },
  {
    "question": "What is Updating the KubeletConfiguration?",
    "answer": "D u r i n g   c l u s t e r   c r e a t i o n   a n d   u p g r a d e ,   k u b e a d m   w r i t e s   i t s   K u b e l e t C o n f i g u r a t i o n   i n   a   C o n f i g M a p   c a l l e d   k u b e l e t - c o n f i g   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   Y o u   c a n   e d i t   t h e   C o n f i g M a p   w i t h   t h i s   c o m m a n d :   k u b e c t l   e d i t   c m   - n   k u b e - s y s t e m   k u b e l e t - c o n f i g   T h e   c o n f i g u r a t i o n   i s   l o c a t e d   u n d e r   t h e   d a t a . k u b e l e t   k e y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/",
    "id": "k8s_00629_section_4_13886"
  },
  {
    "question": "What is Reflecting the kubelet changes?",
    "answer": "T o   r e f l e c t   t h e   c h a n g e   o n   k u b e a d m   n o d e s   y o u   m u s t   d o   t h e   f o l l o w i n g :   L o g   i n   t o   a   k u b e a d m   n o d e R u n   k u b e a d m   u p g r a d e   n o d e   p h a s e   k u b e l e t - c o n f i g   t o   d o w n l o a d   t h e   l a t e s t   k u b e l e t - c o n f i g   C o n f i g M a p   c o n t e n t s   i n t o   t h e   l o c a l   f i l e   / v a r / l i b / k u b e l e t / c o n f i g . y a m l E d i t   t h e   f i l e   / v a r / l i b / k u b e l e t / k u b e a d m - f l a g s . e n v   t o   a p p l y   a d d i t i o n a l   c o n f i g u r a t i o n   w i t h   f l a g s R e s t a r t   t h e   k u b e l e t   s e r v i c e   w i t h   s y s t e m c t l   r e s t a r t   k u b e l e t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/",
    "id": "k8s_00629_section_4_13887"
  },
  {
    "question": "What is Updating the KubeProxyConfiguration?",
    "answer": "D u r i n g   c l u s t e r   c r e a t i o n   a n d   u p g r a d e ,   k u b e a d m   w r i t e s   i t s   K u b e P r o x y C o n f i g u r a t i o n   i n   a   C o n f i g M a p   i n   t h e   k u b e - s y s t e m   n a m e s p a c e   c a l l e d   k u b e - p r o x y .   T h i s   C o n f i g M a p   i s   u s e d   b y   t h e   k u b e - p r o x y   D a e m o n S e t   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   T o   c h a n g e   a   p a r t i c u l a r   o p t i o n   i n   t h e   K u b e P r o x y C o n f i g u r a t i o n ,   y o u   c a n   e d i t   t h e   C o n f i g M a p   w i t h   t h i s   c o m m a n d :   k u b e c t l   e d i t   c m   - n   k u b e - s y s t e m   k u b e - p r o x y   T h e   c o n f i g u r a t i o n   i s   l o c a t e d   u n d e r   t h e   d a t a . c o n f i g . c o n f   k e y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/",
    "id": "k8s_00629_section_4_13888"
  },
  {
    "question": "What is Reflecting the kube-proxy changes?",
    "answer": "O n c e   t h e   k u b e - p r o x y   C o n f i g M a p   i s   u p d a t e d ,   y o u   c a n   r e s t a r t   a l l   k u b e - p r o x y   P o d s :   D e l e t e   t h e   P o d s   w i t h :   k u b e c t l   d e l e t e   p o   - n   k u b e - s y s t e m   - l   k 8 s - a p p = k u b e - p r o x y   N e w   P o d s   t h a t   u s e   t h e   u p d a t e d   C o n f i g M a p   w i l l   b e   c r e a t e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/",
    "id": "k8s_00629_section_4_13889"
  },
  {
    "question": "What is Updating the CoreDNS Deployment and Service?",
    "answer": "k u b e a d m   d e p l o y s   C o r e D N S   a s   a   D e p l o y m e n t   c a l l e d   c o r e d n s   a n d   w i t h   a   S e r v i c e   k u b e - d n s ,   b o t h   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   T o   u p d a t e   a n y   o f   t h e   C o r e D N S   s e t t i n g s ,   y o u   c a n   e d i t   t h e   D e p l o y m e n t   a n d   S e r v i c e   o b j e c t s :   k u b e c t l   e d i t   d e p l o y m e n t   - n   k u b e - s y s t e m   c o r e d n s   k u b e c t l   e d i t   s e r v i c e   - n   k u b e - s y s t e m   k u b e - d n s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/",
    "id": "k8s_00629_section_4_13890"
  },
  {
    "question": "What is Reflecting the CoreDNS changes?",
    "answer": "O n c e   t h e   C o r e D N S   c h a n g e s   a r e   a p p l i e d   y o u   c a n   r e s t a r t   t h e   C o r e D N S   d e p l o y m e n t :   k u b e c t l   r o l l o u t   r e s t a r t   d e p l o y m e n t   - n   k u b e - s y s t e m   c o r e d n s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/",
    "id": "k8s_00629_section_4_13891"
  },
  {
    "question": "What is Persisting the reconfiguration?",
    "answer": "D u r i n g   t h e   e x e c u t i o n   o f   k u b e a d m   u p g r a d e   o n   a   m a n a g e d   n o d e ,   k u b e a d m   m i g h t   o v e r w r i t e   c o n f i g u r a t i o n   t h a t   w a s   a p p l i e d   a f t e r   t h e   c l u s t e r   w a s   c r e a t e d   ( r e c o n f i g u r a t i o n ) .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/",
    "id": "k8s_00629_section_2_13892"
  },
  {
    "question": "What is Persisting Node object reconfiguration?",
    "answer": "k u b e a d m   w r i t e s   L a b e l s ,   T a i n t s ,   C R I   s o c k e t   a n d   o t h e r   i n f o r m a t i o n   o n   t h e   N o d e   o b j e c t   f o r   a   p a r t i c u l a r   K u b e r n e t e s   n o d e .   T o   c h a n g e   a n y   o f   t h e   c o n t e n t s   o f   t h i s   N o d e   o b j e c t   y o u   c a n   u s e :   k u b e c t l   e d i t   n o   < n o d e - n a m e >   D u r i n g   k u b e a d m   u p g r a d e   t h e   c o n t e n t s   o f   s u c h   a   N o d e   m i g h t   g e t   o v e r w r i t t e n .   I f   y o u   w o u l d   l i k e   t o   p e r s i s t   y o u r   m o d i f i c a t i o n s   t o   t h e   N o d e   o b j e c t   a f t e r   u p g r a d e ,   y o u   c a n   p r e p a r e   a   k u b e c t l   p a t c h   a n d   a p p l y   i t   t o   t h e   N o d e   o b j e c t :   k u b e c t l   p a t c h   n o   < n o d e - n a m e >   - - p a t c h - f i l e   < p a t c h - f i l e >",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/",
    "id": "k8s_00629_section_3_13893"
  },
  {
    "question": "What is Persisting control plane component reconfiguration?",
    "answer": "T h e   m a i n   s o u r c e   o f   c o n t r o l   p l a n e   c o n f i g u r a t i o n   i s   t h e   C l u s t e r C o n f i g u r a t i o n   o b j e c t   s t o r e d   i n   t h e   c l u s t e r .   T o   e x t e n d   t h e   s t a t i c   P o d   m a n i f e s t s   c o n f i g u r a t i o n ,   p a t c h e s   c a n   b e   u s e d .   T h e s e   p a t c h   f i l e s   m u s t   r e m a i n   a s   f i l e s   o n   t h e   c o n t r o l   p l a n e   n o d e s   t o   e n s u r e   t h a t   t h e y   c a n   b e   u s e d   b y   t h e   k u b e a d m   u p g r a d e   . . .   - - p a t c h e s   < d i r e c t o r y > .   I f   r e c o n f i g u r a t i o n   i s   d o n e   t o   t h e   C l u s t e r C o n f i g u r a t i o n   a n d   s t a t i c   P o d   m a n i f e s t s   o n   d i s k ,   t h e   s e t   o f   n o d e   s p e c i f i c   p a t c h e s   m u s t   b e   u p d a t e d   a c c o r d i n g l y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/",
    "id": "k8s_00629_section_4_13894"
  },
  {
    "question": "What is Persisting kubelet reconfiguration?",
    "answer": "A n y   c h a n g e s   t o   t h e   K u b e l e t C o n f i g u r a t i o n   s t o r e d   i n   / v a r / l i b / k u b e l e t / c o n f i g . y a m l   w i l l   b e   o v e r w r i t t e n   o n   k u b e a d m   u p g r a d e   b y   d o w n l o a d i n g   t h e   c o n t e n t s   o f   t h e   c l u s t e r   w i d e   k u b e l e t - c o n f i g   C o n f i g M a p .   T o   p e r s i s t   k u b e l e t   n o d e   s p e c i f i c   c o n f i g u r a t i o n   e i t h e r   t h e   f i l e   / v a r / l i b / k u b e l e t / c o n f i g . y a m l   h a s   t o   b e   u p d a t e d   m a n u a l l y   p o s t - u p g r a d e   o r   t h e   f i l e   / v a r / l i b / k u b e l e t / k u b e a d m - f l a g s . e n v   c a n   i n c l u d e   f l a g s .   T h e   k u b e l e t   f l a g s   o v e r r i d e   t h e   a s s o c i a t e d   K u b e l e t C o n f i g u r a t i o n   o p t i o n s ,   b u t   n o t e   t h a t   s o m e   o f   t h e   f l a g s   a r e   d e p r e c a t e d .   A   k u b e l e t   r e s t a r t   w i l l   b e   r e q u i r e d   a f t e r   c h a n g i n g   / v a r / l i b / k u b e l e t / c o n f i g . y a m l   o r   / v a r / l i b / k u b e l e t / k u b e a d m - f l a g s . e n v .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/",
    "id": "k8s_00629_section_4_13895"
  },
  {
    "question": "What is What's next?",
    "answer": "U p g r a d i n g   k u b e a d m   c l u s t e r s C u s t o m i z i n g   c o m p o n e n t s   w i t h   t h e   k u b e a d m   A P I C e r t i f i c a t e   m a n a g e m e n t   w i t h   k u b e a d m F i n d   m o r e   a b o u t   k u b e a d m   s e t - u p",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/",
    "id": "k8s_00629_section_2_13896"
  },
  {
    "question": "What is Configure Default Memory Requests and Limits for a Namespace?",
    "answer": "Configure Default Memory Requests and Limits for a NamespaceDefine a default memory resource limit for a namespace, so that every new Pod in that namespace has a memory resource limit configured.This page shows how to configure default memory requests and limits for a namespace.A Kubernetes cluster can be divided into namespaces. Once you have a namespace that has a default memory limit, and you then try to create a Pod with a container that does not specify its own memory limit, then the control plane assigns the default memory limit to that container.Kubernetes assigns a default memory request under certain conditions that are explained later in this topic.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou must have access to create namespaces in your cluster.Each node in your cluster must have at least 2 GiB of memory.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace default-mem-example Create a LimitRange and a PodHere's a manifest for an example LimitRange. The manifest specifies a default memory request and a default memory limit.admin/resource/memory-defaults.yaml apiVersion: v1 kind: LimitRange metadata: name: mem-limit-range spec: limits: - default: memory: 512Mi defaultRequest: memory: 256Mi type: Container Create the LimitRange in the default-mem-example namespace:kubectl apply -f https://k8s.io/examples/admin/resource/memory-defaults.yaml --namespace=default-mem-example Now if you create a Pod in the default-mem-example namespace, and any container within that Pod does not specify its own values for memory request and memory limit, then the control plane applies default values: a memory request of 256MiB and a memory limit of 512MiB.Here's an example manifest for a Pod that has one container. The container does not specify a memory request and limit.admin/resource/memory-defaults-pod.yaml apiVersion: v1 kind: Pod metadata: name: default-mem-demo spec: containers: - name: default-mem-demo-ctr image: nginx Create the Pod.kubectl apply -f https://k8s.io/examples/admin/resource/memory-defaults-pod.yaml --namespace=default-mem-example View detailed information about the Pod:kubectl get pod default-mem-demo --output=yaml --namespace=default-mem-example The output shows that the Pod's container has a memory request of 256 MiB and a memory limit of 512 MiB. These are the default values specified by the LimitRange.containers: - image: nginx imagePullPolicy: Always name: default-mem-demo-ctr resources: limits: memory: 512Mi requests: memory: 256Mi Delete yo",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-default-namespace/",
    "id": "k8s_00630_qa_13897"
  },
  {
    "question": "How does Configure Default Memory Requests and Limits for a Namespace work?",
    "answer": "Configure Default Memory Requests and Limits for a NamespaceDefine a default memory resource limit for a namespace, so that every new Pod in that namespace has a memory resource limit configured.This page shows how to configure default memory requests and limits for a namespace.A Kubernetes cluster can be divided into namespaces. Once you have a namespace that has a default memory limit, and you then try to create a Pod with a container that does not specify its own memory limit, then the control plane assigns the default memory limit to that container.Kubernetes assigns a default memory request under certain conditions that are explained later in this topic.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou must have access to create namespaces in your cluster.Each node in your cluster must have at least 2 GiB of memory.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace default-mem-example Create a LimitRange and a PodHere's a manifest for an example LimitRange. The manifest specifies a default memory request and a default memory limit.admin/resource/memory-defaults.yaml apiVersion: v1 kind: LimitRange metadata: name: mem-limit-range spec: limits: - default: memory: 512Mi defaultRequest: memory: 256Mi type: Container Create the LimitRange in the default-mem-example namespace:kubectl apply -f https://k8s.io/examples/admin/resource/memory-defaults.yaml --namespace=default-mem-example Now if you create a Pod in the default-mem-example namespace, and any container within that Pod does not specify its own values for memory request and memory limit, then the control plane applies default values: a memory request of 256MiB and a memory limit of 512MiB.Here's an example manifest for a Pod that has one container. The container does not specify a memory request and limit.admin/resource/memory-defaults-pod.yaml apiVersion: v1 kind: Pod metadata: name: default-mem-demo spec: containers: - name: default-mem-demo-ctr image: nginx Create the Pod.kubectl apply -f https://k8s.io/examples/admin/resource/memory-defaults-pod.yaml --namespace=default-mem-example View detailed information about the Pod:kubectl get pod default-mem-demo --output=yaml --namespace=default-mem-example The output shows that the Pod's container has a memory request of 256 MiB and a memory limit of 512 MiB. These are the default values specified by the LimitRange.containers: - image: nginx imagePullPolicy: Always name: default-mem-demo-ctr resources: limits: memory: 512Mi requests: memory: 256Mi Delete yo",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-default-namespace/",
    "id": "k8s_00630_qa_13898"
  },
  {
    "question": "When would you use Configure Default Memory Requests and Limits for a Namespace?",
    "answer": "Configure Default Memory Requests and Limits for a NamespaceDefine a default memory resource limit for a namespace, so that every new Pod in that namespace has a memory resource limit configured.This page shows how to configure default memory requests and limits for a namespace.A Kubernetes cluster can be divided into namespaces. Once you have a namespace that has a default memory limit, and you then try to create a Pod with a container that does not specify its own memory limit, then the control plane assigns the default memory limit to that container.Kubernetes assigns a default memory request under certain conditions that are explained later in this topic.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou must have access to create namespaces in your cluster.Each node in your cluster must have at least 2 GiB of memory.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace default-mem-example Create a LimitRange and a PodHere's a manifest for an example LimitRange. The manifest specifies a default memory request and a default memory limit.admin/resource/memory-defaults.yaml apiVersion: v1 kind: LimitRange metadata: name: mem-limit-range spec: limits: - default: memory: 512Mi defaultRequest: memory: 256Mi type: Container Create the LimitRange in the default-mem-example namespace:kubectl apply -f https://k8s.io/examples/admin/resource/memory-defaults.yaml --namespace=default-mem-example Now if you create a Pod in the default-mem-example namespace, and any container within that Pod does not specify its own values for memory request and memory limit, then the control plane applies default values: a memory request of 256MiB and a memory limit of 512MiB.Here's an example manifest for a Pod that has one container. The container does not specify a memory request and limit.admin/resource/memory-defaults-pod.yaml apiVersion: v1 kind: Pod metadata: name: default-mem-demo spec: containers: - name: default-mem-demo-ctr image: nginx Create the Pod.kubectl apply -f https://k8s.io/examples/admin/resource/memory-defaults-pod.yaml --namespace=default-mem-example View detailed information about the Pod:kubectl get pod default-mem-demo --output=yaml --namespace=default-mem-example The output shows that the Pod's container has a memory request of 256 MiB and a memory limit of 512 MiB. These are the default values specified by the LimitRange.containers: - image: nginx imagePullPolicy: Always name: default-mem-demo-ctr resources: limits: memory: 512Mi requests: memory: 256Mi Delete yo",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-default-namespace/",
    "id": "k8s_00630_qa_13899"
  },
  {
    "question": "What are the benefits of Configure Default Memory Requests and Limits for a Namespace?",
    "answer": "Configure Default Memory Requests and Limits for a NamespaceDefine a default memory resource limit for a namespace, so that every new Pod in that namespace has a memory resource limit configured.This page shows how to configure default memory requests and limits for a namespace.A Kubernetes cluster can be divided into namespaces. Once you have a namespace that has a default memory limit, and you then try to create a Pod with a container that does not specify its own memory limit, then the control plane assigns the default memory limit to that container.Kubernetes assigns a default memory request under certain conditions that are explained later in this topic.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou must have access to create namespaces in your cluster.Each node in your cluster must have at least 2 GiB of memory.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace default-mem-example Create a LimitRange and a PodHere's a manifest for an example LimitRange. The manifest specifies a default memory request and a default memory limit.admin/resource/memory-defaults.yaml apiVersion: v1 kind: LimitRange metadata: name: mem-limit-range spec: limits: - default: memory: 512Mi defaultRequest: memory: 256Mi type: Container Create the LimitRange in the default-mem-example namespace:kubectl apply -f https://k8s.io/examples/admin/resource/memory-defaults.yaml --namespace=default-mem-example Now if you create a Pod in the default-mem-example namespace, and any container within that Pod does not specify its own values for memory request and memory limit, then the control plane applies default values: a memory request of 256MiB and a memory limit of 512MiB.Here's an example manifest for a Pod that has one container. The container does not specify a memory request and limit.admin/resource/memory-defaults-pod.yaml apiVersion: v1 kind: Pod metadata: name: default-mem-demo spec: containers: - name: default-mem-demo-ctr image: nginx Create the Pod.kubectl apply -f https://k8s.io/examples/admin/resource/memory-defaults-pod.yaml --namespace=default-mem-example View detailed information about the Pod:kubectl get pod default-mem-demo --output=yaml --namespace=default-mem-example The output shows that the Pod's container has a memory request of 256 MiB and a memory limit of 512 MiB. These are the default values specified by the LimitRange.containers: - image: nginx imagePullPolicy: Always name: default-mem-demo-ctr resources: limits: memory: 512Mi requests: memory: 256Mi Delete yo",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-default-namespace/",
    "id": "k8s_00630_qa_13900"
  },
  {
    "question": "What is Configure Default Memory Requests and Limits for a Namespace?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   d e f a u l t   m e m o r y   r e q u e s t s   a n d   l i m i t s   f o r   a   n a m e s p a c e .   A   K u b e r n e t e s   c l u s t e r   c a n   b e   d i v i d e d   i n t o   n a m e s p a c e s .   O n c e   y o u   h a v e   a   n a m e s p a c e   t h a t   h a s   a   d e f a u l t   m e m o r y   l i m i t ,   a n d   y o u   t h e n   t r y   t o   c r e a t e   a   P o d   w i t h   a   c o n t a i n e r   t h a t   d o e s   n o t   s p e c i f y   i t s   o w n   m e m o r y   l i m i t ,   t h e n   t h e   c o n t r o l   p l a n e   a s s i g n s   t h e   d e f a u l t   m e m o r y   l i m i t   t o   t h a t   c o n t a i n e r .   K u b e r n e t e s   a s s i g n s   a   d e f a u l t   m e m o r y   r e q u e s t   u n d e r   c e r t a i n   c o n d i t i o n s   t h a t   a r e   e x p l a i n e d   l a t e r   i n   t h i s   t o p i c .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-default-namespace/",
    "id": "k8s_00630_section_1_13901"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   m u s t   h a v e   a c c e s s   t o   c r e a t e   n a m e s p a c e s   i n   y o u r   c l u s t e r .   E a c h   n o d e   i n   y o u r   c l u s t e r   m u s t   h a v e   a t   l e a s t   2   G i B   o f   m e m o r y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-default-namespace/",
    "id": "k8s_00630_section_2_13902"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   n a m e s p a c e   s o   t h a t   t h e   r e s o u r c e s   y o u   c r e a t e   i n   t h i s   e x e r c i s e   a r e   i s o l a t e d   f r o m   t h e   r e s t   o f   y o u r   c l u s t e r .   k u b e c t l   c r e a t e   n a m e s p a c e   d e f a u l t - m e m - e x a m p l e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-default-namespace/",
    "id": "k8s_00630_section_2_13903"
  },
  {
    "question": "What is Create a LimitRange and a Pod?",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a n   e x a m p l e   L i m i t R a n g e .   T h e   m a n i f e s t   s p e c i f i e s   a   d e f a u l t   m e m o r y   r e q u e s t   a n d   a   d e f a u l t   m e m o r y   l i m i t .   a p i V e r s i o n :   v 1   k i n d :   L i m i t R a n g e   m e t a d a t a :   n a m e :   m e m - l i m i t - r a n g e   s p e c :   l i m i t s :   -   d e f a u l t :   m e m o r y :   5 1 2 M i   d e f a u l t R e q u e s t :   m e m o r y :   2 5 6 M i   t y p e :   C o n t a i n e r   C r e a t e   t h e   L i m i t R a n g e   i n   t h e   d e f a u l t - m e m - e x a m p l e   n a m e s p a c e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / m e m o r y - d e f a u l t s . y a m l   - - n a m e s p a c e = d e f a u l t - m e m - e x a m p l e   N o w   i f   y o u   c r e a t e   a   P o d   i n   t h e   d e f a u l t - m e m - e x a m p l e   n a m e s p a c e ,   a n d   a n y   c o n t a i n e r   w i t h i n   t h a t   P o d   d o e s   n o t   s p e c i f y   i t s   o w n   v a l u e s   f o r   m e m o r y   r e q u e s t   a n d   m e m o r y   l i m i t ,   t h e n   t h e   c o n t r o l   p l a n e   a p p l i e s   d e f a u l t   v a l u e s :   a   m e m o r y   r e q u e s t   o f   2 5 6 M i B   a n d   a   m e m o r y   l i m i t   o f   5 1 2 M i B .   H e r e ' s   a n   e x a m p l e   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   d o e s   n o t   s p e c i f y   a   m e m o r y   r e q u e s t   a n d   l i m i t .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d e f a u l t - m e m - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   d e f a u l t - m e m - d e m o - c t r   i m a g e :   n g i n x   C r e a t e   t h e   P o d .   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-default-namespace/",
    "id": "k8s_00630_section_2_13904"
  },
  {
    "question": "What is What if you specify a container's limit, but not its request??",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   s p e c i f i e s   a   m e m o r y   l i m i t ,   b u t   n o t   a   r e q u e s t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d e f a u l t - m e m - d e m o - 2   s p e c :   c o n t a i n e r s :   -   n a m e :   d e f a u l t - m e m - d e m o - 2 - c t r   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 1 G i \"   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / m e m o r y - d e f a u l t s - p o d - 2 . y a m l   - - n a m e s p a c e = d e f a u l t - m e m - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   P o d :   k u b e c t l   g e t   p o d   d e f a u l t - m e m - d e m o - 2   - - o u t p u t = y a m l   - - n a m e s p a c e = d e f a u l t - m e m - e x a m p l e   T h e   o u t p u t   s h o w s   t h a t   t h e   c o n t a i n e r ' s   m e m o r y   r e q u e s t   i s   s e t   t o   m a t c h   i t s   m e m o r y   l i m i t .   N o t i c e   t h a t   t h e   c o n t a i n e r   w a s   n o t   a s s i g n e d   t h e   d e f a u l t   m e m o r y   r e q u e s t   v a l u e   o f   2 5 6 M i .   r e s o u r c e s :   l i m i t s :   m e m o r y :   1 G i   r e q u e s t s :   m e m o r y :   1 G i",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-default-namespace/",
    "id": "k8s_00630_section_2_13905"
  },
  {
    "question": "What is What if you specify a container's request, but not its limit??",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   s p e c i f i e s   a   m e m o r y   r e q u e s t ,   b u t   n o t   a   l i m i t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d e f a u l t - m e m - d e m o - 3   s p e c :   c o n t a i n e r s :   -   n a m e :   d e f a u l t - m e m - d e m o - 3 - c t r   i m a g e :   n g i n x   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 1 2 8 M i \"   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / m e m o r y - d e f a u l t s - p o d - 3 . y a m l   - - n a m e s p a c e = d e f a u l t - m e m - e x a m p l e   V i e w   t h e   P o d ' s   s p e c i f i c a t i o n :   k u b e c t l   g e t   p o d   d e f a u l t - m e m - d e m o - 3   - - o u t p u t = y a m l   - - n a m e s p a c e = d e f a u l t - m e m - e x a m p l e   T h e   o u t p u t   s h o w s   t h a t   t h e   c o n t a i n e r ' s   m e m o r y   r e q u e s t   i s   s e t   t o   t h e   v a l u e   s p e c i f i e d   i n   t h e   c o n t a i n e r ' s   m a n i f e s t .   T h e   c o n t a i n e r   i s   l i m i t e d   t o   u s e   n o   m o r e   t h a n   5 1 2 M i B   o f   m e m o r y ,   w h i c h   m a t c h e s   t h e   d e f a u l t   m e m o r y   l i m i t   f o r   t h e   n a m e s p a c e .   r e s o u r c e s :   l i m i t s :   m e m o r y :   5 1 2 M i   r e q u e s t s :   m e m o r y :   1 2 8 M i",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-default-namespace/",
    "id": "k8s_00630_section_2_13906"
  },
  {
    "question": "What is Motivation for default memory limits and requests?",
    "answer": "I f   y o u r   n a m e s p a c e   h a s   a   m e m o r y   r e s o u r c e   q u o t a   c o n f i g u r e d ,   i t   i s   h e l p f u l   t o   h a v e   a   d e f a u l t   v a l u e   i n   p l a c e   f o r   m e m o r y   l i m i t .   H e r e   a r e   t h r e e   o f   t h e   r e s t r i c t i o n s   t h a t   a   r e s o u r c e   q u o t a   i m p o s e s   o n   a   n a m e s p a c e :   F o r   e v e r y   P o d   t h a t   r u n s   i n   t h e   n a m e s p a c e ,   t h e   P o d   a n d   e a c h   o f   i t s   c o n t a i n e r s   m u s t   h a v e   a   m e m o r y   l i m i t .   ( I f   y o u   s p e c i f y   a   m e m o r y   l i m i t   f o r   e v e r y   c o n t a i n e r   i n   a   P o d ,   K u b e r n e t e s   c a n   i n f e r   t h e   P o d - l e v e l   m e m o r y   l i m i t   b y   a d d i n g   u p   t h e   l i m i t s   f o r   i t s   c o n t a i n e r s ) . M e m o r y   l i m i t s   a p p l y   a   r e s o u r c e   r e s e r v a t i o n   o n   t h e   n o d e   w h e r e   t h e   P o d   i n   q u e s t i o n   i s   s c h e d u l e d .   T h e   t o t a l   a m o u n t   o f   m e m o r y   r e s e r v e d   f o r   a l l   P o d s   i n   t h e   n a m e s p a c e   m u s t   n o t   e x c e e d   a   s p e c i f i e d   l i m i t . T h e   t o t a l   a m o u n t   o f   m e m o r y   a c t u a l l y   u s e d   b y   a l l   P o d s   i n   t h e   n a m e s p a c e   m u s t   a l s o   n o t   e x c e e d   a   s p e c i f i e d   l i m i t .   W h e n   y o u   a d d   a   L i m i t R a n g e :   I f   a n y   P o d   i n   t h a t   n a m e s p a c e   t h a t   i n c l u d e s   a   c o n t a i n e r   d o e s   n o t   s p e c i f y   i t s   o w n   m e m o r y   l i m i t ,   t h e   c o n t r o l   p l a n e   a p p l i e s   t h e   d e f a u l t   m e m o r y   l i m i t   t o   t h a t   c o n t a i n e r ,   a n d   t h e   P o d   c a n   b e   a l l o w e d   t o   r u n   i n   a   n a m e s ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-default-namespace/",
    "id": "k8s_00630_section_2_13907"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   n a m e s p a c e :   k u b e c t l   d e l e t e   n a m e s p a c e   d e f a u l t - m e m - e x a m p l e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-default-namespace/",
    "id": "k8s_00630_section_2_13908"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e   C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-default-namespace/",
    "id": "k8s_00630_section_3_13909"
  },
  {
    "question": "What is For app developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s   C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-default-namespace/",
    "id": "k8s_00630_section_3_13910"
  },
  {
    "question": "What is kubectl config delete-cluster?",
    "answer": "kubectl config delete-clusterSynopsisDelete the specified cluster from the kubeconfig.kubectl config delete-cluster NAME Examples # Delete the minikube cluster kubectl config delete-cluster minikube Options-h, --helphelp for delete-clusterParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=tru",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-cluster/",
    "id": "k8s_00631_qa_13911"
  },
  {
    "question": "How does kubectl config delete-cluster work?",
    "answer": "kubectl config delete-clusterSynopsisDelete the specified cluster from the kubeconfig.kubectl config delete-cluster NAME Examples # Delete the minikube cluster kubectl config delete-cluster minikube Options-h, --helphelp for delete-clusterParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=tru",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-cluster/",
    "id": "k8s_00631_qa_13912"
  },
  {
    "question": "When would you use kubectl config delete-cluster?",
    "answer": "kubectl config delete-clusterSynopsisDelete the specified cluster from the kubeconfig.kubectl config delete-cluster NAME Examples # Delete the minikube cluster kubectl config delete-cluster minikube Options-h, --helphelp for delete-clusterParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=tru",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-cluster/",
    "id": "k8s_00631_qa_13913"
  },
  {
    "question": "What are the benefits of kubectl config delete-cluster?",
    "answer": "kubectl config delete-clusterSynopsisDelete the specified cluster from the kubeconfig.kubectl config delete-cluster NAME Examples # Delete the minikube cluster kubectl config delete-cluster minikube Options-h, --helphelp for delete-clusterParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=tru",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-cluster/",
    "id": "k8s_00631_qa_13914"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D e l e t e   t h e   s p e c i f i e d   c l u s t e r   f r o m   t h e   k u b e c o n f i g .   k u b e c t l   c o n f i g   d e l e t e - c l u s t e r   N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-cluster/",
    "id": "k8s_00631_section_2_13915"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D e l e t e   t h e   m i n i k u b e   c l u s t e r   k u b e c t l   c o n f i g   d e l e t e - c l u s t e r   m i n i k u b e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-cluster/",
    "id": "k8s_00631_section_2_13916"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   d e l e t e - c l u s t e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-cluster/",
    "id": "k8s_00631_section_2_13917"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-cluster/",
    "id": "k8s_00631_section_2_13918"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-cluster/",
    "id": "k8s_00631_section_2_13919"
  },
  {
    "question": "What is Assign Memory Resources to Containers and Pods?",
    "answer": "Assign Memory Resources to Containers and PodsThis page shows how to assign a memory request and a memory limit to a Container. A Container is guaranteed to have as much memory as it requests, but is not allowed to use more memory than its limit.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Each node in your cluster must have at least 300 MiB of memory.A few of the steps on this page require you to run the metrics-server service in your cluster. If you have the metrics-server running, you can skip those steps.If you are running Minikube, run the following command to enable the metrics-server:minikube addons enable metrics-server To see whether the metrics-server is running, or another provider of the resource metrics API (metrics.k8s.io), run the following command:kubectl get apiservices If the resource metrics API is available, the output includes a reference to metrics.k8s.io.NAME v1beta1.metrics.k8s.io Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace mem-example Specify a memory request and a memory limitTo specify a memory request for a Container, include the resources:requests field in the Container's resource manifest. To specify a memory limit, include resources:limits.In this exercise, you create a Pod that has one Container. The Container has a memory request of 100 MiB and a memory limit of 200 MiB. Here's the configuration file for the Pod:pods/resource/memory-request-limit.yaml apiVersion: v1 kind: Pod metadata: name: memory-demo namespace: mem-example spec: containers: - name: memory-demo-ctr image: polinux/stress resources: requests: memory: \"100Mi\" limits: memory: \"200Mi\" command: [\"stress\"] args: [\"--vm\", \"1\", \"--vm-bytes\", \"150M\", \"--vm-hang\", \"1\"] The args section in the configuration file provides arguments for the Container when it starts. The \"--vm-bytes\", \"150M\" arguments tell the Container to attempt to allocate 150 MiB of memory.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/resource/memory-request-limit.yaml --namespace=mem-example Verify that the Pod Container is running:kubectl get pod memory-demo --namespace=mem-example View detailed information about the Pod:kubectl get pod memory-demo --output=yaml --namespace=mem-example The output shows that the one Container in the Pod has a memory request of 100 MiB and a memory limit of 200 MiB.... resources: requests: memory: 100Mi limits: memory: 200Mi ... Run kubectl top to fetch the metrics for the pod:kubectl top pod memory-dem",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-memory-resource/",
    "id": "k8s_00632_qa_13920"
  },
  {
    "question": "How does Assign Memory Resources to Containers and Pods work?",
    "answer": "Assign Memory Resources to Containers and PodsThis page shows how to assign a memory request and a memory limit to a Container. A Container is guaranteed to have as much memory as it requests, but is not allowed to use more memory than its limit.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Each node in your cluster must have at least 300 MiB of memory.A few of the steps on this page require you to run the metrics-server service in your cluster. If you have the metrics-server running, you can skip those steps.If you are running Minikube, run the following command to enable the metrics-server:minikube addons enable metrics-server To see whether the metrics-server is running, or another provider of the resource metrics API (metrics.k8s.io), run the following command:kubectl get apiservices If the resource metrics API is available, the output includes a reference to metrics.k8s.io.NAME v1beta1.metrics.k8s.io Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace mem-example Specify a memory request and a memory limitTo specify a memory request for a Container, include the resources:requests field in the Container's resource manifest. To specify a memory limit, include resources:limits.In this exercise, you create a Pod that has one Container. The Container has a memory request of 100 MiB and a memory limit of 200 MiB. Here's the configuration file for the Pod:pods/resource/memory-request-limit.yaml apiVersion: v1 kind: Pod metadata: name: memory-demo namespace: mem-example spec: containers: - name: memory-demo-ctr image: polinux/stress resources: requests: memory: \"100Mi\" limits: memory: \"200Mi\" command: [\"stress\"] args: [\"--vm\", \"1\", \"--vm-bytes\", \"150M\", \"--vm-hang\", \"1\"] The args section in the configuration file provides arguments for the Container when it starts. The \"--vm-bytes\", \"150M\" arguments tell the Container to attempt to allocate 150 MiB of memory.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/resource/memory-request-limit.yaml --namespace=mem-example Verify that the Pod Container is running:kubectl get pod memory-demo --namespace=mem-example View detailed information about the Pod:kubectl get pod memory-demo --output=yaml --namespace=mem-example The output shows that the one Container in the Pod has a memory request of 100 MiB and a memory limit of 200 MiB.... resources: requests: memory: 100Mi limits: memory: 200Mi ... Run kubectl top to fetch the metrics for the pod:kubectl top pod memory-dem",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-memory-resource/",
    "id": "k8s_00632_qa_13921"
  },
  {
    "question": "When would you use Assign Memory Resources to Containers and Pods?",
    "answer": "Assign Memory Resources to Containers and PodsThis page shows how to assign a memory request and a memory limit to a Container. A Container is guaranteed to have as much memory as it requests, but is not allowed to use more memory than its limit.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Each node in your cluster must have at least 300 MiB of memory.A few of the steps on this page require you to run the metrics-server service in your cluster. If you have the metrics-server running, you can skip those steps.If you are running Minikube, run the following command to enable the metrics-server:minikube addons enable metrics-server To see whether the metrics-server is running, or another provider of the resource metrics API (metrics.k8s.io), run the following command:kubectl get apiservices If the resource metrics API is available, the output includes a reference to metrics.k8s.io.NAME v1beta1.metrics.k8s.io Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace mem-example Specify a memory request and a memory limitTo specify a memory request for a Container, include the resources:requests field in the Container's resource manifest. To specify a memory limit, include resources:limits.In this exercise, you create a Pod that has one Container. The Container has a memory request of 100 MiB and a memory limit of 200 MiB. Here's the configuration file for the Pod:pods/resource/memory-request-limit.yaml apiVersion: v1 kind: Pod metadata: name: memory-demo namespace: mem-example spec: containers: - name: memory-demo-ctr image: polinux/stress resources: requests: memory: \"100Mi\" limits: memory: \"200Mi\" command: [\"stress\"] args: [\"--vm\", \"1\", \"--vm-bytes\", \"150M\", \"--vm-hang\", \"1\"] The args section in the configuration file provides arguments for the Container when it starts. The \"--vm-bytes\", \"150M\" arguments tell the Container to attempt to allocate 150 MiB of memory.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/resource/memory-request-limit.yaml --namespace=mem-example Verify that the Pod Container is running:kubectl get pod memory-demo --namespace=mem-example View detailed information about the Pod:kubectl get pod memory-demo --output=yaml --namespace=mem-example The output shows that the one Container in the Pod has a memory request of 100 MiB and a memory limit of 200 MiB.... resources: requests: memory: 100Mi limits: memory: 200Mi ... Run kubectl top to fetch the metrics for the pod:kubectl top pod memory-dem",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-memory-resource/",
    "id": "k8s_00632_qa_13922"
  },
  {
    "question": "What are the benefits of Assign Memory Resources to Containers and Pods?",
    "answer": "Assign Memory Resources to Containers and PodsThis page shows how to assign a memory request and a memory limit to a Container. A Container is guaranteed to have as much memory as it requests, but is not allowed to use more memory than its limit.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Each node in your cluster must have at least 300 MiB of memory.A few of the steps on this page require you to run the metrics-server service in your cluster. If you have the metrics-server running, you can skip those steps.If you are running Minikube, run the following command to enable the metrics-server:minikube addons enable metrics-server To see whether the metrics-server is running, or another provider of the resource metrics API (metrics.k8s.io), run the following command:kubectl get apiservices If the resource metrics API is available, the output includes a reference to metrics.k8s.io.NAME v1beta1.metrics.k8s.io Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace mem-example Specify a memory request and a memory limitTo specify a memory request for a Container, include the resources:requests field in the Container's resource manifest. To specify a memory limit, include resources:limits.In this exercise, you create a Pod that has one Container. The Container has a memory request of 100 MiB and a memory limit of 200 MiB. Here's the configuration file for the Pod:pods/resource/memory-request-limit.yaml apiVersion: v1 kind: Pod metadata: name: memory-demo namespace: mem-example spec: containers: - name: memory-demo-ctr image: polinux/stress resources: requests: memory: \"100Mi\" limits: memory: \"200Mi\" command: [\"stress\"] args: [\"--vm\", \"1\", \"--vm-bytes\", \"150M\", \"--vm-hang\", \"1\"] The args section in the configuration file provides arguments for the Container when it starts. The \"--vm-bytes\", \"150M\" arguments tell the Container to attempt to allocate 150 MiB of memory.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/resource/memory-request-limit.yaml --namespace=mem-example Verify that the Pod Container is running:kubectl get pod memory-demo --namespace=mem-example View detailed information about the Pod:kubectl get pod memory-demo --output=yaml --namespace=mem-example The output shows that the one Container in the Pod has a memory request of 100 MiB and a memory limit of 200 MiB.... resources: requests: memory: 100Mi limits: memory: 200Mi ... Run kubectl top to fetch the metrics for the pod:kubectl top pod memory-dem",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-memory-resource/",
    "id": "k8s_00632_qa_13923"
  },
  {
    "question": "What is Assign Memory Resources to Containers and Pods?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   a s s i g n   a   m e m o r y   r e q u e s t   a n d   a   m e m o r y   l i m i t   t o   a   C o n t a i n e r .   A   C o n t a i n e r   i s   g u a r a n t e e d   t o   h a v e   a s   m u c h   m e m o r y   a s   i t   r e q u e s t s ,   b u t   i s   n o t   a l l o w e d   t o   u s e   m o r e   m e m o r y   t h a n   i t s   l i m i t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-memory-resource/",
    "id": "k8s_00632_section_1_13924"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   E a c h   n o d e   i n   y o u r   c l u s t e r   m u s t   h a v e   a t   l e a s t   3 0 0   M i B   o f   m e m o r y ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-memory-resource/",
    "id": "k8s_00632_section_2_13925"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   n a m e s p a c e   s o   t h a t   t h e   r e s o u r c e s   y o u   c r e a t e   i n   t h i s   e x e r c i s e   a r e   i s o l a t e d   f r o m   t h e   r e s t   o f   y o u r   c l u s t e r .   k u b e c t l   c r e a t e   n a m e s p a c e   m e m - e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-memory-resource/",
    "id": "k8s_00632_section_2_13926"
  },
  {
    "question": "What is Specify a memory request and a memory limit?",
    "answer": "T o   s p e c i f y   a   m e m o r y   r e q u e s t   f o r   a   C o n t a i n e r ,   i n c l u d e   t h e   r e s o u r c e s : r e q u e s t s   f i e l d   i n   t h e   C o n t a i n e r ' s   r e s o u r c e   m a n i f e s t .   T o   s p e c i f y   a   m e m o r y   l i m i t ,   i n c l u d e   r e s o u r c e s : l i m i t s .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   T h e   C o n t a i n e r   h a s   a   m e m o r y   r e q u e s t   o f   1 0 0   M i B   a n d   a   m e m o r y   l i m i t   o f   2 0 0   M i B .   H e r e ' s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m e m o r y - d e m o   n a m e s p a c e :   m e m - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   m e m o r y - d e m o - c t r   i m a g e :   p o l i n u x / s t r e s s   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 1 0 0 M i \"   l i m i t s :   m e m o r y :   \" 2 0 0 M i \"   c o m m a n d :   [ \" s t r e s s \" ]   a r g s :   [ \" - - v m \" ,   \" 1 \" ,   \" - - v m - b y t e s \" ,   \" 1 5 0 M \" ,   \" - - v m - h a n g \" ,   \" 1 \" ]   T h e   a r g s   s e c t i o n   i n   t h e   c o n f i g u r a t i o n   f i l e   p r o v i d e s   a r g u m e n t s   f o r   t h e   C o n t a i n e r   w h e n   i t   s t a r t s .   T h e   \" - - v m - b y t e s \" ,   \" 1 5 0 M \"   a r g u m e n t s   t e l l   t h e   C o n t a i n e r   t o   a t t e m p t   t o   a l l o c a t e   1 5 0   M i B   o f   m e m o r y .   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / r e s o u r c e / m e m o r y - r e q u e s t - l i m i t . y a m l   - - n a m e s p a c e = m e m - e x a m p l e   V e r i f y   t h a t   t h e   P o d   C o n t a i n e r   i s   r u n n i n g :   k u b e c t l   g e t   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-memory-resource/",
    "id": "k8s_00632_section_2_13927"
  },
  {
    "question": "What is Exceed a Container's memory limit?",
    "answer": "A   C o n t a i n e r   c a n   e x c e e d   i t s   m e m o r y   r e q u e s t   i f   t h e   N o d e   h a s   m e m o r y   a v a i l a b l e .   B u t   a   C o n t a i n e r   i s   n o t   a l l o w e d   t o   u s e   m o r e   t h a n   i t s   m e m o r y   l i m i t .   I f   a   C o n t a i n e r   a l l o c a t e s   m o r e   m e m o r y   t h a n   i t s   l i m i t ,   t h e   C o n t a i n e r   b e c o m e s   a   c a n d i d a t e   f o r   t e r m i n a t i o n .   I f   t h e   C o n t a i n e r   c o n t i n u e s   t o   c o n s u m e   m e m o r y   b e y o n d   i t s   l i m i t ,   t h e   C o n t a i n e r   i s   t e r m i n a t e d .   I f   a   t e r m i n a t e d   C o n t a i n e r   c a n   b e   r e s t a r t e d ,   t h e   k u b e l e t   r e s t a r t s   i t ,   a s   w i t h   a n y   o t h e r   t y p e   o f   r u n t i m e   f a i l u r e .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   a t t e m p t s   t o   a l l o c a t e   m o r e   m e m o r y   t h a n   i t s   l i m i t .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r   w i t h   a   m e m o r y   r e q u e s t   o f   5 0   M i B   a n d   a   m e m o r y   l i m i t   o f   1 0 0   M i B :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m e m o r y - d e m o - 2   n a m e s p a c e :   m e m - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   m e m o r y - d e m o - 2 - c t r   i m a g e :   p o l i n u x / s t r e s s   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 5 0 M i \"   l i m i t s :   m e m o r y :   \" 1 0 0 M i \"   c o m m a n d :   [ \" s t r e s s \" ]   a r g s :   [ \" - - v m \" ,   \" 1 \" ,   \" - - v m - b y t e s \" ,   \" 2 5 0 M \" ,   \" - - v m - h a n g \" ,   \" 1 \" ]   I n   t h e   a r g s   s e c t i o n   o f   t h e   c o n f i g u r a t i o n   f i l e ,   y o u ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-memory-resource/",
    "id": "k8s_00632_section_2_13928"
  },
  {
    "question": "What is Specify a memory request that is too big for your Nodes?",
    "answer": "M e m o r y   r e q u e s t s   a n d   l i m i t s   a r e   a s s o c i a t e d   w i t h   C o n t a i n e r s ,   b u t   i t   i s   u s e f u l   t o   t h i n k   o f   a   P o d   a s   h a v i n g   a   m e m o r y   r e q u e s t   a n d   l i m i t .   T h e   m e m o r y   r e q u e s t   f o r   t h e   P o d   i s   t h e   s u m   o f   t h e   m e m o r y   r e q u e s t s   f o r   a l l   t h e   C o n t a i n e r s   i n   t h e   P o d .   L i k e w i s e ,   t h e   m e m o r y   l i m i t   f o r   t h e   P o d   i s   t h e   s u m   o f   t h e   l i m i t s   o f   a l l   t h e   C o n t a i n e r s   i n   t h e   P o d .   P o d   s c h e d u l i n g   i s   b a s e d   o n   r e q u e s t s .   A   P o d   i s   s c h e d u l e d   t o   r u n   o n   a   N o d e   o n l y   i f   t h e   N o d e   h a s   e n o u g h   a v a i l a b l e   m e m o r y   t o   s a t i s f y   t h e   P o d ' s   m e m o r y   r e q u e s t .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   a   m e m o r y   r e q u e s t   s o   b i g   t h a t   i t   e x c e e d s   t h e   c a p a c i t y   o f   a n y   N o d e   i n   y o u r   c l u s t e r .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r   w i t h   a   r e q u e s t   f o r   1 0 0 0   G i B   o f   m e m o r y ,   w h i c h   l i k e l y   e x c e e d s   t h e   c a p a c i t y   o f   a n y   N o d e   i n   y o u r   c l u s t e r .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m e m o r y - d e m o - 3   n a m e s p a c e :   m e m - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   m e m o r y - d e m o - 3 - c t r   i m a g e :   p o l i n u x / s t r e s s   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 1 0 0 0 G i \"   l i m i t s :   m e m o r y :   \" 1 0 0 0 G i \"   c o m m a n d :   [ \" s t r e s ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-memory-resource/",
    "id": "k8s_00632_section_2_13929"
  },
  {
    "question": "What is Memory units?",
    "answer": "T h e   m e m o r y   r e s o u r c e   i s   m e a s u r e d   i n   b y t e s .   Y o u   c a n   e x p r e s s   m e m o r y   a s   a   p l a i n   i n t e g e r   o r   a   f i x e d - p o i n t   i n t e g e r   w i t h   o n e   o f   t h e s e   s u f f i x e s :   E ,   P ,   T ,   G ,   M ,   K ,   E i ,   P i ,   T i ,   G i ,   M i ,   K i .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   r e p r e s e n t   a p p r o x i m a t e l y   t h e   s a m e   v a l u e :   1 2 8 9 7 4 8 4 8 ,   1 2 9 e 6 ,   1 2 9 M ,   1 2 3 M i   D e l e t e   y o u r   P o d :   k u b e c t l   d e l e t e   p o d   m e m o r y - d e m o - 3   - - n a m e s p a c e = m e m - e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-memory-resource/",
    "id": "k8s_00632_section_2_13930"
  },
  {
    "question": "What is If you do not specify a memory limit?",
    "answer": "I f   y o u   d o   n o t   s p e c i f y   a   m e m o r y   l i m i t   f o r   a   C o n t a i n e r ,   o n e   o f   t h e   f o l l o w i n g   s i t u a t i o n s   a p p l i e s :   T h e   C o n t a i n e r   h a s   n o   u p p e r   b o u n d   o n   t h e   a m o u n t   o f   m e m o r y   i t   u s e s .   T h e   C o n t a i n e r   c o u l d   u s e   a l l   o f   t h e   m e m o r y   a v a i l a b l e   o n   t h e   N o d e   w h e r e   i t   i s   r u n n i n g   w h i c h   i n   t u r n   c o u l d   i n v o k e   t h e   O O M   K i l l e r .   F u r t h e r ,   i n   c a s e   o f   a n   O O M   K i l l ,   a   c o n t a i n e r   w i t h   n o   r e s o u r c e   l i m i t s   w i l l   h a v e   a   g r e a t e r   c h a n c e   o f   b e i n g   k i l l e d . T h e   C o n t a i n e r   i s   r u n n i n g   i n   a   n a m e s p a c e   t h a t   h a s   a   d e f a u l t   m e m o r y   l i m i t ,   a n d   t h e   C o n t a i n e r   i s   a u t o m a t i c a l l y   a s s i g n e d   t h e   d e f a u l t   l i m i t .   C l u s t e r   a d m i n i s t r a t o r s   c a n   u s e   a   L i m i t R a n g e   t o   s p e c i f y   a   d e f a u l t   v a l u e   f o r   t h e   m e m o r y   l i m i t .   T h e   C o n t a i n e r   h a s   n o   u p p e r   b o u n d   o n   t h e   a m o u n t   o f   m e m o r y   i t   u s e s .   T h e   C o n t a i n e r   c o u l d   u s e   a l l   o f   t h e   m e m o r y   a v a i l a b l e   o n   t h e   N o d e   w h e r e   i t   i s   r u n n i n g   w h i c h   i n   t u r n   c o u l d   i n v o k e   t h e   O O M   K i l l e r .   F u r t h e r ,   i n   c a s e   o f   a n   O O M   K i l l ,   a   c o n t a i n e r   w i t h   n o   r e s o u r c e   l i m i t s   w i l l   h a v e   a   g r e a t e r   c h a n c e   o f   b e i n g   k i l l e d .   T h e   C o n t a i n e r   i s   r u n n i n g   i n   a   n a m e s p a c e   t h a t   h a s   a   d e f a u l t   m e m o r y ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-memory-resource/",
    "id": "k8s_00632_section_2_13931"
  },
  {
    "question": "What is Motivation for memory requests and limits?",
    "answer": "B y   c o n f i g u r i n g   m e m o r y   r e q u e s t s   a n d   l i m i t s   f o r   t h e   C o n t a i n e r s   t h a t   r u n   i n   y o u r   c l u s t e r ,   y o u   c a n   m a k e   e f f i c i e n t   u s e   o f   t h e   m e m o r y   r e s o u r c e s   a v a i l a b l e   o n   y o u r   c l u s t e r ' s   N o d e s .   B y   k e e p i n g   a   P o d ' s   m e m o r y   r e q u e s t   l o w ,   y o u   g i v e   t h e   P o d   a   g o o d   c h a n c e   o f   b e i n g   s c h e d u l e d .   B y   h a v i n g   a   m e m o r y   l i m i t   t h a t   i s   g r e a t e r   t h a n   t h e   m e m o r y   r e q u e s t ,   y o u   a c c o m p l i s h   t w o   t h i n g s :   T h e   P o d   c a n   h a v e   b u r s t s   o f   a c t i v i t y   w h e r e   i t   m a k e s   u s e   o f   m e m o r y   t h a t   h a p p e n s   t o   b e   a v a i l a b l e . T h e   a m o u n t   o f   m e m o r y   a   P o d   c a n   u s e   d u r i n g   a   b u r s t   i s   l i m i t e d   t o   s o m e   r e a s o n a b l e   a m o u n t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-memory-resource/",
    "id": "k8s_00632_section_2_13932"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   n a m e s p a c e .   T h i s   d e l e t e s   a l l   t h e   P o d s   t h a t   y o u   c r e a t e d   f o r   t h i s   t a s k :   k u b e c t l   d e l e t e   n a m e s p a c e   m e m - e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-memory-resource/",
    "id": "k8s_00632_section_2_13933"
  },
  {
    "question": "What is For app developers?",
    "answer": "A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s   C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s   R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-memory-resource/",
    "id": "k8s_00632_section_3_13934"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e   C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s   R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-memory-resource/",
    "id": "k8s_00632_section_3_13935"
  },
  {
    "question": "What is Scheduling Framework?",
    "answer": "Scheduling FrameworkFEATURE STATE: Kubernetes v1.19 [stable]The scheduling framework is a pluggable architecture for the Kubernetes scheduler. It consists of a set of \"plugin\" APIs that are compiled directly into the scheduler. These APIs allow most scheduling features to be implemented as plugins, while keeping the scheduling \"core\" lightweight and maintainable. Refer to the design proposal of the scheduling framework for more technical information on the design of the framework.Framework workflowThe Scheduling Framework defines a few extension points. Scheduler plugins register to be invoked at one or more extension points. Some of these plugins can change the scheduling decisions and some are informational only.Each attempt to schedule one Pod is split into two phases, the scheduling cycle and the binding cycle.Scheduling cycle & binding cycleThe scheduling cycle selects a node for the Pod, and the binding cycle applies that decision to the cluster. Together, a scheduling cycle and binding cycle are referred to as a \"scheduling context\".Scheduling cycles are run serially, while binding cycles may run concurrently.A scheduling or binding cycle can be aborted if the Pod is determined to be unschedulable or if there is an internal error. The Pod will be returned to the queue and retried.InterfacesThe following picture shows the scheduling context of a Pod and the interfaces that the scheduling framework exposes.One plugin may implement multiple interfaces to perform more complex or stateful tasks.Some interfaces match the scheduler extension points which can be configured through Scheduler Configuration.Scheduling framework extension pointsPreEnqueueThese plugins are called prior to adding Pods to the internal active queue, where Pods are marked as ready for scheduling.Only when all PreEnqueue plugins return Success, the Pod is allowed to enter the active queue. Otherwise, it's placed in the internal unschedulable Pods list, and doesn't get an Unschedulable condition.For more details about how internal scheduler queues work, read Scheduling queue in kube-scheduler.EnqueueExtensionEnqueueExtension is the interface where the plugin can control whether to retry scheduling of Pods rejected by this plugin, based on changes in the cluster. Plugins that implement PreEnqueue, PreFilter, Filter, Reserve or Permit should implement this interface.QueueingHintFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)QueueingHint is a callback function for deciding whether a Pod can be requeued to the active queue or backoff queue. It's executed every time a certain kind of event or change happens in the cluster. When the QueueingHint finds that the event might make the Pod schedulable, the Pod is put into the active queue or the backoff queue so that the scheduler will retry the scheduling of the Pod.QueueSortThese plugins are used to sort Pods in the scheduling queue. A queue sort plugin essentially provides a Less(Pod1, Pod2) function. Only one qu",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/",
    "id": "k8s_00633_qa_13936"
  },
  {
    "question": "How does Scheduling Framework work?",
    "answer": "Scheduling FrameworkFEATURE STATE: Kubernetes v1.19 [stable]The scheduling framework is a pluggable architecture for the Kubernetes scheduler. It consists of a set of \"plugin\" APIs that are compiled directly into the scheduler. These APIs allow most scheduling features to be implemented as plugins, while keeping the scheduling \"core\" lightweight and maintainable. Refer to the design proposal of the scheduling framework for more technical information on the design of the framework.Framework workflowThe Scheduling Framework defines a few extension points. Scheduler plugins register to be invoked at one or more extension points. Some of these plugins can change the scheduling decisions and some are informational only.Each attempt to schedule one Pod is split into two phases, the scheduling cycle and the binding cycle.Scheduling cycle & binding cycleThe scheduling cycle selects a node for the Pod, and the binding cycle applies that decision to the cluster. Together, a scheduling cycle and binding cycle are referred to as a \"scheduling context\".Scheduling cycles are run serially, while binding cycles may run concurrently.A scheduling or binding cycle can be aborted if the Pod is determined to be unschedulable or if there is an internal error. The Pod will be returned to the queue and retried.InterfacesThe following picture shows the scheduling context of a Pod and the interfaces that the scheduling framework exposes.One plugin may implement multiple interfaces to perform more complex or stateful tasks.Some interfaces match the scheduler extension points which can be configured through Scheduler Configuration.Scheduling framework extension pointsPreEnqueueThese plugins are called prior to adding Pods to the internal active queue, where Pods are marked as ready for scheduling.Only when all PreEnqueue plugins return Success, the Pod is allowed to enter the active queue. Otherwise, it's placed in the internal unschedulable Pods list, and doesn't get an Unschedulable condition.For more details about how internal scheduler queues work, read Scheduling queue in kube-scheduler.EnqueueExtensionEnqueueExtension is the interface where the plugin can control whether to retry scheduling of Pods rejected by this plugin, based on changes in the cluster. Plugins that implement PreEnqueue, PreFilter, Filter, Reserve or Permit should implement this interface.QueueingHintFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)QueueingHint is a callback function for deciding whether a Pod can be requeued to the active queue or backoff queue. It's executed every time a certain kind of event or change happens in the cluster. When the QueueingHint finds that the event might make the Pod schedulable, the Pod is put into the active queue or the backoff queue so that the scheduler will retry the scheduling of the Pod.QueueSortThese plugins are used to sort Pods in the scheduling queue. A queue sort plugin essentially provides a Less(Pod1, Pod2) function. Only one qu",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/",
    "id": "k8s_00633_qa_13937"
  },
  {
    "question": "When would you use Scheduling Framework?",
    "answer": "Scheduling FrameworkFEATURE STATE: Kubernetes v1.19 [stable]The scheduling framework is a pluggable architecture for the Kubernetes scheduler. It consists of a set of \"plugin\" APIs that are compiled directly into the scheduler. These APIs allow most scheduling features to be implemented as plugins, while keeping the scheduling \"core\" lightweight and maintainable. Refer to the design proposal of the scheduling framework for more technical information on the design of the framework.Framework workflowThe Scheduling Framework defines a few extension points. Scheduler plugins register to be invoked at one or more extension points. Some of these plugins can change the scheduling decisions and some are informational only.Each attempt to schedule one Pod is split into two phases, the scheduling cycle and the binding cycle.Scheduling cycle & binding cycleThe scheduling cycle selects a node for the Pod, and the binding cycle applies that decision to the cluster. Together, a scheduling cycle and binding cycle are referred to as a \"scheduling context\".Scheduling cycles are run serially, while binding cycles may run concurrently.A scheduling or binding cycle can be aborted if the Pod is determined to be unschedulable or if there is an internal error. The Pod will be returned to the queue and retried.InterfacesThe following picture shows the scheduling context of a Pod and the interfaces that the scheduling framework exposes.One plugin may implement multiple interfaces to perform more complex or stateful tasks.Some interfaces match the scheduler extension points which can be configured through Scheduler Configuration.Scheduling framework extension pointsPreEnqueueThese plugins are called prior to adding Pods to the internal active queue, where Pods are marked as ready for scheduling.Only when all PreEnqueue plugins return Success, the Pod is allowed to enter the active queue. Otherwise, it's placed in the internal unschedulable Pods list, and doesn't get an Unschedulable condition.For more details about how internal scheduler queues work, read Scheduling queue in kube-scheduler.EnqueueExtensionEnqueueExtension is the interface where the plugin can control whether to retry scheduling of Pods rejected by this plugin, based on changes in the cluster. Plugins that implement PreEnqueue, PreFilter, Filter, Reserve or Permit should implement this interface.QueueingHintFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)QueueingHint is a callback function for deciding whether a Pod can be requeued to the active queue or backoff queue. It's executed every time a certain kind of event or change happens in the cluster. When the QueueingHint finds that the event might make the Pod schedulable, the Pod is put into the active queue or the backoff queue so that the scheduler will retry the scheduling of the Pod.QueueSortThese plugins are used to sort Pods in the scheduling queue. A queue sort plugin essentially provides a Less(Pod1, Pod2) function. Only one qu",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/",
    "id": "k8s_00633_qa_13938"
  },
  {
    "question": "What are the benefits of Scheduling Framework?",
    "answer": "Scheduling FrameworkFEATURE STATE: Kubernetes v1.19 [stable]The scheduling framework is a pluggable architecture for the Kubernetes scheduler. It consists of a set of \"plugin\" APIs that are compiled directly into the scheduler. These APIs allow most scheduling features to be implemented as plugins, while keeping the scheduling \"core\" lightweight and maintainable. Refer to the design proposal of the scheduling framework for more technical information on the design of the framework.Framework workflowThe Scheduling Framework defines a few extension points. Scheduler plugins register to be invoked at one or more extension points. Some of these plugins can change the scheduling decisions and some are informational only.Each attempt to schedule one Pod is split into two phases, the scheduling cycle and the binding cycle.Scheduling cycle & binding cycleThe scheduling cycle selects a node for the Pod, and the binding cycle applies that decision to the cluster. Together, a scheduling cycle and binding cycle are referred to as a \"scheduling context\".Scheduling cycles are run serially, while binding cycles may run concurrently.A scheduling or binding cycle can be aborted if the Pod is determined to be unschedulable or if there is an internal error. The Pod will be returned to the queue and retried.InterfacesThe following picture shows the scheduling context of a Pod and the interfaces that the scheduling framework exposes.One plugin may implement multiple interfaces to perform more complex or stateful tasks.Some interfaces match the scheduler extension points which can be configured through Scheduler Configuration.Scheduling framework extension pointsPreEnqueueThese plugins are called prior to adding Pods to the internal active queue, where Pods are marked as ready for scheduling.Only when all PreEnqueue plugins return Success, the Pod is allowed to enter the active queue. Otherwise, it's placed in the internal unschedulable Pods list, and doesn't get an Unschedulable condition.For more details about how internal scheduler queues work, read Scheduling queue in kube-scheduler.EnqueueExtensionEnqueueExtension is the interface where the plugin can control whether to retry scheduling of Pods rejected by this plugin, based on changes in the cluster. Plugins that implement PreEnqueue, PreFilter, Filter, Reserve or Permit should implement this interface.QueueingHintFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)QueueingHint is a callback function for deciding whether a Pod can be requeued to the active queue or backoff queue. It's executed every time a certain kind of event or change happens in the cluster. When the QueueingHint finds that the event might make the Pod schedulable, the Pod is put into the active queue or the backoff queue so that the scheduler will retry the scheduling of the Pod.QueueSortThese plugins are used to sort Pods in the scheduling queue. A queue sort plugin essentially provides a Less(Pod1, Pod2) function. Only one qu",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/",
    "id": "k8s_00633_qa_13939"
  },
  {
    "question": "What is Scheduling Framework?",
    "answer": "T h e   s c h e d u l i n g   f r a m e w o r k   i s   a   p l u g g a b l e   a r c h i t e c t u r e   f o r   t h e   K u b e r n e t e s   s c h e d u l e r .   I t   c o n s i s t s   o f   a   s e t   o f   \" p l u g i n \"   A P I s   t h a t   a r e   c o m p i l e d   d i r e c t l y   i n t o   t h e   s c h e d u l e r .   T h e s e   A P I s   a l l o w   m o s t   s c h e d u l i n g   f e a t u r e s   t o   b e   i m p l e m e n t e d   a s   p l u g i n s ,   w h i l e   k e e p i n g   t h e   s c h e d u l i n g   \" c o r e \"   l i g h t w e i g h t   a n d   m a i n t a i n a b l e .   R e f e r   t o   t h e   d e s i g n   p r o p o s a l   o f   t h e   s c h e d u l i n g   f r a m e w o r k   f o r   m o r e   t e c h n i c a l   i n f o r m a t i o n   o n   t h e   d e s i g n   o f   t h e   f r a m e w o r k .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/",
    "id": "k8s_00633_section_1_13940"
  },
  {
    "question": "What is Framework workflow?",
    "answer": "T h e   S c h e d u l i n g   F r a m e w o r k   d e f i n e s   a   f e w   e x t e n s i o n   p o i n t s .   S c h e d u l e r   p l u g i n s   r e g i s t e r   t o   b e   i n v o k e d   a t   o n e   o r   m o r e   e x t e n s i o n   p o i n t s .   S o m e   o f   t h e s e   p l u g i n s   c a n   c h a n g e   t h e   s c h e d u l i n g   d e c i s i o n s   a n d   s o m e   a r e   i n f o r m a t i o n a l   o n l y .   E a c h   a t t e m p t   t o   s c h e d u l e   o n e   P o d   i s   s p l i t   i n t o   t w o   p h a s e s ,   t h e   s c h e d u l i n g   c y c l e   a n d   t h e   b i n d i n g   c y c l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/",
    "id": "k8s_00633_section_2_13941"
  },
  {
    "question": "What is Scheduling cycle & binding cycle?",
    "answer": "T h e   s c h e d u l i n g   c y c l e   s e l e c t s   a   n o d e   f o r   t h e   P o d ,   a n d   t h e   b i n d i n g   c y c l e   a p p l i e s   t h a t   d e c i s i o n   t o   t h e   c l u s t e r .   T o g e t h e r ,   a   s c h e d u l i n g   c y c l e   a n d   b i n d i n g   c y c l e   a r e   r e f e r r e d   t o   a s   a   \" s c h e d u l i n g   c o n t e x t \" .   S c h e d u l i n g   c y c l e s   a r e   r u n   s e r i a l l y ,   w h i l e   b i n d i n g   c y c l e s   m a y   r u n   c o n c u r r e n t l y .   A   s c h e d u l i n g   o r   b i n d i n g   c y c l e   c a n   b e   a b o r t e d   i f   t h e   P o d   i s   d e t e r m i n e d   t o   b e   u n s c h e d u l a b l e   o r   i f   t h e r e   i s   a n   i n t e r n a l   e r r o r .   T h e   P o d   w i l l   b e   r e t u r n e d   t o   t h e   q u e u e   a n d   r e t r i e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/",
    "id": "k8s_00633_section_3_13942"
  },
  {
    "question": "What is Interfaces?",
    "answer": "T h e   f o l l o w i n g   p i c t u r e   s h o w s   t h e   s c h e d u l i n g   c o n t e x t   o f   a   P o d   a n d   t h e   i n t e r f a c e s   t h a t   t h e   s c h e d u l i n g   f r a m e w o r k   e x p o s e s .   O n e   p l u g i n   m a y   i m p l e m e n t   m u l t i p l e   i n t e r f a c e s   t o   p e r f o r m   m o r e   c o m p l e x   o r   s t a t e f u l   t a s k s .   S o m e   i n t e r f a c e s   m a t c h   t h e   s c h e d u l e r   e x t e n s i o n   p o i n t s   w h i c h   c a n   b e   c o n f i g u r e d   t h r o u g h   S c h e d u l e r   C o n f i g u r a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/",
    "id": "k8s_00633_section_2_13943"
  },
  {
    "question": "What is PreEnqueue?",
    "answer": "T h e s e   p l u g i n s   a r e   c a l l e d   p r i o r   t o   a d d i n g   P o d s   t o   t h e   i n t e r n a l   a c t i v e   q u e u e ,   w h e r e   P o d s   a r e   m a r k e d   a s   r e a d y   f o r   s c h e d u l i n g .   O n l y   w h e n   a l l   P r e E n q u e u e   p l u g i n s   r e t u r n   S u c c e s s ,   t h e   P o d   i s   a l l o w e d   t o   e n t e r   t h e   a c t i v e   q u e u e .   O t h e r w i s e ,   i t ' s   p l a c e d   i n   t h e   i n t e r n a l   u n s c h e d u l a b l e   P o d s   l i s t ,   a n d   d o e s n ' t   g e t   a n   U n s c h e d u l a b l e   c o n d i t i o n .   F o r   m o r e   d e t a i l s   a b o u t   h o w   i n t e r n a l   s c h e d u l e r   q u e u e s   w o r k ,   r e a d   S c h e d u l i n g   q u e u e   i n   k u b e - s c h e d u l e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/",
    "id": "k8s_00633_section_3_13944"
  },
  {
    "question": "What is EnqueueExtension?",
    "answer": "E n q u e u e E x t e n s i o n   i s   t h e   i n t e r f a c e   w h e r e   t h e   p l u g i n   c a n   c o n t r o l   w h e t h e r   t o   r e t r y   s c h e d u l i n g   o f   P o d s   r e j e c t e d   b y   t h i s   p l u g i n ,   b a s e d   o n   c h a n g e s   i n   t h e   c l u s t e r .   P l u g i n s   t h a t   i m p l e m e n t   P r e E n q u e u e ,   P r e F i l t e r ,   F i l t e r ,   R e s e r v e   o r   P e r m i t   s h o u l d   i m p l e m e n t   t h i s   i n t e r f a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/",
    "id": "k8s_00633_section_3_13945"
  },
  {
    "question": "What is QueueingHint?",
    "answer": "Q u e u e i n g H i n t   i s   a   c a l l b a c k   f u n c t i o n   f o r   d e c i d i n g   w h e t h e r   a   P o d   c a n   b e   r e q u e u e d   t o   t h e   a c t i v e   q u e u e   o r   b a c k o f f   q u e u e .   I t ' s   e x e c u t e d   e v e r y   t i m e   a   c e r t a i n   k i n d   o f   e v e n t   o r   c h a n g e   h a p p e n s   i n   t h e   c l u s t e r .   W h e n   t h e   Q u e u e i n g H i n t   f i n d s   t h a t   t h e   e v e n t   m i g h t   m a k e   t h e   P o d   s c h e d u l a b l e ,   t h e   P o d   i s   p u t   i n t o   t h e   a c t i v e   q u e u e   o r   t h e   b a c k o f f   q u e u e   s o   t h a t   t h e   s c h e d u l e r   w i l l   r e t r y   t h e   s c h e d u l i n g   o f   t h e   P o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/",
    "id": "k8s_00633_section_3_13946"
  },
  {
    "question": "What is QueueSort?",
    "answer": "T h e s e   p l u g i n s   a r e   u s e d   t o   s o r t   P o d s   i n   t h e   s c h e d u l i n g   q u e u e .   A   q u e u e   s o r t   p l u g i n   e s s e n t i a l l y   p r o v i d e s   a   L e s s ( P o d 1 ,   P o d 2 )   f u n c t i o n .   O n l y   o n e   q u e u e   s o r t   p l u g i n   m a y   b e   e n a b l e d   a t   a   t i m e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/",
    "id": "k8s_00633_section_3_13947"
  },
  {
    "question": "What is PreFilter?",
    "answer": "T h e s e   p l u g i n s   a r e   u s e d   t o   p r e - p r o c e s s   i n f o   a b o u t   t h e   P o d ,   o r   t o   c h e c k   c e r t a i n   c o n d i t i o n s   t h a t   t h e   c l u s t e r   o r   t h e   P o d   m u s t   m e e t .   I f   a   P r e F i l t e r   p l u g i n   r e t u r n s   a n   e r r o r ,   t h e   s c h e d u l i n g   c y c l e   i s   a b o r t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/",
    "id": "k8s_00633_section_3_13948"
  },
  {
    "question": "What is Filter?",
    "answer": "T h e s e   p l u g i n s   a r e   u s e d   t o   f i l t e r   o u t   n o d e s   t h a t   c a n n o t   r u n   t h e   P o d .   F o r   e a c h   n o d e ,   t h e   s c h e d u l e r   w i l l   c a l l   f i l t e r   p l u g i n s   i n   t h e i r   c o n f i g u r e d   o r d e r .   I f   a n y   f i l t e r   p l u g i n   m a r k s   t h e   n o d e   a s   i n f e a s i b l e ,   t h e   r e m a i n i n g   p l u g i n s   w i l l   n o t   b e   c a l l e d   f o r   t h a t   n o d e .   N o d e s   m a y   b e   e v a l u a t e d   c o n c u r r e n t l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/",
    "id": "k8s_00633_section_3_13949"
  },
  {
    "question": "What is PostFilter?",
    "answer": "T h e s e   p l u g i n s   a r e   c a l l e d   a f t e r   t h e   F i l t e r   p h a s e ,   b u t   o n l y   w h e n   n o   f e a s i b l e   n o d e s   w e r e   f o u n d   f o r   t h e   p o d .   P l u g i n s   a r e   c a l l e d   i n   t h e i r   c o n f i g u r e d   o r d e r .   I f   a n y   p o s t F i l t e r   p l u g i n   m a r k s   t h e   n o d e   a s   S c h e d u l a b l e ,   t h e   r e m a i n i n g   p l u g i n s   w i l l   n o t   b e   c a l l e d .   A   t y p i c a l   P o s t F i l t e r   i m p l e m e n t a t i o n   i s   p r e e m p t i o n ,   w h i c h   t r i e s   t o   m a k e   t h e   p o d   s c h e d u l a b l e   b y   p r e e m p t i n g   o t h e r   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/",
    "id": "k8s_00633_section_3_13950"
  },
  {
    "question": "What is PreScore?",
    "answer": "T h e s e   p l u g i n s   a r e   u s e d   t o   p e r f o r m   \" p r e - s c o r i n g \"   w o r k ,   w h i c h   g e n e r a t e s   a   s h a r a b l e   s t a t e   f o r   S c o r e   p l u g i n s   t o   u s e .   I f   a   P r e S c o r e   p l u g i n   r e t u r n s   a n   e r r o r ,   t h e   s c h e d u l i n g   c y c l e   i s   a b o r t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/",
    "id": "k8s_00633_section_3_13951"
  },
  {
    "question": "What is Score?",
    "answer": "T h e s e   p l u g i n s   a r e   u s e d   t o   r a n k   n o d e s   t h a t   h a v e   p a s s e d   t h e   f i l t e r i n g   p h a s e .   T h e   s c h e d u l e r   w i l l   c a l l   e a c h   s c o r i n g   p l u g i n   f o r   e a c h   n o d e .   T h e r e   w i l l   b e   a   w e l l   d e f i n e d   r a n g e   o f   i n t e g e r s   r e p r e s e n t i n g   t h e   m i n i m u m   a n d   m a x i m u m   s c o r e s .   A f t e r   t h e   N o r m a l i z e S c o r e   p h a s e ,   t h e   s c h e d u l e r   w i l l   c o m b i n e   n o d e   s c o r e s   f r o m   a l l   p l u g i n s   a c c o r d i n g   t o   t h e   c o n f i g u r e d   p l u g i n   w e i g h t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/",
    "id": "k8s_00633_section_3_13952"
  },
  {
    "question": "What is Capacity scoring?",
    "answer": "T h e   f e a t u r e   g a t e   V o l u m e C a p a c i t y P r i o r i t y   w a s   u s e d   i n   v 1 . 3 2   t o   s u p p o r t   s t o r a g e   t h a t   a r e   s t a t i c a l l y   p r o v i s i o n e d .   S t a r t i n g   f r o m   v 1 . 3 3 ,   t h e   n e w   f e a t u r e   g a t e   S t o r a g e C a p a c i t y S c o r i n g   r e p l a c e s   t h e   o l d   V o l u m e C a p a c i t y P r i o r i t y   g a t e   w i t h   a d d e d   s u p p o r t   t o   d y n a m i c a l l y   p r o v i s i o n e d   s t o r a g e .   W h e n   S t o r a g e C a p a c i t y S c o r i n g   i s   e n a b l e d ,   t h e   V o l u m e B i n d i n g   p l u g i n   i n   t h e   k u b e - s c h e d u l e r   i s   e x t e n d e d   t o   s c o r e   N o d e s   b a s e d   o n   t h e   s t o r a g e   c a p a c i t y   o n   e a c h   o f   t h e m .   T h i s   f e a t u r e   i s   a p p l i c a b l e   t o   C S I   v o l u m e s   t h a t   s u p p o r t e d   S t o r a g e   C a p a c i t y ,   i n c l u d i n g   l o c a l   s t o r a g e   b a c k e d   b y   a   C S I   d r i v e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/",
    "id": "k8s_00633_section_4_13953"
  },
  {
    "question": "What is NormalizeScore?",
    "answer": "T h e s e   p l u g i n s   a r e   u s e d   t o   m o d i f y   s c o r e s   b e f o r e   t h e   s c h e d u l e r   c o m p u t e s   a   f i n a l   r a n k i n g   o f   N o d e s .   A   p l u g i n   t h a t   r e g i s t e r s   f o r   t h i s   e x t e n s i o n   p o i n t   w i l l   b e   c a l l e d   w i t h   t h e   S c o r e   r e s u l t s   f r o m   t h e   s a m e   p l u g i n .   T h i s   i s   c a l l e d   o n c e   p e r   p l u g i n   p e r   s c h e d u l i n g   c y c l e .   F o r   e x a m p l e ,   s u p p o s e   a   p l u g i n   B l i n k i n g L i g h t S c o r e r   r a n k s   N o d e s   b a s e d   o n   h o w   m a n y   b l i n k i n g   l i g h t s   t h e y   h a v e .   f u n c   S c o r e N o d e ( _   * v 1 . p o d ,   n   * v 1 . N o d e )   ( i n t ,   e r r o r )   {   r e t u r n   g e t B l i n k i n g L i g h t C o u n t ( n )   }   H o w e v e r ,   t h e   m a x i m u m   c o u n t   o f   b l i n k i n g   l i g h t s   m a y   b e   s m a l l   c o m p a r e d   t o   N o d e S c o r e M a x .   T o   f i x   t h i s ,   B l i n k i n g L i g h t S c o r e r   s h o u l d   a l s o   r e g i s t e r   f o r   t h i s   e x t e n s i o n   p o i n t .   f u n c   N o r m a l i z e S c o r e s ( s c o r e s   m a p [ s t r i n g ] i n t )   {   h i g h e s t   : =   0   f o r   _ ,   s c o r e   : =   r a n g e   s c o r e s   {   h i g h e s t   =   m a x ( h i g h e s t ,   s c o r e )   }   f o r   n o d e ,   s c o r e   : =   r a n g e   s c o r e s   {   s c o r e s [ n o d e ]   =   s c o r e * N o d e S c o r e M a x / h i g h e s t   }   }   I f   a n y   N o r m a l i z e S c o r e   p l u g i n   r e t u r n s   a n   e r r o r ,   t h e   s c h e d u l i n g   c y c l e   i s   a b o r t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/",
    "id": "k8s_00633_section_3_13954"
  },
  {
    "question": "What is Reserve?",
    "answer": "A   p l u g i n   t h a t   i m p l e m e n t s   t h e   R e s e r v e   i n t e r f a c e   h a s   t w o   m e t h o d s ,   n a m e l y   R e s e r v e   a n d   U n r e s e r v e ,   t h a t   b a c k   t w o   i n f o r m a t i o n a l   s c h e d u l i n g   p h a s e s   c a l l e d   R e s e r v e   a n d   U n r e s e r v e ,   r e s p e c t i v e l y .   P l u g i n s   w h i c h   m a i n t a i n   r u n t i m e   s t a t e   ( a k a   \" s t a t e f u l   p l u g i n s \" )   s h o u l d   u s e   t h e s e   p h a s e s   t o   b e   n o t i f i e d   b y   t h e   s c h e d u l e r   w h e n   r e s o u r c e s   o n   a   n o d e   a r e   b e i n g   r e s e r v e d   a n d   u n r e s e r v e d   f o r   a   g i v e n   P o d .   T h e   R e s e r v e   p h a s e   h a p p e n s   b e f o r e   t h e   s c h e d u l e r   a c t u a l l y   b i n d s   a   P o d   t o   i t s   d e s i g n a t e d   n o d e .   I t   e x i s t s   t o   p r e v e n t   r a c e   c o n d i t i o n s   w h i l e   t h e   s c h e d u l e r   w a i t s   f o r   t h e   b i n d   t o   s u c c e e d .   T h e   R e s e r v e   m e t h o d   o f   e a c h   R e s e r v e   p l u g i n   m a y   s u c c e e d   o r   f a i l ;   i f   o n e   R e s e r v e   m e t h o d   c a l l   f a i l s ,   s u b s e q u e n t   p l u g i n s   a r e   n o t   e x e c u t e d   a n d   t h e   R e s e r v e   p h a s e   i s   c o n s i d e r e d   t o   h a v e   f a i l e d .   I f   t h e   R e s e r v e   m e t h o d   o f   a l l   p l u g i n s   s u c c e e d ,   t h e   R e s e r v e   p h a s e   i s   c o n s i d e r e d   t o   b e   s u c c e s s f u l   a n d   t h e   r e s t   o f   t h e   s c h e d u l i n g   c y c l e   a n d   t h e   b i n d i n g   c y c l e   a r e   e x e c u t e d .   T h e   U n r e s e r v e   p h a s e   i s   t r i g g e r e d   i f   t h e   R e s e r v e   p h a s e   o r   a   l a t e r   p h a s e   f a i l s .   W h e n   t h i s   h ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/",
    "id": "k8s_00633_section_3_13955"
  },
  {
    "question": "What is Permit?",
    "answer": "P e r m i t   p l u g i n s   a r e   i n v o k e d   a t   t h e   e n d   o f   t h e   s c h e d u l i n g   c y c l e   f o r   e a c h   P o d ,   t o   p r e v e n t   o r   d e l a y   t h e   b i n d i n g   t o   t h e   c a n d i d a t e   n o d e .   A   p e r m i t   p l u g i n   c a n   d o   o n e   o f   t h e   t h r e e   t h i n g s :   a p p r o v e O n c e   a l l   P e r m i t   p l u g i n s   a p p r o v e   a   P o d ,   i t   i s   s e n t   f o r   b i n d i n g . d e n y I f   a n y   P e r m i t   p l u g i n   d e n i e s   a   P o d ,   i t   i s   r e t u r n e d   t o   t h e   s c h e d u l i n g   q u e u e .   T h i s   w i l l   t r i g g e r   t h e   U n r e s e r v e   p h a s e   i n   R e s e r v e   p l u g i n s . w a i t   ( w i t h   a   t i m e o u t ) I f   a   P e r m i t   p l u g i n   r e t u r n s   \" w a i t \" ,   t h e n   t h e   P o d   i s   k e p t   i n   a n   i n t e r n a l   \" w a i t i n g \"   P o d s   l i s t ,   a n d   t h e   b i n d i n g   c y c l e   o f   t h i s   P o d   s t a r t s   b u t   d i r e c t l y   b l o c k s   u n t i l   i t   g e t s   a p p r o v e d .   I f   a   t i m e o u t   o c c u r s ,   w a i t   b e c o m e s   d e n y   a n d   t h e   P o d   i s   r e t u r n e d   t o   t h e   s c h e d u l i n g   q u e u e ,   t r i g g e r i n g   t h e   U n r e s e r v e   p h a s e   i n   R e s e r v e   p l u g i n s .   a p p r o v e O n c e   a l l   P e r m i t   p l u g i n s   a p p r o v e   a   P o d ,   i t   i s   s e n t   f o r   b i n d i n g .   d e n y I f   a n y   P e r m i t   p l u g i n   d e n i e s   a   P o d ,   i t   i s   r e t u r n e d   t o   t h e   s c h e d u l i n g   q u e u e .   T h i s   w i l l   t r i g g e r   t h e   U n r e s e r v e   p h a s e   i n   R e s e r v e   p l u g i n s .   w a i t   ( w i t h   a   t i m e o u t ) I f   a   P e r m i t   p l u g i n   r e t u r n s   \" w a i t \" ,   t h e n   t h e   P o d   i s   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/",
    "id": "k8s_00633_section_3_13956"
  },
  {
    "question": "What is PreBind?",
    "answer": "T h e s e   p l u g i n s   a r e   u s e d   t o   p e r f o r m   a n y   w o r k   r e q u i r e d   b e f o r e   a   P o d   i s   b o u n d .   F o r   e x a m p l e ,   a   p r e - b i n d   p l u g i n   m a y   p r o v i s i o n   a   n e t w o r k   v o l u m e   a n d   m o u n t   i t   o n   t h e   t a r g e t   n o d e   b e f o r e   a l l o w i n g   t h e   P o d   t o   r u n   t h e r e .   I f   a n y   P r e B i n d   p l u g i n   r e t u r n s   a n   e r r o r ,   t h e   P o d   i s   r e j e c t e d   a n d   r e t u r n e d   t o   t h e   s c h e d u l i n g   q u e u e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/",
    "id": "k8s_00633_section_3_13957"
  },
  {
    "question": "What is Bind?",
    "answer": "T h e s e   p l u g i n s   a r e   u s e d   t o   b i n d   a   P o d   t o   a   N o d e .   B i n d   p l u g i n s   w i l l   n o t   b e   c a l l e d   u n t i l   a l l   P r e B i n d   p l u g i n s   h a v e   c o m p l e t e d .   E a c h   b i n d   p l u g i n   i s   c a l l e d   i n   t h e   c o n f i g u r e d   o r d e r .   A   b i n d   p l u g i n   m a y   c h o o s e   w h e t h e r   o r   n o t   t o   h a n d l e   t h e   g i v e n   P o d .   I f   a   b i n d   p l u g i n   c h o o s e s   t o   h a n d l e   a   P o d ,   t h e   r e m a i n i n g   b i n d   p l u g i n s   a r e   s k i p p e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/",
    "id": "k8s_00633_section_3_13958"
  },
  {
    "question": "What is PostBind?",
    "answer": "T h i s   i s   a n   i n f o r m a t i o n a l   i n t e r f a c e .   P o s t - b i n d   p l u g i n s   a r e   c a l l e d   a f t e r   a   P o d   i s   s u c c e s s f u l l y   b o u n d .   T h i s   i s   t h e   e n d   o f   a   b i n d i n g   c y c l e ,   a n d   c a n   b e   u s e d   t o   c l e a n   u p   a s s o c i a t e d   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/",
    "id": "k8s_00633_section_3_13959"
  },
  {
    "question": "What is Plugin API?",
    "answer": "T h e r e   a r e   t w o   s t e p s   t o   t h e   p l u g i n   A P I .   F i r s t ,   p l u g i n s   m u s t   r e g i s t e r   a n d   g e t   c o n f i g u r e d ,   t h e n   t h e y   u s e   t h e   e x t e n s i o n   p o i n t   i n t e r f a c e s .   E x t e n s i o n   p o i n t   i n t e r f a c e s   h a v e   t h e   f o l l o w i n g   f o r m .   t y p e   P l u g i n   i n t e r f a c e   {   N a m e ( )   s t r i n g   }   t y p e   Q u e u e S o r t P l u g i n   i n t e r f a c e   {   P l u g i n   L e s s ( * v 1 . p o d ,   * v 1 . p o d )   b o o l   }   t y p e   P r e F i l t e r P l u g i n   i n t e r f a c e   {   P l u g i n   P r e F i l t e r ( c o n t e x t . C o n t e x t ,   * f r a m e w o r k . C y c l e S t a t e ,   * v 1 . p o d )   e r r o r   }   / /   . . .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/",
    "id": "k8s_00633_section_2_13960"
  },
  {
    "question": "What is Plugin configuration?",
    "answer": "Y o u   c a n   e n a b l e   o r   d i s a b l e   p l u g i n s   i n   t h e   s c h e d u l e r   c o n f i g u r a t i o n .   I f   y o u   a r e   u s i n g   K u b e r n e t e s   v 1 . 1 8   o r   l a t e r ,   m o s t   s c h e d u l i n g   p l u g i n s   a r e   i n   u s e   a n d   e n a b l e d   b y   d e f a u l t .   I n   a d d i t i o n   t o   d e f a u l t   p l u g i n s ,   y o u   c a n   a l s o   i m p l e m e n t   y o u r   o w n   s c h e d u l i n g   p l u g i n s   a n d   g e t   t h e m   c o n f i g u r e d   a l o n g   w i t h   d e f a u l t   p l u g i n s .   Y o u   c a n   v i s i t   s c h e d u l e r - p l u g i n s   f o r   m o r e   d e t a i l s .   I f   y o u   a r e   u s i n g   K u b e r n e t e s   v 1 . 1 8   o r   l a t e r ,   y o u   c a n   c o n f i g u r e   a   s e t   o f   p l u g i n s   a s   a   s c h e d u l e r   p r o f i l e   a n d   t h e n   d e f i n e   m u l t i p l e   p r o f i l e s   t o   f i t   v a r i o u s   k i n d s   o f   w o r k l o a d .   L e a r n   m o r e   a t   m u l t i p l e   p r o f i l e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/",
    "id": "k8s_00633_section_2_13961"
  },
  {
    "question": "What is Container Environment?",
    "answer": "Container EnvironmentThis page describes the resources available to Containers in the Container environment.Container environmentThe Kubernetes Container environment provides several important resources to Containers:A filesystem, which is a combination of an image and one or more volumes.Information about the Container itself.Information about other objects in the cluster.Container informationThe hostname of a Container is the name of the Pod in which the Container is running. It is available through the hostname command or the gethostname function call in libc.The Pod name and namespace are available as environment variables through the downward API.User defined environment variables from the Pod definition are also available to the Container, as are any environment variables specified statically in the container image.Cluster informationA list of all services that were running when a Container was created is available to that Container as environment variables. This list is limited to services within the same namespace as the new Container's Pod and Kubernetes control plane services.For a service named foo that maps to a Container named bar, the following variables are defined:FOO_SERVICE_HOST=<the host the service is running on> FOO_SERVICE_PORT=<the port the service is running on> Services have dedicated IP addresses and are available to the Container via DNS, if DNS addon is enabled. What's nextLearn more about Container lifecycle hooks.Get hands-on experience attaching handlers to Container lifecycle events.",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/container-environment/",
    "id": "k8s_00634_qa_13962"
  },
  {
    "question": "How does Container Environment work?",
    "answer": "Container EnvironmentThis page describes the resources available to Containers in the Container environment.Container environmentThe Kubernetes Container environment provides several important resources to Containers:A filesystem, which is a combination of an image and one or more volumes.Information about the Container itself.Information about other objects in the cluster.Container informationThe hostname of a Container is the name of the Pod in which the Container is running. It is available through the hostname command or the gethostname function call in libc.The Pod name and namespace are available as environment variables through the downward API.User defined environment variables from the Pod definition are also available to the Container, as are any environment variables specified statically in the container image.Cluster informationA list of all services that were running when a Container was created is available to that Container as environment variables. This list is limited to services within the same namespace as the new Container's Pod and Kubernetes control plane services.For a service named foo that maps to a Container named bar, the following variables are defined:FOO_SERVICE_HOST=<the host the service is running on> FOO_SERVICE_PORT=<the port the service is running on> Services have dedicated IP addresses and are available to the Container via DNS, if DNS addon is enabled. What's nextLearn more about Container lifecycle hooks.Get hands-on experience attaching handlers to Container lifecycle events.",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/container-environment/",
    "id": "k8s_00634_qa_13963"
  },
  {
    "question": "When would you use Container Environment?",
    "answer": "Container EnvironmentThis page describes the resources available to Containers in the Container environment.Container environmentThe Kubernetes Container environment provides several important resources to Containers:A filesystem, which is a combination of an image and one or more volumes.Information about the Container itself.Information about other objects in the cluster.Container informationThe hostname of a Container is the name of the Pod in which the Container is running. It is available through the hostname command or the gethostname function call in libc.The Pod name and namespace are available as environment variables through the downward API.User defined environment variables from the Pod definition are also available to the Container, as are any environment variables specified statically in the container image.Cluster informationA list of all services that were running when a Container was created is available to that Container as environment variables. This list is limited to services within the same namespace as the new Container's Pod and Kubernetes control plane services.For a service named foo that maps to a Container named bar, the following variables are defined:FOO_SERVICE_HOST=<the host the service is running on> FOO_SERVICE_PORT=<the port the service is running on> Services have dedicated IP addresses and are available to the Container via DNS, if DNS addon is enabled. What's nextLearn more about Container lifecycle hooks.Get hands-on experience attaching handlers to Container lifecycle events.",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/container-environment/",
    "id": "k8s_00634_qa_13964"
  },
  {
    "question": "What are the benefits of Container Environment?",
    "answer": "Container EnvironmentThis page describes the resources available to Containers in the Container environment.Container environmentThe Kubernetes Container environment provides several important resources to Containers:A filesystem, which is a combination of an image and one or more volumes.Information about the Container itself.Information about other objects in the cluster.Container informationThe hostname of a Container is the name of the Pod in which the Container is running. It is available through the hostname command or the gethostname function call in libc.The Pod name and namespace are available as environment variables through the downward API.User defined environment variables from the Pod definition are also available to the Container, as are any environment variables specified statically in the container image.Cluster informationA list of all services that were running when a Container was created is available to that Container as environment variables. This list is limited to services within the same namespace as the new Container's Pod and Kubernetes control plane services.For a service named foo that maps to a Container named bar, the following variables are defined:FOO_SERVICE_HOST=<the host the service is running on> FOO_SERVICE_PORT=<the port the service is running on> Services have dedicated IP addresses and are available to the Container via DNS, if DNS addon is enabled. What's nextLearn more about Container lifecycle hooks.Get hands-on experience attaching handlers to Container lifecycle events.",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/container-environment/",
    "id": "k8s_00634_qa_13965"
  },
  {
    "question": "What is Container Environment?",
    "answer": "T h i s   p a g e   d e s c r i b e s   t h e   r e s o u r c e s   a v a i l a b l e   t o   C o n t a i n e r s   i n   t h e   C o n t a i n e r   e n v i r o n m e n t .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/container-environment/",
    "id": "k8s_00634_section_1_13966"
  },
  {
    "question": "What is Container environment?",
    "answer": "T h e   K u b e r n e t e s   C o n t a i n e r   e n v i r o n m e n t   p r o v i d e s   s e v e r a l   i m p o r t a n t   r e s o u r c e s   t o   C o n t a i n e r s :   A   f i l e s y s t e m ,   w h i c h   i s   a   c o m b i n a t i o n   o f   a n   i m a g e   a n d   o n e   o r   m o r e   v o l u m e s . I n f o r m a t i o n   a b o u t   t h e   C o n t a i n e r   i t s e l f . I n f o r m a t i o n   a b o u t   o t h e r   o b j e c t s   i n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/container-environment/",
    "id": "k8s_00634_section_2_13967"
  },
  {
    "question": "What is Container information?",
    "answer": "T h e   h o s t n a m e   o f   a   C o n t a i n e r   i s   t h e   n a m e   o f   t h e   P o d   i n   w h i c h   t h e   C o n t a i n e r   i s   r u n n i n g .   I t   i s   a v a i l a b l e   t h r o u g h   t h e   h o s t n a m e   c o m m a n d   o r   t h e   g e t h o s t n a m e   f u n c t i o n   c a l l   i n   l i b c .   T h e   P o d   n a m e   a n d   n a m e s p a c e   a r e   a v a i l a b l e   a s   e n v i r o n m e n t   v a r i a b l e s   t h r o u g h   t h e   d o w n w a r d   A P I .   U s e r   d e f i n e d   e n v i r o n m e n t   v a r i a b l e s   f r o m   t h e   P o d   d e f i n i t i o n   a r e   a l s o   a v a i l a b l e   t o   t h e   C o n t a i n e r ,   a s   a r e   a n y   e n v i r o n m e n t   v a r i a b l e s   s p e c i f i e d   s t a t i c a l l y   i n   t h e   c o n t a i n e r   i m a g e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/container-environment/",
    "id": "k8s_00634_section_3_13968"
  },
  {
    "question": "What is Cluster information?",
    "answer": "A   l i s t   o f   a l l   s e r v i c e s   t h a t   w e r e   r u n n i n g   w h e n   a   C o n t a i n e r   w a s   c r e a t e d   i s   a v a i l a b l e   t o   t h a t   C o n t a i n e r   a s   e n v i r o n m e n t   v a r i a b l e s .   T h i s   l i s t   i s   l i m i t e d   t o   s e r v i c e s   w i t h i n   t h e   s a m e   n a m e s p a c e   a s   t h e   n e w   C o n t a i n e r ' s   P o d   a n d   K u b e r n e t e s   c o n t r o l   p l a n e   s e r v i c e s .   F o r   a   s e r v i c e   n a m e d   f o o   t h a t   m a p s   t o   a   C o n t a i n e r   n a m e d   b a r ,   t h e   f o l l o w i n g   v a r i a b l e s   a r e   d e f i n e d :   F O O _ S E R V I C E _ H O S T = < t h e   h o s t   t h e   s e r v i c e   i s   r u n n i n g   o n >   F O O _ S E R V I C E _ P O R T = < t h e   p o r t   t h e   s e r v i c e   i s   r u n n i n g   o n >   S e r v i c e s   h a v e   d e d i c a t e d   I P   a d d r e s s e s   a n d   a r e   a v a i l a b l e   t o   t h e   C o n t a i n e r   v i a   D N S ,   i f   D N S   a d d o n   i s   e n a b l e d .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/container-environment/",
    "id": "k8s_00634_section_3_13969"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   C o n t a i n e r   l i f e c y c l e   h o o k s . G e t   h a n d s - o n   e x p e r i e n c e   a t t a c h i n g   h a n d l e r s   t o   C o n t a i n e r   l i f e c y c l e   e v e n t s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/containers/container-environment/",
    "id": "k8s_00634_section_2_13970"
  },
  {
    "question": "What is Windows debugging tips?",
    "answer": "Windows debugging tipsNode-level troubleshootingMy Pods are stuck at \"Container Creating\" or restarting over and overEnsure that your pause image is compatible with your Windows OS version. See Pause container to see the latest / recommended pause image and/or get more information.Note:If using containerd as your container runtime the pause image is specified in the plugins.plugins.cri.sandbox_image field of the of config.toml configuration file.My pods show status as ErrImgPull or ImagePullBackOffEnsure that your Pod is getting scheduled to a compatible Windows Node.More information on how to specify a compatible node for your Pod can be found in this guide.Network troubleshootingMy Windows Pods do not have network connectivityIf you are using virtual machines, ensure that MAC spoofing is enabled on all the VM network adapter(s).My Windows Pods cannot ping external resourcesWindows Pods do not have outbound rules programmed for the ICMP protocol. However, TCP/UDP is supported. When trying to demonstrate connectivity to resources outside of the cluster, substitute ping <IP> with corresponding curl <IP> commands.If you are still facing problems, most likely your network configuration in cni.conf deserves some extra attention. You can always edit this static file. The configuration update will apply to any new Kubernetes resources.One of the Kubernetes networking requirements (see Kubernetes model) is for cluster communication to occur without NAT internally. To honor this requirement, there is an ExceptionList for all the communication where you do not want outbound NAT to occur. However, this also means that you need to exclude the external IP you are trying to query from the ExceptionList. Only then will the traffic originating from your Windows pods be SNAT'ed correctly to receive a response from the outside world. In this regard, your ExceptionList in cni.conf should look as follows:\"ExceptionList\": [ \"10.244.0.0/16\", # Cluster subnet \"10.96.0.0/12\", # Service subnet \"10.127.130.0/24\" # Management (host) subnet ] My Windows node cannot access NodePort type ServicesLocal NodePort access from the node itself fails. This is a known limitation. NodePort access works from other nodes or external clients.vNICs and HNS endpoints of containers are being deletedThis issue can be caused when the hostname-override parameter is not passed to kube-proxy. To resolve it, users need to pass the hostname to kube-proxy as follows:C:\\k\\kube-proxy.exe --hostname-override=$(hostname) My Windows node cannot access my services using the service IPThis is a known limitation of the networking stack on Windows. However, Windows Pods can access the Service IP.No network adapter is found when starting the kubeletThe Windows networking stack needs a virtual adapter for Kubernetes networking to work. If the following commands return no results (in an admin shell), virtual network creation — a necessary prerequisite for the kubelet to work — has failed:Get-HnsNetwork | ? Na",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/windows/",
    "id": "k8s_00635_qa_13971"
  },
  {
    "question": "How does Windows debugging tips work?",
    "answer": "Windows debugging tipsNode-level troubleshootingMy Pods are stuck at \"Container Creating\" or restarting over and overEnsure that your pause image is compatible with your Windows OS version. See Pause container to see the latest / recommended pause image and/or get more information.Note:If using containerd as your container runtime the pause image is specified in the plugins.plugins.cri.sandbox_image field of the of config.toml configuration file.My pods show status as ErrImgPull or ImagePullBackOffEnsure that your Pod is getting scheduled to a compatible Windows Node.More information on how to specify a compatible node for your Pod can be found in this guide.Network troubleshootingMy Windows Pods do not have network connectivityIf you are using virtual machines, ensure that MAC spoofing is enabled on all the VM network adapter(s).My Windows Pods cannot ping external resourcesWindows Pods do not have outbound rules programmed for the ICMP protocol. However, TCP/UDP is supported. When trying to demonstrate connectivity to resources outside of the cluster, substitute ping <IP> with corresponding curl <IP> commands.If you are still facing problems, most likely your network configuration in cni.conf deserves some extra attention. You can always edit this static file. The configuration update will apply to any new Kubernetes resources.One of the Kubernetes networking requirements (see Kubernetes model) is for cluster communication to occur without NAT internally. To honor this requirement, there is an ExceptionList for all the communication where you do not want outbound NAT to occur. However, this also means that you need to exclude the external IP you are trying to query from the ExceptionList. Only then will the traffic originating from your Windows pods be SNAT'ed correctly to receive a response from the outside world. In this regard, your ExceptionList in cni.conf should look as follows:\"ExceptionList\": [ \"10.244.0.0/16\", # Cluster subnet \"10.96.0.0/12\", # Service subnet \"10.127.130.0/24\" # Management (host) subnet ] My Windows node cannot access NodePort type ServicesLocal NodePort access from the node itself fails. This is a known limitation. NodePort access works from other nodes or external clients.vNICs and HNS endpoints of containers are being deletedThis issue can be caused when the hostname-override parameter is not passed to kube-proxy. To resolve it, users need to pass the hostname to kube-proxy as follows:C:\\k\\kube-proxy.exe --hostname-override=$(hostname) My Windows node cannot access my services using the service IPThis is a known limitation of the networking stack on Windows. However, Windows Pods can access the Service IP.No network adapter is found when starting the kubeletThe Windows networking stack needs a virtual adapter for Kubernetes networking to work. If the following commands return no results (in an admin shell), virtual network creation — a necessary prerequisite for the kubelet to work — has failed:Get-HnsNetwork | ? Na",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/windows/",
    "id": "k8s_00635_qa_13972"
  },
  {
    "question": "When would you use Windows debugging tips?",
    "answer": "Windows debugging tipsNode-level troubleshootingMy Pods are stuck at \"Container Creating\" or restarting over and overEnsure that your pause image is compatible with your Windows OS version. See Pause container to see the latest / recommended pause image and/or get more information.Note:If using containerd as your container runtime the pause image is specified in the plugins.plugins.cri.sandbox_image field of the of config.toml configuration file.My pods show status as ErrImgPull or ImagePullBackOffEnsure that your Pod is getting scheduled to a compatible Windows Node.More information on how to specify a compatible node for your Pod can be found in this guide.Network troubleshootingMy Windows Pods do not have network connectivityIf you are using virtual machines, ensure that MAC spoofing is enabled on all the VM network adapter(s).My Windows Pods cannot ping external resourcesWindows Pods do not have outbound rules programmed for the ICMP protocol. However, TCP/UDP is supported. When trying to demonstrate connectivity to resources outside of the cluster, substitute ping <IP> with corresponding curl <IP> commands.If you are still facing problems, most likely your network configuration in cni.conf deserves some extra attention. You can always edit this static file. The configuration update will apply to any new Kubernetes resources.One of the Kubernetes networking requirements (see Kubernetes model) is for cluster communication to occur without NAT internally. To honor this requirement, there is an ExceptionList for all the communication where you do not want outbound NAT to occur. However, this also means that you need to exclude the external IP you are trying to query from the ExceptionList. Only then will the traffic originating from your Windows pods be SNAT'ed correctly to receive a response from the outside world. In this regard, your ExceptionList in cni.conf should look as follows:\"ExceptionList\": [ \"10.244.0.0/16\", # Cluster subnet \"10.96.0.0/12\", # Service subnet \"10.127.130.0/24\" # Management (host) subnet ] My Windows node cannot access NodePort type ServicesLocal NodePort access from the node itself fails. This is a known limitation. NodePort access works from other nodes or external clients.vNICs and HNS endpoints of containers are being deletedThis issue can be caused when the hostname-override parameter is not passed to kube-proxy. To resolve it, users need to pass the hostname to kube-proxy as follows:C:\\k\\kube-proxy.exe --hostname-override=$(hostname) My Windows node cannot access my services using the service IPThis is a known limitation of the networking stack on Windows. However, Windows Pods can access the Service IP.No network adapter is found when starting the kubeletThe Windows networking stack needs a virtual adapter for Kubernetes networking to work. If the following commands return no results (in an admin shell), virtual network creation — a necessary prerequisite for the kubelet to work — has failed:Get-HnsNetwork | ? Na",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/windows/",
    "id": "k8s_00635_qa_13973"
  },
  {
    "question": "What are the benefits of Windows debugging tips?",
    "answer": "Windows debugging tipsNode-level troubleshootingMy Pods are stuck at \"Container Creating\" or restarting over and overEnsure that your pause image is compatible with your Windows OS version. See Pause container to see the latest / recommended pause image and/or get more information.Note:If using containerd as your container runtime the pause image is specified in the plugins.plugins.cri.sandbox_image field of the of config.toml configuration file.My pods show status as ErrImgPull or ImagePullBackOffEnsure that your Pod is getting scheduled to a compatible Windows Node.More information on how to specify a compatible node for your Pod can be found in this guide.Network troubleshootingMy Windows Pods do not have network connectivityIf you are using virtual machines, ensure that MAC spoofing is enabled on all the VM network adapter(s).My Windows Pods cannot ping external resourcesWindows Pods do not have outbound rules programmed for the ICMP protocol. However, TCP/UDP is supported. When trying to demonstrate connectivity to resources outside of the cluster, substitute ping <IP> with corresponding curl <IP> commands.If you are still facing problems, most likely your network configuration in cni.conf deserves some extra attention. You can always edit this static file. The configuration update will apply to any new Kubernetes resources.One of the Kubernetes networking requirements (see Kubernetes model) is for cluster communication to occur without NAT internally. To honor this requirement, there is an ExceptionList for all the communication where you do not want outbound NAT to occur. However, this also means that you need to exclude the external IP you are trying to query from the ExceptionList. Only then will the traffic originating from your Windows pods be SNAT'ed correctly to receive a response from the outside world. In this regard, your ExceptionList in cni.conf should look as follows:\"ExceptionList\": [ \"10.244.0.0/16\", # Cluster subnet \"10.96.0.0/12\", # Service subnet \"10.127.130.0/24\" # Management (host) subnet ] My Windows node cannot access NodePort type ServicesLocal NodePort access from the node itself fails. This is a known limitation. NodePort access works from other nodes or external clients.vNICs and HNS endpoints of containers are being deletedThis issue can be caused when the hostname-override parameter is not passed to kube-proxy. To resolve it, users need to pass the hostname to kube-proxy as follows:C:\\k\\kube-proxy.exe --hostname-override=$(hostname) My Windows node cannot access my services using the service IPThis is a known limitation of the networking stack on Windows. However, Windows Pods can access the Service IP.No network adapter is found when starting the kubeletThe Windows networking stack needs a virtual adapter for Kubernetes networking to work. If the following commands return no results (in an admin shell), virtual network creation — a necessary prerequisite for the kubelet to work — has failed:Get-HnsNetwork | ? Na",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/windows/",
    "id": "k8s_00635_qa_13974"
  },
  {
    "question": "What is Node-level troubleshooting?",
    "answer": "M y   P o d s   a r e   s t u c k   a t   \" C o n t a i n e r   C r e a t i n g \"   o r   r e s t a r t i n g   o v e r   a n d   o v e r E n s u r e   t h a t   y o u r   p a u s e   i m a g e   i s   c o m p a t i b l e   w i t h   y o u r   W i n d o w s   O S   v e r s i o n .   S e e   P a u s e   c o n t a i n e r   t o   s e e   t h e   l a t e s t   /   r e c o m m e n d e d   p a u s e   i m a g e   a n d / o r   g e t   m o r e   i n f o r m a t i o n . N o t e : I f   u s i n g   c o n t a i n e r d   a s   y o u r   c o n t a i n e r   r u n t i m e   t h e   p a u s e   i m a g e   i s   s p e c i f i e d   i n   t h e   p l u g i n s . p l u g i n s . c r i . s a n d b o x _ i m a g e   f i e l d   o f   t h e   o f   c o n f i g . t o m l   c o n f i g u r a t i o n   f i l e . M y   p o d s   s h o w   s t a t u s   a s   E r r I m g P u l l   o r   I m a g e P u l l B a c k O f f E n s u r e   t h a t   y o u r   P o d   i s   g e t t i n g   s c h e d u l e d   t o   a   c o m p a t i b l e   W i n d o w s   N o d e . M o r e   i n f o r m a t i o n   o n   h o w   t o   s p e c i f y   a   c o m p a t i b l e   n o d e   f o r   y o u r   P o d   c a n   b e   f o u n d   i n   t h i s   g u i d e .   M y   P o d s   a r e   s t u c k   a t   \" C o n t a i n e r   C r e a t i n g \"   o r   r e s t a r t i n g   o v e r   a n d   o v e r   E n s u r e   t h a t   y o u r   p a u s e   i m a g e   i s   c o m p a t i b l e   w i t h   y o u r   W i n d o w s   O S   v e r s i o n .   S e e   P a u s e   c o n t a i n e r   t o   s e e   t h e   l a t e s t   /   r e c o m m e n d e d   p a u s e   i m a g e   a n d / o r   g e t   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/windows/",
    "id": "k8s_00635_section_2_13975"
  },
  {
    "question": "What is Note:?",
    "answer": "M y   p o d s   s h o w   s t a t u s   a s   E r r I m g P u l l   o r   I m a g e P u l l B a c k O f f   E n s u r e   t h a t   y o u r   P o d   i s   g e t t i n g   s c h e d u l e d   t o   a   c o m p a t i b l e   W i n d o w s   N o d e .   M o r e   i n f o r m a t i o n   o n   h o w   t o   s p e c i f y   a   c o m p a t i b l e   n o d e   f o r   y o u r   P o d   c a n   b e   f o u n d   i n   t h i s   g u i d e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/windows/",
    "id": "k8s_00635_section_4_13976"
  },
  {
    "question": "What is Network troubleshooting?",
    "answer": "M y   W i n d o w s   P o d s   d o   n o t   h a v e   n e t w o r k   c o n n e c t i v i t y I f   y o u   a r e   u s i n g   v i r t u a l   m a c h i n e s ,   e n s u r e   t h a t   M A C   s p o o f i n g   i s   e n a b l e d   o n   a l l   t h e   V M   n e t w o r k   a d a p t e r ( s ) . M y   W i n d o w s   P o d s   c a n n o t   p i n g   e x t e r n a l   r e s o u r c e s W i n d o w s   P o d s   d o   n o t   h a v e   o u t b o u n d   r u l e s   p r o g r a m m e d   f o r   t h e   I C M P   p r o t o c o l .   H o w e v e r ,   T C P / U D P   i s   s u p p o r t e d .   W h e n   t r y i n g   t o   d e m o n s t r a t e   c o n n e c t i v i t y   t o   r e s o u r c e s   o u t s i d e   o f   t h e   c l u s t e r ,   s u b s t i t u t e   p i n g   < I P >   w i t h   c o r r e s p o n d i n g   c u r l   < I P >   c o m m a n d s . I f   y o u   a r e   s t i l l   f a c i n g   p r o b l e m s ,   m o s t   l i k e l y   y o u r   n e t w o r k   c o n f i g u r a t i o n   i n   c n i . c o n f   d e s e r v e s   s o m e   e x t r a   a t t e n t i o n .   Y o u   c a n   a l w a y s   e d i t   t h i s   s t a t i c   f i l e .   T h e   c o n f i g u r a t i o n   u p d a t e   w i l l   a p p l y   t o   a n y   n e w   K u b e r n e t e s   r e s o u r c e s . O n e   o f   t h e   K u b e r n e t e s   n e t w o r k i n g   r e q u i r e m e n t s   ( s e e   K u b e r n e t e s   m o d e l )   i s   f o r   c l u s t e r   c o m m u n i c a t i o n   t o   o c c u r   w i t h o u t   N A T   i n t e r n a l l y .   T o   h o n o r   t h i s   r e q u i r e m e n t ,   t h e r e   i s   a n   E x c e p t i o n L i s t   f o r   a l l   t h e   c o m m u n i c a t i o n   w h e r e   y o u   d o   n o t   w a n t   o u t b o u n d   N A T   t o   o c c u r .   H o w e v e r ,   t h i s   a l s o   m e a n s   t h a t   y o u   n e e d   t o   e x c l u d e   t h e   e x t e r n a l   I P   y o u   a r e   t r y i n g   t o   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/windows/",
    "id": "k8s_00635_section_2_13977"
  },
  {
    "question": "What is Flannel troubleshooting?",
    "answer": "W i t h   F l a n n e l ,   m y   n o d e s   a r e   h a v i n g   i s s u e s   a f t e r   r e j o i n i n g   a   c l u s t e r W h e n e v e r   a   p r e v i o u s l y   d e l e t e d   n o d e   i s   b e i n g   r e - j o i n e d   t o   t h e   c l u s t e r ,   f l a n n e l D   t r i e s   t o   a s s i g n   a   n e w   p o d   s u b n e t   t o   t h e   n o d e .   U s e r s   s h o u l d   r e m o v e   t h e   o l d   p o d   s u b n e t   c o n f i g u r a t i o n   f i l e s   i n   t h e   f o l l o w i n g   p a t h s : R e m o v e - I t e m   C : \\ k \\ S o u r c e V i p . j s o n   R e m o v e - I t e m   C : \\ k \\ S o u r c e V i p R e q u e s t . j s o n   F l a n n e l d   i s   s t u c k   i n   \" W a i t i n g   f o r   t h e   N e t w o r k   t o   b e   c r e a t e d \" T h e r e   a r e   n u m e r o u s   r e p o r t s   o f   t h i s   i s s u e ;   m o s t   l i k e l y   i t   i s   a   t i m i n g   i s s u e   f o r   w h e n   t h e   m a n a g e m e n t   I P   o f   t h e   f l a n n e l   n e t w o r k   i s   s e t .   A   w o r k a r o u n d   i s   t o   r e l a u n c h   s t a r t . p s 1   o r   r e l a u n c h   i t   m a n u a l l y   a s   f o l l o w s : [ E n v i r o n m e n t ] : : S e t E n v i r o n m e n t V a r i a b l e ( \" N O D E _ N A M E \" ,   \" < W i n d o w s _ W o r k e r _ H o s t n a m e > \" )   C : \\ f l a n n e l \\ f l a n n e l d . e x e   - - k u b e c o n f i g - f i l e = c : \\ k \\ c o n f i g   - - i f a c e = < W i n d o w s _ W o r k e r _ N o d e _ I P >   - - i p - m a s q = 1   - - k u b e - s u b n e t - m g r = 1   M y   W i n d o w s   P o d s   c a n n o t   l a u n c h   b e c a u s e   o f   m i s s i n g   / r u n / f l a n n e l / s u b n e t . e n v T h i s   i n d i c a t e s   t h a t   F l a n n e l   d i d n ' t   l a u n c h   c o r r e c t l y .   Y o u   c a n   e i t h e r   t r y   t o   r e s t a r t   f l a n n e l d . e x e   o r   y o u   c a n   c o p y   t h e   f i l ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/windows/",
    "id": "k8s_00635_section_3_13978"
  },
  {
    "question": "What is Further investigation?",
    "answer": "I f   t h e s e   s t e p s   d o n ' t   r e s o l v e   y o u r   p r o b l e m ,   y o u   c a n   g e t   h e l p   r u n n i n g   W i n d o w s   c o n t a i n e r s   o n   W i n d o w s   n o d e s   i n   K u b e r n e t e s   t h r o u g h :   S t a c k O v e r f l o w   W i n d o w s   S e r v e r   C o n t a i n e r   t o p i c K u b e r n e t e s   O f f i c i a l   F o r u m   d i s c u s s . k u b e r n e t e s . i o K u b e r n e t e s   S l a c k   # S I G - W i n d o w s   C h a n n e l",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/windows/",
    "id": "k8s_00635_section_3_13979"
  },
  {
    "question": "What is API Overview?",
    "answer": "API OverviewThis section provides reference information for the Kubernetes API.The REST API is the fundamental fabric of Kubernetes. All operations and communications between components, and external user commands are REST API calls that the API Server handles. Consequently, everything in the Kubernetes platform is treated as an API object and has a corresponding entry in the API.The Kubernetes API reference lists the API for Kubernetes version v1.34.For general background information, read The Kubernetes API. Controlling Access to the Kubernetes API describes how clients can authenticate to the Kubernetes API server, and how their requests are authorized.API versioningThe JSON and Protobuf serialization schemas follow the same guidelines for schema changes. The following descriptions cover both formats.The API versioning and software versioning are indirectly related. The API and release versioning proposal describes the relationship between API versioning and software versioning.Different API versions indicate different levels of stability and support. You can find more information about the criteria for each level in the API Changes documentation.Here's a summary of each level:Alpha:The version names contain alpha (for example, v1alpha1).Built-in alpha API versions are disabled by default and must be explicitly enabled in the kube-apiserver configuration to be used.The software may contain bugs. Enabling a feature may expose bugs.Support for an alpha API may be dropped at any time without notice.The API may change in incompatible ways in a later software release without notice.The software is recommended for use only in short-lived testing clusters, due to increased risk of bugs and lack of long-term support.Beta:The version names contain beta (for example, v2beta3).Built-in beta API versions are disabled by default and must be explicitly enabled in the kube-apiserver configuration to be used (except for beta versions of APIs introduced prior to Kubernetes 1.22, which were enabled by default).Built-in beta API versions have a maximum lifetime of 9 months or 3 minor releases (whichever is longer) from introduction to deprecation, and 9 months or 3 minor releases (whichever is longer) from deprecation to removal.The software is well tested. Enabling a feature is considered safe.The support for a feature will not be dropped, though the details may change.The schema and/or semantics of objects may change in incompatible ways in a subsequent beta or stable API version. When this happens, migration instructions are provided. Adapting to a subsequent beta or stable API version may require editing or re-creating API objects, and may not be straightforward. The migration may require downtime for applications that rely on the feature.The software is not recommended for production uses. Subsequent releases may introduce incompatible changes. Use of beta API versions is required to transition to subsequent beta or stable API versions once the beta API ver",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/",
    "id": "k8s_00636_qa_13980"
  },
  {
    "question": "How does API Overview work?",
    "answer": "API OverviewThis section provides reference information for the Kubernetes API.The REST API is the fundamental fabric of Kubernetes. All operations and communications between components, and external user commands are REST API calls that the API Server handles. Consequently, everything in the Kubernetes platform is treated as an API object and has a corresponding entry in the API.The Kubernetes API reference lists the API for Kubernetes version v1.34.For general background information, read The Kubernetes API. Controlling Access to the Kubernetes API describes how clients can authenticate to the Kubernetes API server, and how their requests are authorized.API versioningThe JSON and Protobuf serialization schemas follow the same guidelines for schema changes. The following descriptions cover both formats.The API versioning and software versioning are indirectly related. The API and release versioning proposal describes the relationship between API versioning and software versioning.Different API versions indicate different levels of stability and support. You can find more information about the criteria for each level in the API Changes documentation.Here's a summary of each level:Alpha:The version names contain alpha (for example, v1alpha1).Built-in alpha API versions are disabled by default and must be explicitly enabled in the kube-apiserver configuration to be used.The software may contain bugs. Enabling a feature may expose bugs.Support for an alpha API may be dropped at any time without notice.The API may change in incompatible ways in a later software release without notice.The software is recommended for use only in short-lived testing clusters, due to increased risk of bugs and lack of long-term support.Beta:The version names contain beta (for example, v2beta3).Built-in beta API versions are disabled by default and must be explicitly enabled in the kube-apiserver configuration to be used (except for beta versions of APIs introduced prior to Kubernetes 1.22, which were enabled by default).Built-in beta API versions have a maximum lifetime of 9 months or 3 minor releases (whichever is longer) from introduction to deprecation, and 9 months or 3 minor releases (whichever is longer) from deprecation to removal.The software is well tested. Enabling a feature is considered safe.The support for a feature will not be dropped, though the details may change.The schema and/or semantics of objects may change in incompatible ways in a subsequent beta or stable API version. When this happens, migration instructions are provided. Adapting to a subsequent beta or stable API version may require editing or re-creating API objects, and may not be straightforward. The migration may require downtime for applications that rely on the feature.The software is not recommended for production uses. Subsequent releases may introduce incompatible changes. Use of beta API versions is required to transition to subsequent beta or stable API versions once the beta API ver",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/",
    "id": "k8s_00636_qa_13981"
  },
  {
    "question": "When would you use API Overview?",
    "answer": "API OverviewThis section provides reference information for the Kubernetes API.The REST API is the fundamental fabric of Kubernetes. All operations and communications between components, and external user commands are REST API calls that the API Server handles. Consequently, everything in the Kubernetes platform is treated as an API object and has a corresponding entry in the API.The Kubernetes API reference lists the API for Kubernetes version v1.34.For general background information, read The Kubernetes API. Controlling Access to the Kubernetes API describes how clients can authenticate to the Kubernetes API server, and how their requests are authorized.API versioningThe JSON and Protobuf serialization schemas follow the same guidelines for schema changes. The following descriptions cover both formats.The API versioning and software versioning are indirectly related. The API and release versioning proposal describes the relationship between API versioning and software versioning.Different API versions indicate different levels of stability and support. You can find more information about the criteria for each level in the API Changes documentation.Here's a summary of each level:Alpha:The version names contain alpha (for example, v1alpha1).Built-in alpha API versions are disabled by default and must be explicitly enabled in the kube-apiserver configuration to be used.The software may contain bugs. Enabling a feature may expose bugs.Support for an alpha API may be dropped at any time without notice.The API may change in incompatible ways in a later software release without notice.The software is recommended for use only in short-lived testing clusters, due to increased risk of bugs and lack of long-term support.Beta:The version names contain beta (for example, v2beta3).Built-in beta API versions are disabled by default and must be explicitly enabled in the kube-apiserver configuration to be used (except for beta versions of APIs introduced prior to Kubernetes 1.22, which were enabled by default).Built-in beta API versions have a maximum lifetime of 9 months or 3 minor releases (whichever is longer) from introduction to deprecation, and 9 months or 3 minor releases (whichever is longer) from deprecation to removal.The software is well tested. Enabling a feature is considered safe.The support for a feature will not be dropped, though the details may change.The schema and/or semantics of objects may change in incompatible ways in a subsequent beta or stable API version. When this happens, migration instructions are provided. Adapting to a subsequent beta or stable API version may require editing or re-creating API objects, and may not be straightforward. The migration may require downtime for applications that rely on the feature.The software is not recommended for production uses. Subsequent releases may introduce incompatible changes. Use of beta API versions is required to transition to subsequent beta or stable API versions once the beta API ver",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/",
    "id": "k8s_00636_qa_13982"
  },
  {
    "question": "What are the benefits of API Overview?",
    "answer": "API OverviewThis section provides reference information for the Kubernetes API.The REST API is the fundamental fabric of Kubernetes. All operations and communications between components, and external user commands are REST API calls that the API Server handles. Consequently, everything in the Kubernetes platform is treated as an API object and has a corresponding entry in the API.The Kubernetes API reference lists the API for Kubernetes version v1.34.For general background information, read The Kubernetes API. Controlling Access to the Kubernetes API describes how clients can authenticate to the Kubernetes API server, and how their requests are authorized.API versioningThe JSON and Protobuf serialization schemas follow the same guidelines for schema changes. The following descriptions cover both formats.The API versioning and software versioning are indirectly related. The API and release versioning proposal describes the relationship between API versioning and software versioning.Different API versions indicate different levels of stability and support. You can find more information about the criteria for each level in the API Changes documentation.Here's a summary of each level:Alpha:The version names contain alpha (for example, v1alpha1).Built-in alpha API versions are disabled by default and must be explicitly enabled in the kube-apiserver configuration to be used.The software may contain bugs. Enabling a feature may expose bugs.Support for an alpha API may be dropped at any time without notice.The API may change in incompatible ways in a later software release without notice.The software is recommended for use only in short-lived testing clusters, due to increased risk of bugs and lack of long-term support.Beta:The version names contain beta (for example, v2beta3).Built-in beta API versions are disabled by default and must be explicitly enabled in the kube-apiserver configuration to be used (except for beta versions of APIs introduced prior to Kubernetes 1.22, which were enabled by default).Built-in beta API versions have a maximum lifetime of 9 months or 3 minor releases (whichever is longer) from introduction to deprecation, and 9 months or 3 minor releases (whichever is longer) from deprecation to removal.The software is well tested. Enabling a feature is considered safe.The support for a feature will not be dropped, though the details may change.The schema and/or semantics of objects may change in incompatible ways in a subsequent beta or stable API version. When this happens, migration instructions are provided. Adapting to a subsequent beta or stable API version may require editing or re-creating API objects, and may not be straightforward. The migration may require downtime for applications that rely on the feature.The software is not recommended for production uses. Subsequent releases may introduce incompatible changes. Use of beta API versions is required to transition to subsequent beta or stable API versions once the beta API ver",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/",
    "id": "k8s_00636_qa_13983"
  },
  {
    "question": "What is API Overview?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   r e f e r e n c e   i n f o r m a t i o n   f o r   t h e   K u b e r n e t e s   A P I .   T h e   R E S T   A P I   i s   t h e   f u n d a m e n t a l   f a b r i c   o f   K u b e r n e t e s .   A l l   o p e r a t i o n s   a n d   c o m m u n i c a t i o n s   b e t w e e n   c o m p o n e n t s ,   a n d   e x t e r n a l   u s e r   c o m m a n d s   a r e   R E S T   A P I   c a l l s   t h a t   t h e   A P I   S e r v e r   h a n d l e s .   C o n s e q u e n t l y ,   e v e r y t h i n g   i n   t h e   K u b e r n e t e s   p l a t f o r m   i s   t r e a t e d   a s   a n   A P I   o b j e c t   a n d   h a s   a   c o r r e s p o n d i n g   e n t r y   i n   t h e   A P I .   T h e   K u b e r n e t e s   A P I   r e f e r e n c e   l i s t s   t h e   A P I   f o r   K u b e r n e t e s   v e r s i o n   v 1 . 3 4 .   F o r   g e n e r a l   b a c k g r o u n d   i n f o r m a t i o n ,   r e a d   T h e   K u b e r n e t e s   A P I .   C o n t r o l l i n g   A c c e s s   t o   t h e   K u b e r n e t e s   A P I   d e s c r i b e s   h o w   c l i e n t s   c a n   a u t h e n t i c a t e   t o   t h e   K u b e r n e t e s   A P I   s e r v e r ,   a n d   h o w   t h e i r   r e q u e s t s   a r e   a u t h o r i z e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/",
    "id": "k8s_00636_section_1_13984"
  },
  {
    "question": "What is API versioning?",
    "answer": "T h e   J S O N   a n d   P r o t o b u f   s e r i a l i z a t i o n   s c h e m a s   f o l l o w   t h e   s a m e   g u i d e l i n e s   f o r   s c h e m a   c h a n g e s .   T h e   f o l l o w i n g   d e s c r i p t i o n s   c o v e r   b o t h   f o r m a t s .   T h e   A P I   v e r s i o n i n g   a n d   s o f t w a r e   v e r s i o n i n g   a r e   i n d i r e c t l y   r e l a t e d .   T h e   A P I   a n d   r e l e a s e   v e r s i o n i n g   p r o p o s a l   d e s c r i b e s   t h e   r e l a t i o n s h i p   b e t w e e n   A P I   v e r s i o n i n g   a n d   s o f t w a r e   v e r s i o n i n g .   D i f f e r e n t   A P I   v e r s i o n s   i n d i c a t e   d i f f e r e n t   l e v e l s   o f   s t a b i l i t y   a n d   s u p p o r t .   Y o u   c a n   f i n d   m o r e   i n f o r m a t i o n   a b o u t   t h e   c r i t e r i a   f o r   e a c h   l e v e l   i n   t h e   A P I   C h a n g e s   d o c u m e n t a t i o n .   H e r e ' s   a   s u m m a r y   o f   e a c h   l e v e l :   A l p h a : T h e   v e r s i o n   n a m e s   c o n t a i n   a l p h a   ( f o r   e x a m p l e ,   v 1 a l p h a 1 ) . B u i l t - i n   a l p h a   A P I   v e r s i o n s   a r e   d i s a b l e d   b y   d e f a u l t   a n d   m u s t   b e   e x p l i c i t l y   e n a b l e d   i n   t h e   k u b e - a p i s e r v e r   c o n f i g u r a t i o n   t o   b e   u s e d . T h e   s o f t w a r e   m a y   c o n t a i n   b u g s .   E n a b l i n g   a   f e a t u r e   m a y   e x p o s e   b u g s . S u p p o r t   f o r   a n   a l p h a   A P I   m a y   b e   d r o p p e d   a t   a n y   t i m e   w i t h o u t   n o t i c e . T h e   A P I   m a y   c h a n g e   i n   i n c o m p a t i b l e   w a y s   i n   a   l a t e r   s o f t w a r e   r e l e a s e   w i t h o u t   n o t i c e . T h e   s o f t w a r e   i s   r e c o m m e n d e d   f o r   u s e   o n l y   i n   s h o r t - l i v e d   t e s t i n g   c l u ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/",
    "id": "k8s_00636_section_2_13985"
  },
  {
    "question": "What is Note:?",
    "answer": "S t a b l e :   T h e   v e r s i o n   n a m e   i s   v X   w h e r e   X   i s   a n   i n t e g e r . S t a b l e   A P I   v e r s i o n s   r e m a i n   a v a i l a b l e   f o r   a l l   f u t u r e   r e l e a s e s   w i t h i n   a   K u b e r n e t e s   m a j o r   v e r s i o n ,   a n d   t h e r e   a r e   n o   c u r r e n t   p l a n s   f o r   a   m a j o r   v e r s i o n   r e v i s i o n   o f   K u b e r n e t e s   t h a t   r e m o v e s   s t a b l e   A P I s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/",
    "id": "k8s_00636_section_4_13986"
  },
  {
    "question": "What is API groups?",
    "answer": "A P I   g r o u p s   m a k e   i t   e a s i e r   t o   e x t e n d   t h e   K u b e r n e t e s   A P I .   T h e   A P I   g r o u p   i s   s p e c i f i e d   i n   a   R E S T   p a t h   a n d   i n   t h e   a p i V e r s i o n   f i e l d   o f   a   s e r i a l i z e d   o b j e c t .   T h e r e   a r e   s e v e r a l   A P I   g r o u p s   i n   K u b e r n e t e s :   T h e   c o r e   ( a l s o   c a l l e d   l e g a c y )   g r o u p   i s   f o u n d   a t   R E S T   p a t h   / a p i / v 1 .   T h e   c o r e   g r o u p   i s   n o t   s p e c i f i e d   a s   p a r t   o f   t h e   a p i V e r s i o n   f i e l d ,   f o r   e x a m p l e ,   a p i V e r s i o n :   v 1 . T h e   n a m e d   g r o u p s   a r e   a t   R E S T   p a t h   / a p i s / $ G R O U P _ N A M E / $ V E R S I O N   a n d   u s e   a p i V e r s i o n :   $ G R O U P _ N A M E / $ V E R S I O N   ( f o r   e x a m p l e ,   a p i V e r s i o n :   b a t c h / v 1 ) .   Y o u   c a n   f i n d   t h e   f u l l   l i s t   o f   s u p p o r t e d   A P I   g r o u p s   i n   K u b e r n e t e s   A P I   r e f e r e n c e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/",
    "id": "k8s_00636_section_2_13987"
  },
  {
    "question": "What is Enabling or disabling API groups?",
    "answer": "C e r t a i n   r e s o u r c e s   a n d   A P I   g r o u p s   a r e   e n a b l e d   b y   d e f a u l t .   Y o u   c a n   e n a b l e   o r   d i s a b l e   t h e m   b y   s e t t i n g   - - r u n t i m e - c o n f i g   o n   t h e   A P I   s e r v e r .   T h e   - - r u n t i m e - c o n f i g   f l a g   a c c e p t s   c o m m a   s e p a r a t e d   < k e y > [ = < v a l u e > ]   p a i r s   d e s c r i b i n g   t h e   r u n t i m e   c o n f i g u r a t i o n   o f   t h e   A P I   s e r v e r .   I f   t h e   = < v a l u e >   p a r t   i s   o m i t t e d ,   i t   i s   t r e a t e d   a s   i f   = t r u e   i s   s p e c i f i e d .   F o r   e x a m p l e :   t o   d i s a b l e   b a t c h / v 1 ,   s e t   - - r u n t i m e - c o n f i g = b a t c h / v 1 = f a l s e t o   e n a b l e   b a t c h / v 2 a l p h a 1 ,   s e t   - - r u n t i m e - c o n f i g = b a t c h / v 2 a l p h a 1 t o   e n a b l e   a   s p e c i f i c   v e r s i o n   o f   a n   A P I ,   s u c h   a s   s t o r a g e . k 8 s . i o / v 1 b e t a 1 / c s i s t o r a g e c a p a c i t i e s ,   s e t   - - r u n t i m e - c o n f i g = s t o r a g e . k 8 s . i o / v 1 b e t a 1 / c s i s t o r a g e c a p a c i t i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/",
    "id": "k8s_00636_section_2_13988"
  },
  {
    "question": "What is Persistence?",
    "answer": "K u b e r n e t e s   s t o r e s   i t s   s e r i a l i z e d   s t a t e   i n   t e r m s   o f   t h e   A P I   r e s o u r c e s   b y   w r i t i n g   t h e m   i n t o   e t c d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/",
    "id": "k8s_00636_section_2_13989"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   A P I   c o n v e n t i o n s R e a d   t h e   d e s i g n   d o c u m e n t a t i o n   f o r   a g g r e g a t o r L e a r n   a b o u t   D e c l a r a t i v e   A P I   V a l i d a t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/",
    "id": "k8s_00636_section_2_13990"
  },
  {
    "question": "What is Using RBAC Authorization?",
    "answer": "Using RBAC AuthorizationRole-based access control (RBAC) is a method of regulating access to computer or network resources based on the roles of individual users within your organization.RBAC authorization uses the rbac.authorization.k8s.io API group to drive authorization decisions, allowing you to dynamically configure policies through the Kubernetes API.To enable RBAC, start the API server with the --authorization-config flag set to a file that includes the RBAC authorizer; for example:apiVersion: apiserver.config.k8s.io/v1 kind: AuthorizationConfiguration authorizers: ... - type: RBAC ... Or, start the API server with the --authorization-mode flag set to a comma-separated list that includes RBAC; for example:kube-apiserver --authorization-mode=...,RBAC --other-options --more-options API objectsThe RBAC API declares four kinds of Kubernetes object: Role, ClusterRole, RoleBinding and ClusterRoleBinding. You can describe or amend the RBAC objects using tools such as kubectl, just like any other Kubernetes object.Caution:These objects, by design, impose access restrictions. If you are making changes to a cluster as you learn, see privilege escalation prevention and bootstrapping to understand how those restrictions can prevent you making some changes.Role and ClusterRoleAn RBAC Role or ClusterRole contains rules that represent a set of permissions. Permissions are purely additive (there are no \"deny\" rules).A Role always sets permissions within a particular namespace; when you create a Role, you have to specify the namespace it belongs in.ClusterRole, by contrast, is a non-namespaced resource. The resources have different names (Role and ClusterRole) because a Kubernetes object always has to be either namespaced or not namespaced; it can't be both.ClusterRoles have several uses. You can use a ClusterRole to:define permissions on namespaced resources and be granted access within individual namespace(s)define permissions on namespaced resources and be granted access across all namespacesdefine permissions on cluster-scoped resourcesIf you want to define a role within a namespace, use a Role; if you want to define a role cluster-wide, use a ClusterRole.Role exampleHere's an example Role in the \"default\" namespace that can be used to grant read access to pods:access/simple-role.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: namespace: default name: pod-reader rules: - apiGroups: [\"\"] # \"\" indicates the core API group resources: [\"pods\"] verbs: [\"get\", \"watch\", \"list\"] ClusterRole exampleA ClusterRole can be used to grant the same permissions as a Role. Because ClusterRoles are cluster-scoped, you can also use them to grant access to:cluster-scoped resources (like nodes)non-resource endpoints (like /healthz)namespaced resources (like Pods), across all namespacesFor example: you can use a ClusterRole to allow a particular user to run kubectl get pods --all-namespacesHere is an example of a ClusterRole that can be used to grant read ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_qa_13991"
  },
  {
    "question": "How does Using RBAC Authorization work?",
    "answer": "Using RBAC AuthorizationRole-based access control (RBAC) is a method of regulating access to computer or network resources based on the roles of individual users within your organization.RBAC authorization uses the rbac.authorization.k8s.io API group to drive authorization decisions, allowing you to dynamically configure policies through the Kubernetes API.To enable RBAC, start the API server with the --authorization-config flag set to a file that includes the RBAC authorizer; for example:apiVersion: apiserver.config.k8s.io/v1 kind: AuthorizationConfiguration authorizers: ... - type: RBAC ... Or, start the API server with the --authorization-mode flag set to a comma-separated list that includes RBAC; for example:kube-apiserver --authorization-mode=...,RBAC --other-options --more-options API objectsThe RBAC API declares four kinds of Kubernetes object: Role, ClusterRole, RoleBinding and ClusterRoleBinding. You can describe or amend the RBAC objects using tools such as kubectl, just like any other Kubernetes object.Caution:These objects, by design, impose access restrictions. If you are making changes to a cluster as you learn, see privilege escalation prevention and bootstrapping to understand how those restrictions can prevent you making some changes.Role and ClusterRoleAn RBAC Role or ClusterRole contains rules that represent a set of permissions. Permissions are purely additive (there are no \"deny\" rules).A Role always sets permissions within a particular namespace; when you create a Role, you have to specify the namespace it belongs in.ClusterRole, by contrast, is a non-namespaced resource. The resources have different names (Role and ClusterRole) because a Kubernetes object always has to be either namespaced or not namespaced; it can't be both.ClusterRoles have several uses. You can use a ClusterRole to:define permissions on namespaced resources and be granted access within individual namespace(s)define permissions on namespaced resources and be granted access across all namespacesdefine permissions on cluster-scoped resourcesIf you want to define a role within a namespace, use a Role; if you want to define a role cluster-wide, use a ClusterRole.Role exampleHere's an example Role in the \"default\" namespace that can be used to grant read access to pods:access/simple-role.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: namespace: default name: pod-reader rules: - apiGroups: [\"\"] # \"\" indicates the core API group resources: [\"pods\"] verbs: [\"get\", \"watch\", \"list\"] ClusterRole exampleA ClusterRole can be used to grant the same permissions as a Role. Because ClusterRoles are cluster-scoped, you can also use them to grant access to:cluster-scoped resources (like nodes)non-resource endpoints (like /healthz)namespaced resources (like Pods), across all namespacesFor example: you can use a ClusterRole to allow a particular user to run kubectl get pods --all-namespacesHere is an example of a ClusterRole that can be used to grant read ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_qa_13992"
  },
  {
    "question": "When would you use Using RBAC Authorization?",
    "answer": "Using RBAC AuthorizationRole-based access control (RBAC) is a method of regulating access to computer or network resources based on the roles of individual users within your organization.RBAC authorization uses the rbac.authorization.k8s.io API group to drive authorization decisions, allowing you to dynamically configure policies through the Kubernetes API.To enable RBAC, start the API server with the --authorization-config flag set to a file that includes the RBAC authorizer; for example:apiVersion: apiserver.config.k8s.io/v1 kind: AuthorizationConfiguration authorizers: ... - type: RBAC ... Or, start the API server with the --authorization-mode flag set to a comma-separated list that includes RBAC; for example:kube-apiserver --authorization-mode=...,RBAC --other-options --more-options API objectsThe RBAC API declares four kinds of Kubernetes object: Role, ClusterRole, RoleBinding and ClusterRoleBinding. You can describe or amend the RBAC objects using tools such as kubectl, just like any other Kubernetes object.Caution:These objects, by design, impose access restrictions. If you are making changes to a cluster as you learn, see privilege escalation prevention and bootstrapping to understand how those restrictions can prevent you making some changes.Role and ClusterRoleAn RBAC Role or ClusterRole contains rules that represent a set of permissions. Permissions are purely additive (there are no \"deny\" rules).A Role always sets permissions within a particular namespace; when you create a Role, you have to specify the namespace it belongs in.ClusterRole, by contrast, is a non-namespaced resource. The resources have different names (Role and ClusterRole) because a Kubernetes object always has to be either namespaced or not namespaced; it can't be both.ClusterRoles have several uses. You can use a ClusterRole to:define permissions on namespaced resources and be granted access within individual namespace(s)define permissions on namespaced resources and be granted access across all namespacesdefine permissions on cluster-scoped resourcesIf you want to define a role within a namespace, use a Role; if you want to define a role cluster-wide, use a ClusterRole.Role exampleHere's an example Role in the \"default\" namespace that can be used to grant read access to pods:access/simple-role.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: namespace: default name: pod-reader rules: - apiGroups: [\"\"] # \"\" indicates the core API group resources: [\"pods\"] verbs: [\"get\", \"watch\", \"list\"] ClusterRole exampleA ClusterRole can be used to grant the same permissions as a Role. Because ClusterRoles are cluster-scoped, you can also use them to grant access to:cluster-scoped resources (like nodes)non-resource endpoints (like /healthz)namespaced resources (like Pods), across all namespacesFor example: you can use a ClusterRole to allow a particular user to run kubectl get pods --all-namespacesHere is an example of a ClusterRole that can be used to grant read ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_qa_13993"
  },
  {
    "question": "What are the benefits of Using RBAC Authorization?",
    "answer": "Using RBAC AuthorizationRole-based access control (RBAC) is a method of regulating access to computer or network resources based on the roles of individual users within your organization.RBAC authorization uses the rbac.authorization.k8s.io API group to drive authorization decisions, allowing you to dynamically configure policies through the Kubernetes API.To enable RBAC, start the API server with the --authorization-config flag set to a file that includes the RBAC authorizer; for example:apiVersion: apiserver.config.k8s.io/v1 kind: AuthorizationConfiguration authorizers: ... - type: RBAC ... Or, start the API server with the --authorization-mode flag set to a comma-separated list that includes RBAC; for example:kube-apiserver --authorization-mode=...,RBAC --other-options --more-options API objectsThe RBAC API declares four kinds of Kubernetes object: Role, ClusterRole, RoleBinding and ClusterRoleBinding. You can describe or amend the RBAC objects using tools such as kubectl, just like any other Kubernetes object.Caution:These objects, by design, impose access restrictions. If you are making changes to a cluster as you learn, see privilege escalation prevention and bootstrapping to understand how those restrictions can prevent you making some changes.Role and ClusterRoleAn RBAC Role or ClusterRole contains rules that represent a set of permissions. Permissions are purely additive (there are no \"deny\" rules).A Role always sets permissions within a particular namespace; when you create a Role, you have to specify the namespace it belongs in.ClusterRole, by contrast, is a non-namespaced resource. The resources have different names (Role and ClusterRole) because a Kubernetes object always has to be either namespaced or not namespaced; it can't be both.ClusterRoles have several uses. You can use a ClusterRole to:define permissions on namespaced resources and be granted access within individual namespace(s)define permissions on namespaced resources and be granted access across all namespacesdefine permissions on cluster-scoped resourcesIf you want to define a role within a namespace, use a Role; if you want to define a role cluster-wide, use a ClusterRole.Role exampleHere's an example Role in the \"default\" namespace that can be used to grant read access to pods:access/simple-role.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: namespace: default name: pod-reader rules: - apiGroups: [\"\"] # \"\" indicates the core API group resources: [\"pods\"] verbs: [\"get\", \"watch\", \"list\"] ClusterRole exampleA ClusterRole can be used to grant the same permissions as a Role. Because ClusterRoles are cluster-scoped, you can also use them to grant access to:cluster-scoped resources (like nodes)non-resource endpoints (like /healthz)namespaced resources (like Pods), across all namespacesFor example: you can use a ClusterRole to allow a particular user to run kubectl get pods --all-namespacesHere is an example of a ClusterRole that can be used to grant read ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_qa_13994"
  },
  {
    "question": "What is Using RBAC Authorization?",
    "answer": "R o l e - b a s e d   a c c e s s   c o n t r o l   ( R B A C )   i s   a   m e t h o d   o f   r e g u l a t i n g   a c c e s s   t o   c o m p u t e r   o r   n e t w o r k   r e s o u r c e s   b a s e d   o n   t h e   r o l e s   o f   i n d i v i d u a l   u s e r s   w i t h i n   y o u r   o r g a n i z a t i o n .   R B A C   a u t h o r i z a t i o n   u s e s   t h e   r b a c . a u t h o r i z a t i o n . k 8 s . i o   A P I   g r o u p   t o   d r i v e   a u t h o r i z a t i o n   d e c i s i o n s ,   a l l o w i n g   y o u   t o   d y n a m i c a l l y   c o n f i g u r e   p o l i c i e s   t h r o u g h   t h e   K u b e r n e t e s   A P I .   T o   e n a b l e   R B A C ,   s t a r t   t h e   A P I   s e r v e r   w i t h   t h e   - - a u t h o r i z a t i o n - c o n f i g   f l a g   s e t   t o   a   f i l e   t h a t   i n c l u d e s   t h e   R B A C   a u t h o r i z e r ;   f o r   e x a m p l e :   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   A u t h o r i z a t i o n C o n f i g u r a t i o n   a u t h o r i z e r s :   . . .   -   t y p e :   R B A C   . . .   O r ,   s t a r t   t h e   A P I   s e r v e r   w i t h   t h e   - - a u t h o r i z a t i o n - m o d e   f l a g   s e t   t o   a   c o m m a - s e p a r a t e d   l i s t   t h a t   i n c l u d e s   R B A C ;   f o r   e x a m p l e :   k u b e - a p i s e r v e r   - - a u t h o r i z a t i o n - m o d e = . . . , R B A C   - - o t h e r - o p t i o n s   - - m o r e - o p t i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_1_13995"
  },
  {
    "question": "What is API objects?",
    "answer": "T h e   R B A C   A P I   d e c l a r e s   f o u r   k i n d s   o f   K u b e r n e t e s   o b j e c t :   R o l e ,   C l u s t e r R o l e ,   R o l e B i n d i n g   a n d   C l u s t e r R o l e B i n d i n g .   Y o u   c a n   d e s c r i b e   o r   a m e n d   t h e   R B A C   o b j e c t s   u s i n g   t o o l s   s u c h   a s   k u b e c t l ,   j u s t   l i k e   a n y   o t h e r   K u b e r n e t e s   o b j e c t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_2_13996"
  },
  {
    "question": "What is Role and ClusterRole?",
    "answer": "A n   R B A C   R o l e   o r   C l u s t e r R o l e   c o n t a i n s   r u l e s   t h a t   r e p r e s e n t   a   s e t   o f   p e r m i s s i o n s .   P e r m i s s i o n s   a r e   p u r e l y   a d d i t i v e   ( t h e r e   a r e   n o   \" d e n y \"   r u l e s ) .   A   R o l e   a l w a y s   s e t s   p e r m i s s i o n s   w i t h i n   a   p a r t i c u l a r   n a m e s p a c e ;   w h e n   y o u   c r e a t e   a   R o l e ,   y o u   h a v e   t o   s p e c i f y   t h e   n a m e s p a c e   i t   b e l o n g s   i n .   C l u s t e r R o l e ,   b y   c o n t r a s t ,   i s   a   n o n - n a m e s p a c e d   r e s o u r c e .   T h e   r e s o u r c e s   h a v e   d i f f e r e n t   n a m e s   ( R o l e   a n d   C l u s t e r R o l e )   b e c a u s e   a   K u b e r n e t e s   o b j e c t   a l w a y s   h a s   t o   b e   e i t h e r   n a m e s p a c e d   o r   n o t   n a m e s p a c e d ;   i t   c a n ' t   b e   b o t h .   C l u s t e r R o l e s   h a v e   s e v e r a l   u s e s .   Y o u   c a n   u s e   a   C l u s t e r R o l e   t o :   d e f i n e   p e r m i s s i o n s   o n   n a m e s p a c e d   r e s o u r c e s   a n d   b e   g r a n t e d   a c c e s s   w i t h i n   i n d i v i d u a l   n a m e s p a c e ( s ) d e f i n e   p e r m i s s i o n s   o n   n a m e s p a c e d   r e s o u r c e s   a n d   b e   g r a n t e d   a c c e s s   a c r o s s   a l l   n a m e s p a c e s d e f i n e   p e r m i s s i o n s   o n   c l u s t e r - s c o p e d   r e s o u r c e s   I f   y o u   w a n t   t o   d e f i n e   a   r o l e   w i t h i n   a   n a m e s p a c e ,   u s e   a   R o l e ;   i f   y o u   w a n t   t o   d e f i n e   a   r o l e   c l u s t e r - w i d e ,   u s e   a   C l u s t e r R o l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_3_13997"
  },
  {
    "question": "What is Role example?",
    "answer": "H e r e ' s   a n   e x a m p l e   R o l e   i n   t h e   \" d e f a u l t \"   n a m e s p a c e   t h a t   c a n   b e   u s e d   t o   g r a n t   r e a d   a c c e s s   t o   p o d s :   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   R o l e   m e t a d a t a :   n a m e s p a c e :   d e f a u l t   n a m e :   p o d - r e a d e r   r u l e s :   -   a p i G r o u p s :   [ \" \" ]   #   \" \"   i n d i c a t e s   t h e   c o r e   A P I   g r o u p   r e s o u r c e s :   [ \" p o d s \" ]   v e r b s :   [ \" g e t \" ,   \" w a t c h \" ,   \" l i s t \" ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_4_13998"
  },
  {
    "question": "What is ClusterRole example?",
    "answer": "A   C l u s t e r R o l e   c a n   b e   u s e d   t o   g r a n t   t h e   s a m e   p e r m i s s i o n s   a s   a   R o l e .   B e c a u s e   C l u s t e r R o l e s   a r e   c l u s t e r - s c o p e d ,   y o u   c a n   a l s o   u s e   t h e m   t o   g r a n t   a c c e s s   t o :   c l u s t e r - s c o p e d   r e s o u r c e s   ( l i k e   n o d e s ) n o n - r e s o u r c e   e n d p o i n t s   ( l i k e   / h e a l t h z ) n a m e s p a c e d   r e s o u r c e s   ( l i k e   P o d s ) ,   a c r o s s   a l l   n a m e s p a c e s F o r   e x a m p l e :   y o u   c a n   u s e   a   C l u s t e r R o l e   t o   a l l o w   a   p a r t i c u l a r   u s e r   t o   r u n   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s   c l u s t e r - s c o p e d   r e s o u r c e s   ( l i k e   n o d e s )   n o n - r e s o u r c e   e n d p o i n t s   ( l i k e   / h e a l t h z )   n a m e s p a c e d   r e s o u r c e s   ( l i k e   P o d s ) ,   a c r o s s   a l l   n a m e s p a c e s   F o r   e x a m p l e :   y o u   c a n   u s e   a   C l u s t e r R o l e   t o   a l l o w   a   p a r t i c u l a r   u s e r   t o   r u n   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s   H e r e   i s   a n   e x a m p l e   o f   a   C l u s t e r R o l e   t h a t   c a n   b e   u s e d   t o   g r a n t   r e a d   a c c e s s   t o   s e c r e t s   i n   a n y   p a r t i c u l a r   n a m e s p a c e ,   o r   a c r o s s   a l l   n a m e s p a c e s   ( d e p e n d i n g   o n   h o w   i t   i s   b o u n d ) :   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   #   \" n a m e s p a c e \"   o m i t t e d   s i n c e   C l u s t e r R o l e s   a r e   n o t   n a m e s p a c e d   n a m e :   s e c r e t - r e a d e r   r u l e s :   -   a p i G r o u p s :   [ \" \" ]   #   #   a t   t h e   H T T P   l e v e l ,   t h e   n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_4_13999"
  },
  {
    "question": "What is RoleBinding and ClusterRoleBinding?",
    "answer": "A   r o l e   b i n d i n g   g r a n t s   t h e   p e r m i s s i o n s   d e f i n e d   i n   a   r o l e   t o   a   u s e r   o r   s e t   o f   u s e r s .   I t   h o l d s   a   l i s t   o f   s u b j e c t s   ( u s e r s ,   g r o u p s ,   o r   s e r v i c e   a c c o u n t s ) ,   a n d   a   r e f e r e n c e   t o   t h e   r o l e   b e i n g   g r a n t e d .   A   R o l e B i n d i n g   g r a n t s   p e r m i s s i o n s   w i t h i n   a   s p e c i f i c   n a m e s p a c e   w h e r e a s   a   C l u s t e r R o l e B i n d i n g   g r a n t s   t h a t   a c c e s s   c l u s t e r - w i d e .   A   R o l e B i n d i n g   m a y   r e f e r e n c e   a n y   R o l e   i n   t h e   s a m e   n a m e s p a c e .   A l t e r n a t i v e l y ,   a   R o l e B i n d i n g   c a n   r e f e r e n c e   a   C l u s t e r R o l e   a n d   b i n d   t h a t   C l u s t e r R o l e   t o   t h e   n a m e s p a c e   o f   t h e   R o l e B i n d i n g .   I f   y o u   w a n t   t o   b i n d   a   C l u s t e r R o l e   t o   a l l   t h e   n a m e s p a c e s   i n   y o u r   c l u s t e r ,   y o u   u s e   a   C l u s t e r R o l e B i n d i n g .   T h e   n a m e   o f   a   R o l e B i n d i n g   o r   C l u s t e r R o l e B i n d i n g   o b j e c t   m u s t   b e   a   v a l i d   p a t h   s e g m e n t   n a m e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_3_14000"
  },
  {
    "question": "What is RoleBinding examples?",
    "answer": "H e r e   i s   a n   e x a m p l e   o f   a   R o l e B i n d i n g   t h a t   g r a n t s   t h e   \" p o d - r e a d e r \"   R o l e   t o   t h e   u s e r   \" j a n e \"   w i t h i n   t h e   \" d e f a u l t \"   n a m e s p a c e .   T h i s   a l l o w s   \" j a n e \"   t o   r e a d   p o d s   i n   t h e   \" d e f a u l t \"   n a m e s p a c e .   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   #   T h i s   r o l e   b i n d i n g   a l l o w s   \" j a n e \"   t o   r e a d   p o d s   i n   t h e   \" d e f a u l t \"   n a m e s p a c e .   #   Y o u   n e e d   t o   a l r e a d y   h a v e   a   R o l e   n a m e d   \" p o d - r e a d e r \"   i n   t h a t   n a m e s p a c e .   k i n d :   R o l e B i n d i n g   m e t a d a t a :   n a m e :   r e a d - p o d s   n a m e s p a c e :   d e f a u l t   s u b j e c t s :   #   Y o u   c a n   s p e c i f y   m o r e   t h a n   o n e   \" s u b j e c t \"   -   k i n d :   U s e r   n a m e :   j a n e   #   \" n a m e \"   i s   c a s e   s e n s i t i v e   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o   r o l e R e f :   #   \" r o l e R e f \"   s p e c i f i e s   t h e   b i n d i n g   t o   a   R o l e   /   C l u s t e r R o l e   k i n d :   R o l e   # t h i s   m u s t   b e   R o l e   o r   C l u s t e r R o l e   n a m e :   p o d - r e a d e r   #   t h i s   m u s t   m a t c h   t h e   n a m e   o f   t h e   R o l e   o r   C l u s t e r R o l e   y o u   w i s h   t o   b i n d   t o   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o   A   R o l e B i n d i n g   c a n   a l s o   r e f e r e n c e   a   C l u s t e r R o l e   t o   g r a n t   t h e   p e r m i s s i o n s   d e f i n e d   i n   t h a t   C l u s t e r R o l e   t o   r e s o u r c e s   i n s i d e   t h e   R o l e B i n d i n g ' s   n a m e s p a c e .   T h i s   k i n d   o f   r e f e r e n c e   l e t s   y o u   d e f i n e   a   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_4_14001"
  },
  {
    "question": "What is ClusterRoleBinding example?",
    "answer": "T o   g r a n t   p e r m i s s i o n s   a c r o s s   a   w h o l e   c l u s t e r ,   y o u   c a n   u s e   a   C l u s t e r R o l e B i n d i n g .   T h e   f o l l o w i n g   C l u s t e r R o l e B i n d i n g   a l l o w s   a n y   u s e r   i n   t h e   g r o u p   \" m a n a g e r \"   t o   r e a d   s e c r e t s   i n   a n y   n a m e s p a c e .   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   #   T h i s   c l u s t e r   r o l e   b i n d i n g   a l l o w s   a n y o n e   i n   t h e   \" m a n a g e r \"   g r o u p   t o   r e a d   s e c r e t s   i n   a n y   n a m e s p a c e .   k i n d :   C l u s t e r R o l e B i n d i n g   m e t a d a t a :   n a m e :   r e a d - s e c r e t s - g l o b a l   s u b j e c t s :   -   k i n d :   G r o u p   n a m e :   m a n a g e r   #   N a m e   i s   c a s e   s e n s i t i v e   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o   r o l e R e f :   k i n d :   C l u s t e r R o l e   n a m e :   s e c r e t - r e a d e r   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o   A f t e r   y o u   c r e a t e   a   b i n d i n g ,   y o u   c a n n o t   c h a n g e   t h e   R o l e   o r   C l u s t e r R o l e   t h a t   i t   r e f e r s   t o .   I f   y o u   t r y   t o   c h a n g e   a   b i n d i n g ' s   r o l e R e f ,   y o u   g e t   a   v a l i d a t i o n   e r r o r .   I f   y o u   d o   w a n t   t o   c h a n g e   t h e   r o l e R e f   f o r   a   b i n d i n g ,   y o u   n e e d   t o   r e m o v e   t h e   b i n d i n g   o b j e c t   a n d   c r e a t e   a   r e p l a c e m e n t .   T h e r e   a r e   t w o   r e a s o n s   f o r   t h i s   r e s t r i c t i o n :   M a k i n g   r o l e R e f   i m m u t a b l e   a l l o w s   g r a n t i n g   s o m e o n e   u p d a t e   p e r m i s s i o n   o n   a n   e x i s t i n g   b i n d i n g   o b j e c t ,   s o   t h a t   t h e y   c a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_4_14002"
  },
  {
    "question": "What is Referring to resources?",
    "answer": "I n   t h e   K u b e r n e t e s   A P I ,   m o s t   r e s o u r c e s   a r e   r e p r e s e n t e d   a n d   a c c e s s e d   u s i n g   a   s t r i n g   r e p r e s e n t a t i o n   o f   t h e i r   o b j e c t   n a m e ,   s u c h   a s   p o d s   f o r   a   P o d .   R B A C   r e f e r s   t o   r e s o u r c e s   u s i n g   e x a c t l y   t h e   s a m e   n a m e   t h a t   a p p e a r s   i n   t h e   U R L   f o r   t h e   r e l e v a n t   A P I   e n d p o i n t .   S o m e   K u b e r n e t e s   A P I s   i n v o l v e   a   s u b r e s o u r c e ,   s u c h   a s   t h e   l o g s   f o r   a   P o d .   A   r e q u e s t   f o r   a   P o d ' s   l o g s   l o o k s   l i k e :   G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / l o g   I n   t h i s   c a s e ,   p o d s   i s   t h e   n a m e s p a c e d   r e s o u r c e   f o r   P o d   r e s o u r c e s ,   a n d   l o g   i s   a   s u b r e s o u r c e   o f   p o d s .   T o   r e p r e s e n t   t h i s   i n   a n   R B A C   r o l e ,   u s e   a   s l a s h   ( / )   t o   d e l i m i t   t h e   r e s o u r c e   a n d   s u b r e s o u r c e .   T o   a l l o w   a   s u b j e c t   t o   r e a d   p o d s   a n d   a l s o   a c c e s s   t h e   l o g   s u b r e s o u r c e   f o r   e a c h   o f   t h o s e   P o d s ,   y o u   w r i t e :   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   R o l e   m e t a d a t a :   n a m e s p a c e :   d e f a u l t   n a m e :   p o d - a n d - p o d - l o g s - r e a d e r   r u l e s :   -   a p i G r o u p s :   [ \" \" ]   r e s o u r c e s :   [ \" p o d s \" ,   \" p o d s / l o g \" ]   v e r b s :   [ \" g e t \" ,   \" l i s t \" ]   Y o u   c a n   a l s o   r e f e r   t o   r e s o u r c e s   b y   n a m e   f o r   c e r t a i n   r e q u e s t s   t h r o u g h   t h e   r e s o u r c e N a m e s   l i s t .   W h e n   s p e c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_3_14003"
  },
  {
    "question": "What is Note:?",
    "answer": "R a t h e r   t h a n   r e f e r r i n g   t o   i n d i v i d u a l   r e s o u r c e s ,   a p i G r o u p s ,   a n d   v e r b s ,   y o u   c a n   u s e   t h e   w i l d c a r d   *   s y m b o l   t o   r e f e r   t o   a l l   s u c h   o b j e c t s .   F o r   n o n R e s o u r c e U R L s ,   y o u   c a n   u s e   t h e   w i l d c a r d   *   a s   a   s u f f i x   g l o b   m a t c h .   F o r   r e s o u r c e N a m e s ,   a n   e m p t y   s e t   m e a n s   t h a t   e v e r y t h i n g   i s   a l l o w e d .   H e r e   i s   a n   e x a m p l e   t h a t   a l l o w s   a c c e s s   t o   p e r f o r m   a n y   c u r r e n t   a n d   f u t u r e   a c t i o n   o n   a l l   c u r r e n t   a n d   f u t u r e   r e s o u r c e s   i n   t h e   e x a m p l e . c o m   A P I   g r o u p .   T h i s   i s   s i m i l a r   t o   t h e   b u i l t - i n   c l u s t e r - a d m i n   r o l e .   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   R o l e   m e t a d a t a :   n a m e s p a c e :   d e f a u l t   n a m e :   e x a m p l e . c o m - s u p e r u s e r   #   D O   N O T   U S E   T H I S   R O L E ,   I T   I S   J U S T   A N   E X A M P L E   r u l e s :   -   a p i G r o u p s :   [ \" e x a m p l e . c o m \" ]   r e s o u r c e s :   [ \" * \" ]   v e r b s :   [ \" * \" ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_4_14004"
  },
  {
    "question": "What is Aggregated ClusterRoles?",
    "answer": "Y o u   c a n   a g g r e g a t e   s e v e r a l   C l u s t e r R o l e s   i n t o   o n e   c o m b i n e d   C l u s t e r R o l e .   A   c o n t r o l l e r ,   r u n n i n g   a s   p a r t   o f   t h e   c l u s t e r   c o n t r o l   p l a n e ,   w a t c h e s   f o r   C l u s t e r R o l e   o b j e c t s   w i t h   a n   a g g r e g a t i o n R u l e   s e t .   T h e   a g g r e g a t i o n R u l e   d e f i n e s   a   l a b e l   s e l e c t o r   t h a t   t h e   c o n t r o l l e r   u s e s   t o   m a t c h   o t h e r   C l u s t e r R o l e   o b j e c t s   t h a t   s h o u l d   b e   c o m b i n e d   i n t o   t h e   r u l e s   f i e l d   o f   t h i s   o n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_3_14005"
  },
  {
    "question": "What is Caution:?",
    "answer": "H e r e   i s   a n   e x a m p l e   a g g r e g a t e d   C l u s t e r R o l e :   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   n a m e :   m o n i t o r i n g   a g g r e g a t i o n R u l e :   c l u s t e r R o l e S e l e c t o r s :   -   m a t c h L a b e l s :   r b a c . e x a m p l e . c o m / a g g r e g a t e - t o - m o n i t o r i n g :   \" t r u e \"   r u l e s :   [ ]   #   T h e   c o n t r o l   p l a n e   a u t o m a t i c a l l y   f i l l s   i n   t h e   r u l e s   I f   y o u   c r e a t e   a   n e w   C l u s t e r R o l e   t h a t   m a t c h e s   t h e   l a b e l   s e l e c t o r   o f   a n   e x i s t i n g   a g g r e g a t e d   C l u s t e r R o l e ,   t h a t   c h a n g e   t r i g g e r s   a d d i n g   t h e   n e w   r u l e s   i n t o   t h e   a g g r e g a t e d   C l u s t e r R o l e .   H e r e   i s   a n   e x a m p l e   t h a t   a d d s   r u l e s   t o   t h e   \" m o n i t o r i n g \"   C l u s t e r R o l e ,   b y   c r e a t i n g   a n o t h e r   C l u s t e r R o l e   l a b e l e d   r b a c . e x a m p l e . c o m / a g g r e g a t e - t o - m o n i t o r i n g :   t r u e .   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   n a m e :   m o n i t o r i n g - e n d p o i n t s   l a b e l s :   r b a c . e x a m p l e . c o m / a g g r e g a t e - t o - m o n i t o r i n g :   \" t r u e \"   #   W h e n   y o u   c r e a t e   t h e   \" m o n i t o r i n g - e n d p o i n t s \"   C l u s t e r R o l e ,   #   t h e   r u l e s   b e l o w   w i l l   b e   a d d e d   t o   t h e   \" m o n i t o r i n g \"   C l u s t e r R o l e .   r u l e s :   -   a p i G r o u p s :   [ \" \" ]   r e s o u r c e s :   [ \" s e r v i c e s \" ,   \" e n d p o i n t s l i c e s \" ,   \" p o d s \" ]   v e r b s :   [ \" g e t \" ,   \" l i s t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_4_14006"
  },
  {
    "question": "What is Role examples?",
    "answer": "T h e   f o l l o w i n g   e x a m p l e s   a r e   e x c e r p t s   f r o m   R o l e   o r   C l u s t e r R o l e   o b j e c t s ,   s h o w i n g   o n l y   t h e   r u l e s   s e c t i o n .   A l l o w   r e a d i n g   \" p o d s \"   r e s o u r c e s   i n   t h e   c o r e   A P I   G r o u p :   r u l e s :   -   a p i G r o u p s :   [ \" \" ]   #   #   a t   t h e   H T T P   l e v e l ,   t h e   n a m e   o f   t h e   r e s o u r c e   f o r   a c c e s s i n g   P o d   #   o b j e c t s   i s   \" p o d s \"   r e s o u r c e s :   [ \" p o d s \" ]   v e r b s :   [ \" g e t \" ,   \" l i s t \" ,   \" w a t c h \" ]   A l l o w   r e a d i n g / w r i t i n g   D e p l o y m e n t s   ( a t   t h e   H T T P   l e v e l :   o b j e c t s   w i t h   \" d e p l o y m e n t s \"   i n   t h e   r e s o u r c e   p a r t   o f   t h e i r   U R L )   i n   t h e   \" a p p s \"   A P I   g r o u p s :   r u l e s :   -   a p i G r o u p s :   [ \" a p p s \" ]   #   #   a t   t h e   H T T P   l e v e l ,   t h e   n a m e   o f   t h e   r e s o u r c e   f o r   a c c e s s i n g   D e p l o y m e n t   #   o b j e c t s   i s   \" d e p l o y m e n t s \"   r e s o u r c e s :   [ \" d e p l o y m e n t s \" ]   v e r b s :   [ \" g e t \" ,   \" l i s t \" ,   \" w a t c h \" ,   \" c r e a t e \" ,   \" u p d a t e \" ,   \" p a t c h \" ,   \" d e l e t e \" ]   A l l o w   r e a d i n g   P o d s   i n   t h e   c o r e   A P I   g r o u p ,   a s   w e l l   a s   r e a d i n g   o r   w r i t i n g   J o b   r e s o u r c e s   i n   t h e   \" b a t c h \"   A P I   g r o u p :   r u l e s :   -   a p i G r o u p s :   [ \" \" ]   #   #   a t   t h e   H T T P   l e v e l ,   t h e   n a m e   o f   t h e   r e s o u r c e   f o r   a c c e s s i n g   P o d   #   o b j e c t s   i s   \" p o d s \"   r e s o u r c e s :   [ \" p o d s \" ]   v e r b s :   [ \" g e t \" ,   \" l i s t \" ,   \" w a t c h \" ]   -   a p i G r o u p s :   [ \" b a t c h \" ]   #   #   a t   t h e   H T T ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_4_14007"
  },
  {
    "question": "What is Referring to subjects?",
    "answer": "A   R o l e B i n d i n g   o r   C l u s t e r R o l e B i n d i n g   b i n d s   a   r o l e   t o   s u b j e c t s .   S u b j e c t s   c a n   b e   g r o u p s ,   u s e r s   o r   S e r v i c e A c c o u n t s .   K u b e r n e t e s   r e p r e s e n t s   u s e r n a m e s   a s   s t r i n g s .   T h e s e   c a n   b e :   p l a i n   n a m e s ,   s u c h   a s   \" a l i c e \" ;   e m a i l - s t y l e   n a m e s ,   l i k e   \" b o b @ e x a m p l e . c o m \" ;   o r   n u m e r i c   u s e r   I D s   r e p r e s e n t e d   a s   a   s t r i n g .   I t   i s   u p   t o   y o u   a s   a   c l u s t e r   a d m i n i s t r a t o r   t o   c o n f i g u r e   t h e   a u t h e n t i c a t i o n   m o d u l e s   s o   t h a t   a u t h e n t i c a t i o n   p r o d u c e s   u s e r n a m e s   i n   t h e   f o r m a t   y o u   w a n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_3_14008"
  },
  {
    "question": "What is Caution:?",
    "answer": "I n   K u b e r n e t e s ,   A u t h e n t i c a t o r   m o d u l e s   p r o v i d e   g r o u p   i n f o r m a t i o n .   G r o u p s ,   l i k e   u s e r s ,   a r e   r e p r e s e n t e d   a s   s t r i n g s ,   a n d   t h a t   s t r i n g   h a s   n o   f o r m a t   r e q u i r e m e n t s ,   o t h e r   t h a n   t h a t   t h e   p r e f i x   s y s t e m :   i s   r e s e r v e d .   S e r v i c e A c c o u n t s   h a v e   n a m e s   p r e f i x e d   w i t h   s y s t e m : s e r v i c e a c c o u n t : ,   a n d   b e l o n g   t o   g r o u p s   t h a t   h a v e   n a m e s   p r e f i x e d   w i t h   s y s t e m : s e r v i c e a c c o u n t s : .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_4_14009"
  },
  {
    "question": "What is Note:?",
    "answer": "s y s t e m : s e r v i c e a c c o u n t :   ( s i n g u l a r )   i s   t h e   p r e f i x   f o r   s e r v i c e   a c c o u n t   u s e r n a m e s . s y s t e m : s e r v i c e a c c o u n t s :   ( p l u r a l )   i s   t h e   p r e f i x   f o r   s e r v i c e   a c c o u n t   g r o u p s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_4_14010"
  },
  {
    "question": "What is RoleBinding examples?",
    "answer": "T h e   f o l l o w i n g   e x a m p l e s   a r e   R o l e B i n d i n g   e x c e r p t s   t h a t   o n l y   s h o w   t h e   s u b j e c t s   s e c t i o n .   F o r   a   u s e r   n a m e d   a l i c e @ e x a m p l e . c o m :   s u b j e c t s :   -   k i n d :   U s e r   n a m e :   \" a l i c e @ e x a m p l e . c o m \"   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o   F o r   a   g r o u p   n a m e d   f r o n t e n d - a d m i n s :   s u b j e c t s :   -   k i n d :   G r o u p   n a m e :   \" f r o n t e n d - a d m i n s \"   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o   F o r   t h e   d e f a u l t   s e r v i c e   a c c o u n t   i n   t h e   \" k u b e - s y s t e m \"   n a m e s p a c e :   s u b j e c t s :   -   k i n d :   S e r v i c e A c c o u n t   n a m e :   d e f a u l t   n a m e s p a c e :   k u b e - s y s t e m   F o r   a l l   s e r v i c e   a c c o u n t s   i n   t h e   \" q a \"   n a m e s p a c e :   s u b j e c t s :   -   k i n d :   G r o u p   n a m e :   s y s t e m : s e r v i c e a c c o u n t s : q a   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o   F o r   a l l   s e r v i c e   a c c o u n t s   i n   a n y   n a m e s p a c e :   s u b j e c t s :   -   k i n d :   G r o u p   n a m e :   s y s t e m : s e r v i c e a c c o u n t s   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o   F o r   a l l   a u t h e n t i c a t e d   u s e r s :   s u b j e c t s :   -   k i n d :   G r o u p   n a m e :   s y s t e m : a u t h e n t i c a t e d   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o   F o r   a l l   u n a u t h e n t i c a t e d   u s e r s :   s u b j e c t s :   -   k i n d :   G r o u p   n a m e :   s y s t e m : u n a u t h e n t i c a t e d   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o   F o r   a l l   u s e r s :   s u b j e c t s :   -   k i n d :   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_4_14011"
  },
  {
    "question": "What is Default roles and role bindings?",
    "answer": "A P I   s e r v e r s   c r e a t e   a   s e t   o f   d e f a u l t   C l u s t e r R o l e   a n d   C l u s t e r R o l e B i n d i n g   o b j e c t s .   M a n y   o f   t h e s e   a r e   s y s t e m :   p r e f i x e d ,   w h i c h   i n d i c a t e s   t h a t   t h e   r e s o u r c e   i s   d i r e c t l y   m a n a g e d   b y   t h e   c l u s t e r   c o n t r o l   p l a n e .   A l l   o f   t h e   d e f a u l t   C l u s t e r R o l e s   a n d   C l u s t e r R o l e B i n d i n g s   a r e   l a b e l e d   w i t h   k u b e r n e t e s . i o / b o o t s t r a p p i n g = r b a c - d e f a u l t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_2_14012"
  },
  {
    "question": "What is Auto-reconciliation?",
    "answer": "A t   e a c h   s t a r t - u p ,   t h e   A P I   s e r v e r   u p d a t e s   d e f a u l t   c l u s t e r   r o l e s   w i t h   a n y   m i s s i n g   p e r m i s s i o n s ,   a n d   u p d a t e s   d e f a u l t   c l u s t e r   r o l e   b i n d i n g s   w i t h   a n y   m i s s i n g   s u b j e c t s .   T h i s   a l l o w s   t h e   c l u s t e r   t o   r e p a i r   a c c i d e n t a l   m o d i f i c a t i o n s ,   a n d   h e l p s   t o   k e e p   r o l e s   a n d   r o l e   b i n d i n g s   u p - t o - d a t e   a s   p e r m i s s i o n s   a n d   s u b j e c t s   c h a n g e   i n   n e w   K u b e r n e t e s   r e l e a s e s .   T o   o p t   o u t   o f   t h i s   r e c o n c i l i a t i o n ,   s e t   t h e   r b a c . a u t h o r i z a t i o n . k u b e r n e t e s . i o / a u t o u p d a t e   a n n o t a t i o n   o n   a   d e f a u l t   c l u s t e r   r o l e   o r   d e f a u l t   c l u s t e r   R o l e B i n d i n g   t o   f a l s e .   B e   a w a r e   t h a t   m i s s i n g   d e f a u l t   p e r m i s s i o n s   a n d   s u b j e c t s   c a n   r e s u l t   i n   n o n - f u n c t i o n a l   c l u s t e r s .   A u t o - r e c o n c i l i a t i o n   i s   e n a b l e d   b y   d e f a u l t   i f   t h e   R B A C   a u t h o r i z e r   i s   a c t i v e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_3_14013"
  },
  {
    "question": "What is API discovery roles?",
    "answer": "D e f a u l t   c l u s t e r   r o l e   b i n d i n g s   a u t h o r i z e   u n a u t h e n t i c a t e d   a n d   a u t h e n t i c a t e d   u s e r s   t o   r e a d   A P I   i n f o r m a t i o n   t h a t   i s   d e e m e d   s a f e   t o   b e   p u b l i c l y   a c c e s s i b l e   ( i n c l u d i n g   C u s t o m R e s o u r c e D e f i n i t i o n s ) .   T o   d i s a b l e   a n o n y m o u s   u n a u t h e n t i c a t e d   a c c e s s ,   a d d   - - a n o n y m o u s - a u t h = f a l s e   f l a g   t o   t h e   A P I   s e r v e r   c o n f i g u r a t i o n .   T o   v i e w   t h e   c o n f i g u r a t i o n   o f   t h e s e   r o l e s   v i a   k u b e c t l   r u n :   k u b e c t l   g e t   c l u s t e r r o l e s   s y s t e m : d i s c o v e r y   - o   y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_3_14014"
  },
  {
    "question": "What is User-facing roles?",
    "answer": "S o m e   o f   t h e   d e f a u l t   C l u s t e r R o l e s   a r e   n o t   s y s t e m :   p r e f i x e d .   T h e s e   a r e   i n t e n d e d   t o   b e   u s e r - f a c i n g   r o l e s .   T h e y   i n c l u d e   s u p e r - u s e r   r o l e s   ( c l u s t e r - a d m i n ) ,   r o l e s   i n t e n d e d   t o   b e   g r a n t e d   c l u s t e r - w i d e   u s i n g   C l u s t e r R o l e B i n d i n g s ,   a n d   r o l e s   i n t e n d e d   t o   b e   g r a n t e d   w i t h i n   p a r t i c u l a r   n a m e s p a c e s   u s i n g   R o l e B i n d i n g s   ( a d m i n ,   e d i t ,   v i e w ) .   U s e r - f a c i n g   C l u s t e r R o l e s   u s e   C l u s t e r R o l e   a g g r e g a t i o n   t o   a l l o w   a d m i n s   t o   i n c l u d e   r u l e s   f o r   c u s t o m   r e s o u r c e s   o n   t h e s e   C l u s t e r R o l e s .   T o   a d d   r u l e s   t o   t h e   a d m i n ,   e d i t ,   o r   v i e w   r o l e s ,   c r e a t e   a   C l u s t e r R o l e   w i t h   o n e   o r   m o r e   o f   t h e   f o l l o w i n g   l a b e l s :   m e t a d a t a :   l a b e l s :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / a g g r e g a t e - t o - a d m i n :   \" t r u e \"   r b a c . a u t h o r i z a t i o n . k 8 s . i o / a g g r e g a t e - t o - e d i t :   \" t r u e \"   r b a c . a u t h o r i z a t i o n . k 8 s . i o / a g g r e g a t e - t o - v i e w :   \" t r u e \"   I f   u s e d   i n   a   R o l e B i n d i n g ,   a l l o w s   r e a d / w r i t e   a c c e s s   t o   m o s t   r e s o u r c e s   i n   a   n a m e s p a c e ,   i n c l u d i n g   t h e   a b i l i t y   t o   c r e a t e   r o l e s   a n d   r o l e   b i n d i n g s   w i t h i n   t h e   n a m e s p a c e .   T h i s   r o l e   d o e s   n o t   a l l o w   w r i t e   a c c e s s   t o   r e s o u r c e   q u o t a   o r   t o   t h e   n a m e s p a c e   i t s e l f .   T h i s   r o l e   a l s o   d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_3_14015"
  },
  {
    "question": "What is Core component roles?",
    "answer": "Y o u   s h o u l d   u s e   t h e   N o d e   a u t h o r i z e r   a n d   N o d e R e s t r i c t i o n   a d m i s s i o n   p l u g i n   i n s t e a d   o f   t h e   s y s t e m : n o d e   r o l e ,   a n d   a l l o w   g r a n t i n g   A P I   a c c e s s   t o   k u b e l e t s   b a s e d   o n   t h e   P o d s   s c h e d u l e d   t o   r u n   o n   t h e m .   T h e   s y s t e m : n o d e   r o l e   o n l y   e x i s t s   f o r   c o m p a t i b i l i t y   w i t h   K u b e r n e t e s   c l u s t e r s   u p g r a d e d   f r o m   v e r s i o n s   p r i o r   t o   v 1 . 8 .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_3_14016"
  },
  {
    "question": "What is Roles for built-in controllers?",
    "answer": "T h e   K u b e r n e t e s   c o n t r o l l e r   m a n a g e r   r u n s   c o n t r o l l e r s   t h a t   a r e   b u i l t   i n   t o   t h e   K u b e r n e t e s   c o n t r o l   p l a n e .   W h e n   i n v o k e d   w i t h   - - u s e - s e r v i c e - a c c o u n t - c r e d e n t i a l s ,   k u b e - c o n t r o l l e r - m a n a g e r   s t a r t s   e a c h   c o n t r o l l e r   u s i n g   a   s e p a r a t e   s e r v i c e   a c c o u n t .   C o r r e s p o n d i n g   r o l e s   e x i s t   f o r   e a c h   b u i l t - i n   c o n t r o l l e r ,   p r e f i x e d   w i t h   s y s t e m : c o n t r o l l e r : .   I f   t h e   c o n t r o l l e r   m a n a g e r   i s   n o t   s t a r t e d   w i t h   - - u s e - s e r v i c e - a c c o u n t - c r e d e n t i a l s ,   i t   r u n s   a l l   c o n t r o l   l o o p s   u s i n g   i t s   o w n   c r e d e n t i a l ,   w h i c h   m u s t   b e   g r a n t e d   a l l   t h e   r e l e v a n t   r o l e s .   T h e s e   r o l e s   i n c l u d e :   s y s t e m : c o n t r o l l e r : a t t a c h d e t a c h - c o n t r o l l e r s y s t e m : c o n t r o l l e r : c e r t i f i c a t e - c o n t r o l l e r s y s t e m : c o n t r o l l e r : c l u s t e r r o l e - a g g r e g a t i o n - c o n t r o l l e r s y s t e m : c o n t r o l l e r : c r o n j o b - c o n t r o l l e r s y s t e m : c o n t r o l l e r : d a e m o n - s e t - c o n t r o l l e r s y s t e m : c o n t r o l l e r : d e p l o y m e n t - c o n t r o l l e r s y s t e m : c o n t r o l l e r : d i s r u p t i o n - c o n t r o l l e r s y s t e m : c o n t r o l l e r : e n d p o i n t - c o n t r o l l e r s y s t e m : c o n t r o l l e r : e x p a n d - c o n t r o l l e r s y s t e m : c o n t r o l l e r : g e n e r i c - g a r b a g e - c o l l e c t o r s y s t e m : c o n t r o l l e r : h o r i z o n t a l - p o d - a u t o s c a l e r s y s t e m : c o n t r o l l e r : j o b - c o n t r o l l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_3_14017"
  },
  {
    "question": "What is Privilege escalation prevention and bootstrapping?",
    "answer": "T h e   R B A C   A P I   p r e v e n t s   u s e r s   f r o m   e s c a l a t i n g   p r i v i l e g e s   b y   e d i t i n g   r o l e s   o r   r o l e   b i n d i n g s .   B e c a u s e   t h i s   i s   e n f o r c e d   a t   t h e   A P I   l e v e l ,   i t   a p p l i e s   e v e n   w h e n   t h e   R B A C   a u t h o r i z e r   i s   n o t   i n   u s e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_2_14018"
  },
  {
    "question": "What is Restrictions on role creation or update?",
    "answer": "Y o u   c a n   o n l y   c r e a t e / u p d a t e   a   r o l e   i f   a t   l e a s t   o n e   o f   t h e   f o l l o w i n g   t h i n g s   i s   t r u e :   Y o u   a l r e a d y   h a v e   a l l   t h e   p e r m i s s i o n s   c o n t a i n e d   i n   t h e   r o l e ,   a t   t h e   s a m e   s c o p e   a s   t h e   o b j e c t   b e i n g   m o d i f i e d   ( c l u s t e r - w i d e   f o r   a   C l u s t e r R o l e ,   w i t h i n   t h e   s a m e   n a m e s p a c e   o r   c l u s t e r - w i d e   f o r   a   R o l e ) . Y o u   a r e   g r a n t e d   e x p l i c i t   p e r m i s s i o n   t o   p e r f o r m   t h e   e s c a l a t e   v e r b   o n   t h e   r o l e s   o r   c l u s t e r r o l e s   r e s o u r c e   i n   t h e   r b a c . a u t h o r i z a t i o n . k 8 s . i o   A P I   g r o u p .   F o r   e x a m p l e ,   i f   u s e r - 1   d o e s   n o t   h a v e   t h e   a b i l i t y   t o   l i s t   S e c r e t s   c l u s t e r - w i d e ,   t h e y   c a n n o t   c r e a t e   a   C l u s t e r R o l e   c o n t a i n i n g   t h a t   p e r m i s s i o n .   T o   a l l o w   a   u s e r   t o   c r e a t e / u p d a t e   r o l e s :   G r a n t   t h e m   a   r o l e   t h a t   a l l o w s   t h e m   t o   c r e a t e / u p d a t e   R o l e   o r   C l u s t e r R o l e   o b j e c t s ,   a s   d e s i r e d . G r a n t   t h e m   p e r m i s s i o n   t o   i n c l u d e   s p e c i f i c   p e r m i s s i o n s   i n   t h e   r o l e s   t h e y   c r e a t e / u p d a t e : i m p l i c i t l y ,   b y   g i v i n g   t h e m   t h o s e   p e r m i s s i o n s   ( i f   t h e y   a t t e m p t   t o   c r e a t e   o r   m o d i f y   a   R o l e   o r   C l u s t e r R o l e   w i t h   p e r m i s s i o n s   t h e y   t h e m s e l v e s   h a v e   n o t   b e e n   g r a n t e d ,   t h e   A P I   r e q u e s t   w i l l   b e   f o r b i d d e n ) o r   e x p l i c i t l y   a l l o w   s p e c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_3_14019"
  },
  {
    "question": "What is Restrictions on role binding creation or update?",
    "answer": "Y o u   c a n   o n l y   c r e a t e / u p d a t e   a   r o l e   b i n d i n g   i f   y o u   a l r e a d y   h a v e   a l l   t h e   p e r m i s s i o n s   c o n t a i n e d   i n   t h e   r e f e r e n c e d   r o l e   ( a t   t h e   s a m e   s c o p e   a s   t h e   r o l e   b i n d i n g )   o r   i f   y o u   h a v e   b e e n   a u t h o r i z e d   t o   p e r f o r m   t h e   b i n d   v e r b   o n   t h e   r e f e r e n c e d   r o l e .   F o r   e x a m p l e ,   i f   u s e r - 1   d o e s   n o t   h a v e   t h e   a b i l i t y   t o   l i s t   S e c r e t s   c l u s t e r - w i d e ,   t h e y   c a n n o t   c r e a t e   a   C l u s t e r R o l e B i n d i n g   t o   a   r o l e   t h a t   g r a n t s   t h a t   p e r m i s s i o n .   T o   a l l o w   a   u s e r   t o   c r e a t e / u p d a t e   r o l e   b i n d i n g s :   G r a n t   t h e m   a   r o l e   t h a t   a l l o w s   t h e m   t o   c r e a t e / u p d a t e   R o l e B i n d i n g   o r   C l u s t e r R o l e B i n d i n g   o b j e c t s ,   a s   d e s i r e d . G r a n t   t h e m   p e r m i s s i o n s   n e e d e d   t o   b i n d   a   p a r t i c u l a r   r o l e : i m p l i c i t l y ,   b y   g i v i n g   t h e m   t h e   p e r m i s s i o n s   c o n t a i n e d   i n   t h e   r o l e . e x p l i c i t l y ,   b y   g i v i n g   t h e m   p e r m i s s i o n   t o   p e r f o r m   t h e   b i n d   v e r b   o n   t h e   p a r t i c u l a r   R o l e   ( o r   C l u s t e r R o l e ) .   i m p l i c i t l y ,   b y   g i v i n g   t h e m   t h e   p e r m i s s i o n s   c o n t a i n e d   i n   t h e   r o l e . e x p l i c i t l y ,   b y   g i v i n g   t h e m   p e r m i s s i o n   t o   p e r f o r m   t h e   b i n d   v e r b   o n   t h e   p a r t i c u l a r   R o l e   ( o r   C l u s t e r R o l e ) .   F o r   e x a m p l e ,   t h i s   C l u s t e r R o l e   a n d   R o l e B i n d i n g   w o u l d   a l l o w   u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_3_14020"
  },
  {
    "question": "What is kubectl create role?",
    "answer": "C r e a t e s   a   R o l e   o b j e c t   d e f i n i n g   p e r m i s s i o n s   w i t h i n   a   s i n g l e   n a m e s p a c e .   E x a m p l e s :   C r e a t e   a   R o l e   n a m e d   \" p o d - r e a d e r \"   t h a t   a l l o w s   u s e r s   t o   p e r f o r m   g e t ,   w a t c h   a n d   l i s t   o n   p o d s : k u b e c t l   c r e a t e   r o l e   p o d - r e a d e r   - - v e r b = g e t   - - v e r b = l i s t   - - v e r b = w a t c h   - - r e s o u r c e = p o d s   C r e a t e   a   R o l e   n a m e d   \" p o d - r e a d e r \"   w i t h   r e s o u r c e N a m e s   s p e c i f i e d : k u b e c t l   c r e a t e   r o l e   p o d - r e a d e r   - - v e r b = g e t   - - r e s o u r c e = p o d s   - - r e s o u r c e - n a m e = r e a d a b l e p o d   - - r e s o u r c e - n a m e = a n o t h e r p o d   C r e a t e   a   R o l e   n a m e d   \" f o o \"   w i t h   a p i G r o u p s   s p e c i f i e d : k u b e c t l   c r e a t e   r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = r e p l i c a s e t s . a p p s   C r e a t e   a   R o l e   n a m e d   \" f o o \"   w i t h   s u b r e s o u r c e   p e r m i s s i o n s : k u b e c t l   c r e a t e   r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = p o d s , p o d s / s t a t u s   C r e a t e   a   R o l e   n a m e d   \" m y - c o m p o n e n t - l e a s e - h o l d e r \"   w i t h   p e r m i s s i o n s   t o   g e t / u p d a t e   a   r e s o u r c e   w i t h   a   s p e c i f i c   n a m e : k u b e c t l   c r e a t e   r o l e   m y - c o m p o n e n t - l e a s e - h o l d e r   - - v e r b = g e t , l i s t , w a t c h , u p d a t e   - - r e s o u r c e = l e a s e   - - r e s o u r c e - n a m e = m y - c o m p o n e n t   C r e a t e   a   R o l e   n a m e d   \" p o d - r e a d e r \"   t h a t   a l l o w s   u s e r s   t o   p e r f o r m   g e t ,   w a t c h   a n d   l i s t   o n   p ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_3_14021"
  },
  {
    "question": "What is kubectl create clusterrole?",
    "answer": "C r e a t e s   a   C l u s t e r R o l e .   E x a m p l e s :   C r e a t e   a   C l u s t e r R o l e   n a m e d   \" p o d - r e a d e r \"   t h a t   a l l o w s   u s e r   t o   p e r f o r m   g e t ,   w a t c h   a n d   l i s t   o n   p o d s : k u b e c t l   c r e a t e   c l u s t e r r o l e   p o d - r e a d e r   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = p o d s   C r e a t e   a   C l u s t e r R o l e   n a m e d   \" p o d - r e a d e r \"   w i t h   r e s o u r c e N a m e s   s p e c i f i e d : k u b e c t l   c r e a t e   c l u s t e r r o l e   p o d - r e a d e r   - - v e r b = g e t   - - r e s o u r c e = p o d s   - - r e s o u r c e - n a m e = r e a d a b l e p o d   - - r e s o u r c e - n a m e = a n o t h e r p o d   C r e a t e   a   C l u s t e r R o l e   n a m e d   \" f o o \"   w i t h   a p i G r o u p s   s p e c i f i e d : k u b e c t l   c r e a t e   c l u s t e r r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = r e p l i c a s e t s . a p p s   C r e a t e   a   C l u s t e r R o l e   n a m e d   \" f o o \"   w i t h   s u b r e s o u r c e   p e r m i s s i o n s : k u b e c t l   c r e a t e   c l u s t e r r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = p o d s , p o d s / s t a t u s   C r e a t e   a   C l u s t e r R o l e   n a m e d   \" f o o \"   w i t h   n o n R e s o u r c e U R L   s p e c i f i e d : k u b e c t l   c r e a t e   c l u s t e r r o l e   \" f o o \"   - - v e r b = g e t   - - n o n - r e s o u r c e - u r l = / l o g s / *   C r e a t e   a   C l u s t e r R o l e   n a m e d   \" m o n i t o r i n g \"   w i t h   a n   a g g r e g a t i o n R u l e   s p e c i f i e d : k u b e c t l   c r e a t e   c l u s t e r r o l e   m o n i t o r i n g   - - a g g r e g a t i o n - r u l e = \" r b a c . e x a m p l e . c o m / a g g r e g a t e - t o - m o n i t o r i n g = t r u e \"   C r e a t e   a   C l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_3_14022"
  },
  {
    "question": "What is kubectl create rolebinding?",
    "answer": "G r a n t s   a   R o l e   o r   C l u s t e r R o l e   w i t h i n   a   s p e c i f i c   n a m e s p a c e .   E x a m p l e s :   W i t h i n   t h e   n a m e s p a c e   \" a c m e \" ,   g r a n t   t h e   p e r m i s s i o n s   i n   t h e   \" a d m i n \"   C l u s t e r R o l e   t o   a   u s e r   n a m e d   \" b o b \" : k u b e c t l   c r e a t e   r o l e b i n d i n g   b o b - a d m i n - b i n d i n g   - - c l u s t e r r o l e = a d m i n   - - u s e r = b o b   - - n a m e s p a c e = a c m e   W i t h i n   t h e   n a m e s p a c e   \" a c m e \" ,   g r a n t   t h e   p e r m i s s i o n s   i n   t h e   \" v i e w \"   C l u s t e r R o l e   t o   t h e   s e r v i c e   a c c o u n t   i n   t h e   n a m e s p a c e   \" a c m e \"   n a m e d   \" m y a p p \" : k u b e c t l   c r e a t e   r o l e b i n d i n g   m y a p p - v i e w - b i n d i n g   - - c l u s t e r r o l e = v i e w   - - s e r v i c e a c c o u n t = a c m e : m y a p p   - - n a m e s p a c e = a c m e   W i t h i n   t h e   n a m e s p a c e   \" a c m e \" ,   g r a n t   t h e   p e r m i s s i o n s   i n   t h e   \" v i e w \"   C l u s t e r R o l e   t o   a   s e r v i c e   a c c o u n t   i n   t h e   n a m e s p a c e   \" m y a p p n a m e s p a c e \"   n a m e d   \" m y a p p \" : k u b e c t l   c r e a t e   r o l e b i n d i n g   m y a p p n a m e s p a c e - m y a p p - v i e w - b i n d i n g   - - c l u s t e r r o l e = v i e w   - - s e r v i c e a c c o u n t = m y a p p n a m e s p a c e : m y a p p   - - n a m e s p a c e = a c m e   W i t h i n   t h e   n a m e s p a c e   \" a c m e \" ,   g r a n t   t h e   p e r m i s s i o n s   i n   t h e   \" a d m i n \"   C l u s t e r R o l e   t o   a   u s e r   n a m e d   \" b o b \" :   k u b e c t l   c r e a t e   r o l e b i n d i n g   b o b - a d m i n - b i n d i n g   - - c l u s t e r r o l e = a d m i n   - - u s e r = b o b   - - n a m e s p a c e = a c m e   W i t h i n   t h e   n a m e s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_3_14023"
  },
  {
    "question": "What is kubectl create clusterrolebinding?",
    "answer": "G r a n t s   a   C l u s t e r R o l e   a c r o s s   t h e   e n t i r e   c l u s t e r   ( a l l   n a m e s p a c e s ) .   E x a m p l e s :   A c r o s s   t h e   e n t i r e   c l u s t e r ,   g r a n t   t h e   p e r m i s s i o n s   i n   t h e   \" c l u s t e r - a d m i n \"   C l u s t e r R o l e   t o   a   u s e r   n a m e d   \" r o o t \" : k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   r o o t - c l u s t e r - a d m i n - b i n d i n g   - - c l u s t e r r o l e = c l u s t e r - a d m i n   - - u s e r = r o o t   A c r o s s   t h e   e n t i r e   c l u s t e r ,   g r a n t   t h e   p e r m i s s i o n s   i n   t h e   \" s y s t e m : n o d e - p r o x i e r \"   C l u s t e r R o l e   t o   a   u s e r   n a m e d   \" s y s t e m : k u b e - p r o x y \" : k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   k u b e - p r o x y - b i n d i n g   - - c l u s t e r r o l e = s y s t e m : n o d e - p r o x i e r   - - u s e r = s y s t e m : k u b e - p r o x y   A c r o s s   t h e   e n t i r e   c l u s t e r ,   g r a n t   t h e   p e r m i s s i o n s   i n   t h e   \" v i e w \"   C l u s t e r R o l e   t o   a   s e r v i c e   a c c o u n t   n a m e d   \" m y a p p \"   i n   t h e   n a m e s p a c e   \" a c m e \" : k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   m y a p p - v i e w - b i n d i n g   - - c l u s t e r r o l e = v i e w   - - s e r v i c e a c c o u n t = a c m e : m y a p p   A c r o s s   t h e   e n t i r e   c l u s t e r ,   g r a n t   t h e   p e r m i s s i o n s   i n   t h e   \" c l u s t e r - a d m i n \"   C l u s t e r R o l e   t o   a   u s e r   n a m e d   \" r o o t \" :   k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   r o o t - c l u s t e r - a d m i n - b i n d i n g   - - c l u s t e r r o l e = c l u s t e r - a d m i n   - - u s e r = r o o t   A c r o s s   t h e   e n t i r e   c l u s t e r ,   g r a n t   t h e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_3_14024"
  },
  {
    "question": "What is kubectl auth reconcile?",
    "answer": "C r e a t e s   o r   u p d a t e s   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   A P I   o b j e c t s   f r o m   a   m a n i f e s t   f i l e .   M i s s i n g   o b j e c t s   a r e   c r e a t e d ,   a n d   t h e   c o n t a i n i n g   n a m e s p a c e   i s   c r e a t e d   f o r   n a m e s p a c e d   o b j e c t s ,   i f   r e q u i r e d .   E x i s t i n g   r o l e s   a r e   u p d a t e d   t o   i n c l u d e   t h e   p e r m i s s i o n s   i n   t h e   i n p u t   o b j e c t s ,   a n d   r e m o v e   e x t r a   p e r m i s s i o n s   i f   - - r e m o v e - e x t r a - p e r m i s s i o n s   i s   s p e c i f i e d .   E x i s t i n g   b i n d i n g s   a r e   u p d a t e d   t o   i n c l u d e   t h e   s u b j e c t s   i n   t h e   i n p u t   o b j e c t s ,   a n d   r e m o v e   e x t r a   s u b j e c t s   i f   - - r e m o v e - e x t r a - s u b j e c t s   i s   s p e c i f i e d .   E x a m p l e s :   T e s t   a p p l y i n g   a   m a n i f e s t   f i l e   o f   R B A C   o b j e c t s ,   d i s p l a y i n g   c h a n g e s   t h a t   w o u l d   b e   m a d e : k u b e c t l   a u t h   r e c o n c i l e   - f   m y - r b a c - r u l e s . y a m l   - - d r y - r u n = c l i e n t   A p p l y   a   m a n i f e s t   f i l e   o f   R B A C   o b j e c t s ,   p r e s e r v i n g   a n y   e x t r a   p e r m i s s i o n s   ( i n   r o l e s )   a n d   a n y   e x t r a   s u b j e c t s   ( i n   b i n d i n g s ) : k u b e c t l   a u t h   r e c o n c i l e   - f   m y - r b a c - r u l e s . y a m l   A p p l y   a   m a n i f e s t   f i l e   o f   R B A C   o b j e c t s ,   r e m o v i n g   a n y   e x t r a   p e r m i s s i o n s   ( i n   r o l e s )   a n d   a n y   e x t r a   s u b j e c t s   ( i n   b i n d i n g s ) : k u b e c t l   a u t h   r e c o n c i l e   - f   m y - r b a c - r u l e s . y a m l   - - r e m o v e - e x t r a - s u b j e c t s   - - r e m o v e - e x ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_3_14025"
  },
  {
    "question": "What is ServiceAccount permissions?",
    "answer": "D e f a u l t   R B A C   p o l i c i e s   g r a n t   s c o p e d   p e r m i s s i o n s   t o   c o n t r o l - p l a n e   c o m p o n e n t s ,   n o d e s ,   a n d   c o n t r o l l e r s ,   b u t   g r a n t   n o   p e r m i s s i o n s   t o   s e r v i c e   a c c o u n t s   o u t s i d e   t h e   k u b e - s y s t e m   n a m e s p a c e   ( b e y o n d   t h e   p e r m i s s i o n s   g i v e n   b y   A P I   d i s c o v e r y   r o l e s ) .   T h i s   a l l o w s   y o u   t o   g r a n t   p a r t i c u l a r   r o l e s   t o   p a r t i c u l a r   S e r v i c e A c c o u n t s   a s   n e e d e d .   F i n e - g r a i n e d   r o l e   b i n d i n g s   p r o v i d e   g r e a t e r   s e c u r i t y ,   b u t   r e q u i r e   m o r e   e f f o r t   t o   a d m i n i s t r a t e .   B r o a d e r   g r a n t s   c a n   g i v e   u n n e c e s s a r y   ( a n d   p o t e n t i a l l y   e s c a l a t i n g )   A P I   a c c e s s   t o   S e r v i c e A c c o u n t s ,   b u t   a r e   e a s i e r   t o   a d m i n i s t r a t e .   I n   o r d e r   f r o m   m o s t   s e c u r e   t o   l e a s t   s e c u r e ,   t h e   a p p r o a c h e s   a r e :   G r a n t   a   r o l e   t o   a n   a p p l i c a t i o n - s p e c i f i c   s e r v i c e   a c c o u n t   ( b e s t   p r a c t i c e ) T h i s   r e q u i r e s   t h e   a p p l i c a t i o n   t o   s p e c i f y   a   s e r v i c e A c c o u n t N a m e   i n   i t s   p o d   s p e c ,   a n d   f o r   t h e   s e r v i c e   a c c o u n t   t o   b e   c r e a t e d   ( v i a   t h e   A P I ,   a p p l i c a t i o n   m a n i f e s t ,   k u b e c t l   c r e a t e   s e r v i c e a c c o u n t ,   e t c . ) . F o r   e x a m p l e ,   g r a n t   r e a d - o n l y   p e r m i s s i o n   w i t h i n   \" m y - n a m e s p a c e \"   t o   t h e   \" m y - s a \"   s e r v i c e   a c c o u n t : k u b e c t l   c r e a t e   r o l e b i n d i n g   m y - s a - v i e w   \\   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_2_14026"
  },
  {
    "question": "What is Note:?",
    "answer": "F o r   e x a m p l e ,   g r a n t   r e a d - o n l y   p e r m i s s i o n   w i t h i n   \" m y - n a m e s p a c e \"   t o   t h e   \" d e f a u l t \"   s e r v i c e   a c c o u n t :   k u b e c t l   c r e a t e   r o l e b i n d i n g   d e f a u l t - v i e w   \\   - - c l u s t e r r o l e = v i e w   \\   - - s e r v i c e a c c o u n t = m y - n a m e s p a c e : d e f a u l t   \\   - - n a m e s p a c e = m y - n a m e s p a c e   M a n y   a d d - o n s   r u n   a s   t h e   \" d e f a u l t \"   s e r v i c e   a c c o u n t   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   T o   a l l o w   t h o s e   a d d - o n s   t o   r u n   w i t h   s u p e r - u s e r   a c c e s s ,   g r a n t   c l u s t e r - a d m i n   p e r m i s s i o n s   t o   t h e   \" d e f a u l t \"   s e r v i c e   a c c o u n t   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_4_14027"
  },
  {
    "question": "What is Caution:?",
    "answer": "k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   a d d - o n - c l u s t e r - a d m i n   \\   - - c l u s t e r r o l e = c l u s t e r - a d m i n   \\   - - s e r v i c e a c c o u n t = k u b e - s y s t e m : d e f a u l t   G r a n t   a   r o l e   t o   a l l   s e r v i c e   a c c o u n t s   i n   a   n a m e s p a c e   I f   y o u   w a n t   a l l   a p p l i c a t i o n s   i n   a   n a m e s p a c e   t o   h a v e   a   r o l e ,   n o   m a t t e r   w h a t   s e r v i c e   a c c o u n t   t h e y   u s e ,   y o u   c a n   g r a n t   a   r o l e   t o   t h e   s e r v i c e   a c c o u n t   g r o u p   f o r   t h a t   n a m e s p a c e .   F o r   e x a m p l e ,   g r a n t   r e a d - o n l y   p e r m i s s i o n   w i t h i n   \" m y - n a m e s p a c e \"   t o   a l l   s e r v i c e   a c c o u n t s   i n   t h a t   n a m e s p a c e :   k u b e c t l   c r e a t e   r o l e b i n d i n g   s e r v i c e a c c o u n t s - v i e w   \\   - - c l u s t e r r o l e = v i e w   \\   - - g r o u p = s y s t e m : s e r v i c e a c c o u n t s : m y - n a m e s p a c e   \\   - - n a m e s p a c e = m y - n a m e s p a c e   G r a n t   a   l i m i t e d   r o l e   t o   a l l   s e r v i c e   a c c o u n t s   c l u s t e r - w i d e   ( d i s c o u r a g e d )   I f   y o u   d o n ' t   w a n t   t o   m a n a g e   p e r m i s s i o n s   p e r - n a m e s p a c e ,   y o u   c a n   g r a n t   a   c l u s t e r - w i d e   r o l e   t o   a l l   s e r v i c e   a c c o u n t s .   F o r   e x a m p l e ,   g r a n t   r e a d - o n l y   p e r m i s s i o n   a c r o s s   a l l   n a m e s p a c e s   t o   a l l   s e r v i c e   a c c o u n t s   i n   t h e   c l u s t e r :   k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   s e r v i c e a c c o u n t s - v i e w   \\   - - c l u s t e r r o l e = v i e w   \\   - - g r o u p = s y s t e m : s e r v i c e a c c o u n t s   G r a n t   s u p ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_4_14028"
  },
  {
    "question": "What is Warning:?",
    "answer": "k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   s e r v i c e a c c o u n t s - c l u s t e r - a d m i n   \\   - - c l u s t e r r o l e = c l u s t e r - a d m i n   \\   - - g r o u p = s y s t e m : s e r v i c e a c c o u n t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_4_14029"
  },
  {
    "question": "What is Write access for EndpointSlices?",
    "answer": "K u b e r n e t e s   c l u s t e r s   c r e a t e d   b e f o r e   K u b e r n e t e s   v 1 . 2 2   i n c l u d e   w r i t e   a c c e s s   t o   E n d p o i n t S l i c e s   ( a n d   t h e   n o w - d e p r e c a t e d   E n d p o i n t s   A P I )   i n   t h e   a g g r e g a t e d   \" e d i t \"   a n d   \" a d m i n \"   r o l e s .   A s   a   m i t i g a t i o n   f o r   C V E - 2 0 2 1 - 2 5 7 4 0 ,   t h i s   a c c e s s   i s   n o t   p a r t   o f   t h e   a g g r e g a t e d   r o l e s   i n   c l u s t e r s   t h a t   y o u   c r e a t e   u s i n g   K u b e r n e t e s   v 1 . 2 2   o r   l a t e r .   E x i s t i n g   c l u s t e r s   t h a t   h a v e   b e e n   u p g r a d e d   t o   K u b e r n e t e s   v 1 . 2 2   w i l l   n o t   b e   s u b j e c t   t o   t h i s   c h a n g e .   T h e   C V E   a n n o u n c e m e n t   i n c l u d e s   g u i d a n c e   f o r   r e s t r i c t i n g   t h i s   a c c e s s   i n   e x i s t i n g   c l u s t e r s .   I f   y o u   w a n t   n e w   c l u s t e r s   t o   r e t a i n   t h i s   l e v e l   o f   a c c e s s   i n   t h e   a g g r e g a t e d   r o l e s ,   y o u   c a n   c r e a t e   t h e   f o l l o w i n g   C l u s t e r R o l e :   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   a n n o t a t i o n s :   k u b e r n e t e s . i o / d e s c r i p t i o n :   | -   A d d   e n d p o i n t s   w r i t e   p e r m i s s i o n s   t o   t h e   e d i t   a n d   a d m i n   r o l e s .   T h i s   w a s   r e m o v e d   b y   d e f a u l t   i n   1 . 2 2   b e c a u s e   o f   C V E - 2 0 2 1 - 2 5 7 4 0 .   S e e   h t t p s : / / i s s u e . k 8 s . i o / 1 0 3 6 7 5 .   T h i s   c a n   a l l o w   w r i t e r s   t o   d i r e c t   L o a d B a l a n c e r   o r   I n g r e s s   i m p l e m e n t a t i o n s   t o   e x p o s e   b a c k e n d   I P s   t h a t   w o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_2_14030"
  },
  {
    "question": "What is Upgrading from ABAC?",
    "answer": "C l u s t e r s   t h a t   o r i g i n a l l y   r a n   o l d e r   K u b e r n e t e s   v e r s i o n s   o f t e n   u s e d   p e r m i s s i v e   A B A C   p o l i c i e s ,   i n c l u d i n g   g r a n t i n g   f u l l   A P I   a c c e s s   t o   a l l   s e r v i c e   a c c o u n t s .   D e f a u l t   R B A C   p o l i c i e s   g r a n t   s c o p e d   p e r m i s s i o n s   t o   c o n t r o l - p l a n e   c o m p o n e n t s ,   n o d e s ,   a n d   c o n t r o l l e r s ,   b u t   g r a n t   n o   p e r m i s s i o n s   t o   s e r v i c e   a c c o u n t s   o u t s i d e   t h e   k u b e - s y s t e m   n a m e s p a c e   ( b e y o n d   t h e   p e r m i s s i o n s   g i v e n   b y   A P I   d i s c o v e r y   r o l e s ) .   W h i l e   f a r   m o r e   s e c u r e ,   t h i s   c a n   b e   d i s r u p t i v e   t o   e x i s t i n g   w o r k l o a d s   e x p e c t i n g   t o   a u t o m a t i c a l l y   r e c e i v e   A P I   p e r m i s s i o n s .   H e r e   a r e   t w o   a p p r o a c h e s   f o r   m a n a g i n g   t h i s   t r a n s i t i o n :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_2_14031"
  },
  {
    "question": "What is Parallel authorizers?",
    "answer": "R u n   b o t h   t h e   R B A C   a n d   A B A C   a u t h o r i z e r s ,   a n d   s p e c i f y   a   p o l i c y   f i l e   t h a t   c o n t a i n s   t h e   l e g a c y   A B A C   p o l i c y :   - - a u t h o r i z a t i o n - m o d e = . . . , R B A C , A B A C   - - a u t h o r i z a t i o n - p o l i c y - f i l e = m y p o l i c y . j s o n   T o   e x p l a i n   t h a t   f i r s t   c o m m a n d   l i n e   o p t i o n   i n   d e t a i l :   i f   e a r l i e r   a u t h o r i z e r s ,   s u c h   a s   N o d e ,   d e n y   a   r e q u e s t ,   t h e n   t h e   R B A C   a u t h o r i z e r   a t t e m p t s   t o   a u t h o r i z e   t h e   A P I   r e q u e s t .   I f   R B A C   a l s o   d e n i e s   t h a t   A P I   r e q u e s t ,   t h e   A B A C   a u t h o r i z e r   i s   t h e n   r u n .   T h i s   m e a n s   t h a t   a n y   r e q u e s t   a l l o w e d   b y   e i t h e r   t h e   R B A C   o r   A B A C   p o l i c i e s   i s   a l l o w e d .   W h e n   t h e   k u b e - a p i s e r v e r   i s   r u n   w i t h   a   l o g   l e v e l   o f   5   o r   h i g h e r   f o r   t h e   R B A C   c o m p o n e n t   ( - - v m o d u l e = r b a c * = 5   o r   - - v = 5 ) ,   y o u   c a n   s e e   R B A C   d e n i a l s   i n   t h e   A P I   s e r v e r   l o g   ( p r e f i x e d   w i t h   R B A C ) .   Y o u   c a n   u s e   t h a t   i n f o r m a t i o n   t o   d e t e r m i n e   w h i c h   r o l e s   n e e d   t o   b e   g r a n t e d   t o   w h i c h   u s e r s ,   g r o u p s ,   o r   s e r v i c e   a c c o u n t s .   O n c e   y o u   h a v e   g r a n t e d   r o l e s   t o   s e r v i c e   a c c o u n t s   a n d   w o r k l o a d s   a r e   r u n n i n g   w i t h   n o   R B A C   d e n i a l   m e s s a g e s   i n   t h e   s e r v e r   l o g s ,   y o u   c a n   r e m o v e   t h e   A B A C   a u t h o r i z e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_3_14032"
  },
  {
    "question": "What is Permissive RBAC permissions?",
    "answer": "Y o u   c a n   r e p l i c a t e   a   p e r m i s s i v e   A B A C   p o l i c y   u s i n g   R B A C   r o l e   b i n d i n g s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_3_14033"
  },
  {
    "question": "What is Warning:?",
    "answer": "T h e   f o l l o w i n g   p o l i c y   a l l o w s   A L L   s e r v i c e   a c c o u n t s   t o   a c t   a s   c l u s t e r   a d m i n i s t r a t o r s .   A n y   a p p l i c a t i o n   r u n n i n g   i n   a   c o n t a i n e r   r e c e i v e s   s e r v i c e   a c c o u n t   c r e d e n t i a l s   a u t o m a t i c a l l y ,   a n d   c o u l d   p e r f o r m   a n y   a c t i o n   a g a i n s t   t h e   A P I ,   i n c l u d i n g   v i e w i n g   s e c r e t s   a n d   m o d i f y i n g   p e r m i s s i o n s .   T h i s   i s   n o t   a   r e c o m m e n d e d   p o l i c y .   k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   p e r m i s s i v e - b i n d i n g   \\   - - c l u s t e r r o l e = c l u s t e r - a d m i n   \\   - - u s e r = a d m i n   \\   - - u s e r = k u b e l e t   \\   - - g r o u p = s y s t e m : s e r v i c e a c c o u n t s   A f t e r   y o u   h a v e   t r a n s i t i o n e d   t o   u s e   R B A C ,   y o u   s h o u l d   a d j u s t   t h e   a c c e s s   c o n t r o l s   f o r   y o u r   c l u s t e r   t o   e n s u r e   t h a t   t h e s e   m e e t   y o u r   i n f o r m a t i o n   s e c u r i t y   n e e d s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/",
    "id": "k8s_00637_section_4_14034"
  },
  {
    "question": "What is Debugging Kubernetes nodes with crictl?",
    "answer": "Debugging Kubernetes nodes with crictlFEATURE STATE: Kubernetes v1.11 [stable]crictl is a command-line interface for CRI-compatible container runtimes. You can use it to inspect and debug container runtimes and applications on a Kubernetes node. crictl and its source are hosted in the cri-tools repository.Before you begincrictl requires a Linux operating system with a CRI runtime.Installing crictlYou can download a compressed archive crictl from the cri-tools release page, for several different architectures. Download the version that corresponds to your version of Kubernetes. Extract it and move it to a location on your system path, such as /usr/local/bin/.General usageThe crictl command has several subcommands and runtime flags. Use crictl help or crictl <subcommand> help for more details.You can set the endpoint for crictl by doing one of the following:Set the --runtime-endpoint and --image-endpoint flags.Set the CONTAINER_RUNTIME_ENDPOINT and IMAGE_SERVICE_ENDPOINT environment variables.Set the endpoint in the configuration file /etc/crictl.yaml. To specify a different file, use the --config=PATH_TO_FILE flag when you run crictl.Note:If you don't set an endpoint, crictl attempts to connect to a list of known endpoints, which might result in an impact to performance.You can also specify timeout values when connecting to the server and enable or disable debugging, by specifying timeout or debug values in the configuration file or using the --timeout and --debug command-line flags.To view or edit the current configuration, view or edit the contents of /etc/crictl.yaml. For example, the configuration when using the containerd container runtime would be similar to this:runtime-endpoint: unix:///var/run/containerd/containerd.sock image-endpoint: unix:///var/run/containerd/containerd.sock timeout: 10 debug: true To learn more about crictl, refer to the crictl documentation.Example crictl commandsThe following examples show some crictl commands and example output.List podsList all pods:crictl pods The output is similar to this:POD ID CREATED STATE NAME NAMESPACE ATTEMPT 926f1b5a1d33a About a minute ago Ready sh-84d7dcf559-4r2gq default 0 4dccb216c4adb About a minute ago Ready nginx-65899c769f-wv2gp default 0 a86316e96fa89 17 hours ago Ready kube-proxy-gblk4 kube-system 0 919630b8f81f1 17 hours ago Ready nvidia-device-plugin-zgbbv kube-system 0 List pods by name:crictl pods --name nginx-65899c769f-wv2gp The output is similar to this:POD ID CREATED STATE NAME NAMESPACE ATTEMPT 4dccb216c4adb 2 minutes ago Ready nginx-65899c769f-wv2gp default 0 List pods by label:crictl pods --label run=nginx The output is similar to this:POD ID CREATED STATE NAME NAMESPACE ATTEMPT 4dccb216c4adb 2 minutes ago Ready nginx-65899c769f-wv2gp default 0 List imagesList all images:crictl images The output is similar to this:IMAGE TAG IMAGE ID SIZE busybox latest 8c811b4aec35f 1.15MB k8s-gcrio.azureedge.net/hyperkube-amd64 v1.10.3 e179bbfe5d238 665MB k8s-gcrio.azureedge.net/paus",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/crictl/",
    "id": "k8s_00638_qa_14035"
  },
  {
    "question": "How does Debugging Kubernetes nodes with crictl work?",
    "answer": "Debugging Kubernetes nodes with crictlFEATURE STATE: Kubernetes v1.11 [stable]crictl is a command-line interface for CRI-compatible container runtimes. You can use it to inspect and debug container runtimes and applications on a Kubernetes node. crictl and its source are hosted in the cri-tools repository.Before you begincrictl requires a Linux operating system with a CRI runtime.Installing crictlYou can download a compressed archive crictl from the cri-tools release page, for several different architectures. Download the version that corresponds to your version of Kubernetes. Extract it and move it to a location on your system path, such as /usr/local/bin/.General usageThe crictl command has several subcommands and runtime flags. Use crictl help or crictl <subcommand> help for more details.You can set the endpoint for crictl by doing one of the following:Set the --runtime-endpoint and --image-endpoint flags.Set the CONTAINER_RUNTIME_ENDPOINT and IMAGE_SERVICE_ENDPOINT environment variables.Set the endpoint in the configuration file /etc/crictl.yaml. To specify a different file, use the --config=PATH_TO_FILE flag when you run crictl.Note:If you don't set an endpoint, crictl attempts to connect to a list of known endpoints, which might result in an impact to performance.You can also specify timeout values when connecting to the server and enable or disable debugging, by specifying timeout or debug values in the configuration file or using the --timeout and --debug command-line flags.To view or edit the current configuration, view or edit the contents of /etc/crictl.yaml. For example, the configuration when using the containerd container runtime would be similar to this:runtime-endpoint: unix:///var/run/containerd/containerd.sock image-endpoint: unix:///var/run/containerd/containerd.sock timeout: 10 debug: true To learn more about crictl, refer to the crictl documentation.Example crictl commandsThe following examples show some crictl commands and example output.List podsList all pods:crictl pods The output is similar to this:POD ID CREATED STATE NAME NAMESPACE ATTEMPT 926f1b5a1d33a About a minute ago Ready sh-84d7dcf559-4r2gq default 0 4dccb216c4adb About a minute ago Ready nginx-65899c769f-wv2gp default 0 a86316e96fa89 17 hours ago Ready kube-proxy-gblk4 kube-system 0 919630b8f81f1 17 hours ago Ready nvidia-device-plugin-zgbbv kube-system 0 List pods by name:crictl pods --name nginx-65899c769f-wv2gp The output is similar to this:POD ID CREATED STATE NAME NAMESPACE ATTEMPT 4dccb216c4adb 2 minutes ago Ready nginx-65899c769f-wv2gp default 0 List pods by label:crictl pods --label run=nginx The output is similar to this:POD ID CREATED STATE NAME NAMESPACE ATTEMPT 4dccb216c4adb 2 minutes ago Ready nginx-65899c769f-wv2gp default 0 List imagesList all images:crictl images The output is similar to this:IMAGE TAG IMAGE ID SIZE busybox latest 8c811b4aec35f 1.15MB k8s-gcrio.azureedge.net/hyperkube-amd64 v1.10.3 e179bbfe5d238 665MB k8s-gcrio.azureedge.net/paus",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/crictl/",
    "id": "k8s_00638_qa_14036"
  },
  {
    "question": "When would you use Debugging Kubernetes nodes with crictl?",
    "answer": "Debugging Kubernetes nodes with crictlFEATURE STATE: Kubernetes v1.11 [stable]crictl is a command-line interface for CRI-compatible container runtimes. You can use it to inspect and debug container runtimes and applications on a Kubernetes node. crictl and its source are hosted in the cri-tools repository.Before you begincrictl requires a Linux operating system with a CRI runtime.Installing crictlYou can download a compressed archive crictl from the cri-tools release page, for several different architectures. Download the version that corresponds to your version of Kubernetes. Extract it and move it to a location on your system path, such as /usr/local/bin/.General usageThe crictl command has several subcommands and runtime flags. Use crictl help or crictl <subcommand> help for more details.You can set the endpoint for crictl by doing one of the following:Set the --runtime-endpoint and --image-endpoint flags.Set the CONTAINER_RUNTIME_ENDPOINT and IMAGE_SERVICE_ENDPOINT environment variables.Set the endpoint in the configuration file /etc/crictl.yaml. To specify a different file, use the --config=PATH_TO_FILE flag when you run crictl.Note:If you don't set an endpoint, crictl attempts to connect to a list of known endpoints, which might result in an impact to performance.You can also specify timeout values when connecting to the server and enable or disable debugging, by specifying timeout or debug values in the configuration file or using the --timeout and --debug command-line flags.To view or edit the current configuration, view or edit the contents of /etc/crictl.yaml. For example, the configuration when using the containerd container runtime would be similar to this:runtime-endpoint: unix:///var/run/containerd/containerd.sock image-endpoint: unix:///var/run/containerd/containerd.sock timeout: 10 debug: true To learn more about crictl, refer to the crictl documentation.Example crictl commandsThe following examples show some crictl commands and example output.List podsList all pods:crictl pods The output is similar to this:POD ID CREATED STATE NAME NAMESPACE ATTEMPT 926f1b5a1d33a About a minute ago Ready sh-84d7dcf559-4r2gq default 0 4dccb216c4adb About a minute ago Ready nginx-65899c769f-wv2gp default 0 a86316e96fa89 17 hours ago Ready kube-proxy-gblk4 kube-system 0 919630b8f81f1 17 hours ago Ready nvidia-device-plugin-zgbbv kube-system 0 List pods by name:crictl pods --name nginx-65899c769f-wv2gp The output is similar to this:POD ID CREATED STATE NAME NAMESPACE ATTEMPT 4dccb216c4adb 2 minutes ago Ready nginx-65899c769f-wv2gp default 0 List pods by label:crictl pods --label run=nginx The output is similar to this:POD ID CREATED STATE NAME NAMESPACE ATTEMPT 4dccb216c4adb 2 minutes ago Ready nginx-65899c769f-wv2gp default 0 List imagesList all images:crictl images The output is similar to this:IMAGE TAG IMAGE ID SIZE busybox latest 8c811b4aec35f 1.15MB k8s-gcrio.azureedge.net/hyperkube-amd64 v1.10.3 e179bbfe5d238 665MB k8s-gcrio.azureedge.net/paus",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/crictl/",
    "id": "k8s_00638_qa_14037"
  },
  {
    "question": "What are the benefits of Debugging Kubernetes nodes with crictl?",
    "answer": "Debugging Kubernetes nodes with crictlFEATURE STATE: Kubernetes v1.11 [stable]crictl is a command-line interface for CRI-compatible container runtimes. You can use it to inspect and debug container runtimes and applications on a Kubernetes node. crictl and its source are hosted in the cri-tools repository.Before you begincrictl requires a Linux operating system with a CRI runtime.Installing crictlYou can download a compressed archive crictl from the cri-tools release page, for several different architectures. Download the version that corresponds to your version of Kubernetes. Extract it and move it to a location on your system path, such as /usr/local/bin/.General usageThe crictl command has several subcommands and runtime flags. Use crictl help or crictl <subcommand> help for more details.You can set the endpoint for crictl by doing one of the following:Set the --runtime-endpoint and --image-endpoint flags.Set the CONTAINER_RUNTIME_ENDPOINT and IMAGE_SERVICE_ENDPOINT environment variables.Set the endpoint in the configuration file /etc/crictl.yaml. To specify a different file, use the --config=PATH_TO_FILE flag when you run crictl.Note:If you don't set an endpoint, crictl attempts to connect to a list of known endpoints, which might result in an impact to performance.You can also specify timeout values when connecting to the server and enable or disable debugging, by specifying timeout or debug values in the configuration file or using the --timeout and --debug command-line flags.To view or edit the current configuration, view or edit the contents of /etc/crictl.yaml. For example, the configuration when using the containerd container runtime would be similar to this:runtime-endpoint: unix:///var/run/containerd/containerd.sock image-endpoint: unix:///var/run/containerd/containerd.sock timeout: 10 debug: true To learn more about crictl, refer to the crictl documentation.Example crictl commandsThe following examples show some crictl commands and example output.List podsList all pods:crictl pods The output is similar to this:POD ID CREATED STATE NAME NAMESPACE ATTEMPT 926f1b5a1d33a About a minute ago Ready sh-84d7dcf559-4r2gq default 0 4dccb216c4adb About a minute ago Ready nginx-65899c769f-wv2gp default 0 a86316e96fa89 17 hours ago Ready kube-proxy-gblk4 kube-system 0 919630b8f81f1 17 hours ago Ready nvidia-device-plugin-zgbbv kube-system 0 List pods by name:crictl pods --name nginx-65899c769f-wv2gp The output is similar to this:POD ID CREATED STATE NAME NAMESPACE ATTEMPT 4dccb216c4adb 2 minutes ago Ready nginx-65899c769f-wv2gp default 0 List pods by label:crictl pods --label run=nginx The output is similar to this:POD ID CREATED STATE NAME NAMESPACE ATTEMPT 4dccb216c4adb 2 minutes ago Ready nginx-65899c769f-wv2gp default 0 List imagesList all images:crictl images The output is similar to this:IMAGE TAG IMAGE ID SIZE busybox latest 8c811b4aec35f 1.15MB k8s-gcrio.azureedge.net/hyperkube-amd64 v1.10.3 e179bbfe5d238 665MB k8s-gcrio.azureedge.net/paus",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/crictl/",
    "id": "k8s_00638_qa_14038"
  },
  {
    "question": "What is Debugging Kubernetes nodes with crictl?",
    "answer": "c r i c t l   i s   a   c o m m a n d - l i n e   i n t e r f a c e   f o r   C R I - c o m p a t i b l e   c o n t a i n e r   r u n t i m e s .   Y o u   c a n   u s e   i t   t o   i n s p e c t   a n d   d e b u g   c o n t a i n e r   r u n t i m e s   a n d   a p p l i c a t i o n s   o n   a   K u b e r n e t e s   n o d e .   c r i c t l   a n d   i t s   s o u r c e   a r e   h o s t e d   i n   t h e   c r i - t o o l s   r e p o s i t o r y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/crictl/",
    "id": "k8s_00638_section_1_14039"
  },
  {
    "question": "What is Before you begin?",
    "answer": "c r i c t l   r e q u i r e s   a   L i n u x   o p e r a t i n g   s y s t e m   w i t h   a   C R I   r u n t i m e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/crictl/",
    "id": "k8s_00638_section_2_14040"
  },
  {
    "question": "What is Installing crictl?",
    "answer": "Y o u   c a n   d o w n l o a d   a   c o m p r e s s e d   a r c h i v e   c r i c t l   f r o m   t h e   c r i - t o o l s   r e l e a s e   p a g e ,   f o r   s e v e r a l   d i f f e r e n t   a r c h i t e c t u r e s .   D o w n l o a d   t h e   v e r s i o n   t h a t   c o r r e s p o n d s   t o   y o u r   v e r s i o n   o f   K u b e r n e t e s .   E x t r a c t   i t   a n d   m o v e   i t   t o   a   l o c a t i o n   o n   y o u r   s y s t e m   p a t h ,   s u c h   a s   / u s r / l o c a l / b i n / .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/crictl/",
    "id": "k8s_00638_section_2_14041"
  },
  {
    "question": "What is General usage?",
    "answer": "T h e   c r i c t l   c o m m a n d   h a s   s e v e r a l   s u b c o m m a n d s   a n d   r u n t i m e   f l a g s .   U s e   c r i c t l   h e l p   o r   c r i c t l   < s u b c o m m a n d >   h e l p   f o r   m o r e   d e t a i l s .   Y o u   c a n   s e t   t h e   e n d p o i n t   f o r   c r i c t l   b y   d o i n g   o n e   o f   t h e   f o l l o w i n g :   S e t   t h e   - - r u n t i m e - e n d p o i n t   a n d   - - i m a g e - e n d p o i n t   f l a g s . S e t   t h e   C O N T A I N E R _ R U N T I M E _ E N D P O I N T   a n d   I M A G E _ S E R V I C E _ E N D P O I N T   e n v i r o n m e n t   v a r i a b l e s . S e t   t h e   e n d p o i n t   i n   t h e   c o n f i g u r a t i o n   f i l e   / e t c / c r i c t l . y a m l .   T o   s p e c i f y   a   d i f f e r e n t   f i l e ,   u s e   t h e   - - c o n f i g = P A T H _ T O _ F I L E   f l a g   w h e n   y o u   r u n   c r i c t l .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/crictl/",
    "id": "k8s_00638_section_2_14042"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   a l s o   s p e c i f y   t i m e o u t   v a l u e s   w h e n   c o n n e c t i n g   t o   t h e   s e r v e r   a n d   e n a b l e   o r   d i s a b l e   d e b u g g i n g ,   b y   s p e c i f y i n g   t i m e o u t   o r   d e b u g   v a l u e s   i n   t h e   c o n f i g u r a t i o n   f i l e   o r   u s i n g   t h e   - - t i m e o u t   a n d   - - d e b u g   c o m m a n d - l i n e   f l a g s .   T o   v i e w   o r   e d i t   t h e   c u r r e n t   c o n f i g u r a t i o n ,   v i e w   o r   e d i t   t h e   c o n t e n t s   o f   / e t c / c r i c t l . y a m l .   F o r   e x a m p l e ,   t h e   c o n f i g u r a t i o n   w h e n   u s i n g   t h e   c o n t a i n e r d   c o n t a i n e r   r u n t i m e   w o u l d   b e   s i m i l a r   t o   t h i s :   r u n t i m e - e n d p o i n t :   u n i x : / / / v a r / r u n / c o n t a i n e r d / c o n t a i n e r d . s o c k   i m a g e - e n d p o i n t :   u n i x : / / / v a r / r u n / c o n t a i n e r d / c o n t a i n e r d . s o c k   t i m e o u t :   1 0   d e b u g :   t r u e   T o   l e a r n   m o r e   a b o u t   c r i c t l ,   r e f e r   t o   t h e   c r i c t l   d o c u m e n t a t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/crictl/",
    "id": "k8s_00638_section_4_14043"
  },
  {
    "question": "What is Example crictl commands?",
    "answer": "T h e   f o l l o w i n g   e x a m p l e s   s h o w   s o m e   c r i c t l   c o m m a n d s   a n d   e x a m p l e   o u t p u t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/crictl/",
    "id": "k8s_00638_section_2_14044"
  },
  {
    "question": "What is List pods?",
    "answer": "L i s t   a l l   p o d s :   c r i c t l   p o d s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   P O D   I D   C R E A T E D   S T A T E   N A M E   N A M E S P A C E   A T T E M P T   9 2 6 f 1 b 5 a 1 d 3 3 a   A b o u t   a   m i n u t e   a g o   R e a d y   s h - 8 4 d 7 d c f 5 5 9 - 4 r 2 g q   d e f a u l t   0   4 d c c b 2 1 6 c 4 a d b   A b o u t   a   m i n u t e   a g o   R e a d y   n g i n x - 6 5 8 9 9 c 7 6 9 f - w v 2 g p   d e f a u l t   0   a 8 6 3 1 6 e 9 6 f a 8 9   1 7   h o u r s   a g o   R e a d y   k u b e - p r o x y - g b l k 4   k u b e - s y s t e m   0   9 1 9 6 3 0 b 8 f 8 1 f 1   1 7   h o u r s   a g o   R e a d y   n v i d i a - d e v i c e - p l u g i n - z g b b v   k u b e - s y s t e m   0   L i s t   p o d s   b y   n a m e :   c r i c t l   p o d s   - - n a m e   n g i n x - 6 5 8 9 9 c 7 6 9 f - w v 2 g p   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   P O D   I D   C R E A T E D   S T A T E   N A M E   N A M E S P A C E   A T T E M P T   4 d c c b 2 1 6 c 4 a d b   2   m i n u t e s   a g o   R e a d y   n g i n x - 6 5 8 9 9 c 7 6 9 f - w v 2 g p   d e f a u l t   0   L i s t   p o d s   b y   l a b e l :   c r i c t l   p o d s   - - l a b e l   r u n = n g i n x   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   P O D   I D   C R E A T E D   S T A T E   N A M E   N A M E S P A C E   A T T E M P T   4 d c c b 2 1 6 c 4 a d b   2   m i n u t e s   a g o   R e a d y   n g i n x - 6 5 8 9 9 c 7 6 9 f - w v 2 g p   d e f a u l t   0",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/crictl/",
    "id": "k8s_00638_section_3_14045"
  },
  {
    "question": "What is List images?",
    "answer": "L i s t   a l l   i m a g e s :   c r i c t l   i m a g e s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   I M A G E   T A G   I M A G E   I D   S I Z E   b u s y b o x   l a t e s t   8 c 8 1 1 b 4 a e c 3 5 f   1 . 1 5 M B   k 8 s - g c r i o . a z u r e e d g e . n e t / h y p e r k u b e - a m d 6 4   v 1 . 1 0 . 3   e 1 7 9 b b f e 5 d 2 3 8   6 6 5 M B   k 8 s - g c r i o . a z u r e e d g e . n e t / p a u s e - a m d 6 4   3 . 1   d a 8 6 e 6 b a 6 c a 1 9   7 4 2 k B   n g i n x   l a t e s t   c d 5 2 3 9 a 0 9 0 6 a 6   1 0 9 M B   L i s t   i m a g e s   b y   r e p o s i t o r y :   c r i c t l   i m a g e s   n g i n x   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   I M A G E   T A G   I M A G E   I D   S I Z E   n g i n x   l a t e s t   c d 5 2 3 9 a 0 9 0 6 a 6   1 0 9 M B   O n l y   l i s t   i m a g e   I D s :   c r i c t l   i m a g e s   - q   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   s h a 2 5 6 : 8 c 8 1 1 b 4 a e c 3 5 f 2 5 9 5 7 2 d 0 f 7 9 2 0 7 b c 0 6 7 8 d f 4 c 7 3 6 e e e c 5 0 b c 9 f e c 3 7 e d 9 3 6 a 4 7 2 a   s h a 2 5 6 : e 1 7 9 b b f e 5 d 2 3 8 d e 6 0 6 9 f 3 b 0 3 f c c b e c c 3 f b 4 f 2 0 1 9 a f 7 4 1 b f f f 1 2 3 3 c 4 d 7 b 2 9 7 0 c 5   s h a 2 5 6 : d a 8 6 e 6 b a 6 c a 1 9 7 b f 6 b c 5 e 9 d 9 0 0 f e b d 9 0 6 b 1 3 3 e a a 4 7 5 0 e 6 b e d 6 4 7 b 0 f b e 5 0 e d 4 3 e   s h a 2 5 6 : c d 5 2 3 9 a 0 9 0 6 a 6 c c f 0 5 6 2 3 5 4 8 5 2 f a e 0 4 b c 5 b 5 2 d 7 2 a 2 a f f 9 a 8 7 1 d d b 6 b d 5 7 5 5 3 5 6 9",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/crictl/",
    "id": "k8s_00638_section_3_14046"
  },
  {
    "question": "What is List containers?",
    "answer": "L i s t   a l l   c o n t a i n e r s :   c r i c t l   p s   - a   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   C O N T A I N E R   I D   I M A G E   C R E A T E D   S T A T E   N A M E   A T T E M P T   1 f 7 3 f 2 d 8 1 b f 9 8   b u s y b o x @ s h a 2 5 6 : 1 4 1 c 2 5 3 b c 4 c 3 f d 0 a 2 0 1 d 3 2 d c 1 f 4 9 3 b c f 3 f f f 0 0 3 b 6 d f 4 1 6 d e a 4 f 4 1 0 4 6 e 0 f 3 7 d 4 7   7   m i n u t e s   a g o   R u n n i n g   s h   1   9 c 5 9 5 1 d f 2 2 c 7 8   b u s y b o x @ s h a 2 5 6 : 1 4 1 c 2 5 3 b c 4 c 3 f d 0 a 2 0 1 d 3 2 d c 1 f 4 9 3 b c f 3 f f f 0 0 3 b 6 d f 4 1 6 d e a 4 f 4 1 0 4 6 e 0 f 3 7 d 4 7   8   m i n u t e s   a g o   E x i t e d   s h   0   8 7 d 3 9 9 2 f 8 4 f 7 4   n g i n x @ s h a 2 5 6 : d 0 a 8 8 2 8 c c c b 7 3 3 9 7 a c b 0 0 7 3 b f 3 4 f 4 d 7 d 8 a a 3 1 5 2 6 3 f 1 e 7 8 0 6 b f 8 c 5 5 d 8 a c 1 3 9 d 5 f   8   m i n u t e s   a g o   R u n n i n g   n g i n x   0   1 9 4 1 f b 4 d a 1 5 4 f   k 8 s - g c r i o . a z u r e e d g e . n e t / h y p e r k u b e - a m d 6 4 @ s h a 2 5 6 : 0 0 d 8 1 4 b 1 f 7 7 6 3 f 4 a b 5 b e 8 0 c 5 8 e 9 8 1 4 0 d f c 6 9 d f 1 0 7 f 2 5 3 d 7 f d d 7 1 4 b 3 0 a 7 1 4 2 6 0 a   1 8   h o u r s   a g o   R u n n i n g   k u b e - p r o x y   0   L i s t   r u n n i n g   c o n t a i n e r s :   c r i c t l   p s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   C O N T A I N E R   I D   I M A G E   C R E A T E D   S T A T E   N A M E   A T T E M P T   1 f 7 3 f 2 d 8 1 b f 9 8   b u s y b o x @ s h a 2 5 6 : 1 4 1 c 2 5 3 b c 4 c 3 f d 0 a 2 0 1 d 3 2 d c 1 f 4 9 3 b c f 3 f f f 0 0 3 b 6 d f 4 1 6 d e a 4 f 4 1 0 4 6 e 0 f 3 7 d 4 7   6   m i n u t e s   a g o   R u n n i n g   s h   1   8 7 d 3 9 9 2 f 8 4 f 7 4   n g i n x @ s h a 2 5 6 : d 0 a 8 8 2 8 c c c b 7 3 3 9 7 a c b 0 0 7 3 b f 3 4 f 4 d 7 d 8 a a 3 1 5 2 6 3 f 1 e 7 8 0 6 b f 8 c 5 5 d 8 a c 1 3 9 d 5 f   7   m i n u t e s   a g o   R u n n i n g   n g i n x   0   1 9 4 1 f b 4 d a 1 5 ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/crictl/",
    "id": "k8s_00638_section_3_14047"
  },
  {
    "question": "What is Execute a command in a running container?",
    "answer": "c r i c t l   e x e c   - i   - t   1 f 7 3 f 2 d 8 1 b f 9 8   l s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   b i n   d e v   e t c   h o m e   p r o c   r o o t   s y s   t m p   u s r   v a r",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/crictl/",
    "id": "k8s_00638_section_3_14048"
  },
  {
    "question": "What is Get a container's logs?",
    "answer": "G e t   a l l   c o n t a i n e r   l o g s :   c r i c t l   l o g s   8 7 d 3 9 9 2 f 8 4 f 7 4   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   1 0 . 2 4 0 . 0 . 9 6   -   -   [ 0 6 / J u n / 2 0 1 8 : 0 2 : 4 5 : 4 9   + 0 0 0 0 ]   \" G E T   /   H T T P / 1 . 1 \"   2 0 0   6 1 2   \" - \"   \" c u r l / 7 . 4 7 . 0 \"   \" - \"   1 0 . 2 4 0 . 0 . 9 6   -   -   [ 0 6 / J u n / 2 0 1 8 : 0 2 : 4 5 : 5 0   + 0 0 0 0 ]   \" G E T   /   H T T P / 1 . 1 \"   2 0 0   6 1 2   \" - \"   \" c u r l / 7 . 4 7 . 0 \"   \" - \"   1 0 . 2 4 0 . 0 . 9 6   -   -   [ 0 6 / J u n / 2 0 1 8 : 0 2 : 4 5 : 5 1   + 0 0 0 0 ]   \" G E T   /   H T T P / 1 . 1 \"   2 0 0   6 1 2   \" - \"   \" c u r l / 7 . 4 7 . 0 \"   \" - \"   G e t   o n l y   t h e   l a t e s t   N   l i n e s   o f   l o g s :   c r i c t l   l o g s   - - t a i l = 1   8 7 d 3 9 9 2 f 8 4 f 7 4   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   1 0 . 2 4 0 . 0 . 9 6   -   -   [ 0 6 / J u n / 2 0 1 8 : 0 2 : 4 5 : 5 1   + 0 0 0 0 ]   \" G E T   /   H T T P / 1 . 1 \"   2 0 0   6 1 2   \" - \"   \" c u r l / 7 . 4 7 . 0 \"   \" - \"",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/crictl/",
    "id": "k8s_00638_section_3_14049"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   c r i c t l .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/crictl/",
    "id": "k8s_00638_section_2_14050"
  },
  {
    "question": "What is ClusterRole?",
    "answer": "ClusterRoleClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.apiVersion: rbac.authorization.k8s.io/v1import \"k8s.io/api/rbac/v1\"ClusterRoleClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.apiVersion: rbac.authorization.k8s.io/v1kind: ClusterRolemetadata (ObjectMeta)Standard object's metadata.aggregationRule (AggregationRule)AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRoleaggregationRule.clusterRoleSelectors ([]LabelSelector)Atomic: will be replaced during a mergeClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be addedrules ([]PolicyRule)Atomic: will be replaced during a mergeRules holds all the PolicyRules for this ClusterRolePolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.rules.apiGroups ([]string)Atomic: will be replaced during a mergeAPIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups.rules.resources ([]string)Atomic: will be replaced during a mergeResources is a list of resources this rule applies to. '*' represents all resources.rules.verbs ([]string), requiredAtomic: will be replaced during a mergeVerbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.rules.resourceNames ([]string)Atomic: will be replaced during a mergeResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.rules.nonResourceURLs ([]string)Atomic: will be replaced during a mergeNonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.ClusterRoleListClusterRoleList is a collection of ClusterRolesapiVersion: rbac.authorization.k8s.io/v1kind: ClusterRoleListmetadata (ListMeta)Standard object's metadata.items ([]ClusterRole), requiredItems is a list of ClusterRolesOperationsget read the specified ClusterRoleHTTP RequestGET /apis/rbac.authorization.k8s.io",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_qa_14051"
  },
  {
    "question": "How does ClusterRole work?",
    "answer": "ClusterRoleClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.apiVersion: rbac.authorization.k8s.io/v1import \"k8s.io/api/rbac/v1\"ClusterRoleClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.apiVersion: rbac.authorization.k8s.io/v1kind: ClusterRolemetadata (ObjectMeta)Standard object's metadata.aggregationRule (AggregationRule)AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRoleaggregationRule.clusterRoleSelectors ([]LabelSelector)Atomic: will be replaced during a mergeClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be addedrules ([]PolicyRule)Atomic: will be replaced during a mergeRules holds all the PolicyRules for this ClusterRolePolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.rules.apiGroups ([]string)Atomic: will be replaced during a mergeAPIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups.rules.resources ([]string)Atomic: will be replaced during a mergeResources is a list of resources this rule applies to. '*' represents all resources.rules.verbs ([]string), requiredAtomic: will be replaced during a mergeVerbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.rules.resourceNames ([]string)Atomic: will be replaced during a mergeResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.rules.nonResourceURLs ([]string)Atomic: will be replaced during a mergeNonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.ClusterRoleListClusterRoleList is a collection of ClusterRolesapiVersion: rbac.authorization.k8s.io/v1kind: ClusterRoleListmetadata (ListMeta)Standard object's metadata.items ([]ClusterRole), requiredItems is a list of ClusterRolesOperationsget read the specified ClusterRoleHTTP RequestGET /apis/rbac.authorization.k8s.io",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_qa_14052"
  },
  {
    "question": "When would you use ClusterRole?",
    "answer": "ClusterRoleClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.apiVersion: rbac.authorization.k8s.io/v1import \"k8s.io/api/rbac/v1\"ClusterRoleClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.apiVersion: rbac.authorization.k8s.io/v1kind: ClusterRolemetadata (ObjectMeta)Standard object's metadata.aggregationRule (AggregationRule)AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRoleaggregationRule.clusterRoleSelectors ([]LabelSelector)Atomic: will be replaced during a mergeClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be addedrules ([]PolicyRule)Atomic: will be replaced during a mergeRules holds all the PolicyRules for this ClusterRolePolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.rules.apiGroups ([]string)Atomic: will be replaced during a mergeAPIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups.rules.resources ([]string)Atomic: will be replaced during a mergeResources is a list of resources this rule applies to. '*' represents all resources.rules.verbs ([]string), requiredAtomic: will be replaced during a mergeVerbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.rules.resourceNames ([]string)Atomic: will be replaced during a mergeResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.rules.nonResourceURLs ([]string)Atomic: will be replaced during a mergeNonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.ClusterRoleListClusterRoleList is a collection of ClusterRolesapiVersion: rbac.authorization.k8s.io/v1kind: ClusterRoleListmetadata (ListMeta)Standard object's metadata.items ([]ClusterRole), requiredItems is a list of ClusterRolesOperationsget read the specified ClusterRoleHTTP RequestGET /apis/rbac.authorization.k8s.io",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_qa_14053"
  },
  {
    "question": "What are the benefits of ClusterRole?",
    "answer": "ClusterRoleClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.apiVersion: rbac.authorization.k8s.io/v1import \"k8s.io/api/rbac/v1\"ClusterRoleClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.apiVersion: rbac.authorization.k8s.io/v1kind: ClusterRolemetadata (ObjectMeta)Standard object's metadata.aggregationRule (AggregationRule)AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRoleaggregationRule.clusterRoleSelectors ([]LabelSelector)Atomic: will be replaced during a mergeClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be addedrules ([]PolicyRule)Atomic: will be replaced during a mergeRules holds all the PolicyRules for this ClusterRolePolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.rules.apiGroups ([]string)Atomic: will be replaced during a mergeAPIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups.rules.resources ([]string)Atomic: will be replaced during a mergeResources is a list of resources this rule applies to. '*' represents all resources.rules.verbs ([]string), requiredAtomic: will be replaced during a mergeVerbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.rules.resourceNames ([]string)Atomic: will be replaced during a mergeResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.rules.nonResourceURLs ([]string)Atomic: will be replaced during a mergeNonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.ClusterRoleListClusterRoleList is a collection of ClusterRolesapiVersion: rbac.authorization.k8s.io/v1kind: ClusterRoleListmetadata (ListMeta)Standard object's metadata.items ([]ClusterRole), requiredItems is a list of ClusterRolesOperationsget read the specified ClusterRoleHTTP RequestGET /apis/rbac.authorization.k8s.io",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_qa_14054"
  },
  {
    "question": "What is ClusterRole?",
    "answer": "a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / r b a c / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_section_1_14055"
  },
  {
    "question": "What is ClusterRole?",
    "answer": "C l u s t e r R o l e   i s   a   c l u s t e r   l e v e l ,   l o g i c a l   g r o u p i n g   o f   P o l i c y R u l e s   t h a t   c a n   b e   r e f e r e n c e d   a s   a   u n i t   b y   a   R o l e B i n d i n g   o r   C l u s t e r R o l e B i n d i n g .   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   C l u s t e r R o l e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . a g g r e g a t i o n R u l e   ( A g g r e g a t i o n R u l e ) A g g r e g a t i o n R u l e   i s   a n   o p t i o n a l   f i e l d   t h a t   d e s c r i b e s   h o w   t o   b u i l d   t h e   R u l e s   f o r   t h i s   C l u s t e r R o l e .   I f   A g g r e g a t i o n R u l e   i s   s e t ,   t h e n   t h e   R u l e s   a r e   c o n t r o l l e r   m a n a g e d   a n d   d i r e c t   c h a n g e s   t o   R u l e s   w i l l   b e   s t o m p e d   b y   t h e   c o n t r o l l e r . A g g r e g a t i o n R u l e   d e s c r i b e s   h o w   t o   l o c a t e   C l u s t e r R o l e s   t o   a g g r e g a t e   i n t o   t h e   C l u s t e r R o l e a g g r e g a t i o n R u l e . c l u s t e r R o l e S e l e c t o r s   ( [ ] L a b e l S e l e c t o r ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e C l u s t e r R o l e S e l e c t o r s   h o l d s   a   l i s t   o f   s e l e c t o r s   w h i c h   w i l l   b e   u s e d   t o   f i n d   C l u s t e r R o l e s   a n d   c r e a t e   t h e   r u l e s .   I f   a n y   o f   t h e   s e l e c t o r s   m a t c h ,   t h e n   t h e   C l u s t e r R o l e ' s   p e r m i s s i o n s   w i l l   b e   a d d e d r u l e s   ( [ ] P o l i c y R u l e ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e R u l e s   h o l d s   a l l   t h e   P o l i c y R u l e s   f o r   t h i s   C l u s t e r R o l e P o l i c y R u l e   h o l d s   i n f o r m ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_section_2_14056"
  },
  {
    "question": "What is ClusterRoleList?",
    "answer": "C l u s t e r R o l e L i s t   i s   a   c o l l e c t i o n   o f   C l u s t e r R o l e s   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   C l u s t e r R o l e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . i t e m s   ( [ ] C l u s t e r R o l e ) ,   r e q u i r e d I t e m s   i s   a   l i s t   o f   C l u s t e r R o l e s   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   i t e m s   ( [ ] C l u s t e r R o l e ) ,   r e q u i r e d   I t e m s   i s   a   l i s t   o f   C l u s t e r R o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_section_2_14057"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_section_4_14058"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r R o l e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r R o l e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_section_4_14059"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_section_4_14060"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_section_4_14061"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_section_4_14062"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_section_4_14063"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_section_4_14064"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   C l u s t e r R o l e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   C l u s t e r R o l e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_section_4_14065"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e ) :   O K   2 0 1   ( C l u s t e r R o l e ) :   C r e a t e d   2 0 2   ( C l u s t e r R o l e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_section_4_14066"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_section_4_14067"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r R o l e b o d y :   C l u s t e r R o l e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r R o l e   b o d y :   C l u s t e r R o l e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_section_4_14068"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e ) :   O K   2 0 1   ( C l u s t e r R o l e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_section_4_14069"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_section_4_14070"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r R o l e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r R o l e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_section_4_14071"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e ) :   O K   2 0 1   ( C l u s t e r R o l e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_section_4_14072"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_section_4_14073"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r R o l e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r R o l e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_section_4_14074"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_section_4_14075"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_section_4_14076"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_section_4_14077"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/",
    "id": "k8s_00639_section_4_14078"
  },
  {
    "question": "What is Owners and Dependents?",
    "answer": "Owners and DependentsIn Kubernetes, some objects are owners of other objects. For example, a ReplicaSet is the owner of a set of Pods. These owned objects are dependents of their owner.Ownership is different from the labels and selectors mechanism that some resources also use. For example, consider a Service that creates EndpointSlice objects. The Service uses labels to allow the control plane to determine which EndpointSlice objects are used for that Service. In addition to the labels, each EndpointSlice that is managed on behalf of a Service has an owner reference. Owner references help different parts of Kubernetes avoid interfering with objects they don’t control.Owner references in object specificationsDependent objects have a metadata.ownerReferences field that references their owner object. A valid owner reference consists of the object name and a UID within the same namespace as the dependent object. Kubernetes sets the value of this field automatically for objects that are dependents of other objects like ReplicaSets, DaemonSets, Deployments, Jobs and CronJobs, and ReplicationControllers. You can also configure these relationships manually by changing the value of this field. However, you usually don't need to and can allow Kubernetes to automatically manage the relationships.Dependent objects also have an ownerReferences.blockOwnerDeletion field that takes a boolean value and controls whether specific dependents can block garbage collection from deleting their owner object. Kubernetes automatically sets this field to true if a controller (for example, the Deployment controller) sets the value of the metadata.ownerReferences field. You can also set the value of the blockOwnerDeletion field manually to control which dependents block garbage collection.A Kubernetes admission controller controls user access to change this field for dependent resources, based on the delete permissions of the owner. This control prevents unauthorized users from delaying owner object deletion.Note:Cross-namespace owner references are disallowed by design. Namespaced dependents can specify cluster-scoped or namespaced owners. A namespaced owner must exist in the same namespace as the dependent. If it does not, the owner reference is treated as absent, and the dependent is subject to deletion once all owners are verified absent.Cluster-scoped dependents can only specify cluster-scoped owners. In v1.20+, if a cluster-scoped dependent specifies a namespaced kind as an owner, it is treated as having an unresolvable owner reference, and is not able to be garbage collected.In v1.20+, if the garbage collector detects an invalid cross-namespace ownerReference, or a cluster-scoped dependent with an ownerReference referencing a namespaced kind, a warning Event with a reason of OwnerRefInvalidNamespace and an involvedObject of the invalid dependent is reported. You can check for that kind of Event by running kubectl get events -A --field-selector=reason=OwnerRefInvalidNam",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/owners-dependents/",
    "id": "k8s_00640_qa_14079"
  },
  {
    "question": "How does Owners and Dependents work?",
    "answer": "Owners and DependentsIn Kubernetes, some objects are owners of other objects. For example, a ReplicaSet is the owner of a set of Pods. These owned objects are dependents of their owner.Ownership is different from the labels and selectors mechanism that some resources also use. For example, consider a Service that creates EndpointSlice objects. The Service uses labels to allow the control plane to determine which EndpointSlice objects are used for that Service. In addition to the labels, each EndpointSlice that is managed on behalf of a Service has an owner reference. Owner references help different parts of Kubernetes avoid interfering with objects they don’t control.Owner references in object specificationsDependent objects have a metadata.ownerReferences field that references their owner object. A valid owner reference consists of the object name and a UID within the same namespace as the dependent object. Kubernetes sets the value of this field automatically for objects that are dependents of other objects like ReplicaSets, DaemonSets, Deployments, Jobs and CronJobs, and ReplicationControllers. You can also configure these relationships manually by changing the value of this field. However, you usually don't need to and can allow Kubernetes to automatically manage the relationships.Dependent objects also have an ownerReferences.blockOwnerDeletion field that takes a boolean value and controls whether specific dependents can block garbage collection from deleting their owner object. Kubernetes automatically sets this field to true if a controller (for example, the Deployment controller) sets the value of the metadata.ownerReferences field. You can also set the value of the blockOwnerDeletion field manually to control which dependents block garbage collection.A Kubernetes admission controller controls user access to change this field for dependent resources, based on the delete permissions of the owner. This control prevents unauthorized users from delaying owner object deletion.Note:Cross-namespace owner references are disallowed by design. Namespaced dependents can specify cluster-scoped or namespaced owners. A namespaced owner must exist in the same namespace as the dependent. If it does not, the owner reference is treated as absent, and the dependent is subject to deletion once all owners are verified absent.Cluster-scoped dependents can only specify cluster-scoped owners. In v1.20+, if a cluster-scoped dependent specifies a namespaced kind as an owner, it is treated as having an unresolvable owner reference, and is not able to be garbage collected.In v1.20+, if the garbage collector detects an invalid cross-namespace ownerReference, or a cluster-scoped dependent with an ownerReference referencing a namespaced kind, a warning Event with a reason of OwnerRefInvalidNamespace and an involvedObject of the invalid dependent is reported. You can check for that kind of Event by running kubectl get events -A --field-selector=reason=OwnerRefInvalidNam",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/owners-dependents/",
    "id": "k8s_00640_qa_14080"
  },
  {
    "question": "When would you use Owners and Dependents?",
    "answer": "Owners and DependentsIn Kubernetes, some objects are owners of other objects. For example, a ReplicaSet is the owner of a set of Pods. These owned objects are dependents of their owner.Ownership is different from the labels and selectors mechanism that some resources also use. For example, consider a Service that creates EndpointSlice objects. The Service uses labels to allow the control plane to determine which EndpointSlice objects are used for that Service. In addition to the labels, each EndpointSlice that is managed on behalf of a Service has an owner reference. Owner references help different parts of Kubernetes avoid interfering with objects they don’t control.Owner references in object specificationsDependent objects have a metadata.ownerReferences field that references their owner object. A valid owner reference consists of the object name and a UID within the same namespace as the dependent object. Kubernetes sets the value of this field automatically for objects that are dependents of other objects like ReplicaSets, DaemonSets, Deployments, Jobs and CronJobs, and ReplicationControllers. You can also configure these relationships manually by changing the value of this field. However, you usually don't need to and can allow Kubernetes to automatically manage the relationships.Dependent objects also have an ownerReferences.blockOwnerDeletion field that takes a boolean value and controls whether specific dependents can block garbage collection from deleting their owner object. Kubernetes automatically sets this field to true if a controller (for example, the Deployment controller) sets the value of the metadata.ownerReferences field. You can also set the value of the blockOwnerDeletion field manually to control which dependents block garbage collection.A Kubernetes admission controller controls user access to change this field for dependent resources, based on the delete permissions of the owner. This control prevents unauthorized users from delaying owner object deletion.Note:Cross-namespace owner references are disallowed by design. Namespaced dependents can specify cluster-scoped or namespaced owners. A namespaced owner must exist in the same namespace as the dependent. If it does not, the owner reference is treated as absent, and the dependent is subject to deletion once all owners are verified absent.Cluster-scoped dependents can only specify cluster-scoped owners. In v1.20+, if a cluster-scoped dependent specifies a namespaced kind as an owner, it is treated as having an unresolvable owner reference, and is not able to be garbage collected.In v1.20+, if the garbage collector detects an invalid cross-namespace ownerReference, or a cluster-scoped dependent with an ownerReference referencing a namespaced kind, a warning Event with a reason of OwnerRefInvalidNamespace and an involvedObject of the invalid dependent is reported. You can check for that kind of Event by running kubectl get events -A --field-selector=reason=OwnerRefInvalidNam",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/owners-dependents/",
    "id": "k8s_00640_qa_14081"
  },
  {
    "question": "What are the benefits of Owners and Dependents?",
    "answer": "Owners and DependentsIn Kubernetes, some objects are owners of other objects. For example, a ReplicaSet is the owner of a set of Pods. These owned objects are dependents of their owner.Ownership is different from the labels and selectors mechanism that some resources also use. For example, consider a Service that creates EndpointSlice objects. The Service uses labels to allow the control plane to determine which EndpointSlice objects are used for that Service. In addition to the labels, each EndpointSlice that is managed on behalf of a Service has an owner reference. Owner references help different parts of Kubernetes avoid interfering with objects they don’t control.Owner references in object specificationsDependent objects have a metadata.ownerReferences field that references their owner object. A valid owner reference consists of the object name and a UID within the same namespace as the dependent object. Kubernetes sets the value of this field automatically for objects that are dependents of other objects like ReplicaSets, DaemonSets, Deployments, Jobs and CronJobs, and ReplicationControllers. You can also configure these relationships manually by changing the value of this field. However, you usually don't need to and can allow Kubernetes to automatically manage the relationships.Dependent objects also have an ownerReferences.blockOwnerDeletion field that takes a boolean value and controls whether specific dependents can block garbage collection from deleting their owner object. Kubernetes automatically sets this field to true if a controller (for example, the Deployment controller) sets the value of the metadata.ownerReferences field. You can also set the value of the blockOwnerDeletion field manually to control which dependents block garbage collection.A Kubernetes admission controller controls user access to change this field for dependent resources, based on the delete permissions of the owner. This control prevents unauthorized users from delaying owner object deletion.Note:Cross-namespace owner references are disallowed by design. Namespaced dependents can specify cluster-scoped or namespaced owners. A namespaced owner must exist in the same namespace as the dependent. If it does not, the owner reference is treated as absent, and the dependent is subject to deletion once all owners are verified absent.Cluster-scoped dependents can only specify cluster-scoped owners. In v1.20+, if a cluster-scoped dependent specifies a namespaced kind as an owner, it is treated as having an unresolvable owner reference, and is not able to be garbage collected.In v1.20+, if the garbage collector detects an invalid cross-namespace ownerReference, or a cluster-scoped dependent with an ownerReference referencing a namespaced kind, a warning Event with a reason of OwnerRefInvalidNamespace and an involvedObject of the invalid dependent is reported. You can check for that kind of Event by running kubectl get events -A --field-selector=reason=OwnerRefInvalidNam",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/owners-dependents/",
    "id": "k8s_00640_qa_14082"
  },
  {
    "question": "What is Owners and Dependents?",
    "answer": "I n   K u b e r n e t e s ,   s o m e   o b j e c t s   a r e   o w n e r s   o f   o t h e r   o b j e c t s .   F o r   e x a m p l e ,   a   R e p l i c a S e t   i s   t h e   o w n e r   o f   a   s e t   o f   P o d s .   T h e s e   o w n e d   o b j e c t s   a r e   d e p e n d e n t s   o f   t h e i r   o w n e r .   O w n e r s h i p   i s   d i f f e r e n t   f r o m   t h e   l a b e l s   a n d   s e l e c t o r s   m e c h a n i s m   t h a t   s o m e   r e s o u r c e s   a l s o   u s e .   F o r   e x a m p l e ,   c o n s i d e r   a   S e r v i c e   t h a t   c r e a t e s   E n d p o i n t S l i c e   o b j e c t s .   T h e   S e r v i c e   u s e s   l a b e l s   t o   a l l o w   t h e   c o n t r o l   p l a n e   t o   d e t e r m i n e   w h i c h   E n d p o i n t S l i c e   o b j e c t s   a r e   u s e d   f o r   t h a t   S e r v i c e .   I n   a d d i t i o n   t o   t h e   l a b e l s ,   e a c h   E n d p o i n t S l i c e   t h a t   i s   m a n a g e d   o n   b e h a l f   o f   a   S e r v i c e   h a s   a n   o w n e r   r e f e r e n c e .   O w n e r   r e f e r e n c e s   h e l p   d i f f e r e n t   p a r t s   o f   K u b e r n e t e s   a v o i d   i n t e r f e r i n g   w i t h   o b j e c t s   t h e y   d o n ’ t   c o n t r o l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/owners-dependents/",
    "id": "k8s_00640_section_1_14083"
  },
  {
    "question": "What is Owner references in object specifications?",
    "answer": "D e p e n d e n t   o b j e c t s   h a v e   a   m e t a d a t a . o w n e r R e f e r e n c e s   f i e l d   t h a t   r e f e r e n c e s   t h e i r   o w n e r   o b j e c t .   A   v a l i d   o w n e r   r e f e r e n c e   c o n s i s t s   o f   t h e   o b j e c t   n a m e   a n d   a   U I D   w i t h i n   t h e   s a m e   n a m e s p a c e   a s   t h e   d e p e n d e n t   o b j e c t .   K u b e r n e t e s   s e t s   t h e   v a l u e   o f   t h i s   f i e l d   a u t o m a t i c a l l y   f o r   o b j e c t s   t h a t   a r e   d e p e n d e n t s   o f   o t h e r   o b j e c t s   l i k e   R e p l i c a S e t s ,   D a e m o n S e t s ,   D e p l o y m e n t s ,   J o b s   a n d   C r o n J o b s ,   a n d   R e p l i c a t i o n C o n t r o l l e r s .   Y o u   c a n   a l s o   c o n f i g u r e   t h e s e   r e l a t i o n s h i p s   m a n u a l l y   b y   c h a n g i n g   t h e   v a l u e   o f   t h i s   f i e l d .   H o w e v e r ,   y o u   u s u a l l y   d o n ' t   n e e d   t o   a n d   c a n   a l l o w   K u b e r n e t e s   t o   a u t o m a t i c a l l y   m a n a g e   t h e   r e l a t i o n s h i p s .   D e p e n d e n t   o b j e c t s   a l s o   h a v e   a n   o w n e r R e f e r e n c e s . b l o c k O w n e r D e l e t i o n   f i e l d   t h a t   t a k e s   a   b o o l e a n   v a l u e   a n d   c o n t r o l s   w h e t h e r   s p e c i f i c   d e p e n d e n t s   c a n   b l o c k   g a r b a g e   c o l l e c t i o n   f r o m   d e l e t i n g   t h e i r   o w n e r   o b j e c t .   K u b e r n e t e s   a u t o m a t i c a l l y   s e t s   t h i s   f i e l d   t o   t r u e   i f   a   c o n t r o l l e r   ( f o r   e x a m p l e ,   t h e   D e p l o y m e n t   c o n t r o l l e r )   s e t s   t h e   v a l u e   o f   t h e   m e t a d a t a . o w n e r R e f e r e n c e s   f i e l d .   Y o u   c a n   a l s o   s e t   t h e   v a l u e   o f   t h e   b l o c k O w n e r D e l ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/owners-dependents/",
    "id": "k8s_00640_section_2_14084"
  },
  {
    "question": "What is Note:?",
    "answer": "C r o s s - n a m e s p a c e   o w n e r   r e f e r e n c e s   a r e   d i s a l l o w e d   b y   d e s i g n .   N a m e s p a c e d   d e p e n d e n t s   c a n   s p e c i f y   c l u s t e r - s c o p e d   o r   n a m e s p a c e d   o w n e r s .   A   n a m e s p a c e d   o w n e r   m u s t   e x i s t   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   d e p e n d e n t .   I f   i t   d o e s   n o t ,   t h e   o w n e r   r e f e r e n c e   i s   t r e a t e d   a s   a b s e n t ,   a n d   t h e   d e p e n d e n t   i s   s u b j e c t   t o   d e l e t i o n   o n c e   a l l   o w n e r s   a r e   v e r i f i e d   a b s e n t .   C l u s t e r - s c o p e d   d e p e n d e n t s   c a n   o n l y   s p e c i f y   c l u s t e r - s c o p e d   o w n e r s .   I n   v 1 . 2 0 + ,   i f   a   c l u s t e r - s c o p e d   d e p e n d e n t   s p e c i f i e s   a   n a m e s p a c e d   k i n d   a s   a n   o w n e r ,   i t   i s   t r e a t e d   a s   h a v i n g   a n   u n r e s o l v a b l e   o w n e r   r e f e r e n c e ,   a n d   i s   n o t   a b l e   t o   b e   g a r b a g e   c o l l e c t e d .   I n   v 1 . 2 0 + ,   i f   t h e   g a r b a g e   c o l l e c t o r   d e t e c t s   a n   i n v a l i d   c r o s s - n a m e s p a c e   o w n e r R e f e r e n c e ,   o r   a   c l u s t e r - s c o p e d   d e p e n d e n t   w i t h   a n   o w n e r R e f e r e n c e   r e f e r e n c i n g   a   n a m e s p a c e d   k i n d ,   a   w a r n i n g   E v e n t   w i t h   a   r e a s o n   o f   O w n e r R e f I n v a l i d N a m e s p a c e   a n d   a n   i n v o l v e d O b j e c t   o f   t h e   i n v a l i d   d e p e n d e n t   i s   r e p o r t e d .   Y o u   c a n   c h e c k   f o r   t h a t   k i n d   o f   E v e n t   b y   r u n n i n g   k u b e c t l   g e t   e v e n t s   - A   - - f i e l d - s e l e c t o r = r e a s o n = O w n e r R e f I n v a l i d N a m e s p a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/owners-dependents/",
    "id": "k8s_00640_section_4_14085"
  },
  {
    "question": "What is Ownership and finalizers?",
    "answer": "W h e n   y o u   t e l l   K u b e r n e t e s   t o   d e l e t e   a   r e s o u r c e ,   t h e   A P I   s e r v e r   a l l o w s   t h e   m a n a g i n g   c o n t r o l l e r   t o   p r o c e s s   a n y   f i n a l i z e r   r u l e s   f o r   t h e   r e s o u r c e .   F i n a l i z e r s   p r e v e n t   a c c i d e n t a l   d e l e t i o n   o f   r e s o u r c e s   y o u r   c l u s t e r   m a y   s t i l l   n e e d   t o   f u n c t i o n   c o r r e c t l y .   F o r   e x a m p l e ,   i f   y o u   t r y   t o   d e l e t e   a   P e r s i s t e n t V o l u m e   t h a t   i s   s t i l l   i n   u s e   b y   a   P o d ,   t h e   d e l e t i o n   d o e s   n o t   h a p p e n   i m m e d i a t e l y   b e c a u s e   t h e   P e r s i s t e n t V o l u m e   h a s   t h e   k u b e r n e t e s . i o / p v - p r o t e c t i o n   f i n a l i z e r   o n   i t .   I n s t e a d ,   t h e   v o l u m e   r e m a i n s   i n   t h e   T e r m i n a t i n g   s t a t u s   u n t i l   K u b e r n e t e s   c l e a r s   t h e   f i n a l i z e r ,   w h i c h   o n l y   h a p p e n s   a f t e r   t h e   P e r s i s t e n t V o l u m e   i s   n o   l o n g e r   b o u n d   t o   a   P o d .   K u b e r n e t e s   a l s o   a d d s   f i n a l i z e r s   t o   a n   o w n e r   r e s o u r c e   w h e n   y o u   u s e   e i t h e r   f o r e g r o u n d   o r   o r p h a n   c a s c a d i n g   d e l e t i o n .   I n   f o r e g r o u n d   d e l e t i o n ,   i t   a d d s   t h e   f o r e g r o u n d   f i n a l i z e r   s o   t h a t   t h e   c o n t r o l l e r   m u s t   d e l e t e   d e p e n d e n t   r e s o u r c e s   t h a t   a l s o   h a v e   o w n e r R e f e r e n c e s . b l o c k O w n e r D e l e t i o n = t r u e   b e f o r e   i t   d e l e t e s   t h e   o w n e r .   I f   y o u   s p e c i f y   a n   o r p h a n   d e l e t i o n   p o l i c y ,   K u b e r n e t e s   a d d s   t h e   o r p h a n   f ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/owners-dependents/",
    "id": "k8s_00640_section_2_14086"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   K u b e r n e t e s   f i n a l i z e r s . L e a r n   a b o u t   g a r b a g e   c o l l e c t i o n . R e a d   t h e   A P I   r e f e r e n c e   f o r   o b j e c t   m e t a d a t a .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/owners-dependents/",
    "id": "k8s_00640_section_2_14087"
  },
  {
    "question": "What is Device Plugins?",
    "answer": "Device PluginsDevice plugins let you configure your cluster with support for devices or resources that require vendor-specific setup, such as GPUs, NICs, FPGAs, or non-volatile main memory.FEATURE STATE: Kubernetes v1.26 [stable]Kubernetes provides a device plugin framework that you can use to advertise system hardware resources to the Kubelet.Instead of customizing the code for Kubernetes itself, vendors can implement a device plugin that you deploy either manually or as a DaemonSet. The targeted devices include GPUs, high-performance NICs, FPGAs, InfiniBand adapters, and other similar computing resources that may require vendor specific initialization and setup.Device plugin registrationThe kubelet exports a Registration gRPC service:service Registration { rpc Register(RegisterRequest) returns (Empty) {} } A device plugin can register itself with the kubelet through this gRPC service. During the registration, the device plugin needs to send:The name of its Unix socket.The Device Plugin API version against which it was built.The ResourceName it wants to advertise. Here ResourceName needs to follow the extended resource naming scheme as vendor-domain/resourcetype. (For example, an NVIDIA GPU is advertised as nvidia.com/gpu.)Following a successful registration, the device plugin sends the kubelet the list of devices it manages, and the kubelet is then in charge of advertising those resources to the API server as part of the kubelet node status update. For example, after a device plugin registers hardware-vendor.example/foo with the kubelet and reports two healthy devices on a node, the node status is updated to advertise that the node has 2 \"Foo\" devices installed and available.Then, users can request devices as part of a Pod specification (see container). Requesting extended resources is similar to how you manage requests and limits for other resources, with the following differences:Extended resources are only supported as integer resources and cannot be overcommitted.Devices cannot be shared between containers.ExampleSuppose a Kubernetes cluster is running a device plugin that advertises resource hardware-vendor.example/foo on certain nodes. Here is an example of a pod requesting this resource to run a demo workload:--- apiVersion: v1 kind: Pod metadata: name: demo-pod spec: containers: - name: demo-container-1 image: registry.k8s.io/pause:3.8 resources: limits: hardware-vendor.example/foo: 2 # # This Pod needs 2 of the hardware-vendor.example/foo devices # and can only schedule onto a Node that's able to satisfy # that need. # # If the Node has more than 2 of those devices available, the # remainder would be available for other Pods to use. Device plugin implementationThe general workflow of a device plugin includes the following steps:Initialization. During this phase, the device plugin performs vendor-specific initialization and setup to make sure the devices are in a ready state.The plugin starts a gRPC service, with a Unix socket under the",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/",
    "id": "k8s_00641_qa_14088"
  },
  {
    "question": "How does Device Plugins work?",
    "answer": "Device PluginsDevice plugins let you configure your cluster with support for devices or resources that require vendor-specific setup, such as GPUs, NICs, FPGAs, or non-volatile main memory.FEATURE STATE: Kubernetes v1.26 [stable]Kubernetes provides a device plugin framework that you can use to advertise system hardware resources to the Kubelet.Instead of customizing the code for Kubernetes itself, vendors can implement a device plugin that you deploy either manually or as a DaemonSet. The targeted devices include GPUs, high-performance NICs, FPGAs, InfiniBand adapters, and other similar computing resources that may require vendor specific initialization and setup.Device plugin registrationThe kubelet exports a Registration gRPC service:service Registration { rpc Register(RegisterRequest) returns (Empty) {} } A device plugin can register itself with the kubelet through this gRPC service. During the registration, the device plugin needs to send:The name of its Unix socket.The Device Plugin API version against which it was built.The ResourceName it wants to advertise. Here ResourceName needs to follow the extended resource naming scheme as vendor-domain/resourcetype. (For example, an NVIDIA GPU is advertised as nvidia.com/gpu.)Following a successful registration, the device plugin sends the kubelet the list of devices it manages, and the kubelet is then in charge of advertising those resources to the API server as part of the kubelet node status update. For example, after a device plugin registers hardware-vendor.example/foo with the kubelet and reports two healthy devices on a node, the node status is updated to advertise that the node has 2 \"Foo\" devices installed and available.Then, users can request devices as part of a Pod specification (see container). Requesting extended resources is similar to how you manage requests and limits for other resources, with the following differences:Extended resources are only supported as integer resources and cannot be overcommitted.Devices cannot be shared between containers.ExampleSuppose a Kubernetes cluster is running a device plugin that advertises resource hardware-vendor.example/foo on certain nodes. Here is an example of a pod requesting this resource to run a demo workload:--- apiVersion: v1 kind: Pod metadata: name: demo-pod spec: containers: - name: demo-container-1 image: registry.k8s.io/pause:3.8 resources: limits: hardware-vendor.example/foo: 2 # # This Pod needs 2 of the hardware-vendor.example/foo devices # and can only schedule onto a Node that's able to satisfy # that need. # # If the Node has more than 2 of those devices available, the # remainder would be available for other Pods to use. Device plugin implementationThe general workflow of a device plugin includes the following steps:Initialization. During this phase, the device plugin performs vendor-specific initialization and setup to make sure the devices are in a ready state.The plugin starts a gRPC service, with a Unix socket under the",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/",
    "id": "k8s_00641_qa_14089"
  },
  {
    "question": "When would you use Device Plugins?",
    "answer": "Device PluginsDevice plugins let you configure your cluster with support for devices or resources that require vendor-specific setup, such as GPUs, NICs, FPGAs, or non-volatile main memory.FEATURE STATE: Kubernetes v1.26 [stable]Kubernetes provides a device plugin framework that you can use to advertise system hardware resources to the Kubelet.Instead of customizing the code for Kubernetes itself, vendors can implement a device plugin that you deploy either manually or as a DaemonSet. The targeted devices include GPUs, high-performance NICs, FPGAs, InfiniBand adapters, and other similar computing resources that may require vendor specific initialization and setup.Device plugin registrationThe kubelet exports a Registration gRPC service:service Registration { rpc Register(RegisterRequest) returns (Empty) {} } A device plugin can register itself with the kubelet through this gRPC service. During the registration, the device plugin needs to send:The name of its Unix socket.The Device Plugin API version against which it was built.The ResourceName it wants to advertise. Here ResourceName needs to follow the extended resource naming scheme as vendor-domain/resourcetype. (For example, an NVIDIA GPU is advertised as nvidia.com/gpu.)Following a successful registration, the device plugin sends the kubelet the list of devices it manages, and the kubelet is then in charge of advertising those resources to the API server as part of the kubelet node status update. For example, after a device plugin registers hardware-vendor.example/foo with the kubelet and reports two healthy devices on a node, the node status is updated to advertise that the node has 2 \"Foo\" devices installed and available.Then, users can request devices as part of a Pod specification (see container). Requesting extended resources is similar to how you manage requests and limits for other resources, with the following differences:Extended resources are only supported as integer resources and cannot be overcommitted.Devices cannot be shared between containers.ExampleSuppose a Kubernetes cluster is running a device plugin that advertises resource hardware-vendor.example/foo on certain nodes. Here is an example of a pod requesting this resource to run a demo workload:--- apiVersion: v1 kind: Pod metadata: name: demo-pod spec: containers: - name: demo-container-1 image: registry.k8s.io/pause:3.8 resources: limits: hardware-vendor.example/foo: 2 # # This Pod needs 2 of the hardware-vendor.example/foo devices # and can only schedule onto a Node that's able to satisfy # that need. # # If the Node has more than 2 of those devices available, the # remainder would be available for other Pods to use. Device plugin implementationThe general workflow of a device plugin includes the following steps:Initialization. During this phase, the device plugin performs vendor-specific initialization and setup to make sure the devices are in a ready state.The plugin starts a gRPC service, with a Unix socket under the",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/",
    "id": "k8s_00641_qa_14090"
  },
  {
    "question": "What are the benefits of Device Plugins?",
    "answer": "Device PluginsDevice plugins let you configure your cluster with support for devices or resources that require vendor-specific setup, such as GPUs, NICs, FPGAs, or non-volatile main memory.FEATURE STATE: Kubernetes v1.26 [stable]Kubernetes provides a device plugin framework that you can use to advertise system hardware resources to the Kubelet.Instead of customizing the code for Kubernetes itself, vendors can implement a device plugin that you deploy either manually or as a DaemonSet. The targeted devices include GPUs, high-performance NICs, FPGAs, InfiniBand adapters, and other similar computing resources that may require vendor specific initialization and setup.Device plugin registrationThe kubelet exports a Registration gRPC service:service Registration { rpc Register(RegisterRequest) returns (Empty) {} } A device plugin can register itself with the kubelet through this gRPC service. During the registration, the device plugin needs to send:The name of its Unix socket.The Device Plugin API version against which it was built.The ResourceName it wants to advertise. Here ResourceName needs to follow the extended resource naming scheme as vendor-domain/resourcetype. (For example, an NVIDIA GPU is advertised as nvidia.com/gpu.)Following a successful registration, the device plugin sends the kubelet the list of devices it manages, and the kubelet is then in charge of advertising those resources to the API server as part of the kubelet node status update. For example, after a device plugin registers hardware-vendor.example/foo with the kubelet and reports two healthy devices on a node, the node status is updated to advertise that the node has 2 \"Foo\" devices installed and available.Then, users can request devices as part of a Pod specification (see container). Requesting extended resources is similar to how you manage requests and limits for other resources, with the following differences:Extended resources are only supported as integer resources and cannot be overcommitted.Devices cannot be shared between containers.ExampleSuppose a Kubernetes cluster is running a device plugin that advertises resource hardware-vendor.example/foo on certain nodes. Here is an example of a pod requesting this resource to run a demo workload:--- apiVersion: v1 kind: Pod metadata: name: demo-pod spec: containers: - name: demo-container-1 image: registry.k8s.io/pause:3.8 resources: limits: hardware-vendor.example/foo: 2 # # This Pod needs 2 of the hardware-vendor.example/foo devices # and can only schedule onto a Node that's able to satisfy # that need. # # If the Node has more than 2 of those devices available, the # remainder would be available for other Pods to use. Device plugin implementationThe general workflow of a device plugin includes the following steps:Initialization. During this phase, the device plugin performs vendor-specific initialization and setup to make sure the devices are in a ready state.The plugin starts a gRPC service, with a Unix socket under the",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/",
    "id": "k8s_00641_qa_14091"
  },
  {
    "question": "What is Device Plugins?",
    "answer": "K u b e r n e t e s   p r o v i d e s   a   d e v i c e   p l u g i n   f r a m e w o r k   t h a t   y o u   c a n   u s e   t o   a d v e r t i s e   s y s t e m   h a r d w a r e   r e s o u r c e s   t o   t h e   K u b e l e t .   I n s t e a d   o f   c u s t o m i z i n g   t h e   c o d e   f o r   K u b e r n e t e s   i t s e l f ,   v e n d o r s   c a n   i m p l e m e n t   a   d e v i c e   p l u g i n   t h a t   y o u   d e p l o y   e i t h e r   m a n u a l l y   o r   a s   a   D a e m o n S e t .   T h e   t a r g e t e d   d e v i c e s   i n c l u d e   G P U s ,   h i g h - p e r f o r m a n c e   N I C s ,   F P G A s ,   I n f i n i B a n d   a d a p t e r s ,   a n d   o t h e r   s i m i l a r   c o m p u t i n g   r e s o u r c e s   t h a t   m a y   r e q u i r e   v e n d o r   s p e c i f i c   i n i t i a l i z a t i o n   a n d   s e t u p .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/",
    "id": "k8s_00641_section_1_14092"
  },
  {
    "question": "What is Device plugin registration?",
    "answer": "T h e   k u b e l e t   e x p o r t s   a   R e g i s t r a t i o n   g R P C   s e r v i c e :   s e r v i c e   R e g i s t r a t i o n   {   r p c   R e g i s t e r ( R e g i s t e r R e q u e s t )   r e t u r n s   ( E m p t y )   { }   }   A   d e v i c e   p l u g i n   c a n   r e g i s t e r   i t s e l f   w i t h   t h e   k u b e l e t   t h r o u g h   t h i s   g R P C   s e r v i c e .   D u r i n g   t h e   r e g i s t r a t i o n ,   t h e   d e v i c e   p l u g i n   n e e d s   t o   s e n d :   T h e   n a m e   o f   i t s   U n i x   s o c k e t . T h e   D e v i c e   P l u g i n   A P I   v e r s i o n   a g a i n s t   w h i c h   i t   w a s   b u i l t . T h e   R e s o u r c e N a m e   i t   w a n t s   t o   a d v e r t i s e .   H e r e   R e s o u r c e N a m e   n e e d s   t o   f o l l o w   t h e   e x t e n d e d   r e s o u r c e   n a m i n g   s c h e m e   a s   v e n d o r - d o m a i n / r e s o u r c e t y p e .   ( F o r   e x a m p l e ,   a n   N V I D I A   G P U   i s   a d v e r t i s e d   a s   n v i d i a . c o m / g p u . )   F o l l o w i n g   a   s u c c e s s f u l   r e g i s t r a t i o n ,   t h e   d e v i c e   p l u g i n   s e n d s   t h e   k u b e l e t   t h e   l i s t   o f   d e v i c e s   i t   m a n a g e s ,   a n d   t h e   k u b e l e t   i s   t h e n   i n   c h a r g e   o f   a d v e r t i s i n g   t h o s e   r e s o u r c e s   t o   t h e   A P I   s e r v e r   a s   p a r t   o f   t h e   k u b e l e t   n o d e   s t a t u s   u p d a t e .   F o r   e x a m p l e ,   a f t e r   a   d e v i c e   p l u g i n   r e g i s t e r s   h a r d w a r e - v e n d o r . e x a m p l e / f o o   w i t h   t h e   k u b e l e t   a n d   r e p o r t s   t w o   h e a l t h y   d e v i c e s   o n   a   n o d e ,   t h e   n o d e   s t a t u s   i s   u p d a t e d   t o   a d v e r t i s e   t h a t   t h e   n o d e   h a s   2   \" F o o \"   d e v i c e s   i n s t a l l e d   a n d ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/",
    "id": "k8s_00641_section_2_14093"
  },
  {
    "question": "What is Example?",
    "answer": "S u p p o s e   a   K u b e r n e t e s   c l u s t e r   i s   r u n n i n g   a   d e v i c e   p l u g i n   t h a t   a d v e r t i s e s   r e s o u r c e   h a r d w a r e - v e n d o r . e x a m p l e / f o o   o n   c e r t a i n   n o d e s .   H e r e   i s   a n   e x a m p l e   o f   a   p o d   r e q u e s t i n g   t h i s   r e s o u r c e   t o   r u n   a   d e m o   w o r k l o a d :   - - -   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d e m o - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   d e m o - c o n t a i n e r - 1   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 8   r e s o u r c e s :   l i m i t s :   h a r d w a r e - v e n d o r . e x a m p l e / f o o :   2   #   #   T h i s   P o d   n e e d s   2   o f   t h e   h a r d w a r e - v e n d o r . e x a m p l e / f o o   d e v i c e s   #   a n d   c a n   o n l y   s c h e d u l e   o n t o   a   N o d e   t h a t ' s   a b l e   t o   s a t i s f y   #   t h a t   n e e d .   #   #   I f   t h e   N o d e   h a s   m o r e   t h a n   2   o f   t h o s e   d e v i c e s   a v a i l a b l e ,   t h e   #   r e m a i n d e r   w o u l d   b e   a v a i l a b l e   f o r   o t h e r   P o d s   t o   u s e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/",
    "id": "k8s_00641_section_3_14094"
  },
  {
    "question": "What is Device plugin implementation?",
    "answer": "T h e   g e n e r a l   w o r k f l o w   o f   a   d e v i c e   p l u g i n   i n c l u d e s   t h e   f o l l o w i n g   s t e p s :   I n i t i a l i z a t i o n .   D u r i n g   t h i s   p h a s e ,   t h e   d e v i c e   p l u g i n   p e r f o r m s   v e n d o r - s p e c i f i c   i n i t i a l i z a t i o n   a n d   s e t u p   t o   m a k e   s u r e   t h e   d e v i c e s   a r e   i n   a   r e a d y   s t a t e . T h e   p l u g i n   s t a r t s   a   g R P C   s e r v i c e ,   w i t h   a   U n i x   s o c k e t   u n d e r   t h e   h o s t   p a t h   / v a r / l i b / k u b e l e t / d e v i c e - p l u g i n s / ,   t h a t   i m p l e m e n t s   t h e   f o l l o w i n g   i n t e r f a c e s : s e r v i c e   D e v i c e P l u g i n   {   / /   G e t D e v i c e P l u g i n O p t i o n s   r e t u r n s   o p t i o n s   t o   b e   c o m m u n i c a t e d   w i t h   D e v i c e   M a n a g e r .   r p c   G e t D e v i c e P l u g i n O p t i o n s ( E m p t y )   r e t u r n s   ( D e v i c e P l u g i n O p t i o n s )   { }   / /   L i s t A n d W a t c h   r e t u r n s   a   s t r e a m   o f   L i s t   o f   D e v i c e s   / /   W h e n e v e r   a   D e v i c e   s t a t e   c h a n g e   o r   a   D e v i c e   d i s a p p e a r s ,   L i s t A n d W a t c h   / /   r e t u r n s   t h e   n e w   l i s t   r p c   L i s t A n d W a t c h ( E m p t y )   r e t u r n s   ( s t r e a m   L i s t A n d W a t c h R e s p o n s e )   { }   / /   A l l o c a t e   i s   c a l l e d   d u r i n g   c o n t a i n e r   c r e a t i o n   s o   t h a t   t h e   D e v i c e   / /   P l u g i n   c a n   r u n   d e v i c e   s p e c i f i c   o p e r a t i o n s   a n d   i n s t r u c t   K u b e l e t   / /   o f   t h e   s t e p s   t o   m a k e   t h e   D e v i c e   a v a i l a b l e   i n   t h e   c o n t a i n e r   r p c   A l l o c a t e ( A l l o c a t e R e q u e s t )   r e t u r n s   ( A l l o c a t e R e s p o n s ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/",
    "id": "k8s_00641_section_2_14095"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   p l u g i n   r e g i s t e r s   i t s e l f   w i t h   t h e   k u b e l e t   t h r o u g h   t h e   U n i x   s o c k e t   a t   h o s t   p a t h   / v a r / l i b / k u b e l e t / d e v i c e - p l u g i n s / k u b e l e t . s o c k .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/",
    "id": "k8s_00641_section_4_14096"
  },
  {
    "question": "What is Note:?",
    "answer": "A f t e r   s u c c e s s f u l l y   r e g i s t e r i n g   i t s e l f ,   t h e   d e v i c e   p l u g i n   r u n s   i n   s e r v i n g   m o d e ,   d u r i n g   w h i c h   i t   k e e p s   m o n i t o r i n g   d e v i c e   h e a l t h   a n d   r e p o r t s   b a c k   t o   t h e   k u b e l e t   u p o n   a n y   d e v i c e   s t a t e   c h a n g e s .   I t   i s   a l s o   r e s p o n s i b l e   f o r   s e r v i n g   A l l o c a t e   g R P C   r e q u e s t s .   D u r i n g   A l l o c a t e ,   t h e   d e v i c e   p l u g i n   m a y   d o   d e v i c e - s p e c i f i c   p r e p a r a t i o n ;   f o r   e x a m p l e ,   G P U   c l e a n u p   o r   Q R N G   i n i t i a l i z a t i o n .   I f   t h e   o p e r a t i o n s   s u c c e e d ,   t h e   d e v i c e   p l u g i n   r e t u r n s   a n   A l l o c a t e R e s p o n s e   t h a t   c o n t a i n s   c o n t a i n e r   r u n t i m e   c o n f i g u r a t i o n s   f o r   a c c e s s i n g   t h e   a l l o c a t e d   d e v i c e s .   T h e   k u b e l e t   p a s s e s   t h i s   i n f o r m a t i o n   t o   t h e   c o n t a i n e r   r u n t i m e .   A n   A l l o c a t e R e s p o n s e   c o n t a i n s   z e r o   o r   m o r e   C o n t a i n e r A l l o c a t e R e s p o n s e   o b j e c t s .   I n   t h e s e ,   t h e   d e v i c e   p l u g i n   d e f i n e s   m o d i f i c a t i o n s   t h a t   m u s t   b e   m a d e   t o   a   c o n t a i n e r ' s   d e f i n i t i o n   t o   p r o v i d e   a c c e s s   t o   t h e   d e v i c e .   T h e s e   m o d i f i c a t i o n s   i n c l u d e :   A n n o t a t i o n s d e v i c e   n o d e s e n v i r o n m e n t   v a r i a b l e s m o u n t s f u l l y - q u a l i f i e d   C D I   d e v i c e   n a m e s",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/",
    "id": "k8s_00641_section_4_14097"
  },
  {
    "question": "What is Handling kubelet restarts?",
    "answer": "A   d e v i c e   p l u g i n   i s   e x p e c t e d   t o   d e t e c t   k u b e l e t   r e s t a r t s   a n d   r e - r e g i s t e r   i t s e l f   w i t h   t h e   n e w   k u b e l e t   i n s t a n c e .   A   n e w   k u b e l e t   i n s t a n c e   d e l e t e s   a l l   t h e   e x i s t i n g   U n i x   s o c k e t s   u n d e r   / v a r / l i b / k u b e l e t / d e v i c e - p l u g i n s   w h e n   i t   s t a r t s .   A   d e v i c e   p l u g i n   c a n   m o n i t o r   t h e   d e l e t i o n   o f   i t s   U n i x   s o c k e t   a n d   r e - r e g i s t e r   i t s e l f   u p o n   s u c h   a n   e v e n t .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/",
    "id": "k8s_00641_section_3_14098"
  },
  {
    "question": "What is Device plugin and unhealthy devices?",
    "answer": "T h e r e   a r e   c a s e s   w h e n   d e v i c e s   f a i l   o r   a r e   s h u t   d o w n .   T h e   r e s p o n s i b i l i t y   o f   t h e   D e v i c e   P l u g i n   i n   t h i s   c a s e   i s   t o   n o t i f y   t h e   k u b e l e t   a b o u t   t h e   s i t u a t i o n   u s i n g   t h e   L i s t A n d W a t c h R e s p o n s e   A P I .   O n c e   a   d e v i c e   i s   m a r k e d   a s   u n h e a l t h y ,   t h e   k u b e l e t   w i l l   d e c r e a s e   t h e   a l l o c a t a b l e   c o u n t   f o r   t h i s   r e s o u r c e   o n   t h e   N o d e   t o   r e f l e c t   h o w   m a n y   d e v i c e s   c a n   b e   u s e d   f o r   s c h e d u l i n g   n e w   p o d s .   C a p a c i t y   c o u n t   f o r   t h e   r e s o u r c e   w i l l   n o t   c h a n g e .   P o d s   t h a t   w e r e   a s s i g n e d   t o   t h e   f a i l e d   d e v i c e s   w i l l   c o n t i n u e   b e   a s s i g n e d   t o   t h i s   d e v i c e .   I t   i s   t y p i c a l   t h a t   c o d e   r e l y i n g   o n   t h e   d e v i c e   w i l l   s t a r t   f a i l i n g   a n d   P o d   m a y   g e t   i n t o   F a i l e d   p h a s e   i f   r e s t a r t P o l i c y   f o r   t h e   P o d   w a s   n o t   A l w a y s   o r   e n t e r   t h e   c r a s h   l o o p   o t h e r w i s e .   B e f o r e   K u b e r n e t e s   v 1 . 3 1 ,   t h e   w a y   t o   k n o w   w h e t h e r   o r   n o t   a   P o d   i s   a s s o c i a t e d   w i t h   t h e   f a i l e d   d e v i c e   i s   t o   u s e   t h e   P o d R e s o u r c e s   A P I .   B y   e n a b l i n g   t h e   f e a t u r e   g a t e   R e s o u r c e H e a l t h S t a t u s ,   t h e   f i e l d   a l l o c a t e d R e s o u r c e s S t a t u s   w i l l   b e   a d d e d   t o   e a c h   c o n t a i n e r   s t a t u s ,   w i t h i n   t h e   . s t a t u s   f o r   e a c h   P o d .   T h e   a l l o c a t e d R e s o u r c e s S t a t u s ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/",
    "id": "k8s_00641_section_3_14099"
  },
  {
    "question": "What is Device plugin deployment?",
    "answer": "Y o u   c a n   d e p l o y   a   d e v i c e   p l u g i n   a s   a   D a e m o n S e t ,   a s   a   p a c k a g e   f o r   y o u r   n o d e ' s   o p e r a t i n g   s y s t e m ,   o r   m a n u a l l y .   T h e   c a n o n i c a l   d i r e c t o r y   / v a r / l i b / k u b e l e t / d e v i c e - p l u g i n s   r e q u i r e s   p r i v i l e g e d   a c c e s s ,   s o   a   d e v i c e   p l u g i n   m u s t   r u n   i n   a   p r i v i l e g e d   s e c u r i t y   c o n t e x t .   I f   y o u ' r e   d e p l o y i n g   a   d e v i c e   p l u g i n   a s   a   D a e m o n S e t ,   / v a r / l i b / k u b e l e t / d e v i c e - p l u g i n s   m u s t   b e   m o u n t e d   a s   a   V o l u m e   i n   t h e   p l u g i n ' s   P o d S p e c .   I f   y o u   c h o o s e   t h e   D a e m o n S e t   a p p r o a c h   y o u   c a n   r e l y   o n   K u b e r n e t e s   t o :   p l a c e   t h e   d e v i c e   p l u g i n ' s   P o d   o n t o   N o d e s ,   t o   r e s t a r t   t h e   d a e m o n   P o d   a f t e r   f a i l u r e ,   a n d   t o   h e l p   a u t o m a t e   u p g r a d e s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/",
    "id": "k8s_00641_section_2_14100"
  },
  {
    "question": "What is API compatibility?",
    "answer": "P r e v i o u s l y ,   t h e   v e r s i o n i n g   s c h e m e   r e q u i r e d   t h e   D e v i c e   P l u g i n ' s   A P I   v e r s i o n   t o   m a t c h   e x a c t l y   t h e   K u b e l e t ' s   v e r s i o n .   S i n c e   t h e   g r a d u a t i o n   o f   t h i s   f e a t u r e   t o   B e t a   i n   v 1 . 1 2   t h i s   i s   n o   l o n g e r   a   h a r d   r e q u i r e m e n t .   T h e   A P I   i s   v e r s i o n e d   a n d   h a s   b e e n   s t a b l e   s i n c e   B e t a   g r a d u a t i o n   o f   t h i s   f e a t u r e .   B e c a u s e   o f   t h i s ,   k u b e l e t   u p g r a d e s   s h o u l d   b e   s e a m l e s s   b u t   t h e r e   s t i l l   m a y   b e   c h a n g e s   i n   t h e   A P I   b e f o r e   s t a b i l i z a t i o n   m a k i n g   u p g r a d e s   n o t   g u a r a n t e e d   t o   b e   n o n - b r e a k i n g .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/",
    "id": "k8s_00641_section_2_14101"
  },
  {
    "question": "What is Note:?",
    "answer": "A s   a   p r o j e c t ,   K u b e r n e t e s   r e c o m m e n d s   t h a t   d e v i c e   p l u g i n   d e v e l o p e r s :   W a t c h   f o r   D e v i c e   P l u g i n   A P I   c h a n g e s   i n   t h e   f u t u r e   r e l e a s e s . S u p p o r t   m u l t i p l e   v e r s i o n s   o f   t h e   d e v i c e   p l u g i n   A P I   f o r   b a c k w a r d / f o r w a r d   c o m p a t i b i l i t y .   T o   r u n   d e v i c e   p l u g i n s   o n   n o d e s   t h a t   n e e d   t o   b e   u p g r a d e d   t o   a   K u b e r n e t e s   r e l e a s e   w i t h   a   n e w e r   d e v i c e   p l u g i n   A P I   v e r s i o n ,   u p g r a d e   y o u r   d e v i c e   p l u g i n s   t o   s u p p o r t   b o t h   v e r s i o n s   b e f o r e   u p g r a d i n g   t h e s e   n o d e s .   T a k i n g   t h a t   a p p r o a c h   w i l l   e n s u r e   t h e   c o n t i n u o u s   f u n c t i o n i n g   o f   t h e   d e v i c e   a l l o c a t i o n s   d u r i n g   t h e   u p g r a d e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/",
    "id": "k8s_00641_section_4_14102"
  },
  {
    "question": "What is Monitoring device plugin resources?",
    "answer": "I n   o r d e r   t o   m o n i t o r   r e s o u r c e s   p r o v i d e d   b y   d e v i c e   p l u g i n s ,   m o n i t o r i n g   a g e n t s   n e e d   t o   b e   a b l e   t o   d i s c o v e r   t h e   s e t   o f   d e v i c e s   t h a t   a r e   i n - u s e   o n   t h e   n o d e   a n d   o b t a i n   m e t a d a t a   t o   d e s c r i b e   w h i c h   c o n t a i n e r   t h e   m e t r i c   s h o u l d   b e   a s s o c i a t e d   w i t h .   P r o m e t h e u s   m e t r i c s   e x p o s e d   b y   d e v i c e   m o n i t o r i n g   a g e n t s   s h o u l d   f o l l o w   t h e   K u b e r n e t e s   I n s t r u m e n t a t i o n   G u i d e l i n e s ,   i d e n t i f y i n g   c o n t a i n e r s   u s i n g   p o d ,   n a m e s p a c e ,   a n d   c o n t a i n e r   p r o m e t h e u s   l a b e l s .   T h e   k u b e l e t   p r o v i d e s   a   g R P C   s e r v i c e   t o   e n a b l e   d i s c o v e r y   o f   i n - u s e   d e v i c e s ,   a n d   t o   p r o v i d e   m e t a d a t a   f o r   t h e s e   d e v i c e s :   / /   P o d R e s o u r c e s L i s t e r   i s   a   s e r v i c e   p r o v i d e d   b y   t h e   k u b e l e t   t h a t   p r o v i d e s   i n f o r m a t i o n   a b o u t   t h e   / /   n o d e   r e s o u r c e s   c o n s u m e d   b y   p o d s   a n d   c o n t a i n e r s   o n   t h e   n o d e   s e r v i c e   P o d R e s o u r c e s L i s t e r   {   r p c   L i s t ( L i s t P o d R e s o u r c e s R e q u e s t )   r e t u r n s   ( L i s t P o d R e s o u r c e s R e s p o n s e )   { }   r p c   G e t A l l o c a t a b l e R e s o u r c e s ( A l l o c a t a b l e R e s o u r c e s R e q u e s t )   r e t u r n s   ( A l l o c a t a b l e R e s o u r c e s R e s p o n s e )   { }   r p c   G e t ( G e t P o d R e s o u r c e s R e q u e s t )   r e t u r n s   ( G e t P o d R e s o u r c e s R e s p o n s e )   { }   }",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/",
    "id": "k8s_00641_section_2_14103"
  },
  {
    "question": "What is List gRPC endpoint?",
    "answer": "T h e   L i s t   e n d p o i n t   p r o v i d e s   i n f o r m a t i o n   o n   r e s o u r c e s   o f   r u n n i n g   p o d s ,   w i t h   d e t a i l s   s u c h   a s   t h e   i d   o f   e x c l u s i v e l y   a l l o c a t e d   C P U s ,   d e v i c e   i d   a s   i t   w a s   r e p o r t e d   b y   d e v i c e   p l u g i n s   a n d   i d   o f   t h e   N U M A   n o d e   w h e r e   t h e s e   d e v i c e s   a r e   a l l o c a t e d .   A l s o ,   f o r   N U M A - b a s e d   m a c h i n e s ,   i t   c o n t a i n s   t h e   i n f o r m a t i o n   a b o u t   m e m o r y   a n d   h u g e p a g e s   r e s e r v e d   f o r   a   c o n t a i n e r .   S t a r t i n g   f r o m   K u b e r n e t e s   v 1 . 2 7 ,   t h e   L i s t   e n d p o i n t   c a n   p r o v i d e   i n f o r m a t i o n   o n   r e s o u r c e s   o f   r u n n i n g   p o d s   a l l o c a t e d   i n   R e s o u r c e C l a i m s   b y   t h e   D y n a m i c R e s o u r c e A l l o c a t i o n   A P I .   S t a r t i n g   f r o m   K u b e r n e t e s   v 1 . 3 4 ,   t h i s   f e a t u r e   i s   e n a b l e d   b y   d e f a u l t .   T o   d i s a b l e ,   k u b e l e t   m u s t   b e   s t a r t e d   w i t h   t h e   f o l l o w i n g   f l a g s :   - - f e a t u r e - g a t e s = K u b e l e t P o d R e s o u r c e s D y n a m i c R e s o u r c e s = f a l s e   / /   L i s t P o d R e s o u r c e s R e s p o n s e   i s   t h e   r e s p o n s e   r e t u r n e d   b y   L i s t   f u n c t i o n   m e s s a g e   L i s t P o d R e s o u r c e s R e s p o n s e   {   r e p e a t e d   P o d R e s o u r c e s   p o d _ r e s o u r c e s   =   1 ;   }   / /   P o d R e s o u r c e s   c o n t a i n s   i n f o r m a t i o n   a b o u t   t h e   n o d e   r e s o u r c e s   a s s i g n e d   t o   a   p o d   m e s s a g e   P o d R e s o u r c e s   {   s t r i n g   n a m e   =   1 ;   s t r i n g   n a m e s p a c e   =   2 ;   r e p e a t e ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/",
    "id": "k8s_00641_section_3_14104"
  },
  {
    "question": "What is Note:?",
    "answer": "c p u _ i d s   i n   t h e   C o n t a i n e r R e s o u r c e s   i n   t h e   L i s t   e n d p o i n t   c o r r e s p o n d   t o   e x c l u s i v e   C P U s   a l l o c a t e d   t o   a   p a r t i c u l a r   c o n t a i n e r .   I f   t h e   g o a l   i s   t o   e v a l u a t e   C P U s   t h a t   b e l o n g   t o   t h e   s h a r e d   p o o l ,   t h e   L i s t   e n d p o i n t   n e e d s   t o   b e   u s e d   i n   c o n j u n c t i o n   w i t h   t h e   G e t A l l o c a t a b l e R e s o u r c e s   e n d p o i n t   a s   e x p l a i n e d   b e l o w :   C a l l   G e t A l l o c a t a b l e R e s o u r c e s   t o   g e t   a   l i s t   o f   a l l   t h e   a l l o c a t a b l e   C P U s C a l l   G e t C p u I d s   o n   a l l   C o n t a i n e r R e s o u r c e s   i n   t h e   s y s t e m S u b t r a c t   o u t   a l l   o f   t h e   C P U s   f r o m   t h e   G e t C p u I d s   c a l l s   f r o m   t h e   G e t A l l o c a t a b l e R e s o u r c e s   c a l l",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/",
    "id": "k8s_00641_section_4_14105"
  },
  {
    "question": "What is GetAllocatableResources gRPC endpoint?",
    "answer": "G e t A l l o c a t a b l e R e s o u r c e s   p r o v i d e s   i n f o r m a t i o n   o n   r e s o u r c e s   i n i t i a l l y   a v a i l a b l e   o n   t h e   w o r k e r   n o d e .   I t   p r o v i d e s   m o r e   i n f o r m a t i o n   t h a n   k u b e l e t   e x p o r t s   t o   A P I S e r v e r .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/",
    "id": "k8s_00641_section_3_14106"
  },
  {
    "question": "What is Note:?",
    "answer": "G e t A l l o c a t a b l e R e s o u r c e s   s h o u l d   o n l y   b e   u s e d   t o   e v a l u a t e   a l l o c a t a b l e   r e s o u r c e s   o n   a   n o d e .   I f   t h e   g o a l   i s   t o   e v a l u a t e   f r e e / u n a l l o c a t e d   r e s o u r c e s   i t   s h o u l d   b e   u s e d   i n   c o n j u n c t i o n   w i t h   t h e   L i s t ( )   e n d p o i n t .   T h e   r e s u l t   o b t a i n e d   b y   G e t A l l o c a t a b l e R e s o u r c e s   w o u l d   r e m a i n   t h e   s a m e   u n l e s s   t h e   u n d e r l y i n g   r e s o u r c e s   e x p o s e d   t o   k u b e l e t   c h a n g e .   T h i s   h a p p e n s   r a r e l y   b u t   w h e n   i t   d o e s   ( f o r   e x a m p l e :   h o t p l u g / h o t u n p l u g ,   d e v i c e   h e a l t h   c h a n g e s ) ,   c l i e n t   i s   e x p e c t e d   t o   c a l l   G e t A l l o c t a b l e R e s o u r c e s   e n d p o i n t .   H o w e v e r ,   c a l l i n g   G e t A l l o c a t a b l e R e s o u r c e s   e n d p o i n t   i s   n o t   s u f f i c i e n t   i n   c a s e   o f   c p u   a n d / o r   m e m o r y   u p d a t e   a n d   K u b e l e t   n e e d s   t o   b e   r e s t a r t e d   t o   r e f l e c t   t h e   c o r r e c t   r e s o u r c e   c a p a c i t y   a n d   a l l o c a t a b l e .   / /   A l l o c a t a b l e R e s o u r c e s R e s p o n s e s   c o n t a i n s   i n f o r m a t i o n   a b o u t   a l l   t h e   d e v i c e s   k n o w n   b y   t h e   k u b e l e t   m e s s a g e   A l l o c a t a b l e R e s o u r c e s R e s p o n s e   {   r e p e a t e d   C o n t a i n e r D e v i c e s   d e v i c e s   =   1 ;   r e p e a t e d   i n t 6 4   c p u _ i d s   =   2 ;   r e p e a t e d   C o n t a i n e r M e m o r y   m e m o r y   =   3 ;   }   C o n t a i n e r D e v i c e s   d o   e x p o s e   t h e   t o p o l o g y   i n f o r m a t i o n   d e c l a r i n g   t o   w h i c h   N U M A   c e ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/",
    "id": "k8s_00641_section_4_14107"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   a c c e s s i n g   t h e   / v a r / l i b / k u b e l e t / p o d - r e s o u r c e s / k u b e l e t . s o c k   f r o m   D a e m o n S e t   o r   a n y   o t h e r   a p p   d e p l o y e d   a s   a   c o n t a i n e r   o n   t h e   h o s t ,   w h i c h   i s   m o u n t i n g   s o c k e t   a s   a   v o l u m e ,   i t   i s   a   g o o d   p r a c t i c e   t o   m o u n t   d i r e c t o r y   / v a r / l i b / k u b e l e t / p o d - r e s o u r c e s /   i n s t e a d   o f   t h e   / v a r / l i b / k u b e l e t / p o d - r e s o u r c e s / k u b e l e t . s o c k .   T h i s   w i l l   e n s u r e   t h a t   a f t e r   k u b e l e t   r e s t a r t ,   c o n t a i n e r   w i l l   b e   a b l e   t o   r e - c o n n e c t   t o   t h i s   s o c k e t .   C o n t a i n e r   m o u n t s   a r e   m a n a g e d   b y   i n o d e   r e f e r e n c i n g   t h e   s o c k e t   o r   d i r e c t o r y ,   d e p e n d i n g   o n   w h a t   w a s   m o u n t e d .   W h e n   k u b e l e t   r e s t a r t s ,   s o c k e t   i s   d e l e t e d   a n d   a   n e w   s o c k e t   i s   c r e a t e d ,   w h i l e   d i r e c t o r y   s t a y s   u n t o u c h e d .   S o   t h e   o r i g i n a l   i n o d e   f o r   t h e   s o c k e t   b e c o m e   u n u s a b l e .   I n o d e   t o   d i r e c t o r y   w i l l   c o n t i n u e   w o r k i n g .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/",
    "id": "k8s_00641_section_4_14108"
  },
  {
    "question": "What is Get gRPC endpoint?",
    "answer": "T h e   G e t   e n d p o i n t   p r o v i d e s   i n f o r m a t i o n   o n   r e s o u r c e s   o f   a   r u n n i n g   P o d .   I t   e x p o s e s   i n f o r m a t i o n   s i m i l a r   t o   t h o s e   d e s c r i b e d   i n   t h e   L i s t   e n d p o i n t .   T h e   G e t   e n d p o i n t   r e q u i r e s   P o d N a m e   a n d   P o d N a m e s p a c e   o f   t h e   r u n n i n g   P o d .   / /   G e t P o d R e s o u r c e s R e q u e s t   c o n t a i n s   i n f o r m a t i o n   a b o u t   t h e   p o d   m e s s a g e   G e t P o d R e s o u r c e s R e q u e s t   {   s t r i n g   p o d _ n a m e   =   1 ;   s t r i n g   p o d _ n a m e s p a c e   =   2 ;   }   T o   d i s a b l e   t h i s   f e a t u r e ,   y o u   m u s t   s t a r t   y o u r   k u b e l e t   s e r v i c e s   w i t h   t h e   f o l l o w i n g   f l a g :   - - f e a t u r e - g a t e s = K u b e l e t P o d R e s o u r c e s G e t = f a l s e   T h e   G e t   e n d p o i n t   c a n   p r o v i d e   P o d   i n f o r m a t i o n   r e l a t e d   t o   d y n a m i c   r e s o u r c e s   a l l o c a t e d   b y   t h e   d y n a m i c   r e s o u r c e   a l l o c a t i o n   A P I .   S t a r t i n g   f r o m   K u b e r n e t e s   v 1 . 3 4 ,   t h i s   f e a t u r e   i s   e n a b l e d   b y   d e f a u l t .   T o   d i s a b l e ,   k u b e l e t   m u s t   b e   s t a r t e d   w i t h   t h e   f o l l o w i n g   f l a g s :   - - f e a t u r e - g a t e s = K u b e l e t P o d R e s o u r c e s D y n a m i c R e s o u r c e s = f a l s e",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/",
    "id": "k8s_00641_section_3_14109"
  },
  {
    "question": "What is Device plugin integration with the Topology Manager?",
    "answer": "T h e   T o p o l o g y   M a n a g e r   i s   a   K u b e l e t   c o m p o n e n t   t h a t   a l l o w s   r e s o u r c e s   t o   b e   c o - o r d i n a t e d   i n   a   T o p o l o g y   a l i g n e d   m a n n e r .   I n   o r d e r   t o   d o   t h i s ,   t h e   D e v i c e   P l u g i n   A P I   w a s   e x t e n d e d   t o   i n c l u d e   a   T o p o l o g y I n f o   s t r u c t .   m e s s a g e   T o p o l o g y I n f o   {   r e p e a t e d   N U M A N o d e   n o d e s   =   1 ;   }   m e s s a g e   N U M A N o d e   {   i n t 6 4   I D   =   1 ;   }   D e v i c e   P l u g i n s   t h a t   w i s h   t o   l e v e r a g e   t h e   T o p o l o g y   M a n a g e r   c a n   s e n d   b a c k   a   p o p u l a t e d   T o p o l o g y I n f o   s t r u c t   a s   p a r t   o f   t h e   d e v i c e   r e g i s t r a t i o n ,   a l o n g   w i t h   t h e   d e v i c e   I D s   a n d   t h e   h e a l t h   o f   t h e   d e v i c e .   T h e   d e v i c e   m a n a g e r   w i l l   t h e n   u s e   t h i s   i n f o r m a t i o n   t o   c o n s u l t   w i t h   t h e   T o p o l o g y   M a n a g e r   a n d   m a k e   r e s o u r c e   a s s i g n m e n t   d e c i s i o n s .   T o p o l o g y I n f o   s u p p o r t s   s e t t i n g   a   n o d e s   f i e l d   t o   e i t h e r   n i l   o r   a   l i s t   o f   N U M A   n o d e s .   T h i s   a l l o w s   t h e   D e v i c e   P l u g i n   t o   a d v e r t i s e   a   d e v i c e   t h a t   s p a n s   m u l t i p l e   N U M A   n o d e s .   S e t t i n g   T o p o l o g y I n f o   t o   n i l   o r   p r o v i d i n g   a n   e m p t y   l i s t   o f   N U M A   n o d e s   f o r   a   g i v e n   d e v i c e   i n d i c a t e s   t h a t   t h e   D e v i c e   P l u g i n   d o e s   n o t   h a v e   a   N U M A   a f f i n i t y   p r e f e r e n c e   f o r   t h a t   d e v i c e .   A n   e x a m p l e   T o p o l o g y I n f o   s t r u c t   p o p u l a ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/",
    "id": "k8s_00641_section_2_14110"
  },
  {
    "question": "What is Device plugin examples?",
    "answer": "H e r e   a r e   s o m e   e x a m p l e s   o f   d e v i c e   p l u g i n   i m p l e m e n t a t i o n s :   A k r i ,   w h i c h   l e t s   y o u   e a s i l y   e x p o s e   h e t e r o g e n e o u s   l e a f   d e v i c e s   ( s u c h   a s   I P   c a m e r a s   a n d   U S B   d e v i c e s ) . T h e   A M D   G P U   d e v i c e   p l u g i n T h e   g e n e r i c   d e v i c e   p l u g i n   f o r   g e n e r i c   L i n u x   d e v i c e s   a n d   U S B   d e v i c e s T h e   H A M i   f o r   h e t e r o g e n e o u s   A I   c o m p u t i n g   v i r t u a l i z a t i o n   m i d d l e w a r e   ( f o r   e x a m p l e ,   N V I D I A ,   C a m b r i c o n ,   H y g o n ,   I l u v a t a r ,   M T h r e a d s ,   A s c e n d ,   M e t a x ) T h e   I n t e l   d e v i c e   p l u g i n s   f o r   I n t e l   G P U ,   F P G A ,   Q A T ,   V P U ,   S G X ,   D S A ,   D L B   a n d   I A A   d e v i c e s T h e   K u b e V i r t   d e v i c e   p l u g i n s   f o r   h a r d w a r e - a s s i s t e d   v i r t u a l i z a t i o n T h e   N V I D I A   G P U   d e v i c e   p l u g i n ,   N V I D I A ' s   o f f i c i a l   d e v i c e   p l u g i n   t o   e x p o s e   N V I D I A   G P U s   a n d   m o n i t o r   G P U   h e a l t h T h e   N V I D I A   G P U   d e v i c e   p l u g i n   f o r   C o n t a i n e r - O p t i m i z e d   O S T h e   R D M A   d e v i c e   p l u g i n T h e   S o c k e t C A N   d e v i c e   p l u g i n T h e   S o l a r f l a r e   d e v i c e   p l u g i n T h e   S R - I O V   N e t w o r k   d e v i c e   p l u g i n T h e   X i l i n x   F P G A   d e v i c e   p l u g i n s   f o r   X i l i n x   F P G A   d e v i c e s",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/",
    "id": "k8s_00641_section_2_14111"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   s c h e d u l i n g   G P U   r e s o u r c e s   u s i n g   d e v i c e   p l u g i n s L e a r n   a b o u t   a d v e r t i s i n g   e x t e n d e d   r e s o u r c e s   o n   a   n o d e L e a r n   a b o u t   t h e   T o p o l o g y   M a n a g e r R e a d   a b o u t   u s i n g   h a r d w a r e   a c c e l e r a t i o n   f o r   T L S   i n g r e s s   w i t h   K u b e r n e t e s R e a d   m o r e   a b o u t   E x t e n d e d   R e s o u r c e   a l l o c a t i o n   b y   D R A   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/",
    "id": "k8s_00641_section_2_14112"
  },
  {
    "question": "What is Assign CPU Resources to Containers and Pods?",
    "answer": "Assign CPU Resources to Containers and PodsThis page shows how to assign a CPU request and a CPU limit to a container. Containers cannot use more CPU than the configured limit. Provided the system has CPU time free, a container is guaranteed to be allocated as much CPU as it requests.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Your cluster must have at least 1 CPU available for use to run the task examples.A few of the steps on this page require you to run the metrics-server service in your cluster. If you have the metrics-server running, you can skip those steps.If you are running Minikube, run the following command to enable metrics-server:minikube addons enable metrics-server To see whether metrics-server (or another provider of the resource metrics API, metrics.k8s.io) is running, type the following command:kubectl get apiservices If the resource metrics API is available, the output will include a reference to metrics.k8s.io.NAME v1beta1.metrics.k8s.io Create a namespaceCreate a Namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace cpu-example Specify a CPU request and a CPU limitTo specify a CPU request for a container, include the resources:requests field in the Container resource manifest. To specify a CPU limit, include resources:limits.In this exercise, you create a Pod that has one container. The container has a request of 0.5 CPU and a limit of 1 CPU. Here is the configuration file for the Pod:pods/resource/cpu-request-limit.yaml apiVersion: v1 kind: Pod metadata: name: cpu-demo namespace: cpu-example spec: containers: - name: cpu-demo-ctr image: vish/stress resources: limits: cpu: \"1\" requests: cpu: \"0.5\" args: - -cpus - \"2\" The args section of the configuration file provides arguments for the container when it starts. The -cpus \"2\" argument tells the Container to attempt to use 2 CPUs.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/resource/cpu-request-limit.yaml --namespace=cpu-example Verify that the Pod is running:kubectl get pod cpu-demo --namespace=cpu-example View detailed information about the Pod:kubectl get pod cpu-demo --output=yaml --namespace=cpu-example The output shows that the one container in the Pod has a CPU request of 500 milliCPU and a CPU limit of 1 CPU.resources: limits: cpu: \"1\" requests: cpu: 500m Use kubectl top to fetch the metrics for the Pod:kubectl top pod cpu-demo --namespace=cpu-example This example output shows that the Pod is using 974 milliCPU, which is slightly less than the limit of",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-cpu-resource/",
    "id": "k8s_00642_qa_14113"
  },
  {
    "question": "How does Assign CPU Resources to Containers and Pods work?",
    "answer": "Assign CPU Resources to Containers and PodsThis page shows how to assign a CPU request and a CPU limit to a container. Containers cannot use more CPU than the configured limit. Provided the system has CPU time free, a container is guaranteed to be allocated as much CPU as it requests.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Your cluster must have at least 1 CPU available for use to run the task examples.A few of the steps on this page require you to run the metrics-server service in your cluster. If you have the metrics-server running, you can skip those steps.If you are running Minikube, run the following command to enable metrics-server:minikube addons enable metrics-server To see whether metrics-server (or another provider of the resource metrics API, metrics.k8s.io) is running, type the following command:kubectl get apiservices If the resource metrics API is available, the output will include a reference to metrics.k8s.io.NAME v1beta1.metrics.k8s.io Create a namespaceCreate a Namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace cpu-example Specify a CPU request and a CPU limitTo specify a CPU request for a container, include the resources:requests field in the Container resource manifest. To specify a CPU limit, include resources:limits.In this exercise, you create a Pod that has one container. The container has a request of 0.5 CPU and a limit of 1 CPU. Here is the configuration file for the Pod:pods/resource/cpu-request-limit.yaml apiVersion: v1 kind: Pod metadata: name: cpu-demo namespace: cpu-example spec: containers: - name: cpu-demo-ctr image: vish/stress resources: limits: cpu: \"1\" requests: cpu: \"0.5\" args: - -cpus - \"2\" The args section of the configuration file provides arguments for the container when it starts. The -cpus \"2\" argument tells the Container to attempt to use 2 CPUs.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/resource/cpu-request-limit.yaml --namespace=cpu-example Verify that the Pod is running:kubectl get pod cpu-demo --namespace=cpu-example View detailed information about the Pod:kubectl get pod cpu-demo --output=yaml --namespace=cpu-example The output shows that the one container in the Pod has a CPU request of 500 milliCPU and a CPU limit of 1 CPU.resources: limits: cpu: \"1\" requests: cpu: 500m Use kubectl top to fetch the metrics for the Pod:kubectl top pod cpu-demo --namespace=cpu-example This example output shows that the Pod is using 974 milliCPU, which is slightly less than the limit of",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-cpu-resource/",
    "id": "k8s_00642_qa_14114"
  },
  {
    "question": "When would you use Assign CPU Resources to Containers and Pods?",
    "answer": "Assign CPU Resources to Containers and PodsThis page shows how to assign a CPU request and a CPU limit to a container. Containers cannot use more CPU than the configured limit. Provided the system has CPU time free, a container is guaranteed to be allocated as much CPU as it requests.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Your cluster must have at least 1 CPU available for use to run the task examples.A few of the steps on this page require you to run the metrics-server service in your cluster. If you have the metrics-server running, you can skip those steps.If you are running Minikube, run the following command to enable metrics-server:minikube addons enable metrics-server To see whether metrics-server (or another provider of the resource metrics API, metrics.k8s.io) is running, type the following command:kubectl get apiservices If the resource metrics API is available, the output will include a reference to metrics.k8s.io.NAME v1beta1.metrics.k8s.io Create a namespaceCreate a Namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace cpu-example Specify a CPU request and a CPU limitTo specify a CPU request for a container, include the resources:requests field in the Container resource manifest. To specify a CPU limit, include resources:limits.In this exercise, you create a Pod that has one container. The container has a request of 0.5 CPU and a limit of 1 CPU. Here is the configuration file for the Pod:pods/resource/cpu-request-limit.yaml apiVersion: v1 kind: Pod metadata: name: cpu-demo namespace: cpu-example spec: containers: - name: cpu-demo-ctr image: vish/stress resources: limits: cpu: \"1\" requests: cpu: \"0.5\" args: - -cpus - \"2\" The args section of the configuration file provides arguments for the container when it starts. The -cpus \"2\" argument tells the Container to attempt to use 2 CPUs.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/resource/cpu-request-limit.yaml --namespace=cpu-example Verify that the Pod is running:kubectl get pod cpu-demo --namespace=cpu-example View detailed information about the Pod:kubectl get pod cpu-demo --output=yaml --namespace=cpu-example The output shows that the one container in the Pod has a CPU request of 500 milliCPU and a CPU limit of 1 CPU.resources: limits: cpu: \"1\" requests: cpu: 500m Use kubectl top to fetch the metrics for the Pod:kubectl top pod cpu-demo --namespace=cpu-example This example output shows that the Pod is using 974 milliCPU, which is slightly less than the limit of",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-cpu-resource/",
    "id": "k8s_00642_qa_14115"
  },
  {
    "question": "What are the benefits of Assign CPU Resources to Containers and Pods?",
    "answer": "Assign CPU Resources to Containers and PodsThis page shows how to assign a CPU request and a CPU limit to a container. Containers cannot use more CPU than the configured limit. Provided the system has CPU time free, a container is guaranteed to be allocated as much CPU as it requests.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Your cluster must have at least 1 CPU available for use to run the task examples.A few of the steps on this page require you to run the metrics-server service in your cluster. If you have the metrics-server running, you can skip those steps.If you are running Minikube, run the following command to enable metrics-server:minikube addons enable metrics-server To see whether metrics-server (or another provider of the resource metrics API, metrics.k8s.io) is running, type the following command:kubectl get apiservices If the resource metrics API is available, the output will include a reference to metrics.k8s.io.NAME v1beta1.metrics.k8s.io Create a namespaceCreate a Namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace cpu-example Specify a CPU request and a CPU limitTo specify a CPU request for a container, include the resources:requests field in the Container resource manifest. To specify a CPU limit, include resources:limits.In this exercise, you create a Pod that has one container. The container has a request of 0.5 CPU and a limit of 1 CPU. Here is the configuration file for the Pod:pods/resource/cpu-request-limit.yaml apiVersion: v1 kind: Pod metadata: name: cpu-demo namespace: cpu-example spec: containers: - name: cpu-demo-ctr image: vish/stress resources: limits: cpu: \"1\" requests: cpu: \"0.5\" args: - -cpus - \"2\" The args section of the configuration file provides arguments for the container when it starts. The -cpus \"2\" argument tells the Container to attempt to use 2 CPUs.Create the Pod:kubectl apply -f https://k8s.io/examples/pods/resource/cpu-request-limit.yaml --namespace=cpu-example Verify that the Pod is running:kubectl get pod cpu-demo --namespace=cpu-example View detailed information about the Pod:kubectl get pod cpu-demo --output=yaml --namespace=cpu-example The output shows that the one container in the Pod has a CPU request of 500 milliCPU and a CPU limit of 1 CPU.resources: limits: cpu: \"1\" requests: cpu: 500m Use kubectl top to fetch the metrics for the Pod:kubectl top pod cpu-demo --namespace=cpu-example This example output shows that the Pod is using 974 milliCPU, which is slightly less than the limit of",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-cpu-resource/",
    "id": "k8s_00642_qa_14116"
  },
  {
    "question": "What is Assign CPU Resources to Containers and Pods?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   a s s i g n   a   C P U   r e q u e s t   a n d   a   C P U   l i m i t   t o   a   c o n t a i n e r .   C o n t a i n e r s   c a n n o t   u s e   m o r e   C P U   t h a n   t h e   c o n f i g u r e d   l i m i t .   P r o v i d e d   t h e   s y s t e m   h a s   C P U   t i m e   f r e e ,   a   c o n t a i n e r   i s   g u a r a n t e e d   t o   b e   a l l o c a t e d   a s   m u c h   C P U   a s   i t   r e q u e s t s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-cpu-resource/",
    "id": "k8s_00642_section_1_14117"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u r   c l u s t e r   m u s t   h a v e   a t   l e a s t   1   C P U   a v a i l a b l e   f o r   u s e   t o   r u n ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-cpu-resource/",
    "id": "k8s_00642_section_2_14118"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   N a m e s p a c e   s o   t h a t   t h e   r e s o u r c e s   y o u   c r e a t e   i n   t h i s   e x e r c i s e   a r e   i s o l a t e d   f r o m   t h e   r e s t   o f   y o u r   c l u s t e r .   k u b e c t l   c r e a t e   n a m e s p a c e   c p u - e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-cpu-resource/",
    "id": "k8s_00642_section_2_14119"
  },
  {
    "question": "What is Specify a CPU request and a CPU limit?",
    "answer": "T o   s p e c i f y   a   C P U   r e q u e s t   f o r   a   c o n t a i n e r ,   i n c l u d e   t h e   r e s o u r c e s : r e q u e s t s   f i e l d   i n   t h e   C o n t a i n e r   r e s o u r c e   m a n i f e s t .   T o   s p e c i f y   a   C P U   l i m i t ,   i n c l u d e   r e s o u r c e s : l i m i t s .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   h a s   a   r e q u e s t   o f   0 . 5   C P U   a n d   a   l i m i t   o f   1   C P U .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c p u - d e m o   n a m e s p a c e :   c p u - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   c p u - d e m o - c t r   i m a g e :   v i s h / s t r e s s   r e s o u r c e s :   l i m i t s :   c p u :   \" 1 \"   r e q u e s t s :   c p u :   \" 0 . 5 \"   a r g s :   -   - c p u s   -   \" 2 \"   T h e   a r g s   s e c t i o n   o f   t h e   c o n f i g u r a t i o n   f i l e   p r o v i d e s   a r g u m e n t s   f o r   t h e   c o n t a i n e r   w h e n   i t   s t a r t s .   T h e   - c p u s   \" 2 \"   a r g u m e n t   t e l l s   t h e   C o n t a i n e r   t o   a t t e m p t   t o   u s e   2   C P U s .   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / r e s o u r c e / c p u - r e q u e s t - l i m i t . y a m l   - - n a m e s p a c e = c p u - e x a m p l e   V e r i f y   t h a t   t h e   P o d   i s   r u n n i n g :   k u b e c t l   g e t   p o d   c p u - d e m o   - - n a m e s p a c e = c p u - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   P o d :   k u b e c t l   g e t   p o d   c p u - d e m o   - - o u t p u t = y a m l   - - n a m e s p a c e = c p u - e x a m p l e   T h e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-cpu-resource/",
    "id": "k8s_00642_section_2_14120"
  },
  {
    "question": "What is CPU units?",
    "answer": "T h e   C P U   r e s o u r c e   i s   m e a s u r e d   i n   C P U   u n i t s .   O n e   C P U ,   i n   K u b e r n e t e s ,   i s   e q u i v a l e n t   t o :   1   A W S   v C P U 1   G C P   C o r e 1   A z u r e   v C o r e 1   H y p e r t h r e a d   o n   a   b a r e - m e t a l   I n t e l   p r o c e s s o r   w i t h   H y p e r t h r e a d i n g   F r a c t i o n a l   v a l u e s   a r e   a l l o w e d .   A   C o n t a i n e r   t h a t   r e q u e s t s   0 . 5   C P U   i s   g u a r a n t e e d   h a l f   a s   m u c h   C P U   a s   a   C o n t a i n e r   t h a t   r e q u e s t s   1   C P U .   Y o u   c a n   u s e   t h e   s u f f i x   m   t o   m e a n   m i l l i .   F o r   e x a m p l e   1 0 0 m   C P U ,   1 0 0   m i l l i C P U ,   a n d   0 . 1   C P U   a r e   a l l   t h e   s a m e .   P r e c i s i o n   f i n e r   t h a n   1 m   i s   n o t   a l l o w e d .   C P U   i s   a l w a y s   r e q u e s t e d   a s   a n   a b s o l u t e   q u a n t i t y ,   n e v e r   a s   a   r e l a t i v e   q u a n t i t y ;   0 . 1   i s   t h e   s a m e   a m o u n t   o f   C P U   o n   a   s i n g l e - c o r e ,   d u a l - c o r e ,   o r   4 8 - c o r e   m a c h i n e .   D e l e t e   y o u r   P o d :   k u b e c t l   d e l e t e   p o d   c p u - d e m o   - - n a m e s p a c e = c p u - e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-cpu-resource/",
    "id": "k8s_00642_section_2_14121"
  },
  {
    "question": "What is Specify a CPU request that is too big for your Nodes?",
    "answer": "C P U   r e q u e s t s   a n d   l i m i t s   a r e   a s s o c i a t e d   w i t h   C o n t a i n e r s ,   b u t   i t   i s   u s e f u l   t o   t h i n k   o f   a   P o d   a s   h a v i n g   a   C P U   r e q u e s t   a n d   l i m i t .   T h e   C P U   r e q u e s t   f o r   a   P o d   i s   t h e   s u m   o f   t h e   C P U   r e q u e s t s   f o r   a l l   t h e   C o n t a i n e r s   i n   t h e   P o d .   L i k e w i s e ,   t h e   C P U   l i m i t   f o r   a   P o d   i s   t h e   s u m   o f   t h e   C P U   l i m i t s   f o r   a l l   t h e   C o n t a i n e r s   i n   t h e   P o d .   P o d   s c h e d u l i n g   i s   b a s e d   o n   r e q u e s t s .   A   P o d   i s   s c h e d u l e d   t o   r u n   o n   a   N o d e   o n l y   i f   t h e   N o d e   h a s   e n o u g h   C P U   r e s o u r c e s   a v a i l a b l e   t o   s a t i s f y   t h e   P o d   C P U   r e q u e s t .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   a   C P U   r e q u e s t   s o   b i g   t h a t   i t   e x c e e d s   t h e   c a p a c i t y   o f   a n y   N o d e   i n   y o u r   c l u s t e r .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   T h e   C o n t a i n e r   r e q u e s t s   1 0 0   C P U ,   w h i c h   i s   l i k e l y   t o   e x c e e d   t h e   c a p a c i t y   o f   a n y   N o d e   i n   y o u r   c l u s t e r .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c p u - d e m o - 2   n a m e s p a c e :   c p u - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   c p u - d e m o - c t r - 2   i m a g e :   v i s h / s t r e s s   r e s o u r c e s :   l i m i t s :   c p u :   \" 1 0 0 \"   r e q u e s t s :   c p u :   \" 1 0 0 \"   a r g s :   -   - c p u s   -   \" 2 \"   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-cpu-resource/",
    "id": "k8s_00642_section_2_14122"
  },
  {
    "question": "What is If you do not specify a CPU limit?",
    "answer": "I f   y o u   d o   n o t   s p e c i f y   a   C P U   l i m i t   f o r   a   C o n t a i n e r ,   t h e n   o n e   o f   t h e s e   s i t u a t i o n s   a p p l i e s :   T h e   C o n t a i n e r   h a s   n o   u p p e r   b o u n d   o n   t h e   C P U   r e s o u r c e s   i t   c a n   u s e .   T h e   C o n t a i n e r   c o u l d   u s e   a l l   o f   t h e   C P U   r e s o u r c e s   a v a i l a b l e   o n   t h e   N o d e   w h e r e   i t   i s   r u n n i n g . T h e   C o n t a i n e r   i s   r u n n i n g   i n   a   n a m e s p a c e   t h a t   h a s   a   d e f a u l t   C P U   l i m i t ,   a n d   t h e   C o n t a i n e r   i s   a u t o m a t i c a l l y   a s s i g n e d   t h e   d e f a u l t   l i m i t .   C l u s t e r   a d m i n i s t r a t o r s   c a n   u s e   a   L i m i t R a n g e   t o   s p e c i f y   a   d e f a u l t   v a l u e   f o r   t h e   C P U   l i m i t .   T h e   C o n t a i n e r   h a s   n o   u p p e r   b o u n d   o n   t h e   C P U   r e s o u r c e s   i t   c a n   u s e .   T h e   C o n t a i n e r   c o u l d   u s e   a l l   o f   t h e   C P U   r e s o u r c e s   a v a i l a b l e   o n   t h e   N o d e   w h e r e   i t   i s   r u n n i n g .   T h e   C o n t a i n e r   i s   r u n n i n g   i n   a   n a m e s p a c e   t h a t   h a s   a   d e f a u l t   C P U   l i m i t ,   a n d   t h e   C o n t a i n e r   i s   a u t o m a t i c a l l y   a s s i g n e d   t h e   d e f a u l t   l i m i t .   C l u s t e r   a d m i n i s t r a t o r s   c a n   u s e   a   L i m i t R a n g e   t o   s p e c i f y   a   d e f a u l t   v a l u e   f o r   t h e   C P U   l i m i t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-cpu-resource/",
    "id": "k8s_00642_section_2_14123"
  },
  {
    "question": "What is If you specify a CPU limit but do not specify a CPU request?",
    "answer": "I f   y o u   s p e c i f y   a   C P U   l i m i t   f o r   a   C o n t a i n e r   b u t   d o   n o t   s p e c i f y   a   C P U   r e q u e s t ,   K u b e r n e t e s   a u t o m a t i c a l l y   a s s i g n s   a   C P U   r e q u e s t   t h a t   m a t c h e s   t h e   l i m i t .   S i m i l a r l y ,   i f   a   C o n t a i n e r   s p e c i f i e s   i t s   o w n   m e m o r y   l i m i t ,   b u t   d o e s   n o t   s p e c i f y   a   m e m o r y   r e q u e s t ,   K u b e r n e t e s   a u t o m a t i c a l l y   a s s i g n s   a   m e m o r y   r e q u e s t   t h a t   m a t c h e s   t h e   l i m i t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-cpu-resource/",
    "id": "k8s_00642_section_2_14124"
  },
  {
    "question": "What is Motivation for CPU requests and limits?",
    "answer": "B y   c o n f i g u r i n g   t h e   C P U   r e q u e s t s   a n d   l i m i t s   o f   t h e   C o n t a i n e r s   t h a t   r u n   i n   y o u r   c l u s t e r ,   y o u   c a n   m a k e   e f f i c i e n t   u s e   o f   t h e   C P U   r e s o u r c e s   a v a i l a b l e   o n   y o u r   c l u s t e r   N o d e s .   B y   k e e p i n g   a   P o d   C P U   r e q u e s t   l o w ,   y o u   g i v e   t h e   P o d   a   g o o d   c h a n c e   o f   b e i n g   s c h e d u l e d .   B y   h a v i n g   a   C P U   l i m i t   t h a t   i s   g r e a t e r   t h a n   t h e   C P U   r e q u e s t ,   y o u   a c c o m p l i s h   t w o   t h i n g s :   T h e   P o d   c a n   h a v e   b u r s t s   o f   a c t i v i t y   w h e r e   i t   m a k e s   u s e   o f   C P U   r e s o u r c e s   t h a t   h a p p e n   t o   b e   a v a i l a b l e . T h e   a m o u n t   o f   C P U   r e s o u r c e s   a   P o d   c a n   u s e   d u r i n g   a   b u r s t   i s   l i m i t e d   t o   s o m e   r e a s o n a b l e   a m o u n t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-cpu-resource/",
    "id": "k8s_00642_section_2_14125"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   n a m e s p a c e :   k u b e c t l   d e l e t e   n a m e s p a c e   c p u - e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-cpu-resource/",
    "id": "k8s_00642_section_2_14126"
  },
  {
    "question": "What is For app developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s   C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s   R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-cpu-resource/",
    "id": "k8s_00642_section_3_14127"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e   C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s   R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/assign-cpu-resource/",
    "id": "k8s_00642_section_3_14128"
  },
  {
    "question": "What is Autoscaling Workloads?",
    "answer": "Autoscaling WorkloadsWith autoscaling, you can automatically update your workloads in one way or another. This allows your cluster to react to changes in resource demand more elastically and efficiently.In Kubernetes, you can scale a workload depending on the current demand of resources. This allows your cluster to react to changes in resource demand more elastically and efficiently.When you scale a workload, you can either increase or decrease the number of replicas managed by the workload, or adjust the resources available to the replicas in-place.The first approach is referred to as horizontal scaling, while the second is referred to as vertical scaling.There are manual and automatic ways to scale your workloads, depending on your use case.Scaling workloads manuallyKubernetes supports manual scaling of workloads. Horizontal scaling can be done using the kubectl CLI. For vertical scaling, you need to patch the resource definition of your workload.See below for examples of both strategies.Horizontal scaling: Running multiple instances of your appVertical scaling: Resizing CPU and memory resources assigned to containersScaling workloads automaticallyKubernetes also supports automatic scaling of workloads, which is the focus of this page.The concept of Autoscaling in Kubernetes refers to the ability to automatically update an object that manages a set of Pods (for example a Deployment).Scaling workloads horizontallyIn Kubernetes, you can automatically scale a workload horizontally using a HorizontalPodAutoscaler (HPA).It is implemented as a Kubernetes API resource and a controller and periodically adjusts the number of replicas in a workload to match observed resource utilization such as CPU or memory usage.There is a walkthrough tutorial of configuring a HorizontalPodAutoscaler for a Deployment.Scaling workloads verticallyFEATURE STATE: Kubernetes v1.25 [stable]You can automatically scale a workload vertically using a VerticalPodAutoscaler (VPA). Unlike the HPA, the VPA doesn't come with Kubernetes by default, but is a separate project that can be found on GitHub.Once installed, it allows you to create CustomResourceDefinitions (CRDs) for your workloads which define how and when to scale the resources of the managed replicas.Note:You will need to have the Metrics Server installed to your cluster for the VPA to work.At the moment, the VPA can operate in four different modes:Different modes of the VPAModeDescriptionAutoCurrently Recreate. This might change to in-place updates in the future.RecreateThe VPA assigns resource requests on pod creation as well as updates them on existing pods by evicting them when the requested resources differ significantly from the new recommendationInitialThe VPA only assigns resource requests on pod creation and never changes them later.OffThe VPA does not automatically change the resource requirements of the pods. The recommendations are calculated and can be inspected in the VPA object.In-place pod vertical scaling",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/autoscaling/",
    "id": "k8s_00643_qa_14129"
  },
  {
    "question": "How does Autoscaling Workloads work?",
    "answer": "Autoscaling WorkloadsWith autoscaling, you can automatically update your workloads in one way or another. This allows your cluster to react to changes in resource demand more elastically and efficiently.In Kubernetes, you can scale a workload depending on the current demand of resources. This allows your cluster to react to changes in resource demand more elastically and efficiently.When you scale a workload, you can either increase or decrease the number of replicas managed by the workload, or adjust the resources available to the replicas in-place.The first approach is referred to as horizontal scaling, while the second is referred to as vertical scaling.There are manual and automatic ways to scale your workloads, depending on your use case.Scaling workloads manuallyKubernetes supports manual scaling of workloads. Horizontal scaling can be done using the kubectl CLI. For vertical scaling, you need to patch the resource definition of your workload.See below for examples of both strategies.Horizontal scaling: Running multiple instances of your appVertical scaling: Resizing CPU and memory resources assigned to containersScaling workloads automaticallyKubernetes also supports automatic scaling of workloads, which is the focus of this page.The concept of Autoscaling in Kubernetes refers to the ability to automatically update an object that manages a set of Pods (for example a Deployment).Scaling workloads horizontallyIn Kubernetes, you can automatically scale a workload horizontally using a HorizontalPodAutoscaler (HPA).It is implemented as a Kubernetes API resource and a controller and periodically adjusts the number of replicas in a workload to match observed resource utilization such as CPU or memory usage.There is a walkthrough tutorial of configuring a HorizontalPodAutoscaler for a Deployment.Scaling workloads verticallyFEATURE STATE: Kubernetes v1.25 [stable]You can automatically scale a workload vertically using a VerticalPodAutoscaler (VPA). Unlike the HPA, the VPA doesn't come with Kubernetes by default, but is a separate project that can be found on GitHub.Once installed, it allows you to create CustomResourceDefinitions (CRDs) for your workloads which define how and when to scale the resources of the managed replicas.Note:You will need to have the Metrics Server installed to your cluster for the VPA to work.At the moment, the VPA can operate in four different modes:Different modes of the VPAModeDescriptionAutoCurrently Recreate. This might change to in-place updates in the future.RecreateThe VPA assigns resource requests on pod creation as well as updates them on existing pods by evicting them when the requested resources differ significantly from the new recommendationInitialThe VPA only assigns resource requests on pod creation and never changes them later.OffThe VPA does not automatically change the resource requirements of the pods. The recommendations are calculated and can be inspected in the VPA object.In-place pod vertical scaling",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/autoscaling/",
    "id": "k8s_00643_qa_14130"
  },
  {
    "question": "When would you use Autoscaling Workloads?",
    "answer": "Autoscaling WorkloadsWith autoscaling, you can automatically update your workloads in one way or another. This allows your cluster to react to changes in resource demand more elastically and efficiently.In Kubernetes, you can scale a workload depending on the current demand of resources. This allows your cluster to react to changes in resource demand more elastically and efficiently.When you scale a workload, you can either increase or decrease the number of replicas managed by the workload, or adjust the resources available to the replicas in-place.The first approach is referred to as horizontal scaling, while the second is referred to as vertical scaling.There are manual and automatic ways to scale your workloads, depending on your use case.Scaling workloads manuallyKubernetes supports manual scaling of workloads. Horizontal scaling can be done using the kubectl CLI. For vertical scaling, you need to patch the resource definition of your workload.See below for examples of both strategies.Horizontal scaling: Running multiple instances of your appVertical scaling: Resizing CPU and memory resources assigned to containersScaling workloads automaticallyKubernetes also supports automatic scaling of workloads, which is the focus of this page.The concept of Autoscaling in Kubernetes refers to the ability to automatically update an object that manages a set of Pods (for example a Deployment).Scaling workloads horizontallyIn Kubernetes, you can automatically scale a workload horizontally using a HorizontalPodAutoscaler (HPA).It is implemented as a Kubernetes API resource and a controller and periodically adjusts the number of replicas in a workload to match observed resource utilization such as CPU or memory usage.There is a walkthrough tutorial of configuring a HorizontalPodAutoscaler for a Deployment.Scaling workloads verticallyFEATURE STATE: Kubernetes v1.25 [stable]You can automatically scale a workload vertically using a VerticalPodAutoscaler (VPA). Unlike the HPA, the VPA doesn't come with Kubernetes by default, but is a separate project that can be found on GitHub.Once installed, it allows you to create CustomResourceDefinitions (CRDs) for your workloads which define how and when to scale the resources of the managed replicas.Note:You will need to have the Metrics Server installed to your cluster for the VPA to work.At the moment, the VPA can operate in four different modes:Different modes of the VPAModeDescriptionAutoCurrently Recreate. This might change to in-place updates in the future.RecreateThe VPA assigns resource requests on pod creation as well as updates them on existing pods by evicting them when the requested resources differ significantly from the new recommendationInitialThe VPA only assigns resource requests on pod creation and never changes them later.OffThe VPA does not automatically change the resource requirements of the pods. The recommendations are calculated and can be inspected in the VPA object.In-place pod vertical scaling",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/autoscaling/",
    "id": "k8s_00643_qa_14131"
  },
  {
    "question": "What are the benefits of Autoscaling Workloads?",
    "answer": "Autoscaling WorkloadsWith autoscaling, you can automatically update your workloads in one way or another. This allows your cluster to react to changes in resource demand more elastically and efficiently.In Kubernetes, you can scale a workload depending on the current demand of resources. This allows your cluster to react to changes in resource demand more elastically and efficiently.When you scale a workload, you can either increase or decrease the number of replicas managed by the workload, or adjust the resources available to the replicas in-place.The first approach is referred to as horizontal scaling, while the second is referred to as vertical scaling.There are manual and automatic ways to scale your workloads, depending on your use case.Scaling workloads manuallyKubernetes supports manual scaling of workloads. Horizontal scaling can be done using the kubectl CLI. For vertical scaling, you need to patch the resource definition of your workload.See below for examples of both strategies.Horizontal scaling: Running multiple instances of your appVertical scaling: Resizing CPU and memory resources assigned to containersScaling workloads automaticallyKubernetes also supports automatic scaling of workloads, which is the focus of this page.The concept of Autoscaling in Kubernetes refers to the ability to automatically update an object that manages a set of Pods (for example a Deployment).Scaling workloads horizontallyIn Kubernetes, you can automatically scale a workload horizontally using a HorizontalPodAutoscaler (HPA).It is implemented as a Kubernetes API resource and a controller and periodically adjusts the number of replicas in a workload to match observed resource utilization such as CPU or memory usage.There is a walkthrough tutorial of configuring a HorizontalPodAutoscaler for a Deployment.Scaling workloads verticallyFEATURE STATE: Kubernetes v1.25 [stable]You can automatically scale a workload vertically using a VerticalPodAutoscaler (VPA). Unlike the HPA, the VPA doesn't come with Kubernetes by default, but is a separate project that can be found on GitHub.Once installed, it allows you to create CustomResourceDefinitions (CRDs) for your workloads which define how and when to scale the resources of the managed replicas.Note:You will need to have the Metrics Server installed to your cluster for the VPA to work.At the moment, the VPA can operate in four different modes:Different modes of the VPAModeDescriptionAutoCurrently Recreate. This might change to in-place updates in the future.RecreateThe VPA assigns resource requests on pod creation as well as updates them on existing pods by evicting them when the requested resources differ significantly from the new recommendationInitialThe VPA only assigns resource requests on pod creation and never changes them later.OffThe VPA does not automatically change the resource requirements of the pods. The recommendations are calculated and can be inspected in the VPA object.In-place pod vertical scaling",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/autoscaling/",
    "id": "k8s_00643_qa_14132"
  },
  {
    "question": "What is Autoscaling Workloads?",
    "answer": "I n   K u b e r n e t e s ,   y o u   c a n   s c a l e   a   w o r k l o a d   d e p e n d i n g   o n   t h e   c u r r e n t   d e m a n d   o f   r e s o u r c e s .   T h i s   a l l o w s   y o u r   c l u s t e r   t o   r e a c t   t o   c h a n g e s   i n   r e s o u r c e   d e m a n d   m o r e   e l a s t i c a l l y   a n d   e f f i c i e n t l y .   W h e n   y o u   s c a l e   a   w o r k l o a d ,   y o u   c a n   e i t h e r   i n c r e a s e   o r   d e c r e a s e   t h e   n u m b e r   o f   r e p l i c a s   m a n a g e d   b y   t h e   w o r k l o a d ,   o r   a d j u s t   t h e   r e s o u r c e s   a v a i l a b l e   t o   t h e   r e p l i c a s   i n - p l a c e .   T h e   f i r s t   a p p r o a c h   i s   r e f e r r e d   t o   a s   h o r i z o n t a l   s c a l i n g ,   w h i l e   t h e   s e c o n d   i s   r e f e r r e d   t o   a s   v e r t i c a l   s c a l i n g .   T h e r e   a r e   m a n u a l   a n d   a u t o m a t i c   w a y s   t o   s c a l e   y o u r   w o r k l o a d s ,   d e p e n d i n g   o n   y o u r   u s e   c a s e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/autoscaling/",
    "id": "k8s_00643_section_1_14133"
  },
  {
    "question": "What is Scaling workloads manually?",
    "answer": "K u b e r n e t e s   s u p p o r t s   m a n u a l   s c a l i n g   o f   w o r k l o a d s .   H o r i z o n t a l   s c a l i n g   c a n   b e   d o n e   u s i n g   t h e   k u b e c t l   C L I .   F o r   v e r t i c a l   s c a l i n g ,   y o u   n e e d   t o   p a t c h   t h e   r e s o u r c e   d e f i n i t i o n   o f   y o u r   w o r k l o a d .   S e e   b e l o w   f o r   e x a m p l e s   o f   b o t h   s t r a t e g i e s .   H o r i z o n t a l   s c a l i n g :   R u n n i n g   m u l t i p l e   i n s t a n c e s   o f   y o u r   a p p V e r t i c a l   s c a l i n g :   R e s i z i n g   C P U   a n d   m e m o r y   r e s o u r c e s   a s s i g n e d   t o   c o n t a i n e r s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/autoscaling/",
    "id": "k8s_00643_section_2_14134"
  },
  {
    "question": "What is Scaling workloads automatically?",
    "answer": "K u b e r n e t e s   a l s o   s u p p o r t s   a u t o m a t i c   s c a l i n g   o f   w o r k l o a d s ,   w h i c h   i s   t h e   f o c u s   o f   t h i s   p a g e .   T h e   c o n c e p t   o f   A u t o s c a l i n g   i n   K u b e r n e t e s   r e f e r s   t o   t h e   a b i l i t y   t o   a u t o m a t i c a l l y   u p d a t e   a n   o b j e c t   t h a t   m a n a g e s   a   s e t   o f   P o d s   ( f o r   e x a m p l e   a   D e p l o y m e n t ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/autoscaling/",
    "id": "k8s_00643_section_2_14135"
  },
  {
    "question": "What is Scaling workloads horizontally?",
    "answer": "I n   K u b e r n e t e s ,   y o u   c a n   a u t o m a t i c a l l y   s c a l e   a   w o r k l o a d   h o r i z o n t a l l y   u s i n g   a   H o r i z o n t a l P o d A u t o s c a l e r   ( H P A ) .   I t   i s   i m p l e m e n t e d   a s   a   K u b e r n e t e s   A P I   r e s o u r c e   a n d   a   c o n t r o l l e r   a n d   p e r i o d i c a l l y   a d j u s t s   t h e   n u m b e r   o f   r e p l i c a s   i n   a   w o r k l o a d   t o   m a t c h   o b s e r v e d   r e s o u r c e   u t i l i z a t i o n   s u c h   a s   C P U   o r   m e m o r y   u s a g e .   T h e r e   i s   a   w a l k t h r o u g h   t u t o r i a l   o f   c o n f i g u r i n g   a   H o r i z o n t a l P o d A u t o s c a l e r   f o r   a   D e p l o y m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/autoscaling/",
    "id": "k8s_00643_section_3_14136"
  },
  {
    "question": "What is Scaling workloads vertically?",
    "answer": "Y o u   c a n   a u t o m a t i c a l l y   s c a l e   a   w o r k l o a d   v e r t i c a l l y   u s i n g   a   V e r t i c a l P o d A u t o s c a l e r   ( V P A ) .   U n l i k e   t h e   H P A ,   t h e   V P A   d o e s n ' t   c o m e   w i t h   K u b e r n e t e s   b y   d e f a u l t ,   b u t   i s   a   s e p a r a t e   p r o j e c t   t h a t   c a n   b e   f o u n d   o n   G i t H u b .   O n c e   i n s t a l l e d ,   i t   a l l o w s   y o u   t o   c r e a t e   C u s t o m R e s o u r c e D e f i n i t i o n s   ( C R D s )   f o r   y o u r   w o r k l o a d s   w h i c h   d e f i n e   h o w   a n d   w h e n   t o   s c a l e   t h e   r e s o u r c e s   o f   t h e   m a n a g e d   r e p l i c a s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/autoscaling/",
    "id": "k8s_00643_section_3_14137"
  },
  {
    "question": "What is Note:?",
    "answer": "A t   t h e   m o m e n t ,   t h e   V P A   c a n   o p e r a t e   i n   f o u r   d i f f e r e n t   m o d e s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/autoscaling/",
    "id": "k8s_00643_section_4_14138"
  },
  {
    "question": "What is In-place pod vertical scaling?",
    "answer": "A s   o f   K u b e r n e t e s   1 . 3 4 ,   V P A   d o e s   n o t   s u p p o r t   r e s i z i n g   p o d s   i n - p l a c e ,   b u t   t h i s   i n t e g r a t i o n   i s   b e i n g   w o r k e d   o n .   F o r   m a n u a l l y   r e s i z i n g   p o d s   i n - p l a c e ,   s e e   R e s i z e   C o n t a i n e r   R e s o u r c e s   I n - P l a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/autoscaling/",
    "id": "k8s_00643_section_4_14139"
  },
  {
    "question": "What is Autoscaling based on cluster size?",
    "answer": "F o r   w o r k l o a d s   t h a t   n e e d   t o   b e   s c a l e d   b a s e d   o n   t h e   s i z e   o f   t h e   c l u s t e r   ( f o r   e x a m p l e   c l u s t e r - d n s   o r   o t h e r   s y s t e m   c o m p o n e n t s ) ,   y o u   c a n   u s e   t h e   C l u s t e r   P r o p o r t i o n a l   A u t o s c a l e r .   J u s t   l i k e   t h e   V P A ,   i t   i s   n o t   p a r t   o f   t h e   K u b e r n e t e s   c o r e ,   b u t   h o s t e d   a s   i t s   o w n   p r o j e c t   o n   G i t H u b .   T h e   C l u s t e r   P r o p o r t i o n a l   A u t o s c a l e r   w a t c h e s   t h e   n u m b e r   o f   s c h e d u l a b l e   n o d e s   a n d   c o r e s   a n d   s c a l e s   t h e   n u m b e r   o f   r e p l i c a s   o f   t h e   t a r g e t   w o r k l o a d   a c c o r d i n g l y .   I f   t h e   n u m b e r   o f   r e p l i c a s   s h o u l d   s t a y   t h e   s a m e ,   y o u   c a n   s c a l e   y o u r   w o r k l o a d s   v e r t i c a l l y   a c c o r d i n g   t o   t h e   c l u s t e r   s i z e   u s i n g   t h e   C l u s t e r   P r o p o r t i o n a l   V e r t i c a l   A u t o s c a l e r .   T h e   p r o j e c t   i s   c u r r e n t l y   i n   b e t a   a n d   c a n   b e   f o u n d   o n   G i t H u b .   W h i l e   t h e   C l u s t e r   P r o p o r t i o n a l   A u t o s c a l e r   s c a l e s   t h e   n u m b e r   o f   r e p l i c a s   o f   a   w o r k l o a d ,   t h e   C l u s t e r   P r o p o r t i o n a l   V e r t i c a l   A u t o s c a l e r   a d j u s t s   t h e   r e s o u r c e   r e q u e s t s   f o r   a   w o r k l o a d   ( f o r   e x a m p l e   a   D e p l o y m e n t   o r   D a e m o n S e t )   b a s e d   o n   t h e   n u m b e r   o f   n o d e s   a n d / o r   c o r e s   i n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/autoscaling/",
    "id": "k8s_00643_section_3_14140"
  },
  {
    "question": "What is Event driven Autoscaling?",
    "answer": "I t   i s   a l s o   p o s s i b l e   t o   s c a l e   w o r k l o a d s   b a s e d   o n   e v e n t s ,   f o r   e x a m p l e   u s i n g   t h e   K u b e r n e t e s   E v e n t   D r i v e n   A u t o s c a l e r   ( K E D A ) .   K E D A   i s   a   C N C F - g r a d u a t e d   p r o j e c t   e n a b l i n g   y o u   t o   s c a l e   y o u r   w o r k l o a d s   b a s e d   o n   t h e   n u m b e r   o f   e v e n t s   t o   b e   p r o c e s s e d ,   f o r   e x a m p l e   t h e   a m o u n t   o f   m e s s a g e s   i n   a   q u e u e .   T h e r e   e x i s t s   a   w i d e   r a n g e   o f   a d a p t e r s   f o r   d i f f e r e n t   e v e n t   s o u r c e s   t o   c h o o s e   f r o m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/autoscaling/",
    "id": "k8s_00643_section_3_14141"
  },
  {
    "question": "What is Autoscaling based on schedules?",
    "answer": "A n o t h e r   s t r a t e g y   f o r   s c a l i n g   y o u r   w o r k l o a d s   i s   t o   s c h e d u l e   t h e   s c a l i n g   o p e r a t i o n s ,   f o r   e x a m p l e   i n   o r d e r   t o   r e d u c e   r e s o u r c e   c o n s u m p t i o n   d u r i n g   o f f - p e a k   h o u r s .   S i m i l a r   t o   e v e n t   d r i v e n   a u t o s c a l i n g ,   s u c h   b e h a v i o r   c a n   b e   a c h i e v e d   u s i n g   K E D A   i n   c o n j u n c t i o n   w i t h   i t s   C r o n   s c a l e r .   T h e   C r o n   s c a l e r   a l l o w s   y o u   t o   d e f i n e   s c h e d u l e s   ( a n d   t i m e   z o n e s )   f o r   s c a l i n g   y o u r   w o r k l o a d s   i n   o r   o u t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/autoscaling/",
    "id": "k8s_00643_section_3_14142"
  },
  {
    "question": "What is Scaling cluster infrastructure?",
    "answer": "I f   s c a l i n g   w o r k l o a d s   i s n ' t   e n o u g h   t o   m e e t   y o u r   n e e d s ,   y o u   c a n   a l s o   s c a l e   y o u r   c l u s t e r   i n f r a s t r u c t u r e   i t s e l f .   S c a l i n g   t h e   c l u s t e r   i n f r a s t r u c t u r e   n o r m a l l y   m e a n s   a d d i n g   o r   r e m o v i n g   n o d e s .   R e a d   N o d e   a u t o s c a l i n g   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/autoscaling/",
    "id": "k8s_00643_section_2_14143"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   s c a l i n g   h o r i z o n t a l l y S c a l e   a   S t a t e f u l S e t H o r i z o n t a l P o d A u t o s c a l e r   W a l k t h r o u g h R e s i z e   C o n t a i n e r   R e s o u r c e s   I n - P l a c e A u t o s c a l e   t h e   D N S   S e r v i c e   i n   a   C l u s t e r L e a r n   a b o u t   N o d e   a u t o s c a l i n g   S c a l e   a   S t a t e f u l S e t H o r i z o n t a l P o d A u t o s c a l e r   W a l k t h r o u g h",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/autoscaling/",
    "id": "k8s_00643_section_2_14144"
  },
  {
    "question": "What is Weave Net for NetworkPolicy?",
    "answer": "Weave Net for NetworkPolicyThis page shows how to use Weave Net for NetworkPolicy.Before you beginYou need to have a Kubernetes cluster. Follow the kubeadm getting started guide to bootstrap one.Install the Weave Net addonFollow the Integrating Kubernetes via the Addon guide.The Weave Net addon for Kubernetes comes with a Network Policy Controller that automatically monitors Kubernetes for any NetworkPolicy annotations on all namespaces and configures iptables rules to allow or block traffic as directed by the policies.Test the installationVerify that the weave works.Enter the following command:kubectl get pods -n kube-system -o wide The output is similar to this:NAME READY STATUS RESTARTS AGE IP NODE weave-net-1t1qg 2/2 Running 0 9d 192.168.2.10 worknode3 weave-net-231d7 2/2 Running 1 7d 10.2.0.17 worknodegpu weave-net-7nmwt 2/2 Running 3 9d 192.168.2.131 masternode weave-net-pmw8w 2/2 Running 0 9d 192.168.2.216 worknode2 Each Node has a weave Pod, and all Pods are Running and 2/2 READY. (2/2 means that each Pod has weave and weave-npc.)What's nextOnce you have installed the Weave Net addon, you can follow the Declare Network Policy to try out Kubernetes NetworkPolicy. If you have any question, contact us at #weave-community on Slack or Weave User Group.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/weave-network-policy/",
    "id": "k8s_00644_qa_14145"
  },
  {
    "question": "How does Weave Net for NetworkPolicy work?",
    "answer": "Weave Net for NetworkPolicyThis page shows how to use Weave Net for NetworkPolicy.Before you beginYou need to have a Kubernetes cluster. Follow the kubeadm getting started guide to bootstrap one.Install the Weave Net addonFollow the Integrating Kubernetes via the Addon guide.The Weave Net addon for Kubernetes comes with a Network Policy Controller that automatically monitors Kubernetes for any NetworkPolicy annotations on all namespaces and configures iptables rules to allow or block traffic as directed by the policies.Test the installationVerify that the weave works.Enter the following command:kubectl get pods -n kube-system -o wide The output is similar to this:NAME READY STATUS RESTARTS AGE IP NODE weave-net-1t1qg 2/2 Running 0 9d 192.168.2.10 worknode3 weave-net-231d7 2/2 Running 1 7d 10.2.0.17 worknodegpu weave-net-7nmwt 2/2 Running 3 9d 192.168.2.131 masternode weave-net-pmw8w 2/2 Running 0 9d 192.168.2.216 worknode2 Each Node has a weave Pod, and all Pods are Running and 2/2 READY. (2/2 means that each Pod has weave and weave-npc.)What's nextOnce you have installed the Weave Net addon, you can follow the Declare Network Policy to try out Kubernetes NetworkPolicy. If you have any question, contact us at #weave-community on Slack or Weave User Group.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/weave-network-policy/",
    "id": "k8s_00644_qa_14146"
  },
  {
    "question": "When would you use Weave Net for NetworkPolicy?",
    "answer": "Weave Net for NetworkPolicyThis page shows how to use Weave Net for NetworkPolicy.Before you beginYou need to have a Kubernetes cluster. Follow the kubeadm getting started guide to bootstrap one.Install the Weave Net addonFollow the Integrating Kubernetes via the Addon guide.The Weave Net addon for Kubernetes comes with a Network Policy Controller that automatically monitors Kubernetes for any NetworkPolicy annotations on all namespaces and configures iptables rules to allow or block traffic as directed by the policies.Test the installationVerify that the weave works.Enter the following command:kubectl get pods -n kube-system -o wide The output is similar to this:NAME READY STATUS RESTARTS AGE IP NODE weave-net-1t1qg 2/2 Running 0 9d 192.168.2.10 worknode3 weave-net-231d7 2/2 Running 1 7d 10.2.0.17 worknodegpu weave-net-7nmwt 2/2 Running 3 9d 192.168.2.131 masternode weave-net-pmw8w 2/2 Running 0 9d 192.168.2.216 worknode2 Each Node has a weave Pod, and all Pods are Running and 2/2 READY. (2/2 means that each Pod has weave and weave-npc.)What's nextOnce you have installed the Weave Net addon, you can follow the Declare Network Policy to try out Kubernetes NetworkPolicy. If you have any question, contact us at #weave-community on Slack or Weave User Group.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/weave-network-policy/",
    "id": "k8s_00644_qa_14147"
  },
  {
    "question": "What are the benefits of Weave Net for NetworkPolicy?",
    "answer": "Weave Net for NetworkPolicyThis page shows how to use Weave Net for NetworkPolicy.Before you beginYou need to have a Kubernetes cluster. Follow the kubeadm getting started guide to bootstrap one.Install the Weave Net addonFollow the Integrating Kubernetes via the Addon guide.The Weave Net addon for Kubernetes comes with a Network Policy Controller that automatically monitors Kubernetes for any NetworkPolicy annotations on all namespaces and configures iptables rules to allow or block traffic as directed by the policies.Test the installationVerify that the weave works.Enter the following command:kubectl get pods -n kube-system -o wide The output is similar to this:NAME READY STATUS RESTARTS AGE IP NODE weave-net-1t1qg 2/2 Running 0 9d 192.168.2.10 worknode3 weave-net-231d7 2/2 Running 1 7d 10.2.0.17 worknodegpu weave-net-7nmwt 2/2 Running 3 9d 192.168.2.131 masternode weave-net-pmw8w 2/2 Running 0 9d 192.168.2.216 worknode2 Each Node has a weave Pod, and all Pods are Running and 2/2 READY. (2/2 means that each Pod has weave and weave-npc.)What's nextOnce you have installed the Weave Net addon, you can follow the Declare Network Policy to try out Kubernetes NetworkPolicy. If you have any question, contact us at #weave-community on Slack or Weave User Group.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/weave-network-policy/",
    "id": "k8s_00644_qa_14148"
  },
  {
    "question": "What is Weave Net for NetworkPolicy?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   W e a v e   N e t   f o r   N e t w o r k P o l i c y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/weave-network-policy/",
    "id": "k8s_00644_section_1_14149"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r .   F o l l o w   t h e   k u b e a d m   g e t t i n g   s t a r t e d   g u i d e   t o   b o o t s t r a p   o n e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/weave-network-policy/",
    "id": "k8s_00644_section_2_14150"
  },
  {
    "question": "What is Install the Weave Net addon?",
    "answer": "F o l l o w   t h e   I n t e g r a t i n g   K u b e r n e t e s   v i a   t h e   A d d o n   g u i d e .   T h e   W e a v e   N e t   a d d o n   f o r   K u b e r n e t e s   c o m e s   w i t h   a   N e t w o r k   P o l i c y   C o n t r o l l e r   t h a t   a u t o m a t i c a l l y   m o n i t o r s   K u b e r n e t e s   f o r   a n y   N e t w o r k P o l i c y   a n n o t a t i o n s   o n   a l l   n a m e s p a c e s   a n d   c o n f i g u r e s   i p t a b l e s   r u l e s   t o   a l l o w   o r   b l o c k   t r a f f i c   a s   d i r e c t e d   b y   t h e   p o l i c i e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/weave-network-policy/",
    "id": "k8s_00644_section_2_14151"
  },
  {
    "question": "What is Test the installation?",
    "answer": "V e r i f y   t h a t   t h e   w e a v e   w o r k s .   E n t e r   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   g e t   p o d s   - n   k u b e - s y s t e m   - o   w i d e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   w e a v e - n e t - 1 t 1 q g   2 / 2   R u n n i n g   0   9 d   1 9 2 . 1 6 8 . 2 . 1 0   w o r k n o d e 3   w e a v e - n e t - 2 3 1 d 7   2 / 2   R u n n i n g   1   7 d   1 0 . 2 . 0 . 1 7   w o r k n o d e g p u   w e a v e - n e t - 7 n m w t   2 / 2   R u n n i n g   3   9 d   1 9 2 . 1 6 8 . 2 . 1 3 1   m a s t e r n o d e   w e a v e - n e t - p m w 8 w   2 / 2   R u n n i n g   0   9 d   1 9 2 . 1 6 8 . 2 . 2 1 6   w o r k n o d e 2   E a c h   N o d e   h a s   a   w e a v e   P o d ,   a n d   a l l   P o d s   a r e   R u n n i n g   a n d   2 / 2   R E A D Y .   ( 2 / 2   m e a n s   t h a t   e a c h   P o d   h a s   w e a v e   a n d   w e a v e - n p c . )",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/weave-network-policy/",
    "id": "k8s_00644_section_2_14152"
  },
  {
    "question": "What is What's next?",
    "answer": "O n c e   y o u   h a v e   i n s t a l l e d   t h e   W e a v e   N e t   a d d o n ,   y o u   c a n   f o l l o w   t h e   D e c l a r e   N e t w o r k   P o l i c y   t o   t r y   o u t   K u b e r n e t e s   N e t w o r k P o l i c y .   I f   y o u   h a v e   a n y   q u e s t i o n ,   c o n t a c t   u s   a t   # w e a v e - c o m m u n i t y   o n   S l a c k   o r   W e a v e   U s e r   G r o u p .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/weave-network-policy/",
    "id": "k8s_00644_section_2_14153"
  },
  {
    "question": "What is Documentation Style Guide?",
    "answer": "Documentation Style GuideThis page gives writing style guidelines for the Kubernetes documentation. These are guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.For additional information on creating new content for the Kubernetes documentation, read the Documentation Content Guide.Changes to the style guide are made by SIG Docs as a group. To propose a change or addition, add it to the agenda for an upcoming SIG Docs meeting, and attend the meeting to participate in the discussion.Note:Kubernetes documentation uses Goldmark Markdown Renderer with some adjustments along with a few Hugo Shortcodes to support glossary entries, tabs, and representing feature state.LanguageKubernetes documentation has been translated into multiple languages (see Localization READMEs).The way of localizing the docs for a different language is described in Localizing Kubernetes Documentation.The English-language documentation uses U.S. English spelling and grammar.Documentation formatting standardsUse upper camel case for API objectsWhen you refer specifically to interacting with an API object, use UpperCamelCase, also known as Pascal case. You may see different capitalization, such as \"configMap\", in the API Reference. When writing general documentation, it's better to use upper camel case, calling it \"ConfigMap\" instead.When you are generally discussing an API object, use sentence-style capitalization.The following examples focus on capitalization. For more information about formatting API object names, review the related guidance on Code Style.Do and Don't - Use Pascal case for API objectsDoDon'tThe HorizontalPodAutoscaler resource is responsible for ...The Horizontal pod autoscaler is responsible for ...A PodList object is a list of pods.A Pod List object is a list of pods.The Volume object contains a hostPath field.The volume object contains a hostPath field.Every ConfigMap object is part of a namespace.Every configMap object is part of a namespace.For managing confidential data, consider using the Secret API.For managing confidential data, consider using the secret API.Use angle brackets for placeholdersUse angle brackets for placeholders. Tell the reader what a placeholder represents, for example:Display information about a pod:kubectl describe pod <pod-name> -n <namespace> If the namespace of the pod is default, you can omit the '-n' parameter.Use bold for user interface elementsDo and Don't - Bold interface elementsDoDon'tClick Fork.Click \"Fork\".Select Other.Select \"Other\".Use italics to define or introduce new termsDo and Don't - Use italics for new termsDoDon'tA cluster is a set of nodes ...A \"cluster\" is a set of nodes ...These components form the control plane.These components form the control plane.Use code style for filenames, directories, and pathsDo and Don't - Use code style for filenames, directories, and pathsDoDon'tOpen the envars.yaml file.Open the envars.yaml file.Go to the /docs/tut",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_qa_14154"
  },
  {
    "question": "How does Documentation Style Guide work?",
    "answer": "Documentation Style GuideThis page gives writing style guidelines for the Kubernetes documentation. These are guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.For additional information on creating new content for the Kubernetes documentation, read the Documentation Content Guide.Changes to the style guide are made by SIG Docs as a group. To propose a change or addition, add it to the agenda for an upcoming SIG Docs meeting, and attend the meeting to participate in the discussion.Note:Kubernetes documentation uses Goldmark Markdown Renderer with some adjustments along with a few Hugo Shortcodes to support glossary entries, tabs, and representing feature state.LanguageKubernetes documentation has been translated into multiple languages (see Localization READMEs).The way of localizing the docs for a different language is described in Localizing Kubernetes Documentation.The English-language documentation uses U.S. English spelling and grammar.Documentation formatting standardsUse upper camel case for API objectsWhen you refer specifically to interacting with an API object, use UpperCamelCase, also known as Pascal case. You may see different capitalization, such as \"configMap\", in the API Reference. When writing general documentation, it's better to use upper camel case, calling it \"ConfigMap\" instead.When you are generally discussing an API object, use sentence-style capitalization.The following examples focus on capitalization. For more information about formatting API object names, review the related guidance on Code Style.Do and Don't - Use Pascal case for API objectsDoDon'tThe HorizontalPodAutoscaler resource is responsible for ...The Horizontal pod autoscaler is responsible for ...A PodList object is a list of pods.A Pod List object is a list of pods.The Volume object contains a hostPath field.The volume object contains a hostPath field.Every ConfigMap object is part of a namespace.Every configMap object is part of a namespace.For managing confidential data, consider using the Secret API.For managing confidential data, consider using the secret API.Use angle brackets for placeholdersUse angle brackets for placeholders. Tell the reader what a placeholder represents, for example:Display information about a pod:kubectl describe pod <pod-name> -n <namespace> If the namespace of the pod is default, you can omit the '-n' parameter.Use bold for user interface elementsDo and Don't - Bold interface elementsDoDon'tClick Fork.Click \"Fork\".Select Other.Select \"Other\".Use italics to define or introduce new termsDo and Don't - Use italics for new termsDoDon'tA cluster is a set of nodes ...A \"cluster\" is a set of nodes ...These components form the control plane.These components form the control plane.Use code style for filenames, directories, and pathsDo and Don't - Use code style for filenames, directories, and pathsDoDon'tOpen the envars.yaml file.Open the envars.yaml file.Go to the /docs/tut",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_qa_14155"
  },
  {
    "question": "When would you use Documentation Style Guide?",
    "answer": "Documentation Style GuideThis page gives writing style guidelines for the Kubernetes documentation. These are guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.For additional information on creating new content for the Kubernetes documentation, read the Documentation Content Guide.Changes to the style guide are made by SIG Docs as a group. To propose a change or addition, add it to the agenda for an upcoming SIG Docs meeting, and attend the meeting to participate in the discussion.Note:Kubernetes documentation uses Goldmark Markdown Renderer with some adjustments along with a few Hugo Shortcodes to support glossary entries, tabs, and representing feature state.LanguageKubernetes documentation has been translated into multiple languages (see Localization READMEs).The way of localizing the docs for a different language is described in Localizing Kubernetes Documentation.The English-language documentation uses U.S. English spelling and grammar.Documentation formatting standardsUse upper camel case for API objectsWhen you refer specifically to interacting with an API object, use UpperCamelCase, also known as Pascal case. You may see different capitalization, such as \"configMap\", in the API Reference. When writing general documentation, it's better to use upper camel case, calling it \"ConfigMap\" instead.When you are generally discussing an API object, use sentence-style capitalization.The following examples focus on capitalization. For more information about formatting API object names, review the related guidance on Code Style.Do and Don't - Use Pascal case for API objectsDoDon'tThe HorizontalPodAutoscaler resource is responsible for ...The Horizontal pod autoscaler is responsible for ...A PodList object is a list of pods.A Pod List object is a list of pods.The Volume object contains a hostPath field.The volume object contains a hostPath field.Every ConfigMap object is part of a namespace.Every configMap object is part of a namespace.For managing confidential data, consider using the Secret API.For managing confidential data, consider using the secret API.Use angle brackets for placeholdersUse angle brackets for placeholders. Tell the reader what a placeholder represents, for example:Display information about a pod:kubectl describe pod <pod-name> -n <namespace> If the namespace of the pod is default, you can omit the '-n' parameter.Use bold for user interface elementsDo and Don't - Bold interface elementsDoDon'tClick Fork.Click \"Fork\".Select Other.Select \"Other\".Use italics to define or introduce new termsDo and Don't - Use italics for new termsDoDon'tA cluster is a set of nodes ...A \"cluster\" is a set of nodes ...These components form the control plane.These components form the control plane.Use code style for filenames, directories, and pathsDo and Don't - Use code style for filenames, directories, and pathsDoDon'tOpen the envars.yaml file.Open the envars.yaml file.Go to the /docs/tut",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_qa_14156"
  },
  {
    "question": "What are the benefits of Documentation Style Guide?",
    "answer": "Documentation Style GuideThis page gives writing style guidelines for the Kubernetes documentation. These are guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.For additional information on creating new content for the Kubernetes documentation, read the Documentation Content Guide.Changes to the style guide are made by SIG Docs as a group. To propose a change or addition, add it to the agenda for an upcoming SIG Docs meeting, and attend the meeting to participate in the discussion.Note:Kubernetes documentation uses Goldmark Markdown Renderer with some adjustments along with a few Hugo Shortcodes to support glossary entries, tabs, and representing feature state.LanguageKubernetes documentation has been translated into multiple languages (see Localization READMEs).The way of localizing the docs for a different language is described in Localizing Kubernetes Documentation.The English-language documentation uses U.S. English spelling and grammar.Documentation formatting standardsUse upper camel case for API objectsWhen you refer specifically to interacting with an API object, use UpperCamelCase, also known as Pascal case. You may see different capitalization, such as \"configMap\", in the API Reference. When writing general documentation, it's better to use upper camel case, calling it \"ConfigMap\" instead.When you are generally discussing an API object, use sentence-style capitalization.The following examples focus on capitalization. For more information about formatting API object names, review the related guidance on Code Style.Do and Don't - Use Pascal case for API objectsDoDon'tThe HorizontalPodAutoscaler resource is responsible for ...The Horizontal pod autoscaler is responsible for ...A PodList object is a list of pods.A Pod List object is a list of pods.The Volume object contains a hostPath field.The volume object contains a hostPath field.Every ConfigMap object is part of a namespace.Every configMap object is part of a namespace.For managing confidential data, consider using the Secret API.For managing confidential data, consider using the secret API.Use angle brackets for placeholdersUse angle brackets for placeholders. Tell the reader what a placeholder represents, for example:Display information about a pod:kubectl describe pod <pod-name> -n <namespace> If the namespace of the pod is default, you can omit the '-n' parameter.Use bold for user interface elementsDo and Don't - Bold interface elementsDoDon'tClick Fork.Click \"Fork\".Select Other.Select \"Other\".Use italics to define or introduce new termsDo and Don't - Use italics for new termsDoDon'tA cluster is a set of nodes ...A \"cluster\" is a set of nodes ...These components form the control plane.These components form the control plane.Use code style for filenames, directories, and pathsDo and Don't - Use code style for filenames, directories, and pathsDoDon'tOpen the envars.yaml file.Open the envars.yaml file.Go to the /docs/tut",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_qa_14157"
  },
  {
    "question": "What is Documentation Style Guide?",
    "answer": "T h i s   p a g e   g i v e s   w r i t i n g   s t y l e   g u i d e l i n e s   f o r   t h e   K u b e r n e t e s   d o c u m e n t a t i o n .   T h e s e   a r e   g u i d e l i n e s ,   n o t   r u l e s .   U s e   y o u r   b e s t   j u d g m e n t ,   a n d   f e e l   f r e e   t o   p r o p o s e   c h a n g e s   t o   t h i s   d o c u m e n t   i n   a   p u l l   r e q u e s t .   F o r   a d d i t i o n a l   i n f o r m a t i o n   o n   c r e a t i n g   n e w   c o n t e n t   f o r   t h e   K u b e r n e t e s   d o c u m e n t a t i o n ,   r e a d   t h e   D o c u m e n t a t i o n   C o n t e n t   G u i d e .   C h a n g e s   t o   t h e   s t y l e   g u i d e   a r e   m a d e   b y   S I G   D o c s   a s   a   g r o u p .   T o   p r o p o s e   a   c h a n g e   o r   a d d i t i o n ,   a d d   i t   t o   t h e   a g e n d a   f o r   a n   u p c o m i n g   S I G   D o c s   m e e t i n g ,   a n d   a t t e n d   t h e   m e e t i n g   t o   p a r t i c i p a t e   i n   t h e   d i s c u s s i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_1_14158"
  },
  {
    "question": "What is Language?",
    "answer": "K u b e r n e t e s   d o c u m e n t a t i o n   h a s   b e e n   t r a n s l a t e d   i n t o   m u l t i p l e   l a n g u a g e s   ( s e e   L o c a l i z a t i o n   R E A D M E s ) .   T h e   w a y   o f   l o c a l i z i n g   t h e   d o c s   f o r   a   d i f f e r e n t   l a n g u a g e   i s   d e s c r i b e d   i n   L o c a l i z i n g   K u b e r n e t e s   D o c u m e n t a t i o n .   T h e   E n g l i s h - l a n g u a g e   d o c u m e n t a t i o n   u s e s   U . S .   E n g l i s h   s p e l l i n g   a n d   g r a m m a r .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_2_14159"
  },
  {
    "question": "What is Use upper camel case for API objects?",
    "answer": "W h e n   y o u   r e f e r   s p e c i f i c a l l y   t o   i n t e r a c t i n g   w i t h   a n   A P I   o b j e c t ,   u s e   U p p e r C a m e l C a s e ,   a l s o   k n o w n   a s   P a s c a l   c a s e .   Y o u   m a y   s e e   d i f f e r e n t   c a p i t a l i z a t i o n ,   s u c h   a s   \" c o n f i g M a p \" ,   i n   t h e   A P I   R e f e r e n c e .   W h e n   w r i t i n g   g e n e r a l   d o c u m e n t a t i o n ,   i t ' s   b e t t e r   t o   u s e   u p p e r   c a m e l   c a s e ,   c a l l i n g   i t   \" C o n f i g M a p \"   i n s t e a d .   W h e n   y o u   a r e   g e n e r a l l y   d i s c u s s i n g   a n   A P I   o b j e c t ,   u s e   s e n t e n c e - s t y l e   c a p i t a l i z a t i o n .   T h e   f o l l o w i n g   e x a m p l e s   f o c u s   o n   c a p i t a l i z a t i o n .   F o r   m o r e   i n f o r m a t i o n   a b o u t   f o r m a t t i n g   A P I   o b j e c t   n a m e s ,   r e v i e w   t h e   r e l a t e d   g u i d a n c e   o n   C o d e   S t y l e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14160"
  },
  {
    "question": "What is Use angle brackets for placeholders?",
    "answer": "U s e   a n g l e   b r a c k e t s   f o r   p l a c e h o l d e r s .   T e l l   t h e   r e a d e r   w h a t   a   p l a c e h o l d e r   r e p r e s e n t s ,   f o r   e x a m p l e :   D i s p l a y   i n f o r m a t i o n   a b o u t   a   p o d :   k u b e c t l   d e s c r i b e   p o d   < p o d - n a m e >   - n   < n a m e s p a c e >   I f   t h e   n a m e s p a c e   o f   t h e   p o d   i s   d e f a u l t ,   y o u   c a n   o m i t   t h e   ' - n '   p a r a m e t e r .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14161"
  },
  {
    "question": "What is Use code style for inline code, commands?",
    "answer": "F o r   i n l i n e   c o d e   i n   a n   H T M L   d o c u m e n t ,   u s e   t h e   < c o d e >   t a g .   I n   a   M a r k d o w n   d o c u m e n t ,   u s e   t h e   b a c k t i c k   ( ` ) .   H o w e v e r ,   A P I   k i n d s   s u c h   a s   S t a t e f u l S e t   o r   C o n f i g M a p   a r e   w r i t t e n   v e r b a t i m   ( n o   b a c k t i c k s ) ;   t h i s   a l l o w s   u s i n g   p o s s e s s i v e   a p o s t r o p h e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14162"
  },
  {
    "question": "What is Use normal style for string and integer field values?",
    "answer": "F o r   f i e l d   v a l u e s   o f   t y p e   s t r i n g   o r   i n t e g e r ,   u s e   n o r m a l   s t y l e   w i t h o u t   q u o t a t i o n   m a r k s .   H o w e v e r ,   c o n s i d e r   q u o t i n g   v a l u e s   w h e r e   t h e r e   i s   a   r i s k   t h a t   r e a d e r s   m i g h t   c o n f u s e   t h e   v a l u e   w i t h   a n   A P I   k i n d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14163"
  },
  {
    "question": "What is Referring to Kubernetes API resources?",
    "answer": "T h i s   s e c t i o n   t a l k s   a b o u t   h o w   w e   r e f e r e n c e   A P I   r e s o u r c e s   i n   t h e   d o c u m e n t a t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_2_14164"
  },
  {
    "question": "What is Clarification about \"resource\"?",
    "answer": "K u b e r n e t e s   u s e s   t h e   w o r d   r e s o u r c e   t o   r e f e r   t o   A P I   r e s o u r c e s .   F o r   e x a m p l e ,   t h e   U R L   p a t h   / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / d e p l o y m e n t s / m y - a p p   r e p r e s e n t s   a   D e p l o y m e n t   n a m e d   \" m y - a p p \"   i n   t h e   \" d e f a u l t \"   n a m e s p a c e .   I n   H T T P   j a r g o n ,   n a m e s p a c e   i s   a   r e s o u r c e   -   t h e   s a m e   w a y   t h a t   a l l   w e b   U R L s   i d e n t i f y   a   r e s o u r c e .   K u b e r n e t e s   d o c u m e n t a t i o n   a l s o   u s e s   \" r e s o u r c e \"   t o   t a l k   a b o u t   C P U   a n d   m e m o r y   r e q u e s t s   a n d   l i m i t s .   I t ' s   v e r y   o f t e n   a   g o o d   i d e a   t o   r e f e r   t o   A P I   r e s o u r c e s   a s   \" A P I   r e s o u r c e s \" ;   t h a t   h e l p s   t o   a v o i d   c o n f u s i o n   w i t h   C P U   a n d   m e m o r y   r e s o u r c e s ,   o r   w i t h   o t h e r   k i n d s   o f   r e s o u r c e .   I f   y o u   a r e   u s i n g   t h e   l o w e r c a s e   p l u r a l   f o r m   o f   a   r e s o u r c e   n a m e ,   s u c h   a s   d e p l o y m e n t s   o r   c o n f i g m a p s ,   p r o v i d e   e x t r a   w r i t t e n   c o n t e x t   t o   h e l p   r e a d e r s   u n d e r s t a n d   w h a t   y o u   m e a n .   I f   y o u   a r e   u s i n g   t h e   t e r m   i n   a   c o n t e x t   w h e r e   t h e   U p p e r C a m e l C a s e   n a m e   c o u l d   w o r k   t o o ,   a n d   t h e r e   i s   a   r i s k   o f   a m b i g u i t y ,   c o n s i d e r   u s i n g   t h e   A P I   k i n d   i n   U p p e r C a m e l C a s e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14165"
  },
  {
    "question": "What is When to use Kubernetes API terminologies?",
    "answer": "T h e   d i f f e r e n t   K u b e r n e t e s   A P I   t e r m i n o l o g i e s   a r e :   A P I   k i n d s :   t h e   n a m e   u s e d   i n   t h e   A P I   U R L   ( s u c h   a s   p o d s ,   n a m e s p a c e s ) .   A P I   k i n d s   a r e   s o m e t i m e s   a l s o   c a l l e d   r e s o u r c e   t y p e s . A P I   r e s o u r c e :   a   s i n g l e   i n s t a n c e   o f   a n   A P I   k i n d   ( s u c h   a s   p o d ,   s e c r e t ) . O b j e c t :   a   r e s o u r c e   t h a t   s e r v e s   a s   a   \" r e c o r d   o f   i n t e n t \" .   A n   o b j e c t   i s   a   d e s i r e d   s t a t e   f o r   a   s p e c i f i c   p a r t   o f   y o u r   c l u s t e r ,   w h i c h   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   t r i e s   t o   m a i n t a i n .   A l l   o b j e c t s   i n   t h e   K u b e r n e t e s   A P I   a r e   a l s o   r e s o u r c e s .   F o r   c l a r i t y ,   y o u   c a n   a d d   \" r e s o u r c e \"   o r   \" o b j e c t \"   w h e n   r e f e r r i n g   t o   a n   A P I   r e s o u r c e   i n   K u b e r n e t e s   d o c u m e n t a t i o n .   A n   e x a m p l e :   w r i t e   \" a   S e c r e t   o b j e c t \"   i n s t e a d   o f   \" a   S e c r e t \" .   I f   i t   i s   c l e a r   j u s t   f r o m   t h e   c a p i t a l i z a t i o n ,   y o u   d o n ' t   n e e d   t o   a d d   t h e   e x t r a   w o r d .   C o n s i d e r   r e p h r a s i n g   w h e n   t h a t   c h a n g e   h e l p s   a v o i d   m i s u n d e r s t a n d i n g s .   A   c o m m o n   s i t u a t i o n   i s   w h e n   y o u   w a n t   t o   s t a r t   a   s e n t e n c e   w i t h   a n   A P I   k i n d ,   s u c h   a s   “ S e c r e t ” ;   b e c a u s e   E n g l i s h   a n d   o t h e r   l a n g u a g e s   c a p i t a l i z e   a t   t h e   s t a r t   o f   s e n t e n c e s ,   r e a d e r s   c a n n o t   t e l l   w h e t h e r   y o u   m e a n   t h e   A P I   k i ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14166"
  },
  {
    "question": "What is API resource names?",
    "answer": "A l w a y s   f o r m a t   A P I   r e s o u r c e   n a m e s   u s i n g   U p p e r C a m e l C a s e ,   a l s o   k n o w n   a s   P a s c a l C a s e .   D o   n o t   w r i t e   A P I   k i n d s   w i t h   c o d e   f o r m a t t i n g .   D o n ' t   s p l i t   a n   A P I   o b j e c t   n a m e   i n t o   s e p a r a t e   w o r d s .   F o r   e x a m p l e ,   u s e   P o d T e m p l a t e L i s t ,   n o t   P o d   T e m p l a t e   L i s t .   F o r   m o r e   i n f o r m a t i o n   a b o u t   P a s c a l C a s e   a n d   c o d e   f o r m a t t i n g ,   r e v i e w   t h e   r e l a t e d   g u i d a n c e   o n   U s e   u p p e r   c a m e l   c a s e   f o r   A P I   o b j e c t s   a n d   U s e   c o d e   s t y l e   f o r   i n l i n e   c o d e ,   c o m m a n d s ,   a n d   A P I   o b j e c t s .   F o r   m o r e   i n f o r m a t i o n   a b o u t   K u b e r n e t e s   A P I   t e r m i n o l o g i e s ,   r e v i e w   t h e   r e l a t e d   g u i d a n c e   o n   K u b e r n e t e s   A P I   t e r m i n o l o g y .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14167"
  },
  {
    "question": "What is Separate commands from output?",
    "answer": "V e r i f y   t h a t   t h e   p o d   i s   r u n n i n g   o n   y o u r   c h o s e n   n o d e :   k u b e c t l   g e t   p o d s   - - o u t p u t = w i d e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   n g i n x   1 / 1   R u n n i n g   0   1 3 s   1 0 . 2 0 0 . 0 . 4   w o r k e r 0",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14168"
  },
  {
    "question": "What is Versioning Kubernetes examples?",
    "answer": "C o d e   e x a m p l e s   a n d   c o n f i g u r a t i o n   e x a m p l e s   t h a t   i n c l u d e   v e r s i o n   i n f o r m a t i o n   s h o u l d   b e   c o n s i s t e n t   w i t h   t h e   a c c o m p a n y i n g   t e x t .   I f   t h e   i n f o r m a t i o n   i s   v e r s i o n   s p e c i f i c ,   t h e   K u b e r n e t e s   v e r s i o n   n e e d s   t o   b e   d e f i n e d   i n   t h e   p r e r e q u i s i t e s   s e c t i o n   o f   t h e   T a s k   t e m p l a t e   o r   t h e   T u t o r i a l   t e m p l a t e .   O n c e   t h e   p a g e   i s   s a v e d ,   t h e   p r e r e q u i s i t e s   s e c t i o n   i s   s h o w n   a s   B e f o r e   y o u   b e g i n .   T o   s p e c i f y   t h e   K u b e r n e t e s   v e r s i o n   f o r   a   t a s k   o r   t u t o r i a l   p a g e ,   i n c l u d e   m i n - k u b e r n e t e s - s e r v e r - v e r s i o n   i n   t h e   f r o n t   m a t t e r   o f   t h e   p a g e .   I f   t h e   e x a m p l e   Y A M L   i s   i n   a   s t a n d a l o n e   f i l e ,   f i n d   a n d   r e v i e w   t h e   t o p i c s   t h a t   i n c l u d e   i t   a s   a   r e f e r e n c e .   V e r i f y   t h a t   a n y   t o p i c s   u s i n g   t h e   s t a n d a l o n e   Y A M L   h a v e   t h e   a p p r o p r i a t e   v e r s i o n   i n f o r m a t i o n   d e f i n e d .   I f   a   s t a n d - a l o n e   Y A M L   f i l e   i s   n o t   r e f e r e n c e d   f r o m   a n y   t o p i c s ,   c o n s i d e r   d e l e t i n g   i t   i n s t e a d   o f   u p d a t i n g   i t .   F o r   e x a m p l e ,   i f   y o u   a r e   w r i t i n g   a   t u t o r i a l   t h a t   i s   r e l e v a n t   t o   K u b e r n e t e s   v e r s i o n   1 . 8 ,   t h e   f r o n t - m a t t e r   o f   y o u r   m a r k d o w n   f i l e   s h o u l d   l o o k   s o m e t h i n g   l i k e :   - - -   t i t l e :   < y o u r   t u t o r i a l   t i t l e   h e r e >   m i ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14169"
  },
  {
    "question": "What is Formulae and equations?",
    "answer": "Y o u   c a n   u s e   t h e   D o c s y   s u p p o r t   f o r   d i a g r a m s   a n d   f o r m u l a e .   F o r   e x a m p l e :   \\ \\ ( \\ f r a c { 7 } { 9 }   \\ s q r t { K ^ 8   s } \\ \\ ) ,   w h i c h   r e n d e r s   a s   \\ ( \\ f r a c { 7 } { 9 }   \\ s q r t { K ^ 8   s } \\ ) .   P r e f e r   i n l i n e   f o r m u l a e   w h e r e   r e a s o n a b l e ,   b u t   y o u   c a n   u s e   a   m a t h   b l o c k   i f   t h a t ' s   l i k e l y   t o   h e l p   r e a d e r s .   R e a d   t h e   D o c s y   g u i d e   t o   f i n d   o u t   w h a t   y o u   n e e d   t o   c h a n g e   i n   y o u r   p a g e   t o   a c t i v a t e   s u p p o r t ;   i f   y o u   h a v e   p r o b l e m s ,   a d d   m a t h :   t r u e   t o   t h e   p a g e   f r o n t   m a t t e r   ( y o u   c a n   d o   t h i s   e v e n   i f   y o u   t h i n k   t h e   a u t o m a t i c   a c t i v a t i o n   s h o u l d   b e   e n o u g h ) .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_2_14170"
  },
  {
    "question": "What is Kubernetes.io word list?",
    "answer": "A   l i s t   o f   K u b e r n e t e s - s p e c i f i c   t e r m s   a n d   w o r d s   t o   b e   u s e d   c o n s i s t e n t l y   a c r o s s   t h e   s i t e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_2_14171"
  },
  {
    "question": "What is Shortcodes?",
    "answer": "H u g o   S h o r t c o d e s   h e l p   c r e a t e   d i f f e r e n t   r h e t o r i c a l   a p p e a l   l e v e l s .   O u r   d o c u m e n t a t i o n   s u p p o r t s   t h r e e   d i f f e r e n t   s h o r t c o d e s   i n   t h i s   c a t e g o r y :   N o t e   { { <   n o t e   > } } ,   C a u t i o n   { { <   c a u t i o n   > } } ,   a n d   W a r n i n g   { { <   w a r n i n g   > } } .   S u r r o u n d   t h e   t e x t   w i t h   a n   o p e n i n g   a n d   c l o s i n g   s h o r t c o d e . U s e   t h e   f o l l o w i n g   s y n t a x   t o   a p p l y   a   s t y l e : { { <   n o t e   > } }   N o   n e e d   t o   i n c l u d e   a   p r e f i x ;   t h e   s h o r t c o d e   a u t o m a t i c a l l y   p r o v i d e s   o n e .   ( N o t e : ,   C a u t i o n : ,   e t c . )   { { <   / n o t e   > } }   T h e   o u t p u t   i s : N o t e : T h e   p r e f i x   y o u   c h o o s e   i s   t h e   s a m e   t e x t   f o r   t h e   t a g .   S u r r o u n d   t h e   t e x t   w i t h   a n   o p e n i n g   a n d   c l o s i n g   s h o r t c o d e .   U s e   t h e   f o l l o w i n g   s y n t a x   t o   a p p l y   a   s t y l e :   { { <   n o t e   > } }   N o   n e e d   t o   i n c l u d e   a   p r e f i x ;   t h e   s h o r t c o d e   a u t o m a t i c a l l y   p r o v i d e s   o n e .   ( N o t e : ,   C a u t i o n : ,   e t c . )   { { <   / n o t e   > } }   T h e   o u t p u t   i s :",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_2_14172"
  },
  {
    "question": "What is Note?",
    "answer": "U s e   { { <   n o t e   > } }   t o   h i g h l i g h t   a   t i p   o r   a   p i e c e   o f   i n f o r m a t i o n   t h a t   m a y   b e   h e l p f u l   t o   k n o w .   F o r   e x a m p l e :   { { <   n o t e   > } }   Y o u   c a n   _ s t i l l _   u s e   M a r k d o w n   i n s i d e   t h e s e   c a l l o u t s .   { { <   / n o t e   > } }   T h e   o u t p u t   i s :",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14173"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   u s e   a   { { <   n o t e   > } }   i n   a   l i s t :   1 .   U s e   t h e   n o t e   s h o r t c o d e   i n   a   l i s t   1 .   A   s e c o n d   i t e m   w i t h   a n   e m b e d d e d   n o t e   { { <   n o t e   > } }   W a r n i n g ,   C a u t i o n ,   a n d   N o t e   s h o r t c o d e s ,   e m b e d d e d   i n   l i s t s ,   n e e d   t o   b e   i n d e n t e d   f o u r   s p a c e s .   S e e   [ C o m m o n   S h o r t c o d e   I s s u e s ] ( # c o m m o n - s h o r t c o d e - i s s u e s ) .   { { <   / n o t e   > } }   1 .   A   t h i r d   i t e m   i n   a   l i s t   1 .   A   f o u r t h   i t e m   i n   a   l i s t   T h e   o u t p u t   i s :   U s e   t h e   n o t e   s h o r t c o d e   i n   a   l i s t A   s e c o n d   i t e m   w i t h   a n   e m b e d d e d   n o t e N o t e : W a r n i n g ,   C a u t i o n ,   a n d   N o t e   s h o r t c o d e s ,   e m b e d d e d   i n   l i s t s ,   n e e d   t o   b e   i n d e n t e d   f o u r   s p a c e s .   S e e   [ C o m m o n   S h o r t c o d e   I s s u e s ] ( # c o m m o n - s h o r t c o d e - i s s u e s ) .   A   t h i r d   i t e m   i n   a   l i s t A   f o u r t h   i t e m   i n   a   l i s t   U s e   t h e   n o t e   s h o r t c o d e   i n   a   l i s t   A   s e c o n d   i t e m   w i t h   a n   e m b e d d e d   n o t e",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_4_14174"
  },
  {
    "question": "What is Note:?",
    "answer": "W a r n i n g ,   C a u t i o n ,   a n d   N o t e   s h o r t c o d e s ,   e m b e d d e d   i n   l i s t s ,   n e e d   t o   b e   i n d e n t e d   f o u r   s p a c e s .   S e e   [ C o m m o n   S h o r t c o d e   I s s u e s ] ( # c o m m o n - s h o r t c o d e - i s s u e s ) .   A   t h i r d   i t e m   i n   a   l i s t   A   f o u r t h   i t e m   i n   a   l i s t",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_4_14175"
  },
  {
    "question": "What is Caution?",
    "answer": "U s e   { { <   c a u t i o n   > } }   t o   c a l l   a t t e n t i o n   t o   a n   i m p o r t a n t   p i e c e   o f   i n f o r m a t i o n   t o   a v o i d   p i t f a l l s .   F o r   e x a m p l e :   { { <   c a u t i o n   > } }   T h e   c a l l o u t   s t y l e   o n l y   a p p l i e s   t o   t h e   l i n e   d i r e c t l y   a b o v e   t h e   t a g .   { { <   / c a u t i o n   > } }   T h e   o u t p u t   i s :",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14176"
  },
  {
    "question": "What is Warning?",
    "answer": "U s e   { { <   w a r n i n g   > } }   t o   i n d i c a t e   d a n g e r   o r   a   p i e c e   o f   i n f o r m a t i o n   t h a t   i s   c r u c i a l   t o   f o l l o w .   F o r   e x a m p l e :   { { <   w a r n i n g   > } }   B e w a r e .   { { <   / w a r n i n g   > } }   T h e   o u t p u t   i s :",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14177"
  },
  {
    "question": "What is Ordered Lists?",
    "answer": "S h o r t c o d e s   w i l l   i n t e r r u p t   n u m b e r e d   l i s t s   u n l e s s   y o u   i n d e n t   f o u r   s p a c e s   b e f o r e   t h e   n o t i c e   a n d   t h e   t a g .   F o r   e x a m p l e :   1 .   P r e h e a t   o v e n   t o   3 5 0 ˚ F   1 .   P r e p a r e   t h e   b a t t e r ,   a n d   p o u r   i n t o   s p r i n g f o r m   p a n .   { { <   n o t e   > } } G r e a s e   t h e   p a n   f o r   b e s t   r e s u l t s . { { <   / n o t e   > } }   1 .   B a k e   f o r   2 0 - 2 5   m i n u t e s   o r   u n t i l   s e t .   T h e   o u t p u t   i s :   P r e h e a t   o v e n   t o   3 5 0 ˚ F P r e p a r e   t h e   b a t t e r ,   a n d   p o u r   i n t o   s p r i n g f o r m   p a n . N o t e : G r e a s e   t h e   p a n   f o r   b e s t   r e s u l t s . B a k e   f o r   2 0 - 2 5   m i n u t e s   o r   u n t i l   s e t .   P r e h e a t   o v e n   t o   3 5 0 ˚ F   P r e p a r e   t h e   b a t t e r ,   a n d   p o u r   i n t o   s p r i n g f o r m   p a n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14178"
  },
  {
    "question": "What is Note:?",
    "answer": "B a k e   f o r   2 0 - 2 5   m i n u t e s   o r   u n t i l   s e t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_4_14179"
  },
  {
    "question": "What is Include Statements?",
    "answer": "S h o r t c o d e s   i n s i d e   i n c l u d e   s t a t e m e n t s   w i l l   b r e a k   t h e   b u i l d .   Y o u   m u s t   i n s e r t   t h e m   i n   t h e   p a r e n t   d o c u m e n t ,   b e f o r e   a n d   a f t e r   y o u   c a l l   t h e   i n c l u d e .   F o r   e x a m p l e :   { { <   n o t e   > } }   { { <   i n c l u d e   \" t a s k - t u t o r i a l - p r e r e q s . m d \"   > } }   { { <   / n o t e   > } }",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14180"
  },
  {
    "question": "What is Line breaks?",
    "answer": "U s e   a   s i n g l e   n e w l i n e   t o   s e p a r a t e   b l o c k - l e v e l   c o n t e n t   l i k e   h e a d i n g s ,   l i s t s ,   i m a g e s ,   c o d e   b l o c k s ,   a n d   o t h e r s .   T h e   e x c e p t i o n   i s   s e c o n d - l e v e l   h e a d i n g s ,   w h e r e   i t   s h o u l d   b e   t w o   n e w l i n e s .   S e c o n d - l e v e l   h e a d i n g s   f o l l o w   t h e   f i r s t - l e v e l   ( o r   t h e   t i t l e )   w i t h o u t   a n y   p r e c e d i n g   p a r a g r a p h s   o r   t e x t s .   A   t w o   l i n e   s p a c i n g   h e l p s   v i s u a l i z e   t h e   o v e r a l l   s t r u c t u r e   o f   c o n t e n t   i n   a   c o d e   e d i t o r   b e t t e r .   M a n u a l l y   w r a p   p a r a g r a p h s   i n   t h e   M a r k d o w n   s o u r c e   w h e n   a p p r o p r i a t e .   S i n c e   t h e   g i t   t o o l   a n d   t h e   G i t H u b   w e b s i t e   g e n e r a t e   f i l e   d i f f s   o n   a   l i n e - b y - l i n e   b a s i s ,   m a n u a l l y   w r a p p i n g   l o n g   l i n e s   h e l p s   t h e   r e v i e w e r s   t o   e a s i l y   f i n d   o u t   t h e   c h a n g e s   m a d e   i n   a   P R   a n d   p r o v i d e",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14181"
  },
  {
    "question": "What is Headings and titles?",
    "answer": "P e o p l e   a c c e s s i n g   t h i s   d o c u m e n t a t i o n   m a y   u s e   a   s c r e e n   r e a d e r   o r   o t h e r   a s s i s t i v e   t e c h n o l o g y   ( A T ) .   S c r e e n   r e a d e r s   a r e   l i n e a r   o u t p u t   d e v i c e s ,   t h e y   o u t p u t   i t e m s   o n   a   p a g e   o n e   a t   a   t i m e .   I f   t h e r e   i s   a   l o t   o f   c o n t e n t   o n   a   p a g e ,   y o u   c a n   u s e   h e a d i n g s   t o   g i v e   t h e   p a g e   a n   i n t e r n a l   s t r u c t u r e .   A   g o o d   p a g e   s t r u c t u r e   h e l p s   a l l   r e a d e r s   t o   e a s i l y   n a v i g a t e   t h e   p a g e   o r   f i l t e r   t o p i c s   o f   i n t e r e s t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14182"
  },
  {
    "question": "What is Lists?",
    "answer": "G r o u p   i t e m s   i n   a   l i s t   t h a t   a r e   r e l a t e d   t o   e a c h   o t h e r   a n d   n e e d   t o   a p p e a r   i n   a   s p e c i f i c   o r d e r   o r   t o   i n d i c a t e   a   c o r r e l a t i o n   b e t w e e n   m u l t i p l e   i t e m s .   W h e n   a   s c r e e n   r e a d e r   c o m e s   a c r o s s   a   l i s t — w h e t h e r   i t   i s   a n   o r d e r e d   o r   u n o r d e r e d   l i s t — i t   w i l l   b e   a n n o u n c e d   t o   t h e   u s e r   t h a t   t h e r e   i s   a   g r o u p   o f   l i s t   i t e m s .   T h e   u s e r   c a n   t h e n   u s e   t h e   a r r o w   k e y s   t o   m o v e   u p   a n d   d o w n   b e t w e e n   t h e   v a r i o u s   i t e m s   i n   t h e   l i s t .   W e b s i t e   n a v i g a t i o n   l i n k s   c a n   a l s o   b e   m a r k e d   u p   a s   l i s t   i t e m s ;   a f t e r   a l l   t h e y   a r e   n o t h i n g   b u t   a   g r o u p   o f   r e l a t e d   l i n k s .   E n d   e a c h   i t e m   i n   a   l i s t   w i t h   a   p e r i o d   i f   o n e   o r   m o r e   i t e m s   i n   t h e   l i s t   a r e   c o m p l e t e   s e n t e n c e s .   F o r   t h e   s a k e   o f   c o n s i s t e n c y ,   n o r m a l l y   e i t h e r   a l l   i t e m s   o r   n o n e   s h o u l d   b e   c o m p l e t e   s e n t e n c e s . N o t e : O r d e r e d   l i s t s   t h a t   a r e   p a r t   o f   a n   i n c o m p l e t e   i n t r o d u c t o r y   s e n t e n c e   c a n   b e   i n   l o w e r c a s e   a n d   p u n c t u a t e d   a s   i f   e a c h   i t e m   w a s   a   p a r t   o f   t h e   i n t r o d u c t o r y   s e n t e n c e . U s e   t h e   n u m b e r   o n e   ( 1 . )   f o r   o r d e r e d   l i s t s . U s e   ( + ) ,   ( * ) ,   o r   ( - )   f o r   u n o r d e r e d   l i s t s . L e a v e   a   b l a n k   l i n e   a f t e r   e a c h   l i s t . I n d e n t   n e s t e d   l i s t ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14183"
  },
  {
    "question": "What is Note:?",
    "answer": "U s e   t h e   n u m b e r   o n e   ( 1 . )   f o r   o r d e r e d   l i s t s .   U s e   ( + ) ,   ( * ) ,   o r   ( - )   f o r   u n o r d e r e d   l i s t s .   L e a v e   a   b l a n k   l i n e   a f t e r   e a c h   l i s t .   I n d e n t   n e s t e d   l i s t s   w i t h   f o u r   s p a c e s   ( f o r   e x a m p l e ,   ⋅ ⋅ ⋅ ⋅ ) .   L i s t   i t e m s   m a y   c o n s i s t   o f   m u l t i p l e   p a r a g r a p h s .   E a c h   s u b s e q u e n t   p a r a g r a p h   i n   a   l i s t   i t e m   m u s t   b e   i n d e n t e d   b y   e i t h e r   f o u r   s p a c e s   o r   o n e   t a b .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_4_14184"
  },
  {
    "question": "What is Tables?",
    "answer": "T h e   s e m a n t i c   p u r p o s e   o f   a   d a t a   t a b l e   i s   t o   p r e s e n t   t a b u l a r   d a t a .   S i g h t e d   u s e r s   c a n   q u i c k l y   s c a n   t h e   t a b l e   b u t   a   s c r e e n   r e a d e r   g o e s   t h r o u g h   l i n e   b y   l i n e .   A   t a b l e   c a p t i o n   i s   u s e d   t o   c r e a t e   a   d e s c r i p t i v e   t i t l e   f o r   a   d a t a   t a b l e .   A s s i s t i v e   t e c h n o l o g i e s   ( A T )   u s e   t h e   H T M L   t a b l e   c a p t i o n   e l e m e n t   t o   i d e n t i f y   t h e   t a b l e   c o n t e n t s   t o   t h e   u s e r   w i t h i n   t h e   p a g e   s t r u c t u r e .   A d d   t a b l e   c a p t i o n s   u s i n g   H u g o   s h o r t c o d e s   f o r   t a b l e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14185"
  },
  {
    "question": "What is Content best practices?",
    "answer": "T h i s   s e c t i o n   c o n t a i n s   s u g g e s t e d   b e s t   p r a c t i c e s   f o r   c l e a r ,   c o n c i s e ,   a n d   c o n s i s t e n t   c o n t e n t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_2_14186"
  },
  {
    "question": "What is Use present tense?",
    "answer": "E x c e p t i o n :   U s e   f u t u r e   o r   p a s t   t e n s e   i f   i t   i s   r e q u i r e d   t o   c o n v e y   t h e   c o r r e c t   m e a n i n g .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14187"
  },
  {
    "question": "What is Use active voice?",
    "answer": "E x c e p t i o n :   U s e   p a s s i v e   v o i c e   i f   a c t i v e   v o i c e   l e a d s   t o   a n   a w k w a r d   c o n s t r u c t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14188"
  },
  {
    "question": "What is Use simple and direct language?",
    "answer": "U s e   s i m p l e   a n d   d i r e c t   l a n g u a g e .   A v o i d   u s i n g   u n n e c e s s a r y   p h r a s e s ,   s u c h   a s   s a y i n g   \" p l e a s e . \"",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14189"
  },
  {
    "question": "What is Avoid Latin phrases?",
    "answer": "P r e f e r   E n g l i s h   t e r m s   o v e r   L a t i n   a b b r e v i a t i o n s .   E x c e p t i o n :   U s e   \" e t c . \"   f o r   e t   c e t e r a .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14190"
  },
  {
    "question": "What is Avoid using \"we\"?",
    "answer": "U s i n g   \" w e \"   i n   a   s e n t e n c e   c a n   b e   c o n f u s i n g ,   b e c a u s e   t h e   r e a d e r   m i g h t   n o t   k n o w   w h e t h e r   t h e y ' r e   p a r t   o f   t h e   \" w e \"   y o u ' r e   d e s c r i b i n g .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14191"
  },
  {
    "question": "What is Avoid jargon and idioms?",
    "answer": "S o m e   r e a d e r s   s p e a k   E n g l i s h   a s   a   s e c o n d   l a n g u a g e .   A v o i d   j a r g o n   a n d   i d i o m s   t o   h e l p   t h e m   u n d e r s t a n d   b e t t e r .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14192"
  },
  {
    "question": "What is Avoid statements about the future?",
    "answer": "A v o i d   m a k i n g   p r o m i s e s   o r   g i v i n g   h i n t s   a b o u t   t h e   f u t u r e .   I f   y o u   n e e d   t o   t a l k   a b o u t   a n   a l p h a   f e a t u r e ,   p u t   t h e   t e x t   u n d e r   a   h e a d i n g   t h a t   i d e n t i f i e s   i t   a s   a l p h a   i n f o r m a t i o n .   A n   e x c e p t i o n   t o   t h i s   r u l e   i s   d o c u m e n t a t i o n   a b o u t   a n n o u n c e d   d e p r e c a t i o n s   t a r g e t i n g   r e m o v a l   i n   f u t u r e   v e r s i o n s .   O n e   e x a m p l e   o f   d o c u m e n t a t i o n   l i k e   t h i s   i s   t h e   D e p r e c a t e d   A P I   m i g r a t i o n   g u i d e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14193"
  },
  {
    "question": "What is Avoid statements that will soon be out of date?",
    "answer": "A v o i d   w o r d s   l i k e   \" c u r r e n t l y \"   a n d   \" n e w . \"   A   f e a t u r e   t h a t   i s   n e w   t o d a y   m i g h t   n o t   b e   c o n s i d e r e d   n e w   i n   a   f e w   m o n t h s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14194"
  },
  {
    "question": "What is Avoid words that assume a specific level of understanding?",
    "answer": "A v o i d   w o r d s   s u c h   a s   \" j u s t \" ,   \" s i m p l y \" ,   \" e a s y \" ,   \" e a s i l y \" ,   o r   \" s i m p l e \" .   T h e s e   w o r d s   d o   n o t   a d d   v a l u e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14195"
  },
  {
    "question": "What is EditorConfig file?",
    "answer": "T h e   K u b e r n e t e s   p r o j e c t   m a i n t a i n s   a n   E d i t o r C o n f i g   f i l e   t h a t   s e t s   c o m m o n   s t y l e   p r e f e r e n c e s   i n   t e x t   e d i t o r s   s u c h   a s   V S   C o d e .   Y o u   c a n   u s e   t h i s   f i l e   i f   y o u   w a n t   t o   e n s u r e   t h a t   y o u r   c o n t r i b u t i o n s   a r e   c o n s i s t e n t   w i t h   t h e   r e s t   o f   t h e   p r o j e c t .   T o   v i e w   t h e   f i l e ,   r e f e r   t o   . e d i t o r c o n f i g   i n   t h e   r e p o s i t o r y   r o o t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_3_14196"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   w r i t i n g   a   n e w   t o p i c . L e a r n   a b o u t   u s i n g   p a g e   t e m p l a t e s . L e a r n   a b o u t   c u s t o m   h u g o   s h o r t c o d e s . L e a r n   a b o u t   c r e a t i n g   a   p u l l   r e q u e s t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/style/style-guide/",
    "id": "k8s_00645_section_2_14197"
  },
  {
    "question": "What is Pod Lifecycle?",
    "answer": "Pod LifecycleThis page describes the lifecycle of a Pod. Pods follow a defined lifecycle, starting in the Pending phase, moving through Running if at least one of its primary containers starts OK, and then through either the Succeeded or Failed phases depending on whether any container in the Pod terminated in failure.Like individual application containers, Pods are considered to be relatively ephemeral (rather than durable) entities. Pods are created, assigned a unique ID (UID), and scheduled to run on nodes where they remain until termination (according to restart policy) or deletion. If a Node dies, the Pods running on (or scheduled to run on) that node are marked for deletion. The control plane marks the Pods for removal after a timeout period.Pod lifetimeWhilst a Pod is running, the kubelet is able to restart containers to handle some kind of faults. Within a Pod, Kubernetes tracks different container states and determines what action to take to make the Pod healthy again.In the Kubernetes API, Pods have both a specification and an actual status. The status for a Pod object consists of a set of Pod conditions. You can also inject custom readiness information into the condition data for a Pod, if that is useful to your application.Pods are only scheduled once in their lifetime; assigning a Pod to a specific node is called binding, and the process of selecting which node to use is called scheduling. Once a Pod has been scheduled and is bound to a node, Kubernetes tries to run that Pod on the node. The Pod runs on that node until it stops, or until the Pod is terminated; if Kubernetes isn't able to start the Pod on the selected node (for example, if the node crashes before the Pod starts), then that particular Pod never starts.You can use Pod Scheduling Readiness to delay scheduling for a Pod until all its scheduling gates are removed. For example, you might want to define a set of Pods but only trigger scheduling once all the Pods have been created.Pods and fault recoveryIf one of the containers in the Pod fails, then Kubernetes may try to restart that specific container. Read How Pods handle problems with containers to learn more.Pods can however fail in a way that the cluster cannot recover from, and in that case Kubernetes does not attempt to heal the Pod further; instead, Kubernetes deletes the Pod and relies on other components to provide automatic healing.If a Pod is scheduled to a node and that node then fails, the Pod is treated as unhealthy and Kubernetes eventually deletes the Pod. A Pod won't survive an eviction due to a lack of resources or Node maintenance.Kubernetes uses a higher-level abstraction, called a controller, that handles the work of managing the relatively disposable Pod instances.A given Pod (as defined by a UID) is never \"rescheduled\" to a different node; instead, that Pod can be replaced by a new, near-identical Pod. If you make a replacement Pod, it can even have same name (as in .metadata.name) that the old Pod ha",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_qa_14198"
  },
  {
    "question": "How does Pod Lifecycle work?",
    "answer": "Pod LifecycleThis page describes the lifecycle of a Pod. Pods follow a defined lifecycle, starting in the Pending phase, moving through Running if at least one of its primary containers starts OK, and then through either the Succeeded or Failed phases depending on whether any container in the Pod terminated in failure.Like individual application containers, Pods are considered to be relatively ephemeral (rather than durable) entities. Pods are created, assigned a unique ID (UID), and scheduled to run on nodes where they remain until termination (according to restart policy) or deletion. If a Node dies, the Pods running on (or scheduled to run on) that node are marked for deletion. The control plane marks the Pods for removal after a timeout period.Pod lifetimeWhilst a Pod is running, the kubelet is able to restart containers to handle some kind of faults. Within a Pod, Kubernetes tracks different container states and determines what action to take to make the Pod healthy again.In the Kubernetes API, Pods have both a specification and an actual status. The status for a Pod object consists of a set of Pod conditions. You can also inject custom readiness information into the condition data for a Pod, if that is useful to your application.Pods are only scheduled once in their lifetime; assigning a Pod to a specific node is called binding, and the process of selecting which node to use is called scheduling. Once a Pod has been scheduled and is bound to a node, Kubernetes tries to run that Pod on the node. The Pod runs on that node until it stops, or until the Pod is terminated; if Kubernetes isn't able to start the Pod on the selected node (for example, if the node crashes before the Pod starts), then that particular Pod never starts.You can use Pod Scheduling Readiness to delay scheduling for a Pod until all its scheduling gates are removed. For example, you might want to define a set of Pods but only trigger scheduling once all the Pods have been created.Pods and fault recoveryIf one of the containers in the Pod fails, then Kubernetes may try to restart that specific container. Read How Pods handle problems with containers to learn more.Pods can however fail in a way that the cluster cannot recover from, and in that case Kubernetes does not attempt to heal the Pod further; instead, Kubernetes deletes the Pod and relies on other components to provide automatic healing.If a Pod is scheduled to a node and that node then fails, the Pod is treated as unhealthy and Kubernetes eventually deletes the Pod. A Pod won't survive an eviction due to a lack of resources or Node maintenance.Kubernetes uses a higher-level abstraction, called a controller, that handles the work of managing the relatively disposable Pod instances.A given Pod (as defined by a UID) is never \"rescheduled\" to a different node; instead, that Pod can be replaced by a new, near-identical Pod. If you make a replacement Pod, it can even have same name (as in .metadata.name) that the old Pod ha",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_qa_14199"
  },
  {
    "question": "When would you use Pod Lifecycle?",
    "answer": "Pod LifecycleThis page describes the lifecycle of a Pod. Pods follow a defined lifecycle, starting in the Pending phase, moving through Running if at least one of its primary containers starts OK, and then through either the Succeeded or Failed phases depending on whether any container in the Pod terminated in failure.Like individual application containers, Pods are considered to be relatively ephemeral (rather than durable) entities. Pods are created, assigned a unique ID (UID), and scheduled to run on nodes where they remain until termination (according to restart policy) or deletion. If a Node dies, the Pods running on (or scheduled to run on) that node are marked for deletion. The control plane marks the Pods for removal after a timeout period.Pod lifetimeWhilst a Pod is running, the kubelet is able to restart containers to handle some kind of faults. Within a Pod, Kubernetes tracks different container states and determines what action to take to make the Pod healthy again.In the Kubernetes API, Pods have both a specification and an actual status. The status for a Pod object consists of a set of Pod conditions. You can also inject custom readiness information into the condition data for a Pod, if that is useful to your application.Pods are only scheduled once in their lifetime; assigning a Pod to a specific node is called binding, and the process of selecting which node to use is called scheduling. Once a Pod has been scheduled and is bound to a node, Kubernetes tries to run that Pod on the node. The Pod runs on that node until it stops, or until the Pod is terminated; if Kubernetes isn't able to start the Pod on the selected node (for example, if the node crashes before the Pod starts), then that particular Pod never starts.You can use Pod Scheduling Readiness to delay scheduling for a Pod until all its scheduling gates are removed. For example, you might want to define a set of Pods but only trigger scheduling once all the Pods have been created.Pods and fault recoveryIf one of the containers in the Pod fails, then Kubernetes may try to restart that specific container. Read How Pods handle problems with containers to learn more.Pods can however fail in a way that the cluster cannot recover from, and in that case Kubernetes does not attempt to heal the Pod further; instead, Kubernetes deletes the Pod and relies on other components to provide automatic healing.If a Pod is scheduled to a node and that node then fails, the Pod is treated as unhealthy and Kubernetes eventually deletes the Pod. A Pod won't survive an eviction due to a lack of resources or Node maintenance.Kubernetes uses a higher-level abstraction, called a controller, that handles the work of managing the relatively disposable Pod instances.A given Pod (as defined by a UID) is never \"rescheduled\" to a different node; instead, that Pod can be replaced by a new, near-identical Pod. If you make a replacement Pod, it can even have same name (as in .metadata.name) that the old Pod ha",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_qa_14200"
  },
  {
    "question": "What are the benefits of Pod Lifecycle?",
    "answer": "Pod LifecycleThis page describes the lifecycle of a Pod. Pods follow a defined lifecycle, starting in the Pending phase, moving through Running if at least one of its primary containers starts OK, and then through either the Succeeded or Failed phases depending on whether any container in the Pod terminated in failure.Like individual application containers, Pods are considered to be relatively ephemeral (rather than durable) entities. Pods are created, assigned a unique ID (UID), and scheduled to run on nodes where they remain until termination (according to restart policy) or deletion. If a Node dies, the Pods running on (or scheduled to run on) that node are marked for deletion. The control plane marks the Pods for removal after a timeout period.Pod lifetimeWhilst a Pod is running, the kubelet is able to restart containers to handle some kind of faults. Within a Pod, Kubernetes tracks different container states and determines what action to take to make the Pod healthy again.In the Kubernetes API, Pods have both a specification and an actual status. The status for a Pod object consists of a set of Pod conditions. You can also inject custom readiness information into the condition data for a Pod, if that is useful to your application.Pods are only scheduled once in their lifetime; assigning a Pod to a specific node is called binding, and the process of selecting which node to use is called scheduling. Once a Pod has been scheduled and is bound to a node, Kubernetes tries to run that Pod on the node. The Pod runs on that node until it stops, or until the Pod is terminated; if Kubernetes isn't able to start the Pod on the selected node (for example, if the node crashes before the Pod starts), then that particular Pod never starts.You can use Pod Scheduling Readiness to delay scheduling for a Pod until all its scheduling gates are removed. For example, you might want to define a set of Pods but only trigger scheduling once all the Pods have been created.Pods and fault recoveryIf one of the containers in the Pod fails, then Kubernetes may try to restart that specific container. Read How Pods handle problems with containers to learn more.Pods can however fail in a way that the cluster cannot recover from, and in that case Kubernetes does not attempt to heal the Pod further; instead, Kubernetes deletes the Pod and relies on other components to provide automatic healing.If a Pod is scheduled to a node and that node then fails, the Pod is treated as unhealthy and Kubernetes eventually deletes the Pod. A Pod won't survive an eviction due to a lack of resources or Node maintenance.Kubernetes uses a higher-level abstraction, called a controller, that handles the work of managing the relatively disposable Pod instances.A given Pod (as defined by a UID) is never \"rescheduled\" to a different node; instead, that Pod can be replaced by a new, near-identical Pod. If you make a replacement Pod, it can even have same name (as in .metadata.name) that the old Pod ha",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_qa_14201"
  },
  {
    "question": "What is Pod Lifecycle?",
    "answer": "T h i s   p a g e   d e s c r i b e s   t h e   l i f e c y c l e   o f   a   P o d .   P o d s   f o l l o w   a   d e f i n e d   l i f e c y c l e ,   s t a r t i n g   i n   t h e   P e n d i n g   p h a s e ,   m o v i n g   t h r o u g h   R u n n i n g   i f   a t   l e a s t   o n e   o f   i t s   p r i m a r y   c o n t a i n e r s   s t a r t s   O K ,   a n d   t h e n   t h r o u g h   e i t h e r   t h e   S u c c e e d e d   o r   F a i l e d   p h a s e s   d e p e n d i n g   o n   w h e t h e r   a n y   c o n t a i n e r   i n   t h e   P o d   t e r m i n a t e d   i n   f a i l u r e .   L i k e   i n d i v i d u a l   a p p l i c a t i o n   c o n t a i n e r s ,   P o d s   a r e   c o n s i d e r e d   t o   b e   r e l a t i v e l y   e p h e m e r a l   ( r a t h e r   t h a n   d u r a b l e )   e n t i t i e s .   P o d s   a r e   c r e a t e d ,   a s s i g n e d   a   u n i q u e   I D   ( U I D ) ,   a n d   s c h e d u l e d   t o   r u n   o n   n o d e s   w h e r e   t h e y   r e m a i n   u n t i l   t e r m i n a t i o n   ( a c c o r d i n g   t o   r e s t a r t   p o l i c y )   o r   d e l e t i o n .   I f   a   N o d e   d i e s ,   t h e   P o d s   r u n n i n g   o n   ( o r   s c h e d u l e d   t o   r u n   o n )   t h a t   n o d e   a r e   m a r k e d   f o r   d e l e t i o n .   T h e   c o n t r o l   p l a n e   m a r k s   t h e   P o d s   f o r   r e m o v a l   a f t e r   a   t i m e o u t   p e r i o d .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_1_14202"
  },
  {
    "question": "What is Pod lifetime?",
    "answer": "W h i l s t   a   P o d   i s   r u n n i n g ,   t h e   k u b e l e t   i s   a b l e   t o   r e s t a r t   c o n t a i n e r s   t o   h a n d l e   s o m e   k i n d   o f   f a u l t s .   W i t h i n   a   P o d ,   K u b e r n e t e s   t r a c k s   d i f f e r e n t   c o n t a i n e r   s t a t e s   a n d   d e t e r m i n e s   w h a t   a c t i o n   t o   t a k e   t o   m a k e   t h e   P o d   h e a l t h y   a g a i n .   I n   t h e   K u b e r n e t e s   A P I ,   P o d s   h a v e   b o t h   a   s p e c i f i c a t i o n   a n d   a n   a c t u a l   s t a t u s .   T h e   s t a t u s   f o r   a   P o d   o b j e c t   c o n s i s t s   o f   a   s e t   o f   P o d   c o n d i t i o n s .   Y o u   c a n   a l s o   i n j e c t   c u s t o m   r e a d i n e s s   i n f o r m a t i o n   i n t o   t h e   c o n d i t i o n   d a t a   f o r   a   P o d ,   i f   t h a t   i s   u s e f u l   t o   y o u r   a p p l i c a t i o n .   P o d s   a r e   o n l y   s c h e d u l e d   o n c e   i n   t h e i r   l i f e t i m e ;   a s s i g n i n g   a   P o d   t o   a   s p e c i f i c   n o d e   i s   c a l l e d   b i n d i n g ,   a n d   t h e   p r o c e s s   o f   s e l e c t i n g   w h i c h   n o d e   t o   u s e   i s   c a l l e d   s c h e d u l i n g .   O n c e   a   P o d   h a s   b e e n   s c h e d u l e d   a n d   i s   b o u n d   t o   a   n o d e ,   K u b e r n e t e s   t r i e s   t o   r u n   t h a t   P o d   o n   t h e   n o d e .   T h e   P o d   r u n s   o n   t h a t   n o d e   u n t i l   i t   s t o p s ,   o r   u n t i l   t h e   P o d   i s   t e r m i n a t e d ;   i f   K u b e r n e t e s   i s n ' t   a b l e   t o   s t a r t   t h e   P o d   o n   t h e   s e l e c t e d   n o d e   ( f o r   e x a m p l e ,   i f   t h e   n o d e   c r a s h e s   b e f o r e   t h e   P o d   s t a r t s ) ,   t h e n   t h a t   p a r t i c u l a r   P o d   n e v e r   s t a r t s .   Y o u   c a n   ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_2_14203"
  },
  {
    "question": "What is Pods and fault recovery?",
    "answer": "I f   o n e   o f   t h e   c o n t a i n e r s   i n   t h e   P o d   f a i l s ,   t h e n   K u b e r n e t e s   m a y   t r y   t o   r e s t a r t   t h a t   s p e c i f i c   c o n t a i n e r .   R e a d   H o w   P o d s   h a n d l e   p r o b l e m s   w i t h   c o n t a i n e r s   t o   l e a r n   m o r e .   P o d s   c a n   h o w e v e r   f a i l   i n   a   w a y   t h a t   t h e   c l u s t e r   c a n n o t   r e c o v e r   f r o m ,   a n d   i n   t h a t   c a s e   K u b e r n e t e s   d o e s   n o t   a t t e m p t   t o   h e a l   t h e   P o d   f u r t h e r ;   i n s t e a d ,   K u b e r n e t e s   d e l e t e s   t h e   P o d   a n d   r e l i e s   o n   o t h e r   c o m p o n e n t s   t o   p r o v i d e   a u t o m a t i c   h e a l i n g .   I f   a   P o d   i s   s c h e d u l e d   t o   a   n o d e   a n d   t h a t   n o d e   t h e n   f a i l s ,   t h e   P o d   i s   t r e a t e d   a s   u n h e a l t h y   a n d   K u b e r n e t e s   e v e n t u a l l y   d e l e t e s   t h e   P o d .   A   P o d   w o n ' t   s u r v i v e   a n   e v i c t i o n   d u e   t o   a   l a c k   o f   r e s o u r c e s   o r   N o d e   m a i n t e n a n c e .   K u b e r n e t e s   u s e s   a   h i g h e r - l e v e l   a b s t r a c t i o n ,   c a l l e d   a   c o n t r o l l e r ,   t h a t   h a n d l e s   t h e   w o r k   o f   m a n a g i n g   t h e   r e l a t i v e l y   d i s p o s a b l e   P o d   i n s t a n c e s .   A   g i v e n   P o d   ( a s   d e f i n e d   b y   a   U I D )   i s   n e v e r   \" r e s c h e d u l e d \"   t o   a   d i f f e r e n t   n o d e ;   i n s t e a d ,   t h a t   P o d   c a n   b e   r e p l a c e d   b y   a   n e w ,   n e a r - i d e n t i c a l   P o d .   I f   y o u   m a k e   a   r e p l a c e m e n t   P o d ,   i t   c a n   e v e n   h a v e   s a m e   n a m e   ( a s   i n   . m e t a d a t a . n a m e )   t h a t   t h e   o l d   P o d   h a d ,   b u ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_3_14204"
  },
  {
    "question": "What is Associated lifetimes?",
    "answer": "W h e n   s o m e t h i n g   i s   s a i d   t o   h a v e   t h e   s a m e   l i f e t i m e   a s   a   P o d ,   s u c h   a s   a   v o l u m e ,   t h a t   m e a n s   t h a t   t h e   t h i n g   e x i s t s   a s   l o n g   a s   t h a t   s p e c i f i c   P o d   ( w i t h   t h a t   e x a c t   U I D )   e x i s t s .   I f   t h a t   P o d   i s   d e l e t e d   f o r   a n y   r e a s o n ,   a n d   e v e n   i f   a n   i d e n t i c a l   r e p l a c e m e n t   i s   c r e a t e d ,   t h e   r e l a t e d   t h i n g   ( a   v o l u m e ,   i n   t h i s   e x a m p l e )   i s   a l s o   d e s t r o y e d   a n d   c r e a t e d   a n e w .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_3_14205"
  },
  {
    "question": "What is Figure 1.?",
    "answer": "A   m u l t i - c o n t a i n e r   P o d   t h a t   c o n t a i n s   a   f i l e   p u l l e r   s i d e c a r   a n d   a   w e b   s e r v e r .   T h e   P o d   u s e s   a n   e p h e m e r a l   e m p t y D i r   v o l u m e   f o r   s h a r e d   s t o r a g e   b e t w e e n   t h e   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_4_14206"
  },
  {
    "question": "What is Pod phase?",
    "answer": "A   P o d ' s   s t a t u s   f i e l d   i s   a   P o d S t a t u s   o b j e c t ,   w h i c h   h a s   a   p h a s e   f i e l d .   T h e   p h a s e   o f   a   P o d   i s   a   s i m p l e ,   h i g h - l e v e l   s u m m a r y   o f   w h e r e   t h e   P o d   i s   i n   i t s   l i f e c y c l e .   T h e   p h a s e   i s   n o t   i n t e n d e d   t o   b e   a   c o m p r e h e n s i v e   r o l l u p   o f   o b s e r v a t i o n s   o f   c o n t a i n e r   o r   P o d   s t a t e ,   n o r   i s   i t   i n t e n d e d   t o   b e   a   c o m p r e h e n s i v e   s t a t e   m a c h i n e .   T h e   n u m b e r   a n d   m e a n i n g s   o f   P o d   p h a s e   v a l u e s   a r e   t i g h t l y   g u a r d e d .   O t h e r   t h a n   w h a t   i s   d o c u m e n t e d   h e r e ,   n o t h i n g   s h o u l d   b e   a s s u m e d   a b o u t   P o d s   t h a t   h a v e   a   g i v e n   p h a s e   v a l u e .   H e r e   a r e   t h e   p o s s i b l e   v a l u e s   f o r   p h a s e :",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_2_14207"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   a   p o d   i s   f a i l i n g   t o   s t a r t   r e p e a t e d l y ,   C r a s h L o o p B a c k O f f   m a y   a p p e a r   i n   t h e   S t a t u s   f i e l d   o f   s o m e   k u b e c t l   c o m m a n d s .   S i m i l a r l y ,   w h e n   a   p o d   i s   b e i n g   d e l e t e d ,   T e r m i n a t i n g   m a y   a p p e a r   i n   t h e   S t a t u s   f i e l d   o f   s o m e   k u b e c t l   c o m m a n d s .   M a k e   s u r e   n o t   t o   c o n f u s e   S t a t u s ,   a   k u b e c t l   d i s p l a y   f i e l d   f o r   u s e r   i n t u i t i o n ,   w i t h   t h e   p o d ' s   p h a s e .   P o d   p h a s e   i s   a n   e x p l i c i t   p a r t   o f   t h e   K u b e r n e t e s   d a t a   m o d e l   a n d   o f   t h e   P o d   A P I .   N A M E S P A C E   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   a l e s s a n d r a s - n a m e s p a c e   a l e s s a n d r a s - p o d   0 / 1   C r a s h L o o p B a c k O f f   2 0 0   2 d 9 h   A   P o d   i s   g r a n t e d   a   t e r m   t o   t e r m i n a t e   g r a c e f u l l y ,   w h i c h   d e f a u l t s   t o   3 0   s e c o n d s .   Y o u   c a n   u s e   t h e   f l a g   - - f o r c e   t o   t e r m i n a t e   a   P o d   b y   f o r c e .   S i n c e   K u b e r n e t e s   1 . 2 7 ,   t h e   k u b e l e t   t r a n s i t i o n s   d e l e t e d   P o d s ,   e x c e p t   f o r   s t a t i c   P o d s   a n d   f o r c e - d e l e t e d   P o d s   w i t h o u t   a   f i n a l i z e r ,   t o   a   t e r m i n a l   p h a s e   ( F a i l e d   o r   S u c c e e d e d   d e p e n d i n g   o n   t h e   e x i t   s t a t u s e s   o f   t h e   p o d   c o n t a i n e r s )   b e f o r e   t h e i r   d e l e t i o n   f r o m   t h e   A P I   s e r v e r .   I f   a   n o d e   d i e s   o r   i s   d i s c o n n e c t e d   f r o m   t h e   r e s t   o f   t h e   c l u s t e r ,   K u b e r n e t e s   a p p l i e s   a ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_4_14208"
  },
  {
    "question": "What is Container states?",
    "answer": "A s   w e l l   a s   t h e   p h a s e   o f   t h e   P o d   o v e r a l l ,   K u b e r n e t e s   t r a c k s   t h e   s t a t e   o f   e a c h   c o n t a i n e r   i n s i d e   a   P o d .   Y o u   c a n   u s e   c o n t a i n e r   l i f e c y c l e   h o o k s   t o   t r i g g e r   e v e n t s   t o   r u n   a t   c e r t a i n   p o i n t s   i n   a   c o n t a i n e r ' s   l i f e c y c l e .   O n c e   t h e   s c h e d u l e r   a s s i g n s   a   P o d   t o   a   N o d e ,   t h e   k u b e l e t   s t a r t s   c r e a t i n g   c o n t a i n e r s   f o r   t h a t   P o d   u s i n g   a   c o n t a i n e r   r u n t i m e .   T h e r e   a r e   t h r e e   p o s s i b l e   c o n t a i n e r   s t a t e s :   W a i t i n g ,   R u n n i n g ,   a n d   T e r m i n a t e d .   T o   c h e c k   t h e   s t a t e   o f   a   P o d ' s   c o n t a i n e r s ,   y o u   c a n   u s e   k u b e c t l   d e s c r i b e   p o d   < n a m e - o f - p o d > .   T h e   o u t p u t   s h o w s   t h e   s t a t e   f o r   e a c h   c o n t a i n e r   w i t h i n   t h a t   P o d .   E a c h   s t a t e   h a s   a   s p e c i f i c   m e a n i n g :",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_2_14209"
  },
  {
    "question": "What is Waiting?",
    "answer": "I f   a   c o n t a i n e r   i s   n o t   i n   e i t h e r   t h e   R u n n i n g   o r   T e r m i n a t e d   s t a t e ,   i t   i s   W a i t i n g .   A   c o n t a i n e r   i n   t h e   W a i t i n g   s t a t e   i s   s t i l l   r u n n i n g   t h e   o p e r a t i o n s   i t   r e q u i r e s   i n   o r d e r   t o   c o m p l e t e   s t a r t   u p :   f o r   e x a m p l e ,   p u l l i n g   t h e   c o n t a i n e r   i m a g e   f r o m   a   c o n t a i n e r   i m a g e   r e g i s t r y ,   o r   a p p l y i n g   S e c r e t   d a t a .   W h e n   y o u   u s e   k u b e c t l   t o   q u e r y   a   P o d   w i t h   a   c o n t a i n e r   t h a t   i s   W a i t i n g ,   y o u   a l s o   s e e   a   R e a s o n   f i e l d   t o   s u m m a r i z e   w h y   t h e   c o n t a i n e r   i s   i n   t h a t   s t a t e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_3_14210"
  },
  {
    "question": "What is Running?",
    "answer": "T h e   R u n n i n g   s t a t u s   i n d i c a t e s   t h a t   a   c o n t a i n e r   i s   e x e c u t i n g   w i t h o u t   i s s u e s .   I f   t h e r e   w a s   a   p o s t S t a r t   h o o k   c o n f i g u r e d ,   i t   h a s   a l r e a d y   e x e c u t e d   a n d   f i n i s h e d .   W h e n   y o u   u s e   k u b e c t l   t o   q u e r y   a   P o d   w i t h   a   c o n t a i n e r   t h a t   i s   R u n n i n g ,   y o u   a l s o   s e e   i n f o r m a t i o n   a b o u t   w h e n   t h e   c o n t a i n e r   e n t e r e d   t h e   R u n n i n g   s t a t e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_3_14211"
  },
  {
    "question": "What is Terminated?",
    "answer": "A   c o n t a i n e r   i n   t h e   T e r m i n a t e d   s t a t e   b e g a n   e x e c u t i o n   a n d   t h e n   e i t h e r   r a n   t o   c o m p l e t i o n   o r   f a i l e d   f o r   s o m e   r e a s o n .   W h e n   y o u   u s e   k u b e c t l   t o   q u e r y   a   P o d   w i t h   a   c o n t a i n e r   t h a t   i s   T e r m i n a t e d ,   y o u   s e e   a   r e a s o n ,   a n   e x i t   c o d e ,   a n d   t h e   s t a r t   a n d   f i n i s h   t i m e   f o r   t h a t   c o n t a i n e r ' s   p e r i o d   o f   e x e c u t i o n .   I f   a   c o n t a i n e r   h a s   a   p r e S t o p   h o o k   c o n f i g u r e d ,   t h i s   h o o k   r u n s   b e f o r e   t h e   c o n t a i n e r   e n t e r s   t h e   T e r m i n a t e d   s t a t e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_3_14212"
  },
  {
    "question": "What is How Pods handle problems with containers?",
    "answer": "K u b e r n e t e s   m a n a g e s   c o n t a i n e r   f a i l u r e s   w i t h i n   P o d s   u s i n g   a   r e s t a r t P o l i c y   d e f i n e d   i n   t h e   P o d   s p e c .   T h i s   p o l i c y   d e t e r m i n e s   h o w   K u b e r n e t e s   r e a c t s   t o   c o n t a i n e r s   e x i t i n g   d u e   t o   e r r o r s   o r   o t h e r   r e a s o n s ,   w h i c h   f a l l s   i n   t h e   f o l l o w i n g   s e q u e n c e :   I n i t i a l   c r a s h :   K u b e r n e t e s   a t t e m p t s   a n   i m m e d i a t e   r e s t a r t   b a s e d   o n   t h e   P o d   r e s t a r t P o l i c y . R e p e a t e d   c r a s h e s :   A f t e r   t h e   i n i t i a l   c r a s h   K u b e r n e t e s   a p p l i e s   a n   e x p o n e n t i a l   b a c k o f f   d e l a y   f o r   s u b s e q u e n t   r e s t a r t s ,   d e s c r i b e d   i n   r e s t a r t P o l i c y .   T h i s   p r e v e n t s   r a p i d ,   r e p e a t e d   r e s t a r t   a t t e m p t s   f r o m   o v e r l o a d i n g   t h e   s y s t e m . C r a s h L o o p B a c k O f f   s t a t e :   T h i s   i n d i c a t e s   t h a t   t h e   b a c k o f f   d e l a y   m e c h a n i s m   i s   c u r r e n t l y   i n   e f f e c t   f o r   a   g i v e n   c o n t a i n e r   t h a t   i s   i n   a   c r a s h   l o o p ,   f a i l i n g   a n d   r e s t a r t i n g   r e p e a t e d l y . B a c k o f f   r e s e t :   I f   a   c o n t a i n e r   r u n s   s u c c e s s f u l l y   f o r   a   c e r t a i n   d u r a t i o n   ( e . g . ,   1 0   m i n u t e s ) ,   K u b e r n e t e s   r e s e t s   t h e   b a c k o f f   d e l a y ,   t r e a t i n g   a n y   n e w   c r a s h   a s   t h e   f i r s t   o n e .   I n   p r a c t i c e ,   a   C r a s h L o o p B a c k O f f   i s   a   c o n d i t i o n   o r   e v e n t   t h a t   m i g h t   b e   s e e n   a s   o u t p u t   f r o m   t h e   k u b e c t l   c o m m a n d ,   w h i l ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_2_14213"
  },
  {
    "question": "What is Container restarts?",
    "answer": "W h e n   a   c o n t a i n e r   i n   y o u r   P o d   s t o p s ,   o r   e x p e r i e n c e s   f a i l u r e ,   K u b e r n e t e s   c a n   r e s t a r t   i t .   A   r e s t a r t   i s n ' t   a l w a y s   a p p r o p r i a t e ;   f o r   e x a m p l e ,   i n i t   c o n t a i n e r s   r u n   o n l y   o n c e ,   d u r i n g   P o d   s t a r t u p .   Y o u   c a n   c o n f i g u r e   r e s t a r t s   a s   a   p o l i c y   t h a t   a p p l i e s   t o   a l l   P o d s ,   o r   u s i n g   c o n t a i n e r - l e v e l   c o n f i g u r a t i o n   ( f o r   e x a m p l e :   w h e n   y o u   d e f i n e   a   s i d e c a r   c o n t a i n e r ) .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_3_14214"
  },
  {
    "question": "What is Container restarts and resilience?",
    "answer": "T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   f o l l o w i n g   c l o u d - n a t i v e   p r i n c i p l e s ,   i n c l u d i n g   r e s i l i e n t   d e s i g n   t h a t   a c c o u n t s   f o r   u n a n n o u n c e d   o r   a r b i t r a r y   r e s t a r t s .   Y o u   c a n   a c h i e v e   t h i s   e i t h e r   b y   f a i l i n g   t h e   P o d   a n d   r e l y i n g   o n   a u t o m a t i c   r e p l a c e m e n t ,   o r   y o u   c a n   d e s i g n   f o r   c o n t a i n e r - l e v e l   r e s i l i e n c e .   E i t h e r   a p p r o a c h   h e l p s   t o   e n s u r e   t h a t   y o u r   o v e r a l l   w o r k l o a d   r e m a i n s   a v a i l a b l e   d e s p i t e   p a r t i a l   f a i l u r e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_4_14215"
  },
  {
    "question": "What is Pod-level container restart policy?",
    "answer": "T h e   s p e c   o f   a   P o d   h a s   a   r e s t a r t P o l i c y   f i e l d   w i t h   p o s s i b l e   v a l u e s   A l w a y s ,   O n F a i l u r e ,   a n d   N e v e r .   T h e   d e f a u l t   v a l u e   i s   A l w a y s .   T h e   r e s t a r t P o l i c y   f o r   a   P o d   a p p l i e s   t o   a p p   c o n t a i n e r s   i n   t h e   P o d   a n d   t o   r e g u l a r   i n i t   c o n t a i n e r s .   S i d e c a r   c o n t a i n e r s   i g n o r e   t h e   P o d - l e v e l   r e s t a r t P o l i c y   f i e l d :   i n   K u b e r n e t e s ,   a   s i d e c a r   i s   d e f i n e d   a s   a n   e n t r y   i n s i d e   i n i t C o n t a i n e r s   t h a t   h a s   i t s   c o n t a i n e r - l e v e l   r e s t a r t P o l i c y   s e t   t o   A l w a y s .   F o r   i n i t   c o n t a i n e r s   t h a t   e x i t   w i t h   a n   e r r o r ,   t h e   k u b e l e t   r e s t a r t s   t h e   i n i t   c o n t a i n e r   i f   t h e   P o d   l e v e l   r e s t a r t P o l i c y   i s   e i t h e r   O n F a i l u r e   o r   A l w a y s :   A l w a y s :   A u t o m a t i c a l l y   r e s t a r t s   t h e   c o n t a i n e r   a f t e r   a n y   t e r m i n a t i o n . O n F a i l u r e :   O n l y   r e s t a r t s   t h e   c o n t a i n e r   i f   i t   e x i t s   w i t h   a n   e r r o r   ( n o n - z e r o   e x i t   s t a t u s ) . N e v e r :   D o e s   n o t   a u t o m a t i c a l l y   r e s t a r t   t h e   t e r m i n a t e d   c o n t a i n e r .   W h e n   t h e   k u b e l e t   i s   h a n d l i n g   c o n t a i n e r   r e s t a r t s   a c c o r d i n g   t o   t h e   c o n f i g u r e d   r e s t a r t   p o l i c y ,   t h a t   o n l y   a p p l i e s   t o   r e s t a r t s   t h a t   m a k e   r e p l a c e m e n t   c o n t a i n e r s   i n s i d e   t h e   s a m e   P o d   a n d   r u n n i n g   o n   t h e   s a m e   n o d e .   A f t e r   c o n t a i n e r s   i n ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_4_14216"
  },
  {
    "question": "What is Individual container restart policy and rules?",
    "answer": "I f   y o u r   c l u s t e r   h a s   t h e   f e a t u r e   g a t e   C o n t a i n e r R e s t a r t R u l e s   e n a b l e d ,   y o u   c a n   s p e c i f y   r e s t a r t P o l i c y   a n d   r e s t a r t P o l i c y R u l e s   o n   i n d i v i d u a l   c o n t a i n e r s   t o   o v e r r i d e   t h e   P o d   r e s t a r t   p o l i c y .   C o n t a i n e r   r e s t a r t   p o l i c y   a n d   r u l e s   a p p l i e s   t o   a p p   c o n t a i n e r s   i n   t h e   P o d   a n d   t o   r e g u l a r   i n i t   c o n t a i n e r s .   A   K u b e r n e t e s - n a t i v e   s i d e c a r   c o n t a i n e r   h a s   i t s   c o n t a i n e r - l e v e l   r e s t a r t P o l i c y   s e t   t o   A l w a y s ,   a n d   d o e s   n o t   s u p p o r t   r e s t a r t P o l i c y R u l e s .   T h e   c o n t a i n e r   r e s t a r t s   w i l l   f o l l o w   t h e   s a m e   e x p o n e n t i a l   b a c k o f f   a s   p o d   r e s t a r t   p o l i c y   d e s c r i b e d   a b o v e .   S u p p o r t e d   c o n t a i n e r   r e s t a r t   p o l i c i e s :   A l w a y s :   A u t o m a t i c a l l y   r e s t a r t s   t h e   c o n t a i n e r   a f t e r   a n y   t e r m i n a t i o n . O n F a i l u r e :   O n l y   r e s t a r t s   t h e   c o n t a i n e r   i f   i t   e x i t s   w i t h   a n   e r r o r   ( n o n - z e r o   e x i t   s t a t u s ) . N e v e r :   D o e s   n o t   a u t o m a t i c a l l y   r e s t a r t   t h e   t e r m i n a t e d   c o n t a i n e r .   A d d i t i o n a l l y ,   i n d i v i d u a l   c o n t a i n e r s   c a n   s p e c i f y   r e s t a r t P o l i c y R u l e s .   I f   t h e   r e s t a r t P o l i c y R u l e s   f i e l d   i s   s p e c i f i e d ,   t h e n   c o n t a i n e r   r e s t a r t P o l i c y   m u s t   a l s o   b e   s p e c i f i e d .   T h e   r e s t a r t P o l i c y R u l e s   d e f i n e   a   l i s t   o f   r u l e s   t o   a p p l y   ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_4_14217"
  },
  {
    "question": "What is Reduced container restart delay?",
    "answer": "W i t h   t h e   a l p h a   f e a t u r e   g a t e   R e d u c e D e f a u l t C r a s h L o o p B a c k O f f D e c a y   e n a b l e d ,   c o n t a i n e r   s t a r t   r e t r i e s   a c r o s s   y o u r   c l u s t e r   w i l l   b e   r e d u c e d   t o   b e g i n   a t   1 s   ( i n s t e a d   o f   1 0 s )   a n d   i n c r e a s e   e x p o n e n t i a l l y   b y   2 x   e a c h   r e s t a r t   u n t i l   a   m a x i m u m   d e l a y   o f   6 0 s   ( i n s t e a d   o f   3 0 0 s   w h i c h   i s   5   m i n u t e s ) .   I f   y o u   u s e   t h i s   f e a t u r e   a l o n g   w i t h   t h e   a l p h a   f e a t u r e   K u b e l e t C r a s h L o o p B a c k O f f M a x   ( d e s c r i b e d   b e l o w ) ,   i n d i v i d u a l   n o d e s   m a y   h a v e   d i f f e r e n t   m a x i m u m   d e l a y s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_3_14218"
  },
  {
    "question": "What is Configurable container restart delay?",
    "answer": "W i t h   t h e   a l p h a   f e a t u r e   g a t e   K u b e l e t C r a s h L o o p B a c k O f f M a x   e n a b l e d ,   y o u   c a n   r e c o n f i g u r e   t h e   m a x i m u m   d e l a y   b e t w e e n   c o n t a i n e r   s t a r t   r e t r i e s   f r o m   t h e   d e f a u l t   o f   3 0 0 s   ( 5   m i n u t e s ) .   T h i s   c o n f i g u r a t i o n   i s   s e t   p e r   n o d e   u s i n g   k u b e l e t   c o n f i g u r a t i o n .   I n   y o u r   k u b e l e t   c o n f i g u r a t i o n ,   u n d e r   c r a s h L o o p B a c k O f f   s e t   t h e   m a x C o n t a i n e r R e s t a r t P e r i o d   f i e l d   b e t w e e n   \" 1 s \"   a n d   \" 3 0 0 s \" .   A s   d e s c r i b e d   a b o v e   i n   C o n t a i n e r   r e s t a r t   p o l i c y ,   d e l a y s   o n   t h a t   n o d e   w i l l   s t i l l   s t a r t   a t   1 0 s   a n d   i n c r e a s e   e x p o n e n t i a l l y   b y   2 x   e a c h   r e s t a r t ,   b u t   w i l l   n o w   b e   c a p p e d   a t   y o u r   c o n f i g u r e d   m a x i m u m .   I f   t h e   m a x C o n t a i n e r R e s t a r t P e r i o d   y o u   c o n f i g u r e   i s   l e s s   t h a n   t h e   d e f a u l t   i n i t i a l   v a l u e   o f   1 0 s ,   t h e   i n i t i a l   d e l a y   w i l l   i n s t e a d   b e   s e t   t o   t h e   c o n f i g u r e d   m a x i m u m .   S e e   t h e   f o l l o w i n g   k u b e l e t   c o n f i g u r a t i o n   e x a m p l e s :   #   c o n t a i n e r   r e s t a r t   d e l a y s   w i l l   s t a r t   a t   1 0 s ,   i n c r e a s i n g   #   2 x   e a c h   t i m e   t h e y   a r e   r e s t a r t e d ,   t o   a   m a x i m u m   o f   1 0 0 s   k i n d :   K u b e l e t C o n f i g u r a t i o n   c r a s h L o o p B a c k O f f :   m a x C o n t a i n e r R e s t a r t P e r i o d :   \" 1 0 0 s \"   #   d e l a y s   b e t w e e n   c o n t a i n e r   r e s t a r t s   w i l l   a l w a y s   b e   2 s   ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_3_14219"
  },
  {
    "question": "What is Pod conditions?",
    "answer": "A   P o d   h a s   a   P o d S t a t u s ,   w h i c h   h a s   a n   a r r a y   o f   P o d C o n d i t i o n s   t h r o u g h   w h i c h   t h e   P o d   h a s   o r   h a s   n o t   p a s s e d .   K u b e l e t   m a n a g e s   t h e   f o l l o w i n g   P o d C o n d i t i o n s :   P o d S c h e d u l e d :   t h e   P o d   h a s   b e e n   s c h e d u l e d   t o   a   n o d e . P o d R e a d y T o S t a r t C o n t a i n e r s :   ( b e t a   f e a t u r e ;   e n a b l e d   b y   d e f a u l t )   t h e   P o d   s a n d b o x   h a s   b e e n   s u c c e s s f u l l y   c r e a t e d   a n d   n e t w o r k i n g   c o n f i g u r e d . C o n t a i n e r s R e a d y :   a l l   c o n t a i n e r s   i n   t h e   P o d   a r e   r e a d y . I n i t i a l i z e d :   a l l   i n i t   c o n t a i n e r s   h a v e   c o m p l e t e d   s u c c e s s f u l l y . R e a d y :   t h e   P o d   i s   a b l e   t o   s e r v e   r e q u e s t s   a n d   s h o u l d   b e   a d d e d   t o   t h e   l o a d   b a l a n c i n g   p o o l s   o f   a l l   m a t c h i n g   S e r v i c e s . D i s r u p t i o n T a r g e t :   t h e   p o d   i s   a b o u t   t o   b e   t e r m i n a t e d   d u e   t o   a   d i s r u p t i o n   ( s u c h   a s   p r e e m p t i o n ,   e v i c t i o n   o r   g a r b a g e - c o l l e c t i o n ) . P o d R e s i z e P e n d i n g :   a   p o d   r e s i z e   w a s   r e q u e s t e d   b u t   c a n n o t   b e   a p p l i e d .   S e e   P o d   r e s i z e   s t a t u s . P o d R e s i z e I n P r o g r e s s :   t h e   p o d   i s   i n   t h e   p r o c e s s   o f   r e s i z i n g .   S e e   P o d   r e s i z e   s t a t u s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_2_14220"
  },
  {
    "question": "What is Pod readiness?",
    "answer": "Y o u r   a p p l i c a t i o n   c a n   i n j e c t   e x t r a",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_3_14221"
  },
  {
    "question": "What is Status for Pod readiness?",
    "answer": "T h e   k u b e c t l   p a t c h   c o m m a n d   d o e s   n o t   s u p p o r t   p a t c h i n g   o b j e c t   s t a t u s .   T o   s e t   t h e s e   s t a t u s . c o n d i t i o n s   f o r   t h e   P o d ,   a p p l i c a t i o n s   a n d   o p e r a t o r s   s h o u l d   u s e   t h e   P A T C H   a c t i o n .   Y o u   c a n   u s e   a   K u b e r n e t e s   c l i e n t   l i b r a r y   t o   w r i t e   c o d e   t h a t   s e t s   c u s t o m   P o d   c o n d i t i o n s   f o r   P o d   r e a d i n e s s .   F o r   a   P o d   t h a t   u s e s   c u s t o m   c o n d i t i o n s ,   t h a t   P o d   i s   e v a l u a t e d   t o   b e   r e a d y   o n l y   w h e n   b o t h   t h e   f o l l o w i n g   s t a t e m e n t s   a p p l y :   A l l   c o n t a i n e r s   i n   t h e   P o d   a r e   r e a d y . A l l   c o n d i t i o n s   s p e c i f i e d   i n   r e a d i n e s s G a t e s   a r e   T r u e .   W h e n   a   P o d ' s   c o n t a i n e r s   a r e   R e a d y   b u t   a t   l e a s t   o n e   c u s t o m   c o n d i t i o n   i s   m i s s i n g   o r   F a l s e ,   t h e   k u b e l e t   s e t s   t h e   P o d ' s   c o n d i t i o n   t o   C o n t a i n e r s R e a d y .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_3_14222"
  },
  {
    "question": "What is Note:?",
    "answer": "A f t e r   a   P o d   g e t s   s c h e d u l e d   o n   a   n o d e ,   i t   n e e d s   t o   b e   a d m i t t e d   b y   t h e   k u b e l e t   a n d   t o   h a v e   a n y   r e q u i r e d   s t o r a g e   v o l u m e s   m o u n t e d .   O n c e   t h e s e   p h a s e s   a r e   c o m p l e t e ,   t h e   k u b e l e t   w o r k s   w i t h   a   c o n t a i n e r   r u n t i m e   ( u s i n g   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I ) )   t o   s e t   u p   a   r u n t i m e   s a n d b o x   a n d   c o n f i g u r e   n e t w o r k i n g   f o r   t h e   P o d .   I f   t h e   P o d R e a d y T o S t a r t C o n t a i n e r s C o n d i t i o n   f e a t u r e   g a t e   i s   e n a b l e d   ( i t   i s   e n a b l e d   b y   d e f a u l t   f o r   K u b e r n e t e s   1 . 3 4 ) ,   t h e   P o d R e a d y T o S t a r t C o n t a i n e r s   c o n d i t i o n   w i l l   b e   a d d e d   t o   t h e   s t a t u s . c o n d i t i o n s   f i e l d   o f   a   P o d .   T h e   P o d R e a d y T o S t a r t C o n t a i n e r s   c o n d i t i o n   i s   s e t   t o   F a l s e   b y   t h e   K u b e l e t   w h e n   i t   d e t e c t s   a   P o d   d o e s   n o t   h a v e   a   r u n t i m e   s a n d b o x   w i t h   n e t w o r k i n g   c o n f i g u r e d .   T h i s   o c c u r s   i n   t h e   f o l l o w i n g   s c e n a r i o s :   E a r l y   i n   t h e   l i f e c y c l e   o f   t h e   P o d ,   w h e n   t h e   k u b e l e t   h a s   n o t   y e t   b e g u n   t o   s e t   u p   a   s a n d b o x   f o r   t h e   P o d   u s i n g   t h e   c o n t a i n e r   r u n t i m e . L a t e r   i n   t h e   l i f e c y c l e   o f   t h e   P o d ,   w h e n   t h e   P o d   s a n d b o x   h a s   b e e n   d e s t r o y e d   d u e   t o   e i t h e r : t h e   n o d e   r e b o o t i n g ,   w i t h o u t   t h e   P o d   g e t t i n g   e v i c t e d f o r   c o n t a i n e r   r u n t ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_4_14223"
  },
  {
    "question": "What is Container probes?",
    "answer": "A   p r o b e   i s   a   d i a g n o s t i c   p e r f o r m e d   p e r i o d i c a l l y   b y   t h e   k u b e l e t   o n   a   c o n t a i n e r .   T o   p e r f o r m   a   d i a g n o s t i c ,   t h e   k u b e l e t   e i t h e r   e x e c u t e s   c o d e   w i t h i n   t h e   c o n t a i n e r ,   o r   m a k e s   a   n e t w o r k   r e q u e s t .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_2_14224"
  },
  {
    "question": "What is Check mechanisms?",
    "answer": "T h e r e   a r e   f o u r   d i f f e r e n t   w a y s   t o   c h e c k   a   c o n t a i n e r   u s i n g   a   p r o b e .   E a c h   p r o b e   m u s t   d e f i n e   e x a c t l y   o n e   o f   t h e s e   f o u r   m e c h a n i s m s :",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_3_14225"
  },
  {
    "question": "What is Probe outcome?",
    "answer": "E a c h   p r o b e   h a s   o n e   o f   t h r e e   r e s u l t s :",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_3_14226"
  },
  {
    "question": "What is Types of probe?",
    "answer": "T h e   k u b e l e t   c a n   o p t i o n a l l y   p e r f o r m   a n d   r e a c t   t o   t h r e e   k i n d s   o f   p r o b e s   o n   r u n n i n g   c o n t a i n e r s :   F o r   m o r e   i n f o r m a t i o n   a b o u t   h o w   t o   s e t   u p   a   l i v e n e s s ,   r e a d i n e s s ,   o r   s t a r t u p   p r o b e ,   s e e   C o n f i g u r e   L i v e n e s s ,   R e a d i n e s s   a n d   S t a r t u p   P r o b e s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_3_14227"
  },
  {
    "question": "What is When should you use a liveness probe??",
    "answer": "I f   t h e   p r o c e s s   i n   y o u r   c o n t a i n e r   i s   a b l e   t o   c r a s h   o n   i t s   o w n   w h e n e v e r   i t   e n c o u n t e r s   a n   i s s u e   o r   b e c o m e s   u n h e a l t h y ,   y o u   d o   n o t   n e c e s s a r i l y   n e e d   a   l i v e n e s s   p r o b e ;   t h e   k u b e l e t   w i l l   a u t o m a t i c a l l y   p e r f o r m   t h e   c o r r e c t   a c t i o n   i n   a c c o r d a n c e   w i t h   t h e   P o d ' s   r e s t a r t P o l i c y .   I f   y o u ' d   l i k e   y o u r   c o n t a i n e r   t o   b e   k i l l e d   a n d   r e s t a r t e d   i f   a   p r o b e   f a i l s ,   t h e n   s p e c i f y   a   l i v e n e s s   p r o b e ,   a n d   s p e c i f y   a   r e s t a r t P o l i c y   o f   A l w a y s   o r   O n F a i l u r e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_4_14228"
  },
  {
    "question": "What is When should you use a readiness probe??",
    "answer": "I f   y o u ' d   l i k e   t o   s t a r t   s e n d i n g   t r a f f i c   t o   a   P o d   o n l y   w h e n   a   p r o b e   s u c c e e d s ,   s p e c i f y   a   r e a d i n e s s   p r o b e .   I n   t h i s   c a s e ,   t h e   r e a d i n e s s   p r o b e   m i g h t   b e   t h e   s a m e   a s   t h e   l i v e n e s s   p r o b e ,   b u t   t h e   e x i s t e n c e   o f   t h e   r e a d i n e s s   p r o b e   i n   t h e   s p e c   m e a n s   t h a t   t h e   P o d   w i l l   s t a r t   w i t h o u t   r e c e i v i n g   a n y   t r a f f i c   a n d   o n l y   s t a r t   r e c e i v i n g   t r a f f i c   a f t e r   t h e   p r o b e   s t a r t s   s u c c e e d i n g .   I f   y o u   w a n t   y o u r   c o n t a i n e r   t o   b e   a b l e   t o   t a k e   i t s e l f   d o w n   f o r   m a i n t e n a n c e ,   y o u   c a n   s p e c i f y   a   r e a d i n e s s   p r o b e   t h a t   c h e c k s   a n   e n d p o i n t   s p e c i f i c   t o   r e a d i n e s s   t h a t   i s   d i f f e r e n t   f r o m   t h e   l i v e n e s s   p r o b e .   I f   y o u r   a p p   h a s   a   s t r i c t   d e p e n d e n c y   o n   b a c k - e n d   s e r v i c e s ,   y o u   c a n   i m p l e m e n t   b o t h   a   l i v e n e s s   a n d   a   r e a d i n e s s   p r o b e .   T h e   l i v e n e s s   p r o b e   p a s s e s   w h e n   t h e   a p p   i t s e l f   i s   h e a l t h y ,   b u t   t h e   r e a d i n e s s   p r o b e   a d d i t i o n a l l y   c h e c k s   t h a t   e a c h   r e q u i r e d   b a c k - e n d   s e r v i c e   i s   a v a i l a b l e .   T h i s   h e l p s   y o u   a v o i d   d i r e c t i n g   t r a f f i c   t o   P o d s   t h a t   c a n   o n l y   r e s p o n d   w i t h   e r r o r   m e s s a g e s .   I f   y o u r   c o n t a i n e r   n e e d s   t o   w o r k   o n   l o a d i n g   l a r g e   d a t a ,   c o n f i g u r a t i o n   f i l e s ,   o r   m i g r a t i ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_4_14229"
  },
  {
    "question": "What is When should you use a startup probe??",
    "answer": "S t a r t u p   p r o b e s   a r e   u s e f u l   f o r   P o d s   t h a t   h a v e   c o n t a i n e r s   t h a t   t a k e   a   l o n g   t i m e   t o   c o m e   i n t o   s e r v i c e .   R a t h e r   t h a n   s e t   a   l o n g   l i v e n e s s   i n t e r v a l ,   y o u   c a n   c o n f i g u r e   a   s e p a r a t e   c o n f i g u r a t i o n   f o r   p r o b i n g   t h e   c o n t a i n e r   a s   i t   s t a r t s   u p ,   a l l o w i n g   a   t i m e   l o n g e r   t h a n   t h e   l i v e n e s s   i n t e r v a l   w o u l d   a l l o w .   I f   y o u r   c o n t a i n e r   u s u a l l y   s t a r t s   i n   m o r e   t h a n   \\ (   i n i t i a l D e l a y S e c o n d s   +   f a i l u r e T h r e s h o l d   \\ t i m e s   p e r i o d S e c o n d s   \\ ) ,   y o u   s h o u l d   s p e c i f y   a   s t a r t u p   p r o b e   t h a t   c h e c k s   t h e   s a m e   e n d p o i n t   a s   t h e   l i v e n e s s   p r o b e .   T h e   d e f a u l t   f o r   p e r i o d S e c o n d s   i s   1 0 s .   Y o u   s h o u l d   t h e n   s e t   i t s   f a i l u r e T h r e s h o l d   h i g h   e n o u g h   t o   a l l o w   t h e   c o n t a i n e r   t o   s t a r t ,   w i t h o u t   c h a n g i n g   t h e   d e f a u l t   v a l u e s   o f   t h e   l i v e n e s s   p r o b e .   T h i s   h e l p s   t o   p r o t e c t   a g a i n s t   d e a d l o c k s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_4_14230"
  },
  {
    "question": "What is Termination of Pods?",
    "answer": "B e c a u s e   P o d s   r e p r e s e n t   p r o c e s s e s   r u n n i n g   o n   n o d e s   i n   t h e   c l u s t e r ,   i t   i s   i m p o r t a n t   t o   a l l o w   t h o s e   p r o c e s s e s   t o   g r a c e f u l l y   t e r m i n a t e   w h e n   t h e y   a r e   n o   l o n g e r   n e e d e d   ( r a t h e r   t h a n   b e i n g   a b r u p t l y   s t o p p e d   w i t h   a   K I L L   s i g n a l   a n d   h a v i n g   n o   c h a n c e   t o   c l e a n   u p ) .   T h e   d e s i g n   a i m   i s   f o r   y o u   t o   b e   a b l e   t o   r e q u e s t   d e l e t i o n   a n d   k n o w   w h e n   p r o c e s s e s   t e r m i n a t e ,   b u t   a l s o   b e   a b l e   t o   e n s u r e   t h a t   d e l e t e s   e v e n t u a l l y   c o m p l e t e .   W h e n   y o u   r e q u e s t   d e l e t i o n   o f   a   P o d ,   t h e   c l u s t e r   r e c o r d s   a n d   t r a c k s   t h e   i n t e n d e d   g r a c e   p e r i o d   b e f o r e   t h e   P o d   i s   a l l o w e d   t o   b e   f o r c e f u l l y   k i l l e d .   W i t h   t h a t   f o r c e f u l   s h u t d o w n   t r a c k i n g   i n   p l a c e ,   t h e   k u b e l e t   a t t e m p t s   g r a c e f u l   s h u t d o w n .   T y p i c a l l y ,   w i t h   t h i s   g r a c e f u l   t e r m i n a t i o n   o f   t h e   p o d ,   k u b e l e t   m a k e s   r e q u e s t s   t o   t h e   c o n t a i n e r   r u n t i m e   t o   a t t e m p t   t o   s t o p   t h e   c o n t a i n e r s   i n   t h e   p o d   b y   f i r s t   s e n d i n g   a   T E R M   ( a k a .   S I G T E R M )   s i g n a l ,   w i t h   a   g r a c e   p e r i o d   t i m e o u t ,   t o   t h e   m a i n   p r o c e s s   i n   e a c h   c o n t a i n e r .   T h e   r e q u e s t s   t o   s t o p   t h e   c o n t a i n e r s   a r e   p r o c e s s e d   b y   t h e   c o n t a i n e r   r u n t i m e   a s y n c h r o n o u s l y .   T h e r e   i s   n o ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_2_14231"
  },
  {
    "question": "What is Stop Signals?",
    "answer": "T h e   s t o p   s i g n a l   u s e d   t o   k i l l   t h e   c o n t a i n e r   c a n   b e   d e f i n e d   i n   t h e   c o n t a i n e r   i m a g e   w i t h   t h e   S T O P S I G N A L   i n s t r u c t i o n .   I f   n o   s t o p   s i g n a l   i s   d e f i n e d   i n   t h e   i m a g e ,   t h e   d e f a u l t   s i g n a l   o f   t h e   c o n t a i n e r   r u n t i m e   ( S I G T E R M   f o r   b o t h   c o n t a i n e r d   a n d   C R I - O )   w o u l d   b e   u s e d   t o   k i l l   t h e   c o n t a i n e r .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_3_14232"
  },
  {
    "question": "What is Defining custom stop signals?",
    "answer": "I f   t h e   C o n t a i n e r S t o p S i g n a l s   f e a t u r e   g a t e   i s   e n a b l e d ,   y o u   c a n   c o n f i g u r e   a   c u s t o m   s t o p   s i g n a l   f o r   y o u r   c o n t a i n e r s   f r o m   t h e   c o n t a i n e r   L i f e c y c l e .   W e   r e q u i r e   t h e   P o d ' s   s p e c . o s . n a m e   f i e l d   t o   b e   p r e s e n t   a s   a   r e q u i r e m e n t   f o r   d e f i n i n g   s t o p   s i g n a l s   i n   t h e   c o n t a i n e r   l i f e c y c l e .   T h e   l i s t   o f   s i g n a l s   t h a t   a r e   v a l i d   d e p e n d s   o n   t h e   O S   t h e   P o d   i s   s c h e d u l e d   t o .   F o r   P o d s   s c h e d u l e d   t o   W i n d o w s   n o d e s ,   w e   o n l y   s u p p o r t   S I G T E R M   a n d   S I G K I L L   a s   v a l i d   s i g n a l s .   H e r e   i s   a n   e x a m p l e   P o d   s p e c   d e f i n i n g   a   c u s t o m   s t o p   s i g n a l :   s p e c :   o s :   n a m e :   l i n u x   c o n t a i n e r s :   -   n a m e :   m y - c o n t a i n e r   i m a g e :   c o n t a i n e r - i m a g e : l a t e s t   l i f e c y c l e :   s t o p S i g n a l :   S I G U S R 1   I f   a   s t o p   s i g n a l   i s   d e f i n e d   i n   t h e   l i f e c y c l e ,   t h i s   w i l l   o v e r r i d e   t h e   s i g n a l   d e f i n e d   i n   t h e   c o n t a i n e r   i m a g e .   I f   n o   s t o p   s i g n a l   i s   d e f i n e d   i n   t h e   c o n t a i n e r   s p e c ,   t h e   c o n t a i n e r   w o u l d   f a l l   b a c k   t o   t h e   d e f a u l t   b e h a v i o r .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_3_14233"
  },
  {
    "question": "What is Pod Termination Flow?",
    "answer": "P o d   t e r m i n a t i o n   f l o w ,   i l l u s t r a t e d   w i t h   a n   e x a m p l e :   Y o u   u s e   t h e   k u b e c t l   t o o l   t o   m a n u a l l y   d e l e t e   a   s p e c i f i c   P o d ,   w i t h   t h e   d e f a u l t   g r a c e   p e r i o d   ( 3 0   s e c o n d s ) . T h e   P o d   i n   t h e   A P I   s e r v e r   i s   u p d a t e d   w i t h   t h e   t i m e   b e y o n d   w h i c h   t h e   P o d   i s   c o n s i d e r e d   \" d e a d \"   a l o n g   w i t h   t h e   g r a c e   p e r i o d .   I f   y o u   u s e   k u b e c t l   d e s c r i b e   t o   c h e c k   t h e   P o d   y o u ' r e   d e l e t i n g ,   t h a t   P o d   s h o w s   u p   a s   \" T e r m i n a t i n g \" .   O n   t h e   n o d e   w h e r e   t h e   P o d   i s   r u n n i n g :   a s   s o o n   a s   t h e   k u b e l e t   s e e s   t h a t   a   P o d   h a s   b e e n   m a r k e d   a s   t e r m i n a t i n g   ( a   g r a c e f u l   s h u t d o w n   d u r a t i o n   h a s   b e e n   s e t ) ,   t h e   k u b e l e t   b e g i n s   t h e   l o c a l   P o d   s h u t d o w n   p r o c e s s . I f   o n e   o f   t h e   P o d ' s   c o n t a i n e r s   h a s   d e f i n e d   a   p r e S t o p   h o o k   a n d   t h e   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   i n   t h e   P o d   s p e c   i s   n o t   s e t   t o   0 ,   t h e   k u b e l e t   r u n s   t h a t   h o o k   i n s i d e   o f   t h e   c o n t a i n e r .   T h e   d e f a u l t   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   s e t t i n g   i s   3 0   s e c o n d s . I f   t h e   p r e S t o p   h o o k   i s   s t i l l   r u n n i n g   a f t e r   t h e   g r a c e   p e r i o d   e x p i r e s ,   t h e   k u b e l e t   r e q u e s t s   a   s m a l l ,   o n e - o f f   g r a c e   p e r i o d   e x t e n s i o n   o f   2   s e c o n d s . N o t e : I f   t h e   p r e S t o p   h o o k   n e e d s   l o n g ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_3_14234"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   k u b e l e t   t r i g g e r s   t h e   c o n t a i n e r   r u n t i m e   t o   s e n d   a   T E R M   s i g n a l   t o   p r o c e s s   1   i n s i d e   e a c h   c o n t a i n e r .   T h e r e   i s   s p e c i a l   o r d e r i n g   i f   t h e   P o d   h a s   a n y   s i d e c a r   c o n t a i n e r s   d e f i n e d .   O t h e r w i s e ,   t h e   c o n t a i n e r s   i n   t h e   P o d   r e c e i v e   t h e   T E R M   s i g n a l   a t   d i f f e r e n t   t i m e s   a n d   i n   a n   a r b i t r a r y   o r d e r .   I f   t h e   o r d e r   o f   s h u t d o w n s   m a t t e r s ,   c o n s i d e r   u s i n g   a   p r e S t o p   h o o k   t o   s y n c h r o n i z e   ( o r   s w i t c h   t o   u s i n g   s i d e c a r   c o n t a i n e r s ) .   A t   t h e   s a m e   t i m e   a s   t h e   k u b e l e t   i s   s t a r t i n g   g r a c e f u l   s h u t d o w n   o f   t h e   P o d ,   t h e   c o n t r o l   p l a n e   e v a l u a t e s   w h e t h e r   t o   r e m o v e   t h a t   s h u t t i n g - d o w n   P o d   f r o m   E n d p o i n t S l i c e   o b j e c t s ,   w h e r e   t h o s e   o b j e c t s   r e p r e s e n t   a   S e r v i c e   w i t h   a   c o n f i g u r e d   s e l e c t o r .   R e p l i c a S e t s   a n d   o t h e r   w o r k l o a d   r e s o u r c e s   n o   l o n g e r   t r e a t   t h e   s h u t t i n g - d o w n   P o d   a s   a   v a l i d ,   i n - s e r v i c e   r e p l i c a .   P o d s   t h a t   s h u t   d o w n   s l o w l y   s h o u l d   n o t   c o n t i n u e   t o   s e r v e   r e g u l a r   t r a f f i c   a n d   s h o u l d   s t a r t   t e r m i n a t i n g   a n d   f i n i s h   p r o c e s s i n g   o p e n   c o n n e c t i o n s .   S o m e   a p p l i c a t i o n s   n e e d   t o   g o   b e y o n d   f i n i s h i n g   o p e n   c o n n e c t i o n s   a n d   n e e d   m o r e   g r a c e f u l   t e r m i n a t i o n ,   f o r   e x a m ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_4_14235"
  },
  {
    "question": "What is Caution:?",
    "answer": "B y   d e f a u l t ,   a l l   d e l e t e s   a r e   g r a c e f u l   w i t h i n   3 0   s e c o n d s .   T h e   k u b e c t l   d e l e t e   c o m m a n d   s u p p o r t s   t h e   - - g r a c e - p e r i o d = < s e c o n d s >   o p t i o n   w h i c h   a l l o w s   y o u   t o   o v e r r i d e   t h e   d e f a u l t   a n d   s p e c i f y   y o u r   o w n   v a l u e .   S e t t i n g   t h e   g r a c e   p e r i o d   t o   0   f o r c i b l y   a n d   i m m e d i a t e l y   d e l e t e s   t h e   P o d   f r o m   t h e   A P I   s e r v e r .   I f   t h e   P o d   w a s   s t i l l   r u n n i n g   o n   a   n o d e ,   t h a t   f o r c i b l e   d e l e t i o n   t r i g g e r s   t h e   k u b e l e t   t o   b e g i n   i m m e d i a t e   c l e a n u p .   U s i n g   k u b e c t l ,   Y o u   m u s t   s p e c i f y   a n   a d d i t i o n a l   f l a g   - - f o r c e   a l o n g   w i t h   - - g r a c e - p e r i o d = 0   i n   o r d e r   t o   p e r f o r m   f o r c e   d e l e t i o n s .   W h e n   a   f o r c e   d e l e t i o n   i s   p e r f o r m e d ,   t h e   A P I   s e r v e r   d o e s   n o t   w a i t   f o r   c o n f i r m a t i o n   f r o m   t h e   k u b e l e t   t h a t   t h e   P o d   h a s   b e e n   t e r m i n a t e d   o n   t h e   n o d e   i t   w a s   r u n n i n g   o n .   I t   r e m o v e s   t h e   P o d   i n   t h e   A P I   i m m e d i a t e l y   s o   a   n e w   P o d   c a n   b e   c r e a t e d   w i t h   t h e   s a m e   n a m e .   O n   t h e   n o d e ,   P o d s   t h a t   a r e   s e t   t o   t e r m i n a t e   i m m e d i a t e l y   w i l l   s t i l l   b e   g i v e n   a   s m a l l   g r a c e   p e r i o d   b e f o r e   b e i n g   f o r c e   k i l l e d .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_4_14236"
  },
  {
    "question": "What is Caution:?",
    "answer": "I f   y o u   n e e d   t o   f o r c e - d e l e t e   P o d s   t h a t   a r e   p a r t   o f   a   S t a t e f u l S e t ,   r e f e r   t o   t h e   t a s k   d o c u m e n t a t i o n   f o r   d e l e t i n g   P o d s   f r o m   a   S t a t e f u l S e t .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_4_14237"
  },
  {
    "question": "What is Pod shutdown and sidecar containers?",
    "answer": "I f   y o u r   P o d   i n c l u d e s   o n e   o r   m o r e   s i d e c a r   c o n t a i n e r s   ( i n i t   c o n t a i n e r s   w i t h   a n   A l w a y s   r e s t a r t   p o l i c y ) ,   t h e   k u b e l e t   w i l l   d e l a y   s e n d i n g   t h e   T E R M   s i g n a l   t o   t h e s e   s i d e c a r   c o n t a i n e r s   u n t i l   t h e   l a s t   m a i n   c o n t a i n e r   h a s   f u l l y   t e r m i n a t e d .   T h e   s i d e c a r   c o n t a i n e r s   w i l l   b e   t e r m i n a t e d   i n   t h e   r e v e r s e   o r d e r   t h e y   a r e   d e f i n e d   i n   t h e   P o d   s p e c .   T h i s   e n s u r e s   t h a t   s i d e c a r   c o n t a i n e r s   c o n t i n u e   s e r v i n g   t h e   o t h e r   c o n t a i n e r s   i n   t h e   P o d   u n t i l   t h e y   a r e   n o   l o n g e r   n e e d e d .   T h i s   m e a n s   t h a t   s l o w   t e r m i n a t i o n   o f   a   m a i n   c o n t a i n e r   w i l l   a l s o   d e l a y   t h e   t e r m i n a t i o n   o f   t h e   s i d e c a r   c o n t a i n e r s .   I f   t h e   g r a c e   p e r i o d   e x p i r e s   b e f o r e   t h e   t e r m i n a t i o n   p r o c e s s   i s   c o m p l e t e ,   t h e   P o d   m a y   e n t e r   f o r c e d   t e r m i n a t i o n .   I n   t h i s   c a s e ,   a l l   r e m a i n i n g   c o n t a i n e r s   i n   t h e   P o d   w i l l   b e   t e r m i n a t e d   s i m u l t a n e o u s l y   w i t h   a   s h o r t   g r a c e   p e r i o d .   S i m i l a r l y ,   i f   t h e   P o d   h a s   a   p r e S t o p   h o o k   t h a t   e x c e e d s   t h e   t e r m i n a t i o n   g r a c e   p e r i o d ,   e m e r g e n c y   t e r m i n a t i o n   m a y   o c c u r .   I n   g e n e r a l ,   i f   y o u   h a v e   u s e d   p r e S t o p   h o o k s   t o   c o n t r o l   t h e   t e r m i n a t i o n   o r d e r   w i t h o u t   s i d e c a r   c o n t a i n e r s ,   y o ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_3_14238"
  },
  {
    "question": "What is Garbage collection of Pods?",
    "answer": "F o r   f a i l e d   P o d s ,   t h e   A P I   o b j e c t s   r e m a i n   i n   t h e   c l u s t e r ' s   A P I   u n t i l   a   h u m a n   o r   c o n t r o l l e r   p r o c e s s   e x p l i c i t l y   r e m o v e s   t h e m .   T h e   P o d   g a r b a g e   c o l l e c t o r   ( P o d G C ) ,   w h i c h   i s   a   c o n t r o l l e r   i n   t h e   c o n t r o l   p l a n e ,   c l e a n s   u p   t e r m i n a t e d   P o d s   ( w i t h   a   p h a s e   o f   S u c c e e d e d   o r   F a i l e d ) ,   w h e n   t h e   n u m b e r   o f   P o d s   e x c e e d s   t h e   c o n f i g u r e d   t h r e s h o l d   ( d e t e r m i n e d   b y   t e r m i n a t e d - p o d - g c - t h r e s h o l d   i n   t h e   k u b e - c o n t r o l l e r - m a n a g e r ) .   T h i s   a v o i d s   a   r e s o u r c e   l e a k   a s   P o d s   a r e   c r e a t e d   a n d   t e r m i n a t e d   o v e r   t i m e .   A d d i t i o n a l l y ,   P o d G C   c l e a n s   u p   a n y   P o d s   w h i c h   s a t i s f y   a n y   o f   t h e   f o l l o w i n g   c o n d i t i o n s :   a r e   o r p h a n   P o d s   -   b o u n d   t o   a   n o d e   w h i c h   n o   l o n g e r   e x i s t s , a r e   u n s c h e d u l e d   t e r m i n a t i n g   P o d s , a r e   t e r m i n a t i n g   P o d s ,   b o u n d   t o   a   n o n - r e a d y   n o d e   t a i n t e d   w i t h   n o d e . k u b e r n e t e s . i o / o u t - o f - s e r v i c e .   A l o n g   w i t h   c l e a n i n g   u p   t h e   P o d s ,   P o d G C   w i l l   a l s o   m a r k   t h e m   a s   f a i l e d   i f   t h e y   a r e   i n   a   n o n - t e r m i n a l   p h a s e .   A l s o ,   P o d G C   a d d s   a   P o d   d i s r u p t i o n   c o n d i t i o n   w h e n   c l e a n i n g   u p   a n   o r p h a n   P o d .   S e e   P o d   d i s r u p t i o n   c o n d i t i o n s   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_3_14239"
  },
  {
    "question": "What is What's next?",
    "answer": "G e t   h a n d s - o n   e x p e r i e n c e   a t t a c h i n g   h a n d l e r s   t o   c o n t a i n e r   l i f e c y c l e   e v e n t s . G e t   h a n d s - o n   e x p e r i e n c e   c o n f i g u r i n g   L i v e n e s s ,   R e a d i n e s s   a n d   S t a r t u p   P r o b e s . L e a r n   m o r e   a b o u t   c o n t a i n e r   l i f e c y c l e   h o o k s . L e a r n   m o r e   a b o u t   s i d e c a r   c o n t a i n e r s . F o r   d e t a i l e d   i n f o r m a t i o n   a b o u t   P o d   a n d   c o n t a i n e r   s t a t u s   i n   t h e   A P I ,   s e e   t h e   A P I   r e f e r e n c e   d o c u m e n t a t i o n   c o v e r i n g   s t a t u s   f o r   P o d .   G e t   h a n d s - o n   e x p e r i e n c e   a t t a c h i n g   h a n d l e r s   t o   c o n t a i n e r   l i f e c y c l e   e v e n t s .   G e t   h a n d s - o n   e x p e r i e n c e   c o n f i g u r i n g   L i v e n e s s ,   R e a d i n e s s   a n d   S t a r t u p   P r o b e s .   L e a r n   m o r e   a b o u t   c o n t a i n e r   l i f e c y c l e   h o o k s .   L e a r n   m o r e   a b o u t   s i d e c a r   c o n t a i n e r s .   F o r   d e t a i l e d   i n f o r m a t i o n   a b o u t   P o d   a n d   c o n t a i n e r   s t a t u s   i n   t h e   A P I ,   s e e   t h e   A P I   r e f e r e n c e   d o c u m e n t a t i o n   c o v e r i n g   s t a t u s   f o r   P o d .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/",
    "id": "k8s_00646_section_2_14240"
  },
  {
    "question": "What is Tasks?",
    "answer": "This section of the Kubernetes documentation contains pages that show how to do individual tasks. A task page shows how to do a single thing, typically by giving a short sequence of steps.If you would like to write a task page, see Creating a Documentation Pull Request.Install ToolsSet up Kubernetes tools on your computer.Administer a ClusterLearn common tasks for administering a cluster.Configure Pods and ContainersPerform common configuration tasks for Pods and containers.Monitoring, Logging, and DebuggingSet up monitoring and logging to troubleshoot a cluster, or debug a containerized application.Manage Kubernetes ObjectsDeclarative and imperative paradigms for interacting with the Kubernetes API.Managing SecretsManaging confidential settings data using Secrets.Inject Data Into ApplicationsSpecify configuration and other data for the Pods that run your workload.Run ApplicationsRun and manage both stateless and stateful applications.Run JobsRun Jobs using parallel processing.Access Applications in a ClusterConfigure load balancing, port forwarding, or setup firewall or DNS configurations to access applications in a cluster.Extend KubernetesUnderstand advanced ways to adapt your Kubernetes cluster to the needs of your work environment.TLSUnderstand how to protect traffic within your cluster using Transport Layer Security (TLS).Manage Cluster DaemonsPerform common tasks for managing a DaemonSet, such as performing a rolling update.NetworkingLearn how to configure networking for your cluster.Extend kubectl with pluginsExtend kubectl by creating and installing kubectl plugins.Manage HugePagesConfigure and manage huge pages as a schedulable resource in a cluster.Schedule GPUsConfigure and schedule GPUs for use as a resource by nodes in a cluster.",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/",
    "id": "k8s_00647_qa_14241"
  },
  {
    "question": "How does Tasks work?",
    "answer": "This section of the Kubernetes documentation contains pages that show how to do individual tasks. A task page shows how to do a single thing, typically by giving a short sequence of steps.If you would like to write a task page, see Creating a Documentation Pull Request.Install ToolsSet up Kubernetes tools on your computer.Administer a ClusterLearn common tasks for administering a cluster.Configure Pods and ContainersPerform common configuration tasks for Pods and containers.Monitoring, Logging, and DebuggingSet up monitoring and logging to troubleshoot a cluster, or debug a containerized application.Manage Kubernetes ObjectsDeclarative and imperative paradigms for interacting with the Kubernetes API.Managing SecretsManaging confidential settings data using Secrets.Inject Data Into ApplicationsSpecify configuration and other data for the Pods that run your workload.Run ApplicationsRun and manage both stateless and stateful applications.Run JobsRun Jobs using parallel processing.Access Applications in a ClusterConfigure load balancing, port forwarding, or setup firewall or DNS configurations to access applications in a cluster.Extend KubernetesUnderstand advanced ways to adapt your Kubernetes cluster to the needs of your work environment.TLSUnderstand how to protect traffic within your cluster using Transport Layer Security (TLS).Manage Cluster DaemonsPerform common tasks for managing a DaemonSet, such as performing a rolling update.NetworkingLearn how to configure networking for your cluster.Extend kubectl with pluginsExtend kubectl by creating and installing kubectl plugins.Manage HugePagesConfigure and manage huge pages as a schedulable resource in a cluster.Schedule GPUsConfigure and schedule GPUs for use as a resource by nodes in a cluster.",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/",
    "id": "k8s_00647_qa_14242"
  },
  {
    "question": "When would you use Tasks?",
    "answer": "This section of the Kubernetes documentation contains pages that show how to do individual tasks. A task page shows how to do a single thing, typically by giving a short sequence of steps.If you would like to write a task page, see Creating a Documentation Pull Request.Install ToolsSet up Kubernetes tools on your computer.Administer a ClusterLearn common tasks for administering a cluster.Configure Pods and ContainersPerform common configuration tasks for Pods and containers.Monitoring, Logging, and DebuggingSet up monitoring and logging to troubleshoot a cluster, or debug a containerized application.Manage Kubernetes ObjectsDeclarative and imperative paradigms for interacting with the Kubernetes API.Managing SecretsManaging confidential settings data using Secrets.Inject Data Into ApplicationsSpecify configuration and other data for the Pods that run your workload.Run ApplicationsRun and manage both stateless and stateful applications.Run JobsRun Jobs using parallel processing.Access Applications in a ClusterConfigure load balancing, port forwarding, or setup firewall or DNS configurations to access applications in a cluster.Extend KubernetesUnderstand advanced ways to adapt your Kubernetes cluster to the needs of your work environment.TLSUnderstand how to protect traffic within your cluster using Transport Layer Security (TLS).Manage Cluster DaemonsPerform common tasks for managing a DaemonSet, such as performing a rolling update.NetworkingLearn how to configure networking for your cluster.Extend kubectl with pluginsExtend kubectl by creating and installing kubectl plugins.Manage HugePagesConfigure and manage huge pages as a schedulable resource in a cluster.Schedule GPUsConfigure and schedule GPUs for use as a resource by nodes in a cluster.",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/",
    "id": "k8s_00647_qa_14243"
  },
  {
    "question": "What are the benefits of Tasks?",
    "answer": "This section of the Kubernetes documentation contains pages that show how to do individual tasks. A task page shows how to do a single thing, typically by giving a short sequence of steps.If you would like to write a task page, see Creating a Documentation Pull Request.Install ToolsSet up Kubernetes tools on your computer.Administer a ClusterLearn common tasks for administering a cluster.Configure Pods and ContainersPerform common configuration tasks for Pods and containers.Monitoring, Logging, and DebuggingSet up monitoring and logging to troubleshoot a cluster, or debug a containerized application.Manage Kubernetes ObjectsDeclarative and imperative paradigms for interacting with the Kubernetes API.Managing SecretsManaging confidential settings data using Secrets.Inject Data Into ApplicationsSpecify configuration and other data for the Pods that run your workload.Run ApplicationsRun and manage both stateless and stateful applications.Run JobsRun Jobs using parallel processing.Access Applications in a ClusterConfigure load balancing, port forwarding, or setup firewall or DNS configurations to access applications in a cluster.Extend KubernetesUnderstand advanced ways to adapt your Kubernetes cluster to the needs of your work environment.TLSUnderstand how to protect traffic within your cluster using Transport Layer Security (TLS).Manage Cluster DaemonsPerform common tasks for managing a DaemonSet, such as performing a rolling update.NetworkingLearn how to configure networking for your cluster.Extend kubectl with pluginsExtend kubectl by creating and installing kubectl plugins.Manage HugePagesConfigure and manage huge pages as a schedulable resource in a cluster.Schedule GPUsConfigure and schedule GPUs for use as a resource by nodes in a cluster.",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/",
    "id": "k8s_00647_qa_14244"
  },
  {
    "question": "What is Tasks?",
    "answer": "K u b e r n e t e s   D o c u m e n t a t i o n   D o c u m e n t a t i o n   A v a i l a b l e   D o c u m e n t a t i o n   V e r s i o n s   G e t t i n g   s t a r t e d   L e a r n i n g   e n v i r o n m e n t   P r o d u c t i o n   e n v i r o n m e n t   C o n t a i n e r   R u n t i m e s   I n s t a l l i n g   K u b e r n e t e s   w i t h   d e p l o y m e n t   t o o l s   B o o t s t r a p p i n g   c l u s t e r s   w i t h   k u b e a d m   I n s t a l l i n g   k u b e a d m   T r o u b l e s h o o t i n g   k u b e a d m   C r e a t i n g   a   c l u s t e r   w i t h   k u b e a d m   C u s t o m i z i n g   c o m p o n e n t s   w i t h   t h e   k u b e a d m   A P I   O p t i o n s   f o r   H i g h l y   A v a i l a b l e   T o p o l o g y   C r e a t i n g   H i g h l y   A v a i l a b l e   C l u s t e r s   w i t h   k u b e a d m   S e t   u p   a   H i g h   A v a i l a b i l i t y   e t c d   C l u s t e r   w i t h   k u b e a d m   C o n f i g u r i n g   e a c h   k u b e l e t   i n   y o u r   c l u s t e r   u s i n g   k u b e a d m   D u a l - s t a c k   s u p p o r t   w i t h   k u b e a d m   T u r n k e y   C l o u d   S o l u t i o n s   B e s t   p r a c t i c e s   C o n s i d e r a t i o n s   f o r   l a r g e   c l u s t e r s   R u n n i n g   i n   m u l t i p l e   z o n e s   V a l i d a t e   n o d e   s e t u p   E n f o r c i n g   P o d   S e c u r i t y   S t a n d a r d s   P K I   c e r t i f i c a t e s   a n d   r e q u i r e m e n t s   C o n c e p t s   O v e r v i e w   K u b e r n e t e s   C o m p o n e n t s   O b j e c t s   I n   K u b e r n e t e s   K u b e r n e t e s   O b j e c t   M a n a g e m e n t   O b j e c t   N a m e s   a n d   I D s   L a b e l s   a n d   S e l e c t o r s   N a m e s p a c e s   A n n o t a t i o n s   F i e l d   S e l e c t o r s   F i n a l i z e r s   O w n e r s   a n d   D e p e n d e n t s   R e c o m m e n d e d   L a b e l s   T h e   K u b e r n e t e s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/",
    "id": "k8s_00647_section_1_14245"
  },
  {
    "question": "What is Install Tools?",
    "answer": "S e t   u p   K u b e r n e t e s   t o o l s   o n   y o u r   c o m p u t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/",
    "id": "k8s_00647_section_5_14246"
  },
  {
    "question": "What is Administer a Cluster?",
    "answer": "L e a r n   c o m m o n   t a s k s   f o r   a d m i n i s t e r i n g   a   c l u s t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/",
    "id": "k8s_00647_section_5_14247"
  },
  {
    "question": "What is Configure Pods and Containers?",
    "answer": "P e r f o r m   c o m m o n   c o n f i g u r a t i o n   t a s k s   f o r   P o d s   a n d   c o n t a i n e r s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/",
    "id": "k8s_00647_section_5_14248"
  },
  {
    "question": "What is Monitoring, Logging, and Debugging?",
    "answer": "S e t   u p   m o n i t o r i n g   a n d   l o g g i n g   t o   t r o u b l e s h o o t   a   c l u s t e r ,   o r   d e b u g   a   c o n t a i n e r i z e d   a p p l i c a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/",
    "id": "k8s_00647_section_5_14249"
  },
  {
    "question": "What is Manage Kubernetes Objects?",
    "answer": "D e c l a r a t i v e   a n d   i m p e r a t i v e   p a r a d i g m s   f o r   i n t e r a c t i n g   w i t h   t h e   K u b e r n e t e s   A P I .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/",
    "id": "k8s_00647_section_5_14250"
  },
  {
    "question": "What is Managing Secrets?",
    "answer": "M a n a g i n g   c o n f i d e n t i a l   s e t t i n g s   d a t a   u s i n g   S e c r e t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/",
    "id": "k8s_00647_section_5_14251"
  },
  {
    "question": "What is Inject Data Into Applications?",
    "answer": "S p e c i f y   c o n f i g u r a t i o n   a n d   o t h e r   d a t a   f o r   t h e   P o d s   t h a t   r u n   y o u r   w o r k l o a d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/",
    "id": "k8s_00647_section_5_14252"
  },
  {
    "question": "What is Run Applications?",
    "answer": "R u n   a n d   m a n a g e   b o t h   s t a t e l e s s   a n d   s t a t e f u l   a p p l i c a t i o n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/",
    "id": "k8s_00647_section_5_14253"
  },
  {
    "question": "What is Run Jobs?",
    "answer": "R u n   J o b s   u s i n g   p a r a l l e l   p r o c e s s i n g .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/",
    "id": "k8s_00647_section_5_14254"
  },
  {
    "question": "What is Access Applications in a Cluster?",
    "answer": "C o n f i g u r e   l o a d   b a l a n c i n g ,   p o r t   f o r w a r d i n g ,   o r   s e t u p   f i r e w a l l   o r   D N S   c o n f i g u r a t i o n s   t o   a c c e s s   a p p l i c a t i o n s   i n   a   c l u s t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/",
    "id": "k8s_00647_section_5_14255"
  },
  {
    "question": "What is Extend Kubernetes?",
    "answer": "U n d e r s t a n d   a d v a n c e d   w a y s   t o   a d a p t   y o u r   K u b e r n e t e s   c l u s t e r   t o   t h e   n e e d s   o f   y o u r   w o r k   e n v i r o n m e n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/",
    "id": "k8s_00647_section_5_14256"
  },
  {
    "question": "What is TLS?",
    "answer": "U n d e r s t a n d   h o w   t o   p r o t e c t   t r a f f i c   w i t h i n   y o u r   c l u s t e r   u s i n g   T r a n s p o r t   L a y e r   S e c u r i t y   ( T L S ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/",
    "id": "k8s_00647_section_5_14257"
  },
  {
    "question": "What is Manage Cluster Daemons?",
    "answer": "P e r f o r m   c o m m o n   t a s k s   f o r   m a n a g i n g   a   D a e m o n S e t ,   s u c h   a s   p e r f o r m i n g   a   r o l l i n g   u p d a t e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/",
    "id": "k8s_00647_section_5_14258"
  },
  {
    "question": "What is Networking?",
    "answer": "L e a r n   h o w   t o   c o n f i g u r e   n e t w o r k i n g   f o r   y o u r   c l u s t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/",
    "id": "k8s_00647_section_5_14259"
  },
  {
    "question": "What is Extend kubectl with plugins?",
    "answer": "E x t e n d   k u b e c t l   b y   c r e a t i n g   a n d   i n s t a l l i n g   k u b e c t l   p l u g i n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/",
    "id": "k8s_00647_section_5_14260"
  },
  {
    "question": "What is Manage HugePages?",
    "answer": "C o n f i g u r e   a n d   m a n a g e   h u g e   p a g e s   a s   a   s c h e d u l a b l e   r e s o u r c e   i n   a   c l u s t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/",
    "id": "k8s_00647_section_5_14261"
  },
  {
    "question": "What is Schedule GPUs?",
    "answer": "C o n f i g u r e   a n d   s c h e d u l e   G P U s   f o r   u s e   a s   a   r e s o u r c e   b y   n o d e s   i n   a   c l u s t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/",
    "id": "k8s_00647_section_5_14262"
  },
  {
    "question": "What is kubectl kustomize?",
    "answer": "kubectl kustomizeSynopsisBuild a set of KRM resources using a 'kustomization.yaml' file. The DIR argument must be a path to a directory containing 'kustomization.yaml', or a git repository URL with a path suffix specifying same with respect to the repository root. If DIR is omitted, '.' is assumed.kubectl kustomize DIR [flags] Examples # Build the current working directory kubectl kustomize # Build some shared configuration directory kubectl kustomize /home/config/production # Build from github kubectl kustomize https://github.com/kubernetes-sigs/kustomize.git/examples/helloWorld?ref=v1.0.6 Options--as-current-useruse the uid and gid of the command executor to run the function in the container--enable-alpha-pluginsenable kustomize plugins--enable-helmEnable use of the Helm chart inflator generator.-e, --env stringsa list of environment variables to be used by functions--helm-api-versions stringsKubernetes api versions used by Helm for Capabilities.APIVersions--helm-command string Default: \"helm\"helm command (path to executable)--helm-debugEnable debug output from the Helm chart inflator generator.--helm-kube-version stringKubernetes version used by Helm for Capabilities.KubeVersion-h, --helphelp for kustomize--load-restrictor string Default: \"LoadRestrictionsRootOnly\"if set to 'LoadRestrictionsNone', local kustomizations may load files from outside their root. This does, however, break the relocatability of the kustomization.--mount stringsa list of storage options read from the filesystem--networkenable network access for functions that declare it--network-name string Default: \"bridge\"the docker network to run the container in-o, --output stringIf specified, write output to this path.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_kustomize/",
    "id": "k8s_00648_qa_14263"
  },
  {
    "question": "How does kubectl kustomize work?",
    "answer": "kubectl kustomizeSynopsisBuild a set of KRM resources using a 'kustomization.yaml' file. The DIR argument must be a path to a directory containing 'kustomization.yaml', or a git repository URL with a path suffix specifying same with respect to the repository root. If DIR is omitted, '.' is assumed.kubectl kustomize DIR [flags] Examples # Build the current working directory kubectl kustomize # Build some shared configuration directory kubectl kustomize /home/config/production # Build from github kubectl kustomize https://github.com/kubernetes-sigs/kustomize.git/examples/helloWorld?ref=v1.0.6 Options--as-current-useruse the uid and gid of the command executor to run the function in the container--enable-alpha-pluginsenable kustomize plugins--enable-helmEnable use of the Helm chart inflator generator.-e, --env stringsa list of environment variables to be used by functions--helm-api-versions stringsKubernetes api versions used by Helm for Capabilities.APIVersions--helm-command string Default: \"helm\"helm command (path to executable)--helm-debugEnable debug output from the Helm chart inflator generator.--helm-kube-version stringKubernetes version used by Helm for Capabilities.KubeVersion-h, --helphelp for kustomize--load-restrictor string Default: \"LoadRestrictionsRootOnly\"if set to 'LoadRestrictionsNone', local kustomizations may load files from outside their root. This does, however, break the relocatability of the kustomization.--mount stringsa list of storage options read from the filesystem--networkenable network access for functions that declare it--network-name string Default: \"bridge\"the docker network to run the container in-o, --output stringIf specified, write output to this path.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_kustomize/",
    "id": "k8s_00648_qa_14264"
  },
  {
    "question": "When would you use kubectl kustomize?",
    "answer": "kubectl kustomizeSynopsisBuild a set of KRM resources using a 'kustomization.yaml' file. The DIR argument must be a path to a directory containing 'kustomization.yaml', or a git repository URL with a path suffix specifying same with respect to the repository root. If DIR is omitted, '.' is assumed.kubectl kustomize DIR [flags] Examples # Build the current working directory kubectl kustomize # Build some shared configuration directory kubectl kustomize /home/config/production # Build from github kubectl kustomize https://github.com/kubernetes-sigs/kustomize.git/examples/helloWorld?ref=v1.0.6 Options--as-current-useruse the uid and gid of the command executor to run the function in the container--enable-alpha-pluginsenable kustomize plugins--enable-helmEnable use of the Helm chart inflator generator.-e, --env stringsa list of environment variables to be used by functions--helm-api-versions stringsKubernetes api versions used by Helm for Capabilities.APIVersions--helm-command string Default: \"helm\"helm command (path to executable)--helm-debugEnable debug output from the Helm chart inflator generator.--helm-kube-version stringKubernetes version used by Helm for Capabilities.KubeVersion-h, --helphelp for kustomize--load-restrictor string Default: \"LoadRestrictionsRootOnly\"if set to 'LoadRestrictionsNone', local kustomizations may load files from outside their root. This does, however, break the relocatability of the kustomization.--mount stringsa list of storage options read from the filesystem--networkenable network access for functions that declare it--network-name string Default: \"bridge\"the docker network to run the container in-o, --output stringIf specified, write output to this path.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_kustomize/",
    "id": "k8s_00648_qa_14265"
  },
  {
    "question": "What are the benefits of kubectl kustomize?",
    "answer": "kubectl kustomizeSynopsisBuild a set of KRM resources using a 'kustomization.yaml' file. The DIR argument must be a path to a directory containing 'kustomization.yaml', or a git repository URL with a path suffix specifying same with respect to the repository root. If DIR is omitted, '.' is assumed.kubectl kustomize DIR [flags] Examples # Build the current working directory kubectl kustomize # Build some shared configuration directory kubectl kustomize /home/config/production # Build from github kubectl kustomize https://github.com/kubernetes-sigs/kustomize.git/examples/helloWorld?ref=v1.0.6 Options--as-current-useruse the uid and gid of the command executor to run the function in the container--enable-alpha-pluginsenable kustomize plugins--enable-helmEnable use of the Helm chart inflator generator.-e, --env stringsa list of environment variables to be used by functions--helm-api-versions stringsKubernetes api versions used by Helm for Capabilities.APIVersions--helm-command string Default: \"helm\"helm command (path to executable)--helm-debugEnable debug output from the Helm chart inflator generator.--helm-kube-version stringKubernetes version used by Helm for Capabilities.KubeVersion-h, --helphelp for kustomize--load-restrictor string Default: \"LoadRestrictionsRootOnly\"if set to 'LoadRestrictionsNone', local kustomizations may load files from outside their root. This does, however, break the relocatability of the kustomization.--mount stringsa list of storage options read from the filesystem--networkenable network access for functions that declare it--network-name string Default: \"bridge\"the docker network to run the container in-o, --output stringIf specified, write output to this path.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_kustomize/",
    "id": "k8s_00648_qa_14266"
  },
  {
    "question": "What is Synopsis?",
    "answer": "B u i l d   a   s e t   o f   K R M   r e s o u r c e s   u s i n g   a   ' k u s t o m i z a t i o n . y a m l '   f i l e .   T h e   D I R   a r g u m e n t   m u s t   b e   a   p a t h   t o   a   d i r e c t o r y   c o n t a i n i n g   ' k u s t o m i z a t i o n . y a m l ' ,   o r   a   g i t   r e p o s i t o r y   U R L   w i t h   a   p a t h   s u f f i x   s p e c i f y i n g   s a m e   w i t h   r e s p e c t   t o   t h e   r e p o s i t o r y   r o o t .   I f   D I R   i s   o m i t t e d ,   ' . '   i s   a s s u m e d .   k u b e c t l   k u s t o m i z e   D I R   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_kustomize/",
    "id": "k8s_00648_section_2_14267"
  },
  {
    "question": "What is Examples?",
    "answer": "#   B u i l d   t h e   c u r r e n t   w o r k i n g   d i r e c t o r y   k u b e c t l   k u s t o m i z e   #   B u i l d   s o m e   s h a r e d   c o n f i g u r a t i o n   d i r e c t o r y   k u b e c t l   k u s t o m i z e   / h o m e / c o n f i g / p r o d u c t i o n   #   B u i l d   f r o m   g i t h u b   k u b e c t l   k u s t o m i z e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s - s i g s / k u s t o m i z e . g i t / e x a m p l e s / h e l l o W o r l d ? r e f = v 1 . 0 . 6",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_kustomize/",
    "id": "k8s_00648_section_2_14268"
  },
  {
    "question": "What is Options?",
    "answer": "u s e   t h e   u i d   a n d   g i d   o f   t h e   c o m m a n d   e x e c u t o r   t o   r u n   t h e   f u n c t i o n   i n   t h e   c o n t a i n e r   e n a b l e   k u s t o m i z e   p l u g i n s   E n a b l e   u s e   o f   t h e   H e l m   c h a r t   i n f l a t o r   g e n e r a t o r .   a   l i s t   o f   e n v i r o n m e n t   v a r i a b l e s   t o   b e   u s e d   b y   f u n c t i o n s   K u b e r n e t e s   a p i   v e r s i o n s   u s e d   b y   H e l m   f o r   C a p a b i l i t i e s . A P I V e r s i o n s   h e l m   c o m m a n d   ( p a t h   t o   e x e c u t a b l e )   E n a b l e   d e b u g   o u t p u t   f r o m   t h e   H e l m   c h a r t   i n f l a t o r   g e n e r a t o r .   K u b e r n e t e s   v e r s i o n   u s e d   b y   H e l m   f o r   C a p a b i l i t i e s . K u b e V e r s i o n   h e l p   f o r   k u s t o m i z e   i f   s e t   t o   ' L o a d R e s t r i c t i o n s N o n e ' ,   l o c a l   k u s t o m i z a t i o n s   m a y   l o a d   f i l e s   f r o m   o u t s i d e   t h e i r   r o o t .   T h i s   d o e s ,   h o w e v e r ,   b r e a k   t h e   r e l o c a t a b i l i t y   o f   t h e   k u s t o m i z a t i o n .   a   l i s t   o f   s t o r a g e   o p t i o n s   r e a d   f r o m   t h e   f i l e s y s t e m   e n a b l e   n e t w o r k   a c c e s s   f o r   f u n c t i o n s   t h a t   d e c l a r e   i t   t h e   d o c k e r   n e t w o r k   t o   r u n   t h e   c o n t a i n e r   i n   I f   s p e c i f i e d ,   w r i t e   o u t p u t   t o   t h i s   p a t h .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_kustomize/",
    "id": "k8s_00648_section_2_14269"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_kustomize/",
    "id": "k8s_00648_section_2_14270"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_kustomize/",
    "id": "k8s_00648_section_2_14271"
  },
  {
    "question": "What is ClusterRoleBinding?",
    "answer": "ClusterRoleBindingClusterRoleBinding references a ClusterRole, but not contain it.apiVersion: rbac.authorization.k8s.io/v1import \"k8s.io/api/rbac/v1\"ClusterRoleBindingClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.apiVersion: rbac.authorization.k8s.io/v1kind: ClusterRoleBindingmetadata (ObjectMeta)Standard object's metadata.roleRef (RoleRef), requiredRoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable.RoleRef contains information that points to the role being usedroleRef.apiGroup (string), requiredAPIGroup is the group for the resource being referencedroleRef.kind (string), requiredKind is the type of resource being referencedroleRef.name (string), requiredName is the name of resource being referencedsubjects ([]Subject)Atomic: will be replaced during a mergeSubjects holds references to the objects the role applies to.Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.subjects.kind (string), requiredKind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.subjects.name (string), requiredName of the object being referenced.subjects.apiGroup (string)APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects.subjects.namespace (string)Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.ClusterRoleBindingListClusterRoleBindingList is a collection of ClusterRoleBindingsapiVersion: rbac.authorization.k8s.io/v1kind: ClusterRoleBindingListmetadata (ListMeta)Standard object's metadata.items ([]ClusterRoleBinding), requiredItems is a list of ClusterRoleBindingsOperationsget read the specified ClusterRoleBindingHTTP RequestGET /apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}Parametersname (in path): string, requiredname of the ClusterRoleBindingpretty (in query): stringprettyResponse200 (ClusterRoleBinding): OK401: Unauthorizedlist list or watch objects of kind ClusterRoleBindingHTTP RequestGET /apis/rbac.authorization.k8s.io/v1/clusterrolebindingsParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_qa_14272"
  },
  {
    "question": "How does ClusterRoleBinding work?",
    "answer": "ClusterRoleBindingClusterRoleBinding references a ClusterRole, but not contain it.apiVersion: rbac.authorization.k8s.io/v1import \"k8s.io/api/rbac/v1\"ClusterRoleBindingClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.apiVersion: rbac.authorization.k8s.io/v1kind: ClusterRoleBindingmetadata (ObjectMeta)Standard object's metadata.roleRef (RoleRef), requiredRoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable.RoleRef contains information that points to the role being usedroleRef.apiGroup (string), requiredAPIGroup is the group for the resource being referencedroleRef.kind (string), requiredKind is the type of resource being referencedroleRef.name (string), requiredName is the name of resource being referencedsubjects ([]Subject)Atomic: will be replaced during a mergeSubjects holds references to the objects the role applies to.Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.subjects.kind (string), requiredKind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.subjects.name (string), requiredName of the object being referenced.subjects.apiGroup (string)APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects.subjects.namespace (string)Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.ClusterRoleBindingListClusterRoleBindingList is a collection of ClusterRoleBindingsapiVersion: rbac.authorization.k8s.io/v1kind: ClusterRoleBindingListmetadata (ListMeta)Standard object's metadata.items ([]ClusterRoleBinding), requiredItems is a list of ClusterRoleBindingsOperationsget read the specified ClusterRoleBindingHTTP RequestGET /apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}Parametersname (in path): string, requiredname of the ClusterRoleBindingpretty (in query): stringprettyResponse200 (ClusterRoleBinding): OK401: Unauthorizedlist list or watch objects of kind ClusterRoleBindingHTTP RequestGET /apis/rbac.authorization.k8s.io/v1/clusterrolebindingsParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_qa_14273"
  },
  {
    "question": "When would you use ClusterRoleBinding?",
    "answer": "ClusterRoleBindingClusterRoleBinding references a ClusterRole, but not contain it.apiVersion: rbac.authorization.k8s.io/v1import \"k8s.io/api/rbac/v1\"ClusterRoleBindingClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.apiVersion: rbac.authorization.k8s.io/v1kind: ClusterRoleBindingmetadata (ObjectMeta)Standard object's metadata.roleRef (RoleRef), requiredRoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable.RoleRef contains information that points to the role being usedroleRef.apiGroup (string), requiredAPIGroup is the group for the resource being referencedroleRef.kind (string), requiredKind is the type of resource being referencedroleRef.name (string), requiredName is the name of resource being referencedsubjects ([]Subject)Atomic: will be replaced during a mergeSubjects holds references to the objects the role applies to.Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.subjects.kind (string), requiredKind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.subjects.name (string), requiredName of the object being referenced.subjects.apiGroup (string)APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects.subjects.namespace (string)Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.ClusterRoleBindingListClusterRoleBindingList is a collection of ClusterRoleBindingsapiVersion: rbac.authorization.k8s.io/v1kind: ClusterRoleBindingListmetadata (ListMeta)Standard object's metadata.items ([]ClusterRoleBinding), requiredItems is a list of ClusterRoleBindingsOperationsget read the specified ClusterRoleBindingHTTP RequestGET /apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}Parametersname (in path): string, requiredname of the ClusterRoleBindingpretty (in query): stringprettyResponse200 (ClusterRoleBinding): OK401: Unauthorizedlist list or watch objects of kind ClusterRoleBindingHTTP RequestGET /apis/rbac.authorization.k8s.io/v1/clusterrolebindingsParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_qa_14274"
  },
  {
    "question": "What are the benefits of ClusterRoleBinding?",
    "answer": "ClusterRoleBindingClusterRoleBinding references a ClusterRole, but not contain it.apiVersion: rbac.authorization.k8s.io/v1import \"k8s.io/api/rbac/v1\"ClusterRoleBindingClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.apiVersion: rbac.authorization.k8s.io/v1kind: ClusterRoleBindingmetadata (ObjectMeta)Standard object's metadata.roleRef (RoleRef), requiredRoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable.RoleRef contains information that points to the role being usedroleRef.apiGroup (string), requiredAPIGroup is the group for the resource being referencedroleRef.kind (string), requiredKind is the type of resource being referencedroleRef.name (string), requiredName is the name of resource being referencedsubjects ([]Subject)Atomic: will be replaced during a mergeSubjects holds references to the objects the role applies to.Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.subjects.kind (string), requiredKind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.subjects.name (string), requiredName of the object being referenced.subjects.apiGroup (string)APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects.subjects.namespace (string)Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.ClusterRoleBindingListClusterRoleBindingList is a collection of ClusterRoleBindingsapiVersion: rbac.authorization.k8s.io/v1kind: ClusterRoleBindingListmetadata (ListMeta)Standard object's metadata.items ([]ClusterRoleBinding), requiredItems is a list of ClusterRoleBindingsOperationsget read the specified ClusterRoleBindingHTTP RequestGET /apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}Parametersname (in path): string, requiredname of the ClusterRoleBindingpretty (in query): stringprettyResponse200 (ClusterRoleBinding): OK401: Unauthorizedlist list or watch objects of kind ClusterRoleBindingHTTP RequestGET /apis/rbac.authorization.k8s.io/v1/clusterrolebindingsParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_qa_14275"
  },
  {
    "question": "What is ClusterRoleBinding?",
    "answer": "a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / r b a c / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_section_1_14276"
  },
  {
    "question": "What is ClusterRoleBinding?",
    "answer": "C l u s t e r R o l e B i n d i n g   r e f e r e n c e s   a   C l u s t e r R o l e ,   b u t   n o t   c o n t a i n   i t .   I t   c a n   r e f e r e n c e   a   C l u s t e r R o l e   i n   t h e   g l o b a l   n a m e s p a c e ,   a n d   a d d s   w h o   i n f o r m a t i o n   v i a   S u b j e c t .   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   C l u s t e r R o l e B i n d i n g m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . r o l e R e f   ( R o l e R e f ) ,   r e q u i r e d R o l e R e f   c a n   o n l y   r e f e r e n c e   a   C l u s t e r R o l e   i n   t h e   g l o b a l   n a m e s p a c e .   I f   t h e   R o l e R e f   c a n n o t   b e   r e s o l v e d ,   t h e   A u t h o r i z e r   m u s t   r e t u r n   a n   e r r o r .   T h i s   f i e l d   i s   i m m u t a b l e . R o l e R e f   c o n t a i n s   i n f o r m a t i o n   t h a t   p o i n t s   t o   t h e   r o l e   b e i n g   u s e d r o l e R e f . a p i G r o u p   ( s t r i n g ) ,   r e q u i r e d A P I G r o u p   i s   t h e   g r o u p   f o r   t h e   r e s o u r c e   b e i n g   r e f e r e n c e d r o l e R e f . k i n d   ( s t r i n g ) ,   r e q u i r e d K i n d   i s   t h e   t y p e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d r o l e R e f . n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   i s   t h e   n a m e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d s u b j e c t s   ( [ ] S u b j e c t ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e S u b j e c t s   h o l d s   r e f e r e n c e s   t o   t h e   o b j e c t s   t h e   r o l e   a p p l i e s   t o . S u b j e c t   c o n t a i n s   a   r e f e r e n c e   t o   t h e   o b j e c t   o r   u s e r   i d e n t i t i e s   a   r o l e   b i n d i n g   a p p l i e s   t o .   T h i s   c a n   e i t h e r   h o l d   a   d i r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_section_2_14277"
  },
  {
    "question": "What is ClusterRoleBindingList?",
    "answer": "C l u s t e r R o l e B i n d i n g L i s t   i s   a   c o l l e c t i o n   o f   C l u s t e r R o l e B i n d i n g s   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   C l u s t e r R o l e B i n d i n g L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . i t e m s   ( [ ] C l u s t e r R o l e B i n d i n g ) ,   r e q u i r e d I t e m s   i s   a   l i s t   o f   C l u s t e r R o l e B i n d i n g s   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e B i n d i n g L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   i t e m s   ( [ ] C l u s t e r R o l e B i n d i n g ) ,   r e q u i r e d   I t e m s   i s   a   l i s t   o f   C l u s t e r R o l e B i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_section_2_14278"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_section_4_14279"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r R o l e B i n d i n g p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r R o l e B i n d i n g   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_section_4_14280"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e B i n d i n g ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_section_4_14281"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_section_4_14282"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_section_4_14283"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e B i n d i n g L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_section_4_14284"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_section_4_14285"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   C l u s t e r R o l e B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   C l u s t e r R o l e B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_section_4_14286"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e B i n d i n g ) :   O K   2 0 1   ( C l u s t e r R o l e B i n d i n g ) :   C r e a t e d   2 0 2   ( C l u s t e r R o l e B i n d i n g ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_section_4_14287"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_section_4_14288"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r R o l e B i n d i n g b o d y :   C l u s t e r R o l e B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r R o l e B i n d i n g   b o d y :   C l u s t e r R o l e B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_section_4_14289"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e B i n d i n g ) :   O K   2 0 1   ( C l u s t e r R o l e B i n d i n g ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_section_4_14290"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_section_4_14291"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r R o l e B i n d i n g b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r R o l e B i n d i n g   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_section_4_14292"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e B i n d i n g ) :   O K   2 0 1   ( C l u s t e r R o l e B i n d i n g ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_section_4_14293"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_section_4_14294"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r R o l e B i n d i n g b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r R o l e B i n d i n g   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_section_4_14295"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_section_4_14296"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_section_4_14297"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_section_4_14298"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1/",
    "id": "k8s_00649_section_4_14299"
  },
  {
    "question": "What is Getting started?",
    "answer": "This section lists the different ways to set up and run Kubernetes. When you install Kubernetes, choose an installation type based on: ease of maintenance, security, control, available resources, and expertise required to operate and manage a cluster.You can download Kubernetes to deploy a Kubernetes cluster on a local machine, into the cloud, or for your own datacenter.Several Kubernetes components such as kube-apiserver or kube-proxy can also be deployed as container images within the cluster.It is recommended to run Kubernetes components as container images wherever that is possible, and to have Kubernetes manage those components. Components that run containers - notably, the kubelet - can't be included in this category.If you don't want to manage a Kubernetes cluster yourself, you could pick a managed service, including certified platforms. There are also other standardized and custom solutions across a wide range of cloud and bare metal environments.Learning environmentIf you're learning Kubernetes, use the tools supported by the Kubernetes community, or tools in the ecosystem to set up a Kubernetes cluster on a local machine. See Install tools.Production environmentWhen evaluating a solution for a production environment, consider which aspects of operating a Kubernetes cluster (or abstractions) you want to manage yourself and which you prefer to hand off to a provider.For a cluster you're managing yourself, the officially supported tool for deploying Kubernetes is kubeadm.What's nextDownload KubernetesDownload and install tools including kubectlSelect a container runtime for your new clusterLearn about best practices for cluster setupKubernetes is designed for its control plane to run on Linux. Within your cluster you can run applications on Linux or other operating systems, including Windows.Learn to set up clusters with Windows nodes",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/",
    "id": "k8s_00650_qa_14300"
  },
  {
    "question": "How does Getting started work?",
    "answer": "This section lists the different ways to set up and run Kubernetes. When you install Kubernetes, choose an installation type based on: ease of maintenance, security, control, available resources, and expertise required to operate and manage a cluster.You can download Kubernetes to deploy a Kubernetes cluster on a local machine, into the cloud, or for your own datacenter.Several Kubernetes components such as kube-apiserver or kube-proxy can also be deployed as container images within the cluster.It is recommended to run Kubernetes components as container images wherever that is possible, and to have Kubernetes manage those components. Components that run containers - notably, the kubelet - can't be included in this category.If you don't want to manage a Kubernetes cluster yourself, you could pick a managed service, including certified platforms. There are also other standardized and custom solutions across a wide range of cloud and bare metal environments.Learning environmentIf you're learning Kubernetes, use the tools supported by the Kubernetes community, or tools in the ecosystem to set up a Kubernetes cluster on a local machine. See Install tools.Production environmentWhen evaluating a solution for a production environment, consider which aspects of operating a Kubernetes cluster (or abstractions) you want to manage yourself and which you prefer to hand off to a provider.For a cluster you're managing yourself, the officially supported tool for deploying Kubernetes is kubeadm.What's nextDownload KubernetesDownload and install tools including kubectlSelect a container runtime for your new clusterLearn about best practices for cluster setupKubernetes is designed for its control plane to run on Linux. Within your cluster you can run applications on Linux or other operating systems, including Windows.Learn to set up clusters with Windows nodes",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/",
    "id": "k8s_00650_qa_14301"
  },
  {
    "question": "When would you use Getting started?",
    "answer": "This section lists the different ways to set up and run Kubernetes. When you install Kubernetes, choose an installation type based on: ease of maintenance, security, control, available resources, and expertise required to operate and manage a cluster.You can download Kubernetes to deploy a Kubernetes cluster on a local machine, into the cloud, or for your own datacenter.Several Kubernetes components such as kube-apiserver or kube-proxy can also be deployed as container images within the cluster.It is recommended to run Kubernetes components as container images wherever that is possible, and to have Kubernetes manage those components. Components that run containers - notably, the kubelet - can't be included in this category.If you don't want to manage a Kubernetes cluster yourself, you could pick a managed service, including certified platforms. There are also other standardized and custom solutions across a wide range of cloud and bare metal environments.Learning environmentIf you're learning Kubernetes, use the tools supported by the Kubernetes community, or tools in the ecosystem to set up a Kubernetes cluster on a local machine. See Install tools.Production environmentWhen evaluating a solution for a production environment, consider which aspects of operating a Kubernetes cluster (or abstractions) you want to manage yourself and which you prefer to hand off to a provider.For a cluster you're managing yourself, the officially supported tool for deploying Kubernetes is kubeadm.What's nextDownload KubernetesDownload and install tools including kubectlSelect a container runtime for your new clusterLearn about best practices for cluster setupKubernetes is designed for its control plane to run on Linux. Within your cluster you can run applications on Linux or other operating systems, including Windows.Learn to set up clusters with Windows nodes",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/",
    "id": "k8s_00650_qa_14302"
  },
  {
    "question": "What are the benefits of Getting started?",
    "answer": "This section lists the different ways to set up and run Kubernetes. When you install Kubernetes, choose an installation type based on: ease of maintenance, security, control, available resources, and expertise required to operate and manage a cluster.You can download Kubernetes to deploy a Kubernetes cluster on a local machine, into the cloud, or for your own datacenter.Several Kubernetes components such as kube-apiserver or kube-proxy can also be deployed as container images within the cluster.It is recommended to run Kubernetes components as container images wherever that is possible, and to have Kubernetes manage those components. Components that run containers - notably, the kubelet - can't be included in this category.If you don't want to manage a Kubernetes cluster yourself, you could pick a managed service, including certified platforms. There are also other standardized and custom solutions across a wide range of cloud and bare metal environments.Learning environmentIf you're learning Kubernetes, use the tools supported by the Kubernetes community, or tools in the ecosystem to set up a Kubernetes cluster on a local machine. See Install tools.Production environmentWhen evaluating a solution for a production environment, consider which aspects of operating a Kubernetes cluster (or abstractions) you want to manage yourself and which you prefer to hand off to a provider.For a cluster you're managing yourself, the officially supported tool for deploying Kubernetes is kubeadm.What's nextDownload KubernetesDownload and install tools including kubectlSelect a container runtime for your new clusterLearn about best practices for cluster setupKubernetes is designed for its control plane to run on Linux. Within your cluster you can run applications on Linux or other operating systems, including Windows.Learn to set up clusters with Windows nodes",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/",
    "id": "k8s_00650_qa_14303"
  },
  {
    "question": "What is Getting started?",
    "answer": "K u b e r n e t e s   D o c u m e n t a t i o n   D o c u m e n t a t i o n   A v a i l a b l e   D o c u m e n t a t i o n   V e r s i o n s   G e t t i n g   s t a r t e d   L e a r n i n g   e n v i r o n m e n t   P r o d u c t i o n   e n v i r o n m e n t   C o n t a i n e r   R u n t i m e s   I n s t a l l i n g   K u b e r n e t e s   w i t h   d e p l o y m e n t   t o o l s   B o o t s t r a p p i n g   c l u s t e r s   w i t h   k u b e a d m   I n s t a l l i n g   k u b e a d m   T r o u b l e s h o o t i n g   k u b e a d m   C r e a t i n g   a   c l u s t e r   w i t h   k u b e a d m   C u s t o m i z i n g   c o m p o n e n t s   w i t h   t h e   k u b e a d m   A P I   O p t i o n s   f o r   H i g h l y   A v a i l a b l e   T o p o l o g y   C r e a t i n g   H i g h l y   A v a i l a b l e   C l u s t e r s   w i t h   k u b e a d m   S e t   u p   a   H i g h   A v a i l a b i l i t y   e t c d   C l u s t e r   w i t h   k u b e a d m   C o n f i g u r i n g   e a c h   k u b e l e t   i n   y o u r   c l u s t e r   u s i n g   k u b e a d m   D u a l - s t a c k   s u p p o r t   w i t h   k u b e a d m   T u r n k e y   C l o u d   S o l u t i o n s   B e s t   p r a c t i c e s   C o n s i d e r a t i o n s   f o r   l a r g e   c l u s t e r s   R u n n i n g   i n   m u l t i p l e   z o n e s   V a l i d a t e   n o d e   s e t u p   E n f o r c i n g   P o d   S e c u r i t y   S t a n d a r d s   P K I   c e r t i f i c a t e s   a n d   r e q u i r e m e n t s   C o n c e p t s   O v e r v i e w   K u b e r n e t e s   C o m p o n e n t s   O b j e c t s   I n   K u b e r n e t e s   K u b e r n e t e s   O b j e c t   M a n a g e m e n t   O b j e c t   N a m e s   a n d   I D s   L a b e l s   a n d   S e l e c t o r s   N a m e s p a c e s   A n n o t a t i o n s   F i e l d   S e l e c t o r s   F i n a l i z e r s   O w n e r s   a n d   D e p e n d e n t s   R e c o m m e n d e d   L a b e l s   T h e   K u b e r n e t e s ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/",
    "id": "k8s_00650_section_1_14304"
  },
  {
    "question": "What is Learning environment?",
    "answer": "I f   y o u ' r e   l e a r n i n g   K u b e r n e t e s ,   u s e   t h e   t o o l s   s u p p o r t e d   b y   t h e   K u b e r n e t e s   c o m m u n i t y ,   o r   t o o l s   i n   t h e   e c o s y s t e m   t o   s e t   u p   a   K u b e r n e t e s   c l u s t e r   o n   a   l o c a l   m a c h i n e .   S e e   I n s t a l l   t o o l s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/",
    "id": "k8s_00650_section_2_14305"
  },
  {
    "question": "What is Production environment?",
    "answer": "W h e n   e v a l u a t i n g   a   s o l u t i o n   f o r   a   p r o d u c t i o n   e n v i r o n m e n t ,   c o n s i d e r   w h i c h   a s p e c t s   o f   o p e r a t i n g   a   K u b e r n e t e s   c l u s t e r   ( o r   a b s t r a c t i o n s )   y o u   w a n t   t o   m a n a g e   y o u r s e l f   a n d   w h i c h   y o u   p r e f e r   t o   h a n d   o f f   t o   a   p r o v i d e r .   F o r   a   c l u s t e r   y o u ' r e   m a n a g i n g   y o u r s e l f ,   t h e   o f f i c i a l l y   s u p p o r t e d   t o o l   f o r   d e p l o y i n g   K u b e r n e t e s   i s   k u b e a d m .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/",
    "id": "k8s_00650_section_2_14306"
  },
  {
    "question": "What is What's next?",
    "answer": "D o w n l o a d   K u b e r n e t e s D o w n l o a d   a n d   i n s t a l l   t o o l s   i n c l u d i n g   k u b e c t l S e l e c t   a   c o n t a i n e r   r u n t i m e   f o r   y o u r   n e w   c l u s t e r L e a r n   a b o u t   b e s t   p r a c t i c e s   f o r   c l u s t e r   s e t u p   K u b e r n e t e s   i s   d e s i g n e d   f o r   i t s   c o n t r o l   p l a n e   t o   r u n   o n   L i n u x .   W i t h i n   y o u r   c l u s t e r   y o u   c a n   r u n   a p p l i c a t i o n s   o n   L i n u x   o r   o t h e r   o p e r a t i n g   s y s t e m s ,   i n c l u d i n g   W i n d o w s .   L e a r n   t o   s e t   u p   c l u s t e r s   w i t h   W i n d o w s   n o d e s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/",
    "id": "k8s_00650_section_2_14307"
  },
  {
    "question": "What is Share Process Namespace between Containers in a Pod?",
    "answer": "Share Process Namespace between Containers in a PodThis page shows how to configure process namespace sharing for a pod. When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod.You can use this feature to configure cooperating containers, such as a log handler sidecar container, or to troubleshoot container images that don't include debugging utilities like a shell.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesConfigure a PodProcess namespace sharing is enabled using the shareProcessNamespace field of .spec for a Pod. For example:pods/share-process-namespace.yaml apiVersion: v1 kind: Pod metadata: name: nginx spec: shareProcessNamespace: true containers: - name: nginx image: nginx - name: shell image: busybox:1.28 command: [\"sleep\", \"3600\"] securityContext: capabilities: add: - SYS_PTRACE stdin: true tty: true Create the pod nginx on your cluster:kubectl apply -f https://k8s.io/examples/pods/share-process-namespace.yaml Attach to the shell container and run ps:kubectl exec -it nginx -c shell -- /bin/sh If you don't see a command prompt, try pressing enter. In the container shell:# run this inside the \"shell\" container ps ax The output is similar to this:PID USER TIME COMMAND 1 root 0:00 /pause 8 root 0:00 nginx: master process nginx -g daemon off; 14 101 0:00 nginx: worker process 15 root 0:00 sh 21 root 0:00 ps ax You can signal processes in other containers. For example, send SIGHUP to nginx to restart the worker process. This requires the SYS_PTRACE capability.# run this inside the \"shell\" container kill -HUP 8 # change \"8\" to match the PID of the nginx leader process, if necessary ps ax The output is similar to this:PID USER TIME COMMAND 1 root 0:00 /pause 8 root 0:00 nginx: master process nginx -g daemon off; 15 root 0:00 sh 22 101 0:00 nginx: worker process 23 root 0:00 ps ax It's even possible to access the file system of another container using the /proc/$pid/root link.# run this inside the \"shell\" container # change \"8\" to the PID of the Nginx process, if necessary head /proc/8/root/etc/nginx/nginx.conf The output is similar to this:user nginx; worker_processes 1; error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid; events { worker_connections 1024; Understanding process namespace sharingPods share many resources so it makes sense they would also share a process namespace. Some containers may expect to be isolated from others, though, so it's important to understand the differences:The container process no longer has PID 1. Some containers refuse to start without PID 1 (for exa",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/",
    "id": "k8s_00651_qa_14308"
  },
  {
    "question": "How does Share Process Namespace between Containers in a Pod work?",
    "answer": "Share Process Namespace between Containers in a PodThis page shows how to configure process namespace sharing for a pod. When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod.You can use this feature to configure cooperating containers, such as a log handler sidecar container, or to troubleshoot container images that don't include debugging utilities like a shell.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesConfigure a PodProcess namespace sharing is enabled using the shareProcessNamespace field of .spec for a Pod. For example:pods/share-process-namespace.yaml apiVersion: v1 kind: Pod metadata: name: nginx spec: shareProcessNamespace: true containers: - name: nginx image: nginx - name: shell image: busybox:1.28 command: [\"sleep\", \"3600\"] securityContext: capabilities: add: - SYS_PTRACE stdin: true tty: true Create the pod nginx on your cluster:kubectl apply -f https://k8s.io/examples/pods/share-process-namespace.yaml Attach to the shell container and run ps:kubectl exec -it nginx -c shell -- /bin/sh If you don't see a command prompt, try pressing enter. In the container shell:# run this inside the \"shell\" container ps ax The output is similar to this:PID USER TIME COMMAND 1 root 0:00 /pause 8 root 0:00 nginx: master process nginx -g daemon off; 14 101 0:00 nginx: worker process 15 root 0:00 sh 21 root 0:00 ps ax You can signal processes in other containers. For example, send SIGHUP to nginx to restart the worker process. This requires the SYS_PTRACE capability.# run this inside the \"shell\" container kill -HUP 8 # change \"8\" to match the PID of the nginx leader process, if necessary ps ax The output is similar to this:PID USER TIME COMMAND 1 root 0:00 /pause 8 root 0:00 nginx: master process nginx -g daemon off; 15 root 0:00 sh 22 101 0:00 nginx: worker process 23 root 0:00 ps ax It's even possible to access the file system of another container using the /proc/$pid/root link.# run this inside the \"shell\" container # change \"8\" to the PID of the Nginx process, if necessary head /proc/8/root/etc/nginx/nginx.conf The output is similar to this:user nginx; worker_processes 1; error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid; events { worker_connections 1024; Understanding process namespace sharingPods share many resources so it makes sense they would also share a process namespace. Some containers may expect to be isolated from others, though, so it's important to understand the differences:The container process no longer has PID 1. Some containers refuse to start without PID 1 (for exa",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/",
    "id": "k8s_00651_qa_14309"
  },
  {
    "question": "When would you use Share Process Namespace between Containers in a Pod?",
    "answer": "Share Process Namespace between Containers in a PodThis page shows how to configure process namespace sharing for a pod. When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod.You can use this feature to configure cooperating containers, such as a log handler sidecar container, or to troubleshoot container images that don't include debugging utilities like a shell.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesConfigure a PodProcess namespace sharing is enabled using the shareProcessNamespace field of .spec for a Pod. For example:pods/share-process-namespace.yaml apiVersion: v1 kind: Pod metadata: name: nginx spec: shareProcessNamespace: true containers: - name: nginx image: nginx - name: shell image: busybox:1.28 command: [\"sleep\", \"3600\"] securityContext: capabilities: add: - SYS_PTRACE stdin: true tty: true Create the pod nginx on your cluster:kubectl apply -f https://k8s.io/examples/pods/share-process-namespace.yaml Attach to the shell container and run ps:kubectl exec -it nginx -c shell -- /bin/sh If you don't see a command prompt, try pressing enter. In the container shell:# run this inside the \"shell\" container ps ax The output is similar to this:PID USER TIME COMMAND 1 root 0:00 /pause 8 root 0:00 nginx: master process nginx -g daemon off; 14 101 0:00 nginx: worker process 15 root 0:00 sh 21 root 0:00 ps ax You can signal processes in other containers. For example, send SIGHUP to nginx to restart the worker process. This requires the SYS_PTRACE capability.# run this inside the \"shell\" container kill -HUP 8 # change \"8\" to match the PID of the nginx leader process, if necessary ps ax The output is similar to this:PID USER TIME COMMAND 1 root 0:00 /pause 8 root 0:00 nginx: master process nginx -g daemon off; 15 root 0:00 sh 22 101 0:00 nginx: worker process 23 root 0:00 ps ax It's even possible to access the file system of another container using the /proc/$pid/root link.# run this inside the \"shell\" container # change \"8\" to the PID of the Nginx process, if necessary head /proc/8/root/etc/nginx/nginx.conf The output is similar to this:user nginx; worker_processes 1; error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid; events { worker_connections 1024; Understanding process namespace sharingPods share many resources so it makes sense they would also share a process namespace. Some containers may expect to be isolated from others, though, so it's important to understand the differences:The container process no longer has PID 1. Some containers refuse to start without PID 1 (for exa",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/",
    "id": "k8s_00651_qa_14310"
  },
  {
    "question": "What are the benefits of Share Process Namespace between Containers in a Pod?",
    "answer": "Share Process Namespace between Containers in a PodThis page shows how to configure process namespace sharing for a pod. When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod.You can use this feature to configure cooperating containers, such as a log handler sidecar container, or to troubleshoot container images that don't include debugging utilities like a shell.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesConfigure a PodProcess namespace sharing is enabled using the shareProcessNamespace field of .spec for a Pod. For example:pods/share-process-namespace.yaml apiVersion: v1 kind: Pod metadata: name: nginx spec: shareProcessNamespace: true containers: - name: nginx image: nginx - name: shell image: busybox:1.28 command: [\"sleep\", \"3600\"] securityContext: capabilities: add: - SYS_PTRACE stdin: true tty: true Create the pod nginx on your cluster:kubectl apply -f https://k8s.io/examples/pods/share-process-namespace.yaml Attach to the shell container and run ps:kubectl exec -it nginx -c shell -- /bin/sh If you don't see a command prompt, try pressing enter. In the container shell:# run this inside the \"shell\" container ps ax The output is similar to this:PID USER TIME COMMAND 1 root 0:00 /pause 8 root 0:00 nginx: master process nginx -g daemon off; 14 101 0:00 nginx: worker process 15 root 0:00 sh 21 root 0:00 ps ax You can signal processes in other containers. For example, send SIGHUP to nginx to restart the worker process. This requires the SYS_PTRACE capability.# run this inside the \"shell\" container kill -HUP 8 # change \"8\" to match the PID of the nginx leader process, if necessary ps ax The output is similar to this:PID USER TIME COMMAND 1 root 0:00 /pause 8 root 0:00 nginx: master process nginx -g daemon off; 15 root 0:00 sh 22 101 0:00 nginx: worker process 23 root 0:00 ps ax It's even possible to access the file system of another container using the /proc/$pid/root link.# run this inside the \"shell\" container # change \"8\" to the PID of the Nginx process, if necessary head /proc/8/root/etc/nginx/nginx.conf The output is similar to this:user nginx; worker_processes 1; error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid; events { worker_connections 1024; Understanding process namespace sharingPods share many resources so it makes sense they would also share a process namespace. Some containers may expect to be isolated from others, though, so it's important to understand the differences:The container process no longer has PID 1. Some containers refuse to start without PID 1 (for exa",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/",
    "id": "k8s_00651_qa_14311"
  },
  {
    "question": "What is Share Process Namespace between Containers in a Pod?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   p r o c e s s   n a m e s p a c e   s h a r i n g   f o r   a   p o d .   W h e n   p r o c e s s   n a m e s p a c e   s h a r i n g   i s   e n a b l e d ,   p r o c e s s e s   i n   a   c o n t a i n e r   a r e   v i s i b l e   t o   a l l   o t h e r   c o n t a i n e r s   i n   t h e   s a m e   p o d .   Y o u   c a n   u s e   t h i s   f e a t u r e   t o   c o n f i g u r e   c o o p e r a t i n g   c o n t a i n e r s ,   s u c h   a s   a   l o g   h a n d l e r   s i d e c a r   c o n t a i n e r ,   o r   t o   t r o u b l e s h o o t   c o n t a i n e r   i m a g e s   t h a t   d o n ' t   i n c l u d e   d e b u g g i n g   u t i l i t i e s   l i k e   a   s h e l l .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/",
    "id": "k8s_00651_section_1_14312"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/",
    "id": "k8s_00651_section_2_14313"
  },
  {
    "question": "What is Configure a Pod?",
    "answer": "P r o c e s s   n a m e s p a c e   s h a r i n g   i s   e n a b l e d   u s i n g   t h e   s h a r e P r o c e s s N a m e s p a c e   f i e l d   o f   . s p e c   f o r   a   P o d .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   s p e c :   s h a r e P r o c e s s N a m e s p a c e :   t r u e   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   -   n a m e :   s h e l l   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ \" s l e e p \" ,   \" 3 6 0 0 \" ]   s e c u r i t y C o n t e x t :   c a p a b i l i t i e s :   a d d :   -   S Y S _ P T R A C E   s t d i n :   t r u e   t t y :   t r u e   C r e a t e   t h e   p o d   n g i n x   o n   y o u r   c l u s t e r : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s h a r e - p r o c e s s - n a m e s p a c e . y a m l   A t t a c h   t o   t h e   s h e l l   c o n t a i n e r   a n d   r u n   p s : k u b e c t l   e x e c   - i t   n g i n x   - c   s h e l l   - -   / b i n / s h   I f   y o u   d o n ' t   s e e   a   c o m m a n d   p r o m p t ,   t r y   p r e s s i n g   e n t e r .   I n   t h e   c o n t a i n e r   s h e l l : #   r u n   t h i s   i n s i d e   t h e   \" s h e l l \"   c o n t a i n e r   p s   a x   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : P I D   U S E R   T I M E   C O M M A N D   1   r o o t   0 : 0 0   / p a u s e   8   r o o t   0 : 0 0   n g i n x :   m a s t e r   p r o c e s s   n g i n x   - g   d a e m o n   o f f ;   1 4   1 0 1   0 : 0 0   n g i n x :   w o r k e r   p r o c e s s   1 5   r o o t   0 : 0 0   s h   2 1   r o o t   0 : 0 0   p s   a x   C r e a t e   t h e   p o d   n g i n x   o n   y o u r   c l u s t e r :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s h a r e - p r o c e s s - n a m e s p a c e . y a m l   A t t a c h   t o   t h ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/",
    "id": "k8s_00651_section_2_14314"
  },
  {
    "question": "What is Understanding process namespace sharing?",
    "answer": "P o d s   s h a r e   m a n y   r e s o u r c e s   s o   i t   m a k e s   s e n s e   t h e y   w o u l d   a l s o   s h a r e   a   p r o c e s s   n a m e s p a c e .   S o m e   c o n t a i n e r s   m a y   e x p e c t   t o   b e   i s o l a t e d   f r o m   o t h e r s ,   t h o u g h ,   s o   i t ' s   i m p o r t a n t   t o   u n d e r s t a n d   t h e   d i f f e r e n c e s :   T h e   c o n t a i n e r   p r o c e s s   n o   l o n g e r   h a s   P I D   1 .   S o m e   c o n t a i n e r s   r e f u s e   t o   s t a r t   w i t h o u t   P I D   1   ( f o r   e x a m p l e ,   c o n t a i n e r s   u s i n g   s y s t e m d )   o r   r u n   c o m m a n d s   l i k e   k i l l   - H U P   1   t o   s i g n a l   t h e   c o n t a i n e r   p r o c e s s .   I n   p o d s   w i t h   a   s h a r e d   p r o c e s s   n a m e s p a c e ,   k i l l   - H U P   1   w i l l   s i g n a l   t h e   p o d   s a n d b o x   ( / p a u s e   i n   t h e   a b o v e   e x a m p l e ) . P r o c e s s e s   a r e   v i s i b l e   t o   o t h e r   c o n t a i n e r s   i n   t h e   p o d .   T h i s   i n c l u d e s   a l l   i n f o r m a t i o n   v i s i b l e   i n   / p r o c ,   s u c h   a s   p a s s w o r d s   t h a t   w e r e   p a s s e d   a s   a r g u m e n t s   o r   e n v i r o n m e n t   v a r i a b l e s .   T h e s e   a r e   p r o t e c t e d   o n l y   b y   r e g u l a r   U n i x   p e r m i s s i o n s . C o n t a i n e r   f i l e s y s t e m s   a r e   v i s i b l e   t o   o t h e r   c o n t a i n e r s   i n   t h e   p o d   t h r o u g h   t h e   / p r o c / $ p i d / r o o t   l i n k .   T h i s   m a k e s   d e b u g g i n g   e a s i e r ,   b u t   i t   a l s o   m e a n s   t h a t   f i l e s y s t e m   s e c r e t s   a r e   p r o t e c t e d   o n l y   b y   f i l e s y s t e m   p e r m i s s i o n s .   T h e   c o n t a i n e r   p r o c e s s   n o   l o n g e r   h a s   P I D   1 .   S o m e   c o ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/",
    "id": "k8s_00651_section_2_14315"
  },
  {
    "question": "What is kubectl create service nodeport?",
    "answer": "kubectl create service nodeportSynopsisCreate a NodePort service with the specified name.kubectl create service nodeport NAME [--tcp=port:targetPort] [--dry-run=server|client|none] Examples # Create a new NodePort service named my-ns kubectl create service nodeport my-ns --tcp=5678:8080 Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for nodeport--node-port intPort used to expose the service on each node in a cluster.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--tcp stringsPort pairs can be specified as '<port>:<targetPort>'.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig contex",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_nodeport/",
    "id": "k8s_00652_qa_14316"
  },
  {
    "question": "How does kubectl create service nodeport work?",
    "answer": "kubectl create service nodeportSynopsisCreate a NodePort service with the specified name.kubectl create service nodeport NAME [--tcp=port:targetPort] [--dry-run=server|client|none] Examples # Create a new NodePort service named my-ns kubectl create service nodeport my-ns --tcp=5678:8080 Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for nodeport--node-port intPort used to expose the service on each node in a cluster.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--tcp stringsPort pairs can be specified as '<port>:<targetPort>'.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig contex",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_nodeport/",
    "id": "k8s_00652_qa_14317"
  },
  {
    "question": "When would you use kubectl create service nodeport?",
    "answer": "kubectl create service nodeportSynopsisCreate a NodePort service with the specified name.kubectl create service nodeport NAME [--tcp=port:targetPort] [--dry-run=server|client|none] Examples # Create a new NodePort service named my-ns kubectl create service nodeport my-ns --tcp=5678:8080 Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for nodeport--node-port intPort used to expose the service on each node in a cluster.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--tcp stringsPort pairs can be specified as '<port>:<targetPort>'.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig contex",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_nodeport/",
    "id": "k8s_00652_qa_14318"
  },
  {
    "question": "What are the benefits of kubectl create service nodeport?",
    "answer": "kubectl create service nodeportSynopsisCreate a NodePort service with the specified name.kubectl create service nodeport NAME [--tcp=port:targetPort] [--dry-run=server|client|none] Examples # Create a new NodePort service named my-ns kubectl create service nodeport my-ns --tcp=5678:8080 Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for nodeport--node-port intPort used to expose the service on each node in a cluster.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--tcp stringsPort pairs can be specified as '<port>:<targetPort>'.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig contex",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_nodeport/",
    "id": "k8s_00652_qa_14319"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   N o d e P o r t   s e r v i c e   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   s e r v i c e   n o d e p o r t   N A M E   [ - - t c p = p o r t : t a r g e t P o r t ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_nodeport/",
    "id": "k8s_00652_section_2_14320"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   N o d e P o r t   s e r v i c e   n a m e d   m y - n s   k u b e c t l   c r e a t e   s e r v i c e   n o d e p o r t   m y - n s   - - t c p = 5 6 7 8 : 8 0 8 0",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_nodeport/",
    "id": "k8s_00652_section_2_14321"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   n o d e p o r t   P o r t   u s e d   t o   e x p o s e   t h e   s e r v i c e   o n   e a c h   n o d e   i n   a   c l u s t e r .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   P o r t   p a i r s   c a n   b e   s p e c i f i e d   a s   ' < p o r t > : < t a r g e t P o r t > ' .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_nodeport/",
    "id": "k8s_00652_section_2_14322"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_nodeport/",
    "id": "k8s_00652_section_2_14323"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   s e r v i c e   -   C r e a t e   a   s e r v i c e   u s i n g   a   s p e c i f i e d   s u b c o m m a n d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_service_nodeport/",
    "id": "k8s_00652_section_2_14324"
  },
  {
    "question": "What is Client Authentication (v1)?",
    "answer": "Client Authentication (v1)Resource TypesExecCredentialExecCredentialExecCredential is used by exec-based plugins to communicate credentials to HTTP transports.FieldDescriptionapiVersionstringclient.authentication.k8s.io/v1kindstringExecCredentialspec [Required]ExecCredentialSpecSpec holds information passed to the plugin by the transport.statusExecCredentialStatusStatus is filled in by the plugin and holds the credentials that the transport should use to contact the API.ClusterAppears in:ExecCredentialSpecCluster contains information to allow an exec plugin to communicate with the kubernetes cluster being authenticated to.To ensure that this struct contains everything someone would need to communicate with a kubernetes cluster (just like they would via a kubeconfig), the fields should shadow \"k8s.io/client-go/tools/clientcmd/api/v1\".Cluster, with the exception of CertificateAuthority, since CA data will always be passed to the plugin as bytes.FieldDescriptionserver [Required]stringServer is the address of the kubernetes cluster (https://hostname:port).tls-server-namestringTLSServerName is passed to the server for SNI and is used in the client to check server certificates against. If ServerName is empty, the hostname used to contact the server is used.insecure-skip-tls-verifyboolInsecureSkipTLSVerify skips the validity check for the server's certificate. This will make your HTTPS connections insecure.certificate-authority-data[]byteCAData contains PEM-encoded certificate authority certificates. If empty, system roots should be used.proxy-urlstringProxyURL is the URL to the proxy to be used for all requests to this cluster.disable-compressionboolDisableCompression allows client to opt-out of response compression for all requests to the server. This is useful to speed up requests (specifically lists) when client-server network bandwidth is ample, by saving time on compression (server-side) and decompression (client-side): https://github.com/kubernetes/kubernetes/issues/112296.configk8s.io/apimachinery/pkg/runtime.RawExtensionConfig holds additional config data that is specific to the exec plugin with regards to the cluster being authenticated to.This data is sourced from the clientcmd Cluster object's extensions[client.authentication.k8s.io/exec] field:clusters:name: my-cluster cluster: ... extensions:name: client.authentication.k8s.io/exec # reserved extension name for per cluster exec config extension: audience: 06e3fbd18de8 # arbitrary configIn some environments, the user config may be exactly the same across many clusters (i.e. call this exec plugin) minus some details that are specific to each cluster such as the audience. This field allows the per cluster config to be directly specified with the cluster info. Using this field to store secret data is not recommended as one of the prime benefits of exec plugins is that no secrets need to be stored directly in the kubeconfig.ExecCredentialSpecAppears in:ExecCredentialExecCredentialSpec holds requ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/client-authentication.v1/",
    "id": "k8s_00653_qa_14325"
  },
  {
    "question": "How does Client Authentication (v1) work?",
    "answer": "Client Authentication (v1)Resource TypesExecCredentialExecCredentialExecCredential is used by exec-based plugins to communicate credentials to HTTP transports.FieldDescriptionapiVersionstringclient.authentication.k8s.io/v1kindstringExecCredentialspec [Required]ExecCredentialSpecSpec holds information passed to the plugin by the transport.statusExecCredentialStatusStatus is filled in by the plugin and holds the credentials that the transport should use to contact the API.ClusterAppears in:ExecCredentialSpecCluster contains information to allow an exec plugin to communicate with the kubernetes cluster being authenticated to.To ensure that this struct contains everything someone would need to communicate with a kubernetes cluster (just like they would via a kubeconfig), the fields should shadow \"k8s.io/client-go/tools/clientcmd/api/v1\".Cluster, with the exception of CertificateAuthority, since CA data will always be passed to the plugin as bytes.FieldDescriptionserver [Required]stringServer is the address of the kubernetes cluster (https://hostname:port).tls-server-namestringTLSServerName is passed to the server for SNI and is used in the client to check server certificates against. If ServerName is empty, the hostname used to contact the server is used.insecure-skip-tls-verifyboolInsecureSkipTLSVerify skips the validity check for the server's certificate. This will make your HTTPS connections insecure.certificate-authority-data[]byteCAData contains PEM-encoded certificate authority certificates. If empty, system roots should be used.proxy-urlstringProxyURL is the URL to the proxy to be used for all requests to this cluster.disable-compressionboolDisableCompression allows client to opt-out of response compression for all requests to the server. This is useful to speed up requests (specifically lists) when client-server network bandwidth is ample, by saving time on compression (server-side) and decompression (client-side): https://github.com/kubernetes/kubernetes/issues/112296.configk8s.io/apimachinery/pkg/runtime.RawExtensionConfig holds additional config data that is specific to the exec plugin with regards to the cluster being authenticated to.This data is sourced from the clientcmd Cluster object's extensions[client.authentication.k8s.io/exec] field:clusters:name: my-cluster cluster: ... extensions:name: client.authentication.k8s.io/exec # reserved extension name for per cluster exec config extension: audience: 06e3fbd18de8 # arbitrary configIn some environments, the user config may be exactly the same across many clusters (i.e. call this exec plugin) minus some details that are specific to each cluster such as the audience. This field allows the per cluster config to be directly specified with the cluster info. Using this field to store secret data is not recommended as one of the prime benefits of exec plugins is that no secrets need to be stored directly in the kubeconfig.ExecCredentialSpecAppears in:ExecCredentialExecCredentialSpec holds requ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/client-authentication.v1/",
    "id": "k8s_00653_qa_14326"
  },
  {
    "question": "When would you use Client Authentication (v1)?",
    "answer": "Client Authentication (v1)Resource TypesExecCredentialExecCredentialExecCredential is used by exec-based plugins to communicate credentials to HTTP transports.FieldDescriptionapiVersionstringclient.authentication.k8s.io/v1kindstringExecCredentialspec [Required]ExecCredentialSpecSpec holds information passed to the plugin by the transport.statusExecCredentialStatusStatus is filled in by the plugin and holds the credentials that the transport should use to contact the API.ClusterAppears in:ExecCredentialSpecCluster contains information to allow an exec plugin to communicate with the kubernetes cluster being authenticated to.To ensure that this struct contains everything someone would need to communicate with a kubernetes cluster (just like they would via a kubeconfig), the fields should shadow \"k8s.io/client-go/tools/clientcmd/api/v1\".Cluster, with the exception of CertificateAuthority, since CA data will always be passed to the plugin as bytes.FieldDescriptionserver [Required]stringServer is the address of the kubernetes cluster (https://hostname:port).tls-server-namestringTLSServerName is passed to the server for SNI and is used in the client to check server certificates against. If ServerName is empty, the hostname used to contact the server is used.insecure-skip-tls-verifyboolInsecureSkipTLSVerify skips the validity check for the server's certificate. This will make your HTTPS connections insecure.certificate-authority-data[]byteCAData contains PEM-encoded certificate authority certificates. If empty, system roots should be used.proxy-urlstringProxyURL is the URL to the proxy to be used for all requests to this cluster.disable-compressionboolDisableCompression allows client to opt-out of response compression for all requests to the server. This is useful to speed up requests (specifically lists) when client-server network bandwidth is ample, by saving time on compression (server-side) and decompression (client-side): https://github.com/kubernetes/kubernetes/issues/112296.configk8s.io/apimachinery/pkg/runtime.RawExtensionConfig holds additional config data that is specific to the exec plugin with regards to the cluster being authenticated to.This data is sourced from the clientcmd Cluster object's extensions[client.authentication.k8s.io/exec] field:clusters:name: my-cluster cluster: ... extensions:name: client.authentication.k8s.io/exec # reserved extension name for per cluster exec config extension: audience: 06e3fbd18de8 # arbitrary configIn some environments, the user config may be exactly the same across many clusters (i.e. call this exec plugin) minus some details that are specific to each cluster such as the audience. This field allows the per cluster config to be directly specified with the cluster info. Using this field to store secret data is not recommended as one of the prime benefits of exec plugins is that no secrets need to be stored directly in the kubeconfig.ExecCredentialSpecAppears in:ExecCredentialExecCredentialSpec holds requ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/client-authentication.v1/",
    "id": "k8s_00653_qa_14327"
  },
  {
    "question": "What are the benefits of Client Authentication (v1)?",
    "answer": "Client Authentication (v1)Resource TypesExecCredentialExecCredentialExecCredential is used by exec-based plugins to communicate credentials to HTTP transports.FieldDescriptionapiVersionstringclient.authentication.k8s.io/v1kindstringExecCredentialspec [Required]ExecCredentialSpecSpec holds information passed to the plugin by the transport.statusExecCredentialStatusStatus is filled in by the plugin and holds the credentials that the transport should use to contact the API.ClusterAppears in:ExecCredentialSpecCluster contains information to allow an exec plugin to communicate with the kubernetes cluster being authenticated to.To ensure that this struct contains everything someone would need to communicate with a kubernetes cluster (just like they would via a kubeconfig), the fields should shadow \"k8s.io/client-go/tools/clientcmd/api/v1\".Cluster, with the exception of CertificateAuthority, since CA data will always be passed to the plugin as bytes.FieldDescriptionserver [Required]stringServer is the address of the kubernetes cluster (https://hostname:port).tls-server-namestringTLSServerName is passed to the server for SNI and is used in the client to check server certificates against. If ServerName is empty, the hostname used to contact the server is used.insecure-skip-tls-verifyboolInsecureSkipTLSVerify skips the validity check for the server's certificate. This will make your HTTPS connections insecure.certificate-authority-data[]byteCAData contains PEM-encoded certificate authority certificates. If empty, system roots should be used.proxy-urlstringProxyURL is the URL to the proxy to be used for all requests to this cluster.disable-compressionboolDisableCompression allows client to opt-out of response compression for all requests to the server. This is useful to speed up requests (specifically lists) when client-server network bandwidth is ample, by saving time on compression (server-side) and decompression (client-side): https://github.com/kubernetes/kubernetes/issues/112296.configk8s.io/apimachinery/pkg/runtime.RawExtensionConfig holds additional config data that is specific to the exec plugin with regards to the cluster being authenticated to.This data is sourced from the clientcmd Cluster object's extensions[client.authentication.k8s.io/exec] field:clusters:name: my-cluster cluster: ... extensions:name: client.authentication.k8s.io/exec # reserved extension name for per cluster exec config extension: audience: 06e3fbd18de8 # arbitrary configIn some environments, the user config may be exactly the same across many clusters (i.e. call this exec plugin) minus some details that are specific to each cluster such as the audience. This field allows the per cluster config to be directly specified with the cluster info. Using this field to store secret data is not recommended as one of the prime benefits of exec plugins is that no secrets need to be stored directly in the kubeconfig.ExecCredentialSpecAppears in:ExecCredentialExecCredentialSpec holds requ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/client-authentication.v1/",
    "id": "k8s_00653_qa_14328"
  },
  {
    "question": "What is Resource Types?",
    "answer": "E x e c C r e d e n t i a l",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/client-authentication.v1/",
    "id": "k8s_00653_section_2_14329"
  },
  {
    "question": "What is ExecCredential?",
    "answer": "E x e c C r e d e n t i a l   i s   u s e d   b y   e x e c - b a s e d   p l u g i n s   t o   c o m m u n i c a t e   c r e d e n t i a l s   t o   H T T P   t r a n s p o r t s .   S p e c   h o l d s   i n f o r m a t i o n   p a s s e d   t o   t h e   p l u g i n   b y   t h e   t r a n s p o r t .   S t a t u s   i s   f i l l e d   i n   b y   t h e   p l u g i n   a n d   h o l d s   t h e   c r e d e n t i a l s   t h a t   t h e   t r a n s p o r t   s h o u l d   u s e   t o   c o n t a c t   t h e   A P I .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/client-authentication.v1/",
    "id": "k8s_00653_section_2_14330"
  },
  {
    "question": "What is Cluster?",
    "answer": "A p p e a r s   i n :   E x e c C r e d e n t i a l S p e c   C l u s t e r   c o n t a i n s   i n f o r m a t i o n   t o   a l l o w   a n   e x e c   p l u g i n   t o   c o m m u n i c a t e   w i t h   t h e   k u b e r n e t e s   c l u s t e r   b e i n g   a u t h e n t i c a t e d   t o .   T o   e n s u r e   t h a t   t h i s   s t r u c t   c o n t a i n s   e v e r y t h i n g   s o m e o n e   w o u l d   n e e d   t o   c o m m u n i c a t e   w i t h   a   k u b e r n e t e s   c l u s t e r   ( j u s t   l i k e   t h e y   w o u l d   v i a   a   k u b e c o n f i g ) ,   t h e   f i e l d s   s h o u l d   s h a d o w   \" k 8 s . i o / c l i e n t - g o / t o o l s / c l i e n t c m d / a p i / v 1 \" . C l u s t e r ,   w i t h   t h e   e x c e p t i o n   o f   C e r t i f i c a t e A u t h o r i t y ,   s i n c e   C A   d a t a   w i l l   a l w a y s   b e   p a s s e d   t o   t h e   p l u g i n   a s   b y t e s .   S e r v e r   i s   t h e   a d d r e s s   o f   t h e   k u b e r n e t e s   c l u s t e r   ( h t t p s : / / h o s t n a m e : p o r t ) .   T L S S e r v e r N a m e   i s   p a s s e d   t o   t h e   s e r v e r   f o r   S N I   a n d   i s   u s e d   i n   t h e   c l i e n t   t o   c h e c k   s e r v e r   c e r t i f i c a t e s   a g a i n s t .   I f   S e r v e r N a m e   i s   e m p t y ,   t h e   h o s t n a m e   u s e d   t o   c o n t a c t   t h e   s e r v e r   i s   u s e d .   I n s e c u r e S k i p T L S V e r i f y   s k i p s   t h e   v a l i d i t y   c h e c k   f o r   t h e   s e r v e r ' s   c e r t i f i c a t e .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e .   C A D a t a   c o n t a i n s   P E M - e n c o d e d   c e r t i f i c a t e   a u t h o r i t y   c e r t i f i c a t e s .   I f   e m p t y ,   s y s t e m   r o o t s   s h o u l d   b e   u s e d .   P r o x y U R L   i s   t h e   U R L   t o   t h e   p r o x y   t o   b ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/client-authentication.v1/",
    "id": "k8s_00653_section_2_14331"
  },
  {
    "question": "What is ExecCredentialSpec?",
    "answer": "A p p e a r s   i n :   E x e c C r e d e n t i a l   E x e c C r e d e n t i a l S p e c   h o l d s   r e q u e s t   a n d   r u n t i m e   s p e c i f i c   i n f o r m a t i o n   p r o v i d e d   b y   t h e   t r a n s p o r t .   C l u s t e r   c o n t a i n s   i n f o r m a t i o n   t o   a l l o w   a n   e x e c   p l u g i n   t o   c o m m u n i c a t e   w i t h   t h e   k u b e r n e t e s   c l u s t e r   b e i n g   a u t h e n t i c a t e d   t o .   N o t e   t h a t   C l u s t e r   i s   n o n - n i l   o n l y   w h e n   p r o v i d e C l u s t e r I n f o   i s   s e t   t o   t r u e   i n   t h e   e x e c   p r o v i d e r   c o n f i g   ( i . e . ,   E x e c C o n f i g . P r o v i d e C l u s t e r I n f o ) .   I n t e r a c t i v e   d e c l a r e s   w h e t h e r   s t d i n   h a s   b e e n   p a s s e d   t o   t h i s   e x e c   p l u g i n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/client-authentication.v1/",
    "id": "k8s_00653_section_2_14332"
  },
  {
    "question": "What is ExecCredentialStatus?",
    "answer": "A p p e a r s   i n :   E x e c C r e d e n t i a l   E x e c C r e d e n t i a l S t a t u s   h o l d s   c r e d e n t i a l s   f o r   t h e   t r a n s p o r t   t o   u s e .   T o k e n   a n d   C l i e n t K e y D a t a   a r e   s e n s i t i v e   f i e l d s .   T h i s   d a t a   s h o u l d   o n l y   b e   t r a n s m i t t e d   i n - m e m o r y   b e t w e e n   c l i e n t   a n d   e x e c   p l u g i n   p r o c e s s .   E x e c   p l u g i n   i t s e l f   s h o u l d   a t   l e a s t   b e   p r o t e c t e d   v i a   f i l e   p e r m i s s i o n s .   E x p i r a t i o n T i m e s t a m p   i n d i c a t e s   a   t i m e   w h e n   t h e   p r o v i d e d   c r e d e n t i a l s   e x p i r e .   T o k e n   i s   a   b e a r e r   t o k e n   u s e d   b y   t h e   c l i e n t   f o r   r e q u e s t   a u t h e n t i c a t i o n .   P E M - e n c o d e d   c l i e n t   T L S   c e r t i f i c a t e s   ( i n c l u d i n g   i n t e r m e d i a t e s ,   i f   a n y ) .   P E M - e n c o d e d   p r i v a t e   k e y   f o r   t h e   a b o v e   c e r t i f i c a t e .   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/client-authentication.v1/",
    "id": "k8s_00653_section_2_14333"
  },
  {
    "question": "What is Pod Security Standards?",
    "answer": "Pod Security StandardsA detailed look at the different policy levels defined in the Pod Security Standards.The Pod Security Standards define three different policies to broadly cover the security spectrum. These policies are cumulative and range from highly-permissive to highly-restrictive. This guide outlines the requirements of each policy.ProfileDescriptionPrivilegedUnrestricted policy, providing the widest possible level of permissions. This policy allows for known privilege escalations.BaselineMinimally restrictive policy which prevents known privilege escalations. Allows the default (minimally specified) Pod configuration.RestrictedHeavily restricted policy, following current Pod hardening best practices.Profile DetailsPrivilegedThe Privileged policy is purposely-open, and entirely unrestricted. This type of policy is typically aimed at system- and infrastructure-level workloads managed by privileged, trusted users.The Privileged policy is defined by an absence of restrictions. If you define a Pod where the Privileged security policy applies, the Pod you define is able to bypass typical container isolation mechanisms. For example, you can define a Pod that has access to the node's host network.BaselineThe Baseline policy is aimed at ease of adoption for common containerized workloads while preventing known privilege escalations. This policy is targeted at application operators and developers of non-critical applications. The following listed controls should be enforced/disallowed:Note:In this table, wildcards (*) indicate all elements in a list. For example, spec.containers[*].securityContext refers to the Security Context object for all defined containers. If any of the listed containers fails to meet the requirements, the entire pod will fail validation.Baseline policy specificationControlPolicyHostProcessWindows Pods offer the ability to run HostProcess containers which enables privileged access to the Windows host machine. Privileged access to the host is disallowed in the Baseline policy.FEATURE STATE: Kubernetes v1.26 [stable]Restricted Fieldsspec.securityContext.windowsOptions.hostProcessspec.containers[*].securityContext.windowsOptions.hostProcessspec.initContainers[*].securityContext.windowsOptions.hostProcessspec.ephemeralContainers[*].securityContext.windowsOptions.hostProcessAllowed ValuesUndefined/nilfalseHost NamespacesSharing the host namespaces must be disallowed.Restricted Fieldsspec.hostNetworkspec.hostPIDspec.hostIPCAllowed ValuesUndefined/nilfalsePrivileged ContainersPrivileged Pods disable most security mechanisms and must be disallowed.Restricted Fieldsspec.containers[*].securityContext.privilegedspec.initContainers[*].securityContext.privilegedspec.ephemeralContainers[*].securityContext.privilegedAllowed ValuesUndefined/nilfalseCapabilitiesAdding additional capabilities beyond those listed below must be disallowed.Restricted Fieldsspec.containers[*].securityContext.capabilities.addspec.initContainers[*].securityContex",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-standards/",
    "id": "k8s_00654_qa_14334"
  },
  {
    "question": "How does Pod Security Standards work?",
    "answer": "Pod Security StandardsA detailed look at the different policy levels defined in the Pod Security Standards.The Pod Security Standards define three different policies to broadly cover the security spectrum. These policies are cumulative and range from highly-permissive to highly-restrictive. This guide outlines the requirements of each policy.ProfileDescriptionPrivilegedUnrestricted policy, providing the widest possible level of permissions. This policy allows for known privilege escalations.BaselineMinimally restrictive policy which prevents known privilege escalations. Allows the default (minimally specified) Pod configuration.RestrictedHeavily restricted policy, following current Pod hardening best practices.Profile DetailsPrivilegedThe Privileged policy is purposely-open, and entirely unrestricted. This type of policy is typically aimed at system- and infrastructure-level workloads managed by privileged, trusted users.The Privileged policy is defined by an absence of restrictions. If you define a Pod where the Privileged security policy applies, the Pod you define is able to bypass typical container isolation mechanisms. For example, you can define a Pod that has access to the node's host network.BaselineThe Baseline policy is aimed at ease of adoption for common containerized workloads while preventing known privilege escalations. This policy is targeted at application operators and developers of non-critical applications. The following listed controls should be enforced/disallowed:Note:In this table, wildcards (*) indicate all elements in a list. For example, spec.containers[*].securityContext refers to the Security Context object for all defined containers. If any of the listed containers fails to meet the requirements, the entire pod will fail validation.Baseline policy specificationControlPolicyHostProcessWindows Pods offer the ability to run HostProcess containers which enables privileged access to the Windows host machine. Privileged access to the host is disallowed in the Baseline policy.FEATURE STATE: Kubernetes v1.26 [stable]Restricted Fieldsspec.securityContext.windowsOptions.hostProcessspec.containers[*].securityContext.windowsOptions.hostProcessspec.initContainers[*].securityContext.windowsOptions.hostProcessspec.ephemeralContainers[*].securityContext.windowsOptions.hostProcessAllowed ValuesUndefined/nilfalseHost NamespacesSharing the host namespaces must be disallowed.Restricted Fieldsspec.hostNetworkspec.hostPIDspec.hostIPCAllowed ValuesUndefined/nilfalsePrivileged ContainersPrivileged Pods disable most security mechanisms and must be disallowed.Restricted Fieldsspec.containers[*].securityContext.privilegedspec.initContainers[*].securityContext.privilegedspec.ephemeralContainers[*].securityContext.privilegedAllowed ValuesUndefined/nilfalseCapabilitiesAdding additional capabilities beyond those listed below must be disallowed.Restricted Fieldsspec.containers[*].securityContext.capabilities.addspec.initContainers[*].securityContex",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-standards/",
    "id": "k8s_00654_qa_14335"
  },
  {
    "question": "When would you use Pod Security Standards?",
    "answer": "Pod Security StandardsA detailed look at the different policy levels defined in the Pod Security Standards.The Pod Security Standards define three different policies to broadly cover the security spectrum. These policies are cumulative and range from highly-permissive to highly-restrictive. This guide outlines the requirements of each policy.ProfileDescriptionPrivilegedUnrestricted policy, providing the widest possible level of permissions. This policy allows for known privilege escalations.BaselineMinimally restrictive policy which prevents known privilege escalations. Allows the default (minimally specified) Pod configuration.RestrictedHeavily restricted policy, following current Pod hardening best practices.Profile DetailsPrivilegedThe Privileged policy is purposely-open, and entirely unrestricted. This type of policy is typically aimed at system- and infrastructure-level workloads managed by privileged, trusted users.The Privileged policy is defined by an absence of restrictions. If you define a Pod where the Privileged security policy applies, the Pod you define is able to bypass typical container isolation mechanisms. For example, you can define a Pod that has access to the node's host network.BaselineThe Baseline policy is aimed at ease of adoption for common containerized workloads while preventing known privilege escalations. This policy is targeted at application operators and developers of non-critical applications. The following listed controls should be enforced/disallowed:Note:In this table, wildcards (*) indicate all elements in a list. For example, spec.containers[*].securityContext refers to the Security Context object for all defined containers. If any of the listed containers fails to meet the requirements, the entire pod will fail validation.Baseline policy specificationControlPolicyHostProcessWindows Pods offer the ability to run HostProcess containers which enables privileged access to the Windows host machine. Privileged access to the host is disallowed in the Baseline policy.FEATURE STATE: Kubernetes v1.26 [stable]Restricted Fieldsspec.securityContext.windowsOptions.hostProcessspec.containers[*].securityContext.windowsOptions.hostProcessspec.initContainers[*].securityContext.windowsOptions.hostProcessspec.ephemeralContainers[*].securityContext.windowsOptions.hostProcessAllowed ValuesUndefined/nilfalseHost NamespacesSharing the host namespaces must be disallowed.Restricted Fieldsspec.hostNetworkspec.hostPIDspec.hostIPCAllowed ValuesUndefined/nilfalsePrivileged ContainersPrivileged Pods disable most security mechanisms and must be disallowed.Restricted Fieldsspec.containers[*].securityContext.privilegedspec.initContainers[*].securityContext.privilegedspec.ephemeralContainers[*].securityContext.privilegedAllowed ValuesUndefined/nilfalseCapabilitiesAdding additional capabilities beyond those listed below must be disallowed.Restricted Fieldsspec.containers[*].securityContext.capabilities.addspec.initContainers[*].securityContex",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-standards/",
    "id": "k8s_00654_qa_14336"
  },
  {
    "question": "What are the benefits of Pod Security Standards?",
    "answer": "Pod Security StandardsA detailed look at the different policy levels defined in the Pod Security Standards.The Pod Security Standards define three different policies to broadly cover the security spectrum. These policies are cumulative and range from highly-permissive to highly-restrictive. This guide outlines the requirements of each policy.ProfileDescriptionPrivilegedUnrestricted policy, providing the widest possible level of permissions. This policy allows for known privilege escalations.BaselineMinimally restrictive policy which prevents known privilege escalations. Allows the default (minimally specified) Pod configuration.RestrictedHeavily restricted policy, following current Pod hardening best practices.Profile DetailsPrivilegedThe Privileged policy is purposely-open, and entirely unrestricted. This type of policy is typically aimed at system- and infrastructure-level workloads managed by privileged, trusted users.The Privileged policy is defined by an absence of restrictions. If you define a Pod where the Privileged security policy applies, the Pod you define is able to bypass typical container isolation mechanisms. For example, you can define a Pod that has access to the node's host network.BaselineThe Baseline policy is aimed at ease of adoption for common containerized workloads while preventing known privilege escalations. This policy is targeted at application operators and developers of non-critical applications. The following listed controls should be enforced/disallowed:Note:In this table, wildcards (*) indicate all elements in a list. For example, spec.containers[*].securityContext refers to the Security Context object for all defined containers. If any of the listed containers fails to meet the requirements, the entire pod will fail validation.Baseline policy specificationControlPolicyHostProcessWindows Pods offer the ability to run HostProcess containers which enables privileged access to the Windows host machine. Privileged access to the host is disallowed in the Baseline policy.FEATURE STATE: Kubernetes v1.26 [stable]Restricted Fieldsspec.securityContext.windowsOptions.hostProcessspec.containers[*].securityContext.windowsOptions.hostProcessspec.initContainers[*].securityContext.windowsOptions.hostProcessspec.ephemeralContainers[*].securityContext.windowsOptions.hostProcessAllowed ValuesUndefined/nilfalseHost NamespacesSharing the host namespaces must be disallowed.Restricted Fieldsspec.hostNetworkspec.hostPIDspec.hostIPCAllowed ValuesUndefined/nilfalsePrivileged ContainersPrivileged Pods disable most security mechanisms and must be disallowed.Restricted Fieldsspec.containers[*].securityContext.privilegedspec.initContainers[*].securityContext.privilegedspec.ephemeralContainers[*].securityContext.privilegedAllowed ValuesUndefined/nilfalseCapabilitiesAdding additional capabilities beyond those listed below must be disallowed.Restricted Fieldsspec.containers[*].securityContext.capabilities.addspec.initContainers[*].securityContex",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-standards/",
    "id": "k8s_00654_qa_14337"
  },
  {
    "question": "What is Pod Security Standards?",
    "answer": "T h e   P o d   S e c u r i t y   S t a n d a r d s   d e f i n e   t h r e e   d i f f e r e n t   p o l i c i e s   t o   b r o a d l y   c o v e r   t h e   s e c u r i t y   s p e c t r u m .   T h e s e   p o l i c i e s   a r e   c u m u l a t i v e   a n d   r a n g e   f r o m   h i g h l y - p e r m i s s i v e   t o   h i g h l y - r e s t r i c t i v e .   T h i s   g u i d e   o u t l i n e s   t h e   r e q u i r e m e n t s   o f   e a c h   p o l i c y .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-standards/",
    "id": "k8s_00654_section_1_14338"
  },
  {
    "question": "What is Privileged?",
    "answer": "T h e   P r i v i l e g e d   p o l i c y   i s   p u r p o s e l y - o p e n ,   a n d   e n t i r e l y   u n r e s t r i c t e d .   T h i s   t y p e   o f   p o l i c y   i s   t y p i c a l l y   a i m e d   a t   s y s t e m -   a n d   i n f r a s t r u c t u r e - l e v e l   w o r k l o a d s   m a n a g e d   b y   p r i v i l e g e d ,   t r u s t e d   u s e r s .   T h e   P r i v i l e g e d   p o l i c y   i s   d e f i n e d   b y   a n   a b s e n c e   o f   r e s t r i c t i o n s .   I f   y o u   d e f i n e   a   P o d   w h e r e   t h e   P r i v i l e g e d   s e c u r i t y   p o l i c y   a p p l i e s ,   t h e   P o d   y o u   d e f i n e   i s   a b l e   t o   b y p a s s   t y p i c a l   c o n t a i n e r   i s o l a t i o n   m e c h a n i s m s .   F o r   e x a m p l e ,   y o u   c a n   d e f i n e   a   P o d   t h a t   h a s   a c c e s s   t o   t h e   n o d e ' s   h o s t   n e t w o r k .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-standards/",
    "id": "k8s_00654_section_3_14339"
  },
  {
    "question": "What is Baseline?",
    "answer": "T h e   B a s e l i n e   p o l i c y   i s   a i m e d   a t   e a s e   o f   a d o p t i o n   f o r   c o m m o n   c o n t a i n e r i z e d   w o r k l o a d s   w h i l e   p r e v e n t i n g   k n o w n   p r i v i l e g e   e s c a l a t i o n s .   T h i s   p o l i c y   i s   t a r g e t e d   a t   a p p l i c a t i o n   o p e r a t o r s   a n d   d e v e l o p e r s   o f   n o n - c r i t i c a l   a p p l i c a t i o n s .   T h e   f o l l o w i n g   l i s t e d   c o n t r o l s   s h o u l d   b e   e n f o r c e d / d i s a l l o w e d :",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-standards/",
    "id": "k8s_00654_section_3_14340"
  },
  {
    "question": "What is Note:?",
    "answer": "W i n d o w s   P o d s   o f f e r   t h e   a b i l i t y   t o   r u n   H o s t P r o c e s s   c o n t a i n e r s   w h i c h   e n a b l e s   p r i v i l e g e d   a c c e s s   t o   t h e   W i n d o w s   h o s t   m a c h i n e .   P r i v i l e g e d   a c c e s s   t o   t h e   h o s t   i s   d i s a l l o w e d   i n   t h e   B a s e l i n e   p o l i c y . F E A T U R E   S T A T E :   K u b e r n e t e s   v 1 . 2 6   [ s t a b l e ]   R e s t r i c t e d   F i e l d s   s p e c . s e c u r i t y C o n t e x t . w i n d o w s O p t i o n s . h o s t P r o c e s s s p e c . c o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . w i n d o w s O p t i o n s . h o s t P r o c e s s s p e c . i n i t C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . w i n d o w s O p t i o n s . h o s t P r o c e s s s p e c . e p h e m e r a l C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . w i n d o w s O p t i o n s . h o s t P r o c e s s   A l l o w e d   V a l u e s   U n d e f i n e d / n i l f a l s e   S h a r i n g   t h e   h o s t   n a m e s p a c e s   m u s t   b e   d i s a l l o w e d .   R e s t r i c t e d   F i e l d s   s p e c . h o s t N e t w o r k s p e c . h o s t P I D s p e c . h o s t I P C   A l l o w e d   V a l u e s   U n d e f i n e d / n i l f a l s e   P r i v i l e g e d   P o d s   d i s a b l e   m o s t   s e c u r i t y   m e c h a n i s m s   a n d   m u s t   b e   d i s a l l o w e d .   R e s t r i c t e d   F i e l d s   s p e c . c o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . p r i v i l e g e d s p e c . i n i t C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . p r i v i l e g e d s p e c . e p h e m e r a l C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . p r i v i l e g e d   A l l o w e d   V a l u e s   U n d e f i n e d / n i l f a l s e   A d d i n g   a d d i t i o n a l   c a p a b i l i t i e s   b e y o n d   t h o s e   l i s t e d   b e l o w   m u ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-standards/",
    "id": "k8s_00654_section_4_14341"
  },
  {
    "question": "What is Restricted?",
    "answer": "T h e   R e s t r i c t e d   p o l i c y   i s   a i m e d   a t   e n f o r c i n g   c u r r e n t   P o d   h a r d e n i n g   b e s t   p r a c t i c e s ,   a t   t h e   e x p e n s e   o f   s o m e   c o m p a t i b i l i t y .   I t   i s   t a r g e t e d   a t   o p e r a t o r s   a n d   d e v e l o p e r s   o f   s e c u r i t y - c r i t i c a l   a p p l i c a t i o n s ,   a s   w e l l   a s   l o w e r - t r u s t   u s e r s .   T h e   f o l l o w i n g   l i s t e d   c o n t r o l s   s h o u l d   b e   e n f o r c e d / d i s a l l o w e d :",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-standards/",
    "id": "k8s_00654_section_3_14342"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   R e s t r i c t e d   p o l i c y   o n l y   p e r m i t s   t h e   f o l l o w i n g   v o l u m e   t y p e s .   R e s t r i c t e d   F i e l d s   s p e c . v o l u m e s [ * ]   A l l o w e d   V a l u e s   s p e c . v o l u m e s [ * ] . c o n f i g M a p s p e c . v o l u m e s [ * ] . c s i s p e c . v o l u m e s [ * ] . d o w n w a r d A P I s p e c . v o l u m e s [ * ] . e m p t y D i r s p e c . v o l u m e s [ * ] . e p h e m e r a l s p e c . v o l u m e s [ * ] . p e r s i s t e n t V o l u m e C l a i m s p e c . v o l u m e s [ * ] . p r o j e c t e d s p e c . v o l u m e s [ * ] . s e c r e t   P r i v i l e g e   e s c a l a t i o n   ( s u c h   a s   v i a   s e t - u s e r - I D   o r   s e t - g r o u p - I D   f i l e   m o d e )   s h o u l d   n o t   b e   a l l o w e d .   T h i s   i s   L i n u x   o n l y   p o l i c y   i n   v 1 . 2 5 +   ( s p e c . o s . n a m e   ! =   w i n d o w s )   R e s t r i c t e d   F i e l d s   s p e c . c o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . a l l o w P r i v i l e g e E s c a l a t i o n s p e c . i n i t C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . a l l o w P r i v i l e g e E s c a l a t i o n s p e c . e p h e m e r a l C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . a l l o w P r i v i l e g e E s c a l a t i o n   A l l o w e d   V a l u e s   f a l s e   C o n t a i n e r s   m u s t   b e   r e q u i r e d   t o   r u n   a s   n o n - r o o t   u s e r s .   R e s t r i c t e d   F i e l d s   s p e c . s e c u r i t y C o n t e x t . r u n A s N o n R o o t s p e c . c o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . r u n A s N o n R o o t s p e c . i n i t C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . r u n A s N o n R o o t s p e c . e p h e m e r a l C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . r u n A s N o n R o o t   A l l o w e d   V a l u e s   t r u e   C o n t a i n e r s   m u s t ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-standards/",
    "id": "k8s_00654_section_4_14343"
  },
  {
    "question": "What is Policy Instantiation?",
    "answer": "D e c o u p l i n g   p o l i c y   d e f i n i t i o n   f r o m   p o l i c y   i n s t a n t i a t i o n   a l l o w s   f o r   a   c o m m o n   u n d e r s t a n d i n g   a n d   c o n s i s t e n t   l a n g u a g e   o f   p o l i c i e s   a c r o s s   c l u s t e r s ,   i n d e p e n d e n t   o f   t h e   u n d e r l y i n g   e n f o r c e m e n t   m e c h a n i s m .   A s   m e c h a n i s m s   m a t u r e ,   t h e y   w i l l   b e   d e f i n e d   b e l o w   o n   a   p e r - p o l i c y   b a s i s .   T h e   m e t h o d s   o f   e n f o r c e m e n t   o f   i n d i v i d u a l   p o l i c i e s   a r e   n o t   d e f i n e d   h e r e .   P o d   S e c u r i t y   A d m i s s i o n   C o n t r o l l e r   P r i v i l e g e d   n a m e s p a c e B a s e l i n e   n a m e s p a c e R e s t r i c t e d   n a m e s p a c e",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-standards/",
    "id": "k8s_00654_section_2_14344"
  },
  {
    "question": "What is Alternatives?",
    "answer": "O t h e r   a l t e r n a t i v e s   f o r   e n f o r c i n g   p o l i c i e s   a r e   b e i n g   d e v e l o p e d   i n   t h e   K u b e r n e t e s   e c o s y s t e m ,   s u c h   a s :   K u b e w a r d e n K y v e r n o O P A   G a t e k e e p e r",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-standards/",
    "id": "k8s_00654_section_3_14345"
  },
  {
    "question": "What is Pod OS field?",
    "answer": "K u b e r n e t e s   l e t s   y o u   u s e   n o d e s   t h a t   r u n   e i t h e r   L i n u x   o r   W i n d o w s .   Y o u   c a n   m i x   b o t h   k i n d s   o f   n o d e   i n   o n e   c l u s t e r .   W i n d o w s   i n   K u b e r n e t e s   h a s   s o m e   l i m i t a t i o n s   a n d   d i f f e r e n t i a t o r s   f r o m   L i n u x - b a s e d   w o r k l o a d s .   S p e c i f i c a l l y ,   m a n y   o f   t h e   P o d   s e c u r i t y C o n t e x t   f i e l d s   h a v e   n o   e f f e c t   o n   W i n d o w s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-standards/",
    "id": "k8s_00654_section_2_14346"
  },
  {
    "question": "What is Restricted Pod Security Standard changes?",
    "answer": "A n o t h e r   i m p o r t a n t   c h a n g e ,   m a d e   i n   K u b e r n e t e s   v 1 . 2 5   i s   t h a t   t h e   R e s t r i c t e d   p o l i c y   h a s   b e e n   u p d a t e d   t o   u s e   t h e   p o d . s p e c . o s . n a m e   f i e l d .   B a s e d   o n   t h e   O S   n a m e ,   c e r t a i n   p o l i c i e s   t h a t   a r e   s p e c i f i c   t o   a   p a r t i c u l a r   O S   c a n   b e   r e l a x e d   f o r   t h e   o t h e r   O S .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-standards/",
    "id": "k8s_00654_section_3_14347"
  },
  {
    "question": "What is OS-specific policy controls?",
    "answer": "R e s t r i c t i o n s   o n   t h e   f o l l o w i n g   c o n t r o l s   a r e   o n l y   r e q u i r e d   i f   . s p e c . o s . n a m e   i s   n o t   w i n d o w s :   P r i v i l e g e   E s c a l a t i o n S e c c o m p L i n u x   C a p a b i l i t i e s",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-standards/",
    "id": "k8s_00654_section_4_14348"
  },
  {
    "question": "What is User namespaces?",
    "answer": "U s e r   N a m e s p a c e s   a r e   a   L i n u x - o n l y   f e a t u r e   t o   r u n   w o r k l o a d s   w i t h   i n c r e a s e d   i s o l a t i o n .   H o w   t h e y   w o r k   t o g e t h e r   w i t h   P o d   S e c u r i t y   S t a n d a r d s   i s   d e s c r i b e d   i n   t h e   d o c u m e n t a t i o n   f o r   P o d s   t h a t   u s e   u s e r   n a m e s p a c e s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-standards/",
    "id": "k8s_00654_section_2_14349"
  },
  {
    "question": "What is Why isn't there a profile between Privileged and Baseline??",
    "answer": "T h e   t h r e e   p r o f i l e s   d e f i n e d   h e r e   h a v e   a   c l e a r   l i n e a r   p r o g r e s s i o n   f r o m   m o s t   s e c u r e   ( R e s t r i c t e d )   t o   l e a s t   s e c u r e   ( P r i v i l e g e d ) ,   a n d   c o v e r   a   b r o a d   s e t   o f   w o r k l o a d s .   P r i v i l e g e s   r e q u i r e d   a b o v e   t h e   B a s e l i n e   p o l i c y   a r e   t y p i c a l l y   v e r y   a p p l i c a t i o n   s p e c i f i c ,   s o   w e   d o   n o t   o f f e r   a   s t a n d a r d   p r o f i l e   i n   t h i s   n i c h e .   T h i s   i s   n o t   t o   s a y   t h a t   t h e   p r i v i l e g e d   p r o f i l e   s h o u l d   a l w a y s   b e   u s e d   i n   t h i s   c a s e ,   b u t   t h a t   p o l i c i e s   i n   t h i s   s p a c e   n e e d   t o   b e   d e f i n e d   o n   a   c a s e - b y - c a s e   b a s i s .   S I G   A u t h   m a y   r e c o n s i d e r   t h i s   p o s i t i o n   i n   t h e   f u t u r e ,   s h o u l d   a   c l e a r   n e e d   f o r   o t h e r   p r o f i l e s   a r i s e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-standards/",
    "id": "k8s_00654_section_3_14350"
  },
  {
    "question": "What is What's the difference between a security profile and a security context??",
    "answer": "S e c u r i t y   C o n t e x t s   c o n f i g u r e   P o d s   a n d   C o n t a i n e r s   a t   r u n t i m e .   S e c u r i t y   c o n t e x t s   a r e   d e f i n e d   a s   p a r t   o f   t h e   P o d   a n d   c o n t a i n e r   s p e c i f i c a t i o n s   i n   t h e   P o d   m a n i f e s t ,   a n d   r e p r e s e n t   p a r a m e t e r s   t o   t h e   c o n t a i n e r   r u n t i m e .   S e c u r i t y   p r o f i l e s   a r e   c o n t r o l   p l a n e   m e c h a n i s m s   t o   e n f o r c e   s p e c i f i c   s e t t i n g s   i n   t h e   S e c u r i t y   C o n t e x t ,   a s   w e l l   a s   o t h e r   r e l a t e d   p a r a m e t e r s   o u t s i d e   t h e   S e c u r i t y   C o n t e x t .   A s   o f   J u l y   2 0 2 1 ,   P o d   S e c u r i t y   P o l i c i e s   a r e   d e p r e c a t e d   i n   f a v o r   o f   t h e   b u i l t - i n   P o d   S e c u r i t y   A d m i s s i o n   C o n t r o l l e r .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-standards/",
    "id": "k8s_00654_section_3_14351"
  },
  {
    "question": "What is What about sandboxed Pods??",
    "answer": "T h e r e   i s   c u r r e n t l y   n o   A P I   s t a n d a r d   t h a t   c o n t r o l s   w h e t h e r   a   P o d   i s   c o n s i d e r e d   s a n d b o x e d   o r   n o t .   S a n d b o x   P o d s   m a y   b e   i d e n t i f i e d   b y   t h e   u s e   o f   a   s a n d b o x e d   r u n t i m e   ( s u c h   a s   g V i s o r   o r   K a t a   C o n t a i n e r s ) ,   b u t   t h e r e   i s   n o   s t a n d a r d   d e f i n i t i o n   o f   w h a t   a   s a n d b o x e d   r u n t i m e   i s .   T h e   p r o t e c t i o n s   n e c e s s a r y   f o r   s a n d b o x e d   w o r k l o a d s   c a n   d i f f e r   f r o m   o t h e r s .   F o r   e x a m p l e ,   t h e   n e e d   t o   r e s t r i c t   p r i v i l e g e d   p e r m i s s i o n s   i s   l e s s e n e d   w h e n   t h e   w o r k l o a d   i s   i s o l a t e d   f r o m   t h e   u n d e r l y i n g   k e r n e l .   T h i s   a l l o w s   f o r   w o r k l o a d s   r e q u i r i n g   h e i g h t e n e d   p e r m i s s i o n s   t o   s t i l l   b e   i s o l a t e d .   A d d i t i o n a l l y ,   t h e   p r o t e c t i o n   o f   s a n d b o x e d   w o r k l o a d s   i s   h i g h l y   d e p e n d e n t   o n   t h e   m e t h o d   o f   s a n d b o x i n g .   A s   s u c h ,   n o   s i n g l e   r e c o m m e n d e d   p r o f i l e   i s   r e c o m m e n d e d   f o r   a l l   s a n d b o x e d   w o r k l o a d s .   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/security/pod-security-standards/",
    "id": "k8s_00654_section_3_14352"
  },
  {
    "question": "What is kubectl create secret tls?",
    "answer": "kubectl create secret tlsSynopsisCreate a TLS secret from the given public/private key pair.The public/private key pair must exist beforehand. The public key certificate must be .PEM encoded and match the given private key.kubectl create secret tls NAME --cert=path/to/cert/file --key=path/to/key/file [--dry-run=server|client|none] Examples # Create a new TLS secret named tls-secret with the given key pair kubectl create secret tls tls-secret --cert=path/to/tls.crt --key=path/to/tls.key Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--append-hashAppend a hash of the secret to its name.--cert stringPath to PEM encoded public key certificate.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for tls--key stringPath to private key associated with given certificate.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate a",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_tls/",
    "id": "k8s_00655_qa_14353"
  },
  {
    "question": "How does kubectl create secret tls work?",
    "answer": "kubectl create secret tlsSynopsisCreate a TLS secret from the given public/private key pair.The public/private key pair must exist beforehand. The public key certificate must be .PEM encoded and match the given private key.kubectl create secret tls NAME --cert=path/to/cert/file --key=path/to/key/file [--dry-run=server|client|none] Examples # Create a new TLS secret named tls-secret with the given key pair kubectl create secret tls tls-secret --cert=path/to/tls.crt --key=path/to/tls.key Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--append-hashAppend a hash of the secret to its name.--cert stringPath to PEM encoded public key certificate.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for tls--key stringPath to private key associated with given certificate.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate a",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_tls/",
    "id": "k8s_00655_qa_14354"
  },
  {
    "question": "When would you use kubectl create secret tls?",
    "answer": "kubectl create secret tlsSynopsisCreate a TLS secret from the given public/private key pair.The public/private key pair must exist beforehand. The public key certificate must be .PEM encoded and match the given private key.kubectl create secret tls NAME --cert=path/to/cert/file --key=path/to/key/file [--dry-run=server|client|none] Examples # Create a new TLS secret named tls-secret with the given key pair kubectl create secret tls tls-secret --cert=path/to/tls.crt --key=path/to/tls.key Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--append-hashAppend a hash of the secret to its name.--cert stringPath to PEM encoded public key certificate.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for tls--key stringPath to private key associated with given certificate.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate a",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_tls/",
    "id": "k8s_00655_qa_14355"
  },
  {
    "question": "What are the benefits of kubectl create secret tls?",
    "answer": "kubectl create secret tlsSynopsisCreate a TLS secret from the given public/private key pair.The public/private key pair must exist beforehand. The public key certificate must be .PEM encoded and match the given private key.kubectl create secret tls NAME --cert=path/to/cert/file --key=path/to/key/file [--dry-run=server|client|none] Examples # Create a new TLS secret named tls-secret with the given key pair kubectl create secret tls tls-secret --cert=path/to/tls.crt --key=path/to/tls.key Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--append-hashAppend a hash of the secret to its name.--cert stringPath to PEM encoded public key certificate.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.-h, --helphelp for tls--key stringPath to private key associated with given certificate.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate a",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_tls/",
    "id": "k8s_00655_qa_14356"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   T L S   s e c r e t   f r o m   t h e   g i v e n   p u b l i c / p r i v a t e   k e y   p a i r .   T h e   p u b l i c / p r i v a t e   k e y   p a i r   m u s t   e x i s t   b e f o r e h a n d .   T h e   p u b l i c   k e y   c e r t i f i c a t e   m u s t   b e   . P E M   e n c o d e d   a n d   m a t c h   t h e   g i v e n   p r i v a t e   k e y .   k u b e c t l   c r e a t e   s e c r e t   t l s   N A M E   - - c e r t = p a t h / t o / c e r t / f i l e   - - k e y = p a t h / t o / k e y / f i l e   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_tls/",
    "id": "k8s_00655_section_2_14357"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   T L S   s e c r e t   n a m e d   t l s - s e c r e t   w i t h   t h e   g i v e n   k e y   p a i r   k u b e c t l   c r e a t e   s e c r e t   t l s   t l s - s e c r e t   - - c e r t = p a t h / t o / t l s . c r t   - - k e y = p a t h / t o / t l s . k e y",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_tls/",
    "id": "k8s_00655_section_2_14358"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   A p p e n d   a   h a s h   o f   t h e   s e c r e t   t o   i t s   n a m e .   P a t h   t o   P E M   e n c o d e d   p u b l i c   k e y   c e r t i f i c a t e .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   t l s   P a t h   t o   p r i v a t e   k e y   a s s o c i a t e d   w i t h   g i v e n   c e r t i f i c a t e .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_tls/",
    "id": "k8s_00655_section_2_14359"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_tls/",
    "id": "k8s_00655_section_2_14360"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   s e c r e t   -   C r e a t e   a   s e c r e t   u s i n g   a   s p e c i f i e d   s u b c o m m a n d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_tls/",
    "id": "k8s_00655_section_2_14361"
  },
  {
    "question": "What is Validate IPv4/IPv6 dual-stack?",
    "answer": "Validate IPv4/IPv6 dual-stackThis document shares how to validate IPv4/IPv6 dual-stack enabled Kubernetes clusters.Before you beginProvider support for dual-stack networking (Cloud provider or otherwise must be able to provide Kubernetes nodes with routable IPv4/IPv6 network interfaces)A network plugin that supports dual-stack networking.Dual-stack enabled clusterYour Kubernetes server must be at or later than version v1.23.To check the version, enter kubectl version.Note:While you can validate with an earlier version, the feature is only GA and officially supported since v1.23.Validate addressingValidate node addressingEach dual-stack Node should have a single IPv4 block and a single IPv6 block allocated. Validate that IPv4/IPv6 Pod address ranges are configured by running the following command. Replace the sample node name with a valid dual-stack Node from your cluster. In this example, the Node's name is k8s-linuxpool1-34450317-0:kubectl get nodes k8s-linuxpool1-34450317-0 -o go-template --template='{{range .spec.podCIDRs}}{{printf \"%s\\n\" .}}{{end}}' 10.244.1.0/24 2001:db8::/64 There should be one IPv4 block and one IPv6 block allocated.Validate that the node has an IPv4 and IPv6 interface detected. Replace node name with a valid node from the cluster. In this example the node name is k8s-linuxpool1-34450317-0:kubectl get nodes k8s-linuxpool1-34450317-0 -o go-template --template='{{range .status.addresses}}{{printf \"%s: %s\\n\" .type .address}}{{end}}' Hostname: k8s-linuxpool1-34450317-0 InternalIP: 10.0.0.5 InternalIP: 2001:db8:10::5 Validate Pod addressingValidate that a Pod has an IPv4 and IPv6 address assigned. Replace the Pod name with a valid Pod in your cluster. In this example the Pod name is pod01:kubectl get pods pod01 -o go-template --template='{{range .status.podIPs}}{{printf \"%s\\n\" .ip}}{{end}}' 10.244.1.4 2001:db8::4 You can also validate Pod IPs using the Downward API via the status.podIPs fieldPath. The following snippet demonstrates how you can expose the Pod IPs via an environment variable called MY_POD_IPS within a container. env: - name: MY_POD_IPS valueFrom: fieldRef: fieldPath: status.podIPs The following command prints the value of the MY_POD_IPS environment variable from within a container. The value is a comma separated list that corresponds to the Pod's IPv4 and IPv6 addresses.kubectl exec -it pod01 -- set | grep MY_POD_IPS MY_POD_IPS=10.244.1.4,2001:db8::4 The Pod's IP addresses will also be written to /etc/hosts within a container. The following command executes a cat on /etc/hosts on a dual stack Pod. From the output you can verify both the IPv4 and IPv6 IP address for the Pod.kubectl exec -it pod01 -- cat /etc/hosts # Kubernetes-managed hosts file. 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet fe00::0 ip6-mcastprefix fe00::1 ip6-allnodes fe00::2 ip6-allrouters 10.244.1.4 pod01 2001:db8::4 pod01 Validate ServicesCreate the following Service that does not explicitly define .spec.ipF",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/network/validate-dual-stack/",
    "id": "k8s_00656_qa_14362"
  },
  {
    "question": "How does Validate IPv4/IPv6 dual-stack work?",
    "answer": "Validate IPv4/IPv6 dual-stackThis document shares how to validate IPv4/IPv6 dual-stack enabled Kubernetes clusters.Before you beginProvider support for dual-stack networking (Cloud provider or otherwise must be able to provide Kubernetes nodes with routable IPv4/IPv6 network interfaces)A network plugin that supports dual-stack networking.Dual-stack enabled clusterYour Kubernetes server must be at or later than version v1.23.To check the version, enter kubectl version.Note:While you can validate with an earlier version, the feature is only GA and officially supported since v1.23.Validate addressingValidate node addressingEach dual-stack Node should have a single IPv4 block and a single IPv6 block allocated. Validate that IPv4/IPv6 Pod address ranges are configured by running the following command. Replace the sample node name with a valid dual-stack Node from your cluster. In this example, the Node's name is k8s-linuxpool1-34450317-0:kubectl get nodes k8s-linuxpool1-34450317-0 -o go-template --template='{{range .spec.podCIDRs}}{{printf \"%s\\n\" .}}{{end}}' 10.244.1.0/24 2001:db8::/64 There should be one IPv4 block and one IPv6 block allocated.Validate that the node has an IPv4 and IPv6 interface detected. Replace node name with a valid node from the cluster. In this example the node name is k8s-linuxpool1-34450317-0:kubectl get nodes k8s-linuxpool1-34450317-0 -o go-template --template='{{range .status.addresses}}{{printf \"%s: %s\\n\" .type .address}}{{end}}' Hostname: k8s-linuxpool1-34450317-0 InternalIP: 10.0.0.5 InternalIP: 2001:db8:10::5 Validate Pod addressingValidate that a Pod has an IPv4 and IPv6 address assigned. Replace the Pod name with a valid Pod in your cluster. In this example the Pod name is pod01:kubectl get pods pod01 -o go-template --template='{{range .status.podIPs}}{{printf \"%s\\n\" .ip}}{{end}}' 10.244.1.4 2001:db8::4 You can also validate Pod IPs using the Downward API via the status.podIPs fieldPath. The following snippet demonstrates how you can expose the Pod IPs via an environment variable called MY_POD_IPS within a container. env: - name: MY_POD_IPS valueFrom: fieldRef: fieldPath: status.podIPs The following command prints the value of the MY_POD_IPS environment variable from within a container. The value is a comma separated list that corresponds to the Pod's IPv4 and IPv6 addresses.kubectl exec -it pod01 -- set | grep MY_POD_IPS MY_POD_IPS=10.244.1.4,2001:db8::4 The Pod's IP addresses will also be written to /etc/hosts within a container. The following command executes a cat on /etc/hosts on a dual stack Pod. From the output you can verify both the IPv4 and IPv6 IP address for the Pod.kubectl exec -it pod01 -- cat /etc/hosts # Kubernetes-managed hosts file. 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet fe00::0 ip6-mcastprefix fe00::1 ip6-allnodes fe00::2 ip6-allrouters 10.244.1.4 pod01 2001:db8::4 pod01 Validate ServicesCreate the following Service that does not explicitly define .spec.ipF",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/network/validate-dual-stack/",
    "id": "k8s_00656_qa_14363"
  },
  {
    "question": "When would you use Validate IPv4/IPv6 dual-stack?",
    "answer": "Validate IPv4/IPv6 dual-stackThis document shares how to validate IPv4/IPv6 dual-stack enabled Kubernetes clusters.Before you beginProvider support for dual-stack networking (Cloud provider or otherwise must be able to provide Kubernetes nodes with routable IPv4/IPv6 network interfaces)A network plugin that supports dual-stack networking.Dual-stack enabled clusterYour Kubernetes server must be at or later than version v1.23.To check the version, enter kubectl version.Note:While you can validate with an earlier version, the feature is only GA and officially supported since v1.23.Validate addressingValidate node addressingEach dual-stack Node should have a single IPv4 block and a single IPv6 block allocated. Validate that IPv4/IPv6 Pod address ranges are configured by running the following command. Replace the sample node name with a valid dual-stack Node from your cluster. In this example, the Node's name is k8s-linuxpool1-34450317-0:kubectl get nodes k8s-linuxpool1-34450317-0 -o go-template --template='{{range .spec.podCIDRs}}{{printf \"%s\\n\" .}}{{end}}' 10.244.1.0/24 2001:db8::/64 There should be one IPv4 block and one IPv6 block allocated.Validate that the node has an IPv4 and IPv6 interface detected. Replace node name with a valid node from the cluster. In this example the node name is k8s-linuxpool1-34450317-0:kubectl get nodes k8s-linuxpool1-34450317-0 -o go-template --template='{{range .status.addresses}}{{printf \"%s: %s\\n\" .type .address}}{{end}}' Hostname: k8s-linuxpool1-34450317-0 InternalIP: 10.0.0.5 InternalIP: 2001:db8:10::5 Validate Pod addressingValidate that a Pod has an IPv4 and IPv6 address assigned. Replace the Pod name with a valid Pod in your cluster. In this example the Pod name is pod01:kubectl get pods pod01 -o go-template --template='{{range .status.podIPs}}{{printf \"%s\\n\" .ip}}{{end}}' 10.244.1.4 2001:db8::4 You can also validate Pod IPs using the Downward API via the status.podIPs fieldPath. The following snippet demonstrates how you can expose the Pod IPs via an environment variable called MY_POD_IPS within a container. env: - name: MY_POD_IPS valueFrom: fieldRef: fieldPath: status.podIPs The following command prints the value of the MY_POD_IPS environment variable from within a container. The value is a comma separated list that corresponds to the Pod's IPv4 and IPv6 addresses.kubectl exec -it pod01 -- set | grep MY_POD_IPS MY_POD_IPS=10.244.1.4,2001:db8::4 The Pod's IP addresses will also be written to /etc/hosts within a container. The following command executes a cat on /etc/hosts on a dual stack Pod. From the output you can verify both the IPv4 and IPv6 IP address for the Pod.kubectl exec -it pod01 -- cat /etc/hosts # Kubernetes-managed hosts file. 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet fe00::0 ip6-mcastprefix fe00::1 ip6-allnodes fe00::2 ip6-allrouters 10.244.1.4 pod01 2001:db8::4 pod01 Validate ServicesCreate the following Service that does not explicitly define .spec.ipF",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/network/validate-dual-stack/",
    "id": "k8s_00656_qa_14364"
  },
  {
    "question": "What are the benefits of Validate IPv4/IPv6 dual-stack?",
    "answer": "Validate IPv4/IPv6 dual-stackThis document shares how to validate IPv4/IPv6 dual-stack enabled Kubernetes clusters.Before you beginProvider support for dual-stack networking (Cloud provider or otherwise must be able to provide Kubernetes nodes with routable IPv4/IPv6 network interfaces)A network plugin that supports dual-stack networking.Dual-stack enabled clusterYour Kubernetes server must be at or later than version v1.23.To check the version, enter kubectl version.Note:While you can validate with an earlier version, the feature is only GA and officially supported since v1.23.Validate addressingValidate node addressingEach dual-stack Node should have a single IPv4 block and a single IPv6 block allocated. Validate that IPv4/IPv6 Pod address ranges are configured by running the following command. Replace the sample node name with a valid dual-stack Node from your cluster. In this example, the Node's name is k8s-linuxpool1-34450317-0:kubectl get nodes k8s-linuxpool1-34450317-0 -o go-template --template='{{range .spec.podCIDRs}}{{printf \"%s\\n\" .}}{{end}}' 10.244.1.0/24 2001:db8::/64 There should be one IPv4 block and one IPv6 block allocated.Validate that the node has an IPv4 and IPv6 interface detected. Replace node name with a valid node from the cluster. In this example the node name is k8s-linuxpool1-34450317-0:kubectl get nodes k8s-linuxpool1-34450317-0 -o go-template --template='{{range .status.addresses}}{{printf \"%s: %s\\n\" .type .address}}{{end}}' Hostname: k8s-linuxpool1-34450317-0 InternalIP: 10.0.0.5 InternalIP: 2001:db8:10::5 Validate Pod addressingValidate that a Pod has an IPv4 and IPv6 address assigned. Replace the Pod name with a valid Pod in your cluster. In this example the Pod name is pod01:kubectl get pods pod01 -o go-template --template='{{range .status.podIPs}}{{printf \"%s\\n\" .ip}}{{end}}' 10.244.1.4 2001:db8::4 You can also validate Pod IPs using the Downward API via the status.podIPs fieldPath. The following snippet demonstrates how you can expose the Pod IPs via an environment variable called MY_POD_IPS within a container. env: - name: MY_POD_IPS valueFrom: fieldRef: fieldPath: status.podIPs The following command prints the value of the MY_POD_IPS environment variable from within a container. The value is a comma separated list that corresponds to the Pod's IPv4 and IPv6 addresses.kubectl exec -it pod01 -- set | grep MY_POD_IPS MY_POD_IPS=10.244.1.4,2001:db8::4 The Pod's IP addresses will also be written to /etc/hosts within a container. The following command executes a cat on /etc/hosts on a dual stack Pod. From the output you can verify both the IPv4 and IPv6 IP address for the Pod.kubectl exec -it pod01 -- cat /etc/hosts # Kubernetes-managed hosts file. 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet fe00::0 ip6-mcastprefix fe00::1 ip6-allnodes fe00::2 ip6-allrouters 10.244.1.4 pod01 2001:db8::4 pod01 Validate ServicesCreate the following Service that does not explicitly define .spec.ipF",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/network/validate-dual-stack/",
    "id": "k8s_00656_qa_14365"
  },
  {
    "question": "What is Validate IPv4/IPv6 dual-stack?",
    "answer": "T h i s   d o c u m e n t   s h a r e s   h o w   t o   v a l i d a t e   I P v 4 / I P v 6   d u a l - s t a c k   e n a b l e d   K u b e r n e t e s   c l u s t e r s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/network/validate-dual-stack/",
    "id": "k8s_00656_section_1_14366"
  },
  {
    "question": "What is Before you begin?",
    "answer": "P r o v i d e r   s u p p o r t   f o r   d u a l - s t a c k   n e t w o r k i n g   ( C l o u d   p r o v i d e r   o r   o t h e r w i s e   m u s t   b e   a b l e   t o   p r o v i d e   K u b e r n e t e s   n o d e s   w i t h   r o u t a b l e   I P v 4 / I P v 6   n e t w o r k   i n t e r f a c e s ) A   n e t w o r k   p l u g i n   t h a t   s u p p o r t s   d u a l - s t a c k   n e t w o r k i n g . D u a l - s t a c k   e n a b l e d   c l u s t e r   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/network/validate-dual-stack/",
    "id": "k8s_00656_section_2_14367"
  },
  {
    "question": "What is Validate node addressing?",
    "answer": "E a c h   d u a l - s t a c k   N o d e   s h o u l d   h a v e   a   s i n g l e   I P v 4   b l o c k   a n d   a   s i n g l e   I P v 6   b l o c k   a l l o c a t e d .   V a l i d a t e   t h a t   I P v 4 / I P v 6   P o d   a d d r e s s   r a n g e s   a r e   c o n f i g u r e d   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d .   R e p l a c e   t h e   s a m p l e   n o d e   n a m e   w i t h   a   v a l i d   d u a l - s t a c k   N o d e   f r o m   y o u r   c l u s t e r .   I n   t h i s   e x a m p l e ,   t h e   N o d e ' s   n a m e   i s   k 8 s - l i n u x p o o l 1 - 3 4 4 5 0 3 1 7 - 0 :   k u b e c t l   g e t   n o d e s   k 8 s - l i n u x p o o l 1 - 3 4 4 5 0 3 1 7 - 0   - o   g o - t e m p l a t e   - - t e m p l a t e = ' { { r a n g e   . s p e c . p o d C I D R s } } { { p r i n t f   \" % s \\ n \"   . } } { { e n d } } '   1 0 . 2 4 4 . 1 . 0 / 2 4   2 0 0 1 : d b 8 : : / 6 4   T h e r e   s h o u l d   b e   o n e   I P v 4   b l o c k   a n d   o n e   I P v 6   b l o c k   a l l o c a t e d .   V a l i d a t e   t h a t   t h e   n o d e   h a s   a n   I P v 4   a n d   I P v 6   i n t e r f a c e   d e t e c t e d .   R e p l a c e   n o d e   n a m e   w i t h   a   v a l i d   n o d e   f r o m   t h e   c l u s t e r .   I n   t h i s   e x a m p l e   t h e   n o d e   n a m e   i s   k 8 s - l i n u x p o o l 1 - 3 4 4 5 0 3 1 7 - 0 :   k u b e c t l   g e t   n o d e s   k 8 s - l i n u x p o o l 1 - 3 4 4 5 0 3 1 7 - 0   - o   g o - t e m p l a t e   - - t e m p l a t e = ' { { r a n g e   . s t a t u s . a d d r e s s e s } } { { p r i n t f   \" % s :   % s \\ n \"   . t y p e   . a d d r e s s } } { { e n d } } '   H o s t n a m e :   k 8 s - l i n u x p o o l 1 - 3 4 4 5 0 3 1 7 - 0   I n t e r n a l I P :   1 0 . 0 . 0 . 5   I n t e r n a l I P :   2 0 0 1 : d b 8 : 1 0 : : 5",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/network/validate-dual-stack/",
    "id": "k8s_00656_section_3_14368"
  },
  {
    "question": "What is Validate Pod addressing?",
    "answer": "V a l i d a t e   t h a t   a   P o d   h a s   a n   I P v 4   a n d   I P v 6   a d d r e s s   a s s i g n e d .   R e p l a c e   t h e   P o d   n a m e   w i t h   a   v a l i d   P o d   i n   y o u r   c l u s t e r .   I n   t h i s   e x a m p l e   t h e   P o d   n a m e   i s   p o d 0 1 :   k u b e c t l   g e t   p o d s   p o d 0 1   - o   g o - t e m p l a t e   - - t e m p l a t e = ' { { r a n g e   . s t a t u s . p o d I P s } } { { p r i n t f   \" % s \\ n \"   . i p } } { { e n d } } '   1 0 . 2 4 4 . 1 . 4   2 0 0 1 : d b 8 : : 4   Y o u   c a n   a l s o   v a l i d a t e   P o d   I P s   u s i n g   t h e   D o w n w a r d   A P I   v i a   t h e   s t a t u s . p o d I P s   f i e l d P a t h .   T h e   f o l l o w i n g   s n i p p e t   d e m o n s t r a t e s   h o w   y o u   c a n   e x p o s e   t h e   P o d   I P s   v i a   a n   e n v i r o n m e n t   v a r i a b l e   c a l l e d   M Y _ P O D _ I P S   w i t h i n   a   c o n t a i n e r .   e n v :   -   n a m e :   M Y _ P O D _ I P S   v a l u e F r o m :   f i e l d R e f :   f i e l d P a t h :   s t a t u s . p o d I P s   T h e   f o l l o w i n g   c o m m a n d   p r i n t s   t h e   v a l u e   o f   t h e   M Y _ P O D _ I P S   e n v i r o n m e n t   v a r i a b l e   f r o m   w i t h i n   a   c o n t a i n e r .   T h e   v a l u e   i s   a   c o m m a   s e p a r a t e d   l i s t   t h a t   c o r r e s p o n d s   t o   t h e   P o d ' s   I P v 4   a n d   I P v 6   a d d r e s s e s .   k u b e c t l   e x e c   - i t   p o d 0 1   - -   s e t   |   g r e p   M Y _ P O D _ I P S   M Y _ P O D _ I P S = 1 0 . 2 4 4 . 1 . 4 , 2 0 0 1 : d b 8 : : 4   T h e   P o d ' s   I P   a d d r e s s e s   w i l l   a l s o   b e   w r i t t e n   t o   / e t c / h o s t s   w i t h i n   a   c o n t a i n e r .   T h e   f o l l o w i n g   c o m m a n d   e x e c u t e s   a   c a t   o n   / e t c / h o s t s   o n   a   d u a l   s t a c k   P o d .   F r o m   t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/network/validate-dual-stack/",
    "id": "k8s_00656_section_3_14369"
  },
  {
    "question": "What is Validate Services?",
    "answer": "C r e a t e   t h e   f o l l o w i n g   S e r v i c e   t h a t   d o e s   n o t   e x p l i c i t l y   d e f i n e   . s p e c . i p F a m i l y P o l i c y .   K u b e r n e t e s   w i l l   a s s i g n   a   c l u s t e r   I P   f o r   t h e   S e r v i c e   f r o m   t h e   f i r s t   c o n f i g u r e d   s e r v i c e - c l u s t e r - i p - r a n g e   a n d   s e t   t h e   . s p e c . i p F a m i l y P o l i c y   t o   S i n g l e S t a c k .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   s p e c :   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   8 0   U s e   k u b e c t l   t o   v i e w   t h e   Y A M L   f o r   t h e   S e r v i c e .   k u b e c t l   g e t   s v c   m y - s e r v i c e   - o   y a m l   T h e   S e r v i c e   h a s   . s p e c . i p F a m i l y P o l i c y   s e t   t o   S i n g l e S t a c k   a n d   . s p e c . c l u s t e r I P   s e t   t o   a n   I P v 4   a d d r e s s   f r o m   t h e   f i r s t   c o n f i g u r e d   r a n g e   s e t   v i a   - - s e r v i c e - c l u s t e r - i p - r a n g e   f l a g   o n   k u b e - c o n t r o l l e r - m a n a g e r .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   n a m e s p a c e :   d e f a u l t   s p e c :   c l u s t e r I P :   1 0 . 0 . 2 1 7 . 1 6 4   c l u s t e r I P s :   -   1 0 . 0 . 2 1 7 . 1 6 4   i p F a m i l i e s :   -   I P v 4   i p F a m i l y P o l i c y :   S i n g l e S t a c k   p o r t s :   -   p o r t :   8 0   p r o t o c o l :   T C P   t a r g e t P o r t :   9 3 7 6   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   s e s s i o n A f f i n i t y :   N o n e   t y p e :   C l u s t e r I P   s t a t u s : ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/network/validate-dual-stack/",
    "id": "k8s_00656_section_2_14370"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   k u b e c t l   g e t   s v c   c o m m a n d   w i l l   o n l y   s h o w   t h e   p r i m a r y   I P   i n   t h e   C L U S T E R - I P   f i e l d .   k u b e c t l   g e t   s v c   - l   a p p . k u b e r n e t e s . i o / n a m e = M y A p p   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   m y - s e r v i c e   C l u s t e r I P   1 0 . 0 . 2 1 6 . 2 4 2   < n o n e >   8 0 / T C P   5 s   V a l i d a t e   t h a t   t h e   S e r v i c e   g e t s   c l u s t e r   I P s   f r o m   t h e   I P v 4   a n d   I P v 6   a d d r e s s   b l o c k s   u s i n g   k u b e c t l   d e s c r i b e .   Y o u   m a y   t h e n   v a l i d a t e   a c c e s s   t o   t h e   s e r v i c e   v i a   t h e   I P s   a n d   p o r t s .   k u b e c t l   d e s c r i b e   s v c   - l   a p p . k u b e r n e t e s . i o / n a m e = M y A p p   N a m e :   m y - s e r v i c e   N a m e s p a c e :   d e f a u l t   L a b e l s :   a p p . k u b e r n e t e s . i o / n a m e = M y A p p   A n n o t a t i o n s :   < n o n e >   S e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e = M y A p p   T y p e :   C l u s t e r I P   I P   F a m i l y   P o l i c y :   P r e f e r D u a l S t a c k   I P   F a m i l i e s :   I P v 4 , I P v 6   I P :   1 0 . 0 . 2 1 6 . 2 4 2   I P s :   1 0 . 0 . 2 1 6 . 2 4 2 , 2 0 0 1 : d b 8 : f d 0 0 : : a f 5 5   P o r t :   < u n s e t >   8 0 / T C P   T a r g e t P o r t :   9 3 7 6 / T C P   E n d p o i n t s :   < n o n e >   S e s s i o n   A f f i n i t y :   N o n e   E v e n t s :   < n o n e >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/network/validate-dual-stack/",
    "id": "k8s_00656_section_4_14371"
  },
  {
    "question": "What is Create a dual-stack load balanced Service?",
    "answer": "I f   t h e   c l o u d   p r o v i d e r   s u p p o r t s   t h e   p r o v i s i o n i n g   o f   I P v 6   e n a b l e d   e x t e r n a l   l o a d   b a l a n c e r s ,   c r e a t e   t h e   f o l l o w i n g   S e r v i c e   w i t h   P r e f e r D u a l S t a c k   i n   . s p e c . i p F a m i l y P o l i c y ,   I P v 6   a s   t h e   f i r s t   e l e m e n t   o f   t h e   . s p e c . i p F a m i l i e s   a r r a y   a n d   t h e   t y p e   f i e l d   s e t   t o   L o a d B a l a n c e r .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   s p e c :   i p F a m i l y P o l i c y :   P r e f e r D u a l S t a c k   i p F a m i l i e s :   -   I P v 6   t y p e :   L o a d B a l a n c e r   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   8 0   C h e c k   t h e   S e r v i c e :   k u b e c t l   g e t   s v c   - l   a p p . k u b e r n e t e s . i o / n a m e = M y A p p   V a l i d a t e   t h a t   t h e   S e r v i c e   r e c e i v e s   a   C L U S T E R - I P   a d d r e s s   f r o m   t h e   I P v 6   a d d r e s s   b l o c k   a l o n g   w i t h   a n   E X T E R N A L - I P .   Y o u   m a y   t h e n   v a l i d a t e   a c c e s s   t o   t h e   s e r v i c e   v i a   t h e   I P   a n d   p o r t .   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   m y - s e r v i c e   L o a d B a l a n c e r   2 0 0 1 : d b 8 : f d 0 0 : : 7 e b c   2 6 0 3 : 1 0 3 0 : 8 0 5 : : 5   8 0 : 3 0 7 9 0 / T C P   3 5 s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/network/validate-dual-stack/",
    "id": "k8s_00656_section_3_14372"
  },
  {
    "question": "What is Flow control?",
    "answer": "Flow controlAPI Priority and Fairness controls the behavior of the Kubernetes API server in an overload situation. You can find more information about it in the API Priority and Fairness documentation.DiagnosticsEvery HTTP response from an API server with the priority and fairness feature enabled has two extra headers: X-Kubernetes-PF-FlowSchema-UID and X-Kubernetes-PF-PriorityLevel-UID, noting the flow schema that matched the request and the priority level to which it was assigned, respectively. The API objects' names are not included in these headers (to avoid revealing details in case the requesting user does not have permission to view them). When debugging, you can use a command such as:kubectl get flowschemas -o custom-columns=\"uid:{metadata.uid},name:{metadata.name}\" kubectl get prioritylevelconfigurations -o custom-columns=\"uid:{metadata.uid},name:{metadata.name}\" to get a mapping of UIDs to names for both FlowSchemas and PriorityLevelConfigurations.Debug endpointsWith the APIPriorityAndFairness feature enabled, the kube-apiserver serves the following additional paths at its HTTP(S) ports.You need to ensure you have permissions to access these endpoints. You don't have to do anything if you are using admin. Permissions can be granted if needed following the RBAC doc to access /debug/api_priority_and_fairness/ by specifying nonResourceURLs./debug/api_priority_and_fairness/dump_priority_levels - a listing of all the priority levels and the current state of each. You can fetch like this:kubectl get --raw /debug/api_priority_and_fairness/dump_priority_levels The output will be in CSV and similar to this:PriorityLevelName, ActiveQueues, IsIdle, IsQuiescing, WaitingRequests, ExecutingRequests, DispatchedRequests, RejectedRequests, TimedoutRequests, CancelledRequests catch-all, 0, true, false, 0, 0, 1, 0, 0, 0 exempt, 0, true, false, 0, 0, 0, 0, 0, 0 global-default, 0, true, false, 0, 0, 46, 0, 0, 0 leader-election, 0, true, false, 0, 0, 4, 0, 0, 0 node-high, 0, true, false, 0, 0, 34, 0, 0, 0 system, 0, true, false, 0, 0, 48, 0, 0, 0 workload-high, 0, true, false, 0, 0, 500, 0, 0, 0 workload-low, 0, true, false, 0, 0, 0, 0, 0, 0 Explanation for selected column names:IsQuiescing indicates if this priority level will be removed when its queues have been drained./debug/api_priority_and_fairness/dump_queues - a listing of all the queues and their current state. You can fetch like this:kubectl get --raw /debug/api_priority_and_fairness/dump_queues The output will be in CSV and similar to this:PriorityLevelName, Index, PendingRequests, ExecutingRequests, SeatsInUse, NextDispatchR, InitialSeatsSum, MaxSeatsSum, TotalWorkSum workload-low, 14, 27, 0, 0, 77.64342019ss, 270, 270, 0.81000000ss workload-low, 74, 26, 0, 0, 76.95387841ss, 260, 260, 0.78000000ss ... leader-election, 0, 0, 0, 0, 5088.87053833ss, 0, 0, 0.00000000ss leader-election, 1, 0, 0, 0, 0.00000000ss, 0, 0, 0.00000000ss ... workload-high, 0, 0, 0, 0, 0.00000000ss, 0, 0, 0.00000000ss workloa",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/debug-cluster/flow-control/",
    "id": "k8s_00657_qa_14373"
  },
  {
    "question": "How does Flow control work?",
    "answer": "Flow controlAPI Priority and Fairness controls the behavior of the Kubernetes API server in an overload situation. You can find more information about it in the API Priority and Fairness documentation.DiagnosticsEvery HTTP response from an API server with the priority and fairness feature enabled has two extra headers: X-Kubernetes-PF-FlowSchema-UID and X-Kubernetes-PF-PriorityLevel-UID, noting the flow schema that matched the request and the priority level to which it was assigned, respectively. The API objects' names are not included in these headers (to avoid revealing details in case the requesting user does not have permission to view them). When debugging, you can use a command such as:kubectl get flowschemas -o custom-columns=\"uid:{metadata.uid},name:{metadata.name}\" kubectl get prioritylevelconfigurations -o custom-columns=\"uid:{metadata.uid},name:{metadata.name}\" to get a mapping of UIDs to names for both FlowSchemas and PriorityLevelConfigurations.Debug endpointsWith the APIPriorityAndFairness feature enabled, the kube-apiserver serves the following additional paths at its HTTP(S) ports.You need to ensure you have permissions to access these endpoints. You don't have to do anything if you are using admin. Permissions can be granted if needed following the RBAC doc to access /debug/api_priority_and_fairness/ by specifying nonResourceURLs./debug/api_priority_and_fairness/dump_priority_levels - a listing of all the priority levels and the current state of each. You can fetch like this:kubectl get --raw /debug/api_priority_and_fairness/dump_priority_levels The output will be in CSV and similar to this:PriorityLevelName, ActiveQueues, IsIdle, IsQuiescing, WaitingRequests, ExecutingRequests, DispatchedRequests, RejectedRequests, TimedoutRequests, CancelledRequests catch-all, 0, true, false, 0, 0, 1, 0, 0, 0 exempt, 0, true, false, 0, 0, 0, 0, 0, 0 global-default, 0, true, false, 0, 0, 46, 0, 0, 0 leader-election, 0, true, false, 0, 0, 4, 0, 0, 0 node-high, 0, true, false, 0, 0, 34, 0, 0, 0 system, 0, true, false, 0, 0, 48, 0, 0, 0 workload-high, 0, true, false, 0, 0, 500, 0, 0, 0 workload-low, 0, true, false, 0, 0, 0, 0, 0, 0 Explanation for selected column names:IsQuiescing indicates if this priority level will be removed when its queues have been drained./debug/api_priority_and_fairness/dump_queues - a listing of all the queues and their current state. You can fetch like this:kubectl get --raw /debug/api_priority_and_fairness/dump_queues The output will be in CSV and similar to this:PriorityLevelName, Index, PendingRequests, ExecutingRequests, SeatsInUse, NextDispatchR, InitialSeatsSum, MaxSeatsSum, TotalWorkSum workload-low, 14, 27, 0, 0, 77.64342019ss, 270, 270, 0.81000000ss workload-low, 74, 26, 0, 0, 76.95387841ss, 260, 260, 0.78000000ss ... leader-election, 0, 0, 0, 0, 5088.87053833ss, 0, 0, 0.00000000ss leader-election, 1, 0, 0, 0, 0.00000000ss, 0, 0, 0.00000000ss ... workload-high, 0, 0, 0, 0, 0.00000000ss, 0, 0, 0.00000000ss workloa",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/debug-cluster/flow-control/",
    "id": "k8s_00657_qa_14374"
  },
  {
    "question": "When would you use Flow control?",
    "answer": "Flow controlAPI Priority and Fairness controls the behavior of the Kubernetes API server in an overload situation. You can find more information about it in the API Priority and Fairness documentation.DiagnosticsEvery HTTP response from an API server with the priority and fairness feature enabled has two extra headers: X-Kubernetes-PF-FlowSchema-UID and X-Kubernetes-PF-PriorityLevel-UID, noting the flow schema that matched the request and the priority level to which it was assigned, respectively. The API objects' names are not included in these headers (to avoid revealing details in case the requesting user does not have permission to view them). When debugging, you can use a command such as:kubectl get flowschemas -o custom-columns=\"uid:{metadata.uid},name:{metadata.name}\" kubectl get prioritylevelconfigurations -o custom-columns=\"uid:{metadata.uid},name:{metadata.name}\" to get a mapping of UIDs to names for both FlowSchemas and PriorityLevelConfigurations.Debug endpointsWith the APIPriorityAndFairness feature enabled, the kube-apiserver serves the following additional paths at its HTTP(S) ports.You need to ensure you have permissions to access these endpoints. You don't have to do anything if you are using admin. Permissions can be granted if needed following the RBAC doc to access /debug/api_priority_and_fairness/ by specifying nonResourceURLs./debug/api_priority_and_fairness/dump_priority_levels - a listing of all the priority levels and the current state of each. You can fetch like this:kubectl get --raw /debug/api_priority_and_fairness/dump_priority_levels The output will be in CSV and similar to this:PriorityLevelName, ActiveQueues, IsIdle, IsQuiescing, WaitingRequests, ExecutingRequests, DispatchedRequests, RejectedRequests, TimedoutRequests, CancelledRequests catch-all, 0, true, false, 0, 0, 1, 0, 0, 0 exempt, 0, true, false, 0, 0, 0, 0, 0, 0 global-default, 0, true, false, 0, 0, 46, 0, 0, 0 leader-election, 0, true, false, 0, 0, 4, 0, 0, 0 node-high, 0, true, false, 0, 0, 34, 0, 0, 0 system, 0, true, false, 0, 0, 48, 0, 0, 0 workload-high, 0, true, false, 0, 0, 500, 0, 0, 0 workload-low, 0, true, false, 0, 0, 0, 0, 0, 0 Explanation for selected column names:IsQuiescing indicates if this priority level will be removed when its queues have been drained./debug/api_priority_and_fairness/dump_queues - a listing of all the queues and their current state. You can fetch like this:kubectl get --raw /debug/api_priority_and_fairness/dump_queues The output will be in CSV and similar to this:PriorityLevelName, Index, PendingRequests, ExecutingRequests, SeatsInUse, NextDispatchR, InitialSeatsSum, MaxSeatsSum, TotalWorkSum workload-low, 14, 27, 0, 0, 77.64342019ss, 270, 270, 0.81000000ss workload-low, 74, 26, 0, 0, 76.95387841ss, 260, 260, 0.78000000ss ... leader-election, 0, 0, 0, 0, 5088.87053833ss, 0, 0, 0.00000000ss leader-election, 1, 0, 0, 0, 0.00000000ss, 0, 0, 0.00000000ss ... workload-high, 0, 0, 0, 0, 0.00000000ss, 0, 0, 0.00000000ss workloa",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/debug-cluster/flow-control/",
    "id": "k8s_00657_qa_14375"
  },
  {
    "question": "What are the benefits of Flow control?",
    "answer": "Flow controlAPI Priority and Fairness controls the behavior of the Kubernetes API server in an overload situation. You can find more information about it in the API Priority and Fairness documentation.DiagnosticsEvery HTTP response from an API server with the priority and fairness feature enabled has two extra headers: X-Kubernetes-PF-FlowSchema-UID and X-Kubernetes-PF-PriorityLevel-UID, noting the flow schema that matched the request and the priority level to which it was assigned, respectively. The API objects' names are not included in these headers (to avoid revealing details in case the requesting user does not have permission to view them). When debugging, you can use a command such as:kubectl get flowschemas -o custom-columns=\"uid:{metadata.uid},name:{metadata.name}\" kubectl get prioritylevelconfigurations -o custom-columns=\"uid:{metadata.uid},name:{metadata.name}\" to get a mapping of UIDs to names for both FlowSchemas and PriorityLevelConfigurations.Debug endpointsWith the APIPriorityAndFairness feature enabled, the kube-apiserver serves the following additional paths at its HTTP(S) ports.You need to ensure you have permissions to access these endpoints. You don't have to do anything if you are using admin. Permissions can be granted if needed following the RBAC doc to access /debug/api_priority_and_fairness/ by specifying nonResourceURLs./debug/api_priority_and_fairness/dump_priority_levels - a listing of all the priority levels and the current state of each. You can fetch like this:kubectl get --raw /debug/api_priority_and_fairness/dump_priority_levels The output will be in CSV and similar to this:PriorityLevelName, ActiveQueues, IsIdle, IsQuiescing, WaitingRequests, ExecutingRequests, DispatchedRequests, RejectedRequests, TimedoutRequests, CancelledRequests catch-all, 0, true, false, 0, 0, 1, 0, 0, 0 exempt, 0, true, false, 0, 0, 0, 0, 0, 0 global-default, 0, true, false, 0, 0, 46, 0, 0, 0 leader-election, 0, true, false, 0, 0, 4, 0, 0, 0 node-high, 0, true, false, 0, 0, 34, 0, 0, 0 system, 0, true, false, 0, 0, 48, 0, 0, 0 workload-high, 0, true, false, 0, 0, 500, 0, 0, 0 workload-low, 0, true, false, 0, 0, 0, 0, 0, 0 Explanation for selected column names:IsQuiescing indicates if this priority level will be removed when its queues have been drained./debug/api_priority_and_fairness/dump_queues - a listing of all the queues and their current state. You can fetch like this:kubectl get --raw /debug/api_priority_and_fairness/dump_queues The output will be in CSV and similar to this:PriorityLevelName, Index, PendingRequests, ExecutingRequests, SeatsInUse, NextDispatchR, InitialSeatsSum, MaxSeatsSum, TotalWorkSum workload-low, 14, 27, 0, 0, 77.64342019ss, 270, 270, 0.81000000ss workload-low, 74, 26, 0, 0, 76.95387841ss, 260, 260, 0.78000000ss ... leader-election, 0, 0, 0, 0, 5088.87053833ss, 0, 0, 0.00000000ss leader-election, 1, 0, 0, 0, 0.00000000ss, 0, 0, 0.00000000ss ... workload-high, 0, 0, 0, 0, 0.00000000ss, 0, 0, 0.00000000ss workloa",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/debug-cluster/flow-control/",
    "id": "k8s_00657_qa_14376"
  },
  {
    "question": "What is Flow control?",
    "answer": "A P I   P r i o r i t y   a n d   F a i r n e s s   c o n t r o l s   t h e   b e h a v i o r   o f   t h e   K u b e r n e t e s   A P I   s e r v e r   i n   a n   o v e r l o a d   s i t u a t i o n .   Y o u   c a n   f i n d   m o r e   i n f o r m a t i o n   a b o u t   i t   i n   t h e   A P I   P r i o r i t y   a n d   F a i r n e s s   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/debug-cluster/flow-control/",
    "id": "k8s_00657_section_1_14377"
  },
  {
    "question": "What is Diagnostics?",
    "answer": "E v e r y   H T T P   r e s p o n s e   f r o m   a n   A P I   s e r v e r   w i t h   t h e   p r i o r i t y   a n d   f a i r n e s s   f e a t u r e   e n a b l e d   h a s   t w o   e x t r a   h e a d e r s :   X - K u b e r n e t e s - P F - F l o w S c h e m a - U I D   a n d   X - K u b e r n e t e s - P F - P r i o r i t y L e v e l - U I D ,   n o t i n g   t h e   f l o w   s c h e m a   t h a t   m a t c h e d   t h e   r e q u e s t   a n d   t h e   p r i o r i t y   l e v e l   t o   w h i c h   i t   w a s   a s s i g n e d ,   r e s p e c t i v e l y .   T h e   A P I   o b j e c t s '   n a m e s   a r e   n o t   i n c l u d e d   i n   t h e s e   h e a d e r s   ( t o   a v o i d   r e v e a l i n g   d e t a i l s   i n   c a s e   t h e   r e q u e s t i n g   u s e r   d o e s   n o t   h a v e   p e r m i s s i o n   t o   v i e w   t h e m ) .   W h e n   d e b u g g i n g ,   y o u   c a n   u s e   a   c o m m a n d   s u c h   a s :   k u b e c t l   g e t   f l o w s c h e m a s   - o   c u s t o m - c o l u m n s = \" u i d : { m e t a d a t a . u i d } , n a m e : { m e t a d a t a . n a m e } \"   k u b e c t l   g e t   p r i o r i t y l e v e l c o n f i g u r a t i o n s   - o   c u s t o m - c o l u m n s = \" u i d : { m e t a d a t a . u i d } , n a m e : { m e t a d a t a . n a m e } \"   t o   g e t   a   m a p p i n g   o f   U I D s   t o   n a m e s   f o r   b o t h   F l o w S c h e m a s   a n d   P r i o r i t y L e v e l C o n f i g u r a t i o n s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/debug-cluster/flow-control/",
    "id": "k8s_00657_section_2_14378"
  },
  {
    "question": "What is Debug endpoints?",
    "answer": "W i t h   t h e   A P I P r i o r i t y A n d F a i r n e s s   f e a t u r e   e n a b l e d ,   t h e   k u b e - a p i s e r v e r   s e r v e s   t h e   f o l l o w i n g   a d d i t i o n a l   p a t h s   a t   i t s   H T T P ( S )   p o r t s .   Y o u   n e e d   t o   e n s u r e   y o u   h a v e   p e r m i s s i o n s   t o   a c c e s s   t h e s e   e n d p o i n t s .   Y o u   d o n ' t   h a v e   t o   d o   a n y t h i n g   i f   y o u   a r e   u s i n g   a d m i n .   P e r m i s s i o n s   c a n   b e   g r a n t e d   i f   n e e d e d   f o l l o w i n g   t h e   R B A C   d o c   t o   a c c e s s   / d e b u g / a p i _ p r i o r i t y _ a n d _ f a i r n e s s /   b y   s p e c i f y i n g   n o n R e s o u r c e U R L s .   / d e b u g / a p i _ p r i o r i t y _ a n d _ f a i r n e s s / d u m p _ p r i o r i t y _ l e v e l s   -   a   l i s t i n g   o f   a l l   t h e   p r i o r i t y   l e v e l s   a n d   t h e   c u r r e n t   s t a t e   o f   e a c h .   Y o u   c a n   f e t c h   l i k e   t h i s : k u b e c t l   g e t   - - r a w   / d e b u g / a p i _ p r i o r i t y _ a n d _ f a i r n e s s / d u m p _ p r i o r i t y _ l e v e l s   T h e   o u t p u t   w i l l   b e   i n   C S V   a n d   s i m i l a r   t o   t h i s : P r i o r i t y L e v e l N a m e ,   A c t i v e Q u e u e s ,   I s I d l e ,   I s Q u i e s c i n g ,   W a i t i n g R e q u e s t s ,   E x e c u t i n g R e q u e s t s ,   D i s p a t c h e d R e q u e s t s ,   R e j e c t e d R e q u e s t s ,   T i m e d o u t R e q u e s t s ,   C a n c e l l e d R e q u e s t s   c a t c h - a l l ,   0 ,   t r u e ,   f a l s e ,   0 ,   0 ,   1 ,   0 ,   0 ,   0   e x e m p t ,   0 ,   t r u e ,   f a l s e ,   0 ,   0 ,   0 ,   0 ,   0 ,   0   g l o b a l - d e f a u l t ,   0 ,   t r u e ,   f a l s e ,   0 ,   0 ,   4 6 ,   0 ,   0 ,   0   l e a d e r - e l e c t i o n ,   0 ,   t r u e ,   f a l s e ,   0 ,   0 ,   4 ,   0 ,   0 ,   0   n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/debug-cluster/flow-control/",
    "id": "k8s_00657_section_2_14379"
  },
  {
    "question": "What is Debug logging?",
    "answer": "A t   - v = 3   o r   m o r e   v e r b o s i t y ,   t h e   A P I   s e r v e r   o u t p u t s   a n   h t t p l o g   l i n e   f o r   e v e r y   r e q u e s t   i n   t h e   A P I   s e r v e r   l o g ,   a n d   i t   i n c l u d e s   t h e   f o l l o w i n g   a t t r i b u t e s .   a p f _ f s :   t h e   n a m e   o f   t h e   f l o w   s c h e m a   t o   w h i c h   t h e   r e q u e s t   w a s   c l a s s i f i e d . a p f _ p l :   t h e   n a m e   o f   t h e   p r i o r i t y   l e v e l   f o r   t h a t   f l o w   s c h e m a . a p f _ i s e a t s :   t h e   n u m b e r   o f   s e a t s   d e t e r m i n e d   f o r   t h e   i n i t i a l   ( n o r m a l )   s t a g e   o f   e x e c u t i o n   o f   t h e   r e q u e s t . a p f _ f s e a t s :   t h e   n u m b e r   o f   s e a t s   d e t e r m i n e d   f o r   t h e   f i n a l   s t a g e   o f   e x e c u t i o n   ( a c c o u n t i n g   f o r   t h e   a s s o c i a t e d   w a t c h   n o t i f i c a t i o n s )   o f   t h e   r e q u e s t . a p f _ a d d i t i o n a l L a t e n c y :   t h e   d u r a t i o n   o f   t h e   f i n a l   s t a g e   o f   e x e c u t i o n   o f   t h e   r e q u e s t .   A t   h i g h e r   l e v e l s   o f   v e r b o s i t y   t h e r e   w i l l   b e   l o g   l i n e s   e x p o s i n g   d e t a i l s   o f   h o w   A P F   h a n d l e d   t h e   r e q u e s t ,   p r i m a r i l y   f o r   d e b u g g i n g   p u r p o s e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/debug-cluster/flow-control/",
    "id": "k8s_00657_section_2_14380"
  },
  {
    "question": "What is Response headers?",
    "answer": "A P F   a d d s   t h e   f o l l o w i n g   t w o   h e a d e r s   t o   e a c h   H T T P   r e s p o n s e   m e s s a g e .   T h e y   w o n ' t   a p p e a r   i n   t h e   a u d i t   l o g .   T h e y   c a n   b e   v i e w e d   f r o m   t h e   c l i e n t   s i d e .   F o r   c l i e n t   u s i n g   k l o g ,   u s e   v e r b o s i t y   - v = 8   o r   h i g h e r   t o   v i e w   t h e s e   h e a d e r s .   X - K u b e r n e t e s - P F - F l o w S c h e m a - U I D   h o l d s   t h e   U I D   o f   t h e   F l o w S c h e m a   o b j e c t   t o   w h i c h   t h e   c o r r e s p o n d i n g   r e q u e s t   w a s   c l a s s i f i e d . X - K u b e r n e t e s - P F - P r i o r i t y L e v e l - U I D   h o l d s   t h e   U I D   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   o b j e c t   a s s o c i a t e d   w i t h   t h a t   F l o w S c h e m a .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/debug-cluster/flow-control/",
    "id": "k8s_00657_section_2_14381"
  },
  {
    "question": "What is What's next?",
    "answer": "F o r   b a c k g r o u n d   i n f o r m a t i o n   o n   d e s i g n   d e t a i l s   f o r   A P I   p r i o r i t y   a n d   f a i r n e s s ,   s e e   t h e   e n h a n c e m e n t   p r o p o s a l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/debug-cluster/flow-control/",
    "id": "k8s_00657_section_2_14382"
  },
  {
    "question": "What is Workloads?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.WorkloadsUnderstand Pods, the smallest deployable compute object in Kubernetes, and the higher-level abstractions that help you to run them.1: Pods1.1: Pod Lifecycle1.2: Init Containers1.3: Sidecar Containers1.4: Ephemeral Containers1.5: Disruptions1.6: Pod Hostname1.7: Pod Quality of Service Classes1.8: User Namespaces1.9: Downward API2: Workload Management2.1: Deployments2.2: ReplicaSet2.3: StatefulSets2.4: DaemonSet2.5: Jobs2.6: Automatic Cleanup for Finished Jobs2.7: CronJob2.8: ReplicationController3: Autoscaling Workloads4: Managing WorkloadsA workload is an application running on Kubernetes. Whether your workload is a single component or several that work together, on Kubernetes you run it inside a set of pods. In Kubernetes, a Pod represents a set of running containers on your cluster.Kubernetes pods have a defined lifecycle. For example, once a pod is running in your cluster then a critical fault on the node where that pod is running means that all the pods on that node fail. Kubernetes treats that level of failure as final: you would need to create a new Pod to recover, even if the node later becomes healthy.However, to make life considerably easier, you don't need to manage each Pod directly. Instead, you can use workload resources that manage a set of pods on your behalf. These resources configure controllers that make sure the right number of the right kind of pod are running, to match the state you specified.Kubernetes provides several built-in workload resources:Deployment and ReplicaSet (replacing the legacy resource ReplicationController). Deployment is a good fit for managing a stateless application workload on your cluster, where any Pod in the Deployment is interchangeable and can be replaced if needed.StatefulSet lets you run one or more related Pods that do track state somehow. For example, if your workload records data persistently, you can run a StatefulSet that matches each Pod with a PersistentVolume. Your code, running in the Pods for that StatefulSet, can replicate data to other Pods in the same StatefulSet to improve overall resilience.DaemonSet defines Pods that provide facilities that are local to nodes. Every time you add a node to your cluster that matches the specification in a DaemonSet, the control plane schedules a Pod for that DaemonSet onto the new node. Each pod in a DaemonSet performs a job similar to a system daemon on a classic Unix / POSIX server. A DaemonSet might be fundamental to the operation of your cluster, such as a plugin to run cluster networking, it might help you to manage the node, or it could provide optional behavior that enhances the container platform you are running.Job and CronJob provide different ways to define tasks that run to completion and then stop. You can use a Job to define a task that runs to completion, just once. You can use a CronJob to run the same Job multi",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_qa_14383"
  },
  {
    "question": "How does Workloads work?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.WorkloadsUnderstand Pods, the smallest deployable compute object in Kubernetes, and the higher-level abstractions that help you to run them.1: Pods1.1: Pod Lifecycle1.2: Init Containers1.3: Sidecar Containers1.4: Ephemeral Containers1.5: Disruptions1.6: Pod Hostname1.7: Pod Quality of Service Classes1.8: User Namespaces1.9: Downward API2: Workload Management2.1: Deployments2.2: ReplicaSet2.3: StatefulSets2.4: DaemonSet2.5: Jobs2.6: Automatic Cleanup for Finished Jobs2.7: CronJob2.8: ReplicationController3: Autoscaling Workloads4: Managing WorkloadsA workload is an application running on Kubernetes. Whether your workload is a single component or several that work together, on Kubernetes you run it inside a set of pods. In Kubernetes, a Pod represents a set of running containers on your cluster.Kubernetes pods have a defined lifecycle. For example, once a pod is running in your cluster then a critical fault on the node where that pod is running means that all the pods on that node fail. Kubernetes treats that level of failure as final: you would need to create a new Pod to recover, even if the node later becomes healthy.However, to make life considerably easier, you don't need to manage each Pod directly. Instead, you can use workload resources that manage a set of pods on your behalf. These resources configure controllers that make sure the right number of the right kind of pod are running, to match the state you specified.Kubernetes provides several built-in workload resources:Deployment and ReplicaSet (replacing the legacy resource ReplicationController). Deployment is a good fit for managing a stateless application workload on your cluster, where any Pod in the Deployment is interchangeable and can be replaced if needed.StatefulSet lets you run one or more related Pods that do track state somehow. For example, if your workload records data persistently, you can run a StatefulSet that matches each Pod with a PersistentVolume. Your code, running in the Pods for that StatefulSet, can replicate data to other Pods in the same StatefulSet to improve overall resilience.DaemonSet defines Pods that provide facilities that are local to nodes. Every time you add a node to your cluster that matches the specification in a DaemonSet, the control plane schedules a Pod for that DaemonSet onto the new node. Each pod in a DaemonSet performs a job similar to a system daemon on a classic Unix / POSIX server. A DaemonSet might be fundamental to the operation of your cluster, such as a plugin to run cluster networking, it might help you to manage the node, or it could provide optional behavior that enhances the container platform you are running.Job and CronJob provide different ways to define tasks that run to completion and then stop. You can use a Job to define a task that runs to completion, just once. You can use a CronJob to run the same Job multi",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_qa_14384"
  },
  {
    "question": "When would you use Workloads?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.WorkloadsUnderstand Pods, the smallest deployable compute object in Kubernetes, and the higher-level abstractions that help you to run them.1: Pods1.1: Pod Lifecycle1.2: Init Containers1.3: Sidecar Containers1.4: Ephemeral Containers1.5: Disruptions1.6: Pod Hostname1.7: Pod Quality of Service Classes1.8: User Namespaces1.9: Downward API2: Workload Management2.1: Deployments2.2: ReplicaSet2.3: StatefulSets2.4: DaemonSet2.5: Jobs2.6: Automatic Cleanup for Finished Jobs2.7: CronJob2.8: ReplicationController3: Autoscaling Workloads4: Managing WorkloadsA workload is an application running on Kubernetes. Whether your workload is a single component or several that work together, on Kubernetes you run it inside a set of pods. In Kubernetes, a Pod represents a set of running containers on your cluster.Kubernetes pods have a defined lifecycle. For example, once a pod is running in your cluster then a critical fault on the node where that pod is running means that all the pods on that node fail. Kubernetes treats that level of failure as final: you would need to create a new Pod to recover, even if the node later becomes healthy.However, to make life considerably easier, you don't need to manage each Pod directly. Instead, you can use workload resources that manage a set of pods on your behalf. These resources configure controllers that make sure the right number of the right kind of pod are running, to match the state you specified.Kubernetes provides several built-in workload resources:Deployment and ReplicaSet (replacing the legacy resource ReplicationController). Deployment is a good fit for managing a stateless application workload on your cluster, where any Pod in the Deployment is interchangeable and can be replaced if needed.StatefulSet lets you run one or more related Pods that do track state somehow. For example, if your workload records data persistently, you can run a StatefulSet that matches each Pod with a PersistentVolume. Your code, running in the Pods for that StatefulSet, can replicate data to other Pods in the same StatefulSet to improve overall resilience.DaemonSet defines Pods that provide facilities that are local to nodes. Every time you add a node to your cluster that matches the specification in a DaemonSet, the control plane schedules a Pod for that DaemonSet onto the new node. Each pod in a DaemonSet performs a job similar to a system daemon on a classic Unix / POSIX server. A DaemonSet might be fundamental to the operation of your cluster, such as a plugin to run cluster networking, it might help you to manage the node, or it could provide optional behavior that enhances the container platform you are running.Job and CronJob provide different ways to define tasks that run to completion and then stop. You can use a Job to define a task that runs to completion, just once. You can use a CronJob to run the same Job multi",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_qa_14385"
  },
  {
    "question": "What are the benefits of Workloads?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.WorkloadsUnderstand Pods, the smallest deployable compute object in Kubernetes, and the higher-level abstractions that help you to run them.1: Pods1.1: Pod Lifecycle1.2: Init Containers1.3: Sidecar Containers1.4: Ephemeral Containers1.5: Disruptions1.6: Pod Hostname1.7: Pod Quality of Service Classes1.8: User Namespaces1.9: Downward API2: Workload Management2.1: Deployments2.2: ReplicaSet2.3: StatefulSets2.4: DaemonSet2.5: Jobs2.6: Automatic Cleanup for Finished Jobs2.7: CronJob2.8: ReplicationController3: Autoscaling Workloads4: Managing WorkloadsA workload is an application running on Kubernetes. Whether your workload is a single component or several that work together, on Kubernetes you run it inside a set of pods. In Kubernetes, a Pod represents a set of running containers on your cluster.Kubernetes pods have a defined lifecycle. For example, once a pod is running in your cluster then a critical fault on the node where that pod is running means that all the pods on that node fail. Kubernetes treats that level of failure as final: you would need to create a new Pod to recover, even if the node later becomes healthy.However, to make life considerably easier, you don't need to manage each Pod directly. Instead, you can use workload resources that manage a set of pods on your behalf. These resources configure controllers that make sure the right number of the right kind of pod are running, to match the state you specified.Kubernetes provides several built-in workload resources:Deployment and ReplicaSet (replacing the legacy resource ReplicationController). Deployment is a good fit for managing a stateless application workload on your cluster, where any Pod in the Deployment is interchangeable and can be replaced if needed.StatefulSet lets you run one or more related Pods that do track state somehow. For example, if your workload records data persistently, you can run a StatefulSet that matches each Pod with a PersistentVolume. Your code, running in the Pods for that StatefulSet, can replicate data to other Pods in the same StatefulSet to improve overall resilience.DaemonSet defines Pods that provide facilities that are local to nodes. Every time you add a node to your cluster that matches the specification in a DaemonSet, the control plane schedules a Pod for that DaemonSet onto the new node. Each pod in a DaemonSet performs a job similar to a system daemon on a classic Unix / POSIX server. A DaemonSet might be fundamental to the operation of your cluster, such as a plugin to run cluster networking, it might help you to manage the node, or it could provide optional behavior that enhances the container platform you are running.Job and CronJob provide different ways to define tasks that run to completion and then stop. You can use a Job to define a task that runs to completion, just once. You can use a CronJob to run the same Job multi",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_qa_14386"
  },
  {
    "question": "What is Workloads?",
    "answer": "1 :   P o d s 1 . 1 :   P o d   L i f e c y c l e 1 . 2 :   I n i t   C o n t a i n e r s 1 . 3 :   S i d e c a r   C o n t a i n e r s 1 . 4 :   E p h e m e r a l   C o n t a i n e r s 1 . 5 :   D i s r u p t i o n s 1 . 6 :   P o d   H o s t n a m e 1 . 7 :   P o d   Q u a l i t y   o f   S e r v i c e   C l a s s e s 1 . 8 :   U s e r   N a m e s p a c e s 1 . 9 :   D o w n w a r d   A P I 2 :   W o r k l o a d   M a n a g e m e n t 2 . 1 :   D e p l o y m e n t s 2 . 2 :   R e p l i c a S e t 2 . 3 :   S t a t e f u l S e t s 2 . 4 :   D a e m o n S e t 2 . 5 :   J o b s 2 . 6 :   A u t o m a t i c   C l e a n u p   f o r   F i n i s h e d   J o b s 2 . 7 :   C r o n J o b 2 . 8 :   R e p l i c a t i o n C o n t r o l l e r 3 :   A u t o s c a l i n g   W o r k l o a d s 4 :   M a n a g i n g   W o r k l o a d s   1 . 1 :   P o d   L i f e c y c l e 1 . 2 :   I n i t   C o n t a i n e r s 1 . 3 :   S i d e c a r   C o n t a i n e r s 1 . 4 :   E p h e m e r a l   C o n t a i n e r s 1 . 5 :   D i s r u p t i o n s 1 . 6 :   P o d   H o s t n a m e 1 . 7 :   P o d   Q u a l i t y   o f   S e r v i c e   C l a s s e s 1 . 8 :   U s e r   N a m e s p a c e s 1 . 9 :   D o w n w a r d   A P I   2 . 1 :   D e p l o y m e n t s 2 . 2 :   R e p l i c a S e t 2 . 3 :   S t a t e f u l S e t s 2 . 4 :   D a e m o n S e t 2 . 5 :   J o b s 2 . 6 :   A u t o m a t i c   C l e a n u p   f o r   F i n i s h e d   J o b s 2 . 7 :   C r o n J o b 2 . 8 :   R e p l i c a t i o n C o n t r o l l e r   A   w o r k l o a d   i s   a n   a p p l i c a t i o n   r u n n i n g   o n   K u b e r n e t e s .   W h e t h e r   y o u r   w o r k l o a d   i s   a   s i n g l e   c o m p o n e n t   o r   s e v e r a l   t h a t   w o r k   t o g e t h e r ,   o n   K u b e r n e t e s   y o u   r u n   i t   i n s i d e   a   s e t   o f   p o d s .   I n   K u b e r n e t e s ,   a   P o d   r e p r e s e n t s   a   s e t   o f   r u n n i n g   c o n t a i n e r s   o n   y o u r   c ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_1_14387"
  },
  {
    "question": "What is What's next?",
    "answer": "A s   w e l l   a s   r e a d i n g   a b o u t   e a c h   A P I   k i n d   f o r   w o r k l o a d   m a n a g e m e n t ,   y o u   c a n   r e a d   h o w   t o   d o   s p e c i f i c   t a s k s :   R u n   a   s t a t e l e s s   a p p l i c a t i o n   u s i n g   a   D e p l o y m e n t R u n   a   s t a t e f u l   a p p l i c a t i o n   e i t h e r   a s   a   s i n g l e   i n s t a n c e   o r   a s   a   r e p l i c a t e d   s e t R u n   a u t o m a t e d   t a s k s   w i t h   a   C r o n J o b   T o   l e a r n   a b o u t   K u b e r n e t e s '   m e c h a n i s m s   f o r   s e p a r a t i n g   c o d e   f r o m   c o n f i g u r a t i o n ,   v i s i t   C o n f i g u r a t i o n .   T h e r e   a r e   t w o   s u p p o r t i n g   c o n c e p t s   t h a t   p r o v i d e   b a c k g r o u n d s   a b o u t   h o w   K u b e r n e t e s   m a n a g e s   p o d s   f o r   a p p l i c a t i o n s :   G a r b a g e   c o l l e c t i o n   t i d i e s   u p   o b j e c t s   f r o m   y o u r   c l u s t e r   a f t e r   t h e i r   o w n i n g   r e s o u r c e   h a s   b e e n   r e m o v e d . T h e   t i m e - t o - l i v e   a f t e r   f i n i s h e d   c o n t r o l l e r   r e m o v e s   J o b s   o n c e   a   d e f i n e d   t i m e   h a s   p a s s e d   s i n c e   t h e y   c o m p l e t e d .   O n c e   y o u r   a p p l i c a t i o n   i s   r u n n i n g ,   y o u   m i g h t   w a n t   t o   m a k e   i t   a v a i l a b l e   o n   t h e   i n t e r n e t   a s   a   S e r v i c e   o r ,   f o r   w e b   a p p l i c a t i o n   o n l y ,   u s i n g   a n   I n g r e s s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14388"
  },
  {
    "question": "What is 1 - Pods?",
    "answer": "P o d s   a r e   t h e   s m a l l e s t   d e p l o y a b l e   u n i t s   o f   c o m p u t i n g   t h a t   y o u   c a n   c r e a t e   a n d   m a n a g e   i n   K u b e r n e t e s .   A   P o d   ( a s   i n   a   p o d   o f   w h a l e s   o r   p e a   p o d )   i s   a   g r o u p   o f   o n e   o r   m o r e   c o n t a i n e r s ,   w i t h   s h a r e d   s t o r a g e   a n d   n e t w o r k   r e s o u r c e s ,   a n d   a   s p e c i f i c a t i o n   f o r   h o w   t o   r u n   t h e   c o n t a i n e r s .   A   P o d ' s   c o n t e n t s   a r e   a l w a y s   c o - l o c a t e d   a n d   c o - s c h e d u l e d ,   a n d   r u n   i n   a   s h a r e d   c o n t e x t .   A   P o d   m o d e l s   a n   a p p l i c a t i o n - s p e c i f i c   \" l o g i c a l   h o s t \" :   i t   c o n t a i n s   o n e   o r   m o r e   a p p l i c a t i o n   c o n t a i n e r s   w h i c h   a r e   r e l a t i v e l y   t i g h t l y   c o u p l e d .   I n   n o n - c l o u d   c o n t e x t s ,   a p p l i c a t i o n s   e x e c u t e d   o n   t h e   s a m e   p h y s i c a l   o r   v i r t u a l   m a c h i n e   a r e   a n a l o g o u s   t o   c l o u d   a p p l i c a t i o n s   e x e c u t e d   o n   t h e   s a m e   l o g i c a l   h o s t .   A s   w e l l   a s   a p p l i c a t i o n   c o n t a i n e r s ,   a   P o d   c a n   c o n t a i n   i n i t   c o n t a i n e r s   t h a t   r u n   d u r i n g   P o d   s t a r t u p .   Y o u   c a n   a l s o   i n j e c t   e p h e m e r a l   c o n t a i n e r s   f o r   d e b u g g i n g   a   r u n n i n g   P o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_1_14389"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   s h a r e d   c o n t e x t   o f   a   P o d   i s   a   s e t   o f   L i n u x   n a m e s p a c e s ,   c g r o u p s ,   a n d   p o t e n t i a l l y   o t h e r   f a c e t s   o f   i s o l a t i o n   -   t h e   s a m e   t h i n g s   t h a t   i s o l a t e   a   c o n t a i n e r .   W i t h i n   a   P o d ' s   c o n t e x t ,   t h e   i n d i v i d u a l   a p p l i c a t i o n s   m a y   h a v e   f u r t h e r   s u b - i s o l a t i o n s   a p p l i e d .   A   P o d   i s   s i m i l a r   t o   a   s e t   o f   c o n t a i n e r s   w i t h   s h a r e d   n a m e s p a c e s   a n d   s h a r e d   f i l e s y s t e m   v o l u m e s .   P o d s   i n   a   K u b e r n e t e s   c l u s t e r   a r e   u s e d   i n   t w o   m a i n   w a y s :   P o d s   t h a t   r u n   a   s i n g l e   c o n t a i n e r .   T h e   \" o n e - c o n t a i n e r - p e r - P o d \"   m o d e l   i s   t h e   m o s t   c o m m o n   K u b e r n e t e s   u s e   c a s e ;   i n   t h i s   c a s e ,   y o u   c a n   t h i n k   o f   a   P o d   a s   a   w r a p p e r   a r o u n d   a   s i n g l e   c o n t a i n e r ;   K u b e r n e t e s   m a n a g e s   P o d s   r a t h e r   t h a n   m a n a g i n g   t h e   c o n t a i n e r s   d i r e c t l y . P o d s   t h a t   r u n   m u l t i p l e   c o n t a i n e r s   t h a t   n e e d   t o   w o r k   t o g e t h e r .   A   P o d   c a n   e n c a p s u l a t e   a n   a p p l i c a t i o n   c o m p o s e d   o f   m u l t i p l e   c o - l o c a t e d   c o n t a i n e r s   t h a t   a r e   t i g h t l y   c o u p l e d   a n d   n e e d   t o   s h a r e   r e s o u r c e s .   T h e s e   c o - l o c a t e d   c o n t a i n e r s   f o r m   a   s i n g l e   c o h e s i v e   u n i t . G r o u p i n g   m u l t i p l e   c o - l o c a t e d   a n d   c o - m a n a g e d   c o n t a i n e r s   i n   a   s i n g l e   P o d   i s   a   r e l a t i v e l y   a d v a n c e d   u s ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14390"
  },
  {
    "question": "What is Using Pods?",
    "answer": "T h e   f o l l o w i n g   i s   a n   e x a m p l e   o f   a   P o d   w h i c h   c o n s i s t s   o f   a   c o n t a i n e r   r u n n i n g   t h e   i m a g e   n g i n x : 1 . 1 4 . 2 .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0   T o   c r e a t e   t h e   P o d   s h o w n   a b o v e ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s i m p l e - p o d . y a m l   P o d s   a r e   g e n e r a l l y   n o t   c r e a t e d   d i r e c t l y   a n d   a r e   c r e a t e d   u s i n g   w o r k l o a d   r e s o u r c e s .   S e e   W o r k i n g   w i t h   P o d s   f o r   m o r e   i n f o r m a t i o n   o n   h o w   P o d s   a r e   u s e d   w i t h   w o r k l o a d   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14391"
  },
  {
    "question": "What is Workload resources for managing pods?",
    "answer": "U s u a l l y   y o u   d o n ' t   n e e d   t o   c r e a t e   P o d s   d i r e c t l y ,   e v e n   s i n g l e t o n   P o d s .   I n s t e a d ,   c r e a t e   t h e m   u s i n g   w o r k l o a d   r e s o u r c e s   s u c h   a s   D e p l o y m e n t   o r   J o b .   I f   y o u r   P o d s   n e e d   t o   t r a c k   s t a t e ,   c o n s i d e r   t h e   S t a t e f u l S e t   r e s o u r c e .   E a c h   P o d   i s   m e a n t   t o   r u n   a   s i n g l e   i n s t a n c e   o f   a   g i v e n   a p p l i c a t i o n .   I f   y o u   w a n t   t o   s c a l e   y o u r   a p p l i c a t i o n   h o r i z o n t a l l y   ( t o   p r o v i d e   m o r e   o v e r a l l   r e s o u r c e s   b y   r u n n i n g   m o r e   i n s t a n c e s ) ,   y o u   s h o u l d   u s e   m u l t i p l e   P o d s ,   o n e   f o r   e a c h   i n s t a n c e .   I n   K u b e r n e t e s ,   t h i s   i s   t y p i c a l l y   r e f e r r e d   t o   a s   r e p l i c a t i o n .   R e p l i c a t e d   P o d s   a r e   u s u a l l y   c r e a t e d   a n d   m a n a g e d   a s   a   g r o u p   b y   a   w o r k l o a d   r e s o u r c e   a n d   i t s   c o n t r o l l e r .   S e e   P o d s   a n d   c o n t r o l l e r s   f o r   m o r e   i n f o r m a t i o n   o n   h o w   K u b e r n e t e s   u s e s   w o r k l o a d   r e s o u r c e s ,   a n d   t h e i r   c o n t r o l l e r s ,   t o   i m p l e m e n t   a p p l i c a t i o n   s c a l i n g   a n d   a u t o - h e a l i n g .   P o d s   n a t i v e l y   p r o v i d e   t w o   k i n d s   o f   s h a r e d   r e s o u r c e s   f o r   t h e i r   c o n s t i t u e n t   c o n t a i n e r s :   n e t w o r k i n g   a n d   s t o r a g e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14392"
  },
  {
    "question": "What is Working with Pods?",
    "answer": "Y o u ' l l   r a r e l y   c r e a t e   i n d i v i d u a l   P o d s   d i r e c t l y   i n   K u b e r n e t e s — e v e n   s i n g l e t o n   P o d s .   T h i s   i s   b e c a u s e   P o d s   a r e   d e s i g n e d   a s   r e l a t i v e l y   e p h e m e r a l ,   d i s p o s a b l e   e n t i t i e s .   W h e n   a   P o d   g e t s   c r e a t e d   ( d i r e c t l y   b y   y o u ,   o r   i n d i r e c t l y   b y   a   c o n t r o l l e r ) ,   t h e   n e w   P o d   i s   s c h e d u l e d   t o   r u n   o n   a   N o d e   i n   y o u r   c l u s t e r .   T h e   P o d   r e m a i n s   o n   t h a t   n o d e   u n t i l   t h e   P o d   f i n i s h e s   e x e c u t i o n ,   t h e   P o d   o b j e c t   i s   d e l e t e d ,   t h e   P o d   i s   e v i c t e d   f o r   l a c k   o f   r e s o u r c e s ,   o r   t h e   n o d e   f a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14393"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   n a m e   o f   a   P o d   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   v a l u e ,   b u t   t h i s   c a n   p r o d u c e   u n e x p e c t e d   r e s u l t s   f o r   t h e   P o d   h o s t n a m e .   F o r   b e s t   c o m p a t i b i l i t y ,   t h e   n a m e   s h o u l d   f o l l o w   t h e   m o r e   r e s t r i c t i v e   r u l e s   f o r   a   D N S   l a b e l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14394"
  },
  {
    "question": "What is Pod OS?",
    "answer": "Y o u   s h o u l d   s e t   t h e   . s p e c . o s . n a m e   f i e l d   t o   e i t h e r   w i n d o w s   o r   l i n u x   t o   i n d i c a t e   t h e   O S   o n   w h i c h   y o u   w a n t   t h e   p o d   t o   r u n .   T h e s e   t w o   a r e   t h e   o n l y   o p e r a t i n g   s y s t e m s   s u p p o r t e d   f o r   n o w   b y   K u b e r n e t e s .   I n   t h e   f u t u r e ,   t h i s   l i s t   m a y   b e   e x p a n d e d .   I n   K u b e r n e t e s   v 1 . 3 4 ,   t h e   v a l u e   o f   . s p e c . o s . n a m e   d o e s   n o t   a f f e c t   h o w   t h e   k u b e - s c h e d u l e r   p i c k s   a   n o d e   f o r   t h e   P o d   t o   r u n   o n .   I n   a n y   c l u s t e r   w h e r e   t h e r e   i s   m o r e   t h a n   o n e   o p e r a t i n g   s y s t e m   f o r   r u n n i n g   n o d e s ,   y o u   s h o u l d   s e t   t h e   k u b e r n e t e s . i o / o s   l a b e l   c o r r e c t l y   o n   e a c h   n o d e ,   a n d   d e f i n e   p o d s   w i t h   a   n o d e S e l e c t o r   b a s e d   o n   t h e   o p e r a t i n g   s y s t e m   l a b e l .   T h e   k u b e - s c h e d u l e r   a s s i g n s   y o u r   p o d   t o   a   n o d e   b a s e d   o n   o t h e r   c r i t e r i a   a n d   m a y   o r   m a y   n o t   s u c c e e d   i n   p i c k i n g   a   s u i t a b l e   n o d e   p l a c e m e n t   w h e r e   t h e   n o d e   O S   i s   r i g h t   f o r   t h e   c o n t a i n e r s   i n   t h a t   P o d .   T h e   P o d   s e c u r i t y   s t a n d a r d s   a l s o   u s e   t h i s   f i e l d   t o   a v o i d   e n f o r c i n g   p o l i c i e s   t h a t   a r e n ' t   r e l e v a n t   t o   t h e   o p e r a t i n g   s y s t e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14395"
  },
  {
    "question": "What is Pods and controllers?",
    "answer": "Y o u   c a n   u s e   w o r k l o a d   r e s o u r c e s   t o   c r e a t e   a n d   m a n a g e   m u l t i p l e   P o d s   f o r   y o u .   A   c o n t r o l l e r   f o r   t h e   r e s o u r c e   h a n d l e s   r e p l i c a t i o n   a n d   r o l l o u t   a n d   a u t o m a t i c   h e a l i n g   i n   c a s e   o f   P o d   f a i l u r e .   F o r   e x a m p l e ,   i f   a   N o d e   f a i l s ,   a   c o n t r o l l e r   n o t i c e s   t h a t   P o d s   o n   t h a t   N o d e   h a v e   s t o p p e d   w o r k i n g   a n d   c r e a t e s   a   r e p l a c e m e n t   P o d .   T h e   s c h e d u l e r   p l a c e s   t h e   r e p l a c e m e n t   P o d   o n t o   a   h e a l t h y   N o d e .   H e r e   a r e   s o m e   e x a m p l e s   o f   w o r k l o a d   r e s o u r c e s   t h a t   m a n a g e   o n e   o r   m o r e   P o d s :   D e p l o y m e n t S t a t e f u l S e t D a e m o n S e t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14396"
  },
  {
    "question": "What is Pod templates?",
    "answer": "C o n t r o l l e r s   f o r   w o r k l o a d   r e s o u r c e s   c r e a t e   P o d s   f r o m   a   p o d   t e m p l a t e   a n d   m a n a g e   t h o s e   P o d s   o n   y o u r   b e h a l f .   P o d T e m p l a t e s   a r e   s p e c i f i c a t i o n s   f o r   c r e a t i n g   P o d s ,   a n d   a r e   i n c l u d e d   i n   w o r k l o a d   r e s o u r c e s   s u c h   a s   D e p l o y m e n t s ,   J o b s ,   a n d   D a e m o n S e t s .   E a c h   c o n t r o l l e r   f o r   a   w o r k l o a d   r e s o u r c e   u s e s   t h e   P o d T e m p l a t e   i n s i d e   t h e   w o r k l o a d   o b j e c t   t o   m a k e   a c t u a l   P o d s .   T h e   P o d T e m p l a t e   i s   p a r t   o f   t h e   d e s i r e d   s t a t e   o f   w h a t e v e r   w o r k l o a d   r e s o u r c e   y o u   u s e d   t o   r u n   y o u r   a p p .   W h e n   y o u   c r e a t e   a   P o d ,   y o u   c a n   i n c l u d e   e n v i r o n m e n t   v a r i a b l e s   i n   t h e   P o d   t e m p l a t e   f o r   t h e   c o n t a i n e r s   t h a t   r u n   i n   t h e   P o d .   T h e   s a m p l e   b e l o w   i s   a   m a n i f e s t   f o r   a   s i m p l e   J o b   w i t h   a   t e m p l a t e   t h a t   s t a r t s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   i n   t h a t   P o d   p r i n t s   a   m e s s a g e   t h e n   p a u s e s .   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   h e l l o   s p e c :   t e m p l a t e :   #   T h i s   i s   t h e   p o d   t e m p l a t e   s p e c :   c o n t a i n e r s :   -   n a m e :   h e l l o   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   ' e c h o   \" H e l l o ,   K u b e r n e t e s ! \"   & &   s l e e p   3 6 0 0 ' ]   r e s t a r t P o l i c y :   O n F a i l u r e   #   T h e   p o d   t e m p l a t e   e n d s   h e r e   M o d i f y i n g   t h e   p o d ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14397"
  },
  {
    "question": "What is Pod update and replacement?",
    "answer": "A s   m e n t i o n e d   i n   t h e   p r e v i o u s   s e c t i o n ,   w h e n   t h e   P o d   t e m p l a t e   f o r   a   w o r k l o a d   r e s o u r c e   i s   c h a n g e d ,   t h e   c o n t r o l l e r   c r e a t e s   n e w   P o d s   b a s e d   o n   t h e   u p d a t e d   t e m p l a t e   i n s t e a d   o f   u p d a t i n g   o r   p a t c h i n g   t h e   e x i s t i n g   P o d s .   K u b e r n e t e s   d o e s n ' t   p r e v e n t   y o u   f r o m   m a n a g i n g   P o d s   d i r e c t l y .   I t   i s   p o s s i b l e   t o   u p d a t e   s o m e   f i e l d s   o f   a   r u n n i n g   P o d ,   i n   p l a c e .   H o w e v e r ,   P o d   u p d a t e   o p e r a t i o n s   l i k e   p a t c h ,   a n d   r e p l a c e   h a v e   s o m e   l i m i t a t i o n s :   M o s t   o f   t h e   m e t a d a t a   a b o u t   a   P o d   i s   i m m u t a b l e .   F o r   e x a m p l e ,   y o u   c a n n o t   c h a n g e   t h e   n a m e s p a c e ,   n a m e ,   u i d ,   o r   c r e a t i o n T i m e s t a m p   f i e l d s . I f   t h e   m e t a d a t a . d e l e t i o n T i m e s t a m p   i s   s e t ,   n o   n e w   e n t r y   c a n   b e   a d d e d   t o   t h e   m e t a d a t a . f i n a l i z e r s   l i s t . P o d   u p d a t e s   m a y   n o t   c h a n g e   f i e l d s   o t h e r   t h a n   s p e c . c o n t a i n e r s [ * ] . i m a g e ,   s p e c . i n i t C o n t a i n e r s [ * ] . i m a g e ,   s p e c . a c t i v e D e a d l i n e S e c o n d s ,   s p e c . t e r m i n a t i o n G r a c e P e r i o d S e c o n d s ,   s p e c . t o l e r a t i o n s   o r   s p e c . s c h e d u l i n g G a t e s .   F o r   s p e c . t o l e r a t i o n s ,   y o u   c a n   o n l y   a d d   n e w   e n t r i e s . W h e n   u p d a t i n g   t h e   s p e c . a c t i v e D e a d l i n e S e c o n d s   f i e l d ,   t w o   t y p e s   o f   u p d a t e s   a r e   a l l o w e d : s e t t i n g   t h e   u ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14398"
  },
  {
    "question": "What is Pod subresources?",
    "answer": "T h e   a b o v e   u p d a t e   r u l e s   a p p l y   t o   r e g u l a r   p o d   u p d a t e s ,   b u t   o t h e r   p o d   f i e l d s   c a n   b e   u p d a t e d   t h r o u g h   s u b r e s o u r c e s .   R e s i z e :   T h e   r e s i z e   s u b r e s o u r c e   a l l o w s   c o n t a i n e r   r e s o u r c e s   ( s p e c . c o n t a i n e r s [ * ] . r e s o u r c e s )   t o   b e   u p d a t e d .   S e e   R e s i z e   C o n t a i n e r   R e s o u r c e s   f o r   m o r e   d e t a i l s . E p h e m e r a l   C o n t a i n e r s :   T h e   e p h e m e r a l C o n t a i n e r s   s u b r e s o u r c e   a l l o w s   e p h e m e r a l   c o n t a i n e r s   t o   b e   a d d e d   t o   a   P o d .   S e e   E p h e m e r a l   C o n t a i n e r s   f o r   m o r e   d e t a i l s . S t a t u s :   T h e   s t a t u s   s u b r e s o u r c e   a l l o w s   t h e   p o d   s t a t u s   t o   b e   u p d a t e d .   T h i s   i s   t y p i c a l l y   o n l y   u s e d   b y   t h e   K u b e l e t   a n d   o t h e r   s y s t e m   c o n t r o l l e r s . B i n d i n g :   T h e   b i n d i n g   s u b r e s o u r c e   a l l o w s   s e t t i n g   t h e   p o d ' s   s p e c . n o d e N a m e   v i a   a   B i n d i n g   r e q u e s t .   T h i s   i s   t y p i c a l l y   o n l y   u s e d   b y   t h e   s c h e d u l e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14399"
  },
  {
    "question": "What is Pod generation?",
    "answer": "T h e   m e t a d a t a . g e n e r a t i o n   f i e l d   i s   u n i q u e .   I t   w i l l   b e   a u t o m a t i c a l l y   s e t   b y   t h e   s y s t e m   s u c h   t h a t   n e w   p o d s   h a v e   a   m e t a d a t a . g e n e r a t i o n   o f   1 ,   a n d   e v e r y   u p d a t e   t o   m u t a b l e   f i e l d s   i n   t h e   p o d ' s   s p e c   w i l l   i n c r e m e n t   t h e   m e t a d a t a . g e n e r a t i o n   b y   1 .   o b s e r v e d G e n e r a t i o n   i s   a   f i e l d   t h a t   i s   c a p t u r e d   i n   t h e   s t a t u s   s e c t i o n   o f   t h e   P o d   o b j e c t .   I f   t h e   f e a t u r e   g a t e   P o d O b s e r v e d G e n e r a t i o n T r a c k i n g   i s   s e t ,   t h e   K u b e l e t   w i l l   s e t   s t a t u s . o b s e r v e d G e n e r a t i o n   t o   t r a c k   t h e   p o d   s t a t e   t o   t h e   c u r r e n t   p o d   s t a t u s .   T h e   p o d ' s   s t a t u s . o b s e r v e d G e n e r a t i o n   w i l l   r e f l e c t   t h e   m e t a d a t a . g e n e r a t i o n   o f   t h e   p o d   a t   t h e   p o i n t   t h a t   t h e   p o d   s t a t u s   i s   b e i n g   r e p o r t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14400"
  },
  {
    "question": "What is Note:?",
    "answer": "D i f f e r e n t   s t a t u s   f i e l d s   m a y   e i t h e r   b e   a s s o c i a t e d   w i t h   t h e   m e t a d a t a . g e n e r a t i o n   o f   t h e   c u r r e n t   s y n c   l o o p ,   o r   w i t h   t h e   m e t a d a t a . g e n e r a t i o n   o f   t h e   p r e v i o u s   s y n c   l o o p .   T h e   k e y   d i s t i n c t i o n   i s   w h e t h e r   a   c h a n g e   i n   t h e   s p e c   i s   r e f l e c t e d   d i r e c t l y   i n   t h e   s t a t u s   o r   i s   a n   i n d i r e c t   r e s u l t   o f   a   r u n n i n g   p r o c e s s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14401"
  },
  {
    "question": "What is Direct Status Updates?",
    "answer": "F o r   s t a t u s   f i e l d s   w h e r e   t h e   a l l o c a t e d   s p e c   i s   d i r e c t l y   r e f l e c t e d ,   t h e   o b s e r v e d G e n e r a t i o n   w i l l   b e   a s s o c i a t e d   w i t h   t h e   c u r r e n t   m e t a d a t a . g e n e r a t i o n   ( G e n e r a t i o n   N ) .   T h i s   b e h a v i o r   a p p l i e s   t o :   R e s i z e   S t a t u s :   T h e   s t a t u s   o f   a   r e s o u r c e   r e s i z e   o p e r a t i o n . A l l o c a t e d   R e s o u r c e s :   T h e   r e s o u r c e s   a l l o c a t e d   t o   t h e   P o d   a f t e r   a   r e s i z e . E p h e m e r a l   C o n t a i n e r s :   W h e n   a   n e w   e p h e m e r a l   c o n t a i n e r   i s   a d d e d ,   a n d   i t   i s   i n   W a i t i n g   s t a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14402"
  },
  {
    "question": "What is Indirect Status Updates?",
    "answer": "F o r   s t a t u s   f i e l d s   t h a t   a r e   a n   i n d i r e c t   r e s u l t   o f   r u n n i n g   t h e   s p e c ,   t h e   o b s e r v e d G e n e r a t i o n   w i l l   b e   a s s o c i a t e d   w i t h   t h e   m e t a d a t a . g e n e r a t i o n   o f   t h e   p r e v i o u s   s y n c   l o o p   ( G e n e r a t i o n   N - 1 ) .   T h i s   b e h a v i o r   a p p l i e s   t o :   C o n t a i n e r   I m a g e :   T h e   C o n t a i n e r S t a t u s . I m a g e I D   r e f l e c t s   t h e   i m a g e   f r o m   t h e   p r e v i o u s   g e n e r a t i o n   u n t i l   t h e   n e w   i m a g e   i s   p u l l e d   a n d   t h e   c o n t a i n e r   i s   u p d a t e d . A c t u a l   R e s o u r c e s :   D u r i n g   a n   i n - p r o g r e s s   r e s i z e ,   t h e   a c t u a l   r e s o u r c e s   i n   u s e   s t i l l   b e l o n g   t o   t h e   p r e v i o u s   g e n e r a t i o n ' s   r e q u e s t . C o n t a i n e r   s t a t e :   D u r i n g   a n   i n - p r o g r e s s   r e s i z e ,   w i t h   r e q u i r e   r e s t a r t   p o l i c y   r e f l e c t s   t h e   p r e v i o u s   g e n e r a t i o n ' s   r e q u e s t . a c t i v e D e a d l i n e S e c o n d s   &   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   &   d e l e t i o n T i m e s t a m p :   T h e   e f f e c t s   o f   t h e s e   f i e l d s   o n   t h e   P o d ' s   s t a t u s   a r e   a   r e s u l t   o f   t h e   p r e v i o u s l y   o b s e r v e d   s p e c i f i c a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14403"
  },
  {
    "question": "What is Resource sharing and communication?",
    "answer": "P o d s   e n a b l e   d a t a   s h a r i n g   a n d   c o m m u n i c a t i o n   a m o n g   t h e i r   c o n s t i t u e n t   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14404"
  },
  {
    "question": "What is Storage in Pods?",
    "answer": "A   P o d   c a n   s p e c i f y   a   s e t   o f   s h a r e d   s t o r a g e   v o l u m e s .   A l l   c o n t a i n e r s   i n   t h e   P o d   c a n   a c c e s s   t h e   s h a r e d   v o l u m e s ,   a l l o w i n g   t h o s e   c o n t a i n e r s   t o   s h a r e   d a t a .   V o l u m e s   a l s o   a l l o w   p e r s i s t e n t   d a t a   i n   a   P o d   t o   s u r v i v e   i n   c a s e   o n e   o f   t h e   c o n t a i n e r s   w i t h i n   n e e d s   t o   b e   r e s t a r t e d .   S e e   S t o r a g e   f o r   m o r e   i n f o r m a t i o n   o n   h o w   K u b e r n e t e s   i m p l e m e n t s   s h a r e d   s t o r a g e   a n d   m a k e s   i t   a v a i l a b l e   t o   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14405"
  },
  {
    "question": "What is Pod networking?",
    "answer": "E a c h   P o d   i s   a s s i g n e d   a   u n i q u e   I P   a d d r e s s   f o r   e a c h   a d d r e s s   f a m i l y .   E v e r y   c o n t a i n e r   i n   a   P o d   s h a r e s   t h e   n e t w o r k   n a m e s p a c e ,   i n c l u d i n g   t h e   I P   a d d r e s s   a n d   n e t w o r k   p o r t s .   I n s i d e   a   P o d   ( a n d   o n l y   t h e n ) ,   t h e   c o n t a i n e r s   t h a t   b e l o n g   t o   t h e   P o d   c a n   c o m m u n i c a t e   w i t h   o n e   a n o t h e r   u s i n g   l o c a l h o s t .   W h e n   c o n t a i n e r s   i n   a   P o d   c o m m u n i c a t e   w i t h   e n t i t i e s   o u t s i d e   t h e   P o d ,   t h e y   m u s t   c o o r d i n a t e   h o w   t h e y   u s e   t h e   s h a r e d   n e t w o r k   r e s o u r c e s   ( s u c h   a s   p o r t s ) .   W i t h i n   a   P o d ,   c o n t a i n e r s   s h a r e   a n   I P   a d d r e s s   a n d   p o r t   s p a c e ,   a n d   c a n   f i n d   e a c h   o t h e r   v i a   l o c a l h o s t .   T h e   c o n t a i n e r s   i n   a   P o d   c a n   a l s o   c o m m u n i c a t e   w i t h   e a c h   o t h e r   u s i n g   s t a n d a r d   i n t e r - p r o c e s s   c o m m u n i c a t i o n s   l i k e   S y s t e m V   s e m a p h o r e s   o r   P O S I X   s h a r e d   m e m o r y .   C o n t a i n e r s   i n   d i f f e r e n t   P o d s   h a v e   d i s t i n c t   I P   a d d r e s s e s   a n d   c a n   n o t   c o m m u n i c a t e   b y   O S - l e v e l   I P C   w i t h o u t   s p e c i a l   c o n f i g u r a t i o n .   C o n t a i n e r s   t h a t   w a n t   t o   i n t e r a c t   w i t h   a   c o n t a i n e r   r u n n i n g   i n   a   d i f f e r e n t   P o d   c a n   u s e   I P   n e t w o r k i n g   t o   c o m m u n i c a t e .   C o n t a i n e r s   w i t h i n   t h e   P o d   s e e   t h e   s y s t e m   h o s t n a m e   a s   b e i n g   t h e   s a m e   a s   t h e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14406"
  },
  {
    "question": "What is Pod security settings?",
    "answer": "T o   s e t   s e c u r i t y   c o n s t r a i n t s   o n   P o d s   a n d   c o n t a i n e r s ,   y o u   u s e   t h e   s e c u r i t y C o n t e x t   f i e l d   i n   t h e   P o d   s p e c i f i c a t i o n .   T h i s   f i e l d   g i v e s   y o u   g r a n u l a r   c o n t r o l   o v e r   w h a t   a   P o d   o r   i n d i v i d u a l   c o n t a i n e r s   c a n   d o .   F o r   e x a m p l e :   D r o p   s p e c i f i c   L i n u x   c a p a b i l i t i e s   t o   a v o i d   t h e   i m p a c t   o f   a   C V E . F o r c e   a l l   p r o c e s s e s   i n   t h e   P o d   t o   r u n   a s   a   n o n - r o o t   u s e r   o r   a s   a   s p e c i f i c   u s e r   o r   g r o u p   I D . S e t   a   s p e c i f i c   s e c c o m p   p r o f i l e . S e t   W i n d o w s   s e c u r i t y   o p t i o n s ,   s u c h   a s   w h e t h e r   c o n t a i n e r s   r u n   a s   H o s t P r o c e s s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14407"
  },
  {
    "question": "What is Caution:?",
    "answer": "T o   l e a r n   a b o u t   k e r n e l - l e v e l   s e c u r i t y   c o n s t r a i n t s   t h a t   y o u   c a n   u s e ,   s e e   L i n u x   k e r n e l   s e c u r i t y   c o n s t r a i n t s   f o r   P o d s   a n d   c o n t a i n e r s . T o   l e a r n   m o r e   a b o u t   t h e   P o d   s e c u r i t y   c o n t e x t ,   s e e   C o n f i g u r e   a   S e c u r i t y   C o n t e x t   f o r   a   P o d   o r   C o n t a i n e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14408"
  },
  {
    "question": "What is Static Pods?",
    "answer": "S t a t i c   P o d s   a r e   m a n a g e d   d i r e c t l y   b y   t h e   k u b e l e t   d a e m o n   o n   a   s p e c i f i c   n o d e ,   w i t h o u t   t h e   A P I   s e r v e r   o b s e r v i n g   t h e m .   W h e r e a s   m o s t   P o d s   a r e   m a n a g e d   b y   t h e   c o n t r o l   p l a n e   ( f o r   e x a m p l e ,   a   D e p l o y m e n t ) ,   f o r   s t a t i c   P o d s ,   t h e   k u b e l e t   d i r e c t l y   s u p e r v i s e s   e a c h   s t a t i c   P o d   ( a n d   r e s t a r t s   i t   i f   i t   f a i l s ) .   S t a t i c   P o d s   a r e   a l w a y s   b o u n d   t o   o n e   K u b e l e t   o n   a   s p e c i f i c   n o d e .   T h e   m a i n   u s e   f o r   s t a t i c   P o d s   i s   t o   r u n   a   s e l f - h o s t e d   c o n t r o l   p l a n e :   i n   o t h e r   w o r d s ,   u s i n g   t h e   k u b e l e t   t o   s u p e r v i s e   t h e   i n d i v i d u a l   c o n t r o l   p l a n e   c o m p o n e n t s .   T h e   k u b e l e t   a u t o m a t i c a l l y   t r i e s   t o   c r e a t e   a   m i r r o r   P o d   o n   t h e   K u b e r n e t e s   A P I   s e r v e r   f o r   e a c h   s t a t i c   P o d .   T h i s   m e a n s   t h a t   t h e   P o d s   r u n n i n g   o n   a   n o d e   a r e   v i s i b l e   o n   t h e   A P I   s e r v e r ,   b u t   c a n n o t   b e   c o n t r o l l e d   f r o m   t h e r e .   S e e   t h e   g u i d e   C r e a t e   s t a t i c   P o d s   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14409"
  },
  {
    "question": "What is Pods with multiple containers?",
    "answer": "P o d s   a r e   d e s i g n e d   t o   s u p p o r t   m u l t i p l e   c o o p e r a t i n g   p r o c e s s e s   ( a s   c o n t a i n e r s )   t h a t   f o r m   a   c o h e s i v e   u n i t   o f   s e r v i c e .   T h e   c o n t a i n e r s   i n   a   P o d   a r e   a u t o m a t i c a l l y   c o - l o c a t e d   a n d   c o - s c h e d u l e d   o n   t h e   s a m e   p h y s i c a l   o r   v i r t u a l   m a c h i n e   i n   t h e   c l u s t e r .   T h e   c o n t a i n e r s   c a n   s h a r e   r e s o u r c e s   a n d   d e p e n d e n c i e s ,   c o m m u n i c a t e   w i t h   o n e   a n o t h e r ,   a n d   c o o r d i n a t e   w h e n   a n d   h o w   t h e y   a r e   t e r m i n a t e d .   P o d s   i n   a   K u b e r n e t e s   c l u s t e r   a r e   u s e d   i n   t w o   m a i n   w a y s :   P o d s   t h a t   r u n   a   s i n g l e   c o n t a i n e r .   T h e   \" o n e - c o n t a i n e r - p e r - P o d \"   m o d e l   i s   t h e   m o s t   c o m m o n   K u b e r n e t e s   u s e   c a s e ;   i n   t h i s   c a s e ,   y o u   c a n   t h i n k   o f   a   P o d   a s   a   w r a p p e r   a r o u n d   a   s i n g l e   c o n t a i n e r ;   K u b e r n e t e s   m a n a g e s   P o d s   r a t h e r   t h a n   m a n a g i n g   t h e   c o n t a i n e r s   d i r e c t l y . P o d s   t h a t   r u n   m u l t i p l e   c o n t a i n e r s   t h a t   n e e d   t o   w o r k   t o g e t h e r .   A   P o d   c a n   e n c a p s u l a t e   a n   a p p l i c a t i o n   c o m p o s e d   o f   m u l t i p l e   c o - l o c a t e d   c o n t a i n e r s   t h a t   a r e   t i g h t l y   c o u p l e d   a n d   n e e d   t o   s h a r e   r e s o u r c e s .   T h e s e   c o - l o c a t e d   c o n t a i n e r s   f o r m   a   s i n g l e   c o h e s i v e   u n i t   o f   s e r v i c e — f o r   e x a m p l e ,   o n e   c o n t a i n e r   s e r v i n g   d a t a   s t o r e d   i n   a   s h a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14410"
  },
  {
    "question": "What is Container probes?",
    "answer": "A   p r o b e   i s   a   d i a g n o s t i c   p e r f o r m e d   p e r i o d i c a l l y   b y   t h e   k u b e l e t   o n   a   c o n t a i n e r .   T o   p e r f o r m   a   d i a g n o s t i c ,   t h e   k u b e l e t   c a n   i n v o k e   d i f f e r e n t   a c t i o n s :   E x e c A c t i o n   ( p e r f o r m e d   w i t h   t h e   h e l p   o f   t h e   c o n t a i n e r   r u n t i m e ) T C P S o c k e t A c t i o n   ( c h e c k e d   d i r e c t l y   b y   t h e   k u b e l e t ) H T T P G e t A c t i o n   ( c h e c k e d   d i r e c t l y   b y   t h e   k u b e l e t )   Y o u   c a n   r e a d   m o r e   a b o u t   p r o b e s   i n   t h e   P o d   L i f e c y c l e   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14411"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   t h e   l i f e c y c l e   o f   a   P o d . L e a r n   a b o u t   R u n t i m e C l a s s   a n d   h o w   y o u   c a n   u s e   i t   t o   c o n f i g u r e   d i f f e r e n t   P o d s   w i t h   d i f f e r e n t   c o n t a i n e r   r u n t i m e   c o n f i g u r a t i o n s . R e a d   a b o u t   P o d D i s r u p t i o n B u d g e t   a n d   h o w   y o u   c a n   u s e   i t   t o   m a n a g e   a p p l i c a t i o n   a v a i l a b i l i t y   d u r i n g   d i s r u p t i o n s . P o d   i s   a   t o p - l e v e l   r e s o u r c e   i n   t h e   K u b e r n e t e s   R E S T   A P I .   T h e   P o d   o b j e c t   d e f i n i t i o n   d e s c r i b e s   t h e   o b j e c t   i n   d e t a i l . T h e   D i s t r i b u t e d   S y s t e m   T o o l k i t :   P a t t e r n s   f o r   C o m p o s i t e   C o n t a i n e r s   e x p l a i n s   c o m m o n   l a y o u t s   f o r   P o d s   w i t h   m o r e   t h a n   o n e   c o n t a i n e r . R e a d   a b o u t   P o d   t o p o l o g y   s p r e a d   c o n s t r a i n t s   T o   u n d e r s t a n d   t h e   c o n t e x t   f o r   w h y   K u b e r n e t e s   w r a p s   a   c o m m o n   P o d   A P I   i n   o t h e r   r e s o u r c e s   ( s u c h   a s   S t a t e f u l S e t s   o r   D e p l o y m e n t s ) ,   y o u   c a n   r e a d   a b o u t   t h e   p r i o r   a r t ,   i n c l u d i n g :   A u r o r a B o r g M a r a t h o n O m e g a T u p p e r w a r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14412"
  },
  {
    "question": "What is 1.1 - Pod Lifecycle?",
    "answer": "T h i s   p a g e   d e s c r i b e s   t h e   l i f e c y c l e   o f   a   P o d .   P o d s   f o l l o w   a   d e f i n e d   l i f e c y c l e ,   s t a r t i n g   i n   t h e   P e n d i n g   p h a s e ,   m o v i n g   t h r o u g h   R u n n i n g   i f   a t   l e a s t   o n e   o f   i t s   p r i m a r y   c o n t a i n e r s   s t a r t s   O K ,   a n d   t h e n   t h r o u g h   e i t h e r   t h e   S u c c e e d e d   o r   F a i l e d   p h a s e s   d e p e n d i n g   o n   w h e t h e r   a n y   c o n t a i n e r   i n   t h e   P o d   t e r m i n a t e d   i n   f a i l u r e .   L i k e   i n d i v i d u a l   a p p l i c a t i o n   c o n t a i n e r s ,   P o d s   a r e   c o n s i d e r e d   t o   b e   r e l a t i v e l y   e p h e m e r a l   ( r a t h e r   t h a n   d u r a b l e )   e n t i t i e s .   P o d s   a r e   c r e a t e d ,   a s s i g n e d   a   u n i q u e   I D   ( U I D ) ,   a n d   s c h e d u l e d   t o   r u n   o n   n o d e s   w h e r e   t h e y   r e m a i n   u n t i l   t e r m i n a t i o n   ( a c c o r d i n g   t o   r e s t a r t   p o l i c y )   o r   d e l e t i o n .   I f   a   N o d e   d i e s ,   t h e   P o d s   r u n n i n g   o n   ( o r   s c h e d u l e d   t o   r u n   o n )   t h a t   n o d e   a r e   m a r k e d   f o r   d e l e t i o n .   T h e   c o n t r o l   p l a n e   m a r k s   t h e   P o d s   f o r   r e m o v a l   a f t e r   a   t i m e o u t   p e r i o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_1_14413"
  },
  {
    "question": "What is Pod lifetime?",
    "answer": "W h i l s t   a   P o d   i s   r u n n i n g ,   t h e   k u b e l e t   i s   a b l e   t o   r e s t a r t   c o n t a i n e r s   t o   h a n d l e   s o m e   k i n d   o f   f a u l t s .   W i t h i n   a   P o d ,   K u b e r n e t e s   t r a c k s   d i f f e r e n t   c o n t a i n e r   s t a t e s   a n d   d e t e r m i n e s   w h a t   a c t i o n   t o   t a k e   t o   m a k e   t h e   P o d   h e a l t h y   a g a i n .   I n   t h e   K u b e r n e t e s   A P I ,   P o d s   h a v e   b o t h   a   s p e c i f i c a t i o n   a n d   a n   a c t u a l   s t a t u s .   T h e   s t a t u s   f o r   a   P o d   o b j e c t   c o n s i s t s   o f   a   s e t   o f   P o d   c o n d i t i o n s .   Y o u   c a n   a l s o   i n j e c t   c u s t o m   r e a d i n e s s   i n f o r m a t i o n   i n t o   t h e   c o n d i t i o n   d a t a   f o r   a   P o d ,   i f   t h a t   i s   u s e f u l   t o   y o u r   a p p l i c a t i o n .   P o d s   a r e   o n l y   s c h e d u l e d   o n c e   i n   t h e i r   l i f e t i m e ;   a s s i g n i n g   a   P o d   t o   a   s p e c i f i c   n o d e   i s   c a l l e d   b i n d i n g ,   a n d   t h e   p r o c e s s   o f   s e l e c t i n g   w h i c h   n o d e   t o   u s e   i s   c a l l e d   s c h e d u l i n g .   O n c e   a   P o d   h a s   b e e n   s c h e d u l e d   a n d   i s   b o u n d   t o   a   n o d e ,   K u b e r n e t e s   t r i e s   t o   r u n   t h a t   P o d   o n   t h e   n o d e .   T h e   P o d   r u n s   o n   t h a t   n o d e   u n t i l   i t   s t o p s ,   o r   u n t i l   t h e   P o d   i s   t e r m i n a t e d ;   i f   K u b e r n e t e s   i s n ' t   a b l e   t o   s t a r t   t h e   P o d   o n   t h e   s e l e c t e d   n o d e   ( f o r   e x a m p l e ,   i f   t h e   n o d e   c r a s h e s   b e f o r e   t h e   P o d   s t a r t s ) ,   t h e n   t h a t   p a r t i c u l a r   P o d   n e v e r   s t a r t s .   Y o u   c a n   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14414"
  },
  {
    "question": "What is Pods and fault recovery?",
    "answer": "I f   o n e   o f   t h e   c o n t a i n e r s   i n   t h e   P o d   f a i l s ,   t h e n   K u b e r n e t e s   m a y   t r y   t o   r e s t a r t   t h a t   s p e c i f i c   c o n t a i n e r .   R e a d   H o w   P o d s   h a n d l e   p r o b l e m s   w i t h   c o n t a i n e r s   t o   l e a r n   m o r e .   P o d s   c a n   h o w e v e r   f a i l   i n   a   w a y   t h a t   t h e   c l u s t e r   c a n n o t   r e c o v e r   f r o m ,   a n d   i n   t h a t   c a s e   K u b e r n e t e s   d o e s   n o t   a t t e m p t   t o   h e a l   t h e   P o d   f u r t h e r ;   i n s t e a d ,   K u b e r n e t e s   d e l e t e s   t h e   P o d   a n d   r e l i e s   o n   o t h e r   c o m p o n e n t s   t o   p r o v i d e   a u t o m a t i c   h e a l i n g .   I f   a   P o d   i s   s c h e d u l e d   t o   a   n o d e   a n d   t h a t   n o d e   t h e n   f a i l s ,   t h e   P o d   i s   t r e a t e d   a s   u n h e a l t h y   a n d   K u b e r n e t e s   e v e n t u a l l y   d e l e t e s   t h e   P o d .   A   P o d   w o n ' t   s u r v i v e   a n   e v i c t i o n   d u e   t o   a   l a c k   o f   r e s o u r c e s   o r   N o d e   m a i n t e n a n c e .   K u b e r n e t e s   u s e s   a   h i g h e r - l e v e l   a b s t r a c t i o n ,   c a l l e d   a   c o n t r o l l e r ,   t h a t   h a n d l e s   t h e   w o r k   o f   m a n a g i n g   t h e   r e l a t i v e l y   d i s p o s a b l e   P o d   i n s t a n c e s .   A   g i v e n   P o d   ( a s   d e f i n e d   b y   a   U I D )   i s   n e v e r   \" r e s c h e d u l e d \"   t o   a   d i f f e r e n t   n o d e ;   i n s t e a d ,   t h a t   P o d   c a n   b e   r e p l a c e d   b y   a   n e w ,   n e a r - i d e n t i c a l   P o d .   I f   y o u   m a k e   a   r e p l a c e m e n t   P o d ,   i t   c a n   e v e n   h a v e   s a m e   n a m e   ( a s   i n   . m e t a d a t a . n a m e )   t h a t   t h e   o l d   P o d   h a d ,   b u ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14415"
  },
  {
    "question": "What is Associated lifetimes?",
    "answer": "W h e n   s o m e t h i n g   i s   s a i d   t o   h a v e   t h e   s a m e   l i f e t i m e   a s   a   P o d ,   s u c h   a s   a   v o l u m e ,   t h a t   m e a n s   t h a t   t h e   t h i n g   e x i s t s   a s   l o n g   a s   t h a t   s p e c i f i c   P o d   ( w i t h   t h a t   e x a c t   U I D )   e x i s t s .   I f   t h a t   P o d   i s   d e l e t e d   f o r   a n y   r e a s o n ,   a n d   e v e n   i f   a n   i d e n t i c a l   r e p l a c e m e n t   i s   c r e a t e d ,   t h e   r e l a t e d   t h i n g   ( a   v o l u m e ,   i n   t h i s   e x a m p l e )   i s   a l s o   d e s t r o y e d   a n d   c r e a t e d   a n e w .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14416"
  },
  {
    "question": "What is Figure 1.?",
    "answer": "A   m u l t i - c o n t a i n e r   P o d   t h a t   c o n t a i n s   a   f i l e   p u l l e r   s i d e c a r   a n d   a   w e b   s e r v e r .   T h e   P o d   u s e s   a n   e p h e m e r a l   e m p t y D i r   v o l u m e   f o r   s h a r e d   s t o r a g e   b e t w e e n   t h e   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14417"
  },
  {
    "question": "What is Pod phase?",
    "answer": "A   P o d ' s   s t a t u s   f i e l d   i s   a   P o d S t a t u s   o b j e c t ,   w h i c h   h a s   a   p h a s e   f i e l d .   T h e   p h a s e   o f   a   P o d   i s   a   s i m p l e ,   h i g h - l e v e l   s u m m a r y   o f   w h e r e   t h e   P o d   i s   i n   i t s   l i f e c y c l e .   T h e   p h a s e   i s   n o t   i n t e n d e d   t o   b e   a   c o m p r e h e n s i v e   r o l l u p   o f   o b s e r v a t i o n s   o f   c o n t a i n e r   o r   P o d   s t a t e ,   n o r   i s   i t   i n t e n d e d   t o   b e   a   c o m p r e h e n s i v e   s t a t e   m a c h i n e .   T h e   n u m b e r   a n d   m e a n i n g s   o f   P o d   p h a s e   v a l u e s   a r e   t i g h t l y   g u a r d e d .   O t h e r   t h a n   w h a t   i s   d o c u m e n t e d   h e r e ,   n o t h i n g   s h o u l d   b e   a s s u m e d   a b o u t   P o d s   t h a t   h a v e   a   g i v e n   p h a s e   v a l u e .   H e r e   a r e   t h e   p o s s i b l e   v a l u e s   f o r   p h a s e :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14418"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   a   p o d   i s   f a i l i n g   t o   s t a r t   r e p e a t e d l y ,   C r a s h L o o p B a c k O f f   m a y   a p p e a r   i n   t h e   S t a t u s   f i e l d   o f   s o m e   k u b e c t l   c o m m a n d s .   S i m i l a r l y ,   w h e n   a   p o d   i s   b e i n g   d e l e t e d ,   T e r m i n a t i n g   m a y   a p p e a r   i n   t h e   S t a t u s   f i e l d   o f   s o m e   k u b e c t l   c o m m a n d s .   M a k e   s u r e   n o t   t o   c o n f u s e   S t a t u s ,   a   k u b e c t l   d i s p l a y   f i e l d   f o r   u s e r   i n t u i t i o n ,   w i t h   t h e   p o d ' s   p h a s e .   P o d   p h a s e   i s   a n   e x p l i c i t   p a r t   o f   t h e   K u b e r n e t e s   d a t a   m o d e l   a n d   o f   t h e   P o d   A P I .   N A M E S P A C E   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   a l e s s a n d r a s - n a m e s p a c e   a l e s s a n d r a s - p o d   0 / 1   C r a s h L o o p B a c k O f f   2 0 0   2 d 9 h   A   P o d   i s   g r a n t e d   a   t e r m   t o   t e r m i n a t e   g r a c e f u l l y ,   w h i c h   d e f a u l t s   t o   3 0   s e c o n d s .   Y o u   c a n   u s e   t h e   f l a g   - - f o r c e   t o   t e r m i n a t e   a   P o d   b y   f o r c e .   S i n c e   K u b e r n e t e s   1 . 2 7 ,   t h e   k u b e l e t   t r a n s i t i o n s   d e l e t e d   P o d s ,   e x c e p t   f o r   s t a t i c   P o d s   a n d   f o r c e - d e l e t e d   P o d s   w i t h o u t   a   f i n a l i z e r ,   t o   a   t e r m i n a l   p h a s e   ( F a i l e d   o r   S u c c e e d e d   d e p e n d i n g   o n   t h e   e x i t   s t a t u s e s   o f   t h e   p o d   c o n t a i n e r s )   b e f o r e   t h e i r   d e l e t i o n   f r o m   t h e   A P I   s e r v e r .   I f   a   n o d e   d i e s   o r   i s   d i s c o n n e c t e d   f r o m   t h e   r e s t   o f   t h e   c l u s t e r ,   K u b e r n e t e s   a p p l i e s   a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14419"
  },
  {
    "question": "What is Container states?",
    "answer": "A s   w e l l   a s   t h e   p h a s e   o f   t h e   P o d   o v e r a l l ,   K u b e r n e t e s   t r a c k s   t h e   s t a t e   o f   e a c h   c o n t a i n e r   i n s i d e   a   P o d .   Y o u   c a n   u s e   c o n t a i n e r   l i f e c y c l e   h o o k s   t o   t r i g g e r   e v e n t s   t o   r u n   a t   c e r t a i n   p o i n t s   i n   a   c o n t a i n e r ' s   l i f e c y c l e .   O n c e   t h e   s c h e d u l e r   a s s i g n s   a   P o d   t o   a   N o d e ,   t h e   k u b e l e t   s t a r t s   c r e a t i n g   c o n t a i n e r s   f o r   t h a t   P o d   u s i n g   a   c o n t a i n e r   r u n t i m e .   T h e r e   a r e   t h r e e   p o s s i b l e   c o n t a i n e r   s t a t e s :   W a i t i n g ,   R u n n i n g ,   a n d   T e r m i n a t e d .   T o   c h e c k   t h e   s t a t e   o f   a   P o d ' s   c o n t a i n e r s ,   y o u   c a n   u s e   k u b e c t l   d e s c r i b e   p o d   < n a m e - o f - p o d > .   T h e   o u t p u t   s h o w s   t h e   s t a t e   f o r   e a c h   c o n t a i n e r   w i t h i n   t h a t   P o d .   E a c h   s t a t e   h a s   a   s p e c i f i c   m e a n i n g :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14420"
  },
  {
    "question": "What is Waiting?",
    "answer": "I f   a   c o n t a i n e r   i s   n o t   i n   e i t h e r   t h e   R u n n i n g   o r   T e r m i n a t e d   s t a t e ,   i t   i s   W a i t i n g .   A   c o n t a i n e r   i n   t h e   W a i t i n g   s t a t e   i s   s t i l l   r u n n i n g   t h e   o p e r a t i o n s   i t   r e q u i r e s   i n   o r d e r   t o   c o m p l e t e   s t a r t   u p :   f o r   e x a m p l e ,   p u l l i n g   t h e   c o n t a i n e r   i m a g e   f r o m   a   c o n t a i n e r   i m a g e   r e g i s t r y ,   o r   a p p l y i n g   S e c r e t   d a t a .   W h e n   y o u   u s e   k u b e c t l   t o   q u e r y   a   P o d   w i t h   a   c o n t a i n e r   t h a t   i s   W a i t i n g ,   y o u   a l s o   s e e   a   R e a s o n   f i e l d   t o   s u m m a r i z e   w h y   t h e   c o n t a i n e r   i s   i n   t h a t   s t a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14421"
  },
  {
    "question": "What is Running?",
    "answer": "T h e   R u n n i n g   s t a t u s   i n d i c a t e s   t h a t   a   c o n t a i n e r   i s   e x e c u t i n g   w i t h o u t   i s s u e s .   I f   t h e r e   w a s   a   p o s t S t a r t   h o o k   c o n f i g u r e d ,   i t   h a s   a l r e a d y   e x e c u t e d   a n d   f i n i s h e d .   W h e n   y o u   u s e   k u b e c t l   t o   q u e r y   a   P o d   w i t h   a   c o n t a i n e r   t h a t   i s   R u n n i n g ,   y o u   a l s o   s e e   i n f o r m a t i o n   a b o u t   w h e n   t h e   c o n t a i n e r   e n t e r e d   t h e   R u n n i n g   s t a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14422"
  },
  {
    "question": "What is Terminated?",
    "answer": "A   c o n t a i n e r   i n   t h e   T e r m i n a t e d   s t a t e   b e g a n   e x e c u t i o n   a n d   t h e n   e i t h e r   r a n   t o   c o m p l e t i o n   o r   f a i l e d   f o r   s o m e   r e a s o n .   W h e n   y o u   u s e   k u b e c t l   t o   q u e r y   a   P o d   w i t h   a   c o n t a i n e r   t h a t   i s   T e r m i n a t e d ,   y o u   s e e   a   r e a s o n ,   a n   e x i t   c o d e ,   a n d   t h e   s t a r t   a n d   f i n i s h   t i m e   f o r   t h a t   c o n t a i n e r ' s   p e r i o d   o f   e x e c u t i o n .   I f   a   c o n t a i n e r   h a s   a   p r e S t o p   h o o k   c o n f i g u r e d ,   t h i s   h o o k   r u n s   b e f o r e   t h e   c o n t a i n e r   e n t e r s   t h e   T e r m i n a t e d   s t a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14423"
  },
  {
    "question": "What is How Pods handle problems with containers?",
    "answer": "K u b e r n e t e s   m a n a g e s   c o n t a i n e r   f a i l u r e s   w i t h i n   P o d s   u s i n g   a   r e s t a r t P o l i c y   d e f i n e d   i n   t h e   P o d   s p e c .   T h i s   p o l i c y   d e t e r m i n e s   h o w   K u b e r n e t e s   r e a c t s   t o   c o n t a i n e r s   e x i t i n g   d u e   t o   e r r o r s   o r   o t h e r   r e a s o n s ,   w h i c h   f a l l s   i n   t h e   f o l l o w i n g   s e q u e n c e :   I n i t i a l   c r a s h :   K u b e r n e t e s   a t t e m p t s   a n   i m m e d i a t e   r e s t a r t   b a s e d   o n   t h e   P o d   r e s t a r t P o l i c y . R e p e a t e d   c r a s h e s :   A f t e r   t h e   i n i t i a l   c r a s h   K u b e r n e t e s   a p p l i e s   a n   e x p o n e n t i a l   b a c k o f f   d e l a y   f o r   s u b s e q u e n t   r e s t a r t s ,   d e s c r i b e d   i n   r e s t a r t P o l i c y .   T h i s   p r e v e n t s   r a p i d ,   r e p e a t e d   r e s t a r t   a t t e m p t s   f r o m   o v e r l o a d i n g   t h e   s y s t e m . C r a s h L o o p B a c k O f f   s t a t e :   T h i s   i n d i c a t e s   t h a t   t h e   b a c k o f f   d e l a y   m e c h a n i s m   i s   c u r r e n t l y   i n   e f f e c t   f o r   a   g i v e n   c o n t a i n e r   t h a t   i s   i n   a   c r a s h   l o o p ,   f a i l i n g   a n d   r e s t a r t i n g   r e p e a t e d l y . B a c k o f f   r e s e t :   I f   a   c o n t a i n e r   r u n s   s u c c e s s f u l l y   f o r   a   c e r t a i n   d u r a t i o n   ( e . g . ,   1 0   m i n u t e s ) ,   K u b e r n e t e s   r e s e t s   t h e   b a c k o f f   d e l a y ,   t r e a t i n g   a n y   n e w   c r a s h   a s   t h e   f i r s t   o n e .   I n   p r a c t i c e ,   a   C r a s h L o o p B a c k O f f   i s   a   c o n d i t i o n   o r   e v e n t   t h a t   m i g h t   b e   s e e n   a s   o u t p u t   f r o m   t h e   k u b e c t l   c o m m a n d ,   w h i l ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14424"
  },
  {
    "question": "What is Container restarts?",
    "answer": "W h e n   a   c o n t a i n e r   i n   y o u r   P o d   s t o p s ,   o r   e x p e r i e n c e s   f a i l u r e ,   K u b e r n e t e s   c a n   r e s t a r t   i t .   A   r e s t a r t   i s n ' t   a l w a y s   a p p r o p r i a t e ;   f o r   e x a m p l e ,   i n i t   c o n t a i n e r s   r u n   o n l y   o n c e ,   d u r i n g   P o d   s t a r t u p .   Y o u   c a n   c o n f i g u r e   r e s t a r t s   a s   a   p o l i c y   t h a t   a p p l i e s   t o   a l l   P o d s ,   o r   u s i n g   c o n t a i n e r - l e v e l   c o n f i g u r a t i o n   ( f o r   e x a m p l e :   w h e n   y o u   d e f i n e   a   s i d e c a r   c o n t a i n e r ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14425"
  },
  {
    "question": "What is Container restarts and resilience?",
    "answer": "T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   f o l l o w i n g   c l o u d - n a t i v e   p r i n c i p l e s ,   i n c l u d i n g   r e s i l i e n t   d e s i g n   t h a t   a c c o u n t s   f o r   u n a n n o u n c e d   o r   a r b i t r a r y   r e s t a r t s .   Y o u   c a n   a c h i e v e   t h i s   e i t h e r   b y   f a i l i n g   t h e   P o d   a n d   r e l y i n g   o n   a u t o m a t i c   r e p l a c e m e n t ,   o r   y o u   c a n   d e s i g n   f o r   c o n t a i n e r - l e v e l   r e s i l i e n c e .   E i t h e r   a p p r o a c h   h e l p s   t o   e n s u r e   t h a t   y o u r   o v e r a l l   w o r k l o a d   r e m a i n s   a v a i l a b l e   d e s p i t e   p a r t i a l   f a i l u r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14426"
  },
  {
    "question": "What is Pod-level container restart policy?",
    "answer": "T h e   s p e c   o f   a   P o d   h a s   a   r e s t a r t P o l i c y   f i e l d   w i t h   p o s s i b l e   v a l u e s   A l w a y s ,   O n F a i l u r e ,   a n d   N e v e r .   T h e   d e f a u l t   v a l u e   i s   A l w a y s .   T h e   r e s t a r t P o l i c y   f o r   a   P o d   a p p l i e s   t o   a p p   c o n t a i n e r s   i n   t h e   P o d   a n d   t o   r e g u l a r   i n i t   c o n t a i n e r s .   S i d e c a r   c o n t a i n e r s   i g n o r e   t h e   P o d - l e v e l   r e s t a r t P o l i c y   f i e l d :   i n   K u b e r n e t e s ,   a   s i d e c a r   i s   d e f i n e d   a s   a n   e n t r y   i n s i d e   i n i t C o n t a i n e r s   t h a t   h a s   i t s   c o n t a i n e r - l e v e l   r e s t a r t P o l i c y   s e t   t o   A l w a y s .   F o r   i n i t   c o n t a i n e r s   t h a t   e x i t   w i t h   a n   e r r o r ,   t h e   k u b e l e t   r e s t a r t s   t h e   i n i t   c o n t a i n e r   i f   t h e   P o d   l e v e l   r e s t a r t P o l i c y   i s   e i t h e r   O n F a i l u r e   o r   A l w a y s :   A l w a y s :   A u t o m a t i c a l l y   r e s t a r t s   t h e   c o n t a i n e r   a f t e r   a n y   t e r m i n a t i o n . O n F a i l u r e :   O n l y   r e s t a r t s   t h e   c o n t a i n e r   i f   i t   e x i t s   w i t h   a n   e r r o r   ( n o n - z e r o   e x i t   s t a t u s ) . N e v e r :   D o e s   n o t   a u t o m a t i c a l l y   r e s t a r t   t h e   t e r m i n a t e d   c o n t a i n e r .   W h e n   t h e   k u b e l e t   i s   h a n d l i n g   c o n t a i n e r   r e s t a r t s   a c c o r d i n g   t o   t h e   c o n f i g u r e d   r e s t a r t   p o l i c y ,   t h a t   o n l y   a p p l i e s   t o   r e s t a r t s   t h a t   m a k e   r e p l a c e m e n t   c o n t a i n e r s   i n s i d e   t h e   s a m e   P o d   a n d   r u n n i n g   o n   t h e   s a m e   n o d e .   A f t e r   c o n t a i n e r s   i n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14427"
  },
  {
    "question": "What is Individual container restart policy and rules?",
    "answer": "I f   y o u r   c l u s t e r   h a s   t h e   f e a t u r e   g a t e   C o n t a i n e r R e s t a r t R u l e s   e n a b l e d ,   y o u   c a n   s p e c i f y   r e s t a r t P o l i c y   a n d   r e s t a r t P o l i c y R u l e s   o n   i n d i v i d u a l   c o n t a i n e r s   t o   o v e r r i d e   t h e   P o d   r e s t a r t   p o l i c y .   C o n t a i n e r   r e s t a r t   p o l i c y   a n d   r u l e s   a p p l i e s   t o   a p p   c o n t a i n e r s   i n   t h e   P o d   a n d   t o   r e g u l a r   i n i t   c o n t a i n e r s .   A   K u b e r n e t e s - n a t i v e   s i d e c a r   c o n t a i n e r   h a s   i t s   c o n t a i n e r - l e v e l   r e s t a r t P o l i c y   s e t   t o   A l w a y s ,   a n d   d o e s   n o t   s u p p o r t   r e s t a r t P o l i c y R u l e s .   T h e   c o n t a i n e r   r e s t a r t s   w i l l   f o l l o w   t h e   s a m e   e x p o n e n t i a l   b a c k o f f   a s   p o d   r e s t a r t   p o l i c y   d e s c r i b e d   a b o v e .   S u p p o r t e d   c o n t a i n e r   r e s t a r t   p o l i c i e s :   A l w a y s :   A u t o m a t i c a l l y   r e s t a r t s   t h e   c o n t a i n e r   a f t e r   a n y   t e r m i n a t i o n . O n F a i l u r e :   O n l y   r e s t a r t s   t h e   c o n t a i n e r   i f   i t   e x i t s   w i t h   a n   e r r o r   ( n o n - z e r o   e x i t   s t a t u s ) . N e v e r :   D o e s   n o t   a u t o m a t i c a l l y   r e s t a r t   t h e   t e r m i n a t e d   c o n t a i n e r .   A d d i t i o n a l l y ,   i n d i v i d u a l   c o n t a i n e r s   c a n   s p e c i f y   r e s t a r t P o l i c y R u l e s .   I f   t h e   r e s t a r t P o l i c y R u l e s   f i e l d   i s   s p e c i f i e d ,   t h e n   c o n t a i n e r   r e s t a r t P o l i c y   m u s t   a l s o   b e   s p e c i f i e d .   T h e   r e s t a r t P o l i c y R u l e s   d e f i n e   a   l i s t   o f   r u l e s   t o   a p p l y   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14428"
  },
  {
    "question": "What is Reduced container restart delay?",
    "answer": "W i t h   t h e   a l p h a   f e a t u r e   g a t e   R e d u c e D e f a u l t C r a s h L o o p B a c k O f f D e c a y   e n a b l e d ,   c o n t a i n e r   s t a r t   r e t r i e s   a c r o s s   y o u r   c l u s t e r   w i l l   b e   r e d u c e d   t o   b e g i n   a t   1 s   ( i n s t e a d   o f   1 0 s )   a n d   i n c r e a s e   e x p o n e n t i a l l y   b y   2 x   e a c h   r e s t a r t   u n t i l   a   m a x i m u m   d e l a y   o f   6 0 s   ( i n s t e a d   o f   3 0 0 s   w h i c h   i s   5   m i n u t e s ) .   I f   y o u   u s e   t h i s   f e a t u r e   a l o n g   w i t h   t h e   a l p h a   f e a t u r e   K u b e l e t C r a s h L o o p B a c k O f f M a x   ( d e s c r i b e d   b e l o w ) ,   i n d i v i d u a l   n o d e s   m a y   h a v e   d i f f e r e n t   m a x i m u m   d e l a y s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14429"
  },
  {
    "question": "What is Configurable container restart delay?",
    "answer": "W i t h   t h e   a l p h a   f e a t u r e   g a t e   K u b e l e t C r a s h L o o p B a c k O f f M a x   e n a b l e d ,   y o u   c a n   r e c o n f i g u r e   t h e   m a x i m u m   d e l a y   b e t w e e n   c o n t a i n e r   s t a r t   r e t r i e s   f r o m   t h e   d e f a u l t   o f   3 0 0 s   ( 5   m i n u t e s ) .   T h i s   c o n f i g u r a t i o n   i s   s e t   p e r   n o d e   u s i n g   k u b e l e t   c o n f i g u r a t i o n .   I n   y o u r   k u b e l e t   c o n f i g u r a t i o n ,   u n d e r   c r a s h L o o p B a c k O f f   s e t   t h e   m a x C o n t a i n e r R e s t a r t P e r i o d   f i e l d   b e t w e e n   \" 1 s \"   a n d   \" 3 0 0 s \" .   A s   d e s c r i b e d   a b o v e   i n   C o n t a i n e r   r e s t a r t   p o l i c y ,   d e l a y s   o n   t h a t   n o d e   w i l l   s t i l l   s t a r t   a t   1 0 s   a n d   i n c r e a s e   e x p o n e n t i a l l y   b y   2 x   e a c h   r e s t a r t ,   b u t   w i l l   n o w   b e   c a p p e d   a t   y o u r   c o n f i g u r e d   m a x i m u m .   I f   t h e   m a x C o n t a i n e r R e s t a r t P e r i o d   y o u   c o n f i g u r e   i s   l e s s   t h a n   t h e   d e f a u l t   i n i t i a l   v a l u e   o f   1 0 s ,   t h e   i n i t i a l   d e l a y   w i l l   i n s t e a d   b e   s e t   t o   t h e   c o n f i g u r e d   m a x i m u m .   S e e   t h e   f o l l o w i n g   k u b e l e t   c o n f i g u r a t i o n   e x a m p l e s :   #   c o n t a i n e r   r e s t a r t   d e l a y s   w i l l   s t a r t   a t   1 0 s ,   i n c r e a s i n g   #   2 x   e a c h   t i m e   t h e y   a r e   r e s t a r t e d ,   t o   a   m a x i m u m   o f   1 0 0 s   k i n d :   K u b e l e t C o n f i g u r a t i o n   c r a s h L o o p B a c k O f f :   m a x C o n t a i n e r R e s t a r t P e r i o d :   \" 1 0 0 s \"   #   d e l a y s   b e t w e e n   c o n t a i n e r   r e s t a r t s   w i l l   a l w a y s   b e   2 s   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14430"
  },
  {
    "question": "What is Pod conditions?",
    "answer": "A   P o d   h a s   a   P o d S t a t u s ,   w h i c h   h a s   a n   a r r a y   o f   P o d C o n d i t i o n s   t h r o u g h   w h i c h   t h e   P o d   h a s   o r   h a s   n o t   p a s s e d .   K u b e l e t   m a n a g e s   t h e   f o l l o w i n g   P o d C o n d i t i o n s :   P o d S c h e d u l e d :   t h e   P o d   h a s   b e e n   s c h e d u l e d   t o   a   n o d e . P o d R e a d y T o S t a r t C o n t a i n e r s :   ( b e t a   f e a t u r e ;   e n a b l e d   b y   d e f a u l t )   t h e   P o d   s a n d b o x   h a s   b e e n   s u c c e s s f u l l y   c r e a t e d   a n d   n e t w o r k i n g   c o n f i g u r e d . C o n t a i n e r s R e a d y :   a l l   c o n t a i n e r s   i n   t h e   P o d   a r e   r e a d y . I n i t i a l i z e d :   a l l   i n i t   c o n t a i n e r s   h a v e   c o m p l e t e d   s u c c e s s f u l l y . R e a d y :   t h e   P o d   i s   a b l e   t o   s e r v e   r e q u e s t s   a n d   s h o u l d   b e   a d d e d   t o   t h e   l o a d   b a l a n c i n g   p o o l s   o f   a l l   m a t c h i n g   S e r v i c e s . D i s r u p t i o n T a r g e t :   t h e   p o d   i s   a b o u t   t o   b e   t e r m i n a t e d   d u e   t o   a   d i s r u p t i o n   ( s u c h   a s   p r e e m p t i o n ,   e v i c t i o n   o r   g a r b a g e - c o l l e c t i o n ) . P o d R e s i z e P e n d i n g :   a   p o d   r e s i z e   w a s   r e q u e s t e d   b u t   c a n n o t   b e   a p p l i e d .   S e e   P o d   r e s i z e   s t a t u s . P o d R e s i z e I n P r o g r e s s :   t h e   p o d   i s   i n   t h e   p r o c e s s   o f   r e s i z i n g .   S e e   P o d   r e s i z e   s t a t u s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14431"
  },
  {
    "question": "What is Pod readiness?",
    "answer": "Y o u r   a p p l i c a t i o n   c a n   i n j e c t   e x t r a",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14432"
  },
  {
    "question": "What is Status for Pod readiness?",
    "answer": "T h e   k u b e c t l   p a t c h   c o m m a n d   d o e s   n o t   s u p p o r t   p a t c h i n g   o b j e c t   s t a t u s .   T o   s e t   t h e s e   s t a t u s . c o n d i t i o n s   f o r   t h e   P o d ,   a p p l i c a t i o n s   a n d   o p e r a t o r s   s h o u l d   u s e   t h e   P A T C H   a c t i o n .   Y o u   c a n   u s e   a   K u b e r n e t e s   c l i e n t   l i b r a r y   t o   w r i t e   c o d e   t h a t   s e t s   c u s t o m   P o d   c o n d i t i o n s   f o r   P o d   r e a d i n e s s .   F o r   a   P o d   t h a t   u s e s   c u s t o m   c o n d i t i o n s ,   t h a t   P o d   i s   e v a l u a t e d   t o   b e   r e a d y   o n l y   w h e n   b o t h   t h e   f o l l o w i n g   s t a t e m e n t s   a p p l y :   A l l   c o n t a i n e r s   i n   t h e   P o d   a r e   r e a d y . A l l   c o n d i t i o n s   s p e c i f i e d   i n   r e a d i n e s s G a t e s   a r e   T r u e .   W h e n   a   P o d ' s   c o n t a i n e r s   a r e   R e a d y   b u t   a t   l e a s t   o n e   c u s t o m   c o n d i t i o n   i s   m i s s i n g   o r   F a l s e ,   t h e   k u b e l e t   s e t s   t h e   P o d ' s   c o n d i t i o n   t o   C o n t a i n e r s R e a d y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14433"
  },
  {
    "question": "What is Note:?",
    "answer": "A f t e r   a   P o d   g e t s   s c h e d u l e d   o n   a   n o d e ,   i t   n e e d s   t o   b e   a d m i t t e d   b y   t h e   k u b e l e t   a n d   t o   h a v e   a n y   r e q u i r e d   s t o r a g e   v o l u m e s   m o u n t e d .   O n c e   t h e s e   p h a s e s   a r e   c o m p l e t e ,   t h e   k u b e l e t   w o r k s   w i t h   a   c o n t a i n e r   r u n t i m e   ( u s i n g   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I ) )   t o   s e t   u p   a   r u n t i m e   s a n d b o x   a n d   c o n f i g u r e   n e t w o r k i n g   f o r   t h e   P o d .   I f   t h e   P o d R e a d y T o S t a r t C o n t a i n e r s C o n d i t i o n   f e a t u r e   g a t e   i s   e n a b l e d   ( i t   i s   e n a b l e d   b y   d e f a u l t   f o r   K u b e r n e t e s   1 . 3 4 ) ,   t h e   P o d R e a d y T o S t a r t C o n t a i n e r s   c o n d i t i o n   w i l l   b e   a d d e d   t o   t h e   s t a t u s . c o n d i t i o n s   f i e l d   o f   a   P o d .   T h e   P o d R e a d y T o S t a r t C o n t a i n e r s   c o n d i t i o n   i s   s e t   t o   F a l s e   b y   t h e   K u b e l e t   w h e n   i t   d e t e c t s   a   P o d   d o e s   n o t   h a v e   a   r u n t i m e   s a n d b o x   w i t h   n e t w o r k i n g   c o n f i g u r e d .   T h i s   o c c u r s   i n   t h e   f o l l o w i n g   s c e n a r i o s :   E a r l y   i n   t h e   l i f e c y c l e   o f   t h e   P o d ,   w h e n   t h e   k u b e l e t   h a s   n o t   y e t   b e g u n   t o   s e t   u p   a   s a n d b o x   f o r   t h e   P o d   u s i n g   t h e   c o n t a i n e r   r u n t i m e . L a t e r   i n   t h e   l i f e c y c l e   o f   t h e   P o d ,   w h e n   t h e   P o d   s a n d b o x   h a s   b e e n   d e s t r o y e d   d u e   t o   e i t h e r : t h e   n o d e   r e b o o t i n g ,   w i t h o u t   t h e   P o d   g e t t i n g   e v i c t e d f o r   c o n t a i n e r   r u n t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14434"
  },
  {
    "question": "What is Container probes?",
    "answer": "A   p r o b e   i s   a   d i a g n o s t i c   p e r f o r m e d   p e r i o d i c a l l y   b y   t h e   k u b e l e t   o n   a   c o n t a i n e r .   T o   p e r f o r m   a   d i a g n o s t i c ,   t h e   k u b e l e t   e i t h e r   e x e c u t e s   c o d e   w i t h i n   t h e   c o n t a i n e r ,   o r   m a k e s   a   n e t w o r k   r e q u e s t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14435"
  },
  {
    "question": "What is Check mechanisms?",
    "answer": "T h e r e   a r e   f o u r   d i f f e r e n t   w a y s   t o   c h e c k   a   c o n t a i n e r   u s i n g   a   p r o b e .   E a c h   p r o b e   m u s t   d e f i n e   e x a c t l y   o n e   o f   t h e s e   f o u r   m e c h a n i s m s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14436"
  },
  {
    "question": "What is Probe outcome?",
    "answer": "E a c h   p r o b e   h a s   o n e   o f   t h r e e   r e s u l t s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14437"
  },
  {
    "question": "What is Types of probe?",
    "answer": "T h e   k u b e l e t   c a n   o p t i o n a l l y   p e r f o r m   a n d   r e a c t   t o   t h r e e   k i n d s   o f   p r o b e s   o n   r u n n i n g   c o n t a i n e r s :   F o r   m o r e   i n f o r m a t i o n   a b o u t   h o w   t o   s e t   u p   a   l i v e n e s s ,   r e a d i n e s s ,   o r   s t a r t u p   p r o b e ,   s e e   C o n f i g u r e   L i v e n e s s ,   R e a d i n e s s   a n d   S t a r t u p   P r o b e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14438"
  },
  {
    "question": "What is When should you use a liveness probe??",
    "answer": "I f   t h e   p r o c e s s   i n   y o u r   c o n t a i n e r   i s   a b l e   t o   c r a s h   o n   i t s   o w n   w h e n e v e r   i t   e n c o u n t e r s   a n   i s s u e   o r   b e c o m e s   u n h e a l t h y ,   y o u   d o   n o t   n e c e s s a r i l y   n e e d   a   l i v e n e s s   p r o b e ;   t h e   k u b e l e t   w i l l   a u t o m a t i c a l l y   p e r f o r m   t h e   c o r r e c t   a c t i o n   i n   a c c o r d a n c e   w i t h   t h e   P o d ' s   r e s t a r t P o l i c y .   I f   y o u ' d   l i k e   y o u r   c o n t a i n e r   t o   b e   k i l l e d   a n d   r e s t a r t e d   i f   a   p r o b e   f a i l s ,   t h e n   s p e c i f y   a   l i v e n e s s   p r o b e ,   a n d   s p e c i f y   a   r e s t a r t P o l i c y   o f   A l w a y s   o r   O n F a i l u r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14439"
  },
  {
    "question": "What is When should you use a readiness probe??",
    "answer": "I f   y o u ' d   l i k e   t o   s t a r t   s e n d i n g   t r a f f i c   t o   a   P o d   o n l y   w h e n   a   p r o b e   s u c c e e d s ,   s p e c i f y   a   r e a d i n e s s   p r o b e .   I n   t h i s   c a s e ,   t h e   r e a d i n e s s   p r o b e   m i g h t   b e   t h e   s a m e   a s   t h e   l i v e n e s s   p r o b e ,   b u t   t h e   e x i s t e n c e   o f   t h e   r e a d i n e s s   p r o b e   i n   t h e   s p e c   m e a n s   t h a t   t h e   P o d   w i l l   s t a r t   w i t h o u t   r e c e i v i n g   a n y   t r a f f i c   a n d   o n l y   s t a r t   r e c e i v i n g   t r a f f i c   a f t e r   t h e   p r o b e   s t a r t s   s u c c e e d i n g .   I f   y o u   w a n t   y o u r   c o n t a i n e r   t o   b e   a b l e   t o   t a k e   i t s e l f   d o w n   f o r   m a i n t e n a n c e ,   y o u   c a n   s p e c i f y   a   r e a d i n e s s   p r o b e   t h a t   c h e c k s   a n   e n d p o i n t   s p e c i f i c   t o   r e a d i n e s s   t h a t   i s   d i f f e r e n t   f r o m   t h e   l i v e n e s s   p r o b e .   I f   y o u r   a p p   h a s   a   s t r i c t   d e p e n d e n c y   o n   b a c k - e n d   s e r v i c e s ,   y o u   c a n   i m p l e m e n t   b o t h   a   l i v e n e s s   a n d   a   r e a d i n e s s   p r o b e .   T h e   l i v e n e s s   p r o b e   p a s s e s   w h e n   t h e   a p p   i t s e l f   i s   h e a l t h y ,   b u t   t h e   r e a d i n e s s   p r o b e   a d d i t i o n a l l y   c h e c k s   t h a t   e a c h   r e q u i r e d   b a c k - e n d   s e r v i c e   i s   a v a i l a b l e .   T h i s   h e l p s   y o u   a v o i d   d i r e c t i n g   t r a f f i c   t o   P o d s   t h a t   c a n   o n l y   r e s p o n d   w i t h   e r r o r   m e s s a g e s .   I f   y o u r   c o n t a i n e r   n e e d s   t o   w o r k   o n   l o a d i n g   l a r g e   d a t a ,   c o n f i g u r a t i o n   f i l e s ,   o r   m i g r a t i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14440"
  },
  {
    "question": "What is When should you use a startup probe??",
    "answer": "S t a r t u p   p r o b e s   a r e   u s e f u l   f o r   P o d s   t h a t   h a v e   c o n t a i n e r s   t h a t   t a k e   a   l o n g   t i m e   t o   c o m e   i n t o   s e r v i c e .   R a t h e r   t h a n   s e t   a   l o n g   l i v e n e s s   i n t e r v a l ,   y o u   c a n   c o n f i g u r e   a   s e p a r a t e   c o n f i g u r a t i o n   f o r   p r o b i n g   t h e   c o n t a i n e r   a s   i t   s t a r t s   u p ,   a l l o w i n g   a   t i m e   l o n g e r   t h a n   t h e   l i v e n e s s   i n t e r v a l   w o u l d   a l l o w .   I f   y o u r   c o n t a i n e r   u s u a l l y   s t a r t s   i n   m o r e   t h a n   \\ (   i n i t i a l D e l a y S e c o n d s   +   f a i l u r e T h r e s h o l d   \\ t i m e s   p e r i o d S e c o n d s   \\ ) ,   y o u   s h o u l d   s p e c i f y   a   s t a r t u p   p r o b e   t h a t   c h e c k s   t h e   s a m e   e n d p o i n t   a s   t h e   l i v e n e s s   p r o b e .   T h e   d e f a u l t   f o r   p e r i o d S e c o n d s   i s   1 0 s .   Y o u   s h o u l d   t h e n   s e t   i t s   f a i l u r e T h r e s h o l d   h i g h   e n o u g h   t o   a l l o w   t h e   c o n t a i n e r   t o   s t a r t ,   w i t h o u t   c h a n g i n g   t h e   d e f a u l t   v a l u e s   o f   t h e   l i v e n e s s   p r o b e .   T h i s   h e l p s   t o   p r o t e c t   a g a i n s t   d e a d l o c k s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14441"
  },
  {
    "question": "What is Termination of Pods?",
    "answer": "B e c a u s e   P o d s   r e p r e s e n t   p r o c e s s e s   r u n n i n g   o n   n o d e s   i n   t h e   c l u s t e r ,   i t   i s   i m p o r t a n t   t o   a l l o w   t h o s e   p r o c e s s e s   t o   g r a c e f u l l y   t e r m i n a t e   w h e n   t h e y   a r e   n o   l o n g e r   n e e d e d   ( r a t h e r   t h a n   b e i n g   a b r u p t l y   s t o p p e d   w i t h   a   K I L L   s i g n a l   a n d   h a v i n g   n o   c h a n c e   t o   c l e a n   u p ) .   T h e   d e s i g n   a i m   i s   f o r   y o u   t o   b e   a b l e   t o   r e q u e s t   d e l e t i o n   a n d   k n o w   w h e n   p r o c e s s e s   t e r m i n a t e ,   b u t   a l s o   b e   a b l e   t o   e n s u r e   t h a t   d e l e t e s   e v e n t u a l l y   c o m p l e t e .   W h e n   y o u   r e q u e s t   d e l e t i o n   o f   a   P o d ,   t h e   c l u s t e r   r e c o r d s   a n d   t r a c k s   t h e   i n t e n d e d   g r a c e   p e r i o d   b e f o r e   t h e   P o d   i s   a l l o w e d   t o   b e   f o r c e f u l l y   k i l l e d .   W i t h   t h a t   f o r c e f u l   s h u t d o w n   t r a c k i n g   i n   p l a c e ,   t h e   k u b e l e t   a t t e m p t s   g r a c e f u l   s h u t d o w n .   T y p i c a l l y ,   w i t h   t h i s   g r a c e f u l   t e r m i n a t i o n   o f   t h e   p o d ,   k u b e l e t   m a k e s   r e q u e s t s   t o   t h e   c o n t a i n e r   r u n t i m e   t o   a t t e m p t   t o   s t o p   t h e   c o n t a i n e r s   i n   t h e   p o d   b y   f i r s t   s e n d i n g   a   T E R M   ( a k a .   S I G T E R M )   s i g n a l ,   w i t h   a   g r a c e   p e r i o d   t i m e o u t ,   t o   t h e   m a i n   p r o c e s s   i n   e a c h   c o n t a i n e r .   T h e   r e q u e s t s   t o   s t o p   t h e   c o n t a i n e r s   a r e   p r o c e s s e d   b y   t h e   c o n t a i n e r   r u n t i m e   a s y n c h r o n o u s l y .   T h e r e   i s   n o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14442"
  },
  {
    "question": "What is Stop Signals?",
    "answer": "T h e   s t o p   s i g n a l   u s e d   t o   k i l l   t h e   c o n t a i n e r   c a n   b e   d e f i n e d   i n   t h e   c o n t a i n e r   i m a g e   w i t h   t h e   S T O P S I G N A L   i n s t r u c t i o n .   I f   n o   s t o p   s i g n a l   i s   d e f i n e d   i n   t h e   i m a g e ,   t h e   d e f a u l t   s i g n a l   o f   t h e   c o n t a i n e r   r u n t i m e   ( S I G T E R M   f o r   b o t h   c o n t a i n e r d   a n d   C R I - O )   w o u l d   b e   u s e d   t o   k i l l   t h e   c o n t a i n e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14443"
  },
  {
    "question": "What is Defining custom stop signals?",
    "answer": "I f   t h e   C o n t a i n e r S t o p S i g n a l s   f e a t u r e   g a t e   i s   e n a b l e d ,   y o u   c a n   c o n f i g u r e   a   c u s t o m   s t o p   s i g n a l   f o r   y o u r   c o n t a i n e r s   f r o m   t h e   c o n t a i n e r   L i f e c y c l e .   W e   r e q u i r e   t h e   P o d ' s   s p e c . o s . n a m e   f i e l d   t o   b e   p r e s e n t   a s   a   r e q u i r e m e n t   f o r   d e f i n i n g   s t o p   s i g n a l s   i n   t h e   c o n t a i n e r   l i f e c y c l e .   T h e   l i s t   o f   s i g n a l s   t h a t   a r e   v a l i d   d e p e n d s   o n   t h e   O S   t h e   P o d   i s   s c h e d u l e d   t o .   F o r   P o d s   s c h e d u l e d   t o   W i n d o w s   n o d e s ,   w e   o n l y   s u p p o r t   S I G T E R M   a n d   S I G K I L L   a s   v a l i d   s i g n a l s .   H e r e   i s   a n   e x a m p l e   P o d   s p e c   d e f i n i n g   a   c u s t o m   s t o p   s i g n a l :   s p e c :   o s :   n a m e :   l i n u x   c o n t a i n e r s :   -   n a m e :   m y - c o n t a i n e r   i m a g e :   c o n t a i n e r - i m a g e : l a t e s t   l i f e c y c l e :   s t o p S i g n a l :   S I G U S R 1   I f   a   s t o p   s i g n a l   i s   d e f i n e d   i n   t h e   l i f e c y c l e ,   t h i s   w i l l   o v e r r i d e   t h e   s i g n a l   d e f i n e d   i n   t h e   c o n t a i n e r   i m a g e .   I f   n o   s t o p   s i g n a l   i s   d e f i n e d   i n   t h e   c o n t a i n e r   s p e c ,   t h e   c o n t a i n e r   w o u l d   f a l l   b a c k   t o   t h e   d e f a u l t   b e h a v i o r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14444"
  },
  {
    "question": "What is Pod Termination Flow?",
    "answer": "P o d   t e r m i n a t i o n   f l o w ,   i l l u s t r a t e d   w i t h   a n   e x a m p l e :   Y o u   u s e   t h e   k u b e c t l   t o o l   t o   m a n u a l l y   d e l e t e   a   s p e c i f i c   P o d ,   w i t h   t h e   d e f a u l t   g r a c e   p e r i o d   ( 3 0   s e c o n d s ) . T h e   P o d   i n   t h e   A P I   s e r v e r   i s   u p d a t e d   w i t h   t h e   t i m e   b e y o n d   w h i c h   t h e   P o d   i s   c o n s i d e r e d   \" d e a d \"   a l o n g   w i t h   t h e   g r a c e   p e r i o d .   I f   y o u   u s e   k u b e c t l   d e s c r i b e   t o   c h e c k   t h e   P o d   y o u ' r e   d e l e t i n g ,   t h a t   P o d   s h o w s   u p   a s   \" T e r m i n a t i n g \" .   O n   t h e   n o d e   w h e r e   t h e   P o d   i s   r u n n i n g :   a s   s o o n   a s   t h e   k u b e l e t   s e e s   t h a t   a   P o d   h a s   b e e n   m a r k e d   a s   t e r m i n a t i n g   ( a   g r a c e f u l   s h u t d o w n   d u r a t i o n   h a s   b e e n   s e t ) ,   t h e   k u b e l e t   b e g i n s   t h e   l o c a l   P o d   s h u t d o w n   p r o c e s s . I f   o n e   o f   t h e   P o d ' s   c o n t a i n e r s   h a s   d e f i n e d   a   p r e S t o p   h o o k   a n d   t h e   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   i n   t h e   P o d   s p e c   i s   n o t   s e t   t o   0 ,   t h e   k u b e l e t   r u n s   t h a t   h o o k   i n s i d e   o f   t h e   c o n t a i n e r .   T h e   d e f a u l t   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   s e t t i n g   i s   3 0   s e c o n d s . I f   t h e   p r e S t o p   h o o k   i s   s t i l l   r u n n i n g   a f t e r   t h e   g r a c e   p e r i o d   e x p i r e s ,   t h e   k u b e l e t   r e q u e s t s   a   s m a l l ,   o n e - o f f   g r a c e   p e r i o d   e x t e n s i o n   o f   2   s e c o n d s . N o t e : I f   t h e   p r e S t o p   h o o k   n e e d s   l o n g ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14445"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   k u b e l e t   t r i g g e r s   t h e   c o n t a i n e r   r u n t i m e   t o   s e n d   a   T E R M   s i g n a l   t o   p r o c e s s   1   i n s i d e   e a c h   c o n t a i n e r .   T h e r e   i s   s p e c i a l   o r d e r i n g   i f   t h e   P o d   h a s   a n y   s i d e c a r   c o n t a i n e r s   d e f i n e d .   O t h e r w i s e ,   t h e   c o n t a i n e r s   i n   t h e   P o d   r e c e i v e   t h e   T E R M   s i g n a l   a t   d i f f e r e n t   t i m e s   a n d   i n   a n   a r b i t r a r y   o r d e r .   I f   t h e   o r d e r   o f   s h u t d o w n s   m a t t e r s ,   c o n s i d e r   u s i n g   a   p r e S t o p   h o o k   t o   s y n c h r o n i z e   ( o r   s w i t c h   t o   u s i n g   s i d e c a r   c o n t a i n e r s ) .   A t   t h e   s a m e   t i m e   a s   t h e   k u b e l e t   i s   s t a r t i n g   g r a c e f u l   s h u t d o w n   o f   t h e   P o d ,   t h e   c o n t r o l   p l a n e   e v a l u a t e s   w h e t h e r   t o   r e m o v e   t h a t   s h u t t i n g - d o w n   P o d   f r o m   E n d p o i n t S l i c e   o b j e c t s ,   w h e r e   t h o s e   o b j e c t s   r e p r e s e n t   a   S e r v i c e   w i t h   a   c o n f i g u r e d   s e l e c t o r .   R e p l i c a S e t s   a n d   o t h e r   w o r k l o a d   r e s o u r c e s   n o   l o n g e r   t r e a t   t h e   s h u t t i n g - d o w n   P o d   a s   a   v a l i d ,   i n - s e r v i c e   r e p l i c a .   P o d s   t h a t   s h u t   d o w n   s l o w l y   s h o u l d   n o t   c o n t i n u e   t o   s e r v e   r e g u l a r   t r a f f i c   a n d   s h o u l d   s t a r t   t e r m i n a t i n g   a n d   f i n i s h   p r o c e s s i n g   o p e n   c o n n e c t i o n s .   S o m e   a p p l i c a t i o n s   n e e d   t o   g o   b e y o n d   f i n i s h i n g   o p e n   c o n n e c t i o n s   a n d   n e e d   m o r e   g r a c e f u l   t e r m i n a t i o n ,   f o r   e x a m ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14446"
  },
  {
    "question": "What is Caution:?",
    "answer": "B y   d e f a u l t ,   a l l   d e l e t e s   a r e   g r a c e f u l   w i t h i n   3 0   s e c o n d s .   T h e   k u b e c t l   d e l e t e   c o m m a n d   s u p p o r t s   t h e   - - g r a c e - p e r i o d = < s e c o n d s >   o p t i o n   w h i c h   a l l o w s   y o u   t o   o v e r r i d e   t h e   d e f a u l t   a n d   s p e c i f y   y o u r   o w n   v a l u e .   S e t t i n g   t h e   g r a c e   p e r i o d   t o   0   f o r c i b l y   a n d   i m m e d i a t e l y   d e l e t e s   t h e   P o d   f r o m   t h e   A P I   s e r v e r .   I f   t h e   P o d   w a s   s t i l l   r u n n i n g   o n   a   n o d e ,   t h a t   f o r c i b l e   d e l e t i o n   t r i g g e r s   t h e   k u b e l e t   t o   b e g i n   i m m e d i a t e   c l e a n u p .   U s i n g   k u b e c t l ,   Y o u   m u s t   s p e c i f y   a n   a d d i t i o n a l   f l a g   - - f o r c e   a l o n g   w i t h   - - g r a c e - p e r i o d = 0   i n   o r d e r   t o   p e r f o r m   f o r c e   d e l e t i o n s .   W h e n   a   f o r c e   d e l e t i o n   i s   p e r f o r m e d ,   t h e   A P I   s e r v e r   d o e s   n o t   w a i t   f o r   c o n f i r m a t i o n   f r o m   t h e   k u b e l e t   t h a t   t h e   P o d   h a s   b e e n   t e r m i n a t e d   o n   t h e   n o d e   i t   w a s   r u n n i n g   o n .   I t   r e m o v e s   t h e   P o d   i n   t h e   A P I   i m m e d i a t e l y   s o   a   n e w   P o d   c a n   b e   c r e a t e d   w i t h   t h e   s a m e   n a m e .   O n   t h e   n o d e ,   P o d s   t h a t   a r e   s e t   t o   t e r m i n a t e   i m m e d i a t e l y   w i l l   s t i l l   b e   g i v e n   a   s m a l l   g r a c e   p e r i o d   b e f o r e   b e i n g   f o r c e   k i l l e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14447"
  },
  {
    "question": "What is Caution:?",
    "answer": "I f   y o u   n e e d   t o   f o r c e - d e l e t e   P o d s   t h a t   a r e   p a r t   o f   a   S t a t e f u l S e t ,   r e f e r   t o   t h e   t a s k   d o c u m e n t a t i o n   f o r   d e l e t i n g   P o d s   f r o m   a   S t a t e f u l S e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14448"
  },
  {
    "question": "What is Pod shutdown and sidecar containers?",
    "answer": "I f   y o u r   P o d   i n c l u d e s   o n e   o r   m o r e   s i d e c a r   c o n t a i n e r s   ( i n i t   c o n t a i n e r s   w i t h   a n   A l w a y s   r e s t a r t   p o l i c y ) ,   t h e   k u b e l e t   w i l l   d e l a y   s e n d i n g   t h e   T E R M   s i g n a l   t o   t h e s e   s i d e c a r   c o n t a i n e r s   u n t i l   t h e   l a s t   m a i n   c o n t a i n e r   h a s   f u l l y   t e r m i n a t e d .   T h e   s i d e c a r   c o n t a i n e r s   w i l l   b e   t e r m i n a t e d   i n   t h e   r e v e r s e   o r d e r   t h e y   a r e   d e f i n e d   i n   t h e   P o d   s p e c .   T h i s   e n s u r e s   t h a t   s i d e c a r   c o n t a i n e r s   c o n t i n u e   s e r v i n g   t h e   o t h e r   c o n t a i n e r s   i n   t h e   P o d   u n t i l   t h e y   a r e   n o   l o n g e r   n e e d e d .   T h i s   m e a n s   t h a t   s l o w   t e r m i n a t i o n   o f   a   m a i n   c o n t a i n e r   w i l l   a l s o   d e l a y   t h e   t e r m i n a t i o n   o f   t h e   s i d e c a r   c o n t a i n e r s .   I f   t h e   g r a c e   p e r i o d   e x p i r e s   b e f o r e   t h e   t e r m i n a t i o n   p r o c e s s   i s   c o m p l e t e ,   t h e   P o d   m a y   e n t e r   f o r c e d   t e r m i n a t i o n .   I n   t h i s   c a s e ,   a l l   r e m a i n i n g   c o n t a i n e r s   i n   t h e   P o d   w i l l   b e   t e r m i n a t e d   s i m u l t a n e o u s l y   w i t h   a   s h o r t   g r a c e   p e r i o d .   S i m i l a r l y ,   i f   t h e   P o d   h a s   a   p r e S t o p   h o o k   t h a t   e x c e e d s   t h e   t e r m i n a t i o n   g r a c e   p e r i o d ,   e m e r g e n c y   t e r m i n a t i o n   m a y   o c c u r .   I n   g e n e r a l ,   i f   y o u   h a v e   u s e d   p r e S t o p   h o o k s   t o   c o n t r o l   t h e   t e r m i n a t i o n   o r d e r   w i t h o u t   s i d e c a r   c o n t a i n e r s ,   y o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14449"
  },
  {
    "question": "What is Garbage collection of Pods?",
    "answer": "F o r   f a i l e d   P o d s ,   t h e   A P I   o b j e c t s   r e m a i n   i n   t h e   c l u s t e r ' s   A P I   u n t i l   a   h u m a n   o r   c o n t r o l l e r   p r o c e s s   e x p l i c i t l y   r e m o v e s   t h e m .   T h e   P o d   g a r b a g e   c o l l e c t o r   ( P o d G C ) ,   w h i c h   i s   a   c o n t r o l l e r   i n   t h e   c o n t r o l   p l a n e ,   c l e a n s   u p   t e r m i n a t e d   P o d s   ( w i t h   a   p h a s e   o f   S u c c e e d e d   o r   F a i l e d ) ,   w h e n   t h e   n u m b e r   o f   P o d s   e x c e e d s   t h e   c o n f i g u r e d   t h r e s h o l d   ( d e t e r m i n e d   b y   t e r m i n a t e d - p o d - g c - t h r e s h o l d   i n   t h e   k u b e - c o n t r o l l e r - m a n a g e r ) .   T h i s   a v o i d s   a   r e s o u r c e   l e a k   a s   P o d s   a r e   c r e a t e d   a n d   t e r m i n a t e d   o v e r   t i m e .   A d d i t i o n a l l y ,   P o d G C   c l e a n s   u p   a n y   P o d s   w h i c h   s a t i s f y   a n y   o f   t h e   f o l l o w i n g   c o n d i t i o n s :   a r e   o r p h a n   P o d s   -   b o u n d   t o   a   n o d e   w h i c h   n o   l o n g e r   e x i s t s , a r e   u n s c h e d u l e d   t e r m i n a t i n g   P o d s , a r e   t e r m i n a t i n g   P o d s ,   b o u n d   t o   a   n o n - r e a d y   n o d e   t a i n t e d   w i t h   n o d e . k u b e r n e t e s . i o / o u t - o f - s e r v i c e .   A l o n g   w i t h   c l e a n i n g   u p   t h e   P o d s ,   P o d G C   w i l l   a l s o   m a r k   t h e m   a s   f a i l e d   i f   t h e y   a r e   i n   a   n o n - t e r m i n a l   p h a s e .   A l s o ,   P o d G C   a d d s   a   P o d   d i s r u p t i o n   c o n d i t i o n   w h e n   c l e a n i n g   u p   a n   o r p h a n   P o d .   S e e   P o d   d i s r u p t i o n   c o n d i t i o n s   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14450"
  },
  {
    "question": "What is What's next?",
    "answer": "G e t   h a n d s - o n   e x p e r i e n c e   a t t a c h i n g   h a n d l e r s   t o   c o n t a i n e r   l i f e c y c l e   e v e n t s . G e t   h a n d s - o n   e x p e r i e n c e   c o n f i g u r i n g   L i v e n e s s ,   R e a d i n e s s   a n d   S t a r t u p   P r o b e s . L e a r n   m o r e   a b o u t   c o n t a i n e r   l i f e c y c l e   h o o k s . L e a r n   m o r e   a b o u t   s i d e c a r   c o n t a i n e r s . F o r   d e t a i l e d   i n f o r m a t i o n   a b o u t   P o d   a n d   c o n t a i n e r   s t a t u s   i n   t h e   A P I ,   s e e   t h e   A P I   r e f e r e n c e   d o c u m e n t a t i o n   c o v e r i n g   s t a t u s   f o r   P o d .   G e t   h a n d s - o n   e x p e r i e n c e   a t t a c h i n g   h a n d l e r s   t o   c o n t a i n e r   l i f e c y c l e   e v e n t s .   G e t   h a n d s - o n   e x p e r i e n c e   c o n f i g u r i n g   L i v e n e s s ,   R e a d i n e s s   a n d   S t a r t u p   P r o b e s .   L e a r n   m o r e   a b o u t   c o n t a i n e r   l i f e c y c l e   h o o k s .   L e a r n   m o r e   a b o u t   s i d e c a r   c o n t a i n e r s .   F o r   d e t a i l e d   i n f o r m a t i o n   a b o u t   P o d   a n d   c o n t a i n e r   s t a t u s   i n   t h e   A P I ,   s e e   t h e   A P I   r e f e r e n c e   d o c u m e n t a t i o n   c o v e r i n g   s t a t u s   f o r   P o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14451"
  },
  {
    "question": "What is 1.2 - Init Containers?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   o f   i n i t   c o n t a i n e r s :   s p e c i a l i z e d   c o n t a i n e r s   t h a t   r u n   b e f o r e   a p p   c o n t a i n e r s   i n   a   P o d .   I n i t   c o n t a i n e r s   c a n   c o n t a i n   u t i l i t i e s   o r   s e t u p   s c r i p t s   n o t   p r e s e n t   i n   a n   a p p   i m a g e .   Y o u   c a n   s p e c i f y   i n i t   c o n t a i n e r s   i n   t h e   P o d   s p e c i f i c a t i o n   a l o n g s i d e   t h e   c o n t a i n e r s   a r r a y   ( w h i c h   d e s c r i b e s   a p p   c o n t a i n e r s ) .   I n   K u b e r n e t e s ,   a   s i d e c a r   c o n t a i n e r   i s   a   c o n t a i n e r   t h a t   s t a r t s   b e f o r e   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r   a n d   c o n t i n u e s   t o   r u n .   T h i s   d o c u m e n t   i s   a b o u t   i n i t   c o n t a i n e r s :   c o n t a i n e r s   t h a t   r u n   t o   c o m p l e t i o n   d u r i n g   P o d   i n i t i a l i z a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_1_14452"
  },
  {
    "question": "What is Understanding init containers?",
    "answer": "A   P o d   c a n   h a v e   m u l t i p l e   c o n t a i n e r s   r u n n i n g   a p p s   w i t h i n   i t ,   b u t   i t   c a n   a l s o   h a v e   o n e   o r   m o r e   i n i t   c o n t a i n e r s ,   w h i c h   a r e   r u n   b e f o r e   t h e   a p p   c o n t a i n e r s   a r e   s t a r t e d .   I n i t   c o n t a i n e r s   a r e   e x a c t l y   l i k e   r e g u l a r   c o n t a i n e r s ,   e x c e p t :   I n i t   c o n t a i n e r s   a l w a y s   r u n   t o   c o m p l e t i o n . E a c h   i n i t   c o n t a i n e r   m u s t   c o m p l e t e   s u c c e s s f u l l y   b e f o r e   t h e   n e x t   o n e   s t a r t s .   I f   a   P o d ' s   i n i t   c o n t a i n e r   f a i l s ,   t h e   k u b e l e t   r e p e a t e d l y   r e s t a r t s   t h a t   i n i t   c o n t a i n e r   u n t i l   i t   s u c c e e d s .   H o w e v e r ,   i f   t h e   P o d   h a s   a   r e s t a r t P o l i c y   o f   N e v e r ,   a n d   a n   i n i t   c o n t a i n e r   f a i l s   d u r i n g   s t a r t u p   o f   t h a t   P o d ,   K u b e r n e t e s   t r e a t s   t h e   o v e r a l l   P o d   a s   f a i l e d .   T o   s p e c i f y   a n   i n i t   c o n t a i n e r   f o r   a   P o d ,   a d d   t h e   i n i t C o n t a i n e r s   f i e l d   i n t o   t h e   P o d   s p e c i f i c a t i o n ,   a s   a n   a r r a y   o f   c o n t a i n e r   i t e m s   ( s i m i l a r   t o   t h e   a p p   c o n t a i n e r s   f i e l d   a n d   i t s   c o n t e n t s ) .   S e e   C o n t a i n e r   i n   t h e   A P I   r e f e r e n c e   f o r   m o r e   d e t a i l s .   T h e   s t a t u s   o f   t h e   i n i t   c o n t a i n e r s   i s   r e t u r n e d   i n   . s t a t u s . i n i t C o n t a i n e r S t a t u s e s   f i e l d   a s   a n   a r r a y   o f   t h e   c o n t a i n e r   s t a t u s e s   ( s i m i l a r   t o   t h e   . s t a t u s . c o n t a i n e r S t a t u s e s   f i e l ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14453"
  },
  {
    "question": "What is Differences from regular containers?",
    "answer": "I n i t   c o n t a i n e r s   s u p p o r t   a l l   t h e   f i e l d s   a n d   f e a t u r e s   o f   a p p   c o n t a i n e r s ,   i n c l u d i n g   r e s o u r c e   l i m i t s ,   v o l u m e s ,   a n d   s e c u r i t y   s e t t i n g s .   H o w e v e r ,   t h e   r e s o u r c e   r e q u e s t s   a n d   l i m i t s   f o r   a n   i n i t   c o n t a i n e r   a r e   h a n d l e d   d i f f e r e n t l y ,   a s   d o c u m e n t e d   i n   R e s o u r c e   s h a r i n g   w i t h i n   c o n t a i n e r s .   R e g u l a r   i n i t   c o n t a i n e r s   ( i n   o t h e r   w o r d s :   e x c l u d i n g   s i d e c a r   c o n t a i n e r s )   d o   n o t   s u p p o r t   t h e   l i f e c y c l e ,   l i v e n e s s P r o b e ,   r e a d i n e s s P r o b e ,   o r   s t a r t u p P r o b e   f i e l d s .   I n i t   c o n t a i n e r s   m u s t   r u n   t o   c o m p l e t i o n   b e f o r e   t h e   P o d   c a n   b e   r e a d y ;   s i d e c a r   c o n t a i n e r s   c o n t i n u e   r u n n i n g   d u r i n g   a   P o d ' s   l i f e t i m e ,   a n d   d o   s u p p o r t   s o m e   p r o b e s .   S e e   s i d e c a r   c o n t a i n e r   f o r   f u r t h e r   d e t a i l s   a b o u t   s i d e c a r   c o n t a i n e r s .   I f   y o u   s p e c i f y   m u l t i p l e   i n i t   c o n t a i n e r s   f o r   a   P o d ,   k u b e l e t   r u n s   e a c h   i n i t   c o n t a i n e r   s e q u e n t i a l l y .   E a c h   i n i t   c o n t a i n e r   m u s t   s u c c e e d   b e f o r e   t h e   n e x t   c a n   r u n .   W h e n   a l l   o f   t h e   i n i t   c o n t a i n e r s   h a v e   r u n   t o   c o m p l e t i o n ,   k u b e l e t   i n i t i a l i z e s   t h e   a p p l i c a t i o n   c o n t a i n e r s   f o r   t h e   P o d   a n d   r u n s   t h e m   a s   u s u a l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14454"
  },
  {
    "question": "What is Differences from sidecar containers?",
    "answer": "I n i t   c o n t a i n e r s   r u n   a n d   c o m p l e t e   t h e i r   t a s k s   b e f o r e   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r   s t a r t s .   U n l i k e   s i d e c a r   c o n t a i n e r s ,   i n i t   c o n t a i n e r s   a r e   n o t   c o n t i n u o u s l y   r u n n i n g   a l o n g s i d e   t h e   m a i n   c o n t a i n e r s .   I n i t   c o n t a i n e r s   r u n   t o   c o m p l e t i o n   s e q u e n t i a l l y ,   a n d   t h e   m a i n   c o n t a i n e r   d o e s   n o t   s t a r t   u n t i l   a l l   t h e   i n i t   c o n t a i n e r s   h a v e   s u c c e s s f u l l y   c o m p l e t e d .   i n i t   c o n t a i n e r s   d o   n o t   s u p p o r t   l i f e c y c l e ,   l i v e n e s s P r o b e ,   r e a d i n e s s P r o b e ,   o r   s t a r t u p P r o b e   w h e r e a s   s i d e c a r   c o n t a i n e r s   s u p p o r t   a l l   t h e s e   p r o b e s   t o   c o n t r o l   t h e i r   l i f e c y c l e .   I n i t   c o n t a i n e r s   s h a r e   t h e   s a m e   r e s o u r c e s   ( C P U ,   m e m o r y ,   n e t w o r k )   w i t h   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r s   b u t   d o   n o t   i n t e r a c t   d i r e c t l y   w i t h   t h e m .   T h e y   c a n ,   h o w e v e r ,   u s e   s h a r e d   v o l u m e s   f o r   d a t a   e x c h a n g e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14455"
  },
  {
    "question": "What is Using init containers?",
    "answer": "B e c a u s e   i n i t   c o n t a i n e r s   h a v e   s e p a r a t e   i m a g e s   f r o m   a p p   c o n t a i n e r s ,   t h e y   h a v e   s o m e   a d v a n t a g e s   f o r   s t a r t - u p   r e l a t e d   c o d e :   I n i t   c o n t a i n e r s   c a n   c o n t a i n   u t i l i t i e s   o r   c u s t o m   c o d e   f o r   s e t u p   t h a t   a r e   n o t   p r e s e n t   i n   a n   a p p   i m a g e .   F o r   e x a m p l e ,   t h e r e   i s   n o   n e e d   t o   m a k e   a n   i m a g e   F R O M   a n o t h e r   i m a g e   j u s t   t o   u s e   a   t o o l   l i k e   s e d ,   a w k ,   p y t h o n ,   o r   d i g   d u r i n g   s e t u p . T h e   a p p l i c a t i o n   i m a g e   b u i l d e r   a n d   d e p l o y e r   r o l e s   c a n   w o r k   i n d e p e n d e n t l y   w i t h o u t   t h e   n e e d   t o   j o i n t l y   b u i l d   a   s i n g l e   a p p   i m a g e . I n i t   c o n t a i n e r s   c a n   r u n   w i t h   a   d i f f e r e n t   v i e w   o f   t h e   f i l e s y s t e m   t h a n   a p p   c o n t a i n e r s   i n   t h e   s a m e   P o d .   C o n s e q u e n t l y ,   t h e y   c a n   b e   g i v e n   a c c e s s   t o   S e c r e t s   t h a t   a p p   c o n t a i n e r s   c a n n o t   a c c e s s . B e c a u s e   i n i t   c o n t a i n e r s   r u n   t o   c o m p l e t i o n   b e f o r e   a n y   a p p   c o n t a i n e r s   s t a r t ,   i n i t   c o n t a i n e r s   o f f e r   a   m e c h a n i s m   t o   b l o c k   o r   d e l a y   a p p   c o n t a i n e r   s t a r t u p   u n t i l   a   s e t   o f   p r e c o n d i t i o n s   a r e   m e t .   O n c e   p r e c o n d i t i o n s   a r e   m e t ,   a l l   o f   t h e   a p p   c o n t a i n e r s   i n   a   P o d   c a n   s t a r t   i n   p a r a l l e l . I n i t   c o n t a i n e r s   c a n   s e c u r e l y   r u n   u t i l i t i e s   o r   c u s t o m   c o d e   t h a t   w o u l d   o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14456"
  },
  {
    "question": "What is Examples?",
    "answer": "H e r e   a r e   s o m e   i d e a s   f o r   h o w   t o   u s e   i n i t   c o n t a i n e r s :   W a i t   f o r   a   S e r v i c e   t o   b e   c r e a t e d ,   u s i n g   a   s h e l l   o n e - l i n e   c o m m a n d   l i k e : f o r   i   i n   { 1 . . 1 0 0 } ;   d o   s l e e p   1 ;   i f   n s l o o k u p   m y s e r v i c e ;   t h e n   e x i t   0 ;   f i ;   d o n e ;   e x i t   1   R e g i s t e r   t h i s   P o d   w i t h   a   r e m o t e   s e r v e r   f r o m   t h e   d o w n w a r d   A P I   w i t h   a   c o m m a n d   l i k e : c u r l   - X   P O S T   h t t p : / / $ M A N A G E M E N T _ S E R V I C E _ H O S T : $ M A N A G E M E N T _ S E R V I C E _ P O R T / r e g i s t e r   - d   ' i n s t a n c e = $ ( < P O D _ N A M E > ) & i p = $ ( < P O D _ I P > ) '   W a i t   f o r   s o m e   t i m e   b e f o r e   s t a r t i n g   t h e   a p p   c o n t a i n e r   w i t h   a   c o m m a n d   l i k e s l e e p   6 0   C l o n e   a   G i t   r e p o s i t o r y   i n t o   a   V o l u m e P l a c e   v a l u e s   i n t o   a   c o n f i g u r a t i o n   f i l e   a n d   r u n   a   t e m p l a t e   t o o l   t o   d y n a m i c a l l y   g e n e r a t e   a   c o n f i g u r a t i o n   f i l e   f o r   t h e   m a i n   a p p   c o n t a i n e r .   F o r   e x a m p l e ,   p l a c e   t h e   P O D _ I P   v a l u e   i n   a   c o n f i g u r a t i o n   a n d   g e n e r a t e   t h e   m a i n   a p p   c o n f i g u r a t i o n   f i l e   u s i n g   J i n j a .   W a i t   f o r   a   S e r v i c e   t o   b e   c r e a t e d ,   u s i n g   a   s h e l l   o n e - l i n e   c o m m a n d   l i k e :   f o r   i   i n   { 1 . . 1 0 0 } ;   d o   s l e e p   1 ;   i f   n s l o o k u p   m y s e r v i c e ;   t h e n   e x i t   0 ;   f i ;   d o n e ;   e x i t   1   R e g i s t e r   t h i s   P o d   w i t h   a   r e m o t e   s e r v e r   f r o m   t h e   d o w n w a r d   A P I   w i t h   a   c o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14457"
  },
  {
    "question": "What is Init containers in use?",
    "answer": "T h i s   e x a m p l e   d e f i n e s   a   s i m p l e   P o d   t h a t   h a s   t w o   i n i t   c o n t a i n e r s .   T h e   f i r s t   w a i t s   f o r   m y s e r v i c e ,   a n d   t h e   s e c o n d   w a i t s   f o r   m y d b .   O n c e   b o t h   i n i t   c o n t a i n e r s   c o m p l e t e ,   t h e   P o d   r u n s   t h e   a p p   c o n t a i n e r   f r o m   i t s   s p e c   s e c t i o n .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y a p p - p o d   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   s p e c :   c o n t a i n e r s :   -   n a m e :   m y a p p - c o n t a i n e r   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   ' e c h o   T h e   a p p   i s   r u n n i n g !   & &   s l e e p   3 6 0 0 ' ]   i n i t C o n t a i n e r s :   -   n a m e :   i n i t - m y s e r v i c e   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   \" u n t i l   n s l o o k u p   m y s e r v i c e . $ ( c a t   / v a r / r u n / s e c r e t s / k u b e r n e t e s . i o / s e r v i c e a c c o u n t / n a m e s p a c e ) . s v c . c l u s t e r . l o c a l ;   d o   e c h o   w a i t i n g   f o r   m y s e r v i c e ;   s l e e p   2 ;   d o n e \" ]   -   n a m e :   i n i t - m y d b   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   \" u n t i l   n s l o o k u p   m y d b . $ ( c a t   / v a r / r u n / s e c r e t s / k u b e r n e t e s . i o / s e r v i c e a c c o u n t / n a m e s p a c e ) . s v c . c l u s t e r . l o c a l ;   d o   e c h o   w a i t i n g   f o r   m y d b ;   s l e e p   2 ;   d o n e \" ]   Y o u   c a n   s t a r t   t h i s   P o d   b y   r u n n i n g :   k u b e c t l   a p p l y   - f   m y a p p . y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   p o d / m y a p p - p o d   c r e a t e d   A n d   c h e c k   o n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14458"
  },
  {
    "question": "What is Detailed behavior?",
    "answer": "D u r i n g   P o d   s t a r t u p ,   t h e   k u b e l e t   d e l a y s   r u n n i n g   i n i t   c o n t a i n e r s   u n t i l   t h e   n e t w o r k i n g   a n d   s t o r a g e   a r e   r e a d y .   T h e n   t h e   k u b e l e t   r u n s   t h e   P o d ' s   i n i t   c o n t a i n e r s   i n   t h e   o r d e r   t h e y   a p p e a r   i n   t h e   P o d ' s   s p e c .   E a c h   i n i t   c o n t a i n e r   m u s t   e x i t   s u c c e s s f u l l y   b e f o r e   t h e   n e x t   c o n t a i n e r   s t a r t s .   I f   a   c o n t a i n e r   f a i l s   t o   s t a r t   d u e   t o   t h e   r u n t i m e   o r   e x i t s   w i t h   f a i l u r e ,   i t   i s   r e t r i e d   a c c o r d i n g   t o   t h e   P o d   r e s t a r t P o l i c y .   H o w e v e r ,   i f   t h e   P o d   r e s t a r t P o l i c y   i s   s e t   t o   A l w a y s ,   t h e   i n i t   c o n t a i n e r s   u s e   r e s t a r t P o l i c y   O n F a i l u r e .   A   P o d   c a n n o t   b e   R e a d y   u n t i l   a l l   i n i t   c o n t a i n e r s   h a v e   s u c c e e d e d .   T h e   p o r t s   o n   a n   i n i t   c o n t a i n e r   a r e   n o t   a g g r e g a t e d   u n d e r   a   S e r v i c e .   A   P o d   t h a t   i s   i n i t i a l i z i n g   i s   i n   t h e   P e n d i n g   s t a t e   b u t   s h o u l d   h a v e   a   c o n d i t i o n   I n i t i a l i z e d   s e t   t o   f a l s e .   I f   t h e   P o d   r e s t a r t s ,   o r   i s   r e s t a r t e d ,   a l l   i n i t   c o n t a i n e r s   m u s t   e x e c u t e   a g a i n .   C h a n g e s   t o   t h e   i n i t   c o n t a i n e r   s p e c   a r e   l i m i t e d   t o   t h e   c o n t a i n e r   i m a g e   f i e l d .   D i r e c t l y   a l t e r i n g   t h e   i m a g e   f i e l d   o f   a n   i n i t   c o n t a i n e r   d o e s   n o t   r e s t a r t   t h e   P o d   o r   t r i g g e r   i t s   r e c r e a t i o n .   I f   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14459"
  },
  {
    "question": "What is Resource sharing within containers?",
    "answer": "G i v e n   t h e   o r d e r   o f   e x e c u t i o n   f o r   i n i t ,   s i d e c a r   a n d   a p p   c o n t a i n e r s ,   t h e   f o l l o w i n g   r u l e s   f o r   r e s o u r c e   u s a g e   a p p l y :   T h e   h i g h e s t   o f   a n y   p a r t i c u l a r   r e s o u r c e   r e q u e s t   o r   l i m i t   d e f i n e d   o n   a l l   i n i t   c o n t a i n e r s   i s   t h e   e f f e c t i v e   i n i t   r e q u e s t / l i m i t .   I f   a n y   r e s o u r c e   h a s   n o   r e s o u r c e   l i m i t   s p e c i f i e d   t h i s   i s   c o n s i d e r e d   a s   t h e   h i g h e s t   l i m i t . T h e   P o d ' s   e f f e c t i v e   r e q u e s t / l i m i t   f o r   a   r e s o u r c e   i s   t h e   h i g h e r   o f : t h e   s u m   o f   a l l   a p p   c o n t a i n e r s   r e q u e s t / l i m i t   f o r   a   r e s o u r c e t h e   e f f e c t i v e   i n i t   r e q u e s t / l i m i t   f o r   a   r e s o u r c e S c h e d u l i n g   i s   d o n e   b a s e d   o n   e f f e c t i v e   r e q u e s t s / l i m i t s ,   w h i c h   m e a n s   i n i t   c o n t a i n e r s   c a n   r e s e r v e   r e s o u r c e s   f o r   i n i t i a l i z a t i o n   t h a t   a r e   n o t   u s e d   d u r i n g   t h e   l i f e   o f   t h e   P o d . T h e   Q o S   ( q u a l i t y   o f   s e r v i c e )   t i e r   o f   t h e   P o d ' s   e f f e c t i v e   Q o S   t i e r   i s   t h e   Q o S   t i e r   f o r   i n i t   c o n t a i n e r s   a n d   a p p   c o n t a i n e r s   a l i k e .   t h e   s u m   o f   a l l   a p p   c o n t a i n e r s   r e q u e s t / l i m i t   f o r   a   r e s o u r c e t h e   e f f e c t i v e   i n i t   r e q u e s t / l i m i t   f o r   a   r e s o u r c e   Q u o t a   a n d   l i m i t s   a r e   a p p l i e d   b a s e d   o n   t h e   e f f e c t i v e   P o d   r e q u e s t   a n d   l i m i t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14460"
  },
  {
    "question": "What is Init containers and Linux cgroups?",
    "answer": "O n   L i n u x ,   r e s o u r c e   a l l o c a t i o n s   f o r   P o d   l e v e l   c o n t r o l   g r o u p s   ( c g r o u p s )   a r e   b a s e d   o n   t h e   e f f e c t i v e   P o d   r e q u e s t   a n d   l i m i t ,   t h e   s a m e   a s   t h e   s c h e d u l e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14461"
  },
  {
    "question": "What is Pod restart reasons?",
    "answer": "A   P o d   c a n   r e s t a r t ,   c a u s i n g   r e - e x e c u t i o n   o f   i n i t   c o n t a i n e r s ,   f o r   t h e   f o l l o w i n g   r e a s o n s :   T h e   P o d   i n f r a s t r u c t u r e   c o n t a i n e r   i s   r e s t a r t e d .   T h i s   i s   u n c o m m o n   a n d   w o u l d   h a v e   t o   b e   d o n e   b y   s o m e o n e   w i t h   r o o t   a c c e s s   t o   n o d e s . A l l   c o n t a i n e r s   i n   a   P o d   a r e   t e r m i n a t e d   w h i l e   r e s t a r t P o l i c y   i s   s e t   t o   A l w a y s ,   f o r c i n g   a   r e s t a r t ,   a n d   t h e   i n i t   c o n t a i n e r   c o m p l e t i o n   r e c o r d   h a s   b e e n   l o s t   d u e   t o   g a r b a g e   c o l l e c t i o n .   T h e   P o d   w i l l   n o t   b e   r e s t a r t e d   w h e n   t h e   i n i t   c o n t a i n e r   i m a g e   i s   c h a n g e d ,   o r   t h e   i n i t   c o n t a i n e r   c o m p l e t i o n   r e c o r d   h a s   b e e n   l o s t   d u e   t o   g a r b a g e   c o l l e c t i o n .   T h i s   a p p l i e s   f o r   K u b e r n e t e s   v 1 . 2 0   a n d   l a t e r .   I f   y o u   a r e   u s i n g   a n   e a r l i e r   v e r s i o n   o f   K u b e r n e t e s ,   c o n s u l t   t h e   d o c u m e n t a t i o n   f o r   t h e   v e r s i o n   y o u   a r e   u s i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14462"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   t h e   f o l l o w i n g :   C r e a t i n g   a   P o d   t h a t   h a s   a n   i n i t   c o n t a i n e r . D e b u g   i n i t   c o n t a i n e r s . O v e r v i e w   o f   k u b e l e t   a n d   k u b e c t l . T y p e s   o f   p r o b e s :   l i v e n e s s ,   r e a d i n e s s ,   s t a r t u p   p r o b e . S i d e c a r   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14463"
  },
  {
    "question": "What is 1.3 - Sidecar Containers?",
    "answer": "S i d e c a r   c o n t a i n e r s   a r e   t h e   s e c o n d a r y   c o n t a i n e r s   t h a t   r u n   a l o n g   w i t h   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r   w i t h i n   t h e   s a m e   P o d .   T h e s e   c o n t a i n e r s   a r e   u s e d   t o   e n h a n c e   o r   t o   e x t e n d   t h e   f u n c t i o n a l i t y   o f   t h e   p r i m a r y   a p p   c o n t a i n e r   b y   p r o v i d i n g   a d d i t i o n a l   s e r v i c e s ,   o r   f u n c t i o n a l i t y   s u c h   a s   l o g g i n g ,   m o n i t o r i n g ,   s e c u r i t y ,   o r   d a t a   s y n c h r o n i z a t i o n ,   w i t h o u t   d i r e c t l y   a l t e r i n g   t h e   p r i m a r y   a p p l i c a t i o n   c o d e .   T y p i c a l l y ,   y o u   o n l y   h a v e   o n e   a p p   c o n t a i n e r   i n   a   P o d .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   w e b   a p p l i c a t i o n   t h a t   r e q u i r e s   a   l o c a l   w e b s e r v e r ,   t h e   l o c a l   w e b s e r v e r   i s   a   s i d e c a r   a n d   t h e   w e b   a p p l i c a t i o n   i t s e l f   i s   t h e   a p p   c o n t a i n e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_1_14464"
  },
  {
    "question": "What is Sidecar containers in Kubernetes?",
    "answer": "K u b e r n e t e s   i m p l e m e n t s   s i d e c a r   c o n t a i n e r s   a s   a   s p e c i a l   c a s e   o f   i n i t   c o n t a i n e r s ;   s i d e c a r   c o n t a i n e r s   r e m a i n   r u n n i n g   a f t e r   P o d   s t a r t u p .   T h i s   d o c u m e n t   u s e s   t h e   t e r m   r e g u l a r   i n i t   c o n t a i n e r s   t o   c l e a r l y   r e f e r   t o   c o n t a i n e r s   t h a t   o n l y   r u n   d u r i n g   P o d   s t a r t u p .   P r o v i d e d   t h a t   y o u r   c l u s t e r   h a s   t h e   S i d e c a r C o n t a i n e r s   f e a t u r e   g a t e   e n a b l e d   ( t h e   f e a t u r e   i s   a c t i v e   b y   d e f a u l t   s i n c e   K u b e r n e t e s   v 1 . 2 9 ) ,   y o u   c a n   s p e c i f y   a   r e s t a r t P o l i c y   f o r   c o n t a i n e r s   l i s t e d   i n   a   P o d ' s   i n i t C o n t a i n e r s   f i e l d .   T h e s e   r e s t a r t a b l e   s i d e c a r   c o n t a i n e r s   a r e   i n d e p e n d e n t   f r o m   o t h e r   i n i t   c o n t a i n e r s   a n d   f r o m   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r ( s )   w i t h i n   t h e   s a m e   p o d .   T h e s e   c a n   b e   s t a r t e d ,   s t o p p e d ,   o r   r e s t a r t e d   w i t h o u t   a f f e c t i n g   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r   a n d   o t h e r   i n i t   c o n t a i n e r s .   Y o u   c a n   a l s o   r u n   a   P o d   w i t h   m u l t i p l e   c o n t a i n e r s   t h a t   a r e   n o t   m a r k e d   a s   i n i t   o r   s i d e c a r   c o n t a i n e r s .   T h i s   i s   a p p r o p r i a t e   i f   t h e   c o n t a i n e r s   w i t h i n   t h e   P o d   a r e   r e q u i r e d   f o r   t h e   P o d   t o   w o r k   o v e r a l l ,   b u t   y o u   d o n ' t   n e e d   t o   c o n t r o l   w h i c h   c o n t a i n e r s   s t a r t   o r   s t o p   f i r s t .   Y o u   c ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14465"
  },
  {
    "question": "What is Example application?",
    "answer": "H e r e ' s   a n   e x a m p l e   o f   a   D e p l o y m e n t   w i t h   t w o   c o n t a i n e r s ,   o n e   o f   w h i c h   i s   a   s i d e c a r :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   m y a p p   l a b e l s :   a p p :   m y a p p   s p e c :   r e p l i c a s :   1   s e l e c t o r :   m a t c h L a b e l s :   a p p :   m y a p p   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   m y a p p   s p e c :   c o n t a i n e r s :   -   n a m e :   m y a p p   i m a g e :   a l p i n e : l a t e s t   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   ' w h i l e   t r u e ;   d o   e c h o   \" l o g g i n g \"   > >   / o p t / l o g s . t x t ;   s l e e p   1 ;   d o n e ' ]   v o l u m e M o u n t s :   -   n a m e :   d a t a   m o u n t P a t h :   / o p t   i n i t C o n t a i n e r s :   -   n a m e :   l o g s h i p p e r   i m a g e :   a l p i n e : l a t e s t   r e s t a r t P o l i c y :   A l w a y s   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   ' t a i l   - F   / o p t / l o g s . t x t ' ]   v o l u m e M o u n t s :   -   n a m e :   d a t a   m o u n t P a t h :   / o p t   v o l u m e s :   -   n a m e :   d a t a   e m p t y D i r :   { }",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14466"
  },
  {
    "question": "What is Sidecar containers and Pod lifecycle?",
    "answer": "I f   a n   i n i t   c o n t a i n e r   i s   c r e a t e d   w i t h   i t s   r e s t a r t P o l i c y   s e t   t o   A l w a y s ,   i t   w i l l   s t a r t   a n d   r e m a i n   r u n n i n g   d u r i n g   t h e   e n t i r e   l i f e   o f   t h e   P o d .   T h i s   c a n   b e   h e l p f u l   f o r   r u n n i n g   s u p p o r t i n g   s e r v i c e s   s e p a r a t e d   f r o m   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r s .   I f   a   r e a d i n e s s P r o b e   i s   s p e c i f i e d   f o r   t h i s   i n i t   c o n t a i n e r ,   i t s   r e s u l t   w i l l   b e   u s e d   t o   d e t e r m i n e   t h e   r e a d y   s t a t e   o f   t h e   P o d .   S i n c e   t h e s e   c o n t a i n e r s   a r e   d e f i n e d   a s   i n i t   c o n t a i n e r s ,   t h e y   b e n e f i t   f r o m   t h e   s a m e   o r d e r i n g   a n d   s e q u e n t i a l   g u a r a n t e e s   a s   r e g u l a r   i n i t   c o n t a i n e r s ,   a l l o w i n g   y o u   t o   m i x   s i d e c a r   c o n t a i n e r s   w i t h   r e g u l a r   i n i t   c o n t a i n e r s   f o r   c o m p l e x   P o d   i n i t i a l i z a t i o n   f l o w s .   C o m p a r e d   t o   r e g u l a r   i n i t   c o n t a i n e r s ,   s i d e c a r s   d e f i n e d   w i t h i n   i n i t C o n t a i n e r s   c o n t i n u e   t o   r u n   a f t e r   t h e y   h a v e   s t a r t e d .   T h i s   i s   i m p o r t a n t   w h e n   t h e r e   i s   m o r e   t h a n   o n e   e n t r y   i n s i d e   . s p e c . i n i t C o n t a i n e r s   f o r   a   P o d .   A f t e r   a   s i d e c a r - s t y l e   i n i t   c o n t a i n e r   i s   r u n n i n g   ( t h e   k u b e l e t   h a s   s e t   t h e   s t a r t e d   s t a t u s   f o r   t h a t   i n i t   c o n t a i n e r   t o   t r u e ) ,   t h e   k u b e l e t   t h e n   s t a r t s   t h e   n e x t   i n i t   c o n t a i n e r   f r o m   t h e   o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14467"
  },
  {
    "question": "What is Jobs with sidecar containers?",
    "answer": "I f   y o u   d e f i n e   a   J o b   t h a t   u s e s   s i d e c a r   u s i n g   K u b e r n e t e s - s t y l e   i n i t   c o n t a i n e r s ,   t h e   s i d e c a r   c o n t a i n e r   i n   e a c h   P o d   d o e s   n o t   p r e v e n t   t h e   J o b   f r o m   c o m p l e t i n g   a f t e r   t h e   m a i n   c o n t a i n e r   h a s   f i n i s h e d .   H e r e ' s   a n   e x a m p l e   o f   a   J o b   w i t h   t w o   c o n t a i n e r s ,   o n e   o f   w h i c h   i s   a   s i d e c a r :   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   m y j o b   s p e c :   t e m p l a t e :   s p e c :   c o n t a i n e r s :   -   n a m e :   m y j o b   i m a g e :   a l p i n e : l a t e s t   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   ' e c h o   \" l o g g i n g \"   >   / o p t / l o g s . t x t ' ]   v o l u m e M o u n t s :   -   n a m e :   d a t a   m o u n t P a t h :   / o p t   i n i t C o n t a i n e r s :   -   n a m e :   l o g s h i p p e r   i m a g e :   a l p i n e : l a t e s t   r e s t a r t P o l i c y :   A l w a y s   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   ' t a i l   - F   / o p t / l o g s . t x t ' ]   v o l u m e M o u n t s :   -   n a m e :   d a t a   m o u n t P a t h :   / o p t   r e s t a r t P o l i c y :   N e v e r   v o l u m e s :   -   n a m e :   d a t a   e m p t y D i r :   { }",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14468"
  },
  {
    "question": "What is Differences from application containers?",
    "answer": "S i d e c a r   c o n t a i n e r s   r u n   a l o n g s i d e   a p p   c o n t a i n e r s   i n   t h e   s a m e   p o d .   H o w e v e r ,   t h e y   d o   n o t   e x e c u t e   t h e   p r i m a r y   a p p l i c a t i o n   l o g i c ;   i n s t e a d ,   t h e y   p r o v i d e   s u p p o r t i n g   f u n c t i o n a l i t y   t o   t h e   m a i n   a p p l i c a t i o n .   S i d e c a r   c o n t a i n e r s   h a v e   t h e i r   o w n   i n d e p e n d e n t   l i f e c y c l e s .   T h e y   c a n   b e   s t a r t e d ,   s t o p p e d ,   a n d   r e s t a r t e d   i n d e p e n d e n t l y   o f   a p p   c o n t a i n e r s .   T h i s   m e a n s   y o u   c a n   u p d a t e ,   s c a l e ,   o r   m a i n t a i n   s i d e c a r   c o n t a i n e r s   w i t h o u t   a f f e c t i n g   t h e   p r i m a r y   a p p l i c a t i o n .   S i d e c a r   c o n t a i n e r s   s h a r e   t h e   s a m e   n e t w o r k   a n d   s t o r a g e   n a m e s p a c e s   w i t h   t h e   p r i m a r y   c o n t a i n e r .   T h i s   c o - l o c a t i o n   a l l o w s   t h e m   t o   i n t e r a c t   c l o s e l y   a n d   s h a r e   r e s o u r c e s .   F r o m   a   K u b e r n e t e s   p e r s p e c t i v e ,   t h e   s i d e c a r   c o n t a i n e r ' s   g r a c e f u l   t e r m i n a t i o n   i s   l e s s   i m p o r t a n t .   W h e n   o t h e r   c o n t a i n e r s   t a k e   a l l   a l l o t t e d   g r a c e f u l   t e r m i n a t i o n   t i m e ,   t h e   s i d e c a r   c o n t a i n e r s   w i l l   r e c e i v e   t h e   S I G T E R M   s i g n a l ,   f o l l o w e d   b y   t h e   S I G K I L L   s i g n a l ,   b e f o r e   t h e y   h a v e   t i m e   t o   t e r m i n a t e   g r a c e f u l l y .   S o   e x i t   c o d e s   d i f f e r e n t   f r o m   0   ( 0   i n d i c a t e s   s u c c e s s f u l   e x i t ) ,   f o r   s i d e c a r   c o n t a i n e r s   a r e   n o r m a l   o n   P ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14469"
  },
  {
    "question": "What is Differences from init containers?",
    "answer": "S i d e c a r   c o n t a i n e r s   w o r k   a l o n g s i d e   t h e   m a i n   c o n t a i n e r ,   e x t e n d i n g   i t s   f u n c t i o n a l i t y   a n d   p r o v i d i n g   a d d i t i o n a l   s e r v i c e s .   S i d e c a r   c o n t a i n e r s   r u n   c o n c u r r e n t l y   w i t h   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r .   T h e y   a r e   a c t i v e   t h r o u g h o u t   t h e   l i f e c y c l e   o f   t h e   p o d   a n d   c a n   b e   s t a r t e d   a n d   s t o p p e d   i n d e p e n d e n t l y   o f   t h e   m a i n   c o n t a i n e r .   U n l i k e   i n i t   c o n t a i n e r s ,   s i d e c a r   c o n t a i n e r s   s u p p o r t   p r o b e s   t o   c o n t r o l   t h e i r   l i f e c y c l e .   S i d e c a r   c o n t a i n e r s   c a n   i n t e r a c t   d i r e c t l y   w i t h   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r s ,   b e c a u s e   l i k e   i n i t   c o n t a i n e r s   t h e y   a l w a y s   s h a r e   t h e   s a m e   n e t w o r k ,   a n d   c a n   o p t i o n a l l y   a l s o   s h a r e   v o l u m e s   ( f i l e s y s t e m s ) .   I n i t   c o n t a i n e r s   s t o p   b e f o r e   t h e   m a i n   c o n t a i n e r s   s t a r t   u p ,   s o   i n i t   c o n t a i n e r s   c a n n o t   e x c h a n g e   m e s s a g e s   w i t h   t h e   a p p   c o n t a i n e r   i n   a   P o d .   A n y   d a t a   p a s s i n g   i s   o n e - w a y   ( f o r   e x a m p l e ,   a n   i n i t   c o n t a i n e r   c a n   p u t   i n f o r m a t i o n   i n s i d e   a n   e m p t y D i r   v o l u m e ) .   C h a n g i n g   t h e   i m a g e   o f   a   s i d e c a r   c o n t a i n e r   w i l l   n o t   c a u s e   t h e   P o d   t o   r e s t a r t ,   b u t   w i l l   t r i g g e r   a   c o n t a i n e r   r e s t a r t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14470"
  },
  {
    "question": "What is Resource sharing within containers?",
    "answer": "G i v e n   t h e   o r d e r   o f   e x e c u t i o n   f o r   i n i t ,   s i d e c a r   a n d   a p p   c o n t a i n e r s ,   t h e   f o l l o w i n g   r u l e s   f o r   r e s o u r c e   u s a g e   a p p l y :   T h e   h i g h e s t   o f   a n y   p a r t i c u l a r   r e s o u r c e   r e q u e s t   o r   l i m i t   d e f i n e d   o n   a l l   i n i t   c o n t a i n e r s   i s   t h e   e f f e c t i v e   i n i t   r e q u e s t / l i m i t .   I f   a n y   r e s o u r c e   h a s   n o   r e s o u r c e   l i m i t   s p e c i f i e d   t h i s   i s   c o n s i d e r e d   a s   t h e   h i g h e s t   l i m i t . T h e   P o d ' s   e f f e c t i v e   r e q u e s t / l i m i t   f o r   a   r e s o u r c e   i s   t h e   s u m   o f   p o d   o v e r h e a d   a n d   t h e   h i g h e r   o f : t h e   s u m   o f   a l l   n o n - i n i t   c o n t a i n e r s ( a p p   a n d   s i d e c a r   c o n t a i n e r s )   r e q u e s t / l i m i t   f o r   a   r e s o u r c e t h e   e f f e c t i v e   i n i t   r e q u e s t / l i m i t   f o r   a   r e s o u r c e S c h e d u l i n g   i s   d o n e   b a s e d   o n   e f f e c t i v e   r e q u e s t s / l i m i t s ,   w h i c h   m e a n s   i n i t   c o n t a i n e r s   c a n   r e s e r v e   r e s o u r c e s   f o r   i n i t i a l i z a t i o n   t h a t   a r e   n o t   u s e d   d u r i n g   t h e   l i f e   o f   t h e   P o d . T h e   Q o S   ( q u a l i t y   o f   s e r v i c e )   t i e r   o f   t h e   P o d ' s   e f f e c t i v e   Q o S   t i e r   i s   t h e   Q o S   t i e r   f o r   a l l   i n i t ,   s i d e c a r   a n d   a p p   c o n t a i n e r s   a l i k e .   t h e   s u m   o f   a l l   n o n - i n i t   c o n t a i n e r s ( a p p   a n d   s i d e c a r   c o n t a i n e r s )   r e q u e s t / l i m i t   f o r   a   r e s o u r c e t h e   e f f e c t i v e   i n i t   r e q u e s t / l i m i t   f o r   a   r e s o u r c e   Q u o t a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14471"
  },
  {
    "question": "What is Sidecar containers and Linux cgroups?",
    "answer": "O n   L i n u x ,   r e s o u r c e   a l l o c a t i o n s   f o r   P o d   l e v e l   c o n t r o l   g r o u p s   ( c g r o u p s )   a r e   b a s e d   o n   t h e   e f f e c t i v e   P o d   r e q u e s t   a n d   l i m i t ,   t h e   s a m e   a s   t h e   s c h e d u l e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14472"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   A d o p t   S i d e c a r   C o n t a i n e r s R e a d   a   b l o g   p o s t   o n   n a t i v e   s i d e c a r   c o n t a i n e r s . R e a d   a b o u t   c r e a t i n g   a   P o d   t h a t   h a s   a n   i n i t   c o n t a i n e r . L e a r n   a b o u t   t h e   t y p e s   o f   p r o b e s :   l i v e n e s s ,   r e a d i n e s s ,   s t a r t u p   p r o b e . L e a r n   a b o u t   p o d   o v e r h e a d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14473"
  },
  {
    "question": "What is 1.4 - Ephemeral Containers?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   o f   e p h e m e r a l   c o n t a i n e r s :   a   s p e c i a l   t y p e   o f   c o n t a i n e r   t h a t   r u n s   t e m p o r a r i l y   i n   a n   e x i s t i n g   P o d   t o   a c c o m p l i s h   u s e r - i n i t i a t e d   a c t i o n s   s u c h   a s   t r o u b l e s h o o t i n g .   Y o u   u s e   e p h e m e r a l   c o n t a i n e r s   t o   i n s p e c t   s e r v i c e s   r a t h e r   t h a n   t o   b u i l d   a p p l i c a t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_1_14474"
  },
  {
    "question": "What is Understanding ephemeral containers?",
    "answer": "P o d s   a r e   t h e   f u n d a m e n t a l   b u i l d i n g   b l o c k   o f   K u b e r n e t e s   a p p l i c a t i o n s .   S i n c e   P o d s   a r e   i n t e n d e d   t o   b e   d i s p o s a b l e   a n d   r e p l a c e a b l e ,   y o u   c a n n o t   a d d   a   c o n t a i n e r   t o   a   P o d   o n c e   i t   h a s   b e e n   c r e a t e d .   I n s t e a d ,   y o u   u s u a l l y   d e l e t e   a n d   r e p l a c e   P o d s   i n   a   c o n t r o l l e d   f a s h i o n   u s i n g   d e p l o y m e n t s .   S o m e t i m e s   i t ' s   n e c e s s a r y   t o   i n s p e c t   t h e   s t a t e   o f   a n   e x i s t i n g   P o d ,   h o w e v e r ,   f o r   e x a m p l e   t o   t r o u b l e s h o o t   a   h a r d - t o - r e p r o d u c e   b u g .   I n   t h e s e   c a s e s   y o u   c a n   r u n   a n   e p h e m e r a l   c o n t a i n e r   i n   a n   e x i s t i n g   P o d   t o   i n s p e c t   i t s   s t a t e   a n d   r u n   a r b i t r a r y   c o m m a n d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14475"
  },
  {
    "question": "What is What is an ephemeral container??",
    "answer": "E p h e m e r a l   c o n t a i n e r s   d i f f e r   f r o m   o t h e r   c o n t a i n e r s   i n   t h a t   t h e y   l a c k   g u a r a n t e e s   f o r   r e s o u r c e s   o r   e x e c u t i o n ,   a n d   t h e y   w i l l   n e v e r   b e   a u t o m a t i c a l l y   r e s t a r t e d ,   s o   t h e y   a r e   n o t   a p p r o p r i a t e   f o r   b u i l d i n g   a p p l i c a t i o n s .   E p h e m e r a l   c o n t a i n e r s   a r e   d e s c r i b e d   u s i n g   t h e   s a m e   C o n t a i n e r S p e c   a s   r e g u l a r   c o n t a i n e r s ,   b u t   m a n y   f i e l d s   a r e   i n c o m p a t i b l e   a n d   d i s a l l o w e d   f o r   e p h e m e r a l   c o n t a i n e r s .   E p h e m e r a l   c o n t a i n e r s   m a y   n o t   h a v e   p o r t s ,   s o   f i e l d s   s u c h   a s   p o r t s ,   l i v e n e s s P r o b e ,   r e a d i n e s s P r o b e   a r e   d i s a l l o w e d . P o d   r e s o u r c e   a l l o c a t i o n s   a r e   i m m u t a b l e ,   s o   s e t t i n g   r e s o u r c e s   i s   d i s a l l o w e d . F o r   a   c o m p l e t e   l i s t   o f   a l l o w e d   f i e l d s ,   s e e   t h e   E p h e m e r a l C o n t a i n e r   r e f e r e n c e   d o c u m e n t a t i o n .   E p h e m e r a l   c o n t a i n e r s   a r e   c r e a t e d   u s i n g   a   s p e c i a l   e p h e m e r a l c o n t a i n e r s   h a n d l e r   i n   t h e   A P I   r a t h e r   t h a n   b y   a d d i n g   t h e m   d i r e c t l y   t o   p o d . s p e c ,   s o   i t ' s   n o t   p o s s i b l e   t o   a d d   a n   e p h e m e r a l   c o n t a i n e r   u s i n g   k u b e c t l   e d i t .   L i k e   r e g u l a r   c o n t a i n e r s ,   y o u   m a y   n o t   c h a n g e   o r   r e m o v e   a n   e p h e m e r a l   c o n t a i n e r   a f t e r   y o u   h a v e   a d d e d   i t   t o   a   P o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14476"
  },
  {
    "question": "What is Uses for ephemeral containers?",
    "answer": "E p h e m e r a l   c o n t a i n e r s   a r e   u s e f u l   f o r   i n t e r a c t i v e   t r o u b l e s h o o t i n g   w h e n   k u b e c t l   e x e c   i s   i n s u f f i c i e n t   b e c a u s e   a   c o n t a i n e r   h a s   c r a s h e d   o r   a   c o n t a i n e r   i m a g e   d o e s n ' t   i n c l u d e   d e b u g g i n g   u t i l i t i e s .   I n   p a r t i c u l a r ,   d i s t r o l e s s   i m a g e s   e n a b l e   y o u   t o   d e p l o y   m i n i m a l   c o n t a i n e r   i m a g e s   t h a t   r e d u c e   a t t a c k   s u r f a c e   a n d   e x p o s u r e   t o   b u g s   a n d   v u l n e r a b i l i t i e s .   S i n c e   d i s t r o l e s s   i m a g e s   d o   n o t   i n c l u d e   a   s h e l l   o r   a n y   d e b u g g i n g   u t i l i t i e s ,   i t ' s   d i f f i c u l t   t o   t r o u b l e s h o o t   d i s t r o l e s s   i m a g e s   u s i n g   k u b e c t l   e x e c   a l o n e .   W h e n   u s i n g   e p h e m e r a l   c o n t a i n e r s ,   i t ' s   h e l p f u l   t o   e n a b l e   p r o c e s s   n a m e s p a c e   s h a r i n g   s o   y o u   c a n   v i e w   p r o c e s s e s   i n   o t h e r   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14477"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   d e b u g   p o d s   u s i n g   e p h e m e r a l   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14478"
  },
  {
    "question": "What is 1.5 - Disruptions?",
    "answer": "T h i s   g u i d e   i s   f o r   a p p l i c a t i o n   o w n e r s   w h o   w a n t   t o   b u i l d   h i g h l y   a v a i l a b l e   a p p l i c a t i o n s ,   a n d   t h u s   n e e d   t o   u n d e r s t a n d   w h a t   t y p e s   o f   d i s r u p t i o n s   c a n   h a p p e n   t o   P o d s .   I t   i s   a l s o   f o r   c l u s t e r   a d m i n i s t r a t o r s   w h o   w a n t   t o   p e r f o r m   a u t o m a t e d   c l u s t e r   a c t i o n s ,   l i k e   u p g r a d i n g   a n d   a u t o s c a l i n g   c l u s t e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_1_14479"
  },
  {
    "question": "What is Voluntary and involuntary disruptions?",
    "answer": "P o d s   d o   n o t   d i s a p p e a r   u n t i l   s o m e o n e   ( a   p e r s o n   o r   a   c o n t r o l l e r )   d e s t r o y s   t h e m ,   o r   t h e r e   i s   a n   u n a v o i d a b l e   h a r d w a r e   o r   s y s t e m   s o f t w a r e   e r r o r .   W e   c a l l   t h e s e   u n a v o i d a b l e   c a s e s   i n v o l u n t a r y   d i s r u p t i o n s   t o   a n   a p p l i c a t i o n .   E x a m p l e s   a r e :   a   h a r d w a r e   f a i l u r e   o f   t h e   p h y s i c a l   m a c h i n e   b a c k i n g   t h e   n o d e c l u s t e r   a d m i n i s t r a t o r   d e l e t e s   V M   ( i n s t a n c e )   b y   m i s t a k e c l o u d   p r o v i d e r   o r   h y p e r v i s o r   f a i l u r e   m a k e s   V M   d i s a p p e a r a   k e r n e l   p a n i c t h e   n o d e   d i s a p p e a r s   f r o m   t h e   c l u s t e r   d u e   t o   c l u s t e r   n e t w o r k   p a r t i t i o n e v i c t i o n   o f   a   p o d   d u e   t o   t h e   n o d e   b e i n g   o u t - o f - r e s o u r c e s .   E x c e p t   f o r   t h e   o u t - o f - r e s o u r c e s   c o n d i t i o n ,   a l l   t h e s e   c o n d i t i o n s   s h o u l d   b e   f a m i l i a r   t o   m o s t   u s e r s ;   t h e y   a r e   n o t   s p e c i f i c   t o   K u b e r n e t e s .   W e   c a l l   o t h e r   c a s e s   v o l u n t a r y   d i s r u p t i o n s .   T h e s e   i n c l u d e   b o t h   a c t i o n s   i n i t i a t e d   b y   t h e   a p p l i c a t i o n   o w n e r   a n d   t h o s e   i n i t i a t e d   b y   a   C l u s t e r   A d m i n i s t r a t o r .   T y p i c a l   a p p l i c a t i o n   o w n e r   a c t i o n s   i n c l u d e :   d e l e t i n g   t h e   d e p l o y m e n t   o r   o t h e r   c o n t r o l l e r   t h a t   m a n a g e s   t h e   p o d u p d a t i n g   a   d e p l o y m e n t ' s   p o d   t e m p l a t e   c a u s i n g   a   r e s t a r t d i r e c t l y   d e l e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14480"
  },
  {
    "question": "What is Dealing with disruptions?",
    "answer": "H e r e   a r e   s o m e   w a y s   t o   m i t i g a t e   i n v o l u n t a r y   d i s r u p t i o n s :   E n s u r e   y o u r   p o d   r e q u e s t s   t h e   r e s o u r c e s   i t   n e e d s . R e p l i c a t e   y o u r   a p p l i c a t i o n   i f   y o u   n e e d   h i g h e r   a v a i l a b i l i t y .   ( L e a r n   a b o u t   r u n n i n g   r e p l i c a t e d   s t a t e l e s s   a n d   s t a t e f u l   a p p l i c a t i o n s . ) F o r   e v e n   h i g h e r   a v a i l a b i l i t y   w h e n   r u n n i n g   r e p l i c a t e d   a p p l i c a t i o n s ,   s p r e a d   a p p l i c a t i o n s   a c r o s s   r a c k s   ( u s i n g   a n t i - a f f i n i t y )   o r   a c r o s s   z o n e s   ( i f   u s i n g   a   m u l t i - z o n e   c l u s t e r . )   T h e   f r e q u e n c y   o f   v o l u n t a r y   d i s r u p t i o n s   v a r i e s .   O n   a   b a s i c   K u b e r n e t e s   c l u s t e r ,   t h e r e   a r e   n o   a u t o m a t e d   v o l u n t a r y   d i s r u p t i o n s   ( o n l y   u s e r - t r i g g e r e d   o n e s ) .   H o w e v e r ,   y o u r   c l u s t e r   a d m i n i s t r a t o r   o r   h o s t i n g   p r o v i d e r   m a y   r u n   s o m e   a d d i t i o n a l   s e r v i c e s   w h i c h   c a u s e   v o l u n t a r y   d i s r u p t i o n s .   F o r   e x a m p l e ,   r o l l i n g   o u t   n o d e   s o f t w a r e   u p d a t e s   c a n   c a u s e   v o l u n t a r y   d i s r u p t i o n s .   A l s o ,   s o m e   i m p l e m e n t a t i o n s   o f   c l u s t e r   ( n o d e )   a u t o s c a l i n g   m a y   c a u s e   v o l u n t a r y   d i s r u p t i o n s   t o   d e f r a g m e n t   a n d   c o m p a c t   n o d e s .   Y o u r   c l u s t e r   a d m i n i s t r a t o r   o r   h o s t i n g   p r o v i d e r   s h o u l d   h a v e   d o c u m e n t e d   w h a t   l e v e l   o f   v o l u n t a r y   d i s r u p t i o n s ,   i f   a n y ,   t o   e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14481"
  },
  {
    "question": "What is Pod disruption budgets?",
    "answer": "K u b e r n e t e s   o f f e r s   f e a t u r e s   t o   h e l p   y o u   r u n   h i g h l y   a v a i l a b l e   a p p l i c a t i o n s   e v e n   w h e n   y o u   i n t r o d u c e   f r e q u e n t   v o l u n t a r y   d i s r u p t i o n s .   A s   a n   a p p l i c a t i o n   o w n e r ,   y o u   c a n   c r e a t e   a   P o d D i s r u p t i o n B u d g e t   ( P D B )   f o r   e a c h   a p p l i c a t i o n .   A   P D B   l i m i t s   t h e   n u m b e r   o f   P o d s   o f   a   r e p l i c a t e d   a p p l i c a t i o n   t h a t   a r e   d o w n   s i m u l t a n e o u s l y   f r o m   v o l u n t a r y   d i s r u p t i o n s .   F o r   e x a m p l e ,   a   q u o r u m - b a s e d   a p p l i c a t i o n   w o u l d   l i k e   t o   e n s u r e   t h a t   t h e   n u m b e r   o f   r e p l i c a s   r u n n i n g   i s   n e v e r   b r o u g h t   b e l o w   t h e   n u m b e r   n e e d e d   f o r   a   q u o r u m .   A   w e b   f r o n t   e n d   m i g h t   w a n t   t o   e n s u r e   t h a t   t h e   n u m b e r   o f   r e p l i c a s   s e r v i n g   l o a d   n e v e r   f a l l s   b e l o w   a   c e r t a i n   p e r c e n t a g e   o f   t h e   t o t a l .   C l u s t e r   m a n a g e r s   a n d   h o s t i n g   p r o v i d e r s   s h o u l d   u s e   t o o l s   w h i c h   r e s p e c t   P o d D i s r u p t i o n B u d g e t s   b y   c a l l i n g   t h e   E v i c t i o n   A P I   i n s t e a d   o f   d i r e c t l y   d e l e t i n g   p o d s   o r   d e p l o y m e n t s .   F o r   e x a m p l e ,   t h e   k u b e c t l   d r a i n   s u b c o m m a n d   l e t s   y o u   m a r k   a   n o d e   a s   g o i n g   o u t   o f   s e r v i c e .   W h e n   y o u   r u n   k u b e c t l   d r a i n ,   t h e   t o o l   t r i e s   t o   e v i c t   a l l   o f   t h e   P o d s   o n   t h e   N o d e   y o u ' r e   t a k i n g   o u t   o f   s e r v i c e .   T h e   e v i c t i o n   r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14482"
  },
  {
    "question": "What is PodDisruptionBudget example?",
    "answer": "C o n s i d e r   a   c l u s t e r   w i t h   3   n o d e s ,   n o d e - 1   t h r o u g h   n o d e - 3 .   T h e   c l u s t e r   i s   r u n n i n g   s e v e r a l   a p p l i c a t i o n s .   O n e   o f   t h e m   h a s   3   r e p l i c a s   i n i t i a l l y   c a l l e d   p o d - a ,   p o d - b ,   a n d   p o d - c .   A n o t h e r ,   u n r e l a t e d   p o d   w i t h o u t   a   P D B ,   c a l l e d   p o d - x ,   i s   a l s o   s h o w n .   I n i t i a l l y ,   t h e   p o d s   a r e   l a i d   o u t   a s   f o l l o w s :   A l l   3   p o d s   a r e   p a r t   o f   a   d e p l o y m e n t ,   a n d   t h e y   c o l l e c t i v e l y   h a v e   a   P D B   w h i c h   r e q u i r e s   t h e r e   b e   a t   l e a s t   2   o f   t h e   3   p o d s   t o   b e   a v a i l a b l e   a t   a l l   t i m e s .   F o r   e x a m p l e ,   a s s u m e   t h e   c l u s t e r   a d m i n i s t r a t o r   w a n t s   t o   r e b o o t   i n t o   a   n e w   k e r n e l   v e r s i o n   t o   f i x   a   b u g   i n   t h e   k e r n e l .   T h e   c l u s t e r   a d m i n i s t r a t o r   f i r s t   t r i e s   t o   d r a i n   n o d e - 1   u s i n g   t h e   k u b e c t l   d r a i n   c o m m a n d .   T h a t   t o o l   t r i e s   t o   e v i c t   p o d - a   a n d   p o d - x .   T h i s   s u c c e e d s   i m m e d i a t e l y .   B o t h   p o d s   g o   i n t o   t h e   t e r m i n a t i n g   s t a t e   a t   t h e   s a m e   t i m e .   T h i s   p u t s   t h e   c l u s t e r   i n   t h i s   s t a t e :   T h e   d e p l o y m e n t   n o t i c e s   t h a t   o n e   o f   t h e   p o d s   i s   t e r m i n a t i n g ,   s o   i t   c r e a t e s   a   r e p l a c e m e n t   c a l l e d   p o d - d .   S i n c e   n o d e - 1   i s   c o r d o n e d ,   i t   l a n d s   o n   a n o t h e r   n o d e .   S o m e t h i n g   h a s   a l s o   c r e a t e d   p o d - y   a s   a   r e p l a c e m e n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14483"
  },
  {
    "question": "What is Pod disruption conditions?",
    "answer": "A   d e d i c a t e d   P o d   D i s r u p t i o n T a r g e t   c o n d i t i o n   i s   a d d e d   t o   i n d i c a t e   t h a t   t h e   P o d   i s   a b o u t   t o   b e   d e l e t e d   d u e   t o   a   d i s r u p t i o n .   T h e   r e a s o n   f i e l d   o f   t h e   c o n d i t i o n   a d d i t i o n a l l y   i n d i c a t e s   o n e   o f   t h e   f o l l o w i n g   r e a s o n s   f o r   t h e   P o d   t e r m i n a t i o n :   I n   a l l   o t h e r   d i s r u p t i o n   s c e n a r i o s ,   l i k e   e v i c t i o n   d u e   t o   e x c e e d i n g   P o d   c o n t a i n e r   l i m i t s ,   P o d s   d o n ' t   r e c e i v e   t h e   D i s r u p t i o n T a r g e t   c o n d i t i o n   b e c a u s e   t h e   d i s r u p t i o n s   w e r e   p r o b a b l y   c a u s e d   b y   t h e   P o d   a n d   w o u l d   r e o c c u r   o n   r e t r y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14484"
  },
  {
    "question": "What is Note:?",
    "answer": "A l o n g   w i t h   c l e a n i n g   u p   t h e   p o d s ,   t h e   P o d   g a r b a g e   c o l l e c t o r   ( P o d G C )   w i l l   a l s o   m a r k   t h e m   a s   f a i l e d   i f   t h e y   a r e   i n   a   n o n - t e r m i n a l   p h a s e   ( s e e   a l s o   P o d   g a r b a g e   c o l l e c t i o n ) .   W h e n   u s i n g   a   J o b   ( o r   C r o n J o b ) ,   y o u   m a y   w a n t   t o   u s e   t h e s e   P o d   d i s r u p t i o n   c o n d i t i o n s   a s   p a r t   o f   y o u r   J o b ' s   P o d   f a i l u r e   p o l i c y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14485"
  },
  {
    "question": "What is Separating Cluster Owner and Application Owner Roles?",
    "answer": "O f t e n ,   i t   i s   u s e f u l   t o   t h i n k   o f   t h e   C l u s t e r   M a n a g e r   a n d   A p p l i c a t i o n   O w n e r   a s   s e p a r a t e   r o l e s   w i t h   l i m i t e d   k n o w l e d g e   o f   e a c h   o t h e r .   T h i s   s e p a r a t i o n   o f   r e s p o n s i b i l i t i e s   m a y   m a k e   s e n s e   i n   t h e s e   s c e n a r i o s :   w h e n   t h e r e   a r e   m a n y   a p p l i c a t i o n   t e a m s   s h a r i n g   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e r e   i s   n a t u r a l   s p e c i a l i z a t i o n   o f   r o l e s w h e n   t h i r d - p a r t y   t o o l s   o r   s e r v i c e s   a r e   u s e d   t o   a u t o m a t e   c l u s t e r   m a n a g e m e n t   P o d   D i s r u p t i o n   B u d g e t s   s u p p o r t   t h i s   s e p a r a t i o n   o f   r o l e s   b y   p r o v i d i n g   a n   i n t e r f a c e   b e t w e e n   t h e   r o l e s .   I f   y o u   d o   n o t   h a v e   s u c h   a   s e p a r a t i o n   o f   r e s p o n s i b i l i t i e s   i n   y o u r   o r g a n i z a t i o n ,   y o u   m a y   n o t   n e e d   t o   u s e   P o d   D i s r u p t i o n   B u d g e t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14486"
  },
  {
    "question": "What is How to perform Disruptive Actions on your Cluster?",
    "answer": "I f   y o u   a r e   a   C l u s t e r   A d m i n i s t r a t o r ,   a n d   y o u   n e e d   t o   p e r f o r m   a   d i s r u p t i v e   a c t i o n   o n   a l l   t h e   n o d e s   i n   y o u r   c l u s t e r ,   s u c h   a s   a   n o d e   o r   s y s t e m   s o f t w a r e   u p g r a d e ,   h e r e   a r e   s o m e   o p t i o n s :   A c c e p t   d o w n t i m e   d u r i n g   t h e   u p g r a d e . F a i l o v e r   t o   a n o t h e r   c o m p l e t e   r e p l i c a   c l u s t e r . N o   d o w n t i m e ,   b u t   m a y   b e   c o s t l y   b o t h   f o r   t h e   d u p l i c a t e d   n o d e s   a n d   f o r   h u m a n   e f f o r t   t o   o r c h e s t r a t e   t h e   s w i t c h o v e r . W r i t e   d i s r u p t i o n   t o l e r a n t   a p p l i c a t i o n s   a n d   u s e   P D B s . N o   d o w n t i m e . M i n i m a l   r e s o u r c e   d u p l i c a t i o n . A l l o w s   m o r e   a u t o m a t i o n   o f   c l u s t e r   a d m i n i s t r a t i o n . W r i t i n g   d i s r u p t i o n - t o l e r a n t   a p p l i c a t i o n s   i s   t r i c k y ,   b u t   t h e   w o r k   t o   t o l e r a t e   v o l u n t a r y   d i s r u p t i o n s   l a r g e l y   o v e r l a p s   w i t h   w o r k   t o   s u p p o r t   a u t o s c a l i n g   a n d   t o l e r a t i n g   i n v o l u n t a r y   d i s r u p t i o n s .   N o   d o w n t i m e ,   b u t   m a y   b e   c o s t l y   b o t h   f o r   t h e   d u p l i c a t e d   n o d e s   a n d   f o r   h u m a n   e f f o r t   t o   o r c h e s t r a t e   t h e   s w i t c h o v e r .   N o   d o w n t i m e . M i n i m a l   r e s o u r c e   d u p l i c a t i o n . A l l o w s   m o r e   a u t o m a t i o n   o f   c l u s t e r   a d m i n i s t r a t i o n . W r i t i n g   d i s r u p t i o n - t o l e r a n t   a p p l i c a t i o n s   i s   t r i c k y ,   b u t   t h e   w o r k   t o   t o l e r a t e   v o l u n t a r y   d i s r u p t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14487"
  },
  {
    "question": "What is What's next?",
    "answer": "F o l l o w   s t e p s   t o   p r o t e c t   y o u r   a p p l i c a t i o n   b y   c o n f i g u r i n g   a   P o d   D i s r u p t i o n   B u d g e t . L e a r n   m o r e   a b o u t   d r a i n i n g   n o d e s L e a r n   a b o u t   u p d a t i n g   a   d e p l o y m e n t   i n c l u d i n g   s t e p s   t o   m a i n t a i n   i t s   a v a i l a b i l i t y   d u r i n g   t h e   r o l l o u t .   F o l l o w   s t e p s   t o   p r o t e c t   y o u r   a p p l i c a t i o n   b y   c o n f i g u r i n g   a   P o d   D i s r u p t i o n   B u d g e t .   L e a r n   m o r e   a b o u t   d r a i n i n g   n o d e s   L e a r n   a b o u t   u p d a t i n g   a   d e p l o y m e n t   i n c l u d i n g   s t e p s   t o   m a i n t a i n   i t s   a v a i l a b i l i t y   d u r i n g   t h e   r o l l o u t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14488"
  },
  {
    "question": "What is 1.6 - Pod Hostname?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   t o   s e t   a   P o d ' s   h o s t n a m e ,   p o t e n t i a l   s i d e   e f f e c t s   a f t e r   c o n f i g u r a t i o n ,   a n d   t h e   u n d e r l y i n g   m e c h a n i c s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_1_14489"
  },
  {
    "question": "What is Default Pod hostname?",
    "answer": "W h e n   a   P o d   i s   c r e a t e d ,   i t s   h o s t n a m e   ( a s   o b s e r v e d   f r o m   w i t h i n   t h e   P o d )   i s   d e r i v e d   f r o m   t h e   P o d ' s   m e t a d a t a . n a m e   v a l u e .   B o t h   t h e   h o s t n a m e   a n d   i t s   c o r r e s p o n d i n g   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N )   a r e   s e t   t o   t h e   m e t a d a t a . n a m e   v a l u e   ( f r o m   t h e   P o d ' s   p e r s p e c t i v e )   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   b u s y b o x - 1   s p e c :   c o n t a i n e r s :   -   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   -   s l e e p   -   \" 3 6 0 0 \"   n a m e :   b u s y b o x   T h e   P o d   c r e a t e d   b y   t h i s   m a n i f e s t   w i l l   h a v e   i t s   h o s t n a m e   a n d   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N )   s e t   t o   b u s y b o x - 1 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14490"
  },
  {
    "question": "What is Hostname with pod's hostname and subdomain fields?",
    "answer": "T h e   P o d   s p e c   i n c l u d e s   a n   o p t i o n a l   h o s t n a m e   f i e l d .   W h e n   s e t ,   t h i s   v a l u e   t a k e s   p r e c e d e n c e   o v e r   t h e   P o d ' s   m e t a d a t a . n a m e   a s   t h e   h o s t n a m e   ( o b s e r v e d   f r o m   w i t h i n   t h e   P o d ) .   F o r   e x a m p l e ,   a   P o d   w i t h   s p e c . h o s t n a m e   s e t   t o   m y - h o s t   w i l l   h a v e   i t s   h o s t n a m e   s e t   t o   m y - h o s t .   T h e   P o d   s p e c   a l s o   i n c l u d e s   a n   o p t i o n a l   s u b d o m a i n   f i e l d ,   i n d i c a t i n g   t h e   P o d   b e l o n g s   t o   a   s u b d o m a i n   w i t h i n   i t s   n a m e s p a c e .   I f   a   P o d   h a s   s p e c . h o s t n a m e   s e t   t o   \" f o o \"   a n d   s p e c . s u b d o m a i n   s e t   t o   \" b a r \"   i n   t h e   n a m e s p a c e   m y - n a m e s p a c e ,   i t s   h o s t n a m e   b e c o m e s   f o o   a n d   i t s   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N )   b e c o m e s   f o o . b a r . m y - n a m e s p a c e . s v c . c l u s t e r - d o m a i n . e x a m p l e   ( o b s e r v e d   f r o m   w i t h i n   t h e   P o d ) .   W h e n   b o t h   h o s t n a m e   a n d   s u b d o m a i n   a r e   s e t ,   t h e   c l u s t e r ' s   D N S   s e r v e r   w i l l   c r e a t e   A   a n d / o r   A A A A   r e c o r d s   b a s e d   o n   t h e s e   f i e l d s .   R e f e r   t o :   P o d ' s   h o s t n a m e   a n d   s u b d o m a i n   f i e l d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14491"
  },
  {
    "question": "What is Hostname with pod's setHostnameAsFQDN fields?",
    "answer": "W h e n   a   P o d   i s   c o n f i g u r e d   t o   h a v e   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N ) ,   i t s   h o s t n a m e   i s   t h e   s h o r t   h o s t n a m e .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   P o d   w i t h   t h e   f u l l y   q u a l i f i e d   d o m a i n   n a m e   b u s y b o x - 1 . b u s y b o x - s u b d o m a i n . m y - n a m e s p a c e . s v c . c l u s t e r - d o m a i n . e x a m p l e ,   t h e n   b y   d e f a u l t   t h e   h o s t n a m e   c o m m a n d   i n s i d e   t h a t   P o d   r e t u r n s   b u s y b o x - 1   a n d   t h e   h o s t n a m e   - - f q d n   c o m m a n d   r e t u r n s   t h e   F Q D N .   W h e n   b o t h   s e t H o s t n a m e A s F Q D N :   t r u e   a n d   t h e   s u b d o m a i n   f i e l d   i s   s e t   i n   t h e   P o d   s p e c ,   t h e   k u b e l e t   w r i t e s   t h e   P o d ' s   F Q D N   i n t o   t h e   h o s t n a m e   f o r   t h a t   P o d ' s   n a m e s p a c e .   I n   t h i s   c a s e ,   b o t h   h o s t n a m e   a n d   h o s t n a m e   - - f q d n   r e t u r n   t h e   P o d ' s   F Q D N .   T h e   P o d ' s   F Q D N   i s   c o n s t r u c t e d   i n   t h e   s a m e   m a n n e r   a s   p r e v i o u s l y   d e f i n e d .   I t   i s   c o m p o s e d   o f   t h e   P o d ' s   s p e c . h o s t n a m e   ( i f   s p e c i f i e d )   o r   m e t a d a t a . n a m e   f i e l d ,   t h e   s p e c . s u b d o m a i n ,   t h e   n a m e s p a c e   n a m e ,   a n d   t h e   c l u s t e r   d o m a i n   s u f f i x .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14492"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   L i n u x ,   t h e   h o s t n a m e   f i e l d   o f   t h e   k e r n e l   ( t h e   n o d e n a m e   f i e l d   o f   s t r u c t   u t s n a m e )   i s   l i m i t e d   t o   6 4   c h a r a c t e r s .   I f   a   P o d   e n a b l e s   t h i s   f e a t u r e   a n d   i t s   F Q D N   i s   l o n g e r   t h a n   6 4   c h a r a c t e r ,   i t   w i l l   f a i l   t o   s t a r t .   T h e   P o d   w i l l   r e m a i n   i n   P e n d i n g   s t a t u s   ( C o n t a i n e r C r e a t i n g   a s   s e e n   b y   k u b e c t l )   g e n e r a t i n g   e r r o r   e v e n t s ,   s u c h   a s   \" F a i l e d   t o   c o n s t r u c t   F Q D N   f r o m   P o d   h o s t n a m e   a n d   c l u s t e r   d o m a i n \" .   T h i s   m e a n s   t h a t   w h e n   u s i n g   t h i s   f i e l d ,   y o u   m u s t   e n s u r e   t h e   c o m b i n e d   l e n g t h   o f   t h e   P o d ' s   m e t a d a t a . n a m e   ( o r   s p e c . h o s t n a m e )   a n d   s p e c . s u b d o m a i n   f i e l d s   r e s u l t s   i n   a n   F Q D N   t h a t   d o e s   n o t   e x c e e d   6 4   c h a r a c t e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14493"
  },
  {
    "question": "What is Hostname with pod's hostnameOverride?",
    "answer": "S e t t i n g   a   v a l u e   f o r   h o s t n a m e O v e r r i d e   i n   t h e   P o d   s p e c   c a u s e s   t h e   k u b e l e t   t o   u n c o n d i t i o n a l l y   s e t   b o t h   t h e   P o d ' s   h o s t n a m e   a n d   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N )   t o   t h e   h o s t n a m e O v e r r i d e   v a l u e .   T h e   h o s t n a m e O v e r r i d e   f i e l d   h a s   a   l e n g t h   l i m i t a t i o n   o f   6 4   c h a r a c t e r s   a n d   m u s t   a d h e r e   t o   t h e   D N S   s u b d o m a i n   n a m e s   s t a n d a r d   d e f i n e d   i n   R F C   1 1 2 3 .   E x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   b u s y b o x - 2 - b u s y b o x - e x a m p l e - d o m a i n   s p e c :   h o s t n a m e O v e r r i d e :   b u s y b o x - 2 . b u s y b o x . e x a m p l e . d o m a i n   c o n t a i n e r s :   -   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   -   s l e e p   -   \" 3 6 0 0 \"   n a m e :   b u s y b o x",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14494"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   h o s t n a m e O v e r r i d e   i s   s e t   a l o n g s i d e   h o s t n a m e   a n d   s u b d o m a i n   f i e l d s :   T h e   h o s t n a m e   i n s i d e   t h e   P o d   i s   o v e r r i d d e n   t o   t h e   h o s t n a m e O v e r r i d e   v a l u e . T h e   P o d ' s   A   a n d / o r   A A A A   r e c o r d s   i n   t h e   c l u s t e r   D N S   s e r v e r   a r e   s t i l l   g e n e r a t e d   b a s e d   o n   t h e   h o s t n a m e   a n d   s u b d o m a i n   f i e l d s .   T h e   h o s t n a m e   i n s i d e   t h e   P o d   i s   o v e r r i d d e n   t o   t h e   h o s t n a m e O v e r r i d e   v a l u e .   T h e   P o d ' s   A   a n d / o r   A A A A   r e c o r d s   i n   t h e   c l u s t e r   D N S   s e r v e r   a r e   s t i l l   g e n e r a t e d   b a s e d   o n   t h e   h o s t n a m e   a n d   s u b d o m a i n   f i e l d s .   N o t e :   I f   h o s t n a m e O v e r r i d e   i s   s e t ,   y o u   c a n n o t   s i m u l t a n e o u s l y   s e t   t h e   h o s t N e t w o r k   a n d   s e t H o s t n a m e A s F Q D N   f i e l d s .   T h e   A P I   s e r v e r   w i l l   e x p l i c i t l y   r e j e c t   a n y   c r e a t e   r e q u e s t   a t t e m p t i n g   t h i s   c o m b i n a t i o n .   F o r   d e t a i l s   o n   b e h a v i o r   w h e n   h o s t n a m e O v e r r i d e   i s   s e t   i n   c o m b i n a t i o n   w i t h   o t h e r   f i e l d s   ( h o s t n a m e ,   s u b d o m a i n ,   s e t H o s t n a m e A s F Q D N ,   h o s t N e t w o r k ) ,   s e e   t h e   t a b l e   i n   t h e   K E P - 4 7 6 2   d e s i g n   d e t a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14495"
  },
  {
    "question": "What is 1.7 - Pod Quality of Service Classes?",
    "answer": "T h i s   p a g e   i n t r o d u c e s   Q u a l i t y   o f   S e r v i c e   ( Q o S )   c l a s s e s   i n   K u b e r n e t e s ,   a n d   e x p l a i n s   h o w   K u b e r n e t e s   a s s i g n s   a   Q o S   c l a s s   t o   e a c h   P o d   a s   a   c o n s e q u e n c e   o f   t h e   r e s o u r c e   c o n s t r a i n t s   t h a t   y o u   s p e c i f y   f o r   t h e   c o n t a i n e r s   i n   t h a t   P o d .   K u b e r n e t e s   r e l i e s   o n   t h i s   c l a s s i f i c a t i o n   t o   m a k e   d e c i s i o n s   a b o u t   w h i c h   P o d s   t o   e v i c t   w h e n   t h e r e   a r e   n o t   e n o u g h   a v a i l a b l e   r e s o u r c e s   o n   a   N o d e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_1_14496"
  },
  {
    "question": "What is Quality of Service classes?",
    "answer": "K u b e r n e t e s   c l a s s i f i e s   t h e   P o d s   t h a t   y o u   r u n   a n d   a l l o c a t e s   e a c h   P o d   i n t o   a   s p e c i f i c   q u a l i t y   o f   s e r v i c e   ( Q o S )   c l a s s .   K u b e r n e t e s   u s e s   t h a t   c l a s s i f i c a t i o n   t o   i n f l u e n c e   h o w   d i f f e r e n t   p o d s   a r e   h a n d l e d .   K u b e r n e t e s   d o e s   t h i s   c l a s s i f i c a t i o n   b a s e d   o n   t h e   r e s o u r c e   r e q u e s t s   o f   t h e   C o n t a i n e r s   i n   t h a t   P o d ,   a l o n g   w i t h   h o w   t h o s e   r e q u e s t s   r e l a t e   t o   r e s o u r c e   l i m i t s .   T h i s   i s   k n o w n   a s   Q u a l i t y   o f   S e r v i c e   ( Q o S )   c l a s s .   K u b e r n e t e s   a s s i g n s   e v e r y   P o d   a   Q o S   c l a s s   b a s e d   o n   t h e   r e s o u r c e   r e q u e s t s   a n d   l i m i t s   o f   i t s   c o m p o n e n t   C o n t a i n e r s .   Q o S   c l a s s e s   a r e   u s e d   b y   K u b e r n e t e s   t o   d e c i d e   w h i c h   P o d s   t o   e v i c t   f r o m   a   N o d e   e x p e r i e n c i n g   N o d e   P r e s s u r e .   T h e   p o s s i b l e   Q o S   c l a s s e s   a r e   G u a r a n t e e d ,   B u r s t a b l e ,   a n d   B e s t E f f o r t .   W h e n   a   N o d e   r u n s   o u t   o f   r e s o u r c e s ,   K u b e r n e t e s   w i l l   f i r s t   e v i c t   B e s t E f f o r t   P o d s   r u n n i n g   o n   t h a t   N o d e ,   f o l l o w e d   b y   B u r s t a b l e   a n d   f i n a l l y   G u a r a n t e e d   P o d s .   W h e n   t h i s   e v i c t i o n   i s   d u e   t o   r e s o u r c e   p r e s s u r e ,   o n l y   P o d s   e x c e e d i n g   r e s o u r c e   r e q u e s t s   a r e   c a n d i d a t e s   f o r   e v i c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14497"
  },
  {
    "question": "What is Guaranteed?",
    "answer": "P o d s   t h a t   a r e   G u a r a n t e e d   h a v e   t h e   s t r i c t e s t   r e s o u r c e   l i m i t s   a n d   a r e   l e a s t   l i k e l y   t o   f a c e   e v i c t i o n .   T h e y   a r e   g u a r a n t e e d   n o t   t o   b e   k i l l e d   u n t i l   t h e y   e x c e e d   t h e i r   l i m i t s   o r   t h e r e   a r e   n o   l o w e r - p r i o r i t y   P o d s   t h a t   c a n   b e   p r e e m p t e d   f r o m   t h e   N o d e .   T h e y   m a y   n o t   a c q u i r e   r e s o u r c e s   b e y o n d   t h e i r   s p e c i f i e d   l i m i t s .   T h e s e   P o d s   c a n   a l s o   m a k e   u s e   o f   e x c l u s i v e   C P U s   u s i n g   t h e   s t a t i c   C P U   m a n a g e m e n t   p o l i c y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14498"
  },
  {
    "question": "What is Criteria?",
    "answer": "F o r   a   P o d   t o   b e   g i v e n   a   Q o S   c l a s s   o f   G u a r a n t e e d :   E v e r y   C o n t a i n e r   i n   t h e   P o d   m u s t   h a v e   a   m e m o r y   l i m i t   a n d   a   m e m o r y   r e q u e s t . F o r   e v e r y   C o n t a i n e r   i n   t h e   P o d ,   t h e   m e m o r y   l i m i t   m u s t   e q u a l   t h e   m e m o r y   r e q u e s t . E v e r y   C o n t a i n e r   i n   t h e   P o d   m u s t   h a v e   a   C P U   l i m i t   a n d   a   C P U   r e q u e s t . F o r   e v e r y   C o n t a i n e r   i n   t h e   P o d ,   t h e   C P U   l i m i t   m u s t   e q u a l   t h e   C P U   r e q u e s t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14499"
  },
  {
    "question": "What is Burstable?",
    "answer": "P o d s   t h a t   a r e   B u r s t a b l e   h a v e   s o m e   l o w e r - b o u n d   r e s o u r c e   g u a r a n t e e s   b a s e d   o n   t h e   r e q u e s t ,   b u t   d o   n o t   r e q u i r e   a   s p e c i f i c   l i m i t .   I f   a   l i m i t   i s   n o t   s p e c i f i e d ,   i t   d e f a u l t s   t o   a   l i m i t   e q u i v a l e n t   t o   t h e   c a p a c i t y   o f   t h e   N o d e ,   w h i c h   a l l o w s   t h e   P o d s   t o   f l e x i b l y   i n c r e a s e   t h e i r   r e s o u r c e s   i f   r e s o u r c e s   a r e   a v a i l a b l e .   I n   t h e   e v e n t   o f   P o d   e v i c t i o n   d u e   t o   N o d e   r e s o u r c e   p r e s s u r e ,   t h e s e   P o d s   a r e   e v i c t e d   o n l y   a f t e r   a l l   B e s t E f f o r t   P o d s   a r e   e v i c t e d .   B e c a u s e   a   B u r s t a b l e   P o d   c a n   i n c l u d e   a   C o n t a i n e r   t h a t   h a s   n o   r e s o u r c e   l i m i t s   o r   r e q u e s t s ,   a   P o d   t h a t   i s   B u r s t a b l e   c a n   t r y   t o   u s e   a n y   a m o u n t   o f   n o d e   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14500"
  },
  {
    "question": "What is Criteria?",
    "answer": "A   P o d   i s   g i v e n   a   Q o S   c l a s s   o f   B u r s t a b l e   i f :   T h e   P o d   d o e s   n o t   m e e t   t h e   c r i t e r i a   f o r   Q o S   c l a s s   G u a r a n t e e d . A t   l e a s t   o n e   C o n t a i n e r   i n   t h e   P o d   h a s   a   m e m o r y   o r   C P U   r e q u e s t   o r   l i m i t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14501"
  },
  {
    "question": "What is BestEffort?",
    "answer": "P o d s   i n   t h e   B e s t E f f o r t   Q o S   c l a s s   c a n   u s e   n o d e   r e s o u r c e s   t h a t   a r e n ' t   s p e c i f i c a l l y   a s s i g n e d   t o   P o d s   i n   o t h e r   Q o S   c l a s s e s .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   n o d e   w i t h   1 6   C P U   c o r e s   a v a i l a b l e   t o   t h e   k u b e l e t ,   a n d   y o u   a s s i g n   4   C P U   c o r e s   t o   a   G u a r a n t e e d   P o d ,   t h e n   a   P o d   i n   t h e   B e s t E f f o r t   Q o S   c l a s s   c a n   t r y   t o   u s e   a n y   a m o u n t   o f   t h e   r e m a i n i n g   1 2   C P U   c o r e s .   T h e   k u b e l e t   p r e f e r s   t o   e v i c t   B e s t E f f o r t   P o d s   i f   t h e   n o d e   c o m e s   u n d e r   r e s o u r c e   p r e s s u r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14502"
  },
  {
    "question": "What is Criteria?",
    "answer": "A   P o d   h a s   a   Q o S   c l a s s   o f   B e s t E f f o r t   i f   i t   d o e s n ' t   m e e t   t h e   c r i t e r i a   f o r   e i t h e r   G u a r a n t e e d   o r   B u r s t a b l e .   I n   o t h e r   w o r d s ,   a   P o d   i s   B e s t E f f o r t   o n l y   i f   n o n e   o f   t h e   C o n t a i n e r s   i n   t h e   P o d   h a v e   a   m e m o r y   l i m i t   o r   a   m e m o r y   r e q u e s t ,   a n d   n o n e   o f   t h e   C o n t a i n e r s   i n   t h e   P o d   h a v e   a   C P U   l i m i t   o r   a   C P U   r e q u e s t .   C o n t a i n e r s   i n   a   P o d   c a n   r e q u e s t   o t h e r   r e s o u r c e s   ( n o t   C P U   o r   m e m o r y )   a n d   s t i l l   b e   c l a s s i f i e d   a s   B e s t E f f o r t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14503"
  },
  {
    "question": "What is Memory QoS with cgroup v2?",
    "answer": "M e m o r y   Q o S   u s e s   t h e   m e m o r y   c o n t r o l l e r   o f   c g r o u p   v 2   t o   g u a r a n t e e   m e m o r y   r e s o u r c e s   i n   K u b e r n e t e s .   M e m o r y   r e q u e s t s   a n d   l i m i t s   o f   c o n t a i n e r s   i n   p o d   a r e   u s e d   t o   s e t   s p e c i f i c   i n t e r f a c e s   m e m o r y . m i n   a n d   m e m o r y . h i g h   p r o v i d e d   b y   t h e   m e m o r y   c o n t r o l l e r .   W h e n   m e m o r y . m i n   i s   s e t   t o   m e m o r y   r e q u e s t s ,   m e m o r y   r e s o u r c e s   a r e   r e s e r v e d   a n d   n e v e r   r e c l a i m e d   b y   t h e   k e r n e l ;   t h i s   i s   h o w   M e m o r y   Q o S   e n s u r e s   m e m o r y   a v a i l a b i l i t y   f o r   K u b e r n e t e s   p o d s .   A n d   i f   m e m o r y   l i m i t s   a r e   s e t   i n   t h e   c o n t a i n e r ,   t h i s   m e a n s   t h a t   t h e   s y s t e m   n e e d s   t o   l i m i t   c o n t a i n e r   m e m o r y   u s a g e ;   M e m o r y   Q o S   u s e s   m e m o r y . h i g h   t o   t h r o t t l e   w o r k l o a d   a p p r o a c h i n g   i t s   m e m o r y   l i m i t ,   e n s u r i n g   t h a t   t h e   s y s t e m   i s   n o t   o v e r w h e l m e d   b y   i n s t a n t a n e o u s   m e m o r y   a l l o c a t i o n .   M e m o r y   Q o S   r e l i e s   o n   Q o S   c l a s s   t o   d e t e r m i n e   w h i c h   s e t t i n g s   t o   a p p l y ;   h o w e v e r ,   t h e s e   a r e   d i f f e r e n t   m e c h a n i s m s   t h a t   b o t h   p r o v i d e   c o n t r o l s   o v e r   q u a l i t y   o f   s e r v i c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14504"
  },
  {
    "question": "What is Some behavior is independent of QoS class?",
    "answer": "C e r t a i n   b e h a v i o r   i s   i n d e p e n d e n t   o f   t h e   Q o S   c l a s s   a s s i g n e d   b y   K u b e r n e t e s .   F o r   e x a m p l e :   A n y   C o n t a i n e r   e x c e e d i n g   a   r e s o u r c e   l i m i t   w i l l   b e   k i l l e d   a n d   r e s t a r t e d   b y   t h e   k u b e l e t   w i t h o u t   a f f e c t i n g   o t h e r   C o n t a i n e r s   i n   t h a t   P o d . I f   a   C o n t a i n e r   e x c e e d s   i t s   r e s o u r c e   r e q u e s t   a n d   t h e   n o d e   i t   r u n s   o n   f a c e s   r e s o u r c e   p r e s s u r e ,   t h e   P o d   i t   i s   i n   b e c o m e s   a   c a n d i d a t e   f o r   e v i c t i o n .   I f   t h i s   o c c u r s ,   a l l   C o n t a i n e r s   i n   t h e   P o d   w i l l   b e   t e r m i n a t e d .   K u b e r n e t e s   m a y   c r e a t e   a   r e p l a c e m e n t   P o d ,   u s u a l l y   o n   a   d i f f e r e n t   n o d e . T h e   r e s o u r c e   r e q u e s t   o f   a   P o d   i s   e q u a l   t o   t h e   s u m   o f   t h e   r e s o u r c e   r e q u e s t s   o f   i t s   c o m p o n e n t   C o n t a i n e r s ,   a n d   t h e   r e s o u r c e   l i m i t   o f   a   P o d   i s   e q u a l   t o   t h e   s u m   o f   t h e   r e s o u r c e   l i m i t s   o f   i t s   c o m p o n e n t   C o n t a i n e r s . T h e   k u b e - s c h e d u l e r   d o e s   n o t   c o n s i d e r   Q o S   c l a s s   w h e n   s e l e c t i n g   w h i c h   P o d s   t o   p r e e m p t .   P r e e m p t i o n   c a n   o c c u r   w h e n   a   c l u s t e r   d o e s   n o t   h a v e   e n o u g h   r e s o u r c e s   t o   r u n   a l l   t h e   P o d s   y o u   d e f i n e d .   A n y   C o n t a i n e r   e x c e e d i n g   a   r e s o u r c e   l i m i t   w i l l   b e   k i l l e d   a n d   r e s t a r t e d   b y   t h e   k u b e l e t   w i t h o u t   a f f e c t i n g   o t h e r   C o n t a i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14505"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   r e s o u r c e   m a n a g e m e n t   f o r   P o d s   a n d   C o n t a i n e r s . L e a r n   a b o u t   N o d e - p r e s s u r e   e v i c t i o n . L e a r n   a b o u t   P o d   p r i o r i t y   a n d   p r e e m p t i o n . L e a r n   a b o u t   P o d   d i s r u p t i o n s . L e a r n   h o w   t o   a s s i g n   m e m o r y   r e s o u r c e s   t o   c o n t a i n e r s   a n d   p o d s . L e a r n   h o w   t o   a s s i g n   C P U   r e s o u r c e s   t o   c o n t a i n e r s   a n d   p o d s . L e a r n   h o w   t o   c o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14506"
  },
  {
    "question": "What is 1.8 - User Namespaces?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   u s e r   n a m e s p a c e s   a r e   u s e d   i n   K u b e r n e t e s   p o d s .   A   u s e r   n a m e s p a c e   i s o l a t e s   t h e   u s e r   r u n n i n g   i n s i d e   t h e   c o n t a i n e r   f r o m   t h e   o n e   i n   t h e   h o s t .   A   p r o c e s s   r u n n i n g   a s   r o o t   i n   a   c o n t a i n e r   c a n   r u n   a s   a   d i f f e r e n t   ( n o n - r o o t )   u s e r   i n   t h e   h o s t ;   i n   o t h e r   w o r d s ,   t h e   p r o c e s s   h a s   f u l l   p r i v i l e g e s   f o r   o p e r a t i o n s   i n s i d e   t h e   u s e r   n a m e s p a c e ,   b u t   i s   u n p r i v i l e g e d   f o r   o p e r a t i o n s   o u t s i d e   t h e   n a m e s p a c e .   Y o u   c a n   u s e   t h i s   f e a t u r e   t o   r e d u c e   t h e   d a m a g e   a   c o m p r o m i s e d   c o n t a i n e r   c a n   d o   t o   t h e   h o s t   o r   o t h e r   p o d s   i n   t h e   s a m e   n o d e .   T h e r e   a r e   s e v e r a l   s e c u r i t y   v u l n e r a b i l i t i e s   r a t e d   e i t h e r   H I G H   o r   C R I T I C A L   t h a t   w e r e   n o t   e x p l o i t a b l e   w h e n   u s e r   n a m e s p a c e s   i s   a c t i v e .   I t   i s   e x p e c t e d   u s e r   n a m e s p a c e   w i l l   m i t i g a t e   s o m e   f u t u r e   v u l n e r a b i l i t i e s   t o o .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_1_14507"
  },
  {
    "question": "What is Before you begin?",
    "answer": "T h i s   i s   a   L i n u x - o n l y   f e a t u r e   a n d   s u p p o r t   i s   n e e d e d   i n   L i n u x   f o r   i d m a p   m o u n t s   o n   t h e   f i l e s y s t e m s   u s e d .   T h i s   m e a n s :   O n   t h e   n o d e ,   t h e   f i l e s y s t e m   y o u   u s e   f o r   / v a r / l i b / k u b e l e t / p o d s / ,   o r   t h e   c u s t o m   d i r e c t o r y   y o u   c o n f i g u r e   f o r   t h i s ,   n e e d s   i d m a p   m o u n t   s u p p o r t . A l l   t h e   f i l e s y s t e m s   u s e d   i n   t h e   p o d ' s   v o l u m e s   m u s t   s u p p o r t   i d m a p   m o u n t s .   I n   p r a c t i c e   t h i s   m e a n s   y o u   n e e d   a t   l e a s t   L i n u x   6 . 3 ,   a s   t m p f s   s t a r t e d   s u p p o r t i n g   i d m a p   m o u n t s   i n   t h a t   v e r s i o n .   T h i s   i s   u s u a l l y   n e e d e d   a s   s e v e r a l   K u b e r n e t e s   f e a t u r e s   u s e   t m p f s   ( t h e   s e r v i c e   a c c o u n t   t o k e n   t h a t   i s   m o u n t e d   b y   d e f a u l t   u s e s   a   t m p f s ,   S e c r e t s   u s e   a   t m p f s ,   e t c . )   S o m e   p o p u l a r   f i l e s y s t e m s   t h a t   s u p p o r t   i d m a p   m o u n t s   i n   L i n u x   6 . 3   a r e :   b t r f s ,   e x t 4 ,   x f s ,   f a t ,   t m p f s ,   o v e r l a y f s .   I n   a d d i t i o n ,   t h e   c o n t a i n e r   r u n t i m e   a n d   i t s   u n d e r l y i n g   O C I   r u n t i m e   m u s t   s u p p o r t   u s e r   n a m e s p a c e s .   T h e   f o l l o w i n g   O C I   r u n t i m e s   o f f e r   s u p p o r t :   c r u n   v e r s i o n   1 . 9   o r   g r e a t e r   ( i t ' s   r e c o m m e n d   v e r s i o n   1 . 1 3 + ) . r u n c   v e r s i o n   1 . 2   o r   g r e a t e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14508"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   u s e   u s e r   n a m e s p a c e s   w i t h   K u b e r n e t e s ,   y o u   a l s o   n e e d   t o   u s e   a   C R I   c o n t a i n e r   r u n t i m e   t o   u s e   t h i s   f e a t u r e   w i t h   K u b e r n e t e s   p o d s :   c o n t a i n e r d :   v e r s i o n   2 . 0   ( a n d   l a t e r )   s u p p o r t s   u s e r   n a m e s p a c e s   f o r   c o n t a i n e r s . C R I - O :   v e r s i o n   1 . 2 5   ( a n d   l a t e r )   s u p p o r t s   u s e r   n a m e s p a c e s   f o r   c o n t a i n e r s .   Y o u   c a n   s e e   t h e   s t a t u s   o f   u s e r   n a m e s p a c e s   s u p p o r t   i n   c r i - d o c k e r d   t r a c k e d   i n   a n   i s s u e   o n   G i t H u b .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14509"
  },
  {
    "question": "What is Introduction?",
    "answer": "U s e r   n a m e s p a c e s   i s   a   L i n u x   f e a t u r e   t h a t   a l l o w s   t o   m a p   u s e r s   i n   t h e   c o n t a i n e r   t o   d i f f e r e n t   u s e r s   i n   t h e   h o s t .   F u r t h e r m o r e ,   t h e   c a p a b i l i t i e s   g r a n t e d   t o   a   p o d   i n   a   u s e r   n a m e s p a c e   a r e   v a l i d   o n l y   i n   t h e   n a m e s p a c e   a n d   v o i d   o u t s i d e   o f   i t .   A   p o d   c a n   o p t - i n   t o   u s e   u s e r   n a m e s p a c e s   b y   s e t t i n g   t h e   p o d . s p e c . h o s t U s e r s   f i e l d   t o   f a l s e .   T h e   k u b e l e t   w i l l   p i c k   h o s t   U I D s / G I D s   a   p o d   i s   m a p p e d   t o ,   a n d   w i l l   d o   s o   i n   a   w a y   t o   g u a r a n t e e   t h a t   n o   t w o   p o d s   o n   t h e   s a m e   n o d e   u s e   t h e   s a m e   m a p p i n g .   T h e   r u n A s U s e r ,   r u n A s G r o u p ,   f s G r o u p ,   e t c .   f i e l d s   i n   t h e   p o d . s p e c   a l w a y s   r e f e r   t o   t h e   u s e r   i n s i d e   t h e   c o n t a i n e r .   T h e s e   u s e r s   w i l l   b e   u s e d   f o r   v o l u m e   m o u n t s   ( s p e c i f i e d   i n   p o d . s p e c . v o l u m e s )   a n d   t h e r e f o r e   t h e   h o s t   U I D / G I D   w i l l   n o t   h a v e   a n y   e f f e c t   o n   w r i t e s / r e a d s   f r o m   v o l u m e s   t h e   p o d   c a n   m o u n t .   I n   o t h e r   w o r d s ,   t h e   i n o d e s   c r e a t e d / r e a d   i n   v o l u m e s   m o u n t e d   b y   t h e   p o d   w i l l   b e   t h e   s a m e   a s   i f   t h e   p o d   w a s n ' t   u s i n g   u s e r   n a m e s p a c e s .   T h i s   w a y ,   a   p o d   c a n   e a s i l y   e n a b l e   a n d   d i s a b l e   u s e r   n a m e s p a c e s   ( w i t h o u t   a f f e c t i n g   i t s   v o l u m e ' s   f i l e   o w n e r s h i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14510"
  },
  {
    "question": "What is Understanding user namespaces for pods?",
    "answer": "S e v e r a l   c o n t a i n e r   r u n t i m e s   w i t h   t h e i r   d e f a u l t   c o n f i g u r a t i o n   ( l i k e   D o c k e r   E n g i n e ,   c o n t a i n e r d ,   C R I - O )   u s e   L i n u x   n a m e s p a c e s   f o r   i s o l a t i o n .   O t h e r   t e c h n o l o g i e s   e x i s t   a n d   c a n   b e   u s e d   w i t h   t h o s e   r u n t i m e s   t o o   ( e . g .   K a t a   C o n t a i n e r s   u s e s   V M s   i n s t e a d   o f   L i n u x   n a m e s p a c e s ) .   T h i s   p a g e   i s   a p p l i c a b l e   f o r   c o n t a i n e r   r u n t i m e s   u s i n g   L i n u x   n a m e s p a c e s   f o r   i s o l a t i o n .   W h e n   c r e a t i n g   a   p o d ,   b y   d e f a u l t ,   s e v e r a l   n e w   n a m e s p a c e s   a r e   u s e d   f o r   i s o l a t i o n :   a   n e t w o r k   n a m e s p a c e   t o   i s o l a t e   t h e   n e t w o r k   o f   t h e   c o n t a i n e r ,   a   P I D   n a m e s p a c e   t o   i s o l a t e   t h e   v i e w   o f   p r o c e s s e s ,   e t c .   I f   a   u s e r   n a m e s p a c e   i s   u s e d ,   t h i s   w i l l   i s o l a t e   t h e   u s e r s   i n   t h e   c o n t a i n e r   f r o m   t h e   u s e r s   i n   t h e   n o d e .   T h i s   m e a n s   c o n t a i n e r s   c a n   r u n   a s   r o o t   a n d   b e   m a p p e d   t o   a   n o n - r o o t   u s e r   o n   t h e   h o s t .   I n s i d e   t h e   c o n t a i n e r   t h e   p r o c e s s   w i l l   t h i n k   i t   i s   r u n n i n g   a s   r o o t   ( a n d   t h e r e f o r e   t o o l s   l i k e   a p t ,   y u m ,   e t c .   w o r k   f i n e ) ,   w h i l e   i n   r e a l i t y   t h e   p r o c e s s   d o e s n ' t   h a v e   p r i v i l e g e s   o n   t h e   h o s t .   Y o u   c a n   v e r i f y   t h i s ,   f o r   e x a m p l e ,   i f   y o u   c h e c k   w h i c h   u s e r   t h e   c o n t a i n e r   p r o c e s s   i s   r u n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14511"
  },
  {
    "question": "What is Set up a node to support user namespaces?",
    "answer": "B y   d e f a u l t ,   t h e   k u b e l e t   a s s i g n s   p o d s   U I D s / G I D s   a b o v e   t h e   r a n g e   0 - 6 5 5 3 5 ,   b a s e d   o n   t h e   a s s u m p t i o n   t h a t   t h e   h o s t ' s   f i l e s   a n d   p r o c e s s e s   u s e   U I D s / G I D s   w i t h i n   t h i s   r a n g e ,   w h i c h   i s   s t a n d a r d   f o r   m o s t   L i n u x   d i s t r i b u t i o n s .   T h i s   a p p r o a c h   p r e v e n t s   a n y   o v e r l a p   b e t w e e n   t h e   U I D s / G I D s   o f   t h e   h o s t   a n d   t h o s e   o f   t h e   p o d s .   A v o i d i n g   t h e   o v e r l a p   i s   i m p o r t a n t   t o   m i t i g a t e   t h e   i m p a c t   o f   v u l n e r a b i l i t i e s   s u c h   a s   C V E - 2 0 2 1 - 2 5 7 4 1 ,   w h e r e   a   p o d   c a n   p o t e n t i a l l y   r e a d   a r b i t r a r y   f i l e s   i n   t h e   h o s t .   I f   t h e   U I D s / G I D s   o f   t h e   p o d   a n d   t h e   h o s t   d o n ' t   o v e r l a p ,   i t   i s   l i m i t e d   w h a t   a   p o d   w o u l d   b e   a b l e   t o   d o :   t h e   p o d   U I D / G I D   w o n ' t   m a t c h   t h e   h o s t ' s   f i l e   o w n e r / g r o u p .   T h e   k u b e l e t   c a n   u s e   a   c u s t o m   r a n g e   f o r   u s e r   I D s   a n d   g r o u p   I D s   f o r   p o d s .   T o   c o n f i g u r e   a   c u s t o m   r a n g e ,   t h e   n o d e   n e e d s   t o   h a v e :   A   u s e r   k u b e l e t   i n   t h e   s y s t e m   ( y o u   c a n n o t   u s e   a n y   o t h e r   u s e r n a m e   h e r e ) T h e   b i n a r y   g e t s u b i d s   i n s t a l l e d   ( p a r t   o f   s h a d o w - u t i l s )   a n d   i n   t h e   P A T H   f o r   t h e   k u b e l e t   b i n a r y . A   c o n f i g u r a t i o n   o f   s u b o r d i n a t e   U I D s / G I D s   f o r   t h e   k u b e l e t   u s e r   ( s e e   m a n   5   s u b u i d   a n d   m a n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14512"
  },
  {
    "question": "What is ID count for each of Pods?",
    "answer": "S t a r t i n g   w i t h   K u b e r n e t e s   v 1 . 3 3 ,   t h e   I D   c o u n t   f o r   e a c h   o f   P o d s   c a n   b e   s e t   i n   K u b e l e t C o n f i g u r a t i o n .   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   u s e r N a m e s p a c e s :   i d s P e r P o d :   1 0 4 8 5 7 6   T h e   v a l u e   o f   i d s P e r P o d   ( u i n t 3 2 )   m u s t   b e   a   m u l t i p l e   o f   6 5 5 3 6 .   T h e   d e f a u l t   v a l u e   i s   6 5 5 3 6 .   T h i s   v a l u e   o n l y   a p p l i e s   t o   c o n t a i n e r s   c r e a t e d   a f t e r   t h e   k u b e l e t   w a s   s t a r t e d   w i t h   t h i s   K u b e l e t C o n f i g u r a t i o n .   R u n n i n g   c o n t a i n e r s   a r e   n o t   a f f e c t e d   b y   t h i s   c o n f i g .   I n   K u b e r n e t e s   p r i o r   t o   v 1 . 3 3 ,   t h e   I D   c o u n t   f o r   e a c h   o f   P o d s   w a s   h a r d - c o d e d   t o   6 5 5 3 6 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14513"
  },
  {
    "question": "What is Integration with Pod security admission checks?",
    "answer": "F o r   L i n u x   P o d s   t h a t   e n a b l e   u s e r   n a m e s p a c e s ,   K u b e r n e t e s   r e l a x e s   t h e   a p p l i c a t i o n   o f   P o d   S e c u r i t y   S t a n d a r d s   i n   a   c o n t r o l l e d   w a y .   T h i s   b e h a v i o r   c a n   b e   c o n t r o l l e d   b y   t h e   f e a t u r e   g a t e   U s e r N a m e s p a c e s P o d S e c u r i t y S t a n d a r d s ,   w h i c h   a l l o w s   a n   e a r l y   o p t - i n   f o r   e n d   u s e r s .   A d m i n s   h a v e   t o   e n s u r e   t h a t   u s e r   n a m e s p a c e s   a r e   e n a b l e d   b y   a l l   n o d e s   w i t h i n   t h e   c l u s t e r   i f   u s i n g   t h e   f e a t u r e   g a t e .   I f   y o u   e n a b l e   t h e   a s s o c i a t e d   f e a t u r e   g a t e   a n d   c r e a t e   a   P o d   t h a t   u s e s   u s e r   n a m e s p a c e s ,   t h e   f o l l o w i n g   f i e l d s   w o n ' t   b e   c o n s t r a i n e d   e v e n   i n   c o n t e x t s   t h a t   e n f o r c e   t h e   B a s e l i n e   o r   R e s t r i c t e d   p o d   s e c u r i t y   s t a n d a r d .   T h i s   b e h a v i o r   d o e s   n o t   p r e s e n t   a   s e c u r i t y   c o n c e r n   b e c a u s e   r o o t   i n s i d e   a   P o d   w i t h   u s e r   n a m e s p a c e s   a c t u a l l y   r e f e r s   t o   t h e   u s e r   i n s i d e   t h e   c o n t a i n e r ,   t h a t   i s   n e v e r   m a p p e d   t o   a   p r i v i l e g e d   u s e r   o n   t h e   h o s t .   H e r e ' s   t h e   l i s t   o f   f i e l d s   t h a t   a r e   n o t   c h e c k s   f o r   P o d s   i n   t h o s e   c i r c u m s t a n c e s :   s p e c . s e c u r i t y C o n t e x t . r u n A s N o n R o o t s p e c . c o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . r u n A s N o n R o o t s p e c . i n i t C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . r u n A s N o n R o o t s p e c . e p h ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14514"
  },
  {
    "question": "What is Limitations?",
    "answer": "W h e n   u s i n g   a   u s e r   n a m e s p a c e   f o r   t h e   p o d ,   i t   i s   d i s a l l o w e d   t o   u s e   o t h e r   h o s t   n a m e s p a c e s .   I n   p a r t i c u l a r ,   i f   y o u   s e t   h o s t U s e r s :   f a l s e   t h e n   y o u   a r e   n o t   a l l o w e d   t o   s e t   a n y   o f :   h o s t N e t w o r k :   t r u e h o s t I P C :   t r u e h o s t P I D :   t r u e   N o   c o n t a i n e r   c a n   u s e   v o l u m e D e v i c e s   ( r a w   b l o c k   v o l u m e s ,   l i k e   / d e v / s d a )   e i t h e r .   T h i s   i n c l u d e s   a l l   t h e   c o n t a i n e r   a r r a y s   i n   t h e   p o d   s p e c :   c o n t a i n e r s i n i t C o n t a i n e r s e p h e m e r a l C o n t a i n e r s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14515"
  },
  {
    "question": "What is Metrics and observability?",
    "answer": "T h e   k u b e l e t   e x p o r t s   t w o   p r o m e t h e u s   m e t r i c s   s p e c i f i c   t o   u s e r - n a m e s p a c e s :   s t a r t e d _ u s e r _ n a m e s p a c e d _ p o d s _ t o t a l :   a   c o u n t e r   t h a t   t r a c k s   t h e   n u m b e r   o f   u s e r   n a m e s p a c e d   p o d s   t h a t   a r e   a t t e m p t e d   t o   b e   c r e a t e d . s t a r t e d _ u s e r _ n a m e s p a c e d _ p o d s _ e r r o r s _ t o t a l :   a   c o u n t e r   t h a t   t r a c k s   t h e   n u m b e r   o f   e r r o r s   c r e a t i n g   u s e r   n a m e s p a c e d   p o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14516"
  },
  {
    "question": "What is What's next?",
    "answer": "T a k e   a   l o o k   a t   U s e   a   U s e r   N a m e s p a c e   W i t h   a   P o d",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14517"
  },
  {
    "question": "What is 1.9 - Downward API?",
    "answer": "I t   i s   s o m e t i m e s   u s e f u l   f o r   a   c o n t a i n e r   t o   h a v e   i n f o r m a t i o n   a b o u t   i t s e l f ,   w i t h o u t   b e i n g   o v e r l y   c o u p l e d   t o   K u b e r n e t e s .   T h e   d o w n w a r d   A P I   a l l o w s   c o n t a i n e r s   t o   c o n s u m e   i n f o r m a t i o n   a b o u t   t h e m s e l v e s   o r   t h e   c l u s t e r   w i t h o u t   u s i n g   t h e   K u b e r n e t e s   c l i e n t   o r   A P I   s e r v e r .   A n   e x a m p l e   i s   a n   e x i s t i n g   a p p l i c a t i o n   t h a t   a s s u m e s   a   p a r t i c u l a r   w e l l - k n o w n   e n v i r o n m e n t   v a r i a b l e   h o l d s   a   u n i q u e   i d e n t i f i e r .   O n e   p o s s i b i l i t y   i s   t o   w r a p   t h e   a p p l i c a t i o n ,   b u t   t h a t   i s   t e d i o u s   a n d   e r r o r - p r o n e ,   a n d   i t   v i o l a t e s   t h e   g o a l   o f   l o w   c o u p l i n g .   A   b e t t e r   o p t i o n   w o u l d   b e   t o   u s e   t h e   P o d ' s   n a m e   a s   a n   i d e n t i f i e r ,   a n d   i n j e c t   t h e   P o d ' s   n a m e   i n t o   t h e   w e l l - k n o w n   e n v i r o n m e n t   v a r i a b l e .   I n   K u b e r n e t e s ,   t h e r e   a r e   t w o   w a y s   t o   e x p o s e   P o d   a n d   c o n t a i n e r   f i e l d s   t o   a   r u n n i n g   c o n t a i n e r :   a s   e n v i r o n m e n t   v a r i a b l e s a s   f i l e s   i n   a   d o w n w a r d A P I   v o l u m e   T o g e t h e r ,   t h e s e   t w o   w a y s   o f   e x p o s i n g   P o d   a n d   c o n t a i n e r   f i e l d s   a r e   c a l l e d   t h e   d o w n w a r d   A P I .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_1_14518"
  },
  {
    "question": "What is Available fields?",
    "answer": "O n l y   s o m e   K u b e r n e t e s   A P I   f i e l d s   a r e   a v a i l a b l e   t h r o u g h   t h e   d o w n w a r d   A P I .   T h i s   s e c t i o n   l i s t s   w h i c h   f i e l d s   y o u   c a n   m a k e   a v a i l a b l e .   Y o u   c a n   p a s s   i n f o r m a t i o n   f r o m   a v a i l a b l e   P o d - l e v e l   f i e l d s   u s i n g   f i e l d R e f .   A t   t h e   A P I   l e v e l ,   t h e   s p e c   f o r   a   P o d   a l w a y s   d e f i n e s   a t   l e a s t   o n e   C o n t a i n e r .   Y o u   c a n   p a s s   i n f o r m a t i o n   f r o m   a v a i l a b l e   C o n t a i n e r - l e v e l   f i e l d s   u s i n g   r e s o u r c e F i e l d R e f .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14519"
  },
  {
    "question": "What is Information available via fieldRef?",
    "answer": "F o r   s o m e   P o d - l e v e l   f i e l d s ,   y o u   c a n   p r o v i d e   t h e m   t o   a   c o n t a i n e r   e i t h e r   a s   a n   e n v i r o n m e n t   v a r i a b l e   o r   u s i n g   a   d o w n w a r d A P I   v o l u m e .   T h e   f i e l d s   a v a i l a b l e   v i a   e i t h e r   m e c h a n i s m   a r e :   T h e   f o l l o w i n g   i n f o r m a t i o n   i s   a v a i l a b l e   t h r o u g h   e n v i r o n m e n t   v a r i a b l e s   b u t   n o t   a s   a   d o w n w a r d A P I   v o l u m e   f i e l d R e f :   T h e   f o l l o w i n g   i n f o r m a t i o n   i s   a v a i l a b l e   t h r o u g h   a   d o w n w a r d A P I   v o l u m e   f i e l d R e f ,   b u t   n o t   a s   e n v i r o n m e n t   v a r i a b l e s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14520"
  },
  {
    "question": "What is Information available via resourceFieldRef?",
    "answer": "T h e s e   c o n t a i n e r - l e v e l   f i e l d s   a l l o w   y o u   t o   p r o v i d e   i n f o r m a t i o n   a b o u t   r e q u e s t s   a n d   l i m i t s   f o r   r e s o u r c e s   s u c h   a s   C P U   a n d   m e m o r y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14521"
  },
  {
    "question": "What is Note:?",
    "answer": "C o n t a i n e r   C P U   a n d   m e m o r y   r e s o u r c e s   c a n   b e   r e s i z e d   w h i l e   t h e   c o n t a i n e r   i s   r u n n i n g .   I f   t h i s   h a p p e n s ,   a   d o w n w a r d   A P I   v o l u m e   w i l l   b e   u p d a t e d ,   b u t   e n v i r o n m e n t   v a r i a b l e s   w i l l   n o t   b e   u p d a t e d   u n l e s s   t h e   c o n t a i n e r   r e s t a r t s .   S e e   R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14522"
  },
  {
    "question": "What is Fallback information for resource limits?",
    "answer": "I f   C P U   a n d   m e m o r y   l i m i t s   a r e   n o t   s p e c i f i e d   f o r   a   c o n t a i n e r ,   a n d   y o u   u s e   t h e   d o w n w a r d   A P I   t o   t r y   t o   e x p o s e   t h a t   i n f o r m a t i o n ,   t h e n   t h e   k u b e l e t   d e f a u l t s   t o   e x p o s i n g   t h e   m a x i m u m   a l l o c a t a b l e   v a l u e   f o r   C P U   a n d   m e m o r y   b a s e d   o n   t h e   n o d e   a l l o c a t a b l e   c a l c u l a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14523"
  },
  {
    "question": "What is What's next?",
    "answer": "Y o u   c a n   r e a d   a b o u t   d o w n w a r d A P I   v o l u m e s .   Y o u   c a n   t r y   u s i n g   t h e   d o w n w a r d   A P I   t o   e x p o s e   c o n t a i n e r -   o r   P o d - l e v e l   i n f o r m a t i o n :   a s   e n v i r o n m e n t   v a r i a b l e s a s   f i l e s   i n   d o w n w a r d A P I   v o l u m e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14524"
  },
  {
    "question": "What is 2 - Workload Management?",
    "answer": "K u b e r n e t e s   p r o v i d e s   s e v e r a l   b u i l t - i n   A P I s   f o r   d e c l a r a t i v e   m a n a g e m e n t   o f   y o u r   w o r k l o a d s   a n d   t h e   c o m p o n e n t s   o f   t h o s e   w o r k l o a d s .   U l t i m a t e l y ,   y o u r   a p p l i c a t i o n s   r u n   a s   c o n t a i n e r s   i n s i d e   P o d s ;   h o w e v e r ,   m a n a g i n g   i n d i v i d u a l   P o d s   w o u l d   b e   a   l o t   o f   e f f o r t .   F o r   e x a m p l e ,   i f   a   P o d   f a i l s ,   y o u   p r o b a b l y   w a n t   t o   r u n   a   n e w   P o d   t o   r e p l a c e   i t .   K u b e r n e t e s   c a n   d o   t h a t   f o r   y o u .   Y o u   u s e   t h e   K u b e r n e t e s   A P I   t o   c r e a t e   a   w o r k l o a d   o b j e c t   t h a t   r e p r e s e n t s   a   h i g h e r   a b s t r a c t i o n   l e v e l   t h a n   a   P o d ,   a n d   t h e n   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   a u t o m a t i c a l l y   m a n a g e s   P o d   o b j e c t s   o n   y o u r   b e h a l f ,   b a s e d   o n   t h e   s p e c i f i c a t i o n   f o r   t h e   w o r k l o a d   o b j e c t   y o u   d e f i n e d .   T h e   b u i l t - i n   A P I s   f o r   m a n a g i n g   w o r k l o a d s   a r e :   D e p l o y m e n t   ( a n d ,   i n d i r e c t l y ,   R e p l i c a S e t ) ,   t h e   m o s t   c o m m o n   w a y   t o   r u n   a n   a p p l i c a t i o n   o n   y o u r   c l u s t e r .   D e p l o y m e n t   i s   a   g o o d   f i t   f o r   m a n a g i n g   a   s t a t e l e s s   a p p l i c a t i o n   w o r k l o a d   o n   y o u r   c l u s t e r ,   w h e r e   a n y   P o d   i n   t h e   D e p l o y m e n t   i s   i n t e r c h a n g e a b l e   a n d   c a n   b e   r e p l a c e d   i f   n e e d e d .   ( D e p l o y m e n t s   a r e   a   r e p l a c e m e n t   f o r   t h e   l e g a c y   R e p l i c a t i o n C o n t r o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_1_14525"
  },
  {
    "question": "What is 2.1 - Deployments?",
    "answer": "A   D e p l o y m e n t   p r o v i d e s   d e c l a r a t i v e   u p d a t e s   f o r   P o d s   a n d   R e p l i c a S e t s .   Y o u   d e s c r i b e   a   d e s i r e d   s t a t e   i n   a   D e p l o y m e n t ,   a n d   t h e   D e p l o y m e n t   C o n t r o l l e r   c h a n g e s   t h e   a c t u a l   s t a t e   t o   t h e   d e s i r e d   s t a t e   a t   a   c o n t r o l l e d   r a t e .   Y o u   c a n   d e f i n e   D e p l o y m e n t s   t o   c r e a t e   n e w   R e p l i c a S e t s ,   o r   t o   r e m o v e   e x i s t i n g   D e p l o y m e n t s   a n d   a d o p t   a l l   t h e i r   r e s o u r c e s   w i t h   n e w   D e p l o y m e n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_1_14526"
  },
  {
    "question": "What is Use Case?",
    "answer": "T h e   f o l l o w i n g   a r e   t y p i c a l   u s e   c a s e s   f o r   D e p l o y m e n t s :   C r e a t e   a   D e p l o y m e n t   t o   r o l l o u t   a   R e p l i c a S e t .   T h e   R e p l i c a S e t   c r e a t e s   P o d s   i n   t h e   b a c k g r o u n d .   C h e c k   t h e   s t a t u s   o f   t h e   r o l l o u t   t o   s e e   i f   i t   s u c c e e d s   o r   n o t . D e c l a r e   t h e   n e w   s t a t e   o f   t h e   P o d s   b y   u p d a t i n g   t h e   P o d T e m p l a t e S p e c   o f   t h e   D e p l o y m e n t .   A   n e w   R e p l i c a S e t   i s   c r e a t e d ,   a n d   t h e   D e p l o y m e n t   g r a d u a l l y   s c a l e s   i t   u p   w h i l e   s c a l i n g   d o w n   t h e   o l d   R e p l i c a S e t ,   e n s u r i n g   P o d s   a r e   r e p l a c e d   a t   a   c o n t r o l l e d   r a t e .   E a c h   n e w   R e p l i c a S e t   u p d a t e s   t h e   r e v i s i o n   o f   t h e   D e p l o y m e n t . R o l l b a c k   t o   a n   e a r l i e r   D e p l o y m e n t   r e v i s i o n   i f   t h e   c u r r e n t   s t a t e   o f   t h e   D e p l o y m e n t   i s   n o t   s t a b l e .   E a c h   r o l l b a c k   u p d a t e s   t h e   r e v i s i o n   o f   t h e   D e p l o y m e n t . S c a l e   u p   t h e   D e p l o y m e n t   t o   f a c i l i t a t e   m o r e   l o a d . P a u s e   t h e   r o l l o u t   o f   a   D e p l o y m e n t   t o   a p p l y   m u l t i p l e   f i x e s   t o   i t s   P o d T e m p l a t e S p e c   a n d   t h e n   r e s u m e   i t   t o   s t a r t   a   n e w   r o l l o u t . U s e   t h e   s t a t u s   o f   t h e   D e p l o y m e n t   a s   a n   i n d i c a t o r   t h a t   a   r o l l o u t   h a s   s t u c k . C l e a n   u p   o l d e r   R e p l i c a S e t s   t h a t   y o u   d o n ' t   n e e d   a n y m o r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14527"
  },
  {
    "question": "What is Creating a Deployment?",
    "answer": "T h e   f o l l o w i n g   i s   a n   e x a m p l e   o f   a   D e p l o y m e n t .   I t   c r e a t e s   a   R e p l i c a S e t   t o   b r i n g   u p   t h r e e   n g i n x   P o d s :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   l a b e l s :   a p p :   n g i n x   s p e c :   r e p l i c a s :   3   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0   I n   t h i s   e x a m p l e :   A   D e p l o y m e n t   n a m e d   n g i n x - d e p l o y m e n t   i s   c r e a t e d ,   i n d i c a t e d   b y   t h e   . m e t a d a t a . n a m e   f i e l d .   T h i s   n a m e   w i l l   b e c o m e   t h e   b a s i s   f o r   t h e   R e p l i c a S e t s   a n d   P o d s   w h i c h   a r e   c r e a t e d   l a t e r .   S e e   W r i t i n g   a   D e p l o y m e n t   S p e c   f o r   m o r e   d e t a i l s . T h e   D e p l o y m e n t   c r e a t e s   a   R e p l i c a S e t   t h a t   c r e a t e s   t h r e e   r e p l i c a t e d   P o d s ,   i n d i c a t e d   b y   t h e   . s p e c . r e p l i c a s   f i e l d . T h e   . s p e c . s e l e c t o r   f i e l d   d e f i n e s   h o w   t h e   c r e a t e d   R e p l i c a S e t   f i n d s   w h i c h   P o d s   t o   m a n a g e .   I n   t h i s   c a s e ,   y o u   s e l e c t   a   l a b e l   t h a t   i s   d e f i n e d   i n   t h e   P o d   t e m p l a t e   ( a p p :   n g i n x ) .   H o w e v e r ,   m o r e   s o p h i s t i c a t e d   s e l e c t i o n   r u l e s   a r e   p o s s i b l e ,   a s   l o n g   a s   t h e   P o d   t e m p l a t e   i t s e l f   s a t i s f i e s   t h e   r u l e . N o t e : T h e   . s p ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14528"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   . s p e c . t e m p l a t e   f i e l d   c o n t a i n s   t h e   f o l l o w i n g   s u b - f i e l d s :   T h e   P o d s   a r e   l a b e l e d   a p p :   n g i n x u s i n g   t h e   . m e t a d a t a . l a b e l s   f i e l d . T h e   P o d   t e m p l a t e ' s   s p e c i f i c a t i o n ,   o r   . s p e c   f i e l d ,   i n d i c a t e s   t h a t   t h e   P o d s   r u n   o n e   c o n t a i n e r ,   n g i n x ,   w h i c h   r u n s   t h e   n g i n x   D o c k e r   H u b   i m a g e   a t   v e r s i o n   1 . 1 4 . 2 . C r e a t e   o n e   c o n t a i n e r   a n d   n a m e   i t   n g i n x   u s i n g   t h e   . s p e c . c o n t a i n e r s [ 0 ] . n a m e   f i e l d .   B e f o r e   y o u   b e g i n ,   m a k e   s u r e   y o u r   K u b e r n e t e s   c l u s t e r   i s   u p   a n d   r u n n i n g .   F o l l o w   t h e   s t e p s   g i v e n   b e l o w   t o   c r e a t e   t h e   a b o v e   D e p l o y m e n t :   C r e a t e   t h e   D e p l o y m e n t   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / c o n t r o l l e r s / n g i n x - d e p l o y m e n t . y a m l   R u n   k u b e c t l   g e t   d e p l o y m e n t s   t o   c h e c k   i f   t h e   D e p l o y m e n t   w a s   c r e a t e d . I f   t h e   D e p l o y m e n t   i s   s t i l l   b e i n g   c r e a t e d ,   t h e   o u t p u t   i s   s i m i l a r   t o   t h e   f o l l o w i n g : N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   n g i n x - d e p l o y m e n t   0 / 3   0   0   1 s   W h e n   y o u   i n s p e c t   t h e   D e p l o y m e n t s   i n   y o u r   c l u s t e r ,   t h e   f o l l o w i n g   f i e l d s   a r e   d i s p l a y e d : N A M E   l i s t s   t h e   n a m e s   o f   t h e   D e p l o y m e n t s   i n   t h e   n a m e s p a c e . R E A D Y   d i s p l a y s   h o w   m a n y ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14529"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   m u s t   s p e c i f y   a n   a p p r o p r i a t e   s e l e c t o r   a n d   P o d   t e m p l a t e   l a b e l s   i n   a   D e p l o y m e n t   ( i n   t h i s   c a s e ,   a p p :   n g i n x ) .   D o   n o t   o v e r l a p   l a b e l s   o r   s e l e c t o r s   w i t h   o t h e r   c o n t r o l l e r s   ( i n c l u d i n g   o t h e r   D e p l o y m e n t s   a n d   S t a t e f u l S e t s ) .   K u b e r n e t e s   d o e s n ' t   s t o p   y o u   f r o m   o v e r l a p p i n g ,   a n d   i f   m u l t i p l e   c o n t r o l l e r s   h a v e   o v e r l a p p i n g   s e l e c t o r s   t h o s e   c o n t r o l l e r s   m i g h t   c o n f l i c t   a n d   b e h a v e   u n e x p e c t e d l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14530"
  },
  {
    "question": "What is Caution:?",
    "answer": "T h e   p o d - t e m p l a t e - h a s h   l a b e l   i s   a d d e d   b y   t h e   D e p l o y m e n t   c o n t r o l l e r   t o   e v e r y   R e p l i c a S e t   t h a t   a   D e p l o y m e n t   c r e a t e s   o r   a d o p t s .   T h i s   l a b e l   e n s u r e s   t h a t   c h i l d   R e p l i c a S e t s   o f   a   D e p l o y m e n t   d o   n o t   o v e r l a p .   I t   i s   g e n e r a t e d   b y   h a s h i n g   t h e   P o d T e m p l a t e   o f   t h e   R e p l i c a S e t   a n d   u s i n g   t h e   r e s u l t i n g   h a s h   a s   t h e   l a b e l   v a l u e   t h a t   i s   a d d e d   t o   t h e   R e p l i c a S e t   s e l e c t o r ,   P o d   t e m p l a t e   l a b e l s ,   a n d   i n   a n y   e x i s t i n g   P o d s   t h a t   t h e   R e p l i c a S e t   m i g h t   h a v e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14531"
  },
  {
    "question": "What is Note:?",
    "answer": "F o l l o w   t h e   s t e p s   g i v e n   b e l o w   t o   u p d a t e   y o u r   D e p l o y m e n t :   L e t ' s   u p d a t e   t h e   n g i n x   P o d s   t o   u s e   t h e   n g i n x : 1 . 1 6 . 1   i m a g e   i n s t e a d   o f   t h e   n g i n x : 1 . 1 4 . 2   i m a g e . k u b e c t l   s e t   i m a g e   d e p l o y m e n t . v 1 . a p p s / n g i n x - d e p l o y m e n t   n g i n x = n g i n x : 1 . 1 6 . 1   o r   u s e   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   s e t   i m a g e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   n g i n x = n g i n x : 1 . 1 6 . 1   w h e r e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   i n d i c a t e s   t h e   D e p l o y m e n t ,   n g i n x   i n d i c a t e s   t h e   C o n t a i n e r   t h e   u p d a t e   w i l l   t a k e   p l a c e   a n d   n g i n x : 1 . 1 6 . 1   i n d i c a t e s   t h e   n e w   i m a g e   a n d   i t s   t a g . T h e   o u t p u t   i s   s i m i l a r   t o : d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   i m a g e   u p d a t e d   A l t e r n a t i v e l y ,   y o u   c a n   e d i t   t h e   D e p l o y m e n t   a n d   c h a n g e   . s p e c . t e m p l a t e . s p e c . c o n t a i n e r s [ 0 ] . i m a g e   f r o m   n g i n x : 1 . 1 4 . 2   t o   n g i n x : 1 . 1 6 . 1 : k u b e c t l   e d i t   d e p l o y m e n t / n g i n x - d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o : d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   e d i t e d   T o   s e e   t h e   r o l l o u t   s t a t u s ,   r u n : k u b e c t l   r o l l o u t   s t a t u s   d e p l o y m e n t / n g i n x - d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : W a i t i n g   f o r   r o l l o u t   t o   f i n i s h :   2   o u t   o f   3   n e w   r e p l i c a s   h a v e   b e e n   u p d a t e d . . .   o r d e p l o y m e n t   \" n g i n x - d ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14532"
  },
  {
    "question": "What is Rollover (aka multiple updates in-flight)?",
    "answer": "E a c h   t i m e   a   n e w   D e p l o y m e n t   i s   o b s e r v e d   b y   t h e   D e p l o y m e n t   c o n t r o l l e r ,   a   R e p l i c a S e t   i s   c r e a t e d   t o   b r i n g   u p   t h e   d e s i r e d   P o d s .   I f   t h e   D e p l o y m e n t   i s   u p d a t e d ,   t h e   e x i s t i n g   R e p l i c a S e t   t h a t   c o n t r o l s   P o d s   w h o s e   l a b e l s   m a t c h   . s p e c . s e l e c t o r   b u t   w h o s e   t e m p l a t e   d o e s   n o t   m a t c h   . s p e c . t e m p l a t e   a r e   s c a l e d   d o w n .   E v e n t u a l l y ,   t h e   n e w   R e p l i c a S e t   i s   s c a l e d   t o   . s p e c . r e p l i c a s   a n d   a l l   o l d   R e p l i c a S e t s   i s   s c a l e d   t o   0 .   I f   y o u   u p d a t e   a   D e p l o y m e n t   w h i l e   a n   e x i s t i n g   r o l l o u t   i s   i n   p r o g r e s s ,   t h e   D e p l o y m e n t   c r e a t e s   a   n e w   R e p l i c a S e t   a s   p e r   t h e   u p d a t e   a n d   s t a r t   s c a l i n g   t h a t   u p ,   a n d   r o l l s   o v e r   t h e   R e p l i c a S e t   t h a t   i t   w a s   s c a l i n g   u p   p r e v i o u s l y   - -   i t   w i l l   a d d   i t   t o   i t s   l i s t   o f   o l d   R e p l i c a S e t s   a n d   s t a r t   s c a l i n g   i t   d o w n .   F o r   e x a m p l e ,   s u p p o s e   y o u   c r e a t e   a   D e p l o y m e n t   t o   c r e a t e   5   r e p l i c a s   o f   n g i n x : 1 . 1 4 . 2 ,   b u t   t h e n   u p d a t e   t h e   D e p l o y m e n t   t o   c r e a t e   5   r e p l i c a s   o f   n g i n x : 1 . 1 6 . 1 ,   w h e n   o n l y   3   r e p l i c a s   o f   n g i n x : 1 . 1 4 . 2   h a d   b e e n   c r e a t e d .   I n   t h a t   c a s e ,   t h e   D e p l o y m e n t   i m m e d i a t e l y   s t a r t s   k i l l i n g   t h e   3   n g i n x : 1 . 1 4 . 2   P o d s   t h a t   i t   h a d   c r e a t e d ,   a n d ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14533"
  },
  {
    "question": "What is Label selector updates?",
    "answer": "I t   i s   g e n e r a l l y   d i s c o u r a g e d   t o   m a k e   l a b e l   s e l e c t o r   u p d a t e s   a n d   i t   i s   s u g g e s t e d   t o   p l a n   y o u r   s e l e c t o r s   u p   f r o n t .   I n   a n y   c a s e ,   i f   y o u   n e e d   t o   p e r f o r m   a   l a b e l   s e l e c t o r   u p d a t e ,   e x e r c i s e   g r e a t   c a u t i o n   a n d   m a k e   s u r e   y o u   h a v e   g r a s p e d   a l l   o f   t h e   i m p l i c a t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14534"
  },
  {
    "question": "What is Note:?",
    "answer": "S e l e c t o r   a d d i t i o n s   r e q u i r e   t h e   P o d   t e m p l a t e   l a b e l s   i n   t h e   D e p l o y m e n t   s p e c   t o   b e   u p d a t e d   w i t h   t h e   n e w   l a b e l   t o o ,   o t h e r w i s e   a   v a l i d a t i o n   e r r o r   i s   r e t u r n e d .   T h i s   c h a n g e   i s   a   n o n - o v e r l a p p i n g   o n e ,   m e a n i n g   t h a t   t h e   n e w   s e l e c t o r   d o e s   n o t   s e l e c t   R e p l i c a S e t s   a n d   P o d s   c r e a t e d   w i t h   t h e   o l d   s e l e c t o r ,   r e s u l t i n g   i n   o r p h a n i n g   a l l   o l d   R e p l i c a S e t s   a n d   c r e a t i n g   a   n e w   R e p l i c a S e t . S e l e c t o r   u p d a t e s   c h a n g e s   t h e   e x i s t i n g   v a l u e   i n   a   s e l e c t o r   k e y   - -   r e s u l t   i n   t h e   s a m e   b e h a v i o r   a s   a d d i t i o n s . S e l e c t o r   r e m o v a l s   r e m o v e s   a n   e x i s t i n g   k e y   f r o m   t h e   D e p l o y m e n t   s e l e c t o r   - -   d o   n o t   r e q u i r e   a n y   c h a n g e s   i n   t h e   P o d   t e m p l a t e   l a b e l s .   E x i s t i n g   R e p l i c a S e t s   a r e   n o t   o r p h a n e d ,   a n d   a   n e w   R e p l i c a S e t   i s   n o t   c r e a t e d ,   b u t   n o t e   t h a t   t h e   r e m o v e d   l a b e l   s t i l l   e x i s t s   i n   a n y   e x i s t i n g   P o d s   a n d   R e p l i c a S e t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14535"
  },
  {
    "question": "What is Rolling Back a Deployment?",
    "answer": "S o m e t i m e s ,   y o u   m a y   w a n t   t o   r o l l b a c k   a   D e p l o y m e n t ;   f o r   e x a m p l e ,   w h e n   t h e   D e p l o y m e n t   i s   n o t   s t a b l e ,   s u c h   a s   c r a s h   l o o p i n g .   B y   d e f a u l t ,   a l l   o f   t h e   D e p l o y m e n t ' s   r o l l o u t   h i s t o r y   i s   k e p t   i n   t h e   s y s t e m   s o   t h a t   y o u   c a n   r o l l b a c k   a n y t i m e   y o u   w a n t   ( y o u   c a n   c h a n g e   t h a t   b y   m o d i f y i n g   r e v i s i o n   h i s t o r y   l i m i t ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14536"
  },
  {
    "question": "What is Note:?",
    "answer": "S u p p o s e   t h a t   y o u   m a d e   a   t y p o   w h i l e   u p d a t i n g   t h e   D e p l o y m e n t ,   b y   p u t t i n g   t h e   i m a g e   n a m e   a s   n g i n x : 1 . 1 6 1   i n s t e a d   o f   n g i n x : 1 . 1 6 . 1 : k u b e c t l   s e t   i m a g e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   n g i n x = n g i n x : 1 . 1 6 1   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   i m a g e   u p d a t e d   T h e   r o l l o u t   g e t s   s t u c k .   Y o u   c a n   v e r i f y   i t   b y   c h e c k i n g   t h e   r o l l o u t   s t a t u s : k u b e c t l   r o l l o u t   s t a t u s   d e p l o y m e n t / n g i n x - d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : W a i t i n g   f o r   r o l l o u t   t o   f i n i s h :   1   o u t   o f   3   n e w   r e p l i c a s   h a v e   b e e n   u p d a t e d . . .   P r e s s   C t r l - C   t o   s t o p   t h e   a b o v e   r o l l o u t   s t a t u s   w a t c h .   F o r   m o r e   i n f o r m a t i o n   o n   s t u c k   r o l l o u t s ,   r e a d   m o r e   h e r e . Y o u   s e e   t h a t   t h e   n u m b e r   o f   o l d   r e p l i c a s   ( a d d i n g   t h e   r e p l i c a   c o u n t   f r o m   n g i n x - d e p l o y m e n t - 1 5 6 4 1 8 0 3 6 5   a n d   n g i n x - d e p l o y m e n t - 2 0 3 5 3 8 4 2 1 1 )   i s   3 ,   a n d   t h e   n u m b e r   o f   n e w   r e p l i c a s   ( f r o m   n g i n x - d e p l o y m e n t - 3 0 6 6 7 2 4 1 9 1 )   i s   1 . k u b e c t l   g e t   r s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   D E S I R E D   C U R R E N T   R E A D Y   A G E   n g i n x - d e p l o y m e n t - 1 5 6 4 1 8 0 3 6 5   3   3   3   2 5 s   n g i n x - d e p l o y m e n t - 2 0 3 5 3 8 4 2 1 1   0   0   0   3 6 s   n g i n x - d e p l o y m e n t - 3 0 6 6 7 2 4 1 9 1   1   1   0   6 ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14537"
  },
  {
    "question": "What is Note:?",
    "answer": "G e t   t h e   d e s c r i p t i o n   o f   t h e   D e p l o y m e n t :   k u b e c t l   d e s c r i b e   d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N a m e :   n g i n x - d e p l o y m e n t   N a m e s p a c e :   d e f a u l t   C r e a t i o n T i m e s t a m p :   T u e ,   1 5   M a r   2 0 1 6   1 4 : 4 8 : 0 4   - 0 7 0 0   L a b e l s :   a p p = n g i n x   S e l e c t o r :   a p p = n g i n x   R e p l i c a s :   3   d e s i r e d   |   1   u p d a t e d   |   4   t o t a l   |   3   a v a i l a b l e   |   1   u n a v a i l a b l e   S t r a t e g y T y p e :   R o l l i n g U p d a t e   M i n R e a d y S e c o n d s :   0   R o l l i n g U p d a t e S t r a t e g y :   2 5 %   m a x   u n a v a i l a b l e ,   2 5 %   m a x   s u r g e   P o d   T e m p l a t e :   L a b e l s :   a p p = n g i n x   C o n t a i n e r s :   n g i n x :   I m a g e :   n g i n x : 1 . 1 6 1   P o r t :   8 0 / T C P   H o s t   P o r t :   0 / T C P   E n v i r o n m e n t :   < n o n e >   M o u n t s :   < n o n e >   V o l u m e s :   < n o n e >   C o n d i t i o n s :   T y p e   S t a t u s   R e a s o n   - - - -   - - - - - -   - - - - - -   A v a i l a b l e   T r u e   M i n i m u m R e p l i c a s A v a i l a b l e   P r o g r e s s i n g   T r u e   R e p l i c a S e t U p d a t e d   O l d R e p l i c a S e t s :   n g i n x - d e p l o y m e n t - 1 5 6 4 1 8 0 3 6 5   ( 3 / 3   r e p l i c a s   c r e a t e d )   N e w R e p l i c a S e t :   n g i n x - d e p l o y m e n t - 3 0 6 6 7 2 4 1 9 1   ( 1 / 1   r e p l i c a s   c r e a t e d )   E v e n t s :   F i r s t S e e n   L a s t S e e n   C o u n t   F r o m   S u b O b j e c t P a t h   T y p e   R e a s o n   M e s s a g e   - - - - - - - - -   - - - - - - - -   - - - - -   - - - -   - - - - - - - - - - - - -   - - - - - - - -   - - - - - -   - - - - - - -   1 m   1 m   1   { d e p l o y m e n t - c o n t r o l l e r   }   N o r m a l   S c a l i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14538"
  },
  {
    "question": "What is Checking Rollout History of a Deployment?",
    "answer": "F o l l o w   t h e   s t e p s   g i v e n   b e l o w   t o   c h e c k   t h e   r o l l o u t   h i s t o r y :   F i r s t ,   c h e c k   t h e   r e v i s i o n s   o f   t h i s   D e p l o y m e n t : k u b e c t l   r o l l o u t   h i s t o r y   d e p l o y m e n t / n g i n x - d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : d e p l o y m e n t s   \" n g i n x - d e p l o y m e n t \"   R E V I S I O N   C H A N G E - C A U S E   1   k u b e c t l   a p p l y   - - f i l e n a m e = h t t p s : / / k 8 s . i o / e x a m p l e s / c o n t r o l l e r s / n g i n x - d e p l o y m e n t . y a m l   2   k u b e c t l   s e t   i m a g e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   n g i n x = n g i n x : 1 . 1 6 . 1   3   k u b e c t l   s e t   i m a g e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   n g i n x = n g i n x : 1 . 1 6 1   C H A N G E - C A U S E   i s   c o p i e d   f r o m   t h e   D e p l o y m e n t   a n n o t a t i o n   k u b e r n e t e s . i o / c h a n g e - c a u s e   t o   i t s   r e v i s i o n s   u p o n   c r e a t i o n .   Y o u   c a n   s p e c i f y   t h e C H A N G E - C A U S E   m e s s a g e   b y : A n n o t a t i n g   t h e   D e p l o y m e n t   w i t h   k u b e c t l   a n n o t a t e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   k u b e r n e t e s . i o / c h a n g e - c a u s e = \" i m a g e   u p d a t e d   t o   1 . 1 6 . 1 \" M a n u a l l y   e d i t i n g   t h e   m a n i f e s t   o f   t h e   r e s o u r c e . T o   s e e   t h e   d e t a i l s   o f   e a c h   r e v i s i o n ,   r u n : k u b e c t l   r o l l o u t   h i s t o r y   d e p l o y m e n t / n g i n x - d e p l o y m e n t   - - r e v i s i o n = 2   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : d e p l o y m e n t s   \" n g i n x - d e p l o y m e n t \"   r e v i s i o n   2   L a b e l s :   a p p = n g i n x   p o d - t e m p l a t e - h a s ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14539"
  },
  {
    "question": "What is Rolling Back to a Previous Revision?",
    "answer": "F o l l o w   t h e   s t e p s   g i v e n   b e l o w   t o   r o l l b a c k   t h e   D e p l o y m e n t   f r o m   t h e   c u r r e n t   v e r s i o n   t o   t h e   p r e v i o u s   v e r s i o n ,   w h i c h   i s   v e r s i o n   2 .   N o w   y o u ' v e   d e c i d e d   t o   u n d o   t h e   c u r r e n t   r o l l o u t   a n d   r o l l b a c k   t o   t h e   p r e v i o u s   r e v i s i o n : k u b e c t l   r o l l o u t   u n d o   d e p l o y m e n t / n g i n x - d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   r o l l e d   b a c k   A l t e r n a t i v e l y ,   y o u   c a n   r o l l b a c k   t o   a   s p e c i f i c   r e v i s i o n   b y   s p e c i f y i n g   i t   w i t h   - - t o - r e v i s i o n : k u b e c t l   r o l l o u t   u n d o   d e p l o y m e n t / n g i n x - d e p l o y m e n t   - - t o - r e v i s i o n = 2   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   r o l l e d   b a c k   F o r   m o r e   d e t a i l s   a b o u t   r o l l o u t   r e l a t e d   c o m m a n d s ,   r e a d   k u b e c t l   r o l l o u t . T h e   D e p l o y m e n t   i s   n o w   r o l l e d   b a c k   t o   a   p r e v i o u s   s t a b l e   r e v i s i o n .   A s   y o u   c a n   s e e ,   a   D e p l o y m e n t R o l l b a c k   e v e n t   f o r   r o l l i n g   b a c k   t o   r e v i s i o n   2   i s   g e n e r a t e d   f r o m   D e p l o y m e n t   c o n t r o l l e r . C h e c k   i f   t h e   r o l l b a c k   w a s   s u c c e s s f u l   a n d   t h e   D e p l o y m e n t   i s   r u n n i n g   a s   e x p e c t e d ,   r u n : k u b e c t l   g e t   d e p l o y m e n t   n g i n x - d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14540"
  },
  {
    "question": "What is Scaling a Deployment?",
    "answer": "Y o u   c a n   s c a l e   a   D e p l o y m e n t   b y   u s i n g   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   s c a l e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   - - r e p l i c a s = 1 0   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   s c a l e d   A s s u m i n g   h o r i z o n t a l   P o d   a u t o s c a l i n g   i s   e n a b l e d   i n   y o u r   c l u s t e r ,   y o u   c a n   s e t   u p   a n   a u t o s c a l e r   f o r   y o u r   D e p l o y m e n t   a n d   c h o o s e   t h e   m i n i m u m   a n d   m a x i m u m   n u m b e r   o f   P o d s   y o u   w a n t   t o   r u n   b a s e d   o n   t h e   C P U   u t i l i z a t i o n   o f   y o u r   e x i s t i n g   P o d s .   k u b e c t l   a u t o s c a l e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   - - m i n = 1 0   - - m a x = 1 5   - - c p u - p e r c e n t = 8 0   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   s c a l e d",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14541"
  },
  {
    "question": "What is Proportional scaling?",
    "answer": "R o l l i n g U p d a t e   D e p l o y m e n t s   s u p p o r t   r u n n i n g   m u l t i p l e   v e r s i o n s   o f   a n   a p p l i c a t i o n   a t   t h e   s a m e   t i m e .   W h e n   y o u   o r   a n   a u t o s c a l e r   s c a l e s   a   R o l l i n g U p d a t e   D e p l o y m e n t   t h a t   i s   i n   t h e   m i d d l e   o f   a   r o l l o u t   ( e i t h e r   i n   p r o g r e s s   o r   p a u s e d ) ,   t h e   D e p l o y m e n t   c o n t r o l l e r   b a l a n c e s   t h e   a d d i t i o n a l   r e p l i c a s   i n   t h e   e x i s t i n g   a c t i v e   R e p l i c a S e t s   ( R e p l i c a S e t s   w i t h   P o d s )   i n   o r d e r   t o   m i t i g a t e   r i s k .   T h i s   i s   c a l l e d   p r o p o r t i o n a l   s c a l i n g .   F o r   e x a m p l e ,   y o u   a r e   r u n n i n g   a   D e p l o y m e n t   w i t h   1 0   r e p l i c a s ,   m a x S u r g e = 3 ,   a n d   m a x U n a v a i l a b l e = 2 .   E n s u r e   t h a t   t h e   1 0   r e p l i c a s   i n   y o u r   D e p l o y m e n t   a r e   r u n n i n g . k u b e c t l   g e t   d e p l o y   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   D E S I R E D   C U R R E N T   U P - T O - D A T E   A V A I L A B L E   A G E   n g i n x - d e p l o y m e n t   1 0   1 0   1 0   1 0   5 0 s   Y o u   u p d a t e   t o   a   n e w   i m a g e   w h i c h   h a p p e n s   t o   b e   u n r e s o l v a b l e   f r o m   i n s i d e   t h e   c l u s t e r . k u b e c t l   s e t   i m a g e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   n g i n x = n g i n x : s o m e t a g   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   i m a g e   u p d a t e d   T h e   i m a g e   u p d a t e   s t a r t s   a   n e w   r o l l o u t   w i t h   R e p l i c a S e t   n g i n x - d e p l o y m e n t - 1 9 8 9 1 9 8 1 9 1 ,   b u t   i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14542"
  },
  {
    "question": "What is Pausing and Resuming a rollout of a Deployment?",
    "answer": "W h e n   y o u   u p d a t e   a   D e p l o y m e n t ,   o r   p l a n   t o ,   y o u   c a n   p a u s e   r o l l o u t s   f o r   t h a t   D e p l o y m e n t   b e f o r e   y o u   t r i g g e r   o n e   o r   m o r e   u p d a t e s .   W h e n   y o u ' r e   r e a d y   t o   a p p l y   t h o s e   c h a n g e s ,   y o u   r e s u m e   r o l l o u t s   f o r   t h e   D e p l o y m e n t .   T h i s   a p p r o a c h   a l l o w s   y o u   t o   a p p l y   m u l t i p l e   f i x e s   i n   b e t w e e n   p a u s i n g   a n d   r e s u m i n g   w i t h o u t   t r i g g e r i n g   u n n e c e s s a r y   r o l l o u t s .   F o r   e x a m p l e ,   w i t h   a   D e p l o y m e n t   t h a t   w a s   c r e a t e d : G e t   t h e   D e p l o y m e n t   d e t a i l s : k u b e c t l   g e t   d e p l o y   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   D E S I R E D   C U R R E N T   U P - T O - D A T E   A V A I L A B L E   A G E   n g i n x   3   3   3   3   1 m   G e t   t h e   r o l l o u t   s t a t u s : k u b e c t l   g e t   r s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   D E S I R E D   C U R R E N T   R E A D Y   A G E   n g i n x - 2 1 4 2 1 1 6 3 2 1   3   3   3   1 m   P a u s e   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   r o l l o u t   p a u s e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   p a u s e d   T h e n   u p d a t e   t h e   i m a g e   o f   t h e   D e p l o y m e n t : k u b e c t l   s e t   i m a g e   d e p l o y m e n t / n g i n x - d e p l o y m e n t   n g i n x = n g i n x : 1 . 1 6 . 1   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   i m a g e   u p d a t e d   N o t i c e   t h a t   n o   n e w ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14543"
  },
  {
    "question": "What is Deployment status?",
    "answer": "A   D e p l o y m e n t   e n t e r s   v a r i o u s   s t a t e s   d u r i n g   i t s   l i f e c y c l e .   I t   c a n   b e   p r o g r e s s i n g   w h i l e   r o l l i n g   o u t   a   n e w   R e p l i c a S e t ,   i t   c a n   b e   c o m p l e t e ,   o r   i t   c a n   f a i l   t o   p r o g r e s s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14544"
  },
  {
    "question": "What is Progressing Deployment?",
    "answer": "K u b e r n e t e s   m a r k s   a   D e p l o y m e n t   a s   p r o g r e s s i n g   w h e n   o n e   o f   t h e   f o l l o w i n g   t a s k s   i s   p e r f o r m e d :   T h e   D e p l o y m e n t   c r e a t e s   a   n e w   R e p l i c a S e t . T h e   D e p l o y m e n t   i s   s c a l i n g   u p   i t s   n e w e s t   R e p l i c a S e t . T h e   D e p l o y m e n t   i s   s c a l i n g   d o w n   i t s   o l d e r   R e p l i c a S e t ( s ) . N e w   P o d s   b e c o m e   r e a d y   o r   a v a i l a b l e   ( r e a d y   f o r   a t   l e a s t   M i n R e a d y S e c o n d s ) .   W h e n   t h e   r o l l o u t   b e c o m e s   “ p r o g r e s s i n g ” ,   t h e   D e p l o y m e n t   c o n t r o l l e r   a d d s   a   c o n d i t i o n   w i t h   t h e   f o l l o w i n g   a t t r i b u t e s   t o   t h e   D e p l o y m e n t ' s   . s t a t u s . c o n d i t i o n s :   t y p e :   P r o g r e s s i n g s t a t u s :   \" T r u e \" r e a s o n :   N e w R e p l i c a S e t C r e a t e d   |   r e a s o n :   F o u n d N e w R e p l i c a S e t   |   r e a s o n :   R e p l i c a S e t U p d a t e d   Y o u   c a n   m o n i t o r   t h e   p r o g r e s s   f o r   a   D e p l o y m e n t   b y   u s i n g   k u b e c t l   r o l l o u t   s t a t u s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14545"
  },
  {
    "question": "What is Complete Deployment?",
    "answer": "K u b e r n e t e s   m a r k s   a   D e p l o y m e n t   a s   c o m p l e t e   w h e n   i t   h a s   t h e   f o l l o w i n g   c h a r a c t e r i s t i c s :   A l l   o f   t h e   r e p l i c a s   a s s o c i a t e d   w i t h   t h e   D e p l o y m e n t   h a v e   b e e n   u p d a t e d   t o   t h e   l a t e s t   v e r s i o n   y o u ' v e   s p e c i f i e d ,   m e a n i n g   a n y   u p d a t e s   y o u ' v e   r e q u e s t e d   h a v e   b e e n   c o m p l e t e d . A l l   o f   t h e   r e p l i c a s   a s s o c i a t e d   w i t h   t h e   D e p l o y m e n t   a r e   a v a i l a b l e . N o   o l d   r e p l i c a s   f o r   t h e   D e p l o y m e n t   a r e   r u n n i n g .   W h e n   t h e   r o l l o u t   b e c o m e s   “ c o m p l e t e ” ,   t h e   D e p l o y m e n t   c o n t r o l l e r   s e t s   a   c o n d i t i o n   w i t h   t h e   f o l l o w i n g   a t t r i b u t e s   t o   t h e   D e p l o y m e n t ' s   . s t a t u s . c o n d i t i o n s :   t y p e :   P r o g r e s s i n g s t a t u s :   \" T r u e \" r e a s o n :   N e w R e p l i c a S e t A v a i l a b l e   T h i s   P r o g r e s s i n g   c o n d i t i o n   w i l l   r e t a i n   a   s t a t u s   v a l u e   o f   \" T r u e \"   u n t i l   a   n e w   r o l l o u t   i s   i n i t i a t e d .   T h e   c o n d i t i o n   h o l d s   e v e n   w h e n   a v a i l a b i l i t y   o f   r e p l i c a s   c h a n g e s   ( w h i c h   d o e s   i n s t e a d   a f f e c t   t h e   A v a i l a b l e   c o n d i t i o n ) .   Y o u   c a n   c h e c k   i f   a   D e p l o y m e n t   h a s   c o m p l e t e d   b y   u s i n g   k u b e c t l   r o l l o u t   s t a t u s .   I f   t h e   r o l l o u t   c o m p l e t e d   s u c c e s s f u l l y ,   k u b e c t l   r o l l o u t   s t a t u s   r e t u r n s   a   z e r o   e x i t   c o d e .   k u b e c t l   r o l l o u t   s t a t u s   d e p l o y m e n t / n g i n x - d e p l o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14546"
  },
  {
    "question": "What is Failed Deployment?",
    "answer": "Y o u r   D e p l o y m e n t   m a y   g e t   s t u c k   t r y i n g   t o   d e p l o y   i t s   n e w e s t   R e p l i c a S e t   w i t h o u t   e v e r   c o m p l e t i n g .   T h i s   c a n   o c c u r   d u e   t o   s o m e   o f   t h e   f o l l o w i n g   f a c t o r s :   I n s u f f i c i e n t   q u o t a R e a d i n e s s   p r o b e   f a i l u r e s I m a g e   p u l l   e r r o r s I n s u f f i c i e n t   p e r m i s s i o n s L i m i t   r a n g e s A p p l i c a t i o n   r u n t i m e   m i s c o n f i g u r a t i o n   O n e   w a y   y o u   c a n   d e t e c t   t h i s   c o n d i t i o n   i s   t o   s p e c i f y   a   d e a d l i n e   p a r a m e t e r   i n   y o u r   D e p l o y m e n t   s p e c :   ( . s p e c . p r o g r e s s D e a d l i n e S e c o n d s ) .   . s p e c . p r o g r e s s D e a d l i n e S e c o n d s   d e n o t e s   t h e   n u m b e r   o f   s e c o n d s   t h e   D e p l o y m e n t   c o n t r o l l e r   w a i t s   b e f o r e   i n d i c a t i n g   ( i n   t h e   D e p l o y m e n t   s t a t u s )   t h a t   t h e   D e p l o y m e n t   p r o g r e s s   h a s   s t a l l e d .   T h e   f o l l o w i n g   k u b e c t l   c o m m a n d   s e t s   t h e   s p e c   w i t h   p r o g r e s s D e a d l i n e S e c o n d s   t o   m a k e   t h e   c o n t r o l l e r   r e p o r t   l a c k   o f   p r o g r e s s   o f   a   r o l l o u t   f o r   a   D e p l o y m e n t   a f t e r   1 0   m i n u t e s :   k u b e c t l   p a t c h   d e p l o y m e n t / n g i n x - d e p l o y m e n t   - p   ' { \" s p e c \" : { \" p r o g r e s s D e a d l i n e S e c o n d s \" : 6 0 0 } } '   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   p a t c h e d   O n c e   t h e   d e a d l i n e   h a s   b e e n   e x c e e d e d ,   t h e   D e p l o y m e n t   c o n t r o l l e r   a d d s   a   D e p l o y m e n t C o n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14547"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   m a y   e x p e r i e n c e   t r a n s i e n t   e r r o r s   w i t h   y o u r   D e p l o y m e n t s ,   e i t h e r   d u e   t o   a   l o w   t i m e o u t   t h a t   y o u   h a v e   s e t   o r   d u e   t o   a n y   o t h e r   k i n d   o f   e r r o r   t h a t   c a n   b e   t r e a t e d   a s   t r a n s i e n t .   F o r   e x a m p l e ,   l e t ' s   s u p p o s e   y o u   h a v e   i n s u f f i c i e n t   q u o t a .   I f   y o u   d e s c r i b e   t h e   D e p l o y m e n t   y o u   w i l l   n o t i c e   t h e   f o l l o w i n g   s e c t i o n :   k u b e c t l   d e s c r i b e   d e p l o y m e n t   n g i n x - d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   < . . . >   C o n d i t i o n s :   T y p e   S t a t u s   R e a s o n   - - - -   - - - - - -   - - - - - -   A v a i l a b l e   T r u e   M i n i m u m R e p l i c a s A v a i l a b l e   P r o g r e s s i n g   T r u e   R e p l i c a S e t U p d a t e d   R e p l i c a F a i l u r e   T r u e   F a i l e d C r e a t e   < . . . >   I f   y o u   r u n   k u b e c t l   g e t   d e p l o y m e n t   n g i n x - d e p l o y m e n t   - o   y a m l ,   t h e   D e p l o y m e n t   s t a t u s   i s   s i m i l a r   t o   t h i s :   s t a t u s :   a v a i l a b l e R e p l i c a s :   2   c o n d i t i o n s :   -   l a s t T r a n s i t i o n T i m e :   2 0 1 6 - 1 0 - 0 4 T 1 2 : 2 5 : 3 9 Z   l a s t U p d a t e T i m e :   2 0 1 6 - 1 0 - 0 4 T 1 2 : 2 5 : 3 9 Z   m e s s a g e :   R e p l i c a   s e t   \" n g i n x - d e p l o y m e n t - 4 2 6 2 1 8 2 7 8 0 \"   i s   p r o g r e s s i n g .   r e a s o n :   R e p l i c a S e t U p d a t e d   s t a t u s :   \" T r u e \"   t y p e :   P r o g r e s s i n g   -   l a s t T r a n s i t i o n T i m e :   2 0 1 6 - 1 0 - 0 4 T 1 2 : 2 5 : 4 2 Z   l a s t U p d a t e T i m e :   2 0 1 6 - 1 0 - 0 4 T 1 2 : 2 5 : 4 2 Z   m e s s a g e :   D e p l o y m e n t   h a s   m i ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14548"
  },
  {
    "question": "What is Operating on a failed deployment?",
    "answer": "A l l   a c t i o n s   t h a t   a p p l y   t o   a   c o m p l e t e   D e p l o y m e n t   a l s o   a p p l y   t o   a   f a i l e d   D e p l o y m e n t .   Y o u   c a n   s c a l e   i t   u p / d o w n ,   r o l l   b a c k   t o   a   p r e v i o u s   r e v i s i o n ,   o r   e v e n   p a u s e   i t   i f   y o u   n e e d   t o   a p p l y   m u l t i p l e   t w e a k s   i n   t h e   D e p l o y m e n t   P o d   t e m p l a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14549"
  },
  {
    "question": "What is Clean up Policy?",
    "answer": "Y o u   c a n   s e t   . s p e c . r e v i s i o n H i s t o r y L i m i t   f i e l d   i n   a   D e p l o y m e n t   t o   s p e c i f y   h o w   m a n y   o l d   R e p l i c a S e t s   f o r   t h i s   D e p l o y m e n t   y o u   w a n t   t o   r e t a i n .   T h e   r e s t   w i l l   b e   g a r b a g e - c o l l e c t e d   i n   t h e   b a c k g r o u n d .   B y   d e f a u l t ,   i t   i s   1 0 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14550"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   c l e a n u p   o n l y   s t a r t s   a f t e r   a   D e p l o y m e n t   r e a c h e s   a   c o m p l e t e   s t a t e .   I f   y o u   s e t   . s p e c . r e v i s i o n H i s t o r y L i m i t   t o   0 ,   a n y   r o l l o u t   n o n e t h e l e s s   t r i g g e r s   c r e a t i o n   o f   a   n e w   R e p l i c a S e t   b e f o r e   K u b e r n e t e s   r e m o v e s   t h e   o l d   o n e .   E v e n   w i t h   a   n o n - z e r o   r e v i s i o n   h i s t o r y   l i m i t ,   y o u   c a n   h a v e   m o r e   R e p l i c a S e t s   t h a n   t h e   l i m i t   y o u   c o n f i g u r e .   F o r   e x a m p l e ,   i f   p o d s   a r e   c r a s h   l o o p i n g ,   a n d   t h e r e   a r e   m u l t i p l e   r o l l i n g   u p d a t e s   e v e n t s   t r i g g e r e d   o v e r   t i m e ,   y o u   m i g h t   e n d   u p   w i t h   m o r e   R e p l i c a S e t s   t h a n   t h e   . s p e c . r e v i s i o n H i s t o r y L i m i t   b e c a u s e   t h e   D e p l o y m e n t   n e v e r   r e a c h e s   a   c o m p l e t e   s t a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14551"
  },
  {
    "question": "What is Canary Deployment?",
    "answer": "I f   y o u   w a n t   t o   r o l l   o u t   r e l e a s e s   t o   a   s u b s e t   o f   u s e r s   o r   s e r v e r s   u s i n g   t h e   D e p l o y m e n t ,   y o u   c a n   c r e a t e   m u l t i p l e   D e p l o y m e n t s ,   o n e   f o r   e a c h   r e l e a s e ,   f o l l o w i n g   t h e   c a n a r y   p a t t e r n   d e s c r i b e d   i n   m a n a g i n g   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14552"
  },
  {
    "question": "What is Writing a Deployment Spec?",
    "answer": "A s   w i t h   a l l   o t h e r   K u b e r n e t e s   c o n f i g s ,   a   D e p l o y m e n t   n e e d s   . a p i V e r s i o n ,   . k i n d ,   a n d   . m e t a d a t a   f i e l d s .   F o r   g e n e r a l   i n f o r m a t i o n   a b o u t   w o r k i n g   w i t h   c o n f i g   f i l e s ,   s e e   d e p l o y i n g   a p p l i c a t i o n s ,   c o n f i g u r i n g   c o n t a i n e r s ,   a n d   u s i n g   k u b e c t l   t o   m a n a g e   r e s o u r c e s   d o c u m e n t s .   W h e n   t h e   c o n t r o l   p l a n e   c r e a t e s   n e w   P o d s   f o r   a   D e p l o y m e n t ,   t h e   . m e t a d a t a . n a m e   o f   t h e   D e p l o y m e n t   i s   p a r t   o f   t h e   b a s i s   f o r   n a m i n g   t h o s e   P o d s .   T h e   n a m e   o f   a   D e p l o y m e n t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   v a l u e ,   b u t   t h i s   c a n   p r o d u c e   u n e x p e c t e d   r e s u l t s   f o r   t h e   P o d   h o s t n a m e s .   F o r   b e s t   c o m p a t i b i l i t y ,   t h e   n a m e   s h o u l d   f o l l o w   t h e   m o r e   r e s t r i c t i v e   r u l e s   f o r   a   D N S   l a b e l .   A   D e p l o y m e n t   a l s o   n e e d s   a   . s p e c   s e c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14553"
  },
  {
    "question": "What is Pod Template?",
    "answer": "T h e   . s p e c . t e m p l a t e   a n d   . s p e c . s e l e c t o r   a r e   t h e   o n l y   r e q u i r e d   f i e l d s   o f   t h e   . s p e c .   T h e   . s p e c . t e m p l a t e   i s   a   P o d   t e m p l a t e .   I t   h a s   e x a c t l y   t h e   s a m e   s c h e m a   a s   a   P o d ,   e x c e p t   i t   i s   n e s t e d   a n d   d o e s   n o t   h a v e   a n   a p i V e r s i o n   o r   k i n d .   I n   a d d i t i o n   t o   r e q u i r e d   f i e l d s   f o r   a   P o d ,   a   P o d   t e m p l a t e   i n   a   D e p l o y m e n t   m u s t   s p e c i f y   a p p r o p r i a t e   l a b e l s   a n d   a n   a p p r o p r i a t e   r e s t a r t   p o l i c y .   F o r   l a b e l s ,   m a k e   s u r e   n o t   t o   o v e r l a p   w i t h   o t h e r   c o n t r o l l e r s .   S e e   s e l e c t o r .   O n l y   a   . s p e c . t e m p l a t e . s p e c . r e s t a r t P o l i c y   e q u a l   t o   A l w a y s   i s   a l l o w e d ,   w h i c h   i s   t h e   d e f a u l t   i f   n o t   s p e c i f i e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14554"
  },
  {
    "question": "What is Replicas?",
    "answer": ". s p e c . r e p l i c a s   i s   a n   o p t i o n a l   f i e l d   t h a t   s p e c i f i e s   t h e   n u m b e r   o f   d e s i r e d   P o d s .   I t   d e f a u l t s   t o   1 .   S h o u l d   y o u   m a n u a l l y   s c a l e   a   D e p l o y m e n t ,   e x a m p l e   v i a   k u b e c t l   s c a l e   d e p l o y m e n t   d e p l o y m e n t   - - r e p l i c a s = X ,   a n d   t h e n   y o u   u p d a t e   t h a t   D e p l o y m e n t   b a s e d   o n   a   m a n i f e s t   ( f o r   e x a m p l e :   b y   r u n n i n g   k u b e c t l   a p p l y   - f   d e p l o y m e n t . y a m l ) ,   t h e n   a p p l y i n g   t h a t   m a n i f e s t   o v e r w r i t e s   t h e   m a n u a l   s c a l i n g   t h a t   y o u   p r e v i o u s l y   d i d .   I f   a   H o r i z o n t a l P o d A u t o s c a l e r   ( o r   a n y   s i m i l a r   A P I   f o r   h o r i z o n t a l   s c a l i n g )   i s   m a n a g i n g   s c a l i n g   f o r   a   D e p l o y m e n t ,   d o n ' t   s e t   . s p e c . r e p l i c a s .   I n s t e a d ,   a l l o w   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   t o   m a n a g e   t h e   . s p e c . r e p l i c a s   f i e l d   a u t o m a t i c a l l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14555"
  },
  {
    "question": "What is Selector?",
    "answer": ". s p e c . s e l e c t o r   i s   a   r e q u i r e d   f i e l d   t h a t   s p e c i f i e s   a   l a b e l   s e l e c t o r   f o r   t h e   P o d s   t a r g e t e d   b y   t h i s   D e p l o y m e n t .   . s p e c . s e l e c t o r   m u s t   m a t c h   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s ,   o r   i t   w i l l   b e   r e j e c t e d   b y   t h e   A P I .   I n   A P I   v e r s i o n   a p p s / v 1 ,   . s p e c . s e l e c t o r   a n d   . m e t a d a t a . l a b e l s   d o   n o t   d e f a u l t   t o   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s   i f   n o t   s e t .   S o   t h e y   m u s t   b e   s e t   e x p l i c i t l y .   A l s o   n o t e   t h a t   . s p e c . s e l e c t o r   i s   i m m u t a b l e   a f t e r   c r e a t i o n   o f   t h e   D e p l o y m e n t   i n   a p p s / v 1 .   A   D e p l o y m e n t   m a y   t e r m i n a t e   P o d s   w h o s e   l a b e l s   m a t c h   t h e   s e l e c t o r   i f   t h e i r   t e m p l a t e   i s   d i f f e r e n t   f r o m   . s p e c . t e m p l a t e   o r   i f   t h e   t o t a l   n u m b e r   o f   s u c h   P o d s   e x c e e d s   . s p e c . r e p l i c a s .   I t   b r i n g s   u p   n e w   P o d s   w i t h   . s p e c . t e m p l a t e   i f   t h e   n u m b e r   o f   P o d s   i s   l e s s   t h a n   t h e   d e s i r e d   n u m b e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14556"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   h a v e   m u l t i p l e   c o n t r o l l e r s   t h a t   h a v e   o v e r l a p p i n g   s e l e c t o r s ,   t h e   c o n t r o l l e r s   w i l l   f i g h t   w i t h   e a c h   o t h e r   a n d   w o n ' t   b e h a v e   c o r r e c t l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14557"
  },
  {
    "question": "What is Strategy?",
    "answer": ". s p e c . s t r a t e g y   s p e c i f i e s   t h e   s t r a t e g y   u s e d   t o   r e p l a c e   o l d   P o d s   b y   n e w   o n e s .   . s p e c . s t r a t e g y . t y p e   c a n   b e   \" R e c r e a t e \"   o r   \" R o l l i n g U p d a t e \" .   \" R o l l i n g U p d a t e \"   i s   t h e   d e f a u l t   v a l u e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14558"
  },
  {
    "question": "What is Recreate Deployment?",
    "answer": "A l l   e x i s t i n g   P o d s   a r e   k i l l e d   b e f o r e   n e w   o n e s   a r e   c r e a t e d   w h e n   . s p e c . s t r a t e g y . t y p e = = R e c r e a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14559"
  },
  {
    "question": "What is Rolling Update Deployment?",
    "answer": "T h e   D e p l o y m e n t   u p d a t e s   P o d s   i n   a   r o l l i n g   u p d a t e   f a s h i o n   ( g r a d u a l l y   s c a l e   d o w n   t h e   o l d   R e p l i c a S e t s   a n d   s c a l e   u p   t h e   n e w   o n e )   w h e n   . s p e c . s t r a t e g y . t y p e = = R o l l i n g U p d a t e .   Y o u   c a n   s p e c i f y   m a x U n a v a i l a b l e   a n d   m a x S u r g e   t o   c o n t r o l   t h e   r o l l i n g   u p d a t e   p r o c e s s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14560"
  },
  {
    "question": "What is Max Unavailable?",
    "answer": ". s p e c . s t r a t e g y . r o l l i n g U p d a t e . m a x U n a v a i l a b l e   i s   a n   o p t i o n a l   f i e l d   t h a t   s p e c i f i e s   t h e   m a x i m u m   n u m b e r   o f   P o d s   t h a t   c a n   b e   u n a v a i l a b l e   d u r i n g   t h e   u p d a t e   p r o c e s s .   T h e   v a l u e   c a n   b e   a n   a b s o l u t e   n u m b e r   ( f o r   e x a m p l e ,   5 )   o r   a   p e r c e n t a g e   o f   d e s i r e d   P o d s   ( f o r   e x a m p l e ,   1 0 % ) .   T h e   a b s o l u t e   n u m b e r   i s   c a l c u l a t e d   f r o m   p e r c e n t a g e   b y   r o u n d i n g   d o w n .   T h e   v a l u e   c a n n o t   b e   0   i f   . s p e c . s t r a t e g y . r o l l i n g U p d a t e . m a x S u r g e   i s   0 .   T h e   d e f a u l t   v a l u e   i s   2 5 % .   F o r   e x a m p l e ,   w h e n   t h i s   v a l u e   i s   s e t   t o   3 0 % ,   t h e   o l d   R e p l i c a S e t   c a n   b e   s c a l e d   d o w n   t o   7 0 %   o f   d e s i r e d   P o d s   i m m e d i a t e l y   w h e n   t h e   r o l l i n g   u p d a t e   s t a r t s .   O n c e   n e w   P o d s   a r e   r e a d y ,   o l d   R e p l i c a S e t   c a n   b e   s c a l e d   d o w n   f u r t h e r ,   f o l l o w e d   b y   s c a l i n g   u p   t h e   n e w   R e p l i c a S e t ,   e n s u r i n g   t h a t   t h e   t o t a l   n u m b e r   o f   P o d s   a v a i l a b l e   a t   a l l   t i m e s   d u r i n g   t h e   u p d a t e   i s   a t   l e a s t   7 0 %   o f   t h e   d e s i r e d   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_5_14561"
  },
  {
    "question": "What is Max Surge?",
    "answer": ". s p e c . s t r a t e g y . r o l l i n g U p d a t e . m a x S u r g e   i s   a n   o p t i o n a l   f i e l d   t h a t   s p e c i f i e s   t h e   m a x i m u m   n u m b e r   o f   P o d s   t h a t   c a n   b e   c r e a t e d   o v e r   t h e   d e s i r e d   n u m b e r   o f   P o d s .   T h e   v a l u e   c a n   b e   a n   a b s o l u t e   n u m b e r   ( f o r   e x a m p l e ,   5 )   o r   a   p e r c e n t a g e   o f   d e s i r e d   P o d s   ( f o r   e x a m p l e ,   1 0 % ) .   T h e   v a l u e   c a n n o t   b e   0   i f   m a x U n a v a i l a b l e   i s   0 .   T h e   a b s o l u t e   n u m b e r   i s   c a l c u l a t e d   f r o m   t h e   p e r c e n t a g e   b y   r o u n d i n g   u p .   T h e   d e f a u l t   v a l u e   i s   2 5 % .   F o r   e x a m p l e ,   w h e n   t h i s   v a l u e   i s   s e t   t o   3 0 % ,   t h e   n e w   R e p l i c a S e t   c a n   b e   s c a l e d   u p   i m m e d i a t e l y   w h e n   t h e   r o l l i n g   u p d a t e   s t a r t s ,   s u c h   t h a t   t h e   t o t a l   n u m b e r   o f   o l d   a n d   n e w   P o d s   d o e s   n o t   e x c e e d   1 3 0 %   o f   d e s i r e d   P o d s .   O n c e   o l d   P o d s   h a v e   b e e n   k i l l e d ,   t h e   n e w   R e p l i c a S e t   c a n   b e   s c a l e d   u p   f u r t h e r ,   e n s u r i n g   t h a t   t h e   t o t a l   n u m b e r   o f   P o d s   r u n n i n g   a t   a n y   t i m e   d u r i n g   t h e   u p d a t e   i s   a t   m o s t   1 3 0 %   o f   d e s i r e d   P o d s .   H e r e   a r e   s o m e   R o l l i n g   U p d a t e   D e p l o y m e n t   e x a m p l e s   t h a t   u s e   t h e   m a x U n a v a i l a b l e   a n d   m a x S u r g e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   l a b e l s :   a p p :   n g i n x   s p e c :   r e p l i c a s :   3   s e l e c ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_5_14562"
  },
  {
    "question": "What is Progress Deadline Seconds?",
    "answer": ". s p e c . p r o g r e s s D e a d l i n e S e c o n d s   i s   a n   o p t i o n a l   f i e l d   t h a t   s p e c i f i e s   t h e   n u m b e r   o f   s e c o n d s   y o u   w a n t   t o   w a i t   f o r   y o u r   D e p l o y m e n t   t o   p r o g r e s s   b e f o r e   t h e   s y s t e m   r e p o r t s   b a c k   t h a t   t h e   D e p l o y m e n t   h a s   f a i l e d   p r o g r e s s i n g   -   s u r f a c e d   a s   a   c o n d i t i o n   w i t h   t y p e :   P r o g r e s s i n g ,   s t a t u s :   \" F a l s e \" .   a n d   r e a s o n :   P r o g r e s s D e a d l i n e E x c e e d e d   i n   t h e   s t a t u s   o f   t h e   r e s o u r c e .   T h e   D e p l o y m e n t   c o n t r o l l e r   w i l l   k e e p   r e t r y i n g   t h e   D e p l o y m e n t .   T h i s   d e f a u l t s   t o   6 0 0 .   I n   t h e   f u t u r e ,   o n c e   a u t o m a t i c   r o l l b a c k   w i l l   b e   i m p l e m e n t e d ,   t h e   D e p l o y m e n t   c o n t r o l l e r   w i l l   r o l l   b a c k   a   D e p l o y m e n t   a s   s o o n   a s   i t   o b s e r v e s   s u c h   a   c o n d i t i o n .   I f   s p e c i f i e d ,   t h i s   f i e l d   n e e d s   t o   b e   g r e a t e r   t h a n   . s p e c . m i n R e a d y S e c o n d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14563"
  },
  {
    "question": "What is Min Ready Seconds?",
    "answer": ". s p e c . m i n R e a d y S e c o n d s   i s   a n   o p t i o n a l   f i e l d   t h a t   s p e c i f i e s   t h e   m i n i m u m   n u m b e r   o f   s e c o n d s   f o r   w h i c h   a   n e w l y   c r e a t e d   P o d   s h o u l d   b e   r e a d y   w i t h o u t   a n y   o f   i t s   c o n t a i n e r s   c r a s h i n g ,   f o r   i t   t o   b e   c o n s i d e r e d   a v a i l a b l e .   T h i s   d e f a u l t s   t o   0   ( t h e   P o d   w i l l   b e   c o n s i d e r e d   a v a i l a b l e   a s   s o o n   a s   i t   i s   r e a d y ) .   T o   l e a r n   m o r e   a b o u t   w h e n   a   P o d   i s   c o n s i d e r e d   r e a d y ,   s e e   C o n t a i n e r   P r o b e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14564"
  },
  {
    "question": "What is Terminating Pods?",
    "answer": "Y o u   c a n   e n a b l e   t h i s   f e a t u r e   b y   s e t t i n g   t h e   D e p l o y m e n t R e p l i c a S e t T e r m i n a t i n g R e p l i c a s   f e a t u r e   g a t e   o n   t h e   A P I   s e r v e r   a n d   o n   t h e   k u b e - c o n t r o l l e r - m a n a g e r   P o d s   t h a t   b e c o m e   t e r m i n a t i n g   d u e   t o   d e l e t i o n   o r   s c a l e   d o w n   m a y   t a k e   a   l o n g   t i m e   t o   t e r m i n a t e ,   a n d   m a y   c o n s u m e   a d d i t i o n a l   r e s o u r c e s   d u r i n g   t h a t   p e r i o d .   A s   a   r e s u l t ,   t h e   t o t a l   n u m b e r   o f   a l l   p o d s   c a n   t e m p o r a r i l y   e x c e e d   . s p e c . r e p l i c a s .   T e r m i n a t i n g   p o d s   c a n   b e   t r a c k e d   u s i n g   t h e   . s t a t u s . t e r m i n a t i n g R e p l i c a s   f i e l d   o f   t h e   D e p l o y m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14565"
  },
  {
    "question": "What is Revision History Limit?",
    "answer": "A   D e p l o y m e n t ' s   r e v i s i o n   h i s t o r y   i s   s t o r e d   i n   t h e   R e p l i c a S e t s   i t   c o n t r o l s .   . s p e c . r e v i s i o n H i s t o r y L i m i t   i s   a n   o p t i o n a l   f i e l d   t h a t   s p e c i f i e s   t h e   n u m b e r   o f   o l d   R e p l i c a S e t s   t o   r e t a i n   t o   a l l o w   r o l l b a c k .   T h e s e   o l d   R e p l i c a S e t s   c o n s u m e   r e s o u r c e s   i n   e t c d   a n d   c r o w d   t h e   o u t p u t   o f   k u b e c t l   g e t   r s .   T h e   c o n f i g u r a t i o n   o f   e a c h   D e p l o y m e n t   r e v i s i o n   i s   s t o r e d   i n   i t s   R e p l i c a S e t s ;   t h e r e f o r e ,   o n c e   a n   o l d   R e p l i c a S e t   i s   d e l e t e d ,   y o u   l o s e   t h e   a b i l i t y   t o   r o l l b a c k   t o   t h a t   r e v i s i o n   o f   D e p l o y m e n t .   B y   d e f a u l t ,   1 0   o l d   R e p l i c a S e t s   w i l l   b e   k e p t ,   h o w e v e r   i t s   i d e a l   v a l u e   d e p e n d s   o n   t h e   f r e q u e n c y   a n d   s t a b i l i t y   o f   n e w   D e p l o y m e n t s .   M o r e   s p e c i f i c a l l y ,   s e t t i n g   t h i s   f i e l d   t o   z e r o   m e a n s   t h a t   a l l   o l d   R e p l i c a S e t s   w i t h   0   r e p l i c a s   w i l l   b e   c l e a n e d   u p .   I n   t h i s   c a s e ,   a   n e w   D e p l o y m e n t   r o l l o u t   c a n n o t   b e   u n d o n e ,   s i n c e   i t s   r e v i s i o n   h i s t o r y   i s   c l e a n e d   u p .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14566"
  },
  {
    "question": "What is Paused?",
    "answer": ". s p e c . p a u s e d   i s   a n   o p t i o n a l   b o o l e a n   f i e l d   f o r   p a u s i n g   a n d   r e s u m i n g   a   D e p l o y m e n t .   T h e   o n l y   d i f f e r e n c e   b e t w e e n   a   p a u s e d   D e p l o y m e n t   a n d   o n e   t h a t   i s   n o t   p a u s e d ,   i s   t h a t   a n y   c h a n g e s   i n t o   t h e   P o d T e m p l a t e S p e c   o f   t h e   p a u s e d   D e p l o y m e n t   w i l l   n o t   t r i g g e r   n e w   r o l l o u t s   a s   l o n g   a s   i t   i s   p a u s e d .   A   D e p l o y m e n t   i s   n o t   p a u s e d   b y   d e f a u l t   w h e n   i t   i s   c r e a t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14567"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   P o d s . R u n   a   s t a t e l e s s   a p p l i c a t i o n   u s i n g   a   D e p l o y m e n t . R e a d   t h e   D e p l o y m e n t   t o   u n d e r s t a n d   t h e   D e p l o y m e n t   A P I . R e a d   a b o u t   P o d D i s r u p t i o n B u d g e t   a n d   h o w   y o u   c a n   u s e   i t   t o   m a n a g e   a p p l i c a t i o n   a v a i l a b i l i t y   d u r i n g   d i s r u p t i o n s . U s e   k u b e c t l   t o   c r e a t e   a   D e p l o y m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14568"
  },
  {
    "question": "What is 2.2 - ReplicaSet?",
    "answer": "A   R e p l i c a S e t ' s   p u r p o s e   i s   t o   m a i n t a i n   a   s t a b l e   s e t   o f   r e p l i c a   P o d s   r u n n i n g   a t   a n y   g i v e n   t i m e .   A s   s u c h ,   i t   i s   o f t e n   u s e d   t o   g u a r a n t e e   t h e   a v a i l a b i l i t y   o f   a   s p e c i f i e d   n u m b e r   o f   i d e n t i c a l   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_1_14569"
  },
  {
    "question": "What is How a ReplicaSet works?",
    "answer": "A   R e p l i c a S e t   i s   d e f i n e d   w i t h   f i e l d s ,   i n c l u d i n g   a   s e l e c t o r   t h a t   s p e c i f i e s   h o w   t o   i d e n t i f y   P o d s   i t   c a n   a c q u i r e ,   a   n u m b e r   o f   r e p l i c a s   i n d i c a t i n g   h o w   m a n y   P o d s   i t   s h o u l d   b e   m a i n t a i n i n g ,   a n d   a   p o d   t e m p l a t e   s p e c i f y i n g   t h e   d a t a   o f   n e w   P o d s   i t   s h o u l d   c r e a t e   t o   m e e t   t h e   n u m b e r   o f   r e p l i c a s   c r i t e r i a .   A   R e p l i c a S e t   t h e n   f u l f i l l s   i t s   p u r p o s e   b y   c r e a t i n g   a n d   d e l e t i n g   P o d s   a s   n e e d e d   t o   r e a c h   t h e   d e s i r e d   n u m b e r .   W h e n   a   R e p l i c a S e t   n e e d s   t o   c r e a t e   n e w   P o d s ,   i t   u s e s   i t s   P o d   t e m p l a t e .   A   R e p l i c a S e t   i s   l i n k e d   t o   i t s   P o d s   v i a   t h e   P o d s '   m e t a d a t a . o w n e r R e f e r e n c e s   f i e l d ,   w h i c h   s p e c i f i e s   w h a t   r e s o u r c e   t h e   c u r r e n t   o b j e c t   i s   o w n e d   b y .   A l l   P o d s   a c q u i r e d   b y   a   R e p l i c a S e t   h a v e   t h e i r   o w n i n g   R e p l i c a S e t ' s   i d e n t i f y i n g   i n f o r m a t i o n   w i t h i n   t h e i r   o w n e r R e f e r e n c e s   f i e l d .   I t ' s   t h r o u g h   t h i s   l i n k   t h a t   t h e   R e p l i c a S e t   k n o w s   o f   t h e   s t a t e   o f   t h e   P o d s   i t   i s   m a i n t a i n i n g   a n d   p l a n s   a c c o r d i n g l y .   A   R e p l i c a S e t   i d e n t i f i e s   n e w   P o d s   t o   a c q u i r e   b y   u s i n g   i t s   s e l e c t o r .   I f   t h e r e   i s   a   P o d   t h a t   h a s   n o   O w n e r R e f e r e n c e   o r   t h e   O w n e r R e f e r e n c e   i s   n o t   a   C o n t r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14570"
  },
  {
    "question": "What is When to use a ReplicaSet?",
    "answer": "A   R e p l i c a S e t   e n s u r e s   t h a t   a   s p e c i f i e d   n u m b e r   o f   p o d   r e p l i c a s   a r e   r u n n i n g   a t   a n y   g i v e n   t i m e .   H o w e v e r ,   a   D e p l o y m e n t   i s   a   h i g h e r - l e v e l   c o n c e p t   t h a t   m a n a g e s   R e p l i c a S e t s   a n d   p r o v i d e s   d e c l a r a t i v e   u p d a t e s   t o   P o d s   a l o n g   w i t h   a   l o t   o f   o t h e r   u s e f u l   f e a t u r e s .   T h e r e f o r e ,   w e   r e c o m m e n d   u s i n g   D e p l o y m e n t s   i n s t e a d   o f   d i r e c t l y   u s i n g   R e p l i c a S e t s ,   u n l e s s   y o u   r e q u i r e   c u s t o m   u p d a t e   o r c h e s t r a t i o n   o r   d o n ' t   r e q u i r e   u p d a t e s   a t   a l l .   T h i s   a c t u a l l y   m e a n s   t h a t   y o u   m a y   n e v e r   n e e d   t o   m a n i p u l a t e   R e p l i c a S e t   o b j e c t s :   u s e   a   D e p l o y m e n t   i n s t e a d ,   a n d   d e f i n e   y o u r   a p p l i c a t i o n   i n   t h e   s p e c   s e c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14571"
  },
  {
    "question": "What is Example?",
    "answer": "a p i V e r s i o n :   a p p s / v 1   k i n d :   R e p l i c a S e t   m e t a d a t a :   n a m e :   f r o n t e n d   l a b e l s :   a p p :   g u e s t b o o k   t i e r :   f r o n t e n d   s p e c :   #   m o d i f y   r e p l i c a s   a c c o r d i n g   t o   y o u r   c a s e   r e p l i c a s :   3   s e l e c t o r :   m a t c h L a b e l s :   t i e r :   f r o n t e n d   t e m p l a t e :   m e t a d a t a :   l a b e l s :   t i e r :   f r o n t e n d   s p e c :   c o n t a i n e r s :   -   n a m e :   p h p - r e d i s   i m a g e :   u s - d o c k e r . p k g . d e v / g o o g l e - s a m p l e s / c o n t a i n e r s / g k e / g b - f r o n t e n d : v 5   S a v i n g   t h i s   m a n i f e s t   i n t o   f r o n t e n d . y a m l   a n d   s u b m i t t i n g   i t   t o   a   K u b e r n e t e s   c l u s t e r   w i l l   c r e a t e   t h e   d e f i n e d   R e p l i c a S e t   a n d   t h e   P o d s   t h a t   i t   m a n a g e s .   k u b e c t l   a p p l y   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / c o n t r o l l e r s / f r o n t e n d . y a m l   Y o u   c a n   t h e n   g e t   t h e   c u r r e n t   R e p l i c a S e t s   d e p l o y e d :   k u b e c t l   g e t   r s   A n d   s e e   t h e   f r o n t e n d   o n e   y o u   c r e a t e d :   N A M E   D E S I R E D   C U R R E N T   R E A D Y   A G E   f r o n t e n d   3   3   3   6 s   Y o u   c a n   a l s o   c h e c k   o n   t h e   s t a t e   o f   t h e   R e p l i c a S e t :   k u b e c t l   d e s c r i b e   r s / f r o n t e n d   A n d   y o u   w i l l   s e e   o u t p u t   s i m i l a r   t o :   N a m e :   f r o n t e n d   N a m e s p a c e :   d e f a u l t   S e l e c t o r :   t i e r = f r o n t e n d   L a b e l s :   a p p = g u e s t b o o k   t i e r = f r o n t e n d   A n n o t a t i o n s :   < n o n e >   R e p l i c a s :   3   c u r r e n t   /   3   d e s i r e d   P o d s   S t a t u s :   3   R u n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14572"
  },
  {
    "question": "What is Non-Template Pod acquisitions?",
    "answer": "W h i l e   y o u   c a n   c r e a t e   b a r e   P o d s   w i t h   n o   p r o b l e m s ,   i t   i s   s t r o n g l y   r e c o m m e n d e d   t o   m a k e   s u r e   t h a t   t h e   b a r e   P o d s   d o   n o t   h a v e   l a b e l s   w h i c h   m a t c h   t h e   s e l e c t o r   o f   o n e   o f   y o u r   R e p l i c a S e t s .   T h e   r e a s o n   f o r   t h i s   i s   b e c a u s e   a   R e p l i c a S e t   i s   n o t   l i m i t e d   t o   o w n i n g   P o d s   s p e c i f i e d   b y   i t s   t e m p l a t e - -   i t   c a n   a c q u i r e   o t h e r   P o d s   i n   t h e   m a n n e r   s p e c i f i e d   i n   t h e   p r e v i o u s   s e c t i o n s .   T a k e   t h e   p r e v i o u s   f r o n t e n d   R e p l i c a S e t   e x a m p l e ,   a n d   t h e   P o d s   s p e c i f i e d   i n   t h e   f o l l o w i n g   m a n i f e s t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p o d 1   l a b e l s :   t i e r :   f r o n t e n d   s p e c :   c o n t a i n e r s :   -   n a m e :   h e l l o 1   i m a g e :   g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 2 . 0   - - -   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p o d 2   l a b e l s :   t i e r :   f r o n t e n d   s p e c :   c o n t a i n e r s :   -   n a m e :   h e l l o 2   i m a g e :   g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 1 . 0   A s   t h o s e   P o d s   d o   n o t   h a v e   a   C o n t r o l l e r   ( o r   a n y   o b j e c t )   a s   t h e i r   o w n e r   r e f e r e n c e   a n d   m a t c h   t h e   s e l e c t o r   o f   t h e   f r o n t e n d   R e p l i c a S e t ,   t h e y   w i l l   i m m e d i a t e l y   b e   a c q u i r e d   b y   i t .   S u p p o s e   y o u   c r e a t e   t h e   P o d s   a f t e r   t h e   f r o n t e n d   R e p l i c a S e t   h a s   b e e n   d e p l o y e d   a n d ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14573"
  },
  {
    "question": "What is Writing a ReplicaSet manifest?",
    "answer": "A s   w i t h   a l l   o t h e r   K u b e r n e t e s   A P I   o b j e c t s ,   a   R e p l i c a S e t   n e e d s   t h e   a p i V e r s i o n ,   k i n d ,   a n d   m e t a d a t a   f i e l d s .   F o r   R e p l i c a S e t s ,   t h e   k i n d   i s   a l w a y s   a   R e p l i c a S e t .   W h e n   t h e   c o n t r o l   p l a n e   c r e a t e s   n e w   P o d s   f o r   a   R e p l i c a S e t ,   t h e   . m e t a d a t a . n a m e   o f   t h e   R e p l i c a S e t   i s   p a r t   o f   t h e   b a s i s   f o r   n a m i n g   t h o s e   P o d s .   T h e   n a m e   o f   a   R e p l i c a S e t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   v a l u e ,   b u t   t h i s   c a n   p r o d u c e   u n e x p e c t e d   r e s u l t s   f o r   t h e   P o d   h o s t n a m e s .   F o r   b e s t   c o m p a t i b i l i t y ,   t h e   n a m e   s h o u l d   f o l l o w   t h e   m o r e   r e s t r i c t i v e   r u l e s   f o r   a   D N S   l a b e l .   A   R e p l i c a S e t   a l s o   n e e d s   a   . s p e c   s e c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14574"
  },
  {
    "question": "What is Pod Template?",
    "answer": "T h e   . s p e c . t e m p l a t e   i s   a   p o d   t e m p l a t e   w h i c h   i s   a l s o   r e q u i r e d   t o   h a v e   l a b e l s   i n   p l a c e .   I n   o u r   f r o n t e n d . y a m l   e x a m p l e   w e   h a d   o n e   l a b e l :   t i e r :   f r o n t e n d .   B e   c a r e f u l   n o t   t o   o v e r l a p   w i t h   t h e   s e l e c t o r s   o f   o t h e r   c o n t r o l l e r s ,   l e s t   t h e y   t r y   t o   a d o p t   t h i s   P o d .   F o r   t h e   t e m p l a t e ' s   r e s t a r t   p o l i c y   f i e l d ,   . s p e c . t e m p l a t e . s p e c . r e s t a r t P o l i c y ,   t h e   o n l y   a l l o w e d   v a l u e   i s   A l w a y s ,   w h i c h   i s   t h e   d e f a u l t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14575"
  },
  {
    "question": "What is Pod Selector?",
    "answer": "T h e   . s p e c . s e l e c t o r   f i e l d   i s   a   l a b e l   s e l e c t o r .   A s   d i s c u s s e d   e a r l i e r   t h e s e   a r e   t h e   l a b e l s   u s e d   t o   i d e n t i f y   p o t e n t i a l   P o d s   t o   a c q u i r e .   I n   o u r   f r o n t e n d . y a m l   e x a m p l e ,   t h e   s e l e c t o r   w a s :   m a t c h L a b e l s :   t i e r :   f r o n t e n d   I n   t h e   R e p l i c a S e t ,   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s   m u s t   m a t c h   s p e c . s e l e c t o r ,   o r   i t   w i l l   b e   r e j e c t e d   b y   t h e   A P I .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14576"
  },
  {
    "question": "What is Replicas?",
    "answer": "Y o u   c a n   s p e c i f y   h o w   m a n y   P o d s   s h o u l d   r u n   c o n c u r r e n t l y   b y   s e t t i n g   . s p e c . r e p l i c a s .   T h e   R e p l i c a S e t   w i l l   c r e a t e / d e l e t e   i t s   P o d s   t o   m a t c h   t h i s   n u m b e r .   I f   y o u   d o   n o t   s p e c i f y   . s p e c . r e p l i c a s ,   t h e n   i t   d e f a u l t s   t o   1 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14577"
  },
  {
    "question": "What is Deleting a ReplicaSet and its Pods?",
    "answer": "T o   d e l e t e   a   R e p l i c a S e t   a n d   a l l   o f   i t s   P o d s ,   u s e   k u b e c t l   d e l e t e .   T h e   G a r b a g e   c o l l e c t o r   a u t o m a t i c a l l y   d e l e t e s   a l l   o f   t h e   d e p e n d e n t   P o d s   b y   d e f a u l t .   W h e n   u s i n g   t h e   R E S T   A P I   o r   t h e   c l i e n t - g o   l i b r a r y ,   y o u   m u s t   s e t   p r o p a g a t i o n P o l i c y   t o   B a c k g r o u n d   o r   F o r e g r o u n d   i n   t h e   - d   o p t i o n .   F o r   e x a m p l e :   k u b e c t l   p r o x y   - - p o r t = 8 0 8 0   c u r l   - X   D E L E T E   ' l o c a l h o s t : 8 0 8 0 / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / r e p l i c a s e t s / f r o n t e n d '   \\   - d   ' { \" k i n d \" : \" D e l e t e O p t i o n s \" , \" a p i V e r s i o n \" : \" v 1 \" , \" p r o p a g a t i o n P o l i c y \" : \" F o r e g r o u n d \" } '   \\   - H   \" C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n \"",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14578"
  },
  {
    "question": "What is Deleting just a ReplicaSet?",
    "answer": "Y o u   c a n   d e l e t e   a   R e p l i c a S e t   w i t h o u t   a f f e c t i n g   a n y   o f   i t s   P o d s   u s i n g   k u b e c t l   d e l e t e   w i t h   t h e   - - c a s c a d e = o r p h a n   o p t i o n .   W h e n   u s i n g   t h e   R E S T   A P I   o r   t h e   c l i e n t - g o   l i b r a r y ,   y o u   m u s t   s e t   p r o p a g a t i o n P o l i c y   t o   O r p h a n .   F o r   e x a m p l e :   k u b e c t l   p r o x y   - - p o r t = 8 0 8 0   c u r l   - X   D E L E T E   ' l o c a l h o s t : 8 0 8 0 / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / r e p l i c a s e t s / f r o n t e n d '   \\   - d   ' { \" k i n d \" : \" D e l e t e O p t i o n s \" , \" a p i V e r s i o n \" : \" v 1 \" , \" p r o p a g a t i o n P o l i c y \" : \" O r p h a n \" } '   \\   - H   \" C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n \"   O n c e   t h e   o r i g i n a l   i s   d e l e t e d ,   y o u   c a n   c r e a t e   a   n e w   R e p l i c a S e t   t o   r e p l a c e   i t .   A s   l o n g   a s   t h e   o l d   a n d   n e w   . s p e c . s e l e c t o r   a r e   t h e   s a m e ,   t h e n   t h e   n e w   o n e   w i l l   a d o p t   t h e   o l d   P o d s .   H o w e v e r ,   i t   w i l l   n o t   m a k e   a n y   e f f o r t   t o   m a k e   e x i s t i n g   P o d s   m a t c h   a   n e w ,   d i f f e r e n t   p o d   t e m p l a t e .   T o   u p d a t e   P o d s   t o   a   n e w   s p e c   i n   a   c o n t r o l l e d   w a y ,   u s e   a   D e p l o y m e n t ,   a s   R e p l i c a S e t s   d o   n o t   s u p p o r t   a   r o l l i n g   u p d a t e   d i r e c t l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14579"
  },
  {
    "question": "What is Terminating Pods?",
    "answer": "Y o u   c a n   e n a b l e   t h i s   f e a t u r e   b y   s e t t i n g   t h e   D e p l o y m e n t R e p l i c a S e t T e r m i n a t i n g R e p l i c a s   f e a t u r e   g a t e   o n   t h e   A P I   s e r v e r   a n d   o n   t h e   k u b e - c o n t r o l l e r - m a n a g e r   P o d s   t h a t   b e c o m e   t e r m i n a t i n g   d u e   t o   d e l e t i o n   o r   s c a l e   d o w n   m a y   t a k e   a   l o n g   t i m e   t o   t e r m i n a t e ,   a n d   m a y   c o n s u m e   a d d i t i o n a l   r e s o u r c e s   d u r i n g   t h a t   p e r i o d .   A s   a   r e s u l t ,   t h e   t o t a l   n u m b e r   o f   a l l   p o d s   c a n   t e m p o r a r i l y   e x c e e d   . s p e c . r e p l i c a s .   T e r m i n a t i n g   p o d s   c a n   b e   t r a c k e d   u s i n g   t h e   . s t a t u s . t e r m i n a t i n g R e p l i c a s   f i e l d   o f   t h e   R e p l i c a S e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14580"
  },
  {
    "question": "What is Isolating Pods from a ReplicaSet?",
    "answer": "Y o u   c a n   r e m o v e   P o d s   f r o m   a   R e p l i c a S e t   b y   c h a n g i n g   t h e i r   l a b e l s .   T h i s   t e c h n i q u e   m a y   b e   u s e d   t o   r e m o v e   P o d s   f r o m   s e r v i c e   f o r   d e b u g g i n g ,   d a t a   r e c o v e r y ,   e t c .   P o d s   t h a t   a r e   r e m o v e d   i n   t h i s   w a y   w i l l   b e   r e p l a c e d   a u t o m a t i c a l l y   (   a s s u m i n g   t h a t   t h e   n u m b e r   o f   r e p l i c a s   i s   n o t   a l s o   c h a n g e d ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14581"
  },
  {
    "question": "What is Scaling a ReplicaSet?",
    "answer": "A   R e p l i c a S e t   c a n   b e   e a s i l y   s c a l e d   u p   o r   d o w n   b y   s i m p l y   u p d a t i n g   t h e   . s p e c . r e p l i c a s   f i e l d .   T h e   R e p l i c a S e t   c o n t r o l l e r   e n s u r e s   t h a t   a   d e s i r e d   n u m b e r   o f   P o d s   w i t h   a   m a t c h i n g   l a b e l   s e l e c t o r   a r e   a v a i l a b l e   a n d   o p e r a t i o n a l .   W h e n   s c a l i n g   d o w n ,   t h e   R e p l i c a S e t   c o n t r o l l e r   c h o o s e s   w h i c h   p o d s   t o   d e l e t e   b y   s o r t i n g   t h e   a v a i l a b l e   p o d s   t o   p r i o r i t i z e   s c a l i n g   d o w n   p o d s   b a s e d   o n   t h e   f o l l o w i n g   g e n e r a l   a l g o r i t h m :   P e n d i n g   ( a n d   u n s c h e d u l a b l e )   p o d s   a r e   s c a l e d   d o w n   f i r s t I f   c o n t r o l l e r . k u b e r n e t e s . i o / p o d - d e l e t i o n - c o s t   a n n o t a t i o n   i s   s e t ,   t h e n   t h e   p o d   w i t h   t h e   l o w e r   v a l u e   w i l l   c o m e   f i r s t . P o d s   o n   n o d e s   w i t h   m o r e   r e p l i c a s   c o m e   b e f o r e   p o d s   o n   n o d e s   w i t h   f e w e r   r e p l i c a s . I f   t h e   p o d s '   c r e a t i o n   t i m e s   d i f f e r ,   t h e   p o d   t h a t   w a s   c r e a t e d   m o r e   r e c e n t l y   c o m e s   b e f o r e   t h e   o l d e r   p o d   ( t h e   c r e a t i o n   t i m e s   a r e   b u c k e t e d   o n   a n   i n t e g e r   l o g   s c a l e ) .   I f   a l l   o f   t h e   a b o v e   m a t c h ,   t h e n   s e l e c t i o n   i s   r a n d o m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14582"
  },
  {
    "question": "What is Pod deletion cost?",
    "answer": "U s i n g   t h e   c o n t r o l l e r . k u b e r n e t e s . i o / p o d - d e l e t i o n - c o s t   a n n o t a t i o n ,   u s e r s   c a n   s e t   a   p r e f e r e n c e   r e g a r d i n g   w h i c h   p o d s   t o   r e m o v e   f i r s t   w h e n   d o w n s c a l i n g   a   R e p l i c a S e t .   T h e   a n n o t a t i o n   s h o u l d   b e   s e t   o n   t h e   p o d ,   t h e   r a n g e   i s   [ - 2 1 4 7 4 8 3 6 4 8 ,   2 1 4 7 4 8 3 6 4 7 ] .   I t   r e p r e s e n t s   t h e   c o s t   o f   d e l e t i n g   a   p o d   c o m p a r e d   t o   o t h e r   p o d s   b e l o n g i n g   t o   t h e   s a m e   R e p l i c a S e t .   P o d s   w i t h   l o w e r   d e l e t i o n   c o s t   a r e   p r e f e r r e d   t o   b e   d e l e t e d   b e f o r e   p o d s   w i t h   h i g h e r   d e l e t i o n   c o s t .   T h e   i m p l i c i t   v a l u e   f o r   t h i s   a n n o t a t i o n   f o r   p o d s   t h a t   d o n ' t   s e t   i t   i s   0 ;   n e g a t i v e   v a l u e s   a r e   p e r m i t t e d .   I n v a l i d   v a l u e s   w i l l   b e   r e j e c t e d   b y   t h e   A P I   s e r v e r .   T h i s   f e a t u r e   i s   b e t a   a n d   e n a b l e d   b y   d e f a u l t .   Y o u   c a n   d i s a b l e   i t   u s i n g   t h e   f e a t u r e   g a t e   P o d D e l e t i o n C o s t   i n   b o t h   k u b e - a p i s e r v e r   a n d   k u b e - c o n t r o l l e r - m a n a g e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14583"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   i s   h o n o r e d   o n   a   b e s t - e f f o r t   b a s i s ,   s o   i t   d o e s   n o t   o f f e r   a n y   g u a r a n t e e s   o n   p o d   d e l e t i o n   o r d e r . U s e r s   s h o u l d   a v o i d   u p d a t i n g   t h e   a n n o t a t i o n   f r e q u e n t l y ,   s u c h   a s   u p d a t i n g   i t   b a s e d   o n   a   m e t r i c   v a l u e ,   b e c a u s e   d o i n g   s o   w i l l   g e n e r a t e   a   s i g n i f i c a n t   n u m b e r   o f   p o d   u p d a t e s   o n   t h e   a p i s e r v e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14584"
  },
  {
    "question": "What is Example Use Case?",
    "answer": "T h e   d i f f e r e n t   p o d s   o f   a n   a p p l i c a t i o n   c o u l d   h a v e   d i f f e r e n t   u t i l i z a t i o n   l e v e l s .   O n   s c a l e   d o w n ,   t h e   a p p l i c a t i o n   m a y   p r e f e r   t o   r e m o v e   t h e   p o d s   w i t h   l o w e r   u t i l i z a t i o n .   T o   a v o i d   f r e q u e n t l y   u p d a t i n g   t h e   p o d s ,   t h e   a p p l i c a t i o n   s h o u l d   u p d a t e   c o n t r o l l e r . k u b e r n e t e s . i o / p o d - d e l e t i o n - c o s t   o n c e   b e f o r e   i s s u i n g   a   s c a l e   d o w n   ( s e t t i n g   t h e   a n n o t a t i o n   t o   a   v a l u e   p r o p o r t i o n a l   t o   p o d   u t i l i z a t i o n   l e v e l ) .   T h i s   w o r k s   i f   t h e   a p p l i c a t i o n   i t s e l f   c o n t r o l s   t h e   d o w n   s c a l i n g ;   f o r   e x a m p l e ,   t h e   d r i v e r   p o d   o f   a   S p a r k   d e p l o y m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14585"
  },
  {
    "question": "What is ReplicaSet as a Horizontal Pod Autoscaler Target?",
    "answer": "A   R e p l i c a S e t   c a n   a l s o   b e   a   t a r g e t   f o r   H o r i z o n t a l   P o d   A u t o s c a l e r s   ( H P A ) .   T h a t   i s ,   a   R e p l i c a S e t   c a n   b e   a u t o - s c a l e d   b y   a n   H P A .   H e r e   i s   a n   e x a m p l e   H P A   t a r g e t i n g   t h e   R e p l i c a S e t   w e   c r e a t e d   i n   t h e   p r e v i o u s   e x a m p l e .   a p i V e r s i o n :   a u t o s c a l i n g / v 1   k i n d :   H o r i z o n t a l P o d A u t o s c a l e r   m e t a d a t a :   n a m e :   f r o n t e n d - s c a l e r   s p e c :   s c a l e T a r g e t R e f :   k i n d :   R e p l i c a S e t   n a m e :   f r o n t e n d   m i n R e p l i c a s :   3   m a x R e p l i c a s :   1 0   t a r g e t C P U U t i l i z a t i o n P e r c e n t a g e :   5 0   S a v i n g   t h i s   m a n i f e s t   i n t o   h p a - r s . y a m l   a n d   s u b m i t t i n g   i t   t o   a   K u b e r n e t e s   c l u s t e r   s h o u l d   c r e a t e   t h e   d e f i n e d   H P A   t h a t   a u t o s c a l e s   t h e   t a r g e t   R e p l i c a S e t   d e p e n d i n g   o n   t h e   C P U   u s a g e   o f   t h e   r e p l i c a t e d   P o d s .   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / c o n t r o l l e r s / h p a - r s . y a m l   A l t e r n a t i v e l y ,   y o u   c a n   u s e   t h e   k u b e c t l   a u t o s c a l e   c o m m a n d   t o   a c c o m p l i s h   t h e   s a m e   ( a n d   i t ' s   e a s i e r ! )   k u b e c t l   a u t o s c a l e   r s   f r o n t e n d   - - m a x = 1 0   - - m i n = 3   - - c p u - p e r c e n t = 5 0",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14586"
  },
  {
    "question": "What is Deployment (recommended)?",
    "answer": "D e p l o y m e n t   i s   a n   o b j e c t   w h i c h   c a n   o w n   R e p l i c a S e t s   a n d   u p d a t e   t h e m   a n d   t h e i r   P o d s   v i a   d e c l a r a t i v e ,   s e r v e r - s i d e   r o l l i n g   u p d a t e s .   W h i l e   R e p l i c a S e t s   c a n   b e   u s e d   i n d e p e n d e n t l y ,   t o d a y   t h e y ' r e   m a i n l y   u s e d   b y   D e p l o y m e n t s   a s   a   m e c h a n i s m   t o   o r c h e s t r a t e   P o d   c r e a t i o n ,   d e l e t i o n   a n d   u p d a t e s .   W h e n   y o u   u s e   D e p l o y m e n t s   y o u   d o n ' t   h a v e   t o   w o r r y   a b o u t   m a n a g i n g   t h e   R e p l i c a S e t s   t h a t   t h e y   c r e a t e .   D e p l o y m e n t s   o w n   a n d   m a n a g e   t h e i r   R e p l i c a S e t s .   A s   s u c h ,   i t   i s   r e c o m m e n d e d   t o   u s e   D e p l o y m e n t s   w h e n   y o u   w a n t   R e p l i c a S e t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14587"
  },
  {
    "question": "What is Bare Pods?",
    "answer": "U n l i k e   t h e   c a s e   w h e r e   a   u s e r   d i r e c t l y   c r e a t e d   P o d s ,   a   R e p l i c a S e t   r e p l a c e s   P o d s   t h a t   a r e   d e l e t e d   o r   t e r m i n a t e d   f o r   a n y   r e a s o n ,   s u c h   a s   i n   t h e   c a s e   o f   n o d e   f a i l u r e   o r   d i s r u p t i v e   n o d e   m a i n t e n a n c e ,   s u c h   a s   a   k e r n e l   u p g r a d e .   F o r   t h i s   r e a s o n ,   w e   r e c o m m e n d   t h a t   y o u   u s e   a   R e p l i c a S e t   e v e n   i f   y o u r   a p p l i c a t i o n   r e q u i r e s   o n l y   a   s i n g l e   P o d .   T h i n k   o f   i t   s i m i l a r l y   t o   a   p r o c e s s   s u p e r v i s o r ,   o n l y   i t   s u p e r v i s e s   m u l t i p l e   P o d s   a c r o s s   m u l t i p l e   n o d e s   i n s t e a d   o f   i n d i v i d u a l   p r o c e s s e s   o n   a   s i n g l e   n o d e .   A   R e p l i c a S e t   d e l e g a t e s   l o c a l   c o n t a i n e r   r e s t a r t s   t o   s o m e   a g e n t   o n   t h e   n o d e   s u c h   a s   K u b e l e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14588"
  },
  {
    "question": "What is Job?",
    "answer": "U s e   a   J o b   i n s t e a d   o f   a   R e p l i c a S e t   f o r   P o d s   t h a t   a r e   e x p e c t e d   t o   t e r m i n a t e   o n   t h e i r   o w n   ( t h a t   i s ,   b a t c h   j o b s ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14589"
  },
  {
    "question": "What is DaemonSet?",
    "answer": "U s e   a   D a e m o n S e t   i n s t e a d   o f   a   R e p l i c a S e t   f o r   P o d s   t h a t   p r o v i d e   a   m a c h i n e - l e v e l   f u n c t i o n ,   s u c h   a s   m a c h i n e   m o n i t o r i n g   o r   m a c h i n e   l o g g i n g .   T h e s e   P o d s   h a v e   a   l i f e t i m e   t h a t   i s   t i e d   t o   a   m a c h i n e   l i f e t i m e :   t h e   P o d   n e e d s   t o   b e   r u n n i n g   o n   t h e   m a c h i n e   b e f o r e   o t h e r   P o d s   s t a r t ,   a n d   a r e   s a f e   t o   t e r m i n a t e   w h e n   t h e   m a c h i n e   i s   o t h e r w i s e   r e a d y   t o   b e   r e b o o t e d / s h u t d o w n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14590"
  },
  {
    "question": "What is ReplicationController?",
    "answer": "R e p l i c a S e t s   a r e   t h e   s u c c e s s o r s   t o   R e p l i c a t i o n C o n t r o l l e r s .   T h e   t w o   s e r v e   t h e   s a m e   p u r p o s e ,   a n d   b e h a v e   s i m i l a r l y ,   e x c e p t   t h a t   a   R e p l i c a t i o n C o n t r o l l e r   d o e s   n o t   s u p p o r t   s e t - b a s e d   s e l e c t o r   r e q u i r e m e n t s   a s   d e s c r i b e d   i n   t h e   l a b e l s   u s e r   g u i d e .   A s   s u c h ,   R e p l i c a S e t s   a r e   p r e f e r r e d   o v e r   R e p l i c a t i o n C o n t r o l l e r s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14591"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   P o d s . L e a r n   a b o u t   D e p l o y m e n t s . R u n   a   S t a t e l e s s   A p p l i c a t i o n   U s i n g   a   D e p l o y m e n t ,   w h i c h   r e l i e s   o n   R e p l i c a S e t s   t o   w o r k . R e p l i c a S e t   i s   a   t o p - l e v e l   r e s o u r c e   i n   t h e   K u b e r n e t e s   R E S T   A P I .   R e a d   t h e   R e p l i c a S e t   o b j e c t   d e f i n i t i o n   t o   u n d e r s t a n d   t h e   A P I   f o r   r e p l i c a   s e t s . R e a d   a b o u t   P o d D i s r u p t i o n B u d g e t   a n d   h o w   y o u   c a n   u s e   i t   t o   m a n a g e   a p p l i c a t i o n   a v a i l a b i l i t y   d u r i n g   d i s r u p t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14592"
  },
  {
    "question": "What is 2.3 - StatefulSets?",
    "answer": "S t a t e f u l S e t   i s   t h e   w o r k l o a d   A P I   o b j e c t   u s e d   t o   m a n a g e   s t a t e f u l   a p p l i c a t i o n s .   M a n a g e s   t h e   d e p l o y m e n t   a n d   s c a l i n g   o f   a   s e t   o f   P o d s ,   a n d   p r o v i d e s   g u a r a n t e e s   a b o u t   t h e   o r d e r i n g   a n d   u n i q u e n e s s   o f   t h e s e   P o d s .   L i k e   a   D e p l o y m e n t ,   a   S t a t e f u l S e t   m a n a g e s   P o d s   t h a t   a r e   b a s e d   o n   a n   i d e n t i c a l   c o n t a i n e r   s p e c .   U n l i k e   a   D e p l o y m e n t ,   a   S t a t e f u l S e t   m a i n t a i n s   a   s t i c k y   i d e n t i t y   f o r   e a c h   o f   i t s   P o d s .   T h e s e   p o d s   a r e   c r e a t e d   f r o m   t h e   s a m e   s p e c ,   b u t   a r e   n o t   i n t e r c h a n g e a b l e :   e a c h   h a s   a   p e r s i s t e n t   i d e n t i f i e r   t h a t   i t   m a i n t a i n s   a c r o s s   a n y   r e s c h e d u l i n g .   I f   y o u   w a n t   t o   u s e   s t o r a g e   v o l u m e s   t o   p r o v i d e   p e r s i s t e n c e   f o r   y o u r   w o r k l o a d ,   y o u   c a n   u s e   a   S t a t e f u l S e t   a s   p a r t   o f   t h e   s o l u t i o n .   A l t h o u g h   i n d i v i d u a l   P o d s   i n   a   S t a t e f u l S e t   a r e   s u s c e p t i b l e   t o   f a i l u r e ,   t h e   p e r s i s t e n t   P o d   i d e n t i f i e r s   m a k e   i t   e a s i e r   t o   m a t c h   e x i s t i n g   v o l u m e s   t o   t h e   n e w   P o d s   t h a t   r e p l a c e   a n y   t h a t   h a v e   f a i l e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_1_14593"
  },
  {
    "question": "What is Using StatefulSets?",
    "answer": "S t a t e f u l S e t s   a r e   v a l u a b l e   f o r   a p p l i c a t i o n s   t h a t   r e q u i r e   o n e   o r   m o r e   o f   t h e   f o l l o w i n g .   S t a b l e ,   u n i q u e   n e t w o r k   i d e n t i f i e r s . S t a b l e ,   p e r s i s t e n t   s t o r a g e . O r d e r e d ,   g r a c e f u l   d e p l o y m e n t   a n d   s c a l i n g . O r d e r e d ,   a u t o m a t e d   r o l l i n g   u p d a t e s .   I n   t h e   a b o v e ,   s t a b l e   i s   s y n o n y m o u s   w i t h   p e r s i s t e n c e   a c r o s s   P o d   ( r e ) s c h e d u l i n g .   I f   a n   a p p l i c a t i o n   d o e s n ' t   r e q u i r e   a n y   s t a b l e   i d e n t i f i e r s   o r   o r d e r e d   d e p l o y m e n t ,   d e l e t i o n ,   o r   s c a l i n g ,   y o u   s h o u l d   d e p l o y   y o u r   a p p l i c a t i o n   u s i n g   a   w o r k l o a d   o b j e c t   t h a t   p r o v i d e s   a   s e t   o f   s t a t e l e s s   r e p l i c a s .   D e p l o y m e n t   o r   R e p l i c a S e t   m a y   b e   b e t t e r   s u i t e d   t o   y o u r   s t a t e l e s s   n e e d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14594"
  },
  {
    "question": "What is Limitations?",
    "answer": "T h e   s t o r a g e   f o r   a   g i v e n   P o d   m u s t   e i t h e r   b e   p r o v i s i o n e d   b y   a   P e r s i s t e n t V o l u m e   P r o v i s i o n e r   ( e x a m p l e s   h e r e )   b a s e d   o n   t h e   r e q u e s t e d   s t o r a g e   c l a s s ,   o r   p r e - p r o v i s i o n e d   b y   a n   a d m i n . D e l e t i n g   a n d / o r   s c a l i n g   a   S t a t e f u l S e t   d o w n   w i l l   n o t   d e l e t e   t h e   v o l u m e s   a s s o c i a t e d   w i t h   t h e   S t a t e f u l S e t .   T h i s   i s   d o n e   t o   e n s u r e   d a t a   s a f e t y ,   w h i c h   i s   g e n e r a l l y   m o r e   v a l u a b l e   t h a n   a n   a u t o m a t i c   p u r g e   o f   a l l   r e l a t e d   S t a t e f u l S e t   r e s o u r c e s . S t a t e f u l S e t s   c u r r e n t l y   r e q u i r e   a   H e a d l e s s   S e r v i c e   t o   b e   r e s p o n s i b l e   f o r   t h e   n e t w o r k   i d e n t i t y   o f   t h e   P o d s .   Y o u   a r e   r e s p o n s i b l e   f o r   c r e a t i n g   t h i s   S e r v i c e . S t a t e f u l S e t s   d o   n o t   p r o v i d e   a n y   g u a r a n t e e s   o n   t h e   t e r m i n a t i o n   o f   p o d s   w h e n   a   S t a t e f u l S e t   i s   d e l e t e d .   T o   a c h i e v e   o r d e r e d   a n d   g r a c e f u l   t e r m i n a t i o n   o f   t h e   p o d s   i n   t h e   S t a t e f u l S e t ,   i t   i s   p o s s i b l e   t o   s c a l e   t h e   S t a t e f u l S e t   d o w n   t o   0   p r i o r   t o   d e l e t i o n . W h e n   u s i n g   R o l l i n g   U p d a t e s   w i t h   t h e   d e f a u l t   P o d   M a n a g e m e n t   P o l i c y   ( O r d e r e d R e a d y ) ,   i t ' s   p o s s i b l e   t o   g e t   i n t o   a   b r o k e n   s t a t e   t h a t   r e q u i r e s   m a n u a l   i n t e r v e n t i o n   t o   r e p a i r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14595"
  },
  {
    "question": "What is Components?",
    "answer": "T h e   e x a m p l e   b e l o w   d e m o n s t r a t e s   t h e   c o m p o n e n t s   o f   a   S t a t e f u l S e t .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   n g i n x   l a b e l s :   a p p :   n g i n x   s p e c :   p o r t s :   -   p o r t :   8 0   n a m e :   w e b   c l u s t e r I P :   N o n e   s e l e c t o r :   a p p :   n g i n x   - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a :   n a m e :   w e b   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   #   h a s   t o   m a t c h   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s   s e r v i c e N a m e :   \" n g i n x \"   r e p l i c a s :   3   #   b y   d e f a u l t   i s   1   m i n R e a d y S e c o n d s :   1 0   #   b y   d e f a u l t   i s   0   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   #   h a s   t o   m a t c h   . s p e c . s e l e c t o r . m a t c h L a b e l s   s p e c :   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s :   1 0   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   r e g i s t r y . k 8 s . i o / n g i n x - s l i m : 0 . 2 4   p o r t s :   -   c o n t a i n e r P o r t :   8 0   n a m e :   w e b   v o l u m e M o u n t s :   -   n a m e :   w w w   m o u n t P a t h :   / u s r / s h a r e / n g i n x / h t m l   v o l u m e C l a i m T e m p l a t e s :   -   m e t a d a t a :   n a m e :   w w w   s p e c :   a c c e s s M o d e s :   [   \" R e a d W r i t e O n c e \"   ]   s t o r a g e C l a s s N a m e :   \" m y - s t o r a g e - c l a s s \"   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   1 G i",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14596"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   t h e   a b o v e   e x a m p l e :   A   H e a d l e s s   S e r v i c e ,   n a m e d   n g i n x ,   i s   u s e d   t o   c o n t r o l   t h e   n e t w o r k   d o m a i n . T h e   S t a t e f u l S e t ,   n a m e d   w e b ,   h a s   a   S p e c   t h a t   i n d i c a t e s   t h a t   3   r e p l i c a s   o f   t h e   n g i n x   c o n t a i n e r   w i l l   b e   l a u n c h e d   i n   u n i q u e   P o d s . T h e   v o l u m e C l a i m T e m p l a t e s   w i l l   p r o v i d e   s t a b l e   s t o r a g e   u s i n g   P e r s i s t e n t V o l u m e s   p r o v i s i o n e d   b y   a   P e r s i s t e n t V o l u m e   P r o v i s i o n e r .   T h e   n a m e   o f   a   S t a t e f u l S e t   o b j e c t   m u s t   b e   a   v a l i d   D N S   l a b e l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14597"
  },
  {
    "question": "What is Pod Selector?",
    "answer": "Y o u   m u s t   s e t   t h e   . s p e c . s e l e c t o r   f i e l d   o f   a   S t a t e f u l S e t   t o   m a t c h   t h e   l a b e l s   o f   i t s   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s .   F a i l i n g   t o   s p e c i f y   a   m a t c h i n g   P o d   S e l e c t o r   w i l l   r e s u l t   i n   a   v a l i d a t i o n   e r r o r   d u r i n g   S t a t e f u l S e t   c r e a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14598"
  },
  {
    "question": "What is Volume Claim Templates?",
    "answer": "Y o u   c a n   s e t   t h e   . s p e c . v o l u m e C l a i m T e m p l a t e s   f i e l d   t o   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m .   T h i s   w i l l   p r o v i d e   s t a b l e   s t o r a g e   t o   t h e   S t a t e f u l S e t   i f   e i t h e r   T h e   S t o r a g e C l a s s   s p e c i f i e d   f o r   t h e   v o l u m e   c l a i m   i s   s e t   u p   t o   u s e   d y n a m i c   p r o v i s i o n i n g ,   o r T h e   c l u s t e r   a l r e a d y   c o n t a i n s   a   P e r s i s t e n t V o l u m e   w i t h   t h e   c o r r e c t   S t o r a g e C l a s s   a n d   s u f f i c i e n t   a v a i l a b l e   s t o r a g e   s p a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14599"
  },
  {
    "question": "What is Minimum ready seconds?",
    "answer": ". s p e c . m i n R e a d y S e c o n d s   i s   a n   o p t i o n a l   f i e l d   t h a t   s p e c i f i e s   t h e   m i n i m u m   n u m b e r   o f   s e c o n d s   f o r   w h i c h   a   n e w l y   c r e a t e d   P o d   s h o u l d   b e   r u n n i n g   a n d   r e a d y   w i t h o u t   a n y   o f   i t s   c o n t a i n e r s   c r a s h i n g ,   f o r   i t   t o   b e   c o n s i d e r e d   a v a i l a b l e .   T h i s   i s   u s e d   t o   c h e c k   p r o g r e s s i o n   o f   a   r o l l o u t   w h e n   u s i n g   a   R o l l i n g   U p d a t e   s t r a t e g y .   T h i s   f i e l d   d e f a u l t s   t o   0   ( t h e   P o d   w i l l   b e   c o n s i d e r e d   a v a i l a b l e   a s   s o o n   a s   i t   i s   r e a d y ) .   T o   l e a r n   m o r e   a b o u t   w h e n   a   P o d   i s   c o n s i d e r e d   r e a d y ,   s e e   C o n t a i n e r   P r o b e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14600"
  },
  {
    "question": "What is Pod Identity?",
    "answer": "S t a t e f u l S e t   P o d s   h a v e   a   u n i q u e   i d e n t i t y   t h a t   c o n s i s t s   o f   a n   o r d i n a l ,   a   s t a b l e   n e t w o r k   i d e n t i t y ,   a n d   s t a b l e   s t o r a g e .   T h e   i d e n t i t y   s t i c k s   t o   t h e   P o d ,   r e g a r d l e s s   o f   w h i c h   n o d e   i t ' s   ( r e ) s c h e d u l e d   o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14601"
  },
  {
    "question": "What is Ordinal Index?",
    "answer": "F o r   a   S t a t e f u l S e t   w i t h   N   r e p l i c a s ,   e a c h   P o d   i n   t h e   S t a t e f u l S e t   w i l l   b e   a s s i g n e d   a n   i n t e g e r   o r d i n a l ,   t h a t   i s   u n i q u e   o v e r   t h e   S e t .   B y   d e f a u l t ,   p o d s   w i l l   b e   a s s i g n e d   o r d i n a l s   f r o m   0   u p   t h r o u g h   N - 1 .   T h e   S t a t e f u l S e t   c o n t r o l l e r   w i l l   a l s o   a d d   a   p o d   l a b e l   w i t h   t h i s   i n d e x :   a p p s . k u b e r n e t e s . i o / p o d - i n d e x .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14602"
  },
  {
    "question": "What is Start ordinal?",
    "answer": ". s p e c . o r d i n a l s   i s   a n   o p t i o n a l   f i e l d   t h a t   a l l o w s   y o u   t o   c o n f i g u r e   t h e   i n t e g e r   o r d i n a l s   a s s i g n e d   t o   e a c h   P o d .   I t   d e f a u l t s   t o   n i l .   W i t h i n   t h e   f i e l d ,   y o u   c a n   c o n f i g u r e   t h e   f o l l o w i n g   o p t i o n s :   . s p e c . o r d i n a l s . s t a r t :   I f   t h e   . s p e c . o r d i n a l s . s t a r t   f i e l d   i s   s e t ,   P o d s   w i l l   b e   a s s i g n e d   o r d i n a l s   f r o m   . s p e c . o r d i n a l s . s t a r t   u p   t h r o u g h   . s p e c . o r d i n a l s . s t a r t   +   . s p e c . r e p l i c a s   -   1 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14603"
  },
  {
    "question": "What is Stable Network ID?",
    "answer": "E a c h   P o d   i n   a   S t a t e f u l S e t   d e r i v e s   i t s   h o s t n a m e   f r o m   t h e   n a m e   o f   t h e   S t a t e f u l S e t   a n d   t h e   o r d i n a l   o f   t h e   P o d .   T h e   p a t t e r n   f o r   t h e   c o n s t r u c t e d   h o s t n a m e   i s   $ ( s t a t e f u l s e t   n a m e ) - $ ( o r d i n a l ) .   T h e   e x a m p l e   a b o v e   w i l l   c r e a t e   t h r e e   P o d s   n a m e d   w e b - 0 , w e b - 1 , w e b - 2 .   A   S t a t e f u l S e t   c a n   u s e   a   H e a d l e s s   S e r v i c e   t o   c o n t r o l   t h e   d o m a i n   o f   i t s   P o d s .   T h e   d o m a i n   m a n a g e d   b y   t h i s   S e r v i c e   t a k e s   t h e   f o r m :   $ ( s e r v i c e   n a m e ) . $ ( n a m e s p a c e ) . s v c . c l u s t e r . l o c a l ,   w h e r e   \" c l u s t e r . l o c a l \"   i s   t h e   c l u s t e r   d o m a i n .   A s   e a c h   P o d   i s   c r e a t e d ,   i t   g e t s   a   m a t c h i n g   D N S   s u b d o m a i n ,   t a k i n g   t h e   f o r m :   $ ( p o d n a m e ) . $ ( g o v e r n i n g   s e r v i c e   d o m a i n ) ,   w h e r e   t h e   g o v e r n i n g   s e r v i c e   i s   d e f i n e d   b y   t h e   s e r v i c e N a m e   f i e l d   o n   t h e   S t a t e f u l S e t .   D e p e n d i n g   o n   h o w   D N S   i s   c o n f i g u r e d   i n   y o u r   c l u s t e r ,   y o u   m a y   n o t   b e   a b l e   t o   l o o k   u p   t h e   D N S   n a m e   f o r   a   n e w l y - r u n   P o d   i m m e d i a t e l y .   T h i s   b e h a v i o r   c a n   o c c u r   w h e n   o t h e r   c l i e n t s   i n   t h e   c l u s t e r   h a v e   a l r e a d y   s e n t   q u e r i e s   f o r   t h e   h o s t n a m e   o f   t h e   P o d   b e f o r e   i t   w a s   c r e a t e d .   N e g a t i v e   c a c h i n g   ( n o r m a l   i n   D N S )   m e a n s   t h a t   t h e   r e s u l t s   o f   p r e v i o u s ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14604"
  },
  {
    "question": "What is Stable Storage?",
    "answer": "F o r   e a c h   V o l u m e C l a i m T e m p l a t e   e n t r y   d e f i n e d   i n   a   S t a t e f u l S e t ,   e a c h   P o d   r e c e i v e s   o n e   P e r s i s t e n t V o l u m e C l a i m .   I n   t h e   n g i n x   e x a m p l e   a b o v e ,   e a c h   P o d   r e c e i v e s   a   s i n g l e   P e r s i s t e n t V o l u m e   w i t h   a   S t o r a g e C l a s s   o f   m y - s t o r a g e - c l a s s   a n d   1   G i B   o f   p r o v i s i o n e d   s t o r a g e .   I f   n o   S t o r a g e C l a s s   i s   s p e c i f i e d ,   t h e n   t h e   d e f a u l t   S t o r a g e C l a s s   w i l l   b e   u s e d .   W h e n   a   P o d   i s   ( r e ) s c h e d u l e d   o n t o   a   n o d e ,   i t s   v o l u m e M o u n t s   m o u n t   t h e   P e r s i s t e n t V o l u m e s   a s s o c i a t e d   w i t h   i t s   P e r s i s t e n t V o l u m e   C l a i m s .   N o t e   t h a t ,   t h e   P e r s i s t e n t V o l u m e s   a s s o c i a t e d   w i t h   t h e   P o d s '   P e r s i s t e n t V o l u m e   C l a i m s   a r e   n o t   d e l e t e d   w h e n   t h e   P o d s ,   o r   S t a t e f u l S e t   a r e   d e l e t e d .   T h i s   m u s t   b e   d o n e   m a n u a l l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14605"
  },
  {
    "question": "What is Pod Name Label?",
    "answer": "W h e n   t h e   S t a t e f u l S e t   c o n t r o l l e r   c r e a t e s   a   P o d ,   i t   a d d s   a   l a b e l ,   s t a t e f u l s e t . k u b e r n e t e s . i o / p o d - n a m e ,   t h a t   i s   s e t   t o   t h e   n a m e   o f   t h e   P o d .   T h i s   l a b e l   a l l o w s   y o u   t o   a t t a c h   a   S e r v i c e   t o   a   s p e c i f i c   P o d   i n   t h e   S t a t e f u l S e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14606"
  },
  {
    "question": "What is Pod index label?",
    "answer": "W h e n   t h e   S t a t e f u l S e t   c o n t r o l l e r   c r e a t e s   a   P o d ,   t h e   n e w   P o d   i s   l a b e l l e d   w i t h   a p p s . k u b e r n e t e s . i o / p o d - i n d e x .   T h e   v a l u e   o f   t h i s   l a b e l   i s   t h e   o r d i n a l   i n d e x   o f   t h e   P o d .   T h i s   l a b e l   a l l o w s   y o u   t o   r o u t e   t r a f f i c   t o   a   p a r t i c u l a r   p o d   i n d e x ,   f i l t e r   l o g s / m e t r i c s   u s i n g   t h e   p o d   i n d e x   l a b e l ,   a n d   m o r e .   N o t e   t h e   f e a t u r e   g a t e   P o d I n d e x L a b e l   i s   e n a b l e d   a n d   l o c k e d   b y   d e f a u l t   f o r   t h i s   f e a t u r e ,   i n   o r d e r   t o   d i s a b l e   i t ,   u s e r s   w i l l   h a v e   t o   u s e   s e r v e r   e m u l a t e d   v e r s i o n   v 1 . 3 1 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14607"
  },
  {
    "question": "What is Deployment and Scaling Guarantees?",
    "answer": "F o r   a   S t a t e f u l S e t   w i t h   N   r e p l i c a s ,   w h e n   P o d s   a r e   b e i n g   d e p l o y e d ,   t h e y   a r e   c r e a t e d   s e q u e n t i a l l y ,   i n   o r d e r   f r o m   { 0 . . N - 1 } . W h e n   P o d s   a r e   b e i n g   d e l e t e d ,   t h e y   a r e   t e r m i n a t e d   i n   r e v e r s e   o r d e r ,   f r o m   { N - 1 . . 0 } . B e f o r e   a   s c a l i n g   o p e r a t i o n   i s   a p p l i e d   t o   a   P o d ,   a l l   o f   i t s   p r e d e c e s s o r s   m u s t   b e   R u n n i n g   a n d   R e a d y . B e f o r e   a   P o d   i s   t e r m i n a t e d ,   a l l   o f   i t s   s u c c e s s o r s   m u s t   b e   c o m p l e t e l y   s h u t d o w n .   T h e   S t a t e f u l S e t   s h o u l d   n o t   s p e c i f y   a   p o d . S p e c . T e r m i n a t i o n G r a c e P e r i o d S e c o n d s   o f   0 .   T h i s   p r a c t i c e   i s   u n s a f e   a n d   s t r o n g l y   d i s c o u r a g e d .   F o r   f u r t h e r   e x p l a n a t i o n ,   p l e a s e   r e f e r   t o   f o r c e   d e l e t i n g   S t a t e f u l S e t   P o d s .   W h e n   t h e   n g i n x   e x a m p l e   a b o v e   i s   c r e a t e d ,   t h r e e   P o d s   w i l l   b e   d e p l o y e d   i n   t h e   o r d e r   w e b - 0 ,   w e b - 1 ,   w e b - 2 .   w e b - 1   w i l l   n o t   b e   d e p l o y e d   b e f o r e   w e b - 0   i s   R u n n i n g   a n d   R e a d y ,   a n d   w e b - 2   w i l l   n o t   b e   d e p l o y e d   u n t i l   w e b - 1   i s   R u n n i n g   a n d   R e a d y .   I f   w e b - 0   s h o u l d   f a i l ,   a f t e r   w e b - 1   i s   R u n n i n g   a n d   R e a d y ,   b u t   b e f o r e   w e b - 2   i s   l a u n c h e d ,   w e b - 2   w i l l   n o t   b e   l a u n c h e d   u n t i l   w e b - 0   i s   s u c c e s s f u l l y   r e l a u n c h e d   a n d   b e c o m e s   R u n n i n g   a n d   R e a d y .   I f   a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14608"
  },
  {
    "question": "What is Pod Management Policies?",
    "answer": "S t a t e f u l S e t   a l l o w s   y o u   t o   r e l a x   i t s   o r d e r i n g   g u a r a n t e e s   w h i l e   p r e s e r v i n g   i t s   u n i q u e n e s s   a n d   i d e n t i t y   g u a r a n t e e s   v i a   i t s   . s p e c . p o d M a n a g e m e n t P o l i c y   f i e l d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14609"
  },
  {
    "question": "What is OrderedReady Pod Management?",
    "answer": "O r d e r e d R e a d y   p o d   m a n a g e m e n t   i s   t h e   d e f a u l t   f o r   S t a t e f u l S e t s .   I t   i m p l e m e n t s   t h e   b e h a v i o r   d e s c r i b e d   a b o v e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14610"
  },
  {
    "question": "What is Parallel Pod Management?",
    "answer": "P a r a l l e l   p o d   m a n a g e m e n t   t e l l s   t h e   S t a t e f u l S e t   c o n t r o l l e r   t o   l a u n c h   o r   t e r m i n a t e   a l l   P o d s   i n   p a r a l l e l ,   a n d   t o   n o t   w a i t   f o r   P o d s   t o   b e c o m e   R u n n i n g   a n d   R e a d y   o r   c o m p l e t e l y   t e r m i n a t e d   p r i o r   t o   l a u n c h i n g   o r   t e r m i n a t i n g   a n o t h e r   P o d .   T h i s   o p t i o n   o n l y   a f f e c t s   t h e   b e h a v i o r   f o r   s c a l i n g   o p e r a t i o n s .   U p d a t e s   a r e   n o t   a f f e c t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14611"
  },
  {
    "question": "What is Update strategies?",
    "answer": "A   S t a t e f u l S e t ' s   . s p e c . u p d a t e S t r a t e g y   f i e l d   a l l o w s   y o u   t o   c o n f i g u r e   a n d   d i s a b l e   a u t o m a t e d   r o l l i n g   u p d a t e s   f o r   c o n t a i n e r s ,   l a b e l s ,   r e s o u r c e   r e q u e s t / l i m i t s ,   a n d   a n n o t a t i o n s   f o r   t h e   P o d s   i n   a   S t a t e f u l S e t .   T h e r e   a r e   t w o   p o s s i b l e   v a l u e s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14612"
  },
  {
    "question": "What is Rolling Updates?",
    "answer": "W h e n   a   S t a t e f u l S e t ' s   . s p e c . u p d a t e S t r a t e g y . t y p e   i s   s e t   t o   R o l l i n g U p d a t e ,   t h e   S t a t e f u l S e t   c o n t r o l l e r   w i l l   d e l e t e   a n d   r e c r e a t e   e a c h   P o d   i n   t h e   S t a t e f u l S e t .   I t   w i l l   p r o c e e d   i n   t h e   s a m e   o r d e r   a s   P o d   t e r m i n a t i o n   ( f r o m   t h e   l a r g e s t   o r d i n a l   t o   t h e   s m a l l e s t ) ,   u p d a t i n g   e a c h   P o d   o n e   a t   a   t i m e .   T h e   K u b e r n e t e s   c o n t r o l   p l a n e   w a i t s   u n t i l   a n   u p d a t e d   P o d   i s   R u n n i n g   a n d   R e a d y   p r i o r   t o   u p d a t i n g   i t s   p r e d e c e s s o r .   I f   y o u   h a v e   s e t   . s p e c . m i n R e a d y S e c o n d s   ( s e e   M i n i m u m   R e a d y   S e c o n d s ) ,   t h e   c o n t r o l   p l a n e   a d d i t i o n a l l y   w a i t s   t h a t   a m o u n t   o f   t i m e   a f t e r   t h e   P o d   t u r n s   r e a d y ,   b e f o r e   m o v i n g   o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14613"
  },
  {
    "question": "What is Partitioned rolling updates?",
    "answer": "T h e   R o l l i n g U p d a t e   u p d a t e   s t r a t e g y   c a n   b e   p a r t i t i o n e d ,   b y   s p e c i f y i n g   a   . s p e c . u p d a t e S t r a t e g y . r o l l i n g U p d a t e . p a r t i t i o n .   I f   a   p a r t i t i o n   i s   s p e c i f i e d ,   a l l   P o d s   w i t h   a n   o r d i n a l   t h a t   i s   g r e a t e r   t h a n   o r   e q u a l   t o   t h e   p a r t i t i o n   w i l l   b e   u p d a t e d   w h e n   t h e   S t a t e f u l S e t ' s   . s p e c . t e m p l a t e   i s   u p d a t e d .   A l l   P o d s   w i t h   a n   o r d i n a l   t h a t   i s   l e s s   t h a n   t h e   p a r t i t i o n   w i l l   n o t   b e   u p d a t e d ,   a n d ,   e v e n   i f   t h e y   a r e   d e l e t e d ,   t h e y   w i l l   b e   r e c r e a t e d   a t   t h e   p r e v i o u s   v e r s i o n .   I f   a   S t a t e f u l S e t ' s   . s p e c . u p d a t e S t r a t e g y . r o l l i n g U p d a t e . p a r t i t i o n   i s   g r e a t e r   t h a n   i t s   . s p e c . r e p l i c a s ,   u p d a t e s   t o   i t s   . s p e c . t e m p l a t e   w i l l   n o t   b e   p r o p a g a t e d   t o   i t s   P o d s .   I n   m o s t   c a s e s   y o u   w i l l   n o t   n e e d   t o   u s e   a   p a r t i t i o n ,   b u t   t h e y   a r e   u s e f u l   i f   y o u   w a n t   t o   s t a g e   a n   u p d a t e ,   r o l l   o u t   a   c a n a r y ,   o r   p e r f o r m   a   p h a s e d   r o l l   o u t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14614"
  },
  {
    "question": "What is Maximum unavailable Pods?",
    "answer": "Y o u   c a n   c o n t r o l   t h e   m a x i m u m   n u m b e r   o f   P o d s   t h a t   c a n   b e   u n a v a i l a b l e   d u r i n g   a n   u p d a t e   b y   s p e c i f y i n g   t h e   . s p e c . u p d a t e S t r a t e g y . r o l l i n g U p d a t e . m a x U n a v a i l a b l e   f i e l d .   T h e   v a l u e   c a n   b e   a n   a b s o l u t e   n u m b e r   ( f o r   e x a m p l e ,   5 )   o r   a   p e r c e n t a g e   o f   d e s i r e d   P o d s   ( f o r   e x a m p l e ,   1 0 % ) .   A b s o l u t e   n u m b e r   i s   c a l c u l a t e d   f r o m   t h e   p e r c e n t a g e   v a l u e   b y   r o u n d i n g   i t   u p .   T h i s   f i e l d   c a n n o t   b e   0 .   T h e   d e f a u l t   s e t t i n g   i s   1 .   T h i s   f i e l d   a p p l i e s   t o   a l l   P o d s   i n   t h e   r a n g e   0   t o   r e p l i c a s   -   1 .   I f   t h e r e   i s   a n y   u n a v a i l a b l e   P o d   i n   t h e   r a n g e   0   t o   r e p l i c a s   -   1 ,   i t   w i l l   b e   c o u n t e d   t o w a r d s   m a x U n a v a i l a b l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14615"
  },
  {
    "question": "What is Forced rollback?",
    "answer": "W h e n   u s i n g   R o l l i n g   U p d a t e s   w i t h   t h e   d e f a u l t   P o d   M a n a g e m e n t   P o l i c y   ( O r d e r e d R e a d y ) ,   i t ' s   p o s s i b l e   t o   g e t   i n t o   a   b r o k e n   s t a t e   t h a t   r e q u i r e s   m a n u a l   i n t e r v e n t i o n   t o   r e p a i r .   I f   y o u   u p d a t e   t h e   P o d   t e m p l a t e   t o   a   c o n f i g u r a t i o n   t h a t   n e v e r   b e c o m e s   R u n n i n g   a n d   R e a d y   ( f o r   e x a m p l e ,   d u e   t o   a   b a d   b i n a r y   o r   a p p l i c a t i o n - l e v e l   c o n f i g u r a t i o n   e r r o r ) ,   S t a t e f u l S e t   w i l l   s t o p   t h e   r o l l o u t   a n d   w a i t .   I n   t h i s   s t a t e ,   i t ' s   n o t   e n o u g h   t o   r e v e r t   t h e   P o d   t e m p l a t e   t o   a   g o o d   c o n f i g u r a t i o n .   D u e   t o   a   k n o w n   i s s u e ,   S t a t e f u l S e t   w i l l   c o n t i n u e   t o   w a i t   f o r   t h e   b r o k e n   P o d   t o   b e c o m e   R e a d y   ( w h i c h   n e v e r   h a p p e n s )   b e f o r e   i t   w i l l   a t t e m p t   t o   r e v e r t   i t   b a c k   t o   t h e   w o r k i n g   c o n f i g u r a t i o n .   A f t e r   r e v e r t i n g   t h e   t e m p l a t e ,   y o u   m u s t   a l s o   d e l e t e   a n y   P o d s   t h a t   S t a t e f u l S e t   h a d   a l r e a d y   a t t e m p t e d   t o   r u n   w i t h   t h e   b a d   c o n f i g u r a t i o n .   S t a t e f u l S e t   w i l l   t h e n   b e g i n   t o   r e c r e a t e   t h e   P o d s   u s i n g   t h e   r e v e r t e d   t e m p l a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14616"
  },
  {
    "question": "What is Revision history?",
    "answer": "C o n t r o l l e r R e v i s i o n   i s   a   K u b e r n e t e s   A P I   r e s o u r c e   u s e d   b y   c o n t r o l l e r s ,   s u c h   a s   t h e   S t a t e f u l S e t   c o n t r o l l e r ,   t o   t r a c k   h i s t o r i c a l   c o n f i g u r a t i o n   c h a n g e s .   S t a t e f u l S e t s   u s e   C o n t r o l l e r R e v i s i o n s   t o   m a i n t a i n   a   r e v i s i o n   h i s t o r y ,   e n a b l i n g   r o l l b a c k s   a n d   v e r s i o n   t r a c k i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14617"
  },
  {
    "question": "What is How StatefulSets track changes using ControllerRevisions?",
    "answer": "W h e n   y o u   u p d a t e   a   S t a t e f u l S e t ' s   P o d   t e m p l a t e   ( s p e c . t e m p l a t e ) ,   t h e   S t a t e f u l S e t   c o n t r o l l e r :   P r e p a r e s   a   n e w   C o n t r o l l e r R e v i s i o n   o b j e c t S t o r e s   a   s n a p s h o t   o f   t h e   P o d   t e m p l a t e   a n d   m e t a d a t a A s s i g n s   a n   i n c r e m e n t a l   r e v i s i o n   n u m b e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14618"
  },
  {
    "question": "What is Key Properties?",
    "answer": "C o n t r o l l e r R e v i s i o n   k e y   p r o p e r t i e s   a n d   o t h e r   d e t a i l s   c a n   b e   c h e c k e d   h e r e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14619"
  },
  {
    "question": "What is Managing Revision History?",
    "answer": "C o n t r o l   r e t a i n e d   r e v i s i o n s   w i t h   . s p e c . r e v i s i o n H i s t o r y L i m i t :   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a :   n a m e :   w e b a p p   s p e c :   r e v i s i o n H i s t o r y L i m i t :   5   #   K e e p   l a s t   5   r e v i s i o n s   #   . . .   o t h e r   s p e c   f i e l d s   . . .   D e f a u l t :   1 0   r e v i s i o n s   r e t a i n e d   i f   u n s p e c i f i e d C l e a n u p :   O l d e s t   r e v i s i o n s   a r e   g a r b a g e - c o l l e c t e d   w h e n   e x c e e d i n g   t h e   l i m i t",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14620"
  },
  {
    "question": "What is Performing Rollbacks?",
    "answer": "Y o u   c a n   r e v e r t   t o   a   p r e v i o u s   c o n f i g u r a t i o n   u s i n g :   #   V i e w   r e v i s i o n   h i s t o r y   k u b e c t l   r o l l o u t   h i s t o r y   s t a t e f u l s e t / w e b a p p   #   R o l l b a c k   t o   a   s p e c i f i c   r e v i s i o n   k u b e c t l   r o l l o u t   u n d o   s t a t e f u l s e t / w e b a p p   - - t o - r e v i s i o n = 3   T h i s   w i l l :   A p p l y   t h e   P o d   t e m p l a t e   f r o m   r e v i s i o n   3 C r e a t e   a   n e w   C o n t r o l l e r R e v i s i o n   w i t h   a n   u p d a t e d   r e v i s i o n   n u m b e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14621"
  },
  {
    "question": "What is Inspecting ControllerRevisions?",
    "answer": "T o   v i e w   a s s o c i a t e d   C o n t r o l l e r R e v i s i o n s :   #   L i s t   a l l   r e v i s i o n s   f o r   t h e   S t a t e f u l S e t   k u b e c t l   g e t   c o n t r o l l e r r e v i s i o n s   - l   a p p . k u b e r n e t e s . i o / n a m e = w e b a p p   #   V i e w   d e t a i l e d   c o n f i g u r a t i o n   o f   a   s p e c i f i c   r e v i s i o n   k u b e c t l   g e t   c o n t r o l l e r r e v i s i o n / w e b a p p - 3   - o   y a m l",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14622"
  },
  {
    "question": "What is Retention Policy?",
    "answer": "S e t   r e v i s i o n H i s t o r y L i m i t   b e t w e e n   5 – 1 0   f o r   m o s t   w o r k l o a d s I n c r e a s e   o n l y   i f   d e e p   r o l l b a c k   h i s t o r y   i s   r e q u i r e d",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_5_14623"
  },
  {
    "question": "What is Monitoring?",
    "answer": "R e g u l a r l y   c h e c k   r e v i s i o n s   w i t h : k u b e c t l   g e t   c o n t r o l l e r r e v i s i o n s   A l e r t   o n   r a p i d   r e v i s i o n   c o u n t   g r o w t h   R e g u l a r l y   c h e c k   r e v i s i o n s   w i t h :   k u b e c t l   g e t   c o n t r o l l e r r e v i s i o n s   A l e r t   o n   r a p i d   r e v i s i o n   c o u n t   g r o w t h",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_5_14624"
  },
  {
    "question": "What is Avoid?",
    "answer": "M a n u a l   e d i t s   t o   C o n t r o l l e r R e v i s i o n   o b j e c t s . U s i n g   r e v i s i o n s   a s   a   b a c k u p   m e c h a n i s m   ( u s e   a c t u a l   b a c k u p   t o o l s ) . S e t t i n g   r e v i s i o n H i s t o r y L i m i t :   0   ( d i s a b l e s   r o l l b a c k   c a p a b i l i t y ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_5_14625"
  },
  {
    "question": "What is PersistentVolumeClaim retention?",
    "answer": "T h e   o p t i o n a l   . s p e c . p e r s i s t e n t V o l u m e C l a i m R e t e n t i o n P o l i c y   f i e l d   c o n t r o l s   i f   a n d   h o w   P V C s   a r e   d e l e t e d   d u r i n g   t h e   l i f e c y c l e   o f   a   S t a t e f u l S e t .   Y o u   m u s t   e n a b l e   t h e   S t a t e f u l S e t A u t o D e l e t e P V C   f e a t u r e   g a t e   o n   t h e   A P I   s e r v e r   a n d   t h e   c o n t r o l l e r   m a n a g e r   t o   u s e   t h i s   f i e l d .   O n c e   e n a b l e d ,   t h e r e   a r e   t w o   p o l i c i e s   y o u   c a n   c o n f i g u r e   f o r   e a c h   S t a t e f u l S e t :   F o r   e a c h   p o l i c y   t h a t   y o u   c a n   c o n f i g u r e ,   y o u   c a n   s e t   t h e   v a l u e   t o   e i t h e r   D e l e t e   o r   R e t a i n .   B e a r   i n   m i n d   t h a t   t h e s e   p o l i c i e s   o n l y   a p p l y   w h e n   P o d s   a r e   b e i n g   r e m o v e d   d u e   t o   t h e   S t a t e f u l S e t   b e i n g   d e l e t e d   o r   s c a l e d   d o w n .   F o r   e x a m p l e ,   i f   a   P o d   a s s o c i a t e d   w i t h   a   S t a t e f u l S e t   f a i l s   d u e   t o   n o d e   f a i l u r e ,   a n d   t h e   c o n t r o l   p l a n e   c r e a t e s   a   r e p l a c e m e n t   P o d ,   t h e   S t a t e f u l S e t   r e t a i n s   t h e   e x i s t i n g   P V C .   T h e   e x i s t i n g   v o l u m e   i s   u n a f f e c t e d ,   a n d   t h e   c l u s t e r   w i l l   a t t a c h   i t   t o   t h e   n o d e   w h e r e   t h e   n e w   P o d   i s   a b o u t   t o   l a u n c h .   T h e   d e f a u l t   f o r   p o l i c i e s   i s   R e t a i n ,   m a t c h i n g   t h e   S t a t e f u l S e t   b e h a v i o r   b e f o r e   t h i s   n e w   f e a t u r e .   H e r e   i s   a n   e x a m p l e   p o l i c y .   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   . . ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14626"
  },
  {
    "question": "What is Replicas?",
    "answer": ". s p e c . r e p l i c a s   i s   a n   o p t i o n a l   f i e l d   t h a t   s p e c i f i e s   t h e   n u m b e r   o f   d e s i r e d   P o d s .   I t   d e f a u l t s   t o   1 .   S h o u l d   y o u   m a n u a l l y   s c a l e   a   d e p l o y m e n t ,   e x a m p l e   v i a   k u b e c t l   s c a l e   s t a t e f u l s e t   s t a t e f u l s e t   - - r e p l i c a s = X ,   a n d   t h e n   y o u   u p d a t e   t h a t   S t a t e f u l S e t   b a s e d   o n   a   m a n i f e s t   ( f o r   e x a m p l e :   b y   r u n n i n g   k u b e c t l   a p p l y   - f   s t a t e f u l s e t . y a m l ) ,   t h e n   a p p l y i n g   t h a t   m a n i f e s t   o v e r w r i t e s   t h e   m a n u a l   s c a l i n g   t h a t   y o u   p r e v i o u s l y   d i d .   I f   a   H o r i z o n t a l P o d A u t o s c a l e r   ( o r   a n y   s i m i l a r   A P I   f o r   h o r i z o n t a l   s c a l i n g )   i s   m a n a g i n g   s c a l i n g   f o r   a   S t a t e f u l s e t ,   d o n ' t   s e t   . s p e c . r e p l i c a s .   I n s t e a d ,   a l l o w   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   t o   m a n a g e   t h e   . s p e c . r e p l i c a s   f i e l d   a u t o m a t i c a l l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14627"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   P o d s . F i n d   o u t   h o w   t o   u s e   S t a t e f u l S e t s F o l l o w   a n   e x a m p l e   o f   d e p l o y i n g   a   s t a t e f u l   a p p l i c a t i o n . F o l l o w   a n   e x a m p l e   o f   d e p l o y i n g   C a s s a n d r a   w i t h   S t a t e f u l   S e t s . F o l l o w   a n   e x a m p l e   o f   r u n n i n g   a   r e p l i c a t e d   s t a t e f u l   a p p l i c a t i o n . L e a r n   h o w   t o   s c a l e   a   S t a t e f u l S e t . L e a r n   w h a t ' s   i n v o l v e d   w h e n   y o u   d e l e t e   a   S t a t e f u l S e t . L e a r n   h o w   t o   c o n f i g u r e   a   P o d   t o   u s e   a   v o l u m e   f o r   s t o r a g e . L e a r n   h o w   t o   c o n f i g u r e   a   P o d   t o   u s e   a   P e r s i s t e n t V o l u m e   f o r   s t o r a g e . S t a t e f u l S e t   i s   a   t o p - l e v e l   r e s o u r c e   i n   t h e   K u b e r n e t e s   R E S T   A P I .   R e a d   t h e   S t a t e f u l S e t   o b j e c t   d e f i n i t i o n   t o   u n d e r s t a n d   t h e   A P I   f o r   s t a t e f u l   s e t s . R e a d   a b o u t   P o d D i s r u p t i o n B u d g e t   a n d   h o w   y o u   c a n   u s e   i t   t o   m a n a g e   a p p l i c a t i o n   a v a i l a b i l i t y   d u r i n g   d i s r u p t i o n s .   F o l l o w   a n   e x a m p l e   o f   d e p l o y i n g   a   s t a t e f u l   a p p l i c a t i o n . F o l l o w   a n   e x a m p l e   o f   d e p l o y i n g   C a s s a n d r a   w i t h   S t a t e f u l   S e t s . F o l l o w   a n   e x a m p l e   o f   r u n n i n g   a   r e p l i c a t e d   s t a t e f u l   a p p l i c a t i o n . L e a r n   h o w   t o   s c a l e   a   S t a t e f u l S e t . L e a r n   w h a t ' s   i n v o l v e d   w h e n   y o u   d e l e t e   a   S t a t e f u l S e t . L e a r n   h o w   t o   c o n f i g u r e   a   P o d   t o   u s e   a   v o l u m e   f o r   s t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14628"
  },
  {
    "question": "What is 2.4 - DaemonSet?",
    "answer": "A   D a e m o n S e t   e n s u r e s   t h a t   a l l   ( o r   s o m e )   N o d e s   r u n   a   c o p y   o f   a   P o d .   A s   n o d e s   a r e   a d d e d   t o   t h e   c l u s t e r ,   P o d s   a r e   a d d e d   t o   t h e m .   A s   n o d e s   a r e   r e m o v e d   f r o m   t h e   c l u s t e r ,   t h o s e   P o d s   a r e   g a r b a g e   c o l l e c t e d .   D e l e t i n g   a   D a e m o n S e t   w i l l   c l e a n   u p   t h e   P o d s   i t   c r e a t e d .   S o m e   t y p i c a l   u s e s   o f   a   D a e m o n S e t   a r e :   r u n n i n g   a   c l u s t e r   s t o r a g e   d a e m o n   o n   e v e r y   n o d e r u n n i n g   a   l o g s   c o l l e c t i o n   d a e m o n   o n   e v e r y   n o d e r u n n i n g   a   n o d e   m o n i t o r i n g   d a e m o n   o n   e v e r y   n o d e   I n   a   s i m p l e   c a s e ,   o n e   D a e m o n S e t ,   c o v e r i n g   a l l   n o d e s ,   w o u l d   b e   u s e d   f o r   e a c h   t y p e   o f   d a e m o n .   A   m o r e   c o m p l e x   s e t u p   m i g h t   u s e   m u l t i p l e   D a e m o n S e t s   f o r   a   s i n g l e   t y p e   o f   d a e m o n ,   b u t   w i t h   d i f f e r e n t   f l a g s   a n d / o r   d i f f e r e n t   m e m o r y   a n d   c p u   r e q u e s t s   f o r   d i f f e r e n t   h a r d w a r e   t y p e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_1_14629"
  },
  {
    "question": "What is Create a DaemonSet?",
    "answer": "Y o u   c a n   d e s c r i b e   a   D a e m o n S e t   i n   a   Y A M L   f i l e .   F o r   e x a m p l e ,   t h e   d a e m o n s e t . y a m l   f i l e   b e l o w   d e s c r i b e s   a   D a e m o n S e t   t h a t   r u n s   t h e   f l u e n t d - e l a s t i c s e a r c h   D o c k e r   i m a g e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D a e m o n S e t   m e t a d a t a :   n a m e :   f l u e n t d - e l a s t i c s e a r c h   n a m e s p a c e :   k u b e - s y s t e m   l a b e l s :   k 8 s - a p p :   f l u e n t d - l o g g i n g   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   n a m e :   f l u e n t d - e l a s t i c s e a r c h   t e m p l a t e :   m e t a d a t a :   l a b e l s :   n a m e :   f l u e n t d - e l a s t i c s e a r c h   s p e c :   t o l e r a t i o n s :   #   t h e s e   t o l e r a t i o n s   a r e   t o   h a v e   t h e   d a e m o n s e t   r u n n a b l e   o n   c o n t r o l   p l a n e   n o d e s   #   r e m o v e   t h e m   i f   y o u r   c o n t r o l   p l a n e   n o d e s   s h o u l d   n o t   r u n   p o d s   -   k e y :   n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e   o p e r a t o r :   E x i s t s   e f f e c t :   N o S c h e d u l e   -   k e y :   n o d e - r o l e . k u b e r n e t e s . i o / m a s t e r   o p e r a t o r :   E x i s t s   e f f e c t :   N o S c h e d u l e   c o n t a i n e r s :   -   n a m e :   f l u e n t d - e l a s t i c s e a r c h   i m a g e :   q u a y . i o / f l u e n t d _ e l a s t i c s e a r c h / f l u e n t d : v 5 . 0 . 1   r e s o u r c e s :   l i m i t s :   m e m o r y :   2 0 0 M i   r e q u e s t s :   c p u :   1 0 0 m   m e m o r y :   2 0 0 M i   v o l u m e M o u n t s :   -   n a m e :   v a r l o g   m o u n t P a t h :   / v a r / l o g   #   i t   m a y   b e   d e s i r a b l e   t o   s e t   a   h i g h   p r i o r i t y   c l a s s   t o   e n s u r e   t h a t   a   D a e m o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14630"
  },
  {
    "question": "What is Required Fields?",
    "answer": "A s   w i t h   a l l   o t h e r   K u b e r n e t e s   c o n f i g ,   a   D a e m o n S e t   n e e d s   a p i V e r s i o n ,   k i n d ,   a n d   m e t a d a t a   f i e l d s .   F o r   g e n e r a l   i n f o r m a t i o n   a b o u t   w o r k i n g   w i t h   c o n f i g   f i l e s ,   s e e   r u n n i n g   s t a t e l e s s   a p p l i c a t i o n s   a n d   o b j e c t   m a n a g e m e n t   u s i n g   k u b e c t l .   T h e   n a m e   o f   a   D a e m o n S e t   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   A   D a e m o n S e t   a l s o   n e e d s   a   . s p e c   s e c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14631"
  },
  {
    "question": "What is Pod Template?",
    "answer": "T h e   . s p e c . t e m p l a t e   i s   o n e   o f   t h e   r e q u i r e d   f i e l d s   i n   . s p e c .   T h e   . s p e c . t e m p l a t e   i s   a   p o d   t e m p l a t e .   I t   h a s   e x a c t l y   t h e   s a m e   s c h e m a   a s   a   P o d ,   e x c e p t   i t   i s   n e s t e d   a n d   d o e s   n o t   h a v e   a n   a p i V e r s i o n   o r   k i n d .   I n   a d d i t i o n   t o   r e q u i r e d   f i e l d s   f o r   a   P o d ,   a   P o d   t e m p l a t e   i n   a   D a e m o n S e t   h a s   t o   s p e c i f y   a p p r o p r i a t e   l a b e l s   ( s e e   p o d   s e l e c t o r ) .   A   P o d   T e m p l a t e   i n   a   D a e m o n S e t   m u s t   h a v e   a   R e s t a r t P o l i c y   e q u a l   t o   A l w a y s ,   o r   b e   u n s p e c i f i e d ,   w h i c h   d e f a u l t s   t o   A l w a y s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14632"
  },
  {
    "question": "What is Pod Selector?",
    "answer": "T h e   . s p e c . s e l e c t o r   f i e l d   i s   a   p o d   s e l e c t o r .   I t   w o r k s   t h e   s a m e   a s   t h e   . s p e c . s e l e c t o r   o f   a   J o b .   Y o u   m u s t   s p e c i f y   a   p o d   s e l e c t o r   t h a t   m a t c h e s   t h e   l a b e l s   o f   t h e   . s p e c . t e m p l a t e .   A l s o ,   o n c e   a   D a e m o n S e t   i s   c r e a t e d ,   i t s   . s p e c . s e l e c t o r   c a n   n o t   b e   m u t a t e d .   M u t a t i n g   t h e   p o d   s e l e c t o r   c a n   l e a d   t o   t h e   u n i n t e n t i o n a l   o r p h a n i n g   o f   P o d s ,   a n d   i t   w a s   f o u n d   t o   b e   c o n f u s i n g   t o   u s e r s .   T h e   . s p e c . s e l e c t o r   i s   a n   o b j e c t   c o n s i s t i n g   o f   t w o   f i e l d s :   m a t c h L a b e l s   -   w o r k s   t h e   s a m e   a s   t h e   . s p e c . s e l e c t o r   o f   a   R e p l i c a t i o n C o n t r o l l e r . m a t c h E x p r e s s i o n s   -   a l l o w s   t o   b u i l d   m o r e   s o p h i s t i c a t e d   s e l e c t o r s   b y   s p e c i f y i n g   k e y ,   l i s t   o f   v a l u e s   a n d   a n   o p e r a t o r   t h a t   r e l a t e s   t h e   k e y   a n d   v a l u e s .   W h e n   t h e   t w o   a r e   s p e c i f i e d   t h e   r e s u l t   i s   A N D e d .   T h e   . s p e c . s e l e c t o r   m u s t   m a t c h   t h e   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s .   C o n f i g   w i t h   t h e s e   t w o   n o t   m a t c h i n g   w i l l   b e   r e j e c t e d   b y   t h e   A P I .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14633"
  },
  {
    "question": "What is Running Pods on select Nodes?",
    "answer": "I f   y o u   s p e c i f y   a   . s p e c . t e m p l a t e . s p e c . n o d e S e l e c t o r ,   t h e n   t h e   D a e m o n S e t   c o n t r o l l e r   w i l l   c r e a t e   P o d s   o n   n o d e s   w h i c h   m a t c h   t h a t   n o d e   s e l e c t o r .   L i k e w i s e   i f   y o u   s p e c i f y   a   . s p e c . t e m p l a t e . s p e c . a f f i n i t y ,   t h e n   D a e m o n S e t   c o n t r o l l e r   w i l l   c r e a t e   P o d s   o n   n o d e s   w h i c h   m a t c h   t h a t   n o d e   a f f i n i t y .   I f   y o u   d o   n o t   s p e c i f y   e i t h e r ,   t h e n   t h e   D a e m o n S e t   c o n t r o l l e r   w i l l   c r e a t e   P o d s   o n   a l l   n o d e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14634"
  },
  {
    "question": "What is How Daemon Pods are scheduled?",
    "answer": "A   D a e m o n S e t   c a n   b e   u s e d   t o   e n s u r e   t h a t   a l l   e l i g i b l e   n o d e s   r u n   a   c o p y   o f   a   P o d .   T h e   D a e m o n S e t   c o n t r o l l e r   c r e a t e s   a   P o d   f o r   e a c h   e l i g i b l e   n o d e   a n d   a d d s   t h e   s p e c . a f f i n i t y . n o d e A f f i n i t y   f i e l d   o f   t h e   P o d   t o   m a t c h   t h e   t a r g e t   h o s t .   A f t e r   t h e   P o d   i s   c r e a t e d ,   t h e   d e f a u l t   s c h e d u l e r   t y p i c a l l y   t a k e s   o v e r   a n d   t h e n   b i n d s   t h e   P o d   t o   t h e   t a r g e t   h o s t   b y   s e t t i n g   t h e   . s p e c . n o d e N a m e   f i e l d .   I f   t h e   n e w   P o d   c a n n o t   f i t   o n   t h e   n o d e ,   t h e   d e f a u l t   s c h e d u l e r   m a y   p r e e m p t   ( e v i c t )   s o m e   o f   t h e   e x i s t i n g   P o d s   b a s e d   o n   t h e   p r i o r i t y   o f   t h e   n e w   P o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14635"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   u s e r   c a n   s p e c i f y   a   d i f f e r e n t   s c h e d u l e r   f o r   t h e   P o d s   o f   t h e   D a e m o n S e t ,   b y   s e t t i n g   t h e   . s p e c . t e m p l a t e . s p e c . s c h e d u l e r N a m e   f i e l d   o f   t h e   D a e m o n S e t .   T h e   o r i g i n a l   n o d e   a f f i n i t y   s p e c i f i e d   a t   t h e   . s p e c . t e m p l a t e . s p e c . a f f i n i t y . n o d e A f f i n i t y   f i e l d   ( i f   s p e c i f i e d )   i s   t a k e n   i n t o   c o n s i d e r a t i o n   b y   t h e   D a e m o n S e t   c o n t r o l l e r   w h e n   e v a l u a t i n g   t h e   e l i g i b l e   n o d e s ,   b u t   i s   r e p l a c e d   o n   t h e   c r e a t e d   P o d   w i t h   t h e   n o d e   a f f i n i t y   t h a t   m a t c h e s   t h e   n a m e   o f   t h e   e l i g i b l e   n o d e .   n o d e A f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   n o d e S e l e c t o r T e r m s :   -   m a t c h F i e l d s :   -   k e y :   m e t a d a t a . n a m e   o p e r a t o r :   I n   v a l u e s :   -   t a r g e t - h o s t - n a m e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14636"
  },
  {
    "question": "What is Taints and tolerations?",
    "answer": "T h e   D a e m o n S e t   c o n t r o l l e r   a u t o m a t i c a l l y   a d d s   a   s e t   o f   t o l e r a t i o n s   t o   D a e m o n S e t   P o d s :   Y o u   c a n   a d d   y o u r   o w n   t o l e r a t i o n s   t o   t h e   P o d s   o f   a   D a e m o n S e t   a s   w e l l ,   b y   d e f i n i n g   t h e s e   i n   t h e   P o d   t e m p l a t e   o f   t h e   D a e m o n S e t .   B e c a u s e   t h e   D a e m o n S e t   c o n t r o l l e r   s e t s   t h e   n o d e . k u b e r n e t e s . i o / u n s c h e d u l a b l e : N o S c h e d u l e   t o l e r a t i o n   a u t o m a t i c a l l y ,   K u b e r n e t e s   c a n   r u n   D a e m o n S e t   P o d s   o n   n o d e s   t h a t   a r e   m a r k e d   a s   u n s c h e d u l a b l e .   I f   y o u   u s e   a   D a e m o n S e t   t o   p r o v i d e   a n   i m p o r t a n t   n o d e - l e v e l   f u n c t i o n ,   s u c h   a s   c l u s t e r   n e t w o r k i n g ,   i t   i s   h e l p f u l   t h a t   K u b e r n e t e s   p l a c e s   D a e m o n S e t   P o d s   o n   n o d e s   b e f o r e   t h e y   a r e   r e a d y .   F o r   e x a m p l e ,   w i t h o u t   t h a t   s p e c i a l   t o l e r a t i o n ,   y o u   c o u l d   e n d   u p   i n   a   d e a d l o c k   s i t u a t i o n   w h e r e   t h e   n o d e   i s   n o t   m a r k e d   a s   r e a d y   b e c a u s e   t h e   n e t w o r k   p l u g i n   i s   n o t   r u n n i n g   t h e r e ,   a n d   a t   t h e   s a m e   t i m e   t h e   n e t w o r k   p l u g i n   i s   n o t   r u n n i n g   o n   t h a t   n o d e   b e c a u s e   t h e   n o d e   i s   n o t   y e t   r e a d y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14637"
  },
  {
    "question": "What is Communicating with Daemon Pods?",
    "answer": "S o m e   p o s s i b l e   p a t t e r n s   f o r   c o m m u n i c a t i n g   w i t h   P o d s   i n   a   D a e m o n S e t   a r e :   P u s h :   P o d s   i n   t h e   D a e m o n S e t   a r e   c o n f i g u r e d   t o   s e n d   u p d a t e s   t o   a n o t h e r   s e r v i c e ,   s u c h   a s   a   s t a t s   d a t a b a s e .   T h e y   d o   n o t   h a v e   c l i e n t s . N o d e I P   a n d   K n o w n   P o r t :   P o d s   i n   t h e   D a e m o n S e t   c a n   u s e   a   h o s t P o r t ,   s o   t h a t   t h e   p o d s   a r e   r e a c h a b l e   v i a   t h e   n o d e   I P s .   C l i e n t s   k n o w   t h e   l i s t   o f   n o d e   I P s   s o m e h o w ,   a n d   k n o w   t h e   p o r t   b y   c o n v e n t i o n . D N S :   C r e a t e   a   h e a d l e s s   s e r v i c e   w i t h   t h e   s a m e   p o d   s e l e c t o r ,   a n d   t h e n   d i s c o v e r   D a e m o n S e t s   u s i n g   t h e   e n d p o i n t s   r e s o u r c e   o r   r e t r i e v e   m u l t i p l e   A   r e c o r d s   f r o m   D N S . S e r v i c e :   C r e a t e   a   s e r v i c e   w i t h   t h e   s a m e   P o d   s e l e c t o r ,   a n d   u s e   t h e   s e r v i c e   t o   r e a c h   a   d a e m o n   o n   a   r a n d o m   n o d e .   U s e   S e r v i c e   I n t e r n a l   T r a f f i c   P o l i c y   t o   l i m i t   t o   p o d s   o n   t h e   s a m e   n o d e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14638"
  },
  {
    "question": "What is Updating a DaemonSet?",
    "answer": "I f   n o d e   l a b e l s   a r e   c h a n g e d ,   t h e   D a e m o n S e t   w i l l   p r o m p t l y   a d d   P o d s   t o   n e w l y   m a t c h i n g   n o d e s   a n d   d e l e t e   P o d s   f r o m   n e w l y   n o t - m a t c h i n g   n o d e s .   Y o u   c a n   m o d i f y   t h e   P o d s   t h a t   a   D a e m o n S e t   c r e a t e s .   H o w e v e r ,   P o d s   d o   n o t   a l l o w   a l l   f i e l d s   t o   b e   u p d a t e d .   A l s o ,   t h e   D a e m o n S e t   c o n t r o l l e r   w i l l   u s e   t h e   o r i g i n a l   t e m p l a t e   t h e   n e x t   t i m e   a   n o d e   ( e v e n   w i t h   t h e   s a m e   n a m e )   i s   c r e a t e d .   Y o u   c a n   d e l e t e   a   D a e m o n S e t .   I f   y o u   s p e c i f y   - - c a s c a d e = o r p h a n   w i t h   k u b e c t l ,   t h e n   t h e   P o d s   w i l l   b e   l e f t   o n   t h e   n o d e s .   I f   y o u   s u b s e q u e n t l y   c r e a t e   a   n e w   D a e m o n S e t   w i t h   t h e   s a m e   s e l e c t o r ,   t h e   n e w   D a e m o n S e t   a d o p t s   t h e   e x i s t i n g   P o d s .   I f   a n y   P o d s   n e e d   r e p l a c i n g   t h e   D a e m o n S e t   r e p l a c e s   t h e m   a c c o r d i n g   t o   i t s   u p d a t e S t r a t e g y .   Y o u   c a n   p e r f o r m   a   r o l l i n g   u p d a t e   o n   a   D a e m o n S e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14639"
  },
  {
    "question": "What is Init scripts?",
    "answer": "I t   i s   c e r t a i n l y   p o s s i b l e   t o   r u n   d a e m o n   p r o c e s s e s   b y   d i r e c t l y   s t a r t i n g   t h e m   o n   a   n o d e   ( e . g .   u s i n g   i n i t ,   u p s t a r t d ,   o r   s y s t e m d ) .   T h i s   i s   p e r f e c t l y   f i n e .   H o w e v e r ,   t h e r e   a r e   s e v e r a l   a d v a n t a g e s   t o   r u n n i n g   s u c h   p r o c e s s e s   v i a   a   D a e m o n S e t :   A b i l i t y   t o   m o n i t o r   a n d   m a n a g e   l o g s   f o r   d a e m o n s   i n   t h e   s a m e   w a y   a s   a p p l i c a t i o n s . S a m e   c o n f i g   l a n g u a g e   a n d   t o o l s   ( e . g .   P o d   t e m p l a t e s ,   k u b e c t l )   f o r   d a e m o n s   a n d   a p p l i c a t i o n s . R u n n i n g   d a e m o n s   i n   c o n t a i n e r s   w i t h   r e s o u r c e   l i m i t s   i n c r e a s e s   i s o l a t i o n   b e t w e e n   d a e m o n s   f r o m   a p p   c o n t a i n e r s .   H o w e v e r ,   t h i s   c a n   a l s o   b e   a c c o m p l i s h e d   b y   r u n n i n g   t h e   d a e m o n s   i n   a   c o n t a i n e r   b u t   n o t   i n   a   P o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14640"
  },
  {
    "question": "What is Bare Pods?",
    "answer": "I t   i s   p o s s i b l e   t o   c r e a t e   P o d s   d i r e c t l y   w h i c h   s p e c i f y   a   p a r t i c u l a r   n o d e   t o   r u n   o n .   H o w e v e r ,   a   D a e m o n S e t   r e p l a c e s   P o d s   t h a t   a r e   d e l e t e d   o r   t e r m i n a t e d   f o r   a n y   r e a s o n ,   s u c h   a s   i n   t h e   c a s e   o f   n o d e   f a i l u r e   o r   d i s r u p t i v e   n o d e   m a i n t e n a n c e ,   s u c h   a s   a   k e r n e l   u p g r a d e .   F o r   t h i s   r e a s o n ,   y o u   s h o u l d   u s e   a   D a e m o n S e t   r a t h e r   t h a n   c r e a t i n g   i n d i v i d u a l   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14641"
  },
  {
    "question": "What is Static Pods?",
    "answer": "I t   i s   p o s s i b l e   t o   c r e a t e   P o d s   b y   w r i t i n g   a   f i l e   t o   a   c e r t a i n   d i r e c t o r y   w a t c h e d   b y   K u b e l e t .   T h e s e   a r e   c a l l e d   s t a t i c   p o d s .   U n l i k e   D a e m o n S e t ,   s t a t i c   P o d s   c a n n o t   b e   m a n a g e d   w i t h   k u b e c t l   o r   o t h e r   K u b e r n e t e s   A P I   c l i e n t s .   S t a t i c   P o d s   d o   n o t   d e p e n d   o n   t h e   a p i s e r v e r ,   m a k i n g   t h e m   u s e f u l   i n   c l u s t e r   b o o t s t r a p p i n g   c a s e s .   A l s o ,   s t a t i c   P o d s   m a y   b e   d e p r e c a t e d   i n   t h e   f u t u r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14642"
  },
  {
    "question": "What is Deployments?",
    "answer": "D a e m o n S e t s   a r e   s i m i l a r   t o   D e p l o y m e n t s   i n   t h a t   t h e y   b o t h   c r e a t e   P o d s ,   a n d   t h o s e   P o d s   h a v e   p r o c e s s e s   w h i c h   a r e   n o t   e x p e c t e d   t o   t e r m i n a t e   ( e . g .   w e b   s e r v e r s ,   s t o r a g e   s e r v e r s ) .   U s e   a   D e p l o y m e n t   f o r   s t a t e l e s s   s e r v i c e s ,   l i k e   f r o n t e n d s ,   w h e r e   s c a l i n g   u p   a n d   d o w n   t h e   n u m b e r   o f   r e p l i c a s   a n d   r o l l i n g   o u t   u p d a t e s   a r e   m o r e   i m p o r t a n t   t h a n   c o n t r o l l i n g   e x a c t l y   w h i c h   h o s t   t h e   P o d   r u n s   o n .   U s e   a   D a e m o n S e t   w h e n   i t   i s   i m p o r t a n t   t h a t   a   c o p y   o f   a   P o d   a l w a y s   r u n   o n   a l l   o r   c e r t a i n   h o s t s ,   i f   t h e   D a e m o n S e t   p r o v i d e s   n o d e - l e v e l   f u n c t i o n a l i t y   t h a t   a l l o w s   o t h e r   P o d s   t o   r u n   c o r r e c t l y   o n   t h a t   p a r t i c u l a r   n o d e .   F o r   e x a m p l e ,   n e t w o r k   p l u g i n s   o f t e n   i n c l u d e   a   c o m p o n e n t   t h a t   r u n s   a s   a   D a e m o n S e t .   T h e   D a e m o n S e t   c o m p o n e n t   m a k e s   s u r e   t h a t   t h e   n o d e   w h e r e   i t ' s   r u n n i n g   h a s   w o r k i n g   c l u s t e r   n e t w o r k i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14643"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   P o d s . L e a r n   a b o u t   s t a t i c   P o d s ,   w h i c h   a r e   u s e f u l   f o r   r u n n i n g   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t s . F i n d   o u t   h o w   t o   u s e   D a e m o n S e t s P e r f o r m   a   r o l l i n g   u p d a t e   o n   a   D a e m o n S e t P e r f o r m   a   r o l l b a c k   o n   a   D a e m o n S e t   ( f o r   e x a m p l e ,   i f   a   r o l l   o u t   d i d n ' t   w o r k   h o w   y o u   e x p e c t e d ) . U n d e r s t a n d   h o w   K u b e r n e t e s   a s s i g n s   P o d s   t o   N o d e s . L e a r n   a b o u t   d e v i c e   p l u g i n s   a n d   a d d   o n s ,   w h i c h   o f t e n   r u n   a s   D a e m o n S e t s . D a e m o n S e t   i s   a   t o p - l e v e l   r e s o u r c e   i n   t h e   K u b e r n e t e s   R E S T   A P I .   R e a d   t h e   D a e m o n S e t   o b j e c t   d e f i n i t i o n   t o   u n d e r s t a n d   t h e   A P I   f o r   d a e m o n   s e t s .   L e a r n   a b o u t   s t a t i c   P o d s ,   w h i c h   a r e   u s e f u l   f o r   r u n n i n g   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t s .   P e r f o r m   a   r o l l i n g   u p d a t e   o n   a   D a e m o n S e t P e r f o r m   a   r o l l b a c k   o n   a   D a e m o n S e t   ( f o r   e x a m p l e ,   i f   a   r o l l   o u t   d i d n ' t   w o r k   h o w   y o u   e x p e c t e d ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14644"
  },
  {
    "question": "What is 2.5 - Jobs?",
    "answer": "A   J o b   c r e a t e s   o n e   o r   m o r e   P o d s   a n d   w i l l   c o n t i n u e   t o   r e t r y   e x e c u t i o n   o f   t h e   P o d s   u n t i l   a   s p e c i f i e d   n u m b e r   o f   t h e m   s u c c e s s f u l l y   t e r m i n a t e .   A s   p o d s   s u c c e s s f u l l y   c o m p l e t e ,   t h e   J o b   t r a c k s   t h e   s u c c e s s f u l   c o m p l e t i o n s .   W h e n   a   s p e c i f i e d   n u m b e r   o f   s u c c e s s f u l   c o m p l e t i o n s   i s   r e a c h e d ,   t h e   t a s k   ( i e ,   J o b )   i s   c o m p l e t e .   D e l e t i n g   a   J o b   w i l l   c l e a n   u p   t h e   P o d s   i t   c r e a t e d .   S u s p e n d i n g   a   J o b   w i l l   d e l e t e   i t s   a c t i v e   P o d s   u n t i l   t h e   J o b   i s   r e s u m e d   a g a i n .   A   s i m p l e   c a s e   i s   t o   c r e a t e   o n e   J o b   o b j e c t   i n   o r d e r   t o   r e l i a b l y   r u n   o n e   P o d   t o   c o m p l e t i o n .   T h e   J o b   o b j e c t   w i l l   s t a r t   a   n e w   P o d   i f   t h e   f i r s t   P o d   f a i l s   o r   i s   d e l e t e d   ( f o r   e x a m p l e   d u e   t o   a   n o d e   h a r d w a r e   f a i l u r e   o r   a   n o d e   r e b o o t ) .   Y o u   c a n   a l s o   u s e   a   J o b   t o   r u n   m u l t i p l e   P o d s   i n   p a r a l l e l .   I f   y o u   w a n t   t o   r u n   a   J o b   ( e i t h e r   a   s i n g l e   t a s k ,   o r   s e v e r a l   i n   p a r a l l e l )   o n   a   s c h e d u l e ,   s e e   C r o n J o b .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_1_14645"
  },
  {
    "question": "What is Running an example Job?",
    "answer": "H e r e   i s   a n   e x a m p l e   J o b   c o n f i g .   I t   c o m p u t e s   π   t o   2 0 0 0   p l a c e s   a n d   p r i n t s   i t   o u t .   I t   t a k e s   a r o u n d   1 0 s   t o   c o m p l e t e .   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   p i   s p e c :   t e m p l a t e :   s p e c :   c o n t a i n e r s :   -   n a m e :   p i   i m a g e :   p e r l : 5 . 3 4 . 0   c o m m a n d :   [ \" p e r l \" ,   \" - M b i g n u m = b p i \" ,   \" - w l e \" ,   \" p r i n t   b p i ( 2 0 0 0 ) \" ]   r e s t a r t P o l i c y :   N e v e r   b a c k o f f L i m i t :   4   Y o u   c a n   r u n   t h e   e x a m p l e   w i t h   t h i s   c o m m a n d :   k u b e c t l   a p p l y   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / c o n t r o l l e r s / j o b . y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   j o b . b a t c h / p i   c r e a t e d   C h e c k   o n   t h e   s t a t u s   o f   t h e   J o b   w i t h   k u b e c t l :   N a m e :   p i   N a m e s p a c e :   d e f a u l t   S e l e c t o r :   b a t c h . k u b e r n e t e s . i o / c o n t r o l l e r - u i d = c 9 9 4 8 3 0 7 - e 5 6 d - 4 b 5 d - 8 3 0 2 - a e 2 d 7 b 7 d a 6 7 c   L a b e l s :   b a t c h . k u b e r n e t e s . i o / c o n t r o l l e r - u i d = c 9 9 4 8 3 0 7 - e 5 6 d - 4 b 5 d - 8 3 0 2 - a e 2 d 7 b 7 d a 6 7 c   b a t c h . k u b e r n e t e s . i o / j o b - n a m e = p i   . . .   A n n o t a t i o n s :   b a t c h . k u b e r n e t e s . i o / j o b - t r a c k i n g :   \" \"   P a r a l l e l i s m :   1   C o m p l e t i o n s :   1   S t a r t   T i m e :   M o n ,   0 2   D e c   2 0 1 9   1 5 : 2 0 : 1 1   + 0 2 0 0   C o m p l e t e d   A t :   M o n ,   0 2   D e c   2 0 1 9   1 5 : 2 1 : 1 6   + 0 2 0 0   D u r a t i o n :   6 5 s   P o d s   S t a t u s e s :   0   R u n n i n g   /   1   S u c c e e d e d   /   0   F a i l e d   P o d   T e m ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14646"
  },
  {
    "question": "What is Writing a Job spec?",
    "answer": "A s   w i t h   a l l   o t h e r   K u b e r n e t e s   c o n f i g ,   a   J o b   n e e d s   a p i V e r s i o n ,   k i n d ,   a n d   m e t a d a t a   f i e l d s .   W h e n   t h e   c o n t r o l   p l a n e   c r e a t e s   n e w   P o d s   f o r   a   J o b ,   t h e   . m e t a d a t a . n a m e   o f   t h e   J o b   i s   p a r t   o f   t h e   b a s i s   f o r   n a m i n g   t h o s e   P o d s .   T h e   n a m e   o f   a   J o b   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   v a l u e ,   b u t   t h i s   c a n   p r o d u c e   u n e x p e c t e d   r e s u l t s   f o r   t h e   P o d   h o s t n a m e s .   F o r   b e s t   c o m p a t i b i l i t y ,   t h e   n a m e   s h o u l d   f o l l o w   t h e   m o r e   r e s t r i c t i v e   r u l e s   f o r   a   D N S   l a b e l .   E v e n   w h e n   t h e   n a m e   i s   a   D N S   s u b d o m a i n ,   t h e   n a m e   m u s t   b e   n o   l o n g e r   t h a n   6 3   c h a r a c t e r s .   A   J o b   a l s o   n e e d s   a   . s p e c   s e c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14647"
  },
  {
    "question": "What is Job Labels?",
    "answer": "J o b   l a b e l s   w i l l   h a v e   b a t c h . k u b e r n e t e s . i o /   p r e f i x   f o r   j o b - n a m e   a n d   c o n t r o l l e r - u i d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14648"
  },
  {
    "question": "What is Pod Template?",
    "answer": "T h e   . s p e c . t e m p l a t e   i s   t h e   o n l y   r e q u i r e d   f i e l d   o f   t h e   . s p e c .   T h e   . s p e c . t e m p l a t e   i s   a   p o d   t e m p l a t e .   I t   h a s   e x a c t l y   t h e   s a m e   s c h e m a   a s   a   P o d ,   e x c e p t   i t   i s   n e s t e d   a n d   d o e s   n o t   h a v e   a n   a p i V e r s i o n   o r   k i n d .   I n   a d d i t i o n   t o   r e q u i r e d   f i e l d s   f o r   a   P o d ,   a   p o d   t e m p l a t e   i n   a   J o b   m u s t   s p e c i f y   a p p r o p r i a t e   l a b e l s   ( s e e   p o d   s e l e c t o r )   a n d   a n   a p p r o p r i a t e   r e s t a r t   p o l i c y .   O n l y   a   R e s t a r t P o l i c y   e q u a l   t o   N e v e r   o r   O n F a i l u r e   i s   a l l o w e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14649"
  },
  {
    "question": "What is Pod selector?",
    "answer": "T h e   . s p e c . s e l e c t o r   f i e l d   i s   o p t i o n a l .   I n   a l m o s t   a l l   c a s e s   y o u   s h o u l d   n o t   s p e c i f y   i t .   S e e   s e c t i o n   s p e c i f y i n g   y o u r   o w n   p o d   s e l e c t o r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14650"
  },
  {
    "question": "What is Parallel execution for Jobs?",
    "answer": "T h e r e   a r e   t h r e e   m a i n   t y p e s   o f   t a s k   s u i t a b l e   t o   r u n   a s   a   J o b :   N o n - p a r a l l e l   J o b s n o r m a l l y ,   o n l y   o n e   P o d   i s   s t a r t e d ,   u n l e s s   t h e   P o d   f a i l s . t h e   J o b   i s   c o m p l e t e   a s   s o o n   a s   i t s   P o d   t e r m i n a t e s   s u c c e s s f u l l y . P a r a l l e l   J o b s   w i t h   a   f i x e d   c o m p l e t i o n   c o u n t : s p e c i f y   a   n o n - z e r o   p o s i t i v e   v a l u e   f o r   . s p e c . c o m p l e t i o n s . t h e   J o b   r e p r e s e n t s   t h e   o v e r a l l   t a s k ,   a n d   i s   c o m p l e t e   w h e n   t h e r e   a r e   . s p e c . c o m p l e t i o n s   s u c c e s s f u l   P o d s . w h e n   u s i n g   . s p e c . c o m p l e t i o n M o d e = \" I n d e x e d \" ,   e a c h   P o d   g e t s   a   d i f f e r e n t   i n d e x   i n   t h e   r a n g e   0   t o   . s p e c . c o m p l e t i o n s - 1 . P a r a l l e l   J o b s   w i t h   a   w o r k   q u e u e : d o   n o t   s p e c i f y   . s p e c . c o m p l e t i o n s ,   d e f a u l t   t o   . s p e c . p a r a l l e l i s m . t h e   P o d s   m u s t   c o o r d i n a t e   a m o n g s t   t h e m s e l v e s   o r   a n   e x t e r n a l   s e r v i c e   t o   d e t e r m i n e   w h a t   e a c h   s h o u l d   w o r k   o n .   F o r   e x a m p l e ,   a   P o d   m i g h t   f e t c h   a   b a t c h   o f   u p   t o   N   i t e m s   f r o m   t h e   w o r k   q u e u e . e a c h   P o d   i s   i n d e p e n d e n t l y   c a p a b l e   o f   d e t e r m i n i n g   w h e t h e r   o r   n o t   a l l   i t s   p e e r s   a r e   d o n e ,   a n d   t h u s   t h a t   t h e   e n t i r e   J o b   i s   d o n e . w h e n   a n y   P o d   f r o m   t h e   J o b   t e r m i n a t e s   w i t h   s u c c e s s ,   n o   n e w   P o d s   a r e   c r e a t e d . o n c e   a t   l e a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14651"
  },
  {
    "question": "What is Controlling parallelism?",
    "answer": "T h e   r e q u e s t e d   p a r a l l e l i s m   ( . s p e c . p a r a l l e l i s m )   c a n   b e   s e t   t o   a n y   n o n - n e g a t i v e   v a l u e .   I f   i t   i s   u n s p e c i f i e d ,   i t   d e f a u l t s   t o   1 .   I f   i t   i s   s p e c i f i e d   a s   0 ,   t h e n   t h e   J o b   i s   e f f e c t i v e l y   p a u s e d   u n t i l   i t   i s   i n c r e a s e d .   A c t u a l   p a r a l l e l i s m   ( n u m b e r   o f   p o d s   r u n n i n g   a t   a n y   i n s t a n t )   m a y   b e   m o r e   o r   l e s s   t h a n   r e q u e s t e d   p a r a l l e l i s m ,   f o r   a   v a r i e t y   o f   r e a s o n s :   F o r   f i x e d   c o m p l e t i o n   c o u n t   J o b s ,   t h e   a c t u a l   n u m b e r   o f   p o d s   r u n n i n g   i n   p a r a l l e l   w i l l   n o t   e x c e e d   t h e   n u m b e r   o f   r e m a i n i n g   c o m p l e t i o n s .   H i g h e r   v a l u e s   o f   . s p e c . p a r a l l e l i s m   a r e   e f f e c t i v e l y   i g n o r e d . F o r   w o r k   q u e u e   J o b s ,   n o   n e w   P o d s   a r e   s t a r t e d   a f t e r   a n y   P o d   h a s   s u c c e e d e d   - -   r e m a i n i n g   P o d s   a r e   a l l o w e d   t o   c o m p l e t e ,   h o w e v e r . I f   t h e   J o b   C o n t r o l l e r   h a s   n o t   h a d   t i m e   t o   r e a c t . I f   t h e   J o b   c o n t r o l l e r   f a i l e d   t o   c r e a t e   P o d s   f o r   a n y   r e a s o n   ( l a c k   o f   R e s o u r c e Q u o t a ,   l a c k   o f   p e r m i s s i o n ,   e t c . ) ,   t h e n   t h e r e   m a y   b e   f e w e r   p o d s   t h a n   r e q u e s t e d . T h e   J o b   c o n t r o l l e r   m a y   t h r o t t l e   n e w   P o d   c r e a t i o n   d u e   t o   e x c e s s i v e   p r e v i o u s   p o d   f a i l u r e s   i n   t h e   s a m e   J o b . W h e n   a   P o d   i s   g r a c e f u l l y   s h u t   d o w n ,   i t   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14652"
  },
  {
    "question": "What is Completion mode?",
    "answer": "J o b s   w i t h   f i x e d   c o m p l e t i o n   c o u n t   -   t h a t   i s ,   j o b s   t h a t   h a v e   n o n   n u l l   . s p e c . c o m p l e t i o n s   -   c a n   h a v e   a   c o m p l e t i o n   m o d e   t h a t   i s   s p e c i f i e d   i n   . s p e c . c o m p l e t i o n M o d e :   N o n I n d e x e d   ( d e f a u l t ) :   t h e   J o b   i s   c o n s i d e r e d   c o m p l e t e   w h e n   t h e r e   h a v e   b e e n   . s p e c . c o m p l e t i o n s   s u c c e s s f u l l y   c o m p l e t e d   P o d s .   I n   o t h e r   w o r d s ,   e a c h   P o d   c o m p l e t i o n   i s   h o m o l o g o u s   t o   e a c h   o t h e r .   N o t e   t h a t   J o b s   t h a t   h a v e   n u l l   . s p e c . c o m p l e t i o n s   a r e   i m p l i c i t l y   N o n I n d e x e d . I n d e x e d :   t h e   P o d s   o f   a   J o b   g e t   a n   a s s o c i a t e d   c o m p l e t i o n   i n d e x   f r o m   0   t o   . s p e c . c o m p l e t i o n s - 1 .   T h e   i n d e x   i s   a v a i l a b l e   t h r o u g h   f o u r   m e c h a n i s m s : T h e   P o d   a n n o t a t i o n   b a t c h . k u b e r n e t e s . i o / j o b - c o m p l e t i o n - i n d e x . T h e   P o d   l a b e l   b a t c h . k u b e r n e t e s . i o / j o b - c o m p l e t i o n - i n d e x   ( f o r   v 1 . 2 8   a n d   l a t e r ) .   N o t e   t h e   f e a t u r e   g a t e   P o d I n d e x L a b e l   m u s t   b e   e n a b l e d   t o   u s e   t h i s   l a b e l ,   a n d   i t   i s   e n a b l e d   b y   d e f a u l t . A s   p a r t   o f   t h e   P o d   h o s t n a m e ,   f o l l o w i n g   t h e   p a t t e r n   $ ( j o b - n a m e ) - $ ( i n d e x ) .   W h e n   y o u   u s e   a n   I n d e x e d   J o b   i n   c o m b i n a t i o n   w i t h   a   S e r v i c e ,   P o d s   w i t h i n   t h e   J o b   c a n   u s e   t h e   d e t e r m i n i s t i c   h o s t n a m e s   t o   a d d r e s s   e a c h   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14653"
  },
  {
    "question": "What is Handling Pod and container failures?",
    "answer": "A   c o n t a i n e r   i n   a   P o d   m a y   f a i l   f o r   a   n u m b e r   o f   r e a s o n s ,   s u c h   a s   b e c a u s e   t h e   p r o c e s s   i n   i t   e x i t e d   w i t h   a   n o n - z e r o   e x i t   c o d e ,   o r   t h e   c o n t a i n e r   w a s   k i l l e d   f o r   e x c e e d i n g   a   m e m o r y   l i m i t ,   e t c .   I f   t h i s   h a p p e n s ,   a n d   t h e   . s p e c . t e m p l a t e . s p e c . r e s t a r t P o l i c y   =   \" O n F a i l u r e \" ,   t h e n   t h e   P o d   s t a y s   o n   t h e   n o d e ,   b u t   t h e   c o n t a i n e r   i s   r e - r u n .   T h e r e f o r e ,   y o u r   p r o g r a m   n e e d s   t o   h a n d l e   t h e   c a s e   w h e n   i t   i s   r e s t a r t e d   l o c a l l y ,   o r   e l s e   s p e c i f y   . s p e c . t e m p l a t e . s p e c . r e s t a r t P o l i c y   =   \" N e v e r \" .   S e e   p o d   l i f e c y c l e   f o r   m o r e   i n f o r m a t i o n   o n   r e s t a r t P o l i c y .   A n   e n t i r e   P o d   c a n   a l s o   f a i l ,   f o r   a   n u m b e r   o f   r e a s o n s ,   s u c h   a s   w h e n   t h e   p o d   i s   k i c k e d   o f f   t h e   n o d e   ( n o d e   i s   u p g r a d e d ,   r e b o o t e d ,   d e l e t e d ,   e t c . ) ,   o r   i f   a   c o n t a i n e r   o f   t h e   P o d   f a i l s   a n d   t h e   . s p e c . t e m p l a t e . s p e c . r e s t a r t P o l i c y   =   \" N e v e r \" .   W h e n   a   P o d   f a i l s ,   t h e n   t h e   J o b   c o n t r o l l e r   s t a r t s   a   n e w   P o d .   T h i s   m e a n s   t h a t   y o u r   a p p l i c a t i o n   n e e d s   t o   h a n d l e   t h e   c a s e   w h e n   i t   i s   r e s t a r t e d   i n   a   n e w   p o d .   I n   p a r t i c u l a r ,   i t   n e e d s   t o   h a n d l e   t e m p o r a r y   f i l e s ,   l o c k s ,   i n c o m p l e t e   o u t p u t   a n d   t h e   l i k e   c a u s e d   b y ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14654"
  },
  {
    "question": "What is Pod backoff failure policy?",
    "answer": "T h e r e   a r e   s i t u a t i o n s   w h e r e   y o u   w a n t   t o   f a i l   a   J o b   a f t e r   s o m e   a m o u n t   o f   r e t r i e s   d u e   t o   a   l o g i c a l   e r r o r   i n   c o n f i g u r a t i o n   e t c .   T o   d o   s o ,   s e t   . s p e c . b a c k o f f L i m i t   t o   s p e c i f y   t h e   n u m b e r   o f   r e t r i e s   b e f o r e   c o n s i d e r i n g   a   J o b   a s   f a i l e d .   T h e   . s p e c . b a c k o f f L i m i t   i s   s e t   b y   d e f a u l t   t o   6 ,   u n l e s s   t h e   b a c k o f f   l i m i t   p e r   i n d e x   ( o n l y   I n d e x e d   J o b )   i s   s p e c i f i e d .   W h e n   . s p e c . b a c k o f f L i m i t P e r I n d e x   i s   s p e c i f i e d ,   t h e n   . s p e c . b a c k o f f L i m i t   d e f a u l t s   t o   2 1 4 7 4 8 3 6 4 7   ( M a x I n t 3 2 ) .   F a i l e d   P o d s   a s s o c i a t e d   w i t h   t h e   J o b   a r e   r e c r e a t e d   b y   t h e   J o b   c o n t r o l l e r   w i t h   a n   e x p o n e n t i a l   b a c k - o f f   d e l a y   ( 1 0 s ,   2 0 s ,   4 0 s   . . . )   c a p p e d   a t   s i x   m i n u t e s .   T h e   n u m b e r   o f   r e t r i e s   i s   c a l c u l a t e d   i n   t w o   w a y s :   T h e   n u m b e r   o f   P o d s   w i t h   . s t a t u s . p h a s e   =   \" F a i l e d \" . W h e n   u s i n g   r e s t a r t P o l i c y   =   \" O n F a i l u r e \" ,   t h e   n u m b e r   o f   r e t r i e s   i n   a l l   t h e   c o n t a i n e r s   o f   P o d s   w i t h   . s t a t u s . p h a s e   e q u a l   t o   P e n d i n g   o r   R u n n i n g .   I f   e i t h e r   o f   t h e   c a l c u l a t i o n s   r e a c h e s   t h e   . s p e c . b a c k o f f L i m i t ,   t h e   J o b   i s   c o n s i d e r e d   f a i l e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14655"
  },
  {
    "question": "What is Backoff limit per index?",
    "answer": "W h e n   y o u   r u n   a n   i n d e x e d   J o b ,   y o u   c a n   c h o o s e   t o   h a n d l e   r e t r i e s   f o r   p o d   f a i l u r e s   i n d e p e n d e n t l y   f o r   e a c h   i n d e x .   T o   d o   s o ,   s e t   t h e   . s p e c . b a c k o f f L i m i t P e r I n d e x   t o   s p e c i f y   t h e   m a x i m a l   n u m b e r   o f   p o d   f a i l u r e s   p e r   i n d e x .   W h e n   t h e   p e r - i n d e x   b a c k o f f   l i m i t   i s   e x c e e d e d   f o r   a n   i n d e x ,   K u b e r n e t e s   c o n s i d e r s   t h e   i n d e x   a s   f a i l e d   a n d   a d d s   i t   t o   t h e   . s t a t u s . f a i l e d I n d e x e s   f i e l d .   T h e   s u c c e e d e d   i n d e x e s ,   t h o s e   w i t h   a   s u c c e s s f u l l y   e x e c u t e d   p o d s ,   a r e   r e c o r d e d   i n   t h e   . s t a t u s . c o m p l e t e d I n d e x e s   f i e l d ,   r e g a r d l e s s   o f   w h e t h e r   y o u   s e t   t h e   b a c k o f f L i m i t P e r I n d e x   f i e l d .   N o t e   t h a t   a   f a i l i n g   i n d e x   d o e s   n o t   i n t e r r u p t   e x e c u t i o n   o f   o t h e r   i n d e x e s .   O n c e   a l l   i n d e x e s   f i n i s h   f o r   a   J o b   w h e r e   y o u   s p e c i f i e d   a   b a c k o f f   l i m i t   p e r   i n d e x ,   i f   a t   l e a s t   o n e   o f   t h o s e   i n d e x e s   d i d   f a i l ,   t h e   J o b   c o n t r o l l e r   m a r k s   t h e   o v e r a l l   J o b   a s   f a i l e d ,   b y   s e t t i n g   t h e   F a i l e d   c o n d i t i o n   i n   t h e   s t a t u s .   T h e   J o b   g e t s   m a r k e d   a s   f a i l e d   e v e n   i f   s o m e ,   p o t e n t i a l l y   n e a r l y   a l l ,   o f   t h e   i n d e x e s   w e r e   p r o c e s s e d   s u c c e s s f u l l y .   Y o u   c a n   a d d i t i o n a l l y   l i m i t   t h e   m a x i m a l   n u m b e r   o f   i n d e x e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14656"
  },
  {
    "question": "What is Pod failure policy?",
    "answer": "A   P o d   f a i l u r e   p o l i c y ,   d e f i n e d   w i t h   t h e   . s p e c . p o d F a i l u r e P o l i c y   f i e l d ,   e n a b l e s   y o u r   c l u s t e r   t o   h a n d l e   P o d   f a i l u r e s   b a s e d   o n   t h e   c o n t a i n e r   e x i t   c o d e s   a n d   t h e   P o d   c o n d i t i o n s .   I n   s o m e   s i t u a t i o n s ,   y o u   m a y   w a n t   t o   h a v e   a   b e t t e r   c o n t r o l   w h e n   h a n d l i n g   P o d   f a i l u r e s   t h a n   t h e   c o n t r o l   p r o v i d e d   b y   t h e   P o d   b a c k o f f   f a i l u r e   p o l i c y ,   w h i c h   i s   b a s e d   o n   t h e   J o b ' s   . s p e c . b a c k o f f L i m i t .   T h e s e   a r e   s o m e   e x a m p l e s   o f   u s e   c a s e s :   T o   o p t i m i z e   c o s t s   o f   r u n n i n g   w o r k l o a d s   b y   a v o i d i n g   u n n e c e s s a r y   P o d   r e s t a r t s ,   y o u   c a n   t e r m i n a t e   a   J o b   a s   s o o n   a s   o n e   o f   i t s   P o d s   f a i l s   w i t h   a n   e x i t   c o d e   i n d i c a t i n g   a   s o f t w a r e   b u g . T o   g u a r a n t e e   t h a t   y o u r   J o b   f i n i s h e s   e v e n   i f   t h e r e   a r e   d i s r u p t i o n s ,   y o u   c a n   i g n o r e   P o d   f a i l u r e s   c a u s e d   b y   d i s r u p t i o n s   ( s u c h   a s   p r e e m p t i o n ,   A P I - i n i t i a t e d   e v i c t i o n   o r   t a i n t - b a s e d   e v i c t i o n )   s o   t h a t   t h e y   d o n ' t   c o u n t   t o w a r d s   t h e   . s p e c . b a c k o f f L i m i t   l i m i t   o f   r e t r i e s .   Y o u   c a n   c o n f i g u r e   a   P o d   f a i l u r e   p o l i c y ,   i n   t h e   . s p e c . p o d F a i l u r e P o l i c y   f i e l d ,   t o   m e e t   t h e   a b o v e   u s e   c a s e s .   T h i s   p o l i c y   c a n   h a n d l e   P o d   f a i l u r e s   b a s e d   o n   t h e   c o n t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14657"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   s e c o n d   r u l e   o f   t h e   P o d   f a i l u r e   p o l i c y ,   s p e c i f y i n g   t h e   I g n o r e   a c t i o n   f o r   f a i l e d   P o d s   w i t h   c o n d i t i o n   D i s r u p t i o n T a r g e t   e x c l u d e s   P o d   d i s r u p t i o n s   f r o m   b e i n g   c o u n t e d   t o w a r d s   t h e   . s p e c . b a c k o f f L i m i t   l i m i t   o f   r e t r i e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14658"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e s e   a r e   s o m e   r e q u i r e m e n t s   a n d   s e m a n t i c s   o f   t h e   A P I :   i f   y o u   w a n t   t o   u s e   a   . s p e c . p o d F a i l u r e P o l i c y   f i e l d   f o r   a   J o b ,   y o u   m u s t   a l s o   d e f i n e   t h a t   J o b ' s   p o d   t e m p l a t e   w i t h   . s p e c . r e s t a r t P o l i c y   s e t   t o   N e v e r . t h e   P o d   f a i l u r e   p o l i c y   r u l e s   y o u   s p e c i f y   u n d e r   s p e c . p o d F a i l u r e P o l i c y . r u l e s   a r e   e v a l u a t e d   i n   o r d e r .   O n c e   a   r u l e   m a t c h e s   a   P o d   f a i l u r e ,   t h e   r e m a i n i n g   r u l e s   a r e   i g n o r e d .   W h e n   n o   r u l e   m a t c h e s   t h e   P o d   f a i l u r e ,   t h e   d e f a u l t   h a n d l i n g   a p p l i e s . y o u   m a y   w a n t   t o   r e s t r i c t   a   r u l e   t o   a   s p e c i f i c   c o n t a i n e r   b y   s p e c i f y i n g   i t s   n a m e   i n s p e c . p o d F a i l u r e P o l i c y . r u l e s [ * ] . o n E x i t C o d e s . c o n t a i n e r N a m e .   W h e n   n o t   s p e c i f i e d   t h e   r u l e   a p p l i e s   t o   a l l   c o n t a i n e r s .   W h e n   s p e c i f i e d ,   i t   s h o u l d   m a t c h   o n e   t h e   c o n t a i n e r   o r   i n i t C o n t a i n e r   n a m e s   i n   t h e   P o d   t e m p l a t e . y o u   m a y   s p e c i f y   t h e   a c t i o n   t a k e n   w h e n   a   P o d   f a i l u r e   p o l i c y   i s   m a t c h e d   b y   s p e c . p o d F a i l u r e P o l i c y . r u l e s [ * ] . a c t i o n .   P o s s i b l e   v a l u e s   a r e : F a i l J o b :   u s e   t o   i n d i c a t e   t h a t   t h e   P o d ' s   j o b   s h o u l d   b e   m a r k e d   a s   F a i l e d   a n d   a l l   r u n n i n g   P o d s   s h o u l d   b e   t e r m i n a t e d . I g n o r e :   u s e   t o   i n d i c a t e   t h a t   t h e   c o u ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14659"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   y o u   u s e   t h e   p o d F a i l u r e P o l i c y ,   a n d   t h e   J o b   f a i l s   d u e   t o   t h e   p o d   m a t c h i n g   t h e   r u l e   w i t h   t h e   F a i l J o b   a c t i o n ,   t h e n   t h e   J o b   c o n t r o l l e r   t r i g g e r s   t h e   J o b   t e r m i n a t i o n   p r o c e s s   b y   a d d i n g   t h e   F a i l u r e T a r g e t   c o n d i t i o n .   F o r   m o r e   d e t a i l s ,   s e e   J o b   t e r m i n a t i o n   a n d   c l e a n u p .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14660"
  },
  {
    "question": "What is Success policy?",
    "answer": "W h e n   c r e a t i n g   a n   I n d e x e d   J o b ,   y o u   c a n   d e f i n e   w h e n   a   J o b   c a n   b e   d e c l a r e d   a s   s u c c e e d e d   u s i n g   a   . s p e c . s u c c e s s P o l i c y ,   b a s e d   o n   t h e   p o d s   t h a t   s u c c e e d e d .   B y   d e f a u l t ,   a   J o b   s u c c e e d s   w h e n   t h e   n u m b e r   o f   s u c c e e d e d   P o d s   e q u a l s   . s p e c . c o m p l e t i o n s .   T h e s e   a r e   s o m e   s i t u a t i o n s   w h e r e   y o u   m i g h t   w a n t   a d d i t i o n a l   c o n t r o l   f o r   d e c l a r i n g   a   J o b   s u c c e e d e d :   W h e n   r u n n i n g   s i m u l a t i o n s   w i t h   d i f f e r e n t   p a r a m e t e r s ,   y o u   m i g h t   n o t   n e e d   a l l   t h e   s i m u l a t i o n s   t o   s u c c e e d   f o r   t h e   o v e r a l l   J o b   t o   b e   s u c c e s s f u l . W h e n   f o l l o w i n g   a   l e a d e r - w o r k e r   p a t t e r n ,   o n l y   t h e   s u c c e s s   o f   t h e   l e a d e r   d e t e r m i n e s   t h e   s u c c e s s   o r   f a i l u r e   o f   a   J o b .   E x a m p l e s   o f   t h i s   a r e   f r a m e w o r k s   l i k e   M P I   a n d   P y T o r c h   e t c .   Y o u   c a n   c o n f i g u r e   a   s u c c e s s   p o l i c y ,   i n   t h e   . s p e c . s u c c e s s P o l i c y   f i e l d ,   t o   m e e t   t h e   a b o v e   u s e   c a s e s .   T h i s   p o l i c y   c a n   h a n d l e   J o b   s u c c e s s   b a s e d   o n   t h e   s u c c e e d e d   p o d s .   A f t e r   t h e   J o b   m e e t s   t h e   s u c c e s s   p o l i c y ,   t h e   j o b   c o n t r o l l e r   t e r m i n a t e s   t h e   l i n g e r i n g   P o d s .   A   s u c c e s s   p o l i c y   i s   d e f i n e d   b y   r u l e s .   E a c h   r u l e   c a n   t a k e   o n e   o f   t h e   f o l l o w i n g   f o r m s :   W h e n   y o u   s p e c i f y   t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14661"
  },
  {
    "question": "What is Job termination and cleanup?",
    "answer": "W h e n   a   J o b   c o m p l e t e s ,   n o   m o r e   P o d s   a r e   c r e a t e d ,   b u t   t h e   P o d s   a r e   u s u a l l y   n o t   d e l e t e d   e i t h e r .   K e e p i n g   t h e m   a r o u n d   a l l o w s   y o u   t o   s t i l l   v i e w   t h e   l o g s   o f   c o m p l e t e d   p o d s   t o   c h e c k   f o r   e r r o r s ,   w a r n i n g s ,   o r   o t h e r   d i a g n o s t i c   o u t p u t .   T h e   j o b   o b j e c t   a l s o   r e m a i n s   a f t e r   i t   i s   c o m p l e t e d   s o   t h a t   y o u   c a n   v i e w   i t s   s t a t u s .   I t   i s   u p   t o   t h e   u s e r   t o   d e l e t e   o l d   j o b s   a f t e r   n o t i n g   t h e i r   s t a t u s .   D e l e t e   t h e   j o b   w i t h   k u b e c t l   ( e . g .   k u b e c t l   d e l e t e   j o b s / p i   o r   k u b e c t l   d e l e t e   - f   . / j o b . y a m l ) .   W h e n   y o u   d e l e t e   t h e   j o b   u s i n g   k u b e c t l ,   a l l   t h e   p o d s   i t   c r e a t e d   a r e   d e l e t e d   t o o .   B y   d e f a u l t ,   a   J o b   w i l l   r u n   u n i n t e r r u p t e d   u n l e s s   a   P o d   f a i l s   ( r e s t a r t P o l i c y = N e v e r )   o r   a   C o n t a i n e r   e x i t s   i n   e r r o r   ( r e s t a r t P o l i c y = O n F a i l u r e ) ,   a t   w h i c h   p o i n t   t h e   J o b   d e f e r s   t o   t h e   . s p e c . b a c k o f f L i m i t   d e s c r i b e d   a b o v e .   O n c e   . s p e c . b a c k o f f L i m i t   h a s   b e e n   r e a c h e d   t h e   J o b   w i l l   b e   m a r k e d   a s   f a i l e d   a n d   a n y   r u n n i n g   P o d s   w i l l   b e   t e r m i n a t e d .   A n o t h e r   w a y   t o   t e r m i n a t e   a   J o b   i s   b y   s e t t i n g   a n   a c t i v e   d e a d l i n e .   D o   t h i s   b y   s e t t i n g   t h e   . s p e c . a c t i v e D e a d l i n e S e c o n d s   f i e l d   o f   t h e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14662"
  },
  {
    "question": "What is Terminal Job conditions?",
    "answer": "A   J o b   h a s   t w o   p o s s i b l e   t e r m i n a l   s t a t e s ,   e a c h   o f   w h i c h   h a s   a   c o r r e s p o n d i n g   J o b   c o n d i t i o n :   S u c c e e d e d :   J o b   c o n d i t i o n   C o m p l e t e F a i l e d :   J o b   c o n d i t i o n   F a i l e d   J o b s   f a i l   f o r   t h e   f o l l o w i n g   r e a s o n s :   T h e   n u m b e r   o f   P o d   f a i l u r e s   e x c e e d e d   t h e   s p e c i f i e d   . s p e c . b a c k o f f L i m i t   i n   t h e   J o b   s p e c i f i c a t i o n .   F o r   d e t a i l s ,   s e e   P o d   b a c k o f f   f a i l u r e   p o l i c y . T h e   J o b   r u n t i m e   e x c e e d e d   t h e   s p e c i f i e d   . s p e c . a c t i v e D e a d l i n e S e c o n d s A n   i n d e x e d   J o b   t h a t   u s e d   . s p e c . b a c k o f f L i m i t P e r I n d e x   h a s   f a i l e d   i n d e x e s .   F o r   d e t a i l s ,   s e e   B a c k o f f   l i m i t   p e r   i n d e x . T h e   n u m b e r   o f   f a i l e d   i n d e x e s   i n   t h e   J o b   e x c e e d e d   t h e   s p e c i f i e d   s p e c . m a x F a i l e d I n d e x e s .   F o r   d e t a i l s ,   s e e   B a c k o f f   l i m i t   p e r   i n d e x A   f a i l e d   P o d   m a t c h e s   a   r u l e   i n   . s p e c . p o d F a i l u r e P o l i c y   t h a t   h a s   t h e   F a i l J o b   a c t i o n .   F o r   d e t a i l s   a b o u t   h o w   P o d   f a i l u r e   p o l i c y   r u l e s   m i g h t   a f f e c t   f a i l u r e   e v a l u a t i o n ,   s e e   P o d   f a i l u r e   p o l i c y .   J o b s   s u c c e e d   f o r   t h e   f o l l o w i n g   r e a s o n s :   T h e   n u m b e r   o f   s u c c e e d e d   P o d s   r e a c h e d   t h e   s p e c i f i e d   . s p e c . c o m p l e t i o n s T h e   c r i t e r i a   s p e c i f i e d   i n   . s p e c . s u c c e s s P o l i c y   a r e   m e t .   F o r   d e t a i l s ,   s e e   S ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14663"
  },
  {
    "question": "What is Termination of Job pods?",
    "answer": "T h e   J o b   c o n t r o l l e r   a d d s   t h e   F a i l u r e T a r g e t   c o n d i t i o n   o r   t h e   S u c c e s s C r i t e r i a M e t   c o n d i t i o n   t o   t h e   J o b   t o   t r i g g e r   P o d   t e r m i n a t i o n   a f t e r   a   J o b   m e e t s   e i t h e r   t h e   s u c c e s s   o r   f a i l u r e   c r i t e r i a .   F a c t o r s   l i k e   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   m i g h t   i n c r e a s e   t h e   a m o u n t   o f   t i m e   f r o m   t h e   m o m e n t   t h a t   t h e   J o b   c o n t r o l l e r   a d d s   t h e   F a i l u r e T a r g e t   c o n d i t i o n   o r   t h e   S u c c e s s C r i t e r i a M e t   c o n d i t i o n   t o   t h e   m o m e n t   t h a t   a l l   o f   t h e   J o b   P o d s   t e r m i n a t e   a n d   t h e   J o b   c o n t r o l l e r   a d d s   a   t e r m i n a l   c o n d i t i o n   ( F a i l e d   o r   C o m p l e t e ) .   Y o u   c a n   u s e   t h e   F a i l u r e T a r g e t   o r   t h e   S u c c e s s C r i t e r i a M e t   c o n d i t i o n   t o   e v a l u a t e   w h e t h e r   t h e   J o b   h a s   f a i l e d   o r   s u c c e e d e d   w i t h o u t   h a v i n g   t o   w a i t   f o r   t h e   c o n t r o l l e r   t o   a d d   a   t e r m i n a l   c o n d i t i o n .   F o r   e x a m p l e ,   y o u   m i g h t   w a n t   t o   d e c i d e   w h e n   t o   c r e a t e   a   r e p l a c e m e n t   J o b   t h a t   r e p l a c e s   a   f a i l e d   J o b .   I f   y o u   r e p l a c e   t h e   f a i l e d   J o b   w h e n   t h e   F a i l u r e T a r g e t   c o n d i t i o n   a p p e a r s ,   y o u r   r e p l a c e m e n t   J o b   r u n s   s o o n e r ,   b u t   c o u l d   r e s u l t   i n   P o d s   f r o m   t h e   f a i l e d   a n d   t h e   r e p l a c e m e n t   J o b   r u n n i n g   a t   t h e   s a m e   t i m e ,   u s i n g   e x t r a   c o m p u t e   r e s o u ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14664"
  },
  {
    "question": "What is Clean up finished jobs automatically?",
    "answer": "F i n i s h e d   J o b s   a r e   u s u a l l y   n o   l o n g e r   n e e d e d   i n   t h e   s y s t e m .   K e e p i n g   t h e m   a r o u n d   i n   t h e   s y s t e m   w i l l   p u t   p r e s s u r e   o n   t h e   A P I   s e r v e r .   I f   t h e   J o b s   a r e   m a n a g e d   d i r e c t l y   b y   a   h i g h e r   l e v e l   c o n t r o l l e r ,   s u c h   a s   C r o n J o b s ,   t h e   J o b s   c a n   b e   c l e a n e d   u p   b y   C r o n J o b s   b a s e d   o n   t h e   s p e c i f i e d   c a p a c i t y - b a s e d   c l e a n u p   p o l i c y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14665"
  },
  {
    "question": "What is TTL mechanism for finished Jobs?",
    "answer": "A n o t h e r   w a y   t o   c l e a n   u p   f i n i s h e d   J o b s   ( e i t h e r   C o m p l e t e   o r   F a i l e d )   a u t o m a t i c a l l y   i s   t o   u s e   a   T T L   m e c h a n i s m   p r o v i d e d   b y   a   T T L   c o n t r o l l e r   f o r   f i n i s h e d   r e s o u r c e s ,   b y   s p e c i f y i n g   t h e   . s p e c . t t l S e c o n d s A f t e r F i n i s h e d   f i e l d   o f   t h e   J o b .   W h e n   t h e   T T L   c o n t r o l l e r   c l e a n s   u p   t h e   J o b ,   i t   w i l l   d e l e t e   t h e   J o b   c a s c a d i n g l y ,   i . e .   d e l e t e   i t s   d e p e n d e n t   o b j e c t s ,   s u c h   a s   P o d s ,   t o g e t h e r   w i t h   t h e   J o b .   N o t e   t h a t   w h e n   t h e   J o b   i s   d e l e t e d ,   i t s   l i f e c y c l e   g u a r a n t e e s ,   s u c h   a s   f i n a l i z e r s ,   w i l l   b e   h o n o r e d .   F o r   e x a m p l e :   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   p i - w i t h - t t l   s p e c :   t t l S e c o n d s A f t e r F i n i s h e d :   1 0 0   t e m p l a t e :   s p e c :   c o n t a i n e r s :   -   n a m e :   p i   i m a g e :   p e r l : 5 . 3 4 . 0   c o m m a n d :   [ \" p e r l \" ,   \" - M b i g n u m = b p i \" ,   \" - w l e \" ,   \" p r i n t   b p i ( 2 0 0 0 ) \" ]   r e s t a r t P o l i c y :   N e v e r   T h e   J o b   p i - w i t h - t t l   w i l l   b e   e l i g i b l e   t o   b e   a u t o m a t i c a l l y   d e l e t e d ,   1 0 0   s e c o n d s   a f t e r   i t   f i n i s h e s .   I f   t h e   f i e l d   i s   s e t   t o   0 ,   t h e   J o b   w i l l   b e   e l i g i b l e   t o   b e   a u t o m a t i c a l l y   d e l e t e d   i m m e d i a t e l y   a f t e r   i t   f i n i s h e s .   I f   t h e   f i e l d   i s   u n s e t ,   t h i s   J o b   w o n ' t   b e   c l e a n e d   u p   b y   t h e   T T L   c o n t r o l l e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14666"
  },
  {
    "question": "What is Note:?",
    "answer": "I t   i s   r e c o m m e n d e d   t o   s e t   t t l S e c o n d s A f t e r F i n i s h e d   f i e l d   b e c a u s e   u n m a n a g e d   j o b s   ( J o b s   t h a t   y o u   c r e a t e d   d i r e c t l y ,   a n d   n o t   i n d i r e c t l y   t h r o u g h   o t h e r   w o r k l o a d   A P I s   s u c h   a s   C r o n J o b )   h a v e   a   d e f a u l t   d e l e t i o n   p o l i c y   o f   o r p h a n D e p e n d e n t s   c a u s i n g   P o d s   c r e a t e d   b y   a n   u n m a n a g e d   J o b   t o   b e   l e f t   a r o u n d   a f t e r   t h a t   J o b   i s   f u l l y   d e l e t e d .   E v e n   t h o u g h   t h e   c o n t r o l   p l a n e   e v e n t u a l l y   g a r b a g e   c o l l e c t s   t h e   P o d s   f r o m   a   d e l e t e d   J o b   a f t e r   t h e y   e i t h e r   f a i l   o r   c o m p l e t e ,   s o m e t i m e s   t h o s e   l i n g e r i n g   p o d s   m a y   c a u s e   c l u s t e r   p e r f o r m a n c e   d e g r a d a t i o n   o r   i n   w o r s t   c a s e   c a u s e   t h e   c l u s t e r   t o   g o   o f f l i n e   d u e   t o   t h i s   d e g r a d a t i o n .   Y o u   c a n   u s e   L i m i t R a n g e s   a n d   R e s o u r c e Q u o t a s   t o   p l a c e   a   c a p   o n   t h e   a m o u n t   o f   r e s o u r c e s   t h a t   a   p a r t i c u l a r   n a m e s p a c e   c a n   c o n s u m e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14667"
  },
  {
    "question": "What is Job patterns?",
    "answer": "T h e   J o b   o b j e c t   c a n   b e   u s e d   t o   p r o c e s s   a   s e t   o f   i n d e p e n d e n t   b u t   r e l a t e d   w o r k   i t e m s .   T h e s e   m i g h t   b e   e m a i l s   t o   b e   s e n t ,   f r a m e s   t o   b e   r e n d e r e d ,   f i l e s   t o   b e   t r a n s c o d e d ,   r a n g e s   o f   k e y s   i n   a   N o S Q L   d a t a b a s e   t o   s c a n ,   a n d   s o   o n .   I n   a   c o m p l e x   s y s t e m ,   t h e r e   m a y   b e   m u l t i p l e   d i f f e r e n t   s e t s   o f   w o r k   i t e m s .   H e r e   w e   a r e   j u s t   c o n s i d e r i n g   o n e   s e t   o f   w o r k   i t e m s   t h a t   t h e   u s e r   w a n t s   t o   m a n a g e   t o g e t h e r   —   a   b a t c h   j o b .   T h e r e   a r e   s e v e r a l   d i f f e r e n t   p a t t e r n s   f o r   p a r a l l e l   c o m p u t a t i o n ,   e a c h   w i t h   s t r e n g t h s   a n d   w e a k n e s s e s .   T h e   t r a d e o f f s   a r e :   O n e   J o b   o b j e c t   f o r   e a c h   w o r k   i t e m ,   v e r s u s   a   s i n g l e   J o b   o b j e c t   f o r   a l l   w o r k   i t e m s .   O n e   J o b   p e r   w o r k   i t e m   c r e a t e s   s o m e   o v e r h e a d   f o r   t h e   u s e r   a n d   f o r   t h e   s y s t e m   t o   m a n a g e   l a r g e   n u m b e r s   o f   J o b   o b j e c t s .   A   s i n g l e   J o b   f o r   a l l   w o r k   i t e m s   i s   b e t t e r   f o r   l a r g e   n u m b e r s   o f   i t e m s . N u m b e r   o f   P o d s   c r e a t e d   e q u a l s   n u m b e r   o f   w o r k   i t e m s ,   v e r s u s   e a c h   P o d   c a n   p r o c e s s   m u l t i p l e   w o r k   i t e m s .   W h e n   t h e   n u m b e r   o f   P o d s   e q u a l s   t h e   n u m b e r   o f   w o r k   i t e m s ,   t h e   P o d s   t y p i c a l l y   r e q u i r e s   l e s s   m o d i f i c a t i o n   t o   e x i s t i n g   c o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14668"
  },
  {
    "question": "What is Suspending a Job?",
    "answer": "W h e n   a   J o b   i s   c r e a t e d ,   t h e   J o b   c o n t r o l l e r   w i l l   i m m e d i a t e l y   b e g i n   c r e a t i n g   P o d s   t o   s a t i s f y   t h e   J o b ' s   r e q u i r e m e n t s   a n d   w i l l   c o n t i n u e   t o   d o   s o   u n t i l   t h e   J o b   i s   c o m p l e t e .   H o w e v e r ,   y o u   m a y   w a n t   t o   t e m p o r a r i l y   s u s p e n d   a   J o b ' s   e x e c u t i o n   a n d   r e s u m e   i t   l a t e r ,   o r   s t a r t   J o b s   i n   s u s p e n d e d   s t a t e   a n d   h a v e   a   c u s t o m   c o n t r o l l e r   d e c i d e   l a t e r   w h e n   t o   s t a r t   t h e m .   T o   s u s p e n d   a   J o b ,   y o u   c a n   u p d a t e   t h e   . s p e c . s u s p e n d   f i e l d   o f   t h e   J o b   t o   t r u e ;   l a t e r ,   w h e n   y o u   w a n t   t o   r e s u m e   i t   a g a i n ,   u p d a t e   i t   t o   f a l s e .   C r e a t i n g   a   J o b   w i t h   . s p e c . s u s p e n d   s e t   t o   t r u e   w i l l   c r e a t e   i t   i n   t h e   s u s p e n d e d   s t a t e .   W h e n   a   J o b   i s   r e s u m e d   f r o m   s u s p e n s i o n ,   i t s   . s t a t u s . s t a r t T i m e   f i e l d   w i l l   b e   r e s e t   t o   t h e   c u r r e n t   t i m e .   T h i s   m e a n s   t h a t   t h e   . s p e c . a c t i v e D e a d l i n e S e c o n d s   t i m e r   w i l l   b e   s t o p p e d   a n d   r e s e t   w h e n   a   J o b   i s   s u s p e n d e d   a n d   r e s u m e d .   W h e n   y o u   s u s p e n d   a   J o b ,   a n y   r u n n i n g   P o d s   t h a t   d o n ' t   h a v e   a   s t a t u s   o f   C o m p l e t e d   w i l l   b e   t e r m i n a t e d   w i t h   a   S I G T E R M   s i g n a l .   T h e   P o d ' s   g r a c e f u l   t e r m i n a t i o n   p e r i o d   w i l l   b e   h o n o r e d   a n d   y o u r   P o d   m u s t   h a n d l e   t h i s   s i g n a l   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14669"
  },
  {
    "question": "What is Mutable Scheduling Directives?",
    "answer": "I n   m o s t   c a s e s ,   a   p a r a l l e l   j o b   w i l l   w a n t   t h e   p o d s   t o   r u n   w i t h   c o n s t r a i n t s ,   l i k e   a l l   i n   t h e   s a m e   z o n e ,   o r   a l l   e i t h e r   o n   G P U   m o d e l   x   o r   y   b u t   n o t   a   m i x   o f   b o t h .   T h e   s u s p e n d   f i e l d   i s   t h e   f i r s t   s t e p   t o w a r d s   a c h i e v i n g   t h o s e   s e m a n t i c s .   S u s p e n d   a l l o w s   a   c u s t o m   q u e u e   c o n t r o l l e r   t o   d e c i d e   w h e n   a   j o b   s h o u l d   s t a r t ;   H o w e v e r ,   o n c e   a   j o b   i s   u n s u s p e n d e d ,   a   c u s t o m   q u e u e   c o n t r o l l e r   h a s   n o   i n f l u e n c e   o n   w h e r e   t h e   p o d s   o f   a   j o b   w i l l   a c t u a l l y   l a n d .   T h i s   f e a t u r e   a l l o w s   u p d a t i n g   a   J o b ' s   s c h e d u l i n g   d i r e c t i v e s   b e f o r e   i t   s t a r t s ,   w h i c h   g i v e s   c u s t o m   q u e u e   c o n t r o l l e r s   t h e   a b i l i t y   t o   i n f l u e n c e   p o d   p l a c e m e n t   w h i l e   a t   t h e   s a m e   t i m e   o f f l o a d i n g   a c t u a l   p o d - t o - n o d e   a s s i g n m e n t   t o   k u b e - s c h e d u l e r .   T h i s   i s   a l l o w e d   o n l y   f o r   s u s p e n d e d   J o b s   t h a t   h a v e   n e v e r   b e e n   u n s u s p e n d e d   b e f o r e .   T h e   f i e l d s   i n   a   J o b ' s   p o d   t e m p l a t e   t h a t   c a n   b e   u p d a t e d   a r e   n o d e   a f f i n i t y ,   n o d e   s e l e c t o r ,   t o l e r a t i o n s ,   l a b e l s ,   a n n o t a t i o n s   a n d   s c h e d u l i n g   g a t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14670"
  },
  {
    "question": "What is Specifying your own Pod selector?",
    "answer": "N o r m a l l y ,   w h e n   y o u   c r e a t e   a   J o b   o b j e c t ,   y o u   d o   n o t   s p e c i f y   . s p e c . s e l e c t o r .   T h e   s y s t e m   d e f a u l t i n g   l o g i c   a d d s   t h i s   f i e l d   w h e n   t h e   J o b   i s   c r e a t e d .   I t   p i c k s   a   s e l e c t o r   v a l u e   t h a t   w i l l   n o t   o v e r l a p   w i t h   a n y   o t h e r   j o b s .   H o w e v e r ,   i n   s o m e   c a s e s ,   y o u   m i g h t   n e e d   t o   o v e r r i d e   t h i s   a u t o m a t i c a l l y   s e t   s e l e c t o r .   T o   d o   t h i s ,   y o u   c a n   s p e c i f y   t h e   . s p e c . s e l e c t o r   o f   t h e   J o b .   B e   v e r y   c a r e f u l   w h e n   d o i n g   t h i s .   I f   y o u   s p e c i f y   a   l a b e l   s e l e c t o r   w h i c h   i s   n o t   u n i q u e   t o   t h e   p o d s   o f   t h a t   J o b ,   a n d   w h i c h   m a t c h e s   u n r e l a t e d   P o d s ,   t h e n   p o d s   o f   t h e   u n r e l a t e d   j o b   m a y   b e   d e l e t e d ,   o r   t h i s   J o b   m a y   c o u n t   o t h e r   P o d s   a s   c o m p l e t i n g   i t ,   o r   o n e   o r   b o t h   J o b s   m a y   r e f u s e   t o   c r e a t e   P o d s   o r   r u n   t o   c o m p l e t i o n .   I f   a   n o n - u n i q u e   s e l e c t o r   i s   c h o s e n ,   t h e n   o t h e r   c o n t r o l l e r s   ( e . g .   R e p l i c a t i o n C o n t r o l l e r )   a n d   t h e i r   P o d s   m a y   b e h a v e   i n   u n p r e d i c t a b l e   w a y s   t o o .   K u b e r n e t e s   w i l l   n o t   s t o p   y o u   f r o m   m a k i n g   a   m i s t a k e   w h e n   s p e c i f y i n g   . s p e c . s e l e c t o r .   H e r e   i s   a n   e x a m p l e   o f   a   c a s e   w h e n   y o u   m i g h t   w a n t   t o   u s e   t h i s   f e a t u r e .   S a y   J o b   o l d   i s   a l r e a d y   r u n n i n g .   Y o u   w a n t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14671"
  },
  {
    "question": "What is Job tracking with finalizers?",
    "answer": "T h e   c o n t r o l   p l a n e   k e e p s   t r a c k   o f   t h e   P o d s   t h a t   b e l o n g   t o   a n y   J o b   a n d   n o t i c e s   i f   a n y   s u c h   P o d   i s   r e m o v e d   f r o m   t h e   A P I   s e r v e r .   T o   d o   t h a t ,   t h e   J o b   c o n t r o l l e r   c r e a t e s   P o d s   w i t h   t h e   f i n a l i z e r   b a t c h . k u b e r n e t e s . i o / j o b - t r a c k i n g .   T h e   c o n t r o l l e r   r e m o v e s   t h e   f i n a l i z e r   o n l y   a f t e r   t h e   P o d   h a s   b e e n   a c c o u n t e d   f o r   i n   t h e   J o b   s t a t u s ,   a l l o w i n g   t h e   P o d   t o   b e   r e m o v e d   b y   o t h e r   c o n t r o l l e r s   o r   u s e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14672"
  },
  {
    "question": "What is Elastic Indexed Jobs?",
    "answer": "Y o u   c a n   s c a l e   I n d e x e d   J o b s   u p   o r   d o w n   b y   m u t a t i n g   b o t h   . s p e c . p a r a l l e l i s m   a n d   . s p e c . c o m p l e t i o n s   t o g e t h e r   s u c h   t h a t   . s p e c . p a r a l l e l i s m   = =   . s p e c . c o m p l e t i o n s .   W h e n   s c a l i n g   d o w n ,   K u b e r n e t e s   r e m o v e s   t h e   P o d s   w i t h   h i g h e r   i n d e x e s .   U s e   c a s e s   f o r   e l a s t i c   I n d e x e d   J o b s   i n c l u d e   b a t c h   w o r k l o a d s   w h i c h   r e q u i r e   s c a l i n g   a n   i n d e x e d   J o b ,   s u c h   a s   M P I ,   H o r o v o d ,   R a y ,   a n d   P y T o r c h   t r a i n i n g   j o b s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14673"
  },
  {
    "question": "What is Delayed creation of replacement pods?",
    "answer": "B y   d e f a u l t ,   t h e   J o b   c o n t r o l l e r   r e c r e a t e s   P o d s   a s   s o o n   t h e y   e i t h e r   f a i l   o r   a r e   t e r m i n a t i n g   ( h a v e   a   d e l e t i o n   t i m e s t a m p ) .   T h i s   m e a n s   t h a t ,   a t   a   g i v e n   t i m e ,   w h e n   s o m e   o f   t h e   P o d s   a r e   t e r m i n a t i n g ,   t h e   n u m b e r   o f   r u n n i n g   P o d s   f o r   a   J o b   c a n   b e   g r e a t e r   t h a n   p a r a l l e l i s m   o r   g r e a t e r   t h a n   o n e   P o d   p e r   i n d e x   ( i f   y o u   a r e   u s i n g   a n   I n d e x e d   J o b ) .   Y o u   m a y   c h o o s e   t o   c r e a t e   r e p l a c e m e n t   P o d s   o n l y   w h e n   t h e   t e r m i n a t i n g   P o d   i s   f u l l y   t e r m i n a l   ( h a s   s t a t u s . p h a s e :   F a i l e d ) .   T o   d o   t h i s ,   s e t   t h e   . s p e c . p o d R e p l a c e m e n t P o l i c y :   F a i l e d .   T h e   d e f a u l t   r e p l a c e m e n t   p o l i c y   d e p e n d s   o n   w h e t h e r   t h e   J o b   h a s   a   p o d F a i l u r e P o l i c y   s e t .   W i t h   n o   P o d   f a i l u r e   p o l i c y   d e f i n e d   f o r   a   J o b ,   o m i t t i n g   t h e   p o d R e p l a c e m e n t P o l i c y   f i e l d   s e l e c t s   t h e   T e r m i n a t i n g O r F a i l e d   r e p l a c e m e n t   p o l i c y :   t h e   c o n t r o l   p l a n e   c r e a t e s   r e p l a c e m e n t   P o d s   i m m e d i a t e l y   u p o n   P o d   d e l e t i o n   ( a s   s o o n   a s   t h e   c o n t r o l   p l a n e   s e e s   t h a t   a   P o d   f o r   t h i s   J o b   h a s   d e l e t i o n T i m e s t a m p   s e t ) .   F o r   J o b s   w i t h   a   P o d   f a i l u r e   p o l i c y   s e t ,   t h e   d e f a u l t   p o d R e p l a c e m e n t P o l i c y   i s   F a i l e d ,   a n d   n o   o t h e r   v a l u e   i s   p e r m i t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14674"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   f e a t u r e   a l l o w s   y o u   t o   d i s a b l e   t h e   b u i l t - i n   J o b   c o n t r o l l e r ,   f o r   a   s p e c i f i c   J o b ,   a n d   d e l e g a t e   r e c o n c i l i a t i o n   o f   t h e   J o b   t o   a n   e x t e r n a l   c o n t r o l l e r .   Y o u   i n d i c a t e   t h e   c o n t r o l l e r   t h a t   r e c o n c i l e s   t h e   J o b   b y   s e t t i n g   a   c u s t o m   v a l u e   f o r   t h e   s p e c . m a n a g e d B y   f i e l d   -   a n y   v a l u e   o t h e r   t h a n   k u b e r n e t e s . i o / j o b - c o n t r o l l e r .   T h e   v a l u e   o f   t h e   f i e l d   i s   i m m u t a b l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14675"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   d e v e l o p i n g   a n   e x t e r n a l   J o b   c o n t r o l l e r   b e   a w a r e   t h a t   y o u r   c o n t r o l l e r   n e e d s   t o   o p e r a t e   i n   a   f a s h i o n   c o n f o r m a n t   w i t h   t h e   d e f i n i t i o n s   o f   t h e   A P I   s p e c   a n d   s t a t u s   f i e l d s   o f   t h e   J o b   o b j e c t .   P l e a s e   r e v i e w   t h e s e   i n   d e t a i l   i n   t h e   J o b   A P I .   W e   a l s o   r e c o m m e n d   t h a t   y o u   r u n   t h e   e 2 e   c o n f o r m a n c e   t e s t s   f o r   t h e   J o b   o b j e c t   t o   v e r i f y   y o u r   i m p l e m e n t a t i o n .   F i n a l l y ,   w h e n   d e v e l o p i n g   a n   e x t e r n a l   J o b   c o n t r o l l e r   m a k e   s u r e   i t   d o e s   n o t   u s e   t h e   b a t c h . k u b e r n e t e s . i o / j o b - t r a c k i n g   f i n a l i z e r ,   r e s e r v e d   f o r   t h e   b u i l t - i n   c o n t r o l l e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14676"
  },
  {
    "question": "What is Bare Pods?",
    "answer": "W h e n   t h e   n o d e   t h a t   a   P o d   i s   r u n n i n g   o n   r e b o o t s   o r   f a i l s ,   t h e   p o d   i s   t e r m i n a t e d   a n d   w i l l   n o t   b e   r e s t a r t e d .   H o w e v e r ,   a   J o b   w i l l   c r e a t e   n e w   P o d s   t o   r e p l a c e   t e r m i n a t e d   o n e s .   F o r   t h i s   r e a s o n ,   w e   r e c o m m e n d   t h a t   y o u   u s e   a   J o b   r a t h e r   t h a n   a   b a r e   P o d ,   e v e n   i f   y o u r   a p p l i c a t i o n   r e q u i r e s   o n l y   a   s i n g l e   P o d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14677"
  },
  {
    "question": "What is Replication Controller?",
    "answer": "J o b s   a r e   c o m p l e m e n t a r y   t o   R e p l i c a t i o n   C o n t r o l l e r s .   A   R e p l i c a t i o n   C o n t r o l l e r   m a n a g e s   P o d s   w h i c h   a r e   n o t   e x p e c t e d   t o   t e r m i n a t e   ( e . g .   w e b   s e r v e r s ) ,   a n d   a   J o b   m a n a g e s   P o d s   t h a t   a r e   e x p e c t e d   t o   t e r m i n a t e   ( e . g .   b a t c h   t a s k s ) .   A s   d i s c u s s e d   i n   P o d   L i f e c y c l e ,   J o b   i s   o n l y   a p p r o p r i a t e   f o r   p o d s   w i t h   R e s t a r t P o l i c y   e q u a l   t o   O n F a i l u r e   o r   N e v e r .   ( N o t e :   I f   R e s t a r t P o l i c y   i s   n o t   s e t ,   t h e   d e f a u l t   v a l u e   i s   A l w a y s . )",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14678"
  },
  {
    "question": "What is Single Job starts controller Pod?",
    "answer": "A n o t h e r   p a t t e r n   i s   f o r   a   s i n g l e   J o b   t o   c r e a t e   a   P o d   w h i c h   t h e n   c r e a t e s   o t h e r   P o d s ,   a c t i n g   a s   a   s o r t   o f   c u s t o m   c o n t r o l l e r   f o r   t h o s e   P o d s .   T h i s   a l l o w s   t h e   m o s t   f l e x i b i l i t y ,   b u t   m a y   b e   s o m e w h a t   c o m p l i c a t e d   t o   g e t   s t a r t e d   w i t h   a n d   o f f e r s   l e s s   i n t e g r a t i o n   w i t h   K u b e r n e t e s .   O n e   e x a m p l e   o f   t h i s   p a t t e r n   w o u l d   b e   a   J o b   w h i c h   s t a r t s   a   P o d   w h i c h   r u n s   a   s c r i p t   t h a t   i n   t u r n   s t a r t s   a   S p a r k   m a s t e r   c o n t r o l l e r   ( s e e   s p a r k   e x a m p l e ) ,   r u n s   a   s p a r k   d r i v e r ,   a n d   t h e n   c l e a n s   u p .   A n   a d v a n t a g e   o f   t h i s   a p p r o a c h   i s   t h a t   t h e   o v e r a l l   p r o c e s s   g e t s   t h e   c o m p l e t i o n   g u a r a n t e e   o f   a   J o b   o b j e c t ,   b u t   m a i n t a i n s   c o m p l e t e   c o n t r o l   o v e r   w h a t   P o d s   a r e   c r e a t e d   a n d   h o w   w o r k   i s   a s s i g n e d   t o   t h e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14679"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   P o d s . R e a d   a b o u t   d i f f e r e n t   w a y s   o f   r u n n i n g   J o b s : C o a r s e   P a r a l l e l   P r o c e s s i n g   U s i n g   a   W o r k   Q u e u e F i n e   P a r a l l e l   P r o c e s s i n g   U s i n g   a   W o r k   Q u e u e U s e   a n   i n d e x e d   J o b   f o r   p a r a l l e l   p r o c e s s i n g   w i t h   s t a t i c   w o r k   a s s i g n m e n t C r e a t e   m u l t i p l e   J o b s   b a s e d   o n   a   t e m p l a t e :   P a r a l l e l   P r o c e s s i n g   u s i n g   E x p a n s i o n s F o l l o w   t h e   l i n k s   w i t h i n   C l e a n   u p   f i n i s h e d   j o b s   a u t o m a t i c a l l y   t o   l e a r n   m o r e   a b o u t   h o w   y o u r   c l u s t e r   c a n   c l e a n   u p   c o m p l e t e d   a n d   /   o r   f a i l e d   t a s k s . J o b   i s   p a r t   o f   t h e   K u b e r n e t e s   R E S T   A P I .   R e a d   t h e   J o b   o b j e c t   d e f i n i t i o n   t o   u n d e r s t a n d   t h e   A P I   f o r   j o b s . R e a d   a b o u t   C r o n J o b ,   w h i c h   y o u   c a n   u s e   t o   d e f i n e   a   s e r i e s   o f   J o b s   t h a t   w i l l   r u n   b a s e d   o n   a   s c h e d u l e ,   s i m i l a r   t o   t h e   U N I X   t o o l   c r o n . P r a c t i c e   h o w   t o   c o n f i g u r e   h a n d l i n g   o f   r e t r i a b l e   a n d   n o n - r e t r i a b l e   p o d   f a i l u r e s   u s i n g   p o d F a i l u r e P o l i c y ,   b a s e d   o n   t h e   s t e p - b y - s t e p   e x a m p l e s .   C o a r s e   P a r a l l e l   P r o c e s s i n g   U s i n g   a   W o r k   Q u e u e F i n e   P a r a l l e l   P r o c e s s i n g   U s i n g   a   W o r k   Q u e u e U s e   a n   i n d e x e d   J o b   f o r   p a r a l l e l   p r o c e s s i n g   w i t h   s t a t i c   w o r k   a s s i g n m e n t C r e a t e   m u l t i p l e   J o b s   b a s e d   o n   a   t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14680"
  },
  {
    "question": "What is 2.6 - Automatic Cleanup for Finished Jobs?",
    "answer": "W h e n   y o u r   J o b   h a s   f i n i s h e d ,   i t ' s   u s e f u l   t o   k e e p   t h a t   J o b   i n   t h e   A P I   ( a n d   n o t   i m m e d i a t e l y   d e l e t e   t h e   J o b )   s o   t h a t   y o u   c a n   t e l l   w h e t h e r   t h e   J o b   s u c c e e d e d   o r   f a i l e d .   K u b e r n e t e s '   T T L - a f t e r - f i n i s h e d   c o n t r o l l e r   p r o v i d e s   a   T T L   ( t i m e   t o   l i v e )   m e c h a n i s m   t o   l i m i t   t h e   l i f e t i m e   o f   J o b   o b j e c t s   t h a t   h a v e   f i n i s h e d   e x e c u t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_1_14681"
  },
  {
    "question": "What is Cleanup for finished Jobs?",
    "answer": "T h e   T T L - a f t e r - f i n i s h e d   c o n t r o l l e r   i s   o n l y   s u p p o r t e d   f o r   J o b s .   Y o u   c a n   u s e   t h i s   m e c h a n i s m   t o   c l e a n   u p   f i n i s h e d   J o b s   ( e i t h e r   C o m p l e t e   o r   F a i l e d )   a u t o m a t i c a l l y   b y   s p e c i f y i n g   t h e   . s p e c . t t l S e c o n d s A f t e r F i n i s h e d   f i e l d   o f   a   J o b ,   a s   i n   t h i s   e x a m p l e .   T h e   T T L - a f t e r - f i n i s h e d   c o n t r o l l e r   a s s u m e s   t h a t   a   J o b   i s   e l i g i b l e   t o   b e   c l e a n e d   u p   T T L   s e c o n d s   a f t e r   t h e   J o b   h a s   f i n i s h e d .   T h e   t i m e r   s t a r t s   o n c e   t h e   s t a t u s   c o n d i t i o n   o f   t h e   J o b   c h a n g e s   t o   s h o w   t h a t   t h e   J o b   i s   e i t h e r   C o m p l e t e   o r   F a i l e d ;   o n c e   t h e   T T L   h a s   e x p i r e d ,   t h a t   J o b   b e c o m e s   e l i g i b l e   f o r   c a s c a d i n g   r e m o v a l .   W h e n   t h e   T T L - a f t e r - f i n i s h e d   c o n t r o l l e r   c l e a n s   u p   a   j o b ,   i t   w i l l   d e l e t e   i t   c a s c a d i n g l y ,   t h a t   i s   t o   s a y   i t   w i l l   d e l e t e   i t s   d e p e n d e n t   o b j e c t s   t o g e t h e r   w i t h   i t .   K u b e r n e t e s   h o n o r s   o b j e c t   l i f e c y c l e   g u a r a n t e e s   o n   t h e   J o b ,   s u c h   a s   w a i t i n g   f o r   f i n a l i z e r s .   Y o u   c a n   s e t   t h e   T T L   s e c o n d s   a t   a n y   t i m e .   H e r e   a r e   s o m e   e x a m p l e s   f o r   s e t t i n g   t h e   . s p e c . t t l S e c o n d s A f t e r F i n i s h e d   f i e l d   o f   a   J o b :   S p e c i f y   t h i s   f i e l d   i n   t h e   J o b   m a n i f e s t ,   s o   t h a t   a   J o b   c a n   b e   c l e a n e d   u p   a u t o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14682"
  },
  {
    "question": "What is Updating TTL for finished Jobs?",
    "answer": "Y o u   c a n   m o d i f y   t h e   T T L   p e r i o d ,   e . g .   . s p e c . t t l S e c o n d s A f t e r F i n i s h e d   f i e l d   o f   J o b s ,   a f t e r   t h e   j o b   i s   c r e a t e d   o r   h a s   f i n i s h e d .   I f   y o u   e x t e n d   t h e   T T L   p e r i o d   a f t e r   t h e   e x i s t i n g   t t l S e c o n d s A f t e r F i n i s h e d   p e r i o d   h a s   e x p i r e d ,   K u b e r n e t e s   d o e s n ' t   g u a r a n t e e   t o   r e t a i n   t h a t   J o b ,   e v e n   i f   a n   u p d a t e   t o   e x t e n d   t h e   T T L   r e t u r n s   a   s u c c e s s f u l   A P I   r e s p o n s e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14683"
  },
  {
    "question": "What is Time skew?",
    "answer": "B e c a u s e   t h e   T T L - a f t e r - f i n i s h e d   c o n t r o l l e r   u s e s   t i m e s t a m p s   s t o r e d   i n   t h e   K u b e r n e t e s   j o b s   t o   d e t e r m i n e   w h e t h e r   t h e   T T L   h a s   e x p i r e d   o r   n o t ,   t h i s   f e a t u r e   i s   s e n s i t i v e   t o   t i m e   s k e w   i n   y o u r   c l u s t e r ,   w h i c h   m a y   c a u s e   t h e   c o n t r o l   p l a n e   t o   c l e a n   u p   J o b   o b j e c t s   a t   t h e   w r o n g   t i m e .   C l o c k s   a r e n ' t   a l w a y s   c o r r e c t ,   b u t   t h e   d i f f e r e n c e   s h o u l d   b e   v e r y   s m a l l .   P l e a s e   b e   a w a r e   o f   t h i s   r i s k   w h e n   s e t t i n g   a   n o n - z e r o   T T L .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14684"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   C l e a n   u p   J o b s   a u t o m a t i c a l l y R e f e r   t o   t h e   K u b e r n e t e s   E n h a n c e m e n t   P r o p o s a l   ( K E P )   f o r   a d d i n g   t h i s   m e c h a n i s m .   R e a d   C l e a n   u p   J o b s   a u t o m a t i c a l l y   R e f e r   t o   t h e   K u b e r n e t e s   E n h a n c e m e n t   P r o p o s a l   ( K E P )   f o r   a d d i n g   t h i s   m e c h a n i s m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14685"
  },
  {
    "question": "What is 2.7 - CronJob?",
    "answer": "A   C r o n J o b   c r e a t e s   J o b s   o n   a   r e p e a t i n g   s c h e d u l e .   C r o n J o b   i s   m e a n t   f o r   p e r f o r m i n g   r e g u l a r   s c h e d u l e d   a c t i o n s   s u c h   a s   b a c k u p s ,   r e p o r t   g e n e r a t i o n ,   a n d   s o   o n .   O n e   C r o n J o b   o b j e c t   i s   l i k e   o n e   l i n e   o f   a   c r o n t a b   ( c r o n   t a b l e )   f i l e   o n   a   U n i x   s y s t e m .   I t   r u n s   a   J o b   p e r i o d i c a l l y   o n   a   g i v e n   s c h e d u l e ,   w r i t t e n   i n   C r o n   f o r m a t .   C r o n J o b s   h a v e   l i m i t a t i o n s   a n d   i d i o s y n c r a s i e s .   F o r   e x a m p l e ,   i n   c e r t a i n   c i r c u m s t a n c e s ,   a   s i n g l e   C r o n J o b   c a n   c r e a t e   m u l t i p l e   c o n c u r r e n t   J o b s .   S e e   t h e   l i m i t a t i o n s   b e l o w .   W h e n   t h e   c o n t r o l   p l a n e   c r e a t e s   n e w   J o b s   a n d   ( i n d i r e c t l y )   P o d s   f o r   a   C r o n J o b ,   t h e   . m e t a d a t a . n a m e   o f   t h e   C r o n J o b   i s   p a r t   o f   t h e   b a s i s   f o r   n a m i n g   t h o s e   P o d s .   T h e   n a m e   o f   a   C r o n J o b   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   v a l u e ,   b u t   t h i s   c a n   p r o d u c e   u n e x p e c t e d   r e s u l t s   f o r   t h e   P o d   h o s t n a m e s .   F o r   b e s t   c o m p a t i b i l i t y ,   t h e   n a m e   s h o u l d   f o l l o w   t h e   m o r e   r e s t r i c t i v e   r u l e s   f o r   a   D N S   l a b e l .   E v e n   w h e n   t h e   n a m e   i s   a   D N S   s u b d o m a i n ,   t h e   n a m e   m u s t   b e   n o   l o n g e r   t h a n   5 2   c h a r a c t e r s .   T h i s   i s   b e c a u s e   t h e   C r o n J o b   c o n t r o l l e r   w i l l   a u t o m a t i c a l l y   a p p e n d   1 1   c h ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_1_14686"
  },
  {
    "question": "What is Example?",
    "answer": "T h i s   e x a m p l e   C r o n J o b   m a n i f e s t   p r i n t s   t h e   c u r r e n t   t i m e   a n d   a   h e l l o   m e s s a g e   e v e r y   m i n u t e :   a p i V e r s i o n :   b a t c h / v 1   k i n d :   C r o n J o b   m e t a d a t a :   n a m e :   h e l l o   s p e c :   s c h e d u l e :   \" *   *   *   *   * \"   j o b T e m p l a t e :   s p e c :   t e m p l a t e :   s p e c :   c o n t a i n e r s :   -   n a m e :   h e l l o   i m a g e :   b u s y b o x : 1 . 2 8   i m a g e P u l l P o l i c y :   I f N o t P r e s e n t   c o m m a n d :   -   / b i n / s h   -   - c   -   d a t e ;   e c h o   H e l l o   f r o m   t h e   K u b e r n e t e s   c l u s t e r   r e s t a r t P o l i c y :   O n F a i l u r e   ( R u n n i n g   A u t o m a t e d   T a s k s   w i t h   a   C r o n J o b   t a k e s   y o u   t h r o u g h   t h i s   e x a m p l e   i n   m o r e   d e t a i l ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14687"
  },
  {
    "question": "What is Schedule syntax?",
    "answer": "T h e   . s p e c . s c h e d u l e   f i e l d   i s   r e q u i r e d .   T h e   v a l u e   o f   t h a t   f i e l d   f o l l o w s   t h e   C r o n   s y n t a x :   #   ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─   m i n u t e   ( 0   -   5 9 )   #   │   ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─   h o u r   ( 0   -   2 3 )   #   │   │   ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─   d a y   o f   t h e   m o n t h   ( 1   -   3 1 )   #   │   │   │   ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─   m o n t h   ( 1   -   1 2 )   #   │   │   │   │   ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─   d a y   o f   t h e   w e e k   ( 0   -   6 )   ( S u n d a y   t o   S a t u r d a y )   #   │   │   │   │   │   O R   s u n ,   m o n ,   t u e ,   w e d ,   t h u ,   f r i ,   s a t   #   │   │   │   │   │   #   │   │   │   │   │   #   *   *   *   *   *   F o r   e x a m p l e ,   0   3   *   *   1   m e a n s   t h i s   t a s k   i s   s c h e d u l e d   t o   r u n   w e e k l y   o n   a   M o n d a y   a t   3   A M .   T h e   f o r m a t   a l s o   i n c l u d e s   e x t e n d e d   \" V i x i e   c r o n \"   s t e p   v a l u e s .   A s   e x p l a i n e d   i n   t h e   F r e e B S D   m a n u a l :   S t e p   v a l u e s   c a n   b e   u s e d   i n   c o n j u n c t i o n   w i t h   r a n g e s .   F o l l o w i n g   a   r a n g e   w i t h   / < n u m b e r >   s p e c i f i e s   s k i p s   o f   t h e   n u m b e r ' s   v a l u e   t h r o u g h   t h e   r a n g e .   F o r   e x a m p l e ,   0 - 2 3 / 2   c a n   b e   u s e d   i n   t h e   h o u r s   f i e l d   t o   s p e c i f y   c o m m a n d   e x e c u t i o n   e v e r y   o t h e r   h o u r   ( t h e   a l t e r n a t i v e   i n   t h e   V 7   s t a n d a r d   i s   0 , 2 , 4 , 6 , 8 , 1 0 , 1 2 , 1 4 , 1 6 , 1 8 , 2 0 , 2 2 ) .   S t e p s   a r e   a l s o   p e r m i t t e d   a f t e r   a n   a s t e r i s k ,   s o   i f   y o u   w a n t   t o   s a y   \" e v e r y   t w o   h o u r s \" ,   j u s t   u s e   * / 2 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14688"
  },
  {
    "question": "What is Note:?",
    "answer": "O t h e r   t h a n   t h e   s t a n d a r d   s y n t a x ,   s o m e   m a c r o s   l i k e   @ m o n t h l y   c a n   a l s o   b e   u s e d :   T o   g e n e r a t e   C r o n J o b   s c h e d u l e   e x p r e s s i o n s ,   y o u   c a n   a l s o   u s e   w e b   t o o l s   l i k e   c r o n t a b . g u r u .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14689"
  },
  {
    "question": "What is Job template?",
    "answer": "T h e   . s p e c . j o b T e m p l a t e   d e f i n e s   a   t e m p l a t e   f o r   t h e   J o b s   t h a t   t h e   C r o n J o b   c r e a t e s ,   a n d   i t   i s   r e q u i r e d .   I t   h a s   e x a c t l y   t h e   s a m e   s c h e m a   a s   a   J o b ,   e x c e p t   t h a t   i t   i s   n e s t e d   a n d   d o e s   n o t   h a v e   a n   a p i V e r s i o n   o r   k i n d .   Y o u   c a n   s p e c i f y   c o m m o n   m e t a d a t a   f o r   t h e   t e m p l a t e d   J o b s ,   s u c h   a s   l a b e l s   o r   a n n o t a t i o n s .   F o r   i n f o r m a t i o n   a b o u t   w r i t i n g   a   J o b   . s p e c ,   s e e   W r i t i n g   a   J o b   S p e c .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14690"
  },
  {
    "question": "What is Deadline for delayed Job start?",
    "answer": "T h e   . s p e c . s t a r t i n g D e a d l i n e S e c o n d s   f i e l d   i s   o p t i o n a l .   T h i s   f i e l d   d e f i n e s   a   d e a d l i n e   ( i n   w h o l e   s e c o n d s )   f o r   s t a r t i n g   t h e   J o b ,   i f   t h a t   J o b   m i s s e s   i t s   s c h e d u l e d   t i m e   f o r   a n y   r e a s o n .   A f t e r   m i s s i n g   t h e   d e a d l i n e ,   t h e   C r o n J o b   s k i p s   t h a t   i n s t a n c e   o f   t h e   J o b   ( f u t u r e   o c c u r r e n c e s   a r e   s t i l l   s c h e d u l e d ) .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   b a c k u p   J o b   t h a t   r u n s   t w i c e   a   d a y ,   y o u   m i g h t   a l l o w   i t   t o   s t a r t   u p   t o   8   h o u r s   l a t e ,   b u t   n o   l a t e r ,   b e c a u s e   a   b a c k u p   t a k e n   a n y   l a t e r   w o u l d n ' t   b e   u s e f u l :   y o u   w o u l d   i n s t e a d   p r e f e r   t o   w a i t   f o r   t h e   n e x t   s c h e d u l e d   r u n .   F o r   J o b s   t h a t   m i s s   t h e i r   c o n f i g u r e d   d e a d l i n e ,   K u b e r n e t e s   t r e a t s   t h e m   a s   f a i l e d   J o b s .   I f   y o u   d o n ' t   s p e c i f y   s t a r t i n g D e a d l i n e S e c o n d s   f o r   a   C r o n J o b ,   t h e   J o b   o c c u r r e n c e s   h a v e   n o   d e a d l i n e .   I f   t h e   . s p e c . s t a r t i n g D e a d l i n e S e c o n d s   f i e l d   i s   s e t   ( n o t   n u l l ) ,   t h e   C r o n J o b   c o n t r o l l e r   m e a s u r e s   t h e   t i m e   b e t w e e n   w h e n   a   J o b   i s   e x p e c t e d   t o   b e   c r e a t e d   a n d   n o w .   I f   t h e   d i f f e r e n c e   i s   h i g h e r   t h a n   t h a t   l i m i t ,   i t   w i l l   s k i p   t h i s   e x e c u t i o n .   F o r   e x a m p l e ,   i f   i t   i s   s e t   t o   2 0 0 ,   i t   a l l o w s   a   J o b   t o   b e   c r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14691"
  },
  {
    "question": "What is Concurrency policy?",
    "answer": "T h e   . s p e c . c o n c u r r e n c y P o l i c y   f i e l d   i s   a l s o   o p t i o n a l .   I t   s p e c i f i e s   h o w   t o   t r e a t   c o n c u r r e n t   e x e c u t i o n s   o f   a   J o b   t h a t   i s   c r e a t e d   b y   t h i s   C r o n J o b .   T h e   s p e c   m a y   s p e c i f y   o n l y   o n e   o f   t h e   f o l l o w i n g   c o n c u r r e n c y   p o l i c i e s :   A l l o w   ( d e f a u l t ) :   T h e   C r o n J o b   a l l o w s   c o n c u r r e n t l y   r u n n i n g   J o b s F o r b i d :   T h e   C r o n J o b   d o e s   n o t   a l l o w   c o n c u r r e n t   r u n s ;   i f   i t   i s   t i m e   f o r   a   n e w   J o b   r u n   a n d   t h e   p r e v i o u s   J o b   r u n   h a s n ' t   f i n i s h e d   y e t ,   t h e   C r o n J o b   s k i p s   t h e   n e w   J o b   r u n .   A l s o   n o t e   t h a t   w h e n   t h e   p r e v i o u s   J o b   r u n   f i n i s h e s ,   . s p e c . s t a r t i n g D e a d l i n e S e c o n d s   i s   s t i l l   t a k e n   i n t o   a c c o u n t   a n d   m a y   r e s u l t   i n   a   n e w   J o b   r u n . R e p l a c e :   I f   i t   i s   t i m e   f o r   a   n e w   J o b   r u n   a n d   t h e   p r e v i o u s   J o b   r u n   h a s n ' t   f i n i s h e d   y e t ,   t h e   C r o n J o b   r e p l a c e s   t h e   c u r r e n t l y   r u n n i n g   J o b   r u n   w i t h   a   n e w   J o b   r u n   N o t e   t h a t   c o n c u r r e n c y   p o l i c y   o n l y   a p p l i e s   t o   t h e   J o b s   c r e a t e d   b y   t h e   s a m e   C r o n J o b .   I f   t h e r e   a r e   m u l t i p l e   C r o n J o b s ,   t h e i r   r e s p e c t i v e   J o b s   a r e   a l w a y s   a l l o w e d   t o   r u n   c o n c u r r e n t l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14692"
  },
  {
    "question": "What is Schedule suspension?",
    "answer": "Y o u   c a n   s u s p e n d   e x e c u t i o n   o f   J o b s   f o r   a   C r o n J o b ,   b y   s e t t i n g   t h e   o p t i o n a l   . s p e c . s u s p e n d   f i e l d   t o   t r u e .   T h e   f i e l d   d e f a u l t s   t o   f a l s e .   T h i s   s e t t i n g   d o e s   n o t   a f f e c t   J o b s   t h a t   t h e   C r o n J o b   h a s   a l r e a d y   s t a r t e d .   I f   y o u   d o   s e t   t h a t   f i e l d   t o   t r u e ,   a l l   s u b s e q u e n t   e x e c u t i o n s   a r e   s u s p e n d e d   ( t h e y   r e m a i n   s c h e d u l e d ,   b u t   t h e   C r o n J o b   c o n t r o l l e r   d o e s   n o t   s t a r t   t h e   J o b s   t o   r u n   t h e   t a s k s )   u n t i l   y o u   u n s u s p e n d   t h e   C r o n J o b .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14693"
  },
  {
    "question": "What is Jobs history limits?",
    "answer": "T h e   . s p e c . s u c c e s s f u l J o b s H i s t o r y L i m i t   a n d   . s p e c . f a i l e d J o b s H i s t o r y L i m i t   f i e l d s   s p e c i f y   h o w   m a n y   c o m p l e t e d   a n d   f a i l e d   J o b s   s h o u l d   b e   k e p t .   B o t h   f i e l d s   a r e   o p t i o n a l .   . s p e c . s u c c e s s f u l J o b s H i s t o r y L i m i t :   T h i s   f i e l d   s p e c i f i e s   t h e   n u m b e r   o f   s u c c e s s f u l   f i n i s h e d   j o b s   t o   k e e p .   T h e   d e f a u l t   v a l u e   i s   3 .   S e t t i n g   t h i s   f i e l d   t o   0   w i l l   n o t   k e e p   a n y   s u c c e s s f u l   j o b s . . s p e c . f a i l e d J o b s H i s t o r y L i m i t :   T h i s   f i e l d   s p e c i f i e s   t h e   n u m b e r   o f   f a i l e d   f i n i s h e d   j o b s   t o   k e e p .   T h e   d e f a u l t   v a l u e   i s   1 .   S e t t i n g   t h i s   f i e l d   t o   0   w i l l   n o t   k e e p   a n y   f a i l e d   j o b s .   . s p e c . s u c c e s s f u l J o b s H i s t o r y L i m i t :   T h i s   f i e l d   s p e c i f i e s   t h e   n u m b e r   o f   s u c c e s s f u l   f i n i s h e d   j o b s   t o   k e e p .   T h e   d e f a u l t   v a l u e   i s   3 .   S e t t i n g   t h i s   f i e l d   t o   0   w i l l   n o t   k e e p   a n y   s u c c e s s f u l   j o b s .   . s p e c . f a i l e d J o b s H i s t o r y L i m i t :   T h i s   f i e l d   s p e c i f i e s   t h e   n u m b e r   o f   f a i l e d   f i n i s h e d   j o b s   t o   k e e p .   T h e   d e f a u l t   v a l u e   i s   1 .   S e t t i n g   t h i s   f i e l d   t o   0   w i l l   n o t   k e e p   a n y   f a i l e d   j o b s .   F o r   a n o t h e r   w a y   t o   c l e a n   u p   J o b s   a u t o m a t i c a l l y ,   s e e   C l e a n   u p   f i n i s h e d   J o b s   a u t o m a t i c a l l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14694"
  },
  {
    "question": "What is Time zones?",
    "answer": "F o r   C r o n J o b s   w i t h   n o   t i m e   z o n e   s p e c i f i e d ,   t h e   k u b e - c o n t r o l l e r - m a n a g e r   i n t e r p r e t s   s c h e d u l e s   r e l a t i v e   t o   i t s   l o c a l   t i m e   z o n e .   Y o u   c a n   s p e c i f y   a   t i m e   z o n e   f o r   a   C r o n J o b   b y   s e t t i n g   . s p e c . t i m e Z o n e   t o   t h e   n a m e   o f   a   v a l i d   t i m e   z o n e .   F o r   e x a m p l e ,   s e t t i n g   . s p e c . t i m e Z o n e :   \" E t c / U T C \"   i n s t r u c t s   K u b e r n e t e s   t o   i n t e r p r e t   t h e   s c h e d u l e   r e l a t i v e   t o   C o o r d i n a t e d   U n i v e r s a l   T i m e .   A   t i m e   z o n e   d a t a b a s e   f r o m   t h e   G o   s t a n d a r d   l i b r a r y   i s   i n c l u d e d   i n   t h e   b i n a r i e s   a n d   u s e d   a s   a   f a l l b a c k   i n   c a s e   a n   e x t e r n a l   d a t a b a s e   i s   n o t   a v a i l a b l e   o n   t h e   s y s t e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14695"
  },
  {
    "question": "What is Unsupported TimeZone specification?",
    "answer": "S p e c i f y i n g   a   t i m e z o n e   u s i n g   C R O N _ T Z   o r   T Z   v a r i a b l e s   i n s i d e   . s p e c . s c h e d u l e   i s   n o t   o f f i c i a l l y   s u p p o r t e d   ( a n d   n e v e r   h a s   b e e n ) .   I f   y o u   t r y   t o   s e t   a   s c h e d u l e   t h a t   i n c l u d e s   T Z   o r   C R O N _ T Z   t i m e z o n e   s p e c i f i c a t i o n ,   K u b e r n e t e s   w i l l   f a i l   t o   c r e a t e   o r   u p d a t e   t h e   r e s o u r c e   w i t h   a   v a l i d a t i o n   e r r o r .   Y o u   s h o u l d   s p e c i f y   t i m e   z o n e s   u s i n g   t h e   t i m e   z o n e   f i e l d ,   i n s t e a d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14696"
  },
  {
    "question": "What is Modifying a CronJob?",
    "answer": "B y   d e s i g n ,   a   C r o n J o b   c o n t a i n s   a   t e m p l a t e   f o r   n e w   J o b s .   I f   y o u   m o d i f y   a n   e x i s t i n g   C r o n J o b ,   t h e   c h a n g e s   y o u   m a k e   w i l l   a p p l y   t o   n e w   J o b s   t h a t   s t a r t   t o   r u n   a f t e r   y o u r   m o d i f i c a t i o n   i s   c o m p l e t e .   J o b s   ( a n d   t h e i r   P o d s )   t h a t   h a v e   a l r e a d y   s t a r t e d   c o n t i n u e   t o   r u n   w i t h o u t   c h a n g e s .   T h a t   i s ,   t h e   C r o n J o b   d o e s   n o t   u p d a t e   e x i s t i n g   J o b s ,   e v e n   i f   t h o s e   r e m a i n   r u n n i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14697"
  },
  {
    "question": "What is Job creation?",
    "answer": "A   C r o n J o b   c r e a t e s   a   J o b   o b j e c t   a p p r o x i m a t e l y   o n c e   p e r   e x e c u t i o n   t i m e   o f   i t s   s c h e d u l e .   T h e   s c h e d u l i n g   i s   a p p r o x i m a t e   b e c a u s e   t h e r e   a r e   c e r t a i n   c i r c u m s t a n c e s   w h e r e   t w o   J o b s   m i g h t   b e   c r e a t e d ,   o r   n o   J o b   m i g h t   b e   c r e a t e d .   K u b e r n e t e s   t r i e s   t o   a v o i d   t h o s e   s i t u a t i o n s ,   b u t   d o e s   n o t   c o m p l e t e l y   p r e v e n t   t h e m .   T h e r e f o r e ,   t h e   J o b s   t h a t   y o u   d e f i n e   s h o u l d   b e   i d e m p o t e n t .   S t a r t i n g   w i t h   K u b e r n e t e s   v 1 . 3 2 ,   C r o n J o b s   a p p l y   a n   a n n o t a t i o n   b a t c h . k u b e r n e t e s . i o / c r o n j o b - s c h e d u l e d - t i m e s t a m p   t o   t h e i r   c r e a t e d   J o b s .   T h i s   a n n o t a t i o n   i n d i c a t e s   t h e   o r i g i n a l l y   s c h e d u l e d   c r e a t i o n   t i m e   f o r   t h e   J o b   a n d   i s   f o r m a t t e d   i n   R F C 3 3 3 9 .   I f   s t a r t i n g D e a d l i n e S e c o n d s   i s   s e t   t o   a   l a r g e   v a l u e   o r   l e f t   u n s e t   ( t h e   d e f a u l t )   a n d   i f   c o n c u r r e n c y P o l i c y   i s   s e t   t o   A l l o w ,   t h e   J o b s   w i l l   a l w a y s   r u n   a t   l e a s t   o n c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14698"
  },
  {
    "question": "What is Caution:?",
    "answer": "F o r   e v e r y   C r o n J o b ,   t h e   C r o n J o b   C o n t r o l l e r   c h e c k s   h o w   m a n y   s c h e d u l e s   i t   m i s s e d   i n   t h e   d u r a t i o n   f r o m   i t s   l a s t   s c h e d u l e d   t i m e   u n t i l   n o w .   I f   t h e r e   a r e   m o r e   t h a n   1 0 0   m i s s e d   s c h e d u l e s ,   t h e n   i t   d o e s   n o t   s t a r t   t h e   J o b   a n d   l o g s   t h e   e r r o r .   C a n n o t   d e t e r m i n e   i f   j o b   n e e d s   t o   b e   s t a r t e d .   T o o   m a n y   m i s s e d   s t a r t   t i m e   ( >   1 0 0 ) .   S e t   o r   d e c r e a s e   . s p e c . s t a r t i n g D e a d l i n e S e c o n d s   o r   c h e c k   c l o c k   s k e w .   I t   i s   i m p o r t a n t   t o   n o t e   t h a t   i f   t h e   s t a r t i n g D e a d l i n e S e c o n d s   f i e l d   i s   s e t   ( n o t   n i l ) ,   t h e   c o n t r o l l e r   c o u n t s   h o w   m a n y   m i s s e d   J o b s   o c c u r r e d   f r o m   t h e   v a l u e   o f   s t a r t i n g D e a d l i n e S e c o n d s   u n t i l   n o w   r a t h e r   t h a n   f r o m   t h e   l a s t   s c h e d u l e d   t i m e   u n t i l   n o w .   F o r   e x a m p l e ,   i f   s t a r t i n g D e a d l i n e S e c o n d s   i s   2 0 0 ,   t h e   c o n t r o l l e r   c o u n t s   h o w   m a n y   m i s s e d   J o b s   o c c u r r e d   i n   t h e   l a s t   2 0 0   s e c o n d s .   A   C r o n J o b   i s   c o u n t e d   a s   m i s s e d   i f   i t   h a s   f a i l e d   t o   b e   c r e a t e d   a t   i t s   s c h e d u l e d   t i m e .   F o r   e x a m p l e ,   i f   c o n c u r r e n c y P o l i c y   i s   s e t   t o   F o r b i d   a n d   a   C r o n J o b   w a s   a t t e m p t e d   t o   b e   s c h e d u l e d   w h e n   t h e r e   w a s   a   p r e v i o u s   s c h e d u l e   s t i l l   r u n n i n g ,   t h e n   i t   w o u l d   c o u n t   a s   m i s s ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14699"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   P o d s   a n d   J o b s ,   t w o   c o n c e p t s   t h a t   C r o n J o b s   r e l y   u p o n . R e a d   a b o u t   t h e   d e t a i l e d   f o r m a t   o f   C r o n J o b   . s p e c . s c h e d u l e   f i e l d s . F o r   i n s t r u c t i o n s   o n   c r e a t i n g   a n d   w o r k i n g   w i t h   C r o n J o b s ,   a n d   f o r   a n   e x a m p l e   o f   a   C r o n J o b   m a n i f e s t ,   s e e   R u n n i n g   a u t o m a t e d   t a s k s   w i t h   C r o n J o b s . C r o n J o b   i s   p a r t   o f   t h e   K u b e r n e t e s   R E S T   A P I .   R e a d   t h e   C r o n J o b   A P I   r e f e r e n c e   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14700"
  },
  {
    "question": "What is Note:?",
    "answer": "A   R e p l i c a t i o n C o n t r o l l e r   e n s u r e s   t h a t   a   s p e c i f i e d   n u m b e r   o f   p o d   r e p l i c a s   a r e   r u n n i n g   a t   a n y   o n e   t i m e .   I n   o t h e r   w o r d s ,   a   R e p l i c a t i o n C o n t r o l l e r   m a k e s   s u r e   t h a t   a   p o d   o r   a   h o m o g e n e o u s   s e t   o f   p o d s   i s   a l w a y s   u p   a n d   a v a i l a b l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14701"
  },
  {
    "question": "What is How a ReplicationController works?",
    "answer": "I f   t h e r e   a r e   t o o   m a n y   p o d s ,   t h e   R e p l i c a t i o n C o n t r o l l e r   t e r m i n a t e s   t h e   e x t r a   p o d s .   I f   t h e r e   a r e   t o o   f e w ,   t h e   R e p l i c a t i o n C o n t r o l l e r   s t a r t s   m o r e   p o d s .   U n l i k e   m a n u a l l y   c r e a t e d   p o d s ,   t h e   p o d s   m a i n t a i n e d   b y   a   R e p l i c a t i o n C o n t r o l l e r   a r e   a u t o m a t i c a l l y   r e p l a c e d   i f   t h e y   f a i l ,   a r e   d e l e t e d ,   o r   a r e   t e r m i n a t e d .   F o r   e x a m p l e ,   y o u r   p o d s   a r e   r e - c r e a t e d   o n   a   n o d e   a f t e r   d i s r u p t i v e   m a i n t e n a n c e   s u c h   a s   a   k e r n e l   u p g r a d e .   F o r   t h i s   r e a s o n ,   y o u   s h o u l d   u s e   a   R e p l i c a t i o n C o n t r o l l e r   e v e n   i f   y o u r   a p p l i c a t i o n   r e q u i r e s   o n l y   a   s i n g l e   p o d .   A   R e p l i c a t i o n C o n t r o l l e r   i s   s i m i l a r   t o   a   p r o c e s s   s u p e r v i s o r ,   b u t   i n s t e a d   o f   s u p e r v i s i n g   i n d i v i d u a l   p r o c e s s e s   o n   a   s i n g l e   n o d e ,   t h e   R e p l i c a t i o n C o n t r o l l e r   s u p e r v i s e s   m u l t i p l e   p o d s   a c r o s s   m u l t i p l e   n o d e s .   R e p l i c a t i o n C o n t r o l l e r   i s   o f t e n   a b b r e v i a t e d   t o   \" r c \"   i n   d i s c u s s i o n ,   a n d   a s   a   s h o r t c u t   i n   k u b e c t l   c o m m a n d s .   A   s i m p l e   c a s e   i s   t o   c r e a t e   o n e   R e p l i c a t i o n C o n t r o l l e r   o b j e c t   t o   r e l i a b l y   r u n   o n e   i n s t a n c e   o f   a   P o d   i n d e f i n i t e l y .   A   m o r e   c o m p l e x   u s e   c a s e   i s   t o   r u n   s e v e r a l   i d e n t i c a l   r e p l i c a s   o f   a   r e p l i c a t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14702"
  },
  {
    "question": "What is Running an example ReplicationController?",
    "answer": "T h i s   e x a m p l e   R e p l i c a t i o n C o n t r o l l e r   c o n f i g   r u n s   t h r e e   c o p i e s   o f   t h e   n g i n x   w e b   s e r v e r .   a p i V e r s i o n :   v 1   k i n d :   R e p l i c a t i o n C o n t r o l l e r   m e t a d a t a :   n a m e :   n g i n x   s p e c :   r e p l i c a s :   3   s e l e c t o r :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   n a m e :   n g i n x   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   p o r t s :   -   c o n t a i n e r P o r t :   8 0   R u n   t h e   e x a m p l e   j o b   b y   d o w n l o a d i n g   t h e   e x a m p l e   f i l e   a n d   t h e n   r u n n i n g   t h i s   c o m m a n d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / c o n t r o l l e r s / r e p l i c a t i o n . y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   r e p l i c a t i o n c o n t r o l l e r / n g i n x   c r e a t e d   C h e c k   o n   t h e   s t a t u s   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   u s i n g   t h i s   c o m m a n d :   k u b e c t l   d e s c r i b e   r e p l i c a t i o n c o n t r o l l e r s / n g i n x   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N a m e :   n g i n x   N a m e s p a c e :   d e f a u l t   S e l e c t o r :   a p p = n g i n x   L a b e l s :   a p p = n g i n x   A n n o t a t i o n s :   < n o n e >   R e p l i c a s :   3   c u r r e n t   /   3   d e s i r e d   P o d s   S t a t u s :   0   R u n n i n g   /   3   W a i t i n g   /   0   S u c c e e d e d   /   0   F a i l e d   P o d   T e m p l a t e :   L a b e l s :   a p p = n g i n x   C o n t a i n e r s :   n g i n x :   I m a g e :   n g i n x   P o r t :   8 0 / T C P   E n v i r o n m e n t :   < n o n e >   M o u n t s :   < n o n e >   V o l u m e s :   < n o n e >   E v e n t s :   F i r s t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14703"
  },
  {
    "question": "What is Writing a ReplicationController Manifest?",
    "answer": "A s   w i t h   a l l   o t h e r   K u b e r n e t e s   c o n f i g ,   a   R e p l i c a t i o n C o n t r o l l e r   n e e d s   a p i V e r s i o n ,   k i n d ,   a n d   m e t a d a t a   f i e l d s .   W h e n   t h e   c o n t r o l   p l a n e   c r e a t e s   n e w   P o d s   f o r   a   R e p l i c a t i o n C o n t r o l l e r ,   t h e   . m e t a d a t a . n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   i s   p a r t   o f   t h e   b a s i s   f o r   n a m i n g   t h o s e   P o d s .   T h e   n a m e   o f   a   R e p l i c a t i o n C o n t r o l l e r   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   v a l u e ,   b u t   t h i s   c a n   p r o d u c e   u n e x p e c t e d   r e s u l t s   f o r   t h e   P o d   h o s t n a m e s .   F o r   b e s t   c o m p a t i b i l i t y ,   t h e   n a m e   s h o u l d   f o l l o w   t h e   m o r e   r e s t r i c t i v e   r u l e s   f o r   a   D N S   l a b e l .   F o r   g e n e r a l   i n f o r m a t i o n   a b o u t   w o r k i n g   w i t h   c o n f i g u r a t i o n   f i l e s ,   s e e   o b j e c t   m a n a g e m e n t .   A   R e p l i c a t i o n C o n t r o l l e r   a l s o   n e e d s   a   . s p e c   s e c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14704"
  },
  {
    "question": "What is Pod Template?",
    "answer": "T h e   . s p e c . t e m p l a t e   i s   t h e   o n l y   r e q u i r e d   f i e l d   o f   t h e   . s p e c .   T h e   . s p e c . t e m p l a t e   i s   a   p o d   t e m p l a t e .   I t   h a s   e x a c t l y   t h e   s a m e   s c h e m a   a s   a   P o d ,   e x c e p t   i t   i s   n e s t e d   a n d   d o e s   n o t   h a v e   a n   a p i V e r s i o n   o r   k i n d .   I n   a d d i t i o n   t o   r e q u i r e d   f i e l d s   f o r   a   P o d ,   a   p o d   t e m p l a t e   i n   a   R e p l i c a t i o n C o n t r o l l e r   m u s t   s p e c i f y   a p p r o p r i a t e   l a b e l s   a n d   a n   a p p r o p r i a t e   r e s t a r t   p o l i c y .   F o r   l a b e l s ,   m a k e   s u r e   n o t   t o   o v e r l a p   w i t h   o t h e r   c o n t r o l l e r s .   S e e   p o d   s e l e c t o r .   O n l y   a   . s p e c . t e m p l a t e . s p e c . r e s t a r t P o l i c y   e q u a l   t o   A l w a y s   i s   a l l o w e d ,   w h i c h   i s   t h e   d e f a u l t   i f   n o t   s p e c i f i e d .   F o r   l o c a l   c o n t a i n e r   r e s t a r t s ,   R e p l i c a t i o n C o n t r o l l e r s   d e l e g a t e   t o   a n   a g e n t   o n   t h e   n o d e ,   f o r   e x a m p l e   t h e   K u b e l e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14705"
  },
  {
    "question": "What is Labels on the ReplicationController?",
    "answer": "T h e   R e p l i c a t i o n C o n t r o l l e r   c a n   i t s e l f   h a v e   l a b e l s   ( . m e t a d a t a . l a b e l s ) .   T y p i c a l l y ,   y o u   w o u l d   s e t   t h e s e   t h e   s a m e   a s   t h e   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s ;   i f   . m e t a d a t a . l a b e l s   i s   n o t   s p e c i f i e d   t h e n   i t   d e f a u l t s   t o   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s .   H o w e v e r ,   t h e y   a r e   a l l o w e d   t o   b e   d i f f e r e n t ,   a n d   t h e   . m e t a d a t a . l a b e l s   d o   n o t   a f f e c t   t h e   b e h a v i o r   o f   t h e   R e p l i c a t i o n C o n t r o l l e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14706"
  },
  {
    "question": "What is Pod Selector?",
    "answer": "T h e   . s p e c . s e l e c t o r   f i e l d   i s   a   l a b e l   s e l e c t o r .   A   R e p l i c a t i o n C o n t r o l l e r   m a n a g e s   a l l   t h e   p o d s   w i t h   l a b e l s   t h a t   m a t c h   t h e   s e l e c t o r .   I t   d o e s   n o t   d i s t i n g u i s h   b e t w e e n   p o d s   t h a t   i t   c r e a t e d   o r   d e l e t e d   a n d   p o d s   t h a t   a n o t h e r   p e r s o n   o r   p r o c e s s   c r e a t e d   o r   d e l e t e d .   T h i s   a l l o w s   t h e   R e p l i c a t i o n C o n t r o l l e r   t o   b e   r e p l a c e d   w i t h o u t   a f f e c t i n g   t h e   r u n n i n g   p o d s .   I f   s p e c i f i e d ,   t h e   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s   m u s t   b e   e q u a l   t o   t h e   . s p e c . s e l e c t o r ,   o r   i t   w i l l   b e   r e j e c t e d   b y   t h e   A P I .   I f   . s p e c . s e l e c t o r   i s   u n s p e c i f i e d ,   i t   w i l l   b e   d e f a u l t e d   t o   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s .   A l s o   y o u   s h o u l d   n o t   n o r m a l l y   c r e a t e   a n y   p o d s   w h o s e   l a b e l s   m a t c h   t h i s   s e l e c t o r ,   e i t h e r   d i r e c t l y ,   w i t h   a n o t h e r   R e p l i c a t i o n C o n t r o l l e r ,   o r   w i t h   a n o t h e r   c o n t r o l l e r   s u c h   a s   J o b .   I f   y o u   d o   s o ,   t h e   R e p l i c a t i o n C o n t r o l l e r   t h i n k s   t h a t   i t   c r e a t e d   t h e   o t h e r   p o d s .   K u b e r n e t e s   d o e s   n o t   s t o p   y o u   f r o m   d o i n g   t h i s .   I f   y o u   d o   e n d   u p   w i t h   m u l t i p l e   c o n t r o l l e r s   t h a t   h a v e   o v e r l a p p i n g   s e l e c t o r s ,   y o u   w i l l   h a v e   t o   m a n a g e   t h e   d e l e t i o n   y o u r s e l f   ( s e e   b e l o w ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14707"
  },
  {
    "question": "What is Multiple Replicas?",
    "answer": "Y o u   c a n   s p e c i f y   h o w   m a n y   p o d s   s h o u l d   r u n   c o n c u r r e n t l y   b y   s e t t i n g   . s p e c . r e p l i c a s   t o   t h e   n u m b e r   o f   p o d s   y o u   w o u l d   l i k e   t o   h a v e   r u n n i n g   c o n c u r r e n t l y .   T h e   n u m b e r   r u n n i n g   a t   a n y   t i m e   m a y   b e   h i g h e r   o r   l o w e r ,   s u c h   a s   i f   t h e   r e p l i c a s   w e r e   j u s t   i n c r e a s e d   o r   d e c r e a s e d ,   o r   i f   a   p o d   i s   g r a c e f u l l y   s h u t d o w n ,   a n d   a   r e p l a c e m e n t   s t a r t s   e a r l y .   I f   y o u   d o   n o t   s p e c i f y   . s p e c . r e p l i c a s ,   t h e n   i t   d e f a u l t s   t o   1 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14708"
  },
  {
    "question": "What is Deleting a ReplicationController and its Pods?",
    "answer": "T o   d e l e t e   a   R e p l i c a t i o n C o n t r o l l e r   a n d   a l l   i t s   p o d s ,   u s e   k u b e c t l   d e l e t e .   K u b e c t l   w i l l   s c a l e   t h e   R e p l i c a t i o n C o n t r o l l e r   t o   z e r o   a n d   w a i t   f o r   i t   t o   d e l e t e   e a c h   p o d   b e f o r e   d e l e t i n g   t h e   R e p l i c a t i o n C o n t r o l l e r   i t s e l f .   I f   t h i s   k u b e c t l   c o m m a n d   i s   i n t e r r u p t e d ,   i t   c a n   b e   r e s t a r t e d .   W h e n   u s i n g   t h e   R E S T   A P I   o r   c l i e n t   l i b r a r y ,   y o u   n e e d   t o   d o   t h e   s t e p s   e x p l i c i t l y   ( s c a l e   r e p l i c a s   t o   0 ,   w a i t   f o r   p o d   d e l e t i o n s ,   t h e n   d e l e t e   t h e   R e p l i c a t i o n C o n t r o l l e r ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14709"
  },
  {
    "question": "What is Deleting only a ReplicationController?",
    "answer": "Y o u   c a n   d e l e t e   a   R e p l i c a t i o n C o n t r o l l e r   w i t h o u t   a f f e c t i n g   a n y   o f   i t s   p o d s .   U s i n g   k u b e c t l ,   s p e c i f y   t h e   - - c a s c a d e = o r p h a n   o p t i o n   t o   k u b e c t l   d e l e t e .   W h e n   u s i n g   t h e   R E S T   A P I   o r   c l i e n t   l i b r a r y ,   y o u   c a n   d e l e t e   t h e   R e p l i c a t i o n C o n t r o l l e r   o b j e c t .   O n c e   t h e   o r i g i n a l   i s   d e l e t e d ,   y o u   c a n   c r e a t e   a   n e w   R e p l i c a t i o n C o n t r o l l e r   t o   r e p l a c e   i t .   A s   l o n g   a s   t h e   o l d   a n d   n e w   . s p e c . s e l e c t o r   a r e   t h e   s a m e ,   t h e n   t h e   n e w   o n e   w i l l   a d o p t   t h e   o l d   p o d s .   H o w e v e r ,   i t   w i l l   n o t   m a k e   a n y   e f f o r t   t o   m a k e   e x i s t i n g   p o d s   m a t c h   a   n e w ,   d i f f e r e n t   p o d   t e m p l a t e .   T o   u p d a t e   p o d s   t o   a   n e w   s p e c   i n   a   c o n t r o l l e d   w a y ,   u s e   a   r o l l i n g   u p d a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14710"
  },
  {
    "question": "What is Isolating pods from a ReplicationController?",
    "answer": "P o d s   m a y   b e   r e m o v e d   f r o m   a   R e p l i c a t i o n C o n t r o l l e r ' s   t a r g e t   s e t   b y   c h a n g i n g   t h e i r   l a b e l s .   T h i s   t e c h n i q u e   m a y   b e   u s e d   t o   r e m o v e   p o d s   f r o m   s e r v i c e   f o r   d e b u g g i n g   a n d   d a t a   r e c o v e r y .   P o d s   t h a t   a r e   r e m o v e d   i n   t h i s   w a y   w i l l   b e   r e p l a c e d   a u t o m a t i c a l l y   ( a s s u m i n g   t h a t   t h e   n u m b e r   o f   r e p l i c a s   i s   n o t   a l s o   c h a n g e d ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14711"
  },
  {
    "question": "What is Rescheduling?",
    "answer": "A s   m e n t i o n e d   a b o v e ,   w h e t h e r   y o u   h a v e   1   p o d   y o u   w a n t   t o   k e e p   r u n n i n g ,   o r   1 0 0 0 ,   a   R e p l i c a t i o n C o n t r o l l e r   w i l l   e n s u r e   t h a t   t h e   s p e c i f i e d   n u m b e r   o f   p o d s   e x i s t s ,   e v e n   i n   t h e   e v e n t   o f   n o d e   f a i l u r e   o r   p o d   t e r m i n a t i o n   ( f o r   e x a m p l e ,   d u e   t o   a n   a c t i o n   b y   a n o t h e r   c o n t r o l   a g e n t ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14712"
  },
  {
    "question": "What is Scaling?",
    "answer": "T h e   R e p l i c a t i o n C o n t r o l l e r   e n a b l e s   s c a l i n g   t h e   n u m b e r   o f   r e p l i c a s   u p   o r   d o w n ,   e i t h e r   m a n u a l l y   o r   b y   a n   a u t o - s c a l i n g   c o n t r o l   a g e n t ,   b y   u p d a t i n g   t h e   r e p l i c a s   f i e l d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14713"
  },
  {
    "question": "What is Rolling updates?",
    "answer": "T h e   R e p l i c a t i o n C o n t r o l l e r   i s   d e s i g n e d   t o   f a c i l i t a t e   r o l l i n g   u p d a t e s   t o   a   s e r v i c e   b y   r e p l a c i n g   p o d s   o n e - b y - o n e .   A s   e x p l a i n e d   i n   # 1 3 5 3 ,   t h e   r e c o m m e n d e d   a p p r o a c h   i s   t o   c r e a t e   a   n e w   R e p l i c a t i o n C o n t r o l l e r   w i t h   1   r e p l i c a ,   s c a l e   t h e   n e w   ( + 1 )   a n d   o l d   ( - 1 )   c o n t r o l l e r s   o n e   b y   o n e ,   a n d   t h e n   d e l e t e   t h e   o l d   c o n t r o l l e r   a f t e r   i t   r e a c h e s   0   r e p l i c a s .   T h i s   p r e d i c t a b l y   u p d a t e s   t h e   s e t   o f   p o d s   r e g a r d l e s s   o f   u n e x p e c t e d   f a i l u r e s .   I d e a l l y ,   t h e   r o l l i n g   u p d a t e   c o n t r o l l e r   w o u l d   t a k e   a p p l i c a t i o n   r e a d i n e s s   i n t o   a c c o u n t ,   a n d   w o u l d   e n s u r e   t h a t   a   s u f f i c i e n t   n u m b e r   o f   p o d s   w e r e   p r o d u c t i v e l y   s e r v i n g   a t   a n y   g i v e n   t i m e .   T h e   t w o   R e p l i c a t i o n C o n t r o l l e r s   w o u l d   n e e d   t o   c r e a t e   p o d s   w i t h   a t   l e a s t   o n e   d i f f e r e n t i a t i n g   l a b e l ,   s u c h   a s   t h e   i m a g e   t a g   o f   t h e   p r i m a r y   c o n t a i n e r   o f   t h e   p o d ,   s i n c e   i t   i s   t y p i c a l l y   i m a g e   u p d a t e s   t h a t   m o t i v a t e   r o l l i n g   u p d a t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14714"
  },
  {
    "question": "What is Multiple release tracks?",
    "answer": "I n   a d d i t i o n   t o   r u n n i n g   m u l t i p l e   r e l e a s e s   o f   a n   a p p l i c a t i o n   w h i l e   a   r o l l i n g   u p d a t e   i s   i n   p r o g r e s s ,   i t ' s   c o m m o n   t o   r u n   m u l t i p l e   r e l e a s e s   f o r   a n   e x t e n d e d   p e r i o d   o f   t i m e ,   o r   e v e n   c o n t i n u o u s l y ,   u s i n g   m u l t i p l e   r e l e a s e   t r a c k s .   T h e   t r a c k s   w o u l d   b e   d i f f e r e n t i a t e d   b y   l a b e l s .   F o r   i n s t a n c e ,   a   s e r v i c e   m i g h t   t a r g e t   a l l   p o d s   w i t h   t i e r   i n   ( f r o n t e n d ) ,   e n v i r o n m e n t   i n   ( p r o d ) .   N o w   s a y   y o u   h a v e   1 0   r e p l i c a t e d   p o d s   t h a t   m a k e   u p   t h i s   t i e r .   B u t   y o u   w a n t   t o   b e   a b l e   t o   ' c a n a r y '   a   n e w   v e r s i o n   o f   t h i s   c o m p o n e n t .   Y o u   c o u l d   s e t   u p   a   R e p l i c a t i o n C o n t r o l l e r   w i t h   r e p l i c a s   s e t   t o   9   f o r   t h e   b u l k   o f   t h e   r e p l i c a s ,   w i t h   l a b e l s   t i e r = f r o n t e n d ,   e n v i r o n m e n t = p r o d ,   t r a c k = s t a b l e ,   a n d   a n o t h e r   R e p l i c a t i o n C o n t r o l l e r   w i t h   r e p l i c a s   s e t   t o   1   f o r   t h e   c a n a r y ,   w i t h   l a b e l s   t i e r = f r o n t e n d ,   e n v i r o n m e n t = p r o d ,   t r a c k = c a n a r y .   N o w   t h e   s e r v i c e   i s   c o v e r i n g   b o t h   t h e   c a n a r y   a n d   n o n - c a n a r y   p o d s .   B u t   y o u   c a n   m e s s   w i t h   t h e   R e p l i c a t i o n C o n t r o l l e r s   s e p a r a t e l y   t o   t e s t   t h i n g s   o u t ,   m o n i t o r   t h e   r e s u l t s ,   e t c .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14715"
  },
  {
    "question": "What is Using ReplicationControllers with Services?",
    "answer": "M u l t i p l e   R e p l i c a t i o n C o n t r o l l e r s   c a n   s i t   b e h i n d   a   s i n g l e   s e r v i c e ,   s o   t h a t ,   f o r   e x a m p l e ,   s o m e   t r a f f i c   g o e s   t o   t h e   o l d   v e r s i o n ,   a n d   s o m e   g o e s   t o   t h e   n e w   v e r s i o n .   A   R e p l i c a t i o n C o n t r o l l e r   w i l l   n e v e r   t e r m i n a t e   o n   i t s   o w n ,   b u t   i t   i s n ' t   e x p e c t e d   t o   b e   a s   l o n g - l i v e d   a s   s e r v i c e s .   S e r v i c e s   m a y   b e   c o m p o s e d   o f   p o d s   c o n t r o l l e d   b y   m u l t i p l e   R e p l i c a t i o n C o n t r o l l e r s ,   a n d   i t   i s   e x p e c t e d   t h a t   m a n y   R e p l i c a t i o n C o n t r o l l e r s   m a y   b e   c r e a t e d   a n d   d e s t r o y e d   o v e r   t h e   l i f e t i m e   o f   a   s e r v i c e   ( f o r   i n s t a n c e ,   t o   p e r f o r m   a n   u p d a t e   o f   p o d s   t h a t   r u n   t h e   s e r v i c e ) .   B o t h   s e r v i c e s   t h e m s e l v e s   a n d   t h e i r   c l i e n t s   s h o u l d   r e m a i n   o b l i v i o u s   t o   t h e   R e p l i c a t i o n C o n t r o l l e r s   t h a t   m a i n t a i n   t h e   p o d s   o f   t h e   s e r v i c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14716"
  },
  {
    "question": "What is Writing programs for Replication?",
    "answer": "P o d s   c r e a t e d   b y   a   R e p l i c a t i o n C o n t r o l l e r   a r e   i n t e n d e d   t o   b e   f u n g i b l e   a n d   s e m a n t i c a l l y   i d e n t i c a l ,   t h o u g h   t h e i r   c o n f i g u r a t i o n s   m a y   b e c o m e   h e t e r o g e n e o u s   o v e r   t i m e .   T h i s   i s   a n   o b v i o u s   f i t   f o r   r e p l i c a t e d   s t a t e l e s s   s e r v e r s ,   b u t   R e p l i c a t i o n C o n t r o l l e r s   c a n   a l s o   b e   u s e d   t o   m a i n t a i n   a v a i l a b i l i t y   o f   m a s t e r - e l e c t e d ,   s h a r d e d ,   a n d   w o r k e r - p o o l   a p p l i c a t i o n s .   S u c h   a p p l i c a t i o n s   s h o u l d   u s e   d y n a m i c   w o r k   a s s i g n m e n t   m e c h a n i s m s ,   s u c h   a s   t h e   R a b b i t M Q   w o r k   q u e u e s ,   a s   o p p o s e d   t o   s t a t i c / o n e - t i m e   c u s t o m i z a t i o n   o f   t h e   c o n f i g u r a t i o n   o f   e a c h   p o d ,   w h i c h   i s   c o n s i d e r e d   a n   a n t i - p a t t e r n .   A n y   p o d   c u s t o m i z a t i o n   p e r f o r m e d ,   s u c h   a s   v e r t i c a l   a u t o - s i z i n g   o f   r e s o u r c e s   ( f o r   e x a m p l e ,   c p u   o r   m e m o r y ) ,   s h o u l d   b e   p e r f o r m e d   b y   a n o t h e r   o n l i n e   c o n t r o l l e r   p r o c e s s ,   n o t   u n l i k e   t h e   R e p l i c a t i o n C o n t r o l l e r   i t s e l f .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14717"
  },
  {
    "question": "What is Responsibilities of the ReplicationController?",
    "answer": "T h e   R e p l i c a t i o n C o n t r o l l e r   e n s u r e s   t h a t   t h e   d e s i r e d   n u m b e r   o f   p o d s   m a t c h e s   i t s   l a b e l   s e l e c t o r   a n d   a r e   o p e r a t i o n a l .   C u r r e n t l y ,   o n l y   t e r m i n a t e d   p o d s   a r e   e x c l u d e d   f r o m   i t s   c o u n t .   I n   t h e   f u t u r e ,   r e a d i n e s s   a n d   o t h e r   i n f o r m a t i o n   a v a i l a b l e   f r o m   t h e   s y s t e m   m a y   b e   t a k e n   i n t o   a c c o u n t ,   w e   m a y   a d d   m o r e   c o n t r o l s   o v e r   t h e   r e p l a c e m e n t   p o l i c y ,   a n d   w e   p l a n   t o   e m i t   e v e n t s   t h a t   c o u l d   b e   u s e d   b y   e x t e r n a l   c l i e n t s   t o   i m p l e m e n t   a r b i t r a r i l y   s o p h i s t i c a t e d   r e p l a c e m e n t   a n d / o r   s c a l e - d o w n   p o l i c i e s .   T h e   R e p l i c a t i o n C o n t r o l l e r   i s   f o r e v e r   c o n s t r a i n e d   t o   t h i s   n a r r o w   r e s p o n s i b i l i t y .   I t   i t s e l f   w i l l   n o t   p e r f o r m   r e a d i n e s s   n o r   l i v e n e s s   p r o b e s .   R a t h e r   t h a n   p e r f o r m i n g   a u t o - s c a l i n g ,   i t   i s   i n t e n d e d   t o   b e   c o n t r o l l e d   b y   a n   e x t e r n a l   a u t o - s c a l e r   ( a s   d i s c u s s e d   i n   # 4 9 2 ) ,   w h i c h   w o u l d   c h a n g e   i t s   r e p l i c a s   f i e l d .   W e   w i l l   n o t   a d d   s c h e d u l i n g   p o l i c i e s   ( f o r   e x a m p l e ,   s p r e a d i n g )   t o   t h e   R e p l i c a t i o n C o n t r o l l e r .   N o r   s h o u l d   i t   v e r i f y   t h a t   t h e   p o d s   c o n t r o l l e d   m a t c h   t h e   c u r r e n t l y   s p e c i f i e d   t e m p l a t e ,   a s   t h a t   w o u l d   o b s t r u c t   a u t o - s i z i n g   a n d   o t h e r   a u t o m a t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14718"
  },
  {
    "question": "What is API Object?",
    "answer": "R e p l i c a t i o n   c o n t r o l l e r   i s   a   t o p - l e v e l   r e s o u r c e   i n   t h e   K u b e r n e t e s   R E S T   A P I .   M o r e   d e t a i l s   a b o u t   t h e   A P I   o b j e c t   c a n   b e   f o u n d   a t :   R e p l i c a t i o n C o n t r o l l e r   A P I   o b j e c t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14719"
  },
  {
    "question": "What is ReplicaSet?",
    "answer": "R e p l i c a S e t   i s   t h e   n e x t - g e n e r a t i o n   R e p l i c a t i o n C o n t r o l l e r   t h a t   s u p p o r t s   t h e   n e w   s e t - b a s e d   l a b e l   s e l e c t o r .   I t ' s   m a i n l y   u s e d   b y   D e p l o y m e n t   a s   a   m e c h a n i s m   t o   o r c h e s t r a t e   p o d   c r e a t i o n ,   d e l e t i o n   a n d   u p d a t e s .   N o t e   t h a t   w e   r e c o m m e n d   u s i n g   D e p l o y m e n t s   i n s t e a d   o f   d i r e c t l y   u s i n g   R e p l i c a   S e t s ,   u n l e s s   y o u   r e q u i r e   c u s t o m   u p d a t e   o r c h e s t r a t i o n   o r   d o n ' t   r e q u i r e   u p d a t e s   a t   a l l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14720"
  },
  {
    "question": "What is Deployment (Recommended)?",
    "answer": "D e p l o y m e n t   i s   a   h i g h e r - l e v e l   A P I   o b j e c t   t h a t   u p d a t e s   i t s   u n d e r l y i n g   R e p l i c a   S e t s   a n d   t h e i r   P o d s .   D e p l o y m e n t s   a r e   r e c o m m e n d e d   i f   y o u   w a n t   t h e   r o l l i n g   u p d a t e   f u n c t i o n a l i t y ,   b e c a u s e   t h e y   a r e   d e c l a r a t i v e ,   s e r v e r - s i d e ,   a n d   h a v e   a d d i t i o n a l   f e a t u r e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14721"
  },
  {
    "question": "What is Bare Pods?",
    "answer": "U n l i k e   i n   t h e   c a s e   w h e r e   a   u s e r   d i r e c t l y   c r e a t e d   p o d s ,   a   R e p l i c a t i o n C o n t r o l l e r   r e p l a c e s   p o d s   t h a t   a r e   d e l e t e d   o r   t e r m i n a t e d   f o r   a n y   r e a s o n ,   s u c h   a s   i n   t h e   c a s e   o f   n o d e   f a i l u r e   o r   d i s r u p t i v e   n o d e   m a i n t e n a n c e ,   s u c h   a s   a   k e r n e l   u p g r a d e .   F o r   t h i s   r e a s o n ,   w e   r e c o m m e n d   t h a t   y o u   u s e   a   R e p l i c a t i o n C o n t r o l l e r   e v e n   i f   y o u r   a p p l i c a t i o n   r e q u i r e s   o n l y   a   s i n g l e   p o d .   T h i n k   o f   i t   s i m i l a r l y   t o   a   p r o c e s s   s u p e r v i s o r ,   o n l y   i t   s u p e r v i s e s   m u l t i p l e   p o d s   a c r o s s   m u l t i p l e   n o d e s   i n s t e a d   o f   i n d i v i d u a l   p r o c e s s e s   o n   a   s i n g l e   n o d e .   A   R e p l i c a t i o n C o n t r o l l e r   d e l e g a t e s   l o c a l   c o n t a i n e r   r e s t a r t s   t o   s o m e   a g e n t   o n   t h e   n o d e ,   s u c h   a s   t h e   k u b e l e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14722"
  },
  {
    "question": "What is Job?",
    "answer": "U s e   a   J o b   i n s t e a d   o f   a   R e p l i c a t i o n C o n t r o l l e r   f o r   p o d s   t h a t   a r e   e x p e c t e d   t o   t e r m i n a t e   o n   t h e i r   o w n   ( t h a t   i s ,   b a t c h   j o b s ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14723"
  },
  {
    "question": "What is DaemonSet?",
    "answer": "U s e   a   D a e m o n S e t   i n s t e a d   o f   a   R e p l i c a t i o n C o n t r o l l e r   f o r   p o d s   t h a t   p r o v i d e   a   m a c h i n e - l e v e l   f u n c t i o n ,   s u c h   a s   m a c h i n e   m o n i t o r i n g   o r   m a c h i n e   l o g g i n g .   T h e s e   p o d s   h a v e   a   l i f e t i m e   t h a t   i s   t i e d   t o   a   m a c h i n e   l i f e t i m e :   t h e   p o d   n e e d s   t o   b e   r u n n i n g   o n   t h e   m a c h i n e   b e f o r e   o t h e r   p o d s   s t a r t ,   a n d   a r e   s a f e   t o   t e r m i n a t e   w h e n   t h e   m a c h i n e   i s   o t h e r w i s e   r e a d y   t o   b e   r e b o o t e d / s h u t d o w n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14724"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   P o d s . L e a r n   a b o u t   D e p l o y m e n t ,   t h e   r e p l a c e m e n t   f o r   R e p l i c a t i o n C o n t r o l l e r . R e p l i c a t i o n C o n t r o l l e r   i s   p a r t   o f   t h e   K u b e r n e t e s   R E S T   A P I .   R e a d   t h e   R e p l i c a t i o n C o n t r o l l e r   o b j e c t   d e f i n i t i o n   t o   u n d e r s t a n d   t h e   A P I   f o r   r e p l i c a t i o n   c o n t r o l l e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14725"
  },
  {
    "question": "What is 3 - Autoscaling Workloads?",
    "answer": "I n   K u b e r n e t e s ,   y o u   c a n   s c a l e   a   w o r k l o a d   d e p e n d i n g   o n   t h e   c u r r e n t   d e m a n d   o f   r e s o u r c e s .   T h i s   a l l o w s   y o u r   c l u s t e r   t o   r e a c t   t o   c h a n g e s   i n   r e s o u r c e   d e m a n d   m o r e   e l a s t i c a l l y   a n d   e f f i c i e n t l y .   W h e n   y o u   s c a l e   a   w o r k l o a d ,   y o u   c a n   e i t h e r   i n c r e a s e   o r   d e c r e a s e   t h e   n u m b e r   o f   r e p l i c a s   m a n a g e d   b y   t h e   w o r k l o a d ,   o r   a d j u s t   t h e   r e s o u r c e s   a v a i l a b l e   t o   t h e   r e p l i c a s   i n - p l a c e .   T h e   f i r s t   a p p r o a c h   i s   r e f e r r e d   t o   a s   h o r i z o n t a l   s c a l i n g ,   w h i l e   t h e   s e c o n d   i s   r e f e r r e d   t o   a s   v e r t i c a l   s c a l i n g .   T h e r e   a r e   m a n u a l   a n d   a u t o m a t i c   w a y s   t o   s c a l e   y o u r   w o r k l o a d s ,   d e p e n d i n g   o n   y o u r   u s e   c a s e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_1_14726"
  },
  {
    "question": "What is Scaling workloads manually?",
    "answer": "K u b e r n e t e s   s u p p o r t s   m a n u a l   s c a l i n g   o f   w o r k l o a d s .   H o r i z o n t a l   s c a l i n g   c a n   b e   d o n e   u s i n g   t h e   k u b e c t l   C L I .   F o r   v e r t i c a l   s c a l i n g ,   y o u   n e e d   t o   p a t c h   t h e   r e s o u r c e   d e f i n i t i o n   o f   y o u r   w o r k l o a d .   S e e   b e l o w   f o r   e x a m p l e s   o f   b o t h   s t r a t e g i e s .   H o r i z o n t a l   s c a l i n g :   R u n n i n g   m u l t i p l e   i n s t a n c e s   o f   y o u r   a p p V e r t i c a l   s c a l i n g :   R e s i z i n g   C P U   a n d   m e m o r y   r e s o u r c e s   a s s i g n e d   t o   c o n t a i n e r s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14727"
  },
  {
    "question": "What is Scaling workloads automatically?",
    "answer": "K u b e r n e t e s   a l s o   s u p p o r t s   a u t o m a t i c   s c a l i n g   o f   w o r k l o a d s ,   w h i c h   i s   t h e   f o c u s   o f   t h i s   p a g e .   T h e   c o n c e p t   o f   A u t o s c a l i n g   i n   K u b e r n e t e s   r e f e r s   t o   t h e   a b i l i t y   t o   a u t o m a t i c a l l y   u p d a t e   a n   o b j e c t   t h a t   m a n a g e s   a   s e t   o f   P o d s   ( f o r   e x a m p l e   a   D e p l o y m e n t ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14728"
  },
  {
    "question": "What is Scaling workloads horizontally?",
    "answer": "I n   K u b e r n e t e s ,   y o u   c a n   a u t o m a t i c a l l y   s c a l e   a   w o r k l o a d   h o r i z o n t a l l y   u s i n g   a   H o r i z o n t a l P o d A u t o s c a l e r   ( H P A ) .   I t   i s   i m p l e m e n t e d   a s   a   K u b e r n e t e s   A P I   r e s o u r c e   a n d   a   c o n t r o l l e r   a n d   p e r i o d i c a l l y   a d j u s t s   t h e   n u m b e r   o f   r e p l i c a s   i n   a   w o r k l o a d   t o   m a t c h   o b s e r v e d   r e s o u r c e   u t i l i z a t i o n   s u c h   a s   C P U   o r   m e m o r y   u s a g e .   T h e r e   i s   a   w a l k t h r o u g h   t u t o r i a l   o f   c o n f i g u r i n g   a   H o r i z o n t a l P o d A u t o s c a l e r   f o r   a   D e p l o y m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14729"
  },
  {
    "question": "What is Scaling workloads vertically?",
    "answer": "Y o u   c a n   a u t o m a t i c a l l y   s c a l e   a   w o r k l o a d   v e r t i c a l l y   u s i n g   a   V e r t i c a l P o d A u t o s c a l e r   ( V P A ) .   U n l i k e   t h e   H P A ,   t h e   V P A   d o e s n ' t   c o m e   w i t h   K u b e r n e t e s   b y   d e f a u l t ,   b u t   i s   a   s e p a r a t e   p r o j e c t   t h a t   c a n   b e   f o u n d   o n   G i t H u b .   O n c e   i n s t a l l e d ,   i t   a l l o w s   y o u   t o   c r e a t e   C u s t o m R e s o u r c e D e f i n i t i o n s   ( C R D s )   f o r   y o u r   w o r k l o a d s   w h i c h   d e f i n e   h o w   a n d   w h e n   t o   s c a l e   t h e   r e s o u r c e s   o f   t h e   m a n a g e d   r e p l i c a s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14730"
  },
  {
    "question": "What is Note:?",
    "answer": "A t   t h e   m o m e n t ,   t h e   V P A   c a n   o p e r a t e   i n   f o u r   d i f f e r e n t   m o d e s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14731"
  },
  {
    "question": "What is In-place pod vertical scaling?",
    "answer": "A s   o f   K u b e r n e t e s   1 . 3 4 ,   V P A   d o e s   n o t   s u p p o r t   r e s i z i n g   p o d s   i n - p l a c e ,   b u t   t h i s   i n t e g r a t i o n   i s   b e i n g   w o r k e d   o n .   F o r   m a n u a l l y   r e s i z i n g   p o d s   i n - p l a c e ,   s e e   R e s i z e   C o n t a i n e r   R e s o u r c e s   I n - P l a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14732"
  },
  {
    "question": "What is Autoscaling based on cluster size?",
    "answer": "F o r   w o r k l o a d s   t h a t   n e e d   t o   b e   s c a l e d   b a s e d   o n   t h e   s i z e   o f   t h e   c l u s t e r   ( f o r   e x a m p l e   c l u s t e r - d n s   o r   o t h e r   s y s t e m   c o m p o n e n t s ) ,   y o u   c a n   u s e   t h e   C l u s t e r   P r o p o r t i o n a l   A u t o s c a l e r .   J u s t   l i k e   t h e   V P A ,   i t   i s   n o t   p a r t   o f   t h e   K u b e r n e t e s   c o r e ,   b u t   h o s t e d   a s   i t s   o w n   p r o j e c t   o n   G i t H u b .   T h e   C l u s t e r   P r o p o r t i o n a l   A u t o s c a l e r   w a t c h e s   t h e   n u m b e r   o f   s c h e d u l a b l e   n o d e s   a n d   c o r e s   a n d   s c a l e s   t h e   n u m b e r   o f   r e p l i c a s   o f   t h e   t a r g e t   w o r k l o a d   a c c o r d i n g l y .   I f   t h e   n u m b e r   o f   r e p l i c a s   s h o u l d   s t a y   t h e   s a m e ,   y o u   c a n   s c a l e   y o u r   w o r k l o a d s   v e r t i c a l l y   a c c o r d i n g   t o   t h e   c l u s t e r   s i z e   u s i n g   t h e   C l u s t e r   P r o p o r t i o n a l   V e r t i c a l   A u t o s c a l e r .   T h e   p r o j e c t   i s   c u r r e n t l y   i n   b e t a   a n d   c a n   b e   f o u n d   o n   G i t H u b .   W h i l e   t h e   C l u s t e r   P r o p o r t i o n a l   A u t o s c a l e r   s c a l e s   t h e   n u m b e r   o f   r e p l i c a s   o f   a   w o r k l o a d ,   t h e   C l u s t e r   P r o p o r t i o n a l   V e r t i c a l   A u t o s c a l e r   a d j u s t s   t h e   r e s o u r c e   r e q u e s t s   f o r   a   w o r k l o a d   ( f o r   e x a m p l e   a   D e p l o y m e n t   o r   D a e m o n S e t )   b a s e d   o n   t h e   n u m b e r   o f   n o d e s   a n d / o r   c o r e s   i n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14733"
  },
  {
    "question": "What is Event driven Autoscaling?",
    "answer": "I t   i s   a l s o   p o s s i b l e   t o   s c a l e   w o r k l o a d s   b a s e d   o n   e v e n t s ,   f o r   e x a m p l e   u s i n g   t h e   K u b e r n e t e s   E v e n t   D r i v e n   A u t o s c a l e r   ( K E D A ) .   K E D A   i s   a   C N C F - g r a d u a t e d   p r o j e c t   e n a b l i n g   y o u   t o   s c a l e   y o u r   w o r k l o a d s   b a s e d   o n   t h e   n u m b e r   o f   e v e n t s   t o   b e   p r o c e s s e d ,   f o r   e x a m p l e   t h e   a m o u n t   o f   m e s s a g e s   i n   a   q u e u e .   T h e r e   e x i s t s   a   w i d e   r a n g e   o f   a d a p t e r s   f o r   d i f f e r e n t   e v e n t   s o u r c e s   t o   c h o o s e   f r o m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14734"
  },
  {
    "question": "What is Autoscaling based on schedules?",
    "answer": "A n o t h e r   s t r a t e g y   f o r   s c a l i n g   y o u r   w o r k l o a d s   i s   t o   s c h e d u l e   t h e   s c a l i n g   o p e r a t i o n s ,   f o r   e x a m p l e   i n   o r d e r   t o   r e d u c e   r e s o u r c e   c o n s u m p t i o n   d u r i n g   o f f - p e a k   h o u r s .   S i m i l a r   t o   e v e n t   d r i v e n   a u t o s c a l i n g ,   s u c h   b e h a v i o r   c a n   b e   a c h i e v e d   u s i n g   K E D A   i n   c o n j u n c t i o n   w i t h   i t s   C r o n   s c a l e r .   T h e   C r o n   s c a l e r   a l l o w s   y o u   t o   d e f i n e   s c h e d u l e s   ( a n d   t i m e   z o n e s )   f o r   s c a l i n g   y o u r   w o r k l o a d s   i n   o r   o u t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14735"
  },
  {
    "question": "What is Scaling cluster infrastructure?",
    "answer": "I f   s c a l i n g   w o r k l o a d s   i s n ' t   e n o u g h   t o   m e e t   y o u r   n e e d s ,   y o u   c a n   a l s o   s c a l e   y o u r   c l u s t e r   i n f r a s t r u c t u r e   i t s e l f .   S c a l i n g   t h e   c l u s t e r   i n f r a s t r u c t u r e   n o r m a l l y   m e a n s   a d d i n g   o r   r e m o v i n g   n o d e s .   R e a d   N o d e   a u t o s c a l i n g   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14736"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   s c a l i n g   h o r i z o n t a l l y S c a l e   a   S t a t e f u l S e t H o r i z o n t a l P o d A u t o s c a l e r   W a l k t h r o u g h R e s i z e   C o n t a i n e r   R e s o u r c e s   I n - P l a c e A u t o s c a l e   t h e   D N S   S e r v i c e   i n   a   C l u s t e r L e a r n   a b o u t   N o d e   a u t o s c a l i n g   S c a l e   a   S t a t e f u l S e t H o r i z o n t a l P o d A u t o s c a l e r   W a l k t h r o u g h",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14737"
  },
  {
    "question": "What is 4 - Managing Workloads?",
    "answer": "Y o u ' v e   d e p l o y e d   y o u r   a p p l i c a t i o n   a n d   e x p o s e d   i t   v i a   a   S e r v i c e .   N o w   w h a t ?   K u b e r n e t e s   p r o v i d e s   a   n u m b e r   o f   t o o l s   t o   h e l p   y o u   m a n a g e   y o u r   a p p l i c a t i o n   d e p l o y m e n t ,   i n c l u d i n g   s c a l i n g   a n d   u p d a t i n g .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_1_14738"
  },
  {
    "question": "What is Organizing resource configurations?",
    "answer": "M a n y   a p p l i c a t i o n s   r e q u i r e   m u l t i p l e   r e s o u r c e s   t o   b e   c r e a t e d ,   s u c h   a s   a   D e p l o y m e n t   a l o n g   w i t h   a   S e r v i c e .   M a n a g e m e n t   o f   m u l t i p l e   r e s o u r c e s   c a n   b e   s i m p l i f i e d   b y   g r o u p i n g   t h e m   t o g e t h e r   i n   t h e   s a m e   f i l e   ( s e p a r a t e d   b y   - - -   i n   Y A M L ) .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - n g i n x - s v c   l a b e l s :   a p p :   n g i n x   s p e c :   t y p e :   L o a d B a l a n c e r   p o r t s :   -   p o r t :   8 0   s e l e c t o r :   a p p :   n g i n x   - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   m y - n g i n x   l a b e l s :   a p p :   n g i n x   s p e c :   r e p l i c a s :   3   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0   M u l t i p l e   r e s o u r c e s   c a n   b e   c r e a t e d   t h e   s a m e   w a y   a s   a   s i n g l e   r e s o u r c e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / n g i n x - a p p . y a m l   s e r v i c e / m y - n g i n x - s v c   c r e a t e d   d e p l o y m e n t . a p p s / m y - n g i n x   c r e a t e d   T h e   r e s o u r c e s   w i l l   b e   c r e a t e d   i n   t h e   o r d e r   t h e y   a p p e a r   i n   t h e   m a n i f e s t .   T h e r e f o r e ,   i t ' s   b e s t   t o   s p e c i f y   t h e   S e r v i c e   f i r s t ,   s i n c e   t h a t   w i l l   e n s u r e   t h e   s c h e d u l e r   c a n   s p r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14739"
  },
  {
    "question": "What is External tools?",
    "answer": "T h i s   s e c t i o n   l i s t s   o n l y   t h e   m o s t   c o m m o n   t o o l s   u s e d   f o r   m a n a g i n g   w o r k l o a d s   o n   K u b e r n e t e s .   T o   s e e   a   l a r g e r   l i s t ,   v i e w   A p p l i c a t i o n   d e f i n i t i o n   a n d   i m a g e   b u i l d   i n   t h e   C N C F   L a n d s c a p e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14740"
  },
  {
    "question": "What is Helm?",
    "answer": "H e l m   i s   a   t o o l   f o r   m a n a g i n g   p a c k a g e s   o f   p r e - c o n f i g u r e d   K u b e r n e t e s   r e s o u r c e s .   T h e s e   p a c k a g e s   a r e   k n o w n   a s   H e l m   c h a r t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14741"
  },
  {
    "question": "What is Kustomize?",
    "answer": "K u s t o m i z e   t r a v e r s e s   a   K u b e r n e t e s   m a n i f e s t   t o   a d d ,   r e m o v e   o r   u p d a t e   c o n f i g u r a t i o n   o p t i o n s .   I t   i s   a v a i l a b l e   b o t h   a s   a   s t a n d a l o n e   b i n a r y   a n d   a s   a   n a t i v e   f e a t u r e   o f   k u b e c t l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_4_14742"
  },
  {
    "question": "What is Bulk operations in kubectl?",
    "answer": "R e s o u r c e   c r e a t i o n   i s n ' t   t h e   o n l y   o p e r a t i o n   t h a t   k u b e c t l   c a n   p e r f o r m   i n   b u l k .   I t   c a n   a l s o   e x t r a c t   r e s o u r c e   n a m e s   f r o m   c o n f i g u r a t i o n   f i l e s   i n   o r d e r   t o   p e r f o r m   o t h e r   o p e r a t i o n s ,   i n   p a r t i c u l a r   t o   d e l e t e   t h e   s a m e   r e s o u r c e s   y o u   c r e a t e d :   k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / n g i n x - a p p . y a m l   d e p l o y m e n t . a p p s   \" m y - n g i n x \"   d e l e t e d   s e r v i c e   \" m y - n g i n x - s v c \"   d e l e t e d   I n   t h e   c a s e   o f   t w o   r e s o u r c e s ,   y o u   c a n   s p e c i f y   b o t h   r e s o u r c e s   o n   t h e   c o m m a n d   l i n e   u s i n g   t h e   r e s o u r c e / n a m e   s y n t a x :   k u b e c t l   d e l e t e   d e p l o y m e n t s / m y - n g i n x   s e r v i c e s / m y - n g i n x - s v c   F o r   l a r g e r   n u m b e r s   o f   r e s o u r c e s ,   y o u ' l l   f i n d   i t   e a s i e r   t o   s p e c i f y   t h e   s e l e c t o r   ( l a b e l   q u e r y )   s p e c i f i e d   u s i n g   - l   o r   - - s e l e c t o r ,   t o   f i l t e r   r e s o u r c e s   b y   t h e i r   l a b e l s :   k u b e c t l   d e l e t e   d e p l o y m e n t , s e r v i c e s   - l   a p p = n g i n x   d e p l o y m e n t . a p p s   \" m y - n g i n x \"   d e l e t e d   s e r v i c e   \" m y - n g i n x - s v c \"   d e l e t e d",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14743"
  },
  {
    "question": "What is Chaining and filtering?",
    "answer": "B e c a u s e   k u b e c t l   o u t p u t s   r e s o u r c e   n a m e s   i n   t h e   s a m e   s y n t a x   i t   a c c e p t s ,   y o u   c a n   c h a i n   o p e r a t i o n s   u s i n g   $ ( )   o r   x a r g s :   k u b e c t l   g e t   $ ( k u b e c t l   c r e a t e   - f   d o c s / c o n c e p t s / c l u s t e r - a d m i n i s t r a t i o n / n g i n x /   - o   n a m e   |   g r e p   s e r v i c e /   )   k u b e c t l   c r e a t e   - f   d o c s / c o n c e p t s / c l u s t e r - a d m i n i s t r a t i o n / n g i n x /   - o   n a m e   |   g r e p   s e r v i c e /   |   x a r g s   - i   k u b e c t l   g e t   ' { } '   T h e   o u t p u t   m i g h t   b e   s i m i l a r   t o :   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   m y - n g i n x - s v c   L o a d B a l a n c e r   1 0 . 0 . 0 . 2 0 8   < p e n d i n g >   8 0 / T C P   0 s   W i t h   t h e   a b o v e   c o m m a n d s ,   f i r s t   y o u   c r e a t e   r e s o u r c e s   u n d e r   e x a m p l e s / a p p l i c a t i o n / n g i n x /   a n d   p r i n t   t h e   r e s o u r c e s   c r e a t e d   w i t h   - o   n a m e   o u t p u t   f o r m a t   ( p r i n t   e a c h   r e s o u r c e   a s   r e s o u r c e / n a m e ) .   T h e n   y o u   g r e p   o n l y   t h e   S e r v i c e ,   a n d   t h e n   p r i n t   i t   w i t h   k u b e c t l   g e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14744"
  },
  {
    "question": "What is Recursive operations on local files?",
    "answer": "I f   y o u   h a p p e n   t o   o r g a n i z e   y o u r   r e s o u r c e s   a c r o s s   s e v e r a l   s u b d i r e c t o r i e s   w i t h i n   a   p a r t i c u l a r   d i r e c t o r y ,   y o u   c a n   r e c u r s i v e l y   p e r f o r m   t h e   o p e r a t i o n s   o n   t h e   s u b d i r e c t o r i e s   a l s o ,   b y   s p e c i f y i n g   - - r e c u r s i v e   o r   - R   a l o n g s i d e   t h e   - - f i l e n a m e / - f   a r g u m e n t .   F o r   i n s t a n c e ,   a s s u m e   t h e r e   i s   a   d i r e c t o r y   p r o j e c t / k 8 s / d e v e l o p m e n t   t h a t   h o l d s   a l l   o f   t h e   m a n i f e s t s   n e e d e d   f o r   t h e   d e v e l o p m e n t   e n v i r o n m e n t ,   o r g a n i z e d   b y   r e s o u r c e   t y p e :   p r o j e c t / k 8 s / d e v e l o p m e n t   ├ ─ ─   c o n f i g m a p   │   └ ─ ─   m y - c o n f i g m a p . y a m l   ├ ─ ─   d e p l o y m e n t   │   └ ─ ─   m y - d e p l o y m e n t . y a m l   └ ─ ─   p v c   └ ─ ─   m y - p v c . y a m l   B y   d e f a u l t ,   p e r f o r m i n g   a   b u l k   o p e r a t i o n   o n   p r o j e c t / k 8 s / d e v e l o p m e n t   w i l l   s t o p   a t   t h e   f i r s t   l e v e l   o f   t h e   d i r e c t o r y ,   n o t   p r o c e s s i n g   a n y   s u b d i r e c t o r i e s .   I f   y o u   h a d   t r i e d   t o   c r e a t e   t h e   r e s o u r c e s   i n   t h i s   d i r e c t o r y   u s i n g   t h e   f o l l o w i n g   c o m m a n d ,   w e   w o u l d   h a v e   e n c o u n t e r e d   a n   e r r o r :   k u b e c t l   a p p l y   - f   p r o j e c t / k 8 s / d e v e l o p m e n t   e r r o r :   y o u   m u s t   p r o v i d e   o n e   o r   m o r e   r e s o u r c e s   b y   a r g u m e n t   o r   f i l e n a m e   ( . j s o n | . y a m l | . y m l | s t d i n )   I n s t e a d ,   s p e c i f y   t h e   - - r e c u r s i v e   o r   - R   c o m m a n d   l i n e   a r g u ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14745"
  },
  {
    "question": "What is Updating your application without an outage?",
    "answer": "A t   s o m e   p o i n t ,   y o u ' l l   e v e n t u a l l y   n e e d   t o   u p d a t e   y o u r   d e p l o y e d   a p p l i c a t i o n ,   t y p i c a l l y   b y   s p e c i f y i n g   a   n e w   i m a g e   o r   i m a g e   t a g .   k u b e c t l   s u p p o r t s   s e v e r a l   u p d a t e   o p e r a t i o n s ,   e a c h   o f   w h i c h   i s   a p p l i c a b l e   t o   d i f f e r e n t   s c e n a r i o s .   Y o u   c a n   r u n   m u l t i p l e   c o p i e s   o f   y o u r   a p p ,   a n d   u s e   a   r o l l o u t   t o   g r a d u a l l y   s h i f t   t h e   t r a f f i c   t o   n e w   h e a l t h y   P o d s .   E v e n t u a l l y ,   a l l   t h e   r u n n i n g   P o d s   w o u l d   h a v e   t h e   n e w   s o f t w a r e .   T h i s   s e c t i o n   o f   t h e   p a g e   g u i d e s   y o u   t h r o u g h   h o w   t o   c r e a t e   a n d   u p d a t e   a p p l i c a t i o n s   w i t h   D e p l o y m e n t s .   L e t ' s   s a y   y o u   w e r e   r u n n i n g   v e r s i o n   1 . 1 4 . 2   o f   n g i n x :   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - n g i n x   - - i m a g e = n g i n x : 1 . 1 4 . 2   d e p l o y m e n t . a p p s / m y - n g i n x   c r e a t e d   E n s u r e   t h a t   t h e r e   i s   1   r e p l i c a :   k u b e c t l   s c a l e   - - r e p l i c a s   1   d e p l o y m e n t s / m y - n g i n x   - - s u b r e s o u r c e = ' s c a l e '   - - t y p e = ' m e r g e '   - p   ' { \" s p e c \" : { \" r e p l i c a s \" :   1 } } '   d e p l o y m e n t . a p p s / m y - n g i n x   s c a l e d   a n d   a l l o w   K u b e r n e t e s   t o   a d d   m o r e   t e m p o r a r y   r e p l i c a s   d u r i n g   a   r o l l o u t ,   b y   s e t t i n g   a   s u r g e   m a x i m u m   o f   1 0 0 % :   k u b e c t l   p a t c h   - - t y p e = ' m e r g e '   - p   ' { \" s p e c \" : { \" s t r a t e g y \" : { \" r o l l i n g U p d a t e \" : { \" m a x S u r g e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14746"
  },
  {
    "question": "What is Managing rollouts?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   r o l l o u t   t o   m a n a g e   a   p r o g r e s s i v e   u p d a t e   o f   a n   e x i s t i n g   a p p l i c a t i o n .   F o r   e x a m p l e :   k u b e c t l   a p p l y   - f   m y - d e p l o y m e n t . y a m l   #   w a i t   f o r   r o l l o u t   t o   f i n i s h   k u b e c t l   r o l l o u t   s t a t u s   d e p l o y m e n t / m y - d e p l o y m e n t   - - t i m e o u t   1 0 m   #   1 0   m i n u t e   t i m e o u t   o r   k u b e c t l   a p p l y   - f   b a c k i n g - s t a t e f u l - c o m p o n e n t . y a m l   #   d o n ' t   w a i t   f o r   r o l l o u t   t o   f i n i s h ,   j u s t   c h e c k   t h e   s t a t u s   k u b e c t l   r o l l o u t   s t a t u s   s t a t e f u l s e t s / b a c k i n g - s t a t e f u l - c o m p o n e n t   - - w a t c h = f a l s e   Y o u   c a n   a l s o   p a u s e ,   r e s u m e   o r   c a n c e l   a   r o l l o u t .   V i s i t   k u b e c t l   r o l l o u t   t o   l e a r n   m o r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14747"
  },
  {
    "question": "What is Canary deployments?",
    "answer": "A n o t h e r   s c e n a r i o   w h e r e   m u l t i p l e   l a b e l s   a r e   n e e d e d   i s   t o   d i s t i n g u i s h   d e p l o y m e n t s   o f   d i f f e r e n t   r e l e a s e s   o r   c o n f i g u r a t i o n s   o f   t h e   s a m e   c o m p o n e n t .   I t   i s   c o m m o n   p r a c t i c e   t o   d e p l o y   a   c a n a r y   o f   a   n e w   a p p l i c a t i o n   r e l e a s e   ( s p e c i f i e d   v i a   i m a g e   t a g   i n   t h e   p o d   t e m p l a t e )   s i d e   b y   s i d e   w i t h   t h e   p r e v i o u s   r e l e a s e   s o   t h a t   t h e   n e w   r e l e a s e   c a n   r e c e i v e   l i v e   p r o d u c t i o n   t r a f f i c   b e f o r e   f u l l y   r o l l i n g   i t   o u t .   F o r   i n s t a n c e ,   y o u   c a n   u s e   a   t r a c k   l a b e l   t o   d i f f e r e n t i a t e   d i f f e r e n t   r e l e a s e s .   T h e   p r i m a r y ,   s t a b l e   r e l e a s e   w o u l d   h a v e   a   t r a c k   l a b e l   w i t h   v a l u e   a s   s t a b l e :   n a m e :   f r o n t e n d   r e p l i c a s :   3   . . .   l a b e l s :   a p p :   g u e s t b o o k   t i e r :   f r o n t e n d   t r a c k :   s t a b l e   . . .   i m a g e :   g b - f r o n t e n d : v 3   a n d   t h e n   y o u   c a n   c r e a t e   a   n e w   r e l e a s e   o f   t h e   g u e s t b o o k   f r o n t e n d   t h a t   c a r r i e s   t h e   t r a c k   l a b e l   w i t h   d i f f e r e n t   v a l u e   ( i . e .   c a n a r y ) ,   s o   t h a t   t w o   s e t s   o f   p o d s   w o u l d   n o t   o v e r l a p :   n a m e :   f r o n t e n d - c a n a r y   r e p l i c a s :   1   . . .   l a b e l s :   a p p :   g u e s t b o o k   t i e r :   f r o n t e n d   t r a c k :   c a n a r y   . . .   i m a g e :   g b - f r o n t e n d : v 4   T h e   f r o n t e n d   s e r v i c e   w o u l d   s p a n   b o t h   s e t s   o f   r e p l i c a s   b y   s e l e c t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14748"
  },
  {
    "question": "What is Updating annotations?",
    "answer": "S o m e t i m e s   y o u   w o u l d   w a n t   t o   a t t a c h   a n n o t a t i o n s   t o   r e s o u r c e s .   A n n o t a t i o n s   a r e   a r b i t r a r y   n o n - i d e n t i f y i n g   m e t a d a t a   f o r   r e t r i e v a l   b y   A P I   c l i e n t s   s u c h   a s   t o o l s   o r   l i b r a r i e s .   T h i s   c a n   b e   d o n e   w i t h   k u b e c t l   a n n o t a t e .   F o r   e x a m p l e :   k u b e c t l   a n n o t a t e   p o d s   m y - n g i n x - v 4 - 9 g w 1 9   d e s c r i p t i o n = ' m y   f r o n t e n d   r u n n i n g   n g i n x '   k u b e c t l   g e t   p o d s   m y - n g i n x - v 4 - 9 g w 1 9   - o   y a m l   a p i V e r s i o n :   v 1   k i n d :   p o d   m e t a d a t a :   a n n o t a t i o n s :   d e s c r i p t i o n :   m y   f r o n t e n d   r u n n i n g   n g i n x   . . .   F o r   m o r e   i n f o r m a t i o n ,   s e e   a n n o t a t i o n s   a n d   k u b e c t l   a n n o t a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14749"
  },
  {
    "question": "What is Scaling your application?",
    "answer": "W h e n   l o a d   o n   y o u r   a p p l i c a t i o n   g r o w s   o r   s h r i n k s ,   u s e   k u b e c t l   t o   s c a l e   y o u r   a p p l i c a t i o n .   F o r   i n s t a n c e ,   t o   d e c r e a s e   t h e   n u m b e r   o f   n g i n x   r e p l i c a s   f r o m   3   t o   1 ,   d o :   k u b e c t l   s c a l e   d e p l o y m e n t / m y - n g i n x   - - r e p l i c a s = 1   d e p l o y m e n t . a p p s / m y - n g i n x   s c a l e d   N o w   y o u   o n l y   h a v e   o n e   p o d   m a n a g e d   b y   t h e   d e p l o y m e n t .   k u b e c t l   g e t   p o d s   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - j 5 f h i   1 / 1   R u n n i n g   0   3 0 m   T o   h a v e   t h e   s y s t e m   a u t o m a t i c a l l y   c h o o s e   t h e   n u m b e r   o f   n g i n x   r e p l i c a s   a s   n e e d e d ,   r a n g i n g   f r o m   1   t o   3 ,   d o :   #   T h i s   r e q u i r e s   a n   e x i s t i n g   s o u r c e   o f   c o n t a i n e r   a n d   P o d   m e t r i c s   k u b e c t l   a u t o s c a l e   d e p l o y m e n t / m y - n g i n x   - - m i n = 1   - - m a x = 3   h o r i z o n t a l p o d a u t o s c a l e r . a u t o s c a l i n g / m y - n g i n x   a u t o s c a l e d   N o w   y o u r   n g i n x   r e p l i c a s   w i l l   b e   s c a l e d   u p   a n d   d o w n   a s   n e e d e d ,   a u t o m a t i c a l l y .   F o r   m o r e   i n f o r m a t i o n ,   p l e a s e   s e e   k u b e c t l   s c a l e ,   k u b e c t l   a u t o s c a l e   a n d   h o r i z o n t a l   p o d   a u t o s c a l e r   d o c u m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14750"
  },
  {
    "question": "What is In-place updates of resources?",
    "answer": "S o m e t i m e s   i t ' s   n e c e s s a r y   t o   m a k e   n a r r o w ,   n o n - d i s r u p t i v e   u p d a t e s   t o   r e s o u r c e s   y o u ' v e   c r e a t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14751"
  },
  {
    "question": "What is kubectl apply?",
    "answer": "I t   i s   s u g g e s t e d   t o   m a i n t a i n   a   s e t   o f   c o n f i g u r a t i o n   f i l e s   i n   s o u r c e   c o n t r o l   ( s e e   c o n f i g u r a t i o n   a s   c o d e ) ,   s o   t h a t   t h e y   c a n   b e   m a i n t a i n e d   a n d   v e r s i o n e d   a l o n g   w i t h   t h e   c o d e   f o r   t h e   r e s o u r c e s   t h e y   c o n f i g u r e .   T h e n ,   y o u   c a n   u s e   k u b e c t l   a p p l y   t o   p u s h   y o u r   c o n f i g u r a t i o n   c h a n g e s   t o   t h e   c l u s t e r .   T h i s   c o m m a n d   w i l l   c o m p a r e   t h e   v e r s i o n   o f   t h e   c o n f i g u r a t i o n   t h a t   y o u ' r e   p u s h i n g   w i t h   t h e   p r e v i o u s   v e r s i o n   a n d   a p p l y   t h e   c h a n g e s   y o u ' v e   m a d e ,   w i t h o u t   o v e r w r i t i n g   a n y   a u t o m a t e d   c h a n g e s   t o   p r o p e r t i e s   y o u   h a v e n ' t   s p e c i f i e d .   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / n g i n x / n g i n x - d e p l o y m e n t . y a m l   d e p l o y m e n t . a p p s / m y - n g i n x   c o n f i g u r e d   T o   l e a r n   m o r e   a b o u t   t h e   u n d e r l y i n g   m e c h a n i s m ,   r e a d   s e r v e r - s i d e   a p p l y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14752"
  },
  {
    "question": "What is kubectl edit?",
    "answer": "A l t e r n a t i v e l y ,   y o u   m a y   a l s o   u p d a t e   r e s o u r c e s   w i t h   k u b e c t l   e d i t :   k u b e c t l   e d i t   d e p l o y m e n t / m y - n g i n x   T h i s   i s   e q u i v a l e n t   t o   f i r s t   g e t   t h e   r e s o u r c e ,   e d i t   i t   i n   t e x t   e d i t o r ,   a n d   t h e n   a p p l y   t h e   r e s o u r c e   w i t h   t h e   u p d a t e d   v e r s i o n :   k u b e c t l   g e t   d e p l o y m e n t   m y - n g i n x   - o   y a m l   >   / t m p / n g i n x . y a m l   v i   / t m p / n g i n x . y a m l   #   d o   s o m e   e d i t ,   a n d   t h e n   s a v e   t h e   f i l e   k u b e c t l   a p p l y   - f   / t m p / n g i n x . y a m l   d e p l o y m e n t . a p p s / m y - n g i n x   c o n f i g u r e d   r m   / t m p / n g i n x . y a m l   T h i s   a l l o w s   y o u   t o   d o   m o r e   s i g n i f i c a n t   c h a n g e s   m o r e   e a s i l y .   N o t e   t h a t   y o u   c a n   s p e c i f y   t h e   e d i t o r   w i t h   y o u r   E D I T O R   o r   K U B E _ E D I T O R   e n v i r o n m e n t   v a r i a b l e s .   F o r   m o r e   i n f o r m a t i o n ,   p l e a s e   s e e   k u b e c t l   e d i t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14753"
  },
  {
    "question": "What is kubectl patch?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   p a t c h   t o   u p d a t e   A P I   o b j e c t s   i n   p l a c e .   T h i s   s u b c o m m a n d   s u p p o r t s   J S O N   p a t c h ,   J S O N   m e r g e   p a t c h ,   a n d   s t r a t e g i c   m e r g e   p a t c h .   S e e   U p d a t e   A P I   O b j e c t s   i n   P l a c e   U s i n g   k u b e c t l   p a t c h   f o r   m o r e   d e t a i l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_3_14754"
  },
  {
    "question": "What is Disruptive updates?",
    "answer": "I n   s o m e   c a s e s ,   y o u   m a y   n e e d   t o   u p d a t e   r e s o u r c e   f i e l d s   t h a t   c a n n o t   b e   u p d a t e d   o n c e   i n i t i a l i z e d ,   o r   y o u   m a y   w a n t   t o   m a k e   a   r e c u r s i v e   c h a n g e   i m m e d i a t e l y ,   s u c h   a s   t o   f i x   b r o k e n   p o d s   c r e a t e d   b y   a   D e p l o y m e n t .   T o   c h a n g e   s u c h   f i e l d s ,   u s e   r e p l a c e   - - f o r c e ,   w h i c h   d e l e t e s   a n d   r e - c r e a t e s   t h e   r e s o u r c e .   I n   t h i s   c a s e ,   y o u   c a n   m o d i f y   y o u r   o r i g i n a l   c o n f i g u r a t i o n   f i l e :   k u b e c t l   r e p l a c e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / n g i n x / n g i n x - d e p l o y m e n t . y a m l   - - f o r c e   d e p l o y m e n t . a p p s / m y - n g i n x   d e l e t e d   d e p l o y m e n t . a p p s / m y - n g i n x   r e p l a c e d",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14755"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   h o w   t o   u s e   k u b e c t l   f o r   a p p l i c a t i o n   i n t r o s p e c t i o n   a n d   d e b u g g i n g .   ©   2 0 2 5   T h e   K u b e r n e t e s   A u t h o r s   |   D o c u m e n t a t i o n   D i s t r i b u t e d   u n d e r   C C   B Y   4 . 0   ©   2 0 2 5   T h e   L i n u x   F o u n d a t i o n   ® .   A l l   r i g h t s   r e s e r v e d .   T h e   L i n u x   F o u n d a t i o n   h a s   r e g i s t e r e d   t r a d e m a r k s   a n d   u s e s   t r a d e m a r k s .   F o r   a   l i s t   o f   t r a d e m a r k s   o f   T h e   L i n u x   F o u n d a t i o n ,   p l e a s e   s e e   o u r   T r a d e m a r k   U s a g e   p a g e   I C P   l i c e n s e :   京 I C P 备 1 7 0 7 4 2 6 6 号 - 3",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/_print/",
    "id": "k8s_00658_section_2_14756"
  },
  {
    "question": "What is kubectl config get-users?",
    "answer": "kubectl config get-usersSynopsisDisplay users defined in the kubeconfig.kubectl config get-users [flags] Examples # List the users that kubectl knows about kubectl config get-users Options-h, --helphelp for get-usersParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-users/",
    "id": "k8s_00659_qa_14757"
  },
  {
    "question": "How does kubectl config get-users work?",
    "answer": "kubectl config get-usersSynopsisDisplay users defined in the kubeconfig.kubectl config get-users [flags] Examples # List the users that kubectl knows about kubectl config get-users Options-h, --helphelp for get-usersParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-users/",
    "id": "k8s_00659_qa_14758"
  },
  {
    "question": "When would you use kubectl config get-users?",
    "answer": "kubectl config get-usersSynopsisDisplay users defined in the kubeconfig.kubectl config get-users [flags] Examples # List the users that kubectl knows about kubectl config get-users Options-h, --helphelp for get-usersParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-users/",
    "id": "k8s_00659_qa_14759"
  },
  {
    "question": "What are the benefits of kubectl config get-users?",
    "answer": "kubectl config get-usersSynopsisDisplay users defined in the kubeconfig.kubectl config get-users [flags] Examples # List the users that kubectl knows about kubectl config get-users Options-h, --helphelp for get-usersParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --version=",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-users/",
    "id": "k8s_00659_qa_14760"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   u s e r s   d e f i n e d   i n   t h e   k u b e c o n f i g .   k u b e c t l   c o n f i g   g e t - u s e r s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-users/",
    "id": "k8s_00659_section_2_14761"
  },
  {
    "question": "What is Examples?",
    "answer": "#   L i s t   t h e   u s e r s   t h a t   k u b e c t l   k n o w s   a b o u t   k u b e c t l   c o n f i g   g e t - u s e r s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-users/",
    "id": "k8s_00659_section_2_14762"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   g e t - u s e r s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-users/",
    "id": "k8s_00659_section_2_14763"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-users/",
    "id": "k8s_00659_section_2_14764"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_get-users/",
    "id": "k8s_00659_section_2_14765"
  },
  {
    "question": "What is kubectl describe?",
    "answer": "kubectl describeSynopsisShow details of a specific resource or group of resources.Print a detailed description of the selected resources, including related resources such as events or controllers. You may select a single object by name, all objects of that type, provide a name prefix, or label selector. For example: $ kubectl describe TYPE NAME_PREFIX will first check for an exact match on TYPE and NAME_PREFIX. If no such resource exists, it will output details for every resource that has a name prefixed with NAME_PREFIX.Use \"kubectl api-resources\" for a complete list of supported resources.kubectl describe (-f FILENAME | TYPE [NAME_PREFIX | -l label] | TYPE/NAME) Examples # Describe a node kubectl describe nodes kubernetes-node-emt8.c.myproject.internal # Describe a pod kubectl describe pods/nginx # Describe a pod identified by type and name in \"pod.json\" kubectl describe -f pod.json # Describe all pods kubectl describe pods # Describe pods by label name=myLabel kubectl describe pods -l name=myLabel # Describe all pods managed by the 'frontend' replication controller # (rc-created pods get the name of the rc as a prefix in the pod name) kubectl describe pods frontend Options-A, --all-namespacesIf present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.--chunk-size int Default: 500Return large lists in chunks rather than all at once. Pass 0 to disable. This flag is beta and may change in the future.-f, --filename stringsFilename, directory, or URL to files containing the resource to describe-h, --helphelp for describe-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-events Default: trueIf true, display events related to the described object.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_describe/",
    "id": "k8s_00660_qa_14766"
  },
  {
    "question": "How does kubectl describe work?",
    "answer": "kubectl describeSynopsisShow details of a specific resource or group of resources.Print a detailed description of the selected resources, including related resources such as events or controllers. You may select a single object by name, all objects of that type, provide a name prefix, or label selector. For example: $ kubectl describe TYPE NAME_PREFIX will first check for an exact match on TYPE and NAME_PREFIX. If no such resource exists, it will output details for every resource that has a name prefixed with NAME_PREFIX.Use \"kubectl api-resources\" for a complete list of supported resources.kubectl describe (-f FILENAME | TYPE [NAME_PREFIX | -l label] | TYPE/NAME) Examples # Describe a node kubectl describe nodes kubernetes-node-emt8.c.myproject.internal # Describe a pod kubectl describe pods/nginx # Describe a pod identified by type and name in \"pod.json\" kubectl describe -f pod.json # Describe all pods kubectl describe pods # Describe pods by label name=myLabel kubectl describe pods -l name=myLabel # Describe all pods managed by the 'frontend' replication controller # (rc-created pods get the name of the rc as a prefix in the pod name) kubectl describe pods frontend Options-A, --all-namespacesIf present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.--chunk-size int Default: 500Return large lists in chunks rather than all at once. Pass 0 to disable. This flag is beta and may change in the future.-f, --filename stringsFilename, directory, or URL to files containing the resource to describe-h, --helphelp for describe-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-events Default: trueIf true, display events related to the described object.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_describe/",
    "id": "k8s_00660_qa_14767"
  },
  {
    "question": "When would you use kubectl describe?",
    "answer": "kubectl describeSynopsisShow details of a specific resource or group of resources.Print a detailed description of the selected resources, including related resources such as events or controllers. You may select a single object by name, all objects of that type, provide a name prefix, or label selector. For example: $ kubectl describe TYPE NAME_PREFIX will first check for an exact match on TYPE and NAME_PREFIX. If no such resource exists, it will output details for every resource that has a name prefixed with NAME_PREFIX.Use \"kubectl api-resources\" for a complete list of supported resources.kubectl describe (-f FILENAME | TYPE [NAME_PREFIX | -l label] | TYPE/NAME) Examples # Describe a node kubectl describe nodes kubernetes-node-emt8.c.myproject.internal # Describe a pod kubectl describe pods/nginx # Describe a pod identified by type and name in \"pod.json\" kubectl describe -f pod.json # Describe all pods kubectl describe pods # Describe pods by label name=myLabel kubectl describe pods -l name=myLabel # Describe all pods managed by the 'frontend' replication controller # (rc-created pods get the name of the rc as a prefix in the pod name) kubectl describe pods frontend Options-A, --all-namespacesIf present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.--chunk-size int Default: 500Return large lists in chunks rather than all at once. Pass 0 to disable. This flag is beta and may change in the future.-f, --filename stringsFilename, directory, or URL to files containing the resource to describe-h, --helphelp for describe-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-events Default: trueIf true, display events related to the described object.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_describe/",
    "id": "k8s_00660_qa_14768"
  },
  {
    "question": "What are the benefits of kubectl describe?",
    "answer": "kubectl describeSynopsisShow details of a specific resource or group of resources.Print a detailed description of the selected resources, including related resources such as events or controllers. You may select a single object by name, all objects of that type, provide a name prefix, or label selector. For example: $ kubectl describe TYPE NAME_PREFIX will first check for an exact match on TYPE and NAME_PREFIX. If no such resource exists, it will output details for every resource that has a name prefixed with NAME_PREFIX.Use \"kubectl api-resources\" for a complete list of supported resources.kubectl describe (-f FILENAME | TYPE [NAME_PREFIX | -l label] | TYPE/NAME) Examples # Describe a node kubectl describe nodes kubernetes-node-emt8.c.myproject.internal # Describe a pod kubectl describe pods/nginx # Describe a pod identified by type and name in \"pod.json\" kubectl describe -f pod.json # Describe all pods kubectl describe pods # Describe pods by label name=myLabel kubectl describe pods -l name=myLabel # Describe all pods managed by the 'frontend' replication controller # (rc-created pods get the name of the rc as a prefix in the pod name) kubectl describe pods frontend Options-A, --all-namespacesIf present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.--chunk-size int Default: 500Return large lists in chunks rather than all at once. Pass 0 to disable. This flag is beta and may change in the future.-f, --filename stringsFilename, directory, or URL to files containing the resource to describe-h, --helphelp for describe-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-events Default: trueIf true, display events related to the described object.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_describe/",
    "id": "k8s_00660_qa_14769"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S h o w   d e t a i l s   o f   a   s p e c i f i c   r e s o u r c e   o r   g r o u p   o f   r e s o u r c e s .   P r i n t   a   d e t a i l e d   d e s c r i p t i o n   o f   t h e   s e l e c t e d   r e s o u r c e s ,   i n c l u d i n g   r e l a t e d   r e s o u r c e s   s u c h   a s   e v e n t s   o r   c o n t r o l l e r s .   Y o u   m a y   s e l e c t   a   s i n g l e   o b j e c t   b y   n a m e ,   a l l   o b j e c t s   o f   t h a t   t y p e ,   p r o v i d e   a   n a m e   p r e f i x ,   o r   l a b e l   s e l e c t o r .   F o r   e x a m p l e :   $   k u b e c t l   d e s c r i b e   T Y P E   N A M E _ P R E F I X   w i l l   f i r s t   c h e c k   f o r   a n   e x a c t   m a t c h   o n   T Y P E   a n d   N A M E _ P R E F I X .   I f   n o   s u c h   r e s o u r c e   e x i s t s ,   i t   w i l l   o u t p u t   d e t a i l s   f o r   e v e r y   r e s o u r c e   t h a t   h a s   a   n a m e   p r e f i x e d   w i t h   N A M E _ P R E F I X .   U s e   \" k u b e c t l   a p i - r e s o u r c e s \"   f o r   a   c o m p l e t e   l i s t   o f   s u p p o r t e d   r e s o u r c e s .   k u b e c t l   d e s c r i b e   ( - f   F I L E N A M E   |   T Y P E   [ N A M E _ P R E F I X   |   - l   l a b e l ]   |   T Y P E / N A M E )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_describe/",
    "id": "k8s_00660_section_2_14770"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D e s c r i b e   a   n o d e   k u b e c t l   d e s c r i b e   n o d e s   k u b e r n e t e s - n o d e - e m t 8 . c . m y p r o j e c t . i n t e r n a l   #   D e s c r i b e   a   p o d   k u b e c t l   d e s c r i b e   p o d s / n g i n x   #   D e s c r i b e   a   p o d   i d e n t i f i e d   b y   t y p e   a n d   n a m e   i n   \" p o d . j s o n \"   k u b e c t l   d e s c r i b e   - f   p o d . j s o n   #   D e s c r i b e   a l l   p o d s   k u b e c t l   d e s c r i b e   p o d s   #   D e s c r i b e   p o d s   b y   l a b e l   n a m e = m y L a b e l   k u b e c t l   d e s c r i b e   p o d s   - l   n a m e = m y L a b e l   #   D e s c r i b e   a l l   p o d s   m a n a g e d   b y   t h e   ' f r o n t e n d '   r e p l i c a t i o n   c o n t r o l l e r   #   ( r c - c r e a t e d   p o d s   g e t   t h e   n a m e   o f   t h e   r c   a s   a   p r e f i x   i n   t h e   p o d   n a m e )   k u b e c t l   d e s c r i b e   p o d s   f r o n t e n d",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_describe/",
    "id": "k8s_00660_section_2_14771"
  },
  {
    "question": "What is Options?",
    "answer": "I f   p r e s e n t ,   l i s t   t h e   r e q u e s t e d   o b j e c t ( s )   a c r o s s   a l l   n a m e s p a c e s .   N a m e s p a c e   i n   c u r r e n t   c o n t e x t   i s   i g n o r e d   e v e n   i f   s p e c i f i e d   w i t h   - - n a m e s p a c e .   R e t u r n   l a r g e   l i s t s   i n   c h u n k s   r a t h e r   t h a n   a l l   a t   o n c e .   P a s s   0   t o   d i s a b l e .   T h i s   f l a g   i s   b e t a   a n d   m a y   c h a n g e   i n   t h e   f u t u r e .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   c o n t a i n i n g   t h e   r e s o u r c e   t o   d e s c r i b e   h e l p   f o r   d e s c r i b e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   I f   t r u e ,   d i s p l a y   e v e n t s   r e l a t e d   t o   t h e   d e s c r i b e d   o b j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_describe/",
    "id": "k8s_00660_section_2_14772"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_describe/",
    "id": "k8s_00660_section_2_14773"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_describe/",
    "id": "k8s_00660_section_2_14774"
  },
  {
    "question": "What is Mapping PodSecurityPolicies to Pod Security Standards?",
    "answer": "Mapping PodSecurityPolicies to Pod Security StandardsThe tables below enumerate the configuration parameters on PodSecurityPolicy objects, whether the field mutates and/or validates pods, and how the configuration values map to the Pod Security Standards.For each applicable parameter, the allowed values for the Baseline and Restricted profiles are listed. Anything outside the allowed values for those profiles would fall under the Privileged profile. \"No opinion\" means all values are allowed under all Pod Security Standards.For a step-by-step migration guide, see Migrate from PodSecurityPolicy to the Built-In PodSecurity Admission Controller.PodSecurityPolicy SpecThe fields enumerated in this table are part of the PodSecurityPolicySpec, which is specified under the .spec field path.Mapping PodSecurityPolicySpec fields to Pod Security StandardsPodSecurityPolicySpecTypePod Security Standards EquivalentprivilegedValidatingBaseline & Restricted: false / undefined / nildefaultAddCapabilitiesMutating & ValidatingRequirements match allowedCapabilities below.allowedCapabilitiesValidatingBaseline: subset ofAUDIT_WRITECHOWNDAC_OVERRIDEFOWNERFSETIDKILLMKNODNET_BIND_SERVICESETFCAPSETGIDSETPCAPSETUIDSYS_CHROOTRestricted: empty / undefined / nil OR a list containing only NET_BIND_SERVICErequiredDropCapabilitiesMutating & ValidatingBaseline: no opinionRestricted: must include ALLvolumesValidatingBaseline: anything excepthostPath*Restricted: subset ofconfigMapcsidownwardAPIemptyDirephemeralpersistentVolumeClaimprojectedsecrethostNetworkValidatingBaseline & Restricted: false / undefined / nilhostPortsValidatingBaseline & Restricted: undefined / nil / emptyhostPIDValidatingBaseline & Restricted: false / undefined / nilhostIPCValidatingBaseline & Restricted: false / undefined / nilseLinuxMutating & ValidatingBaseline & Restricted: seLinux.rule is MustRunAs, with the following optionsuser is unset (\"\" / undefined / nil)role is unset (\"\" / undefined / nil)type is unset or one of: container_t, container_init_t, container_kvm_t, container_engine_tlevel is anythingrunAsUserMutating & ValidatingBaseline: AnythingRestricted: rule is MustRunAsNonRootrunAsGroupMutating (MustRunAs) & ValidatingNo opinionsupplementalGroupsMutating & ValidatingNo opinionfsGroupMutating & ValidatingNo opinionreadOnlyRootFilesystemMutating & ValidatingNo opiniondefaultAllowPrivilegeEscalationMutatingNo opinion (non-validating)allowPrivilegeEscalationMutating & ValidatingOnly mutating if set to falseBaseline: No opinionRestricted: falseallowedHostPathsValidatingNo opinion (volumes takes precedence)allowedFlexVolumesValidatingNo opinion (volumes takes precedence)allowedCSIDriversValidatingNo opinion (volumes takes precedence)allowedUnsafeSysctlsValidatingBaseline & Restricted: undefined / nil / emptyforbiddenSysctlsValidatingNo opinionallowedProcMountTypes(alpha feature)ValidatingBaseline & Restricted: [\"Default\"] OR undefined / nil / emptyruntimeClass .defaultRuntimeClassNameMutatingNo opinionrunt",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/psp-to-pod-security-standards/",
    "id": "k8s_00661_qa_14775"
  },
  {
    "question": "How does Mapping PodSecurityPolicies to Pod Security Standards work?",
    "answer": "Mapping PodSecurityPolicies to Pod Security StandardsThe tables below enumerate the configuration parameters on PodSecurityPolicy objects, whether the field mutates and/or validates pods, and how the configuration values map to the Pod Security Standards.For each applicable parameter, the allowed values for the Baseline and Restricted profiles are listed. Anything outside the allowed values for those profiles would fall under the Privileged profile. \"No opinion\" means all values are allowed under all Pod Security Standards.For a step-by-step migration guide, see Migrate from PodSecurityPolicy to the Built-In PodSecurity Admission Controller.PodSecurityPolicy SpecThe fields enumerated in this table are part of the PodSecurityPolicySpec, which is specified under the .spec field path.Mapping PodSecurityPolicySpec fields to Pod Security StandardsPodSecurityPolicySpecTypePod Security Standards EquivalentprivilegedValidatingBaseline & Restricted: false / undefined / nildefaultAddCapabilitiesMutating & ValidatingRequirements match allowedCapabilities below.allowedCapabilitiesValidatingBaseline: subset ofAUDIT_WRITECHOWNDAC_OVERRIDEFOWNERFSETIDKILLMKNODNET_BIND_SERVICESETFCAPSETGIDSETPCAPSETUIDSYS_CHROOTRestricted: empty / undefined / nil OR a list containing only NET_BIND_SERVICErequiredDropCapabilitiesMutating & ValidatingBaseline: no opinionRestricted: must include ALLvolumesValidatingBaseline: anything excepthostPath*Restricted: subset ofconfigMapcsidownwardAPIemptyDirephemeralpersistentVolumeClaimprojectedsecrethostNetworkValidatingBaseline & Restricted: false / undefined / nilhostPortsValidatingBaseline & Restricted: undefined / nil / emptyhostPIDValidatingBaseline & Restricted: false / undefined / nilhostIPCValidatingBaseline & Restricted: false / undefined / nilseLinuxMutating & ValidatingBaseline & Restricted: seLinux.rule is MustRunAs, with the following optionsuser is unset (\"\" / undefined / nil)role is unset (\"\" / undefined / nil)type is unset or one of: container_t, container_init_t, container_kvm_t, container_engine_tlevel is anythingrunAsUserMutating & ValidatingBaseline: AnythingRestricted: rule is MustRunAsNonRootrunAsGroupMutating (MustRunAs) & ValidatingNo opinionsupplementalGroupsMutating & ValidatingNo opinionfsGroupMutating & ValidatingNo opinionreadOnlyRootFilesystemMutating & ValidatingNo opiniondefaultAllowPrivilegeEscalationMutatingNo opinion (non-validating)allowPrivilegeEscalationMutating & ValidatingOnly mutating if set to falseBaseline: No opinionRestricted: falseallowedHostPathsValidatingNo opinion (volumes takes precedence)allowedFlexVolumesValidatingNo opinion (volumes takes precedence)allowedCSIDriversValidatingNo opinion (volumes takes precedence)allowedUnsafeSysctlsValidatingBaseline & Restricted: undefined / nil / emptyforbiddenSysctlsValidatingNo opinionallowedProcMountTypes(alpha feature)ValidatingBaseline & Restricted: [\"Default\"] OR undefined / nil / emptyruntimeClass .defaultRuntimeClassNameMutatingNo opinionrunt",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/psp-to-pod-security-standards/",
    "id": "k8s_00661_qa_14776"
  },
  {
    "question": "When would you use Mapping PodSecurityPolicies to Pod Security Standards?",
    "answer": "Mapping PodSecurityPolicies to Pod Security StandardsThe tables below enumerate the configuration parameters on PodSecurityPolicy objects, whether the field mutates and/or validates pods, and how the configuration values map to the Pod Security Standards.For each applicable parameter, the allowed values for the Baseline and Restricted profiles are listed. Anything outside the allowed values for those profiles would fall under the Privileged profile. \"No opinion\" means all values are allowed under all Pod Security Standards.For a step-by-step migration guide, see Migrate from PodSecurityPolicy to the Built-In PodSecurity Admission Controller.PodSecurityPolicy SpecThe fields enumerated in this table are part of the PodSecurityPolicySpec, which is specified under the .spec field path.Mapping PodSecurityPolicySpec fields to Pod Security StandardsPodSecurityPolicySpecTypePod Security Standards EquivalentprivilegedValidatingBaseline & Restricted: false / undefined / nildefaultAddCapabilitiesMutating & ValidatingRequirements match allowedCapabilities below.allowedCapabilitiesValidatingBaseline: subset ofAUDIT_WRITECHOWNDAC_OVERRIDEFOWNERFSETIDKILLMKNODNET_BIND_SERVICESETFCAPSETGIDSETPCAPSETUIDSYS_CHROOTRestricted: empty / undefined / nil OR a list containing only NET_BIND_SERVICErequiredDropCapabilitiesMutating & ValidatingBaseline: no opinionRestricted: must include ALLvolumesValidatingBaseline: anything excepthostPath*Restricted: subset ofconfigMapcsidownwardAPIemptyDirephemeralpersistentVolumeClaimprojectedsecrethostNetworkValidatingBaseline & Restricted: false / undefined / nilhostPortsValidatingBaseline & Restricted: undefined / nil / emptyhostPIDValidatingBaseline & Restricted: false / undefined / nilhostIPCValidatingBaseline & Restricted: false / undefined / nilseLinuxMutating & ValidatingBaseline & Restricted: seLinux.rule is MustRunAs, with the following optionsuser is unset (\"\" / undefined / nil)role is unset (\"\" / undefined / nil)type is unset or one of: container_t, container_init_t, container_kvm_t, container_engine_tlevel is anythingrunAsUserMutating & ValidatingBaseline: AnythingRestricted: rule is MustRunAsNonRootrunAsGroupMutating (MustRunAs) & ValidatingNo opinionsupplementalGroupsMutating & ValidatingNo opinionfsGroupMutating & ValidatingNo opinionreadOnlyRootFilesystemMutating & ValidatingNo opiniondefaultAllowPrivilegeEscalationMutatingNo opinion (non-validating)allowPrivilegeEscalationMutating & ValidatingOnly mutating if set to falseBaseline: No opinionRestricted: falseallowedHostPathsValidatingNo opinion (volumes takes precedence)allowedFlexVolumesValidatingNo opinion (volumes takes precedence)allowedCSIDriversValidatingNo opinion (volumes takes precedence)allowedUnsafeSysctlsValidatingBaseline & Restricted: undefined / nil / emptyforbiddenSysctlsValidatingNo opinionallowedProcMountTypes(alpha feature)ValidatingBaseline & Restricted: [\"Default\"] OR undefined / nil / emptyruntimeClass .defaultRuntimeClassNameMutatingNo opinionrunt",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/psp-to-pod-security-standards/",
    "id": "k8s_00661_qa_14777"
  },
  {
    "question": "What are the benefits of Mapping PodSecurityPolicies to Pod Security Standards?",
    "answer": "Mapping PodSecurityPolicies to Pod Security StandardsThe tables below enumerate the configuration parameters on PodSecurityPolicy objects, whether the field mutates and/or validates pods, and how the configuration values map to the Pod Security Standards.For each applicable parameter, the allowed values for the Baseline and Restricted profiles are listed. Anything outside the allowed values for those profiles would fall under the Privileged profile. \"No opinion\" means all values are allowed under all Pod Security Standards.For a step-by-step migration guide, see Migrate from PodSecurityPolicy to the Built-In PodSecurity Admission Controller.PodSecurityPolicy SpecThe fields enumerated in this table are part of the PodSecurityPolicySpec, which is specified under the .spec field path.Mapping PodSecurityPolicySpec fields to Pod Security StandardsPodSecurityPolicySpecTypePod Security Standards EquivalentprivilegedValidatingBaseline & Restricted: false / undefined / nildefaultAddCapabilitiesMutating & ValidatingRequirements match allowedCapabilities below.allowedCapabilitiesValidatingBaseline: subset ofAUDIT_WRITECHOWNDAC_OVERRIDEFOWNERFSETIDKILLMKNODNET_BIND_SERVICESETFCAPSETGIDSETPCAPSETUIDSYS_CHROOTRestricted: empty / undefined / nil OR a list containing only NET_BIND_SERVICErequiredDropCapabilitiesMutating & ValidatingBaseline: no opinionRestricted: must include ALLvolumesValidatingBaseline: anything excepthostPath*Restricted: subset ofconfigMapcsidownwardAPIemptyDirephemeralpersistentVolumeClaimprojectedsecrethostNetworkValidatingBaseline & Restricted: false / undefined / nilhostPortsValidatingBaseline & Restricted: undefined / nil / emptyhostPIDValidatingBaseline & Restricted: false / undefined / nilhostIPCValidatingBaseline & Restricted: false / undefined / nilseLinuxMutating & ValidatingBaseline & Restricted: seLinux.rule is MustRunAs, with the following optionsuser is unset (\"\" / undefined / nil)role is unset (\"\" / undefined / nil)type is unset or one of: container_t, container_init_t, container_kvm_t, container_engine_tlevel is anythingrunAsUserMutating & ValidatingBaseline: AnythingRestricted: rule is MustRunAsNonRootrunAsGroupMutating (MustRunAs) & ValidatingNo opinionsupplementalGroupsMutating & ValidatingNo opinionfsGroupMutating & ValidatingNo opinionreadOnlyRootFilesystemMutating & ValidatingNo opiniondefaultAllowPrivilegeEscalationMutatingNo opinion (non-validating)allowPrivilegeEscalationMutating & ValidatingOnly mutating if set to falseBaseline: No opinionRestricted: falseallowedHostPathsValidatingNo opinion (volumes takes precedence)allowedFlexVolumesValidatingNo opinion (volumes takes precedence)allowedCSIDriversValidatingNo opinion (volumes takes precedence)allowedUnsafeSysctlsValidatingBaseline & Restricted: undefined / nil / emptyforbiddenSysctlsValidatingNo opinionallowedProcMountTypes(alpha feature)ValidatingBaseline & Restricted: [\"Default\"] OR undefined / nil / emptyruntimeClass .defaultRuntimeClassNameMutatingNo opinionrunt",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/psp-to-pod-security-standards/",
    "id": "k8s_00661_qa_14778"
  },
  {
    "question": "What is Mapping PodSecurityPolicies to Pod Security Standards?",
    "answer": "T h e   t a b l e s   b e l o w   e n u m e r a t e   t h e   c o n f i g u r a t i o n   p a r a m e t e r s   o n   P o d S e c u r i t y P o l i c y   o b j e c t s ,   w h e t h e r   t h e   f i e l d   m u t a t e s   a n d / o r   v a l i d a t e s   p o d s ,   a n d   h o w   t h e   c o n f i g u r a t i o n   v a l u e s   m a p   t o   t h e   P o d   S e c u r i t y   S t a n d a r d s .   F o r   e a c h   a p p l i c a b l e   p a r a m e t e r ,   t h e   a l l o w e d   v a l u e s   f o r   t h e   B a s e l i n e   a n d   R e s t r i c t e d   p r o f i l e s   a r e   l i s t e d .   A n y t h i n g   o u t s i d e   t h e   a l l o w e d   v a l u e s   f o r   t h o s e   p r o f i l e s   w o u l d   f a l l   u n d e r   t h e   P r i v i l e g e d   p r o f i l e .   \" N o   o p i n i o n \"   m e a n s   a l l   v a l u e s   a r e   a l l o w e d   u n d e r   a l l   P o d   S e c u r i t y   S t a n d a r d s .   F o r   a   s t e p - b y - s t e p   m i g r a t i o n   g u i d e ,   s e e   M i g r a t e   f r o m   P o d S e c u r i t y P o l i c y   t o   t h e   B u i l t - I n   P o d S e c u r i t y   A d m i s s i o n   C o n t r o l l e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/psp-to-pod-security-standards/",
    "id": "k8s_00661_section_1_14779"
  },
  {
    "question": "What is PodSecurityPolicy Spec?",
    "answer": "T h e   f i e l d s   e n u m e r a t e d   i n   t h i s   t a b l e   a r e   p a r t   o f   t h e   P o d S e c u r i t y P o l i c y S p e c ,   w h i c h   i s   s p e c i f i e d   u n d e r   t h e   . s p e c   f i e l d   p a t h .   B a s e l i n e :   s u b s e t   o f   A U D I T _ W R I T E C H O W N D A C _ O V E R R I D E F O W N E R F S E T I D K I L L M K N O D N E T _ B I N D _ S E R V I C E S E T F C A P S E T G I D S E T P C A P S E T U I D S Y S _ C H R O O T   R e s t r i c t e d :   e m p t y   /   u n d e f i n e d   /   n i l   O R   a   l i s t   c o n t a i n i n g   o n l y   N E T _ B I N D _ S E R V I C E   B a s e l i n e :   n o   o p i n i o n   R e s t r i c t e d :   m u s t   i n c l u d e   A L L   B a s e l i n e :   a n y t h i n g   e x c e p t   h o s t P a t h *   R e s t r i c t e d :   s u b s e t   o f   c o n f i g M a p c s i d o w n w a r d A P I e m p t y D i r e p h e m e r a l p e r s i s t e n t V o l u m e C l a i m p r o j e c t e d s e c r e t   B a s e l i n e   &   R e s t r i c t e d :   s e L i n u x . r u l e   i s   M u s t R u n A s ,   w i t h   t h e   f o l l o w i n g   o p t i o n s   u s e r   i s   u n s e t   ( \" \"   /   u n d e f i n e d   /   n i l ) r o l e   i s   u n s e t   ( \" \"   /   u n d e f i n e d   /   n i l ) t y p e   i s   u n s e t   o r   o n e   o f :   c o n t a i n e r _ t ,   c o n t a i n e r _ i n i t _ t ,   c o n t a i n e r _ k v m _ t ,   c o n t a i n e r _ e n g i n e _ t l e v e l   i s   a n y t h i n g   B a s e l i n e :   A n y t h i n g   R e s t r i c t e d :   r u l e   i s   M u s t R u n A s N o n R o o t   O n l y   m u t a t i n g   i f   s e t   t o   f a l s e   B a s e l i n e :   N o   o p i n i o n   R e s t r i c t e d :   f a l s e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/psp-to-pod-security-standards/",
    "id": "k8s_00661_section_2_14780"
  },
  {
    "question": "What is PodSecurityPolicy annotations?",
    "answer": "T h e   a n n o t a t i o n s   e n u m e r a t e d   i n   t h i s   t a b l e   c a n   b e   s p e c i f i e d   u n d e r   . m e t a d a t a . a n n o t a t i o n s   o n   t h e   P o d S e c u r i t y P o l i c y   o b j e c t .   B a s e l i n e :   \" r u n t i m e / d e f a u l t , \"   ( T r a i l i n g   c o m m a   t o   a l l o w   u n s e t )   R e s t r i c t e d :   \" r u n t i m e / d e f a u l t \"   ( N o   t r a i l i n g   c o m m a )   l o c a l h o s t / *   v a l u e s   a r e   a l s o   p e r m i t t e d   f o r   b o t h   B a s e l i n e   &   R e s t r i c t e d .   B a s e l i n e :   \" r u n t i m e / d e f a u l t , \"   ( T r a i l i n g   c o m m a   t o   a l l o w   u n s e t )   R e s t r i c t e d :   \" r u n t i m e / d e f a u l t \"   ( N o   t r a i l i n g   c o m m a )   l o c a l h o s t / *   v a l u e s   a r e   a l s o   p e r m i t t e d   f o r   b o t h   B a s e l i n e   &   R e s t r i c t e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/psp-to-pod-security-standards/",
    "id": "k8s_00661_section_2_14781"
  },
  {
    "question": "What is API Access Control?",
    "answer": "API Access ControlFor an introduction to how Kubernetes implements and controls API access, read Controlling Access to the Kubernetes API.Reference documentation:AuthenticatingAuthenticating with Bootstrap TokensAdmission ControllersDynamic Admission ControlAuthorizationRole Based Access ControlAttribute Based Access ControlNode AuthorizationWebhook AuthorizationCertificate Signing Requestsincluding CSR approval and certificate signingService accountsDeveloper guideAdministrationKubelet Authentication & Authorizationincluding kubelet TLS bootstrapping",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/",
    "id": "k8s_00662_qa_14782"
  },
  {
    "question": "How does API Access Control work?",
    "answer": "API Access ControlFor an introduction to how Kubernetes implements and controls API access, read Controlling Access to the Kubernetes API.Reference documentation:AuthenticatingAuthenticating with Bootstrap TokensAdmission ControllersDynamic Admission ControlAuthorizationRole Based Access ControlAttribute Based Access ControlNode AuthorizationWebhook AuthorizationCertificate Signing Requestsincluding CSR approval and certificate signingService accountsDeveloper guideAdministrationKubelet Authentication & Authorizationincluding kubelet TLS bootstrapping",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/",
    "id": "k8s_00662_qa_14783"
  },
  {
    "question": "When would you use API Access Control?",
    "answer": "API Access ControlFor an introduction to how Kubernetes implements and controls API access, read Controlling Access to the Kubernetes API.Reference documentation:AuthenticatingAuthenticating with Bootstrap TokensAdmission ControllersDynamic Admission ControlAuthorizationRole Based Access ControlAttribute Based Access ControlNode AuthorizationWebhook AuthorizationCertificate Signing Requestsincluding CSR approval and certificate signingService accountsDeveloper guideAdministrationKubelet Authentication & Authorizationincluding kubelet TLS bootstrapping",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/",
    "id": "k8s_00662_qa_14784"
  },
  {
    "question": "What are the benefits of API Access Control?",
    "answer": "API Access ControlFor an introduction to how Kubernetes implements and controls API access, read Controlling Access to the Kubernetes API.Reference documentation:AuthenticatingAuthenticating with Bootstrap TokensAdmission ControllersDynamic Admission ControlAuthorizationRole Based Access ControlAttribute Based Access ControlNode AuthorizationWebhook AuthorizationCertificate Signing Requestsincluding CSR approval and certificate signingService accountsDeveloper guideAdministrationKubelet Authentication & Authorizationincluding kubelet TLS bootstrapping",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/",
    "id": "k8s_00662_qa_14785"
  },
  {
    "question": "What is API Access Control?",
    "answer": "F o r   a n   i n t r o d u c t i o n   t o   h o w   K u b e r n e t e s   i m p l e m e n t s   a n d   c o n t r o l s   A P I   a c c e s s ,   r e a d   C o n t r o l l i n g   A c c e s s   t o   t h e   K u b e r n e t e s   A P I .   R e f e r e n c e   d o c u m e n t a t i o n :   A u t h e n t i c a t i n g A u t h e n t i c a t i n g   w i t h   B o o t s t r a p   T o k e n s A d m i s s i o n   C o n t r o l l e r s D y n a m i c   A d m i s s i o n   C o n t r o l A u t h o r i z a t i o n R o l e   B a s e d   A c c e s s   C o n t r o l A t t r i b u t e   B a s e d   A c c e s s   C o n t r o l N o d e   A u t h o r i z a t i o n W e b h o o k   A u t h o r i z a t i o n C e r t i f i c a t e   S i g n i n g   R e q u e s t s i n c l u d i n g   C S R   a p p r o v a l   a n d   c e r t i f i c a t e   s i g n i n g S e r v i c e   a c c o u n t s D e v e l o p e r   g u i d e A d m i n i s t r a t i o n K u b e l e t   A u t h e n t i c a t i o n   &   A u t h o r i z a t i o n i n c l u d i n g   k u b e l e t   T L S   b o o t s t r a p p i n g   A u t h e n t i c a t i n g   w i t h   B o o t s t r a p   T o k e n s   D y n a m i c   A d m i s s i o n   C o n t r o l   R o l e   B a s e d   A c c e s s   C o n t r o l A t t r i b u t e   B a s e d   A c c e s s   C o n t r o l N o d e   A u t h o r i z a t i o n W e b h o o k   A u t h o r i z a t i o n   i n c l u d i n g   C S R   a p p r o v a l   a n d   c e r t i f i c a t e   s i g n i n g   D e v e l o p e r   g u i d e A d m i n i s t r a t i o n   i n c l u d i n g   k u b e l e t   T L S   b o o t s t r a p p i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/",
    "id": "k8s_00662_section_1_14786"
  },
  {
    "question": "What is APIService?",
    "answer": "APIServiceAPIService represents a server for a particular GroupVersion.apiVersion: apiregistration.k8s.io/v1import \"k8s.io/kube-aggregator/pkg/apis/apiregistration/v1\"APIServiceAPIService represents a server for a particular GroupVersion. Name must be \"version.group\".apiVersion: apiregistration.k8s.io/v1kind: APIServicemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (APIServiceSpec)Spec contains information for locating and communicating with a serverstatus (APIServiceStatus)Status contains derived information about an API serverAPIServiceSpecAPIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.groupPriorityMinimum (int32), requiredGroupPriorityMinimum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMinimum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000sversionPriority (int32), requiredVersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.caBundle ([]byte)Atomic: will be replaced during a mergeCABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used.group (string)Group is the API group name this server hostsinsecureSkipTLSVerify (boolean)InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.service (ServiceReference)Service is a r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_qa_14787"
  },
  {
    "question": "How does APIService work?",
    "answer": "APIServiceAPIService represents a server for a particular GroupVersion.apiVersion: apiregistration.k8s.io/v1import \"k8s.io/kube-aggregator/pkg/apis/apiregistration/v1\"APIServiceAPIService represents a server for a particular GroupVersion. Name must be \"version.group\".apiVersion: apiregistration.k8s.io/v1kind: APIServicemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (APIServiceSpec)Spec contains information for locating and communicating with a serverstatus (APIServiceStatus)Status contains derived information about an API serverAPIServiceSpecAPIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.groupPriorityMinimum (int32), requiredGroupPriorityMinimum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMinimum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000sversionPriority (int32), requiredVersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.caBundle ([]byte)Atomic: will be replaced during a mergeCABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used.group (string)Group is the API group name this server hostsinsecureSkipTLSVerify (boolean)InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.service (ServiceReference)Service is a r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_qa_14788"
  },
  {
    "question": "When would you use APIService?",
    "answer": "APIServiceAPIService represents a server for a particular GroupVersion.apiVersion: apiregistration.k8s.io/v1import \"k8s.io/kube-aggregator/pkg/apis/apiregistration/v1\"APIServiceAPIService represents a server for a particular GroupVersion. Name must be \"version.group\".apiVersion: apiregistration.k8s.io/v1kind: APIServicemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (APIServiceSpec)Spec contains information for locating and communicating with a serverstatus (APIServiceStatus)Status contains derived information about an API serverAPIServiceSpecAPIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.groupPriorityMinimum (int32), requiredGroupPriorityMinimum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMinimum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000sversionPriority (int32), requiredVersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.caBundle ([]byte)Atomic: will be replaced during a mergeCABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used.group (string)Group is the API group name this server hostsinsecureSkipTLSVerify (boolean)InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.service (ServiceReference)Service is a r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_qa_14789"
  },
  {
    "question": "What are the benefits of APIService?",
    "answer": "APIServiceAPIService represents a server for a particular GroupVersion.apiVersion: apiregistration.k8s.io/v1import \"k8s.io/kube-aggregator/pkg/apis/apiregistration/v1\"APIServiceAPIService represents a server for a particular GroupVersion. Name must be \"version.group\".apiVersion: apiregistration.k8s.io/v1kind: APIServicemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (APIServiceSpec)Spec contains information for locating and communicating with a serverstatus (APIServiceStatus)Status contains derived information about an API serverAPIServiceSpecAPIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.groupPriorityMinimum (int32), requiredGroupPriorityMinimum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMinimum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000sversionPriority (int32), requiredVersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.caBundle ([]byte)Atomic: will be replaced during a mergeCABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used.group (string)Group is the API group name this server hostsinsecureSkipTLSVerify (boolean)InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.service (ServiceReference)Service is a r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_qa_14790"
  },
  {
    "question": "What is APIService?",
    "answer": "a p i V e r s i o n :   a p i r e g i s t r a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / k u b e - a g g r e g a t o r / p k g / a p i s / a p i r e g i s t r a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_1_14791"
  },
  {
    "question": "What is APIService?",
    "answer": "A P I S e r v i c e   r e p r e s e n t s   a   s e r v e r   f o r   a   p a r t i c u l a r   G r o u p V e r s i o n .   N a m e   m u s t   b e   \" v e r s i o n . g r o u p \" .   a p i V e r s i o n :   a p i r e g i s t r a t i o n . k 8 s . i o / v 1 k i n d :   A P I S e r v i c e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( A P I S e r v i c e S p e c ) S p e c   c o n t a i n s   i n f o r m a t i o n   f o r   l o c a t i n g   a n d   c o m m u n i c a t i n g   w i t h   a   s e r v e r s t a t u s   ( A P I S e r v i c e S t a t u s ) S t a t u s   c o n t a i n s   d e r i v e d   i n f o r m a t i o n   a b o u t   a n   A P I   s e r v e r   a p i V e r s i o n :   a p i r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   A P I S e r v i c e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( A P I S e r v i c e S p e c )   S p e c   c o n t a i n s   i n f o r m a t i o n   f o r   l o c a t i n g   a n d   c o m m u n i c a t i n g   w i t h   a   s e r v e r   s t a t u s   ( A P I S e r v i c e S t a t u s )   S t a t u s   c o n t a i n s   d e r i v e d   i n f o r m a t i o n   a b o u t   a n   A P I   s e r v e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_2_14792"
  },
  {
    "question": "What is APIServiceSpec?",
    "answer": "A P I S e r v i c e S p e c   c o n t a i n s   i n f o r m a t i o n   f o r   l o c a t i n g   a n d   c o m m u n i c a t i n g   w i t h   a   s e r v e r .   O n l y   h t t p s   i s   s u p p o r t e d ,   t h o u g h   y o u   a r e   a b l e   t o   d i s a b l e   c e r t i f i c a t e   v e r i f i c a t i o n .   g r o u p P r i o r i t y M i n i m u m   ( i n t 3 2 ) ,   r e q u i r e d G r o u p P r i o r i t y M i n i m u m   i s   t h e   p r i o r i t y   t h i s   g r o u p   s h o u l d   h a v e   a t   l e a s t .   H i g h e r   p r i o r i t y   m e a n s   t h a t   t h e   g r o u p   i s   p r e f e r r e d   b y   c l i e n t s   o v e r   l o w e r   p r i o r i t y   o n e s .   N o t e   t h a t   o t h e r   v e r s i o n s   o f   t h i s   g r o u p   m i g h t   s p e c i f y   e v e n   h i g h e r   G r o u p P r i o r i t y M i n i m u m   v a l u e s   s u c h   t h a t   t h e   w h o l e   g r o u p   g e t s   a   h i g h e r   p r i o r i t y .   T h e   p r i m a r y   s o r t   i s   b a s e d   o n   G r o u p P r i o r i t y M i n i m u m ,   o r d e r e d   h i g h e s t   n u m b e r   t o   l o w e s t   ( 2 0   b e f o r e   1 0 ) .   T h e   s e c o n d a r y   s o r t   i s   b a s e d   o n   t h e   a l p h a b e t i c a l   c o m p a r i s o n   o f   t h e   n a m e   o f   t h e   o b j e c t .   ( v 1 . b a r   b e f o r e   v 1 . f o o )   W e ' d   r e c o m m e n d   s o m e t h i n g   l i k e :   * . k 8 s . i o   ( e x c e p t   e x t e n s i o n s )   a t   1 8 0 0 0   a n d   P a a S e s   ( O p e n S h i f t ,   D e i s )   a r e   r e c o m m e n d e d   t o   b e   i n   t h e   2 0 0 0 s v e r s i o n P r i o r i t y   ( i n t 3 2 ) ,   r e q u i r e d V e r s i o n P r i o r i t y   c o n t r o l s   t h e   o r d e r i n g   o f   t h i s   A P I   v e r s i o n   i n s i d e   o f   i t s   g r o u p .   M u s t   b e   g r e a t e r   t h a n   z e r o .   T h e   p r i m a r y   s o r t   i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_2_14793"
  },
  {
    "question": "What is APIServiceStatus?",
    "answer": "A P I S e r v i c e S t a t u s   c o n t a i n s   d e r i v e d   i n f o r m a t i o n   a b o u t   a n   A P I   s e r v e r   c o n d i t i o n s   ( [ ] A P I S e r v i c e C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e C u r r e n t   s e r v i c e   s t a t e   o f   a p i S e r v i c e . A P I S e r v i c e C o n d i t i o n   d e s c r i b e s   t h e   s t a t e   o f   a n   A P I S e r v i c e   a t   a   p a r t i c u l a r   p o i n t c o n d i t i o n s . s t a t u s   ( s t r i n g ) ,   r e q u i r e d S t a t u s   i s   t h e   s t a t u s   o f   t h e   c o n d i t i o n .   C a n   b e   T r u e ,   F a l s e ,   U n k n o w n . c o n d i t i o n s . t y p e   ( s t r i n g ) ,   r e q u i r e d T y p e   i s   t h e   t y p e   o f   t h e   c o n d i t i o n . c o n d i t i o n s . l a s t T r a n s i t i o n T i m e   ( T i m e ) L a s t   t i m e   t h e   c o n d i t i o n   t r a n s i t i o n e d   f r o m   o n e   s t a t u s   t o   a n o t h e r . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c o n d i t i o n s . m e s s a g e   ( s t r i n g ) H u m a n - r e a d a b l e   m e s s a g e   i n d i c a t i n g   d e t a i l s   a b o u t   l a s t   t r a n s i t i o n . c o n d i t i o n s . r e a s o n   ( s t r i n g ) U n i q u e ,   o n e - w o r d ,   C a m e l C a s e   r e a s o n   f o r   t h e   c o n d i t i o n ' s   l a s t   t r a n s i t i o n .   c o n d i t i o n s   ( [ ] A P I S e r v i c e C o n d i t i o n )   P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_2_14794"
  },
  {
    "question": "What is APIServiceList?",
    "answer": "A P I S e r v i c e L i s t   i s   a   l i s t   o f   A P I S e r v i c e   o b j e c t s .   a p i V e r s i o n :   a p i r e g i s t r a t i o n . k 8 s . i o / v 1 k i n d :   A P I S e r v i c e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] A P I S e r v i c e ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   A P I S e r v i c e   a p i V e r s i o n :   a p i r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   A P I S e r v i c e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] A P I S e r v i c e ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   A P I S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_2_14795"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14796"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   A P I S e r v i c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   A P I S e r v i c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14797"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( A P I S e r v i c e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14798"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14799"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   A P I S e r v i c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   A P I S e r v i c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14800"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( A P I S e r v i c e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14801"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14802"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14803"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( A P I S e r v i c e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14804"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14805"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   A P I S e r v i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   A P I S e r v i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14806"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( A P I S e r v i c e ) :   O K   2 0 1   ( A P I S e r v i c e ) :   C r e a t e d   2 0 2   ( A P I S e r v i c e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14807"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14808"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   A P I S e r v i c e b o d y :   A P I S e r v i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   A P I S e r v i c e   b o d y :   A P I S e r v i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14809"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( A P I S e r v i c e ) :   O K   2 0 1   ( A P I S e r v i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14810"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14811"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   A P I S e r v i c e b o d y :   A P I S e r v i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   A P I S e r v i c e   b o d y :   A P I S e r v i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14812"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( A P I S e r v i c e ) :   O K   2 0 1   ( A P I S e r v i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14813"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14814"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   A P I S e r v i c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   A P I S e r v i c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14815"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( A P I S e r v i c e ) :   O K   2 0 1   ( A P I S e r v i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14816"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14817"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   A P I S e r v i c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   A P I S e r v i c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14818"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( A P I S e r v i c e ) :   O K   2 0 1   ( A P I S e r v i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14819"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14820"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   A P I S e r v i c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   A P I S e r v i c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14821"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14822"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14823"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14824"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/api-service-v1/",
    "id": "k8s_00663_section_4_14825"
  },
  {
    "question": "What is Production environment?",
    "answer": "Production environmentCreate a production-quality Kubernetes clusterA production-quality Kubernetes cluster requires planning and preparation. If your Kubernetes cluster is to run critical workloads, it must be configured to be resilient. This page explains steps you can take to set up a production-ready cluster, or to promote an existing cluster for production use. If you're already familiar with production setup and want the links, skip to What's next.Production considerationsTypically, a production Kubernetes cluster environment has more requirements than a personal learning, development, or test environment Kubernetes. A production environment may require secure access by many users, consistent availability, and the resources to adapt to changing demands.As you decide where you want your production Kubernetes environment to live (on premises or in a cloud) and the amount of management you want to take on or hand to others, consider how your requirements for a Kubernetes cluster are influenced by the following issues:Availability: A single-machine Kubernetes learning environment has a single point of failure. Creating a highly available cluster means considering:Separating the control plane from the worker nodes.Replicating the control plane components on multiple nodes.Load balancing traffic to the cluster’s API server.Having enough worker nodes available, or able to quickly become available, as changing workloads warrant it.Scale: If you expect your production Kubernetes environment to receive a stable amount of demand, you might be able to set up for the capacity you need and be done. However, if you expect demand to grow over time or change dramatically based on things like season or special events, you need to plan how to scale to relieve increased pressure from more requests to the control plane and worker nodes or scale down to reduce unused resources.Security and access management: You have full admin privileges on your own Kubernetes learning cluster. But shared clusters with important workloads, and more than one or two users, require a more refined approach to who and what can access cluster resources. You can use role-based access control (RBAC) and other security mechanisms to make sure that users and workloads can get access to the resources they need, while keeping workloads, and the cluster itself, secure. You can set limits on the resources that users and workloads can access by managing policies and container resources.Before building a Kubernetes production environment on your own, consider handing off some or all of this job to Turnkey Cloud Solutions providers or other Kubernetes Partners. Options include:Serverless: Just run workloads on third-party equipment without managing a cluster at all. You will be charged for things like CPU usage, memory, and disk requests.Managed control plane: Let the provider manage the scale and availability of the cluster's control plane, as well as handle patches and upgrades.Managed worker",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/",
    "id": "k8s_00664_qa_14826"
  },
  {
    "question": "How does Production environment work?",
    "answer": "Production environmentCreate a production-quality Kubernetes clusterA production-quality Kubernetes cluster requires planning and preparation. If your Kubernetes cluster is to run critical workloads, it must be configured to be resilient. This page explains steps you can take to set up a production-ready cluster, or to promote an existing cluster for production use. If you're already familiar with production setup and want the links, skip to What's next.Production considerationsTypically, a production Kubernetes cluster environment has more requirements than a personal learning, development, or test environment Kubernetes. A production environment may require secure access by many users, consistent availability, and the resources to adapt to changing demands.As you decide where you want your production Kubernetes environment to live (on premises or in a cloud) and the amount of management you want to take on or hand to others, consider how your requirements for a Kubernetes cluster are influenced by the following issues:Availability: A single-machine Kubernetes learning environment has a single point of failure. Creating a highly available cluster means considering:Separating the control plane from the worker nodes.Replicating the control plane components on multiple nodes.Load balancing traffic to the cluster’s API server.Having enough worker nodes available, or able to quickly become available, as changing workloads warrant it.Scale: If you expect your production Kubernetes environment to receive a stable amount of demand, you might be able to set up for the capacity you need and be done. However, if you expect demand to grow over time or change dramatically based on things like season or special events, you need to plan how to scale to relieve increased pressure from more requests to the control plane and worker nodes or scale down to reduce unused resources.Security and access management: You have full admin privileges on your own Kubernetes learning cluster. But shared clusters with important workloads, and more than one or two users, require a more refined approach to who and what can access cluster resources. You can use role-based access control (RBAC) and other security mechanisms to make sure that users and workloads can get access to the resources they need, while keeping workloads, and the cluster itself, secure. You can set limits on the resources that users and workloads can access by managing policies and container resources.Before building a Kubernetes production environment on your own, consider handing off some or all of this job to Turnkey Cloud Solutions providers or other Kubernetes Partners. Options include:Serverless: Just run workloads on third-party equipment without managing a cluster at all. You will be charged for things like CPU usage, memory, and disk requests.Managed control plane: Let the provider manage the scale and availability of the cluster's control plane, as well as handle patches and upgrades.Managed worker",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/",
    "id": "k8s_00664_qa_14827"
  },
  {
    "question": "When would you use Production environment?",
    "answer": "Production environmentCreate a production-quality Kubernetes clusterA production-quality Kubernetes cluster requires planning and preparation. If your Kubernetes cluster is to run critical workloads, it must be configured to be resilient. This page explains steps you can take to set up a production-ready cluster, or to promote an existing cluster for production use. If you're already familiar with production setup and want the links, skip to What's next.Production considerationsTypically, a production Kubernetes cluster environment has more requirements than a personal learning, development, or test environment Kubernetes. A production environment may require secure access by many users, consistent availability, and the resources to adapt to changing demands.As you decide where you want your production Kubernetes environment to live (on premises or in a cloud) and the amount of management you want to take on or hand to others, consider how your requirements for a Kubernetes cluster are influenced by the following issues:Availability: A single-machine Kubernetes learning environment has a single point of failure. Creating a highly available cluster means considering:Separating the control plane from the worker nodes.Replicating the control plane components on multiple nodes.Load balancing traffic to the cluster’s API server.Having enough worker nodes available, or able to quickly become available, as changing workloads warrant it.Scale: If you expect your production Kubernetes environment to receive a stable amount of demand, you might be able to set up for the capacity you need and be done. However, if you expect demand to grow over time or change dramatically based on things like season or special events, you need to plan how to scale to relieve increased pressure from more requests to the control plane and worker nodes or scale down to reduce unused resources.Security and access management: You have full admin privileges on your own Kubernetes learning cluster. But shared clusters with important workloads, and more than one or two users, require a more refined approach to who and what can access cluster resources. You can use role-based access control (RBAC) and other security mechanisms to make sure that users and workloads can get access to the resources they need, while keeping workloads, and the cluster itself, secure. You can set limits on the resources that users and workloads can access by managing policies and container resources.Before building a Kubernetes production environment on your own, consider handing off some or all of this job to Turnkey Cloud Solutions providers or other Kubernetes Partners. Options include:Serverless: Just run workloads on third-party equipment without managing a cluster at all. You will be charged for things like CPU usage, memory, and disk requests.Managed control plane: Let the provider manage the scale and availability of the cluster's control plane, as well as handle patches and upgrades.Managed worker",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/",
    "id": "k8s_00664_qa_14828"
  },
  {
    "question": "What are the benefits of Production environment?",
    "answer": "Production environmentCreate a production-quality Kubernetes clusterA production-quality Kubernetes cluster requires planning and preparation. If your Kubernetes cluster is to run critical workloads, it must be configured to be resilient. This page explains steps you can take to set up a production-ready cluster, or to promote an existing cluster for production use. If you're already familiar with production setup and want the links, skip to What's next.Production considerationsTypically, a production Kubernetes cluster environment has more requirements than a personal learning, development, or test environment Kubernetes. A production environment may require secure access by many users, consistent availability, and the resources to adapt to changing demands.As you decide where you want your production Kubernetes environment to live (on premises or in a cloud) and the amount of management you want to take on or hand to others, consider how your requirements for a Kubernetes cluster are influenced by the following issues:Availability: A single-machine Kubernetes learning environment has a single point of failure. Creating a highly available cluster means considering:Separating the control plane from the worker nodes.Replicating the control plane components on multiple nodes.Load balancing traffic to the cluster’s API server.Having enough worker nodes available, or able to quickly become available, as changing workloads warrant it.Scale: If you expect your production Kubernetes environment to receive a stable amount of demand, you might be able to set up for the capacity you need and be done. However, if you expect demand to grow over time or change dramatically based on things like season or special events, you need to plan how to scale to relieve increased pressure from more requests to the control plane and worker nodes or scale down to reduce unused resources.Security and access management: You have full admin privileges on your own Kubernetes learning cluster. But shared clusters with important workloads, and more than one or two users, require a more refined approach to who and what can access cluster resources. You can use role-based access control (RBAC) and other security mechanisms to make sure that users and workloads can get access to the resources they need, while keeping workloads, and the cluster itself, secure. You can set limits on the resources that users and workloads can access by managing policies and container resources.Before building a Kubernetes production environment on your own, consider handing off some or all of this job to Turnkey Cloud Solutions providers or other Kubernetes Partners. Options include:Serverless: Just run workloads on third-party equipment without managing a cluster at all. You will be charged for things like CPU usage, memory, and disk requests.Managed control plane: Let the provider manage the scale and availability of the cluster's control plane, as well as handle patches and upgrades.Managed worker",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/",
    "id": "k8s_00664_qa_14829"
  },
  {
    "question": "What is Production environment?",
    "answer": "A   p r o d u c t i o n - q u a l i t y   K u b e r n e t e s   c l u s t e r   r e q u i r e s   p l a n n i n g   a n d   p r e p a r a t i o n .   I f   y o u r   K u b e r n e t e s   c l u s t e r   i s   t o   r u n   c r i t i c a l   w o r k l o a d s ,   i t   m u s t   b e   c o n f i g u r e d   t o   b e   r e s i l i e n t .   T h i s   p a g e   e x p l a i n s   s t e p s   y o u   c a n   t a k e   t o   s e t   u p   a   p r o d u c t i o n - r e a d y   c l u s t e r ,   o r   t o   p r o m o t e   a n   e x i s t i n g   c l u s t e r   f o r   p r o d u c t i o n   u s e .   I f   y o u ' r e   a l r e a d y   f a m i l i a r   w i t h   p r o d u c t i o n   s e t u p   a n d   w a n t   t h e   l i n k s ,   s k i p   t o   W h a t ' s   n e x t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/",
    "id": "k8s_00664_section_1_14830"
  },
  {
    "question": "What is Production considerations?",
    "answer": "T y p i c a l l y ,   a   p r o d u c t i o n   K u b e r n e t e s   c l u s t e r   e n v i r o n m e n t   h a s   m o r e   r e q u i r e m e n t s   t h a n   a   p e r s o n a l   l e a r n i n g ,   d e v e l o p m e n t ,   o r   t e s t   e n v i r o n m e n t   K u b e r n e t e s .   A   p r o d u c t i o n   e n v i r o n m e n t   m a y   r e q u i r e   s e c u r e   a c c e s s   b y   m a n y   u s e r s ,   c o n s i s t e n t   a v a i l a b i l i t y ,   a n d   t h e   r e s o u r c e s   t o   a d a p t   t o   c h a n g i n g   d e m a n d s .   A s   y o u   d e c i d e   w h e r e   y o u   w a n t   y o u r   p r o d u c t i o n   K u b e r n e t e s   e n v i r o n m e n t   t o   l i v e   ( o n   p r e m i s e s   o r   i n   a   c l o u d )   a n d   t h e   a m o u n t   o f   m a n a g e m e n t   y o u   w a n t   t o   t a k e   o n   o r   h a n d   t o   o t h e r s ,   c o n s i d e r   h o w   y o u r   r e q u i r e m e n t s   f o r   a   K u b e r n e t e s   c l u s t e r   a r e   i n f l u e n c e d   b y   t h e   f o l l o w i n g   i s s u e s :   A v a i l a b i l i t y :   A   s i n g l e - m a c h i n e   K u b e r n e t e s   l e a r n i n g   e n v i r o n m e n t   h a s   a   s i n g l e   p o i n t   o f   f a i l u r e .   C r e a t i n g   a   h i g h l y   a v a i l a b l e   c l u s t e r   m e a n s   c o n s i d e r i n g : S e p a r a t i n g   t h e   c o n t r o l   p l a n e   f r o m   t h e   w o r k e r   n o d e s . R e p l i c a t i n g   t h e   c o n t r o l   p l a n e   c o m p o n e n t s   o n   m u l t i p l e   n o d e s . L o a d   b a l a n c i n g   t r a f f i c   t o   t h e   c l u s t e r ’ s   A P I   s e r v e r . H a v i n g   e n o u g h   w o r k e r   n o d e s   a v a i l a b l e ,   o r   a b l e   t o   q u i c k l y   b e c o m e   a v a i l a b l e ,   a s   c h a n g i n g   w o r k l o a d s   w a r r a n t   i t . S c a l e :   I f   y o u   e x p e c t   y o u r   p r ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/",
    "id": "k8s_00664_section_2_14831"
  },
  {
    "question": "What is Production cluster setup?",
    "answer": "I n   a   p r o d u c t i o n - q u a l i t y   K u b e r n e t e s   c l u s t e r ,   t h e   c o n t r o l   p l a n e   m a n a g e s   t h e   c l u s t e r   f r o m   s e r v i c e s   t h a t   c a n   b e   s p r e a d   a c r o s s   m u l t i p l e   c o m p u t e r s   i n   d i f f e r e n t   w a y s .   E a c h   w o r k e r   n o d e ,   h o w e v e r ,   r e p r e s e n t s   a   s i n g l e   e n t i t y   t h a t   i s   c o n f i g u r e d   t o   r u n   K u b e r n e t e s   p o d s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/",
    "id": "k8s_00664_section_2_14832"
  },
  {
    "question": "What is Production control plane?",
    "answer": "T h e   s i m p l e s t   K u b e r n e t e s   c l u s t e r   h a s   t h e   e n t i r e   c o n t r o l   p l a n e   a n d   w o r k e r   n o d e   s e r v i c e s   r u n n i n g   o n   t h e   s a m e   m a c h i n e .   Y o u   c a n   g r o w   t h a t   e n v i r o n m e n t   b y   a d d i n g   w o r k e r   n o d e s ,   a s   r e f l e c t e d   i n   t h e   d i a g r a m   i l l u s t r a t e d   i n   K u b e r n e t e s   C o m p o n e n t s .   I f   t h e   c l u s t e r   i s   m e a n t   t o   b e   a v a i l a b l e   f o r   a   s h o r t   p e r i o d   o f   t i m e ,   o r   c a n   b e   d i s c a r d e d   i f   s o m e t h i n g   g o e s   s e r i o u s l y   w r o n g ,   t h i s   m i g h t   m e e t   y o u r   n e e d s .   I f   y o u   n e e d   a   m o r e   p e r m a n e n t ,   h i g h l y   a v a i l a b l e   c l u s t e r ,   h o w e v e r ,   y o u   s h o u l d   c o n s i d e r   w a y s   o f   e x t e n d i n g   t h e   c o n t r o l   p l a n e .   B y   d e s i g n ,   o n e - m a c h i n e   c o n t r o l   p l a n e   s e r v i c e s   r u n n i n g   o n   a   s i n g l e   m a c h i n e   a r e   n o t   h i g h l y   a v a i l a b l e .   I f   k e e p i n g   t h e   c l u s t e r   u p   a n d   r u n n i n g   a n d   e n s u r i n g   t h a t   i t   c a n   b e   r e p a i r e d   i f   s o m e t h i n g   g o e s   w r o n g   i s   i m p o r t a n t ,   c o n s i d e r   t h e s e   s t e p s :   C h o o s e   d e p l o y m e n t   t o o l s :   Y o u   c a n   d e p l o y   a   c o n t r o l   p l a n e   u s i n g   t o o l s   s u c h   a s   k u b e a d m ,   k o p s ,   a n d   k u b e s p r a y .   S e e   I n s t a l l i n g   K u b e r n e t e s   w i t h   d e p l o y m e n t   t o o l s   t o   l e a r n   t i p s   f o r   p r o d u c t i o n - q u a l i t y   d e p l o y m e n t s   u s i n g   e a c h   o f   t h o s e   d e p l o y m e n t   m e t h o d s .   D i f f e r e n t   C o n t ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/",
    "id": "k8s_00664_section_3_14833"
  },
  {
    "question": "What is Production worker nodes?",
    "answer": "P r o d u c t i o n - q u a l i t y   w o r k l o a d s   n e e d   t o   b e   r e s i l i e n t   a n d   a n y t h i n g   t h e y   r e l y   o n   n e e d s   t o   b e   r e s i l i e n t   ( s u c h   a s   C o r e D N S ) .   W h e t h e r   y o u   m a n a g e   y o u r   o w n   c o n t r o l   p l a n e   o r   h a v e   a   c l o u d   p r o v i d e r   d o   i t   f o r   y o u ,   y o u   s t i l l   n e e d   t o   c o n s i d e r   h o w   y o u   w a n t   t o   m a n a g e   y o u r   w o r k e r   n o d e s   ( a l s o   r e f e r r e d   t o   s i m p l y   a s   n o d e s ) .   C o n f i g u r e   n o d e s :   N o d e s   c a n   b e   p h y s i c a l   o r   v i r t u a l   m a c h i n e s .   I f   y o u   w a n t   t o   c r e a t e   a n d   m a n a g e   y o u r   o w n   n o d e s ,   y o u   c a n   i n s t a l l   a   s u p p o r t e d   o p e r a t i n g   s y s t e m ,   t h e n   a d d   a n d   r u n   t h e   a p p r o p r i a t e   N o d e   s e r v i c e s .   C o n s i d e r : T h e   d e m a n d s   o f   y o u r   w o r k l o a d s   w h e n   y o u   s e t   u p   n o d e s   b y   h a v i n g   a p p r o p r i a t e   m e m o r y ,   C P U ,   a n d   d i s k   s p e e d   a n d   s t o r a g e   c a p a c i t y   a v a i l a b l e . W h e t h e r   g e n e r i c   c o m p u t e r   s y s t e m s   w i l l   d o   o r   y o u   h a v e   w o r k l o a d s   t h a t   n e e d   G P U   p r o c e s s o r s ,   W i n d o w s   n o d e s ,   o r   V M   i s o l a t i o n . V a l i d a t e   n o d e s :   S e e   V a l i d   n o d e   s e t u p   f o r   i n f o r m a t i o n   o n   h o w   t o   e n s u r e   t h a t   a   n o d e   m e e t s   t h e   r e q u i r e m e n t s   t o   j o i n   a   K u b e r n e t e s   c l u s t e r . A d d   n o d e s   t o   t h e   c l u s t e r :   I f   y o u   a r e   m a n a g i n g   y o u r   o w n   c l u s t e r   y o u   c a n   a d d   n o d e s   b y   s e t t i n g   u p   y o u ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/",
    "id": "k8s_00664_section_3_14834"
  },
  {
    "question": "What is Production user management?",
    "answer": "I n   p r o d u c t i o n ,   y o u   m a y   b e   m o v i n g   f r o m   a   m o d e l   w h e r e   y o u   o r   a   s m a l l   g r o u p   o f   p e o p l e   a r e   a c c e s s i n g   t h e   c l u s t e r   t o   w h e r e   t h e r e   m a y   p o t e n t i a l l y   b e   d o z e n s   o r   h u n d r e d s   o f   p e o p l e .   I n   a   l e a r n i n g   e n v i r o n m e n t   o r   p l a t f o r m   p r o t o t y p e ,   y o u   m i g h t   h a v e   a   s i n g l e   a d m i n i s t r a t i v e   a c c o u n t   f o r   e v e r y t h i n g   y o u   d o .   I n   p r o d u c t i o n ,   y o u   w i l l   w a n t   m o r e   a c c o u n t s   w i t h   d i f f e r e n t   l e v e l s   o f   a c c e s s   t o   d i f f e r e n t   n a m e s p a c e s .   T a k i n g   o n   a   p r o d u c t i o n - q u a l i t y   c l u s t e r   m e a n s   d e c i d i n g   h o w   y o u   w a n t   t o   s e l e c t i v e l y   a l l o w   a c c e s s   b y   o t h e r   u s e r s .   I n   p a r t i c u l a r ,   y o u   n e e d   t o   s e l e c t   s t r a t e g i e s   f o r   v a l i d a t i n g   t h e   i d e n t i t i e s   o f   t h o s e   w h o   t r y   t o   a c c e s s   y o u r   c l u s t e r   ( a u t h e n t i c a t i o n )   a n d   d e c i d i n g   i f   t h e y   h a v e   p e r m i s s i o n s   t o   d o   w h a t   t h e y   a r e   a s k i n g   ( a u t h o r i z a t i o n ) :   A u t h e n t i c a t i o n :   T h e   a p i s e r v e r   c a n   a u t h e n t i c a t e   u s e r s   u s i n g   c l i e n t   c e r t i f i c a t e s ,   b e a r e r   t o k e n s ,   a n   a u t h e n t i c a t i n g   p r o x y ,   o r   H T T P   b a s i c   a u t h .   Y o u   c a n   c h o o s e   w h i c h   a u t h e n t i c a t i o n   m e t h o d s   y o u   w a n t   t o   u s e .   U s i n g   p l u g i n s ,   t h e   a p i s e r v e r   c a n   l e v e r a g e   y o u r   o r g a n i z a t i o n ’ s   e x i s t i n g   a u t h e n t i c a t ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/",
    "id": "k8s_00664_section_2_14835"
  },
  {
    "question": "What is Set limits on workload resources?",
    "answer": "D e m a n d s   f r o m   p r o d u c t i o n   w o r k l o a d s   c a n   c a u s e   p r e s s u r e   b o t h   i n s i d e   a n d   o u t s i d e   o f   t h e   K u b e r n e t e s   c o n t r o l   p l a n e .   C o n s i d e r   t h e s e   i t e m s   w h e n   s e t t i n g   u p   f o r   t h e   n e e d s   o f   y o u r   c l u s t e r ' s   w o r k l o a d s :   S e t   n a m e s p a c e   l i m i t s :   S e t   p e r - n a m e s p a c e   q u o t a s   o n   t h i n g s   l i k e   m e m o r y   a n d   C P U .   S e e   M a n a g e   M e m o r y ,   C P U ,   a n d   A P I   R e s o u r c e s   f o r   d e t a i l s . P r e p a r e   f o r   D N S   d e m a n d :   I f   y o u   e x p e c t   w o r k l o a d s   t o   m a s s i v e l y   s c a l e   u p ,   y o u r   D N S   s e r v i c e   m u s t   b e   r e a d y   t o   s c a l e   u p   a s   w e l l .   S e e   A u t o s c a l e   t h e   D N S   s e r v i c e   i n   a   C l u s t e r . C r e a t e   a d d i t i o n a l   s e r v i c e   a c c o u n t s :   U s e r   a c c o u n t s   d e t e r m i n e   w h a t   u s e r s   c a n   d o   o n   a   c l u s t e r ,   w h i l e   a   s e r v i c e   a c c o u n t   d e f i n e s   p o d   a c c e s s   w i t h i n   a   p a r t i c u l a r   n a m e s p a c e .   B y   d e f a u l t ,   a   p o d   t a k e s   o n   t h e   d e f a u l t   s e r v i c e   a c c o u n t   f r o m   i t s   n a m e s p a c e .   S e e   M a n a g i n g   S e r v i c e   A c c o u n t s   f o r   i n f o r m a t i o n   o n   c r e a t i n g   a   n e w   s e r v i c e   a c c o u n t .   F o r   e x a m p l e ,   y o u   m i g h t   w a n t   t o : A d d   s e c r e t s   t h a t   a   p o d   c o u l d   u s e   t o   p u l l   i m a g e s   f r o m   a   p a r t i c u l a r   c o n t a i n e r   r e g i s t r y .   S e e   C o n f i g u r e   S e r v i c e   A c c o u n t s   f o r   P o d s   f o r   a n   e x a m p l e . A s s i g n   R B A C   p e r m i s ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/",
    "id": "k8s_00664_section_2_14836"
  },
  {
    "question": "What is What's next?",
    "answer": "D e c i d e   i f   y o u   w a n t   t o   b u i l d   y o u r   o w n   p r o d u c t i o n   K u b e r n e t e s   o r   o b t a i n   o n e   f r o m   a v a i l a b l e   T u r n k e y   C l o u d   S o l u t i o n s   o r   K u b e r n e t e s   P a r t n e r s . I f   y o u   c h o o s e   t o   b u i l d   y o u r   o w n   c l u s t e r ,   p l a n   h o w   y o u   w a n t   t o   h a n d l e   c e r t i f i c a t e s   a n d   s e t   u p   h i g h   a v a i l a b i l i t y   f o r   f e a t u r e s   s u c h   a s   e t c d   a n d   t h e   A P I   s e r v e r . C h o o s e   f r o m   k u b e a d m ,   k o p s   o r   K u b e s p r a y   d e p l o y m e n t   m e t h o d s . C o n f i g u r e   u s e r   m a n a g e m e n t   b y   d e t e r m i n i n g   y o u r   A u t h e n t i c a t i o n   a n d   A u t h o r i z a t i o n   m e t h o d s . P r e p a r e   f o r   a p p l i c a t i o n   w o r k l o a d s   b y   s e t t i n g   u p   r e s o u r c e   l i m i t s ,   D N S   a u t o s c a l i n g   a n d   s e r v i c e   a c c o u n t s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/",
    "id": "k8s_00664_section_2_14837"
  },
  {
    "question": "What is Kubernetes Documentation?",
    "answer": "Kubernetes is an open source container orchestration engine for automating deployment, scaling, and management of containerized applications. The open source project is hosted by the Cloud Native Computing Foundation (CNCF).Understand KubernetesLearn about Kubernetes and its fundamental concepts.Why Kubernetes?Components of a clusterThe Kubernetes APIObjects In KubernetesContainersWorkloads and PodsView ConceptsTry KubernetesFollow tutorials to learn how to deploy applications in Kubernetes.Hello MinikubeWalkthrough the basicsStateless Example: PHP Guestbook with RedisStateful Example: Wordpress with Persistent VolumesView TutorialsSet up a K8s clusterGet Kubernetes running based on your resources and needs.Learning environmentProduction environmentInstall the kubeadm setup toolSecuring a clusterkubeadm command referenceSet up KubernetesLearn how to use KubernetesLook up common tasks and how to perform them using a short sequence of steps.kubectl Quick ReferenceInstall kubectlConfigure access to clustersUse the Web UI DashboardConfigure a Pod to Use a ConfigMapGetting helpView TasksLook up reference informationBrowse terminology, command line syntax, API resource types, and setup tool documentation.Glossarykubectl command line toolLabels, annotations and taintsKubernetes API referenceOverview of APIFeature GatesView ReferenceContribute to KubernetesFind out how you can help make Kubernetes better.Contribute to KubernetesContribute to documentationSuggest content improvementsOpening a pull requestDocumenting a feature for a releaseLocalizing the docsParticipating in SIG DocsViewing Site AnalyticsSee Ways to ContributeTrainingGet certified in Kubernetes and make your cloud native projects successful!View trainingDownload KubernetesInstall Kubernetes or upgrade to the newest version.Download KubernetesAbout the documentationThis website contains documentation for the current and previous 4 versions of Kubernetes.See available versions",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/home/",
    "id": "k8s_00665_qa_14838"
  },
  {
    "question": "How does Kubernetes Documentation work?",
    "answer": "Kubernetes is an open source container orchestration engine for automating deployment, scaling, and management of containerized applications. The open source project is hosted by the Cloud Native Computing Foundation (CNCF).Understand KubernetesLearn about Kubernetes and its fundamental concepts.Why Kubernetes?Components of a clusterThe Kubernetes APIObjects In KubernetesContainersWorkloads and PodsView ConceptsTry KubernetesFollow tutorials to learn how to deploy applications in Kubernetes.Hello MinikubeWalkthrough the basicsStateless Example: PHP Guestbook with RedisStateful Example: Wordpress with Persistent VolumesView TutorialsSet up a K8s clusterGet Kubernetes running based on your resources and needs.Learning environmentProduction environmentInstall the kubeadm setup toolSecuring a clusterkubeadm command referenceSet up KubernetesLearn how to use KubernetesLook up common tasks and how to perform them using a short sequence of steps.kubectl Quick ReferenceInstall kubectlConfigure access to clustersUse the Web UI DashboardConfigure a Pod to Use a ConfigMapGetting helpView TasksLook up reference informationBrowse terminology, command line syntax, API resource types, and setup tool documentation.Glossarykubectl command line toolLabels, annotations and taintsKubernetes API referenceOverview of APIFeature GatesView ReferenceContribute to KubernetesFind out how you can help make Kubernetes better.Contribute to KubernetesContribute to documentationSuggest content improvementsOpening a pull requestDocumenting a feature for a releaseLocalizing the docsParticipating in SIG DocsViewing Site AnalyticsSee Ways to ContributeTrainingGet certified in Kubernetes and make your cloud native projects successful!View trainingDownload KubernetesInstall Kubernetes or upgrade to the newest version.Download KubernetesAbout the documentationThis website contains documentation for the current and previous 4 versions of Kubernetes.See available versions",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/home/",
    "id": "k8s_00665_qa_14839"
  },
  {
    "question": "When would you use Kubernetes Documentation?",
    "answer": "Kubernetes is an open source container orchestration engine for automating deployment, scaling, and management of containerized applications. The open source project is hosted by the Cloud Native Computing Foundation (CNCF).Understand KubernetesLearn about Kubernetes and its fundamental concepts.Why Kubernetes?Components of a clusterThe Kubernetes APIObjects In KubernetesContainersWorkloads and PodsView ConceptsTry KubernetesFollow tutorials to learn how to deploy applications in Kubernetes.Hello MinikubeWalkthrough the basicsStateless Example: PHP Guestbook with RedisStateful Example: Wordpress with Persistent VolumesView TutorialsSet up a K8s clusterGet Kubernetes running based on your resources and needs.Learning environmentProduction environmentInstall the kubeadm setup toolSecuring a clusterkubeadm command referenceSet up KubernetesLearn how to use KubernetesLook up common tasks and how to perform them using a short sequence of steps.kubectl Quick ReferenceInstall kubectlConfigure access to clustersUse the Web UI DashboardConfigure a Pod to Use a ConfigMapGetting helpView TasksLook up reference informationBrowse terminology, command line syntax, API resource types, and setup tool documentation.Glossarykubectl command line toolLabels, annotations and taintsKubernetes API referenceOverview of APIFeature GatesView ReferenceContribute to KubernetesFind out how you can help make Kubernetes better.Contribute to KubernetesContribute to documentationSuggest content improvementsOpening a pull requestDocumenting a feature for a releaseLocalizing the docsParticipating in SIG DocsViewing Site AnalyticsSee Ways to ContributeTrainingGet certified in Kubernetes and make your cloud native projects successful!View trainingDownload KubernetesInstall Kubernetes or upgrade to the newest version.Download KubernetesAbout the documentationThis website contains documentation for the current and previous 4 versions of Kubernetes.See available versions",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/home/",
    "id": "k8s_00665_qa_14840"
  },
  {
    "question": "What are the benefits of Kubernetes Documentation?",
    "answer": "Kubernetes is an open source container orchestration engine for automating deployment, scaling, and management of containerized applications. The open source project is hosted by the Cloud Native Computing Foundation (CNCF).Understand KubernetesLearn about Kubernetes and its fundamental concepts.Why Kubernetes?Components of a clusterThe Kubernetes APIObjects In KubernetesContainersWorkloads and PodsView ConceptsTry KubernetesFollow tutorials to learn how to deploy applications in Kubernetes.Hello MinikubeWalkthrough the basicsStateless Example: PHP Guestbook with RedisStateful Example: Wordpress with Persistent VolumesView TutorialsSet up a K8s clusterGet Kubernetes running based on your resources and needs.Learning environmentProduction environmentInstall the kubeadm setup toolSecuring a clusterkubeadm command referenceSet up KubernetesLearn how to use KubernetesLook up common tasks and how to perform them using a short sequence of steps.kubectl Quick ReferenceInstall kubectlConfigure access to clustersUse the Web UI DashboardConfigure a Pod to Use a ConfigMapGetting helpView TasksLook up reference informationBrowse terminology, command line syntax, API resource types, and setup tool documentation.Glossarykubectl command line toolLabels, annotations and taintsKubernetes API referenceOverview of APIFeature GatesView ReferenceContribute to KubernetesFind out how you can help make Kubernetes better.Contribute to KubernetesContribute to documentationSuggest content improvementsOpening a pull requestDocumenting a feature for a releaseLocalizing the docsParticipating in SIG DocsViewing Site AnalyticsSee Ways to ContributeTrainingGet certified in Kubernetes and make your cloud native projects successful!View trainingDownload KubernetesInstall Kubernetes or upgrade to the newest version.Download KubernetesAbout the documentationThis website contains documentation for the current and previous 4 versions of Kubernetes.See available versions",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/home/",
    "id": "k8s_00665_qa_14841"
  },
  {
    "question": "What is Kubernetes Documentation?",
    "answer": "K u b e r n e t e s   D o c u m e n t a t i o n   D o c u m e n t a t i o n   A v a i l a b l e   D o c u m e n t a t i o n   V e r s i o n s   G e t t i n g   s t a r t e d   L e a r n i n g   e n v i r o n m e n t   P r o d u c t i o n   e n v i r o n m e n t   C o n t a i n e r   R u n t i m e s   I n s t a l l i n g   K u b e r n e t e s   w i t h   d e p l o y m e n t   t o o l s   B o o t s t r a p p i n g   c l u s t e r s   w i t h   k u b e a d m   I n s t a l l i n g   k u b e a d m   T r o u b l e s h o o t i n g   k u b e a d m   C r e a t i n g   a   c l u s t e r   w i t h   k u b e a d m   C u s t o m i z i n g   c o m p o n e n t s   w i t h   t h e   k u b e a d m   A P I   O p t i o n s   f o r   H i g h l y   A v a i l a b l e   T o p o l o g y   C r e a t i n g   H i g h l y   A v a i l a b l e   C l u s t e r s   w i t h   k u b e a d m   S e t   u p   a   H i g h   A v a i l a b i l i t y   e t c d   C l u s t e r   w i t h   k u b e a d m   C o n f i g u r i n g   e a c h   k u b e l e t   i n   y o u r   c l u s t e r   u s i n g   k u b e a d m   D u a l - s t a c k   s u p p o r t   w i t h   k u b e a d m   T u r n k e y   C l o u d   S o l u t i o n s   B e s t   p r a c t i c e s   C o n s i d e r a t i o n s   f o r   l a r g e   c l u s t e r s   R u n n i n g   i n   m u l t i p l e   z o n e s   V a l i d a t e   n o d e   s e t u p   E n f o r c i n g   P o d   S e c u r i t y   S t a n d a r d s   P K I   c e r t i f i c a t e s   a n d   r e q u i r e m e n t s   C o n c e p t s   O v e r v i e w   K u b e r n e t e s   C o m p o n e n t s   O b j e c t s   I n   K u b e r n e t e s   K u b e r n e t e s   O b j e c t   M a n a g e m e n t   O b j e c t   N a m e s   a n d   I D s   L a b e l s   a n d   S e l e c t o r s   N a m e s p a c e s   A n n o t a t i o n s   F i e l d   S e l e c t o r s   F i n a l i z e r s   O w n e r s   a n d   D e p e n d e n t s   R e c o m m e n d e d   L a b e l s   T h e   K u b e r n e t e s ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/home/",
    "id": "k8s_00665_section_1_14842"
  },
  {
    "question": "What is Understand Kubernetes?",
    "answer": "L e a r n   a b o u t   K u b e r n e t e s   a n d   i t s   f u n d a m e n t a l   c o n c e p t s .   W h y   K u b e r n e t e s ? C o m p o n e n t s   o f   a   c l u s t e r T h e   K u b e r n e t e s   A P I O b j e c t s   I n   K u b e r n e t e s C o n t a i n e r s W o r k l o a d s   a n d   P o d s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/home/",
    "id": "k8s_00665_section_2_14843"
  },
  {
    "question": "What is Try Kubernetes?",
    "answer": "F o l l o w   t u t o r i a l s   t o   l e a r n   h o w   t o   d e p l o y   a p p l i c a t i o n s   i n   K u b e r n e t e s .   H e l l o   M i n i k u b e W a l k t h r o u g h   t h e   b a s i c s S t a t e l e s s   E x a m p l e :   P H P   G u e s t b o o k   w i t h   R e d i s S t a t e f u l   E x a m p l e :   W o r d p r e s s   w i t h   P e r s i s t e n t   V o l u m e s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/home/",
    "id": "k8s_00665_section_2_14844"
  },
  {
    "question": "What is Set up a K8s cluster?",
    "answer": "G e t   K u b e r n e t e s   r u n n i n g   b a s e d   o n   y o u r   r e s o u r c e s   a n d   n e e d s .   L e a r n i n g   e n v i r o n m e n t P r o d u c t i o n   e n v i r o n m e n t I n s t a l l   t h e   k u b e a d m   s e t u p   t o o l S e c u r i n g   a   c l u s t e r k u b e a d m   c o m m a n d   r e f e r e n c e",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/home/",
    "id": "k8s_00665_section_2_14845"
  },
  {
    "question": "What is Learn how to use Kubernetes?",
    "answer": "L o o k   u p   c o m m o n   t a s k s   a n d   h o w   t o   p e r f o r m   t h e m   u s i n g   a   s h o r t   s e q u e n c e   o f   s t e p s .   k u b e c t l   Q u i c k   R e f e r e n c e I n s t a l l   k u b e c t l C o n f i g u r e   a c c e s s   t o   c l u s t e r s U s e   t h e   W e b   U I   D a s h b o a r d C o n f i g u r e   a   P o d   t o   U s e   a   C o n f i g M a p G e t t i n g   h e l p",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/home/",
    "id": "k8s_00665_section_2_14846"
  },
  {
    "question": "What is Look up reference information?",
    "answer": "B r o w s e   t e r m i n o l o g y ,   c o m m a n d   l i n e   s y n t a x ,   A P I   r e s o u r c e   t y p e s ,   a n d   s e t u p   t o o l   d o c u m e n t a t i o n .   G l o s s a r y k u b e c t l   c o m m a n d   l i n e   t o o l L a b e l s ,   a n n o t a t i o n s   a n d   t a i n t s K u b e r n e t e s   A P I   r e f e r e n c e O v e r v i e w   o f   A P I F e a t u r e   G a t e s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/home/",
    "id": "k8s_00665_section_2_14847"
  },
  {
    "question": "What is Contribute to Kubernetes?",
    "answer": "F i n d   o u t   h o w   y o u   c a n   h e l p   m a k e   K u b e r n e t e s   b e t t e r .   C o n t r i b u t e   t o   K u b e r n e t e s C o n t r i b u t e   t o   d o c u m e n t a t i o n S u g g e s t   c o n t e n t   i m p r o v e m e n t s O p e n i n g   a   p u l l   r e q u e s t D o c u m e n t i n g   a   f e a t u r e   f o r   a   r e l e a s e L o c a l i z i n g   t h e   d o c s P a r t i c i p a t i n g   i n   S I G   D o c s V i e w i n g   S i t e   A n a l y t i c s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/home/",
    "id": "k8s_00665_section_2_14848"
  },
  {
    "question": "What is Training?",
    "answer": "G e t   c e r t i f i e d   i n   K u b e r n e t e s   a n d   m a k e   y o u r   c l o u d   n a t i v e   p r o j e c t s   s u c c e s s f u l !",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/home/",
    "id": "k8s_00665_section_2_14849"
  },
  {
    "question": "What is Download Kubernetes?",
    "answer": "I n s t a l l   K u b e r n e t e s   o r   u p g r a d e   t o   t h e   n e w e s t   v e r s i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/home/",
    "id": "k8s_00665_section_2_14850"
  },
  {
    "question": "What is About the documentation?",
    "answer": "T h i s   w e b s i t e   c o n t a i n s   d o c u m e n t a t i o n   f o r   t h e   c u r r e n t   a n d   p r e v i o u s   4   v e r s i o n s   o f   K u b e r n e t e s .   ©   2 0 2 5   T h e   K u b e r n e t e s   A u t h o r s   |   D o c u m e n t a t i o n   D i s t r i b u t e d   u n d e r   C C   B Y   4 . 0   ©   2 0 2 5   T h e   L i n u x   F o u n d a t i o n   ® .   A l l   r i g h t s   r e s e r v e d .   T h e   L i n u x   F o u n d a t i o n   h a s   r e g i s t e r e d   t r a d e m a r k s   a n d   u s e s   t r a d e m a r k s .   F o r   a   l i s t   o f   t r a d e m a r k s   o f   T h e   L i n u x   F o u n d a t i o n ,   p l e a s e   s e e   o u r   T r a d e m a r k   U s a g e   p a g e   I C P   l i c e n s e :   京 I C P 备 1 7 0 7 4 2 6 6 号 - 3",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/home/",
    "id": "k8s_00665_section_2_14851"
  },
  {
    "question": "What is kube-apiserver?",
    "answer": "kube-apiserverSynopsisThe Kubernetes API server validates and configures data for the api objects which include pods, services, replicationcontrollers, and others. The API Server services REST operations and provides the frontend to the cluster's shared state through which all other components interact.kube-apiserver [flags] Options--admission-control-config-file stringFile with admission control configuration.--advertise-address stringThe IP address on which to advertise the apiserver to members of the cluster. This address must be reachable by the rest of the cluster. If blank, the --bind-address will be used. If --bind-address is unspecified, the host's default interface will be used.--aggregator-reject-forwarding-redirect Default: trueAggregator reject forwarding redirect response back to client.--allow-metric-labels stringToString Default: []The map from metric-label to value allow-list of this label. The key's format is <MetricName>,<LabelName>. The value's format is <allowed_value>,<allowed_value>...e.g. metric1,label1='v1,v2,v3', metric1,label2='v1,v2,v3' metric2,label1='v1,v2,v3'.--allow-metric-labels-manifest stringThe path to the manifest file that contains the allow-list mapping. The format of the file is the same as the flag --allow-metric-labels. Note that the flag --allow-metric-labels will override the manifest file.--allow-privilegedIf true, allow privileged containers. [default=false]--anonymous-auth Default: trueEnables anonymous requests to the secure port of the API server. Requests that are not rejected by another authentication method are treated as anonymous requests. Anonymous requests have a username of system:anonymous, and a group name of system:unauthenticated.--api-audiences stringsIdentifiers of the API. The service account token authenticator will validate that tokens used against the API are bound to at least one of these audiences. If the --service-account-issuer flag is configured and this flag is not, this field defaults to a single element list containing the issuer URL.--audit-log-batch-buffer-size int Default: 10000The size of the buffer to store events before batching and writing. Only used in batch mode.--audit-log-batch-max-size int Default: 1The maximum size of a batch. Only used in batch mode.--audit-log-batch-max-wait durationThe amount of time to wait before force writing the batch that hadn't reached the max size. Only used in batch mode.--audit-log-batch-throttle-burst intMaximum number of requests sent at the same moment if ThrottleQPS was not utilized before. Only used in batch mode.--audit-log-batch-throttle-enableWhether batching throttling is enabled. Only used in batch mode.--audit-log-batch-throttle-qps floatMaximum average number of batches per second. Only used in batch mode.--audit-log-compressIf set, the rotated log files will be compressed using gzip.--audit-log-format string Default: \"json\"Format of saved audits. \"legacy\" indicates 1-line text format for each event. \"json\" indicates str",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/",
    "id": "k8s_00666_qa_14852"
  },
  {
    "question": "How does kube-apiserver work?",
    "answer": "kube-apiserverSynopsisThe Kubernetes API server validates and configures data for the api objects which include pods, services, replicationcontrollers, and others. The API Server services REST operations and provides the frontend to the cluster's shared state through which all other components interact.kube-apiserver [flags] Options--admission-control-config-file stringFile with admission control configuration.--advertise-address stringThe IP address on which to advertise the apiserver to members of the cluster. This address must be reachable by the rest of the cluster. If blank, the --bind-address will be used. If --bind-address is unspecified, the host's default interface will be used.--aggregator-reject-forwarding-redirect Default: trueAggregator reject forwarding redirect response back to client.--allow-metric-labels stringToString Default: []The map from metric-label to value allow-list of this label. The key's format is <MetricName>,<LabelName>. The value's format is <allowed_value>,<allowed_value>...e.g. metric1,label1='v1,v2,v3', metric1,label2='v1,v2,v3' metric2,label1='v1,v2,v3'.--allow-metric-labels-manifest stringThe path to the manifest file that contains the allow-list mapping. The format of the file is the same as the flag --allow-metric-labels. Note that the flag --allow-metric-labels will override the manifest file.--allow-privilegedIf true, allow privileged containers. [default=false]--anonymous-auth Default: trueEnables anonymous requests to the secure port of the API server. Requests that are not rejected by another authentication method are treated as anonymous requests. Anonymous requests have a username of system:anonymous, and a group name of system:unauthenticated.--api-audiences stringsIdentifiers of the API. The service account token authenticator will validate that tokens used against the API are bound to at least one of these audiences. If the --service-account-issuer flag is configured and this flag is not, this field defaults to a single element list containing the issuer URL.--audit-log-batch-buffer-size int Default: 10000The size of the buffer to store events before batching and writing. Only used in batch mode.--audit-log-batch-max-size int Default: 1The maximum size of a batch. Only used in batch mode.--audit-log-batch-max-wait durationThe amount of time to wait before force writing the batch that hadn't reached the max size. Only used in batch mode.--audit-log-batch-throttle-burst intMaximum number of requests sent at the same moment if ThrottleQPS was not utilized before. Only used in batch mode.--audit-log-batch-throttle-enableWhether batching throttling is enabled. Only used in batch mode.--audit-log-batch-throttle-qps floatMaximum average number of batches per second. Only used in batch mode.--audit-log-compressIf set, the rotated log files will be compressed using gzip.--audit-log-format string Default: \"json\"Format of saved audits. \"legacy\" indicates 1-line text format for each event. \"json\" indicates str",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/",
    "id": "k8s_00666_qa_14853"
  },
  {
    "question": "When would you use kube-apiserver?",
    "answer": "kube-apiserverSynopsisThe Kubernetes API server validates and configures data for the api objects which include pods, services, replicationcontrollers, and others. The API Server services REST operations and provides the frontend to the cluster's shared state through which all other components interact.kube-apiserver [flags] Options--admission-control-config-file stringFile with admission control configuration.--advertise-address stringThe IP address on which to advertise the apiserver to members of the cluster. This address must be reachable by the rest of the cluster. If blank, the --bind-address will be used. If --bind-address is unspecified, the host's default interface will be used.--aggregator-reject-forwarding-redirect Default: trueAggregator reject forwarding redirect response back to client.--allow-metric-labels stringToString Default: []The map from metric-label to value allow-list of this label. The key's format is <MetricName>,<LabelName>. The value's format is <allowed_value>,<allowed_value>...e.g. metric1,label1='v1,v2,v3', metric1,label2='v1,v2,v3' metric2,label1='v1,v2,v3'.--allow-metric-labels-manifest stringThe path to the manifest file that contains the allow-list mapping. The format of the file is the same as the flag --allow-metric-labels. Note that the flag --allow-metric-labels will override the manifest file.--allow-privilegedIf true, allow privileged containers. [default=false]--anonymous-auth Default: trueEnables anonymous requests to the secure port of the API server. Requests that are not rejected by another authentication method are treated as anonymous requests. Anonymous requests have a username of system:anonymous, and a group name of system:unauthenticated.--api-audiences stringsIdentifiers of the API. The service account token authenticator will validate that tokens used against the API are bound to at least one of these audiences. If the --service-account-issuer flag is configured and this flag is not, this field defaults to a single element list containing the issuer URL.--audit-log-batch-buffer-size int Default: 10000The size of the buffer to store events before batching and writing. Only used in batch mode.--audit-log-batch-max-size int Default: 1The maximum size of a batch. Only used in batch mode.--audit-log-batch-max-wait durationThe amount of time to wait before force writing the batch that hadn't reached the max size. Only used in batch mode.--audit-log-batch-throttle-burst intMaximum number of requests sent at the same moment if ThrottleQPS was not utilized before. Only used in batch mode.--audit-log-batch-throttle-enableWhether batching throttling is enabled. Only used in batch mode.--audit-log-batch-throttle-qps floatMaximum average number of batches per second. Only used in batch mode.--audit-log-compressIf set, the rotated log files will be compressed using gzip.--audit-log-format string Default: \"json\"Format of saved audits. \"legacy\" indicates 1-line text format for each event. \"json\" indicates str",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/",
    "id": "k8s_00666_qa_14854"
  },
  {
    "question": "What are the benefits of kube-apiserver?",
    "answer": "kube-apiserverSynopsisThe Kubernetes API server validates and configures data for the api objects which include pods, services, replicationcontrollers, and others. The API Server services REST operations and provides the frontend to the cluster's shared state through which all other components interact.kube-apiserver [flags] Options--admission-control-config-file stringFile with admission control configuration.--advertise-address stringThe IP address on which to advertise the apiserver to members of the cluster. This address must be reachable by the rest of the cluster. If blank, the --bind-address will be used. If --bind-address is unspecified, the host's default interface will be used.--aggregator-reject-forwarding-redirect Default: trueAggregator reject forwarding redirect response back to client.--allow-metric-labels stringToString Default: []The map from metric-label to value allow-list of this label. The key's format is <MetricName>,<LabelName>. The value's format is <allowed_value>,<allowed_value>...e.g. metric1,label1='v1,v2,v3', metric1,label2='v1,v2,v3' metric2,label1='v1,v2,v3'.--allow-metric-labels-manifest stringThe path to the manifest file that contains the allow-list mapping. The format of the file is the same as the flag --allow-metric-labels. Note that the flag --allow-metric-labels will override the manifest file.--allow-privilegedIf true, allow privileged containers. [default=false]--anonymous-auth Default: trueEnables anonymous requests to the secure port of the API server. Requests that are not rejected by another authentication method are treated as anonymous requests. Anonymous requests have a username of system:anonymous, and a group name of system:unauthenticated.--api-audiences stringsIdentifiers of the API. The service account token authenticator will validate that tokens used against the API are bound to at least one of these audiences. If the --service-account-issuer flag is configured and this flag is not, this field defaults to a single element list containing the issuer URL.--audit-log-batch-buffer-size int Default: 10000The size of the buffer to store events before batching and writing. Only used in batch mode.--audit-log-batch-max-size int Default: 1The maximum size of a batch. Only used in batch mode.--audit-log-batch-max-wait durationThe amount of time to wait before force writing the batch that hadn't reached the max size. Only used in batch mode.--audit-log-batch-throttle-burst intMaximum number of requests sent at the same moment if ThrottleQPS was not utilized before. Only used in batch mode.--audit-log-batch-throttle-enableWhether batching throttling is enabled. Only used in batch mode.--audit-log-batch-throttle-qps floatMaximum average number of batches per second. Only used in batch mode.--audit-log-compressIf set, the rotated log files will be compressed using gzip.--audit-log-format string Default: \"json\"Format of saved audits. \"legacy\" indicates 1-line text format for each event. \"json\" indicates str",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/",
    "id": "k8s_00666_qa_14855"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h e   K u b e r n e t e s   A P I   s e r v e r   v a l i d a t e s   a n d   c o n f i g u r e s   d a t a   f o r   t h e   a p i   o b j e c t s   w h i c h   i n c l u d e   p o d s ,   s e r v i c e s ,   r e p l i c a t i o n c o n t r o l l e r s ,   a n d   o t h e r s .   T h e   A P I   S e r v e r   s e r v i c e s   R E S T   o p e r a t i o n s   a n d   p r o v i d e s   t h e   f r o n t e n d   t o   t h e   c l u s t e r ' s   s h a r e d   s t a t e   t h r o u g h   w h i c h   a l l   o t h e r   c o m p o n e n t s   i n t e r a c t .   k u b e - a p i s e r v e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/",
    "id": "k8s_00666_section_2_14856"
  },
  {
    "question": "What is Options?",
    "answer": "F i l e   w i t h   a d m i s s i o n   c o n t r o l   c o n f i g u r a t i o n .   T h e   I P   a d d r e s s   o n   w h i c h   t o   a d v e r t i s e   t h e   a p i s e r v e r   t o   m e m b e r s   o f   t h e   c l u s t e r .   T h i s   a d d r e s s   m u s t   b e   r e a c h a b l e   b y   t h e   r e s t   o f   t h e   c l u s t e r .   I f   b l a n k ,   t h e   - - b i n d - a d d r e s s   w i l l   b e   u s e d .   I f   - - b i n d - a d d r e s s   i s   u n s p e c i f i e d ,   t h e   h o s t ' s   d e f a u l t   i n t e r f a c e   w i l l   b e   u s e d .   A g g r e g a t o r   r e j e c t   f o r w a r d i n g   r e d i r e c t   r e s p o n s e   b a c k   t o   c l i e n t .   T h e   m a p   f r o m   m e t r i c - l a b e l   t o   v a l u e   a l l o w - l i s t   o f   t h i s   l a b e l .   T h e   k e y ' s   f o r m a t   i s   < M e t r i c N a m e > , < L a b e l N a m e > .   T h e   v a l u e ' s   f o r m a t   i s   < a l l o w e d _ v a l u e > , < a l l o w e d _ v a l u e > . . . e . g .   m e t r i c 1 , l a b e l 1 = ' v 1 , v 2 , v 3 ' ,   m e t r i c 1 , l a b e l 2 = ' v 1 , v 2 , v 3 '   m e t r i c 2 , l a b e l 1 = ' v 1 , v 2 , v 3 ' .   T h e   p a t h   t o   t h e   m a n i f e s t   f i l e   t h a t   c o n t a i n s   t h e   a l l o w - l i s t   m a p p i n g .   T h e   f o r m a t   o f   t h e   f i l e   i s   t h e   s a m e   a s   t h e   f l a g   - - a l l o w - m e t r i c - l a b e l s .   N o t e   t h a t   t h e   f l a g   - - a l l o w - m e t r i c - l a b e l s   w i l l   o v e r r i d e   t h e   m a n i f e s t   f i l e .   I f   t r u e ,   a l l o w   p r i v i l e g e d   c o n t a i n e r s .   [ d e f a u l t = f a l s e ]   E n a b l e s   a n o n y m o u s   r e q u e s t s   t o   t h e   s e c u r e   p o r t   o f   t h e   A P I   s e r v e r .   R e q u e s t s   t h a t   a r e   n o t   r e j e c t e d   b y   a n o t h e r   a u t h e n t i c a t i o n   m ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/",
    "id": "k8s_00666_section_2_14857"
  },
  {
    "question": "What is Automatic Cleanup for Finished Jobs?",
    "answer": "Automatic Cleanup for Finished JobsA time-to-live mechanism to clean up old Jobs that have finished execution.FEATURE STATE: Kubernetes v1.23 [stable]When your Job has finished, it's useful to keep that Job in the API (and not immediately delete the Job) so that you can tell whether the Job succeeded or failed.Kubernetes' TTL-after-finished controller provides a TTL (time to live) mechanism to limit the lifetime of Job objects that have finished execution.Cleanup for finished JobsThe TTL-after-finished controller is only supported for Jobs. You can use this mechanism to clean up finished Jobs (either Complete or Failed) automatically by specifying the .spec.ttlSecondsAfterFinished field of a Job, as in this example.The TTL-after-finished controller assumes that a Job is eligible to be cleaned up TTL seconds after the Job has finished. The timer starts once the status condition of the Job changes to show that the Job is either Complete or Failed; once the TTL has expired, that Job becomes eligible for cascading removal. When the TTL-after-finished controller cleans up a job, it will delete it cascadingly, that is to say it will delete its dependent objects together with it.Kubernetes honors object lifecycle guarantees on the Job, such as waiting for finalizers.You can set the TTL seconds at any time. Here are some examples for setting the .spec.ttlSecondsAfterFinished field of a Job:Specify this field in the Job manifest, so that a Job can be cleaned up automatically some time after it finishes.Manually set this field of existing, already finished Jobs, so that they become eligible for cleanup.Use a mutating admission webhook to set this field dynamically at Job creation time. Cluster administrators can use this to enforce a TTL policy for finished jobs.Use a mutating admission webhook to set this field dynamically after the Job has finished, and choose different TTL values based on job status, labels. For this case, the webhook needs to detect changes to the .status of the Job and only set a TTL when the Job is being marked as completed.Write your own controller to manage the cleanup TTL for Jobs that match a particular selector.CaveatsUpdating TTL for finished JobsYou can modify the TTL period, e.g. .spec.ttlSecondsAfterFinished field of Jobs, after the job is created or has finished. If you extend the TTL period after the existing ttlSecondsAfterFinished period has expired, Kubernetes doesn't guarantee to retain that Job, even if an update to extend the TTL returns a successful API response.Time skewBecause the TTL-after-finished controller uses timestamps stored in the Kubernetes jobs to determine whether the TTL has expired or not, this feature is sensitive to time skew in your cluster, which may cause the control plane to clean up Job objects at the wrong time.Clocks aren't always correct, but the difference should be very small. Please be aware of this risk when setting a non-zero TTL.What's nextRead Clean up Jobs automaticallyRefer to the ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/ttlafterfinished/",
    "id": "k8s_00667_qa_14858"
  },
  {
    "question": "How does Automatic Cleanup for Finished Jobs work?",
    "answer": "Automatic Cleanup for Finished JobsA time-to-live mechanism to clean up old Jobs that have finished execution.FEATURE STATE: Kubernetes v1.23 [stable]When your Job has finished, it's useful to keep that Job in the API (and not immediately delete the Job) so that you can tell whether the Job succeeded or failed.Kubernetes' TTL-after-finished controller provides a TTL (time to live) mechanism to limit the lifetime of Job objects that have finished execution.Cleanup for finished JobsThe TTL-after-finished controller is only supported for Jobs. You can use this mechanism to clean up finished Jobs (either Complete or Failed) automatically by specifying the .spec.ttlSecondsAfterFinished field of a Job, as in this example.The TTL-after-finished controller assumes that a Job is eligible to be cleaned up TTL seconds after the Job has finished. The timer starts once the status condition of the Job changes to show that the Job is either Complete or Failed; once the TTL has expired, that Job becomes eligible for cascading removal. When the TTL-after-finished controller cleans up a job, it will delete it cascadingly, that is to say it will delete its dependent objects together with it.Kubernetes honors object lifecycle guarantees on the Job, such as waiting for finalizers.You can set the TTL seconds at any time. Here are some examples for setting the .spec.ttlSecondsAfterFinished field of a Job:Specify this field in the Job manifest, so that a Job can be cleaned up automatically some time after it finishes.Manually set this field of existing, already finished Jobs, so that they become eligible for cleanup.Use a mutating admission webhook to set this field dynamically at Job creation time. Cluster administrators can use this to enforce a TTL policy for finished jobs.Use a mutating admission webhook to set this field dynamically after the Job has finished, and choose different TTL values based on job status, labels. For this case, the webhook needs to detect changes to the .status of the Job and only set a TTL when the Job is being marked as completed.Write your own controller to manage the cleanup TTL for Jobs that match a particular selector.CaveatsUpdating TTL for finished JobsYou can modify the TTL period, e.g. .spec.ttlSecondsAfterFinished field of Jobs, after the job is created or has finished. If you extend the TTL period after the existing ttlSecondsAfterFinished period has expired, Kubernetes doesn't guarantee to retain that Job, even if an update to extend the TTL returns a successful API response.Time skewBecause the TTL-after-finished controller uses timestamps stored in the Kubernetes jobs to determine whether the TTL has expired or not, this feature is sensitive to time skew in your cluster, which may cause the control plane to clean up Job objects at the wrong time.Clocks aren't always correct, but the difference should be very small. Please be aware of this risk when setting a non-zero TTL.What's nextRead Clean up Jobs automaticallyRefer to the ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/ttlafterfinished/",
    "id": "k8s_00667_qa_14859"
  },
  {
    "question": "When would you use Automatic Cleanup for Finished Jobs?",
    "answer": "Automatic Cleanup for Finished JobsA time-to-live mechanism to clean up old Jobs that have finished execution.FEATURE STATE: Kubernetes v1.23 [stable]When your Job has finished, it's useful to keep that Job in the API (and not immediately delete the Job) so that you can tell whether the Job succeeded or failed.Kubernetes' TTL-after-finished controller provides a TTL (time to live) mechanism to limit the lifetime of Job objects that have finished execution.Cleanup for finished JobsThe TTL-after-finished controller is only supported for Jobs. You can use this mechanism to clean up finished Jobs (either Complete or Failed) automatically by specifying the .spec.ttlSecondsAfterFinished field of a Job, as in this example.The TTL-after-finished controller assumes that a Job is eligible to be cleaned up TTL seconds after the Job has finished. The timer starts once the status condition of the Job changes to show that the Job is either Complete or Failed; once the TTL has expired, that Job becomes eligible for cascading removal. When the TTL-after-finished controller cleans up a job, it will delete it cascadingly, that is to say it will delete its dependent objects together with it.Kubernetes honors object lifecycle guarantees on the Job, such as waiting for finalizers.You can set the TTL seconds at any time. Here are some examples for setting the .spec.ttlSecondsAfterFinished field of a Job:Specify this field in the Job manifest, so that a Job can be cleaned up automatically some time after it finishes.Manually set this field of existing, already finished Jobs, so that they become eligible for cleanup.Use a mutating admission webhook to set this field dynamically at Job creation time. Cluster administrators can use this to enforce a TTL policy for finished jobs.Use a mutating admission webhook to set this field dynamically after the Job has finished, and choose different TTL values based on job status, labels. For this case, the webhook needs to detect changes to the .status of the Job and only set a TTL when the Job is being marked as completed.Write your own controller to manage the cleanup TTL for Jobs that match a particular selector.CaveatsUpdating TTL for finished JobsYou can modify the TTL period, e.g. .spec.ttlSecondsAfterFinished field of Jobs, after the job is created or has finished. If you extend the TTL period after the existing ttlSecondsAfterFinished period has expired, Kubernetes doesn't guarantee to retain that Job, even if an update to extend the TTL returns a successful API response.Time skewBecause the TTL-after-finished controller uses timestamps stored in the Kubernetes jobs to determine whether the TTL has expired or not, this feature is sensitive to time skew in your cluster, which may cause the control plane to clean up Job objects at the wrong time.Clocks aren't always correct, but the difference should be very small. Please be aware of this risk when setting a non-zero TTL.What's nextRead Clean up Jobs automaticallyRefer to the ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/ttlafterfinished/",
    "id": "k8s_00667_qa_14860"
  },
  {
    "question": "What are the benefits of Automatic Cleanup for Finished Jobs?",
    "answer": "Automatic Cleanup for Finished JobsA time-to-live mechanism to clean up old Jobs that have finished execution.FEATURE STATE: Kubernetes v1.23 [stable]When your Job has finished, it's useful to keep that Job in the API (and not immediately delete the Job) so that you can tell whether the Job succeeded or failed.Kubernetes' TTL-after-finished controller provides a TTL (time to live) mechanism to limit the lifetime of Job objects that have finished execution.Cleanup for finished JobsThe TTL-after-finished controller is only supported for Jobs. You can use this mechanism to clean up finished Jobs (either Complete or Failed) automatically by specifying the .spec.ttlSecondsAfterFinished field of a Job, as in this example.The TTL-after-finished controller assumes that a Job is eligible to be cleaned up TTL seconds after the Job has finished. The timer starts once the status condition of the Job changes to show that the Job is either Complete or Failed; once the TTL has expired, that Job becomes eligible for cascading removal. When the TTL-after-finished controller cleans up a job, it will delete it cascadingly, that is to say it will delete its dependent objects together with it.Kubernetes honors object lifecycle guarantees on the Job, such as waiting for finalizers.You can set the TTL seconds at any time. Here are some examples for setting the .spec.ttlSecondsAfterFinished field of a Job:Specify this field in the Job manifest, so that a Job can be cleaned up automatically some time after it finishes.Manually set this field of existing, already finished Jobs, so that they become eligible for cleanup.Use a mutating admission webhook to set this field dynamically at Job creation time. Cluster administrators can use this to enforce a TTL policy for finished jobs.Use a mutating admission webhook to set this field dynamically after the Job has finished, and choose different TTL values based on job status, labels. For this case, the webhook needs to detect changes to the .status of the Job and only set a TTL when the Job is being marked as completed.Write your own controller to manage the cleanup TTL for Jobs that match a particular selector.CaveatsUpdating TTL for finished JobsYou can modify the TTL period, e.g. .spec.ttlSecondsAfterFinished field of Jobs, after the job is created or has finished. If you extend the TTL period after the existing ttlSecondsAfterFinished period has expired, Kubernetes doesn't guarantee to retain that Job, even if an update to extend the TTL returns a successful API response.Time skewBecause the TTL-after-finished controller uses timestamps stored in the Kubernetes jobs to determine whether the TTL has expired or not, this feature is sensitive to time skew in your cluster, which may cause the control plane to clean up Job objects at the wrong time.Clocks aren't always correct, but the difference should be very small. Please be aware of this risk when setting a non-zero TTL.What's nextRead Clean up Jobs automaticallyRefer to the ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/ttlafterfinished/",
    "id": "k8s_00667_qa_14861"
  },
  {
    "question": "What is Automatic Cleanup for Finished Jobs?",
    "answer": "W h e n   y o u r   J o b   h a s   f i n i s h e d ,   i t ' s   u s e f u l   t o   k e e p   t h a t   J o b   i n   t h e   A P I   ( a n d   n o t   i m m e d i a t e l y   d e l e t e   t h e   J o b )   s o   t h a t   y o u   c a n   t e l l   w h e t h e r   t h e   J o b   s u c c e e d e d   o r   f a i l e d .   K u b e r n e t e s '   T T L - a f t e r - f i n i s h e d   c o n t r o l l e r   p r o v i d e s   a   T T L   ( t i m e   t o   l i v e )   m e c h a n i s m   t o   l i m i t   t h e   l i f e t i m e   o f   J o b   o b j e c t s   t h a t   h a v e   f i n i s h e d   e x e c u t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/ttlafterfinished/",
    "id": "k8s_00667_section_1_14862"
  },
  {
    "question": "What is Cleanup for finished Jobs?",
    "answer": "T h e   T T L - a f t e r - f i n i s h e d   c o n t r o l l e r   i s   o n l y   s u p p o r t e d   f o r   J o b s .   Y o u   c a n   u s e   t h i s   m e c h a n i s m   t o   c l e a n   u p   f i n i s h e d   J o b s   ( e i t h e r   C o m p l e t e   o r   F a i l e d )   a u t o m a t i c a l l y   b y   s p e c i f y i n g   t h e   . s p e c . t t l S e c o n d s A f t e r F i n i s h e d   f i e l d   o f   a   J o b ,   a s   i n   t h i s   e x a m p l e .   T h e   T T L - a f t e r - f i n i s h e d   c o n t r o l l e r   a s s u m e s   t h a t   a   J o b   i s   e l i g i b l e   t o   b e   c l e a n e d   u p   T T L   s e c o n d s   a f t e r   t h e   J o b   h a s   f i n i s h e d .   T h e   t i m e r   s t a r t s   o n c e   t h e   s t a t u s   c o n d i t i o n   o f   t h e   J o b   c h a n g e s   t o   s h o w   t h a t   t h e   J o b   i s   e i t h e r   C o m p l e t e   o r   F a i l e d ;   o n c e   t h e   T T L   h a s   e x p i r e d ,   t h a t   J o b   b e c o m e s   e l i g i b l e   f o r   c a s c a d i n g   r e m o v a l .   W h e n   t h e   T T L - a f t e r - f i n i s h e d   c o n t r o l l e r   c l e a n s   u p   a   j o b ,   i t   w i l l   d e l e t e   i t   c a s c a d i n g l y ,   t h a t   i s   t o   s a y   i t   w i l l   d e l e t e   i t s   d e p e n d e n t   o b j e c t s   t o g e t h e r   w i t h   i t .   K u b e r n e t e s   h o n o r s   o b j e c t   l i f e c y c l e   g u a r a n t e e s   o n   t h e   J o b ,   s u c h   a s   w a i t i n g   f o r   f i n a l i z e r s .   Y o u   c a n   s e t   t h e   T T L   s e c o n d s   a t   a n y   t i m e .   H e r e   a r e   s o m e   e x a m p l e s   f o r   s e t t i n g   t h e   . s p e c . t t l S e c o n d s A f t e r F i n i s h e d   f i e l d   o f   a   J o b :   S p e c i f y   t h i s   f i e l d   i n   t h e   J o b   m a n i f e s t ,   s o   t h a t   a   J o b   c a n   b e   c l e a n e d   u p   a u t o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/ttlafterfinished/",
    "id": "k8s_00667_section_2_14863"
  },
  {
    "question": "What is Updating TTL for finished Jobs?",
    "answer": "Y o u   c a n   m o d i f y   t h e   T T L   p e r i o d ,   e . g .   . s p e c . t t l S e c o n d s A f t e r F i n i s h e d   f i e l d   o f   J o b s ,   a f t e r   t h e   j o b   i s   c r e a t e d   o r   h a s   f i n i s h e d .   I f   y o u   e x t e n d   t h e   T T L   p e r i o d   a f t e r   t h e   e x i s t i n g   t t l S e c o n d s A f t e r F i n i s h e d   p e r i o d   h a s   e x p i r e d ,   K u b e r n e t e s   d o e s n ' t   g u a r a n t e e   t o   r e t a i n   t h a t   J o b ,   e v e n   i f   a n   u p d a t e   t o   e x t e n d   t h e   T T L   r e t u r n s   a   s u c c e s s f u l   A P I   r e s p o n s e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/ttlafterfinished/",
    "id": "k8s_00667_section_3_14864"
  },
  {
    "question": "What is Time skew?",
    "answer": "B e c a u s e   t h e   T T L - a f t e r - f i n i s h e d   c o n t r o l l e r   u s e s   t i m e s t a m p s   s t o r e d   i n   t h e   K u b e r n e t e s   j o b s   t o   d e t e r m i n e   w h e t h e r   t h e   T T L   h a s   e x p i r e d   o r   n o t ,   t h i s   f e a t u r e   i s   s e n s i t i v e   t o   t i m e   s k e w   i n   y o u r   c l u s t e r ,   w h i c h   m a y   c a u s e   t h e   c o n t r o l   p l a n e   t o   c l e a n   u p   J o b   o b j e c t s   a t   t h e   w r o n g   t i m e .   C l o c k s   a r e n ' t   a l w a y s   c o r r e c t ,   b u t   t h e   d i f f e r e n c e   s h o u l d   b e   v e r y   s m a l l .   P l e a s e   b e   a w a r e   o f   t h i s   r i s k   w h e n   s e t t i n g   a   n o n - z e r o   T T L .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/ttlafterfinished/",
    "id": "k8s_00667_section_3_14865"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   C l e a n   u p   J o b s   a u t o m a t i c a l l y R e f e r   t o   t h e   K u b e r n e t e s   E n h a n c e m e n t   P r o p o s a l   ( K E P )   f o r   a d d i n g   t h i s   m e c h a n i s m .   R e a d   C l e a n   u p   J o b s   a u t o m a t i c a l l y   R e f e r   t o   t h e   K u b e r n e t e s   E n h a n c e m e n t   P r o p o s a l   ( K E P )   f o r   a d d i n g   t h i s   m e c h a n i s m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/ttlafterfinished/",
    "id": "k8s_00667_section_2_14866"
  },
  {
    "question": "What is kubeadm config?",
    "answer": "kubeadm configDuring kubeadm init, kubeadm uploads the ClusterConfiguration object to your cluster in a ConfigMap called kubeadm-config in the kube-system namespace. This configuration is then read during kubeadm join, kubeadm reset and kubeadm upgrade.You can use kubeadm config print to print the default static configuration that kubeadm uses for kubeadm init and kubeadm join.Note:The output of the command is meant to serve as an example. You must manually edit the output of this command to adapt to your setup. Remove the fields that you are not certain about and kubeadm will try to default them on runtime by examining the host.For more information on init and join navigate to Using kubeadm init with a configuration file or Using kubeadm join with a configuration file.For more information on using the kubeadm configuration API navigate to Customizing components with the kubeadm API.You can use kubeadm config migrate to convert your old configuration files that contain a deprecated API version to a newer, supported API version.kubeadm config validate can be used for validating a configuration file.kubeadm config images list and kubeadm config images pull can be used to list and pull the images that kubeadm requires.kubeadm config printPrint configurationSynopsisThis command prints configurations for subcommands provided. For details, see: https://pkg.go.dev/k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm#section-directorieskubeadm config print [flags] Options-h, --helphelp for printOptions inherited from parent commands--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm config print init-defaultsPrint default init configuration, that can be used for 'kubeadm init'SynopsisThis command prints objects such as the default init configuration that is used for 'kubeadm init'.Note that sensitive values like the Bootstrap Token fields are replaced with placeholder values like \"abcdef.0123456789abcdef\" in order to pass validation but not perform the real computation for creating a token.kubeadm config print init-defaults [flags] Options--component-configs stringsA comma-separated list for component config API objects to print the default values for. Available values: [KubeProxyConfiguration KubeletConfiguration]. If this flag is not set, no component configs will be printed.-h, --helphelp for init-defaultsOptions inherited from parent commands--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm co",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_qa_14867"
  },
  {
    "question": "How does kubeadm config work?",
    "answer": "kubeadm configDuring kubeadm init, kubeadm uploads the ClusterConfiguration object to your cluster in a ConfigMap called kubeadm-config in the kube-system namespace. This configuration is then read during kubeadm join, kubeadm reset and kubeadm upgrade.You can use kubeadm config print to print the default static configuration that kubeadm uses for kubeadm init and kubeadm join.Note:The output of the command is meant to serve as an example. You must manually edit the output of this command to adapt to your setup. Remove the fields that you are not certain about and kubeadm will try to default them on runtime by examining the host.For more information on init and join navigate to Using kubeadm init with a configuration file or Using kubeadm join with a configuration file.For more information on using the kubeadm configuration API navigate to Customizing components with the kubeadm API.You can use kubeadm config migrate to convert your old configuration files that contain a deprecated API version to a newer, supported API version.kubeadm config validate can be used for validating a configuration file.kubeadm config images list and kubeadm config images pull can be used to list and pull the images that kubeadm requires.kubeadm config printPrint configurationSynopsisThis command prints configurations for subcommands provided. For details, see: https://pkg.go.dev/k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm#section-directorieskubeadm config print [flags] Options-h, --helphelp for printOptions inherited from parent commands--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm config print init-defaultsPrint default init configuration, that can be used for 'kubeadm init'SynopsisThis command prints objects such as the default init configuration that is used for 'kubeadm init'.Note that sensitive values like the Bootstrap Token fields are replaced with placeholder values like \"abcdef.0123456789abcdef\" in order to pass validation but not perform the real computation for creating a token.kubeadm config print init-defaults [flags] Options--component-configs stringsA comma-separated list for component config API objects to print the default values for. Available values: [KubeProxyConfiguration KubeletConfiguration]. If this flag is not set, no component configs will be printed.-h, --helphelp for init-defaultsOptions inherited from parent commands--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm co",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_qa_14868"
  },
  {
    "question": "When would you use kubeadm config?",
    "answer": "kubeadm configDuring kubeadm init, kubeadm uploads the ClusterConfiguration object to your cluster in a ConfigMap called kubeadm-config in the kube-system namespace. This configuration is then read during kubeadm join, kubeadm reset and kubeadm upgrade.You can use kubeadm config print to print the default static configuration that kubeadm uses for kubeadm init and kubeadm join.Note:The output of the command is meant to serve as an example. You must manually edit the output of this command to adapt to your setup. Remove the fields that you are not certain about and kubeadm will try to default them on runtime by examining the host.For more information on init and join navigate to Using kubeadm init with a configuration file or Using kubeadm join with a configuration file.For more information on using the kubeadm configuration API navigate to Customizing components with the kubeadm API.You can use kubeadm config migrate to convert your old configuration files that contain a deprecated API version to a newer, supported API version.kubeadm config validate can be used for validating a configuration file.kubeadm config images list and kubeadm config images pull can be used to list and pull the images that kubeadm requires.kubeadm config printPrint configurationSynopsisThis command prints configurations for subcommands provided. For details, see: https://pkg.go.dev/k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm#section-directorieskubeadm config print [flags] Options-h, --helphelp for printOptions inherited from parent commands--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm config print init-defaultsPrint default init configuration, that can be used for 'kubeadm init'SynopsisThis command prints objects such as the default init configuration that is used for 'kubeadm init'.Note that sensitive values like the Bootstrap Token fields are replaced with placeholder values like \"abcdef.0123456789abcdef\" in order to pass validation but not perform the real computation for creating a token.kubeadm config print init-defaults [flags] Options--component-configs stringsA comma-separated list for component config API objects to print the default values for. Available values: [KubeProxyConfiguration KubeletConfiguration]. If this flag is not set, no component configs will be printed.-h, --helphelp for init-defaultsOptions inherited from parent commands--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm co",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_qa_14869"
  },
  {
    "question": "What are the benefits of kubeadm config?",
    "answer": "kubeadm configDuring kubeadm init, kubeadm uploads the ClusterConfiguration object to your cluster in a ConfigMap called kubeadm-config in the kube-system namespace. This configuration is then read during kubeadm join, kubeadm reset and kubeadm upgrade.You can use kubeadm config print to print the default static configuration that kubeadm uses for kubeadm init and kubeadm join.Note:The output of the command is meant to serve as an example. You must manually edit the output of this command to adapt to your setup. Remove the fields that you are not certain about and kubeadm will try to default them on runtime by examining the host.For more information on init and join navigate to Using kubeadm init with a configuration file or Using kubeadm join with a configuration file.For more information on using the kubeadm configuration API navigate to Customizing components with the kubeadm API.You can use kubeadm config migrate to convert your old configuration files that contain a deprecated API version to a newer, supported API version.kubeadm config validate can be used for validating a configuration file.kubeadm config images list and kubeadm config images pull can be used to list and pull the images that kubeadm requires.kubeadm config printPrint configurationSynopsisThis command prints configurations for subcommands provided. For details, see: https://pkg.go.dev/k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm#section-directorieskubeadm config print [flags] Options-h, --helphelp for printOptions inherited from parent commands--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm config print init-defaultsPrint default init configuration, that can be used for 'kubeadm init'SynopsisThis command prints objects such as the default init configuration that is used for 'kubeadm init'.Note that sensitive values like the Bootstrap Token fields are replaced with placeholder values like \"abcdef.0123456789abcdef\" in order to pass validation but not perform the real computation for creating a token.kubeadm config print init-defaults [flags] Options--component-configs stringsA comma-separated list for component config API objects to print the default values for. Available values: [KubeProxyConfiguration KubeletConfiguration]. If this flag is not set, no component configs will be printed.-h, --helphelp for init-defaultsOptions inherited from parent commands--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.kubeadm co",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_qa_14870"
  },
  {
    "question": "What is kubeadm config?",
    "answer": "D u r i n g   k u b e a d m   i n i t ,   k u b e a d m   u p l o a d s   t h e   C l u s t e r C o n f i g u r a t i o n   o b j e c t   t o   y o u r   c l u s t e r   i n   a   C o n f i g M a p   c a l l e d   k u b e a d m - c o n f i g   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   T h i s   c o n f i g u r a t i o n   i s   t h e n   r e a d   d u r i n g   k u b e a d m   j o i n ,   k u b e a d m   r e s e t   a n d   k u b e a d m   u p g r a d e .   Y o u   c a n   u s e   k u b e a d m   c o n f i g   p r i n t   t o   p r i n t   t h e   d e f a u l t   s t a t i c   c o n f i g u r a t i o n   t h a t   k u b e a d m   u s e s   f o r   k u b e a d m   i n i t   a n d   k u b e a d m   j o i n .",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_1_14871"
  },
  {
    "question": "What is Note:?",
    "answer": "F o r   m o r e   i n f o r m a t i o n   o n   i n i t   a n d   j o i n   n a v i g a t e   t o   U s i n g   k u b e a d m   i n i t   w i t h   a   c o n f i g u r a t i o n   f i l e   o r   U s i n g   k u b e a d m   j o i n   w i t h   a   c o n f i g u r a t i o n   f i l e .   F o r   m o r e   i n f o r m a t i o n   o n   u s i n g   t h e   k u b e a d m   c o n f i g u r a t i o n   A P I   n a v i g a t e   t o   C u s t o m i z i n g   c o m p o n e n t s   w i t h   t h e   k u b e a d m   A P I .   Y o u   c a n   u s e   k u b e a d m   c o n f i g   m i g r a t e   t o   c o n v e r t   y o u r   o l d   c o n f i g u r a t i o n   f i l e s   t h a t   c o n t a i n   a   d e p r e c a t e d   A P I   v e r s i o n   t o   a   n e w e r ,   s u p p o r t e d   A P I   v e r s i o n .   k u b e a d m   c o n f i g   v a l i d a t e   c a n   b e   u s e d   f o r   v a l i d a t i n g   a   c o n f i g u r a t i o n   f i l e .   k u b e a d m   c o n f i g   i m a g e s   l i s t   a n d   k u b e a d m   c o n f i g   i m a g e s   p u l l   c a n   b e   u s e d   t o   l i s t   a n d   p u l l   t h e   i m a g e s   t h a t   k u b e a d m   r e q u i r e s .",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_4_14872"
  },
  {
    "question": "What is kubeadm config print?",
    "answer": "P r i n t   c o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_2_14873"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   p r i n t s   c o n f i g u r a t i o n s   f o r   s u b c o m m a n d s   p r o v i d e d .   F o r   d e t a i l s ,   s e e :   h t t p s : / / p k g . g o . d e v / k 8 s . i o / k u b e r n e t e s / c m d / k u b e a d m / a p p / a p i s / k u b e a d m # s e c t i o n - d i r e c t o r i e s   k u b e a d m   c o n f i g   p r i n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_3_14874"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   p r i n t",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_3_14875"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_3_14876"
  },
  {
    "question": "What is kubeadm config print init-defaults?",
    "answer": "P r i n t   d e f a u l t   i n i t   c o n f i g u r a t i o n ,   t h a t   c a n   b e   u s e d   f o r   ' k u b e a d m   i n i t '",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_2_14877"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   p r i n t s   o b j e c t s   s u c h   a s   t h e   d e f a u l t   i n i t   c o n f i g u r a t i o n   t h a t   i s   u s e d   f o r   ' k u b e a d m   i n i t ' .   N o t e   t h a t   s e n s i t i v e   v a l u e s   l i k e   t h e   B o o t s t r a p   T o k e n   f i e l d s   a r e   r e p l a c e d   w i t h   p l a c e h o l d e r   v a l u e s   l i k e   \" a b c d e f . 0 1 2 3 4 5 6 7 8 9 a b c d e f \"   i n   o r d e r   t o   p a s s   v a l i d a t i o n   b u t   n o t   p e r f o r m   t h e   r e a l   c o m p u t a t i o n   f o r   c r e a t i n g   a   t o k e n .   k u b e a d m   c o n f i g   p r i n t   i n i t - d e f a u l t s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_3_14878"
  },
  {
    "question": "What is Options?",
    "answer": "A   c o m m a - s e p a r a t e d   l i s t   f o r   c o m p o n e n t   c o n f i g   A P I   o b j e c t s   t o   p r i n t   t h e   d e f a u l t   v a l u e s   f o r .   A v a i l a b l e   v a l u e s :   [ K u b e P r o x y C o n f i g u r a t i o n   K u b e l e t C o n f i g u r a t i o n ] .   I f   t h i s   f l a g   i s   n o t   s e t ,   n o   c o m p o n e n t   c o n f i g s   w i l l   b e   p r i n t e d .   h e l p   f o r   i n i t - d e f a u l t s",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_3_14879"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_3_14880"
  },
  {
    "question": "What is kubeadm config print join-defaults?",
    "answer": "P r i n t   d e f a u l t   j o i n   c o n f i g u r a t i o n ,   t h a t   c a n   b e   u s e d   f o r   ' k u b e a d m   j o i n '",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_2_14881"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   p r i n t s   o b j e c t s   s u c h   a s   t h e   d e f a u l t   j o i n   c o n f i g u r a t i o n   t h a t   i s   u s e d   f o r   ' k u b e a d m   j o i n ' .   N o t e   t h a t   s e n s i t i v e   v a l u e s   l i k e   t h e   B o o t s t r a p   T o k e n   f i e l d s   a r e   r e p l a c e d   w i t h   p l a c e h o l d e r   v a l u e s   l i k e   \" a b c d e f . 0 1 2 3 4 5 6 7 8 9 a b c d e f \"   i n   o r d e r   t o   p a s s   v a l i d a t i o n   b u t   n o t   p e r f o r m   t h e   r e a l   c o m p u t a t i o n   f o r   c r e a t i n g   a   t o k e n .   k u b e a d m   c o n f i g   p r i n t   j o i n - d e f a u l t s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_3_14882"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   j o i n - d e f a u l t s",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_3_14883"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_3_14884"
  },
  {
    "question": "What is kubeadm config migrate?",
    "answer": "R e a d   a n   o l d e r   v e r s i o n   o f   t h e   k u b e a d m   c o n f i g u r a t i o n   A P I   t y p e s   f r o m   a   f i l e ,   a n d   o u t p u t   t h e   s i m i l a r   c o n f i g   o b j e c t   f o r   t h e   n e w e r   v e r s i o n",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_2_14885"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   l e t s   y o u   c o n v e r t   c o n f i g u r a t i o n   o b j e c t s   o f   o l d e r   v e r s i o n s   t o   t h e   l a t e s t   s u p p o r t e d   v e r s i o n ,   l o c a l l y   i n   t h e   C L I   t o o l   w i t h o u t   e v e r   t o u c h i n g   a n y t h i n g   i n   t h e   c l u s t e r .   I n   t h i s   v e r s i o n   o f   k u b e a d m ,   t h e   f o l l o w i n g   A P I   v e r s i o n s   a r e   s u p p o r t e d :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   F u r t h e r ,   k u b e a d m   c a n   o n l y   w r i t e   o u t   c o n f i g   o f   v e r s i o n   \" k u b e a d m . k 8 s . i o / v 1 b e t a 4 \" ,   b u t   r e a d   b o t h   t y p e s .   S o   r e g a r d l e s s   o f   w h a t   v e r s i o n   y o u   p a s s   t o   t h e   - - o l d - c o n f i g   p a r a m e t e r   h e r e ,   t h e   A P I   o b j e c t   w i l l   b e   r e a d ,   d e s e r i a l i z e d ,   d e f a u l t e d ,   c o n v e r t e d ,   v a l i d a t e d ,   a n d   r e - s e r i a l i z e d   w h e n   w r i t t e n   t o   s t d o u t   o r   - - n e w - c o n f i g   i f   s p e c i f i e d .   I n   o t h e r   w o r d s ,   t h e   o u t p u t   o f   t h i s   c o m m a n d   i s   w h a t   k u b e a d m   a c t u a l l y   w o u l d   r e a d   i n t e r n a l l y   i f   y o u   s u b m i t t e d   t h i s   f i l e   t o   \" k u b e a d m   i n i t \"   k u b e a d m   c o n f i g   m i g r a t e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_3_14886"
  },
  {
    "question": "What is Options?",
    "answer": "A l l o w   m i g r a t i o n   t o   e x p e r i m e n t a l ,   u n r e l e a s e d   A P I s .   h e l p   f o r   m i g r a t e   P a t h   t o   t h e   r e s u l t i n g   e q u i v a l e n t   k u b e a d m   c o n f i g   f i l e   u s i n g   t h e   n e w   A P I   v e r s i o n .   O p t i o n a l ,   i f   n o t   s p e c i f i e d   o u t p u t   w i l l   b e   s e n t   t o   S T D O U T .   P a t h   t o   t h e   k u b e a d m   c o n f i g   f i l e   t h a t   i s   u s i n g   a n   o l d   A P I   v e r s i o n   a n d   s h o u l d   b e   c o n v e r t e d .   T h i s   f l a g   i s   m a n d a t o r y .",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_3_14887"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_3_14888"
  },
  {
    "question": "What is kubeadm config validate?",
    "answer": "R e a d   a   f i l e   c o n t a i n i n g   t h e   k u b e a d m   c o n f i g u r a t i o n   A P I   a n d   r e p o r t   a n y   v a l i d a t i o n   p r o b l e m s",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_2_14889"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   l e t s   y o u   v a l i d a t e   a   k u b e a d m   c o n f i g u r a t i o n   A P I   f i l e   a n d   r e p o r t   a n y   w a r n i n g s   a n d   e r r o r s .   I f   t h e r e   a r e   n o   e r r o r s   t h e   e x i t   s t a t u s   w i l l   b e   z e r o ,   o t h e r w i s e   i t   w i l l   b e   n o n - z e r o .   A n y   u n m a r s h a l i n g   p r o b l e m s   s u c h   a s   u n k n o w n   A P I   f i e l d s   w i l l   t r i g g e r   e r r o r s .   U n k n o w n   A P I   v e r s i o n s   a n d   f i e l d s   w i t h   i n v a l i d   v a l u e s   w i l l   a l s o   t r i g g e r   e r r o r s .   A n y   o t h e r   e r r o r s   o r   w a r n i n g s   m a y   b e   r e p o r t e d   d e p e n d i n g   o n   c o n t e n t s   o f   t h e   i n p u t   f i l e .   I n   t h i s   v e r s i o n   o f   k u b e a d m ,   t h e   f o l l o w i n g   A P I   v e r s i o n s   a r e   s u p p o r t e d :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k u b e a d m   c o n f i g   v a l i d a t e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_3_14890"
  },
  {
    "question": "What is Options?",
    "answer": "A l l o w   v a l i d a t i o n   o f   e x p e r i m e n t a l ,   u n r e l e a s e d   A P I s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   v a l i d a t e",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_3_14891"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_3_14892"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r i n t   a   l i s t   o f   i m a g e s   k u b e a d m   w i l l   u s e .   T h e   c o n f i g u r a t i o n   f i l e   i s   u s e d   i n   c a s e   a n y   i m a g e s   o r   i m a g e   r e p o s i t o r i e s   a r e   c u s t o m i z e d   k u b e a d m   c o n f i g   i m a g e s   l i s t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_3_14893"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d e L o c a l C R I S o c k e t = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) P u b l i c K e y s E C D S A = t r u e | f a l s e   ( D E P R E C A T E D   -   d e f a u l t = f a l s e ) R o o t l e s s C o n t r o l P l a n e = t r u e | f a l s e   ( A L P H A   -   d e f a u l t = f a l s e ) W a i t F o r A l l C o n t r o l P l a n e C o m p o n e n t s = t r u e | f a l s e   ( d e f a u l t = t r u e )   h e l p   f o r   l i s t   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   O u t p u t   f o r m a t .   O n e   o f :   t e x t | j s o n | y a m l | g o - t e m p l a t e | g o - t e m p l a t e - f i l e | t e m p l a t e | t e m p l a t e f i l e | j s o n p a t h | j s o n p a t h - a s - j s o n | j s o n p a t h - f i l e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_3_14894"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_3_14895"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P u l l   i m a g e s   u s e d   b y   k u b e a d m   k u b e a d m   c o n f i g   i m a g e s   p u l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_3_14896"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d e L o c a l C R I S o c k e t = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) P u b l i c K e y s E C D S A = t r u e | f a l s e   ( D E P R E C A T E D   -   d e f a u l t = f a l s e ) R o o t l e s s C o n t r o l P l a n e = t r u e | f a l s e   ( A L P H A   -   d e f a u l t = f a l s e ) W a i t F o r A l l C o n t r o l P l a n e C o m p o n e n t s = t r u e | f a l s e   ( d e f a u l t = t r u e )   h e l p   f o r   p u l l   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_3_14897"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_3_14898"
  },
  {
    "question": "What is What's next?",
    "answer": "k u b e a d m   u p g r a d e   t o   u p g r a d e   a   K u b e r n e t e s   c l u s t e r   t o   a   n e w e r   v e r s i o n",
    "category": "reference",
    "subcategory": "config-file-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/",
    "id": "k8s_00668_section_2_14899"
  },
  {
    "question": "What is Kubeadm?",
    "answer": "KubeadmKubeadm is a tool built to provide kubeadm init and kubeadm join as best-practice \"fast paths\" for creating Kubernetes clusters.kubeadm performs the actions necessary to get a minimum viable cluster up and running. By design, it cares only about bootstrapping, not about provisioning machines. Likewise, installing various nice-to-have addons, like the Kubernetes Dashboard, monitoring solutions, and cloud-specific addons, is not in scope.Instead, we expect higher-level and more tailored tooling to be built on top of kubeadm, and ideally, using kubeadm as the basis of all deployments will make it easier to create conformant clusters.How to installTo install kubeadm, see the installation guide.What's nextkubeadm init to bootstrap a Kubernetes control-plane nodekubeadm join to bootstrap a Kubernetes worker node and join it to the clusterkubeadm upgrade to upgrade a Kubernetes cluster to a newer versionkubeadm config if you initialized your cluster using kubeadm v1.7.x or lower, to configure your cluster for kubeadm upgradekubeadm token to manage tokens for kubeadm joinkubeadm reset to revert any changes made to this host by kubeadm init or kubeadm joinkubeadm certs to manage Kubernetes certificateskubeadm kubeconfig to manage kubeconfig fileskubeadm version to print the kubeadm versionkubeadm alpha to preview a set of features made available for gathering",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/",
    "id": "k8s_00669_qa_14900"
  },
  {
    "question": "How does Kubeadm work?",
    "answer": "KubeadmKubeadm is a tool built to provide kubeadm init and kubeadm join as best-practice \"fast paths\" for creating Kubernetes clusters.kubeadm performs the actions necessary to get a minimum viable cluster up and running. By design, it cares only about bootstrapping, not about provisioning machines. Likewise, installing various nice-to-have addons, like the Kubernetes Dashboard, monitoring solutions, and cloud-specific addons, is not in scope.Instead, we expect higher-level and more tailored tooling to be built on top of kubeadm, and ideally, using kubeadm as the basis of all deployments will make it easier to create conformant clusters.How to installTo install kubeadm, see the installation guide.What's nextkubeadm init to bootstrap a Kubernetes control-plane nodekubeadm join to bootstrap a Kubernetes worker node and join it to the clusterkubeadm upgrade to upgrade a Kubernetes cluster to a newer versionkubeadm config if you initialized your cluster using kubeadm v1.7.x or lower, to configure your cluster for kubeadm upgradekubeadm token to manage tokens for kubeadm joinkubeadm reset to revert any changes made to this host by kubeadm init or kubeadm joinkubeadm certs to manage Kubernetes certificateskubeadm kubeconfig to manage kubeconfig fileskubeadm version to print the kubeadm versionkubeadm alpha to preview a set of features made available for gathering",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/",
    "id": "k8s_00669_qa_14901"
  },
  {
    "question": "When would you use Kubeadm?",
    "answer": "KubeadmKubeadm is a tool built to provide kubeadm init and kubeadm join as best-practice \"fast paths\" for creating Kubernetes clusters.kubeadm performs the actions necessary to get a minimum viable cluster up and running. By design, it cares only about bootstrapping, not about provisioning machines. Likewise, installing various nice-to-have addons, like the Kubernetes Dashboard, monitoring solutions, and cloud-specific addons, is not in scope.Instead, we expect higher-level and more tailored tooling to be built on top of kubeadm, and ideally, using kubeadm as the basis of all deployments will make it easier to create conformant clusters.How to installTo install kubeadm, see the installation guide.What's nextkubeadm init to bootstrap a Kubernetes control-plane nodekubeadm join to bootstrap a Kubernetes worker node and join it to the clusterkubeadm upgrade to upgrade a Kubernetes cluster to a newer versionkubeadm config if you initialized your cluster using kubeadm v1.7.x or lower, to configure your cluster for kubeadm upgradekubeadm token to manage tokens for kubeadm joinkubeadm reset to revert any changes made to this host by kubeadm init or kubeadm joinkubeadm certs to manage Kubernetes certificateskubeadm kubeconfig to manage kubeconfig fileskubeadm version to print the kubeadm versionkubeadm alpha to preview a set of features made available for gathering",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/",
    "id": "k8s_00669_qa_14902"
  },
  {
    "question": "What are the benefits of Kubeadm?",
    "answer": "KubeadmKubeadm is a tool built to provide kubeadm init and kubeadm join as best-practice \"fast paths\" for creating Kubernetes clusters.kubeadm performs the actions necessary to get a minimum viable cluster up and running. By design, it cares only about bootstrapping, not about provisioning machines. Likewise, installing various nice-to-have addons, like the Kubernetes Dashboard, monitoring solutions, and cloud-specific addons, is not in scope.Instead, we expect higher-level and more tailored tooling to be built on top of kubeadm, and ideally, using kubeadm as the basis of all deployments will make it easier to create conformant clusters.How to installTo install kubeadm, see the installation guide.What's nextkubeadm init to bootstrap a Kubernetes control-plane nodekubeadm join to bootstrap a Kubernetes worker node and join it to the clusterkubeadm upgrade to upgrade a Kubernetes cluster to a newer versionkubeadm config if you initialized your cluster using kubeadm v1.7.x or lower, to configure your cluster for kubeadm upgradekubeadm token to manage tokens for kubeadm joinkubeadm reset to revert any changes made to this host by kubeadm init or kubeadm joinkubeadm certs to manage Kubernetes certificateskubeadm kubeconfig to manage kubeconfig fileskubeadm version to print the kubeadm versionkubeadm alpha to preview a set of features made available for gathering",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/",
    "id": "k8s_00669_qa_14903"
  },
  {
    "question": "What is Kubeadm?",
    "answer": "K u b e a d m   i s   a   t o o l   b u i l t   t o   p r o v i d e   k u b e a d m   i n i t   a n d   k u b e a d m   j o i n   a s   b e s t - p r a c t i c e   \" f a s t   p a t h s \"   f o r   c r e a t i n g   K u b e r n e t e s   c l u s t e r s .   k u b e a d m   p e r f o r m s   t h e   a c t i o n s   n e c e s s a r y   t o   g e t   a   m i n i m u m   v i a b l e   c l u s t e r   u p   a n d   r u n n i n g .   B y   d e s i g n ,   i t   c a r e s   o n l y   a b o u t   b o o t s t r a p p i n g ,   n o t   a b o u t   p r o v i s i o n i n g   m a c h i n e s .   L i k e w i s e ,   i n s t a l l i n g   v a r i o u s   n i c e - t o - h a v e   a d d o n s ,   l i k e   t h e   K u b e r n e t e s   D a s h b o a r d ,   m o n i t o r i n g   s o l u t i o n s ,   a n d   c l o u d - s p e c i f i c   a d d o n s ,   i s   n o t   i n   s c o p e .   I n s t e a d ,   w e   e x p e c t   h i g h e r - l e v e l   a n d   m o r e   t a i l o r e d   t o o l i n g   t o   b e   b u i l t   o n   t o p   o f   k u b e a d m ,   a n d   i d e a l l y ,   u s i n g   k u b e a d m   a s   t h e   b a s i s   o f   a l l   d e p l o y m e n t s   w i l l   m a k e   i t   e a s i e r   t o   c r e a t e   c o n f o r m a n t   c l u s t e r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/",
    "id": "k8s_00669_section_1_14904"
  },
  {
    "question": "What is How to install?",
    "answer": "T o   i n s t a l l   k u b e a d m ,   s e e   t h e   i n s t a l l a t i o n   g u i d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/",
    "id": "k8s_00669_section_2_14905"
  },
  {
    "question": "What is What's next?",
    "answer": "k u b e a d m   i n i t   t o   b o o t s t r a p   a   K u b e r n e t e s   c o n t r o l - p l a n e   n o d e k u b e a d m   j o i n   t o   b o o t s t r a p   a   K u b e r n e t e s   w o r k e r   n o d e   a n d   j o i n   i t   t o   t h e   c l u s t e r k u b e a d m   u p g r a d e   t o   u p g r a d e   a   K u b e r n e t e s   c l u s t e r   t o   a   n e w e r   v e r s i o n k u b e a d m   c o n f i g   i f   y o u   i n i t i a l i z e d   y o u r   c l u s t e r   u s i n g   k u b e a d m   v 1 . 7 . x   o r   l o w e r ,   t o   c o n f i g u r e   y o u r   c l u s t e r   f o r   k u b e a d m   u p g r a d e k u b e a d m   t o k e n   t o   m a n a g e   t o k e n s   f o r   k u b e a d m   j o i n k u b e a d m   r e s e t   t o   r e v e r t   a n y   c h a n g e s   m a d e   t o   t h i s   h o s t   b y   k u b e a d m   i n i t   o r   k u b e a d m   j o i n k u b e a d m   c e r t s   t o   m a n a g e   K u b e r n e t e s   c e r t i f i c a t e s k u b e a d m   k u b e c o n f i g   t o   m a n a g e   k u b e c o n f i g   f i l e s k u b e a d m   v e r s i o n   t o   p r i n t   t h e   k u b e a d m   v e r s i o n k u b e a d m   a l p h a   t o   p r e v i e w   a   s e t   o f   f e a t u r e s   m a d e   a v a i l a b l e   f o r   g a t h e r i n g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/",
    "id": "k8s_00669_section_2_14906"
  },
  {
    "question": "What is Implementation details?",
    "answer": "Implementation detailsFEATURE STATE: Kubernetes v1.10 [stable]kubeadm init and kubeadm join together provide a nice user experience for creating a bare Kubernetes cluster from scratch, that aligns with the best-practices. However, it might not be obvious how kubeadm does that.This document provides additional details on what happens under the hood, with the aim of sharing knowledge on the best practices for a Kubernetes cluster.Core design principlesThe cluster that kubeadm init and kubeadm join set up should be:Secure: It should adopt latest best-practices like:enforcing RBACusing the Node Authorizerusing secure communication between the control plane componentsusing secure communication between the API server and the kubeletslock-down the kubelet APIlocking down access to the API for system components like the kube-proxy and CoreDNSlocking down what a Bootstrap Token can accessUser-friendly: The user should not have to run anything more than a couple of commands:kubeadm initexport KUBECONFIG=/etc/kubernetes/admin.confkubectl apply -f <network-plugin-of-choice.yaml>kubeadm join --token <token> <endpoint>:<port>Extendable:It should not favor any particular network provider. Configuring the cluster network is out-of-scopeIt should provide the possibility to use a config file for customizing various parametersConstants and well-known values and pathsIn order to reduce complexity and to simplify development of higher level tools that build on top of kubeadm, it uses a limited set of constant values for well-known paths and file names.The Kubernetes directory /etc/kubernetes is a constant in the application, since it is clearly the given path in a majority of cases, and the most intuitive location; other constant paths and file names are:/etc/kubernetes/manifests as the path where the kubelet should look for static Pod manifests. Names of static Pod manifests are:etcd.yamlkube-apiserver.yamlkube-controller-manager.yamlkube-scheduler.yaml/etc/kubernetes/ as the path where kubeconfig files with identities for control plane components are stored. Names of kubeconfig files are:kubelet.conf (bootstrap-kubelet.conf during TLS bootstrap)controller-manager.confscheduler.confadmin.conf for the cluster admin and kubeadm itselfsuper-admin.conf for the cluster super-admin that can bypass RBACNames of certificates and key files:ca.crt, ca.key for the Kubernetes certificate authorityapiserver.crt, apiserver.key for the API server certificateapiserver-kubelet-client.crt, apiserver-kubelet-client.key for the client certificate used by the API server to connect to the kubelets securelysa.pub, sa.key for the key used by the controller manager when signing ServiceAccountfront-proxy-ca.crt, front-proxy-ca.key for the front proxy certificate authorityfront-proxy-client.crt, front-proxy-client.key for the front proxy clientThe kubeadm configuration file formatMost kubeadm commands support a --config flag which allows passing a configuration file from disk. The configurati",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_qa_14907"
  },
  {
    "question": "How does Implementation details work?",
    "answer": "Implementation detailsFEATURE STATE: Kubernetes v1.10 [stable]kubeadm init and kubeadm join together provide a nice user experience for creating a bare Kubernetes cluster from scratch, that aligns with the best-practices. However, it might not be obvious how kubeadm does that.This document provides additional details on what happens under the hood, with the aim of sharing knowledge on the best practices for a Kubernetes cluster.Core design principlesThe cluster that kubeadm init and kubeadm join set up should be:Secure: It should adopt latest best-practices like:enforcing RBACusing the Node Authorizerusing secure communication between the control plane componentsusing secure communication between the API server and the kubeletslock-down the kubelet APIlocking down access to the API for system components like the kube-proxy and CoreDNSlocking down what a Bootstrap Token can accessUser-friendly: The user should not have to run anything more than a couple of commands:kubeadm initexport KUBECONFIG=/etc/kubernetes/admin.confkubectl apply -f <network-plugin-of-choice.yaml>kubeadm join --token <token> <endpoint>:<port>Extendable:It should not favor any particular network provider. Configuring the cluster network is out-of-scopeIt should provide the possibility to use a config file for customizing various parametersConstants and well-known values and pathsIn order to reduce complexity and to simplify development of higher level tools that build on top of kubeadm, it uses a limited set of constant values for well-known paths and file names.The Kubernetes directory /etc/kubernetes is a constant in the application, since it is clearly the given path in a majority of cases, and the most intuitive location; other constant paths and file names are:/etc/kubernetes/manifests as the path where the kubelet should look for static Pod manifests. Names of static Pod manifests are:etcd.yamlkube-apiserver.yamlkube-controller-manager.yamlkube-scheduler.yaml/etc/kubernetes/ as the path where kubeconfig files with identities for control plane components are stored. Names of kubeconfig files are:kubelet.conf (bootstrap-kubelet.conf during TLS bootstrap)controller-manager.confscheduler.confadmin.conf for the cluster admin and kubeadm itselfsuper-admin.conf for the cluster super-admin that can bypass RBACNames of certificates and key files:ca.crt, ca.key for the Kubernetes certificate authorityapiserver.crt, apiserver.key for the API server certificateapiserver-kubelet-client.crt, apiserver-kubelet-client.key for the client certificate used by the API server to connect to the kubelets securelysa.pub, sa.key for the key used by the controller manager when signing ServiceAccountfront-proxy-ca.crt, front-proxy-ca.key for the front proxy certificate authorityfront-proxy-client.crt, front-proxy-client.key for the front proxy clientThe kubeadm configuration file formatMost kubeadm commands support a --config flag which allows passing a configuration file from disk. The configurati",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_qa_14908"
  },
  {
    "question": "When would you use Implementation details?",
    "answer": "Implementation detailsFEATURE STATE: Kubernetes v1.10 [stable]kubeadm init and kubeadm join together provide a nice user experience for creating a bare Kubernetes cluster from scratch, that aligns with the best-practices. However, it might not be obvious how kubeadm does that.This document provides additional details on what happens under the hood, with the aim of sharing knowledge on the best practices for a Kubernetes cluster.Core design principlesThe cluster that kubeadm init and kubeadm join set up should be:Secure: It should adopt latest best-practices like:enforcing RBACusing the Node Authorizerusing secure communication between the control plane componentsusing secure communication between the API server and the kubeletslock-down the kubelet APIlocking down access to the API for system components like the kube-proxy and CoreDNSlocking down what a Bootstrap Token can accessUser-friendly: The user should not have to run anything more than a couple of commands:kubeadm initexport KUBECONFIG=/etc/kubernetes/admin.confkubectl apply -f <network-plugin-of-choice.yaml>kubeadm join --token <token> <endpoint>:<port>Extendable:It should not favor any particular network provider. Configuring the cluster network is out-of-scopeIt should provide the possibility to use a config file for customizing various parametersConstants and well-known values and pathsIn order to reduce complexity and to simplify development of higher level tools that build on top of kubeadm, it uses a limited set of constant values for well-known paths and file names.The Kubernetes directory /etc/kubernetes is a constant in the application, since it is clearly the given path in a majority of cases, and the most intuitive location; other constant paths and file names are:/etc/kubernetes/manifests as the path where the kubelet should look for static Pod manifests. Names of static Pod manifests are:etcd.yamlkube-apiserver.yamlkube-controller-manager.yamlkube-scheduler.yaml/etc/kubernetes/ as the path where kubeconfig files with identities for control plane components are stored. Names of kubeconfig files are:kubelet.conf (bootstrap-kubelet.conf during TLS bootstrap)controller-manager.confscheduler.confadmin.conf for the cluster admin and kubeadm itselfsuper-admin.conf for the cluster super-admin that can bypass RBACNames of certificates and key files:ca.crt, ca.key for the Kubernetes certificate authorityapiserver.crt, apiserver.key for the API server certificateapiserver-kubelet-client.crt, apiserver-kubelet-client.key for the client certificate used by the API server to connect to the kubelets securelysa.pub, sa.key for the key used by the controller manager when signing ServiceAccountfront-proxy-ca.crt, front-proxy-ca.key for the front proxy certificate authorityfront-proxy-client.crt, front-proxy-client.key for the front proxy clientThe kubeadm configuration file formatMost kubeadm commands support a --config flag which allows passing a configuration file from disk. The configurati",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_qa_14909"
  },
  {
    "question": "What are the benefits of Implementation details?",
    "answer": "Implementation detailsFEATURE STATE: Kubernetes v1.10 [stable]kubeadm init and kubeadm join together provide a nice user experience for creating a bare Kubernetes cluster from scratch, that aligns with the best-practices. However, it might not be obvious how kubeadm does that.This document provides additional details on what happens under the hood, with the aim of sharing knowledge on the best practices for a Kubernetes cluster.Core design principlesThe cluster that kubeadm init and kubeadm join set up should be:Secure: It should adopt latest best-practices like:enforcing RBACusing the Node Authorizerusing secure communication between the control plane componentsusing secure communication between the API server and the kubeletslock-down the kubelet APIlocking down access to the API for system components like the kube-proxy and CoreDNSlocking down what a Bootstrap Token can accessUser-friendly: The user should not have to run anything more than a couple of commands:kubeadm initexport KUBECONFIG=/etc/kubernetes/admin.confkubectl apply -f <network-plugin-of-choice.yaml>kubeadm join --token <token> <endpoint>:<port>Extendable:It should not favor any particular network provider. Configuring the cluster network is out-of-scopeIt should provide the possibility to use a config file for customizing various parametersConstants and well-known values and pathsIn order to reduce complexity and to simplify development of higher level tools that build on top of kubeadm, it uses a limited set of constant values for well-known paths and file names.The Kubernetes directory /etc/kubernetes is a constant in the application, since it is clearly the given path in a majority of cases, and the most intuitive location; other constant paths and file names are:/etc/kubernetes/manifests as the path where the kubelet should look for static Pod manifests. Names of static Pod manifests are:etcd.yamlkube-apiserver.yamlkube-controller-manager.yamlkube-scheduler.yaml/etc/kubernetes/ as the path where kubeconfig files with identities for control plane components are stored. Names of kubeconfig files are:kubelet.conf (bootstrap-kubelet.conf during TLS bootstrap)controller-manager.confscheduler.confadmin.conf for the cluster admin and kubeadm itselfsuper-admin.conf for the cluster super-admin that can bypass RBACNames of certificates and key files:ca.crt, ca.key for the Kubernetes certificate authorityapiserver.crt, apiserver.key for the API server certificateapiserver-kubelet-client.crt, apiserver-kubelet-client.key for the client certificate used by the API server to connect to the kubelets securelysa.pub, sa.key for the key used by the controller manager when signing ServiceAccountfront-proxy-ca.crt, front-proxy-ca.key for the front proxy certificate authorityfront-proxy-client.crt, front-proxy-client.key for the front proxy clientThe kubeadm configuration file formatMost kubeadm commands support a --config flag which allows passing a configuration file from disk. The configurati",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_qa_14910"
  },
  {
    "question": "What is Implementation details?",
    "answer": "k u b e a d m   i n i t   a n d   k u b e a d m   j o i n   t o g e t h e r   p r o v i d e   a   n i c e   u s e r   e x p e r i e n c e   f o r   c r e a t i n g   a   b a r e   K u b e r n e t e s   c l u s t e r   f r o m   s c r a t c h ,   t h a t   a l i g n s   w i t h   t h e   b e s t - p r a c t i c e s .   H o w e v e r ,   i t   m i g h t   n o t   b e   o b v i o u s   h o w   k u b e a d m   d o e s   t h a t .   T h i s   d o c u m e n t   p r o v i d e s   a d d i t i o n a l   d e t a i l s   o n   w h a t   h a p p e n s   u n d e r   t h e   h o o d ,   w i t h   t h e   a i m   o f   s h a r i n g   k n o w l e d g e   o n   t h e   b e s t   p r a c t i c e s   f o r   a   K u b e r n e t e s   c l u s t e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_1_14911"
  },
  {
    "question": "What is Core design principles?",
    "answer": "T h e   c l u s t e r   t h a t   k u b e a d m   i n i t   a n d   k u b e a d m   j o i n   s e t   u p   s h o u l d   b e :   S e c u r e :   I t   s h o u l d   a d o p t   l a t e s t   b e s t - p r a c t i c e s   l i k e : e n f o r c i n g   R B A C u s i n g   t h e   N o d e   A u t h o r i z e r u s i n g   s e c u r e   c o m m u n i c a t i o n   b e t w e e n   t h e   c o n t r o l   p l a n e   c o m p o n e n t s u s i n g   s e c u r e   c o m m u n i c a t i o n   b e t w e e n   t h e   A P I   s e r v e r   a n d   t h e   k u b e l e t s l o c k - d o w n   t h e   k u b e l e t   A P I l o c k i n g   d o w n   a c c e s s   t o   t h e   A P I   f o r   s y s t e m   c o m p o n e n t s   l i k e   t h e   k u b e - p r o x y   a n d   C o r e D N S l o c k i n g   d o w n   w h a t   a   B o o t s t r a p   T o k e n   c a n   a c c e s s U s e r - f r i e n d l y :   T h e   u s e r   s h o u l d   n o t   h a v e   t o   r u n   a n y t h i n g   m o r e   t h a n   a   c o u p l e   o f   c o m m a n d s : k u b e a d m   i n i t e x p o r t   K U B E C O N F I G = / e t c / k u b e r n e t e s / a d m i n . c o n f k u b e c t l   a p p l y   - f   < n e t w o r k - p l u g i n - o f - c h o i c e . y a m l > k u b e a d m   j o i n   - - t o k e n   < t o k e n >   < e n d p o i n t > : < p o r t > E x t e n d a b l e : I t   s h o u l d   n o t   f a v o r   a n y   p a r t i c u l a r   n e t w o r k   p r o v i d e r .   C o n f i g u r i n g   t h e   c l u s t e r   n e t w o r k   i s   o u t - o f - s c o p e I t   s h o u l d   p r o v i d e   t h e   p o s s i b i l i t y   t o   u s e   a   c o n f i g   f i l e   f o r   c u s t o m i z i n g   v a r i o u s   p a r a m e t e r s   e n f o r c i n g   R B A C u s i n g   t h e   N o d e   A u t h o r i z e r u s i n g   s e c u r e   c o m m u n i c a t i o n   b e t w e e n   t h e   c o n t r o l   p l a n e   c o m p o n e n t s u s i n g   s e c u r e   c o m m u n i c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_2_14912"
  },
  {
    "question": "What is Constants and well-known values and paths?",
    "answer": "I n   o r d e r   t o   r e d u c e   c o m p l e x i t y   a n d   t o   s i m p l i f y   d e v e l o p m e n t   o f   h i g h e r   l e v e l   t o o l s   t h a t   b u i l d   o n   t o p   o f   k u b e a d m ,   i t   u s e s   a   l i m i t e d   s e t   o f   c o n s t a n t   v a l u e s   f o r   w e l l - k n o w n   p a t h s   a n d   f i l e   n a m e s .   T h e   K u b e r n e t e s   d i r e c t o r y   / e t c / k u b e r n e t e s   i s   a   c o n s t a n t   i n   t h e   a p p l i c a t i o n ,   s i n c e   i t   i s   c l e a r l y   t h e   g i v e n   p a t h   i n   a   m a j o r i t y   o f   c a s e s ,   a n d   t h e   m o s t   i n t u i t i v e   l o c a t i o n ;   o t h e r   c o n s t a n t   p a t h s   a n d   f i l e   n a m e s   a r e :   / e t c / k u b e r n e t e s / m a n i f e s t s   a s   t h e   p a t h   w h e r e   t h e   k u b e l e t   s h o u l d   l o o k   f o r   s t a t i c   P o d   m a n i f e s t s .   N a m e s   o f   s t a t i c   P o d   m a n i f e s t s   a r e : e t c d . y a m l k u b e - a p i s e r v e r . y a m l k u b e - c o n t r o l l e r - m a n a g e r . y a m l k u b e - s c h e d u l e r . y a m l / e t c / k u b e r n e t e s /   a s   t h e   p a t h   w h e r e   k u b e c o n f i g   f i l e s   w i t h   i d e n t i t i e s   f o r   c o n t r o l   p l a n e   c o m p o n e n t s   a r e   s t o r e d .   N a m e s   o f   k u b e c o n f i g   f i l e s   a r e : k u b e l e t . c o n f   ( b o o t s t r a p - k u b e l e t . c o n f   d u r i n g   T L S   b o o t s t r a p ) c o n t r o l l e r - m a n a g e r . c o n f s c h e d u l e r . c o n f a d m i n . c o n f   f o r   t h e   c l u s t e r   a d m i n   a n d   k u b e a d m   i t s e l f s u p e r - a d m i n . c o n f   f o r   t h e   c l u s t e r   s u p e r - a d m i n   t h a t   c a n   b y p a s s   R B A C N a m e s   o f   c e r t i f i c a t e s   a n d   k e y   f i l e s : c a . c r t ,   c a . k e y   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_2_14913"
  },
  {
    "question": "What is The kubeadm configuration file format?",
    "answer": "M o s t   k u b e a d m   c o m m a n d s   s u p p o r t   a   - - c o n f i g   f l a g   w h i c h   a l l o w s   p a s s i n g   a   c o n f i g u r a t i o n   f i l e   f r o m   d i s k .   T h e   c o n f i g u r a t i o n   f i l e   f o r m a t   f o l l o w s   t h e   c o m m o n   K u b e r n e t e s   A P I   a p i V e r s i o n   /   k i n d   s c h e m e ,   b u t   i s   c o n s i d e r e d   a   c o m p o n e n t   c o n f i g u r a t i o n   f o r m a t .   S e v e r a l   K u b e r n e t e s   c o m p o n e n t s ,   s u c h   a s   t h e   k u b e l e t ,   a l s o   s u p p o r t   f i l e - b a s e d   c o n f i g u r a t i o n .   D i f f e r e n t   k u b e a d m   s u b c o m m a n d s   r e q u i r e   a   d i f f e r e n t   k i n d   o f   c o n f i g u r a t i o n   f i l e .   F o r   e x a m p l e ,   I n i t C o n f i g u r a t i o n   f o r   k u b e a d m   i n i t ,   J o i n C o n f i g u r a t i o n   f o r   k u b e a d m   j o i n ,   U p g r a d e C o n f i g u r a t i o n   f o r   k u b e a d m   u p g r a d e   a n d   R e s e t C o n f i g u r a t i o n   f o r   k u b e a d m   r e s e t .   T h e   c o m m a n d   k u b e a d m   c o n f i g   m i g r a t e   c a n   b e   u s e d   t o   m i g r a t e   a n   o l d e r   f o r m a t   c o n f i g u r a t i o n   f i l e   t o   a   n e w e r   ( c u r r e n t )   c o n f i g u r a t i o n   f o r m a t .   T h e   k u b e a d m   t o o l   o n l y   s u p p o r t s   m i g r a t i n g   f r o m   d e p r e c a t e d   c o n f i g u r a t i o n   f o r m a t s   t o   t h e   c u r r e n t   f o r m a t .   S e e   t h e   k u b e a d m   c o n f i g u r a t i o n   r e f e r e n c e   p a g e   f o r   m o r e   d e t a i l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_2_14914"
  },
  {
    "question": "What is kubeadm init workflow internal design?",
    "answer": "T h e   k u b e a d m   i n i t   c o n s i s t s   o f   a   s e q u e n c e   o f   a t o m i c   w o r k   t a s k s   t o   p e r f o r m ,   a s   d e s c r i b e d   i n   t h e   k u b e a d m   i n i t   i n t e r n a l   w o r k f l o w .   T h e   k u b e a d m   i n i t   p h a s e   c o m m a n d   a l l o w s   u s e r s   t o   i n v o k e   e a c h   t a s k   i n d i v i d u a l l y ,   a n d   u l t i m a t e l y   o f f e r s   a   r e u s a b l e   a n d   c o m p o s a b l e   A P I / t o o l b o x   t h a t   c a n   b e   u s e d   b y   o t h e r   K u b e r n e t e s   b o o t s t r a p   t o o l s ,   b y   a n y   I T   a u t o m a t i o n   t o o l   o r   b y   a n   a d v a n c e d   u s e r   f o r   c r e a t i n g   c u s t o m   c l u s t e r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_2_14915"
  },
  {
    "question": "What is Preflight checks?",
    "answer": "K u b e a d m   e x e c u t e s   a   s e t   o f   p r e f l i g h t   c h e c k s   b e f o r e   s t a r t i n g   t h e   i n i t ,   w i t h   t h e   a i m   t o   v e r i f y   p r e c o n d i t i o n s   a n d   a v o i d   c o m m o n   c l u s t e r   s t a r t u p   p r o b l e m s .   T h e   u s e r   c a n   s k i p   s p e c i f i c   p r e f l i g h t   c h e c k s   o r   a l l   o f   t h e m   w i t h   t h e   - - i g n o r e - p r e f l i g h t - e r r o r s   o p t i o n .   [ W a r n i n g ]   i f   t h e   K u b e r n e t e s   v e r s i o n   t o   u s e   ( s p e c i f i e d   w i t h   t h e   - - k u b e r n e t e s - v e r s i o n   f l a g )   i s   a t   l e a s t   o n e   m i n o r   v e r s i o n   h i g h e r   t h a n   t h e   k u b e a d m   C L I   v e r s i o n . K u b e r n e t e s   s y s t e m   r e q u i r e m e n t s : i f   r u n n i n g   o n   l i n u x : [ E r r o r ]   i f   K e r n e l   i s   o l d e r   t h a n   t h e   m i n i m u m   r e q u i r e d   v e r s i o n [ E r r o r ]   i f   r e q u i r e d   c g r o u p s   s u b s y s t e m   a r e n ' t   s e t   u p [ E r r o r ]   i f   t h e   C R I   e n d p o i n t   d o e s   n o t   a n s w e r [ E r r o r ]   i f   u s e r   i s   n o t   r o o t [ E r r o r ]   i f   t h e   m a c h i n e   h o s t n a m e   i s   n o t   a   v a l i d   D N S   s u b d o m a i n [ W a r n i n g ]   i f   t h e   h o s t   n a m e   c a n n o t   b e   r e a c h e d   v i a   n e t w o r k   l o o k u p [ E r r o r ]   i f   k u b e l e t   v e r s i o n   i s   l o w e r   t h a t   t h e   m i n i m u m   k u b e l e t   v e r s i o n   s u p p o r t e d   b y   k u b e a d m   ( c u r r e n t   m i n o r   - 1 ) [ E r r o r ]   i f   k u b e l e t   v e r s i o n   i s   a t   l e a s t   o n e   m i n o r   h i g h e r   t h a n   t h e   r e q u i r e d   c o n t r o l p l a n e   v e r s i o n   ( u n s u p p o r t e d   v e r s i o n   s k e w ) [ W a r n i n g ] ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_3_14916"
  },
  {
    "question": "What is Generate the necessary certificates?",
    "answer": "K u b e a d m   g e n e r a t e s   c e r t i f i c a t e   a n d   p r i v a t e   k e y   p a i r s   f o r   d i f f e r e n t   p u r p o s e s :   A   s e l f   s i g n e d   c e r t i f i c a t e   a u t h o r i t y   f o r   t h e   K u b e r n e t e s   c l u s t e r   s a v e d   i n t o   c a . c r t   f i l e   a n d   c a . k e y   p r i v a t e   k e y   f i l e A   s e r v i n g   c e r t i f i c a t e   f o r   t h e   A P I   s e r v e r ,   g e n e r a t e d   u s i n g   c a . c r t   a s   t h e   C A ,   a n d   s a v e d   i n t o   a p i s e r v e r . c r t   f i l e   w i t h   i t s   p r i v a t e   k e y   a p i s e r v e r . k e y .   T h i s   c e r t i f i c a t e   s h o u l d   c o n t a i n   t h e   f o l l o w i n g   a l t e r n a t i v e   n a m e s : T h e   K u b e r n e t e s   s e r v i c e ' s   i n t e r n a l   c l u s t e r I P   ( t h e   f i r s t   a d d r e s s   i n   t h e   s e r v i c e s   C I D R ,   e . g .   1 0 . 9 6 . 0 . 1   i f   s e r v i c e   s u b n e t   i s   1 0 . 9 6 . 0 . 0 / 1 2 ) K u b e r n e t e s   D N S   n a m e s ,   e . g .   k u b e r n e t e s . d e f a u l t . s v c . c l u s t e r . l o c a l   i f   - - s e r v i c e - d n s - d o m a i n   f l a g   v a l u e   i s   c l u s t e r . l o c a l ,   p l u s   d e f a u l t   D N S   n a m e s   k u b e r n e t e s . d e f a u l t . s v c ,   k u b e r n e t e s . d e f a u l t ,   k u b e r n e t e s T h e   n o d e - n a m e T h e   - - a p i s e r v e r - a d v e r t i s e - a d d r e s s A d d i t i o n a l   a l t e r n a t i v e   n a m e s   s p e c i f i e d   b y   t h e   u s e r A   c l i e n t   c e r t i f i c a t e   f o r   t h e   A P I   s e r v e r   t o   c o n n e c t   t o   t h e   k u b e l e t s   s e c u r e l y ,   g e n e r a t e d   u s i n g   c a . c r t   a s   t h e   C A   a n d   s a v e d   i n t o   a p i s e r v e r - k u b e l e t - c l i e n t . c r t   f i l e   w i t h   i t s   p r i v a t e   k ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_3_14917"
  },
  {
    "question": "What is Generate kubeconfig files for control plane components?",
    "answer": "K u b e a d m   g e n e r a t e s   k u b e c o n f i g   f i l e s   w i t h   i d e n t i t i e s   f o r   c o n t r o l   p l a n e   c o m p o n e n t s :   A   k u b e c o n f i g   f i l e   f o r   t h e   k u b e l e t   t o   u s e   d u r i n g   T L S   b o o t s t r a p   -   / e t c / k u b e r n e t e s / b o o t s t r a p - k u b e l e t . c o n f .   I n s i d e   t h i s   f i l e ,   t h e r e   i s   a   b o o t s t r a p - t o k e n   o r   e m b e d d e d   c l i e n t   c e r t i f i c a t e s   f o r   a u t h e n t i c a t i n g   t h i s   n o d e   w i t h   t h e   c l u s t e r . T h i s   c l i e n t   c e r t i f i c a t e   s h o u l d : B e   i n   t h e   s y s t e m : n o d e s   o r g a n i z a t i o n ,   a s   r e q u i r e d   b y   t h e   N o d e   A u t h o r i z a t i o n   m o d u l e H a v e   t h e   C o m m o n   N a m e   ( C N )   s y s t e m : n o d e : < h o s t n a m e - l o w e r c a s e d > A   k u b e c o n f i g   f i l e   f o r   c o n t r o l l e r - m a n a g e r ,   / e t c / k u b e r n e t e s / c o n t r o l l e r - m a n a g e r . c o n f ;   i n s i d e   t h i s   f i l e   i s   e m b e d d e d   a   c l i e n t   c e r t i f i c a t e   w i t h   c o n t r o l l e r - m a n a g e r   i d e n t i t y .   T h i s   c l i e n t   c e r t i f i c a t e   s h o u l d   h a v e   t h e   C N   s y s t e m : k u b e - c o n t r o l l e r - m a n a g e r ,   a s   d e f i n e d   b y   d e f a u l t   R B A C   c o r e   c o m p o n e n t s   r o l e s A   k u b e c o n f i g   f i l e   f o r   s c h e d u l e r ,   / e t c / k u b e r n e t e s / s c h e d u l e r . c o n f ;   i n s i d e   t h i s   f i l e   i s   e m b e d d e d   a   c l i e n t   c e r t i f i c a t e   w i t h   s c h e d u l e r   i d e n t i t y .   T h i s   c l i e n t   c e r t i f i c a t e   s h o u l d   h a v e   t h e   C N   s y s t e m : k u b e - s c h e d u l e r ,   a s   d e f i n e d   b y   d e f a u l t   R B A ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_3_14918"
  },
  {
    "question": "What is Caution:?",
    "answer": "A l s o   n o t e   t h a t :   c a . c r t   c e r t i f i c a t e   i s   e m b e d d e d   i n   a l l   t h e   k u b e c o n f i g   f i l e s . I f   a   g i v e n   k u b e c o n f i g   f i l e   e x i s t s ,   a n d   i t s   c o n t e n t   i s   e v a l u a t e d   a s   c o m p l i a n t   w i t h   t h e   a b o v e   s p e c s ,   t h e   e x i s t i n g   f i l e   w i l l   b e   u s e d   a n d   t h e   g e n e r a t i o n   p h a s e   f o r   t h e   g i v e n   k u b e c o n f i g   w i l l   b e   s k i p p e d I f   k u b e a d m   i s   r u n n i n g   i n   E x t e r n a l C A   m o d e ,   a l l   t h e   r e q u i r e d   k u b e c o n f i g   m u s t   b e   p r o v i d e d   b y   t h e   u s e r   a s   w e l l ,   b e c a u s e   k u b e a d m   c a n n o t   g e n e r a t e   a n y   o f   t h e m   b y   i t s e l f I n   c a s e   k u b e a d m   i s   e x e c u t e d   i n   t h e   - - d r y - r u n   m o d e ,   k u b e c o n f i g   f i l e s   a r e   w r i t t e n   i n   a   t e m p o r a r y   f o l d e r G e n e r a t i o n   o f   k u b e c o n f i g   f i l e s   c a n   b e   i n v o k e d   i n d i v i d u a l l y   w i t h   t h e   k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   a l l   c o m m a n d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_4_14919"
  },
  {
    "question": "What is Generate static Pod manifests for control plane components?",
    "answer": "K u b e a d m   w r i t e s   s t a t i c   P o d   m a n i f e s t   f i l e s   f o r   c o n t r o l   p l a n e   c o m p o n e n t s   t o   / e t c / k u b e r n e t e s / m a n i f e s t s .   T h e   k u b e l e t   w a t c h e s   t h i s   d i r e c t o r y   f o r   P o d s   t o   b e   c r e a t e d   o n   s t a r t u p .   S t a t i c   P o d   m a n i f e s t s   s h a r e   a   s e t   o f   c o m m o n   p r o p e r t i e s :   A l l   s t a t i c   P o d s   a r e   d e p l o y e d   o n   k u b e - s y s t e m   n a m e s p a c e A l l   s t a t i c   P o d s   g e t   t i e r : c o n t r o l - p l a n e   a n d   c o m p o n e n t : { c o m p o n e n t - n a m e }   l a b e l s A l l   s t a t i c   P o d s   u s e   t h e   s y s t e m - n o d e - c r i t i c a l   p r i o r i t y   c l a s s h o s t N e t w o r k :   t r u e   i s   s e t   o n   a l l   s t a t i c   P o d s   t o   a l l o w   c o n t r o l   p l a n e   s t a r t u p   b e f o r e   a   n e t w o r k   i s   c o n f i g u r e d ;   a s   a   c o n s e q u e n c e : T h e   a d d r e s s   t h a t   t h e   c o n t r o l l e r - m a n a g e r   a n d   t h e   s c h e d u l e r   u s e   t o   r e f e r   t o   t h e   A P I   s e r v e r   i s   1 2 7 . 0 . 0 . 1 I f   t h e   e t c d   s e r v e r   i s   s e t   u p   l o c a l l y ,   t h e   e t c d - s e r v e r   a d d r e s s   w i l l   b e   s e t   t o   1 2 7 . 0 . 0 . 1 : 2 3 7 9 L e a d e r   e l e c t i o n   i s   e n a b l e d   f o r   b o t h   t h e   c o n t r o l l e r - m a n a g e r   a n d   t h e   s c h e d u l e r C o n t r o l l e r - m a n a g e r   a n d   t h e   s c h e d u l e r   w i l l   r e f e r e n c e   k u b e c o n f i g   f i l e s   w i t h   t h e i r   r e s p e c t i v e ,   u n i q u e   i d e n t i t i e s A l l   s t a t i c   P o d s   g e t   a n y   e x t r a   f l a g s   o r   p a t c h e s   t h a t   y o u   s p e c i f y ,   a s   d e s c r i b e d   i n   p a s s i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_3_14920"
  },
  {
    "question": "What is API server?",
    "answer": "T h e   s t a t i c   P o d   m a n i f e s t   f o r   t h e   A P I   s e r v e r   i s   a f f e c t e d   b y   t h e   f o l l o w i n g   p a r a m e t e r s   p r o v i d e d   b y   t h e   u s e r s :   T h e   a p i s e r v e r - a d v e r t i s e - a d d r e s s   a n d   a p i s e r v e r - b i n d - p o r t   t o   b i n d   t o ;   i f   n o t   p r o v i d e d ,   t h o s e   v a l u e s   d e f a u l t   t o   t h e   I P   a d d r e s s   o f   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   o n   t h e   m a c h i n e   a n d   p o r t   6 4 4 3 T h e   s e r v i c e - c l u s t e r - i p - r a n g e   t o   u s e   f o r   s e r v i c e s I f   a n   e x t e r n a l   e t c d   s e r v e r   i s   s p e c i f i e d ,   t h e   e t c d - s e r v e r s   a d d r e s s   a n d   r e l a t e d   T L S   s e t t i n g s   ( e t c d - c a f i l e ,   e t c d - c e r t f i l e ,   e t c d - k e y f i l e ) ;   i f   a n   e x t e r n a l   e t c d   s e r v e r   i s   n o t   p r o v i d e d ,   a   l o c a l   e t c d   w i l l   b e   u s e d   ( v i a   h o s t   n e t w o r k ) I f   a   c l o u d   p r o v i d e r   i s   s p e c i f i e d ,   t h e   c o r r e s p o n d i n g   - - c l o u d - p r o v i d e r   p a r a m e t e r   i s   c o n f i g u r e d   t o g e t h e r   w i t h   t h e   - - c l o u d - c o n f i g   p a t h   i f   s u c h   f i l e   e x i s t s   ( t h i s   i s   e x p e r i m e n t a l ,   a l p h a   a n d   w i l l   b e   r e m o v e d   i n   a   f u t u r e   v e r s i o n )   O t h e r   A P I   s e r v e r   f l a g s   t h a t   a r e   s e t   u n c o n d i t i o n a l l y   a r e :   - - i n s e c u r e - p o r t = 0   t o   a v o i d   i n s e c u r e   c o n n e c t i o n s   t o   t h e   a p i   s e r v e r - - e n a b l e - b o o t s t r a p - t o k e n - a u t h = t r u e   t o   e n a b l e   t h e   B o o t s t r a p T o k e n A u t h e n t i c a t o r   a u t h e n t i c a t i o n   m o d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_4_14921"
  },
  {
    "question": "What is Controller manager?",
    "answer": "T h e   s t a t i c   P o d   m a n i f e s t   f o r   t h e   c o n t r o l l e r   m a n a g e r   i s   a f f e c t e d   b y   f o l l o w i n g   p a r a m e t e r s   p r o v i d e d   b y   t h e   u s e r s :   I f   k u b e a d m   i s   i n v o k e d   s p e c i f y i n g   a   - - p o d - n e t w o r k - c i d r ,   t h e   s u b n e t   m a n a g e r   f e a t u r e   r e q u i r e d   f o r   s o m e   C N I   n e t w o r k   p l u g i n s   i s   e n a b l e d   b y   s e t t i n g : - - a l l o c a t e - n o d e - c i d r s = t r u e - - c l u s t e r - c i d r   a n d   - - n o d e - c i d r - m a s k - s i z e   f l a g s   a c c o r d i n g   t o   t h e   g i v e n   C I D R   I f   k u b e a d m   i s   i n v o k e d   s p e c i f y i n g   a   - - p o d - n e t w o r k - c i d r ,   t h e   s u b n e t   m a n a g e r   f e a t u r e   r e q u i r e d   f o r   s o m e   C N I   n e t w o r k   p l u g i n s   i s   e n a b l e d   b y   s e t t i n g :   - - a l l o c a t e - n o d e - c i d r s = t r u e - - c l u s t e r - c i d r   a n d   - - n o d e - c i d r - m a s k - s i z e   f l a g s   a c c o r d i n g   t o   t h e   g i v e n   C I D R   O t h e r   f l a g s   t h a t   a r e   s e t   u n c o n d i t i o n a l l y   a r e :   - - c o n t r o l l e r s   e n a b l i n g   a l l   t h e   d e f a u l t   c o n t r o l l e r s   p l u s   B o o t s t r a p S i g n e r   a n d   T o k e n C l e a n e r   c o n t r o l l e r s   f o r   T L S   b o o t s t r a p .   S e e   T L S   B o o t s t r a p p i n g   f o r   m o r e   d e t a i l s . - - u s e - s e r v i c e - a c c o u n t - c r e d e n t i a l s   t o   t r u e F l a g s   f o r   u s i n g   c e r t i f i c a t e s   g e n e r a t e d   i n   p r e v i o u s   s t e p s : - - r o o t - c a - f i l e   t o   c a . c r t - - c l u s t e r - s i g n i n g - c e r t - f i l e   t o   c a . c r t ,   i f   E x t e r n a l   C A   m o d e   i s   d i s a b l e d ,   o t h e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_4_14922"
  },
  {
    "question": "What is Scheduler?",
    "answer": "T h e   s t a t i c   P o d   m a n i f e s t   f o r   t h e   s c h e d u l e r   i s   n o t   a f f e c t e d   b y   p a r a m e t e r s   p r o v i d e d   b y   t h e   u s e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_4_14923"
  },
  {
    "question": "What is Generate static Pod manifest for local etcd?",
    "answer": "I f   y o u   s p e c i f i e d   a n   e x t e r n a l   e t c d ,   t h i s   s t e p   w i l l   b e   s k i p p e d ,   o t h e r w i s e   k u b e a d m   g e n e r a t e s   a   s t a t i c   P o d   m a n i f e s t   f i l e   f o r   c r e a t i n g   a   l o c a l   e t c d   i n s t a n c e   r u n n i n g   i n   a   P o d   w i t h   f o l l o w i n g   a t t r i b u t e s :   l i s t e n   o n   l o c a l h o s t : 2 3 7 9   a n d   u s e   H o s t N e t w o r k = t r u e m a k e   a   h o s t P a t h   m o u n t   o u t   f r o m   t h e   d a t a D i r   t o   t h e   h o s t ' s   f i l e s y s t e m A n y   e x t r a   f l a g s   s p e c i f i e d   b y   t h e   u s e r   P l e a s e   n o t e   t h a t :   T h e   e t c d   c o n t a i n e r   i m a g e   w i l l   b e   p u l l e d   f r o m   r e g i s t r y . g c r . i o   b y   d e f a u l t .   S e e   u s i n g   c u s t o m   i m a g e s   f o r   c u s t o m i z i n g   t h e   i m a g e   r e p o s i t o r y . I f   y o u   r u n   k u b e a d m   i n   - - d r y - r u n   m o d e ,   t h e   e t c d   s t a t i c   P o d   m a n i f e s t   i s   w r i t t e n   i n t o   a   t e m p o r a r y   f o l d e r . Y o u   c a n   d i r e c t l y   i n v o k e   s t a t i c   P o d   m a n i f e s t   g e n e r a t i o n   f o r   l o c a l   e t c d ,   u s i n g   t h e   k u b e a d m   i n i t   p h a s e   e t c d   l o c a l   c o m m a n d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_3_14924"
  },
  {
    "question": "What is Wait for the control plane to come up?",
    "answer": "O n   c o n t r o l   p l a n e   n o d e s ,   k u b e a d m   w a i t s   u p   t o   4   m i n u t e s   f o r   t h e   c o n t r o l   p l a n e   c o m p o n e n t s   a n d   t h e   k u b e l e t   t o   b e   a v a i l a b l e .   I t   d o e s   t h a t   b y   p e r f o r m i n g   a   h e a l t h   c h e c k   o n   t h e   r e s p e c t i v e   c o m p o n e n t   / h e a l t h z   o r   / l i v e z   e n d p o i n t s .   A f t e r   t h e   c o n t r o l   p l a n e   i s   u p ,   k u b e a d m   c o m p l e t e s   t h e   t a s k s   d e s c r i b e d   i n   f o l l o w i n g   p a r a g r a p h s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_3_14925"
  },
  {
    "question": "What is Save the kubeadm ClusterConfiguration in a ConfigMap for later reference?",
    "answer": "k u b e a d m   s a v e s   t h e   c o n f i g u r a t i o n   p a s s e d   t o   k u b e a d m   i n i t   i n   a   C o n f i g M a p   n a m e d   k u b e a d m - c o n f i g   u n d e r   k u b e - s y s t e m   n a m e s p a c e .   T h i s   w i l l   e n s u r e   t h a t   k u b e a d m   a c t i o n s   e x e c u t e d   i n   f u t u r e   ( e . g   k u b e a d m   u p g r a d e )   w i l l   b e   a b l e   t o   d e t e r m i n e   t h e   a c t u a l / c u r r e n t   c l u s t e r   s t a t e   a n d   m a k e   n e w   d e c i s i o n s   b a s e d   o n   t h a t   d a t a .   P l e a s e   n o t e   t h a t :   B e f o r e   s a v i n g   t h e   C l u s t e r C o n f i g u r a t i o n ,   s e n s i t i v e   i n f o r m a t i o n   l i k e   t h e   t o k e n   i s   s t r i p p e d   f r o m   t h e   c o n f i g u r a t i o n U p l o a d   o f   c o n t r o l   p l a n e   n o d e   c o n f i g u r a t i o n   c a n   b e   i n v o k e d   i n d i v i d u a l l y   w i t h   t h e   c o m m a n d   k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_3_14926"
  },
  {
    "question": "What is Mark the node as control-plane?",
    "answer": "A s   s o o n   a s   t h e   c o n t r o l   p l a n e   i s   a v a i l a b l e ,   k u b e a d m   e x e c u t e s   t h e   f o l l o w i n g   a c t i o n s :   L a b e l s   t h e   n o d e   a s   c o n t r o l - p l a n e   w i t h   n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e = \" \" T a i n t s   t h e   n o d e   w i t h   n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e : N o S c h e d u l e   P l e a s e   n o t e   t h a t   t h e   p h a s e   t o   m a r k   t h e   c o n t r o l - p l a n e   p h a s e   c a n   b e   i n v o k e d   i n d i v i d u a l l y   w i t h   t h e   k u b e a d m   i n i t   p h a s e   m a r k - c o n t r o l - p l a n e   c o m m a n d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_3_14927"
  },
  {
    "question": "What is Configure TLS-Bootstrapping for node joining?",
    "answer": "K u b e a d m   u s e s   A u t h e n t i c a t i n g   w i t h   B o o t s t r a p   T o k e n s   f o r   j o i n i n g   n e w   n o d e s   t o   a n   e x i s t i n g   c l u s t e r ;   f o r   m o r e   d e t a i l s   s e e   a l s o   d e s i g n   p r o p o s a l .   k u b e a d m   i n i t   e n s u r e s   t h a t   e v e r y t h i n g   i s   p r o p e r l y   c o n f i g u r e d   f o r   t h i s   p r o c e s s ,   a n d   t h i s   i n c l u d e s   f o l l o w i n g   s t e p s   a s   w e l l   a s   s e t t i n g   A P I   s e r v e r   a n d   c o n t r o l l e r   f l a g s   a s   a l r e a d y   d e s c r i b e d   i n   p r e v i o u s   p a r a g r a p h s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_3_14928"
  },
  {
    "question": "What is Create a bootstrap token?",
    "answer": "k u b e a d m   i n i t   c r e a t e s   a   f i r s t   b o o t s t r a p   t o k e n ,   e i t h e r   g e n e r a t e d   a u t o m a t i c a l l y   o r   p r o v i d e d   b y   t h e   u s e r   w i t h   t h e   - - t o k e n   f l a g ;   a s   d o c u m e n t e d   i n   b o o t s t r a p   t o k e n   s p e c i f i c a t i o n ,   t o k e n   s h o u l d   b e   s a v e d   a s   a   s e c r e t   w i t h   n a m e   b o o t s t r a p - t o k e n - < t o k e n - i d >   u n d e r   k u b e - s y s t e m   n a m e s p a c e .   P l e a s e   n o t e   t h a t :   T h e   d e f a u l t   t o k e n   c r e a t e d   b y   k u b e a d m   i n i t   w i l l   b e   u s e d   t o   v a l i d a t e   t e m p o r a r y   u s e r   d u r i n g   T L S   b o o t s t r a p   p r o c e s s ;   t h o s e   u s e r s   w i l l   b e   m e m b e r   o f   s y s t e m : b o o t s t r a p p e r s : k u b e a d m : d e f a u l t - n o d e - t o k e n   g r o u p T h e   t o k e n   h a s   a   l i m i t e d   v a l i d i t y ,   d e f a u l t   2 4   h o u r s   ( t h e   i n t e r v a l   m a y   b e   c h a n g e d   w i t h   t h e   — t o k e n - t t l   f l a g ) A d d i t i o n a l   t o k e n s   c a n   b e   c r e a t e d   w i t h   t h e   k u b e a d m   t o k e n   c o m m a n d ,   t h a t   p r o v i d e   o t h e r   u s e f u l   f u n c t i o n s   f o r   t o k e n   m a n a g e m e n t   a s   w e l l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_4_14929"
  },
  {
    "question": "What is Allow joining nodes to call CSR API?",
    "answer": "K u b e a d m   e n s u r e s   t h a t   u s e r s   i n   s y s t e m : b o o t s t r a p p e r s : k u b e a d m : d e f a u l t - n o d e - t o k e n   g r o u p   a r e   a b l e   t o   a c c e s s   t h e   c e r t i f i c a t e   s i g n i n g   A P I .   T h i s   i s   i m p l e m e n t e d   b y   c r e a t i n g   a   C l u s t e r R o l e B i n d i n g   n a m e d   k u b e a d m : k u b e l e t - b o o t s t r a p   b e t w e e n   t h e   g r o u p   a b o v e   a n d   t h e   d e f a u l t   R B A C   r o l e   s y s t e m : n o d e - b o o t s t r a p p e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_4_14930"
  },
  {
    "question": "What is Set up auto approval for new bootstrap tokens?",
    "answer": "K u b e a d m   e n s u r e s   t h a t   t h e   B o o t s t r a p   T o k e n   w i l l   g e t   i t s   C S R   r e q u e s t   a u t o m a t i c a l l y   a p p r o v e d   b y   t h e   c s r a p p r o v e r   c o n t r o l l e r .   T h i s   i s   i m p l e m e n t e d   b y   c r e a t i n g   C l u s t e r R o l e B i n d i n g   n a m e d   k u b e a d m : n o d e - a u t o a p p r o v e - b o o t s t r a p   b e t w e e n   t h e   s y s t e m : b o o t s t r a p p e r s : k u b e a d m : d e f a u l t - n o d e - t o k e n   g r o u p   a n d   t h e   d e f a u l t   r o l e   s y s t e m : c e r t i f i c a t e s . k 8 s . i o : c e r t i f i c a t e s i g n i n g r e q u e s t s : n o d e c l i e n t .   T h e   r o l e   s y s t e m : c e r t i f i c a t e s . k 8 s . i o : c e r t i f i c a t e s i g n i n g r e q u e s t s : n o d e c l i e n t   s h o u l d   b e   c r e a t e d   a s   w e l l ,   g r a n t i n g   P O S T   p e r m i s s i o n   t o   / a p i s / c e r t i f i c a t e s . k 8 s . i o / c e r t i f i c a t e s i g n i n g r e q u e s t s / n o d e c l i e n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_4_14931"
  },
  {
    "question": "What is Set up nodes certificate rotation with auto approval?",
    "answer": "K u b e a d m   e n s u r e s   t h a t   c e r t i f i c a t e   r o t a t i o n   i s   e n a b l e d   f o r   n o d e s ,   a n d   t h a t   a   n e w   c e r t i f i c a t e   r e q u e s t   f o r   n o d e s   w i l l   g e t   i t s   C S R   r e q u e s t   a u t o m a t i c a l l y   a p p r o v e d   b y   t h e   c s r a p p r o v e r   c o n t r o l l e r .   T h i s   i s   i m p l e m e n t e d   b y   c r e a t i n g   C l u s t e r R o l e B i n d i n g   n a m e d   k u b e a d m : n o d e - a u t o a p p r o v e - c e r t i f i c a t e - r o t a t i o n   b e t w e e n   t h e   s y s t e m : n o d e s   g r o u p   a n d   t h e   d e f a u l t   r o l e   s y s t e m : c e r t i f i c a t e s . k 8 s . i o : c e r t i f i c a t e s i g n i n g r e q u e s t s : s e l f n o d e c l i e n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_4_14932"
  },
  {
    "question": "What is Create the public cluster-info ConfigMap?",
    "answer": "T h i s   p h a s e   c r e a t e s   t h e   c l u s t e r - i n f o   C o n f i g M a p   i n   t h e   k u b e - p u b l i c   n a m e s p a c e .   A d d i t i o n a l l y ,   i t   c r e a t e s   a   R o l e   a n d   a   R o l e B i n d i n g   g r a n t i n g   a c c e s s   t o   t h e   C o n f i g M a p   f o r   u n a u t h e n t i c a t e d   u s e r s   ( i . e .   u s e r s   i n   R B A C   g r o u p   s y s t e m : u n a u t h e n t i c a t e d ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_4_14933"
  },
  {
    "question": "What is Install addons?",
    "answer": "K u b e a d m   i n s t a l l s   t h e   i n t e r n a l   D N S   s e r v e r   a n d   t h e   k u b e - p r o x y   a d d o n   c o m p o n e n t s   v i a   t h e   A P I   s e r v e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_3_14934"
  },
  {
    "question": "What is proxy?",
    "answer": "A   S e r v i c e A c c o u n t   f o r   k u b e - p r o x y   i s   c r e a t e d   i n   t h e   k u b e - s y s t e m   n a m e s p a c e ;   t h e n   k u b e - p r o x y   i s   d e p l o y e d   a s   a   D a e m o n S e t :   T h e   c r e d e n t i a l s   ( c a . c r t   a n d   t o k e n )   t o   t h e   c o n t r o l   p l a n e   c o m e   f r o m   t h e   S e r v i c e A c c o u n t T h e   l o c a t i o n   ( U R L )   o f   t h e   A P I   s e r v e r   c o m e s   f r o m   a   C o n f i g M a p T h e   k u b e - p r o x y   S e r v i c e A c c o u n t   i s   b o u n d   t o   t h e   p r i v i l e g e s   i n   t h e   s y s t e m : n o d e - p r o x i e r   C l u s t e r R o l e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_4_14935"
  },
  {
    "question": "What is DNS?",
    "answer": "T h e   C o r e D N S   s e r v i c e   i s   n a m e d   k u b e - d n s   f o r   c o m p a t i b i l i t y   r e a s o n s   w i t h   t h e   l e g a c y   k u b e - d n s   a d d o n . A   S e r v i c e A c c o u n t   f o r   C o r e D N S   i s   c r e a t e d   i n   t h e   k u b e - s y s t e m   n a m e s p a c e . T h e   c o r e d n s   S e r v i c e A c c o u n t   i s   b o u n d   t o   t h e   p r i v i l e g e s   i n   t h e   s y s t e m : c o r e d n s   C l u s t e r R o l e   T h e   C o r e D N S   s e r v i c e   i s   n a m e d   k u b e - d n s   f o r   c o m p a t i b i l i t y   r e a s o n s   w i t h   t h e   l e g a c y   k u b e - d n s   a d d o n .   A   S e r v i c e A c c o u n t   f o r   C o r e D N S   i s   c r e a t e d   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   T h e   c o r e d n s   S e r v i c e A c c o u n t   i s   b o u n d   t o   t h e   p r i v i l e g e s   i n   t h e   s y s t e m : c o r e d n s   C l u s t e r R o l e   I n   K u b e r n e t e s   v e r s i o n   1 . 2 1 ,   s u p p o r t   f o r   u s i n g   k u b e - d n s   w i t h   k u b e a d m   w a s   r e m o v e d .   Y o u   c a n   u s e   C o r e D N S   w i t h   k u b e a d m   e v e n   w h e n   t h e   r e l a t e d   S e r v i c e   i s   n a m e d   k u b e - d n s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_4_14936"
  },
  {
    "question": "What is kubeadm join phases internal design?",
    "answer": "S i m i l a r l y   t o   k u b e a d m   i n i t ,   a l s o   k u b e a d m   j o i n   i n t e r n a l   w o r k f l o w   c o n s i s t s   o f   a   s e q u e n c e   o f   a t o m i c   w o r k   t a s k s   t o   p e r f o r m .   T h i s   i s   s p l i t   i n t o   d i s c o v e r y   ( h a v i n g   t h e   N o d e   t r u s t   t h e   K u b e r n e t e s   A P I   S e r v e r )   a n d   T L S   b o o t s t r a p   ( h a v i n g   t h e   K u b e r n e t e s   A P I   S e r v e r   t r u s t   t h e   N o d e ) .   s e e   A u t h e n t i c a t i n g   w i t h   B o o t s t r a p   T o k e n s   o r   t h e   c o r r e s p o n d i n g   d e s i g n   p r o p o s a l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_2_14937"
  },
  {
    "question": "What is Preflight checks?",
    "answer": "k u b e a d m   e x e c u t e s   a   s e t   o f   p r e f l i g h t   c h e c k s   b e f o r e   s t a r t i n g   t h e   j o i n ,   w i t h   t h e   a i m   t o   v e r i f y   p r e c o n d i t i o n s   a n d   a v o i d   c o m m o n   c l u s t e r   s t a r t u p   p r o b l e m s .   A l s o   n o t e   t h a t :   k u b e a d m   j o i n   p r e f l i g h t   c h e c k s   a r e   b a s i c a l l y   a   s u b s e t   o f   k u b e a d m   i n i t   p r e f l i g h t   c h e c k s I f   y o u   a r e   j o i n i n g   a   W i n d o w s   n o d e ,   L i n u x   s p e c i f i c   c o n t r o l s   a r e   s k i p p e d . I n   a n y   c a s e   t h e   u s e r   c a n   s k i p   s p e c i f i c   p r e f l i g h t   c h e c k s   ( o r   e v e n t u a l l y   a l l   p r e f l i g h t   c h e c k s )   w i t h   t h e   - - i g n o r e - p r e f l i g h t - e r r o r s   o p t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_3_14938"
  },
  {
    "question": "What is Discovery cluster-info?",
    "answer": "T h e r e   a r e   2   m a i n   s c h e m e s   f o r   d i s c o v e r y .   T h e   f i r s t   i s   t o   u s e   a   s h a r e d   t o k e n   a l o n g   w i t h   t h e   I P   a d d r e s s   o f   t h e   A P I   s e r v e r .   T h e   s e c o n d   i s   t o   p r o v i d e   a   f i l e   ( t h a t   i s   a   s u b s e t   o f   t h e   s t a n d a r d   k u b e c o n f i g   f i l e ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_3_14939"
  },
  {
    "question": "What is Shared token discovery?",
    "answer": "I f   k u b e a d m   j o i n   i s   i n v o k e d   w i t h   - - d i s c o v e r y - t o k e n ,   t o k e n   d i s c o v e r y   i s   u s e d ;   i n   t h i s   c a s e   t h e   n o d e   b a s i c a l l y   r e t r i e v e s   t h e   c l u s t e r   C A   c e r t i f i c a t e s   f r o m   t h e   c l u s t e r - i n f o   C o n f i g M a p   i n   t h e   k u b e - p u b l i c   n a m e s p a c e .   I n   o r d e r   t o   p r e v e n t   \" m a n   i n   t h e   m i d d l e \"   a t t a c k s ,   s e v e r a l   s t e p s   a r e   t a k e n :   F i r s t ,   t h e   C A   c e r t i f i c a t e   i s   r e t r i e v e d   v i a   i n s e c u r e   c o n n e c t i o n   ( t h i s   i s   p o s s i b l e   b e c a u s e   k u b e a d m   i n i t   i s   g r a n t e d   a c c e s s   t o   c l u s t e r - i n f o   u s e r s   f o r   s y s t e m : u n a u t h e n t i c a t e d ) T h e n   t h e   C A   c e r t i f i c a t e   g o e s   t h r o u g h   f o l l o w i n g   v a l i d a t i o n   s t e p s : B a s i c   v a l i d a t i o n :   u s i n g   t h e   t o k e n   I D   a g a i n s t   a   J W T   s i g n a t u r e P u b   k e y   v a l i d a t i o n :   u s i n g   p r o v i d e d   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h .   T h i s   v a l u e   i s   a v a i l a b l e   i n   t h e   o u t p u t   o f   k u b e a d m   i n i t   o r   c a n   b e   c a l c u l a t e d   u s i n g   s t a n d a r d   t o o l s   ( t h e   h a s h   i s   c a l c u l a t e d   o v e r   t h e   b y t e s   o f   t h e   S u b j e c t   P u b l i c   K e y   I n f o   ( S P K I )   o b j e c t   a s   i n   R F C 7 4 6 9 ) .   T h e   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   f l a g   m a y   b e   r e p e a t e d   m u l t i p l e   t i m e s   t o   a l l o w   m o r e   t h a n   o n e   p u b l i c   k e y . A s   a n   a d d i t i o n a l   v a l i d a t i o n ,   t h e   C A   c e r t i f i c a t e   i s   r e t r i e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_4_14940"
  },
  {
    "question": "What is File/https discovery?",
    "answer": "I f   k u b e a d m   j o i n   i s   i n v o k e d   w i t h   - - d i s c o v e r y - f i l e ,   f i l e   d i s c o v e r y   i s   u s e d ;   t h i s   f i l e   c a n   b e   a   l o c a l   f i l e   o r   d o w n l o a d e d   v i a   a n   H T T P S   U R L ;   i n   c a s e   o f   H T T P S ,   t h e   h o s t   i n s t a l l e d   C A   b u n d l e   i s   u s e d   t o   v e r i f y   t h e   c o n n e c t i o n .   W i t h   f i l e   d i s c o v e r y ,   t h e   c l u s t e r   C A   c e r t i f i c a t e   i s   p r o v i d e d   i n t o   t h e   f i l e   i t s e l f ;   i n   f a c t ,   t h e   d i s c o v e r y   f i l e   i s   a   k u b e c o n f i g   f i l e   w i t h   o n l y   s e r v e r   a n d   c e r t i f i c a t e - a u t h o r i t y - d a t a   a t t r i b u t e s   s e t ,   a s   d e s c r i b e d   i n   t h e   k u b e a d m   j o i n   r e f e r e n c e   d o c ;   w h e n   t h e   c o n n e c t i o n   w i t h   t h e   c l u s t e r   i s   e s t a b l i s h e d ,   k u b e a d m   t r i e s   t o   a c c e s s   t h e   c l u s t e r - i n f o   C o n f i g M a p ,   a n d   i f   a v a i l a b l e ,   u s e s   i t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_4_14941"
  },
  {
    "question": "What is TLS Bootstrap?",
    "answer": "O n c e   t h e   c l u s t e r   i n f o   i s   k n o w n ,   t h e   f i l e   b o o t s t r a p - k u b e l e t . c o n f   i s   w r i t t e n ,   t h u s   a l l o w i n g   k u b e l e t   t o   d o   T L S   B o o t s t r a p p i n g .   T h e   T L S   b o o t s t r a p   m e c h a n i s m   u s e s   t h e   s h a r e d   t o k e n   t o   t e m p o r a r i l y   a u t h e n t i c a t e   w i t h   t h e   K u b e r n e t e s   A P I   s e r v e r   t o   s u b m i t   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t   ( C S R )   f o r   a   l o c a l l y   c r e a t e d   k e y   p a i r .   T h e   r e q u e s t   i s   t h e n   a u t o m a t i c a l l y   a p p r o v e d   a n d   t h e   o p e r a t i o n   c o m p l e t e s   s a v i n g   c a . c r t   f i l e   a n d   k u b e l e t . c o n f   f i l e   t o   b e   u s e d   b y   t h e   k u b e l e t   f o r   j o i n i n g   t h e   c l u s t e r ,   w h i l e   b o o t s t r a p - k u b e l e t . c o n f   i s   d e l e t e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_2_14942"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   t e m p o r a r y   a u t h e n t i c a t i o n   i s   v a l i d a t e d   a g a i n s t   t h e   t o k e n   s a v e d   d u r i n g   t h e   k u b e a d m   i n i t   p r o c e s s   ( o r   w i t h   a d d i t i o n a l   t o k e n s   c r e a t e d   w i t h   k u b e a d m   t o k e n   c o m m a n d ) T h e   t e m p o r a r y   a u t h e n t i c a t i o n   r e s o l v e s   t o   a   u s e r   m e m b e r   o f   s y s t e m : b o o t s t r a p p e r s : k u b e a d m : d e f a u l t - n o d e - t o k e n   g r o u p   w h i c h   w a s   g r a n t e d   a c c e s s   t o   t h e   C S R   a p i   d u r i n g   t h e   k u b e a d m   i n i t   p r o c e s s T h e   a u t o m a t i c   C S R   a p p r o v a l   i s   m a n a g e d   b y   t h e   c s r a p p r o v e r   c o n t r o l l e r ,   a c c o r d i n g   t o   t h e   c o n f i g u r a t i o n   p r e s e n t   i n   t h e   k u b e a d m   i n i t   p r o c e s s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_4_14943"
  },
  {
    "question": "What is kubeadm upgrade workflow internal design?",
    "answer": "k u b e a d m   u p g r a d e   h a s   s u b - c o m m a n d s   f o r   h a n d l i n g   t h e   u p g r a d e   o f   t h e   K u b e r n e t e s   c l u s t e r   c r e a t e d   b y   k u b e a d m .   Y o u   m u s t   r u n   k u b e a d m   u p g r a d e   a p p l y   o n   a   c o n t r o l   p l a n e   n o d e   ( y o u   c a n   c h o o s e   w h i c h   o n e ) ;   t h i s   s t a r t s   t h e   u p g r a d e   p r o c e s s .   Y o u   t h e n   r u n   k u b e a d m   u p g r a d e   n o d e   o n   a l l   r e m a i n i n g   n o d e s   ( b o t h   w o r k e r   n o d e s   a n d   c o n t r o l   p l a n e   n o d e s ) .   B o t h   k u b e a d m   u p g r a d e   a p p l y   a n d   k u b e a d m   u p g r a d e   n o d e   h a v e   a   p h a s e   s u b c o m m a n d   w h i c h   p r o v i d e s   a c c e s s   t o   t h e   i n t e r n a l   p h a s e s   o f   t h e   u p g r a d e   p r o c e s s .   S e e   k u b e a d m   u p g r a d e   p h a s e   f o r   m o r e   d e t a i l s .   A d d i t i o n a l   u t i l i t y   u p g r a d e   c o m m a n d s   a r e   k u b e a d m   u p g r a d e   p l a n   a n d   k u b e a d m   u p g r a d e   d i f f .   A l l   u p g r a d e   s u b - c o m m a n d s   s u p p o r t   p a s s i n g   a   c o n f i g u r a t i o n   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_2_14944"
  },
  {
    "question": "What is kubeadm upgrade plan?",
    "answer": "Y o u   c a n   o p t i o n a l l y   r u n   k u b e a d m   u p g r a d e   p l a n   b e f o r e   y o u   r u n   k u b e a d m   u p g r a d e   a p p l y .   T h e   p l a n   s u b c o m m a n d   c h e c k s   w h i c h   v e r s i o n s   a r e   a v a i l a b l e   t o   u p g r a d e   t o   a n d   v a l i d a t e s   w h e t h e r   y o u r   c u r r e n t   c l u s t e r   i s   u p g r a d e a b l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_3_14945"
  },
  {
    "question": "What is kubeadm upgrade diff?",
    "answer": "T h i s   s h o w s   w h a t   d i f f e r e n c e s   w o u l d   b e   a p p l i e d   t o   e x i s t i n g   s t a t i c   p o d   m a n i f e s t s   f o r   c o n t r o l   p l a n e   n o d e s .   A   m o r e   v e r b o s e   w a y   t o   d o   t h e   s a m e   t h i n g   i s   r u n n i n g   k u b e a d m   u p g r a d e   a p p l y   - - d r y - r u n   o r   k u b e a d m   u p g r a d e   n o d e   - - d r y - r u n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_3_14946"
  },
  {
    "question": "What is kubeadm upgrade apply?",
    "answer": "k u b e a d m   u p g r a d e   a p p l y   p r e p a r e s   t h e   c l u s t e r   f o r   t h e   u p g r a d e   o f   a l l   n o d e s ,   a n d   a l s o   u p g r a d e s   t h e   c o n t r o l   p l a n e   n o d e   w h e r e   i t ' s   r u n .   T h e   s t e p s   i t   p e r f o r m s   a r e :   R u n s   p r e f l i g h t   c h e c k s   s i m i l a r l y   t o   k u b e a d m   i n i t   a n d   k u b e a d m   j o i n ,   e n s u r i n g   c o n t a i n e r   i m a g e s   a r e   d o w n l o a d e d   a n d   t h e   c l u s t e r   i s   i n   a   g o o d   s t a t e   t o   b e   u p g r a d e d . U p g r a d e s   t h e   c o n t r o l   p l a n e   m a n i f e s t   f i l e s   o n   d i s k   i n   / e t c / k u b e r n e t e s / m a n i f e s t s   a n d   w a i t s   f o r   t h e   k u b e l e t   t o   r e s t a r t   t h e   c o m p o n e n t s   i f   t h e   f i l e s   h a v e   c h a n g e d . U p l o a d s   t h e   u p d a t e d   k u b e a d m   a n d   k u b e l e t   c o n f i g u r a t i o n s   t o   t h e   c l u s t e r   i n   t h e   k u b e a d m - c o n f i g   a n d   t h e   k u b e l e t - c o n f i g   C o n f i g M a p s   ( b o t h   i n   t h e   k u b e - s y s t e m   n a m e s p a c e ) . W r i t e s   u p d a t e d   k u b e l e t   c o n f i g u r a t i o n   f o r   t h i s   n o d e   i n   / v a r / l i b / k u b e l e t / c o n f i g . y a m l ,   a n d   r e a d   t h e   n o d e ' s   / v a r / l i b / k u b e l e t / i n s t a n c e - c o n f i g . y a m l   f i l e   a n d   p a t c h   f i e l d s   l i k e   c o n t a i n e r R u n t i m e E n d p o i n t   f r o m   t h i s   i n s t a n c e   c o n f i g u r a t i o n   i n t o   / v a r / l i b / k u b e l e t / c o n f i g . y a m l . C o n f i g u r e s   b o o t s t r a p   t o k e n   a n d   t h e   c l u s t e r - i n f o   C o n f i g M a p   f o r   R B A C   r u l e s .   T h i s   i s   t h e   s a m e   a s   i n   t h e   k u b e a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_3_14947"
  },
  {
    "question": "What is kubeadm upgrade node?",
    "answer": "k u b e a d m   u p g r a d e   n o d e   u p g r a d e s   a   s i n g l e   c o n t r o l   p l a n e   o r   w o r k e r   n o d e   a f t e r   t h e   c l u s t e r   u p g r a d e   h a s   s t a r t e d   ( b y   r u n n i n g   k u b e a d m   u p g r a d e   a p p l y ) .   T h e   c o m m a n d   d e t e c t s   i f   t h e   n o d e   i s   a   c o n t r o l   p l a n e   n o d e   b y   c h e c k i n g   i f   t h e   f i l e   / e t c / k u b e r n e t e s / m a n i f e s t s / k u b e - a p i s e r v e r . y a m l   e x i s t s .   O n   f i n d i n g   t h a t   f i l e ,   t h e   k u b e a d m   t o o l   i n f e r s   t h a t   t h e r e   i s   a   r u n n i n g   k u b e - a p i s e r v e r   P o d   o n   t h i s   n o d e .   R u n s   p r e f l i g h t   c h e c k s   s i m i l a r l y   t o   k u b e a d m   u p g r a d e   a p p l y . F o r   c o n t r o l   p l a n e   n o d e s ,   u p g r a d e s   t h e   c o n t r o l   p l a n e   m a n i f e s t   f i l e s   o n   d i s k   i n   / e t c / k u b e r n e t e s / m a n i f e s t s   a n d   w a i t s   f o r   t h e   k u b e l e t   t o   r e s t a r t   t h e   c o m p o n e n t s   i f   t h e   f i l e s   h a v e   c h a n g e d . W r i t e s   u p d a t e d   k u b e l e t   c o n f i g u r a t i o n   f o r   t h i s   n o d e   i n   / v a r / l i b / k u b e l e t / c o n f i g . y a m l ,   a n d   r e a d   t h e   n o d e ' s   / v a r / l i b / k u b e l e t / i n s t a n c e - c o n f i g . y a m l   f i l e   a n d   p a t c h   f i e l d s   l i k e   c o n t a i n e r R u n t i m e E n d p o i n t   f r o m   t h i s   i n s t a n c e   c o n f i g u r a t i o n   i n t o   / v a r / l i b / k u b e l e t / c o n f i g . y a m l . ( F o r   c o n t r o l   p l a n e   n o d e s )   u p g r a d e s   t h e   k u b e - p r o x y   a n d   C o r e D N S   a d d o n s   c o n d i t i o n a l l y ,   p r o v i d e d   t h a t   a l l   e x i s t i n g   A P I   s e r v e r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_3_14948"
  },
  {
    "question": "What is kubeadm reset workflow internal design?",
    "answer": "Y o u   c a n   u s e   t h e   k u b e a d m   r e s e t   s u b c o m m a n d   o n   a   n o d e   w h e r e   k u b e a d m   c o m m a n d s   p r e v i o u s l y   e x e c u t e d .   T h i s   s u b c o m m a n d   p e r f o r m s   a   b e s t - e f f o r t   c l e a n u p   o f   t h e   n o d e .   I f   c e r t a i n   a c t i o n s   f a i l   y o u   m u s t   i n t e r v e n e   a n d   p e r f o r m   m a n u a l   c l e a n u p .   T h e   c o m m a n d   s u p p o r t s   p h a s e s .   S e e   k u b e a d m   r e s e t   p h a s e   f o r   m o r e   d e t a i l s .   T h e   c o m m a n d   s u p p o r t s   a   c o n f i g u r a t i o n   f i l e .   A d d i t i o n a l l y :   I P V S ,   i p t a b l e s   a n d   n f t a b l e s   r u l e s   a r e   n o t   c l e a n e d   u p . C N I   ( n e t w o r k   p l u g i n )   c o n f i g u r a t i o n   i s   n o t   c l e a n e d   u p . . k u b e /   i n   t h e   u s e r ' s   h o m e   d i r e c t o r y   i s   n o t   c l e a n e d   u p .   T h e   c o m m a n d   h a s   t h e   f o l l o w i n g   s t a g e s :   R u n s   p r e f l i g h t   c h e c k s   o n   t h e   n o d e   t o   d e t e r m i n e   i f   i t s   h e a l t h y . F o r   c o n t r o l   p l a n e   n o d e s ,   r e m o v e s   a n y   l o c a l   e t c d   m e m b e r   d a t a . S t o p s   t h e   k u b e l e t . S t o p s   r u n n i n g   c o n t a i n e r s . U n m o u n t s   a n y   m o u n t e d   d i r e c t o r i e s   i n   / v a r / l i b / k u b e l e t . D e l e t e s   a n y   f i l e s   a n d   d i r e c t o r i e s   m a n a g e d   b y   k u b e a d m   i n   / v a r / l i b / k u b e l e t   a n d   / e t c / k u b e r n e t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/",
    "id": "k8s_00670_section_2_14949"
  },
  {
    "question": "What is Controllers?",
    "answer": "ControllersIn robotics and automation, a control loop is a non-terminating loop that regulates the state of a system.Here is one example of a control loop: a thermostat in a room.When you set the temperature, that's telling the thermostat about your desired state. The actual room temperature is the current state. The thermostat acts to bring the current state closer to the desired state, by turning equipment on or off.In Kubernetes, controllers are control loops that watch the state of your cluster, then make or request changes where needed. Each controller tries to move the current cluster state closer to the desired state.Controller patternA controller tracks at least one Kubernetes resource type. These objects have a spec field that represents the desired state. The controller(s) for that resource are responsible for making the current state come closer to that desired state.The controller might carry the action out itself; more commonly, in Kubernetes, a controller will send messages to the API server that have useful side effects. You'll see examples of this below.Control via API serverThe Job controller is an example of a Kubernetes built-in controller. Built-in controllers manage state by interacting with the cluster API server.Job is a Kubernetes resource that runs a Pod, or perhaps several Pods, to carry out a task and then stop.(Once scheduled, Pod objects become part of the desired state for a kubelet).When the Job controller sees a new task it makes sure that, somewhere in your cluster, the kubelets on a set of Nodes are running the right number of Pods to get the work done. The Job controller does not run any Pods or containers itself. Instead, the Job controller tells the API server to create or remove Pods. Other components in the control plane act on the new information (there are new Pods to schedule and run), and eventually the work is done.After you create a new Job, the desired state is for that Job to be completed. The Job controller makes the current state for that Job be nearer to your desired state: creating Pods that do the work you wanted for that Job, so that the Job is closer to completion.Controllers also update the objects that configure them. For example: once the work is done for a Job, the Job controller updates that Job object to mark it Finished.(This is a bit like how some thermostats turn a light off to indicate that your room is now at the temperature you set).Direct controlIn contrast with Job, some controllers need to make changes to things outside of your cluster.For example, if you use a control loop to make sure there are enough Nodes in your cluster, then that controller needs something outside the current cluster to set up new Nodes when needed.Controllers that interact with external state find their desired state from the API server, then communicate directly with an external system to bring the current state closer in line.(There actually is a controller that horizontally scales the nodes in your clu",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/controller/",
    "id": "k8s_00671_qa_14950"
  },
  {
    "question": "How does Controllers work?",
    "answer": "ControllersIn robotics and automation, a control loop is a non-terminating loop that regulates the state of a system.Here is one example of a control loop: a thermostat in a room.When you set the temperature, that's telling the thermostat about your desired state. The actual room temperature is the current state. The thermostat acts to bring the current state closer to the desired state, by turning equipment on or off.In Kubernetes, controllers are control loops that watch the state of your cluster, then make or request changes where needed. Each controller tries to move the current cluster state closer to the desired state.Controller patternA controller tracks at least one Kubernetes resource type. These objects have a spec field that represents the desired state. The controller(s) for that resource are responsible for making the current state come closer to that desired state.The controller might carry the action out itself; more commonly, in Kubernetes, a controller will send messages to the API server that have useful side effects. You'll see examples of this below.Control via API serverThe Job controller is an example of a Kubernetes built-in controller. Built-in controllers manage state by interacting with the cluster API server.Job is a Kubernetes resource that runs a Pod, or perhaps several Pods, to carry out a task and then stop.(Once scheduled, Pod objects become part of the desired state for a kubelet).When the Job controller sees a new task it makes sure that, somewhere in your cluster, the kubelets on a set of Nodes are running the right number of Pods to get the work done. The Job controller does not run any Pods or containers itself. Instead, the Job controller tells the API server to create or remove Pods. Other components in the control plane act on the new information (there are new Pods to schedule and run), and eventually the work is done.After you create a new Job, the desired state is for that Job to be completed. The Job controller makes the current state for that Job be nearer to your desired state: creating Pods that do the work you wanted for that Job, so that the Job is closer to completion.Controllers also update the objects that configure them. For example: once the work is done for a Job, the Job controller updates that Job object to mark it Finished.(This is a bit like how some thermostats turn a light off to indicate that your room is now at the temperature you set).Direct controlIn contrast with Job, some controllers need to make changes to things outside of your cluster.For example, if you use a control loop to make sure there are enough Nodes in your cluster, then that controller needs something outside the current cluster to set up new Nodes when needed.Controllers that interact with external state find their desired state from the API server, then communicate directly with an external system to bring the current state closer in line.(There actually is a controller that horizontally scales the nodes in your clu",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/controller/",
    "id": "k8s_00671_qa_14951"
  },
  {
    "question": "When would you use Controllers?",
    "answer": "ControllersIn robotics and automation, a control loop is a non-terminating loop that regulates the state of a system.Here is one example of a control loop: a thermostat in a room.When you set the temperature, that's telling the thermostat about your desired state. The actual room temperature is the current state. The thermostat acts to bring the current state closer to the desired state, by turning equipment on or off.In Kubernetes, controllers are control loops that watch the state of your cluster, then make or request changes where needed. Each controller tries to move the current cluster state closer to the desired state.Controller patternA controller tracks at least one Kubernetes resource type. These objects have a spec field that represents the desired state. The controller(s) for that resource are responsible for making the current state come closer to that desired state.The controller might carry the action out itself; more commonly, in Kubernetes, a controller will send messages to the API server that have useful side effects. You'll see examples of this below.Control via API serverThe Job controller is an example of a Kubernetes built-in controller. Built-in controllers manage state by interacting with the cluster API server.Job is a Kubernetes resource that runs a Pod, or perhaps several Pods, to carry out a task and then stop.(Once scheduled, Pod objects become part of the desired state for a kubelet).When the Job controller sees a new task it makes sure that, somewhere in your cluster, the kubelets on a set of Nodes are running the right number of Pods to get the work done. The Job controller does not run any Pods or containers itself. Instead, the Job controller tells the API server to create or remove Pods. Other components in the control plane act on the new information (there are new Pods to schedule and run), and eventually the work is done.After you create a new Job, the desired state is for that Job to be completed. The Job controller makes the current state for that Job be nearer to your desired state: creating Pods that do the work you wanted for that Job, so that the Job is closer to completion.Controllers also update the objects that configure them. For example: once the work is done for a Job, the Job controller updates that Job object to mark it Finished.(This is a bit like how some thermostats turn a light off to indicate that your room is now at the temperature you set).Direct controlIn contrast with Job, some controllers need to make changes to things outside of your cluster.For example, if you use a control loop to make sure there are enough Nodes in your cluster, then that controller needs something outside the current cluster to set up new Nodes when needed.Controllers that interact with external state find their desired state from the API server, then communicate directly with an external system to bring the current state closer in line.(There actually is a controller that horizontally scales the nodes in your clu",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/controller/",
    "id": "k8s_00671_qa_14952"
  },
  {
    "question": "What are the benefits of Controllers?",
    "answer": "ControllersIn robotics and automation, a control loop is a non-terminating loop that regulates the state of a system.Here is one example of a control loop: a thermostat in a room.When you set the temperature, that's telling the thermostat about your desired state. The actual room temperature is the current state. The thermostat acts to bring the current state closer to the desired state, by turning equipment on or off.In Kubernetes, controllers are control loops that watch the state of your cluster, then make or request changes where needed. Each controller tries to move the current cluster state closer to the desired state.Controller patternA controller tracks at least one Kubernetes resource type. These objects have a spec field that represents the desired state. The controller(s) for that resource are responsible for making the current state come closer to that desired state.The controller might carry the action out itself; more commonly, in Kubernetes, a controller will send messages to the API server that have useful side effects. You'll see examples of this below.Control via API serverThe Job controller is an example of a Kubernetes built-in controller. Built-in controllers manage state by interacting with the cluster API server.Job is a Kubernetes resource that runs a Pod, or perhaps several Pods, to carry out a task and then stop.(Once scheduled, Pod objects become part of the desired state for a kubelet).When the Job controller sees a new task it makes sure that, somewhere in your cluster, the kubelets on a set of Nodes are running the right number of Pods to get the work done. The Job controller does not run any Pods or containers itself. Instead, the Job controller tells the API server to create or remove Pods. Other components in the control plane act on the new information (there are new Pods to schedule and run), and eventually the work is done.After you create a new Job, the desired state is for that Job to be completed. The Job controller makes the current state for that Job be nearer to your desired state: creating Pods that do the work you wanted for that Job, so that the Job is closer to completion.Controllers also update the objects that configure them. For example: once the work is done for a Job, the Job controller updates that Job object to mark it Finished.(This is a bit like how some thermostats turn a light off to indicate that your room is now at the temperature you set).Direct controlIn contrast with Job, some controllers need to make changes to things outside of your cluster.For example, if you use a control loop to make sure there are enough Nodes in your cluster, then that controller needs something outside the current cluster to set up new Nodes when needed.Controllers that interact with external state find their desired state from the API server, then communicate directly with an external system to bring the current state closer in line.(There actually is a controller that horizontally scales the nodes in your clu",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/controller/",
    "id": "k8s_00671_qa_14953"
  },
  {
    "question": "What is Controllers?",
    "answer": "I n   r o b o t i c s   a n d   a u t o m a t i o n ,   a   c o n t r o l   l o o p   i s   a   n o n - t e r m i n a t i n g   l o o p   t h a t   r e g u l a t e s   t h e   s t a t e   o f   a   s y s t e m .   H e r e   i s   o n e   e x a m p l e   o f   a   c o n t r o l   l o o p :   a   t h e r m o s t a t   i n   a   r o o m .   W h e n   y o u   s e t   t h e   t e m p e r a t u r e ,   t h a t ' s   t e l l i n g   t h e   t h e r m o s t a t   a b o u t   y o u r   d e s i r e d   s t a t e .   T h e   a c t u a l   r o o m   t e m p e r a t u r e   i s   t h e   c u r r e n t   s t a t e .   T h e   t h e r m o s t a t   a c t s   t o   b r i n g   t h e   c u r r e n t   s t a t e   c l o s e r   t o   t h e   d e s i r e d   s t a t e ,   b y   t u r n i n g   e q u i p m e n t   o n   o r   o f f .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/controller/",
    "id": "k8s_00671_section_1_14954"
  },
  {
    "question": "What is Controller pattern?",
    "answer": "A   c o n t r o l l e r   t r a c k s   a t   l e a s t   o n e   K u b e r n e t e s   r e s o u r c e   t y p e .   T h e s e   o b j e c t s   h a v e   a   s p e c   f i e l d   t h a t   r e p r e s e n t s   t h e   d e s i r e d   s t a t e .   T h e   c o n t r o l l e r ( s )   f o r   t h a t   r e s o u r c e   a r e   r e s p o n s i b l e   f o r   m a k i n g   t h e   c u r r e n t   s t a t e   c o m e   c l o s e r   t o   t h a t   d e s i r e d   s t a t e .   T h e   c o n t r o l l e r   m i g h t   c a r r y   t h e   a c t i o n   o u t   i t s e l f ;   m o r e   c o m m o n l y ,   i n   K u b e r n e t e s ,   a   c o n t r o l l e r   w i l l   s e n d   m e s s a g e s   t o   t h e   A P I   s e r v e r   t h a t   h a v e   u s e f u l   s i d e   e f f e c t s .   Y o u ' l l   s e e   e x a m p l e s   o f   t h i s   b e l o w .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/controller/",
    "id": "k8s_00671_section_2_14955"
  },
  {
    "question": "What is Control via API server?",
    "answer": "T h e   J o b   c o n t r o l l e r   i s   a n   e x a m p l e   o f   a   K u b e r n e t e s   b u i l t - i n   c o n t r o l l e r .   B u i l t - i n   c o n t r o l l e r s   m a n a g e   s t a t e   b y   i n t e r a c t i n g   w i t h   t h e   c l u s t e r   A P I   s e r v e r .   J o b   i s   a   K u b e r n e t e s   r e s o u r c e   t h a t   r u n s   a   P o d ,   o r   p e r h a p s   s e v e r a l   P o d s ,   t o   c a r r y   o u t   a   t a s k   a n d   t h e n   s t o p .   ( O n c e   s c h e d u l e d ,   P o d   o b j e c t s   b e c o m e   p a r t   o f   t h e   d e s i r e d   s t a t e   f o r   a   k u b e l e t ) .   W h e n   t h e   J o b   c o n t r o l l e r   s e e s   a   n e w   t a s k   i t   m a k e s   s u r e   t h a t ,   s o m e w h e r e   i n   y o u r   c l u s t e r ,   t h e   k u b e l e t s   o n   a   s e t   o f   N o d e s   a r e   r u n n i n g   t h e   r i g h t   n u m b e r   o f   P o d s   t o   g e t   t h e   w o r k   d o n e .   T h e   J o b   c o n t r o l l e r   d o e s   n o t   r u n   a n y   P o d s   o r   c o n t a i n e r s   i t s e l f .   I n s t e a d ,   t h e   J o b   c o n t r o l l e r   t e l l s   t h e   A P I   s e r v e r   t o   c r e a t e   o r   r e m o v e   P o d s .   O t h e r   c o m p o n e n t s   i n   t h e   c o n t r o l   p l a n e   a c t   o n   t h e   n e w   i n f o r m a t i o n   ( t h e r e   a r e   n e w   P o d s   t o   s c h e d u l e   a n d   r u n ) ,   a n d   e v e n t u a l l y   t h e   w o r k   i s   d o n e .   A f t e r   y o u   c r e a t e   a   n e w   J o b ,   t h e   d e s i r e d   s t a t e   i s   f o r   t h a t   J o b   t o   b e   c o m p l e t e d .   T h e   J o b   c o n t r o l l e r   m a k e s   t h e   c u r r e n t   s t a t e   f o r   t h a t   J o b   b e   n e a r e r   t o   y o u r   d e s i r e d   s t a t e :   c r e a t i n g   P o d s   t h a t   d o   t h e   w o r k   y o u   w a n t e d   f o r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/controller/",
    "id": "k8s_00671_section_3_14956"
  },
  {
    "question": "What is Direct control?",
    "answer": "I n   c o n t r a s t   w i t h   J o b ,   s o m e   c o n t r o l l e r s   n e e d   t o   m a k e   c h a n g e s   t o   t h i n g s   o u t s i d e   o f   y o u r   c l u s t e r .   F o r   e x a m p l e ,   i f   y o u   u s e   a   c o n t r o l   l o o p   t o   m a k e   s u r e   t h e r e   a r e   e n o u g h   N o d e s   i n   y o u r   c l u s t e r ,   t h e n   t h a t   c o n t r o l l e r   n e e d s   s o m e t h i n g   o u t s i d e   t h e   c u r r e n t   c l u s t e r   t o   s e t   u p   n e w   N o d e s   w h e n   n e e d e d .   C o n t r o l l e r s   t h a t   i n t e r a c t   w i t h   e x t e r n a l   s t a t e   f i n d   t h e i r   d e s i r e d   s t a t e   f r o m   t h e   A P I   s e r v e r ,   t h e n   c o m m u n i c a t e   d i r e c t l y   w i t h   a n   e x t e r n a l   s y s t e m   t o   b r i n g   t h e   c u r r e n t   s t a t e   c l o s e r   i n   l i n e .   ( T h e r e   a c t u a l l y   i s   a   c o n t r o l l e r   t h a t   h o r i z o n t a l l y   s c a l e s   t h e   n o d e s   i n   y o u r   c l u s t e r . )   T h e   i m p o r t a n t   p o i n t   h e r e   i s   t h a t   t h e   c o n t r o l l e r   m a k e s   s o m e   c h a n g e s   t o   b r i n g   a b o u t   y o u r   d e s i r e d   s t a t e ,   a n d   t h e n   r e p o r t s   t h e   c u r r e n t   s t a t e   b a c k   t o   y o u r   c l u s t e r ' s   A P I   s e r v e r .   O t h e r   c o n t r o l   l o o p s   c a n   o b s e r v e   t h a t   r e p o r t e d   d a t a   a n d   t a k e   t h e i r   o w n   a c t i o n s .   I n   t h e   t h e r m o s t a t   e x a m p l e ,   i f   t h e   r o o m   i s   v e r y   c o l d   t h e n   a   d i f f e r e n t   c o n t r o l l e r   m i g h t   a l s o   t u r n   o n   a   f r o s t   p r o t e c t i o n   h e a t e r .   W i t h   K u b e r n e t e s   c l u s t e r s ,   t h e   c o n t r o l   p l a n e   i n d i r e c t l y   w o r k s   w i t h   I P ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/controller/",
    "id": "k8s_00671_section_3_14957"
  },
  {
    "question": "What is Desired versus current state?",
    "answer": "K u b e r n e t e s   t a k e s   a   c l o u d - n a t i v e   v i e w   o f   s y s t e m s ,   a n d   i s   a b l e   t o   h a n d l e   c o n s t a n t   c h a n g e .   Y o u r   c l u s t e r   c o u l d   b e   c h a n g i n g   a t   a n y   p o i n t   a s   w o r k   h a p p e n s   a n d   c o n t r o l   l o o p s   a u t o m a t i c a l l y   f i x   f a i l u r e s .   T h i s   m e a n s   t h a t ,   p o t e n t i a l l y ,   y o u r   c l u s t e r   n e v e r   r e a c h e s   a   s t a b l e   s t a t e .   A s   l o n g   a s   t h e   c o n t r o l l e r s   f o r   y o u r   c l u s t e r   a r e   r u n n i n g   a n d   a b l e   t o   m a k e   u s e f u l   c h a n g e s ,   i t   d o e s n ' t   m a t t e r   i f   t h e   o v e r a l l   s t a t e   i s   s t a b l e   o r   n o t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/controller/",
    "id": "k8s_00671_section_2_14958"
  },
  {
    "question": "What is Design?",
    "answer": "A s   a   t e n e t   o f   i t s   d e s i g n ,   K u b e r n e t e s   u s e s   l o t s   o f   c o n t r o l l e r s   t h a t   e a c h   m a n a g e   a   p a r t i c u l a r   a s p e c t   o f   c l u s t e r   s t a t e .   M o s t   c o m m o n l y ,   a   p a r t i c u l a r   c o n t r o l   l o o p   ( c o n t r o l l e r )   u s e s   o n e   k i n d   o f   r e s o u r c e   a s   i t s   d e s i r e d   s t a t e ,   a n d   h a s   a   d i f f e r e n t   k i n d   o f   r e s o u r c e   t h a t   i t   m a n a g e s   t o   m a k e   t h a t   d e s i r e d   s t a t e   h a p p e n .   F o r   e x a m p l e ,   a   c o n t r o l l e r   f o r   J o b s   t r a c k s   J o b   o b j e c t s   ( t o   d i s c o v e r   n e w   w o r k )   a n d   P o d   o b j e c t s   ( t o   r u n   t h e   J o b s ,   a n d   t h e n   t o   s e e   w h e n   t h e   w o r k   i s   f i n i s h e d ) .   I n   t h i s   c a s e   s o m e t h i n g   e l s e   c r e a t e s   t h e   J o b s ,   w h e r e a s   t h e   J o b   c o n t r o l l e r   c r e a t e s   P o d s .   I t ' s   u s e f u l   t o   h a v e   s i m p l e   c o n t r o l l e r s   r a t h e r   t h a n   o n e ,   m o n o l i t h i c   s e t   o f   c o n t r o l   l o o p s   t h a t   a r e   i n t e r l i n k e d .   C o n t r o l l e r s   c a n   f a i l ,   s o   K u b e r n e t e s   i s   d e s i g n e d   t o   a l l o w   f o r   t h a t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/controller/",
    "id": "k8s_00671_section_2_14959"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e r e   c a n   b e   s e v e r a l   c o n t r o l l e r s   t h a t   c r e a t e   o r   u p d a t e   t h e   s a m e   k i n d   o f   o b j e c t .   B e h i n d   t h e   s c e n e s ,   K u b e r n e t e s   c o n t r o l l e r s   m a k e   s u r e   t h a t   t h e y   o n l y   p a y   a t t e n t i o n   t o   t h e   r e s o u r c e s   l i n k e d   t o   t h e i r   c o n t r o l l i n g   r e s o u r c e .   F o r   e x a m p l e ,   y o u   c a n   h a v e   D e p l o y m e n t s   a n d   J o b s ;   t h e s e   b o t h   c r e a t e   P o d s .   T h e   J o b   c o n t r o l l e r   d o e s   n o t   d e l e t e   t h e   P o d s   t h a t   y o u r   D e p l o y m e n t   c r e a t e d ,   b e c a u s e   t h e r e   i s   i n f o r m a t i o n   ( l a b e l s )   t h e   c o n t r o l l e r s   c a n   u s e   t o   t e l l   t h o s e   P o d s   a p a r t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/controller/",
    "id": "k8s_00671_section_4_14960"
  },
  {
    "question": "What is Ways of running controllers?",
    "answer": "K u b e r n e t e s   c o m e s   w i t h   a   s e t   o f   b u i l t - i n   c o n t r o l l e r s   t h a t   r u n   i n s i d e   t h e   k u b e - c o n t r o l l e r - m a n a g e r .   T h e s e   b u i l t - i n   c o n t r o l l e r s   p r o v i d e   i m p o r t a n t   c o r e   b e h a v i o r s .   T h e   D e p l o y m e n t   c o n t r o l l e r   a n d   J o b   c o n t r o l l e r   a r e   e x a m p l e s   o f   c o n t r o l l e r s   t h a t   c o m e   a s   p a r t   o f   K u b e r n e t e s   i t s e l f   ( \" b u i l t - i n \"   c o n t r o l l e r s ) .   K u b e r n e t e s   l e t s   y o u   r u n   a   r e s i l i e n t   c o n t r o l   p l a n e ,   s o   t h a t   i f   a n y   o f   t h e   b u i l t - i n   c o n t r o l l e r s   w e r e   t o   f a i l ,   a n o t h e r   p a r t   o f   t h e   c o n t r o l   p l a n e   w i l l   t a k e   o v e r   t h e   w o r k .   Y o u   c a n   f i n d   c o n t r o l l e r s   t h a t   r u n   o u t s i d e   t h e   c o n t r o l   p l a n e ,   t o   e x t e n d   K u b e r n e t e s .   O r ,   i f   y o u   w a n t ,   y o u   c a n   w r i t e   a   n e w   c o n t r o l l e r   y o u r s e l f .   Y o u   c a n   r u n   y o u r   o w n   c o n t r o l l e r   a s   a   s e t   o f   P o d s ,   o r   e x t e r n a l l y   t o   K u b e r n e t e s .   W h a t   f i t s   b e s t   w i l l   d e p e n d   o n   w h a t   t h a t   p a r t i c u l a r   c o n t r o l l e r   d o e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/controller/",
    "id": "k8s_00671_section_2_14961"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   t h e   K u b e r n e t e s   c o n t r o l   p l a n e D i s c o v e r   s o m e   o f   t h e   b a s i c   K u b e r n e t e s   o b j e c t s L e a r n   m o r e   a b o u t   t h e   K u b e r n e t e s   A P I I f   y o u   w a n t   t o   w r i t e   y o u r   o w n   c o n t r o l l e r ,   s e e   K u b e r n e t e s   e x t e n s i o n   p a t t e r n s   a n d   t h e   s a m p l e - c o n t r o l l e r   r e p o s i t o r y .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/architecture/controller/",
    "id": "k8s_00671_section_2_14962"
  },
  {
    "question": "What is Namespaces?",
    "answer": "NamespacesIn Kubernetes, namespaces provide a mechanism for isolating groups of resources within a single cluster. Names of resources need to be unique within a namespace, but not across namespaces. Namespace-based scoping is applicable only for namespaced objects (e.g. Deployments, Services, etc.) and not for cluster-wide objects (e.g. StorageClass, Nodes, PersistentVolumes, etc.).When to Use Multiple NamespacesNamespaces are intended for use in environments with many users spread across multiple teams, or projects. For clusters with a few to tens of users, you should not need to create or think about namespaces at all. Start using namespaces when you need the features they provide.Namespaces provide a scope for names. Names of resources need to be unique within a namespace, but not across namespaces. Namespaces cannot be nested inside one another and each Kubernetes resource can only be in one namespace.Namespaces are a way to divide cluster resources between multiple users (via resource quota).It is not necessary to use multiple namespaces to separate slightly different resources, such as different versions of the same software: use labels to distinguish resources within the same namespace.Note:For a production cluster, consider not using the default namespace. Instead, make other namespaces and use those.Initial namespacesKubernetes starts with four initial namespaces:defaultKubernetes includes this namespace so that you can start using your new cluster without first creating a namespace.kube-node-leaseThis namespace holds Lease objects associated with each node. Node leases allow the kubelet to send heartbeats so that the control plane can detect node failure.kube-publicThis namespace is readable by all clients (including those not authenticated). This namespace is mostly reserved for cluster usage, in case that some resources should be visible and readable publicly throughout the whole cluster. The public aspect of this namespace is only a convention, not a requirement.kube-systemThe namespace for objects created by the Kubernetes system.Working with NamespacesCreation and deletion of namespaces are described in the Admin Guide documentation for namespaces.Note:Avoid creating namespaces with the prefix kube-, since it is reserved for Kubernetes system namespaces.Viewing namespacesYou can list the current namespaces in a cluster using:kubectl get namespace NAME STATUS AGE default Active 1d kube-node-lease Active 1d kube-public Active 1d kube-system Active 1d Setting the namespace for a requestTo set the namespace for a current request, use the --namespace flag.For example:kubectl run nginx --image=nginx --namespace=<insert-namespace-name-here> kubectl get pods --namespace=<insert-namespace-name-here> Setting the namespace preferenceYou can permanently save the namespace for all subsequent kubectl commands in that context.kubectl config set-context --current --namespace=<insert-namespace-name-here> # Validate it kubectl config view --minify |",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces",
    "id": "k8s_00672_qa_14963"
  },
  {
    "question": "How does Namespaces work?",
    "answer": "NamespacesIn Kubernetes, namespaces provide a mechanism for isolating groups of resources within a single cluster. Names of resources need to be unique within a namespace, but not across namespaces. Namespace-based scoping is applicable only for namespaced objects (e.g. Deployments, Services, etc.) and not for cluster-wide objects (e.g. StorageClass, Nodes, PersistentVolumes, etc.).When to Use Multiple NamespacesNamespaces are intended for use in environments with many users spread across multiple teams, or projects. For clusters with a few to tens of users, you should not need to create or think about namespaces at all. Start using namespaces when you need the features they provide.Namespaces provide a scope for names. Names of resources need to be unique within a namespace, but not across namespaces. Namespaces cannot be nested inside one another and each Kubernetes resource can only be in one namespace.Namespaces are a way to divide cluster resources between multiple users (via resource quota).It is not necessary to use multiple namespaces to separate slightly different resources, such as different versions of the same software: use labels to distinguish resources within the same namespace.Note:For a production cluster, consider not using the default namespace. Instead, make other namespaces and use those.Initial namespacesKubernetes starts with four initial namespaces:defaultKubernetes includes this namespace so that you can start using your new cluster without first creating a namespace.kube-node-leaseThis namespace holds Lease objects associated with each node. Node leases allow the kubelet to send heartbeats so that the control plane can detect node failure.kube-publicThis namespace is readable by all clients (including those not authenticated). This namespace is mostly reserved for cluster usage, in case that some resources should be visible and readable publicly throughout the whole cluster. The public aspect of this namespace is only a convention, not a requirement.kube-systemThe namespace for objects created by the Kubernetes system.Working with NamespacesCreation and deletion of namespaces are described in the Admin Guide documentation for namespaces.Note:Avoid creating namespaces with the prefix kube-, since it is reserved for Kubernetes system namespaces.Viewing namespacesYou can list the current namespaces in a cluster using:kubectl get namespace NAME STATUS AGE default Active 1d kube-node-lease Active 1d kube-public Active 1d kube-system Active 1d Setting the namespace for a requestTo set the namespace for a current request, use the --namespace flag.For example:kubectl run nginx --image=nginx --namespace=<insert-namespace-name-here> kubectl get pods --namespace=<insert-namespace-name-here> Setting the namespace preferenceYou can permanently save the namespace for all subsequent kubectl commands in that context.kubectl config set-context --current --namespace=<insert-namespace-name-here> # Validate it kubectl config view --minify |",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces",
    "id": "k8s_00672_qa_14964"
  },
  {
    "question": "When would you use Namespaces?",
    "answer": "NamespacesIn Kubernetes, namespaces provide a mechanism for isolating groups of resources within a single cluster. Names of resources need to be unique within a namespace, but not across namespaces. Namespace-based scoping is applicable only for namespaced objects (e.g. Deployments, Services, etc.) and not for cluster-wide objects (e.g. StorageClass, Nodes, PersistentVolumes, etc.).When to Use Multiple NamespacesNamespaces are intended for use in environments with many users spread across multiple teams, or projects. For clusters with a few to tens of users, you should not need to create or think about namespaces at all. Start using namespaces when you need the features they provide.Namespaces provide a scope for names. Names of resources need to be unique within a namespace, but not across namespaces. Namespaces cannot be nested inside one another and each Kubernetes resource can only be in one namespace.Namespaces are a way to divide cluster resources between multiple users (via resource quota).It is not necessary to use multiple namespaces to separate slightly different resources, such as different versions of the same software: use labels to distinguish resources within the same namespace.Note:For a production cluster, consider not using the default namespace. Instead, make other namespaces and use those.Initial namespacesKubernetes starts with four initial namespaces:defaultKubernetes includes this namespace so that you can start using your new cluster without first creating a namespace.kube-node-leaseThis namespace holds Lease objects associated with each node. Node leases allow the kubelet to send heartbeats so that the control plane can detect node failure.kube-publicThis namespace is readable by all clients (including those not authenticated). This namespace is mostly reserved for cluster usage, in case that some resources should be visible and readable publicly throughout the whole cluster. The public aspect of this namespace is only a convention, not a requirement.kube-systemThe namespace for objects created by the Kubernetes system.Working with NamespacesCreation and deletion of namespaces are described in the Admin Guide documentation for namespaces.Note:Avoid creating namespaces with the prefix kube-, since it is reserved for Kubernetes system namespaces.Viewing namespacesYou can list the current namespaces in a cluster using:kubectl get namespace NAME STATUS AGE default Active 1d kube-node-lease Active 1d kube-public Active 1d kube-system Active 1d Setting the namespace for a requestTo set the namespace for a current request, use the --namespace flag.For example:kubectl run nginx --image=nginx --namespace=<insert-namespace-name-here> kubectl get pods --namespace=<insert-namespace-name-here> Setting the namespace preferenceYou can permanently save the namespace for all subsequent kubectl commands in that context.kubectl config set-context --current --namespace=<insert-namespace-name-here> # Validate it kubectl config view --minify |",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces",
    "id": "k8s_00672_qa_14965"
  },
  {
    "question": "What are the benefits of Namespaces?",
    "answer": "NamespacesIn Kubernetes, namespaces provide a mechanism for isolating groups of resources within a single cluster. Names of resources need to be unique within a namespace, but not across namespaces. Namespace-based scoping is applicable only for namespaced objects (e.g. Deployments, Services, etc.) and not for cluster-wide objects (e.g. StorageClass, Nodes, PersistentVolumes, etc.).When to Use Multiple NamespacesNamespaces are intended for use in environments with many users spread across multiple teams, or projects. For clusters with a few to tens of users, you should not need to create or think about namespaces at all. Start using namespaces when you need the features they provide.Namespaces provide a scope for names. Names of resources need to be unique within a namespace, but not across namespaces. Namespaces cannot be nested inside one another and each Kubernetes resource can only be in one namespace.Namespaces are a way to divide cluster resources between multiple users (via resource quota).It is not necessary to use multiple namespaces to separate slightly different resources, such as different versions of the same software: use labels to distinguish resources within the same namespace.Note:For a production cluster, consider not using the default namespace. Instead, make other namespaces and use those.Initial namespacesKubernetes starts with four initial namespaces:defaultKubernetes includes this namespace so that you can start using your new cluster without first creating a namespace.kube-node-leaseThis namespace holds Lease objects associated with each node. Node leases allow the kubelet to send heartbeats so that the control plane can detect node failure.kube-publicThis namespace is readable by all clients (including those not authenticated). This namespace is mostly reserved for cluster usage, in case that some resources should be visible and readable publicly throughout the whole cluster. The public aspect of this namespace is only a convention, not a requirement.kube-systemThe namespace for objects created by the Kubernetes system.Working with NamespacesCreation and deletion of namespaces are described in the Admin Guide documentation for namespaces.Note:Avoid creating namespaces with the prefix kube-, since it is reserved for Kubernetes system namespaces.Viewing namespacesYou can list the current namespaces in a cluster using:kubectl get namespace NAME STATUS AGE default Active 1d kube-node-lease Active 1d kube-public Active 1d kube-system Active 1d Setting the namespace for a requestTo set the namespace for a current request, use the --namespace flag.For example:kubectl run nginx --image=nginx --namespace=<insert-namespace-name-here> kubectl get pods --namespace=<insert-namespace-name-here> Setting the namespace preferenceYou can permanently save the namespace for all subsequent kubectl commands in that context.kubectl config set-context --current --namespace=<insert-namespace-name-here> # Validate it kubectl config view --minify |",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces",
    "id": "k8s_00672_qa_14966"
  },
  {
    "question": "What is Namespaces?",
    "answer": "I n   K u b e r n e t e s ,   n a m e s p a c e s   p r o v i d e   a   m e c h a n i s m   f o r   i s o l a t i n g   g r o u p s   o f   r e s o u r c e s   w i t h i n   a   s i n g l e   c l u s t e r .   N a m e s   o f   r e s o u r c e s   n e e d   t o   b e   u n i q u e   w i t h i n   a   n a m e s p a c e ,   b u t   n o t   a c r o s s   n a m e s p a c e s .   N a m e s p a c e - b a s e d   s c o p i n g   i s   a p p l i c a b l e   o n l y   f o r   n a m e s p a c e d   o b j e c t s   ( e . g .   D e p l o y m e n t s ,   S e r v i c e s ,   e t c . )   a n d   n o t   f o r   c l u s t e r - w i d e   o b j e c t s   ( e . g .   S t o r a g e C l a s s ,   N o d e s ,   P e r s i s t e n t V o l u m e s ,   e t c . ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces",
    "id": "k8s_00672_section_1_14967"
  },
  {
    "question": "What is When to Use Multiple Namespaces?",
    "answer": "N a m e s p a c e s   a r e   i n t e n d e d   f o r   u s e   i n   e n v i r o n m e n t s   w i t h   m a n y   u s e r s   s p r e a d   a c r o s s   m u l t i p l e   t e a m s ,   o r   p r o j e c t s .   F o r   c l u s t e r s   w i t h   a   f e w   t o   t e n s   o f   u s e r s ,   y o u   s h o u l d   n o t   n e e d   t o   c r e a t e   o r   t h i n k   a b o u t   n a m e s p a c e s   a t   a l l .   S t a r t   u s i n g   n a m e s p a c e s   w h e n   y o u   n e e d   t h e   f e a t u r e s   t h e y   p r o v i d e .   N a m e s p a c e s   p r o v i d e   a   s c o p e   f o r   n a m e s .   N a m e s   o f   r e s o u r c e s   n e e d   t o   b e   u n i q u e   w i t h i n   a   n a m e s p a c e ,   b u t   n o t   a c r o s s   n a m e s p a c e s .   N a m e s p a c e s   c a n n o t   b e   n e s t e d   i n s i d e   o n e   a n o t h e r   a n d   e a c h   K u b e r n e t e s   r e s o u r c e   c a n   o n l y   b e   i n   o n e   n a m e s p a c e .   N a m e s p a c e s   a r e   a   w a y   t o   d i v i d e   c l u s t e r   r e s o u r c e s   b e t w e e n   m u l t i p l e   u s e r s   ( v i a   r e s o u r c e   q u o t a ) .   I t   i s   n o t   n e c e s s a r y   t o   u s e   m u l t i p l e   n a m e s p a c e s   t o   s e p a r a t e   s l i g h t l y   d i f f e r e n t   r e s o u r c e s ,   s u c h   a s   d i f f e r e n t   v e r s i o n s   o f   t h e   s a m e   s o f t w a r e :   u s e   l a b e l s   t o   d i s t i n g u i s h   r e s o u r c e s   w i t h i n   t h e   s a m e   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces",
    "id": "k8s_00672_section_2_14968"
  },
  {
    "question": "What is Initial namespaces?",
    "answer": "K u b e r n e t e s   s t a r t s   w i t h   f o u r   i n i t i a l   n a m e s p a c e s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces",
    "id": "k8s_00672_section_2_14969"
  },
  {
    "question": "What is Working with Namespaces?",
    "answer": "C r e a t i o n   a n d   d e l e t i o n   o f   n a m e s p a c e s   a r e   d e s c r i b e d   i n   t h e   A d m i n   G u i d e   d o c u m e n t a t i o n   f o r   n a m e s p a c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces",
    "id": "k8s_00672_section_2_14970"
  },
  {
    "question": "What is Viewing namespaces?",
    "answer": "Y o u   c a n   l i s t   t h e   c u r r e n t   n a m e s p a c e s   i n   a   c l u s t e r   u s i n g :   k u b e c t l   g e t   n a m e s p a c e   N A M E   S T A T U S   A G E   d e f a u l t   A c t i v e   1 d   k u b e - n o d e - l e a s e   A c t i v e   1 d   k u b e - p u b l i c   A c t i v e   1 d   k u b e - s y s t e m   A c t i v e   1 d",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces",
    "id": "k8s_00672_section_3_14971"
  },
  {
    "question": "What is Setting the namespace for a request?",
    "answer": "T o   s e t   t h e   n a m e s p a c e   f o r   a   c u r r e n t   r e q u e s t ,   u s e   t h e   - - n a m e s p a c e   f l a g .   F o r   e x a m p l e :   k u b e c t l   r u n   n g i n x   - - i m a g e = n g i n x   - - n a m e s p a c e = < i n s e r t - n a m e s p a c e - n a m e - h e r e >   k u b e c t l   g e t   p o d s   - - n a m e s p a c e = < i n s e r t - n a m e s p a c e - n a m e - h e r e >",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces",
    "id": "k8s_00672_section_3_14972"
  },
  {
    "question": "What is Setting the namespace preference?",
    "answer": "Y o u   c a n   p e r m a n e n t l y   s a v e   t h e   n a m e s p a c e   f o r   a l l   s u b s e q u e n t   k u b e c t l   c o m m a n d s   i n   t h a t   c o n t e x t .   k u b e c t l   c o n f i g   s e t - c o n t e x t   - - c u r r e n t   - - n a m e s p a c e = < i n s e r t - n a m e s p a c e - n a m e - h e r e >   #   V a l i d a t e   i t   k u b e c t l   c o n f i g   v i e w   - - m i n i f y   |   g r e p   n a m e s p a c e :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces",
    "id": "k8s_00672_section_3_14973"
  },
  {
    "question": "What is Namespaces and DNS?",
    "answer": "W h e n   y o u   c r e a t e   a   S e r v i c e ,   i t   c r e a t e s   a   c o r r e s p o n d i n g   D N S   e n t r y .   T h i s   e n t r y   i s   o f   t h e   f o r m   < s e r v i c e - n a m e > . < n a m e s p a c e - n a m e > . s v c . c l u s t e r . l o c a l ,   w h i c h   m e a n s   t h a t   i f   a   c o n t a i n e r   o n l y   u s e s   < s e r v i c e - n a m e > ,   i t   w i l l   r e s o l v e   t o   t h e   s e r v i c e   w h i c h   i s   l o c a l   t o   a   n a m e s p a c e .   T h i s   i s   u s e f u l   f o r   u s i n g   t h e   s a m e   c o n f i g u r a t i o n   a c r o s s   m u l t i p l e   n a m e s p a c e s   s u c h   a s   D e v e l o p m e n t ,   S t a g i n g   a n d   P r o d u c t i o n .   I f   y o u   w a n t   t o   r e a c h   a c r o s s   n a m e s p a c e s ,   y o u   n e e d   t o   u s e   t h e   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N ) .   A s   a   r e s u l t ,   a l l   n a m e s p a c e   n a m e s   m u s t   b e   v a l i d   R F C   1 1 2 3   D N S   l a b e l s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces",
    "id": "k8s_00672_section_2_14974"
  },
  {
    "question": "What is Warning:?",
    "answer": "B y   c r e a t i n g   n a m e s p a c e s   w i t h   t h e   s a m e   n a m e   a s   p u b l i c   t o p - l e v e l   d o m a i n s ,   S e r v i c e s   i n   t h e s e   n a m e s p a c e s   c a n   h a v e   s h o r t   D N S   n a m e s   t h a t   o v e r l a p   w i t h   p u b l i c   D N S   r e c o r d s .   W o r k l o a d s   f r o m   a n y   n a m e s p a c e   p e r f o r m i n g   a   D N S   l o o k u p   w i t h o u t   a   t r a i l i n g   d o t   w i l l   b e   r e d i r e c t e d   t o   t h o s e   s e r v i c e s ,   t a k i n g   p r e c e d e n c e   o v e r   p u b l i c   D N S .   T o   m i t i g a t e   t h i s ,   l i m i t   p r i v i l e g e s   f o r   c r e a t i n g   n a m e s p a c e s   t o   t r u s t e d   u s e r s .   I f   r e q u i r e d ,   y o u   c o u l d   a d d i t i o n a l l y   c o n f i g u r e   t h i r d - p a r t y   s e c u r i t y   c o n t r o l s ,   s u c h   a s   a d m i s s i o n   w e b h o o k s ,   t o   b l o c k   c r e a t i n g   a n y   n a m e s p a c e   w i t h   t h e   n a m e   o f   p u b l i c   T L D s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces",
    "id": "k8s_00672_section_4_14975"
  },
  {
    "question": "What is Not all objects are in a namespace?",
    "answer": "M o s t   K u b e r n e t e s   r e s o u r c e s   ( e . g .   p o d s ,   s e r v i c e s ,   r e p l i c a t i o n   c o n t r o l l e r s ,   a n d   o t h e r s )   a r e   i n   s o m e   n a m e s p a c e s .   H o w e v e r   n a m e s p a c e   r e s o u r c e s   a r e   n o t   t h e m s e l v e s   i n   a   n a m e s p a c e .   A n d   l o w - l e v e l   r e s o u r c e s ,   s u c h   a s   n o d e s   a n d   p e r s i s t e n t V o l u m e s ,   a r e   n o t   i n   a n y   n a m e s p a c e .   T o   s e e   w h i c h   K u b e r n e t e s   r e s o u r c e s   a r e   a n d   a r e n ' t   i n   a   n a m e s p a c e :   #   I n   a   n a m e s p a c e   k u b e c t l   a p i - r e s o u r c e s   - - n a m e s p a c e d = t r u e   #   N o t   i n   a   n a m e s p a c e   k u b e c t l   a p i - r e s o u r c e s   - - n a m e s p a c e d = f a l s e",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces",
    "id": "k8s_00672_section_2_14976"
  },
  {
    "question": "What is Automatic labelling?",
    "answer": "T h e   K u b e r n e t e s   c o n t r o l   p l a n e   s e t s   a n   i m m u t a b l e   l a b e l   k u b e r n e t e s . i o / m e t a d a t a . n a m e   o n   a l l   n a m e s p a c e s .   T h e   v a l u e   o f   t h e   l a b e l   i s   t h e   n a m e s p a c e   n a m e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces",
    "id": "k8s_00672_section_2_14977"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   c r e a t i n g   a   n e w   n a m e s p a c e . L e a r n   m o r e   a b o u t   d e l e t i n g   a   n a m e s p a c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces",
    "id": "k8s_00672_section_2_14978"
  },
  {
    "question": "What is Configure a Pod to Use a Volume for Storage?",
    "answer": "Configure a Pod to Use a Volume for StorageThis page shows how to configure a Pod to use a Volume for storage.A Container's file system lives only as long as the Container does. So when a Container terminates and restarts, filesystem changes are lost. For more consistent storage that is independent of the Container, you can use a Volume. This is especially important for stateful applications, such as key-value stores (such as Redis) and databases.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Configure a volume for a PodIn this exercise, you create a Pod that runs one Container. This Pod has a Volume of type emptyDir that lasts for the life of the Pod, even if the Container terminates and restarts. Here is the configuration file for the Pod:pods/storage/redis.yaml apiVersion: v1 kind: Pod metadata: name: redis spec: containers: - name: redis image: redis volumeMounts: - name: redis-storage mountPath: /data/redis volumes: - name: redis-storage emptyDir: {} Create the Pod:kubectl apply -f https://k8s.io/examples/pods/storage/redis.yaml Verify that the Pod's Container is running, and then watch for changes to the Pod:kubectl get pod redis --watch The output looks like this:NAME READY STATUS RESTARTS AGE redis 1/1 Running 0 13s In another terminal, get a shell to the running Container:kubectl exec -it redis -- /bin/bash In your shell, go to /data/redis, and then create a file:root@redis:/data# cd /data/redis/ root@redis:/data/redis# echo Hello > test-file In your shell, list the running processes:root@redis:/data/redis# apt-get update root@redis:/data/redis# apt-get install procps root@redis:/data/redis# ps aux The output is similar to this:USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND redis 1 0.1 0.1 33308 3828 ? Ssl 00:46 0:00 redis-server *:6379 root 12 0.0 0.0 20228 3020 ? Ss 00:47 0:00 /bin/bash root 15 0.0 0.0 17500 2072 ? R+ 00:48 0:00 ps aux In your shell, kill the Redis process:root@redis:/data/redis# kill <pid> where <pid> is the Redis process ID (PID).In your original terminal, watch for changes to the Redis Pod. Eventually, you will see something like this:NAME READY STATUS RESTARTS AGE redis 1/1 Running 0 13s redis 0/1 Completed 0 6m redis 1/1 Running 1 6m At this point, the Container has terminated and restarted. This is because the Redis Pod has a restartPolicy of Always.Get a shell into the restarted Container:kubectl exec -it redis -- /bin/bash In your shell, go to /data/redis, and verify that test-file is still there.root@redis:/data/redis# cd /data/redis/ root@redis:/data/redis# ls test-file Del",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/",
    "id": "k8s_00673_qa_14979"
  },
  {
    "question": "How does Configure a Pod to Use a Volume for Storage work?",
    "answer": "Configure a Pod to Use a Volume for StorageThis page shows how to configure a Pod to use a Volume for storage.A Container's file system lives only as long as the Container does. So when a Container terminates and restarts, filesystem changes are lost. For more consistent storage that is independent of the Container, you can use a Volume. This is especially important for stateful applications, such as key-value stores (such as Redis) and databases.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Configure a volume for a PodIn this exercise, you create a Pod that runs one Container. This Pod has a Volume of type emptyDir that lasts for the life of the Pod, even if the Container terminates and restarts. Here is the configuration file for the Pod:pods/storage/redis.yaml apiVersion: v1 kind: Pod metadata: name: redis spec: containers: - name: redis image: redis volumeMounts: - name: redis-storage mountPath: /data/redis volumes: - name: redis-storage emptyDir: {} Create the Pod:kubectl apply -f https://k8s.io/examples/pods/storage/redis.yaml Verify that the Pod's Container is running, and then watch for changes to the Pod:kubectl get pod redis --watch The output looks like this:NAME READY STATUS RESTARTS AGE redis 1/1 Running 0 13s In another terminal, get a shell to the running Container:kubectl exec -it redis -- /bin/bash In your shell, go to /data/redis, and then create a file:root@redis:/data# cd /data/redis/ root@redis:/data/redis# echo Hello > test-file In your shell, list the running processes:root@redis:/data/redis# apt-get update root@redis:/data/redis# apt-get install procps root@redis:/data/redis# ps aux The output is similar to this:USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND redis 1 0.1 0.1 33308 3828 ? Ssl 00:46 0:00 redis-server *:6379 root 12 0.0 0.0 20228 3020 ? Ss 00:47 0:00 /bin/bash root 15 0.0 0.0 17500 2072 ? R+ 00:48 0:00 ps aux In your shell, kill the Redis process:root@redis:/data/redis# kill <pid> where <pid> is the Redis process ID (PID).In your original terminal, watch for changes to the Redis Pod. Eventually, you will see something like this:NAME READY STATUS RESTARTS AGE redis 1/1 Running 0 13s redis 0/1 Completed 0 6m redis 1/1 Running 1 6m At this point, the Container has terminated and restarted. This is because the Redis Pod has a restartPolicy of Always.Get a shell into the restarted Container:kubectl exec -it redis -- /bin/bash In your shell, go to /data/redis, and verify that test-file is still there.root@redis:/data/redis# cd /data/redis/ root@redis:/data/redis# ls test-file Del",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/",
    "id": "k8s_00673_qa_14980"
  },
  {
    "question": "When would you use Configure a Pod to Use a Volume for Storage?",
    "answer": "Configure a Pod to Use a Volume for StorageThis page shows how to configure a Pod to use a Volume for storage.A Container's file system lives only as long as the Container does. So when a Container terminates and restarts, filesystem changes are lost. For more consistent storage that is independent of the Container, you can use a Volume. This is especially important for stateful applications, such as key-value stores (such as Redis) and databases.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Configure a volume for a PodIn this exercise, you create a Pod that runs one Container. This Pod has a Volume of type emptyDir that lasts for the life of the Pod, even if the Container terminates and restarts. Here is the configuration file for the Pod:pods/storage/redis.yaml apiVersion: v1 kind: Pod metadata: name: redis spec: containers: - name: redis image: redis volumeMounts: - name: redis-storage mountPath: /data/redis volumes: - name: redis-storage emptyDir: {} Create the Pod:kubectl apply -f https://k8s.io/examples/pods/storage/redis.yaml Verify that the Pod's Container is running, and then watch for changes to the Pod:kubectl get pod redis --watch The output looks like this:NAME READY STATUS RESTARTS AGE redis 1/1 Running 0 13s In another terminal, get a shell to the running Container:kubectl exec -it redis -- /bin/bash In your shell, go to /data/redis, and then create a file:root@redis:/data# cd /data/redis/ root@redis:/data/redis# echo Hello > test-file In your shell, list the running processes:root@redis:/data/redis# apt-get update root@redis:/data/redis# apt-get install procps root@redis:/data/redis# ps aux The output is similar to this:USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND redis 1 0.1 0.1 33308 3828 ? Ssl 00:46 0:00 redis-server *:6379 root 12 0.0 0.0 20228 3020 ? Ss 00:47 0:00 /bin/bash root 15 0.0 0.0 17500 2072 ? R+ 00:48 0:00 ps aux In your shell, kill the Redis process:root@redis:/data/redis# kill <pid> where <pid> is the Redis process ID (PID).In your original terminal, watch for changes to the Redis Pod. Eventually, you will see something like this:NAME READY STATUS RESTARTS AGE redis 1/1 Running 0 13s redis 0/1 Completed 0 6m redis 1/1 Running 1 6m At this point, the Container has terminated and restarted. This is because the Redis Pod has a restartPolicy of Always.Get a shell into the restarted Container:kubectl exec -it redis -- /bin/bash In your shell, go to /data/redis, and verify that test-file is still there.root@redis:/data/redis# cd /data/redis/ root@redis:/data/redis# ls test-file Del",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/",
    "id": "k8s_00673_qa_14981"
  },
  {
    "question": "What are the benefits of Configure a Pod to Use a Volume for Storage?",
    "answer": "Configure a Pod to Use a Volume for StorageThis page shows how to configure a Pod to use a Volume for storage.A Container's file system lives only as long as the Container does. So when a Container terminates and restarts, filesystem changes are lost. For more consistent storage that is independent of the Container, you can use a Volume. This is especially important for stateful applications, such as key-value stores (such as Redis) and databases.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Configure a volume for a PodIn this exercise, you create a Pod that runs one Container. This Pod has a Volume of type emptyDir that lasts for the life of the Pod, even if the Container terminates and restarts. Here is the configuration file for the Pod:pods/storage/redis.yaml apiVersion: v1 kind: Pod metadata: name: redis spec: containers: - name: redis image: redis volumeMounts: - name: redis-storage mountPath: /data/redis volumes: - name: redis-storage emptyDir: {} Create the Pod:kubectl apply -f https://k8s.io/examples/pods/storage/redis.yaml Verify that the Pod's Container is running, and then watch for changes to the Pod:kubectl get pod redis --watch The output looks like this:NAME READY STATUS RESTARTS AGE redis 1/1 Running 0 13s In another terminal, get a shell to the running Container:kubectl exec -it redis -- /bin/bash In your shell, go to /data/redis, and then create a file:root@redis:/data# cd /data/redis/ root@redis:/data/redis# echo Hello > test-file In your shell, list the running processes:root@redis:/data/redis# apt-get update root@redis:/data/redis# apt-get install procps root@redis:/data/redis# ps aux The output is similar to this:USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND redis 1 0.1 0.1 33308 3828 ? Ssl 00:46 0:00 redis-server *:6379 root 12 0.0 0.0 20228 3020 ? Ss 00:47 0:00 /bin/bash root 15 0.0 0.0 17500 2072 ? R+ 00:48 0:00 ps aux In your shell, kill the Redis process:root@redis:/data/redis# kill <pid> where <pid> is the Redis process ID (PID).In your original terminal, watch for changes to the Redis Pod. Eventually, you will see something like this:NAME READY STATUS RESTARTS AGE redis 1/1 Running 0 13s redis 0/1 Completed 0 6m redis 1/1 Running 1 6m At this point, the Container has terminated and restarted. This is because the Redis Pod has a restartPolicy of Always.Get a shell into the restarted Container:kubectl exec -it redis -- /bin/bash In your shell, go to /data/redis, and verify that test-file is still there.root@redis:/data/redis# cd /data/redis/ root@redis:/data/redis# ls test-file Del",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/",
    "id": "k8s_00673_qa_14982"
  },
  {
    "question": "What is Configure a Pod to Use a Volume for Storage?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   a   P o d   t o   u s e   a   V o l u m e   f o r   s t o r a g e .   A   C o n t a i n e r ' s   f i l e   s y s t e m   l i v e s   o n l y   a s   l o n g   a s   t h e   C o n t a i n e r   d o e s .   S o   w h e n   a   C o n t a i n e r   t e r m i n a t e s   a n d   r e s t a r t s ,   f i l e s y s t e m   c h a n g e s   a r e   l o s t .   F o r   m o r e   c o n s i s t e n t   s t o r a g e   t h a t   i s   i n d e p e n d e n t   o f   t h e   C o n t a i n e r ,   y o u   c a n   u s e   a   V o l u m e .   T h i s   i s   e s p e c i a l l y   i m p o r t a n t   f o r   s t a t e f u l   a p p l i c a t i o n s ,   s u c h   a s   k e y - v a l u e   s t o r e s   ( s u c h   a s   R e d i s )   a n d   d a t a b a s e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/",
    "id": "k8s_00673_section_1_14983"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/",
    "id": "k8s_00673_section_2_14984"
  },
  {
    "question": "What is Configure a volume for a Pod?",
    "answer": "I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   r u n s   o n e   C o n t a i n e r .   T h i s   P o d   h a s   a   V o l u m e   o f   t y p e   e m p t y D i r   t h a t   l a s t s   f o r   t h e   l i f e   o f   t h e   P o d ,   e v e n   i f   t h e   C o n t a i n e r   t e r m i n a t e s   a n d   r e s t a r t s .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   r e d i s   s p e c :   c o n t a i n e r s :   -   n a m e :   r e d i s   i m a g e :   r e d i s   v o l u m e M o u n t s :   -   n a m e :   r e d i s - s t o r a g e   m o u n t P a t h :   / d a t a / r e d i s   v o l u m e s :   -   n a m e :   r e d i s - s t o r a g e   e m p t y D i r :   { }   C r e a t e   t h e   P o d : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s t o r a g e / r e d i s . y a m l   V e r i f y   t h a t   t h e   P o d ' s   C o n t a i n e r   i s   r u n n i n g ,   a n d   t h e n   w a t c h   f o r   c h a n g e s   t o   t h e   P o d : k u b e c t l   g e t   p o d   r e d i s   - - w a t c h   T h e   o u t p u t   l o o k s   l i k e   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   r e d i s   1 / 1   R u n n i n g   0   1 3 s   I n   a n o t h e r   t e r m i n a l ,   g e t   a   s h e l l   t o   t h e   r u n n i n g   C o n t a i n e r : k u b e c t l   e x e c   - i t   r e d i s   - -   / b i n / b a s h   I n   y o u r   s h e l l ,   g o   t o   / d a t a / r e d i s ,   a n d   t h e n   c r e a t e   a   f i l e : r o o t @ r e d i s : / d a t a #   c d   / d a t a / r e d i s /   r o o t @ r e d i s : / d a t a / r e d i s #   e c h o   H e l l o   >   t e s t - f i l e   I n   y o u r   s h e l l ,   l i s t   t h e   r u n n i n g   p r o c e s s e s : r o o t @ r e d i s : / d a t a / r e d i s #   a p t - g e t ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/",
    "id": "k8s_00673_section_2_14985"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   V o l u m e . S e e   P o d . I n   a d d i t i o n   t o   t h e   l o c a l   d i s k   s t o r a g e   p r o v i d e d   b y   e m p t y D i r ,   K u b e r n e t e s   s u p p o r t s   m a n y   d i f f e r e n t   n e t w o r k - a t t a c h e d   s t o r a g e   s o l u t i o n s ,   i n c l u d i n g   P D   o n   G C E   a n d   E B S   o n   E C 2 ,   w h i c h   a r e   p r e f e r r e d   f o r   c r i t i c a l   d a t a   a n d   w i l l   h a n d l e   d e t a i l s   s u c h   a s   m o u n t i n g   a n d   u n m o u n t i n g   t h e   d e v i c e s   o n   t h e   n o d e s .   S e e   V o l u m e s   f o r   m o r e   d e t a i l s .   S e e   V o l u m e .   S e e   P o d .   I n   a d d i t i o n   t o   t h e   l o c a l   d i s k   s t o r a g e   p r o v i d e d   b y   e m p t y D i r ,   K u b e r n e t e s   s u p p o r t s   m a n y   d i f f e r e n t   n e t w o r k - a t t a c h e d   s t o r a g e   s o l u t i o n s ,   i n c l u d i n g   P D   o n   G C E   a n d   E B S   o n   E C 2 ,   w h i c h   a r e   p r e f e r r e d   f o r   c r i t i c a l   d a t a   a n d   w i l l   h a n d l e   d e t a i l s   s u c h   a s   m o u n t i n g   a n d   u n m o u n t i n g   t h e   d e v i c e s   o n   t h e   n o d e s .   S e e   V o l u m e s   f o r   m o r e   d e t a i l s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/",
    "id": "k8s_00673_section_2_14986"
  },
  {
    "question": "What is Developing and debugging services locally using telepresence?",
    "answer": "Developing and debugging services locally using telepresenceNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Kubernetes applications usually consist of multiple, separate services, each running in its own container. Developing and debugging these services on a remote Kubernetes cluster can be cumbersome, requiring you to get a shell on a running container in order to run debugging tools.telepresence is a tool to ease the process of developing and debugging services locally while proxying the service to a remote Kubernetes cluster. Using telepresence allows you to use custom tools, such as a debugger and IDE, for a local service and provides the service full access to ConfigMap, secrets, and the services running on the remote cluster.This document describes using telepresence to develop and debug services running on a remote cluster locally.Before you beginKubernetes cluster is installedkubectl is configured to communicate with the clusterTelepresence is installedConnecting your local machine to a remote Kubernetes clusterAfter installing telepresence, run telepresence connect to launch its Daemon and connect your local workstation to the cluster.$ telepresence connect Launching Telepresence Daemon ... Connected to context default (https://<cluster public IP>) You can curl services using the Kubernetes syntax e.g. curl -ik https://kubernetes.defaultDeveloping or debugging an existing serviceWhen developing an application on Kubernetes, you typically program or debug a single service. The service might require access to other services for testing and debugging. One option is to use the continuous deployment pipeline, but even the fastest deployment pipeline introduces a delay in the program or debug cycle.Use the telepresence intercept $SERVICE_NAME --port $LOCAL_PORT:$REMOTE_PORT command to create an \"intercept\" for rerouting remote service traffic.Where:$SERVICE_NAME is the name of your local service$LOCAL_PORT is the port that your service is running on your local workstationAnd $REMOTE_PORT is the port your service listens to in the clusterRunning this command tells Telepresence to send remote traffic to your local service instead of the service in the remote Kubernetes cluster. Make edits to your service source code locally, save, and see the corresponding changes when accessing your remote application take effect immediately. You can also run your local service using a debugger or any other local development tool.How does Telepresence work?Telepresence installs a traffic-agent sidecar next to your existing application's container running in the remote cluster. It then captures all traffic requests going into the Pod, and instead of forwarding this to the application in the remote cluster, it ro",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/local-debugging/",
    "id": "k8s_00674_qa_14987"
  },
  {
    "question": "How does Developing and debugging services locally using telepresence work?",
    "answer": "Developing and debugging services locally using telepresenceNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Kubernetes applications usually consist of multiple, separate services, each running in its own container. Developing and debugging these services on a remote Kubernetes cluster can be cumbersome, requiring you to get a shell on a running container in order to run debugging tools.telepresence is a tool to ease the process of developing and debugging services locally while proxying the service to a remote Kubernetes cluster. Using telepresence allows you to use custom tools, such as a debugger and IDE, for a local service and provides the service full access to ConfigMap, secrets, and the services running on the remote cluster.This document describes using telepresence to develop and debug services running on a remote cluster locally.Before you beginKubernetes cluster is installedkubectl is configured to communicate with the clusterTelepresence is installedConnecting your local machine to a remote Kubernetes clusterAfter installing telepresence, run telepresence connect to launch its Daemon and connect your local workstation to the cluster.$ telepresence connect Launching Telepresence Daemon ... Connected to context default (https://<cluster public IP>) You can curl services using the Kubernetes syntax e.g. curl -ik https://kubernetes.defaultDeveloping or debugging an existing serviceWhen developing an application on Kubernetes, you typically program or debug a single service. The service might require access to other services for testing and debugging. One option is to use the continuous deployment pipeline, but even the fastest deployment pipeline introduces a delay in the program or debug cycle.Use the telepresence intercept $SERVICE_NAME --port $LOCAL_PORT:$REMOTE_PORT command to create an \"intercept\" for rerouting remote service traffic.Where:$SERVICE_NAME is the name of your local service$LOCAL_PORT is the port that your service is running on your local workstationAnd $REMOTE_PORT is the port your service listens to in the clusterRunning this command tells Telepresence to send remote traffic to your local service instead of the service in the remote Kubernetes cluster. Make edits to your service source code locally, save, and see the corresponding changes when accessing your remote application take effect immediately. You can also run your local service using a debugger or any other local development tool.How does Telepresence work?Telepresence installs a traffic-agent sidecar next to your existing application's container running in the remote cluster. It then captures all traffic requests going into the Pod, and instead of forwarding this to the application in the remote cluster, it ro",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/local-debugging/",
    "id": "k8s_00674_qa_14988"
  },
  {
    "question": "When would you use Developing and debugging services locally using telepresence?",
    "answer": "Developing and debugging services locally using telepresenceNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Kubernetes applications usually consist of multiple, separate services, each running in its own container. Developing and debugging these services on a remote Kubernetes cluster can be cumbersome, requiring you to get a shell on a running container in order to run debugging tools.telepresence is a tool to ease the process of developing and debugging services locally while proxying the service to a remote Kubernetes cluster. Using telepresence allows you to use custom tools, such as a debugger and IDE, for a local service and provides the service full access to ConfigMap, secrets, and the services running on the remote cluster.This document describes using telepresence to develop and debug services running on a remote cluster locally.Before you beginKubernetes cluster is installedkubectl is configured to communicate with the clusterTelepresence is installedConnecting your local machine to a remote Kubernetes clusterAfter installing telepresence, run telepresence connect to launch its Daemon and connect your local workstation to the cluster.$ telepresence connect Launching Telepresence Daemon ... Connected to context default (https://<cluster public IP>) You can curl services using the Kubernetes syntax e.g. curl -ik https://kubernetes.defaultDeveloping or debugging an existing serviceWhen developing an application on Kubernetes, you typically program or debug a single service. The service might require access to other services for testing and debugging. One option is to use the continuous deployment pipeline, but even the fastest deployment pipeline introduces a delay in the program or debug cycle.Use the telepresence intercept $SERVICE_NAME --port $LOCAL_PORT:$REMOTE_PORT command to create an \"intercept\" for rerouting remote service traffic.Where:$SERVICE_NAME is the name of your local service$LOCAL_PORT is the port that your service is running on your local workstationAnd $REMOTE_PORT is the port your service listens to in the clusterRunning this command tells Telepresence to send remote traffic to your local service instead of the service in the remote Kubernetes cluster. Make edits to your service source code locally, save, and see the corresponding changes when accessing your remote application take effect immediately. You can also run your local service using a debugger or any other local development tool.How does Telepresence work?Telepresence installs a traffic-agent sidecar next to your existing application's container running in the remote cluster. It then captures all traffic requests going into the Pod, and instead of forwarding this to the application in the remote cluster, it ro",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/local-debugging/",
    "id": "k8s_00674_qa_14989"
  },
  {
    "question": "What are the benefits of Developing and debugging services locally using telepresence?",
    "answer": "Developing and debugging services locally using telepresenceNote: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.Kubernetes applications usually consist of multiple, separate services, each running in its own container. Developing and debugging these services on a remote Kubernetes cluster can be cumbersome, requiring you to get a shell on a running container in order to run debugging tools.telepresence is a tool to ease the process of developing and debugging services locally while proxying the service to a remote Kubernetes cluster. Using telepresence allows you to use custom tools, such as a debugger and IDE, for a local service and provides the service full access to ConfigMap, secrets, and the services running on the remote cluster.This document describes using telepresence to develop and debug services running on a remote cluster locally.Before you beginKubernetes cluster is installedkubectl is configured to communicate with the clusterTelepresence is installedConnecting your local machine to a remote Kubernetes clusterAfter installing telepresence, run telepresence connect to launch its Daemon and connect your local workstation to the cluster.$ telepresence connect Launching Telepresence Daemon ... Connected to context default (https://<cluster public IP>) You can curl services using the Kubernetes syntax e.g. curl -ik https://kubernetes.defaultDeveloping or debugging an existing serviceWhen developing an application on Kubernetes, you typically program or debug a single service. The service might require access to other services for testing and debugging. One option is to use the continuous deployment pipeline, but even the fastest deployment pipeline introduces a delay in the program or debug cycle.Use the telepresence intercept $SERVICE_NAME --port $LOCAL_PORT:$REMOTE_PORT command to create an \"intercept\" for rerouting remote service traffic.Where:$SERVICE_NAME is the name of your local service$LOCAL_PORT is the port that your service is running on your local workstationAnd $REMOTE_PORT is the port your service listens to in the clusterRunning this command tells Telepresence to send remote traffic to your local service instead of the service in the remote Kubernetes cluster. Make edits to your service source code locally, save, and see the corresponding changes when accessing your remote application take effect immediately. You can also run your local service using a debugger or any other local development tool.How does Telepresence work?Telepresence installs a traffic-agent sidecar next to your existing application's container running in the remote cluster. It then captures all traffic requests going into the Pod, and instead of forwarding this to the application in the remote cluster, it ro",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/local-debugging/",
    "id": "k8s_00674_qa_14990"
  },
  {
    "question": "What is Developing and debugging services locally using telepresence?",
    "answer": "K u b e r n e t e s   a p p l i c a t i o n s   u s u a l l y   c o n s i s t   o f   m u l t i p l e ,   s e p a r a t e   s e r v i c e s ,   e a c h   r u n n i n g   i n   i t s   o w n   c o n t a i n e r .   D e v e l o p i n g   a n d   d e b u g g i n g   t h e s e   s e r v i c e s   o n   a   r e m o t e   K u b e r n e t e s   c l u s t e r   c a n   b e   c u m b e r s o m e ,   r e q u i r i n g   y o u   t o   g e t   a   s h e l l   o n   a   r u n n i n g   c o n t a i n e r   i n   o r d e r   t o   r u n   d e b u g g i n g   t o o l s .   t e l e p r e s e n c e   i s   a   t o o l   t o   e a s e   t h e   p r o c e s s   o f   d e v e l o p i n g   a n d   d e b u g g i n g   s e r v i c e s   l o c a l l y   w h i l e   p r o x y i n g   t h e   s e r v i c e   t o   a   r e m o t e   K u b e r n e t e s   c l u s t e r .   U s i n g   t e l e p r e s e n c e   a l l o w s   y o u   t o   u s e   c u s t o m   t o o l s ,   s u c h   a s   a   d e b u g g e r   a n d   I D E ,   f o r   a   l o c a l   s e r v i c e   a n d   p r o v i d e s   t h e   s e r v i c e   f u l l   a c c e s s   t o   C o n f i g M a p ,   s e c r e t s ,   a n d   t h e   s e r v i c e s   r u n n i n g   o n   t h e   r e m o t e   c l u s t e r .   T h i s   d o c u m e n t   d e s c r i b e s   u s i n g   t e l e p r e s e n c e   t o   d e v e l o p   a n d   d e b u g   s e r v i c e s   r u n n i n g   o n   a   r e m o t e   c l u s t e r   l o c a l l y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/local-debugging/",
    "id": "k8s_00674_section_1_14991"
  },
  {
    "question": "What is Before you begin?",
    "answer": "K u b e r n e t e s   c l u s t e r   i s   i n s t a l l e d k u b e c t l   i s   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   t h e   c l u s t e r T e l e p r e s e n c e   i s   i n s t a l l e d",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/local-debugging/",
    "id": "k8s_00674_section_2_14992"
  },
  {
    "question": "What is Connecting your local machine to a remote Kubernetes cluster?",
    "answer": "A f t e r   i n s t a l l i n g   t e l e p r e s e n c e ,   r u n   t e l e p r e s e n c e   c o n n e c t   t o   l a u n c h   i t s   D a e m o n   a n d   c o n n e c t   y o u r   l o c a l   w o r k s t a t i o n   t o   t h e   c l u s t e r .   $   t e l e p r e s e n c e   c o n n e c t   L a u n c h i n g   T e l e p r e s e n c e   D a e m o n   . . .   C o n n e c t e d   t o   c o n t e x t   d e f a u l t   ( h t t p s : / / < c l u s t e r   p u b l i c   I P > )   Y o u   c a n   c u r l   s e r v i c e s   u s i n g   t h e   K u b e r n e t e s   s y n t a x   e . g .   c u r l   - i k   h t t p s : / / k u b e r n e t e s . d e f a u l t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/local-debugging/",
    "id": "k8s_00674_section_2_14993"
  },
  {
    "question": "What is Developing or debugging an existing service?",
    "answer": "W h e n   d e v e l o p i n g   a n   a p p l i c a t i o n   o n   K u b e r n e t e s ,   y o u   t y p i c a l l y   p r o g r a m   o r   d e b u g   a   s i n g l e   s e r v i c e .   T h e   s e r v i c e   m i g h t   r e q u i r e   a c c e s s   t o   o t h e r   s e r v i c e s   f o r   t e s t i n g   a n d   d e b u g g i n g .   O n e   o p t i o n   i s   t o   u s e   t h e   c o n t i n u o u s   d e p l o y m e n t   p i p e l i n e ,   b u t   e v e n   t h e   f a s t e s t   d e p l o y m e n t   p i p e l i n e   i n t r o d u c e s   a   d e l a y   i n   t h e   p r o g r a m   o r   d e b u g   c y c l e .   U s e   t h e   t e l e p r e s e n c e   i n t e r c e p t   $ S E R V I C E _ N A M E   - - p o r t   $ L O C A L _ P O R T : $ R E M O T E _ P O R T   c o m m a n d   t o   c r e a t e   a n   \" i n t e r c e p t \"   f o r   r e r o u t i n g   r e m o t e   s e r v i c e   t r a f f i c .   W h e r e :   $ S E R V I C E _ N A M E   i s   t h e   n a m e   o f   y o u r   l o c a l   s e r v i c e $ L O C A L _ P O R T   i s   t h e   p o r t   t h a t   y o u r   s e r v i c e   i s   r u n n i n g   o n   y o u r   l o c a l   w o r k s t a t i o n A n d   $ R E M O T E _ P O R T   i s   t h e   p o r t   y o u r   s e r v i c e   l i s t e n s   t o   i n   t h e   c l u s t e r   R u n n i n g   t h i s   c o m m a n d   t e l l s   T e l e p r e s e n c e   t o   s e n d   r e m o t e   t r a f f i c   t o   y o u r   l o c a l   s e r v i c e   i n s t e a d   o f   t h e   s e r v i c e   i n   t h e   r e m o t e   K u b e r n e t e s   c l u s t e r .   M a k e   e d i t s   t o   y o u r   s e r v i c e   s o u r c e   c o d e   l o c a l l y ,   s a v e ,   a n d   s e e   t h e   c o r r e s p o n d i n g   c h a n g e s   w h e n   a c c e s s i n g   y o u r   r e m o t e   a p p l i c a t i o n   t a k e   e f f e c t   i m m e d i a t e l y .   Y o u   c a n   a l s o   r u n   y o u r   l o c a l   s e r v i c e   u ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/local-debugging/",
    "id": "k8s_00674_section_2_14994"
  },
  {
    "question": "What is How does Telepresence work??",
    "answer": "T e l e p r e s e n c e   i n s t a l l s   a   t r a f f i c - a g e n t   s i d e c a r   n e x t   t o   y o u r   e x i s t i n g   a p p l i c a t i o n ' s   c o n t a i n e r   r u n n i n g   i n   t h e   r e m o t e   c l u s t e r .   I t   t h e n   c a p t u r e s   a l l   t r a f f i c   r e q u e s t s   g o i n g   i n t o   t h e   P o d ,   a n d   i n s t e a d   o f   f o r w a r d i n g   t h i s   t o   t h e   a p p l i c a t i o n   i n   t h e   r e m o t e   c l u s t e r ,   i t   r o u t e s   a l l   t r a f f i c   ( w h e n   y o u   c r e a t e   a   g l o b a l   i n t e r c e p t   o r   a   s u b s e t   o f   t h e   t r a f f i c   ( w h e n   y o u   c r e a t e   a   p e r s o n a l   i n t e r c e p t )   t o   y o u r   l o c a l   d e v e l o p m e n t   e n v i r o n m e n t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/local-debugging/",
    "id": "k8s_00674_section_2_14995"
  },
  {
    "question": "What is What's next?",
    "answer": "I f   y o u ' r e   i n t e r e s t e d   i n   a   h a n d s - o n   t u t o r i a l ,   c h e c k   o u t   t h i s   t u t o r i a l   t h a t   w a l k s   t h r o u g h   l o c a l l y   d e v e l o p i n g   t h e   G u e s t b o o k   a p p l i c a t i o n   o n   G o o g l e   K u b e r n e t e s   E n g i n e .   F o r   f u r t h e r   r e a d i n g ,   v i s i t   t h e   T e l e p r e s e n c e   w e b s i t e .   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/debug/debug-cluster/local-debugging/",
    "id": "k8s_00674_section_2_14996"
  },
  {
    "question": "What is ObjectMeta?",
    "answer": "ObjectMetaObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.import \"k8s.io/apimachinery/pkg/apis/meta/v1\"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.name (string)Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#namesgenerateName (string)GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.If this field is specified and the generated name exists, the server will return a 409.Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotencynamespace (string)Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.Must be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaceslabels (map[string]string)Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labelsannotations (map[string]string)Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotationsSystemfinalizers ([]string)Set: unique values will be kept during a mergeMust be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/object-meta/",
    "id": "k8s_00675_qa_14997"
  },
  {
    "question": "How does ObjectMeta work?",
    "answer": "ObjectMetaObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.import \"k8s.io/apimachinery/pkg/apis/meta/v1\"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.name (string)Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#namesgenerateName (string)GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.If this field is specified and the generated name exists, the server will return a 409.Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotencynamespace (string)Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.Must be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaceslabels (map[string]string)Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labelsannotations (map[string]string)Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotationsSystemfinalizers ([]string)Set: unique values will be kept during a mergeMust be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/object-meta/",
    "id": "k8s_00675_qa_14998"
  },
  {
    "question": "When would you use ObjectMeta?",
    "answer": "ObjectMetaObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.import \"k8s.io/apimachinery/pkg/apis/meta/v1\"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.name (string)Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#namesgenerateName (string)GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.If this field is specified and the generated name exists, the server will return a 409.Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotencynamespace (string)Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.Must be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaceslabels (map[string]string)Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labelsannotations (map[string]string)Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotationsSystemfinalizers ([]string)Set: unique values will be kept during a mergeMust be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/object-meta/",
    "id": "k8s_00675_qa_14999"
  },
  {
    "question": "What are the benefits of ObjectMeta?",
    "answer": "ObjectMetaObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.import \"k8s.io/apimachinery/pkg/apis/meta/v1\"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.name (string)Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#namesgenerateName (string)GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.If this field is specified and the generated name exists, the server will return a 409.Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotencynamespace (string)Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.Must be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaceslabels (map[string]string)Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labelsannotations (map[string]string)Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotationsSystemfinalizers ([]string)Set: unique values will be kept during a mergeMust be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/object-meta/",
    "id": "k8s_00675_qa_15000"
  },
  {
    "question": "What is ObjectMeta?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i m a c h i n e r y / p k g / a p i s / m e t a / v 1 \"   O b j e c t M e t a   i s   m e t a d a t a   t h a t   a l l   p e r s i s t e d   r e s o u r c e s   m u s t   h a v e ,   w h i c h   i n c l u d e s   a l l   o b j e c t s   u s e r s   m u s t   c r e a t e .   n a m e   ( s t r i n g ) N a m e   m u s t   b e   u n i q u e   w i t h i n   a   n a m e s p a c e .   I s   r e q u i r e d   w h e n   c r e a t i n g   r e s o u r c e s ,   a l t h o u g h   s o m e   r e s o u r c e s   m a y   a l l o w   a   c l i e n t   t o   r e q u e s t   t h e   g e n e r a t i o n   o f   a n   a p p r o p r i a t e   n a m e   a u t o m a t i c a l l y .   N a m e   i s   p r i m a r i l y   i n t e n d e d   f o r   c r e a t i o n   i d e m p o t e n c e   a n d   c o n f i g u r a t i o n   d e f i n i t i o n .   C a n n o t   b e   u p d a t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s # n a m e s g e n e r a t e N a m e   ( s t r i n g ) G e n e r a t e N a m e   i s   a n   o p t i o n a l   p r e f i x ,   u s e d   b y   t h e   s e r v e r ,   t o   g e n e r a t e   a   u n i q u e   n a m e   O N L Y   I F   t h e   N a m e   f i e l d   h a s   n o t   b e e n   p r o v i d e d .   I f   t h i s   f i e l d   i s   u s e d ,   t h e   n a m e   r e t u r n e d   t o   t h e   c l i e n t   w i l l   b e   d i f f e r e n t   t h a n   t h e   n a m e   p a s s e d .   T h i s   v a l u e   w i l l   a l s o   b e   c o m b i n e d   w i t h   a   u n i q u e   s u f f i x .   T h e   p r o v i d e d   v a l u e   h a s   t h e   s a m e   v a l i d a t i o n   r u l e s   a s   t h e   N a m e   f i e l d ,   a n d   m a y   b e   t r u n c a t e d   b y   t h e   l e n g t h   o f   t h e   s u f f i x   r e q u i r e d   t o   m a k e   t h e   v a l u e   u n i q u e   o n   t h e   s e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/object-meta/",
    "id": "k8s_00675_section_1_15001"
  },
  {
    "question": "What is System?",
    "answer": "f i n a l i z e r s   ( [ ] s t r i n g ) S e t :   u n i q u e   v a l u e s   w i l l   b e   k e p t   d u r i n g   a   m e r g e M u s t   b e   e m p t y   b e f o r e   t h e   o b j e c t   i s   d e l e t e d   f r o m   t h e   r e g i s t r y .   E a c h   e n t r y   i s   a n   i d e n t i f i e r   f o r   t h e   r e s p o n s i b l e   c o m p o n e n t   t h a t   w i l l   r e m o v e   t h e   e n t r y   f r o m   t h e   l i s t .   I f   t h e   d e l e t i o n T i m e s t a m p   o f   t h e   o b j e c t   i s   n o n - n i l ,   e n t r i e s   i n   t h i s   l i s t   c a n   o n l y   b e   r e m o v e d .   F i n a l i z e r s   m a y   b e   p r o c e s s e d   a n d   r e m o v e d   i n   a n y   o r d e r .   O r d e r   i s   N O T   e n f o r c e d   b e c a u s e   i t   i n t r o d u c e s   s i g n i f i c a n t   r i s k   o f   s t u c k   f i n a l i z e r s .   f i n a l i z e r s   i s   a   s h a r e d   f i e l d ,   a n y   a c t o r   w i t h   p e r m i s s i o n   c a n   r e o r d e r   i t .   I f   t h e   f i n a l i z e r   l i s t   i s   p r o c e s s e d   i n   o r d e r ,   t h e n   t h i s   c a n   l e a d   t o   a   s i t u a t i o n   i n   w h i c h   t h e   c o m p o n e n t   r e s p o n s i b l e   f o r   t h e   f i r s t   f i n a l i z e r   i n   t h e   l i s t   i s   w a i t i n g   f o r   a   s i g n a l   ( f i e l d   v a l u e ,   e x t e r n a l   s y s t e m ,   o r   o t h e r )   p r o d u c e d   b y   a   c o m p o n e n t   r e s p o n s i b l e   f o r   a   f i n a l i z e r   l a t e r   i n   t h e   l i s t ,   r e s u l t i n g   i n   a   d e a d l o c k .   W i t h o u t   e n f o r c e d   o r d e r i n g   f i n a l i z e r s   a r e   f r e e   t o   o r d e r   a m o n g s t   t h e m s e l v e s   a n d   a r e   n o t   v u l n e r a b l e   t o   o r d e r i n g   c h a n g e s   i n   t h e   l i s t . m a n a g e d F i e l d s   ( [ ] M a n a g e d F i e l d s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/object-meta/",
    "id": "k8s_00675_section_3_15002"
  },
  {
    "question": "What is Read-only?",
    "answer": "c r e a t i o n T i m e s t a m p   ( T i m e ) C r e a t i o n T i m e s t a m p   i s   a   t i m e s t a m p   r e p r e s e n t i n g   t h e   s e r v e r   t i m e   w h e n   t h i s   o b j e c t   w a s   c r e a t e d .   I t   i s   n o t   g u a r a n t e e d   t o   b e   s e t   i n   h a p p e n s - b e f o r e   o r d e r   a c r o s s   s e p a r a t e   o p e r a t i o n s .   C l i e n t s   m a y   n o t   s e t   t h i s   v a l u e .   I t   i s   r e p r e s e n t e d   i n   R F C 3 3 3 9   f o r m   a n d   i s   i n   U T C . P o p u l a t e d   b y   t h e   s y s t e m .   R e a d - o n l y .   N u l l   f o r   l i s t s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . d e l e t i o n G r a c e P e r i o d S e c o n d s   ( i n t 6 4 ) N u m b e r   o f   s e c o n d s   a l l o w e d   f o r   t h i s   o b j e c t   t o   g r a c e f u l l y   t e r m i n a t e   b e f o r e   i t   w i l l   b e   r e m o v e d   f r o m   t h e   s y s t e m .   O n l y   s e t   w h e n   d e l e t i o n T i m e s t a m p   i s   a l s o   s e t .   M a y   o n l y   b e   s h o r t e n e d .   R e a d - o n l y . d e l e t i o n T i m e s t a m p   ( T i m e ) D e l e t i o n T i m e s t a m p   i s   R F C   3 3 3 9   d a t e   a n d   t i m e   a t   w h i c h   t h i s   r e s o u r c e   w i l l   b e   d e l e t e d .   T h i s   f i e l d   i s   s e t   b y   t h e   s e r v e r   w h e n   a   g r a c e f u l   d e l e t i o n   i s   r e q u e s t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/object-meta/",
    "id": "k8s_00675_section_3_15003"
  },
  {
    "question": "What is kubeadm upgrade phases?",
    "answer": "kubeadm upgrade phaseskubeadm upgrade apply phaseUsing the phases of kubeadm upgrade apply, you can choose to execute the separate steps of the initial upgrade of a control plane node.SynopsisUse this command to invoke single phase of the \"apply\" workflowkubeadm upgrade apply phase [flags] Options-h, --helphelp for phaseOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.SynopsisRun preflight checks before upgradekubeadm upgrade apply phase preflight [flags] Options--allow-experimental-upgradesShow unstable versions of Kubernetes as an upgrade alternative and allow upgrading to an alpha/beta/release candidate versions of Kubernetes.--allow-release-candidate-upgradesShow release candidate versions of Kubernetes as an upgrade alternative and allow upgrading to a release candidate versions of Kubernetes.--config stringPath to a kubeadm configuration file.--dry-runDo not change any state, just output what actions would be performed.-f, --forceForce upgrading although some requirements might not be met. This also implies non-interactive mode.-h, --helphelp for preflight--ignore-preflight-errors stringsA list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.-y, --yesPerform the upgrade and do not prompt for confirmation (non-interactive mode).Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.SynopsisUpgrade the control planekubeadm upgrade apply phase control-plane [flags] Options--certificate-renewal Default: truePerform the renewal of certificates used by component changed during upgrades.--config stringPath to a kubeadm configuration file.--dry-runDo not change any state, just output what actions would be performed.--etcd-upgrade Default: truePerform the upgrade of etcd.-h, --helphelp for control-plane--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.--patches stringPath to a directory that contains files named \"target[suffix][+patchtype].extension\". For example, \"kube-apiserver0+merge.yaml\" or just \"etcd.json\". \"target\" can be one of \"kube-apiserver\", \"kube-controller-manager\", \"kube-scheduler\", \"etcd\", \"kubeletconfiguration\", \"corednsdeployment\". \"patchtype\" can be one of \"strategic\", \"merge\" or \"json\" and they match the patch formats supported by kubectl. The default \"patchtype\" is \"strategic\". \"extension\" must be either \"json\" or \"yaml\". \"suffix\" is an optional string that can be used to determin",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_qa_15004"
  },
  {
    "question": "How does kubeadm upgrade phases work?",
    "answer": "kubeadm upgrade phaseskubeadm upgrade apply phaseUsing the phases of kubeadm upgrade apply, you can choose to execute the separate steps of the initial upgrade of a control plane node.SynopsisUse this command to invoke single phase of the \"apply\" workflowkubeadm upgrade apply phase [flags] Options-h, --helphelp for phaseOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.SynopsisRun preflight checks before upgradekubeadm upgrade apply phase preflight [flags] Options--allow-experimental-upgradesShow unstable versions of Kubernetes as an upgrade alternative and allow upgrading to an alpha/beta/release candidate versions of Kubernetes.--allow-release-candidate-upgradesShow release candidate versions of Kubernetes as an upgrade alternative and allow upgrading to a release candidate versions of Kubernetes.--config stringPath to a kubeadm configuration file.--dry-runDo not change any state, just output what actions would be performed.-f, --forceForce upgrading although some requirements might not be met. This also implies non-interactive mode.-h, --helphelp for preflight--ignore-preflight-errors stringsA list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.-y, --yesPerform the upgrade and do not prompt for confirmation (non-interactive mode).Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.SynopsisUpgrade the control planekubeadm upgrade apply phase control-plane [flags] Options--certificate-renewal Default: truePerform the renewal of certificates used by component changed during upgrades.--config stringPath to a kubeadm configuration file.--dry-runDo not change any state, just output what actions would be performed.--etcd-upgrade Default: truePerform the upgrade of etcd.-h, --helphelp for control-plane--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.--patches stringPath to a directory that contains files named \"target[suffix][+patchtype].extension\". For example, \"kube-apiserver0+merge.yaml\" or just \"etcd.json\". \"target\" can be one of \"kube-apiserver\", \"kube-controller-manager\", \"kube-scheduler\", \"etcd\", \"kubeletconfiguration\", \"corednsdeployment\". \"patchtype\" can be one of \"strategic\", \"merge\" or \"json\" and they match the patch formats supported by kubectl. The default \"patchtype\" is \"strategic\". \"extension\" must be either \"json\" or \"yaml\". \"suffix\" is an optional string that can be used to determin",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_qa_15005"
  },
  {
    "question": "When would you use kubeadm upgrade phases?",
    "answer": "kubeadm upgrade phaseskubeadm upgrade apply phaseUsing the phases of kubeadm upgrade apply, you can choose to execute the separate steps of the initial upgrade of a control plane node.SynopsisUse this command to invoke single phase of the \"apply\" workflowkubeadm upgrade apply phase [flags] Options-h, --helphelp for phaseOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.SynopsisRun preflight checks before upgradekubeadm upgrade apply phase preflight [flags] Options--allow-experimental-upgradesShow unstable versions of Kubernetes as an upgrade alternative and allow upgrading to an alpha/beta/release candidate versions of Kubernetes.--allow-release-candidate-upgradesShow release candidate versions of Kubernetes as an upgrade alternative and allow upgrading to a release candidate versions of Kubernetes.--config stringPath to a kubeadm configuration file.--dry-runDo not change any state, just output what actions would be performed.-f, --forceForce upgrading although some requirements might not be met. This also implies non-interactive mode.-h, --helphelp for preflight--ignore-preflight-errors stringsA list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.-y, --yesPerform the upgrade and do not prompt for confirmation (non-interactive mode).Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.SynopsisUpgrade the control planekubeadm upgrade apply phase control-plane [flags] Options--certificate-renewal Default: truePerform the renewal of certificates used by component changed during upgrades.--config stringPath to a kubeadm configuration file.--dry-runDo not change any state, just output what actions would be performed.--etcd-upgrade Default: truePerform the upgrade of etcd.-h, --helphelp for control-plane--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.--patches stringPath to a directory that contains files named \"target[suffix][+patchtype].extension\". For example, \"kube-apiserver0+merge.yaml\" or just \"etcd.json\". \"target\" can be one of \"kube-apiserver\", \"kube-controller-manager\", \"kube-scheduler\", \"etcd\", \"kubeletconfiguration\", \"corednsdeployment\". \"patchtype\" can be one of \"strategic\", \"merge\" or \"json\" and they match the patch formats supported by kubectl. The default \"patchtype\" is \"strategic\". \"extension\" must be either \"json\" or \"yaml\". \"suffix\" is an optional string that can be used to determin",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_qa_15006"
  },
  {
    "question": "What are the benefits of kubeadm upgrade phases?",
    "answer": "kubeadm upgrade phaseskubeadm upgrade apply phaseUsing the phases of kubeadm upgrade apply, you can choose to execute the separate steps of the initial upgrade of a control plane node.SynopsisUse this command to invoke single phase of the \"apply\" workflowkubeadm upgrade apply phase [flags] Options-h, --helphelp for phaseOptions inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.SynopsisRun preflight checks before upgradekubeadm upgrade apply phase preflight [flags] Options--allow-experimental-upgradesShow unstable versions of Kubernetes as an upgrade alternative and allow upgrading to an alpha/beta/release candidate versions of Kubernetes.--allow-release-candidate-upgradesShow release candidate versions of Kubernetes as an upgrade alternative and allow upgrading to a release candidate versions of Kubernetes.--config stringPath to a kubeadm configuration file.--dry-runDo not change any state, just output what actions would be performed.-f, --forceForce upgrading although some requirements might not be met. This also implies non-interactive mode.-h, --helphelp for preflight--ignore-preflight-errors stringsA list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.-y, --yesPerform the upgrade and do not prompt for confirmation (non-interactive mode).Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.SynopsisUpgrade the control planekubeadm upgrade apply phase control-plane [flags] Options--certificate-renewal Default: truePerform the renewal of certificates used by component changed during upgrades.--config stringPath to a kubeadm configuration file.--dry-runDo not change any state, just output what actions would be performed.--etcd-upgrade Default: truePerform the upgrade of etcd.-h, --helphelp for control-plane--kubeconfig string Default: \"/etc/kubernetes/admin.conf\"The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.--patches stringPath to a directory that contains files named \"target[suffix][+patchtype].extension\". For example, \"kube-apiserver0+merge.yaml\" or just \"etcd.json\". \"target\" can be one of \"kube-apiserver\", \"kube-controller-manager\", \"kube-scheduler\", \"etcd\", \"kubeletconfiguration\", \"corednsdeployment\". \"patchtype\" can be one of \"strategic\", \"merge\" or \"json\" and they match the patch formats supported by kubectl. The default \"patchtype\" is \"strategic\". \"extension\" must be either \"json\" or \"yaml\". \"suffix\" is an optional string that can be used to determin",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_qa_15007"
  },
  {
    "question": "What is kubeadm upgrade apply phase?",
    "answer": "U s i n g   t h e   p h a s e s   o f   k u b e a d m   u p g r a d e   a p p l y ,   y o u   c a n   c h o o s e   t o   e x e c u t e   t h e   s e p a r a t e   s t e p s   o f   t h e   i n i t i a l   u p g r a d e   o f   a   c o n t r o l   p l a n e   n o d e .   S y n o p s i s U s e   t h i s   c o m m a n d   t o   i n v o k e   s i n g l e   p h a s e   o f   t h e   \" a p p l y \"   w o r k f l o w k u b e a d m   u p g r a d e   a p p l y   p h a s e   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   p h a s e O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_2_15008"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U s e   t h i s   c o m m a n d   t o   i n v o k e   s i n g l e   p h a s e   o f   t h e   \" a p p l y \"   w o r k f l o w   k u b e a d m   u p g r a d e   a p p l y   p h a s e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15009"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   p h a s e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15010"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R u n   p r e f l i g h t   c h e c k s   b e f o r e   u p g r a d e k u b e a d m   u p g r a d e   a p p l y   p h a s e   p r e f l i g h t   [ f l a g s ]   O p t i o n s - - a l l o w - e x p e r i m e n t a l - u p g r a d e s S h o w   u n s t a b l e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w   u p g r a d i n g   t o   a n   a l p h a / b e t a / r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s . - - a l l o w - r e l e a s e - c a n d i d a t e - u p g r a d e s S h o w   r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w   u p g r a d i n g   t o   a   r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d . - f ,   - - f o r c e F o r c e   u p g r a d i n g   a l t h o u g h   s o m e   r e q u i r e m e n t s   m i g h t   n o t   b e   m e t .   T h i s   a l s o   i m p l i e s   n o n - i n t e r a c t i v e   m o d e . - h ,   - - h e l p h e l p   f o r   p r e f l i g h t - - i g n o r e - p r e f l i g h t - e r r o r s   s t r i n g s A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s . - - k u b e c o n f i g   s t r i n g   D e f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15011"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   p r e f l i g h t   c h e c k s   b e f o r e   u p g r a d e   k u b e a d m   u p g r a d e   a p p l y   p h a s e   p r e f l i g h t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15012"
  },
  {
    "question": "What is Options?",
    "answer": "S h o w   u n s t a b l e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w   u p g r a d i n g   t o   a n   a l p h a / b e t a / r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s .   S h o w   r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w   u p g r a d i n g   t o   a   r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d .   F o r c e   u p g r a d i n g   a l t h o u g h   s o m e   r e q u i r e m e n t s   m i g h t   n o t   b e   m e t .   T h i s   a l s o   i m p l i e s   n o n - i n t e r a c t i v e   m o d e .   h e l p   f o r   p r e f l i g h t   A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   P e r f o r m   t h e   u p g r a d e   a n d   d o   n o t   p r o m p t   f o r   c o n f i r m a t i o n   ( n o n - i n t e r a c t i v e   m o d e ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15013"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s U p g r a d e   t h e   c o n t r o l   p l a n e k u b e a d m   u p g r a d e   a p p l y   p h a s e   c o n t r o l - p l a n e   [ f l a g s ]   O p t i o n s - - c e r t i f i c a t e - r e n e w a l   D e f a u l t :   t r u e P e r f o r m   t h e   r e n e w a l   o f   c e r t i f i c a t e s   u s e d   b y   c o m p o n e n t   c h a n g e d   d u r i n g   u p g r a d e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d . - - e t c d - u p g r a d e   D e f a u l t :   t r u e P e r f o r m   t h e   u p g r a d e   o f   e t c d . - h ,   - - h e l p h e l p   f o r   c o n t r o l - p l a n e - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e . - - p a t c h e s   s t r i n g P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15014"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   t h e   c o n t r o l   p l a n e   k u b e a d m   u p g r a d e   a p p l y   p h a s e   c o n t r o l - p l a n e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15015"
  },
  {
    "question": "What is Options?",
    "answer": "P e r f o r m   t h e   r e n e w a l   o f   c e r t i f i c a t e s   u s e d   b y   c o m p o n e n t   c h a n g e d   d u r i n g   u p g r a d e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d .   P e r f o r m   t h e   u p g r a d e   o f   e t c d .   h e l p   f o r   c o n t r o l - p l a n e   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15016"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s U p l o a d   t h e   k u b e a d m   a n d   k u b e l e t   c o n f i g u r a t i o n s   t o   C o n f i g M a p s k u b e a d m   u p g r a d e   a p p l y   p h a s e   u p l o a d - c o n f i g   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   u p l o a d - c o n f i g O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15017"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p l o a d   t h e   k u b e a d m   a n d   k u b e l e t   c o n f i g u r a t i o n s   t o   C o n f i g M a p s   k u b e a d m   u p g r a d e   a p p l y   p h a s e   u p l o a d - c o n f i g   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15018"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   u p l o a d - c o n f i g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15019"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s U p g r a d e   t h e   k u b e l e t   c o n f i g u r a t i o n   f o r   t h i s   n o d e   b y   d o w n l o a d i n g   i t   f r o m   t h e   k u b e l e t - c o n f i g   C o n f i g M a p   s t o r e d   i n   t h e   c l u s t e r k u b e a d m   u p g r a d e   a p p l y   p h a s e   k u b e l e t - c o n f i g   [ f l a g s ]   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d . - h ,   - - h e l p h e l p   f o r   k u b e l e t - c o n f i g - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e . - - p a t c h e s   s t r i n g P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15020"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   t h e   k u b e l e t   c o n f i g u r a t i o n   f o r   t h i s   n o d e   b y   d o w n l o a d i n g   i t   f r o m   t h e   k u b e l e t - c o n f i g   C o n f i g M a p   s t o r e d   i n   t h e   c l u s t e r   k u b e a d m   u p g r a d e   a p p l y   p h a s e   k u b e l e t - c o n f i g   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15021"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d .   h e l p   f o r   k u b e l e t - c o n f i g   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15022"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s C o n f i g u r e s   b o o t s t r a p   t o k e n   a n d   c l u s t e r - i n f o   R B A C   r u l e s k u b e a d m   u p g r a d e   a p p l y   p h a s e   b o o t s t r a p - t o k e n   [ f l a g s ]   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d . - h ,   - - h e l p h e l p   f o r   b o o t s t r a p - t o k e n - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15023"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C o n f i g u r e s   b o o t s t r a p   t o k e n   a n d   c l u s t e r - i n f o   R B A C   r u l e s   k u b e a d m   u p g r a d e   a p p l y   p h a s e   b o o t s t r a p - t o k e n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15024"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d .   h e l p   f o r   b o o t s t r a p - t o k e n   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15025"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s U p g r a d e   t h e   d e f a u l t   k u b e a d m   a d d o n s k u b e a d m   u p g r a d e   a p p l y   p h a s e   a d d o n   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   a d d o n O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15026"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   t h e   d e f a u l t   k u b e a d m   a d d o n s   k u b e a d m   u p g r a d e   a p p l y   p h a s e   a d d o n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15027"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   a d d o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15028"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R u n   p o s t   u p g r a d e   t a s k s k u b e a d m   u p g r a d e   a p p l y   p h a s e   p o s t - u p g r a d e   [ f l a g s ]   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d . - h ,   - - h e l p h e l p   f o r   p o s t - u p g r a d e - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15029"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   p o s t   u p g r a d e   t a s k s   k u b e a d m   u p g r a d e   a p p l y   p h a s e   p o s t - u p g r a d e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15030"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d .   h e l p   f o r   p o s t - u p g r a d e   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15031"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15032"
  },
  {
    "question": "What is kubeadm upgrade node phase?",
    "answer": "U s i n g   t h e   p h a s e s   o f   k u b e a d m   u p g r a d e   n o d e   y o u   c a n   c h o o s e   t o   e x e c u t e   t h e   s e p a r a t e   s t e p s   o f   t h e   u p g r a d e   o f   s e c o n d a r y   c o n t r o l - p l a n e   o r   w o r k e r   n o d e s .   S y n o p s i s U s e   t h i s   c o m m a n d   t o   i n v o k e   s i n g l e   p h a s e   o f   t h e   \" n o d e \"   w o r k f l o w k u b e a d m   u p g r a d e   n o d e   p h a s e   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   p h a s e O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_2_15033"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U s e   t h i s   c o m m a n d   t o   i n v o k e   s i n g l e   p h a s e   o f   t h e   \" n o d e \"   w o r k f l o w   k u b e a d m   u p g r a d e   n o d e   p h a s e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15034"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   p h a s e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15035"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   R u n   u p g r a d e   n o d e   p r e - f l i g h t   c h e c k s S y n o p s i s R u n   p r e - f l i g h t   c h e c k s   f o r   k u b e a d m   u p g r a d e   n o d e . k u b e a d m   u p g r a d e   n o d e   p h a s e   p r e f l i g h t   [ f l a g s ]   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l p h e l p   f o r   p r e f l i g h t - - i g n o r e - p r e f l i g h t - e r r o r s   s t r i n g s A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   R u n   u p g r a d e   n o d e   p r e - f l i g h t   c h e c k s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15036"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   p r e - f l i g h t   c h e c k s   f o r   k u b e a d m   u p g r a d e   n o d e .   k u b e a d m   u p g r a d e   n o d e   p h a s e   p r e f l i g h t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15037"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   p r e f l i g h t   A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15038"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s U p g r a d e   t h e   c o n t r o l   p l a n e   i n s t a n c e   d e p l o y e d   o n   t h i s   n o d e ,   i f   a n y k u b e a d m   u p g r a d e   n o d e   p h a s e   c o n t r o l - p l a n e   [ f l a g s ]   O p t i o n s - - c e r t i f i c a t e - r e n e w a l   D e f a u l t :   t r u e P e r f o r m   t h e   r e n e w a l   o f   c e r t i f i c a t e s   u s e d   b y   c o m p o n e n t   c h a n g e d   d u r i n g   u p g r a d e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   t h e   a c t i o n s   t h a t   w o u l d   b e   p e r f o r m e d . - - e t c d - u p g r a d e   D e f a u l t :   t r u e P e r f o r m   t h e   u p g r a d e   o f   e t c d . - h ,   - - h e l p h e l p   f o r   c o n t r o l - p l a n e - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e . - - p a t c h e s   s t r i n g P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15039"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   t h e   c o n t r o l   p l a n e   i n s t a n c e   d e p l o y e d   o n   t h i s   n o d e ,   i f   a n y   k u b e a d m   u p g r a d e   n o d e   p h a s e   c o n t r o l - p l a n e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15040"
  },
  {
    "question": "What is Options?",
    "answer": "P e r f o r m   t h e   r e n e w a l   o f   c e r t i f i c a t e s   u s e d   b y   c o m p o n e n t   c h a n g e d   d u r i n g   u p g r a d e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   t h e   a c t i o n s   t h a t   w o u l d   b e   p e r f o r m e d .   P e r f o r m   t h e   u p g r a d e   o f   e t c d .   h e l p   f o r   c o n t r o l - p l a n e   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15041"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s U p g r a d e   t h e   k u b e l e t   c o n f i g u r a t i o n   f o r   t h i s   n o d e   b y   d o w n l o a d i n g   i t   f r o m   t h e   k u b e l e t - c o n f i g   C o n f i g M a p   s t o r e d   i n   t h e   c l u s t e r k u b e a d m   u p g r a d e   n o d e   p h a s e   k u b e l e t - c o n f i g   [ f l a g s ]   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   t h e   a c t i o n s   t h a t   w o u l d   b e   p e r f o r m e d . - h ,   - - h e l p h e l p   f o r   k u b e l e t - c o n f i g - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e . - - p a t c h e s   s t r i n g P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15042"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   t h e   k u b e l e t   c o n f i g u r a t i o n   f o r   t h i s   n o d e   b y   d o w n l o a d i n g   i t   f r o m   t h e   k u b e l e t - c o n f i g   C o n f i g M a p   s t o r e d   i n   t h e   c l u s t e r   k u b e a d m   u p g r a d e   n o d e   p h a s e   k u b e l e t - c o n f i g   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15043"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   t h e   a c t i o n s   t h a t   w o u l d   b e   p e r f o r m e d .   h e l p   f o r   k u b e l e t - c o n f i g   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15044"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s U p g r a d e   t h e   d e f a u l t   k u b e a d m   a d d o n s k u b e a d m   u p g r a d e   n o d e   p h a s e   a d d o n   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   a d d o n O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15045"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   t h e   d e f a u l t   k u b e a d m   a d d o n s   k u b e a d m   u p g r a d e   n o d e   p h a s e   a d d o n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15046"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   a d d o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15047"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R u n   p o s t   u p g r a d e   t a s k s k u b e a d m   u p g r a d e   n o d e   p h a s e   p o s t - u p g r a d e   [ f l a g s ]   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   t h e   a c t i o n s   t h a t   w o u l d   b e   p e r f o r m e d . - h ,   - - h e l p h e l p   f o r   p o s t - u p g r a d e - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15048"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   p o s t   u p g r a d e   t a s k s   k u b e a d m   u p g r a d e   n o d e   p h a s e   p o s t - u p g r a d e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15049"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   t h e   a c t i o n s   t h a t   w o u l d   b e   p e r f o r m e d .   h e l p   f o r   p o s t - u p g r a d e   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15050"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_3_15051"
  },
  {
    "question": "What is What's next?",
    "answer": "k u b e a d m   i n i t   t o   b o o t s t r a p   a   K u b e r n e t e s   c o n t r o l - p l a n e   n o d e k u b e a d m   j o i n   t o   c o n n e c t   a   n o d e   t o   t h e   c l u s t e r k u b e a d m   r e s e t   t o   r e v e r t   a n y   c h a n g e s   m a d e   t o   t h i s   h o s t   b y   k u b e a d m   i n i t   o r   k u b e a d m   j o i n k u b e a d m   u p g r a d e   t o   u p g r a d e   a   k u b e a d m   n o d e k u b e a d m   a l p h a   t o   t r y   e x p e r i m e n t a l   f u n c t i o n a l i t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase/",
    "id": "k8s_00676_section_2_15052"
  },
  {
    "question": "What is Certificate Management with kubeadm?",
    "answer": "Certificate Management with kubeadmFEATURE STATE: Kubernetes v1.15 [stable]Client certificates generated by kubeadm expire after 1 year. This page explains how to manage certificate renewals with kubeadm. It also covers other tasks related to kubeadm certificate management.The Kubernetes project recommends upgrading to the latest patch releases promptly, and to ensure that you are running a supported minor release of Kubernetes. Following this recommendation helps you to stay secure.Before you beginYou should be familiar with PKI certificates and requirements in Kubernetes.You should be familiar with how to pass a configuration file to the kubeadm commands.This guide covers the usage of the openssl command (used for manual certificate signing, if you choose that approach), but you can use your preferred tools.Some of the steps here use sudo for administrator access. You can use any equivalent tool.Using custom certificatesBy default, kubeadm generates all the certificates needed for a cluster to run. You can override this behavior by providing your own certificates.To do so, you must place them in whatever directory is specified by the --cert-dir flag or the certificatesDir field of kubeadm's ClusterConfiguration. By default this is /etc/kubernetes/pki.If a given certificate and private key pair exists before running kubeadm init, kubeadm does not overwrite them. This means you can, for example, copy an existing CA into /etc/kubernetes/pki/ca.crt and /etc/kubernetes/pki/ca.key, and kubeadm will use this CA for signing the rest of the certificates.Choosing an encryption algorithmkubeadm allows you to choose an encryption algorithm that is used for creating public and private keys. That can be done by using the encryptionAlgorithm field of the kubeadm configuration:apiVersion: kubeadm.k8s.io/v1beta4 kind: ClusterConfiguration encryptionAlgorithm: <ALGORITHM> <ALGORITHM> can be one of RSA-2048 (default), RSA-3072, RSA-4096 or ECDSA-P256.Choosing certificate validity periodkubeadm allows you to choose the validity period of CA and leaf certificates. That can be done by using the certificateValidityPeriod and caCertificateValidityPeriod fields of the kubeadm configuration:apiVersion: kubeadm.k8s.io/v1beta4 kind: ClusterConfiguration certificateValidityPeriod: 8760h # Default: 365 days × 24 hours = 1 year caCertificateValidityPeriod: 87600h # Default: 365 days × 24 hours * 10 = 10 years The values of the fields follow the accepted format for Go's time.Duration values, with the longest supported unit being h (hours).External CA modeIt is also possible to provide only the ca.crt file and not the ca.key file (this is only available for the root CA file, not other cert pairs). If all other certificates and kubeconfig files are in place, kubeadm recognizes this condition and activates the \"External CA\" mode. kubeadm will proceed without the CA key on disk.Instead, run the controller-manager standalone with --controllers=csrsigner and point to the CA certifi",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_qa_15053"
  },
  {
    "question": "How does Certificate Management with kubeadm work?",
    "answer": "Certificate Management with kubeadmFEATURE STATE: Kubernetes v1.15 [stable]Client certificates generated by kubeadm expire after 1 year. This page explains how to manage certificate renewals with kubeadm. It also covers other tasks related to kubeadm certificate management.The Kubernetes project recommends upgrading to the latest patch releases promptly, and to ensure that you are running a supported minor release of Kubernetes. Following this recommendation helps you to stay secure.Before you beginYou should be familiar with PKI certificates and requirements in Kubernetes.You should be familiar with how to pass a configuration file to the kubeadm commands.This guide covers the usage of the openssl command (used for manual certificate signing, if you choose that approach), but you can use your preferred tools.Some of the steps here use sudo for administrator access. You can use any equivalent tool.Using custom certificatesBy default, kubeadm generates all the certificates needed for a cluster to run. You can override this behavior by providing your own certificates.To do so, you must place them in whatever directory is specified by the --cert-dir flag or the certificatesDir field of kubeadm's ClusterConfiguration. By default this is /etc/kubernetes/pki.If a given certificate and private key pair exists before running kubeadm init, kubeadm does not overwrite them. This means you can, for example, copy an existing CA into /etc/kubernetes/pki/ca.crt and /etc/kubernetes/pki/ca.key, and kubeadm will use this CA for signing the rest of the certificates.Choosing an encryption algorithmkubeadm allows you to choose an encryption algorithm that is used for creating public and private keys. That can be done by using the encryptionAlgorithm field of the kubeadm configuration:apiVersion: kubeadm.k8s.io/v1beta4 kind: ClusterConfiguration encryptionAlgorithm: <ALGORITHM> <ALGORITHM> can be one of RSA-2048 (default), RSA-3072, RSA-4096 or ECDSA-P256.Choosing certificate validity periodkubeadm allows you to choose the validity period of CA and leaf certificates. That can be done by using the certificateValidityPeriod and caCertificateValidityPeriod fields of the kubeadm configuration:apiVersion: kubeadm.k8s.io/v1beta4 kind: ClusterConfiguration certificateValidityPeriod: 8760h # Default: 365 days × 24 hours = 1 year caCertificateValidityPeriod: 87600h # Default: 365 days × 24 hours * 10 = 10 years The values of the fields follow the accepted format for Go's time.Duration values, with the longest supported unit being h (hours).External CA modeIt is also possible to provide only the ca.crt file and not the ca.key file (this is only available for the root CA file, not other cert pairs). If all other certificates and kubeconfig files are in place, kubeadm recognizes this condition and activates the \"External CA\" mode. kubeadm will proceed without the CA key on disk.Instead, run the controller-manager standalone with --controllers=csrsigner and point to the CA certifi",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_qa_15054"
  },
  {
    "question": "When would you use Certificate Management with kubeadm?",
    "answer": "Certificate Management with kubeadmFEATURE STATE: Kubernetes v1.15 [stable]Client certificates generated by kubeadm expire after 1 year. This page explains how to manage certificate renewals with kubeadm. It also covers other tasks related to kubeadm certificate management.The Kubernetes project recommends upgrading to the latest patch releases promptly, and to ensure that you are running a supported minor release of Kubernetes. Following this recommendation helps you to stay secure.Before you beginYou should be familiar with PKI certificates and requirements in Kubernetes.You should be familiar with how to pass a configuration file to the kubeadm commands.This guide covers the usage of the openssl command (used for manual certificate signing, if you choose that approach), but you can use your preferred tools.Some of the steps here use sudo for administrator access. You can use any equivalent tool.Using custom certificatesBy default, kubeadm generates all the certificates needed for a cluster to run. You can override this behavior by providing your own certificates.To do so, you must place them in whatever directory is specified by the --cert-dir flag or the certificatesDir field of kubeadm's ClusterConfiguration. By default this is /etc/kubernetes/pki.If a given certificate and private key pair exists before running kubeadm init, kubeadm does not overwrite them. This means you can, for example, copy an existing CA into /etc/kubernetes/pki/ca.crt and /etc/kubernetes/pki/ca.key, and kubeadm will use this CA for signing the rest of the certificates.Choosing an encryption algorithmkubeadm allows you to choose an encryption algorithm that is used for creating public and private keys. That can be done by using the encryptionAlgorithm field of the kubeadm configuration:apiVersion: kubeadm.k8s.io/v1beta4 kind: ClusterConfiguration encryptionAlgorithm: <ALGORITHM> <ALGORITHM> can be one of RSA-2048 (default), RSA-3072, RSA-4096 or ECDSA-P256.Choosing certificate validity periodkubeadm allows you to choose the validity period of CA and leaf certificates. That can be done by using the certificateValidityPeriod and caCertificateValidityPeriod fields of the kubeadm configuration:apiVersion: kubeadm.k8s.io/v1beta4 kind: ClusterConfiguration certificateValidityPeriod: 8760h # Default: 365 days × 24 hours = 1 year caCertificateValidityPeriod: 87600h # Default: 365 days × 24 hours * 10 = 10 years The values of the fields follow the accepted format for Go's time.Duration values, with the longest supported unit being h (hours).External CA modeIt is also possible to provide only the ca.crt file and not the ca.key file (this is only available for the root CA file, not other cert pairs). If all other certificates and kubeconfig files are in place, kubeadm recognizes this condition and activates the \"External CA\" mode. kubeadm will proceed without the CA key on disk.Instead, run the controller-manager standalone with --controllers=csrsigner and point to the CA certifi",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_qa_15055"
  },
  {
    "question": "What are the benefits of Certificate Management with kubeadm?",
    "answer": "Certificate Management with kubeadmFEATURE STATE: Kubernetes v1.15 [stable]Client certificates generated by kubeadm expire after 1 year. This page explains how to manage certificate renewals with kubeadm. It also covers other tasks related to kubeadm certificate management.The Kubernetes project recommends upgrading to the latest patch releases promptly, and to ensure that you are running a supported minor release of Kubernetes. Following this recommendation helps you to stay secure.Before you beginYou should be familiar with PKI certificates and requirements in Kubernetes.You should be familiar with how to pass a configuration file to the kubeadm commands.This guide covers the usage of the openssl command (used for manual certificate signing, if you choose that approach), but you can use your preferred tools.Some of the steps here use sudo for administrator access. You can use any equivalent tool.Using custom certificatesBy default, kubeadm generates all the certificates needed for a cluster to run. You can override this behavior by providing your own certificates.To do so, you must place them in whatever directory is specified by the --cert-dir flag or the certificatesDir field of kubeadm's ClusterConfiguration. By default this is /etc/kubernetes/pki.If a given certificate and private key pair exists before running kubeadm init, kubeadm does not overwrite them. This means you can, for example, copy an existing CA into /etc/kubernetes/pki/ca.crt and /etc/kubernetes/pki/ca.key, and kubeadm will use this CA for signing the rest of the certificates.Choosing an encryption algorithmkubeadm allows you to choose an encryption algorithm that is used for creating public and private keys. That can be done by using the encryptionAlgorithm field of the kubeadm configuration:apiVersion: kubeadm.k8s.io/v1beta4 kind: ClusterConfiguration encryptionAlgorithm: <ALGORITHM> <ALGORITHM> can be one of RSA-2048 (default), RSA-3072, RSA-4096 or ECDSA-P256.Choosing certificate validity periodkubeadm allows you to choose the validity period of CA and leaf certificates. That can be done by using the certificateValidityPeriod and caCertificateValidityPeriod fields of the kubeadm configuration:apiVersion: kubeadm.k8s.io/v1beta4 kind: ClusterConfiguration certificateValidityPeriod: 8760h # Default: 365 days × 24 hours = 1 year caCertificateValidityPeriod: 87600h # Default: 365 days × 24 hours * 10 = 10 years The values of the fields follow the accepted format for Go's time.Duration values, with the longest supported unit being h (hours).External CA modeIt is also possible to provide only the ca.crt file and not the ca.key file (this is only available for the root CA file, not other cert pairs). If all other certificates and kubeconfig files are in place, kubeadm recognizes this condition and activates the \"External CA\" mode. kubeadm will proceed without the CA key on disk.Instead, run the controller-manager standalone with --controllers=csrsigner and point to the CA certifi",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_qa_15056"
  },
  {
    "question": "What is Certificate Management with kubeadm?",
    "answer": "C l i e n t   c e r t i f i c a t e s   g e n e r a t e d   b y   k u b e a d m   e x p i r e   a f t e r   1   y e a r .   T h i s   p a g e   e x p l a i n s   h o w   t o   m a n a g e   c e r t i f i c a t e   r e n e w a l s   w i t h   k u b e a d m .   I t   a l s o   c o v e r s   o t h e r   t a s k s   r e l a t e d   t o   k u b e a d m   c e r t i f i c a t e   m a n a g e m e n t .   T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   u p g r a d i n g   t o   t h e   l a t e s t   p a t c h   r e l e a s e s   p r o m p t l y ,   a n d   t o   e n s u r e   t h a t   y o u   a r e   r u n n i n g   a   s u p p o r t e d   m i n o r   r e l e a s e   o f   K u b e r n e t e s .   F o l l o w i n g   t h i s   r e c o m m e n d a t i o n   h e l p s   y o u   t o   s t a y   s e c u r e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_1_15057"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   s h o u l d   b e   f a m i l i a r   w i t h   P K I   c e r t i f i c a t e s   a n d   r e q u i r e m e n t s   i n   K u b e r n e t e s .   Y o u   s h o u l d   b e   f a m i l i a r   w i t h   h o w   t o   p a s s   a   c o n f i g u r a t i o n   f i l e   t o   t h e   k u b e a d m   c o m m a n d s .   T h i s   g u i d e   c o v e r s   t h e   u s a g e   o f   t h e   o p e n s s l   c o m m a n d   ( u s e d   f o r   m a n u a l   c e r t i f i c a t e   s i g n i n g ,   i f   y o u   c h o o s e   t h a t   a p p r o a c h ) ,   b u t   y o u   c a n   u s e   y o u r   p r e f e r r e d   t o o l s .   S o m e   o f   t h e   s t e p s   h e r e   u s e   s u d o   f o r   a d m i n i s t r a t o r   a c c e s s .   Y o u   c a n   u s e   a n y   e q u i v a l e n t   t o o l .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_2_15058"
  },
  {
    "question": "What is Using custom certificates?",
    "answer": "B y   d e f a u l t ,   k u b e a d m   g e n e r a t e s   a l l   t h e   c e r t i f i c a t e s   n e e d e d   f o r   a   c l u s t e r   t o   r u n .   Y o u   c a n   o v e r r i d e   t h i s   b e h a v i o r   b y   p r o v i d i n g   y o u r   o w n   c e r t i f i c a t e s .   T o   d o   s o ,   y o u   m u s t   p l a c e   t h e m   i n   w h a t e v e r   d i r e c t o r y   i s   s p e c i f i e d   b y   t h e   - - c e r t - d i r   f l a g   o r   t h e   c e r t i f i c a t e s D i r   f i e l d   o f   k u b e a d m ' s   C l u s t e r C o n f i g u r a t i o n .   B y   d e f a u l t   t h i s   i s   / e t c / k u b e r n e t e s / p k i .   I f   a   g i v e n   c e r t i f i c a t e   a n d   p r i v a t e   k e y   p a i r   e x i s t s   b e f o r e   r u n n i n g   k u b e a d m   i n i t ,   k u b e a d m   d o e s   n o t   o v e r w r i t e   t h e m .   T h i s   m e a n s   y o u   c a n ,   f o r   e x a m p l e ,   c o p y   a n   e x i s t i n g   C A   i n t o   / e t c / k u b e r n e t e s / p k i / c a . c r t   a n d   / e t c / k u b e r n e t e s / p k i / c a . k e y ,   a n d   k u b e a d m   w i l l   u s e   t h i s   C A   f o r   s i g n i n g   t h e   r e s t   o f   t h e   c e r t i f i c a t e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_2_15059"
  },
  {
    "question": "What is Choosing an encryption algorithm?",
    "answer": "k u b e a d m   a l l o w s   y o u   t o   c h o o s e   a n   e n c r y p t i o n   a l g o r i t h m   t h a t   i s   u s e d   f o r   c r e a t i n g   p u b l i c   a n d   p r i v a t e   k e y s .   T h a t   c a n   b e   d o n e   b y   u s i n g   t h e   e n c r y p t i o n A l g o r i t h m   f i e l d   o f   t h e   k u b e a d m   c o n f i g u r a t i o n :   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   C l u s t e r C o n f i g u r a t i o n   e n c r y p t i o n A l g o r i t h m :   < A L G O R I T H M >   < A L G O R I T H M >   c a n   b e   o n e   o f   R S A - 2 0 4 8   ( d e f a u l t ) ,   R S A - 3 0 7 2 ,   R S A - 4 0 9 6   o r   E C D S A - P 2 5 6 .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_2_15060"
  },
  {
    "question": "What is Choosing certificate validity period?",
    "answer": "k u b e a d m   a l l o w s   y o u   t o   c h o o s e   t h e   v a l i d i t y   p e r i o d   o f   C A   a n d   l e a f   c e r t i f i c a t e s .   T h a t   c a n   b e   d o n e   b y   u s i n g   t h e   c e r t i f i c a t e V a l i d i t y P e r i o d   a n d   c a C e r t i f i c a t e V a l i d i t y P e r i o d   f i e l d s   o f   t h e   k u b e a d m   c o n f i g u r a t i o n :   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   C l u s t e r C o n f i g u r a t i o n   c e r t i f i c a t e V a l i d i t y P e r i o d :   8 7 6 0 h   #   D e f a u l t :   3 6 5   d a y s   ×   2 4   h o u r s   =   1   y e a r   c a C e r t i f i c a t e V a l i d i t y P e r i o d :   8 7 6 0 0 h   #   D e f a u l t :   3 6 5   d a y s   ×   2 4   h o u r s   *   1 0   =   1 0   y e a r s   T h e   v a l u e s   o f   t h e   f i e l d s   f o l l o w   t h e   a c c e p t e d   f o r m a t   f o r   G o ' s   t i m e . D u r a t i o n   v a l u e s ,   w i t h   t h e   l o n g e s t   s u p p o r t e d   u n i t   b e i n g   h   ( h o u r s ) .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_2_15061"
  },
  {
    "question": "What is External CA mode?",
    "answer": "I t   i s   a l s o   p o s s i b l e   t o   p r o v i d e   o n l y   t h e   c a . c r t   f i l e   a n d   n o t   t h e   c a . k e y   f i l e   ( t h i s   i s   o n l y   a v a i l a b l e   f o r   t h e   r o o t   C A   f i l e ,   n o t   o t h e r   c e r t   p a i r s ) .   I f   a l l   o t h e r   c e r t i f i c a t e s   a n d   k u b e c o n f i g   f i l e s   a r e   i n   p l a c e ,   k u b e a d m   r e c o g n i z e s   t h i s   c o n d i t i o n   a n d   a c t i v a t e s   t h e   \" E x t e r n a l   C A \"   m o d e .   k u b e a d m   w i l l   p r o c e e d   w i t h o u t   t h e   C A   k e y   o n   d i s k .   I n s t e a d ,   r u n   t h e   c o n t r o l l e r - m a n a g e r   s t a n d a l o n e   w i t h   - - c o n t r o l l e r s = c s r s i g n e r   a n d   p o i n t   t o   t h e   C A   c e r t i f i c a t e   a n d   k e y .   T h e r e   a r e   v a r i o u s   w a y s   t o   p r e p a r e   t h e   c o m p o n e n t   c r e d e n t i a l s   w h e n   u s i n g   e x t e r n a l   C A   m o d e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_2_15062"
  },
  {
    "question": "What is Manual preparation of component credentials?",
    "answer": "P K I   c e r t i f i c a t e s   a n d   r e q u i r e m e n t s   i n c l u d e s   i n f o r m a t i o n   o n   h o w   t o   p r e p a r e   a l l   t h e   r e q u i r e d   b y   k u b e a d m   c o m p o n e n t   c r e d e n t i a l s   m a n u a l l y .   T h i s   g u i d e   c o v e r s   t h e   u s a g e   o f   t h e   o p e n s s l   c o m m a n d   ( u s e d   f o r   m a n u a l   c e r t i f i c a t e   s i g n i n g ,   i f   y o u   c h o o s e   t h a t   a p p r o a c h ) ,   b u t   y o u   c a n   u s e   y o u r   p r e f e r r e d   t o o l s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_3_15063"
  },
  {
    "question": "What is Preparation of credentials by signing CSRs generated by kubeadm?",
    "answer": "k u b e a d m   c a n   g e n e r a t e   C S R   f i l e s   t h a t   y o u   c a n   s i g n   m a n u a l l y   w i t h   t o o l s   l i k e   o p e n s s l   a n d   y o u r   e x t e r n a l   C A .   T h e s e   C S R   f i l e s   w i l l   i n c l u d e   a l l   t h e   s p e c i f i c a t i o n   f o r   c r e d e n t i a l s   t h a t   c o m p o n e n t s   d e p l o y e d   b y   k u b e a d m   r e q u i r e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_3_15064"
  },
  {
    "question": "What is Automated preparation of component credentials by using kubeadm phases?",
    "answer": "A l t e r n a t i v e l y ,   i t   i s   p o s s i b l e   t o   u s e   k u b e a d m   p h a s e   c o m m a n d s   t o   a u t o m a t e   t h i s   p r o c e s s .   G o   t o   a   h o s t   t h a t   y o u   w a n t   t o   p r e p a r e   a s   a   k u b e a d m   c o n t r o l   p l a n e   n o d e   w i t h   e x t e r n a l   C A . C o p y   t h e   e x t e r n a l   C A   f i l e s   c a . c r t   a n d   c a . k e y   t h a t   y o u   h a v e   i n t o   / e t c / k u b e r n e t e s / p k i   o n   t h e   n o d e . P r e p a r e   a   t e m p o r a r y   k u b e a d m   c o n f i g u r a t i o n   f i l e   c a l l e d   c o n f i g . y a m l   t h a t   c a n   b e   u s e d   w i t h   k u b e a d m   i n i t .   M a k e   s u r e   t h a t   t h i s   f i l e   i n c l u d e s   a n y   r e l e v a n t   c l u s t e r   w i d e   o r   h o s t - s p e c i f i c   i n f o r m a t i o n   t h a t   c o u l d   b e   i n c l u d e d   i n   c e r t i f i c a t e s ,   s u c h   a s ,   C l u s t e r C o n f i g u r a t i o n . c o n t r o l P l a n e E n d p o i n t ,   C l u s t e r C o n f i g u r a t i o n . c e r t S A N s   a n d   I n i t C o n f i g u r a t i o n . A P I E n d p o i n t . O n   t h e   s a m e   h o s t   e x e c u t e   t h e   c o m m a n d s   k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   a l l   - - c o n f i g   c o n f i g . y a m l   a n d   k u b e a d m   i n i t   p h a s e   c e r t s   a l l   - - c o n f i g   c o n f i g . y a m l .   T h i s   w i l l   g e n e r a t e   a l l   r e q u i r e d   k u b e c o n f i g   f i l e s   a n d   c e r t i f i c a t e s   u n d e r   / e t c / k u b e r n e t e s /   a n d   i t s   p k i   s u b   d i r e c t o r y . I n s p e c t   t h e   g e n e r a t e d   f i l e s .   D e l e t e   / e t c / k u b e r n e t e s / p k i / c a . k e y ,   d e l e t e   o r   m o v e   t o   a   s a f e   l o c a t i o n   t h e   f i l e   / e t c / k u b e r n e t e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_3_15065"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   u s e   t h e   c h e c k - e x p i r a t i o n   s u b c o m m a n d   t o   c h e c k   w h e n   c e r t i f i c a t e s   e x p i r e :   k u b e a d m   c e r t s   c h e c k - e x p i r a t i o n   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   C E R T I F I C A T E   E X P I R E S   R E S I D U A L   T I M E   C E R T I F I C A T E   A U T H O R I T Y   E X T E R N A L L Y   M A N A G E D   a d m i n . c o n f   D e c   3 0 ,   2 0 2 0   2 3 : 3 6   U T C   3 6 4 d   n o   a p i s e r v e r   D e c   3 0 ,   2 0 2 0   2 3 : 3 6   U T C   3 6 4 d   c a   n o   a p i s e r v e r - e t c d - c l i e n t   D e c   3 0 ,   2 0 2 0   2 3 : 3 6   U T C   3 6 4 d   e t c d - c a   n o   a p i s e r v e r - k u b e l e t - c l i e n t   D e c   3 0 ,   2 0 2 0   2 3 : 3 6   U T C   3 6 4 d   c a   n o   c o n t r o l l e r - m a n a g e r . c o n f   D e c   3 0 ,   2 0 2 0   2 3 : 3 6   U T C   3 6 4 d   n o   e t c d - h e a l t h c h e c k - c l i e n t   D e c   3 0 ,   2 0 2 0   2 3 : 3 6   U T C   3 6 4 d   e t c d - c a   n o   e t c d - p e e r   D e c   3 0 ,   2 0 2 0   2 3 : 3 6   U T C   3 6 4 d   e t c d - c a   n o   e t c d - s e r v e r   D e c   3 0 ,   2 0 2 0   2 3 : 3 6   U T C   3 6 4 d   e t c d - c a   n o   f r o n t - p r o x y - c l i e n t   D e c   3 0 ,   2 0 2 0   2 3 : 3 6   U T C   3 6 4 d   f r o n t - p r o x y - c a   n o   s c h e d u l e r . c o n f   D e c   3 0 ,   2 0 2 0   2 3 : 3 6   U T C   3 6 4 d   n o   C E R T I F I C A T E   A U T H O R I T Y   E X P I R E S   R E S I D U A L   T I M E   E X T E R N A L L Y   M A N A G E D   c a   D e c   2 8 ,   2 0 2 9   2 3 : 3 6   U T C   9 y   n o   e t c d - c a   D e c   2 8 ,   2 0 2 9   2 3 : 3 6   U T C   9 y   n o   f r o n t - p r o x y - c a   D e c   2 8 ,   2 0 2 9   2 3 : 3 6   U T C   9 y   n o   T h e   c o m m a n d   s h o w s   e x p i r a t i o n / r e s i d u a l   t i m e   f o r   t h e   c l i e n t   c e r t i f i c a t e s   i n ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_4_15066"
  },
  {
    "question": "What is Note:?",
    "answer": "O n   n o d e s   c r e a t e d   w i t h   k u b e a d m   i n i t   f r o m   v e r s i o n s   p r i o r   t o   k u b e a d m   v e r s i o n   1 . 1 7 ,   t h e r e   i s   a   b u g   w h e r e   y o u   m a n u a l l y   h a v e   t o   m o d i f y   t h e   c o n t e n t s   o f   k u b e l e t . c o n f .   A f t e r   k u b e a d m   i n i t   f i n i s h e s ,   y o u   s h o u l d   u p d a t e   k u b e l e t . c o n f   t o   p o i n t   t o   t h e   r o t a t e d   k u b e l e t   c l i e n t   c e r t i f i c a t e s ,   b y   r e p l a c i n g   c l i e n t - c e r t i f i c a t e - d a t a   a n d   c l i e n t - k e y - d a t a   w i t h :   c l i e n t - c e r t i f i c a t e :   / v a r / l i b / k u b e l e t / p k i / k u b e l e t - c l i e n t - c u r r e n t . p e m   c l i e n t - k e y :   / v a r / l i b / k u b e l e t / p k i / k u b e l e t - c l i e n t - c u r r e n t . p e m",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_4_15067"
  },
  {
    "question": "What is Automatic certificate renewal?",
    "answer": "k u b e a d m   r e n e w s   a l l   t h e   c e r t i f i c a t e s   d u r i n g   c o n t r o l   p l a n e   u p g r a d e .   T h i s   f e a t u r e   i s   d e s i g n e d   f o r   a d d r e s s i n g   t h e   s i m p l e s t   u s e   c a s e s ;   i f   y o u   d o n ' t   h a v e   s p e c i f i c   r e q u i r e m e n t s   o n   c e r t i f i c a t e   r e n e w a l   a n d   p e r f o r m   K u b e r n e t e s   v e r s i o n   u p g r a d e s   r e g u l a r l y   ( l e s s   t h a n   1   y e a r   i n   b e t w e e n   e a c h   u p g r a d e ) ,   k u b e a d m   w i l l   t a k e   c a r e   o f   k e e p i n g   y o u r   c l u s t e r   u p   t o   d a t e   a n d   r e a s o n a b l y   s e c u r e .   I f   y o u   h a v e   m o r e   c o m p l e x   r e q u i r e m e n t s   f o r   c e r t i f i c a t e   r e n e w a l ,   y o u   c a n   o p t   o u t   f r o m   t h e   d e f a u l t   b e h a v i o r   b y   p a s s i n g   - - c e r t i f i c a t e - r e n e w a l = f a l s e   t o   k u b e a d m   u p g r a d e   a p p l y   o r   t o   k u b e a d m   u p g r a d e   n o d e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_2_15068"
  },
  {
    "question": "What is Manual certificate renewal?",
    "answer": "Y o u   c a n   r e n e w   y o u r   c e r t i f i c a t e s   m a n u a l l y   a t   a n y   t i m e   w i t h   t h e   k u b e a d m   c e r t s   r e n e w   c o m m a n d ,   w i t h   t h e   a p p r o p r i a t e   c o m m a n d   l i n e   o p t i o n s .   I f   y o u   a r e   r u n n i n g   c l u s t e r   w i t h   a   r e p l i c a t e d   c o n t r o l   p l a n e ,   t h i s   c o m m a n d   n e e d s   t o   b e   e x e c u t e d   o n   a l l   t h e   c o n t r o l - p l a n e   n o d e s .   T h i s   c o m m a n d   p e r f o r m s   t h e   r e n e w a l   u s i n g   C A   ( o r   f r o n t - p r o x y - C A )   c e r t i f i c a t e   a n d   k e y   s t o r e d   i n   / e t c / k u b e r n e t e s / p k i .   k u b e a d m   c e r t s   r e n e w   u s e s   t h e   e x i s t i n g   c e r t i f i c a t e s   a s   t h e   a u t h o r i t a t i v e   s o u r c e   f o r   a t t r i b u t e s   ( C o m m o n   N a m e ,   O r g a n i z a t i o n ,   s u b j e c t   a l t e r n a t i v e   n a m e )   a n d   d o e s   n o t   r e l y   o n   t h e   k u b e a d m - c o n f i g   C o n f i g M a p .   E v e n   s o ,   t h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   k e e p i n g   t h e   s e r v e d   c e r t i f i c a t e   a n d   t h e   a s s o c i a t e d   v a l u e s   i n   t h a t   C o n f i g M a p   s y n c h r o n i z e d ,   t o   a v o i d   a n y   r i s k   o f   c o n f u s i o n .   A f t e r   r u n n i n g   t h e   c o m m a n d   y o u   s h o u l d   r e s t a r t   t h e   c o n t r o l   p l a n e   P o d s .   T h i s   i s   r e q u i r e d   s i n c e   d y n a m i c   c e r t i f i c a t e   r e l o a d   i s   c u r r e n t l y   n o t   s u p p o r t e d   f o r   a l l   c o m p o n e n t s   a n d   c e r t i f i c a t e s .   S t a t i c   P o d s   a r e   m a n a g e d   b y   t h e   l o c a l   k u b e l e t   a n d   n o t   b y   t h e   A P I   S e r v e r ,   t h u s   k u b ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_2_15069"
  },
  {
    "question": "What is Copying the administrator certificate (optional)?",
    "answer": "C l u s t e r s   b u i l t   w i t h   k u b e a d m   o f t e n   c o p y   t h e   a d m i n . c o n f   c e r t i f i c a t e   i n t o   $ H O M E / . k u b e / c o n f i g ,   a s   i n s t r u c t e d   i n   C r e a t i n g   a   c l u s t e r   w i t h   k u b e a d m .   O n   s u c h   a   s y s t e m ,   t o   u p d a t e   t h e   c o n t e n t s   o f   $ H O M E / . k u b e / c o n f i g   a f t e r   r e n e w i n g   t h e   a d m i n . c o n f ,   y o u   c o u l d   r u n   t h e   f o l l o w i n g   c o m m a n d s :   s u d o   c p   - i   / e t c / k u b e r n e t e s / a d m i n . c o n f   $ H O M E / . k u b e / c o n f i g   s u d o   c h o w n   $ ( i d   - u ) : $ ( i d   - g )   $ H O M E / . k u b e / c o n f i g",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_3_15070"
  },
  {
    "question": "What is Renew certificates with the Kubernetes certificates API?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   m o r e   d e t a i l s   a b o u t   h o w   t o   e x e c u t e   m a n u a l   c e r t i f i c a t e   r e n e w a l   u s i n g   t h e   K u b e r n e t e s   c e r t i f i c a t e s   A P I .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_2_15071"
  },
  {
    "question": "What is Set up a signer?",
    "answer": "T h e   K u b e r n e t e s   C e r t i f i c a t e   A u t h o r i t y   d o e s   n o t   w o r k   o u t   o f   t h e   b o x .   Y o u   c a n   c o n f i g u r e   a n   e x t e r n a l   s i g n e r   s u c h   a s   c e r t - m a n a g e r ,   o r   y o u   c a n   u s e   t h e   b u i l t - i n   s i g n e r .   T h e   b u i l t - i n   s i g n e r   i s   p a r t   o f   k u b e - c o n t r o l l e r - m a n a g e r .   T o   a c t i v a t e   t h e   b u i l t - i n   s i g n e r ,   y o u   m u s t   p a s s   t h e   - - c l u s t e r - s i g n i n g - c e r t - f i l e   a n d   - - c l u s t e r - s i g n i n g - k e y - f i l e   f l a g s .   I f   y o u ' r e   c r e a t i n g   a   n e w   c l u s t e r ,   y o u   c a n   u s e   a   k u b e a d m   c o n f i g u r a t i o n   f i l e :   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   C l u s t e r C o n f i g u r a t i o n   c o n t r o l l e r M a n a g e r :   e x t r a A r g s :   -   n a m e :   \" c l u s t e r - s i g n i n g - c e r t - f i l e \"   v a l u e :   \" / e t c / k u b e r n e t e s / p k i / c a . c r t \"   -   n a m e :   \" c l u s t e r - s i g n i n g - k e y - f i l e \"   v a l u e :   \" / e t c / k u b e r n e t e s / p k i / c a . k e y \"",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_3_15072"
  },
  {
    "question": "What is Create certificate signing requests (CSR)?",
    "answer": "S e e   C r e a t e   C e r t i f i c a t e S i g n i n g R e q u e s t   f o r   c r e a t i n g   C S R s   w i t h   t h e   K u b e r n e t e s   A P I .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_3_15073"
  },
  {
    "question": "What is Renew certificates with external CA?",
    "answer": "T h i s   s e c t i o n   p r o v i d e   m o r e   d e t a i l s   a b o u t   h o w   t o   e x e c u t e   m a n u a l   c e r t i f i c a t e   r e n e w a l   u s i n g   a n   e x t e r n a l   C A .   T o   b e t t e r   i n t e g r a t e   w i t h   e x t e r n a l   C A s ,   k u b e a d m   c a n   a l s o   p r o d u c e   c e r t i f i c a t e   s i g n i n g   r e q u e s t s   ( C S R s ) .   A   C S R   r e p r e s e n t s   a   r e q u e s t   t o   a   C A   f o r   a   s i g n e d   c e r t i f i c a t e   f o r   a   c l i e n t .   I n   k u b e a d m   t e r m s ,   a n y   c e r t i f i c a t e   t h a t   w o u l d   n o r m a l l y   b e   s i g n e d   b y   a n   o n - d i s k   C A   c a n   b e   p r o d u c e d   a s   a   C S R   i n s t e a d .   A   C A ,   h o w e v e r ,   c a n n o t   b e   p r o d u c e d   a s   a   C S R .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_2_15074"
  },
  {
    "question": "What is Renewal by using certificate signing requests (CSR)?",
    "answer": "R e n e w a l   o f   c e r i t f i c a t e s   i s   p o s s i b l e   b y   g e n e r a t i n g   n e w   C S R s   a n d   s i g n i n g   t h e m   w i t h   t h e   e x t e r n a l   C A .   F o r   m o r e   d e t a i l s   a b o u t   w o r k i n g   w i t h   C S R s   g e n e r a t e d   b y   k u b e a d m   s e e   t h e   s e c t i o n   S i g n i n g   c e r t i f i c a t e   s i g n i n g   r e q u e s t s   ( C S R )   g e n e r a t e d   b y   k u b e a d m .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_3_15075"
  },
  {
    "question": "What is Certificate authority (CA) rotation?",
    "answer": "K u b e a d m   d o e s   n o t   s u p p o r t   r o t a t i o n   o r   r e p l a c e m e n t   o f   C A   c e r t i f i c a t e s   o u t   o f   t h e   b o x .   F o r   m o r e   i n f o r m a t i o n   a b o u t   m a n u a l   r o t a t i o n   o r   r e p l a c e m e n t   o f   C A ,   s e e   m a n u a l   r o t a t i o n   o f   C A   c e r t i f i c a t e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_2_15076"
  },
  {
    "question": "What is Enabling signed kubelet serving certificates?",
    "answer": "B y   d e f a u l t   t h e   k u b e l e t   s e r v i n g   c e r t i f i c a t e   d e p l o y e d   b y   k u b e a d m   i s   s e l f - s i g n e d .   T h i s   m e a n s   a   c o n n e c t i o n   f r o m   e x t e r n a l   s e r v i c e s   l i k e   t h e   m e t r i c s - s e r v e r   t o   a   k u b e l e t   c a n n o t   b e   s e c u r e d   w i t h   T L S .   T o   c o n f i g u r e   t h e   k u b e l e t s   i n   a   n e w   k u b e a d m   c l u s t e r   t o   o b t a i n   p r o p e r l y   s i g n e d   s e r v i n g   c e r t i f i c a t e s   y o u   m u s t   p a s s   t h e   f o l l o w i n g   m i n i m a l   c o n f i g u r a t i o n   t o   k u b e a d m   i n i t :   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   C l u s t e r C o n f i g u r a t i o n   - - -   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   s e r v e r T L S B o o t s t r a p :   t r u e   I f   y o u   h a v e   a l r e a d y   c r e a t e d   t h e   c l u s t e r   y o u   m u s t   a d a p t   i t   b y   d o i n g   t h e   f o l l o w i n g :   F i n d   a n d   e d i t   t h e   k u b e l e t - c o n f i g   C o n f i g M a p   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   I n   t h a t   C o n f i g M a p ,   t h e   k u b e l e t   k e y   h a s   a   K u b e l e t C o n f i g u r a t i o n   d o c u m e n t   a s   i t s   v a l u e .   E d i t   t h e   K u b e l e t C o n f i g u r a t i o n   d o c u m e n t   t o   s e t   s e r v e r T L S B o o t s t r a p :   t r u e . O n   e a c h   n o d e ,   a d d   t h e   s e r v e r T L S B o o t s t r a p :   t r u e   f i e l d   i n   / v a r / l i b / k u b e l e t / c o n f i g . y a m l   a n d   r e s t a r t   t h e   k u b e l e t   w i t h   s y s t e m c t l   r e s t a r t   k u b e l e t   T h e   f i e l d   s e r v e r T L S B o o t s t r a p :   t r u ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_2_15077"
  },
  {
    "question": "What is Generating kubeconfig files for additional users?",
    "answer": "D u r i n g   c l u s t e r   c r e a t i o n ,   k u b e a d m   i n i t   s i g n s   t h e   c e r t i f i c a t e   i n   t h e   s u p e r - a d m i n . c o n f   t o   h a v e   S u b j e c t :   O   =   s y s t e m : m a s t e r s ,   C N   =   k u b e r n e t e s - s u p e r - a d m i n .   s y s t e m : m a s t e r s   i s   a   b r e a k - g l a s s ,   s u p e r   u s e r   g r o u p   t h a t   b y p a s s e s   t h e   a u t h o r i z a t i o n   l a y e r   ( f o r   e x a m p l e ,   R B A C ) .   T h e   f i l e   a d m i n . c o n f   i s   a l s o   c r e a t e d   b y   k u b e a d m   o n   c o n t r o l   p l a n e   n o d e s   a n d   i t   c o n t a i n s   a   c e r t i f i c a t e   w i t h   S u b j e c t :   O   =   k u b e a d m : c l u s t e r - a d m i n s ,   C N   =   k u b e r n e t e s - a d m i n .   k u b e a d m : c l u s t e r - a d m i n s   i s   a   g r o u p   l o g i c a l l y   b e l o n g i n g   t o   k u b e a d m .   I f   y o u r   c l u s t e r   u s e s   R B A C   ( t h e   k u b e a d m   d e f a u l t ) ,   t h e   k u b e a d m : c l u s t e r - a d m i n s   g r o u p   i s   b o u n d   t o   t h e   c l u s t e r - a d m i n   C l u s t e r R o l e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_2_15078"
  },
  {
    "question": "What is Warning:?",
    "answer": "Y o u   c a n   u s e   t h e   k u b e a d m   k u b e c o n f i g   u s e r   c o m m a n d   t o   g e n e r a t e   k u b e c o n f i g   f i l e s   f o r   a d d i t i o n a l   u s e r s .   T h e   c o m m a n d   a c c e p t s   a   m i x t u r e   o f   c o m m a n d   l i n e   f l a g s   a n d   k u b e a d m   c o n f i g u r a t i o n   o p t i o n s .   T h e   g e n e r a t e d   k u b e c o n f i g   w i l l   b e   w r i t t e n   t o   s t d o u t   a n d   c a n   b e   p i p e d   t o   a   f i l e   u s i n g   k u b e a d m   k u b e c o n f i g   u s e r   . . .   >   s o m e f i l e . c o n f .   E x a m p l e   c o n f i g u r a t i o n   f i l e   t h a t   c a n   b e   u s e d   w i t h   - - c o n f i g :   #   e x a m p l e . y a m l   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   C l u s t e r C o n f i g u r a t i o n   #   W i l l   b e   u s e d   a s   t h e   t a r g e t   \" c l u s t e r \"   i n   t h e   k u b e c o n f i g   c l u s t e r N a m e :   \" k u b e r n e t e s \"   #   W i l l   b e   u s e d   a s   t h e   \" s e r v e r \"   ( I P   o r   D N S   n a m e )   o f   t h i s   c l u s t e r   i n   t h e   k u b e c o n f i g   c o n t r o l P l a n e E n d p o i n t :   \" s o m e - d n s - a d d r e s s : 6 4 4 3 \"   #   T h e   c l u s t e r   C A   k e y   a n d   c e r t i f i c a t e   w i l l   b e   l o a d e d   f r o m   t h i s   l o c a l   d i r e c t o r y   c e r t i f i c a t e s D i r :   \" / e t c / k u b e r n e t e s / p k i \"   M a k e   s u r e   t h a t   t h e s e   s e t t i n g s   m a t c h   t h e   d e s i r e d   t a r g e t   c l u s t e r   s e t t i n g s .   T o   s e e   t h e   s e t t i n g s   o f   a n   e x i s t i n g   c l u s t e r   u s e :   k u b e c t l   g e t   c m   k u b e a d m - c o n f i g   - n   k u b e - s y s t e m   - o = j s o n p a t h = \" { . d a t a . C l u s t e r C o n f i g u r a t i o n } \"   T h e   f o l l o w i n ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_4_15079"
  },
  {
    "question": "What is Signing certificate signing requests (CSR) generated by kubeadm?",
    "answer": "Y o u   c a n   c r e a t e   c e r t i f i c a t e   s i g n i n g   r e q u e s t s   w i t h   k u b e a d m   c e r t s   g e n e r a t e - c s r .   C a l l i n g   t h i s   c o m m a n d   w i l l   g e n e r a t e   . c s r   /   . k e y   f i l e   p a i r s   f o r   r e g u l a r   c e r t i f i c a t e s .   F o r   c e r t i f i c a t e s   e m b e d d e d   i n   k u b e c o n f i g   f i l e s ,   t h e   c o m m a n d   w i l l   g e n e r a t e   a   . c s r   /   . c o n f   p a i r   w h e r e   t h e   k e y   i s   a l r e a d y   e m b e d d e d   i n   t h e   . c o n f   f i l e .   A   C S R   f i l e   c o n t a i n s   a l l   r e l e v a n t   i n f o r m a t i o n   f o r   a   C A   t o   s i g n   a   c e r t i f i c a t e .   k u b e a d m   u s e s   a   w e l l   d e f i n e d   s p e c i f i c a t i o n   f o r   a l l   i t s   c e r t i f i c a t e s   a n d   C S R s .   T h e   d e f a u l t   c e r t i f i c a t e   d i r e c t o r y   i s   / e t c / k u b e r n e t e s / p k i ,   w h i l e   t h e   d e f a u l t   d i r e c t o r y   f o r   k u b e c o n f i g   f i l e s   i s   / e t c / k u b e r n e t e s .   T h e s e   d e f a u l t s   c a n   b e   o v e r r i d d e n   w i t h   t h e   f l a g s   - - c e r t - d i r   a n d   - - k u b e c o n f i g - d i r ,   r e s p e c t i v e l y .   T o   p a s s   c u s t o m   o p t i o n s   t o   k u b e a d m   c e r t s   g e n e r a t e - c s r   u s e   t h e   - - c o n f i g   f l a g ,   w h i c h   a c c e p t s   a   k u b e a d m   c o n f i g u r a t i o n   f i l e ,   s i m i l a r l y   t o   c o m m a n d s   s u c h   a s   k u b e a d m   i n i t .   A n y   s p e c i f i c a t i o n   s u c h   a s   e x t r a   S A N s   a n d   c u s t o m   I P   a d d r e s s e s   m u s t   b e   s t o r e d   i n   t h e   s a m e   c o n f i g u r a t i o n   f i l e   a n d   u s e d   f o r   a l l   r e l e v a n t   k u b e a d m   c o m m a n d s   b y   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_2_15080"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   g u i d e   u s e s   t h e   d e f a u l t   K u b e r n e t e s   d i r e c t o r y   / e t c / k u b e r n e t e s ,   w h i c h   r e q u i r e s   a   s u p e r   u s e r .   I f   y o u   a r e   f o l l o w i n g   t h i s   g u i d e   a n d   a r e   u s i n g   d i r e c t o r i e s   t h a t   y o u   c a n   w r i t e   t o   ( t y p i c a l l y ,   t h i s   m e a n s   r u n n i n g   k u b e a d m   w i t h   - - c e r t - d i r   a n d   - - k u b e c o n f i g - d i r )   t h e n   y o u   c a n   o m i t   t h e   s u d o   c o m m a n d .   Y o u   m u s t   t h e n   c o p y   t h e   f i l e s   t h a t   y o u   p r o d u c e d   o v e r   t o   w i t h i n   t h e   / e t c / k u b e r n e t e s   d i r e c t o r y   s o   t h a t   k u b e a d m   i n i t   o r   k u b e a d m   j o i n   w i l l   f i n d   t h e m .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_4_15081"
  },
  {
    "question": "What is Preparing CA and service account files?",
    "answer": "O n   t h e   p r i m a r y   c o n t r o l   p l a n e   n o d e ,   w h e r e   k u b e a d m   i n i t   w i l l   b e   e x e c u t e d ,   c a l l   t h e   f o l l o w i n g   c o m m a n d s :   s u d o   k u b e a d m   i n i t   p h a s e   c e r t s   c a   s u d o   k u b e a d m   i n i t   p h a s e   c e r t s   e t c d - c a   s u d o   k u b e a d m   i n i t   p h a s e   c e r t s   f r o n t - p r o x y - c a   s u d o   k u b e a d m   i n i t   p h a s e   c e r t s   s a   T h i s   w i l l   p o p u l a t e   t h e   f o l d e r s   / e t c / k u b e r n e t e s / p k i   a n d   / e t c / k u b e r n e t e s / p k i / e t c d   w i t h   a l l   s e l f - s i g n e d   C A   f i l e s   ( c e r t i f i c a t e s   a n d   k e y s )   a n d   s e r v i c e   a c c o u n t   ( p u b l i c   a n d   p r i v a t e   k e y s )   t h a t   k u b e a d m   n e e d s   f o r   a   c o n t r o l   p l a n e   n o d e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_3_15082"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   a r e   u s i n g   a n   e x t e r n a l   C A ,   y o u   m u s t   g e n e r a t e   t h e   s a m e   f i l e s   o u t   o f   b a n d   a n d   m a n u a l l y   c o p y   t h e m   t o   t h e   p r i m a r y   c o n t r o l   p l a n e   n o d e   i n   / e t c / k u b e r n e t e s .   O n c e   a l l   C S R s   a r e   s i g n e d ,   y o u   c a n   d e l e t e   t h e   r o o t   C A   k e y   ( c a . k e y )   a s   n o t e d   i n   t h e   E x t e r n a l   C A   m o d e   s e c t i o n .   F o r   s e c o n d a r y   c o n t r o l   p l a n e   n o d e s   ( k u b e a d m   j o i n   - - c o n t r o l - p l a n e )   t h e r e   i s   n o   n e e d   t o   c a l l   t h e   a b o v e   c o m m a n d s .   D e p e n d i n g   o n   h o w   y o u   s e t u p   t h e   H i g h   A v a i l a b i l i t y   c l u s t e r ,   y o u   e i t h e r   h a v e   t o   m a n u a l l y   c o p y   t h e   s a m e   f i l e s   f r o m   t h e   p r i m a r y   c o n t r o l   p l a n e   n o d e ,   o r   u s e   t h e   a u t o m a t e d   - - u p l o a d - c e r t s   f u n c t i o n a l i t y   o f   k u b e a d m   i n i t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_4_15083"
  },
  {
    "question": "What is Generate CSRs?",
    "answer": "T h e   k u b e a d m   c e r t s   g e n e r a t e - c s r   c o m m a n d   g e n e r a t e s   C S R s   f o r   a l l   k n o w n   c e r t i f i c a t e s   m a n a g e d   b y   k u b e a d m .   O n c e   t h e   c o m m a n d   i s   d o n e   y o u   m u s t   m a n u a l l y   d e l e t e   . c s r ,   . c o n f   o r   . k e y   f i l e s   t h a t   y o u   d o n ' t   n e e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_3_15084"
  },
  {
    "question": "What is Considerations for kubelet.conf?",
    "answer": "T h i s   s e c t i o n   a p p l i e s   t o   b o t h   c o n t r o l   p l a n e   a n d   w o r k e r   n o d e s .   I f   y o u   h a v e   d e l e t e d   t h e   c a . k e y   f i l e   f r o m   c o n t r o l   p l a n e   n o d e s   ( E x t e r n a l   C A   m o d e ) ,   t h e   a c t i v e   k u b e - c o n t r o l l e r - m a n a g e r   i n   t h i s   c l u s t e r   w i l l   n o t   b e   a b l e   t o   s i g n   k u b e l e t   c l i e n t   c e r t i f i c a t e s .   I f   n o   e x t e r n a l   m e t h o d   f o r   s i g n i n g   t h e s e   c e r t i f i c a t e s   e x i s t s   i n   y o u r   s e t u p   ( s u c h   a s   a n   e x t e r n a l   s i g n e r ) ,   y o u   c o u l d   m a n u a l l y   s i g n   t h e   k u b e l e t . c o n f . c s r   a s   e x p l a i n e d   i n   t h i s   g u i d e .   N o t e   t h a t   t h i s   a l s o   m e a n s   t h a t   t h e   a u t o m a t i c   k u b e l e t   c l i e n t   c e r t i f i c a t e   r o t a t i o n   w i l l   b e   d i s a b l e d .   I f   s o ,   c l o s e   t o   c e r t i f i c a t e   e x p i r a t i o n ,   y o u   m u s t   g e n e r a t e   a   n e w   k u b e l e t . c o n f . c s r ,   s i g n   t h e   c e r t i f i c a t e ,   e m b e d   i t   i n   k u b e l e t . c o n f   a n d   r e s t a r t   t h e   k u b e l e t .   I f   t h i s   d o e s   n o t   a p p l y   t o   y o u r   s e t u p ,   y o u   c a n   s k i p   p r o c e s s i n g   t h e   k u b e l e t . c o n f . c s r   o n   s e c o n d a r y   c o n t r o l   p l a n e   a n d   o n   w o r k e r s   n o d e s   ( a l l   n o d e s   t h a t   c a l l   k u b e a d m   j o i n   . . . ) .   T h a t   i s   b e c a u s e   t h e   a c t i v e   k u b e - c o n t r o l l e r - m a n a g e r   w i l l   b e   r e s p o n s i b l e   f o r   s i g n i n g   n e w   k u b e l e t   c l i e n t   c e r t i f i c a t e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_4_15085"
  },
  {
    "question": "What is Control plane nodes?",
    "answer": "E x e c u t e   t h e   f o l l o w i n g   c o m m a n d   o n   p r i m a r y   ( k u b e a d m   i n i t )   a n d   s e c o n d a r y   ( k u b e a d m   j o i n   - - c o n t r o l - p l a n e )   c o n t r o l   p l a n e   n o d e s   t o   g e n e r a t e   a l l   C S R   f i l e s :   s u d o   k u b e a d m   c e r t s   g e n e r a t e - c s r   I f   e x t e r n a l   e t c d   i s   t o   b e   u s e d ,   f o l l o w   t h e   E x t e r n a l   e t c d   w i t h   k u b e a d m   g u i d e   t o   u n d e r s t a n d   w h a t   C S R   f i l e s   a r e   n e e d e d   o n   t h e   k u b e a d m   a n d   e t c d   n o d e s .   O t h e r   . c s r   a n d   . k e y   f i l e s   u n d e r   / e t c / k u b e r n e t e s / p k i / e t c d   c a n   b e   r e m o v e d .   B a s e d   o n   t h e   e x p l a n a t i o n   i n   C o n s i d e r a t i o n s   f o r   k u b e l e t . c o n f   k e e p   o r   d e l e t e   t h e   k u b e l e t . c o n f   a n d   k u b e l e t . c o n f . c s r   f i l e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_4_15086"
  },
  {
    "question": "What is Worker nodes?",
    "answer": "B a s e d   o n   t h e   e x p l a n a t i o n   i n   C o n s i d e r a t i o n s   f o r   k u b e l e t . c o n f ,   o p t i o n a l l y   c a l l :   s u d o   k u b e a d m   c e r t s   g e n e r a t e - c s r   a n d   k e e p   o n l y   t h e   k u b e l e t . c o n f   a n d   k u b e l e t . c o n f . c s r   f i l e s .   A l t e r n a t i v e l y   s k i p   t h e   s t e p s   f o r   w o r k e r   n o d e s   e n t i r e l y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_4_15087"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   a r e   u s i n g   e x t e r n a l   C A   a n d   a l r e a d y   h a v e   C A   s e r i a l   n u m b e r   f i l e s   ( . s r l )   f o r   o p e n s s l ,   y o u   c a n   c o p y   s u c h   f i l e s   t o   a   k u b e a d m   n o d e   w h e r e   C S R s   w i l l   b e   p r o c e s s e d .   T h e   . s r l   f i l e s   t o   c o p y   a r e   / e t c / k u b e r n e t e s / p k i / c a . s r l ,   / e t c / k u b e r n e t e s / p k i / f r o n t - p r o x y - c a . s r l   a n d   / e t c / k u b e r n e t e s / p k i / e t c d / c a . s r l .   T h e   f i l e s   c a n   b e   t h e n   m o v e d   t o   a   n e w   n o d e   w h e r e   C S R   f i l e s   w i l l   b e   p r o c e s s e d .   I f   a   . s r l   f i l e   i s   m i s s i n g   f o r   a   C A   o n   a   n o d e ,   t h e   s c r i p t   b e l o w   w i l l   g e n e r a t e   a   n e w   S R L   f i l e   w i t h   a   r a n d o m   s t a r t i n g   s e r i a l   n u m b e r .   T o   r e a d   m o r e   a b o u t   . s r l   f i l e s   s e e   t h e   o p e n s s l   d o c u m e n t a t i o n   f o r   t h e   - - C A s e r i a l   f l a g .   R e p e a t   t h i s   s t e p   f o r   a l l   n o d e s   t h a t   h a v e   C S R   f i l e s .   W r i t e   t h e   f o l l o w i n g   s c r i p t   i n   t h e   / e t c / k u b e r n e t e s   d i r e c t o r y ,   n a v i g a t e   t o   t h e   d i r e c t o r y   a n d   e x e c u t e   t h e   s c r i p t .   T h e   s c r i p t   w i l l   g e n e r a t e   c e r t i f i c a t e s   f o r   a l l   C S R   f i l e s   t h a t   a r e   p r e s e n t   i n   t h e   / e t c / k u b e r n e t e s   t r e e .   # ! / b i n / b a s h   #   S e t   c e r t i f i c a t e   e x p i r a t i o n   t i m e   i n   d a y s   D A Y S = 3 6 5   #   P r o c e s s   a l l   C S R   f i l e s   e x c e p t   t h o s e   f o r   f r o n t - p r o x y   a n d   e t c d   f i n d   . /   - n a m e   \" * . c s r \"   |   g r ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_4_15088"
  },
  {
    "question": "What is Embedding certificates in kubeconfig files?",
    "answer": "R e p e a t   t h i s   s t e p   f o r   a l l   n o d e s   t h a t   h a v e   C S R   f i l e s .   W r i t e   t h e   f o l l o w i n g   s c r i p t   i n   t h e   / e t c / k u b e r n e t e s   d i r e c t o r y ,   n a v i g a t e   t o   t h e   d i r e c t o r y   a n d   e x e c u t e   t h e   s c r i p t .   T h e   s c r i p t   w i l l   t a k e   t h e   . c r t   f i l e s   t h a t   w e r e   s i g n e d   f o r   k u b e c o n f i g   f i l e s   f r o m   C S R s   i n   t h e   p r e v i o u s   s t e p   a n d   w i l l   e m b e d   t h e m   i n   t h e   k u b e c o n f i g   f i l e s .   # ! / b i n / b a s h   C L U S T E R = k u b e r n e t e s   f i n d   . /   - n a m e   \" * . c o n f \"   |   w h i l e   r e a d   - r   F I L E ;   d o   e c h o   \" *   P r o c e s s i n g   $ { F I L E }   . . . \"   K U B E C O N F I G = \" $ { F I L E } \"   k u b e c t l   c o n f i g   s e t - c l u s t e r   \" $ { C L U S T E R } \"   - - c e r t i f i c a t e - a u t h o r i t y   . / p k i / c a . c r t   - - e m b e d - c e r t s   U S E R = $ ( K U B E C O N F I G = \" $ { F I L E } \"   k u b e c t l   c o n f i g   v i e w   - o   j s o n p a t h = ' { . u s e r s [ 0 ] . n a m e } ' )   K U B E C O N F I G = \" $ { F I L E } \"   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   \" $ { U S E R } \"   - - c l i e n t - c e r t i f i c a t e   \" $ { F I L E } . c r t \"   - - e m b e d - c e r t s   d o n e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_3_15089"
  },
  {
    "question": "What is Performing cleanup?",
    "answer": "P e r f o r m   t h i s   s t e p   o n   a l l   n o d e s   t h a t   h a v e   C S R   f i l e s .   W r i t e   t h e   f o l l o w i n g   s c r i p t   i n   t h e   / e t c / k u b e r n e t e s   d i r e c t o r y ,   n a v i g a t e   t o   t h e   d i r e c t o r y   a n d   e x e c u t e   t h e   s c r i p t .   # ! / b i n / b a s h   #   C l e a n u p   C S R   f i l e s   r m   - f   . / * . c s r   . / p k i / * . c s r   . / p k i / e t c d / * . c s r   #   C l e a n   a l l   C S R   f i l e s   #   C l e a n u p   C R T   f i l e s   t h a t   w e r e   a l r e a d y   e m b e d d e d   i n   k u b e c o n f i g   f i l e s   r m   - f   . / * . c r t   O p t i o n a l l y ,   m o v e   . s r l   f i l e s   t o   t h e   n e x t   n o d e   t o   b e   p r o c e s s e d .   O p t i o n a l l y ,   i f   u s i n g   e x t e r n a l   C A   r e m o v e   t h e   / e t c / k u b e r n e t e s / p k i / c a . k e y   f i l e ,   a s   e x p l a i n e d   i n   t h e   E x t e r n a l   C A   n o d e   s e c t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_3_15090"
  },
  {
    "question": "What is kubeadm node initialization?",
    "answer": "O n c e   C S R   f i l e s   h a v e   b e e n   s i g n e d   a n d   r e q u i r e d   c e r t i f i c a t e s   a r e   i n   p l a c e   o n   t h e   h o s t s   y o u   w a n t   t o   u s e   a s   n o d e s ,   y o u   c a n   u s e   t h e   c o m m a n d s   k u b e a d m   i n i t   a n d   k u b e a d m   j o i n   t o   c r e a t e   a   K u b e r n e t e s   c l u s t e r   f r o m   t h e s e   n o d e s .   D u r i n g   i n i t   a n d   j o i n ,   k u b e a d m   u s e s   e x i s t i n g   c e r t i f i c a t e s ,   e n c r y p t i o n   k e y s   a n d   k u b e c o n f i g   f i l e s   t h a t   i t   f i n d s   i n   t h e   / e t c / k u b e r n e t e s   t r e e   o n   t h e   h o s t ' s   l o c a l   f i l e s y s t e m .   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/",
    "id": "k8s_00677_section_3_15091"
  },
  {
    "question": "What is Set up a High Availability etcd Cluster with kubeadm?",
    "answer": "Set up a High Availability etcd Cluster with kubeadmBy default, kubeadm runs a local etcd instance on each control plane node. It is also possible to treat the etcd cluster as external and provision etcd instances on separate hosts. The differences between the two approaches are covered in the Options for Highly Available topology page.This task walks through the process of creating a high availability external etcd cluster of three members that can be used by kubeadm during cluster creation.Before you beginThree hosts that can talk to each other over TCP ports 2379 and 2380. This document assumes these default ports. However, they are configurable through the kubeadm config file.Each host must have systemd and a bash compatible shell installed.Each host must have a container runtime, kubelet, and kubeadm installed.Each host should have access to the Kubernetes container image registry (registry.k8s.io) or list/pull the required etcd image using kubeadm config images list/pull. This guide will set up etcd instances as static pods managed by a kubelet.Some infrastructure to copy files between hosts. For example ssh and scp can satisfy this requirement.Setting up the clusterThe general approach is to generate all certs on one node and only distribute the necessary files to the other nodes.Note:kubeadm contains all the necessary cryptographic machinery to generate the certificates described below; no other cryptographic tooling is required for this example.Note:The examples below use IPv4 addresses but you can also configure kubeadm, the kubelet and etcd to use IPv6 addresses. Dual-stack is supported by some Kubernetes options, but not by etcd. For more details on Kubernetes dual-stack support see Dual-stack support with kubeadm.Configure the kubelet to be a service manager for etcd.Note:You must do this on every host where etcd should be running.Since etcd was created first, you must override the service priority by creating a new unit file that has higher precedence than the kubeadm-provided kubelet unit file.cat << EOF > /etc/systemd/system/kubelet.service.d/kubelet.conf # Replace \"systemd\" with the cgroup driver of your container runtime. The default value in the kubelet is \"cgroupfs\". # Replace the value of \"containerRuntimeEndpoint\" for a different container runtime if needed. # apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration authentication: anonymous: enabled: false webhook: enabled: false authorization: mode: AlwaysAllow cgroupDriver: systemd address: 127.0.0.1 containerRuntimeEndpoint: unix:///var/run/containerd/containerd.sock staticPodPath: /etc/kubernetes/manifests EOF cat << EOF > /etc/systemd/system/kubelet.service.d/20-etcd-service-manager.conf [Service] ExecStart= ExecStart=/usr/bin/kubelet --config=/etc/systemd/system/kubelet.service.d/kubelet.conf Restart=always EOF systemctl daemon-reload systemctl restart kubelet Check the kubelet status to ensure it is running.systemctl status kubelet Create configuration fi",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/setup-ha-etcd-with-kubeadm/",
    "id": "k8s_00678_qa_15092"
  },
  {
    "question": "How does Set up a High Availability etcd Cluster with kubeadm work?",
    "answer": "Set up a High Availability etcd Cluster with kubeadmBy default, kubeadm runs a local etcd instance on each control plane node. It is also possible to treat the etcd cluster as external and provision etcd instances on separate hosts. The differences between the two approaches are covered in the Options for Highly Available topology page.This task walks through the process of creating a high availability external etcd cluster of three members that can be used by kubeadm during cluster creation.Before you beginThree hosts that can talk to each other over TCP ports 2379 and 2380. This document assumes these default ports. However, they are configurable through the kubeadm config file.Each host must have systemd and a bash compatible shell installed.Each host must have a container runtime, kubelet, and kubeadm installed.Each host should have access to the Kubernetes container image registry (registry.k8s.io) or list/pull the required etcd image using kubeadm config images list/pull. This guide will set up etcd instances as static pods managed by a kubelet.Some infrastructure to copy files between hosts. For example ssh and scp can satisfy this requirement.Setting up the clusterThe general approach is to generate all certs on one node and only distribute the necessary files to the other nodes.Note:kubeadm contains all the necessary cryptographic machinery to generate the certificates described below; no other cryptographic tooling is required for this example.Note:The examples below use IPv4 addresses but you can also configure kubeadm, the kubelet and etcd to use IPv6 addresses. Dual-stack is supported by some Kubernetes options, but not by etcd. For more details on Kubernetes dual-stack support see Dual-stack support with kubeadm.Configure the kubelet to be a service manager for etcd.Note:You must do this on every host where etcd should be running.Since etcd was created first, you must override the service priority by creating a new unit file that has higher precedence than the kubeadm-provided kubelet unit file.cat << EOF > /etc/systemd/system/kubelet.service.d/kubelet.conf # Replace \"systemd\" with the cgroup driver of your container runtime. The default value in the kubelet is \"cgroupfs\". # Replace the value of \"containerRuntimeEndpoint\" for a different container runtime if needed. # apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration authentication: anonymous: enabled: false webhook: enabled: false authorization: mode: AlwaysAllow cgroupDriver: systemd address: 127.0.0.1 containerRuntimeEndpoint: unix:///var/run/containerd/containerd.sock staticPodPath: /etc/kubernetes/manifests EOF cat << EOF > /etc/systemd/system/kubelet.service.d/20-etcd-service-manager.conf [Service] ExecStart= ExecStart=/usr/bin/kubelet --config=/etc/systemd/system/kubelet.service.d/kubelet.conf Restart=always EOF systemctl daemon-reload systemctl restart kubelet Check the kubelet status to ensure it is running.systemctl status kubelet Create configuration fi",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/setup-ha-etcd-with-kubeadm/",
    "id": "k8s_00678_qa_15093"
  },
  {
    "question": "When would you use Set up a High Availability etcd Cluster with kubeadm?",
    "answer": "Set up a High Availability etcd Cluster with kubeadmBy default, kubeadm runs a local etcd instance on each control plane node. It is also possible to treat the etcd cluster as external and provision etcd instances on separate hosts. The differences between the two approaches are covered in the Options for Highly Available topology page.This task walks through the process of creating a high availability external etcd cluster of three members that can be used by kubeadm during cluster creation.Before you beginThree hosts that can talk to each other over TCP ports 2379 and 2380. This document assumes these default ports. However, they are configurable through the kubeadm config file.Each host must have systemd and a bash compatible shell installed.Each host must have a container runtime, kubelet, and kubeadm installed.Each host should have access to the Kubernetes container image registry (registry.k8s.io) or list/pull the required etcd image using kubeadm config images list/pull. This guide will set up etcd instances as static pods managed by a kubelet.Some infrastructure to copy files between hosts. For example ssh and scp can satisfy this requirement.Setting up the clusterThe general approach is to generate all certs on one node and only distribute the necessary files to the other nodes.Note:kubeadm contains all the necessary cryptographic machinery to generate the certificates described below; no other cryptographic tooling is required for this example.Note:The examples below use IPv4 addresses but you can also configure kubeadm, the kubelet and etcd to use IPv6 addresses. Dual-stack is supported by some Kubernetes options, but not by etcd. For more details on Kubernetes dual-stack support see Dual-stack support with kubeadm.Configure the kubelet to be a service manager for etcd.Note:You must do this on every host where etcd should be running.Since etcd was created first, you must override the service priority by creating a new unit file that has higher precedence than the kubeadm-provided kubelet unit file.cat << EOF > /etc/systemd/system/kubelet.service.d/kubelet.conf # Replace \"systemd\" with the cgroup driver of your container runtime. The default value in the kubelet is \"cgroupfs\". # Replace the value of \"containerRuntimeEndpoint\" for a different container runtime if needed. # apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration authentication: anonymous: enabled: false webhook: enabled: false authorization: mode: AlwaysAllow cgroupDriver: systemd address: 127.0.0.1 containerRuntimeEndpoint: unix:///var/run/containerd/containerd.sock staticPodPath: /etc/kubernetes/manifests EOF cat << EOF > /etc/systemd/system/kubelet.service.d/20-etcd-service-manager.conf [Service] ExecStart= ExecStart=/usr/bin/kubelet --config=/etc/systemd/system/kubelet.service.d/kubelet.conf Restart=always EOF systemctl daemon-reload systemctl restart kubelet Check the kubelet status to ensure it is running.systemctl status kubelet Create configuration fi",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/setup-ha-etcd-with-kubeadm/",
    "id": "k8s_00678_qa_15094"
  },
  {
    "question": "What are the benefits of Set up a High Availability etcd Cluster with kubeadm?",
    "answer": "Set up a High Availability etcd Cluster with kubeadmBy default, kubeadm runs a local etcd instance on each control plane node. It is also possible to treat the etcd cluster as external and provision etcd instances on separate hosts. The differences between the two approaches are covered in the Options for Highly Available topology page.This task walks through the process of creating a high availability external etcd cluster of three members that can be used by kubeadm during cluster creation.Before you beginThree hosts that can talk to each other over TCP ports 2379 and 2380. This document assumes these default ports. However, they are configurable through the kubeadm config file.Each host must have systemd and a bash compatible shell installed.Each host must have a container runtime, kubelet, and kubeadm installed.Each host should have access to the Kubernetes container image registry (registry.k8s.io) or list/pull the required etcd image using kubeadm config images list/pull. This guide will set up etcd instances as static pods managed by a kubelet.Some infrastructure to copy files between hosts. For example ssh and scp can satisfy this requirement.Setting up the clusterThe general approach is to generate all certs on one node and only distribute the necessary files to the other nodes.Note:kubeadm contains all the necessary cryptographic machinery to generate the certificates described below; no other cryptographic tooling is required for this example.Note:The examples below use IPv4 addresses but you can also configure kubeadm, the kubelet and etcd to use IPv6 addresses. Dual-stack is supported by some Kubernetes options, but not by etcd. For more details on Kubernetes dual-stack support see Dual-stack support with kubeadm.Configure the kubelet to be a service manager for etcd.Note:You must do this on every host where etcd should be running.Since etcd was created first, you must override the service priority by creating a new unit file that has higher precedence than the kubeadm-provided kubelet unit file.cat << EOF > /etc/systemd/system/kubelet.service.d/kubelet.conf # Replace \"systemd\" with the cgroup driver of your container runtime. The default value in the kubelet is \"cgroupfs\". # Replace the value of \"containerRuntimeEndpoint\" for a different container runtime if needed. # apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration authentication: anonymous: enabled: false webhook: enabled: false authorization: mode: AlwaysAllow cgroupDriver: systemd address: 127.0.0.1 containerRuntimeEndpoint: unix:///var/run/containerd/containerd.sock staticPodPath: /etc/kubernetes/manifests EOF cat << EOF > /etc/systemd/system/kubelet.service.d/20-etcd-service-manager.conf [Service] ExecStart= ExecStart=/usr/bin/kubelet --config=/etc/systemd/system/kubelet.service.d/kubelet.conf Restart=always EOF systemctl daemon-reload systemctl restart kubelet Check the kubelet status to ensure it is running.systemctl status kubelet Create configuration fi",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/setup-ha-etcd-with-kubeadm/",
    "id": "k8s_00678_qa_15095"
  },
  {
    "question": "What is Set up a High Availability etcd Cluster with kubeadm?",
    "answer": "B y   d e f a u l t ,   k u b e a d m   r u n s   a   l o c a l   e t c d   i n s t a n c e   o n   e a c h   c o n t r o l   p l a n e   n o d e .   I t   i s   a l s o   p o s s i b l e   t o   t r e a t   t h e   e t c d   c l u s t e r   a s   e x t e r n a l   a n d   p r o v i s i o n   e t c d   i n s t a n c e s   o n   s e p a r a t e   h o s t s .   T h e   d i f f e r e n c e s   b e t w e e n   t h e   t w o   a p p r o a c h e s   a r e   c o v e r e d   i n   t h e   O p t i o n s   f o r   H i g h l y   A v a i l a b l e   t o p o l o g y   p a g e .   T h i s   t a s k   w a l k s   t h r o u g h   t h e   p r o c e s s   o f   c r e a t i n g   a   h i g h   a v a i l a b i l i t y   e x t e r n a l   e t c d   c l u s t e r   o f   t h r e e   m e m b e r s   t h a t   c a n   b e   u s e d   b y   k u b e a d m   d u r i n g   c l u s t e r   c r e a t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/setup-ha-etcd-with-kubeadm/",
    "id": "k8s_00678_section_1_15096"
  },
  {
    "question": "What is Before you begin?",
    "answer": "T h r e e   h o s t s   t h a t   c a n   t a l k   t o   e a c h   o t h e r   o v e r   T C P   p o r t s   2 3 7 9   a n d   2 3 8 0 .   T h i s   d o c u m e n t   a s s u m e s   t h e s e   d e f a u l t   p o r t s .   H o w e v e r ,   t h e y   a r e   c o n f i g u r a b l e   t h r o u g h   t h e   k u b e a d m   c o n f i g   f i l e . E a c h   h o s t   m u s t   h a v e   s y s t e m d   a n d   a   b a s h   c o m p a t i b l e   s h e l l   i n s t a l l e d . E a c h   h o s t   m u s t   h a v e   a   c o n t a i n e r   r u n t i m e ,   k u b e l e t ,   a n d   k u b e a d m   i n s t a l l e d . E a c h   h o s t   s h o u l d   h a v e   a c c e s s   t o   t h e   K u b e r n e t e s   c o n t a i n e r   i m a g e   r e g i s t r y   ( r e g i s t r y . k 8 s . i o )   o r   l i s t / p u l l   t h e   r e q u i r e d   e t c d   i m a g e   u s i n g   k u b e a d m   c o n f i g   i m a g e s   l i s t / p u l l .   T h i s   g u i d e   w i l l   s e t   u p   e t c d   i n s t a n c e s   a s   s t a t i c   p o d s   m a n a g e d   b y   a   k u b e l e t . S o m e   i n f r a s t r u c t u r e   t o   c o p y   f i l e s   b e t w e e n   h o s t s .   F o r   e x a m p l e   s s h   a n d   s c p   c a n   s a t i s f y   t h i s   r e q u i r e m e n t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/setup-ha-etcd-with-kubeadm/",
    "id": "k8s_00678_section_2_15097"
  },
  {
    "question": "What is Setting up the cluster?",
    "answer": "T h e   g e n e r a l   a p p r o a c h   i s   t o   g e n e r a t e   a l l   c e r t s   o n   o n e   n o d e   a n d   o n l y   d i s t r i b u t e   t h e   n e c e s s a r y   f i l e s   t o   t h e   o t h e r   n o d e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/setup-ha-etcd-with-kubeadm/",
    "id": "k8s_00678_section_2_15098"
  },
  {
    "question": "What is Note:?",
    "answer": "C o n f i g u r e   t h e   k u b e l e t   t o   b e   a   s e r v i c e   m a n a g e r   f o r   e t c d . N o t e : Y o u   m u s t   d o   t h i s   o n   e v e r y   h o s t   w h e r e   e t c d   s h o u l d   b e   r u n n i n g . S i n c e   e t c d   w a s   c r e a t e d   f i r s t ,   y o u   m u s t   o v e r r i d e   t h e   s e r v i c e   p r i o r i t y   b y   c r e a t i n g   a   n e w   u n i t   f i l e   t h a t   h a s   h i g h e r   p r e c e d e n c e   t h a n   t h e   k u b e a d m - p r o v i d e d   k u b e l e t   u n i t   f i l e . c a t   < <   E O F   >   / e t c / s y s t e m d / s y s t e m / k u b e l e t . s e r v i c e . d / k u b e l e t . c o n f   #   R e p l a c e   \" s y s t e m d \"   w i t h   t h e   c g r o u p   d r i v e r   o f   y o u r   c o n t a i n e r   r u n t i m e .   T h e   d e f a u l t   v a l u e   i n   t h e   k u b e l e t   i s   \" c g r o u p f s \" .   #   R e p l a c e   t h e   v a l u e   o f   \" c o n t a i n e r R u n t i m e E n d p o i n t \"   f o r   a   d i f f e r e n t   c o n t a i n e r   r u n t i m e   i f   n e e d e d .   #   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   a u t h e n t i c a t i o n :   a n o n y m o u s :   e n a b l e d :   f a l s e   w e b h o o k :   e n a b l e d :   f a l s e   a u t h o r i z a t i o n :   m o d e :   A l w a y s A l l o w   c g r o u p D r i v e r :   s y s t e m d   a d d r e s s :   1 2 7 . 0 . 0 . 1   c o n t a i n e r R u n t i m e E n d p o i n t :   u n i x : / / / v a r / r u n / c o n t a i n e r d / c o n t a i n e r d . s o c k   s t a t i c P o d P a t h :   / e t c / k u b e r n e t e s / m a n i f e s t s   E O F   c a t   < <   E O F   >   / e t c / s y s t e m d / s y s t e m / k u b e l e t . s e r v i c e . d / 2 0 - e t c d - s e r v i c e - m a n a g e r . c o n f   [ S e r v i c e ]   E x e c S t a r t =   E x e c S t a r t ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/setup-ha-etcd-with-kubeadm/",
    "id": "k8s_00678_section_4_15099"
  },
  {
    "question": "What is Note:?",
    "answer": "c a t   < <   E O F   >   / e t c / s y s t e m d / s y s t e m / k u b e l e t . s e r v i c e . d / k u b e l e t . c o n f   #   R e p l a c e   \" s y s t e m d \"   w i t h   t h e   c g r o u p   d r i v e r   o f   y o u r   c o n t a i n e r   r u n t i m e .   T h e   d e f a u l t   v a l u e   i n   t h e   k u b e l e t   i s   \" c g r o u p f s \" .   #   R e p l a c e   t h e   v a l u e   o f   \" c o n t a i n e r R u n t i m e E n d p o i n t \"   f o r   a   d i f f e r e n t   c o n t a i n e r   r u n t i m e   i f   n e e d e d .   #   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   a u t h e n t i c a t i o n :   a n o n y m o u s :   e n a b l e d :   f a l s e   w e b h o o k :   e n a b l e d :   f a l s e   a u t h o r i z a t i o n :   m o d e :   A l w a y s A l l o w   c g r o u p D r i v e r :   s y s t e m d   a d d r e s s :   1 2 7 . 0 . 0 . 1   c o n t a i n e r R u n t i m e E n d p o i n t :   u n i x : / / / v a r / r u n / c o n t a i n e r d / c o n t a i n e r d . s o c k   s t a t i c P o d P a t h :   / e t c / k u b e r n e t e s / m a n i f e s t s   E O F   c a t   < <   E O F   >   / e t c / s y s t e m d / s y s t e m / k u b e l e t . s e r v i c e . d / 2 0 - e t c d - s e r v i c e - m a n a g e r . c o n f   [ S e r v i c e ]   E x e c S t a r t =   E x e c S t a r t = / u s r / b i n / k u b e l e t   - - c o n f i g = / e t c / s y s t e m d / s y s t e m / k u b e l e t . s e r v i c e . d / k u b e l e t . c o n f   R e s t a r t = a l w a y s   E O F   s y s t e m c t l   d a e m o n - r e l o a d   s y s t e m c t l   r e s t a r t   k u b e l e t   C h e c k   t h e   k u b e l e t   s t a t u s   t o   e n s u r e   i t   i s   r u n n i n g .   s y s t e m c t l   s t a t u s   k u b e l e t   C r e a t e   c o n f i g u r a t i o n   f i l e s   f o r   k u b e a d m .   G e n e r a t e   o n e   k u b e a d m   c o n f i ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/setup-ha-etcd-with-kubeadm/",
    "id": "k8s_00678_section_4_15100"
  },
  {
    "question": "What is What's next?",
    "answer": "O n c e   y o u   h a v e   a n   e t c d   c l u s t e r   w i t h   3   w o r k i n g   m e m b e r s ,   y o u   c a n   c o n t i n u e   s e t t i n g   u p   a   h i g h l y   a v a i l a b l e   c o n t r o l   p l a n e   u s i n g   t h e   e x t e r n a l   e t c d   m e t h o d   w i t h   k u b e a d m .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/setup-ha-etcd-with-kubeadm/",
    "id": "k8s_00678_section_2_15101"
  },
  {
    "question": "What is Binding?",
    "answer": "BindingBinding ties one object to another; for example, a pod is bound to a node by a scheduler.apiVersion: v1import \"k8s.io/api/core/v1\"BindingBinding ties one object to another; for example, a pod is bound to a node by a scheduler.apiVersion: v1kind: Bindingmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatatarget (ObjectReference), requiredThe target object that you want to bind to the standard object.Operationscreate create a BindingHTTP RequestPOST /api/v1/namespaces/{namespace}/bindingsParametersnamespace (in path): string, requirednamespacebody: Binding, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (Binding): OK201 (Binding): Created202 (Binding): Accepted401: Unauthorizedcreate create binding of a PodHTTP RequestPOST /api/v1/namespaces/{namespace}/pods/{name}/bindingParametersname (in path): string, requiredname of the Bindingnamespace (in path): string, requirednamespacebody: Binding, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (Binding): OK201 (Binding): Created202 (Binding): Accepted401: UnauthorizedThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/binding-v1/",
    "id": "k8s_00679_qa_15102"
  },
  {
    "question": "How does Binding work?",
    "answer": "BindingBinding ties one object to another; for example, a pod is bound to a node by a scheduler.apiVersion: v1import \"k8s.io/api/core/v1\"BindingBinding ties one object to another; for example, a pod is bound to a node by a scheduler.apiVersion: v1kind: Bindingmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatatarget (ObjectReference), requiredThe target object that you want to bind to the standard object.Operationscreate create a BindingHTTP RequestPOST /api/v1/namespaces/{namespace}/bindingsParametersnamespace (in path): string, requirednamespacebody: Binding, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (Binding): OK201 (Binding): Created202 (Binding): Accepted401: Unauthorizedcreate create binding of a PodHTTP RequestPOST /api/v1/namespaces/{namespace}/pods/{name}/bindingParametersname (in path): string, requiredname of the Bindingnamespace (in path): string, requirednamespacebody: Binding, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (Binding): OK201 (Binding): Created202 (Binding): Accepted401: UnauthorizedThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/binding-v1/",
    "id": "k8s_00679_qa_15103"
  },
  {
    "question": "When would you use Binding?",
    "answer": "BindingBinding ties one object to another; for example, a pod is bound to a node by a scheduler.apiVersion: v1import \"k8s.io/api/core/v1\"BindingBinding ties one object to another; for example, a pod is bound to a node by a scheduler.apiVersion: v1kind: Bindingmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatatarget (ObjectReference), requiredThe target object that you want to bind to the standard object.Operationscreate create a BindingHTTP RequestPOST /api/v1/namespaces/{namespace}/bindingsParametersnamespace (in path): string, requirednamespacebody: Binding, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (Binding): OK201 (Binding): Created202 (Binding): Accepted401: Unauthorizedcreate create binding of a PodHTTP RequestPOST /api/v1/namespaces/{namespace}/pods/{name}/bindingParametersname (in path): string, requiredname of the Bindingnamespace (in path): string, requirednamespacebody: Binding, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (Binding): OK201 (Binding): Created202 (Binding): Accepted401: UnauthorizedThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/binding-v1/",
    "id": "k8s_00679_qa_15104"
  },
  {
    "question": "What are the benefits of Binding?",
    "answer": "BindingBinding ties one object to another; for example, a pod is bound to a node by a scheduler.apiVersion: v1import \"k8s.io/api/core/v1\"BindingBinding ties one object to another; for example, a pod is bound to a node by a scheduler.apiVersion: v1kind: Bindingmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatatarget (ObjectReference), requiredThe target object that you want to bind to the standard object.Operationscreate create a BindingHTTP RequestPOST /api/v1/namespaces/{namespace}/bindingsParametersnamespace (in path): string, requirednamespacebody: Binding, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (Binding): OK201 (Binding): Created202 (Binding): Accepted401: Unauthorizedcreate create binding of a PodHTTP RequestPOST /api/v1/namespaces/{namespace}/pods/{name}/bindingParametersname (in path): string, requiredname of the Bindingnamespace (in path): string, requirednamespacebody: Binding, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (Binding): OK201 (Binding): Created202 (Binding): Accepted401: UnauthorizedThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/binding-v1/",
    "id": "k8s_00679_qa_15105"
  },
  {
    "question": "What is Binding?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/binding-v1/",
    "id": "k8s_00679_section_1_15106"
  },
  {
    "question": "What is Binding?",
    "answer": "B i n d i n g   t i e s   o n e   o b j e c t   t o   a n o t h e r ;   f o r   e x a m p l e ,   a   p o d   i s   b o u n d   t o   a   n o d e   b y   a   s c h e d u l e r .   a p i V e r s i o n :   v 1 k i n d :   B i n d i n g m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a t a r g e t   ( O b j e c t R e f e r e n c e ) ,   r e q u i r e d T h e   t a r g e t   o b j e c t   t h a t   y o u   w a n t   t o   b i n d   t o   t h e   s t a n d a r d   o b j e c t .   a p i V e r s i o n :   v 1   k i n d :   B i n d i n g   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   t a r g e t   ( O b j e c t R e f e r e n c e ) ,   r e q u i r e d   T h e   t a r g e t   o b j e c t   t h a t   y o u   w a n t   t o   b i n d   t o   t h e   s t a n d a r d   o b j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/binding-v1/",
    "id": "k8s_00679_section_2_15107"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/binding-v1/",
    "id": "k8s_00679_section_4_15108"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/binding-v1/",
    "id": "k8s_00679_section_4_15109"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( B i n d i n g ) :   O K   2 0 1   ( B i n d i n g ) :   C r e a t e d   2 0 2   ( B i n d i n g ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/binding-v1/",
    "id": "k8s_00679_section_4_15110"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / b i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/binding-v1/",
    "id": "k8s_00679_section_4_15111"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   B i n d i n g n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   B i n d i n g   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/binding-v1/",
    "id": "k8s_00679_section_4_15112"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( B i n d i n g ) :   O K   2 0 1   ( B i n d i n g ) :   C r e a t e d   2 0 2   ( B i n d i n g ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/binding-v1/",
    "id": "k8s_00679_section_4_15113"
  },
  {
    "question": "What is Configuration Best Practices?",
    "answer": "Configuration Best PracticesThis document highlights and consolidates configuration best practices that are introduced throughout the user guide, Getting Started documentation, and examples.This is a living document. If you think of something that is not on this list but might be useful to others, please don't hesitate to file an issue or submit a PR.General Configuration TipsWhen defining configurations, specify the latest stable API version.Configuration files should be stored in version control before being pushed to the cluster. This allows you to quickly roll back a configuration change if necessary. It also aids cluster re-creation and restoration.Write your configuration files using YAML rather than JSON. Though these formats can be used interchangeably in almost all scenarios, YAML tends to be more user-friendly.Group related objects into a single file whenever it makes sense. One file is often easier to manage than several. See the guestbook-all-in-one.yaml file as an example of this syntax.Note also that many kubectl commands can be called on a directory. For example, you can call kubectl apply on a directory of config files.Don't specify default values unnecessarily: simple, minimal configuration will make errors less likely.Put object descriptions in annotations, to allow better introspection.Note:There is a breaking change introduced in the YAML 1.2 boolean values specification with respect to YAML 1.1. This is a known issue in Kubernetes. YAML 1.2 only recognizes true and false as valid booleans, while YAML 1.1 also accepts yes, no, on, and off as booleans. However, Kubernetes uses YAML parsers that are mostly compatible with YAML 1.1, which means that using yes or no instead of true or false in a YAML manifest may cause unexpected errors or behaviors. To avoid this issue, it is recommended to always use true or false for boolean values in YAML manifests, and to quote any strings that may be confused with booleans, such as \"yes\" or \"no\".Besides booleans, there are additional specifications changes between YAML versions. Please refer to the YAML Specification Changes documentation for a comprehensive list.\"Naked\" Pods versus ReplicaSets, Deployments, and JobsDon't use naked Pods (that is, Pods not bound to a ReplicaSet or Deployment) if you can avoid it. Naked Pods will not be rescheduled in the event of a node failure.A Deployment, which both creates a ReplicaSet to ensure that the desired number of Pods is always available, and specifies a strategy to replace Pods (such as RollingUpdate), is almost always preferable to creating Pods directly, except for some explicit restartPolicy: Never scenarios. A Job may also be appropriate.ServicesCreate a Service before its corresponding backend workloads (Deployments or ReplicaSets), and before any workloads that need to access it. When Kubernetes starts a container, it provides environment variables pointing to all the Services which were running when the container was started. For example,",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/overview/",
    "id": "k8s_00680_qa_15114"
  },
  {
    "question": "How does Configuration Best Practices work?",
    "answer": "Configuration Best PracticesThis document highlights and consolidates configuration best practices that are introduced throughout the user guide, Getting Started documentation, and examples.This is a living document. If you think of something that is not on this list but might be useful to others, please don't hesitate to file an issue or submit a PR.General Configuration TipsWhen defining configurations, specify the latest stable API version.Configuration files should be stored in version control before being pushed to the cluster. This allows you to quickly roll back a configuration change if necessary. It also aids cluster re-creation and restoration.Write your configuration files using YAML rather than JSON. Though these formats can be used interchangeably in almost all scenarios, YAML tends to be more user-friendly.Group related objects into a single file whenever it makes sense. One file is often easier to manage than several. See the guestbook-all-in-one.yaml file as an example of this syntax.Note also that many kubectl commands can be called on a directory. For example, you can call kubectl apply on a directory of config files.Don't specify default values unnecessarily: simple, minimal configuration will make errors less likely.Put object descriptions in annotations, to allow better introspection.Note:There is a breaking change introduced in the YAML 1.2 boolean values specification with respect to YAML 1.1. This is a known issue in Kubernetes. YAML 1.2 only recognizes true and false as valid booleans, while YAML 1.1 also accepts yes, no, on, and off as booleans. However, Kubernetes uses YAML parsers that are mostly compatible with YAML 1.1, which means that using yes or no instead of true or false in a YAML manifest may cause unexpected errors or behaviors. To avoid this issue, it is recommended to always use true or false for boolean values in YAML manifests, and to quote any strings that may be confused with booleans, such as \"yes\" or \"no\".Besides booleans, there are additional specifications changes between YAML versions. Please refer to the YAML Specification Changes documentation for a comprehensive list.\"Naked\" Pods versus ReplicaSets, Deployments, and JobsDon't use naked Pods (that is, Pods not bound to a ReplicaSet or Deployment) if you can avoid it. Naked Pods will not be rescheduled in the event of a node failure.A Deployment, which both creates a ReplicaSet to ensure that the desired number of Pods is always available, and specifies a strategy to replace Pods (such as RollingUpdate), is almost always preferable to creating Pods directly, except for some explicit restartPolicy: Never scenarios. A Job may also be appropriate.ServicesCreate a Service before its corresponding backend workloads (Deployments or ReplicaSets), and before any workloads that need to access it. When Kubernetes starts a container, it provides environment variables pointing to all the Services which were running when the container was started. For example,",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/overview/",
    "id": "k8s_00680_qa_15115"
  },
  {
    "question": "When would you use Configuration Best Practices?",
    "answer": "Configuration Best PracticesThis document highlights and consolidates configuration best practices that are introduced throughout the user guide, Getting Started documentation, and examples.This is a living document. If you think of something that is not on this list but might be useful to others, please don't hesitate to file an issue or submit a PR.General Configuration TipsWhen defining configurations, specify the latest stable API version.Configuration files should be stored in version control before being pushed to the cluster. This allows you to quickly roll back a configuration change if necessary. It also aids cluster re-creation and restoration.Write your configuration files using YAML rather than JSON. Though these formats can be used interchangeably in almost all scenarios, YAML tends to be more user-friendly.Group related objects into a single file whenever it makes sense. One file is often easier to manage than several. See the guestbook-all-in-one.yaml file as an example of this syntax.Note also that many kubectl commands can be called on a directory. For example, you can call kubectl apply on a directory of config files.Don't specify default values unnecessarily: simple, minimal configuration will make errors less likely.Put object descriptions in annotations, to allow better introspection.Note:There is a breaking change introduced in the YAML 1.2 boolean values specification with respect to YAML 1.1. This is a known issue in Kubernetes. YAML 1.2 only recognizes true and false as valid booleans, while YAML 1.1 also accepts yes, no, on, and off as booleans. However, Kubernetes uses YAML parsers that are mostly compatible with YAML 1.1, which means that using yes or no instead of true or false in a YAML manifest may cause unexpected errors or behaviors. To avoid this issue, it is recommended to always use true or false for boolean values in YAML manifests, and to quote any strings that may be confused with booleans, such as \"yes\" or \"no\".Besides booleans, there are additional specifications changes between YAML versions. Please refer to the YAML Specification Changes documentation for a comprehensive list.\"Naked\" Pods versus ReplicaSets, Deployments, and JobsDon't use naked Pods (that is, Pods not bound to a ReplicaSet or Deployment) if you can avoid it. Naked Pods will not be rescheduled in the event of a node failure.A Deployment, which both creates a ReplicaSet to ensure that the desired number of Pods is always available, and specifies a strategy to replace Pods (such as RollingUpdate), is almost always preferable to creating Pods directly, except for some explicit restartPolicy: Never scenarios. A Job may also be appropriate.ServicesCreate a Service before its corresponding backend workloads (Deployments or ReplicaSets), and before any workloads that need to access it. When Kubernetes starts a container, it provides environment variables pointing to all the Services which were running when the container was started. For example,",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/overview/",
    "id": "k8s_00680_qa_15116"
  },
  {
    "question": "What are the benefits of Configuration Best Practices?",
    "answer": "Configuration Best PracticesThis document highlights and consolidates configuration best practices that are introduced throughout the user guide, Getting Started documentation, and examples.This is a living document. If you think of something that is not on this list but might be useful to others, please don't hesitate to file an issue or submit a PR.General Configuration TipsWhen defining configurations, specify the latest stable API version.Configuration files should be stored in version control before being pushed to the cluster. This allows you to quickly roll back a configuration change if necessary. It also aids cluster re-creation and restoration.Write your configuration files using YAML rather than JSON. Though these formats can be used interchangeably in almost all scenarios, YAML tends to be more user-friendly.Group related objects into a single file whenever it makes sense. One file is often easier to manage than several. See the guestbook-all-in-one.yaml file as an example of this syntax.Note also that many kubectl commands can be called on a directory. For example, you can call kubectl apply on a directory of config files.Don't specify default values unnecessarily: simple, minimal configuration will make errors less likely.Put object descriptions in annotations, to allow better introspection.Note:There is a breaking change introduced in the YAML 1.2 boolean values specification with respect to YAML 1.1. This is a known issue in Kubernetes. YAML 1.2 only recognizes true and false as valid booleans, while YAML 1.1 also accepts yes, no, on, and off as booleans. However, Kubernetes uses YAML parsers that are mostly compatible with YAML 1.1, which means that using yes or no instead of true or false in a YAML manifest may cause unexpected errors or behaviors. To avoid this issue, it is recommended to always use true or false for boolean values in YAML manifests, and to quote any strings that may be confused with booleans, such as \"yes\" or \"no\".Besides booleans, there are additional specifications changes between YAML versions. Please refer to the YAML Specification Changes documentation for a comprehensive list.\"Naked\" Pods versus ReplicaSets, Deployments, and JobsDon't use naked Pods (that is, Pods not bound to a ReplicaSet or Deployment) if you can avoid it. Naked Pods will not be rescheduled in the event of a node failure.A Deployment, which both creates a ReplicaSet to ensure that the desired number of Pods is always available, and specifies a strategy to replace Pods (such as RollingUpdate), is almost always preferable to creating Pods directly, except for some explicit restartPolicy: Never scenarios. A Job may also be appropriate.ServicesCreate a Service before its corresponding backend workloads (Deployments or ReplicaSets), and before any workloads that need to access it. When Kubernetes starts a container, it provides environment variables pointing to all the Services which were running when the container was started. For example,",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/overview/",
    "id": "k8s_00680_qa_15117"
  },
  {
    "question": "What is Configuration Best Practices?",
    "answer": "T h i s   d o c u m e n t   h i g h l i g h t s   a n d   c o n s o l i d a t e s   c o n f i g u r a t i o n   b e s t   p r a c t i c e s   t h a t   a r e   i n t r o d u c e d   t h r o u g h o u t   t h e   u s e r   g u i d e ,   G e t t i n g   S t a r t e d   d o c u m e n t a t i o n ,   a n d   e x a m p l e s .   T h i s   i s   a   l i v i n g   d o c u m e n t .   I f   y o u   t h i n k   o f   s o m e t h i n g   t h a t   i s   n o t   o n   t h i s   l i s t   b u t   m i g h t   b e   u s e f u l   t o   o t h e r s ,   p l e a s e   d o n ' t   h e s i t a t e   t o   f i l e   a n   i s s u e   o r   s u b m i t   a   P R .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/overview/",
    "id": "k8s_00680_section_1_15118"
  },
  {
    "question": "What is General Configuration Tips?",
    "answer": "W h e n   d e f i n i n g   c o n f i g u r a t i o n s ,   s p e c i f y   t h e   l a t e s t   s t a b l e   A P I   v e r s i o n . C o n f i g u r a t i o n   f i l e s   s h o u l d   b e   s t o r e d   i n   v e r s i o n   c o n t r o l   b e f o r e   b e i n g   p u s h e d   t o   t h e   c l u s t e r .   T h i s   a l l o w s   y o u   t o   q u i c k l y   r o l l   b a c k   a   c o n f i g u r a t i o n   c h a n g e   i f   n e c e s s a r y .   I t   a l s o   a i d s   c l u s t e r   r e - c r e a t i o n   a n d   r e s t o r a t i o n . W r i t e   y o u r   c o n f i g u r a t i o n   f i l e s   u s i n g   Y A M L   r a t h e r   t h a n   J S O N .   T h o u g h   t h e s e   f o r m a t s   c a n   b e   u s e d   i n t e r c h a n g e a b l y   i n   a l m o s t   a l l   s c e n a r i o s ,   Y A M L   t e n d s   t o   b e   m o r e   u s e r - f r i e n d l y . G r o u p   r e l a t e d   o b j e c t s   i n t o   a   s i n g l e   f i l e   w h e n e v e r   i t   m a k e s   s e n s e .   O n e   f i l e   i s   o f t e n   e a s i e r   t o   m a n a g e   t h a n   s e v e r a l .   S e e   t h e   g u e s t b o o k - a l l - i n - o n e . y a m l   f i l e   a s   a n   e x a m p l e   o f   t h i s   s y n t a x . N o t e   a l s o   t h a t   m a n y   k u b e c t l   c o m m a n d s   c a n   b e   c a l l e d   o n   a   d i r e c t o r y .   F o r   e x a m p l e ,   y o u   c a n   c a l l   k u b e c t l   a p p l y   o n   a   d i r e c t o r y   o f   c o n f i g   f i l e s . D o n ' t   s p e c i f y   d e f a u l t   v a l u e s   u n n e c e s s a r i l y :   s i m p l e ,   m i n i m a l   c o n f i g u r a t i o n   w i l l   m a k e   e r r o r s   l e s s   l i k e l y . P u t   o b j e c t   d e s c r i p t i o n s   i n   a n n o t a t i o n s ,   t o   a l l o w   b e t t e r   i n t r o s p e c t i o n .   W h e n   d e f i n i n g   c o n f i g u r a t i o n s ,   s p e c i f y   t h e   l a t e s t   s t a ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/overview/",
    "id": "k8s_00680_section_2_15119"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e r e   i s   a   b r e a k i n g   c h a n g e   i n t r o d u c e d   i n   t h e   Y A M L   1 . 2   b o o l e a n   v a l u e s   s p e c i f i c a t i o n   w i t h   r e s p e c t   t o   Y A M L   1 . 1 .   T h i s   i s   a   k n o w n   i s s u e   i n   K u b e r n e t e s .   Y A M L   1 . 2   o n l y   r e c o g n i z e s   t r u e   a n d   f a l s e   a s   v a l i d   b o o l e a n s ,   w h i l e   Y A M L   1 . 1   a l s o   a c c e p t s   y e s ,   n o ,   o n ,   a n d   o f f   a s   b o o l e a n s .   H o w e v e r ,   K u b e r n e t e s   u s e s   Y A M L   p a r s e r s   t h a t   a r e   m o s t l y   c o m p a t i b l e   w i t h   Y A M L   1 . 1 ,   w h i c h   m e a n s   t h a t   u s i n g   y e s   o r   n o   i n s t e a d   o f   t r u e   o r   f a l s e   i n   a   Y A M L   m a n i f e s t   m a y   c a u s e   u n e x p e c t e d   e r r o r s   o r   b e h a v i o r s .   T o   a v o i d   t h i s   i s s u e ,   i t   i s   r e c o m m e n d e d   t o   a l w a y s   u s e   t r u e   o r   f a l s e   f o r   b o o l e a n   v a l u e s   i n   Y A M L   m a n i f e s t s ,   a n d   t o   q u o t e   a n y   s t r i n g s   t h a t   m a y   b e   c o n f u s e d   w i t h   b o o l e a n s ,   s u c h   a s   \" y e s \"   o r   \" n o \" .   B e s i d e s   b o o l e a n s ,   t h e r e   a r e   a d d i t i o n a l   s p e c i f i c a t i o n s   c h a n g e s   b e t w e e n   Y A M L   v e r s i o n s .   P l e a s e   r e f e r   t o   t h e   Y A M L   S p e c i f i c a t i o n   C h a n g e s   d o c u m e n t a t i o n   f o r   a   c o m p r e h e n s i v e   l i s t .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/overview/",
    "id": "k8s_00680_section_4_15120"
  },
  {
    "question": "What is \"Naked\" Pods versus ReplicaSets, Deployments, and Jobs?",
    "answer": "D o n ' t   u s e   n a k e d   P o d s   ( t h a t   i s ,   P o d s   n o t   b o u n d   t o   a   R e p l i c a S e t   o r   D e p l o y m e n t )   i f   y o u   c a n   a v o i d   i t .   N a k e d   P o d s   w i l l   n o t   b e   r e s c h e d u l e d   i n   t h e   e v e n t   o f   a   n o d e   f a i l u r e . A   D e p l o y m e n t ,   w h i c h   b o t h   c r e a t e s   a   R e p l i c a S e t   t o   e n s u r e   t h a t   t h e   d e s i r e d   n u m b e r   o f   P o d s   i s   a l w a y s   a v a i l a b l e ,   a n d   s p e c i f i e s   a   s t r a t e g y   t o   r e p l a c e   P o d s   ( s u c h   a s   R o l l i n g U p d a t e ) ,   i s   a l m o s t   a l w a y s   p r e f e r a b l e   t o   c r e a t i n g   P o d s   d i r e c t l y ,   e x c e p t   f o r   s o m e   e x p l i c i t   r e s t a r t P o l i c y :   N e v e r   s c e n a r i o s .   A   J o b   m a y   a l s o   b e   a p p r o p r i a t e .   D o n ' t   u s e   n a k e d   P o d s   ( t h a t   i s ,   P o d s   n o t   b o u n d   t o   a   R e p l i c a S e t   o r   D e p l o y m e n t )   i f   y o u   c a n   a v o i d   i t .   N a k e d   P o d s   w i l l   n o t   b e   r e s c h e d u l e d   i n   t h e   e v e n t   o f   a   n o d e   f a i l u r e .   A   D e p l o y m e n t ,   w h i c h   b o t h   c r e a t e s   a   R e p l i c a S e t   t o   e n s u r e   t h a t   t h e   d e s i r e d   n u m b e r   o f   P o d s   i s   a l w a y s   a v a i l a b l e ,   a n d   s p e c i f i e s   a   s t r a t e g y   t o   r e p l a c e   P o d s   ( s u c h   a s   R o l l i n g U p d a t e ) ,   i s   a l m o s t   a l w a y s   p r e f e r a b l e   t o   c r e a t i n g   P o d s   d i r e c t l y ,   e x c e p t   f o r   s o m e   e x p l i c i t   r e s t a r t P o l i c y :   N e v e r   s c e n a r i o s .   A   J o b   m a y   a l s o   b e   a p p r o p r i a t e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/overview/",
    "id": "k8s_00680_section_2_15121"
  },
  {
    "question": "What is Services?",
    "answer": "C r e a t e   a   S e r v i c e   b e f o r e   i t s   c o r r e s p o n d i n g   b a c k e n d   w o r k l o a d s   ( D e p l o y m e n t s   o r   R e p l i c a S e t s ) ,   a n d   b e f o r e   a n y   w o r k l o a d s   t h a t   n e e d   t o   a c c e s s   i t .   W h e n   K u b e r n e t e s   s t a r t s   a   c o n t a i n e r ,   i t   p r o v i d e s   e n v i r o n m e n t   v a r i a b l e s   p o i n t i n g   t o   a l l   t h e   S e r v i c e s   w h i c h   w e r e   r u n n i n g   w h e n   t h e   c o n t a i n e r   w a s   s t a r t e d .   F o r   e x a m p l e ,   i f   a   S e r v i c e   n a m e d   f o o   e x i s t s ,   a l l   c o n t a i n e r s   w i l l   g e t   t h e   f o l l o w i n g   v a r i a b l e s   i n   t h e i r   i n i t i a l   e n v i r o n m e n t : F O O _ S E R V I C E _ H O S T = < t h e   h o s t   t h e   S e r v i c e   i s   r u n n i n g   o n >   F O O _ S E R V I C E _ P O R T = < t h e   p o r t   t h e   S e r v i c e   i s   r u n n i n g   o n >   T h i s   d o e s   i m p l y   a n   o r d e r i n g   r e q u i r e m e n t   -   a n y   S e r v i c e   t h a t   a   P o d   w a n t s   t o   a c c e s s   m u s t   b e   c r e a t e d   b e f o r e   t h e   P o d   i t s e l f ,   o r   e l s e   t h e   e n v i r o n m e n t   v a r i a b l e s   w i l l   n o t   b e   p o p u l a t e d .   D N S   d o e s   n o t   h a v e   t h i s   r e s t r i c t i o n . A n   o p t i o n a l   ( t h o u g h   s t r o n g l y   r e c o m m e n d e d )   c l u s t e r   a d d - o n   i s   a   D N S   s e r v e r .   T h e   D N S   s e r v e r   w a t c h e s   t h e   K u b e r n e t e s   A P I   f o r   n e w   S e r v i c e s   a n d   c r e a t e s   a   s e t   o f   D N S   r e c o r d s   f o r   e a c h .   I f   D N S   h a s   b e e n   e n a b l e d   t h r o u g h o u t   t h e   c l u s t e r   t h e n   a l l   P o d s   s h o u l d   b e   a b l e   t o   d o   n a m e   r e s o l u t ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/overview/",
    "id": "k8s_00680_section_2_15122"
  },
  {
    "question": "What is Using Labels?",
    "answer": "D e f i n e   a n d   u s e   l a b e l s   t h a t   i d e n t i f y   s e m a n t i c   a t t r i b u t e s   o f   y o u r   a p p l i c a t i o n   o r   D e p l o y m e n t ,   s u c h   a s   {   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p ,   t i e r :   f r o n t e n d ,   p h a s e :   t e s t ,   d e p l o y m e n t :   v 3   } .   Y o u   c a n   u s e   t h e s e   l a b e l s   t o   s e l e c t   t h e   a p p r o p r i a t e   P o d s   f o r   o t h e r   r e s o u r c e s ;   f o r   e x a m p l e ,   a   S e r v i c e   t h a t   s e l e c t s   a l l   t i e r :   f r o n t e n d   P o d s ,   o r   a l l   p h a s e :   t e s t   c o m p o n e n t s   o f   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p .   S e e   t h e   g u e s t b o o k   a p p   f o r   e x a m p l e s   o f   t h i s   a p p r o a c h . A   S e r v i c e   c a n   b e   m a d e   t o   s p a n   m u l t i p l e   D e p l o y m e n t s   b y   o m i t t i n g   r e l e a s e - s p e c i f i c   l a b e l s   f r o m   i t s   s e l e c t o r .   W h e n   y o u   n e e d   t o   u p d a t e   a   r u n n i n g   s e r v i c e   w i t h o u t   d o w n t i m e ,   u s e   a   D e p l o y m e n t . A   d e s i r e d   s t a t e   o f   a n   o b j e c t   i s   d e s c r i b e d   b y   a   D e p l o y m e n t ,   a n d   i f   c h a n g e s   t o   t h a t   s p e c   a r e   a p p l i e d ,   t h e   d e p l o y m e n t   c o n t r o l l e r   c h a n g e s   t h e   a c t u a l   s t a t e   t o   t h e   d e s i r e d   s t a t e   a t   a   c o n t r o l l e d   r a t e . U s e   t h e   K u b e r n e t e s   c o m m o n   l a b e l s   f o r   c o m m o n   u s e   c a s e s .   T h e s e   s t a n d a r d i z e d   l a b e l s   e n r i c h   t h e   m e t a d a t a   i n   a   w a y   t h a t   a l l o w s   t o o l s ,   i n c l u d i n g   k u b e c t l   a n d   d a s h b o a r d ,   t o   w o r k   i n   a n   i n t e r o p e r a b l e   w ",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/overview/",
    "id": "k8s_00680_section_2_15123"
  },
  {
    "question": "What is Using kubectl?",
    "answer": "U s e   k u b e c t l   a p p l y   - f   < d i r e c t o r y > .   T h i s   l o o k s   f o r   K u b e r n e t e s   c o n f i g u r a t i o n   i n   a l l   . y a m l ,   . y m l ,   a n d   . j s o n   f i l e s   i n   < d i r e c t o r y >   a n d   p a s s e s   i t   t o   a p p l y . U s e   l a b e l   s e l e c t o r s   f o r   g e t   a n d   d e l e t e   o p e r a t i o n s   i n s t e a d   o f   s p e c i f i c   o b j e c t   n a m e s .   S e e   t h e   s e c t i o n s   o n   l a b e l   s e l e c t o r s   a n d   u s i n g   l a b e l s   e f f e c t i v e l y . U s e   k u b e c t l   c r e a t e   d e p l o y m e n t   a n d   k u b e c t l   e x p o s e   t o   q u i c k l y   c r e a t e   s i n g l e - c o n t a i n e r   D e p l o y m e n t s   a n d   S e r v i c e s .   S e e   U s e   a   S e r v i c e   t o   A c c e s s   a n   A p p l i c a t i o n   i n   a   C l u s t e r   f o r   a n   e x a m p l e .   U s e   k u b e c t l   a p p l y   - f   < d i r e c t o r y > .   T h i s   l o o k s   f o r   K u b e r n e t e s   c o n f i g u r a t i o n   i n   a l l   . y a m l ,   . y m l ,   a n d   . j s o n   f i l e s   i n   < d i r e c t o r y >   a n d   p a s s e s   i t   t o   a p p l y .   U s e   l a b e l   s e l e c t o r s   f o r   g e t   a n d   d e l e t e   o p e r a t i o n s   i n s t e a d   o f   s p e c i f i c   o b j e c t   n a m e s .   S e e   t h e   s e c t i o n s   o n   l a b e l   s e l e c t o r s   a n d   u s i n g   l a b e l s   e f f e c t i v e l y .   U s e   k u b e c t l   c r e a t e   d e p l o y m e n t   a n d   k u b e c t l   e x p o s e   t o   q u i c k l y   c r e a t e   s i n g l e - c o n t a i n e r   D e p l o y m e n t s   a n d   S e r v i c e s .   S e e   U s e   a   S e r v i c e   t o   A c c e s s   a n   A p p l i c a t i o n   i n   a   C l u s t e r   f o r   a n   e x a m p l e .",
    "category": "concepts",
    "subcategory": "configuration",
    "source": "https://kubernetes.io/docs/concepts/configuration/overview/",
    "id": "k8s_00680_section_2_15124"
  },
  {
    "question": "What is Declarative Management of Kubernetes Objects Using Configuration Files?",
    "answer": "Declarative Management of Kubernetes Objects Using Configuration FilesKubernetes objects can be created, updated, and deleted by storing multiple object configuration files in a directory and using kubectl apply to recursively create and update those objects as needed. This method retains writes made to live objects without merging the changes back into the object configuration files. kubectl diff also gives you a preview of what changes apply will make.Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Trade-offsThe kubectl tool supports three kinds of object management:Imperative commandsImperative object configurationDeclarative object configurationSee Kubernetes Object Management for a discussion of the advantages and disadvantage of each kind of object management.OverviewDeclarative object configuration requires a firm understanding of the Kubernetes object definitions and configuration. Read and complete the following documents if you have not already:Managing Kubernetes Objects Using Imperative CommandsImperative Management of Kubernetes Objects Using Configuration FilesFollowing are definitions for terms used in this document:object configuration file / configuration file: A file that defines the configuration for a Kubernetes object. This topic shows how to pass configuration files to kubectl apply. Configuration files are typically stored in source control, such as Git.live object configuration / live configuration: The live configuration values of an object, as observed by the Kubernetes cluster. These are kept in the Kubernetes cluster storage, typically etcd.declarative configuration writer / declarative writer: A person or software component that makes updates to a live object. The live writers referred to in this topic make changes to object configuration files and run kubectl apply to write the changes.How to create objectsUse kubectl apply to create all objects, except those that already exist, defined by configuration files in a specified directory:kubectl apply -f <directory> This sets the kubectl.kubernetes.io/last-applied-configuration: '{...}' annotation on each object. The annotation contains the contents of the object configuration file that was used to create the object.Note:Add the -R flag to recursively process directories.Here's an example of an object configuration file:application/simple_deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment spec: selector: matchLabels: app: nginx minReadySeconds: 5 template: metadata: labels: app: nginx spec: con",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_qa_15125"
  },
  {
    "question": "How does Declarative Management of Kubernetes Objects Using Configuration Files work?",
    "answer": "Declarative Management of Kubernetes Objects Using Configuration FilesKubernetes objects can be created, updated, and deleted by storing multiple object configuration files in a directory and using kubectl apply to recursively create and update those objects as needed. This method retains writes made to live objects without merging the changes back into the object configuration files. kubectl diff also gives you a preview of what changes apply will make.Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Trade-offsThe kubectl tool supports three kinds of object management:Imperative commandsImperative object configurationDeclarative object configurationSee Kubernetes Object Management for a discussion of the advantages and disadvantage of each kind of object management.OverviewDeclarative object configuration requires a firm understanding of the Kubernetes object definitions and configuration. Read and complete the following documents if you have not already:Managing Kubernetes Objects Using Imperative CommandsImperative Management of Kubernetes Objects Using Configuration FilesFollowing are definitions for terms used in this document:object configuration file / configuration file: A file that defines the configuration for a Kubernetes object. This topic shows how to pass configuration files to kubectl apply. Configuration files are typically stored in source control, such as Git.live object configuration / live configuration: The live configuration values of an object, as observed by the Kubernetes cluster. These are kept in the Kubernetes cluster storage, typically etcd.declarative configuration writer / declarative writer: A person or software component that makes updates to a live object. The live writers referred to in this topic make changes to object configuration files and run kubectl apply to write the changes.How to create objectsUse kubectl apply to create all objects, except those that already exist, defined by configuration files in a specified directory:kubectl apply -f <directory> This sets the kubectl.kubernetes.io/last-applied-configuration: '{...}' annotation on each object. The annotation contains the contents of the object configuration file that was used to create the object.Note:Add the -R flag to recursively process directories.Here's an example of an object configuration file:application/simple_deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment spec: selector: matchLabels: app: nginx minReadySeconds: 5 template: metadata: labels: app: nginx spec: con",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_qa_15126"
  },
  {
    "question": "When would you use Declarative Management of Kubernetes Objects Using Configuration Files?",
    "answer": "Declarative Management of Kubernetes Objects Using Configuration FilesKubernetes objects can be created, updated, and deleted by storing multiple object configuration files in a directory and using kubectl apply to recursively create and update those objects as needed. This method retains writes made to live objects without merging the changes back into the object configuration files. kubectl diff also gives you a preview of what changes apply will make.Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Trade-offsThe kubectl tool supports three kinds of object management:Imperative commandsImperative object configurationDeclarative object configurationSee Kubernetes Object Management for a discussion of the advantages and disadvantage of each kind of object management.OverviewDeclarative object configuration requires a firm understanding of the Kubernetes object definitions and configuration. Read and complete the following documents if you have not already:Managing Kubernetes Objects Using Imperative CommandsImperative Management of Kubernetes Objects Using Configuration FilesFollowing are definitions for terms used in this document:object configuration file / configuration file: A file that defines the configuration for a Kubernetes object. This topic shows how to pass configuration files to kubectl apply. Configuration files are typically stored in source control, such as Git.live object configuration / live configuration: The live configuration values of an object, as observed by the Kubernetes cluster. These are kept in the Kubernetes cluster storage, typically etcd.declarative configuration writer / declarative writer: A person or software component that makes updates to a live object. The live writers referred to in this topic make changes to object configuration files and run kubectl apply to write the changes.How to create objectsUse kubectl apply to create all objects, except those that already exist, defined by configuration files in a specified directory:kubectl apply -f <directory> This sets the kubectl.kubernetes.io/last-applied-configuration: '{...}' annotation on each object. The annotation contains the contents of the object configuration file that was used to create the object.Note:Add the -R flag to recursively process directories.Here's an example of an object configuration file:application/simple_deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment spec: selector: matchLabels: app: nginx minReadySeconds: 5 template: metadata: labels: app: nginx spec: con",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_qa_15127"
  },
  {
    "question": "What are the benefits of Declarative Management of Kubernetes Objects Using Configuration Files?",
    "answer": "Declarative Management of Kubernetes Objects Using Configuration FilesKubernetes objects can be created, updated, and deleted by storing multiple object configuration files in a directory and using kubectl apply to recursively create and update those objects as needed. This method retains writes made to live objects without merging the changes back into the object configuration files. kubectl diff also gives you a preview of what changes apply will make.Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Trade-offsThe kubectl tool supports three kinds of object management:Imperative commandsImperative object configurationDeclarative object configurationSee Kubernetes Object Management for a discussion of the advantages and disadvantage of each kind of object management.OverviewDeclarative object configuration requires a firm understanding of the Kubernetes object definitions and configuration. Read and complete the following documents if you have not already:Managing Kubernetes Objects Using Imperative CommandsImperative Management of Kubernetes Objects Using Configuration FilesFollowing are definitions for terms used in this document:object configuration file / configuration file: A file that defines the configuration for a Kubernetes object. This topic shows how to pass configuration files to kubectl apply. Configuration files are typically stored in source control, such as Git.live object configuration / live configuration: The live configuration values of an object, as observed by the Kubernetes cluster. These are kept in the Kubernetes cluster storage, typically etcd.declarative configuration writer / declarative writer: A person or software component that makes updates to a live object. The live writers referred to in this topic make changes to object configuration files and run kubectl apply to write the changes.How to create objectsUse kubectl apply to create all objects, except those that already exist, defined by configuration files in a specified directory:kubectl apply -f <directory> This sets the kubectl.kubernetes.io/last-applied-configuration: '{...}' annotation on each object. The annotation contains the contents of the object configuration file that was used to create the object.Note:Add the -R flag to recursively process directories.Here's an example of an object configuration file:application/simple_deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment spec: selector: matchLabels: app: nginx minReadySeconds: 5 template: metadata: labels: app: nginx spec: con",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_qa_15128"
  },
  {
    "question": "What is Declarative Management of Kubernetes Objects Using Configuration Files?",
    "answer": "K u b e r n e t e s   o b j e c t s   c a n   b e   c r e a t e d ,   u p d a t e d ,   a n d   d e l e t e d   b y   s t o r i n g   m u l t i p l e   o b j e c t   c o n f i g u r a t i o n   f i l e s   i n   a   d i r e c t o r y   a n d   u s i n g   k u b e c t l   a p p l y   t o   r e c u r s i v e l y   c r e a t e   a n d   u p d a t e   t h o s e   o b j e c t s   a s   n e e d e d .   T h i s   m e t h o d   r e t a i n s   w r i t e s   m a d e   t o   l i v e   o b j e c t s   w i t h o u t   m e r g i n g   t h e   c h a n g e s   b a c k   i n t o   t h e   o b j e c t   c o n f i g u r a t i o n   f i l e s .   k u b e c t l   d i f f   a l s o   g i v e s   y o u   a   p r e v i e w   o f   w h a t   c h a n g e s   a p p l y   w i l l   m a k e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_1_15129"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n s t a l l   k u b e c t l .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_2_15130"
  },
  {
    "question": "What is Trade-offs?",
    "answer": "T h e   k u b e c t l   t o o l   s u p p o r t s   t h r e e   k i n d s   o f   o b j e c t   m a n a g e m e n t :   I m p e r a t i v e   c o m m a n d s I m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n D e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n   S e e   K u b e r n e t e s   O b j e c t   M a n a g e m e n t   f o r   a   d i s c u s s i o n   o f   t h e   a d v a n t a g e s   a n d   d i s a d v a n t a g e   o f   e a c h   k i n d   o f   o b j e c t   m a n a g e m e n t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_2_15131"
  },
  {
    "question": "What is Overview?",
    "answer": "D e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n   r e q u i r e s   a   f i r m   u n d e r s t a n d i n g   o f   t h e   K u b e r n e t e s   o b j e c t   d e f i n i t i o n s   a n d   c o n f i g u r a t i o n .   R e a d   a n d   c o m p l e t e   t h e   f o l l o w i n g   d o c u m e n t s   i f   y o u   h a v e   n o t   a l r e a d y :   M a n a g i n g   K u b e r n e t e s   O b j e c t s   U s i n g   I m p e r a t i v e   C o m m a n d s I m p e r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s   F o l l o w i n g   a r e   d e f i n i t i o n s   f o r   t e r m s   u s e d   i n   t h i s   d o c u m e n t :   o b j e c t   c o n f i g u r a t i o n   f i l e   /   c o n f i g u r a t i o n   f i l e :   A   f i l e   t h a t   d e f i n e s   t h e   c o n f i g u r a t i o n   f o r   a   K u b e r n e t e s   o b j e c t .   T h i s   t o p i c   s h o w s   h o w   t o   p a s s   c o n f i g u r a t i o n   f i l e s   t o   k u b e c t l   a p p l y .   C o n f i g u r a t i o n   f i l e s   a r e   t y p i c a l l y   s t o r e d   i n   s o u r c e   c o n t r o l ,   s u c h   a s   G i t . l i v e   o b j e c t   c o n f i g u r a t i o n   /   l i v e   c o n f i g u r a t i o n :   T h e   l i v e   c o n f i g u r a t i o n   v a l u e s   o f   a n   o b j e c t ,   a s   o b s e r v e d   b y   t h e   K u b e r n e t e s   c l u s t e r .   T h e s e   a r e   k e p t   i n   t h e   K u b e r n e t e s   c l u s t e r   s t o r a g e ,   t y p i c a l l y   e t c d . d e c l a r a t i v e   c o n f i g u r a t i o n   w r i t e r   /   d e c l a r a t i v e   w r i t e r :   A   p e r s o n   o r   s o f t w a r e   c o m p o n e n t   t h a t   m a k e s   u p d a t e s   t o   a   l i v e   o b j e c t .   T h e   l i v e   w r i t e r s   r e f e r r e d   t o   i n   t h i s   t o p i c   m a k e   c h a n g e s   t o   o b j e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_2_15132"
  },
  {
    "question": "What is How to create objects?",
    "answer": "U s e   k u b e c t l   a p p l y   t o   c r e a t e   a l l   o b j e c t s ,   e x c e p t   t h o s e   t h a t   a l r e a d y   e x i s t ,   d e f i n e d   b y   c o n f i g u r a t i o n   f i l e s   i n   a   s p e c i f i e d   d i r e c t o r y :   k u b e c t l   a p p l y   - f   < d i r e c t o r y >   T h i s   s e t s   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n :   ' { . . . } '   a n n o t a t i o n   o n   e a c h   o b j e c t .   T h e   a n n o t a t i o n   c o n t a i n s   t h e   c o n t e n t s   o f   t h e   o b j e c t   c o n f i g u r a t i o n   f i l e   t h a t   w a s   u s e d   t o   c r e a t e   t h e   o b j e c t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_2_15133"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e ' s   a n   e x a m p l e   o f   a n   o b j e c t   c o n f i g u r a t i o n   f i l e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   m i n R e a d y S e c o n d s :   5   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0   R u n   k u b e c t l   d i f f   t o   p r i n t   t h e   o b j e c t   t h a t   w i l l   b e   c r e a t e d :   k u b e c t l   d i f f   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / s i m p l e _ d e p l o y m e n t . y a m l",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_4_15134"
  },
  {
    "question": "What is Note:?",
    "answer": "d i f f   u s e s   s e r v e r - s i d e   d r y - r u n ,   w h i c h   n e e d s   t o   b e   e n a b l e d   o n   k u b e - a p i s e r v e r .   S i n c e   d i f f   p e r f o r m s   a   s e r v e r - s i d e   a p p l y   r e q u e s t   i n   d r y - r u n   m o d e ,   i t   r e q u i r e s   g r a n t i n g   P A T C H ,   C R E A T E ,   a n d   U P D A T E   p e r m i s s i o n s .   S e e   D r y - R u n   A u t h o r i z a t i o n   f o r   d e t a i l s .   C r e a t e   t h e   o b j e c t   u s i n g   k u b e c t l   a p p l y :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / s i m p l e _ d e p l o y m e n t . y a m l   P r i n t   t h e   l i v e   c o n f i g u r a t i o n   u s i n g   k u b e c t l   g e t :   k u b e c t l   g e t   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / s i m p l e _ d e p l o y m e n t . y a m l   - o   y a m l   T h e   o u t p u t   s h o w s   t h a t   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   w a s   w r i t t e n   t o   t h e   l i v e   c o n f i g u r a t i o n ,   a n d   i t   m a t c h e s   t h e   c o n f i g u r a t i o n   f i l e :   k i n d :   D e p l o y m e n t   m e t a d a t a :   a n n o t a t i o n s :   #   . . .   #   T h i s   i s   t h e   j s o n   r e p r e s e n t a t i o n   o f   s i m p l e _ d e p l o y m e n t . y a m l   #   I t   w a s   w r i t t e n   b y   k u b e c t l   a p p l y   w h e n   t h e   o b j e c t   w a s   c r e a t e d   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n :   |   { \" a p i V e r s i o n \" : \" a p p s / v 1 \" , \" k i n d \" : \" D e p l o y m e n t \" ,   \" m e t a d a t a \" : { \" a n n o t a t i o n s \" : { } , \" n a m e \" : \" n g i n x - d e p l o y m e n t \" , \" n a m e s p a c e \" : \" d e f a u l t \" } ,   \" s p e c \" : ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_4_15135"
  },
  {
    "question": "What is How to update objects?",
    "answer": "Y o u   c a n   a l s o   u s e   k u b e c t l   a p p l y   t o   u p d a t e   a l l   o b j e c t s   d e f i n e d   i n   a   d i r e c t o r y ,   e v e n   i f   t h o s e   o b j e c t s   a l r e a d y   e x i s t .   T h i s   a p p r o a c h   a c c o m p l i s h e s   t h e   f o l l o w i n g :   S e t s   f i e l d s   t h a t   a p p e a r   i n   t h e   c o n f i g u r a t i o n   f i l e   i n   t h e   l i v e   c o n f i g u r a t i o n . C l e a r s   f i e l d s   r e m o v e d   f r o m   t h e   c o n f i g u r a t i o n   f i l e   i n   t h e   l i v e   c o n f i g u r a t i o n .   k u b e c t l   d i f f   - f   < d i r e c t o r y >   k u b e c t l   a p p l y   - f   < d i r e c t o r y >",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_2_15136"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e ' s   a n   e x a m p l e   c o n f i g u r a t i o n   f i l e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   m i n R e a d y S e c o n d s :   5   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0   C r e a t e   t h e   o b j e c t   u s i n g   k u b e c t l   a p p l y :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / s i m p l e _ d e p l o y m e n t . y a m l",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_4_15137"
  },
  {
    "question": "What is Note:?",
    "answer": "P r i n t   t h e   l i v e   c o n f i g u r a t i o n   u s i n g   k u b e c t l   g e t :   k u b e c t l   g e t   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / s i m p l e _ d e p l o y m e n t . y a m l   - o   y a m l   T h e   o u t p u t   s h o w s   t h a t   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   w a s   w r i t t e n   t o   t h e   l i v e   c o n f i g u r a t i o n ,   a n d   i t   m a t c h e s   t h e   c o n f i g u r a t i o n   f i l e :   k i n d :   D e p l o y m e n t   m e t a d a t a :   a n n o t a t i o n s :   #   . . .   #   T h i s   i s   t h e   j s o n   r e p r e s e n t a t i o n   o f   s i m p l e _ d e p l o y m e n t . y a m l   #   I t   w a s   w r i t t e n   b y   k u b e c t l   a p p l y   w h e n   t h e   o b j e c t   w a s   c r e a t e d   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n :   |   { \" a p i V e r s i o n \" : \" a p p s / v 1 \" , \" k i n d \" : \" D e p l o y m e n t \" ,   \" m e t a d a t a \" : { \" a n n o t a t i o n s \" : { } , \" n a m e \" : \" n g i n x - d e p l o y m e n t \" , \" n a m e s p a c e \" : \" d e f a u l t \" } ,   \" s p e c \" : { \" m i n R e a d y S e c o n d s \" : 5 , \" s e l e c t o r \" : { \" m a t c h L a b e l s \" : { \" a p p \" : n g i n x } } , \" t e m p l a t e \" : { \" m e t a d a t a \" : { \" l a b e l s \" : { \" a p p \" : \" n g i n x \" } } ,   \" s p e c \" : { \" c o n t a i n e r s \" : [ { \" i m a g e \" : \" n g i n x : 1 . 1 4 . 2 \" , \" n a m e \" : \" n g i n x \" ,   \" p o r t s \" : [ { \" c o n t a i n e r P o r t \" : 8 0 } ] } ] } } } }   #   . . .   s p e c :   #   . . .   m i n R e a d y S e c o n d s :   5   s e l e c t o r :   m a t c h L a b e l s :   #   . . .   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   #   . . .   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   i ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_4_15138"
  },
  {
    "question": "What is How to delete objects?",
    "answer": "T h e r e   a r e   t w o   a p p r o a c h e s   t o   d e l e t e   o b j e c t s   m a n a g e d   b y   k u b e c t l   a p p l y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_2_15139"
  },
  {
    "question": "What is Recommended: kubectl delete -f <filename>?",
    "answer": "M a n u a l l y   d e l e t i n g   o b j e c t s   u s i n g   t h e   i m p e r a t i v e   c o m m a n d   i s   t h e   r e c o m m e n d e d   a p p r o a c h ,   a s   i t   i s   m o r e   e x p l i c i t   a b o u t   w h a t   i s   b e i n g   d e l e t e d ,   a n d   l e s s   l i k e l y   t o   r e s u l t   i n   t h e   u s e r   d e l e t i n g   s o m e t h i n g   u n i n t e n t i o n a l l y :   k u b e c t l   d e l e t e   - f   < f i l e n a m e >",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_3_15140"
  },
  {
    "question": "What is Alternative: kubectl apply -f <directory> --prune?",
    "answer": "A s   a n   a l t e r n a t i v e   t o   k u b e c t l   d e l e t e ,   y o u   c a n   u s e   k u b e c t l   a p p l y   t o   i d e n t i f y   o b j e c t s   t o   b e   d e l e t e d   a f t e r   t h e i r   m a n i f e s t s   h a v e   b e e n   r e m o v e d   f r o m   a   d i r e c t o r y   i n   t h e   l o c a l   f i l e s y s t e m .   I n   K u b e r n e t e s   1 . 3 4 ,   t h e r e   a r e   t w o   p r u n i n g   m o d e s   a v a i l a b l e   i n   k u b e c t l   a p p l y :   A l l o w l i s t - b a s e d   p r u n i n g :   T h i s   m o d e   h a s   e x i s t e d   s i n c e   k u b e c t l   v 1 . 5   b u t   i s   s t i l l   i n   a l p h a   d u e   t o   u s a b i l i t y ,   c o r r e c t n e s s   a n d   p e r f o r m a n c e   i s s u e s   w i t h   i t s   d e s i g n .   T h e   A p p l y S e t - b a s e d   m o d e   i s   d e s i g n e d   t o   r e p l a c e   i t . A p p l y S e t - b a s e d   p r u n i n g :   A n   a p p l y   s e t   i s   a   s e r v e r - s i d e   o b j e c t   ( b y   d e f a u l t ,   a   S e c r e t )   t h a t   k u b e c t l   c a n   u s e   t o   a c c u r a t e l y   a n d   e f f i c i e n t l y   t r a c k   s e t   m e m b e r s h i p   a c r o s s   a p p l y   o p e r a t i o n s .   T h i s   m o d e   w a s   i n t r o d u c e d   i n   a l p h a   i n   k u b e c t l   v 1 . 2 7   a s   a   r e p l a c e m e n t   f o r   a l l o w l i s t - b a s e d   p r u n i n g .   F E A T U R E   S T A T E :   K u b e r n e t e s   v 1 . 5   [ a l p h a ] W a r n i n g : T a k e   c a r e   w h e n   u s i n g   - - p r u n e   w i t h   k u b e c t l   a p p l y   i n   a l l o w   l i s t   m o d e .   W h i c h   o b j e c t s   a r e   p r u n e d   d e p e n d s   o n   t h e   v a l u e s   o f   t h e   - - p r u n e - a l l o w l i s t ,   - - s e l e c t o r   a n d   - - n a m e s p a c e   f l a g s ,   a n d   r e l i e s   o n   d y n a m i c   d i s c o v e r y   o f   t h e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_3_15141"
  },
  {
    "question": "What is Warning:?",
    "answer": "T o   u s e   a l l o w l i s t - b a s e d   p r u n i n g ,   a d d   t h e   f o l l o w i n g   f l a g s   t o   y o u r   k u b e c t l   a p p l y   i n v o c a t i o n :   - - p r u n e :   D e l e t e   p r e v i o u s l y   a p p l i e d   o b j e c t s   t h a t   a r e   n o t   i n   t h e   s e t   p a s s e d   t o   t h e   c u r r e n t   i n v o c a t i o n . - - p r u n e - a l l o w l i s t :   A   l i s t   o f   g r o u p - v e r s i o n - k i n d s   ( G V K s )   t o   c o n s i d e r   f o r   p r u n i n g .   T h i s   f l a g   i s   o p t i o n a l   b u t   s t r o n g l y   e n c o u r a g e d ,   a s   i t s   d e f a u l t   v a l u e   i s   a   p a r t i a l   l i s t   o f   b o t h   n a m e s p a c e d   a n d   c l u s t e r - s c o p e d   t y p e s ,   w h i c h   c a n   l e a d   t o   s u r p r i s i n g   r e s u l t s . - - s e l e c t o r / - l :   U s e   a   l a b e l   s e l e c t o r   t o   c o n s t r a i n   t h e   s e t   o f   o b j e c t s   s e l e c t e d   f o r   p r u n i n g .   T h i s   f l a g   i s   o p t i o n a l   b u t   s t r o n g l y   e n c o u r a g e d . - - a l l :   u s e   i n s t e a d   o f   - - s e l e c t o r / - l   t o   e x p l i c i t l y   s e l e c t   a l l   p r e v i o u s l y   a p p l i e d   o b j e c t s   o f   t h e   a l l o w l i s t e d   t y p e s .   A l l o w l i s t - b a s e d   p r u n i n g   q u e r i e s   t h e   A P I   s e r v e r   f o r   a l l   o b j e c t s   o f   t h e   a l l o w l i s t e d   G V K s   t h a t   m a t c h   t h e   g i v e n   l a b e l s   ( i f   a n y ) ,   a n d   a t t e m p t s   t o   m a t c h   t h e   r e t u r n e d   l i v e   o b j e c t   c o n f i g u r a t i o n s   a g a i n s t   t h e   o b j e c t   m a n i f e s t   f i l e s .   I f   a n   o b j e c t   m a t c h e s   t h e   q u e r y ,   a n d   i t   d o e s   n o t   h a v e   a   m a n i f e s t   i n   t h e   d i r e c t o r y ,   a n d   i t   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_4_15142"
  },
  {
    "question": "What is Warning:?",
    "answer": "F E A T U R E   S T A T E :   K u b e r n e t e s   v 1 . 2 7   [ a l p h a ] C a u t i o n : k u b e c t l   a p p l y   - - p r u n e   - - a p p l y s e t   i s   i n   a l p h a ,   a n d   b a c k w a r d s   i n c o m p a t i b l e   c h a n g e s   m i g h t   b e   i n t r o d u c e d   i n   s u b s e q u e n t   r e l e a s e s . T o   u s e   A p p l y S e t - b a s e d   p r u n i n g ,   s e t   t h e   K U B E C T L _ A P P L Y S E T = t r u e   e n v i r o n m e n t   v a r i a b l e ,   a n d   a d d   t h e   f o l l o w i n g   f l a g s   t o   y o u r   k u b e c t l   a p p l y   i n v o c a t i o n : - - p r u n e :   D e l e t e   p r e v i o u s l y   a p p l i e d   o b j e c t s   t h a t   a r e   n o t   i n   t h e   s e t   p a s s e d   t o   t h e   c u r r e n t   i n v o c a t i o n . - - a p p l y s e t :   T h e   n a m e   o f   a n   o b j e c t   t h a t   k u b e c t l   c a n   u s e   t o   a c c u r a t e l y   a n d   e f f i c i e n t l y   t r a c k   s e t   m e m b e r s h i p   a c r o s s   a p p l y   o p e r a t i o n s . K U B E C T L _ A P P L Y S E T = t r u e   k u b e c t l   a p p l y   - f   < d i r e c t o r y >   - - p r u n e   - - a p p l y s e t = < n a m e >   B y   d e f a u l t ,   t h e   t y p e   o f   t h e   A p p l y S e t   p a r e n t   o b j e c t   u s e d   i s   a   S e c r e t .   H o w e v e r ,   C o n f i g M a p s   c a n   a l s o   b e   u s e d   i n   t h e   f o r m a t :   - - a p p l y s e t = c o n f i g m a p s / < n a m e > .   W h e n   u s i n g   a   S e c r e t   o r   C o n f i g M a p ,   k u b e c t l   w i l l   c r e a t e   t h e   o b j e c t   i f   i t   d o e s   n o t   a l r e a d y   e x i s t . I t   i s   a l s o   p o s s i b l e   t o   u s e   c u s t o m   r e s o u r c e s   a s   A p p l y S e t   p a r e n t   o b j e c t s .   T o   e n a b l e   t h i s ,   l a b e l   t h e   C u s t o m   R e s o u r c e   D e f i n i t i o n   ( C R D )   t h ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_4_15143"
  },
  {
    "question": "What is Caution:?",
    "answer": "T o   u s e   A p p l y S e t - b a s e d   p r u n i n g ,   s e t   t h e   K U B E C T L _ A P P L Y S E T = t r u e   e n v i r o n m e n t   v a r i a b l e ,   a n d   a d d   t h e   f o l l o w i n g   f l a g s   t o   y o u r   k u b e c t l   a p p l y   i n v o c a t i o n :   - - p r u n e :   D e l e t e   p r e v i o u s l y   a p p l i e d   o b j e c t s   t h a t   a r e   n o t   i n   t h e   s e t   p a s s e d   t o   t h e   c u r r e n t   i n v o c a t i o n . - - a p p l y s e t :   T h e   n a m e   o f   a n   o b j e c t   t h a t   k u b e c t l   c a n   u s e   t o   a c c u r a t e l y   a n d   e f f i c i e n t l y   t r a c k   s e t   m e m b e r s h i p   a c r o s s   a p p l y   o p e r a t i o n s .   K U B E C T L _ A P P L Y S E T = t r u e   k u b e c t l   a p p l y   - f   < d i r e c t o r y >   - - p r u n e   - - a p p l y s e t = < n a m e >   B y   d e f a u l t ,   t h e   t y p e   o f   t h e   A p p l y S e t   p a r e n t   o b j e c t   u s e d   i s   a   S e c r e t .   H o w e v e r ,   C o n f i g M a p s   c a n   a l s o   b e   u s e d   i n   t h e   f o r m a t :   - - a p p l y s e t = c o n f i g m a p s / < n a m e > .   W h e n   u s i n g   a   S e c r e t   o r   C o n f i g M a p ,   k u b e c t l   w i l l   c r e a t e   t h e   o b j e c t   i f   i t   d o e s   n o t   a l r e a d y   e x i s t .   I t   i s   a l s o   p o s s i b l e   t o   u s e   c u s t o m   r e s o u r c e s   a s   A p p l y S e t   p a r e n t   o b j e c t s .   T o   e n a b l e   t h i s ,   l a b e l   t h e   C u s t o m   R e s o u r c e   D e f i n i t i o n   ( C R D )   t h a t   d e f i n e s   t h e   r e s o u r c e   y o u   w a n t   t o   u s e   w i t h   t h e   f o l l o w i n g :   a p p l y s e t . k u b e r n e t e s . i o / i s - p a r e n t - t y p e :   t r u e .   T h e n ,   c r e a t e   t h e   o b j e c t   y o u   w a n t   t o   u s e   a s   a n   A p p l y S e t   p a r e n t   ( ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_4_15144"
  },
  {
    "question": "What is How to view an object?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   g e t   w i t h   - o   y a m l   t o   v i e w   t h e   c o n f i g u r a t i o n   o f   a   l i v e   o b j e c t :   k u b e c t l   g e t   - f   < f i l e n a m e | u r l >   - o   y a m l",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_2_15145"
  },
  {
    "question": "What is Caution:?",
    "answer": "W h e n   k u b e c t l   a p p l y   u p d a t e s   t h e   l i v e   c o n f i g u r a t i o n   f o r   a n   o b j e c t ,   i t   d o e s   s o   b y   s e n d i n g   a   p a t c h   r e q u e s t   t o   t h e   A P I   s e r v e r .   T h e   p a t c h   d e f i n e s   u p d a t e s   s c o p e d   t o   s p e c i f i c   f i e l d s   o f   t h e   l i v e   o b j e c t   c o n f i g u r a t i o n .   T h e   k u b e c t l   a p p l y   c o m m a n d   c a l c u l a t e s   t h i s   p a t c h   r e q u e s t   u s i n g   t h e   c o n f i g u r a t i o n   f i l e ,   t h e   l i v e   c o n f i g u r a t i o n ,   a n d   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   s t o r e d   i n   t h e   l i v e   c o n f i g u r a t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_4_15146"
  },
  {
    "question": "What is Merge patch calculation?",
    "answer": "T h e   k u b e c t l   a p p l y   c o m m a n d   w r i t e s   t h e   c o n t e n t s   o f   t h e   c o n f i g u r a t i o n   f i l e   t o   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n .   T h i s   i s   u s e d   t o   i d e n t i f y   f i e l d s   t h a t   h a v e   b e e n   r e m o v e d   f r o m   t h e   c o n f i g u r a t i o n   f i l e   a n d   n e e d   t o   b e   c l e a r e d   f r o m   t h e   l i v e   c o n f i g u r a t i o n .   H e r e   a r e   t h e   s t e p s   u s e d   t o   c a l c u l a t e   w h i c h   f i e l d s   s h o u l d   b e   d e l e t e d   o r   s e t :   C a l c u l a t e   t h e   f i e l d s   t o   d e l e t e .   T h e s e   a r e   t h e   f i e l d s   p r e s e n t   i n   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n d   m i s s i n g   f r o m   t h e   c o n f i g u r a t i o n   f i l e . C a l c u l a t e   t h e   f i e l d s   t o   a d d   o r   s e t .   T h e s e   a r e   t h e   f i e l d s   p r e s e n t   i n   t h e   c o n f i g u r a t i o n   f i l e   w h o s e   v a l u e s   d o n ' t   m a t c h   t h e   l i v e   c o n f i g u r a t i o n .   H e r e ' s   a n   e x a m p l e .   S u p p o s e   t h i s   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   D e p l o y m e n t   o b j e c t :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 6 . 1   #   u p d a t e   t h e   i m a g e   p o r t s :   -   c o n t a i n e r P o r t :   8 0   A l s o ,   s u p p o s e   t h i s   i s   t h e   l i v e   c o n f i g u r a t i o n   f o r ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_3_15147"
  },
  {
    "question": "What is How different types of fields are merged?",
    "answer": "H o w   a   p a r t i c u l a r   f i e l d   i n   a   c o n f i g u r a t i o n   f i l e   i s   m e r g e d   w i t h   t h e   l i v e   c o n f i g u r a t i o n   d e p e n d s   o n   t h e   t y p e   o f   t h e   f i e l d .   T h e r e   a r e   s e v e r a l   t y p e s   o f   f i e l d s :   p r i m i t i v e :   A   f i e l d   o f   t y p e   s t r i n g ,   i n t e g e r ,   o r   b o o l e a n .   F o r   e x a m p l e ,   i m a g e   a n d   r e p l i c a s   a r e   p r i m i t i v e   f i e l d s .   A c t i o n :   R e p l a c e . m a p ,   a l s o   c a l l e d   o b j e c t :   A   f i e l d   o f   t y p e   m a p   o r   a   c o m p l e x   t y p e   t h a t   c o n t a i n s   s u b f i e l d s .   F o r   e x a m p l e ,   l a b e l s ,   a n n o t a t i o n s , s p e c   a n d   m e t a d a t a   a r e   a l l   m a p s .   A c t i o n :   M e r g e   e l e m e n t s   o r   s u b f i e l d s . l i s t :   A   f i e l d   c o n t a i n i n g   a   l i s t   o f   i t e m s   t h a t   c a n   b e   e i t h e r   p r i m i t i v e   t y p e s   o r   m a p s .   F o r   e x a m p l e ,   c o n t a i n e r s ,   p o r t s ,   a n d   a r g s   a r e   l i s t s .   A c t i o n :   V a r i e s .   p r i m i t i v e :   A   f i e l d   o f   t y p e   s t r i n g ,   i n t e g e r ,   o r   b o o l e a n .   F o r   e x a m p l e ,   i m a g e   a n d   r e p l i c a s   a r e   p r i m i t i v e   f i e l d s .   A c t i o n :   R e p l a c e .   m a p ,   a l s o   c a l l e d   o b j e c t :   A   f i e l d   o f   t y p e   m a p   o r   a   c o m p l e x   t y p e   t h a t   c o n t a i n s   s u b f i e l d s .   F o r   e x a m p l e ,   l a b e l s ,   a n n o t a t i o n s , s p e c   a n d   m e t a d a t a   a r e   a l l   m a p s .   A c t i o n :   M e r g e   e l e m e n t s   o r   s u b f i e l d s .   l i s t :   A   f i e l d   c o n t a i n i n g   a   l i s t   o f   i t e m s   t h a t   c a n   b e   e i t h e r   p ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_3_15148"
  },
  {
    "question": "What is Merging changes to primitive fields?",
    "answer": "P r i m i t i v e   f i e l d s   a r e   r e p l a c e d   o r   c l e a r e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_3_15149"
  },
  {
    "question": "What is Merging changes to map fields?",
    "answer": "F i e l d s   t h a t   r e p r e s e n t   m a p s   a r e   m e r g e d   b y   c o m p a r i n g   e a c h   o f   t h e   s u b f i e l d s   o r   e l e m e n t s   o f   t h e   m a p :",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_3_15150"
  },
  {
    "question": "What is Merging changes for fields of type list?",
    "answer": "M e r g i n g   c h a n g e s   t o   a   l i s t   u s e s   o n e   o f   t h r e e   s t r a t e g i e s :   R e p l a c e   t h e   l i s t   i f   a l l   i t s   e l e m e n t s   a r e   p r i m i t i v e s . M e r g e   i n d i v i d u a l   e l e m e n t s   i n   a   l i s t   o f   c o m p l e x   e l e m e n t s . M e r g e   a   l i s t   o f   p r i m i t i v e   e l e m e n t s .   T h e   c h o i c e   o f   s t r a t e g y   i s   m a d e   o n   a   p e r - f i e l d   b a s i s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_3_15151"
  },
  {
    "question": "What is Replace the list if all its elements are primitives?",
    "answer": "T r e a t   t h e   l i s t   t h e   s a m e   a s   a   p r i m i t i v e   f i e l d .   R e p l a c e   o r   d e l e t e   t h e   e n t i r e   l i s t .   T h i s   p r e s e r v e s   o r d e r i n g .   E x a m p l e :   U s e   k u b e c t l   a p p l y   t o   u p d a t e   t h e   a r g s   f i e l d   o f   a   C o n t a i n e r   i n   a   P o d .   T h i s   s e t s   t h e   v a l u e   o f   a r g s   i n   t h e   l i v e   c o n f i g u r a t i o n   t o   t h e   v a l u e   i n   t h e   c o n f i g u r a t i o n   f i l e .   A n y   a r g s   e l e m e n t s   t h a t   h a d   p r e v i o u s l y   b e e n   a d d e d   t o   t h e   l i v e   c o n f i g u r a t i o n   a r e   l o s t .   T h e   o r d e r   o f   t h e   a r g s   e l e m e n t s   d e f i n e d   i n   t h e   c o n f i g u r a t i o n   f i l e   i s   r e t a i n e d   i n   t h e   l i v e   c o n f i g u r a t i o n .   #   l a s t - a p p l i e d - c o n f i g u r a t i o n   v a l u e   a r g s :   [ \" a \" ,   \" b \" ]   #   c o n f i g u r a t i o n   f i l e   v a l u e   a r g s :   [ \" a \" ,   \" c \" ]   #   l i v e   c o n f i g u r a t i o n   a r g s :   [ \" a \" ,   \" b \" ,   \" d \" ]   #   r e s u l t   a f t e r   m e r g e   a r g s :   [ \" a \" ,   \" c \" ]   E x p l a n a t i o n :   T h e   m e r g e   u s e d   t h e   c o n f i g u r a t i o n   f i l e   v a l u e   a s   t h e   n e w   l i s t   v a l u e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_4_15152"
  },
  {
    "question": "What is Merge individual elements of a list of complex elements:?",
    "answer": "T r e a t   t h e   l i s t   a s   a   m a p ,   a n d   t r e a t   a   s p e c i f i c   f i e l d   o f   e a c h   e l e m e n t   a s   a   k e y .   A d d ,   d e l e t e ,   o r   u p d a t e   i n d i v i d u a l   e l e m e n t s .   T h i s   d o e s   n o t   p r e s e r v e   o r d e r i n g .   T h i s   m e r g e   s t r a t e g y   u s e s   a   s p e c i a l   t a g   o n   e a c h   f i e l d   c a l l e d   a   p a t c h M e r g e K e y .   T h e   p a t c h M e r g e K e y   i s   d e f i n e d   f o r   e a c h   f i e l d   i n   t h e   K u b e r n e t e s   s o u r c e   c o d e :   t y p e s . g o   W h e n   m e r g i n g   a   l i s t   o f   m a p s ,   t h e   f i e l d   s p e c i f i e d   a s   t h e   p a t c h M e r g e K e y   f o r   a   g i v e n   e l e m e n t   i s   u s e d   l i k e   a   m a p   k e y   f o r   t h a t   e l e m e n t .   E x a m p l e :   U s e   k u b e c t l   a p p l y   t o   u p d a t e   t h e   c o n t a i n e r s   f i e l d   o f   a   P o d S p e c .   T h i s   m e r g e s   t h e   l i s t   a s   t h o u g h   i t   w a s   a   m a p   w h e r e   e a c h   e l e m e n t   i s   k e y e d   b y   n a m e .   #   l a s t - a p p l i e d - c o n f i g u r a t i o n   v a l u e   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 6   -   n a m e :   n g i n x - h e l p e r - a   #   k e y :   n g i n x - h e l p e r - a ;   w i l l   b e   d e l e t e d   i n   r e s u l t   i m a g e :   h e l p e r : 1 . 3   -   n a m e :   n g i n x - h e l p e r - b   #   k e y :   n g i n x - h e l p e r - b ;   w i l l   b e   r e t a i n e d   i m a g e :   h e l p e r : 1 . 3   #   c o n f i g u r a t i o n   f i l e   v a l u e   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 6   -   n a m e :   n g i n x - h e l p e r - b   i m a g e :   h e l p e r : 1 . 3   -   n a m e :   n g i n x - h e l p e r - c   #   k e y :   n g i n x - h e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_4_15153"
  },
  {
    "question": "What is Merge a list of primitive elements?",
    "answer": "A s   o f   K u b e r n e t e s   1 . 5 ,   m e r g i n g   l i s t s   o f   p r i m i t i v e   e l e m e n t s   i s   n o t   s u p p o r t e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_4_15154"
  },
  {
    "question": "What is Default field values?",
    "answer": "T h e   A P I   s e r v e r   s e t s   c e r t a i n   f i e l d s   t o   d e f a u l t   v a l u e s   i n   t h e   l i v e   c o n f i g u r a t i o n   i f   t h e y   a r e   n o t   s p e c i f i e d   w h e n   t h e   o b j e c t   i s   c r e a t e d .   H e r e ' s   a   c o n f i g u r a t i o n   f i l e   f o r   a   D e p l o y m e n t .   T h e   f i l e   d o e s   n o t   s p e c i f y   s t r a t e g y :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   m i n R e a d y S e c o n d s :   5   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0   C r e a t e   t h e   o b j e c t   u s i n g   k u b e c t l   a p p l y :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / s i m p l e _ d e p l o y m e n t . y a m l   P r i n t   t h e   l i v e   c o n f i g u r a t i o n   u s i n g   k u b e c t l   g e t :   k u b e c t l   g e t   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / s i m p l e _ d e p l o y m e n t . y a m l   - o   y a m l   T h e   o u t p u t   s h o w s   t h a t   t h e   A P I   s e r v e r   s e t   s e v e r a l   f i e l d s   t o   d e f a u l t   v a l u e s   i n   t h e   l i v e   c o n f i g u r a t i o n .   T h e s e   f i e l d s   w e r e   n o t   s p e c i f i e d   i n   t h e   c o n f i g u r a t i o n   f i l e .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   #   . . .   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   m i n R e a d y S e c o n d s :   5   r e p l i c a s :   1   #   d e f a u l t e d   b y   a p i s ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_2_15155"
  },
  {
    "question": "What is How to clear server-defaulted fields or fields set by other writers?",
    "answer": "F i e l d s   t h a t   d o   n o t   a p p e a r   i n   t h e   c o n f i g u r a t i o n   f i l e   c a n   b e   c l e a r e d   b y   s e t t i n g   t h e i r   v a l u e s   t o   n u l l   a n d   t h e n   a p p l y i n g   t h e   c o n f i g u r a t i o n   f i l e .   F o r   f i e l d s   d e f a u l t e d   b y   t h e   s e r v e r ,   t h i s   t r i g g e r s   r e - d e f a u l t i n g   t h e   v a l u e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_3_15156"
  },
  {
    "question": "What is How to change ownership of a field between the configuration file and direct imperative writers?",
    "answer": "T h e s e   a r e   t h e   o n l y   m e t h o d s   y o u   s h o u l d   u s e   t o   c h a n g e   a n   i n d i v i d u a l   o b j e c t   f i e l d :   U s e   k u b e c t l   a p p l y . W r i t e   d i r e c t l y   t o   t h e   l i v e   c o n f i g u r a t i o n   w i t h o u t   m o d i f y i n g   t h e   c o n f i g u r a t i o n   f i l e :   f o r   e x a m p l e ,   u s e   k u b e c t l   s c a l e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_2_15157"
  },
  {
    "question": "What is Changing the owner from a direct imperative writer to a configuration file?",
    "answer": "A d d   t h e   f i e l d   t o   t h e   c o n f i g u r a t i o n   f i l e .   F o r   t h e   f i e l d ,   d i s c o n t i n u e   d i r e c t   u p d a t e s   t o   t h e   l i v e   c o n f i g u r a t i o n   t h a t   d o   n o t   g o   t h r o u g h   k u b e c t l   a p p l y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_3_15158"
  },
  {
    "question": "What is Changing the owner from a configuration file to a direct imperative writer?",
    "answer": "A s   o f   K u b e r n e t e s   1 . 5 ,   c h a n g i n g   o w n e r s h i p   o f   a   f i e l d   f r o m   a   c o n f i g u r a t i o n   f i l e   t o   a n   i m p e r a t i v e   w r i t e r   r e q u i r e s   m a n u a l   s t e p s :   R e m o v e   t h e   f i e l d   f r o m   t h e   c o n f i g u r a t i o n   f i l e . R e m o v e   t h e   f i e l d   f r o m   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   o n   t h e   l i v e   o b j e c t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_3_15159"
  },
  {
    "question": "What is Changing management methods?",
    "answer": "K u b e r n e t e s   o b j e c t s   s h o u l d   b e   m a n a g e d   u s i n g   o n l y   o n e   m e t h o d   a t   a   t i m e .   S w i t c h i n g   f r o m   o n e   m e t h o d   t o   a n o t h e r   i s   p o s s i b l e ,   b u t   i s   a   m a n u a l   p r o c e s s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_2_15160"
  },
  {
    "question": "What is Migrating from imperative command management to declarative object configuration?",
    "answer": "M i g r a t i n g   f r o m   i m p e r a t i v e   c o m m a n d   m a n a g e m e n t   t o   d e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n   i n v o l v e s   s e v e r a l   m a n u a l   s t e p s :   E x p o r t   t h e   l i v e   o b j e c t   t o   a   l o c a l   c o n f i g u r a t i o n   f i l e : k u b e c t l   g e t   < k i n d > / < n a m e >   - o   y a m l   >   < k i n d > _ < n a m e > . y a m l   M a n u a l l y   r e m o v e   t h e   s t a t u s   f i e l d   f r o m   t h e   c o n f i g u r a t i o n   f i l e . N o t e : T h i s   s t e p   i s   o p t i o n a l ,   a s   k u b e c t l   a p p l y   d o e s   n o t   u p d a t e   t h e   s t a t u s   f i e l d   e v e n   i f   i t   i s   p r e s e n t   i n   t h e   c o n f i g u r a t i o n   f i l e . S e t   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   o n   t h e   o b j e c t : k u b e c t l   r e p l a c e   - - s a v e - c o n f i g   - f   < k i n d > _ < n a m e > . y a m l   C h a n g e   p r o c e s s e s   t o   u s e   k u b e c t l   a p p l y   f o r   m a n a g i n g   t h e   o b j e c t   e x c l u s i v e l y .   E x p o r t   t h e   l i v e   o b j e c t   t o   a   l o c a l   c o n f i g u r a t i o n   f i l e :   k u b e c t l   g e t   < k i n d > / < n a m e >   - o   y a m l   >   < k i n d > _ < n a m e > . y a m l   M a n u a l l y   r e m o v e   t h e   s t a t u s   f i e l d   f r o m   t h e   c o n f i g u r a t i o n   f i l e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_3_15161"
  },
  {
    "question": "What is Note:?",
    "answer": "S e t   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   o n   t h e   o b j e c t :   k u b e c t l   r e p l a c e   - - s a v e - c o n f i g   - f   < k i n d > _ < n a m e > . y a m l   C h a n g e   p r o c e s s e s   t o   u s e   k u b e c t l   a p p l y   f o r   m a n a g i n g   t h e   o b j e c t   e x c l u s i v e l y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_4_15162"
  },
  {
    "question": "What is Migrating from imperative object configuration to declarative object configuration?",
    "answer": "S e t   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   o n   t h e   o b j e c t : k u b e c t l   r e p l a c e   - - s a v e - c o n f i g   - f   < k i n d > _ < n a m e > . y a m l   C h a n g e   p r o c e s s e s   t o   u s e   k u b e c t l   a p p l y   f o r   m a n a g i n g   t h e   o b j e c t   e x c l u s i v e l y .   S e t   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   o n   t h e   o b j e c t :   k u b e c t l   r e p l a c e   - - s a v e - c o n f i g   - f   < k i n d > _ < n a m e > . y a m l   C h a n g e   p r o c e s s e s   t o   u s e   k u b e c t l   a p p l y   f o r   m a n a g i n g   t h e   o b j e c t   e x c l u s i v e l y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_3_15163"
  },
  {
    "question": "What is Warning:?",
    "answer": "T h e   r e c o m m e n d e d   a p p r o a c h   i s   t o   d e f i n e   a   s i n g l e ,   i m m u t a b l e   P o d T e m p l a t e   l a b e l   u s e d   o n l y   b y   t h e   c o n t r o l l e r   s e l e c t o r   w i t h   n o   o t h e r   s e m a n t i c   m e a n i n g .   E x a m p l e :   s e l e c t o r :   m a t c h L a b e l s :   c o n t r o l l e r - s e l e c t o r :   \" a p p s / v 1 / d e p l o y m e n t / n g i n x \"   t e m p l a t e :   m e t a d a t a :   l a b e l s :   c o n t r o l l e r - s e l e c t o r :   \" a p p s / v 1 / d e p l o y m e n t / n g i n x \"",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_4_15164"
  },
  {
    "question": "What is What's next?",
    "answer": "M a n a g i n g   K u b e r n e t e s   O b j e c t s   U s i n g   I m p e r a t i v e   C o m m a n d s I m p e r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s K u b e c t l   C o m m a n d   R e f e r e n c e K u b e r n e t e s   A P I   R e f e r e n c e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/",
    "id": "k8s_00681_section_2_15165"
  },
  {
    "question": "What is DeleteOptions?",
    "answer": "DeleteOptionsDeleteOptions may be provided when deleting an API object.import \"k8s.io/apimachinery/pkg/apis/meta/v1\"DeleteOptions may be provided when deleting an API object.apiVersion (string)APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resourcesdryRun ([]string)Atomic: will be replaced during a mergeWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processedgracePeriodSeconds (int64)The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.ignoreStoreReadErrorWithClusterBreakingPotential (boolean)if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable itkind (string)Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsorphanDependents (boolean)Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.preconditions (Preconditions)Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.preconditions.resourceVersion (string)Specifies the target ResourceVersionpreconditions.uid (string)Specifies the target UID.propagationPolicy (string)Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/delete-options/",
    "id": "k8s_00682_qa_15166"
  },
  {
    "question": "How does DeleteOptions work?",
    "answer": "DeleteOptionsDeleteOptions may be provided when deleting an API object.import \"k8s.io/apimachinery/pkg/apis/meta/v1\"DeleteOptions may be provided when deleting an API object.apiVersion (string)APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resourcesdryRun ([]string)Atomic: will be replaced during a mergeWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processedgracePeriodSeconds (int64)The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.ignoreStoreReadErrorWithClusterBreakingPotential (boolean)if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable itkind (string)Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsorphanDependents (boolean)Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.preconditions (Preconditions)Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.preconditions.resourceVersion (string)Specifies the target ResourceVersionpreconditions.uid (string)Specifies the target UID.propagationPolicy (string)Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/delete-options/",
    "id": "k8s_00682_qa_15167"
  },
  {
    "question": "When would you use DeleteOptions?",
    "answer": "DeleteOptionsDeleteOptions may be provided when deleting an API object.import \"k8s.io/apimachinery/pkg/apis/meta/v1\"DeleteOptions may be provided when deleting an API object.apiVersion (string)APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resourcesdryRun ([]string)Atomic: will be replaced during a mergeWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processedgracePeriodSeconds (int64)The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.ignoreStoreReadErrorWithClusterBreakingPotential (boolean)if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable itkind (string)Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsorphanDependents (boolean)Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.preconditions (Preconditions)Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.preconditions.resourceVersion (string)Specifies the target ResourceVersionpreconditions.uid (string)Specifies the target UID.propagationPolicy (string)Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/delete-options/",
    "id": "k8s_00682_qa_15168"
  },
  {
    "question": "What are the benefits of DeleteOptions?",
    "answer": "DeleteOptionsDeleteOptions may be provided when deleting an API object.import \"k8s.io/apimachinery/pkg/apis/meta/v1\"DeleteOptions may be provided when deleting an API object.apiVersion (string)APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resourcesdryRun ([]string)Atomic: will be replaced during a mergeWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processedgracePeriodSeconds (int64)The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.ignoreStoreReadErrorWithClusterBreakingPotential (boolean)if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable itkind (string)Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsorphanDependents (boolean)Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.preconditions (Preconditions)Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.preconditions.resourceVersion (string)Specifies the target ResourceVersionpreconditions.uid (string)Specifies the target UID.propagationPolicy (string)Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/delete-options/",
    "id": "k8s_00682_qa_15169"
  },
  {
    "question": "What is DeleteOptions?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i m a c h i n e r y / p k g / a p i s / m e t a / v 1 \"   D e l e t e O p t i o n s   m a y   b e   p r o v i d e d   w h e n   d e l e t i n g   a n   A P I   o b j e c t .   a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s d r y R u n   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e W h e n   p r e s e n t ,   i n d i c a t e s   t h a t   m o d i f i c a t i o n s   s h o u l d   n o t   b e   p e r s i s t e d .   A n   i n v a l i d   o r   u n r e c o g n i z e d   d r y R u n   d i r e c t i v e   w i l l   r e s u l t   i n   a n   e r r o r   r e s p o n s e   a n d   n o   f u r t h e r   p r o c e s s i n g   o f   t h e   r e q u e s t .   V a l i d   v a l u e s   a r e :   -   A l l :   a l l   d r y   r u n   s t a g e s   w i l l   b e   p r o c e s s e d g r a c e P e r i o d S e c o n d s   ( i n t 6 4 ) T h e   d u r a t i o n   i n   s e c o n d s   b e f o r e   t h e   o b j e c t   s h o u l d   b e   d e l e t e d .   V a l u e   m u s t   b e   n o n - n e g a t i v e   i n t e g e r .   T h e   v a l u e   z e r o   i n d i c a t e s   d e l e t e   i m m e d i a t e l y .   I f   t h i s   v a l u e   i s   n i l ,   t h e   d e f a u l t   g r a c e   p e r i o d   f o r   t h e   s p e c i f i e d   t y p e   w i l l   b e   u s e d .   D e f a u l t s   t o   a   p e r   o b j e c t   v a l u e   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/delete-options/",
    "id": "k8s_00682_section_1_15170"
  },
  {
    "question": "What is PKI certificates and requirements?",
    "answer": "PKI certificates and requirementsKubernetes requires PKI certificates for authentication over TLS. If you install Kubernetes with kubeadm, the certificates that your cluster requires are automatically generated. You can also generate your own certificates -- for example, to keep your private keys more secure by not storing them on the API server. This page explains the certificates that your cluster requires.How certificates are used by your clusterKubernetes requires PKI for the following operations:Server certificatesServer certificate for the API server endpointServer certificate for the etcd serverServer certificates for each kubelet (every node runs a kubelet)Optional server certificate for the front-proxyClient certificatesClient certificates for each kubelet, used to authenticate to the API server as a client of the Kubernetes APIClient certificate for each API server, used to authenticate to etcdClient certificate for the controller manager to securely communicate with the API serverClient certificate for the scheduler to securely communicate with the API serverClient certificates, one for each node, for kube-proxy to authenticate to the API serverOptional client certificates for administrators of the cluster to authenticate to the API serverOptional client certificate for the front-proxyKubelet's server and client certificatesTo establish a secure connection and authenticate itself to the kubelet, the API Server requires a client certificate and key pair.In this scenario, there are two approaches for certificate usage:Shared Certificates: The kube-apiserver can utilize the same certificate and key pair it uses to authenticate its clients. This means that the existing certificates, such as apiserver.crt and apiserver.key, can be used for communicating with the kubelet servers.Separate Certificates: Alternatively, the kube-apiserver can generate a new client certificate and key pair to authenticate its communication with the kubelet servers. In this case, a distinct certificate named kubelet-client.crt and its corresponding private key, kubelet-client.key are created.Note:front-proxy certificates are required only if you run kube-proxy to support an extension API server.etcd also implements mutual TLS to authenticate clients and peers.Where certificates are storedIf you install Kubernetes with kubeadm, most certificates are stored in /etc/kubernetes/pki. All paths in this documentation are relative to that directory, with the exception of user account certificates which kubeadm places in /etc/kubernetes.Configure certificates manuallyIf you don't want kubeadm to generate the required certificates, you can create them using a single root CA or by providing all certificates. See Certificates for details on creating your own certificate authority. See Certificate Management with kubeadm for more on managing certificates.Single root CAYou can create a single root CA, controlled by an administrator. This root CA can then create multiple interme",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/certificates/",
    "id": "k8s_00683_qa_15171"
  },
  {
    "question": "How does PKI certificates and requirements work?",
    "answer": "PKI certificates and requirementsKubernetes requires PKI certificates for authentication over TLS. If you install Kubernetes with kubeadm, the certificates that your cluster requires are automatically generated. You can also generate your own certificates -- for example, to keep your private keys more secure by not storing them on the API server. This page explains the certificates that your cluster requires.How certificates are used by your clusterKubernetes requires PKI for the following operations:Server certificatesServer certificate for the API server endpointServer certificate for the etcd serverServer certificates for each kubelet (every node runs a kubelet)Optional server certificate for the front-proxyClient certificatesClient certificates for each kubelet, used to authenticate to the API server as a client of the Kubernetes APIClient certificate for each API server, used to authenticate to etcdClient certificate for the controller manager to securely communicate with the API serverClient certificate for the scheduler to securely communicate with the API serverClient certificates, one for each node, for kube-proxy to authenticate to the API serverOptional client certificates for administrators of the cluster to authenticate to the API serverOptional client certificate for the front-proxyKubelet's server and client certificatesTo establish a secure connection and authenticate itself to the kubelet, the API Server requires a client certificate and key pair.In this scenario, there are two approaches for certificate usage:Shared Certificates: The kube-apiserver can utilize the same certificate and key pair it uses to authenticate its clients. This means that the existing certificates, such as apiserver.crt and apiserver.key, can be used for communicating with the kubelet servers.Separate Certificates: Alternatively, the kube-apiserver can generate a new client certificate and key pair to authenticate its communication with the kubelet servers. In this case, a distinct certificate named kubelet-client.crt and its corresponding private key, kubelet-client.key are created.Note:front-proxy certificates are required only if you run kube-proxy to support an extension API server.etcd also implements mutual TLS to authenticate clients and peers.Where certificates are storedIf you install Kubernetes with kubeadm, most certificates are stored in /etc/kubernetes/pki. All paths in this documentation are relative to that directory, with the exception of user account certificates which kubeadm places in /etc/kubernetes.Configure certificates manuallyIf you don't want kubeadm to generate the required certificates, you can create them using a single root CA or by providing all certificates. See Certificates for details on creating your own certificate authority. See Certificate Management with kubeadm for more on managing certificates.Single root CAYou can create a single root CA, controlled by an administrator. This root CA can then create multiple interme",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/certificates/",
    "id": "k8s_00683_qa_15172"
  },
  {
    "question": "When would you use PKI certificates and requirements?",
    "answer": "PKI certificates and requirementsKubernetes requires PKI certificates for authentication over TLS. If you install Kubernetes with kubeadm, the certificates that your cluster requires are automatically generated. You can also generate your own certificates -- for example, to keep your private keys more secure by not storing them on the API server. This page explains the certificates that your cluster requires.How certificates are used by your clusterKubernetes requires PKI for the following operations:Server certificatesServer certificate for the API server endpointServer certificate for the etcd serverServer certificates for each kubelet (every node runs a kubelet)Optional server certificate for the front-proxyClient certificatesClient certificates for each kubelet, used to authenticate to the API server as a client of the Kubernetes APIClient certificate for each API server, used to authenticate to etcdClient certificate for the controller manager to securely communicate with the API serverClient certificate for the scheduler to securely communicate with the API serverClient certificates, one for each node, for kube-proxy to authenticate to the API serverOptional client certificates for administrators of the cluster to authenticate to the API serverOptional client certificate for the front-proxyKubelet's server and client certificatesTo establish a secure connection and authenticate itself to the kubelet, the API Server requires a client certificate and key pair.In this scenario, there are two approaches for certificate usage:Shared Certificates: The kube-apiserver can utilize the same certificate and key pair it uses to authenticate its clients. This means that the existing certificates, such as apiserver.crt and apiserver.key, can be used for communicating with the kubelet servers.Separate Certificates: Alternatively, the kube-apiserver can generate a new client certificate and key pair to authenticate its communication with the kubelet servers. In this case, a distinct certificate named kubelet-client.crt and its corresponding private key, kubelet-client.key are created.Note:front-proxy certificates are required only if you run kube-proxy to support an extension API server.etcd also implements mutual TLS to authenticate clients and peers.Where certificates are storedIf you install Kubernetes with kubeadm, most certificates are stored in /etc/kubernetes/pki. All paths in this documentation are relative to that directory, with the exception of user account certificates which kubeadm places in /etc/kubernetes.Configure certificates manuallyIf you don't want kubeadm to generate the required certificates, you can create them using a single root CA or by providing all certificates. See Certificates for details on creating your own certificate authority. See Certificate Management with kubeadm for more on managing certificates.Single root CAYou can create a single root CA, controlled by an administrator. This root CA can then create multiple interme",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/certificates/",
    "id": "k8s_00683_qa_15173"
  },
  {
    "question": "What are the benefits of PKI certificates and requirements?",
    "answer": "PKI certificates and requirementsKubernetes requires PKI certificates for authentication over TLS. If you install Kubernetes with kubeadm, the certificates that your cluster requires are automatically generated. You can also generate your own certificates -- for example, to keep your private keys more secure by not storing them on the API server. This page explains the certificates that your cluster requires.How certificates are used by your clusterKubernetes requires PKI for the following operations:Server certificatesServer certificate for the API server endpointServer certificate for the etcd serverServer certificates for each kubelet (every node runs a kubelet)Optional server certificate for the front-proxyClient certificatesClient certificates for each kubelet, used to authenticate to the API server as a client of the Kubernetes APIClient certificate for each API server, used to authenticate to etcdClient certificate for the controller manager to securely communicate with the API serverClient certificate for the scheduler to securely communicate with the API serverClient certificates, one for each node, for kube-proxy to authenticate to the API serverOptional client certificates for administrators of the cluster to authenticate to the API serverOptional client certificate for the front-proxyKubelet's server and client certificatesTo establish a secure connection and authenticate itself to the kubelet, the API Server requires a client certificate and key pair.In this scenario, there are two approaches for certificate usage:Shared Certificates: The kube-apiserver can utilize the same certificate and key pair it uses to authenticate its clients. This means that the existing certificates, such as apiserver.crt and apiserver.key, can be used for communicating with the kubelet servers.Separate Certificates: Alternatively, the kube-apiserver can generate a new client certificate and key pair to authenticate its communication with the kubelet servers. In this case, a distinct certificate named kubelet-client.crt and its corresponding private key, kubelet-client.key are created.Note:front-proxy certificates are required only if you run kube-proxy to support an extension API server.etcd also implements mutual TLS to authenticate clients and peers.Where certificates are storedIf you install Kubernetes with kubeadm, most certificates are stored in /etc/kubernetes/pki. All paths in this documentation are relative to that directory, with the exception of user account certificates which kubeadm places in /etc/kubernetes.Configure certificates manuallyIf you don't want kubeadm to generate the required certificates, you can create them using a single root CA or by providing all certificates. See Certificates for details on creating your own certificate authority. See Certificate Management with kubeadm for more on managing certificates.Single root CAYou can create a single root CA, controlled by an administrator. This root CA can then create multiple interme",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/certificates/",
    "id": "k8s_00683_qa_15174"
  },
  {
    "question": "What is PKI certificates and requirements?",
    "answer": "K u b e r n e t e s   r e q u i r e s   P K I   c e r t i f i c a t e s   f o r   a u t h e n t i c a t i o n   o v e r   T L S .   I f   y o u   i n s t a l l   K u b e r n e t e s   w i t h   k u b e a d m ,   t h e   c e r t i f i c a t e s   t h a t   y o u r   c l u s t e r   r e q u i r e s   a r e   a u t o m a t i c a l l y   g e n e r a t e d .   Y o u   c a n   a l s o   g e n e r a t e   y o u r   o w n   c e r t i f i c a t e s   - -   f o r   e x a m p l e ,   t o   k e e p   y o u r   p r i v a t e   k e y s   m o r e   s e c u r e   b y   n o t   s t o r i n g   t h e m   o n   t h e   A P I   s e r v e r .   T h i s   p a g e   e x p l a i n s   t h e   c e r t i f i c a t e s   t h a t   y o u r   c l u s t e r   r e q u i r e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/certificates/",
    "id": "k8s_00683_section_1_15175"
  },
  {
    "question": "What is How certificates are used by your cluster?",
    "answer": "K u b e r n e t e s   r e q u i r e s   P K I   f o r   t h e   f o l l o w i n g   o p e r a t i o n s :",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/certificates/",
    "id": "k8s_00683_section_2_15176"
  },
  {
    "question": "What is Server certificates?",
    "answer": "S e r v e r   c e r t i f i c a t e   f o r   t h e   A P I   s e r v e r   e n d p o i n t S e r v e r   c e r t i f i c a t e   f o r   t h e   e t c d   s e r v e r S e r v e r   c e r t i f i c a t e s   f o r   e a c h   k u b e l e t   ( e v e r y   n o d e   r u n s   a   k u b e l e t ) O p t i o n a l   s e r v e r   c e r t i f i c a t e   f o r   t h e   f r o n t - p r o x y",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/certificates/",
    "id": "k8s_00683_section_3_15177"
  },
  {
    "question": "What is Client certificates?",
    "answer": "C l i e n t   c e r t i f i c a t e s   f o r   e a c h   k u b e l e t ,   u s e d   t o   a u t h e n t i c a t e   t o   t h e   A P I   s e r v e r   a s   a   c l i e n t   o f   t h e   K u b e r n e t e s   A P I C l i e n t   c e r t i f i c a t e   f o r   e a c h   A P I   s e r v e r ,   u s e d   t o   a u t h e n t i c a t e   t o   e t c d C l i e n t   c e r t i f i c a t e   f o r   t h e   c o n t r o l l e r   m a n a g e r   t o   s e c u r e l y   c o m m u n i c a t e   w i t h   t h e   A P I   s e r v e r C l i e n t   c e r t i f i c a t e   f o r   t h e   s c h e d u l e r   t o   s e c u r e l y   c o m m u n i c a t e   w i t h   t h e   A P I   s e r v e r C l i e n t   c e r t i f i c a t e s ,   o n e   f o r   e a c h   n o d e ,   f o r   k u b e - p r o x y   t o   a u t h e n t i c a t e   t o   t h e   A P I   s e r v e r O p t i o n a l   c l i e n t   c e r t i f i c a t e s   f o r   a d m i n i s t r a t o r s   o f   t h e   c l u s t e r   t o   a u t h e n t i c a t e   t o   t h e   A P I   s e r v e r O p t i o n a l   c l i e n t   c e r t i f i c a t e   f o r   t h e   f r o n t - p r o x y",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/certificates/",
    "id": "k8s_00683_section_3_15178"
  },
  {
    "question": "What is Kubelet's server and client certificates?",
    "answer": "T o   e s t a b l i s h   a   s e c u r e   c o n n e c t i o n   a n d   a u t h e n t i c a t e   i t s e l f   t o   t h e   k u b e l e t ,   t h e   A P I   S e r v e r   r e q u i r e s   a   c l i e n t   c e r t i f i c a t e   a n d   k e y   p a i r .   I n   t h i s   s c e n a r i o ,   t h e r e   a r e   t w o   a p p r o a c h e s   f o r   c e r t i f i c a t e   u s a g e :   S h a r e d   C e r t i f i c a t e s :   T h e   k u b e - a p i s e r v e r   c a n   u t i l i z e   t h e   s a m e   c e r t i f i c a t e   a n d   k e y   p a i r   i t   u s e s   t o   a u t h e n t i c a t e   i t s   c l i e n t s .   T h i s   m e a n s   t h a t   t h e   e x i s t i n g   c e r t i f i c a t e s ,   s u c h   a s   a p i s e r v e r . c r t   a n d   a p i s e r v e r . k e y ,   c a n   b e   u s e d   f o r   c o m m u n i c a t i n g   w i t h   t h e   k u b e l e t   s e r v e r s . S e p a r a t e   C e r t i f i c a t e s :   A l t e r n a t i v e l y ,   t h e   k u b e - a p i s e r v e r   c a n   g e n e r a t e   a   n e w   c l i e n t   c e r t i f i c a t e   a n d   k e y   p a i r   t o   a u t h e n t i c a t e   i t s   c o m m u n i c a t i o n   w i t h   t h e   k u b e l e t   s e r v e r s .   I n   t h i s   c a s e ,   a   d i s t i n c t   c e r t i f i c a t e   n a m e d   k u b e l e t - c l i e n t . c r t   a n d   i t s   c o r r e s p o n d i n g   p r i v a t e   k e y ,   k u b e l e t - c l i e n t . k e y   a r e   c r e a t e d .   S h a r e d   C e r t i f i c a t e s :   T h e   k u b e - a p i s e r v e r   c a n   u t i l i z e   t h e   s a m e   c e r t i f i c a t e   a n d   k e y   p a i r   i t   u s e s   t o   a u t h e n t i c a t e   i t s   c l i e n t s .   T h i s   m e a n s   t h a t   t h e   e x i s t i n g   c e r t i f i c a t e s ,   s u c h   a s   a p i s e r v e r . c r t   a n d   a p i s e r v e r . k e y ,   c a n   b e   u s e d   f o r   c o m m u n i c a t i n g   w i t h   t ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/certificates/",
    "id": "k8s_00683_section_3_15179"
  },
  {
    "question": "What is Note:?",
    "answer": "e t c d   a l s o   i m p l e m e n t s   m u t u a l   T L S   t o   a u t h e n t i c a t e   c l i e n t s   a n d   p e e r s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/certificates/",
    "id": "k8s_00683_section_4_15180"
  },
  {
    "question": "What is Where certificates are stored?",
    "answer": "I f   y o u   i n s t a l l   K u b e r n e t e s   w i t h   k u b e a d m ,   m o s t   c e r t i f i c a t e s   a r e   s t o r e d   i n   / e t c / k u b e r n e t e s / p k i .   A l l   p a t h s   i n   t h i s   d o c u m e n t a t i o n   a r e   r e l a t i v e   t o   t h a t   d i r e c t o r y ,   w i t h   t h e   e x c e p t i o n   o f   u s e r   a c c o u n t   c e r t i f i c a t e s   w h i c h   k u b e a d m   p l a c e s   i n   / e t c / k u b e r n e t e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/certificates/",
    "id": "k8s_00683_section_2_15181"
  },
  {
    "question": "What is Configure certificates manually?",
    "answer": "I f   y o u   d o n ' t   w a n t   k u b e a d m   t o   g e n e r a t e   t h e   r e q u i r e d   c e r t i f i c a t e s ,   y o u   c a n   c r e a t e   t h e m   u s i n g   a   s i n g l e   r o o t   C A   o r   b y   p r o v i d i n g   a l l   c e r t i f i c a t e s .   S e e   C e r t i f i c a t e s   f o r   d e t a i l s   o n   c r e a t i n g   y o u r   o w n   c e r t i f i c a t e   a u t h o r i t y .   S e e   C e r t i f i c a t e   M a n a g e m e n t   w i t h   k u b e a d m   f o r   m o r e   o n   m a n a g i n g   c e r t i f i c a t e s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/certificates/",
    "id": "k8s_00683_section_2_15182"
  },
  {
    "question": "What is Single root CA?",
    "answer": "Y o u   c a n   c r e a t e   a   s i n g l e   r o o t   C A ,   c o n t r o l l e d   b y   a n   a d m i n i s t r a t o r .   T h i s   r o o t   C A   c a n   t h e n   c r e a t e   m u l t i p l e   i n t e r m e d i a t e   C A s ,   a n d   d e l e g a t e   a l l   f u r t h e r   c r e a t i o n   t o   K u b e r n e t e s   i t s e l f .   R e q u i r e d   C A s :   O n   t o p   o f   t h e   a b o v e   C A s ,   i t   i s   a l s o   n e c e s s a r y   t o   g e t   a   p u b l i c / p r i v a t e   k e y   p a i r   f o r   s e r v i c e   a c c o u n t   m a n a g e m e n t ,   s a . k e y   a n d   s a . p u b .   T h e   f o l l o w i n g   e x a m p l e   i l l u s t r a t e s   t h e   C A   k e y   a n d   c e r t i f i c a t e   f i l e s   s h o w n   i n   t h e   p r e v i o u s   t a b l e :   / e t c / k u b e r n e t e s / p k i / c a . c r t   / e t c / k u b e r n e t e s / p k i / c a . k e y   / e t c / k u b e r n e t e s / p k i / e t c d / c a . c r t   / e t c / k u b e r n e t e s / p k i / e t c d / c a . k e y   / e t c / k u b e r n e t e s / p k i / f r o n t - p r o x y - c a . c r t   / e t c / k u b e r n e t e s / p k i / f r o n t - p r o x y - c a . k e y",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/certificates/",
    "id": "k8s_00683_section_3_15183"
  },
  {
    "question": "What is All certificates?",
    "answer": "I f   y o u   d o n ' t   w i s h   t o   c o p y   t h e   C A   p r i v a t e   k e y s   t o   y o u r   c l u s t e r ,   y o u   c a n   g e n e r a t e   a l l   c e r t i f i c a t e s   y o u r s e l f .   R e q u i r e d   c e r t i f i c a t e s :",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/certificates/",
    "id": "k8s_00683_section_3_15184"
  },
  {
    "question": "What is Note:?",
    "answer": "w h e r e   k i n d   m a p s   t o   o n e   o r   m o r e   o f   t h e   x 5 0 9   k e y   u s a g e ,   w h i c h   i s   a l s o   d o c u m e n t e d   i n   t h e   . s p e c . u s a g e s   o f   a   C e r t i f i c a t e S i g n i n g R e q u e s t   t y p e :",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/certificates/",
    "id": "k8s_00683_section_4_15185"
  },
  {
    "question": "What is Note:?",
    "answer": "F o r   k u b e a d m   u s e r s   o n l y :   T h e   s c e n a r i o   w h e r e   y o u   a r e   c o p y i n g   t o   y o u r   c l u s t e r   C A   c e r t i f i c a t e s   w i t h o u t   p r i v a t e   k e y s   i s   r e f e r r e d   a s   e x t e r n a l   C A   i n   t h e   k u b e a d m   d o c u m e n t a t i o n . I f   y o u   a r e   c o m p a r i n g   t h e   a b o v e   l i s t   w i t h   a   k u b e a d m   g e n e r a t e d   P K I ,   p l e a s e   b e   a w a r e   t h a t   k u b e - e t c d ,   k u b e - e t c d - p e e r   a n d   k u b e - e t c d - h e a l t h c h e c k - c l i e n t   c e r t i f i c a t e s   a r e   n o t   g e n e r a t e d   i n   c a s e   o f   e x t e r n a l   e t c d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/certificates/",
    "id": "k8s_00683_section_4_15186"
  },
  {
    "question": "What is Certificate paths?",
    "answer": "C e r t i f i c a t e s   s h o u l d   b e   p l a c e d   i n   a   r e c o m m e n d e d   p a t h   ( a s   u s e d   b y   k u b e a d m ) .   P a t h s   s h o u l d   b e   s p e c i f i e d   u s i n g   t h e   g i v e n   a r g u m e n t   r e g a r d l e s s   o f   l o c a t i o n .   S a m e   c o n s i d e r a t i o n s   a p p l y   f o r   t h e   s e r v i c e   a c c o u n t   k e y   p a i r :   T h e   f o l l o w i n g   e x a m p l e   i l l u s t r a t e s   t h e   f i l e   p a t h s   f r o m   t h e   p r e v i o u s   t a b l e s   y o u   n e e d   t o   p r o v i d e   i f   y o u   a r e   g e n e r a t i n g   a l l   o f   y o u r   o w n   k e y s   a n d   c e r t i f i c a t e s :   / e t c / k u b e r n e t e s / p k i / e t c d / c a . k e y   / e t c / k u b e r n e t e s / p k i / e t c d / c a . c r t   / e t c / k u b e r n e t e s / p k i / a p i s e r v e r - e t c d - c l i e n t . k e y   / e t c / k u b e r n e t e s / p k i / a p i s e r v e r - e t c d - c l i e n t . c r t   / e t c / k u b e r n e t e s / p k i / c a . k e y   / e t c / k u b e r n e t e s / p k i / c a . c r t   / e t c / k u b e r n e t e s / p k i / a p i s e r v e r . k e y   / e t c / k u b e r n e t e s / p k i / a p i s e r v e r . c r t   / e t c / k u b e r n e t e s / p k i / a p i s e r v e r - k u b e l e t - c l i e n t . k e y   / e t c / k u b e r n e t e s / p k i / a p i s e r v e r - k u b e l e t - c l i e n t . c r t   / e t c / k u b e r n e t e s / p k i / f r o n t - p r o x y - c a . k e y   / e t c / k u b e r n e t e s / p k i / f r o n t - p r o x y - c a . c r t   / e t c / k u b e r n e t e s / p k i / f r o n t - p r o x y - c l i e n t . k e y   / e t c / k u b e r n e t e s / p k i / f r o n t - p r o x y - c l i e n t . c r t   / e t c / k u b e r n e t e s / p k i / e t c d / s e r v e r . k e y   / e t c / k u b e r n e t e s / p k i / e t c d / s e r v e r . c r t   / e t c / k u b e r n e t e s / p k i / e t c d ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/certificates/",
    "id": "k8s_00683_section_3_15187"
  },
  {
    "question": "What is Configure certificates for user accounts?",
    "answer": "Y o u   m u s t   m a n u a l l y   c o n f i g u r e   t h e s e   a d m i n i s t r a t o r   a c c o u n t s   a n d   s e r v i c e   a c c o u n t s :",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/certificates/",
    "id": "k8s_00683_section_2_15188"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   t h e   a b o v e   e x a m p l e   < a d m i n - g r o u p >   i s   i m p l e m e n t a t i o n   s p e c i f i c .   S o m e   t o o l s   s i g n   t h e   c e r t i f i c a t e   i n   t h e   d e f a u l t   a d m i n . c o n f   t o   b e   p a r t   o f   t h e   s y s t e m : m a s t e r s   g r o u p .   s y s t e m : m a s t e r s   i s   a   b r e a k - g l a s s ,   s u p e r   u s e r   g r o u p   c a n   b y p a s s   t h e   a u t h o r i z a t i o n   l a y e r   o f   K u b e r n e t e s ,   s u c h   a s   R B A C .   A l s o   s o m e   t o o l s   d o   n o t   g e n e r a t e   a   s e p a r a t e   s u p e r - a d m i n . c o n f   w i t h   a   c e r t i f i c a t e   b o u n d   t o   t h i s   s u p e r   u s e r   g r o u p .   k u b e a d m   g e n e r a t e s   t w o   s e p a r a t e   a d m i n i s t r a t o r   c e r t i f i c a t e s   i n   k u b e c o n f i g   f i l e s .   O n e   i s   i n   a d m i n . c o n f   a n d   h a s   S u b j e c t :   O   =   k u b e a d m : c l u s t e r - a d m i n s ,   C N   =   k u b e r n e t e s - a d m i n .   k u b e a d m : c l u s t e r - a d m i n s   i s   a   c u s t o m   g r o u p   b o u n d   t o   t h e   c l u s t e r - a d m i n   C l u s t e r R o l e .   T h i s   f i l e   i s   g e n e r a t e d   o n   a l l   k u b e a d m   m a n a g e d   c o n t r o l   p l a n e   m a c h i n e s .   A n o t h e r   i s   i n   s u p e r - a d m i n . c o n f   t h a t   h a s   S u b j e c t :   O   =   s y s t e m : m a s t e r s ,   C N   =   k u b e r n e t e s - s u p e r - a d m i n .   T h i s   f i l e   i s   g e n e r a t e d   o n l y   o n   t h e   n o d e   w h e r e   k u b e a d m   i n i t   w a s   c a l l e d .   F o r   e a c h   c o n f i g u r a t i o n ,   g e n e r a t e   a n   x 5 0 9   c e r t i f i c a t e / k e y   p a i r   w i t h   t h e   g i v e n   C o m m o n   N a m e   ( C N )   a n d   O r g a n i z a t i o n   ( O ) . R u n   k u b e c t l ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/best-practices/certificates/",
    "id": "k8s_00683_section_4_15189"
  },
  {
    "question": "What is Running Kubelet in Standalone Mode?",
    "answer": "Running Kubelet in Standalone ModeThis tutorial shows you how to run a standalone kubelet instance.You may have different motivations for running a standalone kubelet. This tutorial is aimed at introducing you to Kubernetes, even if you don't have much experience with it. You can follow this tutorial and learn about node setup, basic (static) Pods, and how Kubernetes manages containers.Once you have followed this tutorial, you could try using a cluster that has a control plane to manage pods and nodes, and other types of objects. For example, Hello, minikube.You can also run the kubelet in standalone mode to suit production use cases, such as to run the control plane for a highly available, resiliently deployed cluster. This tutorial does not cover the details you need for running a resilient control plane.ObjectivesInstall cri-o, and kubelet on a Linux system and run them as systemd services.Launch a Pod running nginx that listens to requests on TCP port 80 on the Pod's IP address.Learn how the different components of the solution interact among themselves.Caution:The kubelet configuration used for this tutorial is insecure by design and should not be used in a production environment.Before you beginAdmin (root) access to a Linux system that uses systemd and iptables (or nftables with iptables emulation).Access to the Internet to download the components needed for the tutorial, such as:A container runtime that implements the Kubernetes (CRI).Network plugins (these are often known as Container Networking Interface (CNI))Required CLI tools: curl, tar, jq.Prepare the systemSwap configurationBy default, kubelet fails to start if swap memory is detected on a node. This means that swap should either be disabled or tolerated by kubelet.Note:If you configure the kubelet to tolerate swap, the kubelet still configures Pods (and the containers in those Pods) not to use swap space. To find out how Pods can actually use the available swap, you can read more about swap memory management on Linux nodes.If you have swap memory enabled, either disable it or add failSwapOn: false to the kubelet configuration file.To check if swap is enabled:sudo swapon --show If there is no output from the command, then swap memory is already disabled.To disable swap temporarily:sudo swapoff -a To make this change persistent across reboots:Make sure swap is disabled in either /etc/fstab or systemd.swap, depending on how it was configured on your system.Enable IPv4 packet forwardingTo check if IPv4 packet forwarding is enabled:cat /proc/sys/net/ipv4/ip_forward If the output is 1, it is already enabled. If the output is 0, then follow next steps.To enable IPv4 packet forwarding, create a configuration file that sets the net.ipv4.ip_forward parameter to 1:sudo tee /etc/sysctl.d/k8s.conf <<EOF net.ipv4.ip_forward = 1 EOF Apply the changes to the system:sudo sysctl --system The output is similar to:... * Applying /etc/sysctl.d/k8s.conf ... net.ipv4.ip_forward = 1 * Applying /etc/sysct",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/kubelet-standalone/",
    "id": "k8s_00684_qa_15190"
  },
  {
    "question": "How does Running Kubelet in Standalone Mode work?",
    "answer": "Running Kubelet in Standalone ModeThis tutorial shows you how to run a standalone kubelet instance.You may have different motivations for running a standalone kubelet. This tutorial is aimed at introducing you to Kubernetes, even if you don't have much experience with it. You can follow this tutorial and learn about node setup, basic (static) Pods, and how Kubernetes manages containers.Once you have followed this tutorial, you could try using a cluster that has a control plane to manage pods and nodes, and other types of objects. For example, Hello, minikube.You can also run the kubelet in standalone mode to suit production use cases, such as to run the control plane for a highly available, resiliently deployed cluster. This tutorial does not cover the details you need for running a resilient control plane.ObjectivesInstall cri-o, and kubelet on a Linux system and run them as systemd services.Launch a Pod running nginx that listens to requests on TCP port 80 on the Pod's IP address.Learn how the different components of the solution interact among themselves.Caution:The kubelet configuration used for this tutorial is insecure by design and should not be used in a production environment.Before you beginAdmin (root) access to a Linux system that uses systemd and iptables (or nftables with iptables emulation).Access to the Internet to download the components needed for the tutorial, such as:A container runtime that implements the Kubernetes (CRI).Network plugins (these are often known as Container Networking Interface (CNI))Required CLI tools: curl, tar, jq.Prepare the systemSwap configurationBy default, kubelet fails to start if swap memory is detected on a node. This means that swap should either be disabled or tolerated by kubelet.Note:If you configure the kubelet to tolerate swap, the kubelet still configures Pods (and the containers in those Pods) not to use swap space. To find out how Pods can actually use the available swap, you can read more about swap memory management on Linux nodes.If you have swap memory enabled, either disable it or add failSwapOn: false to the kubelet configuration file.To check if swap is enabled:sudo swapon --show If there is no output from the command, then swap memory is already disabled.To disable swap temporarily:sudo swapoff -a To make this change persistent across reboots:Make sure swap is disabled in either /etc/fstab or systemd.swap, depending on how it was configured on your system.Enable IPv4 packet forwardingTo check if IPv4 packet forwarding is enabled:cat /proc/sys/net/ipv4/ip_forward If the output is 1, it is already enabled. If the output is 0, then follow next steps.To enable IPv4 packet forwarding, create a configuration file that sets the net.ipv4.ip_forward parameter to 1:sudo tee /etc/sysctl.d/k8s.conf <<EOF net.ipv4.ip_forward = 1 EOF Apply the changes to the system:sudo sysctl --system The output is similar to:... * Applying /etc/sysctl.d/k8s.conf ... net.ipv4.ip_forward = 1 * Applying /etc/sysct",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/kubelet-standalone/",
    "id": "k8s_00684_qa_15191"
  },
  {
    "question": "When would you use Running Kubelet in Standalone Mode?",
    "answer": "Running Kubelet in Standalone ModeThis tutorial shows you how to run a standalone kubelet instance.You may have different motivations for running a standalone kubelet. This tutorial is aimed at introducing you to Kubernetes, even if you don't have much experience with it. You can follow this tutorial and learn about node setup, basic (static) Pods, and how Kubernetes manages containers.Once you have followed this tutorial, you could try using a cluster that has a control plane to manage pods and nodes, and other types of objects. For example, Hello, minikube.You can also run the kubelet in standalone mode to suit production use cases, such as to run the control plane for a highly available, resiliently deployed cluster. This tutorial does not cover the details you need for running a resilient control plane.ObjectivesInstall cri-o, and kubelet on a Linux system and run them as systemd services.Launch a Pod running nginx that listens to requests on TCP port 80 on the Pod's IP address.Learn how the different components of the solution interact among themselves.Caution:The kubelet configuration used for this tutorial is insecure by design and should not be used in a production environment.Before you beginAdmin (root) access to a Linux system that uses systemd and iptables (or nftables with iptables emulation).Access to the Internet to download the components needed for the tutorial, such as:A container runtime that implements the Kubernetes (CRI).Network plugins (these are often known as Container Networking Interface (CNI))Required CLI tools: curl, tar, jq.Prepare the systemSwap configurationBy default, kubelet fails to start if swap memory is detected on a node. This means that swap should either be disabled or tolerated by kubelet.Note:If you configure the kubelet to tolerate swap, the kubelet still configures Pods (and the containers in those Pods) not to use swap space. To find out how Pods can actually use the available swap, you can read more about swap memory management on Linux nodes.If you have swap memory enabled, either disable it or add failSwapOn: false to the kubelet configuration file.To check if swap is enabled:sudo swapon --show If there is no output from the command, then swap memory is already disabled.To disable swap temporarily:sudo swapoff -a To make this change persistent across reboots:Make sure swap is disabled in either /etc/fstab or systemd.swap, depending on how it was configured on your system.Enable IPv4 packet forwardingTo check if IPv4 packet forwarding is enabled:cat /proc/sys/net/ipv4/ip_forward If the output is 1, it is already enabled. If the output is 0, then follow next steps.To enable IPv4 packet forwarding, create a configuration file that sets the net.ipv4.ip_forward parameter to 1:sudo tee /etc/sysctl.d/k8s.conf <<EOF net.ipv4.ip_forward = 1 EOF Apply the changes to the system:sudo sysctl --system The output is similar to:... * Applying /etc/sysctl.d/k8s.conf ... net.ipv4.ip_forward = 1 * Applying /etc/sysct",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/kubelet-standalone/",
    "id": "k8s_00684_qa_15192"
  },
  {
    "question": "What are the benefits of Running Kubelet in Standalone Mode?",
    "answer": "Running Kubelet in Standalone ModeThis tutorial shows you how to run a standalone kubelet instance.You may have different motivations for running a standalone kubelet. This tutorial is aimed at introducing you to Kubernetes, even if you don't have much experience with it. You can follow this tutorial and learn about node setup, basic (static) Pods, and how Kubernetes manages containers.Once you have followed this tutorial, you could try using a cluster that has a control plane to manage pods and nodes, and other types of objects. For example, Hello, minikube.You can also run the kubelet in standalone mode to suit production use cases, such as to run the control plane for a highly available, resiliently deployed cluster. This tutorial does not cover the details you need for running a resilient control plane.ObjectivesInstall cri-o, and kubelet on a Linux system and run them as systemd services.Launch a Pod running nginx that listens to requests on TCP port 80 on the Pod's IP address.Learn how the different components of the solution interact among themselves.Caution:The kubelet configuration used for this tutorial is insecure by design and should not be used in a production environment.Before you beginAdmin (root) access to a Linux system that uses systemd and iptables (or nftables with iptables emulation).Access to the Internet to download the components needed for the tutorial, such as:A container runtime that implements the Kubernetes (CRI).Network plugins (these are often known as Container Networking Interface (CNI))Required CLI tools: curl, tar, jq.Prepare the systemSwap configurationBy default, kubelet fails to start if swap memory is detected on a node. This means that swap should either be disabled or tolerated by kubelet.Note:If you configure the kubelet to tolerate swap, the kubelet still configures Pods (and the containers in those Pods) not to use swap space. To find out how Pods can actually use the available swap, you can read more about swap memory management on Linux nodes.If you have swap memory enabled, either disable it or add failSwapOn: false to the kubelet configuration file.To check if swap is enabled:sudo swapon --show If there is no output from the command, then swap memory is already disabled.To disable swap temporarily:sudo swapoff -a To make this change persistent across reboots:Make sure swap is disabled in either /etc/fstab or systemd.swap, depending on how it was configured on your system.Enable IPv4 packet forwardingTo check if IPv4 packet forwarding is enabled:cat /proc/sys/net/ipv4/ip_forward If the output is 1, it is already enabled. If the output is 0, then follow next steps.To enable IPv4 packet forwarding, create a configuration file that sets the net.ipv4.ip_forward parameter to 1:sudo tee /etc/sysctl.d/k8s.conf <<EOF net.ipv4.ip_forward = 1 EOF Apply the changes to the system:sudo sysctl --system The output is similar to:... * Applying /etc/sysctl.d/k8s.conf ... net.ipv4.ip_forward = 1 * Applying /etc/sysct",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/kubelet-standalone/",
    "id": "k8s_00684_qa_15193"
  },
  {
    "question": "What is Running Kubelet in Standalone Mode?",
    "answer": "T h i s   t u t o r i a l   s h o w s   y o u   h o w   t o   r u n   a   s t a n d a l o n e   k u b e l e t   i n s t a n c e .   Y o u   m a y   h a v e   d i f f e r e n t   m o t i v a t i o n s   f o r   r u n n i n g   a   s t a n d a l o n e   k u b e l e t .   T h i s   t u t o r i a l   i s   a i m e d   a t   i n t r o d u c i n g   y o u   t o   K u b e r n e t e s ,   e v e n   i f   y o u   d o n ' t   h a v e   m u c h   e x p e r i e n c e   w i t h   i t .   Y o u   c a n   f o l l o w   t h i s   t u t o r i a l   a n d   l e a r n   a b o u t   n o d e   s e t u p ,   b a s i c   ( s t a t i c )   P o d s ,   a n d   h o w   K u b e r n e t e s   m a n a g e s   c o n t a i n e r s .   O n c e   y o u   h a v e   f o l l o w e d   t h i s   t u t o r i a l ,   y o u   c o u l d   t r y   u s i n g   a   c l u s t e r   t h a t   h a s   a   c o n t r o l   p l a n e   t o   m a n a g e   p o d s   a n d   n o d e s ,   a n d   o t h e r   t y p e s   o f   o b j e c t s .   F o r   e x a m p l e ,   H e l l o ,   m i n i k u b e .   Y o u   c a n   a l s o   r u n   t h e   k u b e l e t   i n   s t a n d a l o n e   m o d e   t o   s u i t   p r o d u c t i o n   u s e   c a s e s ,   s u c h   a s   t o   r u n   t h e   c o n t r o l   p l a n e   f o r   a   h i g h l y   a v a i l a b l e ,   r e s i l i e n t l y   d e p l o y e d   c l u s t e r .   T h i s   t u t o r i a l   d o e s   n o t   c o v e r   t h e   d e t a i l s   y o u   n e e d   f o r   r u n n i n g   a   r e s i l i e n t   c o n t r o l   p l a n e .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/kubelet-standalone/",
    "id": "k8s_00684_section_1_15194"
  },
  {
    "question": "What is Objectives?",
    "answer": "I n s t a l l   c r i - o ,   a n d   k u b e l e t   o n   a   L i n u x   s y s t e m   a n d   r u n   t h e m   a s   s y s t e m d   s e r v i c e s . L a u n c h   a   P o d   r u n n i n g   n g i n x   t h a t   l i s t e n s   t o   r e q u e s t s   o n   T C P   p o r t   8 0   o n   t h e   P o d ' s   I P   a d d r e s s . L e a r n   h o w   t h e   d i f f e r e n t   c o m p o n e n t s   o f   t h e   s o l u t i o n   i n t e r a c t   a m o n g   t h e m s e l v e s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/kubelet-standalone/",
    "id": "k8s_00684_section_2_15195"
  },
  {
    "question": "What is Before you begin?",
    "answer": "A d m i n   ( r o o t )   a c c e s s   t o   a   L i n u x   s y s t e m   t h a t   u s e s   s y s t e m d   a n d   i p t a b l e s   ( o r   n f t a b l e s   w i t h   i p t a b l e s   e m u l a t i o n ) . A c c e s s   t o   t h e   I n t e r n e t   t o   d o w n l o a d   t h e   c o m p o n e n t s   n e e d e d   f o r   t h e   t u t o r i a l ,   s u c h   a s : A   c o n t a i n e r   r u n t i m e   t h a t   i m p l e m e n t s   t h e   K u b e r n e t e s   ( C R I ) . N e t w o r k   p l u g i n s   ( t h e s e   a r e   o f t e n   k n o w n   a s   C o n t a i n e r   N e t w o r k i n g   I n t e r f a c e   ( C N I ) ) R e q u i r e d   C L I   t o o l s :   c u r l ,   t a r ,   j q .   A   c o n t a i n e r   r u n t i m e   t h a t   i m p l e m e n t s   t h e   K u b e r n e t e s   ( C R I ) . N e t w o r k   p l u g i n s   ( t h e s e   a r e   o f t e n   k n o w n   a s   C o n t a i n e r   N e t w o r k i n g   I n t e r f a c e   ( C N I ) ) R e q u i r e d   C L I   t o o l s :   c u r l ,   t a r ,   j q .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/kubelet-standalone/",
    "id": "k8s_00684_section_2_15196"
  },
  {
    "question": "What is Swap configuration?",
    "answer": "B y   d e f a u l t ,   k u b e l e t   f a i l s   t o   s t a r t   i f   s w a p   m e m o r y   i s   d e t e c t e d   o n   a   n o d e .   T h i s   m e a n s   t h a t   s w a p   s h o u l d   e i t h e r   b e   d i s a b l e d   o r   t o l e r a t e d   b y   k u b e l e t .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/kubelet-standalone/",
    "id": "k8s_00684_section_3_15197"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   h a v e   s w a p   m e m o r y   e n a b l e d ,   e i t h e r   d i s a b l e   i t   o r   a d d   f a i l S w a p O n :   f a l s e   t o   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e .   T o   c h e c k   i f   s w a p   i s   e n a b l e d :   s u d o   s w a p o n   - - s h o w   I f   t h e r e   i s   n o   o u t p u t   f r o m   t h e   c o m m a n d ,   t h e n   s w a p   m e m o r y   i s   a l r e a d y   d i s a b l e d .   T o   d i s a b l e   s w a p   t e m p o r a r i l y :   s u d o   s w a p o f f   - a   T o   m a k e   t h i s   c h a n g e   p e r s i s t e n t   a c r o s s   r e b o o t s :   M a k e   s u r e   s w a p   i s   d i s a b l e d   i n   e i t h e r   / e t c / f s t a b   o r   s y s t e m d . s w a p ,   d e p e n d i n g   o n   h o w   i t   w a s   c o n f i g u r e d   o n   y o u r   s y s t e m .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/kubelet-standalone/",
    "id": "k8s_00684_section_4_15198"
  },
  {
    "question": "What is Enable IPv4 packet forwarding?",
    "answer": "T o   c h e c k   i f   I P v 4   p a c k e t   f o r w a r d i n g   i s   e n a b l e d :   c a t   / p r o c / s y s / n e t / i p v 4 / i p _ f o r w a r d   I f   t h e   o u t p u t   i s   1 ,   i t   i s   a l r e a d y   e n a b l e d .   I f   t h e   o u t p u t   i s   0 ,   t h e n   f o l l o w   n e x t   s t e p s .   T o   e n a b l e   I P v 4   p a c k e t   f o r w a r d i n g ,   c r e a t e   a   c o n f i g u r a t i o n   f i l e   t h a t   s e t s   t h e   n e t . i p v 4 . i p _ f o r w a r d   p a r a m e t e r   t o   1 :   s u d o   t e e   / e t c / s y s c t l . d / k 8 s . c o n f   < < E O F   n e t . i p v 4 . i p _ f o r w a r d   =   1   E O F   A p p l y   t h e   c h a n g e s   t o   t h e   s y s t e m :   s u d o   s y s c t l   - - s y s t e m   T h e   o u t p u t   i s   s i m i l a r   t o :   . . .   *   A p p l y i n g   / e t c / s y s c t l . d / k 8 s . c o n f   . . .   n e t . i p v 4 . i p _ f o r w a r d   =   1   *   A p p l y i n g   / e t c / s y s c t l . c o n f   . . .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/kubelet-standalone/",
    "id": "k8s_00684_section_3_15199"
  },
  {
    "question": "What is Install a container runtime?",
    "answer": "D o w n l o a d   t h e   l a t e s t   a v a i l a b l e   v e r s i o n s   o f   t h e   r e q u i r e d   p a c k a g e s   ( r e c o m m e n d e d ) .   T h i s   t u t o r i a l   s u g g e s t s   i n s t a l l i n g   t h e   C R I - O   c o n t a i n e r   r u n t i m e   ( e x t e r n a l   l i n k ) .   T h e r e   a r e   s e v e r a l   w a y s   t o   i n s t a l l   t h e   C R I - O   c o n t a i n e r   r u n t i m e ,   d e p e n d i n g   o n   y o u r   p a r t i c u l a r   L i n u x   d i s t r i b u t i o n .   A l t h o u g h   C R I - O   r e c o m m e n d s   u s i n g   e i t h e r   d e b   o r   r p m   p a c k a g e s ,   t h i s   t u t o r i a l   u s e s   t h e   s t a t i c   b i n a r y   b u n d l e   s c r i p t   o f   t h e   C R I - O   P a c k a g i n g   p r o j e c t ,   b o t h   t o   s t r e a m l i n e   t h e   o v e r a l l   p r o c e s s ,   a n d   t o   r e m a i n   d i s t r i b u t i o n   a g n o s t i c .   T h e   s c r i p t   i n s t a l l s   a n d   c o n f i g u r e s   a d d i t i o n a l   r e q u i r e d   s o f t w a r e ,   s u c h   a s   c n i - p l u g i n s ,   f o r   c o n t a i n e r   n e t w o r k i n g ,   a n d   c r u n   a n d   r u n c ,   f o r   r u n n i n g   c o n t a i n e r s .   T h e   s c r i p t   w i l l   a u t o m a t i c a l l y   d e t e c t   y o u r   s y s t e m ' s   p r o c e s s o r   a r c h i t e c t u r e   ( a m d 6 4   o r   a r m 6 4 )   a n d   s e l e c t   a n d   i n s t a l l   t h e   l a t e s t   v e r s i o n s   o f   t h e   s o f t w a r e   p a c k a g e s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/kubelet-standalone/",
    "id": "k8s_00684_section_3_15200"
  },
  {
    "question": "What is Set up CRI-O?",
    "answer": "V i s i t   t h e   r e l e a s e s   p a g e   ( e x t e r n a l   l i n k ) .   D o w n l o a d   t h e   s t a t i c   b i n a r y   b u n d l e   s c r i p t :   c u r l   h t t p s : / / r a w . g i t h u b u s e r c o n t e n t . c o m / c r i - o / p a c k a g i n g / m a i n / g e t   >   c r i o - i n s t a l l   R u n   t h e   i n s t a l l e r   s c r i p t :   s u d o   b a s h   c r i o - i n s t a l l   E n a b l e   a n d   s t a r t   t h e   c r i o   s e r v i c e :   s u d o   s y s t e m c t l   d a e m o n - r e l o a d   s u d o   s y s t e m c t l   e n a b l e   - - n o w   c r i o . s e r v i c e   Q u i c k   t e s t :   s u d o   s y s t e m c t l   i s - a c t i v e   c r i o . s e r v i c e   T h e   o u t p u t   i s   s i m i l a r   t o :   a c t i v e   D e t a i l e d   s e r v i c e   c h e c k :   s u d o   j o u r n a l c t l   - f   - u   c r i o . s e r v i c e",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/kubelet-standalone/",
    "id": "k8s_00684_section_3_15201"
  },
  {
    "question": "What is Install network plugins?",
    "answer": "T h e   c r i - o   i n s t a l l e r   i n s t a l l s   a n d   c o n f i g u r e s   t h e   c n i - p l u g i n s   p a c k a g e .   Y o u   c a n   v e r i f y   t h e   i n s t a l l a t i o n   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d :   / o p t / c n i / b i n / b r i d g e   - - v e r s i o n   T h e   o u t p u t   i s   s i m i l a r   t o :   C N I   b r i d g e   p l u g i n   v 1 . 5 . 1   C N I   p r o t o c o l   v e r s i o n s   s u p p o r t e d :   0 . 1 . 0 ,   0 . 2 . 0 ,   0 . 3 . 0 ,   0 . 3 . 1 ,   0 . 4 . 0 ,   1 . 0 . 0   T o   c h e c k   t h e   d e f a u l t   c o n f i g u r a t i o n :   c a t   / e t c / c n i / n e t . d / 1 1 - c r i o - i p v 4 - b r i d g e . c o n f l i s t   T h e   o u t p u t   i s   s i m i l a r   t o :   {   \" c n i V e r s i o n \" :   \" 1 . 0 . 0 \" ,   \" n a m e \" :   \" c r i o \" ,   \" p l u g i n s \" :   [   {   \" t y p e \" :   \" b r i d g e \" ,   \" b r i d g e \" :   \" c n i 0 \" ,   \" i s G a t e w a y \" :   t r u e ,   \" i p M a s q \" :   t r u e ,   \" h a i r p i n M o d e \" :   t r u e ,   \" i p a m \" :   {   \" t y p e \" :   \" h o s t - l o c a l \" ,   \" r o u t e s \" :   [   {   \" d s t \" :   \" 0 . 0 . 0 . 0 / 0 \"   }   ] ,   \" r a n g e s \" :   [   [ {   \" s u b n e t \" :   \" 1 0 . 8 5 . 0 . 0 / 1 6 \"   } ]   ]   }   }   ]   }",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/kubelet-standalone/",
    "id": "k8s_00684_section_3_15202"
  },
  {
    "question": "What is Download and set up the kubelet?",
    "answer": "D o w n l o a d   t h e   l a t e s t   s t a b l e   r e l e a s e   o f   t h e   k u b e l e t .   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a m d 6 4 / k u b e l e t \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a m d 6 4 / k u b e l e t \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a r m 6 4 / k u b e l e t \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a r m 6 4 / k u b e l e t \"   C o n f i g u r e :   s u d o   m k d i r   - p   / e t c / k u b e r n e t e s / m a n i f e s t s   s u d o   t e e   / e t c / k u b e r n e t e s / k u b e l e t . y a m l   < < E O F   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   a u t h e n t i c a t i o n :   w e b h o o k :   e n a b l e d :   f a l s e   #   D o   N O T   u s e   i n   p r o d u c t i o n   c l u s t e r s !   a u t h o r i z a t i o n :   m o d e :   A l w a y s A l l o w   #   D o   N O T   u s e   i n   p r o d u c t i o n   c l u s t e r s !   e n a b l e S e r v e r :   f a l s e   l o g g i n g :   f o r m a t :   t e x t   a d d r e s s :   1 2 7 . 0 . 0 . 1   #   R e s t r i c t   a c c e s s   t o   l o c a l h o s t   r e a d O n l y P o r t :   1 0 2 5 5   #   D o   N O T   u s e   i n   p r o d u c t i o n   c l u s t e r s !   s t a t i c P o d P a t h :   / e t c / k u b e r n e t e s / m a n i f e s t s   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/kubelet-standalone/",
    "id": "k8s_00684_section_3_15203"
  },
  {
    "question": "What is Note:?",
    "answer": "B e c a u s e   y o u   a r e   n o t   s e t t i n g   u p   a   p r o d u c t i o n   c l u s t e r ,   y o u   a r e   u s i n g   p l a i n   H T T P   ( r e a d O n l y P o r t :   1 0 2 5 5 )   f o r   u n a u t h e n t i c a t e d   q u e r i e s   t o   t h e   k u b e l e t ' s   A P I .   T h e   a u t h e n t i c a t i o n   w e b h o o k   i s   d i s a b l e d   a n d   a u t h o r i z a t i o n   m o d e   i s   s e t   t o   A l w a y s A l l o w   f o r   t h e   p u r p o s e   o f   t h i s   t u t o r i a l .   Y o u   c a n   l e a r n   m o r e   a b o u t   a u t h o r i z a t i o n   m o d e s   a n d   w e b h o o k   a u t h e n t i c a t i o n   t o   p r o p e r l y   c o n f i g u r e   k u b e l e t   i n   s t a n d a l o n e   m o d e   i n   y o u r   e n v i r o n m e n t .   S e e   P o r t s   a n d   P r o t o c o l s   t o   u n d e r s t a n d   w h i c h   p o r t s   K u b e r n e t e s   c o m p o n e n t s   u s e .   I n s t a l l :   c h m o d   + x   k u b e l e t   s u d o   c p   k u b e l e t   / u s r / b i n /   C r e a t e   a   s y s t e m d   s e r v i c e   u n i t   f i l e :   s u d o   t e e   / e t c / s y s t e m d / s y s t e m / k u b e l e t . s e r v i c e   < < E O F   [ U n i t ]   D e s c r i p t i o n = K u b e l e t   [ S e r v i c e ]   E x e c S t a r t = / u s r / b i n / k u b e l e t   \\   - - c o n f i g = / e t c / k u b e r n e t e s / k u b e l e t . y a m l   R e s t a r t = a l w a y s   [ I n s t a l l ]   W a n t e d B y = m u l t i - u s e r . t a r g e t   E O F   T h e   c o m m a n d   l i n e   a r g u m e n t   - - k u b e c o n f i g   h a s   b e e n   i n t e n t i o n a l l y   o m i t t e d   i n   t h e   s e r v i c e   c o n f i g u r a t i o n   f i l e .   T h i s   a r g u m e n t   s e t s   t h e   p a t h   t o   a   k u b e c o n f i g   f i l e   t h a t   s p e c i f i e s   h o w   t o   c o n n e c t   t o   t h e   A P I   s e r v e r ,   e n a b l i n g   A P ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/kubelet-standalone/",
    "id": "k8s_00684_section_4_15204"
  },
  {
    "question": "What is Run a Pod in the kubelet?",
    "answer": "I n   s t a n d a l o n e   m o d e ,   y o u   c a n   r u n   P o d s   u s i n g   P o d   m a n i f e s t s .   T h e   m a n i f e s t s   c a n   e i t h e r   b e   o n   t h e   l o c a l   f i l e s y s t e m ,   o r   f e t c h e d   v i a   H T T P   f r o m   a   c o n f i g u r a t i o n   s o u r c e .   C r e a t e   a   m a n i f e s t   f o r   a   P o d :   c a t   < < E O F   >   s t a t i c - w e b . y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s t a t i c - w e b   s p e c :   c o n t a i n e r s :   -   n a m e :   w e b   i m a g e :   n g i n x   p o r t s :   -   n a m e :   w e b   c o n t a i n e r P o r t :   8 0   p r o t o c o l :   T C P   E O F   C o p y   t h e   s t a t i c - w e b . y a m l   m a n i f e s t   f i l e   t o   t h e   / e t c / k u b e r n e t e s / m a n i f e s t s   d i r e c t o r y .   s u d o   c p   s t a t i c - w e b . y a m l   / e t c / k u b e r n e t e s / m a n i f e s t s /",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/kubelet-standalone/",
    "id": "k8s_00684_section_2_15205"
  },
  {
    "question": "What is Find out information about the kubelet and the Pod?",
    "answer": "T h e   P o d   n e t w o r k i n g   p l u g i n   c r e a t e s   a   n e t w o r k   b r i d g e   ( c n i 0 )   a n d   a   p a i r   o f   v e t h   i n t e r f a c e s   f o r   e a c h   P o d   ( o n e   o f   t h e   p a i r   i s   i n s i d e   t h e   n e w l y   m a d e   P o d ,   a n d   t h e   o t h e r   i s   a t   t h e   h o s t   l e v e l ) .   Q u e r y   t h e   k u b e l e t ' s   A P I   e n d p o i n t   a t   h t t p : / / l o c a l h o s t : 1 0 2 5 5 / p o d s :   c u r l   h t t p : / / l o c a l h o s t : 1 0 2 5 5 / p o d s   |   j q   ' . '   T o   o b t a i n   t h e   I P   a d d r e s s   o f   t h e   s t a t i c - w e b   P o d :   c u r l   h t t p : / / l o c a l h o s t : 1 0 2 5 5 / p o d s   |   j q   ' . i t e m s [ ] . s t a t u s . p o d I P '   T h e   o u t p u t   i s   s i m i l a r   t o :   \" 1 0 . 8 5 . 0 . 4 \"   C o n n e c t   t o   t h e   n g i n x   s e r v e r   P o d   o n   h t t p : / / < I P > : < P o r t >   ( p o r t   8 0   i s   t h e   d e f a u l t ) ,   i n   t h i s   c a s e :   c u r l   h t t p : / / 1 0 . 8 5 . 0 . 4   T h e   o u t p u t   i s   s i m i l a r   t o :   < ! D O C T Y P E   h t m l >   < h t m l >   < h e a d >   < t i t l e > W e l c o m e   t o   n g i n x ! < / t i t l e >   . . .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/kubelet-standalone/",
    "id": "k8s_00684_section_3_15206"
  },
  {
    "question": "What is Where to look for more details?",
    "answer": "I f   y o u   n e e d   t o   d i a g n o s e   a   p r o b l e m   g e t t i n g   t h i s   t u t o r i a l   t o   w o r k ,   y o u   c a n   l o o k   w i t h i n   t h e   f o l l o w i n g   d i r e c t o r i e s   f o r   m o n i t o r i n g   a n d   t r o u b l e s h o o t i n g :   / v a r / l i b / c n i   / v a r / l i b / c o n t a i n e r s   / v a r / l i b / k u b e l e t   / v a r / l o g / c o n t a i n e r s   / v a r / l o g / p o d s",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/kubelet-standalone/",
    "id": "k8s_00684_section_2_15207"
  },
  {
    "question": "What is kubelet?",
    "answer": "s u d o   s y s t e m c t l   d i s a b l e   - - n o w   k u b e l e t . s e r v i c e   s u d o   s y s t e m c t l   d a e m o n - r e l o a d   s u d o   r m   / e t c / s y s t e m d / s y s t e m / k u b e l e t . s e r v i c e   s u d o   r m   / u s r / b i n / k u b e l e t   s u d o   r m   - r f   / e t c / k u b e r n e t e s   s u d o   r m   - r f   / v a r / l i b / k u b e l e t   s u d o   r m   - r f   / v a r / l o g / c o n t a i n e r s   s u d o   r m   - r f   / v a r / l o g / p o d s",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/kubelet-standalone/",
    "id": "k8s_00684_section_3_15208"
  },
  {
    "question": "What is Container Runtime?",
    "answer": "s u d o   s y s t e m c t l   d i s a b l e   - - n o w   c r i o . s e r v i c e   s u d o   s y s t e m c t l   d a e m o n - r e l o a d   s u d o   r m   - r f   / u s r / l o c a l / b i n   s u d o   r m   - r f   / u s r / l o c a l / l i b   s u d o   r m   - r f   / u s r / l o c a l / s h a r e   s u d o   r m   - r f   / u s r / l i b e x e c / c r i o   s u d o   r m   - r f   / e t c / c r i o   s u d o   r m   - r f   / e t c / c o n t a i n e r s",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/kubelet-standalone/",
    "id": "k8s_00684_section_3_15209"
  },
  {
    "question": "What is Network Plugins?",
    "answer": "s u d o   r m   - r f   / o p t / c n i   s u d o   r m   - r f   / e t c / c n i   s u d o   r m   - r f   / v a r / l i b / c n i",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/kubelet-standalone/",
    "id": "k8s_00684_section_3_15210"
  },
  {
    "question": "What is Conclusion?",
    "answer": "T h i s   p a g e   c o v e r e d   t h e   b a s i c   a s p e c t s   o f   d e p l o y i n g   a   k u b e l e t   i n   s t a n d a l o n e   m o d e .   Y o u   a r e   n o w   r e a d y   t o   d e p l o y   P o d s   a n d   t e s t   a d d i t i o n a l   f u n c t i o n a l i t y .   N o t i c e   t h a t   i n   s t a n d a l o n e   m o d e   t h e   k u b e l e t   d o e s   n o t   s u p p o r t   f e t c h i n g   P o d   c o n f i g u r a t i o n s   f r o m   t h e   c o n t r o l   p l a n e   ( b e c a u s e   t h e r e   i s   n o   c o n t r o l   p l a n e   c o n n e c t i o n ) .   Y o u   a l s o   c a n n o t   u s e   a   C o n f i g M a p   o r   a   S e c r e t   t o   c o n f i g u r e   t h e   c o n t a i n e r s   i n   a   s t a t i c   P o d .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/kubelet-standalone/",
    "id": "k8s_00684_section_2_15211"
  },
  {
    "question": "What is What's next?",
    "answer": "F o l l o w   H e l l o ,   m i n i k u b e   t o   l e a r n   a b o u t   r u n n i n g   K u b e r n e t e s   w i t h   a   c o n t r o l   p l a n e .   T h e   m i n i k u b e   t o o l   h e l p s   y o u   s e t   u p   a   p r a c t i c e   c l u s t e r   o n   y o u r   o w n   c o m p u t e r . L e a r n   m o r e   a b o u t   N e t w o r k   P l u g i n s L e a r n   m o r e   a b o u t   C o n t a i n e r   R u n t i m e s L e a r n   m o r e   a b o u t   k u b e l e t L e a r n   m o r e   a b o u t   s t a t i c   P o d s   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/kubelet-standalone/",
    "id": "k8s_00684_section_2_15212"
  },
  {
    "question": "What is Policy Resources?",
    "answer": "Policy ResourcesFlowSchemaFlowSchema defines the schema of a group of flows.LimitRangeLimitRange sets resource usage limits for each kind of resource in a Namespace.ResourceQuotaResourceQuota sets aggregate quota restrictions enforced per namespace.NetworkPolicyNetworkPolicy describes what network traffic is allowed for a set of Pods.PodDisruptionBudgetPodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods.PriorityLevelConfigurationPriorityLevelConfiguration represents the configuration of a priority level.ValidatingAdmissionPolicyValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.ValidatingAdmissionPolicyBindingValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources.MutatingAdmissionPolicy v1beta1MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.MutatingAdmissionPolicyBinding v1alpha1MutatingAdmissionPolicyBinding binds the MutatingAdmissionPolicy with parametrized resources.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/",
    "id": "k8s_00685_qa_15213"
  },
  {
    "question": "How does Policy Resources work?",
    "answer": "Policy ResourcesFlowSchemaFlowSchema defines the schema of a group of flows.LimitRangeLimitRange sets resource usage limits for each kind of resource in a Namespace.ResourceQuotaResourceQuota sets aggregate quota restrictions enforced per namespace.NetworkPolicyNetworkPolicy describes what network traffic is allowed for a set of Pods.PodDisruptionBudgetPodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods.PriorityLevelConfigurationPriorityLevelConfiguration represents the configuration of a priority level.ValidatingAdmissionPolicyValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.ValidatingAdmissionPolicyBindingValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources.MutatingAdmissionPolicy v1beta1MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.MutatingAdmissionPolicyBinding v1alpha1MutatingAdmissionPolicyBinding binds the MutatingAdmissionPolicy with parametrized resources.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/",
    "id": "k8s_00685_qa_15214"
  },
  {
    "question": "When would you use Policy Resources?",
    "answer": "Policy ResourcesFlowSchemaFlowSchema defines the schema of a group of flows.LimitRangeLimitRange sets resource usage limits for each kind of resource in a Namespace.ResourceQuotaResourceQuota sets aggregate quota restrictions enforced per namespace.NetworkPolicyNetworkPolicy describes what network traffic is allowed for a set of Pods.PodDisruptionBudgetPodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods.PriorityLevelConfigurationPriorityLevelConfiguration represents the configuration of a priority level.ValidatingAdmissionPolicyValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.ValidatingAdmissionPolicyBindingValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources.MutatingAdmissionPolicy v1beta1MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.MutatingAdmissionPolicyBinding v1alpha1MutatingAdmissionPolicyBinding binds the MutatingAdmissionPolicy with parametrized resources.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/",
    "id": "k8s_00685_qa_15215"
  },
  {
    "question": "What are the benefits of Policy Resources?",
    "answer": "Policy ResourcesFlowSchemaFlowSchema defines the schema of a group of flows.LimitRangeLimitRange sets resource usage limits for each kind of resource in a Namespace.ResourceQuotaResourceQuota sets aggregate quota restrictions enforced per namespace.NetworkPolicyNetworkPolicy describes what network traffic is allowed for a set of Pods.PodDisruptionBudgetPodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods.PriorityLevelConfigurationPriorityLevelConfiguration represents the configuration of a priority level.ValidatingAdmissionPolicyValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.ValidatingAdmissionPolicyBindingValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources.MutatingAdmissionPolicy v1beta1MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.MutatingAdmissionPolicyBinding v1alpha1MutatingAdmissionPolicyBinding binds the MutatingAdmissionPolicy with parametrized resources.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/",
    "id": "k8s_00685_qa_15216"
  },
  {
    "question": "What is FlowSchema?",
    "answer": "F l o w S c h e m a   d e f i n e s   t h e   s c h e m a   o f   a   g r o u p   o f   f l o w s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/",
    "id": "k8s_00685_section_5_15217"
  },
  {
    "question": "What is LimitRange?",
    "answer": "L i m i t R a n g e   s e t s   r e s o u r c e   u s a g e   l i m i t s   f o r   e a c h   k i n d   o f   r e s o u r c e   i n   a   N a m e s p a c e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/",
    "id": "k8s_00685_section_5_15218"
  },
  {
    "question": "What is ResourceQuota?",
    "answer": "R e s o u r c e Q u o t a   s e t s   a g g r e g a t e   q u o t a   r e s t r i c t i o n s   e n f o r c e d   p e r   n a m e s p a c e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/",
    "id": "k8s_00685_section_5_15219"
  },
  {
    "question": "What is NetworkPolicy?",
    "answer": "N e t w o r k P o l i c y   d e s c r i b e s   w h a t   n e t w o r k   t r a f f i c   i s   a l l o w e d   f o r   a   s e t   o f   P o d s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/",
    "id": "k8s_00685_section_5_15220"
  },
  {
    "question": "What is PodDisruptionBudget?",
    "answer": "P o d D i s r u p t i o n B u d g e t   i s   a n   o b j e c t   t o   d e f i n e   t h e   m a x   d i s r u p t i o n   t h a t   c a n   b e   c a u s e d   t o   a   c o l l e c t i o n   o f   p o d s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/",
    "id": "k8s_00685_section_5_15221"
  },
  {
    "question": "What is PriorityLevelConfiguration?",
    "answer": "P r i o r i t y L e v e l C o n f i g u r a t i o n   r e p r e s e n t s   t h e   c o n f i g u r a t i o n   o f   a   p r i o r i t y   l e v e l .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/",
    "id": "k8s_00685_section_5_15222"
  },
  {
    "question": "What is ValidatingAdmissionPolicy?",
    "answer": "V a l i d a t i n g A d m i s s i o n P o l i c y   d e s c r i b e s   t h e   d e f i n i t i o n   o f   a n   a d m i s s i o n   v a l i d a t i o n   p o l i c y   t h a t   a c c e p t s   o r   r e j e c t s   a n   o b j e c t   w i t h o u t   c h a n g i n g   i t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/",
    "id": "k8s_00685_section_5_15223"
  },
  {
    "question": "What is ValidatingAdmissionPolicyBinding?",
    "answer": "V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   b i n d s   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   w i t h   p a r a m e r i z e d   r e s o u r c e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/",
    "id": "k8s_00685_section_5_15224"
  },
  {
    "question": "What is MutatingAdmissionPolicy v1beta1?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y   d e s c r i b e s   t h e   d e f i n i t i o n   o f   a n   a d m i s s i o n   m u t a t i o n   p o l i c y   t h a t   m u t a t e s   t h e   o b j e c t   c o m i n g   i n t o   a d m i s s i o n   c h a i n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/",
    "id": "k8s_00685_section_5_15225"
  },
  {
    "question": "What is MutatingAdmissionPolicyBinding v1alpha1?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   b i n d s   t h e   M u t a t i n g A d m i s s i o n P o l i c y   w i t h   p a r a m e t r i z e d   r e s o u r c e s .   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/",
    "id": "k8s_00685_section_5_15226"
  },
  {
    "question": "What is LeaseCandidate v1beta1?",
    "answer": "LeaseCandidate v1beta1LeaseCandidate defines a candidate for a Lease object.apiVersion: coordination.k8s.io/v1beta1import \"k8s.io/api/coordination/v1beta1\"LeaseCandidateLeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.apiVersion: coordination.k8s.io/v1beta1kind: LeaseCandidatemetadata (ObjectMeta)More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (LeaseCandidateSpec)spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusLeaseCandidateSpecLeaseCandidateSpec is a specification of a Lease.binaryVersion (string), requiredBinaryVersion is the binary version. It must be in a semver format without leading v. This field is required.leaseName (string), requiredLeaseName is the name of the lease for which this candidate is contending. The limits on this field are the same as on Lease.name. Multiple lease candidates may reference the same Lease.name. This field is immutable.strategy (string), requiredStrategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved.emulationVersion (string)EmulationVersion is the emulation version. It must be in a semver format without leading v. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is \"OldestEmulationVersion\"pingTime (MicroTime)PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime.MicroTime is version of Time with microsecond level precision.renewTime (MicroTime)RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates.MicroTime is version of Time with microsecond level precision.LeaseCandidateListLeaseCandidateList is a list of Lease objects.apiVersion: coordination.k8s.io/v1beta1kind: LeaseCandidateListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]LeaseCandidate), requireditems is a list of schema objects.Operationsget read the specifi",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_qa_15227"
  },
  {
    "question": "How does LeaseCandidate v1beta1 work?",
    "answer": "LeaseCandidate v1beta1LeaseCandidate defines a candidate for a Lease object.apiVersion: coordination.k8s.io/v1beta1import \"k8s.io/api/coordination/v1beta1\"LeaseCandidateLeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.apiVersion: coordination.k8s.io/v1beta1kind: LeaseCandidatemetadata (ObjectMeta)More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (LeaseCandidateSpec)spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusLeaseCandidateSpecLeaseCandidateSpec is a specification of a Lease.binaryVersion (string), requiredBinaryVersion is the binary version. It must be in a semver format without leading v. This field is required.leaseName (string), requiredLeaseName is the name of the lease for which this candidate is contending. The limits on this field are the same as on Lease.name. Multiple lease candidates may reference the same Lease.name. This field is immutable.strategy (string), requiredStrategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved.emulationVersion (string)EmulationVersion is the emulation version. It must be in a semver format without leading v. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is \"OldestEmulationVersion\"pingTime (MicroTime)PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime.MicroTime is version of Time with microsecond level precision.renewTime (MicroTime)RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates.MicroTime is version of Time with microsecond level precision.LeaseCandidateListLeaseCandidateList is a list of Lease objects.apiVersion: coordination.k8s.io/v1beta1kind: LeaseCandidateListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]LeaseCandidate), requireditems is a list of schema objects.Operationsget read the specifi",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_qa_15228"
  },
  {
    "question": "When would you use LeaseCandidate v1beta1?",
    "answer": "LeaseCandidate v1beta1LeaseCandidate defines a candidate for a Lease object.apiVersion: coordination.k8s.io/v1beta1import \"k8s.io/api/coordination/v1beta1\"LeaseCandidateLeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.apiVersion: coordination.k8s.io/v1beta1kind: LeaseCandidatemetadata (ObjectMeta)More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (LeaseCandidateSpec)spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusLeaseCandidateSpecLeaseCandidateSpec is a specification of a Lease.binaryVersion (string), requiredBinaryVersion is the binary version. It must be in a semver format without leading v. This field is required.leaseName (string), requiredLeaseName is the name of the lease for which this candidate is contending. The limits on this field are the same as on Lease.name. Multiple lease candidates may reference the same Lease.name. This field is immutable.strategy (string), requiredStrategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved.emulationVersion (string)EmulationVersion is the emulation version. It must be in a semver format without leading v. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is \"OldestEmulationVersion\"pingTime (MicroTime)PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime.MicroTime is version of Time with microsecond level precision.renewTime (MicroTime)RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates.MicroTime is version of Time with microsecond level precision.LeaseCandidateListLeaseCandidateList is a list of Lease objects.apiVersion: coordination.k8s.io/v1beta1kind: LeaseCandidateListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]LeaseCandidate), requireditems is a list of schema objects.Operationsget read the specifi",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_qa_15229"
  },
  {
    "question": "What are the benefits of LeaseCandidate v1beta1?",
    "answer": "LeaseCandidate v1beta1LeaseCandidate defines a candidate for a Lease object.apiVersion: coordination.k8s.io/v1beta1import \"k8s.io/api/coordination/v1beta1\"LeaseCandidateLeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.apiVersion: coordination.k8s.io/v1beta1kind: LeaseCandidatemetadata (ObjectMeta)More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (LeaseCandidateSpec)spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusLeaseCandidateSpecLeaseCandidateSpec is a specification of a Lease.binaryVersion (string), requiredBinaryVersion is the binary version. It must be in a semver format without leading v. This field is required.leaseName (string), requiredLeaseName is the name of the lease for which this candidate is contending. The limits on this field are the same as on Lease.name. Multiple lease candidates may reference the same Lease.name. This field is immutable.strategy (string), requiredStrategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved.emulationVersion (string)EmulationVersion is the emulation version. It must be in a semver format without leading v. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is \"OldestEmulationVersion\"pingTime (MicroTime)PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime.MicroTime is version of Time with microsecond level precision.renewTime (MicroTime)RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates.MicroTime is version of Time with microsecond level precision.LeaseCandidateListLeaseCandidateList is a list of Lease objects.apiVersion: coordination.k8s.io/v1beta1kind: LeaseCandidateListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]LeaseCandidate), requireditems is a list of schema objects.Operationsget read the specifi",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_qa_15230"
  },
  {
    "question": "What is LeaseCandidate v1beta1?",
    "answer": "a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1   i m p o r t   \" k 8 s . i o / a p i / c o o r d i n a t i o n / v 1 b e t a 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_1_15231"
  },
  {
    "question": "What is LeaseCandidate?",
    "answer": "L e a s e C a n d i d a t e   d e f i n e s   a   c a n d i d a t e   f o r   a   L e a s e   o b j e c t .   C a n d i d a t e s   a r e   c r e a t e d   s u c h   t h a t   c o o r d i n a t e d   l e a d e r   e l e c t i o n   w i l l   p i c k   t h e   b e s t   l e a d e r   f r o m   t h e   l i s t   o f   c a n d i d a t e s .   a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 k i n d :   L e a s e C a n d i d a t e m e t a d a t a   ( O b j e c t M e t a ) M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( L e a s e C a n d i d a t e S p e c ) s p e c   c o n t a i n s   t h e   s p e c i f i c a t i o n   o f   t h e   L e a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1   k i n d :   L e a s e C a n d i d a t e   m e t a d a t a   ( O b j e c t M e t a )   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( L e a s e C a n d i d a t e S p e c )   s p e c   c o n t a i n s   t h e   s p e c i f i c a t i o n   o f   t h e   L e a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_2_15232"
  },
  {
    "question": "What is LeaseCandidateSpec?",
    "answer": "L e a s e C a n d i d a t e S p e c   i s   a   s p e c i f i c a t i o n   o f   a   L e a s e .   b i n a r y V e r s i o n   ( s t r i n g ) ,   r e q u i r e d B i n a r y V e r s i o n   i s   t h e   b i n a r y   v e r s i o n .   I t   m u s t   b e   i n   a   s e m v e r   f o r m a t   w i t h o u t   l e a d i n g   v .   T h i s   f i e l d   i s   r e q u i r e d . l e a s e N a m e   ( s t r i n g ) ,   r e q u i r e d L e a s e N a m e   i s   t h e   n a m e   o f   t h e   l e a s e   f o r   w h i c h   t h i s   c a n d i d a t e   i s   c o n t e n d i n g .   T h e   l i m i t s   o n   t h i s   f i e l d   a r e   t h e   s a m e   a s   o n   L e a s e . n a m e .   M u l t i p l e   l e a s e   c a n d i d a t e s   m a y   r e f e r e n c e   t h e   s a m e   L e a s e . n a m e .   T h i s   f i e l d   i s   i m m u t a b l e . s t r a t e g y   ( s t r i n g ) ,   r e q u i r e d S t r a t e g y   i s   t h e   s t r a t e g y   t h a t   c o o r d i n a t e d   l e a d e r   e l e c t i o n   w i l l   u s e   f o r   p i c k i n g   t h e   l e a d e r .   I f   m u l t i p l e   c a n d i d a t e s   f o r   t h e   s a m e   L e a s e   r e t u r n   d i f f e r e n t   s t r a t e g i e s ,   t h e   s t r a t e g y   p r o v i d e d   b y   t h e   c a n d i d a t e   w i t h   t h e   l a t e s t   B i n a r y V e r s i o n   w i l l   b e   u s e d .   I f   t h e r e   i s   s t i l l   c o n f l i c t ,   t h i s   i s   a   u s e r   e r r o r   a n d   c o o r d i n a t e d   l e a d e r   e l e c t i o n   w i l l   n o t   o p e r a t e   t h e   L e a s e   u n t i l   r e s o l v e d . e m u l a t i o n V e r s i o n   ( s t r i n g ) E m u l a t i o n V e r s i o n   i s   t h e   e m u l a t i o n   v e r s i o n .   I t   m u s t   b e   i n   a   s e m v e r   f o r m a t   w i t h o u t   l e a d i n g   v .   E m u l a t i o n V e r s i o n   m u s t   b e   l e s s   t h a n   o r   e q u a l   t o   B i n a r y ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_2_15233"
  },
  {
    "question": "What is LeaseCandidateList?",
    "answer": "L e a s e C a n d i d a t e L i s t   i s   a   l i s t   o f   L e a s e   o b j e c t s .   a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 k i n d :   L e a s e C a n d i d a t e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] L e a s e C a n d i d a t e ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .   a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1   k i n d :   L e a s e C a n d i d a t e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] L e a s e C a n d i d a t e ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_2_15234"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_4_15235"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L e a s e C a n d i d a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L e a s e C a n d i d a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_4_15236"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e C a n d i d a t e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_4_15237"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_4_15238"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_4_15239"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e C a n d i d a t e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_4_15240"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / l e a s e c a n d i d a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_4_15241"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_4_15242"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e C a n d i d a t e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_4_15243"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_4_15244"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   L e a s e C a n d i d a t e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   L e a s e C a n d i d a t e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_4_15245"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e C a n d i d a t e ) :   O K   2 0 1   ( L e a s e C a n d i d a t e ) :   C r e a t e d   2 0 2   ( L e a s e C a n d i d a t e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_4_15246"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_4_15247"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L e a s e C a n d i d a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   L e a s e C a n d i d a t e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L e a s e C a n d i d a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   L e a s e C a n d i d a t e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_4_15248"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e C a n d i d a t e ) :   O K   2 0 1   ( L e a s e C a n d i d a t e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_4_15249"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_4_15250"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L e a s e C a n d i d a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L e a s e C a n d i d a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_4_15251"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e C a n d i d a t e ) :   O K   2 0 1   ( L e a s e C a n d i d a t e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_4_15252"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_4_15253"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L e a s e C a n d i d a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L e a s e C a n d i d a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_4_15254"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_4_15255"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_4_15256"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_4_15257"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/lease-candidate-v1beta1/",
    "id": "k8s_00686_section_4_15258"
  },
  {
    "question": "What is Contributing to the Upstream Kubernetes Code?",
    "answer": "Contributing to the Upstream Kubernetes CodeThis page shows how to contribute to the upstream kubernetes/kubernetes project. You can fix bugs found in the Kubernetes API documentation or the content of the Kubernetes components such as kubeadm, kube-apiserver, and kube-controller-manager.If you instead want to regenerate the reference documentation for the Kubernetes API or the kube-* components from the upstream code, see the following instructions:Generating Reference Documentation for the Kubernetes APIGenerating Reference Documentation for the Kubernetes Components and ToolsBefore you beginYou need to have these tools installed:GitGolang version 1.13+Dockeretcdmakegcc compiler/linkerYour GOPATH environment variable must be set, and the location of etcd must be in your PATH environment variable.You need to know how to create a pull request to a GitHub repository. Typically, this involves creating a fork of the repository. For more information, see Creating a Pull Request and GitHub Standard Fork & Pull Request Workflow.The big pictureThe reference documentation for the Kubernetes API and the kube-* components such as kube-apiserver, kube-controller-manager are automatically generated from the source code in the upstream Kubernetes.When you see bugs in the generated documentation, you may want to consider creating a patch to fix it in the upstream project.Clone the Kubernetes repositoryIf you don't already have the kubernetes/kubernetes repository, get it now:mkdir $GOPATH/src cd $GOPATH/src go get github.com/kubernetes/kubernetes Determine the base directory of your clone of the kubernetes/kubernetes repository. For example, if you followed the preceding step to get the repository, your base directory is $GOPATH/src/github.com/kubernetes/kubernetes. The remaining steps refer to your base directory as <k8s-base>.Determine the base directory of your clone of the kubernetes-sigs/reference-docs repository. For example, if you followed the preceding step to get the repository, your base directory is $GOPATH/src/github.com/kubernetes-sigs/reference-docs. The remaining steps refer to your base directory as <rdocs-base>.Edit the Kubernetes source codeThe Kubernetes API reference documentation is automatically generated from an OpenAPI spec, which is generated from the Kubernetes source code. If you want to change the API reference documentation, the first step is to change one or more comments in the Kubernetes source code.The documentation for the kube-* components is also generated from the upstream source code. You must change the code related to the component you want to fix in order to fix the generated documentation.Make changes to the upstream source codeNote:The following steps are an example, not a general procedure. Details will be different in your situation.Here's an example of editing a comment in the Kubernetes source code.In your local kubernetes/kubernetes repository, check out the default branch, and make sure it is up to date:cd <k8s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/contribute-upstream/",
    "id": "k8s_00687_qa_15259"
  },
  {
    "question": "How does Contributing to the Upstream Kubernetes Code work?",
    "answer": "Contributing to the Upstream Kubernetes CodeThis page shows how to contribute to the upstream kubernetes/kubernetes project. You can fix bugs found in the Kubernetes API documentation or the content of the Kubernetes components such as kubeadm, kube-apiserver, and kube-controller-manager.If you instead want to regenerate the reference documentation for the Kubernetes API or the kube-* components from the upstream code, see the following instructions:Generating Reference Documentation for the Kubernetes APIGenerating Reference Documentation for the Kubernetes Components and ToolsBefore you beginYou need to have these tools installed:GitGolang version 1.13+Dockeretcdmakegcc compiler/linkerYour GOPATH environment variable must be set, and the location of etcd must be in your PATH environment variable.You need to know how to create a pull request to a GitHub repository. Typically, this involves creating a fork of the repository. For more information, see Creating a Pull Request and GitHub Standard Fork & Pull Request Workflow.The big pictureThe reference documentation for the Kubernetes API and the kube-* components such as kube-apiserver, kube-controller-manager are automatically generated from the source code in the upstream Kubernetes.When you see bugs in the generated documentation, you may want to consider creating a patch to fix it in the upstream project.Clone the Kubernetes repositoryIf you don't already have the kubernetes/kubernetes repository, get it now:mkdir $GOPATH/src cd $GOPATH/src go get github.com/kubernetes/kubernetes Determine the base directory of your clone of the kubernetes/kubernetes repository. For example, if you followed the preceding step to get the repository, your base directory is $GOPATH/src/github.com/kubernetes/kubernetes. The remaining steps refer to your base directory as <k8s-base>.Determine the base directory of your clone of the kubernetes-sigs/reference-docs repository. For example, if you followed the preceding step to get the repository, your base directory is $GOPATH/src/github.com/kubernetes-sigs/reference-docs. The remaining steps refer to your base directory as <rdocs-base>.Edit the Kubernetes source codeThe Kubernetes API reference documentation is automatically generated from an OpenAPI spec, which is generated from the Kubernetes source code. If you want to change the API reference documentation, the first step is to change one or more comments in the Kubernetes source code.The documentation for the kube-* components is also generated from the upstream source code. You must change the code related to the component you want to fix in order to fix the generated documentation.Make changes to the upstream source codeNote:The following steps are an example, not a general procedure. Details will be different in your situation.Here's an example of editing a comment in the Kubernetes source code.In your local kubernetes/kubernetes repository, check out the default branch, and make sure it is up to date:cd <k8s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/contribute-upstream/",
    "id": "k8s_00687_qa_15260"
  },
  {
    "question": "When would you use Contributing to the Upstream Kubernetes Code?",
    "answer": "Contributing to the Upstream Kubernetes CodeThis page shows how to contribute to the upstream kubernetes/kubernetes project. You can fix bugs found in the Kubernetes API documentation or the content of the Kubernetes components such as kubeadm, kube-apiserver, and kube-controller-manager.If you instead want to regenerate the reference documentation for the Kubernetes API or the kube-* components from the upstream code, see the following instructions:Generating Reference Documentation for the Kubernetes APIGenerating Reference Documentation for the Kubernetes Components and ToolsBefore you beginYou need to have these tools installed:GitGolang version 1.13+Dockeretcdmakegcc compiler/linkerYour GOPATH environment variable must be set, and the location of etcd must be in your PATH environment variable.You need to know how to create a pull request to a GitHub repository. Typically, this involves creating a fork of the repository. For more information, see Creating a Pull Request and GitHub Standard Fork & Pull Request Workflow.The big pictureThe reference documentation for the Kubernetes API and the kube-* components such as kube-apiserver, kube-controller-manager are automatically generated from the source code in the upstream Kubernetes.When you see bugs in the generated documentation, you may want to consider creating a patch to fix it in the upstream project.Clone the Kubernetes repositoryIf you don't already have the kubernetes/kubernetes repository, get it now:mkdir $GOPATH/src cd $GOPATH/src go get github.com/kubernetes/kubernetes Determine the base directory of your clone of the kubernetes/kubernetes repository. For example, if you followed the preceding step to get the repository, your base directory is $GOPATH/src/github.com/kubernetes/kubernetes. The remaining steps refer to your base directory as <k8s-base>.Determine the base directory of your clone of the kubernetes-sigs/reference-docs repository. For example, if you followed the preceding step to get the repository, your base directory is $GOPATH/src/github.com/kubernetes-sigs/reference-docs. The remaining steps refer to your base directory as <rdocs-base>.Edit the Kubernetes source codeThe Kubernetes API reference documentation is automatically generated from an OpenAPI spec, which is generated from the Kubernetes source code. If you want to change the API reference documentation, the first step is to change one or more comments in the Kubernetes source code.The documentation for the kube-* components is also generated from the upstream source code. You must change the code related to the component you want to fix in order to fix the generated documentation.Make changes to the upstream source codeNote:The following steps are an example, not a general procedure. Details will be different in your situation.Here's an example of editing a comment in the Kubernetes source code.In your local kubernetes/kubernetes repository, check out the default branch, and make sure it is up to date:cd <k8s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/contribute-upstream/",
    "id": "k8s_00687_qa_15261"
  },
  {
    "question": "What are the benefits of Contributing to the Upstream Kubernetes Code?",
    "answer": "Contributing to the Upstream Kubernetes CodeThis page shows how to contribute to the upstream kubernetes/kubernetes project. You can fix bugs found in the Kubernetes API documentation or the content of the Kubernetes components such as kubeadm, kube-apiserver, and kube-controller-manager.If you instead want to regenerate the reference documentation for the Kubernetes API or the kube-* components from the upstream code, see the following instructions:Generating Reference Documentation for the Kubernetes APIGenerating Reference Documentation for the Kubernetes Components and ToolsBefore you beginYou need to have these tools installed:GitGolang version 1.13+Dockeretcdmakegcc compiler/linkerYour GOPATH environment variable must be set, and the location of etcd must be in your PATH environment variable.You need to know how to create a pull request to a GitHub repository. Typically, this involves creating a fork of the repository. For more information, see Creating a Pull Request and GitHub Standard Fork & Pull Request Workflow.The big pictureThe reference documentation for the Kubernetes API and the kube-* components such as kube-apiserver, kube-controller-manager are automatically generated from the source code in the upstream Kubernetes.When you see bugs in the generated documentation, you may want to consider creating a patch to fix it in the upstream project.Clone the Kubernetes repositoryIf you don't already have the kubernetes/kubernetes repository, get it now:mkdir $GOPATH/src cd $GOPATH/src go get github.com/kubernetes/kubernetes Determine the base directory of your clone of the kubernetes/kubernetes repository. For example, if you followed the preceding step to get the repository, your base directory is $GOPATH/src/github.com/kubernetes/kubernetes. The remaining steps refer to your base directory as <k8s-base>.Determine the base directory of your clone of the kubernetes-sigs/reference-docs repository. For example, if you followed the preceding step to get the repository, your base directory is $GOPATH/src/github.com/kubernetes-sigs/reference-docs. The remaining steps refer to your base directory as <rdocs-base>.Edit the Kubernetes source codeThe Kubernetes API reference documentation is automatically generated from an OpenAPI spec, which is generated from the Kubernetes source code. If you want to change the API reference documentation, the first step is to change one or more comments in the Kubernetes source code.The documentation for the kube-* components is also generated from the upstream source code. You must change the code related to the component you want to fix in order to fix the generated documentation.Make changes to the upstream source codeNote:The following steps are an example, not a general procedure. Details will be different in your situation.Here's an example of editing a comment in the Kubernetes source code.In your local kubernetes/kubernetes repository, check out the default branch, and make sure it is up to date:cd <k8s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/contribute-upstream/",
    "id": "k8s_00687_qa_15262"
  },
  {
    "question": "What is Contributing to the Upstream Kubernetes Code?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n t r i b u t e   t o   t h e   u p s t r e a m   k u b e r n e t e s / k u b e r n e t e s   p r o j e c t .   Y o u   c a n   f i x   b u g s   f o u n d   i n   t h e   K u b e r n e t e s   A P I   d o c u m e n t a t i o n   o r   t h e   c o n t e n t   o f   t h e   K u b e r n e t e s   c o m p o n e n t s   s u c h   a s   k u b e a d m ,   k u b e - a p i s e r v e r ,   a n d   k u b e - c o n t r o l l e r - m a n a g e r .   I f   y o u   i n s t e a d   w a n t   t o   r e g e n e r a t e   t h e   r e f e r e n c e   d o c u m e n t a t i o n   f o r   t h e   K u b e r n e t e s   A P I   o r   t h e   k u b e - *   c o m p o n e n t s   f r o m   t h e   u p s t r e a m   c o d e ,   s e e   t h e   f o l l o w i n g   i n s t r u c t i o n s :   G e n e r a t i n g   R e f e r e n c e   D o c u m e n t a t i o n   f o r   t h e   K u b e r n e t e s   A P I G e n e r a t i n g   R e f e r e n c e   D o c u m e n t a t i o n   f o r   t h e   K u b e r n e t e s   C o m p o n e n t s   a n d   T o o l s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/contribute-upstream/",
    "id": "k8s_00687_section_1_15263"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   t h e s e   t o o l s   i n s t a l l e d : G i t G o l a n g   v e r s i o n   1 . 1 3 + D o c k e r e t c d m a k e g c c   c o m p i l e r / l i n k e r Y o u r   G O P A T H   e n v i r o n m e n t   v a r i a b l e   m u s t   b e   s e t ,   a n d   t h e   l o c a t i o n   o f   e t c d   m u s t   b e   i n   y o u r   P A T H   e n v i r o n m e n t   v a r i a b l e . Y o u   n e e d   t o   k n o w   h o w   t o   c r e a t e   a   p u l l   r e q u e s t   t o   a   G i t H u b   r e p o s i t o r y .   T y p i c a l l y ,   t h i s   i n v o l v e s   c r e a t i n g   a   f o r k   o f   t h e   r e p o s i t o r y .   F o r   m o r e   i n f o r m a t i o n ,   s e e   C r e a t i n g   a   P u l l   R e q u e s t   a n d   G i t H u b   S t a n d a r d   F o r k   &   P u l l   R e q u e s t   W o r k f l o w .   Y o u   n e e d   t o   h a v e   t h e s e   t o o l s   i n s t a l l e d :   G i t G o l a n g   v e r s i o n   1 . 1 3 + D o c k e r e t c d m a k e g c c   c o m p i l e r / l i n k e r   Y o u r   G O P A T H   e n v i r o n m e n t   v a r i a b l e   m u s t   b e   s e t ,   a n d   t h e   l o c a t i o n   o f   e t c d   m u s t   b e   i n   y o u r   P A T H   e n v i r o n m e n t   v a r i a b l e .   Y o u   n e e d   t o   k n o w   h o w   t o   c r e a t e   a   p u l l   r e q u e s t   t o   a   G i t H u b   r e p o s i t o r y .   T y p i c a l l y ,   t h i s   i n v o l v e s   c r e a t i n g   a   f o r k   o f   t h e   r e p o s i t o r y .   F o r   m o r e   i n f o r m a t i o n ,   s e e   C r e a t i n g   a   P u l l   R e q u e s t   a n d   G i t H u b   S t a n d a r d   F o r k   &   P u l l   R e q u e s t   W o r k f l o w .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/contribute-upstream/",
    "id": "k8s_00687_section_2_15264"
  },
  {
    "question": "What is The big picture?",
    "answer": "T h e   r e f e r e n c e   d o c u m e n t a t i o n   f o r   t h e   K u b e r n e t e s   A P I   a n d   t h e   k u b e - *   c o m p o n e n t s   s u c h   a s   k u b e - a p i s e r v e r ,   k u b e - c o n t r o l l e r - m a n a g e r   a r e   a u t o m a t i c a l l y   g e n e r a t e d   f r o m   t h e   s o u r c e   c o d e   i n   t h e   u p s t r e a m   K u b e r n e t e s .   W h e n   y o u   s e e   b u g s   i n   t h e   g e n e r a t e d   d o c u m e n t a t i o n ,   y o u   m a y   w a n t   t o   c o n s i d e r   c r e a t i n g   a   p a t c h   t o   f i x   i t   i n   t h e   u p s t r e a m   p r o j e c t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/contribute-upstream/",
    "id": "k8s_00687_section_2_15265"
  },
  {
    "question": "What is Clone the Kubernetes repository?",
    "answer": "I f   y o u   d o n ' t   a l r e a d y   h a v e   t h e   k u b e r n e t e s / k u b e r n e t e s   r e p o s i t o r y ,   g e t   i t   n o w :   m k d i r   $ G O P A T H / s r c   c d   $ G O P A T H / s r c   g o   g e t   g i t h u b . c o m / k u b e r n e t e s / k u b e r n e t e s   D e t e r m i n e   t h e   b a s e   d i r e c t o r y   o f   y o u r   c l o n e   o f   t h e   k u b e r n e t e s / k u b e r n e t e s   r e p o s i t o r y .   F o r   e x a m p l e ,   i f   y o u   f o l l o w e d   t h e   p r e c e d i n g   s t e p   t o   g e t   t h e   r e p o s i t o r y ,   y o u r   b a s e   d i r e c t o r y   i s   $ G O P A T H / s r c / g i t h u b . c o m / k u b e r n e t e s / k u b e r n e t e s .   T h e   r e m a i n i n g   s t e p s   r e f e r   t o   y o u r   b a s e   d i r e c t o r y   a s   < k 8 s - b a s e > .   D e t e r m i n e   t h e   b a s e   d i r e c t o r y   o f   y o u r   c l o n e   o f   t h e   k u b e r n e t e s - s i g s / r e f e r e n c e - d o c s   r e p o s i t o r y .   F o r   e x a m p l e ,   i f   y o u   f o l l o w e d   t h e   p r e c e d i n g   s t e p   t o   g e t   t h e   r e p o s i t o r y ,   y o u r   b a s e   d i r e c t o r y   i s   $ G O P A T H / s r c / g i t h u b . c o m / k u b e r n e t e s - s i g s / r e f e r e n c e - d o c s .   T h e   r e m a i n i n g   s t e p s   r e f e r   t o   y o u r   b a s e   d i r e c t o r y   a s   < r d o c s - b a s e > .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/contribute-upstream/",
    "id": "k8s_00687_section_2_15266"
  },
  {
    "question": "What is Edit the Kubernetes source code?",
    "answer": "T h e   K u b e r n e t e s   A P I   r e f e r e n c e   d o c u m e n t a t i o n   i s   a u t o m a t i c a l l y   g e n e r a t e d   f r o m   a n   O p e n A P I   s p e c ,   w h i c h   i s   g e n e r a t e d   f r o m   t h e   K u b e r n e t e s   s o u r c e   c o d e .   I f   y o u   w a n t   t o   c h a n g e   t h e   A P I   r e f e r e n c e   d o c u m e n t a t i o n ,   t h e   f i r s t   s t e p   i s   t o   c h a n g e   o n e   o r   m o r e   c o m m e n t s   i n   t h e   K u b e r n e t e s   s o u r c e   c o d e .   T h e   d o c u m e n t a t i o n   f o r   t h e   k u b e - *   c o m p o n e n t s   i s   a l s o   g e n e r a t e d   f r o m   t h e   u p s t r e a m   s o u r c e   c o d e .   Y o u   m u s t   c h a n g e   t h e   c o d e   r e l a t e d   t o   t h e   c o m p o n e n t   y o u   w a n t   t o   f i x   i n   o r d e r   t o   f i x   t h e   g e n e r a t e d   d o c u m e n t a t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/contribute-upstream/",
    "id": "k8s_00687_section_2_15267"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e ' s   a n   e x a m p l e   o f   e d i t i n g   a   c o m m e n t   i n   t h e   K u b e r n e t e s   s o u r c e   c o d e .   I n   y o u r   l o c a l   k u b e r n e t e s / k u b e r n e t e s   r e p o s i t o r y ,   c h e c k   o u t   t h e   d e f a u l t   b r a n c h ,   a n d   m a k e   s u r e   i t   i s   u p   t o   d a t e :   c d   < k 8 s - b a s e >   g i t   c h e c k o u t   m a s t e r   g i t   p u l l   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k u b e r n e t e s   m a s t e r   S u p p o s e   t h i s   s o u r c e   f i l e   i n   t h a t   d e f a u l t   b r a n c h   h a s   t h e   t y p o   \" a t m o s t \" :   k u b e r n e t e s / k u b e r n e t e s / s t a g i n g / s r c / k 8 s . i o / a p i / a p p s / v 1 / t y p e s . g o   I n   y o u r   l o c a l   e n v i r o n m e n t ,   o p e n   t y p e s . g o ,   a n d   c h a n g e   \" a t m o s t \"   t o   \" a t   m o s t \" .   V e r i f y   t h a t   y o u   h a v e   c h a n g e d   t h e   f i l e :   g i t   s t a t u s   T h e   o u t p u t   s h o w s   t h a t   y o u   a r e   o n   t h e   m a s t e r   b r a n c h ,   a n d   t h a t   t h e   t y p e s . g o   s o u r c e   f i l e   h a s   b e e n   m o d i f i e d :   O n   b r a n c h   m a s t e r   . . .   m o d i f i e d :   s t a g i n g / s r c / k 8 s . i o / a p i / a p p s / v 1 / t y p e s . g o",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/contribute-upstream/",
    "id": "k8s_00687_section_4_15268"
  },
  {
    "question": "What is Commit your edited file?",
    "answer": "R u n   g i t   a d d   a n d   g i t   c o m m i t   t o   c o m m i t   t h e   c h a n g e s   y o u   h a v e   m a d e   s o   f a r .   I n   t h e   n e x t   s t e p ,   y o u   w i l l   d o   a   s e c o n d   c o m m i t .   I t   i s   i m p o r t a n t   t o   k e e p   y o u r   c h a n g e s   s e p a r a t e d   i n t o   t w o   c o m m i t s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/contribute-upstream/",
    "id": "k8s_00687_section_3_15269"
  },
  {
    "question": "What is Generate the OpenAPI spec and related files?",
    "answer": "G o   t o   < k 8 s - b a s e >   a n d   r u n   t h e s e   s c r i p t s :   . / h a c k / u p d a t e - c o d e g e n . s h   . / h a c k / u p d a t e - o p e n a p i - s p e c . s h   R u n   g i t   s t a t u s   t o   s e e   w h a t   w a s   g e n e r a t e d .   O n   b r a n c h   m a s t e r   . . .   m o d i f i e d :   a p i / o p e n a p i - s p e c / s w a g g e r . j s o n   m o d i f i e d :   a p i / o p e n a p i - s p e c / v 3 / a p i s _ _ a p p s _ _ v 1 _ o p e n a p i . j s o n   m o d i f i e d :   p k g / g e n e r a t e d / o p e n a p i / z z _ g e n e r a t e d . o p e n a p i . g o   m o d i f i e d :   s t a g i n g / s r c / k 8 s . i o / a p i / a p p s / v 1 / g e n e r a t e d . p r o t o   m o d i f i e d :   s t a g i n g / s r c / k 8 s . i o / a p i / a p p s / v 1 / t y p e s _ s w a g g e r _ d o c _ g e n e r a t e d . g o   V i e w   t h e   c o n t e n t s   o f   a p i / o p e n a p i - s p e c / s w a g g e r . j s o n   t o   m a k e   s u r e   t h e   t y p o   i s   f i x e d .   F o r   e x a m p l e ,   y o u   c o u l d   r u n   g i t   d i f f   - a   a p i / o p e n a p i - s p e c / s w a g g e r . j s o n .   T h i s   i s   i m p o r t a n t ,   b e c a u s e   s w a g g e r . j s o n   i s   t h e   i n p u t   t o   t h e   s e c o n d   s t a g e   o f   t h e   d o c   g e n e r a t i o n   p r o c e s s .   R u n   g i t   a d d   a n d   g i t   c o m m i t   t o   c o m m i t   y o u r   c h a n g e s .   N o w   y o u   h a v e   t w o   c o m m i t s :   o n e   t h a t   c o n t a i n s   t h e   e d i t e d   t y p e s . g o   f i l e ,   a n d   o n e   t h a t   c o n t a i n s   t h e   g e n e r a t e d   O p e n A P I   s p e c   a n d   r e l a t e d   f i l e s .   K e e p   t h e s e   t w o   c o m m i t s   s e p a r a t e .   T h a t   i s ,   d o   n o t   s q u a s h   y o u r   c o m m i t s .   S u b m i t   y o u r   c h a n g e s   a s   a   p u l l   r e q u e s t   t o   t h ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/contribute-upstream/",
    "id": "k8s_00687_section_3_15270"
  },
  {
    "question": "What is Cherry pick your commit into a release branch?",
    "answer": "I n   t h e   p r e c e d i n g   s e c t i o n ,   y o u   e d i t e d   a   f i l e   i n   t h e   m a s t e r   b r a n c h   a n d   t h e n   r a n   s c r i p t s   t o   g e n e r a t e   a n   O p e n A P I   s p e c   a n d   r e l a t e d   f i l e s .   T h e n   y o u   s u b m i t t e d   y o u r   c h a n g e s   i n   a   p u l l   r e q u e s t   t o   t h e   m a s t e r   b r a n c h   o f   t h e   k u b e r n e t e s / k u b e r n e t e s   r e p o s i t o r y .   N o w   s u p p o s e   y o u   w a n t   t o   b a c k p o r t   y o u r   c h a n g e   i n t o   a   r e l e a s e   b r a n c h .   F o r   e x a m p l e ,   s u p p o s e   t h e   m a s t e r   b r a n c h   i s   b e i n g   u s e d   t o   d e v e l o p   K u b e r n e t e s   v e r s i o n   1 . 3 4 ,   a n d   y o u   w a n t   t o   b a c k p o r t   y o u r   c h a n g e   i n t o   t h e   r e l e a s e - 1 . 3 3   b r a n c h .   R e c a l l   t h a t   y o u r   p u l l   r e q u e s t   h a s   t w o   c o m m i t s :   o n e   f o r   e d i t i n g   t y p e s . g o   a n d   o n e   f o r   t h e   f i l e s   g e n e r a t e d   b y   s c r i p t s .   T h e   n e x t   s t e p   i s   t o   p r o p o s e   a   c h e r r y   p i c k   o f   y o u r   f i r s t   c o m m i t   i n t o   t h e   r e l e a s e - 1 . 3 3   b r a n c h .   T h e   i d e a   i s   t o   c h e r r y   p i c k   t h e   c o m m i t   t h a t   e d i t e d   t y p e s . g o ,   b u t   n o t   t h e   c o m m i t   t h a t   h a s   t h e   r e s u l t s   o f   r u n n i n g   t h e   s c r i p t s .   F o r   i n s t r u c t i o n s ,   s e e   P r o p o s e   a   C h e r r y   P i c k .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/contribute-upstream/",
    "id": "k8s_00687_section_3_15271"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   y o u   h a v e   a   p u l l   r e q u e s t   i n   p l a c e   f o r   c h e r r y   p i c k i n g   y o u r   o n e   c o m m i t   i n t o   t h e   r e l e a s e - 1 . 3 3   b r a n c h ,   t h e   n e x t   s t e p   i s   t o   r u n   t h e s e   s c r i p t s   i n   t h e   r e l e a s e - 1 . 3 3   b r a n c h   o f   y o u r   l o c a l   e n v i r o n m e n t .   . / h a c k / u p d a t e - c o d e g e n . s h   . / h a c k / u p d a t e - o p e n a p i - s p e c . s h   N o w   a d d   a   c o m m i t   t o   y o u r   c h e r r y - p i c k   p u l l   r e q u e s t   t h a t   h a s   t h e   r e c e n t l y   g e n e r a t e d   O p e n A P I   s p e c   a n d   r e l a t e d   f i l e s .   M o n i t o r   y o u r   p u l l   r e q u e s t   u n t i l   i t   g e t s   m e r g e d   i n t o   t h e   r e l e a s e - 1 . 3 3   b r a n c h .   A t   t h i s   p o i n t ,   b o t h   t h e   m a s t e r   b r a n c h   a n d   t h e   r e l e a s e - 1 . 3 3   b r a n c h   h a v e   y o u r   u p d a t e d   t y p e s . g o   f i l e   a n d   a   s e t   o f   g e n e r a t e d   f i l e s   t h a t   r e f l e c t   t h e   c h a n g e   y o u   m a d e   t o   t y p e s . g o .   N o t e   t h a t   t h e   g e n e r a t e d   O p e n A P I   s p e c   a n d   o t h e r   g e n e r a t e d   f i l e s   i n   t h e   r e l e a s e - 1 . 3 3   b r a n c h   a r e   n o t   n e c e s s a r i l y   t h e   s a m e   a s   t h e   g e n e r a t e d   f i l e s   i n   t h e   m a s t e r   b r a n c h .   T h e   g e n e r a t e d   f i l e s   i n   t h e   r e l e a s e - 1 . 3 3   b r a n c h   c o n t a i n   A P I   e l e m e n t s   o n l y   f r o m   K u b e r n e t e s   1 . 3 3 .   T h e   g e n e r a t e d   f i l e s   i n   t h e   m a s t e r   b r a n c h   m i g h t   c o n t a i n   A P I   e l e m e n t s   t h a t   a r e   n o t   i n   1 . 3 3 ,   b u t   a r e   u n d e r   d e v e l o p m e n t   f o r   1 . 3 4 .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/contribute-upstream/",
    "id": "k8s_00687_section_4_15272"
  },
  {
    "question": "What is Generate the published reference docs?",
    "answer": "T h e   p r e c e d i n g   s e c t i o n   s h o w e d   h o w   t o   e d i t   a   s o u r c e   f i l e   a n d   t h e n   g e n e r a t e   s e v e r a l   f i l e s ,   i n c l u d i n g   a p i / o p e n a p i - s p e c / s w a g g e r . j s o n   i n   t h e   k u b e r n e t e s / k u b e r n e t e s   r e p o s i t o r y .   T h e   s w a g g e r . j s o n   f i l e   i s   t h e   O p e n A P I   d e f i n i t i o n   f i l e   t o   u s e   f o r   g e n e r a t i n g   t h e   A P I   r e f e r e n c e   d o c u m e n t a t i o n .   Y o u   a r e   n o w   r e a d y   t o   f o l l o w   t h e   G e n e r a t i n g   R e f e r e n c e   D o c u m e n t a t i o n   f o r   t h e   K u b e r n e t e s   A P I   g u i d e   t o   g e n e r a t e   t h e   p u b l i s h e d   K u b e r n e t e s   A P I   r e f e r e n c e   d o c u m e n t a t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/contribute-upstream/",
    "id": "k8s_00687_section_2_15273"
  },
  {
    "question": "What is What's next?",
    "answer": "G e n e r a t i n g   R e f e r e n c e   D o c u m e n t a t i o n   f o r   t h e   K u b e r n e t e s   A P I G e n e r a t i n g   R e f e r e n c e   D o c s   f o r   K u b e r n e t e s   C o m p o n e n t s   a n d   T o o l s G e n e r a t i n g   R e f e r e n c e   D o c u m e n t a t i o n   f o r   k u b e c t l   C o m m a n d s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/contribute-upstream/",
    "id": "k8s_00687_section_2_15274"
  },
  {
    "question": "What is kube-apiserver?",
    "answer": "kube-apiserverSynopsisThe Kubernetes API server validates and configures data for the api objects which include pods, services, replicationcontrollers, and others. The API Server services REST operations and provides the frontend to the cluster's shared state through which all other components interact.kube-apiserver [flags] Options--admission-control-config-file stringFile with admission control configuration.--advertise-address stringThe IP address on which to advertise the apiserver to members of the cluster. This address must be reachable by the rest of the cluster. If blank, the --bind-address will be used. If --bind-address is unspecified, the host's default interface will be used.--aggregator-reject-forwarding-redirect Default: trueAggregator reject forwarding redirect response back to client.--allow-metric-labels stringToString Default: []The map from metric-label to value allow-list of this label. The key's format is <MetricName>,<LabelName>. The value's format is <allowed_value>,<allowed_value>...e.g. metric1,label1='v1,v2,v3', metric1,label2='v1,v2,v3' metric2,label1='v1,v2,v3'.--allow-metric-labels-manifest stringThe path to the manifest file that contains the allow-list mapping. The format of the file is the same as the flag --allow-metric-labels. Note that the flag --allow-metric-labels will override the manifest file.--allow-privilegedIf true, allow privileged containers. [default=false]--anonymous-auth Default: trueEnables anonymous requests to the secure port of the API server. Requests that are not rejected by another authentication method are treated as anonymous requests. Anonymous requests have a username of system:anonymous, and a group name of system:unauthenticated.--api-audiences stringsIdentifiers of the API. The service account token authenticator will validate that tokens used against the API are bound to at least one of these audiences. If the --service-account-issuer flag is configured and this flag is not, this field defaults to a single element list containing the issuer URL.--audit-log-batch-buffer-size int Default: 10000The size of the buffer to store events before batching and writing. Only used in batch mode.--audit-log-batch-max-size int Default: 1The maximum size of a batch. Only used in batch mode.--audit-log-batch-max-wait durationThe amount of time to wait before force writing the batch that hadn't reached the max size. Only used in batch mode.--audit-log-batch-throttle-burst intMaximum number of requests sent at the same moment if ThrottleQPS was not utilized before. Only used in batch mode.--audit-log-batch-throttle-enableWhether batching throttling is enabled. Only used in batch mode.--audit-log-batch-throttle-qps floatMaximum average number of batches per second. Only used in batch mode.--audit-log-compressIf set, the rotated log files will be compressed using gzip.--audit-log-format string Default: \"json\"Format of saved audits. \"legacy\" indicates 1-line text format for each event. \"json\" indicates str",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kube-apiserver/",
    "id": "k8s_00688_qa_15275"
  },
  {
    "question": "How does kube-apiserver work?",
    "answer": "kube-apiserverSynopsisThe Kubernetes API server validates and configures data for the api objects which include pods, services, replicationcontrollers, and others. The API Server services REST operations and provides the frontend to the cluster's shared state through which all other components interact.kube-apiserver [flags] Options--admission-control-config-file stringFile with admission control configuration.--advertise-address stringThe IP address on which to advertise the apiserver to members of the cluster. This address must be reachable by the rest of the cluster. If blank, the --bind-address will be used. If --bind-address is unspecified, the host's default interface will be used.--aggregator-reject-forwarding-redirect Default: trueAggregator reject forwarding redirect response back to client.--allow-metric-labels stringToString Default: []The map from metric-label to value allow-list of this label. The key's format is <MetricName>,<LabelName>. The value's format is <allowed_value>,<allowed_value>...e.g. metric1,label1='v1,v2,v3', metric1,label2='v1,v2,v3' metric2,label1='v1,v2,v3'.--allow-metric-labels-manifest stringThe path to the manifest file that contains the allow-list mapping. The format of the file is the same as the flag --allow-metric-labels. Note that the flag --allow-metric-labels will override the manifest file.--allow-privilegedIf true, allow privileged containers. [default=false]--anonymous-auth Default: trueEnables anonymous requests to the secure port of the API server. Requests that are not rejected by another authentication method are treated as anonymous requests. Anonymous requests have a username of system:anonymous, and a group name of system:unauthenticated.--api-audiences stringsIdentifiers of the API. The service account token authenticator will validate that tokens used against the API are bound to at least one of these audiences. If the --service-account-issuer flag is configured and this flag is not, this field defaults to a single element list containing the issuer URL.--audit-log-batch-buffer-size int Default: 10000The size of the buffer to store events before batching and writing. Only used in batch mode.--audit-log-batch-max-size int Default: 1The maximum size of a batch. Only used in batch mode.--audit-log-batch-max-wait durationThe amount of time to wait before force writing the batch that hadn't reached the max size. Only used in batch mode.--audit-log-batch-throttle-burst intMaximum number of requests sent at the same moment if ThrottleQPS was not utilized before. Only used in batch mode.--audit-log-batch-throttle-enableWhether batching throttling is enabled. Only used in batch mode.--audit-log-batch-throttle-qps floatMaximum average number of batches per second. Only used in batch mode.--audit-log-compressIf set, the rotated log files will be compressed using gzip.--audit-log-format string Default: \"json\"Format of saved audits. \"legacy\" indicates 1-line text format for each event. \"json\" indicates str",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kube-apiserver/",
    "id": "k8s_00688_qa_15276"
  },
  {
    "question": "When would you use kube-apiserver?",
    "answer": "kube-apiserverSynopsisThe Kubernetes API server validates and configures data for the api objects which include pods, services, replicationcontrollers, and others. The API Server services REST operations and provides the frontend to the cluster's shared state through which all other components interact.kube-apiserver [flags] Options--admission-control-config-file stringFile with admission control configuration.--advertise-address stringThe IP address on which to advertise the apiserver to members of the cluster. This address must be reachable by the rest of the cluster. If blank, the --bind-address will be used. If --bind-address is unspecified, the host's default interface will be used.--aggregator-reject-forwarding-redirect Default: trueAggregator reject forwarding redirect response back to client.--allow-metric-labels stringToString Default: []The map from metric-label to value allow-list of this label. The key's format is <MetricName>,<LabelName>. The value's format is <allowed_value>,<allowed_value>...e.g. metric1,label1='v1,v2,v3', metric1,label2='v1,v2,v3' metric2,label1='v1,v2,v3'.--allow-metric-labels-manifest stringThe path to the manifest file that contains the allow-list mapping. The format of the file is the same as the flag --allow-metric-labels. Note that the flag --allow-metric-labels will override the manifest file.--allow-privilegedIf true, allow privileged containers. [default=false]--anonymous-auth Default: trueEnables anonymous requests to the secure port of the API server. Requests that are not rejected by another authentication method are treated as anonymous requests. Anonymous requests have a username of system:anonymous, and a group name of system:unauthenticated.--api-audiences stringsIdentifiers of the API. The service account token authenticator will validate that tokens used against the API are bound to at least one of these audiences. If the --service-account-issuer flag is configured and this flag is not, this field defaults to a single element list containing the issuer URL.--audit-log-batch-buffer-size int Default: 10000The size of the buffer to store events before batching and writing. Only used in batch mode.--audit-log-batch-max-size int Default: 1The maximum size of a batch. Only used in batch mode.--audit-log-batch-max-wait durationThe amount of time to wait before force writing the batch that hadn't reached the max size. Only used in batch mode.--audit-log-batch-throttle-burst intMaximum number of requests sent at the same moment if ThrottleQPS was not utilized before. Only used in batch mode.--audit-log-batch-throttle-enableWhether batching throttling is enabled. Only used in batch mode.--audit-log-batch-throttle-qps floatMaximum average number of batches per second. Only used in batch mode.--audit-log-compressIf set, the rotated log files will be compressed using gzip.--audit-log-format string Default: \"json\"Format of saved audits. \"legacy\" indicates 1-line text format for each event. \"json\" indicates str",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kube-apiserver/",
    "id": "k8s_00688_qa_15277"
  },
  {
    "question": "What are the benefits of kube-apiserver?",
    "answer": "kube-apiserverSynopsisThe Kubernetes API server validates and configures data for the api objects which include pods, services, replicationcontrollers, and others. The API Server services REST operations and provides the frontend to the cluster's shared state through which all other components interact.kube-apiserver [flags] Options--admission-control-config-file stringFile with admission control configuration.--advertise-address stringThe IP address on which to advertise the apiserver to members of the cluster. This address must be reachable by the rest of the cluster. If blank, the --bind-address will be used. If --bind-address is unspecified, the host's default interface will be used.--aggregator-reject-forwarding-redirect Default: trueAggregator reject forwarding redirect response back to client.--allow-metric-labels stringToString Default: []The map from metric-label to value allow-list of this label. The key's format is <MetricName>,<LabelName>. The value's format is <allowed_value>,<allowed_value>...e.g. metric1,label1='v1,v2,v3', metric1,label2='v1,v2,v3' metric2,label1='v1,v2,v3'.--allow-metric-labels-manifest stringThe path to the manifest file that contains the allow-list mapping. The format of the file is the same as the flag --allow-metric-labels. Note that the flag --allow-metric-labels will override the manifest file.--allow-privilegedIf true, allow privileged containers. [default=false]--anonymous-auth Default: trueEnables anonymous requests to the secure port of the API server. Requests that are not rejected by another authentication method are treated as anonymous requests. Anonymous requests have a username of system:anonymous, and a group name of system:unauthenticated.--api-audiences stringsIdentifiers of the API. The service account token authenticator will validate that tokens used against the API are bound to at least one of these audiences. If the --service-account-issuer flag is configured and this flag is not, this field defaults to a single element list containing the issuer URL.--audit-log-batch-buffer-size int Default: 10000The size of the buffer to store events before batching and writing. Only used in batch mode.--audit-log-batch-max-size int Default: 1The maximum size of a batch. Only used in batch mode.--audit-log-batch-max-wait durationThe amount of time to wait before force writing the batch that hadn't reached the max size. Only used in batch mode.--audit-log-batch-throttle-burst intMaximum number of requests sent at the same moment if ThrottleQPS was not utilized before. Only used in batch mode.--audit-log-batch-throttle-enableWhether batching throttling is enabled. Only used in batch mode.--audit-log-batch-throttle-qps floatMaximum average number of batches per second. Only used in batch mode.--audit-log-compressIf set, the rotated log files will be compressed using gzip.--audit-log-format string Default: \"json\"Format of saved audits. \"legacy\" indicates 1-line text format for each event. \"json\" indicates str",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kube-apiserver/",
    "id": "k8s_00688_qa_15278"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h e   K u b e r n e t e s   A P I   s e r v e r   v a l i d a t e s   a n d   c o n f i g u r e s   d a t a   f o r   t h e   a p i   o b j e c t s   w h i c h   i n c l u d e   p o d s ,   s e r v i c e s ,   r e p l i c a t i o n c o n t r o l l e r s ,   a n d   o t h e r s .   T h e   A P I   S e r v e r   s e r v i c e s   R E S T   o p e r a t i o n s   a n d   p r o v i d e s   t h e   f r o n t e n d   t o   t h e   c l u s t e r ' s   s h a r e d   s t a t e   t h r o u g h   w h i c h   a l l   o t h e r   c o m p o n e n t s   i n t e r a c t .   k u b e - a p i s e r v e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kube-apiserver/",
    "id": "k8s_00688_section_2_15279"
  },
  {
    "question": "What is Options?",
    "answer": "F i l e   w i t h   a d m i s s i o n   c o n t r o l   c o n f i g u r a t i o n .   T h e   I P   a d d r e s s   o n   w h i c h   t o   a d v e r t i s e   t h e   a p i s e r v e r   t o   m e m b e r s   o f   t h e   c l u s t e r .   T h i s   a d d r e s s   m u s t   b e   r e a c h a b l e   b y   t h e   r e s t   o f   t h e   c l u s t e r .   I f   b l a n k ,   t h e   - - b i n d - a d d r e s s   w i l l   b e   u s e d .   I f   - - b i n d - a d d r e s s   i s   u n s p e c i f i e d ,   t h e   h o s t ' s   d e f a u l t   i n t e r f a c e   w i l l   b e   u s e d .   A g g r e g a t o r   r e j e c t   f o r w a r d i n g   r e d i r e c t   r e s p o n s e   b a c k   t o   c l i e n t .   T h e   m a p   f r o m   m e t r i c - l a b e l   t o   v a l u e   a l l o w - l i s t   o f   t h i s   l a b e l .   T h e   k e y ' s   f o r m a t   i s   < M e t r i c N a m e > , < L a b e l N a m e > .   T h e   v a l u e ' s   f o r m a t   i s   < a l l o w e d _ v a l u e > , < a l l o w e d _ v a l u e > . . . e . g .   m e t r i c 1 , l a b e l 1 = ' v 1 , v 2 , v 3 ' ,   m e t r i c 1 , l a b e l 2 = ' v 1 , v 2 , v 3 '   m e t r i c 2 , l a b e l 1 = ' v 1 , v 2 , v 3 ' .   T h e   p a t h   t o   t h e   m a n i f e s t   f i l e   t h a t   c o n t a i n s   t h e   a l l o w - l i s t   m a p p i n g .   T h e   f o r m a t   o f   t h e   f i l e   i s   t h e   s a m e   a s   t h e   f l a g   - - a l l o w - m e t r i c - l a b e l s .   N o t e   t h a t   t h e   f l a g   - - a l l o w - m e t r i c - l a b e l s   w i l l   o v e r r i d e   t h e   m a n i f e s t   f i l e .   I f   t r u e ,   a l l o w   p r i v i l e g e d   c o n t a i n e r s .   [ d e f a u l t = f a l s e ]   E n a b l e s   a n o n y m o u s   r e q u e s t s   t o   t h e   s e c u r e   p o r t   o f   t h e   A P I   s e r v e r .   R e q u e s t s   t h a t   a r e   n o t   r e j e c t e d   b y   a n o t h e r   a u t h e n t i c a t i o n   m ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kube-apiserver/",
    "id": "k8s_00688_section_2_15280"
  },
  {
    "question": "What is Scale a StatefulSet?",
    "answer": "Scale a StatefulSetThis task shows how to scale a StatefulSet. Scaling a StatefulSet refers to increasing or decreasing the number of replicas.Before you beginStatefulSets are only available in Kubernetes version 1.5 or later. To check your version of Kubernetes, run kubectl version.Not all stateful applications scale nicely. If you are unsure about whether to scale your StatefulSets, see StatefulSet concepts or StatefulSet tutorial for further information.You should perform scaling only when you are confident that your stateful application cluster is completely healthy.Scaling StatefulSetsUse kubectl to scale StatefulSetsFirst, find the StatefulSet you want to scale.kubectl get statefulsets <stateful-set-name> Change the number of replicas of your StatefulSet:kubectl scale statefulsets <stateful-set-name> --replicas=<new-replicas> Make in-place updates on your StatefulSetsAlternatively, you can do in-place updates on your StatefulSets.If your StatefulSet was initially created with kubectl apply, update .spec.replicas of the StatefulSet manifests, and then do a kubectl apply:kubectl apply -f <stateful-set-file-updated> Otherwise, edit that field with kubectl edit:kubectl edit statefulsets <stateful-set-name> Or use kubectl patch:kubectl patch statefulsets <stateful-set-name> -p '{\"spec\":{\"replicas\":<new-replicas>}}' TroubleshootingScaling down does not work rightYou cannot scale down a StatefulSet when any of the stateful Pods it manages is unhealthy. Scaling down only takes place after those stateful Pods become running and ready.If spec.replicas > 1, Kubernetes cannot determine the reason for an unhealthy Pod. It might be the result of a permanent fault or of a transient fault. A transient fault can be caused by a restart required by upgrading or maintenance.If the Pod is unhealthy due to a permanent fault, scaling without correcting the fault may lead to a state where the StatefulSet membership drops below a certain minimum number of replicas that are needed to function correctly. This may cause your StatefulSet to become unavailable.If the Pod is unhealthy due to a transient fault and the Pod might become available again, the transient error may interfere with your scale-up or scale-down operation. Some distributed databases have issues when nodes join and leave at the same time. It is better to reason about scaling operations at the application level in these cases, and perform scaling only when you are sure that your stateful application cluster is completely healthy.What's nextLearn more about deleting a StatefulSet.",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/scale-stateful-set/",
    "id": "k8s_00689_qa_15281"
  },
  {
    "question": "How does Scale a StatefulSet work?",
    "answer": "Scale a StatefulSetThis task shows how to scale a StatefulSet. Scaling a StatefulSet refers to increasing or decreasing the number of replicas.Before you beginStatefulSets are only available in Kubernetes version 1.5 or later. To check your version of Kubernetes, run kubectl version.Not all stateful applications scale nicely. If you are unsure about whether to scale your StatefulSets, see StatefulSet concepts or StatefulSet tutorial for further information.You should perform scaling only when you are confident that your stateful application cluster is completely healthy.Scaling StatefulSetsUse kubectl to scale StatefulSetsFirst, find the StatefulSet you want to scale.kubectl get statefulsets <stateful-set-name> Change the number of replicas of your StatefulSet:kubectl scale statefulsets <stateful-set-name> --replicas=<new-replicas> Make in-place updates on your StatefulSetsAlternatively, you can do in-place updates on your StatefulSets.If your StatefulSet was initially created with kubectl apply, update .spec.replicas of the StatefulSet manifests, and then do a kubectl apply:kubectl apply -f <stateful-set-file-updated> Otherwise, edit that field with kubectl edit:kubectl edit statefulsets <stateful-set-name> Or use kubectl patch:kubectl patch statefulsets <stateful-set-name> -p '{\"spec\":{\"replicas\":<new-replicas>}}' TroubleshootingScaling down does not work rightYou cannot scale down a StatefulSet when any of the stateful Pods it manages is unhealthy. Scaling down only takes place after those stateful Pods become running and ready.If spec.replicas > 1, Kubernetes cannot determine the reason for an unhealthy Pod. It might be the result of a permanent fault or of a transient fault. A transient fault can be caused by a restart required by upgrading or maintenance.If the Pod is unhealthy due to a permanent fault, scaling without correcting the fault may lead to a state where the StatefulSet membership drops below a certain minimum number of replicas that are needed to function correctly. This may cause your StatefulSet to become unavailable.If the Pod is unhealthy due to a transient fault and the Pod might become available again, the transient error may interfere with your scale-up or scale-down operation. Some distributed databases have issues when nodes join and leave at the same time. It is better to reason about scaling operations at the application level in these cases, and perform scaling only when you are sure that your stateful application cluster is completely healthy.What's nextLearn more about deleting a StatefulSet.",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/scale-stateful-set/",
    "id": "k8s_00689_qa_15282"
  },
  {
    "question": "When would you use Scale a StatefulSet?",
    "answer": "Scale a StatefulSetThis task shows how to scale a StatefulSet. Scaling a StatefulSet refers to increasing or decreasing the number of replicas.Before you beginStatefulSets are only available in Kubernetes version 1.5 or later. To check your version of Kubernetes, run kubectl version.Not all stateful applications scale nicely. If you are unsure about whether to scale your StatefulSets, see StatefulSet concepts or StatefulSet tutorial for further information.You should perform scaling only when you are confident that your stateful application cluster is completely healthy.Scaling StatefulSetsUse kubectl to scale StatefulSetsFirst, find the StatefulSet you want to scale.kubectl get statefulsets <stateful-set-name> Change the number of replicas of your StatefulSet:kubectl scale statefulsets <stateful-set-name> --replicas=<new-replicas> Make in-place updates on your StatefulSetsAlternatively, you can do in-place updates on your StatefulSets.If your StatefulSet was initially created with kubectl apply, update .spec.replicas of the StatefulSet manifests, and then do a kubectl apply:kubectl apply -f <stateful-set-file-updated> Otherwise, edit that field with kubectl edit:kubectl edit statefulsets <stateful-set-name> Or use kubectl patch:kubectl patch statefulsets <stateful-set-name> -p '{\"spec\":{\"replicas\":<new-replicas>}}' TroubleshootingScaling down does not work rightYou cannot scale down a StatefulSet when any of the stateful Pods it manages is unhealthy. Scaling down only takes place after those stateful Pods become running and ready.If spec.replicas > 1, Kubernetes cannot determine the reason for an unhealthy Pod. It might be the result of a permanent fault or of a transient fault. A transient fault can be caused by a restart required by upgrading or maintenance.If the Pod is unhealthy due to a permanent fault, scaling without correcting the fault may lead to a state where the StatefulSet membership drops below a certain minimum number of replicas that are needed to function correctly. This may cause your StatefulSet to become unavailable.If the Pod is unhealthy due to a transient fault and the Pod might become available again, the transient error may interfere with your scale-up or scale-down operation. Some distributed databases have issues when nodes join and leave at the same time. It is better to reason about scaling operations at the application level in these cases, and perform scaling only when you are sure that your stateful application cluster is completely healthy.What's nextLearn more about deleting a StatefulSet.",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/scale-stateful-set/",
    "id": "k8s_00689_qa_15283"
  },
  {
    "question": "What are the benefits of Scale a StatefulSet?",
    "answer": "Scale a StatefulSetThis task shows how to scale a StatefulSet. Scaling a StatefulSet refers to increasing or decreasing the number of replicas.Before you beginStatefulSets are only available in Kubernetes version 1.5 or later. To check your version of Kubernetes, run kubectl version.Not all stateful applications scale nicely. If you are unsure about whether to scale your StatefulSets, see StatefulSet concepts or StatefulSet tutorial for further information.You should perform scaling only when you are confident that your stateful application cluster is completely healthy.Scaling StatefulSetsUse kubectl to scale StatefulSetsFirst, find the StatefulSet you want to scale.kubectl get statefulsets <stateful-set-name> Change the number of replicas of your StatefulSet:kubectl scale statefulsets <stateful-set-name> --replicas=<new-replicas> Make in-place updates on your StatefulSetsAlternatively, you can do in-place updates on your StatefulSets.If your StatefulSet was initially created with kubectl apply, update .spec.replicas of the StatefulSet manifests, and then do a kubectl apply:kubectl apply -f <stateful-set-file-updated> Otherwise, edit that field with kubectl edit:kubectl edit statefulsets <stateful-set-name> Or use kubectl patch:kubectl patch statefulsets <stateful-set-name> -p '{\"spec\":{\"replicas\":<new-replicas>}}' TroubleshootingScaling down does not work rightYou cannot scale down a StatefulSet when any of the stateful Pods it manages is unhealthy. Scaling down only takes place after those stateful Pods become running and ready.If spec.replicas > 1, Kubernetes cannot determine the reason for an unhealthy Pod. It might be the result of a permanent fault or of a transient fault. A transient fault can be caused by a restart required by upgrading or maintenance.If the Pod is unhealthy due to a permanent fault, scaling without correcting the fault may lead to a state where the StatefulSet membership drops below a certain minimum number of replicas that are needed to function correctly. This may cause your StatefulSet to become unavailable.If the Pod is unhealthy due to a transient fault and the Pod might become available again, the transient error may interfere with your scale-up or scale-down operation. Some distributed databases have issues when nodes join and leave at the same time. It is better to reason about scaling operations at the application level in these cases, and perform scaling only when you are sure that your stateful application cluster is completely healthy.What's nextLearn more about deleting a StatefulSet.",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/scale-stateful-set/",
    "id": "k8s_00689_qa_15284"
  },
  {
    "question": "What is Scale a StatefulSet?",
    "answer": "T h i s   t a s k   s h o w s   h o w   t o   s c a l e   a   S t a t e f u l S e t .   S c a l i n g   a   S t a t e f u l S e t   r e f e r s   t o   i n c r e a s i n g   o r   d e c r e a s i n g   t h e   n u m b e r   o f   r e p l i c a s .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/scale-stateful-set/",
    "id": "k8s_00689_section_1_15285"
  },
  {
    "question": "What is Before you begin?",
    "answer": "S t a t e f u l S e t s   a r e   o n l y   a v a i l a b l e   i n   K u b e r n e t e s   v e r s i o n   1 . 5   o r   l a t e r .   T o   c h e c k   y o u r   v e r s i o n   o f   K u b e r n e t e s ,   r u n   k u b e c t l   v e r s i o n . N o t   a l l   s t a t e f u l   a p p l i c a t i o n s   s c a l e   n i c e l y .   I f   y o u   a r e   u n s u r e   a b o u t   w h e t h e r   t o   s c a l e   y o u r   S t a t e f u l S e t s ,   s e e   S t a t e f u l S e t   c o n c e p t s   o r   S t a t e f u l S e t   t u t o r i a l   f o r   f u r t h e r   i n f o r m a t i o n . Y o u   s h o u l d   p e r f o r m   s c a l i n g   o n l y   w h e n   y o u   a r e   c o n f i d e n t   t h a t   y o u r   s t a t e f u l   a p p l i c a t i o n   c l u s t e r   i s   c o m p l e t e l y   h e a l t h y .   S t a t e f u l S e t s   a r e   o n l y   a v a i l a b l e   i n   K u b e r n e t e s   v e r s i o n   1 . 5   o r   l a t e r .   T o   c h e c k   y o u r   v e r s i o n   o f   K u b e r n e t e s ,   r u n   k u b e c t l   v e r s i o n .   N o t   a l l   s t a t e f u l   a p p l i c a t i o n s   s c a l e   n i c e l y .   I f   y o u   a r e   u n s u r e   a b o u t   w h e t h e r   t o   s c a l e   y o u r   S t a t e f u l S e t s ,   s e e   S t a t e f u l S e t   c o n c e p t s   o r   S t a t e f u l S e t   t u t o r i a l   f o r   f u r t h e r   i n f o r m a t i o n .   Y o u   s h o u l d   p e r f o r m   s c a l i n g   o n l y   w h e n   y o u   a r e   c o n f i d e n t   t h a t   y o u r   s t a t e f u l   a p p l i c a t i o n   c l u s t e r   i s   c o m p l e t e l y   h e a l t h y .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/scale-stateful-set/",
    "id": "k8s_00689_section_2_15286"
  },
  {
    "question": "What is Use kubectl to scale StatefulSets?",
    "answer": "F i r s t ,   f i n d   t h e   S t a t e f u l S e t   y o u   w a n t   t o   s c a l e .   k u b e c t l   g e t   s t a t e f u l s e t s   < s t a t e f u l - s e t - n a m e >   C h a n g e   t h e   n u m b e r   o f   r e p l i c a s   o f   y o u r   S t a t e f u l S e t :   k u b e c t l   s c a l e   s t a t e f u l s e t s   < s t a t e f u l - s e t - n a m e >   - - r e p l i c a s = < n e w - r e p l i c a s >",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/scale-stateful-set/",
    "id": "k8s_00689_section_3_15287"
  },
  {
    "question": "What is Make in-place updates on your StatefulSets?",
    "answer": "A l t e r n a t i v e l y ,   y o u   c a n   d o   i n - p l a c e   u p d a t e s   o n   y o u r   S t a t e f u l S e t s .   I f   y o u r   S t a t e f u l S e t   w a s   i n i t i a l l y   c r e a t e d   w i t h   k u b e c t l   a p p l y ,   u p d a t e   . s p e c . r e p l i c a s   o f   t h e   S t a t e f u l S e t   m a n i f e s t s ,   a n d   t h e n   d o   a   k u b e c t l   a p p l y :   k u b e c t l   a p p l y   - f   < s t a t e f u l - s e t - f i l e - u p d a t e d >   O t h e r w i s e ,   e d i t   t h a t   f i e l d   w i t h   k u b e c t l   e d i t :   k u b e c t l   e d i t   s t a t e f u l s e t s   < s t a t e f u l - s e t - n a m e >   O r   u s e   k u b e c t l   p a t c h :   k u b e c t l   p a t c h   s t a t e f u l s e t s   < s t a t e f u l - s e t - n a m e >   - p   ' { \" s p e c \" : { \" r e p l i c a s \" : < n e w - r e p l i c a s > } } '",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/scale-stateful-set/",
    "id": "k8s_00689_section_3_15288"
  },
  {
    "question": "What is Scaling down does not work right?",
    "answer": "Y o u   c a n n o t   s c a l e   d o w n   a   S t a t e f u l S e t   w h e n   a n y   o f   t h e   s t a t e f u l   P o d s   i t   m a n a g e s   i s   u n h e a l t h y .   S c a l i n g   d o w n   o n l y   t a k e s   p l a c e   a f t e r   t h o s e   s t a t e f u l   P o d s   b e c o m e   r u n n i n g   a n d   r e a d y .   I f   s p e c . r e p l i c a s   >   1 ,   K u b e r n e t e s   c a n n o t   d e t e r m i n e   t h e   r e a s o n   f o r   a n   u n h e a l t h y   P o d .   I t   m i g h t   b e   t h e   r e s u l t   o f   a   p e r m a n e n t   f a u l t   o r   o f   a   t r a n s i e n t   f a u l t .   A   t r a n s i e n t   f a u l t   c a n   b e   c a u s e d   b y   a   r e s t a r t   r e q u i r e d   b y   u p g r a d i n g   o r   m a i n t e n a n c e .   I f   t h e   P o d   i s   u n h e a l t h y   d u e   t o   a   p e r m a n e n t   f a u l t ,   s c a l i n g   w i t h o u t   c o r r e c t i n g   t h e   f a u l t   m a y   l e a d   t o   a   s t a t e   w h e r e   t h e   S t a t e f u l S e t   m e m b e r s h i p   d r o p s   b e l o w   a   c e r t a i n   m i n i m u m   n u m b e r   o f   r e p l i c a s   t h a t   a r e   n e e d e d   t o   f u n c t i o n   c o r r e c t l y .   T h i s   m a y   c a u s e   y o u r   S t a t e f u l S e t   t o   b e c o m e   u n a v a i l a b l e .   I f   t h e   P o d   i s   u n h e a l t h y   d u e   t o   a   t r a n s i e n t   f a u l t   a n d   t h e   P o d   m i g h t   b e c o m e   a v a i l a b l e   a g a i n ,   t h e   t r a n s i e n t   e r r o r   m a y   i n t e r f e r e   w i t h   y o u r   s c a l e - u p   o r   s c a l e - d o w n   o p e r a t i o n .   S o m e   d i s t r i b u t e d   d a t a b a s e s   h a v e   i s s u e s   w h e n   n o d e s   j o i n   a n d   l e a v e   a t   t h e   s a m e   t i m e .   I t   i s   b e t t e r   t o   r e a s o n   a b o u t   s c a l i n g   o p e r a t i o n s   a t   t h e   a p ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/scale-stateful-set/",
    "id": "k8s_00689_section_3_15289"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   d e l e t i n g   a   S t a t e f u l S e t .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/scale-stateful-set/",
    "id": "k8s_00689_section_2_15290"
  },
  {
    "question": "What is kubectl apply set-last-applied?",
    "answer": "kubectl apply set-last-appliedSynopsisSet the latest last-applied-configuration annotations by setting it to match the contents of a file. This results in the last-applied-configuration being updated as though 'kubectl apply -f<file> ' was run, without updating any other parts of the object.kubectl apply set-last-applied -f FILENAME Examples # Set the last-applied-configuration of a resource to match the contents of a file kubectl apply set-last-applied -f deploy.yaml # Execute set-last-applied against each configuration file in a directory kubectl apply set-last-applied -f path/ # Set the last-applied-configuration of a resource to match the contents of a file; will create the annotation if it does not already exist kubectl apply set-last-applied -f deploy.yaml --create-annotation=true Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--create-annotationWill create 'last-applied-configuration' annotations if current objects doesn't have one--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-f, --filename stringsFilename, directory, or URL to files that contains the last-applied-configuration annotations-h, --helphelp for set-last-applied-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferen",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_set-last-applied/",
    "id": "k8s_00690_qa_15291"
  },
  {
    "question": "How does kubectl apply set-last-applied work?",
    "answer": "kubectl apply set-last-appliedSynopsisSet the latest last-applied-configuration annotations by setting it to match the contents of a file. This results in the last-applied-configuration being updated as though 'kubectl apply -f<file> ' was run, without updating any other parts of the object.kubectl apply set-last-applied -f FILENAME Examples # Set the last-applied-configuration of a resource to match the contents of a file kubectl apply set-last-applied -f deploy.yaml # Execute set-last-applied against each configuration file in a directory kubectl apply set-last-applied -f path/ # Set the last-applied-configuration of a resource to match the contents of a file; will create the annotation if it does not already exist kubectl apply set-last-applied -f deploy.yaml --create-annotation=true Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--create-annotationWill create 'last-applied-configuration' annotations if current objects doesn't have one--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-f, --filename stringsFilename, directory, or URL to files that contains the last-applied-configuration annotations-h, --helphelp for set-last-applied-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferen",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_set-last-applied/",
    "id": "k8s_00690_qa_15292"
  },
  {
    "question": "When would you use kubectl apply set-last-applied?",
    "answer": "kubectl apply set-last-appliedSynopsisSet the latest last-applied-configuration annotations by setting it to match the contents of a file. This results in the last-applied-configuration being updated as though 'kubectl apply -f<file> ' was run, without updating any other parts of the object.kubectl apply set-last-applied -f FILENAME Examples # Set the last-applied-configuration of a resource to match the contents of a file kubectl apply set-last-applied -f deploy.yaml # Execute set-last-applied against each configuration file in a directory kubectl apply set-last-applied -f path/ # Set the last-applied-configuration of a resource to match the contents of a file; will create the annotation if it does not already exist kubectl apply set-last-applied -f deploy.yaml --create-annotation=true Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--create-annotationWill create 'last-applied-configuration' annotations if current objects doesn't have one--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-f, --filename stringsFilename, directory, or URL to files that contains the last-applied-configuration annotations-h, --helphelp for set-last-applied-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferen",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_set-last-applied/",
    "id": "k8s_00690_qa_15293"
  },
  {
    "question": "What are the benefits of kubectl apply set-last-applied?",
    "answer": "kubectl apply set-last-appliedSynopsisSet the latest last-applied-configuration annotations by setting it to match the contents of a file. This results in the last-applied-configuration being updated as though 'kubectl apply -f<file> ' was run, without updating any other parts of the object.kubectl apply set-last-applied -f FILENAME Examples # Set the last-applied-configuration of a resource to match the contents of a file kubectl apply set-last-applied -f deploy.yaml # Execute set-last-applied against each configuration file in a directory kubectl apply set-last-applied -f path/ # Set the last-applied-configuration of a resource to match the contents of a file; will create the annotation if it does not already exist kubectl apply set-last-applied -f deploy.yaml --create-annotation=true Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--create-annotationWill create 'last-applied-configuration' annotations if current objects doesn't have one--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-f, --filename stringsFilename, directory, or URL to files that contains the last-applied-configuration annotations-h, --helphelp for set-last-applied-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferen",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_set-last-applied/",
    "id": "k8s_00690_qa_15294"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S e t   t h e   l a t e s t   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   s e t t i n g   i t   t o   m a t c h   t h e   c o n t e n t s   o f   a   f i l e .   T h i s   r e s u l t s   i n   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   b e i n g   u p d a t e d   a s   t h o u g h   ' k u b e c t l   a p p l y   - f < f i l e >   '   w a s   r u n ,   w i t h o u t   u p d a t i n g   a n y   o t h e r   p a r t s   o f   t h e   o b j e c t .   k u b e c t l   a p p l y   s e t - l a s t - a p p l i e d   - f   F I L E N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_set-last-applied/",
    "id": "k8s_00690_section_2_15295"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   o f   a   r e s o u r c e   t o   m a t c h   t h e   c o n t e n t s   o f   a   f i l e   k u b e c t l   a p p l y   s e t - l a s t - a p p l i e d   - f   d e p l o y . y a m l   #   E x e c u t e   s e t - l a s t - a p p l i e d   a g a i n s t   e a c h   c o n f i g u r a t i o n   f i l e   i n   a   d i r e c t o r y   k u b e c t l   a p p l y   s e t - l a s t - a p p l i e d   - f   p a t h /   #   S e t   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   o f   a   r e s o u r c e   t o   m a t c h   t h e   c o n t e n t s   o f   a   f i l e ;   w i l l   c r e a t e   t h e   a n n o t a t i o n   i f   i t   d o e s   n o t   a l r e a d y   e x i s t   k u b e c t l   a p p l y   s e t - l a s t - a p p l i e d   - f   d e p l o y . y a m l   - - c r e a t e - a n n o t a t i o n = t r u e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_set-last-applied/",
    "id": "k8s_00690_section_2_15296"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   W i l l   c r e a t e   ' l a s t - a p p l i e d - c o n f i g u r a t i o n '   a n n o t a t i o n s   i f   c u r r e n t   o b j e c t s   d o e s n ' t   h a v e   o n e   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   t h a t   c o n t a i n s   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   h e l p   f o r   s e t - l a s t - a p p l i e d   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t e x t / t e m p l a t e / # p k g - o v e r v i e w ] .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_set-last-applied/",
    "id": "k8s_00690_section_2_15297"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_set-last-applied/",
    "id": "k8s_00690_section_2_15298"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   a p p l y   -   A p p l y   a   c o n f i g u r a t i o n   t o   a   r e s o u r c e   b y   f i l e   n a m e   o r   s t d i n   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_set-last-applied/",
    "id": "k8s_00690_section_2_15299"
  },
  {
    "question": "What is PriorityClass?",
    "answer": "PriorityClassPriorityClass defines mapping from a priority class name to the priority integer value.apiVersion: scheduling.k8s.io/v1import \"k8s.io/api/scheduling/v1\"PriorityClassPriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.apiVersion: scheduling.k8s.io/v1kind: PriorityClassmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatavalue (int32), requiredvalue represents the integer value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.description (string)description is an arbitrary string that usually provides guidelines on when this priority class should be used.globalDefault (boolean)globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as globalDefault. However, if more than one PriorityClasses exists with their globalDefault field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.preemptionPolicy (string)preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.PriorityClassListPriorityClassList is a collection of priority classes.apiVersion: scheduling.k8s.io/v1kind: PriorityClassListmetadata (ListMeta)Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]PriorityClass), requireditems is the list of PriorityClassesOperationsget read the specified PriorityClassHTTP RequestGET /apis/scheduling.k8s.io/v1/priorityclasses/{name}Parametersname (in path): string, requiredname of the PriorityClasspretty (in query): stringprettyResponse200 (PriorityClass): OK401: Unauthorizedlist list or watch objects of kind PriorityClassHTTP RequestGET /apis/scheduling.k8s.io/v1/priorityclassesParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (PriorityClassList): OK401: Unauthorizedcreate create a PriorityClassHTTP RequestPOST /apis/scheduling.k8s.io/v1/priorityclassesParametersbody: PriorityClass, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (PriorityClass): OK201 (PriorityClass): Created202 (Prio",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_qa_15300"
  },
  {
    "question": "How does PriorityClass work?",
    "answer": "PriorityClassPriorityClass defines mapping from a priority class name to the priority integer value.apiVersion: scheduling.k8s.io/v1import \"k8s.io/api/scheduling/v1\"PriorityClassPriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.apiVersion: scheduling.k8s.io/v1kind: PriorityClassmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatavalue (int32), requiredvalue represents the integer value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.description (string)description is an arbitrary string that usually provides guidelines on when this priority class should be used.globalDefault (boolean)globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as globalDefault. However, if more than one PriorityClasses exists with their globalDefault field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.preemptionPolicy (string)preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.PriorityClassListPriorityClassList is a collection of priority classes.apiVersion: scheduling.k8s.io/v1kind: PriorityClassListmetadata (ListMeta)Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]PriorityClass), requireditems is the list of PriorityClassesOperationsget read the specified PriorityClassHTTP RequestGET /apis/scheduling.k8s.io/v1/priorityclasses/{name}Parametersname (in path): string, requiredname of the PriorityClasspretty (in query): stringprettyResponse200 (PriorityClass): OK401: Unauthorizedlist list or watch objects of kind PriorityClassHTTP RequestGET /apis/scheduling.k8s.io/v1/priorityclassesParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (PriorityClassList): OK401: Unauthorizedcreate create a PriorityClassHTTP RequestPOST /apis/scheduling.k8s.io/v1/priorityclassesParametersbody: PriorityClass, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (PriorityClass): OK201 (PriorityClass): Created202 (Prio",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_qa_15301"
  },
  {
    "question": "When would you use PriorityClass?",
    "answer": "PriorityClassPriorityClass defines mapping from a priority class name to the priority integer value.apiVersion: scheduling.k8s.io/v1import \"k8s.io/api/scheduling/v1\"PriorityClassPriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.apiVersion: scheduling.k8s.io/v1kind: PriorityClassmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatavalue (int32), requiredvalue represents the integer value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.description (string)description is an arbitrary string that usually provides guidelines on when this priority class should be used.globalDefault (boolean)globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as globalDefault. However, if more than one PriorityClasses exists with their globalDefault field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.preemptionPolicy (string)preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.PriorityClassListPriorityClassList is a collection of priority classes.apiVersion: scheduling.k8s.io/v1kind: PriorityClassListmetadata (ListMeta)Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]PriorityClass), requireditems is the list of PriorityClassesOperationsget read the specified PriorityClassHTTP RequestGET /apis/scheduling.k8s.io/v1/priorityclasses/{name}Parametersname (in path): string, requiredname of the PriorityClasspretty (in query): stringprettyResponse200 (PriorityClass): OK401: Unauthorizedlist list or watch objects of kind PriorityClassHTTP RequestGET /apis/scheduling.k8s.io/v1/priorityclassesParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (PriorityClassList): OK401: Unauthorizedcreate create a PriorityClassHTTP RequestPOST /apis/scheduling.k8s.io/v1/priorityclassesParametersbody: PriorityClass, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (PriorityClass): OK201 (PriorityClass): Created202 (Prio",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_qa_15302"
  },
  {
    "question": "What are the benefits of PriorityClass?",
    "answer": "PriorityClassPriorityClass defines mapping from a priority class name to the priority integer value.apiVersion: scheduling.k8s.io/v1import \"k8s.io/api/scheduling/v1\"PriorityClassPriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.apiVersion: scheduling.k8s.io/v1kind: PriorityClassmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatavalue (int32), requiredvalue represents the integer value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.description (string)description is an arbitrary string that usually provides guidelines on when this priority class should be used.globalDefault (boolean)globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as globalDefault. However, if more than one PriorityClasses exists with their globalDefault field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.preemptionPolicy (string)preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.PriorityClassListPriorityClassList is a collection of priority classes.apiVersion: scheduling.k8s.io/v1kind: PriorityClassListmetadata (ListMeta)Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]PriorityClass), requireditems is the list of PriorityClassesOperationsget read the specified PriorityClassHTTP RequestGET /apis/scheduling.k8s.io/v1/priorityclasses/{name}Parametersname (in path): string, requiredname of the PriorityClasspretty (in query): stringprettyResponse200 (PriorityClass): OK401: Unauthorizedlist list or watch objects of kind PriorityClassHTTP RequestGET /apis/scheduling.k8s.io/v1/priorityclassesParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (PriorityClassList): OK401: Unauthorizedcreate create a PriorityClassHTTP RequestPOST /apis/scheduling.k8s.io/v1/priorityclassesParametersbody: PriorityClass, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (PriorityClass): OK201 (PriorityClass): Created202 (Prio",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_qa_15303"
  },
  {
    "question": "What is PriorityClass?",
    "answer": "a p i V e r s i o n :   s c h e d u l i n g . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / s c h e d u l i n g / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_section_1_15304"
  },
  {
    "question": "What is PriorityClass?",
    "answer": "P r i o r i t y C l a s s   d e f i n e s   m a p p i n g   f r o m   a   p r i o r i t y   c l a s s   n a m e   t o   t h e   p r i o r i t y   i n t e g e r   v a l u e .   T h e   v a l u e   c a n   b e   a n y   v a l i d   i n t e g e r .   a p i V e r s i o n :   s c h e d u l i n g . k 8 s . i o / v 1 k i n d :   P r i o r i t y C l a s s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a v a l u e   ( i n t 3 2 ) ,   r e q u i r e d v a l u e   r e p r e s e n t s   t h e   i n t e g e r   v a l u e   o f   t h i s   p r i o r i t y   c l a s s .   T h i s   i s   t h e   a c t u a l   p r i o r i t y   t h a t   p o d s   r e c e i v e   w h e n   t h e y   h a v e   t h e   n a m e   o f   t h i s   c l a s s   i n   t h e i r   p o d   s p e c . d e s c r i p t i o n   ( s t r i n g ) d e s c r i p t i o n   i s   a n   a r b i t r a r y   s t r i n g   t h a t   u s u a l l y   p r o v i d e s   g u i d e l i n e s   o n   w h e n   t h i s   p r i o r i t y   c l a s s   s h o u l d   b e   u s e d . g l o b a l D e f a u l t   ( b o o l e a n ) g l o b a l D e f a u l t   s p e c i f i e s   w h e t h e r   t h i s   P r i o r i t y C l a s s   s h o u l d   b e   c o n s i d e r e d   a s   t h e   d e f a u l t   p r i o r i t y   f o r   p o d s   t h a t   d o   n o t   h a v e   a n y   p r i o r i t y   c l a s s .   O n l y   o n e   P r i o r i t y C l a s s   c a n   b e   m a r k e d   a s   g l o b a l D e f a u l t .   H o w e v e r ,   i f   m o r e   t h a n   o n e   P r i o r i t y C l a s s e s   e x i s t s   w i t h   t h e i r   g l o b a l D e f a u l t   f i e l d   s e t   t o   t r u e ,   t h e   s m a l l e s t   v a l u e   o f   s u c h   g l o b a l   d e f a u l t   P r i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_section_2_15305"
  },
  {
    "question": "What is PriorityClassList?",
    "answer": "P r i o r i t y C l a s s L i s t   i s   a   c o l l e c t i o n   o f   p r i o r i t y   c l a s s e s .   a p i V e r s i o n :   s c h e d u l i n g . k 8 s . i o / v 1 k i n d :   P r i o r i t y C l a s s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] P r i o r i t y C l a s s ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   P r i o r i t y C l a s s e s   a p i V e r s i o n :   s c h e d u l i n g . k 8 s . i o / v 1   k i n d :   P r i o r i t y C l a s s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] P r i o r i t y C l a s s ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   P r i o r i t y C l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_section_2_15306"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_section_4_15307"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y C l a s s p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y C l a s s   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_section_4_15308"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y C l a s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_section_4_15309"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_section_4_15310"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_section_4_15311"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y C l a s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_section_4_15312"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_section_4_15313"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   P r i o r i t y C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   P r i o r i t y C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_section_4_15314"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y C l a s s ) :   O K   2 0 1   ( P r i o r i t y C l a s s ) :   C r e a t e d   2 0 2   ( P r i o r i t y C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_section_4_15315"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_section_4_15316"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y C l a s s b o d y :   P r i o r i t y C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y C l a s s   b o d y :   P r i o r i t y C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_section_4_15317"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y C l a s s ) :   O K   2 0 1   ( P r i o r i t y C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_section_4_15318"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_section_4_15319"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y C l a s s b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y C l a s s   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_section_4_15320"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y C l a s s ) :   O K   2 0 1   ( P r i o r i t y C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_section_4_15321"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_section_4_15322"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y C l a s s b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y C l a s s   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_section_4_15323"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_section_4_15324"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_section_4_15325"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_section_4_15326"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/priority-class-v1/",
    "id": "k8s_00691_section_4_15327"
  },
  {
    "question": "What is kubeadm version?",
    "answer": "kubeadm versionThis command prints the version of kubeadm.SynopsisPrint the version of kubeadmkubeadm version [flags] Options-h, --helphelp for version-o, --output stringOutput format; available options are 'yaml', 'json' and 'short'Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-version/",
    "id": "k8s_00692_qa_15328"
  },
  {
    "question": "How does kubeadm version work?",
    "answer": "kubeadm versionThis command prints the version of kubeadm.SynopsisPrint the version of kubeadmkubeadm version [flags] Options-h, --helphelp for version-o, --output stringOutput format; available options are 'yaml', 'json' and 'short'Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-version/",
    "id": "k8s_00692_qa_15329"
  },
  {
    "question": "When would you use kubeadm version?",
    "answer": "kubeadm versionThis command prints the version of kubeadm.SynopsisPrint the version of kubeadmkubeadm version [flags] Options-h, --helphelp for version-o, --output stringOutput format; available options are 'yaml', 'json' and 'short'Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-version/",
    "id": "k8s_00692_qa_15330"
  },
  {
    "question": "What are the benefits of kubeadm version?",
    "answer": "kubeadm versionThis command prints the version of kubeadm.SynopsisPrint the version of kubeadmkubeadm version [flags] Options-h, --helphelp for version-o, --output stringOutput format; available options are 'yaml', 'json' and 'short'Options inherited from parent commands--rootfs stringThe path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-version/",
    "id": "k8s_00692_qa_15331"
  },
  {
    "question": "What is kubeadm version?",
    "answer": "T h i s   c o m m a n d   p r i n t s   t h e   v e r s i o n   o f   k u b e a d m .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-version/",
    "id": "k8s_00692_section_1_15332"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r i n t   t h e   v e r s i o n   o f   k u b e a d m   k u b e a d m   v e r s i o n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-version/",
    "id": "k8s_00692_section_3_15333"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   v e r s i o n   O u t p u t   f o r m a t ;   a v a i l a b l e   o p t i o n s   a r e   ' y a m l ' ,   ' j s o n '   a n d   ' s h o r t '",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-version/",
    "id": "k8s_00692_section_3_15334"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-version/",
    "id": "k8s_00692_section_3_15335"
  },
  {
    "question": "What is Cluster Networking?",
    "answer": "Cluster NetworkingNetworking is a central part of Kubernetes, but it can be challenging to understand exactly how it is expected to work. There are 4 distinct networking problems to address:Highly-coupled container-to-container communications: this is solved by Pods and localhost communications.Pod-to-Pod communications: this is the primary focus of this document.Pod-to-Service communications: this is covered by Services.External-to-Service communications: this is also covered by Services.Kubernetes is all about sharing machines among applications. Typically, sharing machines requires ensuring that two applications do not try to use the same ports. Coordinating ports across multiple developers is very difficult to do at scale and exposes users to cluster-level issues outside of their control.Dynamic port allocation brings a lot of complications to the system - every application has to take ports as flags, the API servers have to know how to insert dynamic port numbers into configuration blocks, services have to know how to find each other, etc. Rather than deal with this, Kubernetes takes a different approach.To learn about the Kubernetes networking model, see here.Kubernetes IP address rangesKubernetes clusters require to allocate non-overlapping IP addresses for Pods, Services and Nodes, from a range of available addresses configured in the following components:The network plugin is configured to assign IP addresses to Pods.The kube-apiserver is configured to assign IP addresses to Services.The kubelet or the cloud-controller-manager is configured to assign IP addresses to Nodes.Cluster networking typesKubernetes clusters, attending to the IP families configured, can be categorized into:IPv4 only: The network plugin, kube-apiserver and kubelet/cloud-controller-manager are configured to assign only IPv4 addresses.IPv6 only: The network plugin, kube-apiserver and kubelet/cloud-controller-manager are configured to assign only IPv6 addresses.IPv4/IPv6 or IPv6/IPv4 dual-stack:The network plugin is configured to assign IPv4 and IPv6 addresses.The kube-apiserver is configured to assign IPv4 and IPv6 addresses.The kubelet or cloud-controller-manager is configured to assign IPv4 and IPv6 address.All components must agree on the configured primary IP family.Kubernetes clusters only consider the IP families present on the Pods, Services and Nodes objects, independently of the existing IPs of the represented objects. Per example, a server or a pod can have multiple IP addresses on its interfaces, but only the IP addresses in node.status.addresses or pod.status.ips are considered for implementing the Kubernetes network model and defining the type of the cluster.How to implement the Kubernetes network modelThe network model is implemented by the container runtime on each node. The most common container runtimes use Container Network Interface (CNI) plugins to manage their network and security capabilities. Many different CNI plugins exist from many different",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/networking/",
    "id": "k8s_00693_qa_15336"
  },
  {
    "question": "How does Cluster Networking work?",
    "answer": "Cluster NetworkingNetworking is a central part of Kubernetes, but it can be challenging to understand exactly how it is expected to work. There are 4 distinct networking problems to address:Highly-coupled container-to-container communications: this is solved by Pods and localhost communications.Pod-to-Pod communications: this is the primary focus of this document.Pod-to-Service communications: this is covered by Services.External-to-Service communications: this is also covered by Services.Kubernetes is all about sharing machines among applications. Typically, sharing machines requires ensuring that two applications do not try to use the same ports. Coordinating ports across multiple developers is very difficult to do at scale and exposes users to cluster-level issues outside of their control.Dynamic port allocation brings a lot of complications to the system - every application has to take ports as flags, the API servers have to know how to insert dynamic port numbers into configuration blocks, services have to know how to find each other, etc. Rather than deal with this, Kubernetes takes a different approach.To learn about the Kubernetes networking model, see here.Kubernetes IP address rangesKubernetes clusters require to allocate non-overlapping IP addresses for Pods, Services and Nodes, from a range of available addresses configured in the following components:The network plugin is configured to assign IP addresses to Pods.The kube-apiserver is configured to assign IP addresses to Services.The kubelet or the cloud-controller-manager is configured to assign IP addresses to Nodes.Cluster networking typesKubernetes clusters, attending to the IP families configured, can be categorized into:IPv4 only: The network plugin, kube-apiserver and kubelet/cloud-controller-manager are configured to assign only IPv4 addresses.IPv6 only: The network plugin, kube-apiserver and kubelet/cloud-controller-manager are configured to assign only IPv6 addresses.IPv4/IPv6 or IPv6/IPv4 dual-stack:The network plugin is configured to assign IPv4 and IPv6 addresses.The kube-apiserver is configured to assign IPv4 and IPv6 addresses.The kubelet or cloud-controller-manager is configured to assign IPv4 and IPv6 address.All components must agree on the configured primary IP family.Kubernetes clusters only consider the IP families present on the Pods, Services and Nodes objects, independently of the existing IPs of the represented objects. Per example, a server or a pod can have multiple IP addresses on its interfaces, but only the IP addresses in node.status.addresses or pod.status.ips are considered for implementing the Kubernetes network model and defining the type of the cluster.How to implement the Kubernetes network modelThe network model is implemented by the container runtime on each node. The most common container runtimes use Container Network Interface (CNI) plugins to manage their network and security capabilities. Many different CNI plugins exist from many different",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/networking/",
    "id": "k8s_00693_qa_15337"
  },
  {
    "question": "When would you use Cluster Networking?",
    "answer": "Cluster NetworkingNetworking is a central part of Kubernetes, but it can be challenging to understand exactly how it is expected to work. There are 4 distinct networking problems to address:Highly-coupled container-to-container communications: this is solved by Pods and localhost communications.Pod-to-Pod communications: this is the primary focus of this document.Pod-to-Service communications: this is covered by Services.External-to-Service communications: this is also covered by Services.Kubernetes is all about sharing machines among applications. Typically, sharing machines requires ensuring that two applications do not try to use the same ports. Coordinating ports across multiple developers is very difficult to do at scale and exposes users to cluster-level issues outside of their control.Dynamic port allocation brings a lot of complications to the system - every application has to take ports as flags, the API servers have to know how to insert dynamic port numbers into configuration blocks, services have to know how to find each other, etc. Rather than deal with this, Kubernetes takes a different approach.To learn about the Kubernetes networking model, see here.Kubernetes IP address rangesKubernetes clusters require to allocate non-overlapping IP addresses for Pods, Services and Nodes, from a range of available addresses configured in the following components:The network plugin is configured to assign IP addresses to Pods.The kube-apiserver is configured to assign IP addresses to Services.The kubelet or the cloud-controller-manager is configured to assign IP addresses to Nodes.Cluster networking typesKubernetes clusters, attending to the IP families configured, can be categorized into:IPv4 only: The network plugin, kube-apiserver and kubelet/cloud-controller-manager are configured to assign only IPv4 addresses.IPv6 only: The network plugin, kube-apiserver and kubelet/cloud-controller-manager are configured to assign only IPv6 addresses.IPv4/IPv6 or IPv6/IPv4 dual-stack:The network plugin is configured to assign IPv4 and IPv6 addresses.The kube-apiserver is configured to assign IPv4 and IPv6 addresses.The kubelet or cloud-controller-manager is configured to assign IPv4 and IPv6 address.All components must agree on the configured primary IP family.Kubernetes clusters only consider the IP families present on the Pods, Services and Nodes objects, independently of the existing IPs of the represented objects. Per example, a server or a pod can have multiple IP addresses on its interfaces, but only the IP addresses in node.status.addresses or pod.status.ips are considered for implementing the Kubernetes network model and defining the type of the cluster.How to implement the Kubernetes network modelThe network model is implemented by the container runtime on each node. The most common container runtimes use Container Network Interface (CNI) plugins to manage their network and security capabilities. Many different CNI plugins exist from many different",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/networking/",
    "id": "k8s_00693_qa_15338"
  },
  {
    "question": "What are the benefits of Cluster Networking?",
    "answer": "Cluster NetworkingNetworking is a central part of Kubernetes, but it can be challenging to understand exactly how it is expected to work. There are 4 distinct networking problems to address:Highly-coupled container-to-container communications: this is solved by Pods and localhost communications.Pod-to-Pod communications: this is the primary focus of this document.Pod-to-Service communications: this is covered by Services.External-to-Service communications: this is also covered by Services.Kubernetes is all about sharing machines among applications. Typically, sharing machines requires ensuring that two applications do not try to use the same ports. Coordinating ports across multiple developers is very difficult to do at scale and exposes users to cluster-level issues outside of their control.Dynamic port allocation brings a lot of complications to the system - every application has to take ports as flags, the API servers have to know how to insert dynamic port numbers into configuration blocks, services have to know how to find each other, etc. Rather than deal with this, Kubernetes takes a different approach.To learn about the Kubernetes networking model, see here.Kubernetes IP address rangesKubernetes clusters require to allocate non-overlapping IP addresses for Pods, Services and Nodes, from a range of available addresses configured in the following components:The network plugin is configured to assign IP addresses to Pods.The kube-apiserver is configured to assign IP addresses to Services.The kubelet or the cloud-controller-manager is configured to assign IP addresses to Nodes.Cluster networking typesKubernetes clusters, attending to the IP families configured, can be categorized into:IPv4 only: The network plugin, kube-apiserver and kubelet/cloud-controller-manager are configured to assign only IPv4 addresses.IPv6 only: The network plugin, kube-apiserver and kubelet/cloud-controller-manager are configured to assign only IPv6 addresses.IPv4/IPv6 or IPv6/IPv4 dual-stack:The network plugin is configured to assign IPv4 and IPv6 addresses.The kube-apiserver is configured to assign IPv4 and IPv6 addresses.The kubelet or cloud-controller-manager is configured to assign IPv4 and IPv6 address.All components must agree on the configured primary IP family.Kubernetes clusters only consider the IP families present on the Pods, Services and Nodes objects, independently of the existing IPs of the represented objects. Per example, a server or a pod can have multiple IP addresses on its interfaces, but only the IP addresses in node.status.addresses or pod.status.ips are considered for implementing the Kubernetes network model and defining the type of the cluster.How to implement the Kubernetes network modelThe network model is implemented by the container runtime on each node. The most common container runtimes use Container Network Interface (CNI) plugins to manage their network and security capabilities. Many different CNI plugins exist from many different",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/networking/",
    "id": "k8s_00693_qa_15339"
  },
  {
    "question": "What is Cluster Networking?",
    "answer": "N e t w o r k i n g   i s   a   c e n t r a l   p a r t   o f   K u b e r n e t e s ,   b u t   i t   c a n   b e   c h a l l e n g i n g   t o   u n d e r s t a n d   e x a c t l y   h o w   i t   i s   e x p e c t e d   t o   w o r k .   T h e r e   a r e   4   d i s t i n c t   n e t w o r k i n g   p r o b l e m s   t o   a d d r e s s :   H i g h l y - c o u p l e d   c o n t a i n e r - t o - c o n t a i n e r   c o m m u n i c a t i o n s :   t h i s   i s   s o l v e d   b y   P o d s   a n d   l o c a l h o s t   c o m m u n i c a t i o n s . P o d - t o - P o d   c o m m u n i c a t i o n s :   t h i s   i s   t h e   p r i m a r y   f o c u s   o f   t h i s   d o c u m e n t . P o d - t o - S e r v i c e   c o m m u n i c a t i o n s :   t h i s   i s   c o v e r e d   b y   S e r v i c e s . E x t e r n a l - t o - S e r v i c e   c o m m u n i c a t i o n s :   t h i s   i s   a l s o   c o v e r e d   b y   S e r v i c e s .   K u b e r n e t e s   i s   a l l   a b o u t   s h a r i n g   m a c h i n e s   a m o n g   a p p l i c a t i o n s .   T y p i c a l l y ,   s h a r i n g   m a c h i n e s   r e q u i r e s   e n s u r i n g   t h a t   t w o   a p p l i c a t i o n s   d o   n o t   t r y   t o   u s e   t h e   s a m e   p o r t s .   C o o r d i n a t i n g   p o r t s   a c r o s s   m u l t i p l e   d e v e l o p e r s   i s   v e r y   d i f f i c u l t   t o   d o   a t   s c a l e   a n d   e x p o s e s   u s e r s   t o   c l u s t e r - l e v e l   i s s u e s   o u t s i d e   o f   t h e i r   c o n t r o l .   D y n a m i c   p o r t   a l l o c a t i o n   b r i n g s   a   l o t   o f   c o m p l i c a t i o n s   t o   t h e   s y s t e m   -   e v e r y   a p p l i c a t i o n   h a s   t o   t a k e   p o r t s   a s   f l a g s ,   t h e   A P I   s e r v e r s   h a v e   t o   k n o w   h o w   t o   i n s e r t   d y n a m i c   p o r t   n u m b e r s   i n t o   c o n f i g u r a t i o n   b l o c k s ,   s e r v i ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/networking/",
    "id": "k8s_00693_section_1_15340"
  },
  {
    "question": "What is Kubernetes IP address ranges?",
    "answer": "K u b e r n e t e s   c l u s t e r s   r e q u i r e   t o   a l l o c a t e   n o n - o v e r l a p p i n g   I P   a d d r e s s e s   f o r   P o d s ,   S e r v i c e s   a n d   N o d e s ,   f r o m   a   r a n g e   o f   a v a i l a b l e   a d d r e s s e s   c o n f i g u r e d   i n   t h e   f o l l o w i n g   c o m p o n e n t s :   T h e   n e t w o r k   p l u g i n   i s   c o n f i g u r e d   t o   a s s i g n   I P   a d d r e s s e s   t o   P o d s . T h e   k u b e - a p i s e r v e r   i s   c o n f i g u r e d   t o   a s s i g n   I P   a d d r e s s e s   t o   S e r v i c e s . T h e   k u b e l e t   o r   t h e   c l o u d - c o n t r o l l e r - m a n a g e r   i s   c o n f i g u r e d   t o   a s s i g n   I P   a d d r e s s e s   t o   N o d e s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/networking/",
    "id": "k8s_00693_section_2_15341"
  },
  {
    "question": "What is Cluster networking types?",
    "answer": "K u b e r n e t e s   c l u s t e r s ,   a t t e n d i n g   t o   t h e   I P   f a m i l i e s   c o n f i g u r e d ,   c a n   b e   c a t e g o r i z e d   i n t o :   I P v 4   o n l y :   T h e   n e t w o r k   p l u g i n ,   k u b e - a p i s e r v e r   a n d   k u b e l e t / c l o u d - c o n t r o l l e r - m a n a g e r   a r e   c o n f i g u r e d   t o   a s s i g n   o n l y   I P v 4   a d d r e s s e s . I P v 6   o n l y :   T h e   n e t w o r k   p l u g i n ,   k u b e - a p i s e r v e r   a n d   k u b e l e t / c l o u d - c o n t r o l l e r - m a n a g e r   a r e   c o n f i g u r e d   t o   a s s i g n   o n l y   I P v 6   a d d r e s s e s . I P v 4 / I P v 6   o r   I P v 6 / I P v 4   d u a l - s t a c k : T h e   n e t w o r k   p l u g i n   i s   c o n f i g u r e d   t o   a s s i g n   I P v 4   a n d   I P v 6   a d d r e s s e s . T h e   k u b e - a p i s e r v e r   i s   c o n f i g u r e d   t o   a s s i g n   I P v 4   a n d   I P v 6   a d d r e s s e s . T h e   k u b e l e t   o r   c l o u d - c o n t r o l l e r - m a n a g e r   i s   c o n f i g u r e d   t o   a s s i g n   I P v 4   a n d   I P v 6   a d d r e s s . A l l   c o m p o n e n t s   m u s t   a g r e e   o n   t h e   c o n f i g u r e d   p r i m a r y   I P   f a m i l y .   T h e   n e t w o r k   p l u g i n   i s   c o n f i g u r e d   t o   a s s i g n   I P v 4   a n d   I P v 6   a d d r e s s e s . T h e   k u b e - a p i s e r v e r   i s   c o n f i g u r e d   t o   a s s i g n   I P v 4   a n d   I P v 6   a d d r e s s e s . T h e   k u b e l e t   o r   c l o u d - c o n t r o l l e r - m a n a g e r   i s   c o n f i g u r e d   t o   a s s i g n   I P v 4   a n d   I P v 6   a d d r e s s . A l l   c o m p o n e n t s   m u s t   a g r e e   o n   t h e   c o n f i g u r e d   p r i m a r y   I P   f a m i l y .   K u b e r n e t e s   c l u s t e r s   o n l y   c o n s i d e r   t h e   I P   f a m i l i e s   p r e s e n t ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/networking/",
    "id": "k8s_00693_section_2_15342"
  },
  {
    "question": "What is How to implement the Kubernetes network model?",
    "answer": "T h e   n e t w o r k   m o d e l   i s   i m p l e m e n t e d   b y   t h e   c o n t a i n e r   r u n t i m e   o n   e a c h   n o d e .   T h e   m o s t   c o m m o n   c o n t a i n e r   r u n t i m e s   u s e   C o n t a i n e r   N e t w o r k   I n t e r f a c e   ( C N I )   p l u g i n s   t o   m a n a g e   t h e i r   n e t w o r k   a n d   s e c u r i t y   c a p a b i l i t i e s .   M a n y   d i f f e r e n t   C N I   p l u g i n s   e x i s t   f r o m   m a n y   d i f f e r e n t   v e n d o r s .   S o m e   o f   t h e s e   p r o v i d e   o n l y   b a s i c   f e a t u r e s   o f   a d d i n g   a n d   r e m o v i n g   n e t w o r k   i n t e r f a c e s ,   w h i l e   o t h e r s   p r o v i d e   m o r e   s o p h i s t i c a t e d   s o l u t i o n s ,   s u c h   a s   i n t e g r a t i o n   w i t h   o t h e r   c o n t a i n e r   o r c h e s t r a t i o n   s y s t e m s ,   r u n n i n g   m u l t i p l e   C N I   p l u g i n s ,   a d v a n c e d   I P A M   f e a t u r e s   e t c .   S e e   t h i s   p a g e   f o r   a   n o n - e x h a u s t i v e   l i s t   o f   n e t w o r k i n g   a d d o n s   s u p p o r t e d   b y   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/networking/",
    "id": "k8s_00693_section_2_15343"
  },
  {
    "question": "What is What's next?",
    "answer": "T h e   e a r l y   d e s i g n   o f   t h e   n e t w o r k i n g   m o d e l   a n d   i t s   r a t i o n a l e   a r e   d e s c r i b e d   i n   m o r e   d e t a i l   i n   t h e   n e t w o r k i n g   d e s i g n   d o c u m e n t .   F o r   f u t u r e   p l a n s   a n d   s o m e   o n - g o i n g   e f f o r t s   t h a t   a i m   t o   i m p r o v e   K u b e r n e t e s   n e t w o r k i n g ,   p l e a s e   r e f e r   t o   t h e   S I G - N e t w o r k   K E P s .",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/networking/",
    "id": "k8s_00693_section_2_15344"
  },
  {
    "question": "What is Pods?",
    "answer": "PodsPods are the smallest deployable units of computing that you can create and manage in Kubernetes.A Pod (as in a pod of whales or pea pod) is a group of one or more containers, with shared storage and network resources, and a specification for how to run the containers. A Pod's contents are always co-located and co-scheduled, and run in a shared context. A Pod models an application-specific \"logical host\": it contains one or more application containers which are relatively tightly coupled. In non-cloud contexts, applications executed on the same physical or virtual machine are analogous to cloud applications executed on the same logical host.As well as application containers, a Pod can contain init containers that run during Pod startup. You can also inject ephemeral containers for debugging a running Pod.What is a Pod?Note:You need to install a container runtime into each node in the cluster so that Pods can run there.The shared context of a Pod is a set of Linux namespaces, cgroups, and potentially other facets of isolation - the same things that isolate a container. Within a Pod's context, the individual applications may have further sub-isolations applied.A Pod is similar to a set of containers with shared namespaces and shared filesystem volumes.Pods in a Kubernetes cluster are used in two main ways:Pods that run a single container. The \"one-container-per-Pod\" model is the most common Kubernetes use case; in this case, you can think of a Pod as a wrapper around a single container; Kubernetes manages Pods rather than managing the containers directly.Pods that run multiple containers that need to work together. A Pod can encapsulate an application composed of multiple co-located containers that are tightly coupled and need to share resources. These co-located containers form a single cohesive unit.Grouping multiple co-located and co-managed containers in a single Pod is a relatively advanced use case. You should use this pattern only in specific instances in which your containers are tightly coupled.You don't need to run multiple containers to provide replication (for resilience or capacity); if you need multiple replicas, see Workload management.Using PodsThe following is an example of a Pod which consists of a container running the image nginx:1.14.2.pods/simple-pod.yaml apiVersion: v1 kind: Pod metadata: name: nginx spec: containers: - name: nginx image: nginx:1.14.2 ports: - containerPort: 80 To create the Pod shown above, run the following command:kubectl apply -f https://k8s.io/examples/pods/simple-pod.yaml Pods are generally not created directly and are created using workload resources. See Working with Pods for more information on how Pods are used with workload resources.Workload resources for managing podsUsually you don't need to create Pods directly, even singleton Pods. Instead, create them using workload resources such as Deployment or Job. If your Pods need to track state, consider the StatefulSet resource.Each Pod is meant t",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_qa_15345"
  },
  {
    "question": "How does Pods work?",
    "answer": "PodsPods are the smallest deployable units of computing that you can create and manage in Kubernetes.A Pod (as in a pod of whales or pea pod) is a group of one or more containers, with shared storage and network resources, and a specification for how to run the containers. A Pod's contents are always co-located and co-scheduled, and run in a shared context. A Pod models an application-specific \"logical host\": it contains one or more application containers which are relatively tightly coupled. In non-cloud contexts, applications executed on the same physical or virtual machine are analogous to cloud applications executed on the same logical host.As well as application containers, a Pod can contain init containers that run during Pod startup. You can also inject ephemeral containers for debugging a running Pod.What is a Pod?Note:You need to install a container runtime into each node in the cluster so that Pods can run there.The shared context of a Pod is a set of Linux namespaces, cgroups, and potentially other facets of isolation - the same things that isolate a container. Within a Pod's context, the individual applications may have further sub-isolations applied.A Pod is similar to a set of containers with shared namespaces and shared filesystem volumes.Pods in a Kubernetes cluster are used in two main ways:Pods that run a single container. The \"one-container-per-Pod\" model is the most common Kubernetes use case; in this case, you can think of a Pod as a wrapper around a single container; Kubernetes manages Pods rather than managing the containers directly.Pods that run multiple containers that need to work together. A Pod can encapsulate an application composed of multiple co-located containers that are tightly coupled and need to share resources. These co-located containers form a single cohesive unit.Grouping multiple co-located and co-managed containers in a single Pod is a relatively advanced use case. You should use this pattern only in specific instances in which your containers are tightly coupled.You don't need to run multiple containers to provide replication (for resilience or capacity); if you need multiple replicas, see Workload management.Using PodsThe following is an example of a Pod which consists of a container running the image nginx:1.14.2.pods/simple-pod.yaml apiVersion: v1 kind: Pod metadata: name: nginx spec: containers: - name: nginx image: nginx:1.14.2 ports: - containerPort: 80 To create the Pod shown above, run the following command:kubectl apply -f https://k8s.io/examples/pods/simple-pod.yaml Pods are generally not created directly and are created using workload resources. See Working with Pods for more information on how Pods are used with workload resources.Workload resources for managing podsUsually you don't need to create Pods directly, even singleton Pods. Instead, create them using workload resources such as Deployment or Job. If your Pods need to track state, consider the StatefulSet resource.Each Pod is meant t",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_qa_15346"
  },
  {
    "question": "When would you use Pods?",
    "answer": "PodsPods are the smallest deployable units of computing that you can create and manage in Kubernetes.A Pod (as in a pod of whales or pea pod) is a group of one or more containers, with shared storage and network resources, and a specification for how to run the containers. A Pod's contents are always co-located and co-scheduled, and run in a shared context. A Pod models an application-specific \"logical host\": it contains one or more application containers which are relatively tightly coupled. In non-cloud contexts, applications executed on the same physical or virtual machine are analogous to cloud applications executed on the same logical host.As well as application containers, a Pod can contain init containers that run during Pod startup. You can also inject ephemeral containers for debugging a running Pod.What is a Pod?Note:You need to install a container runtime into each node in the cluster so that Pods can run there.The shared context of a Pod is a set of Linux namespaces, cgroups, and potentially other facets of isolation - the same things that isolate a container. Within a Pod's context, the individual applications may have further sub-isolations applied.A Pod is similar to a set of containers with shared namespaces and shared filesystem volumes.Pods in a Kubernetes cluster are used in two main ways:Pods that run a single container. The \"one-container-per-Pod\" model is the most common Kubernetes use case; in this case, you can think of a Pod as a wrapper around a single container; Kubernetes manages Pods rather than managing the containers directly.Pods that run multiple containers that need to work together. A Pod can encapsulate an application composed of multiple co-located containers that are tightly coupled and need to share resources. These co-located containers form a single cohesive unit.Grouping multiple co-located and co-managed containers in a single Pod is a relatively advanced use case. You should use this pattern only in specific instances in which your containers are tightly coupled.You don't need to run multiple containers to provide replication (for resilience or capacity); if you need multiple replicas, see Workload management.Using PodsThe following is an example of a Pod which consists of a container running the image nginx:1.14.2.pods/simple-pod.yaml apiVersion: v1 kind: Pod metadata: name: nginx spec: containers: - name: nginx image: nginx:1.14.2 ports: - containerPort: 80 To create the Pod shown above, run the following command:kubectl apply -f https://k8s.io/examples/pods/simple-pod.yaml Pods are generally not created directly and are created using workload resources. See Working with Pods for more information on how Pods are used with workload resources.Workload resources for managing podsUsually you don't need to create Pods directly, even singleton Pods. Instead, create them using workload resources such as Deployment or Job. If your Pods need to track state, consider the StatefulSet resource.Each Pod is meant t",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_qa_15347"
  },
  {
    "question": "What are the benefits of Pods?",
    "answer": "PodsPods are the smallest deployable units of computing that you can create and manage in Kubernetes.A Pod (as in a pod of whales or pea pod) is a group of one or more containers, with shared storage and network resources, and a specification for how to run the containers. A Pod's contents are always co-located and co-scheduled, and run in a shared context. A Pod models an application-specific \"logical host\": it contains one or more application containers which are relatively tightly coupled. In non-cloud contexts, applications executed on the same physical or virtual machine are analogous to cloud applications executed on the same logical host.As well as application containers, a Pod can contain init containers that run during Pod startup. You can also inject ephemeral containers for debugging a running Pod.What is a Pod?Note:You need to install a container runtime into each node in the cluster so that Pods can run there.The shared context of a Pod is a set of Linux namespaces, cgroups, and potentially other facets of isolation - the same things that isolate a container. Within a Pod's context, the individual applications may have further sub-isolations applied.A Pod is similar to a set of containers with shared namespaces and shared filesystem volumes.Pods in a Kubernetes cluster are used in two main ways:Pods that run a single container. The \"one-container-per-Pod\" model is the most common Kubernetes use case; in this case, you can think of a Pod as a wrapper around a single container; Kubernetes manages Pods rather than managing the containers directly.Pods that run multiple containers that need to work together. A Pod can encapsulate an application composed of multiple co-located containers that are tightly coupled and need to share resources. These co-located containers form a single cohesive unit.Grouping multiple co-located and co-managed containers in a single Pod is a relatively advanced use case. You should use this pattern only in specific instances in which your containers are tightly coupled.You don't need to run multiple containers to provide replication (for resilience or capacity); if you need multiple replicas, see Workload management.Using PodsThe following is an example of a Pod which consists of a container running the image nginx:1.14.2.pods/simple-pod.yaml apiVersion: v1 kind: Pod metadata: name: nginx spec: containers: - name: nginx image: nginx:1.14.2 ports: - containerPort: 80 To create the Pod shown above, run the following command:kubectl apply -f https://k8s.io/examples/pods/simple-pod.yaml Pods are generally not created directly and are created using workload resources. See Working with Pods for more information on how Pods are used with workload resources.Workload resources for managing podsUsually you don't need to create Pods directly, even singleton Pods. Instead, create them using workload resources such as Deployment or Job. If your Pods need to track state, consider the StatefulSet resource.Each Pod is meant t",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_qa_15348"
  },
  {
    "question": "What is Pods?",
    "answer": "P o d s   a r e   t h e   s m a l l e s t   d e p l o y a b l e   u n i t s   o f   c o m p u t i n g   t h a t   y o u   c a n   c r e a t e   a n d   m a n a g e   i n   K u b e r n e t e s .   A   P o d   ( a s   i n   a   p o d   o f   w h a l e s   o r   p e a   p o d )   i s   a   g r o u p   o f   o n e   o r   m o r e   c o n t a i n e r s ,   w i t h   s h a r e d   s t o r a g e   a n d   n e t w o r k   r e s o u r c e s ,   a n d   a   s p e c i f i c a t i o n   f o r   h o w   t o   r u n   t h e   c o n t a i n e r s .   A   P o d ' s   c o n t e n t s   a r e   a l w a y s   c o - l o c a t e d   a n d   c o - s c h e d u l e d ,   a n d   r u n   i n   a   s h a r e d   c o n t e x t .   A   P o d   m o d e l s   a n   a p p l i c a t i o n - s p e c i f i c   \" l o g i c a l   h o s t \" :   i t   c o n t a i n s   o n e   o r   m o r e   a p p l i c a t i o n   c o n t a i n e r s   w h i c h   a r e   r e l a t i v e l y   t i g h t l y   c o u p l e d .   I n   n o n - c l o u d   c o n t e x t s ,   a p p l i c a t i o n s   e x e c u t e d   o n   t h e   s a m e   p h y s i c a l   o r   v i r t u a l   m a c h i n e   a r e   a n a l o g o u s   t o   c l o u d   a p p l i c a t i o n s   e x e c u t e d   o n   t h e   s a m e   l o g i c a l   h o s t .   A s   w e l l   a s   a p p l i c a t i o n   c o n t a i n e r s ,   a   P o d   c a n   c o n t a i n   i n i t   c o n t a i n e r s   t h a t   r u n   d u r i n g   P o d   s t a r t u p .   Y o u   c a n   a l s o   i n j e c t   e p h e m e r a l   c o n t a i n e r s   f o r   d e b u g g i n g   a   r u n n i n g   P o d .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_section_1_15349"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   s h a r e d   c o n t e x t   o f   a   P o d   i s   a   s e t   o f   L i n u x   n a m e s p a c e s ,   c g r o u p s ,   a n d   p o t e n t i a l l y   o t h e r   f a c e t s   o f   i s o l a t i o n   -   t h e   s a m e   t h i n g s   t h a t   i s o l a t e   a   c o n t a i n e r .   W i t h i n   a   P o d ' s   c o n t e x t ,   t h e   i n d i v i d u a l   a p p l i c a t i o n s   m a y   h a v e   f u r t h e r   s u b - i s o l a t i o n s   a p p l i e d .   A   P o d   i s   s i m i l a r   t o   a   s e t   o f   c o n t a i n e r s   w i t h   s h a r e d   n a m e s p a c e s   a n d   s h a r e d   f i l e s y s t e m   v o l u m e s .   P o d s   i n   a   K u b e r n e t e s   c l u s t e r   a r e   u s e d   i n   t w o   m a i n   w a y s :   P o d s   t h a t   r u n   a   s i n g l e   c o n t a i n e r .   T h e   \" o n e - c o n t a i n e r - p e r - P o d \"   m o d e l   i s   t h e   m o s t   c o m m o n   K u b e r n e t e s   u s e   c a s e ;   i n   t h i s   c a s e ,   y o u   c a n   t h i n k   o f   a   P o d   a s   a   w r a p p e r   a r o u n d   a   s i n g l e   c o n t a i n e r ;   K u b e r n e t e s   m a n a g e s   P o d s   r a t h e r   t h a n   m a n a g i n g   t h e   c o n t a i n e r s   d i r e c t l y . P o d s   t h a t   r u n   m u l t i p l e   c o n t a i n e r s   t h a t   n e e d   t o   w o r k   t o g e t h e r .   A   P o d   c a n   e n c a p s u l a t e   a n   a p p l i c a t i o n   c o m p o s e d   o f   m u l t i p l e   c o - l o c a t e d   c o n t a i n e r s   t h a t   a r e   t i g h t l y   c o u p l e d   a n d   n e e d   t o   s h a r e   r e s o u r c e s .   T h e s e   c o - l o c a t e d   c o n t a i n e r s   f o r m   a   s i n g l e   c o h e s i v e   u n i t . G r o u p i n g   m u l t i p l e   c o - l o c a t e d   a n d   c o - m a n a g e d   c o n t a i n e r s   i n   a   s i n g l e   P o d   i s   a   r e l a t i v e l y   a d v a n c e d   u s ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_section_4_15350"
  },
  {
    "question": "What is Using Pods?",
    "answer": "T h e   f o l l o w i n g   i s   a n   e x a m p l e   o f   a   P o d   w h i c h   c o n s i s t s   o f   a   c o n t a i n e r   r u n n i n g   t h e   i m a g e   n g i n x : 1 . 1 4 . 2 .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0   T o   c r e a t e   t h e   P o d   s h o w n   a b o v e ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s i m p l e - p o d . y a m l   P o d s   a r e   g e n e r a l l y   n o t   c r e a t e d   d i r e c t l y   a n d   a r e   c r e a t e d   u s i n g   w o r k l o a d   r e s o u r c e s .   S e e   W o r k i n g   w i t h   P o d s   f o r   m o r e   i n f o r m a t i o n   o n   h o w   P o d s   a r e   u s e d   w i t h   w o r k l o a d   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_section_2_15351"
  },
  {
    "question": "What is Workload resources for managing pods?",
    "answer": "U s u a l l y   y o u   d o n ' t   n e e d   t o   c r e a t e   P o d s   d i r e c t l y ,   e v e n   s i n g l e t o n   P o d s .   I n s t e a d ,   c r e a t e   t h e m   u s i n g   w o r k l o a d   r e s o u r c e s   s u c h   a s   D e p l o y m e n t   o r   J o b .   I f   y o u r   P o d s   n e e d   t o   t r a c k   s t a t e ,   c o n s i d e r   t h e   S t a t e f u l S e t   r e s o u r c e .   E a c h   P o d   i s   m e a n t   t o   r u n   a   s i n g l e   i n s t a n c e   o f   a   g i v e n   a p p l i c a t i o n .   I f   y o u   w a n t   t o   s c a l e   y o u r   a p p l i c a t i o n   h o r i z o n t a l l y   ( t o   p r o v i d e   m o r e   o v e r a l l   r e s o u r c e s   b y   r u n n i n g   m o r e   i n s t a n c e s ) ,   y o u   s h o u l d   u s e   m u l t i p l e   P o d s ,   o n e   f o r   e a c h   i n s t a n c e .   I n   K u b e r n e t e s ,   t h i s   i s   t y p i c a l l y   r e f e r r e d   t o   a s   r e p l i c a t i o n .   R e p l i c a t e d   P o d s   a r e   u s u a l l y   c r e a t e d   a n d   m a n a g e d   a s   a   g r o u p   b y   a   w o r k l o a d   r e s o u r c e   a n d   i t s   c o n t r o l l e r .   S e e   P o d s   a n d   c o n t r o l l e r s   f o r   m o r e   i n f o r m a t i o n   o n   h o w   K u b e r n e t e s   u s e s   w o r k l o a d   r e s o u r c e s ,   a n d   t h e i r   c o n t r o l l e r s ,   t o   i m p l e m e n t   a p p l i c a t i o n   s c a l i n g   a n d   a u t o - h e a l i n g .   P o d s   n a t i v e l y   p r o v i d e   t w o   k i n d s   o f   s h a r e d   r e s o u r c e s   f o r   t h e i r   c o n s t i t u e n t   c o n t a i n e r s :   n e t w o r k i n g   a n d   s t o r a g e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_section_3_15352"
  },
  {
    "question": "What is Working with Pods?",
    "answer": "Y o u ' l l   r a r e l y   c r e a t e   i n d i v i d u a l   P o d s   d i r e c t l y   i n   K u b e r n e t e s — e v e n   s i n g l e t o n   P o d s .   T h i s   i s   b e c a u s e   P o d s   a r e   d e s i g n e d   a s   r e l a t i v e l y   e p h e m e r a l ,   d i s p o s a b l e   e n t i t i e s .   W h e n   a   P o d   g e t s   c r e a t e d   ( d i r e c t l y   b y   y o u ,   o r   i n d i r e c t l y   b y   a   c o n t r o l l e r ) ,   t h e   n e w   P o d   i s   s c h e d u l e d   t o   r u n   o n   a   N o d e   i n   y o u r   c l u s t e r .   T h e   P o d   r e m a i n s   o n   t h a t   n o d e   u n t i l   t h e   P o d   f i n i s h e s   e x e c u t i o n ,   t h e   P o d   o b j e c t   i s   d e l e t e d ,   t h e   P o d   i s   e v i c t e d   f o r   l a c k   o f   r e s o u r c e s ,   o r   t h e   n o d e   f a i l s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_section_2_15353"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   n a m e   o f   a   P o d   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   v a l u e ,   b u t   t h i s   c a n   p r o d u c e   u n e x p e c t e d   r e s u l t s   f o r   t h e   P o d   h o s t n a m e .   F o r   b e s t   c o m p a t i b i l i t y ,   t h e   n a m e   s h o u l d   f o l l o w   t h e   m o r e   r e s t r i c t i v e   r u l e s   f o r   a   D N S   l a b e l .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_section_4_15354"
  },
  {
    "question": "What is Pod OS?",
    "answer": "Y o u   s h o u l d   s e t   t h e   . s p e c . o s . n a m e   f i e l d   t o   e i t h e r   w i n d o w s   o r   l i n u x   t o   i n d i c a t e   t h e   O S   o n   w h i c h   y o u   w a n t   t h e   p o d   t o   r u n .   T h e s e   t w o   a r e   t h e   o n l y   o p e r a t i n g   s y s t e m s   s u p p o r t e d   f o r   n o w   b y   K u b e r n e t e s .   I n   t h e   f u t u r e ,   t h i s   l i s t   m a y   b e   e x p a n d e d .   I n   K u b e r n e t e s   v 1 . 3 4 ,   t h e   v a l u e   o f   . s p e c . o s . n a m e   d o e s   n o t   a f f e c t   h o w   t h e   k u b e - s c h e d u l e r   p i c k s   a   n o d e   f o r   t h e   P o d   t o   r u n   o n .   I n   a n y   c l u s t e r   w h e r e   t h e r e   i s   m o r e   t h a n   o n e   o p e r a t i n g   s y s t e m   f o r   r u n n i n g   n o d e s ,   y o u   s h o u l d   s e t   t h e   k u b e r n e t e s . i o / o s   l a b e l   c o r r e c t l y   o n   e a c h   n o d e ,   a n d   d e f i n e   p o d s   w i t h   a   n o d e S e l e c t o r   b a s e d   o n   t h e   o p e r a t i n g   s y s t e m   l a b e l .   T h e   k u b e - s c h e d u l e r   a s s i g n s   y o u r   p o d   t o   a   n o d e   b a s e d   o n   o t h e r   c r i t e r i a   a n d   m a y   o r   m a y   n o t   s u c c e e d   i n   p i c k i n g   a   s u i t a b l e   n o d e   p l a c e m e n t   w h e r e   t h e   n o d e   O S   i s   r i g h t   f o r   t h e   c o n t a i n e r s   i n   t h a t   P o d .   T h e   P o d   s e c u r i t y   s t a n d a r d s   a l s o   u s e   t h i s   f i e l d   t o   a v o i d   e n f o r c i n g   p o l i c i e s   t h a t   a r e n ' t   r e l e v a n t   t o   t h e   o p e r a t i n g   s y s t e m .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_section_3_15355"
  },
  {
    "question": "What is Pods and controllers?",
    "answer": "Y o u   c a n   u s e   w o r k l o a d   r e s o u r c e s   t o   c r e a t e   a n d   m a n a g e   m u l t i p l e   P o d s   f o r   y o u .   A   c o n t r o l l e r   f o r   t h e   r e s o u r c e   h a n d l e s   r e p l i c a t i o n   a n d   r o l l o u t   a n d   a u t o m a t i c   h e a l i n g   i n   c a s e   o f   P o d   f a i l u r e .   F o r   e x a m p l e ,   i f   a   N o d e   f a i l s ,   a   c o n t r o l l e r   n o t i c e s   t h a t   P o d s   o n   t h a t   N o d e   h a v e   s t o p p e d   w o r k i n g   a n d   c r e a t e s   a   r e p l a c e m e n t   P o d .   T h e   s c h e d u l e r   p l a c e s   t h e   r e p l a c e m e n t   P o d   o n t o   a   h e a l t h y   N o d e .   H e r e   a r e   s o m e   e x a m p l e s   o f   w o r k l o a d   r e s o u r c e s   t h a t   m a n a g e   o n e   o r   m o r e   P o d s :   D e p l o y m e n t S t a t e f u l S e t D a e m o n S e t",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_section_3_15356"
  },
  {
    "question": "What is Pod templates?",
    "answer": "C o n t r o l l e r s   f o r   w o r k l o a d   r e s o u r c e s   c r e a t e   P o d s   f r o m   a   p o d   t e m p l a t e   a n d   m a n a g e   t h o s e   P o d s   o n   y o u r   b e h a l f .   P o d T e m p l a t e s   a r e   s p e c i f i c a t i o n s   f o r   c r e a t i n g   P o d s ,   a n d   a r e   i n c l u d e d   i n   w o r k l o a d   r e s o u r c e s   s u c h   a s   D e p l o y m e n t s ,   J o b s ,   a n d   D a e m o n S e t s .   E a c h   c o n t r o l l e r   f o r   a   w o r k l o a d   r e s o u r c e   u s e s   t h e   P o d T e m p l a t e   i n s i d e   t h e   w o r k l o a d   o b j e c t   t o   m a k e   a c t u a l   P o d s .   T h e   P o d T e m p l a t e   i s   p a r t   o f   t h e   d e s i r e d   s t a t e   o f   w h a t e v e r   w o r k l o a d   r e s o u r c e   y o u   u s e d   t o   r u n   y o u r   a p p .   W h e n   y o u   c r e a t e   a   P o d ,   y o u   c a n   i n c l u d e   e n v i r o n m e n t   v a r i a b l e s   i n   t h e   P o d   t e m p l a t e   f o r   t h e   c o n t a i n e r s   t h a t   r u n   i n   t h e   P o d .   T h e   s a m p l e   b e l o w   i s   a   m a n i f e s t   f o r   a   s i m p l e   J o b   w i t h   a   t e m p l a t e   t h a t   s t a r t s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   i n   t h a t   P o d   p r i n t s   a   m e s s a g e   t h e n   p a u s e s .   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   h e l l o   s p e c :   t e m p l a t e :   #   T h i s   i s   t h e   p o d   t e m p l a t e   s p e c :   c o n t a i n e r s :   -   n a m e :   h e l l o   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   ' e c h o   \" H e l l o ,   K u b e r n e t e s ! \"   & &   s l e e p   3 6 0 0 ' ]   r e s t a r t P o l i c y :   O n F a i l u r e   #   T h e   p o d   t e m p l a t e   e n d s   h e r e   M o d i f y i n g   t h e   p o d ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_section_3_15357"
  },
  {
    "question": "What is Pod update and replacement?",
    "answer": "A s   m e n t i o n e d   i n   t h e   p r e v i o u s   s e c t i o n ,   w h e n   t h e   P o d   t e m p l a t e   f o r   a   w o r k l o a d   r e s o u r c e   i s   c h a n g e d ,   t h e   c o n t r o l l e r   c r e a t e s   n e w   P o d s   b a s e d   o n   t h e   u p d a t e d   t e m p l a t e   i n s t e a d   o f   u p d a t i n g   o r   p a t c h i n g   t h e   e x i s t i n g   P o d s .   K u b e r n e t e s   d o e s n ' t   p r e v e n t   y o u   f r o m   m a n a g i n g   P o d s   d i r e c t l y .   I t   i s   p o s s i b l e   t o   u p d a t e   s o m e   f i e l d s   o f   a   r u n n i n g   P o d ,   i n   p l a c e .   H o w e v e r ,   P o d   u p d a t e   o p e r a t i o n s   l i k e   p a t c h ,   a n d   r e p l a c e   h a v e   s o m e   l i m i t a t i o n s :   M o s t   o f   t h e   m e t a d a t a   a b o u t   a   P o d   i s   i m m u t a b l e .   F o r   e x a m p l e ,   y o u   c a n n o t   c h a n g e   t h e   n a m e s p a c e ,   n a m e ,   u i d ,   o r   c r e a t i o n T i m e s t a m p   f i e l d s . I f   t h e   m e t a d a t a . d e l e t i o n T i m e s t a m p   i s   s e t ,   n o   n e w   e n t r y   c a n   b e   a d d e d   t o   t h e   m e t a d a t a . f i n a l i z e r s   l i s t . P o d   u p d a t e s   m a y   n o t   c h a n g e   f i e l d s   o t h e r   t h a n   s p e c . c o n t a i n e r s [ * ] . i m a g e ,   s p e c . i n i t C o n t a i n e r s [ * ] . i m a g e ,   s p e c . a c t i v e D e a d l i n e S e c o n d s ,   s p e c . t e r m i n a t i o n G r a c e P e r i o d S e c o n d s ,   s p e c . t o l e r a t i o n s   o r   s p e c . s c h e d u l i n g G a t e s .   F o r   s p e c . t o l e r a t i o n s ,   y o u   c a n   o n l y   a d d   n e w   e n t r i e s . W h e n   u p d a t i n g   t h e   s p e c . a c t i v e D e a d l i n e S e c o n d s   f i e l d ,   t w o   t y p e s   o f   u p d a t e s   a r e   a l l o w e d : s e t t i n g   t h e   u ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_section_2_15358"
  },
  {
    "question": "What is Pod subresources?",
    "answer": "T h e   a b o v e   u p d a t e   r u l e s   a p p l y   t o   r e g u l a r   p o d   u p d a t e s ,   b u t   o t h e r   p o d   f i e l d s   c a n   b e   u p d a t e d   t h r o u g h   s u b r e s o u r c e s .   R e s i z e :   T h e   r e s i z e   s u b r e s o u r c e   a l l o w s   c o n t a i n e r   r e s o u r c e s   ( s p e c . c o n t a i n e r s [ * ] . r e s o u r c e s )   t o   b e   u p d a t e d .   S e e   R e s i z e   C o n t a i n e r   R e s o u r c e s   f o r   m o r e   d e t a i l s . E p h e m e r a l   C o n t a i n e r s :   T h e   e p h e m e r a l C o n t a i n e r s   s u b r e s o u r c e   a l l o w s   e p h e m e r a l   c o n t a i n e r s   t o   b e   a d d e d   t o   a   P o d .   S e e   E p h e m e r a l   C o n t a i n e r s   f o r   m o r e   d e t a i l s . S t a t u s :   T h e   s t a t u s   s u b r e s o u r c e   a l l o w s   t h e   p o d   s t a t u s   t o   b e   u p d a t e d .   T h i s   i s   t y p i c a l l y   o n l y   u s e d   b y   t h e   K u b e l e t   a n d   o t h e r   s y s t e m   c o n t r o l l e r s . B i n d i n g :   T h e   b i n d i n g   s u b r e s o u r c e   a l l o w s   s e t t i n g   t h e   p o d ' s   s p e c . n o d e N a m e   v i a   a   B i n d i n g   r e q u e s t .   T h i s   i s   t y p i c a l l y   o n l y   u s e d   b y   t h e   s c h e d u l e r .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_section_3_15359"
  },
  {
    "question": "What is Pod generation?",
    "answer": "T h e   m e t a d a t a . g e n e r a t i o n   f i e l d   i s   u n i q u e .   I t   w i l l   b e   a u t o m a t i c a l l y   s e t   b y   t h e   s y s t e m   s u c h   t h a t   n e w   p o d s   h a v e   a   m e t a d a t a . g e n e r a t i o n   o f   1 ,   a n d   e v e r y   u p d a t e   t o   m u t a b l e   f i e l d s   i n   t h e   p o d ' s   s p e c   w i l l   i n c r e m e n t   t h e   m e t a d a t a . g e n e r a t i o n   b y   1 .   o b s e r v e d G e n e r a t i o n   i s   a   f i e l d   t h a t   i s   c a p t u r e d   i n   t h e   s t a t u s   s e c t i o n   o f   t h e   P o d   o b j e c t .   I f   t h e   f e a t u r e   g a t e   P o d O b s e r v e d G e n e r a t i o n T r a c k i n g   i s   s e t ,   t h e   K u b e l e t   w i l l   s e t   s t a t u s . o b s e r v e d G e n e r a t i o n   t o   t r a c k   t h e   p o d   s t a t e   t o   t h e   c u r r e n t   p o d   s t a t u s .   T h e   p o d ' s   s t a t u s . o b s e r v e d G e n e r a t i o n   w i l l   r e f l e c t   t h e   m e t a d a t a . g e n e r a t i o n   o f   t h e   p o d   a t   t h e   p o i n t   t h a t   t h e   p o d   s t a t u s   i s   b e i n g   r e p o r t e d .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_section_3_15360"
  },
  {
    "question": "What is Note:?",
    "answer": "D i f f e r e n t   s t a t u s   f i e l d s   m a y   e i t h e r   b e   a s s o c i a t e d   w i t h   t h e   m e t a d a t a . g e n e r a t i o n   o f   t h e   c u r r e n t   s y n c   l o o p ,   o r   w i t h   t h e   m e t a d a t a . g e n e r a t i o n   o f   t h e   p r e v i o u s   s y n c   l o o p .   T h e   k e y   d i s t i n c t i o n   i s   w h e t h e r   a   c h a n g e   i n   t h e   s p e c   i s   r e f l e c t e d   d i r e c t l y   i n   t h e   s t a t u s   o r   i s   a n   i n d i r e c t   r e s u l t   o f   a   r u n n i n g   p r o c e s s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_section_4_15361"
  },
  {
    "question": "What is Direct Status Updates?",
    "answer": "F o r   s t a t u s   f i e l d s   w h e r e   t h e   a l l o c a t e d   s p e c   i s   d i r e c t l y   r e f l e c t e d ,   t h e   o b s e r v e d G e n e r a t i o n   w i l l   b e   a s s o c i a t e d   w i t h   t h e   c u r r e n t   m e t a d a t a . g e n e r a t i o n   ( G e n e r a t i o n   N ) .   T h i s   b e h a v i o r   a p p l i e s   t o :   R e s i z e   S t a t u s :   T h e   s t a t u s   o f   a   r e s o u r c e   r e s i z e   o p e r a t i o n . A l l o c a t e d   R e s o u r c e s :   T h e   r e s o u r c e s   a l l o c a t e d   t o   t h e   P o d   a f t e r   a   r e s i z e . E p h e m e r a l   C o n t a i n e r s :   W h e n   a   n e w   e p h e m e r a l   c o n t a i n e r   i s   a d d e d ,   a n d   i t   i s   i n   W a i t i n g   s t a t e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_section_4_15362"
  },
  {
    "question": "What is Indirect Status Updates?",
    "answer": "F o r   s t a t u s   f i e l d s   t h a t   a r e   a n   i n d i r e c t   r e s u l t   o f   r u n n i n g   t h e   s p e c ,   t h e   o b s e r v e d G e n e r a t i o n   w i l l   b e   a s s o c i a t e d   w i t h   t h e   m e t a d a t a . g e n e r a t i o n   o f   t h e   p r e v i o u s   s y n c   l o o p   ( G e n e r a t i o n   N - 1 ) .   T h i s   b e h a v i o r   a p p l i e s   t o :   C o n t a i n e r   I m a g e :   T h e   C o n t a i n e r S t a t u s . I m a g e I D   r e f l e c t s   t h e   i m a g e   f r o m   t h e   p r e v i o u s   g e n e r a t i o n   u n t i l   t h e   n e w   i m a g e   i s   p u l l e d   a n d   t h e   c o n t a i n e r   i s   u p d a t e d . A c t u a l   R e s o u r c e s :   D u r i n g   a n   i n - p r o g r e s s   r e s i z e ,   t h e   a c t u a l   r e s o u r c e s   i n   u s e   s t i l l   b e l o n g   t o   t h e   p r e v i o u s   g e n e r a t i o n ' s   r e q u e s t . C o n t a i n e r   s t a t e :   D u r i n g   a n   i n - p r o g r e s s   r e s i z e ,   w i t h   r e q u i r e   r e s t a r t   p o l i c y   r e f l e c t s   t h e   p r e v i o u s   g e n e r a t i o n ' s   r e q u e s t . a c t i v e D e a d l i n e S e c o n d s   &   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   &   d e l e t i o n T i m e s t a m p :   T h e   e f f e c t s   o f   t h e s e   f i e l d s   o n   t h e   P o d ' s   s t a t u s   a r e   a   r e s u l t   o f   t h e   p r e v i o u s l y   o b s e r v e d   s p e c i f i c a t i o n .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_section_4_15363"
  },
  {
    "question": "What is Resource sharing and communication?",
    "answer": "P o d s   e n a b l e   d a t a   s h a r i n g   a n d   c o m m u n i c a t i o n   a m o n g   t h e i r   c o n s t i t u e n t   c o n t a i n e r s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_section_2_15364"
  },
  {
    "question": "What is Storage in Pods?",
    "answer": "A   P o d   c a n   s p e c i f y   a   s e t   o f   s h a r e d   s t o r a g e   v o l u m e s .   A l l   c o n t a i n e r s   i n   t h e   P o d   c a n   a c c e s s   t h e   s h a r e d   v o l u m e s ,   a l l o w i n g   t h o s e   c o n t a i n e r s   t o   s h a r e   d a t a .   V o l u m e s   a l s o   a l l o w   p e r s i s t e n t   d a t a   i n   a   P o d   t o   s u r v i v e   i n   c a s e   o n e   o f   t h e   c o n t a i n e r s   w i t h i n   n e e d s   t o   b e   r e s t a r t e d .   S e e   S t o r a g e   f o r   m o r e   i n f o r m a t i o n   o n   h o w   K u b e r n e t e s   i m p l e m e n t s   s h a r e d   s t o r a g e   a n d   m a k e s   i t   a v a i l a b l e   t o   P o d s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_section_3_15365"
  },
  {
    "question": "What is Pod networking?",
    "answer": "E a c h   P o d   i s   a s s i g n e d   a   u n i q u e   I P   a d d r e s s   f o r   e a c h   a d d r e s s   f a m i l y .   E v e r y   c o n t a i n e r   i n   a   P o d   s h a r e s   t h e   n e t w o r k   n a m e s p a c e ,   i n c l u d i n g   t h e   I P   a d d r e s s   a n d   n e t w o r k   p o r t s .   I n s i d e   a   P o d   ( a n d   o n l y   t h e n ) ,   t h e   c o n t a i n e r s   t h a t   b e l o n g   t o   t h e   P o d   c a n   c o m m u n i c a t e   w i t h   o n e   a n o t h e r   u s i n g   l o c a l h o s t .   W h e n   c o n t a i n e r s   i n   a   P o d   c o m m u n i c a t e   w i t h   e n t i t i e s   o u t s i d e   t h e   P o d ,   t h e y   m u s t   c o o r d i n a t e   h o w   t h e y   u s e   t h e   s h a r e d   n e t w o r k   r e s o u r c e s   ( s u c h   a s   p o r t s ) .   W i t h i n   a   P o d ,   c o n t a i n e r s   s h a r e   a n   I P   a d d r e s s   a n d   p o r t   s p a c e ,   a n d   c a n   f i n d   e a c h   o t h e r   v i a   l o c a l h o s t .   T h e   c o n t a i n e r s   i n   a   P o d   c a n   a l s o   c o m m u n i c a t e   w i t h   e a c h   o t h e r   u s i n g   s t a n d a r d   i n t e r - p r o c e s s   c o m m u n i c a t i o n s   l i k e   S y s t e m V   s e m a p h o r e s   o r   P O S I X   s h a r e d   m e m o r y .   C o n t a i n e r s   i n   d i f f e r e n t   P o d s   h a v e   d i s t i n c t   I P   a d d r e s s e s   a n d   c a n   n o t   c o m m u n i c a t e   b y   O S - l e v e l   I P C   w i t h o u t   s p e c i a l   c o n f i g u r a t i o n .   C o n t a i n e r s   t h a t   w a n t   t o   i n t e r a c t   w i t h   a   c o n t a i n e r   r u n n i n g   i n   a   d i f f e r e n t   P o d   c a n   u s e   I P   n e t w o r k i n g   t o   c o m m u n i c a t e .   C o n t a i n e r s   w i t h i n   t h e   P o d   s e e   t h e   s y s t e m   h o s t n a m e   a s   b e i n g   t h e   s a m e   a s   t h e ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_section_3_15366"
  },
  {
    "question": "What is Pod security settings?",
    "answer": "T o   s e t   s e c u r i t y   c o n s t r a i n t s   o n   P o d s   a n d   c o n t a i n e r s ,   y o u   u s e   t h e   s e c u r i t y C o n t e x t   f i e l d   i n   t h e   P o d   s p e c i f i c a t i o n .   T h i s   f i e l d   g i v e s   y o u   g r a n u l a r   c o n t r o l   o v e r   w h a t   a   P o d   o r   i n d i v i d u a l   c o n t a i n e r s   c a n   d o .   F o r   e x a m p l e :   D r o p   s p e c i f i c   L i n u x   c a p a b i l i t i e s   t o   a v o i d   t h e   i m p a c t   o f   a   C V E . F o r c e   a l l   p r o c e s s e s   i n   t h e   P o d   t o   r u n   a s   a   n o n - r o o t   u s e r   o r   a s   a   s p e c i f i c   u s e r   o r   g r o u p   I D . S e t   a   s p e c i f i c   s e c c o m p   p r o f i l e . S e t   W i n d o w s   s e c u r i t y   o p t i o n s ,   s u c h   a s   w h e t h e r   c o n t a i n e r s   r u n   a s   H o s t P r o c e s s .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_section_2_15367"
  },
  {
    "question": "What is Caution:?",
    "answer": "T o   l e a r n   a b o u t   k e r n e l - l e v e l   s e c u r i t y   c o n s t r a i n t s   t h a t   y o u   c a n   u s e ,   s e e   L i n u x   k e r n e l   s e c u r i t y   c o n s t r a i n t s   f o r   P o d s   a n d   c o n t a i n e r s . T o   l e a r n   m o r e   a b o u t   t h e   P o d   s e c u r i t y   c o n t e x t ,   s e e   C o n f i g u r e   a   S e c u r i t y   C o n t e x t   f o r   a   P o d   o r   C o n t a i n e r .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_section_4_15368"
  },
  {
    "question": "What is Static Pods?",
    "answer": "S t a t i c   P o d s   a r e   m a n a g e d   d i r e c t l y   b y   t h e   k u b e l e t   d a e m o n   o n   a   s p e c i f i c   n o d e ,   w i t h o u t   t h e   A P I   s e r v e r   o b s e r v i n g   t h e m .   W h e r e a s   m o s t   P o d s   a r e   m a n a g e d   b y   t h e   c o n t r o l   p l a n e   ( f o r   e x a m p l e ,   a   D e p l o y m e n t ) ,   f o r   s t a t i c   P o d s ,   t h e   k u b e l e t   d i r e c t l y   s u p e r v i s e s   e a c h   s t a t i c   P o d   ( a n d   r e s t a r t s   i t   i f   i t   f a i l s ) .   S t a t i c   P o d s   a r e   a l w a y s   b o u n d   t o   o n e   K u b e l e t   o n   a   s p e c i f i c   n o d e .   T h e   m a i n   u s e   f o r   s t a t i c   P o d s   i s   t o   r u n   a   s e l f - h o s t e d   c o n t r o l   p l a n e :   i n   o t h e r   w o r d s ,   u s i n g   t h e   k u b e l e t   t o   s u p e r v i s e   t h e   i n d i v i d u a l   c o n t r o l   p l a n e   c o m p o n e n t s .   T h e   k u b e l e t   a u t o m a t i c a l l y   t r i e s   t o   c r e a t e   a   m i r r o r   P o d   o n   t h e   K u b e r n e t e s   A P I   s e r v e r   f o r   e a c h   s t a t i c   P o d .   T h i s   m e a n s   t h a t   t h e   P o d s   r u n n i n g   o n   a   n o d e   a r e   v i s i b l e   o n   t h e   A P I   s e r v e r ,   b u t   c a n n o t   b e   c o n t r o l l e d   f r o m   t h e r e .   S e e   t h e   g u i d e   C r e a t e   s t a t i c   P o d s   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_section_2_15369"
  },
  {
    "question": "What is Pods with multiple containers?",
    "answer": "P o d s   a r e   d e s i g n e d   t o   s u p p o r t   m u l t i p l e   c o o p e r a t i n g   p r o c e s s e s   ( a s   c o n t a i n e r s )   t h a t   f o r m   a   c o h e s i v e   u n i t   o f   s e r v i c e .   T h e   c o n t a i n e r s   i n   a   P o d   a r e   a u t o m a t i c a l l y   c o - l o c a t e d   a n d   c o - s c h e d u l e d   o n   t h e   s a m e   p h y s i c a l   o r   v i r t u a l   m a c h i n e   i n   t h e   c l u s t e r .   T h e   c o n t a i n e r s   c a n   s h a r e   r e s o u r c e s   a n d   d e p e n d e n c i e s ,   c o m m u n i c a t e   w i t h   o n e   a n o t h e r ,   a n d   c o o r d i n a t e   w h e n   a n d   h o w   t h e y   a r e   t e r m i n a t e d .   P o d s   i n   a   K u b e r n e t e s   c l u s t e r   a r e   u s e d   i n   t w o   m a i n   w a y s :   P o d s   t h a t   r u n   a   s i n g l e   c o n t a i n e r .   T h e   \" o n e - c o n t a i n e r - p e r - P o d \"   m o d e l   i s   t h e   m o s t   c o m m o n   K u b e r n e t e s   u s e   c a s e ;   i n   t h i s   c a s e ,   y o u   c a n   t h i n k   o f   a   P o d   a s   a   w r a p p e r   a r o u n d   a   s i n g l e   c o n t a i n e r ;   K u b e r n e t e s   m a n a g e s   P o d s   r a t h e r   t h a n   m a n a g i n g   t h e   c o n t a i n e r s   d i r e c t l y . P o d s   t h a t   r u n   m u l t i p l e   c o n t a i n e r s   t h a t   n e e d   t o   w o r k   t o g e t h e r .   A   P o d   c a n   e n c a p s u l a t e   a n   a p p l i c a t i o n   c o m p o s e d   o f   m u l t i p l e   c o - l o c a t e d   c o n t a i n e r s   t h a t   a r e   t i g h t l y   c o u p l e d   a n d   n e e d   t o   s h a r e   r e s o u r c e s .   T h e s e   c o - l o c a t e d   c o n t a i n e r s   f o r m   a   s i n g l e   c o h e s i v e   u n i t   o f   s e r v i c e — f o r   e x a m p l e ,   o n e   c o n t a i n e r   s e r v i n g   d a t a   s t o r e d   i n   a   s h a ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_section_2_15370"
  },
  {
    "question": "What is Container probes?",
    "answer": "A   p r o b e   i s   a   d i a g n o s t i c   p e r f o r m e d   p e r i o d i c a l l y   b y   t h e   k u b e l e t   o n   a   c o n t a i n e r .   T o   p e r f o r m   a   d i a g n o s t i c ,   t h e   k u b e l e t   c a n   i n v o k e   d i f f e r e n t   a c t i o n s :   E x e c A c t i o n   ( p e r f o r m e d   w i t h   t h e   h e l p   o f   t h e   c o n t a i n e r   r u n t i m e ) T C P S o c k e t A c t i o n   ( c h e c k e d   d i r e c t l y   b y   t h e   k u b e l e t ) H T T P G e t A c t i o n   ( c h e c k e d   d i r e c t l y   b y   t h e   k u b e l e t )   Y o u   c a n   r e a d   m o r e   a b o u t   p r o b e s   i n   t h e   P o d   L i f e c y c l e   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_section_2_15371"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   t h e   l i f e c y c l e   o f   a   P o d . L e a r n   a b o u t   R u n t i m e C l a s s   a n d   h o w   y o u   c a n   u s e   i t   t o   c o n f i g u r e   d i f f e r e n t   P o d s   w i t h   d i f f e r e n t   c o n t a i n e r   r u n t i m e   c o n f i g u r a t i o n s . R e a d   a b o u t   P o d D i s r u p t i o n B u d g e t   a n d   h o w   y o u   c a n   u s e   i t   t o   m a n a g e   a p p l i c a t i o n   a v a i l a b i l i t y   d u r i n g   d i s r u p t i o n s . P o d   i s   a   t o p - l e v e l   r e s o u r c e   i n   t h e   K u b e r n e t e s   R E S T   A P I .   T h e   P o d   o b j e c t   d e f i n i t i o n   d e s c r i b e s   t h e   o b j e c t   i n   d e t a i l . T h e   D i s t r i b u t e d   S y s t e m   T o o l k i t :   P a t t e r n s   f o r   C o m p o s i t e   C o n t a i n e r s   e x p l a i n s   c o m m o n   l a y o u t s   f o r   P o d s   w i t h   m o r e   t h a n   o n e   c o n t a i n e r . R e a d   a b o u t   P o d   t o p o l o g y   s p r e a d   c o n s t r a i n t s   T o   u n d e r s t a n d   t h e   c o n t e x t   f o r   w h y   K u b e r n e t e s   w r a p s   a   c o m m o n   P o d   A P I   i n   o t h e r   r e s o u r c e s   ( s u c h   a s   S t a t e f u l S e t s   o r   D e p l o y m e n t s ) ,   y o u   c a n   r e a d   a b o u t   t h e   p r i o r   a r t ,   i n c l u d i n g :   A u r o r a B o r g M a r a t h o n O m e g a T u p p e r w a r e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/workloads/pods/",
    "id": "k8s_00694_section_2_15372"
  },
  {
    "question": "What is ReplicationController?",
    "answer": "ReplicationControllerLegacy API for managing workloads that can scale horizontally. Superseded by the Deployment and ReplicaSet APIs.Note:A Deployment that configures a ReplicaSet is now the recommended way to set up replication.A ReplicationController ensures that a specified number of pod replicas are running at any one time. In other words, a ReplicationController makes sure that a pod or a homogeneous set of pods is always up and available.How a ReplicationController worksIf there are too many pods, the ReplicationController terminates the extra pods. If there are too few, the ReplicationController starts more pods. Unlike manually created pods, the pods maintained by a ReplicationController are automatically replaced if they fail, are deleted, or are terminated. For example, your pods are re-created on a node after disruptive maintenance such as a kernel upgrade. For this reason, you should use a ReplicationController even if your application requires only a single pod. A ReplicationController is similar to a process supervisor, but instead of supervising individual processes on a single node, the ReplicationController supervises multiple pods across multiple nodes.ReplicationController is often abbreviated to \"rc\" in discussion, and as a shortcut in kubectl commands.A simple case is to create one ReplicationController object to reliably run one instance of a Pod indefinitely. A more complex use case is to run several identical replicas of a replicated service, such as web servers.Running an example ReplicationControllerThis example ReplicationController config runs three copies of the nginx web server.controllers/replication.yaml apiVersion: v1 kind: ReplicationController metadata: name: nginx spec: replicas: 3 selector: app: nginx template: metadata: name: nginx labels: app: nginx spec: containers: - name: nginx image: nginx ports: - containerPort: 80 Run the example job by downloading the example file and then running this command:kubectl apply -f https://k8s.io/examples/controllers/replication.yaml The output is similar to this:replicationcontroller/nginx created Check on the status of the ReplicationController using this command:kubectl describe replicationcontrollers/nginx The output is similar to this:Name: nginx Namespace: default Selector: app=nginx Labels: app=nginx Annotations: <none> Replicas: 3 current / 3 desired Pods Status: 0 Running / 3 Waiting / 0 Succeeded / 0 Failed Pod Template: Labels: app=nginx Containers: nginx: Image: nginx Port: 80/TCP Environment: <none> Mounts: <none> Volumes: <none> Events: FirstSeen LastSeen Count From SubobjectPath Type Reason Message --------- -------- ----- ---- ------------- ---- ------ ------- 20s 20s 1 {replication-controller } Normal SuccessfulCreate Created pod: nginx-qrm3m 20s 20s 1 {replication-controller } Normal SuccessfulCreate Created pod: nginx-3ntk0 20s 20s 1 {replication-controller } Normal SuccessfulCreate Created pod: nginx-4ok8v Here, three pods are created, but none is runni",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_qa_15373"
  },
  {
    "question": "How does ReplicationController work?",
    "answer": "ReplicationControllerLegacy API for managing workloads that can scale horizontally. Superseded by the Deployment and ReplicaSet APIs.Note:A Deployment that configures a ReplicaSet is now the recommended way to set up replication.A ReplicationController ensures that a specified number of pod replicas are running at any one time. In other words, a ReplicationController makes sure that a pod or a homogeneous set of pods is always up and available.How a ReplicationController worksIf there are too many pods, the ReplicationController terminates the extra pods. If there are too few, the ReplicationController starts more pods. Unlike manually created pods, the pods maintained by a ReplicationController are automatically replaced if they fail, are deleted, or are terminated. For example, your pods are re-created on a node after disruptive maintenance such as a kernel upgrade. For this reason, you should use a ReplicationController even if your application requires only a single pod. A ReplicationController is similar to a process supervisor, but instead of supervising individual processes on a single node, the ReplicationController supervises multiple pods across multiple nodes.ReplicationController is often abbreviated to \"rc\" in discussion, and as a shortcut in kubectl commands.A simple case is to create one ReplicationController object to reliably run one instance of a Pod indefinitely. A more complex use case is to run several identical replicas of a replicated service, such as web servers.Running an example ReplicationControllerThis example ReplicationController config runs three copies of the nginx web server.controllers/replication.yaml apiVersion: v1 kind: ReplicationController metadata: name: nginx spec: replicas: 3 selector: app: nginx template: metadata: name: nginx labels: app: nginx spec: containers: - name: nginx image: nginx ports: - containerPort: 80 Run the example job by downloading the example file and then running this command:kubectl apply -f https://k8s.io/examples/controllers/replication.yaml The output is similar to this:replicationcontroller/nginx created Check on the status of the ReplicationController using this command:kubectl describe replicationcontrollers/nginx The output is similar to this:Name: nginx Namespace: default Selector: app=nginx Labels: app=nginx Annotations: <none> Replicas: 3 current / 3 desired Pods Status: 0 Running / 3 Waiting / 0 Succeeded / 0 Failed Pod Template: Labels: app=nginx Containers: nginx: Image: nginx Port: 80/TCP Environment: <none> Mounts: <none> Volumes: <none> Events: FirstSeen LastSeen Count From SubobjectPath Type Reason Message --------- -------- ----- ---- ------------- ---- ------ ------- 20s 20s 1 {replication-controller } Normal SuccessfulCreate Created pod: nginx-qrm3m 20s 20s 1 {replication-controller } Normal SuccessfulCreate Created pod: nginx-3ntk0 20s 20s 1 {replication-controller } Normal SuccessfulCreate Created pod: nginx-4ok8v Here, three pods are created, but none is runni",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_qa_15374"
  },
  {
    "question": "When would you use ReplicationController?",
    "answer": "ReplicationControllerLegacy API for managing workloads that can scale horizontally. Superseded by the Deployment and ReplicaSet APIs.Note:A Deployment that configures a ReplicaSet is now the recommended way to set up replication.A ReplicationController ensures that a specified number of pod replicas are running at any one time. In other words, a ReplicationController makes sure that a pod or a homogeneous set of pods is always up and available.How a ReplicationController worksIf there are too many pods, the ReplicationController terminates the extra pods. If there are too few, the ReplicationController starts more pods. Unlike manually created pods, the pods maintained by a ReplicationController are automatically replaced if they fail, are deleted, or are terminated. For example, your pods are re-created on a node after disruptive maintenance such as a kernel upgrade. For this reason, you should use a ReplicationController even if your application requires only a single pod. A ReplicationController is similar to a process supervisor, but instead of supervising individual processes on a single node, the ReplicationController supervises multiple pods across multiple nodes.ReplicationController is often abbreviated to \"rc\" in discussion, and as a shortcut in kubectl commands.A simple case is to create one ReplicationController object to reliably run one instance of a Pod indefinitely. A more complex use case is to run several identical replicas of a replicated service, such as web servers.Running an example ReplicationControllerThis example ReplicationController config runs three copies of the nginx web server.controllers/replication.yaml apiVersion: v1 kind: ReplicationController metadata: name: nginx spec: replicas: 3 selector: app: nginx template: metadata: name: nginx labels: app: nginx spec: containers: - name: nginx image: nginx ports: - containerPort: 80 Run the example job by downloading the example file and then running this command:kubectl apply -f https://k8s.io/examples/controllers/replication.yaml The output is similar to this:replicationcontroller/nginx created Check on the status of the ReplicationController using this command:kubectl describe replicationcontrollers/nginx The output is similar to this:Name: nginx Namespace: default Selector: app=nginx Labels: app=nginx Annotations: <none> Replicas: 3 current / 3 desired Pods Status: 0 Running / 3 Waiting / 0 Succeeded / 0 Failed Pod Template: Labels: app=nginx Containers: nginx: Image: nginx Port: 80/TCP Environment: <none> Mounts: <none> Volumes: <none> Events: FirstSeen LastSeen Count From SubobjectPath Type Reason Message --------- -------- ----- ---- ------------- ---- ------ ------- 20s 20s 1 {replication-controller } Normal SuccessfulCreate Created pod: nginx-qrm3m 20s 20s 1 {replication-controller } Normal SuccessfulCreate Created pod: nginx-3ntk0 20s 20s 1 {replication-controller } Normal SuccessfulCreate Created pod: nginx-4ok8v Here, three pods are created, but none is runni",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_qa_15375"
  },
  {
    "question": "What are the benefits of ReplicationController?",
    "answer": "ReplicationControllerLegacy API for managing workloads that can scale horizontally. Superseded by the Deployment and ReplicaSet APIs.Note:A Deployment that configures a ReplicaSet is now the recommended way to set up replication.A ReplicationController ensures that a specified number of pod replicas are running at any one time. In other words, a ReplicationController makes sure that a pod or a homogeneous set of pods is always up and available.How a ReplicationController worksIf there are too many pods, the ReplicationController terminates the extra pods. If there are too few, the ReplicationController starts more pods. Unlike manually created pods, the pods maintained by a ReplicationController are automatically replaced if they fail, are deleted, or are terminated. For example, your pods are re-created on a node after disruptive maintenance such as a kernel upgrade. For this reason, you should use a ReplicationController even if your application requires only a single pod. A ReplicationController is similar to a process supervisor, but instead of supervising individual processes on a single node, the ReplicationController supervises multiple pods across multiple nodes.ReplicationController is often abbreviated to \"rc\" in discussion, and as a shortcut in kubectl commands.A simple case is to create one ReplicationController object to reliably run one instance of a Pod indefinitely. A more complex use case is to run several identical replicas of a replicated service, such as web servers.Running an example ReplicationControllerThis example ReplicationController config runs three copies of the nginx web server.controllers/replication.yaml apiVersion: v1 kind: ReplicationController metadata: name: nginx spec: replicas: 3 selector: app: nginx template: metadata: name: nginx labels: app: nginx spec: containers: - name: nginx image: nginx ports: - containerPort: 80 Run the example job by downloading the example file and then running this command:kubectl apply -f https://k8s.io/examples/controllers/replication.yaml The output is similar to this:replicationcontroller/nginx created Check on the status of the ReplicationController using this command:kubectl describe replicationcontrollers/nginx The output is similar to this:Name: nginx Namespace: default Selector: app=nginx Labels: app=nginx Annotations: <none> Replicas: 3 current / 3 desired Pods Status: 0 Running / 3 Waiting / 0 Succeeded / 0 Failed Pod Template: Labels: app=nginx Containers: nginx: Image: nginx Port: 80/TCP Environment: <none> Mounts: <none> Volumes: <none> Events: FirstSeen LastSeen Count From SubobjectPath Type Reason Message --------- -------- ----- ---- ------------- ---- ------ ------- 20s 20s 1 {replication-controller } Normal SuccessfulCreate Created pod: nginx-qrm3m 20s 20s 1 {replication-controller } Normal SuccessfulCreate Created pod: nginx-3ntk0 20s 20s 1 {replication-controller } Normal SuccessfulCreate Created pod: nginx-4ok8v Here, three pods are created, but none is runni",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_qa_15376"
  },
  {
    "question": "What is Note:?",
    "answer": "A   R e p l i c a t i o n C o n t r o l l e r   e n s u r e s   t h a t   a   s p e c i f i e d   n u m b e r   o f   p o d   r e p l i c a s   a r e   r u n n i n g   a t   a n y   o n e   t i m e .   I n   o t h e r   w o r d s ,   a   R e p l i c a t i o n C o n t r o l l e r   m a k e s   s u r e   t h a t   a   p o d   o r   a   h o m o g e n e o u s   s e t   o f   p o d s   i s   a l w a y s   u p   a n d   a v a i l a b l e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_section_4_15377"
  },
  {
    "question": "What is How a ReplicationController works?",
    "answer": "I f   t h e r e   a r e   t o o   m a n y   p o d s ,   t h e   R e p l i c a t i o n C o n t r o l l e r   t e r m i n a t e s   t h e   e x t r a   p o d s .   I f   t h e r e   a r e   t o o   f e w ,   t h e   R e p l i c a t i o n C o n t r o l l e r   s t a r t s   m o r e   p o d s .   U n l i k e   m a n u a l l y   c r e a t e d   p o d s ,   t h e   p o d s   m a i n t a i n e d   b y   a   R e p l i c a t i o n C o n t r o l l e r   a r e   a u t o m a t i c a l l y   r e p l a c e d   i f   t h e y   f a i l ,   a r e   d e l e t e d ,   o r   a r e   t e r m i n a t e d .   F o r   e x a m p l e ,   y o u r   p o d s   a r e   r e - c r e a t e d   o n   a   n o d e   a f t e r   d i s r u p t i v e   m a i n t e n a n c e   s u c h   a s   a   k e r n e l   u p g r a d e .   F o r   t h i s   r e a s o n ,   y o u   s h o u l d   u s e   a   R e p l i c a t i o n C o n t r o l l e r   e v e n   i f   y o u r   a p p l i c a t i o n   r e q u i r e s   o n l y   a   s i n g l e   p o d .   A   R e p l i c a t i o n C o n t r o l l e r   i s   s i m i l a r   t o   a   p r o c e s s   s u p e r v i s o r ,   b u t   i n s t e a d   o f   s u p e r v i s i n g   i n d i v i d u a l   p r o c e s s e s   o n   a   s i n g l e   n o d e ,   t h e   R e p l i c a t i o n C o n t r o l l e r   s u p e r v i s e s   m u l t i p l e   p o d s   a c r o s s   m u l t i p l e   n o d e s .   R e p l i c a t i o n C o n t r o l l e r   i s   o f t e n   a b b r e v i a t e d   t o   \" r c \"   i n   d i s c u s s i o n ,   a n d   a s   a   s h o r t c u t   i n   k u b e c t l   c o m m a n d s .   A   s i m p l e   c a s e   i s   t o   c r e a t e   o n e   R e p l i c a t i o n C o n t r o l l e r   o b j e c t   t o   r e l i a b l y   r u n   o n e   i n s t a n c e   o f   a   P o d   i n d e f i n i t e l y .   A   m o r e   c o m p l e x   u s e   c a s e   i s   t o   r u n   s e v e r a l   i d e n t i c a l   r e p l i c a s   o f   a   r e p l i c a t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_section_2_15378"
  },
  {
    "question": "What is Running an example ReplicationController?",
    "answer": "T h i s   e x a m p l e   R e p l i c a t i o n C o n t r o l l e r   c o n f i g   r u n s   t h r e e   c o p i e s   o f   t h e   n g i n x   w e b   s e r v e r .   a p i V e r s i o n :   v 1   k i n d :   R e p l i c a t i o n C o n t r o l l e r   m e t a d a t a :   n a m e :   n g i n x   s p e c :   r e p l i c a s :   3   s e l e c t o r :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   n a m e :   n g i n x   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   p o r t s :   -   c o n t a i n e r P o r t :   8 0   R u n   t h e   e x a m p l e   j o b   b y   d o w n l o a d i n g   t h e   e x a m p l e   f i l e   a n d   t h e n   r u n n i n g   t h i s   c o m m a n d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / c o n t r o l l e r s / r e p l i c a t i o n . y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   r e p l i c a t i o n c o n t r o l l e r / n g i n x   c r e a t e d   C h e c k   o n   t h e   s t a t u s   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   u s i n g   t h i s   c o m m a n d :   k u b e c t l   d e s c r i b e   r e p l i c a t i o n c o n t r o l l e r s / n g i n x   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N a m e :   n g i n x   N a m e s p a c e :   d e f a u l t   S e l e c t o r :   a p p = n g i n x   L a b e l s :   a p p = n g i n x   A n n o t a t i o n s :   < n o n e >   R e p l i c a s :   3   c u r r e n t   /   3   d e s i r e d   P o d s   S t a t u s :   0   R u n n i n g   /   3   W a i t i n g   /   0   S u c c e e d e d   /   0   F a i l e d   P o d   T e m p l a t e :   L a b e l s :   a p p = n g i n x   C o n t a i n e r s :   n g i n x :   I m a g e :   n g i n x   P o r t :   8 0 / T C P   E n v i r o n m e n t :   < n o n e >   M o u n t s :   < n o n e >   V o l u m e s :   < n o n e >   E v e n t s :   F i r s t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_section_2_15379"
  },
  {
    "question": "What is Writing a ReplicationController Manifest?",
    "answer": "A s   w i t h   a l l   o t h e r   K u b e r n e t e s   c o n f i g ,   a   R e p l i c a t i o n C o n t r o l l e r   n e e d s   a p i V e r s i o n ,   k i n d ,   a n d   m e t a d a t a   f i e l d s .   W h e n   t h e   c o n t r o l   p l a n e   c r e a t e s   n e w   P o d s   f o r   a   R e p l i c a t i o n C o n t r o l l e r ,   t h e   . m e t a d a t a . n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   i s   p a r t   o f   t h e   b a s i s   f o r   n a m i n g   t h o s e   P o d s .   T h e   n a m e   o f   a   R e p l i c a t i o n C o n t r o l l e r   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   v a l u e ,   b u t   t h i s   c a n   p r o d u c e   u n e x p e c t e d   r e s u l t s   f o r   t h e   P o d   h o s t n a m e s .   F o r   b e s t   c o m p a t i b i l i t y ,   t h e   n a m e   s h o u l d   f o l l o w   t h e   m o r e   r e s t r i c t i v e   r u l e s   f o r   a   D N S   l a b e l .   F o r   g e n e r a l   i n f o r m a t i o n   a b o u t   w o r k i n g   w i t h   c o n f i g u r a t i o n   f i l e s ,   s e e   o b j e c t   m a n a g e m e n t .   A   R e p l i c a t i o n C o n t r o l l e r   a l s o   n e e d s   a   . s p e c   s e c t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_section_2_15380"
  },
  {
    "question": "What is Pod Template?",
    "answer": "T h e   . s p e c . t e m p l a t e   i s   t h e   o n l y   r e q u i r e d   f i e l d   o f   t h e   . s p e c .   T h e   . s p e c . t e m p l a t e   i s   a   p o d   t e m p l a t e .   I t   h a s   e x a c t l y   t h e   s a m e   s c h e m a   a s   a   P o d ,   e x c e p t   i t   i s   n e s t e d   a n d   d o e s   n o t   h a v e   a n   a p i V e r s i o n   o r   k i n d .   I n   a d d i t i o n   t o   r e q u i r e d   f i e l d s   f o r   a   P o d ,   a   p o d   t e m p l a t e   i n   a   R e p l i c a t i o n C o n t r o l l e r   m u s t   s p e c i f y   a p p r o p r i a t e   l a b e l s   a n d   a n   a p p r o p r i a t e   r e s t a r t   p o l i c y .   F o r   l a b e l s ,   m a k e   s u r e   n o t   t o   o v e r l a p   w i t h   o t h e r   c o n t r o l l e r s .   S e e   p o d   s e l e c t o r .   O n l y   a   . s p e c . t e m p l a t e . s p e c . r e s t a r t P o l i c y   e q u a l   t o   A l w a y s   i s   a l l o w e d ,   w h i c h   i s   t h e   d e f a u l t   i f   n o t   s p e c i f i e d .   F o r   l o c a l   c o n t a i n e r   r e s t a r t s ,   R e p l i c a t i o n C o n t r o l l e r s   d e l e g a t e   t o   a n   a g e n t   o n   t h e   n o d e ,   f o r   e x a m p l e   t h e   K u b e l e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_section_3_15381"
  },
  {
    "question": "What is Labels on the ReplicationController?",
    "answer": "T h e   R e p l i c a t i o n C o n t r o l l e r   c a n   i t s e l f   h a v e   l a b e l s   ( . m e t a d a t a . l a b e l s ) .   T y p i c a l l y ,   y o u   w o u l d   s e t   t h e s e   t h e   s a m e   a s   t h e   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s ;   i f   . m e t a d a t a . l a b e l s   i s   n o t   s p e c i f i e d   t h e n   i t   d e f a u l t s   t o   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s .   H o w e v e r ,   t h e y   a r e   a l l o w e d   t o   b e   d i f f e r e n t ,   a n d   t h e   . m e t a d a t a . l a b e l s   d o   n o t   a f f e c t   t h e   b e h a v i o r   o f   t h e   R e p l i c a t i o n C o n t r o l l e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_section_3_15382"
  },
  {
    "question": "What is Pod Selector?",
    "answer": "T h e   . s p e c . s e l e c t o r   f i e l d   i s   a   l a b e l   s e l e c t o r .   A   R e p l i c a t i o n C o n t r o l l e r   m a n a g e s   a l l   t h e   p o d s   w i t h   l a b e l s   t h a t   m a t c h   t h e   s e l e c t o r .   I t   d o e s   n o t   d i s t i n g u i s h   b e t w e e n   p o d s   t h a t   i t   c r e a t e d   o r   d e l e t e d   a n d   p o d s   t h a t   a n o t h e r   p e r s o n   o r   p r o c e s s   c r e a t e d   o r   d e l e t e d .   T h i s   a l l o w s   t h e   R e p l i c a t i o n C o n t r o l l e r   t o   b e   r e p l a c e d   w i t h o u t   a f f e c t i n g   t h e   r u n n i n g   p o d s .   I f   s p e c i f i e d ,   t h e   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s   m u s t   b e   e q u a l   t o   t h e   . s p e c . s e l e c t o r ,   o r   i t   w i l l   b e   r e j e c t e d   b y   t h e   A P I .   I f   . s p e c . s e l e c t o r   i s   u n s p e c i f i e d ,   i t   w i l l   b e   d e f a u l t e d   t o   . s p e c . t e m p l a t e . m e t a d a t a . l a b e l s .   A l s o   y o u   s h o u l d   n o t   n o r m a l l y   c r e a t e   a n y   p o d s   w h o s e   l a b e l s   m a t c h   t h i s   s e l e c t o r ,   e i t h e r   d i r e c t l y ,   w i t h   a n o t h e r   R e p l i c a t i o n C o n t r o l l e r ,   o r   w i t h   a n o t h e r   c o n t r o l l e r   s u c h   a s   J o b .   I f   y o u   d o   s o ,   t h e   R e p l i c a t i o n C o n t r o l l e r   t h i n k s   t h a t   i t   c r e a t e d   t h e   o t h e r   p o d s .   K u b e r n e t e s   d o e s   n o t   s t o p   y o u   f r o m   d o i n g   t h i s .   I f   y o u   d o   e n d   u p   w i t h   m u l t i p l e   c o n t r o l l e r s   t h a t   h a v e   o v e r l a p p i n g   s e l e c t o r s ,   y o u   w i l l   h a v e   t o   m a n a g e   t h e   d e l e t i o n   y o u r s e l f   ( s e e   b e l o w ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_section_3_15383"
  },
  {
    "question": "What is Multiple Replicas?",
    "answer": "Y o u   c a n   s p e c i f y   h o w   m a n y   p o d s   s h o u l d   r u n   c o n c u r r e n t l y   b y   s e t t i n g   . s p e c . r e p l i c a s   t o   t h e   n u m b e r   o f   p o d s   y o u   w o u l d   l i k e   t o   h a v e   r u n n i n g   c o n c u r r e n t l y .   T h e   n u m b e r   r u n n i n g   a t   a n y   t i m e   m a y   b e   h i g h e r   o r   l o w e r ,   s u c h   a s   i f   t h e   r e p l i c a s   w e r e   j u s t   i n c r e a s e d   o r   d e c r e a s e d ,   o r   i f   a   p o d   i s   g r a c e f u l l y   s h u t d o w n ,   a n d   a   r e p l a c e m e n t   s t a r t s   e a r l y .   I f   y o u   d o   n o t   s p e c i f y   . s p e c . r e p l i c a s ,   t h e n   i t   d e f a u l t s   t o   1 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_section_3_15384"
  },
  {
    "question": "What is Deleting a ReplicationController and its Pods?",
    "answer": "T o   d e l e t e   a   R e p l i c a t i o n C o n t r o l l e r   a n d   a l l   i t s   p o d s ,   u s e   k u b e c t l   d e l e t e .   K u b e c t l   w i l l   s c a l e   t h e   R e p l i c a t i o n C o n t r o l l e r   t o   z e r o   a n d   w a i t   f o r   i t   t o   d e l e t e   e a c h   p o d   b e f o r e   d e l e t i n g   t h e   R e p l i c a t i o n C o n t r o l l e r   i t s e l f .   I f   t h i s   k u b e c t l   c o m m a n d   i s   i n t e r r u p t e d ,   i t   c a n   b e   r e s t a r t e d .   W h e n   u s i n g   t h e   R E S T   A P I   o r   c l i e n t   l i b r a r y ,   y o u   n e e d   t o   d o   t h e   s t e p s   e x p l i c i t l y   ( s c a l e   r e p l i c a s   t o   0 ,   w a i t   f o r   p o d   d e l e t i o n s ,   t h e n   d e l e t e   t h e   R e p l i c a t i o n C o n t r o l l e r ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_section_3_15385"
  },
  {
    "question": "What is Deleting only a ReplicationController?",
    "answer": "Y o u   c a n   d e l e t e   a   R e p l i c a t i o n C o n t r o l l e r   w i t h o u t   a f f e c t i n g   a n y   o f   i t s   p o d s .   U s i n g   k u b e c t l ,   s p e c i f y   t h e   - - c a s c a d e = o r p h a n   o p t i o n   t o   k u b e c t l   d e l e t e .   W h e n   u s i n g   t h e   R E S T   A P I   o r   c l i e n t   l i b r a r y ,   y o u   c a n   d e l e t e   t h e   R e p l i c a t i o n C o n t r o l l e r   o b j e c t .   O n c e   t h e   o r i g i n a l   i s   d e l e t e d ,   y o u   c a n   c r e a t e   a   n e w   R e p l i c a t i o n C o n t r o l l e r   t o   r e p l a c e   i t .   A s   l o n g   a s   t h e   o l d   a n d   n e w   . s p e c . s e l e c t o r   a r e   t h e   s a m e ,   t h e n   t h e   n e w   o n e   w i l l   a d o p t   t h e   o l d   p o d s .   H o w e v e r ,   i t   w i l l   n o t   m a k e   a n y   e f f o r t   t o   m a k e   e x i s t i n g   p o d s   m a t c h   a   n e w ,   d i f f e r e n t   p o d   t e m p l a t e .   T o   u p d a t e   p o d s   t o   a   n e w   s p e c   i n   a   c o n t r o l l e d   w a y ,   u s e   a   r o l l i n g   u p d a t e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_section_3_15386"
  },
  {
    "question": "What is Isolating pods from a ReplicationController?",
    "answer": "P o d s   m a y   b e   r e m o v e d   f r o m   a   R e p l i c a t i o n C o n t r o l l e r ' s   t a r g e t   s e t   b y   c h a n g i n g   t h e i r   l a b e l s .   T h i s   t e c h n i q u e   m a y   b e   u s e d   t o   r e m o v e   p o d s   f r o m   s e r v i c e   f o r   d e b u g g i n g   a n d   d a t a   r e c o v e r y .   P o d s   t h a t   a r e   r e m o v e d   i n   t h i s   w a y   w i l l   b e   r e p l a c e d   a u t o m a t i c a l l y   ( a s s u m i n g   t h a t   t h e   n u m b e r   o f   r e p l i c a s   i s   n o t   a l s o   c h a n g e d ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_section_3_15387"
  },
  {
    "question": "What is Rescheduling?",
    "answer": "A s   m e n t i o n e d   a b o v e ,   w h e t h e r   y o u   h a v e   1   p o d   y o u   w a n t   t o   k e e p   r u n n i n g ,   o r   1 0 0 0 ,   a   R e p l i c a t i o n C o n t r o l l e r   w i l l   e n s u r e   t h a t   t h e   s p e c i f i e d   n u m b e r   o f   p o d s   e x i s t s ,   e v e n   i n   t h e   e v e n t   o f   n o d e   f a i l u r e   o r   p o d   t e r m i n a t i o n   ( f o r   e x a m p l e ,   d u e   t o   a n   a c t i o n   b y   a n o t h e r   c o n t r o l   a g e n t ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_section_3_15388"
  },
  {
    "question": "What is Scaling?",
    "answer": "T h e   R e p l i c a t i o n C o n t r o l l e r   e n a b l e s   s c a l i n g   t h e   n u m b e r   o f   r e p l i c a s   u p   o r   d o w n ,   e i t h e r   m a n u a l l y   o r   b y   a n   a u t o - s c a l i n g   c o n t r o l   a g e n t ,   b y   u p d a t i n g   t h e   r e p l i c a s   f i e l d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_section_3_15389"
  },
  {
    "question": "What is Rolling updates?",
    "answer": "T h e   R e p l i c a t i o n C o n t r o l l e r   i s   d e s i g n e d   t o   f a c i l i t a t e   r o l l i n g   u p d a t e s   t o   a   s e r v i c e   b y   r e p l a c i n g   p o d s   o n e - b y - o n e .   A s   e x p l a i n e d   i n   # 1 3 5 3 ,   t h e   r e c o m m e n d e d   a p p r o a c h   i s   t o   c r e a t e   a   n e w   R e p l i c a t i o n C o n t r o l l e r   w i t h   1   r e p l i c a ,   s c a l e   t h e   n e w   ( + 1 )   a n d   o l d   ( - 1 )   c o n t r o l l e r s   o n e   b y   o n e ,   a n d   t h e n   d e l e t e   t h e   o l d   c o n t r o l l e r   a f t e r   i t   r e a c h e s   0   r e p l i c a s .   T h i s   p r e d i c t a b l y   u p d a t e s   t h e   s e t   o f   p o d s   r e g a r d l e s s   o f   u n e x p e c t e d   f a i l u r e s .   I d e a l l y ,   t h e   r o l l i n g   u p d a t e   c o n t r o l l e r   w o u l d   t a k e   a p p l i c a t i o n   r e a d i n e s s   i n t o   a c c o u n t ,   a n d   w o u l d   e n s u r e   t h a t   a   s u f f i c i e n t   n u m b e r   o f   p o d s   w e r e   p r o d u c t i v e l y   s e r v i n g   a t   a n y   g i v e n   t i m e .   T h e   t w o   R e p l i c a t i o n C o n t r o l l e r s   w o u l d   n e e d   t o   c r e a t e   p o d s   w i t h   a t   l e a s t   o n e   d i f f e r e n t i a t i n g   l a b e l ,   s u c h   a s   t h e   i m a g e   t a g   o f   t h e   p r i m a r y   c o n t a i n e r   o f   t h e   p o d ,   s i n c e   i t   i s   t y p i c a l l y   i m a g e   u p d a t e s   t h a t   m o t i v a t e   r o l l i n g   u p d a t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_section_3_15390"
  },
  {
    "question": "What is Multiple release tracks?",
    "answer": "I n   a d d i t i o n   t o   r u n n i n g   m u l t i p l e   r e l e a s e s   o f   a n   a p p l i c a t i o n   w h i l e   a   r o l l i n g   u p d a t e   i s   i n   p r o g r e s s ,   i t ' s   c o m m o n   t o   r u n   m u l t i p l e   r e l e a s e s   f o r   a n   e x t e n d e d   p e r i o d   o f   t i m e ,   o r   e v e n   c o n t i n u o u s l y ,   u s i n g   m u l t i p l e   r e l e a s e   t r a c k s .   T h e   t r a c k s   w o u l d   b e   d i f f e r e n t i a t e d   b y   l a b e l s .   F o r   i n s t a n c e ,   a   s e r v i c e   m i g h t   t a r g e t   a l l   p o d s   w i t h   t i e r   i n   ( f r o n t e n d ) ,   e n v i r o n m e n t   i n   ( p r o d ) .   N o w   s a y   y o u   h a v e   1 0   r e p l i c a t e d   p o d s   t h a t   m a k e   u p   t h i s   t i e r .   B u t   y o u   w a n t   t o   b e   a b l e   t o   ' c a n a r y '   a   n e w   v e r s i o n   o f   t h i s   c o m p o n e n t .   Y o u   c o u l d   s e t   u p   a   R e p l i c a t i o n C o n t r o l l e r   w i t h   r e p l i c a s   s e t   t o   9   f o r   t h e   b u l k   o f   t h e   r e p l i c a s ,   w i t h   l a b e l s   t i e r = f r o n t e n d ,   e n v i r o n m e n t = p r o d ,   t r a c k = s t a b l e ,   a n d   a n o t h e r   R e p l i c a t i o n C o n t r o l l e r   w i t h   r e p l i c a s   s e t   t o   1   f o r   t h e   c a n a r y ,   w i t h   l a b e l s   t i e r = f r o n t e n d ,   e n v i r o n m e n t = p r o d ,   t r a c k = c a n a r y .   N o w   t h e   s e r v i c e   i s   c o v e r i n g   b o t h   t h e   c a n a r y   a n d   n o n - c a n a r y   p o d s .   B u t   y o u   c a n   m e s s   w i t h   t h e   R e p l i c a t i o n C o n t r o l l e r s   s e p a r a t e l y   t o   t e s t   t h i n g s   o u t ,   m o n i t o r   t h e   r e s u l t s ,   e t c .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_section_3_15391"
  },
  {
    "question": "What is Using ReplicationControllers with Services?",
    "answer": "M u l t i p l e   R e p l i c a t i o n C o n t r o l l e r s   c a n   s i t   b e h i n d   a   s i n g l e   s e r v i c e ,   s o   t h a t ,   f o r   e x a m p l e ,   s o m e   t r a f f i c   g o e s   t o   t h e   o l d   v e r s i o n ,   a n d   s o m e   g o e s   t o   t h e   n e w   v e r s i o n .   A   R e p l i c a t i o n C o n t r o l l e r   w i l l   n e v e r   t e r m i n a t e   o n   i t s   o w n ,   b u t   i t   i s n ' t   e x p e c t e d   t o   b e   a s   l o n g - l i v e d   a s   s e r v i c e s .   S e r v i c e s   m a y   b e   c o m p o s e d   o f   p o d s   c o n t r o l l e d   b y   m u l t i p l e   R e p l i c a t i o n C o n t r o l l e r s ,   a n d   i t   i s   e x p e c t e d   t h a t   m a n y   R e p l i c a t i o n C o n t r o l l e r s   m a y   b e   c r e a t e d   a n d   d e s t r o y e d   o v e r   t h e   l i f e t i m e   o f   a   s e r v i c e   ( f o r   i n s t a n c e ,   t o   p e r f o r m   a n   u p d a t e   o f   p o d s   t h a t   r u n   t h e   s e r v i c e ) .   B o t h   s e r v i c e s   t h e m s e l v e s   a n d   t h e i r   c l i e n t s   s h o u l d   r e m a i n   o b l i v i o u s   t o   t h e   R e p l i c a t i o n C o n t r o l l e r s   t h a t   m a i n t a i n   t h e   p o d s   o f   t h e   s e r v i c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_section_3_15392"
  },
  {
    "question": "What is Writing programs for Replication?",
    "answer": "P o d s   c r e a t e d   b y   a   R e p l i c a t i o n C o n t r o l l e r   a r e   i n t e n d e d   t o   b e   f u n g i b l e   a n d   s e m a n t i c a l l y   i d e n t i c a l ,   t h o u g h   t h e i r   c o n f i g u r a t i o n s   m a y   b e c o m e   h e t e r o g e n e o u s   o v e r   t i m e .   T h i s   i s   a n   o b v i o u s   f i t   f o r   r e p l i c a t e d   s t a t e l e s s   s e r v e r s ,   b u t   R e p l i c a t i o n C o n t r o l l e r s   c a n   a l s o   b e   u s e d   t o   m a i n t a i n   a v a i l a b i l i t y   o f   m a s t e r - e l e c t e d ,   s h a r d e d ,   a n d   w o r k e r - p o o l   a p p l i c a t i o n s .   S u c h   a p p l i c a t i o n s   s h o u l d   u s e   d y n a m i c   w o r k   a s s i g n m e n t   m e c h a n i s m s ,   s u c h   a s   t h e   R a b b i t M Q   w o r k   q u e u e s ,   a s   o p p o s e d   t o   s t a t i c / o n e - t i m e   c u s t o m i z a t i o n   o f   t h e   c o n f i g u r a t i o n   o f   e a c h   p o d ,   w h i c h   i s   c o n s i d e r e d   a n   a n t i - p a t t e r n .   A n y   p o d   c u s t o m i z a t i o n   p e r f o r m e d ,   s u c h   a s   v e r t i c a l   a u t o - s i z i n g   o f   r e s o u r c e s   ( f o r   e x a m p l e ,   c p u   o r   m e m o r y ) ,   s h o u l d   b e   p e r f o r m e d   b y   a n o t h e r   o n l i n e   c o n t r o l l e r   p r o c e s s ,   n o t   u n l i k e   t h e   R e p l i c a t i o n C o n t r o l l e r   i t s e l f .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_section_2_15393"
  },
  {
    "question": "What is Responsibilities of the ReplicationController?",
    "answer": "T h e   R e p l i c a t i o n C o n t r o l l e r   e n s u r e s   t h a t   t h e   d e s i r e d   n u m b e r   o f   p o d s   m a t c h e s   i t s   l a b e l   s e l e c t o r   a n d   a r e   o p e r a t i o n a l .   C u r r e n t l y ,   o n l y   t e r m i n a t e d   p o d s   a r e   e x c l u d e d   f r o m   i t s   c o u n t .   I n   t h e   f u t u r e ,   r e a d i n e s s   a n d   o t h e r   i n f o r m a t i o n   a v a i l a b l e   f r o m   t h e   s y s t e m   m a y   b e   t a k e n   i n t o   a c c o u n t ,   w e   m a y   a d d   m o r e   c o n t r o l s   o v e r   t h e   r e p l a c e m e n t   p o l i c y ,   a n d   w e   p l a n   t o   e m i t   e v e n t s   t h a t   c o u l d   b e   u s e d   b y   e x t e r n a l   c l i e n t s   t o   i m p l e m e n t   a r b i t r a r i l y   s o p h i s t i c a t e d   r e p l a c e m e n t   a n d / o r   s c a l e - d o w n   p o l i c i e s .   T h e   R e p l i c a t i o n C o n t r o l l e r   i s   f o r e v e r   c o n s t r a i n e d   t o   t h i s   n a r r o w   r e s p o n s i b i l i t y .   I t   i t s e l f   w i l l   n o t   p e r f o r m   r e a d i n e s s   n o r   l i v e n e s s   p r o b e s .   R a t h e r   t h a n   p e r f o r m i n g   a u t o - s c a l i n g ,   i t   i s   i n t e n d e d   t o   b e   c o n t r o l l e d   b y   a n   e x t e r n a l   a u t o - s c a l e r   ( a s   d i s c u s s e d   i n   # 4 9 2 ) ,   w h i c h   w o u l d   c h a n g e   i t s   r e p l i c a s   f i e l d .   W e   w i l l   n o t   a d d   s c h e d u l i n g   p o l i c i e s   ( f o r   e x a m p l e ,   s p r e a d i n g )   t o   t h e   R e p l i c a t i o n C o n t r o l l e r .   N o r   s h o u l d   i t   v e r i f y   t h a t   t h e   p o d s   c o n t r o l l e d   m a t c h   t h e   c u r r e n t l y   s p e c i f i e d   t e m p l a t e ,   a s   t h a t   w o u l d   o b s t r u c t   a u t o - s i z i n g   a n d   o t h e r   a u t o m a t ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_section_2_15394"
  },
  {
    "question": "What is API Object?",
    "answer": "R e p l i c a t i o n   c o n t r o l l e r   i s   a   t o p - l e v e l   r e s o u r c e   i n   t h e   K u b e r n e t e s   R E S T   A P I .   M o r e   d e t a i l s   a b o u t   t h e   A P I   o b j e c t   c a n   b e   f o u n d   a t :   R e p l i c a t i o n C o n t r o l l e r   A P I   o b j e c t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_section_2_15395"
  },
  {
    "question": "What is ReplicaSet?",
    "answer": "R e p l i c a S e t   i s   t h e   n e x t - g e n e r a t i o n   R e p l i c a t i o n C o n t r o l l e r   t h a t   s u p p o r t s   t h e   n e w   s e t - b a s e d   l a b e l   s e l e c t o r .   I t ' s   m a i n l y   u s e d   b y   D e p l o y m e n t   a s   a   m e c h a n i s m   t o   o r c h e s t r a t e   p o d   c r e a t i o n ,   d e l e t i o n   a n d   u p d a t e s .   N o t e   t h a t   w e   r e c o m m e n d   u s i n g   D e p l o y m e n t s   i n s t e a d   o f   d i r e c t l y   u s i n g   R e p l i c a   S e t s ,   u n l e s s   y o u   r e q u i r e   c u s t o m   u p d a t e   o r c h e s t r a t i o n   o r   d o n ' t   r e q u i r e   u p d a t e s   a t   a l l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_section_3_15396"
  },
  {
    "question": "What is Deployment (Recommended)?",
    "answer": "D e p l o y m e n t   i s   a   h i g h e r - l e v e l   A P I   o b j e c t   t h a t   u p d a t e s   i t s   u n d e r l y i n g   R e p l i c a   S e t s   a n d   t h e i r   P o d s .   D e p l o y m e n t s   a r e   r e c o m m e n d e d   i f   y o u   w a n t   t h e   r o l l i n g   u p d a t e   f u n c t i o n a l i t y ,   b e c a u s e   t h e y   a r e   d e c l a r a t i v e ,   s e r v e r - s i d e ,   a n d   h a v e   a d d i t i o n a l   f e a t u r e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_section_3_15397"
  },
  {
    "question": "What is Bare Pods?",
    "answer": "U n l i k e   i n   t h e   c a s e   w h e r e   a   u s e r   d i r e c t l y   c r e a t e d   p o d s ,   a   R e p l i c a t i o n C o n t r o l l e r   r e p l a c e s   p o d s   t h a t   a r e   d e l e t e d   o r   t e r m i n a t e d   f o r   a n y   r e a s o n ,   s u c h   a s   i n   t h e   c a s e   o f   n o d e   f a i l u r e   o r   d i s r u p t i v e   n o d e   m a i n t e n a n c e ,   s u c h   a s   a   k e r n e l   u p g r a d e .   F o r   t h i s   r e a s o n ,   w e   r e c o m m e n d   t h a t   y o u   u s e   a   R e p l i c a t i o n C o n t r o l l e r   e v e n   i f   y o u r   a p p l i c a t i o n   r e q u i r e s   o n l y   a   s i n g l e   p o d .   T h i n k   o f   i t   s i m i l a r l y   t o   a   p r o c e s s   s u p e r v i s o r ,   o n l y   i t   s u p e r v i s e s   m u l t i p l e   p o d s   a c r o s s   m u l t i p l e   n o d e s   i n s t e a d   o f   i n d i v i d u a l   p r o c e s s e s   o n   a   s i n g l e   n o d e .   A   R e p l i c a t i o n C o n t r o l l e r   d e l e g a t e s   l o c a l   c o n t a i n e r   r e s t a r t s   t o   s o m e   a g e n t   o n   t h e   n o d e ,   s u c h   a s   t h e   k u b e l e t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_section_3_15398"
  },
  {
    "question": "What is Job?",
    "answer": "U s e   a   J o b   i n s t e a d   o f   a   R e p l i c a t i o n C o n t r o l l e r   f o r   p o d s   t h a t   a r e   e x p e c t e d   t o   t e r m i n a t e   o n   t h e i r   o w n   ( t h a t   i s ,   b a t c h   j o b s ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_section_3_15399"
  },
  {
    "question": "What is DaemonSet?",
    "answer": "U s e   a   D a e m o n S e t   i n s t e a d   o f   a   R e p l i c a t i o n C o n t r o l l e r   f o r   p o d s   t h a t   p r o v i d e   a   m a c h i n e - l e v e l   f u n c t i o n ,   s u c h   a s   m a c h i n e   m o n i t o r i n g   o r   m a c h i n e   l o g g i n g .   T h e s e   p o d s   h a v e   a   l i f e t i m e   t h a t   i s   t i e d   t o   a   m a c h i n e   l i f e t i m e :   t h e   p o d   n e e d s   t o   b e   r u n n i n g   o n   t h e   m a c h i n e   b e f o r e   o t h e r   p o d s   s t a r t ,   a n d   a r e   s a f e   t o   t e r m i n a t e   w h e n   t h e   m a c h i n e   i s   o t h e r w i s e   r e a d y   t o   b e   r e b o o t e d / s h u t d o w n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_section_3_15400"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   P o d s . L e a r n   a b o u t   D e p l o y m e n t ,   t h e   r e p l a c e m e n t   f o r   R e p l i c a t i o n C o n t r o l l e r . R e p l i c a t i o n C o n t r o l l e r   i s   p a r t   o f   t h e   K u b e r n e t e s   R E S T   A P I .   R e a d   t h e   R e p l i c a t i o n C o n t r o l l e r   o b j e c t   d e f i n i t i o n   t o   u n d e r s t a n d   t h e   A P I   f o r   r e p l i c a t i o n   c o n t r o l l e r s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/",
    "id": "k8s_00695_section_2_15401"
  },
  {
    "question": "What is ComponentStatus?",
    "answer": "ComponentStatusComponentStatus (and ComponentStatusList) holds the cluster validation info.apiVersion: v1import \"k8s.io/api/core/v1\"ComponentStatusComponentStatus (and ComponentStatusList) holds the cluster validation info. Deprecated: This API is deprecated in v1.19+apiVersion: v1kind: ComponentStatusmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataconditions ([]ComponentCondition)Patch strategy: merge on key typeMap: unique values on key type will be kept during a mergeList of component conditions observedInformation about the condition of a component.conditions.status (string), requiredStatus of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\".conditions.type (string), requiredType of condition for a component. Valid value: \"Healthy\"conditions.error (string)Condition error code for a component. For example, a health check error code.conditions.message (string)Message about the condition for a component. For example, information about a health check.ComponentStatusListStatus of all the conditions for the component as a list of ComponentStatus objects. Deprecated: This API is deprecated in v1.19+apiVersion: v1kind: ComponentStatusListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems ([]ComponentStatus), requiredList of ComponentStatus objects.Operationsget read the specified ComponentStatusHTTP RequestGET /api/v1/componentstatuses/{name}Parametersname (in path): string, requiredname of the ComponentStatuspretty (in query): stringprettyResponse200 (ComponentStatus): OK401: Unauthorizedlist list objects of kind ComponentStatusHTTP RequestGET /api/v1/componentstatusesParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (ComponentStatusList): OK401: UnauthorizedThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/component-status-v1/",
    "id": "k8s_00696_qa_15402"
  },
  {
    "question": "How does ComponentStatus work?",
    "answer": "ComponentStatusComponentStatus (and ComponentStatusList) holds the cluster validation info.apiVersion: v1import \"k8s.io/api/core/v1\"ComponentStatusComponentStatus (and ComponentStatusList) holds the cluster validation info. Deprecated: This API is deprecated in v1.19+apiVersion: v1kind: ComponentStatusmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataconditions ([]ComponentCondition)Patch strategy: merge on key typeMap: unique values on key type will be kept during a mergeList of component conditions observedInformation about the condition of a component.conditions.status (string), requiredStatus of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\".conditions.type (string), requiredType of condition for a component. Valid value: \"Healthy\"conditions.error (string)Condition error code for a component. For example, a health check error code.conditions.message (string)Message about the condition for a component. For example, information about a health check.ComponentStatusListStatus of all the conditions for the component as a list of ComponentStatus objects. Deprecated: This API is deprecated in v1.19+apiVersion: v1kind: ComponentStatusListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems ([]ComponentStatus), requiredList of ComponentStatus objects.Operationsget read the specified ComponentStatusHTTP RequestGET /api/v1/componentstatuses/{name}Parametersname (in path): string, requiredname of the ComponentStatuspretty (in query): stringprettyResponse200 (ComponentStatus): OK401: Unauthorizedlist list objects of kind ComponentStatusHTTP RequestGET /api/v1/componentstatusesParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (ComponentStatusList): OK401: UnauthorizedThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/component-status-v1/",
    "id": "k8s_00696_qa_15403"
  },
  {
    "question": "When would you use ComponentStatus?",
    "answer": "ComponentStatusComponentStatus (and ComponentStatusList) holds the cluster validation info.apiVersion: v1import \"k8s.io/api/core/v1\"ComponentStatusComponentStatus (and ComponentStatusList) holds the cluster validation info. Deprecated: This API is deprecated in v1.19+apiVersion: v1kind: ComponentStatusmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataconditions ([]ComponentCondition)Patch strategy: merge on key typeMap: unique values on key type will be kept during a mergeList of component conditions observedInformation about the condition of a component.conditions.status (string), requiredStatus of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\".conditions.type (string), requiredType of condition for a component. Valid value: \"Healthy\"conditions.error (string)Condition error code for a component. For example, a health check error code.conditions.message (string)Message about the condition for a component. For example, information about a health check.ComponentStatusListStatus of all the conditions for the component as a list of ComponentStatus objects. Deprecated: This API is deprecated in v1.19+apiVersion: v1kind: ComponentStatusListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems ([]ComponentStatus), requiredList of ComponentStatus objects.Operationsget read the specified ComponentStatusHTTP RequestGET /api/v1/componentstatuses/{name}Parametersname (in path): string, requiredname of the ComponentStatuspretty (in query): stringprettyResponse200 (ComponentStatus): OK401: Unauthorizedlist list objects of kind ComponentStatusHTTP RequestGET /api/v1/componentstatusesParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (ComponentStatusList): OK401: UnauthorizedThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/component-status-v1/",
    "id": "k8s_00696_qa_15404"
  },
  {
    "question": "What are the benefits of ComponentStatus?",
    "answer": "ComponentStatusComponentStatus (and ComponentStatusList) holds the cluster validation info.apiVersion: v1import \"k8s.io/api/core/v1\"ComponentStatusComponentStatus (and ComponentStatusList) holds the cluster validation info. Deprecated: This API is deprecated in v1.19+apiVersion: v1kind: ComponentStatusmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataconditions ([]ComponentCondition)Patch strategy: merge on key typeMap: unique values on key type will be kept during a mergeList of component conditions observedInformation about the condition of a component.conditions.status (string), requiredStatus of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\".conditions.type (string), requiredType of condition for a component. Valid value: \"Healthy\"conditions.error (string)Condition error code for a component. For example, a health check error code.conditions.message (string)Message about the condition for a component. For example, information about a health check.ComponentStatusListStatus of all the conditions for the component as a list of ComponentStatus objects. Deprecated: This API is deprecated in v1.19+apiVersion: v1kind: ComponentStatusListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems ([]ComponentStatus), requiredList of ComponentStatus objects.Operationsget read the specified ComponentStatusHTTP RequestGET /api/v1/componentstatuses/{name}Parametersname (in path): string, requiredname of the ComponentStatuspretty (in query): stringprettyResponse200 (ComponentStatus): OK401: Unauthorizedlist list objects of kind ComponentStatusHTTP RequestGET /api/v1/componentstatusesParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (ComponentStatusList): OK401: UnauthorizedThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/component-status-v1/",
    "id": "k8s_00696_qa_15405"
  },
  {
    "question": "What is ComponentStatus?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/component-status-v1/",
    "id": "k8s_00696_section_1_15406"
  },
  {
    "question": "What is ComponentStatus?",
    "answer": "C o m p o n e n t S t a t u s   ( a n d   C o m p o n e n t S t a t u s L i s t )   h o l d s   t h e   c l u s t e r   v a l i d a t i o n   i n f o .   D e p r e c a t e d :   T h i s   A P I   i s   d e p r e c a t e d   i n   v 1 . 1 9 +   a p i V e r s i o n :   v 1 k i n d :   C o m p o n e n t S t a t u s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a c o n d i t i o n s   ( [ ] C o m p o n e n t C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e L i s t   o f   c o m p o n e n t   c o n d i t i o n s   o b s e r v e d I n f o r m a t i o n   a b o u t   t h e   c o n d i t i o n   o f   a   c o m p o n e n t . c o n d i t i o n s . s t a t u s   ( s t r i n g ) ,   r e q u i r e d S t a t u s   o f   t h e   c o n d i t i o n   f o r   a   c o m p o n e n t .   V a l i d   v a l u e s   f o r   \" H e a l t h y \" :   \" T r u e \" ,   \" F a l s e \" ,   o r   \" U n k n o w n \" . c o n d i t i o n s . t y p e   ( s t r i n g ) ,   r e q u i r e d T y p e   o f   c o n d i t i o n   f o r   a   c o m p o n e n t .   V a l i d   v a l u e :   \" H e a l t h y \" c o n d i t i o n s . e r r o r   ( s t r i n g ) C o n d i t i o n   e r r o r   c o d e   f o r   a   c o m p o n e n t .   F o r   e x a m p l e ,   a   h e a l t h   c h e c k   e r r o r   c o d e . c o n d i t i o n s . m e s s a g e   ( s t r i n g ) M e s s a g e   a b o u t   t h e   c o n d i t i o n   f o r   a   c o m p o n e n t .   F o r   e x a m p l e ,   i n f o r m a t i o n   a b o u t   a   h e a l t h   c h e c k .   a p i V e r s i o n :   v 1   k i n d :   C o m p o n e n t S t a t u s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/component-status-v1/",
    "id": "k8s_00696_section_2_15407"
  },
  {
    "question": "What is ComponentStatusList?",
    "answer": "S t a t u s   o f   a l l   t h e   c o n d i t i o n s   f o r   t h e   c o m p o n e n t   a s   a   l i s t   o f   C o m p o n e n t S t a t u s   o b j e c t s .   D e p r e c a t e d :   T h i s   A P I   i s   d e p r e c a t e d   i n   v 1 . 1 9 +   a p i V e r s i o n :   v 1 k i n d :   C o m p o n e n t S t a t u s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] C o m p o n e n t S t a t u s ) ,   r e q u i r e d L i s t   o f   C o m p o n e n t S t a t u s   o b j e c t s .   a p i V e r s i o n :   v 1   k i n d :   C o m p o n e n t S t a t u s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] C o m p o n e n t S t a t u s ) ,   r e q u i r e d   L i s t   o f   C o m p o n e n t S t a t u s   o b j e c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/component-status-v1/",
    "id": "k8s_00696_section_2_15408"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / c o m p o n e n t s t a t u s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/component-status-v1/",
    "id": "k8s_00696_section_4_15409"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o m p o n e n t S t a t u s p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o m p o n e n t S t a t u s   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/component-status-v1/",
    "id": "k8s_00696_section_4_15410"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o m p o n e n t S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/component-status-v1/",
    "id": "k8s_00696_section_4_15411"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / c o m p o n e n t s t a t u s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/component-status-v1/",
    "id": "k8s_00696_section_4_15412"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/component-status-v1/",
    "id": "k8s_00696_section_4_15413"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o m p o n e n t S t a t u s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/component-status-v1/",
    "id": "k8s_00696_section_4_15414"
  },
  {
    "question": "What is Configure Quality of Service for Pods?",
    "answer": "Configure Quality of Service for PodsThis page shows how to configure Pods so that they will be assigned particular Quality of Service (QoS) classes. Kubernetes uses QoS classes to make decisions about evicting Pods when Node resources are exceeded.When Kubernetes creates a Pod it assigns one of these QoS classes to the Pod:GuaranteedBurstableBestEffortBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou also need to be able to create and delete namespaces.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace qos-example Create a Pod that gets assigned a QoS class of GuaranteedFor a Pod to be given a QoS class of Guaranteed:Every Container in the Pod must have a memory limit and a memory request.For every Container in the Pod, the memory limit must equal the memory request.Every Container in the Pod must have a CPU limit and a CPU request.For every Container in the Pod, the CPU limit must equal the CPU request.These restrictions apply to init containers and app containers equally. Ephemeral containers cannot define resources so these restrictions do not apply.Here is a manifest for a Pod that has one Container. The Container has a memory limit and a memory request, both equal to 200 MiB. The Container has a CPU limit and a CPU request, both equal to 700 milliCPU:pods/qos/qos-pod.yaml apiVersion: v1 kind: Pod metadata: name: qos-demo namespace: qos-example spec: containers: - name: qos-demo-ctr image: nginx resources: limits: memory: \"200Mi\" cpu: \"700m\" requests: memory: \"200Mi\" cpu: \"700m\" Create the Pod:kubectl apply -f https://k8s.io/examples/pods/qos/qos-pod.yaml --namespace=qos-example View detailed information about the Pod:kubectl get pod qos-demo --namespace=qos-example --output=yaml The output shows that Kubernetes gave the Pod a QoS class of Guaranteed. The output also verifies that the Pod Container has a memory request that matches its memory limit, and it has a CPU request that matches its CPU limit.spec: containers: ... resources: limits: cpu: 700m memory: 200Mi requests: cpu: 700m memory: 200Mi ... status: qosClass: Guaranteed Note:If a Container specifies its own memory limit, but does not specify a memory request, Kubernetes automatically assigns a memory request that matches the limit. Similarly, if a Container specifies its own CPU limit, but does not specify a CPU request, Kubernetes automatically assigns a CPU request that matches the limit.Clean upDelete your Pod:kubectl delete pod qos-demo --namespace=qos-example Create a Pod that gets assigne",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/",
    "id": "k8s_00697_qa_15415"
  },
  {
    "question": "How does Configure Quality of Service for Pods work?",
    "answer": "Configure Quality of Service for PodsThis page shows how to configure Pods so that they will be assigned particular Quality of Service (QoS) classes. Kubernetes uses QoS classes to make decisions about evicting Pods when Node resources are exceeded.When Kubernetes creates a Pod it assigns one of these QoS classes to the Pod:GuaranteedBurstableBestEffortBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou also need to be able to create and delete namespaces.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace qos-example Create a Pod that gets assigned a QoS class of GuaranteedFor a Pod to be given a QoS class of Guaranteed:Every Container in the Pod must have a memory limit and a memory request.For every Container in the Pod, the memory limit must equal the memory request.Every Container in the Pod must have a CPU limit and a CPU request.For every Container in the Pod, the CPU limit must equal the CPU request.These restrictions apply to init containers and app containers equally. Ephemeral containers cannot define resources so these restrictions do not apply.Here is a manifest for a Pod that has one Container. The Container has a memory limit and a memory request, both equal to 200 MiB. The Container has a CPU limit and a CPU request, both equal to 700 milliCPU:pods/qos/qos-pod.yaml apiVersion: v1 kind: Pod metadata: name: qos-demo namespace: qos-example spec: containers: - name: qos-demo-ctr image: nginx resources: limits: memory: \"200Mi\" cpu: \"700m\" requests: memory: \"200Mi\" cpu: \"700m\" Create the Pod:kubectl apply -f https://k8s.io/examples/pods/qos/qos-pod.yaml --namespace=qos-example View detailed information about the Pod:kubectl get pod qos-demo --namespace=qos-example --output=yaml The output shows that Kubernetes gave the Pod a QoS class of Guaranteed. The output also verifies that the Pod Container has a memory request that matches its memory limit, and it has a CPU request that matches its CPU limit.spec: containers: ... resources: limits: cpu: 700m memory: 200Mi requests: cpu: 700m memory: 200Mi ... status: qosClass: Guaranteed Note:If a Container specifies its own memory limit, but does not specify a memory request, Kubernetes automatically assigns a memory request that matches the limit. Similarly, if a Container specifies its own CPU limit, but does not specify a CPU request, Kubernetes automatically assigns a CPU request that matches the limit.Clean upDelete your Pod:kubectl delete pod qos-demo --namespace=qos-example Create a Pod that gets assigne",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/",
    "id": "k8s_00697_qa_15416"
  },
  {
    "question": "When would you use Configure Quality of Service for Pods?",
    "answer": "Configure Quality of Service for PodsThis page shows how to configure Pods so that they will be assigned particular Quality of Service (QoS) classes. Kubernetes uses QoS classes to make decisions about evicting Pods when Node resources are exceeded.When Kubernetes creates a Pod it assigns one of these QoS classes to the Pod:GuaranteedBurstableBestEffortBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou also need to be able to create and delete namespaces.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace qos-example Create a Pod that gets assigned a QoS class of GuaranteedFor a Pod to be given a QoS class of Guaranteed:Every Container in the Pod must have a memory limit and a memory request.For every Container in the Pod, the memory limit must equal the memory request.Every Container in the Pod must have a CPU limit and a CPU request.For every Container in the Pod, the CPU limit must equal the CPU request.These restrictions apply to init containers and app containers equally. Ephemeral containers cannot define resources so these restrictions do not apply.Here is a manifest for a Pod that has one Container. The Container has a memory limit and a memory request, both equal to 200 MiB. The Container has a CPU limit and a CPU request, both equal to 700 milliCPU:pods/qos/qos-pod.yaml apiVersion: v1 kind: Pod metadata: name: qos-demo namespace: qos-example spec: containers: - name: qos-demo-ctr image: nginx resources: limits: memory: \"200Mi\" cpu: \"700m\" requests: memory: \"200Mi\" cpu: \"700m\" Create the Pod:kubectl apply -f https://k8s.io/examples/pods/qos/qos-pod.yaml --namespace=qos-example View detailed information about the Pod:kubectl get pod qos-demo --namespace=qos-example --output=yaml The output shows that Kubernetes gave the Pod a QoS class of Guaranteed. The output also verifies that the Pod Container has a memory request that matches its memory limit, and it has a CPU request that matches its CPU limit.spec: containers: ... resources: limits: cpu: 700m memory: 200Mi requests: cpu: 700m memory: 200Mi ... status: qosClass: Guaranteed Note:If a Container specifies its own memory limit, but does not specify a memory request, Kubernetes automatically assigns a memory request that matches the limit. Similarly, if a Container specifies its own CPU limit, but does not specify a CPU request, Kubernetes automatically assigns a CPU request that matches the limit.Clean upDelete your Pod:kubectl delete pod qos-demo --namespace=qos-example Create a Pod that gets assigne",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/",
    "id": "k8s_00697_qa_15417"
  },
  {
    "question": "What are the benefits of Configure Quality of Service for Pods?",
    "answer": "Configure Quality of Service for PodsThis page shows how to configure Pods so that they will be assigned particular Quality of Service (QoS) classes. Kubernetes uses QoS classes to make decisions about evicting Pods when Node resources are exceeded.When Kubernetes creates a Pod it assigns one of these QoS classes to the Pod:GuaranteedBurstableBestEffortBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou also need to be able to create and delete namespaces.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace qos-example Create a Pod that gets assigned a QoS class of GuaranteedFor a Pod to be given a QoS class of Guaranteed:Every Container in the Pod must have a memory limit and a memory request.For every Container in the Pod, the memory limit must equal the memory request.Every Container in the Pod must have a CPU limit and a CPU request.For every Container in the Pod, the CPU limit must equal the CPU request.These restrictions apply to init containers and app containers equally. Ephemeral containers cannot define resources so these restrictions do not apply.Here is a manifest for a Pod that has one Container. The Container has a memory limit and a memory request, both equal to 200 MiB. The Container has a CPU limit and a CPU request, both equal to 700 milliCPU:pods/qos/qos-pod.yaml apiVersion: v1 kind: Pod metadata: name: qos-demo namespace: qos-example spec: containers: - name: qos-demo-ctr image: nginx resources: limits: memory: \"200Mi\" cpu: \"700m\" requests: memory: \"200Mi\" cpu: \"700m\" Create the Pod:kubectl apply -f https://k8s.io/examples/pods/qos/qos-pod.yaml --namespace=qos-example View detailed information about the Pod:kubectl get pod qos-demo --namespace=qos-example --output=yaml The output shows that Kubernetes gave the Pod a QoS class of Guaranteed. The output also verifies that the Pod Container has a memory request that matches its memory limit, and it has a CPU request that matches its CPU limit.spec: containers: ... resources: limits: cpu: 700m memory: 200Mi requests: cpu: 700m memory: 200Mi ... status: qosClass: Guaranteed Note:If a Container specifies its own memory limit, but does not specify a memory request, Kubernetes automatically assigns a memory request that matches the limit. Similarly, if a Container specifies its own CPU limit, but does not specify a CPU request, Kubernetes automatically assigns a CPU request that matches the limit.Clean upDelete your Pod:kubectl delete pod qos-demo --namespace=qos-example Create a Pod that gets assigne",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/",
    "id": "k8s_00697_qa_15418"
  },
  {
    "question": "What is Configure Quality of Service for Pods?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   P o d s   s o   t h a t   t h e y   w i l l   b e   a s s i g n e d   p a r t i c u l a r   Q u a l i t y   o f   S e r v i c e   ( Q o S )   c l a s s e s .   K u b e r n e t e s   u s e s   Q o S   c l a s s e s   t o   m a k e   d e c i s i o n s   a b o u t   e v i c t i n g   P o d s   w h e n   N o d e   r e s o u r c e s   a r e   e x c e e d e d .   W h e n   K u b e r n e t e s   c r e a t e s   a   P o d   i t   a s s i g n s   o n e   o f   t h e s e   Q o S   c l a s s e s   t o   t h e   P o d :   G u a r a n t e e d B u r s t a b l e B e s t E f f o r t",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/",
    "id": "k8s_00697_section_1_15419"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   a l s o   n e e d   t o   b e   a b l e   t o   c r e a t e   a n d   d e l e t e   n a m e s p a c e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/",
    "id": "k8s_00697_section_2_15420"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   n a m e s p a c e   s o   t h a t   t h e   r e s o u r c e s   y o u   c r e a t e   i n   t h i s   e x e r c i s e   a r e   i s o l a t e d   f r o m   t h e   r e s t   o f   y o u r   c l u s t e r .   k u b e c t l   c r e a t e   n a m e s p a c e   q o s - e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/",
    "id": "k8s_00697_section_2_15421"
  },
  {
    "question": "What is Create a Pod that gets assigned a QoS class of Guaranteed?",
    "answer": "F o r   a   P o d   t o   b e   g i v e n   a   Q o S   c l a s s   o f   G u a r a n t e e d :   E v e r y   C o n t a i n e r   i n   t h e   P o d   m u s t   h a v e   a   m e m o r y   l i m i t   a n d   a   m e m o r y   r e q u e s t . F o r   e v e r y   C o n t a i n e r   i n   t h e   P o d ,   t h e   m e m o r y   l i m i t   m u s t   e q u a l   t h e   m e m o r y   r e q u e s t . E v e r y   C o n t a i n e r   i n   t h e   P o d   m u s t   h a v e   a   C P U   l i m i t   a n d   a   C P U   r e q u e s t . F o r   e v e r y   C o n t a i n e r   i n   t h e   P o d ,   t h e   C P U   l i m i t   m u s t   e q u a l   t h e   C P U   r e q u e s t .   T h e s e   r e s t r i c t i o n s   a p p l y   t o   i n i t   c o n t a i n e r s   a n d   a p p   c o n t a i n e r s   e q u a l l y .   E p h e m e r a l   c o n t a i n e r s   c a n n o t   d e f i n e   r e s o u r c e s   s o   t h e s e   r e s t r i c t i o n s   d o   n o t   a p p l y .   H e r e   i s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   T h e   C o n t a i n e r   h a s   a   m e m o r y   l i m i t   a n d   a   m e m o r y   r e q u e s t ,   b o t h   e q u a l   t o   2 0 0   M i B .   T h e   C o n t a i n e r   h a s   a   C P U   l i m i t   a n d   a   C P U   r e q u e s t ,   b o t h   e q u a l   t o   7 0 0   m i l l i C P U :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   q o s - d e m o   n a m e s p a c e :   q o s - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   q o s - d e m o - c t r   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 2 0 0 M i \"   c p u :   \" 7 0 0 m \"   r e q u e s t s :   m e m o r y :   \" 2 0 0 M i \"   c p u :   \" 7 0 0 m \"   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / q o s / q o s - p o d . y a m l   - - n a m e s p ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/",
    "id": "k8s_00697_section_2_15422"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   P o d :   k u b e c t l   d e l e t e   p o d   q o s - d e m o   - - n a m e s p a c e = q o s - e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/",
    "id": "k8s_00697_section_4_15423"
  },
  {
    "question": "What is Create a Pod that gets assigned a QoS class of Burstable?",
    "answer": "A   P o d   i s   g i v e n   a   Q o S   c l a s s   o f   B u r s t a b l e   i f :   T h e   P o d   d o e s   n o t   m e e t   t h e   c r i t e r i a   f o r   Q o S   c l a s s   G u a r a n t e e d . A t   l e a s t   o n e   C o n t a i n e r   i n   t h e   P o d   h a s   a   m e m o r y   o r   C P U   r e q u e s t   o r   l i m i t .   H e r e   i s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   T h e   C o n t a i n e r   h a s   a   m e m o r y   l i m i t   o f   2 0 0   M i B   a n d   a   m e m o r y   r e q u e s t   o f   1 0 0   M i B .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   q o s - d e m o - 2   n a m e s p a c e :   q o s - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   q o s - d e m o - 2 - c t r   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 2 0 0 M i \"   r e q u e s t s :   m e m o r y :   \" 1 0 0 M i \"   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / q o s / q o s - p o d - 2 . y a m l   - - n a m e s p a c e = q o s - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   P o d :   k u b e c t l   g e t   p o d   q o s - d e m o - 2   - - n a m e s p a c e = q o s - e x a m p l e   - - o u t p u t = y a m l   T h e   o u t p u t   s h o w s   t h a t   K u b e r n e t e s   g a v e   t h e   P o d   a   Q o S   c l a s s   o f   B u r s t a b l e :   s p e c :   c o n t a i n e r s :   -   i m a g e :   n g i n x   i m a g e P u l l P o l i c y :   A l w a y s   n a m e :   q o s - d e m o - 2 - c t r   r e s o u r c e s :   l i m i t s :   m e m o r y :   2 0 0 M i   r e q u e s t s :   m e m o r y :   1 0 0 M i   . . .   s t a t u s :   q o s C l a s s :   B u r s t a b l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/",
    "id": "k8s_00697_section_2_15424"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   P o d :   k u b e c t l   d e l e t e   p o d   q o s - d e m o - 2   - - n a m e s p a c e = q o s - e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/",
    "id": "k8s_00697_section_4_15425"
  },
  {
    "question": "What is Create a Pod that gets assigned a QoS class of BestEffort?",
    "answer": "F o r   a   P o d   t o   b e   g i v e n   a   Q o S   c l a s s   o f   B e s t E f f o r t ,   t h e   C o n t a i n e r s   i n   t h e   P o d   m u s t   n o t   h a v e   a n y   m e m o r y   o r   C P U   l i m i t s   o r   r e q u e s t s .   H e r e   i s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   T h e   C o n t a i n e r   h a s   n o   m e m o r y   o r   C P U   l i m i t s   o r   r e q u e s t s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   q o s - d e m o - 3   n a m e s p a c e :   q o s - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   q o s - d e m o - 3 - c t r   i m a g e :   n g i n x   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / q o s / q o s - p o d - 3 . y a m l   - - n a m e s p a c e = q o s - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   P o d :   k u b e c t l   g e t   p o d   q o s - d e m o - 3   - - n a m e s p a c e = q o s - e x a m p l e   - - o u t p u t = y a m l   T h e   o u t p u t   s h o w s   t h a t   K u b e r n e t e s   g a v e   t h e   P o d   a   Q o S   c l a s s   o f   B e s t E f f o r t :   s p e c :   c o n t a i n e r s :   . . .   r e s o u r c e s :   { }   . . .   s t a t u s :   q o s C l a s s :   B e s t E f f o r t",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/",
    "id": "k8s_00697_section_2_15426"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   P o d :   k u b e c t l   d e l e t e   p o d   q o s - d e m o - 3   - - n a m e s p a c e = q o s - e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/",
    "id": "k8s_00697_section_4_15427"
  },
  {
    "question": "What is Create a Pod that has two Containers?",
    "answer": "H e r e   i s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   t w o   C o n t a i n e r s .   O n e   c o n t a i n e r   s p e c i f i e s   a   m e m o r y   r e q u e s t   o f   2 0 0   M i B .   T h e   o t h e r   C o n t a i n e r   d o e s   n o t   s p e c i f y   a n y   r e q u e s t s   o r   l i m i t s .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   q o s - d e m o - 4   n a m e s p a c e :   q o s - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   q o s - d e m o - 4 - c t r - 1   i m a g e :   n g i n x   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 2 0 0 M i \"   -   n a m e :   q o s - d e m o - 4 - c t r - 2   i m a g e :   r e d i s   N o t i c e   t h a t   t h i s   P o d   m e e t s   t h e   c r i t e r i a   f o r   Q o S   c l a s s   B u r s t a b l e .   T h a t   i s ,   i t   d o e s   n o t   m e e t   t h e   c r i t e r i a   f o r   Q o S   c l a s s   G u a r a n t e e d ,   a n d   o n e   o f   i t s   C o n t a i n e r s   h a s   a   m e m o r y   r e q u e s t .   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / q o s / q o s - p o d - 4 . y a m l   - - n a m e s p a c e = q o s - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   P o d :   k u b e c t l   g e t   p o d   q o s - d e m o - 4   - - n a m e s p a c e = q o s - e x a m p l e   - - o u t p u t = y a m l   T h e   o u t p u t   s h o w s   t h a t   K u b e r n e t e s   g a v e   t h e   P o d   a   Q o S   c l a s s   o f   B u r s t a b l e :   s p e c :   c o n t a i n e r s :   . . .   n a m e :   q o s - d e m o - 4 - c t r - 1   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   2 0 0 M i   . . .   n a m e :   q o s - d e m o - 4 - c t r - 2   r e s o u r c e s :   { }   . . .   s t a t u s :   q o s C l a s s :   B u r s t a b l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/",
    "id": "k8s_00697_section_2_15428"
  },
  {
    "question": "What is Retrieve the QoS class for a Pod?",
    "answer": "R a t h e r   t h a n   s e e   a l l   t h e   f i e l d s ,   y o u   c a n   v i e w   j u s t   t h e   f i e l d   y o u   n e e d :   k u b e c t l   - - n a m e s p a c e = q o s - e x a m p l e   g e t   p o d   q o s - d e m o - 4   - o   j s o n p a t h = ' {   . s t a t u s . q o s C l a s s } { \" \\ n \" } '   B u r s t a b l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/",
    "id": "k8s_00697_section_2_15429"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   n a m e s p a c e :   k u b e c t l   d e l e t e   n a m e s p a c e   q o s - e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/",
    "id": "k8s_00697_section_2_15430"
  },
  {
    "question": "What is For app developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/",
    "id": "k8s_00697_section_3_15431"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s C o n t r o l   T o p o l o g y   M a n a g e m e n t   p o l i c i e s   o n   a   n o d e   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e   C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s   C o n t r o l   T o p o l o g y   M a n a g e m e n t   p o l i c i e s   o n   a   n o d e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/",
    "id": "k8s_00697_section_3_15432"
  },
  {
    "question": "What is Deploy and Access the Kubernetes Dashboard?",
    "answer": "Deploy and Access the Kubernetes DashboardDeploy the web UI (Kubernetes Dashboard) and access it.Dashboard is a web-based Kubernetes user interface. You can use Dashboard to deploy containerized applications to a Kubernetes cluster, troubleshoot your containerized application, and manage the cluster resources. You can use Dashboard to get an overview of applications running on your cluster, as well as for creating or modifying individual Kubernetes resources (such as Deployments, Jobs, DaemonSets, etc). For example, you can scale a Deployment, initiate a rolling update, restart a pod or deploy new applications using a deploy wizard.Dashboard also provides information on the state of Kubernetes resources in your cluster and on any errors that may have occurred.Deploying the Dashboard UINote:Kubernetes Dashboard supports only Helm-based installation currently as it is faster and gives us better control over all dependencies required by Dashboard to run.The Dashboard UI is not deployed by default. To deploy it, run the following command:# Add kubernetes-dashboard repository helm repo add kubernetes-dashboard https://kubernetes.github.io/dashboard/ # Deploy a Helm Release named \"kubernetes-dashboard\" using the kubernetes-dashboard chart helm upgrade --install kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard --create-namespace --namespace kubernetes-dashboard Accessing the Dashboard UITo protect your cluster data, Dashboard deploys with a minimal RBAC configuration by default. Currently, Dashboard only supports logging in with a Bearer Token. To create a token for this demo, you can follow our guide on creating a sample user.Warning:The sample user created in the tutorial will have administrative privileges and is for educational purposes only.Command line proxyYou can enable access to the Dashboard using the kubectl command-line tool, by running the following command:kubectl -n kubernetes-dashboard port-forward svc/kubernetes-dashboard-kong-proxy 8443:443 Kubectl will make Dashboard available at https://localhost:8443.The UI can only be accessed from the machine where the command is executed. See kubectl port-forward --help for more options.Note:The kubeconfig authentication method does not support external identity providers or X.509 certificate-based authentication.Welcome viewWhen you access Dashboard on an empty cluster, you'll see the welcome page. This page contains a link to this document as well as a button to deploy your first application. In addition, you can view which system applications are running by default in the kube-system namespace of your cluster, for example the Dashboard itself.Deploying containerized applicationsDashboard lets you create and deploy a containerized application as a Deployment and optional Service with a simple wizard. You can either manually specify application details, or upload a YAML or JSON manifest file containing application configuration.Click the CREATE button in the upper right corner of a",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/",
    "id": "k8s_00698_qa_15433"
  },
  {
    "question": "How does Deploy and Access the Kubernetes Dashboard work?",
    "answer": "Deploy and Access the Kubernetes DashboardDeploy the web UI (Kubernetes Dashboard) and access it.Dashboard is a web-based Kubernetes user interface. You can use Dashboard to deploy containerized applications to a Kubernetes cluster, troubleshoot your containerized application, and manage the cluster resources. You can use Dashboard to get an overview of applications running on your cluster, as well as for creating or modifying individual Kubernetes resources (such as Deployments, Jobs, DaemonSets, etc). For example, you can scale a Deployment, initiate a rolling update, restart a pod or deploy new applications using a deploy wizard.Dashboard also provides information on the state of Kubernetes resources in your cluster and on any errors that may have occurred.Deploying the Dashboard UINote:Kubernetes Dashboard supports only Helm-based installation currently as it is faster and gives us better control over all dependencies required by Dashboard to run.The Dashboard UI is not deployed by default. To deploy it, run the following command:# Add kubernetes-dashboard repository helm repo add kubernetes-dashboard https://kubernetes.github.io/dashboard/ # Deploy a Helm Release named \"kubernetes-dashboard\" using the kubernetes-dashboard chart helm upgrade --install kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard --create-namespace --namespace kubernetes-dashboard Accessing the Dashboard UITo protect your cluster data, Dashboard deploys with a minimal RBAC configuration by default. Currently, Dashboard only supports logging in with a Bearer Token. To create a token for this demo, you can follow our guide on creating a sample user.Warning:The sample user created in the tutorial will have administrative privileges and is for educational purposes only.Command line proxyYou can enable access to the Dashboard using the kubectl command-line tool, by running the following command:kubectl -n kubernetes-dashboard port-forward svc/kubernetes-dashboard-kong-proxy 8443:443 Kubectl will make Dashboard available at https://localhost:8443.The UI can only be accessed from the machine where the command is executed. See kubectl port-forward --help for more options.Note:The kubeconfig authentication method does not support external identity providers or X.509 certificate-based authentication.Welcome viewWhen you access Dashboard on an empty cluster, you'll see the welcome page. This page contains a link to this document as well as a button to deploy your first application. In addition, you can view which system applications are running by default in the kube-system namespace of your cluster, for example the Dashboard itself.Deploying containerized applicationsDashboard lets you create and deploy a containerized application as a Deployment and optional Service with a simple wizard. You can either manually specify application details, or upload a YAML or JSON manifest file containing application configuration.Click the CREATE button in the upper right corner of a",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/",
    "id": "k8s_00698_qa_15434"
  },
  {
    "question": "When would you use Deploy and Access the Kubernetes Dashboard?",
    "answer": "Deploy and Access the Kubernetes DashboardDeploy the web UI (Kubernetes Dashboard) and access it.Dashboard is a web-based Kubernetes user interface. You can use Dashboard to deploy containerized applications to a Kubernetes cluster, troubleshoot your containerized application, and manage the cluster resources. You can use Dashboard to get an overview of applications running on your cluster, as well as for creating or modifying individual Kubernetes resources (such as Deployments, Jobs, DaemonSets, etc). For example, you can scale a Deployment, initiate a rolling update, restart a pod or deploy new applications using a deploy wizard.Dashboard also provides information on the state of Kubernetes resources in your cluster and on any errors that may have occurred.Deploying the Dashboard UINote:Kubernetes Dashboard supports only Helm-based installation currently as it is faster and gives us better control over all dependencies required by Dashboard to run.The Dashboard UI is not deployed by default. To deploy it, run the following command:# Add kubernetes-dashboard repository helm repo add kubernetes-dashboard https://kubernetes.github.io/dashboard/ # Deploy a Helm Release named \"kubernetes-dashboard\" using the kubernetes-dashboard chart helm upgrade --install kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard --create-namespace --namespace kubernetes-dashboard Accessing the Dashboard UITo protect your cluster data, Dashboard deploys with a minimal RBAC configuration by default. Currently, Dashboard only supports logging in with a Bearer Token. To create a token for this demo, you can follow our guide on creating a sample user.Warning:The sample user created in the tutorial will have administrative privileges and is for educational purposes only.Command line proxyYou can enable access to the Dashboard using the kubectl command-line tool, by running the following command:kubectl -n kubernetes-dashboard port-forward svc/kubernetes-dashboard-kong-proxy 8443:443 Kubectl will make Dashboard available at https://localhost:8443.The UI can only be accessed from the machine where the command is executed. See kubectl port-forward --help for more options.Note:The kubeconfig authentication method does not support external identity providers or X.509 certificate-based authentication.Welcome viewWhen you access Dashboard on an empty cluster, you'll see the welcome page. This page contains a link to this document as well as a button to deploy your first application. In addition, you can view which system applications are running by default in the kube-system namespace of your cluster, for example the Dashboard itself.Deploying containerized applicationsDashboard lets you create and deploy a containerized application as a Deployment and optional Service with a simple wizard. You can either manually specify application details, or upload a YAML or JSON manifest file containing application configuration.Click the CREATE button in the upper right corner of a",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/",
    "id": "k8s_00698_qa_15435"
  },
  {
    "question": "What are the benefits of Deploy and Access the Kubernetes Dashboard?",
    "answer": "Deploy and Access the Kubernetes DashboardDeploy the web UI (Kubernetes Dashboard) and access it.Dashboard is a web-based Kubernetes user interface. You can use Dashboard to deploy containerized applications to a Kubernetes cluster, troubleshoot your containerized application, and manage the cluster resources. You can use Dashboard to get an overview of applications running on your cluster, as well as for creating or modifying individual Kubernetes resources (such as Deployments, Jobs, DaemonSets, etc). For example, you can scale a Deployment, initiate a rolling update, restart a pod or deploy new applications using a deploy wizard.Dashboard also provides information on the state of Kubernetes resources in your cluster and on any errors that may have occurred.Deploying the Dashboard UINote:Kubernetes Dashboard supports only Helm-based installation currently as it is faster and gives us better control over all dependencies required by Dashboard to run.The Dashboard UI is not deployed by default. To deploy it, run the following command:# Add kubernetes-dashboard repository helm repo add kubernetes-dashboard https://kubernetes.github.io/dashboard/ # Deploy a Helm Release named \"kubernetes-dashboard\" using the kubernetes-dashboard chart helm upgrade --install kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard --create-namespace --namespace kubernetes-dashboard Accessing the Dashboard UITo protect your cluster data, Dashboard deploys with a minimal RBAC configuration by default. Currently, Dashboard only supports logging in with a Bearer Token. To create a token for this demo, you can follow our guide on creating a sample user.Warning:The sample user created in the tutorial will have administrative privileges and is for educational purposes only.Command line proxyYou can enable access to the Dashboard using the kubectl command-line tool, by running the following command:kubectl -n kubernetes-dashboard port-forward svc/kubernetes-dashboard-kong-proxy 8443:443 Kubectl will make Dashboard available at https://localhost:8443.The UI can only be accessed from the machine where the command is executed. See kubectl port-forward --help for more options.Note:The kubeconfig authentication method does not support external identity providers or X.509 certificate-based authentication.Welcome viewWhen you access Dashboard on an empty cluster, you'll see the welcome page. This page contains a link to this document as well as a button to deploy your first application. In addition, you can view which system applications are running by default in the kube-system namespace of your cluster, for example the Dashboard itself.Deploying containerized applicationsDashboard lets you create and deploy a containerized application as a Deployment and optional Service with a simple wizard. You can either manually specify application details, or upload a YAML or JSON manifest file containing application configuration.Click the CREATE button in the upper right corner of a",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/",
    "id": "k8s_00698_qa_15436"
  },
  {
    "question": "What is Deploy and Access the Kubernetes Dashboard?",
    "answer": "D a s h b o a r d   i s   a   w e b - b a s e d   K u b e r n e t e s   u s e r   i n t e r f a c e .   Y o u   c a n   u s e   D a s h b o a r d   t o   d e p l o y   c o n t a i n e r i z e d   a p p l i c a t i o n s   t o   a   K u b e r n e t e s   c l u s t e r ,   t r o u b l e s h o o t   y o u r   c o n t a i n e r i z e d   a p p l i c a t i o n ,   a n d   m a n a g e   t h e   c l u s t e r   r e s o u r c e s .   Y o u   c a n   u s e   D a s h b o a r d   t o   g e t   a n   o v e r v i e w   o f   a p p l i c a t i o n s   r u n n i n g   o n   y o u r   c l u s t e r ,   a s   w e l l   a s   f o r   c r e a t i n g   o r   m o d i f y i n g   i n d i v i d u a l   K u b e r n e t e s   r e s o u r c e s   ( s u c h   a s   D e p l o y m e n t s ,   J o b s ,   D a e m o n S e t s ,   e t c ) .   F o r   e x a m p l e ,   y o u   c a n   s c a l e   a   D e p l o y m e n t ,   i n i t i a t e   a   r o l l i n g   u p d a t e ,   r e s t a r t   a   p o d   o r   d e p l o y   n e w   a p p l i c a t i o n s   u s i n g   a   d e p l o y   w i z a r d .   D a s h b o a r d   a l s o   p r o v i d e s   i n f o r m a t i o n   o n   t h e   s t a t e   o f   K u b e r n e t e s   r e s o u r c e s   i n   y o u r   c l u s t e r   a n d   o n   a n y   e r r o r s   t h a t   m a y   h a v e   o c c u r r e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/",
    "id": "k8s_00698_section_1_15437"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   D a s h b o a r d   U I   i s   n o t   d e p l o y e d   b y   d e f a u l t .   T o   d e p l o y   i t ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   #   A d d   k u b e r n e t e s - d a s h b o a r d   r e p o s i t o r y   h e l m   r e p o   a d d   k u b e r n e t e s - d a s h b o a r d   h t t p s : / / k u b e r n e t e s . g i t h u b . i o / d a s h b o a r d /   #   D e p l o y   a   H e l m   R e l e a s e   n a m e d   \" k u b e r n e t e s - d a s h b o a r d \"   u s i n g   t h e   k u b e r n e t e s - d a s h b o a r d   c h a r t   h e l m   u p g r a d e   - - i n s t a l l   k u b e r n e t e s - d a s h b o a r d   k u b e r n e t e s - d a s h b o a r d / k u b e r n e t e s - d a s h b o a r d   - - c r e a t e - n a m e s p a c e   - - n a m e s p a c e   k u b e r n e t e s - d a s h b o a r d",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/",
    "id": "k8s_00698_section_4_15438"
  },
  {
    "question": "What is Accessing the Dashboard UI?",
    "answer": "T o   p r o t e c t   y o u r   c l u s t e r   d a t a ,   D a s h b o a r d   d e p l o y s   w i t h   a   m i n i m a l   R B A C   c o n f i g u r a t i o n   b y   d e f a u l t .   C u r r e n t l y ,   D a s h b o a r d   o n l y   s u p p o r t s   l o g g i n g   i n   w i t h   a   B e a r e r   T o k e n .   T o   c r e a t e   a   t o k e n   f o r   t h i s   d e m o ,   y o u   c a n   f o l l o w   o u r   g u i d e   o n   c r e a t i n g   a   s a m p l e   u s e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/",
    "id": "k8s_00698_section_2_15439"
  },
  {
    "question": "What is Command line proxy?",
    "answer": "Y o u   c a n   e n a b l e   a c c e s s   t o   t h e   D a s h b o a r d   u s i n g   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l ,   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   - n   k u b e r n e t e s - d a s h b o a r d   p o r t - f o r w a r d   s v c / k u b e r n e t e s - d a s h b o a r d - k o n g - p r o x y   8 4 4 3 : 4 4 3   K u b e c t l   w i l l   m a k e   D a s h b o a r d   a v a i l a b l e   a t   h t t p s : / / l o c a l h o s t : 8 4 4 3 .   T h e   U I   c a n   o n l y   b e   a c c e s s e d   f r o m   t h e   m a c h i n e   w h e r e   t h e   c o m m a n d   i s   e x e c u t e d .   S e e   k u b e c t l   p o r t - f o r w a r d   - - h e l p   f o r   m o r e   o p t i o n s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/",
    "id": "k8s_00698_section_3_15440"
  },
  {
    "question": "What is Welcome view?",
    "answer": "W h e n   y o u   a c c e s s   D a s h b o a r d   o n   a n   e m p t y   c l u s t e r ,   y o u ' l l   s e e   t h e   w e l c o m e   p a g e .   T h i s   p a g e   c o n t a i n s   a   l i n k   t o   t h i s   d o c u m e n t   a s   w e l l   a s   a   b u t t o n   t o   d e p l o y   y o u r   f i r s t   a p p l i c a t i o n .   I n   a d d i t i o n ,   y o u   c a n   v i e w   w h i c h   s y s t e m   a p p l i c a t i o n s   a r e   r u n n i n g   b y   d e f a u l t   i n   t h e   k u b e - s y s t e m   n a m e s p a c e   o f   y o u r   c l u s t e r ,   f o r   e x a m p l e   t h e   D a s h b o a r d   i t s e l f .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/",
    "id": "k8s_00698_section_2_15441"
  },
  {
    "question": "What is Deploying containerized applications?",
    "answer": "D a s h b o a r d   l e t s   y o u   c r e a t e   a n d   d e p l o y   a   c o n t a i n e r i z e d   a p p l i c a t i o n   a s   a   D e p l o y m e n t   a n d   o p t i o n a l   S e r v i c e   w i t h   a   s i m p l e   w i z a r d .   Y o u   c a n   e i t h e r   m a n u a l l y   s p e c i f y   a p p l i c a t i o n   d e t a i l s ,   o r   u p l o a d   a   Y A M L   o r   J S O N   m a n i f e s t   f i l e   c o n t a i n i n g   a p p l i c a t i o n   c o n f i g u r a t i o n .   C l i c k   t h e   C R E A T E   b u t t o n   i n   t h e   u p p e r   r i g h t   c o r n e r   o f   a n y   p a g e   t o   b e g i n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/",
    "id": "k8s_00698_section_2_15442"
  },
  {
    "question": "What is Specifying application details?",
    "answer": "T h e   d e p l o y   w i z a r d   e x p e c t s   t h a t   y o u   p r o v i d e   t h e   f o l l o w i n g   i n f o r m a t i o n :   A p p   n a m e   ( m a n d a t o r y ) :   N a m e   f o r   y o u r   a p p l i c a t i o n .   A   l a b e l   w i t h   t h e   n a m e   w i l l   b e   a d d e d   t o   t h e   D e p l o y m e n t   a n d   S e r v i c e ,   i f   a n y ,   t h a t   w i l l   b e   d e p l o y e d . T h e   a p p l i c a t i o n   n a m e   m u s t   b e   u n i q u e   w i t h i n   t h e   s e l e c t e d   K u b e r n e t e s   n a m e s p a c e .   I t   m u s t   s t a r t   w i t h   a   l o w e r c a s e   c h a r a c t e r ,   a n d   e n d   w i t h   a   l o w e r c a s e   c h a r a c t e r   o r   a   n u m b e r ,   a n d   c o n t a i n   o n l y   l o w e r c a s e   l e t t e r s ,   n u m b e r s   a n d   d a s h e s   ( - ) .   I t   i s   l i m i t e d   t o   2 4   c h a r a c t e r s .   L e a d i n g   a n d   t r a i l i n g   s p a c e s   a r e   i g n o r e d . C o n t a i n e r   i m a g e   ( m a n d a t o r y ) :   T h e   U R L   o f   a   p u b l i c   D o c k e r   c o n t a i n e r   i m a g e   o n   a n y   r e g i s t r y ,   o r   a   p r i v a t e   i m a g e   ( c o m m o n l y   h o s t e d   o n   t h e   G o o g l e   C o n t a i n e r   R e g i s t r y   o r   D o c k e r   H u b ) .   T h e   c o n t a i n e r   i m a g e   s p e c i f i c a t i o n   m u s t   e n d   w i t h   a   c o l o n . N u m b e r   o f   p o d s   ( m a n d a t o r y ) :   T h e   t a r g e t   n u m b e r   o f   P o d s   y o u   w a n t   y o u r   a p p l i c a t i o n   t o   b e   d e p l o y e d   i n .   T h e   v a l u e   m u s t   b e   a   p o s i t i v e   i n t e g e r . A   D e p l o y m e n t   w i l l   b e   c r e a t e d   t o   m a i n t a i n   t h e   d e s i r e d   n u m b e r   o f   P o d s   a c r o s s   y o u r   c l u s t e r . S e r v i c e   ( o p t i o n a l ) :   F o r   s o m e   p ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/",
    "id": "k8s_00698_section_3_15443"
  },
  {
    "question": "What is Note:?",
    "answer": "O t h e r   S e r v i c e s   t h a t   a r e   o n l y   v i s i b l e   f r o m   i n s i d e   t h e   c l u s t e r   a r e   c a l l e d   i n t e r n a l   S e r v i c e s .   I r r e s p e c t i v e   o f   t h e   S e r v i c e   t y p e ,   i f   y o u   c h o o s e   t o   c r e a t e   a   S e r v i c e   a n d   y o u r   c o n t a i n e r   l i s t e n s   o n   a   p o r t   ( i n c o m i n g ) ,   y o u   n e e d   t o   s p e c i f y   t w o   p o r t s .   T h e   S e r v i c e   w i l l   b e   c r e a t e d   m a p p i n g   t h e   p o r t   ( i n c o m i n g )   t o   t h e   t a r g e t   p o r t   s e e n   b y   t h e   c o n t a i n e r .   T h i s   S e r v i c e   w i l l   r o u t e   t o   y o u r   d e p l o y e d   P o d s .   S u p p o r t e d   p r o t o c o l s   a r e   T C P   a n d   U D P .   T h e   i n t e r n a l   D N S   n a m e   f o r   t h i s   S e r v i c e   w i l l   b e   t h e   v a l u e   y o u   s p e c i f i e d   a s   a p p l i c a t i o n   n a m e   a b o v e .   I f   n e e d e d ,   y o u   c a n   e x p a n d   t h e   A d v a n c e d   o p t i o n s   s e c t i o n   w h e r e   y o u   c a n   s p e c i f y   m o r e   s e t t i n g s :   D e s c r i p t i o n :   T h e   t e x t   y o u   e n t e r   h e r e   w i l l   b e   a d d e d   a s   a n   a n n o t a t i o n   t o   t h e   D e p l o y m e n t   a n d   d i s p l a y e d   i n   t h e   a p p l i c a t i o n ' s   d e t a i l s . L a b e l s :   D e f a u l t   l a b e l s   t o   b e   u s e d   f o r   y o u r   a p p l i c a t i o n   a r e   a p p l i c a t i o n   n a m e   a n d   v e r s i o n .   Y o u   c a n   s p e c i f y   a d d i t i o n a l   l a b e l s   t o   b e   a p p l i e d   t o   t h e   D e p l o y m e n t ,   S e r v i c e   ( i f   a n y ) ,   a n d   P o d s ,   s u c h   a s   r e l e a s e ,   e n v i r o n m e n t ,   t i e r ,   p a r t i t i o n ,   a n d   r e l e a s e   t r a c k . E x a m p l e : r e l ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/",
    "id": "k8s_00698_section_4_15444"
  },
  {
    "question": "What is Uploading a YAML or JSON file?",
    "answer": "K u b e r n e t e s   s u p p o r t s   d e c l a r a t i v e   c o n f i g u r a t i o n .   I n   t h i s   s t y l e ,   a l l   c o n f i g u r a t i o n   i s   s t o r e d   i n   m a n i f e s t s   ( Y A M L   o r   J S O N   c o n f i g u r a t i o n   f i l e s ) .   T h e   m a n i f e s t s   u s e   K u b e r n e t e s   A P I   r e s o u r c e   s c h e m a s .   A s   a n   a l t e r n a t i v e   t o   s p e c i f y i n g   a p p l i c a t i o n   d e t a i l s   i n   t h e   d e p l o y   w i z a r d ,   y o u   c a n   d e f i n e   y o u r   a p p l i c a t i o n   i n   o n e   o r   m o r e   m a n i f e s t s ,   a n d   u p l o a d   t h e   f i l e s   u s i n g   D a s h b o a r d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/",
    "id": "k8s_00698_section_3_15445"
  },
  {
    "question": "What is Using Dashboard?",
    "answer": "F o l l o w i n g   s e c t i o n s   d e s c r i b e   v i e w s   o f   t h e   K u b e r n e t e s   D a s h b o a r d   U I ;   w h a t   t h e y   p r o v i d e   a n d   h o w   c a n   t h e y   b e   u s e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/",
    "id": "k8s_00698_section_2_15446"
  },
  {
    "question": "What is Navigation?",
    "answer": "W h e n   t h e r e   a r e   K u b e r n e t e s   o b j e c t s   d e f i n e d   i n   t h e   c l u s t e r ,   D a s h b o a r d   s h o w s   t h e m   i n   t h e   i n i t i a l   v i e w .   B y   d e f a u l t   o n l y   o b j e c t s   f r o m   t h e   d e f a u l t   n a m e s p a c e   a r e   s h o w n   a n d   t h i s   c a n   b e   c h a n g e d   u s i n g   t h e   n a m e s p a c e   s e l e c t o r   l o c a t e d   i n   t h e   n a v i g a t i o n   m e n u .   D a s h b o a r d   s h o w s   m o s t   K u b e r n e t e s   o b j e c t   k i n d s   a n d   g r o u p s   t h e m   i n   a   f e w   m e n u   c a t e g o r i e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/",
    "id": "k8s_00698_section_3_15447"
  },
  {
    "question": "What is Admin overview?",
    "answer": "F o r   c l u s t e r   a n d   n a m e s p a c e   a d m i n i s t r a t o r s ,   D a s h b o a r d   l i s t s   N o d e s ,   N a m e s p a c e s   a n d   P e r s i s t e n t V o l u m e s   a n d   h a s   d e t a i l   v i e w s   f o r   t h e m .   N o d e   l i s t   v i e w   c o n t a i n s   C P U   a n d   m e m o r y   u s a g e   m e t r i c s   a g g r e g a t e d   a c r o s s   a l l   N o d e s .   T h e   d e t a i l s   v i e w   s h o w s   t h e   m e t r i c s   f o r   a   N o d e ,   i t s   s p e c i f i c a t i o n ,   s t a t u s ,   a l l o c a t e d   r e s o u r c e s ,   e v e n t s   a n d   p o d s   r u n n i n g   o n   t h e   n o d e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/",
    "id": "k8s_00698_section_4_15448"
  },
  {
    "question": "What is Workloads?",
    "answer": "S h o w s   a l l   a p p l i c a t i o n s   r u n n i n g   i n   t h e   s e l e c t e d   n a m e s p a c e .   T h e   v i e w   l i s t s   a p p l i c a t i o n s   b y   w o r k l o a d   k i n d   ( f o r   e x a m p l e :   D e p l o y m e n t s ,   R e p l i c a S e t s ,   S t a t e f u l S e t s ) .   E a c h   w o r k l o a d   k i n d   c a n   b e   v i e w e d   s e p a r a t e l y .   T h e   l i s t s   s u m m a r i z e   a c t i o n a b l e   i n f o r m a t i o n   a b o u t   t h e   w o r k l o a d s ,   s u c h   a s   t h e   n u m b e r   o f   r e a d y   p o d s   f o r   a   R e p l i c a S e t   o r   c u r r e n t   m e m o r y   u s a g e   f o r   a   P o d .   D e t a i l   v i e w s   f o r   w o r k l o a d s   s h o w   s t a t u s   a n d   s p e c i f i c a t i o n   i n f o r m a t i o n   a n d   s u r f a c e   r e l a t i o n s h i p s   b e t w e e n   o b j e c t s .   F o r   e x a m p l e ,   P o d s   t h a t   R e p l i c a S e t   i s   c o n t r o l l i n g   o r   n e w   R e p l i c a S e t s   a n d   H o r i z o n t a l P o d A u t o s c a l e r s   f o r   D e p l o y m e n t s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/",
    "id": "k8s_00698_section_4_15449"
  },
  {
    "question": "What is Services?",
    "answer": "S h o w s   K u b e r n e t e s   r e s o u r c e s   t h a t   a l l o w   f o r   e x p o s i n g   s e r v i c e s   t o   e x t e r n a l   w o r l d   a n d   d i s c o v e r i n g   t h e m   w i t h i n   a   c l u s t e r .   F o r   t h a t   r e a s o n ,   S e r v i c e   a n d   I n g r e s s   v i e w s   s h o w   P o d s   t a r g e t e d   b y   t h e m ,   i n t e r n a l   e n d p o i n t s   f o r   c l u s t e r   c o n n e c t i o n s   a n d   e x t e r n a l   e n d p o i n t s   f o r   e x t e r n a l   u s e r s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/",
    "id": "k8s_00698_section_4_15450"
  },
  {
    "question": "What is Storage?",
    "answer": "S t o r a g e   v i e w   s h o w s   P e r s i s t e n t V o l u m e C l a i m   r e s o u r c e s   w h i c h   a r e   u s e d   b y   a p p l i c a t i o n s   f o r   s t o r i n g   d a t a .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/",
    "id": "k8s_00698_section_4_15451"
  },
  {
    "question": "What is ConfigMaps and Secrets?",
    "answer": "S h o w s   a l l   K u b e r n e t e s   r e s o u r c e s   t h a t   a r e   u s e d   f o r   l i v e   c o n f i g u r a t i o n   o f   a p p l i c a t i o n s   r u n n i n g   i n   c l u s t e r s .   T h e   v i e w   a l l o w s   f o r   e d i t i n g   a n d   m a n a g i n g   c o n f i g   o b j e c t s   a n d   d i s p l a y s   s e c r e t s   h i d d e n   b y   d e f a u l t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/",
    "id": "k8s_00698_section_4_15452"
  },
  {
    "question": "What is Logs viewer?",
    "answer": "P o d   l i s t s   a n d   d e t a i l   p a g e s   l i n k   t o   a   l o g s   v i e w e r   t h a t   i s   b u i l t   i n t o   D a s h b o a r d .   T h e   v i e w e r   a l l o w s   f o r   d r i l l i n g   d o w n   l o g s   f r o m   c o n t a i n e r s   b e l o n g i n g   t o   a   s i n g l e   P o d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/",
    "id": "k8s_00698_section_4_15453"
  },
  {
    "question": "What is What's next?",
    "answer": "F o r   m o r e   i n f o r m a t i o n ,   s e e   t h e   K u b e r n e t e s   D a s h b o a r d   p r o j e c t   p a g e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/",
    "id": "k8s_00698_section_2_15454"
  },
  {
    "question": "What is DNS for Services and Pods?",
    "answer": "DNS for Services and PodsYour workload can discover Services within your cluster using DNS; this page explains how that works.Kubernetes creates DNS records for Services and Pods. You can contact Services with consistent DNS names instead of IP addresses.Kubernetes publishes information about Pods and Services which is used to program DNS. kubelet configures Pods' DNS so that running containers can look up Services by name rather than IP.Services defined in the cluster are assigned DNS names. By default, a client Pod's DNS search list includes the Pod's own namespace and the cluster's default domain.Namespaces of ServicesA DNS query may return different results based on the namespace of the Pod making it. DNS queries that don't specify a namespace are limited to the Pod's namespace. Access Services in other namespaces by specifying it in the DNS query.For example, consider a Pod in a test namespace. A data Service is in the prod namespace.A query for data returns no results, because it uses the Pod's test namespace.A query for data.prod returns the intended result, because it specifies the namespace.DNS queries may be expanded using the Pod's /etc/resolv.conf. kubelet configures this file for each Pod. For example, a query for just data may be expanded to data.test.svc.cluster.local. The values of the search option are used to expand queries. To learn more about DNS queries, see the resolv.conf manual page.nameserver 10.32.0.10 search <namespace>.svc.cluster.local svc.cluster.local cluster.local options ndots:5 In summary, a Pod in the test namespace can successfully resolve either data.prod or data.prod.svc.cluster.local.DNS RecordsWhat objects get DNS records?ServicesPodsThe following sections detail the supported DNS record types and layout that is supported. Any other layout or names or queries that happen to work are considered implementation details and are subject to change without warning. For more up-to-date specification, see Kubernetes DNS-Based Service Discovery.ServicesA/AAAA records\"Normal\" (not headless) Services are assigned DNS A and/or AAAA records, depending on the IP family or families of the Service, with a name of the form my-svc.my-namespace.svc.cluster-domain.example. This resolves to the cluster IP of the Service.Headless Services (without a cluster IP) are also assigned DNS A and/or AAAA records, with a name of the form my-svc.my-namespace.svc.cluster-domain.example. Unlike normal Services, this resolves to the set of IPs of all of the Pods selected by the Service. Clients are expected to consume the set or else use standard round-robin selection from the set.SRV recordsSRV Records are created for named ports that are part of normal or headless services.For each named port, the SRV record has the form _port-name._port-protocol.my-svc.my-namespace.svc.cluster-domain.example.For a regular Service, this resolves to the port number and the domain name: my-svc.my-namespace.svc.cluster-domain.example.For a headless Service, th",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/",
    "id": "k8s_00699_qa_15455"
  },
  {
    "question": "How does DNS for Services and Pods work?",
    "answer": "DNS for Services and PodsYour workload can discover Services within your cluster using DNS; this page explains how that works.Kubernetes creates DNS records for Services and Pods. You can contact Services with consistent DNS names instead of IP addresses.Kubernetes publishes information about Pods and Services which is used to program DNS. kubelet configures Pods' DNS so that running containers can look up Services by name rather than IP.Services defined in the cluster are assigned DNS names. By default, a client Pod's DNS search list includes the Pod's own namespace and the cluster's default domain.Namespaces of ServicesA DNS query may return different results based on the namespace of the Pod making it. DNS queries that don't specify a namespace are limited to the Pod's namespace. Access Services in other namespaces by specifying it in the DNS query.For example, consider a Pod in a test namespace. A data Service is in the prod namespace.A query for data returns no results, because it uses the Pod's test namespace.A query for data.prod returns the intended result, because it specifies the namespace.DNS queries may be expanded using the Pod's /etc/resolv.conf. kubelet configures this file for each Pod. For example, a query for just data may be expanded to data.test.svc.cluster.local. The values of the search option are used to expand queries. To learn more about DNS queries, see the resolv.conf manual page.nameserver 10.32.0.10 search <namespace>.svc.cluster.local svc.cluster.local cluster.local options ndots:5 In summary, a Pod in the test namespace can successfully resolve either data.prod or data.prod.svc.cluster.local.DNS RecordsWhat objects get DNS records?ServicesPodsThe following sections detail the supported DNS record types and layout that is supported. Any other layout or names or queries that happen to work are considered implementation details and are subject to change without warning. For more up-to-date specification, see Kubernetes DNS-Based Service Discovery.ServicesA/AAAA records\"Normal\" (not headless) Services are assigned DNS A and/or AAAA records, depending on the IP family or families of the Service, with a name of the form my-svc.my-namespace.svc.cluster-domain.example. This resolves to the cluster IP of the Service.Headless Services (without a cluster IP) are also assigned DNS A and/or AAAA records, with a name of the form my-svc.my-namespace.svc.cluster-domain.example. Unlike normal Services, this resolves to the set of IPs of all of the Pods selected by the Service. Clients are expected to consume the set or else use standard round-robin selection from the set.SRV recordsSRV Records are created for named ports that are part of normal or headless services.For each named port, the SRV record has the form _port-name._port-protocol.my-svc.my-namespace.svc.cluster-domain.example.For a regular Service, this resolves to the port number and the domain name: my-svc.my-namespace.svc.cluster-domain.example.For a headless Service, th",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/",
    "id": "k8s_00699_qa_15456"
  },
  {
    "question": "When would you use DNS for Services and Pods?",
    "answer": "DNS for Services and PodsYour workload can discover Services within your cluster using DNS; this page explains how that works.Kubernetes creates DNS records for Services and Pods. You can contact Services with consistent DNS names instead of IP addresses.Kubernetes publishes information about Pods and Services which is used to program DNS. kubelet configures Pods' DNS so that running containers can look up Services by name rather than IP.Services defined in the cluster are assigned DNS names. By default, a client Pod's DNS search list includes the Pod's own namespace and the cluster's default domain.Namespaces of ServicesA DNS query may return different results based on the namespace of the Pod making it. DNS queries that don't specify a namespace are limited to the Pod's namespace. Access Services in other namespaces by specifying it in the DNS query.For example, consider a Pod in a test namespace. A data Service is in the prod namespace.A query for data returns no results, because it uses the Pod's test namespace.A query for data.prod returns the intended result, because it specifies the namespace.DNS queries may be expanded using the Pod's /etc/resolv.conf. kubelet configures this file for each Pod. For example, a query for just data may be expanded to data.test.svc.cluster.local. The values of the search option are used to expand queries. To learn more about DNS queries, see the resolv.conf manual page.nameserver 10.32.0.10 search <namespace>.svc.cluster.local svc.cluster.local cluster.local options ndots:5 In summary, a Pod in the test namespace can successfully resolve either data.prod or data.prod.svc.cluster.local.DNS RecordsWhat objects get DNS records?ServicesPodsThe following sections detail the supported DNS record types and layout that is supported. Any other layout or names or queries that happen to work are considered implementation details and are subject to change without warning. For more up-to-date specification, see Kubernetes DNS-Based Service Discovery.ServicesA/AAAA records\"Normal\" (not headless) Services are assigned DNS A and/or AAAA records, depending on the IP family or families of the Service, with a name of the form my-svc.my-namespace.svc.cluster-domain.example. This resolves to the cluster IP of the Service.Headless Services (without a cluster IP) are also assigned DNS A and/or AAAA records, with a name of the form my-svc.my-namespace.svc.cluster-domain.example. Unlike normal Services, this resolves to the set of IPs of all of the Pods selected by the Service. Clients are expected to consume the set or else use standard round-robin selection from the set.SRV recordsSRV Records are created for named ports that are part of normal or headless services.For each named port, the SRV record has the form _port-name._port-protocol.my-svc.my-namespace.svc.cluster-domain.example.For a regular Service, this resolves to the port number and the domain name: my-svc.my-namespace.svc.cluster-domain.example.For a headless Service, th",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/",
    "id": "k8s_00699_qa_15457"
  },
  {
    "question": "What are the benefits of DNS for Services and Pods?",
    "answer": "DNS for Services and PodsYour workload can discover Services within your cluster using DNS; this page explains how that works.Kubernetes creates DNS records for Services and Pods. You can contact Services with consistent DNS names instead of IP addresses.Kubernetes publishes information about Pods and Services which is used to program DNS. kubelet configures Pods' DNS so that running containers can look up Services by name rather than IP.Services defined in the cluster are assigned DNS names. By default, a client Pod's DNS search list includes the Pod's own namespace and the cluster's default domain.Namespaces of ServicesA DNS query may return different results based on the namespace of the Pod making it. DNS queries that don't specify a namespace are limited to the Pod's namespace. Access Services in other namespaces by specifying it in the DNS query.For example, consider a Pod in a test namespace. A data Service is in the prod namespace.A query for data returns no results, because it uses the Pod's test namespace.A query for data.prod returns the intended result, because it specifies the namespace.DNS queries may be expanded using the Pod's /etc/resolv.conf. kubelet configures this file for each Pod. For example, a query for just data may be expanded to data.test.svc.cluster.local. The values of the search option are used to expand queries. To learn more about DNS queries, see the resolv.conf manual page.nameserver 10.32.0.10 search <namespace>.svc.cluster.local svc.cluster.local cluster.local options ndots:5 In summary, a Pod in the test namespace can successfully resolve either data.prod or data.prod.svc.cluster.local.DNS RecordsWhat objects get DNS records?ServicesPodsThe following sections detail the supported DNS record types and layout that is supported. Any other layout or names or queries that happen to work are considered implementation details and are subject to change without warning. For more up-to-date specification, see Kubernetes DNS-Based Service Discovery.ServicesA/AAAA records\"Normal\" (not headless) Services are assigned DNS A and/or AAAA records, depending on the IP family or families of the Service, with a name of the form my-svc.my-namespace.svc.cluster-domain.example. This resolves to the cluster IP of the Service.Headless Services (without a cluster IP) are also assigned DNS A and/or AAAA records, with a name of the form my-svc.my-namespace.svc.cluster-domain.example. Unlike normal Services, this resolves to the set of IPs of all of the Pods selected by the Service. Clients are expected to consume the set or else use standard round-robin selection from the set.SRV recordsSRV Records are created for named ports that are part of normal or headless services.For each named port, the SRV record has the form _port-name._port-protocol.my-svc.my-namespace.svc.cluster-domain.example.For a regular Service, this resolves to the port number and the domain name: my-svc.my-namespace.svc.cluster-domain.example.For a headless Service, th",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/",
    "id": "k8s_00699_qa_15458"
  },
  {
    "question": "What is DNS for Services and Pods?",
    "answer": "K u b e r n e t e s   c r e a t e s   D N S   r e c o r d s   f o r   S e r v i c e s   a n d   P o d s .   Y o u   c a n   c o n t a c t   S e r v i c e s   w i t h   c o n s i s t e n t   D N S   n a m e s   i n s t e a d   o f   I P   a d d r e s s e s .   K u b e r n e t e s   p u b l i s h e s   i n f o r m a t i o n   a b o u t   P o d s   a n d   S e r v i c e s   w h i c h   i s   u s e d   t o   p r o g r a m   D N S .   k u b e l e t   c o n f i g u r e s   P o d s '   D N S   s o   t h a t   r u n n i n g   c o n t a i n e r s   c a n   l o o k   u p   S e r v i c e s   b y   n a m e   r a t h e r   t h a n   I P .   S e r v i c e s   d e f i n e d   i n   t h e   c l u s t e r   a r e   a s s i g n e d   D N S   n a m e s .   B y   d e f a u l t ,   a   c l i e n t   P o d ' s   D N S   s e a r c h   l i s t   i n c l u d e s   t h e   P o d ' s   o w n   n a m e s p a c e   a n d   t h e   c l u s t e r ' s   d e f a u l t   d o m a i n .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/",
    "id": "k8s_00699_section_1_15459"
  },
  {
    "question": "What is Namespaces of Services?",
    "answer": "A   D N S   q u e r y   m a y   r e t u r n   d i f f e r e n t   r e s u l t s   b a s e d   o n   t h e   n a m e s p a c e   o f   t h e   P o d   m a k i n g   i t .   D N S   q u e r i e s   t h a t   d o n ' t   s p e c i f y   a   n a m e s p a c e   a r e   l i m i t e d   t o   t h e   P o d ' s   n a m e s p a c e .   A c c e s s   S e r v i c e s   i n   o t h e r   n a m e s p a c e s   b y   s p e c i f y i n g   i t   i n   t h e   D N S   q u e r y .   F o r   e x a m p l e ,   c o n s i d e r   a   P o d   i n   a   t e s t   n a m e s p a c e .   A   d a t a   S e r v i c e   i s   i n   t h e   p r o d   n a m e s p a c e .   A   q u e r y   f o r   d a t a   r e t u r n s   n o   r e s u l t s ,   b e c a u s e   i t   u s e s   t h e   P o d ' s   t e s t   n a m e s p a c e .   A   q u e r y   f o r   d a t a . p r o d   r e t u r n s   t h e   i n t e n d e d   r e s u l t ,   b e c a u s e   i t   s p e c i f i e s   t h e   n a m e s p a c e .   D N S   q u e r i e s   m a y   b e   e x p a n d e d   u s i n g   t h e   P o d ' s   / e t c / r e s o l v . c o n f .   k u b e l e t   c o n f i g u r e s   t h i s   f i l e   f o r   e a c h   P o d .   F o r   e x a m p l e ,   a   q u e r y   f o r   j u s t   d a t a   m a y   b e   e x p a n d e d   t o   d a t a . t e s t . s v c . c l u s t e r . l o c a l .   T h e   v a l u e s   o f   t h e   s e a r c h   o p t i o n   a r e   u s e d   t o   e x p a n d   q u e r i e s .   T o   l e a r n   m o r e   a b o u t   D N S   q u e r i e s ,   s e e   t h e   r e s o l v . c o n f   m a n u a l   p a g e .   n a m e s e r v e r   1 0 . 3 2 . 0 . 1 0   s e a r c h   < n a m e s p a c e > . s v c . c l u s t e r . l o c a l   s v c . c l u s t e r . l o c a l   c l u s t e r . l o c a l   o p t i o n s   n d o t s : 5   I n   s u m m a r y ,   a   P o d   i n   t h e   t e s t   n a m e s p a c e   c a n   s u c c e s s f u l l y   r e s o l v e   e i t h e r   d a t a . p r o d   o r   d a ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/",
    "id": "k8s_00699_section_3_15460"
  },
  {
    "question": "What is DNS Records?",
    "answer": "W h a t   o b j e c t s   g e t   D N S   r e c o r d s ?   S e r v i c e s P o d s   T h e   f o l l o w i n g   s e c t i o n s   d e t a i l   t h e   s u p p o r t e d   D N S   r e c o r d   t y p e s   a n d   l a y o u t   t h a t   i s   s u p p o r t e d .   A n y   o t h e r   l a y o u t   o r   n a m e s   o r   q u e r i e s   t h a t   h a p p e n   t o   w o r k   a r e   c o n s i d e r e d   i m p l e m e n t a t i o n   d e t a i l s   a n d   a r e   s u b j e c t   t o   c h a n g e   w i t h o u t   w a r n i n g .   F o r   m o r e   u p - t o - d a t e   s p e c i f i c a t i o n ,   s e e   K u b e r n e t e s   D N S - B a s e d   S e r v i c e   D i s c o v e r y .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/",
    "id": "k8s_00699_section_3_15461"
  },
  {
    "question": "What is A/AAAA records?",
    "answer": "\" N o r m a l \"   ( n o t   h e a d l e s s )   S e r v i c e s   a r e   a s s i g n e d   D N S   A   a n d / o r   A A A A   r e c o r d s ,   d e p e n d i n g   o n   t h e   I P   f a m i l y   o r   f a m i l i e s   o f   t h e   S e r v i c e ,   w i t h   a   n a m e   o f   t h e   f o r m   m y - s v c . m y - n a m e s p a c e . s v c . c l u s t e r - d o m a i n . e x a m p l e .   T h i s   r e s o l v e s   t o   t h e   c l u s t e r   I P   o f   t h e   S e r v i c e .   H e a d l e s s   S e r v i c e s   ( w i t h o u t   a   c l u s t e r   I P )   a r e   a l s o   a s s i g n e d   D N S   A   a n d / o r   A A A A   r e c o r d s ,   w i t h   a   n a m e   o f   t h e   f o r m   m y - s v c . m y - n a m e s p a c e . s v c . c l u s t e r - d o m a i n . e x a m p l e .   U n l i k e   n o r m a l   S e r v i c e s ,   t h i s   r e s o l v e s   t o   t h e   s e t   o f   I P s   o f   a l l   o f   t h e   P o d s   s e l e c t e d   b y   t h e   S e r v i c e .   C l i e n t s   a r e   e x p e c t e d   t o   c o n s u m e   t h e   s e t   o r   e l s e   u s e   s t a n d a r d   r o u n d - r o b i n   s e l e c t i o n   f r o m   t h e   s e t .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/",
    "id": "k8s_00699_section_3_15462"
  },
  {
    "question": "What is SRV records?",
    "answer": "S R V   R e c o r d s   a r e   c r e a t e d   f o r   n a m e d   p o r t s   t h a t   a r e   p a r t   o f   n o r m a l   o r   h e a d l e s s   s e r v i c e s .   F o r   e a c h   n a m e d   p o r t ,   t h e   S R V   r e c o r d   h a s   t h e   f o r m   _ p o r t - n a m e . _ p o r t - p r o t o c o l . m y - s v c . m y - n a m e s p a c e . s v c . c l u s t e r - d o m a i n . e x a m p l e . F o r   a   r e g u l a r   S e r v i c e ,   t h i s   r e s o l v e s   t o   t h e   p o r t   n u m b e r   a n d   t h e   d o m a i n   n a m e :   m y - s v c . m y - n a m e s p a c e . s v c . c l u s t e r - d o m a i n . e x a m p l e . F o r   a   h e a d l e s s   S e r v i c e ,   t h i s   r e s o l v e s   t o   m u l t i p l e   a n s w e r s ,   o n e   f o r   e a c h   P o d   t h a t   i s   b a c k i n g   t h e   S e r v i c e ,   a n d   c o n t a i n s   t h e   p o r t   n u m b e r   a n d   t h e   d o m a i n   n a m e   o f   t h e   P o d   o f   t h e   f o r m   h o s t n a m e . m y - s v c . m y - n a m e s p a c e . s v c . c l u s t e r - d o m a i n . e x a m p l e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/",
    "id": "k8s_00699_section_3_15463"
  },
  {
    "question": "What is A/AAAA records?",
    "answer": "K u b e - D N S   v e r s i o n s ,   p r i o r   t o   t h e   i m p l e m e n t a t i o n   o f   t h e   D N S   s p e c i f i c a t i o n ,   h a d   t h e   f o l l o w i n g   D N S   r e s o l u t i o n :   < p o d - I P v 4 - a d d r e s s > . < n a m e s p a c e > . p o d . < c l u s t e r - d o m a i n >   F o r   e x a m p l e ,   i f   a   P o d   i n   t h e   d e f a u l t   n a m e s p a c e   h a s   t h e   I P   a d d r e s s   1 7 2 . 1 7 . 0 . 3 ,   a n d   t h e   d o m a i n   n a m e   f o r   y o u r   c l u s t e r   i s   c l u s t e r . l o c a l ,   t h e n   t h e   P o d   h a s   a   D N S   n a m e :   1 7 2 - 1 7 - 0 - 3 . d e f a u l t . p o d . c l u s t e r . l o c a l   S o m e   c l u s t e r   D N S   m e c h a n i s m s ,   l i k e   C o r e D N S ,   a l s o   p r o v i d e   A   r e c o r d s   f o r :   < p o d - i p v 4 - a d d r e s s > . < s e r v i c e - n a m e > . < m y - n a m e s p a c e > . s v c . < c l u s t e r - d o m a i n . e x a m p l e >   F o r   e x a m p l e ,   i f   a   P o d   i n   t h e   c a f e   n a m e s p a c e   h a s   t h e   I P   a d d r e s s   1 7 2 . 1 7 . 0 . 3 ,   i s   a n   e n d p o i n t   o f   a   S e r v i c e   n a m e d   b a r i s t a ,   a n d   t h e   d o m a i n   n a m e   f o r   y o u r   c l u s t e r   i s   c l u s t e r . l o c a l ,   t h e n   t h e   P o d   w o u l d   h a v e   t h i s   s e r v i c e - s c o p e d   D N S   A   r e c o r d .   1 7 2 - 1 7 - 0 - 3 . b a r i s t a . c a f e . s v c . c l u s t e r . l o c a l",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/",
    "id": "k8s_00699_section_3_15464"
  },
  {
    "question": "What is Pod's hostname and subdomain fields?",
    "answer": "C u r r e n t l y   w h e n   a   P o d   i s   c r e a t e d ,   i t s   h o s t n a m e   ( a s   o b s e r v e d   f r o m   w i t h i n   t h e   P o d )   i s   t h e   P o d ' s   m e t a d a t a . n a m e   v a l u e .   T h e   P o d   s p e c   h a s   a n   o p t i o n a l   h o s t n a m e   f i e l d ,   w h i c h   c a n   b e   u s e d   t o   s p e c i f y   a   d i f f e r e n t   h o s t n a m e .   W h e n   s p e c i f i e d ,   i t   t a k e s   p r e c e d e n c e   o v e r   t h e   P o d ' s   n a m e   t o   b e   t h e   h o s t n a m e   o f   t h e   P o d   ( a g a i n ,   a s   o b s e r v e d   f r o m   w i t h i n   t h e   P o d ) .   F o r   e x a m p l e ,   g i v e n   a   P o d   w i t h   s p e c . h o s t n a m e   s e t   t o   \" m y - h o s t \" ,   t h e   P o d   w i l l   h a v e   i t s   h o s t n a m e   s e t   t o   \" m y - h o s t \" .   T h e   P o d   s p e c   a l s o   h a s   a n   o p t i o n a l   s u b d o m a i n   f i e l d   w h i c h   c a n   b e   u s e d   t o   i n d i c a t e   t h a t   t h e   p o d   i s   p a r t   o f   s u b - g r o u p   o f   t h e   n a m e s p a c e .   F o r   e x a m p l e ,   a   P o d   w i t h   s p e c . h o s t n a m e   s e t   t o   \" f o o \" ,   a n d   s p e c . s u b d o m a i n   s e t   t o   \" b a r \" ,   i n   n a m e s p a c e   \" m y - n a m e s p a c e \" ,   w i l l   h a v e   i t s   h o s t n a m e   s e t   t o   \" f o o \"   a n d   i t s   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N )   s e t   t o   \" f o o . b a r . m y - n a m e s p a c e . s v c . c l u s t e r . l o c a l \"   ( o n c e   m o r e ,   a s   o b s e r v e d   f r o m   w i t h i n   t h e   P o d ) .   I f   t h e r e   e x i s t s   a   h e a d l e s s   S e r v i c e   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   P o d ,   w i t h   t h e   s a m e   n a m e   a s   t h e   s u b d o m a i n ,   t h e   c l u s t e r ' s   D N S   S e r v e r   a ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/",
    "id": "k8s_00699_section_3_15465"
  },
  {
    "question": "What is Pod's setHostnameAsFQDN field?",
    "answer": "W h e n   a   P o d   i s   c o n f i g u r e d   t o   h a v e   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N ) ,   i t s   h o s t n a m e   i s   t h e   s h o r t   h o s t n a m e .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   P o d   w i t h   t h e   f u l l y   q u a l i f i e d   d o m a i n   n a m e   b u s y b o x - 1 . b u s y b o x - s u b d o m a i n . m y - n a m e s p a c e . s v c . c l u s t e r - d o m a i n . e x a m p l e ,   t h e n   b y   d e f a u l t   t h e   h o s t n a m e   c o m m a n d   i n s i d e   t h a t   P o d   r e t u r n s   b u s y b o x - 1   a n d   t h e   h o s t n a m e   - - f q d n   c o m m a n d   r e t u r n s   t h e   F Q D N .   W h e n   y o u   s e t   s e t H o s t n a m e A s F Q D N :   t r u e   i n   t h e   P o d   s p e c ,   t h e   k u b e l e t   w r i t e s   t h e   P o d ' s   F Q D N   i n t o   t h e   h o s t n a m e   f o r   t h a t   P o d ' s   n a m e s p a c e .   I n   t h i s   c a s e ,   b o t h   h o s t n a m e   a n d   h o s t n a m e   - - f q d n   r e t u r n   t h e   P o d ' s   F Q D N .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/",
    "id": "k8s_00699_section_3_15466"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   L i n u x ,   t h e   h o s t n a m e   f i e l d   o f   t h e   k e r n e l   ( t h e   n o d e n a m e   f i e l d   o f   s t r u c t   u t s n a m e )   i s   l i m i t e d   t o   6 4   c h a r a c t e r s .   I f   a   P o d   e n a b l e s   t h i s   f e a t u r e   a n d   i t s   F Q D N   i s   l o n g e r   t h a n   6 4   c h a r a c t e r ,   i t   w i l l   f a i l   t o   s t a r t .   T h e   P o d   w i l l   r e m a i n   i n   P e n d i n g   s t a t u s   ( C o n t a i n e r C r e a t i n g   a s   s e e n   b y   k u b e c t l )   g e n e r a t i n g   e r r o r   e v e n t s ,   s u c h   a s   F a i l e d   t o   c o n s t r u c t   F Q D N   f r o m   P o d   h o s t n a m e   a n d   c l u s t e r   d o m a i n ,   F Q D N   l o n g - F Q D N   i s   t o o   l o n g   ( 6 4   c h a r a c t e r s   i s   t h e   m a x ,   7 0   c h a r a c t e r s   r e q u e s t e d ) .   O n e   w a y   o f   i m p r o v i n g   u s e r   e x p e r i e n c e   f o r   t h i s   s c e n a r i o   i s   t o   c r e a t e   a n   a d m i s s i o n   w e b h o o k   c o n t r o l l e r   t o   c o n t r o l   F Q D N   s i z e   w h e n   u s e r s   c r e a t e   t o p   l e v e l   o b j e c t s ,   f o r   e x a m p l e ,   D e p l o y m e n t .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/",
    "id": "k8s_00699_section_4_15467"
  },
  {
    "question": "What is Pod's DNS Policy?",
    "answer": "D N S   p o l i c i e s   c a n   b e   s e t   o n   a   p e r - P o d   b a s i s .   C u r r e n t l y   K u b e r n e t e s   s u p p o r t s   t h e   f o l l o w i n g   P o d - s p e c i f i c   D N S   p o l i c i e s .   T h e s e   p o l i c i e s   a r e   s p e c i f i e d   i n   t h e   d n s P o l i c y   f i e l d   o f   a   P o d   S p e c .   \" D e f a u l t \" :   T h e   P o d   i n h e r i t s   t h e   n a m e   r e s o l u t i o n   c o n f i g u r a t i o n   f r o m   t h e   n o d e   t h a t   t h e   P o d s   r u n   o n .   S e e   r e l a t e d   d i s c u s s i o n   f o r   m o r e   d e t a i l s . \" C l u s t e r F i r s t \" :   A n y   D N S   q u e r y   t h a t   d o e s   n o t   m a t c h   t h e   c o n f i g u r e d   c l u s t e r   d o m a i n   s u f f i x ,   s u c h   a s   \" w w w . k u b e r n e t e s . i o \" ,   i s   f o r w a r d e d   t o   a n   u p s t r e a m   n a m e s e r v e r   b y   t h e   D N S   s e r v e r .   C l u s t e r   a d m i n i s t r a t o r s   m a y   h a v e   e x t r a   s t u b - d o m a i n   a n d   u p s t r e a m   D N S   s e r v e r s   c o n f i g u r e d .   S e e   r e l a t e d   d i s c u s s i o n   f o r   d e t a i l s   o n   h o w   D N S   q u e r i e s   a r e   h a n d l e d   i n   t h o s e   c a s e s . \" C l u s t e r F i r s t W i t h H o s t N e t \" :   F o r   P o d s   r u n n i n g   w i t h   h o s t N e t w o r k ,   y o u   s h o u l d   e x p l i c i t l y   s e t   i t s   D N S   p o l i c y   t o   \" C l u s t e r F i r s t W i t h H o s t N e t \" .   O t h e r w i s e ,   P o d s   r u n n i n g   w i t h   h o s t N e t w o r k   a n d   \" C l u s t e r F i r s t \"   w i l l   f a l l b a c k   t o   t h e   b e h a v i o r   o f   t h e   \" D e f a u l t \"   p o l i c y . N o t e : T h i s   i s   n o t   s u p p o r t e d   o n   W i n d o w s .   S e e   b e l o w   f o r   d e t a i l s . \" N o n e \" :   I t   a l l o w s   a   P o d   t o   i g ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/",
    "id": "k8s_00699_section_3_15468"
  },
  {
    "question": "What is Note:?",
    "answer": "\" N o n e \" :   I t   a l l o w s   a   P o d   t o   i g n o r e   D N S   s e t t i n g s   f r o m   t h e   K u b e r n e t e s   e n v i r o n m e n t .   A l l   D N S   s e t t i n g s   a r e   s u p p o s e d   t o   b e   p r o v i d e d   u s i n g   t h e   d n s C o n f i g   f i e l d   i n   t h e   P o d   S p e c .   S e e   P o d ' s   D N S   c o n f i g   s u b s e c t i o n   b e l o w .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/",
    "id": "k8s_00699_section_4_15469"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   e x a m p l e   b e l o w   s h o w s   a   P o d   w i t h   i t s   D N S   p o l i c y   s e t   t o   \" C l u s t e r F i r s t W i t h H o s t N e t \"   b e c a u s e   i t   h a s   h o s t N e t w o r k   s e t   t o   t r u e .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   b u s y b o x   n a m e s p a c e :   d e f a u l t   s p e c :   c o n t a i n e r s :   -   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   -   s l e e p   -   \" 3 6 0 0 \"   i m a g e P u l l P o l i c y :   I f N o t P r e s e n t   n a m e :   b u s y b o x   r e s t a r t P o l i c y :   A l w a y s   h o s t N e t w o r k :   t r u e   d n s P o l i c y :   C l u s t e r F i r s t W i t h H o s t N e t",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/",
    "id": "k8s_00699_section_4_15470"
  },
  {
    "question": "What is Pod's DNS Config?",
    "answer": "P o d ' s   D N S   C o n f i g   a l l o w s   u s e r s   m o r e   c o n t r o l   o n   t h e   D N S   s e t t i n g s   f o r   a   P o d .   T h e   d n s C o n f i g   f i e l d   i s   o p t i o n a l   a n d   i t   c a n   w o r k   w i t h   a n y   d n s P o l i c y   s e t t i n g s .   H o w e v e r ,   w h e n   a   P o d ' s   d n s P o l i c y   i s   s e t   t o   \" N o n e \" ,   t h e   d n s C o n f i g   f i e l d   h a s   t o   b e   s p e c i f i e d .   B e l o w   a r e   t h e   p r o p e r t i e s   a   u s e r   c a n   s p e c i f y   i n   t h e   d n s C o n f i g   f i e l d :   n a m e s e r v e r s :   a   l i s t   o f   I P   a d d r e s s e s   t h a t   w i l l   b e   u s e d   a s   D N S   s e r v e r s   f o r   t h e   P o d .   T h e r e   c a n   b e   a t   m o s t   3   I P   a d d r e s s e s   s p e c i f i e d .   W h e n   t h e   P o d ' s   d n s P o l i c y   i s   s e t   t o   \" N o n e \" ,   t h e   l i s t   m u s t   c o n t a i n   a t   l e a s t   o n e   I P   a d d r e s s ,   o t h e r w i s e   t h i s   p r o p e r t y   i s   o p t i o n a l .   T h e   s e r v e r s   l i s t e d   w i l l   b e   c o m b i n e d   t o   t h e   b a s e   n a m e s e r v e r s   g e n e r a t e d   f r o m   t h e   s p e c i f i e d   D N S   p o l i c y   w i t h   d u p l i c a t e   a d d r e s s e s   r e m o v e d . s e a r c h e s :   a   l i s t   o f   D N S   s e a r c h   d o m a i n s   f o r   h o s t n a m e   l o o k u p   i n   t h e   P o d .   T h i s   p r o p e r t y   i s   o p t i o n a l .   W h e n   s p e c i f i e d ,   t h e   p r o v i d e d   l i s t   w i l l   b e   m e r g e d   i n t o   t h e   b a s e   s e a r c h   d o m a i n   n a m e s   g e n e r a t e d   f r o m   t h e   c h o s e n   D N S   p o l i c y .   D u p l i c a t e   d o m a i n   n a m e s   a r e   r e m o v e d .   K u b e r n e t e s   a l l o w s   u p   t o   3 2   s e a r c h   d o m a i n s . o p t i ",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/",
    "id": "k8s_00699_section_3_15471"
  },
  {
    "question": "What is DNS search domain list limits?",
    "answer": "K u b e r n e t e s   i t s e l f   d o e s   n o t   l i m i t   t h e   D N S   C o n f i g   u n t i l   t h e   l e n g t h   o f   t h e   s e a r c h   d o m a i n   l i s t   e x c e e d s   3 2   o r   t h e   t o t a l   l e n g t h   o f   a l l   s e a r c h   d o m a i n s   e x c e e d s   2 0 4 8 .   T h i s   l i m i t   a p p l i e s   t o   t h e   n o d e ' s   r e s o l v e r   c o n f i g u r a t i o n   f i l e ,   t h e   P o d ' s   D N S   C o n f i g ,   a n d   t h e   m e r g e d   D N S   C o n f i g   r e s p e c t i v e l y .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/",
    "id": "k8s_00699_section_2_15472"
  },
  {
    "question": "What is Note:?",
    "answer": "S o m e   c o n t a i n e r   r u n t i m e s   o f   e a r l i e r   v e r s i o n s   m a y   h a v e   t h e i r   o w n   r e s t r i c t i o n s   o n   t h e   n u m b e r   o f   D N S   s e a r c h   d o m a i n s .   D e p e n d i n g   o n   t h e   c o n t a i n e r   r u n t i m e   e n v i r o n m e n t ,   t h e   p o d s   w i t h   a   l a r g e   n u m b e r   o f   D N S   s e a r c h   d o m a i n s   m a y   g e t   s t u c k   i n   t h e   p e n d i n g   s t a t e .   I t   i s   k n o w n   t h a t   c o n t a i n e r d   v 1 . 5 . 5   o r   e a r l i e r   a n d   C R I - O   v 1 . 2 1   o r   e a r l i e r   h a v e   t h i s   p r o b l e m .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/",
    "id": "k8s_00699_section_4_15473"
  },
  {
    "question": "What is DNS resolution on Windows nodes?",
    "answer": "C l u s t e r F i r s t W i t h H o s t N e t   i s   n o t   s u p p o r t e d   f o r   P o d s   t h a t   r u n   o n   W i n d o w s   n o d e s .   W i n d o w s   t r e a t s   a l l   n a m e s   w i t h   a   .   a s   a   F Q D N   a n d   s k i p s   F Q D N   r e s o l u t i o n . O n   W i n d o w s ,   t h e r e   a r e   m u l t i p l e   D N S   r e s o l v e r s   t h a t   c a n   b e   u s e d .   A s   t h e s e   c o m e   w i t h   s l i g h t l y   d i f f e r e n t   b e h a v i o r s ,   u s i n g   t h e   R e s o l v e - D N S N a m e   p o w e r s h e l l   c m d l e t   f o r   n a m e   q u e r y   r e s o l u t i o n s   i s   r e c o m m e n d e d . O n   L i n u x ,   y o u   h a v e   a   D N S   s u f f i x   l i s t ,   w h i c h   i s   u s e d   a f t e r   r e s o l u t i o n   o f   a   n a m e   a s   f u l l y   q u a l i f i e d   h a s   f a i l e d .   O n   W i n d o w s ,   y o u   c a n   o n l y   h a v e   1   D N S   s u f f i x ,   w h i c h   i s   t h e   D N S   s u f f i x   a s s o c i a t e d   w i t h   t h a t   P o d ' s   n a m e s p a c e   ( e x a m p l e :   m y d n s . s v c . c l u s t e r . l o c a l ) .   W i n d o w s   c a n   r e s o l v e   F Q D N s ,   S e r v i c e s ,   o r   n e t w o r k   n a m e   w h i c h   c a n   b e   r e s o l v e d   w i t h   t h i s   s i n g l e   s u f f i x .   F o r   e x a m p l e ,   a   P o d   s p a w n e d   i n   t h e   d e f a u l t   n a m e s p a c e ,   w i l l   h a v e   t h e   D N S   s u f f i x   d e f a u l t . s v c . c l u s t e r . l o c a l .   I n s i d e   a   W i n d o w s   P o d ,   y o u   c a n   r e s o l v e   b o t h   k u b e r n e t e s . d e f a u l t . s v c . c l u s t e r . l o c a l   a n d   k u b e r n e t e s ,   b u t   n o t   t h e   p a r t i a l l y   q u a l i f i e d   n a m e s   ( k u b e r n e t e s . d e f a u l t   o r   k u b e r n e t e s . d e f a u l t . s v c ) .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/",
    "id": "k8s_00699_section_2_15474"
  },
  {
    "question": "What is What's next?",
    "answer": "F o r   g u i d a n c e   o n   a d m i n i s t e r i n g   D N S   c o n f i g u r a t i o n s ,   c h e c k   C o n f i g u r e   D N S   S e r v i c e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/",
    "id": "k8s_00699_section_2_15475"
  },
  {
    "question": "What is Adopting Sidecar Containers?",
    "answer": "Adopting Sidecar ContainersThis section is relevant for people adopting a new built-in sidecar containers feature for their workloads.Sidecar container is not a new concept as posted in the blog post. Kubernetes allows running multiple containers in a Pod to implement this concept. However, running a sidecar container as a regular container has a lot of limitations being fixed with the new built-in sidecar containers support.FEATURE STATE: Kubernetes v1.33 [stable] (enabled by default: true)ObjectivesUnderstand the need for sidecar containersBe able to troubleshoot issues with the sidecar containersUnderstand options to universally \"inject\" sidecar containers to any workloadBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.29.To check the version, enter kubectl version.Sidecar containers overviewSidecar containers are secondary containers that run along with the main application container within the same Pod. These containers are used to enhance or to extend the functionality of the primary app container by providing additional services, or functionalities such as logging, monitoring, security, or data synchronization, without directly altering the primary application code. You can read more in the Sidecar containers concept page.The concept of sidecar containers is not new and there are multiple implementations of this concept. As well as sidecar containers that you, the person defining the Pod, want to run, you can also find that some addons modify Pods - before the Pods start running - so that there are extra sidecar containers. The mechanisms to inject those extra sidecars are often mutating webhooks. For example, a service mesh addon might inject a sidecar that configures mutual TLS and encryption in transit between different Pods.While the concept of sidecar containers is not new, the native implementation of this feature in Kubernetes, however, is new. And as with every new feature, adopting this feature may present certain challenges.This tutorial explores challenges and solutions that can be experienced by end users as well as by authors of sidecar containers.Benefits of a built-in sidecar containerUsing Kubernetes' native support for sidecar containers provides several benefits:You can configure a native sidecar container to start ahead of init containers.The built-in sidecar containers can be authored to guarantee that they are terminated last. Sidecar containers are terminated with a SIGTERM signal once all the regular containers are completed and terminated. If the sidecar container isn’t gracef",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/pod-sidecar-containers/",
    "id": "k8s_00700_qa_15476"
  },
  {
    "question": "How does Adopting Sidecar Containers work?",
    "answer": "Adopting Sidecar ContainersThis section is relevant for people adopting a new built-in sidecar containers feature for their workloads.Sidecar container is not a new concept as posted in the blog post. Kubernetes allows running multiple containers in a Pod to implement this concept. However, running a sidecar container as a regular container has a lot of limitations being fixed with the new built-in sidecar containers support.FEATURE STATE: Kubernetes v1.33 [stable] (enabled by default: true)ObjectivesUnderstand the need for sidecar containersBe able to troubleshoot issues with the sidecar containersUnderstand options to universally \"inject\" sidecar containers to any workloadBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.29.To check the version, enter kubectl version.Sidecar containers overviewSidecar containers are secondary containers that run along with the main application container within the same Pod. These containers are used to enhance or to extend the functionality of the primary app container by providing additional services, or functionalities such as logging, monitoring, security, or data synchronization, without directly altering the primary application code. You can read more in the Sidecar containers concept page.The concept of sidecar containers is not new and there are multiple implementations of this concept. As well as sidecar containers that you, the person defining the Pod, want to run, you can also find that some addons modify Pods - before the Pods start running - so that there are extra sidecar containers. The mechanisms to inject those extra sidecars are often mutating webhooks. For example, a service mesh addon might inject a sidecar that configures mutual TLS and encryption in transit between different Pods.While the concept of sidecar containers is not new, the native implementation of this feature in Kubernetes, however, is new. And as with every new feature, adopting this feature may present certain challenges.This tutorial explores challenges and solutions that can be experienced by end users as well as by authors of sidecar containers.Benefits of a built-in sidecar containerUsing Kubernetes' native support for sidecar containers provides several benefits:You can configure a native sidecar container to start ahead of init containers.The built-in sidecar containers can be authored to guarantee that they are terminated last. Sidecar containers are terminated with a SIGTERM signal once all the regular containers are completed and terminated. If the sidecar container isn’t gracef",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/pod-sidecar-containers/",
    "id": "k8s_00700_qa_15477"
  },
  {
    "question": "When would you use Adopting Sidecar Containers?",
    "answer": "Adopting Sidecar ContainersThis section is relevant for people adopting a new built-in sidecar containers feature for their workloads.Sidecar container is not a new concept as posted in the blog post. Kubernetes allows running multiple containers in a Pod to implement this concept. However, running a sidecar container as a regular container has a lot of limitations being fixed with the new built-in sidecar containers support.FEATURE STATE: Kubernetes v1.33 [stable] (enabled by default: true)ObjectivesUnderstand the need for sidecar containersBe able to troubleshoot issues with the sidecar containersUnderstand options to universally \"inject\" sidecar containers to any workloadBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.29.To check the version, enter kubectl version.Sidecar containers overviewSidecar containers are secondary containers that run along with the main application container within the same Pod. These containers are used to enhance or to extend the functionality of the primary app container by providing additional services, or functionalities such as logging, monitoring, security, or data synchronization, without directly altering the primary application code. You can read more in the Sidecar containers concept page.The concept of sidecar containers is not new and there are multiple implementations of this concept. As well as sidecar containers that you, the person defining the Pod, want to run, you can also find that some addons modify Pods - before the Pods start running - so that there are extra sidecar containers. The mechanisms to inject those extra sidecars are often mutating webhooks. For example, a service mesh addon might inject a sidecar that configures mutual TLS and encryption in transit between different Pods.While the concept of sidecar containers is not new, the native implementation of this feature in Kubernetes, however, is new. And as with every new feature, adopting this feature may present certain challenges.This tutorial explores challenges and solutions that can be experienced by end users as well as by authors of sidecar containers.Benefits of a built-in sidecar containerUsing Kubernetes' native support for sidecar containers provides several benefits:You can configure a native sidecar container to start ahead of init containers.The built-in sidecar containers can be authored to guarantee that they are terminated last. Sidecar containers are terminated with a SIGTERM signal once all the regular containers are completed and terminated. If the sidecar container isn’t gracef",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/pod-sidecar-containers/",
    "id": "k8s_00700_qa_15478"
  },
  {
    "question": "What are the benefits of Adopting Sidecar Containers?",
    "answer": "Adopting Sidecar ContainersThis section is relevant for people adopting a new built-in sidecar containers feature for their workloads.Sidecar container is not a new concept as posted in the blog post. Kubernetes allows running multiple containers in a Pod to implement this concept. However, running a sidecar container as a regular container has a lot of limitations being fixed with the new built-in sidecar containers support.FEATURE STATE: Kubernetes v1.33 [stable] (enabled by default: true)ObjectivesUnderstand the need for sidecar containersBe able to troubleshoot issues with the sidecar containersUnderstand options to universally \"inject\" sidecar containers to any workloadBefore you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.29.To check the version, enter kubectl version.Sidecar containers overviewSidecar containers are secondary containers that run along with the main application container within the same Pod. These containers are used to enhance or to extend the functionality of the primary app container by providing additional services, or functionalities such as logging, monitoring, security, or data synchronization, without directly altering the primary application code. You can read more in the Sidecar containers concept page.The concept of sidecar containers is not new and there are multiple implementations of this concept. As well as sidecar containers that you, the person defining the Pod, want to run, you can also find that some addons modify Pods - before the Pods start running - so that there are extra sidecar containers. The mechanisms to inject those extra sidecars are often mutating webhooks. For example, a service mesh addon might inject a sidecar that configures mutual TLS and encryption in transit between different Pods.While the concept of sidecar containers is not new, the native implementation of this feature in Kubernetes, however, is new. And as with every new feature, adopting this feature may present certain challenges.This tutorial explores challenges and solutions that can be experienced by end users as well as by authors of sidecar containers.Benefits of a built-in sidecar containerUsing Kubernetes' native support for sidecar containers provides several benefits:You can configure a native sidecar container to start ahead of init containers.The built-in sidecar containers can be authored to guarantee that they are terminated last. Sidecar containers are terminated with a SIGTERM signal once all the regular containers are completed and terminated. If the sidecar container isn’t gracef",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/pod-sidecar-containers/",
    "id": "k8s_00700_qa_15479"
  },
  {
    "question": "What is Adopting Sidecar Containers?",
    "answer": "T h i s   s e c t i o n   i s   r e l e v a n t   f o r   p e o p l e   a d o p t i n g   a   n e w   b u i l t - i n   s i d e c a r   c o n t a i n e r s   f e a t u r e   f o r   t h e i r   w o r k l o a d s .   S i d e c a r   c o n t a i n e r   i s   n o t   a   n e w   c o n c e p t   a s   p o s t e d   i n   t h e   b l o g   p o s t .   K u b e r n e t e s   a l l o w s   r u n n i n g   m u l t i p l e   c o n t a i n e r s   i n   a   P o d   t o   i m p l e m e n t   t h i s   c o n c e p t .   H o w e v e r ,   r u n n i n g   a   s i d e c a r   c o n t a i n e r   a s   a   r e g u l a r   c o n t a i n e r   h a s   a   l o t   o f   l i m i t a t i o n s   b e i n g   f i x e d   w i t h   t h e   n e w   b u i l t - i n   s i d e c a r   c o n t a i n e r s   s u p p o r t .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/pod-sidecar-containers/",
    "id": "k8s_00700_section_1_15480"
  },
  {
    "question": "What is Objectives?",
    "answer": "U n d e r s t a n d   t h e   n e e d   f o r   s i d e c a r   c o n t a i n e r s B e   a b l e   t o   t r o u b l e s h o o t   i s s u e s   w i t h   t h e   s i d e c a r   c o n t a i n e r s U n d e r s t a n d   o p t i o n s   t o   u n i v e r s a l l y   \" i n j e c t \"   s i d e c a r   c o n t a i n e r s   t o   a n y   w o r k l o a d",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/pod-sidecar-containers/",
    "id": "k8s_00700_section_2_15481"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 2 9 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/pod-sidecar-containers/",
    "id": "k8s_00700_section_2_15482"
  },
  {
    "question": "What is Sidecar containers overview?",
    "answer": "S i d e c a r   c o n t a i n e r s   a r e   s e c o n d a r y   c o n t a i n e r s   t h a t   r u n   a l o n g   w i t h   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r   w i t h i n   t h e   s a m e   P o d .   T h e s e   c o n t a i n e r s   a r e   u s e d   t o   e n h a n c e   o r   t o   e x t e n d   t h e   f u n c t i o n a l i t y   o f   t h e   p r i m a r y   a p p   c o n t a i n e r   b y   p r o v i d i n g   a d d i t i o n a l   s e r v i c e s ,   o r   f u n c t i o n a l i t i e s   s u c h   a s   l o g g i n g ,   m o n i t o r i n g ,   s e c u r i t y ,   o r   d a t a   s y n c h r o n i z a t i o n ,   w i t h o u t   d i r e c t l y   a l t e r i n g   t h e   p r i m a r y   a p p l i c a t i o n   c o d e .   Y o u   c a n   r e a d   m o r e   i n   t h e   S i d e c a r   c o n t a i n e r s   c o n c e p t   p a g e .   T h e   c o n c e p t   o f   s i d e c a r   c o n t a i n e r s   i s   n o t   n e w   a n d   t h e r e   a r e   m u l t i p l e   i m p l e m e n t a t i o n s   o f   t h i s   c o n c e p t .   A s   w e l l   a s   s i d e c a r   c o n t a i n e r s   t h a t   y o u ,   t h e   p e r s o n   d e f i n i n g   t h e   P o d ,   w a n t   t o   r u n ,   y o u   c a n   a l s o   f i n d   t h a t   s o m e   a d d o n s   m o d i f y   P o d s   -   b e f o r e   t h e   P o d s   s t a r t   r u n n i n g   -   s o   t h a t   t h e r e   a r e   e x t r a   s i d e c a r   c o n t a i n e r s .   T h e   m e c h a n i s m s   t o   i n j e c t   t h o s e   e x t r a   s i d e c a r s   a r e   o f t e n   m u t a t i n g   w e b h o o k s .   F o r   e x a m p l e ,   a   s e r v i c e   m e s h   a d d o n   m i g h t   i n j e c t   a   s i d e c a r   t h a t   c o n f i g u r e s   m u t u a l   T L S   a n d   e n c r y p t i o n   i n   t r a n s i t   b e t w e e n   d i f f e r e n t   P o d s .   W h i l e   t h e   c o n c e p t   o f   s i d e c a r   c o n t a i n e r s ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/pod-sidecar-containers/",
    "id": "k8s_00700_section_2_15483"
  },
  {
    "question": "What is Benefits of a built-in sidecar container?",
    "answer": "U s i n g   K u b e r n e t e s '   n a t i v e   s u p p o r t   f o r   s i d e c a r   c o n t a i n e r s   p r o v i d e s   s e v e r a l   b e n e f i t s :   Y o u   c a n   c o n f i g u r e   a   n a t i v e   s i d e c a r   c o n t a i n e r   t o   s t a r t   a h e a d   o f   i n i t   c o n t a i n e r s . T h e   b u i l t - i n   s i d e c a r   c o n t a i n e r s   c a n   b e   a u t h o r e d   t o   g u a r a n t e e   t h a t   t h e y   a r e   t e r m i n a t e d   l a s t .   S i d e c a r   c o n t a i n e r s   a r e   t e r m i n a t e d   w i t h   a   S I G T E R M   s i g n a l   o n c e   a l l   t h e   r e g u l a r   c o n t a i n e r s   a r e   c o m p l e t e d   a n d   t e r m i n a t e d .   I f   t h e   s i d e c a r   c o n t a i n e r   i s n ’ t   g r a c e f u l l y   s h u t   d o w n ,   a   S I G K I L L   s i g n a l   w i l l   b e   u s e d   t o   t e r m i n a t e   i t . W i t h   J o b s ,   w h e n   P o d ' s   r e s t a r t P o l i c y :   O n F a i l u r e   o r   r e s t a r t P o l i c y :   N e v e r ,   n a t i v e   s i d e c a r   c o n t a i n e r s   d o   n o t   b l o c k   P o d   c o m p l e t i o n .   W i t h   l e g a c y   s i d e c a r   c o n t a i n e r s ,   s p e c i a l   c a r e   i s   n e e d e d   t o   h a n d l e   t h i s   s i t u a t i o n . A l s o ,   w i t h   J o b s ,   b u i l t - i n   s i d e c a r   c o n t a i n e r s   w o u l d   k e e p   b e i n g   r e s t a r t e d   o n c e   t h e y   a r e   d o n e ,   e v e n   i f   r e g u l a r   c o n t a i n e r s   w o u l d   n o t   w i t h   P o d ' s   r e s t a r t P o l i c y :   N e v e r .   S e e   d i f f e r e n c e s   f r o m   i n i t   c o n t a i n e r s   t o   l e a r n   m o r e   a b o u t   i t .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/pod-sidecar-containers/",
    "id": "k8s_00700_section_2_15484"
  },
  {
    "question": "What is Adopting built-in sidecar containers?",
    "answer": "T h e   S i d e c a r C o n t a i n e r s   f e a t u r e   g a t e   i s   i n   b e t a   s t a t e   s t a r t i n g   f r o m   K u b e r n e t e s   v e r s i o n   1 . 2 9   a n d   i s   e n a b l e d   b y   d e f a u l t .   S o m e   c l u s t e r s   m a y   h a v e   t h i s   f e a t u r e   d i s a b l e d   o r   h a v e   s o f t w a r e   i n s t a l l e d   t h a t   i s   i n c o m p a t i b l e   w i t h   t h e   f e a t u r e .   W h e n   t h i s   h a p p e n s ,   t h e   P o d   m a y   b e   r e j e c t e d   o r   t h e   s i d e c a r   c o n t a i n e r s   m a y   b l o c k   P o d   s t a r t u p ,   r e n d e r i n g   t h e   P o d   u s e l e s s .   T h i s   c o n d i t i o n   i s   e a s y   t o   d e t e c t   a s   t h e   P o d   s i m p l y   g e t s   s t u c k   o n   i n i t i a l i z a t i o n .   H o w e v e r ,   i t   i s   o f t e n   u n c l e a r   w h a t   c a u s e d   t h e   p r o b l e m .   H e r e   a r e   t h e   c o n s i d e r a t i o n s   a n d   t r o u b l e s h o o t i n g   s t e p s   t h a t   o n e   c a n   t a k e   w h i l e   a d o p t i n g   s i d e c a r   c o n t a i n e r s   f o r   t h e i r   w o r k l o a d .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/pod-sidecar-containers/",
    "id": "k8s_00700_section_2_15485"
  },
  {
    "question": "What is Ensure the feature gate is enabled?",
    "answer": "A s   a   v e r y   f i r s t   s t e p ,   m a k e   s u r e   t h a t   b o t h   A P I   s e r v e r   a n d   N o d e s   a r e   a t   K u b e r n e t e s   v e r s i o n   v 1 . 2 9   o r   l a t e r .   T h e   f e a t u r e   w i l l   b r e a k   o n   c l u s t e r s   w h e r e   N o d e s   a r e   r u n n i n g   e a r l i e r   v e r s i o n s   w h e r e   i t   i s   n o t   e n a b l e d .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/pod-sidecar-containers/",
    "id": "k8s_00700_section_3_15486"
  },
  {
    "question": "What is Note?",
    "answer": "Y o u   s h o u l d   e n s u r e   t h a t   t h e   f e a t u r e   g a t e   i s   e n a b l e d   f o r   t h e   A P I   s e r v e r ( s )   w i t h i n   t h e   c o n t r o l   p l a n e   a n d   f o r   a l l   n o d e s .   O n e   o f   t h e   w a y s   t o   c h e c k   t h e   f e a t u r e   g a t e   e n a b l e m e n t   i s   t o   r u n   a   c o m m a n d   l i k e   t h i s :   F o r   A P I   S e r v e r : k u b e c t l   g e t   - - r a w   / m e t r i c s   |   g r e p   k u b e r n e t e s _ f e a t u r e _ e n a b l e d   |   g r e p   S i d e c a r C o n t a i n e r s   F o r   t h e   i n d i v i d u a l   n o d e : k u b e c t l   g e t   - - r a w   / a p i / v 1 / n o d e s / < n o d e - n a m e > / p r o x y / m e t r i c s   |   g r e p   k u b e r n e t e s _ f e a t u r e _ e n a b l e d   |   g r e p   S i d e c a r C o n t a i n e r s   F o r   A P I   S e r v e r :   k u b e c t l   g e t   - - r a w   / m e t r i c s   |   g r e p   k u b e r n e t e s _ f e a t u r e _ e n a b l e d   |   g r e p   S i d e c a r C o n t a i n e r s   F o r   t h e   i n d i v i d u a l   n o d e :   k u b e c t l   g e t   - - r a w   / a p i / v 1 / n o d e s / < n o d e - n a m e > / p r o x y / m e t r i c s   |   g r e p   k u b e r n e t e s _ f e a t u r e _ e n a b l e d   |   g r e p   S i d e c a r C o n t a i n e r s   I f   y o u   s e e   s o m e t h i n g   l i k e   t h i s :   k u b e r n e t e s _ f e a t u r e _ e n a b l e d { n a m e = \" S i d e c a r C o n t a i n e r s \" , s t a g e = \" B E T A \" }   1   i t   m e a n s   t h a t   t h e   f e a t u r e   i s   e n a b l e d .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/pod-sidecar-containers/",
    "id": "k8s_00700_section_4_15487"
  },
  {
    "question": "What is Check for 3rd party tooling and mutating webhooks?",
    "answer": "I f   y o u   e x p e r i e n c e   i s s u e s   w h e n   v a l i d a t i n g   t h e   f e a t u r e ,   i t   m a y   b e   a n   i n d i c a t i o n   t h a t   o n e   o f   t h e   3 r d   p a r t y   t o o l s   o r   m u t a t i n g   w e b h o o k s   a r e   b r o k e n .   W h e n   t h e   S i d e c a r C o n t a i n e r s   f e a t u r e   g a t e   i s   e n a b l e d ,   P o d s   g a i n   a   n e w   f i e l d   i n   t h e i r   A P I .   S o m e   t o o l s   o r   m u t a t i n g   w e b h o o k s   m i g h t   h a v e   b e e n   b u i l t   w i t h   a n   e a r l i e r   v e r s i o n   o f   K u b e r n e t e s   A P I .   I f   t o o l s   p a s s   u n k n o w n   f i e l d s   a s - i s   u s i n g   v a r i o u s   p a t c h i n g   s t r a t e g i e s   t o   m u t a t e   a   P o d   o b j e c t ,   t h i s   w i l l   n o t   b e   a   p r o b l e m .   H o w e v e r ,   t h e r e   a r e   t o o l s   t h a t   w i l l   s t r i p   o u t   u n k n o w n   f i e l d s ;   i f   y o u   h a v e   t h o s e ,   t h e y   m u s t   b e   r e c o m p i l e d   w i t h   t h e   v 1 . 2 8 +   v e r s i o n   o f   K u b e r n e t e s   A P I   c l i e n t   c o d e .   T h e   w a y   t o   c h e c k   t h i s   i s   t o   u s e   t h e   k u b e c t l   d e s c r i b e   p o d   c o m m a n d   w i t h   y o u r   P o d   t h a t   h a s   p a s s e d   t h r o u g h   m u t a t i n g   a d m i s s i o n .   I f   a n y   t o o l s   s t r i p p e d   o u t   t h e   n e w   f i e l d   ( r e s t a r t P o l i c y : A l w a y s ) ,   y o u   w i l l   n o t   s e e   i t   i n   t h e   c o m m a n d   o u t p u t .   I f   y o u   h i t   a n   i s s u e   l i k e   t h i s ,   p l e a s e   a d v i s e   t h e   a u t h o r   o f   t h e   t o o l s   o r   t h e   w e b h o o k s   u s e   o n e   o f   t h e   p a t c h i n g   s t r a t e g i e s   f o r   m o d i f y i n g   o b j e c t s   i n s t e a d   o f   a   f u l l   o b ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/pod-sidecar-containers/",
    "id": "k8s_00700_section_3_15488"
  },
  {
    "question": "What is Automatic injection of sidecars?",
    "answer": "I f   y o u   a r e   u s i n g   s o f t w a r e   t h a t   i n j e c t s   s i d e c a r s   a u t o m a t i c a l l y ,   t h e r e   a r e   a   f e w   p o s s i b l e   s t r a t e g i e s   y o u   m a y   f o l l o w   t o   e n s u r e   t h a t   n a t i v e   s i d e c a r   c o n t a i n e r s   c a n   b e   u s e d .   A l l   s t r a t e g i e s   a r e   g e n e r a l l y   o p t i o n s   y o u   m a y   c h o o s e   t o   d e c i d e   w h e t h e r   t h e   P o d   t h e   s i d e c a r   w i l l   b e   i n j e c t e d   t o   w i l l   l a n d   o n   a   N o d e   s u p p o r t i n g   t h e   f e a t u r e   o r   n o t .   A s   a n   e x a m p l e ,   y o u   c a n   f o l l o w   t h i s   c o n v e r s a t i o n   i n   I s t i o   c o m m u n i t y .   T h e   d i s c u s s i o n   e x p l o r e s   t h e   o p t i o n s   l i s t e d   b e l o w .   M a r k   P o d s   t h a t   l a n d   t o   n o d e s   s u p p o r t i n g   s i d e c a r s .   Y o u   c a n   u s e   n o d e   l a b e l s   a n d   n o d e   a f f i n i t y   t o   m a r k   n o d e s   s u p p o r t i n g   s i d e c a r   c o n t a i n e r s   a n d   P o d s   l a n d i n g   o n   t h o s e   n o d e s . C h e c k   N o d e s   c o m p a t i b i l i t y   o n   i n j e c t i o n .   D u r i n g   s i d e c a r   i n j e c t i o n ,   y o u   m a y   u s e   t h e   f o l l o w i n g   s t r a t e g i e s   t o   c h e c k   n o d e   c o m p a t i b i l i t y : q u e r y   n o d e   v e r s i o n   a n d   a s s u m e   t h e   f e a t u r e   g a t e   i s   e n a b l e d   o n   t h e   v e r s i o n   1 . 2 9 + q u e r y   n o d e   p r o m e t h e u s   m e t r i c s   a n d   c h e c k   f e a t u r e   e n a b l e m e n t   s t a t u s a s s u m e   t h e   n o d e s   a r e   r u n n i n g   w i t h   a   s u p p o r t e d   v e r s i o n   s k e w   f r o m   t h e   A P I   s e r v e r t h e r e   m a y   b e   o t h e r   c u s t o m   w a y s   t o ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/pod-sidecar-containers/",
    "id": "k8s_00700_section_3_15489"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   s i d e c a r   c o n t a i n e r s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/configuration/pod-sidecar-containers/",
    "id": "k8s_00700_section_2_15490"
  },
  {
    "question": "What is StatefulSet?",
    "answer": "StatefulSetStatefulSet represents a set of pods with consistent identities.apiVersion: apps/v1import \"k8s.io/api/apps/v1\"StatefulSetStatefulSet represents a set of pods with consistent identities. Identities are defined as:Network: A single stable DNS and hostname.Storage: As many VolumeClaims as requested.The StatefulSet guarantees that a given network identity will always map to the same storage identity.apiVersion: apps/v1kind: StatefulSetmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (StatefulSetSpec)Spec defines the desired identities of pods in this set.status (StatefulSetStatus)Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.StatefulSetSpecA StatefulSetSpec is the specification of a StatefulSet.serviceName (string)serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.selector (LabelSelector), requiredselector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectorstemplate (PodTemplateSpec), requiredtemplate is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. Each pod will be named with the format <statefulsetname>-<podindex>. For example, a pod in a StatefulSet named \"web\" with index number \"3\" would be named \"web-3\". The only allowed template.spec.restartPolicy value is \"Always\".replicas (int32)replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.updateStrategy (StatefulSetUpdateStrategy)updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.updateStrategy.type (string)Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.updateStrategy.rollingUpdate (RollingUpdateStatefulSetStrategy)RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdate",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_qa_15491"
  },
  {
    "question": "How does StatefulSet work?",
    "answer": "StatefulSetStatefulSet represents a set of pods with consistent identities.apiVersion: apps/v1import \"k8s.io/api/apps/v1\"StatefulSetStatefulSet represents a set of pods with consistent identities. Identities are defined as:Network: A single stable DNS and hostname.Storage: As many VolumeClaims as requested.The StatefulSet guarantees that a given network identity will always map to the same storage identity.apiVersion: apps/v1kind: StatefulSetmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (StatefulSetSpec)Spec defines the desired identities of pods in this set.status (StatefulSetStatus)Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.StatefulSetSpecA StatefulSetSpec is the specification of a StatefulSet.serviceName (string)serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.selector (LabelSelector), requiredselector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectorstemplate (PodTemplateSpec), requiredtemplate is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. Each pod will be named with the format <statefulsetname>-<podindex>. For example, a pod in a StatefulSet named \"web\" with index number \"3\" would be named \"web-3\". The only allowed template.spec.restartPolicy value is \"Always\".replicas (int32)replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.updateStrategy (StatefulSetUpdateStrategy)updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.updateStrategy.type (string)Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.updateStrategy.rollingUpdate (RollingUpdateStatefulSetStrategy)RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdate",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_qa_15492"
  },
  {
    "question": "When would you use StatefulSet?",
    "answer": "StatefulSetStatefulSet represents a set of pods with consistent identities.apiVersion: apps/v1import \"k8s.io/api/apps/v1\"StatefulSetStatefulSet represents a set of pods with consistent identities. Identities are defined as:Network: A single stable DNS and hostname.Storage: As many VolumeClaims as requested.The StatefulSet guarantees that a given network identity will always map to the same storage identity.apiVersion: apps/v1kind: StatefulSetmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (StatefulSetSpec)Spec defines the desired identities of pods in this set.status (StatefulSetStatus)Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.StatefulSetSpecA StatefulSetSpec is the specification of a StatefulSet.serviceName (string)serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.selector (LabelSelector), requiredselector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectorstemplate (PodTemplateSpec), requiredtemplate is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. Each pod will be named with the format <statefulsetname>-<podindex>. For example, a pod in a StatefulSet named \"web\" with index number \"3\" would be named \"web-3\". The only allowed template.spec.restartPolicy value is \"Always\".replicas (int32)replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.updateStrategy (StatefulSetUpdateStrategy)updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.updateStrategy.type (string)Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.updateStrategy.rollingUpdate (RollingUpdateStatefulSetStrategy)RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdate",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_qa_15493"
  },
  {
    "question": "What are the benefits of StatefulSet?",
    "answer": "StatefulSetStatefulSet represents a set of pods with consistent identities.apiVersion: apps/v1import \"k8s.io/api/apps/v1\"StatefulSetStatefulSet represents a set of pods with consistent identities. Identities are defined as:Network: A single stable DNS and hostname.Storage: As many VolumeClaims as requested.The StatefulSet guarantees that a given network identity will always map to the same storage identity.apiVersion: apps/v1kind: StatefulSetmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (StatefulSetSpec)Spec defines the desired identities of pods in this set.status (StatefulSetStatus)Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.StatefulSetSpecA StatefulSetSpec is the specification of a StatefulSet.serviceName (string)serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.selector (LabelSelector), requiredselector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectorstemplate (PodTemplateSpec), requiredtemplate is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. Each pod will be named with the format <statefulsetname>-<podindex>. For example, a pod in a StatefulSet named \"web\" with index number \"3\" would be named \"web-3\". The only allowed template.spec.restartPolicy value is \"Always\".replicas (int32)replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.updateStrategy (StatefulSetUpdateStrategy)updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.updateStrategy.type (string)Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.updateStrategy.rollingUpdate (RollingUpdateStatefulSetStrategy)RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdate",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_qa_15494"
  },
  {
    "question": "What is StatefulSet?",
    "answer": "a p i V e r s i o n :   a p p s / v 1   i m p o r t   \" k 8 s . i o / a p i / a p p s / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_1_15495"
  },
  {
    "question": "What is StatefulSet?",
    "answer": "S t a t e f u l S e t   r e p r e s e n t s   a   s e t   o f   p o d s   w i t h   c o n s i s t e n t   i d e n t i t i e s .   I d e n t i t i e s   a r e   d e f i n e d   a s :   N e t w o r k :   A   s i n g l e   s t a b l e   D N S   a n d   h o s t n a m e . S t o r a g e :   A s   m a n y   V o l u m e C l a i m s   a s   r e q u e s t e d .   T h e   S t a t e f u l S e t   g u a r a n t e e s   t h a t   a   g i v e n   n e t w o r k   i d e n t i t y   w i l l   a l w a y s   m a p   t o   t h e   s a m e   s t o r a g e   i d e n t i t y .   a p i V e r s i o n :   a p p s / v 1 k i n d :   S t a t e f u l S e t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( S t a t e f u l S e t S p e c ) S p e c   d e f i n e s   t h e   d e s i r e d   i d e n t i t i e s   o f   p o d s   i n   t h i s   s e t . s t a t u s   ( S t a t e f u l S e t S t a t u s ) S t a t u s   i s   t h e   c u r r e n t   s t a t u s   o f   P o d s   i n   t h i s   S t a t e f u l S e t .   T h i s   d a t a   m a y   b e   o u t   o f   d a t e   b y   s o m e   w i n d o w   o f   t i m e .   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( S t a t e f u l S e t S p e c )   S p e c   d e f i n e s   t h e   d e s i r e d   i d e n t i t i e s   o f   p o d s   i n   t h i s   s e t .   s t a t u s   ( S t a t e f u l S e t S t a t u s )   S t a t u s   i s   t h e   c u r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_2_15496"
  },
  {
    "question": "What is StatefulSetSpec?",
    "answer": "A   S t a t e f u l S e t S p e c   i s   t h e   s p e c i f i c a t i o n   o f   a   S t a t e f u l S e t .   s e r v i c e N a m e   ( s t r i n g ) s e r v i c e N a m e   i s   t h e   n a m e   o f   t h e   s e r v i c e   t h a t   g o v e r n s   t h i s   S t a t e f u l S e t .   T h i s   s e r v i c e   m u s t   e x i s t   b e f o r e   t h e   S t a t e f u l S e t ,   a n d   i s   r e s p o n s i b l e   f o r   t h e   n e t w o r k   i d e n t i t y   o f   t h e   s e t .   P o d s   g e t   D N S / h o s t n a m e s   t h a t   f o l l o w   t h e   p a t t e r n :   p o d - s p e c i f i c - s t r i n g . s e r v i c e N a m e . d e f a u l t . s v c . c l u s t e r . l o c a l   w h e r e   \" p o d - s p e c i f i c - s t r i n g \"   i s   m a n a g e d   b y   t h e   S t a t e f u l S e t   c o n t r o l l e r . s e l e c t o r   ( L a b e l S e l e c t o r ) ,   r e q u i r e d s e l e c t o r   i s   a   l a b e l   q u e r y   o v e r   p o d s   t h a t   s h o u l d   m a t c h   t h e   r e p l i c a   c o u n t .   I t   m u s t   m a t c h   t h e   p o d   t e m p l a t e ' s   l a b e l s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / l a b e l s / # l a b e l - s e l e c t o r s t e m p l a t e   ( P o d T e m p l a t e S p e c ) ,   r e q u i r e d t e m p l a t e   i s   t h e   o b j e c t   t h a t   d e s c r i b e s   t h e   p o d   t h a t   w i l l   b e   c r e a t e d   i f   i n s u f f i c i e n t   r e p l i c a s   a r e   d e t e c t e d .   E a c h   p o d   s t a m p e d   o u t   b y   t h e   S t a t e f u l S e t   w i l l   f u l f i l l   t h i s   T e m p l a t e ,   b u t   h a v e   a   u n i q u e   i d e n t i t y   f r o m   t h e   r e s t   o f   t h e   S t a t e f u l S e t .   E a c h   p o d   w i l l   b e   n a m e d   w i t h   t h e   f o r m a t   < s t a t e f u l s e t n a m e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_2_15497"
  },
  {
    "question": "What is StatefulSetStatus?",
    "answer": "S t a t e f u l S e t S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t e   o f   a   S t a t e f u l S e t .   r e p l i c a s   ( i n t 3 2 ) ,   r e q u i r e d r e p l i c a s   i s   t h e   n u m b e r   o f   P o d s   c r e a t e d   b y   t h e   S t a t e f u l S e t   c o n t r o l l e r . r e a d y R e p l i c a s   ( i n t 3 2 ) r e a d y R e p l i c a s   i s   t h e   n u m b e r   o f   p o d s   c r e a t e d   f o r   t h i s   S t a t e f u l S e t   w i t h   a   R e a d y   C o n d i t i o n . c u r r e n t R e p l i c a s   ( i n t 3 2 ) c u r r e n t R e p l i c a s   i s   t h e   n u m b e r   o f   P o d s   c r e a t e d   b y   t h e   S t a t e f u l S e t   c o n t r o l l e r   f r o m   t h e   S t a t e f u l S e t   v e r s i o n   i n d i c a t e d   b y   c u r r e n t R e v i s i o n . u p d a t e d R e p l i c a s   ( i n t 3 2 ) u p d a t e d R e p l i c a s   i s   t h e   n u m b e r   o f   P o d s   c r e a t e d   b y   t h e   S t a t e f u l S e t   c o n t r o l l e r   f r o m   t h e   S t a t e f u l S e t   v e r s i o n   i n d i c a t e d   b y   u p d a t e R e v i s i o n . a v a i l a b l e R e p l i c a s   ( i n t 3 2 ) T o t a l   n u m b e r   o f   a v a i l a b l e   p o d s   ( r e a d y   f o r   a t   l e a s t   m i n R e a d y S e c o n d s )   t a r g e t e d   b y   t h i s   s t a t e f u l s e t . c o l l i s i o n C o u n t   ( i n t 3 2 ) c o l l i s i o n C o u n t   i s   t h e   c o u n t   o f   h a s h   c o l l i s i o n s   f o r   t h e   S t a t e f u l S e t .   T h e   S t a t e f u l S e t   c o n t r o l l e r   u s e s   t h i s   f i e l d   a s   a   c o l l i s i o n   a v o i d a n c e   m e c h a n i s m   w h e n   i t   n e e d s   t o   c r e a t e   t h e   n a m e   f o r   t h e   n e w e s t   C o n t r o l l e r R e v i s i o n . c o n d i t i o n s   ( [ ] S t a t e f u l S e t C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_2_15498"
  },
  {
    "question": "What is StatefulSetList?",
    "answer": "S t a t e f u l S e t L i s t   i s   a   c o l l e c t i o n   o f   S t a t e f u l S e t s .   a p i V e r s i o n :   a p p s / v 1 k i n d :   S t a t e f u l S e t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] S t a t e f u l S e t ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   s t a t e f u l   s e t s .   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] S t a t e f u l S e t ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   s t a t e f u l   s e t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_2_15499"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15500"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t a t e f u l S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t a t e f u l S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15501"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15502"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15503"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t a t e f u l S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t a t e f u l S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15504"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15505"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15506"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15507"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15508"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / s t a t e f u l s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15509"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15510"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15511"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15512"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S t a t e f u l S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S t a t e f u l S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15513"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t ) :   O K   2 0 1   ( S t a t e f u l S e t ) :   C r e a t e d   2 0 2   ( S t a t e f u l S e t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15514"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15515"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t a t e f u l S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S t a t e f u l S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t a t e f u l S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S t a t e f u l S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15516"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t ) :   O K   2 0 1   ( S t a t e f u l S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15517"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15518"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t a t e f u l S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S t a t e f u l S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t a t e f u l S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S t a t e f u l S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15519"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t ) :   O K   2 0 1   ( S t a t e f u l S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15520"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15521"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t a t e f u l S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t a t e f u l S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15522"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t ) :   O K   2 0 1   ( S t a t e f u l S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15523"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15524"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t a t e f u l S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t a t e f u l S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15525"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t ) :   O K   2 0 1   ( S t a t e f u l S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15526"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15527"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t a t e f u l S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t a t e f u l S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15528"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15529"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15530"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15531"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/",
    "id": "k8s_00701_section_4_15532"
  },
  {
    "question": "What is Explore Termination Behavior for Pods And Their Endpoints?",
    "answer": "Explore Termination Behavior for Pods And Their EndpointsOnce you connected your Application with Service following steps like those outlined in Connecting Applications with Services, you have a continuously running, replicated application, that is exposed on a network. This tutorial helps you look at the termination flow for Pods and to explore ways to implement graceful connection draining.Termination process for Pods and their endpointsThere are often cases when you need to terminate a Pod - be it to upgrade or scale down. In order to improve application availability, it may be important to implement a proper active connections draining.This tutorial explains the flow of Pod termination in connection with the corresponding endpoint state and removal by using a simple nginx web server to demonstrate the concept.Example flow with endpoint terminationThe following is the example flow described in the Termination of Pods document.Let's say you have a Deployment containing a single nginx replica (say just for the sake of demonstration purposes) and a Service:service/pod-with-graceful-termination.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment labels: app: nginx spec: replicas: 1 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: terminationGracePeriodSeconds: 120 # extra long grace period containers: - name: nginx image: nginx:latest ports: - containerPort: 80 lifecycle: preStop: exec: # Real life termination may take any time up to terminationGracePeriodSeconds. # In this example - just hang around for at least the duration of terminationGracePeriodSeconds, # at 120 seconds container will be forcibly terminated. # Note, all this time nginx will keep processing requests. command: [ \"/bin/sh\", \"-c\", \"sleep 180\" ] service/explore-graceful-termination-nginx.yaml apiVersion: v1 kind: Service metadata: name: nginx-service spec: selector: app: nginx ports: - protocol: TCP port: 80 targetPort: 80Now create the Deployment Pod and Service using the above files:kubectl apply -f pod-with-graceful-termination.yaml kubectl apply -f explore-graceful-termination-nginx.yaml Once the Pod and Service are running, you can get the name of any associated EndpointSlices:kubectl get endpointslice The output is similar to this:NAME ADDRESSTYPE PORTS ENDPOINTS AGE nginx-service-6tjbr IPv4 80 10.12.1.199,10.12.1.201 22m You can see its status, and validate that there is one endpoint registered:kubectl get endpointslices -o json -l kubernetes.io/service-name=nginx-service The output is similar to this:{ \"addressType\": \"IPv4\", \"apiVersion\": \"discovery.k8s.io/v1\", \"endpoints\": [ { \"addresses\": [ \"10.12.1.201\" ], \"conditions\": { \"ready\": true, \"serving\": true, \"terminating\": false Now let's terminate the Pod and validate that the Pod is being terminated respecting the graceful termination period configuration:kubectl delete pod nginx-deployment-7768647bf9-b4b9s All pods:kubectl get pods The output is similar to this:NAME RE",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/pods-and-endpoint-termination-flow/",
    "id": "k8s_00702_qa_15533"
  },
  {
    "question": "How does Explore Termination Behavior for Pods And Their Endpoints work?",
    "answer": "Explore Termination Behavior for Pods And Their EndpointsOnce you connected your Application with Service following steps like those outlined in Connecting Applications with Services, you have a continuously running, replicated application, that is exposed on a network. This tutorial helps you look at the termination flow for Pods and to explore ways to implement graceful connection draining.Termination process for Pods and their endpointsThere are often cases when you need to terminate a Pod - be it to upgrade or scale down. In order to improve application availability, it may be important to implement a proper active connections draining.This tutorial explains the flow of Pod termination in connection with the corresponding endpoint state and removal by using a simple nginx web server to demonstrate the concept.Example flow with endpoint terminationThe following is the example flow described in the Termination of Pods document.Let's say you have a Deployment containing a single nginx replica (say just for the sake of demonstration purposes) and a Service:service/pod-with-graceful-termination.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment labels: app: nginx spec: replicas: 1 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: terminationGracePeriodSeconds: 120 # extra long grace period containers: - name: nginx image: nginx:latest ports: - containerPort: 80 lifecycle: preStop: exec: # Real life termination may take any time up to terminationGracePeriodSeconds. # In this example - just hang around for at least the duration of terminationGracePeriodSeconds, # at 120 seconds container will be forcibly terminated. # Note, all this time nginx will keep processing requests. command: [ \"/bin/sh\", \"-c\", \"sleep 180\" ] service/explore-graceful-termination-nginx.yaml apiVersion: v1 kind: Service metadata: name: nginx-service spec: selector: app: nginx ports: - protocol: TCP port: 80 targetPort: 80Now create the Deployment Pod and Service using the above files:kubectl apply -f pod-with-graceful-termination.yaml kubectl apply -f explore-graceful-termination-nginx.yaml Once the Pod and Service are running, you can get the name of any associated EndpointSlices:kubectl get endpointslice The output is similar to this:NAME ADDRESSTYPE PORTS ENDPOINTS AGE nginx-service-6tjbr IPv4 80 10.12.1.199,10.12.1.201 22m You can see its status, and validate that there is one endpoint registered:kubectl get endpointslices -o json -l kubernetes.io/service-name=nginx-service The output is similar to this:{ \"addressType\": \"IPv4\", \"apiVersion\": \"discovery.k8s.io/v1\", \"endpoints\": [ { \"addresses\": [ \"10.12.1.201\" ], \"conditions\": { \"ready\": true, \"serving\": true, \"terminating\": false Now let's terminate the Pod and validate that the Pod is being terminated respecting the graceful termination period configuration:kubectl delete pod nginx-deployment-7768647bf9-b4b9s All pods:kubectl get pods The output is similar to this:NAME RE",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/pods-and-endpoint-termination-flow/",
    "id": "k8s_00702_qa_15534"
  },
  {
    "question": "When would you use Explore Termination Behavior for Pods And Their Endpoints?",
    "answer": "Explore Termination Behavior for Pods And Their EndpointsOnce you connected your Application with Service following steps like those outlined in Connecting Applications with Services, you have a continuously running, replicated application, that is exposed on a network. This tutorial helps you look at the termination flow for Pods and to explore ways to implement graceful connection draining.Termination process for Pods and their endpointsThere are often cases when you need to terminate a Pod - be it to upgrade or scale down. In order to improve application availability, it may be important to implement a proper active connections draining.This tutorial explains the flow of Pod termination in connection with the corresponding endpoint state and removal by using a simple nginx web server to demonstrate the concept.Example flow with endpoint terminationThe following is the example flow described in the Termination of Pods document.Let's say you have a Deployment containing a single nginx replica (say just for the sake of demonstration purposes) and a Service:service/pod-with-graceful-termination.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment labels: app: nginx spec: replicas: 1 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: terminationGracePeriodSeconds: 120 # extra long grace period containers: - name: nginx image: nginx:latest ports: - containerPort: 80 lifecycle: preStop: exec: # Real life termination may take any time up to terminationGracePeriodSeconds. # In this example - just hang around for at least the duration of terminationGracePeriodSeconds, # at 120 seconds container will be forcibly terminated. # Note, all this time nginx will keep processing requests. command: [ \"/bin/sh\", \"-c\", \"sleep 180\" ] service/explore-graceful-termination-nginx.yaml apiVersion: v1 kind: Service metadata: name: nginx-service spec: selector: app: nginx ports: - protocol: TCP port: 80 targetPort: 80Now create the Deployment Pod and Service using the above files:kubectl apply -f pod-with-graceful-termination.yaml kubectl apply -f explore-graceful-termination-nginx.yaml Once the Pod and Service are running, you can get the name of any associated EndpointSlices:kubectl get endpointslice The output is similar to this:NAME ADDRESSTYPE PORTS ENDPOINTS AGE nginx-service-6tjbr IPv4 80 10.12.1.199,10.12.1.201 22m You can see its status, and validate that there is one endpoint registered:kubectl get endpointslices -o json -l kubernetes.io/service-name=nginx-service The output is similar to this:{ \"addressType\": \"IPv4\", \"apiVersion\": \"discovery.k8s.io/v1\", \"endpoints\": [ { \"addresses\": [ \"10.12.1.201\" ], \"conditions\": { \"ready\": true, \"serving\": true, \"terminating\": false Now let's terminate the Pod and validate that the Pod is being terminated respecting the graceful termination period configuration:kubectl delete pod nginx-deployment-7768647bf9-b4b9s All pods:kubectl get pods The output is similar to this:NAME RE",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/pods-and-endpoint-termination-flow/",
    "id": "k8s_00702_qa_15535"
  },
  {
    "question": "What are the benefits of Explore Termination Behavior for Pods And Their Endpoints?",
    "answer": "Explore Termination Behavior for Pods And Their EndpointsOnce you connected your Application with Service following steps like those outlined in Connecting Applications with Services, you have a continuously running, replicated application, that is exposed on a network. This tutorial helps you look at the termination flow for Pods and to explore ways to implement graceful connection draining.Termination process for Pods and their endpointsThere are often cases when you need to terminate a Pod - be it to upgrade or scale down. In order to improve application availability, it may be important to implement a proper active connections draining.This tutorial explains the flow of Pod termination in connection with the corresponding endpoint state and removal by using a simple nginx web server to demonstrate the concept.Example flow with endpoint terminationThe following is the example flow described in the Termination of Pods document.Let's say you have a Deployment containing a single nginx replica (say just for the sake of demonstration purposes) and a Service:service/pod-with-graceful-termination.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment labels: app: nginx spec: replicas: 1 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: terminationGracePeriodSeconds: 120 # extra long grace period containers: - name: nginx image: nginx:latest ports: - containerPort: 80 lifecycle: preStop: exec: # Real life termination may take any time up to terminationGracePeriodSeconds. # In this example - just hang around for at least the duration of terminationGracePeriodSeconds, # at 120 seconds container will be forcibly terminated. # Note, all this time nginx will keep processing requests. command: [ \"/bin/sh\", \"-c\", \"sleep 180\" ] service/explore-graceful-termination-nginx.yaml apiVersion: v1 kind: Service metadata: name: nginx-service spec: selector: app: nginx ports: - protocol: TCP port: 80 targetPort: 80Now create the Deployment Pod and Service using the above files:kubectl apply -f pod-with-graceful-termination.yaml kubectl apply -f explore-graceful-termination-nginx.yaml Once the Pod and Service are running, you can get the name of any associated EndpointSlices:kubectl get endpointslice The output is similar to this:NAME ADDRESSTYPE PORTS ENDPOINTS AGE nginx-service-6tjbr IPv4 80 10.12.1.199,10.12.1.201 22m You can see its status, and validate that there is one endpoint registered:kubectl get endpointslices -o json -l kubernetes.io/service-name=nginx-service The output is similar to this:{ \"addressType\": \"IPv4\", \"apiVersion\": \"discovery.k8s.io/v1\", \"endpoints\": [ { \"addresses\": [ \"10.12.1.201\" ], \"conditions\": { \"ready\": true, \"serving\": true, \"terminating\": false Now let's terminate the Pod and validate that the Pod is being terminated respecting the graceful termination period configuration:kubectl delete pod nginx-deployment-7768647bf9-b4b9s All pods:kubectl get pods The output is similar to this:NAME RE",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/pods-and-endpoint-termination-flow/",
    "id": "k8s_00702_qa_15536"
  },
  {
    "question": "What is Explore Termination Behavior for Pods And Their Endpoints?",
    "answer": "O n c e   y o u   c o n n e c t e d   y o u r   A p p l i c a t i o n   w i t h   S e r v i c e   f o l l o w i n g   s t e p s   l i k e   t h o s e   o u t l i n e d   i n   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s ,   y o u   h a v e   a   c o n t i n u o u s l y   r u n n i n g ,   r e p l i c a t e d   a p p l i c a t i o n ,   t h a t   i s   e x p o s e d   o n   a   n e t w o r k .   T h i s   t u t o r i a l   h e l p s   y o u   l o o k   a t   t h e   t e r m i n a t i o n   f l o w   f o r   P o d s   a n d   t o   e x p l o r e   w a y s   t o   i m p l e m e n t   g r a c e f u l   c o n n e c t i o n   d r a i n i n g .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/pods-and-endpoint-termination-flow/",
    "id": "k8s_00702_section_1_15537"
  },
  {
    "question": "What is Termination process for Pods and their endpoints?",
    "answer": "T h e r e   a r e   o f t e n   c a s e s   w h e n   y o u   n e e d   t o   t e r m i n a t e   a   P o d   -   b e   i t   t o   u p g r a d e   o r   s c a l e   d o w n .   I n   o r d e r   t o   i m p r o v e   a p p l i c a t i o n   a v a i l a b i l i t y ,   i t   m a y   b e   i m p o r t a n t   t o   i m p l e m e n t   a   p r o p e r   a c t i v e   c o n n e c t i o n s   d r a i n i n g .   T h i s   t u t o r i a l   e x p l a i n s   t h e   f l o w   o f   P o d   t e r m i n a t i o n   i n   c o n n e c t i o n   w i t h   t h e   c o r r e s p o n d i n g   e n d p o i n t   s t a t e   a n d   r e m o v a l   b y   u s i n g   a   s i m p l e   n g i n x   w e b   s e r v e r   t o   d e m o n s t r a t e   t h e   c o n c e p t .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/pods-and-endpoint-termination-flow/",
    "id": "k8s_00702_section_2_15538"
  },
  {
    "question": "What is Example flow with endpoint termination?",
    "answer": "T h e   f o l l o w i n g   i s   t h e   e x a m p l e   f l o w   d e s c r i b e d   i n   t h e   T e r m i n a t i o n   o f   P o d s   d o c u m e n t .   L e t ' s   s a y   y o u   h a v e   a   D e p l o y m e n t   c o n t a i n i n g   a   s i n g l e   n g i n x   r e p l i c a   ( s a y   j u s t   f o r   t h e   s a k e   o f   d e m o n s t r a t i o n   p u r p o s e s )   a n d   a   S e r v i c e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   l a b e l s :   a p p :   n g i n x   s p e c :   r e p l i c a s :   1   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s :   1 2 0   #   e x t r a   l o n g   g r a c e   p e r i o d   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : l a t e s t   p o r t s :   -   c o n t a i n e r P o r t :   8 0   l i f e c y c l e :   p r e S t o p :   e x e c :   #   R e a l   l i f e   t e r m i n a t i o n   m a y   t a k e   a n y   t i m e   u p   t o   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s .   #   I n   t h i s   e x a m p l e   -   j u s t   h a n g   a r o u n d   f o r   a t   l e a s t   t h e   d u r a t i o n   o f   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s ,   #   a t   1 2 0   s e c o n d s   c o n t a i n e r   w i l l   b e   f o r c i b l y   t e r m i n a t e d .   #   N o t e ,   a l l   t h i s   t i m e   n g i n x   w i l l   k e e p   p r o c e s s i n g   r e q u e s t s .   c o m m a n d :   [   \" / b i n / s h \" ,   \" - c \" ,   \" s l e e p   1 8 0 \"   ]   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   n g i n x - s e r v i c e   s p e c :   s e l e c t o r :   a p p :   n g i n x   p o r t s :   -   p r o t o c o l :   T C P   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/pods-and-endpoint-termination-flow/",
    "id": "k8s_00702_section_2_15539"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   C o n n e c t   A p p l i c a t i o n s   w i t h   S e r v i c e s L e a r n   m o r e   a b o u t   U s i n g   a   S e r v i c e   t o   A c c e s s   a n   A p p l i c a t i o n   i n   a   C l u s t e r L e a r n   m o r e   a b o u t   C o n n e c t i n g   a   F r o n t   E n d   t o   a   B a c k   E n d   U s i n g   a   S e r v i c e L e a r n   m o r e   a b o u t   C r e a t i n g   a n   E x t e r n a l   L o a d   B a l a n c e r",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/services/pods-and-endpoint-termination-flow/",
    "id": "k8s_00702_section_2_15540"
  },
  {
    "question": "What is Command line tool (kubectl)?",
    "answer": "Command line tool (kubectl)Kubernetes provides a command line tool for communicating with a Kubernetes cluster's control plane, using the Kubernetes API.This tool is named kubectl.For configuration, kubectl looks for a file named config in the $HOME/.kube directory. You can specify other kubeconfig files by setting the KUBECONFIG environment variable or by setting the --kubeconfig flag.This overview covers kubectl syntax, describes the command operations, and provides common examples. For details about each command, including all the supported flags and subcommands, see the kubectl reference documentation.For installation instructions, see Installing kubectl; for a quick guide, see the cheat sheet. If you're used to using the docker command-line tool, kubectl for Docker Users explains some equivalent commands for Kubernetes.SyntaxUse the following syntax to run kubectl commands from your terminal window:kubectl [command] [TYPE] [NAME] [flags] where command, TYPE, NAME, and flags are:command: Specifies the operation that you want to perform on one or more resources, for example create, get, describe, delete.TYPE: Specifies the resource type. Resource types are case-insensitive and you can specify the singular, plural, or abbreviated forms. For example, the following commands produce the same output:kubectl get pod pod1 kubectl get pods pod1 kubectl get po pod1 NAME: Specifies the name of the resource. Names are case-sensitive. If the name is omitted, details for all resources are displayed, for example kubectl get pods.When performing an operation on multiple resources, you can specify each resource by type and name or specify one or more files:To specify resources by type and name:To group resources if they are all the same type: TYPE1 name1 name2 name<#>.Example: kubectl get pod example-pod1 example-pod2To specify multiple resource types individually: TYPE1/name1 TYPE1/name2 TYPE2/name3 TYPE<#>/name<#>.Example: kubectl get pod/example-pod1 replicationcontroller/example-rc1To specify resources with one or more files: -f file1 -f file2 -f file<#>Use YAML rather than JSON since YAML tends to be more user-friendly, especially for configuration files.Example: kubectl get -f ./pod.yamlflags: Specifies optional flags. For example, you can use the -s or --server flags to specify the address and port of the Kubernetes API server.Caution:Flags that you specify from the command line override default values and any corresponding environment variables.If you need help, run kubectl help from the terminal window.In-cluster authentication and namespace overridesBy default kubectl will first determine if it is running within a pod, and thus in a cluster. It starts by checking for the KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT environment variables and the existence of a service account token file at /var/run/secrets/kubernetes.io/serviceaccount/token. If all three are found in-cluster authentication is assumed.To maintain backwards compatibility, if the",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/",
    "id": "k8s_00703_qa_15541"
  },
  {
    "question": "How does Command line tool (kubectl) work?",
    "answer": "Command line tool (kubectl)Kubernetes provides a command line tool for communicating with a Kubernetes cluster's control plane, using the Kubernetes API.This tool is named kubectl.For configuration, kubectl looks for a file named config in the $HOME/.kube directory. You can specify other kubeconfig files by setting the KUBECONFIG environment variable or by setting the --kubeconfig flag.This overview covers kubectl syntax, describes the command operations, and provides common examples. For details about each command, including all the supported flags and subcommands, see the kubectl reference documentation.For installation instructions, see Installing kubectl; for a quick guide, see the cheat sheet. If you're used to using the docker command-line tool, kubectl for Docker Users explains some equivalent commands for Kubernetes.SyntaxUse the following syntax to run kubectl commands from your terminal window:kubectl [command] [TYPE] [NAME] [flags] where command, TYPE, NAME, and flags are:command: Specifies the operation that you want to perform on one or more resources, for example create, get, describe, delete.TYPE: Specifies the resource type. Resource types are case-insensitive and you can specify the singular, plural, or abbreviated forms. For example, the following commands produce the same output:kubectl get pod pod1 kubectl get pods pod1 kubectl get po pod1 NAME: Specifies the name of the resource. Names are case-sensitive. If the name is omitted, details for all resources are displayed, for example kubectl get pods.When performing an operation on multiple resources, you can specify each resource by type and name or specify one or more files:To specify resources by type and name:To group resources if they are all the same type: TYPE1 name1 name2 name<#>.Example: kubectl get pod example-pod1 example-pod2To specify multiple resource types individually: TYPE1/name1 TYPE1/name2 TYPE2/name3 TYPE<#>/name<#>.Example: kubectl get pod/example-pod1 replicationcontroller/example-rc1To specify resources with one or more files: -f file1 -f file2 -f file<#>Use YAML rather than JSON since YAML tends to be more user-friendly, especially for configuration files.Example: kubectl get -f ./pod.yamlflags: Specifies optional flags. For example, you can use the -s or --server flags to specify the address and port of the Kubernetes API server.Caution:Flags that you specify from the command line override default values and any corresponding environment variables.If you need help, run kubectl help from the terminal window.In-cluster authentication and namespace overridesBy default kubectl will first determine if it is running within a pod, and thus in a cluster. It starts by checking for the KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT environment variables and the existence of a service account token file at /var/run/secrets/kubernetes.io/serviceaccount/token. If all three are found in-cluster authentication is assumed.To maintain backwards compatibility, if the",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/",
    "id": "k8s_00703_qa_15542"
  },
  {
    "question": "When would you use Command line tool (kubectl)?",
    "answer": "Command line tool (kubectl)Kubernetes provides a command line tool for communicating with a Kubernetes cluster's control plane, using the Kubernetes API.This tool is named kubectl.For configuration, kubectl looks for a file named config in the $HOME/.kube directory. You can specify other kubeconfig files by setting the KUBECONFIG environment variable or by setting the --kubeconfig flag.This overview covers kubectl syntax, describes the command operations, and provides common examples. For details about each command, including all the supported flags and subcommands, see the kubectl reference documentation.For installation instructions, see Installing kubectl; for a quick guide, see the cheat sheet. If you're used to using the docker command-line tool, kubectl for Docker Users explains some equivalent commands for Kubernetes.SyntaxUse the following syntax to run kubectl commands from your terminal window:kubectl [command] [TYPE] [NAME] [flags] where command, TYPE, NAME, and flags are:command: Specifies the operation that you want to perform on one or more resources, for example create, get, describe, delete.TYPE: Specifies the resource type. Resource types are case-insensitive and you can specify the singular, plural, or abbreviated forms. For example, the following commands produce the same output:kubectl get pod pod1 kubectl get pods pod1 kubectl get po pod1 NAME: Specifies the name of the resource. Names are case-sensitive. If the name is omitted, details for all resources are displayed, for example kubectl get pods.When performing an operation on multiple resources, you can specify each resource by type and name or specify one or more files:To specify resources by type and name:To group resources if they are all the same type: TYPE1 name1 name2 name<#>.Example: kubectl get pod example-pod1 example-pod2To specify multiple resource types individually: TYPE1/name1 TYPE1/name2 TYPE2/name3 TYPE<#>/name<#>.Example: kubectl get pod/example-pod1 replicationcontroller/example-rc1To specify resources with one or more files: -f file1 -f file2 -f file<#>Use YAML rather than JSON since YAML tends to be more user-friendly, especially for configuration files.Example: kubectl get -f ./pod.yamlflags: Specifies optional flags. For example, you can use the -s or --server flags to specify the address and port of the Kubernetes API server.Caution:Flags that you specify from the command line override default values and any corresponding environment variables.If you need help, run kubectl help from the terminal window.In-cluster authentication and namespace overridesBy default kubectl will first determine if it is running within a pod, and thus in a cluster. It starts by checking for the KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT environment variables and the existence of a service account token file at /var/run/secrets/kubernetes.io/serviceaccount/token. If all three are found in-cluster authentication is assumed.To maintain backwards compatibility, if the",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/",
    "id": "k8s_00703_qa_15543"
  },
  {
    "question": "What are the benefits of Command line tool (kubectl)?",
    "answer": "Command line tool (kubectl)Kubernetes provides a command line tool for communicating with a Kubernetes cluster's control plane, using the Kubernetes API.This tool is named kubectl.For configuration, kubectl looks for a file named config in the $HOME/.kube directory. You can specify other kubeconfig files by setting the KUBECONFIG environment variable or by setting the --kubeconfig flag.This overview covers kubectl syntax, describes the command operations, and provides common examples. For details about each command, including all the supported flags and subcommands, see the kubectl reference documentation.For installation instructions, see Installing kubectl; for a quick guide, see the cheat sheet. If you're used to using the docker command-line tool, kubectl for Docker Users explains some equivalent commands for Kubernetes.SyntaxUse the following syntax to run kubectl commands from your terminal window:kubectl [command] [TYPE] [NAME] [flags] where command, TYPE, NAME, and flags are:command: Specifies the operation that you want to perform on one or more resources, for example create, get, describe, delete.TYPE: Specifies the resource type. Resource types are case-insensitive and you can specify the singular, plural, or abbreviated forms. For example, the following commands produce the same output:kubectl get pod pod1 kubectl get pods pod1 kubectl get po pod1 NAME: Specifies the name of the resource. Names are case-sensitive. If the name is omitted, details for all resources are displayed, for example kubectl get pods.When performing an operation on multiple resources, you can specify each resource by type and name or specify one or more files:To specify resources by type and name:To group resources if they are all the same type: TYPE1 name1 name2 name<#>.Example: kubectl get pod example-pod1 example-pod2To specify multiple resource types individually: TYPE1/name1 TYPE1/name2 TYPE2/name3 TYPE<#>/name<#>.Example: kubectl get pod/example-pod1 replicationcontroller/example-rc1To specify resources with one or more files: -f file1 -f file2 -f file<#>Use YAML rather than JSON since YAML tends to be more user-friendly, especially for configuration files.Example: kubectl get -f ./pod.yamlflags: Specifies optional flags. For example, you can use the -s or --server flags to specify the address and port of the Kubernetes API server.Caution:Flags that you specify from the command line override default values and any corresponding environment variables.If you need help, run kubectl help from the terminal window.In-cluster authentication and namespace overridesBy default kubectl will first determine if it is running within a pod, and thus in a cluster. It starts by checking for the KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT environment variables and the existence of a service account token file at /var/run/secrets/kubernetes.io/serviceaccount/token. If all three are found in-cluster authentication is assumed.To maintain backwards compatibility, if the",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/",
    "id": "k8s_00703_qa_15544"
  },
  {
    "question": "What is Command line tool (kubectl)?",
    "answer": "K u b e r n e t e s   p r o v i d e s   a   c o m m a n d   l i n e   t o o l   f o r   c o m m u n i c a t i n g   w i t h   a   K u b e r n e t e s   c l u s t e r ' s   c o n t r o l   p l a n e ,   u s i n g   t h e   K u b e r n e t e s   A P I .   T h i s   t o o l   i s   n a m e d   k u b e c t l .   F o r   c o n f i g u r a t i o n ,   k u b e c t l   l o o k s   f o r   a   f i l e   n a m e d   c o n f i g   i n   t h e   $ H O M E / . k u b e   d i r e c t o r y .   Y o u   c a n   s p e c i f y   o t h e r   k u b e c o n f i g   f i l e s   b y   s e t t i n g   t h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   o r   b y   s e t t i n g   t h e   - - k u b e c o n f i g   f l a g .   T h i s   o v e r v i e w   c o v e r s   k u b e c t l   s y n t a x ,   d e s c r i b e s   t h e   c o m m a n d   o p e r a t i o n s ,   a n d   p r o v i d e s   c o m m o n   e x a m p l e s .   F o r   d e t a i l s   a b o u t   e a c h   c o m m a n d ,   i n c l u d i n g   a l l   t h e   s u p p o r t e d   f l a g s   a n d   s u b c o m m a n d s ,   s e e   t h e   k u b e c t l   r e f e r e n c e   d o c u m e n t a t i o n .   F o r   i n s t a l l a t i o n   i n s t r u c t i o n s ,   s e e   I n s t a l l i n g   k u b e c t l ;   f o r   a   q u i c k   g u i d e ,   s e e   t h e   c h e a t   s h e e t .   I f   y o u ' r e   u s e d   t o   u s i n g   t h e   d o c k e r   c o m m a n d - l i n e   t o o l ,   k u b e c t l   f o r   D o c k e r   U s e r s   e x p l a i n s   s o m e   e q u i v a l e n t   c o m m a n d s   f o r   K u b e r n e t e s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/",
    "id": "k8s_00703_section_1_15545"
  },
  {
    "question": "What is Syntax?",
    "answer": "U s e   t h e   f o l l o w i n g   s y n t a x   t o   r u n   k u b e c t l   c o m m a n d s   f r o m   y o u r   t e r m i n a l   w i n d o w :   k u b e c t l   [ c o m m a n d ]   [ T Y P E ]   [ N A M E ]   [ f l a g s ]   w h e r e   c o m m a n d ,   T Y P E ,   N A M E ,   a n d   f l a g s   a r e :   c o m m a n d :   S p e c i f i e s   t h e   o p e r a t i o n   t h a t   y o u   w a n t   t o   p e r f o r m   o n   o n e   o r   m o r e   r e s o u r c e s ,   f o r   e x a m p l e   c r e a t e ,   g e t ,   d e s c r i b e ,   d e l e t e . T Y P E :   S p e c i f i e s   t h e   r e s o u r c e   t y p e .   R e s o u r c e   t y p e s   a r e   c a s e - i n s e n s i t i v e   a n d   y o u   c a n   s p e c i f y   t h e   s i n g u l a r ,   p l u r a l ,   o r   a b b r e v i a t e d   f o r m s .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   c o m m a n d s   p r o d u c e   t h e   s a m e   o u t p u t : k u b e c t l   g e t   p o d   p o d 1   k u b e c t l   g e t   p o d s   p o d 1   k u b e c t l   g e t   p o   p o d 1   N A M E :   S p e c i f i e s   t h e   n a m e   o f   t h e   r e s o u r c e .   N a m e s   a r e   c a s e - s e n s i t i v e .   I f   t h e   n a m e   i s   o m i t t e d ,   d e t a i l s   f o r   a l l   r e s o u r c e s   a r e   d i s p l a y e d ,   f o r   e x a m p l e   k u b e c t l   g e t   p o d s . W h e n   p e r f o r m i n g   a n   o p e r a t i o n   o n   m u l t i p l e   r e s o u r c e s ,   y o u   c a n   s p e c i f y   e a c h   r e s o u r c e   b y   t y p e   a n d   n a m e   o r   s p e c i f y   o n e   o r   m o r e   f i l e s : T o   s p e c i f y   r e s o u r c e s   b y   t y p e   a n d   n a m e : T o   g r o u p   r e s o u r c e s   i f   t h e y   a r e   a l l   t h e   s a m e   t y p e :   T Y P E 1   n a m e 1   n a m e 2   n a m e < # > . E x a m p l e :   k u b e c t l   g e t   p o d   e x a m p l e - p o d 1   e x a m p l e - p o d 2 T o   s ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/",
    "id": "k8s_00703_section_2_15546"
  },
  {
    "question": "What is Caution:?",
    "answer": "I f   y o u   n e e d   h e l p ,   r u n   k u b e c t l   h e l p   f r o m   t h e   t e r m i n a l   w i n d o w .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/",
    "id": "k8s_00703_section_4_15547"
  },
  {
    "question": "What is In-cluster authentication and namespace overrides?",
    "answer": "B y   d e f a u l t   k u b e c t l   w i l l   f i r s t   d e t e r m i n e   i f   i t   i s   r u n n i n g   w i t h i n   a   p o d ,   a n d   t h u s   i n   a   c l u s t e r .   I t   s t a r t s   b y   c h e c k i n g   f o r   t h e   K U B E R N E T E S _ S E R V I C E _ H O S T   a n d   K U B E R N E T E S _ S E R V I C E _ P O R T   e n v i r o n m e n t   v a r i a b l e s   a n d   t h e   e x i s t e n c e   o f   a   s e r v i c e   a c c o u n t   t o k e n   f i l e   a t   / v a r / r u n / s e c r e t s / k u b e r n e t e s . i o / s e r v i c e a c c o u n t / t o k e n .   I f   a l l   t h r e e   a r e   f o u n d   i n - c l u s t e r   a u t h e n t i c a t i o n   i s   a s s u m e d .   T o   m a i n t a i n   b a c k w a r d s   c o m p a t i b i l i t y ,   i f   t h e   P O D _ N A M E S P A C E   e n v i r o n m e n t   v a r i a b l e   i s   s e t   d u r i n g   i n - c l u s t e r   a u t h e n t i c a t i o n   i t   w i l l   o v e r r i d e   t h e   d e f a u l t   n a m e s p a c e   f r o m   t h e   s e r v i c e   a c c o u n t   t o k e n .   A n y   m a n i f e s t s   o r   t o o l s   r e l y i n g   o n   n a m e s p a c e   d e f a u l t i n g   w i l l   b e   a f f e c t e d   b y   t h i s .   P O D _ N A M E S P A C E   e n v i r o n m e n t   v a r i a b l e   I f   t h e   P O D _ N A M E S P A C E   e n v i r o n m e n t   v a r i a b l e   i s   s e t ,   c l i   o p e r a t i o n s   o n   n a m e s p a c e d   r e s o u r c e s   w i l l   d e f a u l t   t o   t h e   v a r i a b l e   v a l u e .   F o r   e x a m p l e ,   i f   t h e   v a r i a b l e   i s   s e t   t o   s e a t t l e ,   k u b e c t l   g e t   p o d s   w o u l d   r e t u r n   p o d s   i n   t h e   s e a t t l e   n a m e s p a c e .   T h i s   i s   b e c a u s e   p o d s   a r e   a   n a m e s p a c e d   r e s o u r c e ,   a n d   n o   n a m e s p a c e   w a s   p r o v i d e d   i n   t h e   c o m m a n d .   R ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/",
    "id": "k8s_00703_section_2_15548"
  },
  {
    "question": "What is Operations?",
    "answer": "T h e   f o l l o w i n g   t a b l e   i n c l u d e s   s h o r t   d e s c r i p t i o n s   a n d   t h e   g e n e r a l   s y n t a x   f o r   a l l   o f   t h e   k u b e c t l   o p e r a t i o n s :   T o   l e a r n   m o r e   a b o u t   c o m m a n d   o p e r a t i o n s ,   s e e   t h e   k u b e c t l   r e f e r e n c e   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/",
    "id": "k8s_00703_section_2_15549"
  },
  {
    "question": "What is Resource types?",
    "answer": "T h e   f o l l o w i n g   t a b l e   i n c l u d e s   a   l i s t   o f   a l l   t h e   s u p p o r t e d   r e s o u r c e   t y p e s   a n d   t h e i r   a b b r e v i a t e d   a l i a s e s .   ( T h i s   o u t p u t   c a n   b e   r e t r i e v e d   f r o m   k u b e c t l   a p i - r e s o u r c e s ,   a n d   w a s   a c c u r a t e   a s   o f   K u b e r n e t e s   1 . 2 5 . 0 )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/",
    "id": "k8s_00703_section_2_15550"
  },
  {
    "question": "What is Output options?",
    "answer": "U s e   t h e   f o l l o w i n g   s e c t i o n s   f o r   i n f o r m a t i o n   a b o u t   h o w   y o u   c a n   f o r m a t   o r   s o r t   t h e   o u t p u t   o f   c e r t a i n   c o m m a n d s .   F o r   d e t a i l s   a b o u t   w h i c h   c o m m a n d s   s u p p o r t   t h e   v a r i o u s   o u t p u t   o p t i o n s ,   s e e   t h e   k u b e c t l   r e f e r e n c e   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/",
    "id": "k8s_00703_section_2_15551"
  },
  {
    "question": "What is Formatting output?",
    "answer": "T h e   d e f a u l t   o u t p u t   f o r m a t   f o r   a l l   k u b e c t l   c o m m a n d s   i s   t h e   h u m a n   r e a d a b l e   p l a i n - t e x t   f o r m a t .   T o   o u t p u t   d e t a i l s   t o   y o u r   t e r m i n a l   w i n d o w   i n   a   s p e c i f i c   f o r m a t ,   y o u   c a n   a d d   e i t h e r   t h e   - o   o r   - - o u t p u t   f l a g s   t o   a   s u p p o r t e d   k u b e c t l   c o m m a n d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/",
    "id": "k8s_00703_section_3_15552"
  },
  {
    "question": "What is Syntax?",
    "answer": "k u b e c t l   [ c o m m a n d ]   [ T Y P E ]   [ N A M E ]   - o   < o u t p u t _ f o r m a t >   D e p e n d i n g   o n   t h e   k u b e c t l   o p e r a t i o n ,   t h e   f o l l o w i n g   o u t p u t   f o r m a t s   a r e   s u p p o r t e d :",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/",
    "id": "k8s_00703_section_4_15553"
  },
  {
    "question": "What is Example?",
    "answer": "I n   t h i s   e x a m p l e ,   t h e   f o l l o w i n g   c o m m a n d   o u t p u t s   t h e   d e t a i l s   f o r   a   s i n g l e   p o d   a s   a   Y A M L   f o r m a t t e d   o b j e c t :   k u b e c t l   g e t   p o d   w e b - p o d - 1 3 j e 7   - o   y a m l   R e m e m b e r :   S e e   t h e   k u b e c t l   r e f e r e n c e   d o c u m e n t a t i o n   f o r   d e t a i l s   a b o u t   w h i c h   o u t p u t   f o r m a t   i s   s u p p o r t e d   b y   e a c h   c o m m a n d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/",
    "id": "k8s_00703_section_5_15554"
  },
  {
    "question": "What is Custom columns?",
    "answer": "T o   d e f i n e   c u s t o m   c o l u m n s   a n d   o u t p u t   o n l y   t h e   d e t a i l s   t h a t   y o u   w a n t   i n t o   a   t a b l e ,   y o u   c a n   u s e   t h e   c u s t o m - c o l u m n s   o p t i o n .   Y o u   c a n   c h o o s e   t o   d e f i n e   t h e   c u s t o m   c o l u m n s   i n l i n e   o r   u s e   a   t e m p l a t e   f i l e :   - o   c u s t o m - c o l u m n s = < s p e c >   o r   - o   c u s t o m - c o l u m n s - f i l e = < f i l e n a m e > .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/",
    "id": "k8s_00703_section_4_15555"
  },
  {
    "question": "What is Examples?",
    "answer": "I n l i n e :   k u b e c t l   g e t   p o d s   < p o d - n a m e >   - o   c u s t o m - c o l u m n s = N A M E : . m e t a d a t a . n a m e , R S R C : . m e t a d a t a . r e s o u r c e V e r s i o n   T e m p l a t e   f i l e :   k u b e c t l   g e t   p o d s   < p o d - n a m e >   - o   c u s t o m - c o l u m n s - f i l e = t e m p l a t e . t x t   w h e r e   t h e   t e m p l a t e . t x t   f i l e   c o n t a i n s :   N A M E   R S R C   m e t a d a t a . n a m e   m e t a d a t a . r e s o u r c e V e r s i o n   T h e   r e s u l t   o f   r u n n i n g   e i t h e r   c o m m a n d   i s   s i m i l a r   t o :   N A M E   R S R C   s u b m i t - q u e u e   6 1 0 9 9 5",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/",
    "id": "k8s_00703_section_5_15556"
  },
  {
    "question": "What is Server-side columns?",
    "answer": "k u b e c t l   s u p p o r t s   r e c e i v i n g   s p e c i f i c   c o l u m n   i n f o r m a t i o n   f r o m   t h e   s e r v e r   a b o u t   o b j e c t s .   T h i s   m e a n s   t h a t   f o r   a n y   g i v e n   r e s o u r c e ,   t h e   s e r v e r   w i l l   r e t u r n   c o l u m n s   a n d   r o w s   r e l e v a n t   t o   t h a t   r e s o u r c e ,   f o r   t h e   c l i e n t   t o   p r i n t .   T h i s   a l l o w s   f o r   c o n s i s t e n t   h u m a n - r e a d a b l e   o u t p u t   a c r o s s   c l i e n t s   u s e d   a g a i n s t   t h e   s a m e   c l u s t e r ,   b y   h a v i n g   t h e   s e r v e r   e n c a p s u l a t e   t h e   d e t a i l s   o f   p r i n t i n g .   T h i s   f e a t u r e   i s   e n a b l e d   b y   d e f a u l t .   T o   d i s a b l e   i t ,   a d d   t h e   - - s e r v e r - p r i n t = f a l s e   f l a g   t o   t h e   k u b e c t l   g e t   c o m m a n d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/",
    "id": "k8s_00703_section_4_15557"
  },
  {
    "question": "What is Examples?",
    "answer": "T o   p r i n t   i n f o r m a t i o n   a b o u t   t h e   s t a t u s   o f   a   p o d ,   u s e   a   c o m m a n d   l i k e   t h e   f o l l o w i n g :   k u b e c t l   g e t   p o d s   < p o d - n a m e >   - - s e r v e r - p r i n t = f a l s e   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   A G E   p o d - n a m e   1 m",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/",
    "id": "k8s_00703_section_5_15558"
  },
  {
    "question": "What is Sorting list objects?",
    "answer": "T o   o u t p u t   o b j e c t s   t o   a   s o r t e d   l i s t   i n   y o u r   t e r m i n a l   w i n d o w ,   y o u   c a n   a d d   t h e   - - s o r t - b y   f l a g   t o   a   s u p p o r t e d   k u b e c t l   c o m m a n d .   S o r t   y o u r   o b j e c t s   b y   s p e c i f y i n g   a n y   n u m e r i c   o r   s t r i n g   f i e l d   w i t h   t h e   - - s o r t - b y   f l a g .   T o   s p e c i f y   a   f i e l d ,   u s e   a   j s o n p a t h   e x p r e s s i o n .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/",
    "id": "k8s_00703_section_3_15559"
  },
  {
    "question": "What is Syntax?",
    "answer": "k u b e c t l   [ c o m m a n d ]   [ T Y P E ]   [ N A M E ]   - - s o r t - b y = < j s o n p a t h _ e x p >",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/",
    "id": "k8s_00703_section_4_15560"
  },
  {
    "question": "What is Example?",
    "answer": "T o   p r i n t   a   l i s t   o f   p o d s   s o r t e d   b y   n a m e ,   y o u   r u n :   k u b e c t l   g e t   p o d s   - - s o r t - b y = . m e t a d a t a . n a m e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/",
    "id": "k8s_00703_section_5_15561"
  },
  {
    "question": "What is Examples: Common operations?",
    "answer": "U s e   t h e   f o l l o w i n g   s e t   o f   e x a m p l e s   t o   h e l p   y o u   f a m i l i a r i z e   y o u r s e l f   w i t h   r u n n i n g   t h e   c o m m o n l y   u s e d   k u b e c t l   o p e r a t i o n s :   k u b e c t l   a p p l y   -   A p p l y   o r   U p d a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   s t d i n .   #   C r e a t e   a   s e r v i c e   u s i n g   t h e   d e f i n i t i o n   i n   e x a m p l e - s e r v i c e . y a m l .   k u b e c t l   a p p l y   - f   e x a m p l e - s e r v i c e . y a m l   #   C r e a t e   a   r e p l i c a t i o n   c o n t r o l l e r   u s i n g   t h e   d e f i n i t i o n   i n   e x a m p l e - c o n t r o l l e r . y a m l .   k u b e c t l   a p p l y   - f   e x a m p l e - c o n t r o l l e r . y a m l   #   C r e a t e   t h e   o b j e c t s   t h a t   a r e   d e f i n e d   i n   a n y   . y a m l ,   . y m l ,   o r   . j s o n   f i l e   w i t h i n   t h e   < d i r e c t o r y >   d i r e c t o r y .   k u b e c t l   a p p l y   - f   < d i r e c t o r y >   k u b e c t l   g e t   -   L i s t   o n e   o r   m o r e   r e s o u r c e s .   #   L i s t   a l l   p o d s   i n   p l a i n - t e x t   o u t p u t   f o r m a t .   k u b e c t l   g e t   p o d s   #   L i s t   a l l   p o d s   i n   p l a i n - t e x t   o u t p u t   f o r m a t   a n d   i n c l u d e   a d d i t i o n a l   i n f o r m a t i o n   ( s u c h   a s   n o d e   n a m e ) .   k u b e c t l   g e t   p o d s   - o   w i d e   #   L i s t   t h e   r e p l i c a t i o n   c o n t r o l l e r   w i t h   t h e   s p e c i f i e d   n a m e   i n   p l a i n - t e x t   o u t p u t   f o r m a t .   T i p :   Y o u   c a n   s h o r t e n   a n d   r e p l a c e   t h e   ' r e p l i c a t i o n c o n t r o l l e r '   r e s o u r c e   t y p e   w i t h   t h e   a l i a s   ' r c ' .   k u b e c t l   g e t   r e p l i c a t i o n c o n t r o l l e r   < r c - n a m e > ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/",
    "id": "k8s_00703_section_2_15562"
  },
  {
    "question": "What is Note:?",
    "answer": "k u b e c t l   d e l e t e   -   D e l e t e   r e s o u r c e s   e i t h e r   f r o m   a   f i l e ,   s t d i n ,   o r   s p e c i f y i n g   l a b e l   s e l e c t o r s ,   n a m e s ,   r e s o u r c e   s e l e c t o r s ,   o r   r e s o u r c e s .   #   D e l e t e   a   p o d   u s i n g   t h e   t y p e   a n d   n a m e   s p e c i f i e d   i n   t h e   p o d . y a m l   f i l e .   k u b e c t l   d e l e t e   - f   p o d . y a m l   #   D e l e t e   a l l   t h e   p o d s   a n d   s e r v i c e s   t h a t   h a v e   t h e   l a b e l   ' < l a b e l - k e y > = < l a b e l - v a l u e > ' .   k u b e c t l   d e l e t e   p o d s , s e r v i c e s   - l   < l a b e l - k e y > = < l a b e l - v a l u e >   #   D e l e t e   a l l   p o d s ,   i n c l u d i n g   u n i n i t i a l i z e d   o n e s .   k u b e c t l   d e l e t e   p o d s   - - a l l   k u b e c t l   e x e c   -   E x e c u t e   a   c o m m a n d   a g a i n s t   a   c o n t a i n e r   i n   a   p o d .   #   G e t   o u t p u t   f r o m   r u n n i n g   ' d a t e '   f r o m   p o d   < p o d - n a m e > .   B y   d e f a u l t ,   o u t p u t   i s   f r o m   t h e   f i r s t   c o n t a i n e r .   k u b e c t l   e x e c   < p o d - n a m e >   - -   d a t e   #   G e t   o u t p u t   f r o m   r u n n i n g   ' d a t e '   i n   c o n t a i n e r   < c o n t a i n e r - n a m e >   o f   p o d   < p o d - n a m e > .   k u b e c t l   e x e c   < p o d - n a m e >   - c   < c o n t a i n e r - n a m e >   - -   d a t e   #   G e t   a n   i n t e r a c t i v e   T T Y   a n d   r u n   / b i n / b a s h   f r o m   p o d   < p o d - n a m e > .   B y   d e f a u l t ,   o u t p u t   i s   f r o m   t h e   f i r s t   c o n t a i n e r .   k u b e c t l   e x e c   - t i   < p o d - n a m e >   - -   / b i n / b a s h   k u b e c t l   l o g s   -   P r i n t   t h e   l o g s   f o r   a   c o n t a i n e r   i n   a   p o d .   #   R e t u r n   a   s ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/",
    "id": "k8s_00703_section_4_15563"
  },
  {
    "question": "What is Examples: Creating and using plugins?",
    "answer": "U s e   t h e   f o l l o w i n g   s e t   o f   e x a m p l e s   t o   h e l p   y o u   f a m i l i a r i z e   y o u r s e l f   w i t h   w r i t i n g   a n d   u s i n g   k u b e c t l   p l u g i n s :   #   c r e a t e   a   s i m p l e   p l u g i n   i n   a n y   l a n g u a g e   a n d   n a m e   t h e   r e s u l t i n g   e x e c u t a b l e   f i l e   #   s o   t h a t   i t   b e g i n s   w i t h   t h e   p r e f i x   \" k u b e c t l - \"   c a t   . / k u b e c t l - h e l l o   # ! / b i n / s h   #   t h i s   p l u g i n   p r i n t s   t h e   w o r d s   \" h e l l o   w o r l d \"   e c h o   \" h e l l o   w o r l d \"   W i t h   a   p l u g i n   w r i t t e n ,   l e t ' s   m a k e   i t   e x e c u t a b l e :   c h m o d   a + x   . / k u b e c t l - h e l l o   #   a n d   m o v e   i t   t o   a   l o c a t i o n   i n   o u r   P A T H   s u d o   m v   . / k u b e c t l - h e l l o   / u s r / l o c a l / b i n   s u d o   c h o w n   r o o t : r o o t   / u s r / l o c a l / b i n   #   Y o u   h a v e   n o w   c r e a t e d   a n d   \" i n s t a l l e d \"   a   k u b e c t l   p l u g i n .   #   Y o u   c a n   b e g i n   u s i n g   t h i s   p l u g i n   b y   i n v o k i n g   i t   f r o m   k u b e c t l   a s   i f   i t   w e r e   a   r e g u l a r   c o m m a n d   k u b e c t l   h e l l o   h e l l o   w o r l d   #   Y o u   c a n   \" u n i n s t a l l \"   a   p l u g i n ,   b y   r e m o v i n g   i t   f r o m   t h e   f o l d e r   i n   y o u r   #   $ P A T H   w h e r e   y o u   p l a c e d   i t   s u d o   r m   / u s r / l o c a l / b i n / k u b e c t l - h e l l o   I n   o r d e r   t o   v i e w   a l l   o f   t h e   p l u g i n s   t h a t   a r e   a v a i l a b l e   t o   k u b e c t l ,   u s e   t h e   k u b e c t l   p l u g i n   l i s t   s u b c o m m a n d :   k u b e c t l   p l u g i n   l i s t   T h e   o u t p u t   i s   s i m i l a r   t o :   T h e   f o l l o w i n g   k u ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/",
    "id": "k8s_00703_section_2_15564"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   t h e   k u b e c t l   r e f e r e n c e   d o c u m e n t a t i o n : t h e   k u b e c t l   c o m m a n d   r e f e r e n c e t h e   c o m m a n d   l i n e   a r g u m e n t s   r e f e r e n c e L e a r n   a b o u t   k u b e c t l   u s a g e   c o n v e n t i o n s R e a d   a b o u t   J S O N P a t h   s u p p o r t   i n   k u b e c t l R e a d   a b o u t   h o w   t o   e x t e n d   k u b e c t l   w i t h   p l u g i n s T o   f i n d   o u t   m o r e   a b o u t   p l u g i n s ,   t a k e   a   l o o k   a t   t h e   e x a m p l e   C L I   p l u g i n .   t h e   k u b e c t l   c o m m a n d   r e f e r e n c e t h e   c o m m a n d   l i n e   a r g u m e n t s   r e f e r e n c e   T o   f i n d   o u t   m o r e   a b o u t   p l u g i n s ,   t a k e   a   l o o k   a t   t h e   e x a m p l e   C L I   p l u g i n .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/",
    "id": "k8s_00703_section_2_15565"
  },
  {
    "question": "What is StorageVersionMigration v1alpha1?",
    "answer": "StorageVersionMigration v1alpha1StorageVersionMigration represents a migration of stored data to the latest storage version.apiVersion: storagemigration.k8s.io/v1alpha1import \"k8s.io/api/storagemigration/v1alpha1\"StorageVersionMigrationStorageVersionMigration represents a migration of stored data to the latest storage version.apiVersion: storagemigration.k8s.io/v1alpha1kind: StorageVersionMigrationmetadata (ObjectMeta)Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (StorageVersionMigrationSpec)Specification of the migration.status (StorageVersionMigrationStatus)Status of the migration.StorageVersionMigrationSpecSpec of the storage version migration.continueToken (string)The token used in the list options to get the next chunk of objects to migrate. When the .status.conditions indicates the migration is \"Running\", users can use this token to check the progress of the migration.resource (GroupVersionResource), requiredThe resource that is being migrated. The migrator sends requests to the endpoint serving the resource. Immutable.The names of the group, the version, and the resource.resource.group (string)The name of the group.resource.resource (string)The name of the resource.resource.version (string)The name of the version.StorageVersionMigrationStatusStatus of the storage version migration.conditions ([]MigrationCondition)Patch strategy: merge on key typeMap: unique values on key type will be kept during a mergeThe latest available observations of the migration's current state.Describes the state of a migration at a certain point.conditions.status (string), requiredStatus of the condition, one of True, False, Unknown.conditions.type (string), requiredType of the condition.conditions.lastUpdateTime (Time)The last time this condition was updated.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.conditions.message (string)A human readable message indicating details about the transition.conditions.reason (string)The reason for the condition's last transition.resourceVersion (string)ResourceVersion to compare with the GC cache for performing the migration. This is the current resource version of given group, version and resource when kube-controller-manager first observes this StorageVersionMigration resource.StorageVersionMigrationListStorageVersionMigrationList is a collection of storage version migrations.apiVersion: storagemigration.k8s.io/v1alpha1kind: StorageVersionMigrationListmetadata (ListMeta)Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]StorageVersionMigration), requiredPatch strategy: merge on key typeMap: unique values on key type will be kept during a mergeItems is the list of StorageVersionMigrationOperationsget read the specified StorageVersionMi",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_qa_15566"
  },
  {
    "question": "How does StorageVersionMigration v1alpha1 work?",
    "answer": "StorageVersionMigration v1alpha1StorageVersionMigration represents a migration of stored data to the latest storage version.apiVersion: storagemigration.k8s.io/v1alpha1import \"k8s.io/api/storagemigration/v1alpha1\"StorageVersionMigrationStorageVersionMigration represents a migration of stored data to the latest storage version.apiVersion: storagemigration.k8s.io/v1alpha1kind: StorageVersionMigrationmetadata (ObjectMeta)Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (StorageVersionMigrationSpec)Specification of the migration.status (StorageVersionMigrationStatus)Status of the migration.StorageVersionMigrationSpecSpec of the storage version migration.continueToken (string)The token used in the list options to get the next chunk of objects to migrate. When the .status.conditions indicates the migration is \"Running\", users can use this token to check the progress of the migration.resource (GroupVersionResource), requiredThe resource that is being migrated. The migrator sends requests to the endpoint serving the resource. Immutable.The names of the group, the version, and the resource.resource.group (string)The name of the group.resource.resource (string)The name of the resource.resource.version (string)The name of the version.StorageVersionMigrationStatusStatus of the storage version migration.conditions ([]MigrationCondition)Patch strategy: merge on key typeMap: unique values on key type will be kept during a mergeThe latest available observations of the migration's current state.Describes the state of a migration at a certain point.conditions.status (string), requiredStatus of the condition, one of True, False, Unknown.conditions.type (string), requiredType of the condition.conditions.lastUpdateTime (Time)The last time this condition was updated.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.conditions.message (string)A human readable message indicating details about the transition.conditions.reason (string)The reason for the condition's last transition.resourceVersion (string)ResourceVersion to compare with the GC cache for performing the migration. This is the current resource version of given group, version and resource when kube-controller-manager first observes this StorageVersionMigration resource.StorageVersionMigrationListStorageVersionMigrationList is a collection of storage version migrations.apiVersion: storagemigration.k8s.io/v1alpha1kind: StorageVersionMigrationListmetadata (ListMeta)Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]StorageVersionMigration), requiredPatch strategy: merge on key typeMap: unique values on key type will be kept during a mergeItems is the list of StorageVersionMigrationOperationsget read the specified StorageVersionMi",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_qa_15567"
  },
  {
    "question": "When would you use StorageVersionMigration v1alpha1?",
    "answer": "StorageVersionMigration v1alpha1StorageVersionMigration represents a migration of stored data to the latest storage version.apiVersion: storagemigration.k8s.io/v1alpha1import \"k8s.io/api/storagemigration/v1alpha1\"StorageVersionMigrationStorageVersionMigration represents a migration of stored data to the latest storage version.apiVersion: storagemigration.k8s.io/v1alpha1kind: StorageVersionMigrationmetadata (ObjectMeta)Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (StorageVersionMigrationSpec)Specification of the migration.status (StorageVersionMigrationStatus)Status of the migration.StorageVersionMigrationSpecSpec of the storage version migration.continueToken (string)The token used in the list options to get the next chunk of objects to migrate. When the .status.conditions indicates the migration is \"Running\", users can use this token to check the progress of the migration.resource (GroupVersionResource), requiredThe resource that is being migrated. The migrator sends requests to the endpoint serving the resource. Immutable.The names of the group, the version, and the resource.resource.group (string)The name of the group.resource.resource (string)The name of the resource.resource.version (string)The name of the version.StorageVersionMigrationStatusStatus of the storage version migration.conditions ([]MigrationCondition)Patch strategy: merge on key typeMap: unique values on key type will be kept during a mergeThe latest available observations of the migration's current state.Describes the state of a migration at a certain point.conditions.status (string), requiredStatus of the condition, one of True, False, Unknown.conditions.type (string), requiredType of the condition.conditions.lastUpdateTime (Time)The last time this condition was updated.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.conditions.message (string)A human readable message indicating details about the transition.conditions.reason (string)The reason for the condition's last transition.resourceVersion (string)ResourceVersion to compare with the GC cache for performing the migration. This is the current resource version of given group, version and resource when kube-controller-manager first observes this StorageVersionMigration resource.StorageVersionMigrationListStorageVersionMigrationList is a collection of storage version migrations.apiVersion: storagemigration.k8s.io/v1alpha1kind: StorageVersionMigrationListmetadata (ListMeta)Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]StorageVersionMigration), requiredPatch strategy: merge on key typeMap: unique values on key type will be kept during a mergeItems is the list of StorageVersionMigrationOperationsget read the specified StorageVersionMi",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_qa_15568"
  },
  {
    "question": "What are the benefits of StorageVersionMigration v1alpha1?",
    "answer": "StorageVersionMigration v1alpha1StorageVersionMigration represents a migration of stored data to the latest storage version.apiVersion: storagemigration.k8s.io/v1alpha1import \"k8s.io/api/storagemigration/v1alpha1\"StorageVersionMigrationStorageVersionMigration represents a migration of stored data to the latest storage version.apiVersion: storagemigration.k8s.io/v1alpha1kind: StorageVersionMigrationmetadata (ObjectMeta)Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (StorageVersionMigrationSpec)Specification of the migration.status (StorageVersionMigrationStatus)Status of the migration.StorageVersionMigrationSpecSpec of the storage version migration.continueToken (string)The token used in the list options to get the next chunk of objects to migrate. When the .status.conditions indicates the migration is \"Running\", users can use this token to check the progress of the migration.resource (GroupVersionResource), requiredThe resource that is being migrated. The migrator sends requests to the endpoint serving the resource. Immutable.The names of the group, the version, and the resource.resource.group (string)The name of the group.resource.resource (string)The name of the resource.resource.version (string)The name of the version.StorageVersionMigrationStatusStatus of the storage version migration.conditions ([]MigrationCondition)Patch strategy: merge on key typeMap: unique values on key type will be kept during a mergeThe latest available observations of the migration's current state.Describes the state of a migration at a certain point.conditions.status (string), requiredStatus of the condition, one of True, False, Unknown.conditions.type (string), requiredType of the condition.conditions.lastUpdateTime (Time)The last time this condition was updated.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.conditions.message (string)A human readable message indicating details about the transition.conditions.reason (string)The reason for the condition's last transition.resourceVersion (string)ResourceVersion to compare with the GC cache for performing the migration. This is the current resource version of given group, version and resource when kube-controller-manager first observes this StorageVersionMigration resource.StorageVersionMigrationListStorageVersionMigrationList is a collection of storage version migrations.apiVersion: storagemigration.k8s.io/v1alpha1kind: StorageVersionMigrationListmetadata (ListMeta)Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]StorageVersionMigration), requiredPatch strategy: merge on key typeMap: unique values on key type will be kept during a mergeItems is the list of StorageVersionMigrationOperationsget read the specified StorageVersionMi",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_qa_15569"
  },
  {
    "question": "What is StorageVersionMigration v1alpha1?",
    "answer": "a p i V e r s i o n :   s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1   i m p o r t   \" k 8 s . i o / a p i / s t o r a g e m i g r a t i o n / v 1 a l p h a 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_1_15570"
  },
  {
    "question": "What is StorageVersionMigration?",
    "answer": "S t o r a g e V e r s i o n M i g r a t i o n   r e p r e s e n t s   a   m i g r a t i o n   o f   s t o r e d   d a t a   t o   t h e   l a t e s t   s t o r a g e   v e r s i o n .   a p i V e r s i o n :   s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 k i n d :   S t o r a g e V e r s i o n M i g r a t i o n m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( S t o r a g e V e r s i o n M i g r a t i o n S p e c ) S p e c i f i c a t i o n   o f   t h e   m i g r a t i o n . s t a t u s   ( S t o r a g e V e r s i o n M i g r a t i o n S t a t u s ) S t a t u s   o f   t h e   m i g r a t i o n .   a p i V e r s i o n :   s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1   k i n d :   S t o r a g e V e r s i o n M i g r a t i o n   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( S t o r a g e V e r s i o n M i g r a t i o n S p e c )   S p e c i f i c a t i o n   o f   t h e   m i g r a t i o n .   s t a t u s   ( S t o r a g e V e r s i o n M i g r a t i o n S t a t u s )   S t a t u s   o f   t h e   m i g r a t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_2_15571"
  },
  {
    "question": "What is StorageVersionMigrationSpec?",
    "answer": "S p e c   o f   t h e   s t o r a g e   v e r s i o n   m i g r a t i o n .   c o n t i n u e T o k e n   ( s t r i n g ) T h e   t o k e n   u s e d   i n   t h e   l i s t   o p t i o n s   t o   g e t   t h e   n e x t   c h u n k   o f   o b j e c t s   t o   m i g r a t e .   W h e n   t h e   . s t a t u s . c o n d i t i o n s   i n d i c a t e s   t h e   m i g r a t i o n   i s   \" R u n n i n g \" ,   u s e r s   c a n   u s e   t h i s   t o k e n   t o   c h e c k   t h e   p r o g r e s s   o f   t h e   m i g r a t i o n . r e s o u r c e   ( G r o u p V e r s i o n R e s o u r c e ) ,   r e q u i r e d T h e   r e s o u r c e   t h a t   i s   b e i n g   m i g r a t e d .   T h e   m i g r a t o r   s e n d s   r e q u e s t s   t o   t h e   e n d p o i n t   s e r v i n g   t h e   r e s o u r c e .   I m m u t a b l e . T h e   n a m e s   o f   t h e   g r o u p ,   t h e   v e r s i o n ,   a n d   t h e   r e s o u r c e . r e s o u r c e . g r o u p   ( s t r i n g ) T h e   n a m e   o f   t h e   g r o u p . r e s o u r c e . r e s o u r c e   ( s t r i n g ) T h e   n a m e   o f   t h e   r e s o u r c e . r e s o u r c e . v e r s i o n   ( s t r i n g ) T h e   n a m e   o f   t h e   v e r s i o n .   c o n t i n u e T o k e n   ( s t r i n g )   T h e   t o k e n   u s e d   i n   t h e   l i s t   o p t i o n s   t o   g e t   t h e   n e x t   c h u n k   o f   o b j e c t s   t o   m i g r a t e .   W h e n   t h e   . s t a t u s . c o n d i t i o n s   i n d i c a t e s   t h e   m i g r a t i o n   i s   \" R u n n i n g \" ,   u s e r s   c a n   u s e   t h i s   t o k e n   t o   c h e c k   t h e   p r o g r e s s   o f   t h e   m i g r a t i o n .   r e s o u r c e   ( G r o u p V e r s i o n R e s o u r c e ) ,   r e q u i r e d   T h e   r e s o u r c e   t h a t   i s   b e i n g   m i g r a t e d .   T h e   m i g r a t o r   s e n d s   r e q u e s t s   t o   t h e   e n d p o i n t   s e r v i n g   t h e   r e s o u r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_2_15572"
  },
  {
    "question": "What is StorageVersionMigrationStatus?",
    "answer": "S t a t u s   o f   t h e   s t o r a g e   v e r s i o n   m i g r a t i o n .   c o n d i t i o n s   ( [ ] M i g r a t i o n C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e T h e   l a t e s t   a v a i l a b l e   o b s e r v a t i o n s   o f   t h e   m i g r a t i o n ' s   c u r r e n t   s t a t e . D e s c r i b e s   t h e   s t a t e   o f   a   m i g r a t i o n   a t   a   c e r t a i n   p o i n t . c o n d i t i o n s . s t a t u s   ( s t r i n g ) ,   r e q u i r e d S t a t u s   o f   t h e   c o n d i t i o n ,   o n e   o f   T r u e ,   F a l s e ,   U n k n o w n . c o n d i t i o n s . t y p e   ( s t r i n g ) ,   r e q u i r e d T y p e   o f   t h e   c o n d i t i o n . c o n d i t i o n s . l a s t U p d a t e T i m e   ( T i m e ) T h e   l a s t   t i m e   t h i s   c o n d i t i o n   w a s   u p d a t e d . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c o n d i t i o n s . m e s s a g e   ( s t r i n g ) A   h u m a n   r e a d a b l e   m e s s a g e   i n d i c a t i n g   d e t a i l s   a b o u t   t h e   t r a n s i t i o n . c o n d i t i o n s . r e a s o n   ( s t r i n g ) T h e   r e a s o n   f o r   t h e   c o n d i t i o n ' s   l a s t   t r a n s i t i o n . r e s o u r c e V e r s i o n   ( s t r i n g ) R e s o u r c e V e r s i o n   t o   c o m p a r e   w i t h   t h e   G C   c a c h e   f o r   p e r f o r m i n g   t h e   m i g r a t i o n .   T h i s   i s   t h e   c u r r e n t   r e s o u r c e   v e r s i o n   o f   g i v e n   g r o u p ,   v e r s i o n   a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_2_15573"
  },
  {
    "question": "What is StorageVersionMigrationList?",
    "answer": "S t o r a g e V e r s i o n M i g r a t i o n L i s t   i s   a   c o l l e c t i o n   o f   s t o r a g e   v e r s i o n   m i g r a t i o n s .   a p i V e r s i o n :   s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 k i n d :   S t o r a g e V e r s i o n M i g r a t i o n L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] S t o r a g e V e r s i o n M i g r a t i o n ) ,   r e q u i r e d P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e I t e m s   i s   t h e   l i s t   o f   S t o r a g e V e r s i o n M i g r a t i o n   a p i V e r s i o n :   s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1   k i n d :   S t o r a g e V e r s i o n M i g r a t i o n L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] S t o r a g e V e r s i o n M i g r a t i o n ) ,   r e q u i r e d   P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e   M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e   I t e m s   i s   t h e   l i s t   o f   S t o r a g e V e r s i o n M i g r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_2_15574"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15575"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15576"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15577"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15578"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15579"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15580"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15581"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15582"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e V e r s i o n M i g r a t i o n L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15583"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15584"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   S t o r a g e V e r s i o n M i g r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   S t o r a g e V e r s i o n M i g r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15585"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   O K   2 0 1   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   C r e a t e d   2 0 2   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15586"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15587"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n b o d y :   S t o r a g e V e r s i o n M i g r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n   b o d y :   S t o r a g e V e r s i o n M i g r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15588"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   O K   2 0 1   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15589"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15590"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n b o d y :   S t o r a g e V e r s i o n M i g r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n   b o d y :   S t o r a g e V e r s i o n M i g r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15591"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   O K   2 0 1   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15592"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15593"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15594"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   O K   2 0 1   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15595"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15596"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15597"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   O K   2 0 1   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15598"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15599"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15600"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15601"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15602"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15603"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1/",
    "id": "k8s_00704_section_4_15604"
  },
  {
    "question": "What is Seccomp and Kubernetes?",
    "answer": "Seccomp and KubernetesSeccomp stands for secure computing mode and has been a feature of the Linux kernel since version 2.6.12. It can be used to sandbox the privileges of a process, restricting the calls it is able to make from userspace into the kernel. Kubernetes lets you automatically apply seccomp profiles loaded onto a node to your Pods and containers.Seccomp fieldsFEATURE STATE: Kubernetes v1.19 [stable]There are four ways to specify a seccomp profile for a pod:for the whole Pod using spec.securityContext.seccompProfilefor a single container using spec.containers[*].securityContext.seccompProfilefor an (restartable / sidecar) init container using spec.initContainers[*].securityContext.seccompProfilefor an ephemeral container using spec.ephemeralContainers[*].securityContext.seccompProfilepods/security/seccomp/fields.yaml apiVersion: v1 kind: Pod metadata: name: pod spec: securityContext: seccompProfile: type: Unconfined ephemeralContainers: - name: ephemeral-container image: debian securityContext: seccompProfile: type: RuntimeDefault initContainers: - name: init-container image: debian securityContext: seccompProfile: type: RuntimeDefault containers: - name: container image: docker.io/library/debian:stable securityContext: seccompProfile: type: Localhost localhostProfile: my-profile.json The Pod in the example above runs as Unconfined, while the ephemeral-container and init-container specifically defines RuntimeDefault. If the ephemeral or init container would not have set the securityContext.seccompProfile field explicitly, then the value would be inherited from the Pod. The same applies to the container, which runs a Localhost profile my-profile.json.Generally speaking, fields from (ephemeral) containers have a higher priority than the Pod level value, while containers which do not set the seccomp field inherit the profile from the Pod.Note:It is not possible to apply a seccomp profile to a Pod or container running with privileged: true set in the container's securityContext. Privileged containers always run as Unconfined.The following values are possible for the seccompProfile.type:UnconfinedThe workload runs without any seccomp restrictions.RuntimeDefaultA default seccomp profile defined by the container runtime is applied. The default profiles aim to provide a strong set of security defaults while preserving the functionality of the workload. It is possible that the default profiles differ between container runtimes and their release versions, for example when comparing those from CRI-O and containerd.LocalhostThe localhostProfile will be applied, which has to be available on the node disk (on Linux it's /var/lib/kubelet/seccomp). The availability of the seccomp profile is verified by the container runtime on container creation. If the profile does not exist, then the container creation will fail with a CreateContainerError.Localhost profilesSeccomp profiles are JSON files following the scheme defined by the OCI runtime specification",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/seccomp/",
    "id": "k8s_00705_qa_15605"
  },
  {
    "question": "How does Seccomp and Kubernetes work?",
    "answer": "Seccomp and KubernetesSeccomp stands for secure computing mode and has been a feature of the Linux kernel since version 2.6.12. It can be used to sandbox the privileges of a process, restricting the calls it is able to make from userspace into the kernel. Kubernetes lets you automatically apply seccomp profiles loaded onto a node to your Pods and containers.Seccomp fieldsFEATURE STATE: Kubernetes v1.19 [stable]There are four ways to specify a seccomp profile for a pod:for the whole Pod using spec.securityContext.seccompProfilefor a single container using spec.containers[*].securityContext.seccompProfilefor an (restartable / sidecar) init container using spec.initContainers[*].securityContext.seccompProfilefor an ephemeral container using spec.ephemeralContainers[*].securityContext.seccompProfilepods/security/seccomp/fields.yaml apiVersion: v1 kind: Pod metadata: name: pod spec: securityContext: seccompProfile: type: Unconfined ephemeralContainers: - name: ephemeral-container image: debian securityContext: seccompProfile: type: RuntimeDefault initContainers: - name: init-container image: debian securityContext: seccompProfile: type: RuntimeDefault containers: - name: container image: docker.io/library/debian:stable securityContext: seccompProfile: type: Localhost localhostProfile: my-profile.json The Pod in the example above runs as Unconfined, while the ephemeral-container and init-container specifically defines RuntimeDefault. If the ephemeral or init container would not have set the securityContext.seccompProfile field explicitly, then the value would be inherited from the Pod. The same applies to the container, which runs a Localhost profile my-profile.json.Generally speaking, fields from (ephemeral) containers have a higher priority than the Pod level value, while containers which do not set the seccomp field inherit the profile from the Pod.Note:It is not possible to apply a seccomp profile to a Pod or container running with privileged: true set in the container's securityContext. Privileged containers always run as Unconfined.The following values are possible for the seccompProfile.type:UnconfinedThe workload runs without any seccomp restrictions.RuntimeDefaultA default seccomp profile defined by the container runtime is applied. The default profiles aim to provide a strong set of security defaults while preserving the functionality of the workload. It is possible that the default profiles differ between container runtimes and their release versions, for example when comparing those from CRI-O and containerd.LocalhostThe localhostProfile will be applied, which has to be available on the node disk (on Linux it's /var/lib/kubelet/seccomp). The availability of the seccomp profile is verified by the container runtime on container creation. If the profile does not exist, then the container creation will fail with a CreateContainerError.Localhost profilesSeccomp profiles are JSON files following the scheme defined by the OCI runtime specification",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/seccomp/",
    "id": "k8s_00705_qa_15606"
  },
  {
    "question": "When would you use Seccomp and Kubernetes?",
    "answer": "Seccomp and KubernetesSeccomp stands for secure computing mode and has been a feature of the Linux kernel since version 2.6.12. It can be used to sandbox the privileges of a process, restricting the calls it is able to make from userspace into the kernel. Kubernetes lets you automatically apply seccomp profiles loaded onto a node to your Pods and containers.Seccomp fieldsFEATURE STATE: Kubernetes v1.19 [stable]There are four ways to specify a seccomp profile for a pod:for the whole Pod using spec.securityContext.seccompProfilefor a single container using spec.containers[*].securityContext.seccompProfilefor an (restartable / sidecar) init container using spec.initContainers[*].securityContext.seccompProfilefor an ephemeral container using spec.ephemeralContainers[*].securityContext.seccompProfilepods/security/seccomp/fields.yaml apiVersion: v1 kind: Pod metadata: name: pod spec: securityContext: seccompProfile: type: Unconfined ephemeralContainers: - name: ephemeral-container image: debian securityContext: seccompProfile: type: RuntimeDefault initContainers: - name: init-container image: debian securityContext: seccompProfile: type: RuntimeDefault containers: - name: container image: docker.io/library/debian:stable securityContext: seccompProfile: type: Localhost localhostProfile: my-profile.json The Pod in the example above runs as Unconfined, while the ephemeral-container and init-container specifically defines RuntimeDefault. If the ephemeral or init container would not have set the securityContext.seccompProfile field explicitly, then the value would be inherited from the Pod. The same applies to the container, which runs a Localhost profile my-profile.json.Generally speaking, fields from (ephemeral) containers have a higher priority than the Pod level value, while containers which do not set the seccomp field inherit the profile from the Pod.Note:It is not possible to apply a seccomp profile to a Pod or container running with privileged: true set in the container's securityContext. Privileged containers always run as Unconfined.The following values are possible for the seccompProfile.type:UnconfinedThe workload runs without any seccomp restrictions.RuntimeDefaultA default seccomp profile defined by the container runtime is applied. The default profiles aim to provide a strong set of security defaults while preserving the functionality of the workload. It is possible that the default profiles differ between container runtimes and their release versions, for example when comparing those from CRI-O and containerd.LocalhostThe localhostProfile will be applied, which has to be available on the node disk (on Linux it's /var/lib/kubelet/seccomp). The availability of the seccomp profile is verified by the container runtime on container creation. If the profile does not exist, then the container creation will fail with a CreateContainerError.Localhost profilesSeccomp profiles are JSON files following the scheme defined by the OCI runtime specification",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/seccomp/",
    "id": "k8s_00705_qa_15607"
  },
  {
    "question": "What are the benefits of Seccomp and Kubernetes?",
    "answer": "Seccomp and KubernetesSeccomp stands for secure computing mode and has been a feature of the Linux kernel since version 2.6.12. It can be used to sandbox the privileges of a process, restricting the calls it is able to make from userspace into the kernel. Kubernetes lets you automatically apply seccomp profiles loaded onto a node to your Pods and containers.Seccomp fieldsFEATURE STATE: Kubernetes v1.19 [stable]There are four ways to specify a seccomp profile for a pod:for the whole Pod using spec.securityContext.seccompProfilefor a single container using spec.containers[*].securityContext.seccompProfilefor an (restartable / sidecar) init container using spec.initContainers[*].securityContext.seccompProfilefor an ephemeral container using spec.ephemeralContainers[*].securityContext.seccompProfilepods/security/seccomp/fields.yaml apiVersion: v1 kind: Pod metadata: name: pod spec: securityContext: seccompProfile: type: Unconfined ephemeralContainers: - name: ephemeral-container image: debian securityContext: seccompProfile: type: RuntimeDefault initContainers: - name: init-container image: debian securityContext: seccompProfile: type: RuntimeDefault containers: - name: container image: docker.io/library/debian:stable securityContext: seccompProfile: type: Localhost localhostProfile: my-profile.json The Pod in the example above runs as Unconfined, while the ephemeral-container and init-container specifically defines RuntimeDefault. If the ephemeral or init container would not have set the securityContext.seccompProfile field explicitly, then the value would be inherited from the Pod. The same applies to the container, which runs a Localhost profile my-profile.json.Generally speaking, fields from (ephemeral) containers have a higher priority than the Pod level value, while containers which do not set the seccomp field inherit the profile from the Pod.Note:It is not possible to apply a seccomp profile to a Pod or container running with privileged: true set in the container's securityContext. Privileged containers always run as Unconfined.The following values are possible for the seccompProfile.type:UnconfinedThe workload runs without any seccomp restrictions.RuntimeDefaultA default seccomp profile defined by the container runtime is applied. The default profiles aim to provide a strong set of security defaults while preserving the functionality of the workload. It is possible that the default profiles differ between container runtimes and their release versions, for example when comparing those from CRI-O and containerd.LocalhostThe localhostProfile will be applied, which has to be available on the node disk (on Linux it's /var/lib/kubelet/seccomp). The availability of the seccomp profile is verified by the container runtime on container creation. If the profile does not exist, then the container creation will fail with a CreateContainerError.Localhost profilesSeccomp profiles are JSON files following the scheme defined by the OCI runtime specification",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/seccomp/",
    "id": "k8s_00705_qa_15608"
  },
  {
    "question": "What is Seccomp and Kubernetes?",
    "answer": "S e c c o m p   s t a n d s   f o r   s e c u r e   c o m p u t i n g   m o d e   a n d   h a s   b e e n   a   f e a t u r e   o f   t h e   L i n u x   k e r n e l   s i n c e   v e r s i o n   2 . 6 . 1 2 .   I t   c a n   b e   u s e d   t o   s a n d b o x   t h e   p r i v i l e g e s   o f   a   p r o c e s s ,   r e s t r i c t i n g   t h e   c a l l s   i t   i s   a b l e   t o   m a k e   f r o m   u s e r s p a c e   i n t o   t h e   k e r n e l .   K u b e r n e t e s   l e t s   y o u   a u t o m a t i c a l l y   a p p l y   s e c c o m p   p r o f i l e s   l o a d e d   o n t o   a   n o d e   t o   y o u r   P o d s   a n d   c o n t a i n e r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/seccomp/",
    "id": "k8s_00705_section_1_15609"
  },
  {
    "question": "What is Seccomp fields?",
    "answer": "T h e r e   a r e   f o u r   w a y s   t o   s p e c i f y   a   s e c c o m p   p r o f i l e   f o r   a   p o d :   f o r   t h e   w h o l e   P o d   u s i n g   s p e c . s e c u r i t y C o n t e x t . s e c c o m p P r o f i l e f o r   a   s i n g l e   c o n t a i n e r   u s i n g   s p e c . c o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . s e c c o m p P r o f i l e f o r   a n   ( r e s t a r t a b l e   /   s i d e c a r )   i n i t   c o n t a i n e r   u s i n g   s p e c . i n i t C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . s e c c o m p P r o f i l e f o r   a n   e p h e m e r a l   c o n t a i n e r   u s i n g   s p e c . e p h e m e r a l C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . s e c c o m p P r o f i l e   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p o d   s p e c :   s e c u r i t y C o n t e x t :   s e c c o m p P r o f i l e :   t y p e :   U n c o n f i n e d   e p h e m e r a l C o n t a i n e r s :   -   n a m e :   e p h e m e r a l - c o n t a i n e r   i m a g e :   d e b i a n   s e c u r i t y C o n t e x t :   s e c c o m p P r o f i l e :   t y p e :   R u n t i m e D e f a u l t   i n i t C o n t a i n e r s :   -   n a m e :   i n i t - c o n t a i n e r   i m a g e :   d e b i a n   s e c u r i t y C o n t e x t :   s e c c o m p P r o f i l e :   t y p e :   R u n t i m e D e f a u l t   c o n t a i n e r s :   -   n a m e :   c o n t a i n e r   i m a g e :   d o c k e r . i o / l i b r a r y / d e b i a n : s t a b l e   s e c u r i t y C o n t e x t :   s e c c o m p P r o f i l e :   t y p e :   L o c a l h o s t   l o c a l h o s t P r o f i l e :   m y - p r o f i l e . j s o n   T h e   P o d   i n   t h e   e x a m p l e   a b o v e   r u n s   a s   U n c o n f i n e d ,   w h i l e   t h e   e p h e m e r a l - c o n t a i n e r   a n d   i n i t - c o n t a i n e r   s p e c i f i c a l l y   d e f i n e s   R u n t i m e D e f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/seccomp/",
    "id": "k8s_00705_section_2_15610"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   f o l l o w i n g   v a l u e s   a r e   p o s s i b l e   f o r   t h e   s e c c o m p P r o f i l e . t y p e :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/seccomp/",
    "id": "k8s_00705_section_4_15611"
  },
  {
    "question": "What is Localhost profiles?",
    "answer": "S e c c o m p   p r o f i l e s   a r e   J S O N   f i l e s   f o l l o w i n g   t h e   s c h e m e   d e f i n e d   b y   t h e   O C I   r u n t i m e   s p e c i f i c a t i o n .   A   p r o f i l e   b a s i c a l l y   d e f i n e s   a c t i o n s   b a s e d   o n   m a t c h e d   s y s c a l l s ,   b u t   a l s o   a l l o w s   t o   p a s s   s p e c i f i c   v a l u e s   a s   a r g u m e n t s   t o   s y s c a l l s .   F o r   e x a m p l e :   {   \" d e f a u l t A c t i o n \" :   \" S C M P _ A C T _ E R R N O \" ,   \" d e f a u l t E r r n o R e t \" :   3 8 ,   \" s y s c a l l s \" :   [   {   \" n a m e s \" :   [   \" a d j t i m e x \" ,   \" a l a r m \" ,   \" b i n d \" ,   \" w a i t i d \" ,   \" w a i t p i d \" ,   \" w r i t e \" ,   \" w r i t e v \"   ] ,   \" a c t i o n \" :   \" S C M P _ A C T _ A L L O W \"   }   ]   }   T h e   d e f a u l t A c t i o n   i n   t h e   p r o f i l e   a b o v e   i s   d e f i n e d   a s   S C M P _ A C T _ E R R N O   a n d   w i l l   r e t u r n   a s   f a l l b a c k   t o   t h e   a c t i o n s   d e f i n e d   i n   s y s c a l l s .   T h e   e r r o r   i s   d e f i n e d   a s   c o d e   3 8   v i a   t h e   d e f a u l t E r r n o R e t   f i e l d .   T h e   f o l l o w i n g   a c t i o n s   a r e   g e n e r a l l y   p o s s i b l e :   S o m e   a c t i o n s   l i k e   S C M P _ A C T _ N O T I F Y   o r   S E C C O M P _ R E T _ U S E R _ N O T I F   m a y   b e   n o t   s u p p o r t e d   d e p e n d i n g   o n   t h e   c o n t a i n e r   r u n t i m e ,   O C I   r u n t i m e   o r   L i n u x   k e r n e l   v e r s i o n   b e i n g   u s e d .   T h e r e   m a y   b e   a l s o   f u r t h e r   l i m i t a t i o n s ,   f o r   e x a m p l e   t h a t   S C M P _ A C T _ N O T I F Y   c a n n o t   b e   u s e d   a s   d e f a u l t A c t i o n   o r   f o r   c e r t a i n   s y s c a l l s   l i k e   w r i t e .   A l l   t h o s e   l i m i t a t i o n s   a r e   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/seccomp/",
    "id": "k8s_00705_section_3_15612"
  },
  {
    "question": "What is Further reading?",
    "answer": "R e s t r i c t   a   C o n t a i n e r ' s   S y s c a l l s   w i t h   s e c c o m p P o d   S e c u r i t y   S t a n d a r d s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/node/seccomp/",
    "id": "k8s_00705_section_2_15613"
  },
  {
    "question": "What is Kubernetes API Concepts?",
    "answer": "Kubernetes API ConceptsThe Kubernetes API is a resource-based (RESTful) programmatic interface provided via HTTP. It supports retrieving, creating, updating, and deleting primary resources via the standard HTTP verbs (POST, PUT, PATCH, DELETE, GET).For some resources, the API includes additional subresources that allow fine-grained authorization (such as separate views for Pod details and log retrievals), and can accept and serve those resources in different representations for convenience or efficiency.Kubernetes supports efficient change notifications on resources via watches:in the Kubernetes API, watch is a verb that is used to track changes to an object in Kubernetes as a stream. It is used for the efficient detection of changes.Kubernetes also provides consistent list operations so that API clients can effectively cache, track, and synchronize the state of resources.You can view the API reference online, or read on to learn about the API in general.Kubernetes API terminologyKubernetes generally leverages common RESTful terminology to describe the API concepts:A resource type is the name used in the URL (pods, namespaces, services)All resource types have a concrete representation (their object schema) which is called a kindA list of instances of a resource type is known as a collectionA single instance of a resource type is called a resource, and also usually represents an objectFor some resource types, the API includes one or more sub-resources, which are represented as URI paths below the resourceMost Kubernetes API resource types are objects – they represent a concrete instance of a concept on the cluster, like a pod or namespace. A smaller number of API resource types are virtual in that they often represent operations on objects, rather than objects, such as a permission check (use a POST with a JSON-encoded body of SubjectAccessReview to the subjectaccessreviews resource), or the eviction sub-resource of a Pod (used to trigger API-initiated eviction).Object namesAll objects you can create via the API have a unique object name to allow idempotent creation and retrieval, except that virtual resource types may not have unique names if they are not retrievable, or do not rely on idempotency. Within a namespace, only one object of a given kind can have a given name at a time. However, if you delete the object, you can make a new object with the same name. Some objects are not namespaced (for example: Nodes), and so their names must be unique across the whole cluster.API verbsAlmost all object resource types support the standard HTTP verbs - GET, POST, PUT, PATCH, and DELETE. Kubernetes also uses its own verbs, which are often written in lowercase to distinguish them from HTTP verbs.Kubernetes uses the term list to describe the action of returning a collection of resources, to distinguish it from retrieving a single resource which is usually called a get. If you sent an HTTP GET request with the ?watch query parameter, Kubernetes calls this ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_qa_15614"
  },
  {
    "question": "How does Kubernetes API Concepts work?",
    "answer": "Kubernetes API ConceptsThe Kubernetes API is a resource-based (RESTful) programmatic interface provided via HTTP. It supports retrieving, creating, updating, and deleting primary resources via the standard HTTP verbs (POST, PUT, PATCH, DELETE, GET).For some resources, the API includes additional subresources that allow fine-grained authorization (such as separate views for Pod details and log retrievals), and can accept and serve those resources in different representations for convenience or efficiency.Kubernetes supports efficient change notifications on resources via watches:in the Kubernetes API, watch is a verb that is used to track changes to an object in Kubernetes as a stream. It is used for the efficient detection of changes.Kubernetes also provides consistent list operations so that API clients can effectively cache, track, and synchronize the state of resources.You can view the API reference online, or read on to learn about the API in general.Kubernetes API terminologyKubernetes generally leverages common RESTful terminology to describe the API concepts:A resource type is the name used in the URL (pods, namespaces, services)All resource types have a concrete representation (their object schema) which is called a kindA list of instances of a resource type is known as a collectionA single instance of a resource type is called a resource, and also usually represents an objectFor some resource types, the API includes one or more sub-resources, which are represented as URI paths below the resourceMost Kubernetes API resource types are objects – they represent a concrete instance of a concept on the cluster, like a pod or namespace. A smaller number of API resource types are virtual in that they often represent operations on objects, rather than objects, such as a permission check (use a POST with a JSON-encoded body of SubjectAccessReview to the subjectaccessreviews resource), or the eviction sub-resource of a Pod (used to trigger API-initiated eviction).Object namesAll objects you can create via the API have a unique object name to allow idempotent creation and retrieval, except that virtual resource types may not have unique names if they are not retrievable, or do not rely on idempotency. Within a namespace, only one object of a given kind can have a given name at a time. However, if you delete the object, you can make a new object with the same name. Some objects are not namespaced (for example: Nodes), and so their names must be unique across the whole cluster.API verbsAlmost all object resource types support the standard HTTP verbs - GET, POST, PUT, PATCH, and DELETE. Kubernetes also uses its own verbs, which are often written in lowercase to distinguish them from HTTP verbs.Kubernetes uses the term list to describe the action of returning a collection of resources, to distinguish it from retrieving a single resource which is usually called a get. If you sent an HTTP GET request with the ?watch query parameter, Kubernetes calls this ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_qa_15615"
  },
  {
    "question": "When would you use Kubernetes API Concepts?",
    "answer": "Kubernetes API ConceptsThe Kubernetes API is a resource-based (RESTful) programmatic interface provided via HTTP. It supports retrieving, creating, updating, and deleting primary resources via the standard HTTP verbs (POST, PUT, PATCH, DELETE, GET).For some resources, the API includes additional subresources that allow fine-grained authorization (such as separate views for Pod details and log retrievals), and can accept and serve those resources in different representations for convenience or efficiency.Kubernetes supports efficient change notifications on resources via watches:in the Kubernetes API, watch is a verb that is used to track changes to an object in Kubernetes as a stream. It is used for the efficient detection of changes.Kubernetes also provides consistent list operations so that API clients can effectively cache, track, and synchronize the state of resources.You can view the API reference online, or read on to learn about the API in general.Kubernetes API terminologyKubernetes generally leverages common RESTful terminology to describe the API concepts:A resource type is the name used in the URL (pods, namespaces, services)All resource types have a concrete representation (their object schema) which is called a kindA list of instances of a resource type is known as a collectionA single instance of a resource type is called a resource, and also usually represents an objectFor some resource types, the API includes one or more sub-resources, which are represented as URI paths below the resourceMost Kubernetes API resource types are objects – they represent a concrete instance of a concept on the cluster, like a pod or namespace. A smaller number of API resource types are virtual in that they often represent operations on objects, rather than objects, such as a permission check (use a POST with a JSON-encoded body of SubjectAccessReview to the subjectaccessreviews resource), or the eviction sub-resource of a Pod (used to trigger API-initiated eviction).Object namesAll objects you can create via the API have a unique object name to allow idempotent creation and retrieval, except that virtual resource types may not have unique names if they are not retrievable, or do not rely on idempotency. Within a namespace, only one object of a given kind can have a given name at a time. However, if you delete the object, you can make a new object with the same name. Some objects are not namespaced (for example: Nodes), and so their names must be unique across the whole cluster.API verbsAlmost all object resource types support the standard HTTP verbs - GET, POST, PUT, PATCH, and DELETE. Kubernetes also uses its own verbs, which are often written in lowercase to distinguish them from HTTP verbs.Kubernetes uses the term list to describe the action of returning a collection of resources, to distinguish it from retrieving a single resource which is usually called a get. If you sent an HTTP GET request with the ?watch query parameter, Kubernetes calls this ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_qa_15616"
  },
  {
    "question": "What are the benefits of Kubernetes API Concepts?",
    "answer": "Kubernetes API ConceptsThe Kubernetes API is a resource-based (RESTful) programmatic interface provided via HTTP. It supports retrieving, creating, updating, and deleting primary resources via the standard HTTP verbs (POST, PUT, PATCH, DELETE, GET).For some resources, the API includes additional subresources that allow fine-grained authorization (such as separate views for Pod details and log retrievals), and can accept and serve those resources in different representations for convenience or efficiency.Kubernetes supports efficient change notifications on resources via watches:in the Kubernetes API, watch is a verb that is used to track changes to an object in Kubernetes as a stream. It is used for the efficient detection of changes.Kubernetes also provides consistent list operations so that API clients can effectively cache, track, and synchronize the state of resources.You can view the API reference online, or read on to learn about the API in general.Kubernetes API terminologyKubernetes generally leverages common RESTful terminology to describe the API concepts:A resource type is the name used in the URL (pods, namespaces, services)All resource types have a concrete representation (their object schema) which is called a kindA list of instances of a resource type is known as a collectionA single instance of a resource type is called a resource, and also usually represents an objectFor some resource types, the API includes one or more sub-resources, which are represented as URI paths below the resourceMost Kubernetes API resource types are objects – they represent a concrete instance of a concept on the cluster, like a pod or namespace. A smaller number of API resource types are virtual in that they often represent operations on objects, rather than objects, such as a permission check (use a POST with a JSON-encoded body of SubjectAccessReview to the subjectaccessreviews resource), or the eviction sub-resource of a Pod (used to trigger API-initiated eviction).Object namesAll objects you can create via the API have a unique object name to allow idempotent creation and retrieval, except that virtual resource types may not have unique names if they are not retrievable, or do not rely on idempotency. Within a namespace, only one object of a given kind can have a given name at a time. However, if you delete the object, you can make a new object with the same name. Some objects are not namespaced (for example: Nodes), and so their names must be unique across the whole cluster.API verbsAlmost all object resource types support the standard HTTP verbs - GET, POST, PUT, PATCH, and DELETE. Kubernetes also uses its own verbs, which are often written in lowercase to distinguish them from HTTP verbs.Kubernetes uses the term list to describe the action of returning a collection of resources, to distinguish it from retrieving a single resource which is usually called a get. If you sent an HTTP GET request with the ?watch query parameter, Kubernetes calls this ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_qa_15617"
  },
  {
    "question": "What is Kubernetes API Concepts?",
    "answer": "T h e   K u b e r n e t e s   A P I   i s   a   r e s o u r c e - b a s e d   ( R E S T f u l )   p r o g r a m m a t i c   i n t e r f a c e   p r o v i d e d   v i a   H T T P .   I t   s u p p o r t s   r e t r i e v i n g ,   c r e a t i n g ,   u p d a t i n g ,   a n d   d e l e t i n g   p r i m a r y   r e s o u r c e s   v i a   t h e   s t a n d a r d   H T T P   v e r b s   ( P O S T ,   P U T ,   P A T C H ,   D E L E T E ,   G E T ) .   F o r   s o m e   r e s o u r c e s ,   t h e   A P I   i n c l u d e s   a d d i t i o n a l   s u b r e s o u r c e s   t h a t   a l l o w   f i n e - g r a i n e d   a u t h o r i z a t i o n   ( s u c h   a s   s e p a r a t e   v i e w s   f o r   P o d   d e t a i l s   a n d   l o g   r e t r i e v a l s ) ,   a n d   c a n   a c c e p t   a n d   s e r v e   t h o s e   r e s o u r c e s   i n   d i f f e r e n t   r e p r e s e n t a t i o n s   f o r   c o n v e n i e n c e   o r   e f f i c i e n c y .   K u b e r n e t e s   s u p p o r t s   e f f i c i e n t   c h a n g e   n o t i f i c a t i o n s   o n   r e s o u r c e s   v i a   w a t c h e s : i n   t h e   K u b e r n e t e s   A P I ,   w a t c h   i s   a   v e r b   t h a t   i s   u s e d   t o   t r a c k   c h a n g e s   t o   a n   o b j e c t   i n   K u b e r n e t e s   a s   a   s t r e a m .   I t   i s   u s e d   f o r   t h e   e f f i c i e n t   d e t e c t i o n   o f   c h a n g e s . K u b e r n e t e s   a l s o   p r o v i d e s   c o n s i s t e n t   l i s t   o p e r a t i o n s   s o   t h a t   A P I   c l i e n t s   c a n   e f f e c t i v e l y   c a c h e ,   t r a c k ,   a n d   s y n c h r o n i z e   t h e   s t a t e   o f   r e s o u r c e s .   i n   t h e   K u b e r n e t e s   A P I ,   w a t c h   i s   a   v e r b   t h a t   i s   u s e d   t o   t r a c k   c h a n g e s   t o   a n   o b j e c t   i n   K u b e r n e t e s   a s   a   s t r e a m .   I t   i s   u s e d   f o r   t h e   e f f i c i e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_1_15618"
  },
  {
    "question": "What is Kubernetes API terminology?",
    "answer": "K u b e r n e t e s   g e n e r a l l y   l e v e r a g e s   c o m m o n   R E S T f u l   t e r m i n o l o g y   t o   d e s c r i b e   t h e   A P I   c o n c e p t s :   A   r e s o u r c e   t y p e   i s   t h e   n a m e   u s e d   i n   t h e   U R L   ( p o d s ,   n a m e s p a c e s ,   s e r v i c e s ) A l l   r e s o u r c e   t y p e s   h a v e   a   c o n c r e t e   r e p r e s e n t a t i o n   ( t h e i r   o b j e c t   s c h e m a )   w h i c h   i s   c a l l e d   a   k i n d A   l i s t   o f   i n s t a n c e s   o f   a   r e s o u r c e   t y p e   i s   k n o w n   a s   a   c o l l e c t i o n A   s i n g l e   i n s t a n c e   o f   a   r e s o u r c e   t y p e   i s   c a l l e d   a   r e s o u r c e ,   a n d   a l s o   u s u a l l y   r e p r e s e n t s   a n   o b j e c t F o r   s o m e   r e s o u r c e   t y p e s ,   t h e   A P I   i n c l u d e s   o n e   o r   m o r e   s u b - r e s o u r c e s ,   w h i c h   a r e   r e p r e s e n t e d   a s   U R I   p a t h s   b e l o w   t h e   r e s o u r c e   M o s t   K u b e r n e t e s   A P I   r e s o u r c e   t y p e s   a r e   o b j e c t s   –   t h e y   r e p r e s e n t   a   c o n c r e t e   i n s t a n c e   o f   a   c o n c e p t   o n   t h e   c l u s t e r ,   l i k e   a   p o d   o r   n a m e s p a c e .   A   s m a l l e r   n u m b e r   o f   A P I   r e s o u r c e   t y p e s   a r e   v i r t u a l   i n   t h a t   t h e y   o f t e n   r e p r e s e n t   o p e r a t i o n s   o n   o b j e c t s ,   r a t h e r   t h a n   o b j e c t s ,   s u c h   a s   a   p e r m i s s i o n   c h e c k   ( u s e   a   P O S T   w i t h   a   J S O N - e n c o d e d   b o d y   o f   S u b j e c t A c c e s s R e v i e w   t o   t h e   s u b j e c t a c c e s s r e v i e w s   r e s o u r c e ) ,   o r   t h e   e v i c t i o n   s u b - r e s o u r c e   o f   a   P o d   ( u s e d   t o   t r i g g e r   A P I - i n i t i a t e d   e v i c t i o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_2_15619"
  },
  {
    "question": "What is Object names?",
    "answer": "A l l   o b j e c t s   y o u   c a n   c r e a t e   v i a   t h e   A P I   h a v e   a   u n i q u e   o b j e c t   n a m e   t o   a l l o w   i d e m p o t e n t   c r e a t i o n   a n d   r e t r i e v a l ,   e x c e p t   t h a t   v i r t u a l   r e s o u r c e   t y p e s   m a y   n o t   h a v e   u n i q u e   n a m e s   i f   t h e y   a r e   n o t   r e t r i e v a b l e ,   o r   d o   n o t   r e l y   o n   i d e m p o t e n c y .   W i t h i n   a   n a m e s p a c e ,   o n l y   o n e   o b j e c t   o f   a   g i v e n   k i n d   c a n   h a v e   a   g i v e n   n a m e   a t   a   t i m e .   H o w e v e r ,   i f   y o u   d e l e t e   t h e   o b j e c t ,   y o u   c a n   m a k e   a   n e w   o b j e c t   w i t h   t h e   s a m e   n a m e .   S o m e   o b j e c t s   a r e   n o t   n a m e s p a c e d   ( f o r   e x a m p l e :   N o d e s ) ,   a n d   s o   t h e i r   n a m e s   m u s t   b e   u n i q u e   a c r o s s   t h e   w h o l e   c l u s t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_3_15620"
  },
  {
    "question": "What is API verbs?",
    "answer": "A l m o s t   a l l   o b j e c t   r e s o u r c e   t y p e s   s u p p o r t   t h e   s t a n d a r d   H T T P   v e r b s   -   G E T ,   P O S T ,   P U T ,   P A T C H ,   a n d   D E L E T E .   K u b e r n e t e s   a l s o   u s e s   i t s   o w n   v e r b s ,   w h i c h   a r e   o f t e n   w r i t t e n   i n   l o w e r c a s e   t o   d i s t i n g u i s h   t h e m   f r o m   H T T P   v e r b s .   K u b e r n e t e s   u s e s   t h e   t e r m   l i s t   t o   d e s c r i b e   t h e   a c t i o n   o f   r e t u r n i n g   a   c o l l e c t i o n   o f   r e s o u r c e s ,   t o   d i s t i n g u i s h   i t   f r o m   r e t r i e v i n g   a   s i n g l e   r e s o u r c e   w h i c h   i s   u s u a l l y   c a l l e d   a   g e t .   I f   y o u   s e n t   a n   H T T P   G E T   r e q u e s t   w i t h   t h e   ? w a t c h   q u e r y   p a r a m e t e r ,   K u b e r n e t e s   c a l l s   t h i s   a   w a t c h   a n d   n o t   a   g e t   ( s e e   E f f i c i e n t   d e t e c t i o n   o f   c h a n g e s   f o r   m o r e   d e t a i l s ) .   F o r   P U T   r e q u e s t s ,   K u b e r n e t e s   i n t e r n a l l y   c l a s s i f i e s   t h e s e   a s   e i t h e r   c r e a t e   o r   u p d a t e   b a s e d   o n   t h e   s t a t e   o f   t h e   e x i s t i n g   o b j e c t .   A n   u p d a t e   i s   d i f f e r e n t   f r o m   a   p a t c h ;   t h e   H T T P   v e r b   f o r   a   p a t c h   i s   P A T C H .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_3_15621"
  },
  {
    "question": "What is Resource URIs?",
    "answer": "A l l   r e s o u r c e   t y p e s   a r e   e i t h e r   s c o p e d   b y   t h e   c l u s t e r   ( / a p i s / G R O U P / V E R S I O N / * )   o r   t o   a   n a m e s p a c e   ( / a p i s / G R O U P / V E R S I O N / n a m e s p a c e s / N A M E S P A C E / * ) .   A   n a m e s p a c e - s c o p e d   r e s o u r c e   t y p e   w i l l   b e   d e l e t e d   w h e n   i t s   n a m e s p a c e   i s   d e l e t e d   a n d   a c c e s s   t o   t h a t   r e s o u r c e   t y p e   i s   c o n t r o l l e d   b y   a u t h o r i z a t i o n   c h e c k s   o n   t h e   n a m e s p a c e   s c o p e .   N o t e :   c o r e   r e s o u r c e s   u s e   / a p i   i n s t e a d   o f   / a p i s   a n d   o m i t   t h e   G R O U P   p a t h   s e g m e n t .   E x a m p l e s :   / a p i / v 1 / n a m e s p a c e s / a p i / v 1 / p o d s / a p i / v 1 / n a m e s p a c e s / m y - n a m e s p a c e / p o d s / a p i s / a p p s / v 1 / d e p l o y m e n t s / a p i s / a p p s / v 1 / n a m e s p a c e s / m y - n a m e s p a c e / d e p l o y m e n t s / a p i s / a p p s / v 1 / n a m e s p a c e s / m y - n a m e s p a c e / d e p l o y m e n t s / m y - d e p l o y m e n t   Y o u   c a n   a l s o   a c c e s s   c o l l e c t i o n s   o f   r e s o u r c e s   ( f o r   e x a m p l e :   l i s t i n g   a l l   N o d e s ) .   T h e   f o l l o w i n g   p a t h s   a r e   u s e d   t o   r e t r i e v e   c o l l e c t i o n s   a n d   r e s o u r c e s :   C l u s t e r - s c o p e d   r e s o u r c e s : G E T   / a p i s / G R O U P / V E R S I O N / R E S O U R C E T Y P E   -   r e t u r n   t h e   c o l l e c t i o n   o f   r e s o u r c e s   o f   t h e   r e s o u r c e   t y p e G E T   / a p i s / G R O U P / V E R S I O N / R E S O U R C E T Y P E / N A M E   -   r e t u r n   t h e   r e s o u r c e   w i t h   N A M E   u n d e r   t h e   r e s o u r c e   t y p e N a m e s p a c e - s c o p e d   r e s o u r c e s : G E ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_2_15622"
  },
  {
    "question": "What is HTTP media types?",
    "answer": "O v e r   H T T P ,   K u b e r n e t e s   s u p p o r t s   J S O N ,   Y A M L ,   C B O R   a n d   P r o t o b u f   w i r e   e n c o d i n g s .   B y   d e f a u l t ,   K u b e r n e t e s   r e t u r n s   o b j e c t s   i n   J S O N   s e r i a l i z a t i o n ,   u s i n g   t h e   a p p l i c a t i o n / j s o n   m e d i a   t y p e .   A l t h o u g h   J S O N   i s   t h e   d e f a u l t ,   c l i e n t s   m a y   r e q u e s t   a   r e s p o n s e   i n   Y A M L ,   o r   u s e   t h e   m o r e   e f f i c i e n t   b i n a r y   P r o t o b u f   r e p r e s e n t a t i o n   f o r   b e t t e r   p e r f o r m a n c e   a t   s c a l e .   T h e   K u b e r n e t e s   A P I   i m p l e m e n t s   s t a n d a r d   H T T P   c o n t e n t   t y p e   n e g o t i a t i o n :   p a s s i n g   a n   A c c e p t   h e a d e r   w i t h   a   G E T   c a l l   w i l l   r e q u e s t   t h a t   t h e   s e r v e r   t r i e s   t o   r e t u r n   a   r e s p o n s e   i n   y o u r   p r e f e r r e d   m e d i a   t y p e .   I f   y o u   w a n t   t o   s e n d   a n   o b j e c t   i n   P r o t o b u f   t o   t h e   s e r v e r   f o r   a   P U T   o r   P O S T   r e q u e s t ,   y o u   m u s t   s e t   t h e   C o n t e n t - T y p e   r e q u e s t   h e a d e r   a p p r o p r i a t e l y .   I f   y o u   r e q u e s t   a n   a v a i l a b l e   m e d i a   t y p e ,   t h e   A P I   s e r v e r   r e t u r n s   a   r e s p o n s e   w i t h   a   s u i t a b l e   C o n t e n t - T y p e ;   i f   n o n e   o f   t h e   m e d i a   t y p e s   y o u   r e q u e s t   a r e   s u p p o r t e d ,   t h e   A P I   s e r v e r   r e t u r n s   a   4 0 6   N o t   a c c e p t a b l e   e r r o r   m e s s a g e .   A l l   b u i l t - i n   r e s o u r c e   t y p e s   s u p p o r t   t h e   a p p l i c a t i o n / j s o n   m e d i a   t y p e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_2_15623"
  },
  {
    "question": "What is Chunked encoding of collections?",
    "answer": "F o r   J S O N   a n d   P r o t o b u f   e n c o d i n g ,   K u b e r n e t e s   i m p l e m e n t s   c u s t o m   e n c o d e r s   t h a t   w r i t e   i t e m ,   b y   i t e m .   T h e   f e a t u r e   d o e s n ' t   c h a n g e   t h e   o u t p u t ,   b u t   a l l o w s   A P I   s e r v e r   t o   a v o i d   l o a d i n g   w h o l e   L I S T   r e s p o n s e   i n t o   m e m o r y .   U s i n g   o t h e r   t y p e s   o f   e n c o d i n g   ( i n c l u d i n g   p r e t t y   r e p r e s e n t a t i o n   o f   J S O N )   s h o u l d   b e   a v o i d e d   f o r   l a r g e   c o l l e c t i o n s   o f   r e s o u r c e s   ( > 1 0 0 M B )   a s   i t   c a n   h a v e   n e g a t i v e   p e r f o r m a n c e   i m p a c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_4_15624"
  },
  {
    "question": "What is JSON resource encoding?",
    "answer": "T h e   K u b e r n e t e s   A P I   d e f a u l t s   t o   u s i n g   J S O N   f o r   e n c o d i n g   H T T P   m e s s a g e   b o d i e s .   F o r   e x a m p l e :   L i s t   a l l   o f   t h e   p o d s   o n   a   c l u s t e r ,   w i t h o u t   s p e c i f y i n g   a   p r e f e r r e d   f o r m a t G E T   / a p i / v 1 / p o d s   2 0 0   O K   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n   …   J S O N   e n c o d e d   c o l l e c t i o n   o f   P o d s   ( P o d L i s t   o b j e c t )   C r e a t e   a   p o d   b y   s e n d i n g   J S O N   t o   t h e   s e r v e r ,   r e q u e s t i n g   a   J S O N   r e s p o n s e . P O S T   / a p i / v 1 / n a m e s p a c e s / t e s t / p o d s   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n   A c c e p t :   a p p l i c a t i o n / j s o n   …   J S O N   e n c o d e d   P o d   o b j e c t   2 0 0   O K   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n   {   \" k i n d \" :   \" P o d \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   …   }   L i s t   a l l   o f   t h e   p o d s   o n   a   c l u s t e r ,   w i t h o u t   s p e c i f y i n g   a   p r e f e r r e d   f o r m a t   G E T   / a p i / v 1 / p o d s   2 0 0   O K   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n   …   J S O N   e n c o d e d   c o l l e c t i o n   o f   P o d s   ( P o d L i s t   o b j e c t )   C r e a t e   a   p o d   b y   s e n d i n g   J S O N   t o   t h e   s e r v e r ,   r e q u e s t i n g   a   J S O N   r e s p o n s e .   P O S T   / a p i / v 1 / n a m e s p a c e s / t e s t / p o d s   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n   A c c e p t :   a p p l i c a t i o n / j s o n   …   J S O N   e n c o d e d   P o d   o b j e c t   2 0 0   O K   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n   {   \" k i n d \" :   \" P o d \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   …   }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_3_15625"
  },
  {
    "question": "What is YAML resource encoding?",
    "answer": "K u b e r n e t e s   a l s o   s u p p o r t s   t h e   a p p l i c a t i o n / y a m l   m e d i a   t y p e   f o r   b o t h   r e q u e s t s   a n d   r e s p o n s e s .   Y A M L   c a n   b e   u s e d   f o r   d e f i n i n g   K u b e r n e t e s   m a n i f e s t s   a n d   A P I   i n t e r a c t i o n s .   F o r   e x a m p l e :   L i s t   a l l   o f   t h e   p o d s   o n   a   c l u s t e r   i n   Y A M L   f o r m a t G E T   / a p i / v 1 / p o d s   A c c e p t :   a p p l i c a t i o n / y a m l   2 0 0   O K   C o n t e n t - T y p e :   a p p l i c a t i o n / y a m l   …   Y A M L   e n c o d e d   c o l l e c t i o n   o f   P o d s   ( P o d L i s t   o b j e c t )   C r e a t e   a   p o d   b y   s e n d i n g   Y A M L - e n c o d e d   d a t a   t o   t h e   s e r v e r ,   r e q u e s t i n g   a   Y A M L   r e s p o n s e : P O S T   / a p i / v 1 / n a m e s p a c e s / t e s t / p o d s   C o n t e n t - T y p e :   a p p l i c a t i o n / y a m l   A c c e p t :   a p p l i c a t i o n / y a m l   …   Y A M L   e n c o d e d   P o d   o b j e c t   2 0 0   O K   C o n t e n t - T y p e :   a p p l i c a t i o n / y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y - p o d   …   L i s t   a l l   o f   t h e   p o d s   o n   a   c l u s t e r   i n   Y A M L   f o r m a t   G E T   / a p i / v 1 / p o d s   A c c e p t :   a p p l i c a t i o n / y a m l   2 0 0   O K   C o n t e n t - T y p e :   a p p l i c a t i o n / y a m l   …   Y A M L   e n c o d e d   c o l l e c t i o n   o f   P o d s   ( P o d L i s t   o b j e c t )   C r e a t e   a   p o d   b y   s e n d i n g   Y A M L - e n c o d e d   d a t a   t o   t h e   s e r v e r ,   r e q u e s t i n g   a   Y A M L   r e s p o n s e :   P O S T   / a p i / v 1 / n a m e s p a c e s / t e s t / p o d s   C o n t e n t - T y p e :   a p p l i c a t i o n / y a m l   A c c e p t :   a p p l i c a t i o n / y a m l   …   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_3_15626"
  },
  {
    "question": "What is Kubernetes Protobuf encoding?",
    "answer": "K u b e r n e t e s   u s e s   a n   e n v e l o p e   w r a p p e r   t o   e n c o d e   P r o t o b u f   r e s p o n s e s .   T h a t   w r a p p e r   s t a r t s   w i t h   a   4   b y t e   m a g i c   n u m b e r   t o   h e l p   i d e n t i f y   c o n t e n t   i n   d i s k   o r   i n   e t c d   a s   P r o t o b u f   ( a s   o p p o s e d   t o   J S O N ) .   T h e   4   b y t e   m a g i c   n u m b e r   d a t a   i s   f o l l o w e d   b y   a   P r o t o b u f   e n c o d e d   w r a p p e r   m e s s a g e ,   w h i c h   d e s c r i b e s   t h e   e n c o d i n g   a n d   t y p e   o f   t h e   u n d e r l y i n g   o b j e c t .   W i t h i n   t h e   P r o t o b u f   w r a p p e r   m e s s a g e ,   t h e   i n n e r   o b j e c t   d a t a   i s   r e c o r d e d   u s i n g   t h e   r a w   f i e l d   o f   U n k n o w n   ( s e e   t h e   I D L   f o r   m o r e   d e t a i l ) .   F o r   e x a m p l e :   L i s t   a l l   o f   t h e   p o d s   o n   a   c l u s t e r   i n   P r o t o b u f   f o r m a t . G E T   / a p i / v 1 / p o d s   A c c e p t :   a p p l i c a t i o n / v n d . k u b e r n e t e s . p r o t o b u f   2 0 0   O K   C o n t e n t - T y p e :   a p p l i c a t i o n / v n d . k u b e r n e t e s . p r o t o b u f   …   b i n a r y   e n c o d e d   c o l l e c t i o n   o f   P o d s   ( P o d L i s t   o b j e c t )   C r e a t e   a   p o d   b y   s e n d i n g   P r o t o b u f   e n c o d e d   d a t a   t o   t h e   s e r v e r ,   b u t   r e q u e s t   a   r e s p o n s e   i n   J S O N . P O S T   / a p i / v 1 / n a m e s p a c e s / t e s t / p o d s   C o n t e n t - T y p e :   a p p l i c a t i o n / v n d . k u b e r n e t e s . p r o t o b u f   A c c e p t :   a p p l i c a t i o n / j s o n   …   b i n a r y   e n c o d e d   P o d   o b j e c t   2 0 0   O K   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n   {   \" k i n d \" :   \" P o d \" ,   \" a p i V e r s i o n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_3_15627"
  },
  {
    "question": "What is Compatibility with Kubernetes Protobuf?",
    "answer": "N o t   a l l   A P I   r e s o u r c e   t y p e s   s u p p o r t   K u b e r n e t e s '   P r o t o b u f   e n c o d i n g ;   s p e c i f i c a l l y ,   P r o t o b u f   i s n ' t   a v a i l a b l e   f o r   r e s o u r c e s   t h a t   a r e   d e f i n e d   a s   C u s t o m R e s o u r c e D e f i n i t i o n s   o r   a r e   s e r v e d   v i a   t h e   a g g r e g a t i o n   l a y e r .   A s   a   c l i e n t ,   i f   y o u   m i g h t   n e e d   t o   w o r k   w i t h   e x t e n s i o n   t y p e s   y o u   s h o u l d   s p e c i f y   m u l t i p l e   c o n t e n t   t y p e s   i n   t h e   r e q u e s t   A c c e p t   h e a d e r   t o   s u p p o r t   f a l l b a c k   t o   J S O N .   F o r   e x a m p l e :   A c c e p t :   a p p l i c a t i o n / v n d . k u b e r n e t e s . p r o t o b u f ,   a p p l i c a t i o n / j s o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_4_15628"
  },
  {
    "question": "What is CBOR resource encoding?",
    "answer": "W i t h   t h e   C B O R S e r v i n g A n d S t o r a g e   f e a t u r e   g a t e   e n a b l e d ,   r e q u e s t   a n d   r e s p o n s e   b o d i e s   f o r   a l l   b u i l t - i n   r e s o u r c e   t y p e s   a n d   a l l   r e s o u r c e s   d e f i n e d   b y   a   C u s t o m R e s o u r c e D e f i n i t i o n   m a y   b e   e n c o d e d   t o   t h e   C B O R   b i n a r y   d a t a   f o r m a t .   C B O R   i s   a l s o   s u p p o r t e d   a t   t h e   a g g r e g a t i o n   l a y e r   i f   i t   i s   e n a b l e d   i n   i n d i v i d u a l   a g g r e g a t e d   A P I   s e r v e r s .   C l i e n t s   s h o u l d   i n d i c a t e   t h e   I A N A   m e d i a   t y p e   a p p l i c a t i o n / c b o r   i n   t h e   C o n t e n t - T y p e   H T T P   r e q u e s t   h e a d e r   w h e n   t h e   r e q u e s t   b o d y   c o n t a i n s   a   s i n g l e   C B O R   e n c o d e d   d a t a   i t e m ,   a n d   i n   t h e   A c c e p t   H T T P   r e q u e s t   h e a d e r   w h e n   p r e p a r e d   t o   a c c e p t   a   C B O R   e n c o d e d   d a t a   i t e m   i n   t h e   r e s p o n s e .   A P I   s e r v e r s   w i l l   u s e   a p p l i c a t i o n / c b o r   i n   t h e   C o n t e n t - T y p e   H T T P   r e s p o n s e   h e a d e r   w h e n   t h e   r e s p o n s e   b o d y   c o n t a i n s   a   C B O R - e n c o d e d   o b j e c t .   I f   a n   A P I   s e r v e r   e n c o d e s   i t s   r e s p o n s e   t o   a   w a t c h   r e q u e s t   u s i n g   C B O R ,   t h e   r e s p o n s e   b o d y   w i l l   b e   a   C B O R   S e q u e n c e   a n d   t h e   C o n t e n t - T y p e   H T T P   r e s p o n s e   h e a d e r   w i l l   u s e   t h e   I A N A   m e d i a   t y p e   a p p l i c a t i o n / c b o r - s e q .   E a c h   e n t r y   o f   t h e   s e q u e n c e   ( i f   a n y )   i s   a   s i n g l e   C B O R - e n c o d e d   w a t c h   e v e n t .   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_3_15629"
  },
  {
    "question": "What is Efficient detection of changes?",
    "answer": "T h e   K u b e r n e t e s   A P I   a l l o w s   c l i e n t s   t o   m a k e   a n   i n i t i a l   r e q u e s t   f o r   a n   o b j e c t   o r   a   c o l l e c t i o n ,   a n d   t h e n   t o   t r a c k   c h a n g e s   s i n c e   t h a t   i n i t i a l   r e q u e s t :   a   w a t c h .   C l i e n t s   c a n   s e n d   a   l i s t   o r   a   g e t   a n d   t h e n   m a k e   a   f o l l o w - u p   w a t c h   r e q u e s t .   T o   m a k e   t h i s   c h a n g e   t r a c k i n g   p o s s i b l e ,   e v e r y   K u b e r n e t e s   o b j e c t   h a s   a   r e s o u r c e V e r s i o n   f i e l d   r e p r e s e n t i n g   t h e   v e r s i o n   o f   t h a t   r e s o u r c e   a s   s t o r e d   i n   t h e   u n d e r l y i n g   p e r s i s t e n c e   l a y e r .   W h e n   r e t r i e v i n g   a   c o l l e c t i o n   o f   r e s o u r c e s   ( e i t h e r   n a m e s p a c e   o r   c l u s t e r   s c o p e d ) ,   t h e   r e s p o n s e   f r o m   t h e   A P I   s e r v e r   c o n t a i n s   a   r e s o u r c e V e r s i o n   v a l u e .   T h e   c l i e n t   c a n   u s e   t h a t   r e s o u r c e V e r s i o n   t o   i n i t i a t e   a   w a t c h   a g a i n s t   t h e   A P I   s e r v e r .   W h e n   y o u   s e n d   a   w a t c h   r e q u e s t ,   t h e   A P I   s e r v e r   r e s p o n d s   w i t h   a   s t r e a m   o f   c h a n g e s .   T h e s e   c h a n g e s   i t e m i z e   t h e   o u t c o m e   o f   o p e r a t i o n s   ( s u c h   a s   c r e a t e ,   d e l e t e ,   a n d   u p d a t e )   t h a t   o c c u r r e d   a f t e r   t h e   r e s o u r c e V e r s i o n   y o u   s p e c i f i e d   a s   a   p a r a m e t e r   t o   t h e   w a t c h   r e q u e s t .   T h e   o v e r a l l   w a t c h   m e c h a n i s m   a l l o w s   a   c l i e n t   t o   f e t c h   t h e   c u r r e n t   s t a t e   a n d   t h e n   s u b s c r i b e   t o   s u b s e q u e n t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_2_15630"
  },
  {
    "question": "What is Watch bookmarks?",
    "answer": "T o   m i t i g a t e   t h e   i m p a c t   o f   s h o r t   h i s t o r y   w i n d o w ,   t h e   K u b e r n e t e s   A P I   p r o v i d e s   a   w a t c h   e v e n t   n a m e d   B O O K M A R K .   I t   i s   a   s p e c i a l   k i n d   o f   e v e n t   t o   m a r k   t h a t   a l l   c h a n g e s   u p   t o   a   g i v e n   r e s o u r c e V e r s i o n   t h e   c l i e n t   i s   r e q u e s t i n g   h a v e   a l r e a d y   b e e n   s e n t .   T h e   d o c u m e n t   r e p r e s e n t i n g   t h e   B O O K M A R K   e v e n t   i s   o f   t h e   t y p e   r e q u e s t e d   b y   t h e   r e q u e s t ,   b u t   o n l y   i n c l u d e s   a   . m e t a d a t a . r e s o u r c e V e r s i o n   f i e l d .   F o r   e x a m p l e :   G E T   / a p i / v 1 / n a m e s p a c e s / t e s t / p o d s ? w a t c h = 1 & r e s o u r c e V e r s i o n = 1 0 2 4 5 & a l l o w W a t c h B o o k m a r k s = t r u e   - - -   2 0 0   O K   T r a n s f e r - E n c o d i n g :   c h u n k e d   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n   {   \" t y p e \" :   \" A D D E D \" ,   \" o b j e c t \" :   { \" k i n d \" :   \" P o d \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   { \" r e s o u r c e V e r s i o n \" :   \" 1 0 5 9 6 \" ,   . . . } ,   . . . }   }   . . .   {   \" t y p e \" :   \" B O O K M A R K \" ,   \" o b j e c t \" :   { \" k i n d \" :   \" P o d \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   { \" r e s o u r c e V e r s i o n \" :   \" 1 2 7 4 6 \" }   }   }   A s   a   c l i e n t ,   y o u   c a n   r e q u e s t   B O O K M A R K   e v e n t s   b y   s e t t i n g   t h e   a l l o w W a t c h B o o k m a r k s = t r u e   q u e r y   p a r a m e t e r   t o   a   w a t c h   r e q u e s t ,   b u t   y o u   s h o u l d n ' t   a s s u m e   b o o k m a r k s   a r e   r e t u r n e d   a t   a n y   s p e c i f i c   i n t e r v a l ,   n o r   c a n   c l i e n t s   a s s u ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_3_15631"
  },
  {
    "question": "What is Streaming lists?",
    "answer": "O n   l a r g e   c l u s t e r s ,   r e t r i e v i n g   t h e   c o l l e c t i o n   o f   s o m e   r e s o u r c e   t y p e s   m a y   r e s u l t   i n   a   s i g n i f i c a n t   i n c r e a s e   o f   r e s o u r c e   u s a g e   ( p r i m a r i l y   R A M )   o n   t h e   c o n t r o l   p l a n e .   T o   a l l e v i a t e   t h e   i m p a c t   a n d   s i m p l i f y   t h e   u s e r   e x p e r i e n c e   o f   t h e   l i s t   +   w a t c h   p a t t e r n ,   K u b e r n e t e s   v 1 . 3 2   p r o m o t e s   t o   b e t a   t h e   f e a t u r e   t h a t   a l l o w s   r e q u e s t i n g   t h e   i n i t i a l   s t a t e   ( p r e v i o u s l y   r e q u e s t e d   v i a   t h e   l i s t   r e q u e s t )   a s   p a r t   o f   t h e   w a t c h   r e q u e s t .   O n   t h e   c l i e n t - s i d e   t h e   i n i t i a l   s t a t e   c a n   b e   r e q u e s t e d   b y   s p e c i f y i n g   s e n d I n i t i a l E v e n t s = t r u e   a s   q u e r y   s t r i n g   p a r a m e t e r   i n   a   w a t c h   r e q u e s t .   I f   s e t ,   t h e   A P I   s e r v e r   s t a r t s   t h e   w a t c h   s t r e a m   w i t h   s y n t h e t i c   i n i t   e v e n t s   ( o f   t y p e   A D D E D )   t o   b u i l d   t h e   w h o l e   s t a t e   o f   a l l   e x i s t i n g   o b j e c t s   f o l l o w e d   b y   a   B O O K M A R K   e v e n t   ( i f   r e q u e s t e d   v i a   a l l o w W a t c h B o o k m a r k s = t r u e   o p t i o n ) .   T h e   b o o k m a r k   e v e n t   i n c l u d e s   t h e   r e s o u r c e   v e r s i o n   t o   w h i c h   i s   s y n c e d .   A f t e r   s e n d i n g   t h e   b o o k m a r k   e v e n t ,   t h e   A P I   s e r v e r   c o n t i n u e s   a s   f o r   a n y   o t h e r   w a t c h   r e q u e s t .   W h e n   y o u   s e t   s e n d I n i t i a l E v e n t s = t r u e   i n   t h e   q u e r y   s t r i n g ,   K u b e r n e t e s   a l s o   r e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_2_15632"
  },
  {
    "question": "What is Example?",
    "answer": "A n   e x a m p l e :   y o u   w a n t   t o   w a t c h   a   c o l l e c t i o n   o f   P o d s .   F o r   t h a t   c o l l e c t i o n ,   t h e   c u r r e n t   r e s o u r c e   v e r s i o n   i s   1 0 2 4 5   a n d   t h e r e   a r e   t w o   p o d s :   f o o   a n d   b a r .   T h e n   s e n d i n g   t h e   f o l l o w i n g   r e q u e s t   ( e x p l i c i t l y   r e q u e s t i n g   c o n s i s t e n t   r e a d   b y   s e t t i n g   e m p t y   r e s o u r c e   v e r s i o n   u s i n g   r e s o u r c e V e r s i o n = )   c o u l d   r e s u l t   i n   t h e   f o l l o w i n g   s e q u e n c e   o f   e v e n t s :   G E T   / a p i / v 1 / n a m e s p a c e s / t e s t / p o d s ? w a t c h = 1 & s e n d I n i t i a l E v e n t s = t r u e & a l l o w W a t c h B o o k m a r k s = t r u e & r e s o u r c e V e r s i o n = & r e s o u r c e V e r s i o n M a t c h = N o t O l d e r T h a n   - - -   2 0 0   O K   T r a n s f e r - E n c o d i n g :   c h u n k e d   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n   {   \" t y p e \" :   \" A D D E D \" ,   \" o b j e c t \" :   { \" k i n d \" :   \" P o d \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   { \" r e s o u r c e V e r s i o n \" :   \" 8 4 6 7 \" ,   \" n a m e \" :   \" f o o \" } ,   . . . }   }   {   \" t y p e \" :   \" A D D E D \" ,   \" o b j e c t \" :   { \" k i n d \" :   \" P o d \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   { \" r e s o u r c e V e r s i o n \" :   \" 5 7 2 6 \" ,   \" n a m e \" :   \" b a r \" } ,   . . . }   }   {   \" t y p e \" :   \" B O O K M A R K \" ,   \" o b j e c t \" :   { \" k i n d \" :   \" P o d \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   { \" r e s o u r c e V e r s i o n \" :   \" 1 0 2 4 5 \" }   }   }   . . .   < f o l l o w e d   b y   r e g u l a r   w a t c h   s t r e a m   s t a r t i n g   f r o m   r e s o u r c e V e r s i o n = \" 1 0 2 4 5 \" >",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_3_15633"
  },
  {
    "question": "What is Response compression?",
    "answer": "A P I R e s p o n s e C o m p r e s s i o n   i s   a n   o p t i o n   t h a t   a l l o w s   t h e   A P I   s e r v e r   t o   c o m p r e s s   t h e   r e s p o n s e s   f o r   g e t   a n d   l i s t   r e q u e s t s ,   r e d u c i n g   t h e   n e t w o r k   b a n d w i d t h   a n d   i m p r o v i n g   t h e   p e r f o r m a n c e   o f   l a r g e - s c a l e   c l u s t e r s .   I t   i s   e n a b l e d   b y   d e f a u l t   s i n c e   K u b e r n e t e s   1 . 1 6   a n d   i t   c a n   b e   d i s a b l e d   b y   i n c l u d i n g   A P I R e s p o n s e C o m p r e s s i o n = f a l s e   i n   t h e   - - f e a t u r e - g a t e s   f l a g   o n   t h e   A P I   s e r v e r .   A P I   r e s p o n s e   c o m p r e s s i o n   c a n   s i g n i f i c a n t l y   r e d u c e   t h e   s i z e   o f   t h e   r e s p o n s e ,   e s p e c i a l l y   f o r   l a r g e   r e s o u r c e s   o r   c o l l e c t i o n s .   F o r   e x a m p l e ,   a   l i s t   r e q u e s t   f o r   p o d s   c a n   r e t u r n   h u n d r e d s   o f   k i l o b y t e s   o r   e v e n   m e g a b y t e s   o f   d a t a ,   d e p e n d i n g   o n   t h e   n u m b e r   o f   p o d s   a n d   t h e i r   a t t r i b u t e s .   B y   c o m p r e s s i n g   t h e   r e s p o n s e ,   t h e   n e t w o r k   b a n d w i d t h   c a n   b e   s a v e d   a n d   t h e   l a t e n c y   c a n   b e   r e d u c e d .   T o   v e r i f y   i f   A P I R e s p o n s e C o m p r e s s i o n   i s   w o r k i n g ,   y o u   c a n   s e n d   a   g e t   o r   l i s t   r e q u e s t   t o   t h e   A P I   s e r v e r   w i t h   a n   A c c e p t - E n c o d i n g   h e a d e r ,   a n d   c h e c k   t h e   r e s p o n s e   s i z e   a n d   h e a d e r s .   F o r   e x a m p l e :   G E T   / a p i / v 1 / p o d s   A c c e p t - E n c o d i n g :   g z i p   - - -   2 0 0   O K   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n   c ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_2_15634"
  },
  {
    "question": "What is Retrieving large results sets in chunks?",
    "answer": "O n   l a r g e   c l u s t e r s ,   r e t r i e v i n g   t h e   c o l l e c t i o n   o f   s o m e   r e s o u r c e   t y p e s   m a y   r e s u l t   i n   v e r y   l a r g e   r e s p o n s e s   t h a t   c a n   i m p a c t   t h e   s e r v e r   a n d   c l i e n t .   F o r   i n s t a n c e ,   a   c l u s t e r   m a y   h a v e   t e n s   o f   t h o u s a n d s   o f   P o d s ,   e a c h   o f   w h i c h   i s   e q u i v a l e n t   t o   r o u g h l y   2   K i B   o f   e n c o d e d   J S O N .   R e t r i e v i n g   a l l   p o d s   a c r o s s   a l l   n a m e s p a c e s   m a y   r e s u l t   i n   a   v e r y   l a r g e   r e s p o n s e   ( 1 0 - 2 0 M B )   a n d   c o n s u m e   a   l a r g e   a m o u n t   o f   s e r v e r   r e s o u r c e s .   T h e   K u b e r n e t e s   A P I   s e r v e r   s u p p o r t s   t h e   a b i l i t y   t o   b r e a k   a   s i n g l e   l a r g e   c o l l e c t i o n   r e q u e s t   i n t o   m a n y   s m a l l e r   c h u n k s   w h i l e   p r e s e r v i n g   t h e   c o n s i s t e n c y   o f   t h e   t o t a l   r e q u e s t .   E a c h   c h u n k   c a n   b e   r e t u r n e d   s e q u e n t i a l l y   w h i c h   r e d u c e s   b o t h   t h e   t o t a l   s i z e   o f   t h e   r e q u e s t   a n d   a l l o w s   u s e r - o r i e n t e d   c l i e n t s   t o   d i s p l a y   r e s u l t s   i n c r e m e n t a l l y   t o   i m p r o v e   r e s p o n s i v e n e s s .   Y o u   c a n   r e q u e s t   t h a t   t h e   A P I   s e r v e r   h a n d l e s   a   l i s t   b y   s e r v i n g   s i n g l e   c o l l e c t i o n   u s i n g   p a g e s   ( w h i c h   K u b e r n e t e s   c a l l s   c h u n k s ) .   T o   r e t r i e v e   a   s i n g l e   c o l l e c t i o n   i n   c h u n k s ,   t w o   q u e r y   p a r a m e t e r s   l i m i t   a n d   c o n t i n u e   a r e   s u p p o r t e d   o n   r e q u e s t s   a g a i n s t   c o l l e c ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_2_15635"
  },
  {
    "question": "What is Collections?",
    "answer": "I n   K u b e r n e t e s   t e r m i n o l o g y ,   t h e   r e s p o n s e   y o u   g e t   f r o m   a   l i s t   i s   a   c o l l e c t i o n .   H o w e v e r ,   K u b e r n e t e s   d e f i n e s   c o n c r e t e   k i n d s   f o r   c o l l e c t i o n s   o f   d i f f e r e n t   t y p e s   o f   r e s o u r c e .   C o l l e c t i o n s   h a v e   a   k i n d   n a m e d   f o r   t h e   r e s o u r c e   k i n d ,   w i t h   L i s t   a p p e n d e d .   W h e n   y o u   q u e r y   t h e   A P I   f o r   a   p a r t i c u l a r   t y p e ,   a l l   i t e m s   r e t u r n e d   b y   t h a t   q u e r y   a r e   o f   t h a t   t y p e .   F o r   e x a m p l e ,   w h e n   y o u   l i s t   S e r v i c e s ,   t h e   c o l l e c t i o n   r e s p o n s e   h a s   k i n d   s e t   t o   S e r v i c e L i s t ;   e a c h   i t e m   i n   t h a t   c o l l e c t i o n   r e p r e s e n t s   a   s i n g l e   S e r v i c e .   F o r   e x a m p l e :   G E T   / a p i / v 1 / s e r v i c e s   {   \" k i n d \" :   \" S e r v i c e L i s t \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   {   \" r e s o u r c e V e r s i o n \" :   \" 2 9 4 7 3 0 1 \"   } ,   \" i t e m s \" :   [   {   \" m e t a d a t a \" :   {   \" n a m e \" :   \" k u b e r n e t e s \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \" ,   . . .   \" m e t a d a t a \" :   {   \" n a m e \" :   \" k u b e - d n s \" ,   \" n a m e s p a c e \" :   \" k u b e - s y s t e m \" ,   . . .   T h e r e   a r e   d o z e n s   o f   c o l l e c t i o n   t y p e s   ( s u c h   a s   P o d L i s t ,   S e r v i c e L i s t ,   a n d   N o d e L i s t )   d e f i n e d   i n   t h e   K u b e r n e t e s   A P I .   Y o u   c a n   g e t   m o r e   i n f o r m a t i o n   a b o u t   e a c h   c o l l e c t i o n   t y p e   f r o m   t h e   K u b e r n e t e s   A P I   d o c u m e n t a t i o n .   S o m e   t o o l s ,   s u c h   a s   k u b e c t l ,   r e p r e s e n t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_2_15636"
  },
  {
    "question": "What is Note:?",
    "answer": "K e e p   i n   m i n d   t h a t   t h e   K u b e r n e t e s   A P I   d o e s   n o t   h a v e   a   k i n d   n a m e d   L i s t .   k i n d :   L i s t   i s   a   c l i e n t - s i d e ,   i n t e r n a l   i m p l e m e n t a t i o n   d e t a i l   f o r   p r o c e s s i n g   c o l l e c t i o n s   t h a t   m i g h t   b e   o f   d i f f e r e n t   k i n d s   o f   o b j e c t .   A v o i d   d e p e n d i n g   o n   k i n d :   L i s t   i n   a u t o m a t i o n   o r   o t h e r   c o d e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_4_15637"
  },
  {
    "question": "What is Receiving resources as Tables?",
    "answer": "W h e n   y o u   r u n   k u b e c t l   g e t ,   t h e   d e f a u l t   o u t p u t   f o r m a t   i s   a   s i m p l e   t a b u l a r   r e p r e s e n t a t i o n   o f   o n e   o r   m o r e   i n s t a n c e s   o f   a   p a r t i c u l a r   r e s o u r c e   t y p e .   I n   t h e   p a s t ,   c l i e n t s   w e r e   r e q u i r e d   t o   r e p r o d u c e   t h e   t a b u l a r   a n d   d e s c r i b e   o u t p u t   i m p l e m e n t e d   i n   k u b e c t l   t o   p e r f o r m   s i m p l e   l i s t s   o f   o b j e c t s .   A   f e w   l i m i t a t i o n s   o f   t h a t   a p p r o a c h   i n c l u d e   n o n - t r i v i a l   l o g i c   w h e n   d e a l i n g   w i t h   c e r t a i n   o b j e c t s .   A d d i t i o n a l l y ,   t y p e s   p r o v i d e d   b y   A P I   a g g r e g a t i o n   o r   t h i r d   p a r t y   r e s o u r c e s   a r e   n o t   k n o w n   a t   c o m p i l e   t i m e .   T h i s   m e a n s   t h a t   g e n e r i c   i m p l e m e n t a t i o n s   h a d   t o   b e   i n   p l a c e   f o r   t y p e s   u n r e c o g n i z e d   b y   a   c l i e n t .   I n   o r d e r   t o   a v o i d   p o t e n t i a l   l i m i t a t i o n s   a s   d e s c r i b e d   a b o v e ,   c l i e n t s   m a y   r e q u e s t   t h e   T a b l e   r e p r e s e n t a t i o n   o f   o b j e c t s ,   d e l e g a t i n g   s p e c i f i c   d e t a i l s   o f   p r i n t i n g   t o   t h e   s e r v e r .   T h e   K u b e r n e t e s   A P I   i m p l e m e n t s   s t a n d a r d   H T T P   c o n t e n t   t y p e   n e g o t i a t i o n :   p a s s i n g   a n   A c c e p t   h e a d e r   c o n t a i n i n g   a   v a l u e   o f   a p p l i c a t i o n / j s o n ; a s = T a b l e ; g = m e t a . k 8 s . i o ; v = v 1   w i t h   a   G E T   c a l l   w i l l   r e q u e s t   t h a t   t h e   s e r v e r   r e t u r n   o b j e c t s   i n   t h e   T a b l e   c o n t e n t   t y p e .   F o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_2_15638"
  },
  {
    "question": "What is Resource deletion?",
    "answer": "W h e n   y o u   d e l e t e   a   r e s o u r c e   t h i s   t a k e s   p l a c e   i n   t w o   p h a s e s .   f i n a l i z a t i o n r e m o v a l   {   \" k i n d \" :   \" C o n f i g M a p \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   {   \" f i n a l i z e r s \" :   [ \" u r l . i o / n e a t - f i n a l i z a t i o n \" ,   \" o t h e r - u r l . i o / m y - f i n a l i z e r \" ] ,   \" d e l e t i o n T i m e s t a m p \" :   n i l ,   }   }   W h e n   a   c l i e n t   f i r s t   s e n d s   a   d e l e t e   t o   r e q u e s t   t h e   r e m o v a l   o f   a   r e s o u r c e ,   t h e   . m e t a d a t a . d e l e t i o n T i m e s t a m p   i s   s e t   t o   t h e   c u r r e n t   t i m e .   O n c e   t h e   . m e t a d a t a . d e l e t i o n T i m e s t a m p   i s   s e t ,   e x t e r n a l   c o n t r o l l e r s   t h a t   a c t   o n   f i n a l i z e r s   m a y   s t a r t   p e r f o r m i n g   t h e i r   c l e a n u p   w o r k   a t   a n y   t i m e ,   i n   a n y   o r d e r .   O r d e r   i s   n o t   e n f o r c e d   b e t w e e n   f i n a l i z e r s   b e c a u s e   i t   w o u l d   i n t r o d u c e   s i g n i f i c a n t   r i s k   o f   s t u c k   . m e t a d a t a . f i n a l i z e r s .   T h e   . m e t a d a t a . f i n a l i z e r s   f i e l d   i s   s h a r e d :   a n y   a c t o r   w i t h   p e r m i s s i o n   c a n   r e o r d e r   i t .   I f   t h e   f i n a l i z e r   l i s t   w e r e   p r o c e s s e d   i n   o r d e r ,   t h e n   t h i s   m i g h t   l e a d   t o   a   s i t u a t i o n   i n   w h i c h   t h e   c o m p o n e n t   r e s p o n s i b l e   f o r   t h e   f i r s t   f i n a l i z e r   i n   t h e   l i s t   i s   w a i t i n g   f o r   s o m e   s i g n a l   ( f i e l d   v a l u e ,   e x t e r n a l   s y s t e m ,   o r   o t h e r )   p r o d u c e d   b y   a   c o m p o n e n t   r e s p o n s i b l e   f o r   a   f i n a l i z e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_2_15639"
  },
  {
    "question": "What is Caution:?",
    "answer": "B y   e n a b l i n g   t h e   d e l e t e   o p t i o n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l ,   t h e   u s e r   c a n   p e r f o r m   a n   u n s a f e   f o r c e   d e l e t e   o p e r a t i o n   o f   a n   u n d e c r y p t a b l e / c o r r u p t   r e s o u r c e .   T h i s   o p t i o n   i s   b e h i n d   a n   A L P H A   f e a t u r e   g a t e ,   a n d   i t   i s   d i s a b l e d   b y   d e f a u l t .   I n   o r d e r   t o   u s e   t h i s   o p t i o n ,   t h e   c l u s t e r   o p e r a t o r   m u s t   e n a b l e   t h e   f e a t u r e   b y   s e t t i n g   t h e   c o m m a n d   l i n e   o p t i o n   - - f e a t u r e - g a t e s = A l l o w U n s a f e M a l f o r m e d O b j e c t D e l e t i o n = t r u e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_4_15640"
  },
  {
    "question": "What is Note:?",
    "answer": "A   r e s o u r c e   i s   c o n s i d e r e d   c o r r u p t   i f   i t   c a n   n o t   b e   s u c c e s s f u l l y   r e t r i e v e d   f r o m   t h e   s t o r a g e   d u e   t o :   t r a n s f o r m a t i o n   e r r o r   ( f o r   e x a m p l e :   d e c r y p t i o n   f a i l u r e ) ,   o r t h e   o b j e c t   f a i l e d   t o   d e c o d e .   T h e   A P I   s e r v e r   f i r s t   a t t e m p t s   a   n o r m a l   d e l e t i o n ,   a n d   i f   i t   f a i l s   w i t h   a   c o r r u p t   r e s o u r c e   e r r o r   t h e n   i t   t r i g g e r s   t h e   f o r c e   d e l e t e .   A   f o r c e   d e l e t e   o p e r a t i o n   i s   u n s a f e   b e c a u s e   i t   i g n o r e s   f i n a l i z e r   c o n s t r a i n t s ,   a n d   s k i p s   p r e c o n d i t i o n   c h e c k s .   T h e   d e f a u l t   v a l u e   f o r   t h i s   o p t i o n   i s   f a l s e ,   t h i s   m a i n t a i n s   b a c k w a r d   c o m p a t i b i l i t y .   F o r   a   d e l e t e   r e q u e s t   w i t h   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   s e t   t o   t r u e ,   t h e   f i e l d s   d r y R u n ,   g r a c e P e r i o d S e c o n d s ,   o r p h a n D e p e n d e n t s ,   p r e c o n d i t i o n s ,   a n d   p r o p a g a t i o n P o l i c y   m u s t   b e   l e f t   u n s e t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_4_15641"
  },
  {
    "question": "What is Single resource API?",
    "answer": "T h e   K u b e r n e t e s   A P I   v e r b s   g e t ,   c r e a t e ,   u p d a t e ,   p a t c h ,   d e l e t e   a n d   p r o x y   s u p p o r t   s i n g l e   r e s o u r c e s   o n l y .   T h e s e   v e r b s   w i t h   s i n g l e   r e s o u r c e   s u p p o r t   h a v e   n o   s u p p o r t   f o r   s u b m i t t i n g   m u l t i p l e   r e s o u r c e s   t o g e t h e r   i n   a n   o r d e r e d   o r   u n o r d e r e d   l i s t   o r   t r a n s a c t i o n .   W h e n   c l i e n t s   ( i n c l u d i n g   k u b e c t l )   a c t   o n   a   s e t   o f   r e s o u r c e s ,   t h e   c l i e n t   m a k e s   a   s e r i e s   o f   s i n g l e - r e s o u r c e   A P I   r e q u e s t s ,   t h e n   a g g r e g a t e s   t h e   r e s p o n s e s   i f   n e e d e d .   B y   c o n t r a s t ,   t h e   K u b e r n e t e s   A P I   v e r b s   l i s t   a n d   w a t c h   a l l o w   g e t t i n g   m u l t i p l e   r e s o u r c e s ,   a n d   d e l e t e c o l l e c t i o n   a l l o w s   d e l e t i n g   m u l t i p l e   r e s o u r c e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_2_15642"
  },
  {
    "question": "What is Field validation?",
    "answer": "K u b e r n e t e s   a l w a y s   v a l i d a t e s   t h e   t y p e   o f   f i e l d s .   F o r   e x a m p l e ,   i f   a   f i e l d   i n   t h e   A P I   i s   d e f i n e d   a s   a   n u m b e r ,   y o u   c a n n o t   s e t   t h e   f i e l d   t o   a   t e x t   v a l u e .   I f   a   f i e l d   i s   d e f i n e d   a s   a n   a r r a y   o f   s t r i n g s ,   y o u   c a n   o n l y   p r o v i d e   a n   a r r a y .   S o m e   f i e l d s   a l l o w   y o u   t o   o m i t   t h e m ,   o t h e r   f i e l d s   a r e   r e q u i r e d .   O m i t t i n g   a   r e q u i r e d   f i e l d   f r o m   a n   A P I   r e q u e s t   i s   a n   e r r o r .   I f   y o u   m a k e   a   r e q u e s t   w i t h   a n   e x t r a   f i e l d ,   o n e   t h a t   t h e   c l u s t e r ' s   c o n t r o l   p l a n e   d o e s   n o t   r e c o g n i z e ,   t h e n   t h e   b e h a v i o r   o f   t h e   A P I   s e r v e r   i s   m o r e   c o m p l i c a t e d .   B y   d e f a u l t ,   t h e   A P I   s e r v e r   d r o p s   f i e l d s   t h a t   i t   d o e s   n o t   r e c o g n i z e   f r o m   a n   i n p u t   t h a t   i t   r e c e i v e s   ( f o r   e x a m p l e ,   t h e   J S O N   b o d y   o f   a   P U T   r e q u e s t ) .   T h e r e   a r e   t w o   s i t u a t i o n s   w h e r e   t h e   A P I   s e r v e r   d r o p s   f i e l d s   t h a t   y o u   s u p p l i e d   i n   a n   H T T P   r e q u e s t .   T h e s e   s i t u a t i o n s   a r e :   T h e   f i e l d   i s   u n r e c o g n i z e d   b e c a u s e   i t   i s   n o t   i n   t h e   r e s o u r c e ' s   O p e n A P I   s c h e m a .   ( O n e   e x c e p t i o n   t o   t h i s   i s   f o r   C R D s   t h a t   e x p l i c i t l y   c h o o s e   n o t   t o   p r u n e   u n k n o w n   f i e l d s   v i a   x - k u b e r n e t e s - p r e s e r v e - u n k n o w n - f i e l d s ) . T h e   f i e l d   i s   d u p l i c a t e d   i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_2_15643"
  },
  {
    "question": "What is Validation for unrecognized or duplicate fields?",
    "answer": "F r o m   1 . 2 5   o n w a r d ,   u n r e c o g n i z e d   o r   d u p l i c a t e   f i e l d s   i n   a n   o b j e c t   a r e   d e t e c t e d   v i a   v a l i d a t i o n   o n   t h e   s e r v e r   w h e n   y o u   u s e   H T T P   v e r b s   t h a t   c a n   s u b m i t   d a t a   ( P O S T ,   P U T ,   a n d   P A T C H ) .   P o s s i b l e   l e v e l s   o f   v a l i d a t i o n   a r e   I g n o r e ,   W a r n   ( d e f a u l t ) ,   a n d   S t r i c t .   T h e   f i e l d   v a l i d a t i o n   l e v e l   i s   s e t   b y   t h e   f i e l d V a l i d a t i o n   q u e r y   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_3_15644"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   s u b m i t   a   r e q u e s t   t h a t   s p e c i f i e s   a n   u n r e c o g n i z e d   f i e l d ,   a n d   t h a t   i s   a l s o   i n v a l i d   f o r   a   d i f f e r e n t   r e a s o n   ( f o r   e x a m p l e ,   t h e   r e q u e s t   p r o v i d e s   a   s t r i n g   v a l u e   w h e r e   t h e   A P I   e x p e c t s   a n   i n t e g e r   f o r   a   k n o w n   f i e l d ) ,   t h e n   t h e   A P I   s e r v e r   r e s p o n d s   w i t h   a   4 0 0   B a d   R e q u e s t   e r r o r ,   b u t   w i l l   n o t   p r o v i d e   a n y   i n f o r m a t i o n   o n   u n k n o w n   o r   d u p l i c a t e   f i e l d s   ( o n l y   w h i c h   f a t a l   e r r o r   i t   e n c o u n t e r e d   f i r s t ) .   Y o u   a l w a y s   r e c e i v e   a n   e r r o r   r e s p o n s e   i n   t h i s   c a s e ,   n o   m a t t e r   w h a t   f i e l d   v a l i d a t i o n   l e v e l   y o u   r e q u e s t e d .   T o o l s   t h a t   s u b m i t   r e q u e s t s   t o   t h e   s e r v e r   ( s u c h   a s   k u b e c t l ) ,   m i g h t   s e t   t h e i r   o w n   d e f a u l t s   t h a t   a r e   d i f f e r e n t   f r o m   t h e   W a r n   v a l i d a t i o n   l e v e l   t h a t   t h e   A P I   s e r v e r   u s e s   b y   d e f a u l t .   T h e   k u b e c t l   t o o l   u s e s   t h e   - - v a l i d a t e   f l a g   t o   s e t   t h e   l e v e l   o f   f i e l d   v a l i d a t i o n .   I t   a c c e p t s   t h e   v a l u e s   i g n o r e ,   w a r n ,   a n d   s t r i c t   w h i l e   a l s o   a c c e p t i n g   t h e   v a l u e s   t r u e   ( e q u i v a l e n t   t o   s t r i c t )   a n d   f a l s e   ( e q u i v a l e n t   t o   i g n o r e ) .   T h e   d e f a u l t   v a l i d a t i o n   s e t t i n g   f o r   k u b e c t l   i s   - - v a l i d a t e = t r u e ,   w h i c h   m e a n s   s t r i c t   s e r v e r - s i d e   f i e l d   v a l i d a t i o n .   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_4_15645"
  },
  {
    "question": "What is Note:?",
    "answer": "S t a r t i n g   f r o m   v 1 . 3 3 ,   K u b e r n e t e s   ( i n c l u d i n g   v 1 . 3 4 )   o f f e r s   a   w a y   t o   d e f i n e   f i e l d   v a l i d a t i o n s   u s i n g   d e c l a r a t i v e   t a g s .   T h i s   i s   u s e f u l   f o r   p e o p l e   c o n t r i b u t i n g   t o   K u b e r n e t e s   i t s e l f ,   a n d   i t ' s   a l s o   r e l e v a n t   i f   y o u ' r e   w r i t i n g   y o u r   o w n   A P I   u s i n g   K u b e r n e t e s   l i b r a r i e s .   T o   l e a r n   m o r e ,   s e e   D e c l a r a t i v e   A P I   V a l i d a t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_4_15646"
  },
  {
    "question": "What is Dry-run?",
    "answer": "W h e n   y o u   u s e   H T T P   v e r b s   t h a t   c a n   m o d i f y   r e s o u r c e s   ( P O S T ,   P U T ,   P A T C H ,   a n d   D E L E T E ) ,   y o u   c a n   s u b m i t   y o u r   r e q u e s t   i n   a   d r y   r u n   m o d e .   D r y   r u n   m o d e   h e l p s   t o   e v a l u a t e   a   r e q u e s t   t h r o u g h   t h e   t y p i c a l   r e q u e s t   s t a g e s   ( a d m i s s i o n   c h a i n ,   v a l i d a t i o n ,   m e r g e   c o n f l i c t s )   u p   u n t i l   p e r s i s t i n g   o b j e c t s   t o   s t o r a g e .   T h e   r e s p o n s e   b o d y   f o r   t h e   r e q u e s t   i s   a s   c l o s e   a s   p o s s i b l e   t o   a   n o n - d r y - r u n   r e s p o n s e .   K u b e r n e t e s   g u a r a n t e e s   t h a t   d r y - r u n   r e q u e s t s   w i l l   n o t   b e   p e r s i s t e d   i n   s t o r a g e   o r   h a v e   a n y   o t h e r   s i d e   e f f e c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_2_15647"
  },
  {
    "question": "What is Make a dry-run request?",
    "answer": "D r y - r u n   i s   t r i g g e r e d   b y   s e t t i n g   t h e   d r y R u n   q u e r y   p a r a m e t e r .   T h i s   p a r a m e t e r   i s   a   s t r i n g ,   w o r k i n g   a s   a n   e n u m ,   a n d   t h e   o n l y   a c c e p t e d   v a l u e s   a r e :   W h e n   y o u   s e t   ? d r y R u n = A l l ,   a n y   r e l e v a n t   a d m i s s i o n   c o n t r o l l e r s   a r e   r u n ,   v a l i d a t i n g   a d m i s s i o n   c o n t r o l l e r s   c h e c k   t h e   r e q u e s t   p o s t - m u t a t i o n ,   m e r g e   i s   p e r f o r m e d   o n   P A T C H ,   f i e l d s   a r e   d e f a u l t e d ,   a n d   s c h e m a   v a l i d a t i o n   o c c u r s .   T h e   c h a n g e s   a r e   n o t   p e r s i s t e d   t o   t h e   u n d e r l y i n g   s t o r a g e ,   b u t   t h e   f i n a l   o b j e c t   w h i c h   w o u l d   h a v e   b e e n   p e r s i s t e d   i s   s t i l l   r e t u r n e d   t o   t h e   u s e r ,   a l o n g   w i t h   t h e   n o r m a l   s t a t u s   c o d e .   I f   t h e   n o n - d r y - r u n   v e r s i o n   o f   a   r e q u e s t   w o u l d   t r i g g e r   a n   a d m i s s i o n   c o n t r o l l e r   t h a t   h a s   s i d e   e f f e c t s ,   t h e   r e q u e s t   w i l l   b e   f a i l e d   r a t h e r   t h a n   r i s k   a n   u n w a n t e d   s i d e   e f f e c t .   A l l   b u i l t   i n   a d m i s s i o n   c o n t r o l   p l u g i n s   s u p p o r t   d r y - r u n .   A d d i t i o n a l l y ,   a d m i s s i o n   w e b h o o k s   c a n   d e c l a r e   i n   t h e i r   c o n f i g u r a t i o n   o b j e c t   t h a t   t h e y   d o   n o t   h a v e   s i d e   e f f e c t s ,   b y   s e t t i n g   t h e i r   s i d e E f f e c t s   f i e l d   t o   N o n e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_3_15648"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e   i s   a n   e x a m p l e   d r y - r u n   r e q u e s t   t h a t   u s e s   ? d r y R u n = A l l :   P O S T   / a p i / v 1 / n a m e s p a c e s / t e s t / p o d s ? d r y R u n = A l l   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n   A c c e p t :   a p p l i c a t i o n / j s o n   T h e   r e s p o n s e   w o u l d   l o o k   t h e   s a m e   a s   f o r   n o n - d r y - r u n   r e q u e s t ,   b u t   t h e   v a l u e s   o f   s o m e   g e n e r a t e d   f i e l d s   m a y   d i f f e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_4_15649"
  },
  {
    "question": "What is Generated values?",
    "answer": "S o m e   v a l u e s   o f   a n   o b j e c t   a r e   t y p i c a l l y   g e n e r a t e d   b e f o r e   t h e   o b j e c t   i s   p e r s i s t e d .   I t   i s   i m p o r t a n t   n o t   t o   r e l y   u p o n   t h e   v a l u e s   o f   t h e s e   f i e l d s   s e t   b y   a   d r y - r u n   r e q u e s t ,   s i n c e   t h e s e   v a l u e s   w i l l   l i k e l y   b e   d i f f e r e n t   i n   d r y - r u n   m o d e   f r o m   w h e n   t h e   r e a l   r e q u e s t   i s   m a d e .   S o m e   o f   t h e s e   f i e l d s   a r e :   n a m e :   i f   g e n e r a t e N a m e   i s   s e t ,   n a m e   w i l l   h a v e   a   u n i q u e   r a n d o m   n a m e c r e a t i o n T i m e s t a m p   /   d e l e t i o n T i m e s t a m p :   r e c o r d s   t h e   t i m e   o f   c r e a t i o n / d e l e t i o n U I D :   u n i q u e l y   i d e n t i f i e s   t h e   o b j e c t   a n d   i s   r a n d o m l y   g e n e r a t e d   ( n o n - d e t e r m i n i s t i c ) r e s o u r c e V e r s i o n :   t r a c k s   t h e   p e r s i s t e d   v e r s i o n   o f   t h e   o b j e c t A n y   f i e l d   s e t   b y   a   m u t a t i n g   a d m i s s i o n   c o n t r o l l e r F o r   t h e   S e r v i c e   r e s o u r c e :   P o r t s   o r   I P   a d d r e s s e s   t h a t   t h e   k u b e - a p i s e r v e r   a s s i g n s   t o   S e r v i c e   o b j e c t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_3_15650"
  },
  {
    "question": "What is Dry-run authorization?",
    "answer": "A u t h o r i z a t i o n   f o r   d r y - r u n   a n d   n o n - d r y - r u n   r e q u e s t s   i s   i d e n t i c a l .   T h u s ,   t o   m a k e   a   d r y - r u n   r e q u e s t ,   y o u   m u s t   b e   a u t h o r i z e d   t o   m a k e   t h e   n o n - d r y - r u n   r e q u e s t .   F o r   e x a m p l e ,   t o   r u n   a   d r y - r u n   p a t c h   f o r   a   D e p l o y m e n t ,   y o u   m u s t   b e   a u t h o r i z e d   t o   p e r f o r m   t h a t   p a t c h .   H e r e   i s   a n   e x a m p l e   o f   a   r u l e   f o r   K u b e r n e t e s   R B A C   t h a t   a l l o w s   p a t c h i n g   D e p l o y m e n t s :   r u l e s :   -   a p i G r o u p s :   [ \" a p p s \" ]   r e s o u r c e s :   [ \" d e p l o y m e n t s \" ]   v e r b s :   [ \" p a t c h \" ]   S e e   A u t h o r i z a t i o n   O v e r v i e w .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_3_15651"
  },
  {
    "question": "What is Updates to existing resources?",
    "answer": "K u b e r n e t e s   p r o v i d e s   s e v e r a l   w a y s   t o   u p d a t e   e x i s t i n g   o b j e c t s .   Y o u   c a n   r e a d   c h o o s i n g   a n   u p d a t e   m e c h a n i s m   t o   l e a r n   a b o u t   w h i c h   a p p r o a c h   m i g h t   b e   b e s t   f o r   y o u r   u s e   c a s e .   Y o u   c a n   o v e r w r i t e   ( u p d a t e )   a n   e x i s t i n g   r e s o u r c e   -   f o r   e x a m p l e ,   a   C o n f i g M a p   -   u s i n g   a n   H T T P   P U T .   F o r   a   P U T   r e q u e s t ,   i t   i s   t h e   c l i e n t ' s   r e s p o n s i b i l i t y   t o   s p e c i f y   t h e   r e s o u r c e V e r s i o n   ( t a k i n g   t h i s   f r o m   t h e   o b j e c t   b e i n g   u p d a t e d ) .   K u b e r n e t e s   u s e s   t h a t   r e s o u r c e V e r s i o n   i n f o r m a t i o n   s o   t h a t   t h e   A P I   s e r v e r   c a n   d e t e c t   l o s t   u p d a t e s   a n d   r e j e c t   r e q u e s t s   m a d e   b y   a   c l i e n t   t h a t   i s   o u t   o f   d a t e   w i t h   t h e   c l u s t e r .   I n   t h e   e v e n t   t h a t   t h e   r e s o u r c e   h a s   c h a n g e d   ( t h e   r e s o u r c e V e r s i o n   t h e   c l i e n t   p r o v i d e d   i s   s t a l e ) ,   t h e   A P I   s e r v e r   r e t u r n s   a   4 0 9   C o n f l i c t   e r r o r   r e s p o n s e .   I n s t e a d   o f   s e n d i n g   a   P U T   r e q u e s t ,   t h e   c l i e n t   c a n   s e n d   a n   i n s t r u c t i o n   t o   t h e   A P I   s e r v e r   t o   p a t c h   a n   e x i s t i n g   r e s o u r c e .   A   p a t c h   i s   t y p i c a l l y   a p p r o p r i a t e   i f   t h e   c h a n g e   t h a t   t h e   c l i e n t   w a n t s   t o   m a k e   i s n ' t   c o n d i t i o n a l   o n   t h e   e x i s t i n g   d a t a .   C l i e n t s   t h a t   n e e d   e f f e c t i v e   d e t e c t i o n   o f   l o s t   u p d a t e s   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_2_15652"
  },
  {
    "question": "What is Note:?",
    "answer": "K u b e r n e t e s '   S e r v e r   S i d e   A p p l y   f e a t u r e   a l l o w s   t h e   c o n t r o l   p l a n e   t o   t r a c k   m a n a g e d   f i e l d s   f o r   n e w l y   c r e a t e d   o b j e c t s .   S e r v e r   S i d e   A p p l y   p r o v i d e s   a   c l e a r   p a t t e r n   f o r   m a n a g i n g   f i e l d   c o n f l i c t s ,   o f f e r s   s e r v e r - s i d e   a p p l y   a n d   u p d a t e   o p e r a t i o n s ,   a n d   r e p l a c e s   t h e   c l i e n t - s i d e   f u n c t i o n a l i t y   o f   k u b e c t l   a p p l y .   F o r   S e r v e r - S i d e   A p p l y ,   K u b e r n e t e s   t r e a t s   t h e   r e q u e s t   a s   a   c r e a t e   i f   t h e   o b j e c t   d o e s   n o t   y e t   e x i s t ,   a n d   a   p a t c h   o t h e r w i s e .   F o r   o t h e r   r e q u e s t s   t h a t   u s e   P A T C H   a t   t h e   H T T P   l e v e l ,   t h e   l o g i c a l   K u b e r n e t e s   o p e r a t i o n   i s   a l w a y s   p a t c h .   S e e   S e r v e r   S i d e   A p p l y   f o r   m o r e   d e t a i l s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_4_15653"
  },
  {
    "question": "What is HTTP PUT to replace existing resource?",
    "answer": "T h e   u p d a t e   ( H T T P   P U T )   o p e r a t i o n   i s   s i m p l e   t o   i m p l e m e n t   a n d   f l e x i b l e ,   b u t   h a s   d r a w b a c k s :   Y o u   n e e d   t o   h a n d l e   c o n f l i c t s   w h e r e   t h e   r e s o u r c e V e r s i o n   o f   t h e   o b j e c t   c h a n g e s   b e t w e e n   y o u r   c l i e n t   r e a d i n g   i t   a n d   t r y i n g   t o   w r i t e   i t   b a c k .   K u b e r n e t e s   a l w a y s   d e t e c t s   t h e   c o n f l i c t ,   b u t   y o u   a s   t h e   c l i e n t   a u t h o r   n e e d   t o   i m p l e m e n t   r e t r i e s . Y o u   m i g h t   a c c i d e n t a l l y   d r o p   f i e l d s   i f   y o u   d e c o d e   a n   o b j e c t   l o c a l l y   ( f o r   e x a m p l e ,   u s i n g   c l i e n t - g o ,   y o u   c o u l d   r e c e i v e   f i e l d s   t h a t   y o u r   c l i e n t   d o e s   n o t   k n o w   h o w   t o   h a n d l e   -   a n d   t h e n   d r o p   t h e m   a s   p a r t   o f   y o u r   u p d a t e . I f   t h e r e ' s   a   l o t   o f   c o n t e n t i o n   o n   t h e   o b j e c t   ( e v e n   o n   a   f i e l d ,   o r   s e t   o f   f i e l d s ,   t h a t   y o u ' r e   n o t   t r y i n g   t o   e d i t ) ,   y o u   m i g h t   h a v e   t r o u b l e   s e n d i n g   t h e   u p d a t e .   T h e   p r o b l e m   i s   w o r s e   f o r   l a r g e r   o b j e c t s   a n d   f o r   o b j e c t s   w i t h   m a n y   f i e l d s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_4_15654"
  },
  {
    "question": "What is HTTP PATCH using JSON Patch?",
    "answer": "A   p a t c h   u p d a t e   i s   h e l p f u l ,   b e c a u s e :   A s   y o u ' r e   o n l y   s e n d i n g   d i f f e r e n c e s ,   y o u   h a v e   l e s s   d a t a   t o   s e n d   i n   t h e   P A T C H   r e q u e s t . Y o u   c a n   m a k e   c h a n g e s   t h a t   r e l y   o n   e x i s t i n g   v a l u e s ,   s u c h   a s   c o p y i n g   t h e   v a l u e   o f   a   p a r t i c u l a r   f i e l d   i n t o   a n   a n n o t a t i o n . U n l i k e   w i t h   a n   u p d a t e   ( H T T P   P U T ) ,   m a k i n g   y o u r   c h a n g e   c a n   h a p p e n   r i g h t   a w a y   e v e n   i f   t h e r e   a r e   f r e q u e n t   c h a n g e s   t o   u n r e l a t e d   f i e l d s ) :   y o u   u s u a l l y   w o u l d   n o t   n e e d   t o   r e t r y . Y o u   m i g h t   s t i l l   n e e d   t o   s p e c i f y   t h e   r e s o u r c e V e r s i o n   ( t o   m a t c h   a n   e x i s t i n g   o b j e c t )   i f   y o u   w a n t   t o   b e   e x t r a   c a r e f u l   t o   a v o i d   l o s t   u p d a t e s I t ' s   s t i l l   g o o d   p r a c t i c e   t o   w r i t e   i n   s o m e   r e t r y   l o g i c   i n   c a s e   o f   e r r o r s . Y o u   c a n   u s e   t e s t   c o n d i t i o n s   t o   c a r e f u l   c r a f t   s p e c i f i c   u p d a t e   c o n d i t i o n s .   F o r   e x a m p l e ,   y o u   c a n   i n c r e m e n t   a   c o u n t e r   w i t h o u t   r e a d i n g   i t   i f   t h e   e x i s t i n g   v a l u e   m a t c h e s   w h a t   y o u   e x p e c t .   Y o u   c a n   d o   t h i s   w i t h   n o   l o s t   u p d a t e   r i s k ,   e v e n   i f   t h e   o b j e c t   h a s   c h a n g e d   i n   o t h e r   w a y s   s i n c e   y o u   l a s t   w r o t e   t o   i t .   ( I f   t h e   t e s t   c o n d i t i o n   f a i l s ,   y o u   c a n   f a l l   b a c k   t o   r e a d i n g   t h e   c u r r e n t   v a l u e   a n d   t h e n   w r i t e   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_4_15655"
  },
  {
    "question": "What is HTTP PATCH using Server-Side Apply?",
    "answer": "S e r v e r - S i d e   A p p l y   h a s   s o m e   c l e a r   b e n e f i t s :   A   s i n g l e   r o u n d   t r i p :   i t   r a r e l y   r e q u i r e s   m a k i n g   a   G E T   r e q u e s t   f i r s t . a n d   y o u   c a n   s t i l l   d e t e c t   c o n f l i c t s   f o r   u n e x p e c t e d   c h a n g e s y o u   h a v e   t h e   o p t i o n   t o   f o r c e   o v e r r i d e   a   c o n f l i c t ,   i f   a p p r o p r i a t e C l i e n t   i m p l e m e n t a t i o n s   a r e   e a s y   t o   m a k e . Y o u   g e t   a n   a t o m i c   c r e a t e - o r - u p d a t e   o p e r a t i o n   w i t h o u t   e x t r a   e f f o r t   ( s i m i l a r   t o   U P S E R T   i n   s o m e   S Q L   d i a l e c t s ) .   a n d   y o u   c a n   s t i l l   d e t e c t   c o n f l i c t s   f o r   u n e x p e c t e d   c h a n g e s y o u   h a v e   t h e   o p t i o n   t o   f o r c e   o v e r r i d e   a   c o n f l i c t ,   i f   a p p r o p r i a t e   H o w e v e r :   S e r v e r - S i d e   A p p l y   d o e s   n o t   w o r k   a t   a l l   f o r   f i e l d   c h a n g e s   t h a t   d e p e n d   o n   a   c u r r e n t   v a l u e   o f   t h e   o b j e c t . Y o u   c a n   o n l y   a p p l y   u p d a t e s   t o   o b j e c t s .   S o m e   r e s o u r c e s   i n   t h e   K u b e r n e t e s   H T T P   A P I   a r e   n o t   o b j e c t s   ( t h e y   d o   n o t   h a v e   a   . m e t a d a t a   f i e l d ) ,   a n d   S e r v e r - S i d e   A p p l y   i s   o n l y   r e l e v a n t   f o r   K u b e r n e t e s   o b j e c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_4_15656"
  },
  {
    "question": "What is Resource versions?",
    "answer": "R e s o u r c e   v e r s i o n s   a r e   s t r i n g s   t h a t   i d e n t i f y   t h e   s e r v e r ' s   i n t e r n a l   v e r s i o n   o f   a n   o b j e c t .   R e s o u r c e   v e r s i o n s   c a n   b e   u s e d   b y   c l i e n t s   t o   d e t e r m i n e   w h e n   o b j e c t s   h a v e   c h a n g e d ,   o r   t o   e x p r e s s   d a t a   c o n s i s t e n c y   r e q u i r e m e n t s   w h e n   g e t t i n g ,   l i s t i n g   a n d   w a t c h i n g   r e s o u r c e s .   R e s o u r c e   v e r s i o n s   m u s t   b e   t r e a t e d   a s   o p a q u e   b y   c l i e n t s   a n d   p a s s e d   u n m o d i f i e d   b a c k   t o   t h e   s e r v e r .   Y o u   m u s t   n o t   a s s u m e   r e s o u r c e   v e r s i o n s   a r e   n u m e r i c   o r   c o l l a t a b l e .   A P I   c l i e n t s   m a y   o n l y   c o m p a r e   t w o   r e s o u r c e   v e r s i o n s   f o r   e q u a l i t y   ( t h i s   m e a n s   t h a t   y o u   m u s t   n o t   c o m p a r e   r e s o u r c e   v e r s i o n s   f o r   g r e a t e r - t h a n   o r   l e s s - t h a n   r e l a t i o n s h i p s ) .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_2_15657"
  },
  {
    "question": "What is resourceVersion fields in metadata?",
    "answer": "C l i e n t s   f i n d   r e s o u r c e   v e r s i o n s   i n   r e s o u r c e s ,   i n c l u d i n g   t h e   r e s o u r c e s   f r o m   t h e   r e s p o n s e   s t r e a m   f o r   a   w a t c h ,   o r   w h e n   u s i n g   l i s t   t o   e n u m e r a t e   r e s o u r c e s .   v 1 . m e t a / O b j e c t M e t a   -   T h e   m e t a d a t a . r e s o u r c e V e r s i o n   o f   a   r e s o u r c e   i n s t a n c e   i d e n t i f i e s   t h e   r e s o u r c e   v e r s i o n   t h e   i n s t a n c e   w a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_3_15658"
  },
  {
    "question": "What is resourceVersion parameters in query strings?",
    "answer": "T h e   g e t ,   l i s t ,   a n d   w a t c h   o p e r a t i o n s   s u p p o r t   t h e   r e s o u r c e V e r s i o n   p a r a m e t e r .   F r o m   v e r s i o n   v 1 . 1 9 ,   K u b e r n e t e s   A P I   s e r v e r s   a l s o   s u p p o r t   t h e   r e s o u r c e V e r s i o n M a t c h   p a r a m e t e r   o n   l i s t   r e q u e s t s .   T h e   A P I   s e r v e r   i n t e r p r e t s   t h e   r e s o u r c e V e r s i o n   p a r a m e t e r   d i f f e r e n t l y   d e p e n d i n g   o n   t h e   o p e r a t i o n   y o u   r e q u e s t ,   a n d   o n   t h e   v a l u e   o f   r e s o u r c e V e r s i o n .   I f   y o u   s e t   r e s o u r c e V e r s i o n M a t c h   t h e n   t h i s   a l s o   a f f e c t s   t h e   w a y   m a t c h i n g   h a p p e n s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_3_15659"
  },
  {
    "question": "What is Semantics for get and list?",
    "answer": "F o r   g e t   a n d   l i s t ,   t h e   s e m a n t i c s   o f   r e s o u r c e V e r s i o n   a r e :   g e t :   l i s t :   F r o m   v e r s i o n   v 1 . 1 9 ,   K u b e r n e t e s   A P I   s e r v e r s   s u p p o r t   t h e   r e s o u r c e V e r s i o n M a t c h   p a r a m e t e r   o n   l i s t   r e q u e s t s .   I f   y o u   s e t   b o t h   r e s o u r c e V e r s i o n   a n d   r e s o u r c e V e r s i o n M a t c h ,   t h e   r e s o u r c e V e r s i o n M a t c h   p a r a m e t e r   d e t e r m i n e s   h o w   t h e   A P I   s e r v e r   i n t e r p r e t s   r e s o u r c e V e r s i o n .   Y o u   s h o u l d   a l w a y s   s e t   t h e   r e s o u r c e V e r s i o n M a t c h   p a r a m e t e r   w h e n   s e t t i n g   r e s o u r c e V e r s i o n   o n   a   l i s t   r e q u e s t .   H o w e v e r ,   b e   p r e p a r e d   t o   h a n d l e   t h e   c a s e   w h e r e   t h e   A P I   s e r v e r   t h a t   r e s p o n d s   i s   u n a w a r e   o f   r e s o u r c e V e r s i o n M a t c h   a n d   i g n o r e s   i t .   U n l e s s   y o u   h a v e   s t r o n g   c o n s i s t e n c y   r e q u i r e m e n t s ,   u s i n g   r e s o u r c e V e r s i o n M a t c h = N o t O l d e r T h a n   a n d   a   k n o w n   r e s o u r c e V e r s i o n   i s   p r e f e r a b l e   s i n c e   i t   c a n   a c h i e v e   b e t t e r   p e r f o r m a n c e   a n d   s c a l a b i l i t y   o f   y o u r   c l u s t e r   t h a n   l e a v i n g   r e s o u r c e V e r s i o n   a n d   r e s o u r c e V e r s i o n M a t c h   u n s e t ,   w h i c h   r e q u i r e s   q u o r u m   r e a d   t o   b e   s e r v e d .   S e t t i n g   t h e   r e s o u r c e V e r s i o n M a t c h   p a r a m e t e r   w i t h o u t   s e t t i n g   r e s o u r c e V e r s i o n   i s   n o t   v a l i d .   T h i s   t a b l e   e x p l a i n s   t h e   b e h a v i o r   o f   l i s t   r e q u e s t s   w i t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_3_15660"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   m e a n i n g   o f   t h e   g e t   a n d   l i s t   s e m a n t i c s   a r e :",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_4_15661"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   u s i n g   r e s o u r c e V e r s i o n M a t c h = N o t O l d e r T h a n   a n d   l i m i t   i s   s e t ,   c l i e n t s   m u s t   h a n d l e   H T T P   4 1 0   G o n e   r e s p o n s e s .   F o r   e x a m p l e ,   t h e   c l i e n t   m i g h t   r e t r y   w i t h   a   n e w e r   r e s o u r c e V e r s i o n   o r   f a l l   b a c k   t o   r e s o u r c e V e r s i o n = \" \" .   W h e n   u s i n g   r e s o u r c e V e r s i o n M a t c h = E x a c t   a n d   l i m i t   i s   u n s e t ,   c l i e n t s   m u s t   v e r i f y   t h a t   t h e   c o l l e c t i o n ' s   . m e t a d a t a . r e s o u r c e V e r s i o n   m a t c h e s   t h e   r e q u e s t e d   r e s o u r c e V e r s i o n ,   a n d   h a n d l e   t h e   c a s e   w h e r e   i t   d o e s   n o t .   F o r   e x a m p l e ,   t h e   c l i e n t   m i g h t   f a l l   b a c k   t o   a   r e q u e s t   w i t h   l i m i t   s e t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_4_15662"
  },
  {
    "question": "What is Semantics for watch?",
    "answer": "F o r   w a t c h ,   t h e   s e m a n t i c s   o f   r e s o u r c e   v e r s i o n   a r e :   w a t c h :   T h e   m e a n i n g   o f   t h o s e   w a t c h   s e m a n t i c s   a r e :",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_3_15663"
  },
  {
    "question": "What is \"410 Gone\" responses?",
    "answer": "S e r v e r s   a r e   n o t   r e q u i r e d   t o   s e r v e   a l l   o l d e r   r e s o u r c e   v e r s i o n s   a n d   m a y   r e t u r n   a   H T T P   4 1 0   ( G o n e )   s t a t u s   c o d e   i f   a   c l i e n t   r e q u e s t s   a   r e s o u r c e V e r s i o n   o l d e r   t h a n   t h e   s e r v e r   h a s   r e t a i n e d .   C l i e n t s   m u s t   b e   a b l e   t o   t o l e r a t e   4 1 0   ( G o n e )   r e s p o n s e s .   S e e   E f f i c i e n t   d e t e c t i o n   o f   c h a n g e s   f o r   d e t a i l s   o n   h o w   t o   h a n d l e   4 1 0   ( G o n e )   r e s p o n s e s   w h e n   w a t c h i n g   r e s o u r c e s .   I f   y o u   r e q u e s t   a   r e s o u r c e V e r s i o n   o u t s i d e   t h e   a p p l i c a b l e   l i m i t   t h e n ,   d e p e n d i n g   o n   w h e t h e r   a   r e q u e s t   i s   s e r v e d   f r o m   c a c h e   o r   n o t ,   t h e   A P I   s e r v e r   m a y   r e p l y   w i t h   a   4 1 0   G o n e   H T T P   r e s p o n s e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_3_15664"
  },
  {
    "question": "What is Unavailable resource versions?",
    "answer": "S e r v e r s   a r e   n o t   r e q u i r e d   t o   s e r v e   u n r e c o g n i z e d   r e s o u r c e   v e r s i o n s .   I f   y o u   r e q u e s t   l i s t   o r   g e t   f o r   a   r e s o u r c e   v e r s i o n   t h a t   t h e   A P I   s e r v e r   d o e s   n o t   r e c o g n i z e ,   t h e n   t h e   A P I   s e r v e r   m a y   e i t h e r :   w a i t   b r i e f l y   f o r   t h e   r e s o u r c e   v e r s i o n   t o   b e c o m e   a v a i l a b l e ,   t h e n   t i m e o u t   w i t h   a   5 0 4   ( G a t e w a y   T i m e o u t )   i f   t h e   p r o v i d e d   r e s o u r c e   v e r s i o n s   d o e s   n o t   b e c o m e   a v a i l a b l e   i n   a   r e a s o n a b l e   a m o u n t   o f   t i m e ; r e s p o n d   w i t h   a   R e t r y - A f t e r   r e s p o n s e   h e a d e r   i n d i c a t i n g   h o w   m a n y   s e c o n d s   a   c l i e n t   s h o u l d   w a i t   b e f o r e   r e t r y i n g   t h e   r e q u e s t .   I f   y o u   r e q u e s t   a   r e s o u r c e   v e r s i o n   t h a t   a n   A P I   s e r v e r   d o e s   n o t   r e c o g n i z e ,   t h e   k u b e - a p i s e r v e r   a d d i t i o n a l l y   i d e n t i f i e s   i t s   e r r o r   r e s p o n s e s   w i t h   a   m e s s a g e   T o o   l a r g e   r e s o u r c e   v e r s i o n .   I f   y o u   m a k e   a   w a t c h   r e q u e s t   f o r   a n   u n r e c o g n i z e d   r e s o u r c e   v e r s i o n ,   t h e   A P I   s e r v e r   m a y   w a i t   i n d e f i n i t e l y   ( u n t i l   t h e   r e q u e s t   t i m e o u t )   f o r   t h e   r e s o u r c e   v e r s i o n   t o   b e c o m e   a v a i l a b l e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/api-concepts/",
    "id": "k8s_00706_section_3_15665"
  },
  {
    "question": "What is Secret?",
    "answer": "SecretSecret holds secret data of a certain type.apiVersion: v1import \"k8s.io/api/core/v1\"SecretSecret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.apiVersion: v1kind: Secretmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatadata (map[string][]byte)Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4immutable (boolean)Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.stringData (map[string]string)stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API.type (string)Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-typesSecretListSecretList is a list of Secret.apiVersion: v1kind: SecretListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems ([]Secret), requiredItems is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secretOperationsget read the specified SecretHTTP RequestGET /api/v1/namespaces/{namespace}/secrets/{name}Parametersname (in path): string, requiredname of the Secretnamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (Secret): OK401: Unauthorizedlist list or watch objects of kind SecretHTTP RequestGET /api/v1/namespaces/{namespace}/secretsParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (SecretList): OK401: Unauthorizedlist list or watch objects of kind SecretHTTP RequestGET /api/v1/secretsParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerli",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_qa_15666"
  },
  {
    "question": "How does Secret work?",
    "answer": "SecretSecret holds secret data of a certain type.apiVersion: v1import \"k8s.io/api/core/v1\"SecretSecret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.apiVersion: v1kind: Secretmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatadata (map[string][]byte)Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4immutable (boolean)Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.stringData (map[string]string)stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API.type (string)Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-typesSecretListSecretList is a list of Secret.apiVersion: v1kind: SecretListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems ([]Secret), requiredItems is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secretOperationsget read the specified SecretHTTP RequestGET /api/v1/namespaces/{namespace}/secrets/{name}Parametersname (in path): string, requiredname of the Secretnamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (Secret): OK401: Unauthorizedlist list or watch objects of kind SecretHTTP RequestGET /api/v1/namespaces/{namespace}/secretsParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (SecretList): OK401: Unauthorizedlist list or watch objects of kind SecretHTTP RequestGET /api/v1/secretsParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerli",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_qa_15667"
  },
  {
    "question": "When would you use Secret?",
    "answer": "SecretSecret holds secret data of a certain type.apiVersion: v1import \"k8s.io/api/core/v1\"SecretSecret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.apiVersion: v1kind: Secretmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatadata (map[string][]byte)Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4immutable (boolean)Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.stringData (map[string]string)stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API.type (string)Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-typesSecretListSecretList is a list of Secret.apiVersion: v1kind: SecretListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems ([]Secret), requiredItems is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secretOperationsget read the specified SecretHTTP RequestGET /api/v1/namespaces/{namespace}/secrets/{name}Parametersname (in path): string, requiredname of the Secretnamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (Secret): OK401: Unauthorizedlist list or watch objects of kind SecretHTTP RequestGET /api/v1/namespaces/{namespace}/secretsParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (SecretList): OK401: Unauthorizedlist list or watch objects of kind SecretHTTP RequestGET /api/v1/secretsParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerli",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_qa_15668"
  },
  {
    "question": "What are the benefits of Secret?",
    "answer": "SecretSecret holds secret data of a certain type.apiVersion: v1import \"k8s.io/api/core/v1\"SecretSecret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.apiVersion: v1kind: Secretmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatadata (map[string][]byte)Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4immutable (boolean)Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.stringData (map[string]string)stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API.type (string)Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-typesSecretListSecretList is a list of Secret.apiVersion: v1kind: SecretListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems ([]Secret), requiredItems is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secretOperationsget read the specified SecretHTTP RequestGET /api/v1/namespaces/{namespace}/secrets/{name}Parametersname (in path): string, requiredname of the Secretnamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (Secret): OK401: Unauthorizedlist list or watch objects of kind SecretHTTP RequestGET /api/v1/namespaces/{namespace}/secretsParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (SecretList): OK401: Unauthorizedlist list or watch objects of kind SecretHTTP RequestGET /api/v1/secretsParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerli",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_qa_15669"
  },
  {
    "question": "What is Secret?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_1_15670"
  },
  {
    "question": "What is Secret?",
    "answer": "S e c r e t   h o l d s   s e c r e t   d a t a   o f   a   c e r t a i n   t y p e .   T h e   t o t a l   b y t e s   o f   t h e   v a l u e s   i n   t h e   D a t a   f i e l d   m u s t   b e   l e s s   t h a n   M a x S e c r e t S i z e   b y t e s .   a p i V e r s i o n :   v 1 k i n d :   S e c r e t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a d a t a   ( m a p [ s t r i n g ] [ ] b y t e ) D a t a   c o n t a i n s   t h e   s e c r e t   d a t a .   E a c h   k e y   m u s t   c o n s i s t   o f   a l p h a n u m e r i c   c h a r a c t e r s ,   ' - ' ,   ' _ '   o r   ' . ' .   T h e   s e r i a l i z e d   f o r m   o f   t h e   s e c r e t   d a t a   i s   a   b a s e 6 4   e n c o d e d   s t r i n g ,   r e p r e s e n t i n g   t h e   a r b i t r a r y   ( p o s s i b l y   n o n - s t r i n g )   d a t a   v a l u e   h e r e .   D e s c r i b e d   i n   h t t p s : / / t o o l s . i e t f . o r g / h t m l / r f c 4 6 4 8 # s e c t i o n - 4 i m m u t a b l e   ( b o o l e a n ) I m m u t a b l e ,   i f   s e t   t o   t r u e ,   e n s u r e s   t h a t   d a t a   s t o r e d   i n   t h e   S e c r e t   c a n n o t   b e   u p d a t e d   ( o n l y   o b j e c t   m e t a d a t a   c a n   b e   m o d i f i e d ) .   I f   n o t   s e t   t o   t r u e ,   t h e   f i e l d   c a n   b e   m o d i f i e d   a t   a n y   t i m e .   D e f a u l t e d   t o   n i l . s t r i n g D a t a   ( m a p [ s t r i n g ] s t r i n g ) s t r i n g D a t a   a l l o w s   s p e c i f y i n g   n o n - b i n a r y   s e c r e t   d a t a   i n   s t r i n g   f o r m .   I t   i s   p r o v i d e d   a s   a   w r i t e - o n l y   i n p u t   f i e l d   f o r   c o n v e n i e n c e .   A ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_2_15671"
  },
  {
    "question": "What is SecretList?",
    "answer": "S e c r e t L i s t   i s   a   l i s t   o f   S e c r e t .   a p i V e r s i o n :   v 1 k i n d :   S e c r e t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] S e c r e t ) ,   r e q u i r e d I t e m s   i s   a   l i s t   o f   s e c r e t   o b j e c t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n f i g u r a t i o n / s e c r e t   a p i V e r s i o n :   v 1   k i n d :   S e c r e t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] S e c r e t ) ,   r e q u i r e d   I t e m s   i s   a   l i s t   o f   s e c r e t   o b j e c t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n f i g u r a t i o n / s e c r e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_2_15672"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_4_15673"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e c r e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e c r e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_4_15674"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e c r e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_4_15675"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_4_15676"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_4_15677"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e c r e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_4_15678"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / s e c r e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_4_15679"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_4_15680"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e c r e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_4_15681"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_4_15682"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S e c r e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S e c r e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_4_15683"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e c r e t ) :   O K   2 0 1   ( S e c r e t ) :   C r e a t e d   2 0 2   ( S e c r e t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_4_15684"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_4_15685"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e c r e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S e c r e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e c r e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S e c r e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_4_15686"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e c r e t ) :   O K   2 0 1   ( S e c r e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_4_15687"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_4_15688"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e c r e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e c r e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_4_15689"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e c r e t ) :   O K   2 0 1   ( S e c r e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_4_15690"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_4_15691"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e c r e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e c r e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_4_15692"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_4_15693"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_4_15694"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_4_15695"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/",
    "id": "k8s_00707_section_4_15696"
  },
  {
    "question": "What is Managing Kubernetes Objects Using Imperative Commands?",
    "answer": "Managing Kubernetes Objects Using Imperative CommandsKubernetes objects can quickly be created, updated, and deleted directly using imperative commands built into the kubectl command-line tool. This document explains how those commands are organized and how to use them to manage live objects.Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Trade-offsThe kubectl tool supports three kinds of object management:Imperative commandsImperative object configurationDeclarative object configurationSee Kubernetes Object Management for a discussion of the advantages and disadvantage of each kind of object management.How to create objectsThe kubectl tool supports verb-driven commands for creating some of the most common object types. The commands are named to be recognizable to users unfamiliar with the Kubernetes object types.run: Create a new Pod to run a Container.expose: Create a new Service object to load balance traffic across Pods.autoscale: Create a new Autoscaler object to automatically horizontally scale a controller, such as a Deployment.The kubectl tool also supports creation commands driven by object type. These commands support more object types and are more explicit about their intent, but require users to know the type of objects they intend to create.create <objecttype> [<subtype>] <instancename>Some objects types have subtypes that you can specify in the create command. For example, the Service object has several subtypes including ClusterIP, LoadBalancer, and NodePort. Here's an example that creates a Service with subtype NodePort:kubectl create service nodeport <myservicename> In the preceding example, the create service nodeport command is called a subcommand of the create service command.You can use the -h flag to find the arguments and flags supported by a subcommand:kubectl create service nodeport -h How to update objectsThe kubectl command supports verb-driven commands for some common update operations. These commands are named to enable users unfamiliar with Kubernetes objects to perform updates without knowing the specific fields that must be set:scale: Horizontally scale a controller to add or remove Pods by updating the replica count of the controller.annotate: Add or remove an annotation from an object.label: Add or remove a label from an object.The kubectl command also supports update commands driven by an aspect of the object. Setting this aspect may set different fields for different object types:set <field>: Set an aspect of an object.Note:In Kubernetes version 1.5, not every verb-dri",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-command/",
    "id": "k8s_00708_qa_15697"
  },
  {
    "question": "How does Managing Kubernetes Objects Using Imperative Commands work?",
    "answer": "Managing Kubernetes Objects Using Imperative CommandsKubernetes objects can quickly be created, updated, and deleted directly using imperative commands built into the kubectl command-line tool. This document explains how those commands are organized and how to use them to manage live objects.Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Trade-offsThe kubectl tool supports three kinds of object management:Imperative commandsImperative object configurationDeclarative object configurationSee Kubernetes Object Management for a discussion of the advantages and disadvantage of each kind of object management.How to create objectsThe kubectl tool supports verb-driven commands for creating some of the most common object types. The commands are named to be recognizable to users unfamiliar with the Kubernetes object types.run: Create a new Pod to run a Container.expose: Create a new Service object to load balance traffic across Pods.autoscale: Create a new Autoscaler object to automatically horizontally scale a controller, such as a Deployment.The kubectl tool also supports creation commands driven by object type. These commands support more object types and are more explicit about their intent, but require users to know the type of objects they intend to create.create <objecttype> [<subtype>] <instancename>Some objects types have subtypes that you can specify in the create command. For example, the Service object has several subtypes including ClusterIP, LoadBalancer, and NodePort. Here's an example that creates a Service with subtype NodePort:kubectl create service nodeport <myservicename> In the preceding example, the create service nodeport command is called a subcommand of the create service command.You can use the -h flag to find the arguments and flags supported by a subcommand:kubectl create service nodeport -h How to update objectsThe kubectl command supports verb-driven commands for some common update operations. These commands are named to enable users unfamiliar with Kubernetes objects to perform updates without knowing the specific fields that must be set:scale: Horizontally scale a controller to add or remove Pods by updating the replica count of the controller.annotate: Add or remove an annotation from an object.label: Add or remove a label from an object.The kubectl command also supports update commands driven by an aspect of the object. Setting this aspect may set different fields for different object types:set <field>: Set an aspect of an object.Note:In Kubernetes version 1.5, not every verb-dri",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-command/",
    "id": "k8s_00708_qa_15698"
  },
  {
    "question": "When would you use Managing Kubernetes Objects Using Imperative Commands?",
    "answer": "Managing Kubernetes Objects Using Imperative CommandsKubernetes objects can quickly be created, updated, and deleted directly using imperative commands built into the kubectl command-line tool. This document explains how those commands are organized and how to use them to manage live objects.Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Trade-offsThe kubectl tool supports three kinds of object management:Imperative commandsImperative object configurationDeclarative object configurationSee Kubernetes Object Management for a discussion of the advantages and disadvantage of each kind of object management.How to create objectsThe kubectl tool supports verb-driven commands for creating some of the most common object types. The commands are named to be recognizable to users unfamiliar with the Kubernetes object types.run: Create a new Pod to run a Container.expose: Create a new Service object to load balance traffic across Pods.autoscale: Create a new Autoscaler object to automatically horizontally scale a controller, such as a Deployment.The kubectl tool also supports creation commands driven by object type. These commands support more object types and are more explicit about their intent, but require users to know the type of objects they intend to create.create <objecttype> [<subtype>] <instancename>Some objects types have subtypes that you can specify in the create command. For example, the Service object has several subtypes including ClusterIP, LoadBalancer, and NodePort. Here's an example that creates a Service with subtype NodePort:kubectl create service nodeport <myservicename> In the preceding example, the create service nodeport command is called a subcommand of the create service command.You can use the -h flag to find the arguments and flags supported by a subcommand:kubectl create service nodeport -h How to update objectsThe kubectl command supports verb-driven commands for some common update operations. These commands are named to enable users unfamiliar with Kubernetes objects to perform updates without knowing the specific fields that must be set:scale: Horizontally scale a controller to add or remove Pods by updating the replica count of the controller.annotate: Add or remove an annotation from an object.label: Add or remove a label from an object.The kubectl command also supports update commands driven by an aspect of the object. Setting this aspect may set different fields for different object types:set <field>: Set an aspect of an object.Note:In Kubernetes version 1.5, not every verb-dri",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-command/",
    "id": "k8s_00708_qa_15699"
  },
  {
    "question": "What are the benefits of Managing Kubernetes Objects Using Imperative Commands?",
    "answer": "Managing Kubernetes Objects Using Imperative CommandsKubernetes objects can quickly be created, updated, and deleted directly using imperative commands built into the kubectl command-line tool. This document explains how those commands are organized and how to use them to manage live objects.Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Trade-offsThe kubectl tool supports three kinds of object management:Imperative commandsImperative object configurationDeclarative object configurationSee Kubernetes Object Management for a discussion of the advantages and disadvantage of each kind of object management.How to create objectsThe kubectl tool supports verb-driven commands for creating some of the most common object types. The commands are named to be recognizable to users unfamiliar with the Kubernetes object types.run: Create a new Pod to run a Container.expose: Create a new Service object to load balance traffic across Pods.autoscale: Create a new Autoscaler object to automatically horizontally scale a controller, such as a Deployment.The kubectl tool also supports creation commands driven by object type. These commands support more object types and are more explicit about their intent, but require users to know the type of objects they intend to create.create <objecttype> [<subtype>] <instancename>Some objects types have subtypes that you can specify in the create command. For example, the Service object has several subtypes including ClusterIP, LoadBalancer, and NodePort. Here's an example that creates a Service with subtype NodePort:kubectl create service nodeport <myservicename> In the preceding example, the create service nodeport command is called a subcommand of the create service command.You can use the -h flag to find the arguments and flags supported by a subcommand:kubectl create service nodeport -h How to update objectsThe kubectl command supports verb-driven commands for some common update operations. These commands are named to enable users unfamiliar with Kubernetes objects to perform updates without knowing the specific fields that must be set:scale: Horizontally scale a controller to add or remove Pods by updating the replica count of the controller.annotate: Add or remove an annotation from an object.label: Add or remove a label from an object.The kubectl command also supports update commands driven by an aspect of the object. Setting this aspect may set different fields for different object types:set <field>: Set an aspect of an object.Note:In Kubernetes version 1.5, not every verb-dri",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-command/",
    "id": "k8s_00708_qa_15700"
  },
  {
    "question": "What is Managing Kubernetes Objects Using Imperative Commands?",
    "answer": "K u b e r n e t e s   o b j e c t s   c a n   q u i c k l y   b e   c r e a t e d ,   u p d a t e d ,   a n d   d e l e t e d   d i r e c t l y   u s i n g   i m p e r a t i v e   c o m m a n d s   b u i l t   i n t o   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l .   T h i s   d o c u m e n t   e x p l a i n s   h o w   t h o s e   c o m m a n d s   a r e   o r g a n i z e d   a n d   h o w   t o   u s e   t h e m   t o   m a n a g e   l i v e   o b j e c t s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-command/",
    "id": "k8s_00708_section_1_15701"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n s t a l l   k u b e c t l .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-command/",
    "id": "k8s_00708_section_2_15702"
  },
  {
    "question": "What is Trade-offs?",
    "answer": "T h e   k u b e c t l   t o o l   s u p p o r t s   t h r e e   k i n d s   o f   o b j e c t   m a n a g e m e n t :   I m p e r a t i v e   c o m m a n d s I m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n D e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n   S e e   K u b e r n e t e s   O b j e c t   M a n a g e m e n t   f o r   a   d i s c u s s i o n   o f   t h e   a d v a n t a g e s   a n d   d i s a d v a n t a g e   o f   e a c h   k i n d   o f   o b j e c t   m a n a g e m e n t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-command/",
    "id": "k8s_00708_section_2_15703"
  },
  {
    "question": "What is How to create objects?",
    "answer": "T h e   k u b e c t l   t o o l   s u p p o r t s   v e r b - d r i v e n   c o m m a n d s   f o r   c r e a t i n g   s o m e   o f   t h e   m o s t   c o m m o n   o b j e c t   t y p e s .   T h e   c o m m a n d s   a r e   n a m e d   t o   b e   r e c o g n i z a b l e   t o   u s e r s   u n f a m i l i a r   w i t h   t h e   K u b e r n e t e s   o b j e c t   t y p e s .   r u n :   C r e a t e   a   n e w   P o d   t o   r u n   a   C o n t a i n e r . e x p o s e :   C r e a t e   a   n e w   S e r v i c e   o b j e c t   t o   l o a d   b a l a n c e   t r a f f i c   a c r o s s   P o d s . a u t o s c a l e :   C r e a t e   a   n e w   A u t o s c a l e r   o b j e c t   t o   a u t o m a t i c a l l y   h o r i z o n t a l l y   s c a l e   a   c o n t r o l l e r ,   s u c h   a s   a   D e p l o y m e n t .   T h e   k u b e c t l   t o o l   a l s o   s u p p o r t s   c r e a t i o n   c o m m a n d s   d r i v e n   b y   o b j e c t   t y p e .   T h e s e   c o m m a n d s   s u p p o r t   m o r e   o b j e c t   t y p e s   a n d   a r e   m o r e   e x p l i c i t   a b o u t   t h e i r   i n t e n t ,   b u t   r e q u i r e   u s e r s   t o   k n o w   t h e   t y p e   o f   o b j e c t s   t h e y   i n t e n d   t o   c r e a t e .   c r e a t e   < o b j e c t t y p e >   [ < s u b t y p e > ]   < i n s t a n c e n a m e >   S o m e   o b j e c t s   t y p e s   h a v e   s u b t y p e s   t h a t   y o u   c a n   s p e c i f y   i n   t h e   c r e a t e   c o m m a n d .   F o r   e x a m p l e ,   t h e   S e r v i c e   o b j e c t   h a s   s e v e r a l   s u b t y p e s   i n c l u d i n g   C l u s t e r I P ,   L o a d B a l a n c e r ,   a n d   N o d e P o r t .   H e r e ' s   a n   e x a m p l e   t h a t   c r e a t e s   a   S e r v i c e   w i t h   s u b t y p e   N o d e P o r t :   k u b e c t l   c r e a t e   s e r v i c e   n o d e p o r t   < m y s e r v i c e n a m e >   I n   t h e   p r e c e d i n g   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-command/",
    "id": "k8s_00708_section_2_15704"
  },
  {
    "question": "What is How to update objects?",
    "answer": "T h e   k u b e c t l   c o m m a n d   s u p p o r t s   v e r b - d r i v e n   c o m m a n d s   f o r   s o m e   c o m m o n   u p d a t e   o p e r a t i o n s .   T h e s e   c o m m a n d s   a r e   n a m e d   t o   e n a b l e   u s e r s   u n f a m i l i a r   w i t h   K u b e r n e t e s   o b j e c t s   t o   p e r f o r m   u p d a t e s   w i t h o u t   k n o w i n g   t h e   s p e c i f i c   f i e l d s   t h a t   m u s t   b e   s e t :   s c a l e :   H o r i z o n t a l l y   s c a l e   a   c o n t r o l l e r   t o   a d d   o r   r e m o v e   P o d s   b y   u p d a t i n g   t h e   r e p l i c a   c o u n t   o f   t h e   c o n t r o l l e r . a n n o t a t e :   A d d   o r   r e m o v e   a n   a n n o t a t i o n   f r o m   a n   o b j e c t . l a b e l :   A d d   o r   r e m o v e   a   l a b e l   f r o m   a n   o b j e c t .   T h e   k u b e c t l   c o m m a n d   a l s o   s u p p o r t s   u p d a t e   c o m m a n d s   d r i v e n   b y   a n   a s p e c t   o f   t h e   o b j e c t .   S e t t i n g   t h i s   a s p e c t   m a y   s e t   d i f f e r e n t   f i e l d s   f o r   d i f f e r e n t   o b j e c t   t y p e s :   s e t   < f i e l d > :   S e t   a n   a s p e c t   o f   a n   o b j e c t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-command/",
    "id": "k8s_00708_section_2_15705"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   k u b e c t l   t o o l   s u p p o r t s   t h e s e   a d d i t i o n a l   w a y s   t o   u p d a t e   a   l i v e   o b j e c t   d i r e c t l y ,   h o w e v e r   t h e y   r e q u i r e   a   b e t t e r   u n d e r s t a n d i n g   o f   t h e   K u b e r n e t e s   o b j e c t   s c h e m a .   e d i t :   D i r e c t l y   e d i t   t h e   r a w   c o n f i g u r a t i o n   o f   a   l i v e   o b j e c t   b y   o p e n i n g   i t s   c o n f i g u r a t i o n   i n   a n   e d i t o r . p a t c h :   D i r e c t l y   m o d i f y   s p e c i f i c   f i e l d s   o f   a   l i v e   o b j e c t   b y   u s i n g   a   p a t c h   s t r i n g .   F o r   m o r e   d e t a i l s   o n   p a t c h   s t r i n g s ,   s e e   t h e   p a t c h   s e c t i o n   i n   A P I   C o n v e n t i o n s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-command/",
    "id": "k8s_00708_section_4_15706"
  },
  {
    "question": "What is How to delete objects?",
    "answer": "Y o u   c a n   u s e   t h e   d e l e t e   c o m m a n d   t o   d e l e t e   a n   o b j e c t   f r o m   a   c l u s t e r :   d e l e t e   < t y p e > / < n a m e >",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-command/",
    "id": "k8s_00708_section_2_15707"
  },
  {
    "question": "What is Note:?",
    "answer": "k u b e c t l   d e l e t e   d e p l o y m e n t / n g i n x",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-command/",
    "id": "k8s_00708_section_4_15708"
  },
  {
    "question": "What is How to view an object?",
    "answer": "T h e r e   a r e   s e v e r a l   c o m m a n d s   f o r   p r i n t i n g   i n f o r m a t i o n   a b o u t   a n   o b j e c t :   g e t :   P r i n t s   b a s i c   i n f o r m a t i o n   a b o u t   m a t c h i n g   o b j e c t s .   U s e   g e t   - h   t o   s e e   a   l i s t   o f   o p t i o n s . d e s c r i b e :   P r i n t s   a g g r e g a t e d   d e t a i l e d   i n f o r m a t i o n   a b o u t   m a t c h i n g   o b j e c t s . l o g s :   P r i n t s   t h e   s t d o u t   a n d   s t d e r r   f o r   a   c o n t a i n e r   r u n n i n g   i n   a   P o d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-command/",
    "id": "k8s_00708_section_2_15709"
  },
  {
    "question": "What is Using set commands to modify objects before creation?",
    "answer": "T h e r e   a r e   s o m e   o b j e c t   f i e l d s   t h a t   d o n ' t   h a v e   a   f l a g   y o u   c a n   u s e   i n   a   c r e a t e   c o m m a n d .   I n   s o m e   o f   t h o s e   c a s e s ,   y o u   c a n   u s e   a   c o m b i n a t i o n   o f   s e t   a n d   c r e a t e   t o   s p e c i f y   a   v a l u e   f o r   t h e   f i e l d   b e f o r e   o b j e c t   c r e a t i o n .   T h i s   i s   d o n e   b y   p i p i n g   t h e   o u t p u t   o f   t h e   c r e a t e   c o m m a n d   t o   t h e   s e t   c o m m a n d ,   a n d   t h e n   b a c k   t o   t h e   c r e a t e   c o m m a n d .   H e r e ' s   a n   e x a m p l e :   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   m y - s v c   - - c l u s t e r i p = \" N o n e \"   - o   y a m l   - - d r y - r u n = c l i e n t   |   k u b e c t l   s e t   s e l e c t o r   - - l o c a l   - f   -   ' e n v i r o n m e n t = q a '   - o   y a m l   |   k u b e c t l   c r e a t e   - f   -   T h e   k u b e c t l   c r e a t e   s e r v i c e   - o   y a m l   - - d r y - r u n = c l i e n t   c o m m a n d   c r e a t e s   t h e   c o n f i g u r a t i o n   f o r   t h e   S e r v i c e ,   b u t   p r i n t s   i t   t o   s t d o u t   a s   Y A M L   i n s t e a d   o f   s e n d i n g   i t   t o   t h e   K u b e r n e t e s   A P I   s e r v e r . T h e   k u b e c t l   s e t   s e l e c t o r   - - l o c a l   - f   -   - o   y a m l   c o m m a n d   r e a d s   t h e   c o n f i g u r a t i o n   f r o m   s t d i n ,   a n d   w r i t e s   t h e   u p d a t e d   c o n f i g u r a t i o n   t o   s t d o u t   a s   Y A M L . T h e   k u b e c t l   c r e a t e   - f   -   c o m m a n d   c r e a t e s   t h e   o b j e c t   u s i n g   t h e   c o n f i g u r a t i o n   p r o v i d e d   v i a   s t d i n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-command/",
    "id": "k8s_00708_section_2_15710"
  },
  {
    "question": "What is Using --edit to modify objects before creation?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   c r e a t e   - - e d i t   t o   m a k e   a r b i t r a r y   c h a n g e s   t o   a n   o b j e c t   b e f o r e   i t   i s   c r e a t e d .   H e r e ' s   a n   e x a m p l e :   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   m y - s v c   - - c l u s t e r i p = \" N o n e \"   - o   y a m l   - - d r y - r u n = c l i e n t   >   / t m p / s r v . y a m l   k u b e c t l   c r e a t e   - - e d i t   - f   / t m p / s r v . y a m l   T h e   k u b e c t l   c r e a t e   s e r v i c e   c o m m a n d   c r e a t e s   t h e   c o n f i g u r a t i o n   f o r   t h e   S e r v i c e   a n d   s a v e s   i t   t o   / t m p / s r v . y a m l . T h e   k u b e c t l   c r e a t e   - - e d i t   c o m m a n d   o p e n s   t h e   c o n f i g u r a t i o n   f i l e   f o r   e d i t i n g   b e f o r e   i t   c r e a t e s   t h e   o b j e c t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-command/",
    "id": "k8s_00708_section_2_15711"
  },
  {
    "question": "What is What's next?",
    "answer": "I m p e r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s D e c l a r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s K u b e c t l   C o m m a n d   R e f e r e n c e K u b e r n e t e s   A P I   R e f e r e n c e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-command/",
    "id": "k8s_00708_section_2_15712"
  },
  {
    "question": "What is kubectl config view?",
    "answer": "kubectl config viewSynopsisDisplay merged kubeconfig settings or a specified kubeconfig file.You can use --output jsonpath={...} to extract specific values using a jsonpath expression.kubectl config view [flags] Examples # Show merged kubeconfig settings kubectl config view # Show merged kubeconfig settings, raw certificate data, and exposed secrets kubectl config view --raw # Get the password for the e2e user kubectl config view -o jsonpath='{.users[?(@.name == \"e2e\")].user.password}' Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--flattenFlatten the resulting kubeconfig file into self-contained output (useful for creating portable kubeconfig files)-h, --helphelp for view--merge tristate[=true] Default: trueMerge the full hierarchy of kubeconfig files--minifyRemove all information not used by current-context from the output-o, --output string Default: \"yaml\"Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--rawDisplay raw byte data and sensitive data--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default:",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_view/",
    "id": "k8s_00709_qa_15713"
  },
  {
    "question": "How does kubectl config view work?",
    "answer": "kubectl config viewSynopsisDisplay merged kubeconfig settings or a specified kubeconfig file.You can use --output jsonpath={...} to extract specific values using a jsonpath expression.kubectl config view [flags] Examples # Show merged kubeconfig settings kubectl config view # Show merged kubeconfig settings, raw certificate data, and exposed secrets kubectl config view --raw # Get the password for the e2e user kubectl config view -o jsonpath='{.users[?(@.name == \"e2e\")].user.password}' Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--flattenFlatten the resulting kubeconfig file into self-contained output (useful for creating portable kubeconfig files)-h, --helphelp for view--merge tristate[=true] Default: trueMerge the full hierarchy of kubeconfig files--minifyRemove all information not used by current-context from the output-o, --output string Default: \"yaml\"Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--rawDisplay raw byte data and sensitive data--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default:",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_view/",
    "id": "k8s_00709_qa_15714"
  },
  {
    "question": "When would you use kubectl config view?",
    "answer": "kubectl config viewSynopsisDisplay merged kubeconfig settings or a specified kubeconfig file.You can use --output jsonpath={...} to extract specific values using a jsonpath expression.kubectl config view [flags] Examples # Show merged kubeconfig settings kubectl config view # Show merged kubeconfig settings, raw certificate data, and exposed secrets kubectl config view --raw # Get the password for the e2e user kubectl config view -o jsonpath='{.users[?(@.name == \"e2e\")].user.password}' Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--flattenFlatten the resulting kubeconfig file into self-contained output (useful for creating portable kubeconfig files)-h, --helphelp for view--merge tristate[=true] Default: trueMerge the full hierarchy of kubeconfig files--minifyRemove all information not used by current-context from the output-o, --output string Default: \"yaml\"Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--rawDisplay raw byte data and sensitive data--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default:",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_view/",
    "id": "k8s_00709_qa_15715"
  },
  {
    "question": "What are the benefits of kubectl config view?",
    "answer": "kubectl config viewSynopsisDisplay merged kubeconfig settings or a specified kubeconfig file.You can use --output jsonpath={...} to extract specific values using a jsonpath expression.kubectl config view [flags] Examples # Show merged kubeconfig settings kubectl config view # Show merged kubeconfig settings, raw certificate data, and exposed secrets kubectl config view --raw # Get the password for the e2e user kubectl config view -o jsonpath='{.users[?(@.name == \"e2e\")].user.password}' Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--flattenFlatten the resulting kubeconfig file into self-contained output (useful for creating portable kubeconfig files)-h, --helphelp for view--merge tristate[=true] Default: trueMerge the full hierarchy of kubeconfig files--minifyRemove all information not used by current-context from the output-o, --output string Default: \"yaml\"Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--rawDisplay raw byte data and sensitive data--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default:",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_view/",
    "id": "k8s_00709_qa_15716"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   m e r g e d   k u b e c o n f i g   s e t t i n g s   o r   a   s p e c i f i e d   k u b e c o n f i g   f i l e .   Y o u   c a n   u s e   - - o u t p u t   j s o n p a t h = { . . . }   t o   e x t r a c t   s p e c i f i c   v a l u e s   u s i n g   a   j s o n p a t h   e x p r e s s i o n .   k u b e c t l   c o n f i g   v i e w   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_view/",
    "id": "k8s_00709_section_2_15717"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S h o w   m e r g e d   k u b e c o n f i g   s e t t i n g s   k u b e c t l   c o n f i g   v i e w   #   S h o w   m e r g e d   k u b e c o n f i g   s e t t i n g s ,   r a w   c e r t i f i c a t e   d a t a ,   a n d   e x p o s e d   s e c r e t s   k u b e c t l   c o n f i g   v i e w   - - r a w   #   G e t   t h e   p a s s w o r d   f o r   t h e   e 2 e   u s e r   k u b e c t l   c o n f i g   v i e w   - o   j s o n p a t h = ' { . u s e r s [ ? ( @ . n a m e   = =   \" e 2 e \" ) ] . u s e r . p a s s w o r d } '",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_view/",
    "id": "k8s_00709_section_2_15718"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   F l a t t e n   t h e   r e s u l t i n g   k u b e c o n f i g   f i l e   i n t o   s e l f - c o n t a i n e d   o u t p u t   ( u s e f u l   f o r   c r e a t i n g   p o r t a b l e   k u b e c o n f i g   f i l e s )   h e l p   f o r   v i e w   M e r g e   t h e   f u l l   h i e r a r c h y   o f   k u b e c o n f i g   f i l e s   R e m o v e   a l l   i n f o r m a t i o n   n o t   u s e d   b y   c u r r e n t - c o n t e x t   f r o m   t h e   o u t p u t   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   D i s p l a y   r a w   b y t e   d a t a   a n d   s e n s i t i v e   d a t a   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t e x t / t e m p l a t e / # p k g - o v e r v i e w ] .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_view/",
    "id": "k8s_00709_section_2_15719"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_view/",
    "id": "k8s_00709_section_2_15720"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_view/",
    "id": "k8s_00709_section_2_15721"
  },
  {
    "question": "What is Developing Cloud Controller Manager?",
    "answer": "Developing Cloud Controller ManagerFEATURE STATE: Kubernetes v1.11 [beta]The cloud-controller-manager is a Kubernetes control plane component that embeds cloud-specific control logic. The cloud controller manager lets you link your cluster into your cloud provider's API, and separates out the components that interact with that cloud platform from components that only interact with your cluster.By decoupling the interoperability logic between Kubernetes and the underlying cloud infrastructure, the cloud-controller-manager component enables cloud providers to release features at a different pace compared to the main Kubernetes project.BackgroundSince cloud providers develop and release at a different pace compared to the Kubernetes project, abstracting the provider-specific code to the cloud-controller-manager binary allows cloud vendors to evolve independently from the core Kubernetes code.The Kubernetes project provides skeleton cloud-controller-manager code with Go interfaces to allow you (or your cloud provider) to plug in your own implementations. This means that a cloud provider can implement a cloud-controller-manager by importing packages from Kubernetes core; each cloudprovider will register their own code by calling cloudprovider.RegisterCloudProvider to update a global variable of available cloud providers.DevelopingOut of treeTo build an out-of-tree cloud-controller-manager for your cloud:Create a go package with an implementation that satisfies cloudprovider.Interface.Use main.go in cloud-controller-manager from Kubernetes core as a template for your main.go. As mentioned above, the only difference should be the cloud package that will be imported.Import your cloud package in main.go, ensure your package has an init block to run cloudprovider.RegisterCloudProvider.Many cloud providers publish their controller manager code as open source. If you are creating a new cloud-controller-manager from scratch, you could take an existing out-of-tree cloud controller manager as your starting point.In treeFor in-tree cloud providers, you can run the in-tree cloud controller manager as a DaemonSet in your cluster. See Cloud Controller Manager Administration for more details.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/developing-cloud-controller-manager/",
    "id": "k8s_00710_qa_15722"
  },
  {
    "question": "How does Developing Cloud Controller Manager work?",
    "answer": "Developing Cloud Controller ManagerFEATURE STATE: Kubernetes v1.11 [beta]The cloud-controller-manager is a Kubernetes control plane component that embeds cloud-specific control logic. The cloud controller manager lets you link your cluster into your cloud provider's API, and separates out the components that interact with that cloud platform from components that only interact with your cluster.By decoupling the interoperability logic between Kubernetes and the underlying cloud infrastructure, the cloud-controller-manager component enables cloud providers to release features at a different pace compared to the main Kubernetes project.BackgroundSince cloud providers develop and release at a different pace compared to the Kubernetes project, abstracting the provider-specific code to the cloud-controller-manager binary allows cloud vendors to evolve independently from the core Kubernetes code.The Kubernetes project provides skeleton cloud-controller-manager code with Go interfaces to allow you (or your cloud provider) to plug in your own implementations. This means that a cloud provider can implement a cloud-controller-manager by importing packages from Kubernetes core; each cloudprovider will register their own code by calling cloudprovider.RegisterCloudProvider to update a global variable of available cloud providers.DevelopingOut of treeTo build an out-of-tree cloud-controller-manager for your cloud:Create a go package with an implementation that satisfies cloudprovider.Interface.Use main.go in cloud-controller-manager from Kubernetes core as a template for your main.go. As mentioned above, the only difference should be the cloud package that will be imported.Import your cloud package in main.go, ensure your package has an init block to run cloudprovider.RegisterCloudProvider.Many cloud providers publish their controller manager code as open source. If you are creating a new cloud-controller-manager from scratch, you could take an existing out-of-tree cloud controller manager as your starting point.In treeFor in-tree cloud providers, you can run the in-tree cloud controller manager as a DaemonSet in your cluster. See Cloud Controller Manager Administration for more details.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/developing-cloud-controller-manager/",
    "id": "k8s_00710_qa_15723"
  },
  {
    "question": "When would you use Developing Cloud Controller Manager?",
    "answer": "Developing Cloud Controller ManagerFEATURE STATE: Kubernetes v1.11 [beta]The cloud-controller-manager is a Kubernetes control plane component that embeds cloud-specific control logic. The cloud controller manager lets you link your cluster into your cloud provider's API, and separates out the components that interact with that cloud platform from components that only interact with your cluster.By decoupling the interoperability logic between Kubernetes and the underlying cloud infrastructure, the cloud-controller-manager component enables cloud providers to release features at a different pace compared to the main Kubernetes project.BackgroundSince cloud providers develop and release at a different pace compared to the Kubernetes project, abstracting the provider-specific code to the cloud-controller-manager binary allows cloud vendors to evolve independently from the core Kubernetes code.The Kubernetes project provides skeleton cloud-controller-manager code with Go interfaces to allow you (or your cloud provider) to plug in your own implementations. This means that a cloud provider can implement a cloud-controller-manager by importing packages from Kubernetes core; each cloudprovider will register their own code by calling cloudprovider.RegisterCloudProvider to update a global variable of available cloud providers.DevelopingOut of treeTo build an out-of-tree cloud-controller-manager for your cloud:Create a go package with an implementation that satisfies cloudprovider.Interface.Use main.go in cloud-controller-manager from Kubernetes core as a template for your main.go. As mentioned above, the only difference should be the cloud package that will be imported.Import your cloud package in main.go, ensure your package has an init block to run cloudprovider.RegisterCloudProvider.Many cloud providers publish their controller manager code as open source. If you are creating a new cloud-controller-manager from scratch, you could take an existing out-of-tree cloud controller manager as your starting point.In treeFor in-tree cloud providers, you can run the in-tree cloud controller manager as a DaemonSet in your cluster. See Cloud Controller Manager Administration for more details.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/developing-cloud-controller-manager/",
    "id": "k8s_00710_qa_15724"
  },
  {
    "question": "What are the benefits of Developing Cloud Controller Manager?",
    "answer": "Developing Cloud Controller ManagerFEATURE STATE: Kubernetes v1.11 [beta]The cloud-controller-manager is a Kubernetes control plane component that embeds cloud-specific control logic. The cloud controller manager lets you link your cluster into your cloud provider's API, and separates out the components that interact with that cloud platform from components that only interact with your cluster.By decoupling the interoperability logic between Kubernetes and the underlying cloud infrastructure, the cloud-controller-manager component enables cloud providers to release features at a different pace compared to the main Kubernetes project.BackgroundSince cloud providers develop and release at a different pace compared to the Kubernetes project, abstracting the provider-specific code to the cloud-controller-manager binary allows cloud vendors to evolve independently from the core Kubernetes code.The Kubernetes project provides skeleton cloud-controller-manager code with Go interfaces to allow you (or your cloud provider) to plug in your own implementations. This means that a cloud provider can implement a cloud-controller-manager by importing packages from Kubernetes core; each cloudprovider will register their own code by calling cloudprovider.RegisterCloudProvider to update a global variable of available cloud providers.DevelopingOut of treeTo build an out-of-tree cloud-controller-manager for your cloud:Create a go package with an implementation that satisfies cloudprovider.Interface.Use main.go in cloud-controller-manager from Kubernetes core as a template for your main.go. As mentioned above, the only difference should be the cloud package that will be imported.Import your cloud package in main.go, ensure your package has an init block to run cloudprovider.RegisterCloudProvider.Many cloud providers publish their controller manager code as open source. If you are creating a new cloud-controller-manager from scratch, you could take an existing out-of-tree cloud controller manager as your starting point.In treeFor in-tree cloud providers, you can run the in-tree cloud controller manager as a DaemonSet in your cluster. See Cloud Controller Manager Administration for more details.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/developing-cloud-controller-manager/",
    "id": "k8s_00710_qa_15725"
  },
  {
    "question": "What is Developing Cloud Controller Manager?",
    "answer": "T h e   c l o u d - c o n t r o l l e r - m a n a g e r   i s   a   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t   t h a t   e m b e d s   c l o u d - s p e c i f i c   c o n t r o l   l o g i c .   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   l e t s   y o u   l i n k   y o u r   c l u s t e r   i n t o   y o u r   c l o u d   p r o v i d e r ' s   A P I ,   a n d   s e p a r a t e s   o u t   t h e   c o m p o n e n t s   t h a t   i n t e r a c t   w i t h   t h a t   c l o u d   p l a t f o r m   f r o m   c o m p o n e n t s   t h a t   o n l y   i n t e r a c t   w i t h   y o u r   c l u s t e r .   T h e   c l o u d - c o n t r o l l e r - m a n a g e r   i s   a   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t   t h a t   e m b e d s   c l o u d - s p e c i f i c   c o n t r o l   l o g i c .   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   l e t s   y o u   l i n k   y o u r   c l u s t e r   i n t o   y o u r   c l o u d   p r o v i d e r ' s   A P I ,   a n d   s e p a r a t e s   o u t   t h e   c o m p o n e n t s   t h a t   i n t e r a c t   w i t h   t h a t   c l o u d   p l a t f o r m   f r o m   c o m p o n e n t s   t h a t   o n l y   i n t e r a c t   w i t h   y o u r   c l u s t e r .   B y   d e c o u p l i n g   t h e   i n t e r o p e r a b i l i t y   l o g i c   b e t w e e n   K u b e r n e t e s   a n d   t h e   u n d e r l y i n g   c l o u d   i n f r a s t r u c t u r e ,   t h e   c l o u d - c o n t r o l l e r - m a n a g e r   c o m p o n e n t   e n a b l e s   c l o u d   p r o v i d e r s   t o   r e l e a s e   f e a t u r e s   a t   a   d i f f e r e n t   p a c e   c o m p a r e d   t o   t h e   m a i n   K u b e r n e t e s   p r o j e c t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/developing-cloud-controller-manager/",
    "id": "k8s_00710_section_1_15726"
  },
  {
    "question": "What is Background?",
    "answer": "S i n c e   c l o u d   p r o v i d e r s   d e v e l o p   a n d   r e l e a s e   a t   a   d i f f e r e n t   p a c e   c o m p a r e d   t o   t h e   K u b e r n e t e s   p r o j e c t ,   a b s t r a c t i n g   t h e   p r o v i d e r - s p e c i f i c   c o d e   t o   t h e   c l o u d - c o n t r o l l e r - m a n a g e r   b i n a r y   a l l o w s   c l o u d   v e n d o r s   t o   e v o l v e   i n d e p e n d e n t l y   f r o m   t h e   c o r e   K u b e r n e t e s   c o d e .   T h e   K u b e r n e t e s   p r o j e c t   p r o v i d e s   s k e l e t o n   c l o u d - c o n t r o l l e r - m a n a g e r   c o d e   w i t h   G o   i n t e r f a c e s   t o   a l l o w   y o u   ( o r   y o u r   c l o u d   p r o v i d e r )   t o   p l u g   i n   y o u r   o w n   i m p l e m e n t a t i o n s .   T h i s   m e a n s   t h a t   a   c l o u d   p r o v i d e r   c a n   i m p l e m e n t   a   c l o u d - c o n t r o l l e r - m a n a g e r   b y   i m p o r t i n g   p a c k a g e s   f r o m   K u b e r n e t e s   c o r e ;   e a c h   c l o u d p r o v i d e r   w i l l   r e g i s t e r   t h e i r   o w n   c o d e   b y   c a l l i n g   c l o u d p r o v i d e r . R e g i s t e r C l o u d P r o v i d e r   t o   u p d a t e   a   g l o b a l   v a r i a b l e   o f   a v a i l a b l e   c l o u d   p r o v i d e r s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/developing-cloud-controller-manager/",
    "id": "k8s_00710_section_2_15727"
  },
  {
    "question": "What is Out of tree?",
    "answer": "T o   b u i l d   a n   o u t - o f - t r e e   c l o u d - c o n t r o l l e r - m a n a g e r   f o r   y o u r   c l o u d :   C r e a t e   a   g o   p a c k a g e   w i t h   a n   i m p l e m e n t a t i o n   t h a t   s a t i s f i e s   c l o u d p r o v i d e r . I n t e r f a c e . U s e   m a i n . g o   i n   c l o u d - c o n t r o l l e r - m a n a g e r   f r o m   K u b e r n e t e s   c o r e   a s   a   t e m p l a t e   f o r   y o u r   m a i n . g o .   A s   m e n t i o n e d   a b o v e ,   t h e   o n l y   d i f f e r e n c e   s h o u l d   b e   t h e   c l o u d   p a c k a g e   t h a t   w i l l   b e   i m p o r t e d . I m p o r t   y o u r   c l o u d   p a c k a g e   i n   m a i n . g o ,   e n s u r e   y o u r   p a c k a g e   h a s   a n   i n i t   b l o c k   t o   r u n   c l o u d p r o v i d e r . R e g i s t e r C l o u d P r o v i d e r .   M a n y   c l o u d   p r o v i d e r s   p u b l i s h   t h e i r   c o n t r o l l e r   m a n a g e r   c o d e   a s   o p e n   s o u r c e .   I f   y o u   a r e   c r e a t i n g   a   n e w   c l o u d - c o n t r o l l e r - m a n a g e r   f r o m   s c r a t c h ,   y o u   c o u l d   t a k e   a n   e x i s t i n g   o u t - o f - t r e e   c l o u d   c o n t r o l l e r   m a n a g e r   a s   y o u r   s t a r t i n g   p o i n t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/developing-cloud-controller-manager/",
    "id": "k8s_00710_section_3_15728"
  },
  {
    "question": "What is In tree?",
    "answer": "F o r   i n - t r e e   c l o u d   p r o v i d e r s ,   y o u   c a n   r u n   t h e   i n - t r e e   c l o u d   c o n t r o l l e r   m a n a g e r   a s   a   D a e m o n S e t   i n   y o u r   c l u s t e r .   S e e   C l o u d   C o n t r o l l e r   M a n a g e r   A d m i n i s t r a t i o n   f o r   m o r e   d e t a i l s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/developing-cloud-controller-manager/",
    "id": "k8s_00710_section_3_15729"
  },
  {
    "question": "What is kubectl cluster-info dump?",
    "answer": "kubectl cluster-info dumpSynopsisDump cluster information out suitable for debugging and diagnosing cluster problems. By default, dumps everything to stdout. You can optionally specify a directory with --output-directory. If you specify a directory, Kubernetes will build a set of files in that directory. By default, only dumps things in the current namespace and 'kube-system' namespace, but you can switch to a different namespace with the --namespaces flag, or specify --all-namespaces to dump all namespaces.The command also dumps the logs of all of the pods in the cluster; these logs are dumped into different directories based on namespace and pod name.kubectl cluster-info dump [flags] Examples # Dump current cluster state to stdout kubectl cluster-info dump # Dump current cluster state to /path/to/cluster-state kubectl cluster-info dump --output-directory=/path/to/cluster-state # Dump all namespaces to stdout kubectl cluster-info dump --all-namespaces # Dump a set of namespaces to /path/to/cluster-state kubectl cluster-info dump --namespaces default,kube-system --output-directory=/path/to/cluster-state Options-A, --all-namespacesIf true, dump all namespaces. If true, --namespaces is ignored.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-h, --helphelp for dump--namespaces stringsA comma separated list of namespaces to dump.-o, --output string Default: \"json\"Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--output-directory stringWhere to output the files. If empty or '-' uses stdout, otherwise creates a directory hierarchy in that directory--pod-running-timeout duration Default: 20sThe length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one pod is running--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cluster-info/kubectl_cluster-info_dump/",
    "id": "k8s_00711_qa_15730"
  },
  {
    "question": "How does kubectl cluster-info dump work?",
    "answer": "kubectl cluster-info dumpSynopsisDump cluster information out suitable for debugging and diagnosing cluster problems. By default, dumps everything to stdout. You can optionally specify a directory with --output-directory. If you specify a directory, Kubernetes will build a set of files in that directory. By default, only dumps things in the current namespace and 'kube-system' namespace, but you can switch to a different namespace with the --namespaces flag, or specify --all-namespaces to dump all namespaces.The command also dumps the logs of all of the pods in the cluster; these logs are dumped into different directories based on namespace and pod name.kubectl cluster-info dump [flags] Examples # Dump current cluster state to stdout kubectl cluster-info dump # Dump current cluster state to /path/to/cluster-state kubectl cluster-info dump --output-directory=/path/to/cluster-state # Dump all namespaces to stdout kubectl cluster-info dump --all-namespaces # Dump a set of namespaces to /path/to/cluster-state kubectl cluster-info dump --namespaces default,kube-system --output-directory=/path/to/cluster-state Options-A, --all-namespacesIf true, dump all namespaces. If true, --namespaces is ignored.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-h, --helphelp for dump--namespaces stringsA comma separated list of namespaces to dump.-o, --output string Default: \"json\"Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--output-directory stringWhere to output the files. If empty or '-' uses stdout, otherwise creates a directory hierarchy in that directory--pod-running-timeout duration Default: 20sThe length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one pod is running--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cluster-info/kubectl_cluster-info_dump/",
    "id": "k8s_00711_qa_15731"
  },
  {
    "question": "When would you use kubectl cluster-info dump?",
    "answer": "kubectl cluster-info dumpSynopsisDump cluster information out suitable for debugging and diagnosing cluster problems. By default, dumps everything to stdout. You can optionally specify a directory with --output-directory. If you specify a directory, Kubernetes will build a set of files in that directory. By default, only dumps things in the current namespace and 'kube-system' namespace, but you can switch to a different namespace with the --namespaces flag, or specify --all-namespaces to dump all namespaces.The command also dumps the logs of all of the pods in the cluster; these logs are dumped into different directories based on namespace and pod name.kubectl cluster-info dump [flags] Examples # Dump current cluster state to stdout kubectl cluster-info dump # Dump current cluster state to /path/to/cluster-state kubectl cluster-info dump --output-directory=/path/to/cluster-state # Dump all namespaces to stdout kubectl cluster-info dump --all-namespaces # Dump a set of namespaces to /path/to/cluster-state kubectl cluster-info dump --namespaces default,kube-system --output-directory=/path/to/cluster-state Options-A, --all-namespacesIf true, dump all namespaces. If true, --namespaces is ignored.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-h, --helphelp for dump--namespaces stringsA comma separated list of namespaces to dump.-o, --output string Default: \"json\"Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--output-directory stringWhere to output the files. If empty or '-' uses stdout, otherwise creates a directory hierarchy in that directory--pod-running-timeout duration Default: 20sThe length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one pod is running--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cluster-info/kubectl_cluster-info_dump/",
    "id": "k8s_00711_qa_15732"
  },
  {
    "question": "What are the benefits of kubectl cluster-info dump?",
    "answer": "kubectl cluster-info dumpSynopsisDump cluster information out suitable for debugging and diagnosing cluster problems. By default, dumps everything to stdout. You can optionally specify a directory with --output-directory. If you specify a directory, Kubernetes will build a set of files in that directory. By default, only dumps things in the current namespace and 'kube-system' namespace, but you can switch to a different namespace with the --namespaces flag, or specify --all-namespaces to dump all namespaces.The command also dumps the logs of all of the pods in the cluster; these logs are dumped into different directories based on namespace and pod name.kubectl cluster-info dump [flags] Examples # Dump current cluster state to stdout kubectl cluster-info dump # Dump current cluster state to /path/to/cluster-state kubectl cluster-info dump --output-directory=/path/to/cluster-state # Dump all namespaces to stdout kubectl cluster-info dump --all-namespaces # Dump a set of namespaces to /path/to/cluster-state kubectl cluster-info dump --namespaces default,kube-system --output-directory=/path/to/cluster-state Options-A, --all-namespacesIf true, dump all namespaces. If true, --namespaces is ignored.--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-h, --helphelp for dump--namespaces stringsA comma separated list of namespaces to dump.-o, --output string Default: \"json\"Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--output-directory stringWhere to output the files. If empty or '-' uses stdout, otherwise creates a directory hierarchy in that directory--pod-running-timeout duration Default: 20sThe length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one pod is running--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cluster-info/kubectl_cluster-info_dump/",
    "id": "k8s_00711_qa_15733"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D u m p   c l u s t e r   i n f o r m a t i o n   o u t   s u i t a b l e   f o r   d e b u g g i n g   a n d   d i a g n o s i n g   c l u s t e r   p r o b l e m s .   B y   d e f a u l t ,   d u m p s   e v e r y t h i n g   t o   s t d o u t .   Y o u   c a n   o p t i o n a l l y   s p e c i f y   a   d i r e c t o r y   w i t h   - - o u t p u t - d i r e c t o r y .   I f   y o u   s p e c i f y   a   d i r e c t o r y ,   K u b e r n e t e s   w i l l   b u i l d   a   s e t   o f   f i l e s   i n   t h a t   d i r e c t o r y .   B y   d e f a u l t ,   o n l y   d u m p s   t h i n g s   i n   t h e   c u r r e n t   n a m e s p a c e   a n d   ' k u b e - s y s t e m '   n a m e s p a c e ,   b u t   y o u   c a n   s w i t c h   t o   a   d i f f e r e n t   n a m e s p a c e   w i t h   t h e   - - n a m e s p a c e s   f l a g ,   o r   s p e c i f y   - - a l l - n a m e s p a c e s   t o   d u m p   a l l   n a m e s p a c e s .   T h e   c o m m a n d   a l s o   d u m p s   t h e   l o g s   o f   a l l   o f   t h e   p o d s   i n   t h e   c l u s t e r ;   t h e s e   l o g s   a r e   d u m p e d   i n t o   d i f f e r e n t   d i r e c t o r i e s   b a s e d   o n   n a m e s p a c e   a n d   p o d   n a m e .   k u b e c t l   c l u s t e r - i n f o   d u m p   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cluster-info/kubectl_cluster-info_dump/",
    "id": "k8s_00711_section_2_15734"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D u m p   c u r r e n t   c l u s t e r   s t a t e   t o   s t d o u t   k u b e c t l   c l u s t e r - i n f o   d u m p   #   D u m p   c u r r e n t   c l u s t e r   s t a t e   t o   / p a t h / t o / c l u s t e r - s t a t e   k u b e c t l   c l u s t e r - i n f o   d u m p   - - o u t p u t - d i r e c t o r y = / p a t h / t o / c l u s t e r - s t a t e   #   D u m p   a l l   n a m e s p a c e s   t o   s t d o u t   k u b e c t l   c l u s t e r - i n f o   d u m p   - - a l l - n a m e s p a c e s   #   D u m p   a   s e t   o f   n a m e s p a c e s   t o   / p a t h / t o / c l u s t e r - s t a t e   k u b e c t l   c l u s t e r - i n f o   d u m p   - - n a m e s p a c e s   d e f a u l t , k u b e - s y s t e m   - - o u t p u t - d i r e c t o r y = / p a t h / t o / c l u s t e r - s t a t e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cluster-info/kubectl_cluster-info_dump/",
    "id": "k8s_00711_section_2_15735"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   d u m p   a l l   n a m e s p a c e s .   I f   t r u e ,   - - n a m e s p a c e s   i s   i g n o r e d .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   h e l p   f o r   d u m p   A   c o m m a   s e p a r a t e d   l i s t   o f   n a m e s p a c e s   t o   d u m p .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   W h e r e   t o   o u t p u t   t h e   f i l e s .   I f   e m p t y   o r   ' - '   u s e s   s t d o u t ,   o t h e r w i s e   c r e a t e s   a   d i r e c t o r y   h i e r a r c h y   i n   t h a t   d i r e c t o r y   T h e   l e n g t h   o f   t i m e   ( l i k e   5 s ,   2 m ,   o r   3 h ,   h i g h e r   t h a n   z e r o )   t o   w a i t   u n t i l   a t   l e a s t   o n e   p o d   i s   r u n n i n g   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t e x t / t e m p l a t e / # p k g - o v e r v i e w ] .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cluster-info/kubectl_cluster-info_dump/",
    "id": "k8s_00711_section_2_15736"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cluster-info/kubectl_cluster-info_dump/",
    "id": "k8s_00711_section_2_15737"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c l u s t e r - i n f o   -   D i s p l a y   c l u s t e r   i n f o r m a t i o n   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cluster-info/kubectl_cluster-info_dump/",
    "id": "k8s_00711_section_2_15738"
  },
  {
    "question": "What is kubectl run?",
    "answer": "kubectl runSynopsisCreate and run a particular image in a pod.kubectl run NAME --image=image [--env=\"key=value\"] [--port=port] [--dry-run=server|client] [--overrides=inline-json] [--command] -- [COMMAND] [args...] Examples # Start a nginx pod kubectl run nginx --image=nginx # Start a hazelcast pod and let the container expose port 5701 kubectl run hazelcast --image=hazelcast/hazelcast --port=5701 # Start a hazelcast pod and set environment variables \"DNS_DOMAIN=cluster\" and \"POD_NAMESPACE=default\" in the container kubectl run hazelcast --image=hazelcast/hazelcast --env=\"DNS_DOMAIN=cluster\" --env=\"POD_NAMESPACE=default\" # Start a hazelcast pod and set labels \"app=hazelcast\" and \"env=prod\" in the container kubectl run hazelcast --image=hazelcast/hazelcast --labels=\"app=hazelcast,env=prod\" # Dry run; print the corresponding API objects without creating them kubectl run nginx --image=nginx --dry-run=client # Start a nginx pod, but overload the spec with a partial set of values parsed from JSON kubectl run nginx --image=nginx --overrides='{ \"apiVersion\": \"v1\", \"spec\": { ... } }' # Start a busybox pod and keep it in the foreground, don't restart it if it exits kubectl run -i -t busybox --image=busybox --restart=Never # Start the nginx pod using the default command, but use custom arguments (arg1 .. argN) for that command kubectl run nginx --image=nginx -- <arg1> <arg2> ... <argN> # Start the nginx pod using a different command and custom arguments kubectl run nginx --image=nginx --command -- <cmd> <arg1> ... <argN> Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--annotations stringsAnnotations to apply to the pod.--attachIf true, wait for the Pod to start running, and then attach to the Pod as if 'kubectl attach ...' were called. Default false, unless '-i/--stdin' is set, in which case the default is true. With '--restart=Never' the exit code of the container process is returned.--cascade string[=\"background\"] Default: \"background\"Must be \"background\", \"orphan\", or \"foreground\". Selects the deletion cascading strategy for the dependents (e.g. Pods created by a ReplicationController). Defaults to background.--commandIf true and extra arguments are present, use them as the 'command' field in the container, rather than the 'args' field which is the default.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--env stringsEnvironment variables to set in the container.--expose --portIf true, create a ClusterIP service associated with the pod. Requires --port.--field-manager string Default: \"kubectl-run\"Name of the manager used to track field ownership.-f, --filename stringsto use to replace the resource.--forceIf true, immed",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_run/",
    "id": "k8s_00712_qa_15739"
  },
  {
    "question": "How does kubectl run work?",
    "answer": "kubectl runSynopsisCreate and run a particular image in a pod.kubectl run NAME --image=image [--env=\"key=value\"] [--port=port] [--dry-run=server|client] [--overrides=inline-json] [--command] -- [COMMAND] [args...] Examples # Start a nginx pod kubectl run nginx --image=nginx # Start a hazelcast pod and let the container expose port 5701 kubectl run hazelcast --image=hazelcast/hazelcast --port=5701 # Start a hazelcast pod and set environment variables \"DNS_DOMAIN=cluster\" and \"POD_NAMESPACE=default\" in the container kubectl run hazelcast --image=hazelcast/hazelcast --env=\"DNS_DOMAIN=cluster\" --env=\"POD_NAMESPACE=default\" # Start a hazelcast pod and set labels \"app=hazelcast\" and \"env=prod\" in the container kubectl run hazelcast --image=hazelcast/hazelcast --labels=\"app=hazelcast,env=prod\" # Dry run; print the corresponding API objects without creating them kubectl run nginx --image=nginx --dry-run=client # Start a nginx pod, but overload the spec with a partial set of values parsed from JSON kubectl run nginx --image=nginx --overrides='{ \"apiVersion\": \"v1\", \"spec\": { ... } }' # Start a busybox pod and keep it in the foreground, don't restart it if it exits kubectl run -i -t busybox --image=busybox --restart=Never # Start the nginx pod using the default command, but use custom arguments (arg1 .. argN) for that command kubectl run nginx --image=nginx -- <arg1> <arg2> ... <argN> # Start the nginx pod using a different command and custom arguments kubectl run nginx --image=nginx --command -- <cmd> <arg1> ... <argN> Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--annotations stringsAnnotations to apply to the pod.--attachIf true, wait for the Pod to start running, and then attach to the Pod as if 'kubectl attach ...' were called. Default false, unless '-i/--stdin' is set, in which case the default is true. With '--restart=Never' the exit code of the container process is returned.--cascade string[=\"background\"] Default: \"background\"Must be \"background\", \"orphan\", or \"foreground\". Selects the deletion cascading strategy for the dependents (e.g. Pods created by a ReplicationController). Defaults to background.--commandIf true and extra arguments are present, use them as the 'command' field in the container, rather than the 'args' field which is the default.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--env stringsEnvironment variables to set in the container.--expose --portIf true, create a ClusterIP service associated with the pod. Requires --port.--field-manager string Default: \"kubectl-run\"Name of the manager used to track field ownership.-f, --filename stringsto use to replace the resource.--forceIf true, immed",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_run/",
    "id": "k8s_00712_qa_15740"
  },
  {
    "question": "When would you use kubectl run?",
    "answer": "kubectl runSynopsisCreate and run a particular image in a pod.kubectl run NAME --image=image [--env=\"key=value\"] [--port=port] [--dry-run=server|client] [--overrides=inline-json] [--command] -- [COMMAND] [args...] Examples # Start a nginx pod kubectl run nginx --image=nginx # Start a hazelcast pod and let the container expose port 5701 kubectl run hazelcast --image=hazelcast/hazelcast --port=5701 # Start a hazelcast pod and set environment variables \"DNS_DOMAIN=cluster\" and \"POD_NAMESPACE=default\" in the container kubectl run hazelcast --image=hazelcast/hazelcast --env=\"DNS_DOMAIN=cluster\" --env=\"POD_NAMESPACE=default\" # Start a hazelcast pod and set labels \"app=hazelcast\" and \"env=prod\" in the container kubectl run hazelcast --image=hazelcast/hazelcast --labels=\"app=hazelcast,env=prod\" # Dry run; print the corresponding API objects without creating them kubectl run nginx --image=nginx --dry-run=client # Start a nginx pod, but overload the spec with a partial set of values parsed from JSON kubectl run nginx --image=nginx --overrides='{ \"apiVersion\": \"v1\", \"spec\": { ... } }' # Start a busybox pod and keep it in the foreground, don't restart it if it exits kubectl run -i -t busybox --image=busybox --restart=Never # Start the nginx pod using the default command, but use custom arguments (arg1 .. argN) for that command kubectl run nginx --image=nginx -- <arg1> <arg2> ... <argN> # Start the nginx pod using a different command and custom arguments kubectl run nginx --image=nginx --command -- <cmd> <arg1> ... <argN> Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--annotations stringsAnnotations to apply to the pod.--attachIf true, wait for the Pod to start running, and then attach to the Pod as if 'kubectl attach ...' were called. Default false, unless '-i/--stdin' is set, in which case the default is true. With '--restart=Never' the exit code of the container process is returned.--cascade string[=\"background\"] Default: \"background\"Must be \"background\", \"orphan\", or \"foreground\". Selects the deletion cascading strategy for the dependents (e.g. Pods created by a ReplicationController). Defaults to background.--commandIf true and extra arguments are present, use them as the 'command' field in the container, rather than the 'args' field which is the default.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--env stringsEnvironment variables to set in the container.--expose --portIf true, create a ClusterIP service associated with the pod. Requires --port.--field-manager string Default: \"kubectl-run\"Name of the manager used to track field ownership.-f, --filename stringsto use to replace the resource.--forceIf true, immed",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_run/",
    "id": "k8s_00712_qa_15741"
  },
  {
    "question": "What are the benefits of kubectl run?",
    "answer": "kubectl runSynopsisCreate and run a particular image in a pod.kubectl run NAME --image=image [--env=\"key=value\"] [--port=port] [--dry-run=server|client] [--overrides=inline-json] [--command] -- [COMMAND] [args...] Examples # Start a nginx pod kubectl run nginx --image=nginx # Start a hazelcast pod and let the container expose port 5701 kubectl run hazelcast --image=hazelcast/hazelcast --port=5701 # Start a hazelcast pod and set environment variables \"DNS_DOMAIN=cluster\" and \"POD_NAMESPACE=default\" in the container kubectl run hazelcast --image=hazelcast/hazelcast --env=\"DNS_DOMAIN=cluster\" --env=\"POD_NAMESPACE=default\" # Start a hazelcast pod and set labels \"app=hazelcast\" and \"env=prod\" in the container kubectl run hazelcast --image=hazelcast/hazelcast --labels=\"app=hazelcast,env=prod\" # Dry run; print the corresponding API objects without creating them kubectl run nginx --image=nginx --dry-run=client # Start a nginx pod, but overload the spec with a partial set of values parsed from JSON kubectl run nginx --image=nginx --overrides='{ \"apiVersion\": \"v1\", \"spec\": { ... } }' # Start a busybox pod and keep it in the foreground, don't restart it if it exits kubectl run -i -t busybox --image=busybox --restart=Never # Start the nginx pod using the default command, but use custom arguments (arg1 .. argN) for that command kubectl run nginx --image=nginx -- <arg1> <arg2> ... <argN> # Start the nginx pod using a different command and custom arguments kubectl run nginx --image=nginx --command -- <cmd> <arg1> ... <argN> Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--annotations stringsAnnotations to apply to the pod.--attachIf true, wait for the Pod to start running, and then attach to the Pod as if 'kubectl attach ...' were called. Default false, unless '-i/--stdin' is set, in which case the default is true. With '--restart=Never' the exit code of the container process is returned.--cascade string[=\"background\"] Default: \"background\"Must be \"background\", \"orphan\", or \"foreground\". Selects the deletion cascading strategy for the dependents (e.g. Pods created by a ReplicationController). Defaults to background.--commandIf true and extra arguments are present, use them as the 'command' field in the container, rather than the 'args' field which is the default.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--env stringsEnvironment variables to set in the container.--expose --portIf true, create a ClusterIP service associated with the pod. Requires --port.--field-manager string Default: \"kubectl-run\"Name of the manager used to track field ownership.-f, --filename stringsto use to replace the resource.--forceIf true, immed",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_run/",
    "id": "k8s_00712_qa_15742"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a n d   r u n   a   p a r t i c u l a r   i m a g e   i n   a   p o d .   k u b e c t l   r u n   N A M E   - - i m a g e = i m a g e   [ - - e n v = \" k e y = v a l u e \" ]   [ - - p o r t = p o r t ]   [ - - d r y - r u n = s e r v e r | c l i e n t ]   [ - - o v e r r i d e s = i n l i n e - j s o n ]   [ - - c o m m a n d ]   - -   [ C O M M A N D ]   [ a r g s . . . ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_run/",
    "id": "k8s_00712_section_2_15743"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S t a r t   a   n g i n x   p o d   k u b e c t l   r u n   n g i n x   - - i m a g e = n g i n x   #   S t a r t   a   h a z e l c a s t   p o d   a n d   l e t   t h e   c o n t a i n e r   e x p o s e   p o r t   5 7 0 1   k u b e c t l   r u n   h a z e l c a s t   - - i m a g e = h a z e l c a s t / h a z e l c a s t   - - p o r t = 5 7 0 1   #   S t a r t   a   h a z e l c a s t   p o d   a n d   s e t   e n v i r o n m e n t   v a r i a b l e s   \" D N S _ D O M A I N = c l u s t e r \"   a n d   \" P O D _ N A M E S P A C E = d e f a u l t \"   i n   t h e   c o n t a i n e r   k u b e c t l   r u n   h a z e l c a s t   - - i m a g e = h a z e l c a s t / h a z e l c a s t   - - e n v = \" D N S _ D O M A I N = c l u s t e r \"   - - e n v = \" P O D _ N A M E S P A C E = d e f a u l t \"   #   S t a r t   a   h a z e l c a s t   p o d   a n d   s e t   l a b e l s   \" a p p = h a z e l c a s t \"   a n d   \" e n v = p r o d \"   i n   t h e   c o n t a i n e r   k u b e c t l   r u n   h a z e l c a s t   - - i m a g e = h a z e l c a s t / h a z e l c a s t   - - l a b e l s = \" a p p = h a z e l c a s t , e n v = p r o d \"   #   D r y   r u n ;   p r i n t   t h e   c o r r e s p o n d i n g   A P I   o b j e c t s   w i t h o u t   c r e a t i n g   t h e m   k u b e c t l   r u n   n g i n x   - - i m a g e = n g i n x   - - d r y - r u n = c l i e n t   #   S t a r t   a   n g i n x   p o d ,   b u t   o v e r l o a d   t h e   s p e c   w i t h   a   p a r t i a l   s e t   o f   v a l u e s   p a r s e d   f r o m   J S O N   k u b e c t l   r u n   n g i n x   - - i m a g e = n g i n x   - - o v e r r i d e s = ' {   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" s p e c \" :   {   . . .   }   } '   #   S t a r t   a   b u s y b o x   p o d   a n d   k e e p   i t   i n   t h e   f o r e g r o u n d ,   d o n ' t   r e s t a r t   i t   i f   i t   e x i t s   k u b e c t l   r u n   - i   - t   b u s y b o x   - - i m a g e = b u s y b o x   - - r e s t a r ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_run/",
    "id": "k8s_00712_section_2_15744"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   A n n o t a t i o n s   t o   a p p l y   t o   t h e   p o d .   I f   t r u e ,   w a i t   f o r   t h e   P o d   t o   s t a r t   r u n n i n g ,   a n d   t h e n   a t t a c h   t o   t h e   P o d   a s   i f   ' k u b e c t l   a t t a c h   . . . '   w e r e   c a l l e d .   D e f a u l t   f a l s e ,   u n l e s s   ' - i / - - s t d i n '   i s   s e t ,   i n   w h i c h   c a s e   t h e   d e f a u l t   i s   t r u e .   W i t h   ' - - r e s t a r t = N e v e r '   t h e   e x i t   c o d e   o f   t h e   c o n t a i n e r   p r o c e s s   i s   r e t u r n e d .   M u s t   b e   \" b a c k g r o u n d \" ,   \" o r p h a n \" ,   o r   \" f o r e g r o u n d \" .   S e l e c t s   t h e   d e l e t i o n   c a s c a d i n g   s t r a t e g y   f o r   t h e   d e p e n d e n t s   ( e . g .   P o d s   c r e a t e d   b y   a   R e p l i c a t i o n C o n t r o l l e r ) .   D e f a u l t s   t o   b a c k g r o u n d .   I f   t r u e   a n d   e x t r a   a r g u m e n t s   a r e   p r e s e n t ,   u s e   t h e m   a s   t h e   ' c o m m a n d '   f i e l d   i n   t h e   c o n t a i n e r ,   r a t h e r   t h a n   t h e   ' a r g s '   f i e l d   w h i c h   i s   t h e   d e f a u l t .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   E n v i r o n m e n t   v a r i a b l e s   t o   s e t   i n   t h e   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_run/",
    "id": "k8s_00712_section_2_15745"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_run/",
    "id": "k8s_00712_section_2_15746"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_run/",
    "id": "k8s_00712_section_2_15747"
  },
  {
    "question": "What is Glossary?",
    "answer": "GlossaryThis glossary is intended to be a comprehensive, standardized list of Kubernetes terminology. It includes technical terms that are specific to Kubernetes, as well as more general terms that provide useful context.Filter terms according to their tags.The inner components of Kubernetes.Related to Kubernetes open-source development.A resource type that Kubernetes supports by default.Supported customizations of Kubernetes.Relevant for a first-time user of Kubernetes.How Kubernetes components talk to each other (and to programs outside the cluster).Starting and maintaining Kubernetes.Keeping Kubernetes applications safe and secure.How Kubernetes applications handle persistent data.Software that makes Kubernetes easier or better to use.Represents a common type of Kubernetes user.Applications running on Kubernetes.Architecture Community Core Object Extension Fundamental Networking Operation Security Storage Tool User Type Workload Select all Deselect allClick on the [+] indicators below to get a longer explanation for any particular term.Add-onsResources that extend the functionality of Kubernetes.[+]Installing addons explains more about using add-ons with your cluster, and lists some popular add-ons.Admission ControllerA piece of code that intercepts requests to the Kubernetes API server prior to persistence of the object.[+]Admission controllers are configurable for the Kubernetes API server and may be \"validating\", \"mutating\", or both. Any admission controller may reject the request. Mutating controllers may modify the objects they admit; validating controllers may not.Admission controllers in the Kubernetes documentationAffinityIn Kubernetes, affinity is a set of rules that give hints to the scheduler about where to place pods.[+]There are two kinds of affinity:node affinitypod-to-pod affinityThe rules are defined using the Kubernetes labels, and selectors specified in pods, and they can be either required or preferred, depending on how strictly you want the scheduler to enforce them.Aggregation LayerThe aggregation layer lets you install additional Kubernetes-style APIs in your cluster.[+]When you've configured the Kubernetes API Server to support additional APIs, you can add APIService objects to \"claim\" a URL path in the Kubernetes API.AnnotationA key-value pair that is used to attach arbitrary non-identifying metadata to objects.[+]The metadata in an annotation can be small or large, structured or unstructured, and can include characters not permitted by labels. Clients such as tools and libraries can retrieve this metadata.API GroupA set of related paths in Kubernetes API.[+]You can enable or disable each API group by changing the configuration of your API server. You can also disable or enable paths to specific resources. An API group makes it easier to extend the Kubernetes API. The API group is specified in a REST path and in the apiVersion field of a serialized object.Read API Group for more information.API resourceAlso known as: Re",
    "category": "reference",
    "subcategory": "glossary",
    "source": "https://kubernetes.io/docs/reference/glossary/",
    "id": "k8s_00713_qa_15748"
  },
  {
    "question": "How does Glossary work?",
    "answer": "GlossaryThis glossary is intended to be a comprehensive, standardized list of Kubernetes terminology. It includes technical terms that are specific to Kubernetes, as well as more general terms that provide useful context.Filter terms according to their tags.The inner components of Kubernetes.Related to Kubernetes open-source development.A resource type that Kubernetes supports by default.Supported customizations of Kubernetes.Relevant for a first-time user of Kubernetes.How Kubernetes components talk to each other (and to programs outside the cluster).Starting and maintaining Kubernetes.Keeping Kubernetes applications safe and secure.How Kubernetes applications handle persistent data.Software that makes Kubernetes easier or better to use.Represents a common type of Kubernetes user.Applications running on Kubernetes.Architecture Community Core Object Extension Fundamental Networking Operation Security Storage Tool User Type Workload Select all Deselect allClick on the [+] indicators below to get a longer explanation for any particular term.Add-onsResources that extend the functionality of Kubernetes.[+]Installing addons explains more about using add-ons with your cluster, and lists some popular add-ons.Admission ControllerA piece of code that intercepts requests to the Kubernetes API server prior to persistence of the object.[+]Admission controllers are configurable for the Kubernetes API server and may be \"validating\", \"mutating\", or both. Any admission controller may reject the request. Mutating controllers may modify the objects they admit; validating controllers may not.Admission controllers in the Kubernetes documentationAffinityIn Kubernetes, affinity is a set of rules that give hints to the scheduler about where to place pods.[+]There are two kinds of affinity:node affinitypod-to-pod affinityThe rules are defined using the Kubernetes labels, and selectors specified in pods, and they can be either required or preferred, depending on how strictly you want the scheduler to enforce them.Aggregation LayerThe aggregation layer lets you install additional Kubernetes-style APIs in your cluster.[+]When you've configured the Kubernetes API Server to support additional APIs, you can add APIService objects to \"claim\" a URL path in the Kubernetes API.AnnotationA key-value pair that is used to attach arbitrary non-identifying metadata to objects.[+]The metadata in an annotation can be small or large, structured or unstructured, and can include characters not permitted by labels. Clients such as tools and libraries can retrieve this metadata.API GroupA set of related paths in Kubernetes API.[+]You can enable or disable each API group by changing the configuration of your API server. You can also disable or enable paths to specific resources. An API group makes it easier to extend the Kubernetes API. The API group is specified in a REST path and in the apiVersion field of a serialized object.Read API Group for more information.API resourceAlso known as: Re",
    "category": "reference",
    "subcategory": "glossary",
    "source": "https://kubernetes.io/docs/reference/glossary/",
    "id": "k8s_00713_qa_15749"
  },
  {
    "question": "When would you use Glossary?",
    "answer": "GlossaryThis glossary is intended to be a comprehensive, standardized list of Kubernetes terminology. It includes technical terms that are specific to Kubernetes, as well as more general terms that provide useful context.Filter terms according to their tags.The inner components of Kubernetes.Related to Kubernetes open-source development.A resource type that Kubernetes supports by default.Supported customizations of Kubernetes.Relevant for a first-time user of Kubernetes.How Kubernetes components talk to each other (and to programs outside the cluster).Starting and maintaining Kubernetes.Keeping Kubernetes applications safe and secure.How Kubernetes applications handle persistent data.Software that makes Kubernetes easier or better to use.Represents a common type of Kubernetes user.Applications running on Kubernetes.Architecture Community Core Object Extension Fundamental Networking Operation Security Storage Tool User Type Workload Select all Deselect allClick on the [+] indicators below to get a longer explanation for any particular term.Add-onsResources that extend the functionality of Kubernetes.[+]Installing addons explains more about using add-ons with your cluster, and lists some popular add-ons.Admission ControllerA piece of code that intercepts requests to the Kubernetes API server prior to persistence of the object.[+]Admission controllers are configurable for the Kubernetes API server and may be \"validating\", \"mutating\", or both. Any admission controller may reject the request. Mutating controllers may modify the objects they admit; validating controllers may not.Admission controllers in the Kubernetes documentationAffinityIn Kubernetes, affinity is a set of rules that give hints to the scheduler about where to place pods.[+]There are two kinds of affinity:node affinitypod-to-pod affinityThe rules are defined using the Kubernetes labels, and selectors specified in pods, and they can be either required or preferred, depending on how strictly you want the scheduler to enforce them.Aggregation LayerThe aggregation layer lets you install additional Kubernetes-style APIs in your cluster.[+]When you've configured the Kubernetes API Server to support additional APIs, you can add APIService objects to \"claim\" a URL path in the Kubernetes API.AnnotationA key-value pair that is used to attach arbitrary non-identifying metadata to objects.[+]The metadata in an annotation can be small or large, structured or unstructured, and can include characters not permitted by labels. Clients such as tools and libraries can retrieve this metadata.API GroupA set of related paths in Kubernetes API.[+]You can enable or disable each API group by changing the configuration of your API server. You can also disable or enable paths to specific resources. An API group makes it easier to extend the Kubernetes API. The API group is specified in a REST path and in the apiVersion field of a serialized object.Read API Group for more information.API resourceAlso known as: Re",
    "category": "reference",
    "subcategory": "glossary",
    "source": "https://kubernetes.io/docs/reference/glossary/",
    "id": "k8s_00713_qa_15750"
  },
  {
    "question": "What are the benefits of Glossary?",
    "answer": "GlossaryThis glossary is intended to be a comprehensive, standardized list of Kubernetes terminology. It includes technical terms that are specific to Kubernetes, as well as more general terms that provide useful context.Filter terms according to their tags.The inner components of Kubernetes.Related to Kubernetes open-source development.A resource type that Kubernetes supports by default.Supported customizations of Kubernetes.Relevant for a first-time user of Kubernetes.How Kubernetes components talk to each other (and to programs outside the cluster).Starting and maintaining Kubernetes.Keeping Kubernetes applications safe and secure.How Kubernetes applications handle persistent data.Software that makes Kubernetes easier or better to use.Represents a common type of Kubernetes user.Applications running on Kubernetes.Architecture Community Core Object Extension Fundamental Networking Operation Security Storage Tool User Type Workload Select all Deselect allClick on the [+] indicators below to get a longer explanation for any particular term.Add-onsResources that extend the functionality of Kubernetes.[+]Installing addons explains more about using add-ons with your cluster, and lists some popular add-ons.Admission ControllerA piece of code that intercepts requests to the Kubernetes API server prior to persistence of the object.[+]Admission controllers are configurable for the Kubernetes API server and may be \"validating\", \"mutating\", or both. Any admission controller may reject the request. Mutating controllers may modify the objects they admit; validating controllers may not.Admission controllers in the Kubernetes documentationAffinityIn Kubernetes, affinity is a set of rules that give hints to the scheduler about where to place pods.[+]There are two kinds of affinity:node affinitypod-to-pod affinityThe rules are defined using the Kubernetes labels, and selectors specified in pods, and they can be either required or preferred, depending on how strictly you want the scheduler to enforce them.Aggregation LayerThe aggregation layer lets you install additional Kubernetes-style APIs in your cluster.[+]When you've configured the Kubernetes API Server to support additional APIs, you can add APIService objects to \"claim\" a URL path in the Kubernetes API.AnnotationA key-value pair that is used to attach arbitrary non-identifying metadata to objects.[+]The metadata in an annotation can be small or large, structured or unstructured, and can include characters not permitted by labels. Clients such as tools and libraries can retrieve this metadata.API GroupA set of related paths in Kubernetes API.[+]You can enable or disable each API group by changing the configuration of your API server. You can also disable or enable paths to specific resources. An API group makes it easier to extend the Kubernetes API. The API group is specified in a REST path and in the apiVersion field of a serialized object.Read API Group for more information.API resourceAlso known as: Re",
    "category": "reference",
    "subcategory": "glossary",
    "source": "https://kubernetes.io/docs/reference/glossary/",
    "id": "k8s_00713_qa_15751"
  },
  {
    "question": "What is Glossary?",
    "answer": "T h i s   g l o s s a r y   i s   i n t e n d e d   t o   b e   a   c o m p r e h e n s i v e ,   s t a n d a r d i z e d   l i s t   o f   K u b e r n e t e s   t e r m i n o l o g y .   I t   i n c l u d e s   t e c h n i c a l   t e r m s   t h a t   a r e   s p e c i f i c   t o   K u b e r n e t e s ,   a s   w e l l   a s   m o r e   g e n e r a l   t e r m s   t h a t   p r o v i d e   u s e f u l   c o n t e x t .   F i l t e r   t e r m s   a c c o r d i n g   t o   t h e i r   t a g s   C l i c k   o n   t h e   [ + ]   i n d i c a t o r s   b e l o w   t o   g e t   a   l o n g e r   e x p l a n a t i o n   f o r   a n y   p a r t i c u l a r   t e r m .   A d d - o n s R e s o u r c e s   t h a t   e x t e n d   t h e   f u n c t i o n a l i t y   o f   K u b e r n e t e s . [ + ] I n s t a l l i n g   a d d o n s   e x p l a i n s   m o r e   a b o u t   u s i n g   a d d - o n s   w i t h   y o u r   c l u s t e r ,   a n d   l i s t s   s o m e   p o p u l a r   a d d - o n s . A d m i s s i o n   C o n t r o l l e r A   p i e c e   o f   c o d e   t h a t   i n t e r c e p t s   r e q u e s t s   t o   t h e   K u b e r n e t e s   A P I   s e r v e r   p r i o r   t o   p e r s i s t e n c e   o f   t h e   o b j e c t . [ + ] A d m i s s i o n   c o n t r o l l e r s   a r e   c o n f i g u r a b l e   f o r   t h e   K u b e r n e t e s   A P I   s e r v e r   a n d   m a y   b e   \" v a l i d a t i n g \" ,   \" m u t a t i n g \" ,   o r   b o t h .   A n y   a d m i s s i o n   c o n t r o l l e r   m a y   r e j e c t   t h e   r e q u e s t .   M u t a t i n g   c o n t r o l l e r s   m a y   m o d i f y   t h e   o b j e c t s   t h e y   a d m i t ;   v a l i d a t i n g   c o n t r o l l e r s   m a y   n o t . A d m i s s i o n   c o n t r o l l e r s   i n   t h e   K u b e r n e t e s   d o c u m e n t a t i o n A f f i n i t y I n   K u b e r n e t e s ,   a f f i n i t y   i s   a   s e t   o f   r u l e s   t h a t   g i v e   h i n t ",
    "category": "reference",
    "subcategory": "glossary",
    "source": "https://kubernetes.io/docs/reference/glossary/",
    "id": "k8s_00713_section_1_15752"
  },
  {
    "question": "What is Note:?",
    "answer": "A   p e r s o n   w h o   d e v e l o p s   a n d   c o n t r i b u t e s   c o d e   t o   t h e   K u b e r n e t e s   o p e n   s o u r c e   c o d e b a s e .   T h e y   a r e   a l s o   a n   a c t i v e   c o m m u n i t y   m e m b e r   w h o   p a r t i c i p a t e s   i n   o n e   o r   m o r e   S p e c i a l   I n t e r e s t   G r o u p s   ( S I G s ) .   A   g e n e r a l - p u r p o s e   e x p r e s s i o n   l a n g u a g e   t h a t ' s   d e s i g n e d   t o   b e   f a s t ,   p o r t a b l e ,   a n d   s a f e   t o   e x e c u t e .   I n   K u b e r n e t e s ,   C E L   c a n   b e   u s e d   t o   r u n   q u e r i e s   a n d   p e r f o r m   f i n e - g r a i n e d   f i l t e r i n g .   F o r   e x a m p l e ,   y o u   c a n   u s e   C E L   e x p r e s s i o n s   w i t h   d y n a m i c   a d m i s s i o n   c o n t r o l   t o   f i l t e r   f o r   s p e c i f i c   f i e l d s   i n   r e q u e s t s ,   a n d   w i t h   d y n a m i c   r e s o u r c e   a l l o c a t i o n   ( D R A )   t o   s e l e c t   r e s o u r c e s   b a s e d   o n   s p e c i f i c   a t t r i b u t e s .   A n   A P I   o b j e c t   u s e d   t o   s t o r e   n o n - c o n f i d e n t i a l   d a t a   i n   k e y - v a l u e   p a i r s .   P o d s   c a n   c o n s u m e   C o n f i g M a p s   a s   e n v i r o n m e n t   v a r i a b l e s ,   c o m m a n d - l i n e   a r g u m e n t s ,   o r   a s   c o n f i g u r a t i o n   f i l e s   i n   a   v o l u m e .   A   C o n f i g M a p   a l l o w s   y o u   t o   d e c o u p l e   e n v i r o n m e n t - s p e c i f i c   c o n f i g u r a t i o n   f r o m   y o u r   c o n t a i n e r   i m a g e s ,   s o   t h a t   y o u r   a p p l i c a t i o n s   a r e   e a s i l y   p o r t a b l e .   A   l i g h t w e i g h t   a n d   p o r t a b l e   e x e c u t a b l e   i m a g e   t h a t   c o n t a i n s   s o f t w a r e   a n d   a l l   o f   i t s   d e p e n d e n c i e ",
    "category": "reference",
    "subcategory": "glossary",
    "source": "https://kubernetes.io/docs/reference/glossary/",
    "id": "k8s_00713_section_4_15753"
  },
  {
    "question": "What is Note:?",
    "answer": "k O p s   i s   a n   a u t o m a t e d   p r o v i s i o n i n g   s y s t e m :   F u l l y   a u t o m a t e d   i n s t a l l a t i o n U s e s   D N S   t o   i d e n t i f y   c l u s t e r s S e l f - h e a l i n g :   e v e r y t h i n g   r u n s   i n   A u t o - S c a l i n g   G r o u p s M u l t i p l e   O S   s u p p o r t   ( A m a z o n   L i n u x ,   D e b i a n ,   F l a t c a r ,   R H E L ,   R o c k y   a n d   U b u n t u ) H i g h - A v a i l a b i l i t y   s u p p o r t C a n   d i r e c t l y   p r o v i s i o n ,   o r   g e n e r a t e   t e r r a f o r m   m a n i f e s t s   C o n t r o l   p l a n e   c o m p o n e n t   t h a t   r u n s   c o n t r o l l e r   p r o c e s s e s .   L o g i c a l l y ,   e a c h   c o n t r o l l e r   i s   a   s e p a r a t e   p r o c e s s ,   b u t   t o   r e d u c e   c o m p l e x i t y ,   t h e y   a r e   a l l   c o m p i l e d   i n t o   a   s i n g l e   b i n a r y   a n d   r u n   i n   a   s i n g l e   p r o c e s s .   k u b e - p r o x y   i s   a   n e t w o r k   p r o x y   t h a t   r u n s   o n   e a c h   n o d e   i n   y o u r   c l u s t e r ,   i m p l e m e n t i n g   p a r t   o f   t h e   K u b e r n e t e s   S e r v i c e   c o n c e p t .   k u b e - p r o x y   m a i n t a i n s   n e t w o r k   r u l e s   o n   n o d e s .   T h e s e   n e t w o r k   r u l e s   a l l o w   n e t w o r k   c o m m u n i c a t i o n   t o   y o u r   P o d s   f r o m   n e t w o r k   s e s s i o n s   i n s i d e   o r   o u t s i d e   o f   y o u r   c l u s t e r .   k u b e - p r o x y   u s e s   t h e   o p e r a t i n g   s y s t e m   p a c k e t   f i l t e r i n g   l a y e r   i f   t h e r e   i s   o n e   a n d   i t ' s   a v a i l a b l e .   O t h e r w i s e ,   k u b e - p r o x y   f o r w a r d s   t h e   t r a f f i c   i t s e l f .   C o n t r o l   p l a n e   c o m p o n e n t   t h a t   w a t c h e s   f o r   n e w l y   c r e a t e d   P ",
    "category": "reference",
    "subcategory": "glossary",
    "source": "https://kubernetes.io/docs/reference/glossary/",
    "id": "k8s_00713_section_4_15754"
  },
  {
    "question": "What is Note:?",
    "answer": "C a p a b i l i t i e s   p r o v i d e d   t o   o n e   o r   m o r e   n o d e s   ( C P U ,   m e m o r y ,   G P U s ,   e t c ) ,   a n d   m a d e   a v a i l a b l e   f o r   c o n s u m p t i o n   b y   P o d s   r u n n i n g   o n   t h o s e   n o d e s .   K u b e r n e t e s   a l s o   u s e s   t h e   t e r m   r e s o u r c e   t o   d e s c r i b e   a n   A P I   r e s o u r c e .   C o m p u t e r s   p r o v i d e   f u n d a m e n t a l   h a r d w a r e   f a c i l i t i e s :   p r o c e s s i n g   p o w e r ,   s t o r a g e   m e m o r y ,   n e t w o r k ,   e t c .   T h e s e   r e s o u r c e s   h a v e   f i n i t e   c a p a c i t y ,   m e a s u r e d   i n   a   u n i t   a p p l i c a b l e   t o   t h a t   r e s o u r c e   ( n u m b e r   o f   C P U s ,   b y t e s   o f   m e m o r y ,   e t c ) .   K u b e r n e t e s   a b s t r a c t s   c o m m o n   r e s o u r c e s   f o r   a l l o c a t i o n   t o   w o r k l o a d s   a n d   u t i l i z e s   o p e r a t i n g   s y s t e m   p r i m i t i v e s   ( f o r   e x a m p l e ,   L i n u x   c g r o u p s )   t o   m a n a g e   c o n s u m p t i o n   b y   w o r k l o a d s ) .   Y o u   c a n   a l s o   u s e   d y n a m i c   r e s o u r c e   a l l o c a t i o n   t o   m a n a g e   c o m p l e x   r e s o u r c e   a l l o c a t i o n s   a u t o m a t i c a l l y .   D e s c r i b e s   t h e   r e s o u r c e s   t h a t   a   w o r k l o a d   n e e d s ,   s u c h   a s   d e v i c e s .   R e s o u r c e C l a i m s   a r e   u s e d   i n   d y n a m i c   r e s o u r c e   a l l o c a t i o n   ( D R A )   t o   p r o v i d e   P o d s   w i t h   a c c e s s   t o   a   s p e c i f i c   r e s o u r c e .   R e s o u r c e C l a i m s   c a n   b e   c r e a t e d   b y   w o r k l o a d   o p e r a t o r s   o r   g e n e r a t e d   b y   K u b e r n e t e s   b a s e d   o n   a   R e s o u r c e C l a i m T e m p l a t e .   D e f i n e s   a   ",
    "category": "reference",
    "subcategory": "glossary",
    "source": "https://kubernetes.io/docs/reference/glossary/",
    "id": "k8s_00713_section_4_15755"
  },
  {
    "question": "What is Ephemeral Volumes?",
    "answer": "Ephemeral VolumesThis document describes ephemeral volumes in Kubernetes. Familiarity with volumes is suggested, in particular PersistentVolumeClaim and PersistentVolume.Some applications need additional storage but don't care whether that data is stored persistently across restarts. For example, caching services are often limited by memory size and can move infrequently used data into storage that is slower than memory with little impact on overall performance.Other applications expect some read-only input data to be present in files, like configuration data or secret keys.Ephemeral volumes are designed for these use cases. Because volumes follow the Pod's lifetime and get created and deleted along with the Pod, Pods can be stopped and restarted without being limited to where some persistent volume is available.Ephemeral volumes are specified inline in the Pod spec, which simplifies application deployment and management.Types of ephemeral volumesKubernetes supports several different kinds of ephemeral volumes for different purposes:emptyDir: empty at Pod startup, with storage coming locally from the kubelet base directory (usually the root disk) or RAMconfigMap, downwardAPI, secret: inject different kinds of Kubernetes data into a Podimage: allows mounting container image files or artifacts, directly to a Pod.CSI ephemeral volumes: similar to the previous volume kinds, but provided by special CSI drivers which specifically support this featuregeneric ephemeral volumes, which can be provided by all storage drivers that also support persistent volumesemptyDir, configMap, downwardAPI, secret are provided as local ephemeral storage. They are managed by kubelet on each node.CSI ephemeral volumes must be provided by third-party CSI storage drivers.Generic ephemeral volumes can be provided by third-party CSI storage drivers, but also by any other storage driver that supports dynamic provisioning. Some CSI drivers are written specifically for CSI ephemeral volumes and do not support dynamic provisioning: those then cannot be used for generic ephemeral volumes.The advantage of using third-party drivers is that they can offer functionality that Kubernetes itself does not support, for example storage with different performance characteristics than the disk that is managed by kubelet, or injecting different data.CSI ephemeral volumesFEATURE STATE: Kubernetes v1.25 [stable]Note:CSI ephemeral volumes are only supported by a subset of CSI drivers. The Kubernetes CSI Drivers list shows which drivers support ephemeral volumes.Conceptually, CSI ephemeral volumes are similar to configMap, downwardAPI and secret volume types: the storage is managed locally on each node and is created together with other local resources after a Pod has been scheduled onto a node. Kubernetes has no concept of rescheduling Pods anymore at this stage. Volume creation has to be unlikely to fail, otherwise Pod startup gets stuck. In particular, storage capacity aware Pod scheduling is no",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/",
    "id": "k8s_00714_qa_15756"
  },
  {
    "question": "How does Ephemeral Volumes work?",
    "answer": "Ephemeral VolumesThis document describes ephemeral volumes in Kubernetes. Familiarity with volumes is suggested, in particular PersistentVolumeClaim and PersistentVolume.Some applications need additional storage but don't care whether that data is stored persistently across restarts. For example, caching services are often limited by memory size and can move infrequently used data into storage that is slower than memory with little impact on overall performance.Other applications expect some read-only input data to be present in files, like configuration data or secret keys.Ephemeral volumes are designed for these use cases. Because volumes follow the Pod's lifetime and get created and deleted along with the Pod, Pods can be stopped and restarted without being limited to where some persistent volume is available.Ephemeral volumes are specified inline in the Pod spec, which simplifies application deployment and management.Types of ephemeral volumesKubernetes supports several different kinds of ephemeral volumes for different purposes:emptyDir: empty at Pod startup, with storage coming locally from the kubelet base directory (usually the root disk) or RAMconfigMap, downwardAPI, secret: inject different kinds of Kubernetes data into a Podimage: allows mounting container image files or artifacts, directly to a Pod.CSI ephemeral volumes: similar to the previous volume kinds, but provided by special CSI drivers which specifically support this featuregeneric ephemeral volumes, which can be provided by all storage drivers that also support persistent volumesemptyDir, configMap, downwardAPI, secret are provided as local ephemeral storage. They are managed by kubelet on each node.CSI ephemeral volumes must be provided by third-party CSI storage drivers.Generic ephemeral volumes can be provided by third-party CSI storage drivers, but also by any other storage driver that supports dynamic provisioning. Some CSI drivers are written specifically for CSI ephemeral volumes and do not support dynamic provisioning: those then cannot be used for generic ephemeral volumes.The advantage of using third-party drivers is that they can offer functionality that Kubernetes itself does not support, for example storage with different performance characteristics than the disk that is managed by kubelet, or injecting different data.CSI ephemeral volumesFEATURE STATE: Kubernetes v1.25 [stable]Note:CSI ephemeral volumes are only supported by a subset of CSI drivers. The Kubernetes CSI Drivers list shows which drivers support ephemeral volumes.Conceptually, CSI ephemeral volumes are similar to configMap, downwardAPI and secret volume types: the storage is managed locally on each node and is created together with other local resources after a Pod has been scheduled onto a node. Kubernetes has no concept of rescheduling Pods anymore at this stage. Volume creation has to be unlikely to fail, otherwise Pod startup gets stuck. In particular, storage capacity aware Pod scheduling is no",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/",
    "id": "k8s_00714_qa_15757"
  },
  {
    "question": "When would you use Ephemeral Volumes?",
    "answer": "Ephemeral VolumesThis document describes ephemeral volumes in Kubernetes. Familiarity with volumes is suggested, in particular PersistentVolumeClaim and PersistentVolume.Some applications need additional storage but don't care whether that data is stored persistently across restarts. For example, caching services are often limited by memory size and can move infrequently used data into storage that is slower than memory with little impact on overall performance.Other applications expect some read-only input data to be present in files, like configuration data or secret keys.Ephemeral volumes are designed for these use cases. Because volumes follow the Pod's lifetime and get created and deleted along with the Pod, Pods can be stopped and restarted without being limited to where some persistent volume is available.Ephemeral volumes are specified inline in the Pod spec, which simplifies application deployment and management.Types of ephemeral volumesKubernetes supports several different kinds of ephemeral volumes for different purposes:emptyDir: empty at Pod startup, with storage coming locally from the kubelet base directory (usually the root disk) or RAMconfigMap, downwardAPI, secret: inject different kinds of Kubernetes data into a Podimage: allows mounting container image files or artifacts, directly to a Pod.CSI ephemeral volumes: similar to the previous volume kinds, but provided by special CSI drivers which specifically support this featuregeneric ephemeral volumes, which can be provided by all storage drivers that also support persistent volumesemptyDir, configMap, downwardAPI, secret are provided as local ephemeral storage. They are managed by kubelet on each node.CSI ephemeral volumes must be provided by third-party CSI storage drivers.Generic ephemeral volumes can be provided by third-party CSI storage drivers, but also by any other storage driver that supports dynamic provisioning. Some CSI drivers are written specifically for CSI ephemeral volumes and do not support dynamic provisioning: those then cannot be used for generic ephemeral volumes.The advantage of using third-party drivers is that they can offer functionality that Kubernetes itself does not support, for example storage with different performance characteristics than the disk that is managed by kubelet, or injecting different data.CSI ephemeral volumesFEATURE STATE: Kubernetes v1.25 [stable]Note:CSI ephemeral volumes are only supported by a subset of CSI drivers. The Kubernetes CSI Drivers list shows which drivers support ephemeral volumes.Conceptually, CSI ephemeral volumes are similar to configMap, downwardAPI and secret volume types: the storage is managed locally on each node and is created together with other local resources after a Pod has been scheduled onto a node. Kubernetes has no concept of rescheduling Pods anymore at this stage. Volume creation has to be unlikely to fail, otherwise Pod startup gets stuck. In particular, storage capacity aware Pod scheduling is no",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/",
    "id": "k8s_00714_qa_15758"
  },
  {
    "question": "What are the benefits of Ephemeral Volumes?",
    "answer": "Ephemeral VolumesThis document describes ephemeral volumes in Kubernetes. Familiarity with volumes is suggested, in particular PersistentVolumeClaim and PersistentVolume.Some applications need additional storage but don't care whether that data is stored persistently across restarts. For example, caching services are often limited by memory size and can move infrequently used data into storage that is slower than memory with little impact on overall performance.Other applications expect some read-only input data to be present in files, like configuration data or secret keys.Ephemeral volumes are designed for these use cases. Because volumes follow the Pod's lifetime and get created and deleted along with the Pod, Pods can be stopped and restarted without being limited to where some persistent volume is available.Ephemeral volumes are specified inline in the Pod spec, which simplifies application deployment and management.Types of ephemeral volumesKubernetes supports several different kinds of ephemeral volumes for different purposes:emptyDir: empty at Pod startup, with storage coming locally from the kubelet base directory (usually the root disk) or RAMconfigMap, downwardAPI, secret: inject different kinds of Kubernetes data into a Podimage: allows mounting container image files or artifacts, directly to a Pod.CSI ephemeral volumes: similar to the previous volume kinds, but provided by special CSI drivers which specifically support this featuregeneric ephemeral volumes, which can be provided by all storage drivers that also support persistent volumesemptyDir, configMap, downwardAPI, secret are provided as local ephemeral storage. They are managed by kubelet on each node.CSI ephemeral volumes must be provided by third-party CSI storage drivers.Generic ephemeral volumes can be provided by third-party CSI storage drivers, but also by any other storage driver that supports dynamic provisioning. Some CSI drivers are written specifically for CSI ephemeral volumes and do not support dynamic provisioning: those then cannot be used for generic ephemeral volumes.The advantage of using third-party drivers is that they can offer functionality that Kubernetes itself does not support, for example storage with different performance characteristics than the disk that is managed by kubelet, or injecting different data.CSI ephemeral volumesFEATURE STATE: Kubernetes v1.25 [stable]Note:CSI ephemeral volumes are only supported by a subset of CSI drivers. The Kubernetes CSI Drivers list shows which drivers support ephemeral volumes.Conceptually, CSI ephemeral volumes are similar to configMap, downwardAPI and secret volume types: the storage is managed locally on each node and is created together with other local resources after a Pod has been scheduled onto a node. Kubernetes has no concept of rescheduling Pods anymore at this stage. Volume creation has to be unlikely to fail, otherwise Pod startup gets stuck. In particular, storage capacity aware Pod scheduling is no",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/",
    "id": "k8s_00714_qa_15759"
  },
  {
    "question": "What is Ephemeral Volumes?",
    "answer": "T h i s   d o c u m e n t   d e s c r i b e s   e p h e m e r a l   v o l u m e s   i n   K u b e r n e t e s .   F a m i l i a r i t y   w i t h   v o l u m e s   i s   s u g g e s t e d ,   i n   p a r t i c u l a r   P e r s i s t e n t V o l u m e C l a i m   a n d   P e r s i s t e n t V o l u m e .   S o m e   a p p l i c a t i o n s   n e e d   a d d i t i o n a l   s t o r a g e   b u t   d o n ' t   c a r e   w h e t h e r   t h a t   d a t a   i s   s t o r e d   p e r s i s t e n t l y   a c r o s s   r e s t a r t s .   F o r   e x a m p l e ,   c a c h i n g   s e r v i c e s   a r e   o f t e n   l i m i t e d   b y   m e m o r y   s i z e   a n d   c a n   m o v e   i n f r e q u e n t l y   u s e d   d a t a   i n t o   s t o r a g e   t h a t   i s   s l o w e r   t h a n   m e m o r y   w i t h   l i t t l e   i m p a c t   o n   o v e r a l l   p e r f o r m a n c e .   O t h e r   a p p l i c a t i o n s   e x p e c t   s o m e   r e a d - o n l y   i n p u t   d a t a   t o   b e   p r e s e n t   i n   f i l e s ,   l i k e   c o n f i g u r a t i o n   d a t a   o r   s e c r e t   k e y s .   E p h e m e r a l   v o l u m e s   a r e   d e s i g n e d   f o r   t h e s e   u s e   c a s e s .   B e c a u s e   v o l u m e s   f o l l o w   t h e   P o d ' s   l i f e t i m e   a n d   g e t   c r e a t e d   a n d   d e l e t e d   a l o n g   w i t h   t h e   P o d ,   P o d s   c a n   b e   s t o p p e d   a n d   r e s t a r t e d   w i t h o u t   b e i n g   l i m i t e d   t o   w h e r e   s o m e   p e r s i s t e n t   v o l u m e   i s   a v a i l a b l e .   E p h e m e r a l   v o l u m e s   a r e   s p e c i f i e d   i n l i n e   i n   t h e   P o d   s p e c ,   w h i c h   s i m p l i f i e s   a p p l i c a t i o n   d e p l o y m e n t   a n d   m a n a g e m e n t .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/",
    "id": "k8s_00714_section_1_15760"
  },
  {
    "question": "What is Types of ephemeral volumes?",
    "answer": "K u b e r n e t e s   s u p p o r t s   s e v e r a l   d i f f e r e n t   k i n d s   o f   e p h e m e r a l   v o l u m e s   f o r   d i f f e r e n t   p u r p o s e s :   e m p t y D i r :   e m p t y   a t   P o d   s t a r t u p ,   w i t h   s t o r a g e   c o m i n g   l o c a l l y   f r o m   t h e   k u b e l e t   b a s e   d i r e c t o r y   ( u s u a l l y   t h e   r o o t   d i s k )   o r   R A M c o n f i g M a p ,   d o w n w a r d A P I ,   s e c r e t :   i n j e c t   d i f f e r e n t   k i n d s   o f   K u b e r n e t e s   d a t a   i n t o   a   P o d i m a g e :   a l l o w s   m o u n t i n g   c o n t a i n e r   i m a g e   f i l e s   o r   a r t i f a c t s ,   d i r e c t l y   t o   a   P o d . C S I   e p h e m e r a l   v o l u m e s :   s i m i l a r   t o   t h e   p r e v i o u s   v o l u m e   k i n d s ,   b u t   p r o v i d e d   b y   s p e c i a l   C S I   d r i v e r s   w h i c h   s p e c i f i c a l l y   s u p p o r t   t h i s   f e a t u r e g e n e r i c   e p h e m e r a l   v o l u m e s ,   w h i c h   c a n   b e   p r o v i d e d   b y   a l l   s t o r a g e   d r i v e r s   t h a t   a l s o   s u p p o r t   p e r s i s t e n t   v o l u m e s   e m p t y D i r ,   c o n f i g M a p ,   d o w n w a r d A P I ,   s e c r e t   a r e   p r o v i d e d   a s   l o c a l   e p h e m e r a l   s t o r a g e .   T h e y   a r e   m a n a g e d   b y   k u b e l e t   o n   e a c h   n o d e .   C S I   e p h e m e r a l   v o l u m e s   m u s t   b e   p r o v i d e d   b y   t h i r d - p a r t y   C S I   s t o r a g e   d r i v e r s .   G e n e r i c   e p h e m e r a l   v o l u m e s   c a n   b e   p r o v i d e d   b y   t h i r d - p a r t y   C S I   s t o r a g e   d r i v e r s ,   b u t   a l s o   b y   a n y   o t h e r   s t o r a g e   d r i v e r   t h a t   s u p p o r t s   d y n a m i c   p r o v i s i o n i n g .   S o m e   C S I   d r i v e r s   a r e   w r i t t e n   s p e c ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/",
    "id": "k8s_00714_section_3_15761"
  },
  {
    "question": "What is Note:?",
    "answer": "C o n c e p t u a l l y ,   C S I   e p h e m e r a l   v o l u m e s   a r e   s i m i l a r   t o   c o n f i g M a p ,   d o w n w a r d A P I   a n d   s e c r e t   v o l u m e   t y p e s :   t h e   s t o r a g e   i s   m a n a g e d   l o c a l l y   o n   e a c h   n o d e   a n d   i s   c r e a t e d   t o g e t h e r   w i t h   o t h e r   l o c a l   r e s o u r c e s   a f t e r   a   P o d   h a s   b e e n   s c h e d u l e d   o n t o   a   n o d e .   K u b e r n e t e s   h a s   n o   c o n c e p t   o f   r e s c h e d u l i n g   P o d s   a n y m o r e   a t   t h i s   s t a g e .   V o l u m e   c r e a t i o n   h a s   t o   b e   u n l i k e l y   t o   f a i l ,   o t h e r w i s e   P o d   s t a r t u p   g e t s   s t u c k .   I n   p a r t i c u l a r ,   s t o r a g e   c a p a c i t y   a w a r e   P o d   s c h e d u l i n g   i s   n o t   s u p p o r t e d   f o r   t h e s e   v o l u m e s .   T h e y   a r e   c u r r e n t l y   a l s o   n o t   c o v e r e d   b y   t h e   s t o r a g e   r e s o u r c e   u s a g e   l i m i t s   o f   a   P o d ,   b e c a u s e   t h a t   i s   s o m e t h i n g   t h a t   k u b e l e t   c a n   o n l y   e n f o r c e   f o r   s t o r a g e   t h a t   i t   m a n a g e s   i t s e l f .   H e r e ' s   a n   e x a m p l e   m a n i f e s t   f o r   a   P o d   t h a t   u s e s   C S I   e p h e m e r a l   s t o r a g e :   k i n d :   P o d   a p i V e r s i o n :   v 1   m e t a d a t a :   n a m e :   m y - c s i - a p p   s p e c :   c o n t a i n e r s :   -   n a m e :   m y - f r o n t e n d   i m a g e :   b u s y b o x : 1 . 2 8   v o l u m e M o u n t s :   -   m o u n t P a t h :   \" / d a t a \"   n a m e :   m y - c s i - i n l i n e - v o l   c o m m a n d :   [   \" s l e e p \" ,   \" 1 0 0 0 0 0 0 \"   ]   v o l u m e s :   -   n a m e :   m y - c s i - i n l i n e - v o l   c s i :   d r i v e r :   i n l i n e . s t o r a g e . k u b e r n e t e s . i o   v o ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/",
    "id": "k8s_00714_section_4_15762"
  },
  {
    "question": "What is CSI driver restrictions?",
    "answer": "C S I   e p h e m e r a l   v o l u m e s   a l l o w   u s e r s   t o   p r o v i d e   v o l u m e A t t r i b u t e s   d i r e c t l y   t o   t h e   C S I   d r i v e r   a s   p a r t   o f   t h e   P o d   s p e c .   A   C S I   d r i v e r   a l l o w i n g   v o l u m e A t t r i b u t e s   t h a t   a r e   t y p i c a l l y   r e s t r i c t e d   t o   a d m i n i s t r a t o r s   i s   N O T   s u i t a b l e   f o r   u s e   i n   a n   i n l i n e   e p h e m e r a l   v o l u m e .   F o r   e x a m p l e ,   p a r a m e t e r s   t h a t   a r e   n o r m a l l y   d e f i n e d   i n   t h e   S t o r a g e C l a s s   s h o u l d   n o t   b e   e x p o s e d   t o   u s e r s   t h r o u g h   t h e   u s e   o f   i n l i n e   e p h e m e r a l   v o l u m e s .   C l u s t e r   a d m i n i s t r a t o r s   w h o   n e e d   t o   r e s t r i c t   t h e   C S I   d r i v e r s   t h a t   a r e   a l l o w e d   t o   b e   u s e d   a s   i n l i n e   v o l u m e s   w i t h i n   a   P o d   s p e c   m a y   d o   s o   b y :   R e m o v i n g   E p h e m e r a l   f r o m   v o l u m e L i f e c y c l e M o d e s   i n   t h e   C S I D r i v e r   s p e c ,   w h i c h   p r e v e n t s   t h e   d r i v e r   f r o m   b e i n g   u s e d   a s   a n   i n l i n e   e p h e m e r a l   v o l u m e . U s i n g   a n   a d m i s s i o n   w e b h o o k   t o   r e s t r i c t   h o w   t h i s   d r i v e r   i s   u s e d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/",
    "id": "k8s_00714_section_3_15763"
  },
  {
    "question": "What is Generic ephemeral volumes?",
    "answer": "G e n e r i c   e p h e m e r a l   v o l u m e s   a r e   s i m i l a r   t o   e m p t y D i r   v o l u m e s   i n   t h e   s e n s e   t h a t   t h e y   p r o v i d e   a   p e r - p o d   d i r e c t o r y   f o r   s c r a t c h   d a t a   t h a t   i s   u s u a l l y   e m p t y   a f t e r   p r o v i s i o n i n g .   B u t   t h e y   m a y   a l s o   h a v e   a d d i t i o n a l   f e a t u r e s :   S t o r a g e   c a n   b e   l o c a l   o r   n e t w o r k - a t t a c h e d . V o l u m e s   c a n   h a v e   a   f i x e d   s i z e   t h a t   P o d s   a r e   n o t   a b l e   t o   e x c e e d . V o l u m e s   m a y   h a v e   s o m e   i n i t i a l   d a t a ,   d e p e n d i n g   o n   t h e   d r i v e r   a n d   p a r a m e t e r s . T y p i c a l   o p e r a t i o n s   o n   v o l u m e s   a r e   s u p p o r t e d   a s s u m i n g   t h a t   t h e   d r i v e r   s u p p o r t s   t h e m ,   i n c l u d i n g   s n a p s h o t t i n g ,   c l o n i n g ,   r e s i z i n g ,   a n d   s t o r a g e   c a p a c i t y   t r a c k i n g .   E x a m p l e :   k i n d :   P o d   a p i V e r s i o n :   v 1   m e t a d a t a :   n a m e :   m y - a p p   s p e c :   c o n t a i n e r s :   -   n a m e :   m y - f r o n t e n d   i m a g e :   b u s y b o x : 1 . 2 8   v o l u m e M o u n t s :   -   m o u n t P a t h :   \" / s c r a t c h \"   n a m e :   s c r a t c h - v o l u m e   c o m m a n d :   [   \" s l e e p \" ,   \" 1 0 0 0 0 0 0 \"   ]   v o l u m e s :   -   n a m e :   s c r a t c h - v o l u m e   e p h e m e r a l :   v o l u m e C l a i m T e m p l a t e :   m e t a d a t a :   l a b e l s :   t y p e :   m y - f r o n t e n d - v o l u m e   s p e c :   a c c e s s M o d e s :   [   \" R e a d W r i t e O n c e \"   ]   s t o r a g e C l a s s N a m e :   \" s c r a t c h - s t o r a g e - c l a s s \"   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   1 G i",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/",
    "id": "k8s_00714_section_3_15764"
  },
  {
    "question": "What is Lifecycle and PersistentVolumeClaim?",
    "answer": "T h e   k e y   d e s i g n   i d e a   i s   t h a t   t h e   p a r a m e t e r s   f o r   a   v o l u m e   c l a i m   a r e   a l l o w e d   i n s i d e   a   v o l u m e   s o u r c e   o f   t h e   P o d .   L a b e l s ,   a n n o t a t i o n s   a n d   t h e   w h o l e   s e t   o f   f i e l d s   f o r   a   P e r s i s t e n t V o l u m e C l a i m   a r e   s u p p o r t e d .   W h e n   s u c h   a   P o d   g e t s   c r e a t e d ,   t h e   e p h e m e r a l   v o l u m e   c o n t r o l l e r   t h e n   c r e a t e s   a n   a c t u a l   P e r s i s t e n t V o l u m e C l a i m   o b j e c t   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   P o d   a n d   e n s u r e s   t h a t   t h e   P e r s i s t e n t V o l u m e C l a i m   g e t s   d e l e t e d   w h e n   t h e   P o d   g e t s   d e l e t e d .   T h a t   t r i g g e r s   v o l u m e   b i n d i n g   a n d / o r   p r o v i s i o n i n g ,   e i t h e r   i m m e d i a t e l y   i f   t h e   S t o r a g e C l a s s   u s e s   i m m e d i a t e   v o l u m e   b i n d i n g   o r   w h e n   t h e   P o d   i s   t e n t a t i v e l y   s c h e d u l e d   o n t o   a   n o d e   ( W a i t F o r F i r s t C o n s u m e r   v o l u m e   b i n d i n g   m o d e ) .   T h e   l a t t e r   i s   r e c o m m e n d e d   f o r   g e n e r i c   e p h e m e r a l   v o l u m e s   b e c a u s e   t h e n   t h e   s c h e d u l e r   i s   f r e e   t o   c h o o s e   a   s u i t a b l e   n o d e   f o r   t h e   P o d .   W i t h   i m m e d i a t e   b i n d i n g ,   t h e   s c h e d u l e r   i s   f o r c e d   t o   s e l e c t   a   n o d e   t h a t   h a s   a c c e s s   t o   t h e   v o l u m e   o n c e   i t   i s   a v a i l a b l e .   I n   t e r m s   o f   r e s o u r c e   o w n e r s h i p ,   a   P o d   t h a t   h a s   g e n e r i c   e p h e m e r a l   s t o r a g e   i s   t h e   o w n e r   o f   t h e   P e r s i s t e n t V o l u ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/",
    "id": "k8s_00714_section_3_15765"
  },
  {
    "question": "What is PersistentVolumeClaim naming?",
    "answer": "N a m i n g   o f   t h e   a u t o m a t i c a l l y   c r e a t e d   P V C s   i s   d e t e r m i n i s t i c :   t h e   n a m e   i s   a   c o m b i n a t i o n   o f   t h e   P o d   n a m e   a n d   v o l u m e   n a m e ,   w i t h   a   h y p h e n   ( - )   i n   t h e   m i d d l e .   I n   t h e   e x a m p l e   a b o v e ,   t h e   P V C   n a m e   w i l l   b e   m y - a p p - s c r a t c h - v o l u m e .   T h i s   d e t e r m i n i s t i c   n a m i n g   m a k e s   i t   e a s i e r   t o   i n t e r a c t   w i t h   t h e   P V C   b e c a u s e   o n e   d o e s   n o t   h a v e   t o   s e a r c h   f o r   i t   o n c e   t h e   P o d   n a m e   a n d   v o l u m e   n a m e   a r e   k n o w n .   T h e   d e t e r m i n i s t i c   n a m i n g   a l s o   i n t r o d u c e s   a   p o t e n t i a l   c o n f l i c t   b e t w e e n   d i f f e r e n t   P o d s   ( a   P o d   \" p o d - a \"   w i t h   v o l u m e   \" s c r a t c h \"   a n d   a n o t h e r   P o d   w i t h   n a m e   \" p o d \"   a n d   v o l u m e   \" a - s c r a t c h \"   b o t h   e n d   u p   w i t h   t h e   s a m e   P V C   n a m e   \" p o d - a - s c r a t c h \" )   a n d   b e t w e e n   P o d s   a n d   m a n u a l l y   c r e a t e d   P V C s .   S u c h   c o n f l i c t s   a r e   d e t e c t e d :   a   P V C   i s   o n l y   u s e d   f o r   a n   e p h e m e r a l   v o l u m e   i f   i t   w a s   c r e a t e d   f o r   t h e   P o d .   T h i s   c h e c k   i s   b a s e d   o n   t h e   o w n e r s h i p   r e l a t i o n s h i p .   A n   e x i s t i n g   P V C   i s   n o t   o v e r w r i t t e n   o r   m o d i f i e d .   B u t   t h i s   d o e s   n o t   r e s o l v e   t h e   c o n f l i c t   b e c a u s e   w i t h o u t   t h e   r i g h t   P V C ,   t h e   P o d   c a n n o t   s t a r t .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/",
    "id": "k8s_00714_section_3_15766"
  },
  {
    "question": "What is Security?",
    "answer": "U s i n g   g e n e r i c   e p h e m e r a l   v o l u m e s   a l l o w s   u s e r s   t o   c r e a t e   P V C s   i n d i r e c t l y   i f   t h e y   c a n   c r e a t e   P o d s ,   e v e n   i f   t h e y   d o   n o t   h a v e   p e r m i s s i o n   t o   c r e a t e   P V C s   d i r e c t l y .   C l u s t e r   a d m i n i s t r a t o r s   m u s t   b e   a w a r e   o f   t h i s .   I f   t h i s   d o e s   n o t   f i t   t h e i r   s e c u r i t y   m o d e l ,   t h e y   s h o u l d   u s e   a n   a d m i s s i o n   w e b h o o k   t h a t   r e j e c t s   o b j e c t s   l i k e   P o d s   t h a t   h a v e   a   g e n e r i c   e p h e m e r a l   v o l u m e .   T h e   n o r m a l   n a m e s p a c e   q u o t a   f o r   P V C s   s t i l l   a p p l i e s ,   s o   e v e n   i f   u s e r s   a r e   a l l o w e d   t o   u s e   t h i s   n e w   m e c h a n i s m ,   t h e y   c a n n o t   u s e   i t   t o   c i r c u m v e n t   o t h e r   p o l i c i e s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/",
    "id": "k8s_00714_section_3_15767"
  },
  {
    "question": "What is Ephemeral volumes managed by kubelet?",
    "answer": "S e e   l o c a l   e p h e m e r a l   s t o r a g e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/",
    "id": "k8s_00714_section_3_15768"
  },
  {
    "question": "What is CSI ephemeral volumes?",
    "answer": "F o r   m o r e   i n f o r m a t i o n   o n   t h e   d e s i g n ,   s e e   t h e   E p h e m e r a l   I n l i n e   C S I   v o l u m e s   K E P . F o r   m o r e   i n f o r m a t i o n   o n   f u r t h e r   d e v e l o p m e n t   o f   t h i s   f e a t u r e ,   s e e   t h e   e n h a n c e m e n t   t r a c k i n g   i s s u e   # 5 9 6 .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/",
    "id": "k8s_00714_section_3_15769"
  },
  {
    "question": "What is Generic ephemeral volumes?",
    "answer": "F o r   m o r e   i n f o r m a t i o n   o n   t h e   d e s i g n ,   s e e   t h e   G e n e r i c   e p h e m e r a l   i n l i n e   v o l u m e s   K E P .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/",
    "id": "k8s_00714_section_3_15770"
  },
  {
    "question": "What is kubeadm Configuration (v1beta3)?",
    "answer": "kubeadm Configuration (v1beta3)OverviewPackage v1beta3 defines the v1beta3 version of the kubeadm configuration file format. This version improves on the v1beta2 format by fixing some minor issues and adding a few new fields.A list of changes since v1beta2:The deprecated \"ClusterConfiguration.useHyperKubeImage\" field has been removed. Kubeadm no longer supports the hyperkube image.The \"ClusterConfiguration.dns.type\" field has been removed since CoreDNS is the only supported DNS server type by kubeadm.Include \"datapolicy\" tags on the fields that hold secrets. This would result in the field values to be omitted when API structures are printed with klog.Add \"InitConfiguration.skipPhases\", \"JoinConfiguration.skipPhases\" to allow skipping a list of phases during kubeadm init/join command execution.Add \"InitConfiguration.nodeRegistration.imagePullPolicy\" and \"JoinConfiguration.nodeRegistration.imagePullPolicy\" to allow specifying the images pull policy during kubeadm \"init\" and \"join\". The value must be one of \"Always\", \"Never\" or \"IfNotPresent\". \"IfNotPresent\" is the default, which has been the existing behavior prior to this addition.Add \"InitConfiguration.patches.directory\", \"JoinConfiguration.patches.directory\" to allow the user to configure a directory from which to take patches for components deployed by kubeadm.Move the BootstrapToken* API and related utilities out of the \"kubeadm\" API group to a new group \"bootstraptoken\". The kubeadm API version v1beta3 no longer contains the BootstrapToken* structures.Migration from old kubeadm config versionskubeadm v1.15.x and newer can be used to migrate from v1beta1 to v1beta2.kubeadm v1.22.x and newer no longer support v1beta1 and older APIs, but can be used to migrate v1beta2 to v1beta3.kubeadm v1.27.x and newer no longer support v1beta2 and older APIs,BasicsThe preferred way to configure kubeadm is to pass an YAML configuration file with the --config option. Some of the configuration options defined in the kubeadm config file are also available as command line flags, but only the most common/simple use case are supported with this approach.A kubeadm config file could contain multiple configuration types separated using three dashes (---).kubeadm supports the following configuration types:apiVersion: kubeadm.k8s.io/v1beta3 kind: InitConfiguration apiVersion: kubeadm.k8s.io/v1beta3 kind: ClusterConfiguration apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration apiVersion: kubeproxy.config.k8s.io/v1alpha1 kind: KubeProxyConfiguration apiVersion: kubeadm.k8s.io/v1beta3 kind: JoinConfiguration To print the defaults for \"init\" and \"join\" actions use the following commands:kubeadm config print init-defaults kubeadm config print join-defaults The list of configuration types that must be included in a configuration file depends by the action you are performing (init or join) and by the configuration options you are going to use (defaults or advanced customization).If some configuration types are",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_qa_15771"
  },
  {
    "question": "How does kubeadm Configuration (v1beta3) work?",
    "answer": "kubeadm Configuration (v1beta3)OverviewPackage v1beta3 defines the v1beta3 version of the kubeadm configuration file format. This version improves on the v1beta2 format by fixing some minor issues and adding a few new fields.A list of changes since v1beta2:The deprecated \"ClusterConfiguration.useHyperKubeImage\" field has been removed. Kubeadm no longer supports the hyperkube image.The \"ClusterConfiguration.dns.type\" field has been removed since CoreDNS is the only supported DNS server type by kubeadm.Include \"datapolicy\" tags on the fields that hold secrets. This would result in the field values to be omitted when API structures are printed with klog.Add \"InitConfiguration.skipPhases\", \"JoinConfiguration.skipPhases\" to allow skipping a list of phases during kubeadm init/join command execution.Add \"InitConfiguration.nodeRegistration.imagePullPolicy\" and \"JoinConfiguration.nodeRegistration.imagePullPolicy\" to allow specifying the images pull policy during kubeadm \"init\" and \"join\". The value must be one of \"Always\", \"Never\" or \"IfNotPresent\". \"IfNotPresent\" is the default, which has been the existing behavior prior to this addition.Add \"InitConfiguration.patches.directory\", \"JoinConfiguration.patches.directory\" to allow the user to configure a directory from which to take patches for components deployed by kubeadm.Move the BootstrapToken* API and related utilities out of the \"kubeadm\" API group to a new group \"bootstraptoken\". The kubeadm API version v1beta3 no longer contains the BootstrapToken* structures.Migration from old kubeadm config versionskubeadm v1.15.x and newer can be used to migrate from v1beta1 to v1beta2.kubeadm v1.22.x and newer no longer support v1beta1 and older APIs, but can be used to migrate v1beta2 to v1beta3.kubeadm v1.27.x and newer no longer support v1beta2 and older APIs,BasicsThe preferred way to configure kubeadm is to pass an YAML configuration file with the --config option. Some of the configuration options defined in the kubeadm config file are also available as command line flags, but only the most common/simple use case are supported with this approach.A kubeadm config file could contain multiple configuration types separated using three dashes (---).kubeadm supports the following configuration types:apiVersion: kubeadm.k8s.io/v1beta3 kind: InitConfiguration apiVersion: kubeadm.k8s.io/v1beta3 kind: ClusterConfiguration apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration apiVersion: kubeproxy.config.k8s.io/v1alpha1 kind: KubeProxyConfiguration apiVersion: kubeadm.k8s.io/v1beta3 kind: JoinConfiguration To print the defaults for \"init\" and \"join\" actions use the following commands:kubeadm config print init-defaults kubeadm config print join-defaults The list of configuration types that must be included in a configuration file depends by the action you are performing (init or join) and by the configuration options you are going to use (defaults or advanced customization).If some configuration types are",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_qa_15772"
  },
  {
    "question": "When would you use kubeadm Configuration (v1beta3)?",
    "answer": "kubeadm Configuration (v1beta3)OverviewPackage v1beta3 defines the v1beta3 version of the kubeadm configuration file format. This version improves on the v1beta2 format by fixing some minor issues and adding a few new fields.A list of changes since v1beta2:The deprecated \"ClusterConfiguration.useHyperKubeImage\" field has been removed. Kubeadm no longer supports the hyperkube image.The \"ClusterConfiguration.dns.type\" field has been removed since CoreDNS is the only supported DNS server type by kubeadm.Include \"datapolicy\" tags on the fields that hold secrets. This would result in the field values to be omitted when API structures are printed with klog.Add \"InitConfiguration.skipPhases\", \"JoinConfiguration.skipPhases\" to allow skipping a list of phases during kubeadm init/join command execution.Add \"InitConfiguration.nodeRegistration.imagePullPolicy\" and \"JoinConfiguration.nodeRegistration.imagePullPolicy\" to allow specifying the images pull policy during kubeadm \"init\" and \"join\". The value must be one of \"Always\", \"Never\" or \"IfNotPresent\". \"IfNotPresent\" is the default, which has been the existing behavior prior to this addition.Add \"InitConfiguration.patches.directory\", \"JoinConfiguration.patches.directory\" to allow the user to configure a directory from which to take patches for components deployed by kubeadm.Move the BootstrapToken* API and related utilities out of the \"kubeadm\" API group to a new group \"bootstraptoken\". The kubeadm API version v1beta3 no longer contains the BootstrapToken* structures.Migration from old kubeadm config versionskubeadm v1.15.x and newer can be used to migrate from v1beta1 to v1beta2.kubeadm v1.22.x and newer no longer support v1beta1 and older APIs, but can be used to migrate v1beta2 to v1beta3.kubeadm v1.27.x and newer no longer support v1beta2 and older APIs,BasicsThe preferred way to configure kubeadm is to pass an YAML configuration file with the --config option. Some of the configuration options defined in the kubeadm config file are also available as command line flags, but only the most common/simple use case are supported with this approach.A kubeadm config file could contain multiple configuration types separated using three dashes (---).kubeadm supports the following configuration types:apiVersion: kubeadm.k8s.io/v1beta3 kind: InitConfiguration apiVersion: kubeadm.k8s.io/v1beta3 kind: ClusterConfiguration apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration apiVersion: kubeproxy.config.k8s.io/v1alpha1 kind: KubeProxyConfiguration apiVersion: kubeadm.k8s.io/v1beta3 kind: JoinConfiguration To print the defaults for \"init\" and \"join\" actions use the following commands:kubeadm config print init-defaults kubeadm config print join-defaults The list of configuration types that must be included in a configuration file depends by the action you are performing (init or join) and by the configuration options you are going to use (defaults or advanced customization).If some configuration types are",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_qa_15773"
  },
  {
    "question": "What are the benefits of kubeadm Configuration (v1beta3)?",
    "answer": "kubeadm Configuration (v1beta3)OverviewPackage v1beta3 defines the v1beta3 version of the kubeadm configuration file format. This version improves on the v1beta2 format by fixing some minor issues and adding a few new fields.A list of changes since v1beta2:The deprecated \"ClusterConfiguration.useHyperKubeImage\" field has been removed. Kubeadm no longer supports the hyperkube image.The \"ClusterConfiguration.dns.type\" field has been removed since CoreDNS is the only supported DNS server type by kubeadm.Include \"datapolicy\" tags on the fields that hold secrets. This would result in the field values to be omitted when API structures are printed with klog.Add \"InitConfiguration.skipPhases\", \"JoinConfiguration.skipPhases\" to allow skipping a list of phases during kubeadm init/join command execution.Add \"InitConfiguration.nodeRegistration.imagePullPolicy\" and \"JoinConfiguration.nodeRegistration.imagePullPolicy\" to allow specifying the images pull policy during kubeadm \"init\" and \"join\". The value must be one of \"Always\", \"Never\" or \"IfNotPresent\". \"IfNotPresent\" is the default, which has been the existing behavior prior to this addition.Add \"InitConfiguration.patches.directory\", \"JoinConfiguration.patches.directory\" to allow the user to configure a directory from which to take patches for components deployed by kubeadm.Move the BootstrapToken* API and related utilities out of the \"kubeadm\" API group to a new group \"bootstraptoken\". The kubeadm API version v1beta3 no longer contains the BootstrapToken* structures.Migration from old kubeadm config versionskubeadm v1.15.x and newer can be used to migrate from v1beta1 to v1beta2.kubeadm v1.22.x and newer no longer support v1beta1 and older APIs, but can be used to migrate v1beta2 to v1beta3.kubeadm v1.27.x and newer no longer support v1beta2 and older APIs,BasicsThe preferred way to configure kubeadm is to pass an YAML configuration file with the --config option. Some of the configuration options defined in the kubeadm config file are also available as command line flags, but only the most common/simple use case are supported with this approach.A kubeadm config file could contain multiple configuration types separated using three dashes (---).kubeadm supports the following configuration types:apiVersion: kubeadm.k8s.io/v1beta3 kind: InitConfiguration apiVersion: kubeadm.k8s.io/v1beta3 kind: ClusterConfiguration apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration apiVersion: kubeproxy.config.k8s.io/v1alpha1 kind: KubeProxyConfiguration apiVersion: kubeadm.k8s.io/v1beta3 kind: JoinConfiguration To print the defaults for \"init\" and \"join\" actions use the following commands:kubeadm config print init-defaults kubeadm config print join-defaults The list of configuration types that must be included in a configuration file depends by the action you are performing (init or join) and by the configuration options you are going to use (defaults or advanced customization).If some configuration types are",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_qa_15774"
  },
  {
    "question": "What is Overview?",
    "answer": "P a c k a g e   v 1 b e t a 3   d e f i n e s   t h e   v 1 b e t a 3   v e r s i o n   o f   t h e   k u b e a d m   c o n f i g u r a t i o n   f i l e   f o r m a t .   T h i s   v e r s i o n   i m p r o v e s   o n   t h e   v 1 b e t a 2   f o r m a t   b y   f i x i n g   s o m e   m i n o r   i s s u e s   a n d   a d d i n g   a   f e w   n e w   f i e l d s .   A   l i s t   o f   c h a n g e s   s i n c e   v 1 b e t a 2 :   T h e   d e p r e c a t e d   \" C l u s t e r C o n f i g u r a t i o n . u s e H y p e r K u b e I m a g e \"   f i e l d   h a s   b e e n   r e m o v e d .   K u b e a d m   n o   l o n g e r   s u p p o r t s   t h e   h y p e r k u b e   i m a g e . T h e   \" C l u s t e r C o n f i g u r a t i o n . d n s . t y p e \"   f i e l d   h a s   b e e n   r e m o v e d   s i n c e   C o r e D N S   i s   t h e   o n l y   s u p p o r t e d   D N S   s e r v e r   t y p e   b y   k u b e a d m . I n c l u d e   \" d a t a p o l i c y \"   t a g s   o n   t h e   f i e l d s   t h a t   h o l d   s e c r e t s .   T h i s   w o u l d   r e s u l t   i n   t h e   f i e l d   v a l u e s   t o   b e   o m i t t e d   w h e n   A P I   s t r u c t u r e s   a r e   p r i n t e d   w i t h   k l o g . A d d   \" I n i t C o n f i g u r a t i o n . s k i p P h a s e s \" ,   \" J o i n C o n f i g u r a t i o n . s k i p P h a s e s \"   t o   a l l o w   s k i p p i n g   a   l i s t   o f   p h a s e s   d u r i n g   k u b e a d m   i n i t / j o i n   c o m m a n d   e x e c u t i o n . A d d   \" I n i t C o n f i g u r a t i o n . n o d e R e g i s t r a t i o n . i m a g e P u l l P o l i c y \"   a n d   \" J o i n C o n f i g u r a t i o n . n o d e R e g i s t r a t i o n . i m a g e P u l l P o l i c y \"   t o   a l l o w   s p e c i f y i n g   t h e   i m a g e s   p u l l   p o l i c y   d u r i n g   k u b e a d m   \" i n i t \"   a n d   \" j o i n \" .   T h e   v a l u e   m u s t   b e   o n e   o f   \" A l w a y s \" ,   \" N e v e r \" ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_section_2_15775"
  },
  {
    "question": "What is Basics?",
    "answer": "T h e   p r e f e r r e d   w a y   t o   c o n f i g u r e   k u b e a d m   i s   t o   p a s s   a n   Y A M L   c o n f i g u r a t i o n   f i l e   w i t h   t h e   - - c o n f i g   o p t i o n .   S o m e   o f   t h e   c o n f i g u r a t i o n   o p t i o n s   d e f i n e d   i n   t h e   k u b e a d m   c o n f i g   f i l e   a r e   a l s o   a v a i l a b l e   a s   c o m m a n d   l i n e   f l a g s ,   b u t   o n l y   t h e   m o s t   c o m m o n / s i m p l e   u s e   c a s e   a r e   s u p p o r t e d   w i t h   t h i s   a p p r o a c h .   A   k u b e a d m   c o n f i g   f i l e   c o u l d   c o n t a i n   m u l t i p l e   c o n f i g u r a t i o n   t y p e s   s e p a r a t e d   u s i n g   t h r e e   d a s h e s   ( - - - ) .   k u b e a d m   s u p p o r t s   t h e   f o l l o w i n g   c o n f i g u r a t i o n   t y p e s :   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 3   k i n d :   I n i t C o n f i g u r a t i o n   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 3   k i n d :   C l u s t e r C o n f i g u r a t i o n   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   a p i V e r s i o n :   k u b e p r o x y . c o n f i g . k 8 s . i o / v 1 a l p h a 1   k i n d :   K u b e P r o x y C o n f i g u r a t i o n   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 3   k i n d :   J o i n C o n f i g u r a t i o n   T o   p r i n t   t h e   d e f a u l t s   f o r   \" i n i t \"   a n d   \" j o i n \"   a c t i o n s   u s e   t h e   f o l l o w i n g   c o m m a n d s :   k u b e a d m   c o n f i g   p r i n t   i n i t - d e f a u l t s   k u b e a d m   c o n f i g   p r i n t   j o i n - d e f a u l t s   T h e   l i s t   o f   c o n f i g u r a t i o n   t y p e s   t h a t   m u s t   b e   i n c l u d e d   i n   a   c o n f i g u r a t i o n   f i l e   d e p e n d s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_section_2_15776"
  },
  {
    "question": "What is Kubeadm init configuration types?",
    "answer": "W h e n   e x e c u t i n g   k u b e a d m   i n i t   w i t h   t h e   - - c o n f i g   o p t i o n ,   t h e   f o l l o w i n g   c o n f i g u r a t i o n   t y p e s   c o u l d   b e   u s e d :   I n i t C o n f i g u r a t i o n ,   C l u s t e r C o n f i g u r a t i o n ,   K u b e P r o x y C o n f i g u r a t i o n ,   K u b e l e t C o n f i g u r a t i o n ,   b u t   o n l y   o n e   b e t w e e n   I n i t C o n f i g u r a t i o n   a n d   C l u s t e r C o n f i g u r a t i o n   i s   m a n d a t o r y .   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 3   k i n d :   I n i t C o n f i g u r a t i o n   b o o t s t r a p T o k e n s :   . . .   n o d e R e g i s t r a t i o n :   . . .   T h e   I n i t C o n f i g u r a t i o n   t y p e   s h o u l d   b e   u s e d   t o   c o n f i g u r e   r u n t i m e   s e t t i n g s ,   t h a t   i n   c a s e   o f   k u b e a d m   i n i t   a r e   t h e   c o n f i g u r a t i o n   o f   t h e   b o o t s t r a p   t o k e n   a n d   a l l   t h e   s e t t i n g   w h i c h   a r e   s p e c i f i c   t o   t h e   n o d e   w h e r e   k u b e a d m   i s   e x e c u t e d ,   i n c l u d i n g :   N o d e R e g i s t r a t i o n ,   t h a t   h o l d s   f i e l d s   t h a t   r e l a t e   t o   r e g i s t e r i n g   t h e   n e w   n o d e   t o   t h e   c l u s t e r ;   u s e   i t   t o   c u s t o m i z e   t h e   n o d e   n a m e ,   t h e   C R I   s o c k e t   t o   u s e   o r   a n y   o t h e r   s e t t i n g s   t h a t   s h o u l d   a p p l y   t o   t h i s   n o d e   o n l y   ( e . g .   t h e   n o d e   i p ) . L o c a l A P I E n d p o i n t ,   t h a t   r e p r e s e n t s   t h e   e n d p o i n t   o f   t h e   i n s t a n c e   o f   t h e   A P I   s e r v e r   t o   b e   d e p l o y e d   o n   t h i s   n o d e ;   u s e   i t   e . g .   t o   c u s t o m i z e   t h e   A P I   s e r v e r   a d v e r t i s e   a d d r e s s . ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_section_2_15777"
  },
  {
    "question": "What is Kubeadm join configuration types?",
    "answer": "W h e n   e x e c u t i n g   k u b e a d m   j o i n   w i t h   t h e   - - c o n f i g   o p t i o n ,   t h e   J o i n C o n f i g u r a t i o n   t y p e   s h o u l d   b e   p r o v i d e d .   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 3   k i n d :   J o i n C o n f i g u r a t i o n   . . .   T h e   J o i n C o n f i g u r a t i o n   t y p e   s h o u l d   b e   u s e d   t o   c o n f i g u r e   r u n t i m e   s e t t i n g s ,   t h a t   i n   c a s e   o f   k u b e a d m   j o i n   a r e   t h e   d i s c o v e r y   m e t h o d   u s e d   f o r   a c c e s s i n g   t h e   c l u s t e r   i n f o   a n d   a l l   t h e   s e t t i n g   w h i c h   a r e   s p e c i f i c   t o   t h e   n o d e   w h e r e   k u b e a d m   i s   e x e c u t e d ,   i n c l u d i n g :   n o d e R e g i s t r a t i o n ,   t h a t   h o l d s   f i e l d s   t h a t   r e l a t e   t o   r e g i s t e r i n g   t h e   n e w   n o d e   t o   t h e   c l u s t e r ;   u s e   i t   t o   c u s t o m i z e   t h e   n o d e   n a m e ,   t h e   C R I   s o c k e t   t o   u s e   o r   a n y   o t h e r   s e t t i n g s   t h a t   s h o u l d   a p p l y   t o   t h i s   n o d e   o n l y   ( e . g .   t h e   n o d e   i p ) . a p i E n d p o i n t ,   t h a t   r e p r e s e n t s   t h e   e n d p o i n t   o f   t h e   i n s t a n c e   o f   t h e   A P I   s e r v e r   t o   b e   e v e n t u a l l y   d e p l o y e d   o n   t h i s   n o d e .   n o d e R e g i s t r a t i o n ,   t h a t   h o l d s   f i e l d s   t h a t   r e l a t e   t o   r e g i s t e r i n g   t h e   n e w   n o d e   t o   t h e   c l u s t e r ;   u s e   i t   t o   c u s t o m i z e   t h e   n o d e   n a m e ,   t h e   C R I   s o c k e t   t o   u s e   o r   a n y   o t h e r   s e t t i n g s   t h a t   s h o u l d   a p p l y   t o   t h i s   n o d e   o n l y   ( e . g .   t h e   n o d e   i p ) .   a p i E n d p o i n t ,   t h ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_section_2_15778"
  },
  {
    "question": "What is Resource Types?",
    "answer": "C l u s t e r C o n f i g u r a t i o n I n i t C o n f i g u r a t i o n J o i n C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_section_2_15779"
  },
  {
    "question": "What is BootstrapToken?",
    "answer": "A p p e a r s   i n :   I n i t C o n f i g u r a t i o n   B o o t s t r a p T o k e n   d e s c r i b e s   o n e   b o o t s t r a p   t o k e n ,   s t o r e d   a s   a   S e c r e t   i n   t h e   c l u s t e r   t o k e n   i s   u s e d   f o r   e s t a b l i s h i n g   b i d i r e c t i o n a l   t r u s t   b e t w e e n   n o d e s   a n d   c o n t r o l - p l a n e s .   U s e d   f o r   j o i n i n g   n o d e s   i n   t h e   c l u s t e r .   d e s c r i p t i o n   s e t s   a   h u m a n - f r i e n d l y   m e s s a g e   w h y   t h i s   t o k e n   e x i s t s   a n d   w h a t   i t ' s   u s e d   f o r ,   s o   o t h e r   a d m i n i s t r a t o r s   c a n   k n o w   i t s   p u r p o s e .   t t l   d e f i n e s   t h e   t i m e   t o   l i v e   f o r   t h i s   t o k e n .   D e f a u l t s   t o   2 4 h .   e x p i r e s   a n d   t t l   a r e   m u t u a l l y   e x c l u s i v e .   e x p i r e s   s p e c i f i e s   t h e   t i m e s t a m p   w h e n   t h i s   t o k e n   e x p i r e s .   D e f a u l t s   t o   b e i n g   s e t   d y n a m i c a l l y   a t   r u n t i m e   b a s e d   o n   t h e   t t l .   e x p i r e s   a n d   t t l   a r e   m u t u a l l y   e x c l u s i v e .   u s a g e s   d e s c r i b e s   t h e   w a y s   i n   w h i c h   t h i s   t o k e n   c a n   b e   u s e d .   C a n   b y   d e f a u l t   b e   u s e d   f o r   e s t a b l i s h i n g   b i d i r e c t i o n a l   t r u s t ,   b u t   t h a t   c a n   b e   c h a n g e d   h e r e .   g r o u p s   s p e c i f i e s   t h e   e x t r a   g r o u p s   t h a t   t h i s   t o k e n   w i l l   a u t h e n t i c a t e   a s   w h e n / i f   u s e d   f o r   a u t h e n t i c a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_section_2_15780"
  },
  {
    "question": "What is BootstrapTokenString?",
    "answer": "A p p e a r s   i n :   B o o t s t r a p T o k e n   B o o t s t r a p T o k e n S t r i n g   i s   a   t o k e n   o f   t h e   f o r m a t   a b c d e f . a b c d e f 0 1 2 3 4 5 6 7 8 9   t h a t   i s   u s e d   f o r   b o t h   v a l i d a t i o n   o f   t h e   p r a c t i c a l l y   o f   t h e   A P I   s e r v e r   f r o m   a   j o i n i n g   n o d e ' s   p o i n t   o f   v i e w   a n d   a s   a n   a u t h e n t i c a t i o n   m e t h o d   f o r   t h e   n o d e   i n   t h e   b o o t s t r a p   p h a s e   o f   \" k u b e a d m   j o i n \" .   T h i s   t o k e n   i s   a n d   s h o u l d   b e   s h o r t - l i v e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_section_2_15781"
  },
  {
    "question": "What is ClusterConfiguration?",
    "answer": "C l u s t e r C o n f i g u r a t i o n   c o n t a i n s   c l u s t e r - w i d e   c o n f i g u r a t i o n   f o r   a   k u b e a d m   c l u s t e r .   e t c d   h o l d s   t h e   c o n f i g u r a t i o n   f o r   e t c d .   n e t w o r k i n g   h o l d s   c o n f i g u r a t i o n   f o r   t h e   n e t w o r k i n g   t o p o l o g y   o f   t h e   c l u s t e r .   k u b e r n e t e s V e r s i o n   i s   t h e   t a r g e t   v e r s i o n   o f   t h e   c o n t r o l   p l a n e .   c o n t r o l P l a n e E n d p o i n t   s e t s   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   I t   c a n   b e   a   v a l i d   I P   a d d r e s s   o r   a   R F C - 1 1 2 3   D N S   s u b d o m a i n ,   b o t h   w i t h   o p t i o n a l   T C P   p o r t .   I n   c a s e   t h e   c o n t r o l P l a n e E n d p o i n t   i s   n o t   s p e c i f i e d ,   t h e   a d v e r t i s e A d d r e s s   +   b i n d P o r t   a r e   u s e d ;   i n   c a s e   t h e   c o n t r o l P l a n e E n d p o i n t   i s   s p e c i f i e d   b u t   w i t h o u t   a   T C P   p o r t ,   t h e   b i n d P o r t   i s   u s e d .   P o s s i b l e   u s a g e s   a r e :   I n   a   c l u s t e r   w i t h   m o r e   t h a n   o n e   c o n t r o l   p l a n e   i n s t a n c e s ,   t h i s   f i e l d   s h o u l d   b e   a s s i g n e d   t h e   a d d r e s s   o f   t h e   e x t e r n a l   l o a d   b a l a n c e r   i n   f r o n t   o f   t h e   c o n t r o l   p l a n e   i n s t a n c e s . I n   e n v i r o n m e n t s   w i t h   e n f o r c e d   n o d e   r e c y c l i n g ,   t h e   c o n t r o l P l a n e E n d p o i n t   c o u l d   b e   u s e d   f o r   a s s i g n i n g   a   s t a b l e   D N S   t o   t h e   c o n t r o l   p l a n e .   a p i S e r v e r   c o n t a i n s   e x t r a   s e t t i n g s   f o r   t h e   A P I   s e r v e r .   c o n t r o l l e r M a n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_section_2_15782"
  },
  {
    "question": "What is InitConfiguration?",
    "answer": "I n i t C o n f i g u r a t i o n   c o n t a i n s   a   l i s t   o f   e l e m e n t s   t h a t   i s   s p e c i f i c   \" k u b e a d m   i n i t \" - o n l y   r u n t i m e   i n f o r m a t i o n .   k u b e a d m   i n i t - o n l y   i n f o r m a t i o n .   T h e s e   f i e l d s   a r e   s o l e l y   u s e d   t h e   f i r s t   t i m e   k u b e a d m   i n i t   r u n s .   A f t e r   t h a t ,   t h e   i n f o r m a t i o n   i n   t h e   f i e l d s   I S   N O T   u p l o a d e d   t o   t h e   k u b e a d m - c o n f i g   C o n f i g M a p   t h a t   i s   u s e d   b y   k u b e a d m   u p g r a d e   f o r   i n s t a n c e .   T h e s e   f i e l d s   m u s t   b e   o m i t e m p t y .   b o o t s t r a p T o k e n s   i s   r e s p e c t e d   a t   k u b e a d m   i n i t   t i m e   a n d   d e s c r i b e s   a   s e t   o f   B o o t s t r a p   T o k e n s   t o   c r e a t e .   T h i s   i n f o r m a t i o n   I S   N O T   u p l o a d e d   t o   t h e   k u b e a d m   c l u s t e r   c o n f i g m a p ,   p a r t l y   b e c a u s e   o f   i t s   s e n s i t i v e   n a t u r e   n o d e R e g i s t r a t i o n   h o l d s   f i e l d s   t h a t   r e l a t e   t o   r e g i s t e r i n g   t h e   n e w   c o n t r o l - p l a n e   n o d e   t o   t h e   c l u s t e r .   l o c a l A P I E n d p o i n t   r e p r e s e n t s   t h e   e n d p o i n t   o f   t h e   A P I   s e r v e r   i n s t a n c e   t h a t ' s   d e p l o y e d   o n   t h i s   c o n t r o l   p l a n e   n o d e .   I n   H A   s e t u p s ,   t h i s   d i f f e r s   f r o m   C l u s t e r C o n f i g u r a t i o n . c o n t r o l P l a n e E n d p o i n t   i n   t h e   s e n s e   t h a t   c o n t r o l P l a n e E n d p o i n t   i s   t h e   g l o b a l   e n d p o i n t   f o r   t h e   c l u s t e r ,   w h i c h   t h e n   l o a d - b a l a n c e s   t h e   r e q u e s t s   t o   e a c h   i n d i v i d u a l   A P I   s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_section_2_15783"
  },
  {
    "question": "What is JoinConfiguration?",
    "answer": "J o i n C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   a   p a r t i c u l a r   n o d e .   n o d e R e g i s t r a t i o n   h o l d s   f i e l d s   t h a t   r e l a t e   t o   r e g i s t e r i n g   t h e   n e w   c o n t r o l - p l a n e   n o d e   t o   t h e   c l u s t e r .   c a C e r t P a t h   i s   t h e   p a t h   t o   t h e   S S L   c e r t i f i c a t e   a u t h o r i t y   u s e d   t o   s e c u r e   c o m m u n i c a t i o n s   b e t w e e n   a   n o d e   a n d   t h e   c o n t r o l - p l a n e .   D e f a u l t s   t o   \" / e t c / k u b e r n e t e s / p k i / c a . c r t \" .   d i s c o v e r y   s p e c i f i e s   t h e   o p t i o n s   f o r   t h e   k u b e l e t   t o   u s e   d u r i n g   t h e   T L S   b o o t s t r a p   p r o c e s s .   c o n t r o l P l a n e   d e f i n e s   t h e   a d d i t i o n a l   c o n t r o l   p l a n e   i n s t a n c e   t o   b e   d e p l o y e d   o n   t h e   j o i n i n g   n o d e .   I f   n i l ,   n o   a d d i t i o n a l   c o n t r o l   p l a n e   i n s t a n c e   w i l l   b e   d e p l o y e d .   s k i p P h a s e s   i s   a   l i s t   o f   p h a s e s   t o   s k i p   d u r i n g   c o m m a n d   e x e c u t i o n .   T h e   l i s t   o f   p h a s e s   c a n   b e   o b t a i n e d   w i t h   t h e   k u b e a d m   j o i n   - - h e l p   c o m m a n d .   T h e   f l a g   - - s k i p - p h a s e s   t a k e s   p r e c e d e n c e   o v e r   t h i s   f i e l d .   p a t c h e s   c o n t a i n s   o p t i o n s   r e l a t e d   t o   a p p l y i n g   p a t c h e s   t o   c o m p o n e n t s   d e p l o y e d   b y   k u b e a d m   d u r i n g   k u b e a d m   j o i n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_section_2_15784"
  },
  {
    "question": "What is APIEndpoint?",
    "answer": "A p p e a r s   i n :   I n i t C o n f i g u r a t i o n J o i n C o n t r o l P l a n e   I n i t C o n f i g u r a t i o n   J o i n C o n t r o l P l a n e   A P I E n d p o i n t   s t r u c t   c o n t a i n s   e l e m e n t s   o f   A P I   s e r v e r   i n s t a n c e   d e p l o y e d   o n   a   n o d e .   a d v e r t i s e A d d r e s s   s e t s   t h e   I P   a d d r e s s   f o r   t h e   A P I   s e r v e r   t o   a d v e r t i s e .   b i n d P o r t   s e t s   t h e   s e c u r e   p o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   D e f a u l t s   t o   6 4 4 3 .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_section_2_15785"
  },
  {
    "question": "What is APIServer?",
    "answer": "A p p e a r s   i n :   C l u s t e r C o n f i g u r a t i o n   A P I S e r v e r   h o l d s   s e t t i n g s   n e c e s s a r y   f o r   A P I   s e r v e r   d e p l o y m e n t s   i n   t h e   c l u s t e r   c e r t S A N s   s e t s   e x t r a   S u b j e c t   A l t e r n a t i v e   N a m e s   ( S A N s )   f o r   t h e   A P I   S e r v e r   s i g n i n g   c e r t i f i c a t e .   t i m e o u t F o r C o n t r o l P l a n e   c o n t r o l s   t h e   t i m e o u t   t h a t   w e   w a i t   f o r   A P I   s e r v e r   t o   a p p e a r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_section_2_15786"
  },
  {
    "question": "What is BootstrapTokenDiscovery?",
    "answer": "A p p e a r s   i n :   D i s c o v e r y   B o o t s t r a p T o k e n D i s c o v e r y   i s   u s e d   t o   s e t   t h e   o p t i o n s   f o r   b o o t s t r a p   t o k e n   b a s e d   d i s c o v e r y .   t o k e n   i s   a   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   c o n t r o l - p l a n e .   a p i S e r v e r E n d p o i n t   i s   a n   I P   o r   d o m a i n   n a m e   t o   t h e   A P I   s e r v e r   f r o m   w h i c h   i n f o r m a t i o n   w i l l   b e   f e t c h e d .   c a C e r t H a s h e s   s p e c i f i e s   a   s e t   o f   p u b l i c   k e y   p i n s   t o   v e r i f y   w h e n   t o k e n - b a s e d   d i s c o v e r y   i s   u s e d .   T h e   r o o t   C A   f o u n d   d u r i n g   d i s c o v e r y   m u s t   m a t c h   o n e   o f   t h e s e   v a l u e s .   S p e c i f y i n g   a n   e m p t y   s e t   d i s a b l e s   r o o t   C A   p i n n i n g ,   w h i c h   c a n   b e   u n s a f e .   E a c h   h a s h   i s   s p e c i f i e d   a s   < t y p e > : < v a l u e > ,   w h e r e   t h e   o n l y   c u r r e n t l y   s u p p o r t e d   t y p e   i s   \" s h a 2 5 6 \" .   T h i s   i s   a   h e x - e n c o d e d   S H A - 2 5 6   h a s h   o f   t h e   S u b j e c t   P u b l i c   K e y   I n f o   ( S P K I )   o b j e c t   i n   D E R - e n c o d e d   A S N . 1 .   T h e s e   h a s h e s   c a n   b e   c a l c u l a t e d   u s i n g ,   f o r   e x a m p l e ,   O p e n S S L .   u n s a f e S k i p C A V e r i f i c a t i o n   a l l o w s   t o k e n - b a s e d   d i s c o v e r y   w i t h o u t   C A   v e r i f i c a t i o n   v i a   c a C e r t H a s h e s .   T h i s   c a n   w e a k e n   t h e   s e c u r i t y   o f   k u b e a d m   s i n c e   o t h e r   n o d e s   c a n   i m p e r s o n a t e   t h e   c o n t r o l - p l a n e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_section_2_15787"
  },
  {
    "question": "What is ControlPlaneComponent?",
    "answer": "A p p e a r s   i n :   C l u s t e r C o n f i g u r a t i o n A P I S e r v e r   C l u s t e r C o n f i g u r a t i o n   A P I S e r v e r   C o n t r o l P l a n e C o m p o n e n t   h o l d s   s e t t i n g s   c o m m o n   t o   c o n t r o l   p l a n e   c o m p o n e n t   o f   t h e   c l u s t e r   e x t r a A r g s   i s   a n   e x t r a   s e t   o f   f l a g s   t o   p a s s   t o   t h e   c o n t r o l   p l a n e   c o m p o n e n t .   A   k e y   i n   t h i s   m a p   i s   t h e   f l a g   n a m e   a s   i t   a p p e a r s   o n   t h e   c o m m a n d   l i n e   e x c e p t   w i t h o u t   l e a d i n g   d a s h ( e s ) .   e x t r a V o l u m e s   i s   a n   e x t r a   s e t   o f   h o s t   v o l u m e s ,   m o u n t e d   t o   t h e   c o n t r o l   p l a n e   c o m p o n e n t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_section_2_15788"
  },
  {
    "question": "What is DNS?",
    "answer": "A p p e a r s   i n :   C l u s t e r C o n f i g u r a t i o n   D N S   d e f i n e s   t h e   D N S   a d d o n   t h a t   s h o u l d   b e   u s e d   i n   t h e   c l u s t e r   i m a g e M e t a   a l l o w s   t o   c u s t o m i z e   t h e   i m a g e   u s e d   f o r   t h e   D N S   c o m p o n e n t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_section_2_15789"
  },
  {
    "question": "What is Discovery?",
    "answer": "A p p e a r s   i n :   J o i n C o n f i g u r a t i o n   D i s c o v e r y   s p e c i f i e s   t h e   o p t i o n s   f o r   t h e   k u b e l e t   t o   u s e   d u r i n g   t h e   T L S   B o o t s t r a p   p r o c e s s .   b o o t s t r a p T o k e n   i s   u s e d   t o   s e t   t h e   o p t i o n s   f o r   b o o t s t r a p   t o k e n   b a s e d   d i s c o v e r y .   b o o t s t r a p T o k e n   a n d   f i l e   a r e   m u t u a l l y   e x c l u s i v e .   f i l e   i s   u s e d   t o   s p e c i f y   a   f i l e   o r   U R L   t o   a   k u b e c o n f i g   f i l e   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   b o o t s t r a p T o k e n   a n d   f i l e   a r e   m u t u a l l y   e x c l u s i v e .   t l s B o o t s t r a p T o k e n   i s   a   t o k e n   u s e d   f o r   T L S   b o o t s t r a p p i n g .   I f   b o o t s t r a p T o k e n   i s   s e t ,   t h i s   f i e l d   i s   d e f a u l t e d   t o   . b o o t s t r a p T o k e n . t o k e n ,   b u t   c a n   b e   o v e r r i d d e n .   I f   f i l e   i s   s e t ,   t h i s   f i e l d   m u s t   b e   s e t   i n   c a s e   t h e   K u b e C o n f i g F i l e   d o e s   n o t   c o n t a i n   a n y   o t h e r   a u t h e n t i c a t i o n   i n f o r m a t i o n   t i m e o u t   m o d i f i e s   t h e   d i s c o v e r y   t i m e o u t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_section_2_15790"
  },
  {
    "question": "What is Etcd?",
    "answer": "A p p e a r s   i n :   C l u s t e r C o n f i g u r a t i o n   E t c d   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   E t c d   c o n f i g u r a t i o n .   l o c a l   p r o v i d e s   c o n f i g u r a t i o n   k n o b s   f o r   c o n f i g u r i n g   t h e   l o c a l   e t c d   i n s t a n c e .   l o c a l   a n d   e x t e r n a l   a r e   m u t u a l l y   e x c l u s i v e .   e x t e r n a l   d e s c r i b e s   h o w   t o   c o n n e c t   t o   a n   e x t e r n a l   e t c d   c l u s t e r .   l o c a l   a n d   e x t e r n a l   a r e   m u t u a l l y   e x c l u s i v e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_section_2_15791"
  },
  {
    "question": "What is ExternalEtcd?",
    "answer": "A p p e a r s   i n :   E t c d   E x t e r n a l E t c d   d e s c r i b e s   a n   e x t e r n a l   e t c d   c l u s t e r .   K u b e a d m   h a s   n o   k n o w l e d g e   o f   w h e r e   c e r t i f i c a t e   f i l e s   l i v e   a n d   t h e y   m u s t   b e   s u p p l i e d .   e n d p o i n t s   c o n t a i n s   t h e   l i s t   o f   e t c d   m e m b e r s .   c a F i l e   i s   a n   S S L   C e r t i f i c a t e   A u t h o r i t y   ( C A )   f i l e   u s e d   t o   s e c u r e   e t c d   c o m m u n i c a t i o n .   R e q u i r e d   i f   u s i n g   a   T L S   c o n n e c t i o n .   c e r t F i l e   i s   a n   S S L   c e r t i f i c a t i o n   f i l e   u s e d   t o   s e c u r e   e t c d   c o m m u n i c a t i o n .   R e q u i r e d   i f   u s i n g   a   T L S   c o n n e c t i o n .   k e y F i l e   i s   a n   S S L   k e y   f i l e   u s e d   t o   s e c u r e   e t c d   c o m m u n i c a t i o n .   R e q u i r e d   i f   u s i n g   a   T L S   c o n n e c t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_section_2_15792"
  },
  {
    "question": "What is FileDiscovery?",
    "answer": "A p p e a r s   i n :   D i s c o v e r y   F i l e D i s c o v e r y   i s   u s e d   t o   s p e c i f y   a   f i l e   o r   U R L   t o   a   k u b e c o n f i g   f i l e   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   k u b e C o n f i g P a t h   i s   u s e d   t o   s p e c i f y   t h e   a c t u a l   f i l e   p a t h   o r   U R L   t o   t h e   k u b e c o n f i g   f i l e   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_section_2_15793"
  },
  {
    "question": "What is HostPathMount?",
    "answer": "A p p e a r s   i n :   C o n t r o l P l a n e C o m p o n e n t   H o s t P a t h M o u n t   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   v o l u m e s   t h a t   a r e   m o u n t e d   f r o m   t h e   h o s t .   n a m e   i s   t h e   n a m e   o f   t h e   v o l u m e   i n s i d e   t h e   P o d   t e m p l a t e .   h o s t P a t h   i s   t h e   p a t h   i n   t h e   h o s t   t h a t   w i l l   b e   m o u n t e d   i n s i d e   t h e   P o d .   m o u n t P a t h   i s   t h e   p a t h   i n s i d e   t h e   P o d   w h e r e   h o s t P a t h   w i l l   b e   m o u n t e d .   r e a d O n l y   c o n t r o l s   w r i t e   a c c e s s   t o   t h e   v o l u m e .   p a t h T y p e   i s   t h e   t y p e   o f   t h e   h o s t P a t h .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_section_2_15794"
  },
  {
    "question": "What is ImageMeta?",
    "answer": "A p p e a r s   i n :   D N S L o c a l E t c d   D N S   L o c a l E t c d   I m a g e M e t a   a l l o w s   t o   c u s t o m i z e   t h e   i m a g e   u s e d   f o r   c o m p o n e n t s   t h a t   a r e   n o t   o r i g i n a t e d   f r o m   t h e   K u b e r n e t e s / K u b e r n e t e s   r e l e a s e   p r o c e s s   i m a g e R e p o s i t o r y   s e t s   t h e   c o n t a i n e r   r e g i s t r y   t o   p u l l   i m a g e s   f r o m .   I f   n o t   s e t ,   t h e   i m a g e R e p o s i t o r y   d e f i n e d   i n   C l u s t e r C o n f i g u r a t i o n   w i l l   b e   u s e d   i n s t e a d .   i m a g e T a g   a l l o w s   t o   s p e c i f y   a   t a g   f o r   t h e   i m a g e .   I n   c a s e   t h i s   v a l u e   i s   s e t ,   k u b e a d m   d o e s   n o t   c h a n g e   a u t o m a t i c a l l y   t h e   v e r s i o n   o f   t h e   a b o v e   c o m p o n e n t s   d u r i n g   u p g r a d e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_section_2_15795"
  },
  {
    "question": "What is JoinControlPlane?",
    "answer": "A p p e a r s   i n :   J o i n C o n f i g u r a t i o n   J o i n C o n t r o l P l a n e   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   a n   a d d i t i o n a l   c o n t r o l   p l a n e   i n s t a n c e   t o   b e   d e p l o y e d   o n   t h e   j o i n i n g   n o d e .   l o c a l A P I E n d p o i n t   r e p r e s e n t s   t h e   e n d p o i n t   o f   t h e   A P I   s e r v e r   i n s t a n c e   t o   b e   d e p l o y e d   o n   t h i s   n o d e .   c e r t i f i c a t e K e y   i s   t h e   k e y   t h a t   i s   u s e d   f o r   d e c r y p t i o n   o f   c e r t i f i c a t e s   a f t e r   t h e y   a r e   d o w n l o a d e d   f r o m   t h e   s e c r e t   u p o n   j o i n i n g   a   n e w   c o n t r o l   p l a n e   n o d e .   T h e   c o r r e s p o n d i n g   e n c r y p t i o n   k e y   i s   i n   t h e   I n i t C o n f i g u r a t i o n .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_section_2_15796"
  },
  {
    "question": "What is LocalEtcd?",
    "answer": "A p p e a r s   i n :   E t c d   L o c a l E t c d   d e s c r i b e s   t h a t   k u b e a d m   s h o u l d   r u n   a n   e t c d   c l u s t e r   l o c a l l y .   I m a g e M e t a   a l l o w s   t o   c u s t o m i z e   t h e   c o n t a i n e r   u s e d   f o r   e t c d .   d a t a D i r   i s   t h e   d i r e c t o r y   e t c d   w i l l   p l a c e   i t s   d a t a .   D e f a u l t s   t o   \" / v a r / l i b / e t c d \" .   e x t r a A r g s   a r e   e x t r a   a r g u m e n t s   p r o v i d e d   t o   t h e   e t c d   b i n a r y   w h e n   r u n   i n s i d e   a   s t a t i c   P o d .   A   k e y   i n   t h i s   m a p   i s   t h e   f l a g   n a m e   a s   i t   a p p e a r s   o n   t h e   c o m m a n d   l i n e   e x c e p t   w i t h o u t   l e a d i n g   d a s h ( e s ) .   s e r v e r C e r t S A N s   s e t s   e x t r a   S u b j e c t   A l t e r n a t i v e   N a m e s   ( S A N s )   f o r   t h e   e t c d   s e r v e r   s i g n i n g   c e r t i f i c a t e .   p e e r C e r t S A N s   s e t s   e x t r a   S u b j e c t   A l t e r n a t i v e   N a m e s   ( S A N s )   f o r   t h e   e t c d   p e e r   s i g n i n g   c e r t i f i c a t e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_section_2_15797"
  },
  {
    "question": "What is Networking?",
    "answer": "A p p e a r s   i n :   C l u s t e r C o n f i g u r a t i o n   N e t w o r k i n g   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   c l u s t e r ' s   n e t w o r k i n g   c o n f i g u r a t i o n .   s e r v i c e S u b n e t   i s   t h e   s u b n e t   u s e d   b y   K u b e r n e t e s   S e r v i c e s .   D e f a u l t s   t o   \" 1 0 . 9 6 . 0 . 0 / 1 2 \" .   p o d S u b n e t   i s   t h e   s u b n e t   u s e d   b y   P o d s .   d n s D o m a i n   i s   t h e   D N S   d o m a i n   u s e d   b y   K u b e r n e t e s   S e r v i c e s .   D e f a u l t s   t o   \" c l u s t e r . l o c a l \" .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_section_2_15798"
  },
  {
    "question": "What is NodeRegistrationOptions?",
    "answer": "A p p e a r s   i n :   I n i t C o n f i g u r a t i o n J o i n C o n f i g u r a t i o n   I n i t C o n f i g u r a t i o n   J o i n C o n f i g u r a t i o n   N o d e R e g i s t r a t i o n O p t i o n s   h o l d s   f i e l d s   t h a t   r e l a t e   t o   r e g i s t e r i n g   a   n e w   c o n t r o l - p l a n e   o r   n o d e   t o   t h e   c l u s t e r ,   e i t h e r   v i a   k u b e a d m   i n i t   o r   k u b e a d m   j o i n .   n a m e   i s   t h e   . m e t a d a t a . n a m e   f i e l d   o f   t h e   N o d e   A P I   o b j e c t   t h a t   w i l l   b e   c r e a t e d   i n   t h i s   k u b e a d m   i n i t   o r   k u b e a d m   j o i n   o p e r a t i o n .   T h i s   f i e l d   i s   a l s o   u s e d   i n   t h e   C o m m o n N a m e   f i e l d   o f   t h e   k u b e l e t ' s   c l i e n t   c e r t i f i c a t e   t o   t h e   A P I   s e r v e r .   D e f a u l t s   t o   t h e   h o s t n a m e   o f   t h e   n o d e   i f   n o t   p r o v i d e d .   c r i S o c k e t   i s   u s e d   t o   r e t r i e v e   c o n t a i n e r   r u n t i m e   i n f o .   T h i s   i n f o r m a t i o n   w i l l   b e   a n n o t a t e d   t o   t h e   N o d e   A P I   o b j e c t ,   f o r   l a t e r   r e - u s e .   t a i n t s   s p e c i f i e s   t h e   t a i n t s   t h e   N o d e   A P I   o b j e c t   s h o u l d   b e   r e g i s t e r e d   w i t h .   I f   t h i s   f i e l d   i s   u n s e t ,   i . e .   n i l ,   i t   w i l l   b e   d e f a u l t e d   w i t h   a   c o n t r o l - p l a n e   t a i n t   f o r   c o n t r o l - p l a n e   n o d e s .   I f   y o u   d o n ' t   w a n t   t o   t a i n t   y o u r   c o n t r o l - p l a n e   n o d e ,   s e t   t h i s   f i e l d   t o   a n   e m p t y   l i s t ,   i . e .   t a i n t s :   [ ]   i n   t h e   Y A M L   f i l e .   T h i s   f i e l d   i s   s o l e l y   u s e d   f o r   N o d e   r e g i s t r a t i o n .   k u b e l ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_section_2_15799"
  },
  {
    "question": "What is Patches?",
    "answer": "A p p e a r s   i n :   I n i t C o n f i g u r a t i o n J o i n C o n f i g u r a t i o n   I n i t C o n f i g u r a t i o n   J o i n C o n f i g u r a t i o n   P a t c h e s   c o n t a i n s   o p t i o n s   r e l a t e d   t o   a p p l y i n g   p a t c h e s   t o   c o m p o n e n t s   d e p l o y e d   b y   k u b e a d m .   d i r e c t o r y   i s   a   p a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \"   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/",
    "id": "k8s_00715_section_2_15800"
  },
  {
    "question": "What is Apply Pod Security Standards at the Cluster Level?",
    "answer": "Apply Pod Security Standards at the Cluster LevelNoteThis tutorial applies only for new clusters.Pod Security is an admission controller that carries out checks against the Kubernetes Pod Security Standards when new pods are created. It is a feature GA'ed in v1.25. This tutorial shows you how to enforce the baseline Pod Security Standard at the cluster level which applies a standard configuration to all namespaces in a cluster.To apply Pod Security Standards to specific namespaces, refer to Apply Pod Security Standards at the namespace level.If you are running a version of Kubernetes other than v1.34, check the documentation for that version.Before you beginInstall the following on your workstation:kindkubectlThis tutorial demonstrates what you can configure for a Kubernetes cluster that you fully control. If you are learning how to configure Pod Security Admission for a managed cluster where you are not able to configure the control plane, read Apply Pod Security Standards at the namespace level.Choose the right Pod Security Standard to applyPod Security Admission lets you apply built-in Pod Security Standards with the following modes: enforce, audit, and warn.To gather information that helps you to choose the Pod Security Standards that are most appropriate for your configuration, do the following:Create a cluster with no Pod Security Standards applied:kind create cluster --name psa-wo-cluster-pss The output is similar to:Creating cluster \"psa-wo-cluster-pss\" ... ✓ Ensuring node image (kindest/node:v1.34.0) 🖼 ✓ Preparing nodes 📦 ✓ Writing configuration 📜 ✓ Starting control-plane 🕹️ ✓ Installing CNI 🔌 ✓ Installing StorageClass 💾 Set kubectl context to \"kind-psa-wo-cluster-pss\" You can now use your cluster with: kubectl cluster-info --context kind-psa-wo-cluster-pss Thanks for using kind! 😊 Set the kubectl context to the new cluster:kubectl cluster-info --context kind-psa-wo-cluster-pss The output is similar to this:Kubernetes control plane is running at https://127.0.0.1:61350 CoreDNS is running at https://127.0.0.1:61350/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'. Get a list of namespaces in the cluster:kubectl get ns The output is similar to this:NAME STATUS AGE default Active 9m30s kube-node-lease Active 9m32s kube-public Active 9m32s kube-system Active 9m32s local-path-storage Active 9m26s Use --dry-run=server to understand what happens when different Pod Security Standards are applied:Privilegedkubectl label --dry-run=server --overwrite ns --all \\ pod-security.kubernetes.io/enforce=privileged The output is similar to:namespace/default labeled namespace/kube-node-lease labeled namespace/kube-public labeled namespace/kube-system labeled namespace/local-path-storage labeled Baselinekubectl label --dry-run=server --overwrite ns --all \\ pod-security.kubernetes.io/enforce=baseline The output is similar to:namespace/default labeled namespace/kube-node-le",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/cluster-level-pss/",
    "id": "k8s_00716_qa_15801"
  },
  {
    "question": "How does Apply Pod Security Standards at the Cluster Level work?",
    "answer": "Apply Pod Security Standards at the Cluster LevelNoteThis tutorial applies only for new clusters.Pod Security is an admission controller that carries out checks against the Kubernetes Pod Security Standards when new pods are created. It is a feature GA'ed in v1.25. This tutorial shows you how to enforce the baseline Pod Security Standard at the cluster level which applies a standard configuration to all namespaces in a cluster.To apply Pod Security Standards to specific namespaces, refer to Apply Pod Security Standards at the namespace level.If you are running a version of Kubernetes other than v1.34, check the documentation for that version.Before you beginInstall the following on your workstation:kindkubectlThis tutorial demonstrates what you can configure for a Kubernetes cluster that you fully control. If you are learning how to configure Pod Security Admission for a managed cluster where you are not able to configure the control plane, read Apply Pod Security Standards at the namespace level.Choose the right Pod Security Standard to applyPod Security Admission lets you apply built-in Pod Security Standards with the following modes: enforce, audit, and warn.To gather information that helps you to choose the Pod Security Standards that are most appropriate for your configuration, do the following:Create a cluster with no Pod Security Standards applied:kind create cluster --name psa-wo-cluster-pss The output is similar to:Creating cluster \"psa-wo-cluster-pss\" ... ✓ Ensuring node image (kindest/node:v1.34.0) 🖼 ✓ Preparing nodes 📦 ✓ Writing configuration 📜 ✓ Starting control-plane 🕹️ ✓ Installing CNI 🔌 ✓ Installing StorageClass 💾 Set kubectl context to \"kind-psa-wo-cluster-pss\" You can now use your cluster with: kubectl cluster-info --context kind-psa-wo-cluster-pss Thanks for using kind! 😊 Set the kubectl context to the new cluster:kubectl cluster-info --context kind-psa-wo-cluster-pss The output is similar to this:Kubernetes control plane is running at https://127.0.0.1:61350 CoreDNS is running at https://127.0.0.1:61350/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'. Get a list of namespaces in the cluster:kubectl get ns The output is similar to this:NAME STATUS AGE default Active 9m30s kube-node-lease Active 9m32s kube-public Active 9m32s kube-system Active 9m32s local-path-storage Active 9m26s Use --dry-run=server to understand what happens when different Pod Security Standards are applied:Privilegedkubectl label --dry-run=server --overwrite ns --all \\ pod-security.kubernetes.io/enforce=privileged The output is similar to:namespace/default labeled namespace/kube-node-lease labeled namespace/kube-public labeled namespace/kube-system labeled namespace/local-path-storage labeled Baselinekubectl label --dry-run=server --overwrite ns --all \\ pod-security.kubernetes.io/enforce=baseline The output is similar to:namespace/default labeled namespace/kube-node-le",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/cluster-level-pss/",
    "id": "k8s_00716_qa_15802"
  },
  {
    "question": "When would you use Apply Pod Security Standards at the Cluster Level?",
    "answer": "Apply Pod Security Standards at the Cluster LevelNoteThis tutorial applies only for new clusters.Pod Security is an admission controller that carries out checks against the Kubernetes Pod Security Standards when new pods are created. It is a feature GA'ed in v1.25. This tutorial shows you how to enforce the baseline Pod Security Standard at the cluster level which applies a standard configuration to all namespaces in a cluster.To apply Pod Security Standards to specific namespaces, refer to Apply Pod Security Standards at the namespace level.If you are running a version of Kubernetes other than v1.34, check the documentation for that version.Before you beginInstall the following on your workstation:kindkubectlThis tutorial demonstrates what you can configure for a Kubernetes cluster that you fully control. If you are learning how to configure Pod Security Admission for a managed cluster where you are not able to configure the control plane, read Apply Pod Security Standards at the namespace level.Choose the right Pod Security Standard to applyPod Security Admission lets you apply built-in Pod Security Standards with the following modes: enforce, audit, and warn.To gather information that helps you to choose the Pod Security Standards that are most appropriate for your configuration, do the following:Create a cluster with no Pod Security Standards applied:kind create cluster --name psa-wo-cluster-pss The output is similar to:Creating cluster \"psa-wo-cluster-pss\" ... ✓ Ensuring node image (kindest/node:v1.34.0) 🖼 ✓ Preparing nodes 📦 ✓ Writing configuration 📜 ✓ Starting control-plane 🕹️ ✓ Installing CNI 🔌 ✓ Installing StorageClass 💾 Set kubectl context to \"kind-psa-wo-cluster-pss\" You can now use your cluster with: kubectl cluster-info --context kind-psa-wo-cluster-pss Thanks for using kind! 😊 Set the kubectl context to the new cluster:kubectl cluster-info --context kind-psa-wo-cluster-pss The output is similar to this:Kubernetes control plane is running at https://127.0.0.1:61350 CoreDNS is running at https://127.0.0.1:61350/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'. Get a list of namespaces in the cluster:kubectl get ns The output is similar to this:NAME STATUS AGE default Active 9m30s kube-node-lease Active 9m32s kube-public Active 9m32s kube-system Active 9m32s local-path-storage Active 9m26s Use --dry-run=server to understand what happens when different Pod Security Standards are applied:Privilegedkubectl label --dry-run=server --overwrite ns --all \\ pod-security.kubernetes.io/enforce=privileged The output is similar to:namespace/default labeled namespace/kube-node-lease labeled namespace/kube-public labeled namespace/kube-system labeled namespace/local-path-storage labeled Baselinekubectl label --dry-run=server --overwrite ns --all \\ pod-security.kubernetes.io/enforce=baseline The output is similar to:namespace/default labeled namespace/kube-node-le",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/cluster-level-pss/",
    "id": "k8s_00716_qa_15803"
  },
  {
    "question": "What are the benefits of Apply Pod Security Standards at the Cluster Level?",
    "answer": "Apply Pod Security Standards at the Cluster LevelNoteThis tutorial applies only for new clusters.Pod Security is an admission controller that carries out checks against the Kubernetes Pod Security Standards when new pods are created. It is a feature GA'ed in v1.25. This tutorial shows you how to enforce the baseline Pod Security Standard at the cluster level which applies a standard configuration to all namespaces in a cluster.To apply Pod Security Standards to specific namespaces, refer to Apply Pod Security Standards at the namespace level.If you are running a version of Kubernetes other than v1.34, check the documentation for that version.Before you beginInstall the following on your workstation:kindkubectlThis tutorial demonstrates what you can configure for a Kubernetes cluster that you fully control. If you are learning how to configure Pod Security Admission for a managed cluster where you are not able to configure the control plane, read Apply Pod Security Standards at the namespace level.Choose the right Pod Security Standard to applyPod Security Admission lets you apply built-in Pod Security Standards with the following modes: enforce, audit, and warn.To gather information that helps you to choose the Pod Security Standards that are most appropriate for your configuration, do the following:Create a cluster with no Pod Security Standards applied:kind create cluster --name psa-wo-cluster-pss The output is similar to:Creating cluster \"psa-wo-cluster-pss\" ... ✓ Ensuring node image (kindest/node:v1.34.0) 🖼 ✓ Preparing nodes 📦 ✓ Writing configuration 📜 ✓ Starting control-plane 🕹️ ✓ Installing CNI 🔌 ✓ Installing StorageClass 💾 Set kubectl context to \"kind-psa-wo-cluster-pss\" You can now use your cluster with: kubectl cluster-info --context kind-psa-wo-cluster-pss Thanks for using kind! 😊 Set the kubectl context to the new cluster:kubectl cluster-info --context kind-psa-wo-cluster-pss The output is similar to this:Kubernetes control plane is running at https://127.0.0.1:61350 CoreDNS is running at https://127.0.0.1:61350/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'. Get a list of namespaces in the cluster:kubectl get ns The output is similar to this:NAME STATUS AGE default Active 9m30s kube-node-lease Active 9m32s kube-public Active 9m32s kube-system Active 9m32s local-path-storage Active 9m26s Use --dry-run=server to understand what happens when different Pod Security Standards are applied:Privilegedkubectl label --dry-run=server --overwrite ns --all \\ pod-security.kubernetes.io/enforce=privileged The output is similar to:namespace/default labeled namespace/kube-node-lease labeled namespace/kube-public labeled namespace/kube-system labeled namespace/local-path-storage labeled Baselinekubectl label --dry-run=server --overwrite ns --all \\ pod-security.kubernetes.io/enforce=baseline The output is similar to:namespace/default labeled namespace/kube-node-le",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/cluster-level-pss/",
    "id": "k8s_00716_qa_15804"
  },
  {
    "question": "What is Note?",
    "answer": "P o d   S e c u r i t y   i s   a n   a d m i s s i o n   c o n t r o l l e r   t h a t   c a r r i e s   o u t   c h e c k s   a g a i n s t   t h e   K u b e r n e t e s   P o d   S e c u r i t y   S t a n d a r d s   w h e n   n e w   p o d s   a r e   c r e a t e d .   I t   i s   a   f e a t u r e   G A ' e d   i n   v 1 . 2 5 .   T h i s   t u t o r i a l   s h o w s   y o u   h o w   t o   e n f o r c e   t h e   b a s e l i n e   P o d   S e c u r i t y   S t a n d a r d   a t   t h e   c l u s t e r   l e v e l   w h i c h   a p p l i e s   a   s t a n d a r d   c o n f i g u r a t i o n   t o   a l l   n a m e s p a c e s   i n   a   c l u s t e r .   T o   a p p l y   P o d   S e c u r i t y   S t a n d a r d s   t o   s p e c i f i c   n a m e s p a c e s ,   r e f e r   t o   A p p l y   P o d   S e c u r i t y   S t a n d a r d s   a t   t h e   n a m e s p a c e   l e v e l .   I f   y o u   a r e   r u n n i n g   a   v e r s i o n   o f   K u b e r n e t e s   o t h e r   t h a n   v 1 . 3 4 ,   c h e c k   t h e   d o c u m e n t a t i o n   f o r   t h a t   v e r s i o n .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/cluster-level-pss/",
    "id": "k8s_00716_section_4_15805"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n s t a l l   t h e   f o l l o w i n g   o n   y o u r   w o r k s t a t i o n :   k i n d k u b e c t l   T h i s   t u t o r i a l   d e m o n s t r a t e s   w h a t   y o u   c a n   c o n f i g u r e   f o r   a   K u b e r n e t e s   c l u s t e r   t h a t   y o u   f u l l y   c o n t r o l .   I f   y o u   a r e   l e a r n i n g   h o w   t o   c o n f i g u r e   P o d   S e c u r i t y   A d m i s s i o n   f o r   a   m a n a g e d   c l u s t e r   w h e r e   y o u   a r e   n o t   a b l e   t o   c o n f i g u r e   t h e   c o n t r o l   p l a n e ,   r e a d   A p p l y   P o d   S e c u r i t y   S t a n d a r d s   a t   t h e   n a m e s p a c e   l e v e l .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/cluster-level-pss/",
    "id": "k8s_00716_section_2_15806"
  },
  {
    "question": "What is Choose the right Pod Security Standard to apply?",
    "answer": "P o d   S e c u r i t y   A d m i s s i o n   l e t s   y o u   a p p l y   b u i l t - i n   P o d   S e c u r i t y   S t a n d a r d s   w i t h   t h e   f o l l o w i n g   m o d e s :   e n f o r c e ,   a u d i t ,   a n d   w a r n .   T o   g a t h e r   i n f o r m a t i o n   t h a t   h e l p s   y o u   t o   c h o o s e   t h e   P o d   S e c u r i t y   S t a n d a r d s   t h a t   a r e   m o s t   a p p r o p r i a t e   f o r   y o u r   c o n f i g u r a t i o n ,   d o   t h e   f o l l o w i n g :   C r e a t e   a   c l u s t e r   w i t h   n o   P o d   S e c u r i t y   S t a n d a r d s   a p p l i e d : k i n d   c r e a t e   c l u s t e r   - - n a m e   p s a - w o - c l u s t e r - p s s   T h e   o u t p u t   i s   s i m i l a r   t o : C r e a t i n g   c l u s t e r   \" p s a - w o - c l u s t e r - p s s \"   . . .   ✓   E n s u r i n g   n o d e   i m a g e   ( k i n d e s t / n o d e : v 1 . 3 4 . 0 )   🖼   ✓   P r e p a r i n g   n o d e s   📦   ✓   W r i t i n g   c o n f i g u r a t i o n   📜   ✓   S t a r t i n g   c o n t r o l - p l a n e   🕹 ️   ✓   I n s t a l l i n g   C N I   🔌   ✓   I n s t a l l i n g   S t o r a g e C l a s s   💾   S e t   k u b e c t l   c o n t e x t   t o   \" k i n d - p s a - w o - c l u s t e r - p s s \"   Y o u   c a n   n o w   u s e   y o u r   c l u s t e r   w i t h :   k u b e c t l   c l u s t e r - i n f o   - - c o n t e x t   k i n d - p s a - w o - c l u s t e r - p s s   T h a n k s   f o r   u s i n g   k i n d !   😊   S e t   t h e   k u b e c t l   c o n t e x t   t o   t h e   n e w   c l u s t e r : k u b e c t l   c l u s t e r - i n f o   - - c o n t e x t   k i n d - p s a - w o - c l u s t e r - p s s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : K u b e r n e t e s   c o n t r o l   p l a n e   i s   r u n n i n g   a t   h t t p s : / / 1 2 7 . 0 . 0 . 1 : 6 1 3 5 0   C o r e D N S   i s   r u n n i n g   a t   h t t p s : / / 1 2 7 . 0 . 0 . 1 : 6 1 3 5 ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/cluster-level-pss/",
    "id": "k8s_00716_section_2_15807"
  },
  {
    "question": "What is Set modes, versions and standards?",
    "answer": "I n   t h i s   s e c t i o n ,   y o u   a p p l y   t h e   f o l l o w i n g   P o d   S e c u r i t y   S t a n d a r d s   t o   t h e   l a t e s t   v e r s i o n :   b a s e l i n e   s t a n d a r d   i n   e n f o r c e   m o d e . r e s t r i c t e d   s t a n d a r d   i n   w a r n   a n d   a u d i t   m o d e .   T h e   b a s e l i n e   P o d   S e c u r i t y   S t a n d a r d   p r o v i d e s   a   c o n v e n i e n t   m i d d l e   g r o u n d   t h a t   a l l o w s   k e e p i n g   t h e   e x e m p t i o n   l i s t   s h o r t   a n d   p r e v e n t s   k n o w n   p r i v i l e g e   e s c a l a t i o n s .   A d d i t i o n a l l y ,   t o   p r e v e n t   p o d s   f r o m   f a i l i n g   i n   k u b e - s y s t e m ,   y o u ' l l   e x e m p t   t h e   n a m e s p a c e   f r o m   h a v i n g   P o d   S e c u r i t y   S t a n d a r d s   a p p l i e d .   W h e n   y o u   i m p l e m e n t   P o d   S e c u r i t y   A d m i s s i o n   i n   y o u r   o w n   e n v i r o n m e n t ,   c o n s i d e r   t h e   f o l l o w i n g :   B a s e d   o n   t h e   r i s k   p o s t u r e   a p p l i e d   t o   a   c l u s t e r ,   a   s t r i c t e r   P o d   S e c u r i t y   S t a n d a r d   l i k e   r e s t r i c t e d   m i g h t   b e   a   b e t t e r   c h o i c e . E x e m p t i n g   t h e   k u b e - s y s t e m   n a m e s p a c e   a l l o w s   p o d s   t o   r u n   a s   p r i v i l e g e d   i n   t h i s   n a m e s p a c e .   F o r   r e a l   w o r l d   u s e ,   t h e   K u b e r n e t e s   p r o j e c t   s t r o n g l y   r e c o m m e n d s   t h a t   y o u   a p p l y   s t r i c t   R B A C   p o l i c i e s   t h a t   l i m i t   a c c e s s   t o   k u b e - s y s t e m ,   f o l l o w i n g   t h e   p r i n c i p l e   o f   l e a s t   p r i v i l e g e .   T o   i m p l e m e n t   t h e   p r e c e d i n g   s t a n d a r d s ,   d o   t h e   f o l l o w i n g : C r e a t e   a   c o n f ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/cluster-level-pss/",
    "id": "k8s_00716_section_2_15808"
  },
  {
    "question": "What is Note:?",
    "answer": "C o n f i g u r e   t h e   A P I   s e r v e r   t o   c o n s u m e   t h i s   f i l e   d u r i n g   c l u s t e r   c r e a t i o n :   c a t   < < E O F   >   / t m p / p s s / c l u s t e r - c o n f i g . y a m l   k i n d :   C l u s t e r   a p i V e r s i o n :   k i n d . x - k 8 s . i o / v 1 a l p h a 4   n o d e s :   -   r o l e :   c o n t r o l - p l a n e   k u b e a d m C o n f i g P a t c h e s :   -   |   k i n d :   C l u s t e r C o n f i g u r a t i o n   a p i S e r v e r :   e x t r a A r g s :   a d m i s s i o n - c o n t r o l - c o n f i g - f i l e :   / e t c / c o n f i g / c l u s t e r - l e v e l - p s s . y a m l   e x t r a V o l u m e s :   -   n a m e :   a c c f   h o s t P a t h :   / e t c / c o n f i g   m o u n t P a t h :   / e t c / c o n f i g   r e a d O n l y :   f a l s e   p a t h T y p e :   \" D i r e c t o r y O r C r e a t e \"   e x t r a M o u n t s :   -   h o s t P a t h :   / t m p / p s s   c o n t a i n e r P a t h :   / e t c / c o n f i g   #   o p t i o n a l :   i f   s e t ,   t h e   m o u n t   i s   r e a d - o n l y .   #   d e f a u l t   f a l s e   r e a d O n l y :   f a l s e   #   o p t i o n a l :   i f   s e t ,   t h e   m o u n t   n e e d s   S E L i n u x   r e l a b e l i n g .   #   d e f a u l t   f a l s e   s e l i n u x R e l a b e l :   f a l s e   #   o p t i o n a l :   s e t   p r o p a g a t i o n   m o d e   ( N o n e ,   H o s t T o C o n t a i n e r   o r   B i d i r e c t i o n a l )   #   s e e   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s / # m o u n t - p r o p a g a t i o n   #   d e f a u l t   N o n e   p r o p a g a t i o n :   N o n e   E O F",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/cluster-level-pss/",
    "id": "k8s_00716_section_4_15809"
  },
  {
    "question": "What is Note:?",
    "answer": "C r e a t e   a   c l u s t e r   t h a t   u s e s   P o d   S e c u r i t y   A d m i s s i o n   t o   a p p l y   t h e s e   P o d   S e c u r i t y   S t a n d a r d s :   k i n d   c r e a t e   c l u s t e r   - - n a m e   p s a - w i t h - c l u s t e r - p s s   - - c o n f i g   / t m p / p s s / c l u s t e r - c o n f i g . y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   C r e a t i n g   c l u s t e r   \" p s a - w i t h - c l u s t e r - p s s \"   . . .   ✓   E n s u r i n g   n o d e   i m a g e   ( k i n d e s t / n o d e : v 1 . 3 4 . 0 )   🖼   ✓   P r e p a r i n g   n o d e s   📦   ✓   W r i t i n g   c o n f i g u r a t i o n   📜   ✓   S t a r t i n g   c o n t r o l - p l a n e   🕹 ️   ✓   I n s t a l l i n g   C N I   🔌   ✓   I n s t a l l i n g   S t o r a g e C l a s s   💾   S e t   k u b e c t l   c o n t e x t   t o   \" k i n d - p s a - w i t h - c l u s t e r - p s s \"   Y o u   c a n   n o w   u s e   y o u r   c l u s t e r   w i t h :   k u b e c t l   c l u s t e r - i n f o   - - c o n t e x t   k i n d - p s a - w i t h - c l u s t e r - p s s   H a v e   a   q u e s t i o n ,   b u g ,   o r   f e a t u r e   r e q u e s t ?   L e t   u s   k n o w !   h t t p s : / / k i n d . s i g s . k 8 s . i o / # c o m m u n i t y   🙂   P o i n t   k u b e c t l   t o   t h e   c l u s t e r :   k u b e c t l   c l u s t e r - i n f o   - - c o n t e x t   k i n d - p s a - w i t h - c l u s t e r - p s s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   K u b e r n e t e s   c o n t r o l   p l a n e   i s   r u n n i n g   a t   h t t p s : / / 1 2 7 . 0 . 0 . 1 : 6 3 8 5 5   C o r e D N S   i s   r u n n i n g   a t   h t t p s : / / 1 2 7 . 0 . 0 . 1 : 6 3 8 5 5 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / k u b e - d n s : d n s / p r o x y   T o   f u r t h e r   d e b u g   a n d   d i a g n o s e   c l u s t e r   p r o b l e m s ,   u s e   ' k u b e c t l   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/cluster-level-pss/",
    "id": "k8s_00716_section_4_15810"
  },
  {
    "question": "What is Clean up?",
    "answer": "N o w   d e l e t e   t h e   c l u s t e r s   w h i c h   y o u   c r e a t e d   a b o v e   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d :   k i n d   d e l e t e   c l u s t e r   - - n a m e   p s a - w i t h - c l u s t e r - p s s   k i n d   d e l e t e   c l u s t e r   - - n a m e   p s a - w o - c l u s t e r - p s s",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/cluster-level-pss/",
    "id": "k8s_00716_section_2_15811"
  },
  {
    "question": "What is What's next?",
    "answer": "R u n   a   s h e l l   s c r i p t   t o   p e r f o r m   a l l   t h e   p r e c e d i n g   s t e p s   a t   o n c e : C r e a t e   a   P o d   S e c u r i t y   S t a n d a r d s   b a s e d   c l u s t e r   l e v e l   C o n f i g u r a t i o n C r e a t e   a   f i l e   t o   l e t   A P I   s e r v e r   c o n s u m e   t h i s   c o n f i g u r a t i o n C r e a t e   a   c l u s t e r   t h a t   c r e a t e s   a n   A P I   s e r v e r   w i t h   t h i s   c o n f i g u r a t i o n S e t   k u b e c t l   c o n t e x t   t o   t h i s   n e w   c l u s t e r C r e a t e   a   m i n i m a l   p o d   y a m l   f i l e A p p l y   t h i s   f i l e   t o   c r e a t e   a   P o d   i n   t h e   n e w   c l u s t e r P o d   S e c u r i t y   A d m i s s i o n P o d   S e c u r i t y   S t a n d a r d s A p p l y   P o d   S e c u r i t y   S t a n d a r d s   a t   t h e   n a m e s p a c e   l e v e l   C r e a t e   a   P o d   S e c u r i t y   S t a n d a r d s   b a s e d   c l u s t e r   l e v e l   C o n f i g u r a t i o n C r e a t e   a   f i l e   t o   l e t   A P I   s e r v e r   c o n s u m e   t h i s   c o n f i g u r a t i o n C r e a t e   a   c l u s t e r   t h a t   c r e a t e s   a n   A P I   s e r v e r   w i t h   t h i s   c o n f i g u r a t i o n S e t   k u b e c t l   c o n t e x t   t o   t h i s   n e w   c l u s t e r C r e a t e   a   m i n i m a l   p o d   y a m l   f i l e A p p l y   t h i s   f i l e   t o   c r e a t e   a   P o d   i n   t h e   n e w   c l u s t e r",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/security/cluster-level-pss/",
    "id": "k8s_00716_section_2_15812"
  },
  {
    "question": "What is Migrating from dockershim?",
    "answer": "Migrating from dockershimThis section presents information you need to know when migrating from dockershim to other container runtimes.Since the announcement of dockershim deprecation in Kubernetes 1.20, there were questions on how this will affect various workloads and Kubernetes installations. Our Dockershim Removal FAQ is there to help you to understand the problem better.Dockershim was removed from Kubernetes with the release of v1.24. If you use Docker Engine via dockershim as your container runtime and wish to upgrade to v1.24, it is recommended that you either migrate to another runtime or find an alternative means to obtain Docker Engine support. Check out the container runtimes section to know your options.The version of Kubernetes with dockershim (1.23) is out of support and the v1.24 will run out of support soon. Make sure to report issues you encountered with the migration so the issues can be fixed in a timely manner and your cluster would be ready for dockershim removal. After v1.24 running out of support, you will need to contact your Kubernetes provider for support or upgrade multiple versions at a time if there are critical issues affecting your cluster.Your cluster might have more than one kind of node, although this is not a common configuration.These tasks will help you to migrate:Check whether Dockershim removal affects youMigrating telemetry and security agents from dockershimWhat's nextCheck out container runtimes to understand your options for an alternative.If you find a defect or other technical concern relating to migrating away from dockershim, you can report an issue to the Kubernetes project.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/",
    "id": "k8s_00717_qa_15813"
  },
  {
    "question": "How does Migrating from dockershim work?",
    "answer": "Migrating from dockershimThis section presents information you need to know when migrating from dockershim to other container runtimes.Since the announcement of dockershim deprecation in Kubernetes 1.20, there were questions on how this will affect various workloads and Kubernetes installations. Our Dockershim Removal FAQ is there to help you to understand the problem better.Dockershim was removed from Kubernetes with the release of v1.24. If you use Docker Engine via dockershim as your container runtime and wish to upgrade to v1.24, it is recommended that you either migrate to another runtime or find an alternative means to obtain Docker Engine support. Check out the container runtimes section to know your options.The version of Kubernetes with dockershim (1.23) is out of support and the v1.24 will run out of support soon. Make sure to report issues you encountered with the migration so the issues can be fixed in a timely manner and your cluster would be ready for dockershim removal. After v1.24 running out of support, you will need to contact your Kubernetes provider for support or upgrade multiple versions at a time if there are critical issues affecting your cluster.Your cluster might have more than one kind of node, although this is not a common configuration.These tasks will help you to migrate:Check whether Dockershim removal affects youMigrating telemetry and security agents from dockershimWhat's nextCheck out container runtimes to understand your options for an alternative.If you find a defect or other technical concern relating to migrating away from dockershim, you can report an issue to the Kubernetes project.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/",
    "id": "k8s_00717_qa_15814"
  },
  {
    "question": "When would you use Migrating from dockershim?",
    "answer": "Migrating from dockershimThis section presents information you need to know when migrating from dockershim to other container runtimes.Since the announcement of dockershim deprecation in Kubernetes 1.20, there were questions on how this will affect various workloads and Kubernetes installations. Our Dockershim Removal FAQ is there to help you to understand the problem better.Dockershim was removed from Kubernetes with the release of v1.24. If you use Docker Engine via dockershim as your container runtime and wish to upgrade to v1.24, it is recommended that you either migrate to another runtime or find an alternative means to obtain Docker Engine support. Check out the container runtimes section to know your options.The version of Kubernetes with dockershim (1.23) is out of support and the v1.24 will run out of support soon. Make sure to report issues you encountered with the migration so the issues can be fixed in a timely manner and your cluster would be ready for dockershim removal. After v1.24 running out of support, you will need to contact your Kubernetes provider for support or upgrade multiple versions at a time if there are critical issues affecting your cluster.Your cluster might have more than one kind of node, although this is not a common configuration.These tasks will help you to migrate:Check whether Dockershim removal affects youMigrating telemetry and security agents from dockershimWhat's nextCheck out container runtimes to understand your options for an alternative.If you find a defect or other technical concern relating to migrating away from dockershim, you can report an issue to the Kubernetes project.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/",
    "id": "k8s_00717_qa_15815"
  },
  {
    "question": "What are the benefits of Migrating from dockershim?",
    "answer": "Migrating from dockershimThis section presents information you need to know when migrating from dockershim to other container runtimes.Since the announcement of dockershim deprecation in Kubernetes 1.20, there were questions on how this will affect various workloads and Kubernetes installations. Our Dockershim Removal FAQ is there to help you to understand the problem better.Dockershim was removed from Kubernetes with the release of v1.24. If you use Docker Engine via dockershim as your container runtime and wish to upgrade to v1.24, it is recommended that you either migrate to another runtime or find an alternative means to obtain Docker Engine support. Check out the container runtimes section to know your options.The version of Kubernetes with dockershim (1.23) is out of support and the v1.24 will run out of support soon. Make sure to report issues you encountered with the migration so the issues can be fixed in a timely manner and your cluster would be ready for dockershim removal. After v1.24 running out of support, you will need to contact your Kubernetes provider for support or upgrade multiple versions at a time if there are critical issues affecting your cluster.Your cluster might have more than one kind of node, although this is not a common configuration.These tasks will help you to migrate:Check whether Dockershim removal affects youMigrating telemetry and security agents from dockershimWhat's nextCheck out container runtimes to understand your options for an alternative.If you find a defect or other technical concern relating to migrating away from dockershim, you can report an issue to the Kubernetes project.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/",
    "id": "k8s_00717_qa_15816"
  },
  {
    "question": "What is Migrating from dockershim?",
    "answer": "T h i s   s e c t i o n   p r e s e n t s   i n f o r m a t i o n   y o u   n e e d   t o   k n o w   w h e n   m i g r a t i n g   f r o m   d o c k e r s h i m   t o   o t h e r   c o n t a i n e r   r u n t i m e s .   S i n c e   t h e   a n n o u n c e m e n t   o f   d o c k e r s h i m   d e p r e c a t i o n   i n   K u b e r n e t e s   1 . 2 0 ,   t h e r e   w e r e   q u e s t i o n s   o n   h o w   t h i s   w i l l   a f f e c t   v a r i o u s   w o r k l o a d s   a n d   K u b e r n e t e s   i n s t a l l a t i o n s .   O u r   D o c k e r s h i m   R e m o v a l   F A Q   i s   t h e r e   t o   h e l p   y o u   t o   u n d e r s t a n d   t h e   p r o b l e m   b e t t e r .   D o c k e r s h i m   w a s   r e m o v e d   f r o m   K u b e r n e t e s   w i t h   t h e   r e l e a s e   o f   v 1 . 2 4 .   I f   y o u   u s e   D o c k e r   E n g i n e   v i a   d o c k e r s h i m   a s   y o u r   c o n t a i n e r   r u n t i m e   a n d   w i s h   t o   u p g r a d e   t o   v 1 . 2 4 ,   i t   i s   r e c o m m e n d e d   t h a t   y o u   e i t h e r   m i g r a t e   t o   a n o t h e r   r u n t i m e   o r   f i n d   a n   a l t e r n a t i v e   m e a n s   t o   o b t a i n   D o c k e r   E n g i n e   s u p p o r t .   C h e c k   o u t   t h e   c o n t a i n e r   r u n t i m e s   s e c t i o n   t o   k n o w   y o u r   o p t i o n s .   T h e   v e r s i o n   o f   K u b e r n e t e s   w i t h   d o c k e r s h i m   ( 1 . 2 3 )   i s   o u t   o f   s u p p o r t   a n d   t h e   v 1 . 2 4   w i l l   r u n   o u t   o f   s u p p o r t   s o o n .   M a k e   s u r e   t o   r e p o r t   i s s u e s   y o u   e n c o u n t e r e d   w i t h   t h e   m i g r a t i o n   s o   t h e   i s s u e s   c a n   b e   f i x e d   i n   a   t i m e l y   m a n n e r   a n d   y o u r   c l u s t e r   w o u l d   b e   r e a d y   f o r   d o c k e r s h i m   r e m o v a l .   A f t e r   v 1 . 2 4   r u n n i n g   o u ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/",
    "id": "k8s_00717_section_1_15817"
  },
  {
    "question": "What is What's next?",
    "answer": "C h e c k   o u t   c o n t a i n e r   r u n t i m e s   t o   u n d e r s t a n d   y o u r   o p t i o n s   f o r   a n   a l t e r n a t i v e . I f   y o u   f i n d   a   d e f e c t   o r   o t h e r   t e c h n i c a l   c o n c e r n   r e l a t i n g   t o   m i g r a t i n g   a w a y   f r o m   d o c k e r s h i m ,   y o u   c a n   r e p o r t   a n   i s s u e   t o   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/",
    "id": "k8s_00717_section_2_15818"
  },
  {
    "question": "What is ControllerRevision?",
    "answer": "ControllerRevisionControllerRevision implements an immutable snapshot of state data.apiVersion: apps/v1import \"k8s.io/api/apps/v1\"ControllerRevisionControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.apiVersion: apps/v1kind: ControllerRevisionmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatarevision (int64), requiredRevision indicates the revision of the state represented by Data.data (RawExtension)Data is the serialized representation of the state.*RawExtension is used to hold extensions in external versions.To use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.// Internal package:type MyAPIObject struct { runtime.TypeMeta json:\",inline\" MyPlugin runtime.Object json:\"myPlugin\" }type PluginA struct { AOption string json:\"aOption\" }// External package:type MyAPIObject struct { runtime.TypeMeta json:\",inline\" MyPlugin runtime.RawExtension json:\"myPlugin\" }type PluginA struct { AOption string json:\"aOption\" }// On the wire, the JSON will look something like this:{ \"kind\":\"MyAPIObject\", \"apiVersion\":\"v1\", \"myPlugin\": { \"kind\":\"PluginA\", \"aOption\":\"foo\", }, }So what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)*ControllerRevisionListControllerRevisionList is a resource containing a list of ControllerRevision objects.apiVersion: apps/v1kind: ControllerRevisionListmetadata (ListMeta)More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]ControllerRevision), requiredItems is the list of ControllerRevisionsOperationsget read the specified ControllerRevisionHTTP RequestGET /apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}Parametersname (in path):",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_qa_15819"
  },
  {
    "question": "How does ControllerRevision work?",
    "answer": "ControllerRevisionControllerRevision implements an immutable snapshot of state data.apiVersion: apps/v1import \"k8s.io/api/apps/v1\"ControllerRevisionControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.apiVersion: apps/v1kind: ControllerRevisionmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatarevision (int64), requiredRevision indicates the revision of the state represented by Data.data (RawExtension)Data is the serialized representation of the state.*RawExtension is used to hold extensions in external versions.To use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.// Internal package:type MyAPIObject struct { runtime.TypeMeta json:\",inline\" MyPlugin runtime.Object json:\"myPlugin\" }type PluginA struct { AOption string json:\"aOption\" }// External package:type MyAPIObject struct { runtime.TypeMeta json:\",inline\" MyPlugin runtime.RawExtension json:\"myPlugin\" }type PluginA struct { AOption string json:\"aOption\" }// On the wire, the JSON will look something like this:{ \"kind\":\"MyAPIObject\", \"apiVersion\":\"v1\", \"myPlugin\": { \"kind\":\"PluginA\", \"aOption\":\"foo\", }, }So what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)*ControllerRevisionListControllerRevisionList is a resource containing a list of ControllerRevision objects.apiVersion: apps/v1kind: ControllerRevisionListmetadata (ListMeta)More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]ControllerRevision), requiredItems is the list of ControllerRevisionsOperationsget read the specified ControllerRevisionHTTP RequestGET /apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}Parametersname (in path):",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_qa_15820"
  },
  {
    "question": "When would you use ControllerRevision?",
    "answer": "ControllerRevisionControllerRevision implements an immutable snapshot of state data.apiVersion: apps/v1import \"k8s.io/api/apps/v1\"ControllerRevisionControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.apiVersion: apps/v1kind: ControllerRevisionmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatarevision (int64), requiredRevision indicates the revision of the state represented by Data.data (RawExtension)Data is the serialized representation of the state.*RawExtension is used to hold extensions in external versions.To use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.// Internal package:type MyAPIObject struct { runtime.TypeMeta json:\",inline\" MyPlugin runtime.Object json:\"myPlugin\" }type PluginA struct { AOption string json:\"aOption\" }// External package:type MyAPIObject struct { runtime.TypeMeta json:\",inline\" MyPlugin runtime.RawExtension json:\"myPlugin\" }type PluginA struct { AOption string json:\"aOption\" }// On the wire, the JSON will look something like this:{ \"kind\":\"MyAPIObject\", \"apiVersion\":\"v1\", \"myPlugin\": { \"kind\":\"PluginA\", \"aOption\":\"foo\", }, }So what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)*ControllerRevisionListControllerRevisionList is a resource containing a list of ControllerRevision objects.apiVersion: apps/v1kind: ControllerRevisionListmetadata (ListMeta)More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]ControllerRevision), requiredItems is the list of ControllerRevisionsOperationsget read the specified ControllerRevisionHTTP RequestGET /apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}Parametersname (in path):",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_qa_15821"
  },
  {
    "question": "What are the benefits of ControllerRevision?",
    "answer": "ControllerRevisionControllerRevision implements an immutable snapshot of state data.apiVersion: apps/v1import \"k8s.io/api/apps/v1\"ControllerRevisionControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.apiVersion: apps/v1kind: ControllerRevisionmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatarevision (int64), requiredRevision indicates the revision of the state represented by Data.data (RawExtension)Data is the serialized representation of the state.*RawExtension is used to hold extensions in external versions.To use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.// Internal package:type MyAPIObject struct { runtime.TypeMeta json:\",inline\" MyPlugin runtime.Object json:\"myPlugin\" }type PluginA struct { AOption string json:\"aOption\" }// External package:type MyAPIObject struct { runtime.TypeMeta json:\",inline\" MyPlugin runtime.RawExtension json:\"myPlugin\" }type PluginA struct { AOption string json:\"aOption\" }// On the wire, the JSON will look something like this:{ \"kind\":\"MyAPIObject\", \"apiVersion\":\"v1\", \"myPlugin\": { \"kind\":\"PluginA\", \"aOption\":\"foo\", }, }So what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)*ControllerRevisionListControllerRevisionList is a resource containing a list of ControllerRevision objects.apiVersion: apps/v1kind: ControllerRevisionListmetadata (ListMeta)More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]ControllerRevision), requiredItems is the list of ControllerRevisionsOperationsget read the specified ControllerRevisionHTTP RequestGET /apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}Parametersname (in path):",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_qa_15822"
  },
  {
    "question": "What is ControllerRevision?",
    "answer": "a p i V e r s i o n :   a p p s / v 1   i m p o r t   \" k 8 s . i o / a p i / a p p s / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_1_15823"
  },
  {
    "question": "What is ControllerRevision?",
    "answer": "C o n t r o l l e r R e v i s i o n   i m p l e m e n t s   a n   i m m u t a b l e   s n a p s h o t   o f   s t a t e   d a t a .   C l i e n t s   a r e   r e s p o n s i b l e   f o r   s e r i a l i z i n g   a n d   d e s e r i a l i z i n g   t h e   o b j e c t s   t h a t   c o n t a i n   t h e i r   i n t e r n a l   s t a t e .   O n c e   a   C o n t r o l l e r R e v i s i o n   h a s   b e e n   s u c c e s s f u l l y   c r e a t e d ,   i t   c a n   n o t   b e   u p d a t e d .   T h e   A P I   S e r v e r   w i l l   f a i l   v a l i d a t i o n   o f   a l l   r e q u e s t s   t h a t   a t t e m p t   t o   m u t a t e   t h e   D a t a   f i e l d .   C o n t r o l l e r R e v i s i o n s   m a y ,   h o w e v e r ,   b e   d e l e t e d .   N o t e   t h a t ,   d u e   t o   i t s   u s e   b y   b o t h   t h e   D a e m o n S e t   a n d   S t a t e f u l S e t   c o n t r o l l e r s   f o r   u p d a t e   a n d   r o l l b a c k ,   t h i s   o b j e c t   i s   b e t a .   H o w e v e r ,   i t   m a y   b e   s u b j e c t   t o   n a m e   a n d   r e p r e s e n t a t i o n   c h a n g e s   i n   f u t u r e   r e l e a s e s ,   a n d   c l i e n t s   s h o u l d   n o t   d e p e n d   o n   i t s   s t a b i l i t y .   I t   i s   p r i m a r i l y   f o r   i n t e r n a l   u s e   b y   c o n t r o l l e r s .   a p i V e r s i o n :   a p p s / v 1 k i n d :   C o n t r o l l e r R e v i s i o n m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a r e v i s i o n   ( i n t 6 4 ) ,   r e q u i r e d R e v i s i o n   i n d i c a t e s   t h e   r e v i s i o n   o f   t h e   s t a t e   r e p r e s e n t e d   b y   D a t a . d a t a   ( R a w E x t e n s i o n ) D a t a   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_2_15824"
  },
  {
    "question": "What is ControllerRevisionList?",
    "answer": "C o n t r o l l e r R e v i s i o n L i s t   i s   a   r e s o u r c e   c o n t a i n i n g   a   l i s t   o f   C o n t r o l l e r R e v i s i o n   o b j e c t s .   a p i V e r s i o n :   a p p s / v 1 k i n d :   C o n t r o l l e r R e v i s i o n L i s t m e t a d a t a   ( L i s t M e t a ) M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] C o n t r o l l e r R e v i s i o n ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   C o n t r o l l e r R e v i s i o n s   a p i V e r s i o n :   a p p s / v 1   k i n d :   C o n t r o l l e r R e v i s i o n L i s t   m e t a d a t a   ( L i s t M e t a )   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] C o n t r o l l e r R e v i s i o n ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   C o n t r o l l e r R e v i s i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_2_15825"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_4_15826"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o n t r o l l e r R e v i s i o n n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o n t r o l l e r R e v i s i o n   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_4_15827"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n t r o l l e r R e v i s i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_4_15828"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_4_15829"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_4_15830"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n t r o l l e r R e v i s i o n L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_4_15831"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / c o n t r o l l e r r e v i s i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_4_15832"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_4_15833"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n t r o l l e r R e v i s i o n L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_4_15834"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_4_15835"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C o n t r o l l e r R e v i s i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C o n t r o l l e r R e v i s i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_4_15836"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n t r o l l e r R e v i s i o n ) :   O K   2 0 1   ( C o n t r o l l e r R e v i s i o n ) :   C r e a t e d   2 0 2   ( C o n t r o l l e r R e v i s i o n ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_4_15837"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_4_15838"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o n t r o l l e r R e v i s i o n n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C o n t r o l l e r R e v i s i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o n t r o l l e r R e v i s i o n   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C o n t r o l l e r R e v i s i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_4_15839"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n t r o l l e r R e v i s i o n ) :   O K   2 0 1   ( C o n t r o l l e r R e v i s i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_4_15840"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_4_15841"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o n t r o l l e r R e v i s i o n n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o n t r o l l e r R e v i s i o n   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_4_15842"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n t r o l l e r R e v i s i o n ) :   O K   2 0 1   ( C o n t r o l l e r R e v i s i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_4_15843"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_4_15844"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o n t r o l l e r R e v i s i o n n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o n t r o l l e r R e v i s i o n   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_4_15845"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_4_15846"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_4_15847"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_4_15848"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/",
    "id": "k8s_00718_section_4_15849"
  },
  {
    "question": "What is Reference Documentation Quickstart?",
    "answer": "Reference Documentation QuickstartThis page shows how to use the update-imported-docs.py script to generate the Kubernetes reference documentation. The script automates the build setup and generates the reference documentation for a release.Before you beginRequirements:You need a machine that is running Linux or macOS.You need to have these tools installed:Python v3.7.x+GitGolang version 1.13+Pip used to install PyYAMLPyYAML v5.1.2makegcc compiler/linkerDocker (Required only for kubectl command reference)Your PATH environment variable must include the required build tools, such as the Go binary and python.You need to know how to create a pull request to a GitHub repository. This involves creating your own fork of the repository. For more information, see Work from a local clone.Getting the docs repositoryMake sure your website fork is up-to-date with the kubernetes/website remote on GitHub (main branch), and clone your website fork.mkdir github.com cd github.com git clone git@github.com:<your_github_username>/website.git Determine the base directory of your clone. For example, if you followed the preceding step to get the repository, your base directory is github.com/website. The remaining steps refer to your base directory as <web-base>.Note:If you want to change the content of the component tools and API reference, see the contributing upstream guide.Overview of update-imported-docsThe update-imported-docs.py script is located in the <web-base>/update-imported-docs/ directory.The script builds the following references:Component and tool reference pagesThe kubectl command referenceThe Kubernetes API referenceNote:The kubelet reference page is not generated by this script and is maintained manually. To update the kubelet reference, follow the standard contribution process described in Opening a pull request.The update-imported-docs.py script generates the Kubernetes reference documentation from the Kubernetes source code. The script creates a temporary directory under /tmp on your machine and clones the required repositories: kubernetes/kubernetes and kubernetes-sigs/reference-docs into this directory. The script sets your GOPATH to this temporary directory. Three additional environment variables are set:K8S_RELEASEK8S_ROOTK8S_WEBROOTThe script requires two arguments to run successfully:A YAML configuration file (reference.yml)A release version, for example:1.17The configuration file contains a generate-command field. The generate-command field defines a series of build instructions from kubernetes-sigs/reference-docs/Makefile. The K8S_RELEASE variable determines the version of the release.The update-imported-docs.py script performs the following steps:Clones the related repositories specified in a configuration file. For the purpose of generating reference docs, the repository that is cloned by default is kubernetes-sigs/reference-docs.Runs commands under the cloned repositories to prepare the docs generator and then generates the HTML and Markd",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/quickstart/",
    "id": "k8s_00719_qa_15850"
  },
  {
    "question": "How does Reference Documentation Quickstart work?",
    "answer": "Reference Documentation QuickstartThis page shows how to use the update-imported-docs.py script to generate the Kubernetes reference documentation. The script automates the build setup and generates the reference documentation for a release.Before you beginRequirements:You need a machine that is running Linux or macOS.You need to have these tools installed:Python v3.7.x+GitGolang version 1.13+Pip used to install PyYAMLPyYAML v5.1.2makegcc compiler/linkerDocker (Required only for kubectl command reference)Your PATH environment variable must include the required build tools, such as the Go binary and python.You need to know how to create a pull request to a GitHub repository. This involves creating your own fork of the repository. For more information, see Work from a local clone.Getting the docs repositoryMake sure your website fork is up-to-date with the kubernetes/website remote on GitHub (main branch), and clone your website fork.mkdir github.com cd github.com git clone git@github.com:<your_github_username>/website.git Determine the base directory of your clone. For example, if you followed the preceding step to get the repository, your base directory is github.com/website. The remaining steps refer to your base directory as <web-base>.Note:If you want to change the content of the component tools and API reference, see the contributing upstream guide.Overview of update-imported-docsThe update-imported-docs.py script is located in the <web-base>/update-imported-docs/ directory.The script builds the following references:Component and tool reference pagesThe kubectl command referenceThe Kubernetes API referenceNote:The kubelet reference page is not generated by this script and is maintained manually. To update the kubelet reference, follow the standard contribution process described in Opening a pull request.The update-imported-docs.py script generates the Kubernetes reference documentation from the Kubernetes source code. The script creates a temporary directory under /tmp on your machine and clones the required repositories: kubernetes/kubernetes and kubernetes-sigs/reference-docs into this directory. The script sets your GOPATH to this temporary directory. Three additional environment variables are set:K8S_RELEASEK8S_ROOTK8S_WEBROOTThe script requires two arguments to run successfully:A YAML configuration file (reference.yml)A release version, for example:1.17The configuration file contains a generate-command field. The generate-command field defines a series of build instructions from kubernetes-sigs/reference-docs/Makefile. The K8S_RELEASE variable determines the version of the release.The update-imported-docs.py script performs the following steps:Clones the related repositories specified in a configuration file. For the purpose of generating reference docs, the repository that is cloned by default is kubernetes-sigs/reference-docs.Runs commands under the cloned repositories to prepare the docs generator and then generates the HTML and Markd",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/quickstart/",
    "id": "k8s_00719_qa_15851"
  },
  {
    "question": "When would you use Reference Documentation Quickstart?",
    "answer": "Reference Documentation QuickstartThis page shows how to use the update-imported-docs.py script to generate the Kubernetes reference documentation. The script automates the build setup and generates the reference documentation for a release.Before you beginRequirements:You need a machine that is running Linux or macOS.You need to have these tools installed:Python v3.7.x+GitGolang version 1.13+Pip used to install PyYAMLPyYAML v5.1.2makegcc compiler/linkerDocker (Required only for kubectl command reference)Your PATH environment variable must include the required build tools, such as the Go binary and python.You need to know how to create a pull request to a GitHub repository. This involves creating your own fork of the repository. For more information, see Work from a local clone.Getting the docs repositoryMake sure your website fork is up-to-date with the kubernetes/website remote on GitHub (main branch), and clone your website fork.mkdir github.com cd github.com git clone git@github.com:<your_github_username>/website.git Determine the base directory of your clone. For example, if you followed the preceding step to get the repository, your base directory is github.com/website. The remaining steps refer to your base directory as <web-base>.Note:If you want to change the content of the component tools and API reference, see the contributing upstream guide.Overview of update-imported-docsThe update-imported-docs.py script is located in the <web-base>/update-imported-docs/ directory.The script builds the following references:Component and tool reference pagesThe kubectl command referenceThe Kubernetes API referenceNote:The kubelet reference page is not generated by this script and is maintained manually. To update the kubelet reference, follow the standard contribution process described in Opening a pull request.The update-imported-docs.py script generates the Kubernetes reference documentation from the Kubernetes source code. The script creates a temporary directory under /tmp on your machine and clones the required repositories: kubernetes/kubernetes and kubernetes-sigs/reference-docs into this directory. The script sets your GOPATH to this temporary directory. Three additional environment variables are set:K8S_RELEASEK8S_ROOTK8S_WEBROOTThe script requires two arguments to run successfully:A YAML configuration file (reference.yml)A release version, for example:1.17The configuration file contains a generate-command field. The generate-command field defines a series of build instructions from kubernetes-sigs/reference-docs/Makefile. The K8S_RELEASE variable determines the version of the release.The update-imported-docs.py script performs the following steps:Clones the related repositories specified in a configuration file. For the purpose of generating reference docs, the repository that is cloned by default is kubernetes-sigs/reference-docs.Runs commands under the cloned repositories to prepare the docs generator and then generates the HTML and Markd",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/quickstart/",
    "id": "k8s_00719_qa_15852"
  },
  {
    "question": "What are the benefits of Reference Documentation Quickstart?",
    "answer": "Reference Documentation QuickstartThis page shows how to use the update-imported-docs.py script to generate the Kubernetes reference documentation. The script automates the build setup and generates the reference documentation for a release.Before you beginRequirements:You need a machine that is running Linux or macOS.You need to have these tools installed:Python v3.7.x+GitGolang version 1.13+Pip used to install PyYAMLPyYAML v5.1.2makegcc compiler/linkerDocker (Required only for kubectl command reference)Your PATH environment variable must include the required build tools, such as the Go binary and python.You need to know how to create a pull request to a GitHub repository. This involves creating your own fork of the repository. For more information, see Work from a local clone.Getting the docs repositoryMake sure your website fork is up-to-date with the kubernetes/website remote on GitHub (main branch), and clone your website fork.mkdir github.com cd github.com git clone git@github.com:<your_github_username>/website.git Determine the base directory of your clone. For example, if you followed the preceding step to get the repository, your base directory is github.com/website. The remaining steps refer to your base directory as <web-base>.Note:If you want to change the content of the component tools and API reference, see the contributing upstream guide.Overview of update-imported-docsThe update-imported-docs.py script is located in the <web-base>/update-imported-docs/ directory.The script builds the following references:Component and tool reference pagesThe kubectl command referenceThe Kubernetes API referenceNote:The kubelet reference page is not generated by this script and is maintained manually. To update the kubelet reference, follow the standard contribution process described in Opening a pull request.The update-imported-docs.py script generates the Kubernetes reference documentation from the Kubernetes source code. The script creates a temporary directory under /tmp on your machine and clones the required repositories: kubernetes/kubernetes and kubernetes-sigs/reference-docs into this directory. The script sets your GOPATH to this temporary directory. Three additional environment variables are set:K8S_RELEASEK8S_ROOTK8S_WEBROOTThe script requires two arguments to run successfully:A YAML configuration file (reference.yml)A release version, for example:1.17The configuration file contains a generate-command field. The generate-command field defines a series of build instructions from kubernetes-sigs/reference-docs/Makefile. The K8S_RELEASE variable determines the version of the release.The update-imported-docs.py script performs the following steps:Clones the related repositories specified in a configuration file. For the purpose of generating reference docs, the repository that is cloned by default is kubernetes-sigs/reference-docs.Runs commands under the cloned repositories to prepare the docs generator and then generates the HTML and Markd",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/quickstart/",
    "id": "k8s_00719_qa_15853"
  },
  {
    "question": "What is Reference Documentation Quickstart?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   t h e   u p d a t e - i m p o r t e d - d o c s . p y   s c r i p t   t o   g e n e r a t e   t h e   K u b e r n e t e s   r e f e r e n c e   d o c u m e n t a t i o n .   T h e   s c r i p t   a u t o m a t e s   t h e   b u i l d   s e t u p   a n d   g e n e r a t e s   t h e   r e f e r e n c e   d o c u m e n t a t i o n   f o r   a   r e l e a s e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/quickstart/",
    "id": "k8s_00719_section_1_15854"
  },
  {
    "question": "What is Requirements:?",
    "answer": "Y o u   n e e d   a   m a c h i n e   t h a t   i s   r u n n i n g   L i n u x   o r   m a c O S . Y o u   n e e d   t o   h a v e   t h e s e   t o o l s   i n s t a l l e d : P y t h o n   v 3 . 7 . x + G i t G o l a n g   v e r s i o n   1 . 1 3 + P i p   u s e d   t o   i n s t a l l   P y Y A M L P y Y A M L   v 5 . 1 . 2 m a k e g c c   c o m p i l e r / l i n k e r D o c k e r   ( R e q u i r e d   o n l y   f o r   k u b e c t l   c o m m a n d   r e f e r e n c e ) Y o u r   P A T H   e n v i r o n m e n t   v a r i a b l e   m u s t   i n c l u d e   t h e   r e q u i r e d   b u i l d   t o o l s ,   s u c h   a s   t h e   G o   b i n a r y   a n d   p y t h o n . Y o u   n e e d   t o   k n o w   h o w   t o   c r e a t e   a   p u l l   r e q u e s t   t o   a   G i t H u b   r e p o s i t o r y .   T h i s   i n v o l v e s   c r e a t i n g   y o u r   o w n   f o r k   o f   t h e   r e p o s i t o r y .   F o r   m o r e   i n f o r m a t i o n ,   s e e   W o r k   f r o m   a   l o c a l   c l o n e .   Y o u   n e e d   a   m a c h i n e   t h a t   i s   r u n n i n g   L i n u x   o r   m a c O S .   Y o u   n e e d   t o   h a v e   t h e s e   t o o l s   i n s t a l l e d :   P y t h o n   v 3 . 7 . x + G i t G o l a n g   v e r s i o n   1 . 1 3 + P i p   u s e d   t o   i n s t a l l   P y Y A M L P y Y A M L   v 5 . 1 . 2 m a k e g c c   c o m p i l e r / l i n k e r D o c k e r   ( R e q u i r e d   o n l y   f o r   k u b e c t l   c o m m a n d   r e f e r e n c e )   Y o u r   P A T H   e n v i r o n m e n t   v a r i a b l e   m u s t   i n c l u d e   t h e   r e q u i r e d   b u i l d   t o o l s ,   s u c h   a s   t h e   G o   b i n a r y   a n d   p y t h o n .   Y o u   n e e d   t o   k n o w   h o w   t o   c r e a t e   a   p u l l   r e q u e s t   t o   a   G i t H u b   r e p o s i t o r y .   T h i s   i n v o l v e s   c r e a t i n g   y o u r   o w n   f o r k   o f   t h e   r e p o s i t o r y .   F o r   m o r ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/quickstart/",
    "id": "k8s_00719_section_3_15855"
  },
  {
    "question": "What is Getting the docs repository?",
    "answer": "M a k e   s u r e   y o u r   w e b s i t e   f o r k   i s   u p - t o - d a t e   w i t h   t h e   k u b e r n e t e s / w e b s i t e   r e m o t e   o n   G i t H u b   ( m a i n   b r a n c h ) ,   a n d   c l o n e   y o u r   w e b s i t e   f o r k .   m k d i r   g i t h u b . c o m   c d   g i t h u b . c o m   g i t   c l o n e   g i t @ g i t h u b . c o m : < y o u r _ g i t h u b _ u s e r n a m e > / w e b s i t e . g i t   D e t e r m i n e   t h e   b a s e   d i r e c t o r y   o f   y o u r   c l o n e .   F o r   e x a m p l e ,   i f   y o u   f o l l o w e d   t h e   p r e c e d i n g   s t e p   t o   g e t   t h e   r e p o s i t o r y ,   y o u r   b a s e   d i r e c t o r y   i s   g i t h u b . c o m / w e b s i t e .   T h e   r e m a i n i n g   s t e p s   r e f e r   t o   y o u r   b a s e   d i r e c t o r y   a s   < w e b - b a s e > .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/quickstart/",
    "id": "k8s_00719_section_2_15856"
  },
  {
    "question": "What is Overview of update-imported-docs?",
    "answer": "T h e   u p d a t e - i m p o r t e d - d o c s . p y   s c r i p t   i s   l o c a t e d   i n   t h e   < w e b - b a s e > / u p d a t e - i m p o r t e d - d o c s /   d i r e c t o r y .   T h e   s c r i p t   b u i l d s   t h e   f o l l o w i n g   r e f e r e n c e s :   C o m p o n e n t   a n d   t o o l   r e f e r e n c e   p a g e s T h e   k u b e c t l   c o m m a n d   r e f e r e n c e T h e   K u b e r n e t e s   A P I   r e f e r e n c e",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/quickstart/",
    "id": "k8s_00719_section_2_15857"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   u p d a t e - i m p o r t e d - d o c s . p y   s c r i p t   g e n e r a t e s   t h e   K u b e r n e t e s   r e f e r e n c e   d o c u m e n t a t i o n   f r o m   t h e   K u b e r n e t e s   s o u r c e   c o d e .   T h e   s c r i p t   c r e a t e s   a   t e m p o r a r y   d i r e c t o r y   u n d e r   / t m p   o n   y o u r   m a c h i n e   a n d   c l o n e s   t h e   r e q u i r e d   r e p o s i t o r i e s :   k u b e r n e t e s / k u b e r n e t e s   a n d   k u b e r n e t e s - s i g s / r e f e r e n c e - d o c s   i n t o   t h i s   d i r e c t o r y .   T h e   s c r i p t   s e t s   y o u r   G O P A T H   t o   t h i s   t e m p o r a r y   d i r e c t o r y .   T h r e e   a d d i t i o n a l   e n v i r o n m e n t   v a r i a b l e s   a r e   s e t :   K 8 S _ R E L E A S E K 8 S _ R O O T K 8 S _ W E B R O O T   T h e   s c r i p t   r e q u i r e s   t w o   a r g u m e n t s   t o   r u n   s u c c e s s f u l l y :   A   Y A M L   c o n f i g u r a t i o n   f i l e   ( r e f e r e n c e . y m l ) A   r e l e a s e   v e r s i o n ,   f o r   e x a m p l e : 1 . 1 7   T h e   c o n f i g u r a t i o n   f i l e   c o n t a i n s   a   g e n e r a t e - c o m m a n d   f i e l d .   T h e   g e n e r a t e - c o m m a n d   f i e l d   d e f i n e s   a   s e r i e s   o f   b u i l d   i n s t r u c t i o n s   f r o m   k u b e r n e t e s - s i g s / r e f e r e n c e - d o c s / M a k e f i l e .   T h e   K 8 S _ R E L E A S E   v a r i a b l e   d e t e r m i n e s   t h e   v e r s i o n   o f   t h e   r e l e a s e .   T h e   u p d a t e - i m p o r t e d - d o c s . p y   s c r i p t   p e r f o r m s   t h e   f o l l o w i n g   s t e p s :   C l o n e s   t h e   r e l a t e d   r e p o s i t o r i e s   s p e c i f i e d   i n   a   c o n f i g u r a t i o n   f i l e .   F o r   t h e   p u r p o s e   o f   g e n e r a t i n g   r e f e r e n c e   d o c s ,   t h e   r e p o s i t o r y   t h a t ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/quickstart/",
    "id": "k8s_00719_section_4_15858"
  },
  {
    "question": "What is Configuration file format?",
    "answer": "E a c h   c o n f i g u r a t i o n   f i l e   m a y   c o n t a i n   m u l t i p l e   r e p o s   t h a t   w i l l   b e   i m p o r t e d   t o g e t h e r .   W h e n   n e c e s s a r y ,   y o u   c a n   c u s t o m i z e   t h e   c o n f i g u r a t i o n   f i l e   b y   m a n u a l l y   e d i t i n g   i t .   Y o u   m a y   c r e a t e   n e w   c o n f i g   f i l e s   f o r   i m p o r t i n g   o t h e r   g r o u p s   o f   d o c u m e n t s .   T h e   f o l l o w i n g   i s   a n   e x a m p l e   o f   t h e   Y A M L   c o n f i g u r a t i o n   f i l e :   r e p o s :   -   n a m e :   c o m m u n i t y   r e m o t e :   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / c o m m u n i t y . g i t   b r a n c h :   m a s t e r   f i l e s :   -   s r c :   c o n t r i b u t o r s / d e v e l / R E A D M E . m d   d s t :   d o c s / i m p o r t e d / c o m m u n i t y / d e v e l . m d   -   s r c :   c o n t r i b u t o r s / g u i d e / R E A D M E . m d   d s t :   d o c s / i m p o r t e d / c o m m u n i t y / g u i d e . m d   S i n g l e   p a g e   M a r k d o w n   d o c u m e n t s ,   i m p o r t e d   b y   t h e   t o o l ,   m u s t   a d h e r e   t o   t h e   D o c u m e n t a t i o n   S t y l e   G u i d e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/quickstart/",
    "id": "k8s_00719_section_2_15859"
  },
  {
    "question": "What is Customizing reference.yml?",
    "answer": "O p e n   < w e b - b a s e > / u p d a t e - i m p o r t e d - d o c s / r e f e r e n c e . y m l   f o r   e d i t i n g .   D o   n o t   c h a n g e   t h e   c o n t e n t   f o r   t h e   g e n e r a t e - c o m m a n d   f i e l d   u n l e s s   y o u   u n d e r s t a n d   h o w   t h e   c o m m a n d   i s   u s e d   t o   b u i l d   t h e   r e f e r e n c e s .   Y o u   s h o u l d   n o t   n e e d   t o   u p d a t e   r e f e r e n c e . y m l .   A t   t i m e s ,   c h a n g e s   i n   t h e   u p s t r e a m   s o u r c e   c o d e ,   m a y   r e q u i r e   c h a n g e s   t o   t h e   c o n f i g u r a t i o n   f i l e   ( f o r   e x a m p l e :   g o l a n g   v e r s i o n   d e p e n d e n c i e s   a n d   t h i r d - p a r t y   l i b r a r y   c h a n g e s ) .   I f   y o u   e n c o u n t e r   b u i l d   i s s u e s ,   c o n t a c t   t h e   S I G - D o c s   t e a m   o n   t h e   # s i g - d o c s   K u b e r n e t e s   S l a c k   c h a n n e l .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/quickstart/",
    "id": "k8s_00719_section_2_15860"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   r e f e r e n c e . y m l ,   f i l e s   c o n t a i n s   a   l i s t   o f   s r c   a n d   d s t   f i e l d s .   T h e   s r c   f i e l d   c o n t a i n s   t h e   l o c a t i o n   o f   a   g e n e r a t e d   M a r k d o w n   f i l e   i n   t h e   c l o n e d   k u b e r n e t e s - s i g s / r e f e r e n c e - d o c s   b u i l d   d i r e c t o r y ,   a n d   t h e   d s t   f i e l d   s p e c i f i e s   w h e r e   t o   c o p y   t h i s   f i l e   i n   t h e   c l o n e d   k u b e r n e t e s / w e b s i t e   r e p o s i t o r y .   F o r   e x a m p l e :   r e p o s :   -   n a m e :   r e f e r e n c e - d o c s   r e m o t e :   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s - s i g s / r e f e r e n c e - d o c s . g i t   f i l e s :   -   s r c :   g e n - c o m p d o c s / b u i l d / k u b e - a p i s e r v e r . m d   d s t :   c o n t e n t / e n / d o c s / r e f e r e n c e / c o m m a n d - l i n e - t o o l s - r e f e r e n c e / k u b e - a p i s e r v e r . m d   . . .   N o t e   t h a t   w h e n   t h e r e   a r e   m a n y   f i l e s   t o   b e   c o p i e d   f r o m   t h e   s a m e   s o u r c e   d i r e c t o r y   t o   t h e   s a m e   d e s t i n a t i o n   d i r e c t o r y ,   y o u   c a n   u s e   w i l d c a r d s   i n   t h e   v a l u e   g i v e n   t o   s r c .   Y o u   m u s t   p r o v i d e   t h e   d i r e c t o r y   n a m e   a s   t h e   v a l u e   f o r   d s t .   F o r   e x a m p l e :   f i l e s :   -   s r c :   g e n - c o m p d o c s / b u i l d / k u b e a d m * . m d   d s t :   c o n t e n t / e n / d o c s / r e f e r e n c e / s e t u p - t o o l s / k u b e a d m / g e n e r a t e d /",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/quickstart/",
    "id": "k8s_00719_section_4_15861"
  },
  {
    "question": "What is Running the update-imported-docs tool?",
    "answer": "Y o u   c a n   r u n   t h e   u p d a t e - i m p o r t e d - d o c s . p y   t o o l   a s   f o l l o w s :   c d   < w e b - b a s e > / u p d a t e - i m p o r t e d - d o c s   . / u p d a t e - i m p o r t e d - d o c s . p y   < c o n f i g u r a t i o n - f i l e . y m l >   < r e l e a s e - v e r s i o n >   F o r   e x a m p l e :   . / u p d a t e - i m p o r t e d - d o c s . p y   r e f e r e n c e . y m l   1 . 1 7",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/quickstart/",
    "id": "k8s_00719_section_2_15862"
  },
  {
    "question": "What is Fixing Links?",
    "answer": "T h e   r e l e a s e . y m l   c o n f i g u r a t i o n   f i l e   c o n t a i n s   i n s t r u c t i o n s   t o   f i x   r e l a t i v e   l i n k s .   T o   f i x   r e l a t i v e   l i n k s   w i t h i n   y o u r   i m p o r t e d   f i l e s ,   s e t   t h e g e n - a b s o l u t e - l i n k s   p r o p e r t y   t o   t r u e .   Y o u   c a n   f i n d   a n   e x a m p l e   o f   t h i s   i n   r e l e a s e . y m l .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/quickstart/",
    "id": "k8s_00719_section_2_15863"
  },
  {
    "question": "What is Adding and committing changes in kubernetes/website?",
    "answer": "L i s t   t h e   f i l e s   t h a t   w e r e   g e n e r a t e d   a n d   c o p i e d   t o   < w e b - b a s e > :   c d   < w e b - b a s e >   g i t   s t a t u s   T h e   o u t p u t   s h o w s   t h e   n e w   a n d   m o d i f i e d   f i l e s .   T h e   g e n e r a t e d   o u t p u t   v a r i e s   d e p e n d i n g   u p o n   c h a n g e s   m a d e   t o   t h e   u p s t r e a m   s o u r c e   c o d e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/quickstart/",
    "id": "k8s_00719_section_2_15864"
  },
  {
    "question": "What is Generated component tool files?",
    "answer": "c o n t e n t / e n / d o c s / r e f e r e n c e / c o m m a n d - l i n e - t o o l s - r e f e r e n c e / k u b e - a p i s e r v e r . m d   c o n t e n t / e n / d o c s / r e f e r e n c e / c o m m a n d - l i n e - t o o l s - r e f e r e n c e / k u b e - c o n t r o l l e r - m a n a g e r . m d   c o n t e n t / e n / d o c s / r e f e r e n c e / c o m m a n d - l i n e - t o o l s - r e f e r e n c e / k u b e - p r o x y . m d   c o n t e n t / e n / d o c s / r e f e r e n c e / c o m m a n d - l i n e - t o o l s - r e f e r e n c e / k u b e - s c h e d u l e r . m d   c o n t e n t / e n / d o c s / r e f e r e n c e / s e t u p - t o o l s / k u b e a d m / g e n e r a t e d / k u b e a d m . m d   c o n t e n t / e n / d o c s / r e f e r e n c e / k u b e c t l / k u b e c t l . m d",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/quickstart/",
    "id": "k8s_00719_section_3_15865"
  },
  {
    "question": "What is Generated kubectl command reference files?",
    "answer": "s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e c t l / k u b e c t l - c o m m a n d s . h t m l   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e c t l / n a v D a t a . j s   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e c t l / s c r o l l . j s   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e c t l / s t y l e s h e e t . c s s   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e c t l / t a b v i s i b i l i t y . j s   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e c t l / n o d e _ m o d u l e s / b o o t s t r a p / d i s t / c s s / b o o t s t r a p . m i n . c s s   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e c t l / n o d e _ m o d u l e s / h i g h l i g h t . j s / s t y l e s / d e f a u l t . c s s   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e c t l / n o d e _ m o d u l e s / j q u e r y . s c r o l l t o / j q u e r y . s c r o l l T o . m i n . j s   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e c t l / n o d e _ m o d u l e s / j q u e r y / d i s t / j q u e r y . m i n . j s   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e c t l / c s s / f o n t - a w e s o m e . m i n . c s s",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/quickstart/",
    "id": "k8s_00719_section_3_15866"
  },
  {
    "question": "What is Generated Kubernetes API reference directories and files?",
    "answer": "s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e r n e t e s - a p i / v 1 . 3 4 / i n d e x . h t m l   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e r n e t e s - a p i / v 1 . 3 4 / j s / n a v D a t a . j s   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e r n e t e s - a p i / v 1 . 3 4 / j s / s c r o l l . j s   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e r n e t e s - a p i / v 1 . 3 4 / j s / q u e r y . s c r o l l T o . m i n . j s   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e r n e t e s - a p i / v 1 . 3 4 / c s s / f o n t - a w e s o m e . m i n . c s s   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e r n e t e s - a p i / v 1 . 3 4 / c s s / b o o t s t r a p . m i n . c s s   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e r n e t e s - a p i / v 1 . 3 4 / c s s / s t y l e s h e e t . c s s   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e r n e t e s - a p i / v 1 . 3 4 / f o n t s / F o n t A w e s o m e . o t f   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e r n e t e s - a p i / v 1 . 3 4 / f o n t s / f o n t a w e s o m e - w e b f o n t . e o t   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e r n e t e s - a p i / v 1 . 3 4 / f o n t s / f o n t a w e s o m e - w e b f o n t . s v g   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e r n e t e s - a p i / v 1 . 3 4 / f o n t s / f o n t a w e s o m e - w e b f o n t . t t f   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e r n e t e s - a p i / v 1 . 3 4 / f o n t s / f o n t a w e s o m e - w e b f o n t . w o f f   s t a t i c / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e r n e t e s - a p i / v 1 . 3 4 / f o n t s / f o n t a w e s o m e - w e b f o n t . w o f f 2   R u n   g i t ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/quickstart/",
    "id": "k8s_00719_section_3_15867"
  },
  {
    "question": "What is Creating a pull request?",
    "answer": "C r e a t e   a   p u l l   r e q u e s t   t o   t h e   k u b e r n e t e s / w e b s i t e   r e p o s i t o r y .   M o n i t o r   y o u r   p u l l   r e q u e s t ,   a n d   r e s p o n d   t o   r e v i e w   c o m m e n t s   a s   n e e d e d .   C o n t i n u e   t o   m o n i t o r   y o u r   p u l l   r e q u e s t   u n t i l   i t   i s   m e r g e d .   A   f e w   m i n u t e s   a f t e r   y o u r   p u l l   r e q u e s t   i s   m e r g e d ,   y o u r   u p d a t e d   r e f e r e n c e   t o p i c s   w i l l   b e   v i s i b l e   i n   t h e   p u b l i s h e d   d o c u m e n t a t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/quickstart/",
    "id": "k8s_00719_section_2_15868"
  },
  {
    "question": "What is What's next?",
    "answer": "T o   g e n e r a t e   t h e   i n d i v i d u a l   r e f e r e n c e   d o c u m e n t a t i o n   b y   m a n u a l l y   s e t t i n g   u p   t h e   r e q u i r e d   b u i l d   r e p o s i t o r i e s   a n d   r u n n i n g   t h e   b u i l d   t a r g e t s ,   s e e   t h e   f o l l o w i n g   g u i d e s :   G e n e r a t i n g   R e f e r e n c e   D o c u m e n t a t i o n   f o r   K u b e r n e t e s   C o m p o n e n t s   a n d   T o o l s G e n e r a t i n g   R e f e r e n c e   D o c u m e n t a t i o n   f o r   k u b e c t l   C o m m a n d s G e n e r a t i n g   R e f e r e n c e   D o c u m e n t a t i o n   f o r   t h e   K u b e r n e t e s   A P I",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/generate-ref-docs/quickstart/",
    "id": "k8s_00719_section_2_15869"
  },
  {
    "question": "What is Assign Extended Resources to a Container?",
    "answer": "Assign Extended Resources to a ContainerFEATURE STATE: Kubernetes v1.34 [stable]This page shows how to assign extended resources to a Container.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Before you do this exercise, do the exercise in Advertise Extended Resources for a Node. That will configure one of your Nodes to advertise a dongle resource.Assign an extended resource to a PodTo request an extended resource, include the resources:requests field in your Container manifest. Extended resources are fully qualified with any domain outside of *.kubernetes.io/. Valid extended resource names have the form example.com/foo where example.com is replaced with your organization's domain and foo is a descriptive resource name.Here is the configuration file for a Pod that has one Container:pods/resource/extended-resource-pod.yaml apiVersion: v1 kind: Pod metadata: name: extended-resource-demo spec: containers: - name: extended-resource-demo-ctr image: nginx resources: requests: example.com/dongle: 3 limits: example.com/dongle: 3 In the configuration file, you can see that the Container requests 3 dongles.Create a Pod:kubectl apply -f https://k8s.io/examples/pods/resource/extended-resource-pod.yaml Verify that the Pod is running:kubectl get pod extended-resource-demo Describe the Pod:kubectl describe pod extended-resource-demo The output shows dongle requests:Limits: example.com/dongle: 3 Requests: example.com/dongle: 3 Attempt to create a second PodHere is the configuration file for a Pod that has one Container. The Container requests two dongles.pods/resource/extended-resource-pod-2.yaml apiVersion: v1 kind: Pod metadata: name: extended-resource-demo-2 spec: containers: - name: extended-resource-demo-2-ctr image: nginx resources: requests: example.com/dongle: 2 limits: example.com/dongle: 2 Kubernetes will not be able to satisfy the request for two dongles, because the first Pod used three of the four available dongles.Attempt to create a Pod:kubectl apply -f https://k8s.io/examples/pods/resource/extended-resource-pod-2.yaml Describe the Podkubectl describe pod extended-resource-demo-2 The output shows that the Pod cannot be scheduled, because there is no Node that has 2 dongles available:Conditions: Type Status PodScheduled False ... Events: ... ... Warning FailedScheduling pod (extended-resource-demo-2) failed to fit in any node fit failure summary on nodes : Insufficient example.com/dongle (1) View the Pod status:kubectl get pod extended-resource-demo-2 The output shows that the Pod was created, but not scheduled to run on ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/extended-resource/",
    "id": "k8s_00720_qa_15870"
  },
  {
    "question": "How does Assign Extended Resources to a Container work?",
    "answer": "Assign Extended Resources to a ContainerFEATURE STATE: Kubernetes v1.34 [stable]This page shows how to assign extended resources to a Container.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Before you do this exercise, do the exercise in Advertise Extended Resources for a Node. That will configure one of your Nodes to advertise a dongle resource.Assign an extended resource to a PodTo request an extended resource, include the resources:requests field in your Container manifest. Extended resources are fully qualified with any domain outside of *.kubernetes.io/. Valid extended resource names have the form example.com/foo where example.com is replaced with your organization's domain and foo is a descriptive resource name.Here is the configuration file for a Pod that has one Container:pods/resource/extended-resource-pod.yaml apiVersion: v1 kind: Pod metadata: name: extended-resource-demo spec: containers: - name: extended-resource-demo-ctr image: nginx resources: requests: example.com/dongle: 3 limits: example.com/dongle: 3 In the configuration file, you can see that the Container requests 3 dongles.Create a Pod:kubectl apply -f https://k8s.io/examples/pods/resource/extended-resource-pod.yaml Verify that the Pod is running:kubectl get pod extended-resource-demo Describe the Pod:kubectl describe pod extended-resource-demo The output shows dongle requests:Limits: example.com/dongle: 3 Requests: example.com/dongle: 3 Attempt to create a second PodHere is the configuration file for a Pod that has one Container. The Container requests two dongles.pods/resource/extended-resource-pod-2.yaml apiVersion: v1 kind: Pod metadata: name: extended-resource-demo-2 spec: containers: - name: extended-resource-demo-2-ctr image: nginx resources: requests: example.com/dongle: 2 limits: example.com/dongle: 2 Kubernetes will not be able to satisfy the request for two dongles, because the first Pod used three of the four available dongles.Attempt to create a Pod:kubectl apply -f https://k8s.io/examples/pods/resource/extended-resource-pod-2.yaml Describe the Podkubectl describe pod extended-resource-demo-2 The output shows that the Pod cannot be scheduled, because there is no Node that has 2 dongles available:Conditions: Type Status PodScheduled False ... Events: ... ... Warning FailedScheduling pod (extended-resource-demo-2) failed to fit in any node fit failure summary on nodes : Insufficient example.com/dongle (1) View the Pod status:kubectl get pod extended-resource-demo-2 The output shows that the Pod was created, but not scheduled to run on ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/extended-resource/",
    "id": "k8s_00720_qa_15871"
  },
  {
    "question": "When would you use Assign Extended Resources to a Container?",
    "answer": "Assign Extended Resources to a ContainerFEATURE STATE: Kubernetes v1.34 [stable]This page shows how to assign extended resources to a Container.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Before you do this exercise, do the exercise in Advertise Extended Resources for a Node. That will configure one of your Nodes to advertise a dongle resource.Assign an extended resource to a PodTo request an extended resource, include the resources:requests field in your Container manifest. Extended resources are fully qualified with any domain outside of *.kubernetes.io/. Valid extended resource names have the form example.com/foo where example.com is replaced with your organization's domain and foo is a descriptive resource name.Here is the configuration file for a Pod that has one Container:pods/resource/extended-resource-pod.yaml apiVersion: v1 kind: Pod metadata: name: extended-resource-demo spec: containers: - name: extended-resource-demo-ctr image: nginx resources: requests: example.com/dongle: 3 limits: example.com/dongle: 3 In the configuration file, you can see that the Container requests 3 dongles.Create a Pod:kubectl apply -f https://k8s.io/examples/pods/resource/extended-resource-pod.yaml Verify that the Pod is running:kubectl get pod extended-resource-demo Describe the Pod:kubectl describe pod extended-resource-demo The output shows dongle requests:Limits: example.com/dongle: 3 Requests: example.com/dongle: 3 Attempt to create a second PodHere is the configuration file for a Pod that has one Container. The Container requests two dongles.pods/resource/extended-resource-pod-2.yaml apiVersion: v1 kind: Pod metadata: name: extended-resource-demo-2 spec: containers: - name: extended-resource-demo-2-ctr image: nginx resources: requests: example.com/dongle: 2 limits: example.com/dongle: 2 Kubernetes will not be able to satisfy the request for two dongles, because the first Pod used three of the four available dongles.Attempt to create a Pod:kubectl apply -f https://k8s.io/examples/pods/resource/extended-resource-pod-2.yaml Describe the Podkubectl describe pod extended-resource-demo-2 The output shows that the Pod cannot be scheduled, because there is no Node that has 2 dongles available:Conditions: Type Status PodScheduled False ... Events: ... ... Warning FailedScheduling pod (extended-resource-demo-2) failed to fit in any node fit failure summary on nodes : Insufficient example.com/dongle (1) View the Pod status:kubectl get pod extended-resource-demo-2 The output shows that the Pod was created, but not scheduled to run on ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/extended-resource/",
    "id": "k8s_00720_qa_15872"
  },
  {
    "question": "What are the benefits of Assign Extended Resources to a Container?",
    "answer": "Assign Extended Resources to a ContainerFEATURE STATE: Kubernetes v1.34 [stable]This page shows how to assign extended resources to a Container.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Before you do this exercise, do the exercise in Advertise Extended Resources for a Node. That will configure one of your Nodes to advertise a dongle resource.Assign an extended resource to a PodTo request an extended resource, include the resources:requests field in your Container manifest. Extended resources are fully qualified with any domain outside of *.kubernetes.io/. Valid extended resource names have the form example.com/foo where example.com is replaced with your organization's domain and foo is a descriptive resource name.Here is the configuration file for a Pod that has one Container:pods/resource/extended-resource-pod.yaml apiVersion: v1 kind: Pod metadata: name: extended-resource-demo spec: containers: - name: extended-resource-demo-ctr image: nginx resources: requests: example.com/dongle: 3 limits: example.com/dongle: 3 In the configuration file, you can see that the Container requests 3 dongles.Create a Pod:kubectl apply -f https://k8s.io/examples/pods/resource/extended-resource-pod.yaml Verify that the Pod is running:kubectl get pod extended-resource-demo Describe the Pod:kubectl describe pod extended-resource-demo The output shows dongle requests:Limits: example.com/dongle: 3 Requests: example.com/dongle: 3 Attempt to create a second PodHere is the configuration file for a Pod that has one Container. The Container requests two dongles.pods/resource/extended-resource-pod-2.yaml apiVersion: v1 kind: Pod metadata: name: extended-resource-demo-2 spec: containers: - name: extended-resource-demo-2-ctr image: nginx resources: requests: example.com/dongle: 2 limits: example.com/dongle: 2 Kubernetes will not be able to satisfy the request for two dongles, because the first Pod used three of the four available dongles.Attempt to create a Pod:kubectl apply -f https://k8s.io/examples/pods/resource/extended-resource-pod-2.yaml Describe the Podkubectl describe pod extended-resource-demo-2 The output shows that the Pod cannot be scheduled, because there is no Node that has 2 dongles available:Conditions: Type Status PodScheduled False ... Events: ... ... Warning FailedScheduling pod (extended-resource-demo-2) failed to fit in any node fit failure summary on nodes : Insufficient example.com/dongle (1) View the Pod status:kubectl get pod extended-resource-demo-2 The output shows that the Pod was created, but not scheduled to run on ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/extended-resource/",
    "id": "k8s_00720_qa_15873"
  },
  {
    "question": "What is Assign Extended Resources to a Container?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   a s s i g n   e x t e n d e d   r e s o u r c e s   t o   a   C o n t a i n e r .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/extended-resource/",
    "id": "k8s_00720_section_1_15874"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   B e f o r e   y o u   d o   t h i s   e x e r c i s e ,   d o   t h e   e x e r c i s e   i n   A d v e r t i s e   E x t e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/extended-resource/",
    "id": "k8s_00720_section_2_15875"
  },
  {
    "question": "What is Assign an extended resource to a Pod?",
    "answer": "T o   r e q u e s t   a n   e x t e n d e d   r e s o u r c e ,   i n c l u d e   t h e   r e s o u r c e s : r e q u e s t s   f i e l d   i n   y o u r   C o n t a i n e r   m a n i f e s t .   E x t e n d e d   r e s o u r c e s   a r e   f u l l y   q u a l i f i e d   w i t h   a n y   d o m a i n   o u t s i d e   o f   * . k u b e r n e t e s . i o / .   V a l i d   e x t e n d e d   r e s o u r c e   n a m e s   h a v e   t h e   f o r m   e x a m p l e . c o m / f o o   w h e r e   e x a m p l e . c o m   i s   r e p l a c e d   w i t h   y o u r   o r g a n i z a t i o n ' s   d o m a i n   a n d   f o o   i s   a   d e s c r i p t i v e   r e s o u r c e   n a m e .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e x t e n d e d - r e s o u r c e - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   e x t e n d e d - r e s o u r c e - d e m o - c t r   i m a g e :   n g i n x   r e s o u r c e s :   r e q u e s t s :   e x a m p l e . c o m / d o n g l e :   3   l i m i t s :   e x a m p l e . c o m / d o n g l e :   3   I n   t h e   c o n f i g u r a t i o n   f i l e ,   y o u   c a n   s e e   t h a t   t h e   C o n t a i n e r   r e q u e s t s   3   d o n g l e s .   C r e a t e   a   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / r e s o u r c e / e x t e n d e d - r e s o u r c e - p o d . y a m l   V e r i f y   t h a t   t h e   P o d   i s   r u n n i n g :   k u b e c t l   g e t   p o d   e x t e n d e d - r e s o u r c e - d e m o   D e s c r i b e   t h e   P o d :   k u b e c t l   d e s c r i b e   p o d   e x t e n d e d - r e s o u r c e - d e m o   T h e   o u t p u t   s h o w s   d o n g l e   r e q u e s t s :   L i m i t s :   e x a m p l e . c o m / d o n g l e :   3   R e q u e s t s :   e x a m p l e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/extended-resource/",
    "id": "k8s_00720_section_2_15876"
  },
  {
    "question": "What is Attempt to create a second Pod?",
    "answer": "H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   T h e   C o n t a i n e r   r e q u e s t s   t w o   d o n g l e s .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e x t e n d e d - r e s o u r c e - d e m o - 2   s p e c :   c o n t a i n e r s :   -   n a m e :   e x t e n d e d - r e s o u r c e - d e m o - 2 - c t r   i m a g e :   n g i n x   r e s o u r c e s :   r e q u e s t s :   e x a m p l e . c o m / d o n g l e :   2   l i m i t s :   e x a m p l e . c o m / d o n g l e :   2   K u b e r n e t e s   w i l l   n o t   b e   a b l e   t o   s a t i s f y   t h e   r e q u e s t   f o r   t w o   d o n g l e s ,   b e c a u s e   t h e   f i r s t   P o d   u s e d   t h r e e   o f   t h e   f o u r   a v a i l a b l e   d o n g l e s .   A t t e m p t   t o   c r e a t e   a   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / r e s o u r c e / e x t e n d e d - r e s o u r c e - p o d - 2 . y a m l   D e s c r i b e   t h e   P o d   k u b e c t l   d e s c r i b e   p o d   e x t e n d e d - r e s o u r c e - d e m o - 2   T h e   o u t p u t   s h o w s   t h a t   t h e   P o d   c a n n o t   b e   s c h e d u l e d ,   b e c a u s e   t h e r e   i s   n o   N o d e   t h a t   h a s   2   d o n g l e s   a v a i l a b l e :   C o n d i t i o n s :   T y p e   S t a t u s   P o d S c h e d u l e d   F a l s e   . . .   E v e n t s :   . . .   . . .   W a r n i n g   F a i l e d S c h e d u l i n g   p o d   ( e x t e n d e d - r e s o u r c e - d e m o - 2 )   f a i l e d   t o   f i t   i n   a n y   n o d e   f i t   f a i l u r e   s u m m a r y   o n   n o d e s   :   I n s u f f i c i e n t   e x a m p l e . c o m / d o n g l e   ( 1 )   V i e w   t h e   P o d   s t a t u s :   k u b e c t l   g e t   p o d   e x t e n d e d - r e s o u r c e - d e m o - 2   T h e   o u t p ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/extended-resource/",
    "id": "k8s_00720_section_2_15877"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   t h e   P o d s   t h a t   y o u   c r e a t e d   f o r   t h i s   e x e r c i s e :   k u b e c t l   d e l e t e   p o d   e x t e n d e d - r e s o u r c e - d e m o   k u b e c t l   d e l e t e   p o d   e x t e n d e d - r e s o u r c e - d e m o - 2",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/extended-resource/",
    "id": "k8s_00720_section_2_15878"
  },
  {
    "question": "What is For application developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/extended-resource/",
    "id": "k8s_00720_section_3_15879"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "A d v e r t i s e   E x t e n d e d   R e s o u r c e s   f o r   a   N o d e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/extended-resource/",
    "id": "k8s_00720_section_3_15880"
  },
  {
    "question": "What is Extend the Kubernetes API with CustomResourceDefinitions?",
    "answer": "Extend the Kubernetes API with CustomResourceDefinitionsThis page shows how to install a custom resource into the Kubernetes API by creating a CustomResourceDefinition.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.16.To check the version, enter kubectl version.If you are using an older version of Kubernetes that is still supported, switch to the documentation for that version to see advice that is relevant for your cluster.Create a CustomResourceDefinitionWhen you create a new CustomResourceDefinition (CRD), the Kubernetes API Server creates a new RESTful resource path for each version you specify. The custom resource created from a CRD object can be either namespaced or cluster-scoped, as specified in the CRD's spec.scope field. As with existing built-in objects, deleting a namespace deletes all custom objects in that namespace. CustomResourceDefinitions themselves are non-namespaced and are available to all namespaces.For example, if you save the following CustomResourceDefinition to resourcedefinition.yaml:apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: # name must match the spec fields below, and be in the form: <plural>.<group> name: crontabs.stable.example.com spec: # group name to use for REST API: /apis/<group>/<version> group: stable.example.com # list of versions supported by this CustomResourceDefinition versions: - name: v1 # Each version can be enabled/disabled by Served flag. served: true # One and only one version must be marked as the storage version. storage: true schema: openAPIV3Schema: type: object properties: spec: type: object properties: cronSpec: type: string image: type: string replicas: type: integer # either Namespaced or Cluster scope: Namespaced names: # plural name to be used in the URL: /apis/<group>/<version>/<plural> plural: crontabs # singular name to be used as an alias on the CLI and for display singular: crontab # kind is normally the CamelCased singular type. Your resource manifests use this. kind: CronTab # shortNames allow shorter string to match your resource on the CLI shortNames: - ct and create it:kubectl apply -f resourcedefinition.yaml Then a new namespaced RESTful API endpoint is created at:/apis/stable.example.com/v1/namespaces/*/crontabs/... This endpoint URL can then be used to create and manage custom objects. The kind of these objects will be CronTab from the spec of the CustomResourceDefinition object you created above.It might take a few seconds for the endpoint to be created. You can watch the Established condition of you",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_qa_15881"
  },
  {
    "question": "How does Extend the Kubernetes API with CustomResourceDefinitions work?",
    "answer": "Extend the Kubernetes API with CustomResourceDefinitionsThis page shows how to install a custom resource into the Kubernetes API by creating a CustomResourceDefinition.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.16.To check the version, enter kubectl version.If you are using an older version of Kubernetes that is still supported, switch to the documentation for that version to see advice that is relevant for your cluster.Create a CustomResourceDefinitionWhen you create a new CustomResourceDefinition (CRD), the Kubernetes API Server creates a new RESTful resource path for each version you specify. The custom resource created from a CRD object can be either namespaced or cluster-scoped, as specified in the CRD's spec.scope field. As with existing built-in objects, deleting a namespace deletes all custom objects in that namespace. CustomResourceDefinitions themselves are non-namespaced and are available to all namespaces.For example, if you save the following CustomResourceDefinition to resourcedefinition.yaml:apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: # name must match the spec fields below, and be in the form: <plural>.<group> name: crontabs.stable.example.com spec: # group name to use for REST API: /apis/<group>/<version> group: stable.example.com # list of versions supported by this CustomResourceDefinition versions: - name: v1 # Each version can be enabled/disabled by Served flag. served: true # One and only one version must be marked as the storage version. storage: true schema: openAPIV3Schema: type: object properties: spec: type: object properties: cronSpec: type: string image: type: string replicas: type: integer # either Namespaced or Cluster scope: Namespaced names: # plural name to be used in the URL: /apis/<group>/<version>/<plural> plural: crontabs # singular name to be used as an alias on the CLI and for display singular: crontab # kind is normally the CamelCased singular type. Your resource manifests use this. kind: CronTab # shortNames allow shorter string to match your resource on the CLI shortNames: - ct and create it:kubectl apply -f resourcedefinition.yaml Then a new namespaced RESTful API endpoint is created at:/apis/stable.example.com/v1/namespaces/*/crontabs/... This endpoint URL can then be used to create and manage custom objects. The kind of these objects will be CronTab from the spec of the CustomResourceDefinition object you created above.It might take a few seconds for the endpoint to be created. You can watch the Established condition of you",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_qa_15882"
  },
  {
    "question": "When would you use Extend the Kubernetes API with CustomResourceDefinitions?",
    "answer": "Extend the Kubernetes API with CustomResourceDefinitionsThis page shows how to install a custom resource into the Kubernetes API by creating a CustomResourceDefinition.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.16.To check the version, enter kubectl version.If you are using an older version of Kubernetes that is still supported, switch to the documentation for that version to see advice that is relevant for your cluster.Create a CustomResourceDefinitionWhen you create a new CustomResourceDefinition (CRD), the Kubernetes API Server creates a new RESTful resource path for each version you specify. The custom resource created from a CRD object can be either namespaced or cluster-scoped, as specified in the CRD's spec.scope field. As with existing built-in objects, deleting a namespace deletes all custom objects in that namespace. CustomResourceDefinitions themselves are non-namespaced and are available to all namespaces.For example, if you save the following CustomResourceDefinition to resourcedefinition.yaml:apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: # name must match the spec fields below, and be in the form: <plural>.<group> name: crontabs.stable.example.com spec: # group name to use for REST API: /apis/<group>/<version> group: stable.example.com # list of versions supported by this CustomResourceDefinition versions: - name: v1 # Each version can be enabled/disabled by Served flag. served: true # One and only one version must be marked as the storage version. storage: true schema: openAPIV3Schema: type: object properties: spec: type: object properties: cronSpec: type: string image: type: string replicas: type: integer # either Namespaced or Cluster scope: Namespaced names: # plural name to be used in the URL: /apis/<group>/<version>/<plural> plural: crontabs # singular name to be used as an alias on the CLI and for display singular: crontab # kind is normally the CamelCased singular type. Your resource manifests use this. kind: CronTab # shortNames allow shorter string to match your resource on the CLI shortNames: - ct and create it:kubectl apply -f resourcedefinition.yaml Then a new namespaced RESTful API endpoint is created at:/apis/stable.example.com/v1/namespaces/*/crontabs/... This endpoint URL can then be used to create and manage custom objects. The kind of these objects will be CronTab from the spec of the CustomResourceDefinition object you created above.It might take a few seconds for the endpoint to be created. You can watch the Established condition of you",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_qa_15883"
  },
  {
    "question": "What are the benefits of Extend the Kubernetes API with CustomResourceDefinitions?",
    "answer": "Extend the Kubernetes API with CustomResourceDefinitionsThis page shows how to install a custom resource into the Kubernetes API by creating a CustomResourceDefinition.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version 1.16.To check the version, enter kubectl version.If you are using an older version of Kubernetes that is still supported, switch to the documentation for that version to see advice that is relevant for your cluster.Create a CustomResourceDefinitionWhen you create a new CustomResourceDefinition (CRD), the Kubernetes API Server creates a new RESTful resource path for each version you specify. The custom resource created from a CRD object can be either namespaced or cluster-scoped, as specified in the CRD's spec.scope field. As with existing built-in objects, deleting a namespace deletes all custom objects in that namespace. CustomResourceDefinitions themselves are non-namespaced and are available to all namespaces.For example, if you save the following CustomResourceDefinition to resourcedefinition.yaml:apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: # name must match the spec fields below, and be in the form: <plural>.<group> name: crontabs.stable.example.com spec: # group name to use for REST API: /apis/<group>/<version> group: stable.example.com # list of versions supported by this CustomResourceDefinition versions: - name: v1 # Each version can be enabled/disabled by Served flag. served: true # One and only one version must be marked as the storage version. storage: true schema: openAPIV3Schema: type: object properties: spec: type: object properties: cronSpec: type: string image: type: string replicas: type: integer # either Namespaced or Cluster scope: Namespaced names: # plural name to be used in the URL: /apis/<group>/<version>/<plural> plural: crontabs # singular name to be used as an alias on the CLI and for display singular: crontab # kind is normally the CamelCased singular type. Your resource manifests use this. kind: CronTab # shortNames allow shorter string to match your resource on the CLI shortNames: - ct and create it:kubectl apply -f resourcedefinition.yaml Then a new namespaced RESTful API endpoint is created at:/apis/stable.example.com/v1/namespaces/*/crontabs/... This endpoint URL can then be used to create and manage custom objects. The kind of these objects will be CronTab from the spec of the CustomResourceDefinition object you created above.It might take a few seconds for the endpoint to be created. You can watch the Established condition of you",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_qa_15884"
  },
  {
    "question": "What is Extend the Kubernetes API with CustomResourceDefinitions?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   i n s t a l l   a   c u s t o m   r e s o u r c e   i n t o   t h e   K u b e r n e t e s   A P I   b y   c r e a t i n g   a   C u s t o m R e s o u r c e D e f i n i t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_1_15885"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 1 6 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n . I f   y o u   a r e   u s i n g   a n   o l d e r   v e r s i o n   o f   K u b e r n e t e s   t h a t   i s   s t i l l   s u p p o r t e d ,   s w i t c h   t o   t h e   d o c u m e n t a t i o n   f o r   t h a t   v e r s i o n   t o   s e e   a d v i c e   t h a t   i s   r e l e v a n t   f o r   y o u r   c l u s t e r .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_2_15886"
  },
  {
    "question": "What is Create a CustomResourceDefinition?",
    "answer": "W h e n   y o u   c r e a t e   a   n e w   C u s t o m R e s o u r c e D e f i n i t i o n   ( C R D ) ,   t h e   K u b e r n e t e s   A P I   S e r v e r   c r e a t e s   a   n e w   R E S T f u l   r e s o u r c e   p a t h   f o r   e a c h   v e r s i o n   y o u   s p e c i f y .   T h e   c u s t o m   r e s o u r c e   c r e a t e d   f r o m   a   C R D   o b j e c t   c a n   b e   e i t h e r   n a m e s p a c e d   o r   c l u s t e r - s c o p e d ,   a s   s p e c i f i e d   i n   t h e   C R D ' s   s p e c . s c o p e   f i e l d .   A s   w i t h   e x i s t i n g   b u i l t - i n   o b j e c t s ,   d e l e t i n g   a   n a m e s p a c e   d e l e t e s   a l l   c u s t o m   o b j e c t s   i n   t h a t   n a m e s p a c e .   C u s t o m R e s o u r c e D e f i n i t i o n s   t h e m s e l v e s   a r e   n o n - n a m e s p a c e d   a n d   a r e   a v a i l a b l e   t o   a l l   n a m e s p a c e s .   F o r   e x a m p l e ,   i f   y o u   s a v e   t h e   f o l l o w i n g   C u s t o m R e s o u r c e D e f i n i t i o n   t o   r e s o u r c e d e f i n i t i o n . y a m l :   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   m e t a d a t a :   #   n a m e   m u s t   m a t c h   t h e   s p e c   f i e l d s   b e l o w ,   a n d   b e   i n   t h e   f o r m :   < p l u r a l > . < g r o u p >   n a m e :   c r o n t a b s . s t a b l e . e x a m p l e . c o m   s p e c :   #   g r o u p   n a m e   t o   u s e   f o r   R E S T   A P I :   / a p i s / < g r o u p > / < v e r s i o n >   g r o u p :   s t a b l e . e x a m p l e . c o m   #   l i s t   o f   v e r s i o n s   s u p p o r t e d   b y   t h i s   C u s t o m R e s o u r c e D e f i n i t i o n   v e r s i o n s :   -   n a m e :   v 1   #   E a c h   v e r s i o n   c a n   b e   e n a b l e d / d i s a b l e d   b y   S e r v e d   f l a g .   s e r v e d :   t r u e   #   O ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_2_15887"
  },
  {
    "question": "What is Create custom objects?",
    "answer": "A f t e r   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   o b j e c t   h a s   b e e n   c r e a t e d ,   y o u   c a n   c r e a t e   c u s t o m   o b j e c t s .   C u s t o m   o b j e c t s   c a n   c o n t a i n   c u s t o m   f i e l d s .   T h e s e   f i e l d s   c a n   c o n t a i n   a r b i t r a r y   J S O N .   I n   t h e   f o l l o w i n g   e x a m p l e ,   t h e   c r o n S p e c   a n d   i m a g e   c u s t o m   f i e l d s   a r e   s e t   i n   a   c u s t o m   o b j e c t   o f   k i n d   C r o n T a b .   T h e   k i n d   C r o n T a b   c o m e s   f r o m   t h e   s p e c   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   o b j e c t   y o u   c r e a t e d   a b o v e .   I f   y o u   s a v e   t h e   f o l l o w i n g   Y A M L   t o   m y - c r o n t a b . y a m l :   a p i V e r s i o n :   \" s t a b l e . e x a m p l e . c o m / v 1 \"   k i n d :   C r o n T a b   m e t a d a t a :   n a m e :   m y - n e w - c r o n - o b j e c t   s p e c :   c r o n S p e c :   \" *   *   *   *   * / 5 \"   i m a g e :   m y - a w e s o m e - c r o n - i m a g e   a n d   c r e a t e   i t :   k u b e c t l   a p p l y   - f   m y - c r o n t a b . y a m l   Y o u   c a n   t h e n   m a n a g e   y o u r   C r o n T a b   o b j e c t s   u s i n g   k u b e c t l .   F o r   e x a m p l e :   k u b e c t l   g e t   c r o n t a b   S h o u l d   p r i n t   a   l i s t   l i k e   t h i s :   N A M E   A G E   m y - n e w - c r o n - o b j e c t   6 s   R e s o u r c e   n a m e s   a r e   n o t   c a s e - s e n s i t i v e   w h e n   u s i n g   k u b e c t l ,   a n d   y o u   c a n   u s e   e i t h e r   t h e   s i n g u l a r   o r   p l u r a l   f o r m s   d e f i n e d   i n   t h e   C R D ,   a s   w e l l   a s   a n y   s h o r t   n a m e s .   Y o u   c a n   a l s o   v i e w   t h e   r a w   Y A M L   d a t a :   k u b e c t l   g e t   c t   - o   y a m l   Y o u   s h o u l d   s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_2_15888"
  },
  {
    "question": "What is Delete a CustomResourceDefinition?",
    "answer": "W h e n   y o u   d e l e t e   a   C u s t o m R e s o u r c e D e f i n i t i o n ,   t h e   s e r v e r   w i l l   u n i n s t a l l   t h e   R E S T f u l   A P I   e n d p o i n t   a n d   d e l e t e   a l l   c u s t o m   o b j e c t s   s t o r e d   i n   i t .   k u b e c t l   d e l e t e   - f   r e s o u r c e d e f i n i t i o n . y a m l   k u b e c t l   g e t   c r o n t a b s   E r r o r   f r o m   s e r v e r   ( N o t F o u n d ) :   U n a b l e   t o   l i s t   { \" s t a b l e . e x a m p l e . c o m \"   \" v 1 \"   \" c r o n t a b s \" } :   t h e   s e r v e r   c o u l d   n o t   f i n d   t h e   r e q u e s t e d   r e s o u r c e   ( g e t   c r o n t a b s . s t a b l e . e x a m p l e . c o m )   I f   y o u   l a t e r   r e c r e a t e   t h e   s a m e   C u s t o m R e s o u r c e D e f i n i t i o n ,   i t   w i l l   s t a r t   o u t   e m p t y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_2_15889"
  },
  {
    "question": "What is Specifying a structural schema?",
    "answer": "C u s t o m R e s o u r c e s   s t o r e   s t r u c t u r e d   d a t a   i n   c u s t o m   f i e l d s   ( a l o n g s i d e   t h e   b u i l t - i n   f i e l d s   a p i V e r s i o n ,   k i n d   a n d   m e t a d a t a ,   w h i c h   t h e   A P I   s e r v e r   v a l i d a t e s   i m p l i c i t l y ) .   W i t h   O p e n A P I   v 3 . 0   v a l i d a t i o n   a   s c h e m a   c a n   b e   s p e c i f i e d ,   w h i c h   i s   v a l i d a t e d   d u r i n g   c r e a t i o n   a n d   u p d a t e s ,   c o m p a r e   b e l o w   f o r   d e t a i l s   a n d   l i m i t s   o f   s u c h   a   s c h e m a .   W i t h   a p i e x t e n s i o n s . k 8 s . i o / v 1   t h e   d e f i n i t i o n   o f   a   s t r u c t u r a l   s c h e m a   i s   m a n d a t o r y   f o r   C u s t o m R e s o u r c e D e f i n i t i o n s .   I n   t h e   b e t a   v e r s i o n   o f   C u s t o m R e s o u r c e D e f i n i t i o n ,   t h e   s t r u c t u r a l   s c h e m a   w a s   o p t i o n a l .   A   s t r u c t u r a l   s c h e m a   i s   a n   O p e n A P I   v 3 . 0   v a l i d a t i o n   s c h e m a   w h i c h :   s p e c i f i e s   a   n o n - e m p t y   t y p e   ( v i a   t y p e   i n   O p e n A P I )   f o r   t h e   r o o t ,   f o r   e a c h   s p e c i f i e d   f i e l d   o f   a n   o b j e c t   n o d e   ( v i a   p r o p e r t i e s   o r   a d d i t i o n a l P r o p e r t i e s   i n   O p e n A P I )   a n d   f o r   e a c h   i t e m   i n   a n   a r r a y   n o d e   ( v i a   i t e m s   i n   O p e n A P I ) ,   w i t h   t h e   e x c e p t i o n   o f : a   n o d e   w i t h   x - k u b e r n e t e s - i n t - o r - s t r i n g :   t r u e a   n o d e   w i t h   x - k u b e r n e t e s - p r e s e r v e - u n k n o w n - f i e l d s :   t r u e f o r   e a c h   f i e l d   i n   a n   o b j e c t   a n d   e a c h   i t e m   i n   a n   a r r a y   w h i c h   i s   s p e c i f i e d   w i t h i n   a n y ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_2_15890"
  },
  {
    "question": "What is Field pruning?",
    "answer": "C u s t o m R e s o u r c e D e f i n i t i o n s   s t o r e   v a l i d a t e d   r e s o u r c e   d a t a   i n   t h e   c l u s t e r ' s   p e r s i s t e n c e   s t o r e ,   e t c d .   A s   w i t h   n a t i v e   K u b e r n e t e s   r e s o u r c e s   s u c h   a s   C o n f i g M a p ,   i f   y o u   s p e c i f y   a   f i e l d   t h a t   t h e   A P I   s e r v e r   d o e s   n o t   r e c o g n i z e ,   t h e   u n k n o w n   f i e l d   i s   p r u n e d   ( r e m o v e d )   b e f o r e   b e i n g   p e r s i s t e d .   C R D s   c o n v e r t e d   f r o m   a p i e x t e n s i o n s . k 8 s . i o / v 1 b e t a 1   t o   a p i e x t e n s i o n s . k 8 s . i o / v 1   m i g h t   l a c k   s t r u c t u r a l   s c h e m a s ,   a n d   s p e c . p r e s e r v e U n k n o w n F i e l d s   m i g h t   b e   t r u e .   F o r   l e g a c y   C u s t o m R e s o u r c e D e f i n i t i o n   o b j e c t s   c r e a t e d   a s   a p i e x t e n s i o n s . k 8 s . i o / v 1 b e t a 1   w i t h   s p e c . p r e s e r v e U n k n o w n F i e l d s   s e t   t o   t r u e ,   t h e   f o l l o w i n g   i s   a l s o   t r u e :   P r u n i n g   i s   n o t   e n a b l e d . Y o u   c a n   s t o r e   a r b i t r a r y   d a t a .   F o r   c o m p a t i b i l i t y   w i t h   a p i e x t e n s i o n s . k 8 s . i o / v 1 ,   u p d a t e   y o u r   c u s t o m   r e s o u r c e   d e f i n i t i o n s   t o :   U s e   a   s t r u c t u r a l   O p e n A P I   s c h e m a . S e t   s p e c . p r e s e r v e U n k n o w n F i e l d s   t o   f a l s e .   I f   y o u   s a v e   t h e   f o l l o w i n g   Y A M L   t o   m y - c r o n t a b . y a m l :   a p i V e r s i o n :   \" s t a b l e . e x a m p l e . c o m / v 1 \"   k i n d :   C r o n T a b   m e t a d a t a :   n a m e :   m y - n e w - c r o n - o b j e c t   s p e c :   c r o n S p e c :   \" *   *   *   *   * / 5 \"   i m a g e :   m y - a w e s o m e - c r o n - i m a g e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_3_15891"
  },
  {
    "question": "What is Controlling pruning?",
    "answer": "B y   d e f a u l t ,   a l l   u n s p e c i f i e d   f i e l d s   f o r   a   c u s t o m   r e s o u r c e ,   a c r o s s   a l l   v e r s i o n s ,   a r e   p r u n e d .   I t   i s   p o s s i b l e   t h o u g h   t o   o p t - o u t   o f   t h a t   f o r   s p e c i f i c   s u b - t r e e s   o f   f i e l d s   b y   a d d i n g   x - k u b e r n e t e s - p r e s e r v e - u n k n o w n - f i e l d s :   t r u e   i n   t h e   s t r u c t u r a l   O p e n A P I   v 3   v a l i d a t i o n   s c h e m a .   F o r   e x a m p l e :   t y p e :   o b j e c t   p r o p e r t i e s :   j s o n :   x - k u b e r n e t e s - p r e s e r v e - u n k n o w n - f i e l d s :   t r u e   T h e   f i e l d   j s o n   c a n   s t o r e   a n y   J S O N   v a l u e ,   w i t h o u t   a n y t h i n g   b e i n g   p r u n e d .   Y o u   c a n   a l s o   p a r t i a l l y   s p e c i f y   t h e   p e r m i t t e d   J S O N ;   f o r   e x a m p l e :   t y p e :   o b j e c t   p r o p e r t i e s :   j s o n :   x - k u b e r n e t e s - p r e s e r v e - u n k n o w n - f i e l d s :   t r u e   t y p e :   o b j e c t   d e s c r i p t i o n :   t h i s   i s   a r b i t r a r y   J S O N   W i t h   t h i s ,   o n l y   o b j e c t   t y p e   v a l u e s   a r e   a l l o w e d .   P r u n i n g   i s   e n a b l e d   a g a i n   f o r   e a c h   s p e c i f i e d   p r o p e r t y   ( o r   a d d i t i o n a l P r o p e r t i e s ) :   t y p e :   o b j e c t   p r o p e r t i e s :   j s o n :   x - k u b e r n e t e s - p r e s e r v e - u n k n o w n - f i e l d s :   t r u e   t y p e :   o b j e c t   p r o p e r t i e s :   s p e c :   t y p e :   o b j e c t   p r o p e r t i e s :   f o o :   t y p e :   s t r i n g   b a r :   t y p e :   s t r i n g   W i t h   t h i s ,   t h e   v a l u e :   j s o n :   s p e c :   f o o :   a b c   b a r :   d e f   s o m e t h i n g :   x   s t a t u s :   s o m e t h i n g :   x   i s   p r u n e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_4_15892"
  },
  {
    "question": "What is IntOrString?",
    "answer": "N o d e s   i n   a   s c h e m a   w i t h   x - k u b e r n e t e s - i n t - o r - s t r i n g :   t r u e   a r e   e x c l u d e d   f r o m   r u l e   1 ,   s u c h   t h a t   t h e   f o l l o w i n g   i s   s t r u c t u r a l :   t y p e :   o b j e c t   p r o p e r t i e s :   f o o :   x - k u b e r n e t e s - i n t - o r - s t r i n g :   t r u e   A l s o   t h o s e   n o d e s   a r e   p a r t i a l l y   e x c l u d e d   f r o m   r u l e   3   i n   t h e   s e n s e   t h a t   t h e   f o l l o w i n g   t w o   p a t t e r n s   a r e   a l l o w e d   ( e x a c t l y   t h o s e ,   w i t h o u t   v a r i a t i o n s   i n   o r d e r   t o   a d d i t i o n a l   f i e l d s ) :   x - k u b e r n e t e s - i n t - o r - s t r i n g :   t r u e   a n y O f :   -   t y p e :   i n t e g e r   -   t y p e :   s t r i n g   . . .   a n d   x - k u b e r n e t e s - i n t - o r - s t r i n g :   t r u e   a l l O f :   -   a n y O f :   -   t y p e :   i n t e g e r   -   t y p e :   s t r i n g   -   #   . . .   z e r o   o r   m o r e   . . .   W i t h   o n e   o f   t h o s e   s p e c i f i c a t i o n ,   b o t h   a n   i n t e g e r   a n d   a   s t r i n g   v a l i d a t e .   I n   V a l i d a t i o n   S c h e m a   P u b l i s h i n g ,   x - k u b e r n e t e s - i n t - o r - s t r i n g :   t r u e   i s   u n f o l d e d   t o   o n e   o f   t h e   t w o   p a t t e r n s   s h o w n   a b o v e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_3_15893"
  },
  {
    "question": "What is RawExtension?",
    "answer": "R a w E x t e n s i o n s   ( a s   i n   r u n t i m e . R a w E x t e n s i o n )   h o l d s   c o m p l e t e   K u b e r n e t e s   o b j e c t s ,   i . e .   w i t h   a p i V e r s i o n   a n d   k i n d   f i e l d s .   I t   i s   p o s s i b l e   t o   s p e c i f y   t h o s e   e m b e d d e d   o b j e c t s   ( b o t h   c o m p l e t e l y   w i t h o u t   c o n s t r a i n t s   o r   p a r t i a l l y   s p e c i f i e d )   b y   s e t t i n g   x - k u b e r n e t e s - e m b e d d e d - r e s o u r c e :   t r u e .   F o r   e x a m p l e :   t y p e :   o b j e c t   p r o p e r t i e s :   f o o :   x - k u b e r n e t e s - e m b e d d e d - r e s o u r c e :   t r u e   x - k u b e r n e t e s - p r e s e r v e - u n k n o w n - f i e l d s :   t r u e   H e r e ,   t h e   f i e l d   f o o   h o l d s   a   c o m p l e t e   o b j e c t ,   e . g . :   f o o :   a p i V e r s i o n :   v 1   k i n d :   P o d   s p e c :   #   . . .   B e c a u s e   x - k u b e r n e t e s - p r e s e r v e - u n k n o w n - f i e l d s :   t r u e   i s   s p e c i f i e d   a l o n g s i d e ,   n o t h i n g   i s   p r u n e d .   T h e   u s e   o f   x - k u b e r n e t e s - p r e s e r v e - u n k n o w n - f i e l d s :   t r u e   i s   o p t i o n a l   t h o u g h .   W i t h   x - k u b e r n e t e s - e m b e d d e d - r e s o u r c e :   t r u e ,   t h e   a p i V e r s i o n ,   k i n d   a n d   m e t a d a t a   a r e   i m p l i c i t l y   s p e c i f i e d   a n d   v a l i d a t e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_3_15894"
  },
  {
    "question": "What is Serving multiple versions of a CRD?",
    "answer": "S e e   C u s t o m   r e s o u r c e   d e f i n i t i o n   v e r s i o n i n g   f o r   m o r e   i n f o r m a t i o n   a b o u t   s e r v i n g   m u l t i p l e   v e r s i o n s   o f   y o u r   C u s t o m R e s o u r c e D e f i n i t i o n   a n d   m i g r a t i n g   y o u r   o b j e c t s   f r o m   o n e   v e r s i o n   t o   a n o t h e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_2_15895"
  },
  {
    "question": "What is Finalizers?",
    "answer": "F i n a l i z e r s   a l l o w   c o n t r o l l e r s   t o   i m p l e m e n t   a s y n c h r o n o u s   p r e - d e l e t e   h o o k s .   C u s t o m   o b j e c t s   s u p p o r t   f i n a l i z e r s   s i m i l a r   t o   b u i l t - i n   o b j e c t s .   Y o u   c a n   a d d   a   f i n a l i z e r   t o   a   c u s t o m   o b j e c t   l i k e   t h i s :   a p i V e r s i o n :   \" s t a b l e . e x a m p l e . c o m / v 1 \"   k i n d :   C r o n T a b   m e t a d a t a :   f i n a l i z e r s :   -   s t a b l e . e x a m p l e . c o m / f i n a l i z e r   I d e n t i f i e r s   o f   c u s t o m   f i n a l i z e r s   c o n s i s t   o f   a   d o m a i n   n a m e ,   a   f o r w a r d   s l a s h   a n d   t h e   n a m e   o f   t h e   f i n a l i z e r .   A n y   c o n t r o l l e r   c a n   a d d   a   f i n a l i z e r   t o   a n y   o b j e c t ' s   l i s t   o f   f i n a l i z e r s .   T h e   f i r s t   d e l e t e   r e q u e s t   o n   a n   o b j e c t   w i t h   f i n a l i z e r s   s e t s   a   v a l u e   f o r   t h e   m e t a d a t a . d e l e t i o n T i m e s t a m p   f i e l d   b u t   d o e s   n o t   d e l e t e   i t .   O n c e   t h i s   v a l u e   i s   s e t ,   e n t r i e s   i n   t h e   f i n a l i z e r s   l i s t   c a n   o n l y   b e   r e m o v e d .   W h i l e   a n y   f i n a l i z e r s   r e m a i n   i t   i s   a l s o   i m p o s s i b l e   t o   f o r c e   t h e   d e l e t i o n   o f   a n   o b j e c t .   W h e n   t h e   m e t a d a t a . d e l e t i o n T i m e s t a m p   f i e l d   i s   s e t ,   c o n t r o l l e r s   w a t c h i n g   t h e   o b j e c t   e x e c u t e   a n y   f i n a l i z e r s   t h e y   h a n d l e   a n d   r e m o v e   t h e   f i n a l i z e r   f r o m   t h e   l i s t   a f t e r   t h e y   a r e   d o n e .   I t   i s   t h e   r e s p o n s i b i l i t y   o f   e a c h   c o n t r o l l e r   t o   r e m o v e   i t s   f ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_3_15896"
  },
  {
    "question": "What is Validation?",
    "answer": "C u s t o m   r e s o u r c e s   a r e   v a l i d a t e d   v i a   O p e n A P I   v 3 . 0   s c h e m a s ,   b y   x - k u b e r n e t e s - v a l i d a t i o n s   w h e n   t h e   V a l i d a t i o n   R u l e s   f e a t u r e   i s   e n a b l e d ,   a n d   y o u   c a n   a d d   a d d i t i o n a l   v a l i d a t i o n   u s i n g   a d m i s s i o n   w e b h o o k s .   A d d i t i o n a l l y ,   t h e   f o l l o w i n g   r e s t r i c t i o n s   a r e   a p p l i e d   t o   t h e   s c h e m a :   T h e s e   f i e l d s   c a n n o t   b e   s e t : d e f i n i t i o n s , d e p e n d e n c i e s , d e p r e c a t e d , d i s c r i m i n a t o r , i d , p a t t e r n P r o p e r t i e s , r e a d O n l y , w r i t e O n l y , x m l , $ r e f . T h e   f i e l d   u n i q u e I t e m s   c a n n o t   b e   s e t   t o   t r u e . T h e   f i e l d   a d d i t i o n a l P r o p e r t i e s   c a n n o t   b e   s e t   t o   f a l s e . T h e   f i e l d   a d d i t i o n a l P r o p e r t i e s   i s   m u t u a l l y   e x c l u s i v e   w i t h   p r o p e r t i e s .   T h e s e   f i e l d s   c a n n o t   b e   s e t :   d e f i n i t i o n s , d e p e n d e n c i e s , d e p r e c a t e d , d i s c r i m i n a t o r , i d , p a t t e r n P r o p e r t i e s , r e a d O n l y , w r i t e O n l y , x m l , $ r e f .   T h e   f i e l d   u n i q u e I t e m s   c a n n o t   b e   s e t   t o   t r u e .   T h e   f i e l d   a d d i t i o n a l P r o p e r t i e s   c a n n o t   b e   s e t   t o   f a l s e .   T h e   f i e l d   a d d i t i o n a l P r o p e r t i e s   i s   m u t u a l l y   e x c l u s i v e   w i t h   p r o p e r t i e s .   T h e   x - k u b e r n e t e s - v a l i d a t i o n s   e x t e n s i o n   c a n   b e   u s e d   t o   v a l i d a t e   c u s t o m   r e s o u r c e s   u s i n g   C o m m o n   E x p r e s s i o n   L a n g u a g e   ( C E L )   e x p r e s s i o n s   w h e n   t h e   V a l i d ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_3_15897"
  },
  {
    "question": "What is Validation ratcheting?",
    "answer": "I f   y o u   a r e   u s i n g   a   v e r s i o n   o f   K u b e r n e t e s   o l d e r   t h a n   v 1 . 3 0 ,   y o u   n e e d   t o   e x p l i c i t l y   e n a b l e   t h e   C R D V a l i d a t i o n R a t c h e t i n g   f e a t u r e   g a t e   t o   u s e   t h i s   b e h a v i o r ,   w h i c h   t h e n   a p p l i e s   t o   a l l   C u s t o m R e s o u r c e D e f i n i t i o n s   i n   y o u r   c l u s t e r .   P r o v i d e d   y o u   e n a b l e d   t h e   f e a t u r e   g a t e ,   K u b e r n e t e s   i m p l e m e n t s   v a l i d a t i o n   r a t c h e t i n g   f o r   C u s t o m R e s o u r c e D e f i n i t i o n s .   T h e   A P I   s e r v e r   i s   w i l l i n g   t o   a c c e p t   u p d a t e s   t o   r e s o u r c e s   t h a t   a r e   n o t   v a l i d   a f t e r   t h e   u p d a t e ,   p r o v i d e d   t h a t   e a c h   p a r t   o f   t h e   r e s o u r c e   t h a t   f a i l e d   t o   v a l i d a t e   w a s   n o t   c h a n g e d   b y   t h e   u p d a t e   o p e r a t i o n .   I n   o t h e r   w o r d s ,   a n y   i n v a l i d   p a r t   o f   t h e   r e s o u r c e   t h a t   r e m a i n s   i n v a l i d   m u s t   h a v e   a l r e a d y   b e e n   w r o n g .   Y o u   c a n n o t   u s e   t h i s   m e c h a n i s m   t o   u p d a t e   a   v a l i d   r e s o u r c e   s o   t h a t   i t   b e c o m e s   i n v a l i d .   T h i s   f e a t u r e   a l l o w s   a u t h o r s   o f   C R D s   t o   c o n f i d e n t l y   a d d   n e w   v a l i d a t i o n s   t o   t h e   O p e n A P I V 3   s c h e m a   u n d e r   c e r t a i n   c o n d i t i o n s .   U s e r s   c a n   u p d a t e   t o   t h e   n e w   s c h e m a   s a f e l y   w i t h o u t   b u m p i n g   t h e   v e r s i o n   o f   t h e   o b j e c t   o r   b r e a k i n g   w o r k f l o w s .   W h i l e   m o s t   v a l i d a t i o n s   p l a c e d   i n   t h e   O p e n A P I V 3   s c h e m a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_3_15898"
  },
  {
    "question": "What is Validation rules?",
    "answer": "V a l i d a t i o n   r u l e s   u s e   t h e   C o m m o n   E x p r e s s i o n   L a n g u a g e   ( C E L )   t o   v a l i d a t e   c u s t o m   r e s o u r c e   v a l u e s .   V a l i d a t i o n   r u l e s   a r e   i n c l u d e d   i n   C u s t o m R e s o u r c e D e f i n i t i o n   s c h e m a s   u s i n g   t h e   x - k u b e r n e t e s - v a l i d a t i o n s   e x t e n s i o n .   T h e   R u l e   i s   s c o p e d   t o   t h e   l o c a t i o n   o f   t h e   x - k u b e r n e t e s - v a l i d a t i o n s   e x t e n s i o n   i n   t h e   s c h e m a .   A n d   s e l f   v a r i a b l e   i n   t h e   C E L   e x p r e s s i o n   i s   b o u n d   t o   t h e   s c o p e d   v a l u e .   A l l   v a l i d a t i o n   r u l e s   a r e   s c o p e d   t o   t h e   c u r r e n t   o b j e c t :   n o   c r o s s - o b j e c t   o r   s t a t e f u l   v a l i d a t i o n   r u l e s   a r e   s u p p o r t e d .   F o r   e x a m p l e :   #   . . .   o p e n A P I V 3 S c h e m a :   t y p e :   o b j e c t   p r o p e r t i e s :   s p e c :   t y p e :   o b j e c t   x - k u b e r n e t e s - v a l i d a t i o n s :   -   r u l e :   \" s e l f . m i n R e p l i c a s   < =   s e l f . r e p l i c a s \"   m e s s a g e :   \" r e p l i c a s   s h o u l d   b e   g r e a t e r   t h a n   o r   e q u a l   t o   m i n R e p l i c a s . \"   -   r u l e :   \" s e l f . r e p l i c a s   < =   s e l f . m a x R e p l i c a s \"   m e s s a g e :   \" r e p l i c a s   s h o u l d   b e   s m a l l e r   t h a n   o r   e q u a l   t o   m a x R e p l i c a s . \"   p r o p e r t i e s :   #   . . .   m i n R e p l i c a s :   t y p e :   i n t e g e r   r e p l i c a s :   t y p e :   i n t e g e r   m a x R e p l i c a s :   t y p e :   i n t e g e r   r e q u i r e d :   -   m i n R e p l i c a s   -   r e p l i c a s   -   m a x R e p l i c a s   w i l l   r e j e c t   a   r e q u e s t   t o   c r e a t e   t h i s   c u s t o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_3_15899"
  },
  {
    "question": "What is Note:?",
    "answer": "V a l i d a t i o n   r u l e s   a r e   c o m p i l e d   w h e n   C R D s   a r e   c r e a t e d / u p d a t e d .   T h e   r e q u e s t   o f   C R D s   c r e a t e / u p d a t e   w i l l   f a i l   i f   c o m p i l a t i o n   o f   v a l i d a t i o n   r u l e s   f a i l .   C o m p i l a t i o n   p r o c e s s   i n c l u d e s   t y p e   c h e c k i n g   a s   w e l l .   T h e   c o m p i l a t i o n   f a i l u r e :   n o _ m a t c h i n g _ o v e r l o a d :   t h i s   f u n c t i o n   h a s   n o   o v e r l o a d   f o r   t h e   t y p e s   o f   t h e   a r g u m e n t s . F o r   e x a m p l e ,   a   r u l e   l i k e   s e l f   = =   t r u e   a g a i n s t   a   f i e l d   o f   i n t e g e r   t y p e   w i l l   g e t   e r r o r : I n v a l i d   v a l u e :   a p i e x t e n s i o n s . V a l i d a t i o n R u l e { R u l e : \" s e l f   = =   t r u e \" ,   M e s s a g e : \" \" } :   c o m p i l a t i o n   f a i l e d :   E R R O R :   \\ < i n p u t > : 1 : 6 :   f o u n d   n o   m a t c h i n g   o v e r l o a d   f o r   ' _ = = _ '   a p p l i e d   t o   ' ( i n t ,   b o o l ) '   n o _ s u c h _ f i e l d :   d o e s   n o t   c o n t a i n   t h e   d e s i r e d   f i e l d . F o r   e x a m p l e ,   a   r u l e   l i k e   s e l f . n o n E x i s t i n g F i e l d   >   0   a g a i n s t   a   n o n - e x i s t i n g   f i e l d   w i l l   r e t u r n   t h e   f o l l o w i n g   e r r o r : I n v a l i d   v a l u e :   a p i e x t e n s i o n s . V a l i d a t i o n R u l e { R u l e : \" s e l f . n o n E x i s t i n g F i e l d   >   0 \" ,   M e s s a g e : \" \" } :   c o m p i l a t i o n   f a i l e d :   E R R O R :   \\ < i n p u t > : 1 : 5 :   u n d e f i n e d   f i e l d   ' n o n E x i s t i n g F i e l d '   i n v a l i d   a r g u m e n t :   i n v a l i d   a r g u m e n t   t o   m a c r o s . F o r   e x a m p l e ,   a   r u l e   l i k e   h a s ( s e l f )   w i l l   r e t u r n   e r r o r : ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_4_15900"
  },
  {
    "question": "What is The messageExpression field?",
    "answer": "S i m i l a r   t o   t h e   m e s s a g e   f i e l d ,   w h i c h   d e f i n e s   t h e   s t r i n g   r e p o r t e d   f o r   a   v a l i d a t i o n   r u l e   f a i l u r e ,   m e s s a g e E x p r e s s i o n   a l l o w s   y o u   t o   u s e   a   C E L   e x p r e s s i o n   t o   c o n s t r u c t   t h e   m e s s a g e   s t r i n g .   T h i s   a l l o w s   y o u   t o   i n s e r t   m o r e   d e s c r i p t i v e   i n f o r m a t i o n   i n t o   t h e   v a l i d a t i o n   f a i l u r e   m e s s a g e .   m e s s a g e E x p r e s s i o n   m u s t   e v a l u a t e   a   s t r i n g   a n d   m a y   u s e   t h e   s a m e   v a r i a b l e s   t h a t   a r e   a v a i l a b l e   t o   t h e   r u l e   f i e l d .   F o r   e x a m p l e :   x - k u b e r n e t e s - v a l i d a t i o n s :   -   r u l e :   \" s e l f . x   < =   s e l f . m a x L i m i t \"   m e s s a g e E x p r e s s i o n :   ' \" x   e x c e e d e d   m a x   l i m i t   o f   \"   +   s t r i n g ( s e l f . m a x L i m i t ) '   K e e p   i n   m i n d   t h a t   C E L   s t r i n g   c o n c a t e n a t i o n   ( +   o p e r a t o r )   d o e s   n o t   a u t o - c a s t   t o   s t r i n g .   I f   y o u   h a v e   a   n o n - s t r i n g   s c a l a r ,   u s e   t h e   s t r i n g ( < v a l u e > )   f u n c t i o n   t o   c a s t   t h e   s c a l a r   t o   a   s t r i n g   l i k e   s h o w n   i n   t h e   a b o v e   e x a m p l e .   m e s s a g e E x p r e s s i o n   m u s t   e v a l u a t e   t o   a   s t r i n g ,   a n d   t h i s   i s   c h e c k e d   w h i l e   t h e   C R D   i s   b e i n g   w r i t t e n .   N o t e   t h a t   i t   i s   p o s s i b l e   t o   s e t   m e s s a g e   a n d   m e s s a g e E x p r e s s i o n   o n   t h e   s a m e   r u l e ,   a n d   i f   b o t h   a r e   p r e s e n t ,   m e s s a g e E x p r e s s i o n   w i l l   b e   u s e d .   H o w e v e r ,   i f   m e s s a g e E x p ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_4_15901"
  },
  {
    "question": "What is The message field?",
    "answer": "I f   y o u   w a n t   t o   s e t   a   s t a t i c   m e s s a g e ,   y o u   c a n   s u p p l y   m e s s a g e   r a t h e r   t h a n   m e s s a g e E x p r e s s i o n .   T h e   v a l u e   o f   m e s s a g e   i s   u s e d   a s   a n   o p a q u e   e r r o r   s t r i n g   i f   v a l i d a t i o n   f a i l s .   S e t t i n g   m e s s a g e   i s   o p t i o n a l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_4_15902"
  },
  {
    "question": "What is The reason field?",
    "answer": "Y o u   c a n   a d d   a   m a c h i n e - r e a d a b l e   v a l i d a t i o n   f a i l u r e   r e a s o n   w i t h i n   a   v a l i d a t i o n ,   t o   b e   r e t u r n e d   w h e n e v e r   a   r e q u e s t   f a i l s   t h i s   v a l i d a t i o n   r u l e .   F o r   e x a m p l e :   x - k u b e r n e t e s - v a l i d a t i o n s :   -   r u l e :   \" s e l f . x   < =   s e l f . m a x L i m i t \"   r e a s o n :   \" F i e l d V a l u e I n v a l i d \"   T h e   H T T P   s t a t u s   c o d e   r e t u r n e d   t o   t h e   c a l l e r   w i l l   m a t c h   t h e   r e a s o n   o f   t h e   f i r s t   f a i l e d   v a l i d a t i o n   r u l e .   T h e   c u r r e n t l y   s u p p o r t e d   r e a s o n s   a r e :   \" F i e l d V a l u e I n v a l i d \" ,   \" F i e l d V a l u e F o r b i d d e n \" ,   \" F i e l d V a l u e R e q u i r e d \" ,   \" F i e l d V a l u e D u p l i c a t e \" .   I f   n o t   s e t   o r   u n k n o w n   r e a s o n s ,   d e f a u l t   t o   u s e   \" F i e l d V a l u e I n v a l i d \" .   S e t t i n g   r e a s o n   i s   o p t i o n a l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_4_15903"
  },
  {
    "question": "What is The fieldPath field?",
    "answer": "Y o u   c a n   s p e c i f y   t h e   f i e l d   p a t h   r e t u r n e d   w h e n   t h e   v a l i d a t i o n   f a i l s .   F o r   e x a m p l e :   x - k u b e r n e t e s - v a l i d a t i o n s :   -   r u l e :   \" s e l f . f o o . t e s t . x   < =   s e l f . m a x L i m i t \"   f i e l d P a t h :   \" . f o o . t e s t . x \"   I n   t h e   e x a m p l e   a b o v e ,   t h e   v a l i d a t i o n   c h e c k s   t h e   v a l u e   o f   f i e l d   x   s h o u l d   b e   l e s s   t h a n   t h e   v a l u e   o f   m a x L i m i t .   I f   n o   f i e l d P a t h   s p e c i f i e d ,   w h e n   v a l i d a t i o n   f a i l s ,   t h e   f i e l d P a t h   w o u l d   b e   d e f a u l t   t o   w h e r e v e r   s e l f   s c o p e d .   W i t h   f i e l d P a t h   s p e c i f i e d ,   t h e   r e t u r n e d   e r r o r   w i l l   h a v e   f i e l d P a t h   p r o p e r l y   r e f e r   t o   t h e   l o c a t i o n   o f   f i e l d   x .   T h e   f i e l d P a t h   v a l u e   m u s t   b e   a   r e l a t i v e   J S O N   p a t h   t h a t   i s   s c o p e d   t o   t h e   l o c a t i o n   o f   t h i s   x - k u b e r n e t e s - v a l i d a t i o n s   e x t e n s i o n   i n   t h e   s c h e m a .   A d d i t i o n a l l y ,   i t   s h o u l d   r e f e r   t o   a n   e x i s t i n g   f i e l d   w i t h i n   t h e   s c h e m a .   F o r   e x a m p l e   w h e n   v a l i d a t i o n   c h e c k s   i f   a   s p e c i f i c   a t t r i b u t e   f o o   u n d e r   a   m a p   t e s t M a p ,   y o u   c o u l d   s e t   f i e l d P a t h   t o   \" . t e s t M a p . f o o \"   o r   . t e s t M a p [ ' f o o ' ] ' .   I f   t h e   v a l i d a t i o n   r e q u i r e s   c h e c k i n g   f o r   u n i q u e   a t t r i b u t e s   i n   t w o   l i s t s ,   t h e   f i e l d P a t h   c a n   b e   s e t   t o   e i t h e r   o f   t h e   l i s t s .   F o r   e x a m p l e ,   i t   c a n   b e   s e t   t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_4_15904"
  },
  {
    "question": "What is The optionalOldSelf field?",
    "answer": "I f   y o u r   c l u s t e r   d o e s   n o t   h a v e   C R D   v a l i d a t i o n   r a t c h e t i n g   e n a b l e d ,   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   A P I   d o e s n ' t   i n c l u d e   t h i s   f i e l d ,   a n d   t r y i n g   t o   s e t   i t   m a y   r e s u l t   i n   a n   e r r o r .   T h e   o p t i o n a l O l d S e l f   f i e l d   i s   a   b o o l e a n   f i e l d   t h a t   a l t e r s   t h e   b e h a v i o r   o f   T r a n s i t i o n   R u l e s   d e s c r i b e d   b e l o w .   N o r m a l l y ,   a   t r a n s i t i o n   r u l e   w i l l   n o t   e v a l u a t e   i f   o l d S e l f   c a n n o t   b e   d e t e r m i n e d :   d u r i n g   o b j e c t   c r e a t i o n   o r   w h e n   a   n e w   v a l u e   i s   i n t r o d u c e d   i n   a n   u p d a t e .   I f   o p t i o n a l O l d S e l f   i s   s e t   t o   t r u e ,   t h e n   t r a n s i t i o n   r u l e s   w i l l   a l w a y s   b e   e v a l u a t e d   a n d   t h e   t y p e   o f   o l d S e l f   b e   c h a n g e d   t o   a   C E L   O p t i o n a l   t y p e .   o p t i o n a l O l d S e l f   i s   u s e f u l   i n   c a s e s   w h e r e   s c h e m a   a u t h o r s   w o u l d   l i k e   a   m o r e   c o n t r o l   t o o l   t h a n   p r o v i d e d   b y   t h e   d e f a u l t   e q u a l i t y   b a s e d   b e h a v i o r   o f   t o   i n t r o d u c e   n e w e r ,   u s u a l l y   s t r i c t e r   c o n s t r a i n t s   o n   n e w   v a l u e s ,   w h i l e   s t i l l   a l l o w i n g   o l d   v a l u e s   t o   b e   \" g r a n d f a t h e r e d \"   o r   r a t c h e t e d   u s i n g   t h e   o l d e r   v a l i d a t i o n .   E x a m p l e   U s a g e :",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_4_15905"
  },
  {
    "question": "What is Validation functions?",
    "answer": "F u n c t i o n s   a v a i l a b l e   i n c l u d e :   C E L   s t a n d a r d   f u n c t i o n s ,   d e f i n e d   i n   t h e   l i s t   o f   s t a n d a r d   d e f i n i t i o n s C E L   s t a n d a r d   m a c r o s C E L   e x t e n d e d   s t r i n g   f u n c t i o n   l i b r a r y K u b e r n e t e s   C E L   e x t e n s i o n   l i b r a r y",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_4_15906"
  },
  {
    "question": "What is Transition rules?",
    "answer": "A   r u l e   t h a t   c o n t a i n s   a n   e x p r e s s i o n   r e f e r e n c i n g   t h e   i d e n t i f i e r   o l d S e l f   i s   i m p l i c i t l y   c o n s i d e r e d   a   t r a n s i t i o n   r u l e .   T r a n s i t i o n   r u l e s   a l l o w   s c h e m a   a u t h o r s   t o   p r e v e n t   c e r t a i n   t r a n s i t i o n s   b e t w e e n   t w o   o t h e r w i s e   v a l i d   s t a t e s .   F o r   e x a m p l e :   t y p e :   s t r i n g   e n u m :   [ \" l o w \" ,   \" m e d i u m \" ,   \" h i g h \" ]   x - k u b e r n e t e s - v a l i d a t i o n s :   -   r u l e :   \" ! ( s e l f   = =   ' h i g h '   & &   o l d S e l f   = =   ' l o w ' )   & &   ! ( s e l f   = =   ' l o w '   & &   o l d S e l f   = =   ' h i g h ' ) \"   m e s s a g e :   c a n n o t   t r a n s i t i o n   d i r e c t l y   b e t w e e n   ' l o w '   a n d   ' h i g h '   U n l i k e   o t h e r   r u l e s ,   t r a n s i t i o n   r u l e s   a p p l y   o n l y   t o   o p e r a t i o n s   m e e t i n g   t h e   f o l l o w i n g   c r i t e r i a :   T h e   o p e r a t i o n   u p d a t e s   a n   e x i s t i n g   o b j e c t .   T r a n s i t i o n   r u l e s   n e v e r   a p p l y   t o   c r e a t e   o p e r a t i o n s . B o t h   a n   o l d   a n d   a   n e w   v a l u e   e x i s t .   I t   r e m a i n s   p o s s i b l e   t o   c h e c k   i f   a   v a l u e   h a s   b e e n   a d d e d   o r   r e m o v e d   b y   p l a c i n g   a   t r a n s i t i o n   r u l e   o n   t h e   p a r e n t   n o d e .   T r a n s i t i o n   r u l e s   a r e   n e v e r   a p p l i e d   t o   c u s t o m   r e s o u r c e   c r e a t i o n .   W h e n   p l a c e d   o n   a n   o p t i o n a l   f i e l d ,   a   t r a n s i t i o n   r u l e   w i l l   n o t   a p p l y   t o   u p d a t e   o p e r a t i o n s   t h a t   s e t   o r   u n s e t   t h e   f i e l d . T h e   p a t h   t o   t h e   s c h e m a   n o d e   b e i ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_4_15907"
  },
  {
    "question": "What is Resource use by validation functions?",
    "answer": "W h e n   y o u   c r e a t e   o r   u p d a t e   a   C u s t o m R e s o u r c e D e f i n i t i o n   t h a t   u s e s   v a l i d a t i o n   r u l e s ,   t h e   A P I   s e r v e r   c h e c k s   t h e   l i k e l y   i m p a c t   o f   r u n n i n g   t h o s e   v a l i d a t i o n   r u l e s .   I f   a   r u l e   i s   e s t i m a t e d   t o   b e   p r o h i b i t i v e l y   e x p e n s i v e   t o   e x e c u t e ,   t h e   A P I   s e r v e r   r e j e c t s   t h e   c r e a t e   o r   u p d a t e   o p e r a t i o n ,   a n d   r e t u r n s   a n   e r r o r   m e s s a g e .   A   s i m i l a r   s y s t e m   i s   u s e d   a t   r u n t i m e   t h a t   o b s e r v e s   t h e   a c t i o n s   t h e   i n t e r p r e t e r   t a k e s .   I f   t h e   i n t e r p r e t e r   e x e c u t e s   t o o   m a n y   i n s t r u c t i o n s ,   e x e c u t i o n   o f   t h e   r u l e   w i l l   b e   h a l t e d ,   a n d   a n   e r r o r   w i l l   r e s u l t .   E a c h   C u s t o m R e s o u r c e D e f i n i t i o n   i s   a l s o   a l l o w e d   a   c e r t a i n   a m o u n t   o f   r e s o u r c e s   t o   f i n i s h   e x e c u t i n g   a l l   o f   i t s   v a l i d a t i o n   r u l e s .   I f   t h e   s u m   t o t a l   o f   i t s   r u l e s   a r e   e s t i m a t e d   a t   c r e a t i o n   t i m e   t o   g o   o v e r   t h a t   l i m i t ,   t h e n   a   v a l i d a t i o n   e r r o r   w i l l   a l s o   o c c u r .   Y o u   a r e   u n l i k e l y   t o   e n c o u n t e r   i s s u e s   w i t h   t h e   r e s o u r c e   b u d g e t   f o r   v a l i d a t i o n   i f   y o u   o n l y   s p e c i f y   r u l e s   t h a t   a l w a y s   t a k e   t h e   s a m e   a m o u n t   o f   t i m e   r e g a r d l e s s   o f   h o w   l a r g e   t h e i r   i n p u t   i s .   F o r   e x a m p l e ,   a   r u l e   t h a t   a s s e r t s   t h a t   s e l f . f o o   = =   1   d o e s   n o t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_4_15908"
  },
  {
    "question": "What is Note:?",
    "answer": "D e f a u l t i n g   a l l o w s   t o   s p e c i f y   d e f a u l t   v a l u e s   i n   t h e   O p e n A P I   v 3   v a l i d a t i o n   s c h e m a :   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   m e t a d a t a :   n a m e :   c r o n t a b s . s t a b l e . e x a m p l e . c o m   s p e c :   g r o u p :   s t a b l e . e x a m p l e . c o m   v e r s i o n s :   -   n a m e :   v 1   s e r v e d :   t r u e   s t o r a g e :   t r u e   s c h e m a :   #   o p e n A P I V 3 S c h e m a   i s   t h e   s c h e m a   f o r   v a l i d a t i n g   c u s t o m   o b j e c t s .   o p e n A P I V 3 S c h e m a :   t y p e :   o b j e c t   p r o p e r t i e s :   s p e c :   t y p e :   o b j e c t   p r o p e r t i e s :   c r o n S p e c :   t y p e :   s t r i n g   p a t t e r n :   ' ^ ( \\ d + | \\ * ) ( / \\ d + ) ? ( \\ s + ( \\ d + | \\ * ) ( / \\ d + ) ? ) { 4 } $ '   d e f a u l t :   \" 5   0   *   *   * \"   i m a g e :   t y p e :   s t r i n g   r e p l i c a s :   t y p e :   i n t e g e r   m i n i m u m :   1   m a x i m u m :   1 0   d e f a u l t :   1   s c o p e :   N a m e s p a c e d   n a m e s :   p l u r a l :   c r o n t a b s   s i n g u l a r :   c r o n t a b   k i n d :   C r o n T a b   s h o r t N a m e s :   -   c t   W i t h   t h i s   b o t h   c r o n S p e c   a n d   r e p l i c a s   a r e   d e f a u l t e d :   a p i V e r s i o n :   \" s t a b l e . e x a m p l e . c o m / v 1 \"   k i n d :   C r o n T a b   m e t a d a t a :   n a m e :   m y - n e w - c r o n - o b j e c t   s p e c :   i m a g e :   m y - a w e s o m e - c r o n - i m a g e   l e a d s   t o   a p i V e r s i o n :   \" s t a b l e . e x a m p l e . c o m / v 1 \"   k i n d :   C r o n T a b   m e t a d a t a :   n a m e :   m y - n e w - c r o n - o b j e c t   s p e c :   c r o n S p e c :   \" 5   0   *   *   * \"   i m a g e :   m y - a w e s o m e - c r o n - i m ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_4_15909"
  },
  {
    "question": "What is Defaulting and Nullable?",
    "answer": "N u l l   v a l u e s   f o r   f i e l d s   t h a t   e i t h e r   d o n ' t   s p e c i f y   t h e   n u l l a b l e   f l a g ,   o r   g i v e   i t   a   f a l s e   v a l u e ,   w i l l   b e   p r u n e d   b e f o r e   d e f a u l t i n g   h a p p e n s .   I f   a   d e f a u l t   i s   p r e s e n t ,   i t   w i l l   b e   a p p l i e d .   W h e n   n u l l a b l e   i s   t r u e ,   n u l l   v a l u e s   w i l l   b e   c o n s e r v e d   a n d   w o n ' t   b e   d e f a u l t e d .   F o r   e x a m p l e ,   g i v e n   t h e   O p e n A P I   s c h e m a   b e l o w :   t y p e :   o b j e c t   p r o p e r t i e s :   s p e c :   t y p e :   o b j e c t   p r o p e r t i e s :   f o o :   t y p e :   s t r i n g   n u l l a b l e :   f a l s e   d e f a u l t :   \" d e f a u l t \"   b a r :   t y p e :   s t r i n g   n u l l a b l e :   t r u e   b a z :   t y p e :   s t r i n g   c r e a t i n g   a n   o b j e c t   w i t h   n u l l   v a l u e s   f o r   f o o   a n d   b a r   a n d   b a z   s p e c :   f o o :   n u l l   b a r :   n u l l   b a z :   n u l l   l e a d s   t o   s p e c :   f o o :   \" d e f a u l t \"   b a r :   n u l l   w i t h   f o o   p r u n e d   a n d   d e f a u l t e d   b e c a u s e   t h e   f i e l d   i s   n o n - n u l l a b l e ,   b a r   m a i n t a i n i n g   t h e   n u l l   v a l u e   d u e   t o   n u l l a b l e :   t r u e ,   a n d   b a z   p r u n e d   b e c a u s e   t h e   f i e l d   i s   n o n - n u l l a b l e   a n d   h a s   n o   d e f a u l t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_4_15910"
  },
  {
    "question": "What is Publish Validation Schema in OpenAPI?",
    "answer": "C u s t o m R e s o u r c e D e f i n i t i o n   O p e n A P I   v 3   v a l i d a t i o n   s c h e m a s   w h i c h   a r e   s t r u c t u r a l   a n d   e n a b l e   p r u n i n g   a r e   p u b l i s h e d   a s   O p e n A P I   v 3   a n d   O p e n A P I   v 2   f r o m   K u b e r n e t e s   A P I   s e r v e r .   I t   i s   r e c o m m e n d e d   t o   u s e   t h e   O p e n A P I   v 3   d o c u m e n t   a s   i t   i s   a   l o s s l e s s   r e p r e s e n t a t i o n   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   O p e n A P I   v 3   v a l i d a t i o n   s c h e m a   w h i l e   O p e n A P I   v 2   r e p r e s e n t s   a   l o s s y   c o n v e r s i o n .   T h e   k u b e c t l   c o m m a n d - l i n e   t o o l   c o n s u m e s   t h e   p u b l i s h e d   s c h e m a   t o   p e r f o r m   c l i e n t - s i d e   v a l i d a t i o n   ( k u b e c t l   c r e a t e   a n d   k u b e c t l   a p p l y ) ,   s c h e m a   e x p l a n a t i o n   ( k u b e c t l   e x p l a i n )   o n   c u s t o m   r e s o u r c e s .   T h e   p u b l i s h e d   s c h e m a   c a n   b e   c o n s u m e d   f o r   o t h e r   p u r p o s e s   a s   w e l l ,   l i k e   c l i e n t   g e n e r a t i o n   o r   d o c u m e n t a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_3_15911"
  },
  {
    "question": "What is Compatibility with OpenAPI V2?",
    "answer": "F o r   c o m p a t i b i l i t y   w i t h   O p e n A P I   V 2 ,   t h e   O p e n A P I   v 3   v a l i d a t i o n   s c h e m a   p e r f o r m s   a   l o s s y   c o n v e r s i o n   t o   t h e   O p e n A P I   v 2   s c h e m a .   T h e   s c h e m a   s h o w   u p   i n   d e f i n i t i o n s   a n d   p a t h s   f i e l d s   i n   t h e   O p e n A P I   v 2   s p e c .   T h e   f o l l o w i n g   m o d i f i c a t i o n s   a r e   a p p l i e d   d u r i n g   t h e   c o n v e r s i o n   t o   k e e p   b a c k w a r d s   c o m p a t i b i l i t y   w i t h   k u b e c t l   i n   p r e v i o u s   1 . 1 3   v e r s i o n .   T h e s e   m o d i f i c a t i o n s   p r e v e n t   k u b e c t l   f r o m   b e i n g   o v e r - s t r i c t   a n d   r e j e c t i n g   v a l i d   O p e n A P I   s c h e m a s   t h a t   i t   d o e s n ' t   u n d e r s t a n d .   T h e   c o n v e r s i o n   w o n ' t   m o d i f y   t h e   v a l i d a t i o n   s c h e m a   d e f i n e d   i n   C R D ,   a n d   t h e r e f o r e   w o n ' t   a f f e c t   v a l i d a t i o n   i n   t h e   A P I   s e r v e r .   T h e   f o l l o w i n g   f i e l d s   a r e   r e m o v e d   a s   t h e y   a r e n ' t   s u p p o r t e d   b y   O p e n A P I   v 2 . T h e   f i e l d s   a l l O f ,   a n y O f ,   o n e O f   a n d   n o t   a r e   r e m o v e d I f   n u l l a b l e :   t r u e   i s   s e t ,   w e   d r o p   t y p e ,   n u l l a b l e ,   i t e m s   a n d   p r o p e r t i e s   b e c a u s e   O p e n A P I   v 2   i s   n o t   a b l e   t o   e x p r e s s   n u l l a b l e .   T o   a v o i d   k u b e c t l   t o   r e j e c t   g o o d   o b j e c t s ,   t h i s   i s   n e c e s s a r y .   T h e   f o l l o w i n g   f i e l d s   a r e   r e m o v e d   a s   t h e y   a r e n ' t   s u p p o r t e d   b y   O p e n A P I   v 2 .   T h e   f i e l d s   a l l O f ,   a n y O f ,   o n e O f   a n d   n o t   a r e   r e m ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_4_15912"
  },
  {
    "question": "What is Additional printer columns?",
    "answer": "T h e   k u b e c t l   t o o l   r e l i e s   o n   s e r v e r - s i d e   o u t p u t   f o r m a t t i n g .   Y o u r   c l u s t e r ' s   A P I   s e r v e r   d e c i d e s   w h i c h   c o l u m n s   a r e   s h o w n   b y   t h e   k u b e c t l   g e t   c o m m a n d .   Y o u   c a n   c u s t o m i z e   t h e s e   c o l u m n s   f o r   a   C u s t o m R e s o u r c e D e f i n i t i o n .   T h e   f o l l o w i n g   e x a m p l e   a d d s   t h e   S p e c ,   R e p l i c a s ,   a n d   A g e   c o l u m n s .   S a v e   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   t o   r e s o u r c e d e f i n i t i o n . y a m l :   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   m e t a d a t a :   n a m e :   c r o n t a b s . s t a b l e . e x a m p l e . c o m   s p e c :   g r o u p :   s t a b l e . e x a m p l e . c o m   s c o p e :   N a m e s p a c e d   n a m e s :   p l u r a l :   c r o n t a b s   s i n g u l a r :   c r o n t a b   k i n d :   C r o n T a b   s h o r t N a m e s :   -   c t   v e r s i o n s :   -   n a m e :   v 1   s e r v e d :   t r u e   s t o r a g e :   t r u e   s c h e m a :   o p e n A P I V 3 S c h e m a :   t y p e :   o b j e c t   p r o p e r t i e s :   s p e c :   t y p e :   o b j e c t   p r o p e r t i e s :   c r o n S p e c :   t y p e :   s t r i n g   i m a g e :   t y p e :   s t r i n g   r e p l i c a s :   t y p e :   i n t e g e r   a d d i t i o n a l P r i n t e r C o l u m n s :   -   n a m e :   S p e c   t y p e :   s t r i n g   d e s c r i p t i o n :   T h e   c r o n   s p e c   d e f i n i n g   t h e   i n t e r v a l   a   C r o n J o b   i s   r u n   j s o n P a t h :   . s p e c . c r o n S p e c   -   n a m e :   R e p l i c a s   t y p e :   i n t e g e r   d e s c r i p t i o n :   T h e   n u m b e r   o f   j o b s   l a u n c h e d   b y   t h e   C r o n J o b   j s o n P a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_3_15913"
  },
  {
    "question": "What is Priority?",
    "answer": "E a c h   c o l u m n   i n c l u d e s   a   p r i o r i t y   f i e l d .   C u r r e n t l y ,   t h e   p r i o r i t y   d i f f e r e n t i a t e s   b e t w e e n   c o l u m n s   s h o w n   i n   s t a n d a r d   v i e w   o r   w i d e   v i e w   ( u s i n g   t h e   - o   w i d e   f l a g ) .   C o l u m n s   w i t h   p r i o r i t y   0   a r e   s h o w n   i n   s t a n d a r d   v i e w . C o l u m n s   w i t h   p r i o r i t y   g r e a t e r   t h a n   0   a r e   s h o w n   o n l y   i n   w i d e   v i e w .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_4_15914"
  },
  {
    "question": "What is Type?",
    "answer": "A   c o l u m n ' s   t y p e   f i e l d   c a n   b e   a n y   o f   t h e   f o l l o w i n g   ( c o m p a r e   O p e n A P I   v 3   d a t a   t y p e s ) :   i n t e g e r   –   n o n - f l o a t i n g - p o i n t   n u m b e r s n u m b e r   –   f l o a t i n g   p o i n t   n u m b e r s s t r i n g   –   s t r i n g s b o o l e a n   –   t r u e   o r   f a l s e d a t e   –   r e n d e r e d   d i f f e r e n t i a l l y   a s   t i m e   s i n c e   t h i s   t i m e s t a m p .   I f   t h e   v a l u e   i n s i d e   a   C u s t o m R e s o u r c e   d o e s   n o t   m a t c h   t h e   t y p e   s p e c i f i e d   f o r   t h e   c o l u m n ,   t h e   v a l u e   i s   o m i t t e d .   U s e   C u s t o m R e s o u r c e   v a l i d a t i o n   t o   e n s u r e   t h a t   t h e   v a l u e   t y p e s   a r e   c o r r e c t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_4_15915"
  },
  {
    "question": "What is Format?",
    "answer": "A   c o l u m n ' s   f o r m a t   f i e l d   c a n   b e   a n y   o f   t h e   f o l l o w i n g :   i n t 3 2 i n t 6 4 f l o a t d o u b l e b y t e d a t e d a t e - t i m e p a s s w o r d   T h e   c o l u m n ' s   f o r m a t   c o n t r o l s   t h e   s t y l e   u s e d   w h e n   k u b e c t l   p r i n t s   t h e   v a l u e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_4_15916"
  },
  {
    "question": "What is Field selectors?",
    "answer": "F i e l d   S e l e c t o r s   l e t   c l i e n t s   s e l e c t   c u s t o m   r e s o u r c e s   b a s e d   o n   t h e   v a l u e   o f   o n e   o r   m o r e   r e s o u r c e   f i e l d s .   A l l   c u s t o m   r e s o u r c e s   s u p p o r t   t h e   m e t a d a t a . n a m e   a n d   m e t a d a t a . n a m e s p a c e   f i e l d   s e l e c t o r s .   F i e l d s   d e c l a r e d   i n   a   C u s t o m R e s o u r c e D e f i n i t i o n   m a y   a l s o   b e   u s e d   w i t h   f i e l d   s e l e c t o r s   w h e n   i n c l u d e d   i n   t h e   s p e c . v e r s i o n s [ * ] . s e l e c t a b l e F i e l d s   f i e l d   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_3_15917"
  },
  {
    "question": "What is Selectable fields for custom resources?",
    "answer": "T h e   s p e c . v e r s i o n s [ * ] . s e l e c t a b l e F i e l d s   f i e l d   o f   a   C u s t o m R e s o u r c e D e f i n i t i o n   m a y   b e   u s e d   t o   d e c l a r e   w h i c h   o t h e r   f i e l d s   i n   a   c u s t o m   r e s o u r c e   m a y   b e   u s e d   i n   f i e l d   s e l e c t o r s   w i t h   t h e   f e a t u r e   o f   C u s t o m R e s o u r c e F i e l d S e l e c t o r s   f e a t u r e   g a t e   ( T h i s   f e a t u r e   g a t e   i s   e n a b l e d   b y   d e f a u l t   s i n c e   K u b e r n e t e s   v 1 . 3 1 ) .   T h e   f o l l o w i n g   e x a m p l e   a d d s   t h e   . s p e c . c o l o r   a n d   . s p e c . s i z e   f i e l d s   a s   s e l e c t a b l e   f i e l d s .   S a v e   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   t o   s h i r t - r e s o u r c e - d e f i n i t i o n . y a m l :   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   m e t a d a t a :   n a m e :   s h i r t s . s t a b l e . e x a m p l e . c o m   s p e c :   g r o u p :   s t a b l e . e x a m p l e . c o m   s c o p e :   N a m e s p a c e d   n a m e s :   p l u r a l :   s h i r t s   s i n g u l a r :   s h i r t   k i n d :   S h i r t   v e r s i o n s :   -   n a m e :   v 1   s e r v e d :   t r u e   s t o r a g e :   t r u e   s c h e m a :   o p e n A P I V 3 S c h e m a :   t y p e :   o b j e c t   p r o p e r t i e s :   s p e c :   t y p e :   o b j e c t   p r o p e r t i e s :   c o l o r :   t y p e :   s t r i n g   s i z e :   t y p e :   s t r i n g   s e l e c t a b l e F i e l d s :   -   j s o n P a t h :   . s p e c . c o l o r   -   j s o n P a t h :   . s p e c . s i z e   a d d i t i o n a l P r i n t e r C o l u m n s :   -   j s o n P a t h :   . s p e c . c o l o r   n a m e :   C o l o r   t y p e :   s t r i n g   -   j s o n P a t h :   . s p e c . s i z e   n a m e :   S i ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_4_15918"
  },
  {
    "question": "What is Subresources?",
    "answer": "C u s t o m   r e s o u r c e s   s u p p o r t   / s t a t u s   a n d   / s c a l e   s u b r e s o u r c e s .   T h e   s t a t u s   a n d   s c a l e   s u b r e s o u r c e s   c a n   b e   o p t i o n a l l y   e n a b l e d   b y   d e f i n i n g   t h e m   i n   t h e   C u s t o m R e s o u r c e D e f i n i t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_3_15919"
  },
  {
    "question": "What is Status subresource?",
    "answer": "W h e n   t h e   s t a t u s   s u b r e s o u r c e   i s   e n a b l e d ,   t h e   / s t a t u s   s u b r e s o u r c e   f o r   t h e   c u s t o m   r e s o u r c e   i s   e x p o s e d .   T h e   s t a t u s   a n d   t h e   s p e c   s t a n z a s   a r e   r e p r e s e n t e d   b y   t h e   . s t a t u s   a n d   . s p e c   J S O N P a t h s   r e s p e c t i v e l y   i n s i d e   o f   a   c u s t o m   r e s o u r c e . P U T   r e q u e s t s   t o   t h e   / s t a t u s   s u b r e s o u r c e   t a k e   a   c u s t o m   r e s o u r c e   o b j e c t   a n d   i g n o r e   c h a n g e s   t o   a n y t h i n g   e x c e p t   t h e   s t a t u s   s t a n z a . P U T   r e q u e s t s   t o   t h e   / s t a t u s   s u b r e s o u r c e   o n l y   v a l i d a t e   t h e   s t a t u s   s t a n z a   o f   t h e   c u s t o m   r e s o u r c e . P U T / P O S T / P A T C H   r e q u e s t s   t o   t h e   c u s t o m   r e s o u r c e   i g n o r e   c h a n g e s   t o   t h e   s t a t u s   s t a n z a . T h e   . m e t a d a t a . g e n e r a t i o n   v a l u e   i s   i n c r e m e n t e d   f o r   a l l   c h a n g e s ,   e x c e p t   f o r   c h a n g e s   t o   . m e t a d a t a   o r   . s t a t u s . O n l y   t h e   f o l l o w i n g   c o n s t r u c t s   a r e   a l l o w e d   a t   t h e   r o o t   o f   t h e   C R D   O p e n A P I   v a l i d a t i o n   s c h e m a : d e s c r i p t i o n e x a m p l e e x c l u s i v e M a x i m u m e x c l u s i v e M i n i m u m e x t e r n a l D o c s f o r m a t i t e m s m a x i m u m m a x I t e m s m a x L e n g t h m i n i m u m m i n I t e m s m i n L e n g t h m u l t i p l e O f p a t t e r n p r o p e r t i e s r e q u i r e d t i t l e t y p e u n i q u e I t e m s   T h e   s t a t u s   a n d   t h e   s p e c   s t a n z a s   a r e   r e p r e s e n t e d   b y   t h e   . s t a t u s   a n d   . s p e c   J S O N P a t h s   r e s p e c t i v e l y   i n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_4_15920"
  },
  {
    "question": "What is Scale subresource?",
    "answer": "W h e n   t h e   s c a l e   s u b r e s o u r c e   i s   e n a b l e d ,   t h e   / s c a l e   s u b r e s o u r c e   f o r   t h e   c u s t o m   r e s o u r c e   i s   e x p o s e d .   T h e   a u t o s c a l i n g / v 1 . S c a l e   o b j e c t   i s   s e n t   a s   t h e   p a y l o a d   f o r   / s c a l e .   T o   e n a b l e   t h e   s c a l e   s u b r e s o u r c e ,   t h e   f o l l o w i n g   f i e l d s   a r e   d e f i n e d   i n   t h e   C u s t o m R e s o u r c e D e f i n i t i o n .   s p e c R e p l i c a s P a t h   d e f i n e s   t h e   J S O N P a t h   i n s i d e   o f   a   c u s t o m   r e s o u r c e   t h a t   c o r r e s p o n d s   t o   s c a l e . s p e c . r e p l i c a s . I t   i s   a   r e q u i r e d   v a l u e . O n l y   J S O N P a t h s   u n d e r   . s p e c   a n d   w i t h   t h e   d o t   n o t a t i o n   a r e   a l l o w e d . I f   t h e r e   i s   n o   v a l u e   u n d e r   t h e   s p e c R e p l i c a s P a t h   i n   t h e   c u s t o m   r e s o u r c e ,   t h e   / s c a l e   s u b r e s o u r c e   w i l l   r e t u r n   a n   e r r o r   o n   G E T . s t a t u s R e p l i c a s P a t h   d e f i n e s   t h e   J S O N P a t h   i n s i d e   o f   a   c u s t o m   r e s o u r c e   t h a t   c o r r e s p o n d s   t o   s c a l e . s t a t u s . r e p l i c a s . I t   i s   a   r e q u i r e d   v a l u e . O n l y   J S O N P a t h s   u n d e r   . s t a t u s   a n d   w i t h   t h e   d o t   n o t a t i o n   a r e   a l l o w e d . I f   t h e r e   i s   n o   v a l u e   u n d e r   t h e   s t a t u s R e p l i c a s P a t h   i n   t h e   c u s t o m   r e s o u r c e ,   t h e   s t a t u s   r e p l i c a   v a l u e   i n   t h e   / s c a l e   s u b r e s o u r c e   w i l l   d e f a u l t   t o   0 . l a b e l S e l e c t o r P a t h   d e f i n e s   t h e   J S O N P a t h   i n s i d e   o f   a   c u s t o m   r e s o u r c e   t h a t   c o r r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_4_15921"
  },
  {
    "question": "What is Categories?",
    "answer": "C a t e g o r i e s   i s   a   l i s t   o f   g r o u p e d   r e s o u r c e s   t h e   c u s t o m   r e s o u r c e   b e l o n g s   t o   ( e g .   a l l ) .   Y o u   c a n   u s e   k u b e c t l   g e t   < c a t e g o r y - n a m e >   t o   l i s t   t h e   r e s o u r c e s   b e l o n g i n g   t o   t h e   c a t e g o r y .   T h e   f o l l o w i n g   e x a m p l e   a d d s   a l l   i n   t h e   l i s t   o f   c a t e g o r i e s   i n   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   a n d   i l l u s t r a t e s   h o w   t o   o u t p u t   t h e   c u s t o m   r e s o u r c e   u s i n g   k u b e c t l   g e t   a l l .   S a v e   t h e   f o l l o w i n g   C u s t o m R e s o u r c e D e f i n i t i o n   t o   r e s o u r c e d e f i n i t i o n . y a m l :   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   m e t a d a t a :   n a m e :   c r o n t a b s . s t a b l e . e x a m p l e . c o m   s p e c :   g r o u p :   s t a b l e . e x a m p l e . c o m   v e r s i o n s :   -   n a m e :   v 1   s e r v e d :   t r u e   s t o r a g e :   t r u e   s c h e m a :   o p e n A P I V 3 S c h e m a :   t y p e :   o b j e c t   p r o p e r t i e s :   s p e c :   t y p e :   o b j e c t   p r o p e r t i e s :   c r o n S p e c :   t y p e :   s t r i n g   i m a g e :   t y p e :   s t r i n g   r e p l i c a s :   t y p e :   i n t e g e r   s c o p e :   N a m e s p a c e d   n a m e s :   p l u r a l :   c r o n t a b s   s i n g u l a r :   c r o n t a b   k i n d :   C r o n T a b   s h o r t N a m e s :   -   c t   #   c a t e g o r i e s   i s   a   l i s t   o f   g r o u p e d   r e s o u r c e s   t h e   c u s t o m   r e s o u r c e   b e l o n g s   t o .   c a t e g o r i e s :   -   a l l   a n d   c r e a t e   i t :   k u b e c t l   a p p l y   - f   r e s o u r c e d e f i n i t i o n . y a m l   A f t e r   t h e   C u s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_3_15922"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   c u s t o m   r e s o u r c e s . S e e   C u s t o m R e s o u r c e D e f i n i t i o n . S e r v e   m u l t i p l e   v e r s i o n s   o f   a   C u s t o m R e s o u r c e D e f i n i t i o n .   R e a d   a b o u t   c u s t o m   r e s o u r c e s .   S e e   C u s t o m R e s o u r c e D e f i n i t i o n .   S e r v e   m u l t i p l e   v e r s i o n s   o f   a   C u s t o m R e s o u r c e D e f i n i t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/",
    "id": "k8s_00721_section_2_15923"
  },
  {
    "question": "What is ResourceSlice?",
    "answer": "ResourceSliceResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver.apiVersion: resource.k8s.io/v1import \"k8s.io/api/resource/v1\"ResourceSliceResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver.At the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple <driver name>, <pool name>, <device name>.Whenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others.When allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool.For resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available.This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.apiVersion: resource.k8s.io/v1kind: ResourceSlicemetadata (ObjectMeta)Standard object metadataspec (ResourceSliceSpec), requiredContains the information published by the driver.Changing the spec automatically increments the metadata.generation number.ResourceSliceSpecResourceSliceSpec contains the information published by the driver in one ResourceSlice.driver (string), requiredDriver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.pool (ResourcePool), requiredPool describes the pool that this ResourceSlice belongs to.ResourcePool describes the pool that ResourceSlices belong to.pool.generation (int64), requiredGeneration tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.Combined with ResourceSliceCount, this ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_qa_15924"
  },
  {
    "question": "How does ResourceSlice work?",
    "answer": "ResourceSliceResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver.apiVersion: resource.k8s.io/v1import \"k8s.io/api/resource/v1\"ResourceSliceResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver.At the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple <driver name>, <pool name>, <device name>.Whenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others.When allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool.For resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available.This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.apiVersion: resource.k8s.io/v1kind: ResourceSlicemetadata (ObjectMeta)Standard object metadataspec (ResourceSliceSpec), requiredContains the information published by the driver.Changing the spec automatically increments the metadata.generation number.ResourceSliceSpecResourceSliceSpec contains the information published by the driver in one ResourceSlice.driver (string), requiredDriver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.pool (ResourcePool), requiredPool describes the pool that this ResourceSlice belongs to.ResourcePool describes the pool that ResourceSlices belong to.pool.generation (int64), requiredGeneration tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.Combined with ResourceSliceCount, this ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_qa_15925"
  },
  {
    "question": "When would you use ResourceSlice?",
    "answer": "ResourceSliceResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver.apiVersion: resource.k8s.io/v1import \"k8s.io/api/resource/v1\"ResourceSliceResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver.At the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple <driver name>, <pool name>, <device name>.Whenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others.When allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool.For resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available.This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.apiVersion: resource.k8s.io/v1kind: ResourceSlicemetadata (ObjectMeta)Standard object metadataspec (ResourceSliceSpec), requiredContains the information published by the driver.Changing the spec automatically increments the metadata.generation number.ResourceSliceSpecResourceSliceSpec contains the information published by the driver in one ResourceSlice.driver (string), requiredDriver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.pool (ResourcePool), requiredPool describes the pool that this ResourceSlice belongs to.ResourcePool describes the pool that ResourceSlices belong to.pool.generation (int64), requiredGeneration tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.Combined with ResourceSliceCount, this ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_qa_15926"
  },
  {
    "question": "What are the benefits of ResourceSlice?",
    "answer": "ResourceSliceResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver.apiVersion: resource.k8s.io/v1import \"k8s.io/api/resource/v1\"ResourceSliceResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver.At the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple <driver name>, <pool name>, <device name>.Whenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others.When allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool.For resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available.This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.apiVersion: resource.k8s.io/v1kind: ResourceSlicemetadata (ObjectMeta)Standard object metadataspec (ResourceSliceSpec), requiredContains the information published by the driver.Changing the spec automatically increments the metadata.generation number.ResourceSliceSpecResourceSliceSpec contains the information published by the driver in one ResourceSlice.driver (string), requiredDriver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.pool (ResourcePool), requiredPool describes the pool that this ResourceSlice belongs to.ResourcePool describes the pool that ResourceSlices belong to.pool.generation (int64), requiredGeneration tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.Combined with ResourceSliceCount, this ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_qa_15927"
  },
  {
    "question": "What is ResourceSlice?",
    "answer": "a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / r e s o u r c e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_section_1_15928"
  },
  {
    "question": "What is ResourceSlice?",
    "answer": "R e s o u r c e S l i c e   r e p r e s e n t s   o n e   o r   m o r e   r e s o u r c e s   i n   a   p o o l   o f   s i m i l a r   r e s o u r c e s ,   m a n a g e d   b y   a   c o m m o n   d r i v e r .   A   p o o l   m a y   s p a n   m o r e   t h a n   o n e   R e s o u r c e S l i c e ,   a n d   e x a c t l y   h o w   m a n y   R e s o u r c e S l i c e s   c o m p r i s e   a   p o o l   i s   d e t e r m i n e d   b y   t h e   d r i v e r .   A t   t h e   m o m e n t ,   t h e   o n l y   s u p p o r t e d   r e s o u r c e s   a r e   d e v i c e s   w i t h   a t t r i b u t e s   a n d   c a p a c i t i e s .   E a c h   d e v i c e   i n   a   g i v e n   p o o l ,   r e g a r d l e s s   o f   h o w   m a n y   R e s o u r c e S l i c e s ,   m u s t   h a v e   a   u n i q u e   n a m e .   T h e   R e s o u r c e S l i c e   i n   w h i c h   a   d e v i c e   g e t s   p u b l i s h e d   m a y   c h a n g e   o v e r   t i m e .   T h e   u n i q u e   i d e n t i f i e r   f o r   a   d e v i c e   i s   t h e   t u p l e   < d r i v e r   n a m e > ,   < p o o l   n a m e > ,   < d e v i c e   n a m e > .   W h e n e v e r   a   d r i v e r   n e e d s   t o   u p d a t e   a   p o o l ,   i t   i n c r e m e n t s   t h e   p o o l . S p e c . P o o l . G e n e r a t i o n   n u m b e r   a n d   u p d a t e s   a l l   R e s o u r c e S l i c e s   w i t h   t h a t   n e w   n u m b e r   a n d   n e w   r e s o u r c e   d e f i n i t i o n s .   A   c o n s u m e r   m u s t   o n l y   u s e   R e s o u r c e S l i c e s   w i t h   t h e   h i g h e s t   g e n e r a t i o n   n u m b e r   a n d   i g n o r e   a l l   o t h e r s .   W h e n   a l l o c a t i n g   a l l   r e s o u r c e s   i n   a   p o o l   m a t c h i n g   c e r t a i n   c r i t e r i a   o r   w h e n   l o o k i n g   f o r   t h e   b e s t   s o l u t i o n   a m o n g   s e v e r a l   d i f f e r e n t   a l t e r n a t i v e s ,   a   c o n s u ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_section_2_15929"
  },
  {
    "question": "What is ResourceSliceSpec?",
    "answer": "R e s o u r c e S l i c e S p e c   c o n t a i n s   t h e   i n f o r m a t i o n   p u b l i s h e d   b y   t h e   d r i v e r   i n   o n e   R e s o u r c e S l i c e .   d r i v e r   ( s t r i n g ) ,   r e q u i r e d D r i v e r   i d e n t i f i e s   t h e   D R A   d r i v e r   p r o v i d i n g   t h e   c a p a c i t y   i n f o r m a t i o n .   A   f i e l d   s e l e c t o r   c a n   b e   u s e d   t o   l i s t   o n l y   R e s o u r c e S l i c e   o b j e c t s   w i t h   a   c e r t a i n   d r i v e r   n a m e . M u s t   b e   a   D N S   s u b d o m a i n   a n d   s h o u l d   e n d   w i t h   a   D N S   d o m a i n   o w n e d   b y   t h e   v e n d o r   o f   t h e   d r i v e r .   T h i s   f i e l d   i s   i m m u t a b l e . p o o l   ( R e s o u r c e P o o l ) ,   r e q u i r e d P o o l   d e s c r i b e s   t h e   p o o l   t h a t   t h i s   R e s o u r c e S l i c e   b e l o n g s   t o . R e s o u r c e P o o l   d e s c r i b e s   t h e   p o o l   t h a t   R e s o u r c e S l i c e s   b e l o n g   t o . p o o l . g e n e r a t i o n   ( i n t 6 4 ) ,   r e q u i r e d G e n e r a t i o n   t r a c k s   t h e   c h a n g e   i n   a   p o o l   o v e r   t i m e .   W h e n e v e r   a   d r i v e r   c h a n g e s   s o m e t h i n g   a b o u t   o n e   o r   m o r e   o f   t h e   r e s o u r c e s   i n   a   p o o l ,   i t   m u s t   c h a n g e   t h e   g e n e r a t i o n   i n   a l l   R e s o u r c e S l i c e s   w h i c h   a r e   p a r t   o f   t h a t   p o o l .   C o n s u m e r s   o f   R e s o u r c e S l i c e s   s h o u l d   o n l y   c o n s i d e r   r e s o u r c e s   f r o m   t h e   p o o l   w i t h   t h e   h i g h e s t   g e n e r a t i o n   n u m b e r .   T h e   g e n e r a t i o n   m a y   b e   r e s e t   b y   d r i v e r s ,   w h i c h   s h o u l d   b e   f i n e   f o r   c o n s u m e r s ,   a s s u m i n g   t h a t   a l l   R e s o u r c e S l i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_section_2_15930"
  },
  {
    "question": "What is ResourceSliceList?",
    "answer": "R e s o u r c e S l i c e L i s t   i s   a   c o l l e c t i o n   o f   R e s o u r c e S l i c e s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 k i n d :   R e s o u r c e S l i c e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a i t e m s   ( [ ] R e s o u r c e S l i c e ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   r e s o u r c e   R e s o u r c e S l i c e s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   R e s o u r c e S l i c e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   i t e m s   ( [ ] R e s o u r c e S l i c e ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   r e s o u r c e   R e s o u r c e S l i c e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_section_2_15931"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_section_4_15932"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e S l i c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e S l i c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_section_4_15933"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e S l i c e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_section_4_15934"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_section_4_15935"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_section_4_15936"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e S l i c e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_section_4_15937"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_section_4_15938"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   R e s o u r c e S l i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   R e s o u r c e S l i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_section_4_15939"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e S l i c e ) :   O K   2 0 1   ( R e s o u r c e S l i c e ) :   C r e a t e d   2 0 2   ( R e s o u r c e S l i c e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_section_4_15940"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_section_4_15941"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e S l i c e b o d y :   R e s o u r c e S l i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e S l i c e   b o d y :   R e s o u r c e S l i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_section_4_15942"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e S l i c e ) :   O K   2 0 1   ( R e s o u r c e S l i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_section_4_15943"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_section_4_15944"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e S l i c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e S l i c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_section_4_15945"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e S l i c e ) :   O K   2 0 1   ( R e s o u r c e S l i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_section_4_15946"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_section_4_15947"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e S l i c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e S l i c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_section_4_15948"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e S l i c e ) :   O K   2 0 2   ( R e s o u r c e S l i c e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_section_4_15949"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_section_4_15950"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_section_4_15951"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/resource-slice-v1/",
    "id": "k8s_00722_section_4_15952"
  },
  {
    "question": "What is Compute, Storage, and Networking Extensions?",
    "answer": "Compute, Storage, and Networking ExtensionsThis section covers extensions to your cluster that do not come as part as Kubernetes itself. You can use these extensions to enhance the nodes in your cluster, or to provide the network fabric that links Pods together.CSI and FlexVolume storage pluginsContainer Storage Interface (CSI) plugins provide a way to extend Kubernetes with supports for new kinds of volumes. The volumes can be backed by durable external storage, or provide ephemeral storage, or they might offer a read-only interface to information using a filesystem paradigm.Kubernetes also includes support for FlexVolume plugins, which are deprecated since Kubernetes v1.23 (in favour of CSI).FlexVolume plugins allow users to mount volume types that aren't natively supported by Kubernetes. When you run a Pod that relies on FlexVolume storage, the kubelet calls a binary plugin to mount the volume. The archived FlexVolume design proposal has more detail on this approach.The Kubernetes Volume Plugin FAQ for Storage Vendors includes general information on storage plugins.Device pluginsDevice plugins allow a node to discover new Node facilities (in addition to the built-in node resources such as cpu and memory), and provide these custom node-local facilities to Pods that request them.Network pluginsNetwork plugins allow Kubernetes to work with different networking topologies and technologies. Your Kubernetes cluster needs a network plugin in order to have a working Pod network and to support other aspects of the Kubernetes network model.Kubernetes 1.34 is compatible with CNI network plugins.",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/",
    "id": "k8s_00723_qa_15953"
  },
  {
    "question": "How does Compute, Storage, and Networking Extensions work?",
    "answer": "Compute, Storage, and Networking ExtensionsThis section covers extensions to your cluster that do not come as part as Kubernetes itself. You can use these extensions to enhance the nodes in your cluster, or to provide the network fabric that links Pods together.CSI and FlexVolume storage pluginsContainer Storage Interface (CSI) plugins provide a way to extend Kubernetes with supports for new kinds of volumes. The volumes can be backed by durable external storage, or provide ephemeral storage, or they might offer a read-only interface to information using a filesystem paradigm.Kubernetes also includes support for FlexVolume plugins, which are deprecated since Kubernetes v1.23 (in favour of CSI).FlexVolume plugins allow users to mount volume types that aren't natively supported by Kubernetes. When you run a Pod that relies on FlexVolume storage, the kubelet calls a binary plugin to mount the volume. The archived FlexVolume design proposal has more detail on this approach.The Kubernetes Volume Plugin FAQ for Storage Vendors includes general information on storage plugins.Device pluginsDevice plugins allow a node to discover new Node facilities (in addition to the built-in node resources such as cpu and memory), and provide these custom node-local facilities to Pods that request them.Network pluginsNetwork plugins allow Kubernetes to work with different networking topologies and technologies. Your Kubernetes cluster needs a network plugin in order to have a working Pod network and to support other aspects of the Kubernetes network model.Kubernetes 1.34 is compatible with CNI network plugins.",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/",
    "id": "k8s_00723_qa_15954"
  },
  {
    "question": "When would you use Compute, Storage, and Networking Extensions?",
    "answer": "Compute, Storage, and Networking ExtensionsThis section covers extensions to your cluster that do not come as part as Kubernetes itself. You can use these extensions to enhance the nodes in your cluster, or to provide the network fabric that links Pods together.CSI and FlexVolume storage pluginsContainer Storage Interface (CSI) plugins provide a way to extend Kubernetes with supports for new kinds of volumes. The volumes can be backed by durable external storage, or provide ephemeral storage, or they might offer a read-only interface to information using a filesystem paradigm.Kubernetes also includes support for FlexVolume plugins, which are deprecated since Kubernetes v1.23 (in favour of CSI).FlexVolume plugins allow users to mount volume types that aren't natively supported by Kubernetes. When you run a Pod that relies on FlexVolume storage, the kubelet calls a binary plugin to mount the volume. The archived FlexVolume design proposal has more detail on this approach.The Kubernetes Volume Plugin FAQ for Storage Vendors includes general information on storage plugins.Device pluginsDevice plugins allow a node to discover new Node facilities (in addition to the built-in node resources such as cpu and memory), and provide these custom node-local facilities to Pods that request them.Network pluginsNetwork plugins allow Kubernetes to work with different networking topologies and technologies. Your Kubernetes cluster needs a network plugin in order to have a working Pod network and to support other aspects of the Kubernetes network model.Kubernetes 1.34 is compatible with CNI network plugins.",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/",
    "id": "k8s_00723_qa_15955"
  },
  {
    "question": "What are the benefits of Compute, Storage, and Networking Extensions?",
    "answer": "Compute, Storage, and Networking ExtensionsThis section covers extensions to your cluster that do not come as part as Kubernetes itself. You can use these extensions to enhance the nodes in your cluster, or to provide the network fabric that links Pods together.CSI and FlexVolume storage pluginsContainer Storage Interface (CSI) plugins provide a way to extend Kubernetes with supports for new kinds of volumes. The volumes can be backed by durable external storage, or provide ephemeral storage, or they might offer a read-only interface to information using a filesystem paradigm.Kubernetes also includes support for FlexVolume plugins, which are deprecated since Kubernetes v1.23 (in favour of CSI).FlexVolume plugins allow users to mount volume types that aren't natively supported by Kubernetes. When you run a Pod that relies on FlexVolume storage, the kubelet calls a binary plugin to mount the volume. The archived FlexVolume design proposal has more detail on this approach.The Kubernetes Volume Plugin FAQ for Storage Vendors includes general information on storage plugins.Device pluginsDevice plugins allow a node to discover new Node facilities (in addition to the built-in node resources such as cpu and memory), and provide these custom node-local facilities to Pods that request them.Network pluginsNetwork plugins allow Kubernetes to work with different networking topologies and technologies. Your Kubernetes cluster needs a network plugin in order to have a working Pod network and to support other aspects of the Kubernetes network model.Kubernetes 1.34 is compatible with CNI network plugins.",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/",
    "id": "k8s_00723_qa_15956"
  },
  {
    "question": "What is Compute, Storage, and Networking Extensions?",
    "answer": "T h i s   s e c t i o n   c o v e r s   e x t e n s i o n s   t o   y o u r   c l u s t e r   t h a t   d o   n o t   c o m e   a s   p a r t   a s   K u b e r n e t e s   i t s e l f .   Y o u   c a n   u s e   t h e s e   e x t e n s i o n s   t o   e n h a n c e   t h e   n o d e s   i n   y o u r   c l u s t e r ,   o r   t o   p r o v i d e   t h e   n e t w o r k   f a b r i c   t h a t   l i n k s   P o d s   t o g e t h e r .   C S I   a n d   F l e x V o l u m e   s t o r a g e   p l u g i n s C o n t a i n e r   S t o r a g e   I n t e r f a c e   ( C S I )   p l u g i n s   p r o v i d e   a   w a y   t o   e x t e n d   K u b e r n e t e s   w i t h   s u p p o r t s   f o r   n e w   k i n d s   o f   v o l u m e s .   T h e   v o l u m e s   c a n   b e   b a c k e d   b y   d u r a b l e   e x t e r n a l   s t o r a g e ,   o r   p r o v i d e   e p h e m e r a l   s t o r a g e ,   o r   t h e y   m i g h t   o f f e r   a   r e a d - o n l y   i n t e r f a c e   t o   i n f o r m a t i o n   u s i n g   a   f i l e s y s t e m   p a r a d i g m . K u b e r n e t e s   a l s o   i n c l u d e s   s u p p o r t   f o r   F l e x V o l u m e   p l u g i n s ,   w h i c h   a r e   d e p r e c a t e d   s i n c e   K u b e r n e t e s   v 1 . 2 3   ( i n   f a v o u r   o f   C S I ) . F l e x V o l u m e   p l u g i n s   a l l o w   u s e r s   t o   m o u n t   v o l u m e   t y p e s   t h a t   a r e n ' t   n a t i v e l y   s u p p o r t e d   b y   K u b e r n e t e s .   W h e n   y o u   r u n   a   P o d   t h a t   r e l i e s   o n   F l e x V o l u m e   s t o r a g e ,   t h e   k u b e l e t   c a l l s   a   b i n a r y   p l u g i n   t o   m o u n t   t h e   v o l u m e .   T h e   a r c h i v e d   F l e x V o l u m e   d e s i g n   p r o p o s a l   h a s   m o r e   d e t a i l   o n   t h i s   a p p r o a c h . T h e   K u b e r n e t e s   V o l u m e   P l u g i n   F A Q   f o r   S t o r a g e   V e n d o r s   i n c l u ",
    "category": "concepts",
    "subcategory": "services-networking",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/",
    "id": "k8s_00723_section_1_15957"
  },
  {
    "question": "What is Run a Replicated Stateful Application?",
    "answer": "Run a Replicated Stateful ApplicationThis page shows how to run a replicated stateful application using a StatefulSet. This application is a replicated MySQL database. The example topology has a single primary server and multiple replicas, using asynchronous row-based replication.Note:This is not a production configuration. MySQL settings remain on insecure defaults to keep the focus on general patterns for running stateful applications in Kubernetes.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou need to either have a dynamic PersistentVolume provisioner with a default StorageClass, or statically provision PersistentVolumes yourself to satisfy the PersistentVolumeClaims used here.This tutorial assumes you are familiar with PersistentVolumes and StatefulSets, as well as other core concepts like Pods, Services, and ConfigMaps.Some familiarity with MySQL helps, but this tutorial aims to present general patterns that should be useful for other systems.You are using the default namespace or another namespace that does not contain any conflicting objects.You need to have a AMD64-compatible CPU.ObjectivesDeploy a replicated MySQL topology with a StatefulSet.Send MySQL client traffic.Observe resistance to downtime.Scale the StatefulSet up and down.Deploy MySQLThe example MySQL deployment consists of a ConfigMap, two Services, and a StatefulSet.Create a ConfigMapCreate the ConfigMap from the following YAML configuration file:application/mysql/mysql-configmap.yaml apiVersion: v1 kind: ConfigMap metadata: name: mysql labels: app: mysql app.kubernetes.io/name: mysql data: primary.cnf: | # Apply this config only on the primary. [mysqld] log-bin replica.cnf: | # Apply this config only on replicas. [mysqld] super-read-only kubectl apply -f https://k8s.io/examples/application/mysql/mysql-configmap.yaml This ConfigMap provides my.cnf overrides that let you independently control configuration on the primary MySQL server and its replicas. In this case, you want the primary server to be able to serve replication logs to replicas and you want replicas to reject any writes that don't come via replication.There's nothing special about the ConfigMap itself that causes different portions to apply to different Pods. Each Pod decides which portion to look at as it's initializing, based on information provided by the StatefulSet controller.Create ServicesCreate the Services from the following YAML configuration file:application/mysql/mysql-services.yaml # Headless service for stable DNS entries of StatefulSet members. apiVersion: v1 kind: Service metadata: name: mysql labels: app: mysq",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/",
    "id": "k8s_00724_qa_15958"
  },
  {
    "question": "How does Run a Replicated Stateful Application work?",
    "answer": "Run a Replicated Stateful ApplicationThis page shows how to run a replicated stateful application using a StatefulSet. This application is a replicated MySQL database. The example topology has a single primary server and multiple replicas, using asynchronous row-based replication.Note:This is not a production configuration. MySQL settings remain on insecure defaults to keep the focus on general patterns for running stateful applications in Kubernetes.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou need to either have a dynamic PersistentVolume provisioner with a default StorageClass, or statically provision PersistentVolumes yourself to satisfy the PersistentVolumeClaims used here.This tutorial assumes you are familiar with PersistentVolumes and StatefulSets, as well as other core concepts like Pods, Services, and ConfigMaps.Some familiarity with MySQL helps, but this tutorial aims to present general patterns that should be useful for other systems.You are using the default namespace or another namespace that does not contain any conflicting objects.You need to have a AMD64-compatible CPU.ObjectivesDeploy a replicated MySQL topology with a StatefulSet.Send MySQL client traffic.Observe resistance to downtime.Scale the StatefulSet up and down.Deploy MySQLThe example MySQL deployment consists of a ConfigMap, two Services, and a StatefulSet.Create a ConfigMapCreate the ConfigMap from the following YAML configuration file:application/mysql/mysql-configmap.yaml apiVersion: v1 kind: ConfigMap metadata: name: mysql labels: app: mysql app.kubernetes.io/name: mysql data: primary.cnf: | # Apply this config only on the primary. [mysqld] log-bin replica.cnf: | # Apply this config only on replicas. [mysqld] super-read-only kubectl apply -f https://k8s.io/examples/application/mysql/mysql-configmap.yaml This ConfigMap provides my.cnf overrides that let you independently control configuration on the primary MySQL server and its replicas. In this case, you want the primary server to be able to serve replication logs to replicas and you want replicas to reject any writes that don't come via replication.There's nothing special about the ConfigMap itself that causes different portions to apply to different Pods. Each Pod decides which portion to look at as it's initializing, based on information provided by the StatefulSet controller.Create ServicesCreate the Services from the following YAML configuration file:application/mysql/mysql-services.yaml # Headless service for stable DNS entries of StatefulSet members. apiVersion: v1 kind: Service metadata: name: mysql labels: app: mysq",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/",
    "id": "k8s_00724_qa_15959"
  },
  {
    "question": "When would you use Run a Replicated Stateful Application?",
    "answer": "Run a Replicated Stateful ApplicationThis page shows how to run a replicated stateful application using a StatefulSet. This application is a replicated MySQL database. The example topology has a single primary server and multiple replicas, using asynchronous row-based replication.Note:This is not a production configuration. MySQL settings remain on insecure defaults to keep the focus on general patterns for running stateful applications in Kubernetes.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou need to either have a dynamic PersistentVolume provisioner with a default StorageClass, or statically provision PersistentVolumes yourself to satisfy the PersistentVolumeClaims used here.This tutorial assumes you are familiar with PersistentVolumes and StatefulSets, as well as other core concepts like Pods, Services, and ConfigMaps.Some familiarity with MySQL helps, but this tutorial aims to present general patterns that should be useful for other systems.You are using the default namespace or another namespace that does not contain any conflicting objects.You need to have a AMD64-compatible CPU.ObjectivesDeploy a replicated MySQL topology with a StatefulSet.Send MySQL client traffic.Observe resistance to downtime.Scale the StatefulSet up and down.Deploy MySQLThe example MySQL deployment consists of a ConfigMap, two Services, and a StatefulSet.Create a ConfigMapCreate the ConfigMap from the following YAML configuration file:application/mysql/mysql-configmap.yaml apiVersion: v1 kind: ConfigMap metadata: name: mysql labels: app: mysql app.kubernetes.io/name: mysql data: primary.cnf: | # Apply this config only on the primary. [mysqld] log-bin replica.cnf: | # Apply this config only on replicas. [mysqld] super-read-only kubectl apply -f https://k8s.io/examples/application/mysql/mysql-configmap.yaml This ConfigMap provides my.cnf overrides that let you independently control configuration on the primary MySQL server and its replicas. In this case, you want the primary server to be able to serve replication logs to replicas and you want replicas to reject any writes that don't come via replication.There's nothing special about the ConfigMap itself that causes different portions to apply to different Pods. Each Pod decides which portion to look at as it's initializing, based on information provided by the StatefulSet controller.Create ServicesCreate the Services from the following YAML configuration file:application/mysql/mysql-services.yaml # Headless service for stable DNS entries of StatefulSet members. apiVersion: v1 kind: Service metadata: name: mysql labels: app: mysq",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/",
    "id": "k8s_00724_qa_15960"
  },
  {
    "question": "What are the benefits of Run a Replicated Stateful Application?",
    "answer": "Run a Replicated Stateful ApplicationThis page shows how to run a replicated stateful application using a StatefulSet. This application is a replicated MySQL database. The example topology has a single primary server and multiple replicas, using asynchronous row-based replication.Note:This is not a production configuration. MySQL settings remain on insecure defaults to keep the focus on general patterns for running stateful applications in Kubernetes.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou need to either have a dynamic PersistentVolume provisioner with a default StorageClass, or statically provision PersistentVolumes yourself to satisfy the PersistentVolumeClaims used here.This tutorial assumes you are familiar with PersistentVolumes and StatefulSets, as well as other core concepts like Pods, Services, and ConfigMaps.Some familiarity with MySQL helps, but this tutorial aims to present general patterns that should be useful for other systems.You are using the default namespace or another namespace that does not contain any conflicting objects.You need to have a AMD64-compatible CPU.ObjectivesDeploy a replicated MySQL topology with a StatefulSet.Send MySQL client traffic.Observe resistance to downtime.Scale the StatefulSet up and down.Deploy MySQLThe example MySQL deployment consists of a ConfigMap, two Services, and a StatefulSet.Create a ConfigMapCreate the ConfigMap from the following YAML configuration file:application/mysql/mysql-configmap.yaml apiVersion: v1 kind: ConfigMap metadata: name: mysql labels: app: mysql app.kubernetes.io/name: mysql data: primary.cnf: | # Apply this config only on the primary. [mysqld] log-bin replica.cnf: | # Apply this config only on replicas. [mysqld] super-read-only kubectl apply -f https://k8s.io/examples/application/mysql/mysql-configmap.yaml This ConfigMap provides my.cnf overrides that let you independently control configuration on the primary MySQL server and its replicas. In this case, you want the primary server to be able to serve replication logs to replicas and you want replicas to reject any writes that don't come via replication.There's nothing special about the ConfigMap itself that causes different portions to apply to different Pods. Each Pod decides which portion to look at as it's initializing, based on information provided by the StatefulSet controller.Create ServicesCreate the Services from the following YAML configuration file:application/mysql/mysql-services.yaml # Headless service for stable DNS entries of StatefulSet members. apiVersion: v1 kind: Service metadata: name: mysql labels: app: mysq",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/",
    "id": "k8s_00724_qa_15961"
  },
  {
    "question": "What is Run a Replicated Stateful Application?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   r u n   a   r e p l i c a t e d   s t a t e f u l   a p p l i c a t i o n   u s i n g   a   S t a t e f u l S e t .   T h i s   a p p l i c a t i o n   i s   a   r e p l i c a t e d   M y S Q L   d a t a b a s e .   T h e   e x a m p l e   t o p o l o g y   h a s   a   s i n g l e   p r i m a r y   s e r v e r   a n d   m u l t i p l e   r e p l i c a s ,   u s i n g   a s y n c h r o n o u s   r o w - b a s e d   r e p l i c a t i o n .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/",
    "id": "k8s_00724_section_1_15962"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u   n e e d   t o   e i t h e r   h a v e   a   d y n a m i c   P e r s i s t e n t V o l u m e   p r o v i s i o n e r   w i t h   a   d e f a u l t   S t o r a g e C l a s s ,   o r   s t a t i c a l l y   p r o v i s i o n   P e r s i s t e n t V o l u m e s   y o u r s e l f   t o   s a t i s f y   t h e   P e r s i s t e n t V o l u m e C l a i m s   u s e d   h e r e . T h i s   t u t o r i a l   a s s u m e s   y o u   a r e   f a m i l i a r   w i t h   P e r s i s t e n t V o l u m e s   a n d   S t a t e f u l S e t s ,   a s   w e l l   a s   o t h e r   c o r e   c o n c e p t s   l i k e   P o d s ,   S e r v i c e s ,   a n d   C o n f i g M a p s . S o m e   f a m i l i a r i t y   w i t h   M y S Q L   h e l p s ,   b u t   t h i s   t u t o r i a l   a i m s   t o   p r e s e n t   g e n e r a l   p a t t e r n s   t h a t   s h o u l d   b e   u s e f u l   f o r   o t h e r   s y s t e m s . Y o u   a r e   u s i n g   t h e   d e f a u l t   n a m e s p a c e   o r   a n o t h e r   n a m e s p a c e   t h a t   d o e s   n o t   c o n t a i n   a n y   c o n f l i c t i n g   o b j e c t s . Y o u   n e e d   t ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/",
    "id": "k8s_00724_section_2_15963"
  },
  {
    "question": "What is Objectives?",
    "answer": "D e p l o y   a   r e p l i c a t e d   M y S Q L   t o p o l o g y   w i t h   a   S t a t e f u l S e t . S e n d   M y S Q L   c l i e n t   t r a f f i c . O b s e r v e   r e s i s t a n c e   t o   d o w n t i m e . S c a l e   t h e   S t a t e f u l S e t   u p   a n d   d o w n .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/",
    "id": "k8s_00724_section_2_15964"
  },
  {
    "question": "What is Deploy MySQL?",
    "answer": "T h e   e x a m p l e   M y S Q L   d e p l o y m e n t   c o n s i s t s   o f   a   C o n f i g M a p ,   t w o   S e r v i c e s ,   a n d   a   S t a t e f u l S e t .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/",
    "id": "k8s_00724_section_2_15965"
  },
  {
    "question": "What is Create a ConfigMap?",
    "answer": "C r e a t e   t h e   C o n f i g M a p   f r o m   t h e   f o l l o w i n g   Y A M L   c o n f i g u r a t i o n   f i l e :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   m y s q l   l a b e l s :   a p p :   m y s q l   a p p . k u b e r n e t e s . i o / n a m e :   m y s q l   d a t a :   p r i m a r y . c n f :   |   #   A p p l y   t h i s   c o n f i g   o n l y   o n   t h e   p r i m a r y .   [ m y s q l d ]   l o g - b i n   r e p l i c a . c n f :   |   #   A p p l y   t h i s   c o n f i g   o n l y   o n   r e p l i c a s .   [ m y s q l d ]   s u p e r - r e a d - o n l y   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / m y s q l / m y s q l - c o n f i g m a p . y a m l   T h i s   C o n f i g M a p   p r o v i d e s   m y . c n f   o v e r r i d e s   t h a t   l e t   y o u   i n d e p e n d e n t l y   c o n t r o l   c o n f i g u r a t i o n   o n   t h e   p r i m a r y   M y S Q L   s e r v e r   a n d   i t s   r e p l i c a s .   I n   t h i s   c a s e ,   y o u   w a n t   t h e   p r i m a r y   s e r v e r   t o   b e   a b l e   t o   s e r v e   r e p l i c a t i o n   l o g s   t o   r e p l i c a s   a n d   y o u   w a n t   r e p l i c a s   t o   r e j e c t   a n y   w r i t e s   t h a t   d o n ' t   c o m e   v i a   r e p l i c a t i o n .   T h e r e ' s   n o t h i n g   s p e c i a l   a b o u t   t h e   C o n f i g M a p   i t s e l f   t h a t   c a u s e s   d i f f e r e n t   p o r t i o n s   t o   a p p l y   t o   d i f f e r e n t   P o d s .   E a c h   P o d   d e c i d e s   w h i c h   p o r t i o n   t o   l o o k   a t   a s   i t ' s   i n i t i a l i z i n g ,   b a s e d   o n   i n f o r m a t i o n   p r o v i d e d   b y   t h e   S t a t e f u l S e t   c o n t r o l l e r .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/",
    "id": "k8s_00724_section_3_15966"
  },
  {
    "question": "What is Create Services?",
    "answer": "C r e a t e   t h e   S e r v i c e s   f r o m   t h e   f o l l o w i n g   Y A M L   c o n f i g u r a t i o n   f i l e :   #   H e a d l e s s   s e r v i c e   f o r   s t a b l e   D N S   e n t r i e s   o f   S t a t e f u l S e t   m e m b e r s .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y s q l   l a b e l s :   a p p :   m y s q l   a p p . k u b e r n e t e s . i o / n a m e :   m y s q l   s p e c :   p o r t s :   -   n a m e :   m y s q l   p o r t :   3 3 0 6   c l u s t e r I P :   N o n e   s e l e c t o r :   a p p :   m y s q l   - - -   #   C l i e n t   s e r v i c e   f o r   c o n n e c t i n g   t o   a n y   M y S Q L   i n s t a n c e   f o r   r e a d s .   #   F o r   w r i t e s ,   y o u   m u s t   i n s t e a d   c o n n e c t   t o   t h e   p r i m a r y :   m y s q l - 0 . m y s q l .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y s q l - r e a d   l a b e l s :   a p p :   m y s q l   a p p . k u b e r n e t e s . i o / n a m e :   m y s q l   r e a d o n l y :   \" t r u e \"   s p e c :   p o r t s :   -   n a m e :   m y s q l   p o r t :   3 3 0 6   s e l e c t o r :   a p p :   m y s q l   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / m y s q l / m y s q l - s e r v i c e s . y a m l   T h e   h e a d l e s s   S e r v i c e   p r o v i d e s   a   h o m e   f o r   t h e   D N S   e n t r i e s   t h a t   t h e   S t a t e f u l S e t   c o n t r o l l e r s   c r e a t e s   f o r   e a c h   P o d   t h a t ' s   p a r t   o f   t h e   s e t .   B e c a u s e   t h e   h e a d l e s s   S e r v i c e   i s   n a m e d   m y s q l ,   t h e   P o d s   a r e   a c c e s s i b l e   b y   r e s o l v i n g   < p o d - n a m e > . m y s q l   f r o m   w i t h i n   a n y   o t h e r   P o d   i n   t h e   s a m e   K u b e r n e t e s   c l u s t e r   a n d   n ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/",
    "id": "k8s_00724_section_3_15967"
  },
  {
    "question": "What is Create the StatefulSet?",
    "answer": "F i n a l l y ,   c r e a t e   t h e   S t a t e f u l S e t   f r o m   t h e   f o l l o w i n g   Y A M L   c o n f i g u r a t i o n   f i l e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a :   n a m e :   m y s q l   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   m y s q l   a p p . k u b e r n e t e s . i o / n a m e :   m y s q l   s e r v i c e N a m e :   m y s q l   r e p l i c a s :   3   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   m y s q l   a p p . k u b e r n e t e s . i o / n a m e :   m y s q l   s p e c :   i n i t C o n t a i n e r s :   -   n a m e :   i n i t - m y s q l   i m a g e :   m y s q l : 5 . 7   c o m m a n d :   -   b a s h   -   \" - c \"   -   |   s e t   - e x   #   G e n e r a t e   m y s q l   s e r v e r - i d   f r o m   p o d   o r d i n a l   i n d e x .   [ [   $ H O S T N A M E   = ~   - ( [ 0 - 9 ] + ) $   ] ]   | |   e x i t   1   o r d i n a l = $ { B A S H _ R E M A T C H [ 1 ] }   e c h o   [ m y s q l d ]   >   / m n t / c o n f . d / s e r v e r - i d . c n f   #   A d d   a n   o f f s e t   t o   a v o i d   r e s e r v e d   s e r v e r - i d = 0   v a l u e .   e c h o   s e r v e r - i d = $ ( ( 1 0 0   +   $ o r d i n a l ) )   > >   / m n t / c o n f . d / s e r v e r - i d . c n f   #   C o p y   a p p r o p r i a t e   c o n f . d   f i l e s   f r o m   c o n f i g - m a p   t o   e m p t y D i r .   i f   [ [   $ o r d i n a l   - e q   0   ] ] ;   t h e n   c p   / m n t / c o n f i g - m a p / p r i m a r y . c n f   / m n t / c o n f . d /   e l s e   c p   / m n t / c o n f i g - m a p / r e p l i c a . c n f   / m n t / c o n f . d /   f i   v o l u m e M o u n t s :   -   n a m e :   c o n f   m o u n t P a t h :   / m n t / c o n f . d   -   n a m e :   c o n f i g - m a p   m o u n t P a t h :   / m n t / c o n f i g - m a p   -   n a m e :   c l o n e - m y s q l   i m a g e :   g c r . i o / g o o g l e - ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/",
    "id": "k8s_00724_section_3_15968"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   m a n i f e s t   u s e s   a   v a r i e t y   o f   t e c h n i q u e s   f o r   m a n a g i n g   s t a t e f u l   P o d s   a s   p a r t   o f   a   S t a t e f u l S e t .   T h e   n e x t   s e c t i o n   h i g h l i g h t s   s o m e   o f   t h e s e   t e c h n i q u e s   t o   e x p l a i n   w h a t   h a p p e n s   a s   t h e   S t a t e f u l S e t   c r e a t e s   P o d s .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/",
    "id": "k8s_00724_section_4_15969"
  },
  {
    "question": "What is Understanding stateful Pod initialization?",
    "answer": "T h e   S t a t e f u l S e t   c o n t r o l l e r   s t a r t s   P o d s   o n e   a t   a   t i m e ,   i n   o r d e r   b y   t h e i r   o r d i n a l   i n d e x .   I t   w a i t s   u n t i l   e a c h   P o d   r e p o r t s   b e i n g   R e a d y   b e f o r e   s t a r t i n g   t h e   n e x t   o n e .   I n   a d d i t i o n ,   t h e   c o n t r o l l e r   a s s i g n s   e a c h   P o d   a   u n i q u e ,   s t a b l e   n a m e   o f   t h e   f o r m   < s t a t e f u l s e t - n a m e > - < o r d i n a l - i n d e x > ,   w h i c h   r e s u l t s   i n   P o d s   n a m e d   m y s q l - 0 ,   m y s q l - 1 ,   a n d   m y s q l - 2 .   T h e   P o d   t e m p l a t e   i n   t h e   a b o v e   S t a t e f u l S e t   m a n i f e s t   t a k e s   a d v a n t a g e   o f   t h e s e   p r o p e r t i e s   t o   p e r f o r m   o r d e r l y   s t a r t u p   o f   M y S Q L   r e p l i c a t i o n .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/",
    "id": "k8s_00724_section_2_15970"
  },
  {
    "question": "What is Generating configuration?",
    "answer": "B e f o r e   s t a r t i n g   a n y   o f   t h e   c o n t a i n e r s   i n   t h e   P o d   s p e c ,   t h e   P o d   f i r s t   r u n s   a n y   i n i t   c o n t a i n e r s   i n   t h e   o r d e r   d e f i n e d .   T h e   f i r s t   i n i t   c o n t a i n e r ,   n a m e d   i n i t - m y s q l ,   g e n e r a t e s   s p e c i a l   M y S Q L   c o n f i g   f i l e s   b a s e d   o n   t h e   o r d i n a l   i n d e x .   T h e   s c r i p t   d e t e r m i n e s   i t s   o w n   o r d i n a l   i n d e x   b y   e x t r a c t i n g   i t   f r o m   t h e   e n d   o f   t h e   P o d   n a m e ,   w h i c h   i s   r e t u r n e d   b y   t h e   h o s t n a m e   c o m m a n d .   T h e n   i t   s a v e s   t h e   o r d i n a l   ( w i t h   a   n u m e r i c   o f f s e t   t o   a v o i d   r e s e r v e d   v a l u e s )   i n t o   a   f i l e   c a l l e d   s e r v e r - i d . c n f   i n   t h e   M y S Q L   c o n f . d   d i r e c t o r y .   T h i s   t r a n s l a t e s   t h e   u n i q u e ,   s t a b l e   i d e n t i t y   p r o v i d e d   b y   t h e   S t a t e f u l S e t   i n t o   t h e   d o m a i n   o f   M y S Q L   s e r v e r   I D s ,   w h i c h   r e q u i r e   t h e   s a m e   p r o p e r t i e s .   T h e   s c r i p t   i n   t h e   i n i t - m y s q l   c o n t a i n e r   a l s o   a p p l i e s   e i t h e r   p r i m a r y . c n f   o r   r e p l i c a . c n f   f r o m   t h e   C o n f i g M a p   b y   c o p y i n g   t h e   c o n t e n t s   i n t o   c o n f . d .   B e c a u s e   t h e   e x a m p l e   t o p o l o g y   c o n s i s t s   o f   a   s i n g l e   p r i m a r y   M y S Q L   s e r v e r   a n d   a n y   n u m b e r   o f   r e p l i c a s ,   t h e   s c r i p t   a s s i g n s   o r d i n a l   0   t o   b e   t h e   p r i m a r y   s e r v e r ,   a n d   e v e r y o n e   e l s e   t o   b e   r e p l i c a s .   C o m b i n e d   w i t h   t h e   S t a t e f u l S e ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/",
    "id": "k8s_00724_section_3_15971"
  },
  {
    "question": "What is Cloning existing data?",
    "answer": "I n   g e n e r a l ,   w h e n   a   n e w   P o d   j o i n s   t h e   s e t   a s   a   r e p l i c a ,   i t   m u s t   a s s u m e   t h e   p r i m a r y   M y S Q L   s e r v e r   m i g h t   a l r e a d y   h a v e   d a t a   o n   i t .   I t   a l s o   m u s t   a s s u m e   t h a t   t h e   r e p l i c a t i o n   l o g s   m i g h t   n o t   g o   a l l   t h e   w a y   b a c k   t o   t h e   b e g i n n i n g   o f   t i m e .   T h e s e   c o n s e r v a t i v e   a s s u m p t i o n s   a r e   t h e   k e y   t o   a l l o w   a   r u n n i n g   S t a t e f u l S e t   t o   s c a l e   u p   a n d   d o w n   o v e r   t i m e ,   r a t h e r   t h a n   b e i n g   f i x e d   a t   i t s   i n i t i a l   s i z e .   T h e   s e c o n d   i n i t   c o n t a i n e r ,   n a m e d   c l o n e - m y s q l ,   p e r f o r m s   a   c l o n e   o p e r a t i o n   o n   a   r e p l i c a   P o d   t h e   f i r s t   t i m e   i t   s t a r t s   u p   o n   a n   e m p t y   P e r s i s t e n t V o l u m e .   T h a t   m e a n s   i t   c o p i e s   a l l   e x i s t i n g   d a t a   f r o m   a n o t h e r   r u n n i n g   P o d ,   s o   i t s   l o c a l   s t a t e   i s   c o n s i s t e n t   e n o u g h   t o   b e g i n   r e p l i c a t i n g   f r o m   t h e   p r i m a r y   s e r v e r .   M y S Q L   i t s e l f   d o e s   n o t   p r o v i d e   a   m e c h a n i s m   t o   d o   t h i s ,   s o   t h e   e x a m p l e   u s e s   a   p o p u l a r   o p e n - s o u r c e   t o o l   c a l l e d   P e r c o n a   X t r a B a c k u p .   D u r i n g   t h e   c l o n e ,   t h e   s o u r c e   M y S Q L   s e r v e r   m i g h t   s u f f e r   r e d u c e d   p e r f o r m a n c e .   T o   m i n i m i z e   i m p a c t   o n   t h e   p r i m a r y   M y S Q L   s e r v e r ,   t h e   s c r i p t   i n s t r u c t s   e a c h   P o d   t o   c l o n e   f r o m   t h e   P o d   w h o s e   o r d i n a l   i n d e ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/",
    "id": "k8s_00724_section_3_15972"
  },
  {
    "question": "What is Starting replication?",
    "answer": "A f t e r   t h e   i n i t   c o n t a i n e r s   c o m p l e t e   s u c c e s s f u l l y ,   t h e   r e g u l a r   c o n t a i n e r s   r u n .   T h e   M y S Q L   P o d s   c o n s i s t   o f   a   m y s q l   c o n t a i n e r   t h a t   r u n s   t h e   a c t u a l   m y s q l d   s e r v e r ,   a n d   a n   x t r a b a c k u p   c o n t a i n e r   t h a t   a c t s   a s   a   s i d e c a r .   T h e   x t r a b a c k u p   s i d e c a r   l o o k s   a t   t h e   c l o n e d   d a t a   f i l e s   a n d   d e t e r m i n e s   i f   i t ' s   n e c e s s a r y   t o   i n i t i a l i z e   M y S Q L   r e p l i c a t i o n   o n   t h e   r e p l i c a .   I f   s o ,   i t   w a i t s   f o r   m y s q l d   t o   b e   r e a d y   a n d   t h e n   e x e c u t e s   t h e   C H A N G E   M A S T E R   T O   a n d   S T A R T   S L A V E   c o m m a n d s   w i t h   r e p l i c a t i o n   p a r a m e t e r s   e x t r a c t e d   f r o m   t h e   X t r a B a c k u p   c l o n e   f i l e s .   O n c e   a   r e p l i c a   b e g i n s   r e p l i c a t i o n ,   i t   r e m e m b e r s   i t s   p r i m a r y   M y S Q L   s e r v e r   a n d   r e c o n n e c t s   a u t o m a t i c a l l y   i f   t h e   s e r v e r   r e s t a r t s   o r   t h e   c o n n e c t i o n   d i e s .   A l s o ,   b e c a u s e   r e p l i c a s   l o o k   f o r   t h e   p r i m a r y   s e r v e r   a t   i t s   s t a b l e   D N S   n a m e   ( m y s q l - 0 . m y s q l ) ,   t h e y   a u t o m a t i c a l l y   f i n d   t h e   p r i m a r y   s e r v e r   e v e n   i f   i t   g e t s   a   n e w   P o d   I P   d u e   t o   b e i n g   r e s c h e d u l e d .   L a s t l y ,   a f t e r   s t a r t i n g   r e p l i c a t i o n ,   t h e   x t r a b a c k u p   c o n t a i n e r   l i s t e n s   f o r   c o n n e c t i o n s   f r o m   o t h e r   P o d s   r e q u e s t i n g   a   d a t a   c l o n e .   T h i s   s e r v e r   r e m a i n ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/",
    "id": "k8s_00724_section_3_15973"
  },
  {
    "question": "What is Sending client traffic?",
    "answer": "Y o u   c a n   s e n d   t e s t   q u e r i e s   t o   t h e   p r i m a r y   M y S Q L   s e r v e r   ( h o s t n a m e   m y s q l - 0 . m y s q l )   b y   r u n n i n g   a   t e m p o r a r y   c o n t a i n e r   w i t h   t h e   m y s q l : 5 . 7   i m a g e   a n d   r u n n i n g   t h e   m y s q l   c l i e n t   b i n a r y .   k u b e c t l   r u n   m y s q l - c l i e n t   - - i m a g e = m y s q l : 5 . 7   - i   - - r m   - - r e s t a r t = N e v e r   - - \\   m y s q l   - h   m y s q l - 0 . m y s q l   < < E O F   C R E A T E   D A T A B A S E   t e s t ;   C R E A T E   T A B L E   t e s t . m e s s a g e s   ( m e s s a g e   V A R C H A R ( 2 5 0 ) ) ;   I N S E R T   I N T O   t e s t . m e s s a g e s   V A L U E S   ( ' h e l l o ' ) ;   E O F   U s e   t h e   h o s t n a m e   m y s q l - r e a d   t o   s e n d   t e s t   q u e r i e s   t o   a n y   s e r v e r   t h a t   r e p o r t s   b e i n g   R e a d y :   k u b e c t l   r u n   m y s q l - c l i e n t   - - i m a g e = m y s q l : 5 . 7   - i   - t   - - r m   - - r e s t a r t = N e v e r   - - \\   m y s q l   - h   m y s q l - r e a d   - e   \" S E L E C T   *   F R O M   t e s t . m e s s a g e s \"   Y o u   s h o u l d   g e t   o u t p u t   l i k e   t h i s :   W a i t i n g   f o r   p o d   d e f a u l t / m y s q l - c l i e n t   t o   b e   r u n n i n g ,   s t a t u s   i s   P e n d i n g ,   p o d   r e a d y :   f a l s e   + - - - - - - - - - +   |   m e s s a g e   |   + - - - - - - - - - +   |   h e l l o   |   + - - - - - - - - - +   p o d   \" m y s q l - c l i e n t \"   d e l e t e d   T o   d e m o n s t r a t e   t h a t   t h e   m y s q l - r e a d   S e r v i c e   d i s t r i b u t e s   c o n n e c t i o n s   a c r o s s   s e r v e r s ,   y o u   c a n   r u n   S E L E C T   @ @ s e r v e r _ i d   i n   a   l o o p :   k u b e c t l   r u n   m y s q l - c l i e n t - l o o p   - - i m a g e = m y s q l : 5 . 7   - i   - t   - - r m ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/",
    "id": "k8s_00724_section_2_15974"
  },
  {
    "question": "What is Simulate Pod and Node failure?",
    "answer": "T o   d e m o n s t r a t e   t h e   i n c r e a s e d   a v a i l a b i l i t y   o f   r e a d i n g   f r o m   t h e   p o o l   o f   r e p l i c a s   i n s t e a d   o f   a   s i n g l e   s e r v e r ,   k e e p   t h e   S E L E C T   @ @ s e r v e r _ i d   l o o p   f r o m   a b o v e   r u n n i n g   w h i l e   y o u   f o r c e   a   P o d   o u t   o f   t h e   R e a d y   s t a t e .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/",
    "id": "k8s_00724_section_2_15975"
  },
  {
    "question": "What is Break the Readiness probe?",
    "answer": "T h e   r e a d i n e s s   p r o b e   f o r   t h e   m y s q l   c o n t a i n e r   r u n s   t h e   c o m m a n d   m y s q l   - h   1 2 7 . 0 . 0 . 1   - e   ' S E L E C T   1 '   t o   m a k e   s u r e   t h e   s e r v e r   i s   u p   a n d   a b l e   t o   e x e c u t e   q u e r i e s .   O n e   w a y   t o   f o r c e   t h i s   r e a d i n e s s   p r o b e   t o   f a i l   i s   t o   b r e a k   t h a t   c o m m a n d :   k u b e c t l   e x e c   m y s q l - 2   - c   m y s q l   - -   m v   / u s r / b i n / m y s q l   / u s r / b i n / m y s q l . o f f   T h i s   r e a c h e s   i n t o   t h e   a c t u a l   c o n t a i n e r ' s   f i l e s y s t e m   f o r   P o d   m y s q l - 2   a n d   r e n a m e s   t h e   m y s q l   c o m m a n d   s o   t h e   r e a d i n e s s   p r o b e   c a n ' t   f i n d   i t .   A f t e r   a   f e w   s e c o n d s ,   t h e   P o d   s h o u l d   r e p o r t   o n e   o f   i t s   c o n t a i n e r s   a s   n o t   R e a d y ,   w h i c h   y o u   c a n   c h e c k   b y   r u n n i n g :   k u b e c t l   g e t   p o d   m y s q l - 2   L o o k   f o r   1 / 2   i n   t h e   R E A D Y   c o l u m n :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   m y s q l - 2   1 / 2   R u n n i n g   0   3 m   A t   t h i s   p o i n t ,   y o u   s h o u l d   s e e   y o u r   S E L E C T   @ @ s e r v e r _ i d   l o o p   c o n t i n u e   t o   r u n ,   a l t h o u g h   i t   n e v e r   r e p o r t s   1 0 2   a n y m o r e .   R e c a l l   t h a t   t h e   i n i t - m y s q l   s c r i p t   d e f i n e d   s e r v e r - i d   a s   1 0 0   +   $ o r d i n a l ,   s o   s e r v e r   I D   1 0 2   c o r r e s p o n d s   t o   P o d   m y s q l - 2 .   N o w   r e p a i r   t h e   P o d   a n d   i t   s h o u l d   r e a p p e a r   i n   t h e   l o o p   o u t p u t   a f t e r   a   f e w   s e c o n d s :   k u b e c t l   e x e c   m y s q l - 2   - c   m y s q l   - ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/",
    "id": "k8s_00724_section_3_15976"
  },
  {
    "question": "What is Delete Pods?",
    "answer": "T h e   S t a t e f u l S e t   a l s o   r e c r e a t e s   P o d s   i f   t h e y ' r e   d e l e t e d ,   s i m i l a r   t o   w h a t   a   R e p l i c a S e t   d o e s   f o r   s t a t e l e s s   P o d s .   k u b e c t l   d e l e t e   p o d   m y s q l - 2   T h e   S t a t e f u l S e t   c o n t r o l l e r   n o t i c e s   t h a t   n o   m y s q l - 2   P o d   e x i s t s   a n y m o r e ,   a n d   c r e a t e s   a   n e w   o n e   w i t h   t h e   s a m e   n a m e   a n d   l i n k e d   t o   t h e   s a m e   P e r s i s t e n t V o l u m e C l a i m .   Y o u   s h o u l d   s e e   s e r v e r   I D   1 0 2   d i s a p p e a r   f r o m   t h e   l o o p   o u t p u t   f o r   a   w h i l e   a n d   t h e n   r e t u r n   o n   i t s   o w n .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/",
    "id": "k8s_00724_section_3_15977"
  },
  {
    "question": "What is Drain a Node?",
    "answer": "I f   y o u r   K u b e r n e t e s   c l u s t e r   h a s   m u l t i p l e   N o d e s ,   y o u   c a n   s i m u l a t e   N o d e   d o w n t i m e   ( s u c h   a s   w h e n   N o d e s   a r e   u p g r a d e d )   b y   i s s u i n g   a   d r a i n .   F i r s t   d e t e r m i n e   w h i c h   N o d e   o n e   o f   t h e   M y S Q L   P o d s   i s   o n :   k u b e c t l   g e t   p o d   m y s q l - 2   - o   w i d e   T h e   N o d e   n a m e   s h o u l d   s h o w   u p   i n   t h e   l a s t   c o l u m n :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   m y s q l - 2   2 / 2   R u n n i n g   0   1 5 m   1 0 . 2 4 4 . 5 . 2 7   k u b e r n e t e s - n o d e - 9 l 2 t   T h e n ,   d r a i n   t h e   N o d e   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d ,   w h i c h   c o r d o n s   i t   s o   n o   n e w   P o d s   m a y   s c h e d u l e   t h e r e ,   a n d   t h e n   e v i c t s   a n y   e x i s t i n g   P o d s .   R e p l a c e   < n o d e - n a m e >   w i t h   t h e   n a m e   o f   t h e   N o d e   y o u   f o u n d   i n   t h e   l a s t   s t e p .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/",
    "id": "k8s_00724_section_3_15978"
  },
  {
    "question": "What is Caution:?",
    "answer": "#   S e e   a b o v e   a d v i c e   a b o u t   i m p a c t   o n   o t h e r   w o r k l o a d s   k u b e c t l   d r a i n   < n o d e - n a m e >   - - f o r c e   - - d e l e t e - e m p t y d i r - d a t a   - - i g n o r e - d a e m o n s e t s   N o w   y o u   c a n   w a t c h   a s   t h e   P o d   r e s c h e d u l e s   o n   a   d i f f e r e n t   N o d e :   k u b e c t l   g e t   p o d   m y s q l - 2   - o   w i d e   - - w a t c h   I t   s h o u l d   l o o k   s o m e t h i n g   l i k e   t h i s :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   m y s q l - 2   2 / 2   T e r m i n a t i n g   0   1 5 m   1 0 . 2 4 4 . 1 . 5 6   k u b e r n e t e s - n o d e - 9 l 2 t   [ . . . ]   m y s q l - 2   0 / 2   P e n d i n g   0   0 s   < n o n e >   k u b e r n e t e s - n o d e - f j l m   m y s q l - 2   0 / 2   I n i t : 0 / 2   0   0 s   < n o n e >   k u b e r n e t e s - n o d e - f j l m   m y s q l - 2   0 / 2   I n i t : 1 / 2   0   2 0 s   1 0 . 2 4 4 . 5 . 3 2   k u b e r n e t e s - n o d e - f j l m   m y s q l - 2   0 / 2   P o d I n i t i a l i z i n g   0   2 1 s   1 0 . 2 4 4 . 5 . 3 2   k u b e r n e t e s - n o d e - f j l m   m y s q l - 2   1 / 2   R u n n i n g   0   2 2 s   1 0 . 2 4 4 . 5 . 3 2   k u b e r n e t e s - n o d e - f j l m   m y s q l - 2   2 / 2   R u n n i n g   0   3 0 s   1 0 . 2 4 4 . 5 . 3 2   k u b e r n e t e s - n o d e - f j l m   A n d   a g a i n ,   y o u   s h o u l d   s e e   s e r v e r   I D   1 0 2   d i s a p p e a r   f r o m   t h e   S E L E C T   @ @ s e r v e r _ i d   l o o p   o u t p u t   f o r   a   w h i l e   a n d   t h e n   r e t u r n .   N o w   u n c o r d o n   t h e   N o d e   t o   r e t u r n   i t   t o   a   n o r m a l   s t a t e :   k u b e c t l   u n c o r d o n   < n o d e - n a m e >",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/",
    "id": "k8s_00724_section_4_15979"
  },
  {
    "question": "What is Scaling the number of replicas?",
    "answer": "W h e n   y o u   u s e   M y S Q L   r e p l i c a t i o n ,   y o u   c a n   s c a l e   y o u r   r e a d   q u e r y   c a p a c i t y   b y   a d d i n g   r e p l i c a s .   F o r   a   S t a t e f u l S e t ,   y o u   c a n   a c h i e v e   t h i s   w i t h   a   s i n g l e   c o m m a n d :   k u b e c t l   s c a l e   s t a t e f u l s e t   m y s q l   - - r e p l i c a s = 5   W a t c h   t h e   n e w   P o d s   c o m e   u p   b y   r u n n i n g :   k u b e c t l   g e t   p o d s   - l   a p p = m y s q l   - - w a t c h   O n c e   t h e y ' r e   u p ,   y o u   s h o u l d   s e e   s e r v e r   I D s   1 0 3   a n d   1 0 4   s t a r t   a p p e a r i n g   i n   t h e   S E L E C T   @ @ s e r v e r _ i d   l o o p   o u t p u t .   Y o u   c a n   a l s o   v e r i f y   t h a t   t h e s e   n e w   s e r v e r s   h a v e   t h e   d a t a   y o u   a d d e d   b e f o r e   t h e y   e x i s t e d :   k u b e c t l   r u n   m y s q l - c l i e n t   - - i m a g e = m y s q l : 5 . 7   - i   - t   - - r m   - - r e s t a r t = N e v e r   - - \\   m y s q l   - h   m y s q l - 3 . m y s q l   - e   \" S E L E C T   *   F R O M   t e s t . m e s s a g e s \"   W a i t i n g   f o r   p o d   d e f a u l t / m y s q l - c l i e n t   t o   b e   r u n n i n g ,   s t a t u s   i s   P e n d i n g ,   p o d   r e a d y :   f a l s e   + - - - - - - - - - +   |   m e s s a g e   |   + - - - - - - - - - +   |   h e l l o   |   + - - - - - - - - - +   p o d   \" m y s q l - c l i e n t \"   d e l e t e d   S c a l i n g   b a c k   d o w n   i s   a l s o   s e a m l e s s :   k u b e c t l   s c a l e   s t a t e f u l s e t   m y s q l   - - r e p l i c a s = 3",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/",
    "id": "k8s_00724_section_2_15980"
  },
  {
    "question": "What is Note:?",
    "answer": "A l t h o u g h   s c a l i n g   u p   c r e a t e s   n e w   P e r s i s t e n t V o l u m e C l a i m s   a u t o m a t i c a l l y ,   s c a l i n g   d o w n   d o e s   n o t   a u t o m a t i c a l l y   d e l e t e   t h e s e   P V C s .   T h i s   g i v e s   y o u   t h e   c h o i c e   t o   k e e p   t h o s e   i n i t i a l i z e d   P V C s   a r o u n d   t o   m a k e   s c a l i n g   b a c k   u p   q u i c k e r ,   o r   t o   e x t r a c t   d a t a   b e f o r e   d e l e t i n g   t h e m .   Y o u   c a n   s e e   t h i s   b y   r u n n i n g :   k u b e c t l   g e t   p v c   - l   a p p = m y s q l   W h i c h   s h o w s   t h a t   a l l   5   P V C s   s t i l l   e x i s t ,   d e s p i t e   h a v i n g   s c a l e d   t h e   S t a t e f u l S e t   d o w n   t o   3 :   N A M E   S T A T U S   V O L U M E   C A P A C I T Y   A C C E S S M O D E S   A G E   d a t a - m y s q l - 0   B o u n d   p v c - 8 a c b f 5 d c - b 1 0 3 - 1 1 e 6 - 9 3 f a - 4 2 0 1 0 a 8 0 0 0 0 2   1 0 G i   R W O   2 0 m   d a t a - m y s q l - 1   B o u n d   p v c - 8 a d 3 9 8 2 0 - b 1 0 3 - 1 1 e 6 - 9 3 f a - 4 2 0 1 0 a 8 0 0 0 0 2   1 0 G i   R W O   2 0 m   d a t a - m y s q l - 2   B o u n d   p v c - 8 a d 6 9 a 6 d - b 1 0 3 - 1 1 e 6 - 9 3 f a - 4 2 0 1 0 a 8 0 0 0 0 2   1 0 G i   R W O   2 0 m   d a t a - m y s q l - 3   B o u n d   p v c - 5 0 0 4 3 c 4 5 - b 1 c 5 - 1 1 e 6 - 9 3 f a - 4 2 0 1 0 a 8 0 0 0 0 2   1 0 G i   R W O   2 m   d a t a - m y s q l - 4   B o u n d   p v c - 5 0 0 a 9 9 5 7 - b 1 c 5 - 1 1 e 6 - 9 3 f a - 4 2 0 1 0 a 8 0 0 0 0 2   1 0 G i   R W O   2 m   I f   y o u   d o n ' t   i n t e n d   t o   r e u s e   t h e   e x t r a   P V C s ,   y o u   c a n   d e l e t e   t h e m :   k u b e c t l   d e l e t e   p v c   d a t a - m y s q l - 3   k u b e c t l   d e l e t e   p v c   d a t a - m y s q l - 4",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/",
    "id": "k8s_00724_section_4_15981"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "C a n c e l   t h e   S E L E C T   @ @ s e r v e r _ i d   l o o p   b y   p r e s s i n g   C t r l + C   i n   i t s   t e r m i n a l ,   o r   r u n n i n g   t h e   f o l l o w i n g   f r o m   a n o t h e r   t e r m i n a l : k u b e c t l   d e l e t e   p o d   m y s q l - c l i e n t - l o o p   - - n o w   D e l e t e   t h e   S t a t e f u l S e t .   T h i s   a l s o   b e g i n s   t e r m i n a t i n g   t h e   P o d s . k u b e c t l   d e l e t e   s t a t e f u l s e t   m y s q l   V e r i f y   t h a t   t h e   P o d s   d i s a p p e a r .   T h e y   m i g h t   t a k e   s o m e   t i m e   t o   f i n i s h   t e r m i n a t i n g . k u b e c t l   g e t   p o d s   - l   a p p = m y s q l   Y o u ' l l   k n o w   t h e   P o d s   h a v e   t e r m i n a t e d   w h e n   t h e   a b o v e   r e t u r n s : N o   r e s o u r c e s   f o u n d .   D e l e t e   t h e   C o n f i g M a p ,   S e r v i c e s ,   a n d   P e r s i s t e n t V o l u m e C l a i m s . k u b e c t l   d e l e t e   c o n f i g m a p , s e r v i c e , p v c   - l   a p p = m y s q l   I f   y o u   m a n u a l l y   p r o v i s i o n e d   P e r s i s t e n t V o l u m e s ,   y o u   a l s o   n e e d   t o   m a n u a l l y   d e l e t e   t h e m ,   a s   w e l l   a s   r e l e a s e   t h e   u n d e r l y i n g   r e s o u r c e s .   I f   y o u   u s e d   a   d y n a m i c   p r o v i s i o n e r ,   i t   a u t o m a t i c a l l y   d e l e t e s   t h e   P e r s i s t e n t V o l u m e s   w h e n   i t   s e e s   t h a t   y o u   d e l e t e d   t h e   P e r s i s t e n t V o l u m e C l a i m s .   S o m e   d y n a m i c   p r o v i s i o n e r s   ( s u c h   a s   t h o s e   f o r   E B S   a n d   P D )   a l s o   r e l e a s e   t h e   u n d e r l y i n g   r e s o u r c e s   u p o n   d e l e t i n g   t h e   P e r s i s t e n t V o l u m e s .   C a n c e l   t h e   S E L E C T   @ @ s e r v e r _ i d   l o o p   b y   p r e s ",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/",
    "id": "k8s_00724_section_2_15982"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   s c a l i n g   a   S t a t e f u l S e t . L e a r n   m o r e   a b o u t   d e b u g g i n g   a   S t a t e f u l S e t . L e a r n   m o r e   a b o u t   d e l e t i n g   a   S t a t e f u l S e t . L e a r n   m o r e   a b o u t   f o r c e   d e l e t i n g   S t a t e f u l S e t   P o d s . L o o k   i n   t h e   H e l m   C h a r t s   r e p o s i t o r y   f o r   o t h e r   s t a t e f u l   a p p l i c a t i o n   e x a m p l e s .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/",
    "id": "k8s_00724_section_2_15983"
  },
  {
    "question": "What is Kubectl user preferences (kuberc)?",
    "answer": "Kubectl user preferences (kuberc)FEATURE STATE: Kubernetes 1.34 [beta]A Kubernetes kuberc configuration file allows you to define preferences for kubectl, such as default options and command aliases. Unlike the kubeconfig file, a kuberc configuration file does not contain cluster details, usernames or passwords.The default location of this configuration file is $HOME/.kube/kuberc. To provide kubectl with a path to a custom kuberc file, use the --kuberc command line option, or set the KUBERC environment variable.A kuberc using the kubectl.config.k8s.io/v1beta1 format allows you to define two types of user preferences:Aliases - allow you to create shorter versions of your favorite commands, optionally setting options and arguments.Defaults - allow you to configure default option values for your favorite commands.aliasesWithin a kuberc configuration, the aliases section allows you to define custom shortcuts for kubectl commands, optionally with preset command line arguments and flags.This",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kuberc/",
    "id": "k8s_00725_qa_15984"
  },
  {
    "question": "How does Kubectl user preferences (kuberc) work?",
    "answer": "Kubectl user preferences (kuberc)FEATURE STATE: Kubernetes 1.34 [beta]A Kubernetes kuberc configuration file allows you to define preferences for kubectl, such as default options and command aliases. Unlike the kubeconfig file, a kuberc configuration file does not contain cluster details, usernames or passwords.The default location of this configuration file is $HOME/.kube/kuberc. To provide kubectl with a path to a custom kuberc file, use the --kuberc command line option, or set the KUBERC environment variable.A kuberc using the kubectl.config.k8s.io/v1beta1 format allows you to define two types of user preferences:Aliases - allow you to create shorter versions of your favorite commands, optionally setting options and arguments.Defaults - allow you to configure default option values for your favorite commands.aliasesWithin a kuberc configuration, the aliases section allows you to define custom shortcuts for kubectl commands, optionally with preset command line arguments and flags.This",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kuberc/",
    "id": "k8s_00725_qa_15985"
  },
  {
    "question": "When would you use Kubectl user preferences (kuberc)?",
    "answer": "Kubectl user preferences (kuberc)FEATURE STATE: Kubernetes 1.34 [beta]A Kubernetes kuberc configuration file allows you to define preferences for kubectl, such as default options and command aliases. Unlike the kubeconfig file, a kuberc configuration file does not contain cluster details, usernames or passwords.The default location of this configuration file is $HOME/.kube/kuberc. To provide kubectl with a path to a custom kuberc file, use the --kuberc command line option, or set the KUBERC environment variable.A kuberc using the kubectl.config.k8s.io/v1beta1 format allows you to define two types of user preferences:Aliases - allow you to create shorter versions of your favorite commands, optionally setting options and arguments.Defaults - allow you to configure default option values for your favorite commands.aliasesWithin a kuberc configuration, the aliases section allows you to define custom shortcuts for kubectl commands, optionally with preset command line arguments and flags.This",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kuberc/",
    "id": "k8s_00725_qa_15986"
  },
  {
    "question": "What are the benefits of Kubectl user preferences (kuberc)?",
    "answer": "Kubectl user preferences (kuberc)FEATURE STATE: Kubernetes 1.34 [beta]A Kubernetes kuberc configuration file allows you to define preferences for kubectl, such as default options and command aliases. Unlike the kubeconfig file, a kuberc configuration file does not contain cluster details, usernames or passwords.The default location of this configuration file is $HOME/.kube/kuberc. To provide kubectl with a path to a custom kuberc file, use the --kuberc command line option, or set the KUBERC environment variable.A kuberc using the kubectl.config.k8s.io/v1beta1 format allows you to define two types of user preferences:Aliases - allow you to create shorter versions of your favorite commands, optionally setting options and arguments.Defaults - allow you to configure default option values for your favorite commands.aliasesWithin a kuberc configuration, the aliases section allows you to define custom shortcuts for kubectl commands, optionally with preset command line arguments and flags.This",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kuberc/",
    "id": "k8s_00725_qa_15987"
  },
  {
    "question": "What is Kubectl user preferences (kuberc)?",
    "answer": "A   K u b e r n e t e s   k u b e r c   c o n f i g u r a t i o n   f i l e   a l l o w s   y o u   t o   d e f i n e   p r e f e r e n c e s   f o r   k u b e c t l ,   s u c h   a s   d e f a u l t   o p t i o n s   a n d   c o m m a n d   a l i a s e s .   U n l i k e   t h e   k u b e c o n f i g   f i l e ,   a   k u b e r c   c o n f i g u r a t i o n   f i l e   d o e s   n o t   c o n t a i n   c l u s t e r   d e t a i l s ,   u s e r n a m e s   o r   p a s s w o r d s .   T h e   d e f a u l t   l o c a t i o n   o f   t h i s   c o n f i g u r a t i o n   f i l e   i s   $ H O M E / . k u b e / k u b e r c .   T o   p r o v i d e   k u b e c t l   w i t h   a   p a t h   t o   a   c u s t o m   k u b e r c   f i l e ,   u s e   t h e   - - k u b e r c   c o m m a n d   l i n e   o p t i o n ,   o r   s e t   t h e   K U B E R C   e n v i r o n m e n t   v a r i a b l e .   A   k u b e r c   u s i n g   t h e   k u b e c t l . c o n f i g . k 8 s . i o / v 1 b e t a 1   f o r m a t   a l l o w s   y o u   t o   d e f i n e   t w o   t y p e s   o f   u s e r   p r e f e r e n c e s :   A l i a s e s   -   a l l o w   y o u   t o   c r e a t e   s h o r t e r   v e r s i o n s   o f   y o u r   f a v o r i t e   c o m m a n d s ,   o p t i o n a l l y   s e t t i n g   o p t i o n s   a n d   a r g u m e n t s . D e f a u l t s   -   a l l o w   y o u   t o   c o n f i g u r e   d e f a u l t   o p t i o n   v a l u e s   f o r   y o u r   f a v o r i t e   c o m m a n d s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kuberc/",
    "id": "k8s_00725_section_1_15988"
  },
  {
    "question": "What is aliases?",
    "answer": "W i t h i n   a   k u b e r c   c o n f i g u r a t i o n ,   t h e   a l i a s e s   s e c t i o n   a l l o w s   y o u   t o   d e f i n e   c u s t o m   s h o r t c u t s   f o r   k u b e c t l   c o m m a n d s ,   o p t i o n a l l y   w i t h   p r e s e t   c o m m a n d   l i n e   a r g u m e n t s   a n d   f l a g s .   T h i s   n e x t   e x a m p l e   d e f i n e s   a   k u b e c t l   g e t n   a l i a s   f o r   t h e   k u b e c t l   g e t   s u b c o m m a n d ,   a d d i t i o n a l l y   s p e c i f y i n g   J S O N   o u t p u t   f o r m a t :   - - o u t p u t = j s o n .   a p i V e r s i o n :   k u b e c t l . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   P r e f e r e n c e   a l i a s e s :   -   n a m e :   g e t n   c o m m a n d :   g e t   o p t i o n s :   -   n a m e :   o u t p u t   d e f a u l t :   j s o n   I n   t h i s   e x a m p l e ,   t h e   f o l l o w i n g   s e t t i n g s   w e r e   u s e d :   n a m e   -   A l i a s   n a m e   m u s t   n o t   c o l l i d e   w i t h   t h e   b u i l t - i n   c o m m a n d s . c o m m a n d   -   S p e c i f y   t h e   u n d e r l y i n g   b u i l t - i n   c o m m a n d   t h a t   y o u r   a l i a s   w i l l   e x e c u t e .   T h i s   i n c l u d e s   s u p p o r t   f o r   s u b c o m m a n d s   l i k e   c r e a t e   r o l e . o p t i o n s   -   S p e c i f y   d e f a u l t   v a l u e s   f o r   o p t i o n s .   I f   y o u   e x p l i c i t l y   s p e c i f y   a n   o p t i o n   w h e n   y o u   r u n   k u b e c t l ,   t h e   v a l u e   y o u   p r o v i d e   t a k e s   p r e c e d e n c e   o v e r   t h e   d e f a u l t   o n e   d e f i n e d   i n   k u b e r c .   W i t h   t h i s   a l i a s ,   r u n n i n g   k u b e c t l   g e t n   p o d s   w i l l   d e f a u l t   J S O N   o u t p u t .   H o w e v e r ,   i f   y o u   e x e c u t e   k u b e c t l   g e t n   p o d s   - o y a m l ,   t h e   o u t p u t   w ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kuberc/",
    "id": "k8s_00725_section_2_15989"
  },
  {
    "question": "What is prependArgs?",
    "answer": "T h i s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kuberc/",
    "id": "k8s_00725_section_3_15990"
  },
  {
    "question": "What is appendArgs?",
    "answer": "T h i s   n e x t   e x a m p l e ,   w i l l   i n t r o d u c e   a   m e c h a n i s m   s i m i l a r   t o   p r e p e n d i n g   a r g u m e n t s ,   t h i s   t i m e ,   t h o u g h ,   w e   w i l l   a p p e n d   a r g u m e n t s   t o   t h e   e n d   o f   t h e   k u b e c t l   c o m m a n d .   a p i V e r s i o n :   k u b e c t l . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   P r e f e r e n c e   a l i a s e s :   -   n a m e :   r u n x   c o m m a n d :   r u n   o p t i o n s :   -   n a m e :   i m a g e   d e f a u l t :   b u s y b o x   -   n a m e :   n a m e s p a c e   d e f a u l t :   t e s t - n s   a p p e n d A r g s :   -   - -   -   c u s t o m - a r g   I n   t h i s   e x a m p l e ,   t h e   f o l l o w i n g   s e t t i n g s   w e r e   u s e d :   n a m e   -   A l i a s   n a m e   m u s t   n o t   c o l l i d e   w i t h   t h e   b u i l t - i n   c o m m a n d s . c o m m a n d   -   S p e c i f y   t h e   u n d e r l y i n g   b u i l t - i n   c o m m a n d   t h a t   y o u r   a l i a s   w i l l   e x e c u t e .   T h i s   i n c l u d e s   s u p p o r t   f o r   s u b c o m m a n d s   l i k e   c r e a t e   r o l e . o p t i o n s   -   S p e c i f y   d e f a u l t   v a l u e s   f o r   o p t i o n s .   I f   y o u   e x p l i c i t l y   s p e c i f y   a n   o p t i o n   w h e n   y o u   r u n   k u b e c t l ,   t h e   v a l u e   y o u   p r o v i d e   t a k e s   p r e c e d e n c e   o v e r   t h e   d e f a u l t   o n e   d e f i n e d   i n   k u b e r c . a p p e n d A r g s   -   S p e c i f y   e x p l i c i t   a r g u m e n t s   t h a t   w i l l   b e   p l a c e d   a t   t h e   e n d   o f   t h e   c o m m a n d .   H e r e ,   t h i s   w i l l   b e   t r a n s l a t e d   t o   k u b e c t l   r u n   t e s t - p o d   - - n a m e s p a c e   t e s t - n s   - - i m a g e   b u s y b o x   - -   c u s t o m - a r g .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kuberc/",
    "id": "k8s_00725_section_3_15991"
  },
  {
    "question": "What is defaults?",
    "answer": "W i t h i n   a   k u b e r c   c o n f i g u r a t i o n ,   d e f a u l t s   s e c t i o n   l e t s   y o u   s p e c i f y   d e f a u l t   v a l u e s   f o r   c o m m a n d   l i n e   a r g u m e n t s .   T h i s   n e x t   e x a m p l e   m a k e s   t h e   i n t e r a c t i v e   r e m o v a l   t h e   d e f a u l t   m o d e   f o r   i n v o k i n g   k u b e c t l   d e l e t e :   a p i V e r s i o n :   k u b e c t l . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   P r e f e r e n c e   d e f a u l t s :   -   c o m m a n d :   d e l e t e   o p t i o n s :   -   n a m e :   i n t e r a c t i v e   d e f a u l t :   \" t r u e \"   I n   t h i s   e x a m p l e ,   t h e   f o l l o w i n g   s e t t i n g s   w e r e   u s e d :   c o m m a n d   -   B u i l t - i n   c o m m a n d ,   t h i s   i n c l u d e s   s u p p o r t   f o r   s u b c o m m a n d s   l i k e   c r e a t e   r o l e . o p t i o n s   -   S p e c i f y   d e f a u l t   v a l u e s   f o r   o p t i o n s .   I f   y o u   e x p l i c i t l y   s p e c i f y   a n   o p t i o n   w h e n   y o u   r u n   k u b e c t l ,   t h e   v a l u e   y o u   p r o v i d e   t a k e s   p r e c e d e n c e   o v e r   t h e   d e f a u l t   o n e   d e f i n e d   i n   k u b e r c .   W i t h   t h i s   s e t t i n g ,   r u n n i n g   k u b e c t l   d e l e t e   p o d / t e s t - p o d   w i l l   d e f a u l t   t o   p r o m p t i n g   f o r   c o n f i r m a t i o n .   H o w e v e r ,   k u b e c t l   d e l e t e   p o d / t e s t - p o d   - - i n t e r a c t i v e = f a l s e   w i l l   b y p a s s   t h e   c o n f i r m a t i o n .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kuberc/",
    "id": "k8s_00725_section_2_15992"
  },
  {
    "question": "What is Suggested defaults?",
    "answer": "T h e   k u b e c t l   m a i n t a i n e r s   e n c o u r a g e   y o u   t o   a d o p t   k u b e r c   w i t h   t h e   f o l l o w i n g   d e f a u l t s :   a p i V e r s i o n :   k u b e c t l . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   P r e f e r e n c e   d e f a u l t s :   #   ( 1 )   d e f a u l t   s e r v e r - s i d e   a p p l y   -   c o m m a n d :   a p p l y   o p t i o n s :   -   n a m e :   s e r v e r - s i d e   d e f a u l t :   \" t r u e \"   #   ( 2 )   d e f a u l t   i n t e r a c t i v e   d e l e t i o n   -   c o m m a n d :   d e l e t e   o p t i o n s :   -   n a m e :   i n t e r a c t i v e   d e f a u l t :   \" t r u e \"   I n   t h i s   e x a m p l e ,   t h e   f o l l o w i n g   s e t t i n g s   a r e   e n f o r c e d :   D e f a u l t s   t o   u s i n g   S e r v e r - S i d e   A p p l y . D e f a u l t s   t o   i n t e r a c t i v e   r e m o v a l   w h e n e v e r   i n v o k i n g   k u b e c t l   d e l e t e   t o   p r e v e n t   a c c i d e n t a l   r e m o v a l   o f   r e s o u r c e s   f r o m   t h e   c l u s t e r .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kuberc/",
    "id": "k8s_00725_section_2_15993"
  },
  {
    "question": "What is Disable kuberc?",
    "answer": "T o   t e m p o r a r i l y   d i s a b l e   t h e   k u b e r c   f u n c t i o n a l i t y ,   s e t   ( a n d   e x p o r t )   t h e   e n v i r o n m e n t   v a r i a b l e   K U B E R C   w i t h   t h e   v a l u e   o f f :   e x p o r t   K U B E R C = o f f   o r   d i s a b l e   t h e   f e a t u r e   g a t e :   e x p o r t   K U B E C T L _ K U B E R C = f a l s e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/kuberc/",
    "id": "k8s_00725_section_2_15994"
  },
  {
    "question": "What is CRI Pod & Container Metrics?",
    "answer": "CRI Pod & Container MetricsCollection of Pod & Container metrics via the CRI.FEATURE STATE: Kubernetes v1.23 [alpha]The kubelet collects pod and container metrics via cAdvisor. As an alpha feature, Kubernetes lets you configure the collection of pod and container metrics via the Container Runtime Interface (CRI). You must enable the PodAndContainerStatsFromCRI feature gate and use a compatible CRI implementation (containerd >= 1.6.0, CRI-O >= 1.23.0) to use the CRI based collection mechanism.CRI Pod & Container MetricsWith PodAndContainerStatsFromCRI enabled, the kubelet polls the underlying container runtime for pod and container stats instead of inspecting the host system directly using cAdvisor. The benefits of relying on the container runtime for this information as opposed to direct collection with cAdvisor include:Potential improved performance if the container runtime already collects this information during normal operations. In this case, the data can be re-used instead of being aggregated again by the kubelet.It further decouples the kubelet and the container runtime allowing collection of metrics for container runtimes that don't run processes directly on the host with kubelet where they are observable by cAdvisor (for example: container runtimes that use virtualization).",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/cri-pod-container-metrics/",
    "id": "k8s_00726_qa_15995"
  },
  {
    "question": "How does CRI Pod & Container Metrics work?",
    "answer": "CRI Pod & Container MetricsCollection of Pod & Container metrics via the CRI.FEATURE STATE: Kubernetes v1.23 [alpha]The kubelet collects pod and container metrics via cAdvisor. As an alpha feature, Kubernetes lets you configure the collection of pod and container metrics via the Container Runtime Interface (CRI). You must enable the PodAndContainerStatsFromCRI feature gate and use a compatible CRI implementation (containerd >= 1.6.0, CRI-O >= 1.23.0) to use the CRI based collection mechanism.CRI Pod & Container MetricsWith PodAndContainerStatsFromCRI enabled, the kubelet polls the underlying container runtime for pod and container stats instead of inspecting the host system directly using cAdvisor. The benefits of relying on the container runtime for this information as opposed to direct collection with cAdvisor include:Potential improved performance if the container runtime already collects this information during normal operations. In this case, the data can be re-used instead of being aggregated again by the kubelet.It further decouples the kubelet and the container runtime allowing collection of metrics for container runtimes that don't run processes directly on the host with kubelet where they are observable by cAdvisor (for example: container runtimes that use virtualization).",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/cri-pod-container-metrics/",
    "id": "k8s_00726_qa_15996"
  },
  {
    "question": "When would you use CRI Pod & Container Metrics?",
    "answer": "CRI Pod & Container MetricsCollection of Pod & Container metrics via the CRI.FEATURE STATE: Kubernetes v1.23 [alpha]The kubelet collects pod and container metrics via cAdvisor. As an alpha feature, Kubernetes lets you configure the collection of pod and container metrics via the Container Runtime Interface (CRI). You must enable the PodAndContainerStatsFromCRI feature gate and use a compatible CRI implementation (containerd >= 1.6.0, CRI-O >= 1.23.0) to use the CRI based collection mechanism.CRI Pod & Container MetricsWith PodAndContainerStatsFromCRI enabled, the kubelet polls the underlying container runtime for pod and container stats instead of inspecting the host system directly using cAdvisor. The benefits of relying on the container runtime for this information as opposed to direct collection with cAdvisor include:Potential improved performance if the container runtime already collects this information during normal operations. In this case, the data can be re-used instead of being aggregated again by the kubelet.It further decouples the kubelet and the container runtime allowing collection of metrics for container runtimes that don't run processes directly on the host with kubelet where they are observable by cAdvisor (for example: container runtimes that use virtualization).",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/cri-pod-container-metrics/",
    "id": "k8s_00726_qa_15997"
  },
  {
    "question": "What are the benefits of CRI Pod & Container Metrics?",
    "answer": "CRI Pod & Container MetricsCollection of Pod & Container metrics via the CRI.FEATURE STATE: Kubernetes v1.23 [alpha]The kubelet collects pod and container metrics via cAdvisor. As an alpha feature, Kubernetes lets you configure the collection of pod and container metrics via the Container Runtime Interface (CRI). You must enable the PodAndContainerStatsFromCRI feature gate and use a compatible CRI implementation (containerd >= 1.6.0, CRI-O >= 1.23.0) to use the CRI based collection mechanism.CRI Pod & Container MetricsWith PodAndContainerStatsFromCRI enabled, the kubelet polls the underlying container runtime for pod and container stats instead of inspecting the host system directly using cAdvisor. The benefits of relying on the container runtime for this information as opposed to direct collection with cAdvisor include:Potential improved performance if the container runtime already collects this information during normal operations. In this case, the data can be re-used instead of being aggregated again by the kubelet.It further decouples the kubelet and the container runtime allowing collection of metrics for container runtimes that don't run processes directly on the host with kubelet where they are observable by cAdvisor (for example: container runtimes that use virtualization).",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/cri-pod-container-metrics/",
    "id": "k8s_00726_qa_15998"
  },
  {
    "question": "What is CRI Pod & Container Metrics?",
    "answer": "T h e   k u b e l e t   c o l l e c t s   p o d   a n d   c o n t a i n e r   m e t r i c s   v i a   c A d v i s o r .   A s   a n   a l p h a   f e a t u r e ,   K u b e r n e t e s   l e t s   y o u   c o n f i g u r e   t h e   c o l l e c t i o n   o f   p o d   a n d   c o n t a i n e r   m e t r i c s   v i a   t h e   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I ) .   Y o u   m u s t   e n a b l e   t h e   P o d A n d C o n t a i n e r S t a t s F r o m C R I   f e a t u r e   g a t e   a n d   u s e   a   c o m p a t i b l e   C R I   i m p l e m e n t a t i o n   ( c o n t a i n e r d   > =   1 . 6 . 0 ,   C R I - O   > =   1 . 2 3 . 0 )   t o   u s e   t h e   C R I   b a s e d   c o l l e c t i o n   m e c h a n i s m .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/cri-pod-container-metrics/",
    "id": "k8s_00726_section_1_15999"
  },
  {
    "question": "What is CRI Pod & Container Metrics?",
    "answer": "W i t h   P o d A n d C o n t a i n e r S t a t s F r o m C R I   e n a b l e d ,   t h e   k u b e l e t   p o l l s   t h e   u n d e r l y i n g   c o n t a i n e r   r u n t i m e   f o r   p o d   a n d   c o n t a i n e r   s t a t s   i n s t e a d   o f   i n s p e c t i n g   t h e   h o s t   s y s t e m   d i r e c t l y   u s i n g   c A d v i s o r .   T h e   b e n e f i t s   o f   r e l y i n g   o n   t h e   c o n t a i n e r   r u n t i m e   f o r   t h i s   i n f o r m a t i o n   a s   o p p o s e d   t o   d i r e c t   c o l l e c t i o n   w i t h   c A d v i s o r   i n c l u d e :   P o t e n t i a l   i m p r o v e d   p e r f o r m a n c e   i f   t h e   c o n t a i n e r   r u n t i m e   a l r e a d y   c o l l e c t s   t h i s   i n f o r m a t i o n   d u r i n g   n o r m a l   o p e r a t i o n s .   I n   t h i s   c a s e ,   t h e   d a t a   c a n   b e   r e - u s e d   i n s t e a d   o f   b e i n g   a g g r e g a t e d   a g a i n   b y   t h e   k u b e l e t . I t   f u r t h e r   d e c o u p l e s   t h e   k u b e l e t   a n d   t h e   c o n t a i n e r   r u n t i m e   a l l o w i n g   c o l l e c t i o n   o f   m e t r i c s   f o r   c o n t a i n e r   r u n t i m e s   t h a t   d o n ' t   r u n   p r o c e s s e s   d i r e c t l y   o n   t h e   h o s t   w i t h   k u b e l e t   w h e r e   t h e y   a r e   o b s e r v a b l e   b y   c A d v i s o r   ( f o r   e x a m p l e :   c o n t a i n e r   r u n t i m e s   t h a t   u s e   v i r t u a l i z a t i o n ) .   P o t e n t i a l   i m p r o v e d   p e r f o r m a n c e   i f   t h e   c o n t a i n e r   r u n t i m e   a l r e a d y   c o l l e c t s   t h i s   i n f o r m a t i o n   d u r i n g   n o r m a l   o p e r a t i o n s .   I n   t h i s   c a s e ,   t h e   d a t a   c a n   b e   r e - u s e d   i n s t e a d   o f   b e i n g   a g g r e g a t e d   a g a i n   b y   t h e   k u b e l e t .   I t   f u r t h e r   d e c o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/instrumentation/cri-pod-container-metrics/",
    "id": "k8s_00726_section_2_16000"
  },
  {
    "question": "What is kubectl config unset?",
    "answer": "kubectl config unsetSynopsisUnset an individual value in a kubeconfig file.PROPERTY_NAME is a dot delimited name where each token represents either an attribute name or a map key. Map keys may not contain dots.kubectl config unset PROPERTY_NAME Examples # Unset the current-context kubectl config unset current-context # Unset namespace in foo context kubectl config unset contexts.foo.namespace Options-h, --helphelp for unsetParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBe",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_unset/",
    "id": "k8s_00727_qa_16001"
  },
  {
    "question": "How does kubectl config unset work?",
    "answer": "kubectl config unsetSynopsisUnset an individual value in a kubeconfig file.PROPERTY_NAME is a dot delimited name where each token represents either an attribute name or a map key. Map keys may not contain dots.kubectl config unset PROPERTY_NAME Examples # Unset the current-context kubectl config unset current-context # Unset namespace in foo context kubectl config unset contexts.foo.namespace Options-h, --helphelp for unsetParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBe",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_unset/",
    "id": "k8s_00727_qa_16002"
  },
  {
    "question": "When would you use kubectl config unset?",
    "answer": "kubectl config unsetSynopsisUnset an individual value in a kubeconfig file.PROPERTY_NAME is a dot delimited name where each token represents either an attribute name or a map key. Map keys may not contain dots.kubectl config unset PROPERTY_NAME Examples # Unset the current-context kubectl config unset current-context # Unset namespace in foo context kubectl config unset contexts.foo.namespace Options-h, --helphelp for unsetParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBe",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_unset/",
    "id": "k8s_00727_qa_16003"
  },
  {
    "question": "What are the benefits of kubectl config unset?",
    "answer": "kubectl config unsetSynopsisUnset an individual value in a kubeconfig file.PROPERTY_NAME is a dot delimited name where each token represents either an attribute name or a map key. Map keys may not contain dots.kubectl config unset PROPERTY_NAME Examples # Unset the current-context kubectl config unset current-context # Unset namespace in foo context kubectl config unset contexts.foo.namespace Options-h, --helphelp for unsetParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBe",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_unset/",
    "id": "k8s_00727_qa_16004"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U n s e t   a n   i n d i v i d u a l   v a l u e   i n   a   k u b e c o n f i g   f i l e .   P R O P E R T Y _ N A M E   i s   a   d o t   d e l i m i t e d   n a m e   w h e r e   e a c h   t o k e n   r e p r e s e n t s   e i t h e r   a n   a t t r i b u t e   n a m e   o r   a   m a p   k e y .   M a p   k e y s   m a y   n o t   c o n t a i n   d o t s .   k u b e c t l   c o n f i g   u n s e t   P R O P E R T Y _ N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_unset/",
    "id": "k8s_00727_section_2_16005"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U n s e t   t h e   c u r r e n t - c o n t e x t   k u b e c t l   c o n f i g   u n s e t   c u r r e n t - c o n t e x t   #   U n s e t   n a m e s p a c e   i n   f o o   c o n t e x t   k u b e c t l   c o n f i g   u n s e t   c o n t e x t s . f o o . n a m e s p a c e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_unset/",
    "id": "k8s_00727_section_2_16006"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   u n s e t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_unset/",
    "id": "k8s_00727_section_2_16007"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_unset/",
    "id": "k8s_00727_section_2_16008"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_unset/",
    "id": "k8s_00727_section_2_16009"
  },
  {
    "question": "What is Object Names and IDs?",
    "answer": "Object Names and IDsEach object in your cluster has a Name that is unique for that type of resource. Every Kubernetes object also has a UID that is unique across your whole cluster.For example, you can only have one Pod named myapp-1234 within the same namespace, but you can have one Pod and one Deployment that are each named myapp-1234.For non-unique user-provided attributes, Kubernetes provides labels and annotations.NamesA client-provided string that refers to an object in a resource URL, such as /api/v1/pods/some-name.Only one object of a given kind can have a given name at a time. However, if you delete the object, you can make a new object with the same name.Names must be unique across all API versions of the same resource. API resources are distinguished by their API group, resource type, namespace (for namespaced resources), and name. In other words, API version is irrelevant in this context.Note:In cases when objects represent a physical entity, like a Node representing a physical host, when the host is re-created under the same name without deleting and re-creating the Node, Kubernetes treats the new host as the old one, which may lead to inconsistencies.The server may generate a name when generateName is provided instead of name in a resource create request. When generateName is used, the provided value is used as a name prefix, which server appends a generated suffix to. Even though the name is generated, it may conflict with existing names resulting in a HTTP 409 response. This became far less likely to happen in Kubernetes v1.31 and later, since the server will make up to 8 attempt to generate a unique name before returning a HTTP 409 response.Below are four types of commonly used name constraints for resources.DNS Subdomain NamesMost resource types require a name that can be used as a DNS subdomain name as defined in RFC 1123. This means the name must:contain no more than 253 characterscontain only lowercase alphanumeric characters, '-' or '.'start with an alphanumeric characterend with an alphanumeric characterRFC 1123 Label NamesSome resource types require their names to follow the DNS label standard as defined in RFC 1123. This means the name must:contain at most 63 characterscontain only lowercase alphanumeric characters or '-'start with an alphanumeric characterend with an alphanumeric characterRFC 1035 Label NamesSome resource types require their names to follow the DNS label standard as defined in RFC 1035. This means the name must:contain at most 63 characterscontain only lowercase alphanumeric characters or '-'start with an alphabetic characterend with an alphanumeric characterNote:The only difference between the RFC 1035 and RFC 1123 label standards is that RFC 1123 labels are allowed to start with a digit, whereas RFC 1035 labels can start with a lowercase alphabetic character only.Path Segment NamesSome resource types require their names to be able to be safely encoded as a path segment. In other words, the name may not",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/names/",
    "id": "k8s_00728_qa_16010"
  },
  {
    "question": "How does Object Names and IDs work?",
    "answer": "Object Names and IDsEach object in your cluster has a Name that is unique for that type of resource. Every Kubernetes object also has a UID that is unique across your whole cluster.For example, you can only have one Pod named myapp-1234 within the same namespace, but you can have one Pod and one Deployment that are each named myapp-1234.For non-unique user-provided attributes, Kubernetes provides labels and annotations.NamesA client-provided string that refers to an object in a resource URL, such as /api/v1/pods/some-name.Only one object of a given kind can have a given name at a time. However, if you delete the object, you can make a new object with the same name.Names must be unique across all API versions of the same resource. API resources are distinguished by their API group, resource type, namespace (for namespaced resources), and name. In other words, API version is irrelevant in this context.Note:In cases when objects represent a physical entity, like a Node representing a physical host, when the host is re-created under the same name without deleting and re-creating the Node, Kubernetes treats the new host as the old one, which may lead to inconsistencies.The server may generate a name when generateName is provided instead of name in a resource create request. When generateName is used, the provided value is used as a name prefix, which server appends a generated suffix to. Even though the name is generated, it may conflict with existing names resulting in a HTTP 409 response. This became far less likely to happen in Kubernetes v1.31 and later, since the server will make up to 8 attempt to generate a unique name before returning a HTTP 409 response.Below are four types of commonly used name constraints for resources.DNS Subdomain NamesMost resource types require a name that can be used as a DNS subdomain name as defined in RFC 1123. This means the name must:contain no more than 253 characterscontain only lowercase alphanumeric characters, '-' or '.'start with an alphanumeric characterend with an alphanumeric characterRFC 1123 Label NamesSome resource types require their names to follow the DNS label standard as defined in RFC 1123. This means the name must:contain at most 63 characterscontain only lowercase alphanumeric characters or '-'start with an alphanumeric characterend with an alphanumeric characterRFC 1035 Label NamesSome resource types require their names to follow the DNS label standard as defined in RFC 1035. This means the name must:contain at most 63 characterscontain only lowercase alphanumeric characters or '-'start with an alphabetic characterend with an alphanumeric characterNote:The only difference between the RFC 1035 and RFC 1123 label standards is that RFC 1123 labels are allowed to start with a digit, whereas RFC 1035 labels can start with a lowercase alphabetic character only.Path Segment NamesSome resource types require their names to be able to be safely encoded as a path segment. In other words, the name may not",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/names/",
    "id": "k8s_00728_qa_16011"
  },
  {
    "question": "When would you use Object Names and IDs?",
    "answer": "Object Names and IDsEach object in your cluster has a Name that is unique for that type of resource. Every Kubernetes object also has a UID that is unique across your whole cluster.For example, you can only have one Pod named myapp-1234 within the same namespace, but you can have one Pod and one Deployment that are each named myapp-1234.For non-unique user-provided attributes, Kubernetes provides labels and annotations.NamesA client-provided string that refers to an object in a resource URL, such as /api/v1/pods/some-name.Only one object of a given kind can have a given name at a time. However, if you delete the object, you can make a new object with the same name.Names must be unique across all API versions of the same resource. API resources are distinguished by their API group, resource type, namespace (for namespaced resources), and name. In other words, API version is irrelevant in this context.Note:In cases when objects represent a physical entity, like a Node representing a physical host, when the host is re-created under the same name without deleting and re-creating the Node, Kubernetes treats the new host as the old one, which may lead to inconsistencies.The server may generate a name when generateName is provided instead of name in a resource create request. When generateName is used, the provided value is used as a name prefix, which server appends a generated suffix to. Even though the name is generated, it may conflict with existing names resulting in a HTTP 409 response. This became far less likely to happen in Kubernetes v1.31 and later, since the server will make up to 8 attempt to generate a unique name before returning a HTTP 409 response.Below are four types of commonly used name constraints for resources.DNS Subdomain NamesMost resource types require a name that can be used as a DNS subdomain name as defined in RFC 1123. This means the name must:contain no more than 253 characterscontain only lowercase alphanumeric characters, '-' or '.'start with an alphanumeric characterend with an alphanumeric characterRFC 1123 Label NamesSome resource types require their names to follow the DNS label standard as defined in RFC 1123. This means the name must:contain at most 63 characterscontain only lowercase alphanumeric characters or '-'start with an alphanumeric characterend with an alphanumeric characterRFC 1035 Label NamesSome resource types require their names to follow the DNS label standard as defined in RFC 1035. This means the name must:contain at most 63 characterscontain only lowercase alphanumeric characters or '-'start with an alphabetic characterend with an alphanumeric characterNote:The only difference between the RFC 1035 and RFC 1123 label standards is that RFC 1123 labels are allowed to start with a digit, whereas RFC 1035 labels can start with a lowercase alphabetic character only.Path Segment NamesSome resource types require their names to be able to be safely encoded as a path segment. In other words, the name may not",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/names/",
    "id": "k8s_00728_qa_16012"
  },
  {
    "question": "What are the benefits of Object Names and IDs?",
    "answer": "Object Names and IDsEach object in your cluster has a Name that is unique for that type of resource. Every Kubernetes object also has a UID that is unique across your whole cluster.For example, you can only have one Pod named myapp-1234 within the same namespace, but you can have one Pod and one Deployment that are each named myapp-1234.For non-unique user-provided attributes, Kubernetes provides labels and annotations.NamesA client-provided string that refers to an object in a resource URL, such as /api/v1/pods/some-name.Only one object of a given kind can have a given name at a time. However, if you delete the object, you can make a new object with the same name.Names must be unique across all API versions of the same resource. API resources are distinguished by their API group, resource type, namespace (for namespaced resources), and name. In other words, API version is irrelevant in this context.Note:In cases when objects represent a physical entity, like a Node representing a physical host, when the host is re-created under the same name without deleting and re-creating the Node, Kubernetes treats the new host as the old one, which may lead to inconsistencies.The server may generate a name when generateName is provided instead of name in a resource create request. When generateName is used, the provided value is used as a name prefix, which server appends a generated suffix to. Even though the name is generated, it may conflict with existing names resulting in a HTTP 409 response. This became far less likely to happen in Kubernetes v1.31 and later, since the server will make up to 8 attempt to generate a unique name before returning a HTTP 409 response.Below are four types of commonly used name constraints for resources.DNS Subdomain NamesMost resource types require a name that can be used as a DNS subdomain name as defined in RFC 1123. This means the name must:contain no more than 253 characterscontain only lowercase alphanumeric characters, '-' or '.'start with an alphanumeric characterend with an alphanumeric characterRFC 1123 Label NamesSome resource types require their names to follow the DNS label standard as defined in RFC 1123. This means the name must:contain at most 63 characterscontain only lowercase alphanumeric characters or '-'start with an alphanumeric characterend with an alphanumeric characterRFC 1035 Label NamesSome resource types require their names to follow the DNS label standard as defined in RFC 1035. This means the name must:contain at most 63 characterscontain only lowercase alphanumeric characters or '-'start with an alphabetic characterend with an alphanumeric characterNote:The only difference between the RFC 1035 and RFC 1123 label standards is that RFC 1123 labels are allowed to start with a digit, whereas RFC 1035 labels can start with a lowercase alphabetic character only.Path Segment NamesSome resource types require their names to be able to be safely encoded as a path segment. In other words, the name may not",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/names/",
    "id": "k8s_00728_qa_16013"
  },
  {
    "question": "What is Object Names and IDs?",
    "answer": "E a c h   o b j e c t   i n   y o u r   c l u s t e r   h a s   a   N a m e   t h a t   i s   u n i q u e   f o r   t h a t   t y p e   o f   r e s o u r c e .   E v e r y   K u b e r n e t e s   o b j e c t   a l s o   h a s   a   U I D   t h a t   i s   u n i q u e   a c r o s s   y o u r   w h o l e   c l u s t e r .   F o r   e x a m p l e ,   y o u   c a n   o n l y   h a v e   o n e   P o d   n a m e d   m y a p p - 1 2 3 4   w i t h i n   t h e   s a m e   n a m e s p a c e ,   b u t   y o u   c a n   h a v e   o n e   P o d   a n d   o n e   D e p l o y m e n t   t h a t   a r e   e a c h   n a m e d   m y a p p - 1 2 3 4 .   F o r   n o n - u n i q u e   u s e r - p r o v i d e d   a t t r i b u t e s ,   K u b e r n e t e s   p r o v i d e s   l a b e l s   a n d   a n n o t a t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/names/",
    "id": "k8s_00728_section_1_16014"
  },
  {
    "question": "What is Names?",
    "answer": "A   c l i e n t - p r o v i d e d   s t r i n g   t h a t   r e f e r s   t o   a n   o b j e c t   i n   a   r e s o u r c e   U R L ,   s u c h   a s   / a p i / v 1 / p o d s / s o m e - n a m e .   O n l y   o n e   o b j e c t   o f   a   g i v e n   k i n d   c a n   h a v e   a   g i v e n   n a m e   a t   a   t i m e .   H o w e v e r ,   i f   y o u   d e l e t e   t h e   o b j e c t ,   y o u   c a n   m a k e   a   n e w   o b j e c t   w i t h   t h e   s a m e   n a m e .   N a m e s   m u s t   b e   u n i q u e   a c r o s s   a l l   A P I   v e r s i o n s   o f   t h e   s a m e   r e s o u r c e .   A P I   r e s o u r c e s   a r e   d i s t i n g u i s h e d   b y   t h e i r   A P I   g r o u p ,   r e s o u r c e   t y p e ,   n a m e s p a c e   ( f o r   n a m e s p a c e d   r e s o u r c e s ) ,   a n d   n a m e .   I n   o t h e r   w o r d s ,   A P I   v e r s i o n   i s   i r r e l e v a n t   i n   t h i s   c o n t e x t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/names/",
    "id": "k8s_00728_section_2_16015"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   s e r v e r   m a y   g e n e r a t e   a   n a m e   w h e n   g e n e r a t e N a m e   i s   p r o v i d e d   i n s t e a d   o f   n a m e   i n   a   r e s o u r c e   c r e a t e   r e q u e s t .   W h e n   g e n e r a t e N a m e   i s   u s e d ,   t h e   p r o v i d e d   v a l u e   i s   u s e d   a s   a   n a m e   p r e f i x ,   w h i c h   s e r v e r   a p p e n d s   a   g e n e r a t e d   s u f f i x   t o .   E v e n   t h o u g h   t h e   n a m e   i s   g e n e r a t e d ,   i t   m a y   c o n f l i c t   w i t h   e x i s t i n g   n a m e s   r e s u l t i n g   i n   a   H T T P   4 0 9   r e s p o n s e .   T h i s   b e c a m e   f a r   l e s s   l i k e l y   t o   h a p p e n   i n   K u b e r n e t e s   v 1 . 3 1   a n d   l a t e r ,   s i n c e   t h e   s e r v e r   w i l l   m a k e   u p   t o   8   a t t e m p t   t o   g e n e r a t e   a   u n i q u e   n a m e   b e f o r e   r e t u r n i n g   a   H T T P   4 0 9   r e s p o n s e .   B e l o w   a r e   f o u r   t y p e s   o f   c o m m o n l y   u s e d   n a m e   c o n s t r a i n t s   f o r   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/names/",
    "id": "k8s_00728_section_4_16016"
  },
  {
    "question": "What is DNS Subdomain Names?",
    "answer": "M o s t   r e s o u r c e   t y p e s   r e q u i r e   a   n a m e   t h a t   c a n   b e   u s e d   a s   a   D N S   s u b d o m a i n   n a m e   a s   d e f i n e d   i n   R F C   1 1 2 3 .   T h i s   m e a n s   t h e   n a m e   m u s t :   c o n t a i n   n o   m o r e   t h a n   2 5 3   c h a r a c t e r s c o n t a i n   o n l y   l o w e r c a s e   a l p h a n u m e r i c   c h a r a c t e r s ,   ' - '   o r   ' . ' s t a r t   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r e n d   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/names/",
    "id": "k8s_00728_section_3_16017"
  },
  {
    "question": "What is RFC 1123 Label Names?",
    "answer": "S o m e   r e s o u r c e   t y p e s   r e q u i r e   t h e i r   n a m e s   t o   f o l l o w   t h e   D N S   l a b e l   s t a n d a r d   a s   d e f i n e d   i n   R F C   1 1 2 3 .   T h i s   m e a n s   t h e   n a m e   m u s t :   c o n t a i n   a t   m o s t   6 3   c h a r a c t e r s c o n t a i n   o n l y   l o w e r c a s e   a l p h a n u m e r i c   c h a r a c t e r s   o r   ' - ' s t a r t   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r e n d   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/names/",
    "id": "k8s_00728_section_3_16018"
  },
  {
    "question": "What is RFC 1035 Label Names?",
    "answer": "S o m e   r e s o u r c e   t y p e s   r e q u i r e   t h e i r   n a m e s   t o   f o l l o w   t h e   D N S   l a b e l   s t a n d a r d   a s   d e f i n e d   i n   R F C   1 0 3 5 .   T h i s   m e a n s   t h e   n a m e   m u s t :   c o n t a i n   a t   m o s t   6 3   c h a r a c t e r s c o n t a i n   o n l y   l o w e r c a s e   a l p h a n u m e r i c   c h a r a c t e r s   o r   ' - ' s t a r t   w i t h   a n   a l p h a b e t i c   c h a r a c t e r e n d   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/names/",
    "id": "k8s_00728_section_3_16019"
  },
  {
    "question": "What is Path Segment Names?",
    "answer": "S o m e   r e s o u r c e   t y p e s   r e q u i r e   t h e i r   n a m e s   t o   b e   a b l e   t o   b e   s a f e l y   e n c o d e d   a s   a   p a t h   s e g m e n t .   I n   o t h e r   w o r d s ,   t h e   n a m e   m a y   n o t   b e   \" . \"   o r   \" . . \"   a n d   t h e   n a m e   m a y   n o t   c o n t a i n   \" / \"   o r   \" % \" .   H e r e ' s   a n   e x a m p l e   m a n i f e s t   f o r   a   P o d   n a m e d   n g i n x - d e m o .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/names/",
    "id": "k8s_00728_section_3_16020"
  },
  {
    "question": "What is UIDs?",
    "answer": "A   K u b e r n e t e s   s y s t e m s - g e n e r a t e d   s t r i n g   t o   u n i q u e l y   i d e n t i f y   o b j e c t s .   E v e r y   o b j e c t   c r e a t e d   o v e r   t h e   w h o l e   l i f e t i m e   o f   a   K u b e r n e t e s   c l u s t e r   h a s   a   d i s t i n c t   U I D .   I t   i s   i n t e n d e d   t o   d i s t i n g u i s h   b e t w e e n   h i s t o r i c a l   o c c u r r e n c e s   o f   s i m i l a r   e n t i t i e s .   K u b e r n e t e s   U I D s   a r e   u n i v e r s a l l y   u n i q u e   i d e n t i f i e r s   ( a l s o   k n o w n   a s   U U I D s ) .   U U I D s   a r e   s t a n d a r d i z e d   a s   I S O / I E C   9 8 3 4 - 8   a n d   a s   I T U - T   X . 6 6 7 .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/names/",
    "id": "k8s_00728_section_2_16021"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   l a b e l s   a n d   a n n o t a t i o n s   i n   K u b e r n e t e s . S e e   t h e   I d e n t i f i e r s   a n d   N a m e s   i n   K u b e r n e t e s   d e s i g n   d o c u m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/names/",
    "id": "k8s_00728_section_2_16022"
  },
  {
    "question": "What is kubectl config use-context?",
    "answer": "kubectl config use-contextSynopsisSet the current-context in a kubeconfig file.kubectl config use-context CONTEXT_NAME Examples # Use the context for the minikube cluster kubectl config use-context minikube Options-h, --helphelp for use-contextParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_use-context/",
    "id": "k8s_00729_qa_16023"
  },
  {
    "question": "How does kubectl config use-context work?",
    "answer": "kubectl config use-contextSynopsisSet the current-context in a kubeconfig file.kubectl config use-context CONTEXT_NAME Examples # Use the context for the minikube cluster kubectl config use-context minikube Options-h, --helphelp for use-contextParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_use-context/",
    "id": "k8s_00729_qa_16024"
  },
  {
    "question": "When would you use kubectl config use-context?",
    "answer": "kubectl config use-contextSynopsisSet the current-context in a kubeconfig file.kubectl config use-context CONTEXT_NAME Examples # Use the context for the minikube cluster kubectl config use-context minikube Options-h, --helphelp for use-contextParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_use-context/",
    "id": "k8s_00729_qa_16025"
  },
  {
    "question": "What are the benefits of kubectl config use-context?",
    "answer": "kubectl config use-contextSynopsisSet the current-context in a kubeconfig file.kubectl config use-context CONTEXT_NAME Examples # Use the context for the minikube cluster kubectl config use-context minikube Options-h, --helphelp for use-contextParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_use-context/",
    "id": "k8s_00729_qa_16026"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S e t   t h e   c u r r e n t - c o n t e x t   i n   a   k u b e c o n f i g   f i l e .   k u b e c t l   c o n f i g   u s e - c o n t e x t   C O N T E X T _ N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_use-context/",
    "id": "k8s_00729_section_2_16027"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U s e   t h e   c o n t e x t   f o r   t h e   m i n i k u b e   c l u s t e r   k u b e c t l   c o n f i g   u s e - c o n t e x t   m i n i k u b e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_use-context/",
    "id": "k8s_00729_section_2_16028"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   u s e - c o n t e x t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_use-context/",
    "id": "k8s_00729_section_2_16029"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_use-context/",
    "id": "k8s_00729_section_2_16030"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_use-context/",
    "id": "k8s_00729_section_2_16031"
  },
  {
    "question": "What is Enable Or Disable A Kubernetes API?",
    "answer": "Enable Or Disable A Kubernetes APIThis page shows how to enable or disable an API version from your cluster's control plane.Specific API versions can be turned on or off by passing --runtime-config=api/<version> as a command line argument to the API server. The values for this argument are a comma-separated list of API versions. Later values override earlier values.The runtime-config command line argument also supports 2 special keys:api/all, representing all known APIsapi/legacy, representing only legacy APIs. Legacy APIs are any APIs that have been explicitly deprecated.For example, to turn off all API versions except v1, pass --runtime-config=api/all=false,api/v1=true to the kube-apiserver.What's nextRead the full documentation for the kube-apiserver component.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/enable-disable-api/",
    "id": "k8s_00730_qa_16032"
  },
  {
    "question": "How does Enable Or Disable A Kubernetes API work?",
    "answer": "Enable Or Disable A Kubernetes APIThis page shows how to enable or disable an API version from your cluster's control plane.Specific API versions can be turned on or off by passing --runtime-config=api/<version> as a command line argument to the API server. The values for this argument are a comma-separated list of API versions. Later values override earlier values.The runtime-config command line argument also supports 2 special keys:api/all, representing all known APIsapi/legacy, representing only legacy APIs. Legacy APIs are any APIs that have been explicitly deprecated.For example, to turn off all API versions except v1, pass --runtime-config=api/all=false,api/v1=true to the kube-apiserver.What's nextRead the full documentation for the kube-apiserver component.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/enable-disable-api/",
    "id": "k8s_00730_qa_16033"
  },
  {
    "question": "When would you use Enable Or Disable A Kubernetes API?",
    "answer": "Enable Or Disable A Kubernetes APIThis page shows how to enable or disable an API version from your cluster's control plane.Specific API versions can be turned on or off by passing --runtime-config=api/<version> as a command line argument to the API server. The values for this argument are a comma-separated list of API versions. Later values override earlier values.The runtime-config command line argument also supports 2 special keys:api/all, representing all known APIsapi/legacy, representing only legacy APIs. Legacy APIs are any APIs that have been explicitly deprecated.For example, to turn off all API versions except v1, pass --runtime-config=api/all=false,api/v1=true to the kube-apiserver.What's nextRead the full documentation for the kube-apiserver component.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/enable-disable-api/",
    "id": "k8s_00730_qa_16034"
  },
  {
    "question": "What are the benefits of Enable Or Disable A Kubernetes API?",
    "answer": "Enable Or Disable A Kubernetes APIThis page shows how to enable or disable an API version from your cluster's control plane.Specific API versions can be turned on or off by passing --runtime-config=api/<version> as a command line argument to the API server. The values for this argument are a comma-separated list of API versions. Later values override earlier values.The runtime-config command line argument also supports 2 special keys:api/all, representing all known APIsapi/legacy, representing only legacy APIs. Legacy APIs are any APIs that have been explicitly deprecated.For example, to turn off all API versions except v1, pass --runtime-config=api/all=false,api/v1=true to the kube-apiserver.What's nextRead the full documentation for the kube-apiserver component.",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/enable-disable-api/",
    "id": "k8s_00730_qa_16035"
  },
  {
    "question": "What is Enable Or Disable A Kubernetes API?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   e n a b l e   o r   d i s a b l e   a n   A P I   v e r s i o n   f r o m   y o u r   c l u s t e r ' s   c o n t r o l   p l a n e .   S p e c i f i c   A P I   v e r s i o n s   c a n   b e   t u r n e d   o n   o r   o f f   b y   p a s s i n g   - - r u n t i m e - c o n f i g = a p i / < v e r s i o n >   a s   a   c o m m a n d   l i n e   a r g u m e n t   t o   t h e   A P I   s e r v e r .   T h e   v a l u e s   f o r   t h i s   a r g u m e n t   a r e   a   c o m m a - s e p a r a t e d   l i s t   o f   A P I   v e r s i o n s .   L a t e r   v a l u e s   o v e r r i d e   e a r l i e r   v a l u e s .   T h e   r u n t i m e - c o n f i g   c o m m a n d   l i n e   a r g u m e n t   a l s o   s u p p o r t s   2   s p e c i a l   k e y s :   a p i / a l l ,   r e p r e s e n t i n g   a l l   k n o w n   A P I s a p i / l e g a c y ,   r e p r e s e n t i n g   o n l y   l e g a c y   A P I s .   L e g a c y   A P I s   a r e   a n y   A P I s   t h a t   h a v e   b e e n   e x p l i c i t l y   d e p r e c a t e d .   F o r   e x a m p l e ,   t o   t u r n   o f f   a l l   A P I   v e r s i o n s   e x c e p t   v 1 ,   p a s s   - - r u n t i m e - c o n f i g = a p i / a l l = f a l s e , a p i / v 1 = t r u e   t o   t h e   k u b e - a p i s e r v e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/enable-disable-api/",
    "id": "k8s_00730_section_1_16036"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   t h e   f u l l   d o c u m e n t a t i o n   f o r   t h e   k u b e - a p i s e r v e r   c o m p o n e n t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/enable-disable-api/",
    "id": "k8s_00730_section_2_16037"
  },
  {
    "question": "What is Authenticating?",
    "answer": "AuthenticatingThis page provides an overview of authentication in Kubernetes, with a focus on authentication to the Kubernetes API.Users in KubernetesAll Kubernetes clusters have two categories of users: service accounts managed by Kubernetes, and normal users.It is assumed that a cluster-independent service manages normal users in the following ways:an administrator distributing private keysa user store like Keystone or Google Accountsa file with a list of usernames and passwordsIn this regard, Kubernetes does not have objects which represent normal user accounts. Normal users cannot be added to a cluster through an API call.Even though a normal user cannot be added via an API call, any user that presents a valid certificate signed by the cluster's certificate authority (CA) is considered authenticated. In this configuration, Kubernetes determines the username from the common name field in the 'subject' of the cert (e.g., \"/CN=bob\"). From there, the role based access control (RBAC) sub-system would determine whether the user is authorized to perform a specific operation on a resource.In contrast, service accounts are users managed by the Kubernetes API. They are bound to specific namespaces, and created automatically by the API server or manually through API calls. Service accounts are tied to a set of credentials stored as Secrets, which are mounted into pods allowing in-cluster processes to talk to the Kubernetes API.API requests are tied to either a normal user or a service account, or are treated as anonymous requests. This means every process inside or outside the cluster, from a human user typing kubectl on a workstation, to kubelets on nodes, to members of the control plane, must authenticate when making requests to the API server, or be treated as an anonymous user.Authentication strategiesKubernetes uses client certificates, bearer tokens, or an authenticating proxy to authenticate API requests through authentication plugins. As HTTP requests are made to the API server, plugins attempt to associate the following attributes with the request:Username: a string which identifies the end user. Common values might be kube-admin or jane@example.com.UID: a string which identifies the end user and attempts to be more consistent and unique than username.Groups: a set of strings, each of which indicates the user's membership in a named logical collection of users. Common values might be system:masters or devops-team.Extra fields: a map of strings to list of strings which holds additional information authorizers may find useful.Note:All values are opaque to the authentication system and only hold significance when interpreted by an authorizer.Authentication methodsYou can enable multiple authentication methods at once. You should usually use at least two methods:service account tokens for service accountsat least one other method for user authentication.When multiple authenticator modules are enabled, the first module to successfully authenticate t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_qa_16038"
  },
  {
    "question": "How does Authenticating work?",
    "answer": "AuthenticatingThis page provides an overview of authentication in Kubernetes, with a focus on authentication to the Kubernetes API.Users in KubernetesAll Kubernetes clusters have two categories of users: service accounts managed by Kubernetes, and normal users.It is assumed that a cluster-independent service manages normal users in the following ways:an administrator distributing private keysa user store like Keystone or Google Accountsa file with a list of usernames and passwordsIn this regard, Kubernetes does not have objects which represent normal user accounts. Normal users cannot be added to a cluster through an API call.Even though a normal user cannot be added via an API call, any user that presents a valid certificate signed by the cluster's certificate authority (CA) is considered authenticated. In this configuration, Kubernetes determines the username from the common name field in the 'subject' of the cert (e.g., \"/CN=bob\"). From there, the role based access control (RBAC) sub-system would determine whether the user is authorized to perform a specific operation on a resource.In contrast, service accounts are users managed by the Kubernetes API. They are bound to specific namespaces, and created automatically by the API server or manually through API calls. Service accounts are tied to a set of credentials stored as Secrets, which are mounted into pods allowing in-cluster processes to talk to the Kubernetes API.API requests are tied to either a normal user or a service account, or are treated as anonymous requests. This means every process inside or outside the cluster, from a human user typing kubectl on a workstation, to kubelets on nodes, to members of the control plane, must authenticate when making requests to the API server, or be treated as an anonymous user.Authentication strategiesKubernetes uses client certificates, bearer tokens, or an authenticating proxy to authenticate API requests through authentication plugins. As HTTP requests are made to the API server, plugins attempt to associate the following attributes with the request:Username: a string which identifies the end user. Common values might be kube-admin or jane@example.com.UID: a string which identifies the end user and attempts to be more consistent and unique than username.Groups: a set of strings, each of which indicates the user's membership in a named logical collection of users. Common values might be system:masters or devops-team.Extra fields: a map of strings to list of strings which holds additional information authorizers may find useful.Note:All values are opaque to the authentication system and only hold significance when interpreted by an authorizer.Authentication methodsYou can enable multiple authentication methods at once. You should usually use at least two methods:service account tokens for service accountsat least one other method for user authentication.When multiple authenticator modules are enabled, the first module to successfully authenticate t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_qa_16039"
  },
  {
    "question": "When would you use Authenticating?",
    "answer": "AuthenticatingThis page provides an overview of authentication in Kubernetes, with a focus on authentication to the Kubernetes API.Users in KubernetesAll Kubernetes clusters have two categories of users: service accounts managed by Kubernetes, and normal users.It is assumed that a cluster-independent service manages normal users in the following ways:an administrator distributing private keysa user store like Keystone or Google Accountsa file with a list of usernames and passwordsIn this regard, Kubernetes does not have objects which represent normal user accounts. Normal users cannot be added to a cluster through an API call.Even though a normal user cannot be added via an API call, any user that presents a valid certificate signed by the cluster's certificate authority (CA) is considered authenticated. In this configuration, Kubernetes determines the username from the common name field in the 'subject' of the cert (e.g., \"/CN=bob\"). From there, the role based access control (RBAC) sub-system would determine whether the user is authorized to perform a specific operation on a resource.In contrast, service accounts are users managed by the Kubernetes API. They are bound to specific namespaces, and created automatically by the API server or manually through API calls. Service accounts are tied to a set of credentials stored as Secrets, which are mounted into pods allowing in-cluster processes to talk to the Kubernetes API.API requests are tied to either a normal user or a service account, or are treated as anonymous requests. This means every process inside or outside the cluster, from a human user typing kubectl on a workstation, to kubelets on nodes, to members of the control plane, must authenticate when making requests to the API server, or be treated as an anonymous user.Authentication strategiesKubernetes uses client certificates, bearer tokens, or an authenticating proxy to authenticate API requests through authentication plugins. As HTTP requests are made to the API server, plugins attempt to associate the following attributes with the request:Username: a string which identifies the end user. Common values might be kube-admin or jane@example.com.UID: a string which identifies the end user and attempts to be more consistent and unique than username.Groups: a set of strings, each of which indicates the user's membership in a named logical collection of users. Common values might be system:masters or devops-team.Extra fields: a map of strings to list of strings which holds additional information authorizers may find useful.Note:All values are opaque to the authentication system and only hold significance when interpreted by an authorizer.Authentication methodsYou can enable multiple authentication methods at once. You should usually use at least two methods:service account tokens for service accountsat least one other method for user authentication.When multiple authenticator modules are enabled, the first module to successfully authenticate t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_qa_16040"
  },
  {
    "question": "What are the benefits of Authenticating?",
    "answer": "AuthenticatingThis page provides an overview of authentication in Kubernetes, with a focus on authentication to the Kubernetes API.Users in KubernetesAll Kubernetes clusters have two categories of users: service accounts managed by Kubernetes, and normal users.It is assumed that a cluster-independent service manages normal users in the following ways:an administrator distributing private keysa user store like Keystone or Google Accountsa file with a list of usernames and passwordsIn this regard, Kubernetes does not have objects which represent normal user accounts. Normal users cannot be added to a cluster through an API call.Even though a normal user cannot be added via an API call, any user that presents a valid certificate signed by the cluster's certificate authority (CA) is considered authenticated. In this configuration, Kubernetes determines the username from the common name field in the 'subject' of the cert (e.g., \"/CN=bob\"). From there, the role based access control (RBAC) sub-system would determine whether the user is authorized to perform a specific operation on a resource.In contrast, service accounts are users managed by the Kubernetes API. They are bound to specific namespaces, and created automatically by the API server or manually through API calls. Service accounts are tied to a set of credentials stored as Secrets, which are mounted into pods allowing in-cluster processes to talk to the Kubernetes API.API requests are tied to either a normal user or a service account, or are treated as anonymous requests. This means every process inside or outside the cluster, from a human user typing kubectl on a workstation, to kubelets on nodes, to members of the control plane, must authenticate when making requests to the API server, or be treated as an anonymous user.Authentication strategiesKubernetes uses client certificates, bearer tokens, or an authenticating proxy to authenticate API requests through authentication plugins. As HTTP requests are made to the API server, plugins attempt to associate the following attributes with the request:Username: a string which identifies the end user. Common values might be kube-admin or jane@example.com.UID: a string which identifies the end user and attempts to be more consistent and unique than username.Groups: a set of strings, each of which indicates the user's membership in a named logical collection of users. Common values might be system:masters or devops-team.Extra fields: a map of strings to list of strings which holds additional information authorizers may find useful.Note:All values are opaque to the authentication system and only hold significance when interpreted by an authorizer.Authentication methodsYou can enable multiple authentication methods at once. You should usually use at least two methods:service account tokens for service accountsat least one other method for user authentication.When multiple authenticator modules are enabled, the first module to successfully authenticate t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_qa_16041"
  },
  {
    "question": "What is Authenticating?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   o f   a u t h e n t i c a t i o n   i n   K u b e r n e t e s ,   w i t h   a   f o c u s   o n   a u t h e n t i c a t i o n   t o   t h e   K u b e r n e t e s   A P I .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_1_16042"
  },
  {
    "question": "What is Users in Kubernetes?",
    "answer": "A l l   K u b e r n e t e s   c l u s t e r s   h a v e   t w o   c a t e g o r i e s   o f   u s e r s :   s e r v i c e   a c c o u n t s   m a n a g e d   b y   K u b e r n e t e s ,   a n d   n o r m a l   u s e r s .   I t   i s   a s s u m e d   t h a t   a   c l u s t e r - i n d e p e n d e n t   s e r v i c e   m a n a g e s   n o r m a l   u s e r s   i n   t h e   f o l l o w i n g   w a y s :   a n   a d m i n i s t r a t o r   d i s t r i b u t i n g   p r i v a t e   k e y s a   u s e r   s t o r e   l i k e   K e y s t o n e   o r   G o o g l e   A c c o u n t s a   f i l e   w i t h   a   l i s t   o f   u s e r n a m e s   a n d   p a s s w o r d s   I n   t h i s   r e g a r d ,   K u b e r n e t e s   d o e s   n o t   h a v e   o b j e c t s   w h i c h   r e p r e s e n t   n o r m a l   u s e r   a c c o u n t s .   N o r m a l   u s e r s   c a n n o t   b e   a d d e d   t o   a   c l u s t e r   t h r o u g h   a n   A P I   c a l l .   E v e n   t h o u g h   a   n o r m a l   u s e r   c a n n o t   b e   a d d e d   v i a   a n   A P I   c a l l ,   a n y   u s e r   t h a t   p r e s e n t s   a   v a l i d   c e r t i f i c a t e   s i g n e d   b y   t h e   c l u s t e r ' s   c e r t i f i c a t e   a u t h o r i t y   ( C A )   i s   c o n s i d e r e d   a u t h e n t i c a t e d .   I n   t h i s   c o n f i g u r a t i o n ,   K u b e r n e t e s   d e t e r m i n e s   t h e   u s e r n a m e   f r o m   t h e   c o m m o n   n a m e   f i e l d   i n   t h e   ' s u b j e c t '   o f   t h e   c e r t   ( e . g . ,   \" / C N = b o b \" ) .   F r o m   t h e r e ,   t h e   r o l e   b a s e d   a c c e s s   c o n t r o l   ( R B A C )   s u b - s y s t e m   w o u l d   d e t e r m i n e   w h e t h e r   t h e   u s e r   i s   a u t h o r i z e d   t o   p e r f o r m   a   s p e c i f i c   o p e r a t i o n   o n   a   r e s o u r c e .   I n   c o n t r a s t ,   s e r v i c e   a c c o u n t s   a r e   u s e r s   m a n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_2_16043"
  },
  {
    "question": "What is Authentication strategies?",
    "answer": "K u b e r n e t e s   u s e s   c l i e n t   c e r t i f i c a t e s ,   b e a r e r   t o k e n s ,   o r   a n   a u t h e n t i c a t i n g   p r o x y   t o   a u t h e n t i c a t e   A P I   r e q u e s t s   t h r o u g h   a u t h e n t i c a t i o n   p l u g i n s .   A s   H T T P   r e q u e s t s   a r e   m a d e   t o   t h e   A P I   s e r v e r ,   p l u g i n s   a t t e m p t   t o   a s s o c i a t e   t h e   f o l l o w i n g   a t t r i b u t e s   w i t h   t h e   r e q u e s t :   U s e r n a m e :   a   s t r i n g   w h i c h   i d e n t i f i e s   t h e   e n d   u s e r .   C o m m o n   v a l u e s   m i g h t   b e   k u b e - a d m i n   o r   j a n e @ e x a m p l e . c o m . U I D :   a   s t r i n g   w h i c h   i d e n t i f i e s   t h e   e n d   u s e r   a n d   a t t e m p t s   t o   b e   m o r e   c o n s i s t e n t   a n d   u n i q u e   t h a n   u s e r n a m e . G r o u p s :   a   s e t   o f   s t r i n g s ,   e a c h   o f   w h i c h   i n d i c a t e s   t h e   u s e r ' s   m e m b e r s h i p   i n   a   n a m e d   l o g i c a l   c o l l e c t i o n   o f   u s e r s .   C o m m o n   v a l u e s   m i g h t   b e   s y s t e m : m a s t e r s   o r   d e v o p s - t e a m . E x t r a   f i e l d s :   a   m a p   o f   s t r i n g s   t o   l i s t   o f   s t r i n g s   w h i c h   h o l d s   a d d i t i o n a l   i n f o r m a t i o n   a u t h o r i z e r s   m a y   f i n d   u s e f u l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_2_16044"
  },
  {
    "question": "What is Authentication methods?",
    "answer": "Y o u   c a n   e n a b l e   m u l t i p l e   a u t h e n t i c a t i o n   m e t h o d s   a t   o n c e .   Y o u   s h o u l d   u s u a l l y   u s e   a t   l e a s t   t w o   m e t h o d s :   s e r v i c e   a c c o u n t   t o k e n s   f o r   s e r v i c e   a c c o u n t s a t   l e a s t   o n e   o t h e r   m e t h o d   f o r   u s e r   a u t h e n t i c a t i o n .   W h e n   m u l t i p l e   a u t h e n t i c a t o r   m o d u l e s   a r e   e n a b l e d ,   t h e   f i r s t   m o d u l e   t o   s u c c e s s f u l l y   a u t h e n t i c a t e   t h e   r e q u e s t   s h o r t - c i r c u i t s   e v a l u a t i o n .   T h e   A P I   s e r v e r   d o e s   n o t   g u a r a n t e e   t h e   o r d e r   a u t h e n t i c a t o r s   r u n   i n .   T h e   s y s t e m : a u t h e n t i c a t e d   g r o u p   i s   i n c l u d e d   i n   t h e   l i s t   o f   g r o u p s   f o r   a l l   a u t h e n t i c a t e d   u s e r s .   I n t e g r a t i o n s   w i t h   o t h e r   a u t h e n t i c a t i o n   p r o t o c o l s   ( L D A P ,   S A M L ,   K e r b e r o s ,   a l t e r n a t e   x 5 0 9   s c h e m e s ,   e t c )   a r e   a v a i l a b l e ;   f o r   e x a m p l e   u s i n g   a n   a u t h e n t i c a t i n g   p r o x y   o r   t h e   a u t h e n t i c a t i o n   w e b h o o k .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_2_16045"
  },
  {
    "question": "What is X.509 client certificates?",
    "answer": "C l i e n t   c e r t i f i c a t e   a u t h e n t i c a t i o n   i s   e n a b l e d   b y   p a s s i n g   t h e   - - c l i e n t - c a - f i l e = S O M E F I L E   o p t i o n   t o   A P I   s e r v e r .   T h e   r e f e r e n c e d   f i l e   m u s t   c o n t a i n   o n e   o r   m o r e   c e r t i f i c a t e   a u t h o r i t i e s   t o   u s e   t o   v a l i d a t e   c l i e n t   c e r t i f i c a t e s   p r e s e n t e d   t o   t h e   A P I   s e r v e r .   I f   a   c l i e n t   c e r t i f i c a t e   i s   p r e s e n t e d   a n d   v e r i f i e d ,   t h e   c o m m o n   n a m e   o f   t h e   s u b j e c t   i s   u s e d   a s   t h e   u s e r   n a m e   f o r   t h e   r e q u e s t .   A s   o f   K u b e r n e t e s   1 . 4 ,   c l i e n t   c e r t i f i c a t e s   c a n   a l s o   i n d i c a t e   a   u s e r ' s   g r o u p   m e m b e r s h i p s   u s i n g   t h e   c e r t i f i c a t e ' s   o r g a n i z a t i o n   f i e l d s .   T o   i n c l u d e   m u l t i p l e   g r o u p   m e m b e r s h i p s   f o r   a   u s e r ,   i n c l u d e   m u l t i p l e   o r g a n i z a t i o n   f i e l d s   i n   t h e   c e r t i f i c a t e .   F o r   e x a m p l e ,   u s i n g   t h e   o p e n s s l   c o m m a n d   l i n e   t o o l   t o   g e n e r a t e   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t :   o p e n s s l   r e q   - n e w   - k e y   j b e d a . p e m   - o u t   j b e d a - c s r . p e m   - s u b j   \" / C N = j b e d a / O = a p p 1 / O = a p p 2 \"   T h i s   w o u l d   c r e a t e   a   C S R   f o r   t h e   u s e r n a m e   \" j b e d a \" ,   b e l o n g i n g   t o   t w o   g r o u p s ,   \" a p p 1 \"   a n d   \" a p p 2 \" .   S e e   M a n a g i n g   C e r t i f i c a t e s   f o r   h o w   t o   g e n e r a t e   a   c l i e n t   c e r t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_3_16046"
  },
  {
    "question": "What is Putting a bearer token in a request?",
    "answer": "W h e n   u s i n g   b e a r e r   t o k e n   a u t h e n t i c a t i o n   f r o m   a n   h t t p   c l i e n t ,   t h e   A P I   s e r v e r   e x p e c t s   a n   A u t h o r i z a t i o n   h e a d e r   w i t h   a   v a l u e   o f   B e a r e r   < t o k e n > .   T h e   b e a r e r   t o k e n   m u s t   b e   a   c h a r a c t e r   s e q u e n c e   t h a t   c a n   b e   p u t   i n   a n   H T T P   h e a d e r   v a l u e   u s i n g   n o   m o r e   t h a n   t h e   e n c o d i n g   a n d   q u o t i n g   f a c i l i t i e s   o f   H T T P .   F o r   e x a m p l e :   i f   t h e   b e a r e r   t o k e n   i s   3 1 a d a 4 f d - a d e c - 4 6 0 c - 8 0 9 a - 9 e 5 6 c e b 7 5 2 6 9   t h e n   i t   w o u l d   a p p e a r   i n   a n   H T T P   h e a d e r   a s   s h o w n   b e l o w .   A u t h o r i z a t i o n :   B e a r e r   3 1 a d a 4 f d - a d e c - 4 6 0 c - 8 0 9 a - 9 e 5 6 c e b 7 5 2 6 9",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_4_16047"
  },
  {
    "question": "What is Bootstrap tokens?",
    "answer": "T o   a l l o w   f o r   s t r e a m l i n e d   b o o t s t r a p p i n g   f o r   n e w   c l u s t e r s ,   K u b e r n e t e s   i n c l u d e s   a   d y n a m i c a l l y - m a n a g e d   B e a r e r   t o k e n   t y p e   c a l l e d   a   B o o t s t r a p   T o k e n .   T h e s e   t o k e n s   a r e   s t o r e d   a s   S e c r e t s   i n   t h e   k u b e - s y s t e m   n a m e s p a c e ,   w h e r e   t h e y   c a n   b e   d y n a m i c a l l y   m a n a g e d   a n d   c r e a t e d .   C o n t r o l l e r   M a n a g e r   c o n t a i n s   a   T o k e n C l e a n e r   c o n t r o l l e r   t h a t   d e l e t e s   b o o t s t r a p   t o k e n s   a s   t h e y   e x p i r e .   T h e   t o k e n s   a r e   o f   t h e   f o r m   [ a - z 0 - 9 ] { 6 } . [ a - z 0 - 9 ] { 1 6 } .   T h e   f i r s t   c o m p o n e n t   i s   a   T o k e n   I D   a n d   t h e   s e c o n d   c o m p o n e n t   i s   t h e   T o k e n   S e c r e t .   Y o u   s p e c i f y   t h e   t o k e n   i n   a n   H T T P   h e a d e r   a s   f o l l o w s :   A u t h o r i z a t i o n :   B e a r e r   7 8 1 2 9 2 . d b 7 b c 3 a 5 8 f c 5 f 0 7 e   Y o u   m u s t   e n a b l e   t h e   B o o t s t r a p   T o k e n   A u t h e n t i c a t o r   w i t h   t h e   - - e n a b l e - b o o t s t r a p - t o k e n - a u t h   f l a g   o n   t h e   A P I   S e r v e r .   Y o u   m u s t   e n a b l e   t h e   T o k e n C l e a n e r   c o n t r o l l e r   v i a   t h e   - - c o n t r o l l e r s   c o m m a n d   l i n e   a r g u m e n t   f o r   k u b e - c o n t r o l l e r - m a n a g e r .   T h i s   i s   d o n e   w i t h   s o m e t h i n g   l i k e   - - c o n t r o l l e r s = * , t o k e n c l e a n e r .   T h e   k u b e a d m   t o o l   w i l l   d o   t h i s   f o r   y o u   i f   y o u   a r e   u s i n g   i t   t o   b o o t s t r a p   a   c l u s t e r .   T h e   a u t h e n t i c a t o r   a u t h e n t i c a t e s   a s   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_3_16048"
  },
  {
    "question": "What is Service account tokens?",
    "answer": "A   s e r v i c e   a c c o u n t   i s   a n   a u t o m a t i c a l l y   e n a b l e d   a u t h e n t i c a t o r   t h a t   u s e s   s i g n e d   b e a r e r   t o k e n s   t o   v e r i f y   r e q u e s t s .   T h e   p l u g i n   t a k e s   t w o   o p t i o n a l   f l a g s :   - - s e r v i c e - a c c o u n t - k e y - f i l e   F i l e   c o n t a i n i n g   P E M - e n c o d e d   x 5 0 9   R S A   o r   E C D S A   p r i v a t e   o r   p u b l i c   k e y s ,   u s e d   t o   v e r i f y   S e r v i c e A c c o u n t   t o k e n s .   T h e   s p e c i f i e d   f i l e   c a n   c o n t a i n   m u l t i p l e   k e y s ,   a n d   t h e   f l a g   c a n   b e   s p e c i f i e d   m u l t i p l e   t i m e s   w i t h   d i f f e r e n t   f i l e s .   I f   u n s p e c i f i e d ,   - - t l s - p r i v a t e - k e y - f i l e   i s   u s e d . - - s e r v i c e - a c c o u n t - l o o k u p   I f   e n a b l e d ,   t o k e n s   w h i c h   a r e   d e l e t e d   f r o m   t h e   A P I   w i l l   b e   r e v o k e d .   S e r v i c e   a c c o u n t s   a r e   u s u a l l y   c r e a t e d   a u t o m a t i c a l l y   b y   t h e   A P I   s e r v e r   a n d   a s s o c i a t e d   w i t h   p o d s   r u n n i n g   i n   t h e   c l u s t e r   t h r o u g h   t h e   S e r v i c e A c c o u n t   A d m i s s i o n   C o n t r o l l e r .   B e a r e r   t o k e n s   a r e   m o u n t e d   i n t o   p o d s   a t   w e l l - k n o w n   l o c a t i o n s ,   a n d   a l l o w   i n - c l u s t e r   p r o c e s s e s   t o   t a l k   t o   t h e   A P I   s e r v e r .   A c c o u n t s   m a y   b e   e x p l i c i t l y   a s s o c i a t e d   w i t h   p o d s   u s i n g   t h e   s e r v i c e A c c o u n t N a m e   f i e l d   o f   a   P o d S p e c .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_3_16049"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i V e r s i o n :   a p p s / v 1   #   t h i s   a p i V e r s i o n   i s   r e l e v a n t   a s   o f   K u b e r n e t e s   1 . 9   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   n a m e s p a c e :   d e f a u l t   s p e c :   r e p l i c a s :   3   t e m p l a t e :   m e t a d a t a :   #   . . .   s p e c :   s e r v i c e A c c o u n t N a m e :   b o b - t h e - b o t   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   S e r v i c e   a c c o u n t   b e a r e r   t o k e n s   a r e   p e r f e c t l y   v a l i d   t o   u s e   o u t s i d e   t h e   c l u s t e r   a n d   c a n   b e   u s e d   t o   c r e a t e   i d e n t i t i e s   f o r   l o n g   s t a n d i n g   j o b s   t h a t   w i s h   t o   t a l k   t o   t h e   K u b e r n e t e s   A P I .   T o   m a n u a l l y   c r e a t e   a   s e r v i c e   a c c o u n t ,   u s e   t h e   k u b e c t l   c r e a t e   s e r v i c e a c c o u n t   ( N A M E )   c o m m a n d .   T h i s   c r e a t e s   a   s e r v i c e   a c c o u n t   i n   t h e   c u r r e n t   n a m e s p a c e .   k u b e c t l   c r e a t e   s e r v i c e a c c o u n t   j e n k i n s   s e r v i c e a c c o u n t / j e n k i n s   c r e a t e d   Y o u   c a n   m a n u a l l y   c r e a t e   a n   a s s o c i a t e d   t o k e n :   k u b e c t l   c r e a t e   t o k e n   j e n k i n s   e y J h b G c i O i J S U z I 1 N i I s I m t p . . .   T h e   c r e a t e d   t o k e n   i s   a   s i g n e d   J S O N   W e b   T o k e n   ( J W T ) .   T h e   s i g n e d   J W T   c a n   b e   u s e d   a s   a   b e a r e r   t o k e n   t o   a u t h e n t i c a t e   a s   t h e   g i v e n   s e r v i c e   a c c o u n t .   S e e   a b o v e   f o r   h o w   t h e   t o k e n   i s   i n c l u d e d   i n   a   r e q u e s t .   N o r m a l l y   t h e s e   t o k e n s   a r e   m o u n t e d   i n t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_4_16050"
  },
  {
    "question": "What is External integrations?",
    "answer": "K u b e r n e t e s   h a s   n a t i v e   s u p p o r t   f o r   O p e n I D   C o n n e c t   ( O I D C ) ;   s e e   O p e n I D   C o n n e c t   t o k e n s .   I n t e g r a t i o n s   w i t h   o t h e r   a u t h e n t i c a t i o n   p r o t o c o l s   ( f o r   e x a m p l e :   L D A P ,   S A M L ,   K e r b e r o s ,   a l t e r n a t e   X . 5 0 9   s c h e m e s )   c a n   b e   a c c o m p l i s h e d   u s i n g   a n   a u t h e n t i c a t i n g   p r o x y   o r   b y   i n t e g r a t i n g   w i t h   a n   a u t h e n t i c a t i o n   w e b h o o k .   Y o u   c a n   a l s o   u s e   a n y   c u s t o m   m e t h o d   t h a t   i s s u e s   c l i e n t   X . 5 0 9   c e r t i f i c a t e s   t o   c l i e n t s ,   p r o v i d e d   t h a t   t h e   A P I   s e r v e r   w i l l   t r u s t   t h e   v a l i d   c e r t i f i c a t e s .   R e a d   X . 5 0 9   c l i e n t   c e r t i f i c a t e s   t o   l e a r n   a b o u t   h o w   t o   g e n e r a t e   a   c e r t i f i c a t e .   I f   y o u   d o   i s s u e   c e r t i f i c a t e s   t o   c l i e n t s ,   i t   i s   u p   t o   y o u   ( a s   a   c l o u d   p l a t f o r m   a d m i n i s t r a t o r )   t o   m a k e   s u r e   t h a t   t h e   c e r t i f i c a t e   v a l i d i t y   p e r i o d ,   a n d   o t h e r   d e s i g n   c h o i c e s   y o u   m a k e ,   p r o v i d e   a   s u i t a b l e   l e v e l   o f   s e c u r i t y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_2_16051"
  },
  {
    "question": "What is OpenID Connect tokens?",
    "answer": "O p e n I D   C o n n e c t   i s   a   f l a v o r   o f   O A u t h 2   s u p p o r t e d   b y   s o m e   O A u t h 2   p r o v i d e r s ,   n o t a b l y   M i c r o s o f t   E n t r a   I D ,   S a l e s f o r c e ,   a n d   G o o g l e .   T h e   p r o t o c o l ' s   m a i n   e x t e n s i o n   o f   O A u t h 2   i s   a n   a d d i t i o n a l   f i e l d   r e t u r n e d   w i t h   t h e   a c c e s s   t o k e n   c a l l e d   a n   I D   T o k e n .   T h i s   t o k e n   i s   a   J S O N   W e b   T o k e n   ( J W T )   w i t h   w e l l   k n o w n   f i e l d s ,   s u c h   a s   a   u s e r ' s   e m a i l ,   s i g n e d   b y   t h e   s e r v e r .   T o   i d e n t i f y   t h e   u s e r ,   t h e   a u t h e n t i c a t o r   u s e s   t h e   i d _ t o k e n   ( n o t   t h e   a c c e s s _ t o k e n )   f r o m   t h e   O A u t h 2   t o k e n   r e s p o n s e   a s   a   b e a r e r   t o k e n .   S e e   a b o v e   f o r   h o w   t h e   t o k e n   i s   i n c l u d e d   i n   a   r e q u e s t .   L o g   i n   t o   y o u r   i d e n t i t y   p r o v i d e r Y o u r   i d e n t i t y   p r o v i d e r   w i l l   p r o v i d e   y o u   w i t h   a n   a c c e s s _ t o k e n ,   i d _ t o k e n   a n d   a   r e f r e s h _ t o k e n W h e n   u s i n g   k u b e c t l ,   u s e   y o u r   i d _ t o k e n   w i t h   t h e   - - t o k e n   c o m m a n d   l i n e   a r g u m e n t   o r   a d d   i t   d i r e c t l y   t o   y o u r   k u b e c o n f i g k u b e c t l   s e n d s   y o u r   i d _ t o k e n   i n   a   h e a d e r   c a l l e d   A u t h o r i z a t i o n   t o   t h e   A P I   s e r v e r T h e   A P I   s e r v e r   w i l l   m a k e   s u r e   t h e   J W T   s i g n a t u r e   i s   v a l i d C h e c k   t o   m a k e   s u r e   t h e   i d _ t o k e n   h a s n ' t   e x p i r e d P e r f o r m   c l a i m   a n d / o r   u s e r   v a l i d a t i o n   i f   C E L   e x p r e s s i o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_3_16052"
  },
  {
    "question": "What is Using command line arguments?",
    "answer": "T o   e n a b l e   t h e   p l u g i n ,   c o n f i g u r e   t h e   f o l l o w i n g   c o m m a n d   l i n e   a r g u m e n t s   f o r   t h e   A P I   s e r v e r :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_5_16053"
  },
  {
    "question": "What is Authentication configuration from a file?",
    "answer": "J W T   A u t h e n t i c a t o r   i s   a n   a u t h e n t i c a t o r   t o   a u t h e n t i c a t e   K u b e r n e t e s   u s e r s   u s i n g   J W T   c o m p l i a n t   t o k e n s .   T h e   a u t h e n t i c a t o r   w i l l   a t t e m p t   t o   p a r s e   a   r a w   I D   t o k e n ,   v e r i f y   i t ' s   b e e n   s i g n e d   b y   t h e   c o n f i g u r e d   i s s u e r .   T h e   p u b l i c   k e y   t o   v e r i f y   t h e   s i g n a t u r e   i s   d i s c o v e r e d   f r o m   t h e   i s s u e r ' s   p u b l i c   e n d p o i n t   u s i n g   O I D C   d i s c o v e r y .   T h e   m i n i m u m   v a l i d   J W T   p a y l o a d   m u s t   c o n t a i n   t h e   f o l l o w i n g   c l a i m s :   {   \" i s s \" :   \" h t t p s : / / e x a m p l e . c o m \" ,   / /   m u s t   m a t c h   t h e   i s s u e r . u r l   \" a u d \" :   [ \" m y - a p p \" ] ,   / /   a t   l e a s t   o n e   o f   t h e   e n t r i e s   i n   i s s u e r . a u d i e n c e s   m u s t   m a t c h   t h e   \" a u d \"   c l a i m   i n   p r e s e n t e d   J W T s .   \" e x p \" :   1 2 3 4 5 6 7 8 9 0 ,   / /   t o k e n   e x p i r a t i o n   a s   U n i x   t i m e   ( t h e   n u m b e r   o f   s e c o n d s   e l a p s e d   s i n c e   J a n u a r y   1 ,   1 9 7 0   U T C )   \" < u s e r n a m e - c l a i m > \" :   \" u s e r \"   / /   t h i s   i s   t h e   u s e r n a m e   c l a i m   c o n f i g u r e d   i n   t h e   c l a i m M a p p i n g s . u s e r n a m e . c l a i m   o r   c l a i m M a p p i n g s . u s e r n a m e . e x p r e s s i o n   }   T h e   c o n f i g u r a t i o n   f i l e   a p p r o a c h   a l l o w s   y o u   t o   c o n f i g u r e   m u l t i p l e   J W T   a u t h e n t i c a t o r s ,   e a c h   w i t h   a   u n i q u e   i s s u e r . u r l   a n d   i s s u e r . d i s c o v e r y U R L .   T h e   c o n f i g u r a t i o n   f i l e   e v e n   a l l o w s   y o u   t o   s p e c i f y   C ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_5_16054"
  },
  {
    "question": "What is Note:?",
    "answer": "- - -   #   #   C A U T I O N :   t h i s   i s   a n   e x a m p l e   c o n f i g u r a t i o n .   #   D o   n o t   u s e   t h i s   f o r   y o u r   o w n   c l u s t e r !   #   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   A u t h e n t i c a t i o n C o n f i g u r a t i o n   #   l i s t   o f   a u t h e n t i c a t o r s   t o   a u t h e n t i c a t e   K u b e r n e t e s   u s e r s   u s i n g   J W T   c o m p l i a n t   t o k e n s .   #   t h e   m a x i m u m   n u m b e r   o f   a l l o w e d   a u t h e n t i c a t o r s   i s   6 4 .   j w t :   -   i s s u e r :   #   u r l   m u s t   b e   u n i q u e   a c r o s s   a l l   a u t h e n t i c a t o r s .   #   u r l   m u s t   n o t   c o n f l i c t   w i t h   i s s u e r   c o n f i g u r e d   i n   - - s e r v i c e - a c c o u n t - i s s u e r .   u r l :   h t t p s : / / e x a m p l e . c o m   #   S a m e   a s   - - o i d c - i s s u e r - u r l .   #   d i s c o v e r y U R L ,   i f   s p e c i f i e d ,   o v e r r i d e s   t h e   U R L   u s e d   t o   f e t c h   d i s c o v e r y   #   i n f o r m a t i o n   i n s t e a d   o f   u s i n g   \" { u r l } / . w e l l - k n o w n / o p e n i d - c o n f i g u r a t i o n \" .   #   T h e   e x a c t   v a l u e   s p e c i f i e d   i s   u s e d ,   s o   \" / . w e l l - k n o w n / o p e n i d - c o n f i g u r a t i o n \"   #   m u s t   b e   i n c l u d e d   i n   d i s c o v e r y U R L   i f   n e e d e d .   #   #   T h e   \" i s s u e r \"   f i e l d   i n   t h e   f e t c h e d   d i s c o v e r y   i n f o r m a t i o n   m u s t   m a t c h   t h e   \" i s s u e r . u r l \"   f i e l d   #   i n   t h e   A u t h e n t i c a t i o n C o n f i g u r a t i o n   a n d   w i l l   b e   u s e d   t o   v a l i d a t e   t h e   \" i s s \"   c l a i m   i n   t h e   p r e s e n t e d   J W T .   #   T h i s   i s   f o r   s c e n a r i o s   w h e r e   t h e   w e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_4_16055"
  },
  {
    "question": "What is JWT egress selector type?",
    "answer": "T h e   e g r e s s S e l e c t o r T y p e   f i e l d   i n   t h e   J W T   i s s u e r   c o n f i g u r a t i o n   a l l o w s   y o u   t o   s p e c i f y   w h i c h   e g r e s s   s e l e c t o r   s h o u l d   b e   u s e d   f o r   s e n d i n g   a l l   t r a f f i c   r e l a t e d   t o   t h e   i s s u e r   ( d i s c o v e r y ,   J W K S ,   d i s t r i b u t e d   c l a i m s ,   e t c ) .   T h i s   f e a t u r e   r e q u i r e s   t h e   S t r u c t u r e d A u t h e n t i c a t i o n C o n f i g u r a t i o n E g r e s s S e l e c t o r   f e a t u r e   g a t e   t o   b e   e n a b l e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_5_16056"
  },
  {
    "question": "What is Limitations?",
    "answer": "D i s t r i b u t e d   c l a i m s   d o   n o t   w o r k   v i a   C E L   e x p r e s s i o n s .   K u b e r n e t e s   d o e s   n o t   p r o v i d e   a n   O p e n I D   C o n n e c t   I d e n t i t y   P r o v i d e r .   Y o u   c a n   u s e   a n   e x i s t i n g   p u b l i c   O p e n I D   C o n n e c t   I d e n t i t y   P r o v i d e r   o r   r u n   y o u r   o w n   I d e n t i t y   P r o v i d e r   t h a t   s u p p o r t s   t h e   O p e n I D   C o n n e c t   p r o t o c o l .   F o r   a n   i d e n t i t y   p r o v i d e r   t o   w o r k   w i t h   K u b e r n e t e s   i t   m u s t :   S u p p o r t   O p e n I D   c o n n e c t   d i s c o v e r y T h e   p u b l i c   k e y   t o   v e r i f y   t h e   s i g n a t u r e   i s   d i s c o v e r e d   f r o m   t h e   i s s u e r ' s   p u b l i c   e n d p o i n t   u s i n g   O I D C   d i s c o v e r y .   I f   y o u ' r e   u s i n g   t h e   a u t h e n t i c a t i o n   c o n f i g u r a t i o n   f i l e ,   t h e   i d e n t i t y   p r o v i d e r   d o e s n ' t   n e e d   t o   p u b l i c l y   e x p o s e   t h e   d i s c o v e r y   e n d p o i n t .   Y o u   c a n   h o s t   t h e   d i s c o v e r y   e n d p o i n t   a t   a   d i f f e r e n t   l o c a t i o n   t h a n   t h e   i s s u e r   ( s u c h   a s   l o c a l l y   i n   t h e   c l u s t e r )   a n d   s p e c i f y   t h e   i s s u e r . d i s c o v e r y U R L   i n   t h e   c o n f i g u r a t i o n   f i l e . R u n   i n   T L S   w i t h   n o n - o b s o l e t e   c i p h e r s H a v e   a   C A   s i g n e d   c e r t i f i c a t e   ( e v e n   i f   t h e   C A   i s   n o t   a   c o m m e r c i a l   C A   o r   i s   s e l f   s i g n e d )   S u p p o r t   O p e n I D   c o n n e c t   d i s c o v e r y   T h e   p u b l i c   k e y   t o   v e r i f y   t h e   s i g n a t u r e   i s   d i s c o v e r e d   f r o m   t h e   i s s u e r ' s   p u b l i c   e n d p o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_5_16057"
  },
  {
    "question": "What is Option 1 - OIDC authenticator?",
    "answer": "T h e   f i r s t   o p t i o n   i s   t o   u s e   t h e   k u b e c t l   o i d c   a u t h e n t i c a t o r ,   w h i c h   s e t s   t h e   i d _ t o k e n   a s   a   b e a r e r   t o k e n   f o r   a l l   r e q u e s t s   a n d   r e f r e s h e s   t h e   t o k e n   o n c e   i t   e x p i r e s .   A f t e r   y o u ' v e   l o g g e d   i n t o   y o u r   p r o v i d e r ,   u s e   k u b e c t l   t o   a d d   y o u r   i d _ t o k e n ,   r e f r e s h _ t o k e n ,   c l i e n t _ i d ,   a n d   c l i e n t _ s e c r e t   t o   c o n f i g u r e   t h e   p l u g i n .   P r o v i d e r s   t h a t   d o n ' t   r e t u r n   a n   i d _ t o k e n   a s   p a r t   o f   t h e i r   r e f r e s h   t o k e n   r e s p o n s e   a r e n ' t   s u p p o r t e d   b y   t h i s   p l u g i n   a n d   s h o u l d   u s e   O p t i o n   2   ( s p e c i f y i n g   - - t o k e n ) .   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   U S E R _ N A M E   \\   - - a u t h - p r o v i d e r = o i d c   \\   - - a u t h - p r o v i d e r - a r g = i d p - i s s u e r - u r l = (   i s s u e r   u r l   )   \\   - - a u t h - p r o v i d e r - a r g = c l i e n t - i d = (   y o u r   c l i e n t   i d   )   \\   - - a u t h - p r o v i d e r - a r g = c l i e n t - s e c r e t = (   y o u r   c l i e n t   s e c r e t   )   \\   - - a u t h - p r o v i d e r - a r g = r e f r e s h - t o k e n = (   y o u r   r e f r e s h   t o k e n   )   \\   - - a u t h - p r o v i d e r - a r g = i d p - c e r t i f i c a t e - a u t h o r i t y = (   p a t h   t o   y o u r   c a   c e r t i f i c a t e   )   \\   - - a u t h - p r o v i d e r - a r g = i d - t o k e n = (   y o u r   i d _ t o k e n   )   A s   a n   e x a m p l e ,   r u n n i n g   t h e   b e l o w   c o m m a n d   a f t e r   a u t h e n t i c a t i n g   t o   y o u r   i d e n t i t y   p r o v i d e r :   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   m m o s l e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_5_16058"
  },
  {
    "question": "What is Option 2 - Use the --token command line argument?",
    "answer": "T h e   k u b e c t l   c o m m a n d   l e t s   y o u   p a s s   i n   a   t o k e n   u s i n g   t h e   - - t o k e n   c o m m a n d   l i n e   a r g u m e n t .   C o p y   a n d   p a s t e   t h e   i d _ t o k e n   i n t o   t h i s   o p t i o n :   k u b e c t l   - - t o k e n = e y J h b G c i O i J S U z I 1 N i J 9 . e y J p c 3 M i O i J o d H R w c z o v L 2 1 s Y i 5 0 c m V t b 2 x v L m x h b j o 4 M D Q z L 2 F 1 d G g v a W R w L 2 9 p Z G M i L C J h d W Q i O i J r d W J l c m 5 l d G V z I i w i Z X h w I j o x N D c 0 N T k 2 N j Y 5 L C J q d G k i O i I 2 R D U z N X o x U E p F N j J O R 3 Q x a W V y Y m 9 R I i w i a W F 0 I j o x N D c 0 N T k 2 M z Y 5 L C J u Y m Y i O j E 0 N z Q 1 O T Y y N D k s I n N 1 Y i I 6 I m 1 3 a W 5 k d S I s I n V z Z X J f c m 9 s Z S I 6 W y J 1 c 2 V y c y I s I m 5 l d y 1 u Y W 1 l c 3 B h Y 2 U t d m l l d 2 V y I l 0 s I m V t Y W l s I j o i b X d p b m R 1 Q G 5 v b W 9 y Z W p l Z G k u Y 2 9 t I n 0 . f 2 A s 5 7 9 n 9 V N o a K z o F - d O Q G m X k F K f 1 F M y N V 0 - v a _ B 6 3 j n - _ n 9 L G S C c a _ 6 I V M P 8 p O - Z b 4 K v R q G y T P 0 r 3 H k H x Y y 5 c 8 1 A n I h 8 i j a r r u c z l - T K _ y F 5 a k j S T H F Z D - 0 g R z l e v B D i H 8 Q 7 9 N A r - k y 0 P 4 i I X S 8 l Y 9 V n j c h 5 M F 7 4 Z x 0 c 3 a l K J H J U n n p j I A C B y f F 2 S C a Y z b W F M U N a t - K 1 P a U k 5 - u j M B G 7 y Y n r 9 5 x D - 6 3 n 8 C O 8 t e G U A A E M x 6 z R j z f h n h b z X - a j w Z L G w G U B T 4 W q j M s 7 0 - 6 a 7 _ 8 g Z m L Z b 2 a z 1 c Z y n k F R j 2 B a C k V T 3 A 2 R r j e E w Z E t G X l M q K J 1 _ I 2 u l r O V s Y x 0 1 _ y D 3 5 - r w   g e t   n o d e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_5_16059"
  },
  {
    "question": "What is Webhook token authentication?",
    "answer": "K u b e r n e t e s   w e b h o o k   a u t h e n t i c a t i o n   i s   a   m e c h a n i s m   t o   m a k e   a n   H T T P   c a l l o u t   f o r   v e r i f y i n g   b e a r e r   t o k e n s .   I n   t e r m s   o f   h o w   y o u   c o n f i g u r e   t h e   A P I   s e r v e r :   - - a u t h e n t i c a t i o n - t o k e n - w e b h o o k - c o n f i g - f i l e   a   c o n f i g u r a t i o n   f i l e   d e s c r i b i n g   h o w   t o   a c c e s s   t h e   r e m o t e   w e b h o o k   s e r v i c e . - - a u t h e n t i c a t i o n - t o k e n - w e b h o o k - c a c h e - t t l   h o w   l o n g   t o   c a c h e   a u t h e n t i c a t i o n   d e c i s i o n s .   D e f a u l t s   t o   t w o   m i n u t e s . - - a u t h e n t i c a t i o n - t o k e n - w e b h o o k - v e r s i o n   d e t e r m i n e s   w h e t h e r   t o   u s e   a u t h e n t i c a t i o n . k 8 s . i o / v 1 b e t a 1   o r   a u t h e n t i c a t i o n . k 8 s . i o / v 1   T o k e n R e v i e w   o b j e c t s   t o   s e n d / r e c e i v e   i n f o r m a t i o n   f r o m   t h e   w e b h o o k .   D e f a u l t s   t o   v 1 b e t a 1 .   T h e   c o n f i g u r a t i o n   f i l e   u s e s   t h e   k u b e c o n f i g   f i l e   f o r m a t .   W i t h i n   t h e   f i l e ,   c l u s t e r s   r e f e r s   t o   t h e   r e m o t e   s e r v i c e   a n d   u s e r s   r e f e r s   t o   t h e   A P I   s e r v e r   w e b h o o k .   A n   e x a m p l e   w o u l d   b e :   #   K u b e r n e t e s   A P I   v e r s i o n   a p i V e r s i o n :   v 1   #   k i n d   o f   t h e   A P I   o b j e c t   k i n d :   C o n f i g   #   c l u s t e r s   r e f e r s   t o   t h e   r e m o t e   s e r v i c e .   c l u s t e r s :   -   n a m e :   n a m e - o f - r e m o t e - a u t h n - s e r v i c e   c l u s t e r :   c e r t i f i c a t e - a u t h o r i t y :   / p a t h / t o / c a . p e m   #   C A   f o r   v e r i f y i n g   t h e   r e m o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_3_16060"
  },
  {
    "question": "What is Note:?",
    "answer": "{   \" a p i V e r s i o n \" :   \" a u t h e n t i c a t i o n . k 8 s . i o / v 1 \" ,   \" k i n d \" :   \" T o k e n R e v i e w \" ,   \" s p e c \" :   {   #   O p a q u e   b e a r e r   t o k e n   s e n t   t o   t h e   A P I   s e r v e r   \" t o k e n \" :   \" 0 1 4 f b f f 9 a 0 7 c . . . \" ,   #   O p t i o n a l   l i s t   o f   t h e   a u d i e n c e   i d e n t i f i e r s   f o r   t h e   s e r v e r   t h e   t o k e n   w a s   p r e s e n t e d   t o .   #   A u d i e n c e - a w a r e   t o k e n   a u t h e n t i c a t o r s   ( f o r   e x a m p l e ,   O I D C   t o k e n   a u t h e n t i c a t o r s )   #   s h o u l d   v e r i f y   t h e   t o k e n   w a s   i n t e n d e d   f o r   a t   l e a s t   o n e   o f   t h e   a u d i e n c e s   i n   t h i s   l i s t ,   #   a n d   r e t u r n   t h e   i n t e r s e c t i o n   o f   t h i s   l i s t   a n d   t h e   v a l i d   a u d i e n c e s   f o r   t h e   t o k e n   i n   t h e   r e s p o n s e   s t a t u s .   #   T h i s   e n s u r e s   t h e   t o k e n   i s   v a l i d   t o   a u t h e n t i c a t e   t o   t h e   s e r v e r   i t   w a s   p r e s e n t e d   t o .   #   I f   n o   a u d i e n c e s   a r e   p r o v i d e d ,   t h e   t o k e n   s h o u l d   b e   v a l i d a t e d   t o   a u t h e n t i c a t e   t o   t h e   K u b e r n e t e s   A P I   s e r v e r .   \" a u d i e n c e s \" :   [ \" h t t p s : / / m y s e r v e r . e x a m p l e . c o m \" ,   \" h t t p s : / / m y s e r v e r . i n t e r n a l . e x a m p l e . c o m \" ]   }   }   {   \" a p i V e r s i o n \" :   \" a u t h e n t i c a t i o n . k 8 s . i o / v 1 b e t a 1 \" ,   \" k i n d \" :   \" T o k e n R e v i e w \" ,   \" s p e c \" :   {   #   O p a q u e   b e a r e r   t o k e n   s e n t   t o   t h e   A P I   s e r v e r   \" t o k e n \" :   \" 0 1 4 f b f f 9 a 0 7 c . . . \" ,   #   O p t i o n a l   l i s t   o f   t h e   a u d i e n c e   i d e n t i f i e r s   f o r   t h e   s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_4_16061"
  },
  {
    "question": "What is Warning:?",
    "answer": "T h e   A P I   s e r v e r   c a n   b e   c o n f i g u r e d   t o   i d e n t i f y   u s e r s   f r o m   r e q u e s t   h e a d e r   v a l u e s ,   s u c h   a s   X - R e m o t e - U s e r .   I t   i s   d e s i g n e d   f o r   u s e   i n   c o m b i n a t i o n   w i t h   a n   a u t h e n t i c a t i n g   p r o x y   t h a t   s e t s   t h e s e   h e a d e r s .   T h e   c o m m a n d   l i n e   a r g u m e n t s   t o   c o n f i g u r e   t h i s   m o d e   a r e :   F o r   e x a m p l e ,   w i t h   t h i s   c o n f i g u r a t i o n :   - - r e q u e s t h e a d e r - u s e r n a m e - h e a d e r s = X - R e m o t e - U s e r   - - r e q u e s t h e a d e r - g r o u p - h e a d e r s = X - R e m o t e - G r o u p   - - r e q u e s t h e a d e r - e x t r a - h e a d e r s - p r e f i x = X - R e m o t e - E x t r a -   t h i s   r e q u e s t :   G E T   /   H T T P / 1 . 1   X - R e m o t e - U s e r :   f i d o   X - R e m o t e - G r o u p :   d o g s   X - R e m o t e - G r o u p :   d a c h s h u n d s   X - R e m o t e - E x t r a - A c m e . c o m % 2 F p r o j e c t :   s o m e - p r o j e c t   X - R e m o t e - E x t r a - S c o p e s :   o p e n i d   X - R e m o t e - E x t r a - S c o p e s :   p r o f i l e   w o u l d   r e s u l t   i n   t h i s   u s e r   i n f o :   n a m e :   f i d o   g r o u p s :   -   d o g s   -   d a c h s h u n d s   e x t r a :   a c m e . c o m / p r o j e c t :   -   s o m e - p r o j e c t   s c o p e s :   -   o p e n i d   -   p r o f i l e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_4_16062"
  },
  {
    "question": "What is Client certificate?",
    "answer": "I n   o r d e r   t o   p r e v e n t   h e a d e r   s p o o f i n g ,   t h e   a u t h e n t i c a t i n g   p r o x y   i s   r e q u i r e d   t o   p r e s e n t   a   v a l i d   c l i e n t   c e r t i f i c a t e   t o   t h e   A P I   s e r v e r   f o r   v a l i d a t i o n   a g a i n s t   t h e   s p e c i f i e d   C A   b e f o r e   t h e   r e q u e s t   h e a d e r s   a r e   c h e c k e d .   D o   n o t   r e u s e   a   C A   t h a t   i s   u s e d   i n   a   d i f f e r e n t   c o n t e x t   u n l e s s   y o u   u n d e r s t a n d   t h e   r i s k s   a n d   t h e   m e c h a n i s m s   t o   p r o t e c t   t h e   C A ' s   u s a g e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_4_16063"
  },
  {
    "question": "What is Static token file integration?",
    "answer": "T h e   A P I   s e r v e r   r e a d s   s t a t i c   b e a r e r   t o k e n s   f r o m   a   f i l e   w h e n   g i v e n   t h e   - - t o k e n - a u t h - f i l e = < S O M E F I L E >   o p t i o n   o n   t h e   c o m m a n d   l i n e .   I n   K u b e r n e t e s   1 . 3 4 ,   t o k e n s   l a s t   i n d e f i n i t e l y ,   a n d   t h e   t o k e n   l i s t   c a n n o t   b e   c h a n g e d   w i t h o u t   r e s t a r t i n g   t h e   A P I   s e r v e r .   T h e   t o k e n   f i l e   i s   a   C S V   f i l e   w i t h   a   m i n i m u m   o f   3   c o l u m n s :   t o k e n ,   u s e r   n a m e ,   u s e r   u i d ,   f o l l o w e d   b y   a   c o m m a - s e p a r a t e d   l i s t   o f   o p t i o n a l   g r o u p   n a m e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_3_16064"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   h a v e   m o r e   t h a n   o n e   g r o u p ,   t h e   c o l u m n   m u s t   b e   d o u b l e   q u o t e d   e . g .   t o k e n , u s e r , u i d , \" g r o u p 1 , g r o u p 2 , g r o u p 3 \"   U s i n g   a   s t a t i c   t o k e n   f i l e   i s   a p p r o p r i a t e   f o r   t o k e n s   t h a t   b y   t h e i r   n a t u r e   a r e   l o n g - l i v e d ,   s t a t i c ,   a n d   p e r h a p s   m a y   n e v e r   b e   r o t a t e d .   I t   i s   a l s o   u s e f u l   w h e n   t h e   c l i e n t   i s   l o c a l   t o   a   p a r t i c u l a r   A P I   s e r v e r   w i t h i n   t h e   c o n t r o l   p l a n e ,   s u c h   a s   a   m o n i t o r i n g   a g e n t .   I f   y o u   u s e   t h i s   m e t h o d   d u r i n g   c l u s t e r   p r o v i s i o n i n g ,   a n d   t h e n   t r a n s i t i o n   t o   a   d i f f e r e n t   a u t h e n t i c a t i o n   m e t h o d   t h a t   w i l l   b e   u s e d   l o n g e r   t e r m ,   y o u   s h o u l d   d e a c t i v a t e   t h e   t o k e n   t h a t   w a s   u s e d   f o r   b o o t s t r a p p i n g   ( t h i s   r e q u i r e s   a   r e s t a r t   o f   e a c h   A P I   s e r v e r .   F o r   o t h e r   c i r c u m s t a n c e s ,   a n d   e s p e c i a l l y   w h e r e   v e r y   p r o m p t   t o k e n   r o t a t i o n   i s   i m p o r t a n t ,   t h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   u s i n g   a   w e b h o o k   t o k e n   a u t h e n t i c a t o r   i n s t e a d   o f   t h i s   m e c h a n i s m .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_4_16065"
  },
  {
    "question": "What is Anonymous requests?",
    "answer": "W h e n   e n a b l e d ,   r e q u e s t s   t h a t   a r e   n o t   r e j e c t e d   b y   o t h e r   c o n f i g u r e d   a u t h e n t i c a t i o n   m e t h o d s   a r e   t r e a t e d   a s   a n o n y m o u s   r e q u e s t s ,   a n d   g i v e n   a   u s e r n a m e   o f   s y s t e m : a n o n y m o u s   a n d   a   g r o u p   o f   s y s t e m : u n a u t h e n t i c a t e d .   F o r   e x a m p l e ,   o n   a   s e r v e r   w i t h   t o k e n   a u t h e n t i c a t i o n   c o n f i g u r e d ,   a n d   a n o n y m o u s   a c c e s s   e n a b l e d ,   a   r e q u e s t   p r o v i d i n g   a n   i n v a l i d   b e a r e r   t o k e n   w o u l d   r e c e i v e   a   4 0 1   U n a u t h o r i z e d   e r r o r .   A   r e q u e s t   p r o v i d i n g   n o   b e a r e r   t o k e n   w o u l d   b e   t r e a t e d   a s   a n   a n o n y m o u s   r e q u e s t .   I n   1 . 5 . 1 - 1 . 5 . x ,   a n o n y m o u s   a c c e s s   i s   d i s a b l e d   b y   d e f a u l t ,   a n d   c a n   b e   e n a b l e d   b y   p a s s i n g   t h e   - - a n o n y m o u s - a u t h = t r u e   o p t i o n   t o   t h e   A P I   s e r v e r .   I n   1 . 6 + ,   a n o n y m o u s   a c c e s s   i s   e n a b l e d   b y   d e f a u l t   i f   a n   a u t h o r i z a t i o n   m o d e   o t h e r   t h a n   A l w a y s A l l o w   i s   u s e d ,   a n d   c a n   b e   d i s a b l e d   b y   p a s s i n g   t h e   - - a n o n y m o u s - a u t h = f a l s e   o p t i o n   t o   t h e   A P I   s e r v e r .   S t a r t i n g   i n   1 . 6 ,   t h e   A B A C   a n d   R B A C   a u t h o r i z e r s   r e q u i r e   e x p l i c i t   a u t h o r i z a t i o n   o f   t h e   s y s t e m : a n o n y m o u s   u s e r   o r   t h e   s y s t e m : u n a u t h e n t i c a t e d   g r o u p ,   s o   l e g a c y   p o l i c y   r u l e s   t h a t   g r a n t   a c c e s s   t o   t h e   *   u s e r   o r   *   g r o u p   d o   n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_2_16066"
  },
  {
    "question": "What is Anonymous Authenticator Configuration?",
    "answer": "T h e   A u t h e n t i c a t i o n C o n f i g u r a t i o n   c a n   b e   u s e d   t o   c o n f i g u r e   t h e   a n o n y m o u s   a u t h e n t i c a t o r .   I f   y o u   s e t   t h e   a n o n y m o u s   f i e l d   i n   t h e   A u t h e n t i c a t i o n C o n f i g u r a t i o n   f i l e   t h e n   y o u   c a n n o t   s e t   t h e   - - a n o n y m o u s - a u t h   f l a g .   T h e   m a i n   a d v a n t a g e   o f   c o n f i g u r i n g   a n o n y m o u s   a u t h e n t i c a t o r   u s i n g   t h e   a u t h e n t i c a t i o n   c o n f i g u r a t i o n   f i l e   i s   t h a t   i n   a d d i t i o n   t o   e n a b l i n g   a n d   d i s a b l i n g   a n o n y m o u s   a u t h e n t i c a t i o n   y o u   c a n   a l s o   c o n f i g u r e   w h i c h   e n d p o i n t s   s u p p o r t   a n o n y m o u s   a u t h e n t i c a t i o n .   A   s a m p l e   a u t h e n t i c a t i o n   c o n f i g u r a t i o n   f i l e   i s   b e l o w :   - - -   #   #   C A U T I O N :   t h i s   i s   a n   e x a m p l e   c o n f i g u r a t i o n .   #   D o   n o t   u s e   t h i s   f o r   y o u r   o w n   c l u s t e r !   #   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   A u t h e n t i c a t i o n C o n f i g u r a t i o n   a n o n y m o u s :   e n a b l e d :   t r u e   c o n d i t i o n s :   -   p a t h :   / l i v e z   -   p a t h :   / r e a d y z   -   p a t h :   / h e a l t h z   I n   t h e   c o n f i g u r a t i o n   a b o v e   o n l y   t h e   / l i v e z ,   / r e a d y z   a n d   / h e a l t h z   e n d p o i n t s   a r e   r e a c h a b l e   b y   a n o n y m o u s   r e q u e s t s .   A n y   o t h e r   e n d p o i n t s   w i l l   n o t   b e   r e a c h a b l e   e v e n   i f   i t   i s   a l l o w e d   b y   R B A C   c o n f i g u r a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_3_16067"
  },
  {
    "question": "What is User impersonation?",
    "answer": "A   u s e r   c a n   a c t   a s   a n o t h e r   u s e r   t h r o u g h   i m p e r s o n a t i o n   h e a d e r s .   T h e s e   l e t   r e q u e s t s   m a n u a l l y   o v e r r i d e   t h e   u s e r   i n f o   a   r e q u e s t   a u t h e n t i c a t e s   a s .   F o r   e x a m p l e ,   a n   a d m i n   c o u l d   u s e   t h i s   f e a t u r e   t o   d e b u g   a n   a u t h o r i z a t i o n   p o l i c y   b y   t e m p o r a r i l y   i m p e r s o n a t i n g   a n o t h e r   u s e r   a n d   s e e i n g   i f   a   r e q u e s t   w a s   d e n i e d .   I m p e r s o n a t i o n   r e q u e s t s   f i r s t   a u t h e n t i c a t e   a s   t h e   r e q u e s t i n g   u s e r ,   t h e n   s w i t c h   t o   t h e   i m p e r s o n a t e d   u s e r   i n f o .   A   u s e r   m a k e s   a n   A P I   c a l l   w i t h   t h e i r   c r e d e n t i a l s   a n d   i m p e r s o n a t i o n   h e a d e r s . A P I   s e r v e r   a u t h e n t i c a t e s   t h e   u s e r . A P I   s e r v e r   e n s u r e s   t h e   a u t h e n t i c a t e d   u s e r s   h a v e   i m p e r s o n a t i o n   p r i v i l e g e s . R e q u e s t   u s e r   i n f o   i s   r e p l a c e d   w i t h   i m p e r s o n a t i o n   v a l u e s . R e q u e s t   i s   e v a l u a t e d ,   a u t h o r i z a t i o n   a c t s   o n   i m p e r s o n a t e d   u s e r   i n f o .   T h e   f o l l o w i n g   H T T P   h e a d e r s   c a n   b e   u s e d   t o   p e r f o r m i n g   a n   i m p e r s o n a t i o n   r e q u e s t :   I m p e r s o n a t e - U s e r :   T h e   u s e r n a m e   t o   a c t   a s . I m p e r s o n a t e - G r o u p :   A   g r o u p   n a m e   t o   a c t   a s .   C a n   b e   p r o v i d e d   m u l t i p l e   t i m e s   t o   s e t   m u l t i p l e   g r o u p s .   O p t i o n a l .   R e q u i r e s   \" I m p e r s o n a t e - U s e r \" . I m p e r s o n a t e - E x t r a - (   e x t r a   n a m e   ) : ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_2_16068"
  },
  {
    "question": "What is Note:?",
    "answer": "A n   e x a m p l e   o f   t h e   i m p e r s o n a t i o n   h e a d e r s   u s e d   w h e n   i m p e r s o n a t i n g   a   u s e r   w i t h   g r o u p s :   I m p e r s o n a t e - U s e r :   j a n e . d o e @ e x a m p l e . c o m   I m p e r s o n a t e - G r o u p :   d e v e l o p e r s   I m p e r s o n a t e - G r o u p :   a d m i n s   A n   e x a m p l e   o f   t h e   i m p e r s o n a t i o n   h e a d e r s   u s e d   w h e n   i m p e r s o n a t i n g   a   u s e r   w i t h   a   U I D   a n d   e x t r a   f i e l d s :   I m p e r s o n a t e - U s e r :   j a n e . d o e @ e x a m p l e . c o m   I m p e r s o n a t e - E x t r a - d n :   c n = j a n e , o u = e n g i n e e r s , d c = e x a m p l e , d c = c o m   I m p e r s o n a t e - E x t r a - a c m e . c o m % 2 F p r o j e c t :   s o m e - p r o j e c t   I m p e r s o n a t e - E x t r a - s c o p e s :   v i e w   I m p e r s o n a t e - E x t r a - s c o p e s :   d e v e l o p m e n t   I m p e r s o n a t e - U i d :   0 6 f 6 c e 9 7 - e 2 c 5 - 4 a b 8 - 7 b a 5 - 7 6 5 4 d d 0 8 d 5 2 b   W h e n   u s i n g   k u b e c t l   s e t   t h e   - - a s   c o m m a n d   l i n e   a r g u m e n t   t o   c o n f i g u r e   t h e   I m p e r s o n a t e - U s e r   h e a d e r ,   y o u   c a n   a l s o   s e t   t h e   - - a s - g r o u p   f l a g   t o   c o n f i g u r e   t h e   I m p e r s o n a t e - G r o u p   h e a d e r .   k u b e c t l   d r a i n   m y n o d e   E r r o r   f r o m   s e r v e r   ( F o r b i d d e n ) :   U s e r   \" c l a r k \"   c a n n o t   g e t   n o d e s   a t   t h e   c l u s t e r   s c o p e .   ( g e t   n o d e s   m y n o d e )   S e t   t h e   - - a s   a n d   - - a s - g r o u p   f l a g :   k u b e c t l   d r a i n   m y n o d e   - - a s = s u p e r m a n   - - a s - g r o u p = s y s t e m : m a s t e r s   n o d e / m y n o d e   c o r d o n e d   n o d e / m y n o d e   d r a i n e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_4_16069"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   i m p e r s o n a t e   a   u s e r ,   g r o u p ,   u s e r   i d e n t i f i e r   ( U I D )   o r   e x t r a   f i e l d s ,   t h e   i m p e r s o n a t i n g   u s e r   m u s t   h a v e   t h e   a b i l i t y   t o   p e r f o r m   t h e   i m p e r s o n a t e   v e r b   o n   t h e   k i n d   o f   a t t r i b u t e   b e i n g   i m p e r s o n a t e d   ( \" u s e r \" ,   \" g r o u p \" ,   \" u i d \" ,   e t c . ) .   F o r   c l u s t e r s   t h a t   e n a b l e   t h e   R B A C   a u t h o r i z a t i o n   p l u g i n ,   t h e   f o l l o w i n g   C l u s t e r R o l e   e n c o m p a s s e s   t h e   r u l e s   n e e d e d   t o   s e t   u s e r   a n d   g r o u p   i m p e r s o n a t i o n   h e a d e r s :   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   n a m e :   i m p e r s o n a t o r   r u l e s :   -   a p i G r o u p s :   [ \" \" ]   r e s o u r c e s :   [ \" u s e r s \" ,   \" g r o u p s \" ,   \" s e r v i c e a c c o u n t s \" ]   v e r b s :   [ \" i m p e r s o n a t e \" ]   F o r   i m p e r s o n a t i o n ,   e x t r a   f i e l d s   a n d   i m p e r s o n a t e d   U I D s   a r e   b o t h   u n d e r   t h e   \" a u t h e n t i c a t i o n . k 8 s . i o \"   a p i G r o u p .   E x t r a   f i e l d s   a r e   e v a l u a t e d   a s   s u b - r e s o u r c e s   o f   t h e   r e s o u r c e   \" u s e r e x t r a s \" .   T o   a l l o w   a   u s e r   t o   u s e   i m p e r s o n a t i o n   h e a d e r s   f o r   t h e   e x t r a   f i e l d   s c o p e s   a n d   f o r   U I D s ,   a   u s e r   s h o u l d   b e   g r a n t e d   t h e   f o l l o w i n g   r o l e :   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   n a m e :   s c o p e s - a n d - u i d - i m p e r s o n a t o r   r u l e s :   #   C a n   s e t   \" I m p ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_4_16070"
  },
  {
    "question": "What is client-go credential plugins?",
    "answer": "k 8 s . i o / c l i e n t - g o   a n d   t o o l s   u s i n g   i t   s u c h   a s   k u b e c t l   a n d   k u b e l e t   a r e   a b l e   t o   e x e c u t e   a n   e x t e r n a l   c o m m a n d   t o   r e c e i v e   u s e r   c r e d e n t i a l s .   T h i s   f e a t u r e   i s   i n t e n d e d   f o r   c l i e n t   s i d e   i n t e g r a t i o n s   w i t h   a u t h e n t i c a t i o n   p r o t o c o l s   n o t   n a t i v e l y   s u p p o r t e d   b y   k 8 s . i o / c l i e n t - g o   ( L D A P ,   K e r b e r o s ,   O A u t h 2 ,   S A M L ,   e t c . ) .   T h e   p l u g i n   i m p l e m e n t s   t h e   p r o t o c o l   s p e c i f i c   l o g i c ,   t h e n   r e t u r n s   o p a q u e   c r e d e n t i a l s   t o   u s e .   A l m o s t   a l l   c r e d e n t i a l   p l u g i n   u s e   c a s e s   r e q u i r e   a   s e r v e r   s i d e   c o m p o n e n t   w i t h   s u p p o r t   f o r   t h e   w e b h o o k   t o k e n   a u t h e n t i c a t o r   t o   i n t e r p r e t   t h e   c r e d e n t i a l   f o r m a t   p r o d u c e d   b y   t h e   c l i e n t   p l u g i n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_2_16071"
  },
  {
    "question": "What is Example use case?",
    "answer": "I n   a   h y p o t h e t i c a l   u s e   c a s e ,   a n   o r g a n i z a t i o n   w o u l d   r u n   a n   e x t e r n a l   s e r v i c e   t h a t   e x c h a n g e s   L D A P   c r e d e n t i a l s   f o r   u s e r   s p e c i f i c ,   s i g n e d   t o k e n s .   T h e   s e r v i c e   w o u l d   a l s o   b e   c a p a b l e   o f   r e s p o n d i n g   t o   w e b h o o k   t o k e n   a u t h e n t i c a t o r   r e q u e s t s   t o   v a l i d a t e   t h e   t o k e n s .   U s e r s   w o u l d   b e   r e q u i r e d   t o   i n s t a l l   a   c r e d e n t i a l   p l u g i n   o n   t h e i r   w o r k s t a t i o n .   T o   a u t h e n t i c a t e   a g a i n s t   t h e   A P I :   T h e   u s e r   i s s u e s   a   k u b e c t l   c o m m a n d . C r e d e n t i a l   p l u g i n   p r o m p t s   t h e   u s e r   f o r   L D A P   c r e d e n t i a l s ,   e x c h a n g e s   c r e d e n t i a l s   w i t h   e x t e r n a l   s e r v i c e   f o r   a   t o k e n . C r e d e n t i a l   p l u g i n   r e t u r n s   t o k e n   t o   c l i e n t - g o ,   w h i c h   u s e s   i t   a s   a   b e a r e r   t o k e n   a g a i n s t   t h e   A P I   s e r v e r . A P I   s e r v e r   u s e s   t h e   w e b h o o k   t o k e n   a u t h e n t i c a t o r   t o   s u b m i t   a   T o k e n R e v i e w   t o   t h e   e x t e r n a l   s e r v i c e . E x t e r n a l   s e r v i c e   v e r i f i e s   t h e   s i g n a t u r e   o n   t h e   t o k e n   a n d   r e t u r n s   t h e   u s e r ' s   u s e r n a m e   a n d   g r o u p s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_3_16072"
  },
  {
    "question": "What is Configuration?",
    "answer": "C r e d e n t i a l   p l u g i n s   a r e   c o n f i g u r e d   t h r o u g h   k u b e c t l   c o n f i g   f i l e s   a s   p a r t   o f   t h e   u s e r   f i e l d s .   a p i V e r s i o n :   v 1   k i n d :   C o n f i g   u s e r s :   -   n a m e :   m y - u s e r   u s e r :   e x e c :   #   C o m m a n d   t o   e x e c u t e .   R e q u i r e d .   c o m m a n d :   \" e x a m p l e - c l i e n t - g o - e x e c - p l u g i n \"   #   A P I   v e r s i o n   t o   u s e   w h e n   d e c o d i n g   t h e   E x e c C r e d e n t i a l s   r e s o u r c e .   R e q u i r e d .   #   #   T h e   A P I   v e r s i o n   r e t u r n e d   b y   t h e   p l u g i n   M U S T   m a t c h   t h e   v e r s i o n   l i s t e d   h e r e .   #   #   T o   i n t e g r a t e   w i t h   t o o l s   t h a t   s u p p o r t   m u l t i p l e   v e r s i o n s   ( s u c h   a s   c l i e n t . a u t h e n t i c a t i o n . k 8 s . i o / v 1 b e t a 1 ) ,   #   s e t   a n   e n v i r o n m e n t   v a r i a b l e ,   p a s s   a n   a r g u m e n t   t o   t h e   t o o l   t h a t   i n d i c a t e s   w h i c h   v e r s i o n   t h e   e x e c   p l u g i n   e x p e c t s ,   #   o r   r e a d   t h e   v e r s i o n   f r o m   t h e   E x e c C r e d e n t i a l   o b j e c t   i n   t h e   K U B E R N E T E S _ E X E C _ I N F O   e n v i r o n m e n t   v a r i a b l e .   a p i V e r s i o n :   \" c l i e n t . a u t h e n t i c a t i o n . k 8 s . i o / v 1 \"   #   E n v i r o n m e n t   v a r i a b l e s   t o   s e t   w h e n   e x e c u t i n g   t h e   p l u g i n .   O p t i o n a l .   e n v :   -   n a m e :   \" F O O \"   v a l u e :   \" b a r \"   #   A r g u m e n t s   t o   p a s s   w h e n   e x e c u t i n g   t h e   p l u g i n .   O p t i o n a l .   a r g s :   -   \" a r g 1 \"   -   \" a r g 2 \"   #   T e x t   s h o w n   t o   t h e   u s e r   w h e n   t h e   e x e c u t a b l e   d o e s n ' t   s e e m   t o   b e   p r e s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_3_16073"
  },
  {
    "question": "What is Input and output formats?",
    "answer": "T h e   e x e c u t e d   c o m m a n d   p r i n t s   a n   E x e c C r e d e n t i a l   o b j e c t   t o   s t d o u t .   k 8 s . i o / c l i e n t - g o   a u t h e n t i c a t e s   a g a i n s t   t h e   K u b e r n e t e s   A P I   u s i n g   t h e   r e t u r n e d   c r e d e n t i a l s   i n   t h e   s t a t u s .   T h e   e x e c u t e d   c o m m a n d   i s   p a s s e d   a n   E x e c C r e d e n t i a l   o b j e c t   a s   i n p u t   v i a   t h e   K U B E R N E T E S _ E X E C _ I N F O   e n v i r o n m e n t   v a r i a b l e .   T h i s   i n p u t   c o n t a i n s   h e l p f u l   i n f o r m a t i o n   l i k e   t h e   e x p e c t e d   A P I   v e r s i o n   o f   t h e   r e t u r n e d   E x e c C r e d e n t i a l   o b j e c t   a n d   w h e t h e r   o r   n o t   t h e   p l u g i n   c a n   u s e   s t d i n   t o   i n t e r a c t   w i t h   t h e   u s e r .   W h e n   r u n   f r o m   a n   i n t e r a c t i v e   s e s s i o n   ( i . e . ,   a   t e r m i n a l ) ,   s t d i n   c a n   b e   e x p o s e d   d i r e c t l y   t o   t h e   p l u g i n .   P l u g i n s   s h o u l d   u s e   t h e   s p e c . i n t e r a c t i v e   f i e l d   o f   t h e   i n p u t   E x e c C r e d e n t i a l   o b j e c t   f r o m   t h e   K U B E R N E T E S _ E X E C _ I N F O   e n v i r o n m e n t   v a r i a b l e   i n   o r d e r   t o   d e t e r m i n e   i f   s t d i n   h a s   b e e n   p r o v i d e d .   A   p l u g i n ' s   s t d i n   r e q u i r e m e n t s   ( i . e . ,   w h e t h e r   s t d i n   i s   o p t i o n a l ,   s t r i c t l y   r e q u i r e d ,   o r   n e v e r   u s e d   i n   o r d e r   f o r   t h e   p l u g i n   t o   r u n   s u c c e s s f u l l y )   i s   d e c l a r e d   v i a   t h e   u s e r . e x e c . i n t e r a c t i v e M o d e   f i e l d   i n   t h e   k u b e c o n f i g   ( s e e   t a b l e   b e l o w   f o r   v a l i d   v a l u e s ) .   T h e   u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_3_16074"
  },
  {
    "question": "What is API access to authentication information for a client?",
    "answer": "I f   y o u r   c l u s t e r   h a s   t h e   A P I   e n a b l e d ,   y o u   c a n   u s e   t h e   S e l f S u b j e c t R e v i e w   A P I   t o   f i n d   o u t   h o w   y o u r   K u b e r n e t e s   c l u s t e r   m a p s   y o u r   a u t h e n t i c a t i o n   i n f o r m a t i o n   t o   i d e n t i f y   y o u   a s   a   c l i e n t .   T h i s   w o r k s   w h e t h e r   y o u   a r e   a u t h e n t i c a t i n g   a s   a   u s e r   ( t y p i c a l l y   r e p r e s e n t i n g   a   r e a l   p e r s o n )   o r   a s   a   S e r v i c e A c c o u n t .   S e l f S u b j e c t R e v i e w   o b j e c t s   d o   n o t   h a v e   a n y   c o n f i g u r a b l e   f i e l d s .   O n   r e c e i v i n g   a   r e q u e s t ,   t h e   K u b e r n e t e s   A P I   s e r v e r   f i l l s   t h e   s t a t u s   w i t h   t h e   u s e r   a t t r i b u t e s   a n d   r e t u r n s   i t   t o   t h e   u s e r .   R e q u e s t   e x a m p l e   ( t h e   b o d y   w o u l d   b e   a   S e l f S u b j e c t R e v i e w ) :   P O S T   / a p i s / a u t h e n t i c a t i o n . k 8 s . i o / v 1 / s e l f s u b j e c t r e v i e w s   {   \" a p i V e r s i o n \" :   \" a u t h e n t i c a t i o n . k 8 s . i o / v 1 \" ,   \" k i n d \" :   \" S e l f S u b j e c t R e v i e w \"   }   R e s p o n s e   e x a m p l e :   {   \" a p i V e r s i o n \" :   \" a u t h e n t i c a t i o n . k 8 s . i o / v 1 \" ,   \" k i n d \" :   \" S e l f S u b j e c t R e v i e w \" ,   \" s t a t u s \" :   {   \" u s e r I n f o \" :   {   \" n a m e \" :   \" j a n e . d o e \" ,   \" u i d \" :   \" b 6 c 7 c f d 4 - f 1 6 6 - 1 1 e c - 8 e a 0 - 0 2 4 2 a c 1 2 0 0 0 2 \" ,   \" g r o u p s \" :   [   \" v i e w e r s \" ,   \" e d i t o r s \" ,   \" s y s t e m : a u t h e n t i c a t e d \"   ] ,   \" e x t r a \" :   {   \" p r o v i d e r _ i d \" :   [ \" t o k e n . c o m p a n y . e x a m p l e \" ]   }   }   }   }   F o r   c o n v e n i e n c e ,   t h e   k u b e c t l   a u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_2_16075"
  },
  {
    "question": "What is Note:?",
    "answer": "B y   d e f a u l t ,   a l l   a u t h e n t i c a t e d   u s e r s   c a n   c r e a t e   S e l f S u b j e c t R e v i e w   o b j e c t s   w h e n   t h e   A P I S e l f S u b j e c t R e v i e w   f e a t u r e   i s   e n a b l e d .   I t   i s   a l l o w e d   b y   t h e   s y s t e m : b a s i c - u s e r   c l u s t e r   r o l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_4_16076"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   o n l y   m a k e   S e l f S u b j e c t R e v i e w   r e q u e s t s   i f :   t h e   A P I S e l f S u b j e c t R e v i e w   f e a t u r e   g a t e   i s   e n a b l e d   f o r   y o u r   c l u s t e r   ( n o t   n e e d e d   f o r   K u b e r n e t e s   1 . 3 4 ,   b u t   o l d e r   K u b e r n e t e s   v e r s i o n s   m i g h t   n o t   o f f e r   t h i s   f e a t u r e   g a t e ,   o r   m i g h t   d e f a u l t   i t   t o   b e   o f f ) ( i f   y o u   a r e   r u n n i n g   a   v e r s i o n   o f   K u b e r n e t e s   o l d e r   t h a n   v 1 . 2 8 )   t h e   A P I   s e r v e r   f o r   y o u r   c l u s t e r   h a s   t h e   a u t h e n t i c a t i o n . k 8 s . i o / v 1 a l p h a 1   o r   a u t h e n t i c a t i o n . k 8 s . i o / v 1 b e t a 1   A P I   g r o u p   e n a b l e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_4_16077"
  },
  {
    "question": "What is What's next?",
    "answer": "T o   l e a r n   a b o u t   i s s u i n g   c e r t i f i c a t e s   f o r   u s e r s ,   r e a d   I s s u e   a   C e r t i f i c a t e   f o r   a   K u b e r n e t e s   A P I   C l i e n t   U s i n g   A   C e r t i f i c a t e S i g n i n g R e q u e s t R e a d   t h e   c l i e n t   a u t h e n t i c a t i o n   r e f e r e n c e   ( v 1 ) R e a d   t h e   c l i e n t   a u t h e n t i c a t i o n   r e f e r e n c e   ( v 1 b e t a 1 )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authentication/",
    "id": "k8s_00731_section_2_16078"
  },
  {
    "question": "What is Configure GMSA for Windows Pods and containers?",
    "answer": "Configure GMSA for Windows Pods and containersFEATURE STATE: Kubernetes v1.18 [stable]This page shows how to configure Group Managed Service Accounts (GMSA) for Pods and containers that will run on Windows nodes. Group Managed Service Accounts are a specific type of Active Directory account that provides automatic password management, simplified service principal name (SPN) management, and the ability to delegate the management to other administrators across multiple servers.In Kubernetes, GMSA credential specs are configured at a Kubernetes cluster-wide scope as Custom Resources. Windows Pods, as well as individual containers within a Pod, can be configured to use a GMSA for domain based functions (e.g. Kerberos authentication) when interacting with other Windows services.Before you beginYou need to have a Kubernetes cluster and the kubectl command-line tool must be configured to communicate with your cluster. The cluster is expected to have Windows worker nodes. This section covers a set of initial steps required once for each cluster:Install the GMSACredentialSpec CRDA CustomResourceDefinition(CRD) for GMSA credential spec resources needs to be configured on the cluster to define the custom resource type GMSACredentialSpec. Download the GMSA CRD YAML and save it as gmsa-crd.yaml. Next, install the CRD with kubectl apply -f gmsa-crd.yamlInstall webhooks to validate GMSA usersTwo webhooks need to be configured on the Kubernetes cluster to populate and validate GMSA credential spec references at the Pod or container level:A mutating webhook that expands references to GMSAs (by name from a Pod specification) into the full credential spec in JSON form within the Pod spec.A validating webhook ensures all references to GMSAs are authorized to be used by the Pod service account.Installing the above webhooks and associated objects require the steps below:Create a certificate key pair (that will be used to allow the webhook container to communicate to the cluster)Install a secret with the certificate from above.Create a deployment for the core webhook logic.Create the validating and mutating webhook configurations referring to the deployment.A script can be used to deploy and configure the GMSA webhooks and associated objects mentioned above. The script can be run with a --dry-run=server option to allow you to review the changes that would be made to your cluster.The YAML template used by the script may also be used to deploy the webhooks and associated objects manually (with appropriate substitutions for the parameters)Configure GMSAs and Windows nodes in Active DirectoryBefore Pods in Kubernetes can be configured to use GMSAs, the desired GMSAs need to be provisioned in Active Directory as described in the Windows GMSA documentation. Windows worker nodes (that are part of the Kubernetes cluster) need to be configured in Active Directory to access the secret credentials associated with the desired GMSA as described in the Windows GMSA documentation.Cre",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-gmsa/",
    "id": "k8s_00732_qa_16079"
  },
  {
    "question": "How does Configure GMSA for Windows Pods and containers work?",
    "answer": "Configure GMSA for Windows Pods and containersFEATURE STATE: Kubernetes v1.18 [stable]This page shows how to configure Group Managed Service Accounts (GMSA) for Pods and containers that will run on Windows nodes. Group Managed Service Accounts are a specific type of Active Directory account that provides automatic password management, simplified service principal name (SPN) management, and the ability to delegate the management to other administrators across multiple servers.In Kubernetes, GMSA credential specs are configured at a Kubernetes cluster-wide scope as Custom Resources. Windows Pods, as well as individual containers within a Pod, can be configured to use a GMSA for domain based functions (e.g. Kerberos authentication) when interacting with other Windows services.Before you beginYou need to have a Kubernetes cluster and the kubectl command-line tool must be configured to communicate with your cluster. The cluster is expected to have Windows worker nodes. This section covers a set of initial steps required once for each cluster:Install the GMSACredentialSpec CRDA CustomResourceDefinition(CRD) for GMSA credential spec resources needs to be configured on the cluster to define the custom resource type GMSACredentialSpec. Download the GMSA CRD YAML and save it as gmsa-crd.yaml. Next, install the CRD with kubectl apply -f gmsa-crd.yamlInstall webhooks to validate GMSA usersTwo webhooks need to be configured on the Kubernetes cluster to populate and validate GMSA credential spec references at the Pod or container level:A mutating webhook that expands references to GMSAs (by name from a Pod specification) into the full credential spec in JSON form within the Pod spec.A validating webhook ensures all references to GMSAs are authorized to be used by the Pod service account.Installing the above webhooks and associated objects require the steps below:Create a certificate key pair (that will be used to allow the webhook container to communicate to the cluster)Install a secret with the certificate from above.Create a deployment for the core webhook logic.Create the validating and mutating webhook configurations referring to the deployment.A script can be used to deploy and configure the GMSA webhooks and associated objects mentioned above. The script can be run with a --dry-run=server option to allow you to review the changes that would be made to your cluster.The YAML template used by the script may also be used to deploy the webhooks and associated objects manually (with appropriate substitutions for the parameters)Configure GMSAs and Windows nodes in Active DirectoryBefore Pods in Kubernetes can be configured to use GMSAs, the desired GMSAs need to be provisioned in Active Directory as described in the Windows GMSA documentation. Windows worker nodes (that are part of the Kubernetes cluster) need to be configured in Active Directory to access the secret credentials associated with the desired GMSA as described in the Windows GMSA documentation.Cre",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-gmsa/",
    "id": "k8s_00732_qa_16080"
  },
  {
    "question": "When would you use Configure GMSA for Windows Pods and containers?",
    "answer": "Configure GMSA for Windows Pods and containersFEATURE STATE: Kubernetes v1.18 [stable]This page shows how to configure Group Managed Service Accounts (GMSA) for Pods and containers that will run on Windows nodes. Group Managed Service Accounts are a specific type of Active Directory account that provides automatic password management, simplified service principal name (SPN) management, and the ability to delegate the management to other administrators across multiple servers.In Kubernetes, GMSA credential specs are configured at a Kubernetes cluster-wide scope as Custom Resources. Windows Pods, as well as individual containers within a Pod, can be configured to use a GMSA for domain based functions (e.g. Kerberos authentication) when interacting with other Windows services.Before you beginYou need to have a Kubernetes cluster and the kubectl command-line tool must be configured to communicate with your cluster. The cluster is expected to have Windows worker nodes. This section covers a set of initial steps required once for each cluster:Install the GMSACredentialSpec CRDA CustomResourceDefinition(CRD) for GMSA credential spec resources needs to be configured on the cluster to define the custom resource type GMSACredentialSpec. Download the GMSA CRD YAML and save it as gmsa-crd.yaml. Next, install the CRD with kubectl apply -f gmsa-crd.yamlInstall webhooks to validate GMSA usersTwo webhooks need to be configured on the Kubernetes cluster to populate and validate GMSA credential spec references at the Pod or container level:A mutating webhook that expands references to GMSAs (by name from a Pod specification) into the full credential spec in JSON form within the Pod spec.A validating webhook ensures all references to GMSAs are authorized to be used by the Pod service account.Installing the above webhooks and associated objects require the steps below:Create a certificate key pair (that will be used to allow the webhook container to communicate to the cluster)Install a secret with the certificate from above.Create a deployment for the core webhook logic.Create the validating and mutating webhook configurations referring to the deployment.A script can be used to deploy and configure the GMSA webhooks and associated objects mentioned above. The script can be run with a --dry-run=server option to allow you to review the changes that would be made to your cluster.The YAML template used by the script may also be used to deploy the webhooks and associated objects manually (with appropriate substitutions for the parameters)Configure GMSAs and Windows nodes in Active DirectoryBefore Pods in Kubernetes can be configured to use GMSAs, the desired GMSAs need to be provisioned in Active Directory as described in the Windows GMSA documentation. Windows worker nodes (that are part of the Kubernetes cluster) need to be configured in Active Directory to access the secret credentials associated with the desired GMSA as described in the Windows GMSA documentation.Cre",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-gmsa/",
    "id": "k8s_00732_qa_16081"
  },
  {
    "question": "What are the benefits of Configure GMSA for Windows Pods and containers?",
    "answer": "Configure GMSA for Windows Pods and containersFEATURE STATE: Kubernetes v1.18 [stable]This page shows how to configure Group Managed Service Accounts (GMSA) for Pods and containers that will run on Windows nodes. Group Managed Service Accounts are a specific type of Active Directory account that provides automatic password management, simplified service principal name (SPN) management, and the ability to delegate the management to other administrators across multiple servers.In Kubernetes, GMSA credential specs are configured at a Kubernetes cluster-wide scope as Custom Resources. Windows Pods, as well as individual containers within a Pod, can be configured to use a GMSA for domain based functions (e.g. Kerberos authentication) when interacting with other Windows services.Before you beginYou need to have a Kubernetes cluster and the kubectl command-line tool must be configured to communicate with your cluster. The cluster is expected to have Windows worker nodes. This section covers a set of initial steps required once for each cluster:Install the GMSACredentialSpec CRDA CustomResourceDefinition(CRD) for GMSA credential spec resources needs to be configured on the cluster to define the custom resource type GMSACredentialSpec. Download the GMSA CRD YAML and save it as gmsa-crd.yaml. Next, install the CRD with kubectl apply -f gmsa-crd.yamlInstall webhooks to validate GMSA usersTwo webhooks need to be configured on the Kubernetes cluster to populate and validate GMSA credential spec references at the Pod or container level:A mutating webhook that expands references to GMSAs (by name from a Pod specification) into the full credential spec in JSON form within the Pod spec.A validating webhook ensures all references to GMSAs are authorized to be used by the Pod service account.Installing the above webhooks and associated objects require the steps below:Create a certificate key pair (that will be used to allow the webhook container to communicate to the cluster)Install a secret with the certificate from above.Create a deployment for the core webhook logic.Create the validating and mutating webhook configurations referring to the deployment.A script can be used to deploy and configure the GMSA webhooks and associated objects mentioned above. The script can be run with a --dry-run=server option to allow you to review the changes that would be made to your cluster.The YAML template used by the script may also be used to deploy the webhooks and associated objects manually (with appropriate substitutions for the parameters)Configure GMSAs and Windows nodes in Active DirectoryBefore Pods in Kubernetes can be configured to use GMSAs, the desired GMSAs need to be provisioned in Active Directory as described in the Windows GMSA documentation. Windows worker nodes (that are part of the Kubernetes cluster) need to be configured in Active Directory to access the secret credentials associated with the desired GMSA as described in the Windows GMSA documentation.Cre",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-gmsa/",
    "id": "k8s_00732_qa_16082"
  },
  {
    "question": "What is Configure GMSA for Windows Pods and containers?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   G r o u p   M a n a g e d   S e r v i c e   A c c o u n t s   ( G M S A )   f o r   P o d s   a n d   c o n t a i n e r s   t h a t   w i l l   r u n   o n   W i n d o w s   n o d e s .   G r o u p   M a n a g e d   S e r v i c e   A c c o u n t s   a r e   a   s p e c i f i c   t y p e   o f   A c t i v e   D i r e c t o r y   a c c o u n t   t h a t   p r o v i d e s   a u t o m a t i c   p a s s w o r d   m a n a g e m e n t ,   s i m p l i f i e d   s e r v i c e   p r i n c i p a l   n a m e   ( S P N )   m a n a g e m e n t ,   a n d   t h e   a b i l i t y   t o   d e l e g a t e   t h e   m a n a g e m e n t   t o   o t h e r   a d m i n i s t r a t o r s   a c r o s s   m u l t i p l e   s e r v e r s .   I n   K u b e r n e t e s ,   G M S A   c r e d e n t i a l   s p e c s   a r e   c o n f i g u r e d   a t   a   K u b e r n e t e s   c l u s t e r - w i d e   s c o p e   a s   C u s t o m   R e s o u r c e s .   W i n d o w s   P o d s ,   a s   w e l l   a s   i n d i v i d u a l   c o n t a i n e r s   w i t h i n   a   P o d ,   c a n   b e   c o n f i g u r e d   t o   u s e   a   G M S A   f o r   d o m a i n   b a s e d   f u n c t i o n s   ( e . g .   K e r b e r o s   a u t h e n t i c a t i o n )   w h e n   i n t e r a c t i n g   w i t h   o t h e r   W i n d o w s   s e r v i c e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-gmsa/",
    "id": "k8s_00732_section_1_16083"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   T h e   c l u s t e r   i s   e x p e c t e d   t o   h a v e   W i n d o w s   w o r k e r   n o d e s .   T h i s   s e c t i o n   c o v e r s   a   s e t   o f   i n i t i a l   s t e p s   r e q u i r e d   o n c e   f o r   e a c h   c l u s t e r :",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-gmsa/",
    "id": "k8s_00732_section_2_16084"
  },
  {
    "question": "What is Install the GMSACredentialSpec CRD?",
    "answer": "A   C u s t o m R e s o u r c e D e f i n i t i o n ( C R D )   f o r   G M S A   c r e d e n t i a l   s p e c   r e s o u r c e s   n e e d s   t o   b e   c o n f i g u r e d   o n   t h e   c l u s t e r   t o   d e f i n e   t h e   c u s t o m   r e s o u r c e   t y p e   G M S A C r e d e n t i a l S p e c .   D o w n l o a d   t h e   G M S A   C R D   Y A M L   a n d   s a v e   i t   a s   g m s a - c r d . y a m l .   N e x t ,   i n s t a l l   t h e   C R D   w i t h   k u b e c t l   a p p l y   - f   g m s a - c r d . y a m l",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-gmsa/",
    "id": "k8s_00732_section_3_16085"
  },
  {
    "question": "What is Install webhooks to validate GMSA users?",
    "answer": "T w o   w e b h o o k s   n e e d   t o   b e   c o n f i g u r e d   o n   t h e   K u b e r n e t e s   c l u s t e r   t o   p o p u l a t e   a n d   v a l i d a t e   G M S A   c r e d e n t i a l   s p e c   r e f e r e n c e s   a t   t h e   P o d   o r   c o n t a i n e r   l e v e l :   A   m u t a t i n g   w e b h o o k   t h a t   e x p a n d s   r e f e r e n c e s   t o   G M S A s   ( b y   n a m e   f r o m   a   P o d   s p e c i f i c a t i o n )   i n t o   t h e   f u l l   c r e d e n t i a l   s p e c   i n   J S O N   f o r m   w i t h i n   t h e   P o d   s p e c . A   v a l i d a t i n g   w e b h o o k   e n s u r e s   a l l   r e f e r e n c e s   t o   G M S A s   a r e   a u t h o r i z e d   t o   b e   u s e d   b y   t h e   P o d   s e r v i c e   a c c o u n t .   A   m u t a t i n g   w e b h o o k   t h a t   e x p a n d s   r e f e r e n c e s   t o   G M S A s   ( b y   n a m e   f r o m   a   P o d   s p e c i f i c a t i o n )   i n t o   t h e   f u l l   c r e d e n t i a l   s p e c   i n   J S O N   f o r m   w i t h i n   t h e   P o d   s p e c .   A   v a l i d a t i n g   w e b h o o k   e n s u r e s   a l l   r e f e r e n c e s   t o   G M S A s   a r e   a u t h o r i z e d   t o   b e   u s e d   b y   t h e   P o d   s e r v i c e   a c c o u n t .   I n s t a l l i n g   t h e   a b o v e   w e b h o o k s   a n d   a s s o c i a t e d   o b j e c t s   r e q u i r e   t h e   s t e p s   b e l o w :   C r e a t e   a   c e r t i f i c a t e   k e y   p a i r   ( t h a t   w i l l   b e   u s e d   t o   a l l o w   t h e   w e b h o o k   c o n t a i n e r   t o   c o m m u n i c a t e   t o   t h e   c l u s t e r ) I n s t a l l   a   s e c r e t   w i t h   t h e   c e r t i f i c a t e   f r o m   a b o v e . C r e a t e   a   d e p l o y m e n t   f o r   t h e   c o r e   w e b h o o k   l o g i c . C r e a t e   t h e   v a l i d a t i n g   a n d   m u t a t i n g   w e b h o o k   c o n f i g u r a ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-gmsa/",
    "id": "k8s_00732_section_3_16086"
  },
  {
    "question": "What is Configure GMSAs and Windows nodes in Active Directory?",
    "answer": "B e f o r e   P o d s   i n   K u b e r n e t e s   c a n   b e   c o n f i g u r e d   t o   u s e   G M S A s ,   t h e   d e s i r e d   G M S A s   n e e d   t o   b e   p r o v i s i o n e d   i n   A c t i v e   D i r e c t o r y   a s   d e s c r i b e d   i n   t h e   W i n d o w s   G M S A   d o c u m e n t a t i o n .   W i n d o w s   w o r k e r   n o d e s   ( t h a t   a r e   p a r t   o f   t h e   K u b e r n e t e s   c l u s t e r )   n e e d   t o   b e   c o n f i g u r e d   i n   A c t i v e   D i r e c t o r y   t o   a c c e s s   t h e   s e c r e t   c r e d e n t i a l s   a s s o c i a t e d   w i t h   t h e   d e s i r e d   G M S A   a s   d e s c r i b e d   i n   t h e   W i n d o w s   G M S A   d o c u m e n t a t i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-gmsa/",
    "id": "k8s_00732_section_2_16087"
  },
  {
    "question": "What is Create GMSA credential spec resources?",
    "answer": "W i t h   t h e   G M S A C r e d e n t i a l S p e c   C R D   i n s t a l l e d   ( a s   d e s c r i b e d   e a r l i e r ) ,   c u s t o m   r e s o u r c e s   c o n t a i n i n g   G M S A   c r e d e n t i a l   s p e c s   c a n   b e   c o n f i g u r e d .   T h e   G M S A   c r e d e n t i a l   s p e c   d o e s   n o t   c o n t a i n   s e c r e t   o r   s e n s i t i v e   d a t a .   I t   i s   i n f o r m a t i o n   t h a t   a   c o n t a i n e r   r u n t i m e   c a n   u s e   t o   d e s c r i b e   t h e   d e s i r e d   G M S A   o f   a   c o n t a i n e r   t o   W i n d o w s .   G M S A   c r e d e n t i a l   s p e c s   c a n   b e   g e n e r a t e d   i n   Y A M L   f o r m a t   w i t h   a   u t i l i t y   P o w e r S h e l l   s c r i p t .   F o l l o w i n g   a r e   t h e   s t e p s   f o r   g e n e r a t i n g   a   G M S A   c r e d e n t i a l   s p e c   Y A M L   m a n u a l l y   i n   J S O N   f o r m a t   a n d   t h e n   c o n v e r t i n g   i t :   I m p o r t   t h e   C r e d e n t i a l S p e c   m o d u l e :   i p m o   C r e d e n t i a l S p e c . p s m 1 C r e a t e   a   c r e d e n t i a l   s p e c   i n   J S O N   f o r m a t   u s i n g   N e w - C r e d e n t i a l S p e c .   T o   c r e a t e   a   G M S A   c r e d e n t i a l   s p e c   n a m e d   W e b A p p 1 ,   i n v o k e   N e w - C r e d e n t i a l S p e c   - N a m e   W e b A p p 1   - A c c o u n t N a m e   W e b A p p 1   - D o m a i n   $ ( G e t - A D D o m a i n   - C u r r e n t   L o c a l C o m p u t e r ) U s e   G e t - C r e d e n t i a l S p e c   t o   s h o w   t h e   p a t h   o f   t h e   J S O N   f i l e . C o n v e r t   t h e   c r e d s p e c   f i l e   f r o m   J S O N   t o   Y A M L   f o r m a t   a n d   a p p l y   t h e   n e c e s s a r y   h e a d e r   f i e l d s   a p i V e r s i o n ,   k i n d ,   m e t a d a t a   a n d   c r e d s p e c   t o   m a k e   i t   a   G M S A C r e d e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-gmsa/",
    "id": "k8s_00732_section_2_16088"
  },
  {
    "question": "What is Configure cluster role to enable RBAC on specific GMSA credential specs?",
    "answer": "A   c l u s t e r   r o l e   n e e d s   t o   b e   d e f i n e d   f o r   e a c h   G M S A   c r e d e n t i a l   s p e c   r e s o u r c e .   T h i s   a u t h o r i z e s   t h e   u s e   v e r b   o n   a   s p e c i f i c   G M S A   r e s o u r c e   b y   a   s u b j e c t   w h i c h   i s   t y p i c a l l y   a   s e r v i c e   a c c o u n t .   T h e   f o l l o w i n g   e x a m p l e   s h o w s   a   c l u s t e r   r o l e   t h a t   a u t h o r i z e s   u s a g e   o f   t h e   g m s a - W e b A p p 1   c r e d e n t i a l   s p e c   f r o m   a b o v e .   S a v e   t h e   f i l e   a s   g m s a - w e b a p p 1 - r o l e . y a m l   a n d   a p p l y   u s i n g   k u b e c t l   a p p l y   - f   g m s a - w e b a p p 1 - r o l e . y a m l   #   C r e a t e   t h e   R o l e   t o   r e a d   t h e   c r e d s p e c   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   n a m e :   w e b a p p 1 - r o l e   r u l e s :   -   a p i G r o u p s :   [ \" w i n d o w s . k 8 s . i o \" ]   r e s o u r c e s :   [ \" g m s a c r e d e n t i a l s p e c s \" ]   v e r b s :   [ \" u s e \" ]   r e s o u r c e N a m e s :   [ \" g m s a - W e b A p p 1 \" ]",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-gmsa/",
    "id": "k8s_00732_section_2_16089"
  },
  {
    "question": "What is Assign role to service accounts to use specific GMSA credspecs?",
    "answer": "A   s e r v i c e   a c c o u n t   ( t h a t   P o d s   w i l l   b e   c o n f i g u r e d   w i t h )   n e e d s   t o   b e   b o u n d   t o   t h e   c l u s t e r   r o l e   c r e a t e   a b o v e .   T h i s   a u t h o r i z e s   t h e   s e r v i c e   a c c o u n t   t o   u s e   t h e   d e s i r e d   G M S A   c r e d e n t i a l   s p e c   r e s o u r c e .   T h e   f o l l o w i n g   s h o w s   t h e   d e f a u l t   s e r v i c e   a c c o u n t   b e i n g   b o u n d   t o   a   c l u s t e r   r o l e   w e b a p p 1 - r o l e   t o   u s e   g m s a - W e b A p p 1   c r e d e n t i a l   s p e c   r e s o u r c e   c r e a t e d   a b o v e .   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   R o l e B i n d i n g   m e t a d a t a :   n a m e :   a l l o w - d e f a u l t - s v c - a c c o u n t - r e a d - o n - g m s a - W e b A p p 1   n a m e s p a c e :   d e f a u l t   s u b j e c t s :   -   k i n d :   S e r v i c e A c c o u n t   n a m e :   d e f a u l t   n a m e s p a c e :   d e f a u l t   r o l e R e f :   k i n d :   C l u s t e r R o l e   n a m e :   w e b a p p 1 - r o l e   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-gmsa/",
    "id": "k8s_00732_section_2_16090"
  },
  {
    "question": "What is Configure GMSA credential spec reference in Pod spec?",
    "answer": "T h e   P o d   s p e c   f i e l d   s e c u r i t y C o n t e x t . w i n d o w s O p t i o n s . g m s a C r e d e n t i a l S p e c N a m e   i s   u s e d   t o   s p e c i f y   r e f e r e n c e s   t o   d e s i r e d   G M S A   c r e d e n t i a l   s p e c   c u s t o m   r e s o u r c e s   i n   P o d   s p e c s .   T h i s   c o n f i g u r e s   a l l   c o n t a i n e r s   i n   t h e   P o d   s p e c   t o   u s e   t h e   s p e c i f i e d   G M S A .   A   s a m p l e   P o d   s p e c   w i t h   t h e   a n n o t a t i o n   p o p u l a t e d   t o   r e f e r   t o   g m s a - W e b A p p 1 :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   l a b e l s :   r u n :   w i t h - c r e d s   n a m e :   w i t h - c r e d s   n a m e s p a c e :   d e f a u l t   s p e c :   r e p l i c a s :   1   s e l e c t o r :   m a t c h L a b e l s :   r u n :   w i t h - c r e d s   t e m p l a t e :   m e t a d a t a :   l a b e l s :   r u n :   w i t h - c r e d s   s p e c :   s e c u r i t y C o n t e x t :   w i n d o w s O p t i o n s :   g m s a C r e d e n t i a l S p e c N a m e :   g m s a - w e b a p p 1   c o n t a i n e r s :   -   i m a g e :   m c r . m i c r o s o f t . c o m / w i n d o w s / s e r v e r c o r e / i i s : w i n d o w s s e r v e r c o r e - l t s c 2 0 1 9   i m a g e P u l l P o l i c y :   A l w a y s   n a m e :   i i s   n o d e S e l e c t o r :   k u b e r n e t e s . i o / o s :   w i n d o w s   I n d i v i d u a l   c o n t a i n e r s   i n   a   P o d   s p e c   c a n   a l s o   s p e c i f y   t h e   d e s i r e d   G M S A   c r e d s p e c   u s i n g   a   p e r - c o n t a i n e r   s e c u r i t y C o n t e x t . w i n d o w s O p t i o n s . g m s a C r e d e n t i a l S p e c N a m e   f i e l d .   F o r   e x a m p l e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   l a b e l s :   r u n :   w i t h ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-gmsa/",
    "id": "k8s_00732_section_2_16091"
  },
  {
    "question": "What is Authenticating to network shares using hostname or FQDN?",
    "answer": "I f   y o u   a r e   e x p e r i e n c i n g   i s s u e s   c o n n e c t i n g   t o   S M B   s h a r e s   f r o m   P o d s   u s i n g   h o s t n a m e   o r   F Q D N ,   b u t   a r e   a b l e   t o   a c c e s s   t h e   s h a r e s   v i a   t h e i r   I P v 4   a d d r e s s   t h e n   m a k e   s u r e   t h e   f o l l o w i n g   r e g i s t r y   k e y   i s   s e t   o n   t h e   W i n d o w s   n o d e s .   r e g   a d d   \" H K L M \\ S Y S T E M \\ C u r r e n t C o n t r o l S e t \\ S e r v i c e s \\ h n s \\ S t a t e \"   / v   E n a b l e C o m p a r t m e n t N a m e s p a c e   / t   R E G _ D W O R D   / d   1   R u n n i n g   P o d s   w i l l   t h e n   n e e d   t o   b e   r e c r e a t e d   t o   p i c k   u p   t h e   b e h a v i o r   c h a n g e s .   M o r e   i n f o r m a t i o n   o n   h o w   t h i s   r e g i s t r y   k e y   i s   u s e d   c a n   b e   f o u n d   h e r e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-gmsa/",
    "id": "k8s_00732_section_2_16092"
  },
  {
    "question": "What is Troubleshooting?",
    "answer": "I f   y o u   a r e   h a v i n g   d i f f i c u l t i e s   g e t t i n g   G M S A   t o   w o r k   i n   y o u r   e n v i r o n m e n t ,   t h e r e   a r e   a   f e w   t r o u b l e s h o o t i n g   s t e p s   y o u   c a n   t a k e .   F i r s t ,   m a k e   s u r e   t h e   c r e d s p e c   h a s   b e e n   p a s s e d   t o   t h e   P o d .   T o   d o   t h i s   y o u   w i l l   n e e d   t o   e x e c   i n t o   o n e   o f   y o u r   P o d s   a n d   c h e c k   t h e   o u t p u t   o f   t h e   n l t e s t . e x e   / p a r e n t d o m a i n   c o m m a n d .   I n   t h e   e x a m p l e   b e l o w   t h e   P o d   d i d   n o t   g e t   t h e   c r e d s p e c   c o r r e c t l y :   k u b e c t l   e x e c   - i t   i i s - a u t h - 7 7 7 6 9 6 6 9 9 9 - n 5 n z r   p o w e r s h e l l . e x e   n l t e s t . e x e   / p a r e n t d o m a i n   r e s u l t s   i n   t h e   f o l l o w i n g   e r r o r :   G e t t i n g   p a r e n t   d o m a i n   f a i l e d :   S t a t u s   =   1 7 2 2   0 x 6 b a   R P C _ S _ S E R V E R _ U N A V A I L A B L E   I f   y o u r   P o d   d i d   g e t   t h e   c r e d s p e c   c o r r e c t l y ,   t h e n   n e x t   c h e c k   c o m m u n i c a t i o n   w i t h   t h e   d o m a i n .   F i r s t ,   f r o m   i n s i d e   o f   y o u r   P o d ,   q u i c k l y   d o   a n   n s l o o k u p   t o   f i n d   t h e   r o o t   o f   y o u r   d o m a i n .   T h i s   w i l l   t e l l   u s   3   t h i n g s :   T h e   P o d   c a n   r e a c h   t h e   D C T h e   D C   c a n   r e a c h   t h e   P o d D N S   i s   w o r k i n g   c o r r e c t l y .   I f   t h e   D N S   a n d   c o m m u n i c a t i o n   t e s t   p a s s e s ,   n e x t   y o u   w i l l   n e e d   t o   c h e c k   i f   t h e   P o d   h a s   e s t a b l i s h e d   s e c u r e   c h a n n e l   c o m m u n i c a t i o n   w i t h   t h e   d o m a i n .   T o   d o   t h i s ,   a g a i n ,   e x ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/configure-gmsa/",
    "id": "k8s_00732_section_2_16093"
  },
  {
    "question": "What is Kubernetes Security and Disclosure Information?",
    "answer": "Kubernetes Security and Disclosure InformationThis page describes Kubernetes security and disclosure information.Security AnnouncementsJoin the kubernetes-security-announce group for emails about security and major API announcements.Report a VulnerabilityWe're extremely grateful for security researchers and users that report vulnerabilities to the Kubernetes Open Source Community. All reports are thoroughly investigated by a set of community volunteers.To make a report, submit your vulnerability to the Kubernetes bug bounty program. This allows triage and handling of the vulnerability with standardized response times.You can also email the private security@kubernetes.io list with the security details and the details expected for all Kubernetes bug reports.You may encrypt your email to this list using the GPG keys of the Security Response Committee members. Encryption using GPG is NOT required to make a disclosure.When Should I Report a Vulnerability?You think you discovered a potential security vulnerability in KubernetesYou are unsure how a vulnerability affects KubernetesYou think you discovered a vulnerability in another project that Kubernetes depends onFor projects with their own vulnerability reporting and disclosure process, please report it directly thereWhen Should I NOT Report a Vulnerability?You need help tuning Kubernetes components for securityYou need help applying security related updatesYour issue is not security relatedSecurity Vulnerability ResponseEach report is acknowledged and analyzed by Security Response Committee members within 3 working days. This will set off the Security Release Process.Any vulnerability information shared with Security Response Committee stays within Kubernetes project and will not be disseminated to other projects unless it is necessary to get the issue fixed.As the security issue moves from triage, to identified fix, to release planning we will keep the reporter updated.Public Disclosure TimingA public disclosure date is negotiated by the Kubernetes Security Response Committee and the bug submitter. We prefer to fully disclose the bug as soon as possible once a user mitigation is available. It is reasonable to delay disclosure when the bug or the fix is not yet fully understood, the solution is not well-tested, or for vendor coordination. The timeframe for disclosure is from immediate (especially if it's already publicly known) to a few weeks. For a vulnerability with a straightforward mitigation, we expect report date to disclosure date to be on the order of 7 days. The Kubernetes Security Response Committee holds the final say when setting a disclosure date.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/issues-security/security/",
    "id": "k8s_00733_qa_16094"
  },
  {
    "question": "How does Kubernetes Security and Disclosure Information work?",
    "answer": "Kubernetes Security and Disclosure InformationThis page describes Kubernetes security and disclosure information.Security AnnouncementsJoin the kubernetes-security-announce group for emails about security and major API announcements.Report a VulnerabilityWe're extremely grateful for security researchers and users that report vulnerabilities to the Kubernetes Open Source Community. All reports are thoroughly investigated by a set of community volunteers.To make a report, submit your vulnerability to the Kubernetes bug bounty program. This allows triage and handling of the vulnerability with standardized response times.You can also email the private security@kubernetes.io list with the security details and the details expected for all Kubernetes bug reports.You may encrypt your email to this list using the GPG keys of the Security Response Committee members. Encryption using GPG is NOT required to make a disclosure.When Should I Report a Vulnerability?You think you discovered a potential security vulnerability in KubernetesYou are unsure how a vulnerability affects KubernetesYou think you discovered a vulnerability in another project that Kubernetes depends onFor projects with their own vulnerability reporting and disclosure process, please report it directly thereWhen Should I NOT Report a Vulnerability?You need help tuning Kubernetes components for securityYou need help applying security related updatesYour issue is not security relatedSecurity Vulnerability ResponseEach report is acknowledged and analyzed by Security Response Committee members within 3 working days. This will set off the Security Release Process.Any vulnerability information shared with Security Response Committee stays within Kubernetes project and will not be disseminated to other projects unless it is necessary to get the issue fixed.As the security issue moves from triage, to identified fix, to release planning we will keep the reporter updated.Public Disclosure TimingA public disclosure date is negotiated by the Kubernetes Security Response Committee and the bug submitter. We prefer to fully disclose the bug as soon as possible once a user mitigation is available. It is reasonable to delay disclosure when the bug or the fix is not yet fully understood, the solution is not well-tested, or for vendor coordination. The timeframe for disclosure is from immediate (especially if it's already publicly known) to a few weeks. For a vulnerability with a straightforward mitigation, we expect report date to disclosure date to be on the order of 7 days. The Kubernetes Security Response Committee holds the final say when setting a disclosure date.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/issues-security/security/",
    "id": "k8s_00733_qa_16095"
  },
  {
    "question": "When would you use Kubernetes Security and Disclosure Information?",
    "answer": "Kubernetes Security and Disclosure InformationThis page describes Kubernetes security and disclosure information.Security AnnouncementsJoin the kubernetes-security-announce group for emails about security and major API announcements.Report a VulnerabilityWe're extremely grateful for security researchers and users that report vulnerabilities to the Kubernetes Open Source Community. All reports are thoroughly investigated by a set of community volunteers.To make a report, submit your vulnerability to the Kubernetes bug bounty program. This allows triage and handling of the vulnerability with standardized response times.You can also email the private security@kubernetes.io list with the security details and the details expected for all Kubernetes bug reports.You may encrypt your email to this list using the GPG keys of the Security Response Committee members. Encryption using GPG is NOT required to make a disclosure.When Should I Report a Vulnerability?You think you discovered a potential security vulnerability in KubernetesYou are unsure how a vulnerability affects KubernetesYou think you discovered a vulnerability in another project that Kubernetes depends onFor projects with their own vulnerability reporting and disclosure process, please report it directly thereWhen Should I NOT Report a Vulnerability?You need help tuning Kubernetes components for securityYou need help applying security related updatesYour issue is not security relatedSecurity Vulnerability ResponseEach report is acknowledged and analyzed by Security Response Committee members within 3 working days. This will set off the Security Release Process.Any vulnerability information shared with Security Response Committee stays within Kubernetes project and will not be disseminated to other projects unless it is necessary to get the issue fixed.As the security issue moves from triage, to identified fix, to release planning we will keep the reporter updated.Public Disclosure TimingA public disclosure date is negotiated by the Kubernetes Security Response Committee and the bug submitter. We prefer to fully disclose the bug as soon as possible once a user mitigation is available. It is reasonable to delay disclosure when the bug or the fix is not yet fully understood, the solution is not well-tested, or for vendor coordination. The timeframe for disclosure is from immediate (especially if it's already publicly known) to a few weeks. For a vulnerability with a straightforward mitigation, we expect report date to disclosure date to be on the order of 7 days. The Kubernetes Security Response Committee holds the final say when setting a disclosure date.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/issues-security/security/",
    "id": "k8s_00733_qa_16096"
  },
  {
    "question": "What are the benefits of Kubernetes Security and Disclosure Information?",
    "answer": "Kubernetes Security and Disclosure InformationThis page describes Kubernetes security and disclosure information.Security AnnouncementsJoin the kubernetes-security-announce group for emails about security and major API announcements.Report a VulnerabilityWe're extremely grateful for security researchers and users that report vulnerabilities to the Kubernetes Open Source Community. All reports are thoroughly investigated by a set of community volunteers.To make a report, submit your vulnerability to the Kubernetes bug bounty program. This allows triage and handling of the vulnerability with standardized response times.You can also email the private security@kubernetes.io list with the security details and the details expected for all Kubernetes bug reports.You may encrypt your email to this list using the GPG keys of the Security Response Committee members. Encryption using GPG is NOT required to make a disclosure.When Should I Report a Vulnerability?You think you discovered a potential security vulnerability in KubernetesYou are unsure how a vulnerability affects KubernetesYou think you discovered a vulnerability in another project that Kubernetes depends onFor projects with their own vulnerability reporting and disclosure process, please report it directly thereWhen Should I NOT Report a Vulnerability?You need help tuning Kubernetes components for securityYou need help applying security related updatesYour issue is not security relatedSecurity Vulnerability ResponseEach report is acknowledged and analyzed by Security Response Committee members within 3 working days. This will set off the Security Release Process.Any vulnerability information shared with Security Response Committee stays within Kubernetes project and will not be disseminated to other projects unless it is necessary to get the issue fixed.As the security issue moves from triage, to identified fix, to release planning we will keep the reporter updated.Public Disclosure TimingA public disclosure date is negotiated by the Kubernetes Security Response Committee and the bug submitter. We prefer to fully disclose the bug as soon as possible once a user mitigation is available. It is reasonable to delay disclosure when the bug or the fix is not yet fully understood, the solution is not well-tested, or for vendor coordination. The timeframe for disclosure is from immediate (especially if it's already publicly known) to a few weeks. For a vulnerability with a straightforward mitigation, we expect report date to disclosure date to be on the order of 7 days. The Kubernetes Security Response Committee holds the final say when setting a disclosure date.",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/issues-security/security/",
    "id": "k8s_00733_qa_16097"
  },
  {
    "question": "What is Kubernetes Security and Disclosure Information?",
    "answer": "T h i s   p a g e   d e s c r i b e s   K u b e r n e t e s   s e c u r i t y   a n d   d i s c l o s u r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/issues-security/security/",
    "id": "k8s_00733_section_1_16098"
  },
  {
    "question": "What is Security Announcements?",
    "answer": "J o i n   t h e   k u b e r n e t e s - s e c u r i t y - a n n o u n c e   g r o u p   f o r   e m a i l s   a b o u t   s e c u r i t y   a n d   m a j o r   A P I   a n n o u n c e m e n t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/issues-security/security/",
    "id": "k8s_00733_section_2_16099"
  },
  {
    "question": "What is Report a Vulnerability?",
    "answer": "W e ' r e   e x t r e m e l y   g r a t e f u l   f o r   s e c u r i t y   r e s e a r c h e r s   a n d   u s e r s   t h a t   r e p o r t   v u l n e r a b i l i t i e s   t o   t h e   K u b e r n e t e s   O p e n   S o u r c e   C o m m u n i t y .   A l l   r e p o r t s   a r e   t h o r o u g h l y   i n v e s t i g a t e d   b y   a   s e t   o f   c o m m u n i t y   v o l u n t e e r s .   T o   m a k e   a   r e p o r t ,   s u b m i t   y o u r   v u l n e r a b i l i t y   t o   t h e   K u b e r n e t e s   b u g   b o u n t y   p r o g r a m .   T h i s   a l l o w s   t r i a g e   a n d   h a n d l i n g   o f   t h e   v u l n e r a b i l i t y   w i t h   s t a n d a r d i z e d   r e s p o n s e   t i m e s .   Y o u   c a n   a l s o   e m a i l   t h e   p r i v a t e   s e c u r i t y @ k u b e r n e t e s . i o   l i s t   w i t h   t h e   s e c u r i t y   d e t a i l s   a n d   t h e   d e t a i l s   e x p e c t e d   f o r   a l l   K u b e r n e t e s   b u g   r e p o r t s .   Y o u   m a y   e n c r y p t   y o u r   e m a i l   t o   t h i s   l i s t   u s i n g   t h e   G P G   k e y s   o f   t h e   S e c u r i t y   R e s p o n s e   C o m m i t t e e   m e m b e r s .   E n c r y p t i o n   u s i n g   G P G   i s   N O T   r e q u i r e d   t o   m a k e   a   d i s c l o s u r e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/issues-security/security/",
    "id": "k8s_00733_section_2_16100"
  },
  {
    "question": "What is When Should I Report a Vulnerability??",
    "answer": "Y o u   t h i n k   y o u   d i s c o v e r e d   a   p o t e n t i a l   s e c u r i t y   v u l n e r a b i l i t y   i n   K u b e r n e t e s Y o u   a r e   u n s u r e   h o w   a   v u l n e r a b i l i t y   a f f e c t s   K u b e r n e t e s Y o u   t h i n k   y o u   d i s c o v e r e d   a   v u l n e r a b i l i t y   i n   a n o t h e r   p r o j e c t   t h a t   K u b e r n e t e s   d e p e n d s   o n F o r   p r o j e c t s   w i t h   t h e i r   o w n   v u l n e r a b i l i t y   r e p o r t i n g   a n d   d i s c l o s u r e   p r o c e s s ,   p l e a s e   r e p o r t   i t   d i r e c t l y   t h e r e   F o r   p r o j e c t s   w i t h   t h e i r   o w n   v u l n e r a b i l i t y   r e p o r t i n g   a n d   d i s c l o s u r e   p r o c e s s ,   p l e a s e   r e p o r t   i t   d i r e c t l y   t h e r e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/issues-security/security/",
    "id": "k8s_00733_section_3_16101"
  },
  {
    "question": "What is When Should I NOT Report a Vulnerability??",
    "answer": "Y o u   n e e d   h e l p   t u n i n g   K u b e r n e t e s   c o m p o n e n t s   f o r   s e c u r i t y Y o u   n e e d   h e l p   a p p l y i n g   s e c u r i t y   r e l a t e d   u p d a t e s Y o u r   i s s u e   i s   n o t   s e c u r i t y   r e l a t e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/issues-security/security/",
    "id": "k8s_00733_section_3_16102"
  },
  {
    "question": "What is Security Vulnerability Response?",
    "answer": "E a c h   r e p o r t   i s   a c k n o w l e d g e d   a n d   a n a l y z e d   b y   S e c u r i t y   R e s p o n s e   C o m m i t t e e   m e m b e r s   w i t h i n   3   w o r k i n g   d a y s .   T h i s   w i l l   s e t   o f f   t h e   S e c u r i t y   R e l e a s e   P r o c e s s .   A n y   v u l n e r a b i l i t y   i n f o r m a t i o n   s h a r e d   w i t h   S e c u r i t y   R e s p o n s e   C o m m i t t e e   s t a y s   w i t h i n   K u b e r n e t e s   p r o j e c t   a n d   w i l l   n o t   b e   d i s s e m i n a t e d   t o   o t h e r   p r o j e c t s   u n l e s s   i t   i s   n e c e s s a r y   t o   g e t   t h e   i s s u e   f i x e d .   A s   t h e   s e c u r i t y   i s s u e   m o v e s   f r o m   t r i a g e ,   t o   i d e n t i f i e d   f i x ,   t o   r e l e a s e   p l a n n i n g   w e   w i l l   k e e p   t h e   r e p o r t e r   u p d a t e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/issues-security/security/",
    "id": "k8s_00733_section_2_16103"
  },
  {
    "question": "What is Public Disclosure Timing?",
    "answer": "A   p u b l i c   d i s c l o s u r e   d a t e   i s   n e g o t i a t e d   b y   t h e   K u b e r n e t e s   S e c u r i t y   R e s p o n s e   C o m m i t t e e   a n d   t h e   b u g   s u b m i t t e r .   W e   p r e f e r   t o   f u l l y   d i s c l o s e   t h e   b u g   a s   s o o n   a s   p o s s i b l e   o n c e   a   u s e r   m i t i g a t i o n   i s   a v a i l a b l e .   I t   i s   r e a s o n a b l e   t o   d e l a y   d i s c l o s u r e   w h e n   t h e   b u g   o r   t h e   f i x   i s   n o t   y e t   f u l l y   u n d e r s t o o d ,   t h e   s o l u t i o n   i s   n o t   w e l l - t e s t e d ,   o r   f o r   v e n d o r   c o o r d i n a t i o n .   T h e   t i m e f r a m e   f o r   d i s c l o s u r e   i s   f r o m   i m m e d i a t e   ( e s p e c i a l l y   i f   i t ' s   a l r e a d y   p u b l i c l y   k n o w n )   t o   a   f e w   w e e k s .   F o r   a   v u l n e r a b i l i t y   w i t h   a   s t r a i g h t f o r w a r d   m i t i g a t i o n ,   w e   e x p e c t   r e p o r t   d a t e   t o   d i s c l o s u r e   d a t e   t o   b e   o n   t h e   o r d e r   o f   7   d a y s .   T h e   K u b e r n e t e s   S e c u r i t y   R e s p o n s e   C o m m i t t e e   h o l d s   t h e   f i n a l   s a y   w h e n   s e t t i n g   a   d i s c l o s u r e   d a t e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/issues-security/security/",
    "id": "k8s_00733_section_2_16104"
  },
  {
    "question": "What is Dynamic Resource Allocation?",
    "answer": "Dynamic Resource AllocationFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)This page describes dynamic resource allocation (DRA) in Kubernetes.About DRADRA is a Kubernetes feature that lets you request and share resources among Pods. These resources are often attached devices like hardware accelerators.With DRA, device drivers and cluster admins define device classes that are available to claim in workloads. Kubernetes allocates matching devices to specific claims and places the corresponding Pods on nodes that can access the allocated devices.Allocating resources with DRA is a similar experience to dynamic volume provisioning, in which you use PersistentVolumeClaims to claim storage capacity from storage classes and request the claimed capacity in your Pods.Benefits of DRADRA provides a flexible way to categorize, request, and use devices in your cluster. Using DRA provides benefits like the following:Flexible device filtering: use common expression language (CEL) to perform fine-grained filtering for specific device attributes.Device sharing: share the same resource with multiple containers or Pods by referencing the corresponding resource claim.Centralized device categorization: device drivers and cluster admins can use device classes to provide app operators with hardware categories that are optimized for various use cases. For example, you can create a cost-optimized device class for general-purpose workloads, and a high-performance device class for critical jobs.Simplified Pod requests: with DRA, app operators don't need to specify device quantities in Pod resource requests. Instead, the Pod references a resource claim, and the device configuration in that claim applies to the Pod.These benefits provide significant improvements in the device allocation workflow when compared to device plugins, which require per-container device requests, don't support device sharing, and don't support expression-based device filtering.Types of DRA usersThe workflow of using DRA to allocate devices involves the following types of users:Device owner: responsible for devices. Device owners might be commercial vendors, the cluster operator, or another entity. To use DRA, devices must have DRA-compatible drivers that do the following:Create ResourceSlices that provide Kubernetes with information about nodes and resources.Update ResourceSlices when resource capacity in the cluster changes.Optionally, create DeviceClasses that workload operators can use to claim devices.Cluster admin: responsible for configuring clusters and nodes, attaching devices, installing drivers, and similar tasks. To use DRA, cluster admins do the following:Attach devices to nodes.Install device drivers that support DRA.Optionally, create DeviceClasses that workload operators can use to claim devices.Workload operator: responsible for deploying and managing workloads in the cluster. To use DRA to allocate devices to Pods, workload operators do the following:Create Resour",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_qa_16105"
  },
  {
    "question": "How does Dynamic Resource Allocation work?",
    "answer": "Dynamic Resource AllocationFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)This page describes dynamic resource allocation (DRA) in Kubernetes.About DRADRA is a Kubernetes feature that lets you request and share resources among Pods. These resources are often attached devices like hardware accelerators.With DRA, device drivers and cluster admins define device classes that are available to claim in workloads. Kubernetes allocates matching devices to specific claims and places the corresponding Pods on nodes that can access the allocated devices.Allocating resources with DRA is a similar experience to dynamic volume provisioning, in which you use PersistentVolumeClaims to claim storage capacity from storage classes and request the claimed capacity in your Pods.Benefits of DRADRA provides a flexible way to categorize, request, and use devices in your cluster. Using DRA provides benefits like the following:Flexible device filtering: use common expression language (CEL) to perform fine-grained filtering for specific device attributes.Device sharing: share the same resource with multiple containers or Pods by referencing the corresponding resource claim.Centralized device categorization: device drivers and cluster admins can use device classes to provide app operators with hardware categories that are optimized for various use cases. For example, you can create a cost-optimized device class for general-purpose workloads, and a high-performance device class for critical jobs.Simplified Pod requests: with DRA, app operators don't need to specify device quantities in Pod resource requests. Instead, the Pod references a resource claim, and the device configuration in that claim applies to the Pod.These benefits provide significant improvements in the device allocation workflow when compared to device plugins, which require per-container device requests, don't support device sharing, and don't support expression-based device filtering.Types of DRA usersThe workflow of using DRA to allocate devices involves the following types of users:Device owner: responsible for devices. Device owners might be commercial vendors, the cluster operator, or another entity. To use DRA, devices must have DRA-compatible drivers that do the following:Create ResourceSlices that provide Kubernetes with information about nodes and resources.Update ResourceSlices when resource capacity in the cluster changes.Optionally, create DeviceClasses that workload operators can use to claim devices.Cluster admin: responsible for configuring clusters and nodes, attaching devices, installing drivers, and similar tasks. To use DRA, cluster admins do the following:Attach devices to nodes.Install device drivers that support DRA.Optionally, create DeviceClasses that workload operators can use to claim devices.Workload operator: responsible for deploying and managing workloads in the cluster. To use DRA to allocate devices to Pods, workload operators do the following:Create Resour",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_qa_16106"
  },
  {
    "question": "When would you use Dynamic Resource Allocation?",
    "answer": "Dynamic Resource AllocationFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)This page describes dynamic resource allocation (DRA) in Kubernetes.About DRADRA is a Kubernetes feature that lets you request and share resources among Pods. These resources are often attached devices like hardware accelerators.With DRA, device drivers and cluster admins define device classes that are available to claim in workloads. Kubernetes allocates matching devices to specific claims and places the corresponding Pods on nodes that can access the allocated devices.Allocating resources with DRA is a similar experience to dynamic volume provisioning, in which you use PersistentVolumeClaims to claim storage capacity from storage classes and request the claimed capacity in your Pods.Benefits of DRADRA provides a flexible way to categorize, request, and use devices in your cluster. Using DRA provides benefits like the following:Flexible device filtering: use common expression language (CEL) to perform fine-grained filtering for specific device attributes.Device sharing: share the same resource with multiple containers or Pods by referencing the corresponding resource claim.Centralized device categorization: device drivers and cluster admins can use device classes to provide app operators with hardware categories that are optimized for various use cases. For example, you can create a cost-optimized device class for general-purpose workloads, and a high-performance device class for critical jobs.Simplified Pod requests: with DRA, app operators don't need to specify device quantities in Pod resource requests. Instead, the Pod references a resource claim, and the device configuration in that claim applies to the Pod.These benefits provide significant improvements in the device allocation workflow when compared to device plugins, which require per-container device requests, don't support device sharing, and don't support expression-based device filtering.Types of DRA usersThe workflow of using DRA to allocate devices involves the following types of users:Device owner: responsible for devices. Device owners might be commercial vendors, the cluster operator, or another entity. To use DRA, devices must have DRA-compatible drivers that do the following:Create ResourceSlices that provide Kubernetes with information about nodes and resources.Update ResourceSlices when resource capacity in the cluster changes.Optionally, create DeviceClasses that workload operators can use to claim devices.Cluster admin: responsible for configuring clusters and nodes, attaching devices, installing drivers, and similar tasks. To use DRA, cluster admins do the following:Attach devices to nodes.Install device drivers that support DRA.Optionally, create DeviceClasses that workload operators can use to claim devices.Workload operator: responsible for deploying and managing workloads in the cluster. To use DRA to allocate devices to Pods, workload operators do the following:Create Resour",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_qa_16107"
  },
  {
    "question": "What are the benefits of Dynamic Resource Allocation?",
    "answer": "Dynamic Resource AllocationFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)This page describes dynamic resource allocation (DRA) in Kubernetes.About DRADRA is a Kubernetes feature that lets you request and share resources among Pods. These resources are often attached devices like hardware accelerators.With DRA, device drivers and cluster admins define device classes that are available to claim in workloads. Kubernetes allocates matching devices to specific claims and places the corresponding Pods on nodes that can access the allocated devices.Allocating resources with DRA is a similar experience to dynamic volume provisioning, in which you use PersistentVolumeClaims to claim storage capacity from storage classes and request the claimed capacity in your Pods.Benefits of DRADRA provides a flexible way to categorize, request, and use devices in your cluster. Using DRA provides benefits like the following:Flexible device filtering: use common expression language (CEL) to perform fine-grained filtering for specific device attributes.Device sharing: share the same resource with multiple containers or Pods by referencing the corresponding resource claim.Centralized device categorization: device drivers and cluster admins can use device classes to provide app operators with hardware categories that are optimized for various use cases. For example, you can create a cost-optimized device class for general-purpose workloads, and a high-performance device class for critical jobs.Simplified Pod requests: with DRA, app operators don't need to specify device quantities in Pod resource requests. Instead, the Pod references a resource claim, and the device configuration in that claim applies to the Pod.These benefits provide significant improvements in the device allocation workflow when compared to device plugins, which require per-container device requests, don't support device sharing, and don't support expression-based device filtering.Types of DRA usersThe workflow of using DRA to allocate devices involves the following types of users:Device owner: responsible for devices. Device owners might be commercial vendors, the cluster operator, or another entity. To use DRA, devices must have DRA-compatible drivers that do the following:Create ResourceSlices that provide Kubernetes with information about nodes and resources.Update ResourceSlices when resource capacity in the cluster changes.Optionally, create DeviceClasses that workload operators can use to claim devices.Cluster admin: responsible for configuring clusters and nodes, attaching devices, installing drivers, and similar tasks. To use DRA, cluster admins do the following:Attach devices to nodes.Install device drivers that support DRA.Optionally, create DeviceClasses that workload operators can use to claim devices.Workload operator: responsible for deploying and managing workloads in the cluster. To use DRA to allocate devices to Pods, workload operators do the following:Create Resour",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_qa_16108"
  },
  {
    "question": "What is Dynamic Resource Allocation?",
    "answer": "T h i s   p a g e   d e s c r i b e s   d y n a m i c   r e s o u r c e   a l l o c a t i o n   ( D R A )   i n   K u b e r n e t e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_1_16109"
  },
  {
    "question": "What is About DRA?",
    "answer": "D R A   i s   a   K u b e r n e t e s   f e a t u r e   t h a t   l e t s   y o u   r e q u e s t   a n d   s h a r e   r e s o u r c e s   a m o n g   P o d s .   T h e s e   r e s o u r c e s   a r e   o f t e n   a t t a c h e d   d e v i c e s   l i k e   h a r d w a r e   a c c e l e r a t o r s .   D R A   i s   a   K u b e r n e t e s   f e a t u r e   t h a t   l e t s   y o u   r e q u e s t   a n d   s h a r e   r e s o u r c e s   a m o n g   P o d s .   T h e s e   r e s o u r c e s   a r e   o f t e n   a t t a c h e d   d e v i c e s   l i k e   h a r d w a r e   a c c e l e r a t o r s .   W i t h   D R A ,   d e v i c e   d r i v e r s   a n d   c l u s t e r   a d m i n s   d e f i n e   d e v i c e   c l a s s e s   t h a t   a r e   a v a i l a b l e   t o   c l a i m   i n   w o r k l o a d s .   K u b e r n e t e s   a l l o c a t e s   m a t c h i n g   d e v i c e s   t o   s p e c i f i c   c l a i m s   a n d   p l a c e s   t h e   c o r r e s p o n d i n g   P o d s   o n   n o d e s   t h a t   c a n   a c c e s s   t h e   a l l o c a t e d   d e v i c e s .   A l l o c a t i n g   r e s o u r c e s   w i t h   D R A   i s   a   s i m i l a r   e x p e r i e n c e   t o   d y n a m i c   v o l u m e   p r o v i s i o n i n g ,   i n   w h i c h   y o u   u s e   P e r s i s t e n t V o l u m e C l a i m s   t o   c l a i m   s t o r a g e   c a p a c i t y   f r o m   s t o r a g e   c l a s s e s   a n d   r e q u e s t   t h e   c l a i m e d   c a p a c i t y   i n   y o u r   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_2_16110"
  },
  {
    "question": "What is Benefits of DRA?",
    "answer": "D R A   p r o v i d e s   a   f l e x i b l e   w a y   t o   c a t e g o r i z e ,   r e q u e s t ,   a n d   u s e   d e v i c e s   i n   y o u r   c l u s t e r .   U s i n g   D R A   p r o v i d e s   b e n e f i t s   l i k e   t h e   f o l l o w i n g :   F l e x i b l e   d e v i c e   f i l t e r i n g :   u s e   c o m m o n   e x p r e s s i o n   l a n g u a g e   ( C E L )   t o   p e r f o r m   f i n e - g r a i n e d   f i l t e r i n g   f o r   s p e c i f i c   d e v i c e   a t t r i b u t e s . D e v i c e   s h a r i n g :   s h a r e   t h e   s a m e   r e s o u r c e   w i t h   m u l t i p l e   c o n t a i n e r s   o r   P o d s   b y   r e f e r e n c i n g   t h e   c o r r e s p o n d i n g   r e s o u r c e   c l a i m . C e n t r a l i z e d   d e v i c e   c a t e g o r i z a t i o n :   d e v i c e   d r i v e r s   a n d   c l u s t e r   a d m i n s   c a n   u s e   d e v i c e   c l a s s e s   t o   p r o v i d e   a p p   o p e r a t o r s   w i t h   h a r d w a r e   c a t e g o r i e s   t h a t   a r e   o p t i m i z e d   f o r   v a r i o u s   u s e   c a s e s .   F o r   e x a m p l e ,   y o u   c a n   c r e a t e   a   c o s t - o p t i m i z e d   d e v i c e   c l a s s   f o r   g e n e r a l - p u r p o s e   w o r k l o a d s ,   a n d   a   h i g h - p e r f o r m a n c e   d e v i c e   c l a s s   f o r   c r i t i c a l   j o b s . S i m p l i f i e d   P o d   r e q u e s t s :   w i t h   D R A ,   a p p   o p e r a t o r s   d o n ' t   n e e d   t o   s p e c i f y   d e v i c e   q u a n t i t i e s   i n   P o d   r e s o u r c e   r e q u e s t s .   I n s t e a d ,   t h e   P o d   r e f e r e n c e s   a   r e s o u r c e   c l a i m ,   a n d   t h e   d e v i c e   c o n f i g u r a t i o n   i n   t h a t   c l a i m   a p p l i e s   t o   t h e   P o d .   T h e s e   b e n e f i t s   p r o v i d e   s i g n i f i c a n t   i m p r o v e m e n t s   i n   t h e   d e v i c e   a l l o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_3_16111"
  },
  {
    "question": "What is Types of DRA users?",
    "answer": "T h e   w o r k f l o w   o f   u s i n g   D R A   t o   a l l o c a t e   d e v i c e s   i n v o l v e s   t h e   f o l l o w i n g   t y p e s   o f   u s e r s :   D e v i c e   o w n e r :   r e s p o n s i b l e   f o r   d e v i c e s .   D e v i c e   o w n e r s   m i g h t   b e   c o m m e r c i a l   v e n d o r s ,   t h e   c l u s t e r   o p e r a t o r ,   o r   a n o t h e r   e n t i t y .   T o   u s e   D R A ,   d e v i c e s   m u s t   h a v e   D R A - c o m p a t i b l e   d r i v e r s   t h a t   d o   t h e   f o l l o w i n g : C r e a t e   R e s o u r c e S l i c e s   t h a t   p r o v i d e   K u b e r n e t e s   w i t h   i n f o r m a t i o n   a b o u t   n o d e s   a n d   r e s o u r c e s . U p d a t e   R e s o u r c e S l i c e s   w h e n   r e s o u r c e   c a p a c i t y   i n   t h e   c l u s t e r   c h a n g e s . O p t i o n a l l y ,   c r e a t e   D e v i c e C l a s s e s   t h a t   w o r k l o a d   o p e r a t o r s   c a n   u s e   t o   c l a i m   d e v i c e s . C l u s t e r   a d m i n :   r e s p o n s i b l e   f o r   c o n f i g u r i n g   c l u s t e r s   a n d   n o d e s ,   a t t a c h i n g   d e v i c e s ,   i n s t a l l i n g   d r i v e r s ,   a n d   s i m i l a r   t a s k s .   T o   u s e   D R A ,   c l u s t e r   a d m i n s   d o   t h e   f o l l o w i n g : A t t a c h   d e v i c e s   t o   n o d e s . I n s t a l l   d e v i c e   d r i v e r s   t h a t   s u p p o r t   D R A . O p t i o n a l l y ,   c r e a t e   D e v i c e C l a s s e s   t h a t   w o r k l o a d   o p e r a t o r s   c a n   u s e   t o   c l a i m   d e v i c e s . W o r k l o a d   o p e r a t o r :   r e s p o n s i b l e   f o r   d e p l o y i n g   a n d   m a n a g i n g   w o r k l o a d s   i n   t h e   c l u s t e r .   T o   u s e   D R A   t o   a l l o c a t e   d e v i c e s   t o   P o d s ,   w o r k l o a d   o p e r a t o r s   d o   t h e   f o l l o w i n g : C r e a t e   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_3_16112"
  },
  {
    "question": "What is DRA terminology?",
    "answer": "D R A   u s e s   t h e   f o l l o w i n g   K u b e r n e t e s   A P I   k i n d s   t o   p r o v i d e   t h e   c o r e   a l l o c a t i o n   f u n c t i o n a l i t y .   A l l   o f   t h e s e   A P I   k i n d s   a r e   i n c l u d e d   i n   t h e   r e s o u r c e . k 8 s . i o / v 1   A P I   g r o u p .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_2_16113"
  },
  {
    "question": "What is DeviceClass?",
    "answer": "A   D e v i c e C l a s s   l e t s   c l u s t e r   a d m i n s   o r   d e v i c e   d r i v e r s   d e f i n e   c a t e g o r i e s   o f   d e v i c e s   i n   t h e   c l u s t e r .   D e v i c e C l a s s e s   t e l l   o p e r a t o r s   w h a t   d e v i c e s   t h e y   c a n   r e q u e s t   a n d   h o w   t h e y   c a n   r e q u e s t   t h o s e   d e v i c e s .   Y o u   c a n   u s e   c o m m o n   e x p r e s s i o n   l a n g u a g e   ( C E L )   t o   s e l e c t   d e v i c e s   b a s e d   o n   s p e c i f i c   a t t r i b u t e s .   A   R e s o u r c e C l a i m   t h a t   r e f e r e n c e s   t h e   D e v i c e C l a s s   c a n   t h e n   r e q u e s t   s p e c i f i c   c o n f i g u r a t i o n s   w i t h i n   t h e   D e v i c e C l a s s .   T o   c r e a t e   a   D e v i c e C l a s s ,   s e e   S e t   U p   D R A   i n   a   C l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_3_16114"
  },
  {
    "question": "What is ResourceClaims and ResourceClaimTemplates?",
    "answer": "A   R e s o u r c e C l a i m   d e f i n e s   t h e   r e s o u r c e s   t h a t   a   w o r k l o a d   n e e d s .   E v e r y   R e s o u r c e C l a i m   h a s   r e q u e s t s   t h a t   r e f e r e n c e   a   D e v i c e C l a s s   a n d   s e l e c t   d e v i c e s   f r o m   t h a t   D e v i c e C l a s s .   R e s o u r c e C l a i m s   c a n   a l s o   u s e   s e l e c t o r s   t o   f i l t e r   f o r   d e v i c e s   t h a t   m e e t   s p e c i f i c   r e q u i r e m e n t s ,   a n d   c a n   u s e   c o n s t r a i n t s   t o   l i m i t   t h e   d e v i c e s   t h a t   c a n   s a t i s f y   a   r e q u e s t .   R e s o u r c e C l a i m s   c a n   b e   c r e a t e d   b y   w o r k l o a d   o p e r a t o r s   o r   c a n   b e   g e n e r a t e d   b y   K u b e r n e t e s   b a s e d   o n   a   R e s o u r c e C l a i m T e m p l a t e .   A   R e s o u r c e C l a i m T e m p l a t e   d e f i n e s   a   t e m p l a t e   t h a t   K u b e r n e t e s   c a n   u s e   t o   a u t o - g e n e r a t e   R e s o u r c e C l a i m s   f o r   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_3_16115"
  },
  {
    "question": "What is Use cases for ResourceClaims and ResourceClaimTemplates?",
    "answer": "T h e   m e t h o d   t h a t   y o u   u s e   d e p e n d s   o n   y o u r   r e q u i r e m e n t s ,   a s   f o l l o w s :   R e s o u r c e C l a i m :   y o u   w a n t   m u l t i p l e   P o d s   t o   s h a r e   a c c e s s   t o   s p e c i f i c   d e v i c e s .   Y o u   m a n u a l l y   m a n a g e   t h e   l i f e c y c l e   o f   R e s o u r c e C l a i m s   t h a t   y o u   c r e a t e . R e s o u r c e C l a i m T e m p l a t e :   y o u   w a n t   P o d s   t o   h a v e   i n d e p e n d e n t   a c c e s s   t o   s e p a r a t e ,   s i m i l a r l y - c o n f i g u r e d   d e v i c e s .   K u b e r n e t e s   g e n e r a t e s   R e s o u r c e C l a i m s   f r o m   t h e   s p e c i f i c a t i o n   i n   t h e   R e s o u r c e C l a i m T e m p l a t e .   T h e   l i f e t i m e   o f   e a c h   g e n e r a t e d   R e s o u r c e C l a i m   i s   b o u n d   t o   t h e   l i f e t i m e   o f   t h e   c o r r e s p o n d i n g   P o d .   W h e n   y o u   d e f i n e   a   w o r k l o a d ,   y o u   c a n   u s e   C o m m o n   E x p r e s s i o n   L a n g u a g e   ( C E L )   t o   f i l t e r   f o r   s p e c i f i c   d e v i c e   a t t r i b u t e s   o r   c a p a c i t y .   T h e   a v a i l a b l e   p a r a m e t e r s   f o r   f i l t e r i n g   d e p e n d   o n   t h e   d e v i c e   a n d   t h e   d r i v e r s .   I f   y o u   d i r e c t l y   r e f e r e n c e   a   s p e c i f i c   R e s o u r c e C l a i m   i n   a   P o d ,   t h a t   R e s o u r c e C l a i m   m u s t   a l r e a d y   e x i s t   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   P o d .   I f   t h e   R e s o u r c e C l a i m   d o e s n ' t   e x i s t   i n   t h e   n a m e s p a c e ,   t h e   P o d   w o n ' t   s c h e d u l e .   T h i s   b e h a v i o r   i s   s i m i l a r   t o   h o w   a   P e r s i s t e n t V o l u m e C l a i m   m u s t   e x i s t   i n   t h e   s a m e   n a m e s p ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_4_16116"
  },
  {
    "question": "What is Prioritized list?",
    "answer": "Y o u   c a n   p r o v i d e   a   p r i o r i t i z e d   l i s t   o f   s u b r e q u e s t s   f o r   r e q u e s t s   i n   a   R e s o u r c e C l a i m   o r   R e s o u r c e C l a i m T e m p l a t e .   T h e   s c h e d u l e r   w i l l   t h e n   s e l e c t   t h e   f i r s t   s u b r e q u e s t   t h a t   c a n   b e   a l l o c a t e d .   T h i s   a l l o w s   u s e r s   t o   s p e c i f y   a l t e r n a t i v e   d e v i c e s   t h a t   c a n   b e   u s e d   b y   t h e   w o r k l o a d   i f   t h e   p r i m a r y   c h o i c e   i s   n o t   a v a i l a b l e .   I n   t h e   e x a m p l e   b e l o w ,   t h e   R e s o u r c e C l a i m T e m p l a t e   r e q u e s t e d   a   d e v i c e   w i t h   t h e   c o l o r   b l a c k   a n d   t h e   s i z e   l a r g e .   I f   a   d e v i c e   w i t h   t h o s e   a t t r i b u t e s   i s   n o t   a v a i l a b l e ,   t h e   p o d   c a n n o t   b e   s c h e d u l e d .   W i t h   t h e   p r i o r i t i z e d   l i s t   f e a t u r e ,   a   s e c o n d   a l t e r n a t i v e   c a n   b e   s p e c i f i e d ,   w h i c h   r e q u e s t s   t w o   d e v i c e s   w i t h   t h e   c o l o r   w h i t e   a n d   s i z e   s m a l l .   T h e   l a r g e   b l a c k   d e v i c e   w i l l   b e   a l l o c a t e d   i f   i t   i s   a v a i l a b l e .   I f   i t   i s   n o t ,   b u t   t w o   s m a l l   w h i t e   d e v i c e s   a r e   a v a i l a b l e ,   t h e   p o d   w i l l   s t i l l   b e   a b l e   t o   r u n .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   R e s o u r c e C l a i m T e m p l a t e   m e t a d a t a :   n a m e :   p r i o r i t i z e d - l i s t - c l a i m - t e m p l a t e   s p e c :   s p e c :   d e v i c e s :   r e q u e s t s :   -   n a m e :   r e q - 0   f i r s t A v a i l a b l e :   -   n a m e :   l a r g e - b l a c k   d e v i c e C l a s s N a m e :   r e s o u r c e . e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_4_16117"
  },
  {
    "question": "What is ResourceSlice?",
    "answer": "E a c h   R e s o u r c e S l i c e   r e p r e s e n t s   o n e   o r   m o r e   d e v i c e s   i n   a   p o o l .   T h e   p o o l   i s   m a n a g e d   b y   a   d e v i c e   d r i v e r ,   w h i c h   c r e a t e s   a n d   m a n a g e s   R e s o u r c e S l i c e s .   T h e   r e s o u r c e s   i n   a   p o o l   m i g h t   b e   r e p r e s e n t e d   b y   a   s i n g l e   R e s o u r c e S l i c e   o r   s p a n   m u l t i p l e   R e s o u r c e S l i c e s .   R e s o u r c e S l i c e s   p r o v i d e   u s e f u l   i n f o r m a t i o n   t o   d e v i c e   u s e r s   a n d   t o   t h e   s c h e d u l e r ,   a n d   a r e   c r u c i a l   f o r   d y n a m i c   r e s o u r c e   a l l o c a t i o n .   E v e r y   R e s o u r c e S l i c e   m u s t   i n c l u d e   t h e   f o l l o w i n g   i n f o r m a t i o n :   R e s o u r c e   p o o l :   a   g r o u p   o f   o n e   o r   m o r e   r e s o u r c e s   t h a t   t h e   d r i v e r   m a n a g e s .   T h e   p o o l   c a n   s p a n   m o r e   t h a n   o n e   R e s o u r c e S l i c e .   C h a n g e s   t o   t h e   r e s o u r c e s   i n   a   p o o l   m u s t   b e   p r o p a g a t e d   a c r o s s   a l l   o f   t h e   R e s o u r c e S l i c e s   i n   t h a t   p o o l .   T h e   d e v i c e   d r i v e r   t h a t   m a n a g e s   t h e   p o o l   i s   r e s p o n s i b l e   f o r   e n s u r i n g   t h a t   t h i s   p r o p a g a t i o n   h a p p e n s . D e v i c e s :   d e v i c e s   i n   t h e   m a n a g e d   p o o l .   A   R e s o u r c e S l i c e   c a n   l i s t   e v e r y   d e v i c e   i n   a   p o o l   o r   a   s u b s e t   o f   t h e   d e v i c e s   i n   a   p o o l .   T h e   R e s o u r c e S l i c e   d e f i n e s   d e v i c e   i n f o r m a t i o n   l i k e   a t t r i b u t e s ,   v e r s i o n s ,   a n d   c a p a c i t y .   D e v i c e   u s e r s   c a n   s e l e c t   d e v i c e s   f o r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_3_16118"
  },
  {
    "question": "What is How resource allocation with DRA works?",
    "answer": "T h e   f o l l o w i n g   s e c t i o n s   d e s c r i b e   t h e   w o r k f l o w   f o r   t h e   v a r i o u s   t y p e s   o f   D R A   u s e r s   a n d   f o r   t h e   K u b e r n e t e s   s y s t e m   d u r i n g   d y n a m i c   r e s o u r c e   a l l o c a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_2_16119"
  },
  {
    "question": "What is Workflow for users?",
    "answer": "D r i v e r   c r e a t i o n :   d e v i c e   o w n e r s   o r   t h i r d - p a r t y   e n t i t i e s   c r e a t e   d r i v e r s   t h a t   c a n   c r e a t e   a n d   m a n a g e   R e s o u r c e S l i c e s   i n   t h e   c l u s t e r .   T h e s e   d r i v e r s   o p t i o n a l l y   a l s o   c r e a t e   D e v i c e C l a s s e s   t h a t   d e f i n e   a   c a t e g o r y   o f   d e v i c e s   a n d   h o w   t o   r e q u e s t   t h e m . C l u s t e r   c o n f i g u r a t i o n :   c l u s t e r   a d m i n s   c r e a t e   c l u s t e r s ,   a t t a c h   d e v i c e s   t o   n o d e s ,   a n d   i n s t a l l   t h e   D R A   d e v i c e   d r i v e r s .   C l u s t e r   a d m i n s   o p t i o n a l l y   c r e a t e   D e v i c e C l a s s e s   t h a t   d e f i n e   c a t e g o r i e s   o f   d e v i c e s   a n d   h o w   t o   r e q u e s t   t h e m . R e s o u r c e   c l a i m s :   w o r k l o a d   o p e r a t o r s   c r e a t e   R e s o u r c e C l a i m T e m p l a t e s   o r   R e s o u r c e C l a i m s   t h a t   r e q u e s t   s p e c i f i c   d e v i c e   c o n f i g u r a t i o n s   w i t h i n   a   D e v i c e C l a s s .   I n   t h e   s a m e   s t e p ,   w o r k l o a d   o p e r a t o r s   m o d i f y   t h e i r   K u b e r n e t e s   m a n i f e s t s   t o   r e q u e s t   t h o s e   R e s o u r c e C l a i m T e m p l a t e s   o r   R e s o u r c e C l a i m s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_3_16120"
  },
  {
    "question": "What is Workflow for Kubernetes?",
    "answer": "R e s o u r c e S l i c e   c r e a t i o n :   d r i v e r s   i n   t h e   c l u s t e r   c r e a t e   R e s o u r c e S l i c e s   t h a t   r e p r e s e n t   o n e   o r   m o r e   d e v i c e s   i n   a   m a n a g e d   p o o l   o f   s i m i l a r   d e v i c e s . W o r k l o a d   c r e a t i o n :   t h e   c l u s t e r   c o n t r o l   p l a n e   c h e c k s   n e w   w o r k l o a d s   f o r   r e f e r e n c e s   t o   R e s o u r c e C l a i m T e m p l a t e s   o r   t o   s p e c i f i c   R e s o u r c e C l a i m s . I f   t h e   w o r k l o a d   u s e s   a   R e s o u r c e C l a i m T e m p l a t e ,   a   c o n t r o l l e r   n a m e d   t h e   r e s o u r c e c l a i m - c o n t r o l l e r   g e n e r a t e s   R e s o u r c e C l a i m s   f o r   e v e r y   P o d   i n   t h e   w o r k l o a d . I f   t h e   w o r k l o a d   u s e s   a   s p e c i f i c   R e s o u r c e C l a i m ,   K u b e r n e t e s   c h e c k s   w h e t h e r   t h a t   R e s o u r c e C l a i m   e x i s t s   i n   t h e   c l u s t e r .   I f   t h e   R e s o u r c e C l a i m   d o e s n ' t   e x i s t ,   t h e   P o d s   w o n ' t   d e p l o y . R e s o u r c e S l i c e   f i l t e r i n g :   f o r   e v e r y   P o d ,   K u b e r n e t e s   c h e c k s   t h e   R e s o u r c e S l i c e s   i n   t h e   c l u s t e r   t o   f i n d   a   d e v i c e   t h a t   s a t i s f i e s   a l l   o f   t h e   f o l l o w i n g   c r i t e r i a : T h e   n o d e s   t h a t   c a n   a c c e s s   t h e   r e s o u r c e s   a r e   e l i g i b l e   t o   r u n   t h e   P o d . T h e   R e s o u r c e S l i c e   h a s   u n a l l o c a t e d   r e s o u r c e s   t h a t   m a t c h   t h e   r e q u i r e m e n t s   o f   t h e   P o d ' s   R e s o u r c e C l a i m . R e s o u r c e   a l l o c a t i o n :   a f t e r   f i n d i n g   a n   e l i g i b l e   R e s o u r c e S l i c e   f o r   a   P o d ' s   R e s o u r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_3_16121"
  },
  {
    "question": "What is Observability of dynamic resources?",
    "answer": "Y o u   c a n   c h e c k   t h e   s t a t u s   o f   d y n a m i c a l l y   a l l o c a t e d   r e s o u r c e s   b y   u s i n g   a n y   o f   t h e   f o l l o w i n g   m e t h o d s :   k u b e l e t   d e v i c e   m e t r i c s R e s o u r c e C l a i m   s t a t u s D e v i c e   h e a l t h   m o n i t o r i n g",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_2_16122"
  },
  {
    "question": "What is kubelet device metrics?",
    "answer": "T h e   P o d R e s o u r c e s L i s t e r   k u b e l e t   g R P C   s e r v i c e   l e t s   y o u   m o n i t o r   i n - u s e   d e v i c e s .   T h e   D y n a m i c R e s o u r c e   m e s s a g e   p r o v i d e s   i n f o r m a t i o n   t h a t ' s   s p e c i f i c   t o   d y n a m i c   r e s o u r c e   a l l o c a t i o n ,   s u c h   a s   t h e   d e v i c e   n a m e   a n d   t h e   c l a i m   n a m e .   F o r   d e t a i l s ,   s e e   M o n i t o r i n g   d e v i c e   p l u g i n   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_3_16123"
  },
  {
    "question": "What is ResourceClaim device status?",
    "answer": "D R A   d r i v e r s   c a n   r e p o r t   d r i v e r - s p e c i f i c   d e v i c e   s t a t u s   d a t a   f o r   e a c h   a l l o c a t e d   d e v i c e   i n   t h e   s t a t u s . d e v i c e s   f i e l d   o f   a   R e s o u r c e C l a i m .   F o r   e x a m p l e ,   t h e   d r i v e r   m i g h t   l i s t   t h e   I P   a d d r e s s e s   t h a t   a r e   a s s i g n e d   t o   a   n e t w o r k   i n t e r f a c e   d e v i c e .   T h e   a c c u r a c y   o f   t h e   i n f o r m a t i o n   t h a t   a   d r i v e r   a d d s   t o   a   R e s o u r c e C l a i m   s t a t u s . d e v i c e s   f i e l d   d e p e n d s   o n   t h e   d r i v e r .   E v a l u a t e   d r i v e r s   t o   d e c i d e   w h e t h e r   y o u   c a n   r e l y   o n   t h i s   f i e l d   a s   t h e   o n l y   s o u r c e   o f   d e v i c e   i n f o r m a t i o n .   I f   y o u   d i s a b l e   t h e   D R A R e s o u r c e C l a i m D e v i c e S t a t u s   f e a t u r e   g a t e ,   t h e   s t a t u s . d e v i c e s   f i e l d   a u t o m a t i c a l l y   g e t s   c l e a r e d   w h e n   s t o r i n g   t h e   R e s o u r c e C l a i m .   A   R e s o u r c e C l a i m   d e v i c e   s t a t u s   i s   s u p p o r t e d   w h e n   i t   i s   p o s s i b l e ,   f r o m   a   D R A   d r i v e r ,   t o   u p d a t e   a n   e x i s t i n g   R e s o u r c e C l a i m   w h e r e   t h e   s t a t u s . d e v i c e s   f i e l d   i s   s e t .   F o r   d e t a i l s   a b o u t   t h e   s t a t u s . d e v i c e s   f i e l d ,   s e e   t h e   R e s o u r c e C l a i m   A P I   r e f e r e n c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_3_16124"
  },
  {
    "question": "What is Device Health Monitoring?",
    "answer": "A s   a n   a l p h a   f e a t u r e ,   K u b e r n e t e s   p r o v i d e s   a   m e c h a n i s m   f o r   m o n i t o r i n g   a n d   r e p o r t i n g   t h e   h e a l t h   o f   d y n a m i c a l l y   a l l o c a t e d   i n f r a s t r u c t u r e   r e s o u r c e s .   F o r   s t a t e f u l   a p p l i c a t i o n s   r u n n i n g   o n   s p e c i a l i z e d   h a r d w a r e ,   i t   i s   c r i t i c a l   t o   k n o w   w h e n   a   d e v i c e   h a s   f a i l e d   o r   b e c o m e   u n h e a l t h y .   I t   i s   a l s o   h e l p f u l   t o   f i n d   o u t   i f   t h e   d e v i c e   r e c o v e r s .   T o   e n a b l e   t h i s   f u n c t i o n a l i t y ,   t h e   R e s o u r c e H e a l t h S t a t u s   f e a t u r e   g a t e   m u s t   b e   e n a b l e d ,   a n d   t h e   D R A   d r i v e r   m u s t   i m p l e m e n t   t h e   D R A R e s o u r c e H e a l t h   g R P C   s e r v i c e .   W h e n   a   D R A   d r i v e r   d e t e c t s   t h a t   a n   a l l o c a t e d   d e v i c e   h a s   b e c o m e   u n h e a l t h y ,   i t   r e p o r t s   t h i s   s t a t u s   b a c k   t o   t h e   k u b e l e t .   T h i s   h e a l t h   i n f o r m a t i o n   i s   t h e n   e x p o s e d   d i r e c t l y   i n   t h e   P o d ' s   s t a t u s .   T h e   k u b e l e t   p o p u l a t e s   t h e   a l l o c a t e d R e s o u r c e s S t a t u s   f i e l d   i n   t h e   s t a t u s   o f   e a c h   c o n t a i n e r ,   d e t a i l i n g   t h e   h e a l t h   o f   e a c h   d e v i c e   a s s i g n e d   t o   t h a t   c o n t a i n e r .   T h i s   p r o v i d e s   c r u c i a l   v i s i b i l i t y   f o r   u s e r s   a n d   c o n t r o l l e r s   t o   r e a c t   t o   h a r d w a r e   f a i l u r e s .   F o r   a   P o d   t h a t   i s   f a i l i n g ,   y o u   c a n   i n s p e c t   t h i s   s t a t u s   t o   d e t e r m i n e   i f   t h e   f a i l u r e   w a s   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_3_16125"
  },
  {
    "question": "What is Pre-scheduled Pods?",
    "answer": "W h e n   y o u   -   o r   a n o t h e r   A P I   c l i e n t   -   c r e a t e   a   P o d   w i t h   s p e c . n o d e N a m e   a l r e a d y   s e t ,   t h e   s c h e d u l e r   g e t s   b y p a s s e d .   I f   s o m e   R e s o u r c e C l a i m   n e e d e d   b y   t h a t   P o d   d o e s   n o t   e x i s t   y e t ,   i s   n o t   a l l o c a t e d   o r   n o t   r e s e r v e d   f o r   t h e   P o d ,   t h e n   t h e   k u b e l e t   w i l l   f a i l   t o   r u n   t h e   P o d   a n d   r e - c h e c k   p e r i o d i c a l l y   b e c a u s e   t h o s e   r e q u i r e m e n t s   m i g h t   s t i l l   g e t   f u l f i l l e d   l a t e r .   S u c h   a   s i t u a t i o n   c a n   a l s o   a r i s e   w h e n   s u p p o r t   f o r   d y n a m i c   r e s o u r c e   a l l o c a t i o n   w a s   n o t   e n a b l e d   i n   t h e   s c h e d u l e r   a t   t h e   t i m e   w h e n   t h e   P o d   g o t   s c h e d u l e d   ( v e r s i o n   s k e w ,   c o n f i g u r a t i o n ,   f e a t u r e   g a t e ,   e t c . ) .   k u b e - c o n t r o l l e r - m a n a g e r   d e t e c t s   t h i s   a n d   t r i e s   t o   m a k e   t h e   P o d   r u n n a b l e   b y   r e s e r v i n g   t h e   r e q u i r e d   R e s o u r c e C l a i m s .   H o w e v e r ,   t h i s   o n l y   w o r k s   i f   t h o s e   w e r e   a l l o c a t e d   b y   t h e   s c h e d u l e r   f o r   s o m e   o t h e r   p o d .   I t   i s   b e t t e r   t o   a v o i d   b y p a s s i n g   t h e   s c h e d u l e r   b e c a u s e   a   P o d   t h a t   i s   a s s i g n e d   t o   a   n o d e   b l o c k s   n o r m a l   r e s o u r c e s   ( R A M ,   C P U )   t h a t   t h e n   c a n n o t   b e   u s e d   f o r   o t h e r   P o d s   w h i l e   t h e   P o d   i s   s t u c k .   T o   m a k e   a   P o d   r u n   o n   a   s p e c i f i c   n o d e   w h i l e   s t i l l   g o i n g   t h r o u g h   t h e   n o r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_2_16126"
  },
  {
    "question": "What is DRA beta features?",
    "answer": "T h e   f o l l o w i n g   s e c t i o n s   d e s c r i b e   D R A   f e a t u r e s   t h a t   a r e   a v a i l a b l e   i n   t h e   B e t a   f e a t u r e   s t a g e .   F o r   m o r e   i n f o r m a t i o n ,   s e e   S e t   u p   D R A   i n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_2_16127"
  },
  {
    "question": "What is Admin access?",
    "answer": "Y o u   c a n   m a r k   a   r e q u e s t   i n   a   R e s o u r c e C l a i m   o r   R e s o u r c e C l a i m T e m p l a t e   a s   h a v i n g   p r i v i l e g e d   f e a t u r e s   f o r   m a i n t e n a n c e   a n d   t r o u b l e s h o o t i n g   t a s k s .   A   r e q u e s t   w i t h   a d m i n   a c c e s s   g r a n t s   a c c e s s   t o   i n - u s e   d e v i c e s   a n d   m a y   e n a b l e   a d d i t i o n a l   p e r m i s s i o n s   w h e n   m a k i n g   t h e   d e v i c e   a v a i l a b l e   i n   a   c o n t a i n e r :   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   R e s o u r c e C l a i m T e m p l a t e   m e t a d a t a :   n a m e :   l a r g e - b l a c k - c a t - c l a i m - t e m p l a t e   s p e c :   s p e c :   d e v i c e s :   r e q u e s t s :   -   n a m e :   r e q - 0   e x a c t l y :   d e v i c e C l a s s N a m e :   r e s o u r c e . e x a m p l e . c o m   a l l o c a t i o n M o d e :   A l l   a d m i n A c c e s s :   t r u e   I f   t h i s   f e a t u r e   i s   d i s a b l e d ,   t h e   a d m i n A c c e s s   f i e l d   w i l l   b e   r e m o v e d   a u t o m a t i c a l l y   w h e n   c r e a t i n g   s u c h   a   R e s o u r c e C l a i m .   A d m i n   a c c e s s   i s   a   p r i v i l e g e d   m o d e   a n d   s h o u l d   n o t   b e   g r a n t e d   t o   r e g u l a r   u s e r s   i n   m u l t i - t e n a n t   c l u s t e r s .   S t a r t i n g   w i t h   K u b e r n e t e s   v 1 . 3 3 ,   o n l y   u s e r s   a u t h o r i z e d   t o   c r e a t e   R e s o u r c e C l a i m   o r   R e s o u r c e C l a i m T e m p l a t e   o b j e c t s   i n   n a m e s p a c e s   l a b e l e d   w i t h   r e s o u r c e . k 8 s . i o / a d m i n - a c c e s s :   \" t r u e \"   ( c a s e - s e n s i t i v e )   c a n   u s e   t h e   a d m i n A c c e s s   f i e l d .   T h i s   e n s u r e s   t h a t   n o n - a d m i n   u s e r s   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_3_16128"
  },
  {
    "question": "What is DRA alpha features?",
    "answer": "T h e   f o l l o w i n g   s e c t i o n s   d e s c r i b e   D R A   f e a t u r e s   t h a t   a r e   a v a i l a b l e   i n   t h e   A l p h a   f e a t u r e   s t a g e .   T o   u s e   a n y   o f   t h e s e   f e a t u r e s ,   y o u   m u s t   a l s o   s e t   u p   D R A   i n   y o u r   c l u s t e r s   b y   e n a b l i n g   t h e   D y n a m i c R e s o u r c e A l l o c a t i o n   f e a t u r e   g a t e   a n d   t h e   D R A   A P I   g r o u p s .   F o r   m o r e   i n f o r m a t i o n ,   s e e   S e t   u p   D R A   i n   t h e   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_2_16129"
  },
  {
    "question": "What is Extended resource allocation by DRA?",
    "answer": "Y o u   c a n   p r o v i d e   a n   e x t e n d e d   r e s o u r c e   n a m e   f o r   a   D e v i c e C l a s s .   T h e   s c h e d u l e r   w i l l   t h e n   s e l e c t   t h e   d e v i c e s   m a t c h i n g   t h e   c l a s s   f o r   t h e   e x t e n d e d   r e s o u r c e   r e q u e s t s .   T h i s   a l l o w s   u s e r s   t o   c o n t i n u e   u s i n g   e x t e n d e d   r e s o u r c e   r e q u e s t s   i n   a   p o d   t o   r e q u e s t   e i t h e r   e x t e n d e d   r e s o u r c e s   p r o v i d e d   b y   d e v i c e   p l u g i n ,   o r   D R A   d e v i c e s .   T h e   s a m e   e x t e n d e d   r e s o u r c e   c a n   b e   p r o v i d e d   e i t h e r   b y   d e v i c e   p l u g i n ,   o r   D R A   o n   o n e   s i n g l e   c l u s t e r   n o d e .   T h e   s a m e   e x t e n d e d   r e s o u r c e   c a n   b e   p r o v i d e d   b y   d e v i c e   p l u g i n   o n   s o m e   n o d e s ,   a n d   D R A   o n   o t h e r   n o d e s   i n   t h e   s a m e   c l u s t e r .   I n   t h e   e x a m p l e   b e l o w ,   t h e   D e v i c e C l a s s   i s   g i v e n   a n   e x t e n d e d R e s o u r c e N a m e   e x a m p l e . c o m / g p u .   I f   a   p o d   r e q u e s t e d   f o r   t h e   e x t e n d e d   r e s o u r c e   e x a m p l e . c o m / g p u :   2 ,   i t   c a n   b e   s c h e d u l e d   t o   a   n o d e   w i t h   t w o   o r   m o r e   d e v i c e s   m a t c h i n g   t h e   D e v i c e C l a s s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   D e v i c e C l a s s   m e t a d a t a :   n a m e :   g p u . e x a m p l e . c o m   s p e c :   s e l e c t o r s :   -   c e l :   e x p r e s s i o n :   d e v i c e . d r i v e r   = =   ' g p u . e x a m p l e . c o m '   & &   d e v i c e . a t t r i b u t e s [ ' g p u . e x a m p l e . c o m ' ] . t y p e   = =   ' g p u '   e x t e n d e d R e s o u r c e N a m e :   e x a m p ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_3_16130"
  },
  {
    "question": "What is Partitionable devices?",
    "answer": "D e v i c e s   r e p r e s e n t e d   i n   D R A   d o n ' t   n e c e s s a r i l y   h a v e   t o   b e   a   s i n g l e   u n i t   c o n n e c t e d   t o   a   s i n g l e   m a c h i n e ,   b u t   c a n   a l s o   b e   a   l o g i c a l   d e v i c e   c o m p r i s e d   o f   m u l t i p l e   d e v i c e s   c o n n e c t e d   t o   m u l t i p l e   m a c h i n e s .   T h e s e   d e v i c e s   m i g h t   c o n s u m e   o v e r l a p p i n g   r e s o u r c e s   o f   t h e   u n d e r l y i n g   p h y i c a l   d e v i c e s ,   m e a n i n g   t h a t   w h e n   o n e   l o g i c a l   d e v i c e   i s   a l l o c a t e d   o t h e r   d e v i c e s   w i l l   n o   l o n g e r   b e   a v a i l a b l e .   I n   t h e   R e s o u r c e S l i c e   A P I ,   t h i s   i s   r e p r e s e n t e d   a s   a   l i s t   o f   n a m e d   C o u n t e r S e t s ,   e a c h   o f   w h i c h   c o n t a i n s   a   s e t   o f   n a m e d   c o u n t e r s .   T h e   c o u n t e r s   r e p r e s e n t   t h e   r e s o u r c e s   a v a i l a b l e   o n   t h e   p h y s i c a l   d e v i c e   t h a t   a r e   u s e d   b y   t h e   l o g i c a l   d e v i c e s   a d v e r t i s e d   t h r o u g h   D R A .   L o g i c a l   d e v i c e s   c a n   s p e c i f y   t h e   C o n s u m e s C o u n t e r s   l i s t .   E a c h   e n t r y   c o n t a i n s   a   r e f e r e n c e   t o   a   C o u n t e r S e t   a n d   a   s e t   o f   n a m e d   c o u n t e r s   w i t h   t h e   a m o u n t s   t h e y   w i l l   c o n s u m e .   S o   f o r   a   d e v i c e   t o   b e   a l l o c a t a b l e ,   t h e   r e f e r e n c e d   c o u n t e r   s e t s   m u s t   h a v e   s u f f i c i e n t   q u a n t i t y   f o r   t h e   c o u n t e r s   r e f e r e n c e d   b y   t h e   d e v i c e .   H e r e   i s   a n   e x a m p l e   o f   t w o   d e v i c e s ,   e a c h   c o n s u m i n g   6 G i   o f   m e m o r y   f r ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_3_16131"
  },
  {
    "question": "What is Consumable capacity?",
    "answer": "T h e   c o n s u m a b l e   c a p a c i t y   f e a t u r e   a l l o w s   t h e   s a m e   d e v i c e s   t o   b e   c o n s u m e d   b y   m u l t i p l e   i n d e p e n d e n t   R e s o u r c e C l a i m s ,   w i t h   t h e   K u b e r n e t e s   s c h e d u l e r   m a n a g i n g   h o w   m u c h   o f   t h e   d e v i c e ' s   c a p a c i t y   i s   u s e d   u p   b y   e a c h   c l a i m .   T h i s   i s   a n a l o g o u s   t o   h o w   P o d s   c a n   s h a r e   t h e   r e s o u r c e s   o n   a   N o d e ;   R e s o u r c e C l a i m s   c a n   s h a r e   t h e   r e s o u r c e s   o n   a   D e v i c e .   T h e   d e v i c e   d r i v e r   c a n   s e t   a l l o w M u l t i p l e A l l o c a t i o n s   f i e l d   a d d e d   i n   . s p e c . d e v i c e s   o f   R e s o u r c e S l i c e   t o   a l l o w   a l l o c a t i n g   t h a t   d e v i c e   t o   m u l t i p l e   i n d e p e n d e n t   R e s o u r c e C l a i m s   o r   t o   m u l t i p l e   r e q u e s t s   w i t h i n   a   R e s o u r c e C l a i m .   U s e r s   c a n   s e t   c a p a c i t y   f i e l d   a d d e d   i n   s p e c . d e v i c e s . r e q u e s t s   o f   R e s o u r c e C l a i m   t o   s p e c i f y   t h e   d e v i c e   r e s o u r c e   r e q u i r e m e n t s   f o r   e a c h   a l l o c a t i o n .   F o r   t h e   d e v i c e   t h a t   a l l o w s   m u l t i p l e   a l l o c a t i o n s ,   t h e   r e q u e s t e d   c a p a c i t y   i s   d r a w n   f r o m   —   o r   c o n s u m e d   f r o m   —   i t s   t o t a l   c a p a c i t y ,   a   c o n c e p t   k n o w n   a s   c o n s u m a b l e   c a p a c i t y .   T h e n ,   t h e   s c h e d u l e r   e n s u r e s   t h a t   t h e   a g g r e g a t e   c o n s u m e d   c a p a c i t y   a c r o s s   a l l   c l a i m s   d o e s   n o t   e x c e e d   t h e   d e v i c e ’ s   o v e r a l l   c a p a c i t y .   F u r t h e r m o r e ,   d r i v e ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_2_16132"
  },
  {
    "question": "What is Device taints and tolerations?",
    "answer": "D e v i c e   t a i n t s   a r e   s i m i l a r   t o   n o d e   t a i n t s :   a   t a i n t   h a s   a   s t r i n g   k e y ,   a   s t r i n g   v a l u e ,   a n d   a n   e f f e c t .   T h e   e f f e c t   i s   a p p l i e d   t o   t h e   R e s o u r c e C l a i m   w h i c h   i s   u s i n g   a   t a i n t e d   d e v i c e   a n d   t o   a l l   P o d s   r e f e r e n c i n g   t h a t   R e s o u r c e C l a i m .   T h e   \" N o S c h e d u l e \"   e f f e c t   p r e v e n t s   s c h e d u l i n g   t h o s e   P o d s .   T a i n t e d   d e v i c e s   a r e   i g n o r e d   w h e n   t r y i n g   t o   a l l o c a t e   a   R e s o u r c e C l a i m   b e c a u s e   u s i n g   t h e m   w o u l d   p r e v e n t   s c h e d u l i n g   o f   P o d s .   T h e   \" N o E x e c u t e \"   e f f e c t   i m p l i e s   \" N o S c h e d u l e \"   a n d   i n   a d d i t i o n   c a u s e s   e v i c t i o n   o f   a l l   P o d s   w h i c h   h a v e   b e e n   s c h e d u l e d   a l r e a d y .   T h i s   e v i c t i o n   i s   i m p l e m e n t e d   i n   t h e   d e v i c e   t a i n t   e v i c t i o n   c o n t r o l l e r   i n   k u b e - c o n t r o l l e r - m a n a g e r   b y   d e l e t i n g   a f f e c t e d   P o d s .   R e s o u r c e C l a i m s   c a n   t o l e r a t e   t a i n t s .   I f   a   t a i n t   i s   t o l e r a t e d ,   i t s   e f f e c t   d o e s   n o t   a p p l y .   A n   e m p t y   t o l e r a t i o n   m a t c h e s   a l l   t a i n t s .   A   t o l e r a t i o n   c a n   b e   l i m i t e d   t o   c e r t a i n   e f f e c t s   a n d / o r   m a t c h   c e r t a i n   k e y / v a l u e   p a i r s .   A   t o l e r a t i o n   c a n   c h e c k   t h a t   a   c e r t a i n   k e y   e x i s t s ,   r e g a r d l e s s   w h i c h   v a l u e   i t   h a s ,   o r   i t   c a n   c h e c k   f o r   s p e c i f i c   v a l u e s   o f   a   k e y .   F o r   m o r e   i n f o r m ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_3_16133"
  },
  {
    "question": "What is Taints set by the driver?",
    "answer": "A   D R A   d r i v e r   c a n   a d d   t a i n t s   t o   t h e   d e v i c e   i n f o r m a t i o n   t h a t   i t   p u b l i s h e s   i n   R e s o u r c e S l i c e s .   C o n s u l t   t h e   d o c u m e n t a t i o n   o f   a   D R A   d r i v e r   t o   l e a r n   w h e t h e r   t h e   d r i v e r   u s e s   t a i n t s   a n d   w h a t   t h e i r   k e y s   a n d   v a l u e s   a r e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_4_16134"
  },
  {
    "question": "What is Taints set by an admin?",
    "answer": "A n   a d m i n   o r   a   c o n t r o l   p l a n e   c o m p o n e n t   c a n   t a i n t   d e v i c e s   w i t h o u t   h a v i n g   t o   t e l l   t h e   D R A   d r i v e r   t o   i n c l u d e   t a i n t s   i n   i t s   d e v i c e   i n f o r m a t i o n   i n   R e s o u r c e S l i c e s .   T h e y   d o   t h a t   b y   c r e a t i n g   D e v i c e T a i n t R u l e s .   E a c h   D e v i c e T a i n t R u l e   a d d s   o n e   t a i n t   t o   d e v i c e s   w h i c h   m a t c h   t h e   d e v i c e   s e l e c t o r .   W i t h o u t   s u c h   a   s e l e c t o r ,   n o   d e v i c e s   a r e   t a i n t e d .   T h i s   m a k e s   i t   h a r d e r   t o   a c c i d e n t a l l y   e v i c t   a l l   p o d s   u s i n g   R e s o u r c e C l a i m s   w h e n   l e a v i n g   o u t   t h e   s e l e c t o r   b y   m i s t a k e .   D e v i c e s   c a n   b e   s e l e c t e d   b y   g i v i n g   t h e   n a m e   o f   a   D e v i c e C l a s s ,   d r i v e r ,   p o o l ,   a n d / o r   d e v i c e .   T h e   D e v i c e C l a s s   s e l e c t s   a l l   d e v i c e s   t h a t   a r e   s e l e c t e d   b y   t h e   s e l e c t o r s   i n   t h a t   D e v i c e C l a s s .   W i t h   j u s t   t h e   d r i v e r   n a m e ,   a n   a d m i n   c a n   t a i n t   a l l   d e v i c e s   m a n a g e d   b y   t h a t   d r i v e r ,   f o r   e x a m p l e   w h i l e   d o i n g   s o m e   k i n d   o f   m a i n t e n a n c e   o f   t h a t   d r i v e r   a c r o s s   t h e   e n t i r e   c l u s t e r .   A d d i n g   a   p o o l   n a m e   c a n   l i m i t   t h e   t a i n t   t o   a   s i n g l e   n o d e ,   i f   t h e   d r i v e r   m a n a g e s   n o d e - l o c a l   d e v i c e s .   F i n a l l y ,   a d d i n g   t h e   d e v i c e   n a m e   c a n   s e l e c t   o n e   s p e c i f i c   d e v i c e .   T h e   d e v i c e   n a m e   a n d   p o o l   n a m e   c a n   a l s o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_4_16135"
  },
  {
    "question": "What is Device Binding Conditions?",
    "answer": "D e v i c e   B i n d i n g   C o n d i t i o n s   a l l o w   t h e   K u b e r n e t e s   s c h e d u l e r   t o   d e l a y   P o d   b i n d i n g   u n t i l   e x t e r n a l   r e s o u r c e s ,   s u c h   a s   f a b r i c - a t t a c h e d   G P U s   o r   r e p r o g r a m m a b l e   F P G A s ,   a r e   c o n f i r m e d   t o   b e   r e a d y .   T h i s   w a i t i n g   b e h a v i o r   i s   i m p l e m e n t e d   i n   t h e   P r e B i n d   p h a s e   o f   t h e   s c h e d u l i n g   f r a m e w o r k .   D u r i n g   t h i s   p h a s e ,   t h e   s c h e d u l e r   c h e c k s   w h e t h e r   a l l   r e q u i r e d   d e v i c e   c o n d i t i o n s   a r e   s a t i s f i e d   b e f o r e   p r o c e e d i n g   w i t h   b i n d i n g .   T h i s   i m p r o v e s   s c h e d u l i n g   r e l i a b i l i t y   b y   a v o i d i n g   p r e m a t u r e   b i n d i n g   a n d   e n a b l e s   c o o r d i n a t i o n   w i t h   e x t e r n a l   d e v i c e   c o n t r o l l e r s .   T o   u s e   t h i s   f e a t u r e ,   d e v i c e   d r i v e r s   ( t y p i c a l l y   m a n a g e d   b y   d r i v e r   o w n e r s )   m u s t   p u b l i s h   t h e   f o l l o w i n g   f i e l d s   i n   t h e   D e v i c e   s e c t i o n   o f   a   R e s o u r c e S l i c e .   C l u s t e r   a d m i n i s t r a t o r s   m u s t   e n a b l e   t h e   D R A D e v i c e B i n d i n g C o n d i t i o n s   a n d   D R A R e s o u r c e C l a i m D e v i c e S t a t u s   f e a t u r e   g a t e s   f o r   t h e   s c h e d u l e r   t o   h o n o r   t h e s e   f i e l d s .   b i n d i n g C o n d i t i o n s :   A   l i s t   o f   c o n d i t i o n   t y p e s   t h a t   m u s t   b e   s e t   t o   T r u e   i n   t h e   s t a t u s . c o n d i t i o n s   f i e l d   o f   t h e   a s s o c i a t e d   R e s o u r c e C l a i m   b e f o r e   t h e   P o d   c a n   b e   b o u n d .   T h e s e   t y p i c a ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_3_16136"
  },
  {
    "question": "What is What's next?",
    "answer": "S e t   U p   D R A   i n   a   C l u s t e r A l l o c a t e   d e v i c e s   t o   w o r k l o a d s   u s i n g   D R A F o r   m o r e   i n f o r m a t i o n   o n   t h e   d e s i g n ,   s e e   t h e   D y n a m i c   R e s o u r c e   A l l o c a t i o n   w i t h   S t r u c t u r e d   P a r a m e t e r s   K E P .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/",
    "id": "k8s_00734_section_2_16137"
  },
  {
    "question": "What is Webhook Mode?",
    "answer": "Webhook ModeA WebHook is an HTTP callback: an HTTP POST that occurs when something happens; a simple event-notification via HTTP POST. A web application implementing WebHooks will POST a message to a URL when certain things happen.When specified, mode Webhook causes Kubernetes to query an outside REST service when determining user privileges.Configuration File FormatMode Webhook requires a file for HTTP configuration, specify by the --authorization-webhook-config-file=SOME_FILENAME flag.The configuration file uses the kubeconfig file format. Within the file \"users\" refers to the API Server webhook and \"clusters\" refers to the remote service.A configuration example which uses HTTPS client auth:# Kubernetes API version apiVersion: v1 # kind of the API object kind: Config # clusters refers to the remote service. clusters: - name: name-of-remote-authz-service cluster: # CA for verifying the remote service. certificate-authority: /path/to/ca.pem # URL of remote service to query. Must use 'https'. May not include parameters. server: https://authz.example.com/authorize # users refers to the API Server's webhook configuration. users: - name: name-of-api-server user: client-certificate: /path/to/cert.pem # cert for the webhook plugin to use client-key: /path/to/key.pem # key matching the cert # kubeconfig files require a context. Provide one for the API Server. current-context: webhook contexts: - context: cluster: name-of-remote-authz-service user: name-of-api-server name: webhook Request PayloadsWhen faced with an authorization decision, the API Server POSTs a JSON- serialized authorization.k8s.io/v1beta1 SubjectAccessReview object describing the action. This object contains fields describing the user attempting to make the request, and either details about the resource being accessed or requests attributes.Note that webhook API objects are subject to the same versioning compatibility rules as other Kubernetes API objects. Implementers should be aware of looser compatibility promises for beta objects and check the \"apiVersion\" field of the request to ensure correct deserialization. Additionally, the API Server must enable the authorization.k8s.io/v1beta1 API extensions group (--runtime-config=authorization.k8s.io/v1beta1=true).An example request body:{ \"apiVersion\": \"authorization.k8s.io/v1beta1\", \"kind\": \"SubjectAccessReview\", \"spec\": { \"resourceAttributes\": { \"namespace\": \"kittensandponies\", \"verb\": \"get\", \"group\": \"unicorn.example.org\", \"resource\": \"pods\" }, \"user\": \"jane\", \"group\": [ \"group1\", \"group2\" ] } } The remote service is expected to fill the status field of the request and respond to either allow or disallow access. The response body's spec field is ignored and may be omitted. A permissive response would return:{ \"apiVersion\": \"authorization.k8s.io/v1beta1\", \"kind\": \"SubjectAccessReview\", \"status\": { \"allowed\": true } } For disallowing access there are two methods.The first method is preferred in most cases, and indicates the authorization ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/webhook/",
    "id": "k8s_00735_qa_16138"
  },
  {
    "question": "How does Webhook Mode work?",
    "answer": "Webhook ModeA WebHook is an HTTP callback: an HTTP POST that occurs when something happens; a simple event-notification via HTTP POST. A web application implementing WebHooks will POST a message to a URL when certain things happen.When specified, mode Webhook causes Kubernetes to query an outside REST service when determining user privileges.Configuration File FormatMode Webhook requires a file for HTTP configuration, specify by the --authorization-webhook-config-file=SOME_FILENAME flag.The configuration file uses the kubeconfig file format. Within the file \"users\" refers to the API Server webhook and \"clusters\" refers to the remote service.A configuration example which uses HTTPS client auth:# Kubernetes API version apiVersion: v1 # kind of the API object kind: Config # clusters refers to the remote service. clusters: - name: name-of-remote-authz-service cluster: # CA for verifying the remote service. certificate-authority: /path/to/ca.pem # URL of remote service to query. Must use 'https'. May not include parameters. server: https://authz.example.com/authorize # users refers to the API Server's webhook configuration. users: - name: name-of-api-server user: client-certificate: /path/to/cert.pem # cert for the webhook plugin to use client-key: /path/to/key.pem # key matching the cert # kubeconfig files require a context. Provide one for the API Server. current-context: webhook contexts: - context: cluster: name-of-remote-authz-service user: name-of-api-server name: webhook Request PayloadsWhen faced with an authorization decision, the API Server POSTs a JSON- serialized authorization.k8s.io/v1beta1 SubjectAccessReview object describing the action. This object contains fields describing the user attempting to make the request, and either details about the resource being accessed or requests attributes.Note that webhook API objects are subject to the same versioning compatibility rules as other Kubernetes API objects. Implementers should be aware of looser compatibility promises for beta objects and check the \"apiVersion\" field of the request to ensure correct deserialization. Additionally, the API Server must enable the authorization.k8s.io/v1beta1 API extensions group (--runtime-config=authorization.k8s.io/v1beta1=true).An example request body:{ \"apiVersion\": \"authorization.k8s.io/v1beta1\", \"kind\": \"SubjectAccessReview\", \"spec\": { \"resourceAttributes\": { \"namespace\": \"kittensandponies\", \"verb\": \"get\", \"group\": \"unicorn.example.org\", \"resource\": \"pods\" }, \"user\": \"jane\", \"group\": [ \"group1\", \"group2\" ] } } The remote service is expected to fill the status field of the request and respond to either allow or disallow access. The response body's spec field is ignored and may be omitted. A permissive response would return:{ \"apiVersion\": \"authorization.k8s.io/v1beta1\", \"kind\": \"SubjectAccessReview\", \"status\": { \"allowed\": true } } For disallowing access there are two methods.The first method is preferred in most cases, and indicates the authorization ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/webhook/",
    "id": "k8s_00735_qa_16139"
  },
  {
    "question": "When would you use Webhook Mode?",
    "answer": "Webhook ModeA WebHook is an HTTP callback: an HTTP POST that occurs when something happens; a simple event-notification via HTTP POST. A web application implementing WebHooks will POST a message to a URL when certain things happen.When specified, mode Webhook causes Kubernetes to query an outside REST service when determining user privileges.Configuration File FormatMode Webhook requires a file for HTTP configuration, specify by the --authorization-webhook-config-file=SOME_FILENAME flag.The configuration file uses the kubeconfig file format. Within the file \"users\" refers to the API Server webhook and \"clusters\" refers to the remote service.A configuration example which uses HTTPS client auth:# Kubernetes API version apiVersion: v1 # kind of the API object kind: Config # clusters refers to the remote service. clusters: - name: name-of-remote-authz-service cluster: # CA for verifying the remote service. certificate-authority: /path/to/ca.pem # URL of remote service to query. Must use 'https'. May not include parameters. server: https://authz.example.com/authorize # users refers to the API Server's webhook configuration. users: - name: name-of-api-server user: client-certificate: /path/to/cert.pem # cert for the webhook plugin to use client-key: /path/to/key.pem # key matching the cert # kubeconfig files require a context. Provide one for the API Server. current-context: webhook contexts: - context: cluster: name-of-remote-authz-service user: name-of-api-server name: webhook Request PayloadsWhen faced with an authorization decision, the API Server POSTs a JSON- serialized authorization.k8s.io/v1beta1 SubjectAccessReview object describing the action. This object contains fields describing the user attempting to make the request, and either details about the resource being accessed or requests attributes.Note that webhook API objects are subject to the same versioning compatibility rules as other Kubernetes API objects. Implementers should be aware of looser compatibility promises for beta objects and check the \"apiVersion\" field of the request to ensure correct deserialization. Additionally, the API Server must enable the authorization.k8s.io/v1beta1 API extensions group (--runtime-config=authorization.k8s.io/v1beta1=true).An example request body:{ \"apiVersion\": \"authorization.k8s.io/v1beta1\", \"kind\": \"SubjectAccessReview\", \"spec\": { \"resourceAttributes\": { \"namespace\": \"kittensandponies\", \"verb\": \"get\", \"group\": \"unicorn.example.org\", \"resource\": \"pods\" }, \"user\": \"jane\", \"group\": [ \"group1\", \"group2\" ] } } The remote service is expected to fill the status field of the request and respond to either allow or disallow access. The response body's spec field is ignored and may be omitted. A permissive response would return:{ \"apiVersion\": \"authorization.k8s.io/v1beta1\", \"kind\": \"SubjectAccessReview\", \"status\": { \"allowed\": true } } For disallowing access there are two methods.The first method is preferred in most cases, and indicates the authorization ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/webhook/",
    "id": "k8s_00735_qa_16140"
  },
  {
    "question": "What are the benefits of Webhook Mode?",
    "answer": "Webhook ModeA WebHook is an HTTP callback: an HTTP POST that occurs when something happens; a simple event-notification via HTTP POST. A web application implementing WebHooks will POST a message to a URL when certain things happen.When specified, mode Webhook causes Kubernetes to query an outside REST service when determining user privileges.Configuration File FormatMode Webhook requires a file for HTTP configuration, specify by the --authorization-webhook-config-file=SOME_FILENAME flag.The configuration file uses the kubeconfig file format. Within the file \"users\" refers to the API Server webhook and \"clusters\" refers to the remote service.A configuration example which uses HTTPS client auth:# Kubernetes API version apiVersion: v1 # kind of the API object kind: Config # clusters refers to the remote service. clusters: - name: name-of-remote-authz-service cluster: # CA for verifying the remote service. certificate-authority: /path/to/ca.pem # URL of remote service to query. Must use 'https'. May not include parameters. server: https://authz.example.com/authorize # users refers to the API Server's webhook configuration. users: - name: name-of-api-server user: client-certificate: /path/to/cert.pem # cert for the webhook plugin to use client-key: /path/to/key.pem # key matching the cert # kubeconfig files require a context. Provide one for the API Server. current-context: webhook contexts: - context: cluster: name-of-remote-authz-service user: name-of-api-server name: webhook Request PayloadsWhen faced with an authorization decision, the API Server POSTs a JSON- serialized authorization.k8s.io/v1beta1 SubjectAccessReview object describing the action. This object contains fields describing the user attempting to make the request, and either details about the resource being accessed or requests attributes.Note that webhook API objects are subject to the same versioning compatibility rules as other Kubernetes API objects. Implementers should be aware of looser compatibility promises for beta objects and check the \"apiVersion\" field of the request to ensure correct deserialization. Additionally, the API Server must enable the authorization.k8s.io/v1beta1 API extensions group (--runtime-config=authorization.k8s.io/v1beta1=true).An example request body:{ \"apiVersion\": \"authorization.k8s.io/v1beta1\", \"kind\": \"SubjectAccessReview\", \"spec\": { \"resourceAttributes\": { \"namespace\": \"kittensandponies\", \"verb\": \"get\", \"group\": \"unicorn.example.org\", \"resource\": \"pods\" }, \"user\": \"jane\", \"group\": [ \"group1\", \"group2\" ] } } The remote service is expected to fill the status field of the request and respond to either allow or disallow access. The response body's spec field is ignored and may be omitted. A permissive response would return:{ \"apiVersion\": \"authorization.k8s.io/v1beta1\", \"kind\": \"SubjectAccessReview\", \"status\": { \"allowed\": true } } For disallowing access there are two methods.The first method is preferred in most cases, and indicates the authorization ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/webhook/",
    "id": "k8s_00735_qa_16141"
  },
  {
    "question": "What is Webhook Mode?",
    "answer": "A   W e b H o o k   i s   a n   H T T P   c a l l b a c k :   a n   H T T P   P O S T   t h a t   o c c u r s   w h e n   s o m e t h i n g   h a p p e n s ;   a   s i m p l e   e v e n t - n o t i f i c a t i o n   v i a   H T T P   P O S T .   A   w e b   a p p l i c a t i o n   i m p l e m e n t i n g   W e b H o o k s   w i l l   P O S T   a   m e s s a g e   t o   a   U R L   w h e n   c e r t a i n   t h i n g s   h a p p e n .   W h e n   s p e c i f i e d ,   m o d e   W e b h o o k   c a u s e s   K u b e r n e t e s   t o   q u e r y   a n   o u t s i d e   R E S T   s e r v i c e   w h e n   d e t e r m i n i n g   u s e r   p r i v i l e g e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/webhook/",
    "id": "k8s_00735_section_1_16142"
  },
  {
    "question": "What is Configuration File Format?",
    "answer": "M o d e   W e b h o o k   r e q u i r e s   a   f i l e   f o r   H T T P   c o n f i g u r a t i o n ,   s p e c i f y   b y   t h e   - - a u t h o r i z a t i o n - w e b h o o k - c o n f i g - f i l e = S O M E _ F I L E N A M E   f l a g .   T h e   c o n f i g u r a t i o n   f i l e   u s e s   t h e   k u b e c o n f i g   f i l e   f o r m a t .   W i t h i n   t h e   f i l e   \" u s e r s \"   r e f e r s   t o   t h e   A P I   S e r v e r   w e b h o o k   a n d   \" c l u s t e r s \"   r e f e r s   t o   t h e   r e m o t e   s e r v i c e .   A   c o n f i g u r a t i o n   e x a m p l e   w h i c h   u s e s   H T T P S   c l i e n t   a u t h :   #   K u b e r n e t e s   A P I   v e r s i o n   a p i V e r s i o n :   v 1   #   k i n d   o f   t h e   A P I   o b j e c t   k i n d :   C o n f i g   #   c l u s t e r s   r e f e r s   t o   t h e   r e m o t e   s e r v i c e .   c l u s t e r s :   -   n a m e :   n a m e - o f - r e m o t e - a u t h z - s e r v i c e   c l u s t e r :   #   C A   f o r   v e r i f y i n g   t h e   r e m o t e   s e r v i c e .   c e r t i f i c a t e - a u t h o r i t y :   / p a t h / t o / c a . p e m   #   U R L   o f   r e m o t e   s e r v i c e   t o   q u e r y .   M u s t   u s e   ' h t t p s ' .   M a y   n o t   i n c l u d e   p a r a m e t e r s .   s e r v e r :   h t t p s : / / a u t h z . e x a m p l e . c o m / a u t h o r i z e   #   u s e r s   r e f e r s   t o   t h e   A P I   S e r v e r ' s   w e b h o o k   c o n f i g u r a t i o n .   u s e r s :   -   n a m e :   n a m e - o f - a p i - s e r v e r   u s e r :   c l i e n t - c e r t i f i c a t e :   / p a t h / t o / c e r t . p e m   #   c e r t   f o r   t h e   w e b h o o k   p l u g i n   t o   u s e   c l i e n t - k e y :   / p a t h / t o / k e y . p e m   #   k e y   m a t c h i n g   t h e   c e r t   #   k u b e c o n f i g   f i l e s   r e q u i r e   a   c o n t e x t .   P r o v i d e   o n e   f o r   t h e   A P I ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/webhook/",
    "id": "k8s_00735_section_2_16143"
  },
  {
    "question": "What is Request Payloads?",
    "answer": "W h e n   f a c e d   w i t h   a n   a u t h o r i z a t i o n   d e c i s i o n ,   t h e   A P I   S e r v e r   P O S T s   a   J S O N -   s e r i a l i z e d   a u t h o r i z a t i o n . k 8 s . i o / v 1 b e t a 1   S u b j e c t A c c e s s R e v i e w   o b j e c t   d e s c r i b i n g   t h e   a c t i o n .   T h i s   o b j e c t   c o n t a i n s   f i e l d s   d e s c r i b i n g   t h e   u s e r   a t t e m p t i n g   t o   m a k e   t h e   r e q u e s t ,   a n d   e i t h e r   d e t a i l s   a b o u t   t h e   r e s o u r c e   b e i n g   a c c e s s e d   o r   r e q u e s t s   a t t r i b u t e s .   N o t e   t h a t   w e b h o o k   A P I   o b j e c t s   a r e   s u b j e c t   t o   t h e   s a m e   v e r s i o n i n g   c o m p a t i b i l i t y   r u l e s   a s   o t h e r   K u b e r n e t e s   A P I   o b j e c t s .   I m p l e m e n t e r s   s h o u l d   b e   a w a r e   o f   l o o s e r   c o m p a t i b i l i t y   p r o m i s e s   f o r   b e t a   o b j e c t s   a n d   c h e c k   t h e   \" a p i V e r s i o n \"   f i e l d   o f   t h e   r e q u e s t   t o   e n s u r e   c o r r e c t   d e s e r i a l i z a t i o n .   A d d i t i o n a l l y ,   t h e   A P I   S e r v e r   m u s t   e n a b l e   t h e   a u t h o r i z a t i o n . k 8 s . i o / v 1 b e t a 1   A P I   e x t e n s i o n s   g r o u p   ( - - r u n t i m e - c o n f i g = a u t h o r i z a t i o n . k 8 s . i o / v 1 b e t a 1 = t r u e ) .   A n   e x a m p l e   r e q u e s t   b o d y :   {   \" a p i V e r s i o n \" :   \" a u t h o r i z a t i o n . k 8 s . i o / v 1 b e t a 1 \" ,   \" k i n d \" :   \" S u b j e c t A c c e s s R e v i e w \" ,   \" s p e c \" :   {   \" r e s o u r c e A t t r i b u t e s \" :   {   \" n a m e s p a c e \" :   \" k i t t e n s a n d p o n i e s \" ,   \" v e r b \" :   \" g e t \" ,   \" g r o u p \" :   \" u n i c o r n . e x a m p l e . o r g \" ,   \" r e s o u r c e \" :   \" p o d s \"   } ,   \" u s e r \" :   \" j a n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/webhook/",
    "id": "k8s_00735_section_2_16144"
  },
  {
    "question": "What is Service?",
    "answer": "ServiceService is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.apiVersion: v1import \"k8s.io/api/core/v1\"ServiceService is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.apiVersion: v1kind: Servicemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (ServiceSpec)Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (ServiceStatus)Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusServiceSpecServiceSpec describes the attributes that a user creates on a service.selector (map[string]string)Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/ports ([]ServicePort)Patch strategy: merge on key portMap: unique values on keys port, protocol will be kept during a mergeThe list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxiesServicePort contains information on service's port.ports.port (int32), requiredThe port that will be exposed by this service.ports.targetPort (IntOrString)Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-serviceIntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.ports.protocol (string)The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP.ports.name (string)The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have uni",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_qa_16145"
  },
  {
    "question": "How does Service work?",
    "answer": "ServiceService is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.apiVersion: v1import \"k8s.io/api/core/v1\"ServiceService is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.apiVersion: v1kind: Servicemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (ServiceSpec)Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (ServiceStatus)Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusServiceSpecServiceSpec describes the attributes that a user creates on a service.selector (map[string]string)Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/ports ([]ServicePort)Patch strategy: merge on key portMap: unique values on keys port, protocol will be kept during a mergeThe list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxiesServicePort contains information on service's port.ports.port (int32), requiredThe port that will be exposed by this service.ports.targetPort (IntOrString)Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-serviceIntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.ports.protocol (string)The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP.ports.name (string)The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have uni",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_qa_16146"
  },
  {
    "question": "When would you use Service?",
    "answer": "ServiceService is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.apiVersion: v1import \"k8s.io/api/core/v1\"ServiceService is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.apiVersion: v1kind: Servicemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (ServiceSpec)Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (ServiceStatus)Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusServiceSpecServiceSpec describes the attributes that a user creates on a service.selector (map[string]string)Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/ports ([]ServicePort)Patch strategy: merge on key portMap: unique values on keys port, protocol will be kept during a mergeThe list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxiesServicePort contains information on service's port.ports.port (int32), requiredThe port that will be exposed by this service.ports.targetPort (IntOrString)Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-serviceIntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.ports.protocol (string)The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP.ports.name (string)The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have uni",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_qa_16147"
  },
  {
    "question": "What are the benefits of Service?",
    "answer": "ServiceService is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.apiVersion: v1import \"k8s.io/api/core/v1\"ServiceService is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.apiVersion: v1kind: Servicemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (ServiceSpec)Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (ServiceStatus)Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusServiceSpecServiceSpec describes the attributes that a user creates on a service.selector (map[string]string)Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/ports ([]ServicePort)Patch strategy: merge on key portMap: unique values on keys port, protocol will be kept during a mergeThe list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxiesServicePort contains information on service's port.ports.port (int32), requiredThe port that will be exposed by this service.ports.targetPort (IntOrString)Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-serviceIntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.ports.protocol (string)The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP.ports.name (string)The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have uni",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_qa_16148"
  },
  {
    "question": "What is Service?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_1_16149"
  },
  {
    "question": "What is Service?",
    "answer": "S e r v i c e   i s   a   n a m e d   a b s t r a c t i o n   o f   s o f t w a r e   s e r v i c e   ( f o r   e x a m p l e ,   m y s q l )   c o n s i s t i n g   o f   l o c a l   p o r t   ( f o r   e x a m p l e   3 3 0 6 )   t h a t   t h e   p r o x y   l i s t e n s   o n ,   a n d   t h e   s e l e c t o r   t h a t   d e t e r m i n e s   w h i c h   p o d s   w i l l   a n s w e r   r e q u e s t s   s e n t   t h r o u g h   t h e   p r o x y .   a p i V e r s i o n :   v 1 k i n d :   S e r v i c e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( S e r v i c e S p e c ) S p e c   d e f i n e s   t h e   b e h a v i o r   o f   a   s e r v i c e .   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( S e r v i c e S t a t u s ) M o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   s e r v i c e .   P o p u l a t e d   b y   t h e   s y s t e m .   R e a d - o n l y .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( S e r v i c e S p e c )   S p e c   d e f i n e s   t h ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_2_16150"
  },
  {
    "question": "What is ServiceSpec?",
    "answer": "S e r v i c e S p e c   d e s c r i b e s   t h e   a t t r i b u t e s   t h a t   a   u s e r   c r e a t e s   o n   a   s e r v i c e .   s e l e c t o r   ( m a p [ s t r i n g ] s t r i n g ) R o u t e   s e r v i c e   t r a f f i c   t o   p o d s   w i t h   l a b e l   k e y s   a n d   v a l u e s   m a t c h i n g   t h i s   s e l e c t o r .   I f   e m p t y   o r   n o t   p r e s e n t ,   t h e   s e r v i c e   i s   a s s u m e d   t o   h a v e   a n   e x t e r n a l   p r o c e s s   m a n a g i n g   i t s   e n d p o i n t s ,   w h i c h   K u b e r n e t e s   w i l l   n o t   m o d i f y .   O n l y   a p p l i e s   t o   t y p e s   C l u s t e r I P ,   N o d e P o r t ,   a n d   L o a d B a l a n c e r .   I g n o r e d   i f   t y p e   i s   E x t e r n a l N a m e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s e r v i c e s - n e t w o r k i n g / s e r v i c e / p o r t s   ( [ ] S e r v i c e P o r t ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   p o r t M a p :   u n i q u e   v a l u e s   o n   k e y s   p o r t ,   p r o t o c o l   w i l l   b e   k e p t   d u r i n g   a   m e r g e T h e   l i s t   o f   p o r t s   t h a t   a r e   e x p o s e d   b y   t h i s   s e r v i c e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s e r v i c e s - n e t w o r k i n g / s e r v i c e / # v i r t u a l - i p s - a n d - s e r v i c e - p r o x i e s S e r v i c e P o r t   c o n t a i n s   i n f o r m a t i o n   o n   s e r v i c e ' s   p o r t . p o r t s . p o r t   ( i n t 3 2 ) ,   r e q u i r e d T h e   p o r t   t h a t   w i l l   b e   e x p o s e d   b y   t h i s   s e r v i c e . p o r t s . t a r g e t P o r t   ( I n t O r S t r i n g ) N u m b e r   o r   n a m e   o f   t h e   p o r t   t o   a c c e s s   o n   t h e   p o d s   t a r g e t e d   b y   t h e   s e r v i c e .   N u m b e r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_2_16151"
  },
  {
    "question": "What is ServiceStatus?",
    "answer": "S e r v i c e S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t u s   o f   a   s e r v i c e .   c o n d i t i o n s   ( [ ] C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e C u r r e n t   s e r v i c e   s t a t e C o n d i t i o n   c o n t a i n s   d e t a i l s   f o r   o n e   a s p e c t   o f   t h e   c u r r e n t   s t a t e   o f   t h i s   A P I   R e s o u r c e . c o n d i t i o n s . l a s t T r a n s i t i o n T i m e   ( T i m e ) ,   r e q u i r e d l a s t T r a n s i t i o n T i m e   i s   t h e   l a s t   t i m e   t h e   c o n d i t i o n   t r a n s i t i o n e d   f r o m   o n e   s t a t u s   t o   a n o t h e r .   T h i s   s h o u l d   b e   w h e n   t h e   u n d e r l y i n g   c o n d i t i o n   c h a n g e d .   I f   t h a t   i s   n o t   k n o w n ,   t h e n   u s i n g   t h e   t i m e   w h e n   t h e   A P I   f i e l d   c h a n g e d   i s   a c c e p t a b l e . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c o n d i t i o n s . m e s s a g e   ( s t r i n g ) ,   r e q u i r e d m e s s a g e   i s   a   h u m a n   r e a d a b l e   m e s s a g e   i n d i c a t i n g   d e t a i l s   a b o u t   t h e   t r a n s i t i o n .   T h i s   m a y   b e   a n   e m p t y   s t r i n g . c o n d i t i o n s . r e a s o n   ( s t r i n g ) ,   r e q u i r e d r e a s o n   c o n t a i n s   a   p r o g r a m m a t i c   i d e n t i f i e r   i n d i c a t i n g   t h e   r e a s o n   f o r   t h e   c o n d i t i o n ' s   l a s t   t r a n s i t i o n . ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_2_16152"
  },
  {
    "question": "What is ServiceList?",
    "answer": "S e r v i c e L i s t   h o l d s   a   l i s t   o f   s e r v i c e s .   a p i V e r s i o n :   v 1 k i n d :   S e r v i c e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] S e r v i c e ) ,   r e q u i r e d L i s t   o f   s e r v i c e s   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] S e r v i c e ) ,   r e q u i r e d   L i s t   o f   s e r v i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_2_16153"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16154"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16155"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16156"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16157"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16158"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16159"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16160"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16161"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16162"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / s e r v i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16163"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16164"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16165"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16166"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S e r v i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S e r v i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16167"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e ) :   O K   2 0 1   ( S e r v i c e ) :   C r e a t e d   2 0 2   ( S e r v i c e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16168"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16169"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S e r v i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S e r v i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16170"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e ) :   O K   2 0 1   ( S e r v i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16171"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16172"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S e r v i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S e r v i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16173"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e ) :   O K   2 0 1   ( S e r v i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16174"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16175"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16176"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e ) :   O K   2 0 1   ( S e r v i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16177"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16178"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16179"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e ) :   O K   2 0 1   ( S e r v i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16180"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16181"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16182"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e ) :   O K   2 0 2   ( S e r v i c e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16183"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16184"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16185"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/",
    "id": "k8s_00736_section_4_16186"
  },
  {
    "question": "What is Contribute to Kubernetes?",
    "answer": "There are lots of ways to contribute to Kubernetes. You can work on designs for new features, you can document the code we already have, you can write for our blogs. There's more: you can implement those new features or fix bugs. You can help people join our contributor community, or support existing contributors.With all these different ways to make a difference to the project, we - Kubernetes - have made a dedicated website: https://k8s.dev/. You can go there to learn more about contributing to Kubernetes.If you specifically want to learn about contributing to the documentation or other parts of this website, read Contribute to Kubernetes documentation. If you specifically want to help with the official Kubernetes blogs, read Contributing to Kubernetes blogs.You can also read the CNCF page about contributing to Kubernetes.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/",
    "id": "k8s_00737_qa_16187"
  },
  {
    "question": "How does Contribute to Kubernetes work?",
    "answer": "There are lots of ways to contribute to Kubernetes. You can work on designs for new features, you can document the code we already have, you can write for our blogs. There's more: you can implement those new features or fix bugs. You can help people join our contributor community, or support existing contributors.With all these different ways to make a difference to the project, we - Kubernetes - have made a dedicated website: https://k8s.dev/. You can go there to learn more about contributing to Kubernetes.If you specifically want to learn about contributing to the documentation or other parts of this website, read Contribute to Kubernetes documentation. If you specifically want to help with the official Kubernetes blogs, read Contributing to Kubernetes blogs.You can also read the CNCF page about contributing to Kubernetes.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/",
    "id": "k8s_00737_qa_16188"
  },
  {
    "question": "When would you use Contribute to Kubernetes?",
    "answer": "There are lots of ways to contribute to Kubernetes. You can work on designs for new features, you can document the code we already have, you can write for our blogs. There's more: you can implement those new features or fix bugs. You can help people join our contributor community, or support existing contributors.With all these different ways to make a difference to the project, we - Kubernetes - have made a dedicated website: https://k8s.dev/. You can go there to learn more about contributing to Kubernetes.If you specifically want to learn about contributing to the documentation or other parts of this website, read Contribute to Kubernetes documentation. If you specifically want to help with the official Kubernetes blogs, read Contributing to Kubernetes blogs.You can also read the CNCF page about contributing to Kubernetes.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/",
    "id": "k8s_00737_qa_16189"
  },
  {
    "question": "What are the benefits of Contribute to Kubernetes?",
    "answer": "There are lots of ways to contribute to Kubernetes. You can work on designs for new features, you can document the code we already have, you can write for our blogs. There's more: you can implement those new features or fix bugs. You can help people join our contributor community, or support existing contributors.With all these different ways to make a difference to the project, we - Kubernetes - have made a dedicated website: https://k8s.dev/. You can go there to learn more about contributing to Kubernetes.If you specifically want to learn about contributing to the documentation or other parts of this website, read Contribute to Kubernetes documentation. If you specifically want to help with the official Kubernetes blogs, read Contributing to Kubernetes blogs.You can also read the CNCF page about contributing to Kubernetes.",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/",
    "id": "k8s_00737_qa_16190"
  },
  {
    "question": "What is Contribute to Kubernetes?",
    "answer": "K u b e r n e t e s   D o c u m e n t a t i o n   D o c u m e n t a t i o n   A v a i l a b l e   D o c u m e n t a t i o n   V e r s i o n s   G e t t i n g   s t a r t e d   L e a r n i n g   e n v i r o n m e n t   P r o d u c t i o n   e n v i r o n m e n t   C o n t a i n e r   R u n t i m e s   I n s t a l l i n g   K u b e r n e t e s   w i t h   d e p l o y m e n t   t o o l s   B o o t s t r a p p i n g   c l u s t e r s   w i t h   k u b e a d m   I n s t a l l i n g   k u b e a d m   T r o u b l e s h o o t i n g   k u b e a d m   C r e a t i n g   a   c l u s t e r   w i t h   k u b e a d m   C u s t o m i z i n g   c o m p o n e n t s   w i t h   t h e   k u b e a d m   A P I   O p t i o n s   f o r   H i g h l y   A v a i l a b l e   T o p o l o g y   C r e a t i n g   H i g h l y   A v a i l a b l e   C l u s t e r s   w i t h   k u b e a d m   S e t   u p   a   H i g h   A v a i l a b i l i t y   e t c d   C l u s t e r   w i t h   k u b e a d m   C o n f i g u r i n g   e a c h   k u b e l e t   i n   y o u r   c l u s t e r   u s i n g   k u b e a d m   D u a l - s t a c k   s u p p o r t   w i t h   k u b e a d m   T u r n k e y   C l o u d   S o l u t i o n s   B e s t   p r a c t i c e s   C o n s i d e r a t i o n s   f o r   l a r g e   c l u s t e r s   R u n n i n g   i n   m u l t i p l e   z o n e s   V a l i d a t e   n o d e   s e t u p   E n f o r c i n g   P o d   S e c u r i t y   S t a n d a r d s   P K I   c e r t i f i c a t e s   a n d   r e q u i r e m e n t s   C o n c e p t s   O v e r v i e w   K u b e r n e t e s   C o m p o n e n t s   O b j e c t s   I n   K u b e r n e t e s   K u b e r n e t e s   O b j e c t   M a n a g e m e n t   O b j e c t   N a m e s   a n d   I D s   L a b e l s   a n d   S e l e c t o r s   N a m e s p a c e s   A n n o t a t i o n s   F i e l d   S e l e c t o r s   F i n a l i z e r s   O w n e r s   a n d   D e p e n d e n t s   R e c o m m e n d e d   L a b e l s   T h e   K u b e r n e t e s ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/contribute/",
    "id": "k8s_00737_section_1_16191"
  },
  {
    "question": "What is TokenRequest?",
    "answer": "TokenRequestTokenRequest requests a token for a given service account.apiVersion: authentication.k8s.io/v1import \"k8s.io/api/authentication/v1\"TokenRequestTokenRequest requests a token for a given service account.apiVersion: authentication.k8s.io/v1kind: TokenRequestmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (TokenRequestSpec), requiredSpec holds information about the request being evaluatedstatus (TokenRequestStatus)Status is filled in by the server and indicates whether the token can be authenticated.TokenRequestSpecTokenRequestSpec contains client provided parameters of a token request.audiences ([]string), requiredAtomic: will be replaced during a mergeAudiences are the intended audiences of the token. A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.boundObjectRef (BoundObjectReference)BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation.BoundObjectReference is a reference to an object that a token is bound to.boundObjectRef.apiVersion (string)API version of the referent.boundObjectRef.kind (string)Kind of the referent. Valid kinds are 'Pod' and 'Secret'.boundObjectRef.name (string)Name of the referent.boundObjectRef.uid (string)UID of the referent.expirationSeconds (int64)ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response.TokenRequestStatusTokenRequestStatus is the result of a token request.expirationTimestamp (Time), requiredExpirationTimestamp is the time of expiration of the returned token.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.token (string), requiredToken is the opaque bearer token.Operationscreate create token of a ServiceAccountHTTP RequestPOST /api/v1/namespaces/{namespace}/serviceaccounts/{name}/tokenParametersname (in path): string, requiredname of the TokenRequestnamespace (in path): string, requirednamespacebody: TokenRequest, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (TokenRequest): OK201 (TokenRequest): Created202 (TokenRequest): Accepted401: UnauthorizedThis page is automatically generated.If yo",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/token-request-v1/",
    "id": "k8s_00738_qa_16192"
  },
  {
    "question": "How does TokenRequest work?",
    "answer": "TokenRequestTokenRequest requests a token for a given service account.apiVersion: authentication.k8s.io/v1import \"k8s.io/api/authentication/v1\"TokenRequestTokenRequest requests a token for a given service account.apiVersion: authentication.k8s.io/v1kind: TokenRequestmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (TokenRequestSpec), requiredSpec holds information about the request being evaluatedstatus (TokenRequestStatus)Status is filled in by the server and indicates whether the token can be authenticated.TokenRequestSpecTokenRequestSpec contains client provided parameters of a token request.audiences ([]string), requiredAtomic: will be replaced during a mergeAudiences are the intended audiences of the token. A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.boundObjectRef (BoundObjectReference)BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation.BoundObjectReference is a reference to an object that a token is bound to.boundObjectRef.apiVersion (string)API version of the referent.boundObjectRef.kind (string)Kind of the referent. Valid kinds are 'Pod' and 'Secret'.boundObjectRef.name (string)Name of the referent.boundObjectRef.uid (string)UID of the referent.expirationSeconds (int64)ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response.TokenRequestStatusTokenRequestStatus is the result of a token request.expirationTimestamp (Time), requiredExpirationTimestamp is the time of expiration of the returned token.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.token (string), requiredToken is the opaque bearer token.Operationscreate create token of a ServiceAccountHTTP RequestPOST /api/v1/namespaces/{namespace}/serviceaccounts/{name}/tokenParametersname (in path): string, requiredname of the TokenRequestnamespace (in path): string, requirednamespacebody: TokenRequest, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (TokenRequest): OK201 (TokenRequest): Created202 (TokenRequest): Accepted401: UnauthorizedThis page is automatically generated.If yo",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/token-request-v1/",
    "id": "k8s_00738_qa_16193"
  },
  {
    "question": "When would you use TokenRequest?",
    "answer": "TokenRequestTokenRequest requests a token for a given service account.apiVersion: authentication.k8s.io/v1import \"k8s.io/api/authentication/v1\"TokenRequestTokenRequest requests a token for a given service account.apiVersion: authentication.k8s.io/v1kind: TokenRequestmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (TokenRequestSpec), requiredSpec holds information about the request being evaluatedstatus (TokenRequestStatus)Status is filled in by the server and indicates whether the token can be authenticated.TokenRequestSpecTokenRequestSpec contains client provided parameters of a token request.audiences ([]string), requiredAtomic: will be replaced during a mergeAudiences are the intended audiences of the token. A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.boundObjectRef (BoundObjectReference)BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation.BoundObjectReference is a reference to an object that a token is bound to.boundObjectRef.apiVersion (string)API version of the referent.boundObjectRef.kind (string)Kind of the referent. Valid kinds are 'Pod' and 'Secret'.boundObjectRef.name (string)Name of the referent.boundObjectRef.uid (string)UID of the referent.expirationSeconds (int64)ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response.TokenRequestStatusTokenRequestStatus is the result of a token request.expirationTimestamp (Time), requiredExpirationTimestamp is the time of expiration of the returned token.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.token (string), requiredToken is the opaque bearer token.Operationscreate create token of a ServiceAccountHTTP RequestPOST /api/v1/namespaces/{namespace}/serviceaccounts/{name}/tokenParametersname (in path): string, requiredname of the TokenRequestnamespace (in path): string, requirednamespacebody: TokenRequest, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (TokenRequest): OK201 (TokenRequest): Created202 (TokenRequest): Accepted401: UnauthorizedThis page is automatically generated.If yo",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/token-request-v1/",
    "id": "k8s_00738_qa_16194"
  },
  {
    "question": "What are the benefits of TokenRequest?",
    "answer": "TokenRequestTokenRequest requests a token for a given service account.apiVersion: authentication.k8s.io/v1import \"k8s.io/api/authentication/v1\"TokenRequestTokenRequest requests a token for a given service account.apiVersion: authentication.k8s.io/v1kind: TokenRequestmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (TokenRequestSpec), requiredSpec holds information about the request being evaluatedstatus (TokenRequestStatus)Status is filled in by the server and indicates whether the token can be authenticated.TokenRequestSpecTokenRequestSpec contains client provided parameters of a token request.audiences ([]string), requiredAtomic: will be replaced during a mergeAudiences are the intended audiences of the token. A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.boundObjectRef (BoundObjectReference)BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation.BoundObjectReference is a reference to an object that a token is bound to.boundObjectRef.apiVersion (string)API version of the referent.boundObjectRef.kind (string)Kind of the referent. Valid kinds are 'Pod' and 'Secret'.boundObjectRef.name (string)Name of the referent.boundObjectRef.uid (string)UID of the referent.expirationSeconds (int64)ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response.TokenRequestStatusTokenRequestStatus is the result of a token request.expirationTimestamp (Time), requiredExpirationTimestamp is the time of expiration of the returned token.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.token (string), requiredToken is the opaque bearer token.Operationscreate create token of a ServiceAccountHTTP RequestPOST /api/v1/namespaces/{namespace}/serviceaccounts/{name}/tokenParametersname (in path): string, requiredname of the TokenRequestnamespace (in path): string, requirednamespacebody: TokenRequest, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (TokenRequest): OK201 (TokenRequest): Created202 (TokenRequest): Accepted401: UnauthorizedThis page is automatically generated.If yo",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/token-request-v1/",
    "id": "k8s_00738_qa_16195"
  },
  {
    "question": "What is TokenRequest?",
    "answer": "a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a u t h e n t i c a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/token-request-v1/",
    "id": "k8s_00738_section_1_16196"
  },
  {
    "question": "What is TokenRequest?",
    "answer": "T o k e n R e q u e s t   r e q u e s t s   a   t o k e n   f o r   a   g i v e n   s e r v i c e   a c c o u n t .   a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1 k i n d :   T o k e n R e q u e s t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( T o k e n R e q u e s t S p e c ) ,   r e q u i r e d S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d s t a t u s   ( T o k e n R e q u e s t S t a t u s ) S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   a n d   i n d i c a t e s   w h e t h e r   t h e   t o k e n   c a n   b e   a u t h e n t i c a t e d .   a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1   k i n d :   T o k e n R e q u e s t   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( T o k e n R e q u e s t S p e c ) ,   r e q u i r e d   S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d   s t a t u s   ( T o k e n R e q u e s t S t a t u s )   S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   a n d   i n d i c a t e s   w h e t h e r   t h e   t o k e n   c a n   b e   a u t h e n t i c a t e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/token-request-v1/",
    "id": "k8s_00738_section_2_16197"
  },
  {
    "question": "What is TokenRequestSpec?",
    "answer": "T o k e n R e q u e s t S p e c   c o n t a i n s   c l i e n t   p r o v i d e d   p a r a m e t e r s   o f   a   t o k e n   r e q u e s t .   a u d i e n c e s   ( [ ] s t r i n g ) ,   r e q u i r e d A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A u d i e n c e s   a r e   t h e   i n t e n d e d   a u d i e n c e s   o f   t h e   t o k e n .   A   r e c i p i e n t   o f   a   t o k e n   m u s t   i d e n t i f y   t h e m s e l f   w i t h   a n   i d e n t i f i e r   i n   t h e   l i s t   o f   a u d i e n c e s   o f   t h e   t o k e n ,   a n d   o t h e r w i s e   s h o u l d   r e j e c t   t h e   t o k e n .   A   t o k e n   i s s u e d   f o r   m u l t i p l e   a u d i e n c e s   m a y   b e   u s e d   t o   a u t h e n t i c a t e   a g a i n s t   a n y   o f   t h e   a u d i e n c e s   l i s t e d   b u t   i m p l i e s   a   h i g h   d e g r e e   o f   t r u s t   b e t w e e n   t h e   t a r g e t   a u d i e n c e s . b o u n d O b j e c t R e f   ( B o u n d O b j e c t R e f e r e n c e ) B o u n d O b j e c t R e f   i s   a   r e f e r e n c e   t o   a n   o b j e c t   t h a t   t h e   t o k e n   w i l l   b e   b o u n d   t o .   T h e   t o k e n   w i l l   o n l y   b e   v a l i d   f o r   a s   l o n g   a s   t h e   b o u n d   o b j e c t   e x i s t s .   N O T E :   T h e   A P I   s e r v e r ' s   T o k e n R e v i e w   e n d p o i n t   w i l l   v a l i d a t e   t h e   B o u n d O b j e c t R e f ,   b u t   o t h e r   a u d i e n c e s   m a y   n o t .   K e e p   E x p i r a t i o n S e c o n d s   s m a l l   i f   y o u   w a n t   p r o m p t   r e v o c a t i o n . B o u n d O b j e c t R e f e r e n c e   i s   a   r e f e r e n c e   t o   a n   o b j e c t   t h a t   a   t o k e n   i s   b o u n d   t o . b o u n d O b j e c t R e f . a p i V e r s i o n   ( s t r i n g ) A P I   v e r s i o n   o f   t h e   r e f e r e n t . b o u n d O b j e c t R e f ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/token-request-v1/",
    "id": "k8s_00738_section_2_16198"
  },
  {
    "question": "What is TokenRequestStatus?",
    "answer": "T o k e n R e q u e s t S t a t u s   i s   t h e   r e s u l t   o f   a   t o k e n   r e q u e s t .   e x p i r a t i o n T i m e s t a m p   ( T i m e ) ,   r e q u i r e d E x p i r a t i o n T i m e s t a m p   i s   t h e   t i m e   o f   e x p i r a t i o n   o f   t h e   r e t u r n e d   t o k e n . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . t o k e n   ( s t r i n g ) ,   r e q u i r e d T o k e n   i s   t h e   o p a q u e   b e a r e r   t o k e n .   e x p i r a t i o n T i m e s t a m p   ( T i m e ) ,   r e q u i r e d   E x p i r a t i o n T i m e s t a m p   i s   t h e   t i m e   o f   e x p i r a t i o n   o f   t h e   r e t u r n e d   t o k e n .   T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s .   t o k e n   ( s t r i n g ) ,   r e q u i r e d   T o k e n   i s   t h e   o p a q u e   b e a r e r   t o k e n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/token-request-v1/",
    "id": "k8s_00738_section_2_16199"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s / { n a m e } / t o k e n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/token-request-v1/",
    "id": "k8s_00738_section_4_16200"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   T o k e n R e q u e s t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   T o k e n R e q u e s t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   T o k e n R e q u e s t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   T o k e n R e q u e s t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/token-request-v1/",
    "id": "k8s_00738_section_4_16201"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( T o k e n R e q u e s t ) :   O K   2 0 1   ( T o k e n R e q u e s t ) :   C r e a t e d   2 0 2   ( T o k e n R e q u e s t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/token-request-v1/",
    "id": "k8s_00738_section_4_16202"
  },
  {
    "question": "What is kubectl config delete-user?",
    "answer": "kubectl config delete-userSynopsisDelete the specified user from the kubeconfig.kubectl config delete-user NAME Examples # Delete the minikube user kubectl config delete-user minikube Options-h, --helphelp for delete-userParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --ver",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-user/",
    "id": "k8s_00739_qa_16203"
  },
  {
    "question": "How does kubectl config delete-user work?",
    "answer": "kubectl config delete-userSynopsisDelete the specified user from the kubeconfig.kubectl config delete-user NAME Examples # Delete the minikube user kubectl config delete-user minikube Options-h, --helphelp for delete-userParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --ver",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-user/",
    "id": "k8s_00739_qa_16204"
  },
  {
    "question": "When would you use kubectl config delete-user?",
    "answer": "kubectl config delete-userSynopsisDelete the specified user from the kubeconfig.kubectl config delete-user NAME Examples # Delete the minikube user kubectl config delete-user minikube Options-h, --helphelp for delete-userParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --ver",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-user/",
    "id": "k8s_00739_qa_16205"
  },
  {
    "question": "What are the benefits of kubectl config delete-user?",
    "answer": "kubectl config delete-userSynopsisDelete the specified user from the kubeconfig.kubectl config delete-user NAME Examples # Delete the minikube user kubectl config delete-user minikube Options-h, --helphelp for delete-userParent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringuse a particular kubeconfig file--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction--storage-driver-db string Default: \"cadvisor\"database name--storage-driver-host string Default: \"localhost:8086\"database host:port--storage-driver-password string Default: \"root\"database password--storage-driver-secureuse secure connection with database--storage-driver-table string Default: \"stats\"table name--storage-driver-user string Default: \"root\"database username--tls-server-name stringServer name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used--token stringBearer token for authentication to the API server--user stringThe name of the kubeconfig user to use--username stringUsername for basic authentication to the API server--version version[=true]--version, --ver",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-user/",
    "id": "k8s_00739_qa_16206"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D e l e t e   t h e   s p e c i f i e d   u s e r   f r o m   t h e   k u b e c o n f i g .   k u b e c t l   c o n f i g   d e l e t e - u s e r   N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-user/",
    "id": "k8s_00739_section_2_16207"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D e l e t e   t h e   m i n i k u b e   u s e r   k u b e c t l   c o n f i g   d e l e t e - u s e r   m i n i k u b e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-user/",
    "id": "k8s_00739_section_2_16208"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   d e l e t e - u s e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-user/",
    "id": "k8s_00739_section_2_16209"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-user/",
    "id": "k8s_00739_section_2_16210"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-user/",
    "id": "k8s_00739_section_2_16211"
  },
  {
    "question": "What is Kubernetes Deprecation Policy?",
    "answer": "Kubernetes Deprecation PolicyThis document details the deprecation policy for various facets of the system.Kubernetes is a large system with many components and many contributors. As with any such software, the feature set naturally evolves over time, and sometimes a feature may need to be removed. This could include an API, a flag, or even an entire feature. To avoid breaking existing users, Kubernetes follows a deprecation policy for aspects of the system that are slated to be removed.Deprecating parts of the APISince Kubernetes is an API-driven system, the API has evolved over time to reflect the evolving understanding of the problem space. The Kubernetes API is actually a set of APIs, called \"API groups\", and each API group is independently versioned. API versions fall into 3 main tracks, each of which has different policies for deprecation:ExampleTrackv1GA (generally available, stable)v1beta1Beta (pre-release)v1alpha1Alpha (experimental)A given release of Kubernetes can support any number of API groups and any number of versions of each.The following rules govern the deprecation of elements of the API. This includes:REST resources (aka API objects)Fields of REST resourcesAnnotations on REST resources, including \"beta\" annotations but not including \"alpha\" annotations.Enumerated or constant valuesComponent config structuresThese rules are enforced between official releases, not between arbitrary commits to master or release branches.Rule #1: API elements may only be removed by incrementing the version of the API group.Once an API element has been added to an API group at a particular version, it can not be removed from that version or have its behavior significantly changed, regardless of track.Note:For historical reasons, there are 2 \"monolithic\" API groups - \"core\" (no group name) and \"extensions\". Resources will incrementally be moved from these legacy API groups into more domain-specific API groups.Rule #2: API objects must be able to round-trip between API versions in a given release without information loss, with the exception of whole REST resources that do not exist in some versions.For example, an object can be written as v1 and then read back as v2 and converted to v1, and the resulting v1 resource will be identical to the original. The representation in v2 might be different from v1, but the system knows how to convert between them in both directions. Additionally, any new field added in v2 must be able to round-trip to v1 and back, which means v1 might have to add an equivalent field or represent it as an annotation.Rule #3: An API version in a given track may not be deprecated in favor of a less stable API version.GA API versions can replace beta and alpha API versions.Beta API versions can replace earlier beta and alpha API versions, but may not replace GA API versions.Alpha API versions can replace earlier alpha API versions, but may not replace GA or beta API versions.Rule #4a: API lifetime is determined by the API stability l",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-policy/",
    "id": "k8s_00740_qa_16212"
  },
  {
    "question": "How does Kubernetes Deprecation Policy work?",
    "answer": "Kubernetes Deprecation PolicyThis document details the deprecation policy for various facets of the system.Kubernetes is a large system with many components and many contributors. As with any such software, the feature set naturally evolves over time, and sometimes a feature may need to be removed. This could include an API, a flag, or even an entire feature. To avoid breaking existing users, Kubernetes follows a deprecation policy for aspects of the system that are slated to be removed.Deprecating parts of the APISince Kubernetes is an API-driven system, the API has evolved over time to reflect the evolving understanding of the problem space. The Kubernetes API is actually a set of APIs, called \"API groups\", and each API group is independently versioned. API versions fall into 3 main tracks, each of which has different policies for deprecation:ExampleTrackv1GA (generally available, stable)v1beta1Beta (pre-release)v1alpha1Alpha (experimental)A given release of Kubernetes can support any number of API groups and any number of versions of each.The following rules govern the deprecation of elements of the API. This includes:REST resources (aka API objects)Fields of REST resourcesAnnotations on REST resources, including \"beta\" annotations but not including \"alpha\" annotations.Enumerated or constant valuesComponent config structuresThese rules are enforced between official releases, not between arbitrary commits to master or release branches.Rule #1: API elements may only be removed by incrementing the version of the API group.Once an API element has been added to an API group at a particular version, it can not be removed from that version or have its behavior significantly changed, regardless of track.Note:For historical reasons, there are 2 \"monolithic\" API groups - \"core\" (no group name) and \"extensions\". Resources will incrementally be moved from these legacy API groups into more domain-specific API groups.Rule #2: API objects must be able to round-trip between API versions in a given release without information loss, with the exception of whole REST resources that do not exist in some versions.For example, an object can be written as v1 and then read back as v2 and converted to v1, and the resulting v1 resource will be identical to the original. The representation in v2 might be different from v1, but the system knows how to convert between them in both directions. Additionally, any new field added in v2 must be able to round-trip to v1 and back, which means v1 might have to add an equivalent field or represent it as an annotation.Rule #3: An API version in a given track may not be deprecated in favor of a less stable API version.GA API versions can replace beta and alpha API versions.Beta API versions can replace earlier beta and alpha API versions, but may not replace GA API versions.Alpha API versions can replace earlier alpha API versions, but may not replace GA or beta API versions.Rule #4a: API lifetime is determined by the API stability l",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-policy/",
    "id": "k8s_00740_qa_16213"
  },
  {
    "question": "When would you use Kubernetes Deprecation Policy?",
    "answer": "Kubernetes Deprecation PolicyThis document details the deprecation policy for various facets of the system.Kubernetes is a large system with many components and many contributors. As with any such software, the feature set naturally evolves over time, and sometimes a feature may need to be removed. This could include an API, a flag, or even an entire feature. To avoid breaking existing users, Kubernetes follows a deprecation policy for aspects of the system that are slated to be removed.Deprecating parts of the APISince Kubernetes is an API-driven system, the API has evolved over time to reflect the evolving understanding of the problem space. The Kubernetes API is actually a set of APIs, called \"API groups\", and each API group is independently versioned. API versions fall into 3 main tracks, each of which has different policies for deprecation:ExampleTrackv1GA (generally available, stable)v1beta1Beta (pre-release)v1alpha1Alpha (experimental)A given release of Kubernetes can support any number of API groups and any number of versions of each.The following rules govern the deprecation of elements of the API. This includes:REST resources (aka API objects)Fields of REST resourcesAnnotations on REST resources, including \"beta\" annotations but not including \"alpha\" annotations.Enumerated or constant valuesComponent config structuresThese rules are enforced between official releases, not between arbitrary commits to master or release branches.Rule #1: API elements may only be removed by incrementing the version of the API group.Once an API element has been added to an API group at a particular version, it can not be removed from that version or have its behavior significantly changed, regardless of track.Note:For historical reasons, there are 2 \"monolithic\" API groups - \"core\" (no group name) and \"extensions\". Resources will incrementally be moved from these legacy API groups into more domain-specific API groups.Rule #2: API objects must be able to round-trip between API versions in a given release without information loss, with the exception of whole REST resources that do not exist in some versions.For example, an object can be written as v1 and then read back as v2 and converted to v1, and the resulting v1 resource will be identical to the original. The representation in v2 might be different from v1, but the system knows how to convert between them in both directions. Additionally, any new field added in v2 must be able to round-trip to v1 and back, which means v1 might have to add an equivalent field or represent it as an annotation.Rule #3: An API version in a given track may not be deprecated in favor of a less stable API version.GA API versions can replace beta and alpha API versions.Beta API versions can replace earlier beta and alpha API versions, but may not replace GA API versions.Alpha API versions can replace earlier alpha API versions, but may not replace GA or beta API versions.Rule #4a: API lifetime is determined by the API stability l",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-policy/",
    "id": "k8s_00740_qa_16214"
  },
  {
    "question": "What are the benefits of Kubernetes Deprecation Policy?",
    "answer": "Kubernetes Deprecation PolicyThis document details the deprecation policy for various facets of the system.Kubernetes is a large system with many components and many contributors. As with any such software, the feature set naturally evolves over time, and sometimes a feature may need to be removed. This could include an API, a flag, or even an entire feature. To avoid breaking existing users, Kubernetes follows a deprecation policy for aspects of the system that are slated to be removed.Deprecating parts of the APISince Kubernetes is an API-driven system, the API has evolved over time to reflect the evolving understanding of the problem space. The Kubernetes API is actually a set of APIs, called \"API groups\", and each API group is independently versioned. API versions fall into 3 main tracks, each of which has different policies for deprecation:ExampleTrackv1GA (generally available, stable)v1beta1Beta (pre-release)v1alpha1Alpha (experimental)A given release of Kubernetes can support any number of API groups and any number of versions of each.The following rules govern the deprecation of elements of the API. This includes:REST resources (aka API objects)Fields of REST resourcesAnnotations on REST resources, including \"beta\" annotations but not including \"alpha\" annotations.Enumerated or constant valuesComponent config structuresThese rules are enforced between official releases, not between arbitrary commits to master or release branches.Rule #1: API elements may only be removed by incrementing the version of the API group.Once an API element has been added to an API group at a particular version, it can not be removed from that version or have its behavior significantly changed, regardless of track.Note:For historical reasons, there are 2 \"monolithic\" API groups - \"core\" (no group name) and \"extensions\". Resources will incrementally be moved from these legacy API groups into more domain-specific API groups.Rule #2: API objects must be able to round-trip between API versions in a given release without information loss, with the exception of whole REST resources that do not exist in some versions.For example, an object can be written as v1 and then read back as v2 and converted to v1, and the resulting v1 resource will be identical to the original. The representation in v2 might be different from v1, but the system knows how to convert between them in both directions. Additionally, any new field added in v2 must be able to round-trip to v1 and back, which means v1 might have to add an equivalent field or represent it as an annotation.Rule #3: An API version in a given track may not be deprecated in favor of a less stable API version.GA API versions can replace beta and alpha API versions.Beta API versions can replace earlier beta and alpha API versions, but may not replace GA API versions.Alpha API versions can replace earlier alpha API versions, but may not replace GA or beta API versions.Rule #4a: API lifetime is determined by the API stability l",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-policy/",
    "id": "k8s_00740_qa_16215"
  },
  {
    "question": "What is Kubernetes Deprecation Policy?",
    "answer": "T h i s   d o c u m e n t   d e t a i l s   t h e   d e p r e c a t i o n   p o l i c y   f o r   v a r i o u s   f a c e t s   o f   t h e   s y s t e m .   K u b e r n e t e s   i s   a   l a r g e   s y s t e m   w i t h   m a n y   c o m p o n e n t s   a n d   m a n y   c o n t r i b u t o r s .   A s   w i t h   a n y   s u c h   s o f t w a r e ,   t h e   f e a t u r e   s e t   n a t u r a l l y   e v o l v e s   o v e r   t i m e ,   a n d   s o m e t i m e s   a   f e a t u r e   m a y   n e e d   t o   b e   r e m o v e d .   T h i s   c o u l d   i n c l u d e   a n   A P I ,   a   f l a g ,   o r   e v e n   a n   e n t i r e   f e a t u r e .   T o   a v o i d   b r e a k i n g   e x i s t i n g   u s e r s ,   K u b e r n e t e s   f o l l o w s   a   d e p r e c a t i o n   p o l i c y   f o r   a s p e c t s   o f   t h e   s y s t e m   t h a t   a r e   s l a t e d   t o   b e   r e m o v e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-policy/",
    "id": "k8s_00740_section_1_16216"
  },
  {
    "question": "What is Deprecating parts of the API?",
    "answer": "S i n c e   K u b e r n e t e s   i s   a n   A P I - d r i v e n   s y s t e m ,   t h e   A P I   h a s   e v o l v e d   o v e r   t i m e   t o   r e f l e c t   t h e   e v o l v i n g   u n d e r s t a n d i n g   o f   t h e   p r o b l e m   s p a c e .   T h e   K u b e r n e t e s   A P I   i s   a c t u a l l y   a   s e t   o f   A P I s ,   c a l l e d   \" A P I   g r o u p s \" ,   a n d   e a c h   A P I   g r o u p   i s   i n d e p e n d e n t l y   v e r s i o n e d .   A P I   v e r s i o n s   f a l l   i n t o   3   m a i n   t r a c k s ,   e a c h   o f   w h i c h   h a s   d i f f e r e n t   p o l i c i e s   f o r   d e p r e c a t i o n :   A   g i v e n   r e l e a s e   o f   K u b e r n e t e s   c a n   s u p p o r t   a n y   n u m b e r   o f   A P I   g r o u p s   a n d   a n y   n u m b e r   o f   v e r s i o n s   o f   e a c h .   T h e   f o l l o w i n g   r u l e s   g o v e r n   t h e   d e p r e c a t i o n   o f   e l e m e n t s   o f   t h e   A P I .   T h i s   i n c l u d e s :   R E S T   r e s o u r c e s   ( a k a   A P I   o b j e c t s ) F i e l d s   o f   R E S T   r e s o u r c e s A n n o t a t i o n s   o n   R E S T   r e s o u r c e s ,   i n c l u d i n g   \" b e t a \"   a n n o t a t i o n s   b u t   n o t   i n c l u d i n g   \" a l p h a \"   a n n o t a t i o n s . E n u m e r a t e d   o r   c o n s t a n t   v a l u e s C o m p o n e n t   c o n f i g   s t r u c t u r e s   T h e s e   r u l e s   a r e   e n f o r c e d   b e t w e e n   o f f i c i a l   r e l e a s e s ,   n o t   b e t w e e n   a r b i t r a r y   c o m m i t s   t o   m a s t e r   o r   r e l e a s e   b r a n c h e s .   R u l e   # 1 :   A P I   e l e m e n t s   m a y   o n l y   b e   r e m o v e d   b y   i n c r e m e n t i n g   t h e   v e r s i o n   o f   t h e   A P I   g r o u p .   O n c e   a n   A P I   e l e m e n t   h a s   b e e n   a d d e d   t o   a n   A P I   g r o u p   a t   a   p a r t i c u l a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-policy/",
    "id": "k8s_00740_section_2_16217"
  },
  {
    "question": "What is Note:?",
    "answer": "R u l e   # 2 :   A P I   o b j e c t s   m u s t   b e   a b l e   t o   r o u n d - t r i p   b e t w e e n   A P I   v e r s i o n s   i n   a   g i v e n   r e l e a s e   w i t h o u t   i n f o r m a t i o n   l o s s ,   w i t h   t h e   e x c e p t i o n   o f   w h o l e   R E S T   r e s o u r c e s   t h a t   d o   n o t   e x i s t   i n   s o m e   v e r s i o n s .   F o r   e x a m p l e ,   a n   o b j e c t   c a n   b e   w r i t t e n   a s   v 1   a n d   t h e n   r e a d   b a c k   a s   v 2   a n d   c o n v e r t e d   t o   v 1 ,   a n d   t h e   r e s u l t i n g   v 1   r e s o u r c e   w i l l   b e   i d e n t i c a l   t o   t h e   o r i g i n a l .   T h e   r e p r e s e n t a t i o n   i n   v 2   m i g h t   b e   d i f f e r e n t   f r o m   v 1 ,   b u t   t h e   s y s t e m   k n o w s   h o w   t o   c o n v e r t   b e t w e e n   t h e m   i n   b o t h   d i r e c t i o n s .   A d d i t i o n a l l y ,   a n y   n e w   f i e l d   a d d e d   i n   v 2   m u s t   b e   a b l e   t o   r o u n d - t r i p   t o   v 1   a n d   b a c k ,   w h i c h   m e a n s   v 1   m i g h t   h a v e   t o   a d d   a n   e q u i v a l e n t   f i e l d   o r   r e p r e s e n t   i t   a s   a n   a n n o t a t i o n .   R u l e   # 3 :   A n   A P I   v e r s i o n   i n   a   g i v e n   t r a c k   m a y   n o t   b e   d e p r e c a t e d   i n   f a v o r   o f   a   l e s s   s t a b l e   A P I   v e r s i o n .   G A   A P I   v e r s i o n s   c a n   r e p l a c e   b e t a   a n d   a l p h a   A P I   v e r s i o n s . B e t a   A P I   v e r s i o n s   c a n   r e p l a c e   e a r l i e r   b e t a   a n d   a l p h a   A P I   v e r s i o n s ,   b u t   m a y   n o t   r e p l a c e   G A   A P I   v e r s i o n s . A l p h a   A P I   v e r s i o n s   c a n   r e p l a c e   e a r l i e r   a l p h a   A P I   v e r s i o n s ,   b u t   m a y   n o t   r e p l a c e   G A   o r   b e t a   A P I   v e r s i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-policy/",
    "id": "k8s_00740_section_4_16218"
  },
  {
    "question": "What is Note:?",
    "answer": "R u l e   # 4 b :   T h e   \" p r e f e r r e d \"   A P I   v e r s i o n   a n d   t h e   \" s t o r a g e   v e r s i o n \"   f o r   a   g i v e n   g r o u p   m a y   n o t   a d v a n c e   u n t i l   a f t e r   a   r e l e a s e   h a s   b e e n   m a d e   t h a t   s u p p o r t s   b o t h   t h e   n e w   v e r s i o n   a n d   t h e   p r e v i o u s   v e r s i o n   U s e r s   m u s t   b e   a b l e   t o   u p g r a d e   t o   a   n e w   r e l e a s e   o f   K u b e r n e t e s   a n d   t h e n   r o l l   b a c k   t o   a   p r e v i o u s   r e l e a s e ,   w i t h o u t   c o n v e r t i n g   a n y t h i n g   t o   t h e   n e w   A P I   v e r s i o n   o r   s u f f e r i n g   b r e a k a g e s   ( u n l e s s   t h e y   e x p l i c i t l y   u s e d   f e a t u r e s   o n l y   a v a i l a b l e   i n   t h e   n e w e r   v e r s i o n ) .   T h i s   i s   p a r t i c u l a r l y   e v i d e n t   i n   t h e   s t o r e d   r e p r e s e n t a t i o n   o f   o b j e c t s .   A l l   o f   t h i s   i s   b e s t   i l l u s t r a t e d   b y   e x a m p l e s .   I m a g i n e   a   K u b e r n e t e s   r e l e a s e ,   v e r s i o n   X ,   w h i c h   i n t r o d u c e s   a   n e w   A P I   g r o u p .   A   n e w   K u b e r n e t e s   r e l e a s e   i s   m a d e   e v e r y   a p p r o x i m a t e l y   4   m o n t h s   ( 3   p e r   y e a r ) .   T h e   f o l l o w i n g   t a b l e   d e s c r i b e s   w h i c h   A P I   v e r s i o n s   a r e   s u p p o r t e d   i n   a   s e r i e s   o f   s u b s e q u e n t   r e l e a s e s .   v 1 a l p h a 1   i s   r e m o v e d .   S e e   r e l e a s e   n o t e s   f o r   r e q u i r e d   a c t i o n s .   v 1 a l p h a 2   i s   r e m o v e d .   S e e   r e l e a s e   n o t e s   f o r   r e q u i r e d   a c t i o n s .   v 1 b e t a 1   i s   d e p r e c a t e d .   S e e   r e l e a s e   n o t e s   f o r   r e q u i r e d   a c t i o n s .   v 1 b ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-policy/",
    "id": "k8s_00740_section_4_16219"
  },
  {
    "question": "What is REST resources (aka API objects)?",
    "answer": "C o n s i d e r   a   h y p o t h e t i c a l   R E S T   r e s o u r c e   n a m e d   W i d g e t ,   w h i c h   w a s   p r e s e n t   i n   A P I   v 1   i n   t h e   a b o v e   t i m e l i n e ,   a n d   w h i c h   n e e d s   t o   b e   d e p r e c a t e d .   W e   d o c u m e n t   a n d   a n n o u n c e   t h e   d e p r e c a t i o n   i n   s y n c   w i t h   r e l e a s e   X + 1 .   T h e   W i d g e t   r e s o u r c e   s t i l l   e x i s t s   i n   A P I   v e r s i o n   v 1   ( d e p r e c a t e d )   b u t   n o t   i n   v 2 a l p h a 1 .   T h e   W i d g e t   r e s o u r c e   c o n t i n u e s   t o   e x i s t   a n d   f u n c t i o n   i n   r e l e a s e s   u p   t o   a n d   i n c l u d i n g   X + 8 .   O n l y   i n   r e l e a s e   X + 9 ,   w h e n   A P I   v 1   h a s   a g e d   o u t ,   d o e s   t h e   W i d g e t   r e s o u r c e   c e a s e   t o   e x i s t ,   a n d   t h e   b e h a v i o r   g e t   r e m o v e d .   S t a r t i n g   i n   K u b e r n e t e s   v 1 . 1 9 ,   m a k i n g   a n   A P I   r e q u e s t   t o   a   d e p r e c a t e d   R E S T   A P I   e n d p o i n t :   R e t u r n s   a   W a r n i n g   h e a d e r   ( a s   d e f i n e d   i n   R F C 7 2 3 4 ,   S e c t i o n   5 . 5 )   i n   t h e   A P I   r e s p o n s e . A d d s   a   \" k 8 s . i o / d e p r e c a t e d \" : \" t r u e \"   a n n o t a t i o n   t o   t h e   a u d i t   e v e n t   r e c o r d e d   f o r   t h e   r e q u e s t . S e t s   a n   a p i s e r v e r _ r e q u e s t e d _ d e p r e c a t e d _ a p i s   g a u g e   m e t r i c   t o   1   i n   t h e   k u b e - a p i s e r v e r   p r o c e s s .   T h e   m e t r i c   h a s   l a b e l s   f o r   g r o u p ,   v e r s i o n ,   r e s o u r c e ,   s u b r e s o u r c e   t h a t   c a n   b e   j o i n e d   t o   t h e   a p i s e r v e r _ r e q u e s t _ t o t a l   m e t r i c ,   a n d   a   r e m o v e d _ r e l e a s e   l a b e l   t h a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-policy/",
    "id": "k8s_00740_section_3_16220"
  },
  {
    "question": "What is Fields of REST resources?",
    "answer": "A s   w i t h   w h o l e   R E S T   r e s o u r c e s ,   a n   i n d i v i d u a l   f i e l d   w h i c h   w a s   p r e s e n t   i n   A P I   v 1   m u s t   e x i s t   a n d   f u n c t i o n   u n t i l   A P I   v 1   i s   r e m o v e d .   U n l i k e   w h o l e   r e s o u r c e s ,   t h e   v 2   A P I s   m a y   c h o o s e   a   d i f f e r e n t   r e p r e s e n t a t i o n   f o r   t h e   f i e l d ,   a s   l o n g   a s   i t   c a n   b e   r o u n d - t r i p p e d .   F o r   e x a m p l e   a   v 1   f i e l d   n a m e d   \" m a g n i t u d e \"   w h i c h   w a s   d e p r e c a t e d   m i g h t   b e   n a m e d   \" d e p r e c a t e d M a g n i t u d e \"   i n   A P I   v 2 .   W h e n   v 1   i s   e v e n t u a l l y   r e m o v e d ,   t h e   d e p r e c a t e d   f i e l d   c a n   b e   r e m o v e d   f r o m   v 2 .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-policy/",
    "id": "k8s_00740_section_3_16221"
  },
  {
    "question": "What is Enumerated or constant values?",
    "answer": "A s   w i t h   w h o l e   R E S T   r e s o u r c e s   a n d   f i e l d s   t h e r e o f ,   a   c o n s t a n t   v a l u e   w h i c h   w a s   s u p p o r t e d   i n   A P I   v 1   m u s t   e x i s t   a n d   f u n c t i o n   u n t i l   A P I   v 1   i s   r e m o v e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-policy/",
    "id": "k8s_00740_section_3_16222"
  },
  {
    "question": "What is Component config structures?",
    "answer": "C o m p o n e n t   c o n f i g s   a r e   v e r s i o n e d   a n d   m a n a g e d   s i m i l a r   t o   R E S T   r e s o u r c e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-policy/",
    "id": "k8s_00740_section_3_16223"
  },
  {
    "question": "What is Future work?",
    "answer": "O v e r   t i m e ,   K u b e r n e t e s   w i l l   i n t r o d u c e   m o r e   f i n e - g r a i n e d   A P I   v e r s i o n s ,   a t   w h i c h   p o i n t   t h e s e   r u l e s   w i l l   b e   a d j u s t e d   a s   n e e d e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-policy/",
    "id": "k8s_00740_section_3_16224"
  },
  {
    "question": "What is Deprecating a flag or CLI?",
    "answer": "T h e   K u b e r n e t e s   s y s t e m   i s   c o m p r i s e d   o f   s e v e r a l   d i f f e r e n t   p r o g r a m s   c o o p e r a t i n g .   S o m e t i m e s ,   a   K u b e r n e t e s   r e l e a s e   m i g h t   r e m o v e   f l a g s   o r   C L I   c o m m a n d s   ( c o l l e c t i v e l y   \" C L I   e l e m e n t s \" )   i n   t h e s e   p r o g r a m s .   T h e   i n d i v i d u a l   p r o g r a m s   n a t u r a l l y   s o r t   i n t o   t w o   m a i n   g r o u p s   -   u s e r - f a c i n g   a n d   a d m i n - f a c i n g   p r o g r a m s ,   w h i c h   v a r y   s l i g h t l y   i n   t h e i r   d e p r e c a t i o n   p o l i c i e s .   U n l e s s   a   f l a g   i s   e x p l i c i t l y   p r e f i x e d   o r   d o c u m e n t e d   a s   \" a l p h a \"   o r   \" b e t a \" ,   i t   i s   c o n s i d e r e d   G A .   C L I   e l e m e n t s   a r e   e f f e c t i v e l y   p a r t   o f   t h e   A P I   t o   t h e   s y s t e m ,   b u t   s i n c e   t h e y   a r e   n o t   v e r s i o n e d   i n   t h e   s a m e   w a y   a s   t h e   R E S T   A P I ,   t h e   r u l e s   f o r   d e p r e c a t i o n   a r e   a s   f o l l o w s :   R u l e   # 5 a :   C L I   e l e m e n t s   o f   u s e r - f a c i n g   c o m p o n e n t s   ( e . g .   k u b e c t l )   m u s t   f u n c t i o n   a f t e r   t h e i r   a n n o u n c e d   d e p r e c a t i o n   f o r   n o   l e s s   t h a n :   G A :   1 2   m o n t h s   o r   2   r e l e a s e s   ( w h i c h e v e r   i s   l o n g e r ) B e t a :   3   m o n t h s   o r   1   r e l e a s e   ( w h i c h e v e r   i s   l o n g e r ) A l p h a :   0   r e l e a s e s   R u l e   # 5 b :   C L I   e l e m e n t s   o f   a d m i n - f a c i n g   c o m p o n e n t s   ( e . g .   k u b e l e t )   m u s t   f u n c t i o n   a f t e r   t h e i r   a n n o u n c e d   d e p r e c a t i o n   f o r   n o   l e s s   t h a n :   G A :   6   m o n t h s   o r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-policy/",
    "id": "k8s_00740_section_2_16225"
  },
  {
    "question": "What is Deprecating a feature or behavior?",
    "answer": "O c c a s i o n a l l y   a   K u b e r n e t e s   r e l e a s e   n e e d s   t o   d e p r e c a t e   s o m e   f e a t u r e   o r   b e h a v i o r   o f   t h e   s y s t e m   t h a t   i s   n o t   c o n t r o l l e d   b y   t h e   A P I   o r   C L I .   I n   t h i s   c a s e ,   t h e   r u l e s   f o r   d e p r e c a t i o n   a r e   a s   f o l l o w s :   R u l e   # 7 :   D e p r e c a t e d   b e h a v i o r s   m u s t   f u n c t i o n   f o r   n o   l e s s   t h a n   1   y e a r   a f t e r   t h e i r   a n n o u n c e d   d e p r e c a t i o n .   I f   t h e   f e a t u r e   o r   b e h a v i o r   i s   b e i n g   r e p l a c e d   w i t h   a n   a l t e r n a t i v e   i m p l e m e n t a t i o n   t h a t   r e q u i r e s   w o r k   t o   a d o p t   t h e   c h a n g e ,   t h e r e   s h o u l d   b e   a n   e f f o r t   t o   s i m p l i f y   t h e   t r a n s i t i o n   w h e n e v e r   p o s s i b l e .   I f   a n   a l t e r n a t i v e   i m p l e m e n t a t i o n   i s   u n d e r   K u b e r n e t e s   o r g a n i z a t i o n   c o n t r o l ,   t h e   f o l l o w i n g   r u l e s   a p p l y :   R u l e   # 8 :   T h e   f e a t u r e   o f   b e h a v i o r   m u s t   n o t   b e   d e p r e c a t e d   i n   f a v o r   o f   a n   a l t e r n a t i v e   i m p l e m e n t a t i o n   t h a t   i s   l e s s   s t a b l e   F o r   e x a m p l e ,   a   g e n e r a l l y   a v a i l a b l e   f e a t u r e   c a n n o t   b e   d e p r e c a t e d   i n   f a v o r   o f   a   B e t a   r e p l a c e m e n t .   T h e   K u b e r n e t e s   p r o j e c t   d o e s ,   h o w e v e r ,   e n c o u r a g e   u s e r s   t o   a d o p t   a n d   t r a n s i t i o n s   t o   a l t e r n a t i v e   i m p l e m e n t a t i o n s   e v e n   b e f o r e   t h e y   r e a c h   t h e   s a m e   m a t u r i t y   l e v e l .   T h i s   i s   p a r t i c u l a r l y   i m p o r t a n t   f o r   e x p l o r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-policy/",
    "id": "k8s_00740_section_2_16226"
  },
  {
    "question": "What is Deprecation?",
    "answer": "F e a t u r e s   c a n   b e   r e m o v e d   a t   a n y   p o i n t   i n   t h e   l i f e   c y c l e   p r i o r   t o   G A .   W h e n   f e a t u r e s   a r e   r e m o v e d   p r i o r   t o   G A ,   t h e i r   a s s o c i a t e d   f e a t u r e   g a t e s   a r e   a l s o   d e p r e c a t e d .   W h e n   a n   i n v o c a t i o n   t r i e s   t o   d i s a b l e   a   n o n - o p e r a t i o n a l   f e a t u r e   g a t e ,   t h e   c a l l   f a i l s   i n   o r d e r   t o   a v o i d   u n s u p p o r t e d   s c e n a r i o s   t h a t   m i g h t   o t h e r w i s e   r u n   s i l e n t l y .   I n   s o m e   c a s e s ,   r e m o v i n g   p r e - G A   f e a t u r e s   r e q u i r e s   c o n s i d e r a b l e   t i m e .   F e a t u r e   g a t e s   c a n   r e m a i n   o p e r a t i o n a l   u n t i l   t h e i r   a s s o c i a t e d   f e a t u r e   i s   f u l l y   r e m o v e d ,   a t   w h i c h   p o i n t   t h e   f e a t u r e   g a t e   i t s e l f   c a n   b e   d e p r e c a t e d .   W h e n   r e m o v i n g   a   f e a t u r e   g a t e   f o r   a   G A   f e a t u r e   a l s o   r e q u i r e s   c o n s i d e r a b l e   t i m e ,   c a l l s   t o   f e a t u r e   g a t e s   m a y   r e m a i n   o p e r a t i o n a l   i f   t h e   f e a t u r e   g a t e   h a s   n o   e f f e c t   o n   t h e   f e a t u r e ,   a n d   i f   t h e   f e a t u r e   g a t e   c a u s e s   n o   e r r o r s .   F e a t u r e s   i n t e n d e d   t o   b e   d i s a b l e d   b y   u s e r s   s h o u l d   i n c l u d e   a   m e c h a n i s m   f o r   d i s a b l i n g   t h e   f e a t u r e   i n   t h e   a s s o c i a t e d   f e a t u r e   g a t e .   V e r s i o n i n g   f o r   f e a t u r e   g a t e s   i s   d i f f e r e n t   f r o m   t h e   p r e v i o u s l y   d i s c u s s e d   c o m p o n e n t s ,   t h e r e f o r e   t h e   r u l e s   f o r   d e p r e c a t i o n   a r e   a s   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-policy/",
    "id": "k8s_00740_section_3_16227"
  },
  {
    "question": "What is Deprecating a metric?",
    "answer": "E a c h   c o m p o n e n t   o f   t h e   K u b e r n e t e s   c o n t r o l - p l a n e   e x p o s e s   m e t r i c s   ( u s u a l l y   t h e   / m e t r i c s   e n d p o i n t ) ,   w h i c h   a r e   t y p i c a l l y   i n g e s t e d   b y   c l u s t e r   a d m i n i s t r a t o r s .   N o t   a l l   m e t r i c s   a r e   t h e   s a m e :   s o m e   m e t r i c s   a r e   c o m m o n l y   u s e d   a s   S L I s   o r   u s e d   t o   d e t e r m i n e   S L O s ,   t h e s e   t e n d   t o   h a v e   g r e a t e r   i m p o r t .   O t h e r   m e t r i c s   a r e   m o r e   e x p e r i m e n t a l   i n   n a t u r e   o r   a r e   u s e d   p r i m a r i l y   i n   t h e   K u b e r n e t e s   d e v e l o p m e n t   p r o c e s s .   A c c o r d i n g l y ,   m e t r i c s   f a l l   u n d e r   t h r e e   s t a b i l i t y   c l a s s e s   ( A L P H A ,   B E T A   S T A B L E ) ;   t h i s   i m p a c t s   r e m o v a l   o f   a   m e t r i c   d u r i n g   a   K u b e r n e t e s   r e l e a s e .   T h e s e   c l a s s e s   a r e   d e t e r m i n e d   b y   t h e   p e r c e i v e d   i m p o r t a n c e   o f   t h e   m e t r i c .   T h e   r u l e s   f o r   d e p r e c a t i n g   a n d   r e m o v i n g   a   m e t r i c   a r e   a s   f o l l o w s :   R u l e   # 1 1 a :   M e t r i c s ,   f o r   t h e   c o r r e s p o n d i n g   s t a b i l i t y   c l a s s ,   m u s t   f u n c t i o n   f o r   n o   l e s s   t h a n :   S T A B L E :   4   r e l e a s e s   o r   1 2   m o n t h s   ( w h i c h e v e r   i s   l o n g e r ) B E T A :   2   r e l e a s e s   o r   8   m o n t h s   ( w h i c h e v e r   i s   l o n g e r ) A L P H A :   0   r e l e a s e s   R u l e   # 1 1 b :   M e t r i c s ,   a f t e r   t h e i r   a n n o u n c e d   d e p r e c a t i o n ,   m u s t   f u n c t i o n   f o r   n o   l e s s   t h a n :   S T A B L E :   3   r e l e a s e s   o r   9   m o n t h s   ( w h i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-policy/",
    "id": "k8s_00740_section_2_16228"
  },
  {
    "question": "What is Exceptions?",
    "answer": "N o   p o l i c y   c a n   c o v e r   e v e r y   p o s s i b l e   s i t u a t i o n .   T h i s   p o l i c y   i s   a   l i v i n g   d o c u m e n t ,   a n d   w i l l   e v o l v e   o v e r   t i m e .   I n   p r a c t i c e ,   t h e r e   w i l l   b e   s i t u a t i o n s   t h a t   d o   n o t   f i t   n e a t l y   i n t o   t h i s   p o l i c y ,   o r   f o r   w h i c h   t h i s   p o l i c y   b e c o m e s   a   s e r i o u s   i m p e d i m e n t .   S u c h   s i t u a t i o n s   s h o u l d   b e   d i s c u s s e d   w i t h   S I G s   a n d   p r o j e c t   l e a d e r s   t o   f i n d   t h e   b e s t   s o l u t i o n s   f o r   t h o s e   s p e c i f i c   c a s e s ,   a l w a y s   b e a r i n g   i n   m i n d   t h a t   K u b e r n e t e s   i s   c o m m i t t e d   t o   b e i n g   a   s t a b l e   s y s t e m   t h a t ,   a s   m u c h   a s   p o s s i b l e ,   n e v e r   b r e a k s   u s e r s .   E x c e p t i o n s   w i l l   a l w a y s   b e   a n n o u n c e d   i n   a l l   r e l e v a n t   r e l e a s e   n o t e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/using-api/deprecation-policy/",
    "id": "k8s_00740_section_2_16229"
  },
  {
    "question": "What is Configure Memory and CPU Quotas for a Namespace?",
    "answer": "Configure Memory and CPU Quotas for a NamespaceDefine overall memory and CPU resource limits for a namespace.This page shows how to set quotas for the total amount memory and CPU that can be used by all Pods running in a namespace. You specify quotas in a ResourceQuota object.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou must have access to create namespaces in your cluster.Each node in your cluster must have at least 1 GiB of memory.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace quota-mem-cpu-example Create a ResourceQuotaHere is a manifest for an example ResourceQuota:admin/resource/quota-mem-cpu.yaml apiVersion: v1 kind: ResourceQuota metadata: name: mem-cpu-demo spec: hard: requests.cpu: \"1\" requests.memory: 1Gi limits.cpu: \"2\" limits.memory: 2Gi Create the ResourceQuota:kubectl apply -f https://k8s.io/examples/admin/resource/quota-mem-cpu.yaml --namespace=quota-mem-cpu-example View detailed information about the ResourceQuota:kubectl get resourcequota mem-cpu-demo --namespace=quota-mem-cpu-example --output=yaml The ResourceQuota places these requirements on the quota-mem-cpu-example namespace:For every Pod in the namespace, each container must have a memory request, memory limit, cpu request, and cpu limit.The memory request total for all Pods in that namespace must not exceed 1 GiB.The memory limit total for all Pods in that namespace must not exceed 2 GiB.The CPU request total for all Pods in that namespace must not exceed 1 cpu.The CPU limit total for all Pods in that namespace must not exceed 2 cpu.See meaning of CPU to learn what Kubernetes means by “1 CPU”.Create a PodHere is a manifest for an example Pod:admin/resource/quota-mem-cpu-pod.yaml apiVersion: v1 kind: Pod metadata: name: quota-mem-cpu-demo spec: containers: - name: quota-mem-cpu-demo-ctr image: nginx resources: limits: memory: \"800Mi\" cpu: \"800m\" requests: memory: \"600Mi\" cpu: \"400m\" Create the Pod:kubectl apply -f https://k8s.io/examples/admin/resource/quota-mem-cpu-pod.yaml --namespace=quota-mem-cpu-example Verify that the Pod is running and that its (only) container is healthy:kubectl get pod quota-mem-cpu-demo --namespace=quota-mem-cpu-example Once again, view detailed information about the ResourceQuota:kubectl get resourcequota mem-cpu-demo --namespace=quota-mem-cpu-example --output=yaml The output shows the quota along with how much of the quota has been used. You can see that the memory and CPU requests and limits for your Pod do not exceed the quota.status: hard: limits",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-memory-cpu-namespace/",
    "id": "k8s_00741_qa_16230"
  },
  {
    "question": "How does Configure Memory and CPU Quotas for a Namespace work?",
    "answer": "Configure Memory and CPU Quotas for a NamespaceDefine overall memory and CPU resource limits for a namespace.This page shows how to set quotas for the total amount memory and CPU that can be used by all Pods running in a namespace. You specify quotas in a ResourceQuota object.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou must have access to create namespaces in your cluster.Each node in your cluster must have at least 1 GiB of memory.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace quota-mem-cpu-example Create a ResourceQuotaHere is a manifest for an example ResourceQuota:admin/resource/quota-mem-cpu.yaml apiVersion: v1 kind: ResourceQuota metadata: name: mem-cpu-demo spec: hard: requests.cpu: \"1\" requests.memory: 1Gi limits.cpu: \"2\" limits.memory: 2Gi Create the ResourceQuota:kubectl apply -f https://k8s.io/examples/admin/resource/quota-mem-cpu.yaml --namespace=quota-mem-cpu-example View detailed information about the ResourceQuota:kubectl get resourcequota mem-cpu-demo --namespace=quota-mem-cpu-example --output=yaml The ResourceQuota places these requirements on the quota-mem-cpu-example namespace:For every Pod in the namespace, each container must have a memory request, memory limit, cpu request, and cpu limit.The memory request total for all Pods in that namespace must not exceed 1 GiB.The memory limit total for all Pods in that namespace must not exceed 2 GiB.The CPU request total for all Pods in that namespace must not exceed 1 cpu.The CPU limit total for all Pods in that namespace must not exceed 2 cpu.See meaning of CPU to learn what Kubernetes means by “1 CPU”.Create a PodHere is a manifest for an example Pod:admin/resource/quota-mem-cpu-pod.yaml apiVersion: v1 kind: Pod metadata: name: quota-mem-cpu-demo spec: containers: - name: quota-mem-cpu-demo-ctr image: nginx resources: limits: memory: \"800Mi\" cpu: \"800m\" requests: memory: \"600Mi\" cpu: \"400m\" Create the Pod:kubectl apply -f https://k8s.io/examples/admin/resource/quota-mem-cpu-pod.yaml --namespace=quota-mem-cpu-example Verify that the Pod is running and that its (only) container is healthy:kubectl get pod quota-mem-cpu-demo --namespace=quota-mem-cpu-example Once again, view detailed information about the ResourceQuota:kubectl get resourcequota mem-cpu-demo --namespace=quota-mem-cpu-example --output=yaml The output shows the quota along with how much of the quota has been used. You can see that the memory and CPU requests and limits for your Pod do not exceed the quota.status: hard: limits",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-memory-cpu-namespace/",
    "id": "k8s_00741_qa_16231"
  },
  {
    "question": "When would you use Configure Memory and CPU Quotas for a Namespace?",
    "answer": "Configure Memory and CPU Quotas for a NamespaceDefine overall memory and CPU resource limits for a namespace.This page shows how to set quotas for the total amount memory and CPU that can be used by all Pods running in a namespace. You specify quotas in a ResourceQuota object.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou must have access to create namespaces in your cluster.Each node in your cluster must have at least 1 GiB of memory.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace quota-mem-cpu-example Create a ResourceQuotaHere is a manifest for an example ResourceQuota:admin/resource/quota-mem-cpu.yaml apiVersion: v1 kind: ResourceQuota metadata: name: mem-cpu-demo spec: hard: requests.cpu: \"1\" requests.memory: 1Gi limits.cpu: \"2\" limits.memory: 2Gi Create the ResourceQuota:kubectl apply -f https://k8s.io/examples/admin/resource/quota-mem-cpu.yaml --namespace=quota-mem-cpu-example View detailed information about the ResourceQuota:kubectl get resourcequota mem-cpu-demo --namespace=quota-mem-cpu-example --output=yaml The ResourceQuota places these requirements on the quota-mem-cpu-example namespace:For every Pod in the namespace, each container must have a memory request, memory limit, cpu request, and cpu limit.The memory request total for all Pods in that namespace must not exceed 1 GiB.The memory limit total for all Pods in that namespace must not exceed 2 GiB.The CPU request total for all Pods in that namespace must not exceed 1 cpu.The CPU limit total for all Pods in that namespace must not exceed 2 cpu.See meaning of CPU to learn what Kubernetes means by “1 CPU”.Create a PodHere is a manifest for an example Pod:admin/resource/quota-mem-cpu-pod.yaml apiVersion: v1 kind: Pod metadata: name: quota-mem-cpu-demo spec: containers: - name: quota-mem-cpu-demo-ctr image: nginx resources: limits: memory: \"800Mi\" cpu: \"800m\" requests: memory: \"600Mi\" cpu: \"400m\" Create the Pod:kubectl apply -f https://k8s.io/examples/admin/resource/quota-mem-cpu-pod.yaml --namespace=quota-mem-cpu-example Verify that the Pod is running and that its (only) container is healthy:kubectl get pod quota-mem-cpu-demo --namespace=quota-mem-cpu-example Once again, view detailed information about the ResourceQuota:kubectl get resourcequota mem-cpu-demo --namespace=quota-mem-cpu-example --output=yaml The output shows the quota along with how much of the quota has been used. You can see that the memory and CPU requests and limits for your Pod do not exceed the quota.status: hard: limits",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-memory-cpu-namespace/",
    "id": "k8s_00741_qa_16232"
  },
  {
    "question": "What are the benefits of Configure Memory and CPU Quotas for a Namespace?",
    "answer": "Configure Memory and CPU Quotas for a NamespaceDefine overall memory and CPU resource limits for a namespace.This page shows how to set quotas for the total amount memory and CPU that can be used by all Pods running in a namespace. You specify quotas in a ResourceQuota object.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou must have access to create namespaces in your cluster.Each node in your cluster must have at least 1 GiB of memory.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace quota-mem-cpu-example Create a ResourceQuotaHere is a manifest for an example ResourceQuota:admin/resource/quota-mem-cpu.yaml apiVersion: v1 kind: ResourceQuota metadata: name: mem-cpu-demo spec: hard: requests.cpu: \"1\" requests.memory: 1Gi limits.cpu: \"2\" limits.memory: 2Gi Create the ResourceQuota:kubectl apply -f https://k8s.io/examples/admin/resource/quota-mem-cpu.yaml --namespace=quota-mem-cpu-example View detailed information about the ResourceQuota:kubectl get resourcequota mem-cpu-demo --namespace=quota-mem-cpu-example --output=yaml The ResourceQuota places these requirements on the quota-mem-cpu-example namespace:For every Pod in the namespace, each container must have a memory request, memory limit, cpu request, and cpu limit.The memory request total for all Pods in that namespace must not exceed 1 GiB.The memory limit total for all Pods in that namespace must not exceed 2 GiB.The CPU request total for all Pods in that namespace must not exceed 1 cpu.The CPU limit total for all Pods in that namespace must not exceed 2 cpu.See meaning of CPU to learn what Kubernetes means by “1 CPU”.Create a PodHere is a manifest for an example Pod:admin/resource/quota-mem-cpu-pod.yaml apiVersion: v1 kind: Pod metadata: name: quota-mem-cpu-demo spec: containers: - name: quota-mem-cpu-demo-ctr image: nginx resources: limits: memory: \"800Mi\" cpu: \"800m\" requests: memory: \"600Mi\" cpu: \"400m\" Create the Pod:kubectl apply -f https://k8s.io/examples/admin/resource/quota-mem-cpu-pod.yaml --namespace=quota-mem-cpu-example Verify that the Pod is running and that its (only) container is healthy:kubectl get pod quota-mem-cpu-demo --namespace=quota-mem-cpu-example Once again, view detailed information about the ResourceQuota:kubectl get resourcequota mem-cpu-demo --namespace=quota-mem-cpu-example --output=yaml The output shows the quota along with how much of the quota has been used. You can see that the memory and CPU requests and limits for your Pod do not exceed the quota.status: hard: limits",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-memory-cpu-namespace/",
    "id": "k8s_00741_qa_16233"
  },
  {
    "question": "What is Configure Memory and CPU Quotas for a Namespace?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   s e t   q u o t a s   f o r   t h e   t o t a l   a m o u n t   m e m o r y   a n d   C P U   t h a t   c a n   b e   u s e d   b y   a l l   P o d s   r u n n i n g   i n   a   n a m e s p a c e .   Y o u   s p e c i f y   q u o t a s   i n   a   R e s o u r c e Q u o t a   o b j e c t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-memory-cpu-namespace/",
    "id": "k8s_00741_section_1_16234"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   m u s t   h a v e   a c c e s s   t o   c r e a t e   n a m e s p a c e s   i n   y o u r   c l u s t e r .   E a c h   n o d e   i n   y o u r   c l u s t e r   m u s t   h a v e   a t   l e a s t   1   G i B   o f   m e m o r y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-memory-cpu-namespace/",
    "id": "k8s_00741_section_2_16235"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   n a m e s p a c e   s o   t h a t   t h e   r e s o u r c e s   y o u   c r e a t e   i n   t h i s   e x e r c i s e   a r e   i s o l a t e d   f r o m   t h e   r e s t   o f   y o u r   c l u s t e r .   k u b e c t l   c r e a t e   n a m e s p a c e   q u o t a - m e m - c p u - e x a m p l e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-memory-cpu-namespace/",
    "id": "k8s_00741_section_2_16236"
  },
  {
    "question": "What is Create a ResourceQuota?",
    "answer": "H e r e   i s   a   m a n i f e s t   f o r   a n   e x a m p l e   R e s o u r c e Q u o t a :   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a   m e t a d a t a :   n a m e :   m e m - c p u - d e m o   s p e c :   h a r d :   r e q u e s t s . c p u :   \" 1 \"   r e q u e s t s . m e m o r y :   1 G i   l i m i t s . c p u :   \" 2 \"   l i m i t s . m e m o r y :   2 G i   C r e a t e   t h e   R e s o u r c e Q u o t a :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / q u o t a - m e m - c p u . y a m l   - - n a m e s p a c e = q u o t a - m e m - c p u - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   R e s o u r c e Q u o t a :   k u b e c t l   g e t   r e s o u r c e q u o t a   m e m - c p u - d e m o   - - n a m e s p a c e = q u o t a - m e m - c p u - e x a m p l e   - - o u t p u t = y a m l   T h e   R e s o u r c e Q u o t a   p l a c e s   t h e s e   r e q u i r e m e n t s   o n   t h e   q u o t a - m e m - c p u - e x a m p l e   n a m e s p a c e :   F o r   e v e r y   P o d   i n   t h e   n a m e s p a c e ,   e a c h   c o n t a i n e r   m u s t   h a v e   a   m e m o r y   r e q u e s t ,   m e m o r y   l i m i t ,   c p u   r e q u e s t ,   a n d   c p u   l i m i t . T h e   m e m o r y   r e q u e s t   t o t a l   f o r   a l l   P o d s   i n   t h a t   n a m e s p a c e   m u s t   n o t   e x c e e d   1   G i B . T h e   m e m o r y   l i m i t   t o t a l   f o r   a l l   P o d s   i n   t h a t   n a m e s p a c e   m u s t   n o t   e x c e e d   2   G i B . T h e   C P U   r e q u e s t   t o t a l   f o r   a l l   P o d s   i n   t h a t   n a m e s p a c e   m u s t   n o t   e x c e e d   1   c p u . T h e   C P U   l i m i t   t o t a l   f o r   a l l   P o d s   i n   t h a t   n a m e s p a c e   m u s t   n o t   e x c e e d   2   c p u .   S e e   m e a n i n g   o f   C P U   t o   l e a ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-memory-cpu-namespace/",
    "id": "k8s_00741_section_2_16237"
  },
  {
    "question": "What is Create a Pod?",
    "answer": "H e r e   i s   a   m a n i f e s t   f o r   a n   e x a m p l e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   q u o t a - m e m - c p u - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   q u o t a - m e m - c p u - d e m o - c t r   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 8 0 0 M i \"   c p u :   \" 8 0 0 m \"   r e q u e s t s :   m e m o r y :   \" 6 0 0 M i \"   c p u :   \" 4 0 0 m \"   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / q u o t a - m e m - c p u - p o d . y a m l   - - n a m e s p a c e = q u o t a - m e m - c p u - e x a m p l e   V e r i f y   t h a t   t h e   P o d   i s   r u n n i n g   a n d   t h a t   i t s   ( o n l y )   c o n t a i n e r   i s   h e a l t h y :   k u b e c t l   g e t   p o d   q u o t a - m e m - c p u - d e m o   - - n a m e s p a c e = q u o t a - m e m - c p u - e x a m p l e   O n c e   a g a i n ,   v i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   R e s o u r c e Q u o t a :   k u b e c t l   g e t   r e s o u r c e q u o t a   m e m - c p u - d e m o   - - n a m e s p a c e = q u o t a - m e m - c p u - e x a m p l e   - - o u t p u t = y a m l   T h e   o u t p u t   s h o w s   t h e   q u o t a   a l o n g   w i t h   h o w   m u c h   o f   t h e   q u o t a   h a s   b e e n   u s e d .   Y o u   c a n   s e e   t h a t   t h e   m e m o r y   a n d   C P U   r e q u e s t s   a n d   l i m i t s   f o r   y o u r   P o d   d o   n o t   e x c e e d   t h e   q u o t a .   s t a t u s :   h a r d :   l i m i t s . c p u :   \" 2 \"   l i m i t s . m e m o r y :   2 G i   r e q u e s t s . c p u :   \" 1 \"   r e q u e s t s . m e m o r y :   1 G i   u s e d :   l i m i t s . c p u :   8 0 0 m   l i m i t s . m e m o r y :   8 0 0 M i   r e q u e s t s . c p u :   4 0 0 m   r e q u e s t s . m e m o ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-memory-cpu-namespace/",
    "id": "k8s_00741_section_2_16238"
  },
  {
    "question": "What is Attempt to create a second Pod?",
    "answer": "H e r e   i s   a   m a n i f e s t   f o r   a   s e c o n d   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   q u o t a - m e m - c p u - d e m o - 2   s p e c :   c o n t a i n e r s :   -   n a m e :   q u o t a - m e m - c p u - d e m o - 2 - c t r   i m a g e :   r e d i s   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 1 G i \"   c p u :   \" 8 0 0 m \"   r e q u e s t s :   m e m o r y :   \" 7 0 0 M i \"   c p u :   \" 4 0 0 m \"   I n   t h e   m a n i f e s t ,   y o u   c a n   s e e   t h a t   t h e   P o d   h a s   a   m e m o r y   r e q u e s t   o f   7 0 0   M i B .   N o t i c e   t h a t   t h e   s u m   o f   t h e   u s e d   m e m o r y   r e q u e s t   a n d   t h i s   n e w   m e m o r y   r e q u e s t   e x c e e d s   t h e   m e m o r y   r e q u e s t   q u o t a :   6 0 0   M i B   +   7 0 0   M i B   >   1   G i B .   A t t e m p t   t o   c r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / q u o t a - m e m - c p u - p o d - 2 . y a m l   - - n a m e s p a c e = q u o t a - m e m - c p u - e x a m p l e   T h e   s e c o n d   P o d   d o e s   n o t   g e t   c r e a t e d .   T h e   o u t p u t   s h o w s   t h a t   c r e a t i n g   t h e   s e c o n d   P o d   w o u l d   c a u s e   t h e   m e m o r y   r e q u e s t   t o t a l   t o   e x c e e d   t h e   m e m o r y   r e q u e s t   q u o t a .   E r r o r   f r o m   s e r v e r   ( F o r b i d d e n ) :   e r r o r   w h e n   c r e a t i n g   \" e x a m p l e s / a d m i n / r e s o u r c e / q u o t a - m e m - c p u - p o d - 2 . y a m l \" :   p o d s   \" q u o t a - m e m - c p u - d e m o - 2 \"   i s   f o r b i d d e n :   e x c e e d e d   q u o t a :   m e m - c p u - d e m o ,   r e q u e s t e d :   r e q u e s t s . m e m o r y = 7 0 0 M i , u s e d :   r e q u e s t s . m e m o r y = 6 0 0 M i ,   l i m i t e d : ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-memory-cpu-namespace/",
    "id": "k8s_00741_section_2_16239"
  },
  {
    "question": "What is Discussion?",
    "answer": "A s   y o u   h a v e   s e e n   i n   t h i s   e x e r c i s e ,   y o u   c a n   u s e   a   R e s o u r c e Q u o t a   t o   r e s t r i c t   t h e   m e m o r y   r e q u e s t   t o t a l   f o r   a l l   P o d s   r u n n i n g   i n   a   n a m e s p a c e .   Y o u   c a n   a l s o   r e s t r i c t   t h e   t o t a l s   f o r   m e m o r y   l i m i t ,   c p u   r e q u e s t ,   a n d   c p u   l i m i t .   I n s t e a d   o f   m a n a g i n g   t o t a l   r e s o u r c e   u s e   w i t h i n   a   n a m e s p a c e ,   y o u   m i g h t   w a n t   t o   r e s t r i c t   i n d i v i d u a l   P o d s ,   o r   t h e   c o n t a i n e r s   i n   t h o s e   P o d s .   T o   a c h i e v e   t h a t   k i n d   o f   l i m i t i n g ,   u s e   a   L i m i t R a n g e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-memory-cpu-namespace/",
    "id": "k8s_00741_section_2_16240"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   n a m e s p a c e :   k u b e c t l   d e l e t e   n a m e s p a c e   q u o t a - m e m - c p u - e x a m p l e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-memory-cpu-namespace/",
    "id": "k8s_00741_section_2_16241"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e   C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-memory-cpu-namespace/",
    "id": "k8s_00741_section_3_16242"
  },
  {
    "question": "What is For app developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s   C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-memory-cpu-namespace/",
    "id": "k8s_00741_section_3_16243"
  },
  {
    "question": "What is Node?",
    "answer": "NodeNode is a worker node in Kubernetes.apiVersion: v1import \"k8s.io/api/core/v1\"NodeNode is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).apiVersion: v1kind: Nodemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (NodeSpec)Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (NodeStatus)Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusNodeSpecNodeSpec describes the attributes that a node is created with.configSource (NodeConfigSource)Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed.NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22configSource.configMap (ConfigMapNodeConfigSource)ConfigMap is a reference to a Node's ConfigMapConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configurationconfigSource.configMap.kubeletConfigKey (string), requiredKubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.configSource.configMap.name (string), requiredName is the metadata.name of the referenced ConfigMap. This field is required in all cases.configSource.configMap.namespace (string), requiredNamespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.configSource.configMap.resourceVersion (string)ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.configSource.configMap.uid (string)UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.externalID (string)Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966podCIDR (string)PodCIDR represents the pod IP range assigned to the node.podCIDRs ([]string)Set: unique values will be kept during a mergepodCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.providerID (string)ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>taints ([]Taint)Atomic: will be replaced during a mergeIf specified, the node's taints.The node this Taint is attached to ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_qa_16244"
  },
  {
    "question": "How does Node work?",
    "answer": "NodeNode is a worker node in Kubernetes.apiVersion: v1import \"k8s.io/api/core/v1\"NodeNode is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).apiVersion: v1kind: Nodemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (NodeSpec)Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (NodeStatus)Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusNodeSpecNodeSpec describes the attributes that a node is created with.configSource (NodeConfigSource)Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed.NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22configSource.configMap (ConfigMapNodeConfigSource)ConfigMap is a reference to a Node's ConfigMapConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configurationconfigSource.configMap.kubeletConfigKey (string), requiredKubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.configSource.configMap.name (string), requiredName is the metadata.name of the referenced ConfigMap. This field is required in all cases.configSource.configMap.namespace (string), requiredNamespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.configSource.configMap.resourceVersion (string)ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.configSource.configMap.uid (string)UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.externalID (string)Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966podCIDR (string)PodCIDR represents the pod IP range assigned to the node.podCIDRs ([]string)Set: unique values will be kept during a mergepodCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.providerID (string)ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>taints ([]Taint)Atomic: will be replaced during a mergeIf specified, the node's taints.The node this Taint is attached to ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_qa_16245"
  },
  {
    "question": "When would you use Node?",
    "answer": "NodeNode is a worker node in Kubernetes.apiVersion: v1import \"k8s.io/api/core/v1\"NodeNode is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).apiVersion: v1kind: Nodemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (NodeSpec)Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (NodeStatus)Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusNodeSpecNodeSpec describes the attributes that a node is created with.configSource (NodeConfigSource)Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed.NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22configSource.configMap (ConfigMapNodeConfigSource)ConfigMap is a reference to a Node's ConfigMapConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configurationconfigSource.configMap.kubeletConfigKey (string), requiredKubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.configSource.configMap.name (string), requiredName is the metadata.name of the referenced ConfigMap. This field is required in all cases.configSource.configMap.namespace (string), requiredNamespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.configSource.configMap.resourceVersion (string)ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.configSource.configMap.uid (string)UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.externalID (string)Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966podCIDR (string)PodCIDR represents the pod IP range assigned to the node.podCIDRs ([]string)Set: unique values will be kept during a mergepodCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.providerID (string)ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>taints ([]Taint)Atomic: will be replaced during a mergeIf specified, the node's taints.The node this Taint is attached to ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_qa_16246"
  },
  {
    "question": "What are the benefits of Node?",
    "answer": "NodeNode is a worker node in Kubernetes.apiVersion: v1import \"k8s.io/api/core/v1\"NodeNode is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).apiVersion: v1kind: Nodemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (NodeSpec)Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusstatus (NodeStatus)Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusNodeSpecNodeSpec describes the attributes that a node is created with.configSource (NodeConfigSource)Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed.NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22configSource.configMap (ConfigMapNodeConfigSource)ConfigMap is a reference to a Node's ConfigMapConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configurationconfigSource.configMap.kubeletConfigKey (string), requiredKubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.configSource.configMap.name (string), requiredName is the metadata.name of the referenced ConfigMap. This field is required in all cases.configSource.configMap.namespace (string), requiredNamespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.configSource.configMap.resourceVersion (string)ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.configSource.configMap.uid (string)UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.externalID (string)Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966podCIDR (string)PodCIDR represents the pod IP range assigned to the node.podCIDRs ([]string)Set: unique values will be kept during a mergepodCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.providerID (string)ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>taints ([]Taint)Atomic: will be replaced during a mergeIf specified, the node's taints.The node this Taint is attached to ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_qa_16247"
  },
  {
    "question": "What is Node?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_1_16248"
  },
  {
    "question": "What is Node?",
    "answer": "N o d e   i s   a   w o r k e r   n o d e   i n   K u b e r n e t e s .   E a c h   n o d e   w i l l   h a v e   a   u n i q u e   i d e n t i f i e r   i n   t h e   c a c h e   ( i . e .   i n   e t c d ) .   a p i V e r s i o n :   v 1 k i n d :   N o d e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( N o d e S p e c ) S p e c   d e f i n e s   t h e   b e h a v i o r   o f   a   n o d e .   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( N o d e S t a t u s ) M o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   n o d e .   P o p u l a t e d   b y   t h e   s y s t e m .   R e a d - o n l y .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   v 1   k i n d :   N o d e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( N o d e S p e c )   S p e c   d e f i n e s   t h e   b e h a v i o r   o f   a   n o d e .   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   s t a t u s   ( N o d e S t a t u s )   M o s t   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_2_16249"
  },
  {
    "question": "What is NodeSpec?",
    "answer": "N o d e S p e c   d e s c r i b e s   t h e   a t t r i b u t e s   t h a t   a   n o d e   i s   c r e a t e d   w i t h .   c o n f i g S o u r c e   ( N o d e C o n f i g S o u r c e ) D e p r e c a t e d :   P r e v i o u s l y   u s e d   t o   s p e c i f y   t h e   s o u r c e   o f   t h e   n o d e ' s   c o n f i g u r a t i o n   f o r   t h e   D y n a m i c K u b e l e t C o n f i g   f e a t u r e .   T h i s   f e a t u r e   i s   r e m o v e d . N o d e C o n f i g S o u r c e   s p e c i f i e s   a   s o u r c e   o f   n o d e   c o n f i g u r a t i o n .   E x a c t l y   o n e   s u b f i e l d   ( e x c l u d i n g   m e t a d a t a )   m u s t   b e   n o n - n i l .   T h i s   A P I   i s   d e p r e c a t e d   s i n c e   1 . 2 2 c o n f i g S o u r c e . c o n f i g M a p   ( C o n f i g M a p N o d e C o n f i g S o u r c e ) C o n f i g M a p   i s   a   r e f e r e n c e   t o   a   N o d e ' s   C o n f i g M a p C o n f i g M a p N o d e C o n f i g S o u r c e   c o n t a i n s   t h e   i n f o r m a t i o n   t o   r e f e r e n c e   a   C o n f i g M a p   a s   a   c o n f i g   s o u r c e   f o r   t h e   N o d e .   T h i s   A P I   i s   d e p r e c a t e d   s i n c e   1 . 2 2 :   h t t p s : / / g i t . k 8 s . i o / e n h a n c e m e n t s / k e p s / s i g - n o d e / 2 8 1 - d y n a m i c - k u b e l e t - c o n f i g u r a t i o n c o n f i g S o u r c e . c o n f i g M a p . k u b e l e t C o n f i g K e y   ( s t r i n g ) ,   r e q u i r e d K u b e l e t C o n f i g K e y   d e c l a r e s   w h i c h   k e y   o f   t h e   r e f e r e n c e d   C o n f i g M a p   c o r r e s p o n d s   t o   t h e   K u b e l e t C o n f i g u r a t i o n   s t r u c t u r e   T h i s   f i e l d   i s   r e q u i r e d   i n   a l l   c a s e s . c o n f i g S o u r c e . c o n f i g M a p . n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   i s   t h e   m e t a d a t a . n a m e   o f   t h e   r e f e r e n c e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_2_16250"
  },
  {
    "question": "What is NodeStatus?",
    "answer": "N o d e S t a t u s   i s   i n f o r m a t i o n   a b o u t   t h e   c u r r e n t   s t a t u s   o f   a   n o d e .   a d d r e s s e s   ( [ ] N o d e A d d r e s s ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e L i s t   o f   a d d r e s s e s   r e a c h a b l e   t o   t h e   n o d e .   Q u e r i e d   f r o m   c l o u d   p r o v i d e r ,   i f   a v a i l a b l e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / n o d e / n o d e - s t a t u s / # a d d r e s s e s   N o t e :   T h i s   f i e l d   i s   d e c l a r e d   a s   m e r g e a b l e ,   b u t   t h e   m e r g e   k e y   i s   n o t   s u f f i c i e n t l y   u n i q u e ,   w h i c h   c a n   c a u s e   d a t a   c o r r u p t i o n   w h e n   i t   i s   m e r g e d .   C a l l e r s   s h o u l d   i n s t e a d   u s e   a   f u l l - r e p l a c e m e n t   p a t c h .   S e e   h t t p s : / / p r . k 8 s . i o / 7 9 3 9 1   f o r   a n   e x a m p l e .   C o n s u m e r s   s h o u l d   a s s u m e   t h a t   a d d r e s s e s   c a n   c h a n g e   d u r i n g   t h e   l i f e t i m e   o f   a   N o d e .   H o w e v e r ,   t h e r e   a r e   s o m e   e x c e p t i o n s   w h e r e   t h i s   m a y   n o t   b e   p o s s i b l e ,   s u c h   a s   P o d s   t h a t   i n h e r i t   a   N o d e ' s   a d d r e s s   i n   i t s   o w n   s t a t u s   o r   c o n s u m e r s   o f   t h e   d o w n w a r d   A P I   ( s t a t u s . h o s t I P ) . N o d e A d d r e s s   c o n t a i n s   i n f o r m a t i o n   f o r   t h e   n o d e ' s   a d d r e s s . a d d r e s s e s . a d d r e s s   ( s t r i n g ) ,   r e q u i r e d T h e   n o d e   a d d r e s s . a d d r e s s e s . t y p e   ( s t r i n g ) ,   r e q u i r e d N o d e   a d d r e s s   t y p e ,   o n e   o f ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_2_16251"
  },
  {
    "question": "What is NodeList?",
    "answer": "N o d e L i s t   i s   t h e   w h o l e   l i s t   o f   a l l   N o d e s   w h i c h   h a v e   b e e n   r e g i s t e r e d   w i t h   m a s t e r .   a p i V e r s i o n :   v 1 k i n d :   N o d e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] N o d e ) ,   r e q u i r e d L i s t   o f   n o d e s   a p i V e r s i o n :   v 1   k i n d :   N o d e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] N o d e ) ,   r e q u i r e d   L i s t   o f   n o d e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_2_16252"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16253"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N o d e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N o d e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16254"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N o d e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16255"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n o d e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16256"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N o d e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N o d e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16257"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N o d e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16258"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n o d e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16259"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16260"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N o d e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16261"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n o d e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16262"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   N o d e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   N o d e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16263"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N o d e ) :   O K   2 0 1   ( N o d e ) :   C r e a t e d   2 0 2   ( N o d e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16264"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16265"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N o d e b o d y :   N o d e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N o d e   b o d y :   N o d e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16266"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N o d e ) :   O K   2 0 1   ( N o d e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16267"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n o d e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16268"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N o d e b o d y :   N o d e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N o d e   b o d y :   N o d e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16269"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N o d e ) :   O K   2 0 1   ( N o d e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16270"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16271"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N o d e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N o d e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16272"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N o d e ) :   O K   2 0 1   ( N o d e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16273"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n o d e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16274"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N o d e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N o d e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16275"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N o d e ) :   O K   2 0 1   ( N o d e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16276"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16277"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N o d e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N o d e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16278"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16279"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n o d e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16280"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16281"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/node-v1/",
    "id": "k8s_00742_section_4_16282"
  },
  {
    "question": "What is LocalSubjectAccessReview?",
    "answer": "LocalSubjectAccessReviewLocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace.apiVersion: authorization.k8s.io/v1import \"k8s.io/api/authorization/v1\"LocalSubjectAccessReviewLocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.apiVersion: authorization.k8s.io/v1kind: LocalSubjectAccessReviewmetadata (ObjectMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (SubjectAccessReviewSpec), requiredSpec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted.status (SubjectAccessReviewStatus)Status is filled in by the server and indicates whether the request is allowed or notOperationscreate create a LocalSubjectAccessReviewHTTP RequestPOST /apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviewsParametersnamespace (in path): string, requirednamespacebody: LocalSubjectAccessReview, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (LocalSubjectAccessReview): OK201 (LocalSubjectAccessReview): Created202 (LocalSubjectAccessReview): Accepted401: UnauthorizedThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/local-subject-access-review-v1/",
    "id": "k8s_00743_qa_16283"
  },
  {
    "question": "How does LocalSubjectAccessReview work?",
    "answer": "LocalSubjectAccessReviewLocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace.apiVersion: authorization.k8s.io/v1import \"k8s.io/api/authorization/v1\"LocalSubjectAccessReviewLocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.apiVersion: authorization.k8s.io/v1kind: LocalSubjectAccessReviewmetadata (ObjectMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (SubjectAccessReviewSpec), requiredSpec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted.status (SubjectAccessReviewStatus)Status is filled in by the server and indicates whether the request is allowed or notOperationscreate create a LocalSubjectAccessReviewHTTP RequestPOST /apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviewsParametersnamespace (in path): string, requirednamespacebody: LocalSubjectAccessReview, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (LocalSubjectAccessReview): OK201 (LocalSubjectAccessReview): Created202 (LocalSubjectAccessReview): Accepted401: UnauthorizedThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/local-subject-access-review-v1/",
    "id": "k8s_00743_qa_16284"
  },
  {
    "question": "When would you use LocalSubjectAccessReview?",
    "answer": "LocalSubjectAccessReviewLocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace.apiVersion: authorization.k8s.io/v1import \"k8s.io/api/authorization/v1\"LocalSubjectAccessReviewLocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.apiVersion: authorization.k8s.io/v1kind: LocalSubjectAccessReviewmetadata (ObjectMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (SubjectAccessReviewSpec), requiredSpec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted.status (SubjectAccessReviewStatus)Status is filled in by the server and indicates whether the request is allowed or notOperationscreate create a LocalSubjectAccessReviewHTTP RequestPOST /apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviewsParametersnamespace (in path): string, requirednamespacebody: LocalSubjectAccessReview, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (LocalSubjectAccessReview): OK201 (LocalSubjectAccessReview): Created202 (LocalSubjectAccessReview): Accepted401: UnauthorizedThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/local-subject-access-review-v1/",
    "id": "k8s_00743_qa_16285"
  },
  {
    "question": "What are the benefits of LocalSubjectAccessReview?",
    "answer": "LocalSubjectAccessReviewLocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace.apiVersion: authorization.k8s.io/v1import \"k8s.io/api/authorization/v1\"LocalSubjectAccessReviewLocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.apiVersion: authorization.k8s.io/v1kind: LocalSubjectAccessReviewmetadata (ObjectMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (SubjectAccessReviewSpec), requiredSpec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted.status (SubjectAccessReviewStatus)Status is filled in by the server and indicates whether the request is allowed or notOperationscreate create a LocalSubjectAccessReviewHTTP RequestPOST /apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviewsParametersnamespace (in path): string, requirednamespacebody: LocalSubjectAccessReview, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (LocalSubjectAccessReview): OK201 (LocalSubjectAccessReview): Created202 (LocalSubjectAccessReview): Accepted401: UnauthorizedThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/local-subject-access-review-v1/",
    "id": "k8s_00743_qa_16286"
  },
  {
    "question": "What is LocalSubjectAccessReview?",
    "answer": "a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a u t h o r i z a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/local-subject-access-review-v1/",
    "id": "k8s_00743_section_1_16287"
  },
  {
    "question": "What is LocalSubjectAccessReview?",
    "answer": "L o c a l S u b j e c t A c c e s s R e v i e w   c h e c k s   w h e t h e r   o r   n o t   a   u s e r   o r   g r o u p   c a n   p e r f o r m   a n   a c t i o n   i n   a   g i v e n   n a m e s p a c e .   H a v i n g   a   n a m e s p a c e   s c o p e d   r e s o u r c e   m a k e s   i t   m u c h   e a s i e r   t o   g r a n t   n a m e s p a c e   s c o p e d   p o l i c y   t h a t   i n c l u d e s   p e r m i s s i o n s   c h e c k i n g .   a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   L o c a l S u b j e c t A c c e s s R e v i e w m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( S u b j e c t A c c e s s R e v i e w S p e c ) ,   r e q u i r e d S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d .   s p e c . n a m e s p a c e   m u s t   b e   e q u a l   t o   t h e   n a m e s p a c e   y o u   m a d e   t h e   r e q u e s t   a g a i n s t .   I f   e m p t y ,   i t   i s   d e f a u l t e d . s t a t u s   ( S u b j e c t A c c e s s R e v i e w S t a t u s ) S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   a n d   i n d i c a t e s   w h e t h e r   t h e   r e q u e s t   i s   a l l o w e d   o r   n o t   a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   L o c a l S u b j e c t A c c e s s R e v i e w   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( S u b j e c t A c c e s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/local-subject-access-review-v1/",
    "id": "k8s_00743_section_2_16288"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l o c a l s u b j e c t a c c e s s r e v i e w s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/local-subject-access-review-v1/",
    "id": "k8s_00743_section_4_16289"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   L o c a l S u b j e c t A c c e s s R e v i e w ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   L o c a l S u b j e c t A c c e s s R e v i e w ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/local-subject-access-review-v1/",
    "id": "k8s_00743_section_4_16290"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L o c a l S u b j e c t A c c e s s R e v i e w ) :   O K   2 0 1   ( L o c a l S u b j e c t A c c e s s R e v i e w ) :   C r e a t e d   2 0 2   ( L o c a l S u b j e c t A c c e s s R e v i e w ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/local-subject-access-review-v1/",
    "id": "k8s_00743_section_4_16291"
  },
  {
    "question": "What is Accessing Clusters?",
    "answer": "Accessing ClustersThis topic discusses multiple ways to interact with clusters.Accessing for the first time with kubectlWhen accessing the Kubernetes API for the first time, we suggest using the Kubernetes CLI, kubectl.To access a cluster, you need to know the location of the cluster and have credentials to access it. Typically, this is automatically set-up when you work through a Getting started guide, or someone else set up the cluster and provided you with credentials and a location.Check the location and credentials that kubectl knows about with this command:kubectl config view Many of the examples provide an introduction to using kubectl, and complete documentation is found in the kubectl reference.Directly accessing the REST APIKubectl handles locating and authenticating to the apiserver. If you want to directly access the REST API with an http client like curl or wget, or a browser, there are several ways to locate and authenticate:Run kubectl in proxy mode.Recommended approach.Uses stored apiserver location.Verifies identity of apiserver using self-signed cert. No MITM possible.Authenticates to apiserver.In future, may do intelligent client-side load-balancing and failover.Provide the location and credentials directly to the http client.Alternate approach.Works with some types of client code that are confused by using a proxy.Need to import a root cert into your browser to protect against MITM.Using kubectl proxyThe following command runs kubectl in a mode where it acts as a reverse proxy. It handles locating the apiserver and authenticating. Run it like this:kubectl proxy --port=8080 See kubectl proxy for more details.Then you can explore the API with curl, wget, or a browser, replacing localhost with [::1] for IPv6, like so:curl http://localhost:8080/api/ The output is similar to this:{ \"kind\": \"APIVersions\", \"versions\": [ \"v1\" ], \"serverAddressByClientCIDRs\": [ { \"clientCIDR\": \"0.0.0.0/0\", \"serverAddress\": \"10.0.1.149:443\" } ] } Without kubectl proxyUse kubectl apply and kubectl describe secret... to create a token for the default service account with grep/cut:First, create the Secret, requesting a token for the default ServiceAccount:kubectl apply -f - <<EOF apiVersion: v1 kind: Secret metadata: name: default-token annotations: kubernetes.io/service-account.name: default type: kubernetes.io/service-account-token EOF",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/",
    "id": "k8s_00744_qa_16292"
  },
  {
    "question": "How does Accessing Clusters work?",
    "answer": "Accessing ClustersThis topic discusses multiple ways to interact with clusters.Accessing for the first time with kubectlWhen accessing the Kubernetes API for the first time, we suggest using the Kubernetes CLI, kubectl.To access a cluster, you need to know the location of the cluster and have credentials to access it. Typically, this is automatically set-up when you work through a Getting started guide, or someone else set up the cluster and provided you with credentials and a location.Check the location and credentials that kubectl knows about with this command:kubectl config view Many of the examples provide an introduction to using kubectl, and complete documentation is found in the kubectl reference.Directly accessing the REST APIKubectl handles locating and authenticating to the apiserver. If you want to directly access the REST API with an http client like curl or wget, or a browser, there are several ways to locate and authenticate:Run kubectl in proxy mode.Recommended approach.Uses stored apiserver location.Verifies identity of apiserver using self-signed cert. No MITM possible.Authenticates to apiserver.In future, may do intelligent client-side load-balancing and failover.Provide the location and credentials directly to the http client.Alternate approach.Works with some types of client code that are confused by using a proxy.Need to import a root cert into your browser to protect against MITM.Using kubectl proxyThe following command runs kubectl in a mode where it acts as a reverse proxy. It handles locating the apiserver and authenticating. Run it like this:kubectl proxy --port=8080 See kubectl proxy for more details.Then you can explore the API with curl, wget, or a browser, replacing localhost with [::1] for IPv6, like so:curl http://localhost:8080/api/ The output is similar to this:{ \"kind\": \"APIVersions\", \"versions\": [ \"v1\" ], \"serverAddressByClientCIDRs\": [ { \"clientCIDR\": \"0.0.0.0/0\", \"serverAddress\": \"10.0.1.149:443\" } ] } Without kubectl proxyUse kubectl apply and kubectl describe secret... to create a token for the default service account with grep/cut:First, create the Secret, requesting a token for the default ServiceAccount:kubectl apply -f - <<EOF apiVersion: v1 kind: Secret metadata: name: default-token annotations: kubernetes.io/service-account.name: default type: kubernetes.io/service-account-token EOF",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/",
    "id": "k8s_00744_qa_16293"
  },
  {
    "question": "When would you use Accessing Clusters?",
    "answer": "Accessing ClustersThis topic discusses multiple ways to interact with clusters.Accessing for the first time with kubectlWhen accessing the Kubernetes API for the first time, we suggest using the Kubernetes CLI, kubectl.To access a cluster, you need to know the location of the cluster and have credentials to access it. Typically, this is automatically set-up when you work through a Getting started guide, or someone else set up the cluster and provided you with credentials and a location.Check the location and credentials that kubectl knows about with this command:kubectl config view Many of the examples provide an introduction to using kubectl, and complete documentation is found in the kubectl reference.Directly accessing the REST APIKubectl handles locating and authenticating to the apiserver. If you want to directly access the REST API with an http client like curl or wget, or a browser, there are several ways to locate and authenticate:Run kubectl in proxy mode.Recommended approach.Uses stored apiserver location.Verifies identity of apiserver using self-signed cert. No MITM possible.Authenticates to apiserver.In future, may do intelligent client-side load-balancing and failover.Provide the location and credentials directly to the http client.Alternate approach.Works with some types of client code that are confused by using a proxy.Need to import a root cert into your browser to protect against MITM.Using kubectl proxyThe following command runs kubectl in a mode where it acts as a reverse proxy. It handles locating the apiserver and authenticating. Run it like this:kubectl proxy --port=8080 See kubectl proxy for more details.Then you can explore the API with curl, wget, or a browser, replacing localhost with [::1] for IPv6, like so:curl http://localhost:8080/api/ The output is similar to this:{ \"kind\": \"APIVersions\", \"versions\": [ \"v1\" ], \"serverAddressByClientCIDRs\": [ { \"clientCIDR\": \"0.0.0.0/0\", \"serverAddress\": \"10.0.1.149:443\" } ] } Without kubectl proxyUse kubectl apply and kubectl describe secret... to create a token for the default service account with grep/cut:First, create the Secret, requesting a token for the default ServiceAccount:kubectl apply -f - <<EOF apiVersion: v1 kind: Secret metadata: name: default-token annotations: kubernetes.io/service-account.name: default type: kubernetes.io/service-account-token EOF",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/",
    "id": "k8s_00744_qa_16294"
  },
  {
    "question": "What are the benefits of Accessing Clusters?",
    "answer": "Accessing ClustersThis topic discusses multiple ways to interact with clusters.Accessing for the first time with kubectlWhen accessing the Kubernetes API for the first time, we suggest using the Kubernetes CLI, kubectl.To access a cluster, you need to know the location of the cluster and have credentials to access it. Typically, this is automatically set-up when you work through a Getting started guide, or someone else set up the cluster and provided you with credentials and a location.Check the location and credentials that kubectl knows about with this command:kubectl config view Many of the examples provide an introduction to using kubectl, and complete documentation is found in the kubectl reference.Directly accessing the REST APIKubectl handles locating and authenticating to the apiserver. If you want to directly access the REST API with an http client like curl or wget, or a browser, there are several ways to locate and authenticate:Run kubectl in proxy mode.Recommended approach.Uses stored apiserver location.Verifies identity of apiserver using self-signed cert. No MITM possible.Authenticates to apiserver.In future, may do intelligent client-side load-balancing and failover.Provide the location and credentials directly to the http client.Alternate approach.Works with some types of client code that are confused by using a proxy.Need to import a root cert into your browser to protect against MITM.Using kubectl proxyThe following command runs kubectl in a mode where it acts as a reverse proxy. It handles locating the apiserver and authenticating. Run it like this:kubectl proxy --port=8080 See kubectl proxy for more details.Then you can explore the API with curl, wget, or a browser, replacing localhost with [::1] for IPv6, like so:curl http://localhost:8080/api/ The output is similar to this:{ \"kind\": \"APIVersions\", \"versions\": [ \"v1\" ], \"serverAddressByClientCIDRs\": [ { \"clientCIDR\": \"0.0.0.0/0\", \"serverAddress\": \"10.0.1.149:443\" } ] } Without kubectl proxyUse kubectl apply and kubectl describe secret... to create a token for the default service account with grep/cut:First, create the Secret, requesting a token for the default ServiceAccount:kubectl apply -f - <<EOF apiVersion: v1 kind: Secret metadata: name: default-token annotations: kubernetes.io/service-account.name: default type: kubernetes.io/service-account-token EOF",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/",
    "id": "k8s_00744_qa_16295"
  },
  {
    "question": "What is Accessing Clusters?",
    "answer": "T h i s   t o p i c   d i s c u s s e s   m u l t i p l e   w a y s   t o   i n t e r a c t   w i t h   c l u s t e r s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/",
    "id": "k8s_00744_section_1_16296"
  },
  {
    "question": "What is Accessing for the first time with kubectl?",
    "answer": "W h e n   a c c e s s i n g   t h e   K u b e r n e t e s   A P I   f o r   t h e   f i r s t   t i m e ,   w e   s u g g e s t   u s i n g   t h e   K u b e r n e t e s   C L I ,   k u b e c t l .   T o   a c c e s s   a   c l u s t e r ,   y o u   n e e d   t o   k n o w   t h e   l o c a t i o n   o f   t h e   c l u s t e r   a n d   h a v e   c r e d e n t i a l s   t o   a c c e s s   i t .   T y p i c a l l y ,   t h i s   i s   a u t o m a t i c a l l y   s e t - u p   w h e n   y o u   w o r k   t h r o u g h   a   G e t t i n g   s t a r t e d   g u i d e ,   o r   s o m e o n e   e l s e   s e t   u p   t h e   c l u s t e r   a n d   p r o v i d e d   y o u   w i t h   c r e d e n t i a l s   a n d   a   l o c a t i o n .   C h e c k   t h e   l o c a t i o n   a n d   c r e d e n t i a l s   t h a t   k u b e c t l   k n o w s   a b o u t   w i t h   t h i s   c o m m a n d :   k u b e c t l   c o n f i g   v i e w   M a n y   o f   t h e   e x a m p l e s   p r o v i d e   a n   i n t r o d u c t i o n   t o   u s i n g   k u b e c t l ,   a n d   c o m p l e t e   d o c u m e n t a t i o n   i s   f o u n d   i n   t h e   k u b e c t l   r e f e r e n c e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/",
    "id": "k8s_00744_section_2_16297"
  },
  {
    "question": "What is Directly accessing the REST API?",
    "answer": "K u b e c t l   h a n d l e s   l o c a t i n g   a n d   a u t h e n t i c a t i n g   t o   t h e   a p i s e r v e r .   I f   y o u   w a n t   t o   d i r e c t l y   a c c e s s   t h e   R E S T   A P I   w i t h   a n   h t t p   c l i e n t   l i k e   c u r l   o r   w g e t ,   o r   a   b r o w s e r ,   t h e r e   a r e   s e v e r a l   w a y s   t o   l o c a t e   a n d   a u t h e n t i c a t e :   R u n   k u b e c t l   i n   p r o x y   m o d e . R e c o m m e n d e d   a p p r o a c h . U s e s   s t o r e d   a p i s e r v e r   l o c a t i o n . V e r i f i e s   i d e n t i t y   o f   a p i s e r v e r   u s i n g   s e l f - s i g n e d   c e r t .   N o   M I T M   p o s s i b l e . A u t h e n t i c a t e s   t o   a p i s e r v e r . I n   f u t u r e ,   m a y   d o   i n t e l l i g e n t   c l i e n t - s i d e   l o a d - b a l a n c i n g   a n d   f a i l o v e r . P r o v i d e   t h e   l o c a t i o n   a n d   c r e d e n t i a l s   d i r e c t l y   t o   t h e   h t t p   c l i e n t . A l t e r n a t e   a p p r o a c h . W o r k s   w i t h   s o m e   t y p e s   o f   c l i e n t   c o d e   t h a t   a r e   c o n f u s e d   b y   u s i n g   a   p r o x y . N e e d   t o   i m p o r t   a   r o o t   c e r t   i n t o   y o u r   b r o w s e r   t o   p r o t e c t   a g a i n s t   M I T M .   R e c o m m e n d e d   a p p r o a c h . U s e s   s t o r e d   a p i s e r v e r   l o c a t i o n . V e r i f i e s   i d e n t i t y   o f   a p i s e r v e r   u s i n g   s e l f - s i g n e d   c e r t .   N o   M I T M   p o s s i b l e . A u t h e n t i c a t e s   t o   a p i s e r v e r . I n   f u t u r e ,   m a y   d o   i n t e l l i g e n t   c l i e n t - s i d e   l o a d - b a l a n c i n g   a n d   f a i l o v e r .   A l t e r n a t e   a p p r o a c h . W o r k s   w i t h   s o m e   t y p e s   o f   c l i e n t   c o d e   t h a t   a r e   c o n f u s e d   b y   u s i n g   a   p r o x y . N e e d ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/",
    "id": "k8s_00744_section_2_16298"
  },
  {
    "question": "What is Using kubectl proxy?",
    "answer": "T h e   f o l l o w i n g   c o m m a n d   r u n s   k u b e c t l   i n   a   m o d e   w h e r e   i t   a c t s   a s   a   r e v e r s e   p r o x y .   I t   h a n d l e s   l o c a t i n g   t h e   a p i s e r v e r   a n d   a u t h e n t i c a t i n g .   R u n   i t   l i k e   t h i s :   k u b e c t l   p r o x y   - - p o r t = 8 0 8 0   S e e   k u b e c t l   p r o x y   f o r   m o r e   d e t a i l s .   T h e n   y o u   c a n   e x p l o r e   t h e   A P I   w i t h   c u r l ,   w g e t ,   o r   a   b r o w s e r ,   r e p l a c i n g   l o c a l h o s t   w i t h   [ : : 1 ]   f o r   I P v 6 ,   l i k e   s o :   c u r l   h t t p : / / l o c a l h o s t : 8 0 8 0 / a p i /   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   {   \" k i n d \" :   \" A P I V e r s i o n s \" ,   \" v e r s i o n s \" :   [   \" v 1 \"   ] ,   \" s e r v e r A d d r e s s B y C l i e n t C I D R s \" :   [   {   \" c l i e n t C I D R \" :   \" 0 . 0 . 0 . 0 / 0 \" ,   \" s e r v e r A d d r e s s \" :   \" 1 0 . 0 . 1 . 1 4 9 : 4 4 3 \"   }   ]   }",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/",
    "id": "k8s_00744_section_3_16299"
  },
  {
    "question": "What is Without kubectl proxy?",
    "answer": "U s e   k u b e c t l   a p p l y   a n d   k u b e c t l   d e s c r i b e   s e c r e t . . .   t o   c r e a t e   a   t o k e n   f o r   t h e   d e f a u l t   s e r v i c e   a c c o u n t   w i t h   g r e p / c u t :   F i r s t ,   c r e a t e   t h e   S e c r e t ,   r e q u e s t i n g   a   t o k e n   f o r   t h e   d e f a u l t   S e r v i c e A c c o u n t :   k u b e c t l   a p p l y   - f   -   < < E O F   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   d e f a u l t - t o k e n   a n n o t a t i o n s :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . n a m e :   d e f a u l t   t y p e :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n   E O F   N e x t ,   w a i t   f o r   t h e   t o k e n   c o n t r o l l e r   t o   p o p u l a t e   t h e   S e c r e t   w i t h   a   t o k e n :   w h i l e   !   k u b e c t l   d e s c r i b e   s e c r e t   d e f a u l t - t o k e n   |   g r e p   - E   ' ^ t o k e n '   > / d e v / n u l l ;   d o   e c h o   \" w a i t i n g   f o r   t o k e n . . . \"   > & 2   s l e e p   1   d o n e   C a p t u r e   a n d   u s e   t h e   g e n e r a t e d   t o k e n :   A P I S E R V E R = $ ( k u b e c t l   c o n f i g   v i e w   - - m i n i f y   |   g r e p   s e r v e r   |   c u t   - f   2 -   - d   \" : \"   |   t r   - d   \"   \" )   T O K E N = $ ( k u b e c t l   d e s c r i b e   s e c r e t   d e f a u l t - t o k e n   |   g r e p   - E   ' ^ t o k e n '   |   c u t   - f 2   - d ' : '   |   t r   - d   \"   \" )   c u r l   $ A P I S E R V E R / a p i   - - h e a d e r   \" A u t h o r i z a t i o n :   B e a r e r   $ T O K E N \"   - - i n s e c u r e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   {   \" k i n d \" :   \" A P I V e r s i o n s \" ,   \" v e r s i o n s \" :   [   \" v 1 \"   ] ,   \" s e r v e r A d d r e s s B y C l i e n t C I D R s \" :   [   {   \" c l i e n t C I D R \" :   \" 0 . 0 . 0 . 0 / 0 ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/",
    "id": "k8s_00744_section_3_16300"
  },
  {
    "question": "What is Programmatic access to the API?",
    "answer": "K u b e r n e t e s   o f f i c i a l l y   s u p p o r t s   G o   a n d   P y t h o n   c l i e n t   l i b r a r i e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/",
    "id": "k8s_00744_section_2_16301"
  },
  {
    "question": "What is Go client?",
    "answer": "T o   g e t   t h e   l i b r a r y ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   g o   g e t   k 8 s . i o / c l i e n t - g o @ k u b e r n e t e s - < k u b e r n e t e s - v e r s i o n - n u m b e r > ,   s e e   I N S T A L L . m d   f o r   d e t a i l e d   i n s t a l l a t i o n   i n s t r u c t i o n s .   S e e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / c l i e n t - g o   t o   s e e   w h i c h   v e r s i o n s   a r e   s u p p o r t e d . W r i t e   a n   a p p l i c a t i o n   a t o p   o f   t h e   c l i e n t - g o   c l i e n t s .   N o t e   t h a t   c l i e n t - g o   d e f i n e s   i t s   o w n   A P I   o b j e c t s ,   s o   i f   n e e d e d ,   p l e a s e   i m p o r t   A P I   d e f i n i t i o n s   f r o m   c l i e n t - g o   r a t h e r   t h a n   f r o m   t h e   m a i n   r e p o s i t o r y ,   e . g . ,   i m p o r t   \" k 8 s . i o / c l i e n t - g o / k u b e r n e t e s \"   i s   c o r r e c t .   T h e   G o   c l i e n t   c a n   u s e   t h e   s a m e   k u b e c o n f i g   f i l e   a s   t h e   k u b e c t l   C L I   d o e s   t o   l o c a t e   a n d   a u t h e n t i c a t e   t o   t h e   a p i s e r v e r .   S e e   t h i s   e x a m p l e .   I f   t h e   a p p l i c a t i o n   i s   d e p l o y e d   a s   a   P o d   i n   t h e   c l u s t e r ,   p l e a s e   r e f e r   t o   t h e   n e x t   s e c t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/",
    "id": "k8s_00744_section_3_16302"
  },
  {
    "question": "What is Python client?",
    "answer": "T o   u s e   P y t h o n   c l i e n t ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   p i p   i n s t a l l   k u b e r n e t e s .   S e e   P y t h o n   C l i e n t   L i b r a r y   p a g e   f o r   m o r e   i n s t a l l a t i o n   o p t i o n s .   T h e   P y t h o n   c l i e n t   c a n   u s e   t h e   s a m e   k u b e c o n f i g   f i l e   a s   t h e   k u b e c t l   C L I   d o e s   t o   l o c a t e   a n d   a u t h e n t i c a t e   t o   t h e   a p i s e r v e r .   S e e   t h i s   e x a m p l e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/",
    "id": "k8s_00744_section_3_16303"
  },
  {
    "question": "What is Other languages?",
    "answer": "T h e r e   a r e   c l i e n t   l i b r a r i e s   f o r   a c c e s s i n g   t h e   A P I   f r o m   o t h e r   l a n g u a g e s .   S e e   d o c u m e n t a t i o n   f o r   o t h e r   l i b r a r i e s   f o r   h o w   t h e y   a u t h e n t i c a t e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/",
    "id": "k8s_00744_section_3_16304"
  },
  {
    "question": "What is Accessing the API from a Pod?",
    "answer": "W h e n   a c c e s s i n g   t h e   A P I   f r o m   a   p o d ,   l o c a t i n g   a n d   a u t h e n t i c a t i n g   t o   t h e   A P I   s e r v e r   a r e   s o m e w h a t   d i f f e r e n t .   P l e a s e   c h e c k   A c c e s s i n g   t h e   A P I   f r o m   w i t h i n   a   P o d   f o r   m o r e   d e t a i l s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/",
    "id": "k8s_00744_section_2_16305"
  },
  {
    "question": "What is Accessing services running on the cluster?",
    "answer": "T h e   p r e v i o u s   s e c t i o n   d e s c r i b e s   h o w   t o   c o n n e c t   t o   t h e   K u b e r n e t e s   A P I   s e r v e r .   F o r   i n f o r m a t i o n   a b o u t   c o n n e c t i n g   t o   o t h e r   s e r v i c e s   r u n n i n g   o n   a   K u b e r n e t e s   c l u s t e r ,   s e e   A c c e s s   C l u s t e r   S e r v i c e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/",
    "id": "k8s_00744_section_2_16306"
  },
  {
    "question": "What is Requesting redirects?",
    "answer": "T h e   r e d i r e c t   c a p a b i l i t i e s   h a v e   b e e n   d e p r e c a t e d   a n d   r e m o v e d .   P l e a s e   u s e   a   p r o x y   ( s e e   b e l o w )   i n s t e a d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/",
    "id": "k8s_00744_section_2_16307"
  },
  {
    "question": "What is So many proxies?",
    "answer": "T h e r e   a r e   s e v e r a l   d i f f e r e n t   p r o x i e s   y o u   m a y   e n c o u n t e r   w h e n   u s i n g   K u b e r n e t e s :   T h e   k u b e c t l   p r o x y : r u n s   o n   a   u s e r ' s   d e s k t o p   o r   i n   a   p o d p r o x i e s   f r o m   a   l o c a l h o s t   a d d r e s s   t o   t h e   K u b e r n e t e s   a p i s e r v e r c l i e n t   t o   p r o x y   u s e s   H T T P p r o x y   t o   a p i s e r v e r   u s e s   H T T P S l o c a t e s   a p i s e r v e r a d d s   a u t h e n t i c a t i o n   h e a d e r s T h e   a p i s e r v e r   p r o x y : i s   a   b a s t i o n   b u i l t   i n t o   t h e   a p i s e r v e r c o n n e c t s   a   u s e r   o u t s i d e   o f   t h e   c l u s t e r   t o   c l u s t e r   I P s   w h i c h   o t h e r w i s e   m i g h t   n o t   b e   r e a c h a b l e r u n s   i n   t h e   a p i s e r v e r   p r o c e s s e s c l i e n t   t o   p r o x y   u s e s   H T T P S   ( o r   h t t p   i f   a p i s e r v e r   s o   c o n f i g u r e d ) p r o x y   t o   t a r g e t   m a y   u s e   H T T P   o r   H T T P S   a s   c h o s e n   b y   p r o x y   u s i n g   a v a i l a b l e   i n f o r m a t i o n c a n   b e   u s e d   t o   r e a c h   a   N o d e ,   P o d ,   o r   S e r v i c e d o e s   l o a d   b a l a n c i n g   w h e n   u s e d   t o   r e a c h   a   S e r v i c e T h e   k u b e   p r o x y : r u n s   o n   e a c h   n o d e p r o x i e s   U D P   a n d   T C P d o e s   n o t   u n d e r s t a n d   H T T P p r o v i d e s   l o a d   b a l a n c i n g i s   o n l y   u s e d   t o   r e a c h   s e r v i c e s A   P r o x y / L o a d - b a l a n c e r   i n   f r o n t   o f   a p i s e r v e r ( s ) : e x i s t e n c e   a n d   i m p l e m e n t a t i o n   v a r i e s   f r o m   c l u s t e r   t o   c l u s t e r   ( e . g .   n g i n x ) s i t s   b e t w e e n   a l l   c l i e n t s   a n d   o n e   o r   m o r e   a p i s ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/",
    "id": "k8s_00744_section_2_16308"
  },
  {
    "question": "What is Configure a Pod Quota for a Namespace?",
    "answer": "Configure a Pod Quota for a NamespaceRestrict how many Pods you can create within a namespace.This page shows how to set a quota for the total number of Pods that can run in a Namespace. You specify quotas in a ResourceQuota object.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou must have access to create namespaces in your cluster.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace quota-pod-example Create a ResourceQuotaHere is an example manifest for a ResourceQuota:admin/resource/quota-pod.yaml apiVersion: v1 kind: ResourceQuota metadata: name: pod-demo spec: hard: pods: \"2\" Create the ResourceQuota:kubectl apply -f https://k8s.io/examples/admin/resource/quota-pod.yaml --namespace=quota-pod-example View detailed information about the ResourceQuota:kubectl get resourcequota pod-demo --namespace=quota-pod-example --output=yaml The output shows that the namespace has a quota of two Pods, and that currently there are no Pods; that is, none of the quota is used.spec: hard: pods: \"2\" status: hard: pods: \"2\" used: pods: \"0\" Here is an example manifest for a Deployment:admin/resource/quota-pod-deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: pod-quota-demo spec: selector: matchLabels: purpose: quota-demo replicas: 3 template: metadata: labels: purpose: quota-demo spec: containers: - name: pod-quota-demo image: nginx In that manifest, replicas: 3 tells Kubernetes to attempt to create three new Pods, all running the same application.Create the Deployment:kubectl apply -f https://k8s.io/examples/admin/resource/quota-pod-deployment.yaml --namespace=quota-pod-example View detailed information about the Deployment:kubectl get deployment pod-quota-demo --namespace=quota-pod-example --output=yaml The output shows that even though the Deployment specifies three replicas, only two Pods were created because of the quota you defined earlier:spec: ... replicas: 3 ... status: availableReplicas: 2 ... lastUpdateTime: 2021-04-02T20:57:05Z message: 'unable to create pods: pods \"pod-quota-demo-1650323038-\" is forbidden: exceeded quota: pod-demo, requested: pods=1, used: pods=2, limited: pods=2' Choice of resourceIn this task you have defined a ResourceQuota that limited the total number of Pods, but you could also limit the total number of other kinds of object. For example, you might decide to limit how many CronJobs that can live in a single namespace.Clean upDelete your namespace:kubectl delete namespace quota-pod-example What's nextFor cluster administrato",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-pod-namespace/",
    "id": "k8s_00745_qa_16309"
  },
  {
    "question": "How does Configure a Pod Quota for a Namespace work?",
    "answer": "Configure a Pod Quota for a NamespaceRestrict how many Pods you can create within a namespace.This page shows how to set a quota for the total number of Pods that can run in a Namespace. You specify quotas in a ResourceQuota object.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou must have access to create namespaces in your cluster.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace quota-pod-example Create a ResourceQuotaHere is an example manifest for a ResourceQuota:admin/resource/quota-pod.yaml apiVersion: v1 kind: ResourceQuota metadata: name: pod-demo spec: hard: pods: \"2\" Create the ResourceQuota:kubectl apply -f https://k8s.io/examples/admin/resource/quota-pod.yaml --namespace=quota-pod-example View detailed information about the ResourceQuota:kubectl get resourcequota pod-demo --namespace=quota-pod-example --output=yaml The output shows that the namespace has a quota of two Pods, and that currently there are no Pods; that is, none of the quota is used.spec: hard: pods: \"2\" status: hard: pods: \"2\" used: pods: \"0\" Here is an example manifest for a Deployment:admin/resource/quota-pod-deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: pod-quota-demo spec: selector: matchLabels: purpose: quota-demo replicas: 3 template: metadata: labels: purpose: quota-demo spec: containers: - name: pod-quota-demo image: nginx In that manifest, replicas: 3 tells Kubernetes to attempt to create three new Pods, all running the same application.Create the Deployment:kubectl apply -f https://k8s.io/examples/admin/resource/quota-pod-deployment.yaml --namespace=quota-pod-example View detailed information about the Deployment:kubectl get deployment pod-quota-demo --namespace=quota-pod-example --output=yaml The output shows that even though the Deployment specifies three replicas, only two Pods were created because of the quota you defined earlier:spec: ... replicas: 3 ... status: availableReplicas: 2 ... lastUpdateTime: 2021-04-02T20:57:05Z message: 'unable to create pods: pods \"pod-quota-demo-1650323038-\" is forbidden: exceeded quota: pod-demo, requested: pods=1, used: pods=2, limited: pods=2' Choice of resourceIn this task you have defined a ResourceQuota that limited the total number of Pods, but you could also limit the total number of other kinds of object. For example, you might decide to limit how many CronJobs that can live in a single namespace.Clean upDelete your namespace:kubectl delete namespace quota-pod-example What's nextFor cluster administrato",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-pod-namespace/",
    "id": "k8s_00745_qa_16310"
  },
  {
    "question": "When would you use Configure a Pod Quota for a Namespace?",
    "answer": "Configure a Pod Quota for a NamespaceRestrict how many Pods you can create within a namespace.This page shows how to set a quota for the total number of Pods that can run in a Namespace. You specify quotas in a ResourceQuota object.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou must have access to create namespaces in your cluster.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace quota-pod-example Create a ResourceQuotaHere is an example manifest for a ResourceQuota:admin/resource/quota-pod.yaml apiVersion: v1 kind: ResourceQuota metadata: name: pod-demo spec: hard: pods: \"2\" Create the ResourceQuota:kubectl apply -f https://k8s.io/examples/admin/resource/quota-pod.yaml --namespace=quota-pod-example View detailed information about the ResourceQuota:kubectl get resourcequota pod-demo --namespace=quota-pod-example --output=yaml The output shows that the namespace has a quota of two Pods, and that currently there are no Pods; that is, none of the quota is used.spec: hard: pods: \"2\" status: hard: pods: \"2\" used: pods: \"0\" Here is an example manifest for a Deployment:admin/resource/quota-pod-deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: pod-quota-demo spec: selector: matchLabels: purpose: quota-demo replicas: 3 template: metadata: labels: purpose: quota-demo spec: containers: - name: pod-quota-demo image: nginx In that manifest, replicas: 3 tells Kubernetes to attempt to create three new Pods, all running the same application.Create the Deployment:kubectl apply -f https://k8s.io/examples/admin/resource/quota-pod-deployment.yaml --namespace=quota-pod-example View detailed information about the Deployment:kubectl get deployment pod-quota-demo --namespace=quota-pod-example --output=yaml The output shows that even though the Deployment specifies three replicas, only two Pods were created because of the quota you defined earlier:spec: ... replicas: 3 ... status: availableReplicas: 2 ... lastUpdateTime: 2021-04-02T20:57:05Z message: 'unable to create pods: pods \"pod-quota-demo-1650323038-\" is forbidden: exceeded quota: pod-demo, requested: pods=1, used: pods=2, limited: pods=2' Choice of resourceIn this task you have defined a ResourceQuota that limited the total number of Pods, but you could also limit the total number of other kinds of object. For example, you might decide to limit how many CronJobs that can live in a single namespace.Clean upDelete your namespace:kubectl delete namespace quota-pod-example What's nextFor cluster administrato",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-pod-namespace/",
    "id": "k8s_00745_qa_16311"
  },
  {
    "question": "What are the benefits of Configure a Pod Quota for a Namespace?",
    "answer": "Configure a Pod Quota for a NamespaceRestrict how many Pods you can create within a namespace.This page shows how to set a quota for the total number of Pods that can run in a Namespace. You specify quotas in a ResourceQuota object.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou must have access to create namespaces in your cluster.Create a namespaceCreate a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.kubectl create namespace quota-pod-example Create a ResourceQuotaHere is an example manifest for a ResourceQuota:admin/resource/quota-pod.yaml apiVersion: v1 kind: ResourceQuota metadata: name: pod-demo spec: hard: pods: \"2\" Create the ResourceQuota:kubectl apply -f https://k8s.io/examples/admin/resource/quota-pod.yaml --namespace=quota-pod-example View detailed information about the ResourceQuota:kubectl get resourcequota pod-demo --namespace=quota-pod-example --output=yaml The output shows that the namespace has a quota of two Pods, and that currently there are no Pods; that is, none of the quota is used.spec: hard: pods: \"2\" status: hard: pods: \"2\" used: pods: \"0\" Here is an example manifest for a Deployment:admin/resource/quota-pod-deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: pod-quota-demo spec: selector: matchLabels: purpose: quota-demo replicas: 3 template: metadata: labels: purpose: quota-demo spec: containers: - name: pod-quota-demo image: nginx In that manifest, replicas: 3 tells Kubernetes to attempt to create three new Pods, all running the same application.Create the Deployment:kubectl apply -f https://k8s.io/examples/admin/resource/quota-pod-deployment.yaml --namespace=quota-pod-example View detailed information about the Deployment:kubectl get deployment pod-quota-demo --namespace=quota-pod-example --output=yaml The output shows that even though the Deployment specifies three replicas, only two Pods were created because of the quota you defined earlier:spec: ... replicas: 3 ... status: availableReplicas: 2 ... lastUpdateTime: 2021-04-02T20:57:05Z message: 'unable to create pods: pods \"pod-quota-demo-1650323038-\" is forbidden: exceeded quota: pod-demo, requested: pods=1, used: pods=2, limited: pods=2' Choice of resourceIn this task you have defined a ResourceQuota that limited the total number of Pods, but you could also limit the total number of other kinds of object. For example, you might decide to limit how many CronJobs that can live in a single namespace.Clean upDelete your namespace:kubectl delete namespace quota-pod-example What's nextFor cluster administrato",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-pod-namespace/",
    "id": "k8s_00745_qa_16312"
  },
  {
    "question": "What is Configure a Pod Quota for a Namespace?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   s e t   a   q u o t a   f o r   t h e   t o t a l   n u m b e r   o f   P o d s   t h a t   c a n   r u n   i n   a   N a m e s p a c e .   Y o u   s p e c i f y   q u o t a s   i n   a   R e s o u r c e Q u o t a   o b j e c t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-pod-namespace/",
    "id": "k8s_00745_section_1_16313"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   m u s t   h a v e   a c c e s s   t o   c r e a t e   n a m e s p a c e s   i n   y o u r   c l u s t e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-pod-namespace/",
    "id": "k8s_00745_section_2_16314"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   n a m e s p a c e   s o   t h a t   t h e   r e s o u r c e s   y o u   c r e a t e   i n   t h i s   e x e r c i s e   a r e   i s o l a t e d   f r o m   t h e   r e s t   o f   y o u r   c l u s t e r .   k u b e c t l   c r e a t e   n a m e s p a c e   q u o t a - p o d - e x a m p l e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-pod-namespace/",
    "id": "k8s_00745_section_2_16315"
  },
  {
    "question": "What is Create a ResourceQuota?",
    "answer": "H e r e   i s   a n   e x a m p l e   m a n i f e s t   f o r   a   R e s o u r c e Q u o t a :   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a   m e t a d a t a :   n a m e :   p o d - d e m o   s p e c :   h a r d :   p o d s :   \" 2 \"   C r e a t e   t h e   R e s o u r c e Q u o t a :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / q u o t a - p o d . y a m l   - - n a m e s p a c e = q u o t a - p o d - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   R e s o u r c e Q u o t a :   k u b e c t l   g e t   r e s o u r c e q u o t a   p o d - d e m o   - - n a m e s p a c e = q u o t a - p o d - e x a m p l e   - - o u t p u t = y a m l   T h e   o u t p u t   s h o w s   t h a t   t h e   n a m e s p a c e   h a s   a   q u o t a   o f   t w o   P o d s ,   a n d   t h a t   c u r r e n t l y   t h e r e   a r e   n o   P o d s ;   t h a t   i s ,   n o n e   o f   t h e   q u o t a   i s   u s e d .   s p e c :   h a r d :   p o d s :   \" 2 \"   s t a t u s :   h a r d :   p o d s :   \" 2 \"   u s e d :   p o d s :   \" 0 \"   H e r e   i s   a n   e x a m p l e   m a n i f e s t   f o r   a   D e p l o y m e n t :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   p o d - q u o t a - d e m o   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   p u r p o s e :   q u o t a - d e m o   r e p l i c a s :   3   t e m p l a t e :   m e t a d a t a :   l a b e l s :   p u r p o s e :   q u o t a - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   p o d - q u o t a - d e m o   i m a g e :   n g i n x   I n   t h a t   m a n i f e s t ,   r e p l i c a s :   3   t e l l s   K u b e r n e t e s   t o   a t t e m p t   t o   c r e a t e   t h r e e   n e w   P o d s ,   a l l   r u n n i n g   t h e   s a m e   a p p l i c a t i o n .   C r e a t e   t h e   D e p l o y m e n ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-pod-namespace/",
    "id": "k8s_00745_section_2_16316"
  },
  {
    "question": "What is Choice of resource?",
    "answer": "I n   t h i s   t a s k   y o u   h a v e   d e f i n e d   a   R e s o u r c e Q u o t a   t h a t   l i m i t e d   t h e   t o t a l   n u m b e r   o f   P o d s ,   b u t   y o u   c o u l d   a l s o   l i m i t   t h e   t o t a l   n u m b e r   o f   o t h e r   k i n d s   o f   o b j e c t .   F o r   e x a m p l e ,   y o u   m i g h t   d e c i d e   t o   l i m i t   h o w   m a n y   C r o n J o b s   t h a t   c a n   l i v e   i n   a   s i n g l e   n a m e s p a c e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-pod-namespace/",
    "id": "k8s_00745_section_3_16317"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   n a m e s p a c e :   k u b e c t l   d e l e t e   n a m e s p a c e   q u o t a - p o d - e x a m p l e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-pod-namespace/",
    "id": "k8s_00745_section_2_16318"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-pod-namespace/",
    "id": "k8s_00745_section_3_16319"
  },
  {
    "question": "What is For app developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s   C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/quota-pod-namespace/",
    "id": "k8s_00745_section_3_16320"
  },
  {
    "question": "What is Config and Storage Resources?",
    "answer": "Config and Storage ResourcesConfigMapConfigMap holds configuration data for pods to consume.SecretSecret holds secret data of a certain type.CSIDriverCSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster.CSINodeCSINode holds information about all CSI drivers installed on a node.CSIStorageCapacityCSIStorageCapacity stores the result of one CSI GetCapacity call.PersistentVolumeClaimPersistentVolumeClaim is a user's request for and claim to a persistent volume.PersistentVolumePersistentVolume (PV) is a storage resource provisioned by an administrator.StorageClassStorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.StorageVersionMigration v1alpha1StorageVersionMigration represents a migration of stored data to the latest storage version.VolumeVolume represents a named volume in a pod that may be accessed by any container in the pod.VolumeAttachmentVolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.VolumeAttributesClassVolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/",
    "id": "k8s_00746_qa_16321"
  },
  {
    "question": "How does Config and Storage Resources work?",
    "answer": "Config and Storage ResourcesConfigMapConfigMap holds configuration data for pods to consume.SecretSecret holds secret data of a certain type.CSIDriverCSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster.CSINodeCSINode holds information about all CSI drivers installed on a node.CSIStorageCapacityCSIStorageCapacity stores the result of one CSI GetCapacity call.PersistentVolumeClaimPersistentVolumeClaim is a user's request for and claim to a persistent volume.PersistentVolumePersistentVolume (PV) is a storage resource provisioned by an administrator.StorageClassStorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.StorageVersionMigration v1alpha1StorageVersionMigration represents a migration of stored data to the latest storage version.VolumeVolume represents a named volume in a pod that may be accessed by any container in the pod.VolumeAttachmentVolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.VolumeAttributesClassVolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/",
    "id": "k8s_00746_qa_16322"
  },
  {
    "question": "When would you use Config and Storage Resources?",
    "answer": "Config and Storage ResourcesConfigMapConfigMap holds configuration data for pods to consume.SecretSecret holds secret data of a certain type.CSIDriverCSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster.CSINodeCSINode holds information about all CSI drivers installed on a node.CSIStorageCapacityCSIStorageCapacity stores the result of one CSI GetCapacity call.PersistentVolumeClaimPersistentVolumeClaim is a user's request for and claim to a persistent volume.PersistentVolumePersistentVolume (PV) is a storage resource provisioned by an administrator.StorageClassStorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.StorageVersionMigration v1alpha1StorageVersionMigration represents a migration of stored data to the latest storage version.VolumeVolume represents a named volume in a pod that may be accessed by any container in the pod.VolumeAttachmentVolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.VolumeAttributesClassVolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/",
    "id": "k8s_00746_qa_16323"
  },
  {
    "question": "What are the benefits of Config and Storage Resources?",
    "answer": "Config and Storage ResourcesConfigMapConfigMap holds configuration data for pods to consume.SecretSecret holds secret data of a certain type.CSIDriverCSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster.CSINodeCSINode holds information about all CSI drivers installed on a node.CSIStorageCapacityCSIStorageCapacity stores the result of one CSI GetCapacity call.PersistentVolumeClaimPersistentVolumeClaim is a user's request for and claim to a persistent volume.PersistentVolumePersistentVolume (PV) is a storage resource provisioned by an administrator.StorageClassStorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.StorageVersionMigration v1alpha1StorageVersionMigration represents a migration of stored data to the latest storage version.VolumeVolume represents a named volume in a pod that may be accessed by any container in the pod.VolumeAttachmentVolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.VolumeAttributesClassVolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver.This page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/",
    "id": "k8s_00746_qa_16324"
  },
  {
    "question": "What is ConfigMap?",
    "answer": "C o n f i g M a p   h o l d s   c o n f i g u r a t i o n   d a t a   f o r   p o d s   t o   c o n s u m e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/",
    "id": "k8s_00746_section_5_16325"
  },
  {
    "question": "What is Secret?",
    "answer": "S e c r e t   h o l d s   s e c r e t   d a t a   o f   a   c e r t a i n   t y p e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/",
    "id": "k8s_00746_section_5_16326"
  },
  {
    "question": "What is CSIDriver?",
    "answer": "C S I D r i v e r   c a p t u r e s   i n f o r m a t i o n   a b o u t   a   C o n t a i n e r   S t o r a g e   I n t e r f a c e   ( C S I )   v o l u m e   d r i v e r   d e p l o y e d   o n   t h e   c l u s t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/",
    "id": "k8s_00746_section_5_16327"
  },
  {
    "question": "What is CSINode?",
    "answer": "C S I N o d e   h o l d s   i n f o r m a t i o n   a b o u t   a l l   C S I   d r i v e r s   i n s t a l l e d   o n   a   n o d e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/",
    "id": "k8s_00746_section_5_16328"
  },
  {
    "question": "What is CSIStorageCapacity?",
    "answer": "C S I S t o r a g e C a p a c i t y   s t o r e s   t h e   r e s u l t   o f   o n e   C S I   G e t C a p a c i t y   c a l l .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/",
    "id": "k8s_00746_section_5_16329"
  },
  {
    "question": "What is PersistentVolumeClaim?",
    "answer": "P e r s i s t e n t V o l u m e C l a i m   i s   a   u s e r ' s   r e q u e s t   f o r   a n d   c l a i m   t o   a   p e r s i s t e n t   v o l u m e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/",
    "id": "k8s_00746_section_5_16330"
  },
  {
    "question": "What is PersistentVolume?",
    "answer": "P e r s i s t e n t V o l u m e   ( P V )   i s   a   s t o r a g e   r e s o u r c e   p r o v i s i o n e d   b y   a n   a d m i n i s t r a t o r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/",
    "id": "k8s_00746_section_5_16331"
  },
  {
    "question": "What is StorageClass?",
    "answer": "S t o r a g e C l a s s   d e s c r i b e s   t h e   p a r a m e t e r s   f o r   a   c l a s s   o f   s t o r a g e   f o r   w h i c h   P e r s i s t e n t V o l u m e s   c a n   b e   d y n a m i c a l l y   p r o v i s i o n e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/",
    "id": "k8s_00746_section_5_16332"
  },
  {
    "question": "What is StorageVersionMigration v1alpha1?",
    "answer": "S t o r a g e V e r s i o n M i g r a t i o n   r e p r e s e n t s   a   m i g r a t i o n   o f   s t o r e d   d a t a   t o   t h e   l a t e s t   s t o r a g e   v e r s i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/",
    "id": "k8s_00746_section_5_16333"
  },
  {
    "question": "What is Volume?",
    "answer": "V o l u m e   r e p r e s e n t s   a   n a m e d   v o l u m e   i n   a   p o d   t h a t   m a y   b e   a c c e s s e d   b y   a n y   c o n t a i n e r   i n   t h e   p o d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/",
    "id": "k8s_00746_section_5_16334"
  },
  {
    "question": "What is VolumeAttachment?",
    "answer": "V o l u m e A t t a c h m e n t   c a p t u r e s   t h e   i n t e n t   t o   a t t a c h   o r   d e t a c h   t h e   s p e c i f i e d   v o l u m e   t o / f r o m   t h e   s p e c i f i e d   n o d e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/",
    "id": "k8s_00746_section_5_16335"
  },
  {
    "question": "What is VolumeAttributesClass?",
    "answer": "V o l u m e A t t r i b u t e s C l a s s   r e p r e s e n t s   a   s p e c i f i c a t i o n   o f   m u t a b l e   v o l u m e   a t t r i b u t e s   d e f i n e d   b y   t h e   C S I   d r i v e r .   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/",
    "id": "k8s_00746_section_5_16336"
  },
  {
    "question": "What is Advertise Extended Resources for a Node?",
    "answer": "Advertise Extended Resources for a NodeThis page shows how to specify extended resources for a Node. Extended resources allow cluster administrators to advertise node-level resources that would otherwise be unknown to Kubernetes.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Get the names of your Nodeskubectl get nodes Choose one of your Nodes to use for this exercise.Advertise a new extended resource on one of your NodesTo advertise a new extended resource on a Node, send an HTTP PATCH request to the Kubernetes API server. For example, suppose one of your Nodes has four dongles attached. Here's an example of a PATCH request that advertises four dongle resources for your Node.PATCH /api/v1/nodes/<your-node-name>/status HTTP/1.1 Accept: application/json Content-Type: application/json-patch+json Host: k8s-master:8080 [ { \"op\": \"add\", \"path\": \"/status/capacity/example.com~1dongle\", \"value\": \"4\" } ] Note that Kubernetes does not need to know what a dongle is or what a dongle is for. The preceding PATCH request tells Kubernetes that your Node has four things that you call dongles.Start a proxy, so that you can easily send requests to the Kubernetes API server:kubectl proxy In another command window, send the HTTP PATCH request. Replace <your-node-name> with the name of your Node:curl --header \"Content-Type: application/json-patch+json\" \\ --request PATCH \\ --data '[{\"op\": \"add\", \"path\": \"/status/capacity/example.com~1dongle\", \"value\": \"4\"}]' \\ http://localhost:8001/api/v1/nodes/<your-node-name>/status Note:In the preceding request, ~1 is the encoding for the character / in the patch path. The operation path value in JSON-Patch is interpreted as a JSON-Pointer. For more details, see IETF RFC 6901, section 3.The output shows that the Node has a capacity of 4 dongles:\"capacity\": { \"cpu\": \"2\", \"memory\": \"2049008Ki\", \"example.com/dongle\": \"4\", Describe your Node:kubectl describe node <your-node-name> Once again, the output shows the dongle resource:Capacity: cpu: 2 memory: 2049008Ki example.com/dongle: 4 Now, application developers can create Pods that request a certain number of dongles. See Assign Extended Resources to a Container.DiscussionExtended resources are similar to memory and CPU resources. For example, just as a Node has a certain amount of memory and CPU to be shared by all components running on the Node, it can have a certain number of dongles to be shared by all components running on the Node. And just as application developers can create Pods that request a certain amount of memory and CPU, they can create Pods th",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/extended-resource-node/",
    "id": "k8s_00747_qa_16337"
  },
  {
    "question": "How does Advertise Extended Resources for a Node work?",
    "answer": "Advertise Extended Resources for a NodeThis page shows how to specify extended resources for a Node. Extended resources allow cluster administrators to advertise node-level resources that would otherwise be unknown to Kubernetes.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Get the names of your Nodeskubectl get nodes Choose one of your Nodes to use for this exercise.Advertise a new extended resource on one of your NodesTo advertise a new extended resource on a Node, send an HTTP PATCH request to the Kubernetes API server. For example, suppose one of your Nodes has four dongles attached. Here's an example of a PATCH request that advertises four dongle resources for your Node.PATCH /api/v1/nodes/<your-node-name>/status HTTP/1.1 Accept: application/json Content-Type: application/json-patch+json Host: k8s-master:8080 [ { \"op\": \"add\", \"path\": \"/status/capacity/example.com~1dongle\", \"value\": \"4\" } ] Note that Kubernetes does not need to know what a dongle is or what a dongle is for. The preceding PATCH request tells Kubernetes that your Node has four things that you call dongles.Start a proxy, so that you can easily send requests to the Kubernetes API server:kubectl proxy In another command window, send the HTTP PATCH request. Replace <your-node-name> with the name of your Node:curl --header \"Content-Type: application/json-patch+json\" \\ --request PATCH \\ --data '[{\"op\": \"add\", \"path\": \"/status/capacity/example.com~1dongle\", \"value\": \"4\"}]' \\ http://localhost:8001/api/v1/nodes/<your-node-name>/status Note:In the preceding request, ~1 is the encoding for the character / in the patch path. The operation path value in JSON-Patch is interpreted as a JSON-Pointer. For more details, see IETF RFC 6901, section 3.The output shows that the Node has a capacity of 4 dongles:\"capacity\": { \"cpu\": \"2\", \"memory\": \"2049008Ki\", \"example.com/dongle\": \"4\", Describe your Node:kubectl describe node <your-node-name> Once again, the output shows the dongle resource:Capacity: cpu: 2 memory: 2049008Ki example.com/dongle: 4 Now, application developers can create Pods that request a certain number of dongles. See Assign Extended Resources to a Container.DiscussionExtended resources are similar to memory and CPU resources. For example, just as a Node has a certain amount of memory and CPU to be shared by all components running on the Node, it can have a certain number of dongles to be shared by all components running on the Node. And just as application developers can create Pods that request a certain amount of memory and CPU, they can create Pods th",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/extended-resource-node/",
    "id": "k8s_00747_qa_16338"
  },
  {
    "question": "When would you use Advertise Extended Resources for a Node?",
    "answer": "Advertise Extended Resources for a NodeThis page shows how to specify extended resources for a Node. Extended resources allow cluster administrators to advertise node-level resources that would otherwise be unknown to Kubernetes.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Get the names of your Nodeskubectl get nodes Choose one of your Nodes to use for this exercise.Advertise a new extended resource on one of your NodesTo advertise a new extended resource on a Node, send an HTTP PATCH request to the Kubernetes API server. For example, suppose one of your Nodes has four dongles attached. Here's an example of a PATCH request that advertises four dongle resources for your Node.PATCH /api/v1/nodes/<your-node-name>/status HTTP/1.1 Accept: application/json Content-Type: application/json-patch+json Host: k8s-master:8080 [ { \"op\": \"add\", \"path\": \"/status/capacity/example.com~1dongle\", \"value\": \"4\" } ] Note that Kubernetes does not need to know what a dongle is or what a dongle is for. The preceding PATCH request tells Kubernetes that your Node has four things that you call dongles.Start a proxy, so that you can easily send requests to the Kubernetes API server:kubectl proxy In another command window, send the HTTP PATCH request. Replace <your-node-name> with the name of your Node:curl --header \"Content-Type: application/json-patch+json\" \\ --request PATCH \\ --data '[{\"op\": \"add\", \"path\": \"/status/capacity/example.com~1dongle\", \"value\": \"4\"}]' \\ http://localhost:8001/api/v1/nodes/<your-node-name>/status Note:In the preceding request, ~1 is the encoding for the character / in the patch path. The operation path value in JSON-Patch is interpreted as a JSON-Pointer. For more details, see IETF RFC 6901, section 3.The output shows that the Node has a capacity of 4 dongles:\"capacity\": { \"cpu\": \"2\", \"memory\": \"2049008Ki\", \"example.com/dongle\": \"4\", Describe your Node:kubectl describe node <your-node-name> Once again, the output shows the dongle resource:Capacity: cpu: 2 memory: 2049008Ki example.com/dongle: 4 Now, application developers can create Pods that request a certain number of dongles. See Assign Extended Resources to a Container.DiscussionExtended resources are similar to memory and CPU resources. For example, just as a Node has a certain amount of memory and CPU to be shared by all components running on the Node, it can have a certain number of dongles to be shared by all components running on the Node. And just as application developers can create Pods that request a certain amount of memory and CPU, they can create Pods th",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/extended-resource-node/",
    "id": "k8s_00747_qa_16339"
  },
  {
    "question": "What are the benefits of Advertise Extended Resources for a Node?",
    "answer": "Advertise Extended Resources for a NodeThis page shows how to specify extended resources for a Node. Extended resources allow cluster administrators to advertise node-level resources that would otherwise be unknown to Kubernetes.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Get the names of your Nodeskubectl get nodes Choose one of your Nodes to use for this exercise.Advertise a new extended resource on one of your NodesTo advertise a new extended resource on a Node, send an HTTP PATCH request to the Kubernetes API server. For example, suppose one of your Nodes has four dongles attached. Here's an example of a PATCH request that advertises four dongle resources for your Node.PATCH /api/v1/nodes/<your-node-name>/status HTTP/1.1 Accept: application/json Content-Type: application/json-patch+json Host: k8s-master:8080 [ { \"op\": \"add\", \"path\": \"/status/capacity/example.com~1dongle\", \"value\": \"4\" } ] Note that Kubernetes does not need to know what a dongle is or what a dongle is for. The preceding PATCH request tells Kubernetes that your Node has four things that you call dongles.Start a proxy, so that you can easily send requests to the Kubernetes API server:kubectl proxy In another command window, send the HTTP PATCH request. Replace <your-node-name> with the name of your Node:curl --header \"Content-Type: application/json-patch+json\" \\ --request PATCH \\ --data '[{\"op\": \"add\", \"path\": \"/status/capacity/example.com~1dongle\", \"value\": \"4\"}]' \\ http://localhost:8001/api/v1/nodes/<your-node-name>/status Note:In the preceding request, ~1 is the encoding for the character / in the patch path. The operation path value in JSON-Patch is interpreted as a JSON-Pointer. For more details, see IETF RFC 6901, section 3.The output shows that the Node has a capacity of 4 dongles:\"capacity\": { \"cpu\": \"2\", \"memory\": \"2049008Ki\", \"example.com/dongle\": \"4\", Describe your Node:kubectl describe node <your-node-name> Once again, the output shows the dongle resource:Capacity: cpu: 2 memory: 2049008Ki example.com/dongle: 4 Now, application developers can create Pods that request a certain number of dongles. See Assign Extended Resources to a Container.DiscussionExtended resources are similar to memory and CPU resources. For example, just as a Node has a certain amount of memory and CPU to be shared by all components running on the Node, it can have a certain number of dongles to be shared by all components running on the Node. And just as application developers can create Pods that request a certain amount of memory and CPU, they can create Pods th",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/extended-resource-node/",
    "id": "k8s_00747_qa_16340"
  },
  {
    "question": "What is Advertise Extended Resources for a Node?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   s p e c i f y   e x t e n d e d   r e s o u r c e s   f o r   a   N o d e .   E x t e n d e d   r e s o u r c e s   a l l o w   c l u s t e r   a d m i n i s t r a t o r s   t o   a d v e r t i s e   n o d e - l e v e l   r e s o u r c e s   t h a t   w o u l d   o t h e r w i s e   b e   u n k n o w n   t o   K u b e r n e t e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/extended-resource-node/",
    "id": "k8s_00747_section_1_16341"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/extended-resource-node/",
    "id": "k8s_00747_section_2_16342"
  },
  {
    "question": "What is Get the names of your Nodes?",
    "answer": "k u b e c t l   g e t   n o d e s   C h o o s e   o n e   o f   y o u r   N o d e s   t o   u s e   f o r   t h i s   e x e r c i s e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/extended-resource-node/",
    "id": "k8s_00747_section_2_16343"
  },
  {
    "question": "What is Advertise a new extended resource on one of your Nodes?",
    "answer": "T o   a d v e r t i s e   a   n e w   e x t e n d e d   r e s o u r c e   o n   a   N o d e ,   s e n d   a n   H T T P   P A T C H   r e q u e s t   t o   t h e   K u b e r n e t e s   A P I   s e r v e r .   F o r   e x a m p l e ,   s u p p o s e   o n e   o f   y o u r   N o d e s   h a s   f o u r   d o n g l e s   a t t a c h e d .   H e r e ' s   a n   e x a m p l e   o f   a   P A T C H   r e q u e s t   t h a t   a d v e r t i s e s   f o u r   d o n g l e   r e s o u r c e s   f o r   y o u r   N o d e .   P A T C H   / a p i / v 1 / n o d e s / < y o u r - n o d e - n a m e > / s t a t u s   H T T P / 1 . 1   A c c e p t :   a p p l i c a t i o n / j s o n   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n - p a t c h + j s o n   H o s t :   k 8 s - m a s t e r : 8 0 8 0   [   {   \" o p \" :   \" a d d \" ,   \" p a t h \" :   \" / s t a t u s / c a p a c i t y / e x a m p l e . c o m ~ 1 d o n g l e \" ,   \" v a l u e \" :   \" 4 \"   }   ]   N o t e   t h a t   K u b e r n e t e s   d o e s   n o t   n e e d   t o   k n o w   w h a t   a   d o n g l e   i s   o r   w h a t   a   d o n g l e   i s   f o r .   T h e   p r e c e d i n g   P A T C H   r e q u e s t   t e l l s   K u b e r n e t e s   t h a t   y o u r   N o d e   h a s   f o u r   t h i n g s   t h a t   y o u   c a l l   d o n g l e s .   S t a r t   a   p r o x y ,   s o   t h a t   y o u   c a n   e a s i l y   s e n d   r e q u e s t s   t o   t h e   K u b e r n e t e s   A P I   s e r v e r :   k u b e c t l   p r o x y   I n   a n o t h e r   c o m m a n d   w i n d o w ,   s e n d   t h e   H T T P   P A T C H   r e q u e s t .   R e p l a c e   < y o u r - n o d e - n a m e >   w i t h   t h e   n a m e   o f   y o u r   N o d e :   c u r l   - - h e a d e r   \" C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n - p a t c h + j s o n \"   \\   - - r e q u e s t   P A T C H   \\   - - d a t a   ' [ { \" o p \" :   \" a d d \" ,   \" p a t h \" :   \" / s t a t u s / c a p a c i t y ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/extended-resource-node/",
    "id": "k8s_00747_section_2_16344"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   o u t p u t   s h o w s   t h a t   t h e   N o d e   h a s   a   c a p a c i t y   o f   4   d o n g l e s :   \" c a p a c i t y \" :   {   \" c p u \" :   \" 2 \" ,   \" m e m o r y \" :   \" 2 0 4 9 0 0 8 K i \" ,   \" e x a m p l e . c o m / d o n g l e \" :   \" 4 \" ,   D e s c r i b e   y o u r   N o d e :   k u b e c t l   d e s c r i b e   n o d e   < y o u r - n o d e - n a m e >   O n c e   a g a i n ,   t h e   o u t p u t   s h o w s   t h e   d o n g l e   r e s o u r c e :   C a p a c i t y :   c p u :   2   m e m o r y :   2 0 4 9 0 0 8 K i   e x a m p l e . c o m / d o n g l e :   4   N o w ,   a p p l i c a t i o n   d e v e l o p e r s   c a n   c r e a t e   P o d s   t h a t   r e q u e s t   a   c e r t a i n   n u m b e r   o f   d o n g l e s .   S e e   A s s i g n   E x t e n d e d   R e s o u r c e s   t o   a   C o n t a i n e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/extended-resource-node/",
    "id": "k8s_00747_section_4_16345"
  },
  {
    "question": "What is Discussion?",
    "answer": "E x t e n d e d   r e s o u r c e s   a r e   s i m i l a r   t o   m e m o r y   a n d   C P U   r e s o u r c e s .   F o r   e x a m p l e ,   j u s t   a s   a   N o d e   h a s   a   c e r t a i n   a m o u n t   o f   m e m o r y   a n d   C P U   t o   b e   s h a r e d   b y   a l l   c o m p o n e n t s   r u n n i n g   o n   t h e   N o d e ,   i t   c a n   h a v e   a   c e r t a i n   n u m b e r   o f   d o n g l e s   t o   b e   s h a r e d   b y   a l l   c o m p o n e n t s   r u n n i n g   o n   t h e   N o d e .   A n d   j u s t   a s   a p p l i c a t i o n   d e v e l o p e r s   c a n   c r e a t e   P o d s   t h a t   r e q u e s t   a   c e r t a i n   a m o u n t   o f   m e m o r y   a n d   C P U ,   t h e y   c a n   c r e a t e   P o d s   t h a t   r e q u e s t   a   c e r t a i n   n u m b e r   o f   d o n g l e s .   E x t e n d e d   r e s o u r c e s   a r e   o p a q u e   t o   K u b e r n e t e s ;   K u b e r n e t e s   d o e s   n o t   k n o w   a n y t h i n g   a b o u t   w h a t   t h e y   a r e .   K u b e r n e t e s   k n o w s   o n l y   t h a t   a   N o d e   h a s   a   c e r t a i n   n u m b e r   o f   t h e m .   E x t e n d e d   r e s o u r c e s   m u s t   b e   a d v e r t i s e d   i n   i n t e g e r   a m o u n t s .   F o r   e x a m p l e ,   a   N o d e   c a n   a d v e r t i s e   f o u r   d o n g l e s ,   b u t   n o t   4 . 5   d o n g l e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/extended-resource-node/",
    "id": "k8s_00747_section_2_16346"
  },
  {
    "question": "What is Storage example?",
    "answer": "S u p p o s e   a   N o d e   h a s   8 0 0   G i B   o f   a   s p e c i a l   k i n d   o f   d i s k   s t o r a g e .   Y o u   c o u l d   c r e a t e   a   n a m e   f o r   t h e   s p e c i a l   s t o r a g e ,   s a y   e x a m p l e . c o m / s p e c i a l - s t o r a g e .   T h e n   y o u   c o u l d   a d v e r t i s e   i t   i n   c h u n k s   o f   a   c e r t a i n   s i z e ,   s a y   1 0 0   G i B .   I n   t h a t   c a s e ,   y o u r   N o d e   w o u l d   a d v e r t i s e   t h a t   i t   h a s   e i g h t   r e s o u r c e s   o f   t y p e   e x a m p l e . c o m / s p e c i a l - s t o r a g e .   C a p a c i t y :   . . .   e x a m p l e . c o m / s p e c i a l - s t o r a g e :   8   I f   y o u   w a n t   t o   a l l o w   a r b i t r a r y   r e q u e s t s   f o r   s p e c i a l   s t o r a g e ,   y o u   c o u l d   a d v e r t i s e   s p e c i a l   s t o r a g e   i n   c h u n k s   o f   s i z e   1   b y t e .   I n   t h a t   c a s e ,   y o u   w o u l d   a d v e r t i s e   8 0 0 G i   r e s o u r c e s   o f   t y p e   e x a m p l e . c o m / s p e c i a l - s t o r a g e .   C a p a c i t y :   . . .   e x a m p l e . c o m / s p e c i a l - s t o r a g e :   8 0 0 G i   T h e n   a   C o n t a i n e r   c o u l d   r e q u e s t   a n y   n u m b e r   o f   b y t e s   o f   s p e c i a l   s t o r a g e ,   u p   t o   8 0 0 G i .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/extended-resource-node/",
    "id": "k8s_00747_section_3_16347"
  },
  {
    "question": "What is Clean up?",
    "answer": "H e r e   i s   a   P A T C H   r e q u e s t   t h a t   r e m o v e s   t h e   d o n g l e   a d v e r t i s e m e n t   f r o m   a   N o d e .   P A T C H   / a p i / v 1 / n o d e s / < y o u r - n o d e - n a m e > / s t a t u s   H T T P / 1 . 1   A c c e p t :   a p p l i c a t i o n / j s o n   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n - p a t c h + j s o n   H o s t :   k 8 s - m a s t e r : 8 0 8 0   [   {   \" o p \" :   \" r e m o v e \" ,   \" p a t h \" :   \" / s t a t u s / c a p a c i t y / e x a m p l e . c o m ~ 1 d o n g l e \" ,   }   ]   S t a r t   a   p r o x y ,   s o   t h a t   y o u   c a n   e a s i l y   s e n d   r e q u e s t s   t o   t h e   K u b e r n e t e s   A P I   s e r v e r :   k u b e c t l   p r o x y   I n   a n o t h e r   c o m m a n d   w i n d o w ,   s e n d   t h e   H T T P   P A T C H   r e q u e s t .   R e p l a c e   < y o u r - n o d e - n a m e >   w i t h   t h e   n a m e   o f   y o u r   N o d e :   c u r l   - - h e a d e r   \" C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n - p a t c h + j s o n \"   \\   - - r e q u e s t   P A T C H   \\   - - d a t a   ' [ { \" o p \" :   \" r e m o v e \" ,   \" p a t h \" :   \" / s t a t u s / c a p a c i t y / e x a m p l e . c o m ~ 1 d o n g l e \" } ] '   \\   h t t p : / / l o c a l h o s t : 8 0 0 1 / a p i / v 1 / n o d e s / < y o u r - n o d e - n a m e > / s t a t u s   V e r i f y   t h a t   t h e   d o n g l e   a d v e r t i s e m e n t   h a s   b e e n   r e m o v e d :   k u b e c t l   d e s c r i b e   n o d e   < y o u r - n o d e - n a m e >   |   g r e p   d o n g l e   ( y o u   s h o u l d   n o t   s e e   a n y   o u t p u t )",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/extended-resource-node/",
    "id": "k8s_00747_section_2_16348"
  },
  {
    "question": "What is For application developers?",
    "answer": "A s s i g n   E x t e n d e d   R e s o u r c e s   t o   a   C o n t a i n e r E x t e n d e d   R e s o u r c e   a l l o c a t i o n   b y   D R A",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/extended-resource-node/",
    "id": "k8s_00747_section_3_16349"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e E x t e n d e d   R e s o u r c e   a l l o c a t i o n   b y   D R A",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/extended-resource-node/",
    "id": "k8s_00747_section_3_16350"
  },
  {
    "question": "What is kubectl auth whoami?",
    "answer": "kubectl auth whoamiSynopsisExperimental: Check who you are and your attributes (groups, extra). This command is helpful to get yourself aware of the current user attributes, especially when dynamic authentication, e.g., token webhook, auth proxy, or OIDC provider, is enabled in the Kubernetes cluster. kubectl auth whoami Examples # Get your subject attributes kubectl auth whoami # Get your subject attributes in JSON format kubectl auth whoami -o json Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-h, --helphelp for whoami-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API ser",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_whoami/",
    "id": "k8s_00748_qa_16351"
  },
  {
    "question": "How does kubectl auth whoami work?",
    "answer": "kubectl auth whoamiSynopsisExperimental: Check who you are and your attributes (groups, extra). This command is helpful to get yourself aware of the current user attributes, especially when dynamic authentication, e.g., token webhook, auth proxy, or OIDC provider, is enabled in the Kubernetes cluster. kubectl auth whoami Examples # Get your subject attributes kubectl auth whoami # Get your subject attributes in JSON format kubectl auth whoami -o json Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-h, --helphelp for whoami-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API ser",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_whoami/",
    "id": "k8s_00748_qa_16352"
  },
  {
    "question": "When would you use kubectl auth whoami?",
    "answer": "kubectl auth whoamiSynopsisExperimental: Check who you are and your attributes (groups, extra). This command is helpful to get yourself aware of the current user attributes, especially when dynamic authentication, e.g., token webhook, auth proxy, or OIDC provider, is enabled in the Kubernetes cluster. kubectl auth whoami Examples # Get your subject attributes kubectl auth whoami # Get your subject attributes in JSON format kubectl auth whoami -o json Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-h, --helphelp for whoami-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API ser",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_whoami/",
    "id": "k8s_00748_qa_16353"
  },
  {
    "question": "What are the benefits of kubectl auth whoami?",
    "answer": "kubectl auth whoamiSynopsisExperimental: Check who you are and your attributes (groups, extra). This command is helpful to get yourself aware of the current user attributes, especially when dynamic authentication, e.g., token webhook, auth proxy, or OIDC provider, is enabled in the Kubernetes cluster. kubectl auth whoami Examples # Get your subject attributes kubectl auth whoami # Get your subject attributes in JSON format kubectl auth whoami -o json Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-h, --helphelp for whoami-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API ser",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_whoami/",
    "id": "k8s_00748_qa_16354"
  },
  {
    "question": "What is Synopsis?",
    "answer": "E x p e r i m e n t a l :   C h e c k   w h o   y o u   a r e   a n d   y o u r   a t t r i b u t e s   ( g r o u p s ,   e x t r a ) .   T h i s   c o m m a n d   i s   h e l p f u l   t o   g e t   y o u r s e l f   a w a r e   o f   t h e   c u r r e n t   u s e r   a t t r i b u t e s ,   e s p e c i a l l y   w h e n   d y n a m i c   a u t h e n t i c a t i o n ,   e . g . ,   t o k e n   w e b h o o k ,   a u t h   p r o x y ,   o r   O I D C   p r o v i d e r ,   i s   e n a b l e d   i n   t h e   K u b e r n e t e s   c l u s t e r .   k u b e c t l   a u t h   w h o a m i",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_whoami/",
    "id": "k8s_00748_section_2_16355"
  },
  {
    "question": "What is Examples?",
    "answer": "#   G e t   y o u r   s u b j e c t   a t t r i b u t e s   k u b e c t l   a u t h   w h o a m i   #   G e t   y o u r   s u b j e c t   a t t r i b u t e s   i n   J S O N   f o r m a t   k u b e c t l   a u t h   w h o a m i   - o   j s o n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_whoami/",
    "id": "k8s_00748_section_2_16356"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   h e l p   f o r   w h o a m i   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t e x t / t e m p l a t e / # p k g - o v e r v i e w ] .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_whoami/",
    "id": "k8s_00748_section_2_16357"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_whoami/",
    "id": "k8s_00748_section_2_16358"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   a u t h   -   I n s p e c t   a u t h o r i z a t i o n   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_auth/kubectl_auth_whoami/",
    "id": "k8s_00748_section_2_16359"
  },
  {
    "question": "What is Controlling Access to the Kubernetes API?",
    "answer": "Controlling Access to the Kubernetes APIThis page provides an overview of controlling access to the Kubernetes API.Users access the Kubernetes API using kubectl, client libraries, or by making REST requests. Both human users and Kubernetes service accounts can be authorized for API access. When a request reaches the API, it goes through several stages, illustrated in the following diagram:Transport securityBy default, the Kubernetes API server listens on port 6443 on the first non-localhost network interface, protected by TLS. In a typical production Kubernetes cluster, the API serves on port 443. The port can be changed with the --secure-port, and the listening IP address with the --bind-address flag.The API server presents a certificate. This certificate may be signed using a private certificate authority (CA), or based on a public key infrastructure linked to a generally recognized CA. The certificate and corresponding private key can be set by using the --tls-cert-file and --tls-private-key-file flags.If your cluster uses a private certificate authority, you need a copy of that CA certificate configured into your ~/.kube/config on the client, so that you can trust the connection and be confident it was not intercepted.Your client can present a TLS client certificate at this stage.AuthenticationOnce TLS is established, the HTTP request moves to the Authentication step. This is shown as step 1 in the diagram. The cluster creation script or cluster admin configures the API server to run one or more Authenticator modules. Authenticators are described in more detail in Authentication.The input to the authentication step is the entire HTTP request; however, it typically examines the headers and/or client certificate.Authentication modules include client certificates, password, and plain tokens, bootstrap tokens, and JSON Web Tokens (used for service accounts).Multiple authentication modules can be specified, in which case each one is tried in sequence, until one of them succeeds.If the request cannot be authenticated, it is rejected with HTTP status code 401. Otherwise, the user is authenticated as a specific username, and the user name is available to subsequent steps to use in their decisions. Some authenticators also provide the group memberships of the user, while other authenticators do not.While Kubernetes uses usernames for access control decisions and in request logging, it does not have a User object nor does it store usernames or other information about users in its API.AuthorizationAfter the request is authenticated as coming from a specific user, the request must be authorized. This is shown as step 2 in the diagram.A request must include the username of the requester, the requested action, and the object affected by the action. The request is authorized if an existing policy declares that the user has permissions to complete the requested action.For example, if Bob has the policy below, then he can read pods only in the namespace proje",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/controlling-access/",
    "id": "k8s_00749_qa_16360"
  },
  {
    "question": "How does Controlling Access to the Kubernetes API work?",
    "answer": "Controlling Access to the Kubernetes APIThis page provides an overview of controlling access to the Kubernetes API.Users access the Kubernetes API using kubectl, client libraries, or by making REST requests. Both human users and Kubernetes service accounts can be authorized for API access. When a request reaches the API, it goes through several stages, illustrated in the following diagram:Transport securityBy default, the Kubernetes API server listens on port 6443 on the first non-localhost network interface, protected by TLS. In a typical production Kubernetes cluster, the API serves on port 443. The port can be changed with the --secure-port, and the listening IP address with the --bind-address flag.The API server presents a certificate. This certificate may be signed using a private certificate authority (CA), or based on a public key infrastructure linked to a generally recognized CA. The certificate and corresponding private key can be set by using the --tls-cert-file and --tls-private-key-file flags.If your cluster uses a private certificate authority, you need a copy of that CA certificate configured into your ~/.kube/config on the client, so that you can trust the connection and be confident it was not intercepted.Your client can present a TLS client certificate at this stage.AuthenticationOnce TLS is established, the HTTP request moves to the Authentication step. This is shown as step 1 in the diagram. The cluster creation script or cluster admin configures the API server to run one or more Authenticator modules. Authenticators are described in more detail in Authentication.The input to the authentication step is the entire HTTP request; however, it typically examines the headers and/or client certificate.Authentication modules include client certificates, password, and plain tokens, bootstrap tokens, and JSON Web Tokens (used for service accounts).Multiple authentication modules can be specified, in which case each one is tried in sequence, until one of them succeeds.If the request cannot be authenticated, it is rejected with HTTP status code 401. Otherwise, the user is authenticated as a specific username, and the user name is available to subsequent steps to use in their decisions. Some authenticators also provide the group memberships of the user, while other authenticators do not.While Kubernetes uses usernames for access control decisions and in request logging, it does not have a User object nor does it store usernames or other information about users in its API.AuthorizationAfter the request is authenticated as coming from a specific user, the request must be authorized. This is shown as step 2 in the diagram.A request must include the username of the requester, the requested action, and the object affected by the action. The request is authorized if an existing policy declares that the user has permissions to complete the requested action.For example, if Bob has the policy below, then he can read pods only in the namespace proje",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/controlling-access/",
    "id": "k8s_00749_qa_16361"
  },
  {
    "question": "When would you use Controlling Access to the Kubernetes API?",
    "answer": "Controlling Access to the Kubernetes APIThis page provides an overview of controlling access to the Kubernetes API.Users access the Kubernetes API using kubectl, client libraries, or by making REST requests. Both human users and Kubernetes service accounts can be authorized for API access. When a request reaches the API, it goes through several stages, illustrated in the following diagram:Transport securityBy default, the Kubernetes API server listens on port 6443 on the first non-localhost network interface, protected by TLS. In a typical production Kubernetes cluster, the API serves on port 443. The port can be changed with the --secure-port, and the listening IP address with the --bind-address flag.The API server presents a certificate. This certificate may be signed using a private certificate authority (CA), or based on a public key infrastructure linked to a generally recognized CA. The certificate and corresponding private key can be set by using the --tls-cert-file and --tls-private-key-file flags.If your cluster uses a private certificate authority, you need a copy of that CA certificate configured into your ~/.kube/config on the client, so that you can trust the connection and be confident it was not intercepted.Your client can present a TLS client certificate at this stage.AuthenticationOnce TLS is established, the HTTP request moves to the Authentication step. This is shown as step 1 in the diagram. The cluster creation script or cluster admin configures the API server to run one or more Authenticator modules. Authenticators are described in more detail in Authentication.The input to the authentication step is the entire HTTP request; however, it typically examines the headers and/or client certificate.Authentication modules include client certificates, password, and plain tokens, bootstrap tokens, and JSON Web Tokens (used for service accounts).Multiple authentication modules can be specified, in which case each one is tried in sequence, until one of them succeeds.If the request cannot be authenticated, it is rejected with HTTP status code 401. Otherwise, the user is authenticated as a specific username, and the user name is available to subsequent steps to use in their decisions. Some authenticators also provide the group memberships of the user, while other authenticators do not.While Kubernetes uses usernames for access control decisions and in request logging, it does not have a User object nor does it store usernames or other information about users in its API.AuthorizationAfter the request is authenticated as coming from a specific user, the request must be authorized. This is shown as step 2 in the diagram.A request must include the username of the requester, the requested action, and the object affected by the action. The request is authorized if an existing policy declares that the user has permissions to complete the requested action.For example, if Bob has the policy below, then he can read pods only in the namespace proje",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/controlling-access/",
    "id": "k8s_00749_qa_16362"
  },
  {
    "question": "What are the benefits of Controlling Access to the Kubernetes API?",
    "answer": "Controlling Access to the Kubernetes APIThis page provides an overview of controlling access to the Kubernetes API.Users access the Kubernetes API using kubectl, client libraries, or by making REST requests. Both human users and Kubernetes service accounts can be authorized for API access. When a request reaches the API, it goes through several stages, illustrated in the following diagram:Transport securityBy default, the Kubernetes API server listens on port 6443 on the first non-localhost network interface, protected by TLS. In a typical production Kubernetes cluster, the API serves on port 443. The port can be changed with the --secure-port, and the listening IP address with the --bind-address flag.The API server presents a certificate. This certificate may be signed using a private certificate authority (CA), or based on a public key infrastructure linked to a generally recognized CA. The certificate and corresponding private key can be set by using the --tls-cert-file and --tls-private-key-file flags.If your cluster uses a private certificate authority, you need a copy of that CA certificate configured into your ~/.kube/config on the client, so that you can trust the connection and be confident it was not intercepted.Your client can present a TLS client certificate at this stage.AuthenticationOnce TLS is established, the HTTP request moves to the Authentication step. This is shown as step 1 in the diagram. The cluster creation script or cluster admin configures the API server to run one or more Authenticator modules. Authenticators are described in more detail in Authentication.The input to the authentication step is the entire HTTP request; however, it typically examines the headers and/or client certificate.Authentication modules include client certificates, password, and plain tokens, bootstrap tokens, and JSON Web Tokens (used for service accounts).Multiple authentication modules can be specified, in which case each one is tried in sequence, until one of them succeeds.If the request cannot be authenticated, it is rejected with HTTP status code 401. Otherwise, the user is authenticated as a specific username, and the user name is available to subsequent steps to use in their decisions. Some authenticators also provide the group memberships of the user, while other authenticators do not.While Kubernetes uses usernames for access control decisions and in request logging, it does not have a User object nor does it store usernames or other information about users in its API.AuthorizationAfter the request is authenticated as coming from a specific user, the request must be authorized. This is shown as step 2 in the diagram.A request must include the username of the requester, the requested action, and the object affected by the action. The request is authorized if an existing policy declares that the user has permissions to complete the requested action.For example, if Bob has the policy below, then he can read pods only in the namespace proje",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/controlling-access/",
    "id": "k8s_00749_qa_16363"
  },
  {
    "question": "What is Controlling Access to the Kubernetes API?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   o f   c o n t r o l l i n g   a c c e s s   t o   t h e   K u b e r n e t e s   A P I .   U s e r s   a c c e s s   t h e   K u b e r n e t e s   A P I   u s i n g   k u b e c t l ,   c l i e n t   l i b r a r i e s ,   o r   b y   m a k i n g   R E S T   r e q u e s t s .   B o t h   h u m a n   u s e r s   a n d   K u b e r n e t e s   s e r v i c e   a c c o u n t s   c a n   b e   a u t h o r i z e d   f o r   A P I   a c c e s s .   W h e n   a   r e q u e s t   r e a c h e s   t h e   A P I ,   i t   g o e s   t h r o u g h   s e v e r a l   s t a g e s ,   i l l u s t r a t e d   i n   t h e   f o l l o w i n g   d i a g r a m :",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/controlling-access/",
    "id": "k8s_00749_section_1_16364"
  },
  {
    "question": "What is Transport security?",
    "answer": "B y   d e f a u l t ,   t h e   K u b e r n e t e s   A P I   s e r v e r   l i s t e n s   o n   p o r t   6 4 4 3   o n   t h e   f i r s t   n o n - l o c a l h o s t   n e t w o r k   i n t e r f a c e ,   p r o t e c t e d   b y   T L S .   I n   a   t y p i c a l   p r o d u c t i o n   K u b e r n e t e s   c l u s t e r ,   t h e   A P I   s e r v e s   o n   p o r t   4 4 3 .   T h e   p o r t   c a n   b e   c h a n g e d   w i t h   t h e   - - s e c u r e - p o r t ,   a n d   t h e   l i s t e n i n g   I P   a d d r e s s   w i t h   t h e   - - b i n d - a d d r e s s   f l a g .   T h e   A P I   s e r v e r   p r e s e n t s   a   c e r t i f i c a t e .   T h i s   c e r t i f i c a t e   m a y   b e   s i g n e d   u s i n g   a   p r i v a t e   c e r t i f i c a t e   a u t h o r i t y   ( C A ) ,   o r   b a s e d   o n   a   p u b l i c   k e y   i n f r a s t r u c t u r e   l i n k e d   t o   a   g e n e r a l l y   r e c o g n i z e d   C A .   T h e   c e r t i f i c a t e   a n d   c o r r e s p o n d i n g   p r i v a t e   k e y   c a n   b e   s e t   b y   u s i n g   t h e   - - t l s - c e r t - f i l e   a n d   - - t l s - p r i v a t e - k e y - f i l e   f l a g s .   I f   y o u r   c l u s t e r   u s e s   a   p r i v a t e   c e r t i f i c a t e   a u t h o r i t y ,   y o u   n e e d   a   c o p y   o f   t h a t   C A   c e r t i f i c a t e   c o n f i g u r e d   i n t o   y o u r   ~ / . k u b e / c o n f i g   o n   t h e   c l i e n t ,   s o   t h a t   y o u   c a n   t r u s t   t h e   c o n n e c t i o n   a n d   b e   c o n f i d e n t   i t   w a s   n o t   i n t e r c e p t e d .   Y o u r   c l i e n t   c a n   p r e s e n t   a   T L S   c l i e n t   c e r t i f i c a t e   a t   t h i s   s t a g e .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/controlling-access/",
    "id": "k8s_00749_section_2_16365"
  },
  {
    "question": "What is Authentication?",
    "answer": "O n c e   T L S   i s   e s t a b l i s h e d ,   t h e   H T T P   r e q u e s t   m o v e s   t o   t h e   A u t h e n t i c a t i o n   s t e p .   T h i s   i s   s h o w n   a s   s t e p   1   i n   t h e   d i a g r a m .   T h e   c l u s t e r   c r e a t i o n   s c r i p t   o r   c l u s t e r   a d m i n   c o n f i g u r e s   t h e   A P I   s e r v e r   t o   r u n   o n e   o r   m o r e   A u t h e n t i c a t o r   m o d u l e s .   A u t h e n t i c a t o r s   a r e   d e s c r i b e d   i n   m o r e   d e t a i l   i n   A u t h e n t i c a t i o n .   T h e   i n p u t   t o   t h e   a u t h e n t i c a t i o n   s t e p   i s   t h e   e n t i r e   H T T P   r e q u e s t ;   h o w e v e r ,   i t   t y p i c a l l y   e x a m i n e s   t h e   h e a d e r s   a n d / o r   c l i e n t   c e r t i f i c a t e .   A u t h e n t i c a t i o n   m o d u l e s   i n c l u d e   c l i e n t   c e r t i f i c a t e s ,   p a s s w o r d ,   a n d   p l a i n   t o k e n s ,   b o o t s t r a p   t o k e n s ,   a n d   J S O N   W e b   T o k e n s   ( u s e d   f o r   s e r v i c e   a c c o u n t s ) .   M u l t i p l e   a u t h e n t i c a t i o n   m o d u l e s   c a n   b e   s p e c i f i e d ,   i n   w h i c h   c a s e   e a c h   o n e   i s   t r i e d   i n   s e q u e n c e ,   u n t i l   o n e   o f   t h e m   s u c c e e d s .   I f   t h e   r e q u e s t   c a n n o t   b e   a u t h e n t i c a t e d ,   i t   i s   r e j e c t e d   w i t h   H T T P   s t a t u s   c o d e   4 0 1 .   O t h e r w i s e ,   t h e   u s e r   i s   a u t h e n t i c a t e d   a s   a   s p e c i f i c   u s e r n a m e ,   a n d   t h e   u s e r   n a m e   i s   a v a i l a b l e   t o   s u b s e q u e n t   s t e p s   t o   u s e   i n   t h e i r   d e c i s i o n s .   S o m e   a u t h e n t i c a t o r s   a l s o   p r o v i d e   t h e   g r o u p   m e m b e r s h i p s   o f   t h e   u s e r ,   w h i l e   o t h e r   a u ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/controlling-access/",
    "id": "k8s_00749_section_2_16366"
  },
  {
    "question": "What is Authorization?",
    "answer": "A f t e r   t h e   r e q u e s t   i s   a u t h e n t i c a t e d   a s   c o m i n g   f r o m   a   s p e c i f i c   u s e r ,   t h e   r e q u e s t   m u s t   b e   a u t h o r i z e d .   T h i s   i s   s h o w n   a s   s t e p   2   i n   t h e   d i a g r a m .   A   r e q u e s t   m u s t   i n c l u d e   t h e   u s e r n a m e   o f   t h e   r e q u e s t e r ,   t h e   r e q u e s t e d   a c t i o n ,   a n d   t h e   o b j e c t   a f f e c t e d   b y   t h e   a c t i o n .   T h e   r e q u e s t   i s   a u t h o r i z e d   i f   a n   e x i s t i n g   p o l i c y   d e c l a r e s   t h a t   t h e   u s e r   h a s   p e r m i s s i o n s   t o   c o m p l e t e   t h e   r e q u e s t e d   a c t i o n .   F o r   e x a m p l e ,   i f   B o b   h a s   t h e   p o l i c y   b e l o w ,   t h e n   h e   c a n   r e a d   p o d s   o n l y   i n   t h e   n a m e s p a c e   p r o j e c t C a r i b o u :   {   \" a p i V e r s i o n \" :   \" a b a c . a u t h o r i z a t i o n . k u b e r n e t e s . i o / v 1 b e t a 1 \" ,   \" k i n d \" :   \" P o l i c y \" ,   \" s p e c \" :   {   \" u s e r \" :   \" b o b \" ,   \" n a m e s p a c e \" :   \" p r o j e c t C a r i b o u \" ,   \" r e s o u r c e \" :   \" p o d s \" ,   \" r e a d o n l y \" :   t r u e   }   }   I f   B o b   m a k e s   t h e   f o l l o w i n g   r e q u e s t ,   t h e   r e q u e s t   i s   a u t h o r i z e d   b e c a u s e   h e   i s   a l l o w e d   t o   r e a d   o b j e c t s   i n   t h e   p r o j e c t C a r i b o u   n a m e s p a c e :   {   \" a p i V e r s i o n \" :   \" a u t h o r i z a t i o n . k 8 s . i o / v 1 b e t a 1 \" ,   \" k i n d \" :   \" S u b j e c t A c c e s s R e v i e w \" ,   \" s p e c \" :   {   \" r e s o u r c e A t t r i b u t e s \" :   {   \" n a m e s p a c e \" :   \" p r o j e c t C a r i b o u \" ,   \" v e r b \" :   \" g e t \" ,   \" g r o u p \" :   \" u n i c o r n . e x a m p l e . o r g \" ,   \" r e s o u r c e \" :   \" p o d s \"   }   }   } ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/controlling-access/",
    "id": "k8s_00749_section_2_16367"
  },
  {
    "question": "What is Admission control?",
    "answer": "A d m i s s i o n   C o n t r o l   m o d u l e s   a r e   s o f t w a r e   m o d u l e s   t h a t   c a n   m o d i f y   o r   r e j e c t   r e q u e s t s .   I n   a d d i t i o n   t o   t h e   a t t r i b u t e s   a v a i l a b l e   t o   A u t h o r i z a t i o n   m o d u l e s ,   A d m i s s i o n   C o n t r o l   m o d u l e s   c a n   a c c e s s   t h e   c o n t e n t s   o f   t h e   o b j e c t   t h a t   i s   b e i n g   c r e a t e d   o r   m o d i f i e d .   A d m i s s i o n   c o n t r o l l e r s   a c t   o n   r e q u e s t s   t h a t   c r e a t e ,   m o d i f y ,   d e l e t e ,   o r   c o n n e c t   t o   ( p r o x y )   a n   o b j e c t .   A d m i s s i o n   c o n t r o l l e r s   d o   n o t   a c t   o n   r e q u e s t s   t h a t   m e r e l y   r e a d   o b j e c t s .   W h e n   m u l t i p l e   a d m i s s i o n   c o n t r o l l e r s   a r e   c o n f i g u r e d ,   t h e y   a r e   c a l l e d   i n   o r d e r .   T h i s   i s   s h o w n   a s   s t e p   3   i n   t h e   d i a g r a m .   U n l i k e   A u t h e n t i c a t i o n   a n d   A u t h o r i z a t i o n   m o d u l e s ,   i f   a n y   a d m i s s i o n   c o n t r o l l e r   m o d u l e   r e j e c t s ,   t h e n   t h e   r e q u e s t   i s   i m m e d i a t e l y   r e j e c t e d .   I n   a d d i t i o n   t o   r e j e c t i n g   o b j e c t s ,   a d m i s s i o n   c o n t r o l l e r s   c a n   a l s o   s e t   c o m p l e x   d e f a u l t s   f o r   f i e l d s .   T h e   a v a i l a b l e   A d m i s s i o n   C o n t r o l   m o d u l e s   a r e   d e s c r i b e d   i n   A d m i s s i o n   C o n t r o l l e r s .   O n c e   a   r e q u e s t   p a s s e s   a l l   a d m i s s i o n   c o n t r o l l e r s ,   i t   i s   v a l i d a t e d   u s i n g   t h e   v a l i d a t i o n   r o u t i n e s   f o r   t h e   c o r r e s p o n d i n g   A P I   o b j e c t ,   a n d   t h e n   w r i t t e n   t o   t ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/controlling-access/",
    "id": "k8s_00749_section_2_16368"
  },
  {
    "question": "What is Auditing?",
    "answer": "K u b e r n e t e s   a u d i t i n g   p r o v i d e s   a   s e c u r i t y - r e l e v a n t ,   c h r o n o l o g i c a l   s e t   o f   r e c o r d s   d o c u m e n t i n g   t h e   s e q u e n c e   o f   a c t i o n s   i n   a   c l u s t e r .   T h e   c l u s t e r   a u d i t s   t h e   a c t i v i t i e s   g e n e r a t e d   b y   u s e r s ,   b y   a p p l i c a t i o n s   t h a t   u s e   t h e   K u b e r n e t e s   A P I ,   a n d   b y   t h e   c o n t r o l   p l a n e   i t s e l f .   F o r   m o r e   i n f o r m a t i o n ,   s e e   A u d i t i n g .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/controlling-access/",
    "id": "k8s_00749_section_2_16369"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   m o r e   d o c u m e n t a t i o n   o n   a u t h e n t i c a t i o n ,   a u t h o r i z a t i o n   a n d   A P I   a c c e s s   c o n t r o l :   A u t h e n t i c a t i n g A u t h e n t i c a t i n g   w i t h   B o o t s t r a p   T o k e n s A d m i s s i o n   C o n t r o l l e r s D y n a m i c   A d m i s s i o n   C o n t r o l A u t h o r i z a t i o n R o l e   B a s e d   A c c e s s   C o n t r o l A t t r i b u t e   B a s e d   A c c e s s   C o n t r o l N o d e   A u t h o r i z a t i o n W e b h o o k   A u t h o r i z a t i o n C e r t i f i c a t e   S i g n i n g   R e q u e s t s i n c l u d i n g   C S R   a p p r o v a l   a n d   c e r t i f i c a t e   s i g n i n g S e r v i c e   a c c o u n t s D e v e l o p e r   g u i d e A d m i n i s t r a t i o n   A u t h e n t i c a t i n g   w i t h   B o o t s t r a p   T o k e n s   D y n a m i c   A d m i s s i o n   C o n t r o l   R o l e   B a s e d   A c c e s s   C o n t r o l A t t r i b u t e   B a s e d   A c c e s s   C o n t r o l N o d e   A u t h o r i z a t i o n W e b h o o k   A u t h o r i z a t i o n   i n c l u d i n g   C S R   a p p r o v a l   a n d   c e r t i f i c a t e   s i g n i n g   D e v e l o p e r   g u i d e A d m i n i s t r a t i o n   Y o u   c a n   l e a r n   a b o u t :   h o w   P o d s   c a n   u s e   S e c r e t s   t o   o b t a i n   A P I   c r e d e n t i a l s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/controlling-access/",
    "id": "k8s_00749_section_2_16370"
  },
  {
    "question": "What is Use Cilium for NetworkPolicy?",
    "answer": "Use Cilium for NetworkPolicyThis page shows how to use Cilium for NetworkPolicy.For background on Cilium, read the Introduction to Cilium.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Deploying Cilium on Minikube for Basic TestingTo get familiar with Cilium easily you can follow the Cilium Kubernetes Getting Started Guide to perform a basic DaemonSet installation of Cilium in minikube.To start minikube, minimal version required is >= v1.5.2, run the with the following arguments:minikube version minikube version: v1.5.2 minikube start --network-plugin=cni For minikube you can install Cilium using its CLI tool. To do so, first download the latest version of the CLI with the following command:curl -LO https://github.com/cilium/cilium-cli/releases/latest/download/cilium-linux-amd64.tar.gz Then extract the downloaded file to your /usr/local/bin directory with the following command:sudo tar xzvfC cilium-linux-amd64.tar.gz /usr/local/bin rm cilium-linux-amd64.tar.gz After running the above commands, you can now install Cilium with the following command:cilium install Cilium will then automatically detect the cluster configuration and create and install the appropriate components for a successful installation. The components are:Certificate Authority (CA) in Secret cilium-ca and certificates for Hubble (Cilium's observability layer).Service accounts.Cluster roles.ConfigMap.Agent DaemonSet and an Operator Deployment.After the installation, you can view the overall status of the Cilium deployment with the cilium status command. See the expected output of the status command here.The remainder of the Getting Started Guide explains how to enforce both L3/L4 (i.e., IP address + port) security policies, as well as L7 (e.g., HTTP) security policies using an example application.Deploying Cilium for Production UseFor detailed instructions around deploying Cilium for production, see: Cilium Kubernetes Installation Guide This documentation includes detailed requirements, instructions and example production DaemonSet files.Understanding Cilium componentsDeploying a cluster with Cilium adds Pods to the kube-system namespace. To see this list of Pods run:kubectl get pods --namespace=kube-system -l k8s-app=cilium You'll see a list of Pods similar to this:NAME READY STATUS RESTARTS AGE cilium-kkdhz 1/1 Running 0 3m23s ... A cilium Pod runs on each node in your cluster and enforces network policy on the traffic to/from Pods on that node using Linux BPF.What's nextOnce your cluster is running, you can follow the Declare Network Policy to try ou",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/cilium-network-policy/",
    "id": "k8s_00750_qa_16371"
  },
  {
    "question": "How does Use Cilium for NetworkPolicy work?",
    "answer": "Use Cilium for NetworkPolicyThis page shows how to use Cilium for NetworkPolicy.For background on Cilium, read the Introduction to Cilium.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Deploying Cilium on Minikube for Basic TestingTo get familiar with Cilium easily you can follow the Cilium Kubernetes Getting Started Guide to perform a basic DaemonSet installation of Cilium in minikube.To start minikube, minimal version required is >= v1.5.2, run the with the following arguments:minikube version minikube version: v1.5.2 minikube start --network-plugin=cni For minikube you can install Cilium using its CLI tool. To do so, first download the latest version of the CLI with the following command:curl -LO https://github.com/cilium/cilium-cli/releases/latest/download/cilium-linux-amd64.tar.gz Then extract the downloaded file to your /usr/local/bin directory with the following command:sudo tar xzvfC cilium-linux-amd64.tar.gz /usr/local/bin rm cilium-linux-amd64.tar.gz After running the above commands, you can now install Cilium with the following command:cilium install Cilium will then automatically detect the cluster configuration and create and install the appropriate components for a successful installation. The components are:Certificate Authority (CA) in Secret cilium-ca and certificates for Hubble (Cilium's observability layer).Service accounts.Cluster roles.ConfigMap.Agent DaemonSet and an Operator Deployment.After the installation, you can view the overall status of the Cilium deployment with the cilium status command. See the expected output of the status command here.The remainder of the Getting Started Guide explains how to enforce both L3/L4 (i.e., IP address + port) security policies, as well as L7 (e.g., HTTP) security policies using an example application.Deploying Cilium for Production UseFor detailed instructions around deploying Cilium for production, see: Cilium Kubernetes Installation Guide This documentation includes detailed requirements, instructions and example production DaemonSet files.Understanding Cilium componentsDeploying a cluster with Cilium adds Pods to the kube-system namespace. To see this list of Pods run:kubectl get pods --namespace=kube-system -l k8s-app=cilium You'll see a list of Pods similar to this:NAME READY STATUS RESTARTS AGE cilium-kkdhz 1/1 Running 0 3m23s ... A cilium Pod runs on each node in your cluster and enforces network policy on the traffic to/from Pods on that node using Linux BPF.What's nextOnce your cluster is running, you can follow the Declare Network Policy to try ou",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/cilium-network-policy/",
    "id": "k8s_00750_qa_16372"
  },
  {
    "question": "When would you use Use Cilium for NetworkPolicy?",
    "answer": "Use Cilium for NetworkPolicyThis page shows how to use Cilium for NetworkPolicy.For background on Cilium, read the Introduction to Cilium.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Deploying Cilium on Minikube for Basic TestingTo get familiar with Cilium easily you can follow the Cilium Kubernetes Getting Started Guide to perform a basic DaemonSet installation of Cilium in minikube.To start minikube, minimal version required is >= v1.5.2, run the with the following arguments:minikube version minikube version: v1.5.2 minikube start --network-plugin=cni For minikube you can install Cilium using its CLI tool. To do so, first download the latest version of the CLI with the following command:curl -LO https://github.com/cilium/cilium-cli/releases/latest/download/cilium-linux-amd64.tar.gz Then extract the downloaded file to your /usr/local/bin directory with the following command:sudo tar xzvfC cilium-linux-amd64.tar.gz /usr/local/bin rm cilium-linux-amd64.tar.gz After running the above commands, you can now install Cilium with the following command:cilium install Cilium will then automatically detect the cluster configuration and create and install the appropriate components for a successful installation. The components are:Certificate Authority (CA) in Secret cilium-ca and certificates for Hubble (Cilium's observability layer).Service accounts.Cluster roles.ConfigMap.Agent DaemonSet and an Operator Deployment.After the installation, you can view the overall status of the Cilium deployment with the cilium status command. See the expected output of the status command here.The remainder of the Getting Started Guide explains how to enforce both L3/L4 (i.e., IP address + port) security policies, as well as L7 (e.g., HTTP) security policies using an example application.Deploying Cilium for Production UseFor detailed instructions around deploying Cilium for production, see: Cilium Kubernetes Installation Guide This documentation includes detailed requirements, instructions and example production DaemonSet files.Understanding Cilium componentsDeploying a cluster with Cilium adds Pods to the kube-system namespace. To see this list of Pods run:kubectl get pods --namespace=kube-system -l k8s-app=cilium You'll see a list of Pods similar to this:NAME READY STATUS RESTARTS AGE cilium-kkdhz 1/1 Running 0 3m23s ... A cilium Pod runs on each node in your cluster and enforces network policy on the traffic to/from Pods on that node using Linux BPF.What's nextOnce your cluster is running, you can follow the Declare Network Policy to try ou",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/cilium-network-policy/",
    "id": "k8s_00750_qa_16373"
  },
  {
    "question": "What are the benefits of Use Cilium for NetworkPolicy?",
    "answer": "Use Cilium for NetworkPolicyThis page shows how to use Cilium for NetworkPolicy.For background on Cilium, read the Introduction to Cilium.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Deploying Cilium on Minikube for Basic TestingTo get familiar with Cilium easily you can follow the Cilium Kubernetes Getting Started Guide to perform a basic DaemonSet installation of Cilium in minikube.To start minikube, minimal version required is >= v1.5.2, run the with the following arguments:minikube version minikube version: v1.5.2 minikube start --network-plugin=cni For minikube you can install Cilium using its CLI tool. To do so, first download the latest version of the CLI with the following command:curl -LO https://github.com/cilium/cilium-cli/releases/latest/download/cilium-linux-amd64.tar.gz Then extract the downloaded file to your /usr/local/bin directory with the following command:sudo tar xzvfC cilium-linux-amd64.tar.gz /usr/local/bin rm cilium-linux-amd64.tar.gz After running the above commands, you can now install Cilium with the following command:cilium install Cilium will then automatically detect the cluster configuration and create and install the appropriate components for a successful installation. The components are:Certificate Authority (CA) in Secret cilium-ca and certificates for Hubble (Cilium's observability layer).Service accounts.Cluster roles.ConfigMap.Agent DaemonSet and an Operator Deployment.After the installation, you can view the overall status of the Cilium deployment with the cilium status command. See the expected output of the status command here.The remainder of the Getting Started Guide explains how to enforce both L3/L4 (i.e., IP address + port) security policies, as well as L7 (e.g., HTTP) security policies using an example application.Deploying Cilium for Production UseFor detailed instructions around deploying Cilium for production, see: Cilium Kubernetes Installation Guide This documentation includes detailed requirements, instructions and example production DaemonSet files.Understanding Cilium componentsDeploying a cluster with Cilium adds Pods to the kube-system namespace. To see this list of Pods run:kubectl get pods --namespace=kube-system -l k8s-app=cilium You'll see a list of Pods similar to this:NAME READY STATUS RESTARTS AGE cilium-kkdhz 1/1 Running 0 3m23s ... A cilium Pod runs on each node in your cluster and enforces network policy on the traffic to/from Pods on that node using Linux BPF.What's nextOnce your cluster is running, you can follow the Declare Network Policy to try ou",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/cilium-network-policy/",
    "id": "k8s_00750_qa_16374"
  },
  {
    "question": "What is Use Cilium for NetworkPolicy?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   C i l i u m   f o r   N e t w o r k P o l i c y .   F o r   b a c k g r o u n d   o n   C i l i u m ,   r e a d   t h e   I n t r o d u c t i o n   t o   C i l i u m .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/cilium-network-policy/",
    "id": "k8s_00750_section_1_16375"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/cilium-network-policy/",
    "id": "k8s_00750_section_2_16376"
  },
  {
    "question": "What is Deploying Cilium on Minikube for Basic Testing?",
    "answer": "T o   g e t   f a m i l i a r   w i t h   C i l i u m   e a s i l y   y o u   c a n   f o l l o w   t h e   C i l i u m   K u b e r n e t e s   G e t t i n g   S t a r t e d   G u i d e   t o   p e r f o r m   a   b a s i c   D a e m o n S e t   i n s t a l l a t i o n   o f   C i l i u m   i n   m i n i k u b e .   T o   s t a r t   m i n i k u b e ,   m i n i m a l   v e r s i o n   r e q u i r e d   i s   > =   v 1 . 5 . 2 ,   r u n   t h e   w i t h   t h e   f o l l o w i n g   a r g u m e n t s :   m i n i k u b e   v e r s i o n   m i n i k u b e   v e r s i o n :   v 1 . 5 . 2   m i n i k u b e   s t a r t   - - n e t w o r k - p l u g i n = c n i   F o r   m i n i k u b e   y o u   c a n   i n s t a l l   C i l i u m   u s i n g   i t s   C L I   t o o l .   T o   d o   s o ,   f i r s t   d o w n l o a d   t h e   l a t e s t   v e r s i o n   o f   t h e   C L I   w i t h   t h e   f o l l o w i n g   c o m m a n d :   c u r l   - L O   h t t p s : / / g i t h u b . c o m / c i l i u m / c i l i u m - c l i / r e l e a s e s / l a t e s t / d o w n l o a d / c i l i u m - l i n u x - a m d 6 4 . t a r . g z   T h e n   e x t r a c t   t h e   d o w n l o a d e d   f i l e   t o   y o u r   / u s r / l o c a l / b i n   d i r e c t o r y   w i t h   t h e   f o l l o w i n g   c o m m a n d :   s u d o   t a r   x z v f C   c i l i u m - l i n u x - a m d 6 4 . t a r . g z   / u s r / l o c a l / b i n   r m   c i l i u m - l i n u x - a m d 6 4 . t a r . g z   A f t e r   r u n n i n g   t h e   a b o v e   c o m m a n d s ,   y o u   c a n   n o w   i n s t a l l   C i l i u m   w i t h   t h e   f o l l o w i n g   c o m m a n d :   c i l i u m   i n s t a l l   C i l i u m   w i l l   t h e n   a u t o m a t i c a l l y   d e t e c t   t h e   c l u s t e r   c o n f i g u r a t i o n   a n d   c r e a t e   a n d   i n s t a l l   t h e   a p p r o p r i a t e   c o m p o n e n t s   f o r   a   s u c c e s s f u l   i n s t a l l a t i o n .   T h e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/cilium-network-policy/",
    "id": "k8s_00750_section_2_16377"
  },
  {
    "question": "What is Deploying Cilium for Production Use?",
    "answer": "F o r   d e t a i l e d   i n s t r u c t i o n s   a r o u n d   d e p l o y i n g   C i l i u m   f o r   p r o d u c t i o n ,   s e e :   C i l i u m   K u b e r n e t e s   I n s t a l l a t i o n   G u i d e   T h i s   d o c u m e n t a t i o n   i n c l u d e s   d e t a i l e d   r e q u i r e m e n t s ,   i n s t r u c t i o n s   a n d   e x a m p l e   p r o d u c t i o n   D a e m o n S e t   f i l e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/cilium-network-policy/",
    "id": "k8s_00750_section_2_16378"
  },
  {
    "question": "What is Understanding Cilium components?",
    "answer": "D e p l o y i n g   a   c l u s t e r   w i t h   C i l i u m   a d d s   P o d s   t o   t h e   k u b e - s y s t e m   n a m e s p a c e .   T o   s e e   t h i s   l i s t   o f   P o d s   r u n :   k u b e c t l   g e t   p o d s   - - n a m e s p a c e = k u b e - s y s t e m   - l   k 8 s - a p p = c i l i u m   Y o u ' l l   s e e   a   l i s t   o f   P o d s   s i m i l a r   t o   t h i s :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   c i l i u m - k k d h z   1 / 1   R u n n i n g   0   3 m 2 3 s   . . .   A   c i l i u m   P o d   r u n s   o n   e a c h   n o d e   i n   y o u r   c l u s t e r   a n d   e n f o r c e s   n e t w o r k   p o l i c y   o n   t h e   t r a f f i c   t o / f r o m   P o d s   o n   t h a t   n o d e   u s i n g   L i n u x   B P F .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/cilium-network-policy/",
    "id": "k8s_00750_section_2_16379"
  },
  {
    "question": "What is What's next?",
    "answer": "O n c e   y o u r   c l u s t e r   i s   r u n n i n g ,   y o u   c a n   f o l l o w   t h e   D e c l a r e   N e t w o r k   P o l i c y   t o   t r y   o u t   K u b e r n e t e s   N e t w o r k P o l i c y   w i t h   C i l i u m .   H a v e   f u n ,   a n d   i f   y o u   h a v e   q u e s t i o n s ,   c o n t a c t   u s   u s i n g   t h e   C i l i u m   S l a c k   C h a n n e l .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/cilium-network-policy/",
    "id": "k8s_00750_section_2_16380"
  },
  {
    "question": "What is kubectl rollout status?",
    "answer": "kubectl rollout statusSynopsisShow the status of the rollout.By default 'rollout status' will watch the status of the latest rollout until it's done. If you don't want to wait for the rollout to finish then you can use --watch=false. Note that if a new rollout starts in-between, then 'rollout status' will continue watching the latest revision. If you want to pin to a specific revision and abort if it is rolled over by another revision, use --revision=N where N is the revision you need to watch for.kubectl rollout status (TYPE NAME | TYPE/NAME) [flags] Examples # Watch the rollout status of a deployment kubectl rollout status deployment/nginx Options-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for status-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--revision intPin to a specific revision for showing its status. Defaults to 0 (last revision).-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--timeout durationThe length of time to wait before ending watch, zero means never. Any other values should contain a corresponding time unit (e.g. 1s, 2m, 3h).-w, --watch Default: trueWatch the status of the rollout until it's done.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_status/",
    "id": "k8s_00751_qa_16381"
  },
  {
    "question": "How does kubectl rollout status work?",
    "answer": "kubectl rollout statusSynopsisShow the status of the rollout.By default 'rollout status' will watch the status of the latest rollout until it's done. If you don't want to wait for the rollout to finish then you can use --watch=false. Note that if a new rollout starts in-between, then 'rollout status' will continue watching the latest revision. If you want to pin to a specific revision and abort if it is rolled over by another revision, use --revision=N where N is the revision you need to watch for.kubectl rollout status (TYPE NAME | TYPE/NAME) [flags] Examples # Watch the rollout status of a deployment kubectl rollout status deployment/nginx Options-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for status-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--revision intPin to a specific revision for showing its status. Defaults to 0 (last revision).-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--timeout durationThe length of time to wait before ending watch, zero means never. Any other values should contain a corresponding time unit (e.g. 1s, 2m, 3h).-w, --watch Default: trueWatch the status of the rollout until it's done.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_status/",
    "id": "k8s_00751_qa_16382"
  },
  {
    "question": "When would you use kubectl rollout status?",
    "answer": "kubectl rollout statusSynopsisShow the status of the rollout.By default 'rollout status' will watch the status of the latest rollout until it's done. If you don't want to wait for the rollout to finish then you can use --watch=false. Note that if a new rollout starts in-between, then 'rollout status' will continue watching the latest revision. If you want to pin to a specific revision and abort if it is rolled over by another revision, use --revision=N where N is the revision you need to watch for.kubectl rollout status (TYPE NAME | TYPE/NAME) [flags] Examples # Watch the rollout status of a deployment kubectl rollout status deployment/nginx Options-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for status-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--revision intPin to a specific revision for showing its status. Defaults to 0 (last revision).-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--timeout durationThe length of time to wait before ending watch, zero means never. Any other values should contain a corresponding time unit (e.g. 1s, 2m, 3h).-w, --watch Default: trueWatch the status of the rollout until it's done.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_status/",
    "id": "k8s_00751_qa_16383"
  },
  {
    "question": "What are the benefits of kubectl rollout status?",
    "answer": "kubectl rollout statusSynopsisShow the status of the rollout.By default 'rollout status' will watch the status of the latest rollout until it's done. If you don't want to wait for the rollout to finish then you can use --watch=false. Note that if a new rollout starts in-between, then 'rollout status' will continue watching the latest revision. If you want to pin to a specific revision and abort if it is rolled over by another revision, use --revision=N where N is the revision you need to watch for.kubectl rollout status (TYPE NAME | TYPE/NAME) [flags] Examples # Watch the rollout status of a deployment kubectl rollout status deployment/nginx Options-f, --filename stringsFilename, directory, or URL to files identifying the resource to get from a server.-h, --helphelp for status-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--revision intPin to a specific revision for showing its status. Defaults to 0 (last revision).-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--timeout durationThe length of time to wait before ending watch, zero means never. Any other values should contain a corresponding time unit (e.g. 1s, 2m, 3h).-w, --watch Default: trueWatch the status of the rollout until it's done.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_status/",
    "id": "k8s_00751_qa_16384"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S h o w   t h e   s t a t u s   o f   t h e   r o l l o u t .   B y   d e f a u l t   ' r o l l o u t   s t a t u s '   w i l l   w a t c h   t h e   s t a t u s   o f   t h e   l a t e s t   r o l l o u t   u n t i l   i t ' s   d o n e .   I f   y o u   d o n ' t   w a n t   t o   w a i t   f o r   t h e   r o l l o u t   t o   f i n i s h   t h e n   y o u   c a n   u s e   - - w a t c h = f a l s e .   N o t e   t h a t   i f   a   n e w   r o l l o u t   s t a r t s   i n - b e t w e e n ,   t h e n   ' r o l l o u t   s t a t u s '   w i l l   c o n t i n u e   w a t c h i n g   t h e   l a t e s t   r e v i s i o n .   I f   y o u   w a n t   t o   p i n   t o   a   s p e c i f i c   r e v i s i o n   a n d   a b o r t   i f   i t   i s   r o l l e d   o v e r   b y   a n o t h e r   r e v i s i o n ,   u s e   - - r e v i s i o n = N   w h e r e   N   i s   t h e   r e v i s i o n   y o u   n e e d   t o   w a t c h   f o r .   k u b e c t l   r o l l o u t   s t a t u s   ( T Y P E   N A M E   |   T Y P E / N A M E )   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_status/",
    "id": "k8s_00751_section_2_16385"
  },
  {
    "question": "What is Examples?",
    "answer": "#   W a t c h   t h e   r o l l o u t   s t a t u s   o f   a   d e p l o y m e n t   k u b e c t l   r o l l o u t   s t a t u s   d e p l o y m e n t / n g i n x",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_status/",
    "id": "k8s_00751_section_2_16386"
  },
  {
    "question": "What is Options?",
    "answer": "F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   s t a t u s   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   P i n   t o   a   s p e c i f i c   r e v i s i o n   f o r   s h o w i n g   i t s   s t a t u s .   D e f a u l t s   t o   0   ( l a s t   r e v i s i o n ) .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   T h e   l e n g t h   o f   t i m e   t o   w a i t   b e f o r e   e n d i n g   w a t c h ,   z e r o   m e a n s   n e v e r .   A n y   o t h e r   v a l u e s   s h o u l d   c o n t a i n   a   c o r r e s p o n d i n g   t i m e   u n i t   ( e . g .   1 s ,   2 m ,   3 h ) .   W a t c h   t h e   s t a t u s   o f   t h e   r o l l o u t   u n t i l   i t ' s   d o n e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_status/",
    "id": "k8s_00751_section_2_16387"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_status/",
    "id": "k8s_00751_section_2_16388"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   r o l l o u t   -   M a n a g e   t h e   r o l l o u t   o f   a   r e s o u r c e   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_status/",
    "id": "k8s_00751_section_2_16389"
  },
  {
    "question": "What is EndpointSlice?",
    "answer": "EndpointSliceEndpointSlice represents a set of service endpoints.apiVersion: discovery.k8s.io/v1import \"k8s.io/api/discovery/v1\"EndpointSliceEndpointSlice represents a set of service endpoints. Most EndpointSlices are created by the EndpointSlice controller to represent the Pods selected by Service objects. For a given service there may be multiple EndpointSlice objects which must be joined to produce the full set of endpoints; you can find all of the slices for a given service by listing EndpointSlices in the service's namespace whose kubernetes.io/service-name label contains the service's name.apiVersion: discovery.k8s.io/v1kind: EndpointSlicemetadata (ObjectMeta)Standard object's metadata.addressType (string), requiredaddressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name. (Deprecated) The EndpointSlice controller only generates, and kube-proxy only processes, slices of addressType \"IPv4\" and \"IPv6\". No semantics are defined for the \"FQDN\" type.endpoints ([]Endpoint), requiredAtomic: will be replaced during a mergeendpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.Endpoint represents a single logical \"backend\" implementing a service.endpoints.addresses ([]string), requiredSet: unique values will be kept during a mergeaddresses of this endpoint. For EndpointSlices of addressType \"IPv4\" or \"IPv6\", the values are IP addresses in canonical form. The syntax and semantics of other addressType values are not defined. This must contain at least one address but no more than 100. EndpointSlices generated by the EndpointSlice controller will always have exactly 1 address. No semantics are defined for additional addresses beyond the first, and kube-proxy does not look at them.endpoints.conditions (EndpointConditions)conditions contains information about the current status of the endpoint.EndpointConditions represents the current condition of an endpoint.endpoints.conditions.ready (boolean)ready indicates that this endpoint is ready to receive traffic, according to whatever system is managing the endpoint. A nil value should be interpreted as \"true\". In general, an endpoint should be marked ready if it is serving and not terminating, though this can be overridden in some cases, such as when the associated Service has set the publishNotReadyAddresses flag.endpoints.conditions.serving (boolean)serving indicates that this endpoint is able to receive traffic, according to whatever system is managing the endpoint. For endpoints backed by pods, the EndpointSlice controller will mark the endpoint as serving if the pod's Ready condition is True. A nil value should be interpreted as \"true\".endpoints.conditions.terminating (boolean)te",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_qa_16390"
  },
  {
    "question": "How does EndpointSlice work?",
    "answer": "EndpointSliceEndpointSlice represents a set of service endpoints.apiVersion: discovery.k8s.io/v1import \"k8s.io/api/discovery/v1\"EndpointSliceEndpointSlice represents a set of service endpoints. Most EndpointSlices are created by the EndpointSlice controller to represent the Pods selected by Service objects. For a given service there may be multiple EndpointSlice objects which must be joined to produce the full set of endpoints; you can find all of the slices for a given service by listing EndpointSlices in the service's namespace whose kubernetes.io/service-name label contains the service's name.apiVersion: discovery.k8s.io/v1kind: EndpointSlicemetadata (ObjectMeta)Standard object's metadata.addressType (string), requiredaddressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name. (Deprecated) The EndpointSlice controller only generates, and kube-proxy only processes, slices of addressType \"IPv4\" and \"IPv6\". No semantics are defined for the \"FQDN\" type.endpoints ([]Endpoint), requiredAtomic: will be replaced during a mergeendpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.Endpoint represents a single logical \"backend\" implementing a service.endpoints.addresses ([]string), requiredSet: unique values will be kept during a mergeaddresses of this endpoint. For EndpointSlices of addressType \"IPv4\" or \"IPv6\", the values are IP addresses in canonical form. The syntax and semantics of other addressType values are not defined. This must contain at least one address but no more than 100. EndpointSlices generated by the EndpointSlice controller will always have exactly 1 address. No semantics are defined for additional addresses beyond the first, and kube-proxy does not look at them.endpoints.conditions (EndpointConditions)conditions contains information about the current status of the endpoint.EndpointConditions represents the current condition of an endpoint.endpoints.conditions.ready (boolean)ready indicates that this endpoint is ready to receive traffic, according to whatever system is managing the endpoint. A nil value should be interpreted as \"true\". In general, an endpoint should be marked ready if it is serving and not terminating, though this can be overridden in some cases, such as when the associated Service has set the publishNotReadyAddresses flag.endpoints.conditions.serving (boolean)serving indicates that this endpoint is able to receive traffic, according to whatever system is managing the endpoint. For endpoints backed by pods, the EndpointSlice controller will mark the endpoint as serving if the pod's Ready condition is True. A nil value should be interpreted as \"true\".endpoints.conditions.terminating (boolean)te",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_qa_16391"
  },
  {
    "question": "When would you use EndpointSlice?",
    "answer": "EndpointSliceEndpointSlice represents a set of service endpoints.apiVersion: discovery.k8s.io/v1import \"k8s.io/api/discovery/v1\"EndpointSliceEndpointSlice represents a set of service endpoints. Most EndpointSlices are created by the EndpointSlice controller to represent the Pods selected by Service objects. For a given service there may be multiple EndpointSlice objects which must be joined to produce the full set of endpoints; you can find all of the slices for a given service by listing EndpointSlices in the service's namespace whose kubernetes.io/service-name label contains the service's name.apiVersion: discovery.k8s.io/v1kind: EndpointSlicemetadata (ObjectMeta)Standard object's metadata.addressType (string), requiredaddressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name. (Deprecated) The EndpointSlice controller only generates, and kube-proxy only processes, slices of addressType \"IPv4\" and \"IPv6\". No semantics are defined for the \"FQDN\" type.endpoints ([]Endpoint), requiredAtomic: will be replaced during a mergeendpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.Endpoint represents a single logical \"backend\" implementing a service.endpoints.addresses ([]string), requiredSet: unique values will be kept during a mergeaddresses of this endpoint. For EndpointSlices of addressType \"IPv4\" or \"IPv6\", the values are IP addresses in canonical form. The syntax and semantics of other addressType values are not defined. This must contain at least one address but no more than 100. EndpointSlices generated by the EndpointSlice controller will always have exactly 1 address. No semantics are defined for additional addresses beyond the first, and kube-proxy does not look at them.endpoints.conditions (EndpointConditions)conditions contains information about the current status of the endpoint.EndpointConditions represents the current condition of an endpoint.endpoints.conditions.ready (boolean)ready indicates that this endpoint is ready to receive traffic, according to whatever system is managing the endpoint. A nil value should be interpreted as \"true\". In general, an endpoint should be marked ready if it is serving and not terminating, though this can be overridden in some cases, such as when the associated Service has set the publishNotReadyAddresses flag.endpoints.conditions.serving (boolean)serving indicates that this endpoint is able to receive traffic, according to whatever system is managing the endpoint. For endpoints backed by pods, the EndpointSlice controller will mark the endpoint as serving if the pod's Ready condition is True. A nil value should be interpreted as \"true\".endpoints.conditions.terminating (boolean)te",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_qa_16392"
  },
  {
    "question": "What are the benefits of EndpointSlice?",
    "answer": "EndpointSliceEndpointSlice represents a set of service endpoints.apiVersion: discovery.k8s.io/v1import \"k8s.io/api/discovery/v1\"EndpointSliceEndpointSlice represents a set of service endpoints. Most EndpointSlices are created by the EndpointSlice controller to represent the Pods selected by Service objects. For a given service there may be multiple EndpointSlice objects which must be joined to produce the full set of endpoints; you can find all of the slices for a given service by listing EndpointSlices in the service's namespace whose kubernetes.io/service-name label contains the service's name.apiVersion: discovery.k8s.io/v1kind: EndpointSlicemetadata (ObjectMeta)Standard object's metadata.addressType (string), requiredaddressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name. (Deprecated) The EndpointSlice controller only generates, and kube-proxy only processes, slices of addressType \"IPv4\" and \"IPv6\". No semantics are defined for the \"FQDN\" type.endpoints ([]Endpoint), requiredAtomic: will be replaced during a mergeendpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.Endpoint represents a single logical \"backend\" implementing a service.endpoints.addresses ([]string), requiredSet: unique values will be kept during a mergeaddresses of this endpoint. For EndpointSlices of addressType \"IPv4\" or \"IPv6\", the values are IP addresses in canonical form. The syntax and semantics of other addressType values are not defined. This must contain at least one address but no more than 100. EndpointSlices generated by the EndpointSlice controller will always have exactly 1 address. No semantics are defined for additional addresses beyond the first, and kube-proxy does not look at them.endpoints.conditions (EndpointConditions)conditions contains information about the current status of the endpoint.EndpointConditions represents the current condition of an endpoint.endpoints.conditions.ready (boolean)ready indicates that this endpoint is ready to receive traffic, according to whatever system is managing the endpoint. A nil value should be interpreted as \"true\". In general, an endpoint should be marked ready if it is serving and not terminating, though this can be overridden in some cases, such as when the associated Service has set the publishNotReadyAddresses flag.endpoints.conditions.serving (boolean)serving indicates that this endpoint is able to receive traffic, according to whatever system is managing the endpoint. For endpoints backed by pods, the EndpointSlice controller will mark the endpoint as serving if the pod's Ready condition is True. A nil value should be interpreted as \"true\".endpoints.conditions.terminating (boolean)te",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_qa_16393"
  },
  {
    "question": "What is EndpointSlice?",
    "answer": "a p i V e r s i o n :   d i s c o v e r y . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / d i s c o v e r y / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_1_16394"
  },
  {
    "question": "What is EndpointSlice?",
    "answer": "E n d p o i n t S l i c e   r e p r e s e n t s   a   s e t   o f   s e r v i c e   e n d p o i n t s .   M o s t   E n d p o i n t S l i c e s   a r e   c r e a t e d   b y   t h e   E n d p o i n t S l i c e   c o n t r o l l e r   t o   r e p r e s e n t   t h e   P o d s   s e l e c t e d   b y   S e r v i c e   o b j e c t s .   F o r   a   g i v e n   s e r v i c e   t h e r e   m a y   b e   m u l t i p l e   E n d p o i n t S l i c e   o b j e c t s   w h i c h   m u s t   b e   j o i n e d   t o   p r o d u c e   t h e   f u l l   s e t   o f   e n d p o i n t s ;   y o u   c a n   f i n d   a l l   o f   t h e   s l i c e s   f o r   a   g i v e n   s e r v i c e   b y   l i s t i n g   E n d p o i n t S l i c e s   i n   t h e   s e r v i c e ' s   n a m e s p a c e   w h o s e   k u b e r n e t e s . i o / s e r v i c e - n a m e   l a b e l   c o n t a i n s   t h e   s e r v i c e ' s   n a m e .   a p i V e r s i o n :   d i s c o v e r y . k 8 s . i o / v 1 k i n d :   E n d p o i n t S l i c e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . a d d r e s s T y p e   ( s t r i n g ) ,   r e q u i r e d a d d r e s s T y p e   s p e c i f i e s   t h e   t y p e   o f   a d d r e s s   c a r r i e d   b y   t h i s   E n d p o i n t S l i c e .   A l l   a d d r e s s e s   i n   t h i s   s l i c e   m u s t   b e   t h e   s a m e   t y p e .   T h i s   f i e l d   i s   i m m u t a b l e   a f t e r   c r e a t i o n .   T h e   f o l l o w i n g   a d d r e s s   t y p e s   a r e   c u r r e n t l y   s u p p o r t e d :   *   I P v 4 :   R e p r e s e n t s   a n   I P v 4   A d d r e s s .   *   I P v 6 :   R e p r e s e n t s   a n   I P v 6   A d d r e s s .   *   F Q D N :   R e p r e s e n t s   a   F u l l y   Q u a l i f i e d   D o m a i n   N a m e .   ( D e p r e c a t e d )   T h e   E n d p o i n t S l i c e   c o n t r o l l e r   o n l y   g e n e r a t e s ,   a n d   k u b e - p r o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_2_16395"
  },
  {
    "question": "What is EndpointSliceList?",
    "answer": "E n d p o i n t S l i c e L i s t   r e p r e s e n t s   a   l i s t   o f   e n d p o i n t   s l i c e s   a p i V e r s i o n :   d i s c o v e r y . k 8 s . i o / v 1 k i n d :   E n d p o i n t S l i c e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a . i t e m s   ( [ ] E n d p o i n t S l i c e ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   e n d p o i n t   s l i c e s   a p i V e r s i o n :   d i s c o v e r y . k 8 s . i o / v 1   k i n d :   E n d p o i n t S l i c e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   i t e m s   ( [ ] E n d p o i n t S l i c e ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   e n d p o i n t   s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_2_16396"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_4_16397"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E n d p o i n t S l i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E n d p o i n t S l i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_4_16398"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t S l i c e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_4_16399"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_4_16400"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_4_16401"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t S l i c e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_4_16402"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / e n d p o i n t s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_4_16403"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_4_16404"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t S l i c e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_4_16405"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_4_16406"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   E n d p o i n t S l i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   E n d p o i n t S l i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_4_16407"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t S l i c e ) :   O K   2 0 1   ( E n d p o i n t S l i c e ) :   C r e a t e d   2 0 2   ( E n d p o i n t S l i c e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_4_16408"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_4_16409"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E n d p o i n t S l i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   E n d p o i n t S l i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E n d p o i n t S l i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   E n d p o i n t S l i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_4_16410"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t S l i c e ) :   O K   2 0 1   ( E n d p o i n t S l i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_4_16411"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_4_16412"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E n d p o i n t S l i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E n d p o i n t S l i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_4_16413"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t S l i c e ) :   O K   2 0 1   ( E n d p o i n t S l i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_4_16414"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_4_16415"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E n d p o i n t S l i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E n d p o i n t S l i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_4_16416"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_4_16417"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_4_16418"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_4_16419"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/",
    "id": "k8s_00752_section_4_16420"
  },
  {
    "question": "What is Learn Kubernetes Basics?",
    "answer": "Learn Kubernetes BasicsObjectivesThis tutorial provides a walkthrough of the basics of the Kubernetes cluster orchestration system. Each module contains some background information on major Kubernetes features and concepts, and a tutorial for you to follow along.Using the tutorials, you can learn to:Deploy a containerized application on a cluster.Scale the deployment.Update the containerized application with a new software version.Debug the containerized application.What can Kubernetes do for you?With modern web services, users expect applications to be available 24/7, and developers expect to deploy new versions of those applications several times a day. Containerization helps package software to serve these goals, enabling applications to be released and updated without downtime. Kubernetes helps you make sure those containerized applications run where and when you want, and helps them find the resources and tools they need to work. Kubernetes is a production-ready, open source platform designed with Google's accumulated experience in container orchestration, combined with best-of-breed ideas from the community.Kubernetes Basics Modules1. Create a Kubernetes cluster2. Deploy an app3. Explore your app4. Expose your app publicly5. Scale up your app6. Update your appWhat's nextTutorial Using Minikube to Create a Cluster",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/",
    "id": "k8s_00753_qa_16421"
  },
  {
    "question": "How does Learn Kubernetes Basics work?",
    "answer": "Learn Kubernetes BasicsObjectivesThis tutorial provides a walkthrough of the basics of the Kubernetes cluster orchestration system. Each module contains some background information on major Kubernetes features and concepts, and a tutorial for you to follow along.Using the tutorials, you can learn to:Deploy a containerized application on a cluster.Scale the deployment.Update the containerized application with a new software version.Debug the containerized application.What can Kubernetes do for you?With modern web services, users expect applications to be available 24/7, and developers expect to deploy new versions of those applications several times a day. Containerization helps package software to serve these goals, enabling applications to be released and updated without downtime. Kubernetes helps you make sure those containerized applications run where and when you want, and helps them find the resources and tools they need to work. Kubernetes is a production-ready, open source platform designed with Google's accumulated experience in container orchestration, combined with best-of-breed ideas from the community.Kubernetes Basics Modules1. Create a Kubernetes cluster2. Deploy an app3. Explore your app4. Expose your app publicly5. Scale up your app6. Update your appWhat's nextTutorial Using Minikube to Create a Cluster",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/",
    "id": "k8s_00753_qa_16422"
  },
  {
    "question": "When would you use Learn Kubernetes Basics?",
    "answer": "Learn Kubernetes BasicsObjectivesThis tutorial provides a walkthrough of the basics of the Kubernetes cluster orchestration system. Each module contains some background information on major Kubernetes features and concepts, and a tutorial for you to follow along.Using the tutorials, you can learn to:Deploy a containerized application on a cluster.Scale the deployment.Update the containerized application with a new software version.Debug the containerized application.What can Kubernetes do for you?With modern web services, users expect applications to be available 24/7, and developers expect to deploy new versions of those applications several times a day. Containerization helps package software to serve these goals, enabling applications to be released and updated without downtime. Kubernetes helps you make sure those containerized applications run where and when you want, and helps them find the resources and tools they need to work. Kubernetes is a production-ready, open source platform designed with Google's accumulated experience in container orchestration, combined with best-of-breed ideas from the community.Kubernetes Basics Modules1. Create a Kubernetes cluster2. Deploy an app3. Explore your app4. Expose your app publicly5. Scale up your app6. Update your appWhat's nextTutorial Using Minikube to Create a Cluster",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/",
    "id": "k8s_00753_qa_16423"
  },
  {
    "question": "What are the benefits of Learn Kubernetes Basics?",
    "answer": "Learn Kubernetes BasicsObjectivesThis tutorial provides a walkthrough of the basics of the Kubernetes cluster orchestration system. Each module contains some background information on major Kubernetes features and concepts, and a tutorial for you to follow along.Using the tutorials, you can learn to:Deploy a containerized application on a cluster.Scale the deployment.Update the containerized application with a new software version.Debug the containerized application.What can Kubernetes do for you?With modern web services, users expect applications to be available 24/7, and developers expect to deploy new versions of those applications several times a day. Containerization helps package software to serve these goals, enabling applications to be released and updated without downtime. Kubernetes helps you make sure those containerized applications run where and when you want, and helps them find the resources and tools they need to work. Kubernetes is a production-ready, open source platform designed with Google's accumulated experience in container orchestration, combined with best-of-breed ideas from the community.Kubernetes Basics Modules1. Create a Kubernetes cluster2. Deploy an app3. Explore your app4. Expose your app publicly5. Scale up your app6. Update your appWhat's nextTutorial Using Minikube to Create a Cluster",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/",
    "id": "k8s_00753_qa_16424"
  },
  {
    "question": "What is Objectives?",
    "answer": "T h i s   t u t o r i a l   p r o v i d e s   a   w a l k t h r o u g h   o f   t h e   b a s i c s   o f   t h e   K u b e r n e t e s   c l u s t e r   o r c h e s t r a t i o n   s y s t e m .   E a c h   m o d u l e   c o n t a i n s   s o m e   b a c k g r o u n d   i n f o r m a t i o n   o n   m a j o r   K u b e r n e t e s   f e a t u r e s   a n d   c o n c e p t s ,   a n d   a   t u t o r i a l   f o r   y o u   t o   f o l l o w   a l o n g .   U s i n g   t h e   t u t o r i a l s ,   y o u   c a n   l e a r n   t o :   D e p l o y   a   c o n t a i n e r i z e d   a p p l i c a t i o n   o n   a   c l u s t e r . S c a l e   t h e   d e p l o y m e n t . U p d a t e   t h e   c o n t a i n e r i z e d   a p p l i c a t i o n   w i t h   a   n e w   s o f t w a r e   v e r s i o n . D e b u g   t h e   c o n t a i n e r i z e d   a p p l i c a t i o n .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/",
    "id": "k8s_00753_section_2_16425"
  },
  {
    "question": "What is What can Kubernetes do for you??",
    "answer": "W i t h   m o d e r n   w e b   s e r v i c e s ,   u s e r s   e x p e c t   a p p l i c a t i o n s   t o   b e   a v a i l a b l e   2 4 / 7 ,   a n d   d e v e l o p e r s   e x p e c t   t o   d e p l o y   n e w   v e r s i o n s   o f   t h o s e   a p p l i c a t i o n s   s e v e r a l   t i m e s   a   d a y .   C o n t a i n e r i z a t i o n   h e l p s   p a c k a g e   s o f t w a r e   t o   s e r v e   t h e s e   g o a l s ,   e n a b l i n g   a p p l i c a t i o n s   t o   b e   r e l e a s e d   a n d   u p d a t e d   w i t h o u t   d o w n t i m e .   K u b e r n e t e s   h e l p s   y o u   m a k e   s u r e   t h o s e   c o n t a i n e r i z e d   a p p l i c a t i o n s   r u n   w h e r e   a n d   w h e n   y o u   w a n t ,   a n d   h e l p s   t h e m   f i n d   t h e   r e s o u r c e s   a n d   t o o l s   t h e y   n e e d   t o   w o r k .   K u b e r n e t e s   i s   a   p r o d u c t i o n - r e a d y ,   o p e n   s o u r c e   p l a t f o r m   d e s i g n e d   w i t h   G o o g l e ' s   a c c u m u l a t e d   e x p e r i e n c e   i n   c o n t a i n e r   o r c h e s t r a t i o n ,   c o m b i n e d   w i t h   b e s t - o f - b r e e d   i d e a s   f r o m   t h e   c o m m u n i t y .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/",
    "id": "k8s_00753_section_2_16426"
  },
  {
    "question": "What is What's next?",
    "answer": "T u t o r i a l   U s i n g   M i n i k u b e   t o   C r e a t e   a   C l u s t e r",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/",
    "id": "k8s_00753_section_2_16427"
  },
  {
    "question": "What is Security Checklist?",
    "answer": "Security ChecklistBaseline checklist for ensuring security in Kubernetes clusters.This checklist aims at providing a basic list of guidance with links to more comprehensive documentation on each topic. It does not claim to be exhaustive and is meant to evolve.On how to read and use this document:The order of topics does not reflect an order of priority.Some checklist items are detailed in the paragraph below the list of each section.Caution:Checklists are not sufficient for attaining a good security posture on their own. A good security posture requires constant attention and improvement, but a checklist can be the first step on the never-ending journey towards security preparedness. Some of the recommendations in this checklist may be too restrictive or too lax for your specific security needs. Since Kubernetes security is not \"one size fits all\", each category of checklist items should be evaluated on its merits.Authentication & Authorization system:masters group is not used for user or component authentication after bootstrapping. The kube-controller-manager is running with --use-service-account-credentials enabled. The root certificate is protected (either an offline CA, or a managed online CA with effective access controls). Intermediate and leaf certificates have an expiry date no more than 3 years in the future. A process exists for periodic access review, and reviews occur no more than 24 months apart. The Role Based Access Control Good Practices are followed for guidance related to authentication and authorization.After bootstrapping, neither users nor components should authenticate to the Kubernetes API as system:masters. Similarly, running all of kube-controller-manager as system:masters should be avoided. In fact, system:masters should only be used as a break-glass mechanism, as opposed to an admin user.Network security CNI plugins in use support network policies. Ingress and egress network policies are applied to all workloads in the cluster. Default network policies within each namespace, selecting all pods, denying everything, are in place. If appropriate, a service mesh is used to encrypt all communications inside of the cluster. The Kubernetes API, kubelet API and etcd are not exposed publicly on Internet. Access from the workloads to the cloud metadata API is filtered. Use of LoadBalancer and ExternalIPs is restricted.A number of Container Network Interface (CNI) plugins plugins provide the functionality to restrict network resources that pods may communicate with. This is most commonly done through Network Policies which provide a namespaced resource to define rules. Default network policies that block all egress and ingress, in each namespace, selecting all pods, can be useful to adopt an allow list approach to ensure that no workloads are missed.Not all CNI plugins provide encryption in transit. If the chosen plugin lacks this feature, an alternative solution could be to use a service mesh to provide that functionality.The et",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/security-checklist/",
    "id": "k8s_00754_qa_16428"
  },
  {
    "question": "How does Security Checklist work?",
    "answer": "Security ChecklistBaseline checklist for ensuring security in Kubernetes clusters.This checklist aims at providing a basic list of guidance with links to more comprehensive documentation on each topic. It does not claim to be exhaustive and is meant to evolve.On how to read and use this document:The order of topics does not reflect an order of priority.Some checklist items are detailed in the paragraph below the list of each section.Caution:Checklists are not sufficient for attaining a good security posture on their own. A good security posture requires constant attention and improvement, but a checklist can be the first step on the never-ending journey towards security preparedness. Some of the recommendations in this checklist may be too restrictive or too lax for your specific security needs. Since Kubernetes security is not \"one size fits all\", each category of checklist items should be evaluated on its merits.Authentication & Authorization system:masters group is not used for user or component authentication after bootstrapping. The kube-controller-manager is running with --use-service-account-credentials enabled. The root certificate is protected (either an offline CA, or a managed online CA with effective access controls). Intermediate and leaf certificates have an expiry date no more than 3 years in the future. A process exists for periodic access review, and reviews occur no more than 24 months apart. The Role Based Access Control Good Practices are followed for guidance related to authentication and authorization.After bootstrapping, neither users nor components should authenticate to the Kubernetes API as system:masters. Similarly, running all of kube-controller-manager as system:masters should be avoided. In fact, system:masters should only be used as a break-glass mechanism, as opposed to an admin user.Network security CNI plugins in use support network policies. Ingress and egress network policies are applied to all workloads in the cluster. Default network policies within each namespace, selecting all pods, denying everything, are in place. If appropriate, a service mesh is used to encrypt all communications inside of the cluster. The Kubernetes API, kubelet API and etcd are not exposed publicly on Internet. Access from the workloads to the cloud metadata API is filtered. Use of LoadBalancer and ExternalIPs is restricted.A number of Container Network Interface (CNI) plugins plugins provide the functionality to restrict network resources that pods may communicate with. This is most commonly done through Network Policies which provide a namespaced resource to define rules. Default network policies that block all egress and ingress, in each namespace, selecting all pods, can be useful to adopt an allow list approach to ensure that no workloads are missed.Not all CNI plugins provide encryption in transit. If the chosen plugin lacks this feature, an alternative solution could be to use a service mesh to provide that functionality.The et",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/security-checklist/",
    "id": "k8s_00754_qa_16429"
  },
  {
    "question": "When would you use Security Checklist?",
    "answer": "Security ChecklistBaseline checklist for ensuring security in Kubernetes clusters.This checklist aims at providing a basic list of guidance with links to more comprehensive documentation on each topic. It does not claim to be exhaustive and is meant to evolve.On how to read and use this document:The order of topics does not reflect an order of priority.Some checklist items are detailed in the paragraph below the list of each section.Caution:Checklists are not sufficient for attaining a good security posture on their own. A good security posture requires constant attention and improvement, but a checklist can be the first step on the never-ending journey towards security preparedness. Some of the recommendations in this checklist may be too restrictive or too lax for your specific security needs. Since Kubernetes security is not \"one size fits all\", each category of checklist items should be evaluated on its merits.Authentication & Authorization system:masters group is not used for user or component authentication after bootstrapping. The kube-controller-manager is running with --use-service-account-credentials enabled. The root certificate is protected (either an offline CA, or a managed online CA with effective access controls). Intermediate and leaf certificates have an expiry date no more than 3 years in the future. A process exists for periodic access review, and reviews occur no more than 24 months apart. The Role Based Access Control Good Practices are followed for guidance related to authentication and authorization.After bootstrapping, neither users nor components should authenticate to the Kubernetes API as system:masters. Similarly, running all of kube-controller-manager as system:masters should be avoided. In fact, system:masters should only be used as a break-glass mechanism, as opposed to an admin user.Network security CNI plugins in use support network policies. Ingress and egress network policies are applied to all workloads in the cluster. Default network policies within each namespace, selecting all pods, denying everything, are in place. If appropriate, a service mesh is used to encrypt all communications inside of the cluster. The Kubernetes API, kubelet API and etcd are not exposed publicly on Internet. Access from the workloads to the cloud metadata API is filtered. Use of LoadBalancer and ExternalIPs is restricted.A number of Container Network Interface (CNI) plugins plugins provide the functionality to restrict network resources that pods may communicate with. This is most commonly done through Network Policies which provide a namespaced resource to define rules. Default network policies that block all egress and ingress, in each namespace, selecting all pods, can be useful to adopt an allow list approach to ensure that no workloads are missed.Not all CNI plugins provide encryption in transit. If the chosen plugin lacks this feature, an alternative solution could be to use a service mesh to provide that functionality.The et",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/security-checklist/",
    "id": "k8s_00754_qa_16430"
  },
  {
    "question": "What are the benefits of Security Checklist?",
    "answer": "Security ChecklistBaseline checklist for ensuring security in Kubernetes clusters.This checklist aims at providing a basic list of guidance with links to more comprehensive documentation on each topic. It does not claim to be exhaustive and is meant to evolve.On how to read and use this document:The order of topics does not reflect an order of priority.Some checklist items are detailed in the paragraph below the list of each section.Caution:Checklists are not sufficient for attaining a good security posture on their own. A good security posture requires constant attention and improvement, but a checklist can be the first step on the never-ending journey towards security preparedness. Some of the recommendations in this checklist may be too restrictive or too lax for your specific security needs. Since Kubernetes security is not \"one size fits all\", each category of checklist items should be evaluated on its merits.Authentication & Authorization system:masters group is not used for user or component authentication after bootstrapping. The kube-controller-manager is running with --use-service-account-credentials enabled. The root certificate is protected (either an offline CA, or a managed online CA with effective access controls). Intermediate and leaf certificates have an expiry date no more than 3 years in the future. A process exists for periodic access review, and reviews occur no more than 24 months apart. The Role Based Access Control Good Practices are followed for guidance related to authentication and authorization.After bootstrapping, neither users nor components should authenticate to the Kubernetes API as system:masters. Similarly, running all of kube-controller-manager as system:masters should be avoided. In fact, system:masters should only be used as a break-glass mechanism, as opposed to an admin user.Network security CNI plugins in use support network policies. Ingress and egress network policies are applied to all workloads in the cluster. Default network policies within each namespace, selecting all pods, denying everything, are in place. If appropriate, a service mesh is used to encrypt all communications inside of the cluster. The Kubernetes API, kubelet API and etcd are not exposed publicly on Internet. Access from the workloads to the cloud metadata API is filtered. Use of LoadBalancer and ExternalIPs is restricted.A number of Container Network Interface (CNI) plugins plugins provide the functionality to restrict network resources that pods may communicate with. This is most commonly done through Network Policies which provide a namespaced resource to define rules. Default network policies that block all egress and ingress, in each namespace, selecting all pods, can be useful to adopt an allow list approach to ensure that no workloads are missed.Not all CNI plugins provide encryption in transit. If the chosen plugin lacks this feature, an alternative solution could be to use a service mesh to provide that functionality.The et",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/security-checklist/",
    "id": "k8s_00754_qa_16431"
  },
  {
    "question": "What is Security Checklist?",
    "answer": "T h i s   c h e c k l i s t   a i m s   a t   p r o v i d i n g   a   b a s i c   l i s t   o f   g u i d a n c e   w i t h   l i n k s   t o   m o r e   c o m p r e h e n s i v e   d o c u m e n t a t i o n   o n   e a c h   t o p i c .   I t   d o e s   n o t   c l a i m   t o   b e   e x h a u s t i v e   a n d   i s   m e a n t   t o   e v o l v e .   O n   h o w   t o   r e a d   a n d   u s e   t h i s   d o c u m e n t :   T h e   o r d e r   o f   t o p i c s   d o e s   n o t   r e f l e c t   a n   o r d e r   o f   p r i o r i t y . S o m e   c h e c k l i s t   i t e m s   a r e   d e t a i l e d   i n   t h e   p a r a g r a p h   b e l o w   t h e   l i s t   o f   e a c h   s e c t i o n .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/security-checklist/",
    "id": "k8s_00754_section_1_16432"
  },
  {
    "question": "What is Authentication & Authorization?",
    "answer": "s y s t e m : m a s t e r s   g r o u p   i s   n o t   u s e d   f o r   u s e r   o r   c o m p o n e n t   a u t h e n t i c a t i o n   a f t e r   b o o t s t r a p p i n g .   T h e   k u b e - c o n t r o l l e r - m a n a g e r   i s   r u n n i n g   w i t h   - - u s e - s e r v i c e - a c c o u n t - c r e d e n t i a l s   e n a b l e d .   T h e   r o o t   c e r t i f i c a t e   i s   p r o t e c t e d   ( e i t h e r   a n   o f f l i n e   C A ,   o r   a   m a n a g e d   o n l i n e   C A   w i t h   e f f e c t i v e   a c c e s s   c o n t r o l s ) .   I n t e r m e d i a t e   a n d   l e a f   c e r t i f i c a t e s   h a v e   a n   e x p i r y   d a t e   n o   m o r e   t h a n   3   y e a r s   i n   t h e   f u t u r e .   A   p r o c e s s   e x i s t s   f o r   p e r i o d i c   a c c e s s   r e v i e w ,   a n d   r e v i e w s   o c c u r   n o   m o r e   t h a n   2 4   m o n t h s   a p a r t .   T h e   R o l e   B a s e d   A c c e s s   C o n t r o l   G o o d   P r a c t i c e s   a r e   f o l l o w e d   f o r   g u i d a n c e   r e l a t e d   t o   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n .   A f t e r   b o o t s t r a p p i n g ,   n e i t h e r   u s e r s   n o r   c o m p o n e n t s   s h o u l d   a u t h e n t i c a t e   t o   t h e   K u b e r n e t e s   A P I   a s   s y s t e m : m a s t e r s .   S i m i l a r l y ,   r u n n i n g   a l l   o f   k u b e - c o n t r o l l e r - m a n a g e r   a s   s y s t e m : m a s t e r s   s h o u l d   b e   a v o i d e d .   I n   f a c t ,   s y s t e m : m a s t e r s   s h o u l d   o n l y   b e   u s e d   a s   a   b r e a k - g l a s s   m e c h a n i s m ,   a s   o p p o s e d   t o   a n   a d m i n   u s e r .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/security-checklist/",
    "id": "k8s_00754_section_2_16433"
  },
  {
    "question": "What is Network security?",
    "answer": "C N I   p l u g i n s   i n   u s e   s u p p o r t   n e t w o r k   p o l i c i e s .   I n g r e s s   a n d   e g r e s s   n e t w o r k   p o l i c i e s   a r e   a p p l i e d   t o   a l l   w o r k l o a d s   i n   t h e   c l u s t e r .   D e f a u l t   n e t w o r k   p o l i c i e s   w i t h i n   e a c h   n a m e s p a c e ,   s e l e c t i n g   a l l   p o d s ,   d e n y i n g   e v e r y t h i n g ,   a r e   i n   p l a c e .   I f   a p p r o p r i a t e ,   a   s e r v i c e   m e s h   i s   u s e d   t o   e n c r y p t   a l l   c o m m u n i c a t i o n s   i n s i d e   o f   t h e   c l u s t e r .   T h e   K u b e r n e t e s   A P I ,   k u b e l e t   A P I   a n d   e t c d   a r e   n o t   e x p o s e d   p u b l i c l y   o n   I n t e r n e t .   A c c e s s   f r o m   t h e   w o r k l o a d s   t o   t h e   c l o u d   m e t a d a t a   A P I   i s   f i l t e r e d .   U s e   o f   L o a d B a l a n c e r   a n d   E x t e r n a l I P s   i s   r e s t r i c t e d .   A   n u m b e r   o f   C o n t a i n e r   N e t w o r k   I n t e r f a c e   ( C N I )   p l u g i n s   p l u g i n s   p r o v i d e   t h e   f u n c t i o n a l i t y   t o   r e s t r i c t   n e t w o r k   r e s o u r c e s   t h a t   p o d s   m a y   c o m m u n i c a t e   w i t h .   T h i s   i s   m o s t   c o m m o n l y   d o n e   t h r o u g h   N e t w o r k   P o l i c i e s   w h i c h   p r o v i d e   a   n a m e s p a c e d   r e s o u r c e   t o   d e f i n e   r u l e s .   D e f a u l t   n e t w o r k   p o l i c i e s   t h a t   b l o c k   a l l   e g r e s s   a n d   i n g r e s s ,   i n   e a c h   n a m e s p a c e ,   s e l e c t i n g   a l l   p o d s ,   c a n   b e   u s e f u l   t o   a d o p t   a n   a l l o w   l i s t   a p p r o a c h   t o   e n s u r e   t h a t   n o   w o r k l o a d s   a r e   m i s s e d .   N o t   a l l   C N I   p l u g i n s   p r o v i d e   e n c r y p t i o n   i n   t r a ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/security-checklist/",
    "id": "k8s_00754_section_2_16434"
  },
  {
    "question": "What is Pod security?",
    "answer": "R B A C   r i g h t s   t o   c r e a t e ,   u p d a t e ,   p a t c h ,   d e l e t e   w o r k l o a d s   i s   o n l y   g r a n t e d   i f   n e c e s s a r y .   A p p r o p r i a t e   P o d   S e c u r i t y   S t a n d a r d s   p o l i c y   i s   a p p l i e d   f o r   a l l   n a m e s p a c e s   a n d   e n f o r c e d .   M e m o r y   l i m i t   i s   s e t   f o r   t h e   w o r k l o a d s   w i t h   a   l i m i t   e q u a l   o r   i n f e r i o r   t o   t h e   r e q u e s t .   C P U   l i m i t   m i g h t   b e   s e t   o n   s e n s i t i v e   w o r k l o a d s .   F o r   n o d e s   t h a t   s u p p o r t   i t ,   S e c c o m p   i s   e n a b l e d   w i t h   a p p r o p r i a t e   s y s c a l l s   p r o f i l e   f o r   p r o g r a m s .   F o r   n o d e s   t h a t   s u p p o r t   i t ,   A p p A r m o r   o r   S E L i n u x   i s   e n a b l e d   w i t h   a p p r o p r i a t e   p r o f i l e   f o r   p r o g r a m s .   R B A C   a u t h o r i z a t i o n   i s   c r u c i a l   b u t   c a n n o t   b e   g r a n u l a r   e n o u g h   t o   h a v e   a u t h o r i z a t i o n   o n   t h e   P o d s '   r e s o u r c e s   ( o r   o n   a n y   r e s o u r c e   t h a t   m a n a g e s   P o d s ) .   T h e   o n l y   g r a n u l a r i t y   i s   t h e   A P I   v e r b s   o n   t h e   r e s o u r c e   i t s e l f ,   f o r   e x a m p l e ,   c r e a t e   o n   P o d s .   W i t h o u t   a d d i t i o n a l   a d m i s s i o n ,   t h e   a u t h o r i z a t i o n   t o   c r e a t e   t h e s e   r e s o u r c e s   a l l o w s   d i r e c t   u n r e s t r i c t e d   a c c e s s   t o   t h e   s c h e d u l a b l e   n o d e s   o f   a   c l u s t e r .   T h e   P o d   S e c u r i t y   S t a n d a r d s   d e f i n e   t h r e e   d i f f e r e n t   p o l i c i e s ,   p r i v i l e g e d ,   b a s e l i n e   a n d   r e s t r i c t e d   t h a t   l i m i t   h o w   f i e l d s   c a n   b ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/security-checklist/",
    "id": "k8s_00754_section_2_16435"
  },
  {
    "question": "What is Enabling Seccomp?",
    "answer": "S e c c o m p   s t a n d s   f o r   s e c u r e   c o m p u t i n g   m o d e   a n d   h a s   b e e n   a   f e a t u r e   o f   t h e   L i n u x   k e r n e l   s i n c e   v e r s i o n   2 . 6 . 1 2 .   I t   c a n   b e   u s e d   t o   s a n d b o x   t h e   p r i v i l e g e s   o f   a   p r o c e s s ,   r e s t r i c t i n g   t h e   c a l l s   i t   i s   a b l e   t o   m a k e   f r o m   u s e r s p a c e   i n t o   t h e   k e r n e l .   K u b e r n e t e s   l e t s   y o u   a u t o m a t i c a l l y   a p p l y   s e c c o m p   p r o f i l e s   l o a d e d   o n t o   a   n o d e   t o   y o u r   P o d s   a n d   c o n t a i n e r s .   S e c c o m p   c a n   i m p r o v e   t h e   s e c u r i t y   o f   y o u r   w o r k l o a d s   b y   r e d u c i n g   t h e   L i n u x   k e r n e l   s y s c a l l   a t t a c k   s u r f a c e   a v a i l a b l e   i n s i d e   c o n t a i n e r s .   T h e   s e c c o m p   f i l t e r   m o d e   l e v e r a g e s   B P F   t o   c r e a t e   a n   a l l o w   o r   d e n y   l i s t   o f   s p e c i f i c   s y s c a l l s ,   n a m e d   p r o f i l e s .   S i n c e   K u b e r n e t e s   1 . 2 7 ,   y o u   c a n   e n a b l e   t h e   u s e   o f   R u n t i m e D e f a u l t   a s   t h e   d e f a u l t   s e c c o m p   p r o f i l e   f o r   a l l   w o r k l o a d s .   A   s e c u r i t y   t u t o r i a l   i s   a v a i l a b l e   o n   t h i s   t o p i c .   I n   a d d i t i o n ,   t h e   K u b e r n e t e s   S e c u r i t y   P r o f i l e s   O p e r a t o r   i s   a   p r o j e c t   t h a t   f a c i l i t a t e s   t h e   m a n a g e m e n t   a n d   u s e   o f   s e c c o m p   i n   c l u s t e r s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/security-checklist/",
    "id": "k8s_00754_section_3_16436"
  },
  {
    "question": "What is AppArmor?",
    "answer": "A p p A r m o r   i s   a   L i n u x   k e r n e l   s e c u r i t y   m o d u l e   t h a t   c a n   p r o v i d e   a n   e a s y   w a y   t o   i m p l e m e n t   M a n d a t o r y   A c c e s s   C o n t r o l   ( M A C )   a n d   b e t t e r   a u d i t i n g   t h r o u g h   s y s t e m   l o g s .   A   d e f a u l t   A p p A r m o r   p r o f i l e   i s   e n f o r c e d   o n   n o d e s   t h a t   s u p p o r t   i t ,   o r   a   c u s t o m   p r o f i l e   c a n   b e   c o n f i g u r e d .   L i k e   s e c c o m p ,   A p p A r m o r   i s   a l s o   c o n f i g u r e d   t h r o u g h   p r o f i l e s ,   w h e r e   e a c h   p r o f i l e   i s   e i t h e r   r u n n i n g   i n   e n f o r c i n g   m o d e ,   w h i c h   b l o c k s   a c c e s s   t o   d i s a l l o w e d   r e s o u r c e s   o r   c o m p l a i n   m o d e ,   w h i c h   o n l y   r e p o r t s   v i o l a t i o n s .   A p p A r m o r   p r o f i l e s   a r e   e n f o r c e d   o n   a   p e r - c o n t a i n e r   b a s i s ,   w i t h   a n   a n n o t a t i o n ,   a l l o w i n g   f o r   p r o c e s s e s   t o   g a i n   j u s t   t h e   r i g h t   p r i v i l e g e s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/security-checklist/",
    "id": "k8s_00754_section_4_16437"
  },
  {
    "question": "What is SELinux?",
    "answer": "S E L i n u x   i s   a l s o   a   L i n u x   k e r n e l   s e c u r i t y   m o d u l e   t h a t   c a n   p r o v i d e   a   m e c h a n i s m   f o r   s u p p o r t i n g   a c c e s s   c o n t r o l   s e c u r i t y   p o l i c i e s ,   i n c l u d i n g   M a n d a t o r y   A c c e s s   C o n t r o l s   ( M A C ) .   S E L i n u x   l a b e l s   c a n   b e   a s s i g n e d   t o   c o n t a i n e r s   o r   p o d s   v i a   t h e i r   s e c u r i t y C o n t e x t   s e c t i o n .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/security-checklist/",
    "id": "k8s_00754_section_4_16438"
  },
  {
    "question": "What is Logs and auditing?",
    "answer": "A u d i t   l o g s ,   i f   e n a b l e d ,   a r e   p r o t e c t e d   f r o m   g e n e r a l   a c c e s s .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/security-checklist/",
    "id": "k8s_00754_section_2_16439"
  },
  {
    "question": "What is Pod placement?",
    "answer": "P o d   p l a c e m e n t   i s   d o n e   i n   a c c o r d a n c e   w i t h   t h e   t i e r s   o f   s e n s i t i v i t y   o f   t h e   a p p l i c a t i o n .   S e n s i t i v e   a p p l i c a t i o n s   a r e   r u n n i n g   i s o l a t e d   o n   n o d e s   o r   w i t h   s p e c i f i c   s a n d b o x e d   r u n t i m e s .   P o d s   t h a t   a r e   o n   d i f f e r e n t   t i e r s   o f   s e n s i t i v i t y ,   f o r   e x a m p l e ,   a n   a p p l i c a t i o n   p o d   a n d   t h e   K u b e r n e t e s   A P I   s e r v e r ,   s h o u l d   b e   d e p l o y e d   o n t o   s e p a r a t e   n o d e s .   T h e   p u r p o s e   o f   n o d e   i s o l a t i o n   i s   t o   p r e v e n t   a n   a p p l i c a t i o n   c o n t a i n e r   b r e a k o u t   t o   d i r e c t l y   p r o v i d i n g   a c c e s s   t o   a p p l i c a t i o n s   w i t h   h i g h e r   l e v e l   o f   s e n s i t i v i t y   t o   e a s i l y   p i v o t   w i t h i n   t h e   c l u s t e r .   T h i s   s e p a r a t i o n   s h o u l d   b e   e n f o r c e d   t o   p r e v e n t   p o d s   a c c i d e n t a l l y   b e i n g   d e p l o y e d   o n t o   t h e   s a m e   n o d e .   T h i s   c o u l d   b e   e n f o r c e d   w i t h   t h e   f o l l o w i n g   f e a t u r e s :",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/security-checklist/",
    "id": "k8s_00754_section_2_16440"
  },
  {
    "question": "What is Secrets?",
    "answer": "C o n f i g M a p s   a r e   n o t   u s e d   t o   h o l d   c o n f i d e n t i a l   d a t a .   E n c r y p t i o n   a t   r e s t   i s   c o n f i g u r e d   f o r   t h e   S e c r e t   A P I .   I f   a p p r o p r i a t e ,   a   m e c h a n i s m   t o   i n j e c t   s e c r e t s   s t o r e d   i n   t h i r d - p a r t y   s t o r a g e   i s   d e p l o y e d   a n d   a v a i l a b l e .   S e r v i c e   a c c o u n t   t o k e n s   a r e   n o t   m o u n t e d   i n   p o d s   t h a t   d o n ' t   r e q u i r e   t h e m .   B o u n d   s e r v i c e   a c c o u n t   t o k e n   v o l u m e   i s   i n - u s e   i n s t e a d   o f   n o n - e x p i r i n g   t o k e n s .   S e c r e t s   r e q u i r e d   f o r   p o d s   s h o u l d   b e   s t o r e d   w i t h i n   K u b e r n e t e s   S e c r e t s   a s   o p p o s e d   t o   a l t e r n a t i v e s   s u c h   a s   C o n f i g M a p .   S e c r e t   r e s o u r c e s   s t o r e d   w i t h i n   e t c d   s h o u l d   b e   e n c r y p t e d   a t   r e s t .   P o d s   n e e d i n g   s e c r e t s   s h o u l d   h a v e   t h e s e   a u t o m a t i c a l l y   m o u n t e d   t h r o u g h   v o l u m e s ,   p r e f e r a b l y   s t o r e d   i n   m e m o r y   l i k e   w i t h   t h e   e m p t y D i r . m e d i u m   o p t i o n .   M e c h a n i s m   c a n   b e   u s e d   t o   a l s o   i n j e c t   s e c r e t s   f r o m   t h i r d - p a r t y   s t o r a g e s   a s   v o l u m e ,   l i k e   t h e   S e c r e t s   S t o r e   C S I   D r i v e r .   T h i s   s h o u l d   b e   d o n e   p r e f e r e n t i a l l y   a s   c o m p a r e d   t o   p r o v i d i n g   t h e   p o d s   s e r v i c e   a c c o u n t   R B A C   a c c e s s   t o   s e c r e t s .   T h i s   w o u l d   a l l o w   a d d i n g   s e c r e t s   i n t o   t h e   p o d   a s   e n v i r o n m e n t   v a r i a b l e s   o r   f i l e s .   P l e a s e   n o t e   t h ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/security-checklist/",
    "id": "k8s_00754_section_2_16441"
  },
  {
    "question": "What is Images?",
    "answer": "M i n i m i z e   u n n e c e s s a r y   c o n t e n t   i n   c o n t a i n e r   i m a g e s .   C o n t a i n e r   i m a g e s   a r e   c o n f i g u r e d   t o   b e   r u n   a s   u n p r i v i l e g e d   u s e r .   R e f e r e n c e s   t o   c o n t a i n e r   i m a g e s   a r e   m a d e   b y   s h a 2 5 6   d i g e s t s   ( r a t h e r   t h a n   t a g s )   o r   t h e   p r o v e n a n c e   o f   t h e   i m a g e   i s   v a l i d a t e d   b y   v e r i f y i n g   t h e   i m a g e ' s   d i g i t a l   s i g n a t u r e   a t   d e p l o y   t i m e   v i a   a d m i s s i o n   c o n t r o l .   C o n t a i n e r   i m a g e s   a r e   r e g u l a r l y   s c a n n e d   d u r i n g   c r e a t i o n   a n d   i n   d e p l o y m e n t ,   a n d   k n o w n   v u l n e r a b l e   s o f t w a r e   i s   p a t c h e d .   C o n t a i n e r   i m a g e   s h o u l d   c o n t a i n   t h e   b a r e   m i n i m u m   t o   r u n   t h e   p r o g r a m   t h e y   p a c k a g e .   P r e f e r a b l y ,   o n l y   t h e   p r o g r a m   a n d   i t s   d e p e n d e n c i e s ,   b u i l d i n g   t h e   i m a g e   f r o m   t h e   m i n i m a l   p o s s i b l e   b a s e .   I n   p a r t i c u l a r ,   i m a g e   u s e d   i n   p r o d u c t i o n   s h o u l d   n o t   c o n t a i n   s h e l l s   o r   d e b u g g i n g   u t i l i t i e s ,   a s   a n   e p h e m e r a l   d e b u g   c o n t a i n e r   c a n   b e   u s e d   f o r   t r o u b l e s h o o t i n g .   B u i l d   i m a g e s   t o   d i r e c t l y   s t a r t   w i t h   a n   u n p r i v i l e g e d   u s e r   b y   u s i n g   t h e   U S E R   i n s t r u c t i o n   i n   D o c k e r f i l e .   T h e   S e c u r i t y   C o n t e x t   a l l o w s   a   c o n t a i n e r   i m a g e   t o   b e   s t a r t e d   w i t h   a   s p e c i f i c   u s e r   a n d   g r o u p   w i t h   r u n A s U s e r   a n d   r u n A s G r o u p ,   e v e n   i ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/security-checklist/",
    "id": "k8s_00754_section_2_16442"
  },
  {
    "question": "What is Admission controllers?",
    "answer": "A n   a p p r o p r i a t e   s e l e c t i o n   o f   a d m i s s i o n   c o n t r o l l e r s   i s   e n a b l e d .   A   p o d   s e c u r i t y   p o l i c y   i s   e n f o r c e d   b y   t h e   P o d   S e c u r i t y   A d m i s s i o n   o r / a n d   a   w e b h o o k   a d m i s s i o n   c o n t r o l l e r .   T h e   a d m i s s i o n   c h a i n   p l u g i n s   a n d   w e b h o o k s   a r e   s e c u r e l y   c o n f i g u r e d .   A d m i s s i o n   c o n t r o l l e r s   c a n   h e l p   i m p r o v e   t h e   s e c u r i t y   o f   t h e   c l u s t e r .   H o w e v e r ,   t h e y   c a n   p r e s e n t   r i s k s   t h e m s e l v e s   a s   t h e y   e x t e n d   t h e   A P I   s e r v e r   a n d   s h o u l d   b e   p r o p e r l y   s e c u r e d .   T h e   f o l l o w i n g   l i s t s   p r e s e n t   a   n u m b e r   o f   a d m i s s i o n   c o n t r o l l e r s   t h a t   c o u l d   b e   c o n s i d e r e d   t o   e n h a n c e   t h e   s e c u r i t y   p o s t u r e   o f   y o u r   c l u s t e r   a n d   a p p l i c a t i o n .   I t   i n c l u d e s   c o n t r o l l e r s   t h a t   m a y   b e   r e f e r e n c e d   i n   o t h e r   p a r t s   o f   t h i s   d o c u m e n t .   T h i s   f i r s t   g r o u p   o f   a d m i s s i o n   c o n t r o l l e r s   i n c l u d e s   p l u g i n s   e n a b l e d   b y   d e f a u l t ,   c o n s i d e r   t o   l e a v e   t h e m   e n a b l e d   u n l e s s   y o u   k n o w   w h a t   y o u   a r e   d o i n g :   T h e   s e c o n d   g r o u p   i n c l u d e s   p l u g i n s   t h a t   a r e   n o t   e n a b l e d   b y   d e f a u l t   b u t   a r e   i n   g e n e r a l   a v a i l a b i l i t y   s t a t e   a n d   a r e   r e c o m m e n d e d   t o   i m p r o v e   y o u r   s e c u r i t y   p o s t u r e :   T h e   t h i r d   g r o u p   i n c l u d e s   p l u g i n s   t h a t   a r e   n o t   e n a b l e d   b y   d e f ",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/security-checklist/",
    "id": "k8s_00754_section_2_16443"
  },
  {
    "question": "What is What's next?",
    "answer": "P r i v i l e g e   e s c a l a t i o n   v i a   P o d   c r e a t i o n   w a r n s   y o u   a b o u t   a   s p e c i f i c   a c c e s s   c o n t r o l   r i s k ;   c h e c k   h o w   y o u ' r e   m a n a g i n g   t h a t   t h r e a t . I f   y o u   u s e   K u b e r n e t e s   R B A C ,   r e a d   R B A C   G o o d   P r a c t i c e s   f o r   f u r t h e r   i n f o r m a t i o n   o n   a u t h o r i z a t i o n . S e c u r i n g   a   C l u s t e r   f o r   i n f o r m a t i o n   o n   p r o t e c t i n g   a   c l u s t e r   f r o m   a c c i d e n t a l   o r   m a l i c i o u s   a c c e s s . C l u s t e r   M u l t i - t e n a n c y   g u i d e   f o r   c o n f i g u r a t i o n   o p t i o n s   r e c o m m e n d a t i o n s   a n d   b e s t   p r a c t i c e s   o n   m u l t i - t e n a n c y . B l o g   p o s t   \" A   C l o s e r   L o o k   a t   N S A / C I S A   K u b e r n e t e s   H a r d e n i n g   G u i d a n c e \"   f o r   c o m p l e m e n t a r y   r e s o u r c e   o n   h a r d e n i n g   K u b e r n e t e s   c l u s t e r s .   I f   y o u   u s e   K u b e r n e t e s   R B A C ,   r e a d   R B A C   G o o d   P r a c t i c e s   f o r   f u r t h e r   i n f o r m a t i o n   o n   a u t h o r i z a t i o n .",
    "category": "concepts",
    "subcategory": "security-policies",
    "source": "https://kubernetes.io/docs/concepts/security/security-checklist/",
    "id": "k8s_00754_section_2_16444"
  },
  {
    "question": "What is Kubernetes Components?",
    "answer": "Kubernetes ComponentsAn overview of the key components that make up a Kubernetes cluster.This page provides a high-level overview of the essential components that make up a Kubernetes cluster.The components of a Kubernetes clusterCore ComponentsA Kubernetes cluster consists of a control plane and one or more worker nodes. Here's a brief overview of the main components:Control Plane ComponentsManage the overall state of the cluster:kube-apiserverThe core component server that exposes the Kubernetes HTTP API.etcdConsistent and highly-available key value store for all API server data.kube-schedulerLooks for Pods not yet bound to a node, and assigns each Pod to a suitable node.kube-controller-managerRuns controllers to implement Kubernetes API behavior.cloud-controller-manager (optional)Integrates with underlying cloud provider(s).Node ComponentsRun on every node, maintaining running pods and providing the Kubernetes runtime environment:kubeletEnsures that Pods are running, including their containers.kube-proxy (optional)Maintains network rules on nodes to implement Services.Container runtimeSoftware responsible for running containers. Read Container Runtimes to learn more.🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationYour cluster may require additional software on each node; for example, you might also run systemd on a Linux node to supervise local components.AddonsAddons extend the functionality of Kubernetes. A few important examples include:DNSFor cluster-wide DNS resolution.Web UI (Dashboard)For cluster management via a web interface.Container Resource MonitoringFor collecting and storing container metrics.Cluster-level LoggingFor saving container logs to a central log store.Flexibility in ArchitectureKubernetes allows for flexibility in how these components are deployed and managed. The architecture can be adapted to various needs, from small development environments to large-scale production deployments.For more detailed information about each component and various ways to configure your cluster architecture, see the Cluster Architecture page.Items on this page refer to third party products or projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for those third-party products or projects. See the CNCF website guidelines for more details.You should read the content guide before proposing a change that adds an extra third-party link.",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/components/",
    "id": "k8s_00755_qa_16445"
  },
  {
    "question": "How does Kubernetes Components work?",
    "answer": "Kubernetes ComponentsAn overview of the key components that make up a Kubernetes cluster.This page provides a high-level overview of the essential components that make up a Kubernetes cluster.The components of a Kubernetes clusterCore ComponentsA Kubernetes cluster consists of a control plane and one or more worker nodes. Here's a brief overview of the main components:Control Plane ComponentsManage the overall state of the cluster:kube-apiserverThe core component server that exposes the Kubernetes HTTP API.etcdConsistent and highly-available key value store for all API server data.kube-schedulerLooks for Pods not yet bound to a node, and assigns each Pod to a suitable node.kube-controller-managerRuns controllers to implement Kubernetes API behavior.cloud-controller-manager (optional)Integrates with underlying cloud provider(s).Node ComponentsRun on every node, maintaining running pods and providing the Kubernetes runtime environment:kubeletEnsures that Pods are running, including their containers.kube-proxy (optional)Maintains network rules on nodes to implement Services.Container runtimeSoftware responsible for running containers. Read Container Runtimes to learn more.🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationYour cluster may require additional software on each node; for example, you might also run systemd on a Linux node to supervise local components.AddonsAddons extend the functionality of Kubernetes. A few important examples include:DNSFor cluster-wide DNS resolution.Web UI (Dashboard)For cluster management via a web interface.Container Resource MonitoringFor collecting and storing container metrics.Cluster-level LoggingFor saving container logs to a central log store.Flexibility in ArchitectureKubernetes allows for flexibility in how these components are deployed and managed. The architecture can be adapted to various needs, from small development environments to large-scale production deployments.For more detailed information about each component and various ways to configure your cluster architecture, see the Cluster Architecture page.Items on this page refer to third party products or projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for those third-party products or projects. See the CNCF website guidelines for more details.You should read the content guide before proposing a change that adds an extra third-party link.",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/components/",
    "id": "k8s_00755_qa_16446"
  },
  {
    "question": "When would you use Kubernetes Components?",
    "answer": "Kubernetes ComponentsAn overview of the key components that make up a Kubernetes cluster.This page provides a high-level overview of the essential components that make up a Kubernetes cluster.The components of a Kubernetes clusterCore ComponentsA Kubernetes cluster consists of a control plane and one or more worker nodes. Here's a brief overview of the main components:Control Plane ComponentsManage the overall state of the cluster:kube-apiserverThe core component server that exposes the Kubernetes HTTP API.etcdConsistent and highly-available key value store for all API server data.kube-schedulerLooks for Pods not yet bound to a node, and assigns each Pod to a suitable node.kube-controller-managerRuns controllers to implement Kubernetes API behavior.cloud-controller-manager (optional)Integrates with underlying cloud provider(s).Node ComponentsRun on every node, maintaining running pods and providing the Kubernetes runtime environment:kubeletEnsures that Pods are running, including their containers.kube-proxy (optional)Maintains network rules on nodes to implement Services.Container runtimeSoftware responsible for running containers. Read Container Runtimes to learn more.🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationYour cluster may require additional software on each node; for example, you might also run systemd on a Linux node to supervise local components.AddonsAddons extend the functionality of Kubernetes. A few important examples include:DNSFor cluster-wide DNS resolution.Web UI (Dashboard)For cluster management via a web interface.Container Resource MonitoringFor collecting and storing container metrics.Cluster-level LoggingFor saving container logs to a central log store.Flexibility in ArchitectureKubernetes allows for flexibility in how these components are deployed and managed. The architecture can be adapted to various needs, from small development environments to large-scale production deployments.For more detailed information about each component and various ways to configure your cluster architecture, see the Cluster Architecture page.Items on this page refer to third party products or projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for those third-party products or projects. See the CNCF website guidelines for more details.You should read the content guide before proposing a change that adds an extra third-party link.",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/components/",
    "id": "k8s_00755_qa_16447"
  },
  {
    "question": "What are the benefits of Kubernetes Components?",
    "answer": "Kubernetes ComponentsAn overview of the key components that make up a Kubernetes cluster.This page provides a high-level overview of the essential components that make up a Kubernetes cluster.The components of a Kubernetes clusterCore ComponentsA Kubernetes cluster consists of a control plane and one or more worker nodes. Here's a brief overview of the main components:Control Plane ComponentsManage the overall state of the cluster:kube-apiserverThe core component server that exposes the Kubernetes HTTP API.etcdConsistent and highly-available key value store for all API server data.kube-schedulerLooks for Pods not yet bound to a node, and assigns each Pod to a suitable node.kube-controller-managerRuns controllers to implement Kubernetes API behavior.cloud-controller-manager (optional)Integrates with underlying cloud provider(s).Node ComponentsRun on every node, maintaining running pods and providing the Kubernetes runtime environment:kubeletEnsures that Pods are running, including their containers.kube-proxy (optional)Maintains network rules on nodes to implement Services.Container runtimeSoftware responsible for running containers. Read Container Runtimes to learn more.🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationYour cluster may require additional software on each node; for example, you might also run systemd on a Linux node to supervise local components.AddonsAddons extend the functionality of Kubernetes. A few important examples include:DNSFor cluster-wide DNS resolution.Web UI (Dashboard)For cluster management via a web interface.Container Resource MonitoringFor collecting and storing container metrics.Cluster-level LoggingFor saving container logs to a central log store.Flexibility in ArchitectureKubernetes allows for flexibility in how these components are deployed and managed. The architecture can be adapted to various needs, from small development environments to large-scale production deployments.For more detailed information about each component and various ways to configure your cluster architecture, see the Cluster Architecture page.Items on this page refer to third party products or projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for those third-party products or projects. See the CNCF website guidelines for more details.You should read the content guide before proposing a change that adds an extra third-party link.",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/components/",
    "id": "k8s_00755_qa_16448"
  },
  {
    "question": "What is Kubernetes Components?",
    "answer": "T h i s   p a g e   p r o v i d e s   a   h i g h - l e v e l   o v e r v i e w   o f   t h e   e s s e n t i a l   c o m p o n e n t s   t h a t   m a k e   u p   a   K u b e r n e t e s   c l u s t e r .   T h e   c o m p o n e n t s   o f   a   K u b e r n e t e s   c l u s t e r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/components/",
    "id": "k8s_00755_section_1_16449"
  },
  {
    "question": "What is Core Components?",
    "answer": "A   K u b e r n e t e s   c l u s t e r   c o n s i s t s   o f   a   c o n t r o l   p l a n e   a n d   o n e   o r   m o r e   w o r k e r   n o d e s .   H e r e ' s   a   b r i e f   o v e r v i e w   o f   t h e   m a i n   c o m p o n e n t s :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/components/",
    "id": "k8s_00755_section_2_16450"
  },
  {
    "question": "What is Control Plane Components?",
    "answer": "M a n a g e   t h e   o v e r a l l   s t a t e   o f   t h e   c l u s t e r :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/components/",
    "id": "k8s_00755_section_3_16451"
  },
  {
    "question": "What is Node Components?",
    "answer": "R u n   o n   e v e r y   n o d e ,   m a i n t a i n i n g   r u n n i n g   p o d s   a n d   p r o v i d i n g   t h e   K u b e r n e t e s   r u n t i m e   e n v i r o n m e n t :   Y o u r   c l u s t e r   m a y   r e q u i r e   a d d i t i o n a l   s o f t w a r e   o n   e a c h   n o d e ;   f o r   e x a m p l e ,   y o u   m i g h t   a l s o   r u n   s y s t e m d   o n   a   L i n u x   n o d e   t o   s u p e r v i s e   l o c a l   c o m p o n e n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/components/",
    "id": "k8s_00755_section_3_16452"
  },
  {
    "question": "What is Addons?",
    "answer": "A d d o n s   e x t e n d   t h e   f u n c t i o n a l i t y   o f   K u b e r n e t e s .   A   f e w   i m p o r t a n t   e x a m p l e s   i n c l u d e :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/components/",
    "id": "k8s_00755_section_2_16453"
  },
  {
    "question": "What is Flexibility in Architecture?",
    "answer": "K u b e r n e t e s   a l l o w s   f o r   f l e x i b i l i t y   i n   h o w   t h e s e   c o m p o n e n t s   a r e   d e p l o y e d   a n d   m a n a g e d .   T h e   a r c h i t e c t u r e   c a n   b e   a d a p t e d   t o   v a r i o u s   n e e d s ,   f r o m   s m a l l   d e v e l o p m e n t   e n v i r o n m e n t s   t o   l a r g e - s c a l e   p r o d u c t i o n   d e p l o y m e n t s .   F o r   m o r e   d e t a i l e d   i n f o r m a t i o n   a b o u t   e a c h   c o m p o n e n t   a n d   v a r i o u s   w a y s   t o   c o n f i g u r e   y o u r   c l u s t e r   a r c h i t e c t u r e ,   s e e   t h e   C l u s t e r   A r c h i t e c t u r e   p a g e .   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/components/",
    "id": "k8s_00755_section_2_16454"
  },
  {
    "question": "What is kubectl certificate approve?",
    "answer": "kubectl certificate approveSynopsisApprove a certificate signing request.kubectl certificate approve allows a cluster admin to approve a certificate signing request (CSR). This action tells a certificate signing controller to issue a certificate to the requester with the attributes requested in the CSR.SECURITY NOTICE: Depending on the requested attributes, the issued certificate can potentially grant a requester access to cluster resources or to authenticate as a requested identity. Before approving a CSR, ensure you understand what the signed certificate can do.kubectl certificate approve (-f FILENAME | NAME) Examples # Approve CSR 'csr-sqgzp' kubectl certificate approve csr-sqgzp Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-f, --filename stringsFilename, directory, or URL to files identifying the resource to update--forceUpdate the CSR even if it is already approved.-h, --helphelp for approve-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client v",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate/kubectl_certificate_approve/",
    "id": "k8s_00756_qa_16455"
  },
  {
    "question": "How does kubectl certificate approve work?",
    "answer": "kubectl certificate approveSynopsisApprove a certificate signing request.kubectl certificate approve allows a cluster admin to approve a certificate signing request (CSR). This action tells a certificate signing controller to issue a certificate to the requester with the attributes requested in the CSR.SECURITY NOTICE: Depending on the requested attributes, the issued certificate can potentially grant a requester access to cluster resources or to authenticate as a requested identity. Before approving a CSR, ensure you understand what the signed certificate can do.kubectl certificate approve (-f FILENAME | NAME) Examples # Approve CSR 'csr-sqgzp' kubectl certificate approve csr-sqgzp Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-f, --filename stringsFilename, directory, or URL to files identifying the resource to update--forceUpdate the CSR even if it is already approved.-h, --helphelp for approve-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client v",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate/kubectl_certificate_approve/",
    "id": "k8s_00756_qa_16456"
  },
  {
    "question": "When would you use kubectl certificate approve?",
    "answer": "kubectl certificate approveSynopsisApprove a certificate signing request.kubectl certificate approve allows a cluster admin to approve a certificate signing request (CSR). This action tells a certificate signing controller to issue a certificate to the requester with the attributes requested in the CSR.SECURITY NOTICE: Depending on the requested attributes, the issued certificate can potentially grant a requester access to cluster resources or to authenticate as a requested identity. Before approving a CSR, ensure you understand what the signed certificate can do.kubectl certificate approve (-f FILENAME | NAME) Examples # Approve CSR 'csr-sqgzp' kubectl certificate approve csr-sqgzp Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-f, --filename stringsFilename, directory, or URL to files identifying the resource to update--forceUpdate the CSR even if it is already approved.-h, --helphelp for approve-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client v",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate/kubectl_certificate_approve/",
    "id": "k8s_00756_qa_16457"
  },
  {
    "question": "What are the benefits of kubectl certificate approve?",
    "answer": "kubectl certificate approveSynopsisApprove a certificate signing request.kubectl certificate approve allows a cluster admin to approve a certificate signing request (CSR). This action tells a certificate signing controller to issue a certificate to the requester with the attributes requested in the CSR.SECURITY NOTICE: Depending on the requested attributes, the issued certificate can potentially grant a requester access to cluster resources or to authenticate as a requested identity. Before approving a CSR, ensure you understand what the signed certificate can do.kubectl certificate approve (-f FILENAME | NAME) Examples # Approve CSR 'csr-sqgzp' kubectl certificate approve csr-sqgzp Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.-f, --filename stringsFilename, directory, or URL to files identifying the resource to update--forceUpdate the CSR even if it is already approved.-h, --helphelp for approve-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client v",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate/kubectl_certificate_approve/",
    "id": "k8s_00756_qa_16458"
  },
  {
    "question": "What is Synopsis?",
    "answer": "A p p r o v e   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t .   k u b e c t l   c e r t i f i c a t e   a p p r o v e   a l l o w s   a   c l u s t e r   a d m i n   t o   a p p r o v e   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t   ( C S R ) .   T h i s   a c t i o n   t e l l s   a   c e r t i f i c a t e   s i g n i n g   c o n t r o l l e r   t o   i s s u e   a   c e r t i f i c a t e   t o   t h e   r e q u e s t e r   w i t h   t h e   a t t r i b u t e s   r e q u e s t e d   i n   t h e   C S R .   S E C U R I T Y   N O T I C E :   D e p e n d i n g   o n   t h e   r e q u e s t e d   a t t r i b u t e s ,   t h e   i s s u e d   c e r t i f i c a t e   c a n   p o t e n t i a l l y   g r a n t   a   r e q u e s t e r   a c c e s s   t o   c l u s t e r   r e s o u r c e s   o r   t o   a u t h e n t i c a t e   a s   a   r e q u e s t e d   i d e n t i t y .   B e f o r e   a p p r o v i n g   a   C S R ,   e n s u r e   y o u   u n d e r s t a n d   w h a t   t h e   s i g n e d   c e r t i f i c a t e   c a n   d o .   k u b e c t l   c e r t i f i c a t e   a p p r o v e   ( - f   F I L E N A M E   |   N A M E )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate/kubectl_certificate_approve/",
    "id": "k8s_00756_section_2_16459"
  },
  {
    "question": "What is Examples?",
    "answer": "#   A p p r o v e   C S R   ' c s r - s q g z p '   k u b e c t l   c e r t i f i c a t e   a p p r o v e   c s r - s q g z p",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate/kubectl_certificate_approve/",
    "id": "k8s_00756_section_2_16460"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   u p d a t e   U p d a t e   t h e   C S R   e v e n   i f   i t   i s   a l r e a d y   a p p r o v e d .   h e l p   f o r   a p p r o v e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t e x t / t e m p l a t e / # p k g - o v e r v i e w ] .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate/kubectl_certificate_approve/",
    "id": "k8s_00756_section_2_16461"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate/kubectl_certificate_approve/",
    "id": "k8s_00756_section_2_16462"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c e r t i f i c a t e   -   M o d i f y   c e r t i f i c a t e   r e s o u r c e s   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate/kubectl_certificate_approve/",
    "id": "k8s_00756_section_2_16463"
  },
  {
    "question": "What is Custom Resources?",
    "answer": "Custom ResourcesCustom resources are extensions of the Kubernetes API. This page discusses when to add a custom resource to your Kubernetes cluster and when to use a standalone service. It describes the two methods for adding custom resources and how to choose between them.Custom resourcesA resource is an endpoint in the Kubernetes API that stores a collection of API objects of a certain kind; for example, the built-in pods resource contains a collection of Pod objects.A custom resource is an extension of the Kubernetes API that is not necessarily available in a default Kubernetes installation. It represents a customization of a particular Kubernetes installation. However, many core Kubernetes functions are now built using custom resources, making Kubernetes more modular.Custom resources can appear and disappear in a running cluster through dynamic registration, and cluster admins can update custom resources independently of the cluster itself. Once a custom resource is installed, users can create and access its objects using kubectl, just as they do for built-in resources like Pods.Custom controllersOn their own, custom resources let you store and retrieve structured data. When you combine a custom resource with a custom controller, custom resources provide a true declarative API.The Kubernetes declarative API enforces a separation of responsibilities. You declare the desired state of your resource. The Kubernetes controller keeps the current state of Kubernetes objects in sync with your declared desired state. This is in contrast to an imperative API, where you instruct a server what to do.You can deploy and update a custom controller on a running cluster, independently of the cluster's lifecycle. Custom controllers can work with any kind of resource, but they are especially effective when combined with custom resources. The Operator pattern combines custom resources and custom controllers. You can use custom controllers to encode domain knowledge for specific applications into an extension of the Kubernetes API.Should I add a custom resource to my Kubernetes cluster?When creating a new API, consider whether to aggregate your API with the Kubernetes cluster APIs or let your API stand alone.Consider API aggregation if:Prefer a stand-alone API if:Your API is Declarative.Your API does not fit the Declarative model.You want your new types to be readable and writable using kubectl.kubectl support is not requiredYou want to view your new types in a Kubernetes UI, such as dashboard, alongside built-in types.Kubernetes UI support is not required.You are developing a new API.You already have a program that serves your API and works well.You are willing to accept the format restriction that Kubernetes puts on REST resource paths, such as API Groups and Namespaces. (See the API Overview.)You need to have specific REST paths to be compatible with an already defined REST API.Your resources are naturally scoped to a cluster or namespaces of a cluster.Cluster",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_qa_16464"
  },
  {
    "question": "How does Custom Resources work?",
    "answer": "Custom ResourcesCustom resources are extensions of the Kubernetes API. This page discusses when to add a custom resource to your Kubernetes cluster and when to use a standalone service. It describes the two methods for adding custom resources and how to choose between them.Custom resourcesA resource is an endpoint in the Kubernetes API that stores a collection of API objects of a certain kind; for example, the built-in pods resource contains a collection of Pod objects.A custom resource is an extension of the Kubernetes API that is not necessarily available in a default Kubernetes installation. It represents a customization of a particular Kubernetes installation. However, many core Kubernetes functions are now built using custom resources, making Kubernetes more modular.Custom resources can appear and disappear in a running cluster through dynamic registration, and cluster admins can update custom resources independently of the cluster itself. Once a custom resource is installed, users can create and access its objects using kubectl, just as they do for built-in resources like Pods.Custom controllersOn their own, custom resources let you store and retrieve structured data. When you combine a custom resource with a custom controller, custom resources provide a true declarative API.The Kubernetes declarative API enforces a separation of responsibilities. You declare the desired state of your resource. The Kubernetes controller keeps the current state of Kubernetes objects in sync with your declared desired state. This is in contrast to an imperative API, where you instruct a server what to do.You can deploy and update a custom controller on a running cluster, independently of the cluster's lifecycle. Custom controllers can work with any kind of resource, but they are especially effective when combined with custom resources. The Operator pattern combines custom resources and custom controllers. You can use custom controllers to encode domain knowledge for specific applications into an extension of the Kubernetes API.Should I add a custom resource to my Kubernetes cluster?When creating a new API, consider whether to aggregate your API with the Kubernetes cluster APIs or let your API stand alone.Consider API aggregation if:Prefer a stand-alone API if:Your API is Declarative.Your API does not fit the Declarative model.You want your new types to be readable and writable using kubectl.kubectl support is not requiredYou want to view your new types in a Kubernetes UI, such as dashboard, alongside built-in types.Kubernetes UI support is not required.You are developing a new API.You already have a program that serves your API and works well.You are willing to accept the format restriction that Kubernetes puts on REST resource paths, such as API Groups and Namespaces. (See the API Overview.)You need to have specific REST paths to be compatible with an already defined REST API.Your resources are naturally scoped to a cluster or namespaces of a cluster.Cluster",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_qa_16465"
  },
  {
    "question": "When would you use Custom Resources?",
    "answer": "Custom ResourcesCustom resources are extensions of the Kubernetes API. This page discusses when to add a custom resource to your Kubernetes cluster and when to use a standalone service. It describes the two methods for adding custom resources and how to choose between them.Custom resourcesA resource is an endpoint in the Kubernetes API that stores a collection of API objects of a certain kind; for example, the built-in pods resource contains a collection of Pod objects.A custom resource is an extension of the Kubernetes API that is not necessarily available in a default Kubernetes installation. It represents a customization of a particular Kubernetes installation. However, many core Kubernetes functions are now built using custom resources, making Kubernetes more modular.Custom resources can appear and disappear in a running cluster through dynamic registration, and cluster admins can update custom resources independently of the cluster itself. Once a custom resource is installed, users can create and access its objects using kubectl, just as they do for built-in resources like Pods.Custom controllersOn their own, custom resources let you store and retrieve structured data. When you combine a custom resource with a custom controller, custom resources provide a true declarative API.The Kubernetes declarative API enforces a separation of responsibilities. You declare the desired state of your resource. The Kubernetes controller keeps the current state of Kubernetes objects in sync with your declared desired state. This is in contrast to an imperative API, where you instruct a server what to do.You can deploy and update a custom controller on a running cluster, independently of the cluster's lifecycle. Custom controllers can work with any kind of resource, but they are especially effective when combined with custom resources. The Operator pattern combines custom resources and custom controllers. You can use custom controllers to encode domain knowledge for specific applications into an extension of the Kubernetes API.Should I add a custom resource to my Kubernetes cluster?When creating a new API, consider whether to aggregate your API with the Kubernetes cluster APIs or let your API stand alone.Consider API aggregation if:Prefer a stand-alone API if:Your API is Declarative.Your API does not fit the Declarative model.You want your new types to be readable and writable using kubectl.kubectl support is not requiredYou want to view your new types in a Kubernetes UI, such as dashboard, alongside built-in types.Kubernetes UI support is not required.You are developing a new API.You already have a program that serves your API and works well.You are willing to accept the format restriction that Kubernetes puts on REST resource paths, such as API Groups and Namespaces. (See the API Overview.)You need to have specific REST paths to be compatible with an already defined REST API.Your resources are naturally scoped to a cluster or namespaces of a cluster.Cluster",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_qa_16466"
  },
  {
    "question": "What are the benefits of Custom Resources?",
    "answer": "Custom ResourcesCustom resources are extensions of the Kubernetes API. This page discusses when to add a custom resource to your Kubernetes cluster and when to use a standalone service. It describes the two methods for adding custom resources and how to choose between them.Custom resourcesA resource is an endpoint in the Kubernetes API that stores a collection of API objects of a certain kind; for example, the built-in pods resource contains a collection of Pod objects.A custom resource is an extension of the Kubernetes API that is not necessarily available in a default Kubernetes installation. It represents a customization of a particular Kubernetes installation. However, many core Kubernetes functions are now built using custom resources, making Kubernetes more modular.Custom resources can appear and disappear in a running cluster through dynamic registration, and cluster admins can update custom resources independently of the cluster itself. Once a custom resource is installed, users can create and access its objects using kubectl, just as they do for built-in resources like Pods.Custom controllersOn their own, custom resources let you store and retrieve structured data. When you combine a custom resource with a custom controller, custom resources provide a true declarative API.The Kubernetes declarative API enforces a separation of responsibilities. You declare the desired state of your resource. The Kubernetes controller keeps the current state of Kubernetes objects in sync with your declared desired state. This is in contrast to an imperative API, where you instruct a server what to do.You can deploy and update a custom controller on a running cluster, independently of the cluster's lifecycle. Custom controllers can work with any kind of resource, but they are especially effective when combined with custom resources. The Operator pattern combines custom resources and custom controllers. You can use custom controllers to encode domain knowledge for specific applications into an extension of the Kubernetes API.Should I add a custom resource to my Kubernetes cluster?When creating a new API, consider whether to aggregate your API with the Kubernetes cluster APIs or let your API stand alone.Consider API aggregation if:Prefer a stand-alone API if:Your API is Declarative.Your API does not fit the Declarative model.You want your new types to be readable and writable using kubectl.kubectl support is not requiredYou want to view your new types in a Kubernetes UI, such as dashboard, alongside built-in types.Kubernetes UI support is not required.You are developing a new API.You already have a program that serves your API and works well.You are willing to accept the format restriction that Kubernetes puts on REST resource paths, such as API Groups and Namespaces. (See the API Overview.)You need to have specific REST paths to be compatible with an already defined REST API.Your resources are naturally scoped to a cluster or namespaces of a cluster.Cluster",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_qa_16467"
  },
  {
    "question": "What is Custom Resources?",
    "answer": "C u s t o m   r e s o u r c e s   a r e   e x t e n s i o n s   o f   t h e   K u b e r n e t e s   A P I .   T h i s   p a g e   d i s c u s s e s   w h e n   t o   a d d   a   c u s t o m   r e s o u r c e   t o   y o u r   K u b e r n e t e s   c l u s t e r   a n d   w h e n   t o   u s e   a   s t a n d a l o n e   s e r v i c e .   I t   d e s c r i b e s   t h e   t w o   m e t h o d s   f o r   a d d i n g   c u s t o m   r e s o u r c e s   a n d   h o w   t o   c h o o s e   b e t w e e n   t h e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_section_1_16468"
  },
  {
    "question": "What is Custom resources?",
    "answer": "A   r e s o u r c e   i s   a n   e n d p o i n t   i n   t h e   K u b e r n e t e s   A P I   t h a t   s t o r e s   a   c o l l e c t i o n   o f   A P I   o b j e c t s   o f   a   c e r t a i n   k i n d ;   f o r   e x a m p l e ,   t h e   b u i l t - i n   p o d s   r e s o u r c e   c o n t a i n s   a   c o l l e c t i o n   o f   P o d   o b j e c t s .   A   c u s t o m   r e s o u r c e   i s   a n   e x t e n s i o n   o f   t h e   K u b e r n e t e s   A P I   t h a t   i s   n o t   n e c e s s a r i l y   a v a i l a b l e   i n   a   d e f a u l t   K u b e r n e t e s   i n s t a l l a t i o n .   I t   r e p r e s e n t s   a   c u s t o m i z a t i o n   o f   a   p a r t i c u l a r   K u b e r n e t e s   i n s t a l l a t i o n .   H o w e v e r ,   m a n y   c o r e   K u b e r n e t e s   f u n c t i o n s   a r e   n o w   b u i l t   u s i n g   c u s t o m   r e s o u r c e s ,   m a k i n g   K u b e r n e t e s   m o r e   m o d u l a r .   C u s t o m   r e s o u r c e s   c a n   a p p e a r   a n d   d i s a p p e a r   i n   a   r u n n i n g   c l u s t e r   t h r o u g h   d y n a m i c   r e g i s t r a t i o n ,   a n d   c l u s t e r   a d m i n s   c a n   u p d a t e   c u s t o m   r e s o u r c e s   i n d e p e n d e n t l y   o f   t h e   c l u s t e r   i t s e l f .   O n c e   a   c u s t o m   r e s o u r c e   i s   i n s t a l l e d ,   u s e r s   c a n   c r e a t e   a n d   a c c e s s   i t s   o b j e c t s   u s i n g   k u b e c t l ,   j u s t   a s   t h e y   d o   f o r   b u i l t - i n   r e s o u r c e s   l i k e   P o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_section_2_16469"
  },
  {
    "question": "What is Custom controllers?",
    "answer": "O n   t h e i r   o w n ,   c u s t o m   r e s o u r c e s   l e t   y o u   s t o r e   a n d   r e t r i e v e   s t r u c t u r e d   d a t a .   W h e n   y o u   c o m b i n e   a   c u s t o m   r e s o u r c e   w i t h   a   c u s t o m   c o n t r o l l e r ,   c u s t o m   r e s o u r c e s   p r o v i d e   a   t r u e   d e c l a r a t i v e   A P I .   T h e   K u b e r n e t e s   d e c l a r a t i v e   A P I   e n f o r c e s   a   s e p a r a t i o n   o f   r e s p o n s i b i l i t i e s .   Y o u   d e c l a r e   t h e   d e s i r e d   s t a t e   o f   y o u r   r e s o u r c e .   T h e   K u b e r n e t e s   c o n t r o l l e r   k e e p s   t h e   c u r r e n t   s t a t e   o f   K u b e r n e t e s   o b j e c t s   i n   s y n c   w i t h   y o u r   d e c l a r e d   d e s i r e d   s t a t e .   T h i s   i s   i n   c o n t r a s t   t o   a n   i m p e r a t i v e   A P I ,   w h e r e   y o u   i n s t r u c t   a   s e r v e r   w h a t   t o   d o .   Y o u   c a n   d e p l o y   a n d   u p d a t e   a   c u s t o m   c o n t r o l l e r   o n   a   r u n n i n g   c l u s t e r ,   i n d e p e n d e n t l y   o f   t h e   c l u s t e r ' s   l i f e c y c l e .   C u s t o m   c o n t r o l l e r s   c a n   w o r k   w i t h   a n y   k i n d   o f   r e s o u r c e ,   b u t   t h e y   a r e   e s p e c i a l l y   e f f e c t i v e   w h e n   c o m b i n e d   w i t h   c u s t o m   r e s o u r c e s .   T h e   O p e r a t o r   p a t t e r n   c o m b i n e s   c u s t o m   r e s o u r c e s   a n d   c u s t o m   c o n t r o l l e r s .   Y o u   c a n   u s e   c u s t o m   c o n t r o l l e r s   t o   e n c o d e   d o m a i n   k n o w l e d g e   f o r   s p e c i f i c   a p p l i c a t i o n s   i n t o   a n   e x t e n s i o n   o f   t h e   K u b e r n e t e s   A P I .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_section_2_16470"
  },
  {
    "question": "What is Should I add a custom resource to my Kubernetes cluster??",
    "answer": "W h e n   c r e a t i n g   a   n e w   A P I ,   c o n s i d e r   w h e t h e r   t o   a g g r e g a t e   y o u r   A P I   w i t h   t h e   K u b e r n e t e s   c l u s t e r   A P I s   o r   l e t   y o u r   A P I   s t a n d   a l o n e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_section_2_16471"
  },
  {
    "question": "What is Declarative APIs?",
    "answer": "I n   a   D e c l a r a t i v e   A P I ,   t y p i c a l l y :   Y o u r   A P I   c o n s i s t s   o f   a   r e l a t i v e l y   s m a l l   n u m b e r   o f   r e l a t i v e l y   s m a l l   o b j e c t s   ( r e s o u r c e s ) . T h e   o b j e c t s   d e f i n e   c o n f i g u r a t i o n   o f   a p p l i c a t i o n s   o r   i n f r a s t r u c t u r e . T h e   o b j e c t s   a r e   u p d a t e d   r e l a t i v e l y   i n f r e q u e n t l y . H u m a n s   o f t e n   n e e d   t o   r e a d   a n d   w r i t e   t h e   o b j e c t s . T h e   m a i n   o p e r a t i o n s   o n   t h e   o b j e c t s   a r e   C R U D - y   ( c r e a t i n g ,   r e a d i n g ,   u p d a t i n g   a n d   d e l e t i n g ) . T r a n s a c t i o n s   a c r o s s   o b j e c t s   a r e   n o t   r e q u i r e d :   t h e   A P I   r e p r e s e n t s   a   d e s i r e d   s t a t e ,   n o t   a n   e x a c t   s t a t e .   I m p e r a t i v e   A P I s   a r e   n o t   d e c l a r a t i v e .   S i g n s   t h a t   y o u r   A P I   m i g h t   n o t   b e   d e c l a r a t i v e   i n c l u d e :   T h e   c l i e n t   s a y s   \" d o   t h i s \" ,   a n d   t h e n   g e t s   a   s y n c h r o n o u s   r e s p o n s e   b a c k   w h e n   i t   i s   d o n e . T h e   c l i e n t   s a y s   \" d o   t h i s \" ,   a n d   t h e n   g e t s   a n   o p e r a t i o n   I D   b a c k ,   a n d   h a s   t o   c h e c k   a   s e p a r a t e   O p e r a t i o n   o b j e c t   t o   d e t e r m i n e   c o m p l e t i o n   o f   t h e   r e q u e s t . Y o u   t a l k   a b o u t   R e m o t e   P r o c e d u r e   C a l l s   ( R P C s ) . D i r e c t l y   s t o r i n g   l a r g e   a m o u n t s   o f   d a t a ;   f o r   e x a m p l e ,   >   a   f e w   k B   p e r   o b j e c t ,   o r   >   1 0 0 0 s   o f   o b j e c t s . H i g h   b a n d w i d t h   a c c e s s   ( 1 0 s   o f   r e q u e s t s   p e r   s e c o n d   s u s t a i n e d ) ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_section_3_16472"
  },
  {
    "question": "What is Should I use a ConfigMap or a custom resource??",
    "answer": "U s e   a   C o n f i g M a p   i f   a n y   o f   t h e   f o l l o w i n g   a p p l y :   T h e r e   i s   a n   e x i s t i n g ,   w e l l - d o c u m e n t e d   c o n f i g u r a t i o n   f i l e   f o r m a t ,   s u c h   a s   a   m y s q l . c n f   o r   p o m . x m l . Y o u   w a n t   t o   p u t   t h e   e n t i r e   c o n f i g u r a t i o n   i n t o   o n e   k e y   o f   a   C o n f i g M a p . T h e   m a i n   u s e   o f   t h e   c o n f i g u r a t i o n   f i l e   i s   f o r   a   p r o g r a m   r u n n i n g   i n   a   P o d   o n   y o u r   c l u s t e r   t o   c o n s u m e   t h e   f i l e   t o   c o n f i g u r e   i t s e l f . C o n s u m e r s   o f   t h e   f i l e   p r e f e r   t o   c o n s u m e   v i a   f i l e   i n   a   P o d   o r   e n v i r o n m e n t   v a r i a b l e   i n   a   p o d ,   r a t h e r   t h a n   t h e   K u b e r n e t e s   A P I . Y o u   w a n t   t o   p e r f o r m   r o l l i n g   u p d a t e s   v i a   D e p l o y m e n t ,   e t c . ,   w h e n   t h e   f i l e   i s   u p d a t e d .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_section_2_16473"
  },
  {
    "question": "What is Note:?",
    "answer": "U s e   a   c u s t o m   r e s o u r c e   ( C R D   o r   A g g r e g a t e d   A P I )   i f   m o s t   o f   t h e   f o l l o w i n g   a p p l y :   Y o u   w a n t   t o   u s e   K u b e r n e t e s   c l i e n t   l i b r a r i e s   a n d   C L I s   t o   c r e a t e   a n d   u p d a t e   t h e   n e w   r e s o u r c e . Y o u   w a n t   t o p - l e v e l   s u p p o r t   f r o m   k u b e c t l ;   f o r   e x a m p l e ,   k u b e c t l   g e t   m y - o b j e c t   o b j e c t - n a m e . Y o u   w a n t   t o   b u i l d   n e w   a u t o m a t i o n   t h a t   w a t c h e s   f o r   u p d a t e s   o n   t h e   n e w   o b j e c t ,   a n d   t h e n   C R U D   o t h e r   o b j e c t s ,   o r   v i c e   v e r s a . Y o u   w a n t   t o   w r i t e   a u t o m a t i o n   t h a t   h a n d l e s   u p d a t e s   t o   t h e   o b j e c t . Y o u   w a n t   t o   u s e   K u b e r n e t e s   A P I   c o n v e n t i o n s   l i k e   . s p e c ,   . s t a t u s ,   a n d   . m e t a d a t a . Y o u   w a n t   t h e   o b j e c t   t o   b e   a n   a b s t r a c t i o n   o v e r   a   c o l l e c t i o n   o f   c o n t r o l l e d   r e s o u r c e s ,   o r   a   s u m m a r i z a t i o n   o f   o t h e r   r e s o u r c e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_section_4_16474"
  },
  {
    "question": "What is Adding custom resources?",
    "answer": "K u b e r n e t e s   p r o v i d e s   t w o   w a y s   t o   a d d   c u s t o m   r e s o u r c e s   t o   y o u r   c l u s t e r :   C R D s   a r e   s i m p l e   a n d   c a n   b e   c r e a t e d   w i t h o u t   a n y   p r o g r a m m i n g . A P I   A g g r e g a t i o n   r e q u i r e s   p r o g r a m m i n g ,   b u t   a l l o w s   m o r e   c o n t r o l   o v e r   A P I   b e h a v i o r s   l i k e   h o w   d a t a   i s   s t o r e d   a n d   c o n v e r s i o n   b e t w e e n   A P I   v e r s i o n s .   K u b e r n e t e s   p r o v i d e s   t h e s e   t w o   o p t i o n s   t o   m e e t   t h e   n e e d s   o f   d i f f e r e n t   u s e r s ,   s o   t h a t   n e i t h e r   e a s e   o f   u s e   n o r   f l e x i b i l i t y   i s   c o m p r o m i s e d .   A g g r e g a t e d   A P I s   a r e   s u b o r d i n a t e   A P I   s e r v e r s   t h a t   s i t   b e h i n d   t h e   p r i m a r y   A P I   s e r v e r ,   w h i c h   a c t s   a s   a   p r o x y .   T h i s   a r r a n g e m e n t   i s   c a l l e d   A P I   A g g r e g a t i o n ( A A ) .   T o   u s e r s ,   t h e   K u b e r n e t e s   A P I   a p p e a r s   e x t e n d e d .   C R D s   a l l o w   u s e r s   t o   c r e a t e   n e w   t y p e s   o f   r e s o u r c e s   w i t h o u t   a d d i n g   a n o t h e r   A P I   s e r v e r .   Y o u   d o   n o t   n e e d   t o   u n d e r s t a n d   A P I   A g g r e g a t i o n   t o   u s e   C R D s .   R e g a r d l e s s   o f   h o w   t h e y   a r e   i n s t a l l e d ,   t h e   n e w   r e s o u r c e s   a r e   r e f e r r e d   t o   a s   C u s t o m   R e s o u r c e s   t o   d i s t i n g u i s h   t h e m   f r o m   b u i l t - i n   K u b e r n e t e s   r e s o u r c e s   ( l i k e   p o d s ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_section_2_16475"
  },
  {
    "question": "What is Note:?",
    "answer": "A v o i d   u s i n g   a   C u s t o m   R e s o u r c e   a s   d a t a   s t o r a g e   f o r   a p p l i c a t i o n ,   e n d   u s e r ,   o r   m o n i t o r i n g   d a t a :   a r c h i t e c t u r e   d e s i g n s   t h a t   s t o r e   a p p l i c a t i o n   d a t a   w i t h i n   t h e   K u b e r n e t e s   A P I   t y p i c a l l y   r e p r e s e n t   a   d e s i g n   t h a t   i s   t o o   c l o s e l y   c o u p l e d .   A r c h i t e c t u r a l l y ,   c l o u d   n a t i v e   a p p l i c a t i o n   a r c h i t e c t u r e s   f a v o r   l o o s e   c o u p l i n g   b e t w e e n   c o m p o n e n t s .   I f   p a r t   o f   y o u r   w o r k l o a d   r e q u i r e s   a   b a c k i n g   s e r v i c e   f o r   i t s   r o u t i n e   o p e r a t i o n ,   r u n   t h a t   b a c k i n g   s e r v i c e   a s   a   c o m p o n e n t   o r   c o n s u m e   i t   a s   a n   e x t e r n a l   s e r v i c e .   T h i s   w a y ,   y o u r   w o r k l o a d   d o e s   n o t   r e l y   o n   t h e   K u b e r n e t e s   A P I   f o r   i t s   n o r m a l   o p e r a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_section_4_16476"
  },
  {
    "question": "What is CustomResourceDefinitions?",
    "answer": "T h e   C u s t o m R e s o u r c e D e f i n i t i o n   A P I   r e s o u r c e   a l l o w s   y o u   t o   d e f i n e   c u s t o m   r e s o u r c e s .   D e f i n i n g   a   C R D   o b j e c t   c r e a t e s   a   n e w   c u s t o m   r e s o u r c e   w i t h   a   n a m e   a n d   s c h e m a   t h a t   y o u   s p e c i f y .   T h e   K u b e r n e t e s   A P I   s e r v e s   a n d   h a n d l e s   t h e   s t o r a g e   o f   y o u r   c u s t o m   r e s o u r c e .   T h e   n a m e   o f   t h e   C R D   o b j e c t   i t s e l f   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e   d e r i v e d   f r o m   t h e   d e f i n e d   r e s o u r c e   n a m e   a n d   i t s   A P I   g r o u p ;   s e e   h o w   t o   c r e a t e   a   C R D   f o r   m o r e   d e t a i l s .   F u r t h e r ,   t h e   n a m e   o f   a n   o b j e c t   w h o s e   k i n d / r e s o u r c e   i s   d e f i n e d   b y   a   C R D   m u s t   a l s o   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   T h i s   f r e e s   y o u   f r o m   w r i t i n g   y o u r   o w n   A P I   s e r v e r   t o   h a n d l e   t h e   c u s t o m   r e s o u r c e ,   b u t   t h e   g e n e r i c   n a t u r e   o f   t h e   i m p l e m e n t a t i o n   m e a n s   y o u   h a v e   l e s s   f l e x i b i l i t y   t h a n   w i t h   A P I   s e r v e r   a g g r e g a t i o n .   R e f e r   t o   t h e   c u s t o m   c o n t r o l l e r   e x a m p l e   f o r   a n   e x a m p l e   o f   h o w   t o   r e g i s t e r   a   n e w   c u s t o m   r e s o u r c e ,   w o r k   w i t h   i n s t a n c e s   o f   y o u r   n e w   r e s o u r c e   t y p e ,   a n d   u s e   a   c o n t r o l l e r   t o   h a n d l e   e v e n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_section_2_16477"
  },
  {
    "question": "What is API server aggregation?",
    "answer": "U s u a l l y ,   e a c h   r e s o u r c e   i n   t h e   K u b e r n e t e s   A P I   r e q u i r e s   c o d e   t h a t   h a n d l e s   R E S T   r e q u e s t s   a n d   m a n a g e s   p e r s i s t e n t   s t o r a g e   o f   o b j e c t s .   T h e   m a i n   K u b e r n e t e s   A P I   s e r v e r   h a n d l e s   b u i l t - i n   r e s o u r c e s   l i k e   p o d s   a n d   s e r v i c e s ,   a n d   c a n   a l s o   g e n e r i c a l l y   h a n d l e   c u s t o m   r e s o u r c e s   t h r o u g h   C R D s .   T h e   a g g r e g a t i o n   l a y e r   a l l o w s   y o u   t o   p r o v i d e   s p e c i a l i z e d   i m p l e m e n t a t i o n s   f o r   y o u r   c u s t o m   r e s o u r c e s   b y   w r i t i n g   a n d   d e p l o y i n g   y o u r   o w n   A P I   s e r v e r .   T h e   m a i n   A P I   s e r v e r   d e l e g a t e s   r e q u e s t s   t o   y o u r   A P I   s e r v e r   f o r   t h e   c u s t o m   r e s o u r c e s   t h a t   y o u   h a n d l e ,   m a k i n g   t h e m   a v a i l a b l e   t o   a l l   o f   i t s   c l i e n t s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_section_2_16478"
  },
  {
    "question": "What is Choosing a method for adding custom resources?",
    "answer": "C R D s   a r e   e a s i e r   t o   u s e .   A g g r e g a t e d   A P I s   a r e   m o r e   f l e x i b l e .   C h o o s e   t h e   m e t h o d   t h a t   b e s t   m e e t s   y o u r   n e e d s .   T y p i c a l l y ,   C R D s   a r e   a   g o o d   f i t   i f :   Y o u   h a v e   a   h a n d f u l   o f   f i e l d s Y o u   a r e   u s i n g   t h e   r e s o u r c e   w i t h i n   y o u r   c o m p a n y ,   o r   a s   p a r t   o f   a   s m a l l   o p e n - s o u r c e   p r o j e c t   ( a s   o p p o s e d   t o   a   c o m m e r c i a l   p r o d u c t )",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_section_2_16479"
  },
  {
    "question": "What is Comparing ease of use?",
    "answer": "C R D s   a r e   e a s i e r   t o   c r e a t e   t h a n   A g g r e g a t e d   A P I s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_section_3_16480"
  },
  {
    "question": "What is Advanced features and flexibility?",
    "answer": "A g g r e g a t e d   A P I s   o f f e r   m o r e   a d v a n c e d   A P I   f e a t u r e s   a n d   c u s t o m i z a t i o n   o f   o t h e r   f e a t u r e s ;   f o r   e x a m p l e ,   t h e   s t o r a g e   l a y e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_section_3_16481"
  },
  {
    "question": "What is Common Features?",
    "answer": "W h e n   y o u   c r e a t e   a   c u s t o m   r e s o u r c e ,   e i t h e r   v i a   a   C R D   o r   a n   A A ,   y o u   g e t   m a n y   f e a t u r e s   f o r   y o u r   A P I ,   c o m p a r e d   t o   i m p l e m e n t i n g   i t   o u t s i d e   t h e   K u b e r n e t e s   p l a t f o r m :",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_section_3_16482"
  },
  {
    "question": "What is Preparing to install a custom resource?",
    "answer": "T h e r e   a r e   s e v e r a l   p o i n t s   t o   b e   a w a r e   o f   b e f o r e   a d d i n g   a   c u s t o m   r e s o u r c e   t o   y o u r   c l u s t e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_section_2_16483"
  },
  {
    "question": "What is Third party code and new points of failure?",
    "answer": "W h i l e   c r e a t i n g   a   C R D   d o e s   n o t   a u t o m a t i c a l l y   a d d   a n y   n e w   p o i n t s   o f   f a i l u r e   ( f o r   e x a m p l e ,   b y   c a u s i n g   t h i r d   p a r t y   c o d e   t o   r u n   o n   y o u r   A P I   s e r v e r ) ,   p a c k a g e s   ( f o r   e x a m p l e ,   C h a r t s )   o r   o t h e r   i n s t a l l a t i o n   b u n d l e s   o f t e n   i n c l u d e   C R D s   a s   w e l l   a s   a   D e p l o y m e n t   o f   t h i r d - p a r t y   c o d e   t h a t   i m p l e m e n t s   t h e   b u s i n e s s   l o g i c   f o r   a   n e w   c u s t o m   r e s o u r c e .   I n s t a l l i n g   a n   A g g r e g a t e d   A P I   s e r v e r   a l w a y s   i n v o l v e s   r u n n i n g   a   n e w   D e p l o y m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_section_3_16484"
  },
  {
    "question": "What is Storage?",
    "answer": "C u s t o m   r e s o u r c e s   c o n s u m e   s t o r a g e   s p a c e   i n   t h e   s a m e   w a y   t h a t   C o n f i g M a p s   d o .   C r e a t i n g   t o o   m a n y   c u s t o m   r e s o u r c e s   m a y   o v e r l o a d   y o u r   A P I   s e r v e r ' s   s t o r a g e   s p a c e .   A g g r e g a t e d   A P I   s e r v e r s   m a y   u s e   t h e   s a m e   s t o r a g e   a s   t h e   m a i n   A P I   s e r v e r ,   i n   w h i c h   c a s e   t h e   s a m e   w a r n i n g   a p p l i e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_section_3_16485"
  },
  {
    "question": "What is Authentication, authorization, and auditing?",
    "answer": "C R D s   a l w a y s   u s e   t h e   s a m e   a u t h e n t i c a t i o n ,   a u t h o r i z a t i o n ,   a n d   a u d i t   l o g g i n g   a s   t h e   b u i l t - i n   r e s o u r c e s   o f   y o u r   A P I   s e r v e r .   I f   y o u   u s e   R B A C   f o r   a u t h o r i z a t i o n ,   m o s t   R B A C   r o l e s   w i l l   n o t   g r a n t   a c c e s s   t o   t h e   n e w   r e s o u r c e s   ( e x c e p t   t h e   c l u s t e r - a d m i n   r o l e   o r   a n y   r o l e   c r e a t e d   w i t h   w i l d c a r d   r u l e s ) .   Y o u ' l l   n e e d   t o   e x p l i c i t l y   g r a n t   a c c e s s   t o   t h e   n e w   r e s o u r c e s .   C R D s   a n d   A g g r e g a t e d   A P I s   o f t e n   c o m e   b u n d l e d   w i t h   n e w   r o l e   d e f i n i t i o n s   f o r   t h e   t y p e s   t h e y   a d d .   A g g r e g a t e d   A P I   s e r v e r s   m a y   o r   m a y   n o t   u s e   t h e   s a m e   a u t h e n t i c a t i o n ,   a u t h o r i z a t i o n ,   a n d   a u d i t i n g   a s   t h e   p r i m a r y   A P I   s e r v e r .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_section_3_16486"
  },
  {
    "question": "What is Accessing a custom resource?",
    "answer": "K u b e r n e t e s   c l i e n t   l i b r a r i e s   c a n   b e   u s e d   t o   a c c e s s   c u s t o m   r e s o u r c e s .   N o t   a l l   c l i e n t   l i b r a r i e s   s u p p o r t   c u s t o m   r e s o u r c e s .   T h e   G o   a n d   P y t h o n   c l i e n t   l i b r a r i e s   d o .   W h e n   y o u   a d d   a   c u s t o m   r e s o u r c e ,   y o u   c a n   a c c e s s   i t   u s i n g :   k u b e c t l T h e   K u b e r n e t e s   d y n a m i c   c l i e n t . A   R E S T   c l i e n t   t h a t   y o u   w r i t e . A   c l i e n t   g e n e r a t e d   u s i n g   K u b e r n e t e s   c l i e n t   g e n e r a t i o n   t o o l s   ( g e n e r a t i n g   o n e   i s   a n   a d v a n c e d   u n d e r t a k i n g ,   b u t   s o m e   p r o j e c t s   m a y   p r o v i d e   a   c l i e n t   a l o n g   w i t h   t h e   C R D   o r   A A ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_section_2_16487"
  },
  {
    "question": "What is Custom resource field selectors?",
    "answer": "F i e l d   S e l e c t o r s   l e t   c l i e n t s   s e l e c t   c u s t o m   r e s o u r c e s   b a s e d   o n   t h e   v a l u e   o f   o n e   o r   m o r e   r e s o u r c e   f i e l d s .   A l l   c u s t o m   r e s o u r c e s   s u p p o r t   t h e   m e t a d a t a . n a m e   a n d   m e t a d a t a . n a m e s p a c e   f i e l d   s e l e c t o r s .   F i e l d s   d e c l a r e d   i n   a   C u s t o m R e s o u r c e D e f i n i t i o n   m a y   a l s o   b e   u s e d   w i t h   f i e l d   s e l e c t o r s   w h e n   i n c l u d e d   i n   t h e   s p e c . v e r s i o n s [ * ] . s e l e c t a b l e F i e l d s   f i e l d   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_section_2_16488"
  },
  {
    "question": "What is Selectable fields for custom resources?",
    "answer": "T h e   s p e c . v e r s i o n s [ * ] . s e l e c t a b l e F i e l d s   f i e l d   o f   a   C u s t o m R e s o u r c e D e f i n i t i o n   m a y   b e   u s e d   t o   d e c l a r e   w h i c h   o t h e r   f i e l d s   i n   a   c u s t o m   r e s o u r c e   m a y   b e   u s e d   i n   f i e l d   s e l e c t o r s .   T h e   f o l l o w i n g   e x a m p l e   a d d s   t h e   . s p e c . c o l o r   a n d   . s p e c . s i z e   f i e l d s   a s   s e l e c t a b l e   f i e l d s .   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   m e t a d a t a :   n a m e :   s h i r t s . s t a b l e . e x a m p l e . c o m   s p e c :   g r o u p :   s t a b l e . e x a m p l e . c o m   s c o p e :   N a m e s p a c e d   n a m e s :   p l u r a l :   s h i r t s   s i n g u l a r :   s h i r t   k i n d :   S h i r t   v e r s i o n s :   -   n a m e :   v 1   s e r v e d :   t r u e   s t o r a g e :   t r u e   s c h e m a :   o p e n A P I V 3 S c h e m a :   t y p e :   o b j e c t   p r o p e r t i e s :   s p e c :   t y p e :   o b j e c t   p r o p e r t i e s :   c o l o r :   t y p e :   s t r i n g   s i z e :   t y p e :   s t r i n g   s e l e c t a b l e F i e l d s :   -   j s o n P a t h :   . s p e c . c o l o r   -   j s o n P a t h :   . s p e c . s i z e   a d d i t i o n a l P r i n t e r C o l u m n s :   -   j s o n P a t h :   . s p e c . c o l o r   n a m e :   C o l o r   t y p e :   s t r i n g   -   j s o n P a t h :   . s p e c . s i z e   n a m e :   S i z e   t y p e :   s t r i n g   F i e l d   s e l e c t o r s   c a n   t h e n   b e   u s e d   t o   g e t   o n l y   r e s o u r c e s   w i t h   a   c o l o r   o f   b l u e :   k u b e c t l   g e t   s h i r t s . s t a b l e . e x a m p l e . c o m   - - f i e l d - s e l e c t o r   s p e c . c o l o r = b l u e   T h e   o u t p u t   s h o u l d   b e :   N A M E   C O L O R ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_section_3_16489"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   E x t e n d   t h e   K u b e r n e t e s   A P I   w i t h   t h e   a g g r e g a t i o n   l a y e r . L e a r n   h o w   t o   E x t e n d   t h e   K u b e r n e t e s   A P I   w i t h   C u s t o m R e s o u r c e D e f i n i t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/",
    "id": "k8s_00757_section_2_16490"
  },
  {
    "question": "What is Delete a StatefulSet?",
    "answer": "Delete a StatefulSetThis task shows you how to delete a StatefulSet.Before you beginThis task assumes you have an application running on your cluster represented by a StatefulSet.Deleting a StatefulSetYou can delete a StatefulSet in the same way you delete other resources in Kubernetes: use the kubectl delete command, and specify the StatefulSet either by file or by name.kubectl delete -f <file.yaml> kubectl delete statefulsets <statefulset-name> You may need to delete the associated headless service separately after the StatefulSet itself is deleted.kubectl delete service <service-name> When deleting a StatefulSet through kubectl, the StatefulSet scales down to 0. All Pods that are part of this workload are also deleted. If you want to delete only the StatefulSet and not the Pods, use --cascade=orphan. For example:kubectl delete -f <file.yaml> --cascade=orphan By passing --cascade=orphan to kubectl delete, the Pods managed by the StatefulSet are left behind even after the StatefulSet object itself is deleted. If the pods have a label app.kubernetes.io/name=MyApp, you can then delete them as follows:kubectl delete pods -l app.kubernetes.io/name=MyApp Persistent VolumesDeleting the Pods in a StatefulSet will not delete the associated volumes. This is to ensure that you have the chance to copy data off the volume before deleting it. Deleting the PVC after the pods have terminated might trigger deletion of the backing Persistent Volumes depending on the storage class and reclaim policy. You should never assume ability to access a volume after claim deletion.Note:Use caution when deleting a PVC, as it may lead to data loss.Complete deletion of a StatefulSetTo delete everything in a StatefulSet, including the associated pods, you can run a series of commands similar to the following:grace=$(kubectl get pods <stateful-set-pod> --template '{{.spec.terminationGracePeriodSeconds}}') kubectl delete statefulset -l app.kubernetes.io/name=MyApp sleep $grace kubectl delete pvc -l app.kubernetes.io/name=MyApp In the example above, the Pods have the label app.kubernetes.io/name=MyApp; substitute your own label as appropriate.Force deletion of StatefulSet podsIf you find that some pods in your StatefulSet are stuck in the 'Terminating' or 'Unknown' states for an extended period of time, you may need to manually intervene to forcefully delete the pods from the apiserver. This is a potentially dangerous task. Refer to Force Delete StatefulSet Pods for details.What's nextLearn more about force deleting StatefulSet Pods.",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/delete-stateful-set/",
    "id": "k8s_00758_qa_16491"
  },
  {
    "question": "How does Delete a StatefulSet work?",
    "answer": "Delete a StatefulSetThis task shows you how to delete a StatefulSet.Before you beginThis task assumes you have an application running on your cluster represented by a StatefulSet.Deleting a StatefulSetYou can delete a StatefulSet in the same way you delete other resources in Kubernetes: use the kubectl delete command, and specify the StatefulSet either by file or by name.kubectl delete -f <file.yaml> kubectl delete statefulsets <statefulset-name> You may need to delete the associated headless service separately after the StatefulSet itself is deleted.kubectl delete service <service-name> When deleting a StatefulSet through kubectl, the StatefulSet scales down to 0. All Pods that are part of this workload are also deleted. If you want to delete only the StatefulSet and not the Pods, use --cascade=orphan. For example:kubectl delete -f <file.yaml> --cascade=orphan By passing --cascade=orphan to kubectl delete, the Pods managed by the StatefulSet are left behind even after the StatefulSet object itself is deleted. If the pods have a label app.kubernetes.io/name=MyApp, you can then delete them as follows:kubectl delete pods -l app.kubernetes.io/name=MyApp Persistent VolumesDeleting the Pods in a StatefulSet will not delete the associated volumes. This is to ensure that you have the chance to copy data off the volume before deleting it. Deleting the PVC after the pods have terminated might trigger deletion of the backing Persistent Volumes depending on the storage class and reclaim policy. You should never assume ability to access a volume after claim deletion.Note:Use caution when deleting a PVC, as it may lead to data loss.Complete deletion of a StatefulSetTo delete everything in a StatefulSet, including the associated pods, you can run a series of commands similar to the following:grace=$(kubectl get pods <stateful-set-pod> --template '{{.spec.terminationGracePeriodSeconds}}') kubectl delete statefulset -l app.kubernetes.io/name=MyApp sleep $grace kubectl delete pvc -l app.kubernetes.io/name=MyApp In the example above, the Pods have the label app.kubernetes.io/name=MyApp; substitute your own label as appropriate.Force deletion of StatefulSet podsIf you find that some pods in your StatefulSet are stuck in the 'Terminating' or 'Unknown' states for an extended period of time, you may need to manually intervene to forcefully delete the pods from the apiserver. This is a potentially dangerous task. Refer to Force Delete StatefulSet Pods for details.What's nextLearn more about force deleting StatefulSet Pods.",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/delete-stateful-set/",
    "id": "k8s_00758_qa_16492"
  },
  {
    "question": "When would you use Delete a StatefulSet?",
    "answer": "Delete a StatefulSetThis task shows you how to delete a StatefulSet.Before you beginThis task assumes you have an application running on your cluster represented by a StatefulSet.Deleting a StatefulSetYou can delete a StatefulSet in the same way you delete other resources in Kubernetes: use the kubectl delete command, and specify the StatefulSet either by file or by name.kubectl delete -f <file.yaml> kubectl delete statefulsets <statefulset-name> You may need to delete the associated headless service separately after the StatefulSet itself is deleted.kubectl delete service <service-name> When deleting a StatefulSet through kubectl, the StatefulSet scales down to 0. All Pods that are part of this workload are also deleted. If you want to delete only the StatefulSet and not the Pods, use --cascade=orphan. For example:kubectl delete -f <file.yaml> --cascade=orphan By passing --cascade=orphan to kubectl delete, the Pods managed by the StatefulSet are left behind even after the StatefulSet object itself is deleted. If the pods have a label app.kubernetes.io/name=MyApp, you can then delete them as follows:kubectl delete pods -l app.kubernetes.io/name=MyApp Persistent VolumesDeleting the Pods in a StatefulSet will not delete the associated volumes. This is to ensure that you have the chance to copy data off the volume before deleting it. Deleting the PVC after the pods have terminated might trigger deletion of the backing Persistent Volumes depending on the storage class and reclaim policy. You should never assume ability to access a volume after claim deletion.Note:Use caution when deleting a PVC, as it may lead to data loss.Complete deletion of a StatefulSetTo delete everything in a StatefulSet, including the associated pods, you can run a series of commands similar to the following:grace=$(kubectl get pods <stateful-set-pod> --template '{{.spec.terminationGracePeriodSeconds}}') kubectl delete statefulset -l app.kubernetes.io/name=MyApp sleep $grace kubectl delete pvc -l app.kubernetes.io/name=MyApp In the example above, the Pods have the label app.kubernetes.io/name=MyApp; substitute your own label as appropriate.Force deletion of StatefulSet podsIf you find that some pods in your StatefulSet are stuck in the 'Terminating' or 'Unknown' states for an extended period of time, you may need to manually intervene to forcefully delete the pods from the apiserver. This is a potentially dangerous task. Refer to Force Delete StatefulSet Pods for details.What's nextLearn more about force deleting StatefulSet Pods.",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/delete-stateful-set/",
    "id": "k8s_00758_qa_16493"
  },
  {
    "question": "What are the benefits of Delete a StatefulSet?",
    "answer": "Delete a StatefulSetThis task shows you how to delete a StatefulSet.Before you beginThis task assumes you have an application running on your cluster represented by a StatefulSet.Deleting a StatefulSetYou can delete a StatefulSet in the same way you delete other resources in Kubernetes: use the kubectl delete command, and specify the StatefulSet either by file or by name.kubectl delete -f <file.yaml> kubectl delete statefulsets <statefulset-name> You may need to delete the associated headless service separately after the StatefulSet itself is deleted.kubectl delete service <service-name> When deleting a StatefulSet through kubectl, the StatefulSet scales down to 0. All Pods that are part of this workload are also deleted. If you want to delete only the StatefulSet and not the Pods, use --cascade=orphan. For example:kubectl delete -f <file.yaml> --cascade=orphan By passing --cascade=orphan to kubectl delete, the Pods managed by the StatefulSet are left behind even after the StatefulSet object itself is deleted. If the pods have a label app.kubernetes.io/name=MyApp, you can then delete them as follows:kubectl delete pods -l app.kubernetes.io/name=MyApp Persistent VolumesDeleting the Pods in a StatefulSet will not delete the associated volumes. This is to ensure that you have the chance to copy data off the volume before deleting it. Deleting the PVC after the pods have terminated might trigger deletion of the backing Persistent Volumes depending on the storage class and reclaim policy. You should never assume ability to access a volume after claim deletion.Note:Use caution when deleting a PVC, as it may lead to data loss.Complete deletion of a StatefulSetTo delete everything in a StatefulSet, including the associated pods, you can run a series of commands similar to the following:grace=$(kubectl get pods <stateful-set-pod> --template '{{.spec.terminationGracePeriodSeconds}}') kubectl delete statefulset -l app.kubernetes.io/name=MyApp sleep $grace kubectl delete pvc -l app.kubernetes.io/name=MyApp In the example above, the Pods have the label app.kubernetes.io/name=MyApp; substitute your own label as appropriate.Force deletion of StatefulSet podsIf you find that some pods in your StatefulSet are stuck in the 'Terminating' or 'Unknown' states for an extended period of time, you may need to manually intervene to forcefully delete the pods from the apiserver. This is a potentially dangerous task. Refer to Force Delete StatefulSet Pods for details.What's nextLearn more about force deleting StatefulSet Pods.",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/delete-stateful-set/",
    "id": "k8s_00758_qa_16494"
  },
  {
    "question": "What is Delete a StatefulSet?",
    "answer": "T h i s   t a s k   s h o w s   y o u   h o w   t o   d e l e t e   a   S t a t e f u l S e t .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/delete-stateful-set/",
    "id": "k8s_00758_section_1_16495"
  },
  {
    "question": "What is Before you begin?",
    "answer": "T h i s   t a s k   a s s u m e s   y o u   h a v e   a n   a p p l i c a t i o n   r u n n i n g   o n   y o u r   c l u s t e r   r e p r e s e n t e d   b y   a   S t a t e f u l S e t .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/delete-stateful-set/",
    "id": "k8s_00758_section_2_16496"
  },
  {
    "question": "What is Deleting a StatefulSet?",
    "answer": "Y o u   c a n   d e l e t e   a   S t a t e f u l S e t   i n   t h e   s a m e   w a y   y o u   d e l e t e   o t h e r   r e s o u r c e s   i n   K u b e r n e t e s :   u s e   t h e   k u b e c t l   d e l e t e   c o m m a n d ,   a n d   s p e c i f y   t h e   S t a t e f u l S e t   e i t h e r   b y   f i l e   o r   b y   n a m e .   k u b e c t l   d e l e t e   - f   < f i l e . y a m l >   k u b e c t l   d e l e t e   s t a t e f u l s e t s   < s t a t e f u l s e t - n a m e >   Y o u   m a y   n e e d   t o   d e l e t e   t h e   a s s o c i a t e d   h e a d l e s s   s e r v i c e   s e p a r a t e l y   a f t e r   t h e   S t a t e f u l S e t   i t s e l f   i s   d e l e t e d .   k u b e c t l   d e l e t e   s e r v i c e   < s e r v i c e - n a m e >   W h e n   d e l e t i n g   a   S t a t e f u l S e t   t h r o u g h   k u b e c t l ,   t h e   S t a t e f u l S e t   s c a l e s   d o w n   t o   0 .   A l l   P o d s   t h a t   a r e   p a r t   o f   t h i s   w o r k l o a d   a r e   a l s o   d e l e t e d .   I f   y o u   w a n t   t o   d e l e t e   o n l y   t h e   S t a t e f u l S e t   a n d   n o t   t h e   P o d s ,   u s e   - - c a s c a d e = o r p h a n .   F o r   e x a m p l e :   k u b e c t l   d e l e t e   - f   < f i l e . y a m l >   - - c a s c a d e = o r p h a n   B y   p a s s i n g   - - c a s c a d e = o r p h a n   t o   k u b e c t l   d e l e t e ,   t h e   P o d s   m a n a g e d   b y   t h e   S t a t e f u l S e t   a r e   l e f t   b e h i n d   e v e n   a f t e r   t h e   S t a t e f u l S e t   o b j e c t   i t s e l f   i s   d e l e t e d .   I f   t h e   p o d s   h a v e   a   l a b e l   a p p . k u b e r n e t e s . i o / n a m e = M y A p p ,   y o u   c a n   t h e n   d e l e t e   t h e m   a s   f o l l o w s :   k u b e c t l   d e l e t e   p o d s   - l   a p p . k u b e r n e t e s . i o / n a m e = M y A p p",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/delete-stateful-set/",
    "id": "k8s_00758_section_2_16497"
  },
  {
    "question": "What is Persistent Volumes?",
    "answer": "D e l e t i n g   t h e   P o d s   i n   a   S t a t e f u l S e t   w i l l   n o t   d e l e t e   t h e   a s s o c i a t e d   v o l u m e s .   T h i s   i s   t o   e n s u r e   t h a t   y o u   h a v e   t h e   c h a n c e   t o   c o p y   d a t a   o f f   t h e   v o l u m e   b e f o r e   d e l e t i n g   i t .   D e l e t i n g   t h e   P V C   a f t e r   t h e   p o d s   h a v e   t e r m i n a t e d   m i g h t   t r i g g e r   d e l e t i o n   o f   t h e   b a c k i n g   P e r s i s t e n t   V o l u m e s   d e p e n d i n g   o n   t h e   s t o r a g e   c l a s s   a n d   r e c l a i m   p o l i c y .   Y o u   s h o u l d   n e v e r   a s s u m e   a b i l i t y   t o   a c c e s s   a   v o l u m e   a f t e r   c l a i m   d e l e t i o n .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/delete-stateful-set/",
    "id": "k8s_00758_section_3_16498"
  },
  {
    "question": "What is Complete deletion of a StatefulSet?",
    "answer": "T o   d e l e t e   e v e r y t h i n g   i n   a   S t a t e f u l S e t ,   i n c l u d i n g   t h e   a s s o c i a t e d   p o d s ,   y o u   c a n   r u n   a   s e r i e s   o f   c o m m a n d s   s i m i l a r   t o   t h e   f o l l o w i n g :   g r a c e = $ ( k u b e c t l   g e t   p o d s   < s t a t e f u l - s e t - p o d >   - - t e m p l a t e   ' { { . s p e c . t e r m i n a t i o n G r a c e P e r i o d S e c o n d s } } ' )   k u b e c t l   d e l e t e   s t a t e f u l s e t   - l   a p p . k u b e r n e t e s . i o / n a m e = M y A p p   s l e e p   $ g r a c e   k u b e c t l   d e l e t e   p v c   - l   a p p . k u b e r n e t e s . i o / n a m e = M y A p p   I n   t h e   e x a m p l e   a b o v e ,   t h e   P o d s   h a v e   t h e   l a b e l   a p p . k u b e r n e t e s . i o / n a m e = M y A p p ;   s u b s t i t u t e   y o u r   o w n   l a b e l   a s   a p p r o p r i a t e .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/delete-stateful-set/",
    "id": "k8s_00758_section_3_16499"
  },
  {
    "question": "What is Force deletion of StatefulSet pods?",
    "answer": "I f   y o u   f i n d   t h a t   s o m e   p o d s   i n   y o u r   S t a t e f u l S e t   a r e   s t u c k   i n   t h e   ' T e r m i n a t i n g '   o r   ' U n k n o w n '   s t a t e s   f o r   a n   e x t e n d e d   p e r i o d   o f   t i m e ,   y o u   m a y   n e e d   t o   m a n u a l l y   i n t e r v e n e   t o   f o r c e f u l l y   d e l e t e   t h e   p o d s   f r o m   t h e   a p i s e r v e r .   T h i s   i s   a   p o t e n t i a l l y   d a n g e r o u s   t a s k .   R e f e r   t o   F o r c e   D e l e t e   S t a t e f u l S e t   P o d s   f o r   d e t a i l s .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/delete-stateful-set/",
    "id": "k8s_00758_section_3_16500"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   f o r c e   d e l e t i n g   S t a t e f u l S e t   P o d s .",
    "category": "tasks",
    "subcategory": "access-applications",
    "source": "https://kubernetes.io/docs/tasks/run-application/delete-stateful-set/",
    "id": "k8s_00758_section_2_16501"
  },
  {
    "question": "What is Install Tools?",
    "answer": "Install ToolsSet up Kubernetes tools on your computer.kubectlThe Kubernetes command-line tool, kubectl, allows you to run commands against Kubernetes clusters. You can use kubectl to deploy applications, inspect and manage cluster resources, and view logs. For more information including a complete list of kubectl operations, see the kubectl reference documentation.kubectl is installable on a variety of Linux platforms, macOS and Windows. Find your preferred operating system below.Install kubectl on LinuxInstall kubectl on macOSInstall kubectl on Windowskindkind lets you run Kubernetes on your local computer. This tool requires that you have either Docker or Podman installed.The kind Quick Start page shows you what you need to do to get up and running with kind.View kind Quick Start GuideminikubeLike kind, minikube is a tool that lets you run Kubernetes locally. minikube runs an all-in-one or a multi-node local Kubernetes cluster on your personal computer (including Windows, macOS and Linux PCs) so that you can try out Kubernetes, or for daily development work.You can follow the official Get Started! guide if your focus is on getting the tool installed.View minikube Get Started! GuideOnce you have minikube working, you can use it to run a sample application.kubeadmYou can use the kubeadm tool to create and manage Kubernetes clusters. It performs the actions necessary to get a minimum viable, secure cluster up and running in a user friendly way.Installing kubeadm shows you how to install kubeadm. Once installed, you can use it to create a cluster.View kubeadm Install Guide",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/",
    "id": "k8s_00759_qa_16502"
  },
  {
    "question": "How does Install Tools work?",
    "answer": "Install ToolsSet up Kubernetes tools on your computer.kubectlThe Kubernetes command-line tool, kubectl, allows you to run commands against Kubernetes clusters. You can use kubectl to deploy applications, inspect and manage cluster resources, and view logs. For more information including a complete list of kubectl operations, see the kubectl reference documentation.kubectl is installable on a variety of Linux platforms, macOS and Windows. Find your preferred operating system below.Install kubectl on LinuxInstall kubectl on macOSInstall kubectl on Windowskindkind lets you run Kubernetes on your local computer. This tool requires that you have either Docker or Podman installed.The kind Quick Start page shows you what you need to do to get up and running with kind.View kind Quick Start GuideminikubeLike kind, minikube is a tool that lets you run Kubernetes locally. minikube runs an all-in-one or a multi-node local Kubernetes cluster on your personal computer (including Windows, macOS and Linux PCs) so that you can try out Kubernetes, or for daily development work.You can follow the official Get Started! guide if your focus is on getting the tool installed.View minikube Get Started! GuideOnce you have minikube working, you can use it to run a sample application.kubeadmYou can use the kubeadm tool to create and manage Kubernetes clusters. It performs the actions necessary to get a minimum viable, secure cluster up and running in a user friendly way.Installing kubeadm shows you how to install kubeadm. Once installed, you can use it to create a cluster.View kubeadm Install Guide",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/",
    "id": "k8s_00759_qa_16503"
  },
  {
    "question": "When would you use Install Tools?",
    "answer": "Install ToolsSet up Kubernetes tools on your computer.kubectlThe Kubernetes command-line tool, kubectl, allows you to run commands against Kubernetes clusters. You can use kubectl to deploy applications, inspect and manage cluster resources, and view logs. For more information including a complete list of kubectl operations, see the kubectl reference documentation.kubectl is installable on a variety of Linux platforms, macOS and Windows. Find your preferred operating system below.Install kubectl on LinuxInstall kubectl on macOSInstall kubectl on Windowskindkind lets you run Kubernetes on your local computer. This tool requires that you have either Docker or Podman installed.The kind Quick Start page shows you what you need to do to get up and running with kind.View kind Quick Start GuideminikubeLike kind, minikube is a tool that lets you run Kubernetes locally. minikube runs an all-in-one or a multi-node local Kubernetes cluster on your personal computer (including Windows, macOS and Linux PCs) so that you can try out Kubernetes, or for daily development work.You can follow the official Get Started! guide if your focus is on getting the tool installed.View minikube Get Started! GuideOnce you have minikube working, you can use it to run a sample application.kubeadmYou can use the kubeadm tool to create and manage Kubernetes clusters. It performs the actions necessary to get a minimum viable, secure cluster up and running in a user friendly way.Installing kubeadm shows you how to install kubeadm. Once installed, you can use it to create a cluster.View kubeadm Install Guide",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/",
    "id": "k8s_00759_qa_16504"
  },
  {
    "question": "What are the benefits of Install Tools?",
    "answer": "Install ToolsSet up Kubernetes tools on your computer.kubectlThe Kubernetes command-line tool, kubectl, allows you to run commands against Kubernetes clusters. You can use kubectl to deploy applications, inspect and manage cluster resources, and view logs. For more information including a complete list of kubectl operations, see the kubectl reference documentation.kubectl is installable on a variety of Linux platforms, macOS and Windows. Find your preferred operating system below.Install kubectl on LinuxInstall kubectl on macOSInstall kubectl on Windowskindkind lets you run Kubernetes on your local computer. This tool requires that you have either Docker or Podman installed.The kind Quick Start page shows you what you need to do to get up and running with kind.View kind Quick Start GuideminikubeLike kind, minikube is a tool that lets you run Kubernetes locally. minikube runs an all-in-one or a multi-node local Kubernetes cluster on your personal computer (including Windows, macOS and Linux PCs) so that you can try out Kubernetes, or for daily development work.You can follow the official Get Started! guide if your focus is on getting the tool installed.View minikube Get Started! GuideOnce you have minikube working, you can use it to run a sample application.kubeadmYou can use the kubeadm tool to create and manage Kubernetes clusters. It performs the actions necessary to get a minimum viable, secure cluster up and running in a user friendly way.Installing kubeadm shows you how to install kubeadm. Once installed, you can use it to create a cluster.View kubeadm Install Guide",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/",
    "id": "k8s_00759_qa_16505"
  },
  {
    "question": "What is kubectl?",
    "answer": "T h e   K u b e r n e t e s   c o m m a n d - l i n e   t o o l ,   k u b e c t l ,   a l l o w s   y o u   t o   r u n   c o m m a n d s   a g a i n s t   K u b e r n e t e s   c l u s t e r s .   Y o u   c a n   u s e   k u b e c t l   t o   d e p l o y   a p p l i c a t i o n s ,   i n s p e c t   a n d   m a n a g e   c l u s t e r   r e s o u r c e s ,   a n d   v i e w   l o g s .   F o r   m o r e   i n f o r m a t i o n   i n c l u d i n g   a   c o m p l e t e   l i s t   o f   k u b e c t l   o p e r a t i o n s ,   s e e   t h e   k u b e c t l   r e f e r e n c e   d o c u m e n t a t i o n .   k u b e c t l   i s   i n s t a l l a b l e   o n   a   v a r i e t y   o f   L i n u x   p l a t f o r m s ,   m a c O S   a n d   W i n d o w s .   F i n d   y o u r   p r e f e r r e d   o p e r a t i n g   s y s t e m   b e l o w .   I n s t a l l   k u b e c t l   o n   L i n u x I n s t a l l   k u b e c t l   o n   m a c O S I n s t a l l   k u b e c t l   o n   W i n d o w s",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/",
    "id": "k8s_00759_section_2_16506"
  },
  {
    "question": "What is kind?",
    "answer": "k i n d   l e t s   y o u   r u n   K u b e r n e t e s   o n   y o u r   l o c a l   c o m p u t e r .   T h i s   t o o l   r e q u i r e s   t h a t   y o u   h a v e   e i t h e r   D o c k e r   o r   P o d m a n   i n s t a l l e d .   T h e   k i n d   Q u i c k   S t a r t   p a g e   s h o w s   y o u   w h a t   y o u   n e e d   t o   d o   t o   g e t   u p   a n d   r u n n i n g   w i t h   k i n d .   V i e w   k i n d   Q u i c k   S t a r t   G u i d e",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/",
    "id": "k8s_00759_section_2_16507"
  },
  {
    "question": "What is minikube?",
    "answer": "L i k e   k i n d ,   m i n i k u b e   i s   a   t o o l   t h a t   l e t s   y o u   r u n   K u b e r n e t e s   l o c a l l y .   m i n i k u b e   r u n s   a n   a l l - i n - o n e   o r   a   m u l t i - n o d e   l o c a l   K u b e r n e t e s   c l u s t e r   o n   y o u r   p e r s o n a l   c o m p u t e r   ( i n c l u d i n g   W i n d o w s ,   m a c O S   a n d   L i n u x   P C s )   s o   t h a t   y o u   c a n   t r y   o u t   K u b e r n e t e s ,   o r   f o r   d a i l y   d e v e l o p m e n t   w o r k .   Y o u   c a n   f o l l o w   t h e   o f f i c i a l   G e t   S t a r t e d !   g u i d e   i f   y o u r   f o c u s   i s   o n   g e t t i n g   t h e   t o o l   i n s t a l l e d .   V i e w   m i n i k u b e   G e t   S t a r t e d !   G u i d e   O n c e   y o u   h a v e   m i n i k u b e   w o r k i n g ,   y o u   c a n   u s e   i t   t o   r u n   a   s a m p l e   a p p l i c a t i o n .",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/",
    "id": "k8s_00759_section_2_16508"
  },
  {
    "question": "What is kubeadm?",
    "answer": "Y o u   c a n   u s e   t h e   k u b e a d m   t o o l   t o   c r e a t e   a n d   m a n a g e   K u b e r n e t e s   c l u s t e r s .   I t   p e r f o r m s   t h e   a c t i o n s   n e c e s s a r y   t o   g e t   a   m i n i m u m   v i a b l e ,   s e c u r e   c l u s t e r   u p   a n d   r u n n i n g   i n   a   u s e r   f r i e n d l y   w a y .   I n s t a l l i n g   k u b e a d m   s h o w s   y o u   h o w   t o   i n s t a l l   k u b e a d m .   O n c e   i n s t a l l e d ,   y o u   c a n   u s e   i t   t o   c r e a t e   a   c l u s t e r .   V i e w   k u b e a d m   I n s t a l l   G u i d e",
    "category": "tasks",
    "subcategory": "install-setup",
    "source": "https://kubernetes.io/docs/tasks/tools/",
    "id": "k8s_00759_section_2_16509"
  },
  {
    "question": "What is kubectl scale?",
    "answer": "kubectl scaleSynopsisSet a new size for a deployment, replica set, replication controller, or stateful set.Scale also allows users to specify one or more preconditions for the scale action.If --current-replicas or --resource-version is specified, it is validated before the scale is attempted, and it is guaranteed that the precondition holds true when the scale is sent to the server.kubectl scale [--resource-version=version] [--current-replicas=count] --replicas=COUNT (-f FILENAME | TYPE NAME) Examples # Scale a replica set named 'foo' to 3 kubectl scale --replicas=3 rs/foo # Scale a resource identified by type and name specified in \"foo.yaml\" to 3 kubectl scale --replicas=3 -f foo.yaml # If the deployment named mysql's current size is 2, scale mysql to 3 kubectl scale --current-replicas=2 --replicas=3 deployment/mysql # Scale multiple replication controllers kubectl scale --replicas=5 rc/example1 rc/example2 rc/example3 # Scale stateful set named 'web' to 3 kubectl scale --replicas=3 statefulset/web Options--allSelect all resources in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--current-replicas int Default: -1Precondition for current size. Requires that the current size of the resource match this value in order to scale. -1 (default) for no condition.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-f, --filename stringsFilename, directory, or URL to files identifying the resource to set a new size-h, --helphelp for scale-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--replicas intThe new desired number of replicas. Required.--resource-version stringPrecondition for resource version. Requires that the current resource version match this value in order to scale.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--timeout durationThe length of t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_scale/",
    "id": "k8s_00760_qa_16510"
  },
  {
    "question": "How does kubectl scale work?",
    "answer": "kubectl scaleSynopsisSet a new size for a deployment, replica set, replication controller, or stateful set.Scale also allows users to specify one or more preconditions for the scale action.If --current-replicas or --resource-version is specified, it is validated before the scale is attempted, and it is guaranteed that the precondition holds true when the scale is sent to the server.kubectl scale [--resource-version=version] [--current-replicas=count] --replicas=COUNT (-f FILENAME | TYPE NAME) Examples # Scale a replica set named 'foo' to 3 kubectl scale --replicas=3 rs/foo # Scale a resource identified by type and name specified in \"foo.yaml\" to 3 kubectl scale --replicas=3 -f foo.yaml # If the deployment named mysql's current size is 2, scale mysql to 3 kubectl scale --current-replicas=2 --replicas=3 deployment/mysql # Scale multiple replication controllers kubectl scale --replicas=5 rc/example1 rc/example2 rc/example3 # Scale stateful set named 'web' to 3 kubectl scale --replicas=3 statefulset/web Options--allSelect all resources in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--current-replicas int Default: -1Precondition for current size. Requires that the current size of the resource match this value in order to scale. -1 (default) for no condition.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-f, --filename stringsFilename, directory, or URL to files identifying the resource to set a new size-h, --helphelp for scale-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--replicas intThe new desired number of replicas. Required.--resource-version stringPrecondition for resource version. Requires that the current resource version match this value in order to scale.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--timeout durationThe length of t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_scale/",
    "id": "k8s_00760_qa_16511"
  },
  {
    "question": "When would you use kubectl scale?",
    "answer": "kubectl scaleSynopsisSet a new size for a deployment, replica set, replication controller, or stateful set.Scale also allows users to specify one or more preconditions for the scale action.If --current-replicas or --resource-version is specified, it is validated before the scale is attempted, and it is guaranteed that the precondition holds true when the scale is sent to the server.kubectl scale [--resource-version=version] [--current-replicas=count] --replicas=COUNT (-f FILENAME | TYPE NAME) Examples # Scale a replica set named 'foo' to 3 kubectl scale --replicas=3 rs/foo # Scale a resource identified by type and name specified in \"foo.yaml\" to 3 kubectl scale --replicas=3 -f foo.yaml # If the deployment named mysql's current size is 2, scale mysql to 3 kubectl scale --current-replicas=2 --replicas=3 deployment/mysql # Scale multiple replication controllers kubectl scale --replicas=5 rc/example1 rc/example2 rc/example3 # Scale stateful set named 'web' to 3 kubectl scale --replicas=3 statefulset/web Options--allSelect all resources in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--current-replicas int Default: -1Precondition for current size. Requires that the current size of the resource match this value in order to scale. -1 (default) for no condition.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-f, --filename stringsFilename, directory, or URL to files identifying the resource to set a new size-h, --helphelp for scale-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--replicas intThe new desired number of replicas. Required.--resource-version stringPrecondition for resource version. Requires that the current resource version match this value in order to scale.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--timeout durationThe length of t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_scale/",
    "id": "k8s_00760_qa_16512"
  },
  {
    "question": "What are the benefits of kubectl scale?",
    "answer": "kubectl scaleSynopsisSet a new size for a deployment, replica set, replication controller, or stateful set.Scale also allows users to specify one or more preconditions for the scale action.If --current-replicas or --resource-version is specified, it is validated before the scale is attempted, and it is guaranteed that the precondition holds true when the scale is sent to the server.kubectl scale [--resource-version=version] [--current-replicas=count] --replicas=COUNT (-f FILENAME | TYPE NAME) Examples # Scale a replica set named 'foo' to 3 kubectl scale --replicas=3 rs/foo # Scale a resource identified by type and name specified in \"foo.yaml\" to 3 kubectl scale --replicas=3 -f foo.yaml # If the deployment named mysql's current size is 2, scale mysql to 3 kubectl scale --current-replicas=2 --replicas=3 deployment/mysql # Scale multiple replication controllers kubectl scale --replicas=5 rc/example1 rc/example2 rc/example3 # Scale stateful set named 'web' to 3 kubectl scale --replicas=3 statefulset/web Options--allSelect all resources in the namespace of the specified resource types--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--current-replicas int Default: -1Precondition for current size. Requires that the current size of the resource match this value in order to scale. -1 (default) for no condition.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.-f, --filename stringsFilename, directory, or URL to files identifying the resource to set a new size-h, --helphelp for scale-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.--replicas intThe new desired number of replicas. Required.--resource-version stringPrecondition for resource version. Requires that the current resource version match this value in order to scale.-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--timeout durationThe length of t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_scale/",
    "id": "k8s_00760_qa_16513"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S e t   a   n e w   s i z e   f o r   a   d e p l o y m e n t ,   r e p l i c a   s e t ,   r e p l i c a t i o n   c o n t r o l l e r ,   o r   s t a t e f u l   s e t .   S c a l e   a l s o   a l l o w s   u s e r s   t o   s p e c i f y   o n e   o r   m o r e   p r e c o n d i t i o n s   f o r   t h e   s c a l e   a c t i o n .   I f   - - c u r r e n t - r e p l i c a s   o r   - - r e s o u r c e - v e r s i o n   i s   s p e c i f i e d ,   i t   i s   v a l i d a t e d   b e f o r e   t h e   s c a l e   i s   a t t e m p t e d ,   a n d   i t   i s   g u a r a n t e e d   t h a t   t h e   p r e c o n d i t i o n   h o l d s   t r u e   w h e n   t h e   s c a l e   i s   s e n t   t o   t h e   s e r v e r .   k u b e c t l   s c a l e   [ - - r e s o u r c e - v e r s i o n = v e r s i o n ]   [ - - c u r r e n t - r e p l i c a s = c o u n t ]   - - r e p l i c a s = C O U N T   ( - f   F I L E N A M E   |   T Y P E   N A M E )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_scale/",
    "id": "k8s_00760_section_2_16514"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S c a l e   a   r e p l i c a   s e t   n a m e d   ' f o o '   t o   3   k u b e c t l   s c a l e   - - r e p l i c a s = 3   r s / f o o   #   S c a l e   a   r e s o u r c e   i d e n t i f i e d   b y   t y p e   a n d   n a m e   s p e c i f i e d   i n   \" f o o . y a m l \"   t o   3   k u b e c t l   s c a l e   - - r e p l i c a s = 3   - f   f o o . y a m l   #   I f   t h e   d e p l o y m e n t   n a m e d   m y s q l ' s   c u r r e n t   s i z e   i s   2 ,   s c a l e   m y s q l   t o   3   k u b e c t l   s c a l e   - - c u r r e n t - r e p l i c a s = 2   - - r e p l i c a s = 3   d e p l o y m e n t / m y s q l   #   S c a l e   m u l t i p l e   r e p l i c a t i o n   c o n t r o l l e r s   k u b e c t l   s c a l e   - - r e p l i c a s = 5   r c / e x a m p l e 1   r c / e x a m p l e 2   r c / e x a m p l e 3   #   S c a l e   s t a t e f u l   s e t   n a m e d   ' w e b '   t o   3   k u b e c t l   s c a l e   - - r e p l i c a s = 3   s t a t e f u l s e t / w e b",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_scale/",
    "id": "k8s_00760_section_2_16515"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   P r e c o n d i t i o n   f o r   c u r r e n t   s i z e .   R e q u i r e s   t h a t   t h e   c u r r e n t   s i z e   o f   t h e   r e s o u r c e   m a t c h   t h i s   v a l u e   i n   o r d e r   t o   s c a l e .   - 1   ( d e f a u l t )   f o r   n o   c o n d i t i o n .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   s e t   a   n e w   s i z e   h e l p   f o r   s c a l e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_scale/",
    "id": "k8s_00760_section_2_16516"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_scale/",
    "id": "k8s_00760_section_2_16517"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_scale/",
    "id": "k8s_00760_section_2_16518"
  },
  {
    "question": "What is Upgrading Linux nodes?",
    "answer": "Upgrading Linux nodesThis page explains how to upgrade a Linux Worker Nodes created with kubeadm.Before you beginYou need to have shell access to all the nodes, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts.To check the version, enter kubectl version.Familiarize yourself with the process for upgrading the rest of your kubeadm cluster. You will want to upgrade the control plane nodes before upgrading your Linux Worker nodes.Changing the package repositoryIf you're using the community-owned package repositories (pkgs.k8s.io), you need to enable the package repository for the desired Kubernetes minor release. This is explained in Changing the Kubernetes package repository document.Note: The legacy package repositories (apt.kubernetes.io and yum.kubernetes.io) have been deprecated and frozen starting from September 13, 2023. Using the new package repositories hosted at pkgs.k8s.io is strongly recommended and required in order to install Kubernetes versions released after September 13, 2023. The deprecated legacy repositories, and their contents, might be removed at any time in the future and without a further notice period. The new package repositories provide downloads for Kubernetes versions starting with v1.24.0.Upgrading worker nodesUpgrade kubeadmUpgrade kubeadm:# replace x in 1.34.x-* with the latest patch version sudo apt-mark unhold kubeadm && \\ sudo apt-get update && sudo apt-get install -y kubeadm='1.34.x-*' && \\ sudo apt-mark hold kubeadm For systems with DNF:# replace x in 1.34.x-* with the latest patch version sudo yum install -y kubeadm-'1.34.x-*' --disableexcludes=kubernetes For systems with DNF5:# replace x in 1.34.x-* with the latest patch version sudo yum install -y kubeadm-'1.34.x-*' --setopt=disable_excludes=kubernetes Call \"kubeadm upgrade\"For worker nodes this upgrades the local kubelet configuration:sudo kubeadm upgrade node Drain the nodePrepare the node for maintenance by marking it unschedulable and evicting the workloads:# execute this command on a control plane node # replace <node-to-drain> with the name of your node you are draining kubectl drain <node-to-drain> --ignore-daemonsets Upgrade kubelet and kubectlUpgrade the kubelet and kubectl:# replace x in 1.34.x-* with the latest patch version sudo apt-mark unhold kubelet kubectl && \\ sudo apt-get update && sudo apt-get install -y kubelet='1.34.x-*' kubectl='1.34.x-*' && \\ sudo apt-mark hold kubelet kubectl For systems with DNF:# replace x in 1.34.x-* with the latest patch version sudo yum install -y kubelet-'1.34.x-*' kubectl-'1.34.x-*' --disableexcludes=kubernetes For systems with DNF5:# replace x in 1.34.x-* with the latest patch version sudo yum install -y kubelet-'1.34.x-*' kubectl-'1.34.x-*' --setopt=disable_excludes=kubernetes Restart the kubelet:sudo systemctl daemon-reload sudo systemctl restart kubelet Un",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-linux-nodes/",
    "id": "k8s_00761_qa_16519"
  },
  {
    "question": "How does Upgrading Linux nodes work?",
    "answer": "Upgrading Linux nodesThis page explains how to upgrade a Linux Worker Nodes created with kubeadm.Before you beginYou need to have shell access to all the nodes, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts.To check the version, enter kubectl version.Familiarize yourself with the process for upgrading the rest of your kubeadm cluster. You will want to upgrade the control plane nodes before upgrading your Linux Worker nodes.Changing the package repositoryIf you're using the community-owned package repositories (pkgs.k8s.io), you need to enable the package repository for the desired Kubernetes minor release. This is explained in Changing the Kubernetes package repository document.Note: The legacy package repositories (apt.kubernetes.io and yum.kubernetes.io) have been deprecated and frozen starting from September 13, 2023. Using the new package repositories hosted at pkgs.k8s.io is strongly recommended and required in order to install Kubernetes versions released after September 13, 2023. The deprecated legacy repositories, and their contents, might be removed at any time in the future and without a further notice period. The new package repositories provide downloads for Kubernetes versions starting with v1.24.0.Upgrading worker nodesUpgrade kubeadmUpgrade kubeadm:# replace x in 1.34.x-* with the latest patch version sudo apt-mark unhold kubeadm && \\ sudo apt-get update && sudo apt-get install -y kubeadm='1.34.x-*' && \\ sudo apt-mark hold kubeadm For systems with DNF:# replace x in 1.34.x-* with the latest patch version sudo yum install -y kubeadm-'1.34.x-*' --disableexcludes=kubernetes For systems with DNF5:# replace x in 1.34.x-* with the latest patch version sudo yum install -y kubeadm-'1.34.x-*' --setopt=disable_excludes=kubernetes Call \"kubeadm upgrade\"For worker nodes this upgrades the local kubelet configuration:sudo kubeadm upgrade node Drain the nodePrepare the node for maintenance by marking it unschedulable and evicting the workloads:# execute this command on a control plane node # replace <node-to-drain> with the name of your node you are draining kubectl drain <node-to-drain> --ignore-daemonsets Upgrade kubelet and kubectlUpgrade the kubelet and kubectl:# replace x in 1.34.x-* with the latest patch version sudo apt-mark unhold kubelet kubectl && \\ sudo apt-get update && sudo apt-get install -y kubelet='1.34.x-*' kubectl='1.34.x-*' && \\ sudo apt-mark hold kubelet kubectl For systems with DNF:# replace x in 1.34.x-* with the latest patch version sudo yum install -y kubelet-'1.34.x-*' kubectl-'1.34.x-*' --disableexcludes=kubernetes For systems with DNF5:# replace x in 1.34.x-* with the latest patch version sudo yum install -y kubelet-'1.34.x-*' kubectl-'1.34.x-*' --setopt=disable_excludes=kubernetes Restart the kubelet:sudo systemctl daemon-reload sudo systemctl restart kubelet Un",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-linux-nodes/",
    "id": "k8s_00761_qa_16520"
  },
  {
    "question": "When would you use Upgrading Linux nodes?",
    "answer": "Upgrading Linux nodesThis page explains how to upgrade a Linux Worker Nodes created with kubeadm.Before you beginYou need to have shell access to all the nodes, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts.To check the version, enter kubectl version.Familiarize yourself with the process for upgrading the rest of your kubeadm cluster. You will want to upgrade the control plane nodes before upgrading your Linux Worker nodes.Changing the package repositoryIf you're using the community-owned package repositories (pkgs.k8s.io), you need to enable the package repository for the desired Kubernetes minor release. This is explained in Changing the Kubernetes package repository document.Note: The legacy package repositories (apt.kubernetes.io and yum.kubernetes.io) have been deprecated and frozen starting from September 13, 2023. Using the new package repositories hosted at pkgs.k8s.io is strongly recommended and required in order to install Kubernetes versions released after September 13, 2023. The deprecated legacy repositories, and their contents, might be removed at any time in the future and without a further notice period. The new package repositories provide downloads for Kubernetes versions starting with v1.24.0.Upgrading worker nodesUpgrade kubeadmUpgrade kubeadm:# replace x in 1.34.x-* with the latest patch version sudo apt-mark unhold kubeadm && \\ sudo apt-get update && sudo apt-get install -y kubeadm='1.34.x-*' && \\ sudo apt-mark hold kubeadm For systems with DNF:# replace x in 1.34.x-* with the latest patch version sudo yum install -y kubeadm-'1.34.x-*' --disableexcludes=kubernetes For systems with DNF5:# replace x in 1.34.x-* with the latest patch version sudo yum install -y kubeadm-'1.34.x-*' --setopt=disable_excludes=kubernetes Call \"kubeadm upgrade\"For worker nodes this upgrades the local kubelet configuration:sudo kubeadm upgrade node Drain the nodePrepare the node for maintenance by marking it unschedulable and evicting the workloads:# execute this command on a control plane node # replace <node-to-drain> with the name of your node you are draining kubectl drain <node-to-drain> --ignore-daemonsets Upgrade kubelet and kubectlUpgrade the kubelet and kubectl:# replace x in 1.34.x-* with the latest patch version sudo apt-mark unhold kubelet kubectl && \\ sudo apt-get update && sudo apt-get install -y kubelet='1.34.x-*' kubectl='1.34.x-*' && \\ sudo apt-mark hold kubelet kubectl For systems with DNF:# replace x in 1.34.x-* with the latest patch version sudo yum install -y kubelet-'1.34.x-*' kubectl-'1.34.x-*' --disableexcludes=kubernetes For systems with DNF5:# replace x in 1.34.x-* with the latest patch version sudo yum install -y kubelet-'1.34.x-*' kubectl-'1.34.x-*' --setopt=disable_excludes=kubernetes Restart the kubelet:sudo systemctl daemon-reload sudo systemctl restart kubelet Un",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-linux-nodes/",
    "id": "k8s_00761_qa_16521"
  },
  {
    "question": "What are the benefits of Upgrading Linux nodes?",
    "answer": "Upgrading Linux nodesThis page explains how to upgrade a Linux Worker Nodes created with kubeadm.Before you beginYou need to have shell access to all the nodes, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts.To check the version, enter kubectl version.Familiarize yourself with the process for upgrading the rest of your kubeadm cluster. You will want to upgrade the control plane nodes before upgrading your Linux Worker nodes.Changing the package repositoryIf you're using the community-owned package repositories (pkgs.k8s.io), you need to enable the package repository for the desired Kubernetes minor release. This is explained in Changing the Kubernetes package repository document.Note: The legacy package repositories (apt.kubernetes.io and yum.kubernetes.io) have been deprecated and frozen starting from September 13, 2023. Using the new package repositories hosted at pkgs.k8s.io is strongly recommended and required in order to install Kubernetes versions released after September 13, 2023. The deprecated legacy repositories, and their contents, might be removed at any time in the future and without a further notice period. The new package repositories provide downloads for Kubernetes versions starting with v1.24.0.Upgrading worker nodesUpgrade kubeadmUpgrade kubeadm:# replace x in 1.34.x-* with the latest patch version sudo apt-mark unhold kubeadm && \\ sudo apt-get update && sudo apt-get install -y kubeadm='1.34.x-*' && \\ sudo apt-mark hold kubeadm For systems with DNF:# replace x in 1.34.x-* with the latest patch version sudo yum install -y kubeadm-'1.34.x-*' --disableexcludes=kubernetes For systems with DNF5:# replace x in 1.34.x-* with the latest patch version sudo yum install -y kubeadm-'1.34.x-*' --setopt=disable_excludes=kubernetes Call \"kubeadm upgrade\"For worker nodes this upgrades the local kubelet configuration:sudo kubeadm upgrade node Drain the nodePrepare the node for maintenance by marking it unschedulable and evicting the workloads:# execute this command on a control plane node # replace <node-to-drain> with the name of your node you are draining kubectl drain <node-to-drain> --ignore-daemonsets Upgrade kubelet and kubectlUpgrade the kubelet and kubectl:# replace x in 1.34.x-* with the latest patch version sudo apt-mark unhold kubelet kubectl && \\ sudo apt-get update && sudo apt-get install -y kubelet='1.34.x-*' kubectl='1.34.x-*' && \\ sudo apt-mark hold kubelet kubectl For systems with DNF:# replace x in 1.34.x-* with the latest patch version sudo yum install -y kubelet-'1.34.x-*' kubectl-'1.34.x-*' --disableexcludes=kubernetes For systems with DNF5:# replace x in 1.34.x-* with the latest patch version sudo yum install -y kubelet-'1.34.x-*' kubectl-'1.34.x-*' --setopt=disable_excludes=kubernetes Restart the kubelet:sudo systemctl daemon-reload sudo systemctl restart kubelet Un",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-linux-nodes/",
    "id": "k8s_00761_qa_16522"
  },
  {
    "question": "What is Upgrading Linux nodes?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   t o   u p g r a d e   a   L i n u x   W o r k e r   N o d e s   c r e a t e d   w i t h   k u b e a d m .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-linux-nodes/",
    "id": "k8s_00761_section_1_16523"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   s h e l l   a c c e s s   t o   a l l   t h e   n o d e s ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   s h e l l   a c c e s s   t o   a l l   t h e   n o d e s ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   F a m i l i a r i z e   y o u r s e l f   w i t h   t h e   p r o c e s s   f o r   u p g r a d i n g   t h e   r e s t   o f   y o u r   k u b e a d m   c l u s t e r .   Y o u   w i l l   w a n t   t o   u p g r a d e   t h e   c o n t r o l   p l a n e   n o d e s   b e f o r e   u p g r a d i n g   y o u r   L i n u x   W o r k e r   n o d e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-linux-nodes/",
    "id": "k8s_00761_section_2_16524"
  },
  {
    "question": "What is Changing the package repository?",
    "answer": "I f   y o u ' r e   u s i n g   t h e   c o m m u n i t y - o w n e d   p a c k a g e   r e p o s i t o r i e s   ( p k g s . k 8 s . i o ) ,   y o u   n e e d   t o   e n a b l e   t h e   p a c k a g e   r e p o s i t o r y   f o r   t h e   d e s i r e d   K u b e r n e t e s   m i n o r   r e l e a s e .   T h i s   i s   e x p l a i n e d   i n   C h a n g i n g   t h e   K u b e r n e t e s   p a c k a g e   r e p o s i t o r y   d o c u m e n t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-linux-nodes/",
    "id": "k8s_00761_section_2_16525"
  },
  {
    "question": "What is Upgrade kubeadm?",
    "answer": "U p g r a d e   k u b e a d m :   #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   a p t - m a r k   u n h o l d   k u b e a d m   & &   \\   s u d o   a p t - g e t   u p d a t e   & &   s u d o   a p t - g e t   i n s t a l l   - y   k u b e a d m = ' 1 . 3 4 . x - * '   & &   \\   s u d o   a p t - m a r k   h o l d   k u b e a d m   #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   a p t - m a r k   u n h o l d   k u b e a d m   & &   \\   s u d o   a p t - g e t   u p d a t e   & &   s u d o   a p t - g e t   i n s t a l l   - y   k u b e a d m = ' 1 . 3 4 . x - * '   & &   \\   s u d o   a p t - m a r k   h o l d   k u b e a d m   F o r   s y s t e m s   w i t h   D N F : #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   y u m   i n s t a l l   - y   k u b e a d m - ' 1 . 3 4 . x - * '   - - d i s a b l e e x c l u d e s = k u b e r n e t e s   F o r   s y s t e m s   w i t h   D N F 5 : #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   y u m   i n s t a l l   - y   k u b e a d m - ' 1 . 3 4 . x - * '   - - s e t o p t = d i s a b l e _ e x c l u d e s = k u b e r n e t e s   F o r   s y s t e m s   w i t h   D N F :   #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   y u m   i n s t a l l   - y   k u b e a d m - ' 1 . 3 4 . x - * '   - - d i s a b l e e x c l u d e s = k u b e r n e t e s   F o r   s y s t e m s   w i t h   D N F 5 :   #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   y u m   i n s t a l l   - y   k u b e a d m - ' 1 . 3 4 . x - * '   - - s e t o p t = d i s a b l e _ e x c l u d e s = k u b e r n e t e s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-linux-nodes/",
    "id": "k8s_00761_section_3_16526"
  },
  {
    "question": "What is Call \"kubeadm upgrade\"?",
    "answer": "F o r   w o r k e r   n o d e s   t h i s   u p g r a d e s   t h e   l o c a l   k u b e l e t   c o n f i g u r a t i o n :   s u d o   k u b e a d m   u p g r a d e   n o d e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-linux-nodes/",
    "id": "k8s_00761_section_3_16527"
  },
  {
    "question": "What is Drain the node?",
    "answer": "P r e p a r e   t h e   n o d e   f o r   m a i n t e n a n c e   b y   m a r k i n g   i t   u n s c h e d u l a b l e   a n d   e v i c t i n g   t h e   w o r k l o a d s :   #   e x e c u t e   t h i s   c o m m a n d   o n   a   c o n t r o l   p l a n e   n o d e   #   r e p l a c e   < n o d e - t o - d r a i n >   w i t h   t h e   n a m e   o f   y o u r   n o d e   y o u   a r e   d r a i n i n g   k u b e c t l   d r a i n   < n o d e - t o - d r a i n >   - - i g n o r e - d a e m o n s e t s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-linux-nodes/",
    "id": "k8s_00761_section_3_16528"
  },
  {
    "question": "What is Upgrade kubelet and kubectl?",
    "answer": "U p g r a d e   t h e   k u b e l e t   a n d   k u b e c t l : #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   a p t - m a r k   u n h o l d   k u b e l e t   k u b e c t l   & &   \\   s u d o   a p t - g e t   u p d a t e   & &   s u d o   a p t - g e t   i n s t a l l   - y   k u b e l e t = ' 1 . 3 4 . x - * '   k u b e c t l = ' 1 . 3 4 . x - * '   & &   \\   s u d o   a p t - m a r k   h o l d   k u b e l e t   k u b e c t l   F o r   s y s t e m s   w i t h   D N F : #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   y u m   i n s t a l l   - y   k u b e l e t - ' 1 . 3 4 . x - * '   k u b e c t l - ' 1 . 3 4 . x - * '   - - d i s a b l e e x c l u d e s = k u b e r n e t e s   F o r   s y s t e m s   w i t h   D N F 5 : #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   y u m   i n s t a l l   - y   k u b e l e t - ' 1 . 3 4 . x - * '   k u b e c t l - ' 1 . 3 4 . x - * '   - - s e t o p t = d i s a b l e _ e x c l u d e s = k u b e r n e t e s   R e s t a r t   t h e   k u b e l e t : s u d o   s y s t e m c t l   d a e m o n - r e l o a d   s u d o   s y s t e m c t l   r e s t a r t   k u b e l e t   U p g r a d e   t h e   k u b e l e t   a n d   k u b e c t l :   #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   a p t - m a r k   u n h o l d   k u b e l e t   k u b e c t l   & &   \\   s u d o   a p t - g e t   u p d a t e   & &   s u d o   a p t - g e t   i n s t a l l   - y   k u b e l e t = ' 1 . 3 4 . x - * '   k u b e c t l = ' 1 . 3 4 . x - * '   & &   \\   s u d o   a p t - m a r k   h o l d   k u b e l e t   k u b e c t l   #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   a p t - m a r k   u n h o l d   k u b e l ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-linux-nodes/",
    "id": "k8s_00761_section_3_16529"
  },
  {
    "question": "What is Uncordon the node?",
    "answer": "B r i n g   t h e   n o d e   b a c k   o n l i n e   b y   m a r k i n g   i t   s c h e d u l a b l e :   #   e x e c u t e   t h i s   c o m m a n d   o n   a   c o n t r o l   p l a n e   n o d e   #   r e p l a c e   < n o d e - t o - u n c o r d o n >   w i t h   t h e   n a m e   o f   y o u r   n o d e   k u b e c t l   u n c o r d o n   < n o d e - t o - u n c o r d o n >",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-linux-nodes/",
    "id": "k8s_00761_section_3_16530"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   h o w   t o   U p g r a d e   W i n d o w s   n o d e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-linux-nodes/",
    "id": "k8s_00761_section_2_16531"
  },
  {
    "question": "What is kubectl top node?",
    "answer": "kubectl top nodeSynopsisDisplay resource (CPU/memory) usage of nodes.The top-node command allows you to see the resource consumption of nodes.kubectl top node [NAME | -l label] Examples # Show metrics for all nodes kubectl top node # Show metrics for a given node kubectl top node NODE_NAME Options-h, --helphelp for node--no-headersIf present, print output without headers-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-capacityPrint node resources based on Capacity instead of Allocatable(default) of the nodes.--show-swapPrint node resources related to swap memory.--sort-by stringIf non-empty, sort nodes list using specified field. The field can be either 'cpu' or 'memory'.--use-protocol-buffers Default: trueEnables using protocol-buffers to access Metrics API.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transac",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/kubectl_top_node/",
    "id": "k8s_00762_qa_16532"
  },
  {
    "question": "How does kubectl top node work?",
    "answer": "kubectl top nodeSynopsisDisplay resource (CPU/memory) usage of nodes.The top-node command allows you to see the resource consumption of nodes.kubectl top node [NAME | -l label] Examples # Show metrics for all nodes kubectl top node # Show metrics for a given node kubectl top node NODE_NAME Options-h, --helphelp for node--no-headersIf present, print output without headers-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-capacityPrint node resources based on Capacity instead of Allocatable(default) of the nodes.--show-swapPrint node resources related to swap memory.--sort-by stringIf non-empty, sort nodes list using specified field. The field can be either 'cpu' or 'memory'.--use-protocol-buffers Default: trueEnables using protocol-buffers to access Metrics API.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transac",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/kubectl_top_node/",
    "id": "k8s_00762_qa_16533"
  },
  {
    "question": "When would you use kubectl top node?",
    "answer": "kubectl top nodeSynopsisDisplay resource (CPU/memory) usage of nodes.The top-node command allows you to see the resource consumption of nodes.kubectl top node [NAME | -l label] Examples # Show metrics for all nodes kubectl top node # Show metrics for a given node kubectl top node NODE_NAME Options-h, --helphelp for node--no-headersIf present, print output without headers-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-capacityPrint node resources based on Capacity instead of Allocatable(default) of the nodes.--show-swapPrint node resources related to swap memory.--sort-by stringIf non-empty, sort nodes list using specified field. The field can be either 'cpu' or 'memory'.--use-protocol-buffers Default: trueEnables using protocol-buffers to access Metrics API.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transac",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/kubectl_top_node/",
    "id": "k8s_00762_qa_16534"
  },
  {
    "question": "What are the benefits of kubectl top node?",
    "answer": "kubectl top nodeSynopsisDisplay resource (CPU/memory) usage of nodes.The top-node command allows you to see the resource consumption of nodes.kubectl top node [NAME | -l label] Examples # Show metrics for all nodes kubectl top node # Show metrics for a given node kubectl top node NODE_NAME Options-h, --helphelp for node--no-headersIf present, print output without headers-l, --selector stringSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.--show-capacityPrint node resources based on Capacity instead of Allocatable(default) of the nodes.--show-swapPrint node resources related to swap memory.--sort-by stringIf non-empty, sort nodes list using specified field. The field can be either 'cpu' or 'memory'.--use-protocol-buffers Default: trueEnables using protocol-buffers to access Metrics API.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name of the kubeconfig cluster to use--context stringThe name of the kubeconfig context to use--disable-compressionIf true, opt-out of response compression for all requests to the server--insecure-skip-tls-verifyIf true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure--kubeconfig stringPath to the kubeconfig file to use for CLI requests.--kuberc stringPath to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.--match-server-versionRequire server version to match client version-n, --namespace stringIf present, the namespace scope for this CLI request--password stringPassword for basic authentication to the API server--profile string Default: \"none\"Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)--profile-output string Default: \"profile.pprof\"Name of the file to write the profile to--request-timeout string Default: \"0\"The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.-s, --server stringThe address and port of the Kubernetes API server--storage-driver-buffer-duration duration Default: 1m0sWrites in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transac",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/kubectl_top_node/",
    "id": "k8s_00762_qa_16535"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   r e s o u r c e   ( C P U / m e m o r y )   u s a g e   o f   n o d e s .   T h e   t o p - n o d e   c o m m a n d   a l l o w s   y o u   t o   s e e   t h e   r e s o u r c e   c o n s u m p t i o n   o f   n o d e s .   k u b e c t l   t o p   n o d e   [ N A M E   |   - l   l a b e l ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/kubectl_top_node/",
    "id": "k8s_00762_section_2_16536"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S h o w   m e t r i c s   f o r   a l l   n o d e s   k u b e c t l   t o p   n o d e   #   S h o w   m e t r i c s   f o r   a   g i v e n   n o d e   k u b e c t l   t o p   n o d e   N O D E _ N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/kubectl_top_node/",
    "id": "k8s_00762_section_2_16537"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   n o d e   I f   p r e s e n t ,   p r i n t   o u t p u t   w i t h o u t   h e a d e r s   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   P r i n t   n o d e   r e s o u r c e s   b a s e d   o n   C a p a c i t y   i n s t e a d   o f   A l l o c a t a b l e ( d e f a u l t )   o f   t h e   n o d e s .   P r i n t   n o d e   r e s o u r c e s   r e l a t e d   t o   s w a p   m e m o r y .   I f   n o n - e m p t y ,   s o r t   n o d e s   l i s t   u s i n g   s p e c i f i e d   f i e l d .   T h e   f i e l d   c a n   b e   e i t h e r   ' c p u '   o r   ' m e m o r y ' .   E n a b l e s   u s i n g   p r o t o c o l - b u f f e r s   t o   a c c e s s   M e t r i c s   A P I .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/kubectl_top_node/",
    "id": "k8s_00762_section_2_16538"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/kubectl_top_node/",
    "id": "k8s_00762_section_2_16539"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   t o p   -   D i s p l a y   r e s o u r c e   ( C P U / m e m o r y )   u s a g e   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/kubectl_top_node/",
    "id": "k8s_00762_section_2_16540"
  },
  {
    "question": "What is kubectl autoscale?",
    "answer": "kubectl autoscaleSynopsisCreates an autoscaler that automatically chooses and sets the number of pods that run in a Kubernetes cluster. The command will attempt to use the autoscaling/v2 API first, in case of an error, it will fall back to autoscaling/v1 API.Looks up a deployment, replica set, stateful set, or replication controller by name and creates an autoscaler that uses the given resource as a reference. An autoscaler can automatically increase or decrease number of pods deployed within the system as needed.kubectl autoscale (-f FILENAME | TYPE NAME | TYPE/NAME) [--min=MINPODS] --max=MAXPODS [--cpu=CPU] [--memory=MEMORY] Examples # Auto scale a deployment \"foo\", with the number of pods between 2 and 10, no target CPU utilization specified so a default autoscaling policy will be used kubectl autoscale deployment foo --min=2 --max=10 # Auto scale a replication controller \"foo\", with the number of pods between 1 and 5, target CPU utilization at 80% kubectl autoscale rc foo --max=5 --cpu=80% # Auto scale a deployment \"bar\", with the number of pods between 3 and 6, target average CPU of 500m and memory of 200Mi kubectl autoscale deployment bar --min=3 --max=6 --cpu=500m --memory=200Mi # Auto scale a deployment \"bar\", with the number of pods between 2 and 8, target CPU utilization 60% and memory utilization 70% kubectl autoscale deployment bar --min=3 --max=6 --cpu=60% --memory=70% Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--cpu stringTarget CPU utilization over all the pods. When specified as a percentage (e.g.\"70%\" for 70% of requested CPU) it will target average utilization. When specified as quantity (e.g.\"500m\" for 500 milliCPU) it will target average value. Value without units is treated as a quantity with miliCPU being the unit (e.g.\"500\" is \"500m\").--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-autoscale\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to autoscale.-h, --helphelp for autoscale-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--max int32 Default: -1The upper limit for the number of pods that can be set by the autoscaler. Required.--memory stringTarget memory utilization over all the pods. When specified as a percentage (e.g.\"60%\" for 60% of requested memory) it will target average utilization. When specified as quantity (e.g.\"200Mi\" for 200 MiB, \"1Gi\" for 1 GiB) it will target average value. Value without units is treated as a quantity with mebibytes being the unit (e.g.\"200\" is \"200Mi\").--min int32 D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_autoscale/",
    "id": "k8s_00763_qa_16541"
  },
  {
    "question": "How does kubectl autoscale work?",
    "answer": "kubectl autoscaleSynopsisCreates an autoscaler that automatically chooses and sets the number of pods that run in a Kubernetes cluster. The command will attempt to use the autoscaling/v2 API first, in case of an error, it will fall back to autoscaling/v1 API.Looks up a deployment, replica set, stateful set, or replication controller by name and creates an autoscaler that uses the given resource as a reference. An autoscaler can automatically increase or decrease number of pods deployed within the system as needed.kubectl autoscale (-f FILENAME | TYPE NAME | TYPE/NAME) [--min=MINPODS] --max=MAXPODS [--cpu=CPU] [--memory=MEMORY] Examples # Auto scale a deployment \"foo\", with the number of pods between 2 and 10, no target CPU utilization specified so a default autoscaling policy will be used kubectl autoscale deployment foo --min=2 --max=10 # Auto scale a replication controller \"foo\", with the number of pods between 1 and 5, target CPU utilization at 80% kubectl autoscale rc foo --max=5 --cpu=80% # Auto scale a deployment \"bar\", with the number of pods between 3 and 6, target average CPU of 500m and memory of 200Mi kubectl autoscale deployment bar --min=3 --max=6 --cpu=500m --memory=200Mi # Auto scale a deployment \"bar\", with the number of pods between 2 and 8, target CPU utilization 60% and memory utilization 70% kubectl autoscale deployment bar --min=3 --max=6 --cpu=60% --memory=70% Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--cpu stringTarget CPU utilization over all the pods. When specified as a percentage (e.g.\"70%\" for 70% of requested CPU) it will target average utilization. When specified as quantity (e.g.\"500m\" for 500 milliCPU) it will target average value. Value without units is treated as a quantity with miliCPU being the unit (e.g.\"500\" is \"500m\").--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-autoscale\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to autoscale.-h, --helphelp for autoscale-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--max int32 Default: -1The upper limit for the number of pods that can be set by the autoscaler. Required.--memory stringTarget memory utilization over all the pods. When specified as a percentage (e.g.\"60%\" for 60% of requested memory) it will target average utilization. When specified as quantity (e.g.\"200Mi\" for 200 MiB, \"1Gi\" for 1 GiB) it will target average value. Value without units is treated as a quantity with mebibytes being the unit (e.g.\"200\" is \"200Mi\").--min int32 D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_autoscale/",
    "id": "k8s_00763_qa_16542"
  },
  {
    "question": "When would you use kubectl autoscale?",
    "answer": "kubectl autoscaleSynopsisCreates an autoscaler that automatically chooses and sets the number of pods that run in a Kubernetes cluster. The command will attempt to use the autoscaling/v2 API first, in case of an error, it will fall back to autoscaling/v1 API.Looks up a deployment, replica set, stateful set, or replication controller by name and creates an autoscaler that uses the given resource as a reference. An autoscaler can automatically increase or decrease number of pods deployed within the system as needed.kubectl autoscale (-f FILENAME | TYPE NAME | TYPE/NAME) [--min=MINPODS] --max=MAXPODS [--cpu=CPU] [--memory=MEMORY] Examples # Auto scale a deployment \"foo\", with the number of pods between 2 and 10, no target CPU utilization specified so a default autoscaling policy will be used kubectl autoscale deployment foo --min=2 --max=10 # Auto scale a replication controller \"foo\", with the number of pods between 1 and 5, target CPU utilization at 80% kubectl autoscale rc foo --max=5 --cpu=80% # Auto scale a deployment \"bar\", with the number of pods between 3 and 6, target average CPU of 500m and memory of 200Mi kubectl autoscale deployment bar --min=3 --max=6 --cpu=500m --memory=200Mi # Auto scale a deployment \"bar\", with the number of pods between 2 and 8, target CPU utilization 60% and memory utilization 70% kubectl autoscale deployment bar --min=3 --max=6 --cpu=60% --memory=70% Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--cpu stringTarget CPU utilization over all the pods. When specified as a percentage (e.g.\"70%\" for 70% of requested CPU) it will target average utilization. When specified as quantity (e.g.\"500m\" for 500 milliCPU) it will target average value. Value without units is treated as a quantity with miliCPU being the unit (e.g.\"500\" is \"500m\").--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-autoscale\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to autoscale.-h, --helphelp for autoscale-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--max int32 Default: -1The upper limit for the number of pods that can be set by the autoscaler. Required.--memory stringTarget memory utilization over all the pods. When specified as a percentage (e.g.\"60%\" for 60% of requested memory) it will target average utilization. When specified as quantity (e.g.\"200Mi\" for 200 MiB, \"1Gi\" for 1 GiB) it will target average value. Value without units is treated as a quantity with mebibytes being the unit (e.g.\"200\" is \"200Mi\").--min int32 D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_autoscale/",
    "id": "k8s_00763_qa_16543"
  },
  {
    "question": "What are the benefits of kubectl autoscale?",
    "answer": "kubectl autoscaleSynopsisCreates an autoscaler that automatically chooses and sets the number of pods that run in a Kubernetes cluster. The command will attempt to use the autoscaling/v2 API first, in case of an error, it will fall back to autoscaling/v1 API.Looks up a deployment, replica set, stateful set, or replication controller by name and creates an autoscaler that uses the given resource as a reference. An autoscaler can automatically increase or decrease number of pods deployed within the system as needed.kubectl autoscale (-f FILENAME | TYPE NAME | TYPE/NAME) [--min=MINPODS] --max=MAXPODS [--cpu=CPU] [--memory=MEMORY] Examples # Auto scale a deployment \"foo\", with the number of pods between 2 and 10, no target CPU utilization specified so a default autoscaling policy will be used kubectl autoscale deployment foo --min=2 --max=10 # Auto scale a replication controller \"foo\", with the number of pods between 1 and 5, target CPU utilization at 80% kubectl autoscale rc foo --max=5 --cpu=80% # Auto scale a deployment \"bar\", with the number of pods between 3 and 6, target average CPU of 500m and memory of 200Mi kubectl autoscale deployment bar --min=3 --max=6 --cpu=500m --memory=200Mi # Auto scale a deployment \"bar\", with the number of pods between 2 and 8, target CPU utilization 60% and memory utilization 70% kubectl autoscale deployment bar --min=3 --max=6 --cpu=60% --memory=70% Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--cpu stringTarget CPU utilization over all the pods. When specified as a percentage (e.g.\"70%\" for 70% of requested CPU) it will target average utilization. When specified as quantity (e.g.\"500m\" for 500 milliCPU) it will target average value. Value without units is treated as a quantity with miliCPU being the unit (e.g.\"500\" is \"500m\").--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-autoscale\"Name of the manager used to track field ownership.-f, --filename stringsFilename, directory, or URL to files identifying the resource to autoscale.-h, --helphelp for autoscale-k, --kustomize stringProcess the kustomization directory. This flag can't be used together with -f or -R.--max int32 Default: -1The upper limit for the number of pods that can be set by the autoscaler. Required.--memory stringTarget memory utilization over all the pods. When specified as a percentage (e.g.\"60%\" for 60% of requested memory) it will target average utilization. When specified as quantity (e.g.\"200Mi\" for 200 MiB, \"1Gi\" for 1 GiB) it will target average value. Value without units is treated as a quantity with mebibytes being the unit (e.g.\"200\" is \"200Mi\").--min int32 D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_autoscale/",
    "id": "k8s_00763_qa_16544"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e s   a n   a u t o s c a l e r   t h a t   a u t o m a t i c a l l y   c h o o s e s   a n d   s e t s   t h e   n u m b e r   o f   p o d s   t h a t   r u n   i n   a   K u b e r n e t e s   c l u s t e r .   T h e   c o m m a n d   w i l l   a t t e m p t   t o   u s e   t h e   a u t o s c a l i n g / v 2   A P I   f i r s t ,   i n   c a s e   o f   a n   e r r o r ,   i t   w i l l   f a l l   b a c k   t o   a u t o s c a l i n g / v 1   A P I .   L o o k s   u p   a   d e p l o y m e n t ,   r e p l i c a   s e t ,   s t a t e f u l   s e t ,   o r   r e p l i c a t i o n   c o n t r o l l e r   b y   n a m e   a n d   c r e a t e s   a n   a u t o s c a l e r   t h a t   u s e s   t h e   g i v e n   r e s o u r c e   a s   a   r e f e r e n c e .   A n   a u t o s c a l e r   c a n   a u t o m a t i c a l l y   i n c r e a s e   o r   d e c r e a s e   n u m b e r   o f   p o d s   d e p l o y e d   w i t h i n   t h e   s y s t e m   a s   n e e d e d .   k u b e c t l   a u t o s c a l e   ( - f   F I L E N A M E   |   T Y P E   N A M E   |   T Y P E / N A M E )   [ - - m i n = M I N P O D S ]   - - m a x = M A X P O D S   [ - - c p u = C P U ]   [ - - m e m o r y = M E M O R Y ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_autoscale/",
    "id": "k8s_00763_section_2_16545"
  },
  {
    "question": "What is Examples?",
    "answer": "#   A u t o   s c a l e   a   d e p l o y m e n t   \" f o o \" ,   w i t h   t h e   n u m b e r   o f   p o d s   b e t w e e n   2   a n d   1 0 ,   n o   t a r g e t   C P U   u t i l i z a t i o n   s p e c i f i e d   s o   a   d e f a u l t   a u t o s c a l i n g   p o l i c y   w i l l   b e   u s e d   k u b e c t l   a u t o s c a l e   d e p l o y m e n t   f o o   - - m i n = 2   - - m a x = 1 0   #   A u t o   s c a l e   a   r e p l i c a t i o n   c o n t r o l l e r   \" f o o \" ,   w i t h   t h e   n u m b e r   o f   p o d s   b e t w e e n   1   a n d   5 ,   t a r g e t   C P U   u t i l i z a t i o n   a t   8 0 %   k u b e c t l   a u t o s c a l e   r c   f o o   - - m a x = 5   - - c p u = 8 0 %   #   A u t o   s c a l e   a   d e p l o y m e n t   \" b a r \" ,   w i t h   t h e   n u m b e r   o f   p o d s   b e t w e e n   3   a n d   6 ,   t a r g e t   a v e r a g e   C P U   o f   5 0 0 m   a n d   m e m o r y   o f   2 0 0 M i   k u b e c t l   a u t o s c a l e   d e p l o y m e n t   b a r   - - m i n = 3   - - m a x = 6   - - c p u = 5 0 0 m   - - m e m o r y = 2 0 0 M i   #   A u t o   s c a l e   a   d e p l o y m e n t   \" b a r \" ,   w i t h   t h e   n u m b e r   o f   p o d s   b e t w e e n   2   a n d   8 ,   t a r g e t   C P U   u t i l i z a t i o n   6 0 %   a n d   m e m o r y   u t i l i z a t i o n   7 0 %   k u b e c t l   a u t o s c a l e   d e p l o y m e n t   b a r   - - m i n = 3   - - m a x = 6   - - c p u = 6 0 %   - - m e m o r y = 7 0 %",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_autoscale/",
    "id": "k8s_00763_section_2_16546"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   T a r g e t   C P U   u t i l i z a t i o n   o v e r   a l l   t h e   p o d s .   W h e n   s p e c i f i e d   a s   a   p e r c e n t a g e   ( e . g . \" 7 0 % \"   f o r   7 0 %   o f   r e q u e s t e d   C P U )   i t   w i l l   t a r g e t   a v e r a g e   u t i l i z a t i o n .   W h e n   s p e c i f i e d   a s   q u a n t i t y   ( e . g . \" 5 0 0 m \"   f o r   5 0 0   m i l l i C P U )   i t   w i l l   t a r g e t   a v e r a g e   v a l u e .   V a l u e   w i t h o u t   u n i t s   i s   t r e a t e d   a s   a   q u a n t i t y   w i t h   m i l i C P U   b e i n g   t h e   u n i t   ( e . g . \" 5 0 0 \"   i s   \" 5 0 0 m \" ) .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   a u t o s c a l e .   h e l p   f o r   a u t o s c a l e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   T h e   u p p e r   l i m i t   f o r   t h e   n u m b e r   o f   p o d s   t h a t   c a n   b e   s e t   b y   t h e   a u t o s c a l e r .   R e q u i r e d .   T a r g e t   m e m o ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_autoscale/",
    "id": "k8s_00763_section_2_16547"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_autoscale/",
    "id": "k8s_00763_section_2_16548"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_autoscale/",
    "id": "k8s_00763_section_2_16549"
  },
  {
    "question": "What is Set Kubelet Parameters Via A Configuration File?",
    "answer": "Set Kubelet Parameters Via A Configuration FileBefore you beginSome steps in this page use the jq tool. If you don't have jq, you can install it via your operating system's software sources, or fetch it from https://jqlang.github.io/jq/.Some steps also involve installing curl, which can be installed via your operating system's software sources.A subset of the kubelet's configuration parameters may be set via an on-disk config file, as a substitute for command-line flags.Providing parameters via a config file is the recommended approach because it simplifies node deployment and configuration management.Create the config fileThe subset of the kubelet's configuration that can be configured via a file is defined by the KubeletConfiguration struct.The configuration file must be a JSON or YAML representation of the parameters in this struct. Make sure the kubelet has read permissions on the file.Here is an example of what this file might look like:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration address: \"192.168.0.8\" port: 20250 serializeImagePulls: false evictionHard: memory.available: \"100Mi\" nodefs.available: \"10%\" nodefs.inodesFree: \"5%\" imagefs.available: \"15%\" imagefs.inodesFree: \"5%\" In this example, the kubelet is configured with the following settings:address: The kubelet will serve on IP address 192.168.0.8.port: The kubelet will serve on port 20250.serializeImagePulls: Image pulls will be done in parallel.evictionHard: The kubelet will evict Pods under one of the following conditions:When the node's available memory drops below 100MiB.When the node's main filesystem's available space is less than 10%.When the image filesystem's available space is less than 15%.When more than 95% of the node's main filesystem's inodes are in use.Note:In the example, by changing the default value of only one parameter for evictionHard, the default values of other parameters will not be inherited and will be set to zero. In order to provide custom values, you should provide all the threshold values respectively. Alternatively, you can set the MergeDefaultEvictionSettings to true in the kubelet configuration file, if any parameter is changed then the other parameters will inherit their default values instead of 0.The imagefs is an optional filesystem that container runtimes use to store container images and container writable layers.Start a kubelet process configured via the config fileNote:If you use kubeadm to initialize your cluster, use the kubelet-config while creating your cluster with kubeadm init. See configuring kubelet using kubeadm for details.Start the kubelet with the --config flag set to the path of the kubelet's config file. The kubelet will then load its config from this file.Note that command line flags which target the same value as a config file will override that value. This helps ensure backwards compatibility with the command-line API.Note that relative file paths in the kubelet config file are resolved relative to the ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/",
    "id": "k8s_00764_qa_16550"
  },
  {
    "question": "How does Set Kubelet Parameters Via A Configuration File work?",
    "answer": "Set Kubelet Parameters Via A Configuration FileBefore you beginSome steps in this page use the jq tool. If you don't have jq, you can install it via your operating system's software sources, or fetch it from https://jqlang.github.io/jq/.Some steps also involve installing curl, which can be installed via your operating system's software sources.A subset of the kubelet's configuration parameters may be set via an on-disk config file, as a substitute for command-line flags.Providing parameters via a config file is the recommended approach because it simplifies node deployment and configuration management.Create the config fileThe subset of the kubelet's configuration that can be configured via a file is defined by the KubeletConfiguration struct.The configuration file must be a JSON or YAML representation of the parameters in this struct. Make sure the kubelet has read permissions on the file.Here is an example of what this file might look like:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration address: \"192.168.0.8\" port: 20250 serializeImagePulls: false evictionHard: memory.available: \"100Mi\" nodefs.available: \"10%\" nodefs.inodesFree: \"5%\" imagefs.available: \"15%\" imagefs.inodesFree: \"5%\" In this example, the kubelet is configured with the following settings:address: The kubelet will serve on IP address 192.168.0.8.port: The kubelet will serve on port 20250.serializeImagePulls: Image pulls will be done in parallel.evictionHard: The kubelet will evict Pods under one of the following conditions:When the node's available memory drops below 100MiB.When the node's main filesystem's available space is less than 10%.When the image filesystem's available space is less than 15%.When more than 95% of the node's main filesystem's inodes are in use.Note:In the example, by changing the default value of only one parameter for evictionHard, the default values of other parameters will not be inherited and will be set to zero. In order to provide custom values, you should provide all the threshold values respectively. Alternatively, you can set the MergeDefaultEvictionSettings to true in the kubelet configuration file, if any parameter is changed then the other parameters will inherit their default values instead of 0.The imagefs is an optional filesystem that container runtimes use to store container images and container writable layers.Start a kubelet process configured via the config fileNote:If you use kubeadm to initialize your cluster, use the kubelet-config while creating your cluster with kubeadm init. See configuring kubelet using kubeadm for details.Start the kubelet with the --config flag set to the path of the kubelet's config file. The kubelet will then load its config from this file.Note that command line flags which target the same value as a config file will override that value. This helps ensure backwards compatibility with the command-line API.Note that relative file paths in the kubelet config file are resolved relative to the ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/",
    "id": "k8s_00764_qa_16551"
  },
  {
    "question": "When would you use Set Kubelet Parameters Via A Configuration File?",
    "answer": "Set Kubelet Parameters Via A Configuration FileBefore you beginSome steps in this page use the jq tool. If you don't have jq, you can install it via your operating system's software sources, or fetch it from https://jqlang.github.io/jq/.Some steps also involve installing curl, which can be installed via your operating system's software sources.A subset of the kubelet's configuration parameters may be set via an on-disk config file, as a substitute for command-line flags.Providing parameters via a config file is the recommended approach because it simplifies node deployment and configuration management.Create the config fileThe subset of the kubelet's configuration that can be configured via a file is defined by the KubeletConfiguration struct.The configuration file must be a JSON or YAML representation of the parameters in this struct. Make sure the kubelet has read permissions on the file.Here is an example of what this file might look like:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration address: \"192.168.0.8\" port: 20250 serializeImagePulls: false evictionHard: memory.available: \"100Mi\" nodefs.available: \"10%\" nodefs.inodesFree: \"5%\" imagefs.available: \"15%\" imagefs.inodesFree: \"5%\" In this example, the kubelet is configured with the following settings:address: The kubelet will serve on IP address 192.168.0.8.port: The kubelet will serve on port 20250.serializeImagePulls: Image pulls will be done in parallel.evictionHard: The kubelet will evict Pods under one of the following conditions:When the node's available memory drops below 100MiB.When the node's main filesystem's available space is less than 10%.When the image filesystem's available space is less than 15%.When more than 95% of the node's main filesystem's inodes are in use.Note:In the example, by changing the default value of only one parameter for evictionHard, the default values of other parameters will not be inherited and will be set to zero. In order to provide custom values, you should provide all the threshold values respectively. Alternatively, you can set the MergeDefaultEvictionSettings to true in the kubelet configuration file, if any parameter is changed then the other parameters will inherit their default values instead of 0.The imagefs is an optional filesystem that container runtimes use to store container images and container writable layers.Start a kubelet process configured via the config fileNote:If you use kubeadm to initialize your cluster, use the kubelet-config while creating your cluster with kubeadm init. See configuring kubelet using kubeadm for details.Start the kubelet with the --config flag set to the path of the kubelet's config file. The kubelet will then load its config from this file.Note that command line flags which target the same value as a config file will override that value. This helps ensure backwards compatibility with the command-line API.Note that relative file paths in the kubelet config file are resolved relative to the ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/",
    "id": "k8s_00764_qa_16552"
  },
  {
    "question": "What are the benefits of Set Kubelet Parameters Via A Configuration File?",
    "answer": "Set Kubelet Parameters Via A Configuration FileBefore you beginSome steps in this page use the jq tool. If you don't have jq, you can install it via your operating system's software sources, or fetch it from https://jqlang.github.io/jq/.Some steps also involve installing curl, which can be installed via your operating system's software sources.A subset of the kubelet's configuration parameters may be set via an on-disk config file, as a substitute for command-line flags.Providing parameters via a config file is the recommended approach because it simplifies node deployment and configuration management.Create the config fileThe subset of the kubelet's configuration that can be configured via a file is defined by the KubeletConfiguration struct.The configuration file must be a JSON or YAML representation of the parameters in this struct. Make sure the kubelet has read permissions on the file.Here is an example of what this file might look like:apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration address: \"192.168.0.8\" port: 20250 serializeImagePulls: false evictionHard: memory.available: \"100Mi\" nodefs.available: \"10%\" nodefs.inodesFree: \"5%\" imagefs.available: \"15%\" imagefs.inodesFree: \"5%\" In this example, the kubelet is configured with the following settings:address: The kubelet will serve on IP address 192.168.0.8.port: The kubelet will serve on port 20250.serializeImagePulls: Image pulls will be done in parallel.evictionHard: The kubelet will evict Pods under one of the following conditions:When the node's available memory drops below 100MiB.When the node's main filesystem's available space is less than 10%.When the image filesystem's available space is less than 15%.When more than 95% of the node's main filesystem's inodes are in use.Note:In the example, by changing the default value of only one parameter for evictionHard, the default values of other parameters will not be inherited and will be set to zero. In order to provide custom values, you should provide all the threshold values respectively. Alternatively, you can set the MergeDefaultEvictionSettings to true in the kubelet configuration file, if any parameter is changed then the other parameters will inherit their default values instead of 0.The imagefs is an optional filesystem that container runtimes use to store container images and container writable layers.Start a kubelet process configured via the config fileNote:If you use kubeadm to initialize your cluster, use the kubelet-config while creating your cluster with kubeadm init. See configuring kubelet using kubeadm for details.Start the kubelet with the --config flag set to the path of the kubelet's config file. The kubelet will then load its config from this file.Note that command line flags which target the same value as a config file will override that value. This helps ensure backwards compatibility with the command-line API.Note that relative file paths in the kubelet config file are resolved relative to the ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/",
    "id": "k8s_00764_qa_16553"
  },
  {
    "question": "What is Before you begin?",
    "answer": "S o m e   s t e p s   i n   t h i s   p a g e   u s e   t h e   j q   t o o l .   I f   y o u   d o n ' t   h a v e   j q ,   y o u   c a n   i n s t a l l   i t   v i a   y o u r   o p e r a t i n g   s y s t e m ' s   s o f t w a r e   s o u r c e s ,   o r   f e t c h   i t   f r o m   h t t p s : / / j q l a n g . g i t h u b . i o / j q / .   S o m e   s t e p s   a l s o   i n v o l v e   i n s t a l l i n g   c u r l ,   w h i c h   c a n   b e   i n s t a l l e d   v i a   y o u r   o p e r a t i n g   s y s t e m ' s   s o f t w a r e   s o u r c e s .   A   s u b s e t   o f   t h e   k u b e l e t ' s   c o n f i g u r a t i o n   p a r a m e t e r s   m a y   b e   s e t   v i a   a n   o n - d i s k   c o n f i g   f i l e ,   a s   a   s u b s t i t u t e   f o r   c o m m a n d - l i n e   f l a g s .   P r o v i d i n g   p a r a m e t e r s   v i a   a   c o n f i g   f i l e   i s   t h e   r e c o m m e n d e d   a p p r o a c h   b e c a u s e   i t   s i m p l i f i e s   n o d e   d e p l o y m e n t   a n d   c o n f i g u r a t i o n   m a n a g e m e n t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/",
    "id": "k8s_00764_section_2_16554"
  },
  {
    "question": "What is Create the config file?",
    "answer": "T h e   s u b s e t   o f   t h e   k u b e l e t ' s   c o n f i g u r a t i o n   t h a t   c a n   b e   c o n f i g u r e d   v i a   a   f i l e   i s   d e f i n e d   b y   t h e   K u b e l e t C o n f i g u r a t i o n   s t r u c t .   T h e   c o n f i g u r a t i o n   f i l e   m u s t   b e   a   J S O N   o r   Y A M L   r e p r e s e n t a t i o n   o f   t h e   p a r a m e t e r s   i n   t h i s   s t r u c t .   M a k e   s u r e   t h e   k u b e l e t   h a s   r e a d   p e r m i s s i o n s   o n   t h e   f i l e .   H e r e   i s   a n   e x a m p l e   o f   w h a t   t h i s   f i l e   m i g h t   l o o k   l i k e :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   a d d r e s s :   \" 1 9 2 . 1 6 8 . 0 . 8 \"   p o r t :   2 0 2 5 0   s e r i a l i z e I m a g e P u l l s :   f a l s e   e v i c t i o n H a r d :   m e m o r y . a v a i l a b l e :   \" 1 0 0 M i \"   n o d e f s . a v a i l a b l e :   \" 1 0 % \"   n o d e f s . i n o d e s F r e e :   \" 5 % \"   i m a g e f s . a v a i l a b l e :   \" 1 5 % \"   i m a g e f s . i n o d e s F r e e :   \" 5 % \"   I n   t h i s   e x a m p l e ,   t h e   k u b e l e t   i s   c o n f i g u r e d   w i t h   t h e   f o l l o w i n g   s e t t i n g s :   a d d r e s s :   T h e   k u b e l e t   w i l l   s e r v e   o n   I P   a d d r e s s   1 9 2 . 1 6 8 . 0 . 8 . p o r t :   T h e   k u b e l e t   w i l l   s e r v e   o n   p o r t   2 0 2 5 0 . s e r i a l i z e I m a g e P u l l s :   I m a g e   p u l l s   w i l l   b e   d o n e   i n   p a r a l l e l . e v i c t i o n H a r d :   T h e   k u b e l e t   w i l l   e v i c t   P o d s   u n d e r   o n e   o f   t h e   f o l l o w i n g   c o n d i t i o n s : W h e n   t h e   n o d e ' s   a v a i l a b l e   m e m o r y   d r o p s   b e l o w   1 0 0 M i B . W h e n   t h e   n o d e ' s   m a i n   f i l e s y s t e m ' s   a v a i l a ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/",
    "id": "k8s_00764_section_2_16555"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   i m a g e f s   i s   a n   o p t i o n a l   f i l e s y s t e m   t h a t   c o n t a i n e r   r u n t i m e s   u s e   t o   s t o r e   c o n t a i n e r   i m a g e s   a n d   c o n t a i n e r   w r i t a b l e   l a y e r s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/",
    "id": "k8s_00764_section_4_16556"
  },
  {
    "question": "What is Note:?",
    "answer": "S t a r t   t h e   k u b e l e t   w i t h   t h e   - - c o n f i g   f l a g   s e t   t o   t h e   p a t h   o f   t h e   k u b e l e t ' s   c o n f i g   f i l e .   T h e   k u b e l e t   w i l l   t h e n   l o a d   i t s   c o n f i g   f r o m   t h i s   f i l e .   N o t e   t h a t   c o m m a n d   l i n e   f l a g s   w h i c h   t a r g e t   t h e   s a m e   v a l u e   a s   a   c o n f i g   f i l e   w i l l   o v e r r i d e   t h a t   v a l u e .   T h i s   h e l p s   e n s u r e   b a c k w a r d s   c o m p a t i b i l i t y   w i t h   t h e   c o m m a n d - l i n e   A P I .   N o t e   t h a t   r e l a t i v e   f i l e   p a t h s   i n   t h e   k u b e l e t   c o n f i g   f i l e   a r e   r e s o l v e d   r e l a t i v e   t o   t h e   l o c a t i o n   o f   t h e   k u b e l e t   c o n f i g   f i l e ,   w h e r e a s   r e l a t i v e   p a t h s   i n   c o m m a n d   l i n e   f l a g s   a r e   r e s o l v e d   r e l a t i v e   t o   t h e   k u b e l e t ' s   c u r r e n t   w o r k i n g   d i r e c t o r y .   N o t e   t h a t   s o m e   d e f a u l t   v a l u e s   d i f f e r   b e t w e e n   c o m m a n d - l i n e   f l a g s   a n d   t h e   k u b e l e t   c o n f i g   f i l e .   I f   - - c o n f i g   i s   p r o v i d e d   a n d   t h e   v a l u e s   a r e   n o t   s p e c i f i e d   v i a   t h e   c o m m a n d   l i n e ,   t h e   d e f a u l t s   f o r   t h e   K u b e l e t C o n f i g u r a t i o n   v e r s i o n   a p p l y .   I n   t h e   a b o v e   e x a m p l e ,   t h i s   v e r s i o n   i s   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1 .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/",
    "id": "k8s_00764_section_4_16557"
  },
  {
    "question": "What is Drop-in directory for kubelet configuration files?",
    "answer": "Y o u   c a n   s p e c i f y   a   d r o p - i n   c o n f i g u r a t i o n   d i r e c t o r y   f o r   t h e   k u b e l e t .   B y   d e f a u l t ,   t h e   k u b e l e t   d o e s   n o t   l o o k   f o r   d r o p - i n   c o n f i g u r a t i o n   f i l e s   a n y w h e r e   -   y o u   m u s t   s p e c i f y   a   p a t h .   F o r   e x a m p l e :   - - c o n f i g - d i r = / e t c / k u b e r n e t e s / k u b e l e t . c o n f . d   F o r   K u b e r n e t e s   v 1 . 2 8   t o   v 1 . 2 9 ,   y o u   c a n   o n l y   s p e c i f y   - - c o n f i g - d i r   i f   y o u   a l s o   s e t   t h e   e n v i r o n m e n t   v a r i a b l e   K U B E L E T _ C O N F I G _ D R O P I N _ D I R _ A L P H A   f o r   t h e   k u b e l e t   p r o c e s s   ( t h e   v a l u e   o f   t h a t   v a r i a b l e   d o e s   n o t   m a t t e r ) .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/",
    "id": "k8s_00764_section_2_16558"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   k u b e l e t   p r o c e s s e s   f i l e s   i n   i t s   c o n f i g   d r o p - i n   d i r e c t o r y   b y   s o r t i n g   t h e   e n t i r e   f i l e   n a m e   a l p h a n u m e r i c a l l y .   F o r   i n s t a n c e ,   0 0 - k u b e l e t . c o n f   i s   p r o c e s s e d   f i r s t ,   a n d   t h e n   o v e r r i d d e n   w i t h   a   f i l e   n a m e d   0 1 - k u b e l e t . c o n f .   T h e s e   f i l e s   m a y   c o n t a i n   p a r t i a l   c o n f i g u r a t i o n s   b u t   s h o u l d   n o t   b e   i n v a l i d   a n d   m u s t   i n c l u d e   t y p e   m e t a d a t a ,   s p e c i f i c a l l y   a p i V e r s i o n   a n d   k i n d .   V a l i d a t i o n   i s   o n l y   p e r f o r m e d   o n   t h e   f i n a l   r e s u l t i n g   c o n f i g u r a t i o n   s t r u c t u r e   s t o r e d   i n t e r n a l l y   i n   t h e   k u b e l e t .   T h i s   o f f e r s   f l e x i b i l i t y   i n   m a n a g i n g   a n d   m e r g i n g   k u b e l e t   c o n f i g u r a t i o n s   f r o m   d i f f e r e n t   s o u r c e s   w h i l e   p r e v e n t i n g   u n d e s i r a b l e   c o n f i g u r a t i o n s .   H o w e v e r ,   i t   i s   i m p o r t a n t   t o   n o t e   t h a t   b e h a v i o r   v a r i e s   b a s e d   o n   t h e   d a t a   t y p e   o f   t h e   c o n f i g u r a t i o n   f i e l d s .   D i f f e r e n t   d a t a   t y p e s   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   s t r u c t u r e   m e r g e   d i f f e r e n t l y .   S e e   t h e   r e f e r e n c e   d o c u m e n t   f o r   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/",
    "id": "k8s_00764_section_4_16559"
  },
  {
    "question": "What is Kubelet configuration merging order?",
    "answer": "O n   s t a r t u p ,   t h e   k u b e l e t   m e r g e s   c o n f i g u r a t i o n   f r o m :   F e a t u r e   g a t e s   s p e c i f i e d   o v e r   t h e   c o m m a n d   l i n e   ( l o w e s t   p r e c e d e n c e ) . T h e   k u b e l e t   c o n f i g u r a t i o n . D r o p - i n   c o n f i g u r a t i o n   f i l e s ,   a c c o r d i n g   t o   s o r t   o r d e r . C o m m a n d   l i n e   a r g u m e n t s   e x c l u d i n g   f e a t u r e   g a t e s   ( h i g h e s t   p r e c e d e n c e ) .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/",
    "id": "k8s_00764_section_3_16560"
  },
  {
    "question": "What is Viewing the kubelet configuration?",
    "answer": "S i n c e   t h e   c o n f i g u r a t i o n   c o u l d   n o w   b e   s p r e a d   o v e r   m u l t i p l e   f i l e s   w i t h   t h i s   f e a t u r e ,   i f   s o m e o n e   w a n t s   t o   i n s p e c t   t h e   f i n a l   a c t u a t e d   c o n f i g u r a t i o n ,   t h e y   c a n   f o l l o w   t h e s e   s t e p s   t o   i n s p e c t   t h e   k u b e l e t   c o n f i g u r a t i o n :   S t a r t   a   p r o x y   s e r v e r   u s i n g   k u b e c t l   p r o x y   i n   y o u r   t e r m i n a l . k u b e c t l   p r o x y   W h i c h   g i v e s   o u t p u t   l i k e : S t a r t i n g   t o   s e r v e   o n   1 2 7 . 0 . 0 . 1 : 8 0 0 1   O p e n   a n o t h e r   t e r m i n a l   w i n d o w   a n d   u s e   c u r l   t o   f e t c h   t h e   k u b e l e t   c o n f i g u r a t i o n .   R e p l a c e   < n o d e - n a m e >   w i t h   t h e   a c t u a l   n a m e   o f   y o u r   n o d e : c u r l   - X   G E T   h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 0 1 / a p i / v 1 / n o d e s / < n o d e - n a m e > / p r o x y / c o n f i g z   |   j q   .   {   \" k u b e l e t c o n f i g \" :   {   \" e n a b l e S e r v e r \" :   t r u e ,   \" s t a t i c P o d P a t h \" :   \" / v a r / r u n / k u b e r n e t e s / s t a t i c - p o d s \" ,   \" s y n c F r e q u e n c y \" :   \" 1 m 0 s \" ,   \" f i l e C h e c k F r e q u e n c y \" :   \" 2 0 s \" ,   \" h t t p C h e c k F r e q u e n c y \" :   \" 2 0 s \" ,   \" a d d r e s s \" :   \" 1 9 2 . 1 6 8 . 1 . 1 6 \" ,   \" p o r t \" :   1 0 2 5 0 ,   \" r e a d O n l y P o r t \" :   1 0 2 5 5 ,   \" t l s C e r t F i l e \" :   \" / v a r / l i b / k u b e l e t / p k i / k u b e l e t . c r t \" ,   \" t l s P r i v a t e K e y F i l e \" :   \" / v a r / l i b / k u b e l e t / p k i / k u b e l e t . k e y \" ,   \" r o t a t e C e r t i f i c a t e s \" :   t r u e ,   \" a u t h e n t i c a t i o n \" :   {   \" x 5 0 9 \" :   {   \" c l i e n t C A F i l e \" :   \" / v a r / r u n / k u b e r n e t e s ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/",
    "id": "k8s_00764_section_2_16561"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   k u b e l e t   c o n f i g u r a t i o n   b y   c h e c k i n g   t h e   K u b e l e t C o n f i g u r a t i o n   r e f e r e n c e . L e a r n   m o r e   a b o u t   k u b e l e t   c o n f i g u r a t i o n   m e r g i n g   i n   t h e   r e f e r e n c e   d o c u m e n t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/",
    "id": "k8s_00764_section_2_16562"
  },
  {
    "question": "What is Install Drivers and Allocate Devices with DRA?",
    "answer": "Install Drivers and Allocate Devices with DRAFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)This tutorial shows you how to install Dynamic Resource Allocation (DRA) drivers in your cluster and how to use them in conjunction with the DRA APIs to allocate devices to Pods. This page is intended for cluster administrators.Dynamic Resource Allocation (DRA) lets a cluster manage availability and allocation of hardware resources to satisfy Pod-based claims for hardware requirements and preferences. To support this, a mixture of Kubernetes built-in components (like the Kubernetes scheduler, kubelet, and kube-controller-manager) and third-party drivers from device owners (called DRA drivers) share the responsibility to advertise, allocate, prepare, mount, healthcheck, unprepare, and cleanup resources throughout the Pod lifecycle. These components share information via a series of DRA specific APIs in the resource.k8s.io API group including DeviceClasses, ResourceSlices, ResourceClaims, as well as new fields in the Pod spec itself.ObjectivesDeploy an example DRA driverDeploy a Pod requesting a hardware claim using DRA APIsDelete a Pod that has a claimBefore you beginYour cluster should support RBAC. You can try this tutorial with a cluster using a different authorization mechanism, but in that case you will have to adapt the steps around defining roles and permissions.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesThis tutorial has been tested with Linux nodes, though it may also work with other types of nodes.Your Kubernetes server must be version v1.34.To check the version, enter kubectl version.If your cluster is not currently running Kubernetes 1.34 then please check the documentation for the version of Kubernetes that you plan to use.Explore the initial cluster stateYou can spend some time to observe the initial state of a cluster with DRA enabled, especially if you have not used these APIs extensively before. If you set up a new cluster for this tutorial, with no driver installed and no Pod claims yet to satisfy, the output of these commands won't show any resources.Get a list of DeviceClasses:kubectl get deviceclasses The output is similar to this:No resources found Get a list of ResourceSlices:kubectl get resourceslices The output is similar to this:No resources found Get a list of ResourceClaims and ResourceClaimTemplateskubectl get resourceclaims -A kubectl get resourceclaimtemplates -A The output is similar to this:No resources found No resources found At this point, you have confirmed that DRA is enabled and configured properly in the cluster, and that no ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/install-use-dra/",
    "id": "k8s_00765_qa_16563"
  },
  {
    "question": "How does Install Drivers and Allocate Devices with DRA work?",
    "answer": "Install Drivers and Allocate Devices with DRAFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)This tutorial shows you how to install Dynamic Resource Allocation (DRA) drivers in your cluster and how to use them in conjunction with the DRA APIs to allocate devices to Pods. This page is intended for cluster administrators.Dynamic Resource Allocation (DRA) lets a cluster manage availability and allocation of hardware resources to satisfy Pod-based claims for hardware requirements and preferences. To support this, a mixture of Kubernetes built-in components (like the Kubernetes scheduler, kubelet, and kube-controller-manager) and third-party drivers from device owners (called DRA drivers) share the responsibility to advertise, allocate, prepare, mount, healthcheck, unprepare, and cleanup resources throughout the Pod lifecycle. These components share information via a series of DRA specific APIs in the resource.k8s.io API group including DeviceClasses, ResourceSlices, ResourceClaims, as well as new fields in the Pod spec itself.ObjectivesDeploy an example DRA driverDeploy a Pod requesting a hardware claim using DRA APIsDelete a Pod that has a claimBefore you beginYour cluster should support RBAC. You can try this tutorial with a cluster using a different authorization mechanism, but in that case you will have to adapt the steps around defining roles and permissions.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesThis tutorial has been tested with Linux nodes, though it may also work with other types of nodes.Your Kubernetes server must be version v1.34.To check the version, enter kubectl version.If your cluster is not currently running Kubernetes 1.34 then please check the documentation for the version of Kubernetes that you plan to use.Explore the initial cluster stateYou can spend some time to observe the initial state of a cluster with DRA enabled, especially if you have not used these APIs extensively before. If you set up a new cluster for this tutorial, with no driver installed and no Pod claims yet to satisfy, the output of these commands won't show any resources.Get a list of DeviceClasses:kubectl get deviceclasses The output is similar to this:No resources found Get a list of ResourceSlices:kubectl get resourceslices The output is similar to this:No resources found Get a list of ResourceClaims and ResourceClaimTemplateskubectl get resourceclaims -A kubectl get resourceclaimtemplates -A The output is similar to this:No resources found No resources found At this point, you have confirmed that DRA is enabled and configured properly in the cluster, and that no ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/install-use-dra/",
    "id": "k8s_00765_qa_16564"
  },
  {
    "question": "When would you use Install Drivers and Allocate Devices with DRA?",
    "answer": "Install Drivers and Allocate Devices with DRAFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)This tutorial shows you how to install Dynamic Resource Allocation (DRA) drivers in your cluster and how to use them in conjunction with the DRA APIs to allocate devices to Pods. This page is intended for cluster administrators.Dynamic Resource Allocation (DRA) lets a cluster manage availability and allocation of hardware resources to satisfy Pod-based claims for hardware requirements and preferences. To support this, a mixture of Kubernetes built-in components (like the Kubernetes scheduler, kubelet, and kube-controller-manager) and third-party drivers from device owners (called DRA drivers) share the responsibility to advertise, allocate, prepare, mount, healthcheck, unprepare, and cleanup resources throughout the Pod lifecycle. These components share information via a series of DRA specific APIs in the resource.k8s.io API group including DeviceClasses, ResourceSlices, ResourceClaims, as well as new fields in the Pod spec itself.ObjectivesDeploy an example DRA driverDeploy a Pod requesting a hardware claim using DRA APIsDelete a Pod that has a claimBefore you beginYour cluster should support RBAC. You can try this tutorial with a cluster using a different authorization mechanism, but in that case you will have to adapt the steps around defining roles and permissions.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesThis tutorial has been tested with Linux nodes, though it may also work with other types of nodes.Your Kubernetes server must be version v1.34.To check the version, enter kubectl version.If your cluster is not currently running Kubernetes 1.34 then please check the documentation for the version of Kubernetes that you plan to use.Explore the initial cluster stateYou can spend some time to observe the initial state of a cluster with DRA enabled, especially if you have not used these APIs extensively before. If you set up a new cluster for this tutorial, with no driver installed and no Pod claims yet to satisfy, the output of these commands won't show any resources.Get a list of DeviceClasses:kubectl get deviceclasses The output is similar to this:No resources found Get a list of ResourceSlices:kubectl get resourceslices The output is similar to this:No resources found Get a list of ResourceClaims and ResourceClaimTemplateskubectl get resourceclaims -A kubectl get resourceclaimtemplates -A The output is similar to this:No resources found No resources found At this point, you have confirmed that DRA is enabled and configured properly in the cluster, and that no ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/install-use-dra/",
    "id": "k8s_00765_qa_16565"
  },
  {
    "question": "What are the benefits of Install Drivers and Allocate Devices with DRA?",
    "answer": "Install Drivers and Allocate Devices with DRAFEATURE STATE: Kubernetes v1.34 [stable] (enabled by default: true)This tutorial shows you how to install Dynamic Resource Allocation (DRA) drivers in your cluster and how to use them in conjunction with the DRA APIs to allocate devices to Pods. This page is intended for cluster administrators.Dynamic Resource Allocation (DRA) lets a cluster manage availability and allocation of hardware resources to satisfy Pod-based claims for hardware requirements and preferences. To support this, a mixture of Kubernetes built-in components (like the Kubernetes scheduler, kubelet, and kube-controller-manager) and third-party drivers from device owners (called DRA drivers) share the responsibility to advertise, allocate, prepare, mount, healthcheck, unprepare, and cleanup resources throughout the Pod lifecycle. These components share information via a series of DRA specific APIs in the resource.k8s.io API group including DeviceClasses, ResourceSlices, ResourceClaims, as well as new fields in the Pod spec itself.ObjectivesDeploy an example DRA driverDeploy a Pod requesting a hardware claim using DRA APIsDelete a Pod that has a claimBefore you beginYour cluster should support RBAC. You can try this tutorial with a cluster using a different authorization mechanism, but in that case you will have to adapt the steps around defining roles and permissions.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesThis tutorial has been tested with Linux nodes, though it may also work with other types of nodes.Your Kubernetes server must be version v1.34.To check the version, enter kubectl version.If your cluster is not currently running Kubernetes 1.34 then please check the documentation for the version of Kubernetes that you plan to use.Explore the initial cluster stateYou can spend some time to observe the initial state of a cluster with DRA enabled, especially if you have not used these APIs extensively before. If you set up a new cluster for this tutorial, with no driver installed and no Pod claims yet to satisfy, the output of these commands won't show any resources.Get a list of DeviceClasses:kubectl get deviceclasses The output is similar to this:No resources found Get a list of ResourceSlices:kubectl get resourceslices The output is similar to this:No resources found Get a list of ResourceClaims and ResourceClaimTemplateskubectl get resourceclaims -A kubectl get resourceclaimtemplates -A The output is similar to this:No resources found No resources found At this point, you have confirmed that DRA is enabled and configured properly in the cluster, and that no ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/install-use-dra/",
    "id": "k8s_00765_qa_16566"
  },
  {
    "question": "What is Install Drivers and Allocate Devices with DRA?",
    "answer": "T h i s   t u t o r i a l   s h o w s   y o u   h o w   t o   i n s t a l l   D y n a m i c   R e s o u r c e   A l l o c a t i o n   ( D R A )   d r i v e r s   i n   y o u r   c l u s t e r   a n d   h o w   t o   u s e   t h e m   i n   c o n j u n c t i o n   w i t h   t h e   D R A   A P I s   t o   a l l o c a t e   d e v i c e s   t o   P o d s .   T h i s   p a g e   i s   i n t e n d e d   f o r   c l u s t e r   a d m i n i s t r a t o r s .   D y n a m i c   R e s o u r c e   A l l o c a t i o n   ( D R A )   l e t s   a   c l u s t e r   m a n a g e   a v a i l a b i l i t y   a n d   a l l o c a t i o n   o f   h a r d w a r e   r e s o u r c e s   t o   s a t i s f y   P o d - b a s e d   c l a i m s   f o r   h a r d w a r e   r e q u i r e m e n t s   a n d   p r e f e r e n c e s .   T o   s u p p o r t   t h i s ,   a   m i x t u r e   o f   K u b e r n e t e s   b u i l t - i n   c o m p o n e n t s   ( l i k e   t h e   K u b e r n e t e s   s c h e d u l e r ,   k u b e l e t ,   a n d   k u b e - c o n t r o l l e r - m a n a g e r )   a n d   t h i r d - p a r t y   d r i v e r s   f r o m   d e v i c e   o w n e r s   ( c a l l e d   D R A   d r i v e r s )   s h a r e   t h e   r e s p o n s i b i l i t y   t o   a d v e r t i s e ,   a l l o c a t e ,   p r e p a r e ,   m o u n t ,   h e a l t h c h e c k ,   u n p r e p a r e ,   a n d   c l e a n u p   r e s o u r c e s   t h r o u g h o u t   t h e   P o d   l i f e c y c l e .   T h e s e   c o m p o n e n t s   s h a r e   i n f o r m a t i o n   v i a   a   s e r i e s   o f   D R A   s p e c i f i c   A P I s   i n   t h e   r e s o u r c e . k 8 s . i o   A P I   g r o u p   i n c l u d i n g   D e v i c e C l a s s e s ,   R e s o u r c e S l i c e s ,   R e s o u r c e C l a i m s ,   a s   w e l l   a s   n e w   f i e l d s   i n   t h e   P o d   s p e c   i t s e l f .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/install-use-dra/",
    "id": "k8s_00765_section_1_16567"
  },
  {
    "question": "What is Objectives?",
    "answer": "D e p l o y   a n   e x a m p l e   D R A   d r i v e r D e p l o y   a   P o d   r e q u e s t i n g   a   h a r d w a r e   c l a i m   u s i n g   D R A   A P I s D e l e t e   a   P o d   t h a t   h a s   a   c l a i m",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/install-use-dra/",
    "id": "k8s_00765_section_3_16568"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u r   c l u s t e r   s h o u l d   s u p p o r t   R B A C .   Y o u   c a n   t r y   t h i s   t u t o r i a l   w i t h   a   c l u s t e r   u s i n g   a   d i f f e r e n t   a u t h o r i z a t i o n   m e c h a n i s m ,   b u t   i n   t h a t   c a s e   y o u   w i l l   h a v e   t o   a d a p t   t h e   s t e p s   a r o u n d   d e f i n i n g   r o l e s   a n d   p e r m i s s i o n s .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T h i s   t u t o r i a l   h a s   b e e n   t e s t e d   w i t h   L i n u x   n o d e s ,   t h o u g h   i t   m a y   a l s o   w o r k   w i t h   o t h e r   t y p e s   o f   n o d e s .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   I f   y o u r   c l u s t e r   i s   n o t   c u r r e n t l y   r u n n i n g   K u b e r n e t e s   1 . 3 4   t h e n   p l e a s e   c h e c k   t h e   d o c u m e n t a t i o n   f o r   t h e   v e r s i o n   o f   K u b e r n e t e s   t h a t   y o u   p l a n   t o   u s e .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/install-use-dra/",
    "id": "k8s_00765_section_2_16569"
  },
  {
    "question": "What is Explore the initial cluster state?",
    "answer": "Y o u   c a n   s p e n d   s o m e   t i m e   t o   o b s e r v e   t h e   i n i t i a l   s t a t e   o f   a   c l u s t e r   w i t h   D R A   e n a b l e d ,   e s p e c i a l l y   i f   y o u   h a v e   n o t   u s e d   t h e s e   A P I s   e x t e n s i v e l y   b e f o r e .   I f   y o u   s e t   u p   a   n e w   c l u s t e r   f o r   t h i s   t u t o r i a l ,   w i t h   n o   d r i v e r   i n s t a l l e d   a n d   n o   P o d   c l a i m s   y e t   t o   s a t i s f y ,   t h e   o u t p u t   o f   t h e s e   c o m m a n d s   w o n ' t   s h o w   a n y   r e s o u r c e s .   G e t   a   l i s t   o f   D e v i c e C l a s s e s : k u b e c t l   g e t   d e v i c e c l a s s e s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N o   r e s o u r c e s   f o u n d   G e t   a   l i s t   o f   R e s o u r c e S l i c e s : k u b e c t l   g e t   r e s o u r c e s l i c e s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N o   r e s o u r c e s   f o u n d   G e t   a   l i s t   o f   R e s o u r c e C l a i m s   a n d   R e s o u r c e C l a i m T e m p l a t e s k u b e c t l   g e t   r e s o u r c e c l a i m s   - A   k u b e c t l   g e t   r e s o u r c e c l a i m t e m p l a t e s   - A   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N o   r e s o u r c e s   f o u n d   N o   r e s o u r c e s   f o u n d   G e t   a   l i s t   o f   D e v i c e C l a s s e s :   k u b e c t l   g e t   d e v i c e c l a s s e s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N o   r e s o u r c e s   f o u n d   G e t   a   l i s t   o f   R e s o u r c e S l i c e s :   k u b e c t l   g e t   r e s o u r c e s l i c e s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N o   r e s o u r c e s   f o u n d   G e t   a   l i s t   o f   R e s o u r c e C l a i m s   a n d   R e s o u r c e C l a i m T e m p l a t e s   k u b e c t l   g e t   r e s o u r c e c l a i m ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/install-use-dra/",
    "id": "k8s_00765_section_2_16570"
  },
  {
    "question": "What is Install an example DRA driver?",
    "answer": "D R A   d r i v e r s   a r e   t h i r d - p a r t y   a p p l i c a t i o n s   t h a t   r u n   o n   e a c h   n o d e   o f   y o u r   c l u s t e r   t o   i n t e r f a c e   w i t h   t h e   h a r d w a r e   o f   t h a t   n o d e   a n d   K u b e r n e t e s '   b u i l t - i n   D R A   c o m p o n e n t s .   T h e   i n s t a l l a t i o n   p r o c e d u r e   d e p e n d s   o n   t h e   d r i v e r   y o u   c h o o s e ,   b u t   i s   l i k e l y   d e p l o y e d   a s   a   D a e m o n S e t   t o   a l l   o r   a   s e l e c t i o n   o f   t h e   n o d e s   ( u s i n g   s e l e c t o r s   o r   s i m i l a r   m e c h a n i s m s )   i n   y o u r   c l u s t e r .   C h e c k   y o u r   d r i v e r ' s   d o c u m e n t a t i o n   f o r   s p e c i f i c   i n s t a l l a t i o n   i n s t r u c t i o n s ,   w h i c h   m i g h t   i n c l u d e   a   H e l m   c h a r t ,   a   s e t   o f   m a n i f e s t s ,   o r   o t h e r   d e p l o y m e n t   t o o l i n g .   T h i s   t u t o r i a l   u s e s   a n   e x a m p l e   d r i v e r   w h i c h   c a n   b e   f o u n d   i n   t h e   k u b e r n e t e s - s i g s / d r a - e x a m p l e - d r i v e r   r e p o s i t o r y   t o   d e m o n s t r a t e   d r i v e r   i n s t a l l a t i o n .   T h i s   e x a m p l e   d r i v e r   a d v e r t i s e s   s i m u l a t e d   G P U s   t o   K u b e r n e t e s   f o r   y o u r   P o d s   t o   i n t e r a c t   w i t h .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/install-use-dra/",
    "id": "k8s_00765_section_2_16571"
  },
  {
    "question": "What is Prepare your cluster for driver installation?",
    "answer": "T o   s i m p l i f y   c l e a n u p ,   c r e a t e   a   n a m e s p a c e   n a m e d   d r a - t u t o r i a l :   C r e a t e   t h e   n a m e s p a c e : k u b e c t l   c r e a t e   n a m e s p a c e   d r a - t u t o r i a l   C r e a t e   t h e   n a m e s p a c e :   k u b e c t l   c r e a t e   n a m e s p a c e   d r a - t u t o r i a l   I n   a   p r o d u c t i o n   e n v i r o n m e n t ,   y o u   w o u l d   l i k e l y   b e   u s i n g   a   p r e v i o u s l y   r e l e a s e d   o r   q u a l i f i e d   i m a g e   f r o m   t h e   d r i v e r   v e n d o r   o r   y o u r   o w n   o r g a n i z a t i o n ,   a n d   y o u r   n o d e s   w o u l d   n e e d   t o   h a v e   a c c e s s   t o   t h e   i m a g e   r e g i s t r y   w h e r e   t h e   d r i v e r   i m a g e   i s   h o s t e d .   I n   t h i s   t u t o r i a l ,   y o u   w i l l   u s e   a   p u b l i c l y   r e l e a s e d   i m a g e   o f   t h e   d r a - e x a m p l e - d r i v e r   t o   s i m u l a t e   a c c e s s   t o   a   D R A   d r i v e r   i m a g e .   C o n f i r m   y o u r   n o d e s   h a v e   a c c e s s   t o   t h e   i m a g e   b y   r u n n i n g   t h e   f o l l o w i n g   f r o m   w i t h i n   o n e   o f   y o u r   c l u s t e r ' s   n o d e s : d o c k e r   p u l l   r e g i s t r y . k 8 s . i o / d r a - e x a m p l e - d r i v e r / d r a - e x a m p l e - d r i v e r : v 0 . 2 . 0   C o n f i r m   y o u r   n o d e s   h a v e   a c c e s s   t o   t h e   i m a g e   b y   r u n n i n g   t h e   f o l l o w i n g   f r o m   w i t h i n   o n e   o f   y o u r   c l u s t e r ' s   n o d e s :   d o c k e r   p u l l   r e g i s t r y . k 8 s . i o / d r a - e x a m p l e - d r i v e r / d r a - e x a m p l e - d r i v e r : v 0 . 2 . 0",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/install-use-dra/",
    "id": "k8s_00765_section_3_16572"
  },
  {
    "question": "What is Deploy the DRA driver components?",
    "answer": "F o r   t h i s   t u t o r i a l ,   y o u   w i l l   i n s t a l l   t h e   c r i t i c a l   e x a m p l e   r e s o u r c e   d r i v e r   c o m p o n e n t s   i n d i v i d u a l l y   w i t h   k u b e c t l .   C r e a t e   t h e   D e v i c e C l a s s   r e p r e s e n t i n g   t h e   d e v i c e   t y p e s   t h i s   D R A   d r i v e r   s u p p o r t s : d r a / d r i v e r - i n s t a l l / d e v i c e c l a s s . y a m l   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   D e v i c e C l a s s   m e t a d a t a :   n a m e :   g p u . e x a m p l e . c o m   s p e c :   s e l e c t o r s :   -   c e l :   e x p r e s s i o n :   \" d e v i c e . d r i v e r   = =   ' g p u . e x a m p l e . c o m ' \" k u b e c t l   a p p l y   - - s e r v e r - s i d e   - f   h t t p : / / k 8 s . i o / e x a m p l e s / d r a / d r i v e r - i n s t a l l / d e v i c e c l a s s . y a m l   C r e a t e   t h e   S e r v i c e A c c o u n t ,   C l u s t e r R o l e   a n d   C l u s t e r R o l e B i n d i n g   t h a t   w i l l   b e   u s e d   b y   t h e   d r i v e r   t o   g a i n   p e r m i s s i o n s   t o   i n t e r a c t   w i t h   t h e   K u b e r n e t e s   A P I   o n   t h i s   c l u s t e r : C r e a t e   t h e   S e r v i c e   A c c o u n t : d r a / d r i v e r - i n s t a l l / s e r v i c e a c c o u n t . y a m l   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   n a m e :   d r a - e x a m p l e - d r i v e r - s e r v i c e - a c c o u n t   n a m e s p a c e :   d r a - t u t o r i a l   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   d r a - e x a m p l e - d r i v e r   a p p . k u b e r n e t e s . i o / i n s t a n c e :   d r a - e x a m p l e - d r i v e r k u b e c t l   a p p l y   - - s e r v e r - s i d e   - f   h t t p : / / k 8 s . i o / e x a m p l e s / d r a / d r i v e r - i n s t a l l / s e r v i c e a c c o u n t . y a m l ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/install-use-dra/",
    "id": "k8s_00765_section_3_16573"
  },
  {
    "question": "What is Verify the DRA driver installation?",
    "answer": "G e t   a   l i s t   o f   t h e   P o d s   o f   t h e   D R A   d r i v e r   D a e m o n S e t   a c r o s s   a l l   w o r k e r   n o d e s : k u b e c t l   g e t   p o d   - l   a p p . k u b e r n e t e s . i o / n a m e = d r a - e x a m p l e - d r i v e r   - n   d r a - t u t o r i a l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   d r a - e x a m p l e - d r i v e r - k u b e l e t p l u g i n - 4 s k 2 x   1 / 1   R u n n i n g   0   1 3 s   d r a - e x a m p l e - d r i v e r - k u b e l e t p l u g i n - c t t r 2   1 / 1   R u n n i n g   0   1 3 s   T h e   i n i t i a l   r e s p o n s i b i l i t y   o f   e a c h   n o d e ' s   l o c a l   D R A   d r i v e r   i s   t o   u p d a t e   t h e   c l u s t e r   w i t h   w h a t   d e v i c e s   a r e   a v a i l a b l e   t o   P o d s   o n   t h a t   n o d e ,   b y   p u b l i s h i n g   i t s   m e t a d a t a   t o   t h e   R e s o u r c e S l i c e s   A P I .   Y o u   c a n   c h e c k   t h a t   A P I   t o   s e e   t h a t   e a c h   n o d e   w i t h   a   d r i v e r   i s   a d v e r t i s i n g   t h e   d e v i c e   c l a s s   i t   r e p r e s e n t s . C h e c k   f o r   a v a i l a b l e   R e s o u r c e S l i c e s : k u b e c t l   g e t   r e s o u r c e s l i c e s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   N O D E   D R I V E R   P O O L   A G E   k i n d - w o r k e r - g p u . e x a m p l e . c o m - k 6 9 g d   k i n d - w o r k e r   g p u . e x a m p l e . c o m   k i n d - w o r k e r   1 9 s   k i n d - w o r k e r 2 - g p u . e x a m p l e . c o m - q d g p n   k i n d - w o r k e r 2   g p u . e x a m p l e . c o m   k i n d - w o r k e r 2   1 9 s   G e t   a   l i s t   o f   t h e   P o d s   o f   t h e   D R A   d r i v e r   D a e m o n S e t   a c r o s s   a l l   w o r k e r   n o d e s :   k u b e c t l   g e t   p o d   - l   a p p . ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/install-use-dra/",
    "id": "k8s_00765_section_3_16574"
  },
  {
    "question": "What is Claim resources and deploy a Pod?",
    "answer": "T o   r e q u e s t   r e s o u r c e s   u s i n g   D R A ,   y o u   c r e a t e   R e s o u r c e C l a i m s   o r   R e s o u r c e C l a i m T e m p l a t e s   t h a t   d e f i n e   t h e   r e s o u r c e s   t h a t   y o u r   P o d s   n e e d .   I n   t h e   e x a m p l e   d r i v e r ,   a   m e m o r y   c a p a c i t y   a t t r i b u t e   i s   e x p o s e d   f o r   m o c k   G P U   d e v i c e s .   T h i s   s e c t i o n   s h o w s   y o u   h o w   t o   u s e   C o m m o n   E x p r e s s i o n   L a n g u a g e   t o   e x p r e s s   y o u r   r e q u i r e m e n t s   i n   a   R e s o u r c e C l a i m ,   s e l e c t   t h a t   R e s o u r c e C l a i m   i n   a   P o d   s p e c i f i c a t i o n ,   a n d   o b s e r v e   t h e   r e s o u r c e   a l l o c a t i o n .   T h i s   t u t o r i a l   s h o w c a s e s   o n l y   o n e   b a s i c   e x a m p l e   o f   a   D R A   R e s o u r c e C l a i m .   R e a d   D y n a m i c   R e s o u r c e   A l l o c a t i o n   t o   l e a r n   m o r e   a b o u t   R e s o u r c e C l a i m s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/install-use-dra/",
    "id": "k8s_00765_section_2_16575"
  },
  {
    "question": "What is Create the ResourceClaim?",
    "answer": "I n   t h i s   s e c t i o n ,   y o u   c r e a t e   a   R e s o u r c e C l a i m   a n d   r e f e r e n c e   i t   i n   a   P o d .   W h a t e v e r   t h e   c l a i m ,   t h e   d e v i c e C l a s s N a m e   i s   a   r e q u i r e d   f i e l d ,   n a r r o w i n g   d o w n   t h e   s c o p e   o f   t h e   r e q u e s t   t o   a   s p e c i f i c   d e v i c e   c l a s s .   T h e   r e q u e s t   i t s e l f   c a n   i n c l u d e   a   C o m m o n   E x p r e s s i o n   L a n g u a g e   e x p r e s s i o n   t h a t   r e f e r e n c e s   a t t r i b u t e s   t h a t   m a y   b e   a d v e r t i s e d   b y   t h e   d r i v e r   m a n a g i n g   t h a t   d e v i c e   c l a s s .   I n   t h i s   e x a m p l e ,   y o u   w i l l   c r e a t e   a   r e q u e s t   f o r   a n y   G P U   a d v e r t i s i n g   o v e r   1 0 G i   m e m o r y   c a p a c i t y .   T h e   a t t r i b u t e   e x p o s i n g   c a p a c i t y   f r o m   t h e   e x a m p l e   d r i v e r   t a k e s   t h e   f o r m   d e v i c e . c a p a c i t y [ ' g p u . e x a m p l e . c o m ' ] . m e m o r y .   N o t e   a l s o   t h a t   t h e   n a m e   o f   t h e   c l a i m   i s   s e t   t o   s o m e - g p u .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   R e s o u r c e C l a i m   m e t a d a t a :   n a m e :   s o m e - g p u   n a m e s p a c e :   d r a - t u t o r i a l   s p e c :   d e v i c e s :   r e q u e s t s :   -   n a m e :   s o m e - g p u   e x a c t l y :   d e v i c e C l a s s N a m e :   g p u . e x a m p l e . c o m   s e l e c t o r s :   -   c e l :   e x p r e s s i o n :   \" d e v i c e . c a p a c i t y [ ' g p u . e x a m p l e . c o m ' ] . m e m o r y . c o m p a r e T o ( q u a n t i t y ( ' 1 0 G i ' ) )   > =   0 \"   k u b e c t l   a p p l y   - - s e r v e r - s i d e   - f   h t t p : / / k 8 s . i o / e x a m p l e s / d r a / d r i v e r - i n s t a l l / e x a m p l e / ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/install-use-dra/",
    "id": "k8s_00765_section_3_16576"
  },
  {
    "question": "What is Create the Pod that references that ResourceClaim?",
    "answer": "B e l o w   i s   t h e   P o d   m a n i f e s t   r e f e r e n c i n g   t h e   R e s o u r c e C l a i m   y o u   j u s t   m a d e ,   s o m e - g p u ,   i n   t h e   s p e c . r e s o u r c e C l a i m s . r e s o u r c e C l a i m N a m e   f i e l d .   T h e   l o c a l   n a m e   f o r   t h a t   c l a i m ,   g p u ,   i s   t h e n   u s e d   i n   t h e   s p e c . c o n t a i n e r s . r e s o u r c e s . c l a i m s . n a m e   f i e l d   t o   a l l o c a t e   t h e   c l a i m   t o   t h e   P o d ' s   u n d e r l y i n g   c o n t a i n e r .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p o d 0   n a m e s p a c e :   d r a - t u t o r i a l   l a b e l s :   a p p :   p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   c t r 0   i m a g e :   u b u n t u : 2 4 . 0 4   c o m m a n d :   [ \" b a s h \" ,   \" - c \" ]   a r g s :   [ \" e x p o r t ;   t r a p   ' e x i t   0 '   T E R M ;   s l e e p   9 9 9 9   &   w a i t \" ]   r e s o u r c e s :   c l a i m s :   -   n a m e :   g p u   r e s o u r c e C l a i m s :   -   n a m e :   g p u   r e s o u r c e C l a i m N a m e :   s o m e - g p u   k u b e c t l   a p p l y   - - s e r v e r - s i d e   - f   h t t p : / / k 8 s . i o / e x a m p l e s / d r a / d r i v e r - i n s t a l l / e x a m p l e / p o d . y a m l   C o n f i r m   t h e   p o d   h a s   d e p l o y e d : k u b e c t l   g e t   p o d   p o d 0   - n   d r a - t u t o r i a l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   p o d 0   1 / 1   R u n n i n g   0   9 s   C o n f i r m   t h e   p o d   h a s   d e p l o y e d :   k u b e c t l   g e t   p o d   p o d 0   - n   d r a - t u t o r i a l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   p o d 0   1 / 1   R u n n i n g   0   9 s",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/install-use-dra/",
    "id": "k8s_00765_section_3_16577"
  },
  {
    "question": "What is Explore the DRA state?",
    "answer": "A f t e r   y o u   c r e a t e   t h e   P o d ,   t h e   c l u s t e r   t r i e s   t o   s c h e d u l e   t h a t   P o d   t o   a   n o d e   w h e r e   K u b e r n e t e s   c a n   s a t i s f y   t h e   R e s o u r c e C l a i m .   I n   t h i s   t u t o r i a l ,   t h e   D R A   d r i v e r   i s   d e p l o y e d   o n   a l l   n o d e s ,   a n d   i s   a d v e r t i s i n g   m o c k   G P U s   o n   a l l   n o d e s ,   a l l   o f   w h i c h   h a v e   e n o u g h   c a p a c i t y   a d v e r t i s e d   t o   s a t i s f y   t h e   P o d ' s   c l a i m ,   s o   K u b e r n e t e s   c a n   s c h e d u l e   t h i s   P o d   o n   a n y   n o d e   a n d   c a n   a l l o c a t e   a n y   o f   t h e   m o c k   G P U s   o n   t h a t   n o d e .   W h e n   K u b e r n e t e s   a l l o c a t e s   a   m o c k   G P U   t o   a   P o d ,   t h e   e x a m p l e   d r i v e r   a d d s   e n v i r o n m e n t   v a r i a b l e s   i n   e a c h   c o n t a i n e r   i t   i s   a l l o c a t e d   t o   i n   o r d e r   t o   i n d i c a t e   w h i c h   G P U s   w o u l d   h a v e   b e e n   i n j e c t e d   i n t o   t h e m   b y   a   r e a l   r e s o u r c e   d r i v e r   a n d   h o w   t h e y   w o u l d   h a v e   b e e n   c o n f i g u r e d ,   s o   y o u   c a n   c h e c k   t h o s e   e n v i r o n m e n t   v a r i a b l e s   t o   s e e   h o w   t h e   P o d s   h a v e   b e e n   h a n d l e d   b y   t h e   s y s t e m .   C h e c k   t h e   P o d   l o g s ,   w h i c h   r e p o r t   t h e   n a m e   o f   t h e   m o c k   G P U   t h a t   w a s   a l l o c a t e d : k u b e c t l   l o g s   p o d 0   - c   c t r 0   - n   d r a - t u t o r i a l   |   g r e p   - E   \" G P U _ D E V I C E _ [ 0 - 9 ] + = \"   |   g r e p   - v   \" R E S O U R C E _ C L A I M \"   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : d e c l a r e   - x   G P U _ D E V I C E _ 0 = \" g p u - 0 \"   C ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/install-use-dra/",
    "id": "k8s_00765_section_3_16578"
  },
  {
    "question": "What is Delete a Pod that has a claim?",
    "answer": "W h e n   a   P o d   w i t h   a   c l a i m   i s   d e l e t e d ,   t h e   D R A   d r i v e r   d e a l l o c a t e s   t h e   r e s o u r c e   s o   i t   c a n   b e   a v a i l a b l e   f o r   f u t u r e   s c h e d u l i n g .   T o   v a l i d a t e   t h i s   b e h a v i o r ,   d e l e t e   t h e   P o d   t h a t   y o u   c r e a t e d   i n   t h e   p r e v i o u s   s t e p s   a n d   w a t c h   t h e   c o r r e s p o n d i n g   c h a n g e s   t o   t h e   R e s o u r c e C l a i m   a n d   d r i v e r .   D e l e t e   t h e   p o d 0   P o d : k u b e c t l   d e l e t e   p o d   p o d 0   - n   d r a - t u t o r i a l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : p o d   \" p o d 0 \"   d e l e t e d   D e l e t e   t h e   p o d 0   P o d :   k u b e c t l   d e l e t e   p o d   p o d 0   - n   d r a - t u t o r i a l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   p o d   \" p o d 0 \"   d e l e t e d",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/install-use-dra/",
    "id": "k8s_00765_section_2_16579"
  },
  {
    "question": "What is Observe the DRA state?",
    "answer": "W h e n   t h e   P o d   i s   d e l e t e d ,   t h e   d r i v e r   d e a l l o c a t e s   t h e   d e v i c e   f r o m   t h e   R e s o u r c e C l a i m   a n d   u p d a t e s   t h e   R e s o u r c e C l a i m   r e s o u r c e   i n   t h e   K u b e r n e t e s   A P I .   T h e   R e s o u r c e C l a i m   h a s   a   p e n d i n g   s t a t e   u n t i l   i t ' s   r e f e r e n c e d   i n   a   n e w   P o d .   C h e c k   t h e   s t a t e   o f   t h e   s o m e - g p u   R e s o u r c e C l a i m : k u b e c t l   g e t   r e s o u r c e c l a i m s   - n   d r a - t u t o r i a l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   S T A T E   A G E   s o m e - g p u   p e n d i n g   7 6 s   V e r i f y   t h a t   t h e   d r i v e r   h a s   p r o c e s s e d   u n p r e p a r i n g   t h e   d e v i c e   f o r   t h i s   c l a i m   b y   c h e c k i n g   t h e   d r i v e r   l o g s : k u b e c t l   l o g s   - l   a p p . k u b e r n e t e s . i o / n a m e = d r a - e x a m p l e - d r i v e r   - n   d r a - t u t o r i a l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : I 0 8 2 0   1 8 : 2 2 : 1 5 . 6 2 9 3 7 6   1   d r i v e r . g o : 1 3 8 ]   U n p r e p a r e R e s o u r c e C l a i m s   i s   c a l l e d :   n u m b e r   o f   c l a i m s :   1   C h e c k   t h e   s t a t e   o f   t h e   s o m e - g p u   R e s o u r c e C l a i m :   k u b e c t l   g e t   r e s o u r c e c l a i m s   - n   d r a - t u t o r i a l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   S T A T E   A G E   s o m e - g p u   p e n d i n g   7 6 s   V e r i f y   t h a t   t h e   d r i v e r   h a s   p r o c e s s e d   u n p r e p a r i n g   t h e   d e v i c e   f o r   t h i s   c l a i m   b y   c h e c k i n g   t h e   d r i v e r   l o g s :   k u b e c t l   l o g s   - l   a p p . k u b e r n e t e s . i o / n a m e = d r a - e x a m p l e - d r i v e r   - n   d r a - ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/install-use-dra/",
    "id": "k8s_00765_section_3_16580"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "T o   c l e a n   u p   t h e   r e s o u r c e s   t h a t   y o u   c r e a t e d   i n   t h i s   t u t o r i a l ,   f o l l o w   t h e s e   s t e p s :   k u b e c t l   d e l e t e   n a m e s p a c e   d r a - t u t o r i a l   k u b e c t l   d e l e t e   d e v i c e c l a s s   g p u . e x a m p l e . c o m   k u b e c t l   d e l e t e   c l u s t e r r o l e   d r a - e x a m p l e - d r i v e r - r o l e   k u b e c t l   d e l e t e   c l u s t e r r o l e b i n d i n g   d r a - e x a m p l e - d r i v e r - r o l e - b i n d i n g   k u b e c t l   d e l e t e   p r i o r i t y c l a s s   d r a - d r i v e r - h i g h - p r i o r i t y",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/install-use-dra/",
    "id": "k8s_00765_section_2_16581"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   D R A A l l o c a t e   D e v i c e s   t o   W o r k l o a d s   w i t h   D R A",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/cluster-management/install-use-dra/",
    "id": "k8s_00765_section_2_16582"
  },
  {
    "question": "What is Create an External Load Balancer?",
    "answer": "Create an External Load BalancerThis page shows how to create an external load balancer.When creating a Service, you have the option of automatically creating a cloud load balancer. This provides an externally-accessible IP address that sends traffic to the correct port on your cluster nodes, provided your cluster runs in a supported environment and is configured with the correct cloud load balancer provider package.You can also use an Ingress in place of Service. For more information, check the Ingress documentation.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour cluster must be running in a cloud or other environment that already has support for configuring external load balancers.Create a ServiceCreate a Service from a manifestTo create an external load balancer, add the following line to your Service manifest: type: LoadBalancer Your manifest might then look like:apiVersion: v1 kind: Service metadata: name: example-service spec: selector: app: example ports: - port: 8765 targetPort: 9376 type: LoadBalancer Create a Service using kubectlYou can alternatively create the service with the kubectl expose command and its --type=LoadBalancer flag:kubectl expose deployment example --port=8765 --target-port=9376 \\ --name=example-service --type=LoadBalancer This command creates a new Service using the same selectors as the referenced resource (in the case of the example above, a Deployment named example).For more information, including optional flags, refer to the kubectl expose reference.Finding your IP addressYou can find the IP address created for your service by getting the service information through kubectl:kubectl describe services example-service which should produce output similar to:Name: example-service Namespace: default Labels: app=example Annotations: <none> Selector: app=example Type: LoadBalancer IP Families: <none> IP: 10.3.22.96 IPs: 10.3.22.96 LoadBalancer Ingress: 192.0.2.89 Port: <unset> 8765/TCP TargetPort: 9376/TCP NodePort: <unset> 30593/TCP Endpoints: 172.17.0.3:9376 Session Affinity: None External Traffic Policy: Cluster Events: <none> The load balancer's IP address is listed next to LoadBalancer Ingress.Note:If you are running your service on Minikube, you can find the assigned IP address and port with:minikube service example-service --url Preserving the client source IPBy default, the source IP seen in the target container is not the original source IP of the client. To enable preservation of the client IP, the following fields can be configured in the .spec of the Service:.spec.externalTrafficPolicy - denotes if this Service desires t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/",
    "id": "k8s_00766_qa_16583"
  },
  {
    "question": "How does Create an External Load Balancer work?",
    "answer": "Create an External Load BalancerThis page shows how to create an external load balancer.When creating a Service, you have the option of automatically creating a cloud load balancer. This provides an externally-accessible IP address that sends traffic to the correct port on your cluster nodes, provided your cluster runs in a supported environment and is configured with the correct cloud load balancer provider package.You can also use an Ingress in place of Service. For more information, check the Ingress documentation.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour cluster must be running in a cloud or other environment that already has support for configuring external load balancers.Create a ServiceCreate a Service from a manifestTo create an external load balancer, add the following line to your Service manifest: type: LoadBalancer Your manifest might then look like:apiVersion: v1 kind: Service metadata: name: example-service spec: selector: app: example ports: - port: 8765 targetPort: 9376 type: LoadBalancer Create a Service using kubectlYou can alternatively create the service with the kubectl expose command and its --type=LoadBalancer flag:kubectl expose deployment example --port=8765 --target-port=9376 \\ --name=example-service --type=LoadBalancer This command creates a new Service using the same selectors as the referenced resource (in the case of the example above, a Deployment named example).For more information, including optional flags, refer to the kubectl expose reference.Finding your IP addressYou can find the IP address created for your service by getting the service information through kubectl:kubectl describe services example-service which should produce output similar to:Name: example-service Namespace: default Labels: app=example Annotations: <none> Selector: app=example Type: LoadBalancer IP Families: <none> IP: 10.3.22.96 IPs: 10.3.22.96 LoadBalancer Ingress: 192.0.2.89 Port: <unset> 8765/TCP TargetPort: 9376/TCP NodePort: <unset> 30593/TCP Endpoints: 172.17.0.3:9376 Session Affinity: None External Traffic Policy: Cluster Events: <none> The load balancer's IP address is listed next to LoadBalancer Ingress.Note:If you are running your service on Minikube, you can find the assigned IP address and port with:minikube service example-service --url Preserving the client source IPBy default, the source IP seen in the target container is not the original source IP of the client. To enable preservation of the client IP, the following fields can be configured in the .spec of the Service:.spec.externalTrafficPolicy - denotes if this Service desires t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/",
    "id": "k8s_00766_qa_16584"
  },
  {
    "question": "When would you use Create an External Load Balancer?",
    "answer": "Create an External Load BalancerThis page shows how to create an external load balancer.When creating a Service, you have the option of automatically creating a cloud load balancer. This provides an externally-accessible IP address that sends traffic to the correct port on your cluster nodes, provided your cluster runs in a supported environment and is configured with the correct cloud load balancer provider package.You can also use an Ingress in place of Service. For more information, check the Ingress documentation.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour cluster must be running in a cloud or other environment that already has support for configuring external load balancers.Create a ServiceCreate a Service from a manifestTo create an external load balancer, add the following line to your Service manifest: type: LoadBalancer Your manifest might then look like:apiVersion: v1 kind: Service metadata: name: example-service spec: selector: app: example ports: - port: 8765 targetPort: 9376 type: LoadBalancer Create a Service using kubectlYou can alternatively create the service with the kubectl expose command and its --type=LoadBalancer flag:kubectl expose deployment example --port=8765 --target-port=9376 \\ --name=example-service --type=LoadBalancer This command creates a new Service using the same selectors as the referenced resource (in the case of the example above, a Deployment named example).For more information, including optional flags, refer to the kubectl expose reference.Finding your IP addressYou can find the IP address created for your service by getting the service information through kubectl:kubectl describe services example-service which should produce output similar to:Name: example-service Namespace: default Labels: app=example Annotations: <none> Selector: app=example Type: LoadBalancer IP Families: <none> IP: 10.3.22.96 IPs: 10.3.22.96 LoadBalancer Ingress: 192.0.2.89 Port: <unset> 8765/TCP TargetPort: 9376/TCP NodePort: <unset> 30593/TCP Endpoints: 172.17.0.3:9376 Session Affinity: None External Traffic Policy: Cluster Events: <none> The load balancer's IP address is listed next to LoadBalancer Ingress.Note:If you are running your service on Minikube, you can find the assigned IP address and port with:minikube service example-service --url Preserving the client source IPBy default, the source IP seen in the target container is not the original source IP of the client. To enable preservation of the client IP, the following fields can be configured in the .spec of the Service:.spec.externalTrafficPolicy - denotes if this Service desires t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/",
    "id": "k8s_00766_qa_16585"
  },
  {
    "question": "What are the benefits of Create an External Load Balancer?",
    "answer": "Create an External Load BalancerThis page shows how to create an external load balancer.When creating a Service, you have the option of automatically creating a cloud load balancer. This provides an externally-accessible IP address that sends traffic to the correct port on your cluster nodes, provided your cluster runs in a supported environment and is configured with the correct cloud load balancer provider package.You can also use an Ingress in place of Service. For more information, check the Ingress documentation.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour cluster must be running in a cloud or other environment that already has support for configuring external load balancers.Create a ServiceCreate a Service from a manifestTo create an external load balancer, add the following line to your Service manifest: type: LoadBalancer Your manifest might then look like:apiVersion: v1 kind: Service metadata: name: example-service spec: selector: app: example ports: - port: 8765 targetPort: 9376 type: LoadBalancer Create a Service using kubectlYou can alternatively create the service with the kubectl expose command and its --type=LoadBalancer flag:kubectl expose deployment example --port=8765 --target-port=9376 \\ --name=example-service --type=LoadBalancer This command creates a new Service using the same selectors as the referenced resource (in the case of the example above, a Deployment named example).For more information, including optional flags, refer to the kubectl expose reference.Finding your IP addressYou can find the IP address created for your service by getting the service information through kubectl:kubectl describe services example-service which should produce output similar to:Name: example-service Namespace: default Labels: app=example Annotations: <none> Selector: app=example Type: LoadBalancer IP Families: <none> IP: 10.3.22.96 IPs: 10.3.22.96 LoadBalancer Ingress: 192.0.2.89 Port: <unset> 8765/TCP TargetPort: 9376/TCP NodePort: <unset> 30593/TCP Endpoints: 172.17.0.3:9376 Session Affinity: None External Traffic Policy: Cluster Events: <none> The load balancer's IP address is listed next to LoadBalancer Ingress.Note:If you are running your service on Minikube, you can find the assigned IP address and port with:minikube service example-service --url Preserving the client source IPBy default, the source IP seen in the target container is not the original source IP of the client. To enable preservation of the client IP, the following fields can be configured in the .spec of the Service:.spec.externalTrafficPolicy - denotes if this Service desires t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/",
    "id": "k8s_00766_qa_16586"
  },
  {
    "question": "What is Create an External Load Balancer?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c r e a t e   a n   e x t e r n a l   l o a d   b a l a n c e r .   W h e n   c r e a t i n g   a   S e r v i c e ,   y o u   h a v e   t h e   o p t i o n   o f   a u t o m a t i c a l l y   c r e a t i n g   a   c l o u d   l o a d   b a l a n c e r .   T h i s   p r o v i d e s   a n   e x t e r n a l l y - a c c e s s i b l e   I P   a d d r e s s   t h a t   s e n d s   t r a f f i c   t o   t h e   c o r r e c t   p o r t   o n   y o u r   c l u s t e r   n o d e s ,   p r o v i d e d   y o u r   c l u s t e r   r u n s   i n   a   s u p p o r t e d   e n v i r o n m e n t   a n d   i s   c o n f i g u r e d   w i t h   t h e   c o r r e c t   c l o u d   l o a d   b a l a n c e r   p r o v i d e r   p a c k a g e .   Y o u   c a n   a l s o   u s e   a n   I n g r e s s   i n   p l a c e   o f   S e r v i c e .   F o r   m o r e   i n f o r m a t i o n ,   c h e c k   t h e   I n g r e s s   d o c u m e n t a t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/",
    "id": "k8s_00766_section_1_16587"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u r   c l u s t e r   m u s t   b e   r u n n i n g   i n   a   c l o u d   o r   o t h e r   e n v i r o n m e n t   t h a t   a l r e a d y   h a s   s u p p o r t   f o r   c o n f i g u r i n g   e x t e r n a l   l o a d   b a l a n c e r s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/",
    "id": "k8s_00766_section_2_16588"
  },
  {
    "question": "What is Create a Service from a manifest?",
    "answer": "T o   c r e a t e   a n   e x t e r n a l   l o a d   b a l a n c e r ,   a d d   t h e   f o l l o w i n g   l i n e   t o   y o u r   S e r v i c e   m a n i f e s t :   t y p e :   L o a d B a l a n c e r   Y o u r   m a n i f e s t   m i g h t   t h e n   l o o k   l i k e :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   e x a m p l e - s e r v i c e   s p e c :   s e l e c t o r :   a p p :   e x a m p l e   p o r t s :   -   p o r t :   8 7 6 5   t a r g e t P o r t :   9 3 7 6   t y p e :   L o a d B a l a n c e r",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/",
    "id": "k8s_00766_section_3_16589"
  },
  {
    "question": "What is Create a Service using kubectl?",
    "answer": "Y o u   c a n   a l t e r n a t i v e l y   c r e a t e   t h e   s e r v i c e   w i t h   t h e   k u b e c t l   e x p o s e   c o m m a n d   a n d   i t s   - - t y p e = L o a d B a l a n c e r   f l a g :   k u b e c t l   e x p o s e   d e p l o y m e n t   e x a m p l e   - - p o r t = 8 7 6 5   - - t a r g e t - p o r t = 9 3 7 6   \\   - - n a m e = e x a m p l e - s e r v i c e   - - t y p e = L o a d B a l a n c e r   T h i s   c o m m a n d   c r e a t e s   a   n e w   S e r v i c e   u s i n g   t h e   s a m e   s e l e c t o r s   a s   t h e   r e f e r e n c e d   r e s o u r c e   ( i n   t h e   c a s e   o f   t h e   e x a m p l e   a b o v e ,   a   D e p l o y m e n t   n a m e d   e x a m p l e ) .   F o r   m o r e   i n f o r m a t i o n ,   i n c l u d i n g   o p t i o n a l   f l a g s ,   r e f e r   t o   t h e   k u b e c t l   e x p o s e   r e f e r e n c e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/",
    "id": "k8s_00766_section_3_16590"
  },
  {
    "question": "What is Finding your IP address?",
    "answer": "Y o u   c a n   f i n d   t h e   I P   a d d r e s s   c r e a t e d   f o r   y o u r   s e r v i c e   b y   g e t t i n g   t h e   s e r v i c e   i n f o r m a t i o n   t h r o u g h   k u b e c t l :   k u b e c t l   d e s c r i b e   s e r v i c e s   e x a m p l e - s e r v i c e   w h i c h   s h o u l d   p r o d u c e   o u t p u t   s i m i l a r   t o :   N a m e :   e x a m p l e - s e r v i c e   N a m e s p a c e :   d e f a u l t   L a b e l s :   a p p = e x a m p l e   A n n o t a t i o n s :   < n o n e >   S e l e c t o r :   a p p = e x a m p l e   T y p e :   L o a d B a l a n c e r   I P   F a m i l i e s :   < n o n e >   I P :   1 0 . 3 . 2 2 . 9 6   I P s :   1 0 . 3 . 2 2 . 9 6   L o a d B a l a n c e r   I n g r e s s :   1 9 2 . 0 . 2 . 8 9   P o r t :   < u n s e t >   8 7 6 5 / T C P   T a r g e t P o r t :   9 3 7 6 / T C P   N o d e P o r t :   < u n s e t >   3 0 5 9 3 / T C P   E n d p o i n t s :   1 7 2 . 1 7 . 0 . 3 : 9 3 7 6   S e s s i o n   A f f i n i t y :   N o n e   E x t e r n a l   T r a f f i c   P o l i c y :   C l u s t e r   E v e n t s :   < n o n e >   T h e   l o a d   b a l a n c e r ' s   I P   a d d r e s s   i s   l i s t e d   n e x t   t o   L o a d B a l a n c e r   I n g r e s s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/",
    "id": "k8s_00766_section_2_16591"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   a r e   r u n n i n g   y o u r   s e r v i c e   o n   M i n i k u b e ,   y o u   c a n   f i n d   t h e   a s s i g n e d   I P   a d d r e s s   a n d   p o r t   w i t h :   m i n i k u b e   s e r v i c e   e x a m p l e - s e r v i c e   - - u r l",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/",
    "id": "k8s_00766_section_4_16592"
  },
  {
    "question": "What is Preserving the client source IP?",
    "answer": "B y   d e f a u l t ,   t h e   s o u r c e   I P   s e e n   i n   t h e   t a r g e t   c o n t a i n e r   i s   n o t   t h e   o r i g i n a l   s o u r c e   I P   o f   t h e   c l i e n t .   T o   e n a b l e   p r e s e r v a t i o n   o f   t h e   c l i e n t   I P ,   t h e   f o l l o w i n g   f i e l d s   c a n   b e   c o n f i g u r e d   i n   t h e   . s p e c   o f   t h e   S e r v i c e :   . s p e c . e x t e r n a l T r a f f i c P o l i c y   -   d e n o t e s   i f   t h i s   S e r v i c e   d e s i r e s   t o   r o u t e   e x t e r n a l   t r a f f i c   t o   n o d e - l o c a l   o r   c l u s t e r - w i d e   e n d p o i n t s .   T h e r e   a r e   t w o   a v a i l a b l e   o p t i o n s :   C l u s t e r   ( d e f a u l t )   a n d   L o c a l .   C l u s t e r   o b s c u r e s   t h e   c l i e n t   s o u r c e   I P   a n d   m a y   c a u s e   a   s e c o n d   h o p   t o   a n o t h e r   n o d e ,   b u t   s h o u l d   h a v e   g o o d   o v e r a l l   l o a d - s p r e a d i n g .   L o c a l   p r e s e r v e s   t h e   c l i e n t   s o u r c e   I P   a n d   a v o i d s   a   s e c o n d   h o p   f o r   L o a d B a l a n c e r   a n d   N o d e P o r t   t y p e   S e r v i c e s ,   b u t   r i s k s   p o t e n t i a l l y   i m b a l a n c e d   t r a f f i c   s p r e a d i n g . . s p e c . h e a l t h C h e c k N o d e P o r t   -   s p e c i f i e s   t h e   h e a l t h   c h e c k   n o d e   p o r t   ( n u m e r i c   p o r t   n u m b e r )   f o r   t h e   s e r v i c e .   I f   y o u   d o n ' t   s p e c i f y   h e a l t h C h e c k N o d e P o r t ,   t h e   s e r v i c e   c o n t r o l l e r   a l l o c a t e s   a   p o r t   f r o m   y o u r   c l u s t e r ' s   N o d e P o r t   r a n g e . Y o u   c a n   c o n f i g u r e   t h a t   r a n g e   b y   s e t t i n g   a n   A P I   s e r v e r   c o m m a n d   l i n e   o p t i o n ,   - - s e r v i c e - n o d e - p o r t - ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/",
    "id": "k8s_00766_section_2_16593"
  },
  {
    "question": "What is Caveats and limitations when preserving source IPs?",
    "answer": "L o a d   b a l a n c i n g   s e r v i c e s   f r o m   s o m e   c l o u d   p r o v i d e r s   d o   n o t   l e t   y o u   c o n f i g u r e   d i f f e r e n t   w e i g h t s   f o r   e a c h   t a r g e t .   W i t h   e a c h   t a r g e t   w e i g h t e d   e q u a l l y   i n   t e r m s   o f   s e n d i n g   t r a f f i c   t o   N o d e s ,   e x t e r n a l   t r a f f i c   i s   n o t   e q u a l l y   l o a d   b a l a n c e d   a c r o s s   d i f f e r e n t   P o d s .   T h e   e x t e r n a l   l o a d   b a l a n c e r   i s   u n a w a r e   o f   t h e   n u m b e r   o f   P o d s   o n   e a c h   n o d e   t h a t   a r e   u s e d   a s   a   t a r g e t .   W h e r e   N u m S e r v i c e P o d s   < <   N u m N o d e s   o r   N u m S e r v i c e P o d s   > >   N u m N o d e s ,   a   f a i r l y   c l o s e - t o - e q u a l   d i s t r i b u t i o n   w i l l   b e   s e e n ,   e v e n   w i t h o u t   w e i g h t s .   I n t e r n a l   p o d   t o   p o d   t r a f f i c   s h o u l d   b e h a v e   s i m i l a r   t o   C l u s t e r I P   s e r v i c e s ,   w i t h   e q u a l   p r o b a b i l i t y   a c r o s s   a l l   p o d s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/",
    "id": "k8s_00766_section_3_16594"
  },
  {
    "question": "What is Garbage collecting load balancers?",
    "answer": "I n   u s u a l   c a s e ,   t h e   c o r r e l a t i n g   l o a d   b a l a n c e r   r e s o u r c e s   i n   c l o u d   p r o v i d e r   s h o u l d   b e   c l e a n e d   u p   s o o n   a f t e r   a   L o a d B a l a n c e r   t y p e   S e r v i c e   i s   d e l e t e d .   B u t   i t   i s   k n o w n   t h a t   t h e r e   a r e   v a r i o u s   c o r n e r   c a s e s   w h e r e   c l o u d   r e s o u r c e s   a r e   o r p h a n e d   a f t e r   t h e   a s s o c i a t e d   S e r v i c e   i s   d e l e t e d .   F i n a l i z e r   P r o t e c t i o n   f o r   S e r v i c e   L o a d B a l a n c e r s   w a s   i n t r o d u c e d   t o   p r e v e n t   t h i s   f r o m   h a p p e n i n g .   B y   u s i n g   f i n a l i z e r s ,   a   S e r v i c e   r e s o u r c e   w i l l   n e v e r   b e   d e l e t e d   u n t i l   t h e   c o r r e l a t i n g   l o a d   b a l a n c e r   r e s o u r c e s   a r e   a l s o   d e l e t e d .   S p e c i f i c a l l y ,   i f   a   S e r v i c e   h a s   t y p e   L o a d B a l a n c e r ,   t h e   s e r v i c e   c o n t r o l l e r   w i l l   a t t a c h   a   f i n a l i z e r   n a m e d   s e r v i c e . k u b e r n e t e s . i o / l o a d - b a l a n c e r - c l e a n u p .   T h e   f i n a l i z e r   w i l l   o n l y   b e   r e m o v e d   a f t e r   t h e   l o a d   b a l a n c e r   r e s o u r c e   i s   c l e a n e d   u p .   T h i s   p r e v e n t s   d a n g l i n g   l o a d   b a l a n c e r   r e s o u r c e s   e v e n   i n   c o r n e r   c a s e s   s u c h   a s   t h e   s e r v i c e   c o n t r o l l e r   c r a s h i n g .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/",
    "id": "k8s_00766_section_2_16595"
  },
  {
    "question": "What is External load balancer providers?",
    "answer": "I t   i s   i m p o r t a n t   t o   n o t e   t h a t   t h e   d a t a p a t h   f o r   t h i s   f u n c t i o n a l i t y   i s   p r o v i d e d   b y   a   l o a d   b a l a n c e r   e x t e r n a l   t o   t h e   K u b e r n e t e s   c l u s t e r .   W h e n   t h e   S e r v i c e   t y p e   i s   s e t   t o   L o a d B a l a n c e r ,   K u b e r n e t e s   p r o v i d e s   f u n c t i o n a l i t y   e q u i v a l e n t   t o   t y p e   e q u a l s   C l u s t e r I P   t o   p o d s   w i t h i n   t h e   c l u s t e r   a n d   e x t e n d s   i t   b y   p r o g r a m m i n g   t h e   ( e x t e r n a l   t o   K u b e r n e t e s )   l o a d   b a l a n c e r   w i t h   e n t r i e s   f o r   t h e   n o d e s   h o s t i n g   t h e   r e l e v a n t   K u b e r n e t e s   p o d s .   T h e   K u b e r n e t e s   c o n t r o l   p l a n e   a u t o m a t e s   t h e   c r e a t i o n   o f   t h e   e x t e r n a l   l o a d   b a l a n c e r ,   h e a l t h   c h e c k s   ( i f   n e e d e d ) ,   a n d   p a c k e t   f i l t e r i n g   r u l e s   ( i f   n e e d e d ) .   O n c e   t h e   c l o u d   p r o v i d e r   a l l o c a t e s   a n   I P   a d d r e s s   f o r   t h e   l o a d   b a l a n c e r ,   t h e   c o n t r o l   p l a n e   l o o k s   u p   t h a t   e x t e r n a l   I P   a d d r e s s   a n d   p o p u l a t e s   i t   i n t o   t h e   S e r v i c e   o b j e c t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/",
    "id": "k8s_00766_section_2_16596"
  },
  {
    "question": "What is What's next?",
    "answer": "F o l l o w   t h e   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s   t u t o r i a l R e a d   a b o u t   S e r v i c e R e a d   a b o u t   I n g r e s s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/",
    "id": "k8s_00766_section_2_16597"
  },
  {
    "question": "What is Example: Deploying Cassandra with a StatefulSet?",
    "answer": "Example: Deploying Cassandra with a StatefulSetThis tutorial shows you how to run Apache Cassandra on Kubernetes. Cassandra, a database, needs persistent storage to provide data durability (application state). In this example, a custom Cassandra seed provider lets the database discover new Cassandra instances as they join the Cassandra cluster.StatefulSets make it easier to deploy stateful applications into your Kubernetes cluster. For more information on the features used in this tutorial, see StatefulSet.Note:Cassandra and Kubernetes both use the term node to mean a member of a cluster. In this tutorial, the Pods that belong to the StatefulSet are Cassandra nodes and are members of the Cassandra cluster (called a ring). When those Pods run in your Kubernetes cluster, the Kubernetes control plane schedules those Pods onto Kubernetes Nodes.When a Cassandra node starts, it uses a seed list to bootstrap discovery of other nodes in the ring. This tutorial deploys a custom Cassandra seed provider that lets the database discover new Cassandra Pods as they appear inside your Kubernetes cluster.ObjectivesCreate and validate a Cassandra headless Service.Use a StatefulSet to create a Cassandra ring.Validate the StatefulSet.Modify the StatefulSet.Delete the StatefulSet and its Pods.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo complete this tutorial, you should already have a basic familiarity with Pods, Services, and StatefulSets.Additional Minikube setup instructionsCaution:Minikube defaults to 2048MB of memory and 2 CPU. Running Minikube with the default resource configuration results in insufficient resource errors during this tutorial. To avoid these errors, start Minikube with the following settings:minikube start --memory 5120 --cpus=4 Creating a headless Service for CassandraIn Kubernetes, a Service describes a set of Pods that perform the same task.The following Service is used for DNS lookups between Cassandra Pods and clients within your cluster:application/cassandra/cassandra-service.yaml apiVersion: v1 kind: Service metadata: labels: app: cassandra name: cassandra spec: clusterIP: None ports: - port: 9042 selector: app: cassandra Create a Service to track all Cassandra StatefulSet members from the cassandra-service.yaml file:kubectl apply -f https://k8s.io/examples/application/cassandra/cassandra-service.yaml Validating (optional)Get the Cassandra Service.kubectl get svc cassandra The response isNAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE cassandra ClusterIP None <none> 9042/TCP 45s If you don't see a Service named cassandra, that means creation failed. ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/cassandra/",
    "id": "k8s_00767_qa_16598"
  },
  {
    "question": "How does Example: Deploying Cassandra with a StatefulSet work?",
    "answer": "Example: Deploying Cassandra with a StatefulSetThis tutorial shows you how to run Apache Cassandra on Kubernetes. Cassandra, a database, needs persistent storage to provide data durability (application state). In this example, a custom Cassandra seed provider lets the database discover new Cassandra instances as they join the Cassandra cluster.StatefulSets make it easier to deploy stateful applications into your Kubernetes cluster. For more information on the features used in this tutorial, see StatefulSet.Note:Cassandra and Kubernetes both use the term node to mean a member of a cluster. In this tutorial, the Pods that belong to the StatefulSet are Cassandra nodes and are members of the Cassandra cluster (called a ring). When those Pods run in your Kubernetes cluster, the Kubernetes control plane schedules those Pods onto Kubernetes Nodes.When a Cassandra node starts, it uses a seed list to bootstrap discovery of other nodes in the ring. This tutorial deploys a custom Cassandra seed provider that lets the database discover new Cassandra Pods as they appear inside your Kubernetes cluster.ObjectivesCreate and validate a Cassandra headless Service.Use a StatefulSet to create a Cassandra ring.Validate the StatefulSet.Modify the StatefulSet.Delete the StatefulSet and its Pods.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo complete this tutorial, you should already have a basic familiarity with Pods, Services, and StatefulSets.Additional Minikube setup instructionsCaution:Minikube defaults to 2048MB of memory and 2 CPU. Running Minikube with the default resource configuration results in insufficient resource errors during this tutorial. To avoid these errors, start Minikube with the following settings:minikube start --memory 5120 --cpus=4 Creating a headless Service for CassandraIn Kubernetes, a Service describes a set of Pods that perform the same task.The following Service is used for DNS lookups between Cassandra Pods and clients within your cluster:application/cassandra/cassandra-service.yaml apiVersion: v1 kind: Service metadata: labels: app: cassandra name: cassandra spec: clusterIP: None ports: - port: 9042 selector: app: cassandra Create a Service to track all Cassandra StatefulSet members from the cassandra-service.yaml file:kubectl apply -f https://k8s.io/examples/application/cassandra/cassandra-service.yaml Validating (optional)Get the Cassandra Service.kubectl get svc cassandra The response isNAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE cassandra ClusterIP None <none> 9042/TCP 45s If you don't see a Service named cassandra, that means creation failed. ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/cassandra/",
    "id": "k8s_00767_qa_16599"
  },
  {
    "question": "When would you use Example: Deploying Cassandra with a StatefulSet?",
    "answer": "Example: Deploying Cassandra with a StatefulSetThis tutorial shows you how to run Apache Cassandra on Kubernetes. Cassandra, a database, needs persistent storage to provide data durability (application state). In this example, a custom Cassandra seed provider lets the database discover new Cassandra instances as they join the Cassandra cluster.StatefulSets make it easier to deploy stateful applications into your Kubernetes cluster. For more information on the features used in this tutorial, see StatefulSet.Note:Cassandra and Kubernetes both use the term node to mean a member of a cluster. In this tutorial, the Pods that belong to the StatefulSet are Cassandra nodes and are members of the Cassandra cluster (called a ring). When those Pods run in your Kubernetes cluster, the Kubernetes control plane schedules those Pods onto Kubernetes Nodes.When a Cassandra node starts, it uses a seed list to bootstrap discovery of other nodes in the ring. This tutorial deploys a custom Cassandra seed provider that lets the database discover new Cassandra Pods as they appear inside your Kubernetes cluster.ObjectivesCreate and validate a Cassandra headless Service.Use a StatefulSet to create a Cassandra ring.Validate the StatefulSet.Modify the StatefulSet.Delete the StatefulSet and its Pods.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo complete this tutorial, you should already have a basic familiarity with Pods, Services, and StatefulSets.Additional Minikube setup instructionsCaution:Minikube defaults to 2048MB of memory and 2 CPU. Running Minikube with the default resource configuration results in insufficient resource errors during this tutorial. To avoid these errors, start Minikube with the following settings:minikube start --memory 5120 --cpus=4 Creating a headless Service for CassandraIn Kubernetes, a Service describes a set of Pods that perform the same task.The following Service is used for DNS lookups between Cassandra Pods and clients within your cluster:application/cassandra/cassandra-service.yaml apiVersion: v1 kind: Service metadata: labels: app: cassandra name: cassandra spec: clusterIP: None ports: - port: 9042 selector: app: cassandra Create a Service to track all Cassandra StatefulSet members from the cassandra-service.yaml file:kubectl apply -f https://k8s.io/examples/application/cassandra/cassandra-service.yaml Validating (optional)Get the Cassandra Service.kubectl get svc cassandra The response isNAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE cassandra ClusterIP None <none> 9042/TCP 45s If you don't see a Service named cassandra, that means creation failed. ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/cassandra/",
    "id": "k8s_00767_qa_16600"
  },
  {
    "question": "What are the benefits of Example: Deploying Cassandra with a StatefulSet?",
    "answer": "Example: Deploying Cassandra with a StatefulSetThis tutorial shows you how to run Apache Cassandra on Kubernetes. Cassandra, a database, needs persistent storage to provide data durability (application state). In this example, a custom Cassandra seed provider lets the database discover new Cassandra instances as they join the Cassandra cluster.StatefulSets make it easier to deploy stateful applications into your Kubernetes cluster. For more information on the features used in this tutorial, see StatefulSet.Note:Cassandra and Kubernetes both use the term node to mean a member of a cluster. In this tutorial, the Pods that belong to the StatefulSet are Cassandra nodes and are members of the Cassandra cluster (called a ring). When those Pods run in your Kubernetes cluster, the Kubernetes control plane schedules those Pods onto Kubernetes Nodes.When a Cassandra node starts, it uses a seed list to bootstrap discovery of other nodes in the ring. This tutorial deploys a custom Cassandra seed provider that lets the database discover new Cassandra Pods as they appear inside your Kubernetes cluster.ObjectivesCreate and validate a Cassandra headless Service.Use a StatefulSet to create a Cassandra ring.Validate the StatefulSet.Modify the StatefulSet.Delete the StatefulSet and its Pods.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo complete this tutorial, you should already have a basic familiarity with Pods, Services, and StatefulSets.Additional Minikube setup instructionsCaution:Minikube defaults to 2048MB of memory and 2 CPU. Running Minikube with the default resource configuration results in insufficient resource errors during this tutorial. To avoid these errors, start Minikube with the following settings:minikube start --memory 5120 --cpus=4 Creating a headless Service for CassandraIn Kubernetes, a Service describes a set of Pods that perform the same task.The following Service is used for DNS lookups between Cassandra Pods and clients within your cluster:application/cassandra/cassandra-service.yaml apiVersion: v1 kind: Service metadata: labels: app: cassandra name: cassandra spec: clusterIP: None ports: - port: 9042 selector: app: cassandra Create a Service to track all Cassandra StatefulSet members from the cassandra-service.yaml file:kubectl apply -f https://k8s.io/examples/application/cassandra/cassandra-service.yaml Validating (optional)Get the Cassandra Service.kubectl get svc cassandra The response isNAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE cassandra ClusterIP None <none> 9042/TCP 45s If you don't see a Service named cassandra, that means creation failed. ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/cassandra/",
    "id": "k8s_00767_qa_16601"
  },
  {
    "question": "What is Example: Deploying Cassandra with a StatefulSet?",
    "answer": "T h i s   t u t o r i a l   s h o w s   y o u   h o w   t o   r u n   A p a c h e   C a s s a n d r a   o n   K u b e r n e t e s .   C a s s a n d r a ,   a   d a t a b a s e ,   n e e d s   p e r s i s t e n t   s t o r a g e   t o   p r o v i d e   d a t a   d u r a b i l i t y   ( a p p l i c a t i o n   s t a t e ) .   I n   t h i s   e x a m p l e ,   a   c u s t o m   C a s s a n d r a   s e e d   p r o v i d e r   l e t s   t h e   d a t a b a s e   d i s c o v e r   n e w   C a s s a n d r a   i n s t a n c e s   a s   t h e y   j o i n   t h e   C a s s a n d r a   c l u s t e r .   S t a t e f u l S e t s   m a k e   i t   e a s i e r   t o   d e p l o y   s t a t e f u l   a p p l i c a t i o n s   i n t o   y o u r   K u b e r n e t e s   c l u s t e r .   F o r   m o r e   i n f o r m a t i o n   o n   t h e   f e a t u r e s   u s e d   i n   t h i s   t u t o r i a l ,   s e e   S t a t e f u l S e t .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/cassandra/",
    "id": "k8s_00767_section_1_16602"
  },
  {
    "question": "What is Note:?",
    "answer": "C a s s a n d r a   a n d   K u b e r n e t e s   b o t h   u s e   t h e   t e r m   n o d e   t o   m e a n   a   m e m b e r   o f   a   c l u s t e r .   I n   t h i s   t u t o r i a l ,   t h e   P o d s   t h a t   b e l o n g   t o   t h e   S t a t e f u l S e t   a r e   C a s s a n d r a   n o d e s   a n d   a r e   m e m b e r s   o f   t h e   C a s s a n d r a   c l u s t e r   ( c a l l e d   a   r i n g ) .   W h e n   t h o s e   P o d s   r u n   i n   y o u r   K u b e r n e t e s   c l u s t e r ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   s c h e d u l e s   t h o s e   P o d s   o n t o   K u b e r n e t e s   N o d e s .   W h e n   a   C a s s a n d r a   n o d e   s t a r t s ,   i t   u s e s   a   s e e d   l i s t   t o   b o o t s t r a p   d i s c o v e r y   o f   o t h e r   n o d e s   i n   t h e   r i n g .   T h i s   t u t o r i a l   d e p l o y s   a   c u s t o m   C a s s a n d r a   s e e d   p r o v i d e r   t h a t   l e t s   t h e   d a t a b a s e   d i s c o v e r   n e w   C a s s a n d r a   P o d s   a s   t h e y   a p p e a r   i n s i d e   y o u r   K u b e r n e t e s   c l u s t e r .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/cassandra/",
    "id": "k8s_00767_section_4_16603"
  },
  {
    "question": "What is Objectives?",
    "answer": "C r e a t e   a n d   v a l i d a t e   a   C a s s a n d r a   h e a d l e s s   S e r v i c e . U s e   a   S t a t e f u l S e t   t o   c r e a t e   a   C a s s a n d r a   r i n g . V a l i d a t e   t h e   S t a t e f u l S e t . M o d i f y   t h e   S t a t e f u l S e t . D e l e t e   t h e   S t a t e f u l S e t   a n d   i t s   P o d s .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/cassandra/",
    "id": "k8s_00767_section_2_16604"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c o m p l e t e   t h i s   t u t o r i a l ,   y o u   s h o u l d   a l r e a d y   h a v e   a   b a s i c   f a m i l i a r i t y   w i t h   P o d s ,   S e r v i c e s ,   a n d   S t a t e f u l S e t s .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/cassandra/",
    "id": "k8s_00767_section_2_16605"
  },
  {
    "question": "What is Caution:?",
    "answer": "M i n i k u b e   d e f a u l t s   t o   2 0 4 8 M B   o f   m e m o r y   a n d   2   C P U .   R u n n i n g   M i n i k u b e   w i t h   t h e   d e f a u l t   r e s o u r c e   c o n f i g u r a t i o n   r e s u l t s   i n   i n s u f f i c i e n t   r e s o u r c e   e r r o r s   d u r i n g   t h i s   t u t o r i a l .   T o   a v o i d   t h e s e   e r r o r s ,   s t a r t   M i n i k u b e   w i t h   t h e   f o l l o w i n g   s e t t i n g s :   m i n i k u b e   s t a r t   - - m e m o r y   5 1 2 0   - - c p u s = 4",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/cassandra/",
    "id": "k8s_00767_section_4_16606"
  },
  {
    "question": "What is Creating a headless Service for Cassandra?",
    "answer": "I n   K u b e r n e t e s ,   a   S e r v i c e   d e s c r i b e s   a   s e t   o f   P o d s   t h a t   p e r f o r m   t h e   s a m e   t a s k .   T h e   f o l l o w i n g   S e r v i c e   i s   u s e d   f o r   D N S   l o o k u p s   b e t w e e n   C a s s a n d r a   P o d s   a n d   c l i e n t s   w i t h i n   y o u r   c l u s t e r :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   l a b e l s :   a p p :   c a s s a n d r a   n a m e :   c a s s a n d r a   s p e c :   c l u s t e r I P :   N o n e   p o r t s :   -   p o r t :   9 0 4 2   s e l e c t o r :   a p p :   c a s s a n d r a   C r e a t e   a   S e r v i c e   t o   t r a c k   a l l   C a s s a n d r a   S t a t e f u l S e t   m e m b e r s   f r o m   t h e   c a s s a n d r a - s e r v i c e . y a m l   f i l e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / c a s s a n d r a / c a s s a n d r a - s e r v i c e . y a m l",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/cassandra/",
    "id": "k8s_00767_section_2_16607"
  },
  {
    "question": "What is Validating (optional)?",
    "answer": "G e t   t h e   C a s s a n d r a   S e r v i c e .   k u b e c t l   g e t   s v c   c a s s a n d r a   T h e   r e s p o n s e   i s   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   c a s s a n d r a   C l u s t e r I P   N o n e   < n o n e >   9 0 4 2 / T C P   4 5 s   I f   y o u   d o n ' t   s e e   a   S e r v i c e   n a m e d   c a s s a n d r a ,   t h a t   m e a n s   c r e a t i o n   f a i l e d .   R e a d   D e b u g   S e r v i c e s   f o r   h e l p   t r o u b l e s h o o t i n g   c o m m o n   i s s u e s .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/cassandra/",
    "id": "k8s_00767_section_3_16608"
  },
  {
    "question": "What is Using a StatefulSet to create a Cassandra ring?",
    "answer": "T h e   S t a t e f u l S e t   m a n i f e s t ,   i n c l u d e d   b e l o w ,   c r e a t e s   a   C a s s a n d r a   r i n g   t h a t   c o n s i s t s   o f   t h r e e   P o d s .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/cassandra/",
    "id": "k8s_00767_section_2_16609"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a :   n a m e :   c a s s a n d r a   l a b e l s :   a p p :   c a s s a n d r a   s p e c :   s e r v i c e N a m e :   c a s s a n d r a   r e p l i c a s :   3   s e l e c t o r :   m a t c h L a b e l s :   a p p :   c a s s a n d r a   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   c a s s a n d r a   s p e c :   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s :   5 0 0   c o n t a i n e r s :   -   n a m e :   c a s s a n d r a   i m a g e :   g c r . i o / g o o g l e - s a m p l e s / c a s s a n d r a : v 1 3   i m a g e P u l l P o l i c y :   A l w a y s   p o r t s :   -   c o n t a i n e r P o r t :   7 0 0 0   n a m e :   i n t r a - n o d e   -   c o n t a i n e r P o r t :   7 0 0 1   n a m e :   t l s - i n t r a - n o d e   -   c o n t a i n e r P o r t :   7 1 9 9   n a m e :   j m x   -   c o n t a i n e r P o r t :   9 0 4 2   n a m e :   c q l   r e s o u r c e s :   l i m i t s :   c p u :   \" 5 0 0 m \"   m e m o r y :   1 G i   r e q u e s t s :   c p u :   \" 5 0 0 m \"   m e m o r y :   1 G i   s e c u r i t y C o n t e x t :   c a p a b i l i t i e s :   a d d :   -   I P C _ L O C K   l i f e c y c l e :   p r e S t o p :   e x e c :   c o m m a n d :   -   / b i n / s h   -   - c   -   n o d e t o o l   d r a i n   e n v :   -   n a m e :   M A X _ H E A P _ S I Z E   v a l u e :   5 1 2 M   -   n a m e :   H E A P _ N E W S I Z E   v a l u e :   1 0 0 M   -   n a m e :   C A S S A N D R A _ S E E D S   v a l u e :   \" c a s s a n d r a - 0 . c a s s a n d r a . d e f a u l t . s v c . c l u s t e r . l o c a l \"   -   n a m e :   C A S S A N D R A _ C L U S T E R _ N A M E   v a l u e :   \" K 8 D e m o \"   -   n a m e :   C A S S A N D R A _ D C   v a l u e :   \" D C 1 - K 8 D e m o \"   -   n a m e :   C A S S A N D R A _ R A C K   v a l u e :   \" R a c k 1 - K 8 D e m o \"   -   n a m e :   P O D _ I P   v a l u e F r o ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/cassandra/",
    "id": "k8s_00767_section_4_16610"
  },
  {
    "question": "What is Validating the Cassandra StatefulSet?",
    "answer": "G e t   t h e   C a s s a n d r a   S t a t e f u l S e t : k u b e c t l   g e t   s t a t e f u l s e t   c a s s a n d r a   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o : N A M E   D E S I R E D   C U R R E N T   A G E   c a s s a n d r a   3   0   1 3 s   T h e   S t a t e f u l S e t   r e s o u r c e   d e p l o y s   P o d s   s e q u e n t i a l l y . G e t   t h e   P o d s   t o   s e e   t h e   o r d e r e d   c r e a t i o n   s t a t u s : k u b e c t l   g e t   p o d s   - l = \" a p p = c a s s a n d r a \"   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   c a s s a n d r a - 0   1 / 1   R u n n i n g   0   1 m   c a s s a n d r a - 1   0 / 1   C o n t a i n e r C r e a t i n g   0   8 s   I t   c a n   t a k e   s e v e r a l   m i n u t e s   f o r   a l l   t h r e e   P o d s   t o   d e p l o y .   O n c e   t h e y   a r e   d e p l o y e d ,   t h e   s a m e   c o m m a n d   r e t u r n s   o u t p u t   s i m i l a r   t o : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   c a s s a n d r a - 0   1 / 1   R u n n i n g   0   1 0 m   c a s s a n d r a - 1   1 / 1   R u n n i n g   0   9 m   c a s s a n d r a - 2   1 / 1   R u n n i n g   0   8 m   R u n   t h e   C a s s a n d r a   n o d e t o o l   i n s i d e   t h e   f i r s t   P o d ,   t o   d i s p l a y   t h e   s t a t u s   o f   t h e   r i n g . k u b e c t l   e x e c   - i t   c a s s a n d r a - 0   - -   n o d e t o o l   s t a t u s   T h e   r e s p o n s e   s h o u l d   l o o k   s o m e t h i n g   l i k e : D a t a c e n t e r :   D C 1 - K 8 D e m o   = = = = = = = = = = = = = = = = = = = = = =   S t a t u s = U p / D o w n   | /   S t a t e = N o r m a l / L e a v i n g / J o i n i n g / M o v i n g   - -   A d d r e s s   L o a d   T o k e n s   O w n s   ( e f f e c t i v e )   H o s t   I D   R a c k   U N   1 7 2 . 1 7 . 0 . 5   8 3 . 5 7   K i B ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/cassandra/",
    "id": "k8s_00767_section_2_16611"
  },
  {
    "question": "What is Modifying the Cassandra StatefulSet?",
    "answer": "U s e   k u b e c t l   e d i t   t o   m o d i f y   t h e   s i z e   o f   a   C a s s a n d r a   S t a t e f u l S e t .   R u n   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   e d i t   s t a t e f u l s e t   c a s s a n d r a   T h i s   c o m m a n d   o p e n s   a n   e d i t o r   i n   y o u r   t e r m i n a l .   T h e   l i n e   y o u   n e e d   t o   c h a n g e   i s   t h e   r e p l i c a s   f i e l d .   T h e   f o l l o w i n g   s a m p l e   i s   a n   e x c e r p t   o f   t h e   S t a t e f u l S e t   f i l e : #   P l e a s e   e d i t   t h e   o b j e c t   b e l o w .   L i n e s   b e g i n n i n g   w i t h   a   ' # '   w i l l   b e   i g n o r e d ,   #   a n d   a n   e m p t y   f i l e   w i l l   a b o r t   t h e   e d i t .   I f   a n   e r r o r   o c c u r s   w h i l e   s a v i n g   t h i s   f i l e   w i l l   b e   #   r e o p e n e d   w i t h   t h e   r e l e v a n t   f a i l u r e s .   #   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   2 0 1 6 - 0 8 - 1 3 T 1 8 : 4 0 : 5 8 Z   g e n e r a t i o n :   1   l a b e l s :   a p p :   c a s s a n d r a   n a m e :   c a s s a n d r a   n a m e s p a c e :   d e f a u l t   r e s o u r c e V e r s i o n :   \" 3 2 3 \"   u i d :   7 a 2 1 9 4 8 3 - 6 1 8 5 - 1 1 e 6 - a 9 1 0 - 4 2 0 1 0 a 8 a 0 f c 0   s p e c :   r e p l i c a s :   3   C h a n g e   t h e   n u m b e r   o f   r e p l i c a s   t o   4 ,   a n d   t h e n   s a v e   t h e   m a n i f e s t . T h e   S t a t e f u l S e t   n o w   s c a l e s   t o   r u n   w i t h   4   P o d s . G e t   t h e   C a s s a n d r a   S t a t e f u l S e t   t o   v e r i f y   y o u r   c h a n g e : k u b e c t l   g e t   s t a t e f u l s e t   c a s s a n d r a   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o : N A M E   D E S I R E D   C U R R E N T   A G E   c a s s a n d r a   4   4 ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/cassandra/",
    "id": "k8s_00767_section_2_16612"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "D e l e t i n g   o r   s c a l i n g   a   S t a t e f u l S e t   d o w n   d o e s   n o t   d e l e t e   t h e   v o l u m e s   a s s o c i a t e d   w i t h   t h e   S t a t e f u l S e t .   T h i s   s e t t i n g   i s   f o r   y o u r   s a f e t y   b e c a u s e   y o u r   d a t a   i s   m o r e   v a l u a b l e   t h a n   a u t o m a t i c a l l y   p u r g i n g   a l l   r e l a t e d   S t a t e f u l S e t   r e s o u r c e s .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/cassandra/",
    "id": "k8s_00767_section_2_16613"
  },
  {
    "question": "What is Warning:?",
    "answer": "R u n   t h e   f o l l o w i n g   c o m m a n d s   ( c h a i n e d   t o g e t h e r   i n t o   a   s i n g l e   c o m m a n d )   t o   d e l e t e   e v e r y t h i n g   i n   t h e   C a s s a n d r a   S t a t e f u l S e t : g r a c e = $ ( k u b e c t l   g e t   p o d   c a s s a n d r a - 0   - o = j s o n p a t h = ' { . s p e c . t e r m i n a t i o n G r a c e P e r i o d S e c o n d s } ' )   \\   & &   k u b e c t l   d e l e t e   s t a t e f u l s e t   - l   a p p = c a s s a n d r a   \\   & &   e c h o   \" S l e e p i n g   $ { g r a c e }   s e c o n d s \"   1 > & 2   \\   & &   s l e e p   $ g r a c e   \\   & &   k u b e c t l   d e l e t e   p e r s i s t e n t v o l u m e c l a i m   - l   a p p = c a s s a n d r a   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   d e l e t e   t h e   S e r v i c e   y o u   s e t   u p   f o r   C a s s a n d r a : k u b e c t l   d e l e t e   s e r v i c e   - l   a p p = c a s s a n d r a   R u n   t h e   f o l l o w i n g   c o m m a n d s   ( c h a i n e d   t o g e t h e r   i n t o   a   s i n g l e   c o m m a n d )   t o   d e l e t e   e v e r y t h i n g   i n   t h e   C a s s a n d r a   S t a t e f u l S e t :   g r a c e = $ ( k u b e c t l   g e t   p o d   c a s s a n d r a - 0   - o = j s o n p a t h = ' { . s p e c . t e r m i n a t i o n G r a c e P e r i o d S e c o n d s } ' )   \\   & &   k u b e c t l   d e l e t e   s t a t e f u l s e t   - l   a p p = c a s s a n d r a   \\   & &   e c h o   \" S l e e p i n g   $ { g r a c e }   s e c o n d s \"   1 > & 2   \\   & &   s l e e p   $ g r a c e   \\   & &   k u b e c t l   d e l e t e   p e r s i s t e n t v o l u m e c l a i m   - l   a p p = c a s s a n d r a   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   d e l e t e   t h e   S e r v i c e   y o u   s e t   u p   f o r   C a s s a n d r a :   k u b e c t l   d e l e t e   s e r v i c e   - l   a p p = c a s s a n d r a",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/cassandra/",
    "id": "k8s_00767_section_4_16614"
  },
  {
    "question": "What is Cassandra container environment variables?",
    "answer": "T h e   P o d s   i n   t h i s   t u t o r i a l   u s e   t h e   g c r . i o / g o o g l e - s a m p l e s / c a s s a n d r a : v 1 3   i m a g e   f r o m   G o o g l e ' s   c o n t a i n e r   r e g i s t r y .   T h e   D o c k e r   i m a g e   a b o v e   i s   b a s e d   o n   d e b i a n - b a s e   a n d   i n c l u d e s   O p e n J D K   8 .   T h i s   i m a g e   i n c l u d e s   a   s t a n d a r d   C a s s a n d r a   i n s t a l l a t i o n   f r o m   t h e   A p a c h e   D e b i a n   r e p o .   B y   u s i n g   e n v i r o n m e n t   v a r i a b l e s   y o u   c a n   c h a n g e   v a l u e s   t h a t   a r e   i n s e r t e d   i n t o   c a s s a n d r a . y a m l .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/cassandra/",
    "id": "k8s_00767_section_2_16615"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   S c a l e   a   S t a t e f u l S e t . L e a r n   m o r e   a b o u t   t h e   K u b e r n e t e s S e e d P r o v i d e r S e e   m o r e   c u s t o m   S e e d   P r o v i d e r   C o n f i g u r a t i o n s",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/cassandra/",
    "id": "k8s_00767_section_2_16616"
  },
  {
    "question": "What is CSINode?",
    "answer": "CSINodeCSINode holds information about all CSI drivers installed on a node.apiVersion: storage.k8s.io/v1import \"k8s.io/api/storage/v1\"CSINodeCSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.apiVersion: storage.k8s.io/v1kind: CSINodemetadata (ObjectMeta)Standard object's metadata. metadata.name must be the Kubernetes node name.spec (CSINodeSpec), requiredspec is the specification of CSINodeCSINodeSpecCSINodeSpec holds information about the specification of all CSI drivers installed on a nodedrivers ([]CSINodeDriver), requiredPatch strategy: merge on key nameMap: unique values on key name will be kept during a mergedrivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.CSINodeDriver holds information about the specification of one CSI driver installed on a nodedrivers.name (string), requiredname represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.drivers.nodeID (string), requirednodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required.drivers.allocatable (VolumeNodeResources)allocatable represents the volume resources of a node that are available for scheduling. This field is beta.VolumeNodeResources is a set of resource limits for scheduling of volumes.drivers.allocatable.count (int32)count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.drivers.topologyKeys ([]string)Atomic: will be replaced during a mergetopologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topol",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_qa_16617"
  },
  {
    "question": "How does CSINode work?",
    "answer": "CSINodeCSINode holds information about all CSI drivers installed on a node.apiVersion: storage.k8s.io/v1import \"k8s.io/api/storage/v1\"CSINodeCSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.apiVersion: storage.k8s.io/v1kind: CSINodemetadata (ObjectMeta)Standard object's metadata. metadata.name must be the Kubernetes node name.spec (CSINodeSpec), requiredspec is the specification of CSINodeCSINodeSpecCSINodeSpec holds information about the specification of all CSI drivers installed on a nodedrivers ([]CSINodeDriver), requiredPatch strategy: merge on key nameMap: unique values on key name will be kept during a mergedrivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.CSINodeDriver holds information about the specification of one CSI driver installed on a nodedrivers.name (string), requiredname represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.drivers.nodeID (string), requirednodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required.drivers.allocatable (VolumeNodeResources)allocatable represents the volume resources of a node that are available for scheduling. This field is beta.VolumeNodeResources is a set of resource limits for scheduling of volumes.drivers.allocatable.count (int32)count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.drivers.topologyKeys ([]string)Atomic: will be replaced during a mergetopologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topol",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_qa_16618"
  },
  {
    "question": "When would you use CSINode?",
    "answer": "CSINodeCSINode holds information about all CSI drivers installed on a node.apiVersion: storage.k8s.io/v1import \"k8s.io/api/storage/v1\"CSINodeCSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.apiVersion: storage.k8s.io/v1kind: CSINodemetadata (ObjectMeta)Standard object's metadata. metadata.name must be the Kubernetes node name.spec (CSINodeSpec), requiredspec is the specification of CSINodeCSINodeSpecCSINodeSpec holds information about the specification of all CSI drivers installed on a nodedrivers ([]CSINodeDriver), requiredPatch strategy: merge on key nameMap: unique values on key name will be kept during a mergedrivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.CSINodeDriver holds information about the specification of one CSI driver installed on a nodedrivers.name (string), requiredname represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.drivers.nodeID (string), requirednodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required.drivers.allocatable (VolumeNodeResources)allocatable represents the volume resources of a node that are available for scheduling. This field is beta.VolumeNodeResources is a set of resource limits for scheduling of volumes.drivers.allocatable.count (int32)count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.drivers.topologyKeys ([]string)Atomic: will be replaced during a mergetopologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topol",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_qa_16619"
  },
  {
    "question": "What are the benefits of CSINode?",
    "answer": "CSINodeCSINode holds information about all CSI drivers installed on a node.apiVersion: storage.k8s.io/v1import \"k8s.io/api/storage/v1\"CSINodeCSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.apiVersion: storage.k8s.io/v1kind: CSINodemetadata (ObjectMeta)Standard object's metadata. metadata.name must be the Kubernetes node name.spec (CSINodeSpec), requiredspec is the specification of CSINodeCSINodeSpecCSINodeSpec holds information about the specification of all CSI drivers installed on a nodedrivers ([]CSINodeDriver), requiredPatch strategy: merge on key nameMap: unique values on key name will be kept during a mergedrivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.CSINodeDriver holds information about the specification of one CSI driver installed on a nodedrivers.name (string), requiredname represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.drivers.nodeID (string), requirednodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required.drivers.allocatable (VolumeNodeResources)allocatable represents the volume resources of a node that are available for scheduling. This field is beta.VolumeNodeResources is a set of resource limits for scheduling of volumes.drivers.allocatable.count (int32)count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.drivers.topologyKeys ([]string)Atomic: will be replaced during a mergetopologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topol",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_qa_16620"
  },
  {
    "question": "What is CSINode?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / s t o r a g e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_section_1_16621"
  },
  {
    "question": "What is CSINode?",
    "answer": "C S I N o d e   h o l d s   i n f o r m a t i o n   a b o u t   a l l   C S I   d r i v e r s   i n s t a l l e d   o n   a   n o d e .   C S I   d r i v e r s   d o   n o t   n e e d   t o   c r e a t e   t h e   C S I N o d e   o b j e c t   d i r e c t l y .   A s   l o n g   a s   t h e y   u s e   t h e   n o d e - d r i v e r - r e g i s t r a r   s i d e c a r   c o n t a i n e r ,   t h e   k u b e l e t   w i l l   a u t o m a t i c a l l y   p o p u l a t e   t h e   C S I N o d e   o b j e c t   f o r   t h e   C S I   d r i v e r   a s   p a r t   o f   k u b e l e t   p l u g i n   r e g i s t r a t i o n .   C S I N o d e   h a s   t h e   s a m e   n a m e   a s   a   n o d e .   I f   t h e   o b j e c t   i s   m i s s i n g ,   i t   m e a n s   e i t h e r   t h e r e   a r e   n o   C S I   D r i v e r s   a v a i l a b l e   o n   t h e   n o d e ,   o r   t h e   K u b e l e t   v e r s i o n   i s   l o w   e n o u g h   t h a t   i t   d o e s n ' t   c r e a t e   t h i s   o b j e c t .   C S I N o d e   h a s   a n   O w n e r R e f e r e n c e   t h a t   p o i n t s   t o   t h e   c o r r e s p o n d i n g   n o d e   o b j e c t .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   C S I N o d e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   m e t a d a t a . n a m e   m u s t   b e   t h e   K u b e r n e t e s   n o d e   n a m e . s p e c   ( C S I N o d e S p e c ) ,   r e q u i r e d s p e c   i s   t h e   s p e c i f i c a t i o n   o f   C S I N o d e   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   C S I N o d e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   m e t a d a t a . n a m e   m u s t   b e   t h e   K u b e r n e t e s   n o d e   n a m e .   s p e c   ( C S I N o d e S p e c ) ,   r e q u i r e d   s p e c   i s   t h e   s p e c i f i c a t i o n   o f   C S I N o d ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_section_2_16622"
  },
  {
    "question": "What is CSINodeSpec?",
    "answer": "C S I N o d e S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   s p e c i f i c a t i o n   o f   a l l   C S I   d r i v e r s   i n s t a l l e d   o n   a   n o d e   d r i v e r s   ( [ ] C S I N o d e D r i v e r ) ,   r e q u i r e d P a t c h   s t r a t e g y :   m e r g e   o n   k e y   n a m e M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e d r i v e r s   i s   a   l i s t   o f   i n f o r m a t i o n   o f   a l l   C S I   D r i v e r s   e x i s t i n g   o n   a   n o d e .   I f   a l l   d r i v e r s   i n   t h e   l i s t   a r e   u n i n s t a l l e d ,   t h i s   c a n   b e c o m e   e m p t y . C S I N o d e D r i v e r   h o l d s   i n f o r m a t i o n   a b o u t   t h e   s p e c i f i c a t i o n   o f   o n e   C S I   d r i v e r   i n s t a l l e d   o n   a   n o d e d r i v e r s . n a m e   ( s t r i n g ) ,   r e q u i r e d n a m e   r e p r e s e n t s   t h e   n a m e   o f   t h e   C S I   d r i v e r   t h a t   t h i s   o b j e c t   r e f e r s   t o .   T h i s   M U S T   b e   t h e   s a m e   n a m e   r e t u r n e d   b y   t h e   C S I   G e t P l u g i n N a m e ( )   c a l l   f o r   t h a t   d r i v e r . d r i v e r s . n o d e I D   ( s t r i n g ) ,   r e q u i r e d n o d e I D   o f   t h e   n o d e   f r o m   t h e   d r i v e r   p o i n t   o f   v i e w .   T h i s   f i e l d   e n a b l e s   K u b e r n e t e s   t o   c o m m u n i c a t e   w i t h   s t o r a g e   s y s t e m s   t h a t   d o   n o t   s h a r e   t h e   s a m e   n o m e n c l a t u r e   f o r   n o d e s .   F o r   e x a m p l e ,   K u b e r n e t e s   m a y   r e f e r   t o   a   g i v e n   n o d e   a s   \" n o d e 1 \" ,   b u t   t h e   s t o r a g e   s y s t e m   m a y   r e f e r   t o   t h e   s a m e   n o d e   a s   \" n o d e A \" .   W h e n   K u b e r n e t e s   i s s u e s   a   c o m m a n d   t o   t h e   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_section_2_16623"
  },
  {
    "question": "What is CSINodeList?",
    "answer": "C S I N o d e L i s t   i s   a   c o l l e c t i o n   o f   C S I N o d e   o b j e c t s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   C S I N o d e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] C S I N o d e ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   C S I N o d e   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   C S I N o d e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] C S I N o d e ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   C S I N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_section_2_16624"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_section_4_16625"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I N o d e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I N o d e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_section_4_16626"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I N o d e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_section_4_16627"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_section_4_16628"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_section_4_16629"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I N o d e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_section_4_16630"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_section_4_16631"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   C S I N o d e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   C S I N o d e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_section_4_16632"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I N o d e ) :   O K   2 0 1   ( C S I N o d e ) :   C r e a t e d   2 0 2   ( C S I N o d e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_section_4_16633"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_section_4_16634"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I N o d e b o d y :   C S I N o d e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I N o d e   b o d y :   C S I N o d e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_section_4_16635"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I N o d e ) :   O K   2 0 1   ( C S I N o d e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_section_4_16636"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_section_4_16637"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I N o d e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I N o d e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_section_4_16638"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I N o d e ) :   O K   2 0 1   ( C S I N o d e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_section_4_16639"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_section_4_16640"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I N o d e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I N o d e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_section_4_16641"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I N o d e ) :   O K   2 0 2   ( C S I N o d e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_section_4_16642"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_section_4_16643"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_section_4_16644"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1/",
    "id": "k8s_00768_section_4_16645"
  },
  {
    "question": "What is Operator pattern?",
    "answer": "Operator patternOperators are software extensions to Kubernetes that make use of custom resources to manage applications and their components. Operators follow Kubernetes principles, notably the control loop.MotivationThe operator pattern aims to capture the key aim of a human operator who is managing a service or set of services. Human operators who look after specific applications and services have deep knowledge of how the system ought to behave, how to deploy it, and how to react if there are problems.People who run workloads on Kubernetes often like to use automation to take care of repeatable tasks. The operator pattern captures how you can write code to automate a task beyond what Kubernetes itself provides.Operators in KubernetesKubernetes is designed for automation. Out of the box, you get lots of built-in automation from the core of Kubernetes. You can use Kubernetes to automate deploying and running workloads, and you can automate how Kubernetes does that.Kubernetes' operator pattern concept lets you extend the cluster's behaviour without modifying the code of Kubernetes itself by linking controllers to one or more custom resources. Operators are clients of the Kubernetes API that act as controllers for a Custom Resource.An example operatorSome of the things that you can use an operator to automate include:deploying an application on demandtaking and restoring backups of that application's statehandling upgrades of the application code alongside related changes such as database schemas or extra configuration settingspublishing a Service to applications that don't support Kubernetes APIs to discover themsimulating failure in all or part of your cluster to test its resiliencechoosing a leader for a distributed application without an internal member election processWhat might an operator look like in more detail? Here's an example:A custom resource named SampleDB, that you can configure into the cluster.A Deployment that makes sure a Pod is running that contains the controller part of the operator.A container image of the operator code.Controller code that queries the control plane to find out what SampleDB resources are configured.The core of the operator is code to tell the API server how to make reality match the configured resources.If you add a new SampleDB, the operator sets up PersistentVolumeClaims to provide durable database storage, a StatefulSet to run SampleDB and a Job to handle initial configuration.If you delete it, the operator takes a snapshot, then makes sure that the StatefulSet and Volumes are also removed.The operator also manages regular database backups. For each SampleDB resource, the operator determines when to create a Pod that can connect to the database and take backups. These Pods would rely on a ConfigMap and / or a Secret that has database connection details and credentials.Because the operator aims to provide robust automation for the resource it manages, there would be additional supporting code. For this ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/operator/",
    "id": "k8s_00769_qa_16646"
  },
  {
    "question": "How does Operator pattern work?",
    "answer": "Operator patternOperators are software extensions to Kubernetes that make use of custom resources to manage applications and their components. Operators follow Kubernetes principles, notably the control loop.MotivationThe operator pattern aims to capture the key aim of a human operator who is managing a service or set of services. Human operators who look after specific applications and services have deep knowledge of how the system ought to behave, how to deploy it, and how to react if there are problems.People who run workloads on Kubernetes often like to use automation to take care of repeatable tasks. The operator pattern captures how you can write code to automate a task beyond what Kubernetes itself provides.Operators in KubernetesKubernetes is designed for automation. Out of the box, you get lots of built-in automation from the core of Kubernetes. You can use Kubernetes to automate deploying and running workloads, and you can automate how Kubernetes does that.Kubernetes' operator pattern concept lets you extend the cluster's behaviour without modifying the code of Kubernetes itself by linking controllers to one or more custom resources. Operators are clients of the Kubernetes API that act as controllers for a Custom Resource.An example operatorSome of the things that you can use an operator to automate include:deploying an application on demandtaking and restoring backups of that application's statehandling upgrades of the application code alongside related changes such as database schemas or extra configuration settingspublishing a Service to applications that don't support Kubernetes APIs to discover themsimulating failure in all or part of your cluster to test its resiliencechoosing a leader for a distributed application without an internal member election processWhat might an operator look like in more detail? Here's an example:A custom resource named SampleDB, that you can configure into the cluster.A Deployment that makes sure a Pod is running that contains the controller part of the operator.A container image of the operator code.Controller code that queries the control plane to find out what SampleDB resources are configured.The core of the operator is code to tell the API server how to make reality match the configured resources.If you add a new SampleDB, the operator sets up PersistentVolumeClaims to provide durable database storage, a StatefulSet to run SampleDB and a Job to handle initial configuration.If you delete it, the operator takes a snapshot, then makes sure that the StatefulSet and Volumes are also removed.The operator also manages regular database backups. For each SampleDB resource, the operator determines when to create a Pod that can connect to the database and take backups. These Pods would rely on a ConfigMap and / or a Secret that has database connection details and credentials.Because the operator aims to provide robust automation for the resource it manages, there would be additional supporting code. For this ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/operator/",
    "id": "k8s_00769_qa_16647"
  },
  {
    "question": "When would you use Operator pattern?",
    "answer": "Operator patternOperators are software extensions to Kubernetes that make use of custom resources to manage applications and their components. Operators follow Kubernetes principles, notably the control loop.MotivationThe operator pattern aims to capture the key aim of a human operator who is managing a service or set of services. Human operators who look after specific applications and services have deep knowledge of how the system ought to behave, how to deploy it, and how to react if there are problems.People who run workloads on Kubernetes often like to use automation to take care of repeatable tasks. The operator pattern captures how you can write code to automate a task beyond what Kubernetes itself provides.Operators in KubernetesKubernetes is designed for automation. Out of the box, you get lots of built-in automation from the core of Kubernetes. You can use Kubernetes to automate deploying and running workloads, and you can automate how Kubernetes does that.Kubernetes' operator pattern concept lets you extend the cluster's behaviour without modifying the code of Kubernetes itself by linking controllers to one or more custom resources. Operators are clients of the Kubernetes API that act as controllers for a Custom Resource.An example operatorSome of the things that you can use an operator to automate include:deploying an application on demandtaking and restoring backups of that application's statehandling upgrades of the application code alongside related changes such as database schemas or extra configuration settingspublishing a Service to applications that don't support Kubernetes APIs to discover themsimulating failure in all or part of your cluster to test its resiliencechoosing a leader for a distributed application without an internal member election processWhat might an operator look like in more detail? Here's an example:A custom resource named SampleDB, that you can configure into the cluster.A Deployment that makes sure a Pod is running that contains the controller part of the operator.A container image of the operator code.Controller code that queries the control plane to find out what SampleDB resources are configured.The core of the operator is code to tell the API server how to make reality match the configured resources.If you add a new SampleDB, the operator sets up PersistentVolumeClaims to provide durable database storage, a StatefulSet to run SampleDB and a Job to handle initial configuration.If you delete it, the operator takes a snapshot, then makes sure that the StatefulSet and Volumes are also removed.The operator also manages regular database backups. For each SampleDB resource, the operator determines when to create a Pod that can connect to the database and take backups. These Pods would rely on a ConfigMap and / or a Secret that has database connection details and credentials.Because the operator aims to provide robust automation for the resource it manages, there would be additional supporting code. For this ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/operator/",
    "id": "k8s_00769_qa_16648"
  },
  {
    "question": "What are the benefits of Operator pattern?",
    "answer": "Operator patternOperators are software extensions to Kubernetes that make use of custom resources to manage applications and their components. Operators follow Kubernetes principles, notably the control loop.MotivationThe operator pattern aims to capture the key aim of a human operator who is managing a service or set of services. Human operators who look after specific applications and services have deep knowledge of how the system ought to behave, how to deploy it, and how to react if there are problems.People who run workloads on Kubernetes often like to use automation to take care of repeatable tasks. The operator pattern captures how you can write code to automate a task beyond what Kubernetes itself provides.Operators in KubernetesKubernetes is designed for automation. Out of the box, you get lots of built-in automation from the core of Kubernetes. You can use Kubernetes to automate deploying and running workloads, and you can automate how Kubernetes does that.Kubernetes' operator pattern concept lets you extend the cluster's behaviour without modifying the code of Kubernetes itself by linking controllers to one or more custom resources. Operators are clients of the Kubernetes API that act as controllers for a Custom Resource.An example operatorSome of the things that you can use an operator to automate include:deploying an application on demandtaking and restoring backups of that application's statehandling upgrades of the application code alongside related changes such as database schemas or extra configuration settingspublishing a Service to applications that don't support Kubernetes APIs to discover themsimulating failure in all or part of your cluster to test its resiliencechoosing a leader for a distributed application without an internal member election processWhat might an operator look like in more detail? Here's an example:A custom resource named SampleDB, that you can configure into the cluster.A Deployment that makes sure a Pod is running that contains the controller part of the operator.A container image of the operator code.Controller code that queries the control plane to find out what SampleDB resources are configured.The core of the operator is code to tell the API server how to make reality match the configured resources.If you add a new SampleDB, the operator sets up PersistentVolumeClaims to provide durable database storage, a StatefulSet to run SampleDB and a Job to handle initial configuration.If you delete it, the operator takes a snapshot, then makes sure that the StatefulSet and Volumes are also removed.The operator also manages regular database backups. For each SampleDB resource, the operator determines when to create a Pod that can connect to the database and take backups. These Pods would rely on a ConfigMap and / or a Secret that has database connection details and credentials.Because the operator aims to provide robust automation for the resource it manages, there would be additional supporting code. For this ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/operator/",
    "id": "k8s_00769_qa_16649"
  },
  {
    "question": "What is Operator pattern?",
    "answer": "O p e r a t o r s   a r e   s o f t w a r e   e x t e n s i o n s   t o   K u b e r n e t e s   t h a t   m a k e   u s e   o f   c u s t o m   r e s o u r c e s   t o   m a n a g e   a p p l i c a t i o n s   a n d   t h e i r   c o m p o n e n t s .   O p e r a t o r s   f o l l o w   K u b e r n e t e s   p r i n c i p l e s ,   n o t a b l y   t h e   c o n t r o l   l o o p .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/operator/",
    "id": "k8s_00769_section_1_16650"
  },
  {
    "question": "What is Motivation?",
    "answer": "T h e   o p e r a t o r   p a t t e r n   a i m s   t o   c a p t u r e   t h e   k e y   a i m   o f   a   h u m a n   o p e r a t o r   w h o   i s   m a n a g i n g   a   s e r v i c e   o r   s e t   o f   s e r v i c e s .   H u m a n   o p e r a t o r s   w h o   l o o k   a f t e r   s p e c i f i c   a p p l i c a t i o n s   a n d   s e r v i c e s   h a v e   d e e p   k n o w l e d g e   o f   h o w   t h e   s y s t e m   o u g h t   t o   b e h a v e ,   h o w   t o   d e p l o y   i t ,   a n d   h o w   t o   r e a c t   i f   t h e r e   a r e   p r o b l e m s .   P e o p l e   w h o   r u n   w o r k l o a d s   o n   K u b e r n e t e s   o f t e n   l i k e   t o   u s e   a u t o m a t i o n   t o   t a k e   c a r e   o f   r e p e a t a b l e   t a s k s .   T h e   o p e r a t o r   p a t t e r n   c a p t u r e s   h o w   y o u   c a n   w r i t e   c o d e   t o   a u t o m a t e   a   t a s k   b e y o n d   w h a t   K u b e r n e t e s   i t s e l f   p r o v i d e s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/operator/",
    "id": "k8s_00769_section_2_16651"
  },
  {
    "question": "What is Operators in Kubernetes?",
    "answer": "K u b e r n e t e s   i s   d e s i g n e d   f o r   a u t o m a t i o n .   O u t   o f   t h e   b o x ,   y o u   g e t   l o t s   o f   b u i l t - i n   a u t o m a t i o n   f r o m   t h e   c o r e   o f   K u b e r n e t e s .   Y o u   c a n   u s e   K u b e r n e t e s   t o   a u t o m a t e   d e p l o y i n g   a n d   r u n n i n g   w o r k l o a d s ,   a n d   y o u   c a n   a u t o m a t e   h o w   K u b e r n e t e s   d o e s   t h a t .   K u b e r n e t e s '   o p e r a t o r   p a t t e r n   c o n c e p t   l e t s   y o u   e x t e n d   t h e   c l u s t e r ' s   b e h a v i o u r   w i t h o u t   m o d i f y i n g   t h e   c o d e   o f   K u b e r n e t e s   i t s e l f   b y   l i n k i n g   c o n t r o l l e r s   t o   o n e   o r   m o r e   c u s t o m   r e s o u r c e s .   O p e r a t o r s   a r e   c l i e n t s   o f   t h e   K u b e r n e t e s   A P I   t h a t   a c t   a s   c o n t r o l l e r s   f o r   a   C u s t o m   R e s o u r c e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/operator/",
    "id": "k8s_00769_section_2_16652"
  },
  {
    "question": "What is An example operator?",
    "answer": "S o m e   o f   t h e   t h i n g s   t h a t   y o u   c a n   u s e   a n   o p e r a t o r   t o   a u t o m a t e   i n c l u d e :   d e p l o y i n g   a n   a p p l i c a t i o n   o n   d e m a n d t a k i n g   a n d   r e s t o r i n g   b a c k u p s   o f   t h a t   a p p l i c a t i o n ' s   s t a t e h a n d l i n g   u p g r a d e s   o f   t h e   a p p l i c a t i o n   c o d e   a l o n g s i d e   r e l a t e d   c h a n g e s   s u c h   a s   d a t a b a s e   s c h e m a s   o r   e x t r a   c o n f i g u r a t i o n   s e t t i n g s p u b l i s h i n g   a   S e r v i c e   t o   a p p l i c a t i o n s   t h a t   d o n ' t   s u p p o r t   K u b e r n e t e s   A P I s   t o   d i s c o v e r   t h e m s i m u l a t i n g   f a i l u r e   i n   a l l   o r   p a r t   o f   y o u r   c l u s t e r   t o   t e s t   i t s   r e s i l i e n c e c h o o s i n g   a   l e a d e r   f o r   a   d i s t r i b u t e d   a p p l i c a t i o n   w i t h o u t   a n   i n t e r n a l   m e m b e r   e l e c t i o n   p r o c e s s   W h a t   m i g h t   a n   o p e r a t o r   l o o k   l i k e   i n   m o r e   d e t a i l ?   H e r e ' s   a n   e x a m p l e :   A   c u s t o m   r e s o u r c e   n a m e d   S a m p l e D B ,   t h a t   y o u   c a n   c o n f i g u r e   i n t o   t h e   c l u s t e r . A   D e p l o y m e n t   t h a t   m a k e s   s u r e   a   P o d   i s   r u n n i n g   t h a t   c o n t a i n s   t h e   c o n t r o l l e r   p a r t   o f   t h e   o p e r a t o r . A   c o n t a i n e r   i m a g e   o f   t h e   o p e r a t o r   c o d e . C o n t r o l l e r   c o d e   t h a t   q u e r i e s   t h e   c o n t r o l   p l a n e   t o   f i n d   o u t   w h a t   S a m p l e D B   r e s o u r c e s   a r e   c o n f i g u r e d . T h e   c o r e   o f   t h e   o p e r a t o r   i s   c o d e   t o   t e l l   t h e   A P I   s e r v e r   h o w   t o   m a k e   r e a l i t y   m a t c h   t h e   c o n f ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/operator/",
    "id": "k8s_00769_section_2_16653"
  },
  {
    "question": "What is Deploying operators?",
    "answer": "T h e   m o s t   c o m m o n   w a y   t o   d e p l o y   a n   o p e r a t o r   i s   t o   a d d   t h e   C u s t o m   R e s o u r c e   D e f i n i t i o n   a n d   i t s   a s s o c i a t e d   C o n t r o l l e r   t o   y o u r   c l u s t e r .   T h e   C o n t r o l l e r   w i l l   n o r m a l l y   r u n   o u t s i d e   o f   t h e   c o n t r o l   p l a n e ,   m u c h   a s   y o u   w o u l d   r u n   a n y   c o n t a i n e r i z e d   a p p l i c a t i o n .   F o r   e x a m p l e ,   y o u   c a n   r u n   t h e   c o n t r o l l e r   i n   y o u r   c l u s t e r   a s   a   D e p l o y m e n t .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/operator/",
    "id": "k8s_00769_section_2_16654"
  },
  {
    "question": "What is Using an operator?",
    "answer": "O n c e   y o u   h a v e   a n   o p e r a t o r   d e p l o y e d ,   y o u ' d   u s e   i t   b y   a d d i n g ,   m o d i f y i n g   o r   d e l e t i n g   t h e   k i n d   o f   r e s o u r c e   t h a t   t h e   o p e r a t o r   u s e s .   F o l l o w i n g   t h e   a b o v e   e x a m p l e ,   y o u   w o u l d   s e t   u p   a   D e p l o y m e n t   f o r   t h e   o p e r a t o r   i t s e l f ,   a n d   t h e n :   k u b e c t l   g e t   S a m p l e D B   #   f i n d   c o n f i g u r e d   d a t a b a s e s   k u b e c t l   e d i t   S a m p l e D B / e x a m p l e - d a t a b a s e   #   m a n u a l l y   c h a n g e   s o m e   s e t t i n g s   … a n d   t h a t ' s   i t !   T h e   o p e r a t o r   w i l l   t a k e   c a r e   o f   a p p l y i n g   t h e   c h a n g e s   a s   w e l l   a s   k e e p i n g   t h e   e x i s t i n g   s e r v i c e   i n   g o o d   s h a p e .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/operator/",
    "id": "k8s_00769_section_2_16655"
  },
  {
    "question": "What is Writing your own operator?",
    "answer": "I f   t h e r e   i s n ' t   a n   o p e r a t o r   i n   t h e   e c o s y s t e m   t h a t   i m p l e m e n t s   t h e   b e h a v i o r   y o u   w a n t ,   y o u   c a n   c o d e   y o u r   o w n .   Y o u   a l s o   i m p l e m e n t   a n   o p e r a t o r   ( t h a t   i s ,   a   C o n t r o l l e r )   u s i n g   a n y   l a n g u a g e   /   r u n t i m e   t h a t   c a n   a c t   a s   a   c l i e n t   f o r   t h e   K u b e r n e t e s   A P I .   F o l l o w i n g   a r e   a   f e w   l i b r a r i e s   a n d   t o o l s   y o u   c a n   u s e   t o   w r i t e   y o u r   o w n   c l o u d   n a t i v e   o p e r a t o r .   C h a r m e d   O p e r a t o r   F r a m e w o r k J a v a   O p e r a t o r   S D K K o p f   ( K u b e r n e t e s   O p e r a t o r   P y t h o n i c   F r a m e w o r k ) k u b e - r s   ( R u s t ) k u b e b u i l d e r K u b e O p s   ( . N E T   o p e r a t o r   S D K ) M a s t M e t a c o n t r o l l e r   a l o n g   w i t h   W e b H o o k s   t h a t   y o u   i m p l e m e n t   y o u r s e l f O p e r a t o r   F r a m e w o r k s h e l l - o p e r a t o r",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/operator/",
    "id": "k8s_00769_section_2_16656"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   t h e   C N C F   O p e r a t o r   W h i t e   P a p e r . L e a r n   m o r e   a b o u t   C u s t o m   R e s o u r c e s F i n d   r e a d y - m a d e   o p e r a t o r s   o n   O p e r a t o r H u b . i o   t o   s u i t   y o u r   u s e   c a s e P u b l i s h   y o u r   o p e r a t o r   f o r   o t h e r   p e o p l e   t o   u s e R e a d   C o r e O S '   o r i g i n a l   a r t i c l e   t h a t   i n t r o d u c e d   t h e   o p e r a t o r   p a t t e r n   ( t h i s   i s   a n   a r c h i v e d   v e r s i o n   o f   t h e   o r i g i n a l   a r t i c l e ) . R e a d   a n   a r t i c l e   f r o m   G o o g l e   C l o u d   a b o u t   b e s t   p r a c t i c e s   f o r   b u i l d i n g   o p e r a t o r s   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/extend-kubernetes/operator/",
    "id": "k8s_00769_section_2_16657"
  },
  {
    "question": "What is Configure a Security Context for a Pod or Container?",
    "answer": "Configure a Security Context for a Pod or ContainerA security context defines privilege and access control settings for a Pod or Container. Security context settings include, but are not limited to:Discretionary Access Control: Permission to access an object, like a file, is based on user ID (UID) and group ID (GID).Security Enhanced Linux (SELinux): Objects are assigned security labels.Running as privileged or unprivileged.Linux Capabilities: Give a process some privileges, but not all the privileges of the root user.AppArmor: Use program profiles to restrict the capabilities of individual programs.Seccomp: Filter a process's system calls.allowPrivilegeEscalation: Controls whether a process can gain more privileges than its parent process. This bool directly controls whether the no_new_privs flag gets set on the container process. allowPrivilegeEscalation is always true when the container:is run as privileged, orhas CAP_SYS_ADMINreadOnlyRootFilesystem: Mounts the container's root filesystem as read-only.The above bullets are not a complete set of security context settings -- please see SecurityContext for a comprehensive list.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Set the security context for a PodTo specify security settings for a Pod, include the securityContext field in the Pod specification. The securityContext field is a PodSecurityContext object. The security settings that you specify for a Pod apply to all Containers in the Pod. Here is a configuration file for a Pod that has a securityContext and an emptyDir volume:pods/security/security-context.yaml apiVersion: v1 kind: Pod metadata: name: security-context-demo spec: securityContext: runAsUser: 1000 runAsGroup: 3000 fsGroup: 2000 supplementalGroups: [4000] volumes: - name: sec-ctx-vol emptyDir: {} containers: - name: sec-ctx-demo image: busybox:1.28 command: [ \"sh\", \"-c\", \"sleep 1h\" ] volumeMounts: - name: sec-ctx-vol mountPath: /data/demo securityContext: allowPrivilegeEscalation: false In the configuration file, the runAsUser field specifies that for any Containers in the Pod, all processes run with user ID 1000. The runAsGroup field specifies the primary group ID of 3000 for all processes within any containers of the Pod. If this field is omitted, the primary group ID of the containers will be root(0). Any files created will also be owned by user 1000 and group 3000 when runAsGroup is specified. Since fsGroup field is specified, all processes of the container are also part of the supplementary group ID 2000. The owner for volume /data/demo and any ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
    "id": "k8s_00770_qa_16658"
  },
  {
    "question": "How does Configure a Security Context for a Pod or Container work?",
    "answer": "Configure a Security Context for a Pod or ContainerA security context defines privilege and access control settings for a Pod or Container. Security context settings include, but are not limited to:Discretionary Access Control: Permission to access an object, like a file, is based on user ID (UID) and group ID (GID).Security Enhanced Linux (SELinux): Objects are assigned security labels.Running as privileged or unprivileged.Linux Capabilities: Give a process some privileges, but not all the privileges of the root user.AppArmor: Use program profiles to restrict the capabilities of individual programs.Seccomp: Filter a process's system calls.allowPrivilegeEscalation: Controls whether a process can gain more privileges than its parent process. This bool directly controls whether the no_new_privs flag gets set on the container process. allowPrivilegeEscalation is always true when the container:is run as privileged, orhas CAP_SYS_ADMINreadOnlyRootFilesystem: Mounts the container's root filesystem as read-only.The above bullets are not a complete set of security context settings -- please see SecurityContext for a comprehensive list.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Set the security context for a PodTo specify security settings for a Pod, include the securityContext field in the Pod specification. The securityContext field is a PodSecurityContext object. The security settings that you specify for a Pod apply to all Containers in the Pod. Here is a configuration file for a Pod that has a securityContext and an emptyDir volume:pods/security/security-context.yaml apiVersion: v1 kind: Pod metadata: name: security-context-demo spec: securityContext: runAsUser: 1000 runAsGroup: 3000 fsGroup: 2000 supplementalGroups: [4000] volumes: - name: sec-ctx-vol emptyDir: {} containers: - name: sec-ctx-demo image: busybox:1.28 command: [ \"sh\", \"-c\", \"sleep 1h\" ] volumeMounts: - name: sec-ctx-vol mountPath: /data/demo securityContext: allowPrivilegeEscalation: false In the configuration file, the runAsUser field specifies that for any Containers in the Pod, all processes run with user ID 1000. The runAsGroup field specifies the primary group ID of 3000 for all processes within any containers of the Pod. If this field is omitted, the primary group ID of the containers will be root(0). Any files created will also be owned by user 1000 and group 3000 when runAsGroup is specified. Since fsGroup field is specified, all processes of the container are also part of the supplementary group ID 2000. The owner for volume /data/demo and any ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
    "id": "k8s_00770_qa_16659"
  },
  {
    "question": "When would you use Configure a Security Context for a Pod or Container?",
    "answer": "Configure a Security Context for a Pod or ContainerA security context defines privilege and access control settings for a Pod or Container. Security context settings include, but are not limited to:Discretionary Access Control: Permission to access an object, like a file, is based on user ID (UID) and group ID (GID).Security Enhanced Linux (SELinux): Objects are assigned security labels.Running as privileged or unprivileged.Linux Capabilities: Give a process some privileges, but not all the privileges of the root user.AppArmor: Use program profiles to restrict the capabilities of individual programs.Seccomp: Filter a process's system calls.allowPrivilegeEscalation: Controls whether a process can gain more privileges than its parent process. This bool directly controls whether the no_new_privs flag gets set on the container process. allowPrivilegeEscalation is always true when the container:is run as privileged, orhas CAP_SYS_ADMINreadOnlyRootFilesystem: Mounts the container's root filesystem as read-only.The above bullets are not a complete set of security context settings -- please see SecurityContext for a comprehensive list.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Set the security context for a PodTo specify security settings for a Pod, include the securityContext field in the Pod specification. The securityContext field is a PodSecurityContext object. The security settings that you specify for a Pod apply to all Containers in the Pod. Here is a configuration file for a Pod that has a securityContext and an emptyDir volume:pods/security/security-context.yaml apiVersion: v1 kind: Pod metadata: name: security-context-demo spec: securityContext: runAsUser: 1000 runAsGroup: 3000 fsGroup: 2000 supplementalGroups: [4000] volumes: - name: sec-ctx-vol emptyDir: {} containers: - name: sec-ctx-demo image: busybox:1.28 command: [ \"sh\", \"-c\", \"sleep 1h\" ] volumeMounts: - name: sec-ctx-vol mountPath: /data/demo securityContext: allowPrivilegeEscalation: false In the configuration file, the runAsUser field specifies that for any Containers in the Pod, all processes run with user ID 1000. The runAsGroup field specifies the primary group ID of 3000 for all processes within any containers of the Pod. If this field is omitted, the primary group ID of the containers will be root(0). Any files created will also be owned by user 1000 and group 3000 when runAsGroup is specified. Since fsGroup field is specified, all processes of the container are also part of the supplementary group ID 2000. The owner for volume /data/demo and any ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
    "id": "k8s_00770_qa_16660"
  },
  {
    "question": "What are the benefits of Configure a Security Context for a Pod or Container?",
    "answer": "Configure a Security Context for a Pod or ContainerA security context defines privilege and access control settings for a Pod or Container. Security context settings include, but are not limited to:Discretionary Access Control: Permission to access an object, like a file, is based on user ID (UID) and group ID (GID).Security Enhanced Linux (SELinux): Objects are assigned security labels.Running as privileged or unprivileged.Linux Capabilities: Give a process some privileges, but not all the privileges of the root user.AppArmor: Use program profiles to restrict the capabilities of individual programs.Seccomp: Filter a process's system calls.allowPrivilegeEscalation: Controls whether a process can gain more privileges than its parent process. This bool directly controls whether the no_new_privs flag gets set on the container process. allowPrivilegeEscalation is always true when the container:is run as privileged, orhas CAP_SYS_ADMINreadOnlyRootFilesystem: Mounts the container's root filesystem as read-only.The above bullets are not a complete set of security context settings -- please see SecurityContext for a comprehensive list.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Set the security context for a PodTo specify security settings for a Pod, include the securityContext field in the Pod specification. The securityContext field is a PodSecurityContext object. The security settings that you specify for a Pod apply to all Containers in the Pod. Here is a configuration file for a Pod that has a securityContext and an emptyDir volume:pods/security/security-context.yaml apiVersion: v1 kind: Pod metadata: name: security-context-demo spec: securityContext: runAsUser: 1000 runAsGroup: 3000 fsGroup: 2000 supplementalGroups: [4000] volumes: - name: sec-ctx-vol emptyDir: {} containers: - name: sec-ctx-demo image: busybox:1.28 command: [ \"sh\", \"-c\", \"sleep 1h\" ] volumeMounts: - name: sec-ctx-vol mountPath: /data/demo securityContext: allowPrivilegeEscalation: false In the configuration file, the runAsUser field specifies that for any Containers in the Pod, all processes run with user ID 1000. The runAsGroup field specifies the primary group ID of 3000 for all processes within any containers of the Pod. If this field is omitted, the primary group ID of the containers will be root(0). Any files created will also be owned by user 1000 and group 3000 when runAsGroup is specified. Since fsGroup field is specified, all processes of the container are also part of the supplementary group ID 2000. The owner for volume /data/demo and any ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
    "id": "k8s_00770_qa_16661"
  },
  {
    "question": "What is Configure a Security Context for a Pod or Container?",
    "answer": "A   s e c u r i t y   c o n t e x t   d e f i n e s   p r i v i l e g e   a n d   a c c e s s   c o n t r o l   s e t t i n g s   f o r   a   P o d   o r   C o n t a i n e r .   S e c u r i t y   c o n t e x t   s e t t i n g s   i n c l u d e ,   b u t   a r e   n o t   l i m i t e d   t o :   D i s c r e t i o n a r y   A c c e s s   C o n t r o l :   P e r m i s s i o n   t o   a c c e s s   a n   o b j e c t ,   l i k e   a   f i l e ,   i s   b a s e d   o n   u s e r   I D   ( U I D )   a n d   g r o u p   I D   ( G I D ) . S e c u r i t y   E n h a n c e d   L i n u x   ( S E L i n u x ) :   O b j e c t s   a r e   a s s i g n e d   s e c u r i t y   l a b e l s . R u n n i n g   a s   p r i v i l e g e d   o r   u n p r i v i l e g e d . L i n u x   C a p a b i l i t i e s :   G i v e   a   p r o c e s s   s o m e   p r i v i l e g e s ,   b u t   n o t   a l l   t h e   p r i v i l e g e s   o f   t h e   r o o t   u s e r . A p p A r m o r :   U s e   p r o g r a m   p r o f i l e s   t o   r e s t r i c t   t h e   c a p a b i l i t i e s   o f   i n d i v i d u a l   p r o g r a m s . S e c c o m p :   F i l t e r   a   p r o c e s s ' s   s y s t e m   c a l l s . a l l o w P r i v i l e g e E s c a l a t i o n :   C o n t r o l s   w h e t h e r   a   p r o c e s s   c a n   g a i n   m o r e   p r i v i l e g e s   t h a n   i t s   p a r e n t   p r o c e s s .   T h i s   b o o l   d i r e c t l y   c o n t r o l s   w h e t h e r   t h e   n o _ n e w _ p r i v s   f l a g   g e t s   s e t   o n   t h e   c o n t a i n e r   p r o c e s s .   a l l o w P r i v i l e g e E s c a l a t i o n   i s   a l w a y s   t r u e   w h e n   t h e   c o n t a i n e r : i s   r u n   a s   p r i v i l e g e d ,   o r h a s   C A P _ S Y S _ A D M I N r e a d O n l y R o o t F i l e s y s t e m :   M o u n t s   t h e   c o n t a i n e r ' s   r o o t   f i l e s y s t e m   a s   r e a d - o n l y .   D i s c r e t i o n a r y   A c c e s s   C o n t r o l : ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
    "id": "k8s_00770_section_1_16662"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
    "id": "k8s_00770_section_2_16663"
  },
  {
    "question": "What is Set the security context for a Pod?",
    "answer": "T o   s p e c i f y   s e c u r i t y   s e t t i n g s   f o r   a   P o d ,   i n c l u d e   t h e   s e c u r i t y C o n t e x t   f i e l d   i n   t h e   P o d   s p e c i f i c a t i o n .   T h e   s e c u r i t y C o n t e x t   f i e l d   i s   a   P o d S e c u r i t y C o n t e x t   o b j e c t .   T h e   s e c u r i t y   s e t t i n g s   t h a t   y o u   s p e c i f y   f o r   a   P o d   a p p l y   t o   a l l   C o n t a i n e r s   i n   t h e   P o d .   H e r e   i s   a   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   h a s   a   s e c u r i t y C o n t e x t   a n d   a n   e m p t y D i r   v o l u m e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s e c u r i t y - c o n t e x t - d e m o   s p e c :   s e c u r i t y C o n t e x t :   r u n A s U s e r :   1 0 0 0   r u n A s G r o u p :   3 0 0 0   f s G r o u p :   2 0 0 0   s u p p l e m e n t a l G r o u p s :   [ 4 0 0 0 ]   v o l u m e s :   -   n a m e :   s e c - c t x - v o l   e m p t y D i r :   { }   c o n t a i n e r s :   -   n a m e :   s e c - c t x - d e m o   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [   \" s h \" ,   \" - c \" ,   \" s l e e p   1 h \"   ]   v o l u m e M o u n t s :   -   n a m e :   s e c - c t x - v o l   m o u n t P a t h :   / d a t a / d e m o   s e c u r i t y C o n t e x t :   a l l o w P r i v i l e g e E s c a l a t i o n :   f a l s e   I n   t h e   c o n f i g u r a t i o n   f i l e ,   t h e   r u n A s U s e r   f i e l d   s p e c i f i e s   t h a t   f o r   a n y   C o n t a i n e r s   i n   t h e   P o d ,   a l l   p r o c e s s e s   r u n   w i t h   u s e r   I D   1 0 0 0 .   T h e   r u n A s G r o u p   f i e l d   s p e c i f i e s   t h e   p r i m a r y   g r o u p   I D   o f   3 0 0 0   f o r   a l l   p r o c e s s e s   w i t h i n   a n y   c o n t a i n e r s   o f   t h e   P o d .   I f   t h i s   f i e l d   i s   o m i t t e d ,   t h e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
    "id": "k8s_00770_section_2_16664"
  },
  {
    "question": "What is Implicit group memberships defined in /etc/group in the container image?",
    "answer": "B y   d e f a u l t ,   k u b e r n e t e s   m e r g e s   g r o u p   i n f o r m a t i o n   f r o m   t h e   P o d   w i t h   i n f o r m a t i o n   d e f i n e d   i n   / e t c / g r o u p   i n   t h e   c o n t a i n e r   i m a g e .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s e c u r i t y - c o n t e x t - d e m o   s p e c :   s e c u r i t y C o n t e x t :   r u n A s U s e r :   1 0 0 0   r u n A s G r o u p :   3 0 0 0   s u p p l e m e n t a l G r o u p s :   [ 4 0 0 0 ]   c o n t a i n e r s :   -   n a m e :   s e c - c t x - d e m o   i m a g e :   r e g i s t r y . k 8 s . i o / e 2 e - t e s t - i m a g e s / a g n h o s t : 2 . 4 5   c o m m a n d :   [   \" s h \" ,   \" - c \" ,   \" s l e e p   1 h \"   ]   s e c u r i t y C o n t e x t :   a l l o w P r i v i l e g e E s c a l a t i o n :   f a l s e   T h i s   P o d   s e c u r i t y   c o n t e x t   c o n t a i n s   r u n A s U s e r ,   r u n A s G r o u p   a n d   s u p p l e m e n t a l G r o u p s .   H o w e v e r ,   y o u   c a n   s e e   t h a t   t h e   a c t u a l   s u p p l e m e n t a r y   g r o u p s   a t t a c h e d   t o   t h e   c o n t a i n e r   p r o c e s s   w i l l   i n c l u d e   g r o u p   I D s   w h i c h   c o m e   f r o m   / e t c / g r o u p   i n   t h e   c o n t a i n e r   i m a g e .   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s e c u r i t y / s e c u r i t y - c o n t e x t - 5 . y a m l   V e r i f y   t h a t   t h e   P o d ' s   C o n t a i n e r   i s   r u n n i n g :   k u b e c t l   g e t   p o d   s e c u r i t y - c o n t e x t - d e m o   G e t   a   s h e l l   t o   t h e   r u n n i n g   C o n t a i n e r :   k u b e c t l   e x e c   - i t   s e c u r i t y - c o n t e x t - d e m o   - -   s h   C h e c k   t h e   p r o c e s s   i d e n t i t y :   $   i d   T h e   o u t p u t   i s   s i m i l a ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
    "id": "k8s_00770_section_3_16665"
  },
  {
    "question": "What is Configure fine-grained SupplementalGroups control for a Pod?",
    "answer": "T h i s   f e a t u r e   c a n   b e   e n a b l e d   b y   s e t t i n g   t h e   S u p p l e m e n t a l G r o u p s P o l i c y   f e a t u r e   g a t e   f o r   k u b e l e t   a n d   k u b e - a p i s e r v e r ,   a n d   s e t t i n g   t h e   . s p e c . s e c u r i t y C o n t e x t . s u p p l e m e n t a l G r o u p s P o l i c y   f i e l d   f o r   a   p o d .   T h e   s u p p l e m e n t a l G r o u p s P o l i c y   f i e l d   d e f i n e s   t h e   p o l i c y   f o r   c a l c u l a t i n g   t h e   s u p p l e m e n t a r y   g r o u p s   f o r   t h e   c o n t a i n e r   p r o c e s s e s   i n   a   p o d .   T h e r e   a r e   t w o   v a l i d   v a l u e s   f o r   t h i s   f i e l d :   M e r g e :   T h e   g r o u p   m e m b e r s h i p   d e f i n e d   i n   / e t c / g r o u p   f o r   t h e   c o n t a i n e r ' s   p r i m a r y   u s e r   w i l l   b e   m e r g e d .   T h i s   i s   t h e   d e f a u l t   p o l i c y   i f   n o t   s p e c i f i e d . S t r i c t :   O n l y   g r o u p   I D s   i n   f s G r o u p ,   s u p p l e m e n t a l G r o u p s ,   o r   r u n A s G r o u p   f i e l d s   a r e   a t t a c h e d   a s   t h e   s u p p l e m e n t a r y   g r o u p s   o f   t h e   c o n t a i n e r   p r o c e s s e s .   T h i s   m e a n s   n o   g r o u p   m e m b e r s h i p   f r o m   / e t c / g r o u p   f o r   t h e   c o n t a i n e r ' s   p r i m a r y   u s e r   w i l l   b e   m e r g e d .   M e r g e :   T h e   g r o u p   m e m b e r s h i p   d e f i n e d   i n   / e t c / g r o u p   f o r   t h e   c o n t a i n e r ' s   p r i m a r y   u s e r   w i l l   b e   m e r g e d .   T h i s   i s   t h e   d e f a u l t   p o l i c y   i f   n o t   s p e c i f i e d .   S t r i c t :   O n l y   g r o u p   I D s   i n   f s G r o u p ,   s u p p l e m e n t a l G r o u p s ,   o r   r u n A s G r o u p   f i e l d s   a r e   a t t a c h e d   a s   t h e   s u p p l e m ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
    "id": "k8s_00770_section_2_16666"
  },
  {
    "question": "What is Implementations?",
    "answer": "T h e   f o l l o w i n g   c o n t a i n e r   r u n t i m e s   a r e   k n o w n   t o   s u p p o r t   f i n e - g r a i n e d   S u p p l e m e n t a l G r o u p s   c o n t r o l .   C R I - l e v e l :   c o n t a i n e r d ,   s i n c e   v 2 . 0 C R I - O ,   s i n c e   v 1 . 3 1   Y o u   c a n   s e e   i f   t h e   f e a t u r e   i s   s u p p o r t e d   i n   t h e   N o d e   s t a t u s .   a p i V e r s i o n :   v 1   k i n d :   N o d e   . . .   s t a t u s :   f e a t u r e s :   s u p p l e m e n t a l G r o u p s P o l i c y :   t r u e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
    "id": "k8s_00770_section_3_16667"
  },
  {
    "question": "What is Note:?",
    "answer": "A t   t h i s   a l p h a   r e l e a s e ( f r o m   v 1 . 3 1   t o   v 1 . 3 2 ) ,   w h e n   a   p o d   w i t h   S u p p l e m e n t a l G r o u p s P o l i c y = S t r i c t   a r e   s c h e d u l e d   t o   a   n o d e   t h a t   d o e s   N O T   s u p p o r t   t h i s   f e a t u r e ( i . e .   . s t a t u s . f e a t u r e s . s u p p l e m e n t a l G r o u p s P o l i c y = f a l s e ) ,   t h e   p o d ' s   s u p p l e m e n t a l   g r o u p s   p o l i c y   f a l l s   b a c k   t o   t h e   M e r g e   p o l i c y   s i l e n t l y .   H o w e v e r ,   s i n c e   t h e   b e t a   r e l e a s e   ( v 1 . 3 3 ) ,   t o   e n f o r c e   t h e   p o l i c y   m o r e   s t r i c t l y ,   s u c h   p o d   c r e a t i o n   w i l l   b e   r e j e c t e d   b y   k u b e l e t   b e c a u s e   t h e   n o d e   c a n n o t   e n s u r e   t h e   s p e c i f i e d   p o l i c y .   W h e n   y o u r   p o d   i s   r e j e c t e d ,   y o u   w i l l   s e e   w a r n i n g   e v e n t s   w i t h   r e a s o n = S u p p l e m e n t a l G r o u p s P o l i c y N o t S u p p o r t e d   l i k e   b e l o w :   a p i V e r s i o n :   v 1   k i n d :   E v e n t   . . .   t y p e :   W a r n i n g   r e a s o n :   S u p p l e m e n t a l G r o u p s P o l i c y N o t S u p p o r t e d   m e s s a g e :   \" S u p p l e m e n t a l G r o u p s P o l i c y = S t r i c t   i s   n o t   s u p p o r t e d   i n   t h i s   n o d e \"   i n v o l v e d O b j e c t :   a p i V e r s i o n :   v 1   k i n d :   P o d   . . .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
    "id": "k8s_00770_section_4_16668"
  },
  {
    "question": "What is Configure volume permission and ownership change policy for Pods?",
    "answer": "B y   d e f a u l t ,   K u b e r n e t e s   r e c u r s i v e l y   c h a n g e s   o w n e r s h i p   a n d   p e r m i s s i o n s   f o r   t h e   c o n t e n t s   o f   e a c h   v o l u m e   t o   m a t c h   t h e   f s G r o u p   s p e c i f i e d   i n   a   P o d ' s   s e c u r i t y C o n t e x t   w h e n   t h a t   v o l u m e   i s   m o u n t e d .   F o r   l a r g e   v o l u m e s ,   c h e c k i n g   a n d   c h a n g i n g   o w n e r s h i p   a n d   p e r m i s s i o n s   c a n   t a k e   a   l o t   o f   t i m e ,   s l o w i n g   P o d   s t a r t u p .   Y o u   c a n   u s e   t h e   f s G r o u p C h a n g e P o l i c y   f i e l d   i n s i d e   a   s e c u r i t y C o n t e x t   t o   c o n t r o l   t h e   w a y   t h a t   K u b e r n e t e s   c h e c k s   a n d   m a n a g e s   o w n e r s h i p   a n d   p e r m i s s i o n s   f o r   a   v o l u m e .   f s G r o u p C h a n g e P o l i c y   -   f s G r o u p C h a n g e P o l i c y   d e f i n e s   b e h a v i o r   f o r   c h a n g i n g   o w n e r s h i p   a n d   p e r m i s s i o n   o f   t h e   v o l u m e   b e f o r e   b e i n g   e x p o s e d   i n s i d e   a   P o d .   T h i s   f i e l d   o n l y   a p p l i e s   t o   v o l u m e   t y p e s   t h a t   s u p p o r t   f s G r o u p   c o n t r o l l e d   o w n e r s h i p   a n d   p e r m i s s i o n s .   T h i s   f i e l d   h a s   t w o   p o s s i b l e   v a l u e s :   O n R o o t M i s m a t c h :   O n l y   c h a n g e   p e r m i s s i o n s   a n d   o w n e r s h i p   i f   t h e   p e r m i s s i o n   a n d   t h e   o w n e r s h i p   o f   r o o t   d i r e c t o r y   d o e s   n o t   m a t c h   w i t h   e x p e c t e d   p e r m i s s i o n s   o f   t h e   v o l u m e .   T h i s   c o u l d   h e l p   s h o r t e n   t h e   t i m e   i t   t a k e s   t o   c h a n g e   o w n e r s h i p   a n d   p e r m i s s i o n   o f   a   v o l u m e . A l w a y ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
    "id": "k8s_00770_section_2_16669"
  },
  {
    "question": "What is Delegating volume permission and ownership change to CSI driver?",
    "answer": "I f   y o u   d e p l o y   a   C o n t a i n e r   S t o r a g e   I n t e r f a c e   ( C S I )   d r i v e r   w h i c h   s u p p o r t s   t h e   V O L U M E _ M O U N T _ G R O U P   N o d e S e r v i c e C a p a b i l i t y ,   t h e   p r o c e s s   o f   s e t t i n g   f i l e   o w n e r s h i p   a n d   p e r m i s s i o n s   b a s e d   o n   t h e   f s G r o u p   s p e c i f i e d   i n   t h e   s e c u r i t y C o n t e x t   w i l l   b e   p e r f o r m e d   b y   t h e   C S I   d r i v e r   i n s t e a d   o f   K u b e r n e t e s .   I n   t h i s   c a s e ,   s i n c e   K u b e r n e t e s   d o e s n ' t   p e r f o r m   a n y   o w n e r s h i p   a n d   p e r m i s s i o n   c h a n g e ,   f s G r o u p C h a n g e P o l i c y   d o e s   n o t   t a k e   e f f e c t ,   a n d   a s   s p e c i f i e d   b y   C S I ,   t h e   d r i v e r   i s   e x p e c t e d   t o   m o u n t   t h e   v o l u m e   w i t h   t h e   p r o v i d e d   f s G r o u p ,   r e s u l t i n g   i n   a   v o l u m e   t h a t   i s   r e a d a b l e / w r i t a b l e   b y   t h e   f s G r o u p .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
    "id": "k8s_00770_section_2_16670"
  },
  {
    "question": "What is Set the security context for a Container?",
    "answer": "T o   s p e c i f y   s e c u r i t y   s e t t i n g s   f o r   a   C o n t a i n e r ,   i n c l u d e   t h e   s e c u r i t y C o n t e x t   f i e l d   i n   t h e   C o n t a i n e r   m a n i f e s t .   T h e   s e c u r i t y C o n t e x t   f i e l d   i s   a   S e c u r i t y C o n t e x t   o b j e c t .   S e c u r i t y   s e t t i n g s   t h a t   y o u   s p e c i f y   f o r   a   C o n t a i n e r   a p p l y   o n l y   t o   t h e   i n d i v i d u a l   C o n t a i n e r ,   a n d   t h e y   o v e r r i d e   s e t t i n g s   m a d e   a t   t h e   P o d   l e v e l   w h e n   t h e r e   i s   o v e r l a p .   C o n t a i n e r   s e t t i n g s   d o   n o t   a f f e c t   t h e   P o d ' s   V o l u m e s .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   B o t h   t h e   P o d   a n d   t h e   C o n t a i n e r   h a v e   a   s e c u r i t y C o n t e x t   f i e l d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s e c u r i t y - c o n t e x t - d e m o - 2   s p e c :   s e c u r i t y C o n t e x t :   r u n A s U s e r :   1 0 0 0   c o n t a i n e r s :   -   n a m e :   s e c - c t x - d e m o - 2   i m a g e :   g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 2 . 0   s e c u r i t y C o n t e x t :   r u n A s U s e r :   2 0 0 0   a l l o w P r i v i l e g e E s c a l a t i o n :   f a l s e   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s e c u r i t y / s e c u r i t y - c o n t e x t - 2 . y a m l   V e r i f y   t h a t   t h e   P o d ' s   C o n t a i n e r   i s   r u n n i n g :   k u b e c t l   g e t   p o d   s e c u r i t y - c o n t e x t - d e m o - 2   G e t   a   s h e l l   i n t o   t h e   r u n n i n g   C o n t a i n e r :   k u b e c t l   e x e c   - i t   s e c u r i t y - c o n t e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
    "id": "k8s_00770_section_2_16671"
  },
  {
    "question": "What is Set capabilities for a Container?",
    "answer": "W i t h   L i n u x   c a p a b i l i t i e s ,   y o u   c a n   g r a n t   c e r t a i n   p r i v i l e g e s   t o   a   p r o c e s s   w i t h o u t   g r a n t i n g   a l l   t h e   p r i v i l e g e s   o f   t h e   r o o t   u s e r .   T o   a d d   o r   r e m o v e   L i n u x   c a p a b i l i t i e s   f o r   a   C o n t a i n e r ,   i n c l u d e   t h e   c a p a b i l i t i e s   f i e l d   i n   t h e   s e c u r i t y C o n t e x t   s e c t i o n   o f   t h e   C o n t a i n e r   m a n i f e s t .   F i r s t ,   s e e   w h a t   h a p p e n s   w h e n   y o u   d o n ' t   i n c l u d e   a   c a p a b i l i t i e s   f i e l d .   H e r e   i s   c o n f i g u r a t i o n   f i l e   t h a t   d o e s   n o t   a d d   o r   r e m o v e   a n y   C o n t a i n e r   c a p a b i l i t i e s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s e c u r i t y - c o n t e x t - d e m o - 3   s p e c :   c o n t a i n e r s :   -   n a m e :   s e c - c t x - 3   i m a g e :   g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 2 . 0   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s e c u r i t y / s e c u r i t y - c o n t e x t - 3 . y a m l   V e r i f y   t h a t   t h e   P o d ' s   C o n t a i n e r   i s   r u n n i n g :   k u b e c t l   g e t   p o d   s e c u r i t y - c o n t e x t - d e m o - 3   G e t   a   s h e l l   i n t o   t h e   r u n n i n g   C o n t a i n e r :   k u b e c t l   e x e c   - i t   s e c u r i t y - c o n t e x t - d e m o - 3   - -   s h   I n   y o u r   s h e l l ,   l i s t   t h e   r u n n i n g   p r o c e s s e s :   p s   a u x   T h e   o u t p u t   s h o w s   t h e   p r o c e s s   I D s   ( P I D s )   f o r   t h e   C o n t a i n e r :   U S E R   P I D   % C P U   % M E M   V S Z   R S S   T T Y   S T A T   S T A R T   T I M E   C O M M A N D   r o o t   1   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
    "id": "k8s_00770_section_2_16672"
  },
  {
    "question": "What is Set the Seccomp Profile for a Container?",
    "answer": "T o   s e t   t h e   S e c c o m p   p r o f i l e   f o r   a   C o n t a i n e r ,   i n c l u d e   t h e   s e c c o m p P r o f i l e   f i e l d   i n   t h e   s e c u r i t y C o n t e x t   s e c t i o n   o f   y o u r   P o d   o r   C o n t a i n e r   m a n i f e s t .   T h e   s e c c o m p P r o f i l e   f i e l d   i s   a   S e c c o m p P r o f i l e   o b j e c t   c o n s i s t i n g   o f   t y p e   a n d   l o c a l h o s t P r o f i l e .   V a l i d   o p t i o n s   f o r   t y p e   i n c l u d e   R u n t i m e D e f a u l t ,   U n c o n f i n e d ,   a n d   L o c a l h o s t .   l o c a l h o s t P r o f i l e   m u s t   o n l y   b e   s e t   i f   t y p e :   L o c a l h o s t .   I t   i n d i c a t e s   t h e   p a t h   o f   t h e   p r e - c o n f i g u r e d   p r o f i l e   o n   t h e   n o d e ,   r e l a t i v e   t o   t h e   k u b e l e t ' s   c o n f i g u r e d   S e c c o m p   p r o f i l e   l o c a t i o n   ( c o n f i g u r e d   w i t h   t h e   - - r o o t - d i r   f l a g ) .   H e r e   i s   a n   e x a m p l e   t h a t   s e t s   t h e   S e c c o m p   p r o f i l e   t o   t h e   n o d e ' s   c o n t a i n e r   r u n t i m e   d e f a u l t   p r o f i l e :   . . .   s e c u r i t y C o n t e x t :   s e c c o m p P r o f i l e :   t y p e :   R u n t i m e D e f a u l t   H e r e   i s   a n   e x a m p l e   t h a t   s e t s   t h e   S e c c o m p   p r o f i l e   t o   a   p r e - c o n f i g u r e d   f i l e   a t   < k u b e l e t - r o o t - d i r > / s e c c o m p / m y - p r o f i l e s / p r o f i l e - a l l o w . j s o n :   . . .   s e c u r i t y C o n t e x t :   s e c c o m p P r o f i l e :   t y p e :   L o c a l h o s t   l o c a l h o s t P r o f i l e :   m y - p r o f i l e s / p r o f i l e - a l l o w . j s o n",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
    "id": "k8s_00770_section_2_16673"
  },
  {
    "question": "What is Set the AppArmor Profile for a Container?",
    "answer": "T o   s e t   t h e   A p p A r m o r   p r o f i l e   f o r   a   C o n t a i n e r ,   i n c l u d e   t h e   a p p A r m o r P r o f i l e   f i e l d   i n   t h e   s e c u r i t y C o n t e x t   s e c t i o n   o f   y o u r   C o n t a i n e r .   T h e   a p p A r m o r P r o f i l e   f i e l d   i s   a   A p p A r m o r P r o f i l e   o b j e c t   c o n s i s t i n g   o f   t y p e   a n d   l o c a l h o s t P r o f i l e .   V a l i d   o p t i o n s   f o r   t y p e   i n c l u d e   R u n t i m e D e f a u l t ( d e f a u l t ) ,   U n c o n f i n e d ,   a n d   L o c a l h o s t .   l o c a l h o s t P r o f i l e   m u s t   o n l y   b e   s e t   i f   t y p e   i s   L o c a l h o s t .   I t   i n d i c a t e s   t h e   n a m e   o f   t h e   p r e - c o n f i g u r e d   p r o f i l e   o n   t h e   n o d e .   T h e   p r o f i l e   n e e d s   t o   b e   l o a d e d   o n t o   a l l   n o d e s   s u i t a b l e   f o r   t h e   P o d ,   s i n c e   y o u   d o n ' t   k n o w   w h e r e   t h e   p o d   w i l l   b e   s c h e d u l e d .   A p p r o a c h e s   f o r   s e t t i n g   u p   c u s t o m   p r o f i l e s   a r e   d i s c u s s e d   i n   S e t t i n g   u p   n o d e s   w i t h   p r o f i l e s .   N o t e :   I f   c o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . a p p A r m o r P r o f i l e . t y p e   i s   e x p l i c i t l y   s e t   t o   R u n t i m e D e f a u l t ,   t h e n   t h e   P o d   w i l l   n o t   b e   a d m i t t e d   i f   A p p A r m o r   i s   n o t   e n a b l e d   o n   t h e   N o d e .   H o w e v e r   i f   c o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . a p p A r m o r P r o f i l e . t y p e   i s   n o t   s p e c i f i e d ,   t h e n   t h e   d e f a u l t   ( w h i c h   i s   a l s o   R u n t i m e D e f a u l t )   w i l l   o n l y   b e   a p p l i e d   i f   t h e   n o d e   h a s   A p p A r m o r   e n a b l e d .   I f   t h ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
    "id": "k8s_00770_section_2_16674"
  },
  {
    "question": "What is Assign SELinux labels to a Container?",
    "answer": "T o   a s s i g n   S E L i n u x   l a b e l s   t o   a   C o n t a i n e r ,   i n c l u d e   t h e   s e L i n u x O p t i o n s   f i e l d   i n   t h e   s e c u r i t y C o n t e x t   s e c t i o n   o f   y o u r   P o d   o r   C o n t a i n e r   m a n i f e s t .   T h e   s e L i n u x O p t i o n s   f i e l d   i s   a n   S E L i n u x O p t i o n s   o b j e c t .   H e r e ' s   a n   e x a m p l e   t h a t   a p p l i e s   a n   S E L i n u x   l e v e l :   . . .   s e c u r i t y C o n t e x t :   s e L i n u x O p t i o n s :   l e v e l :   \" s 0 : c 1 2 3 , c 4 5 6 \"",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
    "id": "k8s_00770_section_2_16675"
  },
  {
    "question": "What is Note:?",
    "answer": "K u b e r n e t e s   v 1 . 2 7   i n t r o d u c e d   a n   e a r l y   l i m i t e d   f o r m   o f   t h i s   b e h a v i o r   t h a t   w a s   o n l y   a p p l i c a b l e   t o   v o l u m e s   ( a n d   P e r s i s t e n t V o l u m e C l a i m s )   u s i n g   t h e   R e a d W r i t e O n c e P o d   a c c e s s   m o d e .   K u b e r n e t e s   v 1 . 3 3   p r o m o t e s   S E L i n u x C h a n g e P o l i c y   a n d   S E L i n u x M o u n t   f e a t u r e   g a t e s   a s   b e t a   t o   w i d e n   t h a t   p e r f o r m a n c e   i m p r o v e m e n t   t o   o t h e r   k i n d s   o f   P e r s i s t e n t V o l u m e C l a i m s ,   a s   e x p l a i n e d   i n   d e t a i l   b e l o w .   W h i l e   i n   b e t a ,   S E L i n u x M o u n t   i s   s t i l l   d i s a b l e d   b y   d e f a u l t .   W i t h   S E L i n u x M o u n t   f e a t u r e   g a t e   d i s a b l e d   ( t h e   d e f a u l t   i n   K u b e r n e t e s   1 . 3 3   a n d   a n y   p r e v i o u s   r e l e a s e ) ,   t h e   c o n t a i n e r   r u n t i m e   r e c u r s i v e l y   a s s i g n s   S E L i n u x   l a b e l   t o   a l l   f i l e s   o n   a l l   P o d   v o l u m e s   b y   d e f a u l t .   T o   s p e e d   u p   t h i s   p r o c e s s ,   K u b e r n e t e s   c a n   c h a n g e   t h e   S E L i n u x   l a b e l   o f   a   v o l u m e   i n s t a n t l y   b y   u s i n g   a   m o u n t   o p t i o n   - o   c o n t e x t = < l a b e l > .   T o   b e n e f i t   f r o m   t h i s   s p e e d u p ,   a l l   t h e s e   c o n d i t i o n s   m u s t   b e   m e t :   T h e   f e a t u r e   g a t e   S E L i n u x M o u n t R e a d W r i t e O n c e P o d   m u s t   b e   e n a b l e d . P o d   m u s t   u s e   P e r s i s t e n t V o l u m e C l a i m   w i t h   a p p l i c a b l e   a c c e s s M o d e s   a n d   f e a t u r e   g a t e s : E i t h e r   t h e   v o l u m e   h a s   a c c e s s M o d e s :   [ \" ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
    "id": "k8s_00770_section_4_16676"
  },
  {
    "question": "What is SELinuxWarningController?",
    "answer": "T o   m a k e   i t   e a s i e r   t o   i d e n t i f y   P o d s   t h a t   a r e   a f f e c t e d   b y   t h e   c h a n g e   i n   S E L i n u x   v o l u m e   r e l a b e l i n g ,   a   n e w   c o n t r o l l e r   c a l l e d   S E L i n u x W a r n i n g C o n t r o l l e r   h a s   b e e n   i n t r o d u c e d   i n   k u b e - c o n t r o l l e r - m a n a g e r .   I t   i s   d i s a b l e d   b y   d e f a u l t   a n d   c a n   b e   e n a b l e d   b y   e i t h e r   s e t t i n g   t h e   - - c o n t r o l l e r s = * , s e l i n u x - w a r n i n g - c o n t r o l l e r   c o m m a n d   l i n e   f l a g ,   o r   b y   s e t t i n g   g e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n . c o n t r o l l e r s   f i e l d   i n   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n .   T h i s   c o n t r o l l e r   r e q u i r e s   S E L i n u x C h a n g e P o l i c y   f e a t u r e   g a t e   t o   b e   e n a b l e d .   W h e n   e n a b l e d ,   t h e   c o n t r o l l e r   o b s e r v e s   r u n n i n g   P o d s   a n d   w h e n   i t   d e t e c t s   t h a t   t w o   P o d s   u s e   t h e   s a m e   v o l u m e   w i t h   d i f f e r e n t   S E L i n u x   l a b e l s :   I t   e m i t s   a n   e v e n t   t o   b o t h   o f   t h e   P o d s .   k u b e c t l   d e s c r i b e   p o d   < p o d - n a m e >   t h e   s h o w s   S E L i n u x L a b e l   \" < l a b e l   o n   t h e   p o d > \"   c o n f l i c t s   w i t h   p o d   < t h e   o t h e r   p o d   n a m e >   t h a t   u s e s   t h e   s a m e   v o l u m e   a s   t h i s   p o d   w i t h   S E L i n u x L a b e l   \" < t h e   o t h e r   p o d   l a b e l > \" .   I f   b o t h   p o d s   l a n d   o n   t h e   s a m e   n o d e ,   o n l y   o n e   o f   t h e m   m a y   a c c e s s   t h e   v o l u m e . R a i s e   s e l i n u x _ w a r n i n g _ c o n t r o l l e r _ s e l i n u x _ v o l u m e _ ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
    "id": "k8s_00770_section_4_16677"
  },
  {
    "question": "What is Feature gates?",
    "answer": "T h e   f o l l o w i n g   f e a t u r e   g a t e s   c o n t r o l   t h e   b e h a v i o r   o f   S E L i n u x   v o l u m e   r e l a b e l i n g :   S E L i n u x M o u n t R e a d W r i t e O n c e P o d :   e n a b l e s   t h e   o p t i m i z a t i o n   f o r   v o l u m e s   w i t h   a c c e s s M o d e s :   [ \" R e a d W r i t e O n c e P o d \" ] .   T h i s   i s   a   v e r y   s a f e   f e a t u r e   g a t e   t o   e n a b l e ,   a s   i t   c a n n o t   h a p p e n   t h a t   t w o   p o d s   c a n   s h a r e   o n e   s i n g l e   v o l u m e   w i t h   t h i s   a c c e s s   m o d e .   T h i s   f e a t u r e   g a t e   i s   e n a b l e d   b y   d e f a u l t   s i n e   v 1 . 2 8 . S E L i n u x C h a n g e P o l i c y :   e n a b l e s   s p e c . s e c u r i t y C o n t e x t . s e L i n u x C h a n g e P o l i c y   f i e l d   i n   P o d   a n d   r e l a t e d   S E L i n u x W a r n i n g C o n t r o l l e r   i n   k u b e - c o n t r o l l e r - m a n a g e r .   T h i s   f e a t u r e   c a n   b e   u s e d   b e f o r e   e n a b l i n g   S E L i n u x M o u n t   t o   c h e c k   P o d s   r u n n i n g   o n   a   c l u s t e r ,   a n d   t o   p r o - a c t i v e l y   o p t - o u t   P o d s   f r o m   t h e   o p t i m i z a t i o n .   T h i s   f e a t u r e   g a t e   r e q u i r e s   S E L i n u x M o u n t R e a d W r i t e O n c e P o d   e n a b l e d .   I t   i s   b e t a   a n d   e n a b l e d   b y   d e f a u l t   i n   1 . 3 3 . S E L i n u x M o u n t   e n a b l e s   t h e   o p t i m i z a t i o n   f o r   a l l   e l i g i b l e   v o l u m e s .   S i n c e   i t   c a n   b r e a k   e x i s t i n g   w o r k l o a d s ,   w e   r e c o m m e n d   e n a b l i n g   S E L i n u x C h a n g e P o l i c y   f e a t u r e   g a t e   +   S E L i n u x W a r n i n g C o n t r o l l e r   f i r s t   t o   c h e c k   t h e   i m p a c t   o f   t h e   c h a n g e .   T h i s   f e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
    "id": "k8s_00770_section_4_16678"
  },
  {
    "question": "What is Managing access to the /proc filesystem?",
    "answer": "F o r   r u n t i m e s   t h a t   f o l l o w   t h e   O C I   r u n t i m e   s p e c i f i c a t i o n ,   c o n t a i n e r s   d e f a u l t   t o   r u n n i n g   i n   a   m o d e   w h e r e   t h e r e   a r e   m u l t i p l e   p a t h s   t h a t   a r e   b o t h   m a s k e d   a n d   r e a d - o n l y .   T h e   r e s u l t   o f   t h i s   i s   t h e   c o n t a i n e r   h a s   t h e s e   p a t h s   p r e s e n t   i n s i d e   t h e   c o n t a i n e r ' s   m o u n t   n a m e s p a c e ,   a n d   t h e y   c a n   f u n c t i o n   s i m i l a r l y   t o   i f   t h e   c o n t a i n e r   w a s   a n   i s o l a t e d   h o s t ,   b u t   t h e   c o n t a i n e r   p r o c e s s   c a n n o t   w r i t e   t o   t h e m .   T h e   l i s t   o f   m a s k e d   a n d   r e a d - o n l y   p a t h s   a r e   a s   f o l l o w s :   M a s k e d   P a t h s : / p r o c / a s o u n d / p r o c / a c p i / p r o c / k c o r e / p r o c / k e y s / p r o c / l a t e n c y _ s t a t s / p r o c / t i m e r _ l i s t / p r o c / t i m e r _ s t a t s / p r o c / s c h e d _ d e b u g / p r o c / s c s i / s y s / f i r m w a r e / s y s / d e v i c e s / v i r t u a l / p o w e r c a p R e a d - O n l y   P a t h s : / p r o c / b u s / p r o c / f s / p r o c / i r q / p r o c / s y s / p r o c / s y s r q - t r i g g e r   M a s k e d   P a t h s :   / p r o c / a s o u n d / p r o c / a c p i / p r o c / k c o r e / p r o c / k e y s / p r o c / l a t e n c y _ s t a t s / p r o c / t i m e r _ l i s t / p r o c / t i m e r _ s t a t s / p r o c / s c h e d _ d e b u g / p r o c / s c s i / s y s / f i r m w a r e / s y s / d e v i c e s / v i r t u a l / p o w e r c a p   R e a d - O n l y   P a t h s :   / p r o c / b u s / p r o c / f s / p r o c / i r q / p r o c / s y s / p r o c / s y s r q - t r i g g e r   F o r   s o m e   P o d s ,   y o u   m i g h t   w a n t   t o   b y p a s s   t h a t   d e f a u l t   m a s k i n g   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
    "id": "k8s_00770_section_2_16679"
  },
  {
    "question": "What is Discussion?",
    "answer": "T h e   s e c u r i t y   c o n t e x t   f o r   a   P o d   a p p l i e s   t o   t h e   P o d ' s   C o n t a i n e r s   a n d   a l s o   t o   t h e   P o d ' s   V o l u m e s   w h e n   a p p l i c a b l e .   S p e c i f i c a l l y   f s G r o u p   a n d   s e L i n u x O p t i o n s   a r e   a p p l i e d   t o   V o l u m e s   a s   f o l l o w s :   f s G r o u p :   V o l u m e s   t h a t   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a r e   m o d i f i e d   t o   b e   o w n e d   a n d   w r i t a b l e   b y   t h e   G I D   s p e c i f i e d   i n   f s G r o u p .   S e e   t h e   O w n e r s h i p   M a n a g e m e n t   d e s i g n   d o c u m e n t   f o r   m o r e   d e t a i l s . s e L i n u x O p t i o n s :   V o l u m e s   t h a t   s u p p o r t   S E L i n u x   l a b e l i n g   a r e   r e l a b e l e d   t o   b e   a c c e s s i b l e   b y   t h e   l a b e l   s p e c i f i e d   u n d e r   s e L i n u x O p t i o n s .   U s u a l l y   y o u   o n l y   n e e d   t o   s e t   t h e   l e v e l   s e c t i o n .   T h i s   s e t s   t h e   M u l t i - C a t e g o r y   S e c u r i t y   ( M C S )   l a b e l   g i v e n   t o   a l l   C o n t a i n e r s   i n   t h e   P o d   a s   w e l l   a s   t h e   V o l u m e s .   f s G r o u p :   V o l u m e s   t h a t   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a r e   m o d i f i e d   t o   b e   o w n e d   a n d   w r i t a b l e   b y   t h e   G I D   s p e c i f i e d   i n   f s G r o u p .   S e e   t h e   O w n e r s h i p   M a n a g e m e n t   d e s i g n   d o c u m e n t   f o r   m o r e   d e t a i l s .   s e L i n u x O p t i o n s :   V o l u m e s   t h a t   s u p p o r t   S E L i n u x   l a b e l i n g   a r e   r e l a b e l e d   t o   b e   a c c e s s i b l e   b y   t h e   l a b e l   s p e c i f i e d   u n d e r   s e L i n u x O p t i o n s .   U s u a l l y   y o u   o n l y   n e e d   t o   s e t   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
    "id": "k8s_00770_section_2_16680"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   t h e   P o d :   k u b e c t l   d e l e t e   p o d   s e c u r i t y - c o n t e x t - d e m o   k u b e c t l   d e l e t e   p o d   s e c u r i t y - c o n t e x t - d e m o - 2   k u b e c t l   d e l e t e   p o d   s e c u r i t y - c o n t e x t - d e m o - 3   k u b e c t l   d e l e t e   p o d   s e c u r i t y - c o n t e x t - d e m o - 4",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
    "id": "k8s_00770_section_2_16681"
  },
  {
    "question": "What is What's next?",
    "answer": "P o d S e c u r i t y C o n t e x t S e c u r i t y C o n t e x t C R I   P l u g i n   C o n f i g   G u i d e S e c u r i t y   C o n t e x t s   d e s i g n   d o c u m e n t O w n e r s h i p   M a n a g e m e n t   d e s i g n   d o c u m e n t P o d S e c u r i t y   A d m i s s i o n A l l o w P r i v i l e g e E s c a l a t i o n   d e s i g n   d o c u m e n t F o r   m o r e   i n f o r m a t i o n   a b o u t   s e c u r i t y   m e c h a n i s m s   i n   L i n u x ,   s e e   O v e r v i e w   o f   L i n u x   K e r n e l   S e c u r i t y   F e a t u r e s   ( N o t e :   S o m e   i n f o r m a t i o n   i s   o u t   o f   d a t e ) R e a d   a b o u t   U s e r   N a m e s p a c e s   f o r   L i n u x   p o d s . M a s k e d   P a t h s   i n   t h e   O C I   R u n t i m e   S p e c i f i c a t i o n   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
    "id": "k8s_00770_section_2_16682"
  },
  {
    "question": "What is Extend Service IP Ranges?",
    "answer": "Extend Service IP RangesFEATURE STATE: Kubernetes v1.33 [stable] (enabled by default: true)This document shares how to extend the existing Service IP range assigned to a cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.29.To check the version, enter kubectl version.Note:While you can use this feature with an earlier version, the feature is only GA and officially supported since v1.33.Extend Service IP RangesKubernetes clusters with kube-apiservers that have enabled the MultiCIDRServiceAllocator feature gate and have the networking.k8s.io/v1beta1 API group active, will create a ServiceCIDR object that takes the well-known name kubernetes, and that specifies an IP address range based on the value of the --service-cluster-ip-range command line argument to kube-apiserver.kubectl get servicecidr NAME CIDRS AGE kubernetes 10.96.0.0/28 17d The well-known kubernetes Service, that exposes the kube-apiserver endpoint to the Pods, calculates the first IP address from the default ServiceCIDR range and uses that IP address as its cluster IP address.kubectl get service kubernetes NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 17d The default Service, in this case, uses the ClusterIP 10.96.0.1, that has the corresponding IPAddress object.kubectl get ipaddress 10.96.0.1 NAME PARENTREF 10.96.0.1 services/default/kubernetes The ServiceCIDRs are protected with finalizers, to avoid leaving Service ClusterIPs orphans; the finalizer is only removed if there is another subnet that contains the existing IPAddresses or there are no IPAddresses belonging to the subnet.Extend the number of available IPs for ServicesThere are cases that users will need to increase the number addresses available to Services, previously, increasing the Service range was a disruptive operation that could also cause data loss. With this new feature users only need to add a new ServiceCIDR to increase the number of available addresses.Adding a new ServiceCIDROn a cluster with a 10.96.0.0/28 range for Services, there is only 2^(32-28) - 2 = 14 IP addresses available. The kubernetes.default Service is always created; for this example, that leaves you with only 13 possible Services.for i in $(seq 1 13); do kubectl create service clusterip \"test-$i\" --tcp 80 -o json | jq -r .spec.clusterIP; done 10.96.0.11 10.96.0.5 10.96.0.12 10.96.0.13 10.96.0.14 10.96.0.2 10.96.0.3 10.96.0.4 10.96.0.6 10.96.0.7 10.96.0.8 10.96.0.9 error: failed to create ClusterIP service: Internal error occurred: failed to allocate a ser",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/network/extend-service-ip-ranges/",
    "id": "k8s_00771_qa_16683"
  },
  {
    "question": "How does Extend Service IP Ranges work?",
    "answer": "Extend Service IP RangesFEATURE STATE: Kubernetes v1.33 [stable] (enabled by default: true)This document shares how to extend the existing Service IP range assigned to a cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.29.To check the version, enter kubectl version.Note:While you can use this feature with an earlier version, the feature is only GA and officially supported since v1.33.Extend Service IP RangesKubernetes clusters with kube-apiservers that have enabled the MultiCIDRServiceAllocator feature gate and have the networking.k8s.io/v1beta1 API group active, will create a ServiceCIDR object that takes the well-known name kubernetes, and that specifies an IP address range based on the value of the --service-cluster-ip-range command line argument to kube-apiserver.kubectl get servicecidr NAME CIDRS AGE kubernetes 10.96.0.0/28 17d The well-known kubernetes Service, that exposes the kube-apiserver endpoint to the Pods, calculates the first IP address from the default ServiceCIDR range and uses that IP address as its cluster IP address.kubectl get service kubernetes NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 17d The default Service, in this case, uses the ClusterIP 10.96.0.1, that has the corresponding IPAddress object.kubectl get ipaddress 10.96.0.1 NAME PARENTREF 10.96.0.1 services/default/kubernetes The ServiceCIDRs are protected with finalizers, to avoid leaving Service ClusterIPs orphans; the finalizer is only removed if there is another subnet that contains the existing IPAddresses or there are no IPAddresses belonging to the subnet.Extend the number of available IPs for ServicesThere are cases that users will need to increase the number addresses available to Services, previously, increasing the Service range was a disruptive operation that could also cause data loss. With this new feature users only need to add a new ServiceCIDR to increase the number of available addresses.Adding a new ServiceCIDROn a cluster with a 10.96.0.0/28 range for Services, there is only 2^(32-28) - 2 = 14 IP addresses available. The kubernetes.default Service is always created; for this example, that leaves you with only 13 possible Services.for i in $(seq 1 13); do kubectl create service clusterip \"test-$i\" --tcp 80 -o json | jq -r .spec.clusterIP; done 10.96.0.11 10.96.0.5 10.96.0.12 10.96.0.13 10.96.0.14 10.96.0.2 10.96.0.3 10.96.0.4 10.96.0.6 10.96.0.7 10.96.0.8 10.96.0.9 error: failed to create ClusterIP service: Internal error occurred: failed to allocate a ser",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/network/extend-service-ip-ranges/",
    "id": "k8s_00771_qa_16684"
  },
  {
    "question": "When would you use Extend Service IP Ranges?",
    "answer": "Extend Service IP RangesFEATURE STATE: Kubernetes v1.33 [stable] (enabled by default: true)This document shares how to extend the existing Service IP range assigned to a cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.29.To check the version, enter kubectl version.Note:While you can use this feature with an earlier version, the feature is only GA and officially supported since v1.33.Extend Service IP RangesKubernetes clusters with kube-apiservers that have enabled the MultiCIDRServiceAllocator feature gate and have the networking.k8s.io/v1beta1 API group active, will create a ServiceCIDR object that takes the well-known name kubernetes, and that specifies an IP address range based on the value of the --service-cluster-ip-range command line argument to kube-apiserver.kubectl get servicecidr NAME CIDRS AGE kubernetes 10.96.0.0/28 17d The well-known kubernetes Service, that exposes the kube-apiserver endpoint to the Pods, calculates the first IP address from the default ServiceCIDR range and uses that IP address as its cluster IP address.kubectl get service kubernetes NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 17d The default Service, in this case, uses the ClusterIP 10.96.0.1, that has the corresponding IPAddress object.kubectl get ipaddress 10.96.0.1 NAME PARENTREF 10.96.0.1 services/default/kubernetes The ServiceCIDRs are protected with finalizers, to avoid leaving Service ClusterIPs orphans; the finalizer is only removed if there is another subnet that contains the existing IPAddresses or there are no IPAddresses belonging to the subnet.Extend the number of available IPs for ServicesThere are cases that users will need to increase the number addresses available to Services, previously, increasing the Service range was a disruptive operation that could also cause data loss. With this new feature users only need to add a new ServiceCIDR to increase the number of available addresses.Adding a new ServiceCIDROn a cluster with a 10.96.0.0/28 range for Services, there is only 2^(32-28) - 2 = 14 IP addresses available. The kubernetes.default Service is always created; for this example, that leaves you with only 13 possible Services.for i in $(seq 1 13); do kubectl create service clusterip \"test-$i\" --tcp 80 -o json | jq -r .spec.clusterIP; done 10.96.0.11 10.96.0.5 10.96.0.12 10.96.0.13 10.96.0.14 10.96.0.2 10.96.0.3 10.96.0.4 10.96.0.6 10.96.0.7 10.96.0.8 10.96.0.9 error: failed to create ClusterIP service: Internal error occurred: failed to allocate a ser",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/network/extend-service-ip-ranges/",
    "id": "k8s_00771_qa_16685"
  },
  {
    "question": "What are the benefits of Extend Service IP Ranges?",
    "answer": "Extend Service IP RangesFEATURE STATE: Kubernetes v1.33 [stable] (enabled by default: true)This document shares how to extend the existing Service IP range assigned to a cluster.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYour Kubernetes server must be at or later than version v1.29.To check the version, enter kubectl version.Note:While you can use this feature with an earlier version, the feature is only GA and officially supported since v1.33.Extend Service IP RangesKubernetes clusters with kube-apiservers that have enabled the MultiCIDRServiceAllocator feature gate and have the networking.k8s.io/v1beta1 API group active, will create a ServiceCIDR object that takes the well-known name kubernetes, and that specifies an IP address range based on the value of the --service-cluster-ip-range command line argument to kube-apiserver.kubectl get servicecidr NAME CIDRS AGE kubernetes 10.96.0.0/28 17d The well-known kubernetes Service, that exposes the kube-apiserver endpoint to the Pods, calculates the first IP address from the default ServiceCIDR range and uses that IP address as its cluster IP address.kubectl get service kubernetes NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 17d The default Service, in this case, uses the ClusterIP 10.96.0.1, that has the corresponding IPAddress object.kubectl get ipaddress 10.96.0.1 NAME PARENTREF 10.96.0.1 services/default/kubernetes The ServiceCIDRs are protected with finalizers, to avoid leaving Service ClusterIPs orphans; the finalizer is only removed if there is another subnet that contains the existing IPAddresses or there are no IPAddresses belonging to the subnet.Extend the number of available IPs for ServicesThere are cases that users will need to increase the number addresses available to Services, previously, increasing the Service range was a disruptive operation that could also cause data loss. With this new feature users only need to add a new ServiceCIDR to increase the number of available addresses.Adding a new ServiceCIDROn a cluster with a 10.96.0.0/28 range for Services, there is only 2^(32-28) - 2 = 14 IP addresses available. The kubernetes.default Service is always created; for this example, that leaves you with only 13 possible Services.for i in $(seq 1 13); do kubectl create service clusterip \"test-$i\" --tcp 80 -o json | jq -r .spec.clusterIP; done 10.96.0.11 10.96.0.5 10.96.0.12 10.96.0.13 10.96.0.14 10.96.0.2 10.96.0.3 10.96.0.4 10.96.0.6 10.96.0.7 10.96.0.8 10.96.0.9 error: failed to create ClusterIP service: Internal error occurred: failed to allocate a ser",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/network/extend-service-ip-ranges/",
    "id": "k8s_00771_qa_16686"
  },
  {
    "question": "What is Extend Service IP Ranges?",
    "answer": "T h i s   d o c u m e n t   s h a r e s   h o w   t o   e x t e n d   t h e   e x i s t i n g   S e r v i c e   I P   r a n g e   a s s i g n e d   t o   a   c l u s t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/network/extend-service-ip-ranges/",
    "id": "k8s_00771_section_1_16687"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/network/extend-service-ip-ranges/",
    "id": "k8s_00771_section_2_16688"
  },
  {
    "question": "What is Extend Service IP Ranges?",
    "answer": "K u b e r n e t e s   c l u s t e r s   w i t h   k u b e - a p i s e r v e r s   t h a t   h a v e   e n a b l e d   t h e   M u l t i C I D R S e r v i c e A l l o c a t o r   f e a t u r e   g a t e   a n d   h a v e   t h e   n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1   A P I   g r o u p   a c t i v e ,   w i l l   c r e a t e   a   S e r v i c e C I D R   o b j e c t   t h a t   t a k e s   t h e   w e l l - k n o w n   n a m e   k u b e r n e t e s ,   a n d   t h a t   s p e c i f i e s   a n   I P   a d d r e s s   r a n g e   b a s e d   o n   t h e   v a l u e   o f   t h e   - - s e r v i c e - c l u s t e r - i p - r a n g e   c o m m a n d   l i n e   a r g u m e n t   t o   k u b e - a p i s e r v e r .   k u b e c t l   g e t   s e r v i c e c i d r   N A M E   C I D R S   A G E   k u b e r n e t e s   1 0 . 9 6 . 0 . 0 / 2 8   1 7 d   T h e   w e l l - k n o w n   k u b e r n e t e s   S e r v i c e ,   t h a t   e x p o s e s   t h e   k u b e - a p i s e r v e r   e n d p o i n t   t o   t h e   P o d s ,   c a l c u l a t e s   t h e   f i r s t   I P   a d d r e s s   f r o m   t h e   d e f a u l t   S e r v i c e C I D R   r a n g e   a n d   u s e s   t h a t   I P   a d d r e s s   a s   i t s   c l u s t e r   I P   a d d r e s s .   k u b e c t l   g e t   s e r v i c e   k u b e r n e t e s   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   k u b e r n e t e s   C l u s t e r I P   1 0 . 9 6 . 0 . 1   < n o n e >   4 4 3 / T C P   1 7 d   T h e   d e f a u l t   S e r v i c e ,   i n   t h i s   c a s e ,   u s e s   t h e   C l u s t e r I P   1 0 . 9 6 . 0 . 1 ,   t h a t   h a s   t h e   c o r r e s p o n d i n g   I P A d d r e s s   o b j e c t .   k u b e c t l   g e t   i p a d d r e s s   1 0 . 9 6 . 0 . 1   N A M E   P A R E N T R E F   1 0 . 9 6 . 0 . 1   s e r v i c e s / d e f a u l t / k u b e r n e t e s   T h e   S e r v i c e C I D R s   a r e   p r o t e c t e d   w i t h   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/network/extend-service-ip-ranges/",
    "id": "k8s_00771_section_2_16689"
  },
  {
    "question": "What is Extend the number of available IPs for Services?",
    "answer": "T h e r e   a r e   c a s e s   t h a t   u s e r s   w i l l   n e e d   t o   i n c r e a s e   t h e   n u m b e r   a d d r e s s e s   a v a i l a b l e   t o   S e r v i c e s ,   p r e v i o u s l y ,   i n c r e a s i n g   t h e   S e r v i c e   r a n g e   w a s   a   d i s r u p t i v e   o p e r a t i o n   t h a t   c o u l d   a l s o   c a u s e   d a t a   l o s s .   W i t h   t h i s   n e w   f e a t u r e   u s e r s   o n l y   n e e d   t o   a d d   a   n e w   S e r v i c e C I D R   t o   i n c r e a s e   t h e   n u m b e r   o f   a v a i l a b l e   a d d r e s s e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/network/extend-service-ip-ranges/",
    "id": "k8s_00771_section_2_16690"
  },
  {
    "question": "What is Adding a new ServiceCIDR?",
    "answer": "O n   a   c l u s t e r   w i t h   a   1 0 . 9 6 . 0 . 0 / 2 8   r a n g e   f o r   S e r v i c e s ,   t h e r e   i s   o n l y   2 ^ ( 3 2 - 2 8 )   -   2   =   1 4   I P   a d d r e s s e s   a v a i l a b l e .   T h e   k u b e r n e t e s . d e f a u l t   S e r v i c e   i s   a l w a y s   c r e a t e d ;   f o r   t h i s   e x a m p l e ,   t h a t   l e a v e s   y o u   w i t h   o n l y   1 3   p o s s i b l e   S e r v i c e s .   f o r   i   i n   $ ( s e q   1   1 3 ) ;   d o   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   \" t e s t - $ i \"   - - t c p   8 0   - o   j s o n   |   j q   - r   . s p e c . c l u s t e r I P ;   d o n e   1 0 . 9 6 . 0 . 1 1   1 0 . 9 6 . 0 . 5   1 0 . 9 6 . 0 . 1 2   1 0 . 9 6 . 0 . 1 3   1 0 . 9 6 . 0 . 1 4   1 0 . 9 6 . 0 . 2   1 0 . 9 6 . 0 . 3   1 0 . 9 6 . 0 . 4   1 0 . 9 6 . 0 . 6   1 0 . 9 6 . 0 . 7   1 0 . 9 6 . 0 . 8   1 0 . 9 6 . 0 . 9   e r r o r :   f a i l e d   t o   c r e a t e   C l u s t e r I P   s e r v i c e :   I n t e r n a l   e r r o r   o c c u r r e d :   f a i l e d   t o   a l l o c a t e   a   s e r v i c e I P :   r a n g e   i s   f u l l   Y o u   c a n   i n c r e a s e   t h e   n u m b e r   o f   I P   a d d r e s s e s   a v a i l a b l e   f o r   S e r v i c e s ,   b y   c r e a t i n g   a   n e w   S e r v i c e C I D R   t h a t   e x t e n d s   o r   a d d s   n e w   I P   a d d r e s s   r a n g e s .   c a t   < E O F   |   k u b e c t l   a p p l y   - f   -   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1   k i n d :   S e r v i c e C I D R   m e t a d a t a :   n a m e :   n e w c i d r 1   s p e c :   c i d r s :   -   1 0 . 9 6 . 0 . 0 / 2 4   E O F   s e r v i c e c i d r . n e t w o r k i n g . k 8 s . i o / n e w c i d r 1   c r e a t e d   a n d   t h i s   w i l l   a l l o w   y o u   t o   c r e a t e   n e w   S e r v i c e s   w i t h   C l u s t e r I P s   t h a t   w i l l   b e   p i c k e d   f r o m   t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/network/extend-service-ip-ranges/",
    "id": "k8s_00771_section_3_16691"
  },
  {
    "question": "What is Deleting a ServiceCIDR?",
    "answer": "Y o u   c a n n o t   d e l e t e   a   S e r v i c e C I D R   i f   t h e r e   a r e   I P A d d r e s s e s   t h a t   d e p e n d   o n   t h e   S e r v i c e C I D R .   k u b e c t l   d e l e t e   s e r v i c e c i d r   n e w c i d r 1   s e r v i c e c i d r . n e t w o r k i n g . k 8 s . i o   \" n e w c i d r 1 \"   d e l e t e d   K u b e r n e t e s   u s e s   a   f i n a l i z e r   o n   t h e   S e r v i c e C I D R   t o   t r a c k   t h i s   d e p e n d e n t   r e l a t i o n s h i p .   k u b e c t l   g e t   s e r v i c e c i d r   n e w c i d r 1   - o   y a m l   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1   k i n d :   S e r v i c e C I D R   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   \" 2 0 2 3 - 1 0 - 1 2 T 1 5 : 1 1 : 0 7 Z \"   d e l e t i o n G r a c e P e r i o d S e c o n d s :   0   d e l e t i o n T i m e s t a m p :   \" 2 0 2 3 - 1 0 - 1 2 T 1 5 : 1 2 : 4 5 Z \"   f i n a l i z e r s :   -   n e t w o r k i n g . k 8 s . i o / s e r v i c e - c i d r - f i n a l i z e r   n a m e :   n e w c i d r 1   r e s o u r c e V e r s i o n :   \" 1 1 3 3 \"   u i d :   5 f f d 8 a f e - c 7 8 f - 4 e 6 0 - a e 7 6 - c e c 4 4 8 a 8 a f 4 0   s p e c :   c i d r s :   -   1 0 . 9 6 . 0 . 0 / 2 4   s t a t u s :   c o n d i t i o n s :   -   l a s t T r a n s i t i o n T i m e :   \" 2 0 2 3 - 1 0 - 1 2 T 1 5 : 1 2 : 4 5 Z \"   m e s s a g e :   T h e r e   a r e   s t i l l   I P A d d r e s s e s   r e f e r e n c i n g   t h e   S e r v i c e C I D R ,   p l e a s e   r e m o v e   t h e m   o r   c r e a t e   a   n e w   S e r v i c e C I D R   r e a s o n :   O r p h a n I P A d d r e s s   s t a t u s :   \" F a l s e \"   t y p e :   R e a d y   B y   r e m o v i n g   t h e   S e r v i c e s   c o n t a i n i n g   t h e   I P   a d d r e s s e s   t h a t   a r e   b l o c k i n g   t h e   d e l e t i o n   o f   t h e   S e r v i c e C I D R   f o r   i   i n   $ ( s e q   1 3   1 6 ) ;   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/network/extend-service-ip-ranges/",
    "id": "k8s_00771_section_3_16692"
  },
  {
    "question": "What is Kubernetes Service CIDR Policies?",
    "answer": "C l u s t e r   a d m i n i s t r a t o r s   c a n   i m p l e m e n t   p o l i c i e s   t o   c o n t r o l   t h e   c r e a t i o n   a n d   m o d i f i c a t i o n   o f   S e r v i c e C I D R   r e s o u r c e s   w i t h i n   t h e   c l u s t e r .   T h i s   a l l o w s   f o r   c e n t r a l i z e d   m a n a g e m e n t   o f   t h e   I P   a d d r e s s   r a n g e s   u s e d   f o r   S e r v i c e s   a n d   h e l p s   p r e v e n t   u n i n t e n d e d   o r   c o n f l i c t i n g   c o n f i g u r a t i o n s .   K u b e r n e t e s   p r o v i d e s   m e c h a n i s m s   l i k e   V a l i d a t i n g   A d m i s s i o n   P o l i c i e s   t o   e n f o r c e   t h e s e   r u l e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/network/extend-service-ip-ranges/",
    "id": "k8s_00771_section_2_16693"
  },
  {
    "question": "What is Preventing Unauthorized ServiceCIDR Creation/Update using Validating Admission Policy?",
    "answer": "T h e r e   c a n   b e   s i t u a t i o n s   t h a t   t h e   c l u s t e r   a d m i n i s t r a t o r s   w a n t   t o   r e s t r i c t   t h e   r a n g e s   t h a t   c a n   b e   a l l o w e d   o r   t o   c o m p l e t e l y   d e n y   a n y   c h a n g e s   t o   t h e   c l u s t e r   S e r v i c e   I P   r a n g e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/network/extend-service-ip-ranges/",
    "id": "k8s_00771_section_3_16694"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   d e f a u l t   \" k u b e r n e t e s \"   S e r v i c e C I D R   i s   c r e a t e d   b y   t h e   k u b e - a p i s e r v e r   t o   p r o v i d e   c o n s i s t e n c y   i n   t h e   c l u s t e r   a n d   i s   r e q u i r e d   f o r   t h e   c l u s t e r   t o   w o r k ,   s o   i t   a l w a y s   m u s t   b e   a l l o w e d .   Y o u   c a n   e n s u r e   y o u r   V a l i d a t i n g A d m i s s i o n P o l i c y   d o e s n ' t   r e s t r i c t   t h e   d e f a u l t   S e r v i c e C I D R   b y   a d d i n g   t h e   c l a u s e :   m a t c h C o n d i t i o n s :   -   n a m e :   ' e x c l u d e - d e f a u l t - s e r v i c e c i d r '   e x p r e s s i o n :   \" o b j e c t . m e t a d a t a . n a m e   ! =   ' k u b e r n e t e s ' \"   a s   i n   t h e   e x a m p l e s   b e l o w .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/network/extend-service-ip-ranges/",
    "id": "k8s_00771_section_4_16695"
  },
  {
    "question": "What is Restrict Service CIDR ranges to some specific ranges?",
    "answer": "T h e   f o l l o w i n g   i s   a n   e x a m p l e   o f   a   V a l i d a t i n g A d m i s s i o n P o l i c y   t h a t   o n l y   a l l o w s   S e r v i c e C I D R s   t o   b e   c r e a t e d   i f   t h e y   a r e   s u b r a n g e s   o f   t h e   g i v e n   a l l o w e d   r a n g e s .   ( S o   t h e   e x a m p l e   p o l i c y   w o u l d   a l l o w   a   S e r v i c e C I D R   w i t h   c i d r s :   [ ' 1 0 . 9 6 . 1 . 0 / 2 4 ' ]   o r   c i d r s :   [ ' 2 0 0 1 : d b 8 : 0 : 0 : f f f f : : / 8 0 ' ,   ' 1 0 . 9 6 . 0 . 0 / 2 0 ' ]   b u t   w o u l d   n o t   a l l o w   a   S e r v i c e C I D R   w i t h   c i d r s :   [ ' 1 7 2 . 2 0 . 0 . 0 / 1 6 ' ] . )   Y o u   c a n   c o p y   t h i s   p o l i c y   a n d   c h a n g e   t h e   v a l u e   o f   a l l o w e d   t o   s o m e t h i n g   a p p r o p r i a t e   f o r   y o u   c l u s t e r .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y   m e t a d a t a :   n a m e :   \" s e r v i c e c i d r s . d e f a u l t \"   s p e c :   f a i l u r e P o l i c y :   F a i l   m a t c h C o n s t r a i n t s :   r e s o u r c e R u l e s :   -   a p i G r o u p s :   [ \" n e t w o r k i n g . k 8 s . i o \" ]   a p i V e r s i o n s :   [ \" v 1 \" , \" v 1 b e t a 1 \" ]   o p e r a t i o n s :   [ \" C R E A T E \" ,   \" U P D A T E \" ]   r e s o u r c e s :   [ \" s e r v i c e c i d r s \" ]   m a t c h C o n d i t i o n s :   -   n a m e :   ' e x c l u d e - d e f a u l t - s e r v i c e c i d r '   e x p r e s s i o n :   \" o b j e c t . m e t a d a t a . n a m e   ! =   ' k u b e r n e t e s ' \"   v a r i a b l e s :   -   n a m e :   a l l o w e d   e x p r e s s i o n :   \" [ ' 1 0 . 9 6 . 0 . 0 / 1 6 ' , ' 2 0 0 1 : d b 8 : : / 6 4 ' ] \"   v a l i d a t i o n s :   -   e x p r e s s i o n :   \" o b j e c t . s p e c . c i d r s . a l l ( n e w C I D R ,   v a r i a b l e s . a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/network/extend-service-ip-ranges/",
    "id": "k8s_00771_section_4_16696"
  },
  {
    "question": "What is Restrict any usage of the ServiceCIDR API?",
    "answer": "T h e   f o l l o w i n g   e x a m p l e   d e m o n s t r a t e s   h o w   t o   u s e   a   V a l i d a t i n g A d m i s s i o n P o l i c y   a n d   i t s   b i n d i n g   t o   r e s t r i c t   t h e   c r e a t i o n   o f   a n y   n e w   S e r v i c e   C I D R   r a n g e s ,   e x c l u d i n g   t h e   d e f a u l t   \" k u b e r n e t e s \"   S e r v i c e C I D R :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y   m e t a d a t a :   n a m e :   \" s e r v i c e c i d r s . d e n y \"   s p e c :   f a i l u r e P o l i c y :   F a i l   m a t c h C o n s t r a i n t s :   r e s o u r c e R u l e s :   -   a p i G r o u p s :   [ \" n e t w o r k i n g . k 8 s . i o \" ]   a p i V e r s i o n s :   [ \" v 1 \" , \" v 1 b e t a 1 \" ]   o p e r a t i o n s :   [ \" C R E A T E \" ,   \" U P D A T E \" ]   r e s o u r c e s :   [ \" s e r v i c e c i d r s \" ]   v a l i d a t i o n s :   -   e x p r e s s i o n :   \" o b j e c t . m e t a d a t a . n a m e   = =   ' k u b e r n e t e s ' \"   - - -   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   m e t a d a t a :   n a m e :   \" s e r v i c e c i d r s - d e n y - b i n d i n g \"   s p e c :   p o l i c y N a m e :   \" s e r v i c e c i d r s . d e n y \"   v a l i d a t i o n A c t i o n s :   [ D e n y , A u d i t ]",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/network/extend-service-ip-ranges/",
    "id": "k8s_00771_section_4_16697"
  },
  {
    "question": "What is kubectl create job?",
    "answer": "kubectl create jobSynopsisCreate a job with the specified name.kubectl create job NAME --image=image [--from=cronjob/name] -- [COMMAND] [args...] Examples # Create a job kubectl create job my-job --image=busybox # Create a job with a command kubectl create job my-job --image=busybox -- date # Create a job from a cron job named \"a-cronjob\" kubectl create job test-job --from=cronjob/a-cronjob Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--from stringThe name of the resource to create a Job from (only cronjob is supported).-h, --helphelp for job--image stringImage name to run.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_job/",
    "id": "k8s_00772_qa_16698"
  },
  {
    "question": "How does kubectl create job work?",
    "answer": "kubectl create jobSynopsisCreate a job with the specified name.kubectl create job NAME --image=image [--from=cronjob/name] -- [COMMAND] [args...] Examples # Create a job kubectl create job my-job --image=busybox # Create a job with a command kubectl create job my-job --image=busybox -- date # Create a job from a cron job named \"a-cronjob\" kubectl create job test-job --from=cronjob/a-cronjob Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--from stringThe name of the resource to create a Job from (only cronjob is supported).-h, --helphelp for job--image stringImage name to run.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_job/",
    "id": "k8s_00772_qa_16699"
  },
  {
    "question": "When would you use kubectl create job?",
    "answer": "kubectl create jobSynopsisCreate a job with the specified name.kubectl create job NAME --image=image [--from=cronjob/name] -- [COMMAND] [args...] Examples # Create a job kubectl create job my-job --image=busybox # Create a job with a command kubectl create job my-job --image=busybox -- date # Create a job from a cron job named \"a-cronjob\" kubectl create job test-job --from=cronjob/a-cronjob Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--from stringThe name of the resource to create a Job from (only cronjob is supported).-h, --helphelp for job--image stringImage name to run.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_job/",
    "id": "k8s_00772_qa_16700"
  },
  {
    "question": "What are the benefits of kubectl create job?",
    "answer": "kubectl create jobSynopsisCreate a job with the specified name.kubectl create job NAME --image=image [--from=cronjob/name] -- [COMMAND] [args...] Examples # Create a job kubectl create job my-job --image=busybox # Create a job with a command kubectl create job my-job --image=busybox -- date # Create a job from a cron job named \"a-cronjob\" kubectl create job test-job --from=cronjob/a-cronjob Options--allow-missing-template-keys Default: trueIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.--dry-run string[=\"unchanged\"] Default: \"none\"Must be \"none\", \"server\", or \"client\". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.--field-manager string Default: \"kubectl-create\"Name of the manager used to track field ownership.--from stringThe name of the resource to create a Job from (only cronjob is supported).-h, --helphelp for job--image stringImage name to run.-o, --output stringOutput format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).--save-configIf true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--template stringTemplate string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].--validate string[=\"strict\"] Default: \"strict\"Must be one of: strict (or true), warn, ignore (or false). \"true\" or \"strict\" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. \"warn\" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as \"ignore\" otherwise. \"false\" or \"ignore\" will not perform any schema validation, silently dropping any unknown or duplicate fields.Parent Options Inherited--as stringUsername to impersonate for the operation. User could be a regular user or a service account in a namespace.--as-group stringsGroup to impersonate for the operation, this flag can be repeated to specify multiple groups.--as-uid stringUID to impersonate for the operation.--cache-dir string Default: \"$HOME/.kube/cache\"Default cache directory--certificate-authority stringPath to a cert file for the certificate authority--client-certificate stringPath to a client certificate file for TLS--client-key stringPath to a client key file for TLS--cluster stringThe name ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_job/",
    "id": "k8s_00772_qa_16701"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   j o b   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   j o b   N A M E   - - i m a g e = i m a g e   [ - - f r o m = c r o n j o b / n a m e ]   - -   [ C O M M A N D ]   [ a r g s . . . ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_job/",
    "id": "k8s_00772_section_2_16702"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   j o b   k u b e c t l   c r e a t e   j o b   m y - j o b   - - i m a g e = b u s y b o x   #   C r e a t e   a   j o b   w i t h   a   c o m m a n d   k u b e c t l   c r e a t e   j o b   m y - j o b   - - i m a g e = b u s y b o x   - -   d a t e   #   C r e a t e   a   j o b   f r o m   a   c r o n   j o b   n a m e d   \" a - c r o n j o b \"   k u b e c t l   c r e a t e   j o b   t e s t - j o b   - - f r o m = c r o n j o b / a - c r o n j o b",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_job/",
    "id": "k8s_00772_section_2_16703"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   T h e   n a m e   o f   t h e   r e s o u r c e   t o   c r e a t e   a   J o b   f r o m   ( o n l y   c r o n j o b   i s   s u p p o r t e d ) .   h e l p   f o r   j o b   I m a g e   n a m e   t o   r u n .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_job/",
    "id": "k8s_00772_section_2_16704"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_job/",
    "id": "k8s_00772_section_2_16705"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n   T h i s   p a g e   i s   a u t o m a t i c a l l y   g e n e r a t e d .   I f   y o u   p l a n   t o   r e p o r t   a n   i s s u e   w i t h   t h i s   p a g e ,   m e n t i o n   t h a t   t h e   p a g e   i s   a u t o - g e n e r a t e d   i n   y o u r   i s s u e   d e s c r i p t i o n .   T h e   f i x   m a y   n e e d   t o   h a p p e n   e l s e w h e r e   i n   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_job/",
    "id": "k8s_00772_section_2_16706"
  },
  {
    "question": "What is Metrics for Kubernetes Object States?",
    "answer": "Metrics for Kubernetes Object Stateskube-state-metrics, an add-on agent to generate and expose cluster-level metrics.The state of Kubernetes objects in the Kubernetes API can be exposed as metrics. An add-on agent called kube-state-metrics can connect to the Kubernetes API server and expose a HTTP endpoint with metrics generated from the state of individual objects in the cluster. It exposes various information about the state of objects like labels and annotations, startup and termination times, status or the phase the object currently is in. For example, containers running in pods create a kube_pod_container_info metric. This includes the name of the container, the name of the pod it is part of, the namespace the pod is running in, the name of the container image, the ID of the image, the image name from the spec of the container, the ID of the running container and the ID of the pod as labels.🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationAn external component that is able and capable to scrape the endpoint of kube-state-metrics (for example via Prometheus) can now be used to enable the following use cases.Example: using metrics from kube-state-metrics to query the cluster stateMetric series generated by kube-state-metrics are helpful to gather further insights into the cluster, as they can be used for querying.If you use Prometheus or another tool that uses the same query language, the following PromQL query returns the number of pods that are not ready:count(kube_pod_status_ready{condition=\"false\"}) by (namespace, pod) Example: alerting based on from kube-state-metricsMetrics generated from kube-state-metrics also allow for alerting on issues in the cluster.If you use Prometheus or a similar tool that uses the same alert rule language, the following alert will fire if there are pods that have been in a Terminating state for more than 5 minutes:groups: - name: Pod state rules: - alert: PodsBlockedInTerminatingState expr: count(kube_pod_deletion_timestamp) by (namespace, pod) * count(kube_pod_status_reason{reason=\"NodeLost\"} == 0) by (namespace, pod) > 0 for: 5m labels: severity: page annotations: summary: Pod {{$labels.namespace}}/{{$labels.pod}} blocked in Terminating state. Items on this page refer to third party products or projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for those third-party products or projects. See the CNCF website guidelines for more details.You should read the content guide before proposing a change that adds an extra third-party link.",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/kube-state-metrics/",
    "id": "k8s_00773_qa_16707"
  },
  {
    "question": "How does Metrics for Kubernetes Object States work?",
    "answer": "Metrics for Kubernetes Object Stateskube-state-metrics, an add-on agent to generate and expose cluster-level metrics.The state of Kubernetes objects in the Kubernetes API can be exposed as metrics. An add-on agent called kube-state-metrics can connect to the Kubernetes API server and expose a HTTP endpoint with metrics generated from the state of individual objects in the cluster. It exposes various information about the state of objects like labels and annotations, startup and termination times, status or the phase the object currently is in. For example, containers running in pods create a kube_pod_container_info metric. This includes the name of the container, the name of the pod it is part of, the namespace the pod is running in, the name of the container image, the ID of the image, the image name from the spec of the container, the ID of the running container and the ID of the pod as labels.🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationAn external component that is able and capable to scrape the endpoint of kube-state-metrics (for example via Prometheus) can now be used to enable the following use cases.Example: using metrics from kube-state-metrics to query the cluster stateMetric series generated by kube-state-metrics are helpful to gather further insights into the cluster, as they can be used for querying.If you use Prometheus or another tool that uses the same query language, the following PromQL query returns the number of pods that are not ready:count(kube_pod_status_ready{condition=\"false\"}) by (namespace, pod) Example: alerting based on from kube-state-metricsMetrics generated from kube-state-metrics also allow for alerting on issues in the cluster.If you use Prometheus or a similar tool that uses the same alert rule language, the following alert will fire if there are pods that have been in a Terminating state for more than 5 minutes:groups: - name: Pod state rules: - alert: PodsBlockedInTerminatingState expr: count(kube_pod_deletion_timestamp) by (namespace, pod) * count(kube_pod_status_reason{reason=\"NodeLost\"} == 0) by (namespace, pod) > 0 for: 5m labels: severity: page annotations: summary: Pod {{$labels.namespace}}/{{$labels.pod}} blocked in Terminating state. Items on this page refer to third party products or projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for those third-party products or projects. See the CNCF website guidelines for more details.You should read the content guide before proposing a change that adds an extra third-party link.",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/kube-state-metrics/",
    "id": "k8s_00773_qa_16708"
  },
  {
    "question": "When would you use Metrics for Kubernetes Object States?",
    "answer": "Metrics for Kubernetes Object Stateskube-state-metrics, an add-on agent to generate and expose cluster-level metrics.The state of Kubernetes objects in the Kubernetes API can be exposed as metrics. An add-on agent called kube-state-metrics can connect to the Kubernetes API server and expose a HTTP endpoint with metrics generated from the state of individual objects in the cluster. It exposes various information about the state of objects like labels and annotations, startup and termination times, status or the phase the object currently is in. For example, containers running in pods create a kube_pod_container_info metric. This includes the name of the container, the name of the pod it is part of, the namespace the pod is running in, the name of the container image, the ID of the image, the image name from the spec of the container, the ID of the running container and the ID of the pod as labels.🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationAn external component that is able and capable to scrape the endpoint of kube-state-metrics (for example via Prometheus) can now be used to enable the following use cases.Example: using metrics from kube-state-metrics to query the cluster stateMetric series generated by kube-state-metrics are helpful to gather further insights into the cluster, as they can be used for querying.If you use Prometheus or another tool that uses the same query language, the following PromQL query returns the number of pods that are not ready:count(kube_pod_status_ready{condition=\"false\"}) by (namespace, pod) Example: alerting based on from kube-state-metricsMetrics generated from kube-state-metrics also allow for alerting on issues in the cluster.If you use Prometheus or a similar tool that uses the same alert rule language, the following alert will fire if there are pods that have been in a Terminating state for more than 5 minutes:groups: - name: Pod state rules: - alert: PodsBlockedInTerminatingState expr: count(kube_pod_deletion_timestamp) by (namespace, pod) * count(kube_pod_status_reason{reason=\"NodeLost\"} == 0) by (namespace, pod) > 0 for: 5m labels: severity: page annotations: summary: Pod {{$labels.namespace}}/{{$labels.pod}} blocked in Terminating state. Items on this page refer to third party products or projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for those third-party products or projects. See the CNCF website guidelines for more details.You should read the content guide before proposing a change that adds an extra third-party link.",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/kube-state-metrics/",
    "id": "k8s_00773_qa_16709"
  },
  {
    "question": "What are the benefits of Metrics for Kubernetes Object States?",
    "answer": "Metrics for Kubernetes Object Stateskube-state-metrics, an add-on agent to generate and expose cluster-level metrics.The state of Kubernetes objects in the Kubernetes API can be exposed as metrics. An add-on agent called kube-state-metrics can connect to the Kubernetes API server and expose a HTTP endpoint with metrics generated from the state of individual objects in the cluster. It exposes various information about the state of objects like labels and annotations, startup and termination times, status or the phase the object currently is in. For example, containers running in pods create a kube_pod_container_info metric. This includes the name of the container, the name of the pod it is part of, the namespace the pod is running in, the name of the container image, the ID of the image, the image name from the spec of the container, the ID of the running container and the ID of the pod as labels.🛇 This item links to a third party project or product that is not part of Kubernetes itself. More informationAn external component that is able and capable to scrape the endpoint of kube-state-metrics (for example via Prometheus) can now be used to enable the following use cases.Example: using metrics from kube-state-metrics to query the cluster stateMetric series generated by kube-state-metrics are helpful to gather further insights into the cluster, as they can be used for querying.If you use Prometheus or another tool that uses the same query language, the following PromQL query returns the number of pods that are not ready:count(kube_pod_status_ready{condition=\"false\"}) by (namespace, pod) Example: alerting based on from kube-state-metricsMetrics generated from kube-state-metrics also allow for alerting on issues in the cluster.If you use Prometheus or a similar tool that uses the same alert rule language, the following alert will fire if there are pods that have been in a Terminating state for more than 5 minutes:groups: - name: Pod state rules: - alert: PodsBlockedInTerminatingState expr: count(kube_pod_deletion_timestamp) by (namespace, pod) * count(kube_pod_status_reason{reason=\"NodeLost\"} == 0) by (namespace, pod) > 0 for: 5m labels: severity: page annotations: summary: Pod {{$labels.namespace}}/{{$labels.pod}} blocked in Terminating state. Items on this page refer to third party products or projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for those third-party products or projects. See the CNCF website guidelines for more details.You should read the content guide before proposing a change that adds an extra third-party link.",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/kube-state-metrics/",
    "id": "k8s_00773_qa_16710"
  },
  {
    "question": "What is Metrics for Kubernetes Object States?",
    "answer": "T h e   s t a t e   o f   K u b e r n e t e s   o b j e c t s   i n   t h e   K u b e r n e t e s   A P I   c a n   b e   e x p o s e d   a s   m e t r i c s .   A n   a d d - o n   a g e n t   c a l l e d   k u b e - s t a t e - m e t r i c s   c a n   c o n n e c t   t o   t h e   K u b e r n e t e s   A P I   s e r v e r   a n d   e x p o s e   a   H T T P   e n d p o i n t   w i t h   m e t r i c s   g e n e r a t e d   f r o m   t h e   s t a t e   o f   i n d i v i d u a l   o b j e c t s   i n   t h e   c l u s t e r .   I t   e x p o s e s   v a r i o u s   i n f o r m a t i o n   a b o u t   t h e   s t a t e   o f   o b j e c t s   l i k e   l a b e l s   a n d   a n n o t a t i o n s ,   s t a r t u p   a n d   t e r m i n a t i o n   t i m e s ,   s t a t u s   o r   t h e   p h a s e   t h e   o b j e c t   c u r r e n t l y   i s   i n .   F o r   e x a m p l e ,   c o n t a i n e r s   r u n n i n g   i n   p o d s   c r e a t e   a   k u b e _ p o d _ c o n t a i n e r _ i n f o   m e t r i c .   T h i s   i n c l u d e s   t h e   n a m e   o f   t h e   c o n t a i n e r ,   t h e   n a m e   o f   t h e   p o d   i t   i s   p a r t   o f ,   t h e   n a m e s p a c e   t h e   p o d   i s   r u n n i n g   i n ,   t h e   n a m e   o f   t h e   c o n t a i n e r   i m a g e ,   t h e   I D   o f   t h e   i m a g e ,   t h e   i m a g e   n a m e   f r o m   t h e   s p e c   o f   t h e   c o n t a i n e r ,   t h e   I D   o f   t h e   r u n n i n g   c o n t a i n e r   a n d   t h e   I D   o f   t h e   p o d   a s   l a b e l s .   A n   e x t e r n a l   c o m p o n e n t   t h a t   i s   a b l e   a n d   c a p a b l e   t o   s c r a p e   t h e   e n d p o i n t   o f   k u b e - s t a t e - m e t r i c s   ( f o r   e x a m p l e   v i a   P r o m e t h e u s )   c a n   n o w   b e   u s e d   t o   e n a b l e   t h e   f o l l o w i n g   u s e   c a s e s .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/kube-state-metrics/",
    "id": "k8s_00773_section_1_16711"
  },
  {
    "question": "What is Example: using metrics from kube-state-metrics to query the cluster state?",
    "answer": "M e t r i c   s e r i e s   g e n e r a t e d   b y   k u b e - s t a t e - m e t r i c s   a r e   h e l p f u l   t o   g a t h e r   f u r t h e r   i n s i g h t s   i n t o   t h e   c l u s t e r ,   a s   t h e y   c a n   b e   u s e d   f o r   q u e r y i n g .   I f   y o u   u s e   P r o m e t h e u s   o r   a n o t h e r   t o o l   t h a t   u s e s   t h e   s a m e   q u e r y   l a n g u a g e ,   t h e   f o l l o w i n g   P r o m Q L   q u e r y   r e t u r n s   t h e   n u m b e r   o f   p o d s   t h a t   a r e   n o t   r e a d y :   c o u n t ( k u b e _ p o d _ s t a t u s _ r e a d y { c o n d i t i o n = \" f a l s e \" } )   b y   ( n a m e s p a c e ,   p o d )",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/kube-state-metrics/",
    "id": "k8s_00773_section_2_16712"
  },
  {
    "question": "What is Example: alerting based on from kube-state-metrics?",
    "answer": "M e t r i c s   g e n e r a t e d   f r o m   k u b e - s t a t e - m e t r i c s   a l s o   a l l o w   f o r   a l e r t i n g   o n   i s s u e s   i n   t h e   c l u s t e r .   I f   y o u   u s e   P r o m e t h e u s   o r   a   s i m i l a r   t o o l   t h a t   u s e s   t h e   s a m e   a l e r t   r u l e   l a n g u a g e ,   t h e   f o l l o w i n g   a l e r t   w i l l   f i r e   i f   t h e r e   a r e   p o d s   t h a t   h a v e   b e e n   i n   a   T e r m i n a t i n g   s t a t e   f o r   m o r e   t h a n   5   m i n u t e s :   g r o u p s :   -   n a m e :   P o d   s t a t e   r u l e s :   -   a l e r t :   P o d s B l o c k e d I n T e r m i n a t i n g S t a t e   e x p r :   c o u n t ( k u b e _ p o d _ d e l e t i o n _ t i m e s t a m p )   b y   ( n a m e s p a c e ,   p o d )   *   c o u n t ( k u b e _ p o d _ s t a t u s _ r e a s o n { r e a s o n = \" N o d e L o s t \" }   = =   0 )   b y   ( n a m e s p a c e ,   p o d )   >   0   f o r :   5 m   l a b e l s :   s e v e r i t y :   p a g e   a n n o t a t i o n s :   s u m m a r y :   P o d   { { $ l a b e l s . n a m e s p a c e } } / { { $ l a b e l s . p o d } }   b l o c k e d   i n   T e r m i n a t i n g   s t a t e .   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "concepts",
    "subcategory": "cluster-administration",
    "source": "https://kubernetes.io/docs/concepts/cluster-administration/kube-state-metrics/",
    "id": "k8s_00773_section_2_16713"
  },
  {
    "question": "What is Authorization?",
    "answer": "AuthorizationDetails of Kubernetes authorization mechanisms and supported authorization modes.Kubernetes authorization takes place following authentication. Usually, a client making a request must be authenticated (logged in) before its request can be allowed; however, Kubernetes also allows anonymous requests in some circumstances.For an overview of how authorization fits into the wider context of API access control, read Controlling Access to the Kubernetes API.Authorization verdictsKubernetes authorization of API requests takes place within the API server. The API server evaluates all of the request attributes against all policies, potentially also consulting external services, and then allows or denies the request.All parts of an API request must be allowed by some authorization mechanism in order to proceed. In other words: access is denied by default.Note:Access controls and policies that depend on specific fields of specific kinds of objects are handled by admission controllers.Kubernetes admission control happens after authorization has completed (and, therefore, only when the authorization decision was to allow the request).When multiple authorization modules are configured, each is checked in sequence. If any authorizer approves or denies a request, that decision is immediately returned and no other authorizer is consulted. If all modules have no opinion on the request, then the request is denied. An overall deny verdict means that the API server rejects the request and responds with an HTTP 403 (Forbidden) status.Request attributes used in authorizationKubernetes reviews only the following API request attributes:user - The user string provided during authentication.group - The list of group names to which the authenticated user belongs.extra - A map of arbitrary string keys to string values, provided by the authentication layer.API - Indicates whether the request is for an API resource.Request path - Path to miscellaneous non-resource endpoints like /api or /healthz.API request verb - API verbs like get, list, create, update, patch, watch, delete, and deletecollection are used for resource requests. To determine the request verb for a resource API endpoint, see request verbs and authorization.HTTP request verb - Lowercased HTTP methods like get, post, put, and delete are used for non-resource requests.Resource - The ID or name of the resource that is being accessed (for resource requests only) -- For resource requests using get, update, patch, and delete verbs, you must provide the resource name.Subresource - The subresource that is being accessed (for resource requests only).Namespace - The namespace of the object that is being accessed (for namespaced resource requests only).API group - The API Group being accessed (for resource requests only). An empty string designates the core API group.Request verbs and authorizationNon-resource requestsRequests to endpoints other than /api/v1/... or /apis/<group>/<version>/... are considered non",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authorization/",
    "id": "k8s_00774_qa_16714"
  },
  {
    "question": "How does Authorization work?",
    "answer": "AuthorizationDetails of Kubernetes authorization mechanisms and supported authorization modes.Kubernetes authorization takes place following authentication. Usually, a client making a request must be authenticated (logged in) before its request can be allowed; however, Kubernetes also allows anonymous requests in some circumstances.For an overview of how authorization fits into the wider context of API access control, read Controlling Access to the Kubernetes API.Authorization verdictsKubernetes authorization of API requests takes place within the API server. The API server evaluates all of the request attributes against all policies, potentially also consulting external services, and then allows or denies the request.All parts of an API request must be allowed by some authorization mechanism in order to proceed. In other words: access is denied by default.Note:Access controls and policies that depend on specific fields of specific kinds of objects are handled by admission controllers.Kubernetes admission control happens after authorization has completed (and, therefore, only when the authorization decision was to allow the request).When multiple authorization modules are configured, each is checked in sequence. If any authorizer approves or denies a request, that decision is immediately returned and no other authorizer is consulted. If all modules have no opinion on the request, then the request is denied. An overall deny verdict means that the API server rejects the request and responds with an HTTP 403 (Forbidden) status.Request attributes used in authorizationKubernetes reviews only the following API request attributes:user - The user string provided during authentication.group - The list of group names to which the authenticated user belongs.extra - A map of arbitrary string keys to string values, provided by the authentication layer.API - Indicates whether the request is for an API resource.Request path - Path to miscellaneous non-resource endpoints like /api or /healthz.API request verb - API verbs like get, list, create, update, patch, watch, delete, and deletecollection are used for resource requests. To determine the request verb for a resource API endpoint, see request verbs and authorization.HTTP request verb - Lowercased HTTP methods like get, post, put, and delete are used for non-resource requests.Resource - The ID or name of the resource that is being accessed (for resource requests only) -- For resource requests using get, update, patch, and delete verbs, you must provide the resource name.Subresource - The subresource that is being accessed (for resource requests only).Namespace - The namespace of the object that is being accessed (for namespaced resource requests only).API group - The API Group being accessed (for resource requests only). An empty string designates the core API group.Request verbs and authorizationNon-resource requestsRequests to endpoints other than /api/v1/... or /apis/<group>/<version>/... are considered non",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authorization/",
    "id": "k8s_00774_qa_16715"
  },
  {
    "question": "When would you use Authorization?",
    "answer": "AuthorizationDetails of Kubernetes authorization mechanisms and supported authorization modes.Kubernetes authorization takes place following authentication. Usually, a client making a request must be authenticated (logged in) before its request can be allowed; however, Kubernetes also allows anonymous requests in some circumstances.For an overview of how authorization fits into the wider context of API access control, read Controlling Access to the Kubernetes API.Authorization verdictsKubernetes authorization of API requests takes place within the API server. The API server evaluates all of the request attributes against all policies, potentially also consulting external services, and then allows or denies the request.All parts of an API request must be allowed by some authorization mechanism in order to proceed. In other words: access is denied by default.Note:Access controls and policies that depend on specific fields of specific kinds of objects are handled by admission controllers.Kubernetes admission control happens after authorization has completed (and, therefore, only when the authorization decision was to allow the request).When multiple authorization modules are configured, each is checked in sequence. If any authorizer approves or denies a request, that decision is immediately returned and no other authorizer is consulted. If all modules have no opinion on the request, then the request is denied. An overall deny verdict means that the API server rejects the request and responds with an HTTP 403 (Forbidden) status.Request attributes used in authorizationKubernetes reviews only the following API request attributes:user - The user string provided during authentication.group - The list of group names to which the authenticated user belongs.extra - A map of arbitrary string keys to string values, provided by the authentication layer.API - Indicates whether the request is for an API resource.Request path - Path to miscellaneous non-resource endpoints like /api or /healthz.API request verb - API verbs like get, list, create, update, patch, watch, delete, and deletecollection are used for resource requests. To determine the request verb for a resource API endpoint, see request verbs and authorization.HTTP request verb - Lowercased HTTP methods like get, post, put, and delete are used for non-resource requests.Resource - The ID or name of the resource that is being accessed (for resource requests only) -- For resource requests using get, update, patch, and delete verbs, you must provide the resource name.Subresource - The subresource that is being accessed (for resource requests only).Namespace - The namespace of the object that is being accessed (for namespaced resource requests only).API group - The API Group being accessed (for resource requests only). An empty string designates the core API group.Request verbs and authorizationNon-resource requestsRequests to endpoints other than /api/v1/... or /apis/<group>/<version>/... are considered non",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authorization/",
    "id": "k8s_00774_qa_16716"
  },
  {
    "question": "What are the benefits of Authorization?",
    "answer": "AuthorizationDetails of Kubernetes authorization mechanisms and supported authorization modes.Kubernetes authorization takes place following authentication. Usually, a client making a request must be authenticated (logged in) before its request can be allowed; however, Kubernetes also allows anonymous requests in some circumstances.For an overview of how authorization fits into the wider context of API access control, read Controlling Access to the Kubernetes API.Authorization verdictsKubernetes authorization of API requests takes place within the API server. The API server evaluates all of the request attributes against all policies, potentially also consulting external services, and then allows or denies the request.All parts of an API request must be allowed by some authorization mechanism in order to proceed. In other words: access is denied by default.Note:Access controls and policies that depend on specific fields of specific kinds of objects are handled by admission controllers.Kubernetes admission control happens after authorization has completed (and, therefore, only when the authorization decision was to allow the request).When multiple authorization modules are configured, each is checked in sequence. If any authorizer approves or denies a request, that decision is immediately returned and no other authorizer is consulted. If all modules have no opinion on the request, then the request is denied. An overall deny verdict means that the API server rejects the request and responds with an HTTP 403 (Forbidden) status.Request attributes used in authorizationKubernetes reviews only the following API request attributes:user - The user string provided during authentication.group - The list of group names to which the authenticated user belongs.extra - A map of arbitrary string keys to string values, provided by the authentication layer.API - Indicates whether the request is for an API resource.Request path - Path to miscellaneous non-resource endpoints like /api or /healthz.API request verb - API verbs like get, list, create, update, patch, watch, delete, and deletecollection are used for resource requests. To determine the request verb for a resource API endpoint, see request verbs and authorization.HTTP request verb - Lowercased HTTP methods like get, post, put, and delete are used for non-resource requests.Resource - The ID or name of the resource that is being accessed (for resource requests only) -- For resource requests using get, update, patch, and delete verbs, you must provide the resource name.Subresource - The subresource that is being accessed (for resource requests only).Namespace - The namespace of the object that is being accessed (for namespaced resource requests only).API group - The API Group being accessed (for resource requests only). An empty string designates the core API group.Request verbs and authorizationNon-resource requestsRequests to endpoints other than /api/v1/... or /apis/<group>/<version>/... are considered non",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authorization/",
    "id": "k8s_00774_qa_16717"
  },
  {
    "question": "What is Authorization?",
    "answer": "K u b e r n e t e s   a u t h o r i z a t i o n   t a k e s   p l a c e   f o l l o w i n g   a u t h e n t i c a t i o n .   U s u a l l y ,   a   c l i e n t   m a k i n g   a   r e q u e s t   m u s t   b e   a u t h e n t i c a t e d   ( l o g g e d   i n )   b e f o r e   i t s   r e q u e s t   c a n   b e   a l l o w e d ;   h o w e v e r ,   K u b e r n e t e s   a l s o   a l l o w s   a n o n y m o u s   r e q u e s t s   i n   s o m e   c i r c u m s t a n c e s .   F o r   a n   o v e r v i e w   o f   h o w   a u t h o r i z a t i o n   f i t s   i n t o   t h e   w i d e r   c o n t e x t   o f   A P I   a c c e s s   c o n t r o l ,   r e a d   C o n t r o l l i n g   A c c e s s   t o   t h e   K u b e r n e t e s   A P I .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authorization/",
    "id": "k8s_00774_section_1_16718"
  },
  {
    "question": "What is Authorization verdicts?",
    "answer": "K u b e r n e t e s   a u t h o r i z a t i o n   o f   A P I   r e q u e s t s   t a k e s   p l a c e   w i t h i n   t h e   A P I   s e r v e r .   T h e   A P I   s e r v e r   e v a l u a t e s   a l l   o f   t h e   r e q u e s t   a t t r i b u t e s   a g a i n s t   a l l   p o l i c i e s ,   p o t e n t i a l l y   a l s o   c o n s u l t i n g   e x t e r n a l   s e r v i c e s ,   a n d   t h e n   a l l o w s   o r   d e n i e s   t h e   r e q u e s t .   A l l   p a r t s   o f   a n   A P I   r e q u e s t   m u s t   b e   a l l o w e d   b y   s o m e   a u t h o r i z a t i o n   m e c h a n i s m   i n   o r d e r   t o   p r o c e e d .   I n   o t h e r   w o r d s :   a c c e s s   i s   d e n i e d   b y   d e f a u l t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authorization/",
    "id": "k8s_00774_section_2_16719"
  },
  {
    "question": "What is Note:?",
    "answer": "A c c e s s   c o n t r o l s   a n d   p o l i c i e s   t h a t   d e p e n d   o n   s p e c i f i c   f i e l d s   o f   s p e c i f i c   k i n d s   o f   o b j e c t s   a r e   h a n d l e d   b y   a d m i s s i o n   c o n t r o l l e r s .   K u b e r n e t e s   a d m i s s i o n   c o n t r o l   h a p p e n s   a f t e r   a u t h o r i z a t i o n   h a s   c o m p l e t e d   ( a n d ,   t h e r e f o r e ,   o n l y   w h e n   t h e   a u t h o r i z a t i o n   d e c i s i o n   w a s   t o   a l l o w   t h e   r e q u e s t ) .   W h e n   m u l t i p l e   a u t h o r i z a t i o n   m o d u l e s   a r e   c o n f i g u r e d ,   e a c h   i s   c h e c k e d   i n   s e q u e n c e .   I f   a n y   a u t h o r i z e r   a p p r o v e s   o r   d e n i e s   a   r e q u e s t ,   t h a t   d e c i s i o n   i s   i m m e d i a t e l y   r e t u r n e d   a n d   n o   o t h e r   a u t h o r i z e r   i s   c o n s u l t e d .   I f   a l l   m o d u l e s   h a v e   n o   o p i n i o n   o n   t h e   r e q u e s t ,   t h e n   t h e   r e q u e s t   i s   d e n i e d .   A n   o v e r a l l   d e n y   v e r d i c t   m e a n s   t h a t   t h e   A P I   s e r v e r   r e j e c t s   t h e   r e q u e s t   a n d   r e s p o n d s   w i t h   a n   H T T P   4 0 3   ( F o r b i d d e n )   s t a t u s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authorization/",
    "id": "k8s_00774_section_4_16720"
  },
  {
    "question": "What is Request attributes used in authorization?",
    "answer": "K u b e r n e t e s   r e v i e w s   o n l y   t h e   f o l l o w i n g   A P I   r e q u e s t   a t t r i b u t e s :   u s e r   -   T h e   u s e r   s t r i n g   p r o v i d e d   d u r i n g   a u t h e n t i c a t i o n . g r o u p   -   T h e   l i s t   o f   g r o u p   n a m e s   t o   w h i c h   t h e   a u t h e n t i c a t e d   u s e r   b e l o n g s . e x t r a   -   A   m a p   o f   a r b i t r a r y   s t r i n g   k e y s   t o   s t r i n g   v a l u e s ,   p r o v i d e d   b y   t h e   a u t h e n t i c a t i o n   l a y e r . A P I   -   I n d i c a t e s   w h e t h e r   t h e   r e q u e s t   i s   f o r   a n   A P I   r e s o u r c e . R e q u e s t   p a t h   -   P a t h   t o   m i s c e l l a n e o u s   n o n - r e s o u r c e   e n d p o i n t s   l i k e   / a p i   o r   / h e a l t h z . A P I   r e q u e s t   v e r b   -   A P I   v e r b s   l i k e   g e t ,   l i s t ,   c r e a t e ,   u p d a t e ,   p a t c h ,   w a t c h ,   d e l e t e ,   a n d   d e l e t e c o l l e c t i o n   a r e   u s e d   f o r   r e s o u r c e   r e q u e s t s .   T o   d e t e r m i n e   t h e   r e q u e s t   v e r b   f o r   a   r e s o u r c e   A P I   e n d p o i n t ,   s e e   r e q u e s t   v e r b s   a n d   a u t h o r i z a t i o n . H T T P   r e q u e s t   v e r b   -   L o w e r c a s e d   H T T P   m e t h o d s   l i k e   g e t ,   p o s t ,   p u t ,   a n d   d e l e t e   a r e   u s e d   f o r   n o n - r e s o u r c e   r e q u e s t s . R e s o u r c e   -   T h e   I D   o r   n a m e   o f   t h e   r e s o u r c e   t h a t   i s   b e i n g   a c c e s s e d   ( f o r   r e s o u r c e   r e q u e s t s   o n l y )   - -   F o r   r e s o u r c e   r e q u e s t s   u s i n g   g e t ,   u p d a t e ,   p a t c h ,   a n d   d e l e t e   v e r b s ,   y o u   m u s t   p r o v i d e   t h e   r e s o u r c e   n a m e . S u b r e s o u r c e   -   T h e   s u b r e s o u r c e   t h a t   i s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authorization/",
    "id": "k8s_00774_section_2_16721"
  },
  {
    "question": "What is Non-resource requests?",
    "answer": "R e q u e s t s   t o   e n d p o i n t s   o t h e r   t h a n   / a p i / v 1 / . . .   o r   / a p i s / < g r o u p > / < v e r s i o n > / . . .   a r e   c o n s i d e r e d   n o n - r e s o u r c e   r e q u e s t s ,   a n d   u s e   t h e   l o w e r - c a s e d   H T T P   m e t h o d   o f   t h e   r e q u e s t   a s   t h e   v e r b .   F o r   e x a m p l e ,   m a k i n g   a   G E T   r e q u e s t   u s i n g   H T T P   t o   e n d p o i n t s   s u c h   a s   / a p i   o r   / h e a l t h z   w o u l d   u s e   g e t   a s   t h e   v e r b .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authorization/",
    "id": "k8s_00774_section_4_16722"
  },
  {
    "question": "What is Resource requests?",
    "answer": "T o   d e t e r m i n e   t h e   r e q u e s t   v e r b   f o r   a   r e s o u r c e   A P I   e n d p o i n t ,   K u b e r n e t e s   m a p s   t h e   H T T P   v e r b   u s e d   a n d   c o n s i d e r s   w h e t h e r   o r   n o t   t h e   r e q u e s t   a c t s   o n   a n   i n d i v i d u a l   r e s o u r c e   o r   o n   a   c o l l e c t i o n   o f   r e s o u r c e s :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authorization/",
    "id": "k8s_00774_section_4_16723"
  },
  {
    "question": "What is Caution:?",
    "answer": "K u b e r n e t e s   s o m e t i m e s   c h e c k s   a u t h o r i z a t i o n   f o r   a d d i t i o n a l   p e r m i s s i o n s   u s i n g   s p e c i a l i z e d   v e r b s .   F o r   e x a m p l e :   S p e c i a l   c a s e s   o f   a u t h e n t i c a t i o n i m p e r s o n a t e   v e r b   o n   u s e r s ,   g r o u p s ,   a n d   s e r v i c e a c c o u n t s   i n   t h e   c o r e   A P I   g r o u p ,   a n d   t h e   u s e r e x t r a s   i n   t h e   a u t h e n t i c a t i o n . k 8 s . i o   A P I   g r o u p . A u t h o r i z a t i o n   o f   C e r t i f i c a t e S i g n i n g R e q u e s t s a p p r o v e   v e r b   f o r   C e r t i f i c a t e S i g n i n g R e q u e s t s ,   a n d   u p d a t e   f o r   r e v i s i o n s   t o   e x i s t i n g   a p p r o v a l s R B A C b i n d   a n d   e s c a l a t e   v e r b s   o n   r o l e s   a n d   c l u s t e r r o l e s   r e s o u r c e s   i n   t h e   r b a c . a u t h o r i z a t i o n . k 8 s . i o   A P I   g r o u p .   i m p e r s o n a t e   v e r b   o n   u s e r s ,   g r o u p s ,   a n d   s e r v i c e a c c o u n t s   i n   t h e   c o r e   A P I   g r o u p ,   a n d   t h e   u s e r e x t r a s   i n   t h e   a u t h e n t i c a t i o n . k 8 s . i o   A P I   g r o u p .   a p p r o v e   v e r b   f o r   C e r t i f i c a t e S i g n i n g R e q u e s t s ,   a n d   u p d a t e   f o r   r e v i s i o n s   t o   e x i s t i n g   a p p r o v a l s   b i n d   a n d   e s c a l a t e   v e r b s   o n   r o l e s   a n d   c l u s t e r r o l e s   r e s o u r c e s   i n   t h e   r b a c . a u t h o r i z a t i o n . k 8 s . i o   A P I   g r o u p .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authorization/",
    "id": "k8s_00774_section_4_16724"
  },
  {
    "question": "What is Authorization context?",
    "answer": "K u b e r n e t e s   e x p e c t s   a t t r i b u t e s   t h a t   a r e   c o m m o n   t o   R E S T   A P I   r e q u e s t s .   T h i s   m e a n s   t h a t   K u b e r n e t e s   a u t h o r i z a t i o n   w o r k s   w i t h   e x i s t i n g   o r g a n i z a t i o n - w i d e   o r   c l o u d - p r o v i d e r - w i d e   a c c e s s   c o n t r o l   s y s t e m s   w h i c h   m a y   h a n d l e   o t h e r   A P I s   b e s i d e s   t h e   K u b e r n e t e s   A P I .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authorization/",
    "id": "k8s_00774_section_2_16725"
  },
  {
    "question": "What is Authorization modes?",
    "answer": "T h e   K u b e r n e t e s   A P I   s e r v e r   m a y   a u t h o r i z e   a   r e q u e s t   u s i n g   o n e   o f   s e v e r a l   a u t h o r i z a t i o n   m o d e s :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authorization/",
    "id": "k8s_00774_section_2_16726"
  },
  {
    "question": "What is Warning:?",
    "answer": "E n a b l i n g   t h e   A l w a y s A l l o w   m o d e   b y p a s s e s   a u t h o r i z a t i o n ;   d o   n o t   u s e   t h i s   o n   a   c l u s t e r   w h e r e   y o u   d o   n o t   t r u s t   a l l   p o t e n t i a l   A P I   c l i e n t s ,   i n c l u d i n g   t h e   w o r k l o a d s   t h a t   y o u   r u n .   A u t h o r i z a t i o n   m e c h a n i s m s   t y p i c a l l y   r e t u r n   e i t h e r   a   d e n y   o r   n o   o p i n i o n   r e s u l t ;   s e e   a u t h o r i z a t i o n   v e r d i c t s   f o r   m o r e   o n   t h i s .   A c t i v a t i n g   t h e   A l w a y s A l l o w   m e a n s   t h a t   i f   a l l   o t h e r   a u t h o r i z e r s   r e t u r n   “ n o   o p i n i o n ” ,   t h e   r e q u e s t   i s   a l l o w e d .   F o r   e x a m p l e ,   - - a u t h o r i z a t i o n - m o d e = A l w a y s A l l o w , R B A C   h a s   t h e   s a m e   e f f e c t   a s   - - a u t h o r i z a t i o n - m o d e = A l w a y s A l l o w   b e c a u s e   K u b e r n e t e s   R B A C   d o e s   n o t   p r o v i d e   n e g a t i v e   ( d e n y )   a c c e s s   r u l e s .   Y o u   s h o u l d   n o t   u s e   t h e   A l w a y s A l l o w   m o d e   o n   a   K u b e r n e t e s   c l u s t e r   w h e r e   t h e   A P I   s e r v e r   i s   r e a c h a b l e   f r o m   t h e   p u b l i c   i n t e r n e t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authorization/",
    "id": "k8s_00774_section_4_16727"
  },
  {
    "question": "What is The system:masters group?",
    "answer": "T h e   s y s t e m : m a s t e r s   g r o u p   i s   a   b u i l t - i n   K u b e r n e t e s   g r o u p   t h a t   g r a n t s   u n r e s t r i c t e d   a c c e s s   t o   t h e   A P I   s e r v e r .   A n y   u s e r   a s s i g n e d   t o   t h i s   g r o u p   h a s   f u l l   c l u s t e r   a d m i n i s t r a t o r   p r i v i l e g e s ,   b y p a s s i n g   a n y   a u t h o r i z a t i o n   r e s t r i c t i o n s   i m p o s e d   b y   t h e   R B A C   o r   W e b h o o k   m e c h a n i s m s .   A v o i d   a d d i n g   u s e r s   t o   t h i s   g r o u p .   I f   y o u   d o   n e e d   t o   g r a n t   a   u s e r   c l u s t e r - a d m i n   r i g h t s ,   y o u   c a n   c r e a t e   a   C l u s t e r R o l e B i n d i n g   t o   t h e   b u i l t - i n   c l u s t e r - a d m i n   C l u s t e r R o l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authorization/",
    "id": "k8s_00774_section_3_16728"
  },
  {
    "question": "What is Authorization mode configuration?",
    "answer": "Y o u   c a n   c o n f i g u r e   t h e   K u b e r n e t e s   A P I   s e r v e r ' s   a u t h o r i z e r   c h a i n   u s i n g   e i t h e r   a   c o n f i g u r a t i o n   f i l e   o n l y   o r   c o m m a n d   l i n e   a r g u m e n t s .   Y o u   h a v e   t o   p i c k   o n e   o f   t h e   t w o   c o n f i g u r a t i o n   a p p r o a c h e s ;   s e t t i n g   b o t h   - - a u t h o r i z a t i o n - c o n f i g   p a t h   a n d   c o n f i g u r i n g   a n   a u t h o r i z a t i o n   w e b h o o k   u s i n g   t h e   - - a u t h o r i z a t i o n - m o d e   a n d   - - a u t h o r i z a t i o n - w e b h o o k - *   c o m m a n d   l i n e   a r g u m e n t s   i s   n o t   a l l o w e d .   I f   y o u   t r y   t h i s ,   t h e   A P I   s e r v e r   r e p o r t s   a n   e r r o r   m e s s a g e   d u r i n g   s t a r t u p ,   t h e n   e x i t s   i m m e d i a t e l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authorization/",
    "id": "k8s_00774_section_3_16729"
  },
  {
    "question": "What is Configuring the API Server using an authorization config file?",
    "answer": "K u b e r n e t e s   l e t s   y o u   c o n f i g u r e   a u t h o r i z a t i o n   c h a i n s   t h a t   c a n   i n c l u d e   m u l t i p l e   w e b h o o k s .   T h e   a u t h o r i z a t i o n   i t e m s   i n   t h a t   c h a i n   c a n   h a v e   w e l l - d e f i n e d   p a r a m e t e r s   t h a t   v a l i d a t e   r e q u e s t s   i n   a   p a r t i c u l a r   o r d e r ,   o f f e r i n g   y o u   f i n e - g r a i n e d   c o n t r o l ,   s u c h   a s   e x p l i c i t   D e n y   o n   f a i l u r e s .   T h e   c o n f i g u r a t i o n   f i l e   a p p r o a c h   e v e n   a l l o w s   y o u   t o   s p e c i f y   C E L   r u l e s   t o   p r e - f i l t e r   r e q u e s t s   b e f o r e   t h e y   a r e   d i s p a t c h e d   t o   w e b h o o k s ,   h e l p i n g   y o u   t o   p r e v e n t   u n n e c e s s a r y   i n v o c a t i o n s .   T h e   A P I   s e r v e r   a l s o   a u t o m a t i c a l l y   r e l o a d s   t h e   a u t h o r i z e r   c h a i n   w h e n   t h e   c o n f i g u r a t i o n   f i l e   i s   m o d i f i e d .   Y o u   s p e c i f y   t h e   p a t h   t o   t h e   a u t h o r i z a t i o n   c o n f i g u r a t i o n   u s i n g   t h e   - - a u t h o r i z a t i o n - c o n f i g   c o m m a n d   l i n e   a r g u m e n t .   I f   y o u   w a n t   t o   u s e   c o m m a n d   l i n e   a r g u m e n t s   i n s t e a d   o f   a   c o n f i g u r a t i o n   f i l e ,   t h a t ' s   a l s o   a   v a l i d   a n d   s u p p o r t e d   a p p r o a c h .   S o m e   a u t h o r i z a t i o n   c a p a b i l i t i e s   ( f o r   e x a m p l e :   m u l t i p l e   w e b h o o k s ,   w e b h o o k   f a i l u r e   p o l i c y ,   a n d   p r e - f i l t e r   r u l e s )   a r e   o n l y   a v a i l a b l e   i f   y o u   u s e   a n   a u t h o r i z a t i o n   c o n f i g u r a t i o n   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authorization/",
    "id": "k8s_00774_section_3_16730"
  },
  {
    "question": "What is Example configuration?",
    "answer": "- - -   #   #   D O   N O T   U S E   T H E   C O N F I G   A S   I S .   T H I S   I S   A N   E X A M P L E .   #   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   A u t h o r i z a t i o n C o n f i g u r a t i o n   a u t h o r i z e r s :   -   t y p e :   W e b h o o k   #   N a m e   u s e d   t o   d e s c r i b e   t h e   a u t h o r i z e r   #   T h i s   i s   e x p l i c i t l y   u s e d   i n   m o n i t o r i n g   m a c h i n e r y   f o r   m e t r i c s   #   N o t e :   #   -   V a l i d a t i o n   f o r   t h i s   f i e l d   i s   s i m i l a r   t o   h o w   K 8 s   l a b e l s   a r e   v a l i d a t e d   t o d a y .   #   R e q u i r e d ,   w i t h   n o   d e f a u l t   n a m e :   w e b h o o k   w e b h o o k :   #   T h e   d u r a t i o n   t o   c a c h e   ' a u t h o r i z e d '   r e s p o n s e s   f r o m   t h e   w e b h o o k   #   a u t h o r i z e r .   #   S a m e   a s   s e t t i n g   ` - - a u t h o r i z a t i o n - w e b h o o k - c a c h e - a u t h o r i z e d - t t l `   f l a g   #   D e f a u l t :   5 m 0 s   a u t h o r i z e d T T L :   3 0 s   #   I f   s e t   t o   f a l s e ,   ' a u t h o r i z e d '   r e s p o n s e s   f r o m   t h e   w e b h o o k   a r e   n o t   c a c h e d   #   a n d   t h e   s p e c i f i e d   a u t h o r i z e d T T L   i s   i g n o r e d / h a s   n o   e f f e c t .   #   S a m e   a s   s e t t i n g   ` - - a u t h o r i z a t i o n - w e b h o o k - c a c h e - a u t h o r i z e d - t t l `   f l a g   t o   ` 0 ` .   #   N o t e :   S e t t i n g   a u t h o r i z e d T T L   t o   ` 0 `   r e s u l t s   i n   i t s   d e f a u l t   v a l u e   b e i n g   u s e d .   #   D e f a u l t :   t r u e   c a c h e A u t h o r i z e d R e q u e s t s :   t r u e   #   T h e   d u r a t i o n   t o   c a c h e   ' u n a u t h o r i z e d '   r e s p o n s e s   f r o m   t h e   w e b h o o k   #   a u t h o r i z e r .   # ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authorization/",
    "id": "k8s_00774_section_4_16731"
  },
  {
    "question": "What is Authorization configuration and reloads?",
    "answer": "K u b e r n e t e s   r e l o a d s   t h e   a u t h o r i z a t i o n   c o n f i g u r a t i o n   f i l e   w h e n   t h e   A P I   s e r v e r   o b s e r v e s   a   c h a n g e   t o   t h e   f i l e ,   a n d   a l s o   o n   a   6 0   s e c o n d   s c h e d u l e   i f   n o   c h a n g e   e v e n t s   w e r e   o b s e r v e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authorization/",
    "id": "k8s_00774_section_4_16732"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   m u s t   e n s u r e   t h a t   a l l   n o n - w e b h o o k   a u t h o r i z e r   t y p e s   r e m a i n   u n c h a n g e d   i n   t h e   f i l e   o n   r e l o a d .   A   r e l o a d   m u s t   n o t   a d d   o r   r e m o v e   N o d e   o r   R B A C   a u t h o r i z e r s   ( t h e y   c a n   b e   r e o r d e r e d ,   b u t   c a n n o t   b e   a d d e d   o r   r e m o v e d ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authorization/",
    "id": "k8s_00774_section_4_16733"
  },
  {
    "question": "What is Command line authorization mode configuration?",
    "answer": "Y o u   c a n   u s e   t h e   f o l l o w i n g   m o d e s :   - - a u t h o r i z a t i o n - m o d e = A B A C   ( A t t r i b u t e - b a s e d   a c c e s s   c o n t r o l   m o d e ) - - a u t h o r i z a t i o n - m o d e = R B A C   ( R o l e - b a s e d   a c c e s s   c o n t r o l   m o d e ) - - a u t h o r i z a t i o n - m o d e = N o d e   ( N o d e   a u t h o r i z e r ) - - a u t h o r i z a t i o n - m o d e = W e b h o o k   ( W e b h o o k   a u t h o r i z a t i o n   m o d e ) - - a u t h o r i z a t i o n - m o d e = A l w a y s A l l o w   ( a l w a y s   a l l o w s   r e q u e s t s ;   c a r r i e s   s e c u r i t y   r i s k s ) - - a u t h o r i z a t i o n - m o d e = A l w a y s D e n y   ( a l w a y s   d e n i e s   r e q u e s t s )   Y o u   c a n   c h o o s e   m o r e   t h a n   o n e   a u t h o r i z a t i o n   m o d e ;   f o r   e x a m p l e :   - - a u t h o r i z a t i o n - m o d e = N o d e , R B A C , W e b h o o k   K u b e r n e t e s   c h e c k s   a u t h o r i z a t i o n   m o d u l e s   b a s e d   o n   t h e   o r d e r   t h a t   y o u   s p e c i f y   t h e m   o n   t h e   A P I   s e r v e r ' s   c o m m a n d   l i n e ,   s o   a n   e a r l i e r   m o d u l e   h a s   h i g h e r   p r i o r i t y   t o   a l l o w   o r   d e n y   a   r e q u e s t .   Y o u   c a n n o t   c o m b i n e   t h e   - - a u t h o r i z a t i o n - m o d e   c o m m a n d   l i n e   a r g u m e n t   w i t h   t h e   - - a u t h o r i z a t i o n - c o n f i g   c o m m a n d   l i n e   a r g u m e n t   u s e d   f o r   c o n f i g u r i n g   a u t h o r i z a t i o n   u s i n g   a   l o c a l   f i l e .   F o r   m o r e   i n f o r m a t i o n   o n   c o m m a n d   l i n e   a r g u m e n t s   t o   t h e   A P I   s e r v e r ,   r e a d   t h e   k u b e - a p i s e r v e r   r e f e r e n c e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authorization/",
    "id": "k8s_00774_section_3_16734"
  },
  {
    "question": "What is Privilege escalation via workload creation or edits?",
    "answer": "U s e r s   w h o   c a n   c r e a t e / e d i t   p o d s   i n   a   n a m e s p a c e ,   e i t h e r   d i r e c t l y   o r   t h r o u g h   a n   o b j e c t   t h a t   e n a b l e s   i n d i r e c t   w o r k l o a d   m a n a g e m e n t ,   m a y   b e   a b l e   t o   e s c a l a t e   t h e i r   p r i v i l e g e s   i n   t h a t   n a m e s p a c e .   T h e   p o t e n t i a l   r o u t e s   t o   p r i v i l e g e   e s c a l a t i o n   i n c l u d e   K u b e r n e t e s   A P I   e x t e n s i o n s   a n d   t h e i r   a s s o c i a t e d   c o n t r o l l e r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authorization/",
    "id": "k8s_00774_section_2_16735"
  },
  {
    "question": "What is Escalation paths?",
    "answer": "T h e r e   a r e   d i f f e r e n t   w a y s   t h a t   a n   a t t a c k e r   o r   u n t r u s t w o r t h y   u s e r   c o u l d   g a i n   a d d i t i o n a l   p r i v i l e g e   w i t h i n   a   n a m e s p a c e ,   i f   y o u   a l l o w   t h e m   t o   r u n   a r b i t r a r y   P o d s   i n   t h a t   n a m e s p a c e :   M o u n t i n g   a r b i t r a r y   S e c r e t s   i n   t h a t   n a m e s p a c e C a n   b e   u s e d   t o   a c c e s s   c o n f i d e n t i a l   i n f o r m a t i o n   m e a n t   f o r   o t h e r   w o r k l o a d s C a n   b e   u s e d   t o   o b t a i n   a   m o r e   p r i v i l e g e d   S e r v i c e A c c o u n t ' s   s e r v i c e   a c c o u n t   t o k e n U s i n g   a r b i t r a r y   S e r v i c e A c c o u n t s   i n   t h a t   n a m e s p a c e C a n   p e r f o r m   K u b e r n e t e s   A P I   a c t i o n s   a s   a n o t h e r   w o r k l o a d   ( i m p e r s o n a t i o n ) C a n   p e r f o r m   a n y   p r i v i l e g e d   a c t i o n s   t h a t   S e r v i c e A c c o u n t   h a s M o u n t i n g   o r   u s i n g   C o n f i g M a p s   m e a n t   f o r   o t h e r   w o r k l o a d s   i n   t h a t   n a m e s p a c e C a n   b e   u s e d   t o   o b t a i n   i n f o r m a t i o n   m e a n t   f o r   o t h e r   w o r k l o a d s ,   s u c h   a s   d a t a b a s e   h o s t   n a m e s . M o u n t i n g   v o l u m e s   m e a n t   f o r   o t h e r   w o r k l o a d s   i n   t h a t   n a m e s p a c e C a n   b e   u s e d   t o   o b t a i n   i n f o r m a t i o n   m e a n t   f o r   o t h e r   w o r k l o a d s ,   a n d   c h a n g e   i t .   C a n   b e   u s e d   t o   a c c e s s   c o n f i d e n t i a l   i n f o r m a t i o n   m e a n t   f o r   o t h e r   w o r k l o a d s C a n   b e   u s e d   t o   o b t a i n   a   m o r e   p r i v i l e g e d   S e r v i c e A c c o u n t ' s   s e r v i c e   a c c o u n t   t o k e n   C a n   p e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authorization/",
    "id": "k8s_00774_section_3_16736"
  },
  {
    "question": "What is Checking API access?",
    "answer": "k u b e c t l   p r o v i d e s   t h e   a u t h   c a n - i   s u b c o m m a n d   f o r   q u i c k l y   q u e r y i n g   t h e   A P I   a u t h o r i z a t i o n   l a y e r .   T h e   c o m m a n d   u s e s   t h e   S e l f S u b j e c t A c c e s s R e v i e w   A P I   t o   d e t e r m i n e   i f   t h e   c u r r e n t   u s e r   c a n   p e r f o r m   a   g i v e n   a c t i o n ,   a n d   w o r k s   r e g a r d l e s s   o f   t h e   a u t h o r i z a t i o n   m o d e   u s e d .   k u b e c t l   a u t h   c a n - i   c r e a t e   d e p l o y m e n t s   - - n a m e s p a c e   d e v   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   y e s   k u b e c t l   a u t h   c a n - i   c r e a t e   d e p l o y m e n t s   - - n a m e s p a c e   p r o d   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   n o   A d m i n i s t r a t o r s   c a n   c o m b i n e   t h i s   w i t h   u s e r   i m p e r s o n a t i o n   t o   d e t e r m i n e   w h a t   a c t i o n   o t h e r   u s e r s   c a n   p e r f o r m .   k u b e c t l   a u t h   c a n - i   l i s t   s e c r e t s   - - n a m e s p a c e   d e v   - - a s   d a v e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   n o   S i m i l a r l y ,   t o   c h e c k   w h e t h e r   a   S e r v i c e A c c o u n t   n a m e d   d e v - s a   i n   N a m e s p a c e   d e v   c a n   l i s t   P o d s   i n   t h e   N a m e s p a c e   t a r g e t :   k u b e c t l   a u t h   c a n - i   l i s t   p o d s   \\   - - n a m e s p a c e   t a r g e t   \\   - - a s   s y s t e m : s e r v i c e a c c o u n t : d e v : d e v - s a   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   y e s   S e l f S u b j e c t A c c e s s R e v i e w   i s   p a r t   o f   t h e   a u t h o r i z a t i o n . k 8 s . i o   A P I   g r o u p ,   w h i c h   e x p o s e s   t h e   A P I   s e r v e r   a u t h o r i z a t i o n   t o   e x t e r n a l   s e r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authorization/",
    "id": "k8s_00774_section_2_16737"
  },
  {
    "question": "What is What's next?",
    "answer": "T o   l e a r n   m o r e   a b o u t   A u t h e n t i c a t i o n ,   s e e   A u t h e n t i c a t i o n . F o r   a n   o v e r v i e w ,   r e a d   C o n t r o l l i n g   A c c e s s   t o   t h e   K u b e r n e t e s   A P I . T o   l e a r n   m o r e   a b o u t   A d m i s s i o n   C o n t r o l ,   s e e   U s i n g   A d m i s s i o n   C o n t r o l l e r s . R e a d   m o r e   a b o u t   C o m m o n   E x p r e s s i o n   L a n g u a g e   i n   K u b e r n e t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/access-authn-authz/authorization/",
    "id": "k8s_00774_section_2_16738"
  },
  {
    "question": "What is Learn Kubernetes Basics?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Learn Kubernetes Basics1: Create a Cluster1.1: Using Minikube to Create a Cluster2: Deploy an App2.1: Using kubectl to Create a Deployment3: Explore Your App3.1: Viewing Pods and Nodes4: Expose Your App Publicly4.1: Using a Service to Expose Your App5: Scale Your App5.1: Running Multiple Instances of Your App6: Update Your App6.1: Performing a Rolling UpdateObjectivesThis tutorial provides a walkthrough of the basics of the Kubernetes cluster orchestration system. Each module contains some background information on major Kubernetes features and concepts, and a tutorial for you to follow along.Using the tutorials, you can learn to:Deploy a containerized application on a cluster.Scale the deployment.Update the containerized application with a new software version.Debug the containerized application.What can Kubernetes do for you?With modern web services, users expect applications to be available 24/7, and developers expect to deploy new versions of those applications several times a day. Containerization helps package software to serve these goals, enabling applications to be released and updated without downtime. Kubernetes helps you make sure those containerized applications run where and when you want, and helps them find the resources and tools they need to work. Kubernetes is a production-ready, open source platform designed with Google's accumulated experience in container orchestration, combined with best-of-breed ideas from the community.Kubernetes Basics Modules1. Create a Kubernetes cluster2. Deploy an app3. Explore your app4. Expose your app publicly5. Scale up your app6. Update your appWhat's",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_qa_16739"
  },
  {
    "question": "How does Learn Kubernetes Basics work?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Learn Kubernetes Basics1: Create a Cluster1.1: Using Minikube to Create a Cluster2: Deploy an App2.1: Using kubectl to Create a Deployment3: Explore Your App3.1: Viewing Pods and Nodes4: Expose Your App Publicly4.1: Using a Service to Expose Your App5: Scale Your App5.1: Running Multiple Instances of Your App6: Update Your App6.1: Performing a Rolling UpdateObjectivesThis tutorial provides a walkthrough of the basics of the Kubernetes cluster orchestration system. Each module contains some background information on major Kubernetes features and concepts, and a tutorial for you to follow along.Using the tutorials, you can learn to:Deploy a containerized application on a cluster.Scale the deployment.Update the containerized application with a new software version.Debug the containerized application.What can Kubernetes do for you?With modern web services, users expect applications to be available 24/7, and developers expect to deploy new versions of those applications several times a day. Containerization helps package software to serve these goals, enabling applications to be released and updated without downtime. Kubernetes helps you make sure those containerized applications run where and when you want, and helps them find the resources and tools they need to work. Kubernetes is a production-ready, open source platform designed with Google's accumulated experience in container orchestration, combined with best-of-breed ideas from the community.Kubernetes Basics Modules1. Create a Kubernetes cluster2. Deploy an app3. Explore your app4. Expose your app publicly5. Scale up your app6. Update your appWhat's",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_qa_16740"
  },
  {
    "question": "When would you use Learn Kubernetes Basics?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Learn Kubernetes Basics1: Create a Cluster1.1: Using Minikube to Create a Cluster2: Deploy an App2.1: Using kubectl to Create a Deployment3: Explore Your App3.1: Viewing Pods and Nodes4: Expose Your App Publicly4.1: Using a Service to Expose Your App5: Scale Your App5.1: Running Multiple Instances of Your App6: Update Your App6.1: Performing a Rolling UpdateObjectivesThis tutorial provides a walkthrough of the basics of the Kubernetes cluster orchestration system. Each module contains some background information on major Kubernetes features and concepts, and a tutorial for you to follow along.Using the tutorials, you can learn to:Deploy a containerized application on a cluster.Scale the deployment.Update the containerized application with a new software version.Debug the containerized application.What can Kubernetes do for you?With modern web services, users expect applications to be available 24/7, and developers expect to deploy new versions of those applications several times a day. Containerization helps package software to serve these goals, enabling applications to be released and updated without downtime. Kubernetes helps you make sure those containerized applications run where and when you want, and helps them find the resources and tools they need to work. Kubernetes is a production-ready, open source platform designed with Google's accumulated experience in container orchestration, combined with best-of-breed ideas from the community.Kubernetes Basics Modules1. Create a Kubernetes cluster2. Deploy an app3. Explore your app4. Expose your app publicly5. Scale up your app6. Update your appWhat's",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_qa_16741"
  },
  {
    "question": "What are the benefits of Learn Kubernetes Basics?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Learn Kubernetes Basics1: Create a Cluster1.1: Using Minikube to Create a Cluster2: Deploy an App2.1: Using kubectl to Create a Deployment3: Explore Your App3.1: Viewing Pods and Nodes4: Expose Your App Publicly4.1: Using a Service to Expose Your App5: Scale Your App5.1: Running Multiple Instances of Your App6: Update Your App6.1: Performing a Rolling UpdateObjectivesThis tutorial provides a walkthrough of the basics of the Kubernetes cluster orchestration system. Each module contains some background information on major Kubernetes features and concepts, and a tutorial for you to follow along.Using the tutorials, you can learn to:Deploy a containerized application on a cluster.Scale the deployment.Update the containerized application with a new software version.Debug the containerized application.What can Kubernetes do for you?With modern web services, users expect applications to be available 24/7, and developers expect to deploy new versions of those applications several times a day. Containerization helps package software to serve these goals, enabling applications to be released and updated without downtime. Kubernetes helps you make sure those containerized applications run where and when you want, and helps them find the resources and tools they need to work. Kubernetes is a production-ready, open source platform designed with Google's accumulated experience in container orchestration, combined with best-of-breed ideas from the community.Kubernetes Basics Modules1. Create a Kubernetes cluster2. Deploy an app3. Explore your app4. Expose your app publicly5. Scale up your app6. Update your appWhat's",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_qa_16742"
  },
  {
    "question": "What is Learn Kubernetes Basics?",
    "answer": "1 :   C r e a t e   a   C l u s t e r 1 . 1 :   U s i n g   M i n i k u b e   t o   C r e a t e   a   C l u s t e r 2 :   D e p l o y   a n   A p p 2 . 1 :   U s i n g   k u b e c t l   t o   C r e a t e   a   D e p l o y m e n t 3 :   E x p l o r e   Y o u r   A p p 3 . 1 :   V i e w i n g   P o d s   a n d   N o d e s 4 :   E x p o s e   Y o u r   A p p   P u b l i c l y 4 . 1 :   U s i n g   a   S e r v i c e   t o   E x p o s e   Y o u r   A p p 5 :   S c a l e   Y o u r   A p p 5 . 1 :   R u n n i n g   M u l t i p l e   I n s t a n c e s   o f   Y o u r   A p p 6 :   U p d a t e   Y o u r   A p p 6 . 1 :   P e r f o r m i n g   a   R o l l i n g   U p d a t e   1 . 1 :   U s i n g   M i n i k u b e   t o   C r e a t e   a   C l u s t e r   2 . 1 :   U s i n g   k u b e c t l   t o   C r e a t e   a   D e p l o y m e n t   3 . 1 :   V i e w i n g   P o d s   a n d   N o d e s   4 . 1 :   U s i n g   a   S e r v i c e   t o   E x p o s e   Y o u r   A p p   5 . 1 :   R u n n i n g   M u l t i p l e   I n s t a n c e s   o f   Y o u r   A p p   6 . 1 :   P e r f o r m i n g   a   R o l l i n g   U p d a t e",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_1_16743"
  },
  {
    "question": "What is Objectives?",
    "answer": "T h i s   t u t o r i a l   p r o v i d e s   a   w a l k t h r o u g h   o f   t h e   b a s i c s   o f   t h e   K u b e r n e t e s   c l u s t e r   o r c h e s t r a t i o n   s y s t e m .   E a c h   m o d u l e   c o n t a i n s   s o m e   b a c k g r o u n d   i n f o r m a t i o n   o n   m a j o r   K u b e r n e t e s   f e a t u r e s   a n d   c o n c e p t s ,   a n d   a   t u t o r i a l   f o r   y o u   t o   f o l l o w   a l o n g .   U s i n g   t h e   t u t o r i a l s ,   y o u   c a n   l e a r n   t o :   D e p l o y   a   c o n t a i n e r i z e d   a p p l i c a t i o n   o n   a   c l u s t e r . S c a l e   t h e   d e p l o y m e n t . U p d a t e   t h e   c o n t a i n e r i z e d   a p p l i c a t i o n   w i t h   a   n e w   s o f t w a r e   v e r s i o n . D e b u g   t h e   c o n t a i n e r i z e d   a p p l i c a t i o n .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_2_16744"
  },
  {
    "question": "What is What can Kubernetes do for you??",
    "answer": "W i t h   m o d e r n   w e b   s e r v i c e s ,   u s e r s   e x p e c t   a p p l i c a t i o n s   t o   b e   a v a i l a b l e   2 4 / 7 ,   a n d   d e v e l o p e r s   e x p e c t   t o   d e p l o y   n e w   v e r s i o n s   o f   t h o s e   a p p l i c a t i o n s   s e v e r a l   t i m e s   a   d a y .   C o n t a i n e r i z a t i o n   h e l p s   p a c k a g e   s o f t w a r e   t o   s e r v e   t h e s e   g o a l s ,   e n a b l i n g   a p p l i c a t i o n s   t o   b e   r e l e a s e d   a n d   u p d a t e d   w i t h o u t   d o w n t i m e .   K u b e r n e t e s   h e l p s   y o u   m a k e   s u r e   t h o s e   c o n t a i n e r i z e d   a p p l i c a t i o n s   r u n   w h e r e   a n d   w h e n   y o u   w a n t ,   a n d   h e l p s   t h e m   f i n d   t h e   r e s o u r c e s   a n d   t o o l s   t h e y   n e e d   t o   w o r k .   K u b e r n e t e s   i s   a   p r o d u c t i o n - r e a d y ,   o p e n   s o u r c e   p l a t f o r m   d e s i g n e d   w i t h   G o o g l e ' s   a c c u m u l a t e d   e x p e r i e n c e   i n   c o n t a i n e r   o r c h e s t r a t i o n ,   c o m b i n e d   w i t h   b e s t - o f - b r e e d   i d e a s   f r o m   t h e   c o m m u n i t y .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_2_16745"
  },
  {
    "question": "What is What's next?",
    "answer": "T u t o r i a l   U s i n g   M i n i k u b e   t o   C r e a t e   a   C l u s t e r",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_2_16746"
  },
  {
    "question": "What is 1 - Create a Cluster?",
    "answer": "L e a r n   a b o u t   K u b e r n e t e s   c l u s t e r   a n d   c r e a t e   a   s i m p l e   c l u s t e r   u s i n g   M i n i k u b e .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_1_16747"
  },
  {
    "question": "What is Objectives?",
    "answer": "L e a r n   w h a t   a   K u b e r n e t e s   c l u s t e r   i s . L e a r n   w h a t   M i n i k u b e   i s . S t a r t   a   K u b e r n e t e s   c l u s t e r   o n   y o u r   c o m p u t e r .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_2_16748"
  },
  {
    "question": "What is Kubernetes Clusters?",
    "answer": "K u b e r n e t e s   c o o r d i n a t e s   a   h i g h l y   a v a i l a b l e   c l u s t e r   o f   c o m p u t e r s   t h a t   a r e   c o n n e c t e d   t o   w o r k   a s   a   s i n g l e   u n i t .   T h e   a b s t r a c t i o n s   i n   K u b e r n e t e s   a l l o w   y o u   t o   d e p l o y   c o n t a i n e r i z e d   a p p l i c a t i o n s   t o   a   c l u s t e r   w i t h o u t   t y i n g   t h e m   s p e c i f i c a l l y   t o   i n d i v i d u a l   m a c h i n e s .   T o   m a k e   u s e   o f   t h i s   n e w   m o d e l   o f   d e p l o y m e n t ,   a p p l i c a t i o n s   n e e d   t o   b e   p a c k a g e d   i n   a   w a y   t h a t   d e c o u p l e s   t h e m   f r o m   i n d i v i d u a l   h o s t s :   t h e y   n e e d   t o   b e   c o n t a i n e r i z e d .   C o n t a i n e r i z e d   a p p l i c a t i o n s   a r e   m o r e   f l e x i b l e   a n d   a v a i l a b l e   t h a n   i n   p a s t   d e p l o y m e n t   m o d e l s ,   w h e r e   a p p l i c a t i o n s   w e r e   i n s t a l l e d   d i r e c t l y   o n t o   s p e c i f i c   m a c h i n e s   a s   p a c k a g e s   d e e p l y   i n t e g r a t e d   i n t o   t h e   h o s t .   K u b e r n e t e s   a u t o m a t e s   t h e   d i s t r i b u t i o n   a n d   s c h e d u l i n g   o f   a p p l i c a t i o n   c o n t a i n e r s   a c r o s s   a   c l u s t e r   i n   a   m o r e   e f f i c i e n t   w a y .   K u b e r n e t e s   i s   a n   o p e n - s o u r c e   p l a t f o r m   a n d   i s   p r o d u c t i o n - r e a d y .   A   K u b e r n e t e s   c l u s t e r   c o n s i s t s   o f   t w o   t y p e s   o f   r e s o u r c e s :   T h e   C o n t r o l   P l a n e   c o o r d i n a t e s   t h e   c l u s t e r N o d e s   a r e   t h e   w o r k e r s   t h a t   r u n   a p p l i c a t i o n s",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_2_16749"
  },
  {
    "question": "What is Cluster Diagram?",
    "answer": "T h e   C o n t r o l   P l a n e   i s   r e s p o n s i b l e   f o r   m a n a g i n g   t h e   c l u s t e r .   T h e   C o n t r o l   P l a n e   c o o r d i n a t e s   a l l   a c t i v i t i e s   i n   y o u r   c l u s t e r ,   s u c h   a s   s c h e d u l i n g   a p p l i c a t i o n s ,   m a i n t a i n i n g   a p p l i c a t i o n s '   d e s i r e d   s t a t e ,   s c a l i n g   a p p l i c a t i o n s ,   a n d   r o l l i n g   o u t   n e w   u p d a t e s .   A   n o d e   i s   a   V M   o r   a   p h y s i c a l   c o m p u t e r   t h a t   s e r v e s   a s   a   w o r k e r   m a c h i n e   i n   a   K u b e r n e t e s   c l u s t e r .   E a c h   n o d e   h a s   a   K u b e l e t ,   w h i c h   i s   a n   a g e n t   f o r   m a n a g i n g   t h e   n o d e   a n d   c o m m u n i c a t i n g   w i t h   t h e   K u b e r n e t e s   c o n t r o l   p l a n e .   T h e   n o d e   s h o u l d   a l s o   h a v e   t o o l s   f o r   h a n d l i n g   c o n t a i n e r   o p e r a t i o n s ,   s u c h   a s   c o n t a i n e r d   o r   C R I - O .   A   K u b e r n e t e s   c l u s t e r   t h a t   h a n d l e s   p r o d u c t i o n   t r a f f i c   s h o u l d   h a v e   a   m i n i m u m   o f   t h r e e   n o d e s   b e c a u s e   i f   o n e   n o d e   g o e s   d o w n ,   b o t h   a n   e t c d   m e m b e r   a n d   a   c o n t r o l   p l a n e   i n s t a n c e   a r e   l o s t ,   a n d   r e d u n d a n c y   i s   c o m p r o m i s e d .   Y o u   c a n   m i t i g a t e   t h i s   r i s k   b y   a d d i n g   m o r e   c o n t r o l   p l a n e   n o d e s .   W h e n   y o u   d e p l o y   a p p l i c a t i o n s   o n   K u b e r n e t e s ,   y o u   t e l l   t h e   c o n t r o l   p l a n e   t o   s t a r t   t h e   a p p l i c a t i o n   c o n t a i n e r s .   T h e   c o n t r o l   p l a n e   s c h e d u l e s   t h e   c o n t a i n e r s   t o   r u n   o n   t h e   c l u s t e ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_3_16750"
  },
  {
    "question": "What is What's next?",
    "answer": "T u t o r i a l   H e l l o   M i n i k u b e . L e a r n   m o r e   a b o u t   C l u s t e r   A r c h i t e c t u r e .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_2_16751"
  },
  {
    "question": "What is Objectives?",
    "answer": "L e a r n   a b o u t   a p p l i c a t i o n   D e p l o y m e n t s . D e p l o y   y o u r   f i r s t   a p p   o n   K u b e r n e t e s   w i t h   k u b e c t l .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_2_16752"
  },
  {
    "question": "What is Note:?",
    "answer": "O n c e   y o u   h a v e   a   r u n n i n g   K u b e r n e t e s   c l u s t e r ,   y o u   c a n   d e p l o y   y o u r   c o n t a i n e r i z e d   a p p l i c a t i o n s   o n   t o p   o f   i t .   T o   d o   s o ,   y o u   c r e a t e   a   K u b e r n e t e s   D e p l o y m e n t .   T h e   D e p l o y m e n t   i n s t r u c t s   K u b e r n e t e s   h o w   t o   c r e a t e   a n d   u p d a t e   i n s t a n c e s   o f   y o u r   a p p l i c a t i o n .   O n c e   y o u ' v e   c r e a t e d   a   D e p l o y m e n t ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   s c h e d u l e s   t h e   a p p l i c a t i o n   i n s t a n c e s   i n c l u d e d   i n   t h a t   D e p l o y m e n t   t o   r u n   o n   i n d i v i d u a l   N o d e s   i n   t h e   c l u s t e r .   O n c e   t h e   a p p l i c a t i o n   i n s t a n c e s   a r e   c r e a t e d ,   a   K u b e r n e t e s   D e p l o y m e n t   c o n t r o l l e r   c o n t i n u o u s l y   m o n i t o r s   t h o s e   i n s t a n c e s .   I f   t h e   N o d e   h o s t i n g   a n   i n s t a n c e   g o e s   d o w n   o r   i s   d e l e t e d ,   t h e   D e p l o y m e n t   c o n t r o l l e r   r e p l a c e s   t h e   i n s t a n c e   w i t h   a n   i n s t a n c e   o n   a n o t h e r   N o d e   i n   t h e   c l u s t e r .   T h i s   p r o v i d e s   a   s e l f - h e a l i n g   m e c h a n i s m   t o   a d d r e s s   m a c h i n e   f a i l u r e   o r   m a i n t e n a n c e .   I n   a   p r e - o r c h e s t r a t i o n   w o r l d ,   i n s t a l l a t i o n   s c r i p t s   w o u l d   o f t e n   b e   u s e d   t o   s t a r t   a p p l i c a t i o n s ,   b u t   t h e y   d i d   n o t   a l l o w   r e c o v e r y   f r o m   m a c h i n e   f a i l u r e .   B y   b o t h   c r e a t i n g   y o u r   a p p l i c a t i o n   i n s t a n c e s   a n d   k e e p i n g   t h e m   r u n n i n g   a c r o s s   N o d e s ,   K u ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_4_16753"
  },
  {
    "question": "What is Deploying your first app on Kubernetes?",
    "answer": "Y o u   c a n   c r e a t e   a n d   m a n a g e   a   D e p l o y m e n t   b y   u s i n g   t h e   K u b e r n e t e s   c o m m a n d   l i n e   i n t e r f a c e ,   k u b e c t l .   k u b e c t l   u s e s   t h e   K u b e r n e t e s   A P I   t o   i n t e r a c t   w i t h   t h e   c l u s t e r .   I n   t h i s   m o d u l e ,   y o u ' l l   l e a r n   t h e   m o s t   c o m m o n   k u b e c t l   c o m m a n d s   n e e d e d   t o   c r e a t e   D e p l o y m e n t s   t h a t   r u n   y o u r   a p p l i c a t i o n s   o n   a   K u b e r n e t e s   c l u s t e r .   W h e n   y o u   c r e a t e   a   D e p l o y m e n t ,   y o u ' l l   n e e d   t o   s p e c i f y   t h e   c o n t a i n e r   i m a g e   f o r   y o u r   a p p l i c a t i o n   a n d   t h e   n u m b e r   o f   r e p l i c a s   t h a t   y o u   w a n t   t o   r u n .   Y o u   c a n   c h a n g e   t h a t   i n f o r m a t i o n   l a t e r   b y   u p d a t i n g   y o u r   D e p l o y m e n t ;   M o d u l e   5   a n d   M o d u l e   6   o f   t h e   b o o t c a m p   d i s c u s s   h o w   y o u   c a n   s c a l e   a n d   u p d a t e   y o u r   D e p l o y m e n t s .   F o r   y o u r   f i r s t   D e p l o y m e n t ,   y o u ' l l   u s e   a   h e l l o - n o d e   a p p l i c a t i o n   p a c k a g e d   i n   a   D o c k e r   c o n t a i n e r   t h a t   u s e s   N G I N X   t o   e c h o   b a c k   a l l   t h e   r e q u e s t s .   ( I f   y o u   d i d n ' t   a l r e a d y   t r y   c r e a t i n g   a   h e l l o - n o d e   a p p l i c a t i o n   a n d   d e p l o y i n g   i t   u s i n g   a   c o n t a i n e r ,   y o u   c a n   d o   t h a t   f i r s t   b y   f o l l o w i n g   t h e   i n s t r u c t i o n s   f r o m   t h e   H e l l o   M i n i k u b e   t u t o r i a l . )   Y o u   w i l l   n e e d   t o   h a v e   i n s t a l l e d   k u b e c t l   a s   w e l l .   I f   y o u   n e e d   t o   i n s t a l l ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_2_16754"
  },
  {
    "question": "What is kubectl basics?",
    "answer": "T h e   c o m m o n   f o r m a t   o f   a   k u b e c t l   c o m m a n d   i s :   k u b e c t l   a c t i o n   r e s o u r c e .   T h i s   p e r f o r m s   t h e   s p e c i f i e d   a c t i o n   ( l i k e   c r e a t e ,   d e s c r i b e   o r   d e l e t e )   o n   t h e   s p e c i f i e d   r e s o u r c e   ( l i k e   n o d e   o r   d e p l o y m e n t .   Y o u   c a n   u s e   - - h e l p   a f t e r   t h e   s u b c o m m a n d   t o   g e t   a d d i t i o n a l   i n f o   a b o u t   p o s s i b l e   p a r a m e t e r s   ( f o r   e x a m p l e :   k u b e c t l   g e t   n o d e s   - - h e l p ) .   C h e c k   t h a t   k u b e c t l   i s   c o n f i g u r e d   t o   t a l k   t o   y o u r   c l u s t e r ,   b y   r u n n i n g   t h e   k u b e c t l   v e r s i o n   c o m m a n d .   C h e c k   t h a t   k u b e c t l   i s   i n s t a l l e d   a n d   t h a t   y o u   c a n   s e e   b o t h   t h e   c l i e n t   a n d   t h e   s e r v e r   v e r s i o n s .   T o   v i e w   t h e   n o d e s   i n   t h e   c l u s t e r ,   r u n   t h e   k u b e c t l   g e t   n o d e s   c o m m a n d .   Y o u   s e e   t h e   a v a i l a b l e   n o d e s .   L a t e r ,   K u b e r n e t e s   w i l l   c h o o s e   w h e r e   t o   d e p l o y   o u r   a p p l i c a t i o n   b a s e d   o n   N o d e   a v a i l a b l e   r e s o u r c e s .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_3_16755"
  },
  {
    "question": "What is Deploy an app?",
    "answer": "L e t ’ s   d e p l o y   o u r   f i r s t   a p p   o n   K u b e r n e t e s   w i t h   t h e   k u b e c t l   c r e a t e   d e p l o y m e n t   c o m m a n d .   W e   n e e d   t o   p r o v i d e   t h e   d e p l o y m e n t   n a m e   a n d   a p p   i m a g e   l o c a t i o n   ( i n c l u d e   t h e   f u l l   r e p o s i t o r y   u r l   f o r   i m a g e s   h o s t e d   o u t s i d e   D o c k e r   H u b ) .   k u b e c t l   c r e a t e   d e p l o y m e n t   k u b e r n e t e s - b o o t c a m p   - - i m a g e = g c r . i o / g o o g l e - s a m p l e s / k u b e r n e t e s - b o o t c a m p : v 1   G r e a t !   Y o u   j u s t   d e p l o y e d   y o u r   f i r s t   a p p l i c a t i o n   b y   c r e a t i n g   a   d e p l o y m e n t .   T h i s   p e r f o r m e d   a   f e w   t h i n g s   f o r   y o u :   s e a r c h e d   f o r   a   s u i t a b l e   n o d e   w h e r e   a n   i n s t a n c e   o f   t h e   a p p l i c a t i o n   c o u l d   b e   r u n   ( w e   h a v e   o n l y   1   a v a i l a b l e   n o d e ) s c h e d u l e d   t h e   a p p l i c a t i o n   t o   r u n   o n   t h a t   N o d e c o n f i g u r e d   t h e   c l u s t e r   t o   r e s c h e d u l e   t h e   i n s t a n c e   o n   a   n e w   N o d e   w h e n   n e e d e d   T o   l i s t   y o u r   d e p l o y m e n t s   u s e   t h e   k u b e c t l   g e t   d e p l o y m e n t s   c o m m a n d :   k u b e c t l   g e t   d e p l o y m e n t s   W e   s e e   t h a t   t h e r e   i s   1   d e p l o y m e n t   r u n n i n g   a   s i n g l e   i n s t a n c e   o f   y o u r   a p p .   T h e   i n s t a n c e   i s   r u n n i n g   i n s i d e   a   c o n t a i n e r   o n   y o u r   n o d e .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_3_16756"
  },
  {
    "question": "What is View the app?",
    "answer": "P o d s   t h a t   a r e   r u n n i n g   i n s i d e   K u b e r n e t e s   a r e   r u n n i n g   o n   a   p r i v a t e ,   i s o l a t e d   n e t w o r k .   B y   d e f a u l t   t h e y   a r e   v i s i b l e   f r o m   o t h e r   p o d s   a n d   s e r v i c e s   w i t h i n   t h e   s a m e   K u b e r n e t e s   c l u s t e r ,   b u t   n o t   o u t s i d e   t h a t   n e t w o r k .   W h e n   w e   u s e   k u b e c t l ,   w e ' r e   i n t e r a c t i n g   t h r o u g h   a n   A P I   e n d p o i n t   t o   c o m m u n i c a t e   w i t h   o u r   a p p l i c a t i o n .   W e   w i l l   c o v e r   o t h e r   o p t i o n s   o n   h o w   t o   e x p o s e   y o u r   a p p l i c a t i o n   o u t s i d e   t h e   K u b e r n e t e s   c l u s t e r   l a t e r ,   i n   M o d u l e   4 .   A l s o   a s   a   b a s i c   t u t o r i a l ,   w e ' r e   n o t   e x p l a i n i n g   w h a t   P o d s   a r e   i n   a n y   d e t a i l   h e r e ,   i t   w i l l   b e   c o v e r e d   i n   l a t e r   t o p i c s .   T h e   k u b e c t l   p r o x y   c o m m a n d   c a n   c r e a t e   a   p r o x y   t h a t   w i l l   f o r w a r d   c o m m u n i c a t i o n s   i n t o   t h e   c l u s t e r - w i d e ,   p r i v a t e   n e t w o r k .   T h e   p r o x y   c a n   b e   t e r m i n a t e d   b y   p r e s s i n g   c o n t r o l - C   a n d   w o n ' t   s h o w   a n y   o u t p u t   w h i l e   i t ' s   r u n n i n g .   Y o u   n e e d   t o   o p e n   a   s e c o n d   t e r m i n a l   w i n d o w   t o   r u n   t h e   p r o x y .   k u b e c t l   p r o x y   W e   n o w   h a v e   a   c o n n e c t i o n   b e t w e e n   o u r   h o s t   ( t h e   t e r m i n a l )   a n d   t h e   K u b e r n e t e s   c l u s t e r .   T h e   p r o x y   e n a b l e s   d i r e c t   a c c e s s   t o   t h e   A P I   f r o m   t h e s e   t e r m i n a l s .   Y o u   c a n   s e e   a l l   t h o s e   A P I ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_3_16757"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   A P I   s e r v e r   w i l l   a u t o m a t i c a l l y   c r e a t e   a n   e n d p o i n t   f o r   e a c h   p o d ,   b a s e d   o n   t h e   p o d   n a m e ,   t h a t   i s   a l s o   a c c e s s i b l e   t h r o u g h   t h e   p r o x y .   F i r s t   w e   n e e d   t o   g e t   t h e   P o d   n a m e ,   a n d   w e ' l l   s t o r e   i t   i n   t h e   e n v i r o n m e n t   v a r i a b l e   P O D _ N A M E .   e x p o r t   P O D _ N A M E = $ ( k u b e c t l   g e t   p o d s   - o   g o - t e m p l a t e   - - t e m p l a t e   ' { { r a n g e   . i t e m s } } { { . m e t a d a t a . n a m e } } { { \" \\ n \" } } { { e n d } } ' )   e c h o   N a m e   o f   t h e   P o d :   $ P O D _ N A M E   Y o u   c a n   a c c e s s   t h e   P o d   t h r o u g h   t h e   p r o x i e d   A P I ,   b y   r u n n i n g :   c u r l   h t t p : / / l o c a l h o s t : 8 0 0 1 / a p i / v 1 / n a m e s p a c e s / d e f a u l t / p o d s / $ P O D _ N A M E : 8 0 8 0 / p r o x y /   I n   o r d e r   f o r   t h e   n e w   D e p l o y m e n t   t o   b e   a c c e s s i b l e   w i t h o u t   u s i n g   t h e   p r o x y ,   a   S e r v i c e   i s   r e q u i r e d   w h i c h   w i l l   b e   e x p l a i n e d   i n   M o d u l e   4 .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_4_16758"
  },
  {
    "question": "What is What's next?",
    "answer": "T u t o r i a l   V i e w i n g   P o d s   a n d   N o d e s . L e a r n   m o r e   a b o u t   D e p l o y m e n t s .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_2_16759"
  },
  {
    "question": "What is Objectives?",
    "answer": "L e a r n   a b o u t   K u b e r n e t e s   P o d s . L e a r n   a b o u t   K u b e r n e t e s   N o d e s . T r o u b l e s h o o t   d e p l o y e d   a p p l i c a t i o n s .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_2_16760"
  },
  {
    "question": "What is Kubernetes Pods?",
    "answer": "W h e n   y o u   c r e a t e d   a   D e p l o y m e n t   i n   M o d u l e   2 ,   K u b e r n e t e s   c r e a t e d   a   P o d   t o   h o s t   y o u r   a p p l i c a t i o n   i n s t a n c e .   A   P o d   i s   a   K u b e r n e t e s   a b s t r a c t i o n   t h a t   r e p r e s e n t s   a   g r o u p   o f   o n e   o r   m o r e   a p p l i c a t i o n   c o n t a i n e r s   ( s u c h   a s   D o c k e r ) ,   a n d   s o m e   s h a r e d   r e s o u r c e s   f o r   t h o s e   c o n t a i n e r s .   T h o s e   r e s o u r c e s   i n c l u d e :   S h a r e d   s t o r a g e ,   a s   V o l u m e s N e t w o r k i n g ,   a s   a   u n i q u e   c l u s t e r   I P   a d d r e s s I n f o r m a t i o n   a b o u t   h o w   t o   r u n   e a c h   c o n t a i n e r ,   s u c h   a s   t h e   c o n t a i n e r   i m a g e   v e r s i o n   o r   s p e c i f i c   p o r t s   t o   u s e   A   P o d   m o d e l s   a n   a p p l i c a t i o n - s p e c i f i c   \" l o g i c a l   h o s t \"   a n d   c a n   c o n t a i n   d i f f e r e n t   a p p l i c a t i o n   c o n t a i n e r s   w h i c h   a r e   r e l a t i v e l y   t i g h t l y   c o u p l e d .   F o r   e x a m p l e ,   a   P o d   m i g h t   i n c l u d e   b o t h   t h e   c o n t a i n e r   w i t h   y o u r   N o d e . j s   a p p   a s   w e l l   a s   a   d i f f e r e n t   c o n t a i n e r   t h a t   f e e d s   t h e   d a t a   t o   b e   p u b l i s h e d   b y   t h e   N o d e . j s   w e b s e r v e r .   T h e   c o n t a i n e r s   i n   a   P o d   s h a r e   a n   I P   A d d r e s s   a n d   p o r t   s p a c e ,   a r e   a l w a y s   c o - l o c a t e d   a n d   c o - s c h e d u l e d ,   a n d   r u n   i n   a   s h a r e d   c o n t e x t   o n   t h e   s a m e   N o d e .   P o d s   a r e   t h e   a t o m i c   u n i t   o n   t h e   K u b e r n e t e s   p l a t f o r m .   W h e n   w e   c r e a t e   a   D e p l o y m e n t   o ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_2_16761"
  },
  {
    "question": "What is Nodes?",
    "answer": "A   P o d   a l w a y s   r u n s   o n   a   N o d e .   A   N o d e   i s   a   w o r k e r   m a c h i n e   i n   K u b e r n e t e s   a n d   m a y   b e   e i t h e r   a   v i r t u a l   o r   a   p h y s i c a l   m a c h i n e ,   d e p e n d i n g   o n   t h e   c l u s t e r .   E a c h   N o d e   i s   m a n a g e d   b y   t h e   c o n t r o l   p l a n e .   A   N o d e   c a n   h a v e   m u l t i p l e   p o d s ,   a n d   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   a u t o m a t i c a l l y   h a n d l e s   s c h e d u l i n g   t h e   p o d s   a c r o s s   t h e   N o d e s   i n   t h e   c l u s t e r .   T h e   c o n t r o l   p l a n e ' s   a u t o m a t i c   s c h e d u l i n g   t a k e s   i n t o   a c c o u n t   t h e   a v a i l a b l e   r e s o u r c e s   o n   e a c h   N o d e .   E v e r y   K u b e r n e t e s   N o d e   r u n s   a t   l e a s t :   K u b e l e t ,   a   p r o c e s s   r e s p o n s i b l e   f o r   c o m m u n i c a t i o n   b e t w e e n   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   a n d   t h e   N o d e ;   i t   m a n a g e s   t h e   P o d s   a n d   t h e   c o n t a i n e r s   r u n n i n g   o n   a   m a c h i n e . A   c o n t a i n e r   r u n t i m e   ( l i k e   D o c k e r )   r e s p o n s i b l e   f o r   p u l l i n g   t h e   c o n t a i n e r   i m a g e   f r o m   a   r e g i s t r y ,   u n p a c k i n g   t h e   c o n t a i n e r ,   a n d   r u n n i n g   t h e   a p p l i c a t i o n .   K u b e l e t ,   a   p r o c e s s   r e s p o n s i b l e   f o r   c o m m u n i c a t i o n   b e t w e e n   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   a n d   t h e   N o d e ;   i t   m a n a g e s   t h e   P o d s   a n d   t h e   c o n t a i n e r s   r u n n i n g   o n   a   m a c h i n e .   A   c o n t a i n e r   r u n t i m e   ( l i k e   D o c k e r )   r e s p o n s i b l e   f o r   p u l l i n g   t h e   c o n t ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_2_16762"
  },
  {
    "question": "What is Troubleshooting with kubectl?",
    "answer": "I n   M o d u l e   2 ,   y o u   u s e d   t h e   k u b e c t l   c o m m a n d - l i n e   i n t e r f a c e .   Y o u ' l l   c o n t i n u e   t o   u s e   i t   i n   M o d u l e   3   t o   g e t   i n f o r m a t i o n   a b o u t   d e p l o y e d   a p p l i c a t i o n s   a n d   t h e i r   e n v i r o n m e n t s .   T h e   m o s t   c o m m o n   o p e r a t i o n s   c a n   b e   d o n e   w i t h   t h e   f o l l o w i n g   k u b e c t l   s u b c o m m a n d s :   k u b e c t l   g e t   -   l i s t   r e s o u r c e s k u b e c t l   d e s c r i b e   -   s h o w   d e t a i l e d   i n f o r m a t i o n   a b o u t   a   r e s o u r c e k u b e c t l   l o g s   -   p r i n t   t h e   l o g s   f r o m   a   c o n t a i n e r   i n   a   p o d k u b e c t l   e x e c   -   e x e c u t e   a   c o m m a n d   o n   a   c o n t a i n e r   i n   a   p o d   Y o u   c a n   u s e   t h e s e   c o m m a n d s   t o   s e e   w h e n   a p p l i c a t i o n s   w e r e   d e p l o y e d ,   w h a t   t h e i r   c u r r e n t   s t a t u s e s   a r e ,   w h e r e   t h e y   a r e   r u n n i n g   a n d   w h a t   t h e i r   c o n f i g u r a t i o n s   a r e .   N o w   t h a t   w e   k n o w   m o r e   a b o u t   o u r   c l u s t e r   c o m p o n e n t s   a n d   t h e   c o m m a n d   l i n e ,   l e t ' s   e x p l o r e   o u r   a p p l i c a t i o n .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_2_16763"
  },
  {
    "question": "What is Check application configuration?",
    "answer": "L e t ' s   v e r i f y   t h a t   t h e   a p p l i c a t i o n   w e   d e p l o y e d   i n   t h e   p r e v i o u s   s c e n a r i o   i s   r u n n i n g .   W e ' l l   u s e   t h e   k u b e c t l   g e t   c o m m a n d   a n d   l o o k   f o r   e x i s t i n g   P o d s :   k u b e c t l   g e t   p o d s   I f   n o   p o d s   a r e   r u n n i n g ,   p l e a s e   w a i t   a   c o u p l e   o f   s e c o n d s   a n d   l i s t   t h e   P o d s   a g a i n .   Y o u   c a n   c o n t i n u e   o n c e   y o u   s e e   o n e   P o d   r u n n i n g .   N e x t ,   t o   v i e w   w h a t   c o n t a i n e r s   a r e   i n s i d e   t h a t   P o d   a n d   w h a t   i m a g e s   a r e   u s e d   t o   b u i l d   t h o s e   c o n t a i n e r s   w e   r u n   t h e   k u b e c t l   d e s c r i b e   p o d s   c o m m a n d :   k u b e c t l   d e s c r i b e   p o d s   W e   s e e   h e r e   d e t a i l s   a b o u t   t h e   P o d ’ s   c o n t a i n e r :   I P   a d d r e s s ,   t h e   p o r t s   u s e d   a n d   a   l i s t   o f   e v e n t s   r e l a t e d   t o   t h e   l i f e c y c l e   o f   t h e   P o d .   T h e   o u t p u t   o f   t h e   d e s c r i b e   s u b c o m m a n d   i s   e x t e n s i v e   a n d   c o v e r s   s o m e   c o n c e p t s   t h a t   w e   d i d n ’ t   e x p l a i n   y e t ,   b u t   d o n ’ t   w o r r y ,   t h e y   w i l l   b e c o m e   f a m i l i a r   b y   t h e   e n d   o f   t h i s   t u t o r i a l .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_3_16764"
  },
  {
    "question": "What is Show the app in the terminal?",
    "answer": "R e c a l l   t h a t   P o d s   a r e   r u n n i n g   i n   a n   i s o l a t e d ,   p r i v a t e   n e t w o r k   -   s o   w e   n e e d   t o   p r o x y   a c c e s s   t o   t h e m   s o   w e   c a n   d e b u g   a n d   i n t e r a c t   w i t h   t h e m .   T o   d o   t h i s ,   w e ' l l   u s e   t h e   k u b e c t l   p r o x y   c o m m a n d   t o   r u n   a   p r o x y   i n   a   s e c o n d   t e r m i n a l .   O p e n   a   n e w   t e r m i n a l   w i n d o w ,   a n d   i n   t h a t   n e w   t e r m i n a l ,   r u n :   k u b e c t l   p r o x y   N o w   a g a i n ,   w e ' l l   g e t   t h e   P o d   n a m e   a n d   q u e r y   t h a t   p o d   d i r e c t l y   t h r o u g h   t h e   p r o x y .   T o   g e t   t h e   P o d   n a m e   a n d   s t o r e   i t   i n   t h e   P O D _ N A M E   e n v i r o n m e n t   v a r i a b l e :   e x p o r t   P O D _ N A M E = \" $ ( k u b e c t l   g e t   p o d s   - o   g o - t e m p l a t e   - - t e m p l a t e   ' { { r a n g e   . i t e m s } } { { . m e t a d a t a . n a m e } } { { \" \\ n \" } } { { e n d } } ' ) \"   e c h o   N a m e   o f   t h e   P o d :   $ P O D _ N A M E   T o   s e e   t h e   o u t p u t   o f   o u r   a p p l i c a t i o n ,   r u n   a   c u r l   r e q u e s t :   c u r l   h t t p : / / l o c a l h o s t : 8 0 0 1 / a p i / v 1 / n a m e s p a c e s / d e f a u l t / p o d s / $ P O D _ N A M E : 8 0 8 0 / p r o x y /   T h e   U R L   i s   t h e   r o u t e   t o   t h e   A P I   o f   t h e   P o d .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_3_16765"
  },
  {
    "question": "What is Executing commands on the container?",
    "answer": "W e   c a n   e x e c u t e   c o m m a n d s   d i r e c t l y   o n   t h e   c o n t a i n e r   o n c e   t h e   P o d   i s   u p   a n d   r u n n i n g .   F o r   t h i s ,   w e   u s e   t h e   e x e c   s u b c o m m a n d   a n d   u s e   t h e   n a m e   o f   t h e   P o d   a s   a   p a r a m e t e r .   L e t ’ s   l i s t   t h e   e n v i r o n m e n t   v a r i a b l e s :   k u b e c t l   e x e c   \" $ P O D _ N A M E \"   - -   e n v   A g a i n ,   i t ' s   w o r t h   m e n t i o n i n g   t h a t   t h e   n a m e   o f   t h e   c o n t a i n e r   i t s e l f   c a n   b e   o m i t t e d   s i n c e   w e   o n l y   h a v e   a   s i n g l e   c o n t a i n e r   i n   t h e   P o d .   N e x t   l e t ’ s   s t a r t   a   b a s h   s e s s i o n   i n   t h e   P o d ’ s   c o n t a i n e r :   k u b e c t l   e x e c   - t i   $ P O D _ N A M E   - -   b a s h   W e   h a v e   n o w   a n   o p e n   c o n s o l e   o n   t h e   c o n t a i n e r   w h e r e   w e   r u n   o u r   N o d e J S   a p p l i c a t i o n .   T h e   s o u r c e   c o d e   o f   t h e   a p p   i s   i n   t h e   s e r v e r . j s   f i l e :   c a t   s e r v e r . j s   Y o u   c a n   c h e c k   t h a t   t h e   a p p l i c a t i o n   i s   u p   b y   r u n n i n g   a   c u r l   c o m m a n d :   c u r l   h t t p : / / l o c a l h o s t : 8 0 8 0",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_3_16766"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   c l o s e   y o u r   c o n t a i n e r   c o n n e c t i o n ,   t y p e   e x i t .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_4_16767"
  },
  {
    "question": "What is What's next?",
    "answer": "T u t o r i a l   U s i n g   A   S e r v i c e   T o   E x p o s e   Y o u r   A p p . L e a r n   m o r e   a b o u t   P o d s . L e a r n   m o r e   a b o u t   N o d e s .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_2_16768"
  },
  {
    "question": "What is Objectives?",
    "answer": "L e a r n   a b o u t   a   S e r v i c e   i n   K u b e r n e t e s . U n d e r s t a n d   h o w   l a b e l s   a n d   s e l e c t o r s   r e l a t e   t o   a   S e r v i c e . E x p o s e   a n   a p p l i c a t i o n   o u t s i d e   a   K u b e r n e t e s   c l u s t e r .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_2_16769"
  },
  {
    "question": "What is Overview of Kubernetes Services?",
    "answer": "K u b e r n e t e s   P o d s   a r e   m o r t a l .   P o d s   h a v e   a   l i f e c y c l e .   W h e n   a   w o r k e r   n o d e   d i e s ,   t h e   P o d s   r u n n i n g   o n   t h e   N o d e   a r e   a l s o   l o s t .   A   R e p l i c a s e t   m i g h t   t h e n   d y n a m i c a l l y   d r i v e   t h e   c l u s t e r   b a c k   t o   t h e   d e s i r e d   s t a t e   v i a   t h e   c r e a t i o n   o f   n e w   P o d s   t o   k e e p   y o u r   a p p l i c a t i o n   r u n n i n g .   A s   a n o t h e r   e x a m p l e ,   c o n s i d e r   a n   i m a g e - p r o c e s s i n g   b a c k e n d   w i t h   3   r e p l i c a s .   T h o s e   r e p l i c a s   a r e   e x c h a n g e a b l e ;   t h e   f r o n t - e n d   s y s t e m   s h o u l d   n o t   c a r e   a b o u t   b a c k e n d   r e p l i c a s   o r   e v e n   i f   a   P o d   i s   l o s t   a n d   r e c r e a t e d .   T h a t   s a i d ,   e a c h   P o d   i n   a   K u b e r n e t e s   c l u s t e r   h a s   a   u n i q u e   I P   a d d r e s s ,   e v e n   P o d s   o n   t h e   s a m e   N o d e ,   s o   t h e r e   n e e d s   t o   b e   a   w a y   o f   a u t o m a t i c a l l y   r e c o n c i l i n g   c h a n g e s   a m o n g   P o d s   s o   t h a t   y o u r   a p p l i c a t i o n s   c o n t i n u e   t o   f u n c t i o n .   A   S e r v i c e   i n   K u b e r n e t e s   i s   a n   a b s t r a c t i o n   w h i c h   d e f i n e s   a   l o g i c a l   s e t   o f   P o d s   a n d   a   p o l i c y   b y   w h i c h   t o   a c c e s s   t h e m .   S e r v i c e s   e n a b l e   a   l o o s e   c o u p l i n g   b e t w e e n   d e p e n d e n t   P o d s .   A   S e r v i c e   i s   d e f i n e d   u s i n g   Y A M L   o r   J S O N ,   l i k e   a l l   K u b e r n e t e s   o b j e c t   m a n i f e s t s .   T h e   s e t   o f   P o d s   t a r g e t e d   b y   a   S e r v i c e   i s   u s u a l l y   d e t e r m i n e ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_2_16770"
  },
  {
    "question": "What is Services and Labels?",
    "answer": "A   S e r v i c e   r o u t e s   t r a f f i c   a c r o s s   a   s e t   o f   P o d s .   S e r v i c e s   a r e   t h e   a b s t r a c t i o n   t h a t   a l l o w s   p o d s   t o   d i e   a n d   r e p l i c a t e   i n   K u b e r n e t e s   w i t h o u t   i m p a c t i n g   y o u r   a p p l i c a t i o n .   D i s c o v e r y   a n d   r o u t i n g   a m o n g   d e p e n d e n t   P o d s   ( s u c h   a s   t h e   f r o n t e n d   a n d   b a c k e n d   c o m p o n e n t s   i n   a n   a p p l i c a t i o n )   a r e   h a n d l e d   b y   K u b e r n e t e s   S e r v i c e s .   S e r v i c e s   m a t c h   a   s e t   o f   P o d s   u s i n g   l a b e l s   a n d   s e l e c t o r s ,   a   g r o u p i n g   p r i m i t i v e   t h a t   a l l o w s   l o g i c a l   o p e r a t i o n   o n   o b j e c t s   i n   K u b e r n e t e s .   L a b e l s   a r e   k e y / v a l u e   p a i r s   a t t a c h e d   t o   o b j e c t s   a n d   c a n   b e   u s e d   i n   a n y   n u m b e r   o f   w a y s :   D e s i g n a t e   o b j e c t s   f o r   d e v e l o p m e n t ,   t e s t ,   a n d   p r o d u c t i o n E m b e d   v e r s i o n   t a g s C l a s s i f y   a n   o b j e c t   u s i n g   t a g s   L a b e l s   c a n   b e   a t t a c h e d   t o   o b j e c t s   a t   c r e a t i o n   t i m e   o r   l a t e r   o n .   T h e y   c a n   b e   m o d i f i e d   a t   a n y   t i m e .   L e t ' s   e x p o s e   o u r   a p p l i c a t i o n   n o w   u s i n g   a   S e r v i c e   a n d   a p p l y   s o m e   l a b e l s .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_2_16771"
  },
  {
    "question": "What is Step 1: Creating a new Service?",
    "answer": "L e t ’ s   v e r i f y   t h a t   o u r   a p p l i c a t i o n   i s   r u n n i n g .   W e ’ l l   u s e   t h e   k u b e c t l   g e t   c o m m a n d   a n d   l o o k   f o r   e x i s t i n g   P o d s :   k u b e c t l   g e t   p o d s   I f   n o   P o d s   a r e   r u n n i n g   t h e n   i t   m e a n s   t h e   o b j e c t s   f r o m   t h e   p r e v i o u s   t u t o r i a l s   w e r e   c l e a n e d   u p .   I n   t h i s   c a s e ,   g o   b a c k   a n d   r e c r e a t e   t h e   d e p l o y m e n t   f r o m   t h e   U s i n g   k u b e c t l   t o   c r e a t e   a   D e p l o y m e n t   t u t o r i a l .   P l e a s e   w a i t   a   c o u p l e   o f   s e c o n d s   a n d   l i s t   t h e   P o d s   a g a i n .   Y o u   c a n   c o n t i n u e   o n c e   y o u   s e e   t h e   o n e   P o d   r u n n i n g .   N e x t ,   l e t ’ s   l i s t   t h e   c u r r e n t   S e r v i c e s   f r o m   o u r   c l u s t e r :   k u b e c t l   g e t   s e r v i c e s   T o   e x p o s e   t h e   d e p l o y m e n t   t o   e x t e r n a l   t r a f f i c ,   w e ' l l   u s e   t h e   k u b e c t l   e x p o s e   c o m m a n d   w i t h   t h e   - - t y p e = N o d e P o r t   o p t i o n :   k u b e c t l   e x p o s e   d e p l o y m e n t / k u b e r n e t e s - b o o t c a m p   - - t y p e = \" N o d e P o r t \"   - - p o r t   8 0 8 0   W e   h a v e   n o w   a   r u n n i n g   S e r v i c e   c a l l e d   k u b e r n e t e s - b o o t c a m p .   H e r e   w e   s e e   t h a t   t h e   S e r v i c e   r e c e i v e d   a   u n i q u e   c l u s t e r - I P ,   a n   i n t e r n a l   p o r t   a n d   a n   e x t e r n a l - I P   ( t h e   I P   o f   t h e   N o d e ) .   T o   f i n d   o u t   w h a t   p o r t   w a s   o p e n e d   e x t e r n a l l y   ( f o r   t h e   t y p e :   N o d e P o r t   S e r v i c e )   w e ’ l l   r u n   t h e   d e s c r i b e   s e r v i c e   s u b c o m m a n d :   k u b ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_3_16772"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u ' r e   r u n n i n g   m i n i k u b e   w i t h   D o c k e r   D e s k t o p   a s   t h e   c o n t a i n e r   d r i v e r ,   a   m i n i k u b e   t u n n e l   i s   n e e d e d .   T h i s   i s   b e c a u s e   c o n t a i n e r s   i n s i d e   D o c k e r   D e s k t o p   a r e   i s o l a t e d   f r o m   y o u r   h o s t   c o m p u t e r .   I n   a   s e p a r a t e   t e r m i n a l   w i n d o w ,   e x e c u t e :   m i n i k u b e   s e r v i c e   k u b e r n e t e s - b o o t c a m p   - - u r l   T h e   o u t p u t   l o o k s   l i k e   t h i s :   h t t p : / / 1 2 7 . 0 . 0 . 1 : 5 1 0 8 2   !   B e c a u s e   y o u   a r e   u s i n g   a   D o c k e r   d r i v e r   o n   d a r w i n ,   t h e   t e r m i n a l   n e e d s   t o   b e   o p e n   t o   r u n   i t .   T h e n   u s e   t h e   g i v e n   U R L   t o   a c c e s s   t h e   a p p :   c u r l   1 2 7 . 0 . 0 . 1 : 5 1 0 8 2   A n d   w e   g e t   a   r e s p o n s e   f r o m   t h e   s e r v e r .   T h e   S e r v i c e   i s   e x p o s e d .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_4_16773"
  },
  {
    "question": "What is Step 2: Using labels?",
    "answer": "T h e   D e p l o y m e n t   c r e a t e d   a u t o m a t i c a l l y   a   l a b e l   f o r   o u r   P o d .   W i t h   t h e   d e s c r i b e   d e p l o y m e n t   s u b c o m m a n d   y o u   c a n   s e e   t h e   n a m e   ( t h e   k e y )   o f   t h a t   l a b e l :   k u b e c t l   d e s c r i b e   d e p l o y m e n t   L e t ’ s   u s e   t h i s   l a b e l   t o   q u e r y   o u r   l i s t   o f   P o d s .   W e ’ l l   u s e   t h e   k u b e c t l   g e t   p o d s   c o m m a n d   w i t h   - l   a s   a   p a r a m e t e r ,   f o l l o w e d   b y   t h e   l a b e l   v a l u e s :   k u b e c t l   g e t   p o d s   - l   a p p = k u b e r n e t e s - b o o t c a m p   Y o u   c a n   d o   t h e   s a m e   t o   l i s t   t h e   e x i s t i n g   S e r v i c e s :   k u b e c t l   g e t   s e r v i c e s   - l   a p p = k u b e r n e t e s - b o o t c a m p   G e t   t h e   n a m e   o f   t h e   P o d   a n d   s t o r e   i t   i n   t h e   P O D _ N A M E   e n v i r o n m e n t   v a r i a b l e :   e x p o r t   P O D _ N A M E = \" $ ( k u b e c t l   g e t   p o d s   - o   g o - t e m p l a t e   - - t e m p l a t e   ' { { r a n g e   . i t e m s } } { { . m e t a d a t a . n a m e } } { { \" \\ n \" } } { { e n d } } ' ) \"   e c h o   \" N a m e   o f   t h e   P o d :   $ P O D _ N A M E \"   T o   a p p l y   a   n e w   l a b e l   w e   u s e   t h e   l a b e l   s u b c o m m a n d   f o l l o w e d   b y   t h e   o b j e c t   t y p e ,   o b j e c t   n a m e   a n d   t h e   n e w   l a b e l :   k u b e c t l   l a b e l   p o d s   \" $ P O D _ N A M E \"   v e r s i o n = v 1   T h i s   w i l l   a p p l y   a   n e w   l a b e l   t o   o u r   P o d   ( w e   p i n n e d   t h e   a p p l i c a t i o n   v e r s i o n   t o   t h e   P o d ) ,   a n d   w e   c a n   c h e c k   i t   w i t h   t h e   d e s c r i b e   p o d   c o m m a n d :   k u b e c t l   d e s c r i b e   p o d s   \" $ P O D _ N A ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_3_16774"
  },
  {
    "question": "What is Step 3: Deleting a service?",
    "answer": "T o   d e l e t e   S e r v i c e s   y o u   c a n   u s e   t h e   d e l e t e   s e r v i c e   s u b c o m m a n d .   L a b e l s   c a n   b e   u s e d   a l s o   h e r e :   k u b e c t l   d e l e t e   s e r v i c e   - l   a p p = k u b e r n e t e s - b o o t c a m p   C o n f i r m   t h a t   t h e   S e r v i c e   i s   g o n e :   k u b e c t l   g e t   s e r v i c e s   T h i s   c o n f i r m s   t h a t   o u r   S e r v i c e   w a s   r e m o v e d .   T o   c o n f i r m   t h a t   r o u t e   i s   n o t   e x p o s e d   a n y m o r e   y o u   c a n   c u r l   t h e   p r e v i o u s l y   e x p o s e d   I P   a n d   p o r t :   c u r l   h t t p : / / \" $ ( m i n i k u b e   i p ) : $ N O D E _ P O R T \"   T h i s   p r o v e s   t h a t   t h e   a p p l i c a t i o n   i s   n o t   r e a c h a b l e   a n y m o r e   f r o m   o u t s i d e   o f   t h e   c l u s t e r .   Y o u   c a n   c o n f i r m   t h a t   t h e   a p p   i s   s t i l l   r u n n i n g   w i t h   a   c u r l   f r o m   i n s i d e   t h e   p o d :   k u b e c t l   e x e c   - t i   $ P O D _ N A M E   - -   c u r l   h t t p : / / l o c a l h o s t : 8 0 8 0   W e   s e e   h e r e   t h a t   t h e   a p p l i c a t i o n   i s   u p .   T h i s   i s   b e c a u s e   t h e   D e p l o y m e n t   i s   m a n a g i n g   t h e   a p p l i c a t i o n .   T o   s h u t   d o w n   t h e   a p p l i c a t i o n ,   y o u   w o u l d   n e e d   t o   d e l e t e   t h e   D e p l o y m e n t   a s   w e l l .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_3_16775"
  },
  {
    "question": "What is What's next?",
    "answer": "T u t o r i a l   R u n n i n g   M u l t i p l e   I n s t a n c e s   o f   Y o u r   A p p . L e a r n   m o r e   a b o u t   S e r v i c e .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_2_16776"
  },
  {
    "question": "What is Objectives?",
    "answer": "S c a l e   a n   e x i s t i n g   a p p   m a n u a l l y   u s i n g   k u b e c t l .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_2_16777"
  },
  {
    "question": "What is Scaling an application?",
    "answer": "P r e v i o u s l y   w e   c r e a t e d   a   D e p l o y m e n t ,   a n d   t h e n   e x p o s e d   i t   p u b l i c l y   v i a   a   S e r v i c e .   T h e   D e p l o y m e n t   c r e a t e d   o n l y   o n e   P o d   f o r   r u n n i n g   o u r   a p p l i c a t i o n .   W h e n   t r a f f i c   i n c r e a s e s ,   w e   w i l l   n e e d   t o   s c a l e   t h e   a p p l i c a t i o n   t o   k e e p   u p   w i t h   u s e r   d e m a n d .   I f   y o u   h a v e n ' t   w o r k e d   t h r o u g h   t h e   e a r l i e r   s e c t i o n s ,   s t a r t   f r o m   U s i n g   m i n i k u b e   t o   c r e a t e   a   c l u s t e r .   S c a l i n g   i s   a c c o m p l i s h e d   b y   c h a n g i n g   t h e   n u m b e r   o f   r e p l i c a s   i n   a   D e p l o y m e n t .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_2_16778"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   a r e   t r y i n g   t h i s   a f t e r   t h e   p r e v i o u s   s e c t i o n ,   t h e n   y o u   m a y   h a v e   d e l e t e d   t h e   s e r v i c e   y o u   c r e a t e d ,   o r   h a v e   c r e a t e d   a   S e r v i c e   o f   t y p e :   N o d e P o r t .   I n   t h i s   s e c t i o n ,   i t   i s   a s s u m e d   t h a t   a   s e r v i c e   w i t h   t y p e :   L o a d B a l a n c e r   i s   c r e a t e d   f o r   t h e   k u b e r n e t e s - b o o t c a m p   D e p l o y m e n t .   I f   y o u   h a v e   n o t   d e l e t e d   t h e   S e r v i c e   c r e a t e d   i n   t h e   p r e v i o u s   s e c t i o n ,   f i r s t   d e l e t e   t h a t   S e r v i c e   a n d   t h e n   r u n   t h e   f o l l o w i n g   c o m m a n d   t o   c r e a t e   a   n e w   S e r v i c e   w i t h   i t s   t y p e   s e t   t o   L o a d B a l a n c e r :   k u b e c t l   e x p o s e   d e p l o y m e n t / k u b e r n e t e s - b o o t c a m p   - - t y p e = \" L o a d B a l a n c e r \"   - - p o r t   8 0 8 0",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_4_16779"
  },
  {
    "question": "What is Scaling overview?",
    "answer": "S c a l i n g   o u t   a   D e p l o y m e n t   w i l l   e n s u r e   n e w   P o d s   a r e   c r e a t e d   a n d   s c h e d u l e d   t o   N o d e s   w i t h   a v a i l a b l e   r e s o u r c e s .   S c a l i n g   w i l l   i n c r e a s e   t h e   n u m b e r   o f   P o d s   t o   t h e   n e w   d e s i r e d   s t a t e .   K u b e r n e t e s   a l s o   s u p p o r t s   a u t o s c a l i n g   o f   P o d s ,   b u t   i t   i s   o u t s i d e   o f   t h e   s c o p e   o f   t h i s   t u t o r i a l .   S c a l i n g   t o   z e r o   i s   a l s o   p o s s i b l e ,   a n d   i t   w i l l   t e r m i n a t e   a l l   P o d s   o f   t h e   s p e c i f i e d   D e p l o y m e n t .   R u n n i n g   m u l t i p l e   i n s t a n c e s   o f   a n   a p p l i c a t i o n   w i l l   r e q u i r e   a   w a y   t o   d i s t r i b u t e   t h e   t r a f f i c   t o   a l l   o f   t h e m .   S e r v i c e s   h a v e   a n   i n t e g r a t e d   l o a d - b a l a n c e r   t h a t   w i l l   d i s t r i b u t e   n e t w o r k   t r a f f i c   t o   a l l   P o d s   o f   a n   e x p o s e d   D e p l o y m e n t .   S e r v i c e s   w i l l   m o n i t o r   c o n t i n u o u s l y   t h e   r u n n i n g   P o d s   u s i n g   e n d p o i n t s ,   t o   e n s u r e   t h e   t r a f f i c   i s   s e n t   o n l y   t o   a v a i l a b l e   P o d s .   O n c e   y o u   h a v e   m u l t i p l e   i n s t a n c e s   o f   a n   a p p l i c a t i o n   r u n n i n g ,   y o u   w o u l d   b e   a b l e   t o   d o   R o l l i n g   u p d a t e s   w i t h o u t   d o w n t i m e .   W e ' l l   c o v e r   t h a t   i n   t h e   n e x t   s e c t i o n   o f   t h e   t u t o r i a l .   N o w ,   l e t ' s   g o   t o   t h e   t e r m i n a l   a n d   s c a l e   o u r   a p p l i c a t i o n .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_2_16780"
  },
  {
    "question": "What is Scaling a Deployment?",
    "answer": "T o   l i s t   y o u r   D e p l o y m e n t s ,   u s e   t h e   g e t   d e p l o y m e n t s   s u b c o m m a n d :   k u b e c t l   g e t   d e p l o y m e n t s   T h e   o u t p u t   s h o u l d   b e   s i m i l a r   t o :   N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   k u b e r n e t e s - b o o t c a m p   1 / 1   1   1   1 1 m   W e   s h o u l d   h a v e   1   P o d .   I f   n o t ,   r u n   t h e   c o m m a n d   a g a i n .   T h i s   s h o w s :   N A M E   l i s t s   t h e   n a m e s   o f   t h e   D e p l o y m e n t s   i n   t h e   c l u s t e r . R E A D Y   s h o w s   t h e   r a t i o   o f   C U R R E N T / D E S I R E D   r e p l i c a s U P - T O - D A T E   d i s p l a y s   t h e   n u m b e r   o f   r e p l i c a s   t h a t   h a v e   b e e n   u p d a t e d   t o   a c h i e v e   t h e   d e s i r e d   s t a t e . A V A I L A B L E   d i s p l a y s   h o w   m a n y   r e p l i c a s   o f   t h e   a p p l i c a t i o n   a r e   a v a i l a b l e   t o   y o u r   u s e r s . A G E   d i s p l a y s   t h e   a m o u n t   o f   t i m e   t h a t   t h e   a p p l i c a t i o n   h a s   b e e n   r u n n i n g .   T o   s e e   t h e   R e p l i c a S e t   c r e a t e d   b y   t h e   D e p l o y m e n t ,   r u n :   k u b e c t l   g e t   r s   N o t i c e   t h a t   t h e   n a m e   o f   t h e   R e p l i c a S e t   i s   a l w a y s   f o r m a t t e d   a s   [ D E P L O Y M E N T - N A M E ] - [ R A N D O M - S T R I N G ] .   T h e   r a n d o m   s t r i n g   i s   r a n d o m l y   g e n e r a t e d   a n d   u s e s   t h e   p o d - t e m p l a t e - h a s h   a s   a   s e e d .   T w o   i m p o r t a n t   c o l u m n s   o f   t h i s   o u t p u t   a r e :   D E S I R E D   d i s p l a y s   t h e   d e s i r e d   n u m b e r   o f   r e p l i c a s   o f   t h e   a p p l i c a t i o n ,   w h i c h   y o u   d e f i n e   w h e n   y o u   c r e a t e   t h e ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_3_16781"
  },
  {
    "question": "What is Load Balancing?",
    "answer": "L e t ' s   c h e c k   t h a t   t h e   S e r v i c e   i s   l o a d - b a l a n c i n g   t h e   t r a f f i c .   T o   f i n d   o u t   t h e   e x p o s e d   I P   a n d   P o r t   w e   c a n   u s e   d e s c r i b e   s e r v i c e   a s   w e   l e a r n e d   i n   t h e   p r e v i o u s   p a r t   o f   t h e   t u t o r i a l :   k u b e c t l   d e s c r i b e   s e r v i c e s / k u b e r n e t e s - b o o t c a m p   C r e a t e   a n   e n v i r o n m e n t   v a r i a b l e   c a l l e d   N O D E _ P O R T   t h a t   h a s   a   v a l u e   a s   t h e   N o d e   p o r t :   e x p o r t   N O D E _ P O R T = \" $ ( k u b e c t l   g e t   s e r v i c e s / k u b e r n e t e s - b o o t c a m p   - o   g o - t e m p l a t e = ' { { ( i n d e x   . s p e c . p o r t s   0 ) . n o d e P o r t } } ' ) \"   e c h o   N O D E _ P O R T = $ N O D E _ P O R T   N e x t ,   w e ’ l l   d o   a   c u r l   t o   t h e   e x p o s e d   I P   a d d r e s s   a n d   p o r t .   E x e c u t e   t h e   c o m m a n d   m u l t i p l e   t i m e s :   c u r l   h t t p : / / \" $ ( m i n i k u b e   i p ) : $ N O D E _ P O R T \"   W e   h i t   a   d i f f e r e n t   P o d   w i t h   e v e r y   r e q u e s t .   T h i s   d e m o n s t r a t e s   t h a t   t h e   l o a d - b a l a n c i n g   i s   w o r k i n g .   T h e   o u t p u t   s h o u l d   b e   s i m i l a r   t o :   H e l l o   K u b e r n e t e s   b o o t c a m p !   |   R u n n i n g   o n :   k u b e r n e t e s - b o o t c a m p - 6 4 4 c 5 6 8 7 f 4 - w p 6 7 j   |   v = 1   H e l l o   K u b e r n e t e s   b o o t c a m p !   |   R u n n i n g   o n :   k u b e r n e t e s - b o o t c a m p - 6 4 4 c 5 6 8 7 f 4 - h s 9 d j   |   v = 1   H e l l o   K u b e r n e t e s   b o o t c a m p !   |   R u n n i n g   o n :   k u b e r n e t e s - b o o t c a m p - 6 4 4 c 5 6 8 7 f 4 - 4 h j v f   |   v = 1   H e l l o   K u b e r n e t e s   b o o t c a m p !   |   R u n n i n g   o ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_3_16782"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u ' r e   r u n n i n g   m i n i k u b e   w i t h   D o c k e r   D e s k t o p   a s   t h e   c o n t a i n e r   d r i v e r ,   a   m i n i k u b e   t u n n e l   i s   n e e d e d .   T h i s   i s   b e c a u s e   c o n t a i n e r s   i n s i d e   D o c k e r   D e s k t o p   a r e   i s o l a t e d   f r o m   y o u r   h o s t   c o m p u t e r .   I n   a   s e p a r a t e   t e r m i n a l   w i n d o w ,   e x e c u t e :   m i n i k u b e   s e r v i c e   k u b e r n e t e s - b o o t c a m p   - - u r l   T h e   o u t p u t   l o o k s   l i k e   t h i s :   h t t p : / / 1 2 7 . 0 . 0 . 1 : 5 1 0 8 2   !   B e c a u s e   y o u   a r e   u s i n g   a   D o c k e r   d r i v e r   o n   d a r w i n ,   t h e   t e r m i n a l   n e e d s   t o   b e   o p e n   t o   r u n   i t .   T h e n   u s e   t h e   g i v e n   U R L   t o   a c c e s s   t h e   a p p :   c u r l   1 2 7 . 0 . 0 . 1 : 5 1 0 8 2",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_4_16783"
  },
  {
    "question": "What is Scale Down?",
    "answer": "T o   s c a l e   d o w n   t h e   D e p l o y m e n t   t o   2   r e p l i c a s ,   r u n   a g a i n   t h e   s c a l e   s u b c o m m a n d :   k u b e c t l   s c a l e   d e p l o y m e n t s / k u b e r n e t e s - b o o t c a m p   - - r e p l i c a s = 2   L i s t   t h e   D e p l o y m e n t s   t o   c h e c k   i f   t h e   c h a n g e   w a s   a p p l i e d   w i t h   t h e   g e t   d e p l o y m e n t s   s u b c o m m a n d :   k u b e c t l   g e t   d e p l o y m e n t s   T h e   n u m b e r   o f   r e p l i c a s   d e c r e a s e d   t o   2 .   L i s t   t h e   n u m b e r   o f   P o d s ,   w i t h   g e t   p o d s :   k u b e c t l   g e t   p o d s   - o   w i d e   T h i s   c o n f i r m s   t h a t   2   P o d s   w e r e   t e r m i n a t e d .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_3_16784"
  },
  {
    "question": "What is What's next?",
    "answer": "T u t o r i a l   P e r f o r m i n g   a   R o l l i n g   U p d a t e . L e a r n   m o r e   a b o u t   R e p l i c a S e t . L e a r n   m o r e   a b o u t   A u t o s c a l i n g .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_2_16785"
  },
  {
    "question": "What is Objectives?",
    "answer": "P e r f o r m   a   r o l l i n g   u p d a t e   u s i n g   k u b e c t l .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_2_16786"
  },
  {
    "question": "What is Updating an application?",
    "answer": "U s e r s   e x p e c t   a p p l i c a t i o n s   t o   b e   a v a i l a b l e   a l l   t h e   t i m e ,   a n d   d e v e l o p e r s   a r e   e x p e c t e d   t o   d e p l o y   n e w   v e r s i o n s   o f   t h e m   s e v e r a l   t i m e s   a   d a y .   I n   K u b e r n e t e s   t h i s   i s   d o n e   w i t h   r o l l i n g   u p d a t e s .   A   r o l l i n g   u p d a t e   a l l o w s   a   D e p l o y m e n t   u p d a t e   t o   t a k e   p l a c e   w i t h   z e r o   d o w n t i m e .   I t   d o e s   t h i s   b y   i n c r e m e n t a l l y   r e p l a c i n g   t h e   c u r r e n t   P o d s   w i t h   n e w   o n e s .   T h e   n e w   P o d s   a r e   s c h e d u l e d   o n   N o d e s   w i t h   a v a i l a b l e   r e s o u r c e s ,   a n d   K u b e r n e t e s   w a i t s   f o r   t h o s e   n e w   P o d s   t o   s t a r t   b e f o r e   r e m o v i n g   t h e   o l d   P o d s .   I n   t h e   p r e v i o u s   m o d u l e   w e   s c a l e d   o u r   a p p l i c a t i o n   t o   r u n   m u l t i p l e   i n s t a n c e s .   T h i s   i s   a   r e q u i r e m e n t   f o r   p e r f o r m i n g   u p d a t e s   w i t h o u t   a f f e c t i n g   a p p l i c a t i o n   a v a i l a b i l i t y .   B y   d e f a u l t ,   t h e   m a x i m u m   n u m b e r   o f   P o d s   t h a t   c a n   b e   u n a v a i l a b l e   d u r i n g   t h e   u p d a t e   a n d   t h e   m a x i m u m   n u m b e r   o f   n e w   P o d s   t h a t   c a n   b e   c r e a t e d ,   i s   o n e .   B o t h   o p t i o n s   c a n   b e   c o n f i g u r e d   t o   e i t h e r   n u m b e r s   o r   p e r c e n t a g e s   ( o f   P o d s ) .   I n   K u b e r n e t e s ,   u p d a t e s   a r e   v e r s i o n e d   a n d   a n y   D e p l o y m e n t   u p d a t e   c a n   b e   r e v e r t e d   t o   a   p r e v i o u s   ( s t a b l e )   v e r s i o n .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_2_16787"
  },
  {
    "question": "What is Rolling updates overview?",
    "answer": "S i m i l a r   t o   a p p l i c a t i o n   S c a l i n g ,   i f   a   D e p l o y m e n t   i s   e x p o s e d   p u b l i c l y ,   t h e   S e r v i c e   w i l l   l o a d - b a l a n c e   t h e   t r a f f i c   o n l y   t o   a v a i l a b l e   P o d s   d u r i n g   t h e   u p d a t e .   A n   a v a i l a b l e   P o d   i s   a n   i n s t a n c e   t h a t   i s   a v a i l a b l e   t o   t h e   u s e r s   o f   t h e   a p p l i c a t i o n .   R o l l i n g   u p d a t e s   a l l o w   t h e   f o l l o w i n g   a c t i o n s :   P r o m o t e   a n   a p p l i c a t i o n   f r o m   o n e   e n v i r o n m e n t   t o   a n o t h e r   ( v i a   c o n t a i n e r   i m a g e   u p d a t e s ) R o l l b a c k   t o   p r e v i o u s   v e r s i o n s C o n t i n u o u s   I n t e g r a t i o n   a n d   C o n t i n u o u s   D e l i v e r y   o f   a p p l i c a t i o n s   w i t h   z e r o   d o w n t i m e   I n   t h e   f o l l o w i n g   i n t e r a c t i v e   t u t o r i a l ,   w e ' l l   u p d a t e   o u r   a p p l i c a t i o n   t o   a   n e w   v e r s i o n ,   a n d   a l s o   p e r f o r m   a   r o l l b a c k .",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_2_16788"
  },
  {
    "question": "What is Update the version of the app?",
    "answer": "T o   l i s t   y o u r   D e p l o y m e n t s ,   r u n   t h e   g e t   d e p l o y m e n t s   s u b c o m m a n d :   k u b e c t l   g e t   d e p l o y m e n t s   T o   l i s t   t h e   r u n n i n g   P o d s ,   r u n   t h e   g e t   p o d s   s u b c o m m a n d :   k u b e c t l   g e t   p o d s   T o   v i e w   t h e   c u r r e n t   i m a g e   v e r s i o n   o f   t h e   a p p ,   r u n   t h e   d e s c r i b e   p o d s   s u b c o m m a n d   a n d   l o o k   f o r   t h e   I m a g e   f i e l d :   k u b e c t l   d e s c r i b e   p o d s   T o   u p d a t e   t h e   i m a g e   o f   t h e   a p p l i c a t i o n   t o   v e r s i o n   2 ,   u s e   t h e   s e t   i m a g e   s u b c o m m a n d ,   f o l l o w e d   b y   t h e   d e p l o y m e n t   n a m e   a n d   t h e   n e w   i m a g e   v e r s i o n :   k u b e c t l   s e t   i m a g e   d e p l o y m e n t s / k u b e r n e t e s - b o o t c a m p   k u b e r n e t e s - b o o t c a m p = d o c k e r . i o / j o c a t a l i n / k u b e r n e t e s - b o o t c a m p : v 2   T h e   c o m m a n d   n o t i f i e d   t h e   D e p l o y m e n t   t o   u s e   a   d i f f e r e n t   i m a g e   f o r   y o u r   a p p   a n d   i n i t i a t e d   a   r o l l i n g   u p d a t e .   C h e c k   t h e   s t a t u s   o f   t h e   n e w   P o d s ,   a n d   v i e w   t h e   o l d   o n e   t e r m i n a t i n g   w i t h   t h e   g e t   p o d s   s u b c o m m a n d :   k u b e c t l   g e t   p o d s",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_3_16789"
  },
  {
    "question": "What is Verify an update?",
    "answer": "F i r s t ,   c h e c k   t h a t   t h e   s e r v i c e   i s   r u n n i n g ,   a s   y o u   m i g h t   h a v e   d e l e t e d   i t   i n   p r e v i o u s   t u t o r i a l   s t e p ,   r u n   d e s c r i b e   s e r v i c e s / k u b e r n e t e s - b o o t c a m p .   I f   i t ' s   m i s s i n g ,   y o u   c a n   c r e a t e   i t   a g a i n   w i t h :   k u b e c t l   e x p o s e   d e p l o y m e n t / k u b e r n e t e s - b o o t c a m p   - - t y p e = \" N o d e P o r t \"   - - p o r t   8 0 8 0   C r e a t e   a n   e n v i r o n m e n t   v a r i a b l e   c a l l e d   N O D E _ P O R T   t h a t   h a s   t h e   v a l u e   o f   t h e   N o d e   p o r t   a s s i g n e d :   e x p o r t   N O D E _ P O R T = \" $ ( k u b e c t l   g e t   s e r v i c e s / k u b e r n e t e s - b o o t c a m p   - o   g o - t e m p l a t e = ' { { ( i n d e x   . s p e c . p o r t s   0 ) . n o d e P o r t } } ' ) \"   e c h o   \" N O D E _ P O R T = $ N O D E _ P O R T \"   N e x t ,   d o   a   c u r l   t o   t h e   e x p o s e d   I P   a n d   p o r t :   c u r l   h t t p : / / \" $ ( m i n i k u b e   i p ) : $ N O D E _ P O R T \"   E v e r y   t i m e   y o u   r u n   t h e   c u r l   c o m m a n d ,   y o u   w i l l   h i t   a   d i f f e r e n t   P o d .   N o t i c e   t h a t   a l l   P o d s   a r e   n o w   r u n n i n g   t h e   l a t e s t   v e r s i o n   ( v 2 ) .   Y o u   c a n   a l s o   c o n f i r m   t h e   u p d a t e   b y   r u n n i n g   t h e   r o l l o u t   s t a t u s   s u b c o m m a n d :   k u b e c t l   r o l l o u t   s t a t u s   d e p l o y m e n t s / k u b e r n e t e s - b o o t c a m p   T o   v i e w   t h e   c u r r e n t   i m a g e   v e r s i o n   o f   t h e   a p p ,   r u n   t h e   d e s c r i b e   p o d s   s u b c o m m a n d :   k u b e c t l   d e s c r i b e   p o d s   I n   t h e   I m a g e   f i e l d   o f   t h e   o u t p u t ,   v e r i f y   t h a t   y o u   a r e   r ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_3_16790"
  },
  {
    "question": "What is Roll back an update?",
    "answer": "L e t ’ s   p e r f o r m   a n o t h e r   u p d a t e ,   a n d   t r y   t o   d e p l o y   a n   i m a g e   t a g g e d   w i t h   v 1 0 :   k u b e c t l   s e t   i m a g e   d e p l o y m e n t s / k u b e r n e t e s - b o o t c a m p   k u b e r n e t e s - b o o t c a m p = g c r . i o / g o o g l e - s a m p l e s / k u b e r n e t e s - b o o t c a m p : v 1 0   U s e   g e t   d e p l o y m e n t s   t o   s e e   t h e   s t a t u s   o f   t h e   d e p l o y m e n t :   k u b e c t l   g e t   d e p l o y m e n t s   N o t i c e   t h a t   t h e   o u t p u t   d o e s n ' t   l i s t   t h e   d e s i r e d   n u m b e r   o f   a v a i l a b l e   P o d s .   R u n   t h e   g e t   p o d s   s u b c o m m a n d   t o   l i s t   a l l   P o d s :   k u b e c t l   g e t   p o d s   N o t i c e   t h a t   s o m e   o f   t h e   P o d s   h a v e   a   s t a t u s   o f   I m a g e P u l l B a c k O f f .   T o   g e t   m o r e   i n s i g h t   i n t o   t h e   p r o b l e m ,   r u n   t h e   d e s c r i b e   p o d s   s u b c o m m a n d :   k u b e c t l   d e s c r i b e   p o d s   I n   t h e   E v e n t s   s e c t i o n   o f   t h e   o u t p u t   f o r   t h e   a f f e c t e d   P o d s ,   n o t i c e   t h a t   t h e   v 1 0   i m a g e   v e r s i o n   d i d   n o t   e x i s t   i n   t h e   r e p o s i t o r y .   T o   r o l l   b a c k   t h e   d e p l o y m e n t   t o   y o u r   l a s t   w o r k i n g   v e r s i o n ,   u s e   t h e   r o l l o u t   u n d o   s u b c o m m a n d :   k u b e c t l   r o l l o u t   u n d o   d e p l o y m e n t s / k u b e r n e t e s - b o o t c a m p   T h e   r o l l o u t   u n d o   c o m m a n d   r e v e r t s   t h e   d e p l o y m e n t   t o   t h e   p r e v i o u s   k n o w n   s t a t e   ( v 2   o f   t h e   i m a g e ) .   U p d a t e s   a r e   v e r s i o n e d   a n d   y o u   c a n   r e v e r t   t o   a n y   p r e v i o u s l y   k n o w n   s t a t ",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_3_16791"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   D e p l o y m e n t s .   ©   2 0 2 5   T h e   K u b e r n e t e s   A u t h o r s   |   D o c u m e n t a t i o n   D i s t r i b u t e d   u n d e r   C C   B Y   4 . 0   ©   2 0 2 5   T h e   L i n u x   F o u n d a t i o n   ® .   A l l   r i g h t s   r e s e r v e d .   T h e   L i n u x   F o u n d a t i o n   h a s   r e g i s t e r e d   t r a d e m a r k s   a n d   u s e s   t r a d e m a r k s .   F o r   a   l i s t   o f   t r a d e m a r k s   o f   T h e   L i n u x   F o u n d a t i o n ,   p l e a s e   s e e   o u r   T r a d e m a r k   U s a g e   p a g e   I C P   l i c e n s e :   京 I C P 备 1 7 0 7 4 2 6 6 号 - 3",
    "category": "tutorials",
    "subcategory": "kubernetes-basics",
    "source": "https://kubernetes.io/docs/tutorials/kubernetes-basics/_print/",
    "id": "k8s_00775_section_2_16792"
  },
  {
    "question": "What is Tutorials?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Tutorials1: Hello Minikube2: Learn Kubernetes Basics2.1: Create a Cluster2.1.1: Using Minikube to Create a Cluster2.2: Deploy an App2.2.1: Using kubectl to Create a Deployment2.3: Explore Your App2.3.1: Viewing Pods and Nodes2.4: Expose Your App Publicly2.4.1: Using a Service to Expose Your App2.5: Scale Your App2.5.1: Running Multiple Instances of Your App2.6: Update Your App2.6.1: Performing a Rolling Update3: Configuration3.1: Updating Configuration via a ConfigMap3.2: Configuring Redis using a ConfigMap3.3: Adopting Sidecar Containers4: Security4.1: Apply Pod Security Standards at the Cluster Level4.2: Apply Pod Security Standards at the Namespace Level4.3: Restrict a Container's Access to Resources with AppArmor4.4: Restrict a Container's Syscalls with seccomp5: Stateless Applications5.1: Exposing an External IP Address to Access an Application in a Cluster5.2: Example: Deploying PHP Guestbook application with Redis6: Stateful Applications6.1: StatefulSet Basics6.2: Example: Deploying WordPress and MySQL with Persistent Volumes6.3: Example: Deploying Cassandra with a StatefulSet6.4: Running ZooKeeper, A Distributed System Coordinator7: Cluster Management7.1: Running Kubelet in Standalone Mode7.2: Configuring swap memory on Kubernetes nodes7.3: Install Drivers and Allocate Devices with DRA7.4: Namespaces Walkthrough8: Services8.1: Connecting Applications with Services8.2: Using Source IP8.3: Explore Termination Behavior for Pods And Their EndpointsThis section of the Kubernetes documentation contains tutorials. A tutorial shows how to accomplish a goal that is larger than a single task. Typically a tutorial has several sections, each of which has a sequence of steps. Before walking through each tutorial, you may want to bookmark the Standardized Glossary page for later references.BasicsKubernetes Basics is an in-depth interactive tutorial that helps you understand the Kubernetes system and try out some basic Kubernetes features.Introduction to Kubernetes (edX)Hello MinikubeConfigurationConfiguring Redis Using a ConfigMapAuthoring PodsAdopting Sidecar ContainersStateless ApplicationsExposing an External IP Address to Access an Application in a ClusterExample: Deploying PHP Guestbook application with RedisStateful ApplicationsStatefulSet BasicsExample: WordPress and MySQL with Persistent VolumesExample: Deploying Cassandra with Stateful SetsRunning ZooKeeper, A CP Distributed SystemServicesConnecting Applications with ServicesUsing Source IPSecurityApply Pod Security Standards at Cluster levelApply Pod Security Standards at Namespace levelRestrict a Container's Access to Resources with AppArmorSeccompCluster ManagementConfiguring Swap Memory on Kubernetes NodesRunning Kubelet in Standalone ModeInstall Drivers and Allocate Devices with DRAWhat's",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_qa_16793"
  },
  {
    "question": "How does Tutorials work?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Tutorials1: Hello Minikube2: Learn Kubernetes Basics2.1: Create a Cluster2.1.1: Using Minikube to Create a Cluster2.2: Deploy an App2.2.1: Using kubectl to Create a Deployment2.3: Explore Your App2.3.1: Viewing Pods and Nodes2.4: Expose Your App Publicly2.4.1: Using a Service to Expose Your App2.5: Scale Your App2.5.1: Running Multiple Instances of Your App2.6: Update Your App2.6.1: Performing a Rolling Update3: Configuration3.1: Updating Configuration via a ConfigMap3.2: Configuring Redis using a ConfigMap3.3: Adopting Sidecar Containers4: Security4.1: Apply Pod Security Standards at the Cluster Level4.2: Apply Pod Security Standards at the Namespace Level4.3: Restrict a Container's Access to Resources with AppArmor4.4: Restrict a Container's Syscalls with seccomp5: Stateless Applications5.1: Exposing an External IP Address to Access an Application in a Cluster5.2: Example: Deploying PHP Guestbook application with Redis6: Stateful Applications6.1: StatefulSet Basics6.2: Example: Deploying WordPress and MySQL with Persistent Volumes6.3: Example: Deploying Cassandra with a StatefulSet6.4: Running ZooKeeper, A Distributed System Coordinator7: Cluster Management7.1: Running Kubelet in Standalone Mode7.2: Configuring swap memory on Kubernetes nodes7.3: Install Drivers and Allocate Devices with DRA7.4: Namespaces Walkthrough8: Services8.1: Connecting Applications with Services8.2: Using Source IP8.3: Explore Termination Behavior for Pods And Their EndpointsThis section of the Kubernetes documentation contains tutorials. A tutorial shows how to accomplish a goal that is larger than a single task. Typically a tutorial has several sections, each of which has a sequence of steps. Before walking through each tutorial, you may want to bookmark the Standardized Glossary page for later references.BasicsKubernetes Basics is an in-depth interactive tutorial that helps you understand the Kubernetes system and try out some basic Kubernetes features.Introduction to Kubernetes (edX)Hello MinikubeConfigurationConfiguring Redis Using a ConfigMapAuthoring PodsAdopting Sidecar ContainersStateless ApplicationsExposing an External IP Address to Access an Application in a ClusterExample: Deploying PHP Guestbook application with RedisStateful ApplicationsStatefulSet BasicsExample: WordPress and MySQL with Persistent VolumesExample: Deploying Cassandra with Stateful SetsRunning ZooKeeper, A CP Distributed SystemServicesConnecting Applications with ServicesUsing Source IPSecurityApply Pod Security Standards at Cluster levelApply Pod Security Standards at Namespace levelRestrict a Container's Access to Resources with AppArmorSeccompCluster ManagementConfiguring Swap Memory on Kubernetes NodesRunning Kubelet in Standalone ModeInstall Drivers and Allocate Devices with DRAWhat's",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_qa_16794"
  },
  {
    "question": "When would you use Tutorials?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Tutorials1: Hello Minikube2: Learn Kubernetes Basics2.1: Create a Cluster2.1.1: Using Minikube to Create a Cluster2.2: Deploy an App2.2.1: Using kubectl to Create a Deployment2.3: Explore Your App2.3.1: Viewing Pods and Nodes2.4: Expose Your App Publicly2.4.1: Using a Service to Expose Your App2.5: Scale Your App2.5.1: Running Multiple Instances of Your App2.6: Update Your App2.6.1: Performing a Rolling Update3: Configuration3.1: Updating Configuration via a ConfigMap3.2: Configuring Redis using a ConfigMap3.3: Adopting Sidecar Containers4: Security4.1: Apply Pod Security Standards at the Cluster Level4.2: Apply Pod Security Standards at the Namespace Level4.3: Restrict a Container's Access to Resources with AppArmor4.4: Restrict a Container's Syscalls with seccomp5: Stateless Applications5.1: Exposing an External IP Address to Access an Application in a Cluster5.2: Example: Deploying PHP Guestbook application with Redis6: Stateful Applications6.1: StatefulSet Basics6.2: Example: Deploying WordPress and MySQL with Persistent Volumes6.3: Example: Deploying Cassandra with a StatefulSet6.4: Running ZooKeeper, A Distributed System Coordinator7: Cluster Management7.1: Running Kubelet in Standalone Mode7.2: Configuring swap memory on Kubernetes nodes7.3: Install Drivers and Allocate Devices with DRA7.4: Namespaces Walkthrough8: Services8.1: Connecting Applications with Services8.2: Using Source IP8.3: Explore Termination Behavior for Pods And Their EndpointsThis section of the Kubernetes documentation contains tutorials. A tutorial shows how to accomplish a goal that is larger than a single task. Typically a tutorial has several sections, each of which has a sequence of steps. Before walking through each tutorial, you may want to bookmark the Standardized Glossary page for later references.BasicsKubernetes Basics is an in-depth interactive tutorial that helps you understand the Kubernetes system and try out some basic Kubernetes features.Introduction to Kubernetes (edX)Hello MinikubeConfigurationConfiguring Redis Using a ConfigMapAuthoring PodsAdopting Sidecar ContainersStateless ApplicationsExposing an External IP Address to Access an Application in a ClusterExample: Deploying PHP Guestbook application with RedisStateful ApplicationsStatefulSet BasicsExample: WordPress and MySQL with Persistent VolumesExample: Deploying Cassandra with Stateful SetsRunning ZooKeeper, A CP Distributed SystemServicesConnecting Applications with ServicesUsing Source IPSecurityApply Pod Security Standards at Cluster levelApply Pod Security Standards at Namespace levelRestrict a Container's Access to Resources with AppArmorSeccompCluster ManagementConfiguring Swap Memory on Kubernetes NodesRunning Kubelet in Standalone ModeInstall Drivers and Allocate Devices with DRAWhat's",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_qa_16795"
  },
  {
    "question": "What are the benefits of Tutorials?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Tutorials1: Hello Minikube2: Learn Kubernetes Basics2.1: Create a Cluster2.1.1: Using Minikube to Create a Cluster2.2: Deploy an App2.2.1: Using kubectl to Create a Deployment2.3: Explore Your App2.3.1: Viewing Pods and Nodes2.4: Expose Your App Publicly2.4.1: Using a Service to Expose Your App2.5: Scale Your App2.5.1: Running Multiple Instances of Your App2.6: Update Your App2.6.1: Performing a Rolling Update3: Configuration3.1: Updating Configuration via a ConfigMap3.2: Configuring Redis using a ConfigMap3.3: Adopting Sidecar Containers4: Security4.1: Apply Pod Security Standards at the Cluster Level4.2: Apply Pod Security Standards at the Namespace Level4.3: Restrict a Container's Access to Resources with AppArmor4.4: Restrict a Container's Syscalls with seccomp5: Stateless Applications5.1: Exposing an External IP Address to Access an Application in a Cluster5.2: Example: Deploying PHP Guestbook application with Redis6: Stateful Applications6.1: StatefulSet Basics6.2: Example: Deploying WordPress and MySQL with Persistent Volumes6.3: Example: Deploying Cassandra with a StatefulSet6.4: Running ZooKeeper, A Distributed System Coordinator7: Cluster Management7.1: Running Kubelet in Standalone Mode7.2: Configuring swap memory on Kubernetes nodes7.3: Install Drivers and Allocate Devices with DRA7.4: Namespaces Walkthrough8: Services8.1: Connecting Applications with Services8.2: Using Source IP8.3: Explore Termination Behavior for Pods And Their EndpointsThis section of the Kubernetes documentation contains tutorials. A tutorial shows how to accomplish a goal that is larger than a single task. Typically a tutorial has several sections, each of which has a sequence of steps. Before walking through each tutorial, you may want to bookmark the Standardized Glossary page for later references.BasicsKubernetes Basics is an in-depth interactive tutorial that helps you understand the Kubernetes system and try out some basic Kubernetes features.Introduction to Kubernetes (edX)Hello MinikubeConfigurationConfiguring Redis Using a ConfigMapAuthoring PodsAdopting Sidecar ContainersStateless ApplicationsExposing an External IP Address to Access an Application in a ClusterExample: Deploying PHP Guestbook application with RedisStateful ApplicationsStatefulSet BasicsExample: WordPress and MySQL with Persistent VolumesExample: Deploying Cassandra with Stateful SetsRunning ZooKeeper, A CP Distributed SystemServicesConnecting Applications with ServicesUsing Source IPSecurityApply Pod Security Standards at Cluster levelApply Pod Security Standards at Namespace levelRestrict a Container's Access to Resources with AppArmorSeccompCluster ManagementConfiguring Swap Memory on Kubernetes NodesRunning Kubelet in Standalone ModeInstall Drivers and Allocate Devices with DRAWhat's",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_qa_16796"
  },
  {
    "question": "What is Tutorials?",
    "answer": "1 :   H e l l o   M i n i k u b e 2 :   L e a r n   K u b e r n e t e s   B a s i c s 2 . 1 :   C r e a t e   a   C l u s t e r 2 . 1 . 1 :   U s i n g   M i n i k u b e   t o   C r e a t e   a   C l u s t e r 2 . 2 :   D e p l o y   a n   A p p 2 . 2 . 1 :   U s i n g   k u b e c t l   t o   C r e a t e   a   D e p l o y m e n t 2 . 3 :   E x p l o r e   Y o u r   A p p 2 . 3 . 1 :   V i e w i n g   P o d s   a n d   N o d e s 2 . 4 :   E x p o s e   Y o u r   A p p   P u b l i c l y 2 . 4 . 1 :   U s i n g   a   S e r v i c e   t o   E x p o s e   Y o u r   A p p 2 . 5 :   S c a l e   Y o u r   A p p 2 . 5 . 1 :   R u n n i n g   M u l t i p l e   I n s t a n c e s   o f   Y o u r   A p p 2 . 6 :   U p d a t e   Y o u r   A p p 2 . 6 . 1 :   P e r f o r m i n g   a   R o l l i n g   U p d a t e 3 :   C o n f i g u r a t i o n 3 . 1 :   U p d a t i n g   C o n f i g u r a t i o n   v i a   a   C o n f i g M a p 3 . 2 :   C o n f i g u r i n g   R e d i s   u s i n g   a   C o n f i g M a p 3 . 3 :   A d o p t i n g   S i d e c a r   C o n t a i n e r s 4 :   S e c u r i t y 4 . 1 :   A p p l y   P o d   S e c u r i t y   S t a n d a r d s   a t   t h e   C l u s t e r   L e v e l 4 . 2 :   A p p l y   P o d   S e c u r i t y   S t a n d a r d s   a t   t h e   N a m e s p a c e   L e v e l 4 . 3 :   R e s t r i c t   a   C o n t a i n e r ' s   A c c e s s   t o   R e s o u r c e s   w i t h   A p p A r m o r 4 . 4 :   R e s t r i c t   a   C o n t a i n e r ' s   S y s c a l l s   w i t h   s e c c o m p 5 :   S t a t e l e s s   A p p l i c a t i o n s 5 . 1 :   E x p o s i n g   a n   E x t e r n a l   I P   A d d r e s s   t o   A c c e s s   a n   A p p l i c a t i o n   i n   a   C l u s t e r 5 . 2 :   E x a m p l e :   D e p l o y i n g   P H P   G u e s t b o o k   a p p l i c a t i o n   w i t h   R e d i s 6 :   S t a t e f u l   A p p l i c a t i o n s 6 . 1 :   S t a t e f u l S e t   B a s i c s 6 . 2 :   E x a m p l e :   D e p l o y i n g   W o r d ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_1_16797"
  },
  {
    "question": "What is Basics?",
    "answer": "K u b e r n e t e s   B a s i c s   i s   a n   i n - d e p t h   i n t e r a c t i v e   t u t o r i a l   t h a t   h e l p s   y o u   u n d e r s t a n d   t h e   K u b e r n e t e s   s y s t e m   a n d   t r y   o u t   s o m e   b a s i c   K u b e r n e t e s   f e a t u r e s . I n t r o d u c t i o n   t o   K u b e r n e t e s   ( e d X ) H e l l o   M i n i k u b e",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16798"
  },
  {
    "question": "What is Configuration?",
    "answer": "C o n f i g u r i n g   R e d i s   U s i n g   a   C o n f i g M a p",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16799"
  },
  {
    "question": "What is Authoring Pods?",
    "answer": "A d o p t i n g   S i d e c a r   C o n t a i n e r s",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16800"
  },
  {
    "question": "What is Stateless Applications?",
    "answer": "E x p o s i n g   a n   E x t e r n a l   I P   A d d r e s s   t o   A c c e s s   a n   A p p l i c a t i o n   i n   a   C l u s t e r E x a m p l e :   D e p l o y i n g   P H P   G u e s t b o o k   a p p l i c a t i o n   w i t h   R e d i s",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16801"
  },
  {
    "question": "What is Stateful Applications?",
    "answer": "S t a t e f u l S e t   B a s i c s E x a m p l e :   W o r d P r e s s   a n d   M y S Q L   w i t h   P e r s i s t e n t   V o l u m e s E x a m p l e :   D e p l o y i n g   C a s s a n d r a   w i t h   S t a t e f u l   S e t s R u n n i n g   Z o o K e e p e r ,   A   C P   D i s t r i b u t e d   S y s t e m",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16802"
  },
  {
    "question": "What is Services?",
    "answer": "C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s U s i n g   S o u r c e   I P",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16803"
  },
  {
    "question": "What is Security?",
    "answer": "A p p l y   P o d   S e c u r i t y   S t a n d a r d s   a t   C l u s t e r   l e v e l A p p l y   P o d   S e c u r i t y   S t a n d a r d s   a t   N a m e s p a c e   l e v e l R e s t r i c t   a   C o n t a i n e r ' s   A c c e s s   t o   R e s o u r c e s   w i t h   A p p A r m o r S e c c o m p",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16804"
  },
  {
    "question": "What is Cluster Management?",
    "answer": "C o n f i g u r i n g   S w a p   M e m o r y   o n   K u b e r n e t e s   N o d e s R u n n i n g   K u b e l e t   i n   S t a n d a l o n e   M o d e I n s t a l l   D r i v e r s   a n d   A l l o c a t e   D e v i c e s   w i t h   D R A",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16805"
  },
  {
    "question": "What is What's next?",
    "answer": "I f   y o u   w o u l d   l i k e   t o   w r i t e   a   t u t o r i a l ,   s e e   C o n t e n t   P a g e   T y p e s   f o r   i n f o r m a t i o n   a b o u t   t h e   t u t o r i a l   p a g e   t y p e .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16806"
  },
  {
    "question": "What is 1 - Hello Minikube?",
    "answer": "T h i s   t u t o r i a l   s h o w s   y o u   h o w   t o   r u n   a   s a m p l e   a p p   o n   K u b e r n e t e s   u s i n g   m i n i k u b e .   T h e   t u t o r i a l   p r o v i d e s   a   c o n t a i n e r   i m a g e   t h a t   u s e s   N G I N X   t o   e c h o   b a c k   a l l   t h e   r e q u e s t s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_1_16807"
  },
  {
    "question": "What is Objectives?",
    "answer": "D e p l o y   a   s a m p l e   a p p l i c a t i o n   t o   m i n i k u b e . R u n   t h e   a p p . V i e w   a p p l i c a t i o n   l o g s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16808"
  },
  {
    "question": "What is Before you begin?",
    "answer": "T h i s   t u t o r i a l   a s s u m e s   t h a t   y o u   h a v e   a l r e a d y   s e t   u p   m i n i k u b e .   S e e   S t e p   1   i n   m i n i k u b e   s t a r t   f o r   i n s t a l l a t i o n   i n s t r u c t i o n s . N o t e : O n l y   e x e c u t e   t h e   i n s t r u c t i o n s   i n   S t e p   1 ,   I n s t a l l a t i o n .   T h e   r e s t   i s   c o v e r e d   o n   t h i s   p a g e .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16809"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   a l s o   n e e d   t o   i n s t a l l   k u b e c t l .   S e e   I n s t a l l   t o o l s   f o r   i n s t a l l a t i o n   i n s t r u c t i o n s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16810"
  },
  {
    "question": "What is Create a minikube cluster?",
    "answer": "m i n i k u b e   s t a r t",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16811"
  },
  {
    "question": "What is Open the Dashboard?",
    "answer": "O p e n   t h e   K u b e r n e t e s   d a s h b o a r d .   Y o u   c a n   d o   t h i s   t w o   d i f f e r e n t   w a y s :   O p e n   a   n e w   t e r m i n a l ,   a n d   r u n : #   S t a r t   a   n e w   t e r m i n a l ,   a n d   l e a v e   t h i s   r u n n i n g .   m i n i k u b e   d a s h b o a r d   N o w ,   s w i t c h   b a c k   t o   t h e   t e r m i n a l   w h e r e   y o u   r a n   m i n i k u b e   s t a r t . N o t e : T h e   d a s h b o a r d   c o m m a n d   e n a b l e s   t h e   d a s h b o a r d   a d d - o n   a n d   o p e n s   t h e   p r o x y   i n   t h e   d e f a u l t   w e b   b r o w s e r .   Y o u   c a n   c r e a t e   K u b e r n e t e s   r e s o u r c e s   o n   t h e   d a s h b o a r d   s u c h   a s   D e p l o y m e n t   a n d   S e r v i c e . T o   f i n d   o u t   h o w   t o   a v o i d   d i r e c t l y   i n v o k i n g   t h e   b r o w s e r   f r o m   t h e   t e r m i n a l   a n d   g e t   a   U R L   f o r   t h e   w e b   d a s h b o a r d ,   s e e   t h e   \" U R L   c o p y   a n d   p a s t e \"   t a b . B y   d e f a u l t ,   t h e   d a s h b o a r d   i s   o n l y   a c c e s s i b l e   f r o m   w i t h i n   t h e   i n t e r n a l   K u b e r n e t e s   v i r t u a l   n e t w o r k .   T h e   d a s h b o a r d   c o m m a n d   c r e a t e s   a   t e m p o r a r y   p r o x y   t o   m a k e   t h e   d a s h b o a r d   a c c e s s i b l e   f r o m   o u t s i d e   t h e   K u b e r n e t e s   v i r t u a l   n e t w o r k . T o   s t o p   t h e   p r o x y ,   r u n   C t r l + C   t o   e x i t   t h e   p r o c e s s .   A f t e r   t h e   c o m m a n d   e x i t s ,   t h e   d a s h b o a r d   r e m a i n s   r u n n i n g   i n   t h e   K u b e r n e t e s   c l u s t e r .   Y o u   c a n   r u n   t h e   d a s h b o a r d   c o m m a n d   a g a i n   t o   c r e a t e   a n o t h e r   p r o x y   t o   a c c e s s   t h e   d a s h b o a r d . ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16812"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   d a s h b o a r d   c o m m a n d   e n a b l e s   t h e   d a s h b o a r d   a d d - o n   a n d   o p e n s   t h e   p r o x y   i n   t h e   d e f a u l t   w e b   b r o w s e r .   Y o u   c a n   c r e a t e   K u b e r n e t e s   r e s o u r c e s   o n   t h e   d a s h b o a r d   s u c h   a s   D e p l o y m e n t   a n d   S e r v i c e .   T o   f i n d   o u t   h o w   t o   a v o i d   d i r e c t l y   i n v o k i n g   t h e   b r o w s e r   f r o m   t h e   t e r m i n a l   a n d   g e t   a   U R L   f o r   t h e   w e b   d a s h b o a r d ,   s e e   t h e   \" U R L   c o p y   a n d   p a s t e \"   t a b .   B y   d e f a u l t ,   t h e   d a s h b o a r d   i s   o n l y   a c c e s s i b l e   f r o m   w i t h i n   t h e   i n t e r n a l   K u b e r n e t e s   v i r t u a l   n e t w o r k .   T h e   d a s h b o a r d   c o m m a n d   c r e a t e s   a   t e m p o r a r y   p r o x y   t o   m a k e   t h e   d a s h b o a r d   a c c e s s i b l e   f r o m   o u t s i d e   t h e   K u b e r n e t e s   v i r t u a l   n e t w o r k .   T o   s t o p   t h e   p r o x y ,   r u n   C t r l + C   t o   e x i t   t h e   p r o c e s s .   A f t e r   t h e   c o m m a n d   e x i t s ,   t h e   d a s h b o a r d   r e m a i n s   r u n n i n g   i n   t h e   K u b e r n e t e s   c l u s t e r .   Y o u   c a n   r u n   t h e   d a s h b o a r d   c o m m a n d   a g a i n   t o   c r e a t e   a n o t h e r   p r o x y   t o   a c c e s s   t h e   d a s h b o a r d .   I f   y o u   d o n ' t   w a n t   m i n i k u b e   t o   o p e n   a   w e b   b r o w s e r   f o r   y o u ,   r u n   t h e   d a s h b o a r d   s u b c o m m a n d   w i t h   t h e   - - u r l   f l a g .   m i n i k u b e   o u t p u t s   a   U R L   t h a t   y o u   c a n   o p e n   i n   t h e   b r o w s e r   y o u   p r e f e r . O p e n   a   n e w   t e r m i n a l ,   a n d   r u n : #   S t a r t   a   n e w   t e r m i n a l ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16813"
  },
  {
    "question": "What is Create a Deployment?",
    "answer": "A   K u b e r n e t e s   P o d   i s   a   g r o u p   o f   o n e   o r   m o r e   C o n t a i n e r s ,   t i e d   t o g e t h e r   f o r   t h e   p u r p o s e s   o f   a d m i n i s t r a t i o n   a n d   n e t w o r k i n g .   T h e   P o d   i n   t h i s   t u t o r i a l   h a s   o n l y   o n e   C o n t a i n e r .   A   K u b e r n e t e s   D e p l o y m e n t   c h e c k s   o n   t h e   h e a l t h   o f   y o u r   P o d   a n d   r e s t a r t s   t h e   P o d ' s   C o n t a i n e r   i f   i t   t e r m i n a t e s .   D e p l o y m e n t s   a r e   t h e   r e c o m m e n d e d   w a y   t o   m a n a g e   t h e   c r e a t i o n   a n d   s c a l i n g   o f   P o d s .   U s e   t h e   k u b e c t l   c r e a t e   c o m m a n d   t o   c r e a t e   a   D e p l o y m e n t   t h a t   m a n a g e s   a   P o d .   T h e   P o d   r u n s   a   C o n t a i n e r   b a s e d   o n   t h e   p r o v i d e d   D o c k e r   i m a g e . #   R u n   a   t e s t   c o n t a i n e r   i m a g e   t h a t   i n c l u d e s   a   w e b s e r v e r   k u b e c t l   c r e a t e   d e p l o y m e n t   h e l l o - n o d e   - - i m a g e = r e g i s t r y . k 8 s . i o / e 2 e - t e s t - i m a g e s / a g n h o s t : 2 . 5 3   - -   / a g n h o s t   n e t e x e c   - - h t t p - p o r t = 8 0 8 0   V i e w   t h e   D e p l o y m e n t : k u b e c t l   g e t   d e p l o y m e n t s   T h e   o u t p u t   i s   s i m i l a r   t o : N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   h e l l o - n o d e   1 / 1   1   1   1 m   ( I t   m a y   t a k e   s o m e   t i m e   f o r   t h e   p o d   t o   b e c o m e   a v a i l a b l e .   I f   y o u   s e e   \" 0 / 1 \" ,   t r y   a g a i n   i n   a   f e w   s e c o n d s . ) V i e w   t h e   P o d : k u b e c t l   g e t   p o d s   T h e   o u t p u t   i s   s i m i l a r   t o : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   h e l l o - n o d e - 5 ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16814"
  },
  {
    "question": "What is Note:?",
    "answer": "k u b e c t l   l o g s   h e l l o - n o d e - 5 f 7 6 c f 6 c c f - b r 9 b 5   T h e   o u t p u t   i s   s i m i l a r   t o :   I 0 9 1 1   0 9 : 1 9 : 2 6 . 6 7 7 3 9 7   1   l o g . g o : 1 9 5 ]   S t a r t e d   H T T P   s e r v e r   o n   p o r t   8 0 8 0   I 0 9 1 1   0 9 : 1 9 : 2 6 . 6 7 7 5 8 6   1   l o g . g o : 1 9 5 ]   S t a r t e d   U D P   s e r v e r   o n   p o r t   8 0 8 1",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16815"
  },
  {
    "question": "What is Create a Service?",
    "answer": "B y   d e f a u l t ,   t h e   P o d   i s   o n l y   a c c e s s i b l e   b y   i t s   i n t e r n a l   I P   a d d r e s s   w i t h i n   t h e   K u b e r n e t e s   c l u s t e r .   T o   m a k e   t h e   h e l l o - n o d e   C o n t a i n e r   a c c e s s i b l e   f r o m   o u t s i d e   t h e   K u b e r n e t e s   v i r t u a l   n e t w o r k ,   y o u   h a v e   t o   e x p o s e   t h e   P o d   a s   a   K u b e r n e t e s   S e r v i c e .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16816"
  },
  {
    "question": "What is Warning:?",
    "answer": "E x p o s e   t h e   P o d   t o   t h e   p u b l i c   i n t e r n e t   u s i n g   t h e   k u b e c t l   e x p o s e   c o m m a n d : k u b e c t l   e x p o s e   d e p l o y m e n t   h e l l o - n o d e   - - t y p e = L o a d B a l a n c e r   - - p o r t = 8 0 8 0   T h e   - - t y p e = L o a d B a l a n c e r   f l a g   i n d i c a t e s   t h a t   y o u   w a n t   t o   e x p o s e   y o u r   S e r v i c e   o u t s i d e   o f   t h e   c l u s t e r . T h e   a p p l i c a t i o n   c o d e   i n s i d e   t h e   t e s t   i m a g e   o n l y   l i s t e n s   o n   T C P   p o r t   8 0 8 0 .   I f   y o u   u s e d   k u b e c t l   e x p o s e   t o   e x p o s e   a   d i f f e r e n t   p o r t ,   c l i e n t s   c o u l d   n o t   c o n n e c t   t o   t h a t   o t h e r   p o r t . V i e w   t h e   S e r v i c e   y o u   c r e a t e d : k u b e c t l   g e t   s e r v i c e s   T h e   o u t p u t   i s   s i m i l a r   t o : N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   h e l l o - n o d e   L o a d B a l a n c e r   1 0 . 1 0 8 . 1 4 4 . 7 8   < p e n d i n g >   8 0 8 0 : 3 0 3 6 9 / T C P   2 1 s   k u b e r n e t e s   C l u s t e r I P   1 0 . 9 6 . 0 . 1   < n o n e >   4 4 3 / T C P   2 3 m   O n   c l o u d   p r o v i d e r s   t h a t   s u p p o r t   l o a d   b a l a n c e r s ,   a n   e x t e r n a l   I P   a d d r e s s   w o u l d   b e   p r o v i s i o n e d   t o   a c c e s s   t h e   S e r v i c e .   O n   m i n i k u b e ,   t h e   L o a d B a l a n c e r   t y p e   m a k e s   t h e   S e r v i c e   a c c e s s i b l e   t h r o u g h   t h e   m i n i k u b e   s e r v i c e   c o m m a n d . R u n   t h e   f o l l o w i n g   c o m m a n d : m i n i k u b e   s e r v i c e   h e l l o - n o d e   T h i s   o p e n s   u p   a   b r o w s e r   w i n d o w   t h a t   s e r v e s   y o u r   a p p   a n d   s h o w s   t h e   a p p ' s   r e s p o n s e ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16817"
  },
  {
    "question": "What is Enable addons?",
    "answer": "T h e   m i n i k u b e   t o o l   i n c l u d e s   a   s e t   o f   b u i l t - i n   a d d o n s   t h a t   c a n   b e   e n a b l e d ,   d i s a b l e d   a n d   o p e n e d   i n   t h e   l o c a l   K u b e r n e t e s   e n v i r o n m e n t .   L i s t   t h e   c u r r e n t l y   s u p p o r t e d   a d d o n s : m i n i k u b e   a d d o n s   l i s t   T h e   o u t p u t   i s   s i m i l a r   t o : a d d o n - m a n a g e r :   e n a b l e d   d a s h b o a r d :   e n a b l e d   d e f a u l t - s t o r a g e c l a s s :   e n a b l e d   e f k :   d i s a b l e d   f r e s h p o d :   d i s a b l e d   g v i s o r :   d i s a b l e d   h e l m - t i l l e r :   d i s a b l e d   i n g r e s s :   d i s a b l e d   i n g r e s s - d n s :   d i s a b l e d   l o g v i e w e r :   d i s a b l e d   m e t r i c s - s e r v e r :   d i s a b l e d   n v i d i a - d r i v e r - i n s t a l l e r :   d i s a b l e d   n v i d i a - g p u - d e v i c e - p l u g i n :   d i s a b l e d   r e g i s t r y :   d i s a b l e d   r e g i s t r y - c r e d s :   d i s a b l e d   s t o r a g e - p r o v i s i o n e r :   e n a b l e d   s t o r a g e - p r o v i s i o n e r - g l u s t e r :   d i s a b l e d   E n a b l e   a n   a d d o n ,   f o r   e x a m p l e ,   m e t r i c s - s e r v e r : m i n i k u b e   a d d o n s   e n a b l e   m e t r i c s - s e r v e r   T h e   o u t p u t   i s   s i m i l a r   t o : T h e   ' m e t r i c s - s e r v e r '   a d d o n   i s   e n a b l e d   V i e w   t h e   P o d   a n d   S e r v i c e   y o u   c r e a t e d   b y   i n s t a l l i n g   t h a t   a d d o n : k u b e c t l   g e t   p o d , s v c   - n   k u b e - s y s t e m   T h e   o u t p u t   i s   s i m i l a r   t o : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   p o d / c o r e d n s - 5 6 4 4 d 7 b 6 d 9 - m h 9 l l   1 / 1   R u n n i n g   0   3 4 m   p o d / c o r e d n s - 5 6 4 4 d 7 b 6 d 9 - p q d 2 t   1 / 1   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16818"
  },
  {
    "question": "What is Clean up?",
    "answer": "N o w   y o u   c a n   c l e a n   u p   t h e   r e s o u r c e s   y o u   c r e a t e d   i n   y o u r   c l u s t e r :   k u b e c t l   d e l e t e   s e r v i c e   h e l l o - n o d e   k u b e c t l   d e l e t e   d e p l o y m e n t   h e l l o - n o d e   S t o p   t h e   M i n i k u b e   c l u s t e r   m i n i k u b e   s t o p   O p t i o n a l l y ,   d e l e t e   t h e   M i n i k u b e   V M :   #   O p t i o n a l   m i n i k u b e   d e l e t e   I f   y o u   w a n t   t o   u s e   m i n i k u b e   a g a i n   t o   l e a r n   m o r e   a b o u t   K u b e r n e t e s ,   y o u   d o n ' t   n e e d   t o   d e l e t e   i t .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16819"
  },
  {
    "question": "What is Conclusion?",
    "answer": "T h i s   p a g e   c o v e r e d   t h e   b a s i c   a s p e c t s   t o   g e t   a   m i n i k u b e   c l u s t e r   u p   a n d   r u n n i n g .   Y o u   a r e   n o w   r e a d y   t o   d e p l o y   a p p l i c a t i o n s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16820"
  },
  {
    "question": "What is What's next?",
    "answer": "T u t o r i a l   t o   d e p l o y   y o u r   f i r s t   a p p   o n   K u b e r n e t e s   w i t h   k u b e c t l . L e a r n   m o r e   a b o u t   D e p l o y m e n t   o b j e c t s . L e a r n   m o r e   a b o u t   D e p l o y i n g   a p p l i c a t i o n s . L e a r n   m o r e   a b o u t   S e r v i c e   o b j e c t s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16821"
  },
  {
    "question": "What is Objectives?",
    "answer": "T h i s   t u t o r i a l   p r o v i d e s   a   w a l k t h r o u g h   o f   t h e   b a s i c s   o f   t h e   K u b e r n e t e s   c l u s t e r   o r c h e s t r a t i o n   s y s t e m .   E a c h   m o d u l e   c o n t a i n s   s o m e   b a c k g r o u n d   i n f o r m a t i o n   o n   m a j o r   K u b e r n e t e s   f e a t u r e s   a n d   c o n c e p t s ,   a n d   a   t u t o r i a l   f o r   y o u   t o   f o l l o w   a l o n g .   U s i n g   t h e   t u t o r i a l s ,   y o u   c a n   l e a r n   t o :   D e p l o y   a   c o n t a i n e r i z e d   a p p l i c a t i o n   o n   a   c l u s t e r . S c a l e   t h e   d e p l o y m e n t . U p d a t e   t h e   c o n t a i n e r i z e d   a p p l i c a t i o n   w i t h   a   n e w   s o f t w a r e   v e r s i o n . D e b u g   t h e   c o n t a i n e r i z e d   a p p l i c a t i o n .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16822"
  },
  {
    "question": "What is What can Kubernetes do for you??",
    "answer": "W i t h   m o d e r n   w e b   s e r v i c e s ,   u s e r s   e x p e c t   a p p l i c a t i o n s   t o   b e   a v a i l a b l e   2 4 / 7 ,   a n d   d e v e l o p e r s   e x p e c t   t o   d e p l o y   n e w   v e r s i o n s   o f   t h o s e   a p p l i c a t i o n s   s e v e r a l   t i m e s   a   d a y .   C o n t a i n e r i z a t i o n   h e l p s   p a c k a g e   s o f t w a r e   t o   s e r v e   t h e s e   g o a l s ,   e n a b l i n g   a p p l i c a t i o n s   t o   b e   r e l e a s e d   a n d   u p d a t e d   w i t h o u t   d o w n t i m e .   K u b e r n e t e s   h e l p s   y o u   m a k e   s u r e   t h o s e   c o n t a i n e r i z e d   a p p l i c a t i o n s   r u n   w h e r e   a n d   w h e n   y o u   w a n t ,   a n d   h e l p s   t h e m   f i n d   t h e   r e s o u r c e s   a n d   t o o l s   t h e y   n e e d   t o   w o r k .   K u b e r n e t e s   i s   a   p r o d u c t i o n - r e a d y ,   o p e n   s o u r c e   p l a t f o r m   d e s i g n e d   w i t h   G o o g l e ' s   a c c u m u l a t e d   e x p e r i e n c e   i n   c o n t a i n e r   o r c h e s t r a t i o n ,   c o m b i n e d   w i t h   b e s t - o f - b r e e d   i d e a s   f r o m   t h e   c o m m u n i t y .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16823"
  },
  {
    "question": "What is What's next?",
    "answer": "T u t o r i a l   U s i n g   M i n i k u b e   t o   C r e a t e   a   C l u s t e r",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16824"
  },
  {
    "question": "What is 2.1 - Create a Cluster?",
    "answer": "L e a r n   a b o u t   K u b e r n e t e s   c l u s t e r   a n d   c r e a t e   a   s i m p l e   c l u s t e r   u s i n g   M i n i k u b e .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_1_16825"
  },
  {
    "question": "What is Objectives?",
    "answer": "L e a r n   w h a t   a   K u b e r n e t e s   c l u s t e r   i s . L e a r n   w h a t   M i n i k u b e   i s . S t a r t   a   K u b e r n e t e s   c l u s t e r   o n   y o u r   c o m p u t e r .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16826"
  },
  {
    "question": "What is Kubernetes Clusters?",
    "answer": "K u b e r n e t e s   c o o r d i n a t e s   a   h i g h l y   a v a i l a b l e   c l u s t e r   o f   c o m p u t e r s   t h a t   a r e   c o n n e c t e d   t o   w o r k   a s   a   s i n g l e   u n i t .   T h e   a b s t r a c t i o n s   i n   K u b e r n e t e s   a l l o w   y o u   t o   d e p l o y   c o n t a i n e r i z e d   a p p l i c a t i o n s   t o   a   c l u s t e r   w i t h o u t   t y i n g   t h e m   s p e c i f i c a l l y   t o   i n d i v i d u a l   m a c h i n e s .   T o   m a k e   u s e   o f   t h i s   n e w   m o d e l   o f   d e p l o y m e n t ,   a p p l i c a t i o n s   n e e d   t o   b e   p a c k a g e d   i n   a   w a y   t h a t   d e c o u p l e s   t h e m   f r o m   i n d i v i d u a l   h o s t s :   t h e y   n e e d   t o   b e   c o n t a i n e r i z e d .   C o n t a i n e r i z e d   a p p l i c a t i o n s   a r e   m o r e   f l e x i b l e   a n d   a v a i l a b l e   t h a n   i n   p a s t   d e p l o y m e n t   m o d e l s ,   w h e r e   a p p l i c a t i o n s   w e r e   i n s t a l l e d   d i r e c t l y   o n t o   s p e c i f i c   m a c h i n e s   a s   p a c k a g e s   d e e p l y   i n t e g r a t e d   i n t o   t h e   h o s t .   K u b e r n e t e s   a u t o m a t e s   t h e   d i s t r i b u t i o n   a n d   s c h e d u l i n g   o f   a p p l i c a t i o n   c o n t a i n e r s   a c r o s s   a   c l u s t e r   i n   a   m o r e   e f f i c i e n t   w a y .   K u b e r n e t e s   i s   a n   o p e n - s o u r c e   p l a t f o r m   a n d   i s   p r o d u c t i o n - r e a d y .   A   K u b e r n e t e s   c l u s t e r   c o n s i s t s   o f   t w o   t y p e s   o f   r e s o u r c e s :   T h e   C o n t r o l   P l a n e   c o o r d i n a t e s   t h e   c l u s t e r N o d e s   a r e   t h e   w o r k e r s   t h a t   r u n   a p p l i c a t i o n s",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16827"
  },
  {
    "question": "What is Cluster Diagram?",
    "answer": "T h e   C o n t r o l   P l a n e   i s   r e s p o n s i b l e   f o r   m a n a g i n g   t h e   c l u s t e r .   T h e   C o n t r o l   P l a n e   c o o r d i n a t e s   a l l   a c t i v i t i e s   i n   y o u r   c l u s t e r ,   s u c h   a s   s c h e d u l i n g   a p p l i c a t i o n s ,   m a i n t a i n i n g   a p p l i c a t i o n s '   d e s i r e d   s t a t e ,   s c a l i n g   a p p l i c a t i o n s ,   a n d   r o l l i n g   o u t   n e w   u p d a t e s .   A   n o d e   i s   a   V M   o r   a   p h y s i c a l   c o m p u t e r   t h a t   s e r v e s   a s   a   w o r k e r   m a c h i n e   i n   a   K u b e r n e t e s   c l u s t e r .   E a c h   n o d e   h a s   a   K u b e l e t ,   w h i c h   i s   a n   a g e n t   f o r   m a n a g i n g   t h e   n o d e   a n d   c o m m u n i c a t i n g   w i t h   t h e   K u b e r n e t e s   c o n t r o l   p l a n e .   T h e   n o d e   s h o u l d   a l s o   h a v e   t o o l s   f o r   h a n d l i n g   c o n t a i n e r   o p e r a t i o n s ,   s u c h   a s   c o n t a i n e r d   o r   C R I - O .   A   K u b e r n e t e s   c l u s t e r   t h a t   h a n d l e s   p r o d u c t i o n   t r a f f i c   s h o u l d   h a v e   a   m i n i m u m   o f   t h r e e   n o d e s   b e c a u s e   i f   o n e   n o d e   g o e s   d o w n ,   b o t h   a n   e t c d   m e m b e r   a n d   a   c o n t r o l   p l a n e   i n s t a n c e   a r e   l o s t ,   a n d   r e d u n d a n c y   i s   c o m p r o m i s e d .   Y o u   c a n   m i t i g a t e   t h i s   r i s k   b y   a d d i n g   m o r e   c o n t r o l   p l a n e   n o d e s .   W h e n   y o u   d e p l o y   a p p l i c a t i o n s   o n   K u b e r n e t e s ,   y o u   t e l l   t h e   c o n t r o l   p l a n e   t o   s t a r t   t h e   a p p l i c a t i o n   c o n t a i n e r s .   T h e   c o n t r o l   p l a n e   s c h e d u l e s   t h e   c o n t a i n e r s   t o   r u n   o n   t h e   c l u s t e ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16828"
  },
  {
    "question": "What is What's next?",
    "answer": "T u t o r i a l   H e l l o   M i n i k u b e . L e a r n   m o r e   a b o u t   C l u s t e r   A r c h i t e c t u r e .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16829"
  },
  {
    "question": "What is Objectives?",
    "answer": "L e a r n   a b o u t   a p p l i c a t i o n   D e p l o y m e n t s . D e p l o y   y o u r   f i r s t   a p p   o n   K u b e r n e t e s   w i t h   k u b e c t l .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16830"
  },
  {
    "question": "What is Note:?",
    "answer": "O n c e   y o u   h a v e   a   r u n n i n g   K u b e r n e t e s   c l u s t e r ,   y o u   c a n   d e p l o y   y o u r   c o n t a i n e r i z e d   a p p l i c a t i o n s   o n   t o p   o f   i t .   T o   d o   s o ,   y o u   c r e a t e   a   K u b e r n e t e s   D e p l o y m e n t .   T h e   D e p l o y m e n t   i n s t r u c t s   K u b e r n e t e s   h o w   t o   c r e a t e   a n d   u p d a t e   i n s t a n c e s   o f   y o u r   a p p l i c a t i o n .   O n c e   y o u ' v e   c r e a t e d   a   D e p l o y m e n t ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   s c h e d u l e s   t h e   a p p l i c a t i o n   i n s t a n c e s   i n c l u d e d   i n   t h a t   D e p l o y m e n t   t o   r u n   o n   i n d i v i d u a l   N o d e s   i n   t h e   c l u s t e r .   O n c e   t h e   a p p l i c a t i o n   i n s t a n c e s   a r e   c r e a t e d ,   a   K u b e r n e t e s   D e p l o y m e n t   c o n t r o l l e r   c o n t i n u o u s l y   m o n i t o r s   t h o s e   i n s t a n c e s .   I f   t h e   N o d e   h o s t i n g   a n   i n s t a n c e   g o e s   d o w n   o r   i s   d e l e t e d ,   t h e   D e p l o y m e n t   c o n t r o l l e r   r e p l a c e s   t h e   i n s t a n c e   w i t h   a n   i n s t a n c e   o n   a n o t h e r   N o d e   i n   t h e   c l u s t e r .   T h i s   p r o v i d e s   a   s e l f - h e a l i n g   m e c h a n i s m   t o   a d d r e s s   m a c h i n e   f a i l u r e   o r   m a i n t e n a n c e .   I n   a   p r e - o r c h e s t r a t i o n   w o r l d ,   i n s t a l l a t i o n   s c r i p t s   w o u l d   o f t e n   b e   u s e d   t o   s t a r t   a p p l i c a t i o n s ,   b u t   t h e y   d i d   n o t   a l l o w   r e c o v e r y   f r o m   m a c h i n e   f a i l u r e .   B y   b o t h   c r e a t i n g   y o u r   a p p l i c a t i o n   i n s t a n c e s   a n d   k e e p i n g   t h e m   r u n n i n g   a c r o s s   N o d e s ,   K u ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16831"
  },
  {
    "question": "What is Deploying your first app on Kubernetes?",
    "answer": "Y o u   c a n   c r e a t e   a n d   m a n a g e   a   D e p l o y m e n t   b y   u s i n g   t h e   K u b e r n e t e s   c o m m a n d   l i n e   i n t e r f a c e ,   k u b e c t l .   k u b e c t l   u s e s   t h e   K u b e r n e t e s   A P I   t o   i n t e r a c t   w i t h   t h e   c l u s t e r .   I n   t h i s   m o d u l e ,   y o u ' l l   l e a r n   t h e   m o s t   c o m m o n   k u b e c t l   c o m m a n d s   n e e d e d   t o   c r e a t e   D e p l o y m e n t s   t h a t   r u n   y o u r   a p p l i c a t i o n s   o n   a   K u b e r n e t e s   c l u s t e r .   W h e n   y o u   c r e a t e   a   D e p l o y m e n t ,   y o u ' l l   n e e d   t o   s p e c i f y   t h e   c o n t a i n e r   i m a g e   f o r   y o u r   a p p l i c a t i o n   a n d   t h e   n u m b e r   o f   r e p l i c a s   t h a t   y o u   w a n t   t o   r u n .   Y o u   c a n   c h a n g e   t h a t   i n f o r m a t i o n   l a t e r   b y   u p d a t i n g   y o u r   D e p l o y m e n t ;   M o d u l e   5   a n d   M o d u l e   6   o f   t h e   b o o t c a m p   d i s c u s s   h o w   y o u   c a n   s c a l e   a n d   u p d a t e   y o u r   D e p l o y m e n t s .   F o r   y o u r   f i r s t   D e p l o y m e n t ,   y o u ' l l   u s e   a   h e l l o - n o d e   a p p l i c a t i o n   p a c k a g e d   i n   a   D o c k e r   c o n t a i n e r   t h a t   u s e s   N G I N X   t o   e c h o   b a c k   a l l   t h e   r e q u e s t s .   ( I f   y o u   d i d n ' t   a l r e a d y   t r y   c r e a t i n g   a   h e l l o - n o d e   a p p l i c a t i o n   a n d   d e p l o y i n g   i t   u s i n g   a   c o n t a i n e r ,   y o u   c a n   d o   t h a t   f i r s t   b y   f o l l o w i n g   t h e   i n s t r u c t i o n s   f r o m   t h e   H e l l o   M i n i k u b e   t u t o r i a l . )   Y o u   w i l l   n e e d   t o   h a v e   i n s t a l l e d   k u b e c t l   a s   w e l l .   I f   y o u   n e e d   t o   i n s t a l l ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16832"
  },
  {
    "question": "What is kubectl basics?",
    "answer": "T h e   c o m m o n   f o r m a t   o f   a   k u b e c t l   c o m m a n d   i s :   k u b e c t l   a c t i o n   r e s o u r c e .   T h i s   p e r f o r m s   t h e   s p e c i f i e d   a c t i o n   ( l i k e   c r e a t e ,   d e s c r i b e   o r   d e l e t e )   o n   t h e   s p e c i f i e d   r e s o u r c e   ( l i k e   n o d e   o r   d e p l o y m e n t .   Y o u   c a n   u s e   - - h e l p   a f t e r   t h e   s u b c o m m a n d   t o   g e t   a d d i t i o n a l   i n f o   a b o u t   p o s s i b l e   p a r a m e t e r s   ( f o r   e x a m p l e :   k u b e c t l   g e t   n o d e s   - - h e l p ) .   C h e c k   t h a t   k u b e c t l   i s   c o n f i g u r e d   t o   t a l k   t o   y o u r   c l u s t e r ,   b y   r u n n i n g   t h e   k u b e c t l   v e r s i o n   c o m m a n d .   C h e c k   t h a t   k u b e c t l   i s   i n s t a l l e d   a n d   t h a t   y o u   c a n   s e e   b o t h   t h e   c l i e n t   a n d   t h e   s e r v e r   v e r s i o n s .   T o   v i e w   t h e   n o d e s   i n   t h e   c l u s t e r ,   r u n   t h e   k u b e c t l   g e t   n o d e s   c o m m a n d .   Y o u   s e e   t h e   a v a i l a b l e   n o d e s .   L a t e r ,   K u b e r n e t e s   w i l l   c h o o s e   w h e r e   t o   d e p l o y   o u r   a p p l i c a t i o n   b a s e d   o n   N o d e   a v a i l a b l e   r e s o u r c e s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16833"
  },
  {
    "question": "What is Deploy an app?",
    "answer": "L e t ’ s   d e p l o y   o u r   f i r s t   a p p   o n   K u b e r n e t e s   w i t h   t h e   k u b e c t l   c r e a t e   d e p l o y m e n t   c o m m a n d .   W e   n e e d   t o   p r o v i d e   t h e   d e p l o y m e n t   n a m e   a n d   a p p   i m a g e   l o c a t i o n   ( i n c l u d e   t h e   f u l l   r e p o s i t o r y   u r l   f o r   i m a g e s   h o s t e d   o u t s i d e   D o c k e r   H u b ) .   k u b e c t l   c r e a t e   d e p l o y m e n t   k u b e r n e t e s - b o o t c a m p   - - i m a g e = g c r . i o / g o o g l e - s a m p l e s / k u b e r n e t e s - b o o t c a m p : v 1   G r e a t !   Y o u   j u s t   d e p l o y e d   y o u r   f i r s t   a p p l i c a t i o n   b y   c r e a t i n g   a   d e p l o y m e n t .   T h i s   p e r f o r m e d   a   f e w   t h i n g s   f o r   y o u :   s e a r c h e d   f o r   a   s u i t a b l e   n o d e   w h e r e   a n   i n s t a n c e   o f   t h e   a p p l i c a t i o n   c o u l d   b e   r u n   ( w e   h a v e   o n l y   1   a v a i l a b l e   n o d e ) s c h e d u l e d   t h e   a p p l i c a t i o n   t o   r u n   o n   t h a t   N o d e c o n f i g u r e d   t h e   c l u s t e r   t o   r e s c h e d u l e   t h e   i n s t a n c e   o n   a   n e w   N o d e   w h e n   n e e d e d   T o   l i s t   y o u r   d e p l o y m e n t s   u s e   t h e   k u b e c t l   g e t   d e p l o y m e n t s   c o m m a n d :   k u b e c t l   g e t   d e p l o y m e n t s   W e   s e e   t h a t   t h e r e   i s   1   d e p l o y m e n t   r u n n i n g   a   s i n g l e   i n s t a n c e   o f   y o u r   a p p .   T h e   i n s t a n c e   i s   r u n n i n g   i n s i d e   a   c o n t a i n e r   o n   y o u r   n o d e .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16834"
  },
  {
    "question": "What is View the app?",
    "answer": "P o d s   t h a t   a r e   r u n n i n g   i n s i d e   K u b e r n e t e s   a r e   r u n n i n g   o n   a   p r i v a t e ,   i s o l a t e d   n e t w o r k .   B y   d e f a u l t   t h e y   a r e   v i s i b l e   f r o m   o t h e r   p o d s   a n d   s e r v i c e s   w i t h i n   t h e   s a m e   K u b e r n e t e s   c l u s t e r ,   b u t   n o t   o u t s i d e   t h a t   n e t w o r k .   W h e n   w e   u s e   k u b e c t l ,   w e ' r e   i n t e r a c t i n g   t h r o u g h   a n   A P I   e n d p o i n t   t o   c o m m u n i c a t e   w i t h   o u r   a p p l i c a t i o n .   W e   w i l l   c o v e r   o t h e r   o p t i o n s   o n   h o w   t o   e x p o s e   y o u r   a p p l i c a t i o n   o u t s i d e   t h e   K u b e r n e t e s   c l u s t e r   l a t e r ,   i n   M o d u l e   4 .   A l s o   a s   a   b a s i c   t u t o r i a l ,   w e ' r e   n o t   e x p l a i n i n g   w h a t   P o d s   a r e   i n   a n y   d e t a i l   h e r e ,   i t   w i l l   b e   c o v e r e d   i n   l a t e r   t o p i c s .   T h e   k u b e c t l   p r o x y   c o m m a n d   c a n   c r e a t e   a   p r o x y   t h a t   w i l l   f o r w a r d   c o m m u n i c a t i o n s   i n t o   t h e   c l u s t e r - w i d e ,   p r i v a t e   n e t w o r k .   T h e   p r o x y   c a n   b e   t e r m i n a t e d   b y   p r e s s i n g   c o n t r o l - C   a n d   w o n ' t   s h o w   a n y   o u t p u t   w h i l e   i t ' s   r u n n i n g .   Y o u   n e e d   t o   o p e n   a   s e c o n d   t e r m i n a l   w i n d o w   t o   r u n   t h e   p r o x y .   k u b e c t l   p r o x y   W e   n o w   h a v e   a   c o n n e c t i o n   b e t w e e n   o u r   h o s t   ( t h e   t e r m i n a l )   a n d   t h e   K u b e r n e t e s   c l u s t e r .   T h e   p r o x y   e n a b l e s   d i r e c t   a c c e s s   t o   t h e   A P I   f r o m   t h e s e   t e r m i n a l s .   Y o u   c a n   s e e   a l l   t h o s e   A P I ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16835"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   A P I   s e r v e r   w i l l   a u t o m a t i c a l l y   c r e a t e   a n   e n d p o i n t   f o r   e a c h   p o d ,   b a s e d   o n   t h e   p o d   n a m e ,   t h a t   i s   a l s o   a c c e s s i b l e   t h r o u g h   t h e   p r o x y .   F i r s t   w e   n e e d   t o   g e t   t h e   P o d   n a m e ,   a n d   w e ' l l   s t o r e   i t   i n   t h e   e n v i r o n m e n t   v a r i a b l e   P O D _ N A M E .   e x p o r t   P O D _ N A M E = $ ( k u b e c t l   g e t   p o d s   - o   g o - t e m p l a t e   - - t e m p l a t e   ' { { r a n g e   . i t e m s } } { { . m e t a d a t a . n a m e } } { { \" \\ n \" } } { { e n d } } ' )   e c h o   N a m e   o f   t h e   P o d :   $ P O D _ N A M E   Y o u   c a n   a c c e s s   t h e   P o d   t h r o u g h   t h e   p r o x i e d   A P I ,   b y   r u n n i n g :   c u r l   h t t p : / / l o c a l h o s t : 8 0 0 1 / a p i / v 1 / n a m e s p a c e s / d e f a u l t / p o d s / $ P O D _ N A M E : 8 0 8 0 / p r o x y /   I n   o r d e r   f o r   t h e   n e w   D e p l o y m e n t   t o   b e   a c c e s s i b l e   w i t h o u t   u s i n g   t h e   p r o x y ,   a   S e r v i c e   i s   r e q u i r e d   w h i c h   w i l l   b e   e x p l a i n e d   i n   M o d u l e   4 .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16836"
  },
  {
    "question": "What is What's next?",
    "answer": "T u t o r i a l   V i e w i n g   P o d s   a n d   N o d e s . L e a r n   m o r e   a b o u t   D e p l o y m e n t s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16837"
  },
  {
    "question": "What is Objectives?",
    "answer": "L e a r n   a b o u t   K u b e r n e t e s   P o d s . L e a r n   a b o u t   K u b e r n e t e s   N o d e s . T r o u b l e s h o o t   d e p l o y e d   a p p l i c a t i o n s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16838"
  },
  {
    "question": "What is Kubernetes Pods?",
    "answer": "W h e n   y o u   c r e a t e d   a   D e p l o y m e n t   i n   M o d u l e   2 ,   K u b e r n e t e s   c r e a t e d   a   P o d   t o   h o s t   y o u r   a p p l i c a t i o n   i n s t a n c e .   A   P o d   i s   a   K u b e r n e t e s   a b s t r a c t i o n   t h a t   r e p r e s e n t s   a   g r o u p   o f   o n e   o r   m o r e   a p p l i c a t i o n   c o n t a i n e r s   ( s u c h   a s   D o c k e r ) ,   a n d   s o m e   s h a r e d   r e s o u r c e s   f o r   t h o s e   c o n t a i n e r s .   T h o s e   r e s o u r c e s   i n c l u d e :   S h a r e d   s t o r a g e ,   a s   V o l u m e s N e t w o r k i n g ,   a s   a   u n i q u e   c l u s t e r   I P   a d d r e s s I n f o r m a t i o n   a b o u t   h o w   t o   r u n   e a c h   c o n t a i n e r ,   s u c h   a s   t h e   c o n t a i n e r   i m a g e   v e r s i o n   o r   s p e c i f i c   p o r t s   t o   u s e   A   P o d   m o d e l s   a n   a p p l i c a t i o n - s p e c i f i c   \" l o g i c a l   h o s t \"   a n d   c a n   c o n t a i n   d i f f e r e n t   a p p l i c a t i o n   c o n t a i n e r s   w h i c h   a r e   r e l a t i v e l y   t i g h t l y   c o u p l e d .   F o r   e x a m p l e ,   a   P o d   m i g h t   i n c l u d e   b o t h   t h e   c o n t a i n e r   w i t h   y o u r   N o d e . j s   a p p   a s   w e l l   a s   a   d i f f e r e n t   c o n t a i n e r   t h a t   f e e d s   t h e   d a t a   t o   b e   p u b l i s h e d   b y   t h e   N o d e . j s   w e b s e r v e r .   T h e   c o n t a i n e r s   i n   a   P o d   s h a r e   a n   I P   A d d r e s s   a n d   p o r t   s p a c e ,   a r e   a l w a y s   c o - l o c a t e d   a n d   c o - s c h e d u l e d ,   a n d   r u n   i n   a   s h a r e d   c o n t e x t   o n   t h e   s a m e   N o d e .   P o d s   a r e   t h e   a t o m i c   u n i t   o n   t h e   K u b e r n e t e s   p l a t f o r m .   W h e n   w e   c r e a t e   a   D e p l o y m e n t   o ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16839"
  },
  {
    "question": "What is Nodes?",
    "answer": "A   P o d   a l w a y s   r u n s   o n   a   N o d e .   A   N o d e   i s   a   w o r k e r   m a c h i n e   i n   K u b e r n e t e s   a n d   m a y   b e   e i t h e r   a   v i r t u a l   o r   a   p h y s i c a l   m a c h i n e ,   d e p e n d i n g   o n   t h e   c l u s t e r .   E a c h   N o d e   i s   m a n a g e d   b y   t h e   c o n t r o l   p l a n e .   A   N o d e   c a n   h a v e   m u l t i p l e   p o d s ,   a n d   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   a u t o m a t i c a l l y   h a n d l e s   s c h e d u l i n g   t h e   p o d s   a c r o s s   t h e   N o d e s   i n   t h e   c l u s t e r .   T h e   c o n t r o l   p l a n e ' s   a u t o m a t i c   s c h e d u l i n g   t a k e s   i n t o   a c c o u n t   t h e   a v a i l a b l e   r e s o u r c e s   o n   e a c h   N o d e .   E v e r y   K u b e r n e t e s   N o d e   r u n s   a t   l e a s t :   K u b e l e t ,   a   p r o c e s s   r e s p o n s i b l e   f o r   c o m m u n i c a t i o n   b e t w e e n   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   a n d   t h e   N o d e ;   i t   m a n a g e s   t h e   P o d s   a n d   t h e   c o n t a i n e r s   r u n n i n g   o n   a   m a c h i n e . A   c o n t a i n e r   r u n t i m e   ( l i k e   D o c k e r )   r e s p o n s i b l e   f o r   p u l l i n g   t h e   c o n t a i n e r   i m a g e   f r o m   a   r e g i s t r y ,   u n p a c k i n g   t h e   c o n t a i n e r ,   a n d   r u n n i n g   t h e   a p p l i c a t i o n .   K u b e l e t ,   a   p r o c e s s   r e s p o n s i b l e   f o r   c o m m u n i c a t i o n   b e t w e e n   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   a n d   t h e   N o d e ;   i t   m a n a g e s   t h e   P o d s   a n d   t h e   c o n t a i n e r s   r u n n i n g   o n   a   m a c h i n e .   A   c o n t a i n e r   r u n t i m e   ( l i k e   D o c k e r )   r e s p o n s i b l e   f o r   p u l l i n g   t h e   c o n t ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16840"
  },
  {
    "question": "What is Troubleshooting with kubectl?",
    "answer": "I n   M o d u l e   2 ,   y o u   u s e d   t h e   k u b e c t l   c o m m a n d - l i n e   i n t e r f a c e .   Y o u ' l l   c o n t i n u e   t o   u s e   i t   i n   M o d u l e   3   t o   g e t   i n f o r m a t i o n   a b o u t   d e p l o y e d   a p p l i c a t i o n s   a n d   t h e i r   e n v i r o n m e n t s .   T h e   m o s t   c o m m o n   o p e r a t i o n s   c a n   b e   d o n e   w i t h   t h e   f o l l o w i n g   k u b e c t l   s u b c o m m a n d s :   k u b e c t l   g e t   -   l i s t   r e s o u r c e s k u b e c t l   d e s c r i b e   -   s h o w   d e t a i l e d   i n f o r m a t i o n   a b o u t   a   r e s o u r c e k u b e c t l   l o g s   -   p r i n t   t h e   l o g s   f r o m   a   c o n t a i n e r   i n   a   p o d k u b e c t l   e x e c   -   e x e c u t e   a   c o m m a n d   o n   a   c o n t a i n e r   i n   a   p o d   Y o u   c a n   u s e   t h e s e   c o m m a n d s   t o   s e e   w h e n   a p p l i c a t i o n s   w e r e   d e p l o y e d ,   w h a t   t h e i r   c u r r e n t   s t a t u s e s   a r e ,   w h e r e   t h e y   a r e   r u n n i n g   a n d   w h a t   t h e i r   c o n f i g u r a t i o n s   a r e .   N o w   t h a t   w e   k n o w   m o r e   a b o u t   o u r   c l u s t e r   c o m p o n e n t s   a n d   t h e   c o m m a n d   l i n e ,   l e t ' s   e x p l o r e   o u r   a p p l i c a t i o n .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16841"
  },
  {
    "question": "What is Check application configuration?",
    "answer": "L e t ' s   v e r i f y   t h a t   t h e   a p p l i c a t i o n   w e   d e p l o y e d   i n   t h e   p r e v i o u s   s c e n a r i o   i s   r u n n i n g .   W e ' l l   u s e   t h e   k u b e c t l   g e t   c o m m a n d   a n d   l o o k   f o r   e x i s t i n g   P o d s :   k u b e c t l   g e t   p o d s   I f   n o   p o d s   a r e   r u n n i n g ,   p l e a s e   w a i t   a   c o u p l e   o f   s e c o n d s   a n d   l i s t   t h e   P o d s   a g a i n .   Y o u   c a n   c o n t i n u e   o n c e   y o u   s e e   o n e   P o d   r u n n i n g .   N e x t ,   t o   v i e w   w h a t   c o n t a i n e r s   a r e   i n s i d e   t h a t   P o d   a n d   w h a t   i m a g e s   a r e   u s e d   t o   b u i l d   t h o s e   c o n t a i n e r s   w e   r u n   t h e   k u b e c t l   d e s c r i b e   p o d s   c o m m a n d :   k u b e c t l   d e s c r i b e   p o d s   W e   s e e   h e r e   d e t a i l s   a b o u t   t h e   P o d ’ s   c o n t a i n e r :   I P   a d d r e s s ,   t h e   p o r t s   u s e d   a n d   a   l i s t   o f   e v e n t s   r e l a t e d   t o   t h e   l i f e c y c l e   o f   t h e   P o d .   T h e   o u t p u t   o f   t h e   d e s c r i b e   s u b c o m m a n d   i s   e x t e n s i v e   a n d   c o v e r s   s o m e   c o n c e p t s   t h a t   w e   d i d n ’ t   e x p l a i n   y e t ,   b u t   d o n ’ t   w o r r y ,   t h e y   w i l l   b e c o m e   f a m i l i a r   b y   t h e   e n d   o f   t h i s   t u t o r i a l .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16842"
  },
  {
    "question": "What is Show the app in the terminal?",
    "answer": "R e c a l l   t h a t   P o d s   a r e   r u n n i n g   i n   a n   i s o l a t e d ,   p r i v a t e   n e t w o r k   -   s o   w e   n e e d   t o   p r o x y   a c c e s s   t o   t h e m   s o   w e   c a n   d e b u g   a n d   i n t e r a c t   w i t h   t h e m .   T o   d o   t h i s ,   w e ' l l   u s e   t h e   k u b e c t l   p r o x y   c o m m a n d   t o   r u n   a   p r o x y   i n   a   s e c o n d   t e r m i n a l .   O p e n   a   n e w   t e r m i n a l   w i n d o w ,   a n d   i n   t h a t   n e w   t e r m i n a l ,   r u n :   k u b e c t l   p r o x y   N o w   a g a i n ,   w e ' l l   g e t   t h e   P o d   n a m e   a n d   q u e r y   t h a t   p o d   d i r e c t l y   t h r o u g h   t h e   p r o x y .   T o   g e t   t h e   P o d   n a m e   a n d   s t o r e   i t   i n   t h e   P O D _ N A M E   e n v i r o n m e n t   v a r i a b l e :   e x p o r t   P O D _ N A M E = \" $ ( k u b e c t l   g e t   p o d s   - o   g o - t e m p l a t e   - - t e m p l a t e   ' { { r a n g e   . i t e m s } } { { . m e t a d a t a . n a m e } } { { \" \\ n \" } } { { e n d } } ' ) \"   e c h o   N a m e   o f   t h e   P o d :   $ P O D _ N A M E   T o   s e e   t h e   o u t p u t   o f   o u r   a p p l i c a t i o n ,   r u n   a   c u r l   r e q u e s t :   c u r l   h t t p : / / l o c a l h o s t : 8 0 0 1 / a p i / v 1 / n a m e s p a c e s / d e f a u l t / p o d s / $ P O D _ N A M E : 8 0 8 0 / p r o x y /   T h e   U R L   i s   t h e   r o u t e   t o   t h e   A P I   o f   t h e   P o d .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16843"
  },
  {
    "question": "What is Executing commands on the container?",
    "answer": "W e   c a n   e x e c u t e   c o m m a n d s   d i r e c t l y   o n   t h e   c o n t a i n e r   o n c e   t h e   P o d   i s   u p   a n d   r u n n i n g .   F o r   t h i s ,   w e   u s e   t h e   e x e c   s u b c o m m a n d   a n d   u s e   t h e   n a m e   o f   t h e   P o d   a s   a   p a r a m e t e r .   L e t ’ s   l i s t   t h e   e n v i r o n m e n t   v a r i a b l e s :   k u b e c t l   e x e c   \" $ P O D _ N A M E \"   - -   e n v   A g a i n ,   i t ' s   w o r t h   m e n t i o n i n g   t h a t   t h e   n a m e   o f   t h e   c o n t a i n e r   i t s e l f   c a n   b e   o m i t t e d   s i n c e   w e   o n l y   h a v e   a   s i n g l e   c o n t a i n e r   i n   t h e   P o d .   N e x t   l e t ’ s   s t a r t   a   b a s h   s e s s i o n   i n   t h e   P o d ’ s   c o n t a i n e r :   k u b e c t l   e x e c   - t i   $ P O D _ N A M E   - -   b a s h   W e   h a v e   n o w   a n   o p e n   c o n s o l e   o n   t h e   c o n t a i n e r   w h e r e   w e   r u n   o u r   N o d e J S   a p p l i c a t i o n .   T h e   s o u r c e   c o d e   o f   t h e   a p p   i s   i n   t h e   s e r v e r . j s   f i l e :   c a t   s e r v e r . j s   Y o u   c a n   c h e c k   t h a t   t h e   a p p l i c a t i o n   i s   u p   b y   r u n n i n g   a   c u r l   c o m m a n d :   c u r l   h t t p : / / l o c a l h o s t : 8 0 8 0",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16844"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   c l o s e   y o u r   c o n t a i n e r   c o n n e c t i o n ,   t y p e   e x i t .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16845"
  },
  {
    "question": "What is What's next?",
    "answer": "T u t o r i a l   U s i n g   A   S e r v i c e   T o   E x p o s e   Y o u r   A p p . L e a r n   m o r e   a b o u t   P o d s . L e a r n   m o r e   a b o u t   N o d e s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16846"
  },
  {
    "question": "What is Objectives?",
    "answer": "L e a r n   a b o u t   a   S e r v i c e   i n   K u b e r n e t e s . U n d e r s t a n d   h o w   l a b e l s   a n d   s e l e c t o r s   r e l a t e   t o   a   S e r v i c e . E x p o s e   a n   a p p l i c a t i o n   o u t s i d e   a   K u b e r n e t e s   c l u s t e r .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16847"
  },
  {
    "question": "What is Overview of Kubernetes Services?",
    "answer": "K u b e r n e t e s   P o d s   a r e   m o r t a l .   P o d s   h a v e   a   l i f e c y c l e .   W h e n   a   w o r k e r   n o d e   d i e s ,   t h e   P o d s   r u n n i n g   o n   t h e   N o d e   a r e   a l s o   l o s t .   A   R e p l i c a s e t   m i g h t   t h e n   d y n a m i c a l l y   d r i v e   t h e   c l u s t e r   b a c k   t o   t h e   d e s i r e d   s t a t e   v i a   t h e   c r e a t i o n   o f   n e w   P o d s   t o   k e e p   y o u r   a p p l i c a t i o n   r u n n i n g .   A s   a n o t h e r   e x a m p l e ,   c o n s i d e r   a n   i m a g e - p r o c e s s i n g   b a c k e n d   w i t h   3   r e p l i c a s .   T h o s e   r e p l i c a s   a r e   e x c h a n g e a b l e ;   t h e   f r o n t - e n d   s y s t e m   s h o u l d   n o t   c a r e   a b o u t   b a c k e n d   r e p l i c a s   o r   e v e n   i f   a   P o d   i s   l o s t   a n d   r e c r e a t e d .   T h a t   s a i d ,   e a c h   P o d   i n   a   K u b e r n e t e s   c l u s t e r   h a s   a   u n i q u e   I P   a d d r e s s ,   e v e n   P o d s   o n   t h e   s a m e   N o d e ,   s o   t h e r e   n e e d s   t o   b e   a   w a y   o f   a u t o m a t i c a l l y   r e c o n c i l i n g   c h a n g e s   a m o n g   P o d s   s o   t h a t   y o u r   a p p l i c a t i o n s   c o n t i n u e   t o   f u n c t i o n .   A   S e r v i c e   i n   K u b e r n e t e s   i s   a n   a b s t r a c t i o n   w h i c h   d e f i n e s   a   l o g i c a l   s e t   o f   P o d s   a n d   a   p o l i c y   b y   w h i c h   t o   a c c e s s   t h e m .   S e r v i c e s   e n a b l e   a   l o o s e   c o u p l i n g   b e t w e e n   d e p e n d e n t   P o d s .   A   S e r v i c e   i s   d e f i n e d   u s i n g   Y A M L   o r   J S O N ,   l i k e   a l l   K u b e r n e t e s   o b j e c t   m a n i f e s t s .   T h e   s e t   o f   P o d s   t a r g e t e d   b y   a   S e r v i c e   i s   u s u a l l y   d e t e r m i n e ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16848"
  },
  {
    "question": "What is Services and Labels?",
    "answer": "A   S e r v i c e   r o u t e s   t r a f f i c   a c r o s s   a   s e t   o f   P o d s .   S e r v i c e s   a r e   t h e   a b s t r a c t i o n   t h a t   a l l o w s   p o d s   t o   d i e   a n d   r e p l i c a t e   i n   K u b e r n e t e s   w i t h o u t   i m p a c t i n g   y o u r   a p p l i c a t i o n .   D i s c o v e r y   a n d   r o u t i n g   a m o n g   d e p e n d e n t   P o d s   ( s u c h   a s   t h e   f r o n t e n d   a n d   b a c k e n d   c o m p o n e n t s   i n   a n   a p p l i c a t i o n )   a r e   h a n d l e d   b y   K u b e r n e t e s   S e r v i c e s .   S e r v i c e s   m a t c h   a   s e t   o f   P o d s   u s i n g   l a b e l s   a n d   s e l e c t o r s ,   a   g r o u p i n g   p r i m i t i v e   t h a t   a l l o w s   l o g i c a l   o p e r a t i o n   o n   o b j e c t s   i n   K u b e r n e t e s .   L a b e l s   a r e   k e y / v a l u e   p a i r s   a t t a c h e d   t o   o b j e c t s   a n d   c a n   b e   u s e d   i n   a n y   n u m b e r   o f   w a y s :   D e s i g n a t e   o b j e c t s   f o r   d e v e l o p m e n t ,   t e s t ,   a n d   p r o d u c t i o n E m b e d   v e r s i o n   t a g s C l a s s i f y   a n   o b j e c t   u s i n g   t a g s   L a b e l s   c a n   b e   a t t a c h e d   t o   o b j e c t s   a t   c r e a t i o n   t i m e   o r   l a t e r   o n .   T h e y   c a n   b e   m o d i f i e d   a t   a n y   t i m e .   L e t ' s   e x p o s e   o u r   a p p l i c a t i o n   n o w   u s i n g   a   S e r v i c e   a n d   a p p l y   s o m e   l a b e l s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16849"
  },
  {
    "question": "What is Step 1: Creating a new Service?",
    "answer": "L e t ’ s   v e r i f y   t h a t   o u r   a p p l i c a t i o n   i s   r u n n i n g .   W e ’ l l   u s e   t h e   k u b e c t l   g e t   c o m m a n d   a n d   l o o k   f o r   e x i s t i n g   P o d s :   k u b e c t l   g e t   p o d s   I f   n o   P o d s   a r e   r u n n i n g   t h e n   i t   m e a n s   t h e   o b j e c t s   f r o m   t h e   p r e v i o u s   t u t o r i a l s   w e r e   c l e a n e d   u p .   I n   t h i s   c a s e ,   g o   b a c k   a n d   r e c r e a t e   t h e   d e p l o y m e n t   f r o m   t h e   U s i n g   k u b e c t l   t o   c r e a t e   a   D e p l o y m e n t   t u t o r i a l .   P l e a s e   w a i t   a   c o u p l e   o f   s e c o n d s   a n d   l i s t   t h e   P o d s   a g a i n .   Y o u   c a n   c o n t i n u e   o n c e   y o u   s e e   t h e   o n e   P o d   r u n n i n g .   N e x t ,   l e t ’ s   l i s t   t h e   c u r r e n t   S e r v i c e s   f r o m   o u r   c l u s t e r :   k u b e c t l   g e t   s e r v i c e s   T o   e x p o s e   t h e   d e p l o y m e n t   t o   e x t e r n a l   t r a f f i c ,   w e ' l l   u s e   t h e   k u b e c t l   e x p o s e   c o m m a n d   w i t h   t h e   - - t y p e = N o d e P o r t   o p t i o n :   k u b e c t l   e x p o s e   d e p l o y m e n t / k u b e r n e t e s - b o o t c a m p   - - t y p e = \" N o d e P o r t \"   - - p o r t   8 0 8 0   W e   h a v e   n o w   a   r u n n i n g   S e r v i c e   c a l l e d   k u b e r n e t e s - b o o t c a m p .   H e r e   w e   s e e   t h a t   t h e   S e r v i c e   r e c e i v e d   a   u n i q u e   c l u s t e r - I P ,   a n   i n t e r n a l   p o r t   a n d   a n   e x t e r n a l - I P   ( t h e   I P   o f   t h e   N o d e ) .   T o   f i n d   o u t   w h a t   p o r t   w a s   o p e n e d   e x t e r n a l l y   ( f o r   t h e   t y p e :   N o d e P o r t   S e r v i c e )   w e ’ l l   r u n   t h e   d e s c r i b e   s e r v i c e   s u b c o m m a n d :   k u b ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16850"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u ' r e   r u n n i n g   m i n i k u b e   w i t h   D o c k e r   D e s k t o p   a s   t h e   c o n t a i n e r   d r i v e r ,   a   m i n i k u b e   t u n n e l   i s   n e e d e d .   T h i s   i s   b e c a u s e   c o n t a i n e r s   i n s i d e   D o c k e r   D e s k t o p   a r e   i s o l a t e d   f r o m   y o u r   h o s t   c o m p u t e r .   I n   a   s e p a r a t e   t e r m i n a l   w i n d o w ,   e x e c u t e :   m i n i k u b e   s e r v i c e   k u b e r n e t e s - b o o t c a m p   - - u r l   T h e   o u t p u t   l o o k s   l i k e   t h i s :   h t t p : / / 1 2 7 . 0 . 0 . 1 : 5 1 0 8 2   !   B e c a u s e   y o u   a r e   u s i n g   a   D o c k e r   d r i v e r   o n   d a r w i n ,   t h e   t e r m i n a l   n e e d s   t o   b e   o p e n   t o   r u n   i t .   T h e n   u s e   t h e   g i v e n   U R L   t o   a c c e s s   t h e   a p p :   c u r l   1 2 7 . 0 . 0 . 1 : 5 1 0 8 2   A n d   w e   g e t   a   r e s p o n s e   f r o m   t h e   s e r v e r .   T h e   S e r v i c e   i s   e x p o s e d .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16851"
  },
  {
    "question": "What is Step 2: Using labels?",
    "answer": "T h e   D e p l o y m e n t   c r e a t e d   a u t o m a t i c a l l y   a   l a b e l   f o r   o u r   P o d .   W i t h   t h e   d e s c r i b e   d e p l o y m e n t   s u b c o m m a n d   y o u   c a n   s e e   t h e   n a m e   ( t h e   k e y )   o f   t h a t   l a b e l :   k u b e c t l   d e s c r i b e   d e p l o y m e n t   L e t ’ s   u s e   t h i s   l a b e l   t o   q u e r y   o u r   l i s t   o f   P o d s .   W e ’ l l   u s e   t h e   k u b e c t l   g e t   p o d s   c o m m a n d   w i t h   - l   a s   a   p a r a m e t e r ,   f o l l o w e d   b y   t h e   l a b e l   v a l u e s :   k u b e c t l   g e t   p o d s   - l   a p p = k u b e r n e t e s - b o o t c a m p   Y o u   c a n   d o   t h e   s a m e   t o   l i s t   t h e   e x i s t i n g   S e r v i c e s :   k u b e c t l   g e t   s e r v i c e s   - l   a p p = k u b e r n e t e s - b o o t c a m p   G e t   t h e   n a m e   o f   t h e   P o d   a n d   s t o r e   i t   i n   t h e   P O D _ N A M E   e n v i r o n m e n t   v a r i a b l e :   e x p o r t   P O D _ N A M E = \" $ ( k u b e c t l   g e t   p o d s   - o   g o - t e m p l a t e   - - t e m p l a t e   ' { { r a n g e   . i t e m s } } { { . m e t a d a t a . n a m e } } { { \" \\ n \" } } { { e n d } } ' ) \"   e c h o   \" N a m e   o f   t h e   P o d :   $ P O D _ N A M E \"   T o   a p p l y   a   n e w   l a b e l   w e   u s e   t h e   l a b e l   s u b c o m m a n d   f o l l o w e d   b y   t h e   o b j e c t   t y p e ,   o b j e c t   n a m e   a n d   t h e   n e w   l a b e l :   k u b e c t l   l a b e l   p o d s   \" $ P O D _ N A M E \"   v e r s i o n = v 1   T h i s   w i l l   a p p l y   a   n e w   l a b e l   t o   o u r   P o d   ( w e   p i n n e d   t h e   a p p l i c a t i o n   v e r s i o n   t o   t h e   P o d ) ,   a n d   w e   c a n   c h e c k   i t   w i t h   t h e   d e s c r i b e   p o d   c o m m a n d :   k u b e c t l   d e s c r i b e   p o d s   \" $ P O D _ N A ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16852"
  },
  {
    "question": "What is Step 3: Deleting a service?",
    "answer": "T o   d e l e t e   S e r v i c e s   y o u   c a n   u s e   t h e   d e l e t e   s e r v i c e   s u b c o m m a n d .   L a b e l s   c a n   b e   u s e d   a l s o   h e r e :   k u b e c t l   d e l e t e   s e r v i c e   - l   a p p = k u b e r n e t e s - b o o t c a m p   C o n f i r m   t h a t   t h e   S e r v i c e   i s   g o n e :   k u b e c t l   g e t   s e r v i c e s   T h i s   c o n f i r m s   t h a t   o u r   S e r v i c e   w a s   r e m o v e d .   T o   c o n f i r m   t h a t   r o u t e   i s   n o t   e x p o s e d   a n y m o r e   y o u   c a n   c u r l   t h e   p r e v i o u s l y   e x p o s e d   I P   a n d   p o r t :   c u r l   h t t p : / / \" $ ( m i n i k u b e   i p ) : $ N O D E _ P O R T \"   T h i s   p r o v e s   t h a t   t h e   a p p l i c a t i o n   i s   n o t   r e a c h a b l e   a n y m o r e   f r o m   o u t s i d e   o f   t h e   c l u s t e r .   Y o u   c a n   c o n f i r m   t h a t   t h e   a p p   i s   s t i l l   r u n n i n g   w i t h   a   c u r l   f r o m   i n s i d e   t h e   p o d :   k u b e c t l   e x e c   - t i   $ P O D _ N A M E   - -   c u r l   h t t p : / / l o c a l h o s t : 8 0 8 0   W e   s e e   h e r e   t h a t   t h e   a p p l i c a t i o n   i s   u p .   T h i s   i s   b e c a u s e   t h e   D e p l o y m e n t   i s   m a n a g i n g   t h e   a p p l i c a t i o n .   T o   s h u t   d o w n   t h e   a p p l i c a t i o n ,   y o u   w o u l d   n e e d   t o   d e l e t e   t h e   D e p l o y m e n t   a s   w e l l .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16853"
  },
  {
    "question": "What is What's next?",
    "answer": "T u t o r i a l   R u n n i n g   M u l t i p l e   I n s t a n c e s   o f   Y o u r   A p p . L e a r n   m o r e   a b o u t   S e r v i c e .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16854"
  },
  {
    "question": "What is Objectives?",
    "answer": "S c a l e   a n   e x i s t i n g   a p p   m a n u a l l y   u s i n g   k u b e c t l .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16855"
  },
  {
    "question": "What is Scaling an application?",
    "answer": "P r e v i o u s l y   w e   c r e a t e d   a   D e p l o y m e n t ,   a n d   t h e n   e x p o s e d   i t   p u b l i c l y   v i a   a   S e r v i c e .   T h e   D e p l o y m e n t   c r e a t e d   o n l y   o n e   P o d   f o r   r u n n i n g   o u r   a p p l i c a t i o n .   W h e n   t r a f f i c   i n c r e a s e s ,   w e   w i l l   n e e d   t o   s c a l e   t h e   a p p l i c a t i o n   t o   k e e p   u p   w i t h   u s e r   d e m a n d .   I f   y o u   h a v e n ' t   w o r k e d   t h r o u g h   t h e   e a r l i e r   s e c t i o n s ,   s t a r t   f r o m   U s i n g   m i n i k u b e   t o   c r e a t e   a   c l u s t e r .   S c a l i n g   i s   a c c o m p l i s h e d   b y   c h a n g i n g   t h e   n u m b e r   o f   r e p l i c a s   i n   a   D e p l o y m e n t .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16856"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   a r e   t r y i n g   t h i s   a f t e r   t h e   p r e v i o u s   s e c t i o n ,   t h e n   y o u   m a y   h a v e   d e l e t e d   t h e   s e r v i c e   y o u   c r e a t e d ,   o r   h a v e   c r e a t e d   a   S e r v i c e   o f   t y p e :   N o d e P o r t .   I n   t h i s   s e c t i o n ,   i t   i s   a s s u m e d   t h a t   a   s e r v i c e   w i t h   t y p e :   L o a d B a l a n c e r   i s   c r e a t e d   f o r   t h e   k u b e r n e t e s - b o o t c a m p   D e p l o y m e n t .   I f   y o u   h a v e   n o t   d e l e t e d   t h e   S e r v i c e   c r e a t e d   i n   t h e   p r e v i o u s   s e c t i o n ,   f i r s t   d e l e t e   t h a t   S e r v i c e   a n d   t h e n   r u n   t h e   f o l l o w i n g   c o m m a n d   t o   c r e a t e   a   n e w   S e r v i c e   w i t h   i t s   t y p e   s e t   t o   L o a d B a l a n c e r :   k u b e c t l   e x p o s e   d e p l o y m e n t / k u b e r n e t e s - b o o t c a m p   - - t y p e = \" L o a d B a l a n c e r \"   - - p o r t   8 0 8 0",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16857"
  },
  {
    "question": "What is Scaling overview?",
    "answer": "S c a l i n g   o u t   a   D e p l o y m e n t   w i l l   e n s u r e   n e w   P o d s   a r e   c r e a t e d   a n d   s c h e d u l e d   t o   N o d e s   w i t h   a v a i l a b l e   r e s o u r c e s .   S c a l i n g   w i l l   i n c r e a s e   t h e   n u m b e r   o f   P o d s   t o   t h e   n e w   d e s i r e d   s t a t e .   K u b e r n e t e s   a l s o   s u p p o r t s   a u t o s c a l i n g   o f   P o d s ,   b u t   i t   i s   o u t s i d e   o f   t h e   s c o p e   o f   t h i s   t u t o r i a l .   S c a l i n g   t o   z e r o   i s   a l s o   p o s s i b l e ,   a n d   i t   w i l l   t e r m i n a t e   a l l   P o d s   o f   t h e   s p e c i f i e d   D e p l o y m e n t .   R u n n i n g   m u l t i p l e   i n s t a n c e s   o f   a n   a p p l i c a t i o n   w i l l   r e q u i r e   a   w a y   t o   d i s t r i b u t e   t h e   t r a f f i c   t o   a l l   o f   t h e m .   S e r v i c e s   h a v e   a n   i n t e g r a t e d   l o a d - b a l a n c e r   t h a t   w i l l   d i s t r i b u t e   n e t w o r k   t r a f f i c   t o   a l l   P o d s   o f   a n   e x p o s e d   D e p l o y m e n t .   S e r v i c e s   w i l l   m o n i t o r   c o n t i n u o u s l y   t h e   r u n n i n g   P o d s   u s i n g   e n d p o i n t s ,   t o   e n s u r e   t h e   t r a f f i c   i s   s e n t   o n l y   t o   a v a i l a b l e   P o d s .   O n c e   y o u   h a v e   m u l t i p l e   i n s t a n c e s   o f   a n   a p p l i c a t i o n   r u n n i n g ,   y o u   w o u l d   b e   a b l e   t o   d o   R o l l i n g   u p d a t e s   w i t h o u t   d o w n t i m e .   W e ' l l   c o v e r   t h a t   i n   t h e   n e x t   s e c t i o n   o f   t h e   t u t o r i a l .   N o w ,   l e t ' s   g o   t o   t h e   t e r m i n a l   a n d   s c a l e   o u r   a p p l i c a t i o n .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16858"
  },
  {
    "question": "What is Scaling a Deployment?",
    "answer": "T o   l i s t   y o u r   D e p l o y m e n t s ,   u s e   t h e   g e t   d e p l o y m e n t s   s u b c o m m a n d :   k u b e c t l   g e t   d e p l o y m e n t s   T h e   o u t p u t   s h o u l d   b e   s i m i l a r   t o :   N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   k u b e r n e t e s - b o o t c a m p   1 / 1   1   1   1 1 m   W e   s h o u l d   h a v e   1   P o d .   I f   n o t ,   r u n   t h e   c o m m a n d   a g a i n .   T h i s   s h o w s :   N A M E   l i s t s   t h e   n a m e s   o f   t h e   D e p l o y m e n t s   i n   t h e   c l u s t e r . R E A D Y   s h o w s   t h e   r a t i o   o f   C U R R E N T / D E S I R E D   r e p l i c a s U P - T O - D A T E   d i s p l a y s   t h e   n u m b e r   o f   r e p l i c a s   t h a t   h a v e   b e e n   u p d a t e d   t o   a c h i e v e   t h e   d e s i r e d   s t a t e . A V A I L A B L E   d i s p l a y s   h o w   m a n y   r e p l i c a s   o f   t h e   a p p l i c a t i o n   a r e   a v a i l a b l e   t o   y o u r   u s e r s . A G E   d i s p l a y s   t h e   a m o u n t   o f   t i m e   t h a t   t h e   a p p l i c a t i o n   h a s   b e e n   r u n n i n g .   T o   s e e   t h e   R e p l i c a S e t   c r e a t e d   b y   t h e   D e p l o y m e n t ,   r u n :   k u b e c t l   g e t   r s   N o t i c e   t h a t   t h e   n a m e   o f   t h e   R e p l i c a S e t   i s   a l w a y s   f o r m a t t e d   a s   [ D E P L O Y M E N T - N A M E ] - [ R A N D O M - S T R I N G ] .   T h e   r a n d o m   s t r i n g   i s   r a n d o m l y   g e n e r a t e d   a n d   u s e s   t h e   p o d - t e m p l a t e - h a s h   a s   a   s e e d .   T w o   i m p o r t a n t   c o l u m n s   o f   t h i s   o u t p u t   a r e :   D E S I R E D   d i s p l a y s   t h e   d e s i r e d   n u m b e r   o f   r e p l i c a s   o f   t h e   a p p l i c a t i o n ,   w h i c h   y o u   d e f i n e   w h e n   y o u   c r e a t e   t h e ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16859"
  },
  {
    "question": "What is Load Balancing?",
    "answer": "L e t ' s   c h e c k   t h a t   t h e   S e r v i c e   i s   l o a d - b a l a n c i n g   t h e   t r a f f i c .   T o   f i n d   o u t   t h e   e x p o s e d   I P   a n d   P o r t   w e   c a n   u s e   d e s c r i b e   s e r v i c e   a s   w e   l e a r n e d   i n   t h e   p r e v i o u s   p a r t   o f   t h e   t u t o r i a l :   k u b e c t l   d e s c r i b e   s e r v i c e s / k u b e r n e t e s - b o o t c a m p   C r e a t e   a n   e n v i r o n m e n t   v a r i a b l e   c a l l e d   N O D E _ P O R T   t h a t   h a s   a   v a l u e   a s   t h e   N o d e   p o r t :   e x p o r t   N O D E _ P O R T = \" $ ( k u b e c t l   g e t   s e r v i c e s / k u b e r n e t e s - b o o t c a m p   - o   g o - t e m p l a t e = ' { { ( i n d e x   . s p e c . p o r t s   0 ) . n o d e P o r t } } ' ) \"   e c h o   N O D E _ P O R T = $ N O D E _ P O R T   N e x t ,   w e ’ l l   d o   a   c u r l   t o   t h e   e x p o s e d   I P   a d d r e s s   a n d   p o r t .   E x e c u t e   t h e   c o m m a n d   m u l t i p l e   t i m e s :   c u r l   h t t p : / / \" $ ( m i n i k u b e   i p ) : $ N O D E _ P O R T \"   W e   h i t   a   d i f f e r e n t   P o d   w i t h   e v e r y   r e q u e s t .   T h i s   d e m o n s t r a t e s   t h a t   t h e   l o a d - b a l a n c i n g   i s   w o r k i n g .   T h e   o u t p u t   s h o u l d   b e   s i m i l a r   t o :   H e l l o   K u b e r n e t e s   b o o t c a m p !   |   R u n n i n g   o n :   k u b e r n e t e s - b o o t c a m p - 6 4 4 c 5 6 8 7 f 4 - w p 6 7 j   |   v = 1   H e l l o   K u b e r n e t e s   b o o t c a m p !   |   R u n n i n g   o n :   k u b e r n e t e s - b o o t c a m p - 6 4 4 c 5 6 8 7 f 4 - h s 9 d j   |   v = 1   H e l l o   K u b e r n e t e s   b o o t c a m p !   |   R u n n i n g   o n :   k u b e r n e t e s - b o o t c a m p - 6 4 4 c 5 6 8 7 f 4 - 4 h j v f   |   v = 1   H e l l o   K u b e r n e t e s   b o o t c a m p !   |   R u n n i n g   o ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16860"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u ' r e   r u n n i n g   m i n i k u b e   w i t h   D o c k e r   D e s k t o p   a s   t h e   c o n t a i n e r   d r i v e r ,   a   m i n i k u b e   t u n n e l   i s   n e e d e d .   T h i s   i s   b e c a u s e   c o n t a i n e r s   i n s i d e   D o c k e r   D e s k t o p   a r e   i s o l a t e d   f r o m   y o u r   h o s t   c o m p u t e r .   I n   a   s e p a r a t e   t e r m i n a l   w i n d o w ,   e x e c u t e :   m i n i k u b e   s e r v i c e   k u b e r n e t e s - b o o t c a m p   - - u r l   T h e   o u t p u t   l o o k s   l i k e   t h i s :   h t t p : / / 1 2 7 . 0 . 0 . 1 : 5 1 0 8 2   !   B e c a u s e   y o u   a r e   u s i n g   a   D o c k e r   d r i v e r   o n   d a r w i n ,   t h e   t e r m i n a l   n e e d s   t o   b e   o p e n   t o   r u n   i t .   T h e n   u s e   t h e   g i v e n   U R L   t o   a c c e s s   t h e   a p p :   c u r l   1 2 7 . 0 . 0 . 1 : 5 1 0 8 2",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16861"
  },
  {
    "question": "What is Scale Down?",
    "answer": "T o   s c a l e   d o w n   t h e   D e p l o y m e n t   t o   2   r e p l i c a s ,   r u n   a g a i n   t h e   s c a l e   s u b c o m m a n d :   k u b e c t l   s c a l e   d e p l o y m e n t s / k u b e r n e t e s - b o o t c a m p   - - r e p l i c a s = 2   L i s t   t h e   D e p l o y m e n t s   t o   c h e c k   i f   t h e   c h a n g e   w a s   a p p l i e d   w i t h   t h e   g e t   d e p l o y m e n t s   s u b c o m m a n d :   k u b e c t l   g e t   d e p l o y m e n t s   T h e   n u m b e r   o f   r e p l i c a s   d e c r e a s e d   t o   2 .   L i s t   t h e   n u m b e r   o f   P o d s ,   w i t h   g e t   p o d s :   k u b e c t l   g e t   p o d s   - o   w i d e   T h i s   c o n f i r m s   t h a t   2   P o d s   w e r e   t e r m i n a t e d .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16862"
  },
  {
    "question": "What is What's next?",
    "answer": "T u t o r i a l   P e r f o r m i n g   a   R o l l i n g   U p d a t e . L e a r n   m o r e   a b o u t   R e p l i c a S e t . L e a r n   m o r e   a b o u t   A u t o s c a l i n g .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16863"
  },
  {
    "question": "What is Objectives?",
    "answer": "P e r f o r m   a   r o l l i n g   u p d a t e   u s i n g   k u b e c t l .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16864"
  },
  {
    "question": "What is Updating an application?",
    "answer": "U s e r s   e x p e c t   a p p l i c a t i o n s   t o   b e   a v a i l a b l e   a l l   t h e   t i m e ,   a n d   d e v e l o p e r s   a r e   e x p e c t e d   t o   d e p l o y   n e w   v e r s i o n s   o f   t h e m   s e v e r a l   t i m e s   a   d a y .   I n   K u b e r n e t e s   t h i s   i s   d o n e   w i t h   r o l l i n g   u p d a t e s .   A   r o l l i n g   u p d a t e   a l l o w s   a   D e p l o y m e n t   u p d a t e   t o   t a k e   p l a c e   w i t h   z e r o   d o w n t i m e .   I t   d o e s   t h i s   b y   i n c r e m e n t a l l y   r e p l a c i n g   t h e   c u r r e n t   P o d s   w i t h   n e w   o n e s .   T h e   n e w   P o d s   a r e   s c h e d u l e d   o n   N o d e s   w i t h   a v a i l a b l e   r e s o u r c e s ,   a n d   K u b e r n e t e s   w a i t s   f o r   t h o s e   n e w   P o d s   t o   s t a r t   b e f o r e   r e m o v i n g   t h e   o l d   P o d s .   I n   t h e   p r e v i o u s   m o d u l e   w e   s c a l e d   o u r   a p p l i c a t i o n   t o   r u n   m u l t i p l e   i n s t a n c e s .   T h i s   i s   a   r e q u i r e m e n t   f o r   p e r f o r m i n g   u p d a t e s   w i t h o u t   a f f e c t i n g   a p p l i c a t i o n   a v a i l a b i l i t y .   B y   d e f a u l t ,   t h e   m a x i m u m   n u m b e r   o f   P o d s   t h a t   c a n   b e   u n a v a i l a b l e   d u r i n g   t h e   u p d a t e   a n d   t h e   m a x i m u m   n u m b e r   o f   n e w   P o d s   t h a t   c a n   b e   c r e a t e d ,   i s   o n e .   B o t h   o p t i o n s   c a n   b e   c o n f i g u r e d   t o   e i t h e r   n u m b e r s   o r   p e r c e n t a g e s   ( o f   P o d s ) .   I n   K u b e r n e t e s ,   u p d a t e s   a r e   v e r s i o n e d   a n d   a n y   D e p l o y m e n t   u p d a t e   c a n   b e   r e v e r t e d   t o   a   p r e v i o u s   ( s t a b l e )   v e r s i o n .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16865"
  },
  {
    "question": "What is Rolling updates overview?",
    "answer": "S i m i l a r   t o   a p p l i c a t i o n   S c a l i n g ,   i f   a   D e p l o y m e n t   i s   e x p o s e d   p u b l i c l y ,   t h e   S e r v i c e   w i l l   l o a d - b a l a n c e   t h e   t r a f f i c   o n l y   t o   a v a i l a b l e   P o d s   d u r i n g   t h e   u p d a t e .   A n   a v a i l a b l e   P o d   i s   a n   i n s t a n c e   t h a t   i s   a v a i l a b l e   t o   t h e   u s e r s   o f   t h e   a p p l i c a t i o n .   R o l l i n g   u p d a t e s   a l l o w   t h e   f o l l o w i n g   a c t i o n s :   P r o m o t e   a n   a p p l i c a t i o n   f r o m   o n e   e n v i r o n m e n t   t o   a n o t h e r   ( v i a   c o n t a i n e r   i m a g e   u p d a t e s ) R o l l b a c k   t o   p r e v i o u s   v e r s i o n s C o n t i n u o u s   I n t e g r a t i o n   a n d   C o n t i n u o u s   D e l i v e r y   o f   a p p l i c a t i o n s   w i t h   z e r o   d o w n t i m e   I n   t h e   f o l l o w i n g   i n t e r a c t i v e   t u t o r i a l ,   w e ' l l   u p d a t e   o u r   a p p l i c a t i o n   t o   a   n e w   v e r s i o n ,   a n d   a l s o   p e r f o r m   a   r o l l b a c k .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16866"
  },
  {
    "question": "What is Update the version of the app?",
    "answer": "T o   l i s t   y o u r   D e p l o y m e n t s ,   r u n   t h e   g e t   d e p l o y m e n t s   s u b c o m m a n d :   k u b e c t l   g e t   d e p l o y m e n t s   T o   l i s t   t h e   r u n n i n g   P o d s ,   r u n   t h e   g e t   p o d s   s u b c o m m a n d :   k u b e c t l   g e t   p o d s   T o   v i e w   t h e   c u r r e n t   i m a g e   v e r s i o n   o f   t h e   a p p ,   r u n   t h e   d e s c r i b e   p o d s   s u b c o m m a n d   a n d   l o o k   f o r   t h e   I m a g e   f i e l d :   k u b e c t l   d e s c r i b e   p o d s   T o   u p d a t e   t h e   i m a g e   o f   t h e   a p p l i c a t i o n   t o   v e r s i o n   2 ,   u s e   t h e   s e t   i m a g e   s u b c o m m a n d ,   f o l l o w e d   b y   t h e   d e p l o y m e n t   n a m e   a n d   t h e   n e w   i m a g e   v e r s i o n :   k u b e c t l   s e t   i m a g e   d e p l o y m e n t s / k u b e r n e t e s - b o o t c a m p   k u b e r n e t e s - b o o t c a m p = d o c k e r . i o / j o c a t a l i n / k u b e r n e t e s - b o o t c a m p : v 2   T h e   c o m m a n d   n o t i f i e d   t h e   D e p l o y m e n t   t o   u s e   a   d i f f e r e n t   i m a g e   f o r   y o u r   a p p   a n d   i n i t i a t e d   a   r o l l i n g   u p d a t e .   C h e c k   t h e   s t a t u s   o f   t h e   n e w   P o d s ,   a n d   v i e w   t h e   o l d   o n e   t e r m i n a t i n g   w i t h   t h e   g e t   p o d s   s u b c o m m a n d :   k u b e c t l   g e t   p o d s",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16867"
  },
  {
    "question": "What is Verify an update?",
    "answer": "F i r s t ,   c h e c k   t h a t   t h e   s e r v i c e   i s   r u n n i n g ,   a s   y o u   m i g h t   h a v e   d e l e t e d   i t   i n   p r e v i o u s   t u t o r i a l   s t e p ,   r u n   d e s c r i b e   s e r v i c e s / k u b e r n e t e s - b o o t c a m p .   I f   i t ' s   m i s s i n g ,   y o u   c a n   c r e a t e   i t   a g a i n   w i t h :   k u b e c t l   e x p o s e   d e p l o y m e n t / k u b e r n e t e s - b o o t c a m p   - - t y p e = \" N o d e P o r t \"   - - p o r t   8 0 8 0   C r e a t e   a n   e n v i r o n m e n t   v a r i a b l e   c a l l e d   N O D E _ P O R T   t h a t   h a s   t h e   v a l u e   o f   t h e   N o d e   p o r t   a s s i g n e d :   e x p o r t   N O D E _ P O R T = \" $ ( k u b e c t l   g e t   s e r v i c e s / k u b e r n e t e s - b o o t c a m p   - o   g o - t e m p l a t e = ' { { ( i n d e x   . s p e c . p o r t s   0 ) . n o d e P o r t } } ' ) \"   e c h o   \" N O D E _ P O R T = $ N O D E _ P O R T \"   N e x t ,   d o   a   c u r l   t o   t h e   e x p o s e d   I P   a n d   p o r t :   c u r l   h t t p : / / \" $ ( m i n i k u b e   i p ) : $ N O D E _ P O R T \"   E v e r y   t i m e   y o u   r u n   t h e   c u r l   c o m m a n d ,   y o u   w i l l   h i t   a   d i f f e r e n t   P o d .   N o t i c e   t h a t   a l l   P o d s   a r e   n o w   r u n n i n g   t h e   l a t e s t   v e r s i o n   ( v 2 ) .   Y o u   c a n   a l s o   c o n f i r m   t h e   u p d a t e   b y   r u n n i n g   t h e   r o l l o u t   s t a t u s   s u b c o m m a n d :   k u b e c t l   r o l l o u t   s t a t u s   d e p l o y m e n t s / k u b e r n e t e s - b o o t c a m p   T o   v i e w   t h e   c u r r e n t   i m a g e   v e r s i o n   o f   t h e   a p p ,   r u n   t h e   d e s c r i b e   p o d s   s u b c o m m a n d :   k u b e c t l   d e s c r i b e   p o d s   I n   t h e   I m a g e   f i e l d   o f   t h e   o u t p u t ,   v e r i f y   t h a t   y o u   a r e   r ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16868"
  },
  {
    "question": "What is Roll back an update?",
    "answer": "L e t ’ s   p e r f o r m   a n o t h e r   u p d a t e ,   a n d   t r y   t o   d e p l o y   a n   i m a g e   t a g g e d   w i t h   v 1 0 :   k u b e c t l   s e t   i m a g e   d e p l o y m e n t s / k u b e r n e t e s - b o o t c a m p   k u b e r n e t e s - b o o t c a m p = g c r . i o / g o o g l e - s a m p l e s / k u b e r n e t e s - b o o t c a m p : v 1 0   U s e   g e t   d e p l o y m e n t s   t o   s e e   t h e   s t a t u s   o f   t h e   d e p l o y m e n t :   k u b e c t l   g e t   d e p l o y m e n t s   N o t i c e   t h a t   t h e   o u t p u t   d o e s n ' t   l i s t   t h e   d e s i r e d   n u m b e r   o f   a v a i l a b l e   P o d s .   R u n   t h e   g e t   p o d s   s u b c o m m a n d   t o   l i s t   a l l   P o d s :   k u b e c t l   g e t   p o d s   N o t i c e   t h a t   s o m e   o f   t h e   P o d s   h a v e   a   s t a t u s   o f   I m a g e P u l l B a c k O f f .   T o   g e t   m o r e   i n s i g h t   i n t o   t h e   p r o b l e m ,   r u n   t h e   d e s c r i b e   p o d s   s u b c o m m a n d :   k u b e c t l   d e s c r i b e   p o d s   I n   t h e   E v e n t s   s e c t i o n   o f   t h e   o u t p u t   f o r   t h e   a f f e c t e d   P o d s ,   n o t i c e   t h a t   t h e   v 1 0   i m a g e   v e r s i o n   d i d   n o t   e x i s t   i n   t h e   r e p o s i t o r y .   T o   r o l l   b a c k   t h e   d e p l o y m e n t   t o   y o u r   l a s t   w o r k i n g   v e r s i o n ,   u s e   t h e   r o l l o u t   u n d o   s u b c o m m a n d :   k u b e c t l   r o l l o u t   u n d o   d e p l o y m e n t s / k u b e r n e t e s - b o o t c a m p   T h e   r o l l o u t   u n d o   c o m m a n d   r e v e r t s   t h e   d e p l o y m e n t   t o   t h e   p r e v i o u s   k n o w n   s t a t e   ( v 2   o f   t h e   i m a g e ) .   U p d a t e s   a r e   v e r s i o n e d   a n d   y o u   c a n   r e v e r t   t o   a n y   p r e v i o u s l y   k n o w n   s t a t ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16869"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   D e p l o y m e n t s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16870"
  },
  {
    "question": "What is 3.1 - Updating Configuration via a ConfigMap?",
    "answer": "T h i s   p a g e   p r o v i d e s   a   s t e p - b y - s t e p   e x a m p l e   o f   u p d a t i n g   c o n f i g u r a t i o n   w i t h i n   a   P o d   v i a   a   C o n f i g M a p   a n d   b u i l d s   u p o n   t h e   C o n f i g u r e   a   P o d   t o   U s e   a   C o n f i g M a p   t a s k . A t   t h e   e n d   o f   t h i s   t u t o r i a l ,   y o u   w i l l   u n d e r s t a n d   h o w   t o   c h a n g e   t h e   c o n f i g u r a t i o n   f o r   a   r u n n i n g   a p p l i c a t i o n . T h i s   t u t o r i a l   u s e s   t h e   a l p i n e   a n d   n g i n x   i m a g e s   a s   e x a m p l e s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_1_16871"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   n e e d   t o   h a v e   t h e   c u r l   c o m m a n d - l i n e   t o o l   f o r   m a k i n g   H T T P   r e q u e s t s   f r o m   t h e   t e r m i n a l   o r   c o m m a n d   p r o m p t .   I f   y o u   d o   n o t   h a v e   c u r l   a v a i l a b l e ,   y o u   c a n   i n s t a l l   i t .   C h e c k   t h e   d o c u m e n t a t i o n   f o r   y o u r   l o c a l   o p e r a t i n g   s y s t e m .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16872"
  },
  {
    "question": "What is Objectives?",
    "answer": "U p d a t e   c o n f i g u r a t i o n   v i a   a   C o n f i g M a p   m o u n t e d   a s   a   V o l u m e U p d a t e   e n v i r o n m e n t   v a r i a b l e s   o f   a   P o d   v i a   a   C o n f i g M a p U p d a t e   c o n f i g u r a t i o n   v i a   a   C o n f i g M a p   i n   a   m u l t i - c o n t a i n e r   P o d U p d a t e   c o n f i g u r a t i o n   v i a   a   C o n f i g M a p   i n   a   P o d   p o s s e s s i n g   a   S i d e c a r   C o n t a i n e r",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16873"
  },
  {
    "question": "What is Update configuration via a ConfigMap mounted as a Volume?",
    "answer": "U s e   t h e   k u b e c t l   c r e a t e   c o n f i g m a p   c o m m a n d   t o   c r e a t e   a   C o n f i g M a p   f r o m   l i t e r a l   v a l u e s :   k u b e c t l   c r e a t e   c o n f i g m a p   s p o r t   - - f r o m - l i t e r a l = s p o r t = f o o t b a l l   B e l o w   i s   a n   e x a m p l e   o f   a   D e p l o y m e n t   m a n i f e s t   w i t h   t h e   C o n f i g M a p   s p o r t   m o u n t e d   a s   a   v o l u m e   i n t o   t h e   P o d ' s   o n l y   c o n t a i n e r .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   c o n f i g m a p - v o l u m e   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   c o n f i g m a p - v o l u m e   s p e c :   r e p l i c a s :   3   s e l e c t o r :   m a t c h L a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   c o n f i g m a p - v o l u m e   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   c o n f i g m a p - v o l u m e   s p e c :   c o n t a i n e r s :   -   n a m e :   a l p i n e   i m a g e :   a l p i n e : 3   c o m m a n d :   -   / b i n / s h   -   - c   -   w h i l e   t r u e ;   d o   e c h o   \" $ ( d a t e )   M y   p r e f e r r e d   s p o r t   i s   $ ( c a t   / e t c / c o n f i g / s p o r t ) \" ;   s l e e p   1 0 ;   d o n e ;   p o r t s :   -   c o n t a i n e r P o r t :   8 0   v o l u m e M o u n t s :   -   n a m e :   c o n f i g - v o l u m e   m o u n t P a t h :   / e t c / c o n f i g   v o l u m e s :   -   n a m e :   c o n f i g - v o l u m e   c o n f i g M a p :   n a m e :   s p o r t   C r e a t e   t h e   D e p l o y m e n t :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d e p l o y m e n t s / d e p l o y m e n t - w i t h - c o n f i g m a p - a s - v o l u m e . y a m l   C h e c k   t h e   p o d s   f o r   t h i s   D e p l o y m e n t   t o   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16874"
  },
  {
    "question": "What is Update environment variables of a Pod via a ConfigMap?",
    "answer": "U s e   t h e   k u b e c t l   c r e a t e   c o n f i g m a p   c o m m a n d   t o   c r e a t e   a   C o n f i g M a p   f r o m   l i t e r a l   v a l u e s :   k u b e c t l   c r e a t e   c o n f i g m a p   f r u i t s   - - f r o m - l i t e r a l = f r u i t s = a p p l e s   B e l o w   i s   a n   e x a m p l e   o f   a   D e p l o y m e n t   m a n i f e s t   w i t h   a n   e n v i r o n m e n t   v a r i a b l e   c o n f i g u r e d   v i a   t h e   C o n f i g M a p   f r u i t s .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   c o n f i g m a p - e n v - v a r   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   c o n f i g m a p - e n v - v a r   s p e c :   r e p l i c a s :   3   s e l e c t o r :   m a t c h L a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   c o n f i g m a p - e n v - v a r   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   c o n f i g m a p - e n v - v a r   s p e c :   c o n t a i n e r s :   -   n a m e :   a l p i n e   i m a g e :   a l p i n e : 3   e n v :   -   n a m e :   F R U I T S   v a l u e F r o m :   c o n f i g M a p K e y R e f :   k e y :   f r u i t s   n a m e :   f r u i t s   c o m m a n d :   -   / b i n / s h   -   - c   -   w h i l e   t r u e ;   d o   e c h o   \" $ ( d a t e )   T h e   b a s k e t   i s   f u l l   o f   $ F R U I T S \" ;   s l e e p   1 0 ;   d o n e ;   p o r t s :   -   c o n t a i n e r P o r t :   8 0   C r e a t e   t h e   D e p l o y m e n t :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d e p l o y m e n t s / d e p l o y m e n t - w i t h - c o n f i g m a p - a s - e n v v a r . y a m l   C h e c k   t h e   p o d s   f o r   t h i s   D e p l o y m e n t   t o   e n s u r e   t h e y   a r e   r e a d y   ( m a t c h i n g   b y   s e l e c t o r ) :   k u b e c t l   g e t   p o d s   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16875"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   t r i g g e r   t h a t   r e p l a c e m e n t .   P e r f o r m   a   r o l l o u t   f o r   t h e   D e p l o y m e n t ,   u s i n g   k u b e c t l   r o l l o u t :   #   T r i g g e r   t h e   r o l l o u t   k u b e c t l   r o l l o u t   r e s t a r t   d e p l o y m e n t   c o n f i g m a p - e n v - v a r   #   W a i t   f o r   t h e   r o l l o u t   t o   c o m p l e t e   k u b e c t l   r o l l o u t   s t a t u s   d e p l o y m e n t   c o n f i g m a p - e n v - v a r   - - w a t c h = t r u e   N e x t ,   c h e c k   t h e   D e p l o y m e n t :   k u b e c t l   g e t   d e p l o y m e n t   c o n f i g m a p - e n v - v a r   Y o u   s h o u l d   s e e   a n   o u t p u t   s i m i l a r   t o :   N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   c o n f i g m a p - e n v - v a r   3 / 3   3   3   1 2 m   C h e c k   t h e   P o d s :   k u b e c t l   g e t   p o d s   - - s e l e c t o r = a p p . k u b e r n e t e s . i o / n a m e = c o n f i g m a p - e n v - v a r   T h e   r o l l o u t   c a u s e s   K u b e r n e t e s   t o   m a k e   a   n e w   R e p l i c a S e t   f o r   t h e   D e p l o y m e n t ;   t h a t   m e a n s   t h e   e x i s t i n g   P o d s   e v e n t u a l l y   t e r m i n a t e ,   a n d   n e w   o n e s   a r e   c r e a t e d .   A f t e r   f e w   s e c o n d s ,   y o u   s h o u l d   s e e   a n   o u t p u t   s i m i l a r   t o :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   c o n f i g m a p - e n v - v a r - 6 d 9 4 d 8 9 b f 5 - 2 p h 2 l   1 / 1   R u n n i n g   0   1 3 s   c o n f i g m a p - e n v - v a r - 6 d 9 4 d 8 9 b f 5 - 7 4 t w x   1 / 1   R u n n i n g   0   8 s   c o n f i g m a p - e n v - v a r - 6 d 9 4 d 8 9 b f 5 - d 5 v x 8   1 / 1   R u n n i n g   0   1 1 s",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16876"
  },
  {
    "question": "What is Note:?",
    "answer": "V i e w   t h e   l o g s   f o r   a   P o d   i n   t h i s   D e p l o y m e n t :   #   P i c k   o n e   P o d   t h a t   b e l o n g s   t o   t h e   D e p l o y m e n t ,   a n d   v i e w   i t s   l o g s   k u b e c t l   l o g s   d e p l o y m e n t / c o n f i g m a p - e n v - v a r   Y o u   s h o u l d   s e e   a n   o u t p u t   s i m i l a r   t o   t h e   b e l o w :   F o u n d   3   p o d s ,   u s i n g   p o d / c o n f i g m a p - e n v - v a r - 6 d 9 f f 8 9 f b 6 - b z c f 6   T h u   J a n   4   1 6 : 3 0 : 3 5   U T C   2 0 2 4   T h e   b a s k e t   i s   f u l l   o f   m a n g o e s   T h u   J a n   4   1 6 : 3 0 : 4 5   U T C   2 0 2 4   T h e   b a s k e t   i s   f u l l   o f   m a n g o e s   T h u   J a n   4   1 6 : 3 0 : 5 5   U T C   2 0 2 4   T h e   b a s k e t   i s   f u l l   o f   m a n g o e s   T h i s   d e m o n s t r a t e s   t h e   s c e n a r i o   o f   u p d a t i n g   e n v i r o n m e n t   v a r i a b l e s   i n   a   P o d   t h a t   a r e   d e r i v e d   f r o m   a   C o n f i g M a p .   C h a n g e s   t o   t h e   C o n f i g M a p   v a l u e s   a r e   a p p l i e d   t o   t h e   P o d   d u r i n g   t h e   s u b s e q u e n t   r o l l o u t .   I f   P o d s   g e t   c r e a t e d   f o r   a n o t h e r   r e a s o n ,   s u c h   a s   s c a l i n g   u p   t h e   D e p l o y m e n t ,   t h e n   t h e   n e w   P o d s   a l s o   u s e   t h e   l a t e s t   c o n f i g u r a t i o n   v a l u e s ;   i f   y o u   d o n ' t   t r i g g e r   a   r o l l o u t ,   t h e n   y o u   m i g h t   f i n d   t h a t   y o u r   a p p   i s   r u n n i n g   w i t h   a   m i x   o f   o l d   a n d   n e w   e n v i r o n m e n t   v a r i a b l e   v a l u e s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16877"
  },
  {
    "question": "What is Update configuration via a ConfigMap in a multi-container Pod?",
    "answer": "U s e   t h e   k u b e c t l   c r e a t e   c o n f i g m a p   c o m m a n d   t o   c r e a t e   a   C o n f i g M a p   f r o m   l i t e r a l   v a l u e s :   k u b e c t l   c r e a t e   c o n f i g m a p   c o l o r   - - f r o m - l i t e r a l = c o l o r = r e d   B e l o w   i s   a n   e x a m p l e   m a n i f e s t   f o r   a   D e p l o y m e n t   t h a t   m a n a g e s   a   s e t   o f   P o d s ,   e a c h   w i t h   t w o   c o n t a i n e r s .   T h e   t w o   c o n t a i n e r s   s h a r e   a n   e m p t y D i r   v o l u m e   t h a t   t h e y   u s e   t o   c o m m u n i c a t e .   T h e   f i r s t   c o n t a i n e r   r u n s   a   w e b   s e r v e r   ( n g i n x ) .   T h e   m o u n t   p a t h   f o r   t h e   s h a r e d   v o l u m e   i n   t h e   w e b   s e r v e r   c o n t a i n e r   i s   / u s r / s h a r e / n g i n x / h t m l .   T h e   s e c o n d   h e l p e r   c o n t a i n e r   i s   b a s e d   o n   a l p i n e ,   a n d   f o r   t h i s   c o n t a i n e r   t h e   e m p t y D i r   v o l u m e   i s   m o u n t e d   a t   / p o d - d a t a .   T h e   h e l p e r   c o n t a i n e r   w r i t e s   a   f i l e   i n   H T M L   t h a t   h a s   i t s   c o n t e n t   b a s e d   o n   a   C o n f i g M a p .   T h e   w e b   s e r v e r   c o n t a i n e r   s e r v e s   t h e   H T M L   v i a   H T T P .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   c o n f i g m a p - t w o - c o n t a i n e r s   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   c o n f i g m a p - t w o - c o n t a i n e r s   s p e c :   r e p l i c a s :   3   s e l e c t o r :   m a t c h L a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   c o n f i g m a p - t w o - c o n t a i n e r s   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   c o n f i g m a p - t w o - c o n t ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16878"
  },
  {
    "question": "What is Update configuration via a ConfigMap in a Pod possessing a sidecar container?",
    "answer": "T h e   a b o v e   s c e n a r i o   c a n   b e   r e p l i c a t e d   b y   u s i n g   a   S i d e c a r   C o n t a i n e r   a s   a   h e l p e r   c o n t a i n e r   t o   w r i t e   t h e   H T M L   f i l e . A s   a   S i d e c a r   C o n t a i n e r   i s   c o n c e p t u a l l y   a n   I n i t   C o n t a i n e r ,   i t   i s   g u a r a n t e e d   t o   s t a r t   b e f o r e   t h e   m a i n   w e b   s e r v e r   c o n t a i n e r . T h i s   e n s u r e s   t h a t   t h e   H T M L   f i l e   i s   a l w a y s   a v a i l a b l e   w h e n   t h e   w e b   s e r v e r   i s   r e a d y   t o   s e r v e   i t .   I f   y o u   a r e   c o n t i n u i n g   f r o m   t h e   p r e v i o u s   s c e n a r i o ,   y o u   c a n   r e u s e   t h e   C o n f i g M a p   n a m e d   c o l o r   f o r   t h i s   s c e n a r i o . I f   y o u   a r e   e x e c u t i n g   t h i s   s c e n a r i o   i n d e p e n d e n t l y ,   u s e   t h e   k u b e c t l   c r e a t e   c o n f i g m a p   c o m m a n d   t o   c r e a t e   a   C o n f i g M a p   f r o m   l i t e r a l   v a l u e s :   k u b e c t l   c r e a t e   c o n f i g m a p   c o l o r   - - f r o m - l i t e r a l = c o l o r = b l u e   B e l o w   i s   a n   e x a m p l e   m a n i f e s t   f o r   a   D e p l o y m e n t   t h a t   m a n a g e s   a   s e t   o f   P o d s ,   e a c h   w i t h   a   m a i n   c o n t a i n e r   a n d   a   s i d e c a r   c o n t a i n e r .   T h e   t w o   c o n t a i n e r s   s h a r e   a n   e m p t y D i r   v o l u m e   t h a t   t h e y   u s e   t o   c o m m u n i c a t e .   T h e   m a i n   c o n t a i n e r   r u n s   a   w e b   s e r v e r   ( N G I N X ) .   T h e   m o u n t   p a t h   f o r   t h e   s h a r e d   v o l u m e   i n   t h e   w e b   s e r v e r   c o n t a i n e r   i s   / u s r / s h a r e / n g i n x / h t m l .   T h e   s e c o n d   c o n t a i n e r   i s   a   S i d e c a r   C o n t ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16879"
  },
  {
    "question": "What is Note:?",
    "answer": "I m m u t a b l e   C o n f i g M a p s   a r e   e s p e c i a l l y   u s e d   f o r   c o n f i g u r a t i o n   t h a t   i s   c o n s t a n t   a n d   i s   n o t   e x p e c t e d   t o   c h a n g e   o v e r   t i m e .   M a r k i n g   a   C o n f i g M a p   a s   i m m u t a b l e   a l l o w s   a   p e r f o r m a n c e   i m p r o v e m e n t   w h e r e   t h e   k u b e l e t   d o e s   n o t   w a t c h   f o r   c h a n g e s .   I f   y o u   d o   n e e d   t o   m a k e   a   c h a n g e ,   y o u   s h o u l d   p l a n   t o   e i t h e r :   c h a n g e   t h e   n a m e   o f   t h e   C o n f i g M a p ,   a n d   s w i t c h   t o   r u n n i n g   P o d s   t h a t   r e f e r e n c e   t h e   n e w   n a m e r e p l a c e   a l l   t h e   n o d e s   i n   y o u r   c l u s t e r   t h a t   h a v e   p r e v i o u s l y   r u n   a   P o d   t h a t   u s e d   t h e   o l d   v a l u e r e s t a r t   t h e   k u b e l e t   o n   a n y   n o d e   w h e r e   t h e   k u b e l e t   p r e v i o u s l y   l o a d e d   t h e   o l d   C o n f i g M a p   A n   e x a m p l e   m a n i f e s t   f o r   a n   I m m u t a b l e   C o n f i g M a p   i s   s h o w n   b e l o w .   a p i V e r s i o n :   v 1   d a t a :   c o m p a n y _ n a m e :   \" A C M E ,   I n c . \"   #   e x i s t i n g   f i c t i o n a l   c o m p a n y   n a m e   k i n d :   C o n f i g M a p   i m m u t a b l e :   t r u e   m e t a d a t a :   n a m e :   c o m p a n y - n a m e - 2 0 1 5 0 8 0 1   C r e a t e   t h e   I m m u t a b l e   C o n f i g M a p :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / c o n f i g m a p / i m m u t a b l e - c o n f i g m a p . y a m l   B e l o w   i s   a n   e x a m p l e   o f   a   D e p l o y m e n t   m a n i f e s t   w i t h   t h e   I m m u t a b l e   C o n f i g M a p   c o m p a n y - n a m e - 2 0 1 5 0 8 0 1   m o u n t e d   a s   a   v o l u m e   i n t o   t ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16880"
  },
  {
    "question": "What is Note:?",
    "answer": "C r e a t e   a   n e w   i m m u t a b l e   C o n f i g M a p   b y   u s i n g   t h e   m a n i f e s t   s h o w n   b e l o w :   a p i V e r s i o n :   v 1   d a t a :   c o m p a n y _ n a m e :   \" F i k t i v e s u n t e r n e h m e n   G m b H \"   #   n e w   f i c t i o n a l   c o m p a n y   n a m e   k i n d :   C o n f i g M a p   i m m u t a b l e :   t r u e   m e t a d a t a :   n a m e :   c o m p a n y - n a m e - 2 0 2 4 0 3 1 2   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / c o n f i g m a p / n e w - i m m u t a b l e - c o n f i g m a p . y a m l   Y o u   s h o u l d   s e e   a n   o u t p u t   s i m i l a r   t o :   c o n f i g m a p / c o m p a n y - n a m e - 2 0 2 4 0 3 1 2   c r e a t e d   C h e c k   t h e   n e w l y   c r e a t e d   C o n f i g M a p :   k u b e c t l   g e t   c o n f i g m a p   Y o u   s h o u l d   s e e   a n   o u t p u t   d i s p l a y i n g   b o t h   t h e   o l d   a n d   n e w   C o n f i g M a p s :   N A M E   D A T A   A G E   c o m p a n y - n a m e - 2 0 1 5 0 8 0 1   1   2 2 m   c o m p a n y - n a m e - 2 0 2 4 0 3 1 2   1   2 4 s   M o d i f y   t h e   D e p l o y m e n t   t o   r e f e r e n c e   t h e   n e w   C o n f i g M a p .   E d i t   t h e   D e p l o y m e n t :   k u b e c t l   e d i t   d e p l o y m e n t   i m m u t a b l e - c o n f i g m a p - v o l u m e   I n   t h e   e d i t o r   t h a t   a p p e a r s ,   u p d a t e   t h e   e x i s t i n g   v o l u m e   d e f i n i t i o n   t o   u s e   t h e   n e w   C o n f i g M a p .   v o l u m e s :   -   c o n f i g M a p :   d e f a u l t M o d e :   4 2 0   n a m e :   c o m p a n y - n a m e - 2 0 2 4 0 3 1 2   #   U p d a t e   t h i s   f i e l d   n a m e :   c o n f i g - v o l u m e   Y o u   s h o u l d   s e e   t h e   f o l l o w i n g   o u t p u t :   d e p l o y m e n t . a p p s / i m m u t a b l e - c o n f i g m a p - v o l u m e   e d i t e d   T h i s   w ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16881"
  },
  {
    "question": "What is Summary?",
    "answer": "C h a n g e s   t o   a   C o n f i g M a p   m o u n t e d   a s   a   V o l u m e   o n   a   P o d   a r e   a v a i l a b l e   s e a m l e s s l y   a f t e r   t h e   s u b s e q u e n t   k u b e l e t   s y n c .   C h a n g e s   t o   a   C o n f i g M a p   t h a t   c o n f i g u r e s   e n v i r o n m e n t   v a r i a b l e s   f o r   a   P o d   a r e   a v a i l a b l e   a f t e r   t h e   s u b s e q u e n t   r o l l o u t   f o r   t h e   P o d .   O n c e   a   C o n f i g M a p   i s   m a r k e d   a s   i m m u t a b l e ,   i t   i s   n o t   p o s s i b l e   t o   r e v e r t   t h i s   c h a n g e   ( y o u   c a n n o t   m a k e   a n   i m m u t a b l e   C o n f i g M a p   m u t a b l e ) ,   a n d   y o u   a l s o   c a n n o t   m a k e   a n y   c h a n g e   t o   t h e   c o n t e n t s   o f   t h e   d a t a   o r   t h e   b i n a r y D a t a   f i e l d .   Y o u   c a n   d e l e t e   a n d   r e c r e a t e   t h e   C o n f i g M a p ,   o r   y o u   c a n   m a k e   a   n e w   d i f f e r e n t   C o n f i g M a p .   W h e n   y o u   d e l e t e   a   C o n f i g M a p ,   r u n n i n g   c o n t a i n e r s   a n d   t h e i r   P o d s   m a i n t a i n   a   m o u n t   p o i n t   t o   a n y   v o l u m e   t h a t   r e f e r e n c e d   t h a t   e x i s t i n g   C o n f i g M a p .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16882"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "T e r m i n a t e   t h e   k u b e c t l   p o r t - f o r w a r d   c o m m a n d s   i n   c a s e   t h e y   a r e   r u n n i n g .   D e l e t e   t h e   r e s o u r c e s   c r e a t e d   d u r i n g   t h e   t u t o r i a l :   k u b e c t l   d e l e t e   d e p l o y m e n t   c o n f i g m a p - v o l u m e   c o n f i g m a p - e n v - v a r   c o n f i g m a p - t w o - c o n t a i n e r s   c o n f i g m a p - s i d e c a r - c o n t a i n e r   i m m u t a b l e - c o n f i g m a p - v o l u m e   k u b e c t l   d e l e t e   s e r v i c e   c o n f i g m a p - s e r v i c e   c o n f i g m a p - s i d e c a r - s e r v i c e   k u b e c t l   d e l e t e   c o n f i g m a p   s p o r t   f r u i t s   c o l o r   c o m p a n y - n a m e - 2 0 2 4 0 3 1 2   k u b e c t l   d e l e t e   c o n f i g m a p   c o m p a n y - n a m e - 2 0 1 5 0 8 0 1   #   I n   c a s e   i t   w a s   n o t   h a n d l e d   d u r i n g   t h e   t a s k   e x e c u t i o n",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16883"
  },
  {
    "question": "What is 3.2 - Configuring Redis using a ConfigMap?",
    "answer": "T h i s   p a g e   p r o v i d e s   a   r e a l   w o r l d   e x a m p l e   o f   h o w   t o   c o n f i g u r e   R e d i s   u s i n g   a   C o n f i g M a p   a n d   b u i l d s   u p o n   t h e   C o n f i g u r e   a   P o d   t o   U s e   a   C o n f i g M a p   t a s k .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_1_16884"
  },
  {
    "question": "What is Objectives?",
    "answer": "C r e a t e   a   C o n f i g M a p   w i t h   R e d i s   c o n f i g u r a t i o n   v a l u e s C r e a t e   a   R e d i s   P o d   t h a t   m o u n t s   a n d   u s e s   t h e   c r e a t e d   C o n f i g M a p V e r i f y   t h a t   t h e   c o n f i g u r a t i o n   w a s   c o r r e c t l y   a p p l i e d .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16885"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   T h e   e x a m p l e   s h o w n   o n   t h i s   p a g e   w o r k s   w i t h   k u b e c t l   1 . 1 4   a n d   a b o ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16886"
  },
  {
    "question": "What is Real World Example: Configuring Redis using a ConfigMap?",
    "answer": "F o l l o w   t h e   s t e p s   b e l o w   t o   c o n f i g u r e   a   R e d i s   c a c h e   u s i n g   d a t a   s t o r e d   i n   a   C o n f i g M a p .   F i r s t   c r e a t e   a   C o n f i g M a p   w i t h   a n   e m p t y   c o n f i g u r a t i o n   b l o c k :   c a t   < < E O F   > . / e x a m p l e - r e d i s - c o n f i g . y a m l   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   e x a m p l e - r e d i s - c o n f i g   d a t a :   r e d i s - c o n f i g :   \" \"   E O F   A p p l y   t h e   C o n f i g M a p   c r e a t e d   a b o v e ,   a l o n g   w i t h   a   R e d i s   p o d   m a n i f e s t :   k u b e c t l   a p p l y   - f   e x a m p l e - r e d i s - c o n f i g . y a m l   k u b e c t l   a p p l y   - f   h t t p s : / / r a w . g i t h u b u s e r c o n t e n t . c o m / k u b e r n e t e s / w e b s i t e / m a i n / c o n t e n t / e n / e x a m p l e s / p o d s / c o n f i g / r e d i s - p o d . y a m l   E x a m i n e   t h e   c o n t e n t s   o f   t h e   R e d i s   p o d   m a n i f e s t   a n d   n o t e   t h e   f o l l o w i n g :   A   v o l u m e   n a m e d   c o n f i g   i s   c r e a t e d   b y   s p e c . v o l u m e s [ 1 ] T h e   k e y   a n d   p a t h   u n d e r   s p e c . v o l u m e s [ 1 ] . c o n f i g M a p . i t e m s [ 0 ]   e x p o s e s   t h e   r e d i s - c o n f i g   k e y   f r o m   t h e   e x a m p l e - r e d i s - c o n f i g   C o n f i g M a p   a s   a   f i l e   n a m e d   r e d i s . c o n f   o n   t h e   c o n f i g   v o l u m e . T h e   c o n f i g   v o l u m e   i s   t h e n   m o u n t e d   a t   / r e d i s - m a s t e r   b y   s p e c . c o n t a i n e r s [ 0 ] . v o l u m e M o u n t s [ 1 ] .   T h i s   h a s   t h e   n e t   e f f e c t   o f   e x p o s i n g   t h e   d a t a   i n   d a t a . r e d i s - c o n f i g   f r o m   t h e   e x a m p l e - r e d i s - c o n f i g   C o n f i g ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16887"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   C o n f i g M a p s . F o l l o w   a n   e x a m p l e   o f   U p d a t i n g   c o n f i g u r a t i o n   v i a   a   C o n f i g M a p .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16888"
  },
  {
    "question": "What is 3.3 - Adopting Sidecar Containers?",
    "answer": "T h i s   s e c t i o n   i s   r e l e v a n t   f o r   p e o p l e   a d o p t i n g   a   n e w   b u i l t - i n   s i d e c a r   c o n t a i n e r s   f e a t u r e   f o r   t h e i r   w o r k l o a d s .   S i d e c a r   c o n t a i n e r   i s   n o t   a   n e w   c o n c e p t   a s   p o s t e d   i n   t h e   b l o g   p o s t .   K u b e r n e t e s   a l l o w s   r u n n i n g   m u l t i p l e   c o n t a i n e r s   i n   a   P o d   t o   i m p l e m e n t   t h i s   c o n c e p t .   H o w e v e r ,   r u n n i n g   a   s i d e c a r   c o n t a i n e r   a s   a   r e g u l a r   c o n t a i n e r   h a s   a   l o t   o f   l i m i t a t i o n s   b e i n g   f i x e d   w i t h   t h e   n e w   b u i l t - i n   s i d e c a r   c o n t a i n e r s   s u p p o r t .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_1_16889"
  },
  {
    "question": "What is Objectives?",
    "answer": "U n d e r s t a n d   t h e   n e e d   f o r   s i d e c a r   c o n t a i n e r s B e   a b l e   t o   t r o u b l e s h o o t   i s s u e s   w i t h   t h e   s i d e c a r   c o n t a i n e r s U n d e r s t a n d   o p t i o n s   t o   u n i v e r s a l l y   \" i n j e c t \"   s i d e c a r   c o n t a i n e r s   t o   a n y   w o r k l o a d",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16890"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 2 9 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16891"
  },
  {
    "question": "What is Sidecar containers overview?",
    "answer": "S i d e c a r   c o n t a i n e r s   a r e   s e c o n d a r y   c o n t a i n e r s   t h a t   r u n   a l o n g   w i t h   t h e   m a i n   a p p l i c a t i o n   c o n t a i n e r   w i t h i n   t h e   s a m e   P o d .   T h e s e   c o n t a i n e r s   a r e   u s e d   t o   e n h a n c e   o r   t o   e x t e n d   t h e   f u n c t i o n a l i t y   o f   t h e   p r i m a r y   a p p   c o n t a i n e r   b y   p r o v i d i n g   a d d i t i o n a l   s e r v i c e s ,   o r   f u n c t i o n a l i t i e s   s u c h   a s   l o g g i n g ,   m o n i t o r i n g ,   s e c u r i t y ,   o r   d a t a   s y n c h r o n i z a t i o n ,   w i t h o u t   d i r e c t l y   a l t e r i n g   t h e   p r i m a r y   a p p l i c a t i o n   c o d e .   Y o u   c a n   r e a d   m o r e   i n   t h e   S i d e c a r   c o n t a i n e r s   c o n c e p t   p a g e .   T h e   c o n c e p t   o f   s i d e c a r   c o n t a i n e r s   i s   n o t   n e w   a n d   t h e r e   a r e   m u l t i p l e   i m p l e m e n t a t i o n s   o f   t h i s   c o n c e p t .   A s   w e l l   a s   s i d e c a r   c o n t a i n e r s   t h a t   y o u ,   t h e   p e r s o n   d e f i n i n g   t h e   P o d ,   w a n t   t o   r u n ,   y o u   c a n   a l s o   f i n d   t h a t   s o m e   a d d o n s   m o d i f y   P o d s   -   b e f o r e   t h e   P o d s   s t a r t   r u n n i n g   -   s o   t h a t   t h e r e   a r e   e x t r a   s i d e c a r   c o n t a i n e r s .   T h e   m e c h a n i s m s   t o   i n j e c t   t h o s e   e x t r a   s i d e c a r s   a r e   o f t e n   m u t a t i n g   w e b h o o k s .   F o r   e x a m p l e ,   a   s e r v i c e   m e s h   a d d o n   m i g h t   i n j e c t   a   s i d e c a r   t h a t   c o n f i g u r e s   m u t u a l   T L S   a n d   e n c r y p t i o n   i n   t r a n s i t   b e t w e e n   d i f f e r e n t   P o d s .   W h i l e   t h e   c o n c e p t   o f   s i d e c a r   c o n t a i n e r s ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16892"
  },
  {
    "question": "What is Benefits of a built-in sidecar container?",
    "answer": "U s i n g   K u b e r n e t e s '   n a t i v e   s u p p o r t   f o r   s i d e c a r   c o n t a i n e r s   p r o v i d e s   s e v e r a l   b e n e f i t s :   Y o u   c a n   c o n f i g u r e   a   n a t i v e   s i d e c a r   c o n t a i n e r   t o   s t a r t   a h e a d   o f   i n i t   c o n t a i n e r s . T h e   b u i l t - i n   s i d e c a r   c o n t a i n e r s   c a n   b e   a u t h o r e d   t o   g u a r a n t e e   t h a t   t h e y   a r e   t e r m i n a t e d   l a s t .   S i d e c a r   c o n t a i n e r s   a r e   t e r m i n a t e d   w i t h   a   S I G T E R M   s i g n a l   o n c e   a l l   t h e   r e g u l a r   c o n t a i n e r s   a r e   c o m p l e t e d   a n d   t e r m i n a t e d .   I f   t h e   s i d e c a r   c o n t a i n e r   i s n ’ t   g r a c e f u l l y   s h u t   d o w n ,   a   S I G K I L L   s i g n a l   w i l l   b e   u s e d   t o   t e r m i n a t e   i t . W i t h   J o b s ,   w h e n   P o d ' s   r e s t a r t P o l i c y :   O n F a i l u r e   o r   r e s t a r t P o l i c y :   N e v e r ,   n a t i v e   s i d e c a r   c o n t a i n e r s   d o   n o t   b l o c k   P o d   c o m p l e t i o n .   W i t h   l e g a c y   s i d e c a r   c o n t a i n e r s ,   s p e c i a l   c a r e   i s   n e e d e d   t o   h a n d l e   t h i s   s i t u a t i o n . A l s o ,   w i t h   J o b s ,   b u i l t - i n   s i d e c a r   c o n t a i n e r s   w o u l d   k e e p   b e i n g   r e s t a r t e d   o n c e   t h e y   a r e   d o n e ,   e v e n   i f   r e g u l a r   c o n t a i n e r s   w o u l d   n o t   w i t h   P o d ' s   r e s t a r t P o l i c y :   N e v e r .   S e e   d i f f e r e n c e s   f r o m   i n i t   c o n t a i n e r s   t o   l e a r n   m o r e   a b o u t   i t .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16893"
  },
  {
    "question": "What is Adopting built-in sidecar containers?",
    "answer": "T h e   S i d e c a r C o n t a i n e r s   f e a t u r e   g a t e   i s   i n   b e t a   s t a t e   s t a r t i n g   f r o m   K u b e r n e t e s   v e r s i o n   1 . 2 9   a n d   i s   e n a b l e d   b y   d e f a u l t .   S o m e   c l u s t e r s   m a y   h a v e   t h i s   f e a t u r e   d i s a b l e d   o r   h a v e   s o f t w a r e   i n s t a l l e d   t h a t   i s   i n c o m p a t i b l e   w i t h   t h e   f e a t u r e .   W h e n   t h i s   h a p p e n s ,   t h e   P o d   m a y   b e   r e j e c t e d   o r   t h e   s i d e c a r   c o n t a i n e r s   m a y   b l o c k   P o d   s t a r t u p ,   r e n d e r i n g   t h e   P o d   u s e l e s s .   T h i s   c o n d i t i o n   i s   e a s y   t o   d e t e c t   a s   t h e   P o d   s i m p l y   g e t s   s t u c k   o n   i n i t i a l i z a t i o n .   H o w e v e r ,   i t   i s   o f t e n   u n c l e a r   w h a t   c a u s e d   t h e   p r o b l e m .   H e r e   a r e   t h e   c o n s i d e r a t i o n s   a n d   t r o u b l e s h o o t i n g   s t e p s   t h a t   o n e   c a n   t a k e   w h i l e   a d o p t i n g   s i d e c a r   c o n t a i n e r s   f o r   t h e i r   w o r k l o a d .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16894"
  },
  {
    "question": "What is Ensure the feature gate is enabled?",
    "answer": "A s   a   v e r y   f i r s t   s t e p ,   m a k e   s u r e   t h a t   b o t h   A P I   s e r v e r   a n d   N o d e s   a r e   a t   K u b e r n e t e s   v e r s i o n   v 1 . 2 9   o r   l a t e r .   T h e   f e a t u r e   w i l l   b r e a k   o n   c l u s t e r s   w h e r e   N o d e s   a r e   r u n n i n g   e a r l i e r   v e r s i o n s   w h e r e   i t   i s   n o t   e n a b l e d .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16895"
  },
  {
    "question": "What is Note?",
    "answer": "Y o u   s h o u l d   e n s u r e   t h a t   t h e   f e a t u r e   g a t e   i s   e n a b l e d   f o r   t h e   A P I   s e r v e r ( s )   w i t h i n   t h e   c o n t r o l   p l a n e   a n d   f o r   a l l   n o d e s .   O n e   o f   t h e   w a y s   t o   c h e c k   t h e   f e a t u r e   g a t e   e n a b l e m e n t   i s   t o   r u n   a   c o m m a n d   l i k e   t h i s :   F o r   A P I   S e r v e r : k u b e c t l   g e t   - - r a w   / m e t r i c s   |   g r e p   k u b e r n e t e s _ f e a t u r e _ e n a b l e d   |   g r e p   S i d e c a r C o n t a i n e r s   F o r   t h e   i n d i v i d u a l   n o d e : k u b e c t l   g e t   - - r a w   / a p i / v 1 / n o d e s / < n o d e - n a m e > / p r o x y / m e t r i c s   |   g r e p   k u b e r n e t e s _ f e a t u r e _ e n a b l e d   |   g r e p   S i d e c a r C o n t a i n e r s   F o r   A P I   S e r v e r :   k u b e c t l   g e t   - - r a w   / m e t r i c s   |   g r e p   k u b e r n e t e s _ f e a t u r e _ e n a b l e d   |   g r e p   S i d e c a r C o n t a i n e r s   F o r   t h e   i n d i v i d u a l   n o d e :   k u b e c t l   g e t   - - r a w   / a p i / v 1 / n o d e s / < n o d e - n a m e > / p r o x y / m e t r i c s   |   g r e p   k u b e r n e t e s _ f e a t u r e _ e n a b l e d   |   g r e p   S i d e c a r C o n t a i n e r s   I f   y o u   s e e   s o m e t h i n g   l i k e   t h i s :   k u b e r n e t e s _ f e a t u r e _ e n a b l e d { n a m e = \" S i d e c a r C o n t a i n e r s \" , s t a g e = \" B E T A \" }   1   i t   m e a n s   t h a t   t h e   f e a t u r e   i s   e n a b l e d .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16896"
  },
  {
    "question": "What is Check for 3rd party tooling and mutating webhooks?",
    "answer": "I f   y o u   e x p e r i e n c e   i s s u e s   w h e n   v a l i d a t i n g   t h e   f e a t u r e ,   i t   m a y   b e   a n   i n d i c a t i o n   t h a t   o n e   o f   t h e   3 r d   p a r t y   t o o l s   o r   m u t a t i n g   w e b h o o k s   a r e   b r o k e n .   W h e n   t h e   S i d e c a r C o n t a i n e r s   f e a t u r e   g a t e   i s   e n a b l e d ,   P o d s   g a i n   a   n e w   f i e l d   i n   t h e i r   A P I .   S o m e   t o o l s   o r   m u t a t i n g   w e b h o o k s   m i g h t   h a v e   b e e n   b u i l t   w i t h   a n   e a r l i e r   v e r s i o n   o f   K u b e r n e t e s   A P I .   I f   t o o l s   p a s s   u n k n o w n   f i e l d s   a s - i s   u s i n g   v a r i o u s   p a t c h i n g   s t r a t e g i e s   t o   m u t a t e   a   P o d   o b j e c t ,   t h i s   w i l l   n o t   b e   a   p r o b l e m .   H o w e v e r ,   t h e r e   a r e   t o o l s   t h a t   w i l l   s t r i p   o u t   u n k n o w n   f i e l d s ;   i f   y o u   h a v e   t h o s e ,   t h e y   m u s t   b e   r e c o m p i l e d   w i t h   t h e   v 1 . 2 8 +   v e r s i o n   o f   K u b e r n e t e s   A P I   c l i e n t   c o d e .   T h e   w a y   t o   c h e c k   t h i s   i s   t o   u s e   t h e   k u b e c t l   d e s c r i b e   p o d   c o m m a n d   w i t h   y o u r   P o d   t h a t   h a s   p a s s e d   t h r o u g h   m u t a t i n g   a d m i s s i o n .   I f   a n y   t o o l s   s t r i p p e d   o u t   t h e   n e w   f i e l d   ( r e s t a r t P o l i c y : A l w a y s ) ,   y o u   w i l l   n o t   s e e   i t   i n   t h e   c o m m a n d   o u t p u t .   I f   y o u   h i t   a n   i s s u e   l i k e   t h i s ,   p l e a s e   a d v i s e   t h e   a u t h o r   o f   t h e   t o o l s   o r   t h e   w e b h o o k s   u s e   o n e   o f   t h e   p a t c h i n g   s t r a t e g i e s   f o r   m o d i f y i n g   o b j e c t s   i n s t e a d   o f   a   f u l l   o b ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16897"
  },
  {
    "question": "What is Automatic injection of sidecars?",
    "answer": "I f   y o u   a r e   u s i n g   s o f t w a r e   t h a t   i n j e c t s   s i d e c a r s   a u t o m a t i c a l l y ,   t h e r e   a r e   a   f e w   p o s s i b l e   s t r a t e g i e s   y o u   m a y   f o l l o w   t o   e n s u r e   t h a t   n a t i v e   s i d e c a r   c o n t a i n e r s   c a n   b e   u s e d .   A l l   s t r a t e g i e s   a r e   g e n e r a l l y   o p t i o n s   y o u   m a y   c h o o s e   t o   d e c i d e   w h e t h e r   t h e   P o d   t h e   s i d e c a r   w i l l   b e   i n j e c t e d   t o   w i l l   l a n d   o n   a   N o d e   s u p p o r t i n g   t h e   f e a t u r e   o r   n o t .   A s   a n   e x a m p l e ,   y o u   c a n   f o l l o w   t h i s   c o n v e r s a t i o n   i n   I s t i o   c o m m u n i t y .   T h e   d i s c u s s i o n   e x p l o r e s   t h e   o p t i o n s   l i s t e d   b e l o w .   M a r k   P o d s   t h a t   l a n d   t o   n o d e s   s u p p o r t i n g   s i d e c a r s .   Y o u   c a n   u s e   n o d e   l a b e l s   a n d   n o d e   a f f i n i t y   t o   m a r k   n o d e s   s u p p o r t i n g   s i d e c a r   c o n t a i n e r s   a n d   P o d s   l a n d i n g   o n   t h o s e   n o d e s . C h e c k   N o d e s   c o m p a t i b i l i t y   o n   i n j e c t i o n .   D u r i n g   s i d e c a r   i n j e c t i o n ,   y o u   m a y   u s e   t h e   f o l l o w i n g   s t r a t e g i e s   t o   c h e c k   n o d e   c o m p a t i b i l i t y : q u e r y   n o d e   v e r s i o n   a n d   a s s u m e   t h e   f e a t u r e   g a t e   i s   e n a b l e d   o n   t h e   v e r s i o n   1 . 2 9 + q u e r y   n o d e   p r o m e t h e u s   m e t r i c s   a n d   c h e c k   f e a t u r e   e n a b l e m e n t   s t a t u s a s s u m e   t h e   n o d e s   a r e   r u n n i n g   w i t h   a   s u p p o r t e d   v e r s i o n   s k e w   f r o m   t h e   A P I   s e r v e r t h e r e   m a y   b e   o t h e r   c u s t o m   w a y s   t o ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16898"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   s i d e c a r   c o n t a i n e r s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16899"
  },
  {
    "question": "What is 4 - Security?",
    "answer": "S e c u r i t y   i s   a n   i m p o r t a n t   c o n c e r n   f o r   m o s t   o r g a n i z a t i o n s   a n d   p e o p l e   w h o   r u n   K u b e r n e t e s   c l u s t e r s .   Y o u   c a n   f i n d   a   b a s i c   s e c u r i t y   c h e c k l i s t   e l s e w h e r e   i n   t h e   K u b e r n e t e s   d o c u m e n t a t i o n .   T o   l e a r n   h o w   t o   d e p l o y   a n d   m a n a g e   s e c u r i t y   a s p e c t s   o f   K u b e r n e t e s ,   y o u   c a n   f o l l o w   t h e   t u t o r i a l s   i n   t h i s   s e c t i o n .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_1_16900"
  },
  {
    "question": "What is Note?",
    "answer": "P o d   S e c u r i t y   i s   a n   a d m i s s i o n   c o n t r o l l e r   t h a t   c a r r i e s   o u t   c h e c k s   a g a i n s t   t h e   K u b e r n e t e s   P o d   S e c u r i t y   S t a n d a r d s   w h e n   n e w   p o d s   a r e   c r e a t e d .   I t   i s   a   f e a t u r e   G A ' e d   i n   v 1 . 2 5 .   T h i s   t u t o r i a l   s h o w s   y o u   h o w   t o   e n f o r c e   t h e   b a s e l i n e   P o d   S e c u r i t y   S t a n d a r d   a t   t h e   c l u s t e r   l e v e l   w h i c h   a p p l i e s   a   s t a n d a r d   c o n f i g u r a t i o n   t o   a l l   n a m e s p a c e s   i n   a   c l u s t e r .   T o   a p p l y   P o d   S e c u r i t y   S t a n d a r d s   t o   s p e c i f i c   n a m e s p a c e s ,   r e f e r   t o   A p p l y   P o d   S e c u r i t y   S t a n d a r d s   a t   t h e   n a m e s p a c e   l e v e l .   I f   y o u   a r e   r u n n i n g   a   v e r s i o n   o f   K u b e r n e t e s   o t h e r   t h a n   v 1 . 3 4 ,   c h e c k   t h e   d o c u m e n t a t i o n   f o r   t h a t   v e r s i o n .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16901"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n s t a l l   t h e   f o l l o w i n g   o n   y o u r   w o r k s t a t i o n :   k i n d k u b e c t l   T h i s   t u t o r i a l   d e m o n s t r a t e s   w h a t   y o u   c a n   c o n f i g u r e   f o r   a   K u b e r n e t e s   c l u s t e r   t h a t   y o u   f u l l y   c o n t r o l .   I f   y o u   a r e   l e a r n i n g   h o w   t o   c o n f i g u r e   P o d   S e c u r i t y   A d m i s s i o n   f o r   a   m a n a g e d   c l u s t e r   w h e r e   y o u   a r e   n o t   a b l e   t o   c o n f i g u r e   t h e   c o n t r o l   p l a n e ,   r e a d   A p p l y   P o d   S e c u r i t y   S t a n d a r d s   a t   t h e   n a m e s p a c e   l e v e l .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16902"
  },
  {
    "question": "What is Choose the right Pod Security Standard to apply?",
    "answer": "P o d   S e c u r i t y   A d m i s s i o n   l e t s   y o u   a p p l y   b u i l t - i n   P o d   S e c u r i t y   S t a n d a r d s   w i t h   t h e   f o l l o w i n g   m o d e s :   e n f o r c e ,   a u d i t ,   a n d   w a r n .   T o   g a t h e r   i n f o r m a t i o n   t h a t   h e l p s   y o u   t o   c h o o s e   t h e   P o d   S e c u r i t y   S t a n d a r d s   t h a t   a r e   m o s t   a p p r o p r i a t e   f o r   y o u r   c o n f i g u r a t i o n ,   d o   t h e   f o l l o w i n g :   C r e a t e   a   c l u s t e r   w i t h   n o   P o d   S e c u r i t y   S t a n d a r d s   a p p l i e d : k i n d   c r e a t e   c l u s t e r   - - n a m e   p s a - w o - c l u s t e r - p s s   T h e   o u t p u t   i s   s i m i l a r   t o : C r e a t i n g   c l u s t e r   \" p s a - w o - c l u s t e r - p s s \"   . . .   ✓   E n s u r i n g   n o d e   i m a g e   ( k i n d e s t / n o d e : v 1 . 3 4 . 0 )   🖼   ✓   P r e p a r i n g   n o d e s   📦   ✓   W r i t i n g   c o n f i g u r a t i o n   📜   ✓   S t a r t i n g   c o n t r o l - p l a n e   🕹 ️   ✓   I n s t a l l i n g   C N I   🔌   ✓   I n s t a l l i n g   S t o r a g e C l a s s   💾   S e t   k u b e c t l   c o n t e x t   t o   \" k i n d - p s a - w o - c l u s t e r - p s s \"   Y o u   c a n   n o w   u s e   y o u r   c l u s t e r   w i t h :   k u b e c t l   c l u s t e r - i n f o   - - c o n t e x t   k i n d - p s a - w o - c l u s t e r - p s s   T h a n k s   f o r   u s i n g   k i n d !   😊   S e t   t h e   k u b e c t l   c o n t e x t   t o   t h e   n e w   c l u s t e r : k u b e c t l   c l u s t e r - i n f o   - - c o n t e x t   k i n d - p s a - w o - c l u s t e r - p s s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : K u b e r n e t e s   c o n t r o l   p l a n e   i s   r u n n i n g   a t   h t t p s : / / 1 2 7 . 0 . 0 . 1 : 6 1 3 5 0   C o r e D N S   i s   r u n n i n g   a t   h t t p s : / / 1 2 7 . 0 . 0 . 1 : 6 1 3 5 ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16903"
  },
  {
    "question": "What is Set modes, versions and standards?",
    "answer": "I n   t h i s   s e c t i o n ,   y o u   a p p l y   t h e   f o l l o w i n g   P o d   S e c u r i t y   S t a n d a r d s   t o   t h e   l a t e s t   v e r s i o n :   b a s e l i n e   s t a n d a r d   i n   e n f o r c e   m o d e . r e s t r i c t e d   s t a n d a r d   i n   w a r n   a n d   a u d i t   m o d e .   T h e   b a s e l i n e   P o d   S e c u r i t y   S t a n d a r d   p r o v i d e s   a   c o n v e n i e n t   m i d d l e   g r o u n d   t h a t   a l l o w s   k e e p i n g   t h e   e x e m p t i o n   l i s t   s h o r t   a n d   p r e v e n t s   k n o w n   p r i v i l e g e   e s c a l a t i o n s .   A d d i t i o n a l l y ,   t o   p r e v e n t   p o d s   f r o m   f a i l i n g   i n   k u b e - s y s t e m ,   y o u ' l l   e x e m p t   t h e   n a m e s p a c e   f r o m   h a v i n g   P o d   S e c u r i t y   S t a n d a r d s   a p p l i e d .   W h e n   y o u   i m p l e m e n t   P o d   S e c u r i t y   A d m i s s i o n   i n   y o u r   o w n   e n v i r o n m e n t ,   c o n s i d e r   t h e   f o l l o w i n g :   B a s e d   o n   t h e   r i s k   p o s t u r e   a p p l i e d   t o   a   c l u s t e r ,   a   s t r i c t e r   P o d   S e c u r i t y   S t a n d a r d   l i k e   r e s t r i c t e d   m i g h t   b e   a   b e t t e r   c h o i c e . E x e m p t i n g   t h e   k u b e - s y s t e m   n a m e s p a c e   a l l o w s   p o d s   t o   r u n   a s   p r i v i l e g e d   i n   t h i s   n a m e s p a c e .   F o r   r e a l   w o r l d   u s e ,   t h e   K u b e r n e t e s   p r o j e c t   s t r o n g l y   r e c o m m e n d s   t h a t   y o u   a p p l y   s t r i c t   R B A C   p o l i c i e s   t h a t   l i m i t   a c c e s s   t o   k u b e - s y s t e m ,   f o l l o w i n g   t h e   p r i n c i p l e   o f   l e a s t   p r i v i l e g e .   T o   i m p l e m e n t   t h e   p r e c e d i n g   s t a n d a r d s ,   d o   t h e   f o l l o w i n g : C r e a t e   a   c o n f ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16904"
  },
  {
    "question": "What is Note:?",
    "answer": "C o n f i g u r e   t h e   A P I   s e r v e r   t o   c o n s u m e   t h i s   f i l e   d u r i n g   c l u s t e r   c r e a t i o n :   c a t   < < E O F   >   / t m p / p s s / c l u s t e r - c o n f i g . y a m l   k i n d :   C l u s t e r   a p i V e r s i o n :   k i n d . x - k 8 s . i o / v 1 a l p h a 4   n o d e s :   -   r o l e :   c o n t r o l - p l a n e   k u b e a d m C o n f i g P a t c h e s :   -   |   k i n d :   C l u s t e r C o n f i g u r a t i o n   a p i S e r v e r :   e x t r a A r g s :   a d m i s s i o n - c o n t r o l - c o n f i g - f i l e :   / e t c / c o n f i g / c l u s t e r - l e v e l - p s s . y a m l   e x t r a V o l u m e s :   -   n a m e :   a c c f   h o s t P a t h :   / e t c / c o n f i g   m o u n t P a t h :   / e t c / c o n f i g   r e a d O n l y :   f a l s e   p a t h T y p e :   \" D i r e c t o r y O r C r e a t e \"   e x t r a M o u n t s :   -   h o s t P a t h :   / t m p / p s s   c o n t a i n e r P a t h :   / e t c / c o n f i g   #   o p t i o n a l :   i f   s e t ,   t h e   m o u n t   i s   r e a d - o n l y .   #   d e f a u l t   f a l s e   r e a d O n l y :   f a l s e   #   o p t i o n a l :   i f   s e t ,   t h e   m o u n t   n e e d s   S E L i n u x   r e l a b e l i n g .   #   d e f a u l t   f a l s e   s e l i n u x R e l a b e l :   f a l s e   #   o p t i o n a l :   s e t   p r o p a g a t i o n   m o d e   ( N o n e ,   H o s t T o C o n t a i n e r   o r   B i d i r e c t i o n a l )   #   s e e   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s / # m o u n t - p r o p a g a t i o n   #   d e f a u l t   N o n e   p r o p a g a t i o n :   N o n e   E O F",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16905"
  },
  {
    "question": "What is Note:?",
    "answer": "C r e a t e   a   c l u s t e r   t h a t   u s e s   P o d   S e c u r i t y   A d m i s s i o n   t o   a p p l y   t h e s e   P o d   S e c u r i t y   S t a n d a r d s :   k i n d   c r e a t e   c l u s t e r   - - n a m e   p s a - w i t h - c l u s t e r - p s s   - - c o n f i g   / t m p / p s s / c l u s t e r - c o n f i g . y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   C r e a t i n g   c l u s t e r   \" p s a - w i t h - c l u s t e r - p s s \"   . . .   ✓   E n s u r i n g   n o d e   i m a g e   ( k i n d e s t / n o d e : v 1 . 3 4 . 0 )   🖼   ✓   P r e p a r i n g   n o d e s   📦   ✓   W r i t i n g   c o n f i g u r a t i o n   📜   ✓   S t a r t i n g   c o n t r o l - p l a n e   🕹 ️   ✓   I n s t a l l i n g   C N I   🔌   ✓   I n s t a l l i n g   S t o r a g e C l a s s   💾   S e t   k u b e c t l   c o n t e x t   t o   \" k i n d - p s a - w i t h - c l u s t e r - p s s \"   Y o u   c a n   n o w   u s e   y o u r   c l u s t e r   w i t h :   k u b e c t l   c l u s t e r - i n f o   - - c o n t e x t   k i n d - p s a - w i t h - c l u s t e r - p s s   H a v e   a   q u e s t i o n ,   b u g ,   o r   f e a t u r e   r e q u e s t ?   L e t   u s   k n o w !   h t t p s : / / k i n d . s i g s . k 8 s . i o / # c o m m u n i t y   🙂   P o i n t   k u b e c t l   t o   t h e   c l u s t e r :   k u b e c t l   c l u s t e r - i n f o   - - c o n t e x t   k i n d - p s a - w i t h - c l u s t e r - p s s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   K u b e r n e t e s   c o n t r o l   p l a n e   i s   r u n n i n g   a t   h t t p s : / / 1 2 7 . 0 . 0 . 1 : 6 3 8 5 5   C o r e D N S   i s   r u n n i n g   a t   h t t p s : / / 1 2 7 . 0 . 0 . 1 : 6 3 8 5 5 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / k u b e - d n s : d n s / p r o x y   T o   f u r t h e r   d e b u g   a n d   d i a g n o s e   c l u s t e r   p r o b l e m s ,   u s e   ' k u b e c t l   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16906"
  },
  {
    "question": "What is Clean up?",
    "answer": "N o w   d e l e t e   t h e   c l u s t e r s   w h i c h   y o u   c r e a t e d   a b o v e   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d :   k i n d   d e l e t e   c l u s t e r   - - n a m e   p s a - w i t h - c l u s t e r - p s s   k i n d   d e l e t e   c l u s t e r   - - n a m e   p s a - w o - c l u s t e r - p s s",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16907"
  },
  {
    "question": "What is What's next?",
    "answer": "R u n   a   s h e l l   s c r i p t   t o   p e r f o r m   a l l   t h e   p r e c e d i n g   s t e p s   a t   o n c e : C r e a t e   a   P o d   S e c u r i t y   S t a n d a r d s   b a s e d   c l u s t e r   l e v e l   C o n f i g u r a t i o n C r e a t e   a   f i l e   t o   l e t   A P I   s e r v e r   c o n s u m e   t h i s   c o n f i g u r a t i o n C r e a t e   a   c l u s t e r   t h a t   c r e a t e s   a n   A P I   s e r v e r   w i t h   t h i s   c o n f i g u r a t i o n S e t   k u b e c t l   c o n t e x t   t o   t h i s   n e w   c l u s t e r C r e a t e   a   m i n i m a l   p o d   y a m l   f i l e A p p l y   t h i s   f i l e   t o   c r e a t e   a   P o d   i n   t h e   n e w   c l u s t e r P o d   S e c u r i t y   A d m i s s i o n P o d   S e c u r i t y   S t a n d a r d s A p p l y   P o d   S e c u r i t y   S t a n d a r d s   a t   t h e   n a m e s p a c e   l e v e l   C r e a t e   a   P o d   S e c u r i t y   S t a n d a r d s   b a s e d   c l u s t e r   l e v e l   C o n f i g u r a t i o n C r e a t e   a   f i l e   t o   l e t   A P I   s e r v e r   c o n s u m e   t h i s   c o n f i g u r a t i o n C r e a t e   a   c l u s t e r   t h a t   c r e a t e s   a n   A P I   s e r v e r   w i t h   t h i s   c o n f i g u r a t i o n S e t   k u b e c t l   c o n t e x t   t o   t h i s   n e w   c l u s t e r C r e a t e   a   m i n i m a l   p o d   y a m l   f i l e A p p l y   t h i s   f i l e   t o   c r e a t e   a   P o d   i n   t h e   n e w   c l u s t e r",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16908"
  },
  {
    "question": "What is Note?",
    "answer": "P o d   S e c u r i t y   A d m i s s i o n   i s   a n   a d m i s s i o n   c o n t r o l l e r   t h a t   a p p l i e s   P o d   S e c u r i t y   S t a n d a r d s   w h e n   p o d s   a r e   c r e a t e d .   I t   i s   a   f e a t u r e   G A ' e d   i n   v 1 . 2 5 .   I n   t h i s   t u t o r i a l ,   y o u   w i l l   e n f o r c e   t h e   b a s e l i n e   P o d   S e c u r i t y   S t a n d a r d ,   o n e   n a m e s p a c e   a t   a   t i m e .   Y o u   c a n   a l s o   a p p l y   P o d   S e c u r i t y   S t a n d a r d s   t o   m u l t i p l e   n a m e s p a c e s   a t   o n c e   a t   t h e   c l u s t e r   l e v e l .   F o r   i n s t r u c t i o n s ,   r e f e r   t o   A p p l y   P o d   S e c u r i t y   S t a n d a r d s   a t   t h e   c l u s t e r   l e v e l .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16909"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n s t a l l   t h e   f o l l o w i n g   o n   y o u r   w o r k s t a t i o n :   k i n d k u b e c t l",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16910"
  },
  {
    "question": "What is Create cluster?",
    "answer": "C r e a t e   a   k i n d   c l u s t e r   a s   f o l l o w s : k i n d   c r e a t e   c l u s t e r   - - n a m e   p s a - n s - l e v e l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : C r e a t i n g   c l u s t e r   \" p s a - n s - l e v e l \"   . . .   ✓   E n s u r i n g   n o d e   i m a g e   ( k i n d e s t / n o d e : v 1 . 3 4 . 0 )   🖼   ✓   P r e p a r i n g   n o d e s   📦   ✓   W r i t i n g   c o n f i g u r a t i o n   📜   ✓   S t a r t i n g   c o n t r o l - p l a n e   🕹 ️   ✓   I n s t a l l i n g   C N I   🔌   ✓   I n s t a l l i n g   S t o r a g e C l a s s   💾   S e t   k u b e c t l   c o n t e x t   t o   \" k i n d - p s a - n s - l e v e l \"   Y o u   c a n   n o w   u s e   y o u r   c l u s t e r   w i t h :   k u b e c t l   c l u s t e r - i n f o   - - c o n t e x t   k i n d - p s a - n s - l e v e l   N o t   s u r e   w h a t   t o   d o   n e x t ?   😅   C h e c k   o u t   h t t p s : / / k i n d . s i g s . k 8 s . i o / d o c s / u s e r / q u i c k - s t a r t /   S e t   t h e   k u b e c t l   c o n t e x t   t o   t h e   n e w   c l u s t e r : k u b e c t l   c l u s t e r - i n f o   - - c o n t e x t   k i n d - p s a - n s - l e v e l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : K u b e r n e t e s   c o n t r o l   p l a n e   i s   r u n n i n g   a t   h t t p s : / / 1 2 7 . 0 . 0 . 1 : 5 0 9 9 6   C o r e D N S   i s   r u n n i n g   a t   h t t p s : / / 1 2 7 . 0 . 0 . 1 : 5 0 9 9 6 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / k u b e - d n s : d n s / p r o x y   T o   f u r t h e r   d e b u g   a n d   d i a g n o s e   c l u s t e r   p r o b l e m s ,   u s e   ' k u b e c t l   c l u s t e r - i n f o   d u m p ' .   C r e a t e   a   k i n d   c l u s t e r   a s   f o l l o w s :   k i n d   c r e a t e   c l u s t e r   - - n a m e   p s a - n s - l e v e l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   C r e a t ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16911"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   n e w   n a m e s p a c e   c a l l e d   e x a m p l e :   k u b e c t l   c r e a t e   n s   e x a m p l e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   n a m e s p a c e / e x a m p l e   c r e a t e d",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16912"
  },
  {
    "question": "What is Enable Pod Security Standards checking for that namespace?",
    "answer": "E n a b l e   P o d   S e c u r i t y   S t a n d a r d s   o n   t h i s   n a m e s p a c e   u s i n g   l a b e l s   s u p p o r t e d   b y   b u i l t - i n   P o d   S e c u r i t y   A d m i s s i o n .   I n   t h i s   s t e p   y o u   w i l l   c o n f i g u r e   a   c h e c k   t o   w a r n   o n   P o d s   t h a t   d o n ' t   m e e t   t h e   l a t e s t   v e r s i o n   o f   t h e   b a s e l i n e   p o d   s e c u r i t y   s t a n d a r d . k u b e c t l   l a b e l   - - o v e r w r i t e   n s   e x a m p l e   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / w a r n = b a s e l i n e   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / w a r n - v e r s i o n = l a t e s t   Y o u   c a n   c o n f i g u r e   m u l t i p l e   p o d   s e c u r i t y   s t a n d a r d   c h e c k s   o n   a n y   n a m e s p a c e ,   u s i n g   l a b e l s .   T h e   f o l l o w i n g   c o m m a n d   w i l l   e n f o r c e   t h e   b a s e l i n e   P o d   S e c u r i t y   S t a n d a r d ,   b u t   w a r n   a n d   a u d i t   f o r   r e s t r i c t e d   P o d   S e c u r i t y   S t a n d a r d s   a s   p e r   t h e   l a t e s t   v e r s i o n   ( d e f a u l t   v a l u e ) k u b e c t l   l a b e l   - - o v e r w r i t e   n s   e x a m p l e   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e = b a s e l i n e   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e - v e r s i o n = l a t e s t   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / w a r n = r e s t r i c t e d   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / w a r n - v e r s i o n = l a t e s t   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / a u d i t = r e s t r i c t e d   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / a u d i t - v e r s i o n = l a t e s t   E n a b l e   P o d   S e c u r i t y   S t a n d a r d s   o n   t h i s   n a m e s p a c e   u s i n g ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16913"
  },
  {
    "question": "What is Verify the Pod Security Standard enforcement?",
    "answer": "C r e a t e   a   b a s e l i n e   P o d   i n   t h e   e x a m p l e   n a m e s p a c e : k u b e c t l   a p p l y   - n   e x a m p l e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / s e c u r i t y / e x a m p l e - b a s e l i n e - p o d . y a m l   T h e   P o d   d o e s   s t a r t   O K ;   t h e   o u t p u t   i n c l u d e s   a   w a r n i n g .   F o r   e x a m p l e : W a r n i n g :   w o u l d   v i o l a t e   P o d S e c u r i t y   \" r e s t r i c t e d : l a t e s t \" :   a l l o w P r i v i l e g e E s c a l a t i o n   ! =   f a l s e   ( c o n t a i n e r   \" n g i n x \"   m u s t   s e t   s e c u r i t y C o n t e x t . a l l o w P r i v i l e g e E s c a l a t i o n = f a l s e ) ,   u n r e s t r i c t e d   c a p a b i l i t i e s   ( c o n t a i n e r   \" n g i n x \"   m u s t   s e t   s e c u r i t y C o n t e x t . c a p a b i l i t i e s . d r o p = [ \" A L L \" ] ) ,   r u n A s N o n R o o t   ! =   t r u e   ( p o d   o r   c o n t a i n e r   \" n g i n x \"   m u s t   s e t   s e c u r i t y C o n t e x t . r u n A s N o n R o o t = t r u e ) ,   s e c c o m p P r o f i l e   ( p o d   o r   c o n t a i n e r   \" n g i n x \"   m u s t   s e t   s e c u r i t y C o n t e x t . s e c c o m p P r o f i l e . t y p e   t o   \" R u n t i m e D e f a u l t \"   o r   \" L o c a l h o s t \" )   p o d / n g i n x   c r e a t e d   C r e a t e   a   b a s e l i n e   P o d   i n   t h e   d e f a u l t   n a m e s p a c e : k u b e c t l   a p p l y   - n   d e f a u l t   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / s e c u r i t y / e x a m p l e - b a s e l i n e - p o d . y a m l   O u t p u t   i s   s i m i l a r   t o   t h i s : p o d / n g i n x   c r e a t e d   C r e a t e   a   b a s e l i n e   P o d   i n   t h e   e x a m p l e   n a m e s p a c e :   k u b e c t l   a p p l y   - n   e x a m p l e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / s e c u r i t y / e x a m p l e - b a s e l i n e ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16914"
  },
  {
    "question": "What is Clean up?",
    "answer": "N o w   d e l e t e   t h e   c l u s t e r   w h i c h   y o u   c r e a t e d   a b o v e   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d :   k i n d   d e l e t e   c l u s t e r   - - n a m e   p s a - n s - l e v e l",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16915"
  },
  {
    "question": "What is What's next?",
    "answer": "R u n   a   s h e l l   s c r i p t   t o   p e r f o r m   a l l   t h e   p r e c e d i n g   s t e p s   a l l   a t   o n c e . C r e a t e   k i n d   c l u s t e r C r e a t e   n e w   n a m e s p a c e A p p l y   b a s e l i n e   P o d   S e c u r i t y   S t a n d a r d   i n   e n f o r c e   m o d e   w h i l e   a p p l y i n g   r e s t r i c t e d   P o d   S e c u r i t y   S t a n d a r d   a l s o   i n   w a r n   a n d   a u d i t   m o d e . C r e a t e   a   n e w   p o d   w i t h   t h e   f o l l o w i n g   p o d   s e c u r i t y   s t a n d a r d s   a p p l i e d P o d   S e c u r i t y   A d m i s s i o n P o d   S e c u r i t y   S t a n d a r d s A p p l y   P o d   S e c u r i t y   S t a n d a r d s   a t   t h e   c l u s t e r   l e v e l   R u n   a   s h e l l   s c r i p t   t o   p e r f o r m   a l l   t h e   p r e c e d i n g   s t e p s   a l l   a t   o n c e .   C r e a t e   k i n d   c l u s t e r C r e a t e   n e w   n a m e s p a c e A p p l y   b a s e l i n e   P o d   S e c u r i t y   S t a n d a r d   i n   e n f o r c e   m o d e   w h i l e   a p p l y i n g   r e s t r i c t e d   P o d   S e c u r i t y   S t a n d a r d   a l s o   i n   w a r n   a n d   a u d i t   m o d e . C r e a t e   a   n e w   p o d   w i t h   t h e   f o l l o w i n g   p o d   s e c u r i t y   s t a n d a r d s   a p p l i e d   P o d   S e c u r i t y   A d m i s s i o n   P o d   S e c u r i t y   S t a n d a r d s   A p p l y   P o d   S e c u r i t y   S t a n d a r d s   a t   t h e   c l u s t e r   l e v e l",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16916"
  },
  {
    "question": "What is 4.3 - Restrict a Container's Access to Resources with AppArmor?",
    "answer": "T h i s   p a g e   s h o w s   y o u   h o w   t o   l o a d   A p p A r m o r   p r o f i l e s   o n   y o u r   n o d e s   a n d   e n f o r c e   t h o s e   p r o f i l e s   i n   P o d s .   T o   l e a r n   m o r e   a b o u t   h o w   K u b e r n e t e s   c a n   c o n f i n e   P o d s   u s i n g   A p p A r m o r ,   s e e   L i n u x   k e r n e l   s e c u r i t y   c o n s t r a i n t s   f o r   P o d s   a n d   c o n t a i n e r s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_1_16917"
  },
  {
    "question": "What is Objectives?",
    "answer": "S e e   a n   e x a m p l e   o f   h o w   t o   l o a d   a   p r o f i l e   o n   a   N o d e L e a r n   h o w   t o   e n f o r c e   t h e   p r o f i l e   o n   a   P o d L e a r n   h o w   t o   c h e c k   t h a t   t h e   p r o f i l e   i s   l o a d e d S e e   w h a t   h a p p e n s   w h e n   a   p r o f i l e   i s   v i o l a t e d S e e   w h a t   h a p p e n s   w h e n   a   p r o f i l e   c a n n o t   b e   l o a d e d",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16918"
  },
  {
    "question": "What is Before you begin?",
    "answer": "A p p A r m o r   i s   a n   o p t i o n a l   k e r n e l   m o d u l e   a n d   K u b e r n e t e s   f e a t u r e ,   s o   v e r i f y   i t   i s   s u p p o r t e d   o n   y o u r   N o d e s   b e f o r e   p r o c e e d i n g :   A p p A r m o r   k e r n e l   m o d u l e   i s   e n a b l e d   - -   F o r   t h e   L i n u x   k e r n e l   t o   e n f o r c e   a n   A p p A r m o r   p r o f i l e ,   t h e   A p p A r m o r   k e r n e l   m o d u l e   m u s t   b e   i n s t a l l e d   a n d   e n a b l e d .   S e v e r a l   d i s t r i b u t i o n s   e n a b l e   t h e   m o d u l e   b y   d e f a u l t ,   s u c h   a s   U b u n t u   a n d   S U S E ,   a n d   m a n y   o t h e r s   p r o v i d e   o p t i o n a l   s u p p o r t .   T o   c h e c k   w h e t h e r   t h e   m o d u l e   i s   e n a b l e d ,   c h e c k   t h e   / s y s / m o d u l e / a p p a r m o r / p a r a m e t e r s / e n a b l e d   f i l e : c a t   / s y s / m o d u l e / a p p a r m o r / p a r a m e t e r s / e n a b l e d   Y   T h e   k u b e l e t   v e r i f i e s   t h a t   A p p A r m o r   i s   e n a b l e d   o n   t h e   h o s t   b e f o r e   a d m i t t i n g   a   p o d   w i t h   A p p A r m o r   e x p l i c i t l y   c o n f i g u r e d . C o n t a i n e r   r u n t i m e   s u p p o r t s   A p p A r m o r   - -   A l l   c o m m o n   K u b e r n e t e s - s u p p o r t e d   c o n t a i n e r   r u n t i m e s   s h o u l d   s u p p o r t   A p p A r m o r ,   i n c l u d i n g   c o n t a i n e r d   a n d   C R I - O .   P l e a s e   r e f e r   t o   t h e   c o r r e s p o n d i n g   r u n t i m e   d o c u m e n t a t i o n   a n d   v e r i f y   t h a t   t h e   c l u s t e r   f u l f i l l s   t h e   r e q u i r e m e n t s   t o   u s e   A p p A r m o r . P r o f i l e   i s   l o a d e d   - -   A p p A r m o r   i s   a p p l i e d   t o   a   P o d   b y   s p e c i f y i n g   a n   A p p A r m o r   p r o f i ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16919"
  },
  {
    "question": "What is Note:?",
    "answer": "A p p A r m o r   p r o f i l e s   c a n   b e   s p e c i f i e d   a t   t h e   p o d   l e v e l   o r   c o n t a i n e r   l e v e l .   T h e   c o n t a i n e r   A p p A r m o r   p r o f i l e   t a k e s   p r e c e d e n c e   o v e r   t h e   p o d   p r o f i l e .   s e c u r i t y C o n t e x t :   a p p A r m o r P r o f i l e :   t y p e :   < p r o f i l e _ t y p e >   W h e r e   < p r o f i l e _ t y p e >   i s   o n e   o f :   R u n t i m e D e f a u l t   t o   u s e   t h e   r u n t i m e ' s   d e f a u l t   p r o f i l e L o c a l h o s t   t o   u s e   a   p r o f i l e   l o a d e d   o n   t h e   h o s t   ( s e e   b e l o w ) U n c o n f i n e d   t o   r u n   w i t h o u t   A p p A r m o r   S e e   S p e c i f y i n g   A p p A r m o r   C o n f i n e m e n t   f o r   f u l l   d e t a i l s   o n   t h e   A p p A r m o r   p r o f i l e   A P I .   T o   v e r i f y   t h a t   t h e   p r o f i l e   w a s   a p p l i e d ,   y o u   c a n   c h e c k   t h a t   t h e   c o n t a i n e r ' s   r o o t   p r o c e s s   i s   r u n n i n g   w i t h   t h e   c o r r e c t   p r o f i l e   b y   e x a m i n i n g   i t s   p r o c   a t t r :   k u b e c t l   e x e c   < p o d _ n a m e >   - -   c a t   / p r o c / 1 / a t t r / c u r r e n t   T h e   o u t p u t   s h o u l d   l o o k   s o m e t h i n g   l i k e   t h i s :   c r i - c o n t a i n e r d . a p p a r m o r . d   ( e n f o r c e )",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16920"
  },
  {
    "question": "What is Example?",
    "answer": "T h i s   e x a m p l e   a s s u m e s   y o u   h a v e   a l r e a d y   s e t   u p   a   c l u s t e r   w i t h   A p p A r m o r   s u p p o r t .   F i r s t ,   l o a d   t h e   p r o f i l e   y o u   w a n t   t o   u s e   o n t o   y o u r   N o d e s .   T h i s   p r o f i l e   b l o c k s   a l l   f i l e   w r i t e   o p e r a t i o n s :   # i n c l u d e   < t u n a b l e s / g l o b a l >   p r o f i l e   k 8 s - a p p a r m o r - e x a m p l e - d e n y - w r i t e   f l a g s = ( a t t a c h _ d i s c o n n e c t e d )   {   # i n c l u d e   < a b s t r a c t i o n s / b a s e >   f i l e ,   #   D e n y   a l l   f i l e   w r i t e s .   d e n y   / * *   w ,   }   T h e   p r o f i l e   n e e d s   t o   b e   l o a d e d   o n t o   a l l   n o d e s ,   s i n c e   y o u   d o n ' t   k n o w   w h e r e   t h e   p o d   w i l l   b e   s c h e d u l e d .   F o r   t h i s   e x a m p l e   y o u   c a n   u s e   S S H   t o   i n s t a l l   t h e   p r o f i l e s ,   b u t   o t h e r   a p p r o a c h e s   a r e   d i s c u s s e d   i n   S e t t i n g   u p   n o d e s   w i t h   p r o f i l e s .   #   T h i s   e x a m p l e   a s s u m e s   t h a t   n o d e   n a m e s   m a t c h   h o s t   n a m e s ,   a n d   a r e   r e a c h a b l e   v i a   S S H .   N O D E S = ( $ (   k u b e c t l   g e t   n o d e   - o   j s o n p a t h = ' { . i t e m s [ * ] . s t a t u s . a d d r e s s e s [ ? ( . t y p e   = =   \" H o s t n a m e \" ) ] . a d d r e s s } '   ) )   f o r   N O D E   i n   $ { N O D E S [ * ] } ;   d o   s s h   $ N O D E   ' s u d o   a p p a r m o r _ p a r s e r   - q   < < E O F   # i n c l u d e   < t u n a b l e s / g l o b a l >   p r o f i l e   k 8 s - a p p a r m o r - e x a m p l e - d e n y - w r i t e   f l a g s = ( a t t a c h _ d i s c o n n e c t e d )   {   # i n c l u d e   < a b s t r a c t i o n s / b a s e >   f i l e ,   #   D e n y   a l l   f i l e   w r i t e s .   d e n y   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16921"
  },
  {
    "question": "What is Setting up Nodes with profiles?",
    "answer": "K u b e r n e t e s   1 . 3 4   d o e s   n o t   p r o v i d e   a n y   b u i l t - i n   m e c h a n i s m s   f o r   l o a d i n g   A p p A r m o r   p r o f i l e s   o n t o   N o d e s .   P r o f i l e s   c a n   b e   l o a d e d   t h r o u g h   c u s t o m   i n f r a s t r u c t u r e   o r   t o o l s   l i k e   t h e   K u b e r n e t e s   S e c u r i t y   P r o f i l e s   O p e r a t o r .   T h e   s c h e d u l e r   i s   n o t   a w a r e   o f   w h i c h   p r o f i l e s   a r e   l o a d e d   o n t o   w h i c h   N o d e ,   s o   t h e   f u l l   s e t   o f   p r o f i l e s   m u s t   b e   l o a d e d   o n t o   e v e r y   N o d e .   A n   a l t e r n a t i v e   a p p r o a c h   i s   t o   a d d   a   N o d e   l a b e l   f o r   e a c h   p r o f i l e   ( o r   c l a s s   o f   p r o f i l e s )   o n   t h e   N o d e ,   a n d   u s e   a   n o d e   s e l e c t o r   t o   e n s u r e   t h e   P o d   i s   r u n   o n   a   N o d e   w i t h   t h e   r e q u i r e d   p r o f i l e .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16922"
  },
  {
    "question": "What is Authoring Profiles?",
    "answer": "G e t t i n g   A p p A r m o r   p r o f i l e s   s p e c i f i e d   c o r r e c t l y   c a n   b e   a   t r i c k y   b u s i n e s s .   F o r t u n a t e l y   t h e r e   a r e   s o m e   t o o l s   t o   h e l p   w i t h   t h a t :   a a - g e n p r o f   a n d   a a - l o g p r o f   g e n e r a t e   p r o f i l e   r u l e s   b y   m o n i t o r i n g   a n   a p p l i c a t i o n ' s   a c t i v i t y   a n d   l o g s ,   a n d   a d m i t t i n g   t h e   a c t i o n s   i t   t a k e s .   F u r t h e r   i n s t r u c t i o n s   a r e   p r o v i d e d   b y   t h e   A p p A r m o r   d o c u m e n t a t i o n . b a n e   i s   a n   A p p A r m o r   p r o f i l e   g e n e r a t o r   f o r   D o c k e r   t h a t   u s e s   a   s i m p l i f i e d   p r o f i l e   l a n g u a g e .   T o   d e b u g   p r o b l e m s   w i t h   A p p A r m o r ,   y o u   c a n   c h e c k   t h e   s y s t e m   l o g s   t o   s e e   w h a t ,   s p e c i f i c a l l y ,   w a s   d e n i e d .   A p p A r m o r   l o g s   v e r b o s e   m e s s a g e s   t o   d m e s g ,   a n d   e r r o r s   c a n   u s u a l l y   b e   f o u n d   i n   t h e   s y s t e m   l o g s   o r   t h r o u g h   j o u r n a l c t l .   M o r e   i n f o r m a t i o n   i s   p r o v i d e d   i n   A p p A r m o r   f a i l u r e s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16923"
  },
  {
    "question": "What is AppArmor profile within security context?",
    "answer": "Y o u   c a n   s p e c i f y   t h e   a p p A r m o r P r o f i l e   o n   e i t h e r   a   c o n t a i n e r ' s   s e c u r i t y C o n t e x t   o r   o n   a   P o d ' s   s e c u r i t y C o n t e x t .   I f   t h e   p r o f i l e   i s   s e t   a t   t h e   p o d   l e v e l ,   i t   w i l l   b e   u s e d   a s   t h e   d e f a u l t   p r o f i l e   f o r   a l l   c o n t a i n e r s   i n   t h e   p o d   ( i n c l u d i n g   i n i t ,   s i d e c a r ,   a n d   e p h e m e r a l   c o n t a i n e r s ) .   I f   b o t h   a   p o d   &   c o n t a i n e r   A p p A r m o r   p r o f i l e   a r e   s e t ,   t h e   c o n t a i n e r ' s   p r o f i l e   w i l l   b e   u s e d .   A n   A p p A r m o r   p r o f i l e   h a s   2   f i e l d s :   t y p e   ( r e q u i r e d )   -   i n d i c a t e s   w h i c h   k i n d   o f   A p p A r m o r   p r o f i l e   w i l l   b e   a p p l i e d .   V a l i d   o p t i o n s   a r e :   l o c a l h o s t P r o f i l e   -   T h e   n a m e   o f   a   p r o f i l e   l o a d e d   o n   t h e   n o d e   t h a t   s h o u l d   b e   u s e d .   T h e   p r o f i l e   m u s t   b e   p r e c o n f i g u r e d   o n   t h e   n o d e   t o   w o r k .   T h i s   o p t i o n   m u s t   b e   p r o v i d e d   i f   a n d   o n l y   i f   t h e   t y p e   i s   L o c a l h o s t .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16924"
  },
  {
    "question": "What is What's next?",
    "answer": "A d d i t i o n a l   r e s o u r c e s :   Q u i c k   g u i d e   t o   t h e   A p p A r m o r   p r o f i l e   l a n g u a g e A p p A r m o r   c o r e   p o l i c y   r e f e r e n c e",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16925"
  },
  {
    "question": "What is 4.4 - Restrict a Container's Syscalls with seccomp?",
    "answer": "S e c c o m p   s t a n d s   f o r   s e c u r e   c o m p u t i n g   m o d e   a n d   h a s   b e e n   a   f e a t u r e   o f   t h e   L i n u x   k e r n e l   s i n c e   v e r s i o n   2 . 6 . 1 2 .   I t   c a n   b e   u s e d   t o   s a n d b o x   t h e   p r i v i l e g e s   o f   a   p r o c e s s ,   r e s t r i c t i n g   t h e   c a l l s   i t   i s   a b l e   t o   m a k e   f r o m   u s e r s p a c e   i n t o   t h e   k e r n e l .   K u b e r n e t e s   l e t s   y o u   a u t o m a t i c a l l y   a p p l y   s e c c o m p   p r o f i l e s   l o a d e d   o n t o   a   n o d e   t o   y o u r   P o d s   a n d   c o n t a i n e r s .   I d e n t i f y i n g   t h e   p r i v i l e g e s   r e q u i r e d   f o r   y o u r   w o r k l o a d s   c a n   b e   d i f f i c u l t .   I n   t h i s   t u t o r i a l ,   y o u   w i l l   g o   t h r o u g h   h o w   t o   l o a d   s e c c o m p   p r o f i l e s   i n t o   a   l o c a l   K u b e r n e t e s   c l u s t e r ,   h o w   t o   a p p l y   t h e m   t o   a   P o d ,   a n d   h o w   y o u   c a n   b e g i n   t o   c r a f t   p r o f i l e s   t h a t   g i v e   o n l y   t h e   n e c e s s a r y   p r i v i l e g e s   t o   y o u r   c o n t a i n e r   p r o c e s s e s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_1_16926"
  },
  {
    "question": "What is Objectives?",
    "answer": "L e a r n   h o w   t o   l o a d   s e c c o m p   p r o f i l e s   o n   a   n o d e L e a r n   h o w   t o   a p p l y   a   s e c c o m p   p r o f i l e   t o   a   c o n t a i n e r O b s e r v e   a u d i t i n g   o f   s y s c a l l s   m a d e   b y   a   c o n t a i n e r   p r o c e s s O b s e r v e   b e h a v i o r   w h e n   a   m i s s i n g   p r o f i l e   i s   s p e c i f i e d O b s e r v e   a   v i o l a t i o n   o f   a   s e c c o m p   p r o f i l e L e a r n   h o w   t o   c r e a t e   f i n e - g r a i n e d   s e c c o m p   p r o f i l e s L e a r n   h o w   t o   a p p l y   a   c o n t a i n e r   r u n t i m e   d e f a u l t   s e c c o m p   p r o f i l e",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16927"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n   o r d e r   t o   c o m p l e t e   a l l   s t e p s   i n   t h i s   t u t o r i a l ,   y o u   m u s t   i n s t a l l   k i n d   a n d   k u b e c t l .   T h e   c o m m a n d s   u s e d   i n   t h e   t u t o r i a l   a s s u m e   t h a t   y o u   a r e   u s i n g   D o c k e r   a s   y o u r   c o n t a i n e r   r u n t i m e .   ( T h e   c l u s t e r   t h a t   k i n d   c r e a t e s   m a y   u s e   a   d i f f e r e n t   c o n t a i n e r   r u n t i m e   i n t e r n a l l y ) .   Y o u   c o u l d   a l s o   u s e   P o d m a n   b u t   i n   t h a t   c a s e ,   y o u   w o u l d   h a v e   t o   f o l l o w   s p e c i f i c   i n s t r u c t i o n s   i n   o r d e r   t o   c o m p l e t e   t h e   t a s k s   s u c c e s s f u l l y .   T h i s   t u t o r i a l   s h o w s   s o m e   e x a m p l e s   t h a t   a r e   s t i l l   b e t a   ( s i n c e   v 1 . 2 5 )   a n d   o t h e r s   t h a t   u s e   o n l y   g e n e r a l l y   a v a i l a b l e   s e c c o m p   f u n c t i o n a l i t y .   Y o u   s h o u l d   m a k e   s u r e   t h a t   y o u r   c l u s t e r   i s   c o n f i g u r e d   c o r r e c t l y   f o r   t h e   v e r s i o n   y o u   a r e   u s i n g .   T h e   t u t o r i a l   a l s o   u s e s   t h e   c u r l   t o o l   f o r   d o w n l o a d i n g   e x a m p l e s   t o   y o u r   c o m p u t e r .   Y o u   c a n   a d a p t   t h e   s t e p s   t o   u s e   a   d i f f e r e n t   t o o l   i f   y o u   p r e f e r .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16928"
  },
  {
    "question": "What is Download example seccomp profiles?",
    "answer": "T h e   c o n t e n t s   o f   t h e s e   p r o f i l e s   w i l l   b e   e x p l o r e d   l a t e r   o n ,   b u t   f o r   n o w   g o   a h e a d   a n d   d o w n l o a d   t h e m   i n t o   a   d i r e c t o r y   n a m e d   p r o f i l e s /   s o   t h a t   t h e y   c a n   b e   l o a d e d   i n t o   t h e   c l u s t e r .   p o d s / s e c u r i t y / s e c c o m p / p r o f i l e s / a u d i t . j s o n   {   \" d e f a u l t A c t i o n \" :   \" S C M P _ A C T _ L O G \"   }   {   \" d e f a u l t A c t i o n \" :   \" S C M P _ A C T _ L O G \"   }   p o d s / s e c u r i t y / s e c c o m p / p r o f i l e s / v i o l a t i o n . j s o n   {   \" d e f a u l t A c t i o n \" :   \" S C M P _ A C T _ E R R N O \"   }   {   \" d e f a u l t A c t i o n \" :   \" S C M P _ A C T _ E R R N O \"   }   p o d s / s e c u r i t y / s e c c o m p / p r o f i l e s / f i n e - g r a i n e d . j s o n   {   \" d e f a u l t A c t i o n \" :   \" S C M P _ A C T _ E R R N O \" ,   \" a r c h i t e c t u r e s \" :   [   \" S C M P _ A R C H _ X 8 6 _ 6 4 \" ,   \" S C M P _ A R C H _ X 8 6 \" ,   \" S C M P _ A R C H _ X 3 2 \"   ] ,   \" s y s c a l l s \" :   [   {   \" n a m e s \" :   [   \" a c c e p t 4 \" ,   \" e p o l l _ w a i t \" ,   \" p s e l e c t 6 \" ,   \" f u t e x \" ,   \" m a d v i s e \" ,   \" e p o l l _ c t l \" ,   \" g e t s o c k n a m e \" ,   \" s e t s o c k o p t \" ,   \" v f o r k \" ,   \" m m a p \" ,   \" r e a d \" ,   \" w r i t e \" ,   \" c l o s e \" ,   \" a r c h _ p r c t l \" ,   \" s c h e d _ g e t a f f i n i t y \" ,   \" m u n m a p \" ,   \" b r k \" ,   \" r t _ s i g a c t i o n \" ,   \" r t _ s i g p r o c m a s k \" ,   \" s i g a l t s t a c k \" ,   \" g e t t i d \" ,   \" c l o n e \" ,   \" b i n d \" ,   \" s o c k e t \" ,   \" o p e n a t \" ,   \" r e a d l i n k a t \" ,   \" e x i t _ g r o u p \" ,   \" e p o l l _ c r e a t e 1 \" ,   \" l i s t e n \" ,   \" r t _ s i g r e t u r n \" ,   \" s c h e d _ y i e l d \" ,   \" c l o c k _ g e t t i m e \" ,   \" c o n n e c t ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16929"
  },
  {
    "question": "What is Create a local Kubernetes cluster with kind?",
    "answer": "F o r   s i m p l i c i t y ,   k i n d   c a n   b e   u s e d   t o   c r e a t e   a   s i n g l e   n o d e   c l u s t e r   w i t h   t h e   s e c c o m p   p r o f i l e s   l o a d e d .   K i n d   r u n s   K u b e r n e t e s   i n   D o c k e r ,   s o   e a c h   n o d e   o f   t h e   c l u s t e r   i s   a   c o n t a i n e r .   T h i s   a l l o w s   f o r   f i l e s   t o   b e   m o u n t e d   i n   t h e   f i l e s y s t e m   o f   e a c h   c o n t a i n e r   s i m i l a r   t o   l o a d i n g   f i l e s   o n t o   a   n o d e .   a p i V e r s i o n :   k i n d . x - k 8 s . i o / v 1 a l p h a 4   k i n d :   C l u s t e r   n o d e s :   -   r o l e :   c o n t r o l - p l a n e   e x t r a M o u n t s :   -   h o s t P a t h :   \" . / p r o f i l e s \"   c o n t a i n e r P a t h :   \" / v a r / l i b / k u b e l e t / s e c c o m p / p r o f i l e s \"   D o w n l o a d   t h a t   e x a m p l e   k i n d   c o n f i g u r a t i o n ,   a n d   s a v e   i t   t o   a   f i l e   n a m e d   k i n d . y a m l :   c u r l   - L   - O   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s e c u r i t y / s e c c o m p / k i n d . y a m l   Y o u   c a n   s e t   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   b y   s e t t i n g   t h e   n o d e ' s   c o n t a i n e r   i m a g e .   S e e   N o d e s   w i t h i n   t h e   k i n d   d o c u m e n t a t i o n   a b o u t   c o n f i g u r a t i o n   f o r   m o r e   d e t a i l s   o n   t h i s .   T h i s   t u t o r i a l   a s s u m e s   y o u   a r e   u s i n g   K u b e r n e t e s   v 1 . 3 4 .   A s   a   b e t a   f e a t u r e ,   y o u   c a n   c o n f i g u r e   K u b e r n e t e s   t o   u s e   t h e   p r o f i l e   t h a t   t h e   c o n t a i n e r   r u n t i m e   p r e f e r s   b y   d e f a u l t ,   r a t h e r   t h a n   f a l l i n g   b a c k   t o   U n c o n f i n e d .   I f   y o u   w a n t   t o   t r y   t h a t ,   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16930"
  },
  {
    "question": "What is Create a Pod that uses the container runtime default seccomp profile?",
    "answer": "M o s t   c o n t a i n e r   r u n t i m e s   p r o v i d e   a   s a n e   s e t   o f   d e f a u l t   s y s c a l l s   t h a t   a r e   a l l o w e d   o r   n o t .   Y o u   c a n   a d o p t   t h e s e   d e f a u l t s   f o r   y o u r   w o r k l o a d   b y   s e t t i n g   t h e   s e c c o m p   t y p e   i n   t h e   s e c u r i t y   c o n t e x t   o f   a   p o d   o r   c o n t a i n e r   t o   R u n t i m e D e f a u l t .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16931"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   r e q u e s t s   t h e   R u n t i m e D e f a u l t   s e c c o m p   p r o f i l e   f o r   a l l   i t s   c o n t a i n e r s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d e f a u l t - p o d   l a b e l s :   a p p :   d e f a u l t - p o d   s p e c :   s e c u r i t y C o n t e x t :   s e c c o m p P r o f i l e :   t y p e :   R u n t i m e D e f a u l t   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   h a s h i c o r p / h t t p - e c h o : 1 . 0   a r g s :   -   \" - t e x t = j u s t   m a d e   s o m e   m o r e   s y s c a l l s ! \"   s e c u r i t y C o n t e x t :   a l l o w P r i v i l e g e E s c a l a t i o n :   f a l s e   C r e a t e   t h a t   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s e c u r i t y / s e c c o m p / g a / d e f a u l t - p o d . y a m l   k u b e c t l   g e t   p o d   d e f a u l t - p o d   T h e   P o d   s h o u l d   b e   s h o w i n g   a s   h a v i n g   s t a r t e d   s u c c e s s f u l l y :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   d e f a u l t - p o d   1 / 1   R u n n i n g   0   2 0 s   D e l e t e   t h e   P o d   b e f o r e   m o v i n g   t o   t h e   n e x t   s e c t i o n :   k u b e c t l   d e l e t e   p o d   d e f a u l t - p o d   - - w a i t   - - n o w",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16932"
  },
  {
    "question": "What is Create a Pod with a seccomp profile for syscall auditing?",
    "answer": "T o   s t a r t   o f f ,   a p p l y   t h e   a u d i t . j s o n   p r o f i l e ,   w h i c h   w i l l   l o g   a l l   s y s c a l l s   o f   t h e   p r o c e s s ,   t o   a   n e w   P o d .   H e r e ' s   a   m a n i f e s t   f o r   t h a t   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   a u d i t - p o d   l a b e l s :   a p p :   a u d i t - p o d   s p e c :   s e c u r i t y C o n t e x t :   s e c c o m p P r o f i l e :   t y p e :   L o c a l h o s t   l o c a l h o s t P r o f i l e :   p r o f i l e s / a u d i t . j s o n   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   h a s h i c o r p / h t t p - e c h o : 1 . 0   a r g s :   -   \" - t e x t = j u s t   m a d e   s o m e   s y s c a l l s ! \"   s e c u r i t y C o n t e x t :   a l l o w P r i v i l e g e E s c a l a t i o n :   f a l s e",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16933"
  },
  {
    "question": "What is Note:?",
    "answer": "C r e a t e   t h e   P o d   i n   t h e   c l u s t e r :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s e c u r i t y / s e c c o m p / g a / a u d i t - p o d . y a m l   T h i s   p r o f i l e   d o e s   n o t   r e s t r i c t   a n y   s y s c a l l s ,   s o   t h e   P o d   s h o u l d   s t a r t   s u c c e s s f u l l y .   k u b e c t l   g e t   p o d   a u d i t - p o d   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   a u d i t - p o d   1 / 1   R u n n i n g   0   3 0 s   I n   o r d e r   t o   b e   a b l e   t o   i n t e r a c t   w i t h   t h i s   e n d p o i n t   e x p o s e d   b y   t h i s   c o n t a i n e r ,   c r e a t e   a   N o d e P o r t   S e r v i c e   t h a t   a l l o w s   a c c e s s   t o   t h e   e n d p o i n t   f r o m   i n s i d e   t h e   k i n d   c o n t r o l   p l a n e   c o n t a i n e r .   k u b e c t l   e x p o s e   p o d   a u d i t - p o d   - - t y p e   N o d e P o r t   - - p o r t   5 6 7 8   C h e c k   w h a t   p o r t   t h e   S e r v i c e   h a s   b e e n   a s s i g n e d   o n   t h e   n o d e .   k u b e c t l   g e t   s e r v i c e   a u d i t - p o d   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   a u d i t - p o d   N o d e P o r t   1 0 . 1 1 1 . 3 6 . 1 4 2   < n o n e >   5 6 7 8 : 3 2 3 7 3 / T C P   7 2 s   N o w   y o u   c a n   u s e   c u r l   t o   a c c e s s   t h a t   e n d p o i n t   f r o m   i n s i d e   t h e   k i n d   c o n t r o l   p l a n e   c o n t a i n e r ,   a t   t h e   p o r t   e x p o s e d   b y   t h i s   S e r v i c e .   U s e   d o c k e r   e x e c   t o   r u n   t h e   c u r l   c o m m a n d   w i t h i n   t h e   c o n t a i n e r   b e l o n g i n g   t o   t h a t   c o n t r o l   p l a n e   c o n t a i n e r :   #   C h a n g e   6 a 9 6 2 0 7 f e d 4 b   t o   t h ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16934"
  },
  {
    "question": "What is Create a Pod with a seccomp profile that causes violation?",
    "answer": "F o r   d e m o n s t r a t i o n ,   a p p l y   a   p r o f i l e   t o   t h e   P o d   t h a t   d o e s   n o t   a l l o w   f o r   a n y   s y s c a l l s .   T h e   m a n i f e s t   f o r   t h i s   d e m o n s t r a t i o n   i s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   v i o l a t i o n - p o d   l a b e l s :   a p p :   v i o l a t i o n - p o d   s p e c :   s e c u r i t y C o n t e x t :   s e c c o m p P r o f i l e :   t y p e :   L o c a l h o s t   l o c a l h o s t P r o f i l e :   p r o f i l e s / v i o l a t i o n . j s o n   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   h a s h i c o r p / h t t p - e c h o : 1 . 0   a r g s :   -   \" - t e x t = j u s t   m a d e   s o m e   s y s c a l l s ! \"   s e c u r i t y C o n t e x t :   a l l o w P r i v i l e g e E s c a l a t i o n :   f a l s e   A t t e m p t   t o   c r e a t e   t h e   P o d   i n   t h e   c l u s t e r :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s e c u r i t y / s e c c o m p / g a / v i o l a t i o n - p o d . y a m l   T h e   P o d   c r e a t e s ,   b u t   t h e r e   i s   a n   i s s u e .   I f   y o u   c h e c k   t h e   s t a t u s   o f   t h e   P o d ,   y o u   s h o u l d   s e e   t h a t   i t   f a i l e d   t o   s t a r t .   k u b e c t l   g e t   p o d   v i o l a t i o n - p o d   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   v i o l a t i o n - p o d   0 / 1   C r a s h L o o p B a c k O f f   1   6 s   A s   s e e n   i n   t h e   p r e v i o u s   e x a m p l e ,   t h e   h t t p - e c h o   p r o c e s s   r e q u i r e s   q u i t e   a   f e w   s y s c a l l s .   H e r e   s e c c o m p   h a s   b e e n   i n s t r u c t e d   t o   e r r o r   o n   a n y   s y s c a l l   b y   s e t t i n g   \" d e f a u l t A c t i o n \" :   \" S C M P _ A C T _ E R R N O \" .   T h i s   i s   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16935"
  },
  {
    "question": "What is Create a Pod with a seccomp profile that only allows necessary syscalls?",
    "answer": "I f   y o u   t a k e   a   l o o k   a t   t h e   f i n e - g r a i n e d . j s o n   p r o f i l e ,   y o u   w i l l   n o t i c e   s o m e   o f   t h e   s y s c a l l s   s e e n   i n   s y s l o g   o f   t h e   f i r s t   e x a m p l e   w h e r e   t h e   p r o f i l e   s e t   \" d e f a u l t A c t i o n \" :   \" S C M P _ A C T _ L O G \" .   N o w   t h e   p r o f i l e   i s   s e t t i n g   \" d e f a u l t A c t i o n \" :   \" S C M P _ A C T _ E R R N O \" ,   b u t   e x p l i c i t l y   a l l o w i n g   a   s e t   o f   s y s c a l l s   i n   t h e   \" a c t i o n \" :   \" S C M P _ A C T _ A L L O W \"   b l o c k .   I d e a l l y ,   t h e   c o n t a i n e r   w i l l   r u n   s u c c e s s f u l l y   a n d   y o u   w i l l   s e e   n o   m e s s a g e s   s e n t   t o   s y s l o g .   T h e   m a n i f e s t   f o r   t h i s   e x a m p l e   i s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   f i n e - p o d   l a b e l s :   a p p :   f i n e - p o d   s p e c :   s e c u r i t y C o n t e x t :   s e c c o m p P r o f i l e :   t y p e :   L o c a l h o s t   l o c a l h o s t P r o f i l e :   p r o f i l e s / f i n e - g r a i n e d . j s o n   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   h a s h i c o r p / h t t p - e c h o : 1 . 0   a r g s :   -   \" - t e x t = j u s t   m a d e   s o m e   s y s c a l l s ! \"   s e c u r i t y C o n t e x t :   a l l o w P r i v i l e g e E s c a l a t i o n :   f a l s e   C r e a t e   t h e   P o d   i n   y o u r   c l u s t e r :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s e c u r i t y / s e c c o m p / g a / f i n e - p o d . y a m l   k u b e c t l   g e t   p o d   f i n e - p o d   T h e   P o d   s h o u l d   b e   s h o w i n g   a s   h a v i n g   s t a r t e d   s u c c e s s f u l l y :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16936"
  },
  {
    "question": "What is Enable the use of RuntimeDefault as the default seccomp profile for all workloads?",
    "answer": "T o   u s e   s e c c o m p   p r o f i l e   d e f a u l t i n g ,   y o u   m u s t   r u n   t h e   k u b e l e t   w i t h   t h e   - - s e c c o m p - d e f a u l t   c o m m a n d   l i n e   f l a g   e n a b l e d   f o r   e a c h   n o d e   w h e r e   y o u   w a n t   t o   u s e   i t .   I f   e n a b l e d ,   t h e   k u b e l e t   w i l l   u s e   t h e   R u n t i m e D e f a u l t   s e c c o m p   p r o f i l e   b y   d e f a u l t ,   w h i c h   i s   d e f i n e d   b y   t h e   c o n t a i n e r   r u n t i m e ,   i n s t e a d   o f   u s i n g   t h e   U n c o n f i n e d   ( s e c c o m p   d i s a b l e d )   m o d e .   T h e   d e f a u l t   p r o f i l e s   a i m   t o   p r o v i d e   a   s t r o n g   s e t   o f   s e c u r i t y   d e f a u l t s   w h i l e   p r e s e r v i n g   t h e   f u n c t i o n a l i t y   o f   t h e   w o r k l o a d .   I t   i s   p o s s i b l e   t h a t   t h e   d e f a u l t   p r o f i l e s   d i f f e r   b e t w e e n   c o n t a i n e r   r u n t i m e s   a n d   t h e i r   r e l e a s e   v e r s i o n s ,   f o r   e x a m p l e   w h e n   c o m p a r i n g   t h o s e   f r o m   C R I - O   a n d   c o n t a i n e r d .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16937"
  },
  {
    "question": "What is Note:?",
    "answer": "S o m e   w o r k l o a d s   m a y   r e q u i r e   a   l o w e r   a m o u n t   o f   s y s c a l l   r e s t r i c t i o n s   t h a n   o t h e r s .   T h i s   m e a n s   t h a t   t h e y   c a n   f a i l   d u r i n g   r u n t i m e   e v e n   w i t h   t h e   R u n t i m e D e f a u l t   p r o f i l e .   T o   m i t i g a t e   s u c h   a   f a i l u r e ,   y o u   c a n :   R u n   t h e   w o r k l o a d   e x p l i c i t l y   a s   U n c o n f i n e d . D i s a b l e   t h e   S e c c o m p D e f a u l t   f e a t u r e   f o r   t h e   n o d e s .   A l s o   m a k i n g   s u r e   t h a t   w o r k l o a d s   g e t   s c h e d u l e d   o n   n o d e s   w h e r e   t h e   f e a t u r e   i s   d i s a b l e d . C r e a t e   a   c u s t o m   s e c c o m p   p r o f i l e   f o r   t h e   w o r k l o a d .   I f   y o u   w e r e   i n t r o d u c i n g   t h i s   f e a t u r e   i n t o   p r o d u c t i o n - l i k e   c l u s t e r ,   t h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   t h a t   y o u   e n a b l e   t h i s   f e a t u r e   g a t e   o n   a   s u b s e t   o f   y o u r   n o d e s   a n d   t h e n   t e s t   w o r k l o a d   e x e c u t i o n   b e f o r e   r o l l i n g   t h e   c h a n g e   o u t   c l u s t e r - w i d e .   Y o u   c a n   f i n d   m o r e   d e t a i l e d   i n f o r m a t i o n   a b o u t   a   p o s s i b l e   u p g r a d e   a n d   d o w n g r a d e   s t r a t e g y   i n   t h e   r e l a t e d   K u b e r n e t e s   E n h a n c e m e n t   P r o p o s a l   ( K E P ) :   E n a b l e   s e c c o m p   b y   d e f a u l t .   K u b e r n e t e s   1 . 3 4   l e t s   y o u   c o n f i g u r e   t h e   s e c c o m p   p r o f i l e   t h a t   a p p l i e s   w h e n   t h e   s p e c   f o r   a   P o d   d o e s n ' t   d e f i n e   a   s p e c i f i c   s e c c o m p   p r o f i l e .   H o w e v e r ,   y o u   s t i l l   n e e d   t o   e n a b l e ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16938"
  },
  {
    "question": "What is What's next?",
    "answer": "Y o u   c a n   l e a r n   m o r e   a b o u t   L i n u x   s e c c o m p :   A   s e c c o m p   O v e r v i e w S e c c o m p   S e c u r i t y   P r o f i l e s   f o r   D o c k e r",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16939"
  },
  {
    "question": "What is 5.1 - Exposing an External IP Address to Access an Application in a Cluster?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c r e a t e   a   K u b e r n e t e s   S e r v i c e   o b j e c t   t h a t   e x p o s e s   a n   e x t e r n a l   I P   a d d r e s s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_1_16940"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n s t a l l   k u b e c t l . U s e   a   c l o u d   p r o v i d e r   l i k e   G o o g l e   K u b e r n e t e s   E n g i n e   o r   A m a z o n   W e b   S e r v i c e s   t o   c r e a t e   a   K u b e r n e t e s   c l u s t e r .   T h i s   t u t o r i a l   c r e a t e s   a n   e x t e r n a l   l o a d   b a l a n c e r ,   w h i c h   r e q u i r e s   a   c l o u d   p r o v i d e r . C o n f i g u r e   k u b e c t l   t o   c o m m u n i c a t e   w i t h   y o u r   K u b e r n e t e s   A P I   s e r v e r .   F o r   i n s t r u c t i o n s ,   s e e   t h e   d o c u m e n t a t i o n   f o r   y o u r   c l o u d   p r o v i d e r .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16941"
  },
  {
    "question": "What is Objectives?",
    "answer": "R u n   f i v e   i n s t a n c e s   o f   a   H e l l o   W o r l d   a p p l i c a t i o n . C r e a t e   a   S e r v i c e   o b j e c t   t h a t   e x p o s e s   a n   e x t e r n a l   I P   a d d r e s s . U s e   t h e   S e r v i c e   o b j e c t   t o   a c c e s s   t h e   r u n n i n g   a p p l i c a t i o n .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16942"
  },
  {
    "question": "What is Creating a service for an application running in five pods?",
    "answer": "R u n   a   H e l l o   W o r l d   a p p l i c a t i o n   i n   y o u r   c l u s t e r : s e r v i c e / l o a d - b a l a n c e r - e x a m p l e . y a m l   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   l o a d - b a l a n c e r - e x a m p l e   n a m e :   h e l l o - w o r l d   s p e c :   r e p l i c a s :   5   s e l e c t o r :   m a t c h L a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   l o a d - b a l a n c e r - e x a m p l e   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   l o a d - b a l a n c e r - e x a m p l e   s p e c :   c o n t a i n e r s :   -   i m a g e :   g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 2 . 0   n a m e :   h e l l o - w o r l d   p o r t s :   -   c o n t a i n e r P o r t :   8 0 8 0   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / s e r v i c e / l o a d - b a l a n c e r - e x a m p l e . y a m l   T h e   p r e c e d i n g   c o m m a n d   c r e a t e s   a   D e p l o y m e n t   a n d   a n   a s s o c i a t e d   R e p l i c a S e t .   T h e   R e p l i c a S e t   h a s   f i v e   P o d s   e a c h   o f   w h i c h   r u n s   t h e   H e l l o   W o r l d   a p p l i c a t i o n . D i s p l a y   i n f o r m a t i o n   a b o u t   t h e   D e p l o y m e n t : k u b e c t l   g e t   d e p l o y m e n t s   h e l l o - w o r l d   k u b e c t l   d e s c r i b e   d e p l o y m e n t s   h e l l o - w o r l d   D i s p l a y   i n f o r m a t i o n   a b o u t   y o u r   R e p l i c a S e t   o b j e c t s : k u b e c t l   g e t   r e p l i c a s e t s   k u b e c t l   d e s c r i b e   r e p l i c a s e t s   C r e a t e   a   S e r v i c e   o b j e c t   t h a t   e x p o s e s   t h e   d e p l o y m e n t : k u b e c t l   e x p o s e   d e p l o y m e n t   h e l l o ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16943"
  },
  {
    "question": "What is Note:?",
    "answer": "D i s p l a y   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   S e r v i c e :   k u b e c t l   d e s c r i b e   s e r v i c e s   m y - s e r v i c e   T h e   o u t p u t   i s   s i m i l a r   t o :   N a m e :   m y - s e r v i c e   N a m e s p a c e :   d e f a u l t   L a b e l s :   a p p . k u b e r n e t e s . i o / n a m e = l o a d - b a l a n c e r - e x a m p l e   A n n o t a t i o n s :   < n o n e >   S e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e = l o a d - b a l a n c e r - e x a m p l e   T y p e :   L o a d B a l a n c e r   I P :   1 0 . 3 . 2 4 5 . 1 3 7   L o a d B a l a n c e r   I n g r e s s :   1 0 4 . 1 9 8 . 2 0 5 . 7 1   P o r t :   < u n s e t >   8 0 8 0 / T C P   N o d e P o r t :   < u n s e t >   3 2 3 7 7 / T C P   E n d p o i n t s :   1 0 . 0 . 0 . 6 : 8 0 8 0 , 1 0 . 0 . 1 . 6 : 8 0 8 0 , 1 0 . 0 . 1 . 7 : 8 0 8 0   +   2   m o r e . . .   S e s s i o n   A f f i n i t y :   N o n e   E v e n t s :   < n o n e >   M a k e   a   n o t e   o f   t h e   e x t e r n a l   I P   a d d r e s s   ( L o a d B a l a n c e r   I n g r e s s )   e x p o s e d   b y   y o u r   s e r v i c e .   I n   t h i s   e x a m p l e ,   t h e   e x t e r n a l   I P   a d d r e s s   i s   1 0 4 . 1 9 8 . 2 0 5 . 7 1 .   A l s o   n o t e   t h e   v a l u e   o f   P o r t   a n d   N o d e P o r t .   I n   t h i s   e x a m p l e ,   t h e   P o r t   i s   8 0 8 0   a n d   t h e   N o d e P o r t   i s   3 2 3 7 7 .   I n   t h e   p r e c e d i n g   o u t p u t ,   y o u   c a n   s e e   t h a t   t h e   s e r v i c e   h a s   s e v e r a l   e n d p o i n t s :   1 0 . 0 . 0 . 6 : 8 0 8 0 , 1 0 . 0 . 1 . 6 : 8 0 8 0 , 1 0 . 0 . 1 . 7 : 8 0 8 0   +   2   m o r e .   T h e s e   a r e   i n t e r n a l   a d d r e s s e s   o f   t h e   p o d s   t h a t   a r e   r u n n i n g   t h e   H e l l o   W o r l d   a p p l i c a t i o n .   T o   v e r i f y   t h e s e   a r e   p o d   a d d r e s s e ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16944"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "T o   d e l e t e   t h e   S e r v i c e ,   e n t e r   t h i s   c o m m a n d :   k u b e c t l   d e l e t e   s e r v i c e s   m y - s e r v i c e   T o   d e l e t e   t h e   D e p l o y m e n t ,   t h e   R e p l i c a S e t ,   a n d   t h e   P o d s   t h a t   a r e   r u n n i n g   t h e   H e l l o   W o r l d   a p p l i c a t i o n ,   e n t e r   t h i s   c o m m a n d :   k u b e c t l   d e l e t e   d e p l o y m e n t   h e l l o - w o r l d",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16945"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   c o n n e c t i n g   a p p l i c a t i o n s   w i t h   s e r v i c e s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16946"
  },
  {
    "question": "What is 5.2 - Example: Deploying PHP Guestbook application with Redis?",
    "answer": "T h i s   t u t o r i a l   s h o w s   y o u   h o w   t o   b u i l d   a n d   d e p l o y   a   s i m p l e   ( n o t   p r o d u c t i o n   r e a d y ) ,   m u l t i - t i e r   w e b   a p p l i c a t i o n   u s i n g   K u b e r n e t e s   a n d   D o c k e r .   T h i s   e x a m p l e   c o n s i s t s   o f   t h e   f o l l o w i n g   c o m p o n e n t s :   A   s i n g l e - i n s t a n c e   R e d i s   t o   s t o r e   g u e s t b o o k   e n t r i e s M u l t i p l e   w e b   f r o n t e n d   i n s t a n c e s",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_1_16947"
  },
  {
    "question": "What is Objectives?",
    "answer": "S t a r t   u p   a   R e d i s   l e a d e r . S t a r t   u p   t w o   R e d i s   f o l l o w e r s . S t a r t   u p   t h e   g u e s t b o o k   f r o n t e n d . E x p o s e   a n d   v i e w   t h e   F r o n t e n d   S e r v i c e . C l e a n   u p .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16948"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16949"
  },
  {
    "question": "What is Start up the Redis Database?",
    "answer": "T h e   g u e s t b o o k   a p p l i c a t i o n   u s e s   R e d i s   t o   s t o r e   i t s   d a t a .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16950"
  },
  {
    "question": "What is Creating the Redis Deployment?",
    "answer": "T h e   m a n i f e s t   f i l e ,   i n c l u d e d   b e l o w ,   s p e c i f i e s   a   D e p l o y m e n t   c o n t r o l l e r   t h a t   r u n s   a   s i n g l e   r e p l i c a   R e d i s   P o d .   #   S O U R C E :   h t t p s : / / c l o u d . g o o g l e . c o m / k u b e r n e t e s - e n g i n e / d o c s / t u t o r i a l s / g u e s t b o o k   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   r e d i s - l e a d e r   l a b e l s :   a p p :   r e d i s   r o l e :   l e a d e r   t i e r :   b a c k e n d   s p e c :   r e p l i c a s :   1   s e l e c t o r :   m a t c h L a b e l s :   a p p :   r e d i s   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   r e d i s   r o l e :   l e a d e r   t i e r :   b a c k e n d   s p e c :   c o n t a i n e r s :   -   n a m e :   l e a d e r   i m a g e :   \" d o c k e r . i o / r e d i s : 6 . 0 . 5 \"   r e s o u r c e s :   r e q u e s t s :   c p u :   1 0 0 m   m e m o r y :   1 0 0 M i   p o r t s :   -   c o n t a i n e r P o r t :   6 3 7 9   L a u n c h   a   t e r m i n a l   w i n d o w   i n   t h e   d i r e c t o r y   y o u   d o w n l o a d e d   t h e   m a n i f e s t   f i l e s . A p p l y   t h e   R e d i s   D e p l o y m e n t   f r o m   t h e   r e d i s - l e a d e r - d e p l o y m e n t . y a m l   f i l e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / g u e s t b o o k / r e d i s - l e a d e r - d e p l o y m e n t . y a m l   Q u e r y   t h e   l i s t   o f   P o d s   t o   v e r i f y   t h a t   t h e   R e d i s   P o d   i s   r u n n i n g : k u b e c t l   g e t   p o d s   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   r e d i s - l e a d e r - f b 7 6 b 4 7 5 5 - x j r 2 n   1 / 1   R u n n i n g   0   1 3 s   R u n   t h e   f o l l ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16951"
  },
  {
    "question": "What is Creating the Redis leader Service?",
    "answer": "T h e   g u e s t b o o k   a p p l i c a t i o n   n e e d s   t o   c o m m u n i c a t e   t o   t h e   R e d i s   t o   w r i t e   i t s   d a t a .   Y o u   n e e d   t o   a p p l y   a   S e r v i c e   t o   p r o x y   t h e   t r a f f i c   t o   t h e   R e d i s   P o d .   A   S e r v i c e   d e f i n e s   a   p o l i c y   t o   a c c e s s   t h e   P o d s .   #   S O U R C E :   h t t p s : / / c l o u d . g o o g l e . c o m / k u b e r n e t e s - e n g i n e / d o c s / t u t o r i a l s / g u e s t b o o k   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   r e d i s - l e a d e r   l a b e l s :   a p p :   r e d i s   r o l e :   l e a d e r   t i e r :   b a c k e n d   s p e c :   p o r t s :   -   p o r t :   6 3 7 9   t a r g e t P o r t :   6 3 7 9   s e l e c t o r :   a p p :   r e d i s   r o l e :   l e a d e r   t i e r :   b a c k e n d   A p p l y   t h e   R e d i s   S e r v i c e   f r o m   t h e   f o l l o w i n g   r e d i s - l e a d e r - s e r v i c e . y a m l   f i l e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / g u e s t b o o k / r e d i s - l e a d e r - s e r v i c e . y a m l   Q u e r y   t h e   l i s t   o f   S e r v i c e s   t o   v e r i f y   t h a t   t h e   R e d i s   S e r v i c e   i s   r u n n i n g : k u b e c t l   g e t   s e r v i c e   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o   t h i s : N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   k u b e r n e t e s   C l u s t e r I P   1 0 . 0 . 0 . 1   < n o n e >   4 4 3 / T C P   1 m   r e d i s - l e a d e r   C l u s t e r I P   1 0 . 1 0 3 . 7 8 . 2 4   < n o n e >   6 3 7 9 / T C P   1 6 s   A p p l y   t h e   R e d i s   S e r v i c e   f r o m   t h e   f o l l o w i n g   r e d i s - l e a d e r - s e r v i c e . y a m l   f i l e :   k u b e c t l   a p p l y   - f   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16952"
  },
  {
    "question": "What is Set up Redis followers?",
    "answer": "A l t h o u g h   t h e   R e d i s   l e a d e r   i s   a   s i n g l e   P o d ,   y o u   c a n   m a k e   i t   h i g h l y   a v a i l a b l e   a n d   m e e t   t r a f f i c   d e m a n d s   b y   a d d i n g   a   f e w   R e d i s   f o l l o w e r s ,   o r   r e p l i c a s .   #   S O U R C E :   h t t p s : / / c l o u d . g o o g l e . c o m / k u b e r n e t e s - e n g i n e / d o c s / t u t o r i a l s / g u e s t b o o k   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   r e d i s - f o l l o w e r   l a b e l s :   a p p :   r e d i s   r o l e :   f o l l o w e r   t i e r :   b a c k e n d   s p e c :   r e p l i c a s :   2   s e l e c t o r :   m a t c h L a b e l s :   a p p :   r e d i s   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   r e d i s   r o l e :   f o l l o w e r   t i e r :   b a c k e n d   s p e c :   c o n t a i n e r s :   -   n a m e :   f o l l o w e r   i m a g e :   u s - d o c k e r . p k g . d e v / g o o g l e - s a m p l e s / c o n t a i n e r s / g k e / g b - r e d i s - f o l l o w e r : v 2   r e s o u r c e s :   r e q u e s t s :   c p u :   1 0 0 m   m e m o r y :   1 0 0 M i   p o r t s :   -   c o n t a i n e r P o r t :   6 3 7 9   A p p l y   t h e   R e d i s   D e p l o y m e n t   f r o m   t h e   f o l l o w i n g   r e d i s - f o l l o w e r - d e p l o y m e n t . y a m l   f i l e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / g u e s t b o o k / r e d i s - f o l l o w e r - d e p l o y m e n t . y a m l   V e r i f y   t h a t   t h e   t w o   R e d i s   f o l l o w e r   r e p l i c a s   a r e   r u n n i n g   b y   q u e r y i n g   t h e   l i s t   o f   P o d s : k u b e c t l   g e t   p o d s   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   r e d i s - ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16953"
  },
  {
    "question": "What is Creating the Redis follower service?",
    "answer": "T h e   g u e s t b o o k   a p p l i c a t i o n   n e e d s   t o   c o m m u n i c a t e   w i t h   t h e   R e d i s   f o l l o w e r s   t o   r e a d   d a t a .   T o   m a k e   t h e   R e d i s   f o l l o w e r s   d i s c o v e r a b l e ,   y o u   m u s t   s e t   u p   a n o t h e r   S e r v i c e .   #   S O U R C E :   h t t p s : / / c l o u d . g o o g l e . c o m / k u b e r n e t e s - e n g i n e / d o c s / t u t o r i a l s / g u e s t b o o k   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   r e d i s - f o l l o w e r   l a b e l s :   a p p :   r e d i s   r o l e :   f o l l o w e r   t i e r :   b a c k e n d   s p e c :   p o r t s :   #   t h e   p o r t   t h a t   t h i s   s e r v i c e   s h o u l d   s e r v e   o n   -   p o r t :   6 3 7 9   s e l e c t o r :   a p p :   r e d i s   r o l e :   f o l l o w e r   t i e r :   b a c k e n d   A p p l y   t h e   R e d i s   S e r v i c e   f r o m   t h e   f o l l o w i n g   r e d i s - f o l l o w e r - s e r v i c e . y a m l   f i l e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / g u e s t b o o k / r e d i s - f o l l o w e r - s e r v i c e . y a m l   Q u e r y   t h e   l i s t   o f   S e r v i c e s   t o   v e r i f y   t h a t   t h e   R e d i s   S e r v i c e   i s   r u n n i n g : k u b e c t l   g e t   s e r v i c e   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o   t h i s : N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   k u b e r n e t e s   C l u s t e r I P   1 0 . 9 6 . 0 . 1   < n o n e >   4 4 3 / T C P   3 d 1 9 h   r e d i s - f o l l o w e r   C l u s t e r I P   1 0 . 1 1 0 . 1 6 2 . 4 2   < n o n e >   6 3 7 9 / T C P   9 s   r e d i s - l e a d e r   C l u s t e r I P   1 0 . 1 0 3 . 7 8 . 2 4   < n o n e >   6 3 7 9 / T C P   6 m 1 0 s   A p p l y   t h e   R e d i s   S e r v i c ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16954"
  },
  {
    "question": "What is Set up and Expose the Guestbook Frontend?",
    "answer": "N o w   t h a t   y o u   h a v e   t h e   R e d i s   s t o r a g e   o f   y o u r   g u e s t b o o k   u p   a n d   r u n n i n g ,   s t a r t   t h e   g u e s t b o o k   w e b   s e r v e r s .   L i k e   t h e   R e d i s   f o l l o w e r s ,   t h e   f r o n t e n d   i s   d e p l o y e d   u s i n g   a   K u b e r n e t e s   D e p l o y m e n t .   T h e   g u e s t b o o k   a p p   u s e s   a   P H P   f r o n t e n d .   I t   i s   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   e i t h e r   t h e   R e d i s   f o l l o w e r   o r   l e a d e r   S e r v i c e s ,   d e p e n d i n g   o n   w h e t h e r   t h e   r e q u e s t   i s   a   r e a d   o r   a   w r i t e .   T h e   f r o n t e n d   e x p o s e s   a   J S O N   i n t e r f a c e ,   a n d   s e r v e s   a   j Q u e r y - A j a x - b a s e d   U X .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16955"
  },
  {
    "question": "What is Creating the Guestbook Frontend Deployment?",
    "answer": "#   S O U R C E :   h t t p s : / / c l o u d . g o o g l e . c o m / k u b e r n e t e s - e n g i n e / d o c s / t u t o r i a l s / g u e s t b o o k   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   f r o n t e n d   s p e c :   r e p l i c a s :   3   s e l e c t o r :   m a t c h L a b e l s :   a p p :   g u e s t b o o k   t i e r :   f r o n t e n d   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   g u e s t b o o k   t i e r :   f r o n t e n d   s p e c :   c o n t a i n e r s :   -   n a m e :   p h p - r e d i s   i m a g e :   u s - d o c k e r . p k g . d e v / g o o g l e - s a m p l e s / c o n t a i n e r s / g k e / g b - f r o n t e n d : v 5   e n v :   -   n a m e :   G E T _ H O S T S _ F R O M   v a l u e :   \" d n s \"   r e s o u r c e s :   r e q u e s t s :   c p u :   1 0 0 m   m e m o r y :   1 0 0 M i   p o r t s :   -   c o n t a i n e r P o r t :   8 0   A p p l y   t h e   f r o n t e n d   D e p l o y m e n t   f r o m   t h e   f r o n t e n d - d e p l o y m e n t . y a m l   f i l e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / g u e s t b o o k / f r o n t e n d - d e p l o y m e n t . y a m l   Q u e r y   t h e   l i s t   o f   P o d s   t o   v e r i f y   t h a t   t h e   t h r e e   f r o n t e n d   r e p l i c a s   a r e   r u n n i n g : k u b e c t l   g e t   p o d s   - l   a p p = g u e s t b o o k   - l   t i e r = f r o n t e n d   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   f r o n t e n d - 8 5 5 9 5 f 5 b f 9 - 5 t q h b   1 / 1   R u n n i n g   0   4 7 s   f r o n t e n d - 8 5 5 9 5 f 5 b f 9 - q b z w m   1 / 1   R u n n i n g   0   4 7 s   f r o n t e n d - 8 5 5 9 5 f 5 b f 9 - z c h w c   1 / 1   R u n n i n g   0   4 7 s   A p p l y   t h e   f r o n t e n d   D e p l o ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16956"
  },
  {
    "question": "What is Creating the Frontend Service?",
    "answer": "T h e   R e d i s   S e r v i c e s   y o u   a p p l i e d   i s   o n l y   a c c e s s i b l e   w i t h i n   t h e   K u b e r n e t e s   c l u s t e r   b e c a u s e   t h e   d e f a u l t   t y p e   f o r   a   S e r v i c e   i s   C l u s t e r I P .   C l u s t e r I P   p r o v i d e s   a   s i n g l e   I P   a d d r e s s   f o r   t h e   s e t   o f   P o d s   t h e   S e r v i c e   i s   p o i n t i n g   t o .   T h i s   I P   a d d r e s s   i s   a c c e s s i b l e   o n l y   w i t h i n   t h e   c l u s t e r .   I f   y o u   w a n t   g u e s t s   t o   b e   a b l e   t o   a c c e s s   y o u r   g u e s t b o o k ,   y o u   m u s t   c o n f i g u r e   t h e   f r o n t e n d   S e r v i c e   t o   b e   e x t e r n a l l y   v i s i b l e ,   s o   a   c l i e n t   c a n   r e q u e s t   t h e   S e r v i c e   f r o m   o u t s i d e   t h e   K u b e r n e t e s   c l u s t e r .   H o w e v e r   a   K u b e r n e t e s   u s e r   c a n   u s e   k u b e c t l   p o r t - f o r w a r d   t o   a c c e s s   t h e   s e r v i c e   e v e n   t h o u g h   i t   u s e s   a   C l u s t e r I P .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16957"
  },
  {
    "question": "What is Note:?",
    "answer": "#   S O U R C E :   h t t p s : / / c l o u d . g o o g l e . c o m / k u b e r n e t e s - e n g i n e / d o c s / t u t o r i a l s / g u e s t b o o k   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   f r o n t e n d   l a b e l s :   a p p :   g u e s t b o o k   t i e r :   f r o n t e n d   s p e c :   #   i f   y o u r   c l u s t e r   s u p p o r t s   i t ,   u n c o m m e n t   t h e   f o l l o w i n g   t o   a u t o m a t i c a l l y   c r e a t e   #   a n   e x t e r n a l   l o a d - b a l a n c e d   I P   f o r   t h e   f r o n t e n d   s e r v i c e .   #   t y p e :   L o a d B a l a n c e r   # t y p e :   L o a d B a l a n c e r   p o r t s :   #   t h e   p o r t   t h a t   t h i s   s e r v i c e   s h o u l d   s e r v e   o n   -   p o r t :   8 0   s e l e c t o r :   a p p :   g u e s t b o o k   t i e r :   f r o n t e n d   A p p l y   t h e   f r o n t e n d   S e r v i c e   f r o m   t h e   f r o n t e n d - s e r v i c e . y a m l   f i l e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / g u e s t b o o k / f r o n t e n d - s e r v i c e . y a m l   Q u e r y   t h e   l i s t   o f   S e r v i c e s   t o   v e r i f y   t h a t   t h e   f r o n t e n d   S e r v i c e   i s   r u n n i n g : k u b e c t l   g e t   s e r v i c e s   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o   t h i s : N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   f r o n t e n d   C l u s t e r I P   1 0 . 9 7 . 2 8 . 2 3 0   < n o n e >   8 0 / T C P   1 9 s   k u b e r n e t e s   C l u s t e r I P   1 0 . 9 6 . 0 . 1   < n o n e >   4 4 3 / T C P   3 d 1 9 h   r e d i s - f o l l o w e r   C l u s t e r I P   1 0 . 1 1 0 . 1 6 2 . 4 2   < n o n e >   6 3 7 9 / T C P   5 m 4 8 s   r e d i s - l e a d e r   C l u s t e r I P   1 0 . 1 0 3 . 7 8 . 2 4   < n o n e >   6 3 7 9 / T C P   1 1 ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16958"
  },
  {
    "question": "What is Viewing the Frontend Service via kubectl port-forward?",
    "answer": "R u n   t h e   f o l l o w i n g   c o m m a n d   t o   f o r w a r d   p o r t   8 0 8 0   o n   y o u r   l o c a l   m a c h i n e   t o   p o r t   8 0   o n   t h e   s e r v i c e . k u b e c t l   p o r t - f o r w a r d   s v c / f r o n t e n d   8 0 8 0 : 8 0   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o   t h i s : F o r w a r d i n g   f r o m   1 2 7 . 0 . 0 . 1 : 8 0 8 0   - >   8 0   F o r w a r d i n g   f r o m   [ : : 1 ] : 8 0 8 0   - >   8 0   l o a d   t h e   p a g e   h t t p : / / l o c a l h o s t : 8 0 8 0   i n   y o u r   b r o w s e r   t o   v i e w   y o u r   g u e s t b o o k .   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   f o r w a r d   p o r t   8 0 8 0   o n   y o u r   l o c a l   m a c h i n e   t o   p o r t   8 0   o n   t h e   s e r v i c e .   k u b e c t l   p o r t - f o r w a r d   s v c / f r o n t e n d   8 0 8 0 : 8 0   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o   t h i s :   F o r w a r d i n g   f r o m   1 2 7 . 0 . 0 . 1 : 8 0 8 0   - >   8 0   F o r w a r d i n g   f r o m   [ : : 1 ] : 8 0 8 0   - >   8 0   l o a d   t h e   p a g e   h t t p : / / l o c a l h o s t : 8 0 8 0   i n   y o u r   b r o w s e r   t o   v i e w   y o u r   g u e s t b o o k .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16959"
  },
  {
    "question": "What is Viewing the Frontend Service via LoadBalancer?",
    "answer": "I f   y o u   d e p l o y e d   t h e   f r o n t e n d - s e r v i c e . y a m l   m a n i f e s t   w i t h   t y p e :   L o a d B a l a n c e r   y o u   n e e d   t o   f i n d   t h e   I P   a d d r e s s   t o   v i e w   y o u r   G u e s t b o o k .   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   g e t   t h e   I P   a d d r e s s   f o r   t h e   f r o n t e n d   S e r v i c e . k u b e c t l   g e t   s e r v i c e   f r o n t e n d   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o   t h i s : N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   f r o n t e n d   L o a d B a l a n c e r   1 0 . 5 1 . 2 4 2 . 1 3 6   1 0 9 . 1 9 7 . 9 2 . 2 2 9   8 0 : 3 2 3 7 2 / T C P   1 m   C o p y   t h e   e x t e r n a l   I P   a d d r e s s ,   a n d   l o a d   t h e   p a g e   i n   y o u r   b r o w s e r   t o   v i e w   y o u r   g u e s t b o o k .   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   g e t   t h e   I P   a d d r e s s   f o r   t h e   f r o n t e n d   S e r v i c e .   k u b e c t l   g e t   s e r v i c e   f r o n t e n d   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o   t h i s :   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   f r o n t e n d   L o a d B a l a n c e r   1 0 . 5 1 . 2 4 2 . 1 3 6   1 0 9 . 1 9 7 . 9 2 . 2 2 9   8 0 : 3 2 3 7 2 / T C P   1 m   C o p y   t h e   e x t e r n a l   I P   a d d r e s s ,   a n d   l o a d   t h e   p a g e   i n   y o u r   b r o w s e r   t o   v i e w   y o u r   g u e s t b o o k .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16960"
  },
  {
    "question": "What is Scale the Web Frontend?",
    "answer": "Y o u   c a n   s c a l e   u p   o r   d o w n   a s   n e e d e d   b e c a u s e   y o u r   s e r v e r s   a r e   d e f i n e d   a s   a   S e r v i c e   t h a t   u s e s   a   D e p l o y m e n t   c o n t r o l l e r .   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   s c a l e   u p   t h e   n u m b e r   o f   f r o n t e n d   P o d s : k u b e c t l   s c a l e   d e p l o y m e n t   f r o n t e n d   - - r e p l i c a s = 5   Q u e r y   t h e   l i s t   o f   P o d s   t o   v e r i f y   t h e   n u m b e r   o f   f r o n t e n d   P o d s   r u n n i n g : k u b e c t l   g e t   p o d s   T h e   r e s p o n s e   s h o u l d   l o o k   s i m i l a r   t o   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   f r o n t e n d - 8 5 5 9 5 f 5 b f 9 - 5 d f 5 m   1 / 1   R u n n i n g   0   8 3 s   f r o n t e n d - 8 5 5 9 5 f 5 b f 9 - 7 z m g 5   1 / 1   R u n n i n g   0   8 3 s   f r o n t e n d - 8 5 5 9 5 f 5 b f 9 - c p s k g   1 / 1   R u n n i n g   0   1 5 m   f r o n t e n d - 8 5 5 9 5 f 5 b f 9 - l 2 l 5 4   1 / 1   R u n n i n g   0   1 4 m   f r o n t e n d - 8 5 5 9 5 f 5 b f 9 - l 9 c 8 z   1 / 1   R u n n i n g   0   1 4 m   r e d i s - f o l l o w e r - d d d f b d c c 9 - 8 2 s f r   1 / 1   R u n n i n g   0   9 7 m   r e d i s - f o l l o w e r - d d d f b d c c 9 - q r t 5 k   1 / 1   R u n n i n g   0   9 7 m   r e d i s - l e a d e r - f b 7 6 b 4 7 5 5 - x j r 2 n   1 / 1   R u n n i n g   0   1 0 8 m   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   s c a l e   d o w n   t h e   n u m b e r   o f   f r o n t e n d   P o d s : k u b e c t l   s c a l e   d e p l o y m e n t   f r o n t e n d   - - r e p l i c a s = 2   Q u e r y   t h e   l i s t   o f   P o d s   t o   v e r i f y   t h e   n u m b e r   o f   f r o n t e n d   P o d s   r u n n i n g : k u b e c t l   g e t   p o d s   T h e   r e s p o n s e   s h o u l d   l o o k   s i m i l a r   t o   t h i s : N A M E   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16961"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "D e l e t i n g   t h e   D e p l o y m e n t s   a n d   S e r v i c e s   a l s o   d e l e t e s   a n y   r u n n i n g   P o d s .   U s e   l a b e l s   t o   d e l e t e   m u l t i p l e   r e s o u r c e s   w i t h   o n e   c o m m a n d .   R u n   t h e   f o l l o w i n g   c o m m a n d s   t o   d e l e t e   a l l   P o d s ,   D e p l o y m e n t s ,   a n d   S e r v i c e s . k u b e c t l   d e l e t e   d e p l o y m e n t   - l   a p p = r e d i s   k u b e c t l   d e l e t e   s e r v i c e   - l   a p p = r e d i s   k u b e c t l   d e l e t e   d e p l o y m e n t   f r o n t e n d   k u b e c t l   d e l e t e   s e r v i c e   f r o n t e n d   T h e   r e s p o n s e   s h o u l d   l o o k   s i m i l a r   t o   t h i s : d e p l o y m e n t . a p p s   \" r e d i s - f o l l o w e r \"   d e l e t e d   d e p l o y m e n t . a p p s   \" r e d i s - l e a d e r \"   d e l e t e d   d e p l o y m e n t . a p p s   \" f r o n t e n d \"   d e l e t e d   s e r v i c e   \" f r o n t e n d \"   d e l e t e d   Q u e r y   t h e   l i s t   o f   P o d s   t o   v e r i f y   t h a t   n o   P o d s   a r e   r u n n i n g : k u b e c t l   g e t   p o d s   T h e   r e s p o n s e   s h o u l d   l o o k   s i m i l a r   t o   t h i s : N o   r e s o u r c e s   f o u n d   i n   d e f a u l t   n a m e s p a c e .   R u n   t h e   f o l l o w i n g   c o m m a n d s   t o   d e l e t e   a l l   P o d s ,   D e p l o y m e n t s ,   a n d   S e r v i c e s .   k u b e c t l   d e l e t e   d e p l o y m e n t   - l   a p p = r e d i s   k u b e c t l   d e l e t e   s e r v i c e   - l   a p p = r e d i s   k u b e c t l   d e l e t e   d e p l o y m e n t   f r o n t e n d   k u b e c t l   d e l e t e   s e r v i c e   f r o n t e n d   T h e   r e s p o n s e   s h o u l d   l o o k   s i m i l a r   t o   t h i s :   d e p l o y m e n t . a p p s   \" r e d i s - f o l l o w e r \"   d e l e t e d   d e p l o y m e n t . a p p s   \" r e ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16962"
  },
  {
    "question": "What is What's next?",
    "answer": "C o m p l e t e   t h e   K u b e r n e t e s   B a s i c s   I n t e r a c t i v e   T u t o r i a l s U s e   K u b e r n e t e s   t o   c r e a t e   a   b l o g   u s i n g   P e r s i s t e n t   V o l u m e s   f o r   M y S Q L   a n d   W o r d p r e s s R e a d   m o r e   a b o u t   c o n n e c t i n g   a p p l i c a t i o n s   w i t h   s e r v i c e s R e a d   m o r e   a b o u t   u s i n g   l a b e l s   e f f e c t i v e l y",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16963"
  },
  {
    "question": "What is 6.1 - StatefulSet Basics?",
    "answer": "T h i s   t u t o r i a l   p r o v i d e s   a n   i n t r o d u c t i o n   t o   m a n a g i n g   a p p l i c a t i o n s   w i t h   S t a t e f u l S e t s .   I t   d e m o n s t r a t e s   h o w   t o   c r e a t e ,   d e l e t e ,   s c a l e ,   a n d   u p d a t e   t h e   P o d s   o f   S t a t e f u l S e t s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_1_16964"
  },
  {
    "question": "What is Before you begin?",
    "answer": "B e f o r e   y o u   b e g i n   t h i s   t u t o r i a l ,   y o u   s h o u l d   f a m i l i a r i z e   y o u r s e l f   w i t h   t h e   f o l l o w i n g   K u b e r n e t e s   c o n c e p t s :   P o d s C l u s t e r   D N S H e a d l e s s   S e r v i c e s P e r s i s t e n t V o l u m e s P e r s i s t e n t V o l u m e   P r o v i s i o n i n g T h e   k u b e c t l   c o m m a n d   l i n e   t o o l   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   s h o u l d   c o n f i g u r e   k u b e c t l   t o   u s e   a   c o n t e x t   t h a t   u s e s   t h e   d e f a u l t   n a m e s p a c e .   I f   y o u   a r e   u s i n g   a n   e x i s t i n g   c l u s t e r ,   m a k e   s u r e   t h a t   i t ' s   O K   t o   u s e   t h a t   c l u s t e r ' s   d e f a u l t   n a m e s p a c e   t o   p r a c t i c e .   I d e a l l y ,   p r a c t i c e   i n   a   c l u s t e r   t h a t   d o e s n ' t   r u n   a n y   r e a l   w o r k l o a d s .   I t ' s   a l s o   u s e f u l   t o   r e a d   t h e   c o n c e p t   p a g e   a b o u t   S t a t e f u l S e t s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16965"
  },
  {
    "question": "What is Objectives?",
    "answer": "S t a t e f u l S e t s   a r e   i n t e n d e d   t o   b e   u s e d   w i t h   s t a t e f u l   a p p l i c a t i o n s   a n d   d i s t r i b u t e d   s y s t e m s .   H o w e v e r ,   t h e   a d m i n i s t r a t i o n   o f   s t a t e f u l   a p p l i c a t i o n s   a n d   d i s t r i b u t e d   s y s t e m s   o n   K u b e r n e t e s   i s   a   b r o a d ,   c o m p l e x   t o p i c .   I n   o r d e r   t o   d e m o n s t r a t e   t h e   b a s i c   f e a t u r e s   o f   a   S t a t e f u l S e t ,   a n d   n o t   t o   c o n f l a t e   t h e   f o r m e r   t o p i c   w i t h   t h e   l a t t e r ,   y o u   w i l l   d e p l o y   a   s i m p l e   w e b   a p p l i c a t i o n   u s i n g   a   S t a t e f u l S e t .   A f t e r   t h i s   t u t o r i a l ,   y o u   w i l l   b e   f a m i l i a r   w i t h   t h e   f o l l o w i n g .   H o w   t o   c r e a t e   a   S t a t e f u l S e t H o w   a   S t a t e f u l S e t   m a n a g e s   i t s   P o d s H o w   t o   d e l e t e   a   S t a t e f u l S e t H o w   t o   s c a l e   a   S t a t e f u l S e t H o w   t o   u p d a t e   a   S t a t e f u l S e t ' s   P o d s",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16966"
  },
  {
    "question": "What is Creating a StatefulSet?",
    "answer": "B e g i n   b y   c r e a t i n g   a   S t a t e f u l S e t   ( a n d   t h e   S e r v i c e   t h a t   i t   r e l i e s   u p o n )   u s i n g   t h e   e x a m p l e   b e l o w .   I t   i s   s i m i l a r   t o   t h e   e x a m p l e   p r e s e n t e d   i n   t h e   S t a t e f u l S e t s   c o n c e p t .   I t   c r e a t e s   a   h e a d l e s s   S e r v i c e ,   n g i n x ,   t o   p u b l i s h   t h e   I P   a d d r e s s e s   o f   P o d s   i n   t h e   S t a t e f u l S e t ,   w e b .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   n g i n x   l a b e l s :   a p p :   n g i n x   s p e c :   p o r t s :   -   p o r t :   8 0   n a m e :   w e b   c l u s t e r I P :   N o n e   s e l e c t o r :   a p p :   n g i n x   - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a :   n a m e :   w e b   s p e c :   s e r v i c e N a m e :   \" n g i n x \"   r e p l i c a s :   2   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   r e g i s t r y . k 8 s . i o / n g i n x - s l i m : 0 . 2 1   p o r t s :   -   c o n t a i n e r P o r t :   8 0   n a m e :   w e b   v o l u m e M o u n t s :   -   n a m e :   w w w   m o u n t P a t h :   / u s r / s h a r e / n g i n x / h t m l   v o l u m e C l a i m T e m p l a t e s :   -   m e t a d a t a :   n a m e :   w w w   s p e c :   a c c e s s M o d e s :   [   \" R e a d W r i t e O n c e \"   ]   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   1 G i   Y o u   w i l l   n e e d   t o   u s e   a t   l e a s t   t w o   t e r m i n a l   w i n d o w s .   I n   t h e   f i r s t   t e r m i n a l ,   u s e   k u b e c t l   g e t   t o   w a t c h   t h e   c r e a t i o n   o f   t h e   S t a t e f u l S e t ' s   P o d s . ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16967"
  },
  {
    "question": "What is Ordered Pod creation?",
    "answer": "A   S t a t e f u l S e t   d e f a u l t s   t o   c r e a t i n g   i t s   P o d s   i n   a   s t r i c t   o r d e r .   F o r   a   S t a t e f u l S e t   w i t h   n   r e p l i c a s ,   w h e n   P o d s   a r e   b e i n g   d e p l o y e d ,   t h e y   a r e   c r e a t e d   s e q u e n t i a l l y ,   o r d e r e d   f r o m   { 0 . . n - 1 } .   E x a m i n e   t h e   o u t p u t   o f   t h e   k u b e c t l   g e t   c o m m a n d   i n   t h e   f i r s t   t e r m i n a l .   E v e n t u a l l y ,   t h e   o u t p u t   w i l l   l o o k   l i k e   t h e   e x a m p l e   b e l o w .   #   D o   n o t   s t a r t   a   n e w   w a t c h ;   #   t h i s   s h o u l d   a l r e a d y   b e   r u n n i n g   k u b e c t l   g e t   p o d s   - - w a t c h   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   0 / 1   P e n d i n g   0   0 s   w e b - 0   0 / 1   P e n d i n g   0   0 s   w e b - 0   0 / 1   C o n t a i n e r C r e a t i n g   0   0 s   w e b - 0   1 / 1   R u n n i n g   0   1 9 s   w e b - 1   0 / 1   P e n d i n g   0   0 s   w e b - 1   0 / 1   P e n d i n g   0   0 s   w e b - 1   0 / 1   C o n t a i n e r C r e a t i n g   0   0 s   w e b - 1   1 / 1   R u n n i n g   0   1 8 s   N o t i c e   t h a t   t h e   w e b - 1   P o d   i s   n o t   l a u n c h e d   u n t i l   t h e   w e b - 0   P o d   i s   R u n n i n g   ( s e e   P o d   P h a s e )   a n d   R e a d y   ( s e e   t y p e   i n   P o d   C o n d i t i o n s ) .   L a t e r   i n   t h i s   t u t o r i a l   y o u   w i l l   p r a c t i c e   p a r a l l e l   s t a r t u p .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16968"
  },
  {
    "question": "What is Pods in a StatefulSet?",
    "answer": "P o d s   i n   a   S t a t e f u l S e t   h a v e   a   u n i q u e   o r d i n a l   i n d e x   a n d   a   s t a b l e   n e t w o r k   i d e n t i t y .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16969"
  },
  {
    "question": "What is Examining the Pod's ordinal index?",
    "answer": "G e t   t h e   S t a t e f u l S e t ' s   P o d s :   k u b e c t l   g e t   p o d s   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   1 m   w e b - 1   1 / 1   R u n n i n g   0   1 m   A s   m e n t i o n e d   i n   t h e   S t a t e f u l S e t s   c o n c e p t ,   t h e   P o d s   i n   a   S t a t e f u l S e t   h a v e   a   s t i c k y ,   u n i q u e   i d e n t i t y .   T h i s   i d e n t i t y   i s   b a s e d   o n   a   u n i q u e   o r d i n a l   i n d e x   t h a t   i s   a s s i g n e d   t o   e a c h   P o d   b y   t h e   S t a t e f u l S e t   c o n t r o l l e r . T h e   P o d s '   n a m e s   t a k e   t h e   f o r m   < s t a t e f u l s e t   n a m e > - < o r d i n a l   i n d e x > .   S i n c e   t h e   w e b   S t a t e f u l S e t   h a s   t w o   r e p l i c a s ,   i t   c r e a t e s   t w o   P o d s ,   w e b - 0   a n d   w e b - 1 .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16970"
  },
  {
    "question": "What is Using stable network identities?",
    "answer": "E a c h   P o d   h a s   a   s t a b l e   h o s t n a m e   b a s e d   o n   i t s   o r d i n a l   i n d e x .   U s e   k u b e c t l   e x e c   t o   e x e c u t e   t h e   h o s t n a m e   c o m m a n d   i n   e a c h   P o d :   f o r   i   i n   0   1 ;   d o   k u b e c t l   e x e c   \" w e b - $ i \"   - -   s h   - c   ' h o s t n a m e ' ;   d o n e   w e b - 0   w e b - 1   U s e   k u b e c t l   r u n   t o   e x e c u t e   a   c o n t a i n e r   t h a t   p r o v i d e s   t h e   n s l o o k u p   c o m m a n d   f r o m   t h e   d n s u t i l s   p a c k a g e .   U s i n g   n s l o o k u p   o n   t h e   P o d s '   h o s t n a m e s ,   y o u   c a n   e x a m i n e   t h e i r   i n - c l u s t e r   D N S   a d d r e s s e s :   k u b e c t l   r u n   - i   - - t t y   - - i m a g e   b u s y b o x : 1 . 2 8   d n s - t e s t   - - r e s t a r t = N e v e r   - - r m   w h i c h   s t a r t s   a   n e w   s h e l l .   I n   t h a t   n e w   s h e l l ,   r u n :   #   R u n   t h i s   i n   t h e   d n s - t e s t   c o n t a i n e r   s h e l l   n s l o o k u p   w e b - 0 . n g i n x   T h e   o u t p u t   i s   s i m i l a r   t o :   S e r v e r :   1 0 . 0 . 0 . 1 0   A d d r e s s   1 :   1 0 . 0 . 0 . 1 0   k u b e - d n s . k u b e - s y s t e m . s v c . c l u s t e r . l o c a l   N a m e :   w e b - 0 . n g i n x   A d d r e s s   1 :   1 0 . 2 4 4 . 1 . 6   n s l o o k u p   w e b - 1 . n g i n x   S e r v e r :   1 0 . 0 . 0 . 1 0   A d d r e s s   1 :   1 0 . 0 . 0 . 1 0   k u b e - d n s . k u b e - s y s t e m . s v c . c l u s t e r . l o c a l   N a m e :   w e b - 1 . n g i n x   A d d r e s s   1 :   1 0 . 2 4 4 . 2 . 6   ( a n d   n o w   e x i t   t h e   c o n t a i n e r   s h e l l :   e x i t )   T h e   C N A M E   o f   t h e   h e a d l e s s   s e r v i c e   p o i n t s   t o   S R V   r e c o r d s   ( o n e   f o r   e a c h   P o d   t h a t   i s   R u n n i n g   a n d   R e a d y ) .   T h ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16971"
  },
  {
    "question": "What is Discovery for specific Pods in a StatefulSet?",
    "answer": "I f   y o u   n e e d   t o   f i n d   a n d   c o n n e c t   t o   t h e   a c t i v e   m e m b e r s   o f   a   S t a t e f u l S e t ,   y o u   s h o u l d   q u e r y   t h e   C N A M E   o f   t h e   h e a d l e s s   S e r v i c e   ( n g i n x . d e f a u l t . s v c . c l u s t e r . l o c a l ) .   T h e   S R V   r e c o r d s   a s s o c i a t e d   w i t h   t h e   C N A M E   w i l l   c o n t a i n   o n l y   t h e   P o d s   i n   t h e   S t a t e f u l S e t   t h a t   a r e   R u n n i n g   a n d   R e a d y .   I f   y o u r   a p p l i c a t i o n   a l r e a d y   i m p l e m e n t s   c o n n e c t i o n   l o g i c   t h a t   t e s t s   f o r   l i v e n e s s   a n d   r e a d i n e s s ,   y o u   c a n   u s e   t h e   S R V   r e c o r d s   o f   t h e   P o d s   (   w e b - 0 . n g i n x . d e f a u l t . s v c . c l u s t e r . l o c a l ,   w e b - 1 . n g i n x . d e f a u l t . s v c . c l u s t e r . l o c a l ) ,   a s   t h e y   a r e   s t a b l e ,   a n d   y o u r   a p p l i c a t i o n   w i l l   b e   a b l e   t o   d i s c o v e r   t h e   P o d s '   a d d r e s s e s   w h e n   t h e y   t r a n s i t i o n   t o   R u n n i n g   a n d   R e a d y .   I f   y o u r   a p p l i c a t i o n   w a n t s   t o   f i n d   a n y   h e a l t h y   P o d   i n   a   S t a t e f u l S e t ,   a n d   t h e r e f o r e   d o e s   n o t   n e e d   t o   t r a c k   e a c h   s p e c i f i c   P o d ,   y o u   c o u l d   a l s o   c o n n e c t   t o   t h e   I P   a d d r e s s   o f   a   t y p e :   C l u s t e r I P   S e r v i c e ,   b a c k e d   b y   t h e   P o d s   i n   t h a t   S t a t e f u l S e t .   Y o u   c a n   u s e   t h e   s a m e   S e r v i c e   t h a t   t r a c k s   t h e   S t a t e f u l S e t   ( s p e c i f i e d   i n   t h e   s e r v i c e N a m e   o f   t h e   S t a t e f u l S e t )   o r   a   s e p a r a t e   S e r v i c e   t h a t   s e l e c t s   t h e   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16972"
  },
  {
    "question": "What is Writing to stable storage?",
    "answer": "G e t   t h e   P e r s i s t e n t V o l u m e C l a i m s   f o r   w e b - 0   a n d   w e b - 1 :   k u b e c t l   g e t   p v c   - l   a p p = n g i n x   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   S T A T U S   V O L U M E   C A P A C I T Y   A C C E S S M O D E S   A G E   w w w - w e b - 0   B o u n d   p v c - 1 5 c 2 6 8 c 7 - b 5 0 7 - 1 1 e 6 - 9 3 2 f - 4 2 0 1 0 a 8 0 0 0 0 2   1 G i   R W O   4 8 s   w w w - w e b - 1   B o u n d   p v c - 1 5 c 7 9 3 0 7 - b 5 0 7 - 1 1 e 6 - 9 3 2 f - 4 2 0 1 0 a 8 0 0 0 0 2   1 G i   R W O   4 8 s   T h e   S t a t e f u l S e t   c o n t r o l l e r   c r e a t e d   t w o   P e r s i s t e n t V o l u m e C l a i m s   t h a t   a r e   b o u n d   t o   t w o   P e r s i s t e n t V o l u m e s .   A s   t h e   c l u s t e r   u s e d   i n   t h i s   t u t o r i a l   i s   c o n f i g u r e d   t o   d y n a m i c a l l y   p r o v i s i o n   P e r s i s t e n t V o l u m e s ,   t h e   P e r s i s t e n t V o l u m e s   w e r e   c r e a t e d   a n d   b o u n d   a u t o m a t i c a l l y .   T h e   N G I N X   w e b s e r v e r ,   b y   d e f a u l t ,   s e r v e s   a n   i n d e x   f i l e   f r o m   / u s r / s h a r e / n g i n x / h t m l / i n d e x . h t m l .   T h e   v o l u m e M o u n t s   f i e l d   i n   t h e   S t a t e f u l S e t ' s   s p e c   e n s u r e s   t h a t   t h e   / u s r / s h a r e / n g i n x / h t m l   d i r e c t o r y   i s   b a c k e d   b y   a   P e r s i s t e n t V o l u m e .   W r i t e   t h e   P o d s '   h o s t n a m e s   t o   t h e i r   i n d e x . h t m l   f i l e s   a n d   v e r i f y   t h a t   t h e   N G I N X   w e b s e r v e r s   s e r v e   t h e   h o s t n a m e s :   f o r   i   i n   0   1 ;   d o   k u b e c t l   e x e c   \" w e b - $ i \"   - -   s h   - c   ' e c h o   \" $ ( h o s t n a m e ) \"   >   / u s r / s h a r e / n g i n x / h t m l / i n d e x . h t m l ' ;   d o n e   f o r   i   i n   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16973"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   i n s t e a d   s e e   4 0 3   F o r b i d d e n   r e s p o n s e s   f o r   t h e   a b o v e   c u r l   c o m m a n d ,   y o u   w i l l   n e e d   t o   f i x   t h e   p e r m i s s i o n s   o f   t h e   d i r e c t o r y   m o u n t e d   b y   t h e   v o l u m e M o u n t s   ( d u e   t o   a   b u g   w h e n   u s i n g   h o s t P a t h   v o l u m e s ) ,   b y   r u n n i n g :   f o r   i   i n   0   1 ;   d o   k u b e c t l   e x e c   w e b - $ i   - -   c h m o d   7 5 5   / u s r / s h a r e / n g i n x / h t m l ;   d o n e   b e f o r e   r e t r y i n g   t h e   c u r l   c o m m a n d   a b o v e .   I n   o n e   t e r m i n a l ,   w a t c h   t h e   S t a t e f u l S e t ' s   P o d s :   #   E n d   t h i s   w a t c h   w h e n   y o u ' v e   r e a c h e d   t h e   e n d   o f   t h e   s e c t i o n .   #   A t   t h e   s t a r t   o f   \" S c a l i n g   a   S t a t e f u l S e t \"   y o u ' l l   s t a r t   a   n e w   w a t c h .   k u b e c t l   g e t   p o d   - - w a t c h   - l   a p p = n g i n x   I n   a   s e c o n d   t e r m i n a l ,   d e l e t e   a l l   o f   t h e   S t a t e f u l S e t ' s   P o d s :   k u b e c t l   d e l e t e   p o d   - l   a p p = n g i n x   p o d   \" w e b - 0 \"   d e l e t e d   p o d   \" w e b - 1 \"   d e l e t e d   E x a m i n e   t h e   o u t p u t   o f   t h e   k u b e c t l   g e t   c o m m a n d   i n   t h e   f i r s t   t e r m i n a l ,   a n d   w a i t   f o r   a l l   o f   t h e   P o d s   t o   t r a n s i t i o n   t o   R u n n i n g   a n d   R e a d y .   #   T h i s   s h o u l d   a l r e a d y   b e   r u n n i n g   k u b e c t l   g e t   p o d   - - w a t c h   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   0 / 1   C o n t a i n e r C r e a t i n g   0   0 s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   2 s   w e b - 1   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16974"
  },
  {
    "question": "What is Scaling a StatefulSet?",
    "answer": "S c a l i n g   a   S t a t e f u l S e t   r e f e r s   t o   i n c r e a s i n g   o r   d e c r e a s i n g   t h e   n u m b e r   o f   r e p l i c a s   ( h o r i z o n t a l   s c a l i n g ) .   T h i s   i s   a c c o m p l i s h e d   b y   u p d a t i n g   t h e   r e p l i c a s   f i e l d .   Y o u   c a n   u s e   e i t h e r   k u b e c t l   s c a l e   o r   k u b e c t l   p a t c h   t o   s c a l e   a   S t a t e f u l S e t .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16975"
  },
  {
    "question": "What is Scaling up?",
    "answer": "S c a l i n g   u p   m e a n s   a d d i n g   m o r e   r e p l i c a s .   P r o v i d e d   t h a t   y o u r   a p p   i s   a b l e   t o   d i s t r i b u t e   w o r k   a c r o s s   t h e   S t a t e f u l S e t ,   t h e   n e w   l a r g e r   s e t   o f   P o d s   c a n   p e r f o r m   m o r e   o f   t h a t   w o r k .   I n   o n e   t e r m i n a l   w i n d o w ,   w a t c h   t h e   P o d s   i n   t h e   S t a t e f u l S e t :   #   I f   y o u   a l r e a d y   h a v e   a   w a t c h   r u n n i n g ,   y o u   c a n   c o n t i n u e   u s i n g   t h a t .   #   O t h e r w i s e ,   s t a r t   o n e .   #   E n d   t h i s   w a t c h   w h e n   t h e r e   a r e   5   h e a l t h y   P o d s   f o r   t h e   S t a t e f u l S e t   k u b e c t l   g e t   p o d s   - - w a t c h   - l   a p p = n g i n x   I n   a n o t h e r   t e r m i n a l   w i n d o w ,   u s e   k u b e c t l   s c a l e   t o   s c a l e   t h e   n u m b e r   o f   r e p l i c a s   t o   5 :   k u b e c t l   s c a l e   s t s   w e b   - - r e p l i c a s = 5   s t a t e f u l s e t . a p p s / w e b   s c a l e d   E x a m i n e   t h e   o u t p u t   o f   t h e   k u b e c t l   g e t   c o m m a n d   i n   t h e   f i r s t   t e r m i n a l ,   a n d   w a i t   f o r   t h e   t h r e e   a d d i t i o n a l   P o d s   t o   t r a n s i t i o n   t o   R u n n i n g   a n d   R e a d y .   #   T h i s   s h o u l d   a l r e a d y   b e   r u n n i n g   k u b e c t l   g e t   p o d   - - w a t c h   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   2 h   w e b - 1   1 / 1   R u n n i n g   0   2 h   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 2   0 / 1   P e n d i n g   0   0 s   w e b - 2   0 / 1   P e n d i n g   0   0 s   w e b - 2   0 / 1   C o n t a i n e r C r e a t i n g   0   0 s   w e b - 2   1 / 1   R u n n i n g   0   1 9 s   w ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16976"
  },
  {
    "question": "What is Scaling down?",
    "answer": "S c a l i n g   d o w n   m e a n s   r e d u c i n g   t h e   n u m b e r   o f   r e p l i c a s .   F o r   e x a m p l e ,   y o u   m i g h t   d o   t h i s   b e c a u s e   t h e   l e v e l   o f   t r a f f i c   t o   a   s e r v i c e   h a s   d e c r e a s e d ,   a n d   a t   t h e   c u r r e n t   s c a l e   t h e r e   a r e   i d l e   r e s o u r c e s .   I n   o n e   t e r m i n a l ,   w a t c h   t h e   S t a t e f u l S e t ' s   P o d s :   #   E n d   t h i s   w a t c h   w h e n   t h e r e   a r e   o n l y   3   P o d s   f o r   t h e   S t a t e f u l S e t   k u b e c t l   g e t   p o d   - - w a t c h   - l   a p p = n g i n x   I n   a n o t h e r   t e r m i n a l ,   u s e   k u b e c t l   p a t c h   t o   s c a l e   t h e   S t a t e f u l S e t   b a c k   d o w n   t o   t h r e e   r e p l i c a s :   k u b e c t l   p a t c h   s t s   w e b   - p   ' { \" s p e c \" : { \" r e p l i c a s \" : 3 } } '   s t a t e f u l s e t . a p p s / w e b   p a t c h e d   W a i t   f o r   w e b - 4   a n d   w e b - 3   t o   t r a n s i t i o n   t o   T e r m i n a t i n g .   #   T h i s   s h o u l d   a l r e a d y   b e   r u n n i n g   k u b e c t l   g e t   p o d s   - - w a t c h   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   3 h   w e b - 1   1 / 1   R u n n i n g   0   3 h   w e b - 2   1 / 1   R u n n i n g   0   5 5 s   w e b - 3   1 / 1   R u n n i n g   0   3 6 s   w e b - 4   0 / 1   C o n t a i n e r C r e a t i n g   0   1 8 s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 4   1 / 1   R u n n i n g   0   1 9 s   w e b - 4   1 / 1   T e r m i n a t i n g   0   2 4 s   w e b - 4   1 / 1   T e r m i n a t i n g   0   2 4 s   w e b - 3   1 / 1   T e r m i n a t i n g   0   4 2 s   w e b - 3   1 / 1   T e r m i n a t i n g   0   4 2 s",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16977"
  },
  {
    "question": "What is Ordered Pod termination?",
    "answer": "T h e   c o n t r o l   p l a n e   d e l e t e d   o n e   P o d   a t   a   t i m e ,   i n   r e v e r s e   o r d e r   w i t h   r e s p e c t   t o   i t s   o r d i n a l   i n d e x ,   a n d   i t   w a i t e d   f o r   e a c h   P o d   t o   b e   c o m p l e t e l y   s h u t   d o w n   b e f o r e   d e l e t i n g   t h e   n e x t   o n e .   G e t   t h e   S t a t e f u l S e t ' s   P e r s i s t e n t V o l u m e C l a i m s :   k u b e c t l   g e t   p v c   - l   a p p = n g i n x   N A M E   S T A T U S   V O L U M E   C A P A C I T Y   A C C E S S M O D E S   A G E   w w w - w e b - 0   B o u n d   p v c - 1 5 c 2 6 8 c 7 - b 5 0 7 - 1 1 e 6 - 9 3 2 f - 4 2 0 1 0 a 8 0 0 0 0 2   1 G i   R W O   1 3 h   w w w - w e b - 1   B o u n d   p v c - 1 5 c 7 9 3 0 7 - b 5 0 7 - 1 1 e 6 - 9 3 2 f - 4 2 0 1 0 a 8 0 0 0 0 2   1 G i   R W O   1 3 h   w w w - w e b - 2   B o u n d   p v c - e 1 1 2 5 b 2 7 - b 5 0 8 - 1 1 e 6 - 9 3 2 f - 4 2 0 1 0 a 8 0 0 0 0 2   1 G i   R W O   1 3 h   w w w - w e b - 3   B o u n d   p v c - e 1 1 7 6 d f 6 - b 5 0 8 - 1 1 e 6 - 9 3 2 f - 4 2 0 1 0 a 8 0 0 0 0 2   1 G i   R W O   1 3 h   w w w - w e b - 4   B o u n d   p v c - e 1 1 b b 5 f 8 - b 5 0 8 - 1 1 e 6 - 9 3 2 f - 4 2 0 1 0 a 8 0 0 0 0 2   1 G i   R W O   1 3 h   T h e r e   a r e   s t i l l   f i v e   P e r s i s t e n t V o l u m e C l a i m s   a n d   f i v e   P e r s i s t e n t V o l u m e s .   W h e n   e x p l o r i n g   a   P o d ' s   s t a b l e   s t o r a g e ,   y o u   s a w   t h a t   t h e   P e r s i s t e n t V o l u m e s   m o u n t e d   t o   t h e   P o d s   o f   a   S t a t e f u l S e t   a r e   n o t   d e l e t e d   w h e n   t h e   S t a t e f u l S e t ' s   P o d s   a r e   d e l e t e d .   T h i s   i s   s t i l l   t r u e   w h e n   P o d   d e l e t i o n   i s   c a u s e d   b y   s c a l i n g   t h e   S t a t e f u l S e t   d o w n .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16978"
  },
  {
    "question": "What is Updating StatefulSets?",
    "answer": "T h e   S t a t e f u l S e t   c o n t r o l l e r   s u p p o r t s   a u t o m a t e d   u p d a t e s .   T h e   s t r a t e g y   u s e d   i s   d e t e r m i n e d   b y   t h e   s p e c . u p d a t e S t r a t e g y   f i e l d   o f   t h e   S t a t e f u l S e t   A P I   o b j e c t .   T h i s   f e a t u r e   c a n   b e   u s e d   t o   u p g r a d e   t h e   c o n t a i n e r   i m a g e s ,   r e s o u r c e   r e q u e s t s   a n d / o r   l i m i t s ,   l a b e l s ,   a n d   a n n o t a t i o n s   o f   t h e   P o d s   i n   a   S t a t e f u l S e t .   T h e r e   a r e   t w o   v a l i d   u p d a t e   s t r a t e g i e s ,   R o l l i n g U p d a t e   ( t h e   d e f a u l t )   a n d   O n D e l e t e .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16979"
  },
  {
    "question": "What is RollingUpdate?",
    "answer": "T h e   R o l l i n g U p d a t e   u p d a t e   s t r a t e g y   w i l l   u p d a t e   a l l   P o d s   i n   a   S t a t e f u l S e t ,   i n   r e v e r s e   o r d i n a l   o r d e r ,   w h i l e   r e s p e c t i n g   t h e   S t a t e f u l S e t   g u a r a n t e e s .   Y o u   c a n   s p l i t   u p d a t e s   t o   a   S t a t e f u l S e t   t h a t   u s e s   t h e   R o l l i n g U p d a t e   s t r a t e g y   i n t o   p a r t i t i o n s ,   b y   s p e c i f y i n g   . s p e c . u p d a t e S t r a t e g y . r o l l i n g U p d a t e . p a r t i t i o n .   Y o u ' l l   p r a c t i c e   t h a t   l a t e r   i n   t h i s   t u t o r i a l .   F i r s t ,   t r y   a   s i m p l e   r o l l i n g   u p d a t e .   I n   o n e   t e r m i n a l   w i n d o w ,   p a t c h   t h e   w e b   S t a t e f u l S e t   t o   c h a n g e   t h e   c o n t a i n e r   i m a g e   a g a i n :   k u b e c t l   p a t c h   s t a t e f u l s e t   w e b   - - t y p e = ' j s o n '   - p = ' [ { \" o p \" :   \" r e p l a c e \" ,   \" p a t h \" :   \" / s p e c / t e m p l a t e / s p e c / c o n t a i n e r s / 0 / i m a g e \" ,   \" v a l u e \" : \" r e g i s t r y . k 8 s . i o / n g i n x - s l i m : 0 . 2 4 \" } ] '   s t a t e f u l s e t . a p p s / w e b   p a t c h e d   I n   a n o t h e r   t e r m i n a l ,   w a t c h   t h e   P o d s   i n   t h e   S t a t e f u l S e t :   #   E n d   t h i s   w a t c h   w h e n   t h e   r o l l o u t   i s   c o m p l e t e   #   #   I f   y o u ' r e   n o t   s u r e ,   l e a v e   i t   r u n n i n g   o n e   m o r e   m i n u t e   k u b e c t l   g e t   p o d   - l   a p p = n g i n x   - - w a t c h   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   7 m   w e b - 1   1 / 1   R u n n i n g   0   7 m   w e b - 2   1 / 1   R u n n i n g   0   8 m   w e b - 2   1 / 1   T e r m i n a t i n g   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16980"
  },
  {
    "question": "What is Staging an update?",
    "answer": "Y o u   c a n   s p l i t   u p d a t e s   t o   a   S t a t e f u l S e t   t h a t   u s e s   t h e   R o l l i n g U p d a t e   s t r a t e g y   i n t o   p a r t i t i o n s ,   b y   s p e c i f y i n g   . s p e c . u p d a t e S t r a t e g y . r o l l i n g U p d a t e . p a r t i t i o n .   F o r   m o r e   c o n t e x t ,   y o u   c a n   r e a d   P a r t i t i o n e d   r o l l i n g   u p d a t e s   i n   t h e   S t a t e f u l S e t   c o n c e p t   p a g e .   Y o u   c a n   s t a g e   a n   u p d a t e   t o   a   S t a t e f u l S e t   b y   u s i n g   t h e   p a r t i t i o n   f i e l d   w i t h i n   . s p e c . u p d a t e S t r a t e g y . r o l l i n g U p d a t e .   F o r   t h i s   u p d a t e ,   y o u   w i l l   k e e p   t h e   e x i s t i n g   P o d s   i n   t h e   S t a t e f u l S e t   u n c h a n g e d   w h i l s t   y o u   c h a n g e   t h e   p o d   t e m p l a t e   f o r   t h e   S t a t e f u l S e t .   T h e n   y o u   -   o r ,   o u t s i d e   o f   a   t u t o r i a l ,   s o m e   e x t e r n a l   a u t o m a t i o n   -   c a n   t r i g g e r   t h a t   p r e p a r e d   u p d a t e .   F i r s t ,   p a t c h   t h e   w e b   S t a t e f u l S e t   t o   a d d   a   p a r t i t i o n   t o   t h e   u p d a t e S t r a t e g y   f i e l d :   #   T h e   v a l u e   o f   \" p a r t i t i o n \"   d e t e r m i n e s   w h i c h   o r d i n a l s   a   c h a n g e   a p p l i e s   t o   #   M a k e   s u r e   t o   u s e   a   n u m b e r   b i g g e r   t h a n   t h e   l a s t   o r d i n a l   f o r   t h e   #   S t a t e f u l S e t   k u b e c t l   p a t c h   s t a t e f u l s e t   w e b   - p   ' { \" s p e c \" : { \" u p d a t e S t r a t e g y \" : { \" t y p e \" : \" R o l l i n g U p d a t e \" , \" r o l l i n g U p d a t e \" : { \" p a r t i t i o n \" : 3 } } } } '   s t a t e f u l s e t . a p p s / w e b   p a t c h e d   P a t c h   t h e   S t a t e f u l S e t   a g a i n ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16981"
  },
  {
    "question": "What is Rolling out a canary?",
    "answer": "Y o u ' r e   n o w   g o i n g   t o   t r y   a   c a n a r y   r o l l o u t   o f   t h a t   s t a g e d   c h a n g e .   Y o u   c a n   r o l l   o u t   a   c a n a r y   ( t o   t e s t   t h e   m o d i f i e d   t e m p l a t e )   b y   d e c r e m e n t i n g   t h e   p a r t i t i o n   y o u   s p e c i f i e d   a b o v e .   P a t c h   t h e   S t a t e f u l S e t   t o   d e c r e m e n t   t h e   p a r t i t i o n :   #   T h e   v a l u e   o f   \" p a r t i t i o n \"   s h o u l d   m a t c h   t h e   h i g h e s t   e x i s t i n g   o r d i n a l   f o r   #   t h e   S t a t e f u l S e t   k u b e c t l   p a t c h   s t a t e f u l s e t   w e b   - p   ' { \" s p e c \" : { \" u p d a t e S t r a t e g y \" : { \" t y p e \" : \" R o l l i n g U p d a t e \" , \" r o l l i n g U p d a t e \" : { \" p a r t i t i o n \" : 2 } } } } '   s t a t e f u l s e t . a p p s / w e b   p a t c h e d   T h e   c o n t r o l   p l a n e   t r i g g e r s   r e p l a c e m e n t   f o r   w e b - 2   ( i m p l e m e n t e d   b y   a   g r a c e f u l   d e l e t e   f o l l o w e d   b y   c r e a t i n g   a   n e w   P o d   o n c e   t h e   d e l e t i o n   i s   c o m p l e t e ) .   W a i t   f o r   t h e   n e w   w e b - 2   P o d   t o   b e   R u n n i n g   a n d   R e a d y .   #   T h i s   s h o u l d   a l r e a d y   b e   r u n n i n g   k u b e c t l   g e t   p o d   - l   a p p = n g i n x   - - w a t c h   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   4 m   w e b - 1   1 / 1   R u n n i n g   0   4 m   w e b - 2   0 / 1   C o n t a i n e r C r e a t i n g   0   1 1 s   w e b - 2   1 / 1   R u n n i n g   0   1 8 s   G e t   t h e   P o d ' s   c o n t a i n e r :   k u b e c t l   g e t   p o d   w e b - 2   - - t e m p l a t e   ' { { r a n g e   $ i ,   $ c   : =   . s p e c . c o n t a i n e r s } } { { $ c . i m a g e } } { { e n d } } '   r e g i s t r y . k 8 s . i o / n g ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16982"
  },
  {
    "question": "What is Phased roll outs?",
    "answer": "Y o u   c a n   p e r f o r m   a   p h a s e d   r o l l   o u t   ( e . g .   a   l i n e a r ,   g e o m e t r i c ,   o r   e x p o n e n t i a l   r o l l   o u t )   u s i n g   a   p a r t i t i o n e d   r o l l i n g   u p d a t e   i n   a   s i m i l a r   m a n n e r   t o   h o w   y o u   r o l l e d   o u t   a   c a n a r y .   T o   p e r f o r m   a   p h a s e d   r o l l   o u t ,   s e t   t h e   p a r t i t i o n   t o   t h e   o r d i n a l   a t   w h i c h   y o u   w a n t   t h e   c o n t r o l l e r   t o   p a u s e   t h e   u p d a t e .   T h e   p a r t i t i o n   i s   c u r r e n t l y   s e t   t o   2 .   S e t   t h e   p a r t i t i o n   t o   0 :   k u b e c t l   p a t c h   s t a t e f u l s e t   w e b   - p   ' { \" s p e c \" : { \" u p d a t e S t r a t e g y \" : { \" t y p e \" : \" R o l l i n g U p d a t e \" , \" r o l l i n g U p d a t e \" : { \" p a r t i t i o n \" : 0 } } } } '   s t a t e f u l s e t . a p p s / w e b   p a t c h e d   W a i t   f o r   a l l   o f   t h e   P o d s   i n   t h e   S t a t e f u l S e t   t o   b e c o m e   R u n n i n g   a n d   R e a d y .   #   T h i s   s h o u l d   a l r e a d y   b e   r u n n i n g   k u b e c t l   g e t   p o d   - l   a p p = n g i n x   - - w a t c h   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   3 m   w e b - 1   0 / 1   C o n t a i n e r C r e a t i n g   0   1 1 s   w e b - 2   1 / 1   R u n n i n g   0   2 m   w e b - 1   1 / 1   R u n n i n g   0   1 8 s   w e b - 0   1 / 1   T e r m i n a t i n g   0   3 m   w e b - 0   1 / 1   T e r m i n a t i n g   0   3 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   3 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   3 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   3 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   3 m   w e b - 0   0 / 1   P e n d i n g   0   0 s   w e b - 0   0 / 1   P ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16983"
  },
  {
    "question": "What is OnDelete?",
    "answer": "Y o u   s e l e c t   t h i s   u p d a t e   s t r a t e g y   f o r   a   S t a t e f u l S e t   b y   s e t t i n g   t h e   . s p e c . t e m p l a t e . u p d a t e S t r a t e g y . t y p e   t o   O n D e l e t e .   P a t c h   t h e   w e b   S t a t e f u l S e t   t o   u s e   t h e   O n D e l e t e   u p d a t e   s t r a t e g y :   k u b e c t l   p a t c h   s t a t e f u l s e t   w e b   - p   ' { \" s p e c \" : { \" u p d a t e S t r a t e g y \" : { \" t y p e \" : \" O n D e l e t e \" ,   \" r o l l i n g U p d a t e \" :   n u l l } } } '   s t a t e f u l s e t . a p p s / w e b   p a t c h e d   W h e n   y o u   s e l e c t   t h i s   u p d a t e   s t r a t e g y ,   t h e   S t a t e f u l S e t   c o n t r o l l e r   d o e s   n o t   a u t o m a t i c a l l y   u p d a t e   P o d s   w h e n   a   m o d i f i c a t i o n   i s   m a d e   t o   t h e   S t a t e f u l S e t ' s   . s p e c . t e m p l a t e   f i e l d .   Y o u   n e e d   t o   m a n a g e   t h e   r o l l o u t   y o u r s e l f   -   e i t h e r   m a n u a l l y ,   o r   u s i n g   s e p a r a t e   a u t o m a t i o n .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16984"
  },
  {
    "question": "What is Deleting StatefulSets?",
    "answer": "S t a t e f u l S e t   s u p p o r t s   b o t h   n o n - c a s c a d i n g   a n d   c a s c a d i n g   d e l e t i o n .   I n   a   n o n - c a s c a d i n g   d e l e t e ,   t h e   S t a t e f u l S e t ' s   P o d s   a r e   n o t   d e l e t e d   w h e n   t h e   S t a t e f u l S e t   i s   d e l e t e d .   I n   a   c a s c a d i n g   d e l e t e ,   b o t h   t h e   S t a t e f u l S e t   a n d   i t s   P o d s   a r e   d e l e t e d .   R e a d   U s e   C a s c a d i n g   D e l e t i o n   i n   a   C l u s t e r   t o   l e a r n   a b o u t   c a s c a d i n g   d e l e t i o n   g e n e r a l l y .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16985"
  },
  {
    "question": "What is Non-cascading delete?",
    "answer": "I n   o n e   t e r m i n a l   w i n d o w ,   w a t c h   t h e   P o d s   i n   t h e   S t a t e f u l S e t .   #   E n d   t h i s   w a t c h   w h e n   t h e r e   a r e   n o   P o d s   f o r   t h e   S t a t e f u l S e t   k u b e c t l   g e t   p o d s   - - w a t c h   - l   a p p = n g i n x   U s e   k u b e c t l   d e l e t e   t o   d e l e t e   t h e   S t a t e f u l S e t .   M a k e   s u r e   t o   s u p p l y   t h e   - - c a s c a d e = o r p h a n   p a r a m e t e r   t o   t h e   c o m m a n d .   T h i s   p a r a m e t e r   t e l l s   K u b e r n e t e s   t o   o n l y   d e l e t e   t h e   S t a t e f u l S e t ,   a n d   t o   n o t   d e l e t e   a n y   o f   i t s   P o d s .   k u b e c t l   d e l e t e   s t a t e f u l s e t   w e b   - - c a s c a d e = o r p h a n   s t a t e f u l s e t . a p p s   \" w e b \"   d e l e t e d   G e t   t h e   P o d s ,   t o   e x a m i n e   t h e i r   s t a t u s :   k u b e c t l   g e t   p o d s   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   6 m   w e b - 1   1 / 1   R u n n i n g   0   7 m   w e b - 2   1 / 1   R u n n i n g   0   5 m   E v e n   t h o u g h   w e b   h a s   b e e n   d e l e t e d ,   a l l   o f   t h e   P o d s   a r e   s t i l l   R u n n i n g   a n d   R e a d y .   D e l e t e   w e b - 0 :   k u b e c t l   d e l e t e   p o d   w e b - 0   p o d   \" w e b - 0 \"   d e l e t e d   G e t   t h e   S t a t e f u l S e t ' s   P o d s :   k u b e c t l   g e t   p o d s   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 1   1 / 1   R u n n i n g   0   1 0 m   w e b - 2   1 / 1   R u n n i n g   0   7 m   A s   t h e   w e b   S t a t e f u l S e t   h a s   b e e n   d e l e t e d ,   w e b - 0   h a s   n o t   b e e n   r e l a u n c h e d .   I n   o n e   t e r m i n a l ,   w a t c h   t h e   S t a t e f u l S e ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16986"
  },
  {
    "question": "What is Cascading delete?",
    "answer": "I n   o n e   t e r m i n a l   w i n d o w ,   w a t c h   t h e   P o d s   i n   t h e   S t a t e f u l S e t .   #   L e a v e   t h i s   r u n n i n g   u n t i l   t h e   n e x t   p a g e   s e c t i o n   k u b e c t l   g e t   p o d s   - - w a t c h   - l   a p p = n g i n x   I n   a n o t h e r   t e r m i n a l ,   d e l e t e   t h e   S t a t e f u l S e t   a g a i n .   T h i s   t i m e ,   o m i t   t h e   - - c a s c a d e = o r p h a n   p a r a m e t e r .   k u b e c t l   d e l e t e   s t a t e f u l s e t   w e b   s t a t e f u l s e t . a p p s   \" w e b \"   d e l e t e d   E x a m i n e   t h e   o u t p u t   o f   t h e   k u b e c t l   g e t   c o m m a n d   r u n n i n g   i n   t h e   f i r s t   t e r m i n a l ,   a n d   w a i t   f o r   a l l   o f   t h e   P o d s   t o   t r a n s i t i o n   t o   T e r m i n a t i n g .   #   T h i s   s h o u l d   a l r e a d y   b e   r u n n i n g   k u b e c t l   g e t   p o d s   - - w a t c h   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   1 1 m   w e b - 1   1 / 1   R u n n i n g   0   2 7 m   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   T e r m i n a t i n g   0   1 2 m   w e b - 1   1 / 1   T e r m i n a t i n g   0   2 9 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   1 2 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   1 2 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   1 2 m   w e b - 1   0 / 1   T e r m i n a t i n g   0   2 9 m   w e b - 1   0 / 1   T e r m i n a t i n g   0   2 9 m   w e b - 1   0 / 1   T e r m i n a t i n g   0   2 9 m   A s   y o u   s a w   i n   t h e   S c a l i n g   D o w n   s e c t i o n ,   t h e   P o d s   a r e   t e r m i n a t e d   o n e   a t   a   t i m e ,   w i t h   r e s p e c t   t o   t h e   r e v e r s e   o r d e r   o f   t h e i r   o r d i n a l   i n d i c e s .   B e f o r e   t e r m i n ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16987"
  },
  {
    "question": "What is Note:?",
    "answer": "k u b e c t l   d e l e t e   s e r v i c e   n g i n x   s e r v i c e   \" n g i n x \"   d e l e t e d   R e c r e a t e   t h e   S t a t e f u l S e t   a n d   h e a d l e s s   S e r v i c e   o n e   m o r e   t i m e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / w e b / w e b . y a m l   s e r v i c e / n g i n x   c r e a t e d   s t a t e f u l s e t . a p p s / w e b   c r e a t e d   W h e n   a l l   o f   t h e   S t a t e f u l S e t ' s   P o d s   t r a n s i t i o n   t o   R u n n i n g   a n d   R e a d y ,   r e t r i e v e   t h e   c o n t e n t s   o f   t h e i r   i n d e x . h t m l   f i l e s :   f o r   i   i n   0   1 ;   d o   k u b e c t l   e x e c   - i   - t   \" w e b - $ i \"   - -   c u r l   h t t p : / / l o c a l h o s t / ;   d o n e   w e b - 0   w e b - 1   E v e n   t h o u g h   y o u   c o m p l e t e l y   d e l e t e d   t h e   S t a t e f u l S e t ,   a n d   a l l   o f   i t s   P o d s ,   t h e   P o d s   a r e   r e c r e a t e d   w i t h   t h e i r   P e r s i s t e n t V o l u m e s   m o u n t e d ,   a n d   w e b - 0   a n d   w e b - 1   c o n t i n u e   t o   s e r v e   t h e i r   h o s t n a m e s .   F i n a l l y ,   d e l e t e   t h e   n g i n x   S e r v i c e . . .   k u b e c t l   d e l e t e   s e r v i c e   n g i n x   s e r v i c e   \" n g i n x \"   d e l e t e d   . . . a n d   t h e   w e b   S t a t e f u l S e t :   k u b e c t l   d e l e t e   s t a t e f u l s e t   w e b   s t a t e f u l s e t   \" w e b \"   d e l e t e d",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_16988"
  },
  {
    "question": "What is Pod management policy?",
    "answer": "F o r   s o m e   d i s t r i b u t e d   s y s t e m s ,   t h e   S t a t e f u l S e t   o r d e r i n g   g u a r a n t e e s   a r e   u n n e c e s s a r y   a n d / o r   u n d e s i r a b l e .   T h e s e   s y s t e m s   r e q u i r e   o n l y   u n i q u e n e s s   a n d   i d e n t i t y .   Y o u   c a n   s p e c i f y   a   P o d   m a n a g e m e n t   p o l i c y   t o   a v o i d   t h i s   s t r i c t   o r d e r i n g ;   e i t h e r   O r d e r e d R e a d y   ( t h e   d e f a u l t ) ,   o r   P a r a l l e l .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16989"
  },
  {
    "question": "What is OrderedReady Pod management?",
    "answer": "O r d e r e d R e a d y   p o d   m a n a g e m e n t   i s   t h e   d e f a u l t   f o r   S t a t e f u l S e t s .   I t   t e l l s   t h e   S t a t e f u l S e t   c o n t r o l l e r   t o   r e s p e c t   t h e   o r d e r i n g   g u a r a n t e e s   d e m o n s t r a t e d   a b o v e .   U s e   t h i s   w h e n   y o u r   a p p l i c a t i o n   r e q u i r e s   o r   e x p e c t s   t h a t   c h a n g e s ,   s u c h   a s   r o l l i n g   o u t   a   n e w   v e r s i o n   o f   y o u r   a p p l i c a t i o n ,   h a p p e n   i n   t h e   s t r i c t   o r d e r   o f   t h e   o r d i n a l   ( p o d   n u m b e r )   t h a t   t h e   S t a t e f u l S e t   p r o v i d e s .   I n   o t h e r   w o r d s ,   i f   y o u   h a v e   P o d s   a p p - 0 ,   a p p - 1   a n d   a p p - 2 ,   K u b e r n e t e s   w i l l   u p d a t e   a p p - 0   f i r s t   a n d   c h e c k   i t .   O n c e   t h e   c h e c k s   a r e   g o o d ,   K u b e r n e t e s   u p d a t e s   a p p - 1   a n d   f i n a l l y   a p p - 2 .   I f   y o u   a d d e d   t w o   m o r e   P o d s ,   K u b e r n e t e s   w o u l d   s e t   u p   a p p - 3   a n d   w a i t   f o r   t h a t   t o   b e c o m e   h e a l t h y   b e f o r e   d e p l o y i n g   a p p - 4 .   B e c a u s e   t h i s   i s   t h e   d e f a u l t   s e t t i n g ,   y o u ' v e   a l r e a d y   p r a c t i s e d   u s i n g   i t .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16990"
  },
  {
    "question": "What is Parallel Pod management?",
    "answer": "T h e   a l t e r n a t i v e ,   P a r a l l e l   p o d   m a n a g e m e n t ,   t e l l s   t h e   S t a t e f u l S e t   c o n t r o l l e r   t o   l a u n c h   o r   t e r m i n a t e   a l l   P o d s   i n   p a r a l l e l ,   a n d   n o t   t o   w a i t   f o r   P o d s   t o   b e c o m e   R u n n i n g   a n d   R e a d y   o r   c o m p l e t e l y   t e r m i n a t e d   p r i o r   t o   l a u n c h i n g   o r   t e r m i n a t i n g   a n o t h e r   P o d .   T h e   P a r a l l e l   p o d   m a n a g e m e n t   o p t i o n   o n l y   a f f e c t s   t h e   b e h a v i o r   f o r   s c a l i n g   o p e r a t i o n s .   U p d a t e s   a r e   n o t   a f f e c t e d ;   K u b e r n e t e s   s t i l l   r o l l s   o u t   c h a n g e s   i n   o r d e r .   F o r   t h i s   t u t o r i a l ,   t h e   a p p l i c a t i o n   i s   v e r y   s i m p l e :   a   w e b s e r v e r   t h a t   t e l l s   y o u   i t s   h o s t n a m e   ( b e c a u s e   t h i s   i s   a   S t a t e f u l S e t ,   t h e   h o s t n a m e   f o r   e a c h   P o d   i s   d i f f e r e n t   a n d   p r e d i c t a b l e ) .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   n g i n x   l a b e l s :   a p p :   n g i n x   s p e c :   p o r t s :   -   p o r t :   8 0   n a m e :   w e b   c l u s t e r I P :   N o n e   s e l e c t o r :   a p p :   n g i n x   - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a :   n a m e :   w e b   s p e c :   s e r v i c e N a m e :   \" n g i n x \"   p o d M a n a g e m e n t P o l i c y :   \" P a r a l l e l \"   r e p l i c a s :   2   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   r e g i s t r y . k 8 s . i o / n g i n x - s l i m : 0 . 2 4   p ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16991"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "Y o u   s h o u l d   h a v e   t w o   t e r m i n a l s   o p e n ,   r e a d y   f o r   y o u   t o   r u n   k u b e c t l   c o m m a n d s   a s   p a r t   o f   c l e a n u p .   k u b e c t l   d e l e t e   s t s   w e b   #   s t s   i s   a n   a b b r e v i a t i o n   f o r   s t a t e f u l s e t   Y o u   c a n   w a t c h   k u b e c t l   g e t   t o   s e e   t h o s e   P o d s   b e i n g   d e l e t e d .   #   e n d   t h e   w a t c h   w h e n   y o u ' v e   s e e n   w h a t   y o u   n e e d   t o   k u b e c t l   g e t   p o d   - l   a p p = n g i n x   - - w a t c h   w e b - 3   1 / 1   T e r m i n a t i n g   0   9 m   w e b - 2   1 / 1   T e r m i n a t i n g   0   9 m   w e b - 3   1 / 1   T e r m i n a t i n g   0   9 m   w e b - 2   1 / 1   T e r m i n a t i n g   0   9 m   w e b - 1   1 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 0   1 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 3   0 / 1   T e r m i n a t i n g   0   9 m   w e b - 2   0 / 1   T e r m i n a t i n g   0   9 m   w e b - 1   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 2   0 / 1   T e r m i n a t i n g   0   9 m   w e b - 2   0 / 1   T e r m i n a t i n g   0   9 m   w e b - 2   0 / 1   T e r m i n a t i n g   0   9 m   w e b - 1   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 1   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 1   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 3   0 / 1   T e r m i n a t i n g   0   9 m   w e b - 3   0 / 1   T e r m i n a t i n g   0   9 m   w e b - 3   0 / 1   T e r m i n a t i n g   0   9 m   D u r i n g   d e l e t i o n ,   a   S t a t e f u l S e t   r e m o v e s   a l l   P o d s   c o n c u r r e n t l y ;   i t ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16992"
  },
  {
    "question": "What is 6.2 - Example: Deploying WordPress and MySQL with Persistent Volumes?",
    "answer": "T h i s   t u t o r i a l   s h o w s   y o u   h o w   t o   d e p l o y   a   W o r d P r e s s   s i t e   a n d   a   M y S Q L   d a t a b a s e   u s i n g   M i n i k u b e .   B o t h   a p p l i c a t i o n s   u s e   P e r s i s t e n t V o l u m e s   a n d   P e r s i s t e n t V o l u m e C l a i m s   t o   s t o r e   d a t a .   A   P e r s i s t e n t V o l u m e   ( P V )   i s   a   p i e c e   o f   s t o r a g e   i n   t h e   c l u s t e r   t h a t   h a s   b e e n   m a n u a l l y   p r o v i s i o n e d   b y   a n   a d m i n i s t r a t o r ,   o r   d y n a m i c a l l y   p r o v i s i o n e d   b y   K u b e r n e t e s   u s i n g   a   S t o r a g e C l a s s .   A   P e r s i s t e n t V o l u m e C l a i m   ( P V C )   i s   a   r e q u e s t   f o r   s t o r a g e   b y   a   u s e r   t h a t   c a n   b e   f u l f i l l e d   b y   a   P V .   P e r s i s t e n t V o l u m e s   a n d   P e r s i s t e n t V o l u m e C l a i m s   a r e   i n d e p e n d e n t   f r o m   P o d   l i f e c y c l e s   a n d   p r e s e r v e   d a t a   t h r o u g h   r e s t a r t i n g ,   r e s c h e d u l i n g ,   a n d   e v e n   d e l e t i n g   P o d s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_1_16993"
  },
  {
    "question": "What is Objectives?",
    "answer": "C r e a t e   P e r s i s t e n t V o l u m e C l a i m s   a n d   P e r s i s t e n t V o l u m e s C r e a t e   a   k u s t o m i z a t i o n . y a m l   w i t h a   S e c r e t   g e n e r a t o r M y S Q L   r e s o u r c e   c o n f i g s W o r d P r e s s   r e s o u r c e   c o n f i g s A p p l y   t h e   k u s t o m i z a t i o n   d i r e c t o r y   b y   k u b e c t l   a p p l y   - k   . / C l e a n   u p   a   S e c r e t   g e n e r a t o r M y S Q L   r e s o u r c e   c o n f i g s W o r d P r e s s   r e s o u r c e   c o n f i g s",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16994"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   T h e   e x a m p l e   s h o w n   o n   t h i s   p a g e   w o r k s   w i t h   k u b e c t l   1 . 2 7   a n d   a b o ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16995"
  },
  {
    "question": "What is Create PersistentVolumeClaims and PersistentVolumes?",
    "answer": "M y S Q L   a n d   W o r d p r e s s   e a c h   r e q u i r e   a   P e r s i s t e n t V o l u m e   t o   s t o r e   d a t a .   T h e i r   P e r s i s t e n t V o l u m e C l a i m s   w i l l   b e   c r e a t e d   a t   t h e   d e p l o y m e n t   s t e p .   M a n y   c l u s t e r   e n v i r o n m e n t s   h a v e   a   d e f a u l t   S t o r a g e C l a s s   i n s t a l l e d .   W h e n   a   S t o r a g e C l a s s   i s   n o t   s p e c i f i e d   i n   t h e   P e r s i s t e n t V o l u m e C l a i m ,   t h e   c l u s t e r ' s   d e f a u l t   S t o r a g e C l a s s   i s   u s e d   i n s t e a d .   W h e n   a   P e r s i s t e n t V o l u m e C l a i m   i s   c r e a t e d ,   a   P e r s i s t e n t V o l u m e   i s   d y n a m i c a l l y   p r o v i s i o n e d   b a s e d   o n   t h e   S t o r a g e C l a s s   c o n f i g u r a t i o n .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16996"
  },
  {
    "question": "What is Add a Secret generator?",
    "answer": "A   S e c r e t   i s   a n   o b j e c t   t h a t   s t o r e s   a   p i e c e   o f   s e n s i t i v e   d a t a   l i k e   a   p a s s w o r d   o r   k e y .   S i n c e   1 . 1 4 ,   k u b e c t l   s u p p o r t s   t h e   m a n a g e m e n t   o f   K u b e r n e t e s   o b j e c t s   u s i n g   a   k u s t o m i z a t i o n   f i l e .   Y o u   c a n   c r e a t e   a   S e c r e t   b y   g e n e r a t o r s   i n   k u s t o m i z a t i o n . y a m l .   A d d   a   S e c r e t   g e n e r a t o r   i n   k u s t o m i z a t i o n . y a m l   f r o m   t h e   f o l l o w i n g   c o m m a n d .   Y o u   w i l l   n e e d   t o   r e p l a c e   Y O U R _ P A S S W O R D   w i t h   t h e   p a s s w o r d   y o u   w a n t   t o   u s e .   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   s e c r e t G e n e r a t o r :   -   n a m e :   m y s q l - p a s s   l i t e r a l s :   -   p a s s w o r d = Y O U R _ P A S S W O R D   E O F",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_16997"
  },
  {
    "question": "What is Add resource configs for MySQL and WordPress?",
    "answer": "T h e   f o l l o w i n g   m a n i f e s t   d e s c r i b e s   a   s i n g l e - i n s t a n c e   M y S Q L   D e p l o y m e n t .   T h e   M y S Q L   c o n t a i n e r   m o u n t s   t h e   P e r s i s t e n t V o l u m e   a t   / v a r / l i b / m y s q l .   T h e   M Y S Q L _ R O O T _ P A S S W O R D   e n v i r o n m e n t   v a r i a b l e   s e t s   t h e   d a t a b a s e   p a s s w o r d   f r o m   t h e   S e c r e t .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   w o r d p r e s s - m y s q l   l a b e l s :   a p p :   w o r d p r e s s   s p e c :   p o r t s :   -   p o r t :   3 3 0 6   s e l e c t o r :   a p p :   w o r d p r e s s   t i e r :   m y s q l   c l u s t e r I P :   N o n e   - - -   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   m y s q l - p v - c l a i m   l a b e l s :   a p p :   w o r d p r e s s   s p e c :   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   2 0 G i   - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   w o r d p r e s s - m y s q l   l a b e l s :   a p p :   w o r d p r e s s   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   w o r d p r e s s   t i e r :   m y s q l   s t r a t e g y :   t y p e :   R e c r e a t e   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   w o r d p r e s s   t i e r :   m y s q l   s p e c :   c o n t a i n e r s :   -   i m a g e :   m y s q l : 8 . 0   n a m e :   m y s q l   e n v :   -   n a m e :   M Y S Q L _ R O O T _ P A S S W O R D   v a l u e F r o m :   s e c r e t K e y R e f :   n a m e :   m y s q l - p a s s   k e y :   p a s s w o r d   -   n a m e :   M Y S Q L _ D A T A B A S E   v a l u e :   w o r d p r e s s   -   n a m e :   M Y S Q L _ U S E R   v a l u e :   w o r d p ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16998"
  },
  {
    "question": "What is Apply and Verify?",
    "answer": "T h e   k u s t o m i z a t i o n . y a m l   c o n t a i n s   a l l   t h e   r e s o u r c e s   f o r   d e p l o y i n g   a   W o r d P r e s s   s i t e   a n d   a   M y S Q L   d a t a b a s e .   Y o u   c a n   a p p l y   t h e   d i r e c t o r y   b y   k u b e c t l   a p p l y   - k   . /   N o w   y o u   c a n   v e r i f y   t h a t   a l l   o b j e c t s   e x i s t .   V e r i f y   t h a t   t h e   S e c r e t   e x i s t s   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   g e t   s e c r e t s   T h e   r e s p o n s e   s h o u l d   b e   l i k e   t h i s : N A M E   T Y P E   D A T A   A G E   m y s q l - p a s s - c 5 7 b b 4 t 7 m f   O p a q u e   1   9 s   V e r i f y   t h a t   a   P e r s i s t e n t V o l u m e   g o t   d y n a m i c a l l y   p r o v i s i o n e d . k u b e c t l   g e t   p v c   N o t e : I t   c a n   t a k e   u p   t o   a   f e w   m i n u t e s   f o r   t h e   P V s   t o   b e   p r o v i s i o n e d   a n d   b o u n d . T h e   r e s p o n s e   s h o u l d   b e   l i k e   t h i s : N A M E   S T A T U S   V O L U M E   C A P A C I T Y   A C C E S S   M O D E S   S T O R A G E C L A S S   A G E   m y s q l - p v - c l a i m   B o u n d   p v c - 8 c b d 7 b 2 e - 4 0 4 4 - 1 1 e 9 - b 2 b b - 4 2 0 1 0 a 8 0 0 0 0 2   2 0 G i   R W O   s t a n d a r d   7 7 s   w p - p v - c l a i m   B o u n d   p v c - 8 c d 0 d f 5 4 - 4 0 4 4 - 1 1 e 9 - b 2 b b - 4 2 0 1 0 a 8 0 0 0 0 2   2 0 G i   R W O   s t a n d a r d   7 7 s   V e r i f y   t h a t   t h e   P o d   i s   r u n n i n g   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   g e t   p o d s   N o t e : I t   c a n   t a k e   u p   t o   a   f e w   m i n u t e s   f o r   t h e   P o d ' s   S t a t u s   t o   b e   R U N N I N G . T h e   r e s p o n s e   s h o u l d   b e   l i k e   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w o r d p r e s s ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_16999"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   r e s p o n s e   s h o u l d   b e   l i k e   t h i s :   N A M E   S T A T U S   V O L U M E   C A P A C I T Y   A C C E S S   M O D E S   S T O R A G E C L A S S   A G E   m y s q l - p v - c l a i m   B o u n d   p v c - 8 c b d 7 b 2 e - 4 0 4 4 - 1 1 e 9 - b 2 b b - 4 2 0 1 0 a 8 0 0 0 0 2   2 0 G i   R W O   s t a n d a r d   7 7 s   w p - p v - c l a i m   B o u n d   p v c - 8 c d 0 d f 5 4 - 4 0 4 4 - 1 1 e 9 - b 2 b b - 4 2 0 1 0 a 8 0 0 0 0 2   2 0 G i   R W O   s t a n d a r d   7 7 s   V e r i f y   t h a t   t h e   P o d   i s   r u n n i n g   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   g e t   p o d s",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_17000"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   r e s p o n s e   s h o u l d   b e   l i k e   t h i s :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w o r d p r e s s - m y s q l - 1 8 9 4 4 1 7 6 0 8 - x 5 d z t   1 / 1   R u n n i n g   0   4 0 s   V e r i f y   t h a t   t h e   S e r v i c e   i s   r u n n i n g   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   g e t   s e r v i c e s   w o r d p r e s s   T h e   r e s p o n s e   s h o u l d   b e   l i k e   t h i s :   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   w o r d p r e s s   L o a d B a l a n c e r   1 0 . 0 . 0 . 8 9   < p e n d i n g >   8 0 : 3 2 4 0 6 / T C P   4 m",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_17001"
  },
  {
    "question": "What is Note:?",
    "answer": "R u n   t h e   f o l l o w i n g   c o m m a n d   t o   g e t   t h e   I P   A d d r e s s   f o r   t h e   W o r d P r e s s   S e r v i c e :   m i n i k u b e   s e r v i c e   w o r d p r e s s   - - u r l   T h e   r e s p o n s e   s h o u l d   b e   l i k e   t h i s :   h t t p : / / 1 . 2 . 3 . 4 : 3 2 4 0 6   C o p y   t h e   I P   a d d r e s s ,   a n d   l o a d   t h e   p a g e   i n   y o u r   b r o w s e r   t o   v i e w   y o u r   s i t e .   Y o u   s h o u l d   s e e   t h e   W o r d P r e s s   s e t   u p   p a g e   s i m i l a r   t o   t h e   f o l l o w i n g   s c r e e n s h o t .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_17002"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "R u n   t h e   f o l l o w i n g   c o m m a n d   t o   d e l e t e   y o u r   S e c r e t ,   D e p l o y m e n t s ,   S e r v i c e s   a n d   P e r s i s t e n t V o l u m e C l a i m s : k u b e c t l   d e l e t e   - k   . /   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   d e l e t e   y o u r   S e c r e t ,   D e p l o y m e n t s ,   S e r v i c e s   a n d   P e r s i s t e n t V o l u m e C l a i m s :   k u b e c t l   d e l e t e   - k   . /",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17003"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   I n t r o s p e c t i o n   a n d   D e b u g g i n g L e a r n   m o r e   a b o u t   J o b s L e a r n   m o r e   a b o u t   P o r t   F o r w a r d i n g L e a r n   h o w   t o   G e t   a   S h e l l   t o   a   C o n t a i n e r",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17004"
  },
  {
    "question": "What is 6.3 - Example: Deploying Cassandra with a StatefulSet?",
    "answer": "T h i s   t u t o r i a l   s h o w s   y o u   h o w   t o   r u n   A p a c h e   C a s s a n d r a   o n   K u b e r n e t e s .   C a s s a n d r a ,   a   d a t a b a s e ,   n e e d s   p e r s i s t e n t   s t o r a g e   t o   p r o v i d e   d a t a   d u r a b i l i t y   ( a p p l i c a t i o n   s t a t e ) .   I n   t h i s   e x a m p l e ,   a   c u s t o m   C a s s a n d r a   s e e d   p r o v i d e r   l e t s   t h e   d a t a b a s e   d i s c o v e r   n e w   C a s s a n d r a   i n s t a n c e s   a s   t h e y   j o i n   t h e   C a s s a n d r a   c l u s t e r .   S t a t e f u l S e t s   m a k e   i t   e a s i e r   t o   d e p l o y   s t a t e f u l   a p p l i c a t i o n s   i n t o   y o u r   K u b e r n e t e s   c l u s t e r .   F o r   m o r e   i n f o r m a t i o n   o n   t h e   f e a t u r e s   u s e d   i n   t h i s   t u t o r i a l ,   s e e   S t a t e f u l S e t .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_1_17005"
  },
  {
    "question": "What is Note:?",
    "answer": "C a s s a n d r a   a n d   K u b e r n e t e s   b o t h   u s e   t h e   t e r m   n o d e   t o   m e a n   a   m e m b e r   o f   a   c l u s t e r .   I n   t h i s   t u t o r i a l ,   t h e   P o d s   t h a t   b e l o n g   t o   t h e   S t a t e f u l S e t   a r e   C a s s a n d r a   n o d e s   a n d   a r e   m e m b e r s   o f   t h e   C a s s a n d r a   c l u s t e r   ( c a l l e d   a   r i n g ) .   W h e n   t h o s e   P o d s   r u n   i n   y o u r   K u b e r n e t e s   c l u s t e r ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   s c h e d u l e s   t h o s e   P o d s   o n t o   K u b e r n e t e s   N o d e s .   W h e n   a   C a s s a n d r a   n o d e   s t a r t s ,   i t   u s e s   a   s e e d   l i s t   t o   b o o t s t r a p   d i s c o v e r y   o f   o t h e r   n o d e s   i n   t h e   r i n g .   T h i s   t u t o r i a l   d e p l o y s   a   c u s t o m   C a s s a n d r a   s e e d   p r o v i d e r   t h a t   l e t s   t h e   d a t a b a s e   d i s c o v e r   n e w   C a s s a n d r a   P o d s   a s   t h e y   a p p e a r   i n s i d e   y o u r   K u b e r n e t e s   c l u s t e r .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_17006"
  },
  {
    "question": "What is Objectives?",
    "answer": "C r e a t e   a n d   v a l i d a t e   a   C a s s a n d r a   h e a d l e s s   S e r v i c e . U s e   a   S t a t e f u l S e t   t o   c r e a t e   a   C a s s a n d r a   r i n g . V a l i d a t e   t h e   S t a t e f u l S e t . M o d i f y   t h e   S t a t e f u l S e t . D e l e t e   t h e   S t a t e f u l S e t   a n d   i t s   P o d s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17007"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c o m p l e t e   t h i s   t u t o r i a l ,   y o u   s h o u l d   a l r e a d y   h a v e   a   b a s i c   f a m i l i a r i t y   w i t h   P o d s ,   S e r v i c e s ,   a n d   S t a t e f u l S e t s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17008"
  },
  {
    "question": "What is Caution:?",
    "answer": "M i n i k u b e   d e f a u l t s   t o   2 0 4 8 M B   o f   m e m o r y   a n d   2   C P U .   R u n n i n g   M i n i k u b e   w i t h   t h e   d e f a u l t   r e s o u r c e   c o n f i g u r a t i o n   r e s u l t s   i n   i n s u f f i c i e n t   r e s o u r c e   e r r o r s   d u r i n g   t h i s   t u t o r i a l .   T o   a v o i d   t h e s e   e r r o r s ,   s t a r t   M i n i k u b e   w i t h   t h e   f o l l o w i n g   s e t t i n g s :   m i n i k u b e   s t a r t   - - m e m o r y   5 1 2 0   - - c p u s = 4",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_17009"
  },
  {
    "question": "What is Creating a headless Service for Cassandra?",
    "answer": "I n   K u b e r n e t e s ,   a   S e r v i c e   d e s c r i b e s   a   s e t   o f   P o d s   t h a t   p e r f o r m   t h e   s a m e   t a s k .   T h e   f o l l o w i n g   S e r v i c e   i s   u s e d   f o r   D N S   l o o k u p s   b e t w e e n   C a s s a n d r a   P o d s   a n d   c l i e n t s   w i t h i n   y o u r   c l u s t e r :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   l a b e l s :   a p p :   c a s s a n d r a   n a m e :   c a s s a n d r a   s p e c :   c l u s t e r I P :   N o n e   p o r t s :   -   p o r t :   9 0 4 2   s e l e c t o r :   a p p :   c a s s a n d r a   C r e a t e   a   S e r v i c e   t o   t r a c k   a l l   C a s s a n d r a   S t a t e f u l S e t   m e m b e r s   f r o m   t h e   c a s s a n d r a - s e r v i c e . y a m l   f i l e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / c a s s a n d r a / c a s s a n d r a - s e r v i c e . y a m l",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17010"
  },
  {
    "question": "What is Validating (optional)?",
    "answer": "G e t   t h e   C a s s a n d r a   S e r v i c e .   k u b e c t l   g e t   s v c   c a s s a n d r a   T h e   r e s p o n s e   i s   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   c a s s a n d r a   C l u s t e r I P   N o n e   < n o n e >   9 0 4 2 / T C P   4 5 s   I f   y o u   d o n ' t   s e e   a   S e r v i c e   n a m e d   c a s s a n d r a ,   t h a t   m e a n s   c r e a t i o n   f a i l e d .   R e a d   D e b u g   S e r v i c e s   f o r   h e l p   t r o u b l e s h o o t i n g   c o m m o n   i s s u e s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17011"
  },
  {
    "question": "What is Using a StatefulSet to create a Cassandra ring?",
    "answer": "T h e   S t a t e f u l S e t   m a n i f e s t ,   i n c l u d e d   b e l o w ,   c r e a t e s   a   C a s s a n d r a   r i n g   t h a t   c o n s i s t s   o f   t h r e e   P o d s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17012"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a :   n a m e :   c a s s a n d r a   l a b e l s :   a p p :   c a s s a n d r a   s p e c :   s e r v i c e N a m e :   c a s s a n d r a   r e p l i c a s :   3   s e l e c t o r :   m a t c h L a b e l s :   a p p :   c a s s a n d r a   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   c a s s a n d r a   s p e c :   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s :   5 0 0   c o n t a i n e r s :   -   n a m e :   c a s s a n d r a   i m a g e :   g c r . i o / g o o g l e - s a m p l e s / c a s s a n d r a : v 1 3   i m a g e P u l l P o l i c y :   A l w a y s   p o r t s :   -   c o n t a i n e r P o r t :   7 0 0 0   n a m e :   i n t r a - n o d e   -   c o n t a i n e r P o r t :   7 0 0 1   n a m e :   t l s - i n t r a - n o d e   -   c o n t a i n e r P o r t :   7 1 9 9   n a m e :   j m x   -   c o n t a i n e r P o r t :   9 0 4 2   n a m e :   c q l   r e s o u r c e s :   l i m i t s :   c p u :   \" 5 0 0 m \"   m e m o r y :   1 G i   r e q u e s t s :   c p u :   \" 5 0 0 m \"   m e m o r y :   1 G i   s e c u r i t y C o n t e x t :   c a p a b i l i t i e s :   a d d :   -   I P C _ L O C K   l i f e c y c l e :   p r e S t o p :   e x e c :   c o m m a n d :   -   / b i n / s h   -   - c   -   n o d e t o o l   d r a i n   e n v :   -   n a m e :   M A X _ H E A P _ S I Z E   v a l u e :   5 1 2 M   -   n a m e :   H E A P _ N E W S I Z E   v a l u e :   1 0 0 M   -   n a m e :   C A S S A N D R A _ S E E D S   v a l u e :   \" c a s s a n d r a - 0 . c a s s a n d r a . d e f a u l t . s v c . c l u s t e r . l o c a l \"   -   n a m e :   C A S S A N D R A _ C L U S T E R _ N A M E   v a l u e :   \" K 8 D e m o \"   -   n a m e :   C A S S A N D R A _ D C   v a l u e :   \" D C 1 - K 8 D e m o \"   -   n a m e :   C A S S A N D R A _ R A C K   v a l u e :   \" R a c k 1 - K 8 D e m o \"   -   n a m e :   P O D _ I P   v a l u e F r o ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_17013"
  },
  {
    "question": "What is Validating the Cassandra StatefulSet?",
    "answer": "G e t   t h e   C a s s a n d r a   S t a t e f u l S e t : k u b e c t l   g e t   s t a t e f u l s e t   c a s s a n d r a   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o : N A M E   D E S I R E D   C U R R E N T   A G E   c a s s a n d r a   3   0   1 3 s   T h e   S t a t e f u l S e t   r e s o u r c e   d e p l o y s   P o d s   s e q u e n t i a l l y . G e t   t h e   P o d s   t o   s e e   t h e   o r d e r e d   c r e a t i o n   s t a t u s : k u b e c t l   g e t   p o d s   - l = \" a p p = c a s s a n d r a \"   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   c a s s a n d r a - 0   1 / 1   R u n n i n g   0   1 m   c a s s a n d r a - 1   0 / 1   C o n t a i n e r C r e a t i n g   0   8 s   I t   c a n   t a k e   s e v e r a l   m i n u t e s   f o r   a l l   t h r e e   P o d s   t o   d e p l o y .   O n c e   t h e y   a r e   d e p l o y e d ,   t h e   s a m e   c o m m a n d   r e t u r n s   o u t p u t   s i m i l a r   t o : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   c a s s a n d r a - 0   1 / 1   R u n n i n g   0   1 0 m   c a s s a n d r a - 1   1 / 1   R u n n i n g   0   9 m   c a s s a n d r a - 2   1 / 1   R u n n i n g   0   8 m   R u n   t h e   C a s s a n d r a   n o d e t o o l   i n s i d e   t h e   f i r s t   P o d ,   t o   d i s p l a y   t h e   s t a t u s   o f   t h e   r i n g . k u b e c t l   e x e c   - i t   c a s s a n d r a - 0   - -   n o d e t o o l   s t a t u s   T h e   r e s p o n s e   s h o u l d   l o o k   s o m e t h i n g   l i k e : D a t a c e n t e r :   D C 1 - K 8 D e m o   = = = = = = = = = = = = = = = = = = = = = =   S t a t u s = U p / D o w n   | /   S t a t e = N o r m a l / L e a v i n g / J o i n i n g / M o v i n g   - -   A d d r e s s   L o a d   T o k e n s   O w n s   ( e f f e c t i v e )   H o s t   I D   R a c k   U N   1 7 2 . 1 7 . 0 . 5   8 3 . 5 7   K i B ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17014"
  },
  {
    "question": "What is Modifying the Cassandra StatefulSet?",
    "answer": "U s e   k u b e c t l   e d i t   t o   m o d i f y   t h e   s i z e   o f   a   C a s s a n d r a   S t a t e f u l S e t .   R u n   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   e d i t   s t a t e f u l s e t   c a s s a n d r a   T h i s   c o m m a n d   o p e n s   a n   e d i t o r   i n   y o u r   t e r m i n a l .   T h e   l i n e   y o u   n e e d   t o   c h a n g e   i s   t h e   r e p l i c a s   f i e l d .   T h e   f o l l o w i n g   s a m p l e   i s   a n   e x c e r p t   o f   t h e   S t a t e f u l S e t   f i l e : #   P l e a s e   e d i t   t h e   o b j e c t   b e l o w .   L i n e s   b e g i n n i n g   w i t h   a   ' # '   w i l l   b e   i g n o r e d ,   #   a n d   a n   e m p t y   f i l e   w i l l   a b o r t   t h e   e d i t .   I f   a n   e r r o r   o c c u r s   w h i l e   s a v i n g   t h i s   f i l e   w i l l   b e   #   r e o p e n e d   w i t h   t h e   r e l e v a n t   f a i l u r e s .   #   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   2 0 1 6 - 0 8 - 1 3 T 1 8 : 4 0 : 5 8 Z   g e n e r a t i o n :   1   l a b e l s :   a p p :   c a s s a n d r a   n a m e :   c a s s a n d r a   n a m e s p a c e :   d e f a u l t   r e s o u r c e V e r s i o n :   \" 3 2 3 \"   u i d :   7 a 2 1 9 4 8 3 - 6 1 8 5 - 1 1 e 6 - a 9 1 0 - 4 2 0 1 0 a 8 a 0 f c 0   s p e c :   r e p l i c a s :   3   C h a n g e   t h e   n u m b e r   o f   r e p l i c a s   t o   4 ,   a n d   t h e n   s a v e   t h e   m a n i f e s t . T h e   S t a t e f u l S e t   n o w   s c a l e s   t o   r u n   w i t h   4   P o d s . G e t   t h e   C a s s a n d r a   S t a t e f u l S e t   t o   v e r i f y   y o u r   c h a n g e : k u b e c t l   g e t   s t a t e f u l s e t   c a s s a n d r a   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o : N A M E   D E S I R E D   C U R R E N T   A G E   c a s s a n d r a   4   4 ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17015"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "D e l e t i n g   o r   s c a l i n g   a   S t a t e f u l S e t   d o w n   d o e s   n o t   d e l e t e   t h e   v o l u m e s   a s s o c i a t e d   w i t h   t h e   S t a t e f u l S e t .   T h i s   s e t t i n g   i s   f o r   y o u r   s a f e t y   b e c a u s e   y o u r   d a t a   i s   m o r e   v a l u a b l e   t h a n   a u t o m a t i c a l l y   p u r g i n g   a l l   r e l a t e d   S t a t e f u l S e t   r e s o u r c e s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17016"
  },
  {
    "question": "What is Warning:?",
    "answer": "R u n   t h e   f o l l o w i n g   c o m m a n d s   ( c h a i n e d   t o g e t h e r   i n t o   a   s i n g l e   c o m m a n d )   t o   d e l e t e   e v e r y t h i n g   i n   t h e   C a s s a n d r a   S t a t e f u l S e t : g r a c e = $ ( k u b e c t l   g e t   p o d   c a s s a n d r a - 0   - o = j s o n p a t h = ' { . s p e c . t e r m i n a t i o n G r a c e P e r i o d S e c o n d s } ' )   \\   & &   k u b e c t l   d e l e t e   s t a t e f u l s e t   - l   a p p = c a s s a n d r a   \\   & &   e c h o   \" S l e e p i n g   $ { g r a c e }   s e c o n d s \"   1 > & 2   \\   & &   s l e e p   $ g r a c e   \\   & &   k u b e c t l   d e l e t e   p e r s i s t e n t v o l u m e c l a i m   - l   a p p = c a s s a n d r a   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   d e l e t e   t h e   S e r v i c e   y o u   s e t   u p   f o r   C a s s a n d r a : k u b e c t l   d e l e t e   s e r v i c e   - l   a p p = c a s s a n d r a   R u n   t h e   f o l l o w i n g   c o m m a n d s   ( c h a i n e d   t o g e t h e r   i n t o   a   s i n g l e   c o m m a n d )   t o   d e l e t e   e v e r y t h i n g   i n   t h e   C a s s a n d r a   S t a t e f u l S e t :   g r a c e = $ ( k u b e c t l   g e t   p o d   c a s s a n d r a - 0   - o = j s o n p a t h = ' { . s p e c . t e r m i n a t i o n G r a c e P e r i o d S e c o n d s } ' )   \\   & &   k u b e c t l   d e l e t e   s t a t e f u l s e t   - l   a p p = c a s s a n d r a   \\   & &   e c h o   \" S l e e p i n g   $ { g r a c e }   s e c o n d s \"   1 > & 2   \\   & &   s l e e p   $ g r a c e   \\   & &   k u b e c t l   d e l e t e   p e r s i s t e n t v o l u m e c l a i m   - l   a p p = c a s s a n d r a   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   d e l e t e   t h e   S e r v i c e   y o u   s e t   u p   f o r   C a s s a n d r a :   k u b e c t l   d e l e t e   s e r v i c e   - l   a p p = c a s s a n d r a",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_17017"
  },
  {
    "question": "What is Cassandra container environment variables?",
    "answer": "T h e   P o d s   i n   t h i s   t u t o r i a l   u s e   t h e   g c r . i o / g o o g l e - s a m p l e s / c a s s a n d r a : v 1 3   i m a g e   f r o m   G o o g l e ' s   c o n t a i n e r   r e g i s t r y .   T h e   D o c k e r   i m a g e   a b o v e   i s   b a s e d   o n   d e b i a n - b a s e   a n d   i n c l u d e s   O p e n J D K   8 .   T h i s   i m a g e   i n c l u d e s   a   s t a n d a r d   C a s s a n d r a   i n s t a l l a t i o n   f r o m   t h e   A p a c h e   D e b i a n   r e p o .   B y   u s i n g   e n v i r o n m e n t   v a r i a b l e s   y o u   c a n   c h a n g e   v a l u e s   t h a t   a r e   i n s e r t e d   i n t o   c a s s a n d r a . y a m l .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17018"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   S c a l e   a   S t a t e f u l S e t . L e a r n   m o r e   a b o u t   t h e   K u b e r n e t e s S e e d P r o v i d e r S e e   m o r e   c u s t o m   S e e d   P r o v i d e r   C o n f i g u r a t i o n s",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17019"
  },
  {
    "question": "What is 6.4 - Running ZooKeeper, A Distributed System Coordinator?",
    "answer": "T h i s   t u t o r i a l   d e m o n s t r a t e s   r u n n i n g   A p a c h e   Z o o k e e p e r   o n   K u b e r n e t e s   u s i n g   S t a t e f u l S e t s ,   P o d D i s r u p t i o n B u d g e t s ,   a n d   P o d A n t i A f f i n i t y .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_1_17020"
  },
  {
    "question": "What is Before you begin?",
    "answer": "B e f o r e   s t a r t i n g   t h i s   t u t o r i a l ,   y o u   s h o u l d   b e   f a m i l i a r   w i t h   t h e   f o l l o w i n g   K u b e r n e t e s   c o n c e p t s :   P o d s C l u s t e r   D N S H e a d l e s s   S e r v i c e s P e r s i s t e n t V o l u m e s P e r s i s t e n t V o l u m e   P r o v i s i o n i n g S t a t e f u l S e t s P o d D i s r u p t i o n B u d g e t s P o d A n t i A f f i n i t y k u b e c t l   C L I   Y o u   m u s t   h a v e   a   c l u s t e r   w i t h   a t   l e a s t   f o u r   n o d e s ,   a n d   e a c h   n o d e   r e q u i r e s   a t   l e a s t   2   C P U s   a n d   4   G i B   o f   m e m o r y .   I n   t h i s   t u t o r i a l   y o u   w i l l   c o r d o n   a n d   d r a i n   t h e   c l u s t e r ' s   n o d e s .   T h i s   m e a n s   t h a t   t h e   c l u s t e r   w i l l   t e r m i n a t e   a n d   e v i c t   a l l   P o d s   o n   i t s   n o d e s ,   a n d   t h e   n o d e s   w i l l   t e m p o r a r i l y   b e c o m e   u n s c h e d u l a b l e .   Y o u   s h o u l d   u s e   a   d e d i c a t e d   c l u s t e r   f o r   t h i s   t u t o r i a l ,   o r   y o u   s h o u l d   e n s u r e   t h a t   t h e   d i s r u p t i o n   y o u   c a u s e   w i l l   n o t   i n t e r f e r e   w i t h   o t h e r   t e n a n t s .   T h i s   t u t o r i a l   a s s u m e s   t h a t   y o u   h a v e   c o n f i g u r e d   y o u r   c l u s t e r   t o   d y n a m i c a l l y   p r o v i s i o n   P e r s i s t e n t V o l u m e s .   I f   y o u r   c l u s t e r   i s   n o t   c o n f i g u r e d   t o   d o   s o ,   y o u   w i l l   h a v e   t o   m a n u a l l y   p r o v i s i o n   t h r e e   2 0   G i B   v o l u m e s   b e f o r e   s t a r t i n g   t h i s   t u t o r i a l .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17021"
  },
  {
    "question": "What is Objectives?",
    "answer": "A f t e r   t h i s   t u t o r i a l ,   y o u   w i l l   k n o w   t h e   f o l l o w i n g .   H o w   t o   d e p l o y   a   Z o o K e e p e r   e n s e m b l e   u s i n g   S t a t e f u l S e t . H o w   t o   c o n s i s t e n t l y   c o n f i g u r e   t h e   e n s e m b l e . H o w   t o   s p r e a d   t h e   d e p l o y m e n t   o f   Z o o K e e p e r   s e r v e r s   i n   t h e   e n s e m b l e . H o w   t o   u s e   P o d D i s r u p t i o n B u d g e t s   t o   e n s u r e   s e r v i c e   a v a i l a b i l i t y   d u r i n g   p l a n n e d   m a i n t e n a n c e .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17022"
  },
  {
    "question": "What is ZooKeeper?",
    "answer": "A p a c h e   Z o o K e e p e r   i s   a   d i s t r i b u t e d ,   o p e n - s o u r c e   c o o r d i n a t i o n   s e r v i c e   f o r   d i s t r i b u t e d   a p p l i c a t i o n s .   Z o o K e e p e r   a l l o w s   y o u   t o   r e a d ,   w r i t e ,   a n d   o b s e r v e   u p d a t e s   t o   d a t a .   D a t a   a r e   o r g a n i z e d   i n   a   f i l e   s y s t e m   l i k e   h i e r a r c h y   a n d   r e p l i c a t e d   t o   a l l   Z o o K e e p e r   s e r v e r s   i n   t h e   e n s e m b l e   ( a   s e t   o f   Z o o K e e p e r   s e r v e r s ) .   A l l   o p e r a t i o n s   o n   d a t a   a r e   a t o m i c   a n d   s e q u e n t i a l l y   c o n s i s t e n t .   Z o o K e e p e r   e n s u r e s   t h i s   b y   u s i n g   t h e   Z a b   c o n s e n s u s   p r o t o c o l   t o   r e p l i c a t e   a   s t a t e   m a c h i n e   a c r o s s   a l l   s e r v e r s   i n   t h e   e n s e m b l e .   T h e   e n s e m b l e   u s e s   t h e   Z a b   p r o t o c o l   t o   e l e c t   a   l e a d e r ,   a n d   t h e   e n s e m b l e   c a n n o t   w r i t e   d a t a   u n t i l   t h a t   e l e c t i o n   i s   c o m p l e t e .   O n c e   c o m p l e t e ,   t h e   e n s e m b l e   u s e s   Z a b   t o   e n s u r e   t h a t   i t   r e p l i c a t e s   a l l   w r i t e s   t o   a   q u o r u m   b e f o r e   i t   a c k n o w l e d g e s   a n d   m a k e s   t h e m   v i s i b l e   t o   c l i e n t s .   W i t h o u t   r e s p e c t   t o   w e i g h t e d   q u o r u m s ,   a   q u o r u m   i s   a   m a j o r i t y   c o m p o n e n t   o f   t h e   e n s e m b l e   c o n t a i n i n g   t h e   c u r r e n t   l e a d e r .   F o r   i n s t a n c e ,   i f   t h e   e n s e m b l e   h a s   t h r e e   s e r v e r s ,   a   c o m p o n e n t   t h a t   c o n t a i n s   t h e   l e a d e r   a n d   o n e   o t h e r   s e r v e r   c o n s t i t u t e s   a   q u o r u ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17023"
  },
  {
    "question": "What is Creating a ZooKeeper ensemble?",
    "answer": "T h e   m a n i f e s t   b e l o w   c o n t a i n s   a   H e a d l e s s   S e r v i c e ,   a   S e r v i c e ,   a   P o d D i s r u p t i o n B u d g e t ,   a n d   a   S t a t e f u l S e t .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   z k - h s   l a b e l s :   a p p :   z k   s p e c :   p o r t s :   -   p o r t :   2 8 8 8   n a m e :   s e r v e r   -   p o r t :   3 8 8 8   n a m e :   l e a d e r - e l e c t i o n   c l u s t e r I P :   N o n e   s e l e c t o r :   a p p :   z k   - - -   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   z k - c s   l a b e l s :   a p p :   z k   s p e c :   p o r t s :   -   p o r t :   2 1 8 1   n a m e :   c l i e n t   s e l e c t o r :   a p p :   z k   - - -   a p i V e r s i o n :   p o l i c y / v 1   k i n d :   P o d D i s r u p t i o n B u d g e t   m e t a d a t a :   n a m e :   z k - p d b   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   z k   m a x U n a v a i l a b l e :   1   - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a :   n a m e :   z k   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   z k   s e r v i c e N a m e :   z k - h s   r e p l i c a s :   3   u p d a t e S t r a t e g y :   t y p e :   R o l l i n g U p d a t e   p o d M a n a g e m e n t P o l i c y :   O r d e r e d R e a d y   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   z k   s p e c :   a f f i n i t y :   p o d A n t i A f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   -   l a b e l S e l e c t o r :   m a t c h E x p r e s s i o n s :   -   k e y :   \" a p p \"   o p e r a t o r :   I n   v a l u e s :   -   z k   t o p o l o g y K e y :   \" k u b e r n e t e s . i o / h o s t n a m e \"   c o n t a i n e r s :   -   n a m e :   k u b e r n e t e s - z o o k e e p ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17024"
  },
  {
    "question": "What is Facilitating leader election?",
    "answer": "B e c a u s e   t h e r e   i s   n o   t e r m i n a t i n g   a l g o r i t h m   f o r   e l e c t i n g   a   l e a d e r   i n   a n   a n o n y m o u s   n e t w o r k ,   Z a b   r e q u i r e s   e x p l i c i t   m e m b e r s h i p   c o n f i g u r a t i o n   t o   p e r f o r m   l e a d e r   e l e c t i o n .   E a c h   s e r v e r   i n   t h e   e n s e m b l e   n e e d s   t o   h a v e   a   u n i q u e   i d e n t i f i e r ,   a l l   s e r v e r s   n e e d   t o   k n o w   t h e   g l o b a l   s e t   o f   i d e n t i f i e r s ,   a n d   e a c h   i d e n t i f i e r   n e e d s   t o   b e   a s s o c i a t e d   w i t h   a   n e t w o r k   a d d r e s s .   U s e   k u b e c t l   e x e c   t o   g e t   t h e   h o s t n a m e s   o f   t h e   P o d s   i n   t h e   z k   S t a t e f u l S e t .   f o r   i   i n   0   1   2 ;   d o   k u b e c t l   e x e c   z k - $ i   - -   h o s t n a m e ;   d o n e   T h e   S t a t e f u l S e t   c o n t r o l l e r   p r o v i d e s   e a c h   P o d   w i t h   a   u n i q u e   h o s t n a m e   b a s e d   o n   i t s   o r d i n a l   i n d e x .   T h e   h o s t n a m e s   t a k e   t h e   f o r m   o f   < s t a t e f u l s e t   n a m e > - < o r d i n a l   i n d e x > .   B e c a u s e   t h e   r e p l i c a s   f i e l d   o f   t h e   z k   S t a t e f u l S e t   i s   s e t   t o   3 ,   t h e   S e t ' s   c o n t r o l l e r   c r e a t e s   t h r e e   P o d s   w i t h   t h e i r   h o s t n a m e s   s e t   t o   z k - 0 ,   z k - 1 ,   a n d   z k - 2 .   z k - 0   z k - 1   z k - 2   T h e   s e r v e r s   i n   a   Z o o K e e p e r   e n s e m b l e   u s e   n a t u r a l   n u m b e r s   a s   u n i q u e   i d e n t i f i e r s ,   a n d   s t o r e   e a c h   s e r v e r ' s   i d e n t i f i e r   i n   a   f i l e   c a l l e d   m y i d   i n   t h e   s e r v e r ' s   d a t a   d i r e c t o r y .   T o   e x a m i n e   t h e   c o n t e n t s ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17025"
  },
  {
    "question": "What is Achieving consensus?",
    "answer": "C o n s e n s u s   p r o t o c o l s   r e q u i r e   t h a t   t h e   i d e n t i f i e r s   o f   e a c h   p a r t i c i p a n t   b e   u n i q u e .   N o   t w o   p a r t i c i p a n t s   i n   t h e   Z a b   p r o t o c o l   s h o u l d   c l a i m   t h e   s a m e   u n i q u e   i d e n t i f i e r .   T h i s   i s   n e c e s s a r y   t o   a l l o w   t h e   p r o c e s s e s   i n   t h e   s y s t e m   t o   a g r e e   o n   w h i c h   p r o c e s s e s   h a v e   c o m m i t t e d   w h i c h   d a t a .   I f   t w o   P o d s   a r e   l a u n c h e d   w i t h   t h e   s a m e   o r d i n a l ,   t w o   Z o o K e e p e r   s e r v e r s   w o u l d   b o t h   i d e n t i f y   t h e m s e l v e s   a s   t h e   s a m e   s e r v e r .   k u b e c t l   g e t   p o d s   - w   - l   a p p = z k   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   z k - 0   0 / 1   P e n d i n g   0   0 s   z k - 0   0 / 1   P e n d i n g   0   0 s   z k - 0   0 / 1   C o n t a i n e r C r e a t i n g   0   0 s   z k - 0   0 / 1   R u n n i n g   0   1 9 s   z k - 0   1 / 1   R u n n i n g   0   4 0 s   z k - 1   0 / 1   P e n d i n g   0   0 s   z k - 1   0 / 1   P e n d i n g   0   0 s   z k - 1   0 / 1   C o n t a i n e r C r e a t i n g   0   0 s   z k - 1   0 / 1   R u n n i n g   0   1 8 s   z k - 1   1 / 1   R u n n i n g   0   4 0 s   z k - 2   0 / 1   P e n d i n g   0   0 s   z k - 2   0 / 1   P e n d i n g   0   0 s   z k - 2   0 / 1   C o n t a i n e r C r e a t i n g   0   0 s   z k - 2   0 / 1   R u n n i n g   0   1 9 s   z k - 2   1 / 1   R u n n i n g   0   4 0 s   T h e   A   r e c o r d s   f o r   e a c h   P o d   a r e   e n t e r e d   w h e n   t h e   P o d   b e c o m e s   R e a d y .   T h e r e f o r e ,   t h e   F Q D N s   o f   t h e   Z o o K e e p e r   s e r v e r s   w i l l   r e s o l v e   t o   a   s i n g l e   e n d p o i n t ,   a n d   t h a t   e n d p o i n t   w i l l   b e   t h e   u n i ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17026"
  },
  {
    "question": "What is Sanity testing the ensemble?",
    "answer": "T h e   m o s t   b a s i c   s a n i t y   t e s t   i s   t o   w r i t e   d a t a   t o   o n e   Z o o K e e p e r   s e r v e r   a n d   t o   r e a d   t h e   d a t a   f r o m   a n o t h e r .   T h e   c o m m a n d   b e l o w   e x e c u t e s   t h e   z k C l i . s h   s c r i p t   t o   w r i t e   w o r l d   t o   t h e   p a t h   / h e l l o   o n   t h e   z k - 0   P o d   i n   t h e   e n s e m b l e .   k u b e c t l   e x e c   z k - 0   - -   z k C l i . s h   c r e a t e   / h e l l o   w o r l d   W A T C H E R : :   W a t c h e d E v e n t   s t a t e : S y n c C o n n e c t e d   t y p e : N o n e   p a t h : n u l l   C r e a t e d   / h e l l o   T o   g e t   t h e   d a t a   f r o m   t h e   z k - 1   P o d   u s e   t h e   f o l l o w i n g   c o m m a n d .   k u b e c t l   e x e c   z k - 1   - -   z k C l i . s h   g e t   / h e l l o   T h e   d a t a   t h a t   y o u   c r e a t e d   o n   z k - 0   i s   a v a i l a b l e   o n   a l l   t h e   s e r v e r s   i n   t h e   e n s e m b l e .   W A T C H E R : :   W a t c h e d E v e n t   s t a t e : S y n c C o n n e c t e d   t y p e : N o n e   p a t h : n u l l   w o r l d   c Z x i d   =   0 x 1 0 0 0 0 0 0 0 2   c t i m e   =   T h u   D e c   0 8   1 5 : 1 3 : 3 0   U T C   2 0 1 6   m Z x i d   =   0 x 1 0 0 0 0 0 0 0 2   m t i m e   =   T h u   D e c   0 8   1 5 : 1 3 : 3 0   U T C   2 0 1 6   p Z x i d   =   0 x 1 0 0 0 0 0 0 0 2   c v e r s i o n   =   0   d a t a V e r s i o n   =   0   a c l V e r s i o n   =   0   e p h e m e r a l O w n e r   =   0 x 0   d a t a L e n g t h   =   5   n u m C h i l d r e n   =   0",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17027"
  },
  {
    "question": "What is Providing durable storage?",
    "answer": "A s   m e n t i o n e d   i n   t h e   Z o o K e e p e r   B a s i c s   s e c t i o n ,   Z o o K e e p e r   c o m m i t s   a l l   e n t r i e s   t o   a   d u r a b l e   W A L ,   a n d   p e r i o d i c a l l y   w r i t e s   s n a p s h o t s   i n   m e m o r y   s t a t e ,   t o   s t o r a g e   m e d i a .   U s i n g   W A L s   t o   p r o v i d e   d u r a b i l i t y   i s   a   c o m m o n   t e c h n i q u e   f o r   a p p l i c a t i o n s   t h a t   u s e   c o n s e n s u s   p r o t o c o l s   t o   a c h i e v e   a   r e p l i c a t e d   s t a t e   m a c h i n e .   U s e   t h e   k u b e c t l   d e l e t e   c o m m a n d   t o   d e l e t e   t h e   z k   S t a t e f u l S e t .   k u b e c t l   d e l e t e   s t a t e f u l s e t   z k   s t a t e f u l s e t . a p p s   \" z k \"   d e l e t e d   W a t c h   t h e   t e r m i n a t i o n   o f   t h e   P o d s   i n   t h e   S t a t e f u l S e t .   k u b e c t l   g e t   p o d s   - w   - l   a p p = z k   W h e n   z k - 0   i f   f u l l y   t e r m i n a t e d ,   u s e   C T R L - C   t o   t e r m i n a t e   k u b e c t l .   z k - 2   1 / 1   T e r m i n a t i n g   0   9 m   z k - 0   1 / 1   T e r m i n a t i n g   0   1 1 m   z k - 1   1 / 1   T e r m i n a t i n g   0   1 0 m   z k - 2   0 / 1   T e r m i n a t i n g   0   9 m   z k - 2   0 / 1   T e r m i n a t i n g   0   9 m   z k - 2   0 / 1   T e r m i n a t i n g   0   9 m   z k - 1   0 / 1   T e r m i n a t i n g   0   1 0 m   z k - 1   0 / 1   T e r m i n a t i n g   0   1 0 m   z k - 1   0 / 1   T e r m i n a t i n g   0   1 0 m   z k - 0   0 / 1   T e r m i n a t i n g   0   1 1 m   z k - 0   0 / 1   T e r m i n a t i n g   0   1 1 m   z k - 0   0 / 1   T e r m i n a t i n g   0   1 1 m   R e a p p l y   t h e   m a n i f e s t   i n   z o o k e e p e r . y a m l .   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / z o o k e e p e r / z o o k e ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17028"
  },
  {
    "question": "What is Ensuring consistent configuration?",
    "answer": "A s   n o t e d   i n   t h e   F a c i l i t a t i n g   L e a d e r   E l e c t i o n   a n d   A c h i e v i n g   C o n s e n s u s   s e c t i o n s ,   t h e   s e r v e r s   i n   a   Z o o K e e p e r   e n s e m b l e   r e q u i r e   c o n s i s t e n t   c o n f i g u r a t i o n   t o   e l e c t   a   l e a d e r   a n d   f o r m   a   q u o r u m .   T h e y   a l s o   r e q u i r e   c o n s i s t e n t   c o n f i g u r a t i o n   o f   t h e   Z a b   p r o t o c o l   i n   o r d e r   f o r   t h e   p r o t o c o l   t o   w o r k   c o r r e c t l y   o v e r   a   n e t w o r k .   I n   o u r   e x a m p l e   w e   a c h i e v e   c o n s i s t e n t   c o n f i g u r a t i o n   b y   e m b e d d i n g   t h e   c o n f i g u r a t i o n   d i r e c t l y   i n t o   t h e   m a n i f e s t .   G e t   t h e   z k   S t a t e f u l S e t .   k u b e c t l   g e t   s t s   z k   - o   y a m l   …   c o m m a n d :   -   s h   -   - c   -   \" s t a r t - z o o k e e p e r   \\   - - s e r v e r s = 3   \\   - - d a t a _ d i r = / v a r / l i b / z o o k e e p e r / d a t a   \\   - - d a t a _ l o g _ d i r = / v a r / l i b / z o o k e e p e r / d a t a / l o g   \\   - - c o n f _ d i r = / o p t / z o o k e e p e r / c o n f   \\   - - c l i e n t _ p o r t = 2 1 8 1   \\   - - e l e c t i o n _ p o r t = 3 8 8 8   \\   - - s e r v e r _ p o r t = 2 8 8 8   \\   - - t i c k _ t i m e = 2 0 0 0   \\   - - i n i t _ l i m i t = 1 0   \\   - - s y n c _ l i m i t = 5   \\   - - h e a p = 5 1 2 M   \\   - - m a x _ c l i e n t _ c n x n s = 6 0   \\   - - s n a p _ r e t a i n _ c o u n t = 3   \\   - - p u r g e _ i n t e r v a l = 1 2   \\   - - m a x _ s e s s i o n _ t i m e o u t = 4 0 0 0 0   \\   - - m i n _ s e s s i o n _ t i m e o u t = 4 0 0 0   \\   - - l o g _ l e v e l = I N F O \"   …   T h e   c o m m a n d   u s e d   t o   s t a r t   t h e   Z o o K e e p e r   s e r v e r s   p a s s e d   t h e   c o n f i g u r a t i o n   a s   c o ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17029"
  },
  {
    "question": "What is Configuring logging?",
    "answer": "O n e   o f   t h e   f i l e s   g e n e r a t e d   b y   t h e   z k G e n C o n f i g . s h   s c r i p t   c o n t r o l s   Z o o K e e p e r ' s   l o g g i n g .   Z o o K e e p e r   u s e s   L o g 4 j ,   a n d ,   b y   d e f a u l t ,   i t   u s e s   a   t i m e   a n d   s i z e   b a s e d   r o l l i n g   f i l e   a p p e n d e r   f o r   i t s   l o g g i n g   c o n f i g u r a t i o n .   U s e   t h e   c o m m a n d   b e l o w   t o   g e t   t h e   l o g g i n g   c o n f i g u r a t i o n   f r o m   o n e   o f   P o d s   i n   t h e   z k   S t a t e f u l S e t .   k u b e c t l   e x e c   z k - 0   c a t   / u s r / e t c / z o o k e e p e r / l o g 4 j . p r o p e r t i e s   T h e   l o g g i n g   c o n f i g u r a t i o n   b e l o w   w i l l   c a u s e   t h e   Z o o K e e p e r   p r o c e s s   t o   w r i t e   a l l   o f   i t s   l o g s   t o   t h e   s t a n d a r d   o u t p u t   f i l e   s t r e a m .   z o o k e e p e r . r o o t . l o g g e r = C O N S O L E   z o o k e e p e r . c o n s o l e . t h r e s h o l d = I N F O   l o g 4 j . r o o t L o g g e r = $ { z o o k e e p e r . r o o t . l o g g e r }   l o g 4 j . a p p e n d e r . C O N S O L E = o r g . a p a c h e . l o g 4 j . C o n s o l e A p p e n d e r   l o g 4 j . a p p e n d e r . C O N S O L E . T h r e s h o l d = $ { z o o k e e p e r . c o n s o l e . t h r e s h o l d }   l o g 4 j . a p p e n d e r . C O N S O L E . l a y o u t = o r g . a p a c h e . l o g 4 j . P a t t e r n L a y o u t   l o g 4 j . a p p e n d e r . C O N S O L E . l a y o u t . C o n v e r s i o n P a t t e r n = % d { I S O 8 6 0 1 }   [ m y i d : % X { m y i d } ]   -   % - 5 p   [ % t : % C { 1 } @ % L ]   -   % m % n   T h i s   i s   t h e   s i m p l e s t   p o s s i b l e   w a y   t o   s a f e l y   l o g   i n s i d e   t h e   c o n t a i n e r .   B e c a u s e   t h e   a p p l i c a t i o n s   w r i t e   l o g s   t o   s t a n d a r d   o u t ,   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17030"
  },
  {
    "question": "What is Configuring a non-privileged user?",
    "answer": "T h e   b e s t   p r a c t i c e s   t o   a l l o w   a n   a p p l i c a t i o n   t o   r u n   a s   a   p r i v i l e g e d   u s e r   i n s i d e   o f   a   c o n t a i n e r   a r e   a   m a t t e r   o f   d e b a t e .   I f   y o u r   o r g a n i z a t i o n   r e q u i r e s   t h a t   a p p l i c a t i o n s   r u n   a s   a   n o n - p r i v i l e g e d   u s e r   y o u   c a n   u s e   a   S e c u r i t y C o n t e x t   t o   c o n t r o l   t h e   u s e r   t h a t   t h e   e n t r y   p o i n t   r u n s   a s .   T h e   z k   S t a t e f u l S e t ' s   P o d   t e m p l a t e   c o n t a i n s   a   S e c u r i t y C o n t e x t .   s e c u r i t y C o n t e x t :   r u n A s U s e r :   1 0 0 0   f s G r o u p :   1 0 0 0   I n   t h e   P o d s '   c o n t a i n e r s ,   U I D   1 0 0 0   c o r r e s p o n d s   t o   t h e   z o o k e e p e r   u s e r   a n d   G I D   1 0 0 0   c o r r e s p o n d s   t o   t h e   z o o k e e p e r   g r o u p .   G e t   t h e   Z o o K e e p e r   p r o c e s s   i n f o r m a t i o n   f r o m   t h e   z k - 0   P o d .   k u b e c t l   e x e c   z k - 0   - -   p s   - e l f   A s   t h e   r u n A s U s e r   f i e l d   o f   t h e   s e c u r i t y C o n t e x t   o b j e c t   i s   s e t   t o   1 0 0 0 ,   i n s t e a d   o f   r u n n i n g   a s   r o o t ,   t h e   Z o o K e e p e r   p r o c e s s   r u n s   a s   t h e   z o o k e e p e r   u s e r .   F   S   U I D   P I D   P P I D   C   P R I   N I   A D D R   S Z   W C H A N   S T I M E   T T Y   T I M E   C M D   4   S   z o o k e e p +   1   0   0   8 0   0   -   1 1 2 7   -   2 0 : 4 6   ?   0 0 : 0 0 : 0 0   s h   - c   z k G e n C o n f i g . s h   & &   z k S e r v e r . s h   s t a r t - f o r e g r o u n d   0   S   z o o k e e p +   2 7   1   0   8 0   0   -   1 1 5 5 5 5 6   -   2 0 : 4 6   ?   0 0 : 0 0 : 1 9   / u s r / l i b / j v m / j a v a - 8 - o p e n j d k - a m d 6 4 / b i n / j a v a   - D z o o k e e ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17031"
  },
  {
    "question": "What is Managing the ZooKeeper process?",
    "answer": "T h e   Z o o K e e p e r   d o c u m e n t a t i o n   m e n t i o n s   t h a t   \" Y o u   w i l l   w a n t   t o   h a v e   a   s u p e r v i s o r y   p r o c e s s   t h a t   m a n a g e s   e a c h   o f   y o u r   Z o o K e e p e r   s e r v e r   p r o c e s s e s   ( J V M ) . \"   U t i l i z i n g   a   w a t c h d o g   ( s u p e r v i s o r y   p r o c e s s )   t o   r e s t a r t   f a i l e d   p r o c e s s e s   i n   a   d i s t r i b u t e d   s y s t e m   i s   a   c o m m o n   p a t t e r n .   W h e n   d e p l o y i n g   a n   a p p l i c a t i o n   i n   K u b e r n e t e s ,   r a t h e r   t h a n   u s i n g   a n   e x t e r n a l   u t i l i t y   a s   a   s u p e r v i s o r y   p r o c e s s ,   y o u   s h o u l d   u s e   K u b e r n e t e s   a s   t h e   w a t c h d o g   f o r   y o u r   a p p l i c a t i o n .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17032"
  },
  {
    "question": "What is Updating the ensemble?",
    "answer": "T h e   z k   S t a t e f u l S e t   i s   c o n f i g u r e d   t o   u s e   t h e   R o l l i n g U p d a t e   u p d a t e   s t r a t e g y .   Y o u   c a n   u s e   k u b e c t l   p a t c h   t o   u p d a t e   t h e   n u m b e r   o f   c p u s   a l l o c a t e d   t o   t h e   s e r v e r s .   k u b e c t l   p a t c h   s t s   z k   - - t y p e = ' j s o n '   - p = ' [ { \" o p \" :   \" r e p l a c e \" ,   \" p a t h \" :   \" / s p e c / t e m p l a t e / s p e c / c o n t a i n e r s / 0 / r e s o u r c e s / r e q u e s t s / c p u \" ,   \" v a l u e \" : \" 0 . 3 \" } ] '   s t a t e f u l s e t . a p p s / z k   p a t c h e d   U s e   k u b e c t l   r o l l o u t   s t a t u s   t o   w a t c h   t h e   s t a t u s   o f   t h e   u p d a t e .   k u b e c t l   r o l l o u t   s t a t u s   s t s / z k   w a i t i n g   f o r   s t a t e f u l s e t   r o l l i n g   u p d a t e   t o   c o m p l e t e   0   p o d s   a t   r e v i s i o n   z k - 5 d b 4 4 9 9 6 6 4 . . .   W a i t i n g   f o r   1   p o d s   t o   b e   r e a d y . . .   W a i t i n g   f o r   1   p o d s   t o   b e   r e a d y . . .   w a i t i n g   f o r   s t a t e f u l s e t   r o l l i n g   u p d a t e   t o   c o m p l e t e   1   p o d s   a t   r e v i s i o n   z k - 5 d b 4 4 9 9 6 6 4 . . .   W a i t i n g   f o r   1   p o d s   t o   b e   r e a d y . . .   W a i t i n g   f o r   1   p o d s   t o   b e   r e a d y . . .   w a i t i n g   f o r   s t a t e f u l s e t   r o l l i n g   u p d a t e   t o   c o m p l e t e   2   p o d s   a t   r e v i s i o n   z k - 5 d b 4 4 9 9 6 6 4 . . .   W a i t i n g   f o r   1   p o d s   t o   b e   r e a d y . . .   W a i t i n g   f o r   1   p o d s   t o   b e   r e a d y . . .   s t a t e f u l s e t   r o l l i n g   u p d a t e   c o m p l e t e   3   p o d s   a t   r e v i s i o n   z k - 5 d b 4 4 9 9 6 6 4 . . .   T h i s   t e r m i n a t e s   t h e   P o d s ,   o n e   a t   a   t i m e ,   i n   r ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17033"
  },
  {
    "question": "What is Handling process failure?",
    "answer": "R e s t a r t   P o l i c i e s   c o n t r o l   h o w   K u b e r n e t e s   h a n d l e s   p r o c e s s   f a i l u r e s   f o r   t h e   e n t r y   p o i n t   o f   t h e   c o n t a i n e r   i n   a   P o d .   F o r   P o d s   i n   a   S t a t e f u l S e t ,   t h e   o n l y   a p p r o p r i a t e   R e s t a r t P o l i c y   i s   A l w a y s ,   a n d   t h i s   i s   t h e   d e f a u l t   v a l u e .   F o r   s t a t e f u l   a p p l i c a t i o n s   y o u   s h o u l d   n e v e r   o v e r r i d e   t h e   d e f a u l t   p o l i c y .   U s e   t h e   f o l l o w i n g   c o m m a n d   t o   e x a m i n e   t h e   p r o c e s s   t r e e   f o r   t h e   Z o o K e e p e r   s e r v e r   r u n n i n g   i n   t h e   z k - 0   P o d .   k u b e c t l   e x e c   z k - 0   - -   p s   - e f   T h e   c o m m a n d   u s e d   a s   t h e   c o n t a i n e r ' s   e n t r y   p o i n t   h a s   P I D   1 ,   a n d   t h e   Z o o K e e p e r   p r o c e s s ,   a   c h i l d   o f   t h e   e n t r y   p o i n t ,   h a s   P I D   2 7 .   U I D   P I D   P P I D   C   S T I M E   T T Y   T I M E   C M D   z o o k e e p +   1   0   0   1 5 : 0 3   ?   0 0 : 0 0 : 0 0   s h   - c   z k G e n C o n f i g . s h   & &   z k S e r v e r . s h   s t a r t - f o r e g r o u n d   z o o k e e p +   2 7   1   0   1 5 : 0 3   ?   0 0 : 0 0 : 0 3   / u s r / l i b / j v m / j a v a - 8 - o p e n j d k - a m d 6 4 / b i n / j a v a   - D z o o k e e p e r . l o g . d i r = / v a r / l o g / z o o k e e p e r   - D z o o k e e p e r . r o o t . l o g g e r = I N F O , C O N S O L E   - c p   / u s r / b i n / . . / b u i l d / c l a s s e s : / u s r / b i n / . . / b u i l d / l i b / * . j a r : / u s r / b i n / . . / s h a r e / z o o k e e p e r / z o o k e e p e r - 3 . 4 . 9 . j a r : / u s r / b i n / . . / s h a r e / z o o k e e p e r / s l f 4 j - l o g 4 j 1 2 - 1 . 6 . 1 . j a r : / u s r / b i n / . . / s h a r e / z o o k e e p ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17034"
  },
  {
    "question": "What is Testing for liveness?",
    "answer": "C o n f i g u r i n g   y o u r   a p p l i c a t i o n   t o   r e s t a r t   f a i l e d   p r o c e s s e s   i s   n o t   e n o u g h   t o   k e e p   a   d i s t r i b u t e d   s y s t e m   h e a l t h y .   T h e r e   a r e   s c e n a r i o s   w h e r e   a   s y s t e m ' s   p r o c e s s e s   c a n   b e   b o t h   a l i v e   a n d   u n r e s p o n s i v e ,   o r   o t h e r w i s e   u n h e a l t h y .   Y o u   s h o u l d   u s e   l i v e n e s s   p r o b e s   t o   n o t i f y   K u b e r n e t e s   t h a t   y o u r   a p p l i c a t i o n ' s   p r o c e s s e s   a r e   u n h e a l t h y   a n d   i t   s h o u l d   r e s t a r t   t h e m .   T h e   P o d   t e m p l a t e   f o r   t h e   z k   S t a t e f u l S e t   s p e c i f i e s   a   l i v e n e s s   p r o b e .   l i v e n e s s P r o b e :   e x e c :   c o m m a n d :   -   s h   -   - c   -   \" z o o k e e p e r - r e a d y   2 1 8 1 \"   i n i t i a l D e l a y S e c o n d s :   1 5   t i m e o u t S e c o n d s :   5   T h e   p r o b e   c a l l s   a   b a s h   s c r i p t   t h a t   u s e s   t h e   Z o o K e e p e r   r u o k   f o u r   l e t t e r   w o r d   t o   t e s t   t h e   s e r v e r ' s   h e a l t h .   O K = $ ( e c h o   r u o k   |   n c   1 2 7 . 0 . 0 . 1   $ 1 )   i f   [   \" $ O K \"   = =   \" i m o k \"   ] ;   t h e n   e x i t   0   e l s e   e x i t   1   f i   I n   o n e   t e r m i n a l   w i n d o w ,   u s e   t h e   f o l l o w i n g   c o m m a n d   t o   w a t c h   t h e   P o d s   i n   t h e   z k   S t a t e f u l S e t .   k u b e c t l   g e t   p o d   - w   - l   a p p = z k   I n   a n o t h e r   w i n d o w ,   u s i n g   t h e   f o l l o w i n g   c o m m a n d   t o   d e l e t e   t h e   z o o k e e p e r - r e a d y   s c r i p t   f r o m   t h e   f i l e   s y s t e m   o f   P o d   z k - 0 .   k u b e c t l   e x e c   z k - 0   - -   r m   / o p t / z o o k e e p e r / b i n / z o o k e e p e r - ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17035"
  },
  {
    "question": "What is Testing for readiness?",
    "answer": "R e a d i n e s s   i s   n o t   t h e   s a m e   a s   l i v e n e s s .   I f   a   p r o c e s s   i s   a l i v e ,   i t   i s   s c h e d u l e d   a n d   h e a l t h y .   I f   a   p r o c e s s   i s   r e a d y ,   i t   i s   a b l e   t o   p r o c e s s   i n p u t .   L i v e n e s s   i s   a   n e c e s s a r y ,   b u t   n o t   s u f f i c i e n t ,   c o n d i t i o n   f o r   r e a d i n e s s .   T h e r e   a r e   c a s e s ,   p a r t i c u l a r l y   d u r i n g   i n i t i a l i z a t i o n   a n d   t e r m i n a t i o n ,   w h e n   a   p r o c e s s   c a n   b e   a l i v e   b u t   n o t   r e a d y .   I f   y o u   s p e c i f y   a   r e a d i n e s s   p r o b e ,   K u b e r n e t e s   w i l l   e n s u r e   t h a t   y o u r   a p p l i c a t i o n ' s   p r o c e s s e s   w i l l   n o t   r e c e i v e   n e t w o r k   t r a f f i c   u n t i l   t h e i r   r e a d i n e s s   c h e c k s   p a s s .   F o r   a   Z o o K e e p e r   s e r v e r ,   l i v e n e s s   i m p l i e s   r e a d i n e s s .   T h e r e f o r e ,   t h e   r e a d i n e s s   p r o b e   f r o m   t h e   z o o k e e p e r . y a m l   m a n i f e s t   i s   i d e n t i c a l   t o   t h e   l i v e n e s s   p r o b e .   r e a d i n e s s P r o b e :   e x e c :   c o m m a n d :   -   s h   -   - c   -   \" z o o k e e p e r - r e a d y   2 1 8 1 \"   i n i t i a l D e l a y S e c o n d s :   1 5   t i m e o u t S e c o n d s :   5   E v e n   t h o u g h   t h e   l i v e n e s s   a n d   r e a d i n e s s   p r o b e s   a r e   i d e n t i c a l ,   i t   i s   i m p o r t a n t   t o   s p e c i f y   b o t h .   T h i s   e n s u r e s   t h a t   o n l y   h e a l t h y   s e r v e r s   i n   t h e   Z o o K e e p e r   e n s e m b l e   r e c e i v e   n e t w o r k   t r a f f i c .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17036"
  },
  {
    "question": "What is Tolerating Node failure?",
    "answer": "Z o o K e e p e r   n e e d s   a   q u o r u m   o f   s e r v e r s   t o   s u c c e s s f u l l y   c o m m i t   m u t a t i o n s   t o   d a t a .   F o r   a   t h r e e   s e r v e r   e n s e m b l e ,   t w o   s e r v e r s   m u s t   b e   h e a l t h y   f o r   w r i t e s   t o   s u c c e e d .   I n   q u o r u m   b a s e d   s y s t e m s ,   m e m b e r s   a r e   d e p l o y e d   a c r o s s   f a i l u r e   d o m a i n s   t o   e n s u r e   a v a i l a b i l i t y .   T o   a v o i d   a n   o u t a g e ,   d u e   t o   t h e   l o s s   o f   a n   i n d i v i d u a l   m a c h i n e ,   b e s t   p r a c t i c e s   p r e c l u d e   c o - l o c a t i n g   m u l t i p l e   i n s t a n c e s   o f   t h e   a p p l i c a t i o n   o n   t h e   s a m e   m a c h i n e .   B y   d e f a u l t ,   K u b e r n e t e s   m a y   c o - l o c a t e   P o d s   i n   a   S t a t e f u l S e t   o n   t h e   s a m e   n o d e .   F o r   t h e   t h r e e   s e r v e r   e n s e m b l e   y o u   c r e a t e d ,   i f   t w o   s e r v e r s   a r e   o n   t h e   s a m e   n o d e ,   a n d   t h a t   n o d e   f a i l s ,   t h e   c l i e n t s   o f   y o u r   Z o o K e e p e r   s e r v i c e   w i l l   e x p e r i e n c e   a n   o u t a g e   u n t i l   a t   l e a s t   o n e   o f   t h e   P o d s   c a n   b e   r e s c h e d u l e d .   Y o u   s h o u l d   a l w a y s   p r o v i s i o n   a d d i t i o n a l   c a p a c i t y   t o   a l l o w   t h e   p r o c e s s e s   o f   c r i t i c a l   s y s t e m s   t o   b e   r e s c h e d u l e d   i n   t h e   e v e n t   o f   n o d e   f a i l u r e s .   I f   y o u   d o   s o ,   t h e n   t h e   o u t a g e   w i l l   o n l y   l a s t   u n t i l   t h e   K u b e r n e t e s   s c h e d u l e r   r e s c h e d u l e s   o n e   o f   t h e   Z o o K e e p e r   s e r v e r s .   H o w e v e r ,   i f   y o u   w a n t   y o u r   s e r v i c e   t o   t o l e ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17037"
  },
  {
    "question": "What is Surviving maintenance?",
    "answer": "I n   t h i s   s e c t i o n   y o u   w i l l   c o r d o n   a n d   d r a i n   n o d e s .   I f   y o u   a r e   u s i n g   t h i s   t u t o r i a l   o n   a   s h a r e d   c l u s t e r ,   b e   s u r e   t h a t   t h i s   w i l l   n o t   a d v e r s e l y   a f f e c t   o t h e r   t e n a n t s .   T h e   p r e v i o u s   s e c t i o n   s h o w e d   y o u   h o w   t o   s p r e a d   y o u r   P o d s   a c r o s s   n o d e s   t o   s u r v i v e   u n p l a n n e d   n o d e   f a i l u r e s ,   b u t   y o u   a l s o   n e e d   t o   p l a n   f o r   t e m p o r a r y   n o d e   f a i l u r e s   t h a t   o c c u r   d u e   t o   p l a n n e d   m a i n t e n a n c e .   U s e   t h i s   c o m m a n d   t o   g e t   t h e   n o d e s   i n   y o u r   c l u s t e r .   k u b e c t l   g e t   n o d e s   T h i s   t u t o r i a l   a s s u m e s   a   c l u s t e r   w i t h   a t   l e a s t   f o u r   n o d e s .   I f   t h e   c l u s t e r   h a s   m o r e   t h a n   f o u r ,   u s e   k u b e c t l   c o r d o n   t o   c o r d o n   a l l   b u t   f o u r   n o d e s .   C o n s t r a i n i n g   t o   f o u r   n o d e s   w i l l   e n s u r e   K u b e r n e t e s   e n c o u n t e r s   a f f i n i t y   a n d   P o d D i s r u p t i o n B u d g e t   c o n s t r a i n t s   w h e n   s c h e d u l i n g   z o o k e e p e r   P o d s   i n   t h e   f o l l o w i n g   m a i n t e n a n c e   s i m u l a t i o n .   k u b e c t l   c o r d o n   < n o d e - n a m e >   U s e   t h i s   c o m m a n d   t o   g e t   t h e   z k - p d b   P o d D i s r u p t i o n B u d g e t .   k u b e c t l   g e t   p d b   z k - p d b   T h e   m a x - u n a v a i l a b l e   f i e l d   i n d i c a t e s   t o   K u b e r n e t e s   t h a t   a t   m o s t   o n e   P o d   f r o m   z k   S t a t e f u l S e t   c a n   b e   u n a v a i l a b l e   a t   a n y   t i m e .   N A M E   M I N - A V A I L A B L E   M A X - U ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17038"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "U s e   k u b e c t l   u n c o r d o n   t o   u n c o r d o n   a l l   t h e   n o d e s   i n   y o u r   c l u s t e r . Y o u   m u s t   d e l e t e   t h e   p e r s i s t e n t   s t o r a g e   m e d i a   f o r   t h e   P e r s i s t e n t V o l u m e s   u s e d   i n   t h i s   t u t o r i a l .   F o l l o w   t h e   n e c e s s a r y   s t e p s ,   b a s e d   o n   y o u r   e n v i r o n m e n t ,   s t o r a g e   c o n f i g u r a t i o n ,   a n d   p r o v i s i o n i n g   m e t h o d ,   t o   e n s u r e   t h a t   a l l   s t o r a g e   i s   r e c l a i m e d .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17039"
  },
  {
    "question": "What is 7.1 - Running Kubelet in Standalone Mode?",
    "answer": "T h i s   t u t o r i a l   s h o w s   y o u   h o w   t o   r u n   a   s t a n d a l o n e   k u b e l e t   i n s t a n c e .   Y o u   m a y   h a v e   d i f f e r e n t   m o t i v a t i o n s   f o r   r u n n i n g   a   s t a n d a l o n e   k u b e l e t .   T h i s   t u t o r i a l   i s   a i m e d   a t   i n t r o d u c i n g   y o u   t o   K u b e r n e t e s ,   e v e n   i f   y o u   d o n ' t   h a v e   m u c h   e x p e r i e n c e   w i t h   i t .   Y o u   c a n   f o l l o w   t h i s   t u t o r i a l   a n d   l e a r n   a b o u t   n o d e   s e t u p ,   b a s i c   ( s t a t i c )   P o d s ,   a n d   h o w   K u b e r n e t e s   m a n a g e s   c o n t a i n e r s .   O n c e   y o u   h a v e   f o l l o w e d   t h i s   t u t o r i a l ,   y o u   c o u l d   t r y   u s i n g   a   c l u s t e r   t h a t   h a s   a   c o n t r o l   p l a n e   t o   m a n a g e   p o d s   a n d   n o d e s ,   a n d   o t h e r   t y p e s   o f   o b j e c t s .   F o r   e x a m p l e ,   H e l l o ,   m i n i k u b e .   Y o u   c a n   a l s o   r u n   t h e   k u b e l e t   i n   s t a n d a l o n e   m o d e   t o   s u i t   p r o d u c t i o n   u s e   c a s e s ,   s u c h   a s   t o   r u n   t h e   c o n t r o l   p l a n e   f o r   a   h i g h l y   a v a i l a b l e ,   r e s i l i e n t l y   d e p l o y e d   c l u s t e r .   T h i s   t u t o r i a l   d o e s   n o t   c o v e r   t h e   d e t a i l s   y o u   n e e d   f o r   r u n n i n g   a   r e s i l i e n t   c o n t r o l   p l a n e .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_1_17040"
  },
  {
    "question": "What is Objectives?",
    "answer": "I n s t a l l   c r i - o ,   a n d   k u b e l e t   o n   a   L i n u x   s y s t e m   a n d   r u n   t h e m   a s   s y s t e m d   s e r v i c e s . L a u n c h   a   P o d   r u n n i n g   n g i n x   t h a t   l i s t e n s   t o   r e q u e s t s   o n   T C P   p o r t   8 0   o n   t h e   P o d ' s   I P   a d d r e s s . L e a r n   h o w   t h e   d i f f e r e n t   c o m p o n e n t s   o f   t h e   s o l u t i o n   i n t e r a c t   a m o n g   t h e m s e l v e s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17041"
  },
  {
    "question": "What is Before you begin?",
    "answer": "A d m i n   ( r o o t )   a c c e s s   t o   a   L i n u x   s y s t e m   t h a t   u s e s   s y s t e m d   a n d   i p t a b l e s   ( o r   n f t a b l e s   w i t h   i p t a b l e s   e m u l a t i o n ) . A c c e s s   t o   t h e   I n t e r n e t   t o   d o w n l o a d   t h e   c o m p o n e n t s   n e e d e d   f o r   t h e   t u t o r i a l ,   s u c h   a s : A   c o n t a i n e r   r u n t i m e   t h a t   i m p l e m e n t s   t h e   K u b e r n e t e s   ( C R I ) . N e t w o r k   p l u g i n s   ( t h e s e   a r e   o f t e n   k n o w n   a s   C o n t a i n e r   N e t w o r k i n g   I n t e r f a c e   ( C N I ) ) R e q u i r e d   C L I   t o o l s :   c u r l ,   t a r ,   j q .   A   c o n t a i n e r   r u n t i m e   t h a t   i m p l e m e n t s   t h e   K u b e r n e t e s   ( C R I ) . N e t w o r k   p l u g i n s   ( t h e s e   a r e   o f t e n   k n o w n   a s   C o n t a i n e r   N e t w o r k i n g   I n t e r f a c e   ( C N I ) ) R e q u i r e d   C L I   t o o l s :   c u r l ,   t a r ,   j q .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17042"
  },
  {
    "question": "What is Swap configuration?",
    "answer": "B y   d e f a u l t ,   k u b e l e t   f a i l s   t o   s t a r t   i f   s w a p   m e m o r y   i s   d e t e c t e d   o n   a   n o d e .   T h i s   m e a n s   t h a t   s w a p   s h o u l d   e i t h e r   b e   d i s a b l e d   o r   t o l e r a t e d   b y   k u b e l e t .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17043"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   h a v e   s w a p   m e m o r y   e n a b l e d ,   e i t h e r   d i s a b l e   i t   o r   a d d   f a i l S w a p O n :   f a l s e   t o   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e .   T o   c h e c k   i f   s w a p   i s   e n a b l e d :   s u d o   s w a p o n   - - s h o w   I f   t h e r e   i s   n o   o u t p u t   f r o m   t h e   c o m m a n d ,   t h e n   s w a p   m e m o r y   i s   a l r e a d y   d i s a b l e d .   T o   d i s a b l e   s w a p   t e m p o r a r i l y :   s u d o   s w a p o f f   - a   T o   m a k e   t h i s   c h a n g e   p e r s i s t e n t   a c r o s s   r e b o o t s :   M a k e   s u r e   s w a p   i s   d i s a b l e d   i n   e i t h e r   / e t c / f s t a b   o r   s y s t e m d . s w a p ,   d e p e n d i n g   o n   h o w   i t   w a s   c o n f i g u r e d   o n   y o u r   s y s t e m .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_17044"
  },
  {
    "question": "What is Enable IPv4 packet forwarding?",
    "answer": "T o   c h e c k   i f   I P v 4   p a c k e t   f o r w a r d i n g   i s   e n a b l e d :   c a t   / p r o c / s y s / n e t / i p v 4 / i p _ f o r w a r d   I f   t h e   o u t p u t   i s   1 ,   i t   i s   a l r e a d y   e n a b l e d .   I f   t h e   o u t p u t   i s   0 ,   t h e n   f o l l o w   n e x t   s t e p s .   T o   e n a b l e   I P v 4   p a c k e t   f o r w a r d i n g ,   c r e a t e   a   c o n f i g u r a t i o n   f i l e   t h a t   s e t s   t h e   n e t . i p v 4 . i p _ f o r w a r d   p a r a m e t e r   t o   1 :   s u d o   t e e   / e t c / s y s c t l . d / k 8 s . c o n f   < < E O F   n e t . i p v 4 . i p _ f o r w a r d   =   1   E O F   A p p l y   t h e   c h a n g e s   t o   t h e   s y s t e m :   s u d o   s y s c t l   - - s y s t e m   T h e   o u t p u t   i s   s i m i l a r   t o :   . . .   *   A p p l y i n g   / e t c / s y s c t l . d / k 8 s . c o n f   . . .   n e t . i p v 4 . i p _ f o r w a r d   =   1   *   A p p l y i n g   / e t c / s y s c t l . c o n f   . . .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17045"
  },
  {
    "question": "What is Install a container runtime?",
    "answer": "D o w n l o a d   t h e   l a t e s t   a v a i l a b l e   v e r s i o n s   o f   t h e   r e q u i r e d   p a c k a g e s   ( r e c o m m e n d e d ) .   T h i s   t u t o r i a l   s u g g e s t s   i n s t a l l i n g   t h e   C R I - O   c o n t a i n e r   r u n t i m e   ( e x t e r n a l   l i n k ) .   T h e r e   a r e   s e v e r a l   w a y s   t o   i n s t a l l   t h e   C R I - O   c o n t a i n e r   r u n t i m e ,   d e p e n d i n g   o n   y o u r   p a r t i c u l a r   L i n u x   d i s t r i b u t i o n .   A l t h o u g h   C R I - O   r e c o m m e n d s   u s i n g   e i t h e r   d e b   o r   r p m   p a c k a g e s ,   t h i s   t u t o r i a l   u s e s   t h e   s t a t i c   b i n a r y   b u n d l e   s c r i p t   o f   t h e   C R I - O   P a c k a g i n g   p r o j e c t ,   b o t h   t o   s t r e a m l i n e   t h e   o v e r a l l   p r o c e s s ,   a n d   t o   r e m a i n   d i s t r i b u t i o n   a g n o s t i c .   T h e   s c r i p t   i n s t a l l s   a n d   c o n f i g u r e s   a d d i t i o n a l   r e q u i r e d   s o f t w a r e ,   s u c h   a s   c n i - p l u g i n s ,   f o r   c o n t a i n e r   n e t w o r k i n g ,   a n d   c r u n   a n d   r u n c ,   f o r   r u n n i n g   c o n t a i n e r s .   T h e   s c r i p t   w i l l   a u t o m a t i c a l l y   d e t e c t   y o u r   s y s t e m ' s   p r o c e s s o r   a r c h i t e c t u r e   ( a m d 6 4   o r   a r m 6 4 )   a n d   s e l e c t   a n d   i n s t a l l   t h e   l a t e s t   v e r s i o n s   o f   t h e   s o f t w a r e   p a c k a g e s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17046"
  },
  {
    "question": "What is Set up CRI-O?",
    "answer": "V i s i t   t h e   r e l e a s e s   p a g e   ( e x t e r n a l   l i n k ) .   D o w n l o a d   t h e   s t a t i c   b i n a r y   b u n d l e   s c r i p t :   c u r l   h t t p s : / / r a w . g i t h u b u s e r c o n t e n t . c o m / c r i - o / p a c k a g i n g / m a i n / g e t   >   c r i o - i n s t a l l   R u n   t h e   i n s t a l l e r   s c r i p t :   s u d o   b a s h   c r i o - i n s t a l l   E n a b l e   a n d   s t a r t   t h e   c r i o   s e r v i c e :   s u d o   s y s t e m c t l   d a e m o n - r e l o a d   s u d o   s y s t e m c t l   e n a b l e   - - n o w   c r i o . s e r v i c e   Q u i c k   t e s t :   s u d o   s y s t e m c t l   i s - a c t i v e   c r i o . s e r v i c e   T h e   o u t p u t   i s   s i m i l a r   t o :   a c t i v e   D e t a i l e d   s e r v i c e   c h e c k :   s u d o   j o u r n a l c t l   - f   - u   c r i o . s e r v i c e",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17047"
  },
  {
    "question": "What is Install network plugins?",
    "answer": "T h e   c r i - o   i n s t a l l e r   i n s t a l l s   a n d   c o n f i g u r e s   t h e   c n i - p l u g i n s   p a c k a g e .   Y o u   c a n   v e r i f y   t h e   i n s t a l l a t i o n   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d :   / o p t / c n i / b i n / b r i d g e   - - v e r s i o n   T h e   o u t p u t   i s   s i m i l a r   t o :   C N I   b r i d g e   p l u g i n   v 1 . 5 . 1   C N I   p r o t o c o l   v e r s i o n s   s u p p o r t e d :   0 . 1 . 0 ,   0 . 2 . 0 ,   0 . 3 . 0 ,   0 . 3 . 1 ,   0 . 4 . 0 ,   1 . 0 . 0   T o   c h e c k   t h e   d e f a u l t   c o n f i g u r a t i o n :   c a t   / e t c / c n i / n e t . d / 1 1 - c r i o - i p v 4 - b r i d g e . c o n f l i s t   T h e   o u t p u t   i s   s i m i l a r   t o :   {   \" c n i V e r s i o n \" :   \" 1 . 0 . 0 \" ,   \" n a m e \" :   \" c r i o \" ,   \" p l u g i n s \" :   [   {   \" t y p e \" :   \" b r i d g e \" ,   \" b r i d g e \" :   \" c n i 0 \" ,   \" i s G a t e w a y \" :   t r u e ,   \" i p M a s q \" :   t r u e ,   \" h a i r p i n M o d e \" :   t r u e ,   \" i p a m \" :   {   \" t y p e \" :   \" h o s t - l o c a l \" ,   \" r o u t e s \" :   [   {   \" d s t \" :   \" 0 . 0 . 0 . 0 / 0 \"   }   ] ,   \" r a n g e s \" :   [   [ {   \" s u b n e t \" :   \" 1 0 . 8 5 . 0 . 0 / 1 6 \"   } ]   ]   }   }   ]   }",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17048"
  },
  {
    "question": "What is Download and set up the kubelet?",
    "answer": "D o w n l o a d   t h e   l a t e s t   s t a b l e   r e l e a s e   o f   t h e   k u b e l e t .   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a m d 6 4 / k u b e l e t \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a m d 6 4 / k u b e l e t \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a r m 6 4 / k u b e l e t \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a r m 6 4 / k u b e l e t \"   C o n f i g u r e :   s u d o   m k d i r   - p   / e t c / k u b e r n e t e s / m a n i f e s t s   s u d o   t e e   / e t c / k u b e r n e t e s / k u b e l e t . y a m l   < < E O F   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   a u t h e n t i c a t i o n :   w e b h o o k :   e n a b l e d :   f a l s e   #   D o   N O T   u s e   i n   p r o d u c t i o n   c l u s t e r s !   a u t h o r i z a t i o n :   m o d e :   A l w a y s A l l o w   #   D o   N O T   u s e   i n   p r o d u c t i o n   c l u s t e r s !   e n a b l e S e r v e r :   f a l s e   l o g g i n g :   f o r m a t :   t e x t   a d d r e s s :   1 2 7 . 0 . 0 . 1   #   R e s t r i c t   a c c e s s   t o   l o c a l h o s t   r e a d O n l y P o r t :   1 0 2 5 5   #   D o   N O T   u s e   i n   p r o d u c t i o n   c l u s t e r s !   s t a t i c P o d P a t h :   / e t c / k u b e r n e t e s / m a n i f e s t s   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17049"
  },
  {
    "question": "What is Note:?",
    "answer": "B e c a u s e   y o u   a r e   n o t   s e t t i n g   u p   a   p r o d u c t i o n   c l u s t e r ,   y o u   a r e   u s i n g   p l a i n   H T T P   ( r e a d O n l y P o r t :   1 0 2 5 5 )   f o r   u n a u t h e n t i c a t e d   q u e r i e s   t o   t h e   k u b e l e t ' s   A P I .   T h e   a u t h e n t i c a t i o n   w e b h o o k   i s   d i s a b l e d   a n d   a u t h o r i z a t i o n   m o d e   i s   s e t   t o   A l w a y s A l l o w   f o r   t h e   p u r p o s e   o f   t h i s   t u t o r i a l .   Y o u   c a n   l e a r n   m o r e   a b o u t   a u t h o r i z a t i o n   m o d e s   a n d   w e b h o o k   a u t h e n t i c a t i o n   t o   p r o p e r l y   c o n f i g u r e   k u b e l e t   i n   s t a n d a l o n e   m o d e   i n   y o u r   e n v i r o n m e n t .   S e e   P o r t s   a n d   P r o t o c o l s   t o   u n d e r s t a n d   w h i c h   p o r t s   K u b e r n e t e s   c o m p o n e n t s   u s e .   I n s t a l l :   c h m o d   + x   k u b e l e t   s u d o   c p   k u b e l e t   / u s r / b i n /   C r e a t e   a   s y s t e m d   s e r v i c e   u n i t   f i l e :   s u d o   t e e   / e t c / s y s t e m d / s y s t e m / k u b e l e t . s e r v i c e   < < E O F   [ U n i t ]   D e s c r i p t i o n = K u b e l e t   [ S e r v i c e ]   E x e c S t a r t = / u s r / b i n / k u b e l e t   \\   - - c o n f i g = / e t c / k u b e r n e t e s / k u b e l e t . y a m l   R e s t a r t = a l w a y s   [ I n s t a l l ]   W a n t e d B y = m u l t i - u s e r . t a r g e t   E O F   T h e   c o m m a n d   l i n e   a r g u m e n t   - - k u b e c o n f i g   h a s   b e e n   i n t e n t i o n a l l y   o m i t t e d   i n   t h e   s e r v i c e   c o n f i g u r a t i o n   f i l e .   T h i s   a r g u m e n t   s e t s   t h e   p a t h   t o   a   k u b e c o n f i g   f i l e   t h a t   s p e c i f i e s   h o w   t o   c o n n e c t   t o   t h e   A P I   s e r v e r ,   e n a b l i n g   A P ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_17050"
  },
  {
    "question": "What is Run a Pod in the kubelet?",
    "answer": "I n   s t a n d a l o n e   m o d e ,   y o u   c a n   r u n   P o d s   u s i n g   P o d   m a n i f e s t s .   T h e   m a n i f e s t s   c a n   e i t h e r   b e   o n   t h e   l o c a l   f i l e s y s t e m ,   o r   f e t c h e d   v i a   H T T P   f r o m   a   c o n f i g u r a t i o n   s o u r c e .   C r e a t e   a   m a n i f e s t   f o r   a   P o d :   c a t   < < E O F   >   s t a t i c - w e b . y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s t a t i c - w e b   s p e c :   c o n t a i n e r s :   -   n a m e :   w e b   i m a g e :   n g i n x   p o r t s :   -   n a m e :   w e b   c o n t a i n e r P o r t :   8 0   p r o t o c o l :   T C P   E O F   C o p y   t h e   s t a t i c - w e b . y a m l   m a n i f e s t   f i l e   t o   t h e   / e t c / k u b e r n e t e s / m a n i f e s t s   d i r e c t o r y .   s u d o   c p   s t a t i c - w e b . y a m l   / e t c / k u b e r n e t e s / m a n i f e s t s /",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17051"
  },
  {
    "question": "What is Find out information about the kubelet and the Pod?",
    "answer": "T h e   P o d   n e t w o r k i n g   p l u g i n   c r e a t e s   a   n e t w o r k   b r i d g e   ( c n i 0 )   a n d   a   p a i r   o f   v e t h   i n t e r f a c e s   f o r   e a c h   P o d   ( o n e   o f   t h e   p a i r   i s   i n s i d e   t h e   n e w l y   m a d e   P o d ,   a n d   t h e   o t h e r   i s   a t   t h e   h o s t   l e v e l ) .   Q u e r y   t h e   k u b e l e t ' s   A P I   e n d p o i n t   a t   h t t p : / / l o c a l h o s t : 1 0 2 5 5 / p o d s :   c u r l   h t t p : / / l o c a l h o s t : 1 0 2 5 5 / p o d s   |   j q   ' . '   T o   o b t a i n   t h e   I P   a d d r e s s   o f   t h e   s t a t i c - w e b   P o d :   c u r l   h t t p : / / l o c a l h o s t : 1 0 2 5 5 / p o d s   |   j q   ' . i t e m s [ ] . s t a t u s . p o d I P '   T h e   o u t p u t   i s   s i m i l a r   t o :   \" 1 0 . 8 5 . 0 . 4 \"   C o n n e c t   t o   t h e   n g i n x   s e r v e r   P o d   o n   h t t p : / / < I P > : < P o r t >   ( p o r t   8 0   i s   t h e   d e f a u l t ) ,   i n   t h i s   c a s e :   c u r l   h t t p : / / 1 0 . 8 5 . 0 . 4   T h e   o u t p u t   i s   s i m i l a r   t o :   < ! D O C T Y P E   h t m l >   < h t m l >   < h e a d >   < t i t l e > W e l c o m e   t o   n g i n x ! < / t i t l e >   . . .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17052"
  },
  {
    "question": "What is Where to look for more details?",
    "answer": "I f   y o u   n e e d   t o   d i a g n o s e   a   p r o b l e m   g e t t i n g   t h i s   t u t o r i a l   t o   w o r k ,   y o u   c a n   l o o k   w i t h i n   t h e   f o l l o w i n g   d i r e c t o r i e s   f o r   m o n i t o r i n g   a n d   t r o u b l e s h o o t i n g :   / v a r / l i b / c n i   / v a r / l i b / c o n t a i n e r s   / v a r / l i b / k u b e l e t   / v a r / l o g / c o n t a i n e r s   / v a r / l o g / p o d s",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17053"
  },
  {
    "question": "What is kubelet?",
    "answer": "s u d o   s y s t e m c t l   d i s a b l e   - - n o w   k u b e l e t . s e r v i c e   s u d o   s y s t e m c t l   d a e m o n - r e l o a d   s u d o   r m   / e t c / s y s t e m d / s y s t e m / k u b e l e t . s e r v i c e   s u d o   r m   / u s r / b i n / k u b e l e t   s u d o   r m   - r f   / e t c / k u b e r n e t e s   s u d o   r m   - r f   / v a r / l i b / k u b e l e t   s u d o   r m   - r f   / v a r / l o g / c o n t a i n e r s   s u d o   r m   - r f   / v a r / l o g / p o d s",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17054"
  },
  {
    "question": "What is Container Runtime?",
    "answer": "s u d o   s y s t e m c t l   d i s a b l e   - - n o w   c r i o . s e r v i c e   s u d o   s y s t e m c t l   d a e m o n - r e l o a d   s u d o   r m   - r f   / u s r / l o c a l / b i n   s u d o   r m   - r f   / u s r / l o c a l / l i b   s u d o   r m   - r f   / u s r / l o c a l / s h a r e   s u d o   r m   - r f   / u s r / l i b e x e c / c r i o   s u d o   r m   - r f   / e t c / c r i o   s u d o   r m   - r f   / e t c / c o n t a i n e r s",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17055"
  },
  {
    "question": "What is Network Plugins?",
    "answer": "s u d o   r m   - r f   / o p t / c n i   s u d o   r m   - r f   / e t c / c n i   s u d o   r m   - r f   / v a r / l i b / c n i",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17056"
  },
  {
    "question": "What is Conclusion?",
    "answer": "T h i s   p a g e   c o v e r e d   t h e   b a s i c   a s p e c t s   o f   d e p l o y i n g   a   k u b e l e t   i n   s t a n d a l o n e   m o d e .   Y o u   a r e   n o w   r e a d y   t o   d e p l o y   P o d s   a n d   t e s t   a d d i t i o n a l   f u n c t i o n a l i t y .   N o t i c e   t h a t   i n   s t a n d a l o n e   m o d e   t h e   k u b e l e t   d o e s   n o t   s u p p o r t   f e t c h i n g   P o d   c o n f i g u r a t i o n s   f r o m   t h e   c o n t r o l   p l a n e   ( b e c a u s e   t h e r e   i s   n o   c o n t r o l   p l a n e   c o n n e c t i o n ) .   Y o u   a l s o   c a n n o t   u s e   a   C o n f i g M a p   o r   a   S e c r e t   t o   c o n f i g u r e   t h e   c o n t a i n e r s   i n   a   s t a t i c   P o d .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17057"
  },
  {
    "question": "What is What's next?",
    "answer": "F o l l o w   H e l l o ,   m i n i k u b e   t o   l e a r n   a b o u t   r u n n i n g   K u b e r n e t e s   w i t h   a   c o n t r o l   p l a n e .   T h e   m i n i k u b e   t o o l   h e l p s   y o u   s e t   u p   a   p r a c t i c e   c l u s t e r   o n   y o u r   o w n   c o m p u t e r . L e a r n   m o r e   a b o u t   N e t w o r k   P l u g i n s L e a r n   m o r e   a b o u t   C o n t a i n e r   R u n t i m e s L e a r n   m o r e   a b o u t   k u b e l e t L e a r n   m o r e   a b o u t   s t a t i c   P o d s",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17058"
  },
  {
    "question": "What is 7.2 - Configuring swap memory on Kubernetes nodes?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   e x a m p l e   o f   h o w   t o   p r o v i s i o n   a n d   c o n f i g u r e   s w a p   m e m o r y   o n   a   K u b e r n e t e s   n o d e   u s i n g   k u b e a d m .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_1_17059"
  },
  {
    "question": "What is Objectives?",
    "answer": "P r o v i s i o n   s w a p   m e m o r y   o n   a   K u b e r n e t e s   n o d e   u s i n g   k u b e a d m . L e a r n   t o   c o n f i g u r e   b o t h   e n c r y p t e d   a n d   u n e n c r y p t e d   s w a p . L e a r n   t o   e n a b l e   s w a p   o n   b o o t .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17060"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 3 3 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17061"
  },
  {
    "question": "What is Create a swap file and turn swap on?",
    "answer": "I f   s w a p   i s   n o t   e n a b l e d ,   t h e r e ' s   a   n e e d   t o   p r o v i s i o n   s w a p   o n   t h e   n o d e .   T h e   f o l l o w i n g   s e c t i o n s   d e m o n s t r a t e   c r e a t i n g   4 G i B   o f   s w a p ,   b o t h   i n   t h e   e n c r y p t e d   a n d   u n e n c r y p t e d   c a s e .   A n   e n c r y p t e d   s w a p   f i l e   c a n   b e   s e t   u p   a s   f o l l o w s .   B e a r   i n   m i n d   t h a t   t h i s   e x a m p l e   u s e s   t h e   c r y p t s e t u p   b i n a r y   ( w h i c h   i s   a v a i l a b l e   o n   m o s t   L i n u x   d i s t r i b u t i o n s ) . #   A l l o c a t e   s t o r a g e   a n d   r e s t r i c t   a c c e s s   f a l l o c a t e   - - l e n g t h   4 G i B   / s w a p f i l e   c h m o d   6 0 0   / s w a p f i l e   #   C r e a t e   a n   e n c r y p t e d   d e v i c e   b a c k e d   b y   t h e   a l l o c a t e d   s t o r a g e   c r y p t s e t u p   - - t y p e   p l a i n   - - c i p h e r   a e s - x t s - p l a i n 6 4   - - k e y - s i z e   2 5 6   - d   / d e v / u r a n d o m   o p e n   / s w a p f i l e   c r y p t s w a p   #   F o r m a t   t h e   s w a p   s p a c e   m k s w a p   / d e v / m a p p e r / c r y p t s w a p   #   A c t i v a t e   t h e   s w a p   s p a c e   f o r   p a g i n g   s w a p o n   / d e v / m a p p e r / c r y p t s w a p   A n   e n c r y p t e d   s w a p   f i l e   c a n   b e   s e t   u p   a s   f o l l o w s .   B e a r   i n   m i n d   t h a t   t h i s   e x a m p l e   u s e s   t h e   c r y p t s e t u p   b i n a r y   ( w h i c h   i s   a v a i l a b l e   o n   m o s t   L i n u x   d i s t r i b u t i o n s ) .   #   A l l o c a t e   s t o r a g e   a n d   r e s t r i c t   a c c e s s   f a l l o c a t e   - - l e n g t h   4 G i B   / s w a p f i l e   c h m o d   6 0 0   / s w a p f i l e   #   C r e a t e   a n   e n c r y p t e d   d e v i c e   b a c k e d   b y   t h e   a ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17062"
  },
  {
    "question": "What is Verify that swap is enabled?",
    "answer": "S w a p   c a n   b e   v e r i f i e d   t o   b e   e n a b l e d   w i t h   b o t h   s w a p o n   - s   c o m m a n d   o r   t h e   f r e e   c o m m a n d .   U s i n g   s w a p o n   - s :   F i l e n a m e   T y p e   S i z e   U s e d   P r i o r i t y   / d e v / d m - 0   p a r t i t i o n   4 1 9 4 3 0 0   0   - 2   U s i n g   f r e e   - h :   t o t a l   u s e d   f r e e   s h a r e d   b u f f / c a c h e   a v a i l a b l e   M e m :   3 . 8 G i   1 . 3 G i   2 4 9 M i   2 5 M i   2 . 5 G i   2 . 5 G i   S w a p :   4 . 0 G i   0 B   4 . 0 G i",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_17063"
  },
  {
    "question": "What is Enable swap on boot?",
    "answer": "A f t e r   s e t t i n g   u p   s w a p ,   t o   s t a r t   t h e   s w a p   f i l e   a t   b o o t   t i m e ,   y o u   t y p i c a l l y   e i t h e r   s e t   u p   a   s y s t e m d   u n i t   t o   a c t i v a t e   ( e n c r y p t e d )   s w a p ,   o r   y o u   a d d   a   l i n e   s i m i l a r   t o   / s w a p f i l e   s w a p   s w a p   d e f a u l t s   0   0   i n t o   / e t c / f s t a b .   U s i n g   s y s t e m d   f o r   s w a p   a c t i v a t i o n   a l l o w s   t h e   s y s t e m   t o   d e l a y   k u b e l e t   s t a r t   u n t i l   s w a p   i s   a v a i l a b l e ,   i f   t h a t   i s   s o m e t h i n g   y o u   w a n t   t o   e n s u r e .   I n   a   s i m i l a r   w a y ,   u s i n g   s y s t e m d   a l l o w s   y o u r   s e r v e r   t o   l e a v e   s w a p   a c t i v e   u n t i l   k u b e l e t   ( a n d ,   t y p i c a l l y ,   y o u r   c o n t a i n e r   r u n t i m e )   h a v e   s h u t   d o w n .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_17064"
  },
  {
    "question": "What is Set up kubelet configuration?",
    "answer": "A f t e r   e n a b l i n g   s w a p   o n   t h e   n o d e ,   k u b e l e t   n e e d s   t o   b e   c o n f i g u r e d   t o   u s e   i t .   Y o u   n e e d   t o   s e l e c t   a   s w a p   b e h a v i o r   f o r   t h i s   n o d e .   Y o u ' l l   c o n f i g u r e   L i m i t e d S w a p   b e h a v i o r   f o r   t h i s   t u t o r i a l .   F i n d   a n d   e d i t   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e ,   a n d :   s e t   f a i l S w a p O n   t o   f a l s e s e t   m e m o r y S w a p . s w a p B e h a v i o r   t o   L i m i t e d S w a p   #   t h i s   f r a g m e n t   g o e s   i n t o   t h e   k u b e l e t ' s   c o n f i g u r a t i o n   f i l e   f a i l S w a p O n :   f a l s e   m e m o r y S w a p :   s w a p B e h a v i o r :   L i m i t e d S w a p   I n   o r d e r   f o r   t h e s e   c o n f i g u r a t i o n s   t o   t a k e   e f f e c t ,   k u b e l e t   n e e d s   t o   b e   r e s t a r t e d .   T y p i c a l l y   y o u   d o   t h a t   b y   r u n n i n g :   s y s t e m c t l   r e s t a r t   k u b e l e t . s e r v i c e   Y o u   s h o u l d   f i n d   t h a t   t h e   k u b e l e t   i s   n o w   h e a l t h y ,   a n d   t h a t   y o u   c a n   r u n   P o d s   t h a t   u s e   s w a p   m e m o r y   a s   n e e d e d .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17065"
  },
  {
    "question": "What is 7.3 - Install Drivers and Allocate Devices with DRA?",
    "answer": "T h i s   t u t o r i a l   s h o w s   y o u   h o w   t o   i n s t a l l   D y n a m i c   R e s o u r c e   A l l o c a t i o n   ( D R A )   d r i v e r s   i n   y o u r   c l u s t e r   a n d   h o w   t o   u s e   t h e m   i n   c o n j u n c t i o n   w i t h   t h e   D R A   A P I s   t o   a l l o c a t e   d e v i c e s   t o   P o d s .   T h i s   p a g e   i s   i n t e n d e d   f o r   c l u s t e r   a d m i n i s t r a t o r s .   D y n a m i c   R e s o u r c e   A l l o c a t i o n   ( D R A )   l e t s   a   c l u s t e r   m a n a g e   a v a i l a b i l i t y   a n d   a l l o c a t i o n   o f   h a r d w a r e   r e s o u r c e s   t o   s a t i s f y   P o d - b a s e d   c l a i m s   f o r   h a r d w a r e   r e q u i r e m e n t s   a n d   p r e f e r e n c e s .   T o   s u p p o r t   t h i s ,   a   m i x t u r e   o f   K u b e r n e t e s   b u i l t - i n   c o m p o n e n t s   ( l i k e   t h e   K u b e r n e t e s   s c h e d u l e r ,   k u b e l e t ,   a n d   k u b e - c o n t r o l l e r - m a n a g e r )   a n d   t h i r d - p a r t y   d r i v e r s   f r o m   d e v i c e   o w n e r s   ( c a l l e d   D R A   d r i v e r s )   s h a r e   t h e   r e s p o n s i b i l i t y   t o   a d v e r t i s e ,   a l l o c a t e ,   p r e p a r e ,   m o u n t ,   h e a l t h c h e c k ,   u n p r e p a r e ,   a n d   c l e a n u p   r e s o u r c e s   t h r o u g h o u t   t h e   P o d   l i f e c y c l e .   T h e s e   c o m p o n e n t s   s h a r e   i n f o r m a t i o n   v i a   a   s e r i e s   o f   D R A   s p e c i f i c   A P I s   i n   t h e   r e s o u r c e . k 8 s . i o   A P I   g r o u p   i n c l u d i n g   D e v i c e C l a s s e s ,   R e s o u r c e S l i c e s ,   R e s o u r c e C l a i m s ,   a s   w e l l   a s   n e w   f i e l d s   i n   t h e   P o d   s p e c   i t s e l f .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_1_17066"
  },
  {
    "question": "What is Objectives?",
    "answer": "D e p l o y   a n   e x a m p l e   D R A   d r i v e r D e p l o y   a   P o d   r e q u e s t i n g   a   h a r d w a r e   c l a i m   u s i n g   D R A   A P I s D e l e t e   a   P o d   t h a t   h a s   a   c l a i m",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17067"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u r   c l u s t e r   s h o u l d   s u p p o r t   R B A C .   Y o u   c a n   t r y   t h i s   t u t o r i a l   w i t h   a   c l u s t e r   u s i n g   a   d i f f e r e n t   a u t h o r i z a t i o n   m e c h a n i s m ,   b u t   i n   t h a t   c a s e   y o u   w i l l   h a v e   t o   a d a p t   t h e   s t e p s   a r o u n d   d e f i n i n g   r o l e s   a n d   p e r m i s s i o n s .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T h i s   t u t o r i a l   h a s   b e e n   t e s t e d   w i t h   L i n u x   n o d e s ,   t h o u g h   i t   m a y   a l s o   w o r k   w i t h   o t h e r   t y p e s   o f   n o d e s .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   I f   y o u r   c l u s t e r   i s   n o t   c u r r e n t l y   r u n n i n g   K u b e r n e t e s   1 . 3 4   t h e n   p l e a s e   c h e c k   t h e   d o c u m e n t a t i o n   f o r   t h e   v e r s i o n   o f   K u b e r n e t e s   t h a t   y o u   p l a n   t o   u s e .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17068"
  },
  {
    "question": "What is Explore the initial cluster state?",
    "answer": "Y o u   c a n   s p e n d   s o m e   t i m e   t o   o b s e r v e   t h e   i n i t i a l   s t a t e   o f   a   c l u s t e r   w i t h   D R A   e n a b l e d ,   e s p e c i a l l y   i f   y o u   h a v e   n o t   u s e d   t h e s e   A P I s   e x t e n s i v e l y   b e f o r e .   I f   y o u   s e t   u p   a   n e w   c l u s t e r   f o r   t h i s   t u t o r i a l ,   w i t h   n o   d r i v e r   i n s t a l l e d   a n d   n o   P o d   c l a i m s   y e t   t o   s a t i s f y ,   t h e   o u t p u t   o f   t h e s e   c o m m a n d s   w o n ' t   s h o w   a n y   r e s o u r c e s .   G e t   a   l i s t   o f   D e v i c e C l a s s e s : k u b e c t l   g e t   d e v i c e c l a s s e s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N o   r e s o u r c e s   f o u n d   G e t   a   l i s t   o f   R e s o u r c e S l i c e s : k u b e c t l   g e t   r e s o u r c e s l i c e s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N o   r e s o u r c e s   f o u n d   G e t   a   l i s t   o f   R e s o u r c e C l a i m s   a n d   R e s o u r c e C l a i m T e m p l a t e s k u b e c t l   g e t   r e s o u r c e c l a i m s   - A   k u b e c t l   g e t   r e s o u r c e c l a i m t e m p l a t e s   - A   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N o   r e s o u r c e s   f o u n d   N o   r e s o u r c e s   f o u n d   G e t   a   l i s t   o f   D e v i c e C l a s s e s :   k u b e c t l   g e t   d e v i c e c l a s s e s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N o   r e s o u r c e s   f o u n d   G e t   a   l i s t   o f   R e s o u r c e S l i c e s :   k u b e c t l   g e t   r e s o u r c e s l i c e s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N o   r e s o u r c e s   f o u n d   G e t   a   l i s t   o f   R e s o u r c e C l a i m s   a n d   R e s o u r c e C l a i m T e m p l a t e s   k u b e c t l   g e t   r e s o u r c e c l a i m ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17069"
  },
  {
    "question": "What is Install an example DRA driver?",
    "answer": "D R A   d r i v e r s   a r e   t h i r d - p a r t y   a p p l i c a t i o n s   t h a t   r u n   o n   e a c h   n o d e   o f   y o u r   c l u s t e r   t o   i n t e r f a c e   w i t h   t h e   h a r d w a r e   o f   t h a t   n o d e   a n d   K u b e r n e t e s '   b u i l t - i n   D R A   c o m p o n e n t s .   T h e   i n s t a l l a t i o n   p r o c e d u r e   d e p e n d s   o n   t h e   d r i v e r   y o u   c h o o s e ,   b u t   i s   l i k e l y   d e p l o y e d   a s   a   D a e m o n S e t   t o   a l l   o r   a   s e l e c t i o n   o f   t h e   n o d e s   ( u s i n g   s e l e c t o r s   o r   s i m i l a r   m e c h a n i s m s )   i n   y o u r   c l u s t e r .   C h e c k   y o u r   d r i v e r ' s   d o c u m e n t a t i o n   f o r   s p e c i f i c   i n s t a l l a t i o n   i n s t r u c t i o n s ,   w h i c h   m i g h t   i n c l u d e   a   H e l m   c h a r t ,   a   s e t   o f   m a n i f e s t s ,   o r   o t h e r   d e p l o y m e n t   t o o l i n g .   T h i s   t u t o r i a l   u s e s   a n   e x a m p l e   d r i v e r   w h i c h   c a n   b e   f o u n d   i n   t h e   k u b e r n e t e s - s i g s / d r a - e x a m p l e - d r i v e r   r e p o s i t o r y   t o   d e m o n s t r a t e   d r i v e r   i n s t a l l a t i o n .   T h i s   e x a m p l e   d r i v e r   a d v e r t i s e s   s i m u l a t e d   G P U s   t o   K u b e r n e t e s   f o r   y o u r   P o d s   t o   i n t e r a c t   w i t h .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17070"
  },
  {
    "question": "What is Prepare your cluster for driver installation?",
    "answer": "T o   s i m p l i f y   c l e a n u p ,   c r e a t e   a   n a m e s p a c e   n a m e d   d r a - t u t o r i a l :   C r e a t e   t h e   n a m e s p a c e : k u b e c t l   c r e a t e   n a m e s p a c e   d r a - t u t o r i a l   C r e a t e   t h e   n a m e s p a c e :   k u b e c t l   c r e a t e   n a m e s p a c e   d r a - t u t o r i a l   I n   a   p r o d u c t i o n   e n v i r o n m e n t ,   y o u   w o u l d   l i k e l y   b e   u s i n g   a   p r e v i o u s l y   r e l e a s e d   o r   q u a l i f i e d   i m a g e   f r o m   t h e   d r i v e r   v e n d o r   o r   y o u r   o w n   o r g a n i z a t i o n ,   a n d   y o u r   n o d e s   w o u l d   n e e d   t o   h a v e   a c c e s s   t o   t h e   i m a g e   r e g i s t r y   w h e r e   t h e   d r i v e r   i m a g e   i s   h o s t e d .   I n   t h i s   t u t o r i a l ,   y o u   w i l l   u s e   a   p u b l i c l y   r e l e a s e d   i m a g e   o f   t h e   d r a - e x a m p l e - d r i v e r   t o   s i m u l a t e   a c c e s s   t o   a   D R A   d r i v e r   i m a g e .   C o n f i r m   y o u r   n o d e s   h a v e   a c c e s s   t o   t h e   i m a g e   b y   r u n n i n g   t h e   f o l l o w i n g   f r o m   w i t h i n   o n e   o f   y o u r   c l u s t e r ' s   n o d e s : d o c k e r   p u l l   r e g i s t r y . k 8 s . i o / d r a - e x a m p l e - d r i v e r / d r a - e x a m p l e - d r i v e r : v 0 . 2 . 0   C o n f i r m   y o u r   n o d e s   h a v e   a c c e s s   t o   t h e   i m a g e   b y   r u n n i n g   t h e   f o l l o w i n g   f r o m   w i t h i n   o n e   o f   y o u r   c l u s t e r ' s   n o d e s :   d o c k e r   p u l l   r e g i s t r y . k 8 s . i o / d r a - e x a m p l e - d r i v e r / d r a - e x a m p l e - d r i v e r : v 0 . 2 . 0",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17071"
  },
  {
    "question": "What is Deploy the DRA driver components?",
    "answer": "F o r   t h i s   t u t o r i a l ,   y o u   w i l l   i n s t a l l   t h e   c r i t i c a l   e x a m p l e   r e s o u r c e   d r i v e r   c o m p o n e n t s   i n d i v i d u a l l y   w i t h   k u b e c t l .   C r e a t e   t h e   D e v i c e C l a s s   r e p r e s e n t i n g   t h e   d e v i c e   t y p e s   t h i s   D R A   d r i v e r   s u p p o r t s : d r a / d r i v e r - i n s t a l l / d e v i c e c l a s s . y a m l   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   D e v i c e C l a s s   m e t a d a t a :   n a m e :   g p u . e x a m p l e . c o m   s p e c :   s e l e c t o r s :   -   c e l :   e x p r e s s i o n :   \" d e v i c e . d r i v e r   = =   ' g p u . e x a m p l e . c o m ' \" k u b e c t l   a p p l y   - - s e r v e r - s i d e   - f   h t t p : / / k 8 s . i o / e x a m p l e s / d r a / d r i v e r - i n s t a l l / d e v i c e c l a s s . y a m l   C r e a t e   t h e   S e r v i c e A c c o u n t ,   C l u s t e r R o l e   a n d   C l u s t e r R o l e B i n d i n g   t h a t   w i l l   b e   u s e d   b y   t h e   d r i v e r   t o   g a i n   p e r m i s s i o n s   t o   i n t e r a c t   w i t h   t h e   K u b e r n e t e s   A P I   o n   t h i s   c l u s t e r : C r e a t e   t h e   S e r v i c e   A c c o u n t : d r a / d r i v e r - i n s t a l l / s e r v i c e a c c o u n t . y a m l   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   n a m e :   d r a - e x a m p l e - d r i v e r - s e r v i c e - a c c o u n t   n a m e s p a c e :   d r a - t u t o r i a l   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   d r a - e x a m p l e - d r i v e r   a p p . k u b e r n e t e s . i o / i n s t a n c e :   d r a - e x a m p l e - d r i v e r k u b e c t l   a p p l y   - - s e r v e r - s i d e   - f   h t t p : / / k 8 s . i o / e x a m p l e s / d r a / d r i v e r - i n s t a l l / s e r v i c e a c c o u n t . y a m l ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17072"
  },
  {
    "question": "What is Verify the DRA driver installation?",
    "answer": "G e t   a   l i s t   o f   t h e   P o d s   o f   t h e   D R A   d r i v e r   D a e m o n S e t   a c r o s s   a l l   w o r k e r   n o d e s : k u b e c t l   g e t   p o d   - l   a p p . k u b e r n e t e s . i o / n a m e = d r a - e x a m p l e - d r i v e r   - n   d r a - t u t o r i a l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   d r a - e x a m p l e - d r i v e r - k u b e l e t p l u g i n - 4 s k 2 x   1 / 1   R u n n i n g   0   1 3 s   d r a - e x a m p l e - d r i v e r - k u b e l e t p l u g i n - c t t r 2   1 / 1   R u n n i n g   0   1 3 s   T h e   i n i t i a l   r e s p o n s i b i l i t y   o f   e a c h   n o d e ' s   l o c a l   D R A   d r i v e r   i s   t o   u p d a t e   t h e   c l u s t e r   w i t h   w h a t   d e v i c e s   a r e   a v a i l a b l e   t o   P o d s   o n   t h a t   n o d e ,   b y   p u b l i s h i n g   i t s   m e t a d a t a   t o   t h e   R e s o u r c e S l i c e s   A P I .   Y o u   c a n   c h e c k   t h a t   A P I   t o   s e e   t h a t   e a c h   n o d e   w i t h   a   d r i v e r   i s   a d v e r t i s i n g   t h e   d e v i c e   c l a s s   i t   r e p r e s e n t s . C h e c k   f o r   a v a i l a b l e   R e s o u r c e S l i c e s : k u b e c t l   g e t   r e s o u r c e s l i c e s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   N O D E   D R I V E R   P O O L   A G E   k i n d - w o r k e r - g p u . e x a m p l e . c o m - k 6 9 g d   k i n d - w o r k e r   g p u . e x a m p l e . c o m   k i n d - w o r k e r   1 9 s   k i n d - w o r k e r 2 - g p u . e x a m p l e . c o m - q d g p n   k i n d - w o r k e r 2   g p u . e x a m p l e . c o m   k i n d - w o r k e r 2   1 9 s   G e t   a   l i s t   o f   t h e   P o d s   o f   t h e   D R A   d r i v e r   D a e m o n S e t   a c r o s s   a l l   w o r k e r   n o d e s :   k u b e c t l   g e t   p o d   - l   a p p . ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17073"
  },
  {
    "question": "What is Claim resources and deploy a Pod?",
    "answer": "T o   r e q u e s t   r e s o u r c e s   u s i n g   D R A ,   y o u   c r e a t e   R e s o u r c e C l a i m s   o r   R e s o u r c e C l a i m T e m p l a t e s   t h a t   d e f i n e   t h e   r e s o u r c e s   t h a t   y o u r   P o d s   n e e d .   I n   t h e   e x a m p l e   d r i v e r ,   a   m e m o r y   c a p a c i t y   a t t r i b u t e   i s   e x p o s e d   f o r   m o c k   G P U   d e v i c e s .   T h i s   s e c t i o n   s h o w s   y o u   h o w   t o   u s e   C o m m o n   E x p r e s s i o n   L a n g u a g e   t o   e x p r e s s   y o u r   r e q u i r e m e n t s   i n   a   R e s o u r c e C l a i m ,   s e l e c t   t h a t   R e s o u r c e C l a i m   i n   a   P o d   s p e c i f i c a t i o n ,   a n d   o b s e r v e   t h e   r e s o u r c e   a l l o c a t i o n .   T h i s   t u t o r i a l   s h o w c a s e s   o n l y   o n e   b a s i c   e x a m p l e   o f   a   D R A   R e s o u r c e C l a i m .   R e a d   D y n a m i c   R e s o u r c e   A l l o c a t i o n   t o   l e a r n   m o r e   a b o u t   R e s o u r c e C l a i m s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17074"
  },
  {
    "question": "What is Create the ResourceClaim?",
    "answer": "I n   t h i s   s e c t i o n ,   y o u   c r e a t e   a   R e s o u r c e C l a i m   a n d   r e f e r e n c e   i t   i n   a   P o d .   W h a t e v e r   t h e   c l a i m ,   t h e   d e v i c e C l a s s N a m e   i s   a   r e q u i r e d   f i e l d ,   n a r r o w i n g   d o w n   t h e   s c o p e   o f   t h e   r e q u e s t   t o   a   s p e c i f i c   d e v i c e   c l a s s .   T h e   r e q u e s t   i t s e l f   c a n   i n c l u d e   a   C o m m o n   E x p r e s s i o n   L a n g u a g e   e x p r e s s i o n   t h a t   r e f e r e n c e s   a t t r i b u t e s   t h a t   m a y   b e   a d v e r t i s e d   b y   t h e   d r i v e r   m a n a g i n g   t h a t   d e v i c e   c l a s s .   I n   t h i s   e x a m p l e ,   y o u   w i l l   c r e a t e   a   r e q u e s t   f o r   a n y   G P U   a d v e r t i s i n g   o v e r   1 0 G i   m e m o r y   c a p a c i t y .   T h e   a t t r i b u t e   e x p o s i n g   c a p a c i t y   f r o m   t h e   e x a m p l e   d r i v e r   t a k e s   t h e   f o r m   d e v i c e . c a p a c i t y [ ' g p u . e x a m p l e . c o m ' ] . m e m o r y .   N o t e   a l s o   t h a t   t h e   n a m e   o f   t h e   c l a i m   i s   s e t   t o   s o m e - g p u .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   R e s o u r c e C l a i m   m e t a d a t a :   n a m e :   s o m e - g p u   n a m e s p a c e :   d r a - t u t o r i a l   s p e c :   d e v i c e s :   r e q u e s t s :   -   n a m e :   s o m e - g p u   e x a c t l y :   d e v i c e C l a s s N a m e :   g p u . e x a m p l e . c o m   s e l e c t o r s :   -   c e l :   e x p r e s s i o n :   \" d e v i c e . c a p a c i t y [ ' g p u . e x a m p l e . c o m ' ] . m e m o r y . c o m p a r e T o ( q u a n t i t y ( ' 1 0 G i ' ) )   > =   0 \"   k u b e c t l   a p p l y   - - s e r v e r - s i d e   - f   h t t p : / / k 8 s . i o / e x a m p l e s / d r a / d r i v e r - i n s t a l l / e x a m p l e / ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17075"
  },
  {
    "question": "What is Create the Pod that references that ResourceClaim?",
    "answer": "B e l o w   i s   t h e   P o d   m a n i f e s t   r e f e r e n c i n g   t h e   R e s o u r c e C l a i m   y o u   j u s t   m a d e ,   s o m e - g p u ,   i n   t h e   s p e c . r e s o u r c e C l a i m s . r e s o u r c e C l a i m N a m e   f i e l d .   T h e   l o c a l   n a m e   f o r   t h a t   c l a i m ,   g p u ,   i s   t h e n   u s e d   i n   t h e   s p e c . c o n t a i n e r s . r e s o u r c e s . c l a i m s . n a m e   f i e l d   t o   a l l o c a t e   t h e   c l a i m   t o   t h e   P o d ' s   u n d e r l y i n g   c o n t a i n e r .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p o d 0   n a m e s p a c e :   d r a - t u t o r i a l   l a b e l s :   a p p :   p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   c t r 0   i m a g e :   u b u n t u : 2 4 . 0 4   c o m m a n d :   [ \" b a s h \" ,   \" - c \" ]   a r g s :   [ \" e x p o r t ;   t r a p   ' e x i t   0 '   T E R M ;   s l e e p   9 9 9 9   &   w a i t \" ]   r e s o u r c e s :   c l a i m s :   -   n a m e :   g p u   r e s o u r c e C l a i m s :   -   n a m e :   g p u   r e s o u r c e C l a i m N a m e :   s o m e - g p u   k u b e c t l   a p p l y   - - s e r v e r - s i d e   - f   h t t p : / / k 8 s . i o / e x a m p l e s / d r a / d r i v e r - i n s t a l l / e x a m p l e / p o d . y a m l   C o n f i r m   t h e   p o d   h a s   d e p l o y e d : k u b e c t l   g e t   p o d   p o d 0   - n   d r a - t u t o r i a l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   p o d 0   1 / 1   R u n n i n g   0   9 s   C o n f i r m   t h e   p o d   h a s   d e p l o y e d :   k u b e c t l   g e t   p o d   p o d 0   - n   d r a - t u t o r i a l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   p o d 0   1 / 1   R u n n i n g   0   9 s",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17076"
  },
  {
    "question": "What is Explore the DRA state?",
    "answer": "A f t e r   y o u   c r e a t e   t h e   P o d ,   t h e   c l u s t e r   t r i e s   t o   s c h e d u l e   t h a t   P o d   t o   a   n o d e   w h e r e   K u b e r n e t e s   c a n   s a t i s f y   t h e   R e s o u r c e C l a i m .   I n   t h i s   t u t o r i a l ,   t h e   D R A   d r i v e r   i s   d e p l o y e d   o n   a l l   n o d e s ,   a n d   i s   a d v e r t i s i n g   m o c k   G P U s   o n   a l l   n o d e s ,   a l l   o f   w h i c h   h a v e   e n o u g h   c a p a c i t y   a d v e r t i s e d   t o   s a t i s f y   t h e   P o d ' s   c l a i m ,   s o   K u b e r n e t e s   c a n   s c h e d u l e   t h i s   P o d   o n   a n y   n o d e   a n d   c a n   a l l o c a t e   a n y   o f   t h e   m o c k   G P U s   o n   t h a t   n o d e .   W h e n   K u b e r n e t e s   a l l o c a t e s   a   m o c k   G P U   t o   a   P o d ,   t h e   e x a m p l e   d r i v e r   a d d s   e n v i r o n m e n t   v a r i a b l e s   i n   e a c h   c o n t a i n e r   i t   i s   a l l o c a t e d   t o   i n   o r d e r   t o   i n d i c a t e   w h i c h   G P U s   w o u l d   h a v e   b e e n   i n j e c t e d   i n t o   t h e m   b y   a   r e a l   r e s o u r c e   d r i v e r   a n d   h o w   t h e y   w o u l d   h a v e   b e e n   c o n f i g u r e d ,   s o   y o u   c a n   c h e c k   t h o s e   e n v i r o n m e n t   v a r i a b l e s   t o   s e e   h o w   t h e   P o d s   h a v e   b e e n   h a n d l e d   b y   t h e   s y s t e m .   C h e c k   t h e   P o d   l o g s ,   w h i c h   r e p o r t   t h e   n a m e   o f   t h e   m o c k   G P U   t h a t   w a s   a l l o c a t e d : k u b e c t l   l o g s   p o d 0   - c   c t r 0   - n   d r a - t u t o r i a l   |   g r e p   - E   \" G P U _ D E V I C E _ [ 0 - 9 ] + = \"   |   g r e p   - v   \" R E S O U R C E _ C L A I M \"   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : d e c l a r e   - x   G P U _ D E V I C E _ 0 = \" g p u - 0 \"   C ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17077"
  },
  {
    "question": "What is Delete a Pod that has a claim?",
    "answer": "W h e n   a   P o d   w i t h   a   c l a i m   i s   d e l e t e d ,   t h e   D R A   d r i v e r   d e a l l o c a t e s   t h e   r e s o u r c e   s o   i t   c a n   b e   a v a i l a b l e   f o r   f u t u r e   s c h e d u l i n g .   T o   v a l i d a t e   t h i s   b e h a v i o r ,   d e l e t e   t h e   P o d   t h a t   y o u   c r e a t e d   i n   t h e   p r e v i o u s   s t e p s   a n d   w a t c h   t h e   c o r r e s p o n d i n g   c h a n g e s   t o   t h e   R e s o u r c e C l a i m   a n d   d r i v e r .   D e l e t e   t h e   p o d 0   P o d : k u b e c t l   d e l e t e   p o d   p o d 0   - n   d r a - t u t o r i a l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : p o d   \" p o d 0 \"   d e l e t e d   D e l e t e   t h e   p o d 0   P o d :   k u b e c t l   d e l e t e   p o d   p o d 0   - n   d r a - t u t o r i a l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   p o d   \" p o d 0 \"   d e l e t e d",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17078"
  },
  {
    "question": "What is Observe the DRA state?",
    "answer": "W h e n   t h e   P o d   i s   d e l e t e d ,   t h e   d r i v e r   d e a l l o c a t e s   t h e   d e v i c e   f r o m   t h e   R e s o u r c e C l a i m   a n d   u p d a t e s   t h e   R e s o u r c e C l a i m   r e s o u r c e   i n   t h e   K u b e r n e t e s   A P I .   T h e   R e s o u r c e C l a i m   h a s   a   p e n d i n g   s t a t e   u n t i l   i t ' s   r e f e r e n c e d   i n   a   n e w   P o d .   C h e c k   t h e   s t a t e   o f   t h e   s o m e - g p u   R e s o u r c e C l a i m : k u b e c t l   g e t   r e s o u r c e c l a i m s   - n   d r a - t u t o r i a l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   S T A T E   A G E   s o m e - g p u   p e n d i n g   7 6 s   V e r i f y   t h a t   t h e   d r i v e r   h a s   p r o c e s s e d   u n p r e p a r i n g   t h e   d e v i c e   f o r   t h i s   c l a i m   b y   c h e c k i n g   t h e   d r i v e r   l o g s : k u b e c t l   l o g s   - l   a p p . k u b e r n e t e s . i o / n a m e = d r a - e x a m p l e - d r i v e r   - n   d r a - t u t o r i a l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : I 0 8 2 0   1 8 : 2 2 : 1 5 . 6 2 9 3 7 6   1   d r i v e r . g o : 1 3 8 ]   U n p r e p a r e R e s o u r c e C l a i m s   i s   c a l l e d :   n u m b e r   o f   c l a i m s :   1   C h e c k   t h e   s t a t e   o f   t h e   s o m e - g p u   R e s o u r c e C l a i m :   k u b e c t l   g e t   r e s o u r c e c l a i m s   - n   d r a - t u t o r i a l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   S T A T E   A G E   s o m e - g p u   p e n d i n g   7 6 s   V e r i f y   t h a t   t h e   d r i v e r   h a s   p r o c e s s e d   u n p r e p a r i n g   t h e   d e v i c e   f o r   t h i s   c l a i m   b y   c h e c k i n g   t h e   d r i v e r   l o g s :   k u b e c t l   l o g s   - l   a p p . k u b e r n e t e s . i o / n a m e = d r a - e x a m p l e - d r i v e r   - n   d r a - ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17079"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "T o   c l e a n   u p   t h e   r e s o u r c e s   t h a t   y o u   c r e a t e d   i n   t h i s   t u t o r i a l ,   f o l l o w   t h e s e   s t e p s :   k u b e c t l   d e l e t e   n a m e s p a c e   d r a - t u t o r i a l   k u b e c t l   d e l e t e   d e v i c e c l a s s   g p u . e x a m p l e . c o m   k u b e c t l   d e l e t e   c l u s t e r r o l e   d r a - e x a m p l e - d r i v e r - r o l e   k u b e c t l   d e l e t e   c l u s t e r r o l e b i n d i n g   d r a - e x a m p l e - d r i v e r - r o l e - b i n d i n g   k u b e c t l   d e l e t e   p r i o r i t y c l a s s   d r a - d r i v e r - h i g h - p r i o r i t y",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17080"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   D R A A l l o c a t e   D e v i c e s   t o   W o r k l o a d s   w i t h   D R A",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17081"
  },
  {
    "question": "What is 7.4 - Namespaces Walkthrough?",
    "answer": "K u b e r n e t e s   n a m e s p a c e s   h e l p   d i f f e r e n t   p r o j e c t s ,   t e a m s ,   o r   c u s t o m e r s   t o   s h a r e   a   K u b e r n e t e s   c l u s t e r .   I t   d o e s   t h i s   b y   p r o v i d i n g   t h e   f o l l o w i n g :   A   s c o p e   f o r   N a m e s . A   m e c h a n i s m   t o   a t t a c h   a u t h o r i z a t i o n   a n d   p o l i c y   t o   a   s u b s e c t i o n   o f   t h e   c l u s t e r .   U s e   o f   m u l t i p l e   n a m e s p a c e s   i s   o p t i o n a l .   T h i s   e x a m p l e   d e m o n s t r a t e s   h o w   t o   u s e   K u b e r n e t e s   n a m e s p a c e s   t o   s u b d i v i d e   y o u r   c l u s t e r .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_1_17082"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17083"
  },
  {
    "question": "What is Prerequisites?",
    "answer": "T h i s   e x a m p l e   a s s u m e s   t h e   f o l l o w i n g :   Y o u   h a v e   a n   e x i s t i n g   K u b e r n e t e s   c l u s t e r . Y o u   h a v e   a   b a s i c   u n d e r s t a n d i n g   o f   K u b e r n e t e s   P o d s ,   S e r v i c e s ,   a n d   D e p l o y m e n t s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17084"
  },
  {
    "question": "What is Understand the default namespace?",
    "answer": "B y   d e f a u l t ,   a   K u b e r n e t e s   c l u s t e r   w i l l   i n s t a n t i a t e   a   d e f a u l t   n a m e s p a c e   w h e n   p r o v i s i o n i n g   t h e   c l u s t e r   t o   h o l d   t h e   d e f a u l t   s e t   o f   P o d s ,   S e r v i c e s ,   a n d   D e p l o y m e n t s   u s e d   b y   t h e   c l u s t e r .   A s s u m i n g   y o u   h a v e   a   f r e s h   c l u s t e r ,   y o u   c a n   i n s p e c t   t h e   a v a i l a b l e   n a m e s p a c e s   b y   d o i n g   t h e   f o l l o w i n g :   k u b e c t l   g e t   n a m e s p a c e s   N A M E   S T A T U S   A G E   d e f a u l t   A c t i v e   1 3 m",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17085"
  },
  {
    "question": "What is Create new namespaces?",
    "answer": "F o r   t h i s   e x e r c i s e ,   w e   w i l l   c r e a t e   t w o   a d d i t i o n a l   K u b e r n e t e s   n a m e s p a c e s   t o   h o l d   o u r   c o n t e n t .   L e t ' s   i m a g i n e   a   s c e n a r i o   w h e r e   a n   o r g a n i z a t i o n   i s   u s i n g   a   s h a r e d   K u b e r n e t e s   c l u s t e r   f o r   d e v e l o p m e n t   a n d   p r o d u c t i o n   u s e   c a s e s .   T h e   d e v e l o p m e n t   t e a m   w o u l d   l i k e   t o   m a i n t a i n   a   s p a c e   i n   t h e   c l u s t e r   w h e r e   t h e y   c a n   g e t   a   v i e w   o n   t h e   l i s t   o f   P o d s ,   S e r v i c e s ,   a n d   D e p l o y m e n t s   t h e y   u s e   t o   b u i l d   a n d   r u n   t h e i r   a p p l i c a t i o n .   I n   t h i s   s p a c e ,   K u b e r n e t e s   r e s o u r c e s   c o m e   a n d   g o ,   a n d   t h e   r e s t r i c t i o n s   o n   w h o   c a n   o r   c a n n o t   m o d i f y   r e s o u r c e s   a r e   r e l a x e d   t o   e n a b l e   a g i l e   d e v e l o p m e n t .   T h e   o p e r a t i o n s   t e a m   w o u l d   l i k e   t o   m a i n t a i n   a   s p a c e   i n   t h e   c l u s t e r   w h e r e   t h e y   c a n   e n f o r c e   s t r i c t   p r o c e d u r e s   o n   w h o   c a n   o r   c a n n o t   m a n i p u l a t e   t h e   s e t   o f   P o d s ,   S e r v i c e s ,   a n d   D e p l o y m e n t s   t h a t   r u n   t h e   p r o d u c t i o n   s i t e .   O n e   p a t t e r n   t h i s   o r g a n i z a t i o n   c o u l d   f o l l o w   i s   t o   p a r t i t i o n   t h e   K u b e r n e t e s   c l u s t e r   i n t o   t w o   n a m e s p a c e s :   d e v e l o p m e n t   a n d   p r o d u c t i o n .   L e t ' s   c r e a t e   t w o   n e w   n a m e s p a c e s   t o   h o l d   o u r   w o r k .   U s e   t h e   f i l e   n a m e s p a c e - d e v . y a m l   w h i c h   d e s c r i b e s   a   d e v e l ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17086"
  },
  {
    "question": "What is Create pods in each namespace?",
    "answer": "A   K u b e r n e t e s   n a m e s p a c e   p r o v i d e s   t h e   s c o p e   f o r   P o d s ,   S e r v i c e s ,   a n d   D e p l o y m e n t s   i n   t h e   c l u s t e r .   U s e r s   i n t e r a c t i n g   w i t h   o n e   n a m e s p a c e   d o   n o t   s e e   t h e   c o n t e n t   i n   a n o t h e r   n a m e s p a c e .   T o   d e m o n s t r a t e   t h i s ,   l e t ' s   s p i n   u p   a   s i m p l e   D e p l o y m e n t   a n d   P o d s   i n   t h e   d e v e l o p m e n t   n a m e s p a c e .   W e   f i r s t   c h e c k   w h a t   i s   t h e   c u r r e n t   c o n t e x t :   k u b e c t l   c o n f i g   v i e w   a p i V e r s i o n :   v 1   c l u s t e r s :   -   c l u s t e r :   c e r t i f i c a t e - a u t h o r i t y - d a t a :   R E D A C T E D   s e r v e r :   h t t p s : / / 1 3 0 . 2 1 1 . 1 2 2 . 1 8 0   n a m e :   l i t h e - c o c o a - 9 2 1 0 3 _ k u b e r n e t e s   c o n t e x t s :   -   c o n t e x t :   c l u s t e r :   l i t h e - c o c o a - 9 2 1 0 3 _ k u b e r n e t e s   u s e r :   l i t h e - c o c o a - 9 2 1 0 3 _ k u b e r n e t e s   n a m e :   l i t h e - c o c o a - 9 2 1 0 3 _ k u b e r n e t e s   c u r r e n t - c o n t e x t :   l i t h e - c o c o a - 9 2 1 0 3 _ k u b e r n e t e s   k i n d :   C o n f i g   p r e f e r e n c e s :   { }   u s e r s :   -   n a m e :   l i t h e - c o c o a - 9 2 1 0 3 _ k u b e r n e t e s   u s e r :   c l i e n t - c e r t i f i c a t e - d a t a :   R E D A C T E D   c l i e n t - k e y - d a t a :   R E D A C T E D   t o k e n :   6 5 r Z W 7 8 y 8 H b w X X t S X u U w 9 D b P 4 F L j H i 4 b   -   n a m e :   l i t h e - c o c o a - 9 2 1 0 3 _ k u b e r n e t e s - b a s i c - a u t h   u s e r :   p a s s w o r d :   h 5 M 0 F t U U I f l B S d I 7   u s e r n a m e :   a d m i n   k u b e c t l   c o n f i g   c u r r e n t - c o n t e x t   l i t h e - c o c o a - 9 2 1 0 3 _ k u b e r n e t e s   T h e   n e x t   s t e p   i ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17087"
  },
  {
    "question": "What is The Kubernetes model for connecting containers?",
    "answer": "N o w   t h a t   y o u   h a v e   a   c o n t i n u o u s l y   r u n n i n g ,   r e p l i c a t e d   a p p l i c a t i o n   y o u   c a n   e x p o s e   i t   o n   a   n e t w o r k .   K u b e r n e t e s   a s s u m e s   t h a t   p o d s   c a n   c o m m u n i c a t e   w i t h   o t h e r   p o d s ,   r e g a r d l e s s   o f   w h i c h   h o s t   t h e y   l a n d   o n .   K u b e r n e t e s   g i v e s   e v e r y   p o d   i t s   o w n   c l u s t e r - p r i v a t e   I P   a d d r e s s ,   s o   y o u   d o   n o t   n e e d   t o   e x p l i c i t l y   c r e a t e   l i n k s   b e t w e e n   p o d s   o r   m a p   c o n t a i n e r   p o r t s   t o   h o s t   p o r t s .   T h i s   m e a n s   t h a t   c o n t a i n e r s   w i t h i n   a   P o d   c a n   a l l   r e a c h   e a c h   o t h e r ' s   p o r t s   o n   l o c a l h o s t ,   a n d   a l l   p o d s   i n   a   c l u s t e r   c a n   s e e   e a c h   o t h e r   w i t h o u t   N A T .   T h e   r e s t   o f   t h i s   d o c u m e n t   e l a b o r a t e s   o n   h o w   y o u   c a n   r u n   r e l i a b l e   s e r v i c e s   o n   s u c h   a   n e t w o r k i n g   m o d e l .   T h i s   t u t o r i a l   u s e s   a   s i m p l e   n g i n x   w e b   s e r v e r   t o   d e m o n s t r a t e   t h e   c o n c e p t .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17088"
  },
  {
    "question": "What is Exposing pods to the cluster?",
    "answer": "W e   d i d   t h i s   i n   a   p r e v i o u s   e x a m p l e ,   b u t   l e t ' s   d o   i t   o n c e   a g a i n   a n d   f o c u s   o n   t h e   n e t w o r k i n g   p e r s p e c t i v e .   C r e a t e   a n   n g i n x   P o d ,   a n d   n o t e   t h a t   i t   h a s   a   c o n t a i n e r   p o r t   s p e c i f i c a t i o n :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   m y - n g i n x   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   r u n :   m y - n g i n x   r e p l i c a s :   2   t e m p l a t e :   m e t a d a t a :   l a b e l s :   r u n :   m y - n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   m y - n g i n x   i m a g e :   n g i n x   p o r t s :   -   c o n t a i n e r P o r t :   8 0   T h i s   m a k e s   i t   a c c e s s i b l e   f r o m   a n y   n o d e   i n   y o u r   c l u s t e r .   C h e c k   t h e   n o d e s   t h e   P o d   i s   r u n n i n g   o n :   k u b e c t l   a p p l y   - f   . / r u n - m y - n g i n x . y a m l   k u b e c t l   g e t   p o d s   - l   r u n = m y - n g i n x   - o   w i d e   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   m y - n g i n x - 3 8 0 0 8 5 8 1 8 2 - j r 4 a 2   1 / 1   R u n n i n g   0   1 3 s   1 0 . 2 4 4 . 3 . 4   k u b e r n e t e s - m i n i o n - 9 0 5 m   m y - n g i n x - 3 8 0 0 8 5 8 1 8 2 - k n a 2 y   1 / 1   R u n n i n g   0   1 3 s   1 0 . 2 4 4 . 2 . 5   k u b e r n e t e s - m i n i o n - l j y d   C h e c k   y o u r   p o d s '   I P s :   k u b e c t l   g e t   p o d s   - l   r u n = m y - n g i n x   - o   c u s t o m - c o l u m n s = P O D _ I P : . s t a t u s . p o d I P s   P O D _ I P   [ m a p [ i p : 1 0 . 2 4 4 . 3 . 4 ] ]   [ m a p [ i p : 1 0 . 2 4 4 . 2 . 5 ] ]   Y o u   s h o u l d   b e   a b l e   t o   s s h   i n t o   a n y   n o d e   i n   y o u r   c l u s t e r   a n d   u s e   a   t o o l   s u c h   a ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17089"
  },
  {
    "question": "What is Creating a Service?",
    "answer": "S o   w e   h a v e   p o d s   r u n n i n g   n g i n x   i n   a   f l a t ,   c l u s t e r   w i d e ,   a d d r e s s   s p a c e .   I n   t h e o r y ,   y o u   c o u l d   t a l k   t o   t h e s e   p o d s   d i r e c t l y ,   b u t   w h a t   h a p p e n s   w h e n   a   n o d e   d i e s ?   T h e   p o d s   d i e   w i t h   i t ,   a n d   t h e   R e p l i c a S e t   i n s i d e   t h e   D e p l o y m e n t   w i l l   c r e a t e   n e w   o n e s ,   w i t h   d i f f e r e n t   I P s .   T h i s   i s   t h e   p r o b l e m   a   S e r v i c e   s o l v e s .   A   K u b e r n e t e s   S e r v i c e   i s   a n   a b s t r a c t i o n   w h i c h   d e f i n e s   a   l o g i c a l   s e t   o f   P o d s   r u n n i n g   s o m e w h e r e   i n   y o u r   c l u s t e r ,   t h a t   a l l   p r o v i d e   t h e   s a m e   f u n c t i o n a l i t y .   W h e n   c r e a t e d ,   e a c h   S e r v i c e   i s   a s s i g n e d   a   u n i q u e   I P   a d d r e s s   ( a l s o   c a l l e d   c l u s t e r I P ) .   T h i s   a d d r e s s   i s   t i e d   t o   t h e   l i f e s p a n   o f   t h e   S e r v i c e ,   a n d   w i l l   n o t   c h a n g e   w h i l e   t h e   S e r v i c e   i s   a l i v e .   P o d s   c a n   b e   c o n f i g u r e d   t o   t a l k   t o   t h e   S e r v i c e ,   a n d   k n o w   t h a t   c o m m u n i c a t i o n   t o   t h e   S e r v i c e   w i l l   b e   a u t o m a t i c a l l y   l o a d - b a l a n c e d   o u t   t o   s o m e   p o d   t h a t   i s   a   m e m b e r   o f   t h e   S e r v i c e .   Y o u   c a n   c r e a t e   a   S e r v i c e   f o r   y o u r   2   n g i n x   r e p l i c a s   w i t h   k u b e c t l   e x p o s e :   k u b e c t l   e x p o s e   d e p l o y m e n t / m y - n g i n x   s e r v i c e / m y - n g i n x   e x p o s e d   T h i s   i s   e q u i v a l e n t   t o   k u b e c t l   a p p l y   - f   i n   t h e   f o l l o w i n g   y a m ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17090"
  },
  {
    "question": "What is Accessing the Service?",
    "answer": "K u b e r n e t e s   s u p p o r t s   2   p r i m a r y   m o d e s   o f   f i n d i n g   a   S e r v i c e   -   e n v i r o n m e n t   v a r i a b l e s   a n d   D N S .   T h e   f o r m e r   w o r k s   o u t   o f   t h e   b o x   w h i l e   t h e   l a t t e r   r e q u i r e s   t h e   C o r e D N S   c l u s t e r   a d d o n .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17091"
  },
  {
    "question": "What is Environment Variables?",
    "answer": "W h e n   a   P o d   r u n s   o n   a   N o d e ,   t h e   k u b e l e t   a d d s   a   s e t   o f   e n v i r o n m e n t   v a r i a b l e s   f o r   e a c h   a c t i v e   S e r v i c e .   T h i s   i n t r o d u c e s   a n   o r d e r i n g   p r o b l e m .   T o   s e e   w h y ,   i n s p e c t   t h e   e n v i r o n m e n t   o f   y o u r   r u n n i n g   n g i n x   P o d s   ( y o u r   P o d   n a m e   w i l l   b e   d i f f e r e n t ) :   k u b e c t l   e x e c   m y - n g i n x - 3 8 0 0 8 5 8 1 8 2 - j r 4 a 2   - -   p r i n t e n v   |   g r e p   S E R V I C E   K U B E R N E T E S _ S E R V I C E _ H O S T = 1 0 . 0 . 0 . 1   K U B E R N E T E S _ S E R V I C E _ P O R T = 4 4 3   K U B E R N E T E S _ S E R V I C E _ P O R T _ H T T P S = 4 4 3   N o t e   t h e r e ' s   n o   m e n t i o n   o f   y o u r   S e r v i c e .   T h i s   i s   b e c a u s e   y o u   c r e a t e d   t h e   r e p l i c a s   b e f o r e   t h e   S e r v i c e .   A n o t h e r   d i s a d v a n t a g e   o f   d o i n g   t h i s   i s   t h a t   t h e   s c h e d u l e r   m i g h t   p u t   b o t h   P o d s   o n   t h e   s a m e   m a c h i n e ,   w h i c h   w i l l   t a k e   y o u r   e n t i r e   S e r v i c e   d o w n   i f   i t   d i e s .   W e   c a n   d o   t h i s   t h e   r i g h t   w a y   b y   k i l l i n g   t h e   2   P o d s   a n d   w a i t i n g   f o r   t h e   D e p l o y m e n t   t o   r e c r e a t e   t h e m .   T h i s   t i m e   t h e   S e r v i c e   e x i s t s   b e f o r e   t h e   r e p l i c a s .   T h i s   w i l l   g i v e   y o u   s c h e d u l e r - l e v e l   S e r v i c e   s p r e a d i n g   o f   y o u r   P o d s   ( p r o v i d e d   a l l   y o u r   n o d e s   h a v e   e q u a l   c a p a c i t y ) ,   a s   w e l l   a s   t h e   r i g h t   e n v i r o n m e n t   v a r i a b l e s :   k u b e c t l   s c a l e   d e p l o y m e n t   m y - n g i n x   - - r e p l i c a s ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17092"
  },
  {
    "question": "What is DNS?",
    "answer": "K u b e r n e t e s   o f f e r s   a   D N S   c l u s t e r   a d d o n   S e r v i c e   t h a t   a u t o m a t i c a l l y   a s s i g n s   d n s   n a m e s   t o   o t h e r   S e r v i c e s .   Y o u   c a n   c h e c k   i f   i t ' s   r u n n i n g   o n   y o u r   c l u s t e r :   k u b e c t l   g e t   s e r v i c e s   k u b e - d n s   - - n a m e s p a c e = k u b e - s y s t e m   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   k u b e - d n s   C l u s t e r I P   1 0 . 0 . 0 . 1 0   < n o n e >   5 3 / U D P , 5 3 / T C P   8 m   T h e   r e s t   o f   t h i s   s e c t i o n   w i l l   a s s u m e   y o u   h a v e   a   S e r v i c e   w i t h   a   l o n g   l i v e d   I P   ( m y - n g i n x ) ,   a n d   a   D N S   s e r v e r   t h a t   h a s   a s s i g n e d   a   n a m e   t o   t h a t   I P .   H e r e   w e   u s e   t h e   C o r e D N S   c l u s t e r   a d d o n   ( a p p l i c a t i o n   n a m e   k u b e - d n s ) ,   s o   y o u   c a n   t a l k   t o   t h e   S e r v i c e   f r o m   a n y   p o d   i n   y o u r   c l u s t e r   u s i n g   s t a n d a r d   m e t h o d s   ( e . g .   g e t h o s t b y n a m e ( ) ) .   I f   C o r e D N S   i s n ' t   r u n n i n g ,   y o u   c a n   e n a b l e   i t   r e f e r r i n g   t o   t h e   C o r e D N S   R E A D M E   o r   I n s t a l l i n g   C o r e D N S .   L e t ' s   r u n   a n o t h e r   c u r l   a p p l i c a t i o n   t o   t e s t   t h i s :   k u b e c t l   r u n   c u r l   - - i m a g e = r a d i a l / b u s y b o x p l u s : c u r l   - i   - - t t y   - - r m   W a i t i n g   f o r   p o d   d e f a u l t / c u r l - 1 3 1 5 5 6 2 1 8 - 9 f n c h   t o   b e   r u n n i n g ,   s t a t u s   i s   P e n d i n g ,   p o d   r e a d y :   f a l s e   H i t   e n t e r   f o r   c o m m a n d   p r o m p t   T h e n ,   h i t   e n t e r   a n d   r u n   n s l o o k u p   m y - n g i n x :   [   r ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17093"
  },
  {
    "question": "What is Securing the Service?",
    "answer": "T i l l   n o w   w e   h a v e   o n l y   a c c e s s e d   t h e   n g i n x   s e r v e r   f r o m   w i t h i n   t h e   c l u s t e r .   B e f o r e   e x p o s i n g   t h e   S e r v i c e   t o   t h e   i n t e r n e t ,   y o u   w a n t   t o   m a k e   s u r e   t h e   c o m m u n i c a t i o n   c h a n n e l   i s   s e c u r e .   F o r   t h i s ,   y o u   w i l l   n e e d :   S e l f   s i g n e d   c e r t i f i c a t e s   f o r   h t t p s   ( u n l e s s   y o u   a l r e a d y   h a v e   a n   i d e n t i t y   c e r t i f i c a t e ) A n   n g i n x   s e r v e r   c o n f i g u r e d   t o   u s e   t h e   c e r t i f i c a t e s A   s e c r e t   t h a t   m a k e s   t h e   c e r t i f i c a t e s   a c c e s s i b l e   t o   p o d s   Y o u   c a n   a c q u i r e   a l l   t h e s e   f r o m   t h e   n g i n x   h t t p s   e x a m p l e .   T h i s   r e q u i r e s   h a v i n g   g o   a n d   m a k e   t o o l s   i n s t a l l e d .   I f   y o u   d o n ' t   w a n t   t o   i n s t a l l   t h o s e ,   t h e n   f o l l o w   t h e   m a n u a l   s t e p s   l a t e r .   I n   s h o r t :   m a k e   k e y s   K E Y = / t m p / n g i n x . k e y   C E R T = / t m p / n g i n x . c r t   k u b e c t l   c r e a t e   s e c r e t   t l s   n g i n x s e c r e t   - - k e y   / t m p / n g i n x . k e y   - - c e r t   / t m p / n g i n x . c r t   s e c r e t / n g i n x s e c r e t   c r e a t e d   k u b e c t l   g e t   s e c r e t s   N A M E   T Y P E   D A T A   A G E   n g i n x s e c r e t   k u b e r n e t e s . i o / t l s   2   1 m   A n d   a l s o   t h e   c o n f i g m a p :   k u b e c t l   c r e a t e   c o n f i g m a p   n g i n x c o n f i g m a p   - - f r o m - f i l e = d e f a u l t . c o n f   Y o u   c a n   f i n d   a n   e x a m p l e   f o r   d e f a u l t . c o n f   i n   t h e   K u b e r n e t e s   e x a m p l e s   p r o j e c t   r e p o .   c o n f i g m a p / n g i n x c o n ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17094"
  },
  {
    "question": "What is Exposing the Service?",
    "answer": "F o r   s o m e   p a r t s   o f   y o u r   a p p l i c a t i o n s   y o u   m a y   w a n t   t o   e x p o s e   a   S e r v i c e   o n t o   a n   e x t e r n a l   I P   a d d r e s s .   K u b e r n e t e s   s u p p o r t s   t w o   w a y s   o f   d o i n g   t h i s :   N o d e P o r t s   a n d   L o a d B a l a n c e r s .   T h e   S e r v i c e   c r e a t e d   i n   t h e   l a s t   s e c t i o n   a l r e a d y   u s e d   N o d e P o r t ,   s o   y o u r   n g i n x   H T T P S   r e p l i c a   i s   r e a d y   t o   s e r v e   t r a f f i c   o n   t h e   i n t e r n e t   i f   y o u r   n o d e   h a s   a   p u b l i c   I P .   k u b e c t l   g e t   s v c   m y - n g i n x   - o   y a m l   |   g r e p   n o d e P o r t   - C   5   u i d :   0 7 1 9 1 f b 3 - f 6 1 a - 1 1 e 5 - 8 a e 5 - 4 2 0 1 0 a f 0 0 0 0 2   s p e c :   c l u s t e r I P :   1 0 . 0 . 1 6 2 . 1 4 9   p o r t s :   -   n a m e :   h t t p   n o d e P o r t :   3 1 7 0 4   p o r t :   8 0 8 0   p r o t o c o l :   T C P   t a r g e t P o r t :   8 0   -   n a m e :   h t t p s   n o d e P o r t :   3 2 4 5 3   p o r t :   4 4 3   p r o t o c o l :   T C P   t a r g e t P o r t :   4 4 3   s e l e c t o r :   r u n :   m y - n g i n x   k u b e c t l   g e t   n o d e s   - o   y a m l   |   g r e p   E x t e r n a l I P   - C   1   -   a d d r e s s :   1 0 4 . 1 9 7 . 4 1 . 1 1   t y p e :   E x t e r n a l I P   a l l o c a t a b l e :   - -   -   a d d r e s s :   2 3 . 2 5 1 . 1 5 2 . 5 6   t y p e :   E x t e r n a l I P   a l l o c a t a b l e :   . . .   $   c u r l   h t t p s : / / < E X T E R N A L - I P > : < N O D E - P O R T >   - k   . . .   < h 1 > W e l c o m e   t o   n g i n x ! < / h 1 >   L e t ' s   n o w   r e c r e a t e   t h e   S e r v i c e   t o   u s e   a   c l o u d   l o a d   b a l a n c e r .   C h a n g e   t h e   T y p e   o f   m y - n g i n x   S e r v i c e   f r o m   N o d e P o r t   t o   L o a d B a l a n c e r :   k ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17095"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   U s i n g   a   S e r v i c e   t o   A c c e s s   a n   A p p l i c a t i o n   i n   a   C l u s t e r L e a r n   m o r e   a b o u t   C o n n e c t i n g   a   F r o n t   E n d   t o   a   B a c k   E n d   U s i n g   a   S e r v i c e L e a r n   m o r e   a b o u t   C r e a t i n g   a n   E x t e r n a l   L o a d   B a l a n c e r",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17096"
  },
  {
    "question": "What is 8.2 - Using Source IP?",
    "answer": "A p p l i c a t i o n s   r u n n i n g   i n   a   K u b e r n e t e s   c l u s t e r   f i n d   a n d   c o m m u n i c a t e   w i t h   e a c h   o t h e r ,   a n d   t h e   o u t s i d e   w o r l d ,   t h r o u g h   t h e   S e r v i c e   a b s t r a c t i o n .   T h i s   d o c u m e n t   e x p l a i n s   w h a t   h a p p e n s   t o   t h e   s o u r c e   I P   o f   p a c k e t s   s e n t   t o   d i f f e r e n t   t y p e s   o f   S e r v i c e s ,   a n d   h o w   y o u   c a n   t o g g l e   t h i s   b e h a v i o r   a c c o r d i n g   t o   y o u r   n e e d s .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_1_17097"
  },
  {
    "question": "What is Terminology?",
    "answer": "T h i s   d o c u m e n t   m a k e s   u s e   o f   t h e   f o l l o w i n g   t e r m s :",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17098"
  },
  {
    "question": "What is Prerequisites?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T h e   e x a m p l e s   u s e   a   s m a l l   n g i n x   w e b s e r v e r   t h a t   e c h o e s   b a c k   t h e   s o u r c e   I P   o f   r e q u e s t s   i t   r e c e i v e s   t h r o u g h   a n   H T T P   h e a d e r .   Y o u   c a n   c r e a t e   i t   a s   f o l l o w s :",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_3_17099"
  },
  {
    "question": "What is Note:?",
    "answer": "k u b e c t l   c r e a t e   d e p l o y m e n t   s o u r c e - i p - a p p   - - i m a g e = r e g i s t r y . k 8 s . i o / e c h o s e r v e r : 1 . 1 0   T h e   o u t p u t   i s :   d e p l o y m e n t . a p p s / s o u r c e - i p - a p p   c r e a t e d",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_4_17100"
  },
  {
    "question": "What is Objectives?",
    "answer": "E x p o s e   a   s i m p l e   a p p l i c a t i o n   t h r o u g h   v a r i o u s   t y p e s   o f   S e r v i c e s U n d e r s t a n d   h o w   e a c h   S e r v i c e   t y p e   h a n d l e s   s o u r c e   I P   N A T U n d e r s t a n d   t h e   t r a d e o f f s   i n v o l v e d   i n   p r e s e r v i n g   s o u r c e   I P",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17101"
  },
  {
    "question": "What is Source IP for Services with Type=ClusterIP?",
    "answer": "P a c k e t s   s e n t   t o   C l u s t e r I P   f r o m   w i t h i n   t h e   c l u s t e r   a r e   n e v e r   s o u r c e   N A T ' d   i f   y o u ' r e   r u n n i n g   k u b e - p r o x y   i n   i p t a b l e s   m o d e ,   ( t h e   d e f a u l t ) .   Y o u   c a n   q u e r y   t h e   k u b e - p r o x y   m o d e   b y   f e t c h i n g   h t t p : / / l o c a l h o s t : 1 0 2 4 9 / p r o x y M o d e   o n   t h e   n o d e   w h e r e   k u b e - p r o x y   i s   r u n n i n g .   k u b e c t l   g e t   n o d e s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   S T A T U S   R O L E S   A G E   V E R S I O N   k u b e r n e t e s - n o d e - 6 j s t   R e a d y   < n o n e >   2 h   v 1 . 1 3 . 0   k u b e r n e t e s - n o d e - c x 3 1   R e a d y   < n o n e >   2 h   v 1 . 1 3 . 0   k u b e r n e t e s - n o d e - j j 1 t   R e a d y   < n o n e >   2 h   v 1 . 1 3 . 0   G e t   t h e   p r o x y   m o d e   o n   o n e   o f   t h e   n o d e s   ( k u b e - p r o x y   l i s t e n s   o n   p o r t   1 0 2 4 9 ) :   #   R u n   t h i s   i n   a   s h e l l   o n   t h e   n o d e   y o u   w a n t   t o   q u e r y .   c u r l   h t t p : / / l o c a l h o s t : 1 0 2 4 9 / p r o x y M o d e   T h e   o u t p u t   i s :   i p t a b l e s   Y o u   c a n   t e s t   s o u r c e   I P   p r e s e r v a t i o n   b y   c r e a t i n g   a   S e r v i c e   o v e r   t h e   s o u r c e   I P   a p p :   k u b e c t l   e x p o s e   d e p l o y m e n t   s o u r c e - i p - a p p   - - n a m e = c l u s t e r i p   - - p o r t = 8 0   - - t a r g e t - p o r t = 8 0 8 0   T h e   o u t p u t   i s :   s e r v i c e / c l u s t e r i p   e x p o s e d   k u b e c t l   g e t   s v c   c l u s t e r i p   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   c l u s t e r i p   C l u s t e r I P   1 0 . 0 . 1 7 0 . 9 2   < n o ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17102"
  },
  {
    "question": "What is Source IP for Services with Type=NodePort?",
    "answer": "P a c k e t s   s e n t   t o   S e r v i c e s   w i t h   T y p e = N o d e P o r t   a r e   s o u r c e   N A T ' d   b y   d e f a u l t .   Y o u   c a n   t e s t   t h i s   b y   c r e a t i n g   a   N o d e P o r t   S e r v i c e :   k u b e c t l   e x p o s e   d e p l o y m e n t   s o u r c e - i p - a p p   - - n a m e = n o d e p o r t   - - p o r t = 8 0   - - t a r g e t - p o r t = 8 0 8 0   - - t y p e = N o d e P o r t   T h e   o u t p u t   i s :   s e r v i c e / n o d e p o r t   e x p o s e d   N O D E P O R T = $ ( k u b e c t l   g e t   - o   j s o n p a t h = \" { . s p e c . p o r t s [ 0 ] . n o d e P o r t } \"   s e r v i c e s   n o d e p o r t )   N O D E S = $ ( k u b e c t l   g e t   n o d e s   - o   j s o n p a t h = ' {   $ . i t e m s [ * ] . s t a t u s . a d d r e s s e s [ ? ( @ . t y p e = = \" I n t e r n a l I P \" ) ] . a d d r e s s   } ' )   I f   y o u ' r e   r u n n i n g   o n   a   c l o u d   p r o v i d e r ,   y o u   m a y   n e e d   t o   o p e n   u p   a   f i r e w a l l - r u l e   f o r   t h e   n o d e s : n o d e p o r t   r e p o r t e d   a b o v e .   N o w   y o u   c a n   t r y   r e a c h i n g   t h e   S e r v i c e   f r o m   o u t s i d e   t h e   c l u s t e r   t h r o u g h   t h e   n o d e   p o r t   a l l o c a t e d   a b o v e .   f o r   n o d e   i n   $ N O D E S ;   d o   c u r l   - s   $ n o d e : $ N O D E P O R T   |   g r e p   - i   c l i e n t _ a d d r e s s ;   d o n e   T h e   o u t p u t   i s   s i m i l a r   t o :   c l i e n t _ a d d r e s s = 1 0 . 1 8 0 . 1 . 1   c l i e n t _ a d d r e s s = 1 0 . 2 4 0 . 0 . 5   c l i e n t _ a d d r e s s = 1 0 . 2 4 0 . 0 . 3   N o t e   t h a t   t h e s e   a r e   n o t   t h e   c o r r e c t   c l i e n t   I P s ,   t h e y ' r e   c l u s t e r   i n t e r n a l   I P s .   T h i s   i s   w h a t   h a p p e n s :   C l i e n t   s e n d s   p a c k e t   t o   n o d e 2 : n o d e P o r t n o d e 2   r e p l ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17103"
  },
  {
    "question": "What is Source IP for Services with Type=LoadBalancer?",
    "answer": "P a c k e t s   s e n t   t o   S e r v i c e s   w i t h   T y p e = L o a d B a l a n c e r   a r e   s o u r c e   N A T ' d   b y   d e f a u l t ,   b e c a u s e   a l l   s c h e d u l a b l e   K u b e r n e t e s   n o d e s   i n   t h e   R e a d y   s t a t e   a r e   e l i g i b l e   f o r   l o a d - b a l a n c e d   t r a f f i c .   S o   i f   p a c k e t s   a r r i v e   a t   a   n o d e   w i t h o u t   a n   e n d p o i n t ,   t h e   s y s t e m   p r o x i e s   i t   t o   a   n o d e   w i t h   a n   e n d p o i n t ,   r e p l a c i n g   t h e   s o u r c e   I P   o n   t h e   p a c k e t   w i t h   t h e   I P   o f   t h e   n o d e   ( a s   d e s c r i b e d   i n   t h e   p r e v i o u s   s e c t i o n ) .   Y o u   c a n   t e s t   t h i s   b y   e x p o s i n g   t h e   s o u r c e - i p - a p p   t h r o u g h   a   l o a d   b a l a n c e r :   k u b e c t l   e x p o s e   d e p l o y m e n t   s o u r c e - i p - a p p   - - n a m e = l o a d b a l a n c e r   - - p o r t = 8 0   - - t a r g e t - p o r t = 8 0 8 0   - - t y p e = L o a d B a l a n c e r   T h e   o u t p u t   i s :   s e r v i c e / l o a d b a l a n c e r   e x p o s e d   P r i n t   o u t   t h e   I P   a d d r e s s e s   o f   t h e   S e r v i c e :   k u b e c t l   g e t   s v c   l o a d b a l a n c e r   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   l o a d b a l a n c e r   L o a d B a l a n c e r   1 0 . 0 . 6 5 . 1 1 8   2 0 3 . 0 . 1 1 3 . 1 4 0   8 0 / T C P   5 m   N e x t ,   s e n d   a   r e q u e s t   t o   t h i s   S e r v i c e ' s   e x t e r n a l - i p :   c u r l   2 0 3 . 0 . 1 1 3 . 1 4 0   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   C L I E N T   V A L U E S :   c l i e n t _ a d d r e s s = 1 0 . 2 4 0 . 0 . 5   . . .   H o w e v e r ,   i f   y o u ' r e   r u n n i n g   o n   G o o g l e ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17104"
  },
  {
    "question": "What is Cross-platform support?",
    "answer": "O n l y   s o m e   c l o u d   p r o v i d e r s   o f f e r   s u p p o r t   f o r   s o u r c e   I P   p r e s e r v a t i o n   t h r o u g h   S e r v i c e s   w i t h   T y p e = L o a d B a l a n c e r .   T h e   c l o u d   p r o v i d e r   y o u ' r e   r u n n i n g   o n   m i g h t   f u l f i l l   t h e   r e q u e s t   f o r   a   l o a d b a l a n c e r   i n   a   f e w   d i f f e r e n t   w a y s :   W i t h   a   p r o x y   t h a t   t e r m i n a t e s   t h e   c l i e n t   c o n n e c t i o n   a n d   o p e n s   a   n e w   c o n n e c t i o n   t o   y o u r   n o d e s / e n d p o i n t s .   I n   s u c h   c a s e s   t h e   s o u r c e   I P   w i l l   a l w a y s   b e   t h a t   o f   t h e   c l o u d   L B ,   n o t   t h a t   o f   t h e   c l i e n t . W i t h   a   p a c k e t   f o r w a r d e r ,   s u c h   t h a t   r e q u e s t s   f r o m   t h e   c l i e n t   s e n t   t o   t h e   l o a d b a l a n c e r   V I P   e n d   u p   a t   t h e   n o d e   w i t h   t h e   s o u r c e   I P   o f   t h e   c l i e n t ,   n o t   a n   i n t e r m e d i a t e   p r o x y .   W i t h   a   p r o x y   t h a t   t e r m i n a t e s   t h e   c l i e n t   c o n n e c t i o n   a n d   o p e n s   a   n e w   c o n n e c t i o n   t o   y o u r   n o d e s / e n d p o i n t s .   I n   s u c h   c a s e s   t h e   s o u r c e   I P   w i l l   a l w a y s   b e   t h a t   o f   t h e   c l o u d   L B ,   n o t   t h a t   o f   t h e   c l i e n t .   W i t h   a   p a c k e t   f o r w a r d e r ,   s u c h   t h a t   r e q u e s t s   f r o m   t h e   c l i e n t   s e n t   t o   t h e   l o a d b a l a n c e r   V I P   e n d   u p   a t   t h e   n o d e   w i t h   t h e   s o u r c e   I P   o f   t h e   c l i e n t ,   n o t   a n   i n t e r m e d i a t e   p r o x y .   L o a d   b a l a n c e r s   i n   t h e   f i r s t   c a t e g o r y   m u s t   u s e   a n   a g r e e d   u p o n   p r o ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17105"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "D e l e t e   t h e   S e r v i c e s :   k u b e c t l   d e l e t e   s v c   - l   a p p = s o u r c e - i p - a p p   D e l e t e   t h e   D e p l o y m e n t ,   R e p l i c a S e t   a n d   P o d :   k u b e c t l   d e l e t e   d e p l o y m e n t   s o u r c e - i p - a p p",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17106"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   c o n n e c t i n g   a p p l i c a t i o n s   v i a   s e r v i c e s R e a d   h o w   t o   C r e a t e   a n   E x t e r n a l   L o a d   B a l a n c e r",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17107"
  },
  {
    "question": "What is 8.3 - Explore Termination Behavior for Pods And Their Endpoints?",
    "answer": "O n c e   y o u   c o n n e c t e d   y o u r   A p p l i c a t i o n   w i t h   S e r v i c e   f o l l o w i n g   s t e p s   l i k e   t h o s e   o u t l i n e d   i n   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s ,   y o u   h a v e   a   c o n t i n u o u s l y   r u n n i n g ,   r e p l i c a t e d   a p p l i c a t i o n ,   t h a t   i s   e x p o s e d   o n   a   n e t w o r k .   T h i s   t u t o r i a l   h e l p s   y o u   l o o k   a t   t h e   t e r m i n a t i o n   f l o w   f o r   P o d s   a n d   t o   e x p l o r e   w a y s   t o   i m p l e m e n t   g r a c e f u l   c o n n e c t i o n   d r a i n i n g .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_1_17108"
  },
  {
    "question": "What is Termination process for Pods and their endpoints?",
    "answer": "T h e r e   a r e   o f t e n   c a s e s   w h e n   y o u   n e e d   t o   t e r m i n a t e   a   P o d   -   b e   i t   t o   u p g r a d e   o r   s c a l e   d o w n .   I n   o r d e r   t o   i m p r o v e   a p p l i c a t i o n   a v a i l a b i l i t y ,   i t   m a y   b e   i m p o r t a n t   t o   i m p l e m e n t   a   p r o p e r   a c t i v e   c o n n e c t i o n s   d r a i n i n g .   T h i s   t u t o r i a l   e x p l a i n s   t h e   f l o w   o f   P o d   t e r m i n a t i o n   i n   c o n n e c t i o n   w i t h   t h e   c o r r e s p o n d i n g   e n d p o i n t   s t a t e   a n d   r e m o v a l   b y   u s i n g   a   s i m p l e   n g i n x   w e b   s e r v e r   t o   d e m o n s t r a t e   t h e   c o n c e p t .",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17109"
  },
  {
    "question": "What is Example flow with endpoint termination?",
    "answer": "T h e   f o l l o w i n g   i s   t h e   e x a m p l e   f l o w   d e s c r i b e d   i n   t h e   T e r m i n a t i o n   o f   P o d s   d o c u m e n t .   L e t ' s   s a y   y o u   h a v e   a   D e p l o y m e n t   c o n t a i n i n g   a   s i n g l e   n g i n x   r e p l i c a   ( s a y   j u s t   f o r   t h e   s a k e   o f   d e m o n s t r a t i o n   p u r p o s e s )   a n d   a   S e r v i c e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   l a b e l s :   a p p :   n g i n x   s p e c :   r e p l i c a s :   1   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s :   1 2 0   #   e x t r a   l o n g   g r a c e   p e r i o d   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : l a t e s t   p o r t s :   -   c o n t a i n e r P o r t :   8 0   l i f e c y c l e :   p r e S t o p :   e x e c :   #   R e a l   l i f e   t e r m i n a t i o n   m a y   t a k e   a n y   t i m e   u p   t o   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s .   #   I n   t h i s   e x a m p l e   -   j u s t   h a n g   a r o u n d   f o r   a t   l e a s t   t h e   d u r a t i o n   o f   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s ,   #   a t   1 2 0   s e c o n d s   c o n t a i n e r   w i l l   b e   f o r c i b l y   t e r m i n a t e d .   #   N o t e ,   a l l   t h i s   t i m e   n g i n x   w i l l   k e e p   p r o c e s s i n g   r e q u e s t s .   c o m m a n d :   [   \" / b i n / s h \" ,   \" - c \" ,   \" s l e e p   1 8 0 \"   ]   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   n g i n x - s e r v i c e   s p e c :   s e l e c t o r :   a p p :   n g i n x   p o r t s :   -   p r o t o c o l :   T C P   ",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17110"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   C o n n e c t   A p p l i c a t i o n s   w i t h   S e r v i c e s L e a r n   m o r e   a b o u t   U s i n g   a   S e r v i c e   t o   A c c e s s   a n   A p p l i c a t i o n   i n   a   C l u s t e r L e a r n   m o r e   a b o u t   C o n n e c t i n g   a   F r o n t   E n d   t o   a   B a c k   E n d   U s i n g   a   S e r v i c e L e a r n   m o r e   a b o u t   C r e a t i n g   a n   E x t e r n a l   L o a d   B a l a n c e r   ©   2 0 2 5   T h e   K u b e r n e t e s   A u t h o r s   |   D o c u m e n t a t i o n   D i s t r i b u t e d   u n d e r   C C   B Y   4 . 0   ©   2 0 2 5   T h e   L i n u x   F o u n d a t i o n   ® .   A l l   r i g h t s   r e s e r v e d .   T h e   L i n u x   F o u n d a t i o n   h a s   r e g i s t e r e d   t r a d e m a r k s   a n d   u s e s   t r a d e m a r k s .   F o r   a   l i s t   o f   t r a d e m a r k s   o f   T h e   L i n u x   F o u n d a t i o n ,   p l e a s e   s e e   o u r   T r a d e m a r k   U s a g e   p a g e   I C P   l i c e n s e :   京 I C P 备 1 7 0 7 4 2 6 6 号 - 3",
    "category": "tutorials",
    "subcategory": "example-walkthroughs",
    "source": "https://kubernetes.io/docs/tutorials/_print/",
    "id": "k8s_00776_section_2_17111"
  },
  {
    "question": "What is Stateful Applications?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Stateful Applications1: StatefulSet Basics2: Example: Deploying WordPress and MySQL with Persistent Volumes3: Example: Deploying Cassandra with a StatefulSet4: Running ZooKeeper, A Distributed System Coordinator1 - StatefulSet BasicsThis tutorial provides an introduction to managing applications with StatefulSets. It demonstrates how to create, delete, scale, and update the Pods of StatefulSets.Before you beginBefore you begin this tutorial, you should familiarize yourself with the following Kubernetes concepts:PodsCluster DNSHeadless ServicesPersistentVolumesPersistentVolume ProvisioningThe kubectl command line toolYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou should configure kubectl to use a context that uses the default namespace. If you are using an existing cluster, make sure that it's OK to use that cluster's default namespace to practice. Ideally, practice in a cluster that doesn't run any real workloads.It's also useful to read the concept page about StatefulSets.Note:This tutorial assumes that your cluster is configured to dynamically provision PersistentVolumes. You'll also need to have a default StorageClass. If your cluster is not configured to provision storage dynamically, you will have to manually provision two 1 GiB volumes prior to starting this tutorial and set up your cluster so that those PersistentVolumes map to the PersistentVolumeClaim templates that the StatefulSet defines.ObjectivesStatefulSets are intended to be used with stateful applications and distributed systems. However, the administration of stateful applications and distributed systems on Kubernetes is a broad, complex topic. In order to demonstrate the basic features of a StatefulSet, and not to conflate the former topic with the latter, you will deploy a simple web application using a StatefulSet.After this tutorial, you will be familiar with the following.How to create a StatefulSetHow a StatefulSet manages its PodsHow to delete a StatefulSetHow to scale a StatefulSetHow to update a StatefulSet's PodsCreating a StatefulSetBegin by creating a StatefulSet (and the Service that it relies upon) using the example below. It is similar to the example presented in the StatefulSets concept. It creates a headless Service, nginx, to publish the IP addresses of Pods in the StatefulSet, web.application/web/web.yaml apiVersion: v1 kind: Service metadata: name: nginx labels: app: nginx spec: ports: - port: 80 name: web clusterIP: None selector: app: nginx --- apiVersion: apps/v1 kind: St",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_qa_17112"
  },
  {
    "question": "How does Stateful Applications work?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Stateful Applications1: StatefulSet Basics2: Example: Deploying WordPress and MySQL with Persistent Volumes3: Example: Deploying Cassandra with a StatefulSet4: Running ZooKeeper, A Distributed System Coordinator1 - StatefulSet BasicsThis tutorial provides an introduction to managing applications with StatefulSets. It demonstrates how to create, delete, scale, and update the Pods of StatefulSets.Before you beginBefore you begin this tutorial, you should familiarize yourself with the following Kubernetes concepts:PodsCluster DNSHeadless ServicesPersistentVolumesPersistentVolume ProvisioningThe kubectl command line toolYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou should configure kubectl to use a context that uses the default namespace. If you are using an existing cluster, make sure that it's OK to use that cluster's default namespace to practice. Ideally, practice in a cluster that doesn't run any real workloads.It's also useful to read the concept page about StatefulSets.Note:This tutorial assumes that your cluster is configured to dynamically provision PersistentVolumes. You'll also need to have a default StorageClass. If your cluster is not configured to provision storage dynamically, you will have to manually provision two 1 GiB volumes prior to starting this tutorial and set up your cluster so that those PersistentVolumes map to the PersistentVolumeClaim templates that the StatefulSet defines.ObjectivesStatefulSets are intended to be used with stateful applications and distributed systems. However, the administration of stateful applications and distributed systems on Kubernetes is a broad, complex topic. In order to demonstrate the basic features of a StatefulSet, and not to conflate the former topic with the latter, you will deploy a simple web application using a StatefulSet.After this tutorial, you will be familiar with the following.How to create a StatefulSetHow a StatefulSet manages its PodsHow to delete a StatefulSetHow to scale a StatefulSetHow to update a StatefulSet's PodsCreating a StatefulSetBegin by creating a StatefulSet (and the Service that it relies upon) using the example below. It is similar to the example presented in the StatefulSets concept. It creates a headless Service, nginx, to publish the IP addresses of Pods in the StatefulSet, web.application/web/web.yaml apiVersion: v1 kind: Service metadata: name: nginx labels: app: nginx spec: ports: - port: 80 name: web clusterIP: None selector: app: nginx --- apiVersion: apps/v1 kind: St",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_qa_17113"
  },
  {
    "question": "When would you use Stateful Applications?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Stateful Applications1: StatefulSet Basics2: Example: Deploying WordPress and MySQL with Persistent Volumes3: Example: Deploying Cassandra with a StatefulSet4: Running ZooKeeper, A Distributed System Coordinator1 - StatefulSet BasicsThis tutorial provides an introduction to managing applications with StatefulSets. It demonstrates how to create, delete, scale, and update the Pods of StatefulSets.Before you beginBefore you begin this tutorial, you should familiarize yourself with the following Kubernetes concepts:PodsCluster DNSHeadless ServicesPersistentVolumesPersistentVolume ProvisioningThe kubectl command line toolYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou should configure kubectl to use a context that uses the default namespace. If you are using an existing cluster, make sure that it's OK to use that cluster's default namespace to practice. Ideally, practice in a cluster that doesn't run any real workloads.It's also useful to read the concept page about StatefulSets.Note:This tutorial assumes that your cluster is configured to dynamically provision PersistentVolumes. You'll also need to have a default StorageClass. If your cluster is not configured to provision storage dynamically, you will have to manually provision two 1 GiB volumes prior to starting this tutorial and set up your cluster so that those PersistentVolumes map to the PersistentVolumeClaim templates that the StatefulSet defines.ObjectivesStatefulSets are intended to be used with stateful applications and distributed systems. However, the administration of stateful applications and distributed systems on Kubernetes is a broad, complex topic. In order to demonstrate the basic features of a StatefulSet, and not to conflate the former topic with the latter, you will deploy a simple web application using a StatefulSet.After this tutorial, you will be familiar with the following.How to create a StatefulSetHow a StatefulSet manages its PodsHow to delete a StatefulSetHow to scale a StatefulSetHow to update a StatefulSet's PodsCreating a StatefulSetBegin by creating a StatefulSet (and the Service that it relies upon) using the example below. It is similar to the example presented in the StatefulSets concept. It creates a headless Service, nginx, to publish the IP addresses of Pods in the StatefulSet, web.application/web/web.yaml apiVersion: v1 kind: Service metadata: name: nginx labels: app: nginx spec: ports: - port: 80 name: web clusterIP: None selector: app: nginx --- apiVersion: apps/v1 kind: St",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_qa_17114"
  },
  {
    "question": "What are the benefits of Stateful Applications?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Stateful Applications1: StatefulSet Basics2: Example: Deploying WordPress and MySQL with Persistent Volumes3: Example: Deploying Cassandra with a StatefulSet4: Running ZooKeeper, A Distributed System Coordinator1 - StatefulSet BasicsThis tutorial provides an introduction to managing applications with StatefulSets. It demonstrates how to create, delete, scale, and update the Pods of StatefulSets.Before you beginBefore you begin this tutorial, you should familiarize yourself with the following Kubernetes concepts:PodsCluster DNSHeadless ServicesPersistentVolumesPersistentVolume ProvisioningThe kubectl command line toolYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesYou should configure kubectl to use a context that uses the default namespace. If you are using an existing cluster, make sure that it's OK to use that cluster's default namespace to practice. Ideally, practice in a cluster that doesn't run any real workloads.It's also useful to read the concept page about StatefulSets.Note:This tutorial assumes that your cluster is configured to dynamically provision PersistentVolumes. You'll also need to have a default StorageClass. If your cluster is not configured to provision storage dynamically, you will have to manually provision two 1 GiB volumes prior to starting this tutorial and set up your cluster so that those PersistentVolumes map to the PersistentVolumeClaim templates that the StatefulSet defines.ObjectivesStatefulSets are intended to be used with stateful applications and distributed systems. However, the administration of stateful applications and distributed systems on Kubernetes is a broad, complex topic. In order to demonstrate the basic features of a StatefulSet, and not to conflate the former topic with the latter, you will deploy a simple web application using a StatefulSet.After this tutorial, you will be familiar with the following.How to create a StatefulSetHow a StatefulSet manages its PodsHow to delete a StatefulSetHow to scale a StatefulSetHow to update a StatefulSet's PodsCreating a StatefulSetBegin by creating a StatefulSet (and the Service that it relies upon) using the example below. It is similar to the example presented in the StatefulSets concept. It creates a headless Service, nginx, to publish the IP addresses of Pods in the StatefulSet, web.application/web/web.yaml apiVersion: v1 kind: Service metadata: name: nginx labels: app: nginx spec: ports: - port: 80 name: web clusterIP: None selector: app: nginx --- apiVersion: apps/v1 kind: St",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_qa_17115"
  },
  {
    "question": "What is Stateful Applications?",
    "answer": "1 :   S t a t e f u l S e t   B a s i c s 2 :   E x a m p l e :   D e p l o y i n g   W o r d P r e s s   a n d   M y S Q L   w i t h   P e r s i s t e n t   V o l u m e s 3 :   E x a m p l e :   D e p l o y i n g   C a s s a n d r a   w i t h   a   S t a t e f u l S e t 4 :   R u n n i n g   Z o o K e e p e r ,   A   D i s t r i b u t e d   S y s t e m   C o o r d i n a t o r",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_1_17116"
  },
  {
    "question": "What is 1 - StatefulSet Basics?",
    "answer": "T h i s   t u t o r i a l   p r o v i d e s   a n   i n t r o d u c t i o n   t o   m a n a g i n g   a p p l i c a t i o n s   w i t h   S t a t e f u l S e t s .   I t   d e m o n s t r a t e s   h o w   t o   c r e a t e ,   d e l e t e ,   s c a l e ,   a n d   u p d a t e   t h e   P o d s   o f   S t a t e f u l S e t s .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_1_17117"
  },
  {
    "question": "What is Before you begin?",
    "answer": "B e f o r e   y o u   b e g i n   t h i s   t u t o r i a l ,   y o u   s h o u l d   f a m i l i a r i z e   y o u r s e l f   w i t h   t h e   f o l l o w i n g   K u b e r n e t e s   c o n c e p t s :   P o d s C l u s t e r   D N S H e a d l e s s   S e r v i c e s P e r s i s t e n t V o l u m e s P e r s i s t e n t V o l u m e   P r o v i s i o n i n g T h e   k u b e c t l   c o m m a n d   l i n e   t o o l   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   s h o u l d   c o n f i g u r e   k u b e c t l   t o   u s e   a   c o n t e x t   t h a t   u s e s   t h e   d e f a u l t   n a m e s p a c e .   I f   y o u   a r e   u s i n g   a n   e x i s t i n g   c l u s t e r ,   m a k e   s u r e   t h a t   i t ' s   O K   t o   u s e   t h a t   c l u s t e r ' s   d e f a u l t   n a m e s p a c e   t o   p r a c t i c e .   I d e a l l y ,   p r a c t i c e   i n   a   c l u s t e r   t h a t   d o e s n ' t   r u n   a n y   r e a l   w o r k l o a d s .   I t ' s   a l s o   u s e f u l   t o   r e a d   t h e   c o n c e p t   p a g e   a b o u t   S t a t e f u l S e t s .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17118"
  },
  {
    "question": "What is Objectives?",
    "answer": "S t a t e f u l S e t s   a r e   i n t e n d e d   t o   b e   u s e d   w i t h   s t a t e f u l   a p p l i c a t i o n s   a n d   d i s t r i b u t e d   s y s t e m s .   H o w e v e r ,   t h e   a d m i n i s t r a t i o n   o f   s t a t e f u l   a p p l i c a t i o n s   a n d   d i s t r i b u t e d   s y s t e m s   o n   K u b e r n e t e s   i s   a   b r o a d ,   c o m p l e x   t o p i c .   I n   o r d e r   t o   d e m o n s t r a t e   t h e   b a s i c   f e a t u r e s   o f   a   S t a t e f u l S e t ,   a n d   n o t   t o   c o n f l a t e   t h e   f o r m e r   t o p i c   w i t h   t h e   l a t t e r ,   y o u   w i l l   d e p l o y   a   s i m p l e   w e b   a p p l i c a t i o n   u s i n g   a   S t a t e f u l S e t .   A f t e r   t h i s   t u t o r i a l ,   y o u   w i l l   b e   f a m i l i a r   w i t h   t h e   f o l l o w i n g .   H o w   t o   c r e a t e   a   S t a t e f u l S e t H o w   a   S t a t e f u l S e t   m a n a g e s   i t s   P o d s H o w   t o   d e l e t e   a   S t a t e f u l S e t H o w   t o   s c a l e   a   S t a t e f u l S e t H o w   t o   u p d a t e   a   S t a t e f u l S e t ' s   P o d s",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17119"
  },
  {
    "question": "What is Creating a StatefulSet?",
    "answer": "B e g i n   b y   c r e a t i n g   a   S t a t e f u l S e t   ( a n d   t h e   S e r v i c e   t h a t   i t   r e l i e s   u p o n )   u s i n g   t h e   e x a m p l e   b e l o w .   I t   i s   s i m i l a r   t o   t h e   e x a m p l e   p r e s e n t e d   i n   t h e   S t a t e f u l S e t s   c o n c e p t .   I t   c r e a t e s   a   h e a d l e s s   S e r v i c e ,   n g i n x ,   t o   p u b l i s h   t h e   I P   a d d r e s s e s   o f   P o d s   i n   t h e   S t a t e f u l S e t ,   w e b .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   n g i n x   l a b e l s :   a p p :   n g i n x   s p e c :   p o r t s :   -   p o r t :   8 0   n a m e :   w e b   c l u s t e r I P :   N o n e   s e l e c t o r :   a p p :   n g i n x   - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a :   n a m e :   w e b   s p e c :   s e r v i c e N a m e :   \" n g i n x \"   r e p l i c a s :   2   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   r e g i s t r y . k 8 s . i o / n g i n x - s l i m : 0 . 2 1   p o r t s :   -   c o n t a i n e r P o r t :   8 0   n a m e :   w e b   v o l u m e M o u n t s :   -   n a m e :   w w w   m o u n t P a t h :   / u s r / s h a r e / n g i n x / h t m l   v o l u m e C l a i m T e m p l a t e s :   -   m e t a d a t a :   n a m e :   w w w   s p e c :   a c c e s s M o d e s :   [   \" R e a d W r i t e O n c e \"   ]   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   1 G i   Y o u   w i l l   n e e d   t o   u s e   a t   l e a s t   t w o   t e r m i n a l   w i n d o w s .   I n   t h e   f i r s t   t e r m i n a l ,   u s e   k u b e c t l   g e t   t o   w a t c h   t h e   c r e a t i o n   o f   t h e   S t a t e f u l S e t ' s   P o d s . ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17120"
  },
  {
    "question": "What is Ordered Pod creation?",
    "answer": "A   S t a t e f u l S e t   d e f a u l t s   t o   c r e a t i n g   i t s   P o d s   i n   a   s t r i c t   o r d e r .   F o r   a   S t a t e f u l S e t   w i t h   n   r e p l i c a s ,   w h e n   P o d s   a r e   b e i n g   d e p l o y e d ,   t h e y   a r e   c r e a t e d   s e q u e n t i a l l y ,   o r d e r e d   f r o m   { 0 . . n - 1 } .   E x a m i n e   t h e   o u t p u t   o f   t h e   k u b e c t l   g e t   c o m m a n d   i n   t h e   f i r s t   t e r m i n a l .   E v e n t u a l l y ,   t h e   o u t p u t   w i l l   l o o k   l i k e   t h e   e x a m p l e   b e l o w .   #   D o   n o t   s t a r t   a   n e w   w a t c h ;   #   t h i s   s h o u l d   a l r e a d y   b e   r u n n i n g   k u b e c t l   g e t   p o d s   - - w a t c h   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   0 / 1   P e n d i n g   0   0 s   w e b - 0   0 / 1   P e n d i n g   0   0 s   w e b - 0   0 / 1   C o n t a i n e r C r e a t i n g   0   0 s   w e b - 0   1 / 1   R u n n i n g   0   1 9 s   w e b - 1   0 / 1   P e n d i n g   0   0 s   w e b - 1   0 / 1   P e n d i n g   0   0 s   w e b - 1   0 / 1   C o n t a i n e r C r e a t i n g   0   0 s   w e b - 1   1 / 1   R u n n i n g   0   1 8 s   N o t i c e   t h a t   t h e   w e b - 1   P o d   i s   n o t   l a u n c h e d   u n t i l   t h e   w e b - 0   P o d   i s   R u n n i n g   ( s e e   P o d   P h a s e )   a n d   R e a d y   ( s e e   t y p e   i n   P o d   C o n d i t i o n s ) .   L a t e r   i n   t h i s   t u t o r i a l   y o u   w i l l   p r a c t i c e   p a r a l l e l   s t a r t u p .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_3_17121"
  },
  {
    "question": "What is Pods in a StatefulSet?",
    "answer": "P o d s   i n   a   S t a t e f u l S e t   h a v e   a   u n i q u e   o r d i n a l   i n d e x   a n d   a   s t a b l e   n e t w o r k   i d e n t i t y .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17122"
  },
  {
    "question": "What is Examining the Pod's ordinal index?",
    "answer": "G e t   t h e   S t a t e f u l S e t ' s   P o d s :   k u b e c t l   g e t   p o d s   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   1 m   w e b - 1   1 / 1   R u n n i n g   0   1 m   A s   m e n t i o n e d   i n   t h e   S t a t e f u l S e t s   c o n c e p t ,   t h e   P o d s   i n   a   S t a t e f u l S e t   h a v e   a   s t i c k y ,   u n i q u e   i d e n t i t y .   T h i s   i d e n t i t y   i s   b a s e d   o n   a   u n i q u e   o r d i n a l   i n d e x   t h a t   i s   a s s i g n e d   t o   e a c h   P o d   b y   t h e   S t a t e f u l S e t   c o n t r o l l e r . T h e   P o d s '   n a m e s   t a k e   t h e   f o r m   < s t a t e f u l s e t   n a m e > - < o r d i n a l   i n d e x > .   S i n c e   t h e   w e b   S t a t e f u l S e t   h a s   t w o   r e p l i c a s ,   i t   c r e a t e s   t w o   P o d s ,   w e b - 0   a n d   w e b - 1 .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_3_17123"
  },
  {
    "question": "What is Using stable network identities?",
    "answer": "E a c h   P o d   h a s   a   s t a b l e   h o s t n a m e   b a s e d   o n   i t s   o r d i n a l   i n d e x .   U s e   k u b e c t l   e x e c   t o   e x e c u t e   t h e   h o s t n a m e   c o m m a n d   i n   e a c h   P o d :   f o r   i   i n   0   1 ;   d o   k u b e c t l   e x e c   \" w e b - $ i \"   - -   s h   - c   ' h o s t n a m e ' ;   d o n e   w e b - 0   w e b - 1   U s e   k u b e c t l   r u n   t o   e x e c u t e   a   c o n t a i n e r   t h a t   p r o v i d e s   t h e   n s l o o k u p   c o m m a n d   f r o m   t h e   d n s u t i l s   p a c k a g e .   U s i n g   n s l o o k u p   o n   t h e   P o d s '   h o s t n a m e s ,   y o u   c a n   e x a m i n e   t h e i r   i n - c l u s t e r   D N S   a d d r e s s e s :   k u b e c t l   r u n   - i   - - t t y   - - i m a g e   b u s y b o x : 1 . 2 8   d n s - t e s t   - - r e s t a r t = N e v e r   - - r m   w h i c h   s t a r t s   a   n e w   s h e l l .   I n   t h a t   n e w   s h e l l ,   r u n :   #   R u n   t h i s   i n   t h e   d n s - t e s t   c o n t a i n e r   s h e l l   n s l o o k u p   w e b - 0 . n g i n x   T h e   o u t p u t   i s   s i m i l a r   t o :   S e r v e r :   1 0 . 0 . 0 . 1 0   A d d r e s s   1 :   1 0 . 0 . 0 . 1 0   k u b e - d n s . k u b e - s y s t e m . s v c . c l u s t e r . l o c a l   N a m e :   w e b - 0 . n g i n x   A d d r e s s   1 :   1 0 . 2 4 4 . 1 . 6   n s l o o k u p   w e b - 1 . n g i n x   S e r v e r :   1 0 . 0 . 0 . 1 0   A d d r e s s   1 :   1 0 . 0 . 0 . 1 0   k u b e - d n s . k u b e - s y s t e m . s v c . c l u s t e r . l o c a l   N a m e :   w e b - 1 . n g i n x   A d d r e s s   1 :   1 0 . 2 4 4 . 2 . 6   ( a n d   n o w   e x i t   t h e   c o n t a i n e r   s h e l l :   e x i t )   T h e   C N A M E   o f   t h e   h e a d l e s s   s e r v i c e   p o i n t s   t o   S R V   r e c o r d s   ( o n e   f o r   e a c h   P o d   t h a t   i s   R u n n i n g   a n d   R e a d y ) .   T h ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_3_17124"
  },
  {
    "question": "What is Discovery for specific Pods in a StatefulSet?",
    "answer": "I f   y o u   n e e d   t o   f i n d   a n d   c o n n e c t   t o   t h e   a c t i v e   m e m b e r s   o f   a   S t a t e f u l S e t ,   y o u   s h o u l d   q u e r y   t h e   C N A M E   o f   t h e   h e a d l e s s   S e r v i c e   ( n g i n x . d e f a u l t . s v c . c l u s t e r . l o c a l ) .   T h e   S R V   r e c o r d s   a s s o c i a t e d   w i t h   t h e   C N A M E   w i l l   c o n t a i n   o n l y   t h e   P o d s   i n   t h e   S t a t e f u l S e t   t h a t   a r e   R u n n i n g   a n d   R e a d y .   I f   y o u r   a p p l i c a t i o n   a l r e a d y   i m p l e m e n t s   c o n n e c t i o n   l o g i c   t h a t   t e s t s   f o r   l i v e n e s s   a n d   r e a d i n e s s ,   y o u   c a n   u s e   t h e   S R V   r e c o r d s   o f   t h e   P o d s   (   w e b - 0 . n g i n x . d e f a u l t . s v c . c l u s t e r . l o c a l ,   w e b - 1 . n g i n x . d e f a u l t . s v c . c l u s t e r . l o c a l ) ,   a s   t h e y   a r e   s t a b l e ,   a n d   y o u r   a p p l i c a t i o n   w i l l   b e   a b l e   t o   d i s c o v e r   t h e   P o d s '   a d d r e s s e s   w h e n   t h e y   t r a n s i t i o n   t o   R u n n i n g   a n d   R e a d y .   I f   y o u r   a p p l i c a t i o n   w a n t s   t o   f i n d   a n y   h e a l t h y   P o d   i n   a   S t a t e f u l S e t ,   a n d   t h e r e f o r e   d o e s   n o t   n e e d   t o   t r a c k   e a c h   s p e c i f i c   P o d ,   y o u   c o u l d   a l s o   c o n n e c t   t o   t h e   I P   a d d r e s s   o f   a   t y p e :   C l u s t e r I P   S e r v i c e ,   b a c k e d   b y   t h e   P o d s   i n   t h a t   S t a t e f u l S e t .   Y o u   c a n   u s e   t h e   s a m e   S e r v i c e   t h a t   t r a c k s   t h e   S t a t e f u l S e t   ( s p e c i f i e d   i n   t h e   s e r v i c e N a m e   o f   t h e   S t a t e f u l S e t )   o r   a   s e p a r a t e   S e r v i c e   t h a t   s e l e c t s   t h e   ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_4_17125"
  },
  {
    "question": "What is Writing to stable storage?",
    "answer": "G e t   t h e   P e r s i s t e n t V o l u m e C l a i m s   f o r   w e b - 0   a n d   w e b - 1 :   k u b e c t l   g e t   p v c   - l   a p p = n g i n x   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   S T A T U S   V O L U M E   C A P A C I T Y   A C C E S S M O D E S   A G E   w w w - w e b - 0   B o u n d   p v c - 1 5 c 2 6 8 c 7 - b 5 0 7 - 1 1 e 6 - 9 3 2 f - 4 2 0 1 0 a 8 0 0 0 0 2   1 G i   R W O   4 8 s   w w w - w e b - 1   B o u n d   p v c - 1 5 c 7 9 3 0 7 - b 5 0 7 - 1 1 e 6 - 9 3 2 f - 4 2 0 1 0 a 8 0 0 0 0 2   1 G i   R W O   4 8 s   T h e   S t a t e f u l S e t   c o n t r o l l e r   c r e a t e d   t w o   P e r s i s t e n t V o l u m e C l a i m s   t h a t   a r e   b o u n d   t o   t w o   P e r s i s t e n t V o l u m e s .   A s   t h e   c l u s t e r   u s e d   i n   t h i s   t u t o r i a l   i s   c o n f i g u r e d   t o   d y n a m i c a l l y   p r o v i s i o n   P e r s i s t e n t V o l u m e s ,   t h e   P e r s i s t e n t V o l u m e s   w e r e   c r e a t e d   a n d   b o u n d   a u t o m a t i c a l l y .   T h e   N G I N X   w e b s e r v e r ,   b y   d e f a u l t ,   s e r v e s   a n   i n d e x   f i l e   f r o m   / u s r / s h a r e / n g i n x / h t m l / i n d e x . h t m l .   T h e   v o l u m e M o u n t s   f i e l d   i n   t h e   S t a t e f u l S e t ' s   s p e c   e n s u r e s   t h a t   t h e   / u s r / s h a r e / n g i n x / h t m l   d i r e c t o r y   i s   b a c k e d   b y   a   P e r s i s t e n t V o l u m e .   W r i t e   t h e   P o d s '   h o s t n a m e s   t o   t h e i r   i n d e x . h t m l   f i l e s   a n d   v e r i f y   t h a t   t h e   N G I N X   w e b s e r v e r s   s e r v e   t h e   h o s t n a m e s :   f o r   i   i n   0   1 ;   d o   k u b e c t l   e x e c   \" w e b - $ i \"   - -   s h   - c   ' e c h o   \" $ ( h o s t n a m e ) \"   >   / u s r / s h a r e / n g i n x / h t m l / i n d e x . h t m l ' ;   d o n e   f o r   i   i n   ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_3_17126"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   i n s t e a d   s e e   4 0 3   F o r b i d d e n   r e s p o n s e s   f o r   t h e   a b o v e   c u r l   c o m m a n d ,   y o u   w i l l   n e e d   t o   f i x   t h e   p e r m i s s i o n s   o f   t h e   d i r e c t o r y   m o u n t e d   b y   t h e   v o l u m e M o u n t s   ( d u e   t o   a   b u g   w h e n   u s i n g   h o s t P a t h   v o l u m e s ) ,   b y   r u n n i n g :   f o r   i   i n   0   1 ;   d o   k u b e c t l   e x e c   w e b - $ i   - -   c h m o d   7 5 5   / u s r / s h a r e / n g i n x / h t m l ;   d o n e   b e f o r e   r e t r y i n g   t h e   c u r l   c o m m a n d   a b o v e .   I n   o n e   t e r m i n a l ,   w a t c h   t h e   S t a t e f u l S e t ' s   P o d s :   #   E n d   t h i s   w a t c h   w h e n   y o u ' v e   r e a c h e d   t h e   e n d   o f   t h e   s e c t i o n .   #   A t   t h e   s t a r t   o f   \" S c a l i n g   a   S t a t e f u l S e t \"   y o u ' l l   s t a r t   a   n e w   w a t c h .   k u b e c t l   g e t   p o d   - - w a t c h   - l   a p p = n g i n x   I n   a   s e c o n d   t e r m i n a l ,   d e l e t e   a l l   o f   t h e   S t a t e f u l S e t ' s   P o d s :   k u b e c t l   d e l e t e   p o d   - l   a p p = n g i n x   p o d   \" w e b - 0 \"   d e l e t e d   p o d   \" w e b - 1 \"   d e l e t e d   E x a m i n e   t h e   o u t p u t   o f   t h e   k u b e c t l   g e t   c o m m a n d   i n   t h e   f i r s t   t e r m i n a l ,   a n d   w a i t   f o r   a l l   o f   t h e   P o d s   t o   t r a n s i t i o n   t o   R u n n i n g   a n d   R e a d y .   #   T h i s   s h o u l d   a l r e a d y   b e   r u n n i n g   k u b e c t l   g e t   p o d   - - w a t c h   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   0 / 1   C o n t a i n e r C r e a t i n g   0   0 s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   2 s   w e b - 1   ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_4_17127"
  },
  {
    "question": "What is Scaling a StatefulSet?",
    "answer": "S c a l i n g   a   S t a t e f u l S e t   r e f e r s   t o   i n c r e a s i n g   o r   d e c r e a s i n g   t h e   n u m b e r   o f   r e p l i c a s   ( h o r i z o n t a l   s c a l i n g ) .   T h i s   i s   a c c o m p l i s h e d   b y   u p d a t i n g   t h e   r e p l i c a s   f i e l d .   Y o u   c a n   u s e   e i t h e r   k u b e c t l   s c a l e   o r   k u b e c t l   p a t c h   t o   s c a l e   a   S t a t e f u l S e t .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17128"
  },
  {
    "question": "What is Scaling up?",
    "answer": "S c a l i n g   u p   m e a n s   a d d i n g   m o r e   r e p l i c a s .   P r o v i d e d   t h a t   y o u r   a p p   i s   a b l e   t o   d i s t r i b u t e   w o r k   a c r o s s   t h e   S t a t e f u l S e t ,   t h e   n e w   l a r g e r   s e t   o f   P o d s   c a n   p e r f o r m   m o r e   o f   t h a t   w o r k .   I n   o n e   t e r m i n a l   w i n d o w ,   w a t c h   t h e   P o d s   i n   t h e   S t a t e f u l S e t :   #   I f   y o u   a l r e a d y   h a v e   a   w a t c h   r u n n i n g ,   y o u   c a n   c o n t i n u e   u s i n g   t h a t .   #   O t h e r w i s e ,   s t a r t   o n e .   #   E n d   t h i s   w a t c h   w h e n   t h e r e   a r e   5   h e a l t h y   P o d s   f o r   t h e   S t a t e f u l S e t   k u b e c t l   g e t   p o d s   - - w a t c h   - l   a p p = n g i n x   I n   a n o t h e r   t e r m i n a l   w i n d o w ,   u s e   k u b e c t l   s c a l e   t o   s c a l e   t h e   n u m b e r   o f   r e p l i c a s   t o   5 :   k u b e c t l   s c a l e   s t s   w e b   - - r e p l i c a s = 5   s t a t e f u l s e t . a p p s / w e b   s c a l e d   E x a m i n e   t h e   o u t p u t   o f   t h e   k u b e c t l   g e t   c o m m a n d   i n   t h e   f i r s t   t e r m i n a l ,   a n d   w a i t   f o r   t h e   t h r e e   a d d i t i o n a l   P o d s   t o   t r a n s i t i o n   t o   R u n n i n g   a n d   R e a d y .   #   T h i s   s h o u l d   a l r e a d y   b e   r u n n i n g   k u b e c t l   g e t   p o d   - - w a t c h   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   2 h   w e b - 1   1 / 1   R u n n i n g   0   2 h   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 2   0 / 1   P e n d i n g   0   0 s   w e b - 2   0 / 1   P e n d i n g   0   0 s   w e b - 2   0 / 1   C o n t a i n e r C r e a t i n g   0   0 s   w e b - 2   1 / 1   R u n n i n g   0   1 9 s   w ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_3_17129"
  },
  {
    "question": "What is Scaling down?",
    "answer": "S c a l i n g   d o w n   m e a n s   r e d u c i n g   t h e   n u m b e r   o f   r e p l i c a s .   F o r   e x a m p l e ,   y o u   m i g h t   d o   t h i s   b e c a u s e   t h e   l e v e l   o f   t r a f f i c   t o   a   s e r v i c e   h a s   d e c r e a s e d ,   a n d   a t   t h e   c u r r e n t   s c a l e   t h e r e   a r e   i d l e   r e s o u r c e s .   I n   o n e   t e r m i n a l ,   w a t c h   t h e   S t a t e f u l S e t ' s   P o d s :   #   E n d   t h i s   w a t c h   w h e n   t h e r e   a r e   o n l y   3   P o d s   f o r   t h e   S t a t e f u l S e t   k u b e c t l   g e t   p o d   - - w a t c h   - l   a p p = n g i n x   I n   a n o t h e r   t e r m i n a l ,   u s e   k u b e c t l   p a t c h   t o   s c a l e   t h e   S t a t e f u l S e t   b a c k   d o w n   t o   t h r e e   r e p l i c a s :   k u b e c t l   p a t c h   s t s   w e b   - p   ' { \" s p e c \" : { \" r e p l i c a s \" : 3 } } '   s t a t e f u l s e t . a p p s / w e b   p a t c h e d   W a i t   f o r   w e b - 4   a n d   w e b - 3   t o   t r a n s i t i o n   t o   T e r m i n a t i n g .   #   T h i s   s h o u l d   a l r e a d y   b e   r u n n i n g   k u b e c t l   g e t   p o d s   - - w a t c h   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   3 h   w e b - 1   1 / 1   R u n n i n g   0   3 h   w e b - 2   1 / 1   R u n n i n g   0   5 5 s   w e b - 3   1 / 1   R u n n i n g   0   3 6 s   w e b - 4   0 / 1   C o n t a i n e r C r e a t i n g   0   1 8 s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 4   1 / 1   R u n n i n g   0   1 9 s   w e b - 4   1 / 1   T e r m i n a t i n g   0   2 4 s   w e b - 4   1 / 1   T e r m i n a t i n g   0   2 4 s   w e b - 3   1 / 1   T e r m i n a t i n g   0   4 2 s   w e b - 3   1 / 1   T e r m i n a t i n g   0   4 2 s",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_3_17130"
  },
  {
    "question": "What is Ordered Pod termination?",
    "answer": "T h e   c o n t r o l   p l a n e   d e l e t e d   o n e   P o d   a t   a   t i m e ,   i n   r e v e r s e   o r d e r   w i t h   r e s p e c t   t o   i t s   o r d i n a l   i n d e x ,   a n d   i t   w a i t e d   f o r   e a c h   P o d   t o   b e   c o m p l e t e l y   s h u t   d o w n   b e f o r e   d e l e t i n g   t h e   n e x t   o n e .   G e t   t h e   S t a t e f u l S e t ' s   P e r s i s t e n t V o l u m e C l a i m s :   k u b e c t l   g e t   p v c   - l   a p p = n g i n x   N A M E   S T A T U S   V O L U M E   C A P A C I T Y   A C C E S S M O D E S   A G E   w w w - w e b - 0   B o u n d   p v c - 1 5 c 2 6 8 c 7 - b 5 0 7 - 1 1 e 6 - 9 3 2 f - 4 2 0 1 0 a 8 0 0 0 0 2   1 G i   R W O   1 3 h   w w w - w e b - 1   B o u n d   p v c - 1 5 c 7 9 3 0 7 - b 5 0 7 - 1 1 e 6 - 9 3 2 f - 4 2 0 1 0 a 8 0 0 0 0 2   1 G i   R W O   1 3 h   w w w - w e b - 2   B o u n d   p v c - e 1 1 2 5 b 2 7 - b 5 0 8 - 1 1 e 6 - 9 3 2 f - 4 2 0 1 0 a 8 0 0 0 0 2   1 G i   R W O   1 3 h   w w w - w e b - 3   B o u n d   p v c - e 1 1 7 6 d f 6 - b 5 0 8 - 1 1 e 6 - 9 3 2 f - 4 2 0 1 0 a 8 0 0 0 0 2   1 G i   R W O   1 3 h   w w w - w e b - 4   B o u n d   p v c - e 1 1 b b 5 f 8 - b 5 0 8 - 1 1 e 6 - 9 3 2 f - 4 2 0 1 0 a 8 0 0 0 0 2   1 G i   R W O   1 3 h   T h e r e   a r e   s t i l l   f i v e   P e r s i s t e n t V o l u m e C l a i m s   a n d   f i v e   P e r s i s t e n t V o l u m e s .   W h e n   e x p l o r i n g   a   P o d ' s   s t a b l e   s t o r a g e ,   y o u   s a w   t h a t   t h e   P e r s i s t e n t V o l u m e s   m o u n t e d   t o   t h e   P o d s   o f   a   S t a t e f u l S e t   a r e   n o t   d e l e t e d   w h e n   t h e   S t a t e f u l S e t ' s   P o d s   a r e   d e l e t e d .   T h i s   i s   s t i l l   t r u e   w h e n   P o d   d e l e t i o n   i s   c a u s e d   b y   s c a l i n g   t h e   S t a t e f u l S e t   d o w n .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_3_17131"
  },
  {
    "question": "What is Updating StatefulSets?",
    "answer": "T h e   S t a t e f u l S e t   c o n t r o l l e r   s u p p o r t s   a u t o m a t e d   u p d a t e s .   T h e   s t r a t e g y   u s e d   i s   d e t e r m i n e d   b y   t h e   s p e c . u p d a t e S t r a t e g y   f i e l d   o f   t h e   S t a t e f u l S e t   A P I   o b j e c t .   T h i s   f e a t u r e   c a n   b e   u s e d   t o   u p g r a d e   t h e   c o n t a i n e r   i m a g e s ,   r e s o u r c e   r e q u e s t s   a n d / o r   l i m i t s ,   l a b e l s ,   a n d   a n n o t a t i o n s   o f   t h e   P o d s   i n   a   S t a t e f u l S e t .   T h e r e   a r e   t w o   v a l i d   u p d a t e   s t r a t e g i e s ,   R o l l i n g U p d a t e   ( t h e   d e f a u l t )   a n d   O n D e l e t e .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17132"
  },
  {
    "question": "What is RollingUpdate?",
    "answer": "T h e   R o l l i n g U p d a t e   u p d a t e   s t r a t e g y   w i l l   u p d a t e   a l l   P o d s   i n   a   S t a t e f u l S e t ,   i n   r e v e r s e   o r d i n a l   o r d e r ,   w h i l e   r e s p e c t i n g   t h e   S t a t e f u l S e t   g u a r a n t e e s .   Y o u   c a n   s p l i t   u p d a t e s   t o   a   S t a t e f u l S e t   t h a t   u s e s   t h e   R o l l i n g U p d a t e   s t r a t e g y   i n t o   p a r t i t i o n s ,   b y   s p e c i f y i n g   . s p e c . u p d a t e S t r a t e g y . r o l l i n g U p d a t e . p a r t i t i o n .   Y o u ' l l   p r a c t i c e   t h a t   l a t e r   i n   t h i s   t u t o r i a l .   F i r s t ,   t r y   a   s i m p l e   r o l l i n g   u p d a t e .   I n   o n e   t e r m i n a l   w i n d o w ,   p a t c h   t h e   w e b   S t a t e f u l S e t   t o   c h a n g e   t h e   c o n t a i n e r   i m a g e   a g a i n :   k u b e c t l   p a t c h   s t a t e f u l s e t   w e b   - - t y p e = ' j s o n '   - p = ' [ { \" o p \" :   \" r e p l a c e \" ,   \" p a t h \" :   \" / s p e c / t e m p l a t e / s p e c / c o n t a i n e r s / 0 / i m a g e \" ,   \" v a l u e \" : \" r e g i s t r y . k 8 s . i o / n g i n x - s l i m : 0 . 2 4 \" } ] '   s t a t e f u l s e t . a p p s / w e b   p a t c h e d   I n   a n o t h e r   t e r m i n a l ,   w a t c h   t h e   P o d s   i n   t h e   S t a t e f u l S e t :   #   E n d   t h i s   w a t c h   w h e n   t h e   r o l l o u t   i s   c o m p l e t e   #   #   I f   y o u ' r e   n o t   s u r e ,   l e a v e   i t   r u n n i n g   o n e   m o r e   m i n u t e   k u b e c t l   g e t   p o d   - l   a p p = n g i n x   - - w a t c h   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   7 m   w e b - 1   1 / 1   R u n n i n g   0   7 m   w e b - 2   1 / 1   R u n n i n g   0   8 m   w e b - 2   1 / 1   T e r m i n a t i n g   ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_3_17133"
  },
  {
    "question": "What is Staging an update?",
    "answer": "Y o u   c a n   s p l i t   u p d a t e s   t o   a   S t a t e f u l S e t   t h a t   u s e s   t h e   R o l l i n g U p d a t e   s t r a t e g y   i n t o   p a r t i t i o n s ,   b y   s p e c i f y i n g   . s p e c . u p d a t e S t r a t e g y . r o l l i n g U p d a t e . p a r t i t i o n .   F o r   m o r e   c o n t e x t ,   y o u   c a n   r e a d   P a r t i t i o n e d   r o l l i n g   u p d a t e s   i n   t h e   S t a t e f u l S e t   c o n c e p t   p a g e .   Y o u   c a n   s t a g e   a n   u p d a t e   t o   a   S t a t e f u l S e t   b y   u s i n g   t h e   p a r t i t i o n   f i e l d   w i t h i n   . s p e c . u p d a t e S t r a t e g y . r o l l i n g U p d a t e .   F o r   t h i s   u p d a t e ,   y o u   w i l l   k e e p   t h e   e x i s t i n g   P o d s   i n   t h e   S t a t e f u l S e t   u n c h a n g e d   w h i l s t   y o u   c h a n g e   t h e   p o d   t e m p l a t e   f o r   t h e   S t a t e f u l S e t .   T h e n   y o u   -   o r ,   o u t s i d e   o f   a   t u t o r i a l ,   s o m e   e x t e r n a l   a u t o m a t i o n   -   c a n   t r i g g e r   t h a t   p r e p a r e d   u p d a t e .   F i r s t ,   p a t c h   t h e   w e b   S t a t e f u l S e t   t o   a d d   a   p a r t i t i o n   t o   t h e   u p d a t e S t r a t e g y   f i e l d :   #   T h e   v a l u e   o f   \" p a r t i t i o n \"   d e t e r m i n e s   w h i c h   o r d i n a l s   a   c h a n g e   a p p l i e s   t o   #   M a k e   s u r e   t o   u s e   a   n u m b e r   b i g g e r   t h a n   t h e   l a s t   o r d i n a l   f o r   t h e   #   S t a t e f u l S e t   k u b e c t l   p a t c h   s t a t e f u l s e t   w e b   - p   ' { \" s p e c \" : { \" u p d a t e S t r a t e g y \" : { \" t y p e \" : \" R o l l i n g U p d a t e \" , \" r o l l i n g U p d a t e \" : { \" p a r t i t i o n \" : 3 } } } } '   s t a t e f u l s e t . a p p s / w e b   p a t c h e d   P a t c h   t h e   S t a t e f u l S e t   a g a i n ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_4_17134"
  },
  {
    "question": "What is Rolling out a canary?",
    "answer": "Y o u ' r e   n o w   g o i n g   t o   t r y   a   c a n a r y   r o l l o u t   o f   t h a t   s t a g e d   c h a n g e .   Y o u   c a n   r o l l   o u t   a   c a n a r y   ( t o   t e s t   t h e   m o d i f i e d   t e m p l a t e )   b y   d e c r e m e n t i n g   t h e   p a r t i t i o n   y o u   s p e c i f i e d   a b o v e .   P a t c h   t h e   S t a t e f u l S e t   t o   d e c r e m e n t   t h e   p a r t i t i o n :   #   T h e   v a l u e   o f   \" p a r t i t i o n \"   s h o u l d   m a t c h   t h e   h i g h e s t   e x i s t i n g   o r d i n a l   f o r   #   t h e   S t a t e f u l S e t   k u b e c t l   p a t c h   s t a t e f u l s e t   w e b   - p   ' { \" s p e c \" : { \" u p d a t e S t r a t e g y \" : { \" t y p e \" : \" R o l l i n g U p d a t e \" , \" r o l l i n g U p d a t e \" : { \" p a r t i t i o n \" : 2 } } } } '   s t a t e f u l s e t . a p p s / w e b   p a t c h e d   T h e   c o n t r o l   p l a n e   t r i g g e r s   r e p l a c e m e n t   f o r   w e b - 2   ( i m p l e m e n t e d   b y   a   g r a c e f u l   d e l e t e   f o l l o w e d   b y   c r e a t i n g   a   n e w   P o d   o n c e   t h e   d e l e t i o n   i s   c o m p l e t e ) .   W a i t   f o r   t h e   n e w   w e b - 2   P o d   t o   b e   R u n n i n g   a n d   R e a d y .   #   T h i s   s h o u l d   a l r e a d y   b e   r u n n i n g   k u b e c t l   g e t   p o d   - l   a p p = n g i n x   - - w a t c h   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   4 m   w e b - 1   1 / 1   R u n n i n g   0   4 m   w e b - 2   0 / 1   C o n t a i n e r C r e a t i n g   0   1 1 s   w e b - 2   1 / 1   R u n n i n g   0   1 8 s   G e t   t h e   P o d ' s   c o n t a i n e r :   k u b e c t l   g e t   p o d   w e b - 2   - - t e m p l a t e   ' { { r a n g e   $ i ,   $ c   : =   . s p e c . c o n t a i n e r s } } { { $ c . i m a g e } } { { e n d } } '   r e g i s t r y . k 8 s . i o / n g ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_4_17135"
  },
  {
    "question": "What is Phased roll outs?",
    "answer": "Y o u   c a n   p e r f o r m   a   p h a s e d   r o l l   o u t   ( e . g .   a   l i n e a r ,   g e o m e t r i c ,   o r   e x p o n e n t i a l   r o l l   o u t )   u s i n g   a   p a r t i t i o n e d   r o l l i n g   u p d a t e   i n   a   s i m i l a r   m a n n e r   t o   h o w   y o u   r o l l e d   o u t   a   c a n a r y .   T o   p e r f o r m   a   p h a s e d   r o l l   o u t ,   s e t   t h e   p a r t i t i o n   t o   t h e   o r d i n a l   a t   w h i c h   y o u   w a n t   t h e   c o n t r o l l e r   t o   p a u s e   t h e   u p d a t e .   T h e   p a r t i t i o n   i s   c u r r e n t l y   s e t   t o   2 .   S e t   t h e   p a r t i t i o n   t o   0 :   k u b e c t l   p a t c h   s t a t e f u l s e t   w e b   - p   ' { \" s p e c \" : { \" u p d a t e S t r a t e g y \" : { \" t y p e \" : \" R o l l i n g U p d a t e \" , \" r o l l i n g U p d a t e \" : { \" p a r t i t i o n \" : 0 } } } } '   s t a t e f u l s e t . a p p s / w e b   p a t c h e d   W a i t   f o r   a l l   o f   t h e   P o d s   i n   t h e   S t a t e f u l S e t   t o   b e c o m e   R u n n i n g   a n d   R e a d y .   #   T h i s   s h o u l d   a l r e a d y   b e   r u n n i n g   k u b e c t l   g e t   p o d   - l   a p p = n g i n x   - - w a t c h   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   3 m   w e b - 1   0 / 1   C o n t a i n e r C r e a t i n g   0   1 1 s   w e b - 2   1 / 1   R u n n i n g   0   2 m   w e b - 1   1 / 1   R u n n i n g   0   1 8 s   w e b - 0   1 / 1   T e r m i n a t i n g   0   3 m   w e b - 0   1 / 1   T e r m i n a t i n g   0   3 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   3 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   3 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   3 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   3 m   w e b - 0   0 / 1   P e n d i n g   0   0 s   w e b - 0   0 / 1   P ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_4_17136"
  },
  {
    "question": "What is OnDelete?",
    "answer": "Y o u   s e l e c t   t h i s   u p d a t e   s t r a t e g y   f o r   a   S t a t e f u l S e t   b y   s e t t i n g   t h e   . s p e c . t e m p l a t e . u p d a t e S t r a t e g y . t y p e   t o   O n D e l e t e .   P a t c h   t h e   w e b   S t a t e f u l S e t   t o   u s e   t h e   O n D e l e t e   u p d a t e   s t r a t e g y :   k u b e c t l   p a t c h   s t a t e f u l s e t   w e b   - p   ' { \" s p e c \" : { \" u p d a t e S t r a t e g y \" : { \" t y p e \" : \" O n D e l e t e \" ,   \" r o l l i n g U p d a t e \" :   n u l l } } } '   s t a t e f u l s e t . a p p s / w e b   p a t c h e d   W h e n   y o u   s e l e c t   t h i s   u p d a t e   s t r a t e g y ,   t h e   S t a t e f u l S e t   c o n t r o l l e r   d o e s   n o t   a u t o m a t i c a l l y   u p d a t e   P o d s   w h e n   a   m o d i f i c a t i o n   i s   m a d e   t o   t h e   S t a t e f u l S e t ' s   . s p e c . t e m p l a t e   f i e l d .   Y o u   n e e d   t o   m a n a g e   t h e   r o l l o u t   y o u r s e l f   -   e i t h e r   m a n u a l l y ,   o r   u s i n g   s e p a r a t e   a u t o m a t i o n .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_3_17137"
  },
  {
    "question": "What is Deleting StatefulSets?",
    "answer": "S t a t e f u l S e t   s u p p o r t s   b o t h   n o n - c a s c a d i n g   a n d   c a s c a d i n g   d e l e t i o n .   I n   a   n o n - c a s c a d i n g   d e l e t e ,   t h e   S t a t e f u l S e t ' s   P o d s   a r e   n o t   d e l e t e d   w h e n   t h e   S t a t e f u l S e t   i s   d e l e t e d .   I n   a   c a s c a d i n g   d e l e t e ,   b o t h   t h e   S t a t e f u l S e t   a n d   i t s   P o d s   a r e   d e l e t e d .   R e a d   U s e   C a s c a d i n g   D e l e t i o n   i n   a   C l u s t e r   t o   l e a r n   a b o u t   c a s c a d i n g   d e l e t i o n   g e n e r a l l y .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17138"
  },
  {
    "question": "What is Non-cascading delete?",
    "answer": "I n   o n e   t e r m i n a l   w i n d o w ,   w a t c h   t h e   P o d s   i n   t h e   S t a t e f u l S e t .   #   E n d   t h i s   w a t c h   w h e n   t h e r e   a r e   n o   P o d s   f o r   t h e   S t a t e f u l S e t   k u b e c t l   g e t   p o d s   - - w a t c h   - l   a p p = n g i n x   U s e   k u b e c t l   d e l e t e   t o   d e l e t e   t h e   S t a t e f u l S e t .   M a k e   s u r e   t o   s u p p l y   t h e   - - c a s c a d e = o r p h a n   p a r a m e t e r   t o   t h e   c o m m a n d .   T h i s   p a r a m e t e r   t e l l s   K u b e r n e t e s   t o   o n l y   d e l e t e   t h e   S t a t e f u l S e t ,   a n d   t o   n o t   d e l e t e   a n y   o f   i t s   P o d s .   k u b e c t l   d e l e t e   s t a t e f u l s e t   w e b   - - c a s c a d e = o r p h a n   s t a t e f u l s e t . a p p s   \" w e b \"   d e l e t e d   G e t   t h e   P o d s ,   t o   e x a m i n e   t h e i r   s t a t u s :   k u b e c t l   g e t   p o d s   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   6 m   w e b - 1   1 / 1   R u n n i n g   0   7 m   w e b - 2   1 / 1   R u n n i n g   0   5 m   E v e n   t h o u g h   w e b   h a s   b e e n   d e l e t e d ,   a l l   o f   t h e   P o d s   a r e   s t i l l   R u n n i n g   a n d   R e a d y .   D e l e t e   w e b - 0 :   k u b e c t l   d e l e t e   p o d   w e b - 0   p o d   \" w e b - 0 \"   d e l e t e d   G e t   t h e   S t a t e f u l S e t ' s   P o d s :   k u b e c t l   g e t   p o d s   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 1   1 / 1   R u n n i n g   0   1 0 m   w e b - 2   1 / 1   R u n n i n g   0   7 m   A s   t h e   w e b   S t a t e f u l S e t   h a s   b e e n   d e l e t e d ,   w e b - 0   h a s   n o t   b e e n   r e l a u n c h e d .   I n   o n e   t e r m i n a l ,   w a t c h   t h e   S t a t e f u l S e ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_3_17139"
  },
  {
    "question": "What is Cascading delete?",
    "answer": "I n   o n e   t e r m i n a l   w i n d o w ,   w a t c h   t h e   P o d s   i n   t h e   S t a t e f u l S e t .   #   L e a v e   t h i s   r u n n i n g   u n t i l   t h e   n e x t   p a g e   s e c t i o n   k u b e c t l   g e t   p o d s   - - w a t c h   - l   a p p = n g i n x   I n   a n o t h e r   t e r m i n a l ,   d e l e t e   t h e   S t a t e f u l S e t   a g a i n .   T h i s   t i m e ,   o m i t   t h e   - - c a s c a d e = o r p h a n   p a r a m e t e r .   k u b e c t l   d e l e t e   s t a t e f u l s e t   w e b   s t a t e f u l s e t . a p p s   \" w e b \"   d e l e t e d   E x a m i n e   t h e   o u t p u t   o f   t h e   k u b e c t l   g e t   c o m m a n d   r u n n i n g   i n   t h e   f i r s t   t e r m i n a l ,   a n d   w a i t   f o r   a l l   o f   t h e   P o d s   t o   t r a n s i t i o n   t o   T e r m i n a t i n g .   #   T h i s   s h o u l d   a l r e a d y   b e   r u n n i n g   k u b e c t l   g e t   p o d s   - - w a t c h   - l   a p p = n g i n x   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   R u n n i n g   0   1 1 m   w e b - 1   1 / 1   R u n n i n g   0   2 7 m   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w e b - 0   1 / 1   T e r m i n a t i n g   0   1 2 m   w e b - 1   1 / 1   T e r m i n a t i n g   0   2 9 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   1 2 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   1 2 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   1 2 m   w e b - 1   0 / 1   T e r m i n a t i n g   0   2 9 m   w e b - 1   0 / 1   T e r m i n a t i n g   0   2 9 m   w e b - 1   0 / 1   T e r m i n a t i n g   0   2 9 m   A s   y o u   s a w   i n   t h e   S c a l i n g   D o w n   s e c t i o n ,   t h e   P o d s   a r e   t e r m i n a t e d   o n e   a t   a   t i m e ,   w i t h   r e s p e c t   t o   t h e   r e v e r s e   o r d e r   o f   t h e i r   o r d i n a l   i n d i c e s .   B e f o r e   t e r m i n ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_3_17140"
  },
  {
    "question": "What is Note:?",
    "answer": "k u b e c t l   d e l e t e   s e r v i c e   n g i n x   s e r v i c e   \" n g i n x \"   d e l e t e d   R e c r e a t e   t h e   S t a t e f u l S e t   a n d   h e a d l e s s   S e r v i c e   o n e   m o r e   t i m e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / w e b / w e b . y a m l   s e r v i c e / n g i n x   c r e a t e d   s t a t e f u l s e t . a p p s / w e b   c r e a t e d   W h e n   a l l   o f   t h e   S t a t e f u l S e t ' s   P o d s   t r a n s i t i o n   t o   R u n n i n g   a n d   R e a d y ,   r e t r i e v e   t h e   c o n t e n t s   o f   t h e i r   i n d e x . h t m l   f i l e s :   f o r   i   i n   0   1 ;   d o   k u b e c t l   e x e c   - i   - t   \" w e b - $ i \"   - -   c u r l   h t t p : / / l o c a l h o s t / ;   d o n e   w e b - 0   w e b - 1   E v e n   t h o u g h   y o u   c o m p l e t e l y   d e l e t e d   t h e   S t a t e f u l S e t ,   a n d   a l l   o f   i t s   P o d s ,   t h e   P o d s   a r e   r e c r e a t e d   w i t h   t h e i r   P e r s i s t e n t V o l u m e s   m o u n t e d ,   a n d   w e b - 0   a n d   w e b - 1   c o n t i n u e   t o   s e r v e   t h e i r   h o s t n a m e s .   F i n a l l y ,   d e l e t e   t h e   n g i n x   S e r v i c e . . .   k u b e c t l   d e l e t e   s e r v i c e   n g i n x   s e r v i c e   \" n g i n x \"   d e l e t e d   . . . a n d   t h e   w e b   S t a t e f u l S e t :   k u b e c t l   d e l e t e   s t a t e f u l s e t   w e b   s t a t e f u l s e t   \" w e b \"   d e l e t e d",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_4_17141"
  },
  {
    "question": "What is Pod management policy?",
    "answer": "F o r   s o m e   d i s t r i b u t e d   s y s t e m s ,   t h e   S t a t e f u l S e t   o r d e r i n g   g u a r a n t e e s   a r e   u n n e c e s s a r y   a n d / o r   u n d e s i r a b l e .   T h e s e   s y s t e m s   r e q u i r e   o n l y   u n i q u e n e s s   a n d   i d e n t i t y .   Y o u   c a n   s p e c i f y   a   P o d   m a n a g e m e n t   p o l i c y   t o   a v o i d   t h i s   s t r i c t   o r d e r i n g ;   e i t h e r   O r d e r e d R e a d y   ( t h e   d e f a u l t ) ,   o r   P a r a l l e l .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17142"
  },
  {
    "question": "What is OrderedReady Pod management?",
    "answer": "O r d e r e d R e a d y   p o d   m a n a g e m e n t   i s   t h e   d e f a u l t   f o r   S t a t e f u l S e t s .   I t   t e l l s   t h e   S t a t e f u l S e t   c o n t r o l l e r   t o   r e s p e c t   t h e   o r d e r i n g   g u a r a n t e e s   d e m o n s t r a t e d   a b o v e .   U s e   t h i s   w h e n   y o u r   a p p l i c a t i o n   r e q u i r e s   o r   e x p e c t s   t h a t   c h a n g e s ,   s u c h   a s   r o l l i n g   o u t   a   n e w   v e r s i o n   o f   y o u r   a p p l i c a t i o n ,   h a p p e n   i n   t h e   s t r i c t   o r d e r   o f   t h e   o r d i n a l   ( p o d   n u m b e r )   t h a t   t h e   S t a t e f u l S e t   p r o v i d e s .   I n   o t h e r   w o r d s ,   i f   y o u   h a v e   P o d s   a p p - 0 ,   a p p - 1   a n d   a p p - 2 ,   K u b e r n e t e s   w i l l   u p d a t e   a p p - 0   f i r s t   a n d   c h e c k   i t .   O n c e   t h e   c h e c k s   a r e   g o o d ,   K u b e r n e t e s   u p d a t e s   a p p - 1   a n d   f i n a l l y   a p p - 2 .   I f   y o u   a d d e d   t w o   m o r e   P o d s ,   K u b e r n e t e s   w o u l d   s e t   u p   a p p - 3   a n d   w a i t   f o r   t h a t   t o   b e c o m e   h e a l t h y   b e f o r e   d e p l o y i n g   a p p - 4 .   B e c a u s e   t h i s   i s   t h e   d e f a u l t   s e t t i n g ,   y o u ' v e   a l r e a d y   p r a c t i s e d   u s i n g   i t .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_3_17143"
  },
  {
    "question": "What is Parallel Pod management?",
    "answer": "T h e   a l t e r n a t i v e ,   P a r a l l e l   p o d   m a n a g e m e n t ,   t e l l s   t h e   S t a t e f u l S e t   c o n t r o l l e r   t o   l a u n c h   o r   t e r m i n a t e   a l l   P o d s   i n   p a r a l l e l ,   a n d   n o t   t o   w a i t   f o r   P o d s   t o   b e c o m e   R u n n i n g   a n d   R e a d y   o r   c o m p l e t e l y   t e r m i n a t e d   p r i o r   t o   l a u n c h i n g   o r   t e r m i n a t i n g   a n o t h e r   P o d .   T h e   P a r a l l e l   p o d   m a n a g e m e n t   o p t i o n   o n l y   a f f e c t s   t h e   b e h a v i o r   f o r   s c a l i n g   o p e r a t i o n s .   U p d a t e s   a r e   n o t   a f f e c t e d ;   K u b e r n e t e s   s t i l l   r o l l s   o u t   c h a n g e s   i n   o r d e r .   F o r   t h i s   t u t o r i a l ,   t h e   a p p l i c a t i o n   i s   v e r y   s i m p l e :   a   w e b s e r v e r   t h a t   t e l l s   y o u   i t s   h o s t n a m e   ( b e c a u s e   t h i s   i s   a   S t a t e f u l S e t ,   t h e   h o s t n a m e   f o r   e a c h   P o d   i s   d i f f e r e n t   a n d   p r e d i c t a b l e ) .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   n g i n x   l a b e l s :   a p p :   n g i n x   s p e c :   p o r t s :   -   p o r t :   8 0   n a m e :   w e b   c l u s t e r I P :   N o n e   s e l e c t o r :   a p p :   n g i n x   - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a :   n a m e :   w e b   s p e c :   s e r v i c e N a m e :   \" n g i n x \"   p o d M a n a g e m e n t P o l i c y :   \" P a r a l l e l \"   r e p l i c a s :   2   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   r e g i s t r y . k 8 s . i o / n g i n x - s l i m : 0 . 2 4   p ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_3_17144"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "Y o u   s h o u l d   h a v e   t w o   t e r m i n a l s   o p e n ,   r e a d y   f o r   y o u   t o   r u n   k u b e c t l   c o m m a n d s   a s   p a r t   o f   c l e a n u p .   k u b e c t l   d e l e t e   s t s   w e b   #   s t s   i s   a n   a b b r e v i a t i o n   f o r   s t a t e f u l s e t   Y o u   c a n   w a t c h   k u b e c t l   g e t   t o   s e e   t h o s e   P o d s   b e i n g   d e l e t e d .   #   e n d   t h e   w a t c h   w h e n   y o u ' v e   s e e n   w h a t   y o u   n e e d   t o   k u b e c t l   g e t   p o d   - l   a p p = n g i n x   - - w a t c h   w e b - 3   1 / 1   T e r m i n a t i n g   0   9 m   w e b - 2   1 / 1   T e r m i n a t i n g   0   9 m   w e b - 3   1 / 1   T e r m i n a t i n g   0   9 m   w e b - 2   1 / 1   T e r m i n a t i n g   0   9 m   w e b - 1   1 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 0   1 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 3   0 / 1   T e r m i n a t i n g   0   9 m   w e b - 2   0 / 1   T e r m i n a t i n g   0   9 m   w e b - 1   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 2   0 / 1   T e r m i n a t i n g   0   9 m   w e b - 2   0 / 1   T e r m i n a t i n g   0   9 m   w e b - 2   0 / 1   T e r m i n a t i n g   0   9 m   w e b - 1   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 1   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 1   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 0   0 / 1   T e r m i n a t i n g   0   4 4 m   w e b - 3   0 / 1   T e r m i n a t i n g   0   9 m   w e b - 3   0 / 1   T e r m i n a t i n g   0   9 m   w e b - 3   0 / 1   T e r m i n a t i n g   0   9 m   D u r i n g   d e l e t i o n ,   a   S t a t e f u l S e t   r e m o v e s   a l l   P o d s   c o n c u r r e n t l y ;   i t ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17145"
  },
  {
    "question": "What is 2 - Example: Deploying WordPress and MySQL with Persistent Volumes?",
    "answer": "T h i s   t u t o r i a l   s h o w s   y o u   h o w   t o   d e p l o y   a   W o r d P r e s s   s i t e   a n d   a   M y S Q L   d a t a b a s e   u s i n g   M i n i k u b e .   B o t h   a p p l i c a t i o n s   u s e   P e r s i s t e n t V o l u m e s   a n d   P e r s i s t e n t V o l u m e C l a i m s   t o   s t o r e   d a t a .   A   P e r s i s t e n t V o l u m e   ( P V )   i s   a   p i e c e   o f   s t o r a g e   i n   t h e   c l u s t e r   t h a t   h a s   b e e n   m a n u a l l y   p r o v i s i o n e d   b y   a n   a d m i n i s t r a t o r ,   o r   d y n a m i c a l l y   p r o v i s i o n e d   b y   K u b e r n e t e s   u s i n g   a   S t o r a g e C l a s s .   A   P e r s i s t e n t V o l u m e C l a i m   ( P V C )   i s   a   r e q u e s t   f o r   s t o r a g e   b y   a   u s e r   t h a t   c a n   b e   f u l f i l l e d   b y   a   P V .   P e r s i s t e n t V o l u m e s   a n d   P e r s i s t e n t V o l u m e C l a i m s   a r e   i n d e p e n d e n t   f r o m   P o d   l i f e c y c l e s   a n d   p r e s e r v e   d a t a   t h r o u g h   r e s t a r t i n g ,   r e s c h e d u l i n g ,   a n d   e v e n   d e l e t i n g   P o d s .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_1_17146"
  },
  {
    "question": "What is Objectives?",
    "answer": "C r e a t e   P e r s i s t e n t V o l u m e C l a i m s   a n d   P e r s i s t e n t V o l u m e s C r e a t e   a   k u s t o m i z a t i o n . y a m l   w i t h a   S e c r e t   g e n e r a t o r M y S Q L   r e s o u r c e   c o n f i g s W o r d P r e s s   r e s o u r c e   c o n f i g s A p p l y   t h e   k u s t o m i z a t i o n   d i r e c t o r y   b y   k u b e c t l   a p p l y   - k   . / C l e a n   u p   a   S e c r e t   g e n e r a t o r M y S Q L   r e s o u r c e   c o n f i g s W o r d P r e s s   r e s o u r c e   c o n f i g s",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17147"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   T h e   e x a m p l e   s h o w n   o n   t h i s   p a g e   w o r k s   w i t h   k u b e c t l   1 . 2 7   a n d   a b o ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17148"
  },
  {
    "question": "What is Create PersistentVolumeClaims and PersistentVolumes?",
    "answer": "M y S Q L   a n d   W o r d p r e s s   e a c h   r e q u i r e   a   P e r s i s t e n t V o l u m e   t o   s t o r e   d a t a .   T h e i r   P e r s i s t e n t V o l u m e C l a i m s   w i l l   b e   c r e a t e d   a t   t h e   d e p l o y m e n t   s t e p .   M a n y   c l u s t e r   e n v i r o n m e n t s   h a v e   a   d e f a u l t   S t o r a g e C l a s s   i n s t a l l e d .   W h e n   a   S t o r a g e C l a s s   i s   n o t   s p e c i f i e d   i n   t h e   P e r s i s t e n t V o l u m e C l a i m ,   t h e   c l u s t e r ' s   d e f a u l t   S t o r a g e C l a s s   i s   u s e d   i n s t e a d .   W h e n   a   P e r s i s t e n t V o l u m e C l a i m   i s   c r e a t e d ,   a   P e r s i s t e n t V o l u m e   i s   d y n a m i c a l l y   p r o v i s i o n e d   b a s e d   o n   t h e   S t o r a g e C l a s s   c o n f i g u r a t i o n .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17149"
  },
  {
    "question": "What is Add a Secret generator?",
    "answer": "A   S e c r e t   i s   a n   o b j e c t   t h a t   s t o r e s   a   p i e c e   o f   s e n s i t i v e   d a t a   l i k e   a   p a s s w o r d   o r   k e y .   S i n c e   1 . 1 4 ,   k u b e c t l   s u p p o r t s   t h e   m a n a g e m e n t   o f   K u b e r n e t e s   o b j e c t s   u s i n g   a   k u s t o m i z a t i o n   f i l e .   Y o u   c a n   c r e a t e   a   S e c r e t   b y   g e n e r a t o r s   i n   k u s t o m i z a t i o n . y a m l .   A d d   a   S e c r e t   g e n e r a t o r   i n   k u s t o m i z a t i o n . y a m l   f r o m   t h e   f o l l o w i n g   c o m m a n d .   Y o u   w i l l   n e e d   t o   r e p l a c e   Y O U R _ P A S S W O R D   w i t h   t h e   p a s s w o r d   y o u   w a n t   t o   u s e .   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   s e c r e t G e n e r a t o r :   -   n a m e :   m y s q l - p a s s   l i t e r a l s :   -   p a s s w o r d = Y O U R _ P A S S W O R D   E O F",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_3_17150"
  },
  {
    "question": "What is Add resource configs for MySQL and WordPress?",
    "answer": "T h e   f o l l o w i n g   m a n i f e s t   d e s c r i b e s   a   s i n g l e - i n s t a n c e   M y S Q L   D e p l o y m e n t .   T h e   M y S Q L   c o n t a i n e r   m o u n t s   t h e   P e r s i s t e n t V o l u m e   a t   / v a r / l i b / m y s q l .   T h e   M Y S Q L _ R O O T _ P A S S W O R D   e n v i r o n m e n t   v a r i a b l e   s e t s   t h e   d a t a b a s e   p a s s w o r d   f r o m   t h e   S e c r e t .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   w o r d p r e s s - m y s q l   l a b e l s :   a p p :   w o r d p r e s s   s p e c :   p o r t s :   -   p o r t :   3 3 0 6   s e l e c t o r :   a p p :   w o r d p r e s s   t i e r :   m y s q l   c l u s t e r I P :   N o n e   - - -   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   m y s q l - p v - c l a i m   l a b e l s :   a p p :   w o r d p r e s s   s p e c :   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   2 0 G i   - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   w o r d p r e s s - m y s q l   l a b e l s :   a p p :   w o r d p r e s s   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   w o r d p r e s s   t i e r :   m y s q l   s t r a t e g y :   t y p e :   R e c r e a t e   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   w o r d p r e s s   t i e r :   m y s q l   s p e c :   c o n t a i n e r s :   -   i m a g e :   m y s q l : 8 . 0   n a m e :   m y s q l   e n v :   -   n a m e :   M Y S Q L _ R O O T _ P A S S W O R D   v a l u e F r o m :   s e c r e t K e y R e f :   n a m e :   m y s q l - p a s s   k e y :   p a s s w o r d   -   n a m e :   M Y S Q L _ D A T A B A S E   v a l u e :   w o r d p r e s s   -   n a m e :   M Y S Q L _ U S E R   v a l u e :   w o r d p ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17151"
  },
  {
    "question": "What is Apply and Verify?",
    "answer": "T h e   k u s t o m i z a t i o n . y a m l   c o n t a i n s   a l l   t h e   r e s o u r c e s   f o r   d e p l o y i n g   a   W o r d P r e s s   s i t e   a n d   a   M y S Q L   d a t a b a s e .   Y o u   c a n   a p p l y   t h e   d i r e c t o r y   b y   k u b e c t l   a p p l y   - k   . /   N o w   y o u   c a n   v e r i f y   t h a t   a l l   o b j e c t s   e x i s t .   V e r i f y   t h a t   t h e   S e c r e t   e x i s t s   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   g e t   s e c r e t s   T h e   r e s p o n s e   s h o u l d   b e   l i k e   t h i s : N A M E   T Y P E   D A T A   A G E   m y s q l - p a s s - c 5 7 b b 4 t 7 m f   O p a q u e   1   9 s   V e r i f y   t h a t   a   P e r s i s t e n t V o l u m e   g o t   d y n a m i c a l l y   p r o v i s i o n e d . k u b e c t l   g e t   p v c   N o t e : I t   c a n   t a k e   u p   t o   a   f e w   m i n u t e s   f o r   t h e   P V s   t o   b e   p r o v i s i o n e d   a n d   b o u n d . T h e   r e s p o n s e   s h o u l d   b e   l i k e   t h i s : N A M E   S T A T U S   V O L U M E   C A P A C I T Y   A C C E S S   M O D E S   S T O R A G E C L A S S   A G E   m y s q l - p v - c l a i m   B o u n d   p v c - 8 c b d 7 b 2 e - 4 0 4 4 - 1 1 e 9 - b 2 b b - 4 2 0 1 0 a 8 0 0 0 0 2   2 0 G i   R W O   s t a n d a r d   7 7 s   w p - p v - c l a i m   B o u n d   p v c - 8 c d 0 d f 5 4 - 4 0 4 4 - 1 1 e 9 - b 2 b b - 4 2 0 1 0 a 8 0 0 0 0 2   2 0 G i   R W O   s t a n d a r d   7 7 s   V e r i f y   t h a t   t h e   P o d   i s   r u n n i n g   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   g e t   p o d s   N o t e : I t   c a n   t a k e   u p   t o   a   f e w   m i n u t e s   f o r   t h e   P o d ' s   S t a t u s   t o   b e   R U N N I N G . T h e   r e s p o n s e   s h o u l d   b e   l i k e   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w o r d p r e s s ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17152"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   r e s p o n s e   s h o u l d   b e   l i k e   t h i s :   N A M E   S T A T U S   V O L U M E   C A P A C I T Y   A C C E S S   M O D E S   S T O R A G E C L A S S   A G E   m y s q l - p v - c l a i m   B o u n d   p v c - 8 c b d 7 b 2 e - 4 0 4 4 - 1 1 e 9 - b 2 b b - 4 2 0 1 0 a 8 0 0 0 0 2   2 0 G i   R W O   s t a n d a r d   7 7 s   w p - p v - c l a i m   B o u n d   p v c - 8 c d 0 d f 5 4 - 4 0 4 4 - 1 1 e 9 - b 2 b b - 4 2 0 1 0 a 8 0 0 0 0 2   2 0 G i   R W O   s t a n d a r d   7 7 s   V e r i f y   t h a t   t h e   P o d   i s   r u n n i n g   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   g e t   p o d s",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_4_17153"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   r e s p o n s e   s h o u l d   b e   l i k e   t h i s :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   w o r d p r e s s - m y s q l - 1 8 9 4 4 1 7 6 0 8 - x 5 d z t   1 / 1   R u n n i n g   0   4 0 s   V e r i f y   t h a t   t h e   S e r v i c e   i s   r u n n i n g   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   g e t   s e r v i c e s   w o r d p r e s s   T h e   r e s p o n s e   s h o u l d   b e   l i k e   t h i s :   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   w o r d p r e s s   L o a d B a l a n c e r   1 0 . 0 . 0 . 8 9   < p e n d i n g >   8 0 : 3 2 4 0 6 / T C P   4 m",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_4_17154"
  },
  {
    "question": "What is Note:?",
    "answer": "R u n   t h e   f o l l o w i n g   c o m m a n d   t o   g e t   t h e   I P   A d d r e s s   f o r   t h e   W o r d P r e s s   S e r v i c e :   m i n i k u b e   s e r v i c e   w o r d p r e s s   - - u r l   T h e   r e s p o n s e   s h o u l d   b e   l i k e   t h i s :   h t t p : / / 1 . 2 . 3 . 4 : 3 2 4 0 6   C o p y   t h e   I P   a d d r e s s ,   a n d   l o a d   t h e   p a g e   i n   y o u r   b r o w s e r   t o   v i e w   y o u r   s i t e .   Y o u   s h o u l d   s e e   t h e   W o r d P r e s s   s e t   u p   p a g e   s i m i l a r   t o   t h e   f o l l o w i n g   s c r e e n s h o t .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_4_17155"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "R u n   t h e   f o l l o w i n g   c o m m a n d   t o   d e l e t e   y o u r   S e c r e t ,   D e p l o y m e n t s ,   S e r v i c e s   a n d   P e r s i s t e n t V o l u m e C l a i m s : k u b e c t l   d e l e t e   - k   . /   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   d e l e t e   y o u r   S e c r e t ,   D e p l o y m e n t s ,   S e r v i c e s   a n d   P e r s i s t e n t V o l u m e C l a i m s :   k u b e c t l   d e l e t e   - k   . /",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17156"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   I n t r o s p e c t i o n   a n d   D e b u g g i n g L e a r n   m o r e   a b o u t   J o b s L e a r n   m o r e   a b o u t   P o r t   F o r w a r d i n g L e a r n   h o w   t o   G e t   a   S h e l l   t o   a   C o n t a i n e r",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17157"
  },
  {
    "question": "What is 3 - Example: Deploying Cassandra with a StatefulSet?",
    "answer": "T h i s   t u t o r i a l   s h o w s   y o u   h o w   t o   r u n   A p a c h e   C a s s a n d r a   o n   K u b e r n e t e s .   C a s s a n d r a ,   a   d a t a b a s e ,   n e e d s   p e r s i s t e n t   s t o r a g e   t o   p r o v i d e   d a t a   d u r a b i l i t y   ( a p p l i c a t i o n   s t a t e ) .   I n   t h i s   e x a m p l e ,   a   c u s t o m   C a s s a n d r a   s e e d   p r o v i d e r   l e t s   t h e   d a t a b a s e   d i s c o v e r   n e w   C a s s a n d r a   i n s t a n c e s   a s   t h e y   j o i n   t h e   C a s s a n d r a   c l u s t e r .   S t a t e f u l S e t s   m a k e   i t   e a s i e r   t o   d e p l o y   s t a t e f u l   a p p l i c a t i o n s   i n t o   y o u r   K u b e r n e t e s   c l u s t e r .   F o r   m o r e   i n f o r m a t i o n   o n   t h e   f e a t u r e s   u s e d   i n   t h i s   t u t o r i a l ,   s e e   S t a t e f u l S e t .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_1_17158"
  },
  {
    "question": "What is Note:?",
    "answer": "C a s s a n d r a   a n d   K u b e r n e t e s   b o t h   u s e   t h e   t e r m   n o d e   t o   m e a n   a   m e m b e r   o f   a   c l u s t e r .   I n   t h i s   t u t o r i a l ,   t h e   P o d s   t h a t   b e l o n g   t o   t h e   S t a t e f u l S e t   a r e   C a s s a n d r a   n o d e s   a n d   a r e   m e m b e r s   o f   t h e   C a s s a n d r a   c l u s t e r   ( c a l l e d   a   r i n g ) .   W h e n   t h o s e   P o d s   r u n   i n   y o u r   K u b e r n e t e s   c l u s t e r ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   s c h e d u l e s   t h o s e   P o d s   o n t o   K u b e r n e t e s   N o d e s .   W h e n   a   C a s s a n d r a   n o d e   s t a r t s ,   i t   u s e s   a   s e e d   l i s t   t o   b o o t s t r a p   d i s c o v e r y   o f   o t h e r   n o d e s   i n   t h e   r i n g .   T h i s   t u t o r i a l   d e p l o y s   a   c u s t o m   C a s s a n d r a   s e e d   p r o v i d e r   t h a t   l e t s   t h e   d a t a b a s e   d i s c o v e r   n e w   C a s s a n d r a   P o d s   a s   t h e y   a p p e a r   i n s i d e   y o u r   K u b e r n e t e s   c l u s t e r .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_4_17159"
  },
  {
    "question": "What is Objectives?",
    "answer": "C r e a t e   a n d   v a l i d a t e   a   C a s s a n d r a   h e a d l e s s   S e r v i c e . U s e   a   S t a t e f u l S e t   t o   c r e a t e   a   C a s s a n d r a   r i n g . V a l i d a t e   t h e   S t a t e f u l S e t . M o d i f y   t h e   S t a t e f u l S e t . D e l e t e   t h e   S t a t e f u l S e t   a n d   i t s   P o d s .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17160"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c o m p l e t e   t h i s   t u t o r i a l ,   y o u   s h o u l d   a l r e a d y   h a v e   a   b a s i c   f a m i l i a r i t y   w i t h   P o d s ,   S e r v i c e s ,   a n d   S t a t e f u l S e t s .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17161"
  },
  {
    "question": "What is Caution:?",
    "answer": "M i n i k u b e   d e f a u l t s   t o   2 0 4 8 M B   o f   m e m o r y   a n d   2   C P U .   R u n n i n g   M i n i k u b e   w i t h   t h e   d e f a u l t   r e s o u r c e   c o n f i g u r a t i o n   r e s u l t s   i n   i n s u f f i c i e n t   r e s o u r c e   e r r o r s   d u r i n g   t h i s   t u t o r i a l .   T o   a v o i d   t h e s e   e r r o r s ,   s t a r t   M i n i k u b e   w i t h   t h e   f o l l o w i n g   s e t t i n g s :   m i n i k u b e   s t a r t   - - m e m o r y   5 1 2 0   - - c p u s = 4",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_4_17162"
  },
  {
    "question": "What is Creating a headless Service for Cassandra?",
    "answer": "I n   K u b e r n e t e s ,   a   S e r v i c e   d e s c r i b e s   a   s e t   o f   P o d s   t h a t   p e r f o r m   t h e   s a m e   t a s k .   T h e   f o l l o w i n g   S e r v i c e   i s   u s e d   f o r   D N S   l o o k u p s   b e t w e e n   C a s s a n d r a   P o d s   a n d   c l i e n t s   w i t h i n   y o u r   c l u s t e r :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   l a b e l s :   a p p :   c a s s a n d r a   n a m e :   c a s s a n d r a   s p e c :   c l u s t e r I P :   N o n e   p o r t s :   -   p o r t :   9 0 4 2   s e l e c t o r :   a p p :   c a s s a n d r a   C r e a t e   a   S e r v i c e   t o   t r a c k   a l l   C a s s a n d r a   S t a t e f u l S e t   m e m b e r s   f r o m   t h e   c a s s a n d r a - s e r v i c e . y a m l   f i l e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / c a s s a n d r a / c a s s a n d r a - s e r v i c e . y a m l",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17163"
  },
  {
    "question": "What is Validating (optional)?",
    "answer": "G e t   t h e   C a s s a n d r a   S e r v i c e .   k u b e c t l   g e t   s v c   c a s s a n d r a   T h e   r e s p o n s e   i s   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   c a s s a n d r a   C l u s t e r I P   N o n e   < n o n e >   9 0 4 2 / T C P   4 5 s   I f   y o u   d o n ' t   s e e   a   S e r v i c e   n a m e d   c a s s a n d r a ,   t h a t   m e a n s   c r e a t i o n   f a i l e d .   R e a d   D e b u g   S e r v i c e s   f o r   h e l p   t r o u b l e s h o o t i n g   c o m m o n   i s s u e s .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_3_17164"
  },
  {
    "question": "What is Using a StatefulSet to create a Cassandra ring?",
    "answer": "T h e   S t a t e f u l S e t   m a n i f e s t ,   i n c l u d e d   b e l o w ,   c r e a t e s   a   C a s s a n d r a   r i n g   t h a t   c o n s i s t s   o f   t h r e e   P o d s .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17165"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a :   n a m e :   c a s s a n d r a   l a b e l s :   a p p :   c a s s a n d r a   s p e c :   s e r v i c e N a m e :   c a s s a n d r a   r e p l i c a s :   3   s e l e c t o r :   m a t c h L a b e l s :   a p p :   c a s s a n d r a   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   c a s s a n d r a   s p e c :   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s :   5 0 0   c o n t a i n e r s :   -   n a m e :   c a s s a n d r a   i m a g e :   g c r . i o / g o o g l e - s a m p l e s / c a s s a n d r a : v 1 3   i m a g e P u l l P o l i c y :   A l w a y s   p o r t s :   -   c o n t a i n e r P o r t :   7 0 0 0   n a m e :   i n t r a - n o d e   -   c o n t a i n e r P o r t :   7 0 0 1   n a m e :   t l s - i n t r a - n o d e   -   c o n t a i n e r P o r t :   7 1 9 9   n a m e :   j m x   -   c o n t a i n e r P o r t :   9 0 4 2   n a m e :   c q l   r e s o u r c e s :   l i m i t s :   c p u :   \" 5 0 0 m \"   m e m o r y :   1 G i   r e q u e s t s :   c p u :   \" 5 0 0 m \"   m e m o r y :   1 G i   s e c u r i t y C o n t e x t :   c a p a b i l i t i e s :   a d d :   -   I P C _ L O C K   l i f e c y c l e :   p r e S t o p :   e x e c :   c o m m a n d :   -   / b i n / s h   -   - c   -   n o d e t o o l   d r a i n   e n v :   -   n a m e :   M A X _ H E A P _ S I Z E   v a l u e :   5 1 2 M   -   n a m e :   H E A P _ N E W S I Z E   v a l u e :   1 0 0 M   -   n a m e :   C A S S A N D R A _ S E E D S   v a l u e :   \" c a s s a n d r a - 0 . c a s s a n d r a . d e f a u l t . s v c . c l u s t e r . l o c a l \"   -   n a m e :   C A S S A N D R A _ C L U S T E R _ N A M E   v a l u e :   \" K 8 D e m o \"   -   n a m e :   C A S S A N D R A _ D C   v a l u e :   \" D C 1 - K 8 D e m o \"   -   n a m e :   C A S S A N D R A _ R A C K   v a l u e :   \" R a c k 1 - K 8 D e m o \"   -   n a m e :   P O D _ I P   v a l u e F r o ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_4_17166"
  },
  {
    "question": "What is Validating the Cassandra StatefulSet?",
    "answer": "G e t   t h e   C a s s a n d r a   S t a t e f u l S e t : k u b e c t l   g e t   s t a t e f u l s e t   c a s s a n d r a   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o : N A M E   D E S I R E D   C U R R E N T   A G E   c a s s a n d r a   3   0   1 3 s   T h e   S t a t e f u l S e t   r e s o u r c e   d e p l o y s   P o d s   s e q u e n t i a l l y . G e t   t h e   P o d s   t o   s e e   t h e   o r d e r e d   c r e a t i o n   s t a t u s : k u b e c t l   g e t   p o d s   - l = \" a p p = c a s s a n d r a \"   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   c a s s a n d r a - 0   1 / 1   R u n n i n g   0   1 m   c a s s a n d r a - 1   0 / 1   C o n t a i n e r C r e a t i n g   0   8 s   I t   c a n   t a k e   s e v e r a l   m i n u t e s   f o r   a l l   t h r e e   P o d s   t o   d e p l o y .   O n c e   t h e y   a r e   d e p l o y e d ,   t h e   s a m e   c o m m a n d   r e t u r n s   o u t p u t   s i m i l a r   t o : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   c a s s a n d r a - 0   1 / 1   R u n n i n g   0   1 0 m   c a s s a n d r a - 1   1 / 1   R u n n i n g   0   9 m   c a s s a n d r a - 2   1 / 1   R u n n i n g   0   8 m   R u n   t h e   C a s s a n d r a   n o d e t o o l   i n s i d e   t h e   f i r s t   P o d ,   t o   d i s p l a y   t h e   s t a t u s   o f   t h e   r i n g . k u b e c t l   e x e c   - i t   c a s s a n d r a - 0   - -   n o d e t o o l   s t a t u s   T h e   r e s p o n s e   s h o u l d   l o o k   s o m e t h i n g   l i k e : D a t a c e n t e r :   D C 1 - K 8 D e m o   = = = = = = = = = = = = = = = = = = = = = =   S t a t u s = U p / D o w n   | /   S t a t e = N o r m a l / L e a v i n g / J o i n i n g / M o v i n g   - -   A d d r e s s   L o a d   T o k e n s   O w n s   ( e f f e c t i v e )   H o s t   I D   R a c k   U N   1 7 2 . 1 7 . 0 . 5   8 3 . 5 7   K i B ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17167"
  },
  {
    "question": "What is Modifying the Cassandra StatefulSet?",
    "answer": "U s e   k u b e c t l   e d i t   t o   m o d i f y   t h e   s i z e   o f   a   C a s s a n d r a   S t a t e f u l S e t .   R u n   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   e d i t   s t a t e f u l s e t   c a s s a n d r a   T h i s   c o m m a n d   o p e n s   a n   e d i t o r   i n   y o u r   t e r m i n a l .   T h e   l i n e   y o u   n e e d   t o   c h a n g e   i s   t h e   r e p l i c a s   f i e l d .   T h e   f o l l o w i n g   s a m p l e   i s   a n   e x c e r p t   o f   t h e   S t a t e f u l S e t   f i l e : #   P l e a s e   e d i t   t h e   o b j e c t   b e l o w .   L i n e s   b e g i n n i n g   w i t h   a   ' # '   w i l l   b e   i g n o r e d ,   #   a n d   a n   e m p t y   f i l e   w i l l   a b o r t   t h e   e d i t .   I f   a n   e r r o r   o c c u r s   w h i l e   s a v i n g   t h i s   f i l e   w i l l   b e   #   r e o p e n e d   w i t h   t h e   r e l e v a n t   f a i l u r e s .   #   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   2 0 1 6 - 0 8 - 1 3 T 1 8 : 4 0 : 5 8 Z   g e n e r a t i o n :   1   l a b e l s :   a p p :   c a s s a n d r a   n a m e :   c a s s a n d r a   n a m e s p a c e :   d e f a u l t   r e s o u r c e V e r s i o n :   \" 3 2 3 \"   u i d :   7 a 2 1 9 4 8 3 - 6 1 8 5 - 1 1 e 6 - a 9 1 0 - 4 2 0 1 0 a 8 a 0 f c 0   s p e c :   r e p l i c a s :   3   C h a n g e   t h e   n u m b e r   o f   r e p l i c a s   t o   4 ,   a n d   t h e n   s a v e   t h e   m a n i f e s t . T h e   S t a t e f u l S e t   n o w   s c a l e s   t o   r u n   w i t h   4   P o d s . G e t   t h e   C a s s a n d r a   S t a t e f u l S e t   t o   v e r i f y   y o u r   c h a n g e : k u b e c t l   g e t   s t a t e f u l s e t   c a s s a n d r a   T h e   r e s p o n s e   s h o u l d   b e   s i m i l a r   t o : N A M E   D E S I R E D   C U R R E N T   A G E   c a s s a n d r a   4   4 ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17168"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "D e l e t i n g   o r   s c a l i n g   a   S t a t e f u l S e t   d o w n   d o e s   n o t   d e l e t e   t h e   v o l u m e s   a s s o c i a t e d   w i t h   t h e   S t a t e f u l S e t .   T h i s   s e t t i n g   i s   f o r   y o u r   s a f e t y   b e c a u s e   y o u r   d a t a   i s   m o r e   v a l u a b l e   t h a n   a u t o m a t i c a l l y   p u r g i n g   a l l   r e l a t e d   S t a t e f u l S e t   r e s o u r c e s .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17169"
  },
  {
    "question": "What is Warning:?",
    "answer": "R u n   t h e   f o l l o w i n g   c o m m a n d s   ( c h a i n e d   t o g e t h e r   i n t o   a   s i n g l e   c o m m a n d )   t o   d e l e t e   e v e r y t h i n g   i n   t h e   C a s s a n d r a   S t a t e f u l S e t : g r a c e = $ ( k u b e c t l   g e t   p o d   c a s s a n d r a - 0   - o = j s o n p a t h = ' { . s p e c . t e r m i n a t i o n G r a c e P e r i o d S e c o n d s } ' )   \\   & &   k u b e c t l   d e l e t e   s t a t e f u l s e t   - l   a p p = c a s s a n d r a   \\   & &   e c h o   \" S l e e p i n g   $ { g r a c e }   s e c o n d s \"   1 > & 2   \\   & &   s l e e p   $ g r a c e   \\   & &   k u b e c t l   d e l e t e   p e r s i s t e n t v o l u m e c l a i m   - l   a p p = c a s s a n d r a   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   d e l e t e   t h e   S e r v i c e   y o u   s e t   u p   f o r   C a s s a n d r a : k u b e c t l   d e l e t e   s e r v i c e   - l   a p p = c a s s a n d r a   R u n   t h e   f o l l o w i n g   c o m m a n d s   ( c h a i n e d   t o g e t h e r   i n t o   a   s i n g l e   c o m m a n d )   t o   d e l e t e   e v e r y t h i n g   i n   t h e   C a s s a n d r a   S t a t e f u l S e t :   g r a c e = $ ( k u b e c t l   g e t   p o d   c a s s a n d r a - 0   - o = j s o n p a t h = ' { . s p e c . t e r m i n a t i o n G r a c e P e r i o d S e c o n d s } ' )   \\   & &   k u b e c t l   d e l e t e   s t a t e f u l s e t   - l   a p p = c a s s a n d r a   \\   & &   e c h o   \" S l e e p i n g   $ { g r a c e }   s e c o n d s \"   1 > & 2   \\   & &   s l e e p   $ g r a c e   \\   & &   k u b e c t l   d e l e t e   p e r s i s t e n t v o l u m e c l a i m   - l   a p p = c a s s a n d r a   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   d e l e t e   t h e   S e r v i c e   y o u   s e t   u p   f o r   C a s s a n d r a :   k u b e c t l   d e l e t e   s e r v i c e   - l   a p p = c a s s a n d r a",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_4_17170"
  },
  {
    "question": "What is Cassandra container environment variables?",
    "answer": "T h e   P o d s   i n   t h i s   t u t o r i a l   u s e   t h e   g c r . i o / g o o g l e - s a m p l e s / c a s s a n d r a : v 1 3   i m a g e   f r o m   G o o g l e ' s   c o n t a i n e r   r e g i s t r y .   T h e   D o c k e r   i m a g e   a b o v e   i s   b a s e d   o n   d e b i a n - b a s e   a n d   i n c l u d e s   O p e n J D K   8 .   T h i s   i m a g e   i n c l u d e s   a   s t a n d a r d   C a s s a n d r a   i n s t a l l a t i o n   f r o m   t h e   A p a c h e   D e b i a n   r e p o .   B y   u s i n g   e n v i r o n m e n t   v a r i a b l e s   y o u   c a n   c h a n g e   v a l u e s   t h a t   a r e   i n s e r t e d   i n t o   c a s s a n d r a . y a m l .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17171"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   S c a l e   a   S t a t e f u l S e t . L e a r n   m o r e   a b o u t   t h e   K u b e r n e t e s S e e d P r o v i d e r S e e   m o r e   c u s t o m   S e e d   P r o v i d e r   C o n f i g u r a t i o n s",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17172"
  },
  {
    "question": "What is 4 - Running ZooKeeper, A Distributed System Coordinator?",
    "answer": "T h i s   t u t o r i a l   d e m o n s t r a t e s   r u n n i n g   A p a c h e   Z o o k e e p e r   o n   K u b e r n e t e s   u s i n g   S t a t e f u l S e t s ,   P o d D i s r u p t i o n B u d g e t s ,   a n d   P o d A n t i A f f i n i t y .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_1_17173"
  },
  {
    "question": "What is Before you begin?",
    "answer": "B e f o r e   s t a r t i n g   t h i s   t u t o r i a l ,   y o u   s h o u l d   b e   f a m i l i a r   w i t h   t h e   f o l l o w i n g   K u b e r n e t e s   c o n c e p t s :   P o d s C l u s t e r   D N S H e a d l e s s   S e r v i c e s P e r s i s t e n t V o l u m e s P e r s i s t e n t V o l u m e   P r o v i s i o n i n g S t a t e f u l S e t s P o d D i s r u p t i o n B u d g e t s P o d A n t i A f f i n i t y k u b e c t l   C L I   Y o u   m u s t   h a v e   a   c l u s t e r   w i t h   a t   l e a s t   f o u r   n o d e s ,   a n d   e a c h   n o d e   r e q u i r e s   a t   l e a s t   2   C P U s   a n d   4   G i B   o f   m e m o r y .   I n   t h i s   t u t o r i a l   y o u   w i l l   c o r d o n   a n d   d r a i n   t h e   c l u s t e r ' s   n o d e s .   T h i s   m e a n s   t h a t   t h e   c l u s t e r   w i l l   t e r m i n a t e   a n d   e v i c t   a l l   P o d s   o n   i t s   n o d e s ,   a n d   t h e   n o d e s   w i l l   t e m p o r a r i l y   b e c o m e   u n s c h e d u l a b l e .   Y o u   s h o u l d   u s e   a   d e d i c a t e d   c l u s t e r   f o r   t h i s   t u t o r i a l ,   o r   y o u   s h o u l d   e n s u r e   t h a t   t h e   d i s r u p t i o n   y o u   c a u s e   w i l l   n o t   i n t e r f e r e   w i t h   o t h e r   t e n a n t s .   T h i s   t u t o r i a l   a s s u m e s   t h a t   y o u   h a v e   c o n f i g u r e d   y o u r   c l u s t e r   t o   d y n a m i c a l l y   p r o v i s i o n   P e r s i s t e n t V o l u m e s .   I f   y o u r   c l u s t e r   i s   n o t   c o n f i g u r e d   t o   d o   s o ,   y o u   w i l l   h a v e   t o   m a n u a l l y   p r o v i s i o n   t h r e e   2 0   G i B   v o l u m e s   b e f o r e   s t a r t i n g   t h i s   t u t o r i a l .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17174"
  },
  {
    "question": "What is Objectives?",
    "answer": "A f t e r   t h i s   t u t o r i a l ,   y o u   w i l l   k n o w   t h e   f o l l o w i n g .   H o w   t o   d e p l o y   a   Z o o K e e p e r   e n s e m b l e   u s i n g   S t a t e f u l S e t . H o w   t o   c o n s i s t e n t l y   c o n f i g u r e   t h e   e n s e m b l e . H o w   t o   s p r e a d   t h e   d e p l o y m e n t   o f   Z o o K e e p e r   s e r v e r s   i n   t h e   e n s e m b l e . H o w   t o   u s e   P o d D i s r u p t i o n B u d g e t s   t o   e n s u r e   s e r v i c e   a v a i l a b i l i t y   d u r i n g   p l a n n e d   m a i n t e n a n c e .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17175"
  },
  {
    "question": "What is ZooKeeper?",
    "answer": "A p a c h e   Z o o K e e p e r   i s   a   d i s t r i b u t e d ,   o p e n - s o u r c e   c o o r d i n a t i o n   s e r v i c e   f o r   d i s t r i b u t e d   a p p l i c a t i o n s .   Z o o K e e p e r   a l l o w s   y o u   t o   r e a d ,   w r i t e ,   a n d   o b s e r v e   u p d a t e s   t o   d a t a .   D a t a   a r e   o r g a n i z e d   i n   a   f i l e   s y s t e m   l i k e   h i e r a r c h y   a n d   r e p l i c a t e d   t o   a l l   Z o o K e e p e r   s e r v e r s   i n   t h e   e n s e m b l e   ( a   s e t   o f   Z o o K e e p e r   s e r v e r s ) .   A l l   o p e r a t i o n s   o n   d a t a   a r e   a t o m i c   a n d   s e q u e n t i a l l y   c o n s i s t e n t .   Z o o K e e p e r   e n s u r e s   t h i s   b y   u s i n g   t h e   Z a b   c o n s e n s u s   p r o t o c o l   t o   r e p l i c a t e   a   s t a t e   m a c h i n e   a c r o s s   a l l   s e r v e r s   i n   t h e   e n s e m b l e .   T h e   e n s e m b l e   u s e s   t h e   Z a b   p r o t o c o l   t o   e l e c t   a   l e a d e r ,   a n d   t h e   e n s e m b l e   c a n n o t   w r i t e   d a t a   u n t i l   t h a t   e l e c t i o n   i s   c o m p l e t e .   O n c e   c o m p l e t e ,   t h e   e n s e m b l e   u s e s   Z a b   t o   e n s u r e   t h a t   i t   r e p l i c a t e s   a l l   w r i t e s   t o   a   q u o r u m   b e f o r e   i t   a c k n o w l e d g e s   a n d   m a k e s   t h e m   v i s i b l e   t o   c l i e n t s .   W i t h o u t   r e s p e c t   t o   w e i g h t e d   q u o r u m s ,   a   q u o r u m   i s   a   m a j o r i t y   c o m p o n e n t   o f   t h e   e n s e m b l e   c o n t a i n i n g   t h e   c u r r e n t   l e a d e r .   F o r   i n s t a n c e ,   i f   t h e   e n s e m b l e   h a s   t h r e e   s e r v e r s ,   a   c o m p o n e n t   t h a t   c o n t a i n s   t h e   l e a d e r   a n d   o n e   o t h e r   s e r v e r   c o n s t i t u t e s   a   q u o r u ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_3_17176"
  },
  {
    "question": "What is Creating a ZooKeeper ensemble?",
    "answer": "T h e   m a n i f e s t   b e l o w   c o n t a i n s   a   H e a d l e s s   S e r v i c e ,   a   S e r v i c e ,   a   P o d D i s r u p t i o n B u d g e t ,   a n d   a   S t a t e f u l S e t .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   z k - h s   l a b e l s :   a p p :   z k   s p e c :   p o r t s :   -   p o r t :   2 8 8 8   n a m e :   s e r v e r   -   p o r t :   3 8 8 8   n a m e :   l e a d e r - e l e c t i o n   c l u s t e r I P :   N o n e   s e l e c t o r :   a p p :   z k   - - -   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   z k - c s   l a b e l s :   a p p :   z k   s p e c :   p o r t s :   -   p o r t :   2 1 8 1   n a m e :   c l i e n t   s e l e c t o r :   a p p :   z k   - - -   a p i V e r s i o n :   p o l i c y / v 1   k i n d :   P o d D i s r u p t i o n B u d g e t   m e t a d a t a :   n a m e :   z k - p d b   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   z k   m a x U n a v a i l a b l e :   1   - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a :   n a m e :   z k   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   z k   s e r v i c e N a m e :   z k - h s   r e p l i c a s :   3   u p d a t e S t r a t e g y :   t y p e :   R o l l i n g U p d a t e   p o d M a n a g e m e n t P o l i c y :   O r d e r e d R e a d y   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   z k   s p e c :   a f f i n i t y :   p o d A n t i A f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   -   l a b e l S e l e c t o r :   m a t c h E x p r e s s i o n s :   -   k e y :   \" a p p \"   o p e r a t o r :   I n   v a l u e s :   -   z k   t o p o l o g y K e y :   \" k u b e r n e t e s . i o / h o s t n a m e \"   c o n t a i n e r s :   -   n a m e :   k u b e r n e t e s - z o o k e e p ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17177"
  },
  {
    "question": "What is Facilitating leader election?",
    "answer": "B e c a u s e   t h e r e   i s   n o   t e r m i n a t i n g   a l g o r i t h m   f o r   e l e c t i n g   a   l e a d e r   i n   a n   a n o n y m o u s   n e t w o r k ,   Z a b   r e q u i r e s   e x p l i c i t   m e m b e r s h i p   c o n f i g u r a t i o n   t o   p e r f o r m   l e a d e r   e l e c t i o n .   E a c h   s e r v e r   i n   t h e   e n s e m b l e   n e e d s   t o   h a v e   a   u n i q u e   i d e n t i f i e r ,   a l l   s e r v e r s   n e e d   t o   k n o w   t h e   g l o b a l   s e t   o f   i d e n t i f i e r s ,   a n d   e a c h   i d e n t i f i e r   n e e d s   t o   b e   a s s o c i a t e d   w i t h   a   n e t w o r k   a d d r e s s .   U s e   k u b e c t l   e x e c   t o   g e t   t h e   h o s t n a m e s   o f   t h e   P o d s   i n   t h e   z k   S t a t e f u l S e t .   f o r   i   i n   0   1   2 ;   d o   k u b e c t l   e x e c   z k - $ i   - -   h o s t n a m e ;   d o n e   T h e   S t a t e f u l S e t   c o n t r o l l e r   p r o v i d e s   e a c h   P o d   w i t h   a   u n i q u e   h o s t n a m e   b a s e d   o n   i t s   o r d i n a l   i n d e x .   T h e   h o s t n a m e s   t a k e   t h e   f o r m   o f   < s t a t e f u l s e t   n a m e > - < o r d i n a l   i n d e x > .   B e c a u s e   t h e   r e p l i c a s   f i e l d   o f   t h e   z k   S t a t e f u l S e t   i s   s e t   t o   3 ,   t h e   S e t ' s   c o n t r o l l e r   c r e a t e s   t h r e e   P o d s   w i t h   t h e i r   h o s t n a m e s   s e t   t o   z k - 0 ,   z k - 1 ,   a n d   z k - 2 .   z k - 0   z k - 1   z k - 2   T h e   s e r v e r s   i n   a   Z o o K e e p e r   e n s e m b l e   u s e   n a t u r a l   n u m b e r s   a s   u n i q u e   i d e n t i f i e r s ,   a n d   s t o r e   e a c h   s e r v e r ' s   i d e n t i f i e r   i n   a   f i l e   c a l l e d   m y i d   i n   t h e   s e r v e r ' s   d a t a   d i r e c t o r y .   T o   e x a m i n e   t h e   c o n t e n t s ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_3_17178"
  },
  {
    "question": "What is Achieving consensus?",
    "answer": "C o n s e n s u s   p r o t o c o l s   r e q u i r e   t h a t   t h e   i d e n t i f i e r s   o f   e a c h   p a r t i c i p a n t   b e   u n i q u e .   N o   t w o   p a r t i c i p a n t s   i n   t h e   Z a b   p r o t o c o l   s h o u l d   c l a i m   t h e   s a m e   u n i q u e   i d e n t i f i e r .   T h i s   i s   n e c e s s a r y   t o   a l l o w   t h e   p r o c e s s e s   i n   t h e   s y s t e m   t o   a g r e e   o n   w h i c h   p r o c e s s e s   h a v e   c o m m i t t e d   w h i c h   d a t a .   I f   t w o   P o d s   a r e   l a u n c h e d   w i t h   t h e   s a m e   o r d i n a l ,   t w o   Z o o K e e p e r   s e r v e r s   w o u l d   b o t h   i d e n t i f y   t h e m s e l v e s   a s   t h e   s a m e   s e r v e r .   k u b e c t l   g e t   p o d s   - w   - l   a p p = z k   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   z k - 0   0 / 1   P e n d i n g   0   0 s   z k - 0   0 / 1   P e n d i n g   0   0 s   z k - 0   0 / 1   C o n t a i n e r C r e a t i n g   0   0 s   z k - 0   0 / 1   R u n n i n g   0   1 9 s   z k - 0   1 / 1   R u n n i n g   0   4 0 s   z k - 1   0 / 1   P e n d i n g   0   0 s   z k - 1   0 / 1   P e n d i n g   0   0 s   z k - 1   0 / 1   C o n t a i n e r C r e a t i n g   0   0 s   z k - 1   0 / 1   R u n n i n g   0   1 8 s   z k - 1   1 / 1   R u n n i n g   0   4 0 s   z k - 2   0 / 1   P e n d i n g   0   0 s   z k - 2   0 / 1   P e n d i n g   0   0 s   z k - 2   0 / 1   C o n t a i n e r C r e a t i n g   0   0 s   z k - 2   0 / 1   R u n n i n g   0   1 9 s   z k - 2   1 / 1   R u n n i n g   0   4 0 s   T h e   A   r e c o r d s   f o r   e a c h   P o d   a r e   e n t e r e d   w h e n   t h e   P o d   b e c o m e s   R e a d y .   T h e r e f o r e ,   t h e   F Q D N s   o f   t h e   Z o o K e e p e r   s e r v e r s   w i l l   r e s o l v e   t o   a   s i n g l e   e n d p o i n t ,   a n d   t h a t   e n d p o i n t   w i l l   b e   t h e   u n i ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_3_17179"
  },
  {
    "question": "What is Sanity testing the ensemble?",
    "answer": "T h e   m o s t   b a s i c   s a n i t y   t e s t   i s   t o   w r i t e   d a t a   t o   o n e   Z o o K e e p e r   s e r v e r   a n d   t o   r e a d   t h e   d a t a   f r o m   a n o t h e r .   T h e   c o m m a n d   b e l o w   e x e c u t e s   t h e   z k C l i . s h   s c r i p t   t o   w r i t e   w o r l d   t o   t h e   p a t h   / h e l l o   o n   t h e   z k - 0   P o d   i n   t h e   e n s e m b l e .   k u b e c t l   e x e c   z k - 0   - -   z k C l i . s h   c r e a t e   / h e l l o   w o r l d   W A T C H E R : :   W a t c h e d E v e n t   s t a t e : S y n c C o n n e c t e d   t y p e : N o n e   p a t h : n u l l   C r e a t e d   / h e l l o   T o   g e t   t h e   d a t a   f r o m   t h e   z k - 1   P o d   u s e   t h e   f o l l o w i n g   c o m m a n d .   k u b e c t l   e x e c   z k - 1   - -   z k C l i . s h   g e t   / h e l l o   T h e   d a t a   t h a t   y o u   c r e a t e d   o n   z k - 0   i s   a v a i l a b l e   o n   a l l   t h e   s e r v e r s   i n   t h e   e n s e m b l e .   W A T C H E R : :   W a t c h e d E v e n t   s t a t e : S y n c C o n n e c t e d   t y p e : N o n e   p a t h : n u l l   w o r l d   c Z x i d   =   0 x 1 0 0 0 0 0 0 0 2   c t i m e   =   T h u   D e c   0 8   1 5 : 1 3 : 3 0   U T C   2 0 1 6   m Z x i d   =   0 x 1 0 0 0 0 0 0 0 2   m t i m e   =   T h u   D e c   0 8   1 5 : 1 3 : 3 0   U T C   2 0 1 6   p Z x i d   =   0 x 1 0 0 0 0 0 0 0 2   c v e r s i o n   =   0   d a t a V e r s i o n   =   0   a c l V e r s i o n   =   0   e p h e m e r a l O w n e r   =   0 x 0   d a t a L e n g t h   =   5   n u m C h i l d r e n   =   0",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_3_17180"
  },
  {
    "question": "What is Providing durable storage?",
    "answer": "A s   m e n t i o n e d   i n   t h e   Z o o K e e p e r   B a s i c s   s e c t i o n ,   Z o o K e e p e r   c o m m i t s   a l l   e n t r i e s   t o   a   d u r a b l e   W A L ,   a n d   p e r i o d i c a l l y   w r i t e s   s n a p s h o t s   i n   m e m o r y   s t a t e ,   t o   s t o r a g e   m e d i a .   U s i n g   W A L s   t o   p r o v i d e   d u r a b i l i t y   i s   a   c o m m o n   t e c h n i q u e   f o r   a p p l i c a t i o n s   t h a t   u s e   c o n s e n s u s   p r o t o c o l s   t o   a c h i e v e   a   r e p l i c a t e d   s t a t e   m a c h i n e .   U s e   t h e   k u b e c t l   d e l e t e   c o m m a n d   t o   d e l e t e   t h e   z k   S t a t e f u l S e t .   k u b e c t l   d e l e t e   s t a t e f u l s e t   z k   s t a t e f u l s e t . a p p s   \" z k \"   d e l e t e d   W a t c h   t h e   t e r m i n a t i o n   o f   t h e   P o d s   i n   t h e   S t a t e f u l S e t .   k u b e c t l   g e t   p o d s   - w   - l   a p p = z k   W h e n   z k - 0   i f   f u l l y   t e r m i n a t e d ,   u s e   C T R L - C   t o   t e r m i n a t e   k u b e c t l .   z k - 2   1 / 1   T e r m i n a t i n g   0   9 m   z k - 0   1 / 1   T e r m i n a t i n g   0   1 1 m   z k - 1   1 / 1   T e r m i n a t i n g   0   1 0 m   z k - 2   0 / 1   T e r m i n a t i n g   0   9 m   z k - 2   0 / 1   T e r m i n a t i n g   0   9 m   z k - 2   0 / 1   T e r m i n a t i n g   0   9 m   z k - 1   0 / 1   T e r m i n a t i n g   0   1 0 m   z k - 1   0 / 1   T e r m i n a t i n g   0   1 0 m   z k - 1   0 / 1   T e r m i n a t i n g   0   1 0 m   z k - 0   0 / 1   T e r m i n a t i n g   0   1 1 m   z k - 0   0 / 1   T e r m i n a t i n g   0   1 1 m   z k - 0   0 / 1   T e r m i n a t i n g   0   1 1 m   R e a p p l y   t h e   m a n i f e s t   i n   z o o k e e p e r . y a m l .   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / z o o k e e p e r / z o o k e ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_3_17181"
  },
  {
    "question": "What is Ensuring consistent configuration?",
    "answer": "A s   n o t e d   i n   t h e   F a c i l i t a t i n g   L e a d e r   E l e c t i o n   a n d   A c h i e v i n g   C o n s e n s u s   s e c t i o n s ,   t h e   s e r v e r s   i n   a   Z o o K e e p e r   e n s e m b l e   r e q u i r e   c o n s i s t e n t   c o n f i g u r a t i o n   t o   e l e c t   a   l e a d e r   a n d   f o r m   a   q u o r u m .   T h e y   a l s o   r e q u i r e   c o n s i s t e n t   c o n f i g u r a t i o n   o f   t h e   Z a b   p r o t o c o l   i n   o r d e r   f o r   t h e   p r o t o c o l   t o   w o r k   c o r r e c t l y   o v e r   a   n e t w o r k .   I n   o u r   e x a m p l e   w e   a c h i e v e   c o n s i s t e n t   c o n f i g u r a t i o n   b y   e m b e d d i n g   t h e   c o n f i g u r a t i o n   d i r e c t l y   i n t o   t h e   m a n i f e s t .   G e t   t h e   z k   S t a t e f u l S e t .   k u b e c t l   g e t   s t s   z k   - o   y a m l   …   c o m m a n d :   -   s h   -   - c   -   \" s t a r t - z o o k e e p e r   \\   - - s e r v e r s = 3   \\   - - d a t a _ d i r = / v a r / l i b / z o o k e e p e r / d a t a   \\   - - d a t a _ l o g _ d i r = / v a r / l i b / z o o k e e p e r / d a t a / l o g   \\   - - c o n f _ d i r = / o p t / z o o k e e p e r / c o n f   \\   - - c l i e n t _ p o r t = 2 1 8 1   \\   - - e l e c t i o n _ p o r t = 3 8 8 8   \\   - - s e r v e r _ p o r t = 2 8 8 8   \\   - - t i c k _ t i m e = 2 0 0 0   \\   - - i n i t _ l i m i t = 1 0   \\   - - s y n c _ l i m i t = 5   \\   - - h e a p = 5 1 2 M   \\   - - m a x _ c l i e n t _ c n x n s = 6 0   \\   - - s n a p _ r e t a i n _ c o u n t = 3   \\   - - p u r g e _ i n t e r v a l = 1 2   \\   - - m a x _ s e s s i o n _ t i m e o u t = 4 0 0 0 0   \\   - - m i n _ s e s s i o n _ t i m e o u t = 4 0 0 0   \\   - - l o g _ l e v e l = I N F O \"   …   T h e   c o m m a n d   u s e d   t o   s t a r t   t h e   Z o o K e e p e r   s e r v e r s   p a s s e d   t h e   c o n f i g u r a t i o n   a s   c o ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17182"
  },
  {
    "question": "What is Configuring logging?",
    "answer": "O n e   o f   t h e   f i l e s   g e n e r a t e d   b y   t h e   z k G e n C o n f i g . s h   s c r i p t   c o n t r o l s   Z o o K e e p e r ' s   l o g g i n g .   Z o o K e e p e r   u s e s   L o g 4 j ,   a n d ,   b y   d e f a u l t ,   i t   u s e s   a   t i m e   a n d   s i z e   b a s e d   r o l l i n g   f i l e   a p p e n d e r   f o r   i t s   l o g g i n g   c o n f i g u r a t i o n .   U s e   t h e   c o m m a n d   b e l o w   t o   g e t   t h e   l o g g i n g   c o n f i g u r a t i o n   f r o m   o n e   o f   P o d s   i n   t h e   z k   S t a t e f u l S e t .   k u b e c t l   e x e c   z k - 0   c a t   / u s r / e t c / z o o k e e p e r / l o g 4 j . p r o p e r t i e s   T h e   l o g g i n g   c o n f i g u r a t i o n   b e l o w   w i l l   c a u s e   t h e   Z o o K e e p e r   p r o c e s s   t o   w r i t e   a l l   o f   i t s   l o g s   t o   t h e   s t a n d a r d   o u t p u t   f i l e   s t r e a m .   z o o k e e p e r . r o o t . l o g g e r = C O N S O L E   z o o k e e p e r . c o n s o l e . t h r e s h o l d = I N F O   l o g 4 j . r o o t L o g g e r = $ { z o o k e e p e r . r o o t . l o g g e r }   l o g 4 j . a p p e n d e r . C O N S O L E = o r g . a p a c h e . l o g 4 j . C o n s o l e A p p e n d e r   l o g 4 j . a p p e n d e r . C O N S O L E . T h r e s h o l d = $ { z o o k e e p e r . c o n s o l e . t h r e s h o l d }   l o g 4 j . a p p e n d e r . C O N S O L E . l a y o u t = o r g . a p a c h e . l o g 4 j . P a t t e r n L a y o u t   l o g 4 j . a p p e n d e r . C O N S O L E . l a y o u t . C o n v e r s i o n P a t t e r n = % d { I S O 8 6 0 1 }   [ m y i d : % X { m y i d } ]   -   % - 5 p   [ % t : % C { 1 } @ % L ]   -   % m % n   T h i s   i s   t h e   s i m p l e s t   p o s s i b l e   w a y   t o   s a f e l y   l o g   i n s i d e   t h e   c o n t a i n e r .   B e c a u s e   t h e   a p p l i c a t i o n s   w r i t e   l o g s   t o   s t a n d a r d   o u t ,   ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_3_17183"
  },
  {
    "question": "What is Configuring a non-privileged user?",
    "answer": "T h e   b e s t   p r a c t i c e s   t o   a l l o w   a n   a p p l i c a t i o n   t o   r u n   a s   a   p r i v i l e g e d   u s e r   i n s i d e   o f   a   c o n t a i n e r   a r e   a   m a t t e r   o f   d e b a t e .   I f   y o u r   o r g a n i z a t i o n   r e q u i r e s   t h a t   a p p l i c a t i o n s   r u n   a s   a   n o n - p r i v i l e g e d   u s e r   y o u   c a n   u s e   a   S e c u r i t y C o n t e x t   t o   c o n t r o l   t h e   u s e r   t h a t   t h e   e n t r y   p o i n t   r u n s   a s .   T h e   z k   S t a t e f u l S e t ' s   P o d   t e m p l a t e   c o n t a i n s   a   S e c u r i t y C o n t e x t .   s e c u r i t y C o n t e x t :   r u n A s U s e r :   1 0 0 0   f s G r o u p :   1 0 0 0   I n   t h e   P o d s '   c o n t a i n e r s ,   U I D   1 0 0 0   c o r r e s p o n d s   t o   t h e   z o o k e e p e r   u s e r   a n d   G I D   1 0 0 0   c o r r e s p o n d s   t o   t h e   z o o k e e p e r   g r o u p .   G e t   t h e   Z o o K e e p e r   p r o c e s s   i n f o r m a t i o n   f r o m   t h e   z k - 0   P o d .   k u b e c t l   e x e c   z k - 0   - -   p s   - e l f   A s   t h e   r u n A s U s e r   f i e l d   o f   t h e   s e c u r i t y C o n t e x t   o b j e c t   i s   s e t   t o   1 0 0 0 ,   i n s t e a d   o f   r u n n i n g   a s   r o o t ,   t h e   Z o o K e e p e r   p r o c e s s   r u n s   a s   t h e   z o o k e e p e r   u s e r .   F   S   U I D   P I D   P P I D   C   P R I   N I   A D D R   S Z   W C H A N   S T I M E   T T Y   T I M E   C M D   4   S   z o o k e e p +   1   0   0   8 0   0   -   1 1 2 7   -   2 0 : 4 6   ?   0 0 : 0 0 : 0 0   s h   - c   z k G e n C o n f i g . s h   & &   z k S e r v e r . s h   s t a r t - f o r e g r o u n d   0   S   z o o k e e p +   2 7   1   0   8 0   0   -   1 1 5 5 5 5 6   -   2 0 : 4 6   ?   0 0 : 0 0 : 1 9   / u s r / l i b / j v m / j a v a - 8 - o p e n j d k - a m d 6 4 / b i n / j a v a   - D z o o k e e ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_3_17184"
  },
  {
    "question": "What is Managing the ZooKeeper process?",
    "answer": "T h e   Z o o K e e p e r   d o c u m e n t a t i o n   m e n t i o n s   t h a t   \" Y o u   w i l l   w a n t   t o   h a v e   a   s u p e r v i s o r y   p r o c e s s   t h a t   m a n a g e s   e a c h   o f   y o u r   Z o o K e e p e r   s e r v e r   p r o c e s s e s   ( J V M ) . \"   U t i l i z i n g   a   w a t c h d o g   ( s u p e r v i s o r y   p r o c e s s )   t o   r e s t a r t   f a i l e d   p r o c e s s e s   i n   a   d i s t r i b u t e d   s y s t e m   i s   a   c o m m o n   p a t t e r n .   W h e n   d e p l o y i n g   a n   a p p l i c a t i o n   i n   K u b e r n e t e s ,   r a t h e r   t h a n   u s i n g   a n   e x t e r n a l   u t i l i t y   a s   a   s u p e r v i s o r y   p r o c e s s ,   y o u   s h o u l d   u s e   K u b e r n e t e s   a s   t h e   w a t c h d o g   f o r   y o u r   a p p l i c a t i o n .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17185"
  },
  {
    "question": "What is Updating the ensemble?",
    "answer": "T h e   z k   S t a t e f u l S e t   i s   c o n f i g u r e d   t o   u s e   t h e   R o l l i n g U p d a t e   u p d a t e   s t r a t e g y .   Y o u   c a n   u s e   k u b e c t l   p a t c h   t o   u p d a t e   t h e   n u m b e r   o f   c p u s   a l l o c a t e d   t o   t h e   s e r v e r s .   k u b e c t l   p a t c h   s t s   z k   - - t y p e = ' j s o n '   - p = ' [ { \" o p \" :   \" r e p l a c e \" ,   \" p a t h \" :   \" / s p e c / t e m p l a t e / s p e c / c o n t a i n e r s / 0 / r e s o u r c e s / r e q u e s t s / c p u \" ,   \" v a l u e \" : \" 0 . 3 \" } ] '   s t a t e f u l s e t . a p p s / z k   p a t c h e d   U s e   k u b e c t l   r o l l o u t   s t a t u s   t o   w a t c h   t h e   s t a t u s   o f   t h e   u p d a t e .   k u b e c t l   r o l l o u t   s t a t u s   s t s / z k   w a i t i n g   f o r   s t a t e f u l s e t   r o l l i n g   u p d a t e   t o   c o m p l e t e   0   p o d s   a t   r e v i s i o n   z k - 5 d b 4 4 9 9 6 6 4 . . .   W a i t i n g   f o r   1   p o d s   t o   b e   r e a d y . . .   W a i t i n g   f o r   1   p o d s   t o   b e   r e a d y . . .   w a i t i n g   f o r   s t a t e f u l s e t   r o l l i n g   u p d a t e   t o   c o m p l e t e   1   p o d s   a t   r e v i s i o n   z k - 5 d b 4 4 9 9 6 6 4 . . .   W a i t i n g   f o r   1   p o d s   t o   b e   r e a d y . . .   W a i t i n g   f o r   1   p o d s   t o   b e   r e a d y . . .   w a i t i n g   f o r   s t a t e f u l s e t   r o l l i n g   u p d a t e   t o   c o m p l e t e   2   p o d s   a t   r e v i s i o n   z k - 5 d b 4 4 9 9 6 6 4 . . .   W a i t i n g   f o r   1   p o d s   t o   b e   r e a d y . . .   W a i t i n g   f o r   1   p o d s   t o   b e   r e a d y . . .   s t a t e f u l s e t   r o l l i n g   u p d a t e   c o m p l e t e   3   p o d s   a t   r e v i s i o n   z k - 5 d b 4 4 9 9 6 6 4 . . .   T h i s   t e r m i n a t e s   t h e   P o d s ,   o n e   a t   a   t i m e ,   i n   r ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_3_17186"
  },
  {
    "question": "What is Handling process failure?",
    "answer": "R e s t a r t   P o l i c i e s   c o n t r o l   h o w   K u b e r n e t e s   h a n d l e s   p r o c e s s   f a i l u r e s   f o r   t h e   e n t r y   p o i n t   o f   t h e   c o n t a i n e r   i n   a   P o d .   F o r   P o d s   i n   a   S t a t e f u l S e t ,   t h e   o n l y   a p p r o p r i a t e   R e s t a r t P o l i c y   i s   A l w a y s ,   a n d   t h i s   i s   t h e   d e f a u l t   v a l u e .   F o r   s t a t e f u l   a p p l i c a t i o n s   y o u   s h o u l d   n e v e r   o v e r r i d e   t h e   d e f a u l t   p o l i c y .   U s e   t h e   f o l l o w i n g   c o m m a n d   t o   e x a m i n e   t h e   p r o c e s s   t r e e   f o r   t h e   Z o o K e e p e r   s e r v e r   r u n n i n g   i n   t h e   z k - 0   P o d .   k u b e c t l   e x e c   z k - 0   - -   p s   - e f   T h e   c o m m a n d   u s e d   a s   t h e   c o n t a i n e r ' s   e n t r y   p o i n t   h a s   P I D   1 ,   a n d   t h e   Z o o K e e p e r   p r o c e s s ,   a   c h i l d   o f   t h e   e n t r y   p o i n t ,   h a s   P I D   2 7 .   U I D   P I D   P P I D   C   S T I M E   T T Y   T I M E   C M D   z o o k e e p +   1   0   0   1 5 : 0 3   ?   0 0 : 0 0 : 0 0   s h   - c   z k G e n C o n f i g . s h   & &   z k S e r v e r . s h   s t a r t - f o r e g r o u n d   z o o k e e p +   2 7   1   0   1 5 : 0 3   ?   0 0 : 0 0 : 0 3   / u s r / l i b / j v m / j a v a - 8 - o p e n j d k - a m d 6 4 / b i n / j a v a   - D z o o k e e p e r . l o g . d i r = / v a r / l o g / z o o k e e p e r   - D z o o k e e p e r . r o o t . l o g g e r = I N F O , C O N S O L E   - c p   / u s r / b i n / . . / b u i l d / c l a s s e s : / u s r / b i n / . . / b u i l d / l i b / * . j a r : / u s r / b i n / . . / s h a r e / z o o k e e p e r / z o o k e e p e r - 3 . 4 . 9 . j a r : / u s r / b i n / . . / s h a r e / z o o k e e p e r / s l f 4 j - l o g 4 j 1 2 - 1 . 6 . 1 . j a r : / u s r / b i n / . . / s h a r e / z o o k e e p ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_3_17187"
  },
  {
    "question": "What is Testing for liveness?",
    "answer": "C o n f i g u r i n g   y o u r   a p p l i c a t i o n   t o   r e s t a r t   f a i l e d   p r o c e s s e s   i s   n o t   e n o u g h   t o   k e e p   a   d i s t r i b u t e d   s y s t e m   h e a l t h y .   T h e r e   a r e   s c e n a r i o s   w h e r e   a   s y s t e m ' s   p r o c e s s e s   c a n   b e   b o t h   a l i v e   a n d   u n r e s p o n s i v e ,   o r   o t h e r w i s e   u n h e a l t h y .   Y o u   s h o u l d   u s e   l i v e n e s s   p r o b e s   t o   n o t i f y   K u b e r n e t e s   t h a t   y o u r   a p p l i c a t i o n ' s   p r o c e s s e s   a r e   u n h e a l t h y   a n d   i t   s h o u l d   r e s t a r t   t h e m .   T h e   P o d   t e m p l a t e   f o r   t h e   z k   S t a t e f u l S e t   s p e c i f i e s   a   l i v e n e s s   p r o b e .   l i v e n e s s P r o b e :   e x e c :   c o m m a n d :   -   s h   -   - c   -   \" z o o k e e p e r - r e a d y   2 1 8 1 \"   i n i t i a l D e l a y S e c o n d s :   1 5   t i m e o u t S e c o n d s :   5   T h e   p r o b e   c a l l s   a   b a s h   s c r i p t   t h a t   u s e s   t h e   Z o o K e e p e r   r u o k   f o u r   l e t t e r   w o r d   t o   t e s t   t h e   s e r v e r ' s   h e a l t h .   O K = $ ( e c h o   r u o k   |   n c   1 2 7 . 0 . 0 . 1   $ 1 )   i f   [   \" $ O K \"   = =   \" i m o k \"   ] ;   t h e n   e x i t   0   e l s e   e x i t   1   f i   I n   o n e   t e r m i n a l   w i n d o w ,   u s e   t h e   f o l l o w i n g   c o m m a n d   t o   w a t c h   t h e   P o d s   i n   t h e   z k   S t a t e f u l S e t .   k u b e c t l   g e t   p o d   - w   - l   a p p = z k   I n   a n o t h e r   w i n d o w ,   u s i n g   t h e   f o l l o w i n g   c o m m a n d   t o   d e l e t e   t h e   z o o k e e p e r - r e a d y   s c r i p t   f r o m   t h e   f i l e   s y s t e m   o f   P o d   z k - 0 .   k u b e c t l   e x e c   z k - 0   - -   r m   / o p t / z o o k e e p e r / b i n / z o o k e e p e r - ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_3_17188"
  },
  {
    "question": "What is Testing for readiness?",
    "answer": "R e a d i n e s s   i s   n o t   t h e   s a m e   a s   l i v e n e s s .   I f   a   p r o c e s s   i s   a l i v e ,   i t   i s   s c h e d u l e d   a n d   h e a l t h y .   I f   a   p r o c e s s   i s   r e a d y ,   i t   i s   a b l e   t o   p r o c e s s   i n p u t .   L i v e n e s s   i s   a   n e c e s s a r y ,   b u t   n o t   s u f f i c i e n t ,   c o n d i t i o n   f o r   r e a d i n e s s .   T h e r e   a r e   c a s e s ,   p a r t i c u l a r l y   d u r i n g   i n i t i a l i z a t i o n   a n d   t e r m i n a t i o n ,   w h e n   a   p r o c e s s   c a n   b e   a l i v e   b u t   n o t   r e a d y .   I f   y o u   s p e c i f y   a   r e a d i n e s s   p r o b e ,   K u b e r n e t e s   w i l l   e n s u r e   t h a t   y o u r   a p p l i c a t i o n ' s   p r o c e s s e s   w i l l   n o t   r e c e i v e   n e t w o r k   t r a f f i c   u n t i l   t h e i r   r e a d i n e s s   c h e c k s   p a s s .   F o r   a   Z o o K e e p e r   s e r v e r ,   l i v e n e s s   i m p l i e s   r e a d i n e s s .   T h e r e f o r e ,   t h e   r e a d i n e s s   p r o b e   f r o m   t h e   z o o k e e p e r . y a m l   m a n i f e s t   i s   i d e n t i c a l   t o   t h e   l i v e n e s s   p r o b e .   r e a d i n e s s P r o b e :   e x e c :   c o m m a n d :   -   s h   -   - c   -   \" z o o k e e p e r - r e a d y   2 1 8 1 \"   i n i t i a l D e l a y S e c o n d s :   1 5   t i m e o u t S e c o n d s :   5   E v e n   t h o u g h   t h e   l i v e n e s s   a n d   r e a d i n e s s   p r o b e s   a r e   i d e n t i c a l ,   i t   i s   i m p o r t a n t   t o   s p e c i f y   b o t h .   T h i s   e n s u r e s   t h a t   o n l y   h e a l t h y   s e r v e r s   i n   t h e   Z o o K e e p e r   e n s e m b l e   r e c e i v e   n e t w o r k   t r a f f i c .",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_3_17189"
  },
  {
    "question": "What is Tolerating Node failure?",
    "answer": "Z o o K e e p e r   n e e d s   a   q u o r u m   o f   s e r v e r s   t o   s u c c e s s f u l l y   c o m m i t   m u t a t i o n s   t o   d a t a .   F o r   a   t h r e e   s e r v e r   e n s e m b l e ,   t w o   s e r v e r s   m u s t   b e   h e a l t h y   f o r   w r i t e s   t o   s u c c e e d .   I n   q u o r u m   b a s e d   s y s t e m s ,   m e m b e r s   a r e   d e p l o y e d   a c r o s s   f a i l u r e   d o m a i n s   t o   e n s u r e   a v a i l a b i l i t y .   T o   a v o i d   a n   o u t a g e ,   d u e   t o   t h e   l o s s   o f   a n   i n d i v i d u a l   m a c h i n e ,   b e s t   p r a c t i c e s   p r e c l u d e   c o - l o c a t i n g   m u l t i p l e   i n s t a n c e s   o f   t h e   a p p l i c a t i o n   o n   t h e   s a m e   m a c h i n e .   B y   d e f a u l t ,   K u b e r n e t e s   m a y   c o - l o c a t e   P o d s   i n   a   S t a t e f u l S e t   o n   t h e   s a m e   n o d e .   F o r   t h e   t h r e e   s e r v e r   e n s e m b l e   y o u   c r e a t e d ,   i f   t w o   s e r v e r s   a r e   o n   t h e   s a m e   n o d e ,   a n d   t h a t   n o d e   f a i l s ,   t h e   c l i e n t s   o f   y o u r   Z o o K e e p e r   s e r v i c e   w i l l   e x p e r i e n c e   a n   o u t a g e   u n t i l   a t   l e a s t   o n e   o f   t h e   P o d s   c a n   b e   r e s c h e d u l e d .   Y o u   s h o u l d   a l w a y s   p r o v i s i o n   a d d i t i o n a l   c a p a c i t y   t o   a l l o w   t h e   p r o c e s s e s   o f   c r i t i c a l   s y s t e m s   t o   b e   r e s c h e d u l e d   i n   t h e   e v e n t   o f   n o d e   f a i l u r e s .   I f   y o u   d o   s o ,   t h e n   t h e   o u t a g e   w i l l   o n l y   l a s t   u n t i l   t h e   K u b e r n e t e s   s c h e d u l e r   r e s c h e d u l e s   o n e   o f   t h e   Z o o K e e p e r   s e r v e r s .   H o w e v e r ,   i f   y o u   w a n t   y o u r   s e r v i c e   t o   t o l e ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17190"
  },
  {
    "question": "What is Surviving maintenance?",
    "answer": "I n   t h i s   s e c t i o n   y o u   w i l l   c o r d o n   a n d   d r a i n   n o d e s .   I f   y o u   a r e   u s i n g   t h i s   t u t o r i a l   o n   a   s h a r e d   c l u s t e r ,   b e   s u r e   t h a t   t h i s   w i l l   n o t   a d v e r s e l y   a f f e c t   o t h e r   t e n a n t s .   T h e   p r e v i o u s   s e c t i o n   s h o w e d   y o u   h o w   t o   s p r e a d   y o u r   P o d s   a c r o s s   n o d e s   t o   s u r v i v e   u n p l a n n e d   n o d e   f a i l u r e s ,   b u t   y o u   a l s o   n e e d   t o   p l a n   f o r   t e m p o r a r y   n o d e   f a i l u r e s   t h a t   o c c u r   d u e   t o   p l a n n e d   m a i n t e n a n c e .   U s e   t h i s   c o m m a n d   t o   g e t   t h e   n o d e s   i n   y o u r   c l u s t e r .   k u b e c t l   g e t   n o d e s   T h i s   t u t o r i a l   a s s u m e s   a   c l u s t e r   w i t h   a t   l e a s t   f o u r   n o d e s .   I f   t h e   c l u s t e r   h a s   m o r e   t h a n   f o u r ,   u s e   k u b e c t l   c o r d o n   t o   c o r d o n   a l l   b u t   f o u r   n o d e s .   C o n s t r a i n i n g   t o   f o u r   n o d e s   w i l l   e n s u r e   K u b e r n e t e s   e n c o u n t e r s   a f f i n i t y   a n d   P o d D i s r u p t i o n B u d g e t   c o n s t r a i n t s   w h e n   s c h e d u l i n g   z o o k e e p e r   P o d s   i n   t h e   f o l l o w i n g   m a i n t e n a n c e   s i m u l a t i o n .   k u b e c t l   c o r d o n   < n o d e - n a m e >   U s e   t h i s   c o m m a n d   t o   g e t   t h e   z k - p d b   P o d D i s r u p t i o n B u d g e t .   k u b e c t l   g e t   p d b   z k - p d b   T h e   m a x - u n a v a i l a b l e   f i e l d   i n d i c a t e s   t o   K u b e r n e t e s   t h a t   a t   m o s t   o n e   P o d   f r o m   z k   S t a t e f u l S e t   c a n   b e   u n a v a i l a b l e   a t   a n y   t i m e .   N A M E   M I N - A V A I L A B L E   M A X - U ",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17191"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "U s e   k u b e c t l   u n c o r d o n   t o   u n c o r d o n   a l l   t h e   n o d e s   i n   y o u r   c l u s t e r . Y o u   m u s t   d e l e t e   t h e   p e r s i s t e n t   s t o r a g e   m e d i a   f o r   t h e   P e r s i s t e n t V o l u m e s   u s e d   i n   t h i s   t u t o r i a l .   F o l l o w   t h e   n e c e s s a r y   s t e p s ,   b a s e d   o n   y o u r   e n v i r o n m e n t ,   s t o r a g e   c o n f i g u r a t i o n ,   a n d   p r o v i s i o n i n g   m e t h o d ,   t o   e n s u r e   t h a t   a l l   s t o r a g e   i s   r e c l a i m e d .   ©   2 0 2 5   T h e   K u b e r n e t e s   A u t h o r s   |   D o c u m e n t a t i o n   D i s t r i b u t e d   u n d e r   C C   B Y   4 . 0   ©   2 0 2 5   T h e   L i n u x   F o u n d a t i o n   ® .   A l l   r i g h t s   r e s e r v e d .   T h e   L i n u x   F o u n d a t i o n   h a s   r e g i s t e r e d   t r a d e m a r k s   a n d   u s e s   t r a d e m a r k s .   F o r   a   l i s t   o f   t r a d e m a r k s   o f   T h e   L i n u x   F o u n d a t i o n ,   p l e a s e   s e e   o u r   T r a d e m a r k   U s a g e   p a g e   I C P   l i c e n s e :   京 I C P 备 1 7 0 7 4 2 6 6 号 - 3",
    "category": "tutorials",
    "subcategory": "stateful-applications",
    "source": "https://kubernetes.io/docs/tutorials/stateful-application/_print/",
    "id": "k8s_00777_section_2_17192"
  },
  {
    "question": "What is Manage Kubernetes Objects?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Manage Kubernetes ObjectsDeclarative and imperative paradigms for interacting with the Kubernetes API.1: Declarative Management of Kubernetes Objects Using Configuration Files2: Declarative Management of Kubernetes Objects Using Kustomize3: Managing Kubernetes Objects Using Imperative Commands4: Imperative Management of Kubernetes Objects Using Configuration Files5: Update API Objects in Place Using kubectl patch6: Migrate Kubernetes Objects Using Storage Version Migration1 - Declarative Management of Kubernetes Objects Using Configuration FilesKubernetes objects can be created, updated, and deleted by storing multiple object configuration files in a directory and using kubectl apply to recursively create and update those objects as needed. This method retains writes made to live objects without merging the changes back into the object configuration files. kubectl diff also gives you a preview of what changes apply will make.Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Trade-offsThe kubectl tool supports three kinds of object management:Imperative commandsImperative object configurationDeclarative object configurationSee Kubernetes Object Management for a discussion of the advantages and disadvantage of each kind of object management.OverviewDeclarative object configuration requires a firm understanding of the Kubernetes object definitions and configuration. Read and complete the following documents if you have not already:Managing Kubernetes Objects Using Imperative CommandsImperative Management of Kubernetes Objects Using Configuration FilesFollowing are definitions for terms used in this document:object configuration file / configuration file: A file that defines the configuration for a Kubernetes object. This topic shows how to pass configuration files to kubectl apply. Configuration files are typically stored in source control, such as Git.live object configuration / live configuration: The live configuration values of an object, as observed by the Kubernetes cluster. These are kept in the Kubernetes cluster storage, typically etcd.declarative configuration writer / declarative writer: A person or software component that makes updates to a live object. The live writers referred to in this topic make changes to object configuration files and run kubectl apply to write the changes.How to create objectsUse kubectl apply to create all objects, except those that already exist, defined by ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_qa_17193"
  },
  {
    "question": "How does Manage Kubernetes Objects work?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Manage Kubernetes ObjectsDeclarative and imperative paradigms for interacting with the Kubernetes API.1: Declarative Management of Kubernetes Objects Using Configuration Files2: Declarative Management of Kubernetes Objects Using Kustomize3: Managing Kubernetes Objects Using Imperative Commands4: Imperative Management of Kubernetes Objects Using Configuration Files5: Update API Objects in Place Using kubectl patch6: Migrate Kubernetes Objects Using Storage Version Migration1 - Declarative Management of Kubernetes Objects Using Configuration FilesKubernetes objects can be created, updated, and deleted by storing multiple object configuration files in a directory and using kubectl apply to recursively create and update those objects as needed. This method retains writes made to live objects without merging the changes back into the object configuration files. kubectl diff also gives you a preview of what changes apply will make.Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Trade-offsThe kubectl tool supports three kinds of object management:Imperative commandsImperative object configurationDeclarative object configurationSee Kubernetes Object Management for a discussion of the advantages and disadvantage of each kind of object management.OverviewDeclarative object configuration requires a firm understanding of the Kubernetes object definitions and configuration. Read and complete the following documents if you have not already:Managing Kubernetes Objects Using Imperative CommandsImperative Management of Kubernetes Objects Using Configuration FilesFollowing are definitions for terms used in this document:object configuration file / configuration file: A file that defines the configuration for a Kubernetes object. This topic shows how to pass configuration files to kubectl apply. Configuration files are typically stored in source control, such as Git.live object configuration / live configuration: The live configuration values of an object, as observed by the Kubernetes cluster. These are kept in the Kubernetes cluster storage, typically etcd.declarative configuration writer / declarative writer: A person or software component that makes updates to a live object. The live writers referred to in this topic make changes to object configuration files and run kubectl apply to write the changes.How to create objectsUse kubectl apply to create all objects, except those that already exist, defined by ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_qa_17194"
  },
  {
    "question": "When would you use Manage Kubernetes Objects?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Manage Kubernetes ObjectsDeclarative and imperative paradigms for interacting with the Kubernetes API.1: Declarative Management of Kubernetes Objects Using Configuration Files2: Declarative Management of Kubernetes Objects Using Kustomize3: Managing Kubernetes Objects Using Imperative Commands4: Imperative Management of Kubernetes Objects Using Configuration Files5: Update API Objects in Place Using kubectl patch6: Migrate Kubernetes Objects Using Storage Version Migration1 - Declarative Management of Kubernetes Objects Using Configuration FilesKubernetes objects can be created, updated, and deleted by storing multiple object configuration files in a directory and using kubectl apply to recursively create and update those objects as needed. This method retains writes made to live objects without merging the changes back into the object configuration files. kubectl diff also gives you a preview of what changes apply will make.Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Trade-offsThe kubectl tool supports three kinds of object management:Imperative commandsImperative object configurationDeclarative object configurationSee Kubernetes Object Management for a discussion of the advantages and disadvantage of each kind of object management.OverviewDeclarative object configuration requires a firm understanding of the Kubernetes object definitions and configuration. Read and complete the following documents if you have not already:Managing Kubernetes Objects Using Imperative CommandsImperative Management of Kubernetes Objects Using Configuration FilesFollowing are definitions for terms used in this document:object configuration file / configuration file: A file that defines the configuration for a Kubernetes object. This topic shows how to pass configuration files to kubectl apply. Configuration files are typically stored in source control, such as Git.live object configuration / live configuration: The live configuration values of an object, as observed by the Kubernetes cluster. These are kept in the Kubernetes cluster storage, typically etcd.declarative configuration writer / declarative writer: A person or software component that makes updates to a live object. The live writers referred to in this topic make changes to object configuration files and run kubectl apply to write the changes.How to create objectsUse kubectl apply to create all objects, except those that already exist, defined by ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_qa_17195"
  },
  {
    "question": "What are the benefits of Manage Kubernetes Objects?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Manage Kubernetes ObjectsDeclarative and imperative paradigms for interacting with the Kubernetes API.1: Declarative Management of Kubernetes Objects Using Configuration Files2: Declarative Management of Kubernetes Objects Using Kustomize3: Managing Kubernetes Objects Using Imperative Commands4: Imperative Management of Kubernetes Objects Using Configuration Files5: Update API Objects in Place Using kubectl patch6: Migrate Kubernetes Objects Using Storage Version Migration1 - Declarative Management of Kubernetes Objects Using Configuration FilesKubernetes objects can be created, updated, and deleted by storing multiple object configuration files in a directory and using kubectl apply to recursively create and update those objects as needed. This method retains writes made to live objects without merging the changes back into the object configuration files. kubectl diff also gives you a preview of what changes apply will make.Before you beginInstall kubectl.You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Trade-offsThe kubectl tool supports three kinds of object management:Imperative commandsImperative object configurationDeclarative object configurationSee Kubernetes Object Management for a discussion of the advantages and disadvantage of each kind of object management.OverviewDeclarative object configuration requires a firm understanding of the Kubernetes object definitions and configuration. Read and complete the following documents if you have not already:Managing Kubernetes Objects Using Imperative CommandsImperative Management of Kubernetes Objects Using Configuration FilesFollowing are definitions for terms used in this document:object configuration file / configuration file: A file that defines the configuration for a Kubernetes object. This topic shows how to pass configuration files to kubectl apply. Configuration files are typically stored in source control, such as Git.live object configuration / live configuration: The live configuration values of an object, as observed by the Kubernetes cluster. These are kept in the Kubernetes cluster storage, typically etcd.declarative configuration writer / declarative writer: A person or software component that makes updates to a live object. The live writers referred to in this topic make changes to object configuration files and run kubectl apply to write the changes.How to create objectsUse kubectl apply to create all objects, except those that already exist, defined by ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_qa_17196"
  },
  {
    "question": "What is Manage Kubernetes Objects?",
    "answer": "1 :   D e c l a r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s 2 :   D e c l a r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   K u s t o m i z e 3 :   M a n a g i n g   K u b e r n e t e s   O b j e c t s   U s i n g   I m p e r a t i v e   C o m m a n d s 4 :   I m p e r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s 5 :   U p d a t e   A P I   O b j e c t s   i n   P l a c e   U s i n g   k u b e c t l   p a t c h 6 :   M i g r a t e   K u b e r n e t e s   O b j e c t s   U s i n g   S t o r a g e   V e r s i o n   M i g r a t i o n",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_1_17197"
  },
  {
    "question": "What is 1 - Declarative Management of Kubernetes Objects Using Configuration Files?",
    "answer": "K u b e r n e t e s   o b j e c t s   c a n   b e   c r e a t e d ,   u p d a t e d ,   a n d   d e l e t e d   b y   s t o r i n g   m u l t i p l e   o b j e c t   c o n f i g u r a t i o n   f i l e s   i n   a   d i r e c t o r y   a n d   u s i n g   k u b e c t l   a p p l y   t o   r e c u r s i v e l y   c r e a t e   a n d   u p d a t e   t h o s e   o b j e c t s   a s   n e e d e d .   T h i s   m e t h o d   r e t a i n s   w r i t e s   m a d e   t o   l i v e   o b j e c t s   w i t h o u t   m e r g i n g   t h e   c h a n g e s   b a c k   i n t o   t h e   o b j e c t   c o n f i g u r a t i o n   f i l e s .   k u b e c t l   d i f f   a l s o   g i v e s   y o u   a   p r e v i e w   o f   w h a t   c h a n g e s   a p p l y   w i l l   m a k e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_1_17198"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n s t a l l   k u b e c t l .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17199"
  },
  {
    "question": "What is Trade-offs?",
    "answer": "T h e   k u b e c t l   t o o l   s u p p o r t s   t h r e e   k i n d s   o f   o b j e c t   m a n a g e m e n t :   I m p e r a t i v e   c o m m a n d s I m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n D e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n   S e e   K u b e r n e t e s   O b j e c t   M a n a g e m e n t   f o r   a   d i s c u s s i o n   o f   t h e   a d v a n t a g e s   a n d   d i s a d v a n t a g e   o f   e a c h   k i n d   o f   o b j e c t   m a n a g e m e n t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17200"
  },
  {
    "question": "What is Overview?",
    "answer": "D e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n   r e q u i r e s   a   f i r m   u n d e r s t a n d i n g   o f   t h e   K u b e r n e t e s   o b j e c t   d e f i n i t i o n s   a n d   c o n f i g u r a t i o n .   R e a d   a n d   c o m p l e t e   t h e   f o l l o w i n g   d o c u m e n t s   i f   y o u   h a v e   n o t   a l r e a d y :   M a n a g i n g   K u b e r n e t e s   O b j e c t s   U s i n g   I m p e r a t i v e   C o m m a n d s I m p e r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s   F o l l o w i n g   a r e   d e f i n i t i o n s   f o r   t e r m s   u s e d   i n   t h i s   d o c u m e n t :   o b j e c t   c o n f i g u r a t i o n   f i l e   /   c o n f i g u r a t i o n   f i l e :   A   f i l e   t h a t   d e f i n e s   t h e   c o n f i g u r a t i o n   f o r   a   K u b e r n e t e s   o b j e c t .   T h i s   t o p i c   s h o w s   h o w   t o   p a s s   c o n f i g u r a t i o n   f i l e s   t o   k u b e c t l   a p p l y .   C o n f i g u r a t i o n   f i l e s   a r e   t y p i c a l l y   s t o r e d   i n   s o u r c e   c o n t r o l ,   s u c h   a s   G i t . l i v e   o b j e c t   c o n f i g u r a t i o n   /   l i v e   c o n f i g u r a t i o n :   T h e   l i v e   c o n f i g u r a t i o n   v a l u e s   o f   a n   o b j e c t ,   a s   o b s e r v e d   b y   t h e   K u b e r n e t e s   c l u s t e r .   T h e s e   a r e   k e p t   i n   t h e   K u b e r n e t e s   c l u s t e r   s t o r a g e ,   t y p i c a l l y   e t c d . d e c l a r a t i v e   c o n f i g u r a t i o n   w r i t e r   /   d e c l a r a t i v e   w r i t e r :   A   p e r s o n   o r   s o f t w a r e   c o m p o n e n t   t h a t   m a k e s   u p d a t e s   t o   a   l i v e   o b j e c t .   T h e   l i v e   w r i t e r s   r e f e r r e d   t o   i n   t h i s   t o p i c   m a k e   c h a n g e s   t o   o b j e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17201"
  },
  {
    "question": "What is How to create objects?",
    "answer": "U s e   k u b e c t l   a p p l y   t o   c r e a t e   a l l   o b j e c t s ,   e x c e p t   t h o s e   t h a t   a l r e a d y   e x i s t ,   d e f i n e d   b y   c o n f i g u r a t i o n   f i l e s   i n   a   s p e c i f i e d   d i r e c t o r y :   k u b e c t l   a p p l y   - f   < d i r e c t o r y >   T h i s   s e t s   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n :   ' { . . . } '   a n n o t a t i o n   o n   e a c h   o b j e c t .   T h e   a n n o t a t i o n   c o n t a i n s   t h e   c o n t e n t s   o f   t h e   o b j e c t   c o n f i g u r a t i o n   f i l e   t h a t   w a s   u s e d   t o   c r e a t e   t h e   o b j e c t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17202"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e ' s   a n   e x a m p l e   o f   a n   o b j e c t   c o n f i g u r a t i o n   f i l e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   m i n R e a d y S e c o n d s :   5   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0   R u n   k u b e c t l   d i f f   t o   p r i n t   t h e   o b j e c t   t h a t   w i l l   b e   c r e a t e d :   k u b e c t l   d i f f   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / s i m p l e _ d e p l o y m e n t . y a m l",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_4_17203"
  },
  {
    "question": "What is Note:?",
    "answer": "d i f f   u s e s   s e r v e r - s i d e   d r y - r u n ,   w h i c h   n e e d s   t o   b e   e n a b l e d   o n   k u b e - a p i s e r v e r .   S i n c e   d i f f   p e r f o r m s   a   s e r v e r - s i d e   a p p l y   r e q u e s t   i n   d r y - r u n   m o d e ,   i t   r e q u i r e s   g r a n t i n g   P A T C H ,   C R E A T E ,   a n d   U P D A T E   p e r m i s s i o n s .   S e e   D r y - R u n   A u t h o r i z a t i o n   f o r   d e t a i l s .   C r e a t e   t h e   o b j e c t   u s i n g   k u b e c t l   a p p l y :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / s i m p l e _ d e p l o y m e n t . y a m l   P r i n t   t h e   l i v e   c o n f i g u r a t i o n   u s i n g   k u b e c t l   g e t :   k u b e c t l   g e t   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / s i m p l e _ d e p l o y m e n t . y a m l   - o   y a m l   T h e   o u t p u t   s h o w s   t h a t   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   w a s   w r i t t e n   t o   t h e   l i v e   c o n f i g u r a t i o n ,   a n d   i t   m a t c h e s   t h e   c o n f i g u r a t i o n   f i l e :   k i n d :   D e p l o y m e n t   m e t a d a t a :   a n n o t a t i o n s :   #   . . .   #   T h i s   i s   t h e   j s o n   r e p r e s e n t a t i o n   o f   s i m p l e _ d e p l o y m e n t . y a m l   #   I t   w a s   w r i t t e n   b y   k u b e c t l   a p p l y   w h e n   t h e   o b j e c t   w a s   c r e a t e d   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n :   |   { \" a p i V e r s i o n \" : \" a p p s / v 1 \" , \" k i n d \" : \" D e p l o y m e n t \" ,   \" m e t a d a t a \" : { \" a n n o t a t i o n s \" : { } , \" n a m e \" : \" n g i n x - d e p l o y m e n t \" , \" n a m e s p a c e \" : \" d e f a u l t \" } ,   \" s p e c \" : ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_4_17204"
  },
  {
    "question": "What is How to update objects?",
    "answer": "Y o u   c a n   a l s o   u s e   k u b e c t l   a p p l y   t o   u p d a t e   a l l   o b j e c t s   d e f i n e d   i n   a   d i r e c t o r y ,   e v e n   i f   t h o s e   o b j e c t s   a l r e a d y   e x i s t .   T h i s   a p p r o a c h   a c c o m p l i s h e s   t h e   f o l l o w i n g :   S e t s   f i e l d s   t h a t   a p p e a r   i n   t h e   c o n f i g u r a t i o n   f i l e   i n   t h e   l i v e   c o n f i g u r a t i o n . C l e a r s   f i e l d s   r e m o v e d   f r o m   t h e   c o n f i g u r a t i o n   f i l e   i n   t h e   l i v e   c o n f i g u r a t i o n .   k u b e c t l   d i f f   - f   < d i r e c t o r y >   k u b e c t l   a p p l y   - f   < d i r e c t o r y >",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17205"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e ' s   a n   e x a m p l e   c o n f i g u r a t i o n   f i l e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   m i n R e a d y S e c o n d s :   5   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0   C r e a t e   t h e   o b j e c t   u s i n g   k u b e c t l   a p p l y :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / s i m p l e _ d e p l o y m e n t . y a m l",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_4_17206"
  },
  {
    "question": "What is Note:?",
    "answer": "P r i n t   t h e   l i v e   c o n f i g u r a t i o n   u s i n g   k u b e c t l   g e t :   k u b e c t l   g e t   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / s i m p l e _ d e p l o y m e n t . y a m l   - o   y a m l   T h e   o u t p u t   s h o w s   t h a t   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   w a s   w r i t t e n   t o   t h e   l i v e   c o n f i g u r a t i o n ,   a n d   i t   m a t c h e s   t h e   c o n f i g u r a t i o n   f i l e :   k i n d :   D e p l o y m e n t   m e t a d a t a :   a n n o t a t i o n s :   #   . . .   #   T h i s   i s   t h e   j s o n   r e p r e s e n t a t i o n   o f   s i m p l e _ d e p l o y m e n t . y a m l   #   I t   w a s   w r i t t e n   b y   k u b e c t l   a p p l y   w h e n   t h e   o b j e c t   w a s   c r e a t e d   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n :   |   { \" a p i V e r s i o n \" : \" a p p s / v 1 \" , \" k i n d \" : \" D e p l o y m e n t \" ,   \" m e t a d a t a \" : { \" a n n o t a t i o n s \" : { } , \" n a m e \" : \" n g i n x - d e p l o y m e n t \" , \" n a m e s p a c e \" : \" d e f a u l t \" } ,   \" s p e c \" : { \" m i n R e a d y S e c o n d s \" : 5 , \" s e l e c t o r \" : { \" m a t c h L a b e l s \" : { \" a p p \" : n g i n x } } , \" t e m p l a t e \" : { \" m e t a d a t a \" : { \" l a b e l s \" : { \" a p p \" : \" n g i n x \" } } ,   \" s p e c \" : { \" c o n t a i n e r s \" : [ { \" i m a g e \" : \" n g i n x : 1 . 1 4 . 2 \" , \" n a m e \" : \" n g i n x \" ,   \" p o r t s \" : [ { \" c o n t a i n e r P o r t \" : 8 0 } ] } ] } } } }   #   . . .   s p e c :   #   . . .   m i n R e a d y S e c o n d s :   5   s e l e c t o r :   m a t c h L a b e l s :   #   . . .   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   #   . . .   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   i ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_4_17207"
  },
  {
    "question": "What is How to delete objects?",
    "answer": "T h e r e   a r e   t w o   a p p r o a c h e s   t o   d e l e t e   o b j e c t s   m a n a g e d   b y   k u b e c t l   a p p l y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17208"
  },
  {
    "question": "What is Recommended: kubectl delete -f <filename>?",
    "answer": "M a n u a l l y   d e l e t i n g   o b j e c t s   u s i n g   t h e   i m p e r a t i v e   c o m m a n d   i s   t h e   r e c o m m e n d e d   a p p r o a c h ,   a s   i t   i s   m o r e   e x p l i c i t   a b o u t   w h a t   i s   b e i n g   d e l e t e d ,   a n d   l e s s   l i k e l y   t o   r e s u l t   i n   t h e   u s e r   d e l e t i n g   s o m e t h i n g   u n i n t e n t i o n a l l y :   k u b e c t l   d e l e t e   - f   < f i l e n a m e >",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_3_17209"
  },
  {
    "question": "What is Alternative: kubectl apply -f <directory> --prune?",
    "answer": "A s   a n   a l t e r n a t i v e   t o   k u b e c t l   d e l e t e ,   y o u   c a n   u s e   k u b e c t l   a p p l y   t o   i d e n t i f y   o b j e c t s   t o   b e   d e l e t e d   a f t e r   t h e i r   m a n i f e s t s   h a v e   b e e n   r e m o v e d   f r o m   a   d i r e c t o r y   i n   t h e   l o c a l   f i l e s y s t e m .   I n   K u b e r n e t e s   1 . 3 4 ,   t h e r e   a r e   t w o   p r u n i n g   m o d e s   a v a i l a b l e   i n   k u b e c t l   a p p l y :   A l l o w l i s t - b a s e d   p r u n i n g :   T h i s   m o d e   h a s   e x i s t e d   s i n c e   k u b e c t l   v 1 . 5   b u t   i s   s t i l l   i n   a l p h a   d u e   t o   u s a b i l i t y ,   c o r r e c t n e s s   a n d   p e r f o r m a n c e   i s s u e s   w i t h   i t s   d e s i g n .   T h e   A p p l y S e t - b a s e d   m o d e   i s   d e s i g n e d   t o   r e p l a c e   i t . A p p l y S e t - b a s e d   p r u n i n g :   A n   a p p l y   s e t   i s   a   s e r v e r - s i d e   o b j e c t   ( b y   d e f a u l t ,   a   S e c r e t )   t h a t   k u b e c t l   c a n   u s e   t o   a c c u r a t e l y   a n d   e f f i c i e n t l y   t r a c k   s e t   m e m b e r s h i p   a c r o s s   a p p l y   o p e r a t i o n s .   T h i s   m o d e   w a s   i n t r o d u c e d   i n   a l p h a   i n   k u b e c t l   v 1 . 2 7   a s   a   r e p l a c e m e n t   f o r   a l l o w l i s t - b a s e d   p r u n i n g .   F E A T U R E   S T A T E :   K u b e r n e t e s   v 1 . 5   [ a l p h a ] W a r n i n g : T a k e   c a r e   w h e n   u s i n g   - - p r u n e   w i t h   k u b e c t l   a p p l y   i n   a l l o w   l i s t   m o d e .   W h i c h   o b j e c t s   a r e   p r u n e d   d e p e n d s   o n   t h e   v a l u e s   o f   t h e   - - p r u n e - a l l o w l i s t ,   - - s e l e c t o r   a n d   - - n a m e s p a c e   f l a g s ,   a n d   r e l i e s   o n   d y n a m i c   d i s c o v e r y   o f   t h e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_3_17210"
  },
  {
    "question": "What is Warning:?",
    "answer": "T o   u s e   a l l o w l i s t - b a s e d   p r u n i n g ,   a d d   t h e   f o l l o w i n g   f l a g s   t o   y o u r   k u b e c t l   a p p l y   i n v o c a t i o n :   - - p r u n e :   D e l e t e   p r e v i o u s l y   a p p l i e d   o b j e c t s   t h a t   a r e   n o t   i n   t h e   s e t   p a s s e d   t o   t h e   c u r r e n t   i n v o c a t i o n . - - p r u n e - a l l o w l i s t :   A   l i s t   o f   g r o u p - v e r s i o n - k i n d s   ( G V K s )   t o   c o n s i d e r   f o r   p r u n i n g .   T h i s   f l a g   i s   o p t i o n a l   b u t   s t r o n g l y   e n c o u r a g e d ,   a s   i t s   d e f a u l t   v a l u e   i s   a   p a r t i a l   l i s t   o f   b o t h   n a m e s p a c e d   a n d   c l u s t e r - s c o p e d   t y p e s ,   w h i c h   c a n   l e a d   t o   s u r p r i s i n g   r e s u l t s . - - s e l e c t o r / - l :   U s e   a   l a b e l   s e l e c t o r   t o   c o n s t r a i n   t h e   s e t   o f   o b j e c t s   s e l e c t e d   f o r   p r u n i n g .   T h i s   f l a g   i s   o p t i o n a l   b u t   s t r o n g l y   e n c o u r a g e d . - - a l l :   u s e   i n s t e a d   o f   - - s e l e c t o r / - l   t o   e x p l i c i t l y   s e l e c t   a l l   p r e v i o u s l y   a p p l i e d   o b j e c t s   o f   t h e   a l l o w l i s t e d   t y p e s .   A l l o w l i s t - b a s e d   p r u n i n g   q u e r i e s   t h e   A P I   s e r v e r   f o r   a l l   o b j e c t s   o f   t h e   a l l o w l i s t e d   G V K s   t h a t   m a t c h   t h e   g i v e n   l a b e l s   ( i f   a n y ) ,   a n d   a t t e m p t s   t o   m a t c h   t h e   r e t u r n e d   l i v e   o b j e c t   c o n f i g u r a t i o n s   a g a i n s t   t h e   o b j e c t   m a n i f e s t   f i l e s .   I f   a n   o b j e c t   m a t c h e s   t h e   q u e r y ,   a n d   i t   d o e s   n o t   h a v e   a   m a n i f e s t   i n   t h e   d i r e c t o r y ,   a n d   i t   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_4_17211"
  },
  {
    "question": "What is Warning:?",
    "answer": "F E A T U R E   S T A T E :   K u b e r n e t e s   v 1 . 2 7   [ a l p h a ] C a u t i o n : k u b e c t l   a p p l y   - - p r u n e   - - a p p l y s e t   i s   i n   a l p h a ,   a n d   b a c k w a r d s   i n c o m p a t i b l e   c h a n g e s   m i g h t   b e   i n t r o d u c e d   i n   s u b s e q u e n t   r e l e a s e s . T o   u s e   A p p l y S e t - b a s e d   p r u n i n g ,   s e t   t h e   K U B E C T L _ A P P L Y S E T = t r u e   e n v i r o n m e n t   v a r i a b l e ,   a n d   a d d   t h e   f o l l o w i n g   f l a g s   t o   y o u r   k u b e c t l   a p p l y   i n v o c a t i o n : - - p r u n e :   D e l e t e   p r e v i o u s l y   a p p l i e d   o b j e c t s   t h a t   a r e   n o t   i n   t h e   s e t   p a s s e d   t o   t h e   c u r r e n t   i n v o c a t i o n . - - a p p l y s e t :   T h e   n a m e   o f   a n   o b j e c t   t h a t   k u b e c t l   c a n   u s e   t o   a c c u r a t e l y   a n d   e f f i c i e n t l y   t r a c k   s e t   m e m b e r s h i p   a c r o s s   a p p l y   o p e r a t i o n s . K U B E C T L _ A P P L Y S E T = t r u e   k u b e c t l   a p p l y   - f   < d i r e c t o r y >   - - p r u n e   - - a p p l y s e t = < n a m e >   B y   d e f a u l t ,   t h e   t y p e   o f   t h e   A p p l y S e t   p a r e n t   o b j e c t   u s e d   i s   a   S e c r e t .   H o w e v e r ,   C o n f i g M a p s   c a n   a l s o   b e   u s e d   i n   t h e   f o r m a t :   - - a p p l y s e t = c o n f i g m a p s / < n a m e > .   W h e n   u s i n g   a   S e c r e t   o r   C o n f i g M a p ,   k u b e c t l   w i l l   c r e a t e   t h e   o b j e c t   i f   i t   d o e s   n o t   a l r e a d y   e x i s t . I t   i s   a l s o   p o s s i b l e   t o   u s e   c u s t o m   r e s o u r c e s   a s   A p p l y S e t   p a r e n t   o b j e c t s .   T o   e n a b l e   t h i s ,   l a b e l   t h e   C u s t o m   R e s o u r c e   D e f i n i t i o n   ( C R D )   t h ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_4_17212"
  },
  {
    "question": "What is Caution:?",
    "answer": "T o   u s e   A p p l y S e t - b a s e d   p r u n i n g ,   s e t   t h e   K U B E C T L _ A P P L Y S E T = t r u e   e n v i r o n m e n t   v a r i a b l e ,   a n d   a d d   t h e   f o l l o w i n g   f l a g s   t o   y o u r   k u b e c t l   a p p l y   i n v o c a t i o n :   - - p r u n e :   D e l e t e   p r e v i o u s l y   a p p l i e d   o b j e c t s   t h a t   a r e   n o t   i n   t h e   s e t   p a s s e d   t o   t h e   c u r r e n t   i n v o c a t i o n . - - a p p l y s e t :   T h e   n a m e   o f   a n   o b j e c t   t h a t   k u b e c t l   c a n   u s e   t o   a c c u r a t e l y   a n d   e f f i c i e n t l y   t r a c k   s e t   m e m b e r s h i p   a c r o s s   a p p l y   o p e r a t i o n s .   K U B E C T L _ A P P L Y S E T = t r u e   k u b e c t l   a p p l y   - f   < d i r e c t o r y >   - - p r u n e   - - a p p l y s e t = < n a m e >   B y   d e f a u l t ,   t h e   t y p e   o f   t h e   A p p l y S e t   p a r e n t   o b j e c t   u s e d   i s   a   S e c r e t .   H o w e v e r ,   C o n f i g M a p s   c a n   a l s o   b e   u s e d   i n   t h e   f o r m a t :   - - a p p l y s e t = c o n f i g m a p s / < n a m e > .   W h e n   u s i n g   a   S e c r e t   o r   C o n f i g M a p ,   k u b e c t l   w i l l   c r e a t e   t h e   o b j e c t   i f   i t   d o e s   n o t   a l r e a d y   e x i s t .   I t   i s   a l s o   p o s s i b l e   t o   u s e   c u s t o m   r e s o u r c e s   a s   A p p l y S e t   p a r e n t   o b j e c t s .   T o   e n a b l e   t h i s ,   l a b e l   t h e   C u s t o m   R e s o u r c e   D e f i n i t i o n   ( C R D )   t h a t   d e f i n e s   t h e   r e s o u r c e   y o u   w a n t   t o   u s e   w i t h   t h e   f o l l o w i n g :   a p p l y s e t . k u b e r n e t e s . i o / i s - p a r e n t - t y p e :   t r u e .   T h e n ,   c r e a t e   t h e   o b j e c t   y o u   w a n t   t o   u s e   a s   a n   A p p l y S e t   p a r e n t   ( ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_4_17213"
  },
  {
    "question": "What is How to view an object?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   g e t   w i t h   - o   y a m l   t o   v i e w   t h e   c o n f i g u r a t i o n   o f   a   l i v e   o b j e c t :   k u b e c t l   g e t   - f   < f i l e n a m e | u r l >   - o   y a m l",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17214"
  },
  {
    "question": "What is Caution:?",
    "answer": "W h e n   k u b e c t l   a p p l y   u p d a t e s   t h e   l i v e   c o n f i g u r a t i o n   f o r   a n   o b j e c t ,   i t   d o e s   s o   b y   s e n d i n g   a   p a t c h   r e q u e s t   t o   t h e   A P I   s e r v e r .   T h e   p a t c h   d e f i n e s   u p d a t e s   s c o p e d   t o   s p e c i f i c   f i e l d s   o f   t h e   l i v e   o b j e c t   c o n f i g u r a t i o n .   T h e   k u b e c t l   a p p l y   c o m m a n d   c a l c u l a t e s   t h i s   p a t c h   r e q u e s t   u s i n g   t h e   c o n f i g u r a t i o n   f i l e ,   t h e   l i v e   c o n f i g u r a t i o n ,   a n d   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   s t o r e d   i n   t h e   l i v e   c o n f i g u r a t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_4_17215"
  },
  {
    "question": "What is Merge patch calculation?",
    "answer": "T h e   k u b e c t l   a p p l y   c o m m a n d   w r i t e s   t h e   c o n t e n t s   o f   t h e   c o n f i g u r a t i o n   f i l e   t o   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n .   T h i s   i s   u s e d   t o   i d e n t i f y   f i e l d s   t h a t   h a v e   b e e n   r e m o v e d   f r o m   t h e   c o n f i g u r a t i o n   f i l e   a n d   n e e d   t o   b e   c l e a r e d   f r o m   t h e   l i v e   c o n f i g u r a t i o n .   H e r e   a r e   t h e   s t e p s   u s e d   t o   c a l c u l a t e   w h i c h   f i e l d s   s h o u l d   b e   d e l e t e d   o r   s e t :   C a l c u l a t e   t h e   f i e l d s   t o   d e l e t e .   T h e s e   a r e   t h e   f i e l d s   p r e s e n t   i n   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n d   m i s s i n g   f r o m   t h e   c o n f i g u r a t i o n   f i l e . C a l c u l a t e   t h e   f i e l d s   t o   a d d   o r   s e t .   T h e s e   a r e   t h e   f i e l d s   p r e s e n t   i n   t h e   c o n f i g u r a t i o n   f i l e   w h o s e   v a l u e s   d o n ' t   m a t c h   t h e   l i v e   c o n f i g u r a t i o n .   H e r e ' s   a n   e x a m p l e .   S u p p o s e   t h i s   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   D e p l o y m e n t   o b j e c t :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 6 . 1   #   u p d a t e   t h e   i m a g e   p o r t s :   -   c o n t a i n e r P o r t :   8 0   A l s o ,   s u p p o s e   t h i s   i s   t h e   l i v e   c o n f i g u r a t i o n   f o r ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_3_17216"
  },
  {
    "question": "What is How different types of fields are merged?",
    "answer": "H o w   a   p a r t i c u l a r   f i e l d   i n   a   c o n f i g u r a t i o n   f i l e   i s   m e r g e d   w i t h   t h e   l i v e   c o n f i g u r a t i o n   d e p e n d s   o n   t h e   t y p e   o f   t h e   f i e l d .   T h e r e   a r e   s e v e r a l   t y p e s   o f   f i e l d s :   p r i m i t i v e :   A   f i e l d   o f   t y p e   s t r i n g ,   i n t e g e r ,   o r   b o o l e a n .   F o r   e x a m p l e ,   i m a g e   a n d   r e p l i c a s   a r e   p r i m i t i v e   f i e l d s .   A c t i o n :   R e p l a c e . m a p ,   a l s o   c a l l e d   o b j e c t :   A   f i e l d   o f   t y p e   m a p   o r   a   c o m p l e x   t y p e   t h a t   c o n t a i n s   s u b f i e l d s .   F o r   e x a m p l e ,   l a b e l s ,   a n n o t a t i o n s , s p e c   a n d   m e t a d a t a   a r e   a l l   m a p s .   A c t i o n :   M e r g e   e l e m e n t s   o r   s u b f i e l d s . l i s t :   A   f i e l d   c o n t a i n i n g   a   l i s t   o f   i t e m s   t h a t   c a n   b e   e i t h e r   p r i m i t i v e   t y p e s   o r   m a p s .   F o r   e x a m p l e ,   c o n t a i n e r s ,   p o r t s ,   a n d   a r g s   a r e   l i s t s .   A c t i o n :   V a r i e s .   p r i m i t i v e :   A   f i e l d   o f   t y p e   s t r i n g ,   i n t e g e r ,   o r   b o o l e a n .   F o r   e x a m p l e ,   i m a g e   a n d   r e p l i c a s   a r e   p r i m i t i v e   f i e l d s .   A c t i o n :   R e p l a c e .   m a p ,   a l s o   c a l l e d   o b j e c t :   A   f i e l d   o f   t y p e   m a p   o r   a   c o m p l e x   t y p e   t h a t   c o n t a i n s   s u b f i e l d s .   F o r   e x a m p l e ,   l a b e l s ,   a n n o t a t i o n s , s p e c   a n d   m e t a d a t a   a r e   a l l   m a p s .   A c t i o n :   M e r g e   e l e m e n t s   o r   s u b f i e l d s .   l i s t :   A   f i e l d   c o n t a i n i n g   a   l i s t   o f   i t e m s   t h a t   c a n   b e   e i t h e r   p ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_3_17217"
  },
  {
    "question": "What is Merging changes to primitive fields?",
    "answer": "P r i m i t i v e   f i e l d s   a r e   r e p l a c e d   o r   c l e a r e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_3_17218"
  },
  {
    "question": "What is Merging changes to map fields?",
    "answer": "F i e l d s   t h a t   r e p r e s e n t   m a p s   a r e   m e r g e d   b y   c o m p a r i n g   e a c h   o f   t h e   s u b f i e l d s   o r   e l e m e n t s   o f   t h e   m a p :",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_3_17219"
  },
  {
    "question": "What is Merging changes for fields of type list?",
    "answer": "M e r g i n g   c h a n g e s   t o   a   l i s t   u s e s   o n e   o f   t h r e e   s t r a t e g i e s :   R e p l a c e   t h e   l i s t   i f   a l l   i t s   e l e m e n t s   a r e   p r i m i t i v e s . M e r g e   i n d i v i d u a l   e l e m e n t s   i n   a   l i s t   o f   c o m p l e x   e l e m e n t s . M e r g e   a   l i s t   o f   p r i m i t i v e   e l e m e n t s .   T h e   c h o i c e   o f   s t r a t e g y   i s   m a d e   o n   a   p e r - f i e l d   b a s i s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_3_17220"
  },
  {
    "question": "What is Replace the list if all its elements are primitives?",
    "answer": "T r e a t   t h e   l i s t   t h e   s a m e   a s   a   p r i m i t i v e   f i e l d .   R e p l a c e   o r   d e l e t e   t h e   e n t i r e   l i s t .   T h i s   p r e s e r v e s   o r d e r i n g .   E x a m p l e :   U s e   k u b e c t l   a p p l y   t o   u p d a t e   t h e   a r g s   f i e l d   o f   a   C o n t a i n e r   i n   a   P o d .   T h i s   s e t s   t h e   v a l u e   o f   a r g s   i n   t h e   l i v e   c o n f i g u r a t i o n   t o   t h e   v a l u e   i n   t h e   c o n f i g u r a t i o n   f i l e .   A n y   a r g s   e l e m e n t s   t h a t   h a d   p r e v i o u s l y   b e e n   a d d e d   t o   t h e   l i v e   c o n f i g u r a t i o n   a r e   l o s t .   T h e   o r d e r   o f   t h e   a r g s   e l e m e n t s   d e f i n e d   i n   t h e   c o n f i g u r a t i o n   f i l e   i s   r e t a i n e d   i n   t h e   l i v e   c o n f i g u r a t i o n .   #   l a s t - a p p l i e d - c o n f i g u r a t i o n   v a l u e   a r g s :   [ \" a \" ,   \" b \" ]   #   c o n f i g u r a t i o n   f i l e   v a l u e   a r g s :   [ \" a \" ,   \" c \" ]   #   l i v e   c o n f i g u r a t i o n   a r g s :   [ \" a \" ,   \" b \" ,   \" d \" ]   #   r e s u l t   a f t e r   m e r g e   a r g s :   [ \" a \" ,   \" c \" ]   E x p l a n a t i o n :   T h e   m e r g e   u s e d   t h e   c o n f i g u r a t i o n   f i l e   v a l u e   a s   t h e   n e w   l i s t   v a l u e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_4_17221"
  },
  {
    "question": "What is Merge individual elements of a list of complex elements:?",
    "answer": "T r e a t   t h e   l i s t   a s   a   m a p ,   a n d   t r e a t   a   s p e c i f i c   f i e l d   o f   e a c h   e l e m e n t   a s   a   k e y .   A d d ,   d e l e t e ,   o r   u p d a t e   i n d i v i d u a l   e l e m e n t s .   T h i s   d o e s   n o t   p r e s e r v e   o r d e r i n g .   T h i s   m e r g e   s t r a t e g y   u s e s   a   s p e c i a l   t a g   o n   e a c h   f i e l d   c a l l e d   a   p a t c h M e r g e K e y .   T h e   p a t c h M e r g e K e y   i s   d e f i n e d   f o r   e a c h   f i e l d   i n   t h e   K u b e r n e t e s   s o u r c e   c o d e :   t y p e s . g o   W h e n   m e r g i n g   a   l i s t   o f   m a p s ,   t h e   f i e l d   s p e c i f i e d   a s   t h e   p a t c h M e r g e K e y   f o r   a   g i v e n   e l e m e n t   i s   u s e d   l i k e   a   m a p   k e y   f o r   t h a t   e l e m e n t .   E x a m p l e :   U s e   k u b e c t l   a p p l y   t o   u p d a t e   t h e   c o n t a i n e r s   f i e l d   o f   a   P o d S p e c .   T h i s   m e r g e s   t h e   l i s t   a s   t h o u g h   i t   w a s   a   m a p   w h e r e   e a c h   e l e m e n t   i s   k e y e d   b y   n a m e .   #   l a s t - a p p l i e d - c o n f i g u r a t i o n   v a l u e   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 6   -   n a m e :   n g i n x - h e l p e r - a   #   k e y :   n g i n x - h e l p e r - a ;   w i l l   b e   d e l e t e d   i n   r e s u l t   i m a g e :   h e l p e r : 1 . 3   -   n a m e :   n g i n x - h e l p e r - b   #   k e y :   n g i n x - h e l p e r - b ;   w i l l   b e   r e t a i n e d   i m a g e :   h e l p e r : 1 . 3   #   c o n f i g u r a t i o n   f i l e   v a l u e   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 6   -   n a m e :   n g i n x - h e l p e r - b   i m a g e :   h e l p e r : 1 . 3   -   n a m e :   n g i n x - h e l p e r - c   #   k e y :   n g i n x - h e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_4_17222"
  },
  {
    "question": "What is Merge a list of primitive elements?",
    "answer": "A s   o f   K u b e r n e t e s   1 . 5 ,   m e r g i n g   l i s t s   o f   p r i m i t i v e   e l e m e n t s   i s   n o t   s u p p o r t e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_4_17223"
  },
  {
    "question": "What is Default field values?",
    "answer": "T h e   A P I   s e r v e r   s e t s   c e r t a i n   f i e l d s   t o   d e f a u l t   v a l u e s   i n   t h e   l i v e   c o n f i g u r a t i o n   i f   t h e y   a r e   n o t   s p e c i f i e d   w h e n   t h e   o b j e c t   i s   c r e a t e d .   H e r e ' s   a   c o n f i g u r a t i o n   f i l e   f o r   a   D e p l o y m e n t .   T h e   f i l e   d o e s   n o t   s p e c i f y   s t r a t e g y :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   m i n R e a d y S e c o n d s :   5   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0   C r e a t e   t h e   o b j e c t   u s i n g   k u b e c t l   a p p l y :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / s i m p l e _ d e p l o y m e n t . y a m l   P r i n t   t h e   l i v e   c o n f i g u r a t i o n   u s i n g   k u b e c t l   g e t :   k u b e c t l   g e t   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / s i m p l e _ d e p l o y m e n t . y a m l   - o   y a m l   T h e   o u t p u t   s h o w s   t h a t   t h e   A P I   s e r v e r   s e t   s e v e r a l   f i e l d s   t o   d e f a u l t   v a l u e s   i n   t h e   l i v e   c o n f i g u r a t i o n .   T h e s e   f i e l d s   w e r e   n o t   s p e c i f i e d   i n   t h e   c o n f i g u r a t i o n   f i l e .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   #   . . .   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   m i n R e a d y S e c o n d s :   5   r e p l i c a s :   1   #   d e f a u l t e d   b y   a p i s ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17224"
  },
  {
    "question": "What is How to clear server-defaulted fields or fields set by other writers?",
    "answer": "F i e l d s   t h a t   d o   n o t   a p p e a r   i n   t h e   c o n f i g u r a t i o n   f i l e   c a n   b e   c l e a r e d   b y   s e t t i n g   t h e i r   v a l u e s   t o   n u l l   a n d   t h e n   a p p l y i n g   t h e   c o n f i g u r a t i o n   f i l e .   F o r   f i e l d s   d e f a u l t e d   b y   t h e   s e r v e r ,   t h i s   t r i g g e r s   r e - d e f a u l t i n g   t h e   v a l u e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_3_17225"
  },
  {
    "question": "What is How to change ownership of a field between the configuration file and direct imperative writers?",
    "answer": "T h e s e   a r e   t h e   o n l y   m e t h o d s   y o u   s h o u l d   u s e   t o   c h a n g e   a n   i n d i v i d u a l   o b j e c t   f i e l d :   U s e   k u b e c t l   a p p l y . W r i t e   d i r e c t l y   t o   t h e   l i v e   c o n f i g u r a t i o n   w i t h o u t   m o d i f y i n g   t h e   c o n f i g u r a t i o n   f i l e :   f o r   e x a m p l e ,   u s e   k u b e c t l   s c a l e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17226"
  },
  {
    "question": "What is Changing the owner from a direct imperative writer to a configuration file?",
    "answer": "A d d   t h e   f i e l d   t o   t h e   c o n f i g u r a t i o n   f i l e .   F o r   t h e   f i e l d ,   d i s c o n t i n u e   d i r e c t   u p d a t e s   t o   t h e   l i v e   c o n f i g u r a t i o n   t h a t   d o   n o t   g o   t h r o u g h   k u b e c t l   a p p l y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_3_17227"
  },
  {
    "question": "What is Changing the owner from a configuration file to a direct imperative writer?",
    "answer": "A s   o f   K u b e r n e t e s   1 . 5 ,   c h a n g i n g   o w n e r s h i p   o f   a   f i e l d   f r o m   a   c o n f i g u r a t i o n   f i l e   t o   a n   i m p e r a t i v e   w r i t e r   r e q u i r e s   m a n u a l   s t e p s :   R e m o v e   t h e   f i e l d   f r o m   t h e   c o n f i g u r a t i o n   f i l e . R e m o v e   t h e   f i e l d   f r o m   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   o n   t h e   l i v e   o b j e c t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_3_17228"
  },
  {
    "question": "What is Changing management methods?",
    "answer": "K u b e r n e t e s   o b j e c t s   s h o u l d   b e   m a n a g e d   u s i n g   o n l y   o n e   m e t h o d   a t   a   t i m e .   S w i t c h i n g   f r o m   o n e   m e t h o d   t o   a n o t h e r   i s   p o s s i b l e ,   b u t   i s   a   m a n u a l   p r o c e s s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17229"
  },
  {
    "question": "What is Migrating from imperative command management to declarative object configuration?",
    "answer": "M i g r a t i n g   f r o m   i m p e r a t i v e   c o m m a n d   m a n a g e m e n t   t o   d e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n   i n v o l v e s   s e v e r a l   m a n u a l   s t e p s :   E x p o r t   t h e   l i v e   o b j e c t   t o   a   l o c a l   c o n f i g u r a t i o n   f i l e : k u b e c t l   g e t   < k i n d > / < n a m e >   - o   y a m l   >   < k i n d > _ < n a m e > . y a m l   M a n u a l l y   r e m o v e   t h e   s t a t u s   f i e l d   f r o m   t h e   c o n f i g u r a t i o n   f i l e . N o t e : T h i s   s t e p   i s   o p t i o n a l ,   a s   k u b e c t l   a p p l y   d o e s   n o t   u p d a t e   t h e   s t a t u s   f i e l d   e v e n   i f   i t   i s   p r e s e n t   i n   t h e   c o n f i g u r a t i o n   f i l e . S e t   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   o n   t h e   o b j e c t : k u b e c t l   r e p l a c e   - - s a v e - c o n f i g   - f   < k i n d > _ < n a m e > . y a m l   C h a n g e   p r o c e s s e s   t o   u s e   k u b e c t l   a p p l y   f o r   m a n a g i n g   t h e   o b j e c t   e x c l u s i v e l y .   E x p o r t   t h e   l i v e   o b j e c t   t o   a   l o c a l   c o n f i g u r a t i o n   f i l e :   k u b e c t l   g e t   < k i n d > / < n a m e >   - o   y a m l   >   < k i n d > _ < n a m e > . y a m l   M a n u a l l y   r e m o v e   t h e   s t a t u s   f i e l d   f r o m   t h e   c o n f i g u r a t i o n   f i l e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_3_17230"
  },
  {
    "question": "What is Note:?",
    "answer": "S e t   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   o n   t h e   o b j e c t :   k u b e c t l   r e p l a c e   - - s a v e - c o n f i g   - f   < k i n d > _ < n a m e > . y a m l   C h a n g e   p r o c e s s e s   t o   u s e   k u b e c t l   a p p l y   f o r   m a n a g i n g   t h e   o b j e c t   e x c l u s i v e l y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_4_17231"
  },
  {
    "question": "What is Migrating from imperative object configuration to declarative object configuration?",
    "answer": "S e t   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   o n   t h e   o b j e c t : k u b e c t l   r e p l a c e   - - s a v e - c o n f i g   - f   < k i n d > _ < n a m e > . y a m l   C h a n g e   p r o c e s s e s   t o   u s e   k u b e c t l   a p p l y   f o r   m a n a g i n g   t h e   o b j e c t   e x c l u s i v e l y .   S e t   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   o n   t h e   o b j e c t :   k u b e c t l   r e p l a c e   - - s a v e - c o n f i g   - f   < k i n d > _ < n a m e > . y a m l   C h a n g e   p r o c e s s e s   t o   u s e   k u b e c t l   a p p l y   f o r   m a n a g i n g   t h e   o b j e c t   e x c l u s i v e l y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_3_17232"
  },
  {
    "question": "What is Warning:?",
    "answer": "T h e   r e c o m m e n d e d   a p p r o a c h   i s   t o   d e f i n e   a   s i n g l e ,   i m m u t a b l e   P o d T e m p l a t e   l a b e l   u s e d   o n l y   b y   t h e   c o n t r o l l e r   s e l e c t o r   w i t h   n o   o t h e r   s e m a n t i c   m e a n i n g .   E x a m p l e :   s e l e c t o r :   m a t c h L a b e l s :   c o n t r o l l e r - s e l e c t o r :   \" a p p s / v 1 / d e p l o y m e n t / n g i n x \"   t e m p l a t e :   m e t a d a t a :   l a b e l s :   c o n t r o l l e r - s e l e c t o r :   \" a p p s / v 1 / d e p l o y m e n t / n g i n x \"",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_4_17233"
  },
  {
    "question": "What is What's next?",
    "answer": "M a n a g i n g   K u b e r n e t e s   O b j e c t s   U s i n g   I m p e r a t i v e   C o m m a n d s I m p e r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s K u b e c t l   C o m m a n d   R e f e r e n c e K u b e r n e t e s   A P I   R e f e r e n c e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17234"
  },
  {
    "question": "What is 2 - Declarative Management of Kubernetes Objects Using Kustomize?",
    "answer": "K u s t o m i z e   i s   a   s t a n d a l o n e   t o o l   t o   c u s t o m i z e   K u b e r n e t e s   o b j e c t s   t h r o u g h   a   k u s t o m i z a t i o n   f i l e .   S i n c e   1 . 1 4 ,   k u b e c t l   a l s o   s u p p o r t s   t h e   m a n a g e m e n t   o f   K u b e r n e t e s   o b j e c t s   u s i n g   a   k u s t o m i z a t i o n   f i l e .   T o   v i e w   r e s o u r c e s   f o u n d   i n   a   d i r e c t o r y   c o n t a i n i n g   a   k u s t o m i z a t i o n   f i l e ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   k u s t o m i z e   < k u s t o m i z a t i o n _ d i r e c t o r y >   T o   a p p l y   t h o s e   r e s o u r c e s ,   r u n   k u b e c t l   a p p l y   w i t h   - - k u s t o m i z e   o r   - k   f l a g :   k u b e c t l   a p p l y   - k   < k u s t o m i z a t i o n _ d i r e c t o r y >",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_1_17235"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n s t a l l   k u b e c t l .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17236"
  },
  {
    "question": "What is Overview of Kustomize?",
    "answer": "K u s t o m i z e   i s   a   t o o l   f o r   c u s t o m i z i n g   K u b e r n e t e s   c o n f i g u r a t i o n s .   I t   h a s   t h e   f o l l o w i n g   f e a t u r e s   t o   m a n a g e   a p p l i c a t i o n   c o n f i g u r a t i o n   f i l e s :   g e n e r a t i n g   r e s o u r c e s   f r o m   o t h e r   s o u r c e s s e t t i n g   c r o s s - c u t t i n g   f i e l d s   f o r   r e s o u r c e s c o m p o s i n g   a n d   c u s t o m i z i n g   c o l l e c t i o n s   o f   r e s o u r c e s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17237"
  },
  {
    "question": "What is Generating Resources?",
    "answer": "C o n f i g M a p s   a n d   S e c r e t s   h o l d   c o n f i g u r a t i o n   o r   s e n s i t i v e   d a t a   t h a t   a r e   u s e d   b y   o t h e r   K u b e r n e t e s   o b j e c t s ,   s u c h   a s   P o d s .   T h e   s o u r c e   o f   t r u t h   o f   C o n f i g M a p s   o r   S e c r e t s   a r e   u s u a l l y   e x t e r n a l   t o   a   c l u s t e r ,   s u c h   a s   a   . p r o p e r t i e s   f i l e   o r   a n   S S H   k e y f i l e .   K u s t o m i z e   h a s   s e c r e t G e n e r a t o r   a n d   c o n f i g M a p G e n e r a t o r ,   w h i c h   g e n e r a t e   S e c r e t   a n d   C o n f i g M a p   f r o m   f i l e s   o r   l i t e r a l s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_3_17238"
  },
  {
    "question": "What is configMapGenerator?",
    "answer": "T o   g e n e r a t e   a   C o n f i g M a p   f r o m   a   f i l e ,   a d d   a n   e n t r y   t o   t h e   f i l e s   l i s t   i n   c o n f i g M a p G e n e r a t o r .   H e r e   i s   a n   e x a m p l e   o f   g e n e r a t i n g   a   C o n f i g M a p   w i t h   a   d a t a   i t e m   f r o m   a   . p r o p e r t i e s   f i l e :   #   C r e a t e   a   a p p l i c a t i o n . p r o p e r t i e s   f i l e   c a t   < < E O F   > a p p l i c a t i o n . p r o p e r t i e s   F O O = B a r   E O F   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   c o n f i g M a p G e n e r a t o r :   -   n a m e :   e x a m p l e - c o n f i g m a p - 1   f i l e s :   -   a p p l i c a t i o n . p r o p e r t i e s   E O F   T h e   g e n e r a t e d   C o n f i g M a p   c a n   b e   e x a m i n e d   w i t h   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   k u s t o m i z e   . /   T h e   g e n e r a t e d   C o n f i g M a p   i s :   a p i V e r s i o n :   v 1   d a t a :   a p p l i c a t i o n . p r o p e r t i e s :   |   F O O = B a r   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   e x a m p l e - c o n f i g m a p - 1 - 8 m b d f 7 8 8 2 g   T o   g e n e r a t e   a   C o n f i g M a p   f r o m   a n   e n v   f i l e ,   a d d   a n   e n t r y   t o   t h e   e n v s   l i s t   i n   c o n f i g M a p G e n e r a t o r .   H e r e   i s   a n   e x a m p l e   o f   g e n e r a t i n g   a   C o n f i g M a p   w i t h   a   d a t a   i t e m   f r o m   a   . e n v   f i l e :   #   C r e a t e   a   . e n v   f i l e   c a t   < < E O F   > . e n v   F O O = B a r   E O F   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   c o n f i g M a p G e n e r a t o r :   -   n a m e :   e x a m p l e - c o n f i g m a p - 1   e n v s :   -   . e n v   E O F   T h e   g e n e r a t e d   C o n f i g M a p   c a n   b e   e x a m i n e d   w i t h   t h e   f o l l o w i n g   c o m m a n ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_4_17239"
  },
  {
    "question": "What is Note:?",
    "answer": "C o n f i g M a p s   c a n   a l s o   b e   g e n e r a t e d   f r o m   l i t e r a l   k e y - v a l u e   p a i r s .   T o   g e n e r a t e   a   C o n f i g M a p   f r o m   a   l i t e r a l   k e y - v a l u e   p a i r ,   a d d   a n   e n t r y   t o   t h e   l i t e r a l s   l i s t   i n   c o n f i g M a p G e n e r a t o r .   H e r e   i s   a n   e x a m p l e   o f   g e n e r a t i n g   a   C o n f i g M a p   w i t h   a   d a t a   i t e m   f r o m   a   k e y - v a l u e   p a i r :   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   c o n f i g M a p G e n e r a t o r :   -   n a m e :   e x a m p l e - c o n f i g m a p - 2   l i t e r a l s :   -   F O O = B a r   E O F   T h e   g e n e r a t e d   C o n f i g M a p   c a n   b e   c h e c k e d   b y   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   k u s t o m i z e   . /   T h e   g e n e r a t e d   C o n f i g M a p   i s :   a p i V e r s i o n :   v 1   d a t a :   F O O :   B a r   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   e x a m p l e - c o n f i g m a p - 2 - g 2 h d h f c 6 t k   T o   u s e   a   g e n e r a t e d   C o n f i g M a p   i n   a   D e p l o y m e n t ,   r e f e r e n c e   i t   b y   t h e   n a m e   o f   t h e   c o n f i g M a p G e n e r a t o r .   K u s t o m i z e   w i l l   a u t o m a t i c a l l y   r e p l a c e   t h i s   n a m e   w i t h   t h e   g e n e r a t e d   n a m e .   T h i s   i s   a n   e x a m p l e   d e p l o y m e n t   t h a t   u s e s   a   g e n e r a t e d   C o n f i g M a p :   #   C r e a t e   a n   a p p l i c a t i o n . p r o p e r t i e s   f i l e   c a t   < < E O F   > a p p l i c a t i o n . p r o p e r t i e s   F O O = B a r   E O F   c a t   < < E O F   > d e p l o y m e n t . y a m l   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   m y - a p p   l a b e l s :   a p p :   m y - a p p   s p e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_4_17240"
  },
  {
    "question": "What is secretGenerator?",
    "answer": "Y o u   c a n   g e n e r a t e   S e c r e t s   f r o m   f i l e s   o r   l i t e r a l   k e y - v a l u e   p a i r s .   T o   g e n e r a t e   a   S e c r e t   f r o m   a   f i l e ,   a d d   a n   e n t r y   t o   t h e   f i l e s   l i s t   i n   s e c r e t G e n e r a t o r .   H e r e   i s   a n   e x a m p l e   o f   g e n e r a t i n g   a   S e c r e t   w i t h   a   d a t a   i t e m   f r o m   a   f i l e :   #   C r e a t e   a   p a s s w o r d . t x t   f i l e   c a t   < < E O F   > . / p a s s w o r d . t x t   u s e r n a m e = a d m i n   p a s s w o r d = s e c r e t   E O F   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   s e c r e t G e n e r a t o r :   -   n a m e :   e x a m p l e - s e c r e t - 1   f i l e s :   -   p a s s w o r d . t x t   E O F   T h e   g e n e r a t e d   S e c r e t   i s   a s   f o l l o w s :   a p i V e r s i o n :   v 1   d a t a :   p a s s w o r d . t x t :   d X N l c m 5 h b W U 9 Y W R t a W 4 K c G F z c 3 d v c m Q 9 c 2 V j c m V 0 C g = =   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   e x a m p l e - s e c r e t - 1 - t 2 k t 6 5 h g t b   t y p e :   O p a q u e   T o   g e n e r a t e   a   S e c r e t   f r o m   a   l i t e r a l   k e y - v a l u e   p a i r ,   a d d   a n   e n t r y   t o   l i t e r a l s   l i s t   i n   s e c r e t G e n e r a t o r .   H e r e   i s   a n   e x a m p l e   o f   g e n e r a t i n g   a   S e c r e t   w i t h   a   d a t a   i t e m   f r o m   a   k e y - v a l u e   p a i r :   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   s e c r e t G e n e r a t o r :   -   n a m e :   e x a m p l e - s e c r e t - 2   l i t e r a l s :   -   u s e r n a m e = a d m i n   -   p a s s w o r d = s e c r e t   E O F   T h e   g e n e r a t e d   S e c r e t   i s   a s   f o l l o w s :   a p i V e r s i o n :   v 1   d a t a :   p a s s w o r d :   c 2 V j c m V 0   u s e r n a m e :   Y W R t a W 4 =   k ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_4_17241"
  },
  {
    "question": "What is generatorOptions?",
    "answer": "T h e   g e n e r a t e d   C o n f i g M a p s   a n d   S e c r e t s   h a v e   a   c o n t e n t   h a s h   s u f f i x   a p p e n d e d .   T h i s   e n s u r e s   t h a t   a   n e w   C o n f i g M a p   o r   S e c r e t   i s   g e n e r a t e d   w h e n   t h e   c o n t e n t s   a r e   c h a n g e d .   T o   d i s a b l e   t h e   b e h a v i o r   o f   a p p e n d i n g   a   s u f f i x ,   o n e   c a n   u s e   g e n e r a t o r O p t i o n s .   B e s i d e s   t h a t ,   i t   i s   a l s o   p o s s i b l e   t o   s p e c i f y   c r o s s - c u t t i n g   o p t i o n s   f o r   g e n e r a t e d   C o n f i g M a p s   a n d   S e c r e t s .   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   c o n f i g M a p G e n e r a t o r :   -   n a m e :   e x a m p l e - c o n f i g m a p - 3   l i t e r a l s :   -   F O O = B a r   g e n e r a t o r O p t i o n s :   d i s a b l e N a m e S u f f i x H a s h :   t r u e   l a b e l s :   t y p e :   g e n e r a t e d   a n n o t a t i o n s :   n o t e :   g e n e r a t e d   E O F   R u n k u b e c t l   k u s t o m i z e   . /   t o   v i e w   t h e   g e n e r a t e d   C o n f i g M a p :   a p i V e r s i o n :   v 1   d a t a :   F O O :   B a r   k i n d :   C o n f i g M a p   m e t a d a t a :   a n n o t a t i o n s :   n o t e :   g e n e r a t e d   l a b e l s :   t y p e :   g e n e r a t e d   n a m e :   e x a m p l e - c o n f i g m a p - 3",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_4_17242"
  },
  {
    "question": "What is Setting cross-cutting fields?",
    "answer": "I t   i s   q u i t e   c o m m o n   t o   s e t   c r o s s - c u t t i n g   f i e l d s   f o r   a l l   K u b e r n e t e s   r e s o u r c e s   i n   a   p r o j e c t .   S o m e   u s e   c a s e s   f o r   s e t t i n g   c r o s s - c u t t i n g   f i e l d s :   s e t t i n g   t h e   s a m e   n a m e s p a c e   f o r   a l l   r e s o u r c e s a d d i n g   t h e   s a m e   n a m e   p r e f i x   o r   s u f f i x a d d i n g   t h e   s a m e   s e t   o f   l a b e l s a d d i n g   t h e   s a m e   s e t   o f   a n n o t a t i o n s   H e r e   i s   a n   e x a m p l e :   #   C r e a t e   a   d e p l o y m e n t . y a m l   c a t   < < E O F   > . / d e p l o y m e n t . y a m l   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   l a b e l s :   a p p :   n g i n x   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   E O F   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   n a m e s p a c e :   m y - n a m e s p a c e   n a m e P r e f i x :   d e v -   n a m e S u f f i x :   \" - 0 0 1 \"   l a b e l s :   -   p a i r s :   a p p :   b i n g o   i n c l u d e S e l e c t o r s :   t r u e   c o m m o n A n n o t a t i o n s :   o n c a l l P a g e r :   8 0 0 - 5 5 5 - 1 2 1 2   r e s o u r c e s :   -   d e p l o y m e n t . y a m l   E O F   R u n   k u b e c t l   k u s t o m i z e   . /   t o   v i e w   t h o s e   f i e l d s   a r e   a l l   s e t   i n   t h e   D e p l o y m e n t   R e s o u r c e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   a n n o t a t i o n s :   o n c a l l P a g e r :   8 0 0 - 5 5 5 - 1 2 1 2   l a b e l s :   a p p :   b i n g o   n a m e :   d e v - n ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_3_17243"
  },
  {
    "question": "What is Composing and Customizing Resources?",
    "answer": "I t   i s   c o m m o n   t o   c o m p o s e   a   s e t   o f   r e s o u r c e s   i n   a   p r o j e c t   a n d   m a n a g e   t h e m   i n s i d e   t h e   s a m e   f i l e   o r   d i r e c t o r y .   K u s t o m i z e   o f f e r s   c o m p o s i n g   r e s o u r c e s   f r o m   d i f f e r e n t   f i l e s   a n d   a p p l y i n g   p a t c h e s   o r   o t h e r   c u s t o m i z a t i o n   t o   t h e m .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_3_17244"
  },
  {
    "question": "What is Composing?",
    "answer": "K u s t o m i z e   s u p p o r t s   c o m p o s i t i o n   o f   d i f f e r e n t   r e s o u r c e s .   T h e   r e s o u r c e s   f i e l d ,   i n   t h e   k u s t o m i z a t i o n . y a m l   f i l e ,   d e f i n e s   t h e   l i s t   o f   r e s o u r c e s   t o   i n c l u d e   i n   a   c o n f i g u r a t i o n .   S e t   t h e   p a t h   t o   a   r e s o u r c e ' s   c o n f i g u r a t i o n   f i l e   i n   t h e   r e s o u r c e s   l i s t .   H e r e   i s   a n   e x a m p l e   o f   a n   N G I N X   a p p l i c a t i o n   c o m p r i s e d   o f   a   D e p l o y m e n t   a n d   a   S e r v i c e :   #   C r e a t e   a   d e p l o y m e n t . y a m l   f i l e   c a t   < < E O F   >   d e p l o y m e n t . y a m l   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   m y - n g i n x   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   r u n :   m y - n g i n x   r e p l i c a s :   2   t e m p l a t e :   m e t a d a t a :   l a b e l s :   r u n :   m y - n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   m y - n g i n x   i m a g e :   n g i n x   p o r t s :   -   c o n t a i n e r P o r t :   8 0   E O F   #   C r e a t e   a   s e r v i c e . y a m l   f i l e   c a t   < < E O F   >   s e r v i c e . y a m l   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - n g i n x   l a b e l s :   r u n :   m y - n g i n x   s p e c :   p o r t s :   -   p o r t :   8 0   p r o t o c o l :   T C P   s e l e c t o r :   r u n :   m y - n g i n x   E O F   #   C r e a t e   a   k u s t o m i z a t i o n . y a m l   c o m p o s i n g   t h e m   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   r e s o u r c e s :   -   d e p l o y m e n t . y a m l   -   s e r v i c e . y a m l   E O F   T h e   r e s o u r c e s   f r o m   k u b e c t l   k u s t o m i z e   . /   c o n t a i n   b o t h   t h e   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_4_17245"
  },
  {
    "question": "What is Customizing?",
    "answer": "P a t c h e s   c a n   b e   u s e d   t o   a p p l y   d i f f e r e n t   c u s t o m i z a t i o n s   t o   r e s o u r c e s .   K u s t o m i z e   s u p p o r t s   d i f f e r e n t   p a t c h i n g   m e c h a n i s m s   t h r o u g h   S t r a t e g i c M e r g e   a n d   J s o n 6 9 0 2   u s i n g   t h e   p a t c h e s   f i e l d .   p a t c h e s   m a y   b e   a   f i l e   o r   a n   i n l i n e   s t r i n g ,   t a r g e t i n g   a   s i n g l e   o r   m u l t i p l e   r e s o u r c e s .   T h e   p a t c h e s   f i e l d   c o n t a i n s   a   l i s t   o f   p a t c h e s   a p p l i e d   i n   t h e   o r d e r   t h e y   a r e   s p e c i f i e d .   T h e   p a t c h   t a r g e t   s e l e c t s   r e s o u r c e s   b y   g r o u p ,   v e r s i o n ,   k i n d ,   n a m e ,   n a m e s p a c e ,   l a b e l S e l e c t o r   a n d   a n n o t a t i o n S e l e c t o r .   S m a l l   p a t c h e s   t h a t   d o   o n e   t h i n g   a r e   r e c o m m e n d e d .   F o r   e x a m p l e ,   c r e a t e   o n e   p a t c h   f o r   i n c r e a s i n g   t h e   d e p l o y m e n t   r e p l i c a   n u m b e r   a n d   a n o t h e r   p a t c h   f o r   s e t t i n g   t h e   m e m o r y   l i m i t .   T h e   t a r g e t   r e s o u r c e   i s   m a t c h e d   u s i n g   g r o u p ,   v e r s i o n ,   k i n d ,   a n d   n a m e   f i e l d s   f r o m   t h e   p a t c h   f i l e .   #   C r e a t e   a   d e p l o y m e n t . y a m l   f i l e   c a t   < < E O F   >   d e p l o y m e n t . y a m l   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   m y - n g i n x   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   r u n :   m y - n g i n x   r e p l i c a s :   2   t e m p l a t e :   m e t a d a t a :   l a b e l s :   r u n :   m y - n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   m y - n g i n x   i m a g e :   n g i n x   p ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_4_17246"
  },
  {
    "question": "What is Bases and Overlays?",
    "answer": "K u s t o m i z e   h a s   t h e   c o n c e p t s   o f   b a s e s   a n d   o v e r l a y s .   A   b a s e   i s   a   d i r e c t o r y   w i t h   a   k u s t o m i z a t i o n . y a m l ,   w h i c h   c o n t a i n s   a   s e t   o f   r e s o u r c e s   a n d   a s s o c i a t e d   c u s t o m i z a t i o n .   A   b a s e   c o u l d   b e   e i t h e r   a   l o c a l   d i r e c t o r y   o r   a   d i r e c t o r y   f r o m   a   r e m o t e   r e p o ,   a s   l o n g   a s   a   k u s t o m i z a t i o n . y a m l   i s   p r e s e n t   i n s i d e .   A n   o v e r l a y   i s   a   d i r e c t o r y   w i t h   a   k u s t o m i z a t i o n . y a m l   t h a t   r e f e r s   t o   o t h e r   k u s t o m i z a t i o n   d i r e c t o r i e s   a s   i t s   b a s e s .   A   b a s e   h a s   n o   k n o w l e d g e   o f   a n   o v e r l a y   a n d   c a n   b e   u s e d   i n   m u l t i p l e   o v e r l a y s .   T h e   k u s t o m i z a t i o n . y a m l   i n   a n   o v e r l a y   d i r e c t o r y   m a y   r e f e r   t o   m u l t i p l e   b a s e s ,   c o m b i n i n g   a l l   t h e   r e s o u r c e s   d e f i n e d   i n   t h e s e   b a s e s   i n t o   a   u n i f i e d   c o n f i g u r a t i o n .   A d d i t i o n a l l y ,   i t   c a n   a p p l y   c u s t o m i z a t i o n s   o n   t o p   o f   t h e s e   r e s o u r c e s   t o   m e e t   s p e c i f i c   r e q u i r e m e n t s .   H e r e   i s   a n   e x a m p l e   o f   a   b a s e :   #   C r e a t e   a   d i r e c t o r y   t o   h o l d   t h e   b a s e   m k d i r   b a s e   #   C r e a t e   a   b a s e / d e p l o y m e n t . y a m l   c a t   < < E O F   >   b a s e / d e p l o y m e n t . y a m l   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   m y - n g i n x   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   r u n :   m y - n g i n x   r e p l i c a s :   2   t e m p ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17247"
  },
  {
    "question": "What is How to apply/view/delete objects using Kustomize?",
    "answer": "U s e   - - k u s t o m i z e   o r   - k   i n   k u b e c t l   c o m m a n d s   t o   r e c o g n i z e   r e s o u r c e s   m a n a g e d   b y   k u s t o m i z a t i o n . y a m l .   N o t e   t h a t   - k   s h o u l d   p o i n t   t o   a   k u s t o m i z a t i o n   d i r e c t o r y ,   s u c h   a s   k u b e c t l   a p p l y   - k   < k u s t o m i z a t i o n   d i r e c t o r y > /   G i v e n   t h e   f o l l o w i n g   k u s t o m i z a t i o n . y a m l ,   #   C r e a t e   a   d e p l o y m e n t . y a m l   f i l e   c a t   < < E O F   >   d e p l o y m e n t . y a m l   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   m y - n g i n x   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   r u n :   m y - n g i n x   r e p l i c a s :   2   t e m p l a t e :   m e t a d a t a :   l a b e l s :   r u n :   m y - n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   m y - n g i n x   i m a g e :   n g i n x   p o r t s :   -   c o n t a i n e r P o r t :   8 0   E O F   #   C r e a t e   a   k u s t o m i z a t i o n . y a m l   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   n a m e P r e f i x :   d e v -   l a b e l s :   -   p a i r s :   a p p :   m y - n g i n x   i n c l u d e S e l e c t o r s :   t r u e   r e s o u r c e s :   -   d e p l o y m e n t . y a m l   E O F   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   a p p l y   t h e   D e p l o y m e n t   o b j e c t   d e v - m y - n g i n x :   >   k u b e c t l   a p p l y   - k   . /   d e p l o y m e n t . a p p s / d e v - m y - n g i n x   c r e a t e d   R u n   o n e   o f   t h e   f o l l o w i n g   c o m m a n d s   t o   v i e w   t h e   D e p l o y m e n t   o b j e c t   d e v - m y - n g i n x :   k u b e c t l   g e t   - k   . /   k u b e c t l   d e s c r i b e   - k   . /   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   c o m p a r e   t h e   D e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17248"
  },
  {
    "question": "What is What's next?",
    "answer": "K u s t o m i z e K u b e c t l   B o o k K u b e c t l   C o m m a n d   R e f e r e n c e K u b e r n e t e s   A P I   R e f e r e n c e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17249"
  },
  {
    "question": "What is 3 - Managing Kubernetes Objects Using Imperative Commands?",
    "answer": "K u b e r n e t e s   o b j e c t s   c a n   q u i c k l y   b e   c r e a t e d ,   u p d a t e d ,   a n d   d e l e t e d   d i r e c t l y   u s i n g   i m p e r a t i v e   c o m m a n d s   b u i l t   i n t o   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l .   T h i s   d o c u m e n t   e x p l a i n s   h o w   t h o s e   c o m m a n d s   a r e   o r g a n i z e d   a n d   h o w   t o   u s e   t h e m   t o   m a n a g e   l i v e   o b j e c t s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_1_17250"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n s t a l l   k u b e c t l .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17251"
  },
  {
    "question": "What is Trade-offs?",
    "answer": "T h e   k u b e c t l   t o o l   s u p p o r t s   t h r e e   k i n d s   o f   o b j e c t   m a n a g e m e n t :   I m p e r a t i v e   c o m m a n d s I m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n D e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n   S e e   K u b e r n e t e s   O b j e c t   M a n a g e m e n t   f o r   a   d i s c u s s i o n   o f   t h e   a d v a n t a g e s   a n d   d i s a d v a n t a g e   o f   e a c h   k i n d   o f   o b j e c t   m a n a g e m e n t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17252"
  },
  {
    "question": "What is How to create objects?",
    "answer": "T h e   k u b e c t l   t o o l   s u p p o r t s   v e r b - d r i v e n   c o m m a n d s   f o r   c r e a t i n g   s o m e   o f   t h e   m o s t   c o m m o n   o b j e c t   t y p e s .   T h e   c o m m a n d s   a r e   n a m e d   t o   b e   r e c o g n i z a b l e   t o   u s e r s   u n f a m i l i a r   w i t h   t h e   K u b e r n e t e s   o b j e c t   t y p e s .   r u n :   C r e a t e   a   n e w   P o d   t o   r u n   a   C o n t a i n e r . e x p o s e :   C r e a t e   a   n e w   S e r v i c e   o b j e c t   t o   l o a d   b a l a n c e   t r a f f i c   a c r o s s   P o d s . a u t o s c a l e :   C r e a t e   a   n e w   A u t o s c a l e r   o b j e c t   t o   a u t o m a t i c a l l y   h o r i z o n t a l l y   s c a l e   a   c o n t r o l l e r ,   s u c h   a s   a   D e p l o y m e n t .   T h e   k u b e c t l   t o o l   a l s o   s u p p o r t s   c r e a t i o n   c o m m a n d s   d r i v e n   b y   o b j e c t   t y p e .   T h e s e   c o m m a n d s   s u p p o r t   m o r e   o b j e c t   t y p e s   a n d   a r e   m o r e   e x p l i c i t   a b o u t   t h e i r   i n t e n t ,   b u t   r e q u i r e   u s e r s   t o   k n o w   t h e   t y p e   o f   o b j e c t s   t h e y   i n t e n d   t o   c r e a t e .   c r e a t e   < o b j e c t t y p e >   [ < s u b t y p e > ]   < i n s t a n c e n a m e >   S o m e   o b j e c t s   t y p e s   h a v e   s u b t y p e s   t h a t   y o u   c a n   s p e c i f y   i n   t h e   c r e a t e   c o m m a n d .   F o r   e x a m p l e ,   t h e   S e r v i c e   o b j e c t   h a s   s e v e r a l   s u b t y p e s   i n c l u d i n g   C l u s t e r I P ,   L o a d B a l a n c e r ,   a n d   N o d e P o r t .   H e r e ' s   a n   e x a m p l e   t h a t   c r e a t e s   a   S e r v i c e   w i t h   s u b t y p e   N o d e P o r t :   k u b e c t l   c r e a t e   s e r v i c e   n o d e p o r t   < m y s e r v i c e n a m e >   I n   t h e   p r e c e d i n g   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17253"
  },
  {
    "question": "What is How to update objects?",
    "answer": "T h e   k u b e c t l   c o m m a n d   s u p p o r t s   v e r b - d r i v e n   c o m m a n d s   f o r   s o m e   c o m m o n   u p d a t e   o p e r a t i o n s .   T h e s e   c o m m a n d s   a r e   n a m e d   t o   e n a b l e   u s e r s   u n f a m i l i a r   w i t h   K u b e r n e t e s   o b j e c t s   t o   p e r f o r m   u p d a t e s   w i t h o u t   k n o w i n g   t h e   s p e c i f i c   f i e l d s   t h a t   m u s t   b e   s e t :   s c a l e :   H o r i z o n t a l l y   s c a l e   a   c o n t r o l l e r   t o   a d d   o r   r e m o v e   P o d s   b y   u p d a t i n g   t h e   r e p l i c a   c o u n t   o f   t h e   c o n t r o l l e r . a n n o t a t e :   A d d   o r   r e m o v e   a n   a n n o t a t i o n   f r o m   a n   o b j e c t . l a b e l :   A d d   o r   r e m o v e   a   l a b e l   f r o m   a n   o b j e c t .   T h e   k u b e c t l   c o m m a n d   a l s o   s u p p o r t s   u p d a t e   c o m m a n d s   d r i v e n   b y   a n   a s p e c t   o f   t h e   o b j e c t .   S e t t i n g   t h i s   a s p e c t   m a y   s e t   d i f f e r e n t   f i e l d s   f o r   d i f f e r e n t   o b j e c t   t y p e s :   s e t   < f i e l d > :   S e t   a n   a s p e c t   o f   a n   o b j e c t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17254"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   k u b e c t l   t o o l   s u p p o r t s   t h e s e   a d d i t i o n a l   w a y s   t o   u p d a t e   a   l i v e   o b j e c t   d i r e c t l y ,   h o w e v e r   t h e y   r e q u i r e   a   b e t t e r   u n d e r s t a n d i n g   o f   t h e   K u b e r n e t e s   o b j e c t   s c h e m a .   e d i t :   D i r e c t l y   e d i t   t h e   r a w   c o n f i g u r a t i o n   o f   a   l i v e   o b j e c t   b y   o p e n i n g   i t s   c o n f i g u r a t i o n   i n   a n   e d i t o r . p a t c h :   D i r e c t l y   m o d i f y   s p e c i f i c   f i e l d s   o f   a   l i v e   o b j e c t   b y   u s i n g   a   p a t c h   s t r i n g .   F o r   m o r e   d e t a i l s   o n   p a t c h   s t r i n g s ,   s e e   t h e   p a t c h   s e c t i o n   i n   A P I   C o n v e n t i o n s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_4_17255"
  },
  {
    "question": "What is How to delete objects?",
    "answer": "Y o u   c a n   u s e   t h e   d e l e t e   c o m m a n d   t o   d e l e t e   a n   o b j e c t   f r o m   a   c l u s t e r :   d e l e t e   < t y p e > / < n a m e >",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17256"
  },
  {
    "question": "What is Note:?",
    "answer": "k u b e c t l   d e l e t e   d e p l o y m e n t / n g i n x",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_4_17257"
  },
  {
    "question": "What is How to view an object?",
    "answer": "T h e r e   a r e   s e v e r a l   c o m m a n d s   f o r   p r i n t i n g   i n f o r m a t i o n   a b o u t   a n   o b j e c t :   g e t :   P r i n t s   b a s i c   i n f o r m a t i o n   a b o u t   m a t c h i n g   o b j e c t s .   U s e   g e t   - h   t o   s e e   a   l i s t   o f   o p t i o n s . d e s c r i b e :   P r i n t s   a g g r e g a t e d   d e t a i l e d   i n f o r m a t i o n   a b o u t   m a t c h i n g   o b j e c t s . l o g s :   P r i n t s   t h e   s t d o u t   a n d   s t d e r r   f o r   a   c o n t a i n e r   r u n n i n g   i n   a   P o d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17258"
  },
  {
    "question": "What is Using set commands to modify objects before creation?",
    "answer": "T h e r e   a r e   s o m e   o b j e c t   f i e l d s   t h a t   d o n ' t   h a v e   a   f l a g   y o u   c a n   u s e   i n   a   c r e a t e   c o m m a n d .   I n   s o m e   o f   t h o s e   c a s e s ,   y o u   c a n   u s e   a   c o m b i n a t i o n   o f   s e t   a n d   c r e a t e   t o   s p e c i f y   a   v a l u e   f o r   t h e   f i e l d   b e f o r e   o b j e c t   c r e a t i o n .   T h i s   i s   d o n e   b y   p i p i n g   t h e   o u t p u t   o f   t h e   c r e a t e   c o m m a n d   t o   t h e   s e t   c o m m a n d ,   a n d   t h e n   b a c k   t o   t h e   c r e a t e   c o m m a n d .   H e r e ' s   a n   e x a m p l e :   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   m y - s v c   - - c l u s t e r i p = \" N o n e \"   - o   y a m l   - - d r y - r u n = c l i e n t   |   k u b e c t l   s e t   s e l e c t o r   - - l o c a l   - f   -   ' e n v i r o n m e n t = q a '   - o   y a m l   |   k u b e c t l   c r e a t e   - f   -   T h e   k u b e c t l   c r e a t e   s e r v i c e   - o   y a m l   - - d r y - r u n = c l i e n t   c o m m a n d   c r e a t e s   t h e   c o n f i g u r a t i o n   f o r   t h e   S e r v i c e ,   b u t   p r i n t s   i t   t o   s t d o u t   a s   Y A M L   i n s t e a d   o f   s e n d i n g   i t   t o   t h e   K u b e r n e t e s   A P I   s e r v e r . T h e   k u b e c t l   s e t   s e l e c t o r   - - l o c a l   - f   -   - o   y a m l   c o m m a n d   r e a d s   t h e   c o n f i g u r a t i o n   f r o m   s t d i n ,   a n d   w r i t e s   t h e   u p d a t e d   c o n f i g u r a t i o n   t o   s t d o u t   a s   Y A M L . T h e   k u b e c t l   c r e a t e   - f   -   c o m m a n d   c r e a t e s   t h e   o b j e c t   u s i n g   t h e   c o n f i g u r a t i o n   p r o v i d e d   v i a   s t d i n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17259"
  },
  {
    "question": "What is Using --edit to modify objects before creation?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   c r e a t e   - - e d i t   t o   m a k e   a r b i t r a r y   c h a n g e s   t o   a n   o b j e c t   b e f o r e   i t   i s   c r e a t e d .   H e r e ' s   a n   e x a m p l e :   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   m y - s v c   - - c l u s t e r i p = \" N o n e \"   - o   y a m l   - - d r y - r u n = c l i e n t   >   / t m p / s r v . y a m l   k u b e c t l   c r e a t e   - - e d i t   - f   / t m p / s r v . y a m l   T h e   k u b e c t l   c r e a t e   s e r v i c e   c o m m a n d   c r e a t e s   t h e   c o n f i g u r a t i o n   f o r   t h e   S e r v i c e   a n d   s a v e s   i t   t o   / t m p / s r v . y a m l . T h e   k u b e c t l   c r e a t e   - - e d i t   c o m m a n d   o p e n s   t h e   c o n f i g u r a t i o n   f i l e   f o r   e d i t i n g   b e f o r e   i t   c r e a t e s   t h e   o b j e c t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17260"
  },
  {
    "question": "What is What's next?",
    "answer": "I m p e r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s D e c l a r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s K u b e c t l   C o m m a n d   R e f e r e n c e K u b e r n e t e s   A P I   R e f e r e n c e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17261"
  },
  {
    "question": "What is 4 - Imperative Management of Kubernetes Objects Using Configuration Files?",
    "answer": "K u b e r n e t e s   o b j e c t s   c a n   b e   c r e a t e d ,   u p d a t e d ,   a n d   d e l e t e d   b y   u s i n g   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   a l o n g   w i t h   a n   o b j e c t   c o n f i g u r a t i o n   f i l e   w r i t t e n   i n   Y A M L   o r   J S O N .   T h i s   d o c u m e n t   e x p l a i n s   h o w   t o   d e f i n e   a n d   m a n a g e   o b j e c t s   u s i n g   c o n f i g u r a t i o n   f i l e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_1_17262"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n s t a l l   k u b e c t l .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17263"
  },
  {
    "question": "What is Trade-offs?",
    "answer": "T h e   k u b e c t l   t o o l   s u p p o r t s   t h r e e   k i n d s   o f   o b j e c t   m a n a g e m e n t :   I m p e r a t i v e   c o m m a n d s I m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n D e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n   S e e   K u b e r n e t e s   O b j e c t   M a n a g e m e n t   f o r   a   d i s c u s s i o n   o f   t h e   a d v a n t a g e s   a n d   d i s a d v a n t a g e   o f   e a c h   k i n d   o f   o b j e c t   m a n a g e m e n t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17264"
  },
  {
    "question": "What is How to create objects?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   c r e a t e   - f   t o   c r e a t e   a n   o b j e c t   f r o m   a   c o n f i g u r a t i o n   f i l e .   R e f e r   t o   t h e   k u b e r n e t e s   A P I   r e f e r e n c e   f o r   d e t a i l s .   k u b e c t l   c r e a t e   - f   < f i l e n a m e | u r l >",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17265"
  },
  {
    "question": "What is Warning:?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   r e p l a c e   - f   t o   u p d a t e   a   l i v e   o b j e c t   a c c o r d i n g   t o   a   c o n f i g u r a t i o n   f i l e .   k u b e c t l   r e p l a c e   - f   < f i l e n a m e | u r l >",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_4_17266"
  },
  {
    "question": "What is How to delete objects?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   d e l e t e   - f   t o   d e l e t e   a n   o b j e c t   t h a t   i s   d e s c r i b e d   i n   a   c o n f i g u r a t i o n   f i l e .   k u b e c t l   d e l e t e   - f   < f i l e n a m e | u r l >",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17267"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   c o n f i g u r a t i o n   f i l e   h a s   s p e c i f i e d   t h e   g e n e r a t e N a m e   f i e l d   i n   t h e   m e t a d a t a   s e c t i o n   i n s t e a d   o f   t h e   n a m e   f i e l d ,   y o u   c a n n o t   d e l e t e   t h e   o b j e c t   u s i n g   k u b e c t l   d e l e t e   - f   < f i l e n a m e | u r l > .   Y o u   w i l l   h a v e   t o   u s e   o t h e r   f l a g s   f o r   d e l e t i n g   t h e   o b j e c t .   F o r   e x a m p l e :   k u b e c t l   d e l e t e   < t y p e >   < n a m e >   k u b e c t l   d e l e t e   < t y p e >   - l   < l a b e l >",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_4_17268"
  },
  {
    "question": "What is How to view an object?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   g e t   - f   t o   v i e w   i n f o r m a t i o n   a b o u t   a n   o b j e c t   t h a t   i s   d e s c r i b e d   i n   a   c o n f i g u r a t i o n   f i l e .   k u b e c t l   g e t   - f   < f i l e n a m e | u r l >   - o   y a m l   T h e   - o   y a m l   f l a g   s p e c i f i e s   t h a t   t h e   f u l l   o b j e c t   c o n f i g u r a t i o n   i s   p r i n t e d .   U s e   k u b e c t l   g e t   - h   t o   s e e   a   l i s t   o f   o p t i o n s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17269"
  },
  {
    "question": "What is Limitations?",
    "answer": "T h e   c r e a t e ,   r e p l a c e ,   a n d   d e l e t e   c o m m a n d s   w o r k   w e l l   w h e n   e a c h   o b j e c t ' s   c o n f i g u r a t i o n   i s   f u l l y   d e f i n e d   a n d   r e c o r d e d   i n   i t s   c o n f i g u r a t i o n   f i l e .   H o w e v e r   w h e n   a   l i v e   o b j e c t   i s   u p d a t e d ,   a n d   t h e   u p d a t e s   a r e   n o t   m e r g e d   i n t o   i t s   c o n f i g u r a t i o n   f i l e ,   t h e   u p d a t e s   w i l l   b e   l o s t   t h e   n e x t   t i m e   a   r e p l a c e   i s   e x e c u t e d .   T h i s   c a n   h a p p e n   i f   a   c o n t r o l l e r ,   s u c h   a s   a   H o r i z o n t a l P o d A u t o s c a l e r ,   m a k e s   u p d a t e s   d i r e c t l y   t o   a   l i v e   o b j e c t .   H e r e ' s   a n   e x a m p l e :   Y o u   c r e a t e   a n   o b j e c t   f r o m   a   c o n f i g u r a t i o n   f i l e . A n o t h e r   s o u r c e   u p d a t e s   t h e   o b j e c t   b y   c h a n g i n g   s o m e   f i e l d . Y o u   r e p l a c e   t h e   o b j e c t   f r o m   t h e   c o n f i g u r a t i o n   f i l e .   C h a n g e s   m a d e   b y   t h e   o t h e r   s o u r c e   i n   s t e p   2   a r e   l o s t .   I f   y o u   n e e d   t o   s u p p o r t   m u l t i p l e   w r i t e r s   t o   t h e   s a m e   o b j e c t ,   y o u   c a n   u s e   k u b e c t l   a p p l y   t o   m a n a g e   t h e   o b j e c t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17270"
  },
  {
    "question": "What is Creating and editing an object from a URL without saving the configuration?",
    "answer": "S u p p o s e   y o u   h a v e   t h e   U R L   o f   a n   o b j e c t   c o n f i g u r a t i o n   f i l e .   Y o u   c a n   u s e   k u b e c t l   c r e a t e   - - e d i t   t o   m a k e   c h a n g e s   t o   t h e   c o n f i g u r a t i o n   b e f o r e   t h e   o b j e c t   i s   c r e a t e d .   T h i s   i s   p a r t i c u l a r l y   u s e f u l   f o r   t u t o r i a l s   a n d   t a s k s   t h a t   p o i n t   t o   a   c o n f i g u r a t i o n   f i l e   t h a t   c o u l d   b e   m o d i f i e d   b y   t h e   r e a d e r .   k u b e c t l   c r e a t e   - f   < u r l >   - - e d i t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17271"
  },
  {
    "question": "What is Migrating from imperative commands to imperative object configuration?",
    "answer": "M i g r a t i n g   f r o m   i m p e r a t i v e   c o m m a n d s   t o   i m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n   i n v o l v e s   s e v e r a l   m a n u a l   s t e p s .   E x p o r t   t h e   l i v e   o b j e c t   t o   a   l o c a l   o b j e c t   c o n f i g u r a t i o n   f i l e : k u b e c t l   g e t   < k i n d > / < n a m e >   - o   y a m l   >   < k i n d > _ < n a m e > . y a m l   M a n u a l l y   r e m o v e   t h e   s t a t u s   f i e l d   f r o m   t h e   o b j e c t   c o n f i g u r a t i o n   f i l e . F o r   s u b s e q u e n t   o b j e c t   m a n a g e m e n t ,   u s e   r e p l a c e   e x c l u s i v e l y . k u b e c t l   r e p l a c e   - f   < k i n d > _ < n a m e > . y a m l   E x p o r t   t h e   l i v e   o b j e c t   t o   a   l o c a l   o b j e c t   c o n f i g u r a t i o n   f i l e :   k u b e c t l   g e t   < k i n d > / < n a m e >   - o   y a m l   >   < k i n d > _ < n a m e > . y a m l   M a n u a l l y   r e m o v e   t h e   s t a t u s   f i e l d   f r o m   t h e   o b j e c t   c o n f i g u r a t i o n   f i l e .   F o r   s u b s e q u e n t   o b j e c t   m a n a g e m e n t ,   u s e   r e p l a c e   e x c l u s i v e l y .   k u b e c t l   r e p l a c e   - f   < k i n d > _ < n a m e > . y a m l",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17272"
  },
  {
    "question": "What is Warning:?",
    "answer": "T h e   r e c o m m e n d e d   a p p r o a c h   i s   t o   d e f i n e   a   s i n g l e ,   i m m u t a b l e   P o d T e m p l a t e   l a b e l   u s e d   o n l y   b y   t h e   c o n t r o l l e r   s e l e c t o r   w i t h   n o   o t h e r   s e m a n t i c   m e a n i n g .   E x a m p l e   l a b e l :   s e l e c t o r :   m a t c h L a b e l s :   c o n t r o l l e r - s e l e c t o r :   \" a p p s / v 1 / d e p l o y m e n t / n g i n x \"   t e m p l a t e :   m e t a d a t a :   l a b e l s :   c o n t r o l l e r - s e l e c t o r :   \" a p p s / v 1 / d e p l o y m e n t / n g i n x \"",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_4_17273"
  },
  {
    "question": "What is What's next?",
    "answer": "M a n a g i n g   K u b e r n e t e s   O b j e c t s   U s i n g   I m p e r a t i v e   C o m m a n d s D e c l a r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s K u b e c t l   C o m m a n d   R e f e r e n c e K u b e r n e t e s   A P I   R e f e r e n c e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17274"
  },
  {
    "question": "What is 5 - Update API Objects in Place Using kubectl patch?",
    "answer": "T h i s   t a s k   s h o w s   h o w   t o   u s e   k u b e c t l   p a t c h   t o   u p d a t e   a n   A P I   o b j e c t   i n   p l a c e .   T h e   e x e r c i s e s   i n   t h i s   t a s k   d e m o n s t r a t e   a   s t r a t e g i c   m e r g e   p a t c h   a n d   a   J S O N   m e r g e   p a t c h .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_1_17275"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17276"
  },
  {
    "question": "What is Use a strategic merge patch to update a Deployment?",
    "answer": "H e r e ' s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   D e p l o y m e n t   t h a t   h a s   t w o   r e p l i c a s .   E a c h   r e p l i c a   i s   a   P o d   t h a t   h a s   o n e   c o n t a i n e r :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   p a t c h - d e m o   s p e c :   r e p l i c a s :   2   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   p a t c h - d e m o - c t r   i m a g e :   n g i n x   t o l e r a t i o n s :   -   e f f e c t :   N o S c h e d u l e   k e y :   d e d i c a t e d   v a l u e :   t e s t - t e a m   C r e a t e   t h e   D e p l o y m e n t :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / d e p l o y m e n t - p a t c h . y a m l   V i e w   t h e   P o d s   a s s o c i a t e d   w i t h   y o u r   D e p l o y m e n t :   k u b e c t l   g e t   p o d s   T h e   o u t p u t   s h o w s   t h a t   t h e   D e p l o y m e n t   h a s   t w o   P o d s .   T h e   1 / 1   i n d i c a t e s   t h a t   e a c h   P o d   h a s   o n e   c o n t a i n e r :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   p a t c h - d e m o - 2 8 6 3 3 7 6 5 - 6 7 0 q r   1 / 1   R u n n i n g   0   2 3 s   p a t c h - d e m o - 2 8 6 3 3 7 6 5 - j 5 q s 3   1 / 1   R u n n i n g   0   2 3 s   M a k e   a   n o t e   o f   t h e   n a m e s   o f   t h e   r u n n i n g   P o d s .   L a t e r ,   y o u   w i l l   s e e   t h a t   t h e s e   P o d s   g e t   t e r m i n a t e d   a n d   r e p l a c e d   b y   n e w   o n e s .   A t   t h i s   p o i n t ,   e a c h   P o d   h a s   o n e   C o n t a i n e r   t h a t   r u n s   t h e   n g i n x   i m a g e .   N o w   s u p p o s e   y o u   w a n t   e a c h   P o d   t o   h ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17277"
  },
  {
    "question": "What is Notes on the strategic merge patch?",
    "answer": "T h e   p a t c h   y o u   d i d   i n   t h e   p r e c e d i n g   e x e r c i s e   i s   c a l l e d   a   s t r a t e g i c   m e r g e   p a t c h .   N o t i c e   t h a t   t h e   p a t c h   d i d   n o t   r e p l a c e   t h e   c o n t a i n e r s   l i s t .   I n s t e a d   i t   a d d e d   a   n e w   C o n t a i n e r   t o   t h e   l i s t .   I n   o t h e r   w o r d s ,   t h e   l i s t   i n   t h e   p a t c h   w a s   m e r g e d   w i t h   t h e   e x i s t i n g   l i s t .   T h i s   i s   n o t   a l w a y s   w h a t   h a p p e n s   w h e n   y o u   u s e   a   s t r a t e g i c   m e r g e   p a t c h   o n   a   l i s t .   I n   s o m e   c a s e s ,   t h e   l i s t   i s   r e p l a c e d ,   n o t   m e r g e d .   W i t h   a   s t r a t e g i c   m e r g e   p a t c h ,   a   l i s t   i s   e i t h e r   r e p l a c e d   o r   m e r g e d   d e p e n d i n g   o n   i t s   p a t c h   s t r a t e g y .   T h e   p a t c h   s t r a t e g y   i s   s p e c i f i e d   b y   t h e   v a l u e   o f   t h e   p a t c h S t r a t e g y   k e y   i n   a   f i e l d   t a g   i n   t h e   K u b e r n e t e s   s o u r c e   c o d e .   F o r   e x a m p l e ,   t h e   C o n t a i n e r s   f i e l d   o f   P o d S p e c   s t r u c t   h a s   a   p a t c h S t r a t e g y   o f   m e r g e :   t y p e   P o d S p e c   s t r u c t   {   . . .   C o n t a i n e r s   [ ] C o n t a i n e r   ` j s o n : \" c o n t a i n e r s \"   p a t c h S t r a t e g y : \" m e r g e \"   p a t c h M e r g e K e y : \" n a m e \"   . . . `   . . .   }   Y o u   c a n   a l s o   s e e   t h e   p a t c h   s t r a t e g y   i n   t h e   O p e n A p i   s p e c :   \" i o . k 8 s . a p i . c o r e . v 1 . P o d S p e c \" :   {   . . . ,   \" c o n t a i n e r s \" :   {   \" d e s c r i p t i o n \" :   \" L i s t   o f   c o n t a i n e r s   b e l o n g i n g   t o   t h e   p o d .   . . . . \"   } ,   \" x - k u b e r n e t e s - p a t c h ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_3_17278"
  },
  {
    "question": "What is Use a JSON merge patch to update a Deployment?",
    "answer": "A   s t r a t e g i c   m e r g e   p a t c h   i s   d i f f e r e n t   f r o m   a   J S O N   m e r g e   p a t c h .   W i t h   a   J S O N   m e r g e   p a t c h ,   i f   y o u   w a n t   t o   u p d a t e   a   l i s t ,   y o u   h a v e   t o   s p e c i f y   t h e   e n t i r e   n e w   l i s t .   A n d   t h e   n e w   l i s t   c o m p l e t e l y   r e p l a c e s   t h e   e x i s t i n g   l i s t .   T h e   k u b e c t l   p a t c h   c o m m a n d   h a s   a   t y p e   p a r a m e t e r   t h a t   y o u   c a n   s e t   t o   o n e   o f   t h e s e   v a l u e s :   F o r   a   c o m p a r i s o n   o f   J S O N   p a t c h   a n d   J S O N   m e r g e   p a t c h ,   s e e   J S O N   P a t c h   a n d   J S O N   M e r g e   P a t c h .   T h e   d e f a u l t   v a l u e   f o r   t h e   t y p e   p a r a m e t e r   i s   s t r a t e g i c .   S o   i n   t h e   p r e c e d i n g   e x e r c i s e ,   y o u   d i d   a   s t r a t e g i c   m e r g e   p a t c h .   N e x t ,   d o   a   J S O N   m e r g e   p a t c h   o n   y o u r   s a m e   D e p l o y m e n t .   C r e a t e   a   f i l e   n a m e d   p a t c h - f i l e - 2 . y a m l   t h a t   h a s   t h i s   c o n t e n t :   s p e c :   t e m p l a t e :   s p e c :   c o n t a i n e r s :   -   n a m e :   p a t c h - d e m o - c t r - 3   i m a g e :   g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 2 . 0   I n   y o u r   p a t c h   c o m m a n d ,   s e t   t y p e   t o   m e r g e :   k u b e c t l   p a t c h   d e p l o y m e n t   p a t c h - d e m o   - - t y p e   m e r g e   - - p a t c h - f i l e   p a t c h - f i l e - 2 . y a m l   V i e w   t h e   p a t c h e d   D e p l o y m e n t :   k u b e c t l   g e t   d e p l o y m e n t   p a t c h - d e m o   - - o u t p u t   y a m l   T h e   c o n t a i n e r s   l i s t   t h a t   y o u   s p e c i f i e d   i n   t h e   p a t c h   h a s   o n l y   o n e   C o n t a i n e r . ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17279"
  },
  {
    "question": "What is Use strategic merge patch to update a Deployment using the retainKeys strategy?",
    "answer": "H e r e ' s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   D e p l o y m e n t   t h a t   u s e s   t h e   R o l l i n g U p d a t e   s t r a t e g y :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   r e t a i n k e y s - d e m o   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   s t r a t e g y :   r o l l i n g U p d a t e :   m a x S u r g e :   3 0 %   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   r e t a i n k e y s - d e m o - c t r   i m a g e :   n g i n x   C r e a t e   t h e   d e p l o y m e n t :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / d e p l o y m e n t - r e t a i n k e y s . y a m l   A t   t h i s   p o i n t ,   t h e   d e p l o y m e n t   i s   c r e a t e d   a n d   i s   u s i n g   t h e   R o l l i n g U p d a t e   s t r a t e g y .   C r e a t e   a   f i l e   n a m e d   p a t c h - f i l e - n o - r e t a i n k e y s . y a m l   t h a t   h a s   t h i s   c o n t e n t :   s p e c :   s t r a t e g y :   t y p e :   R e c r e a t e   P a t c h   y o u r   D e p l o y m e n t :   k u b e c t l   p a t c h   d e p l o y m e n t   r e t a i n k e y s - d e m o   - - t y p e   s t r a t e g i c   - - p a t c h - f i l e   p a t c h - f i l e - n o - r e t a i n k e y s . y a m l   I n   t h e   o u t p u t ,   y o u   c a n   s e e   t h a t   i t   i s   n o t   p o s s i b l e   t o   s e t   t y p e   a s   R e c r e a t e   w h e n   a   v a l u e   i s   d e f i n e d   f o r   s p e c . s t r a t e g y . r o l l i n g U p d a t e :   T h e   D e p l o y m e n t   \" r e t a i n k e y s - d e m o \"   i s   i n v a l i d :   s p e c . s t r a t e g y . r o l l i n g U p d a t e :   F o r b i d d e n :   m a y   n o t   b e   s p e c i f i e d   w h e n   s t r a t e g y   ` t y p ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17280"
  },
  {
    "question": "What is Notes on the strategic merge patch using the retainKeys strategy?",
    "answer": "T h e   p a t c h   y o u   d i d   i n   t h e   p r e c e d i n g   e x e r c i s e   i s   c a l l e d   a   s t r a t e g i c   m e r g e   p a t c h   w i t h   r e t a i n K e y s   s t r a t e g y .   T h i s   m e t h o d   i n t r o d u c e s   a   n e w   d i r e c t i v e   $ r e t a i n K e y s   t h a t   h a s   t h e   f o l l o w i n g   s t r a t e g i e s :   I t   c o n t a i n s   a   l i s t   o f   s t r i n g s . A l l   f i e l d s   n e e d i n g   t o   b e   p r e s e r v e d   m u s t   b e   p r e s e n t   i n   t h e   $ r e t a i n K e y s   l i s t . T h e   f i e l d s   t h a t   a r e   p r e s e n t   w i l l   b e   m e r g e d   w i t h   l i v e   o b j e c t . A l l   o f   t h e   m i s s i n g   f i e l d s   w i l l   b e   c l e a r e d   w h e n   p a t c h i n g . A l l   f i e l d s   i n   t h e   $ r e t a i n K e y s   l i s t   m u s t   b e   a   s u p e r s e t   o r   t h e   s a m e   a s   t h e   f i e l d s   p r e s e n t   i n   t h e   p a t c h .   T h e   r e t a i n K e y s   s t r a t e g y   d o e s   n o t   w o r k   f o r   a l l   o b j e c t s .   I t   o n l y   w o r k s   w h e n   t h e   v a l u e   o f   t h e   p a t c h S t r a t e g y   k e y   i n   a   f i e l d   t a g   i n   t h e   K u b e r n e t e s   s o u r c e   c o d e   c o n t a i n s   r e t a i n K e y s .   F o r   e x a m p l e ,   t h e   S t r a t e g y   f i e l d   o f   t h e   D e p l o y m e n t S p e c   s t r u c t   h a s   a   p a t c h S t r a t e g y   o f   r e t a i n K e y s :   t y p e   D e p l o y m e n t S p e c   s t r u c t   {   . . .   / /   + p a t c h S t r a t e g y = r e t a i n K e y s   S t r a t e g y   D e p l o y m e n t S t r a t e g y   ` j s o n : \" s t r a t e g y , o m i t e m p t y \"   p a t c h S t r a t e g y : \" r e t a i n K e y s \"   . . . `   . . .   }   Y o u   c a n   a l s o   s e e   t h e   r e t a i n K e y s   s t r a t e g y   i n   t h e   O p e n A p i   s p e c : ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_3_17281"
  },
  {
    "question": "What is Alternate forms of the kubectl patch command?",
    "answer": "T h e   k u b e c t l   p a t c h   c o m m a n d   t a k e s   Y A M L   o r   J S O N .   I t   c a n   t a k e   t h e   p a t c h   a s   a   f i l e   o r   d i r e c t l y   o n   t h e   c o m m a n d   l i n e .   C r e a t e   a   f i l e   n a m e d   p a t c h - f i l e . j s o n   t h a t   h a s   t h i s   c o n t e n t :   {   \" s p e c \" :   {   \" t e m p l a t e \" :   {   \" s p e c \" :   {   \" c o n t a i n e r s \" :   [   {   \" n a m e \" :   \" p a t c h - d e m o - c t r - 2 \" ,   \" i m a g e \" :   \" r e d i s \"   }   ]   }   }   }   }   T h e   f o l l o w i n g   c o m m a n d s   a r e   e q u i v a l e n t :   k u b e c t l   p a t c h   d e p l o y m e n t   p a t c h - d e m o   - - p a t c h - f i l e   p a t c h - f i l e . y a m l   k u b e c t l   p a t c h   d e p l o y m e n t   p a t c h - d e m o   - - p a t c h   ' s p e c : \\ n   t e m p l a t e : \\ n   s p e c : \\ n   c o n t a i n e r s : \\ n   -   n a m e :   p a t c h - d e m o - c t r - 2 \\ n   i m a g e :   r e d i s '   k u b e c t l   p a t c h   d e p l o y m e n t   p a t c h - d e m o   - - p a t c h - f i l e   p a t c h - f i l e . j s o n   k u b e c t l   p a t c h   d e p l o y m e n t   p a t c h - d e m o   - - p a t c h   ' { \" s p e c \" :   { \" t e m p l a t e \" :   { \" s p e c \" :   { \" c o n t a i n e r s \" :   [ { \" n a m e \" :   \" p a t c h - d e m o - c t r - 2 \" , \" i m a g e \" :   \" r e d i s \" } ] } } } } '",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_3_17282"
  },
  {
    "question": "What is Update an object's replica count using kubectl patch with --subresource?",
    "answer": "T h e   f l a g   - - s u b r e s o u r c e = [ s u b r e s o u r c e - n a m e ]   i s   u s e d   w i t h   k u b e c t l   c o m m a n d s   l i k e   g e t ,   p a t c h ,   e d i t ,   a p p l y   a n d   r e p l a c e   t o   f e t c h   a n d   u p d a t e   s t a t u s ,   s c a l e   a n d   r e s i z e   s u b r e s o u r c e   o f   t h e   r e s o u r c e s   y o u   s p e c i f y .   Y o u   c a n   s p e c i f y   a   s u b r e s o u r c e   f o r   a n y   o f   t h e   K u b e r n e t e s   A P I   r e s o u r c e s   ( b u i l t - i n   a n d   C R s )   t h a t   h a v e   s t a t u s ,   s c a l e   o r   r e s i z e   s u b r e s o u r c e .   F o r   e x a m p l e ,   a   D e p l o y m e n t   h a s   a   s t a t u s   s u b r e s o u r c e   a n d   a   s c a l e   s u b r e s o u r c e ,   s o   y o u   c a n   u s e   k u b e c t l   t o   g e t   o r   m o d i f y   j u s t   t h e   s t a t u s   s u b r e s o u r c e   o f   a   D e p l o y m e n t .   H e r e ' s   a   m a n i f e s t   f o r   a   D e p l o y m e n t   t h a t   h a s   t w o   r e p l i c a s :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   r e p l i c a s :   2   #   t e l l s   d e p l o y m e n t   t o   r u n   2   p o d s   m a t c h i n g   t h e   t e m p l a t e   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0   C r e a t e   t h e   D e p l o y m e n t :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / d e p l o y m e n t . y a m l   V i e w   t h e   P o d s   a s s o c i a t e d   w i t h   y o u r   D e p l o y m e n t :   k u b e c t l   g e t ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_3_17283"
  },
  {
    "question": "What is Summary?",
    "answer": "I n   t h i s   e x e r c i s e ,   y o u   u s e d   k u b e c t l   p a t c h   t o   c h a n g e   t h e   l i v e   c o n f i g u r a t i o n   o f   a   D e p l o y m e n t   o b j e c t .   Y o u   d i d   n o t   c h a n g e   t h e   c o n f i g u r a t i o n   f i l e   t h a t   y o u   o r i g i n a l l y   u s e d   t o   c r e a t e   t h e   D e p l o y m e n t   o b j e c t .   O t h e r   c o m m a n d s   f o r   u p d a t i n g   A P I   o b j e c t s   i n c l u d e   k u b e c t l   a n n o t a t e ,   k u b e c t l   e d i t ,   k u b e c t l   r e p l a c e ,   k u b e c t l   s c a l e ,   a n d   k u b e c t l   a p p l y .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17284"
  },
  {
    "question": "What is What's next?",
    "answer": "K u b e r n e t e s   O b j e c t   M a n a g e m e n t M a n a g i n g   K u b e r n e t e s   O b j e c t s   U s i n g   I m p e r a t i v e   C o m m a n d s I m p e r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s D e c l a r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17285"
  },
  {
    "question": "What is 6 - Migrate Kubernetes Objects Using Storage Version Migration?",
    "answer": "K u b e r n e t e s   r e l i e s   o n   A P I   d a t a   b e i n g   a c t i v e l y   r e - w r i t t e n ,   t o   s u p p o r t   s o m e   m a i n t e n a n c e   a c t i v i t i e s   r e l a t e d   t o   a t   r e s t   s t o r a g e .   T w o   p r o m i n e n t   e x a m p l e s   a r e   t h e   v e r s i o n e d   s c h e m a   o f   s t o r e d   r e s o u r c e s   ( t h a t   i s ,   t h e   p r e f e r r e d   s t o r a g e   s c h e m a   c h a n g i n g   f r o m   v 1   t o   v 2   f o r   a   g i v e n   r e s o u r c e )   a n d   e n c r y p t i o n   a t   r e s t   ( t h a t   i s ,   r e w r i t i n g   s t a l e   d a t a   b a s e d   o n   a   c h a n g e   i n   h o w   t h e   d a t a   s h o u l d   b e   e n c r y p t e d ) .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_1_17286"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n s t a l l   k u b e c t l .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 3 0 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17287"
  },
  {
    "question": "What is Re-encrypt Kubernetes secrets using storage version migration?",
    "answer": "T o   b e g i n   w i t h ,   c o n f i g u r e   K M S   p r o v i d e r   t o   e n c r y p t   d a t a   a t   r e s t   i n   e t c d   u s i n g   f o l l o w i n g   e n c r y p t i o n   c o n f i g u r a t i o n . k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   r e s o u r c e s :   -   r e s o u r c e s :   -   s e c r e t s   p r o v i d e r s :   -   a e s c b c :   k e y s :   -   n a m e :   k e y 1   s e c r e t :   c 2 V j c m V 0 I G l z I H N l Y 3 V y Z Q = =   M a k e   s u r e   t o   e n a b l e   a u t o m a t i c   r e l o a d   o f   e n c r y p t i o n   c o n f i g u r a t i o n   f i l e   b y   s e t t i n g   - - e n c r y p t i o n - p r o v i d e r - c o n f i g - a u t o m a t i c - r e l o a d   t o   t r u e . C r e a t e   a   S e c r e t   u s i n g   k u b e c t l . k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - l i t e r a l = k e y 1 = s u p e r s e c r e t   V e r i f y   t h e   s e r i a l i z e d   d a t a   f o r   t h a t   S e c r e t   o b j e c t   i s   p r e f i x e d   w i t h   k 8 s : e n c : a e s c b c : v 1 : k e y 1 . U p d a t e   t h e   e n c r y p t i o n   c o n f i g u r a t i o n   f i l e   a s   f o l l o w s   t o   r o t a t e   t h e   e n c r y p t i o n   k e y . k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   r e s o u r c e s :   -   r e s o u r c e s :   -   s e c r e t s   p r o v i d e r s :   -   a e s c b c :   k e y s :   -   n a m e :   k e y 2   s e c r e t :   c 2 V j c m V 0 I G l z I H N l Y 3 V y Z S w g a X M g a X Q /   -   a e s c b c :   k e y s :   -   n a m e :   k e y 1   s e c r e t :   c 2 V j c m V 0 I G l z I H N l Y 3 V y Z Q = =   T o   e n s u r e   t h a t   p r e v i o u s l y   c r e a t e d   s e c r e t   m y - s e c r e t   i s   r e - e n ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17288"
  },
  {
    "question": "What is Update the preferred storage schema of a CRD?",
    "answer": "C o n s i d e r   a   s c e n a r i o   w h e r e   a   C u s t o m R e s o u r c e D e f i n i t i o n   ( C R D )   i s   c r e a t e d   t o   s e r v e   c u s t o m   r e s o u r c e s   ( C R s )   a n d   i s   s e t   a s   t h e   p r e f e r r e d   s t o r a g e   s c h e m a .   W h e n   i t ' s   t i m e   t o   i n t r o d u c e   v 2   o f   t h e   C R D ,   i t   c a n   b e   a d d e d   f o r   s e r v i n g   o n l y   w i t h   a   c o n v e r s i o n   w e b h o o k .   T h i s   e n a b l e s   a   s m o o t h e r   t r a n s i t i o n   w h e r e   u s e r s   c a n   c r e a t e   C R s   u s i n g   e i t h e r   t h e   v 1   o r   v 2   s c h e m a ,   w i t h   t h e   w e b h o o k   i n   p l a c e   t o   p e r f o r m   t h e   n e c e s s a r y   s c h e m a   c o n v e r s i o n   b e t w e e n   t h e m .   B e f o r e   s e t t i n g   v 2   a s   t h e   p r e f e r r e d   s t o r a g e   s c h e m a   v e r s i o n ,   i t ' s   i m p o r t a n t   t o   e n s u r e   t h a t   a l l   e x i s t i n g   C R s   s t o r e d   a s   v 1   a r e   m i g r a t e d   t o   v 2 .   T h i s   m i g r a t i o n   c a n   b e   a c h i e v e d   t h r o u g h   S t o r a g e   V e r s i o n   M i g r a t i o n   t o   m i g r a t e   a l l   C R s   f r o m   v 1   t o   v 2 .   C r e a t e   a   m a n i f e s t   f o r   t h e   C R D ,   n a m e d   t e s t - c r d . y a m l ,   a s   f o l l o w s : a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   m e t a d a t a :   n a m e :   s e l f i e r e q u e s t s . s t a b l e . e x a m p l e . c o m   s p e c :   g r o u p :   s t a b l e . e x a m p l e . c o m   n a m e s :   p l u r a l :   S e l f i e R e q u e s t s   s i n g u l a r :   S e l f i e R e q u e s t   k i n d :   S e l f i e R e q u e s t   l i s t K i n d :   S e l f i e R e q u e s t L i s t   s c o p e :   N a m e s p a c e d   v e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/manage-kubernetes-objects/_print/",
    "id": "k8s_00778_section_2_17289"
  },
  {
    "question": "What is Tasks?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Tasks1: Install Tools1.1: Install and Set Up kubectl on Linux1.2: Install and Set Up kubectl on macOS1.3: Install and Set Up kubectl on Windows2: Administer a Cluster2.1: Administration with kubeadm2.1.1: Adding Linux worker nodes2.1.2: Adding Windows worker nodes2.1.3: Upgrading kubeadm clusters2.1.4: Upgrading Linux nodes2.1.5: Upgrading Windows nodes2.1.6: Configuring a cgroup driver2.1.7: Certificate Management with kubeadm2.1.8: Reconfiguring a kubeadm cluster2.1.9: Changing The Kubernetes Package Repository2.2: Overprovision Node Capacity For A Cluster2.3: Migrating from dockershim2.3.1: Changing the Container Runtime on a Node from Docker Engine to containerd2.3.2: Find Out What Container Runtime is Used on a Node2.3.3: Troubleshooting CNI plugin-related errors2.3.4: Check whether dockershim removal affects you2.3.5: Migrating telemetry and security agents from dockershim2.4: Generate Certificates Manually2.5: Manage Memory, CPU, and API Resources2.5.1: Configure Default Memory Requests and Limits for a Namespace2.5.2: Configure Default CPU Requests and Limits for a Namespace2.5.3: Configure Minimum and Maximum Memory Constraints for a Namespace2.5.4: Configure Minimum and Maximum CPU Constraints for a Namespace2.5.5: Configure Memory and CPU Quotas for a Namespace2.5.6: Configure a Pod Quota for a Namespace2.6: Install a Network Policy Provider2.6.1: Use Antrea for NetworkPolicy2.6.2: Use Calico for NetworkPolicy2.6.3: Use Cilium for NetworkPolicy2.6.4: Use Kube-router for NetworkPolicy2.6.5: Romana for NetworkPolicy2.6.6: Weave Net for NetworkPolicy2.7: Access Clusters Using the Kubernetes API2.8: Advertise Extended Resources for a Node2.9: Autoscale the DNS Service in a Cluster2.10: Change the Access Mode of a PersistentVolume to ReadWriteOncePod2.11: Change the default StorageClass2.12: Switching from Polling to CRI Event-based Updates to Container Status2.13: Change the Reclaim Policy of a PersistentVolume2.14: Cloud Controller Manager Administration2.15: Configure a kubelet image credential provider2.16: Configure Quotas for API Objects2.17: Control CPU Management Policies on the Node2.18: Control Topology Management Policies on a node2.19: Customizing DNS Service2.20: Debugging DNS Resolution2.21: Declare Network Policy2.22: Developing Cloud Controller Manager2.23: Enable Or Disable A Kubernetes API2.24: Encrypting Confidential Data at Rest2.25: Decrypt Confidential Data that is Already Encrypted at Rest2.26: Guaranteed Scheduling For Critical Add-On Pods2.27: IP Masquerade Agent User Guide2.28: Limit Storage Consumption2.29: Migrate Replicated Control Plane To Use Cloud Controller Manager2.30: Operating etcd clusters for Kubernetes2.31: Reserve Compute Resources for System Daemons2.32: Running Kubernetes Node Components as a Non-root User2.33: Safely Drain a Node2.34: Securing a Cluster2.35: Set Kubelet Parameters Via ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_qa_17290"
  },
  {
    "question": "How does Tasks work?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Tasks1: Install Tools1.1: Install and Set Up kubectl on Linux1.2: Install and Set Up kubectl on macOS1.3: Install and Set Up kubectl on Windows2: Administer a Cluster2.1: Administration with kubeadm2.1.1: Adding Linux worker nodes2.1.2: Adding Windows worker nodes2.1.3: Upgrading kubeadm clusters2.1.4: Upgrading Linux nodes2.1.5: Upgrading Windows nodes2.1.6: Configuring a cgroup driver2.1.7: Certificate Management with kubeadm2.1.8: Reconfiguring a kubeadm cluster2.1.9: Changing The Kubernetes Package Repository2.2: Overprovision Node Capacity For A Cluster2.3: Migrating from dockershim2.3.1: Changing the Container Runtime on a Node from Docker Engine to containerd2.3.2: Find Out What Container Runtime is Used on a Node2.3.3: Troubleshooting CNI plugin-related errors2.3.4: Check whether dockershim removal affects you2.3.5: Migrating telemetry and security agents from dockershim2.4: Generate Certificates Manually2.5: Manage Memory, CPU, and API Resources2.5.1: Configure Default Memory Requests and Limits for a Namespace2.5.2: Configure Default CPU Requests and Limits for a Namespace2.5.3: Configure Minimum and Maximum Memory Constraints for a Namespace2.5.4: Configure Minimum and Maximum CPU Constraints for a Namespace2.5.5: Configure Memory and CPU Quotas for a Namespace2.5.6: Configure a Pod Quota for a Namespace2.6: Install a Network Policy Provider2.6.1: Use Antrea for NetworkPolicy2.6.2: Use Calico for NetworkPolicy2.6.3: Use Cilium for NetworkPolicy2.6.4: Use Kube-router for NetworkPolicy2.6.5: Romana for NetworkPolicy2.6.6: Weave Net for NetworkPolicy2.7: Access Clusters Using the Kubernetes API2.8: Advertise Extended Resources for a Node2.9: Autoscale the DNS Service in a Cluster2.10: Change the Access Mode of a PersistentVolume to ReadWriteOncePod2.11: Change the default StorageClass2.12: Switching from Polling to CRI Event-based Updates to Container Status2.13: Change the Reclaim Policy of a PersistentVolume2.14: Cloud Controller Manager Administration2.15: Configure a kubelet image credential provider2.16: Configure Quotas for API Objects2.17: Control CPU Management Policies on the Node2.18: Control Topology Management Policies on a node2.19: Customizing DNS Service2.20: Debugging DNS Resolution2.21: Declare Network Policy2.22: Developing Cloud Controller Manager2.23: Enable Or Disable A Kubernetes API2.24: Encrypting Confidential Data at Rest2.25: Decrypt Confidential Data that is Already Encrypted at Rest2.26: Guaranteed Scheduling For Critical Add-On Pods2.27: IP Masquerade Agent User Guide2.28: Limit Storage Consumption2.29: Migrate Replicated Control Plane To Use Cloud Controller Manager2.30: Operating etcd clusters for Kubernetes2.31: Reserve Compute Resources for System Daemons2.32: Running Kubernetes Node Components as a Non-root User2.33: Safely Drain a Node2.34: Securing a Cluster2.35: Set Kubelet Parameters Via ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_qa_17291"
  },
  {
    "question": "When would you use Tasks?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Tasks1: Install Tools1.1: Install and Set Up kubectl on Linux1.2: Install and Set Up kubectl on macOS1.3: Install and Set Up kubectl on Windows2: Administer a Cluster2.1: Administration with kubeadm2.1.1: Adding Linux worker nodes2.1.2: Adding Windows worker nodes2.1.3: Upgrading kubeadm clusters2.1.4: Upgrading Linux nodes2.1.5: Upgrading Windows nodes2.1.6: Configuring a cgroup driver2.1.7: Certificate Management with kubeadm2.1.8: Reconfiguring a kubeadm cluster2.1.9: Changing The Kubernetes Package Repository2.2: Overprovision Node Capacity For A Cluster2.3: Migrating from dockershim2.3.1: Changing the Container Runtime on a Node from Docker Engine to containerd2.3.2: Find Out What Container Runtime is Used on a Node2.3.3: Troubleshooting CNI plugin-related errors2.3.4: Check whether dockershim removal affects you2.3.5: Migrating telemetry and security agents from dockershim2.4: Generate Certificates Manually2.5: Manage Memory, CPU, and API Resources2.5.1: Configure Default Memory Requests and Limits for a Namespace2.5.2: Configure Default CPU Requests and Limits for a Namespace2.5.3: Configure Minimum and Maximum Memory Constraints for a Namespace2.5.4: Configure Minimum and Maximum CPU Constraints for a Namespace2.5.5: Configure Memory and CPU Quotas for a Namespace2.5.6: Configure a Pod Quota for a Namespace2.6: Install a Network Policy Provider2.6.1: Use Antrea for NetworkPolicy2.6.2: Use Calico for NetworkPolicy2.6.3: Use Cilium for NetworkPolicy2.6.4: Use Kube-router for NetworkPolicy2.6.5: Romana for NetworkPolicy2.6.6: Weave Net for NetworkPolicy2.7: Access Clusters Using the Kubernetes API2.8: Advertise Extended Resources for a Node2.9: Autoscale the DNS Service in a Cluster2.10: Change the Access Mode of a PersistentVolume to ReadWriteOncePod2.11: Change the default StorageClass2.12: Switching from Polling to CRI Event-based Updates to Container Status2.13: Change the Reclaim Policy of a PersistentVolume2.14: Cloud Controller Manager Administration2.15: Configure a kubelet image credential provider2.16: Configure Quotas for API Objects2.17: Control CPU Management Policies on the Node2.18: Control Topology Management Policies on a node2.19: Customizing DNS Service2.20: Debugging DNS Resolution2.21: Declare Network Policy2.22: Developing Cloud Controller Manager2.23: Enable Or Disable A Kubernetes API2.24: Encrypting Confidential Data at Rest2.25: Decrypt Confidential Data that is Already Encrypted at Rest2.26: Guaranteed Scheduling For Critical Add-On Pods2.27: IP Masquerade Agent User Guide2.28: Limit Storage Consumption2.29: Migrate Replicated Control Plane To Use Cloud Controller Manager2.30: Operating etcd clusters for Kubernetes2.31: Reserve Compute Resources for System Daemons2.32: Running Kubernetes Node Components as a Non-root User2.33: Safely Drain a Node2.34: Securing a Cluster2.35: Set Kubelet Parameters Via ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_qa_17292"
  },
  {
    "question": "What are the benefits of Tasks?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Tasks1: Install Tools1.1: Install and Set Up kubectl on Linux1.2: Install and Set Up kubectl on macOS1.3: Install and Set Up kubectl on Windows2: Administer a Cluster2.1: Administration with kubeadm2.1.1: Adding Linux worker nodes2.1.2: Adding Windows worker nodes2.1.3: Upgrading kubeadm clusters2.1.4: Upgrading Linux nodes2.1.5: Upgrading Windows nodes2.1.6: Configuring a cgroup driver2.1.7: Certificate Management with kubeadm2.1.8: Reconfiguring a kubeadm cluster2.1.9: Changing The Kubernetes Package Repository2.2: Overprovision Node Capacity For A Cluster2.3: Migrating from dockershim2.3.1: Changing the Container Runtime on a Node from Docker Engine to containerd2.3.2: Find Out What Container Runtime is Used on a Node2.3.3: Troubleshooting CNI plugin-related errors2.3.4: Check whether dockershim removal affects you2.3.5: Migrating telemetry and security agents from dockershim2.4: Generate Certificates Manually2.5: Manage Memory, CPU, and API Resources2.5.1: Configure Default Memory Requests and Limits for a Namespace2.5.2: Configure Default CPU Requests and Limits for a Namespace2.5.3: Configure Minimum and Maximum Memory Constraints for a Namespace2.5.4: Configure Minimum and Maximum CPU Constraints for a Namespace2.5.5: Configure Memory and CPU Quotas for a Namespace2.5.6: Configure a Pod Quota for a Namespace2.6: Install a Network Policy Provider2.6.1: Use Antrea for NetworkPolicy2.6.2: Use Calico for NetworkPolicy2.6.3: Use Cilium for NetworkPolicy2.6.4: Use Kube-router for NetworkPolicy2.6.5: Romana for NetworkPolicy2.6.6: Weave Net for NetworkPolicy2.7: Access Clusters Using the Kubernetes API2.8: Advertise Extended Resources for a Node2.9: Autoscale the DNS Service in a Cluster2.10: Change the Access Mode of a PersistentVolume to ReadWriteOncePod2.11: Change the default StorageClass2.12: Switching from Polling to CRI Event-based Updates to Container Status2.13: Change the Reclaim Policy of a PersistentVolume2.14: Cloud Controller Manager Administration2.15: Configure a kubelet image credential provider2.16: Configure Quotas for API Objects2.17: Control CPU Management Policies on the Node2.18: Control Topology Management Policies on a node2.19: Customizing DNS Service2.20: Debugging DNS Resolution2.21: Declare Network Policy2.22: Developing Cloud Controller Manager2.23: Enable Or Disable A Kubernetes API2.24: Encrypting Confidential Data at Rest2.25: Decrypt Confidential Data that is Already Encrypted at Rest2.26: Guaranteed Scheduling For Critical Add-On Pods2.27: IP Masquerade Agent User Guide2.28: Limit Storage Consumption2.29: Migrate Replicated Control Plane To Use Cloud Controller Manager2.30: Operating etcd clusters for Kubernetes2.31: Reserve Compute Resources for System Daemons2.32: Running Kubernetes Node Components as a Non-root User2.33: Safely Drain a Node2.34: Securing a Cluster2.35: Set Kubelet Parameters Via ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_qa_17293"
  },
  {
    "question": "What is Tasks?",
    "answer": "1 :   I n s t a l l   T o o l s 1 . 1 :   I n s t a l l   a n d   S e t   U p   k u b e c t l   o n   L i n u x 1 . 2 :   I n s t a l l   a n d   S e t   U p   k u b e c t l   o n   m a c O S 1 . 3 :   I n s t a l l   a n d   S e t   U p   k u b e c t l   o n   W i n d o w s 2 :   A d m i n i s t e r   a   C l u s t e r 2 . 1 :   A d m i n i s t r a t i o n   w i t h   k u b e a d m 2 . 1 . 1 :   A d d i n g   L i n u x   w o r k e r   n o d e s 2 . 1 . 2 :   A d d i n g   W i n d o w s   w o r k e r   n o d e s 2 . 1 . 3 :   U p g r a d i n g   k u b e a d m   c l u s t e r s 2 . 1 . 4 :   U p g r a d i n g   L i n u x   n o d e s 2 . 1 . 5 :   U p g r a d i n g   W i n d o w s   n o d e s 2 . 1 . 6 :   C o n f i g u r i n g   a   c g r o u p   d r i v e r 2 . 1 . 7 :   C e r t i f i c a t e   M a n a g e m e n t   w i t h   k u b e a d m 2 . 1 . 8 :   R e c o n f i g u r i n g   a   k u b e a d m   c l u s t e r 2 . 1 . 9 :   C h a n g i n g   T h e   K u b e r n e t e s   P a c k a g e   R e p o s i t o r y 2 . 2 :   O v e r p r o v i s i o n   N o d e   C a p a c i t y   F o r   A   C l u s t e r 2 . 3 :   M i g r a t i n g   f r o m   d o c k e r s h i m 2 . 3 . 1 :   C h a n g i n g   t h e   C o n t a i n e r   R u n t i m e   o n   a   N o d e   f r o m   D o c k e r   E n g i n e   t o   c o n t a i n e r d 2 . 3 . 2 :   F i n d   O u t   W h a t   C o n t a i n e r   R u n t i m e   i s   U s e d   o n   a   N o d e 2 . 3 . 3 :   T r o u b l e s h o o t i n g   C N I   p l u g i n - r e l a t e d   e r r o r s 2 . 3 . 4 :   C h e c k   w h e t h e r   d o c k e r s h i m   r e m o v a l   a f f e c t s   y o u 2 . 3 . 5 :   M i g r a t i n g   t e l e m e t r y   a n d   s e c u r i t y   a g e n t s   f r o m   d o c k e r s h i m 2 . 4 :   G e n e r a t e   C e r t i f i c a t e s   M a n u a l l y 2 . 5 :   M a n a g e   M e m o r y ,   C P U ,   a n d   A P I   R e s o u r c e s 2 . 5 . 1 :   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17294"
  },
  {
    "question": "What is kubectl?",
    "answer": "T h e   K u b e r n e t e s   c o m m a n d - l i n e   t o o l ,   k u b e c t l ,   a l l o w s   y o u   t o   r u n   c o m m a n d s   a g a i n s t   K u b e r n e t e s   c l u s t e r s .   Y o u   c a n   u s e   k u b e c t l   t o   d e p l o y   a p p l i c a t i o n s ,   i n s p e c t   a n d   m a n a g e   c l u s t e r   r e s o u r c e s ,   a n d   v i e w   l o g s .   F o r   m o r e   i n f o r m a t i o n   i n c l u d i n g   a   c o m p l e t e   l i s t   o f   k u b e c t l   o p e r a t i o n s ,   s e e   t h e   k u b e c t l   r e f e r e n c e   d o c u m e n t a t i o n .   k u b e c t l   i s   i n s t a l l a b l e   o n   a   v a r i e t y   o f   L i n u x   p l a t f o r m s ,   m a c O S   a n d   W i n d o w s .   F i n d   y o u r   p r e f e r r e d   o p e r a t i n g   s y s t e m   b e l o w .   I n s t a l l   k u b e c t l   o n   L i n u x I n s t a l l   k u b e c t l   o n   m a c O S I n s t a l l   k u b e c t l   o n   W i n d o w s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17295"
  },
  {
    "question": "What is kind?",
    "answer": "k i n d   l e t s   y o u   r u n   K u b e r n e t e s   o n   y o u r   l o c a l   c o m p u t e r .   T h i s   t o o l   r e q u i r e s   t h a t   y o u   h a v e   e i t h e r   D o c k e r   o r   P o d m a n   i n s t a l l e d .   T h e   k i n d   Q u i c k   S t a r t   p a g e   s h o w s   y o u   w h a t   y o u   n e e d   t o   d o   t o   g e t   u p   a n d   r u n n i n g   w i t h   k i n d .   V i e w   k i n d   Q u i c k   S t a r t   G u i d e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17296"
  },
  {
    "question": "What is minikube?",
    "answer": "L i k e   k i n d ,   m i n i k u b e   i s   a   t o o l   t h a t   l e t s   y o u   r u n   K u b e r n e t e s   l o c a l l y .   m i n i k u b e   r u n s   a n   a l l - i n - o n e   o r   a   m u l t i - n o d e   l o c a l   K u b e r n e t e s   c l u s t e r   o n   y o u r   p e r s o n a l   c o m p u t e r   ( i n c l u d i n g   W i n d o w s ,   m a c O S   a n d   L i n u x   P C s )   s o   t h a t   y o u   c a n   t r y   o u t   K u b e r n e t e s ,   o r   f o r   d a i l y   d e v e l o p m e n t   w o r k .   Y o u   c a n   f o l l o w   t h e   o f f i c i a l   G e t   S t a r t e d !   g u i d e   i f   y o u r   f o c u s   i s   o n   g e t t i n g   t h e   t o o l   i n s t a l l e d .   V i e w   m i n i k u b e   G e t   S t a r t e d !   G u i d e   O n c e   y o u   h a v e   m i n i k u b e   w o r k i n g ,   y o u   c a n   u s e   i t   t o   r u n   a   s a m p l e   a p p l i c a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17297"
  },
  {
    "question": "What is kubeadm?",
    "answer": "Y o u   c a n   u s e   t h e   k u b e a d m   t o o l   t o   c r e a t e   a n d   m a n a g e   K u b e r n e t e s   c l u s t e r s .   I t   p e r f o r m s   t h e   a c t i o n s   n e c e s s a r y   t o   g e t   a   m i n i m u m   v i a b l e ,   s e c u r e   c l u s t e r   u p   a n d   r u n n i n g   i n   a   u s e r   f r i e n d l y   w a y .   I n s t a l l i n g   k u b e a d m   s h o w s   y o u   h o w   t o   i n s t a l l   k u b e a d m .   O n c e   i n s t a l l e d ,   y o u   c a n   u s e   i t   t o   c r e a t e   a   c l u s t e r .   V i e w   k u b e a d m   I n s t a l l   G u i d e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17298"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   m u s t   u s e   a   k u b e c t l   v e r s i o n   t h a t   i s   w i t h i n   o n e   m i n o r   v e r s i o n   d i f f e r e n c e   o f   y o u r   c l u s t e r .   F o r   e x a m p l e ,   a   v 1 . 3 4   c l i e n t   c a n   c o m m u n i c a t e   w i t h   v 1 . 3 3 ,   v 1 . 3 4 ,   a n d   v 1 . 3 5   c o n t r o l   p l a n e s .   U s i n g   t h e   l a t e s t   c o m p a t i b l e   v e r s i o n   o f   k u b e c t l   h e l p s   a v o i d   u n f o r e s e e n   i s s u e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17299"
  },
  {
    "question": "What is Install kubectl on Linux?",
    "answer": "T h e   f o l l o w i n g   m e t h o d s   e x i s t   f o r   i n s t a l l i n g   k u b e c t l   o n   L i n u x :   I n s t a l l   k u b e c t l   b i n a r y   w i t h   c u r l   o n   L i n u x I n s t a l l   u s i n g   n a t i v e   p a c k a g e   m a n a g e m e n t I n s t a l l   u s i n g   o t h e r   p a c k a g e   m a n a g e m e n t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17300"
  },
  {
    "question": "What is Install kubectl binary with curl on Linux?",
    "answer": "D o w n l o a d   t h e   l a t e s t   r e l e a s e   w i t h   t h e   c o m m a n d :   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a m d 6 4 / k u b e c t l \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a r m 6 4 / k u b e c t l \"   N o t e : T o   d o w n l o a d   a   s p e c i f i c   v e r s i o n ,   r e p l a c e   t h e   $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t )   p o r t i o n   o f   t h e   c o m m a n d   w i t h   t h e   s p e c i f i c   v e r s i o n . F o r   e x a m p l e ,   t o   d o w n l o a d   v e r s i o n   1 . 3 4 . 0   o n   L i n u x   x 8 6 - 6 4 ,   t y p e : c u r l   - L O   h t t p s : / / d l . k 8 s . i o / r e l e a s e / v 1 . 3 4 . 0 / b i n / l i n u x / a m d 6 4 / k u b e c t l   A n d   f o r   L i n u x   A R M 6 4 ,   t y p e : c u r l   - L O   h t t p s : / / d l . k 8 s . i o / r e l e a s e / v 1 . 3 4 . 0 / b i n / l i n u x / a r m 6 4 / k u b e c t l   V a l i d a t e   t h e   b i n a r y   ( o p t i o n a l ) D o w n l o a d   t h e   k u b e c t l   c h e c k s u m   f i l e :   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a m d 6 4 / k u b e c t l . s h a 2 5 6 \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a r m 6 4 / k u b e c t l . s h a 2 5 6 \"   V a l i d a t e   t h e   k u b e c t l   b i n a r y   a g a i n s t   t h e   c h e c k s u m   f i l e : e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17301"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   d o w n l o a d   a   s p e c i f i c   v e r s i o n ,   r e p l a c e   t h e   $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t )   p o r t i o n   o f   t h e   c o m m a n d   w i t h   t h e   s p e c i f i c   v e r s i o n .   F o r   e x a m p l e ,   t o   d o w n l o a d   v e r s i o n   1 . 3 4 . 0   o n   L i n u x   x 8 6 - 6 4 ,   t y p e :   c u r l   - L O   h t t p s : / / d l . k 8 s . i o / r e l e a s e / v 1 . 3 4 . 0 / b i n / l i n u x / a m d 6 4 / k u b e c t l   A n d   f o r   L i n u x   A R M 6 4 ,   t y p e :   c u r l   - L O   h t t p s : / / d l . k 8 s . i o / r e l e a s e / v 1 . 3 4 . 0 / b i n / l i n u x / a r m 6 4 / k u b e c t l   V a l i d a t e   t h e   b i n a r y   ( o p t i o n a l )   D o w n l o a d   t h e   k u b e c t l   c h e c k s u m   f i l e :   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a m d 6 4 / k u b e c t l . s h a 2 5 6 \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a m d 6 4 / k u b e c t l . s h a 2 5 6 \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a r m 6 4 / k u b e c t l . s h a 2 5 6 \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a r m 6 4 / k u b e c t l . s h a 2 5 6 \"   V a l i d a t e   t h e   k u b e c t l   b i n a r y   a g a i n s t   t h e   c h e c k s u m   f i l e :   e c h o   \" $ ( c a t   k u b e c t l . s h a 2 5 6 )   k u b e c ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17302"
  },
  {
    "question": "What is Note:?",
    "answer": "I n s t a l l   k u b e c t l   s u d o   i n s t a l l   - o   r o o t   - g   r o o t   - m   0 7 5 5   k u b e c t l   / u s r / l o c a l / b i n / k u b e c t l",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17303"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   d o   n o t   h a v e   r o o t   a c c e s s   o n   t h e   t a r g e t   s y s t e m ,   y o u   c a n   s t i l l   i n s t a l l   k u b e c t l   t o   t h e   ~ / . l o c a l / b i n   d i r e c t o r y :   c h m o d   + x   k u b e c t l   m k d i r   - p   ~ / . l o c a l / b i n   m v   . / k u b e c t l   ~ / . l o c a l / b i n / k u b e c t l   #   a n d   t h e n   a p p e n d   ( o r   p r e p e n d )   ~ / . l o c a l / b i n   t o   $ P A T H   T e s t   t o   e n s u r e   t h e   v e r s i o n   y o u   i n s t a l l e d   i s   u p - t o - d a t e :   k u b e c t l   v e r s i o n   - - c l i e n t   O r   u s e   t h i s   f o r   d e t a i l e d   v i e w   o f   v e r s i o n :   k u b e c t l   v e r s i o n   - - c l i e n t   - - o u t p u t = y a m l",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17304"
  },
  {
    "question": "What is Install using native package management?",
    "answer": "U p d a t e   t h e   a p t   p a c k a g e   i n d e x   a n d   i n s t a l l   p a c k a g e s   n e e d e d   t o   u s e   t h e   K u b e r n e t e s   a p t   r e p o s i t o r y : s u d o   a p t - g e t   u p d a t e   #   a p t - t r a n s p o r t - h t t p s   m a y   b e   a   d u m m y   p a c k a g e ;   i f   s o ,   y o u   c a n   s k i p   t h a t   p a c k a g e   s u d o   a p t - g e t   i n s t a l l   - y   a p t - t r a n s p o r t - h t t p s   c a - c e r t i f i c a t e s   c u r l   g n u p g   D o w n l o a d   t h e   p u b l i c   s i g n i n g   k e y   f o r   t h e   K u b e r n e t e s   p a c k a g e   r e p o s i t o r i e s .   T h e   s a m e   s i g n i n g   k e y   i s   u s e d   f o r   a l l   r e p o s i t o r i e s   s o   y o u   c a n   d i s r e g a r d   t h e   v e r s i o n   i n   t h e   U R L : #   I f   t h e   f o l d e r   ` / e t c / a p t / k e y r i n g s `   d o e s   n o t   e x i s t ,   i t   s h o u l d   b e   c r e a t e d   b e f o r e   t h e   c u r l   c o m m a n d ,   r e a d   t h e   n o t e   b e l o w .   #   s u d o   m k d i r   - p   - m   7 5 5   / e t c / a p t / k e y r i n g s   c u r l   - f s S L   h t t p s : / / p k g s . k 8 s . i o / c o r e : / s t a b l e : / v 1 . 3 4 / d e b / R e l e a s e . k e y   |   s u d o   g p g   - - d e a r m o r   - o   / e t c / a p t / k e y r i n g s / k u b e r n e t e s - a p t - k e y r i n g . g p g   s u d o   c h m o d   6 4 4   / e t c / a p t / k e y r i n g s / k u b e r n e t e s - a p t - k e y r i n g . g p g   #   a l l o w   u n p r i v i l e g e d   A P T   p r o g r a m s   t o   r e a d   t h i s   k e y r i n g   N o t e : I n   r e l e a s e s   o l d e r   t h a n   D e b i a n   1 2   a n d   U b u n t u   2 2 . 0 4 ,   f o l d e r   / e t c / a p t / k e y r i n g s   d o e s   n o t   e x i s t   b y   d e f a u l t ,   a n d   i t   s h o u l d   b e   c r e a t e d   b e f o r e   t h e   c u r l   c o m m a n d . A ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17305"
  },
  {
    "question": "What is Note:?",
    "answer": "A d d   t h e   a p p r o p r i a t e   K u b e r n e t e s   a p t   r e p o s i t o r y .   I f   y o u   w a n t   t o   u s e   K u b e r n e t e s   v e r s i o n   d i f f e r e n t   t h a n   v 1 . 3 4 ,   r e p l a c e   v 1 . 3 4   w i t h   t h e   d e s i r e d   m i n o r   v e r s i o n   i n   t h e   c o m m a n d   b e l o w : #   T h i s   o v e r w r i t e s   a n y   e x i s t i n g   c o n f i g u r a t i o n   i n   / e t c / a p t / s o u r c e s . l i s t . d / k u b e r n e t e s . l i s t   e c h o   ' d e b   [ s i g n e d - b y = / e t c / a p t / k e y r i n g s / k u b e r n e t e s - a p t - k e y r i n g . g p g ]   h t t p s : / / p k g s . k 8 s . i o / c o r e : / s t a b l e : / v 1 . 3 4 / d e b /   / '   |   s u d o   t e e   / e t c / a p t / s o u r c e s . l i s t . d / k u b e r n e t e s . l i s t   s u d o   c h m o d   6 4 4   / e t c / a p t / s o u r c e s . l i s t . d / k u b e r n e t e s . l i s t   #   h e l p s   t o o l s   s u c h   a s   c o m m a n d - n o t - f o u n d   t o   w o r k   c o r r e c t l y   A d d   t h e   a p p r o p r i a t e   K u b e r n e t e s   a p t   r e p o s i t o r y .   I f   y o u   w a n t   t o   u s e   K u b e r n e t e s   v e r s i o n   d i f f e r e n t   t h a n   v 1 . 3 4 ,   r e p l a c e   v 1 . 3 4   w i t h   t h e   d e s i r e d   m i n o r   v e r s i o n   i n   t h e   c o m m a n d   b e l o w :   #   T h i s   o v e r w r i t e s   a n y   e x i s t i n g   c o n f i g u r a t i o n   i n   / e t c / a p t / s o u r c e s . l i s t . d / k u b e r n e t e s . l i s t   e c h o   ' d e b   [ s i g n e d - b y = / e t c / a p t / k e y r i n g s / k u b e r n e t e s - a p t - k e y r i n g . g p g ]   h t t p s : / / p k g s . k 8 s . i o / c o r e : / s t a b l e : / v 1 . 3 4 / d e b /   / '   |   s u d o   t e e   / e t c / a p t / s o u r c e s . l i s t . d / k u b e r n e t e s . l i s t   s u d o   c h m o d   6 4 4   / e t c / a p t / s o u r c e s . ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17306"
  },
  {
    "question": "What is Note:?",
    "answer": "U p d a t e   a p t   p a c k a g e   i n d e x ,   t h e n   i n s t a l l   k u b e c t l : s u d o   a p t - g e t   u p d a t e   s u d o   a p t - g e t   i n s t a l l   - y   k u b e c t l   U p d a t e   a p t   p a c k a g e   i n d e x ,   t h e n   i n s t a l l   k u b e c t l :   s u d o   a p t - g e t   u p d a t e   s u d o   a p t - g e t   i n s t a l l   - y   k u b e c t l   A d d   t h e   K u b e r n e t e s   y u m   r e p o s i t o r y .   I f   y o u   w a n t   t o   u s e   K u b e r n e t e s   v e r s i o n   d i f f e r e n t   t h a n   v 1 . 3 4 ,   r e p l a c e   v 1 . 3 4   w i t h   t h e   d e s i r e d   m i n o r   v e r s i o n   i n   t h e   c o m m a n d   b e l o w . #   T h i s   o v e r w r i t e s   a n y   e x i s t i n g   c o n f i g u r a t i o n   i n   / e t c / y u m . r e p o s . d / k u b e r n e t e s . r e p o   c a t   < < E O F   |   s u d o   t e e   / e t c / y u m . r e p o s . d / k u b e r n e t e s . r e p o   [ k u b e r n e t e s ]   n a m e = K u b e r n e t e s   b a s e u r l = h t t p s : / / p k g s . k 8 s . i o / c o r e : / s t a b l e : / v 1 . 3 4 / r p m /   e n a b l e d = 1   g p g c h e c k = 1   g p g k e y = h t t p s : / / p k g s . k 8 s . i o / c o r e : / s t a b l e : / v 1 . 3 4 / r p m / r e p o d a t a / r e p o m d . x m l . k e y   E O F   N o t e : T o   u p g r a d e   k u b e c t l   t o   a n o t h e r   m i n o r   r e l e a s e ,   y o u ' l l   n e e d   t o   b u m p   t h e   v e r s i o n   i n   / e t c / y u m . r e p o s . d / k u b e r n e t e s . r e p o   b e f o r e   r u n n i n g   y u m   u p d a t e .   T h i s   p r o c e d u r e   i s   d e s c r i b e d   i n   m o r e   d e t a i l   i n   C h a n g i n g   T h e   K u b e r n e t e s   P a c k a g e   R e p o s i t o r y . I n s t a l l   k u b e c t l   u s i n g   y u m : s u d o   y u m   i n s t a l l   - y   k u b e c t l   A d d   t h e   K u b e r n e t e s   y u m   r e p o s i t o r y .   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17307"
  },
  {
    "question": "What is Note:?",
    "answer": "I n s t a l l   k u b e c t l   u s i n g   y u m : s u d o   y u m   i n s t a l l   - y   k u b e c t l   I n s t a l l   k u b e c t l   u s i n g   y u m :   s u d o   y u m   i n s t a l l   - y   k u b e c t l   A d d   t h e   K u b e r n e t e s   z y p p e r   r e p o s i t o r y .   I f   y o u   w a n t   t o   u s e   K u b e r n e t e s   v e r s i o n   d i f f e r e n t   t h a n   v 1 . 3 4 ,   r e p l a c e   v 1 . 3 4   w i t h   t h e   d e s i r e d   m i n o r   v e r s i o n   i n   t h e   c o m m a n d   b e l o w . #   T h i s   o v e r w r i t e s   a n y   e x i s t i n g   c o n f i g u r a t i o n   i n   / e t c / z y p p / r e p o s . d / k u b e r n e t e s . r e p o   c a t   < < E O F   |   s u d o   t e e   / e t c / z y p p / r e p o s . d / k u b e r n e t e s . r e p o   [ k u b e r n e t e s ]   n a m e = K u b e r n e t e s   b a s e u r l = h t t p s : / / p k g s . k 8 s . i o / c o r e : / s t a b l e : / v 1 . 3 4 / r p m /   e n a b l e d = 1   g p g c h e c k = 1   g p g k e y = h t t p s : / / p k g s . k 8 s . i o / c o r e : / s t a b l e : / v 1 . 3 4 / r p m / r e p o d a t a / r e p o m d . x m l . k e y   E O F   N o t e : T o   u p g r a d e   k u b e c t l   t o   a n o t h e r   m i n o r   r e l e a s e ,   y o u ' l l   n e e d   t o   b u m p   t h e   v e r s i o n   i n   / e t c / z y p p / r e p o s . d / k u b e r n e t e s . r e p o   b e f o r e   r u n n i n g   z y p p e r   u p d a t e .   T h i s   p r o c e d u r e   i s   d e s c r i b e d   i n   m o r e   d e t a i l   i n   C h a n g i n g   T h e   K u b e r n e t e s   P a c k a g e   R e p o s i t o r y . U p d a t e   z y p p e r   a n d   c o n f i r m   t h e   n e w   r e p o   a d d i t i o n : s u d o   z y p p e r   u p d a t e   W h e n   t h i s   m e s s a g e   a p p e a r s ,   p r e s s   ' t '   o r   ' a ' : N e w   r e p o s i t o r y   o r   p a c k a g e   s i g n i n g   k e y   r e c e i v e d :   R e p o s i t o r y : ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17308"
  },
  {
    "question": "What is Note:?",
    "answer": "U p d a t e   z y p p e r   a n d   c o n f i r m   t h e   n e w   r e p o   a d d i t i o n : s u d o   z y p p e r   u p d a t e   W h e n   t h i s   m e s s a g e   a p p e a r s ,   p r e s s   ' t '   o r   ' a ' : N e w   r e p o s i t o r y   o r   p a c k a g e   s i g n i n g   k e y   r e c e i v e d :   R e p o s i t o r y :   K u b e r n e t e s   K e y   F i n g e r p r i n t :   1 1 1 1   2 2 2 2   3 3 3 3   4 4 4 4   5 5 5 5   6 6 6 6   7 7 7 7   8 8 8 8   9 9 9 9   A A A A   K e y   N a m e :   i s v : k u b e r n e t e s   O B S   P r o j e c t   < i s v : k u b e r n e t e s @ b u i l d . o p e n s u s e . o r g >   K e y   A l g o r i t h m :   R S A   2 0 4 8   K e y   C r e a t e d :   T h u   2 5   A u g   2 0 2 2   0 1 : 2 1 : 1 1   P M   - 0 3   K e y   E x p i r e s :   S a t   0 2   N o v   2 0 2 4   0 1 : 2 1 : 1 1   P M   - 0 3   ( e x p i r e s   i n   8 5   d a y s )   R p m   N a m e :   g p g - p u b k e y - 9 a 2 9 6 4 3 6 - 6 3 0 7 a 1 7 7   N o t e :   S i g n i n g   d a t a   e n a b l e s   t h e   r e c i p i e n t   t o   v e r i f y   t h a t   n o   m o d i f i c a t i o n s   o c c u r r e d   a f t e r   t h e   d a t a   w e r e   s i g n e d .   A c c e p t i n g   d a t a   w i t h   n o ,   w r o n g   o r   u n k n o w n   s i g n a t u r e   c a n   l e a d   t o   a   c o r r u p t e d   s y s t e m   a n d   i n   e x t r e m e   c a s e s   e v e n   t o   a   s y s t e m   c o m p r o m i s e .   N o t e :   A   G P G   p u b k e y   i s   c l e a r l y   i d e n t i f i e d   b y   i t s   f i n g e r p r i n t .   D o   n o t   r e l y   o n   t h e   k e y ' s   n a m e .   I f   y o u   a r e   n o t   s u r e   w h e t h e r   t h e   p r e s e n t e d   k e y   i s   a u t h e n t i c ,   a s k   t h e   r e p o s i t o r y   p r o v i d e r   o r   c h e c k   t h e i r   w e b   s i t e .   M a n y   p r o v i d e r s   m a i n t a i n   a   w e b   p a g e   s h o w i n g   t h e   f i n g e r p r i n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17309"
  },
  {
    "question": "What is Install using other package management?",
    "answer": "I f   y o u   a r e   o n   U b u n t u   o r   a n o t h e r   L i n u x   d i s t r i b u t i o n   t h a t   s u p p o r t s   t h e   s n a p   p a c k a g e   m a n a g e r ,   k u b e c t l   i s   a v a i l a b l e   a s   a   s n a p   a p p l i c a t i o n . s n a p   i n s t a l l   k u b e c t l   - - c l a s s i c   k u b e c t l   v e r s i o n   - - c l i e n t   I f   y o u   a r e   o n   U b u n t u   o r   a n o t h e r   L i n u x   d i s t r i b u t i o n   t h a t   s u p p o r t s   t h e   s n a p   p a c k a g e   m a n a g e r ,   k u b e c t l   i s   a v a i l a b l e   a s   a   s n a p   a p p l i c a t i o n .   s n a p   i n s t a l l   k u b e c t l   - - c l a s s i c   k u b e c t l   v e r s i o n   - - c l i e n t   I f   y o u   a r e   o n   L i n u x   a n d   u s i n g   H o m e b r e w   p a c k a g e   m a n a g e r ,   k u b e c t l   i s   a v a i l a b l e   f o r   i n s t a l l a t i o n . b r e w   i n s t a l l   k u b e c t l   k u b e c t l   v e r s i o n   - - c l i e n t   I f   y o u   a r e   o n   L i n u x   a n d   u s i n g   H o m e b r e w   p a c k a g e   m a n a g e r ,   k u b e c t l   i s   a v a i l a b l e   f o r   i n s t a l l a t i o n .   b r e w   i n s t a l l   k u b e c t l   k u b e c t l   v e r s i o n   - - c l i e n t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17310"
  },
  {
    "question": "What is Verify kubectl configuration?",
    "answer": "I n   o r d e r   f o r   k u b e c t l   t o   f i n d   a n d   a c c e s s   a   K u b e r n e t e s   c l u s t e r ,   i t   n e e d s   a   k u b e c o n f i g   f i l e ,   w h i c h   i s   c r e a t e d   a u t o m a t i c a l l y   w h e n   y o u   c r e a t e   a   c l u s t e r   u s i n g   k u b e - u p . s h   o r   s u c c e s s f u l l y   d e p l o y   a   M i n i k u b e   c l u s t e r .   B y   d e f a u l t ,   k u b e c t l   c o n f i g u r a t i o n   i s   l o c a t e d   a t   ~ / . k u b e / c o n f i g .   C h e c k   t h a t   k u b e c t l   i s   p r o p e r l y   c o n f i g u r e d   b y   g e t t i n g   t h e   c l u s t e r   s t a t e :   k u b e c t l   c l u s t e r - i n f o   I f   y o u   s e e   a   U R L   r e s p o n s e ,   k u b e c t l   i s   c o r r e c t l y   c o n f i g u r e d   t o   a c c e s s   y o u r   c l u s t e r .   I f   y o u   s e e   a   m e s s a g e   s i m i l a r   t o   t h e   f o l l o w i n g ,   k u b e c t l   i s   n o t   c o n f i g u r e d   c o r r e c t l y   o r   i s   n o t   a b l e   t o   c o n n e c t   t o   a   K u b e r n e t e s   c l u s t e r .   T h e   c o n n e c t i o n   t o   t h e   s e r v e r   < s e r v e r - n a m e : p o r t >   w a s   r e f u s e d   -   d i d   y o u   s p e c i f y   t h e   r i g h t   h o s t   o r   p o r t ?   F o r   e x a m p l e ,   i f   y o u   a r e   i n t e n d i n g   t o   r u n   a   K u b e r n e t e s   c l u s t e r   o n   y o u r   l a p t o p   ( l o c a l l y ) ,   y o u   w i l l   n e e d   a   t o o l   l i k e   M i n i k u b e   t o   b e   i n s t a l l e d   f i r s t   a n d   t h e n   r e - r u n   t h e   c o m m a n d s   s t a t e d   a b o v e .   I f   k u b e c t l   c l u s t e r - i n f o   r e t u r n s   t h e   u r l   r e s p o n s e   b u t   y o u   c a n ' t   a c c e s s   y o u r   c l u s t e r ,   t o   c h e c k   w h e t h e r   i t   i s   c o n f i g u r e d   p r o p e r l y ,   u ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17311"
  },
  {
    "question": "What is Troubleshooting the 'No Auth Provider Found' error message?",
    "answer": "I n   K u b e r n e t e s   1 . 2 6 ,   k u b e c t l   r e m o v e d   t h e   b u i l t - i n   a u t h e n t i c a t i o n   f o r   t h e   f o l l o w i n g   c l o u d   p r o v i d e r s '   m a n a g e d   K u b e r n e t e s   o f f e r i n g s .   T h e s e   p r o v i d e r s   h a v e   r e l e a s e d   k u b e c t l   p l u g i n s   t o   p r o v i d e   t h e   c l o u d - s p e c i f i c   a u t h e n t i c a t i o n .   F o r   i n s t r u c t i o n s ,   r e f e r   t o   t h e   f o l l o w i n g   p r o v i d e r   d o c u m e n t a t i o n :   A z u r e   A K S :   k u b e l o g i n   p l u g i n G o o g l e   K u b e r n e t e s   E n g i n e :   g k e - g c l o u d - a u t h - p l u g i n   ( T h e r e   c o u l d   a l s o   b e   o t h e r   r e a s o n s   t o   s e e   t h e   s a m e   e r r o r   m e s s a g e ,   u n r e l a t e d   t o   t h a t   c h a n g e . )",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17312"
  },
  {
    "question": "What is Enable shell autocompletion?",
    "answer": "k u b e c t l   p r o v i d e s   a u t o c o m p l e t i o n   s u p p o r t   f o r   B a s h ,   Z s h ,   F i s h ,   a n d   P o w e r S h e l l ,   w h i c h   c a n   s a v e   y o u   a   l o t   o f   t y p i n g .   B e l o w   a r e   t h e   p r o c e d u r e s   t o   s e t   u p   a u t o c o m p l e t i o n   f o r   B a s h ,   F i s h ,   a n d   Z s h .   I n t r o d u c t i o n T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   f o r   B a s h   c a n   b e   g e n e r a t e d   w i t h   t h e   c o m m a n d   k u b e c t l   c o m p l e t i o n   b a s h .   S o u r c i n g   t h e   c o m p l e t i o n   s c r i p t   i n   y o u r   s h e l l   e n a b l e s   k u b e c t l   a u t o c o m p l e t i o n . H o w e v e r ,   t h e   c o m p l e t i o n   s c r i p t   d e p e n d s   o n   b a s h - c o m p l e t i o n ,   w h i c h   m e a n s   t h a t   y o u   h a v e   t o   i n s t a l l   t h i s   s o f t w a r e   f i r s t   ( y o u   c a n   t e s t   i f   y o u   h a v e   b a s h - c o m p l e t i o n   a l r e a d y   i n s t a l l e d   b y   r u n n i n g   t y p e   _ i n i t _ c o m p l e t i o n ) . I n s t a l l   b a s h - c o m p l e t i o n b a s h - c o m p l e t i o n   i s   p r o v i d e d   b y   m a n y   p a c k a g e   m a n a g e r s   ( s e e   h e r e ) .   Y o u   c a n   i n s t a l l   i t   w i t h   a p t - g e t   i n s t a l l   b a s h - c o m p l e t i o n   o r   y u m   i n s t a l l   b a s h - c o m p l e t i o n ,   e t c . T h e   a b o v e   c o m m a n d s   c r e a t e   / u s r / s h a r e / b a s h - c o m p l e t i o n / b a s h _ c o m p l e t i o n ,   w h i c h   i s   t h e   m a i n   s c r i p t   o f   b a s h - c o m p l e t i o n .   D e p e n d i n g   o n   y o u r   p a c k a g e   m a n a g e r ,   y o u   h a v e   t o   m a n u a l l y   s o u r c e   t h i s   f i l e   i n   y o u r   ~ / . b a s h r c   f i l e . T o   f i n d   o u t ,   r e l o a d   y o u r   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17313"
  },
  {
    "question": "What is Introduction?",
    "answer": "T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   f o r   B a s h   c a n   b e   g e n e r a t e d   w i t h   t h e   c o m m a n d   k u b e c t l   c o m p l e t i o n   b a s h .   S o u r c i n g   t h e   c o m p l e t i o n   s c r i p t   i n   y o u r   s h e l l   e n a b l e s   k u b e c t l   a u t o c o m p l e t i o n .   H o w e v e r ,   t h e   c o m p l e t i o n   s c r i p t   d e p e n d s   o n   b a s h - c o m p l e t i o n ,   w h i c h   m e a n s   t h a t   y o u   h a v e   t o   i n s t a l l   t h i s   s o f t w a r e   f i r s t   ( y o u   c a n   t e s t   i f   y o u   h a v e   b a s h - c o m p l e t i o n   a l r e a d y   i n s t a l l e d   b y   r u n n i n g   t y p e   _ i n i t _ c o m p l e t i o n ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17314"
  },
  {
    "question": "What is Install bash-completion?",
    "answer": "b a s h - c o m p l e t i o n   i s   p r o v i d e d   b y   m a n y   p a c k a g e   m a n a g e r s   ( s e e   h e r e ) .   Y o u   c a n   i n s t a l l   i t   w i t h   a p t - g e t   i n s t a l l   b a s h - c o m p l e t i o n   o r   y u m   i n s t a l l   b a s h - c o m p l e t i o n ,   e t c .   T h e   a b o v e   c o m m a n d s   c r e a t e   / u s r / s h a r e / b a s h - c o m p l e t i o n / b a s h _ c o m p l e t i o n ,   w h i c h   i s   t h e   m a i n   s c r i p t   o f   b a s h - c o m p l e t i o n .   D e p e n d i n g   o n   y o u r   p a c k a g e   m a n a g e r ,   y o u   h a v e   t o   m a n u a l l y   s o u r c e   t h i s   f i l e   i n   y o u r   ~ / . b a s h r c   f i l e .   T o   f i n d   o u t ,   r e l o a d   y o u r   s h e l l   a n d   r u n   t y p e   _ i n i t _ c o m p l e t i o n .   I f   t h e   c o m m a n d   s u c c e e d s ,   y o u ' r e   a l r e a d y   s e t ,   o t h e r w i s e   a d d   t h e   f o l l o w i n g   t o   y o u r   ~ / . b a s h r c   f i l e :   s o u r c e   / u s r / s h a r e / b a s h - c o m p l e t i o n / b a s h _ c o m p l e t i o n   R e l o a d   y o u r   s h e l l   a n d   v e r i f y   t h a t   b a s h - c o m p l e t i o n   i s   c o r r e c t l y   i n s t a l l e d   b y   t y p i n g   t y p e   _ i n i t _ c o m p l e t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17315"
  },
  {
    "question": "What is Bash?",
    "answer": "Y o u   n o w   n e e d   t o   e n s u r e   t h a t   t h e   k u b e c t l   c o m p l e t i o n   s c r i p t   g e t s   s o u r c e d   i n   a l l   y o u r   s h e l l   s e s s i o n s .   T h e r e   a r e   t w o   w a y s   i n   w h i c h   y o u   c a n   d o   t h i s :   e c h o   ' s o u r c e   < ( k u b e c t l   c o m p l e t i o n   b a s h ) '   > > ~ / . b a s h r c   e c h o   ' s o u r c e   < ( k u b e c t l   c o m p l e t i o n   b a s h ) '   > > ~ / . b a s h r c   k u b e c t l   c o m p l e t i o n   b a s h   |   s u d o   t e e   / e t c / b a s h _ c o m p l e t i o n . d / k u b e c t l   >   / d e v / n u l l   s u d o   c h m o d   a + r   / e t c / b a s h _ c o m p l e t i o n . d / k u b e c t l   k u b e c t l   c o m p l e t i o n   b a s h   |   s u d o   t e e   / e t c / b a s h _ c o m p l e t i o n . d / k u b e c t l   >   / d e v / n u l l   s u d o   c h m o d   a + r   / e t c / b a s h _ c o m p l e t i o n . d / k u b e c t l   I f   y o u   h a v e   a n   a l i a s   f o r   k u b e c t l ,   y o u   c a n   e x t e n d   s h e l l   c o m p l e t i o n   t o   w o r k   w i t h   t h a t   a l i a s :   e c h o   ' a l i a s   k = k u b e c t l '   > > ~ / . b a s h r c   e c h o   ' c o m p l e t e   - o   d e f a u l t   - F   _ _ s t a r t _ k u b e c t l   k '   > > ~ / . b a s h r c",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17316"
  },
  {
    "question": "What is Note:?",
    "answer": "B o t h   a p p r o a c h e s   a r e   e q u i v a l e n t .   A f t e r   r e l o a d i n g   y o u r   s h e l l ,   k u b e c t l   a u t o c o m p l e t i o n   s h o u l d   b e   w o r k i n g .   T o   e n a b l e   b a s h   a u t o c o m p l e t i o n   i n   c u r r e n t   s e s s i o n   o f   s h e l l ,   s o u r c e   t h e   ~ / . b a s h r c   f i l e :   s o u r c e   ~ / . b a s h r c   N o t e : A u t o c o m p l e t e   f o r   F i s h   r e q u i r e s   k u b e c t l   1 . 2 3   o r   l a t e r . T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   f o r   F i s h   c a n   b e   g e n e r a t e d   w i t h   t h e   c o m m a n d   k u b e c t l   c o m p l e t i o n   f i s h .   S o u r c i n g   t h e   c o m p l e t i o n   s c r i p t   i n   y o u r   s h e l l   e n a b l e s   k u b e c t l   a u t o c o m p l e t i o n . T o   d o   s o   i n   a l l   y o u r   s h e l l   s e s s i o n s ,   a d d   t h e   f o l l o w i n g   l i n e   t o   y o u r   ~ / . c o n f i g / f i s h / c o n f i g . f i s h   f i l e : k u b e c t l   c o m p l e t i o n   f i s h   |   s o u r c e   A f t e r   r e l o a d i n g   y o u r   s h e l l ,   k u b e c t l   a u t o c o m p l e t i o n   s h o u l d   b e   w o r k i n g .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17317"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   f o r   F i s h   c a n   b e   g e n e r a t e d   w i t h   t h e   c o m m a n d   k u b e c t l   c o m p l e t i o n   f i s h .   S o u r c i n g   t h e   c o m p l e t i o n   s c r i p t   i n   y o u r   s h e l l   e n a b l e s   k u b e c t l   a u t o c o m p l e t i o n .   T o   d o   s o   i n   a l l   y o u r   s h e l l   s e s s i o n s ,   a d d   t h e   f o l l o w i n g   l i n e   t o   y o u r   ~ / . c o n f i g / f i s h / c o n f i g . f i s h   f i l e :   k u b e c t l   c o m p l e t i o n   f i s h   |   s o u r c e   A f t e r   r e l o a d i n g   y o u r   s h e l l ,   k u b e c t l   a u t o c o m p l e t i o n   s h o u l d   b e   w o r k i n g .   T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   f o r   Z s h   c a n   b e   g e n e r a t e d   w i t h   t h e   c o m m a n d   k u b e c t l   c o m p l e t i o n   z s h .   S o u r c i n g   t h e   c o m p l e t i o n   s c r i p t   i n   y o u r   s h e l l   e n a b l e s   k u b e c t l   a u t o c o m p l e t i o n . T o   d o   s o   i n   a l l   y o u r   s h e l l   s e s s i o n s ,   a d d   t h e   f o l l o w i n g   t o   y o u r   ~ / . z s h r c   f i l e : s o u r c e   < ( k u b e c t l   c o m p l e t i o n   z s h )   I f   y o u   h a v e   a n   a l i a s   f o r   k u b e c t l ,   k u b e c t l   a u t o c o m p l e t i o n   w i l l   a u t o m a t i c a l l y   w o r k   w i t h   i t . A f t e r   r e l o a d i n g   y o u r   s h e l l ,   k u b e c t l   a u t o c o m p l e t i o n   s h o u l d   b e   w o r k i n g . I f   y o u   g e t   a n   e r r o r   l i k e   2 :   c o m m a n d   n o t   f o u n d :   c o m p d e f ,   t h e n   a d d   t h e   f o l l o w i n g   t o   t h e   b e g i n n i n g   o f   y o u r   ~ / . z s h r c   f i l e : a u t o l o a d   - U z   c o m p i n i t   c o m p i n i t   T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   f o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17318"
  },
  {
    "question": "What is Configure kuberc?",
    "answer": "S e e   k u b e r c   f o r   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17319"
  },
  {
    "question": "What is Install kubectl convert plugin?",
    "answer": "A   p l u g i n   f o r   K u b e r n e t e s   c o m m a n d - l i n e   t o o l   k u b e c t l ,   w h i c h   a l l o w s   y o u   t o   c o n v e r t   m a n i f e s t s   b e t w e e n   d i f f e r e n t   A P I   v e r s i o n s .   T h i s   c a n   b e   p a r t i c u l a r l y   h e l p f u l   t o   m i g r a t e   m a n i f e s t s   t o   a   n o n - d e p r e c a t e d   a p i   v e r s i o n   w i t h   n e w e r   K u b e r n e t e s   r e l e a s e .   F o r   m o r e   i n f o ,   v i s i t   m i g r a t e   t o   n o n   d e p r e c a t e d   a p i s   D o w n l o a d   t h e   l a t e s t   r e l e a s e   w i t h   t h e   c o m m a n d :   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a m d 6 4 / k u b e c t l - c o n v e r t \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a r m 6 4 / k u b e c t l - c o n v e r t \"   V a l i d a t e   t h e   b i n a r y   ( o p t i o n a l ) D o w n l o a d   t h e   k u b e c t l - c o n v e r t   c h e c k s u m   f i l e :   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a m d 6 4 / k u b e c t l - c o n v e r t . s h a 2 5 6 \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / l i n u x / a r m 6 4 / k u b e c t l - c o n v e r t . s h a 2 5 6 \"   V a l i d a t e   t h e   k u b e c t l - c o n v e r t   b i n a r y   a g a i n s t   t h e   c h e c k s u m   f i l e : e c h o   \" $ ( c a t   k u b e c t l - c o n v e r t . s h a 2 5 6 ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17320"
  },
  {
    "question": "What is Note:?",
    "answer": "I n s t a l l   k u b e c t l - c o n v e r t   s u d o   i n s t a l l   - o   r o o t   - g   r o o t   - m   0 7 5 5   k u b e c t l - c o n v e r t   / u s r / l o c a l / b i n / k u b e c t l - c o n v e r t   V e r i f y   p l u g i n   i s   s u c c e s s f u l l y   i n s t a l l e d   k u b e c t l   c o n v e r t   - - h e l p   I f   y o u   d o   n o t   s e e   a n   e r r o r ,   i t   m e a n s   t h e   p l u g i n   i s   s u c c e s s f u l l y   i n s t a l l e d .   A f t e r   i n s t a l l i n g   t h e   p l u g i n ,   c l e a n   u p   t h e   i n s t a l l a t i o n   f i l e s :   r m   k u b e c t l - c o n v e r t   k u b e c t l - c o n v e r t . s h a 2 5 6",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17321"
  },
  {
    "question": "What is What's next?",
    "answer": "I n s t a l l   M i n i k u b e S e e   t h e   g e t t i n g   s t a r t e d   g u i d e s   f o r   m o r e   a b o u t   c r e a t i n g   c l u s t e r s . L e a r n   h o w   t o   l a u n c h   a n d   e x p o s e   y o u r   a p p l i c a t i o n . I f   y o u   n e e d   a c c e s s   t o   a   c l u s t e r   y o u   d i d n ' t   c r e a t e ,   s e e   t h e   S h a r i n g   C l u s t e r   A c c e s s   d o c u m e n t . R e a d   t h e   k u b e c t l   r e f e r e n c e   d o c s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17322"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   m u s t   u s e   a   k u b e c t l   v e r s i o n   t h a t   i s   w i t h i n   o n e   m i n o r   v e r s i o n   d i f f e r e n c e   o f   y o u r   c l u s t e r .   F o r   e x a m p l e ,   a   v 1 . 3 4   c l i e n t   c a n   c o m m u n i c a t e   w i t h   v 1 . 3 3 ,   v 1 . 3 4 ,   a n d   v 1 . 3 5   c o n t r o l   p l a n e s .   U s i n g   t h e   l a t e s t   c o m p a t i b l e   v e r s i o n   o f   k u b e c t l   h e l p s   a v o i d   u n f o r e s e e n   i s s u e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17323"
  },
  {
    "question": "What is Install kubectl on macOS?",
    "answer": "T h e   f o l l o w i n g   m e t h o d s   e x i s t   f o r   i n s t a l l i n g   k u b e c t l   o n   m a c O S :   I n s t a l l   k u b e c t l   o n   m a c O S I n s t a l l   k u b e c t l   b i n a r y   w i t h   c u r l   o n   m a c O S I n s t a l l   w i t h   H o m e b r e w   o n   m a c O S I n s t a l l   w i t h   M a c p o r t s   o n   m a c O S V e r i f y   k u b e c t l   c o n f i g u r a t i o n O p t i o n a l   k u b e c t l   c o n f i g u r a t i o n s   a n d   p l u g i n s E n a b l e   s h e l l   a u t o c o m p l e t i o n I n s t a l l   k u b e c t l   c o n v e r t   p l u g i n   I n s t a l l   k u b e c t l   b i n a r y   w i t h   c u r l   o n   m a c O S I n s t a l l   w i t h   H o m e b r e w   o n   m a c O S I n s t a l l   w i t h   M a c p o r t s   o n   m a c O S   E n a b l e   s h e l l   a u t o c o m p l e t i o n I n s t a l l   k u b e c t l   c o n v e r t   p l u g i n",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17324"
  },
  {
    "question": "What is Install kubectl binary with curl on macOS?",
    "answer": "D o w n l o a d   t h e   l a t e s t   r e l e a s e :   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / d a r w i n / a m d 6 4 / k u b e c t l \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / d a r w i n / a r m 6 4 / k u b e c t l \"   N o t e : T o   d o w n l o a d   a   s p e c i f i c   v e r s i o n ,   r e p l a c e   t h e   $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t )   p o r t i o n   o f   t h e   c o m m a n d   w i t h   t h e   s p e c i f i c   v e r s i o n . F o r   e x a m p l e ,   t o   d o w n l o a d   v e r s i o n   1 . 3 4 . 0   o n   I n t e l   m a c O S ,   t y p e : c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / v 1 . 3 4 . 0 / b i n / d a r w i n / a m d 6 4 / k u b e c t l \"   A n d   f o r   m a c O S   o n   A p p l e   S i l i c o n ,   t y p e : c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / v 1 . 3 4 . 0 / b i n / d a r w i n / a r m 6 4 / k u b e c t l \"   V a l i d a t e   t h e   b i n a r y   ( o p t i o n a l ) D o w n l o a d   t h e   k u b e c t l   c h e c k s u m   f i l e :   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / d a r w i n / a m d 6 4 / k u b e c t l . s h a 2 5 6 \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / d a r w i n / a r m 6 4 / k u b e c t l . s h a 2 5 6 \"   V a l i d a t e   t h e   k u b e c t l   b i n a r y   a g a i n s t   t h e   c h e c k s u m   f i l ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17325"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   d o w n l o a d   a   s p e c i f i c   v e r s i o n ,   r e p l a c e   t h e   $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t )   p o r t i o n   o f   t h e   c o m m a n d   w i t h   t h e   s p e c i f i c   v e r s i o n .   F o r   e x a m p l e ,   t o   d o w n l o a d   v e r s i o n   1 . 3 4 . 0   o n   I n t e l   m a c O S ,   t y p e :   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / v 1 . 3 4 . 0 / b i n / d a r w i n / a m d 6 4 / k u b e c t l \"   A n d   f o r   m a c O S   o n   A p p l e   S i l i c o n ,   t y p e :   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / v 1 . 3 4 . 0 / b i n / d a r w i n / a r m 6 4 / k u b e c t l \"   V a l i d a t e   t h e   b i n a r y   ( o p t i o n a l )   D o w n l o a d   t h e   k u b e c t l   c h e c k s u m   f i l e :   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / d a r w i n / a m d 6 4 / k u b e c t l . s h a 2 5 6 \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / d a r w i n / a m d 6 4 / k u b e c t l . s h a 2 5 6 \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / d a r w i n / a r m 6 4 / k u b e c t l . s h a 2 5 6 \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / d a r w i n / a r m 6 4 / k u b e c t l . s h a 2 5 6 \"   V a l i d a t e   t h e   k u b e c t l   b i n a r y   a g a i n s t   t h e   c h e c k s u m   f i l e :   e c h o   \" $ ( c a t   k ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17326"
  },
  {
    "question": "What is Note:?",
    "answer": "M a k e   t h e   k u b e c t l   b i n a r y   e x e c u t a b l e .   c h m o d   + x   . / k u b e c t l   M o v e   t h e   k u b e c t l   b i n a r y   t o   a   f i l e   l o c a t i o n   o n   y o u r   s y s t e m   P A T H .   s u d o   m v   . / k u b e c t l   / u s r / l o c a l / b i n / k u b e c t l   s u d o   c h o w n   r o o t :   / u s r / l o c a l / b i n / k u b e c t l",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17327"
  },
  {
    "question": "What is Note:?",
    "answer": "T e s t   t o   e n s u r e   t h e   v e r s i o n   y o u   i n s t a l l e d   i s   u p - t o - d a t e :   k u b e c t l   v e r s i o n   - - c l i e n t   O r   u s e   t h i s   f o r   d e t a i l e d   v i e w   o f   v e r s i o n :   k u b e c t l   v e r s i o n   - - c l i e n t   - - o u t p u t = y a m l   A f t e r   i n s t a l l i n g   a n d   v a l i d a t i n g   k u b e c t l ,   d e l e t e   t h e   c h e c k s u m   f i l e :   r m   k u b e c t l . s h a 2 5 6",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17328"
  },
  {
    "question": "What is Install with Homebrew on macOS?",
    "answer": "I f   y o u   a r e   o n   m a c O S   a n d   u s i n g   H o m e b r e w   p a c k a g e   m a n a g e r ,   y o u   c a n   i n s t a l l   k u b e c t l   w i t h   H o m e b r e w .   R u n   t h e   i n s t a l l a t i o n   c o m m a n d : b r e w   i n s t a l l   k u b e c t l   o r b r e w   i n s t a l l   k u b e r n e t e s - c l i   T e s t   t o   e n s u r e   t h e   v e r s i o n   y o u   i n s t a l l e d   i s   u p - t o - d a t e : k u b e c t l   v e r s i o n   - - c l i e n t   R u n   t h e   i n s t a l l a t i o n   c o m m a n d :   b r e w   i n s t a l l   k u b e c t l   o r   b r e w   i n s t a l l   k u b e r n e t e s - c l i   T e s t   t o   e n s u r e   t h e   v e r s i o n   y o u   i n s t a l l e d   i s   u p - t o - d a t e :   k u b e c t l   v e r s i o n   - - c l i e n t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17329"
  },
  {
    "question": "What is Install with Macports on macOS?",
    "answer": "I f   y o u   a r e   o n   m a c O S   a n d   u s i n g   M a c p o r t s   p a c k a g e   m a n a g e r ,   y o u   c a n   i n s t a l l   k u b e c t l   w i t h   M a c p o r t s .   R u n   t h e   i n s t a l l a t i o n   c o m m a n d : s u d o   p o r t   s e l f u p d a t e   s u d o   p o r t   i n s t a l l   k u b e c t l   T e s t   t o   e n s u r e   t h e   v e r s i o n   y o u   i n s t a l l e d   i s   u p - t o - d a t e : k u b e c t l   v e r s i o n   - - c l i e n t   R u n   t h e   i n s t a l l a t i o n   c o m m a n d :   s u d o   p o r t   s e l f u p d a t e   s u d o   p o r t   i n s t a l l   k u b e c t l   T e s t   t o   e n s u r e   t h e   v e r s i o n   y o u   i n s t a l l e d   i s   u p - t o - d a t e :   k u b e c t l   v e r s i o n   - - c l i e n t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17330"
  },
  {
    "question": "What is Verify kubectl configuration?",
    "answer": "I n   o r d e r   f o r   k u b e c t l   t o   f i n d   a n d   a c c e s s   a   K u b e r n e t e s   c l u s t e r ,   i t   n e e d s   a   k u b e c o n f i g   f i l e ,   w h i c h   i s   c r e a t e d   a u t o m a t i c a l l y   w h e n   y o u   c r e a t e   a   c l u s t e r   u s i n g   k u b e - u p . s h   o r   s u c c e s s f u l l y   d e p l o y   a   M i n i k u b e   c l u s t e r .   B y   d e f a u l t ,   k u b e c t l   c o n f i g u r a t i o n   i s   l o c a t e d   a t   ~ / . k u b e / c o n f i g .   C h e c k   t h a t   k u b e c t l   i s   p r o p e r l y   c o n f i g u r e d   b y   g e t t i n g   t h e   c l u s t e r   s t a t e :   k u b e c t l   c l u s t e r - i n f o   I f   y o u   s e e   a   U R L   r e s p o n s e ,   k u b e c t l   i s   c o r r e c t l y   c o n f i g u r e d   t o   a c c e s s   y o u r   c l u s t e r .   I f   y o u   s e e   a   m e s s a g e   s i m i l a r   t o   t h e   f o l l o w i n g ,   k u b e c t l   i s   n o t   c o n f i g u r e d   c o r r e c t l y   o r   i s   n o t   a b l e   t o   c o n n e c t   t o   a   K u b e r n e t e s   c l u s t e r .   T h e   c o n n e c t i o n   t o   t h e   s e r v e r   < s e r v e r - n a m e : p o r t >   w a s   r e f u s e d   -   d i d   y o u   s p e c i f y   t h e   r i g h t   h o s t   o r   p o r t ?   F o r   e x a m p l e ,   i f   y o u   a r e   i n t e n d i n g   t o   r u n   a   K u b e r n e t e s   c l u s t e r   o n   y o u r   l a p t o p   ( l o c a l l y ) ,   y o u   w i l l   n e e d   a   t o o l   l i k e   M i n i k u b e   t o   b e   i n s t a l l e d   f i r s t   a n d   t h e n   r e - r u n   t h e   c o m m a n d s   s t a t e d   a b o v e .   I f   k u b e c t l   c l u s t e r - i n f o   r e t u r n s   t h e   u r l   r e s p o n s e   b u t   y o u   c a n ' t   a c c e s s   y o u r   c l u s t e r ,   t o   c h e c k   w h e t h e r   i t   i s   c o n f i g u r e d   p r o p e r l y ,   u ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17331"
  },
  {
    "question": "What is Troubleshooting the 'No Auth Provider Found' error message?",
    "answer": "I n   K u b e r n e t e s   1 . 2 6 ,   k u b e c t l   r e m o v e d   t h e   b u i l t - i n   a u t h e n t i c a t i o n   f o r   t h e   f o l l o w i n g   c l o u d   p r o v i d e r s '   m a n a g e d   K u b e r n e t e s   o f f e r i n g s .   T h e s e   p r o v i d e r s   h a v e   r e l e a s e d   k u b e c t l   p l u g i n s   t o   p r o v i d e   t h e   c l o u d - s p e c i f i c   a u t h e n t i c a t i o n .   F o r   i n s t r u c t i o n s ,   r e f e r   t o   t h e   f o l l o w i n g   p r o v i d e r   d o c u m e n t a t i o n :   A z u r e   A K S :   k u b e l o g i n   p l u g i n G o o g l e   K u b e r n e t e s   E n g i n e :   g k e - g c l o u d - a u t h - p l u g i n   ( T h e r e   c o u l d   a l s o   b e   o t h e r   r e a s o n s   t o   s e e   t h e   s a m e   e r r o r   m e s s a g e ,   u n r e l a t e d   t o   t h a t   c h a n g e . )",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17332"
  },
  {
    "question": "What is Enable shell autocompletion?",
    "answer": "k u b e c t l   p r o v i d e s   a u t o c o m p l e t i o n   s u p p o r t   f o r   B a s h ,   Z s h ,   F i s h ,   a n d   P o w e r S h e l l   w h i c h   c a n   s a v e   y o u   a   l o t   o f   t y p i n g .   B e l o w   a r e   t h e   p r o c e d u r e s   t o   s e t   u p   a u t o c o m p l e t i o n   f o r   B a s h ,   F i s h ,   a n d   Z s h .   I n t r o d u c t i o n T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   f o r   B a s h   c a n   b e   g e n e r a t e d   w i t h   k u b e c t l   c o m p l e t i o n   b a s h .   S o u r c i n g   t h i s   s c r i p t   i n   y o u r   s h e l l   e n a b l e s   k u b e c t l   c o m p l e t i o n . H o w e v e r ,   t h e   k u b e c t l   c o m p l e t i o n   s c r i p t   d e p e n d s   o n   b a s h - c o m p l e t i o n   w h i c h   y o u   t h u s   h a v e   t o   p r e v i o u s l y   i n s t a l l . W a r n i n g : T h e r e   a r e   t w o   v e r s i o n s   o f   b a s h - c o m p l e t i o n ,   v 1   a n d   v 2 .   V 1   i s   f o r   B a s h   3 . 2   ( w h i c h   i s   t h e   d e f a u l t   o n   m a c O S ) ,   a n d   v 2   i s   f o r   B a s h   4 . 1 + .   T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   d o e s n ' t   w o r k   c o r r e c t l y   w i t h   b a s h - c o m p l e t i o n   v 1   a n d   B a s h   3 . 2 .   I t   r e q u i r e s   b a s h - c o m p l e t i o n   v 2   a n d   B a s h   4 . 1 + .   T h u s ,   t o   b e   a b l e   t o   c o r r e c t l y   u s e   k u b e c t l   c o m p l e t i o n   o n   m a c O S ,   y o u   h a v e   t o   i n s t a l l   a n d   u s e   B a s h   4 . 1 +   ( i n s t r u c t i o n s ) .   T h e   f o l l o w i n g   i n s t r u c t i o n s   a s s u m e   t h a t   y o u   u s e   B a s h   4 . 1 +   ( t h a t   i s ,   a n y   B a s h   v e r s i o n   o f   4 . 1   o r   n e w e r ) . U p g r a d e   B a s h T h e   i n s t r u c t i o n s   h e r e   a s s u m e   y o u   u s e   B a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17333"
  },
  {
    "question": "What is Introduction?",
    "answer": "T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   f o r   B a s h   c a n   b e   g e n e r a t e d   w i t h   k u b e c t l   c o m p l e t i o n   b a s h .   S o u r c i n g   t h i s   s c r i p t   i n   y o u r   s h e l l   e n a b l e s   k u b e c t l   c o m p l e t i o n .   H o w e v e r ,   t h e   k u b e c t l   c o m p l e t i o n   s c r i p t   d e p e n d s   o n   b a s h - c o m p l e t i o n   w h i c h   y o u   t h u s   h a v e   t o   p r e v i o u s l y   i n s t a l l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17334"
  },
  {
    "question": "What is Upgrade Bash?",
    "answer": "T h e   i n s t r u c t i o n s   h e r e   a s s u m e   y o u   u s e   B a s h   4 . 1 + .   Y o u   c a n   c h e c k   y o u r   B a s h ' s   v e r s i o n   b y   r u n n i n g :   e c h o   $ B A S H _ V E R S I O N   I f   i t   i s   t o o   o l d ,   y o u   c a n   i n s t a l l / u p g r a d e   i t   u s i n g   H o m e b r e w :   b r e w   i n s t a l l   b a s h   R e l o a d   y o u r   s h e l l   a n d   v e r i f y   t h a t   t h e   d e s i r e d   v e r s i o n   i s   b e i n g   u s e d :   e c h o   $ B A S H _ V E R S I O N   $ S H E L L   H o m e b r e w   u s u a l l y   i n s t a l l s   i t   a t   / u s r / l o c a l / b i n / b a s h .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17335"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   t e s t   i f   y o u   h a v e   b a s h - c o m p l e t i o n   v 2   a l r e a d y   i n s t a l l e d   w i t h   t y p e   _ i n i t _ c o m p l e t i o n .   I f   n o t ,   y o u   c a n   i n s t a l l   i t   w i t h   H o m e b r e w :   b r e w   i n s t a l l   b a s h - c o m p l e t i o n @ 2   A s   s t a t e d   i n   t h e   o u t p u t   o f   t h i s   c o m m a n d ,   a d d   t h e   f o l l o w i n g   t o   y o u r   ~ / . b a s h _ p r o f i l e   f i l e :   b r e w _ e t c = \" $ ( b r e w   - - p r e f i x ) / e t c \"   & &   [ [   - r   \" $ { b r e w _ e t c } / p r o f i l e . d / b a s h _ c o m p l e t i o n . s h \"   ] ]   & &   .   \" $ { b r e w _ e t c } / p r o f i l e . d / b a s h _ c o m p l e t i o n . s h \"   R e l o a d   y o u r   s h e l l   a n d   v e r i f y   t h a t   b a s h - c o m p l e t i o n   v 2   i s   c o r r e c t l y   i n s t a l l e d   w i t h   t y p e   _ i n i t _ c o m p l e t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17336"
  },
  {
    "question": "What is Enable kubectl autocompletion?",
    "answer": "Y o u   n o w   h a v e   t o   e n s u r e   t h a t   t h e   k u b e c t l   c o m p l e t i o n   s c r i p t   g e t s   s o u r c e d   i n   a l l   y o u r   s h e l l   s e s s i o n s .   T h e r e   a r e   m u l t i p l e   w a y s   t o   a c h i e v e   t h i s :   S o u r c e   t h e   c o m p l e t i o n   s c r i p t   i n   y o u r   ~ / . b a s h _ p r o f i l e   f i l e : e c h o   ' s o u r c e   < ( k u b e c t l   c o m p l e t i o n   b a s h ) '   > > ~ / . b a s h _ p r o f i l e   A d d   t h e   c o m p l e t i o n   s c r i p t   t o   t h e   / u s r / l o c a l / e t c / b a s h _ c o m p l e t i o n . d   d i r e c t o r y : k u b e c t l   c o m p l e t i o n   b a s h   > / u s r / l o c a l / e t c / b a s h _ c o m p l e t i o n . d / k u b e c t l   I f   y o u   h a v e   a n   a l i a s   f o r   k u b e c t l ,   y o u   c a n   e x t e n d   s h e l l   c o m p l e t i o n   t o   w o r k   w i t h   t h a t   a l i a s : e c h o   ' a l i a s   k = k u b e c t l '   > > ~ / . b a s h _ p r o f i l e   e c h o   ' c o m p l e t e   - o   d e f a u l t   - F   _ _ s t a r t _ k u b e c t l   k '   > > ~ / . b a s h _ p r o f i l e   I f   y o u   i n s t a l l e d   k u b e c t l   w i t h   H o m e b r e w   ( a s   e x p l a i n e d   h e r e ) ,   t h e n   t h e   k u b e c t l   c o m p l e t i o n   s c r i p t   s h o u l d   a l r e a d y   b e   i n   / u s r / l o c a l / e t c / b a s h _ c o m p l e t i o n . d / k u b e c t l .   I n   t h a t   c a s e ,   y o u   d o n ' t   n e e d   t o   d o   a n y t h i n g . N o t e : T h e   H o m e b r e w   i n s t a l l a t i o n   o f   b a s h - c o m p l e t i o n   v 2   s o u r c e s   a l l   t h e   f i l e s   i n   t h e   B A S H _ C O M P L E T I O N _ C O M P A T _ D I R   d i r e c t o r y ,   t h a t ' s   w h y   t h e   l a t t e r   t w o   m e t h o d s   w o r k .   S o u r c e   t h e   c o m p l e t i o n   s c r i p t   i n   y o u r   ~ / . b a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17337"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   a n y   c a s e ,   a f t e r   r e l o a d i n g   y o u r   s h e l l ,   k u b e c t l   c o m p l e t i o n   s h o u l d   b e   w o r k i n g .   N o t e : A u t o c o m p l e t e   f o r   F i s h   r e q u i r e s   k u b e c t l   1 . 2 3   o r   l a t e r . T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   f o r   F i s h   c a n   b e   g e n e r a t e d   w i t h   t h e   c o m m a n d   k u b e c t l   c o m p l e t i o n   f i s h .   S o u r c i n g   t h e   c o m p l e t i o n   s c r i p t   i n   y o u r   s h e l l   e n a b l e s   k u b e c t l   a u t o c o m p l e t i o n . T o   d o   s o   i n   a l l   y o u r   s h e l l   s e s s i o n s ,   a d d   t h e   f o l l o w i n g   l i n e   t o   y o u r   ~ / . c o n f i g / f i s h / c o n f i g . f i s h   f i l e : k u b e c t l   c o m p l e t i o n   f i s h   |   s o u r c e   A f t e r   r e l o a d i n g   y o u r   s h e l l ,   k u b e c t l   a u t o c o m p l e t i o n   s h o u l d   b e   w o r k i n g .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17338"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   f o r   F i s h   c a n   b e   g e n e r a t e d   w i t h   t h e   c o m m a n d   k u b e c t l   c o m p l e t i o n   f i s h .   S o u r c i n g   t h e   c o m p l e t i o n   s c r i p t   i n   y o u r   s h e l l   e n a b l e s   k u b e c t l   a u t o c o m p l e t i o n .   T o   d o   s o   i n   a l l   y o u r   s h e l l   s e s s i o n s ,   a d d   t h e   f o l l o w i n g   l i n e   t o   y o u r   ~ / . c o n f i g / f i s h / c o n f i g . f i s h   f i l e :   k u b e c t l   c o m p l e t i o n   f i s h   |   s o u r c e   A f t e r   r e l o a d i n g   y o u r   s h e l l ,   k u b e c t l   a u t o c o m p l e t i o n   s h o u l d   b e   w o r k i n g .   T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   f o r   Z s h   c a n   b e   g e n e r a t e d   w i t h   t h e   c o m m a n d   k u b e c t l   c o m p l e t i o n   z s h .   S o u r c i n g   t h e   c o m p l e t i o n   s c r i p t   i n   y o u r   s h e l l   e n a b l e s   k u b e c t l   a u t o c o m p l e t i o n . T o   d o   s o   i n   a l l   y o u r   s h e l l   s e s s i o n s ,   a d d   t h e   f o l l o w i n g   t o   y o u r   ~ / . z s h r c   f i l e : s o u r c e   < ( k u b e c t l   c o m p l e t i o n   z s h )   I f   y o u   h a v e   a n   a l i a s   f o r   k u b e c t l ,   k u b e c t l   a u t o c o m p l e t i o n   w i l l   a u t o m a t i c a l l y   w o r k   w i t h   i t . A f t e r   r e l o a d i n g   y o u r   s h e l l ,   k u b e c t l   a u t o c o m p l e t i o n   s h o u l d   b e   w o r k i n g . I f   y o u   g e t   a n   e r r o r   l i k e   2 :   c o m m a n d   n o t   f o u n d :   c o m p d e f ,   t h e n   a d d   t h e   f o l l o w i n g   t o   t h e   b e g i n n i n g   o f   y o u r   ~ / . z s h r c   f i l e : a u t o l o a d   - U z   c o m p i n i t   c o m p i n i t   T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   f o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17339"
  },
  {
    "question": "What is Configure kuberc?",
    "answer": "S e e   k u b e r c   f o r   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17340"
  },
  {
    "question": "What is Install kubectl convert plugin?",
    "answer": "A   p l u g i n   f o r   K u b e r n e t e s   c o m m a n d - l i n e   t o o l   k u b e c t l ,   w h i c h   a l l o w s   y o u   t o   c o n v e r t   m a n i f e s t s   b e t w e e n   d i f f e r e n t   A P I   v e r s i o n s .   T h i s   c a n   b e   p a r t i c u l a r l y   h e l p f u l   t o   m i g r a t e   m a n i f e s t s   t o   a   n o n - d e p r e c a t e d   a p i   v e r s i o n   w i t h   n e w e r   K u b e r n e t e s   r e l e a s e .   F o r   m o r e   i n f o ,   v i s i t   m i g r a t e   t o   n o n   d e p r e c a t e d   a p i s   D o w n l o a d   t h e   l a t e s t   r e l e a s e   w i t h   t h e   c o m m a n d :   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / d a r w i n / a m d 6 4 / k u b e c t l - c o n v e r t \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / d a r w i n / a r m 6 4 / k u b e c t l - c o n v e r t \"   V a l i d a t e   t h e   b i n a r y   ( o p t i o n a l ) D o w n l o a d   t h e   k u b e c t l - c o n v e r t   c h e c k s u m   f i l e :   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / d a r w i n / a m d 6 4 / k u b e c t l - c o n v e r t . s h a 2 5 6 \"   c u r l   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / $ ( c u r l   - L   - s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / b i n / d a r w i n / a r m 6 4 / k u b e c t l - c o n v e r t . s h a 2 5 6 \"   V a l i d a t e   t h e   k u b e c t l - c o n v e r t   b i n a r y   a g a i n s t   t h e   c h e c k s u m   f i l e : e c h o   \" $ ( c a t   k u b e c t l - c o n v e r t . s h ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17341"
  },
  {
    "question": "What is Note:?",
    "answer": "M a k e   k u b e c t l - c o n v e r t   b i n a r y   e x e c u t a b l e   c h m o d   + x   . / k u b e c t l - c o n v e r t   M o v e   t h e   k u b e c t l - c o n v e r t   b i n a r y   t o   a   f i l e   l o c a t i o n   o n   y o u r   s y s t e m   P A T H .   s u d o   m v   . / k u b e c t l - c o n v e r t   / u s r / l o c a l / b i n / k u b e c t l - c o n v e r t   s u d o   c h o w n   r o o t :   / u s r / l o c a l / b i n / k u b e c t l - c o n v e r t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17342"
  },
  {
    "question": "What is Note:?",
    "answer": "V e r i f y   p l u g i n   i s   s u c c e s s f u l l y   i n s t a l l e d   k u b e c t l   c o n v e r t   - - h e l p   I f   y o u   d o   n o t   s e e   a n   e r r o r ,   i t   m e a n s   t h e   p l u g i n   i s   s u c c e s s f u l l y   i n s t a l l e d .   A f t e r   i n s t a l l i n g   t h e   p l u g i n ,   c l e a n   u p   t h e   i n s t a l l a t i o n   f i l e s :   r m   k u b e c t l - c o n v e r t   k u b e c t l - c o n v e r t . s h a 2 5 6",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17343"
  },
  {
    "question": "What is Uninstall kubectl on macOS?",
    "answer": "D e p e n d i n g   o n   h o w   y o u   i n s t a l l e d   k u b e c t l ,   u s e   o n e   o f   t h e   f o l l o w i n g   m e t h o d s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17344"
  },
  {
    "question": "What is Uninstall kubectl using the command-line?",
    "answer": "L o c a t e   t h e   k u b e c t l   b i n a r y   o n   y o u r   s y s t e m : w h i c h   k u b e c t l   R e m o v e   t h e   k u b e c t l   b i n a r y : s u d o   r m   < p a t h >   R e p l a c e   < p a t h >   w i t h   t h e   p a t h   t o   t h e   k u b e c t l   b i n a r y   f r o m   t h e   p r e v i o u s   s t e p .   F o r   e x a m p l e ,   s u d o   r m   / u s r / l o c a l / b i n / k u b e c t l .   L o c a t e   t h e   k u b e c t l   b i n a r y   o n   y o u r   s y s t e m :   w h i c h   k u b e c t l   R e m o v e   t h e   k u b e c t l   b i n a r y :   s u d o   r m   < p a t h >   R e p l a c e   < p a t h >   w i t h   t h e   p a t h   t o   t h e   k u b e c t l   b i n a r y   f r o m   t h e   p r e v i o u s   s t e p .   F o r   e x a m p l e ,   s u d o   r m   / u s r / l o c a l / b i n / k u b e c t l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17345"
  },
  {
    "question": "What is Uninstall kubectl using homebrew?",
    "answer": "I f   y o u   i n s t a l l e d   k u b e c t l   u s i n g   H o m e b r e w ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   b r e w   r e m o v e   k u b e c t l",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17346"
  },
  {
    "question": "What is What's next?",
    "answer": "I n s t a l l   M i n i k u b e S e e   t h e   g e t t i n g   s t a r t e d   g u i d e s   f o r   m o r e   a b o u t   c r e a t i n g   c l u s t e r s . L e a r n   h o w   t o   l a u n c h   a n d   e x p o s e   y o u r   a p p l i c a t i o n . I f   y o u   n e e d   a c c e s s   t o   a   c l u s t e r   y o u   d i d n ' t   c r e a t e ,   s e e   t h e   S h a r i n g   C l u s t e r   A c c e s s   d o c u m e n t . R e a d   t h e   k u b e c t l   r e f e r e n c e   d o c s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17347"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   m u s t   u s e   a   k u b e c t l   v e r s i o n   t h a t   i s   w i t h i n   o n e   m i n o r   v e r s i o n   d i f f e r e n c e   o f   y o u r   c l u s t e r .   F o r   e x a m p l e ,   a   v 1 . 3 4   c l i e n t   c a n   c o m m u n i c a t e   w i t h   v 1 . 3 3 ,   v 1 . 3 4 ,   a n d   v 1 . 3 5   c o n t r o l   p l a n e s .   U s i n g   t h e   l a t e s t   c o m p a t i b l e   v e r s i o n   o f   k u b e c t l   h e l p s   a v o i d   u n f o r e s e e n   i s s u e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17348"
  },
  {
    "question": "What is Install kubectl on Windows?",
    "answer": "T h e   f o l l o w i n g   m e t h o d s   e x i s t   f o r   i n s t a l l i n g   k u b e c t l   o n   W i n d o w s :   I n s t a l l   k u b e c t l   b i n a r y   o n   W i n d o w s   ( v i a   d i r e c t   d o w n l o a d   o r   c u r l ) I n s t a l l   o n   W i n d o w s   u s i n g   C h o c o l a t e y ,   S c o o p ,   o r   w i n g e t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17349"
  },
  {
    "question": "What is Install kubectl binary on Windows (via direct download or curl)?",
    "answer": "Y o u   h a v e   t w o   o p t i o n s   f o r   i n s t a l l i n g   k u b e c t l   o n   y o u r   W i n d o w s   d e v i c e D i r e c t   d o w n l o a d : D o w n l o a d   t h e   l a t e s t   1 . 3 4   p a t c h   r e l e a s e   b i n a r y   d i r e c t l y   f o r   y o u r   s p e c i f i c   a r c h i t e c t u r e   b y   v i s i t i n g   t h e   K u b e r n e t e s   r e l e a s e   p a g e .   B e   s u r e   t o   s e l e c t   t h e   c o r r e c t   b i n a r y   f o r   y o u r   a r c h i t e c t u r e   ( e . g . ,   a m d 6 4 ,   a r m 6 4 ,   e t c . ) . U s i n g   c u r l : I f   y o u   h a v e   c u r l   i n s t a l l e d ,   u s e   t h i s   c o m m a n d : c u r l . e x e   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / v 1 . 3 4 . 0 / b i n / w i n d o w s / a m d 6 4 / k u b e c t l . e x e \"   N o t e : T o   f i n d   o u t   t h e   l a t e s t   s t a b l e   v e r s i o n   ( f o r   e x a m p l e ,   f o r   s c r i p t i n g ) ,   t a k e   a   l o o k   a t   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t . V a l i d a t e   t h e   b i n a r y   ( o p t i o n a l ) D o w n l o a d   t h e   k u b e c t l   c h e c k s u m   f i l e : c u r l . e x e   - L O   \" h t t p s : / / d l . k 8 s . i o / v 1 . 3 4 . 0 / b i n / w i n d o w s / a m d 6 4 / k u b e c t l . e x e . s h a 2 5 6 \"   V a l i d a t e   t h e   k u b e c t l   b i n a r y   a g a i n s t   t h e   c h e c k s u m   f i l e : U s i n g   C o m m a n d   P r o m p t   t o   m a n u a l l y   c o m p a r e   C e r t U t i l ' s   o u t p u t   t o   t h e   c h e c k s u m   f i l e   d o w n l o a d e d : C e r t U t i l   - h a s h f i l e   k u b e c t l . e x e   S H A 2 5 6   t y p e   k u b e c t l . e x e . s h a 2 5 6   U s i n g   P o w e r S h e l l   t o   a u t o m a t e   t h e   v e r i f i c a t i o n   u s i n g   t h e   - e q   o p e r a t o r   t o   g e t   a   T r u e   o r   F a l s e   r e s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17350"
  },
  {
    "question": "What is Note:?",
    "answer": "V a l i d a t e   t h e   b i n a r y   ( o p t i o n a l )   D o w n l o a d   t h e   k u b e c t l   c h e c k s u m   f i l e :   c u r l . e x e   - L O   \" h t t p s : / / d l . k 8 s . i o / v 1 . 3 4 . 0 / b i n / w i n d o w s / a m d 6 4 / k u b e c t l . e x e . s h a 2 5 6 \"   V a l i d a t e   t h e   k u b e c t l   b i n a r y   a g a i n s t   t h e   c h e c k s u m   f i l e :   U s i n g   C o m m a n d   P r o m p t   t o   m a n u a l l y   c o m p a r e   C e r t U t i l ' s   o u t p u t   t o   t h e   c h e c k s u m   f i l e   d o w n l o a d e d : C e r t U t i l   - h a s h f i l e   k u b e c t l . e x e   S H A 2 5 6   t y p e   k u b e c t l . e x e . s h a 2 5 6   U s i n g   P o w e r S h e l l   t o   a u t o m a t e   t h e   v e r i f i c a t i o n   u s i n g   t h e   - e q   o p e r a t o r   t o   g e t   a   T r u e   o r   F a l s e   r e s u l t :   $ ( G e t - F i l e H a s h   - A l g o r i t h m   S H A 2 5 6   . \\ k u b e c t l . e x e ) . H a s h   - e q   $ ( G e t - C o n t e n t   . \\ k u b e c t l . e x e . s h a 2 5 6 )   U s i n g   C o m m a n d   P r o m p t   t o   m a n u a l l y   c o m p a r e   C e r t U t i l ' s   o u t p u t   t o   t h e   c h e c k s u m   f i l e   d o w n l o a d e d :   C e r t U t i l   - h a s h f i l e   k u b e c t l . e x e   S H A 2 5 6   t y p e   k u b e c t l . e x e . s h a 2 5 6   U s i n g   P o w e r S h e l l   t o   a u t o m a t e   t h e   v e r i f i c a t i o n   u s i n g   t h e   - e q   o p e r a t o r   t o   g e t   a   T r u e   o r   F a l s e   r e s u l t :   $ ( G e t - F i l e H a s h   - A l g o r i t h m   S H A 2 5 6   . \\ k u b e c t l . e x e ) . H a s h   - e q   $ ( G e t - C o n t e n t   . \\ k u b e c t l . e x e . s h a 2 5 6 )   A p p e n d   o r   p r e p e n d   t h e   k u b e c t l   b i n a r y   f o l d e r   t o   y o u r   P A T H   e n v i r o n m e n t   v a r i a b l e .   T e s t   t o   e n s u r e   t h e   v e r s i o n   o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17351"
  },
  {
    "question": "What is Install on Windows using Chocolatey, Scoop, or winget?",
    "answer": "T o   i n s t a l l   k u b e c t l   o n   W i n d o w s   y o u   c a n   u s e   e i t h e r   C h o c o l a t e y   p a c k a g e   m a n a g e r ,   S c o o p   c o m m a n d - l i n e   i n s t a l l e r ,   o r   w i n g e t   p a c k a g e   m a n a g e r . c h o c o   i n s t a l l   k u b e r n e t e s - c l i   s c o o p   i n s t a l l   k u b e c t l   w i n g e t   i n s t a l l   - e   - - i d   K u b e r n e t e s . k u b e c t l   T e s t   t o   e n s u r e   t h e   v e r s i o n   y o u   i n s t a l l e d   i s   u p - t o - d a t e : k u b e c t l   v e r s i o n   - - c l i e n t   N a v i g a t e   t o   y o u r   h o m e   d i r e c t o r y : #   I f   y o u ' r e   u s i n g   c m d . e x e ,   r u n :   c d   % U S E R P R O F I L E %   c d   ~   C r e a t e   t h e   . k u b e   d i r e c t o r y : m k d i r   . k u b e   C h a n g e   t o   t h e   . k u b e   d i r e c t o r y   y o u   j u s t   c r e a t e d : c d   . k u b e   C o n f i g u r e   k u b e c t l   t o   u s e   a   r e m o t e   K u b e r n e t e s   c l u s t e r : N e w - I t e m   c o n f i g   - t y p e   f i l e   T o   i n s t a l l   k u b e c t l   o n   W i n d o w s   y o u   c a n   u s e   e i t h e r   C h o c o l a t e y   p a c k a g e   m a n a g e r ,   S c o o p   c o m m a n d - l i n e   i n s t a l l e r ,   o r   w i n g e t   p a c k a g e   m a n a g e r .   c h o c o   i n s t a l l   k u b e r n e t e s - c l i   c h o c o   i n s t a l l   k u b e r n e t e s - c l i   s c o o p   i n s t a l l   k u b e c t l   s c o o p   i n s t a l l   k u b e c t l   w i n g e t   i n s t a l l   - e   - - i d   K u b e r n e t e s . k u b e c t l   w i n g e t   i n s t a l l   - e   - - i d   K u b e r n e t e s . k u b e c t l   T e s t   t o   e n s u r e   t h e   v e r s i o n   y o u   i n s t a l l e d   i s   u p - t o - d a t e :   k u b e c t l   v e r s i o n   - - c l i e n t   N a v i g a t e   t o   y o u r   h o m e   d i r e c t o r y : ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17352"
  },
  {
    "question": "What is Verify kubectl configuration?",
    "answer": "I n   o r d e r   f o r   k u b e c t l   t o   f i n d   a n d   a c c e s s   a   K u b e r n e t e s   c l u s t e r ,   i t   n e e d s   a   k u b e c o n f i g   f i l e ,   w h i c h   i s   c r e a t e d   a u t o m a t i c a l l y   w h e n   y o u   c r e a t e   a   c l u s t e r   u s i n g   k u b e - u p . s h   o r   s u c c e s s f u l l y   d e p l o y   a   M i n i k u b e   c l u s t e r .   B y   d e f a u l t ,   k u b e c t l   c o n f i g u r a t i o n   i s   l o c a t e d   a t   ~ / . k u b e / c o n f i g .   C h e c k   t h a t   k u b e c t l   i s   p r o p e r l y   c o n f i g u r e d   b y   g e t t i n g   t h e   c l u s t e r   s t a t e :   k u b e c t l   c l u s t e r - i n f o   I f   y o u   s e e   a   U R L   r e s p o n s e ,   k u b e c t l   i s   c o r r e c t l y   c o n f i g u r e d   t o   a c c e s s   y o u r   c l u s t e r .   I f   y o u   s e e   a   m e s s a g e   s i m i l a r   t o   t h e   f o l l o w i n g ,   k u b e c t l   i s   n o t   c o n f i g u r e d   c o r r e c t l y   o r   i s   n o t   a b l e   t o   c o n n e c t   t o   a   K u b e r n e t e s   c l u s t e r .   T h e   c o n n e c t i o n   t o   t h e   s e r v e r   < s e r v e r - n a m e : p o r t >   w a s   r e f u s e d   -   d i d   y o u   s p e c i f y   t h e   r i g h t   h o s t   o r   p o r t ?   F o r   e x a m p l e ,   i f   y o u   a r e   i n t e n d i n g   t o   r u n   a   K u b e r n e t e s   c l u s t e r   o n   y o u r   l a p t o p   ( l o c a l l y ) ,   y o u   w i l l   n e e d   a   t o o l   l i k e   M i n i k u b e   t o   b e   i n s t a l l e d   f i r s t   a n d   t h e n   r e - r u n   t h e   c o m m a n d s   s t a t e d   a b o v e .   I f   k u b e c t l   c l u s t e r - i n f o   r e t u r n s   t h e   u r l   r e s p o n s e   b u t   y o u   c a n ' t   a c c e s s   y o u r   c l u s t e r ,   t o   c h e c k   w h e t h e r   i t   i s   c o n f i g u r e d   p r o p e r l y ,   u ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17353"
  },
  {
    "question": "What is Troubleshooting the 'No Auth Provider Found' error message?",
    "answer": "I n   K u b e r n e t e s   1 . 2 6 ,   k u b e c t l   r e m o v e d   t h e   b u i l t - i n   a u t h e n t i c a t i o n   f o r   t h e   f o l l o w i n g   c l o u d   p r o v i d e r s '   m a n a g e d   K u b e r n e t e s   o f f e r i n g s .   T h e s e   p r o v i d e r s   h a v e   r e l e a s e d   k u b e c t l   p l u g i n s   t o   p r o v i d e   t h e   c l o u d - s p e c i f i c   a u t h e n t i c a t i o n .   F o r   i n s t r u c t i o n s ,   r e f e r   t o   t h e   f o l l o w i n g   p r o v i d e r   d o c u m e n t a t i o n :   A z u r e   A K S :   k u b e l o g i n   p l u g i n G o o g l e   K u b e r n e t e s   E n g i n e :   g k e - g c l o u d - a u t h - p l u g i n   ( T h e r e   c o u l d   a l s o   b e   o t h e r   r e a s o n s   t o   s e e   t h e   s a m e   e r r o r   m e s s a g e ,   u n r e l a t e d   t o   t h a t   c h a n g e . )",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17354"
  },
  {
    "question": "What is Enable shell autocompletion?",
    "answer": "k u b e c t l   p r o v i d e s   a u t o c o m p l e t i o n   s u p p o r t   f o r   B a s h ,   Z s h ,   F i s h ,   a n d   P o w e r S h e l l ,   w h i c h   c a n   s a v e   y o u   a   l o t   o f   t y p i n g .   B e l o w   a r e   t h e   p r o c e d u r e s   t o   s e t   u p   a u t o c o m p l e t i o n   f o r   P o w e r S h e l l .   T h e   k u b e c t l   c o m p l e t i o n   s c r i p t   f o r   P o w e r S h e l l   c a n   b e   g e n e r a t e d   w i t h   t h e   c o m m a n d   k u b e c t l   c o m p l e t i o n   p o w e r s h e l l .   T o   d o   s o   i n   a l l   y o u r   s h e l l   s e s s i o n s ,   a d d   t h e   f o l l o w i n g   l i n e   t o   y o u r   $ P R O F I L E   f i l e :   k u b e c t l   c o m p l e t i o n   p o w e r s h e l l   |   O u t - S t r i n g   |   I n v o k e - E x p r e s s i o n   T h i s   c o m m a n d   w i l l   r e g e n e r a t e   t h e   a u t o - c o m p l e t i o n   s c r i p t   o n   e v e r y   P o w e r S h e l l   s t a r t   u p .   Y o u   c a n   a l s o   a d d   t h e   g e n e r a t e d   s c r i p t   d i r e c t l y   t o   y o u r   $ P R O F I L E   f i l e .   T o   a d d   t h e   g e n e r a t e d   s c r i p t   t o   y o u r   $ P R O F I L E   f i l e ,   r u n   t h e   f o l l o w i n g   l i n e   i n   y o u r   p o w e r s h e l l   p r o m p t :   k u b e c t l   c o m p l e t i o n   p o w e r s h e l l   > >   $ P R O F I L E   A f t e r   r e l o a d i n g   y o u r   s h e l l ,   k u b e c t l   a u t o c o m p l e t i o n   s h o u l d   b e   w o r k i n g .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17355"
  },
  {
    "question": "What is Configure kuberc?",
    "answer": "S e e   k u b e r c   f o r   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17356"
  },
  {
    "question": "What is Install kubectl convert plugin?",
    "answer": "A   p l u g i n   f o r   K u b e r n e t e s   c o m m a n d - l i n e   t o o l   k u b e c t l ,   w h i c h   a l l o w s   y o u   t o   c o n v e r t   m a n i f e s t s   b e t w e e n   d i f f e r e n t   A P I   v e r s i o n s .   T h i s   c a n   b e   p a r t i c u l a r l y   h e l p f u l   t o   m i g r a t e   m a n i f e s t s   t o   a   n o n - d e p r e c a t e d   a p i   v e r s i o n   w i t h   n e w e r   K u b e r n e t e s   r e l e a s e .   F o r   m o r e   i n f o ,   v i s i t   m i g r a t e   t o   n o n   d e p r e c a t e d   a p i s   D o w n l o a d   t h e   l a t e s t   r e l e a s e   w i t h   t h e   c o m m a n d : c u r l . e x e   - L O   \" h t t p s : / / d l . k 8 s . i o / r e l e a s e / v 1 . 3 4 . 0 / b i n / w i n d o w s / a m d 6 4 / k u b e c t l - c o n v e r t . e x e \"   V a l i d a t e   t h e   b i n a r y   ( o p t i o n a l ) . D o w n l o a d   t h e   k u b e c t l - c o n v e r t   c h e c k s u m   f i l e : c u r l . e x e   - L O   \" h t t p s : / / d l . k 8 s . i o / v 1 . 3 4 . 0 / b i n / w i n d o w s / a m d 6 4 / k u b e c t l - c o n v e r t . e x e . s h a 2 5 6 \"   V a l i d a t e   t h e   k u b e c t l - c o n v e r t   b i n a r y   a g a i n s t   t h e   c h e c k s u m   f i l e : U s i n g   C o m m a n d   P r o m p t   t o   m a n u a l l y   c o m p a r e   C e r t U t i l ' s   o u t p u t   t o   t h e   c h e c k s u m   f i l e   d o w n l o a d e d : C e r t U t i l   - h a s h f i l e   k u b e c t l - c o n v e r t . e x e   S H A 2 5 6   t y p e   k u b e c t l - c o n v e r t . e x e . s h a 2 5 6   U s i n g   P o w e r S h e l l   t o   a u t o m a t e   t h e   v e r i f i c a t i o n   u s i n g   t h e   - e q   o p e r a t o r   t o   g e t   a   T r u e   o r   F a l s e   r e s u l t : $ ( $ ( C e r t U t i l   - h a s h f i l e   . \\ k u b e c t l - c o n v e r t . e x e   S H A 2 5 6 ) [ 1 ]   - r e p l a c e   \"   \" ,   \" \" )   - e q   $ ( t y p e   . \\ k ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17357"
  },
  {
    "question": "What is What's next?",
    "answer": "I n s t a l l   M i n i k u b e S e e   t h e   g e t t i n g   s t a r t e d   g u i d e s   f o r   m o r e   a b o u t   c r e a t i n g   c l u s t e r s . L e a r n   h o w   t o   l a u n c h   a n d   e x p o s e   y o u r   a p p l i c a t i o n . I f   y o u   n e e d   a c c e s s   t o   a   c l u s t e r   y o u   d i d n ' t   c r e a t e ,   s e e   t h e   S h a r i n g   C l u s t e r   A c c e s s   d o c u m e n t . R e a d   t h e   k u b e c t l   r e f e r e n c e   d o c s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17358"
  },
  {
    "question": "What is 2.1 - Administration with kubeadm?",
    "answer": "I f   y o u   d o n ' t   y e t   h a v e   a   c l u s t e r ,   v i s i t   b o o t s t r a p p i n g   c l u s t e r s   w i t h   k u b e a d m .   T h e   t a s k s   i n   t h i s   s e c t i o n   a r e   a i m e d   a t   p e o p l e   a d m i n i s t e r i n g   a n   e x i s t i n g   c l u s t e r :",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17359"
  },
  {
    "question": "What is 2.1.1 - Adding Linux worker nodes?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   t o   a d d   L i n u x   w o r k e r   n o d e s   t o   a   k u b e a d m   c l u s t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17360"
  },
  {
    "question": "What is Before you begin?",
    "answer": "E a c h   j o i n i n g   w o r k e r   n o d e   h a s   i n s t a l l e d   t h e   r e q u i r e d   c o m p o n e n t s   f r o m   I n s t a l l i n g   k u b e a d m ,   s u c h   a s ,   k u b e a d m ,   t h e   k u b e l e t   a n d   a   c o n t a i n e r   r u n t i m e . A   r u n n i n g   k u b e a d m   c l u s t e r   c r e a t e d   b y   k u b e a d m   i n i t   a n d   f o l l o w i n g   t h e   s t e p s   i n   t h e   d o c u m e n t   C r e a t i n g   a   c l u s t e r   w i t h   k u b e a d m . Y o u   n e e d   s u p e r u s e r   a c c e s s   t o   t h e   n o d e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17361"
  },
  {
    "question": "What is Adding Linux worker nodes?",
    "answer": "T o   a d d   n e w   L i n u x   w o r k e r   n o d e s   t o   y o u r   c l u s t e r   d o   t h e   f o l l o w i n g   f o r   e a c h   m a c h i n e :   C o n n e c t   t o   t h e   m a c h i n e   b y   u s i n g   S S H   o r   a n o t h e r   m e t h o d . R u n   t h e   c o m m a n d   t h a t   w a s   o u t p u t   b y   k u b e a d m   i n i t .   F o r   e x a m p l e :   s u d o   k u b e a d m   j o i n   - - t o k e n   < t o k e n >   < c o n t r o l - p l a n e - h o s t > : < c o n t r o l - p l a n e - p o r t >   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   s h a 2 5 6 : < h a s h >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17362"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   d o   n o t   h a v e   t h e   t o k e n ,   y o u   c a n   g e t   i t   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d   o n   t h e   c o n t r o l   p l a n e   n o d e :   #   R u n   t h i s   o n   a   c o n t r o l   p l a n e   n o d e   s u d o   k u b e a d m   t o k e n   l i s t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   T O K E N   T T L   E X P I R E S   U S A G E S   D E S C R I P T I O N   E X T R A   G R O U P S   8 e w j 1 p . 9 r 9 h c j o q g a j r j 4 g i   2 3 h   2 0 1 8 - 0 6 - 1 2 T 0 2 : 5 1 : 2 8 Z   a u t h e n t i c a t i o n ,   T h e   d e f a u l t   b o o t s t r a p   s y s t e m :   s i g n i n g   t o k e n   g e n e r a t e d   b y   b o o t s t r a p p e r s :   ' k u b e a d m   i n i t ' .   k u b e a d m :   d e f a u l t - n o d e - t o k e n   B y   d e f a u l t ,   n o d e   j o i n   t o k e n s   e x p i r e   a f t e r   2 4   h o u r s .   I f   y o u   a r e   j o i n i n g   a   n o d e   t o   t h e   c l u s t e r   a f t e r   t h e   c u r r e n t   t o k e n   h a s   e x p i r e d ,   y o u   c a n   c r e a t e   a   n e w   t o k e n   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d   o n   t h e   c o n t r o l   p l a n e   n o d e :   #   R u n   t h i s   o n   a   c o n t r o l   p l a n e   n o d e   s u d o   k u b e a d m   t o k e n   c r e a t e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   5 d i d v k . d 0 9 s b c o v 8 p h 2 a m j w   T o   p r i n t   a   k u b e a d m   j o i n   c o m m a n d   w h i l e   a l s o   g e n e r a t i n g   a   n e w   t o k e n   y o u   c a n   u s e :   s u d o   k u b e a d m   t o k e n   c r e a t e   - - p r i n t - j o i n - c o m m a n d   I f   y o u   d o n ' t   h a v e   t h e   v a l u e   o f   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h ,   y o u   c a n   g e t   i t   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d s   o n   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17363"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   h o w   t o   a d d   W i n d o w s   w o r k e r   n o d e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17364"
  },
  {
    "question": "What is 2.1.2 - Adding Windows worker nodes?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   t o   a d d   W i n d o w s   w o r k e r   n o d e s   t o   a   k u b e a d m   c l u s t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17365"
  },
  {
    "question": "What is Before you begin?",
    "answer": "A   r u n n i n g   W i n d o w s   S e r v e r   2 0 2 2   ( o r   h i g h e r )   i n s t a n c e   w i t h   a d m i n i s t r a t i v e   a c c e s s . A   r u n n i n g   k u b e a d m   c l u s t e r   c r e a t e d   b y   k u b e a d m   i n i t   a n d   f o l l o w i n g   t h e   s t e p s   i n   t h e   d o c u m e n t   C r e a t i n g   a   c l u s t e r   w i t h   k u b e a d m .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17366"
  },
  {
    "question": "What is Note:?",
    "answer": "D o   t h e   f o l l o w i n g   f o r   e a c h   m a c h i n e :   O p e n   a   P o w e r S h e l l   s e s s i o n   o n   t h e   m a c h i n e . M a k e   s u r e   y o u   a r e   A d m i n i s t r a t o r   o r   a   p r i v i l e g e d   u s e r .   T h e n   p r o c e e d   w i t h   t h e   s t e p s   o u t l i n e d   b e l o w .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17367"
  },
  {
    "question": "What is Install containerd?",
    "answer": "T o   i n s t a l l   c o n t a i n e r d ,   f i r s t   r u n   t h e   f o l l o w i n g   c o m m a n d :   c u r l . e x e   - L O   h t t p s : / / r a w . g i t h u b u s e r c o n t e n t . c o m / k u b e r n e t e s - s i g s / s i g - w i n d o w s - t o o l s / m a s t e r / h o s t p r o c e s s / I n s t a l l - C o n t a i n e r d . p s 1   T h e n   r u n   t h e   f o l l o w i n g   c o m m a n d ,   b u t   f i r s t   r e p l a c e   C O N T A I N E R D _ V E R S I O N   w i t h   a   r e c e n t   r e l e a s e   f r o m   t h e   c o n t a i n e r d   r e p o s i t o r y .   T h e   v e r s i o n   m u s t   n o t   h a v e   a   v   p r e f i x .   F o r   e x a m p l e ,   u s e   1 . 7 . 2 2   i n s t e a d   o f   v 1 . 7 . 2 2 :   . \\ I n s t a l l - C o n t a i n e r d . p s 1   - C o n t a i n e r D V e r s i o n   C O N T A I N E R D _ V E R S I O N   A d j u s t   a n y   o t h e r   p a r a m e t e r s   f o r   I n s t a l l - C o n t a i n e r d . p s 1   s u c h   a s   n e t A d a p t e r N a m e   a s   y o u   n e e d   t h e m . S e t   s k i p H y p e r v i s o r S u p p o r t C h e c k   i f   y o u r   m a c h i n e   d o e s   n o t   s u p p o r t   H y p e r - V   a n d   c a n n o t   h o s t   H y p e r - V   i s o l a t e d   c o n t a i n e r s . I f   y o u   c h a n g e   t h e   I n s t a l l - C o n t a i n e r d . p s 1   o p t i o n a l   p a r a m e t e r s   C N I B i n P a t h   a n d / o r   C N I C o n f i g P a t h   y o u   w i l l   n e e d   t o   c o n f i g u r e   t h e   i n s t a l l e d   W i n d o w s   C N I   p l u g i n   w i t h   m a t c h i n g   v a l u e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17368"
  },
  {
    "question": "What is Install kubeadm and kubelet?",
    "answer": "R u n   t h e   f o l l o w i n g   c o m m a n d s   t o   i n s t a l l   k u b e a d m   a n d   t h e   k u b e l e t :   c u r l . e x e   - L O   h t t p s : / / r a w . g i t h u b u s e r c o n t e n t . c o m / k u b e r n e t e s - s i g s / s i g - w i n d o w s - t o o l s / m a s t e r / h o s t p r o c e s s / P r e p a r e N o d e . p s 1   . \\ P r e p a r e N o d e . p s 1   - K u b e r n e t e s V e r s i o n   v 1 . 3 4   A d j u s t   t h e   p a r a m e t e r   K u b e r n e t e s V e r s i o n   o f   P r e p a r e N o d e . p s 1   i f   n e e d e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17369"
  },
  {
    "question": "What is Run kubeadm join?",
    "answer": "R u n   t h e   c o m m a n d   t h a t   w a s   o u t p u t   b y   k u b e a d m   i n i t .   F o r   e x a m p l e :   k u b e a d m   j o i n   - - t o k e n   < t o k e n >   < c o n t r o l - p l a n e - h o s t > : < c o n t r o l - p l a n e - p o r t >   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   s h a 2 5 6 : < h a s h >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17370"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   d o   n o t   h a v e   t h e   t o k e n ,   y o u   c a n   g e t   i t   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d   o n   t h e   c o n t r o l   p l a n e   n o d e :   #   R u n   t h i s   o n   a   c o n t r o l   p l a n e   n o d e   s u d o   k u b e a d m   t o k e n   l i s t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   T O K E N   T T L   E X P I R E S   U S A G E S   D E S C R I P T I O N   E X T R A   G R O U P S   8 e w j 1 p . 9 r 9 h c j o q g a j r j 4 g i   2 3 h   2 0 1 8 - 0 6 - 1 2 T 0 2 : 5 1 : 2 8 Z   a u t h e n t i c a t i o n ,   T h e   d e f a u l t   b o o t s t r a p   s y s t e m :   s i g n i n g   t o k e n   g e n e r a t e d   b y   b o o t s t r a p p e r s :   ' k u b e a d m   i n i t ' .   k u b e a d m :   d e f a u l t - n o d e - t o k e n   B y   d e f a u l t ,   n o d e   j o i n   t o k e n s   e x p i r e   a f t e r   2 4   h o u r s .   I f   y o u   a r e   j o i n i n g   a   n o d e   t o   t h e   c l u s t e r   a f t e r   t h e   c u r r e n t   t o k e n   h a s   e x p i r e d ,   y o u   c a n   c r e a t e   a   n e w   t o k e n   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d   o n   t h e   c o n t r o l   p l a n e   n o d e :   #   R u n   t h i s   o n   a   c o n t r o l   p l a n e   n o d e   s u d o   k u b e a d m   t o k e n   c r e a t e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   5 d i d v k . d 0 9 s b c o v 8 p h 2 a m j w   I f   y o u   d o n ' t   h a v e   t h e   v a l u e   o f   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h ,   y o u   c a n   g e t   i t   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d s   o n   t h e   c o n t r o l   p l a n e   n o d e :   s u d o   c a t   / e t c / k u b e r n e t e s / p k i / c a . c r t   |   o p e n s s l   x 5 0 9   - p u b k e y   |   o p e n s s l   r s a   - p u b i n   - o u t f o r m   d e r   2 > / d e v / n u ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17371"
  },
  {
    "question": "What is Network configuration?",
    "answer": "C N I   s e t u p   o n   c l u s t e r s   m i x e d   w i t h   L i n u x   a n d   W i n d o w s   n o d e s   r e q u i r e s   m o r e   s t e p s   t h a n   j u s t   r u n n i n g   k u b e c t l   a p p l y   o n   a   m a n i f e s t   f i l e .   A d d i t i o n a l l y ,   t h e   C N I   p l u g i n   r u n n i n g   o n   c o n t r o l   p l a n e   n o d e s   m u s t   b e   p r e p a r e d   t o   s u p p o r t   t h e   C N I   p l u g i n   r u n n i n g   o n   W i n d o w s   w o r k e r   n o d e s .   O n l y   a   f e w   C N I   p l u g i n s   c u r r e n t l y   s u p p o r t   W i n d o w s .   B e l o w   y o u   c a n   f i n d   i n d i v i d u a l   s e t u p   i n s t r u c t i o n s   f o r   t h e m :   F l a n n e l C a l i c o",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17372"
  },
  {
    "question": "What is Install kubectl for Windows (optional)?",
    "answer": "S e e   I n s t a l l   a n d   S e t   U p   k u b e c t l   o n   W i n d o w s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17373"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   h o w   t o   a d d   L i n u x   w o r k e r   n o d e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17374"
  },
  {
    "question": "What is 2.1.3 - Upgrading kubeadm clusters?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   t o   u p g r a d e   a   K u b e r n e t e s   c l u s t e r   c r e a t e d   w i t h   k u b e a d m   f r o m   v e r s i o n   1 . 3 3 . x   t o   v e r s i o n   1 . 3 4 . x ,   a n d   f r o m   v e r s i o n   1 . 3 4 . x   t o   1 . 3 4 . y   ( w h e r e   y   >   x ) .   S k i p p i n g   M I N O R   v e r s i o n s   w h e n   u p g r a d i n g   i s   u n s u p p o r t e d .   F o r   m o r e   d e t a i l s ,   p l e a s e   v i s i t   V e r s i o n   S k e w   P o l i c y .   T o   s e e   i n f o r m a t i o n   a b o u t   u p g r a d i n g   c l u s t e r s   c r e a t e d   u s i n g   o l d e r   v e r s i o n s   o f   k u b e a d m ,   p l e a s e   r e f e r   t o   f o l l o w i n g   p a g e s   i n s t e a d :   U p g r a d i n g   a   k u b e a d m   c l u s t e r   f r o m   1 . 3 2   t o   1 . 3 3 U p g r a d i n g   a   k u b e a d m   c l u s t e r   f r o m   1 . 3 1   t o   1 . 3 2 U p g r a d i n g   a   k u b e a d m   c l u s t e r   f r o m   1 . 3 0   t o   1 . 3 1 U p g r a d i n g   a   k u b e a d m   c l u s t e r   f r o m   1 . 2 9   t o   1 . 3 0   T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   u p g r a d i n g   t o   t h e   l a t e s t   p a t c h   r e l e a s e s   p r o m p t l y ,   a n d   t o   e n s u r e   t h a t   y o u   a r e   r u n n i n g   a   s u p p o r t e d   m i n o r   r e l e a s e   o f   K u b e r n e t e s .   F o l l o w i n g   t h i s   r e c o m m e n d a t i o n   h e l p s   y o u   t o   s t a y   s e c u r e .   T h e   u p g r a d e   w o r k f l o w   a t   h i g h   l e v e l   i s   t h e   f o l l o w i n g :   U p g r a d e   a   p r i m a r y   c o n t r o l   p l a n e   n o d e . U p g r a d e   a d d i t i o n a l   c o n t r o l   p l a n e   n o d e s . U p g r a d e   w o r k e r   n o d e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17375"
  },
  {
    "question": "What is Before you begin?",
    "answer": "M a k e   s u r e   y o u   r e a d   t h e   r e l e a s e   n o t e s   c a r e f u l l y . T h e   c l u s t e r   s h o u l d   u s e   a   s t a t i c   c o n t r o l   p l a n e   a n d   e t c d   p o d s   o r   e x t e r n a l   e t c d . M a k e   s u r e   t o   b a c k   u p   a n y   i m p o r t a n t   c o m p o n e n t s ,   s u c h   a s   a p p - l e v e l   s t a t e   s t o r e d   i n   a   d a t a b a s e .   k u b e a d m   u p g r a d e   d o e s   n o t   t o u c h   y o u r   w o r k l o a d s ,   o n l y   c o m p o n e n t s   i n t e r n a l   t o   K u b e r n e t e s ,   b u t   b a c k u p s   a r e   a l w a y s   a   b e s t   p r a c t i c e . S w a p   m u s t   b e   d i s a b l e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17376"
  },
  {
    "question": "What is Additional information?",
    "answer": "T h e   i n s t r u c t i o n s   b e l o w   o u t l i n e   w h e n   t o   d r a i n   e a c h   n o d e   d u r i n g   t h e   u p g r a d e   p r o c e s s .   I f   y o u   a r e   p e r f o r m i n g   a   m i n o r   v e r s i o n   u p g r a d e   f o r   a n y   k u b e l e t ,   y o u   m u s t   f i r s t   d r a i n   t h e   n o d e   ( o r   n o d e s )   t h a t   y o u   a r e   u p g r a d i n g .   I n   t h e   c a s e   o f   c o n t r o l   p l a n e   n o d e s ,   t h e y   c o u l d   b e   r u n n i n g   C o r e D N S   P o d s   o r   o t h e r   c r i t i c a l   w o r k l o a d s .   F o r   m o r e   i n f o r m a t i o n   s e e   D r a i n i n g   n o d e s . T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   t h a t   y o u   m a t c h   y o u r   k u b e l e t   a n d   k u b e a d m   v e r s i o n s .   Y o u   c a n   i n s t e a d   u s e   a   v e r s i o n   o f   k u b e l e t   t h a t   i s   o l d e r   t h a n   k u b e a d m ,   p r o v i d e d   i t   i s   w i t h i n   t h e   r a n g e   o f   s u p p o r t e d   v e r s i o n s .   F o r   m o r e   d e t a i l s ,   p l e a s e   v i s i t   k u b e a d m ' s   s k e w   a g a i n s t   t h e   k u b e l e t . A l l   c o n t a i n e r s   a r e   r e s t a r t e d   a f t e r   u p g r a d e ,   b e c a u s e   t h e   c o n t a i n e r   s p e c   h a s h   v a l u e   i s   c h a n g e d . T o   v e r i f y   t h a t   t h e   k u b e l e t   s e r v i c e   h a s   s u c c e s s f u l l y   r e s t a r t e d   a f t e r   t h e   k u b e l e t   h a s   b e e n   u p g r a d e d ,   y o u   c a n   e x e c u t e   s y s t e m c t l   s t a t u s   k u b e l e t   o r   v i e w   t h e   s e r v i c e   l o g s   w i t h   j o u r n a l c t l   - x e u   k u b e l e t . k u b e a d m   u p g r a d e   s u p p o r t s   - - c o n f i g   w i t h   a   U p g r a d e C o n f i g u r a t i o n   A P I   t y p e   w h i c h   c a n   b e   u s e d ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17377"
  },
  {
    "question": "What is Considerations when upgrading etcd?",
    "answer": "B e c a u s e   t h e   k u b e - a p i s e r v e r   s t a t i c   p o d   i s   r u n n i n g   a t   a l l   t i m e s   ( e v e n   i f   y o u   h a v e   d r a i n e d   t h e   n o d e ) ,   w h e n   y o u   p e r f o r m   a   k u b e a d m   u p g r a d e   w h i c h   i n c l u d e s   a n   e t c d   u p g r a d e ,   i n - f l i g h t   r e q u e s t s   t o   t h e   s e r v e r   w i l l   s t a l l   w h i l e   t h e   n e w   e t c d   s t a t i c   p o d   i s   r e s t a r t i n g .   A s   a   w o r k a r o u n d ,   i t   i s   p o s s i b l e   t o   a c t i v e l y   s t o p   t h e   k u b e - a p i s e r v e r   p r o c e s s   a   f e w   s e c o n d s   b e f o r e   s t a r t i n g   t h e   k u b e a d m   u p g r a d e   a p p l y   c o m m a n d .   T h i s   p e r m i t s   t o   c o m p l e t e   i n - f l i g h t   r e q u e s t s   a n d   c l o s e   e x i s t i n g   c o n n e c t i o n s ,   a n d   m i n i m i z e s   t h e   c o n s e q u e n c e   o f   t h e   e t c d   d o w n t i m e .   T h i s   c a n   b e   d o n e   a s   f o l l o w s   o n   c o n t r o l   p l a n e   n o d e s :   k i l l a l l   - s   S I G T E R M   k u b e - a p i s e r v e r   #   t r i g g e r   a   g r a c e f u l   k u b e - a p i s e r v e r   s h u t d o w n   s l e e p   2 0   #   w a i t   a   l i t t l e   b i t   t o   p e r m i t   c o m p l e t i n g   i n - f l i g h t   r e q u e s t s   k u b e a d m   u p g r a d e   . . .   #   e x e c u t e   a   k u b e a d m   u p g r a d e   c o m m a n d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17378"
  },
  {
    "question": "What is Changing the package repository?",
    "answer": "I f   y o u ' r e   u s i n g   t h e   c o m m u n i t y - o w n e d   p a c k a g e   r e p o s i t o r i e s   ( p k g s . k 8 s . i o ) ,   y o u   n e e d   t o   e n a b l e   t h e   p a c k a g e   r e p o s i t o r y   f o r   t h e   d e s i r e d   K u b e r n e t e s   m i n o r   r e l e a s e .   T h i s   i s   e x p l a i n e d   i n   C h a n g i n g   t h e   K u b e r n e t e s   p a c k a g e   r e p o s i t o r y   d o c u m e n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17379"
  },
  {
    "question": "What is Determine which version to upgrade to?",
    "answer": "F i n d   t h e   l a t e s t   p a t c h   r e l e a s e   f o r   K u b e r n e t e s   1 . 3 4   u s i n g   t h e   O S   p a c k a g e   m a n a g e r :   #   F i n d   t h e   l a t e s t   1 . 3 4   v e r s i o n   i n   t h e   l i s t .   #   I t   s h o u l d   l o o k   l i k e   1 . 3 4 . x - * ,   w h e r e   x   i s   t h e   l a t e s t   p a t c h .   s u d o   a p t   u p d a t e   s u d o   a p t - c a c h e   m a d i s o n   k u b e a d m   #   F i n d   t h e   l a t e s t   1 . 3 4   v e r s i o n   i n   t h e   l i s t .   #   I t   s h o u l d   l o o k   l i k e   1 . 3 4 . x - * ,   w h e r e   x   i s   t h e   l a t e s t   p a t c h .   s u d o   a p t   u p d a t e   s u d o   a p t - c a c h e   m a d i s o n   k u b e a d m   F o r   s y s t e m s   w i t h   D N F : #   F i n d   t h e   l a t e s t   1 . 3 4   v e r s i o n   i n   t h e   l i s t .   #   I t   s h o u l d   l o o k   l i k e   1 . 3 4 . x - * ,   w h e r e   x   i s   t h e   l a t e s t   p a t c h .   s u d o   y u m   l i s t   - - s h o w d u p l i c a t e s   k u b e a d m   - - d i s a b l e e x c l u d e s = k u b e r n e t e s   F o r   s y s t e m s   w i t h   D N F 5 : #   F i n d   t h e   l a t e s t   1 . 3 4   v e r s i o n   i n   t h e   l i s t .   #   I t   s h o u l d   l o o k   l i k e   1 . 3 4 . x - * ,   w h e r e   x   i s   t h e   l a t e s t   p a t c h .   s u d o   y u m   l i s t   - - s h o w d u p l i c a t e s   k u b e a d m   - - s e t o p t = d i s a b l e _ e x c l u d e s = k u b e r n e t e s   F o r   s y s t e m s   w i t h   D N F :   #   F i n d   t h e   l a t e s t   1 . 3 4   v e r s i o n   i n   t h e   l i s t .   #   I t   s h o u l d   l o o k   l i k e   1 . 3 4 . x - * ,   w h e r e   x   i s   t h e   l a t e s t   p a t c h .   s u d o   y u m   l i s t   - - s h o w d u p l i c a t e s   k u b e a d m   - - d i s a b l e e x c l u d e s = k u b e r n e t e s   F o r   s y s t e m s   w i t h   D N F 5 :   # ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17380"
  },
  {
    "question": "What is Upgrading control plane nodes?",
    "answer": "T h e   u p g r a d e   p r o c e d u r e   o n   c o n t r o l   p l a n e   n o d e s   s h o u l d   b e   e x e c u t e d   o n e   n o d e   a t   a   t i m e .   P i c k   a   c o n t r o l   p l a n e   n o d e   t h a t   y o u   w i s h   t o   u p g r a d e   f i r s t .   I t   m u s t   h a v e   t h e   / e t c / k u b e r n e t e s / a d m i n . c o n f   f i l e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17381"
  },
  {
    "question": "What is Call \"kubeadm upgrade\"?",
    "answer": "F o r   t h e   f i r s t   c o n t r o l   p l a n e   n o d e   U p g r a d e   k u b e a d m : #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   a p t - m a r k   u n h o l d   k u b e a d m   & &   \\   s u d o   a p t - g e t   u p d a t e   & &   s u d o   a p t - g e t   i n s t a l l   - y   k u b e a d m = ' 1 . 3 4 . x - * '   & &   \\   s u d o   a p t - m a r k   h o l d   k u b e a d m   F o r   s y s t e m s   w i t h   D N F : #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   y u m   i n s t a l l   - y   k u b e a d m - ' 1 . 3 4 . x - * '   - - d i s a b l e e x c l u d e s = k u b e r n e t e s   F o r   s y s t e m s   w i t h   D N F 5 : #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   y u m   i n s t a l l   - y   k u b e a d m - ' 1 . 3 4 . x - * '   - - s e t o p t = d i s a b l e _ e x c l u d e s = k u b e r n e t e s   V e r i f y   t h a t   t h e   d o w n l o a d   w o r k s   a n d   h a s   t h e   e x p e c t e d   v e r s i o n : k u b e a d m   v e r s i o n   V e r i f y   t h e   u p g r a d e   p l a n : s u d o   k u b e a d m   u p g r a d e   p l a n   T h i s   c o m m a n d   c h e c k s   t h a t   y o u r   c l u s t e r   c a n   b e   u p g r a d e d ,   a n d   f e t c h e s   t h e   v e r s i o n s   y o u   c a n   u p g r a d e   t o .   I t   a l s o   s h o w s   a   t a b l e   w i t h   t h e   c o m p o n e n t   c o n f i g   v e r s i o n   s t a t e s . N o t e : k u b e a d m   u p g r a d e   a l s o   a u t o m a t i c a l l y   r e n e w s   t h e   c e r t i f i c a t e s   t h a t   i t   m a n a g e s   o n   t h i s   n o d e .   T o   o p t - o u t   o f   c e r t i f i c a t e   r e n e w a l   t h e   f l a g   - - c e r t i f i c a t e - r e n e w a l = f a l s e   c a n   b e   u s e d .   F o r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17382"
  },
  {
    "question": "What is Note:?",
    "answer": "C h o o s e   a   v e r s i o n   t o   u p g r a d e   t o ,   a n d   r u n   t h e   a p p r o p r i a t e   c o m m a n d .   F o r   e x a m p l e :   #   r e p l a c e   x   w i t h   t h e   p a t c h   v e r s i o n   y o u   p i c k e d   f o r   t h i s   u p g r a d e   s u d o   k u b e a d m   u p g r a d e   a p p l y   v 1 . 3 4 . x   O n c e   t h e   c o m m a n d   f i n i s h e s   y o u   s h o u l d   s e e :   [ u p g r a d e / s u c c e s s f u l ]   S U C C E S S !   Y o u r   c l u s t e r   w a s   u p g r a d e d   t o   \" v 1 . 3 4 . x \" .   E n j o y !   [ u p g r a d e / k u b e l e t ]   N o w   t h a t   y o u r   c o n t r o l   p l a n e   i s   u p g r a d e d ,   p l e a s e   p r o c e e d   w i t h   u p g r a d i n g   y o u r   k u b e l e t s   i f   y o u   h a v e n ' t   a l r e a d y   d o n e   s o .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17383"
  },
  {
    "question": "What is Note:?",
    "answer": "M a n u a l l y   u p g r a d e   y o u r   C N I   p r o v i d e r   p l u g i n .   Y o u r   C o n t a i n e r   N e t w o r k   I n t e r f a c e   ( C N I )   p r o v i d e r   m a y   h a v e   i t s   o w n   u p g r a d e   i n s t r u c t i o n s   t o   f o l l o w .   C h e c k   t h e   a d d o n s   p a g e   t o   f i n d   y o u r   C N I   p r o v i d e r   a n d   s e e   w h e t h e r   a d d i t i o n a l   u p g r a d e   s t e p s   a r e   r e q u i r e d .   T h i s   s t e p   i s   n o t   r e q u i r e d   o n   a d d i t i o n a l   c o n t r o l   p l a n e   n o d e s   i f   t h e   C N I   p r o v i d e r   r u n s   a s   a   D a e m o n S e t .   F o r   t h e   o t h e r   c o n t r o l   p l a n e   n o d e s   S a m e   a s   t h e   f i r s t   c o n t r o l   p l a n e   n o d e   b u t   u s e :   s u d o   k u b e a d m   u p g r a d e   n o d e   i n s t e a d   o f :   s u d o   k u b e a d m   u p g r a d e   a p p l y   A l s o   c a l l i n g   k u b e a d m   u p g r a d e   p l a n   a n d   u p g r a d i n g   t h e   C N I   p r o v i d e r   p l u g i n   i s   n o   l o n g e r   n e e d e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17384"
  },
  {
    "question": "What is Drain the node?",
    "answer": "P r e p a r e   t h e   n o d e   f o r   m a i n t e n a n c e   b y   m a r k i n g   i t   u n s c h e d u l a b l e   a n d   e v i c t i n g   t h e   w o r k l o a d s :   #   r e p l a c e   < n o d e - t o - d r a i n >   w i t h   t h e   n a m e   o f   y o u r   n o d e   y o u   a r e   d r a i n i n g   k u b e c t l   d r a i n   < n o d e - t o - d r a i n >   - - i g n o r e - d a e m o n s e t s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17385"
  },
  {
    "question": "What is Upgrade kubelet and kubectl?",
    "answer": "U p g r a d e   t h e   k u b e l e t   a n d   k u b e c t l : #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   a p t - m a r k   u n h o l d   k u b e l e t   k u b e c t l   & &   \\   s u d o   a p t - g e t   u p d a t e   & &   s u d o   a p t - g e t   i n s t a l l   - y   k u b e l e t = ' 1 . 3 4 . x - * '   k u b e c t l = ' 1 . 3 4 . x - * '   & &   \\   s u d o   a p t - m a r k   h o l d   k u b e l e t   k u b e c t l   F o r   s y s t e m s   w i t h   D N F : #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   y u m   i n s t a l l   - y   k u b e l e t - ' 1 . 3 4 . x - * '   k u b e c t l - ' 1 . 3 4 . x - * '   - - d i s a b l e e x c l u d e s = k u b e r n e t e s   F o r   s y s t e m s   w i t h   D N F 5 : #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   y u m   i n s t a l l   - y   k u b e l e t - ' 1 . 3 4 . x - * '   k u b e c t l - ' 1 . 3 4 . x - * '   - - s e t o p t = d i s a b l e _ e x c l u d e s = k u b e r n e t e s   R e s t a r t   t h e   k u b e l e t : s u d o   s y s t e m c t l   d a e m o n - r e l o a d   s u d o   s y s t e m c t l   r e s t a r t   k u b e l e t   U p g r a d e   t h e   k u b e l e t   a n d   k u b e c t l :   #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   a p t - m a r k   u n h o l d   k u b e l e t   k u b e c t l   & &   \\   s u d o   a p t - g e t   u p d a t e   & &   s u d o   a p t - g e t   i n s t a l l   - y   k u b e l e t = ' 1 . 3 4 . x - * '   k u b e c t l = ' 1 . 3 4 . x - * '   & &   \\   s u d o   a p t - m a r k   h o l d   k u b e l e t   k u b e c t l   #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   a p t - m a r k   u n h o l d   k u b e l ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17386"
  },
  {
    "question": "What is Uncordon the node?",
    "answer": "B r i n g   t h e   n o d e   b a c k   o n l i n e   b y   m a r k i n g   i t   s c h e d u l a b l e :   #   r e p l a c e   < n o d e - t o - u n c o r d o n >   w i t h   t h e   n a m e   o f   y o u r   n o d e   k u b e c t l   u n c o r d o n   < n o d e - t o - u n c o r d o n >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17387"
  },
  {
    "question": "What is Upgrade worker nodes?",
    "answer": "T h e   u p g r a d e   p r o c e d u r e   o n   w o r k e r   n o d e s   s h o u l d   b e   e x e c u t e d   o n e   n o d e   a t   a   t i m e   o r   f e w   n o d e s   a t   a   t i m e ,   w i t h o u t   c o m p r o m i s i n g   t h e   m i n i m u m   r e q u i r e d   c a p a c i t y   f o r   r u n n i n g   y o u r   w o r k l o a d s .   T h e   f o l l o w i n g   p a g e s   s h o w   h o w   t o   u p g r a d e   L i n u x   a n d   W i n d o w s   w o r k e r   n o d e s :   U p g r a d e   L i n u x   n o d e s U p g r a d e   W i n d o w s   n o d e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17388"
  },
  {
    "question": "What is Verify the status of the cluster?",
    "answer": "A f t e r   t h e   k u b e l e t   i s   u p g r a d e d   o n   a l l   n o d e s   v e r i f y   t h a t   a l l   n o d e s   a r e   a v a i l a b l e   a g a i n   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d   f r o m   a n y w h e r e   k u b e c t l   c a n   a c c e s s   t h e   c l u s t e r :   k u b e c t l   g e t   n o d e s   T h e   S T A T U S   c o l u m n   s h o u l d   s h o w   R e a d y   f o r   a l l   y o u r   n o d e s ,   a n d   t h e   v e r s i o n   n u m b e r   s h o u l d   b e   u p d a t e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17389"
  },
  {
    "question": "What is Recovering from a failure state?",
    "answer": "I f   k u b e a d m   u p g r a d e   f a i l s   a n d   d o e s   n o t   r o l l   b a c k ,   f o r   e x a m p l e   b e c a u s e   o f   a n   u n e x p e c t e d   s h u t d o w n   d u r i n g   e x e c u t i o n ,   y o u   c a n   r u n   k u b e a d m   u p g r a d e   a g a i n .   T h i s   c o m m a n d   i s   i d e m p o t e n t   a n d   e v e n t u a l l y   m a k e s   s u r e   t h a t   t h e   a c t u a l   s t a t e   i s   t h e   d e s i r e d   s t a t e   y o u   d e c l a r e .   T o   r e c o v e r   f r o m   a   b a d   s t a t e ,   y o u   c a n   a l s o   r u n   s u d o   k u b e a d m   u p g r a d e   a p p l y   - - f o r c e   w i t h o u t   c h a n g i n g   t h e   v e r s i o n   t h a t   y o u r   c l u s t e r   i s   r u n n i n g .   D u r i n g   u p g r a d e   k u b e a d m   w r i t e s   t h e   f o l l o w i n g   b a c k u p   f o l d e r s   u n d e r   / e t c / k u b e r n e t e s / t m p :   k u b e a d m - b a c k u p - e t c d - < d a t e > - < t i m e > k u b e a d m - b a c k u p - m a n i f e s t s - < d a t e > - < t i m e >   k u b e a d m - b a c k u p - e t c d   c o n t a i n s   a   b a c k u p   o f   t h e   l o c a l   e t c d   m e m b e r   d a t a   f o r   t h i s   c o n t r o l   p l a n e   N o d e .   I n   c a s e   o f   a n   e t c d   u p g r a d e   f a i l u r e   a n d   i f   t h e   a u t o m a t i c   r o l l b a c k   d o e s   n o t   w o r k ,   t h e   c o n t e n t s   o f   t h i s   f o l d e r   c a n   b e   m a n u a l l y   r e s t o r e d   i n   / v a r / l i b / e t c d .   I n   c a s e   e x t e r n a l   e t c d   i s   u s e d   t h i s   b a c k u p   f o l d e r   w i l l   b e   e m p t y .   k u b e a d m - b a c k u p - m a n i f e s t s   c o n t a i n s   a   b a c k u p   o f   t h e   s t a t i c   P o d   m a n i f e s t   f i l e s   f o r   t h i s   c o n t r o l   p l a n e   N o d e .   I n   c a s e   o f   a   u p g r a d e   f a i l u r e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17390"
  },
  {
    "question": "What is How it works?",
    "answer": "k u b e a d m   u p g r a d e   a p p l y   d o e s   t h e   f o l l o w i n g :   C h e c k s   t h a t   y o u r   c l u s t e r   i s   i n   a n   u p g r a d e a b l e   s t a t e : T h e   A P I   s e r v e r   i s   r e a c h a b l e A l l   n o d e s   a r e   i n   t h e   R e a d y   s t a t e T h e   c o n t r o l   p l a n e   i s   h e a l t h y E n f o r c e s   t h e   v e r s i o n   s k e w   p o l i c i e s . M a k e s   s u r e   t h e   c o n t r o l   p l a n e   i m a g e s   a r e   a v a i l a b l e   o r   a v a i l a b l e   t o   p u l l   t o   t h e   m a c h i n e . G e n e r a t e s   r e p l a c e m e n t s   a n d / o r   u s e s   u s e r   s u p p l i e d   o v e r w r i t e s   i f   c o m p o n e n t   c o n f i g s   r e q u i r e   v e r s i o n   u p g r a d e s . U p g r a d e s   t h e   c o n t r o l   p l a n e   c o m p o n e n t s   o r   r o l l b a c k s   i f   a n y   o f   t h e m   f a i l s   t o   c o m e   u p . A p p l i e s   t h e   n e w   C o r e D N S   a n d   k u b e - p r o x y   m a n i f e s t s   a n d   m a k e s   s u r e   t h a t   a l l   n e c e s s a r y   R B A C   r u l e s   a r e   c r e a t e d . C r e a t e s   n e w   c e r t i f i c a t e   a n d   k e y   f i l e s   o f   t h e   A P I   s e r v e r   a n d   b a c k s   u p   o l d   f i l e s   i f   t h e y ' r e   a b o u t   t o   e x p i r e   i n   1 8 0   d a y s .   T h e   A P I   s e r v e r   i s   r e a c h a b l e A l l   n o d e s   a r e   i n   t h e   R e a d y   s t a t e T h e   c o n t r o l   p l a n e   i s   h e a l t h y   k u b e a d m   u p g r a d e   n o d e   d o e s   t h e   f o l l o w i n g   o n   a d d i t i o n a l   c o n t r o l   p l a n e   n o d e s :   F e t c h e s   t h e   k u b e a d m   C l u s t e r C o n f i g u r a t i o n   f r o m   t h e   c l u s t e r . O p t i o n a l l y   b a c k u p s   t h e   k u b e - a p i s e r v e r   c e r t i f i c a t e . U p g r a d e s   t h e   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17391"
  },
  {
    "question": "What is 2.1.4 - Upgrading Linux nodes?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   t o   u p g r a d e   a   L i n u x   W o r k e r   N o d e s   c r e a t e d   w i t h   k u b e a d m .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17392"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   s h e l l   a c c e s s   t o   a l l   t h e   n o d e s ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   s h e l l   a c c e s s   t o   a l l   t h e   n o d e s ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   F a m i l i a r i z e   y o u r s e l f   w i t h   t h e   p r o c e s s   f o r   u p g r a d i n g   t h e   r e s t   o f   y o u r   k u b e a d m   c l u s t e r .   Y o u   w i l l   w a n t   t o   u p g r a d e   t h e   c o n t r o l   p l a n e   n o d e s   b e f o r e   u p g r a d i n g   y o u r   L i n u x   W o r k e r   n o d e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17393"
  },
  {
    "question": "What is Changing the package repository?",
    "answer": "I f   y o u ' r e   u s i n g   t h e   c o m m u n i t y - o w n e d   p a c k a g e   r e p o s i t o r i e s   ( p k g s . k 8 s . i o ) ,   y o u   n e e d   t o   e n a b l e   t h e   p a c k a g e   r e p o s i t o r y   f o r   t h e   d e s i r e d   K u b e r n e t e s   m i n o r   r e l e a s e .   T h i s   i s   e x p l a i n e d   i n   C h a n g i n g   t h e   K u b e r n e t e s   p a c k a g e   r e p o s i t o r y   d o c u m e n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17394"
  },
  {
    "question": "What is Upgrade kubeadm?",
    "answer": "U p g r a d e   k u b e a d m :   #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   a p t - m a r k   u n h o l d   k u b e a d m   & &   \\   s u d o   a p t - g e t   u p d a t e   & &   s u d o   a p t - g e t   i n s t a l l   - y   k u b e a d m = ' 1 . 3 4 . x - * '   & &   \\   s u d o   a p t - m a r k   h o l d   k u b e a d m   #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   a p t - m a r k   u n h o l d   k u b e a d m   & &   \\   s u d o   a p t - g e t   u p d a t e   & &   s u d o   a p t - g e t   i n s t a l l   - y   k u b e a d m = ' 1 . 3 4 . x - * '   & &   \\   s u d o   a p t - m a r k   h o l d   k u b e a d m   F o r   s y s t e m s   w i t h   D N F : #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   y u m   i n s t a l l   - y   k u b e a d m - ' 1 . 3 4 . x - * '   - - d i s a b l e e x c l u d e s = k u b e r n e t e s   F o r   s y s t e m s   w i t h   D N F 5 : #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   y u m   i n s t a l l   - y   k u b e a d m - ' 1 . 3 4 . x - * '   - - s e t o p t = d i s a b l e _ e x c l u d e s = k u b e r n e t e s   F o r   s y s t e m s   w i t h   D N F :   #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   y u m   i n s t a l l   - y   k u b e a d m - ' 1 . 3 4 . x - * '   - - d i s a b l e e x c l u d e s = k u b e r n e t e s   F o r   s y s t e m s   w i t h   D N F 5 :   #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   y u m   i n s t a l l   - y   k u b e a d m - ' 1 . 3 4 . x - * '   - - s e t o p t = d i s a b l e _ e x c l u d e s = k u b e r n e t e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17395"
  },
  {
    "question": "What is Call \"kubeadm upgrade\"?",
    "answer": "F o r   w o r k e r   n o d e s   t h i s   u p g r a d e s   t h e   l o c a l   k u b e l e t   c o n f i g u r a t i o n :   s u d o   k u b e a d m   u p g r a d e   n o d e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17396"
  },
  {
    "question": "What is Drain the node?",
    "answer": "P r e p a r e   t h e   n o d e   f o r   m a i n t e n a n c e   b y   m a r k i n g   i t   u n s c h e d u l a b l e   a n d   e v i c t i n g   t h e   w o r k l o a d s :   #   e x e c u t e   t h i s   c o m m a n d   o n   a   c o n t r o l   p l a n e   n o d e   #   r e p l a c e   < n o d e - t o - d r a i n >   w i t h   t h e   n a m e   o f   y o u r   n o d e   y o u   a r e   d r a i n i n g   k u b e c t l   d r a i n   < n o d e - t o - d r a i n >   - - i g n o r e - d a e m o n s e t s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17397"
  },
  {
    "question": "What is Upgrade kubelet and kubectl?",
    "answer": "U p g r a d e   t h e   k u b e l e t   a n d   k u b e c t l : #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   a p t - m a r k   u n h o l d   k u b e l e t   k u b e c t l   & &   \\   s u d o   a p t - g e t   u p d a t e   & &   s u d o   a p t - g e t   i n s t a l l   - y   k u b e l e t = ' 1 . 3 4 . x - * '   k u b e c t l = ' 1 . 3 4 . x - * '   & &   \\   s u d o   a p t - m a r k   h o l d   k u b e l e t   k u b e c t l   F o r   s y s t e m s   w i t h   D N F : #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   y u m   i n s t a l l   - y   k u b e l e t - ' 1 . 3 4 . x - * '   k u b e c t l - ' 1 . 3 4 . x - * '   - - d i s a b l e e x c l u d e s = k u b e r n e t e s   F o r   s y s t e m s   w i t h   D N F 5 : #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   y u m   i n s t a l l   - y   k u b e l e t - ' 1 . 3 4 . x - * '   k u b e c t l - ' 1 . 3 4 . x - * '   - - s e t o p t = d i s a b l e _ e x c l u d e s = k u b e r n e t e s   R e s t a r t   t h e   k u b e l e t : s u d o   s y s t e m c t l   d a e m o n - r e l o a d   s u d o   s y s t e m c t l   r e s t a r t   k u b e l e t   U p g r a d e   t h e   k u b e l e t   a n d   k u b e c t l :   #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   a p t - m a r k   u n h o l d   k u b e l e t   k u b e c t l   & &   \\   s u d o   a p t - g e t   u p d a t e   & &   s u d o   a p t - g e t   i n s t a l l   - y   k u b e l e t = ' 1 . 3 4 . x - * '   k u b e c t l = ' 1 . 3 4 . x - * '   & &   \\   s u d o   a p t - m a r k   h o l d   k u b e l e t   k u b e c t l   #   r e p l a c e   x   i n   1 . 3 4 . x - *   w i t h   t h e   l a t e s t   p a t c h   v e r s i o n   s u d o   a p t - m a r k   u n h o l d   k u b e l ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17398"
  },
  {
    "question": "What is Uncordon the node?",
    "answer": "B r i n g   t h e   n o d e   b a c k   o n l i n e   b y   m a r k i n g   i t   s c h e d u l a b l e :   #   e x e c u t e   t h i s   c o m m a n d   o n   a   c o n t r o l   p l a n e   n o d e   #   r e p l a c e   < n o d e - t o - u n c o r d o n >   w i t h   t h e   n a m e   o f   y o u r   n o d e   k u b e c t l   u n c o r d o n   < n o d e - t o - u n c o r d o n >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17399"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   h o w   t o   U p g r a d e   W i n d o w s   n o d e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17400"
  },
  {
    "question": "What is 2.1.5 - Upgrading Windows nodes?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   t o   u p g r a d e   a   W i n d o w s   n o d e   c r e a t e d   w i t h   k u b e a d m .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17401"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   s h e l l   a c c e s s   t o   a l l   t h e   n o d e s ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s . Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 1 7 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   s h e l l   a c c e s s   t o   a l l   t h e   n o d e s ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   F a m i l i a r i z e   y o u r s e l f   w i t h   t h e   p r o c e s s   f o r   u p g r a d i n g   t h e   r e s t   o f   y o u r   k u b e a d m   c l u s t e r .   Y o u   w i l l   w a n t   t o   u p g r a d e   t h e   c o n t r o l   p l a n e   n o d e s   b e f o r e   u p g r a d i n g   y o u r   W i n d o w s   n o d e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17402"
  },
  {
    "question": "What is Upgrade kubeadm?",
    "answer": "F r o m   t h e   W i n d o w s   n o d e ,   u p g r a d e   k u b e a d m : #   r e p l a c e   1 . 3 4 . 0   w i t h   y o u r   d e s i r e d   v e r s i o n   c u r l . e x e   - L o   < p a t h - t o - k u b e a d m . e x e >   \" h t t p s : / / d l . k 8 s . i o / v 1 . 3 4 . 0 / b i n / w i n d o w s / a m d 6 4 / k u b e a d m . e x e \"   F r o m   t h e   W i n d o w s   n o d e ,   u p g r a d e   k u b e a d m :   #   r e p l a c e   1 . 3 4 . 0   w i t h   y o u r   d e s i r e d   v e r s i o n   c u r l . e x e   - L o   < p a t h - t o - k u b e a d m . e x e >   \" h t t p s : / / d l . k 8 s . i o / v 1 . 3 4 . 0 / b i n / w i n d o w s / a m d 6 4 / k u b e a d m . e x e \"",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17403"
  },
  {
    "question": "What is Drain the node?",
    "answer": "F r o m   a   m a c h i n e   w i t h   a c c e s s   t o   t h e   K u b e r n e t e s   A P I ,   p r e p a r e   t h e   n o d e   f o r   m a i n t e n a n c e   b y   m a r k i n g   i t   u n s c h e d u l a b l e   a n d   e v i c t i n g   t h e   w o r k l o a d s : #   r e p l a c e   < n o d e - t o - d r a i n >   w i t h   t h e   n a m e   o f   y o u r   n o d e   y o u   a r e   d r a i n i n g   k u b e c t l   d r a i n   < n o d e - t o - d r a i n >   - - i g n o r e - d a e m o n s e t s   Y o u   s h o u l d   s e e   o u t p u t   s i m i l a r   t o   t h i s : n o d e / i p - 1 7 2 - 3 1 - 8 5 - 1 8   c o r d o n e d   n o d e / i p - 1 7 2 - 3 1 - 8 5 - 1 8   d r a i n e d   F r o m   a   m a c h i n e   w i t h   a c c e s s   t o   t h e   K u b e r n e t e s   A P I ,   p r e p a r e   t h e   n o d e   f o r   m a i n t e n a n c e   b y   m a r k i n g   i t   u n s c h e d u l a b l e   a n d   e v i c t i n g   t h e   w o r k l o a d s :   #   r e p l a c e   < n o d e - t o - d r a i n >   w i t h   t h e   n a m e   o f   y o u r   n o d e   y o u   a r e   d r a i n i n g   k u b e c t l   d r a i n   < n o d e - t o - d r a i n >   - - i g n o r e - d a e m o n s e t s   Y o u   s h o u l d   s e e   o u t p u t   s i m i l a r   t o   t h i s :   n o d e / i p - 1 7 2 - 3 1 - 8 5 - 1 8   c o r d o n e d   n o d e / i p - 1 7 2 - 3 1 - 8 5 - 1 8   d r a i n e d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17404"
  },
  {
    "question": "What is Upgrade the kubelet configuration?",
    "answer": "F r o m   t h e   W i n d o w s   n o d e ,   c a l l   t h e   f o l l o w i n g   c o m m a n d   t o   s y n c   n e w   k u b e l e t   c o n f i g u r a t i o n : k u b e a d m   u p g r a d e   n o d e   F r o m   t h e   W i n d o w s   n o d e ,   c a l l   t h e   f o l l o w i n g   c o m m a n d   t o   s y n c   n e w   k u b e l e t   c o n f i g u r a t i o n :   k u b e a d m   u p g r a d e   n o d e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17405"
  },
  {
    "question": "What is Upgrade kubelet and kube-proxy?",
    "answer": "F r o m   t h e   W i n d o w s   n o d e ,   u p g r a d e   a n d   r e s t a r t   t h e   k u b e l e t : s t o p - s e r v i c e   k u b e l e t   c u r l . e x e   - L o   < p a t h - t o - k u b e l e t . e x e >   \" h t t p s : / / d l . k 8 s . i o / v 1 . 3 4 . 0 / b i n / w i n d o w s / a m d 6 4 / k u b e l e t . e x e \"   r e s t a r t - s e r v i c e   k u b e l e t   F r o m   t h e   W i n d o w s   n o d e ,   u p g r a d e   a n d   r e s t a r t   t h e   k u b e - p r o x y . s t o p - s e r v i c e   k u b e - p r o x y   c u r l . e x e   - L o   < p a t h - t o - k u b e - p r o x y . e x e >   \" h t t p s : / / d l . k 8 s . i o / v 1 . 3 4 . 0 / b i n / w i n d o w s / a m d 6 4 / k u b e - p r o x y . e x e \"   r e s t a r t - s e r v i c e   k u b e - p r o x y   F r o m   t h e   W i n d o w s   n o d e ,   u p g r a d e   a n d   r e s t a r t   t h e   k u b e l e t :   s t o p - s e r v i c e   k u b e l e t   c u r l . e x e   - L o   < p a t h - t o - k u b e l e t . e x e >   \" h t t p s : / / d l . k 8 s . i o / v 1 . 3 4 . 0 / b i n / w i n d o w s / a m d 6 4 / k u b e l e t . e x e \"   r e s t a r t - s e r v i c e   k u b e l e t   F r o m   t h e   W i n d o w s   n o d e ,   u p g r a d e   a n d   r e s t a r t   t h e   k u b e - p r o x y .   s t o p - s e r v i c e   k u b e - p r o x y   c u r l . e x e   - L o   < p a t h - t o - k u b e - p r o x y . e x e >   \" h t t p s : / / d l . k 8 s . i o / v 1 . 3 4 . 0 / b i n / w i n d o w s / a m d 6 4 / k u b e - p r o x y . e x e \"   r e s t a r t - s e r v i c e   k u b e - p r o x y",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17406"
  },
  {
    "question": "What is Uncordon the node?",
    "answer": "F r o m   a   m a c h i n e   w i t h   a c c e s s   t o   t h e   K u b e r n e t e s   A P I ,   b r i n g   t h e   n o d e   b a c k   o n l i n e   b y   m a r k i n g   i t   s c h e d u l a b l e : #   r e p l a c e   < n o d e - t o - d r a i n >   w i t h   t h e   n a m e   o f   y o u r   n o d e   k u b e c t l   u n c o r d o n   < n o d e - t o - d r a i n >   F r o m   a   m a c h i n e   w i t h   a c c e s s   t o   t h e   K u b e r n e t e s   A P I ,   b r i n g   t h e   n o d e   b a c k   o n l i n e   b y   m a r k i n g   i t   s c h e d u l a b l e :   #   r e p l a c e   < n o d e - t o - d r a i n >   w i t h   t h e   n a m e   o f   y o u r   n o d e   k u b e c t l   u n c o r d o n   < n o d e - t o - d r a i n >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17407"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   h o w   t o   U p g r a d e   L i n u x   n o d e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17408"
  },
  {
    "question": "What is 2.1.6 - Configuring a cgroup driver?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   t o   c o n f i g u r e   t h e   k u b e l e t ' s   c g r o u p   d r i v e r   t o   m a t c h   t h e   c o n t a i n e r   r u n t i m e   c g r o u p   d r i v e r   f o r   k u b e a d m   c l u s t e r s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17409"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   s h o u l d   b e   f a m i l i a r   w i t h   t h e   K u b e r n e t e s   c o n t a i n e r   r u n t i m e   r e q u i r e m e n t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17410"
  },
  {
    "question": "What is Configuring the container runtime cgroup driver?",
    "answer": "T h e   C o n t a i n e r   r u n t i m e s   p a g e   e x p l a i n s   t h a t   t h e   s y s t e m d   d r i v e r   i s   r e c o m m e n d e d   f o r   k u b e a d m   b a s e d   s e t u p s   i n s t e a d   o f   t h e   k u b e l e t ' s   d e f a u l t   c g r o u p f s   d r i v e r ,   b e c a u s e   k u b e a d m   m a n a g e s   t h e   k u b e l e t   a s   a   s y s t e m d   s e r v i c e .   T h e   p a g e   a l s o   p r o v i d e s   d e t a i l s   o n   h o w   t o   s e t   u p   a   n u m b e r   o f   d i f f e r e n t   c o n t a i n e r   r u n t i m e s   w i t h   t h e   s y s t e m d   d r i v e r   b y   d e f a u l t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17411"
  },
  {
    "question": "What is Configuring the kubelet cgroup driver?",
    "answer": "k u b e a d m   a l l o w s   y o u   t o   p a s s   a   K u b e l e t C o n f i g u r a t i o n   s t r u c t u r e   d u r i n g   k u b e a d m   i n i t .   T h i s   K u b e l e t C o n f i g u r a t i o n   c a n   i n c l u d e   t h e   c g r o u p D r i v e r   f i e l d   w h i c h   c o n t r o l s   t h e   c g r o u p   d r i v e r   o f   t h e   k u b e l e t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17412"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   v 1 . 2 2   a n d   l a t e r ,   i f   t h e   u s e r   d o e s   n o t   s e t   t h e   c g r o u p D r i v e r   f i e l d   u n d e r   K u b e l e t C o n f i g u r a t i o n ,   k u b e a d m   d e f a u l t s   i t   t o   s y s t e m d .   I n   K u b e r n e t e s   v 1 . 2 8 ,   y o u   c a n   e n a b l e   a u t o m a t i c   d e t e c t i o n   o f   t h e   c g r o u p   d r i v e r   a s   a n   a l p h a   f e a t u r e .   S e e   s y s t e m d   c g r o u p   d r i v e r   f o r   m o r e   d e t a i l s .   A   m i n i m a l   e x a m p l e   o f   c o n f i g u r i n g   t h e   f i e l d   e x p l i c i t l y :   #   k u b e a d m - c o n f i g . y a m l   k i n d :   C l u s t e r C o n f i g u r a t i o n   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k u b e r n e t e s V e r s i o n :   v 1 . 2 1 . 0   - - -   k i n d :   K u b e l e t C o n f i g u r a t i o n   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   c g r o u p D r i v e r :   s y s t e m d   S u c h   a   c o n f i g u r a t i o n   f i l e   c a n   t h e n   b e   p a s s e d   t o   t h e   k u b e a d m   c o m m a n d :   k u b e a d m   i n i t   - - c o n f i g   k u b e a d m - c o n f i g . y a m l",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17413"
  },
  {
    "question": "What is Note:?",
    "answer": "K u b e a d m   u s e s   t h e   s a m e   K u b e l e t C o n f i g u r a t i o n   f o r   a l l   n o d e s   i n   t h e   c l u s t e r .   T h e   K u b e l e t C o n f i g u r a t i o n   i s   s t o r e d   i n   a   C o n f i g M a p   o b j e c t   u n d e r   t h e   k u b e - s y s t e m   n a m e s p a c e .   E x e c u t i n g   t h e   s u b   c o m m a n d s   i n i t ,   j o i n   a n d   u p g r a d e   w o u l d   r e s u l t   i n   k u b e a d m   w r i t i n g   t h e   K u b e l e t C o n f i g u r a t i o n   a s   a   f i l e   u n d e r   / v a r / l i b / k u b e l e t / c o n f i g . y a m l   a n d   p a s s i n g   i t   t o   t h e   l o c a l   n o d e   k u b e l e t .   O n   e a c h   n o d e ,   k u b e a d m   d e t e c t s   t h e   C R I   s o c k e t   a n d   s t o r e s   i t s   d e t a i l s   i n t o   t h e   / v a r / l i b / k u b e l e t / i n s t a n c e - c o n f i g . y a m l   f i l e .   W h e n   e x e c u t i n g   t h e   i n i t ,   j o i n ,   o r   u p g r a d e   s u b c o m m a n d s ,   k u b e a d m   p a t c h e s   t h e   c o n t a i n e r R u n t i m e E n d p o i n t   v a l u e   f r o m   t h i s   i n s t a n c e   c o n f i g u r a t i o n   i n t o   / v a r / l i b / k u b e l e t / c o n f i g . y a m l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17414"
  },
  {
    "question": "What is Using the cgroupfs driver?",
    "answer": "T o   u s e   c g r o u p f s   a n d   t o   p r e v e n t   k u b e a d m   u p g r a d e   f r o m   m o d i f y i n g   t h e   K u b e l e t C o n f i g u r a t i o n   c g r o u p   d r i v e r   o n   e x i s t i n g   s e t u p s ,   y o u   m u s t   b e   e x p l i c i t   a b o u t   i t s   v a l u e .   T h i s   a p p l i e s   t o   a   c a s e   w h e r e   y o u   d o   n o t   w i s h   f u t u r e   v e r s i o n s   o f   k u b e a d m   t o   a p p l y   t h e   s y s t e m d   d r i v e r   b y   d e f a u l t .   S e e   t h e   b e l o w   s e c t i o n   o n   \" M o d i f y   t h e   k u b e l e t   C o n f i g M a p \"   f o r   d e t a i l s   o n   h o w   t o   b e   e x p l i c i t   a b o u t   t h e   v a l u e .   I f   y o u   w i s h   t o   c o n f i g u r e   a   c o n t a i n e r   r u n t i m e   t o   u s e   t h e   c g r o u p f s   d r i v e r ,   y o u   m u s t   r e f e r   t o   t h e   d o c u m e n t a t i o n   o f   t h e   c o n t a i n e r   r u n t i m e   o f   y o u r   c h o i c e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17415"
  },
  {
    "question": "What is Migrating to the systemd driver?",
    "answer": "T o   c h a n g e   t h e   c g r o u p   d r i v e r   o f   a n   e x i s t i n g   k u b e a d m   c l u s t e r   f r o m   c g r o u p f s   t o   s y s t e m d   i n - p l a c e ,   a   s i m i l a r   p r o c e d u r e   t o   a   k u b e l e t   u p g r a d e   i s   r e q u i r e d .   T h i s   m u s t   i n c l u d e   b o t h   s t e p s   o u t l i n e d   b e l o w .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17416"
  },
  {
    "question": "What is Modify the kubelet ConfigMap?",
    "answer": "C a l l   k u b e c t l   e d i t   c m   k u b e l e t - c o n f i g   - n   k u b e - s y s t e m . E i t h e r   m o d i f y   t h e   e x i s t i n g   c g r o u p D r i v e r   v a l u e   o r   a d d   a   n e w   f i e l d   t h a t   l o o k s   l i k e   t h i s : c g r o u p D r i v e r :   s y s t e m d   T h i s   f i e l d   m u s t   b e   p r e s e n t   u n d e r   t h e   k u b e l e t :   s e c t i o n   o f   t h e   C o n f i g M a p .   C a l l   k u b e c t l   e d i t   c m   k u b e l e t - c o n f i g   - n   k u b e - s y s t e m .   E i t h e r   m o d i f y   t h e   e x i s t i n g   c g r o u p D r i v e r   v a l u e   o r   a d d   a   n e w   f i e l d   t h a t   l o o k s   l i k e   t h i s :   c g r o u p D r i v e r :   s y s t e m d   T h i s   f i e l d   m u s t   b e   p r e s e n t   u n d e r   t h e   k u b e l e t :   s e c t i o n   o f   t h e   C o n f i g M a p .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17417"
  },
  {
    "question": "What is Update the cgroup driver on all nodes?",
    "answer": "F o r   e a c h   n o d e   i n   t h e   c l u s t e r :   D r a i n   t h e   n o d e   u s i n g   k u b e c t l   d r a i n   < n o d e - n a m e >   - - i g n o r e - d a e m o n s e t s S t o p   t h e   k u b e l e t   u s i n g   s y s t e m c t l   s t o p   k u b e l e t S t o p   t h e   c o n t a i n e r   r u n t i m e M o d i f y   t h e   c o n t a i n e r   r u n t i m e   c g r o u p   d r i v e r   t o   s y s t e m d S e t   c g r o u p D r i v e r :   s y s t e m d   i n   / v a r / l i b / k u b e l e t / c o n f i g . y a m l S t a r t   t h e   c o n t a i n e r   r u n t i m e S t a r t   t h e   k u b e l e t   u s i n g   s y s t e m c t l   s t a r t   k u b e l e t U n c o r d o n   t h e   n o d e   u s i n g   k u b e c t l   u n c o r d o n   < n o d e - n a m e >   E x e c u t e   t h e s e   s t e p s   o n   n o d e s   o n e   a t   a   t i m e   t o   e n s u r e   w o r k l o a d s   h a v e   s u f f i c i e n t   t i m e   t o   s c h e d u l e   o n   d i f f e r e n t   n o d e s .   O n c e   t h e   p r o c e s s   i s   c o m p l e t e   e n s u r e   t h a t   a l l   n o d e s   a n d   w o r k l o a d s   a r e   h e a l t h y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17418"
  },
  {
    "question": "What is 2.1.7 - Certificate Management with kubeadm?",
    "answer": "C l i e n t   c e r t i f i c a t e s   g e n e r a t e d   b y   k u b e a d m   e x p i r e   a f t e r   1   y e a r .   T h i s   p a g e   e x p l a i n s   h o w   t o   m a n a g e   c e r t i f i c a t e   r e n e w a l s   w i t h   k u b e a d m .   I t   a l s o   c o v e r s   o t h e r   t a s k s   r e l a t e d   t o   k u b e a d m   c e r t i f i c a t e   m a n a g e m e n t .   T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   u p g r a d i n g   t o   t h e   l a t e s t   p a t c h   r e l e a s e s   p r o m p t l y ,   a n d   t o   e n s u r e   t h a t   y o u   a r e   r u n n i n g   a   s u p p o r t e d   m i n o r   r e l e a s e   o f   K u b e r n e t e s .   F o l l o w i n g   t h i s   r e c o m m e n d a t i o n   h e l p s   y o u   t o   s t a y   s e c u r e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17419"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   s h o u l d   b e   f a m i l i a r   w i t h   P K I   c e r t i f i c a t e s   a n d   r e q u i r e m e n t s   i n   K u b e r n e t e s .   Y o u   s h o u l d   b e   f a m i l i a r   w i t h   h o w   t o   p a s s   a   c o n f i g u r a t i o n   f i l e   t o   t h e   k u b e a d m   c o m m a n d s .   T h i s   g u i d e   c o v e r s   t h e   u s a g e   o f   t h e   o p e n s s l   c o m m a n d   ( u s e d   f o r   m a n u a l   c e r t i f i c a t e   s i g n i n g ,   i f   y o u   c h o o s e   t h a t   a p p r o a c h ) ,   b u t   y o u   c a n   u s e   y o u r   p r e f e r r e d   t o o l s .   S o m e   o f   t h e   s t e p s   h e r e   u s e   s u d o   f o r   a d m i n i s t r a t o r   a c c e s s .   Y o u   c a n   u s e   a n y   e q u i v a l e n t   t o o l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17420"
  },
  {
    "question": "What is Using custom certificates?",
    "answer": "B y   d e f a u l t ,   k u b e a d m   g e n e r a t e s   a l l   t h e   c e r t i f i c a t e s   n e e d e d   f o r   a   c l u s t e r   t o   r u n .   Y o u   c a n   o v e r r i d e   t h i s   b e h a v i o r   b y   p r o v i d i n g   y o u r   o w n   c e r t i f i c a t e s .   T o   d o   s o ,   y o u   m u s t   p l a c e   t h e m   i n   w h a t e v e r   d i r e c t o r y   i s   s p e c i f i e d   b y   t h e   - - c e r t - d i r   f l a g   o r   t h e   c e r t i f i c a t e s D i r   f i e l d   o f   k u b e a d m ' s   C l u s t e r C o n f i g u r a t i o n .   B y   d e f a u l t   t h i s   i s   / e t c / k u b e r n e t e s / p k i .   I f   a   g i v e n   c e r t i f i c a t e   a n d   p r i v a t e   k e y   p a i r   e x i s t s   b e f o r e   r u n n i n g   k u b e a d m   i n i t ,   k u b e a d m   d o e s   n o t   o v e r w r i t e   t h e m .   T h i s   m e a n s   y o u   c a n ,   f o r   e x a m p l e ,   c o p y   a n   e x i s t i n g   C A   i n t o   / e t c / k u b e r n e t e s / p k i / c a . c r t   a n d   / e t c / k u b e r n e t e s / p k i / c a . k e y ,   a n d   k u b e a d m   w i l l   u s e   t h i s   C A   f o r   s i g n i n g   t h e   r e s t   o f   t h e   c e r t i f i c a t e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17421"
  },
  {
    "question": "What is Choosing an encryption algorithm?",
    "answer": "k u b e a d m   a l l o w s   y o u   t o   c h o o s e   a n   e n c r y p t i o n   a l g o r i t h m   t h a t   i s   u s e d   f o r   c r e a t i n g   p u b l i c   a n d   p r i v a t e   k e y s .   T h a t   c a n   b e   d o n e   b y   u s i n g   t h e   e n c r y p t i o n A l g o r i t h m   f i e l d   o f   t h e   k u b e a d m   c o n f i g u r a t i o n :   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   C l u s t e r C o n f i g u r a t i o n   e n c r y p t i o n A l g o r i t h m :   < A L G O R I T H M >   < A L G O R I T H M >   c a n   b e   o n e   o f   R S A - 2 0 4 8   ( d e f a u l t ) ,   R S A - 3 0 7 2 ,   R S A - 4 0 9 6   o r   E C D S A - P 2 5 6 .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17422"
  },
  {
    "question": "What is Choosing certificate validity period?",
    "answer": "k u b e a d m   a l l o w s   y o u   t o   c h o o s e   t h e   v a l i d i t y   p e r i o d   o f   C A   a n d   l e a f   c e r t i f i c a t e s .   T h a t   c a n   b e   d o n e   b y   u s i n g   t h e   c e r t i f i c a t e V a l i d i t y P e r i o d   a n d   c a C e r t i f i c a t e V a l i d i t y P e r i o d   f i e l d s   o f   t h e   k u b e a d m   c o n f i g u r a t i o n :   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   C l u s t e r C o n f i g u r a t i o n   c e r t i f i c a t e V a l i d i t y P e r i o d :   8 7 6 0 h   #   D e f a u l t :   3 6 5   d a y s   ×   2 4   h o u r s   =   1   y e a r   c a C e r t i f i c a t e V a l i d i t y P e r i o d :   8 7 6 0 0 h   #   D e f a u l t :   3 6 5   d a y s   ×   2 4   h o u r s   *   1 0   =   1 0   y e a r s   T h e   v a l u e s   o f   t h e   f i e l d s   f o l l o w   t h e   a c c e p t e d   f o r m a t   f o r   G o ' s   t i m e . D u r a t i o n   v a l u e s ,   w i t h   t h e   l o n g e s t   s u p p o r t e d   u n i t   b e i n g   h   ( h o u r s ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17423"
  },
  {
    "question": "What is External CA mode?",
    "answer": "I t   i s   a l s o   p o s s i b l e   t o   p r o v i d e   o n l y   t h e   c a . c r t   f i l e   a n d   n o t   t h e   c a . k e y   f i l e   ( t h i s   i s   o n l y   a v a i l a b l e   f o r   t h e   r o o t   C A   f i l e ,   n o t   o t h e r   c e r t   p a i r s ) .   I f   a l l   o t h e r   c e r t i f i c a t e s   a n d   k u b e c o n f i g   f i l e s   a r e   i n   p l a c e ,   k u b e a d m   r e c o g n i z e s   t h i s   c o n d i t i o n   a n d   a c t i v a t e s   t h e   \" E x t e r n a l   C A \"   m o d e .   k u b e a d m   w i l l   p r o c e e d   w i t h o u t   t h e   C A   k e y   o n   d i s k .   I n s t e a d ,   r u n   t h e   c o n t r o l l e r - m a n a g e r   s t a n d a l o n e   w i t h   - - c o n t r o l l e r s = c s r s i g n e r   a n d   p o i n t   t o   t h e   C A   c e r t i f i c a t e   a n d   k e y .   T h e r e   a r e   v a r i o u s   w a y s   t o   p r e p a r e   t h e   c o m p o n e n t   c r e d e n t i a l s   w h e n   u s i n g   e x t e r n a l   C A   m o d e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17424"
  },
  {
    "question": "What is Manual preparation of component credentials?",
    "answer": "P K I   c e r t i f i c a t e s   a n d   r e q u i r e m e n t s   i n c l u d e s   i n f o r m a t i o n   o n   h o w   t o   p r e p a r e   a l l   t h e   r e q u i r e d   b y   k u b e a d m   c o m p o n e n t   c r e d e n t i a l s   m a n u a l l y .   T h i s   g u i d e   c o v e r s   t h e   u s a g e   o f   t h e   o p e n s s l   c o m m a n d   ( u s e d   f o r   m a n u a l   c e r t i f i c a t e   s i g n i n g ,   i f   y o u   c h o o s e   t h a t   a p p r o a c h ) ,   b u t   y o u   c a n   u s e   y o u r   p r e f e r r e d   t o o l s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17425"
  },
  {
    "question": "What is Preparation of credentials by signing CSRs generated by kubeadm?",
    "answer": "k u b e a d m   c a n   g e n e r a t e   C S R   f i l e s   t h a t   y o u   c a n   s i g n   m a n u a l l y   w i t h   t o o l s   l i k e   o p e n s s l   a n d   y o u r   e x t e r n a l   C A .   T h e s e   C S R   f i l e s   w i l l   i n c l u d e   a l l   t h e   s p e c i f i c a t i o n   f o r   c r e d e n t i a l s   t h a t   c o m p o n e n t s   d e p l o y e d   b y   k u b e a d m   r e q u i r e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17426"
  },
  {
    "question": "What is Automated preparation of component credentials by using kubeadm phases?",
    "answer": "A l t e r n a t i v e l y ,   i t   i s   p o s s i b l e   t o   u s e   k u b e a d m   p h a s e   c o m m a n d s   t o   a u t o m a t e   t h i s   p r o c e s s .   G o   t o   a   h o s t   t h a t   y o u   w a n t   t o   p r e p a r e   a s   a   k u b e a d m   c o n t r o l   p l a n e   n o d e   w i t h   e x t e r n a l   C A . C o p y   t h e   e x t e r n a l   C A   f i l e s   c a . c r t   a n d   c a . k e y   t h a t   y o u   h a v e   i n t o   / e t c / k u b e r n e t e s / p k i   o n   t h e   n o d e . P r e p a r e   a   t e m p o r a r y   k u b e a d m   c o n f i g u r a t i o n   f i l e   c a l l e d   c o n f i g . y a m l   t h a t   c a n   b e   u s e d   w i t h   k u b e a d m   i n i t .   M a k e   s u r e   t h a t   t h i s   f i l e   i n c l u d e s   a n y   r e l e v a n t   c l u s t e r   w i d e   o r   h o s t - s p e c i f i c   i n f o r m a t i o n   t h a t   c o u l d   b e   i n c l u d e d   i n   c e r t i f i c a t e s ,   s u c h   a s ,   C l u s t e r C o n f i g u r a t i o n . c o n t r o l P l a n e E n d p o i n t ,   C l u s t e r C o n f i g u r a t i o n . c e r t S A N s   a n d   I n i t C o n f i g u r a t i o n . A P I E n d p o i n t . O n   t h e   s a m e   h o s t   e x e c u t e   t h e   c o m m a n d s   k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   a l l   - - c o n f i g   c o n f i g . y a m l   a n d   k u b e a d m   i n i t   p h a s e   c e r t s   a l l   - - c o n f i g   c o n f i g . y a m l .   T h i s   w i l l   g e n e r a t e   a l l   r e q u i r e d   k u b e c o n f i g   f i l e s   a n d   c e r t i f i c a t e s   u n d e r   / e t c / k u b e r n e t e s /   a n d   i t s   p k i   s u b   d i r e c t o r y . I n s p e c t   t h e   g e n e r a t e d   f i l e s .   D e l e t e   / e t c / k u b e r n e t e s / p k i / c a . k e y ,   d e l e t e   o r   m o v e   t o   a   s a f e   l o c a t i o n   t h e   f i l e   / e t c / k u b e r n e t e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17427"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   u s e   t h e   c h e c k - e x p i r a t i o n   s u b c o m m a n d   t o   c h e c k   w h e n   c e r t i f i c a t e s   e x p i r e :   k u b e a d m   c e r t s   c h e c k - e x p i r a t i o n   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   C E R T I F I C A T E   E X P I R E S   R E S I D U A L   T I M E   C E R T I F I C A T E   A U T H O R I T Y   E X T E R N A L L Y   M A N A G E D   a d m i n . c o n f   D e c   3 0 ,   2 0 2 0   2 3 : 3 6   U T C   3 6 4 d   n o   a p i s e r v e r   D e c   3 0 ,   2 0 2 0   2 3 : 3 6   U T C   3 6 4 d   c a   n o   a p i s e r v e r - e t c d - c l i e n t   D e c   3 0 ,   2 0 2 0   2 3 : 3 6   U T C   3 6 4 d   e t c d - c a   n o   a p i s e r v e r - k u b e l e t - c l i e n t   D e c   3 0 ,   2 0 2 0   2 3 : 3 6   U T C   3 6 4 d   c a   n o   c o n t r o l l e r - m a n a g e r . c o n f   D e c   3 0 ,   2 0 2 0   2 3 : 3 6   U T C   3 6 4 d   n o   e t c d - h e a l t h c h e c k - c l i e n t   D e c   3 0 ,   2 0 2 0   2 3 : 3 6   U T C   3 6 4 d   e t c d - c a   n o   e t c d - p e e r   D e c   3 0 ,   2 0 2 0   2 3 : 3 6   U T C   3 6 4 d   e t c d - c a   n o   e t c d - s e r v e r   D e c   3 0 ,   2 0 2 0   2 3 : 3 6   U T C   3 6 4 d   e t c d - c a   n o   f r o n t - p r o x y - c l i e n t   D e c   3 0 ,   2 0 2 0   2 3 : 3 6   U T C   3 6 4 d   f r o n t - p r o x y - c a   n o   s c h e d u l e r . c o n f   D e c   3 0 ,   2 0 2 0   2 3 : 3 6   U T C   3 6 4 d   n o   C E R T I F I C A T E   A U T H O R I T Y   E X P I R E S   R E S I D U A L   T I M E   E X T E R N A L L Y   M A N A G E D   c a   D e c   2 8 ,   2 0 2 9   2 3 : 3 6   U T C   9 y   n o   e t c d - c a   D e c   2 8 ,   2 0 2 9   2 3 : 3 6   U T C   9 y   n o   f r o n t - p r o x y - c a   D e c   2 8 ,   2 0 2 9   2 3 : 3 6   U T C   9 y   n o   T h e   c o m m a n d   s h o w s   e x p i r a t i o n / r e s i d u a l   t i m e   f o r   t h e   c l i e n t   c e r t i f i c a t e s   i n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17428"
  },
  {
    "question": "What is Note:?",
    "answer": "O n   n o d e s   c r e a t e d   w i t h   k u b e a d m   i n i t   f r o m   v e r s i o n s   p r i o r   t o   k u b e a d m   v e r s i o n   1 . 1 7 ,   t h e r e   i s   a   b u g   w h e r e   y o u   m a n u a l l y   h a v e   t o   m o d i f y   t h e   c o n t e n t s   o f   k u b e l e t . c o n f .   A f t e r   k u b e a d m   i n i t   f i n i s h e s ,   y o u   s h o u l d   u p d a t e   k u b e l e t . c o n f   t o   p o i n t   t o   t h e   r o t a t e d   k u b e l e t   c l i e n t   c e r t i f i c a t e s ,   b y   r e p l a c i n g   c l i e n t - c e r t i f i c a t e - d a t a   a n d   c l i e n t - k e y - d a t a   w i t h :   c l i e n t - c e r t i f i c a t e :   / v a r / l i b / k u b e l e t / p k i / k u b e l e t - c l i e n t - c u r r e n t . p e m   c l i e n t - k e y :   / v a r / l i b / k u b e l e t / p k i / k u b e l e t - c l i e n t - c u r r e n t . p e m",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17429"
  },
  {
    "question": "What is Automatic certificate renewal?",
    "answer": "k u b e a d m   r e n e w s   a l l   t h e   c e r t i f i c a t e s   d u r i n g   c o n t r o l   p l a n e   u p g r a d e .   T h i s   f e a t u r e   i s   d e s i g n e d   f o r   a d d r e s s i n g   t h e   s i m p l e s t   u s e   c a s e s ;   i f   y o u   d o n ' t   h a v e   s p e c i f i c   r e q u i r e m e n t s   o n   c e r t i f i c a t e   r e n e w a l   a n d   p e r f o r m   K u b e r n e t e s   v e r s i o n   u p g r a d e s   r e g u l a r l y   ( l e s s   t h a n   1   y e a r   i n   b e t w e e n   e a c h   u p g r a d e ) ,   k u b e a d m   w i l l   t a k e   c a r e   o f   k e e p i n g   y o u r   c l u s t e r   u p   t o   d a t e   a n d   r e a s o n a b l y   s e c u r e .   I f   y o u   h a v e   m o r e   c o m p l e x   r e q u i r e m e n t s   f o r   c e r t i f i c a t e   r e n e w a l ,   y o u   c a n   o p t   o u t   f r o m   t h e   d e f a u l t   b e h a v i o r   b y   p a s s i n g   - - c e r t i f i c a t e - r e n e w a l = f a l s e   t o   k u b e a d m   u p g r a d e   a p p l y   o r   t o   k u b e a d m   u p g r a d e   n o d e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17430"
  },
  {
    "question": "What is Manual certificate renewal?",
    "answer": "Y o u   c a n   r e n e w   y o u r   c e r t i f i c a t e s   m a n u a l l y   a t   a n y   t i m e   w i t h   t h e   k u b e a d m   c e r t s   r e n e w   c o m m a n d ,   w i t h   t h e   a p p r o p r i a t e   c o m m a n d   l i n e   o p t i o n s .   I f   y o u   a r e   r u n n i n g   c l u s t e r   w i t h   a   r e p l i c a t e d   c o n t r o l   p l a n e ,   t h i s   c o m m a n d   n e e d s   t o   b e   e x e c u t e d   o n   a l l   t h e   c o n t r o l - p l a n e   n o d e s .   T h i s   c o m m a n d   p e r f o r m s   t h e   r e n e w a l   u s i n g   C A   ( o r   f r o n t - p r o x y - C A )   c e r t i f i c a t e   a n d   k e y   s t o r e d   i n   / e t c / k u b e r n e t e s / p k i .   k u b e a d m   c e r t s   r e n e w   u s e s   t h e   e x i s t i n g   c e r t i f i c a t e s   a s   t h e   a u t h o r i t a t i v e   s o u r c e   f o r   a t t r i b u t e s   ( C o m m o n   N a m e ,   O r g a n i z a t i o n ,   s u b j e c t   a l t e r n a t i v e   n a m e )   a n d   d o e s   n o t   r e l y   o n   t h e   k u b e a d m - c o n f i g   C o n f i g M a p .   E v e n   s o ,   t h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   k e e p i n g   t h e   s e r v e d   c e r t i f i c a t e   a n d   t h e   a s s o c i a t e d   v a l u e s   i n   t h a t   C o n f i g M a p   s y n c h r o n i z e d ,   t o   a v o i d   a n y   r i s k   o f   c o n f u s i o n .   A f t e r   r u n n i n g   t h e   c o m m a n d   y o u   s h o u l d   r e s t a r t   t h e   c o n t r o l   p l a n e   P o d s .   T h i s   i s   r e q u i r e d   s i n c e   d y n a m i c   c e r t i f i c a t e   r e l o a d   i s   c u r r e n t l y   n o t   s u p p o r t e d   f o r   a l l   c o m p o n e n t s   a n d   c e r t i f i c a t e s .   S t a t i c   P o d s   a r e   m a n a g e d   b y   t h e   l o c a l   k u b e l e t   a n d   n o t   b y   t h e   A P I   S e r v e r ,   t h u s   k u b ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17431"
  },
  {
    "question": "What is Copying the administrator certificate (optional)?",
    "answer": "C l u s t e r s   b u i l t   w i t h   k u b e a d m   o f t e n   c o p y   t h e   a d m i n . c o n f   c e r t i f i c a t e   i n t o   $ H O M E / . k u b e / c o n f i g ,   a s   i n s t r u c t e d   i n   C r e a t i n g   a   c l u s t e r   w i t h   k u b e a d m .   O n   s u c h   a   s y s t e m ,   t o   u p d a t e   t h e   c o n t e n t s   o f   $ H O M E / . k u b e / c o n f i g   a f t e r   r e n e w i n g   t h e   a d m i n . c o n f ,   y o u   c o u l d   r u n   t h e   f o l l o w i n g   c o m m a n d s :   s u d o   c p   - i   / e t c / k u b e r n e t e s / a d m i n . c o n f   $ H O M E / . k u b e / c o n f i g   s u d o   c h o w n   $ ( i d   - u ) : $ ( i d   - g )   $ H O M E / . k u b e / c o n f i g",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17432"
  },
  {
    "question": "What is Renew certificates with the Kubernetes certificates API?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   m o r e   d e t a i l s   a b o u t   h o w   t o   e x e c u t e   m a n u a l   c e r t i f i c a t e   r e n e w a l   u s i n g   t h e   K u b e r n e t e s   c e r t i f i c a t e s   A P I .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17433"
  },
  {
    "question": "What is Set up a signer?",
    "answer": "T h e   K u b e r n e t e s   C e r t i f i c a t e   A u t h o r i t y   d o e s   n o t   w o r k   o u t   o f   t h e   b o x .   Y o u   c a n   c o n f i g u r e   a n   e x t e r n a l   s i g n e r   s u c h   a s   c e r t - m a n a g e r ,   o r   y o u   c a n   u s e   t h e   b u i l t - i n   s i g n e r .   T h e   b u i l t - i n   s i g n e r   i s   p a r t   o f   k u b e - c o n t r o l l e r - m a n a g e r .   T o   a c t i v a t e   t h e   b u i l t - i n   s i g n e r ,   y o u   m u s t   p a s s   t h e   - - c l u s t e r - s i g n i n g - c e r t - f i l e   a n d   - - c l u s t e r - s i g n i n g - k e y - f i l e   f l a g s .   I f   y o u ' r e   c r e a t i n g   a   n e w   c l u s t e r ,   y o u   c a n   u s e   a   k u b e a d m   c o n f i g u r a t i o n   f i l e :   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   C l u s t e r C o n f i g u r a t i o n   c o n t r o l l e r M a n a g e r :   e x t r a A r g s :   -   n a m e :   \" c l u s t e r - s i g n i n g - c e r t - f i l e \"   v a l u e :   \" / e t c / k u b e r n e t e s / p k i / c a . c r t \"   -   n a m e :   \" c l u s t e r - s i g n i n g - k e y - f i l e \"   v a l u e :   \" / e t c / k u b e r n e t e s / p k i / c a . k e y \"",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17434"
  },
  {
    "question": "What is Create certificate signing requests (CSR)?",
    "answer": "S e e   C r e a t e   C e r t i f i c a t e S i g n i n g R e q u e s t   f o r   c r e a t i n g   C S R s   w i t h   t h e   K u b e r n e t e s   A P I .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17435"
  },
  {
    "question": "What is Renew certificates with external CA?",
    "answer": "T h i s   s e c t i o n   p r o v i d e   m o r e   d e t a i l s   a b o u t   h o w   t o   e x e c u t e   m a n u a l   c e r t i f i c a t e   r e n e w a l   u s i n g   a n   e x t e r n a l   C A .   T o   b e t t e r   i n t e g r a t e   w i t h   e x t e r n a l   C A s ,   k u b e a d m   c a n   a l s o   p r o d u c e   c e r t i f i c a t e   s i g n i n g   r e q u e s t s   ( C S R s ) .   A   C S R   r e p r e s e n t s   a   r e q u e s t   t o   a   C A   f o r   a   s i g n e d   c e r t i f i c a t e   f o r   a   c l i e n t .   I n   k u b e a d m   t e r m s ,   a n y   c e r t i f i c a t e   t h a t   w o u l d   n o r m a l l y   b e   s i g n e d   b y   a n   o n - d i s k   C A   c a n   b e   p r o d u c e d   a s   a   C S R   i n s t e a d .   A   C A ,   h o w e v e r ,   c a n n o t   b e   p r o d u c e d   a s   a   C S R .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17436"
  },
  {
    "question": "What is Renewal by using certificate signing requests (CSR)?",
    "answer": "R e n e w a l   o f   c e r i t f i c a t e s   i s   p o s s i b l e   b y   g e n e r a t i n g   n e w   C S R s   a n d   s i g n i n g   t h e m   w i t h   t h e   e x t e r n a l   C A .   F o r   m o r e   d e t a i l s   a b o u t   w o r k i n g   w i t h   C S R s   g e n e r a t e d   b y   k u b e a d m   s e e   t h e   s e c t i o n   S i g n i n g   c e r t i f i c a t e   s i g n i n g   r e q u e s t s   ( C S R )   g e n e r a t e d   b y   k u b e a d m .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17437"
  },
  {
    "question": "What is Certificate authority (CA) rotation?",
    "answer": "K u b e a d m   d o e s   n o t   s u p p o r t   r o t a t i o n   o r   r e p l a c e m e n t   o f   C A   c e r t i f i c a t e s   o u t   o f   t h e   b o x .   F o r   m o r e   i n f o r m a t i o n   a b o u t   m a n u a l   r o t a t i o n   o r   r e p l a c e m e n t   o f   C A ,   s e e   m a n u a l   r o t a t i o n   o f   C A   c e r t i f i c a t e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17438"
  },
  {
    "question": "What is Enabling signed kubelet serving certificates?",
    "answer": "B y   d e f a u l t   t h e   k u b e l e t   s e r v i n g   c e r t i f i c a t e   d e p l o y e d   b y   k u b e a d m   i s   s e l f - s i g n e d .   T h i s   m e a n s   a   c o n n e c t i o n   f r o m   e x t e r n a l   s e r v i c e s   l i k e   t h e   m e t r i c s - s e r v e r   t o   a   k u b e l e t   c a n n o t   b e   s e c u r e d   w i t h   T L S .   T o   c o n f i g u r e   t h e   k u b e l e t s   i n   a   n e w   k u b e a d m   c l u s t e r   t o   o b t a i n   p r o p e r l y   s i g n e d   s e r v i n g   c e r t i f i c a t e s   y o u   m u s t   p a s s   t h e   f o l l o w i n g   m i n i m a l   c o n f i g u r a t i o n   t o   k u b e a d m   i n i t :   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   C l u s t e r C o n f i g u r a t i o n   - - -   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   s e r v e r T L S B o o t s t r a p :   t r u e   I f   y o u   h a v e   a l r e a d y   c r e a t e d   t h e   c l u s t e r   y o u   m u s t   a d a p t   i t   b y   d o i n g   t h e   f o l l o w i n g :   F i n d   a n d   e d i t   t h e   k u b e l e t - c o n f i g   C o n f i g M a p   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   I n   t h a t   C o n f i g M a p ,   t h e   k u b e l e t   k e y   h a s   a   K u b e l e t C o n f i g u r a t i o n   d o c u m e n t   a s   i t s   v a l u e .   E d i t   t h e   K u b e l e t C o n f i g u r a t i o n   d o c u m e n t   t o   s e t   s e r v e r T L S B o o t s t r a p :   t r u e . O n   e a c h   n o d e ,   a d d   t h e   s e r v e r T L S B o o t s t r a p :   t r u e   f i e l d   i n   / v a r / l i b / k u b e l e t / c o n f i g . y a m l   a n d   r e s t a r t   t h e   k u b e l e t   w i t h   s y s t e m c t l   r e s t a r t   k u b e l e t   T h e   f i e l d   s e r v e r T L S B o o t s t r a p :   t r u ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17439"
  },
  {
    "question": "What is Generating kubeconfig files for additional users?",
    "answer": "D u r i n g   c l u s t e r   c r e a t i o n ,   k u b e a d m   i n i t   s i g n s   t h e   c e r t i f i c a t e   i n   t h e   s u p e r - a d m i n . c o n f   t o   h a v e   S u b j e c t :   O   =   s y s t e m : m a s t e r s ,   C N   =   k u b e r n e t e s - s u p e r - a d m i n .   s y s t e m : m a s t e r s   i s   a   b r e a k - g l a s s ,   s u p e r   u s e r   g r o u p   t h a t   b y p a s s e s   t h e   a u t h o r i z a t i o n   l a y e r   ( f o r   e x a m p l e ,   R B A C ) .   T h e   f i l e   a d m i n . c o n f   i s   a l s o   c r e a t e d   b y   k u b e a d m   o n   c o n t r o l   p l a n e   n o d e s   a n d   i t   c o n t a i n s   a   c e r t i f i c a t e   w i t h   S u b j e c t :   O   =   k u b e a d m : c l u s t e r - a d m i n s ,   C N   =   k u b e r n e t e s - a d m i n .   k u b e a d m : c l u s t e r - a d m i n s   i s   a   g r o u p   l o g i c a l l y   b e l o n g i n g   t o   k u b e a d m .   I f   y o u r   c l u s t e r   u s e s   R B A C   ( t h e   k u b e a d m   d e f a u l t ) ,   t h e   k u b e a d m : c l u s t e r - a d m i n s   g r o u p   i s   b o u n d   t o   t h e   c l u s t e r - a d m i n   C l u s t e r R o l e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17440"
  },
  {
    "question": "What is Warning:?",
    "answer": "Y o u   c a n   u s e   t h e   k u b e a d m   k u b e c o n f i g   u s e r   c o m m a n d   t o   g e n e r a t e   k u b e c o n f i g   f i l e s   f o r   a d d i t i o n a l   u s e r s .   T h e   c o m m a n d   a c c e p t s   a   m i x t u r e   o f   c o m m a n d   l i n e   f l a g s   a n d   k u b e a d m   c o n f i g u r a t i o n   o p t i o n s .   T h e   g e n e r a t e d   k u b e c o n f i g   w i l l   b e   w r i t t e n   t o   s t d o u t   a n d   c a n   b e   p i p e d   t o   a   f i l e   u s i n g   k u b e a d m   k u b e c o n f i g   u s e r   . . .   >   s o m e f i l e . c o n f .   E x a m p l e   c o n f i g u r a t i o n   f i l e   t h a t   c a n   b e   u s e d   w i t h   - - c o n f i g :   #   e x a m p l e . y a m l   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   C l u s t e r C o n f i g u r a t i o n   #   W i l l   b e   u s e d   a s   t h e   t a r g e t   \" c l u s t e r \"   i n   t h e   k u b e c o n f i g   c l u s t e r N a m e :   \" k u b e r n e t e s \"   #   W i l l   b e   u s e d   a s   t h e   \" s e r v e r \"   ( I P   o r   D N S   n a m e )   o f   t h i s   c l u s t e r   i n   t h e   k u b e c o n f i g   c o n t r o l P l a n e E n d p o i n t :   \" s o m e - d n s - a d d r e s s : 6 4 4 3 \"   #   T h e   c l u s t e r   C A   k e y   a n d   c e r t i f i c a t e   w i l l   b e   l o a d e d   f r o m   t h i s   l o c a l   d i r e c t o r y   c e r t i f i c a t e s D i r :   \" / e t c / k u b e r n e t e s / p k i \"   M a k e   s u r e   t h a t   t h e s e   s e t t i n g s   m a t c h   t h e   d e s i r e d   t a r g e t   c l u s t e r   s e t t i n g s .   T o   s e e   t h e   s e t t i n g s   o f   a n   e x i s t i n g   c l u s t e r   u s e :   k u b e c t l   g e t   c m   k u b e a d m - c o n f i g   - n   k u b e - s y s t e m   - o = j s o n p a t h = \" { . d a t a . C l u s t e r C o n f i g u r a t i o n } \"   T h e   f o l l o w i n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17441"
  },
  {
    "question": "What is Signing certificate signing requests (CSR) generated by kubeadm?",
    "answer": "Y o u   c a n   c r e a t e   c e r t i f i c a t e   s i g n i n g   r e q u e s t s   w i t h   k u b e a d m   c e r t s   g e n e r a t e - c s r .   C a l l i n g   t h i s   c o m m a n d   w i l l   g e n e r a t e   . c s r   /   . k e y   f i l e   p a i r s   f o r   r e g u l a r   c e r t i f i c a t e s .   F o r   c e r t i f i c a t e s   e m b e d d e d   i n   k u b e c o n f i g   f i l e s ,   t h e   c o m m a n d   w i l l   g e n e r a t e   a   . c s r   /   . c o n f   p a i r   w h e r e   t h e   k e y   i s   a l r e a d y   e m b e d d e d   i n   t h e   . c o n f   f i l e .   A   C S R   f i l e   c o n t a i n s   a l l   r e l e v a n t   i n f o r m a t i o n   f o r   a   C A   t o   s i g n   a   c e r t i f i c a t e .   k u b e a d m   u s e s   a   w e l l   d e f i n e d   s p e c i f i c a t i o n   f o r   a l l   i t s   c e r t i f i c a t e s   a n d   C S R s .   T h e   d e f a u l t   c e r t i f i c a t e   d i r e c t o r y   i s   / e t c / k u b e r n e t e s / p k i ,   w h i l e   t h e   d e f a u l t   d i r e c t o r y   f o r   k u b e c o n f i g   f i l e s   i s   / e t c / k u b e r n e t e s .   T h e s e   d e f a u l t s   c a n   b e   o v e r r i d d e n   w i t h   t h e   f l a g s   - - c e r t - d i r   a n d   - - k u b e c o n f i g - d i r ,   r e s p e c t i v e l y .   T o   p a s s   c u s t o m   o p t i o n s   t o   k u b e a d m   c e r t s   g e n e r a t e - c s r   u s e   t h e   - - c o n f i g   f l a g ,   w h i c h   a c c e p t s   a   k u b e a d m   c o n f i g u r a t i o n   f i l e ,   s i m i l a r l y   t o   c o m m a n d s   s u c h   a s   k u b e a d m   i n i t .   A n y   s p e c i f i c a t i o n   s u c h   a s   e x t r a   S A N s   a n d   c u s t o m   I P   a d d r e s s e s   m u s t   b e   s t o r e d   i n   t h e   s a m e   c o n f i g u r a t i o n   f i l e   a n d   u s e d   f o r   a l l   r e l e v a n t   k u b e a d m   c o m m a n d s   b y   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17442"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   g u i d e   u s e s   t h e   d e f a u l t   K u b e r n e t e s   d i r e c t o r y   / e t c / k u b e r n e t e s ,   w h i c h   r e q u i r e s   a   s u p e r   u s e r .   I f   y o u   a r e   f o l l o w i n g   t h i s   g u i d e   a n d   a r e   u s i n g   d i r e c t o r i e s   t h a t   y o u   c a n   w r i t e   t o   ( t y p i c a l l y ,   t h i s   m e a n s   r u n n i n g   k u b e a d m   w i t h   - - c e r t - d i r   a n d   - - k u b e c o n f i g - d i r )   t h e n   y o u   c a n   o m i t   t h e   s u d o   c o m m a n d .   Y o u   m u s t   t h e n   c o p y   t h e   f i l e s   t h a t   y o u   p r o d u c e d   o v e r   t o   w i t h i n   t h e   / e t c / k u b e r n e t e s   d i r e c t o r y   s o   t h a t   k u b e a d m   i n i t   o r   k u b e a d m   j o i n   w i l l   f i n d   t h e m .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17443"
  },
  {
    "question": "What is Preparing CA and service account files?",
    "answer": "O n   t h e   p r i m a r y   c o n t r o l   p l a n e   n o d e ,   w h e r e   k u b e a d m   i n i t   w i l l   b e   e x e c u t e d ,   c a l l   t h e   f o l l o w i n g   c o m m a n d s :   s u d o   k u b e a d m   i n i t   p h a s e   c e r t s   c a   s u d o   k u b e a d m   i n i t   p h a s e   c e r t s   e t c d - c a   s u d o   k u b e a d m   i n i t   p h a s e   c e r t s   f r o n t - p r o x y - c a   s u d o   k u b e a d m   i n i t   p h a s e   c e r t s   s a   T h i s   w i l l   p o p u l a t e   t h e   f o l d e r s   / e t c / k u b e r n e t e s / p k i   a n d   / e t c / k u b e r n e t e s / p k i / e t c d   w i t h   a l l   s e l f - s i g n e d   C A   f i l e s   ( c e r t i f i c a t e s   a n d   k e y s )   a n d   s e r v i c e   a c c o u n t   ( p u b l i c   a n d   p r i v a t e   k e y s )   t h a t   k u b e a d m   n e e d s   f o r   a   c o n t r o l   p l a n e   n o d e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17444"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   a r e   u s i n g   a n   e x t e r n a l   C A ,   y o u   m u s t   g e n e r a t e   t h e   s a m e   f i l e s   o u t   o f   b a n d   a n d   m a n u a l l y   c o p y   t h e m   t o   t h e   p r i m a r y   c o n t r o l   p l a n e   n o d e   i n   / e t c / k u b e r n e t e s .   O n c e   a l l   C S R s   a r e   s i g n e d ,   y o u   c a n   d e l e t e   t h e   r o o t   C A   k e y   ( c a . k e y )   a s   n o t e d   i n   t h e   E x t e r n a l   C A   m o d e   s e c t i o n .   F o r   s e c o n d a r y   c o n t r o l   p l a n e   n o d e s   ( k u b e a d m   j o i n   - - c o n t r o l - p l a n e )   t h e r e   i s   n o   n e e d   t o   c a l l   t h e   a b o v e   c o m m a n d s .   D e p e n d i n g   o n   h o w   y o u   s e t u p   t h e   H i g h   A v a i l a b i l i t y   c l u s t e r ,   y o u   e i t h e r   h a v e   t o   m a n u a l l y   c o p y   t h e   s a m e   f i l e s   f r o m   t h e   p r i m a r y   c o n t r o l   p l a n e   n o d e ,   o r   u s e   t h e   a u t o m a t e d   - - u p l o a d - c e r t s   f u n c t i o n a l i t y   o f   k u b e a d m   i n i t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17445"
  },
  {
    "question": "What is Generate CSRs?",
    "answer": "T h e   k u b e a d m   c e r t s   g e n e r a t e - c s r   c o m m a n d   g e n e r a t e s   C S R s   f o r   a l l   k n o w n   c e r t i f i c a t e s   m a n a g e d   b y   k u b e a d m .   O n c e   t h e   c o m m a n d   i s   d o n e   y o u   m u s t   m a n u a l l y   d e l e t e   . c s r ,   . c o n f   o r   . k e y   f i l e s   t h a t   y o u   d o n ' t   n e e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17446"
  },
  {
    "question": "What is Considerations for kubelet.conf?",
    "answer": "T h i s   s e c t i o n   a p p l i e s   t o   b o t h   c o n t r o l   p l a n e   a n d   w o r k e r   n o d e s .   I f   y o u   h a v e   d e l e t e d   t h e   c a . k e y   f i l e   f r o m   c o n t r o l   p l a n e   n o d e s   ( E x t e r n a l   C A   m o d e ) ,   t h e   a c t i v e   k u b e - c o n t r o l l e r - m a n a g e r   i n   t h i s   c l u s t e r   w i l l   n o t   b e   a b l e   t o   s i g n   k u b e l e t   c l i e n t   c e r t i f i c a t e s .   I f   n o   e x t e r n a l   m e t h o d   f o r   s i g n i n g   t h e s e   c e r t i f i c a t e s   e x i s t s   i n   y o u r   s e t u p   ( s u c h   a s   a n   e x t e r n a l   s i g n e r ) ,   y o u   c o u l d   m a n u a l l y   s i g n   t h e   k u b e l e t . c o n f . c s r   a s   e x p l a i n e d   i n   t h i s   g u i d e .   N o t e   t h a t   t h i s   a l s o   m e a n s   t h a t   t h e   a u t o m a t i c   k u b e l e t   c l i e n t   c e r t i f i c a t e   r o t a t i o n   w i l l   b e   d i s a b l e d .   I f   s o ,   c l o s e   t o   c e r t i f i c a t e   e x p i r a t i o n ,   y o u   m u s t   g e n e r a t e   a   n e w   k u b e l e t . c o n f . c s r ,   s i g n   t h e   c e r t i f i c a t e ,   e m b e d   i t   i n   k u b e l e t . c o n f   a n d   r e s t a r t   t h e   k u b e l e t .   I f   t h i s   d o e s   n o t   a p p l y   t o   y o u r   s e t u p ,   y o u   c a n   s k i p   p r o c e s s i n g   t h e   k u b e l e t . c o n f . c s r   o n   s e c o n d a r y   c o n t r o l   p l a n e   a n d   o n   w o r k e r s   n o d e s   ( a l l   n o d e s   t h a t   c a l l   k u b e a d m   j o i n   . . . ) .   T h a t   i s   b e c a u s e   t h e   a c t i v e   k u b e - c o n t r o l l e r - m a n a g e r   w i l l   b e   r e s p o n s i b l e   f o r   s i g n i n g   n e w   k u b e l e t   c l i e n t   c e r t i f i c a t e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17447"
  },
  {
    "question": "What is Control plane nodes?",
    "answer": "E x e c u t e   t h e   f o l l o w i n g   c o m m a n d   o n   p r i m a r y   ( k u b e a d m   i n i t )   a n d   s e c o n d a r y   ( k u b e a d m   j o i n   - - c o n t r o l - p l a n e )   c o n t r o l   p l a n e   n o d e s   t o   g e n e r a t e   a l l   C S R   f i l e s :   s u d o   k u b e a d m   c e r t s   g e n e r a t e - c s r   I f   e x t e r n a l   e t c d   i s   t o   b e   u s e d ,   f o l l o w   t h e   E x t e r n a l   e t c d   w i t h   k u b e a d m   g u i d e   t o   u n d e r s t a n d   w h a t   C S R   f i l e s   a r e   n e e d e d   o n   t h e   k u b e a d m   a n d   e t c d   n o d e s .   O t h e r   . c s r   a n d   . k e y   f i l e s   u n d e r   / e t c / k u b e r n e t e s / p k i / e t c d   c a n   b e   r e m o v e d .   B a s e d   o n   t h e   e x p l a n a t i o n   i n   C o n s i d e r a t i o n s   f o r   k u b e l e t . c o n f   k e e p   o r   d e l e t e   t h e   k u b e l e t . c o n f   a n d   k u b e l e t . c o n f . c s r   f i l e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17448"
  },
  {
    "question": "What is Worker nodes?",
    "answer": "B a s e d   o n   t h e   e x p l a n a t i o n   i n   C o n s i d e r a t i o n s   f o r   k u b e l e t . c o n f ,   o p t i o n a l l y   c a l l :   s u d o   k u b e a d m   c e r t s   g e n e r a t e - c s r   a n d   k e e p   o n l y   t h e   k u b e l e t . c o n f   a n d   k u b e l e t . c o n f . c s r   f i l e s .   A l t e r n a t i v e l y   s k i p   t h e   s t e p s   f o r   w o r k e r   n o d e s   e n t i r e l y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17449"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   a r e   u s i n g   e x t e r n a l   C A   a n d   a l r e a d y   h a v e   C A   s e r i a l   n u m b e r   f i l e s   ( . s r l )   f o r   o p e n s s l ,   y o u   c a n   c o p y   s u c h   f i l e s   t o   a   k u b e a d m   n o d e   w h e r e   C S R s   w i l l   b e   p r o c e s s e d .   T h e   . s r l   f i l e s   t o   c o p y   a r e   / e t c / k u b e r n e t e s / p k i / c a . s r l ,   / e t c / k u b e r n e t e s / p k i / f r o n t - p r o x y - c a . s r l   a n d   / e t c / k u b e r n e t e s / p k i / e t c d / c a . s r l .   T h e   f i l e s   c a n   b e   t h e n   m o v e d   t o   a   n e w   n o d e   w h e r e   C S R   f i l e s   w i l l   b e   p r o c e s s e d .   I f   a   . s r l   f i l e   i s   m i s s i n g   f o r   a   C A   o n   a   n o d e ,   t h e   s c r i p t   b e l o w   w i l l   g e n e r a t e   a   n e w   S R L   f i l e   w i t h   a   r a n d o m   s t a r t i n g   s e r i a l   n u m b e r .   T o   r e a d   m o r e   a b o u t   . s r l   f i l e s   s e e   t h e   o p e n s s l   d o c u m e n t a t i o n   f o r   t h e   - - C A s e r i a l   f l a g .   R e p e a t   t h i s   s t e p   f o r   a l l   n o d e s   t h a t   h a v e   C S R   f i l e s .   W r i t e   t h e   f o l l o w i n g   s c r i p t   i n   t h e   / e t c / k u b e r n e t e s   d i r e c t o r y ,   n a v i g a t e   t o   t h e   d i r e c t o r y   a n d   e x e c u t e   t h e   s c r i p t .   T h e   s c r i p t   w i l l   g e n e r a t e   c e r t i f i c a t e s   f o r   a l l   C S R   f i l e s   t h a t   a r e   p r e s e n t   i n   t h e   / e t c / k u b e r n e t e s   t r e e .   # ! / b i n / b a s h   #   S e t   c e r t i f i c a t e   e x p i r a t i o n   t i m e   i n   d a y s   D A Y S = 3 6 5   #   P r o c e s s   a l l   C S R   f i l e s   e x c e p t   t h o s e   f o r   f r o n t - p r o x y   a n d   e t c d   f i n d   . /   - n a m e   \" * . c s r \"   |   g r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17450"
  },
  {
    "question": "What is Embedding certificates in kubeconfig files?",
    "answer": "R e p e a t   t h i s   s t e p   f o r   a l l   n o d e s   t h a t   h a v e   C S R   f i l e s .   W r i t e   t h e   f o l l o w i n g   s c r i p t   i n   t h e   / e t c / k u b e r n e t e s   d i r e c t o r y ,   n a v i g a t e   t o   t h e   d i r e c t o r y   a n d   e x e c u t e   t h e   s c r i p t .   T h e   s c r i p t   w i l l   t a k e   t h e   . c r t   f i l e s   t h a t   w e r e   s i g n e d   f o r   k u b e c o n f i g   f i l e s   f r o m   C S R s   i n   t h e   p r e v i o u s   s t e p   a n d   w i l l   e m b e d   t h e m   i n   t h e   k u b e c o n f i g   f i l e s .   # ! / b i n / b a s h   C L U S T E R = k u b e r n e t e s   f i n d   . /   - n a m e   \" * . c o n f \"   |   w h i l e   r e a d   - r   F I L E ;   d o   e c h o   \" *   P r o c e s s i n g   $ { F I L E }   . . . \"   K U B E C O N F I G = \" $ { F I L E } \"   k u b e c t l   c o n f i g   s e t - c l u s t e r   \" $ { C L U S T E R } \"   - - c e r t i f i c a t e - a u t h o r i t y   . / p k i / c a . c r t   - - e m b e d - c e r t s   U S E R = $ ( K U B E C O N F I G = \" $ { F I L E } \"   k u b e c t l   c o n f i g   v i e w   - o   j s o n p a t h = ' { . u s e r s [ 0 ] . n a m e } ' )   K U B E C O N F I G = \" $ { F I L E } \"   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   \" $ { U S E R } \"   - - c l i e n t - c e r t i f i c a t e   \" $ { F I L E } . c r t \"   - - e m b e d - c e r t s   d o n e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17451"
  },
  {
    "question": "What is Performing cleanup?",
    "answer": "P e r f o r m   t h i s   s t e p   o n   a l l   n o d e s   t h a t   h a v e   C S R   f i l e s .   W r i t e   t h e   f o l l o w i n g   s c r i p t   i n   t h e   / e t c / k u b e r n e t e s   d i r e c t o r y ,   n a v i g a t e   t o   t h e   d i r e c t o r y   a n d   e x e c u t e   t h e   s c r i p t .   # ! / b i n / b a s h   #   C l e a n u p   C S R   f i l e s   r m   - f   . / * . c s r   . / p k i / * . c s r   . / p k i / e t c d / * . c s r   #   C l e a n   a l l   C S R   f i l e s   #   C l e a n u p   C R T   f i l e s   t h a t   w e r e   a l r e a d y   e m b e d d e d   i n   k u b e c o n f i g   f i l e s   r m   - f   . / * . c r t   O p t i o n a l l y ,   m o v e   . s r l   f i l e s   t o   t h e   n e x t   n o d e   t o   b e   p r o c e s s e d .   O p t i o n a l l y ,   i f   u s i n g   e x t e r n a l   C A   r e m o v e   t h e   / e t c / k u b e r n e t e s / p k i / c a . k e y   f i l e ,   a s   e x p l a i n e d   i n   t h e   E x t e r n a l   C A   n o d e   s e c t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17452"
  },
  {
    "question": "What is kubeadm node initialization?",
    "answer": "O n c e   C S R   f i l e s   h a v e   b e e n   s i g n e d   a n d   r e q u i r e d   c e r t i f i c a t e s   a r e   i n   p l a c e   o n   t h e   h o s t s   y o u   w a n t   t o   u s e   a s   n o d e s ,   y o u   c a n   u s e   t h e   c o m m a n d s   k u b e a d m   i n i t   a n d   k u b e a d m   j o i n   t o   c r e a t e   a   K u b e r n e t e s   c l u s t e r   f r o m   t h e s e   n o d e s .   D u r i n g   i n i t   a n d   j o i n ,   k u b e a d m   u s e s   e x i s t i n g   c e r t i f i c a t e s ,   e n c r y p t i o n   k e y s   a n d   k u b e c o n f i g   f i l e s   t h a t   i t   f i n d s   i n   t h e   / e t c / k u b e r n e t e s   t r e e   o n   t h e   h o s t ' s   l o c a l   f i l e s y s t e m .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17453"
  },
  {
    "question": "What is 2.1.8 - Reconfiguring a kubeadm cluster?",
    "answer": "k u b e a d m   d o e s   n o t   s u p p o r t   a u t o m a t e d   w a y s   o f   r e c o n f i g u r i n g   c o m p o n e n t s   t h a t   w e r e   d e p l o y e d   o n   m a n a g e d   n o d e s .   O n e   w a y   o f   a u t o m a t i n g   t h i s   w o u l d   b e   b y   u s i n g   a   c u s t o m   o p e r a t o r .   T o   m o d i f y   t h e   c o m p o n e n t s   c o n f i g u r a t i o n   y o u   m u s t   m a n u a l l y   e d i t   a s s o c i a t e d   c l u s t e r   o b j e c t s   a n d   f i l e s   o n   d i s k .   T h i s   g u i d e   s h o w s   t h e   c o r r e c t   s e q u e n c e   o f   s t e p s   t h a t   n e e d   t o   b e   p e r f o r m e d   t o   a c h i e v e   k u b e a d m   c l u s t e r   r e c o n f i g u r a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17454"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   a   c l u s t e r   t h a t   w a s   d e p l o y e d   u s i n g   k u b e a d m H a v e   a d m i n i s t r a t o r   c r e d e n t i a l s   ( / e t c / k u b e r n e t e s / a d m i n . c o n f )   a n d   n e t w o r k   c o n n e c t i v i t y   t o   a   r u n n i n g   k u b e - a p i s e r v e r   i n   t h e   c l u s t e r   f r o m   a   h o s t   t h a t   h a s   k u b e c t l   i n s t a l l e d H a v e   a   t e x t   e d i t o r   i n s t a l l e d   o n   a l l   h o s t s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17455"
  },
  {
    "question": "What is Reconfiguring the cluster?",
    "answer": "k u b e a d m   w r i t e s   a   s e t   o f   c l u s t e r   w i d e   c o m p o n e n t   c o n f i g u r a t i o n   o p t i o n s   i n   C o n f i g M a p s   a n d   o t h e r   o b j e c t s .   T h e s e   o b j e c t s   m u s t   b e   m a n u a l l y   e d i t e d .   T h e   c o m m a n d   k u b e c t l   e d i t   c a n   b e   u s e d   f o r   t h a t .   T h e   k u b e c t l   e d i t   c o m m a n d   w i l l   o p e n   a   t e x t   e d i t o r   w h e r e   y o u   c a n   e d i t   a n d   s a v e   t h e   o b j e c t   d i r e c t l y .   Y o u   c a n   u s e   t h e   e n v i r o n m e n t   v a r i a b l e s   K U B E C O N F I G   a n d   K U B E _ E D I T O R   t o   s p e c i f y   t h e   l o c a t i o n   o f   t h e   k u b e c t l   c o n s u m e d   k u b e c o n f i g   f i l e   a n d   p r e f e r r e d   t e x t   e d i t o r .   F o r   e x a m p l e :   K U B E C O N F I G = / e t c / k u b e r n e t e s / a d m i n . c o n f   K U B E _ E D I T O R = n a n o   k u b e c t l   e d i t   < p a r a m e t e r s >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17456"
  },
  {
    "question": "What is Updating the ClusterConfiguration?",
    "answer": "D u r i n g   c l u s t e r   c r e a t i o n   a n d   u p g r a d e ,   k u b e a d m   w r i t e s   i t s   C l u s t e r C o n f i g u r a t i o n   i n   a   C o n f i g M a p   c a l l e d   k u b e a d m - c o n f i g   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   T o   c h a n g e   a   p a r t i c u l a r   o p t i o n   i n   t h e   C l u s t e r C o n f i g u r a t i o n   y o u   c a n   e d i t   t h e   C o n f i g M a p   w i t h   t h i s   c o m m a n d :   k u b e c t l   e d i t   c m   - n   k u b e - s y s t e m   k u b e a d m - c o n f i g   T h e   c o n f i g u r a t i o n   i s   l o c a t e d   u n d e r   t h e   d a t a . C l u s t e r C o n f i g u r a t i o n   k e y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17457"
  },
  {
    "question": "What is Reflecting ClusterConfiguration changes on control plane nodes?",
    "answer": "k u b e a d m   m a n a g e s   t h e   c o n t r o l   p l a n e   c o m p o n e n t s   a s   s t a t i c   P o d   m a n i f e s t s   l o c a t e d   i n   t h e   d i r e c t o r y   / e t c / k u b e r n e t e s / m a n i f e s t s .   A n y   c h a n g e s   t o   t h e   C l u s t e r C o n f i g u r a t i o n   u n d e r   t h e   a p i S e r v e r ,   c o n t r o l l e r M a n a g e r ,   s c h e d u l e r   o r   e t c d   k e y s   m u s t   b e   r e f l e c t e d   i n   t h e   a s s o c i a t e d   f i l e s   i n   t h e   m a n i f e s t s   d i r e c t o r y   o n   a   c o n t r o l   p l a n e   n o d e .   S u c h   c h a n g e s   m a y   i n c l u d e :   e x t r a A r g s   -   r e q u i r e s   u p d a t i n g   t h e   l i s t   o f   f l a g s   p a s s e d   t o   a   c o m p o n e n t   c o n t a i n e r e x t r a V o l u m e s   -   r e q u i r e s   u p d a t i n g   t h e   v o l u m e   m o u n t s   f o r   a   c o m p o n e n t   c o n t a i n e r * S A N s   -   r e q u i r e s   w r i t i n g   n e w   c e r t i f i c a t e s   w i t h   u p d a t e d   S u b j e c t   A l t e r n a t i v e   N a m e s   B e f o r e   p r o c e e d i n g   w i t h   t h e s e   c h a n g e s ,   m a k e   s u r e   y o u   h a v e   b a c k e d   u p   t h e   d i r e c t o r y   / e t c / k u b e r n e t e s / .   T o   w r i t e   n e w   c e r t i f i c a t e s   y o u   c a n   u s e :   k u b e a d m   i n i t   p h a s e   c e r t s   < c o m p o n e n t - n a m e >   - - c o n f i g   < c o n f i g - f i l e >   T o   w r i t e   n e w   m a n i f e s t   f i l e s   i n   / e t c / k u b e r n e t e s / m a n i f e s t s   y o u   c a n   u s e :   #   F o r   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t s   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   < c o m p o n e n t - n a m e >   - - c o n f i g   < c o n f i g - f i l e >   #   F o r   l o c a l   e t c d   k u b e a d m   i n i t   p h ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17458"
  },
  {
    "question": "What is Updating the KubeletConfiguration?",
    "answer": "D u r i n g   c l u s t e r   c r e a t i o n   a n d   u p g r a d e ,   k u b e a d m   w r i t e s   i t s   K u b e l e t C o n f i g u r a t i o n   i n   a   C o n f i g M a p   c a l l e d   k u b e l e t - c o n f i g   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   Y o u   c a n   e d i t   t h e   C o n f i g M a p   w i t h   t h i s   c o m m a n d :   k u b e c t l   e d i t   c m   - n   k u b e - s y s t e m   k u b e l e t - c o n f i g   T h e   c o n f i g u r a t i o n   i s   l o c a t e d   u n d e r   t h e   d a t a . k u b e l e t   k e y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17459"
  },
  {
    "question": "What is Reflecting the kubelet changes?",
    "answer": "T o   r e f l e c t   t h e   c h a n g e   o n   k u b e a d m   n o d e s   y o u   m u s t   d o   t h e   f o l l o w i n g :   L o g   i n   t o   a   k u b e a d m   n o d e R u n   k u b e a d m   u p g r a d e   n o d e   p h a s e   k u b e l e t - c o n f i g   t o   d o w n l o a d   t h e   l a t e s t   k u b e l e t - c o n f i g   C o n f i g M a p   c o n t e n t s   i n t o   t h e   l o c a l   f i l e   / v a r / l i b / k u b e l e t / c o n f i g . y a m l E d i t   t h e   f i l e   / v a r / l i b / k u b e l e t / k u b e a d m - f l a g s . e n v   t o   a p p l y   a d d i t i o n a l   c o n f i g u r a t i o n   w i t h   f l a g s R e s t a r t   t h e   k u b e l e t   s e r v i c e   w i t h   s y s t e m c t l   r e s t a r t   k u b e l e t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17460"
  },
  {
    "question": "What is Updating the KubeProxyConfiguration?",
    "answer": "D u r i n g   c l u s t e r   c r e a t i o n   a n d   u p g r a d e ,   k u b e a d m   w r i t e s   i t s   K u b e P r o x y C o n f i g u r a t i o n   i n   a   C o n f i g M a p   i n   t h e   k u b e - s y s t e m   n a m e s p a c e   c a l l e d   k u b e - p r o x y .   T h i s   C o n f i g M a p   i s   u s e d   b y   t h e   k u b e - p r o x y   D a e m o n S e t   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   T o   c h a n g e   a   p a r t i c u l a r   o p t i o n   i n   t h e   K u b e P r o x y C o n f i g u r a t i o n ,   y o u   c a n   e d i t   t h e   C o n f i g M a p   w i t h   t h i s   c o m m a n d :   k u b e c t l   e d i t   c m   - n   k u b e - s y s t e m   k u b e - p r o x y   T h e   c o n f i g u r a t i o n   i s   l o c a t e d   u n d e r   t h e   d a t a . c o n f i g . c o n f   k e y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17461"
  },
  {
    "question": "What is Reflecting the kube-proxy changes?",
    "answer": "O n c e   t h e   k u b e - p r o x y   C o n f i g M a p   i s   u p d a t e d ,   y o u   c a n   r e s t a r t   a l l   k u b e - p r o x y   P o d s :   D e l e t e   t h e   P o d s   w i t h :   k u b e c t l   d e l e t e   p o   - n   k u b e - s y s t e m   - l   k 8 s - a p p = k u b e - p r o x y   N e w   P o d s   t h a t   u s e   t h e   u p d a t e d   C o n f i g M a p   w i l l   b e   c r e a t e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17462"
  },
  {
    "question": "What is Updating the CoreDNS Deployment and Service?",
    "answer": "k u b e a d m   d e p l o y s   C o r e D N S   a s   a   D e p l o y m e n t   c a l l e d   c o r e d n s   a n d   w i t h   a   S e r v i c e   k u b e - d n s ,   b o t h   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   T o   u p d a t e   a n y   o f   t h e   C o r e D N S   s e t t i n g s ,   y o u   c a n   e d i t   t h e   D e p l o y m e n t   a n d   S e r v i c e   o b j e c t s :   k u b e c t l   e d i t   d e p l o y m e n t   - n   k u b e - s y s t e m   c o r e d n s   k u b e c t l   e d i t   s e r v i c e   - n   k u b e - s y s t e m   k u b e - d n s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17463"
  },
  {
    "question": "What is Reflecting the CoreDNS changes?",
    "answer": "O n c e   t h e   C o r e D N S   c h a n g e s   a r e   a p p l i e d   y o u   c a n   r e s t a r t   t h e   C o r e D N S   d e p l o y m e n t :   k u b e c t l   r o l l o u t   r e s t a r t   d e p l o y m e n t   - n   k u b e - s y s t e m   c o r e d n s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17464"
  },
  {
    "question": "What is Persisting the reconfiguration?",
    "answer": "D u r i n g   t h e   e x e c u t i o n   o f   k u b e a d m   u p g r a d e   o n   a   m a n a g e d   n o d e ,   k u b e a d m   m i g h t   o v e r w r i t e   c o n f i g u r a t i o n   t h a t   w a s   a p p l i e d   a f t e r   t h e   c l u s t e r   w a s   c r e a t e d   ( r e c o n f i g u r a t i o n ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17465"
  },
  {
    "question": "What is Persisting Node object reconfiguration?",
    "answer": "k u b e a d m   w r i t e s   L a b e l s ,   T a i n t s ,   C R I   s o c k e t   a n d   o t h e r   i n f o r m a t i o n   o n   t h e   N o d e   o b j e c t   f o r   a   p a r t i c u l a r   K u b e r n e t e s   n o d e .   T o   c h a n g e   a n y   o f   t h e   c o n t e n t s   o f   t h i s   N o d e   o b j e c t   y o u   c a n   u s e :   k u b e c t l   e d i t   n o   < n o d e - n a m e >   D u r i n g   k u b e a d m   u p g r a d e   t h e   c o n t e n t s   o f   s u c h   a   N o d e   m i g h t   g e t   o v e r w r i t t e n .   I f   y o u   w o u l d   l i k e   t o   p e r s i s t   y o u r   m o d i f i c a t i o n s   t o   t h e   N o d e   o b j e c t   a f t e r   u p g r a d e ,   y o u   c a n   p r e p a r e   a   k u b e c t l   p a t c h   a n d   a p p l y   i t   t o   t h e   N o d e   o b j e c t :   k u b e c t l   p a t c h   n o   < n o d e - n a m e >   - - p a t c h - f i l e   < p a t c h - f i l e >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17466"
  },
  {
    "question": "What is Persisting control plane component reconfiguration?",
    "answer": "T h e   m a i n   s o u r c e   o f   c o n t r o l   p l a n e   c o n f i g u r a t i o n   i s   t h e   C l u s t e r C o n f i g u r a t i o n   o b j e c t   s t o r e d   i n   t h e   c l u s t e r .   T o   e x t e n d   t h e   s t a t i c   P o d   m a n i f e s t s   c o n f i g u r a t i o n ,   p a t c h e s   c a n   b e   u s e d .   T h e s e   p a t c h   f i l e s   m u s t   r e m a i n   a s   f i l e s   o n   t h e   c o n t r o l   p l a n e   n o d e s   t o   e n s u r e   t h a t   t h e y   c a n   b e   u s e d   b y   t h e   k u b e a d m   u p g r a d e   . . .   - - p a t c h e s   < d i r e c t o r y > .   I f   r e c o n f i g u r a t i o n   i s   d o n e   t o   t h e   C l u s t e r C o n f i g u r a t i o n   a n d   s t a t i c   P o d   m a n i f e s t s   o n   d i s k ,   t h e   s e t   o f   n o d e   s p e c i f i c   p a t c h e s   m u s t   b e   u p d a t e d   a c c o r d i n g l y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17467"
  },
  {
    "question": "What is Persisting kubelet reconfiguration?",
    "answer": "A n y   c h a n g e s   t o   t h e   K u b e l e t C o n f i g u r a t i o n   s t o r e d   i n   / v a r / l i b / k u b e l e t / c o n f i g . y a m l   w i l l   b e   o v e r w r i t t e n   o n   k u b e a d m   u p g r a d e   b y   d o w n l o a d i n g   t h e   c o n t e n t s   o f   t h e   c l u s t e r   w i d e   k u b e l e t - c o n f i g   C o n f i g M a p .   T o   p e r s i s t   k u b e l e t   n o d e   s p e c i f i c   c o n f i g u r a t i o n   e i t h e r   t h e   f i l e   / v a r / l i b / k u b e l e t / c o n f i g . y a m l   h a s   t o   b e   u p d a t e d   m a n u a l l y   p o s t - u p g r a d e   o r   t h e   f i l e   / v a r / l i b / k u b e l e t / k u b e a d m - f l a g s . e n v   c a n   i n c l u d e   f l a g s .   T h e   k u b e l e t   f l a g s   o v e r r i d e   t h e   a s s o c i a t e d   K u b e l e t C o n f i g u r a t i o n   o p t i o n s ,   b u t   n o t e   t h a t   s o m e   o f   t h e   f l a g s   a r e   d e p r e c a t e d .   A   k u b e l e t   r e s t a r t   w i l l   b e   r e q u i r e d   a f t e r   c h a n g i n g   / v a r / l i b / k u b e l e t / c o n f i g . y a m l   o r   / v a r / l i b / k u b e l e t / k u b e a d m - f l a g s . e n v .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17468"
  },
  {
    "question": "What is What's next?",
    "answer": "U p g r a d i n g   k u b e a d m   c l u s t e r s C u s t o m i z i n g   c o m p o n e n t s   w i t h   t h e   k u b e a d m   A P I C e r t i f i c a t e   m a n a g e m e n t   w i t h   k u b e a d m F i n d   m o r e   a b o u t   k u b e a d m   s e t - u p",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17469"
  },
  {
    "question": "What is 2.1.9 - Changing The Kubernetes Package Repository?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   t o   e n a b l e   a   p a c k a g e   r e p o s i t o r y   f o r   t h e   d e s i r e d   K u b e r n e t e s   m i n o r   r e l e a s e   u p o n   u p g r a d i n g   a   c l u s t e r .   T h i s   i s   o n l y   n e e d e d   f o r   u s e r s   o f   t h e   c o m m u n i t y - o w n e d   p a c k a g e   r e p o s i t o r i e s   h o s t e d   a t   p k g s . k 8 s . i o .   U n l i k e   t h e   l e g a c y   p a c k a g e   r e p o s i t o r i e s ,   t h e   c o m m u n i t y - o w n e d   p a c k a g e   r e p o s i t o r i e s   a r e   s t r u c t u r e d   i n   a   w a y   t h a t   t h e r e ' s   a   d e d i c a t e d   p a c k a g e   r e p o s i t o r y   f o r   e a c h   K u b e r n e t e s   m i n o r   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17470"
  },
  {
    "question": "What is Before you begin?",
    "answer": "T h i s   d o c u m e n t   a s s u m e s   t h a t   y o u ' r e   a l r e a d y   u s i n g   t h e   c o m m u n i t y - o w n e d   p a c k a g e   r e p o s i t o r i e s   ( p k g s . k 8 s . i o ) .   I f   t h a t ' s   n o t   t h e   c a s e ,   i t ' s   s t r o n g l y   r e c o m m e n d e d   t o   m i g r a t e   t o   t h e   c o m m u n i t y - o w n e d   p a c k a g e   r e p o s i t o r i e s   a s   d e s c r i b e d   i n   t h e   o f f i c i a l   a n n o u n c e m e n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17471"
  },
  {
    "question": "What is Verifying if the Kubernetes package repositories are used?",
    "answer": "I f   y o u ' r e   u n s u r e   w h e t h e r   y o u ' r e   u s i n g   t h e   c o m m u n i t y - o w n e d   p a c k a g e   r e p o s i t o r i e s   o r   t h e   l e g a c y   p a c k a g e   r e p o s i t o r i e s ,   t a k e   t h e   f o l l o w i n g   s t e p s   t o   v e r i f y :   P r i n t   t h e   c o n t e n t s   o f   t h e   f i l e   t h a t   d e f i n e s   t h e   K u b e r n e t e s   a p t   r e p o s i t o r y : #   O n   y o u r   s y s t e m ,   t h i s   c o n f i g u r a t i o n   f i l e   c o u l d   h a v e   a   d i f f e r e n t   n a m e   p a g e r   / e t c / a p t / s o u r c e s . l i s t . d / k u b e r n e t e s . l i s t   I f   y o u   s e e   a   l i n e   s i m i l a r   t o : d e b   [ s i g n e d - b y = / e t c / a p t / k e y r i n g s / k u b e r n e t e s - a p t - k e y r i n g . g p g ]   h t t p s : / / p k g s . k 8 s . i o / c o r e : / s t a b l e : / v 1 . 3 3 / d e b /   /   Y o u ' r e   u s i n g   t h e   K u b e r n e t e s   p a c k a g e   r e p o s i t o r i e s   a n d   t h i s   g u i d e   a p p l i e s   t o   y o u .   O t h e r w i s e ,   i t ' s   s t r o n g l y   r e c o m m e n d e d   t o   m i g r a t e   t o   t h e   K u b e r n e t e s   p a c k a g e   r e p o s i t o r i e s   a s   d e s c r i b e d   i n   t h e   o f f i c i a l   a n n o u n c e m e n t .   P r i n t   t h e   c o n t e n t s   o f   t h e   f i l e   t h a t   d e f i n e s   t h e   K u b e r n e t e s   a p t   r e p o s i t o r y :   #   O n   y o u r   s y s t e m ,   t h i s   c o n f i g u r a t i o n   f i l e   c o u l d   h a v e   a   d i f f e r e n t   n a m e   p a g e r   / e t c / a p t / s o u r c e s . l i s t . d / k u b e r n e t e s . l i s t   I f   y o u   s e e   a   l i n e   s i m i l a r   t o :   d e b   [ s i g n e d - b y = / e t c / a p t / k e y r i n g s / k u b e r n e t e s - a p t - k e y r i n g . g p g ]   h t t p s : / / p k g s . k 8 s . i o / c o r e : / s t a b ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17472"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   U R L   u s e d   f o r   t h e   K u b e r n e t e s   p a c k a g e   r e p o s i t o r i e s   i s   n o t   l i m i t e d   t o   p k g s . k 8 s . i o ,   i t   c a n   a l s o   b e   o n e   o f :   p k g s . k 8 s . i o p k g s . k u b e r n e t e s . i o p a c k a g e s . k u b e r n e t e s . i o",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17473"
  },
  {
    "question": "What is Switching to another Kubernetes package repository?",
    "answer": "T h i s   s t e p   s h o u l d   b e   d o n e   u p o n   u p g r a d i n g   f r o m   o n e   t o   a n o t h e r   K u b e r n e t e s   m i n o r   r e l e a s e   i n   o r d e r   t o   g e t   a c c e s s   t o   t h e   p a c k a g e s   o f   t h e   d e s i r e d   K u b e r n e t e s   m i n o r   v e r s i o n .   O p e n   t h e   f i l e   t h a t   d e f i n e s   t h e   K u b e r n e t e s   a p t   r e p o s i t o r y   u s i n g   a   t e x t   e d i t o r   o f   y o u r   c h o i c e : n a n o   / e t c / a p t / s o u r c e s . l i s t . d / k u b e r n e t e s . l i s t   Y o u   s h o u l d   s e e   a   s i n g l e   l i n e   w i t h   t h e   U R L   t h a t   c o n t a i n s   y o u r   c u r r e n t   K u b e r n e t e s   m i n o r   v e r s i o n .   F o r   e x a m p l e ,   i f   y o u ' r e   u s i n g   v 1 . 3 3 ,   y o u   s h o u l d   s e e   t h i s : d e b   [ s i g n e d - b y = / e t c / a p t / k e y r i n g s / k u b e r n e t e s - a p t - k e y r i n g . g p g ]   h t t p s : / / p k g s . k 8 s . i o / c o r e : / s t a b l e : / v 1 . 3 3 / d e b /   /   C h a n g e   t h e   v e r s i o n   i n   t h e   U R L   t o   t h e   n e x t   a v a i l a b l e   m i n o r   r e l e a s e ,   f o r   e x a m p l e : d e b   [ s i g n e d - b y = / e t c / a p t / k e y r i n g s / k u b e r n e t e s - a p t - k e y r i n g . g p g ]   h t t p s : / / p k g s . k 8 s . i o / c o r e : / s t a b l e : / v 1 . 3 4 / d e b /   /   S a v e   t h e   f i l e   a n d   e x i t   y o u r   t e x t   e d i t o r .   C o n t i n u e   f o l l o w i n g   t h e   r e l e v a n t   u p g r a d e   i n s t r u c t i o n s .   O p e n   t h e   f i l e   t h a t   d e f i n e s   t h e   K u b e r n e t e s   a p t   r e p o s i t o r y   u s i n g   a   t e x t   e d i t o r   o f   y o u r   c h o i c e : n a n o   / e t c / a p t / s o u r c e s . l i s t . d / k u b e r n e t e s . l i s t   Y o u   s h o u l d   s e e   a   s i n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17474"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   h o w   t o   U p g r a d e   L i n u x   n o d e s . S e e   h o w   t o   U p g r a d e   W i n d o w s   n o d e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17475"
  },
  {
    "question": "What is 2.2 - Overprovision Node Capacity For A Cluster?",
    "answer": "T h i s   p a g e   g u i d e s   y o u   t h r o u g h   c o n f i g u r i n g   N o d e   o v e r p r o v i s i o n i n g   i n   y o u r   K u b e r n e t e s   c l u s t e r .   N o d e   o v e r p r o v i s i o n i n g   i s   a   s t r a t e g y   t h a t   p r o a c t i v e l y   r e s e r v e s   a   p o r t i o n   o f   y o u r   c l u s t e r ' s   c o m p u t e   r e s o u r c e s .   T h i s   r e s e r v a t i o n   h e l p s   r e d u c e   t h e   t i m e   r e q u i r e d   t o   s c h e d u l e   n e w   p o d s   d u r i n g   s c a l i n g   e v e n t s ,   e n h a n c i n g   y o u r   c l u s t e r ' s   r e s p o n s i v e n e s s   t o   s u d d e n   s p i k e s   i n   t r a f f i c   o r   w o r k l o a d   d e m a n d s .   B y   m a i n t a i n i n g   s o m e   u n u s e d   c a p a c i t y ,   y o u   e n s u r e   t h a t   r e s o u r c e s   a r e   i m m e d i a t e l y   a v a i l a b l e   w h e n   n e w   p o d s   a r e   c r e a t e d ,   p r e v e n t i n g   t h e m   f r o m   e n t e r i n g   a   p e n d i n g   s t a t e   w h i l e   t h e   c l u s t e r   s c a l e s   u p .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17476"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r . Y o u   s h o u l d   a l r e a d y   h a v e   a   b a s i c   u n d e r s t a n d i n g   o f   D e p l o y m e n t s ,   P o d   p r i o r i t y ,   a n d   P r i o r i t y C l a s s e s . Y o u r   c l u s t e r   m u s t   b e   s e t   u p   w i t h   a n   a u t o s c a l e r   t h a t   m a n a g e s   n o d e s   b a s e d   o n   d e m a n d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17477"
  },
  {
    "question": "What is Create a PriorityClass?",
    "answer": "B e g i n   b y   d e f i n i n g   a   P r i o r i t y C l a s s   f o r   t h e   p l a c e h o l d e r   P o d s .   F i r s t ,   c r e a t e   a   P r i o r i t y C l a s s   w i t h   a   n e g a t i v e   p r i o r i t y   v a l u e ,   t h a t   y o u   w i l l   s h o r t l y   a s s i g n   t o   t h e   p l a c e h o l d e r   p o d s .   L a t e r ,   y o u   w i l l   s e t   u p   a   D e p l o y m e n t   t h a t   u s e s   t h i s   P r i o r i t y C l a s s   a p i V e r s i o n :   s c h e d u l i n g . k 8 s . i o / v 1   k i n d :   P r i o r i t y C l a s s   m e t a d a t a :   n a m e :   p l a c e h o l d e r   #   t h e s e   P o d s   r e p r e s e n t   p l a c e h o l d e r   c a p a c i t y   v a l u e :   - 1 0 0 0   g l o b a l D e f a u l t :   f a l s e   d e s c r i p t i o n :   \" N e g a t i v e   p r i o r i t y   f o r   p l a c e h o l d e r   p o d s   t o   e n a b l e   o v e r p r o v i s i o n i n g . \"   T h e n   c r e a t e   t h e   P r i o r i t y C l a s s :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p r i o r i t y c l a s s / l o w - p r i o r i t y - c l a s s . y a m l   Y o u   w i l l   n e x t   d e f i n e   a   D e p l o y m e n t   t h a t   u s e s   t h e   n e g a t i v e - p r i o r i t y   P r i o r i t y C l a s s   a n d   r u n s   a   m i n i m a l   c o n t a i n e r .   W h e n   y o u   a d d   t h i s   t o   y o u r   c l u s t e r ,   K u b e r n e t e s   r u n s   t h o s e   p l a c e h o l d e r   p o d s   t o   r e s e r v e   c a p a c i t y .   A n y   t i m e   t h e r e   i s   a   c a p a c i t y   s h o r t a g e ,   t h e   c o n t r o l   p l a n e   w i l l   p i c k   o n e   t h e s e   p l a c e h o l d e r   p o d s   a s   t h e   f i r s t   c a n d i d a t e   t o   p r e e m p t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17478"
  },
  {
    "question": "What is Run Pods that request node capacity?",
    "answer": "R e v i e w   t h e   s a m p l e   m a n i f e s t :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   c a p a c i t y - r e s e r v a t i o n   #   Y o u   s h o u l d   d e c i d e   w h a t   n a m e s p a c e   t o   d e p l o y   t h i s   i n t o   s p e c :   r e p l i c a s :   1   s e l e c t o r :   m a t c h L a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   c a p a c i t y - p l a c e h o l d e r   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   c a p a c i t y - p l a c e h o l d e r   a n n o t a t i o n s :   k u b e r n e t e s . i o / d e s c r i p t i o n :   \" C a p a c i t y   r e s e r v a t i o n \"   s p e c :   p r i o r i t y C l a s s N a m e :   p l a c e h o l d e r   a f f i n i t y :   #   T r y   t o   p l a c e   t h e s e   o v e r h e a d   P o d s   o n   d i f f e r e n t   n o d e s   #   i f   p o s s i b l e   p o d A n t i A f f i n i t y :   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   -   w e i g h t :   1 0 0   p o d A f f i n i t y T e r m :   l a b e l S e l e c t o r :   m a t c h L a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   c a p a c i t y - p l a c e h o l d e r   t o p o l o g y K e y :   t o p o l o g y . k u b e r n e t e s . i o / h o s t n a m e   c o n t a i n e r s :   -   n a m e :   p a u s e   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 6   r e s o u r c e s :   r e q u e s t s :   c p u :   \" 5 0 m \"   m e m o r y :   \" 5 1 2 M i \"   l i m i t s :   m e m o r y :   \" 5 1 2 M i \"",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17479"
  },
  {
    "question": "What is Pick a namespace for the placeholder pods?",
    "answer": "Y o u   s h o u l d   s e l e c t ,   o r   c r e a t e ,   a   n a m e s p a c e   t h a t   t h e   p l a c e h o l d e r   P o d s   w i l l   g o   i n t o .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17480"
  },
  {
    "question": "What is Create the placeholder deployment?",
    "answer": "C r e a t e   a   D e p l o y m e n t   b a s e d   o n   t h a t   m a n i f e s t :   #   C h a n g e   t h e   n a m e s p a c e   n a m e   \" e x a m p l e \"   k u b e c t l   - - n a m e s p a c e   e x a m p l e   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d e p l o y m e n t s / d e p l o y m e n t - w i t h - c a p a c i t y - r e s e r v a t i o n . y a m l",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17481"
  },
  {
    "question": "What is Adjust placeholder resource requests?",
    "answer": "C o n f i g u r e   t h e   r e s o u r c e   r e q u e s t s   a n d   l i m i t s   f o r   t h e   p l a c e h o l d e r   p o d s   t o   d e f i n e   t h e   a m o u n t   o f   o v e r p r o v i s i o n e d   r e s o u r c e s   y o u   w a n t   t o   m a i n t a i n .   T h i s   r e s e r v a t i o n   e n s u r e s   t h a t   a   s p e c i f i c   a m o u n t   o f   C P U   a n d   m e m o r y   i s   k e p t   a v a i l a b l e   f o r   n e w   p o d s .   T o   e d i t   t h e   D e p l o y m e n t ,   m o d i f y   t h e   r e s o u r c e s   s e c t i o n   i n   t h e   D e p l o y m e n t   m a n i f e s t   f i l e   t o   s e t   a p p r o p r i a t e   r e q u e s t s   a n d   l i m i t s .   Y o u   c a n   d o w n l o a d   t h a t   f i l e   l o c a l l y   a n d   t h e n   e d i t   i t   w i t h   w h i c h e v e r   t e x t   e d i t o r   y o u   p r e f e r .   Y o u   c a n   a l s o   e d i t   t h e   D e p l o y m e n t   u s i n g   k u b e c t l :   k u b e c t l   e d i t   d e p l o y m e n t   c a p a c i t y - r e s e r v a t i o n   F o r   e x a m p l e ,   t o   r e s e r v e   a   t o t a l   o f   a   0 . 5   C P U   a n d   1 G i B   o f   m e m o r y   a c r o s s   5   p l a c e h o l d e r   p o d s ,   d e f i n e   t h e   r e s o u r c e   r e q u e s t s   a n d   l i m i t s   f o r   a   s i n g l e   p l a c e h o l d e r   p o d   a s   f o l l o w s :   r e s o u r c e s :   r e q u e s t s :   c p u :   \" 1 0 0 m \"   m e m o r y :   \" 2 0 0 M i \"   l i m i t s :   c p u :   \" 1 0 0 m \"",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17482"
  },
  {
    "question": "What is Calculate the total reserved resources?",
    "answer": "F o r   e x a m p l e ,   w i t h   5   r e p l i c a s   e a c h   r e s e r v i n g   0 . 1   C P U   a n d   2 0 0 M i B   o f   m e m o r y : T o t a l   C P U   r e s e r v e d :   5   ×   0 . 1   =   0 . 5   ( i n   t h e   P o d   s p e c i f i c a t i o n ,   y o u ' l l   w r i t e   t h e   q u a n t i t y   5 0 0 m ) T o t a l   m e m o r y   r e s e r v e d :   5   ×   2 0 0 M i B   =   1 G i B   ( i n   t h e   P o d   s p e c i f i c a t i o n ,   y o u ' l l   w r i t e   1   G i )   T o   s c a l e   t h e   D e p l o y m e n t ,   a d j u s t   t h e   n u m b e r   o f   r e p l i c a s   b a s e d   o n   y o u r   c l u s t e r ' s   s i z e   a n d   e x p e c t e d   w o r k l o a d :   k u b e c t l   s c a l e   d e p l o y m e n t   c a p a c i t y - r e s e r v a t i o n   - - r e p l i c a s = 5   V e r i f y   t h e   s c a l i n g :   k u b e c t l   g e t   d e p l o y m e n t   c a p a c i t y - r e s e r v a t i o n   T h e   o u t p u t   s h o u l d   r e f l e c t   t h e   u p d a t e d   n u m b e r   o f   r e p l i c a s :   N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   c a p a c i t y - r e s e r v a t i o n   5 / 5   5   5   2 m",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17483"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   P r i o r i t y C l a s s e s   a n d   h o w   t h e y   a f f e c t   p o d   s c h e d u l i n g . E x p l o r e   n o d e   a u t o s c a l i n g   t o   d y n a m i c a l l y   a d j u s t   y o u r   c l u s t e r ' s   s i z e   b a s e d   o n   w o r k l o a d   d e m a n d s . U n d e r s t a n d   P o d   p r e e m p t i o n ,   a   k e y   m e c h a n i s m   f o r   K u b e r n e t e s   t o   h a n d l e   r e s o u r c e   c o n t e n t i o n .   T h e   s a m e   p a g e   c o v e r s   e v i c t i o n ,   w h i c h   i s   l e s s   r e l e v a n t   t o   t h e   p l a c e h o l d e r   P o d   a p p r o a c h ,   b u t   i s   a l s o   a   m e c h a n i s m   f o r   K u b e r n e t e s   t o   r e a c t   w h e n   r e s o u r c e s   a r e   c o n t e n d e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17484"
  },
  {
    "question": "What is 2.3 - Migrating from dockershim?",
    "answer": "T h i s   s e c t i o n   p r e s e n t s   i n f o r m a t i o n   y o u   n e e d   t o   k n o w   w h e n   m i g r a t i n g   f r o m   d o c k e r s h i m   t o   o t h e r   c o n t a i n e r   r u n t i m e s .   S i n c e   t h e   a n n o u n c e m e n t   o f   d o c k e r s h i m   d e p r e c a t i o n   i n   K u b e r n e t e s   1 . 2 0 ,   t h e r e   w e r e   q u e s t i o n s   o n   h o w   t h i s   w i l l   a f f e c t   v a r i o u s   w o r k l o a d s   a n d   K u b e r n e t e s   i n s t a l l a t i o n s .   O u r   D o c k e r s h i m   R e m o v a l   F A Q   i s   t h e r e   t o   h e l p   y o u   t o   u n d e r s t a n d   t h e   p r o b l e m   b e t t e r .   D o c k e r s h i m   w a s   r e m o v e d   f r o m   K u b e r n e t e s   w i t h   t h e   r e l e a s e   o f   v 1 . 2 4 .   I f   y o u   u s e   D o c k e r   E n g i n e   v i a   d o c k e r s h i m   a s   y o u r   c o n t a i n e r   r u n t i m e   a n d   w i s h   t o   u p g r a d e   t o   v 1 . 2 4 ,   i t   i s   r e c o m m e n d e d   t h a t   y o u   e i t h e r   m i g r a t e   t o   a n o t h e r   r u n t i m e   o r   f i n d   a n   a l t e r n a t i v e   m e a n s   t o   o b t a i n   D o c k e r   E n g i n e   s u p p o r t .   C h e c k   o u t   t h e   c o n t a i n e r   r u n t i m e s   s e c t i o n   t o   k n o w   y o u r   o p t i o n s .   T h e   v e r s i o n   o f   K u b e r n e t e s   w i t h   d o c k e r s h i m   ( 1 . 2 3 )   i s   o u t   o f   s u p p o r t   a n d   t h e   v 1 . 2 4   w i l l   r u n   o u t   o f   s u p p o r t   s o o n .   M a k e   s u r e   t o   r e p o r t   i s s u e s   y o u   e n c o u n t e r e d   w i t h   t h e   m i g r a t i o n   s o   t h e   i s s u e s   c a n   b e   f i x e d   i n   a   t i m e l y   m a n n e r   a n d   y o u r   c l u s t e r   w o u l d   b e   r e a d y   f o r   d o c k e r s h i m   r e m o v a l .   A f t e r   v 1 . 2 4   r u n n i n g   o u ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17485"
  },
  {
    "question": "What is What's next?",
    "answer": "C h e c k   o u t   c o n t a i n e r   r u n t i m e s   t o   u n d e r s t a n d   y o u r   o p t i o n s   f o r   a n   a l t e r n a t i v e . I f   y o u   f i n d   a   d e f e c t   o r   o t h e r   t e c h n i c a l   c o n c e r n   r e l a t i n g   t o   m i g r a t i n g   a w a y   f r o m   d o c k e r s h i m ,   y o u   c a n   r e p o r t   a n   i s s u e   t o   t h e   K u b e r n e t e s   p r o j e c t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17486"
  },
  {
    "question": "What is 2.3.1 - Changing the Container Runtime on a Node from Docker Engine to containerd?",
    "answer": "T h i s   t a s k   o u t l i n e s   t h e   s t e p s   n e e d e d   t o   u p d a t e   y o u r   c o n t a i n e r   r u n t i m e   t o   c o n t a i n e r d   f r o m   D o c k e r .   I t   i s   a p p l i c a b l e   f o r   c l u s t e r   o p e r a t o r s   r u n n i n g   K u b e r n e t e s   1 . 2 3   o r   e a r l i e r .   T h i s   a l s o   c o v e r s   a n   e x a m p l e   s c e n a r i o   f o r   m i g r a t i n g   f r o m   d o c k e r s h i m   t o   c o n t a i n e r d .   A l t e r n a t i v e   c o n t a i n e r   r u n t i m e s   c a n   b e   p i c k e d   f r o m   t h i s   p a g e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17487"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n s t a l l   c o n t a i n e r d .   F o r   m o r e   i n f o r m a t i o n   s e e   c o n t a i n e r d ' s   i n s t a l l a t i o n   d o c u m e n t a t i o n   a n d   f o r   s p e c i f i c   p r e r e q u i s i t e   f o l l o w   t h e   c o n t a i n e r d   g u i d e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17488"
  },
  {
    "question": "What is Drain the node?",
    "answer": "k u b e c t l   d r a i n   < n o d e - t o - d r a i n >   - - i g n o r e - d a e m o n s e t s   R e p l a c e   < n o d e - t o - d r a i n >   w i t h   t h e   n a m e   o f   y o u r   n o d e   y o u   a r e   d r a i n i n g .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17489"
  },
  {
    "question": "What is Stop the Docker daemon?",
    "answer": "s y s t e m c t l   s t o p   k u b e l e t   s y s t e m c t l   d i s a b l e   d o c k e r . s e r v i c e   - - n o w",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17490"
  },
  {
    "question": "What is Install Containerd?",
    "answer": "F o l l o w   t h e   g u i d e   f o r   d e t a i l e d   s t e p s   t o   i n s t a l l   c o n t a i n e r d .   I n s t a l l   t h e   c o n t a i n e r d . i o   p a c k a g e   f r o m   t h e   o f f i c i a l   D o c k e r   r e p o s i t o r i e s .   I n s t r u c t i o n s   f o r   s e t t i n g   u p   t h e   D o c k e r   r e p o s i t o r y   f o r   y o u r   r e s p e c t i v e   L i n u x   d i s t r i b u t i o n   a n d   i n s t a l l i n g   t h e   c o n t a i n e r d . i o   p a c k a g e   c a n   b e   f o u n d   a t   G e t t i n g   s t a r t e d   w i t h   c o n t a i n e r d . C o n f i g u r e   c o n t a i n e r d : s u d o   m k d i r   - p   / e t c / c o n t a i n e r d   c o n t a i n e r d   c o n f i g   d e f a u l t   |   s u d o   t e e   / e t c / c o n t a i n e r d / c o n f i g . t o m l   R e s t a r t   c o n t a i n e r d : s u d o   s y s t e m c t l   r e s t a r t   c o n t a i n e r d   I n s t a l l   t h e   c o n t a i n e r d . i o   p a c k a g e   f r o m   t h e   o f f i c i a l   D o c k e r   r e p o s i t o r i e s .   I n s t r u c t i o n s   f o r   s e t t i n g   u p   t h e   D o c k e r   r e p o s i t o r y   f o r   y o u r   r e s p e c t i v e   L i n u x   d i s t r i b u t i o n   a n d   i n s t a l l i n g   t h e   c o n t a i n e r d . i o   p a c k a g e   c a n   b e   f o u n d   a t   G e t t i n g   s t a r t e d   w i t h   c o n t a i n e r d . C o n f i g u r e   c o n t a i n e r d : s u d o   m k d i r   - p   / e t c / c o n t a i n e r d   c o n t a i n e r d   c o n f i g   d e f a u l t   |   s u d o   t e e   / e t c / c o n t a i n e r d / c o n f i g . t o m l   R e s t a r t   c o n t a i n e r d : s u d o   s y s t e m c t l   r e s t a r t   c o n t a i n e r d   I n s t a l l   t h e   c o n t a i n e r d . i o   p a c k a g e   f r o m   t h e   o f f i c i a l   D o c k e r   r e p o s i t o r i e s .   I n s t r u c t i o n s   f o r   s e t t i n g   u p   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17491"
  },
  {
    "question": "What is Configure the kubelet to use containerd as its container runtime?",
    "answer": "E d i t   t h e   f i l e   / v a r / l i b / k u b e l e t / k u b e a d m - f l a g s . e n v   a n d   a d d   t h e   c o n t a i n e r d   r u n t i m e   t o   t h e   f l a g s ;   - - c o n t a i n e r - r u n t i m e - e n d p o i n t = u n i x : / / / r u n / c o n t a i n e r d / c o n t a i n e r d . s o c k .   U s e r s   u s i n g   k u b e a d m   s h o u l d   b e   a w a r e   t h a t   t h e   k u b e a d m   t o o l   s t o r e s   t h e   h o s t ' s   C R I   s o c k e t   i n   t h e   / v a r / l i b / k u b e l e t / i n s t a n c e - c o n f i g . y a m l   f i l e   o n   e a c h   n o d e .   Y o u   c a n   c r e a t e   t h i s   / v a r / l i b / k u b e l e t / i n s t a n c e - c o n f i g . y a m l   f i l e   o n   t h e   n o d e .   T h e   / v a r / l i b / k u b e l e t / i n s t a n c e - c o n f i g . y a m l   f i l e   a l l o w s   s e t t i n g   t h e   c o n t a i n e r R u n t i m e E n d p o i n t   p a r a m e t e r .   Y o u   c a n   s e t   t h i s   p a r a m e t e r ' s   v a l u e   t o   t h e   p a t h   o f   y o u r   c h o s e n   C R I   s o c k e t   ( f o r   e x a m p l e   u n i x : / / / r u n / c o n t a i n e r d / c o n t a i n e r d . s o c k ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17492"
  },
  {
    "question": "What is Restart the kubelet?",
    "answer": "s y s t e m c t l   s t a r t   k u b e l e t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17493"
  },
  {
    "question": "What is Verify that the node is healthy?",
    "answer": "R u n   k u b e c t l   g e t   n o d e s   - o   w i d e   a n d   c o n t a i n e r d   a p p e a r s   a s   t h e   r u n t i m e   f o r   t h e   n o d e   w e   j u s t   c h a n g e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17494"
  },
  {
    "question": "What is Remove Docker Engine?",
    "answer": "I f   t h e   n o d e   a p p e a r s   h e a l t h y ,   r e m o v e   D o c k e r .   s u d o   y u m   r e m o v e   d o c k e r - c e   d o c k e r - c e - c l i   s u d o   y u m   r e m o v e   d o c k e r - c e   d o c k e r - c e - c l i   s u d o   a p t - g e t   p u r g e   d o c k e r - c e   d o c k e r - c e - c l i   s u d o   a p t - g e t   p u r g e   d o c k e r - c e   d o c k e r - c e - c l i   s u d o   d n f   r e m o v e   d o c k e r - c e   d o c k e r - c e - c l i   s u d o   d n f   r e m o v e   d o c k e r - c e   d o c k e r - c e - c l i   s u d o   a p t - g e t   p u r g e   d o c k e r - c e   d o c k e r - c e - c l i   s u d o   a p t - g e t   p u r g e   d o c k e r - c e   d o c k e r - c e - c l i   T h e   p r e c e d i n g   c o m m a n d s   d o n ' t   r e m o v e   i m a g e s ,   c o n t a i n e r s ,   v o l u m e s ,   o r   c u s t o m i z e d   c o n f i g u r a t i o n   f i l e s   o n   y o u r   h o s t .   T o   d e l e t e   t h e m ,   f o l l o w   D o c k e r ' s   i n s t r u c t i o n s   t o   U n i n s t a l l   D o c k e r   E n g i n e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17495"
  },
  {
    "question": "What is Uncordon the node?",
    "answer": "k u b e c t l   u n c o r d o n   < n o d e - t o - u n c o r d o n >   R e p l a c e   < n o d e - t o - u n c o r d o n >   w i t h   t h e   n a m e   o f   y o u r   n o d e   y o u   p r e v i o u s l y   d r a i n e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17496"
  },
  {
    "question": "What is 2.3.2 - Find Out What Container Runtime is Used on a Node?",
    "answer": "T h i s   p a g e   o u t l i n e s   s t e p s   t o   f i n d   o u t   w h a t   c o n t a i n e r   r u n t i m e   t h e   n o d e s   i n   y o u r   c l u s t e r   u s e .   D e p e n d i n g   o n   t h e   w a y   y o u   r u n   y o u r   c l u s t e r ,   t h e   c o n t a i n e r   r u n t i m e   f o r   t h e   n o d e s   m a y   h a v e   b e e n   p r e - c o n f i g u r e d   o r   y o u   n e e d   t o   c o n f i g u r e   i t .   I f   y o u ' r e   u s i n g   a   m a n a g e d   K u b e r n e t e s   s e r v i c e ,   t h e r e   m i g h t   b e   v e n d o r - s p e c i f i c   w a y s   t o   c h e c k   w h a t   c o n t a i n e r   r u n t i m e   i s   c o n f i g u r e d   f o r   t h e   n o d e s .   T h e   m e t h o d   d e s c r i b e d   o n   t h i s   p a g e   s h o u l d   w o r k   w h e n e v e r   t h e   e x e c u t i o n   o f   k u b e c t l   i s   a l l o w e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17497"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n s t a l l   a n d   c o n f i g u r e   k u b e c t l .   S e e   I n s t a l l   T o o l s   s e c t i o n   f o r   d e t a i l s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17498"
  },
  {
    "question": "What is Find out the container runtime used on a Node?",
    "answer": "U s e   k u b e c t l   t o   f e t c h   a n d   s h o w   n o d e   i n f o r m a t i o n :   k u b e c t l   g e t   n o d e s   - o   w i d e   T h e   o u t p u t   i s   s i m i l a r   t o   t h e   f o l l o w i n g .   T h e   c o l u m n   C O N T A I N E R - R U N T I M E   o u t p u t s   t h e   r u n t i m e   a n d   i t s   v e r s i o n .   F o r   D o c k e r   E n g i n e ,   t h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   S T A T U S   V E R S I O N   C O N T A I N E R - R U N T I M E   n o d e - 1   R e a d y   v 1 . 1 6 . 1 5   d o c k e r : / / 1 9 . 3 . 1   n o d e - 2   R e a d y   v 1 . 1 6 . 1 5   d o c k e r : / / 1 9 . 3 . 1   n o d e - 3   R e a d y   v 1 . 1 6 . 1 5   d o c k e r : / / 1 9 . 3 . 1   I f   y o u r   r u n t i m e   s h o w s   a s   D o c k e r   E n g i n e ,   y o u   s t i l l   m i g h t   n o t   b e   a f f e c t e d   b y   t h e   r e m o v a l   o f   d o c k e r s h i m   i n   K u b e r n e t e s   v 1 . 2 4 .   C h e c k   t h e   r u n t i m e   e n d p o i n t   t o   s e e   i f   y o u   u s e   d o c k e r s h i m .   I f   y o u   d o n ' t   u s e   d o c k e r s h i m ,   y o u   a r e n ' t   a f f e c t e d .   F o r   c o n t a i n e r d ,   t h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   S T A T U S   V E R S I O N   C O N T A I N E R - R U N T I M E   n o d e - 1   R e a d y   v 1 . 1 9 . 6   c o n t a i n e r d : / / 1 . 4 . 1   n o d e - 2   R e a d y   v 1 . 1 9 . 6   c o n t a i n e r d : / / 1 . 4 . 1   n o d e - 3   R e a d y   v 1 . 1 9 . 6   c o n t a i n e r d : / / 1 . 4 . 1   F i n d   o u t   m o r e   i n f o r m a t i o n   a b o u t   c o n t a i n e r   r u n t i m e s   o n   C o n t a i n e r   R u n t i m e s   p a g e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17499"
  },
  {
    "question": "What is Find out what container runtime endpoint you use?",
    "answer": "T h e   c o n t a i n e r   r u n t i m e   t a l k s   t o   t h e   k u b e l e t   o v e r   a   U n i x   s o c k e t   u s i n g   t h e   C R I   p r o t o c o l ,   w h i c h   i s   b a s e d   o n   t h e   g R P C   f r a m e w o r k .   T h e   k u b e l e t   a c t s   a s   a   c l i e n t ,   a n d   t h e   r u n t i m e   a c t s   a s   t h e   s e r v e r .   I n   s o m e   c a s e s ,   y o u   m i g h t   f i n d   i t   u s e f u l   t o   k n o w   w h i c h   s o c k e t   y o u r   n o d e s   u s e .   F o r   e x a m p l e ,   w i t h   t h e   r e m o v a l   o f   d o c k e r s h i m   i n   K u b e r n e t e s   v 1 . 2 4   a n d   l a t e r ,   y o u   m i g h t   w a n t   t o   k n o w   w h e t h e r   y o u   u s e   D o c k e r   E n g i n e   w i t h   d o c k e r s h i m .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17500"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   c h e c k   w h i c h   s o c k e t   y o u   u s e   b y   c h e c k i n g   t h e   k u b e l e t   c o n f i g u r a t i o n   o n   y o u r   n o d e s .   R e a d   t h e   s t a r t i n g   c o m m a n d s   f o r   t h e   k u b e l e t   p r o c e s s : t r   \\ \\ 0   '   '   <   / p r o c / \" $ ( p g r e p   k u b e l e t ) \" / c m d l i n e   I f   y o u   d o n ' t   h a v e   t r   o r   p g r e p ,   c h e c k   t h e   c o m m a n d   l i n e   f o r   t h e   k u b e l e t   p r o c e s s   m a n u a l l y . I n   t h e   o u t p u t ,   l o o k   f o r   t h e   - - c o n t a i n e r - r u n t i m e   f l a g   a n d   t h e   - - c o n t a i n e r - r u n t i m e - e n d p o i n t   f l a g . I f   y o u r   n o d e s   u s e   K u b e r n e t e s   v 1 . 2 3   a n d   e a r l i e r   a n d   t h e s e   f l a g s   a r e n ' t   p r e s e n t   o r   i f   t h e   - - c o n t a i n e r - r u n t i m e   f l a g   i s   n o t   r e m o t e ,   y o u   u s e   t h e   d o c k e r s h i m   s o c k e t   w i t h   D o c k e r   E n g i n e .   T h e   - - c o n t a i n e r - r u n t i m e   c o m m a n d   l i n e   a r g u m e n t   i s   n o t   a v a i l a b l e   i n   K u b e r n e t e s   v 1 . 2 7   a n d   l a t e r . I f   t h e   - - c o n t a i n e r - r u n t i m e - e n d p o i n t   f l a g   i s   p r e s e n t ,   c h e c k   t h e   s o c k e t   n a m e   t o   f i n d   o u t   w h i c h   r u n t i m e   y o u   u s e .   F o r   e x a m p l e ,   u n i x : / / / r u n / c o n t a i n e r d / c o n t a i n e r d . s o c k   i s   t h e   c o n t a i n e r d   e n d p o i n t .   R e a d   t h e   s t a r t i n g   c o m m a n d s   f o r   t h e   k u b e l e t   p r o c e s s :   t r   \\ \\ 0   '   '   <   / p r o c / \" $ ( p g r e p   k u b e l e t ) \" / c m d l i n e   I f   y o u   d o n ' t   h a v e   t r   o r   p g r e p ,   c h e c k   t h e   c o m m a n d   l i n e   f o r   t h e   k u b e l e t   p r o c ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17501"
  },
  {
    "question": "What is 2.3.3 - Troubleshooting CNI plugin-related errors?",
    "answer": "T o   a v o i d   C N I   p l u g i n - r e l a t e d   e r r o r s ,   v e r i f y   t h a t   y o u   a r e   u s i n g   o r   u p g r a d i n g   t o   a   c o n t a i n e r   r u n t i m e   t h a t   h a s   b e e n   t e s t e d   t o   w o r k   c o r r e c t l y   w i t h   y o u r   v e r s i o n   o f   K u b e r n e t e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17502"
  },
  {
    "question": "What is About the \"Incompatible CNI versions\" and \"Failed to destroy network for sandbox\" errors?",
    "answer": "S e r v i c e   i s s u e s   e x i s t   f o r   p o d   C N I   n e t w o r k   s e t u p   a n d   t e a r   d o w n   i n   c o n t a i n e r d   v 1 . 6 . 0 - v 1 . 6 . 3   w h e n   t h e   C N I   p l u g i n s   h a v e   n o t   b e e n   u p g r a d e d   a n d / o r   t h e   C N I   c o n f i g   v e r s i o n   i s   n o t   d e c l a r e d   i n   t h e   C N I   c o n f i g   f i l e s .   T h e   c o n t a i n e r d   t e a m   r e p o r t s ,   \" t h e s e   i s s u e s   a r e   r e s o l v e d   i n   c o n t a i n e r d   v 1 . 6 . 4 . \"   W i t h   c o n t a i n e r d   v 1 . 6 . 0 - v 1 . 6 . 3 ,   i f   y o u   d o   n o t   u p g r a d e   t h e   C N I   p l u g i n s   a n d / o r   d e c l a r e   t h e   C N I   c o n f i g   v e r s i o n ,   y o u   m i g h t   e n c o u n t e r   t h e   f o l l o w i n g   \" I n c o m p a t i b l e   C N I   v e r s i o n s \"   o r   \" F a i l e d   t o   d e s t r o y   n e t w o r k   f o r   s a n d b o x \"   e r r o r   c o n d i t i o n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17503"
  },
  {
    "question": "What is Incompatible CNI versions error?",
    "answer": "I f   t h e   v e r s i o n   o f   y o u r   C N I   p l u g i n   d o e s   n o t   c o r r e c t l y   m a t c h   t h e   p l u g i n   v e r s i o n   i n   t h e   c o n f i g   b e c a u s e   t h e   c o n f i g   v e r s i o n   i s   l a t e r   t h a n   t h e   p l u g i n   v e r s i o n ,   t h e   c o n t a i n e r d   l o g   w i l l   l i k e l y   s h o w   a n   e r r o r   m e s s a g e   o n   s t a r t u p   o f   a   p o d   s i m i l a r   t o :   i n c o m p a t i b l e   C N I   v e r s i o n s ;   c o n f i g   i s   \\ \" 1 . 0 . 0 \\ \" ,   p l u g i n   s u p p o r t s   [ \\ \" 0 . 1 . 0 \\ \"   \\ \" 0 . 2 . 0 \\ \"   \\ \" 0 . 3 . 0 \\ \"   \\ \" 0 . 3 . 1 \\ \"   \\ \" 0 . 4 . 0 \\ \" ] \"   T o   f i x   t h i s   i s s u e ,   u p d a t e   y o u r   C N I   p l u g i n s   a n d   C N I   c o n f i g   f i l e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17504"
  },
  {
    "question": "What is Failed to destroy network for sandbox error?",
    "answer": "I f   t h e   v e r s i o n   o f   t h e   p l u g i n   i s   m i s s i n g   i n   t h e   C N I   p l u g i n   c o n f i g ,   t h e   p o d   m a y   r u n .   H o w e v e r ,   s t o p p i n g   t h e   p o d   g e n e r a t e s   a n   e r r o r   s i m i l a r   t o :   E R R O R [ 2 0 2 2 - 0 4 - 2 6 T 0 0 : 4 3 : 2 4 . 5 1 8 1 6 5 4 8 3 Z ]   S t o p P o d S a n d b o x   f o r   \" b \"   f a i l e d   e r r o r = \" f a i l e d   t o   d e s t r o y   n e t w o r k   f o r   s a n d b o x   \\ \" b b c 8 5 f 8 9 1 e a f 0 6 0 c 5 a 8 7 9 e 2 7 b b a 9 b 6 b 0 6 4 5 0 2 1 0 1 6 1 d f d e c f b b 2 7 3 2 9 5 9 f b 6 5 0 0 a \\ \" :   i n v a l i d   v e r s i o n   \\ \" \\ \" :   t h e   v e r s i o n   i s   e m p t y \"   T h i s   e r r o r   l e a v e s   t h e   p o d   i n   t h e   n o t - r e a d y   s t a t e   w i t h   a   n e t w o r k   n a m e s p a c e   s t i l l   a t t a c h e d .   T o   r e c o v e r   f r o m   t h i s   p r o b l e m ,   e d i t   t h e   C N I   c o n f i g   f i l e   t o   a d d   t h e   m i s s i n g   v e r s i o n   i n f o r m a t i o n .   T h e   n e x t   a t t e m p t   t o   s t o p   t h e   p o d   s h o u l d   b e   s u c c e s s f u l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17505"
  },
  {
    "question": "What is Updating your CNI plugins and CNI config files?",
    "answer": "I f   y o u ' r e   u s i n g   c o n t a i n e r d   v 1 . 6 . 0 - v 1 . 6 . 3   a n d   e n c o u n t e r e d   \" I n c o m p a t i b l e   C N I   v e r s i o n s \"   o r   \" F a i l e d   t o   d e s t r o y   n e t w o r k   f o r   s a n d b o x \"   e r r o r s ,   c o n s i d e r   u p d a t i n g   y o u r   C N I   p l u g i n s   a n d   e d i t i n g   t h e   C N I   c o n f i g   f i l e s .   H e r e ' s   a n   o v e r v i e w   o f   t h e   t y p i c a l   s t e p s   f o r   e a c h   n o d e :   S a f e l y   d r a i n   a n d   c o r d o n   t h e   n o d e . A f t e r   s t o p p i n g   y o u r   c o n t a i n e r   r u n t i m e   a n d   k u b e l e t   s e r v i c e s ,   p e r f o r m   t h e   f o l l o w i n g   u p g r a d e   o p e r a t i o n s : I f   y o u ' r e   r u n n i n g   C N I   p l u g i n s ,   u p g r a d e   t h e m   t o   t h e   l a t e s t   v e r s i o n . I f   y o u ' r e   u s i n g   n o n - C N I   p l u g i n s ,   r e p l a c e   t h e m   w i t h   C N I   p l u g i n s .   U s e   t h e   l a t e s t   v e r s i o n   o f   t h e   p l u g i n s . U p d a t e   t h e   p l u g i n   c o n f i g u r a t i o n   f i l e   t o   s p e c i f y   o r   m a t c h   a   v e r s i o n   o f   t h e   C N I   s p e c i f i c a t i o n   t h a t   t h e   p l u g i n   s u p p o r t s ,   a s   s h o w n   i n   t h e   f o l l o w i n g   \" A n   e x a m p l e   c o n t a i n e r d   c o n f i g u r a t i o n   f i l e \"   s e c t i o n . F o r   c o n t a i n e r d ,   e n s u r e   t h a t   y o u   h a v e   i n s t a l l e d   t h e   l a t e s t   v e r s i o n   ( v 1 . 0 . 0   o r   l a t e r )   o f   t h e   C N I   l o o p b a c k   p l u g i n . U p g r a d e   n o d e   c o m p o n e n t s   ( f o r   e x a m p l e ,   t h e   k u b e l e t )   t o   K u b e r n e t e s   v 1 . 2 4 U p g r a d e   t o   o r   i n s t a l l   t h e   m o s t   c u r r e n t   v e r s i o n   o f   t h e   c o n t a i n e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17506"
  },
  {
    "question": "What is An example containerd configuration file?",
    "answer": "T h e   f o l l o w i n g   e x a m p l e   s h o w s   a   c o n f i g u r a t i o n   f o r   c o n t a i n e r d   r u n t i m e   v 1 . 6 . x ,   w h i c h   s u p p o r t s   a   r e c e n t   v e r s i o n   o f   t h e   C N I   s p e c i f i c a t i o n   ( v 1 . 0 . 0 ) .   P l e a s e   s e e   t h e   d o c u m e n t a t i o n   f r o m   y o u r   p l u g i n   a n d   n e t w o r k i n g   p r o v i d e r   f o r   f u r t h e r   i n s t r u c t i o n s   o n   c o n f i g u r i n g   y o u r   s y s t e m .   O n   K u b e r n e t e s ,   c o n t a i n e r d   r u n t i m e   a d d s   a   l o o p b a c k   i n t e r f a c e ,   l o ,   t o   p o d s   a s   a   d e f a u l t   b e h a v i o r .   T h e   c o n t a i n e r d   r u n t i m e   c o n f i g u r e s   t h e   l o o p b a c k   i n t e r f a c e   v i a   a   C N I   p l u g i n ,   l o o p b a c k .   T h e   l o o p b a c k   p l u g i n   i s   d i s t r i b u t e d   a s   p a r t   o f   t h e   c o n t a i n e r d   r e l e a s e   p a c k a g e s   t h a t   h a v e   t h e   c n i   d e s i g n a t i o n .   c o n t a i n e r d   v 1 . 6 . 0   a n d   l a t e r   i n c l u d e s   a   C N I   v 1 . 0 . 0 - c o m p a t i b l e   l o o p b a c k   p l u g i n   a s   w e l l   a s   o t h e r   d e f a u l t   C N I   p l u g i n s .   T h e   c o n f i g u r a t i o n   f o r   t h e   l o o p b a c k   p l u g i n   i s   d o n e   i n t e r n a l l y   b y   c o n t a i n e r d ,   a n d   i s   s e t   t o   u s e   C N I   v 1 . 0 . 0 .   T h i s   a l s o   m e a n s   t h a t   t h e   v e r s i o n   o f   t h e   l o o p b a c k   p l u g i n   m u s t   b e   v 1 . 0 . 0   o r   l a t e r   w h e n   t h i s   n e w e r   v e r s i o n   c o n t a i n e r d   i s   s t a r t e d .   T h e   f o l l o w i n g   b a s h   c o m m a n d   g e n e r a t e s   a n   e x a m p l e   C N I   c o n f i g .   H e r e ,   t h e   1 . 0 . 0   v a l u e   f o r   t h e   c o n f i g   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17507"
  },
  {
    "question": "What is 2.3.4 - Check whether dockershim removal affects you?",
    "answer": "T h e   d o c k e r s h i m   c o m p o n e n t   o f   K u b e r n e t e s   a l l o w s   t h e   u s e   o f   D o c k e r   a s   a   K u b e r n e t e s ' s   c o n t a i n e r   r u n t i m e .   K u b e r n e t e s '   b u i l t - i n   d o c k e r s h i m   c o m p o n e n t   w a s   r e m o v e d   i n   r e l e a s e   v 1 . 2 4 .   T h i s   p a g e   e x p l a i n s   h o w   y o u r   c l u s t e r   c o u l d   b e   u s i n g   D o c k e r   a s   a   c o n t a i n e r   r u n t i m e ,   p r o v i d e s   d e t a i l s   o n   t h e   r o l e   t h a t   d o c k e r s h i m   p l a y s   w h e n   i n   u s e ,   a n d   s h o w s   s t e p s   y o u   c a n   t a k e   t o   c h e c k   w h e t h e r   a n y   w o r k l o a d s   c o u l d   b e   a f f e c t e d   b y   d o c k e r s h i m   r e m o v a l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17508"
  },
  {
    "question": "What is Finding if your app has a dependencies on Docker?",
    "answer": "I f   y o u   a r e   u s i n g   D o c k e r   f o r   b u i l d i n g   y o u r   a p p l i c a t i o n   c o n t a i n e r s ,   y o u   c a n   s t i l l   r u n   t h e s e   c o n t a i n e r s   o n   a n y   c o n t a i n e r   r u n t i m e .   T h i s   u s e   o f   D o c k e r   d o e s   n o t   c o u n t   a s   a   d e p e n d e n c y   o n   D o c k e r   a s   a   c o n t a i n e r   r u n t i m e .   W h e n   a l t e r n a t i v e   c o n t a i n e r   r u n t i m e   i s   u s e d ,   e x e c u t i n g   D o c k e r   c o m m a n d s   m a y   e i t h e r   n o t   w o r k   o r   y i e l d   u n e x p e c t e d   o u t p u t .   T h i s   i s   h o w   y o u   c a n   f i n d   w h e t h e r   y o u   h a v e   a   d e p e n d e n c y   o n   D o c k e r :   M a k e   s u r e   n o   p r i v i l e g e d   P o d s   e x e c u t e   D o c k e r   c o m m a n d s   ( l i k e   d o c k e r   p s ) ,   r e s t a r t   t h e   D o c k e r   s e r v i c e   ( c o m m a n d s   s u c h   a s   s y s t e m c t l   r e s t a r t   d o c k e r . s e r v i c e ) ,   o r   m o d i f y   D o c k e r - s p e c i f i c   f i l e s   s u c h   a s   / e t c / d o c k e r / d a e m o n . j s o n . C h e c k   f o r   a n y   p r i v a t e   r e g i s t r i e s   o r   i m a g e   m i r r o r   s e t t i n g s   i n   t h e   D o c k e r   c o n f i g u r a t i o n   f i l e   ( l i k e   / e t c / d o c k e r / d a e m o n . j s o n ) .   T h o s e   t y p i c a l l y   n e e d   t o   b e   r e c o n f i g u r e d   f o r   a n o t h e r   c o n t a i n e r   r u n t i m e . C h e c k   t h a t   s c r i p t s   a n d   a p p s   r u n n i n g   o n   n o d e s   o u t s i d e   o f   y o u r   K u b e r n e t e s   i n f r a s t r u c t u r e   d o   n o t   e x e c u t e   D o c k e r   c o m m a n d s .   I t   m i g h t   b e : S S H   t o   n o d e s   t o   t r o u b l e s h o o t ; N o d e   s t a r t u p   s c r i p t s ; M o n i t o r i n g   a n d   s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17509"
  },
  {
    "question": "What is Dependency on Docker explained?",
    "answer": "A   c o n t a i n e r   r u n t i m e   i s   s o f t w a r e   t h a t   c a n   e x e c u t e   t h e   c o n t a i n e r s   t h a t   m a k e   u p   a   K u b e r n e t e s   p o d .   K u b e r n e t e s   i s   r e s p o n s i b l e   f o r   o r c h e s t r a t i o n   a n d   s c h e d u l i n g   o f   P o d s ;   o n   e a c h   n o d e ,   t h e   k u b e l e t   u s e s   t h e   c o n t a i n e r   r u n t i m e   i n t e r f a c e   a s   a n   a b s t r a c t i o n   s o   t h a t   y o u   c a n   u s e   a n y   c o m p a t i b l e   c o n t a i n e r   r u n t i m e .   I n   i t s   e a r l i e s t   r e l e a s e s ,   K u b e r n e t e s   o f f e r e d   c o m p a t i b i l i t y   w i t h   o n e   c o n t a i n e r   r u n t i m e :   D o c k e r .   L a t e r   i n   t h e   K u b e r n e t e s   p r o j e c t ' s   h i s t o r y ,   c l u s t e r   o p e r a t o r s   w a n t e d   t o   a d o p t   a d d i t i o n a l   c o n t a i n e r   r u n t i m e s .   T h e   C R I   w a s   d e s i g n e d   t o   a l l o w   t h i s   k i n d   o f   f l e x i b i l i t y   -   a n d   t h e   k u b e l e t   b e g a n   s u p p o r t i n g   C R I .   H o w e v e r ,   b e c a u s e   D o c k e r   e x i s t e d   b e f o r e   t h e   C R I   s p e c i f i c a t i o n   w a s   i n v e n t e d ,   t h e   K u b e r n e t e s   p r o j e c t   c r e a t e d   a n   a d a p t e r   c o m p o n e n t ,   d o c k e r s h i m .   T h e   d o c k e r s h i m   a d a p t e r   a l l o w s   t h e   k u b e l e t   t o   i n t e r a c t   w i t h   D o c k e r   a s   i f   D o c k e r   w e r e   a   C R I   c o m p a t i b l e   r u n t i m e .   Y o u   c a n   r e a d   a b o u t   i t   i n   K u b e r n e t e s   C o n t a i n e r d   i n t e g r a t i o n   g o e s   G A   b l o g   p o s t .   S w i t c h i n g   t o   C o n t a i n e r d   a s   a   c o n t a i n e r   r u n t i m e   e l i m i n a t e s   t h e   m i d d l e m a n .   A l l ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17510"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   s t i l l   p u l l   i m a g e s   o r   b u i l d   t h e m   u s i n g   d o c k e r   b u i l d   c o m m a n d .   B u t   i m a g e s   b u i l t   o r   p u l l e d   b y   D o c k e r   w o u l d   n o t   b e   v i s i b l e   t o   c o n t a i n e r   r u n t i m e   a n d   K u b e r n e t e s .   T h e y   n e e d e d   t o   b e   p u s h e d   t o   s o m e   r e g i s t r y   t o   a l l o w   t h e m   t o   b e   u s e d   b y   K u b e r n e t e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17511"
  },
  {
    "question": "What is Some filesystem metrics are missing and the metrics format is different?",
    "answer": "T h e   K u b e l e t   / m e t r i c s / c a d v i s o r   e n d p o i n t   p r o v i d e s   P r o m e t h e u s   m e t r i c s ,   a s   d o c u m e n t e d   i n   M e t r i c s   f o r   K u b e r n e t e s   s y s t e m   c o m p o n e n t s .   I f   y o u   i n s t a l l   a   m e t r i c s   c o l l e c t o r   t h a t   d e p e n d s   o n   t h a t   e n d p o i n t ,   y o u   m i g h t   s e e   t h e   f o l l o w i n g   i s s u e s :   T h e   m e t r i c s   f o r m a t   o n   t h e   D o c k e r   n o d e   i s   k 8 s _ < c o n t a i n e r - n a m e > _ < p o d - n a m e > _ < n a m e s p a c e > _ < p o d - u i d > _ < r e s t a r t - c o u n t >   b u t   t h e   f o r m a t   o n   o t h e r   r u n t i m e   i s   d i f f e r e n t .   F o r   e x a m p l e ,   o n   c o n t a i n e r d   n o d e   i t   i s   < c o n t a i n e r - i d > . S o m e   f i l e s y s t e m   m e t r i c s   a r e   m i s s i n g ,   a s   f o l l o w s : c o n t a i n e r _ f s _ i n o d e s _ f r e e   c o n t a i n e r _ f s _ i n o d e s _ t o t a l   c o n t a i n e r _ f s _ i o _ c u r r e n t   c o n t a i n e r _ f s _ i o _ t i m e _ s e c o n d s _ t o t a l   c o n t a i n e r _ f s _ i o _ t i m e _ w e i g h t e d _ s e c o n d s _ t o t a l   c o n t a i n e r _ f s _ l i m i t _ b y t e s   c o n t a i n e r _ f s _ r e a d _ s e c o n d s _ t o t a l   c o n t a i n e r _ f s _ r e a d s _ m e r g e d _ t o t a l   c o n t a i n e r _ f s _ s e c t o r _ r e a d s _ t o t a l   c o n t a i n e r _ f s _ s e c t o r _ w r i t e s _ t o t a l   c o n t a i n e r _ f s _ u s a g e _ b y t e s   c o n t a i n e r _ f s _ w r i t e _ s e c o n d s _ t o t a l   c o n t a i n e r _ f s _ w r i t e s _ m e r g e d _ t o t a l   c o n t a i n e r _ f s _ i n o d e s _ f r e e   c o n t a i n e r _ f s _ i n o d e s _ t o t a l   c o n t a i n e r _ f s _ i o _ c u r r e n t   c o n t a i n e r _ f s _ i o _ t i m e _ s e c o n d s _ t o t a l   c o n t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17512"
  },
  {
    "question": "What is Workaround?",
    "answer": "Y o u   c a n   m i t i g a t e   t h i s   i s s u e   b y   u s i n g   c A d v i s o r   a s   a   s t a n d a l o n e   d a e m o n s e t .   F i n d   t h e   l a t e s t   c A d v i s o r   r e l e a s e   w i t h   t h e   n a m e   p a t t e r n   v X . Y . Z - c o n t a i n e r d - c r i   ( f o r   e x a m p l e ,   v 0 . 4 2 . 0 - c o n t a i n e r d - c r i ) . F o l l o w   t h e   s t e p s   i n   c A d v i s o r   K u b e r n e t e s   D a e m o n s e t   t o   c r e a t e   t h e   d a e m o n s e t . P o i n t   t h e   i n s t a l l e d   m e t r i c s   c o l l e c t o r   t o   u s e   t h e   c A d v i s o r   / m e t r i c s   e n d p o i n t   w h i c h   p r o v i d e s   t h e   f u l l   s e t   o f   P r o m e t h e u s   c o n t a i n e r   m e t r i c s .   A l t e r n a t i v e s :   U s e   a l t e r n a t i v e   t h i r d   p a r t y   m e t r i c s   c o l l e c t i o n   s o l u t i o n . C o l l e c t   m e t r i c s   f r o m   t h e   K u b e l e t   s u m m a r y   A P I   t h a t   i s   s e r v e d   a t   / s t a t s / s u m m a r y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17513"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   M i g r a t i n g   f r o m   d o c k e r s h i m   t o   u n d e r s t a n d   y o u r   n e x t   s t e p s R e a d   t h e   d o c k e r s h i m   d e p r e c a t i o n   F A Q   a r t i c l e   f o r   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17514"
  },
  {
    "question": "What is 2.3.5 - Migrating telemetry and security agents from dockershim?",
    "answer": "K u b e r n e t e s '   s u p p o r t   f o r   d i r e c t   i n t e g r a t i o n   w i t h   D o c k e r   E n g i n e   i s   d e p r e c a t e d   a n d   h a s   b e e n   r e m o v e d .   M o s t   a p p s   d o   n o t   h a v e   a   d i r e c t   d e p e n d e n c y   o n   r u n t i m e   h o s t i n g   c o n t a i n e r s .   H o w e v e r ,   t h e r e   a r e   s t i l l   a   l o t   o f   t e l e m e t r y   a n d   m o n i t o r i n g   a g e n t s   t h a t   h a v e   a   d e p e n d e n c y   o n   D o c k e r   t o   c o l l e c t   c o n t a i n e r s   m e t a d a t a ,   l o g s ,   a n d   m e t r i c s .   T h i s   d o c u m e n t   a g g r e g a t e s   i n f o r m a t i o n   o n   h o w   t o   d e t e c t   t h e s e   d e p e n d e n c i e s   a s   w e l l   a s   l i n k s   o n   h o w   t o   m i g r a t e   t h e s e   a g e n t s   t o   u s e   g e n e r i c   t o o l s   o r   a l t e r n a t i v e   r u n t i m e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17515"
  },
  {
    "question": "What is Telemetry and security agents?",
    "answer": "W i t h i n   a   K u b e r n e t e s   c l u s t e r   t h e r e   a r e   a   f e w   d i f f e r e n t   w a y s   t o   r u n   t e l e m e t r y   o r   s e c u r i t y   a g e n t s .   S o m e   a g e n t s   h a v e   a   d i r e c t   d e p e n d e n c y   o n   D o c k e r   E n g i n e   w h e n   t h e y   r u n   a s   D a e m o n S e t s   o r   d i r e c t l y   o n   n o d e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17516"
  },
  {
    "question": "What is Why do some telemetry agents communicate with Docker Engine??",
    "answer": "H i s t o r i c a l l y ,   K u b e r n e t e s   w a s   w r i t t e n   t o   w o r k   s p e c i f i c a l l y   w i t h   D o c k e r   E n g i n e .   K u b e r n e t e s   t o o k   c a r e   o f   n e t w o r k i n g   a n d   s c h e d u l i n g ,   r e l y i n g   o n   D o c k e r   E n g i n e   f o r   l a u n c h i n g   a n d   r u n n i n g   c o n t a i n e r s   ( w i t h i n   P o d s )   o n   a   n o d e .   S o m e   i n f o r m a t i o n   t h a t   i s   r e l e v a n t   t o   t e l e m e t r y ,   s u c h   a s   a   p o d   n a m e ,   i s   o n l y   a v a i l a b l e   f r o m   K u b e r n e t e s   c o m p o n e n t s .   O t h e r   d a t a ,   s u c h   a s   c o n t a i n e r   m e t r i c s ,   i s   n o t   t h e   r e s p o n s i b i l i t y   o f   t h e   c o n t a i n e r   r u n t i m e .   E a r l y   t e l e m e t r y   a g e n t s   n e e d e d   t o   q u e r y   t h e   c o n t a i n e r   r u n t i m e   a n d   K u b e r n e t e s   t o   r e p o r t   a n   a c c u r a t e   p i c t u r e .   O v e r   t i m e ,   K u b e r n e t e s   g a i n e d   t h e   a b i l i t y   t o   s u p p o r t   m u l t i p l e   r u n t i m e s ,   a n d   n o w   s u p p o r t s   a n y   r u n t i m e   t h a t   i s   c o m p a t i b l e   w i t h   t h e   c o n t a i n e r   r u n t i m e   i n t e r f a c e .   S o m e   t e l e m e t r y   a g e n t s   r e l y   s p e c i f i c a l l y   o n   D o c k e r   E n g i n e   t o o l i n g .   F o r   e x a m p l e ,   a n   a g e n t   m i g h t   r u n   a   c o m m a n d   s u c h   a s   d o c k e r   p s   o r   d o c k e r   t o p   t o   l i s t   c o n t a i n e r s   a n d   p r o c e s s e s   o r   d o c k e r   l o g s   t o   r e c e i v e   s t r e a m e d   l o g s .   I f   n o d e s   i n   y o u r   e x i s t i n g   c l u s t e r   u s e   D o c k e r   E n g i n e ,   a n d   y o u   s w i t c h   t o   a   d i f f e r e n t   c o n t a i n e r   r u n t i m e , ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17517"
  },
  {
    "question": "What is Identify DaemonSets that depend on Docker Engine?",
    "answer": "I f   a   p o d   w a n t s   t o   m a k e   c a l l s   t o   t h e   d o c k e r d   r u n n i n g   o n   t h e   n o d e ,   t h e   p o d   m u s t   e i t h e r :   m o u n t   t h e   f i l e s y s t e m   c o n t a i n i n g   t h e   D o c k e r   d a e m o n ' s   p r i v i l e g e d   s o c k e t ,   a s   a   v o l u m e ;   o r m o u n t   t h e   s p e c i f i c   p a t h   o f   t h e   D o c k e r   d a e m o n ' s   p r i v i l e g e d   s o c k e t   d i r e c t l y ,   a l s o   a s   a   v o l u m e .   F o r   e x a m p l e :   o n   C O S   i m a g e s ,   D o c k e r   e x p o s e s   i t s   U n i x   d o m a i n   s o c k e t   a t   / v a r / r u n / d o c k e r . s o c k   T h i s   m e a n s   t h a t   t h e   p o d   s p e c   w i l l   i n c l u d e   a   h o s t P a t h   v o l u m e   m o u n t   o f   / v a r / r u n / d o c k e r . s o c k .   H e r e ' s   a   s a m p l e   s h e l l   s c r i p t   t o   f i n d   P o d s   t h a t   h a v e   a   m o u n t   d i r e c t l y   m a p p i n g   t h e   D o c k e r   s o c k e t .   T h i s   s c r i p t   o u t p u t s   t h e   n a m e s p a c e   a n d   n a m e   o f   t h e   p o d .   Y o u   c a n   r e m o v e   t h e   g r e p   ' / v a r / r u n / d o c k e r . s o c k '   t o   r e v i e w   o t h e r   m o u n t s .   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s   \\   - o = j s o n p a t h = ' { r a n g e   . i t e m s [ * ] } { \" \\ n \" } { . m e t a d a t a . n a m e s p a c e } { \" : \\ t \" } { . m e t a d a t a . n a m e } { \" : \\ t \" } { r a n g e   . s p e c . v o l u m e s [ * ] } { . h o s t P a t h . p a t h } { \" ,   \" } { e n d } { e n d } '   \\   |   s o r t   \\   |   g r e p   ' / v a r / r u n / d o c k e r . s o c k '",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17518"
  },
  {
    "question": "What is Detecting Docker dependency from node agents?",
    "answer": "I f   y o u r   c l u s t e r   n o d e s   a r e   c u s t o m i z e d   a n d   i n s t a l l   a d d i t i o n a l   s e c u r i t y   a n d   t e l e m e t r y   a g e n t s   o n   t h e   n o d e ,   c h e c k   w i t h   t h e   a g e n t   v e n d o r   t o   v e r i f y   w h e t h e r   i t   h a s   a n y   d e p e n d e n c y   o n   D o c k e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17519"
  },
  {
    "question": "What is Telemetry and security agent vendors?",
    "answer": "T h i s   s e c t i o n   i s   i n t e n d e d   t o   a g g r e g a t e   i n f o r m a t i o n   a b o u t   v a r i o u s   t e l e m e t r y   a n d   s e c u r i t y   a g e n t s   t h a t   m a y   h a v e   a   d e p e n d e n c y   o n   c o n t a i n e r   r u n t i m e s .   W e   k e e p   t h e   w o r k   i n   p r o g r e s s   v e r s i o n   o f   m i g r a t i o n   i n s t r u c t i o n s   f o r   v a r i o u s   t e l e m e t r y   a n d   s e c u r i t y   a g e n t   v e n d o r s   i n   G o o g l e   d o c .   P l e a s e   c o n t a c t   t h e   v e n d o r   t o   g e t   u p   t o   d a t e   i n s t r u c t i o n s   f o r   m i g r a t i n g   f r o m   d o c k e r s h i m .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17520"
  },
  {
    "question": "What is Aqua?",
    "answer": "N o   c h a n g e s   a r e   n e e d e d :   e v e r y t h i n g   s h o u l d   w o r k   s e a m l e s s l y   o n   t h e   r u n t i m e   s w i t c h .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17521"
  },
  {
    "question": "What is Datadog?",
    "answer": "H o w   t o   m i g r a t e :   D o c k e r   d e p r e c a t i o n   i n   K u b e r n e t e s   T h e   p o d   t h a t   a c c e s s e s   D o c k e r   E n g i n e   m a y   h a v e   a   n a m e   c o n t a i n i n g   a n y   o f :   d a t a d o g - a g e n t d a t a d o g d d - a g e n t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17522"
  },
  {
    "question": "What is Dynatrace?",
    "answer": "H o w   t o   m i g r a t e :   M i g r a t i n g   f r o m   D o c k e r - o n l y   t o   g e n e r i c   c o n t a i n e r   m e t r i c s   i n   D y n a t r a c e   C o n t a i n e r d   s u p p o r t   a n n o u n c e m e n t :   G e t   a u t o m a t e d   f u l l - s t a c k   v i s i b i l i t y   i n t o   c o n t a i n e r d - b a s e d   K u b e r n e t e s   e n v i r o n m e n t s   C R I - O   s u p p o r t   a n n o u n c e m e n t :   G e t   a u t o m a t e d   f u l l - s t a c k   v i s i b i l i t y   i n t o   y o u r   C R I - O   K u b e r n e t e s   c o n t a i n e r s   ( B e t a )   T h e   p o d   a c c e s s i n g   D o c k e r   m a y   h a v e   n a m e   c o n t a i n i n g :   d y n a t r a c e - o n e a g e n t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17523"
  },
  {
    "question": "What is Falco?",
    "answer": "H o w   t o   m i g r a t e :   M i g r a t e   F a l c o   f r o m   d o c k e r s h i m   F a l c o   s u p p o r t s   a n y   C R I - c o m p a t i b l e   r u n t i m e   ( c o n t a i n e r d   i s   u s e d   i n   t h e   d e f a u l t   c o n f i g u r a t i o n ) ;   t h e   d o c u m e n t a t i o n   e x p l a i n s   a l l   d e t a i l s .   T h e   p o d   a c c e s s i n g   D o c k e r   m a y   h a v e   n a m e   c o n t a i n i n g :   f a l c o",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17524"
  },
  {
    "question": "What is Prisma Cloud Compute?",
    "answer": "C h e c k   d o c u m e n t a t i o n   f o r   P r i s m a   C l o u d ,   u n d e r   t h e   \" I n s t a l l   P r i s m a   C l o u d   o n   a   C R I   ( n o n - D o c k e r )   c l u s t e r \"   s e c t i o n .   T h e   p o d   a c c e s s i n g   D o c k e r   m a y   b e   n a m e d   l i k e :   t w i s t l o c k - d e f e n d e r - d s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17525"
  },
  {
    "question": "What is SignalFx (Splunk)?",
    "answer": "T h e   S i g n a l F x   S m a r t   A g e n t   ( d e p r e c a t e d )   u s e s   s e v e r a l   d i f f e r e n t   m o n i t o r s   f o r   K u b e r n e t e s   i n c l u d i n g   k u b e r n e t e s - c l u s t e r ,   k u b e l e t - s t a t s / k u b e l e t - m e t r i c s ,   a n d   d o c k e r - c o n t a i n e r - s t a t s .   T h e   k u b e l e t - s t a t s   m o n i t o r   w a s   p r e v i o u s l y   d e p r e c a t e d   b y   t h e   v e n d o r ,   i n   f a v o r   o f   k u b e l e t - m e t r i c s .   T h e   d o c k e r - c o n t a i n e r - s t a t s   m o n i t o r   i s   t h e   o n e   a f f e c t e d   b y   d o c k e r s h i m   r e m o v a l .   D o   n o t   u s e   t h e   d o c k e r - c o n t a i n e r - s t a t s   w i t h   c o n t a i n e r   r u n t i m e s   o t h e r   t h a n   D o c k e r   E n g i n e .   H o w   t o   m i g r a t e   f r o m   d o c k e r s h i m - d e p e n d e n t   a g e n t :   R e m o v e   d o c k e r - c o n t a i n e r - s t a t s   f r o m   t h e   l i s t   o f   c o n f i g u r e d   m o n i t o r s .   N o t e ,   k e e p i n g   t h i s   m o n i t o r   e n a b l e d   w i t h   n o n - d o c k e r s h i m   r u n t i m e   w i l l   r e s u l t   i n   i n c o r r e c t   m e t r i c s   b e i n g   r e p o r t e d   w h e n   d o c k e r   i s   i n s t a l l e d   o n   n o d e   a n d   n o   m e t r i c s   w h e n   d o c k e r   i s   n o t   i n s t a l l e d . E n a b l e   a n d   c o n f i g u r e   k u b e l e t - m e t r i c s   m o n i t o r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17526"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   P o d   a c c e s s i n g   D o c k e r   m a y   b e   n a m e d   s o m e t h i n g   l i k e :   s i g n a l f x - a g e n t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17527"
  },
  {
    "question": "What is Yahoo Kubectl Flame?",
    "answer": "F l a m e   d o e s   n o t   s u p p o r t   c o n t a i n e r   r u n t i m e s   o t h e r   t h a n   D o c k e r .   S e e   h t t p s : / / g i t h u b . c o m / y a h o o / k u b e c t l - f l a m e / i s s u e s / 5 1",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17528"
  },
  {
    "question": "What is 2.4 - Generate Certificates Manually?",
    "answer": "W h e n   u s i n g   c l i e n t   c e r t i f i c a t e   a u t h e n t i c a t i o n ,   y o u   c a n   g e n e r a t e   c e r t i f i c a t e s   m a n u a l l y   t h r o u g h   e a s y r s a ,   o p e n s s l   o r   c f s s l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17529"
  },
  {
    "question": "What is easyrsa?",
    "answer": "e a s y r s a   c a n   m a n u a l l y   g e n e r a t e   c e r t i f i c a t e s   f o r   y o u r   c l u s t e r .   D o w n l o a d ,   u n p a c k ,   a n d   i n i t i a l i z e   t h e   p a t c h e d   v e r s i o n   o f   e a s y r s a 3 . c u r l   - L O   h t t p s : / / d l . k 8 s . i o / e a s y - r s a / e a s y - r s a . t a r . g z   t a r   x z f   e a s y - r s a . t a r . g z   c d   e a s y - r s a - m a s t e r / e a s y r s a 3   . / e a s y r s a   i n i t - p k i   G e n e r a t e   a   n e w   c e r t i f i c a t e   a u t h o r i t y   ( C A ) .   - - b a t c h   s e t s   a u t o m a t i c   m o d e ;   - - r e q - c n   s p e c i f i e s   t h e   C o m m o n   N a m e   ( C N )   f o r   t h e   C A ' s   n e w   r o o t   c e r t i f i c a t e . . / e a s y r s a   - - b a t c h   \" - - r e q - c n = $ { M A S T E R _ I P } @ ` d a t e   + % s ` \"   b u i l d - c a   n o p a s s   G e n e r a t e   s e r v e r   c e r t i f i c a t e   a n d   k e y . T h e   a r g u m e n t   - - s u b j e c t - a l t - n a m e   s e t s   t h e   p o s s i b l e   I P s   a n d   D N S   n a m e s   t h e   A P I   s e r v e r   w i l l   b e   a c c e s s e d   w i t h .   T h e   M A S T E R _ C L U S T E R _ I P   i s   u s u a l l y   t h e   f i r s t   I P   f r o m   t h e   s e r v i c e   C I D R   t h a t   i s   s p e c i f i e d   a s   t h e   - - s e r v i c e - c l u s t e r - i p - r a n g e   a r g u m e n t   f o r   b o t h   t h e   A P I   s e r v e r   a n d   t h e   c o n t r o l l e r   m a n a g e r   c o m p o n e n t .   T h e   a r g u m e n t   - - d a y s   i s   u s e d   t o   s e t   t h e   n u m b e r   o f   d a y s   a f t e r   w h i c h   t h e   c e r t i f i c a t e   e x p i r e s .   T h e   s a m p l e   b e l o w   a l s o   a s s u m e s   t h a t   y o u   a r e   u s i n g   c l u s t e r . l o c a l   a s   t h e   d e f a u l t   D N S   d o m a i n   n a m e . . / e a s y r s a   - - s u b j e c ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17530"
  },
  {
    "question": "What is openssl?",
    "answer": "o p e n s s l   c a n   m a n u a l l y   g e n e r a t e   c e r t i f i c a t e s   f o r   y o u r   c l u s t e r .   G e n e r a t e   a   c a . k e y   w i t h   2 0 4 8 b i t : o p e n s s l   g e n r s a   - o u t   c a . k e y   2 0 4 8   A c c o r d i n g   t o   t h e   c a . k e y   g e n e r a t e   a   c a . c r t   ( u s e   - d a y s   t o   s e t   t h e   c e r t i f i c a t e   e f f e c t i v e   t i m e ) : o p e n s s l   r e q   - x 5 0 9   - n e w   - n o d e s   - k e y   c a . k e y   - s u b j   \" / C N = $ { M A S T E R _ I P } \"   - d a y s   1 0 0 0 0   - o u t   c a . c r t   G e n e r a t e   a   s e r v e r . k e y   w i t h   2 0 4 8 b i t : o p e n s s l   g e n r s a   - o u t   s e r v e r . k e y   2 0 4 8   C r e a t e   a   c o n f i g   f i l e   f o r   g e n e r a t i n g   a   C e r t i f i c a t e   S i g n i n g   R e q u e s t   ( C S R ) . B e   s u r e   t o   s u b s t i t u t e   t h e   v a l u e s   m a r k e d   w i t h   a n g l e   b r a c k e t s   ( e . g .   < M A S T E R _ I P > )   w i t h   r e a l   v a l u e s   b e f o r e   s a v i n g   t h i s   t o   a   f i l e   ( e . g .   c s r . c o n f ) .   N o t e   t h a t   t h e   v a l u e   f o r   M A S T E R _ C L U S T E R _ I P   i s   t h e   s e r v i c e   c l u s t e r   I P   f o r   t h e   A P I   s e r v e r   a s   d e s c r i b e d   i n   p r e v i o u s   s u b s e c t i o n .   T h e   s a m p l e   b e l o w   a l s o   a s s u m e s   t h a t   y o u   a r e   u s i n g   c l u s t e r . l o c a l   a s   t h e   d e f a u l t   D N S   d o m a i n   n a m e . [   r e q   ]   d e f a u l t _ b i t s   =   2 0 4 8   p r o m p t   =   n o   d e f a u l t _ m d   =   s h a 2 5 6   r e q _ e x t e n s i o n s   =   r e q _ e x t   d i s t i n g u i s h e d _ n a m e   =   d n   [   d n   ]   C   =   < c o u n t r y >   S T   =   < s t a t e >   L   =   < c i t y >   O   =   < o r g a n i z a t i o n >   O U   =   < o r g a n i z a t i o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17531"
  },
  {
    "question": "What is cfssl?",
    "answer": "c f s s l   i s   a n o t h e r   t o o l   f o r   c e r t i f i c a t e   g e n e r a t i o n .   D o w n l o a d ,   u n p a c k   a n d   p r e p a r e   t h e   c o m m a n d   l i n e   t o o l s   a s   s h o w n   b e l o w . N o t e   t h a t   y o u   m a y   n e e d   t o   a d a p t   t h e   s a m p l e   c o m m a n d s   b a s e d   o n   t h e   h a r d w a r e   a r c h i t e c t u r e   a n d   c f s s l   v e r s i o n   y o u   a r e   u s i n g . c u r l   - L   h t t p s : / / g i t h u b . c o m / c l o u d f l a r e / c f s s l / r e l e a s e s / d o w n l o a d / v 1 . 5 . 0 / c f s s l _ 1 . 5 . 0 _ l i n u x _ a m d 6 4   - o   c f s s l   c h m o d   + x   c f s s l   c u r l   - L   h t t p s : / / g i t h u b . c o m / c l o u d f l a r e / c f s s l / r e l e a s e s / d o w n l o a d / v 1 . 5 . 0 / c f s s l j s o n _ 1 . 5 . 0 _ l i n u x _ a m d 6 4   - o   c f s s l j s o n   c h m o d   + x   c f s s l j s o n   c u r l   - L   h t t p s : / / g i t h u b . c o m / c l o u d f l a r e / c f s s l / r e l e a s e s / d o w n l o a d / v 1 . 5 . 0 / c f s s l - c e r t i n f o _ 1 . 5 . 0 _ l i n u x _ a m d 6 4   - o   c f s s l - c e r t i n f o   c h m o d   + x   c f s s l - c e r t i n f o   C r e a t e   a   d i r e c t o r y   t o   h o l d   t h e   a r t i f a c t s   a n d   i n i t i a l i z e   c f s s l : m k d i r   c e r t   c d   c e r t   . . / c f s s l   p r i n t - d e f a u l t s   c o n f i g   >   c o n f i g . j s o n   . . / c f s s l   p r i n t - d e f a u l t s   c s r   >   c s r . j s o n   C r e a t e   a   J S O N   c o n f i g   f i l e   f o r   g e n e r a t i n g   t h e   C A   f i l e ,   f o r   e x a m p l e ,   c a - c o n f i g . j s o n : {   \" s i g n i n g \" :   {   \" d e f a u l t \" :   {   \" e x p i r y \" :   \" 8 7 6 0 h \"   } ,   \" p r o f i l e s \" :   {   \" k u b e r n e t e s \" :   {   \" u s a g e s \" :   [   \" s i g n i n g \" ,   \" k e y   e n c i p h e r m e n t \" ,   \" s e r v ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17532"
  },
  {
    "question": "What is Distributing Self-Signed CA Certificate?",
    "answer": "A   c l i e n t   n o d e   m a y   r e f u s e   t o   r e c o g n i z e   a   s e l f - s i g n e d   C A   c e r t i f i c a t e   a s   v a l i d .   F o r   a   n o n - p r o d u c t i o n   d e p l o y m e n t ,   o r   f o r   a   d e p l o y m e n t   t h a t   r u n s   b e h i n d   a   c o m p a n y   f i r e w a l l ,   y o u   c a n   d i s t r i b u t e   a   s e l f - s i g n e d   C A   c e r t i f i c a t e   t o   a l l   c l i e n t s   a n d   r e f r e s h   t h e   l o c a l   l i s t   f o r   v a l i d   c e r t i f i c a t e s .   O n   e a c h   c l i e n t ,   p e r f o r m   t h e   f o l l o w i n g   o p e r a t i o n s :   s u d o   c p   c a . c r t   / u s r / l o c a l / s h a r e / c a - c e r t i f i c a t e s / k u b e r n e t e s . c r t   s u d o   u p d a t e - c a - c e r t i f i c a t e s   U p d a t i n g   c e r t i f i c a t e s   i n   / e t c / s s l / c e r t s . . .   1   a d d e d ,   0   r e m o v e d ;   d o n e .   R u n n i n g   h o o k s   i n   / e t c / c a - c e r t i f i c a t e s / u p d a t e . d . . . .   d o n e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17533"
  },
  {
    "question": "What is Certificates API?",
    "answer": "Y o u   c a n   u s e   t h e   c e r t i f i c a t e s . k 8 s . i o   A P I   t o   p r o v i s i o n   x 5 0 9   c e r t i f i c a t e s   t o   u s e   f o r   a u t h e n t i c a t i o n   a s   d o c u m e n t e d   i n   t h e   M a n a g i n g   T L S   i n   a   c l u s t e r   t a s k   p a g e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17534"
  },
  {
    "question": "What is 2.5.1 - Configure Default Memory Requests and Limits for a Namespace?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   d e f a u l t   m e m o r y   r e q u e s t s   a n d   l i m i t s   f o r   a   n a m e s p a c e .   A   K u b e r n e t e s   c l u s t e r   c a n   b e   d i v i d e d   i n t o   n a m e s p a c e s .   O n c e   y o u   h a v e   a   n a m e s p a c e   t h a t   h a s   a   d e f a u l t   m e m o r y   l i m i t ,   a n d   y o u   t h e n   t r y   t o   c r e a t e   a   P o d   w i t h   a   c o n t a i n e r   t h a t   d o e s   n o t   s p e c i f y   i t s   o w n   m e m o r y   l i m i t ,   t h e n   t h e   c o n t r o l   p l a n e   a s s i g n s   t h e   d e f a u l t   m e m o r y   l i m i t   t o   t h a t   c o n t a i n e r .   K u b e r n e t e s   a s s i g n s   a   d e f a u l t   m e m o r y   r e q u e s t   u n d e r   c e r t a i n   c o n d i t i o n s   t h a t   a r e   e x p l a i n e d   l a t e r   i n   t h i s   t o p i c .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17535"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   m u s t   h a v e   a c c e s s   t o   c r e a t e   n a m e s p a c e s   i n   y o u r   c l u s t e r .   E a c h   n o d e   i n   y o u r   c l u s t e r   m u s t   h a v e   a t   l e a s t   2   G i B   o f   m e m o r y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17536"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   n a m e s p a c e   s o   t h a t   t h e   r e s o u r c e s   y o u   c r e a t e   i n   t h i s   e x e r c i s e   a r e   i s o l a t e d   f r o m   t h e   r e s t   o f   y o u r   c l u s t e r .   k u b e c t l   c r e a t e   n a m e s p a c e   d e f a u l t - m e m - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17537"
  },
  {
    "question": "What is Create a LimitRange and a Pod?",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a n   e x a m p l e   L i m i t R a n g e .   T h e   m a n i f e s t   s p e c i f i e s   a   d e f a u l t   m e m o r y   r e q u e s t   a n d   a   d e f a u l t   m e m o r y   l i m i t .   a p i V e r s i o n :   v 1   k i n d :   L i m i t R a n g e   m e t a d a t a :   n a m e :   m e m - l i m i t - r a n g e   s p e c :   l i m i t s :   -   d e f a u l t :   m e m o r y :   5 1 2 M i   d e f a u l t R e q u e s t :   m e m o r y :   2 5 6 M i   t y p e :   C o n t a i n e r   C r e a t e   t h e   L i m i t R a n g e   i n   t h e   d e f a u l t - m e m - e x a m p l e   n a m e s p a c e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / m e m o r y - d e f a u l t s . y a m l   - - n a m e s p a c e = d e f a u l t - m e m - e x a m p l e   N o w   i f   y o u   c r e a t e   a   P o d   i n   t h e   d e f a u l t - m e m - e x a m p l e   n a m e s p a c e ,   a n d   a n y   c o n t a i n e r   w i t h i n   t h a t   P o d   d o e s   n o t   s p e c i f y   i t s   o w n   v a l u e s   f o r   m e m o r y   r e q u e s t   a n d   m e m o r y   l i m i t ,   t h e n   t h e   c o n t r o l   p l a n e   a p p l i e s   d e f a u l t   v a l u e s :   a   m e m o r y   r e q u e s t   o f   2 5 6 M i B   a n d   a   m e m o r y   l i m i t   o f   5 1 2 M i B .   H e r e ' s   a n   e x a m p l e   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   d o e s   n o t   s p e c i f y   a   m e m o r y   r e q u e s t   a n d   l i m i t .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d e f a u l t - m e m - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   d e f a u l t - m e m - d e m o - c t r   i m a g e :   n g i n x   C r e a t e   t h e   P o d .   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17538"
  },
  {
    "question": "What is What if you specify a container's limit, but not its request??",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   s p e c i f i e s   a   m e m o r y   l i m i t ,   b u t   n o t   a   r e q u e s t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d e f a u l t - m e m - d e m o - 2   s p e c :   c o n t a i n e r s :   -   n a m e :   d e f a u l t - m e m - d e m o - 2 - c t r   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 1 G i \"   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / m e m o r y - d e f a u l t s - p o d - 2 . y a m l   - - n a m e s p a c e = d e f a u l t - m e m - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   P o d :   k u b e c t l   g e t   p o d   d e f a u l t - m e m - d e m o - 2   - - o u t p u t = y a m l   - - n a m e s p a c e = d e f a u l t - m e m - e x a m p l e   T h e   o u t p u t   s h o w s   t h a t   t h e   c o n t a i n e r ' s   m e m o r y   r e q u e s t   i s   s e t   t o   m a t c h   i t s   m e m o r y   l i m i t .   N o t i c e   t h a t   t h e   c o n t a i n e r   w a s   n o t   a s s i g n e d   t h e   d e f a u l t   m e m o r y   r e q u e s t   v a l u e   o f   2 5 6 M i .   r e s o u r c e s :   l i m i t s :   m e m o r y :   1 G i   r e q u e s t s :   m e m o r y :   1 G i",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17539"
  },
  {
    "question": "What is What if you specify a container's request, but not its limit??",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   s p e c i f i e s   a   m e m o r y   r e q u e s t ,   b u t   n o t   a   l i m i t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d e f a u l t - m e m - d e m o - 3   s p e c :   c o n t a i n e r s :   -   n a m e :   d e f a u l t - m e m - d e m o - 3 - c t r   i m a g e :   n g i n x   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 1 2 8 M i \"   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / m e m o r y - d e f a u l t s - p o d - 3 . y a m l   - - n a m e s p a c e = d e f a u l t - m e m - e x a m p l e   V i e w   t h e   P o d ' s   s p e c i f i c a t i o n :   k u b e c t l   g e t   p o d   d e f a u l t - m e m - d e m o - 3   - - o u t p u t = y a m l   - - n a m e s p a c e = d e f a u l t - m e m - e x a m p l e   T h e   o u t p u t   s h o w s   t h a t   t h e   c o n t a i n e r ' s   m e m o r y   r e q u e s t   i s   s e t   t o   t h e   v a l u e   s p e c i f i e d   i n   t h e   c o n t a i n e r ' s   m a n i f e s t .   T h e   c o n t a i n e r   i s   l i m i t e d   t o   u s e   n o   m o r e   t h a n   5 1 2 M i B   o f   m e m o r y ,   w h i c h   m a t c h e s   t h e   d e f a u l t   m e m o r y   l i m i t   f o r   t h e   n a m e s p a c e .   r e s o u r c e s :   l i m i t s :   m e m o r y :   5 1 2 M i   r e q u e s t s :   m e m o r y :   1 2 8 M i",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17540"
  },
  {
    "question": "What is Motivation for default memory limits and requests?",
    "answer": "I f   y o u r   n a m e s p a c e   h a s   a   m e m o r y   r e s o u r c e   q u o t a   c o n f i g u r e d ,   i t   i s   h e l p f u l   t o   h a v e   a   d e f a u l t   v a l u e   i n   p l a c e   f o r   m e m o r y   l i m i t .   H e r e   a r e   t h r e e   o f   t h e   r e s t r i c t i o n s   t h a t   a   r e s o u r c e   q u o t a   i m p o s e s   o n   a   n a m e s p a c e :   F o r   e v e r y   P o d   t h a t   r u n s   i n   t h e   n a m e s p a c e ,   t h e   P o d   a n d   e a c h   o f   i t s   c o n t a i n e r s   m u s t   h a v e   a   m e m o r y   l i m i t .   ( I f   y o u   s p e c i f y   a   m e m o r y   l i m i t   f o r   e v e r y   c o n t a i n e r   i n   a   P o d ,   K u b e r n e t e s   c a n   i n f e r   t h e   P o d - l e v e l   m e m o r y   l i m i t   b y   a d d i n g   u p   t h e   l i m i t s   f o r   i t s   c o n t a i n e r s ) . M e m o r y   l i m i t s   a p p l y   a   r e s o u r c e   r e s e r v a t i o n   o n   t h e   n o d e   w h e r e   t h e   P o d   i n   q u e s t i o n   i s   s c h e d u l e d .   T h e   t o t a l   a m o u n t   o f   m e m o r y   r e s e r v e d   f o r   a l l   P o d s   i n   t h e   n a m e s p a c e   m u s t   n o t   e x c e e d   a   s p e c i f i e d   l i m i t . T h e   t o t a l   a m o u n t   o f   m e m o r y   a c t u a l l y   u s e d   b y   a l l   P o d s   i n   t h e   n a m e s p a c e   m u s t   a l s o   n o t   e x c e e d   a   s p e c i f i e d   l i m i t .   W h e n   y o u   a d d   a   L i m i t R a n g e :   I f   a n y   P o d   i n   t h a t   n a m e s p a c e   t h a t   i n c l u d e s   a   c o n t a i n e r   d o e s   n o t   s p e c i f y   i t s   o w n   m e m o r y   l i m i t ,   t h e   c o n t r o l   p l a n e   a p p l i e s   t h e   d e f a u l t   m e m o r y   l i m i t   t o   t h a t   c o n t a i n e r ,   a n d   t h e   P o d   c a n   b e   a l l o w e d   t o   r u n   i n   a   n a m e s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17541"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   n a m e s p a c e :   k u b e c t l   d e l e t e   n a m e s p a c e   d e f a u l t - m e m - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17542"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e   C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17543"
  },
  {
    "question": "What is For app developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s   C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17544"
  },
  {
    "question": "What is 2.5.2 - Configure Default CPU Requests and Limits for a Namespace?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   d e f a u l t   C P U   r e q u e s t s   a n d   l i m i t s   f o r   a   n a m e s p a c e .   A   K u b e r n e t e s   c l u s t e r   c a n   b e   d i v i d e d   i n t o   n a m e s p a c e s .   I f   y o u   c r e a t e   a   P o d   w i t h i n   a   n a m e s p a c e   t h a t   h a s   a   d e f a u l t   C P U   l i m i t ,   a n d   a n y   c o n t a i n e r   i n   t h a t   P o d   d o e s   n o t   s p e c i f y   i t s   o w n   C P U   l i m i t ,   t h e n   t h e   c o n t r o l   p l a n e   a s s i g n s   t h e   d e f a u l t   C P U   l i m i t   t o   t h a t   c o n t a i n e r .   K u b e r n e t e s   a s s i g n s   a   d e f a u l t   C P U   r e q u e s t ,   b u t   o n l y   u n d e r   c e r t a i n   c o n d i t i o n s   t h a t   a r e   e x p l a i n e d   l a t e r   i n   t h i s   p a g e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17545"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   m u s t   h a v e   a c c e s s   t o   c r e a t e   n a m e s p a c e s   i n   y o u r   c l u s t e r .   I f   y o u ' r e   n o t   a l r e a d y   f a m i l i a r   w i t h   w h a t   K u b e r n e t e s   m e a n s   b y   1 . 0   C P U ,   r e a d   m e a n i n g   o f   C P U .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17546"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   n a m e s p a c e   s o   t h a t   t h e   r e s o u r c e s   y o u   c r e a t e   i n   t h i s   e x e r c i s e   a r e   i s o l a t e d   f r o m   t h e   r e s t   o f   y o u r   c l u s t e r .   k u b e c t l   c r e a t e   n a m e s p a c e   d e f a u l t - c p u - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17547"
  },
  {
    "question": "What is Create a LimitRange and a Pod?",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a n   e x a m p l e   L i m i t R a n g e .   T h e   m a n i f e s t   s p e c i f i e s   a   d e f a u l t   C P U   r e q u e s t   a n d   a   d e f a u l t   C P U   l i m i t .   a p i V e r s i o n :   v 1   k i n d :   L i m i t R a n g e   m e t a d a t a :   n a m e :   c p u - l i m i t - r a n g e   s p e c :   l i m i t s :   -   d e f a u l t :   c p u :   1   d e f a u l t R e q u e s t :   c p u :   0 . 5   t y p e :   C o n t a i n e r   C r e a t e   t h e   L i m i t R a n g e   i n   t h e   d e f a u l t - c p u - e x a m p l e   n a m e s p a c e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / c p u - d e f a u l t s . y a m l   - - n a m e s p a c e = d e f a u l t - c p u - e x a m p l e   N o w   i f   y o u   c r e a t e   a   P o d   i n   t h e   d e f a u l t - c p u - e x a m p l e   n a m e s p a c e ,   a n d   a n y   c o n t a i n e r   i n   t h a t   P o d   d o e s   n o t   s p e c i f y   i t s   o w n   v a l u e s   f o r   C P U   r e q u e s t   a n d   C P U   l i m i t ,   t h e n   t h e   c o n t r o l   p l a n e   a p p l i e s   d e f a u l t   v a l u e s :   a   C P U   r e q u e s t   o f   0 . 5   a n d   a   d e f a u l t   C P U   l i m i t   o f   1 .   H e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   d o e s   n o t   s p e c i f y   a   C P U   r e q u e s t   a n d   l i m i t .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d e f a u l t - c p u - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   d e f a u l t - c p u - d e m o - c t r   i m a g e :   n g i n x   C r e a t e   t h e   P o d .   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / c p u - d e f a u l t s - p o d . y a m l   - - n a m e s p a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17548"
  },
  {
    "question": "What is What if you specify a container's limit, but not its request??",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   s p e c i f i e s   a   C P U   l i m i t ,   b u t   n o t   a   r e q u e s t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d e f a u l t - c p u - d e m o - 2   s p e c :   c o n t a i n e r s :   -   n a m e :   d e f a u l t - c p u - d e m o - 2 - c t r   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   c p u :   \" 1 \"   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / c p u - d e f a u l t s - p o d - 2 . y a m l   - - n a m e s p a c e = d e f a u l t - c p u - e x a m p l e   V i e w   t h e   s p e c i f i c a t i o n   o f   t h e   P o d   t h a t   y o u   c r e a t e d :   k u b e c t l   g e t   p o d   d e f a u l t - c p u - d e m o - 2   - - o u t p u t = y a m l   - - n a m e s p a c e = d e f a u l t - c p u - e x a m p l e   T h e   o u t p u t   s h o w s   t h a t   t h e   c o n t a i n e r ' s   C P U   r e q u e s t   i s   s e t   t o   m a t c h   i t s   C P U   l i m i t .   N o t i c e   t h a t   t h e   c o n t a i n e r   w a s   n o t   a s s i g n e d   t h e   d e f a u l t   C P U   r e q u e s t   v a l u e   o f   0 . 5   c p u :   r e s o u r c e s :   l i m i t s :   c p u :   \" 1 \"   r e q u e s t s :   c p u :   \" 1 \"",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17549"
  },
  {
    "question": "What is What if you specify a container's request, but not its limit??",
    "answer": "H e r e ' s   a n   e x a m p l e   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   s p e c i f i e s   a   C P U   r e q u e s t ,   b u t   n o t   a   l i m i t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d e f a u l t - c p u - d e m o - 3   s p e c :   c o n t a i n e r s :   -   n a m e :   d e f a u l t - c p u - d e m o - 3 - c t r   i m a g e :   n g i n x   r e s o u r c e s :   r e q u e s t s :   c p u :   \" 0 . 7 5 \"   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / c p u - d e f a u l t s - p o d - 3 . y a m l   - - n a m e s p a c e = d e f a u l t - c p u - e x a m p l e   V i e w   t h e   s p e c i f i c a t i o n   o f   t h e   P o d   t h a t   y o u   c r e a t e d :   k u b e c t l   g e t   p o d   d e f a u l t - c p u - d e m o - 3   - - o u t p u t = y a m l   - - n a m e s p a c e = d e f a u l t - c p u - e x a m p l e   T h e   o u t p u t   s h o w s   t h a t   t h e   c o n t a i n e r ' s   C P U   r e q u e s t   i s   s e t   t o   t h e   v a l u e   y o u   s p e c i f i e d   a t   t h e   t i m e   y o u   c r e a t e d   t h e   P o d   ( i n   o t h e r   w o r d s :   i t   m a t c h e s   t h e   m a n i f e s t ) .   H o w e v e r ,   t h e   s a m e   c o n t a i n e r ' s   C P U   l i m i t   i s   s e t   t o   1   c p u ,   w h i c h   i s   t h e   d e f a u l t   C P U   l i m i t   f o r   t h a t   n a m e s p a c e .   r e s o u r c e s :   l i m i t s :   c p u :   \" 1 \"   r e q u e s t s :   c p u :   7 5 0 m",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17550"
  },
  {
    "question": "What is Motivation for default CPU limits and requests?",
    "answer": "I f   y o u r   n a m e s p a c e   h a s   a   C P U   r e s o u r c e   q u o t a   c o n f i g u r e d ,   i t   i s   h e l p f u l   t o   h a v e   a   d e f a u l t   v a l u e   i n   p l a c e   f o r   C P U   l i m i t .   H e r e   a r e   t w o   o f   t h e   r e s t r i c t i o n s   t h a t   a   C P U   r e s o u r c e   q u o t a   i m p o s e s   o n   a   n a m e s p a c e :   F o r   e v e r y   P o d   t h a t   r u n s   i n   t h e   n a m e s p a c e ,   e a c h   o f   i t s   c o n t a i n e r s   m u s t   h a v e   a   C P U   l i m i t . C P U   l i m i t s   a p p l y   a   r e s o u r c e   r e s e r v a t i o n   o n   t h e   n o d e   w h e r e   t h e   P o d   i n   q u e s t i o n   i s   s c h e d u l e d .   T h e   t o t a l   a m o u n t   o f   C P U   t h a t   i s   r e s e r v e d   f o r   u s e   b y   a l l   P o d s   i n   t h e   n a m e s p a c e   m u s t   n o t   e x c e e d   a   s p e c i f i e d   l i m i t .   W h e n   y o u   a d d   a   L i m i t R a n g e :   I f   a n y   P o d   i n   t h a t   n a m e s p a c e   t h a t   i n c l u d e s   a   c o n t a i n e r   d o e s   n o t   s p e c i f y   i t s   o w n   C P U   l i m i t ,   t h e   c o n t r o l   p l a n e   a p p l i e s   t h e   d e f a u l t   C P U   l i m i t   t o   t h a t   c o n t a i n e r ,   a n d   t h e   P o d   c a n   b e   a l l o w e d   t o   r u n   i n   a   n a m e s p a c e   t h a t   i s   r e s t r i c t e d   b y   a   C P U   R e s o u r c e Q u o t a .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17551"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   n a m e s p a c e :   k u b e c t l   d e l e t e   n a m e s p a c e   d e f a u l t - c p u - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17552"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e   C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17553"
  },
  {
    "question": "What is For app developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s   C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17554"
  },
  {
    "question": "What is 2.5.3 - Configure Minimum and Maximum Memory Constraints for a Namespace?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   s e t   m i n i m u m   a n d   m a x i m u m   v a l u e s   f o r   m e m o r y   u s e d   b y   c o n t a i n e r s   r u n n i n g   i n   a   n a m e s p a c e .   Y o u   s p e c i f y   m i n i m u m   a n d   m a x i m u m   m e m o r y   v a l u e s   i n   a   L i m i t R a n g e   o b j e c t .   I f   a   P o d   d o e s   n o t   m e e t   t h e   c o n s t r a i n t s   i m p o s e d   b y   t h e   L i m i t R a n g e ,   i t   c a n n o t   b e   c r e a t e d   i n   t h e   n a m e s p a c e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17555"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   m u s t   h a v e   a c c e s s   t o   c r e a t e   n a m e s p a c e s   i n   y o u r   c l u s t e r .   E a c h   n o d e   i n   y o u r   c l u s t e r   m u s t   h a v e   a t   l e a s t   1   G i B   o f   m e m o r y   a v a i l a b l e   f o r   P o d s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17556"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   n a m e s p a c e   s o   t h a t   t h e   r e s o u r c e s   y o u   c r e a t e   i n   t h i s   e x e r c i s e   a r e   i s o l a t e d   f r o m   t h e   r e s t   o f   y o u r   c l u s t e r .   k u b e c t l   c r e a t e   n a m e s p a c e   c o n s t r a i n t s - m e m - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17557"
  },
  {
    "question": "What is Create a LimitRange and a Pod?",
    "answer": "H e r e ' s   a n   e x a m p l e   m a n i f e s t   f o r   a   L i m i t R a n g e :   a p i V e r s i o n :   v 1   k i n d :   L i m i t R a n g e   m e t a d a t a :   n a m e :   m e m - m i n - m a x - d e m o - l r   s p e c :   l i m i t s :   -   m a x :   m e m o r y :   1 G i   m i n :   m e m o r y :   5 0 0 M i   t y p e :   C o n t a i n e r   C r e a t e   t h e   L i m i t R a n g e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / m e m o r y - c o n s t r a i n t s . y a m l   - - n a m e s p a c e = c o n s t r a i n t s - m e m - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   L i m i t R a n g e :   k u b e c t l   g e t   l i m i t r a n g e   m e m - m i n - m a x - d e m o - l r   - - n a m e s p a c e = c o n s t r a i n t s - m e m - e x a m p l e   - - o u t p u t = y a m l   T h e   o u t p u t   s h o w s   t h e   m i n i m u m   a n d   m a x i m u m   m e m o r y   c o n s t r a i n t s   a s   e x p e c t e d .   B u t   n o t i c e   t h a t   e v e n   t h o u g h   y o u   d i d n ' t   s p e c i f y   d e f a u l t   v a l u e s   i n   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   L i m i t R a n g e ,   t h e y   w e r e   c r e a t e d   a u t o m a t i c a l l y .   l i m i t s :   -   d e f a u l t :   m e m o r y :   1 G i   d e f a u l t R e q u e s t :   m e m o r y :   1 G i   m a x :   m e m o r y :   1 G i   m i n :   m e m o r y :   5 0 0 M i   t y p e :   C o n t a i n e r   N o w   w h e n e v e r   y o u   d e f i n e   a   P o d   w i t h i n   t h e   c o n s t r a i n t s - m e m - e x a m p l e   n a m e s p a c e ,   K u b e r n e t e s   p e r f o r m s   t h e s e   s t e p s :   I f   a n y   c o n t a i n e r   i n   t h a t   P o d   d o e s   n o t   s p e c i f y   i t s   o w n   m e m o r y   r e q u e s t   a n d   l i m i t ,   t h e   c o n t r o l   p l a n e   a s s i g n s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17558"
  },
  {
    "question": "What is Attempt to create a Pod that exceeds the maximum memory constraint?",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   s p e c i f i e s   a   m e m o r y   r e q u e s t   o f   8 0 0   M i B   a n d   a   m e m o r y   l i m i t   o f   1 . 5   G i B .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o n s t r a i n t s - m e m - d e m o - 2   s p e c :   c o n t a i n e r s :   -   n a m e :   c o n s t r a i n t s - m e m - d e m o - 2 - c t r   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 1 . 5 G i \"   r e q u e s t s :   m e m o r y :   \" 8 0 0 M i \"   A t t e m p t   t o   c r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / m e m o r y - c o n s t r a i n t s - p o d - 2 . y a m l   - - n a m e s p a c e = c o n s t r a i n t s - m e m - e x a m p l e   T h e   o u t p u t   s h o w s   t h a t   t h e   P o d   d o e s   n o t   g e t   c r e a t e d ,   b e c a u s e   i t   d e f i n e s   a   c o n t a i n e r   t h a t   r e q u e s t s   m o r e   m e m o r y   t h a n   i s   a l l o w e d :   E r r o r   f r o m   s e r v e r   ( F o r b i d d e n ) :   e r r o r   w h e n   c r e a t i n g   \" e x a m p l e s / a d m i n / r e s o u r c e / m e m o r y - c o n s t r a i n t s - p o d - 2 . y a m l \" :   p o d s   \" c o n s t r a i n t s - m e m - d e m o - 2 \"   i s   f o r b i d d e n :   m a x i m u m   m e m o r y   u s a g e   p e r   C o n t a i n e r   i s   1 G i ,   b u t   l i m i t   i s   1 5 3 6 M i .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17559"
  },
  {
    "question": "What is Attempt to create a Pod that does not meet the minimum memory request?",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h a t   c o n t a i n e r   s p e c i f i e s   a   m e m o r y   r e q u e s t   o f   1 0 0   M i B   a n d   a   m e m o r y   l i m i t   o f   8 0 0   M i B .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o n s t r a i n t s - m e m - d e m o - 3   s p e c :   c o n t a i n e r s :   -   n a m e :   c o n s t r a i n t s - m e m - d e m o - 3 - c t r   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 8 0 0 M i \"   r e q u e s t s :   m e m o r y :   \" 1 0 0 M i \"   A t t e m p t   t o   c r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / m e m o r y - c o n s t r a i n t s - p o d - 3 . y a m l   - - n a m e s p a c e = c o n s t r a i n t s - m e m - e x a m p l e   T h e   o u t p u t   s h o w s   t h a t   t h e   P o d   d o e s   n o t   g e t   c r e a t e d ,   b e c a u s e   i t   d e f i n e s   a   c o n t a i n e r   t h a t   r e q u e s t s   l e s s   m e m o r y   t h a n   t h e   e n f o r c e d   m i n i m u m :   E r r o r   f r o m   s e r v e r   ( F o r b i d d e n ) :   e r r o r   w h e n   c r e a t i n g   \" e x a m p l e s / a d m i n / r e s o u r c e / m e m o r y - c o n s t r a i n t s - p o d - 3 . y a m l \" :   p o d s   \" c o n s t r a i n t s - m e m - d e m o - 3 \"   i s   f o r b i d d e n :   m i n i m u m   m e m o r y   u s a g e   p e r   C o n t a i n e r   i s   5 0 0 M i ,   b u t   r e q u e s t   i s   1 0 0 M i .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17560"
  },
  {
    "question": "What is Create a Pod that does not specify any memory request or limit?",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   d o e s   n o t   s p e c i f y   a   m e m o r y   r e q u e s t ,   a n d   i t   d o e s   n o t   s p e c i f y   a   m e m o r y   l i m i t .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o n s t r a i n t s - m e m - d e m o - 4   s p e c :   c o n t a i n e r s :   -   n a m e :   c o n s t r a i n t s - m e m - d e m o - 4 - c t r   i m a g e :   n g i n x   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / m e m o r y - c o n s t r a i n t s - p o d - 4 . y a m l   - - n a m e s p a c e = c o n s t r a i n t s - m e m - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   P o d :   k u b e c t l   g e t   p o d   c o n s t r a i n t s - m e m - d e m o - 4   - - n a m e s p a c e = c o n s t r a i n t s - m e m - e x a m p l e   - - o u t p u t = y a m l   T h e   o u t p u t   s h o w s   t h a t   t h e   P o d ' s   o n l y   c o n t a i n e r   h a s   a   m e m o r y   r e q u e s t   o f   1   G i B   a n d   a   m e m o r y   l i m i t   o f   1   G i B .   H o w   d i d   t h a t   c o n t a i n e r   g e t   t h o s e   v a l u e s ?   r e s o u r c e s :   l i m i t s :   m e m o r y :   1 G i   r e q u e s t s :   m e m o r y :   1 G i   B e c a u s e   y o u r   P o d   d i d   n o t   d e f i n e   a n y   m e m o r y   r e q u e s t   a n d   l i m i t   f o r   t h a t   c o n t a i n e r ,   t h e   c l u s t e r   a p p l i e d   a   d e f a u l t   m e m o r y   r e q u e s t   a n d   l i m i t   f r o m   t h e   L i m i t R a n g e .   T h i s   m e a n s   t h a t   t h e   d e f i n i t i o n   o f   t h a t   P o d   s h o w s   t h o s e   v a l u e s .   Y o u   c a n   c h e c k   i t   u s i n g   k u b e c t l   d e s c r i b e :   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17561"
  },
  {
    "question": "What is Enforcement of minimum and maximum memory constraints?",
    "answer": "T h e   m a x i m u m   a n d   m i n i m u m   m e m o r y   c o n s t r a i n t s   i m p o s e d   o n   a   n a m e s p a c e   b y   a   L i m i t R a n g e   a r e   e n f o r c e d   o n l y   w h e n   a   P o d   i s   c r e a t e d   o r   u p d a t e d .   I f   y o u   c h a n g e   t h e   L i m i t R a n g e ,   i t   d o e s   n o t   a f f e c t   P o d s   t h a t   w e r e   c r e a t e d   p r e v i o u s l y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17562"
  },
  {
    "question": "What is Motivation for minimum and maximum memory constraints?",
    "answer": "A s   a   c l u s t e r   a d m i n i s t r a t o r ,   y o u   m i g h t   w a n t   t o   i m p o s e   r e s t r i c t i o n s   o n   t h e   a m o u n t   o f   m e m o r y   t h a t   P o d s   c a n   u s e .   F o r   e x a m p l e :   E a c h   N o d e   i n   a   c l u s t e r   h a s   2   G i B   o f   m e m o r y .   Y o u   d o   n o t   w a n t   t o   a c c e p t   a n y   P o d   t h a t   r e q u e s t s   m o r e   t h a n   2   G i B   o f   m e m o r y ,   b e c a u s e   n o   N o d e   i n   t h e   c l u s t e r   c a n   s u p p o r t   t h e   r e q u e s t . A   c l u s t e r   i s   s h a r e d   b y   y o u r   p r o d u c t i o n   a n d   d e v e l o p m e n t   d e p a r t m e n t s .   Y o u   w a n t   t o   a l l o w   p r o d u c t i o n   w o r k l o a d s   t o   c o n s u m e   u p   t o   8   G i B   o f   m e m o r y ,   b u t   y o u   w a n t   d e v e l o p m e n t   w o r k l o a d s   t o   b e   l i m i t e d   t o   5 1 2   M i B .   Y o u   c r e a t e   s e p a r a t e   n a m e s p a c e s   f o r   p r o d u c t i o n   a n d   d e v e l o p m e n t ,   a n d   y o u   a p p l y   m e m o r y   c o n s t r a i n t s   t o   e a c h   n a m e s p a c e .   E a c h   N o d e   i n   a   c l u s t e r   h a s   2   G i B   o f   m e m o r y .   Y o u   d o   n o t   w a n t   t o   a c c e p t   a n y   P o d   t h a t   r e q u e s t s   m o r e   t h a n   2   G i B   o f   m e m o r y ,   b e c a u s e   n o   N o d e   i n   t h e   c l u s t e r   c a n   s u p p o r t   t h e   r e q u e s t .   A   c l u s t e r   i s   s h a r e d   b y   y o u r   p r o d u c t i o n   a n d   d e v e l o p m e n t   d e p a r t m e n t s .   Y o u   w a n t   t o   a l l o w   p r o d u c t i o n   w o r k l o a d s   t o   c o n s u m e   u p   t o   8   G i B   o f   m e m o r y ,   b u t   y o u   w a n t   d e v e l o p m e n t   w o r k l o a d s   t o   b e   l i m i t e d   t o   5 1 2   M i B .   Y o u   c r e a t e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17563"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   n a m e s p a c e :   k u b e c t l   d e l e t e   n a m e s p a c e   c o n s t r a i n t s - m e m - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17564"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e   C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17565"
  },
  {
    "question": "What is For app developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s   C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17566"
  },
  {
    "question": "What is 2.5.4 - Configure Minimum and Maximum CPU Constraints for a Namespace?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   s e t   m i n i m u m   a n d   m a x i m u m   v a l u e s   f o r   t h e   C P U   r e s o u r c e s   u s e d   b y   c o n t a i n e r s   a n d   P o d s   i n   a   n a m e s p a c e .   Y o u   s p e c i f y   m i n i m u m   a n d   m a x i m u m   C P U   v a l u e s   i n   a   L i m i t R a n g e   o b j e c t .   I f   a   P o d   d o e s   n o t   m e e t   t h e   c o n s t r a i n t s   i m p o s e d   b y   t h e   L i m i t R a n g e ,   i t   c a n n o t   b e   c r e a t e d   i n   t h e   n a m e s p a c e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17567"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   m u s t   h a v e   a c c e s s   t o   c r e a t e   n a m e s p a c e s   i n   y o u r   c l u s t e r .   E a c h   n o d e   i n   y o u r   c l u s t e r   m u s t   h a v e   a t   l e a s t   1 . 0   C P U   a v a i l a b l e   f o r   P o d s .   S e e   m e a n i n g   o f   C P U   t o   l e a r n   w h a t   K u b e r n e t e s   m e a n s   b y   “ 1   C P U ” .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17568"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   n a m e s p a c e   s o   t h a t   t h e   r e s o u r c e s   y o u   c r e a t e   i n   t h i s   e x e r c i s e   a r e   i s o l a t e d   f r o m   t h e   r e s t   o f   y o u r   c l u s t e r .   k u b e c t l   c r e a t e   n a m e s p a c e   c o n s t r a i n t s - c p u - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17569"
  },
  {
    "question": "What is Create a LimitRange and a Pod?",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a n   e x a m p l e   L i m i t R a n g e :   a p i V e r s i o n :   v 1   k i n d :   L i m i t R a n g e   m e t a d a t a :   n a m e :   c p u - m i n - m a x - d e m o - l r   s p e c :   l i m i t s :   -   m a x :   c p u :   \" 8 0 0 m \"   m i n :   c p u :   \" 2 0 0 m \"   t y p e :   C o n t a i n e r   C r e a t e   t h e   L i m i t R a n g e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / c p u - c o n s t r a i n t s . y a m l   - - n a m e s p a c e = c o n s t r a i n t s - c p u - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   L i m i t R a n g e :   k u b e c t l   g e t   l i m i t r a n g e   c p u - m i n - m a x - d e m o - l r   - - o u t p u t = y a m l   - - n a m e s p a c e = c o n s t r a i n t s - c p u - e x a m p l e   T h e   o u t p u t   s h o w s   t h e   m i n i m u m   a n d   m a x i m u m   C P U   c o n s t r a i n t s   a s   e x p e c t e d .   B u t   n o t i c e   t h a t   e v e n   t h o u g h   y o u   d i d n ' t   s p e c i f y   d e f a u l t   v a l u e s   i n   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   L i m i t R a n g e ,   t h e y   w e r e   c r e a t e d   a u t o m a t i c a l l y .   l i m i t s :   -   d e f a u l t :   c p u :   8 0 0 m   d e f a u l t R e q u e s t :   c p u :   8 0 0 m   m a x :   c p u :   8 0 0 m   m i n :   c p u :   2 0 0 m   t y p e :   C o n t a i n e r   N o w   w h e n e v e r   y o u   c r e a t e   a   P o d   i n   t h e   c o n s t r a i n t s - c p u - e x a m p l e   n a m e s p a c e   ( o r   s o m e   o t h e r   c l i e n t   o f   t h e   K u b e r n e t e s   A P I   c r e a t e s   a n   e q u i v a l e n t   P o d ) ,   K u b e r n e t e s   p e r f o r m s   t h e s e   s t e p s :   I f   a n y   c o n t a i n e r   i n   t h a t   P o d   d o e s   n o t   s p e c i f y   i t s   o w n   C P ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17570"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   m a n i f e s t   s p e c i f i e s   a   C P U   r e q u e s t   o f   5 0 0   m i l l i c p u   a n d   a   C P U   l i m i t   o f   8 0 0   m i l l i c p u .   T h e s e   s a t i s f y   t h e   m i n i m u m   a n d   m a x i m u m   C P U   c o n s t r a i n t s   i m p o s e d   b y   t h e   L i m i t R a n g e   f o r   t h i s   n a m e s p a c e .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o n s t r a i n t s - c p u - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   c o n s t r a i n t s - c p u - d e m o - c t r   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   c p u :   \" 8 0 0 m \"   r e q u e s t s :   c p u :   \" 5 0 0 m \"   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / c p u - c o n s t r a i n t s - p o d . y a m l   - - n a m e s p a c e = c o n s t r a i n t s - c p u - e x a m p l e   V e r i f y   t h a t   t h e   P o d   i s   r u n n i n g   a n d   t h a t   i t s   c o n t a i n e r   i s   h e a l t h y :   k u b e c t l   g e t   p o d   c o n s t r a i n t s - c p u - d e m o   - - n a m e s p a c e = c o n s t r a i n t s - c p u - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   P o d :   k u b e c t l   g e t   p o d   c o n s t r a i n t s - c p u - d e m o   - - o u t p u t = y a m l   - - n a m e s p a c e = c o n s t r a i n t s - c p u - e x a m p l e   T h e   o u t p u t   s h o w s   t h a t   t h e   P o d ' s   o n l y   c o n t a i n e r   h a s   a   C P U   r e q u e s t   o f   5 0 0   m i l l i c p u   a n d   C P U   l i m i t   o f   8 0 0   m i l l i c p u .   T h e s e   s a t i s f y   t h e   c o n s t r a i n t s   i m p o s e d   b y   t h e   L i m i t R a n g e .   r e s o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17571"
  },
  {
    "question": "What is Delete the Pod?",
    "answer": "k u b e c t l   d e l e t e   p o d   c o n s t r a i n t s - c p u - d e m o   - - n a m e s p a c e = c o n s t r a i n t s - c p u - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17572"
  },
  {
    "question": "What is Attempt to create a Pod that exceeds the maximum CPU constraint?",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   s p e c i f i e s   a   C P U   r e q u e s t   o f   5 0 0   m i l l i c p u   a n d   a   c p u   l i m i t   o f   1 . 5   c p u .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o n s t r a i n t s - c p u - d e m o - 2   s p e c :   c o n t a i n e r s :   -   n a m e :   c o n s t r a i n t s - c p u - d e m o - 2 - c t r   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   c p u :   \" 1 . 5 \"   r e q u e s t s :   c p u :   \" 5 0 0 m \"   A t t e m p t   t o   c r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / c p u - c o n s t r a i n t s - p o d - 2 . y a m l   - - n a m e s p a c e = c o n s t r a i n t s - c p u - e x a m p l e   T h e   o u t p u t   s h o w s   t h a t   t h e   P o d   d o e s   n o t   g e t   c r e a t e d ,   b e c a u s e   i t   d e f i n e s   a n   u n a c c e p t a b l e   c o n t a i n e r .   T h a t   c o n t a i n e r   i s   n o t   a c c e p t a b l e   b e c a u s e   i t   s p e c i f i e s   a   C P U   l i m i t   t h a t   i s   t o o   l a r g e :   E r r o r   f r o m   s e r v e r   ( F o r b i d d e n ) :   e r r o r   w h e n   c r e a t i n g   \" e x a m p l e s / a d m i n / r e s o u r c e / c p u - c o n s t r a i n t s - p o d - 2 . y a m l \" :   p o d s   \" c o n s t r a i n t s - c p u - d e m o - 2 \"   i s   f o r b i d d e n :   m a x i m u m   c p u   u s a g e   p e r   C o n t a i n e r   i s   8 0 0 m ,   b u t   l i m i t   i s   1 5 0 0 m .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17573"
  },
  {
    "question": "What is Attempt to create a Pod that does not meet the minimum CPU request?",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   s p e c i f i e s   a   C P U   r e q u e s t   o f   1 0 0   m i l l i c p u   a n d   a   C P U   l i m i t   o f   8 0 0   m i l l i c p u .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o n s t r a i n t s - c p u - d e m o - 3   s p e c :   c o n t a i n e r s :   -   n a m e :   c o n s t r a i n t s - c p u - d e m o - 3 - c t r   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   c p u :   \" 8 0 0 m \"   r e q u e s t s :   c p u :   \" 1 0 0 m \"   A t t e m p t   t o   c r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / c p u - c o n s t r a i n t s - p o d - 3 . y a m l   - - n a m e s p a c e = c o n s t r a i n t s - c p u - e x a m p l e   T h e   o u t p u t   s h o w s   t h a t   t h e   P o d   d o e s   n o t   g e t   c r e a t e d ,   b e c a u s e   i t   d e f i n e s   a n   u n a c c e p t a b l e   c o n t a i n e r .   T h a t   c o n t a i n e r   i s   n o t   a c c e p t a b l e   b e c a u s e   i t   s p e c i f i e s   a   C P U   r e q u e s t   t h a t   i s   l o w e r   t h a n   t h e   e n f o r c e d   m i n i m u m :   E r r o r   f r o m   s e r v e r   ( F o r b i d d e n ) :   e r r o r   w h e n   c r e a t i n g   \" e x a m p l e s / a d m i n / r e s o u r c e / c p u - c o n s t r a i n t s - p o d - 3 . y a m l \" :   p o d s   \" c o n s t r a i n t s - c p u - d e m o - 3 \"   i s   f o r b i d d e n :   m i n i m u m   c p u   u s a g e   p e r   C o n t a i n e r   i s   2 0 0 m ,   b u t   r e q u e s t   i s   1 0 0 m .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17574"
  },
  {
    "question": "What is Create a Pod that does not specify any CPU request or limit?",
    "answer": "H e r e ' s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   d o e s   n o t   s p e c i f y   a   C P U   r e q u e s t ,   n o r   d o e s   i t   s p e c i f y   a   C P U   l i m i t .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o n s t r a i n t s - c p u - d e m o - 4   s p e c :   c o n t a i n e r s :   -   n a m e :   c o n s t r a i n t s - c p u - d e m o - 4 - c t r   i m a g e :   v i s h / s t r e s s   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / c p u - c o n s t r a i n t s - p o d - 4 . y a m l   - - n a m e s p a c e = c o n s t r a i n t s - c p u - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   P o d :   k u b e c t l   g e t   p o d   c o n s t r a i n t s - c p u - d e m o - 4   - - n a m e s p a c e = c o n s t r a i n t s - c p u - e x a m p l e   - - o u t p u t = y a m l   T h e   o u t p u t   s h o w s   t h a t   t h e   P o d ' s   s i n g l e   c o n t a i n e r   h a s   a   C P U   r e q u e s t   o f   8 0 0   m i l l i c p u   a n d   a   C P U   l i m i t   o f   8 0 0   m i l l i c p u .   H o w   d i d   t h a t   c o n t a i n e r   g e t   t h o s e   v a l u e s ?   r e s o u r c e s :   l i m i t s :   c p u :   8 0 0 m   r e q u e s t s :   c p u :   8 0 0 m   B e c a u s e   t h a t   c o n t a i n e r   d i d   n o t   s p e c i f y   i t s   o w n   C P U   r e q u e s t   a n d   l i m i t ,   t h e   c o n t r o l   p l a n e   a p p l i e d   t h e   d e f a u l t   C P U   r e q u e s t   a n d   l i m i t   f r o m   t h e   L i m i t R a n g e   f o r   t h i s   n a m e s p a c e .   A t   t h i s   p o i n t ,   y o u r   P o d   m a y   o r   m a y   n o t   b e   r u n n i n g .   R e c a l l   t h a t   a   p r e r e q u i s i t e   f o r   t h i s   t a s k   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17575"
  },
  {
    "question": "What is Enforcement of minimum and maximum CPU constraints?",
    "answer": "T h e   m a x i m u m   a n d   m i n i m u m   C P U   c o n s t r a i n t s   i m p o s e d   o n   a   n a m e s p a c e   b y   a   L i m i t R a n g e   a r e   e n f o r c e d   o n l y   w h e n   a   P o d   i s   c r e a t e d   o r   u p d a t e d .   I f   y o u   c h a n g e   t h e   L i m i t R a n g e ,   i t   d o e s   n o t   a f f e c t   P o d s   t h a t   w e r e   c r e a t e d   p r e v i o u s l y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17576"
  },
  {
    "question": "What is Motivation for minimum and maximum CPU constraints?",
    "answer": "A s   a   c l u s t e r   a d m i n i s t r a t o r ,   y o u   m i g h t   w a n t   t o   i m p o s e   r e s t r i c t i o n s   o n   t h e   C P U   r e s o u r c e s   t h a t   P o d s   c a n   u s e .   F o r   e x a m p l e :   E a c h   N o d e   i n   a   c l u s t e r   h a s   2   C P U .   Y o u   d o   n o t   w a n t   t o   a c c e p t   a n y   P o d   t h a t   r e q u e s t s   m o r e   t h a n   2   C P U ,   b e c a u s e   n o   N o d e   i n   t h e   c l u s t e r   c a n   s u p p o r t   t h e   r e q u e s t . A   c l u s t e r   i s   s h a r e d   b y   y o u r   p r o d u c t i o n   a n d   d e v e l o p m e n t   d e p a r t m e n t s .   Y o u   w a n t   t o   a l l o w   p r o d u c t i o n   w o r k l o a d s   t o   c o n s u m e   u p   t o   3   C P U ,   b u t   y o u   w a n t   d e v e l o p m e n t   w o r k l o a d s   t o   b e   l i m i t e d   t o   1   C P U .   Y o u   c r e a t e   s e p a r a t e   n a m e s p a c e s   f o r   p r o d u c t i o n   a n d   d e v e l o p m e n t ,   a n d   y o u   a p p l y   C P U   c o n s t r a i n t s   t o   e a c h   n a m e s p a c e .   E a c h   N o d e   i n   a   c l u s t e r   h a s   2   C P U .   Y o u   d o   n o t   w a n t   t o   a c c e p t   a n y   P o d   t h a t   r e q u e s t s   m o r e   t h a n   2   C P U ,   b e c a u s e   n o   N o d e   i n   t h e   c l u s t e r   c a n   s u p p o r t   t h e   r e q u e s t .   A   c l u s t e r   i s   s h a r e d   b y   y o u r   p r o d u c t i o n   a n d   d e v e l o p m e n t   d e p a r t m e n t s .   Y o u   w a n t   t o   a l l o w   p r o d u c t i o n   w o r k l o a d s   t o   c o n s u m e   u p   t o   3   C P U ,   b u t   y o u   w a n t   d e v e l o p m e n t   w o r k l o a d s   t o   b e   l i m i t e d   t o   1   C P U .   Y o u   c r e a t e   s e p a r a t e   n a m e s p a c e s   f o r   p r o d u c t i o n   a n d   d e v e l o p m e n t ,   a n d   y o u   a p p l y   C P U ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17577"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   n a m e s p a c e :   k u b e c t l   d e l e t e   n a m e s p a c e   c o n s t r a i n t s - c p u - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17578"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e   C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17579"
  },
  {
    "question": "What is For app developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s   C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17580"
  },
  {
    "question": "What is 2.5.5 - Configure Memory and CPU Quotas for a Namespace?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   s e t   q u o t a s   f o r   t h e   t o t a l   a m o u n t   m e m o r y   a n d   C P U   t h a t   c a n   b e   u s e d   b y   a l l   P o d s   r u n n i n g   i n   a   n a m e s p a c e .   Y o u   s p e c i f y   q u o t a s   i n   a   R e s o u r c e Q u o t a   o b j e c t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17581"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   m u s t   h a v e   a c c e s s   t o   c r e a t e   n a m e s p a c e s   i n   y o u r   c l u s t e r .   E a c h   n o d e   i n   y o u r   c l u s t e r   m u s t   h a v e   a t   l e a s t   1   G i B   o f   m e m o r y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17582"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   n a m e s p a c e   s o   t h a t   t h e   r e s o u r c e s   y o u   c r e a t e   i n   t h i s   e x e r c i s e   a r e   i s o l a t e d   f r o m   t h e   r e s t   o f   y o u r   c l u s t e r .   k u b e c t l   c r e a t e   n a m e s p a c e   q u o t a - m e m - c p u - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17583"
  },
  {
    "question": "What is Create a ResourceQuota?",
    "answer": "H e r e   i s   a   m a n i f e s t   f o r   a n   e x a m p l e   R e s o u r c e Q u o t a :   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a   m e t a d a t a :   n a m e :   m e m - c p u - d e m o   s p e c :   h a r d :   r e q u e s t s . c p u :   \" 1 \"   r e q u e s t s . m e m o r y :   1 G i   l i m i t s . c p u :   \" 2 \"   l i m i t s . m e m o r y :   2 G i   C r e a t e   t h e   R e s o u r c e Q u o t a :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / q u o t a - m e m - c p u . y a m l   - - n a m e s p a c e = q u o t a - m e m - c p u - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   R e s o u r c e Q u o t a :   k u b e c t l   g e t   r e s o u r c e q u o t a   m e m - c p u - d e m o   - - n a m e s p a c e = q u o t a - m e m - c p u - e x a m p l e   - - o u t p u t = y a m l   T h e   R e s o u r c e Q u o t a   p l a c e s   t h e s e   r e q u i r e m e n t s   o n   t h e   q u o t a - m e m - c p u - e x a m p l e   n a m e s p a c e :   F o r   e v e r y   P o d   i n   t h e   n a m e s p a c e ,   e a c h   c o n t a i n e r   m u s t   h a v e   a   m e m o r y   r e q u e s t ,   m e m o r y   l i m i t ,   c p u   r e q u e s t ,   a n d   c p u   l i m i t . T h e   m e m o r y   r e q u e s t   t o t a l   f o r   a l l   P o d s   i n   t h a t   n a m e s p a c e   m u s t   n o t   e x c e e d   1   G i B . T h e   m e m o r y   l i m i t   t o t a l   f o r   a l l   P o d s   i n   t h a t   n a m e s p a c e   m u s t   n o t   e x c e e d   2   G i B . T h e   C P U   r e q u e s t   t o t a l   f o r   a l l   P o d s   i n   t h a t   n a m e s p a c e   m u s t   n o t   e x c e e d   1   c p u . T h e   C P U   l i m i t   t o t a l   f o r   a l l   P o d s   i n   t h a t   n a m e s p a c e   m u s t   n o t   e x c e e d   2   c p u .   S e e   m e a n i n g   o f   C P U   t o   l e a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17584"
  },
  {
    "question": "What is Create a Pod?",
    "answer": "H e r e   i s   a   m a n i f e s t   f o r   a n   e x a m p l e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   q u o t a - m e m - c p u - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   q u o t a - m e m - c p u - d e m o - c t r   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 8 0 0 M i \"   c p u :   \" 8 0 0 m \"   r e q u e s t s :   m e m o r y :   \" 6 0 0 M i \"   c p u :   \" 4 0 0 m \"   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / q u o t a - m e m - c p u - p o d . y a m l   - - n a m e s p a c e = q u o t a - m e m - c p u - e x a m p l e   V e r i f y   t h a t   t h e   P o d   i s   r u n n i n g   a n d   t h a t   i t s   ( o n l y )   c o n t a i n e r   i s   h e a l t h y :   k u b e c t l   g e t   p o d   q u o t a - m e m - c p u - d e m o   - - n a m e s p a c e = q u o t a - m e m - c p u - e x a m p l e   O n c e   a g a i n ,   v i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   R e s o u r c e Q u o t a :   k u b e c t l   g e t   r e s o u r c e q u o t a   m e m - c p u - d e m o   - - n a m e s p a c e = q u o t a - m e m - c p u - e x a m p l e   - - o u t p u t = y a m l   T h e   o u t p u t   s h o w s   t h e   q u o t a   a l o n g   w i t h   h o w   m u c h   o f   t h e   q u o t a   h a s   b e e n   u s e d .   Y o u   c a n   s e e   t h a t   t h e   m e m o r y   a n d   C P U   r e q u e s t s   a n d   l i m i t s   f o r   y o u r   P o d   d o   n o t   e x c e e d   t h e   q u o t a .   s t a t u s :   h a r d :   l i m i t s . c p u :   \" 2 \"   l i m i t s . m e m o r y :   2 G i   r e q u e s t s . c p u :   \" 1 \"   r e q u e s t s . m e m o r y :   1 G i   u s e d :   l i m i t s . c p u :   8 0 0 m   l i m i t s . m e m o r y :   8 0 0 M i   r e q u e s t s . c p u :   4 0 0 m   r e q u e s t s . m e m o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17585"
  },
  {
    "question": "What is Attempt to create a second Pod?",
    "answer": "H e r e   i s   a   m a n i f e s t   f o r   a   s e c o n d   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   q u o t a - m e m - c p u - d e m o - 2   s p e c :   c o n t a i n e r s :   -   n a m e :   q u o t a - m e m - c p u - d e m o - 2 - c t r   i m a g e :   r e d i s   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 1 G i \"   c p u :   \" 8 0 0 m \"   r e q u e s t s :   m e m o r y :   \" 7 0 0 M i \"   c p u :   \" 4 0 0 m \"   I n   t h e   m a n i f e s t ,   y o u   c a n   s e e   t h a t   t h e   P o d   h a s   a   m e m o r y   r e q u e s t   o f   7 0 0   M i B .   N o t i c e   t h a t   t h e   s u m   o f   t h e   u s e d   m e m o r y   r e q u e s t   a n d   t h i s   n e w   m e m o r y   r e q u e s t   e x c e e d s   t h e   m e m o r y   r e q u e s t   q u o t a :   6 0 0   M i B   +   7 0 0   M i B   >   1   G i B .   A t t e m p t   t o   c r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / q u o t a - m e m - c p u - p o d - 2 . y a m l   - - n a m e s p a c e = q u o t a - m e m - c p u - e x a m p l e   T h e   s e c o n d   P o d   d o e s   n o t   g e t   c r e a t e d .   T h e   o u t p u t   s h o w s   t h a t   c r e a t i n g   t h e   s e c o n d   P o d   w o u l d   c a u s e   t h e   m e m o r y   r e q u e s t   t o t a l   t o   e x c e e d   t h e   m e m o r y   r e q u e s t   q u o t a .   E r r o r   f r o m   s e r v e r   ( F o r b i d d e n ) :   e r r o r   w h e n   c r e a t i n g   \" e x a m p l e s / a d m i n / r e s o u r c e / q u o t a - m e m - c p u - p o d - 2 . y a m l \" :   p o d s   \" q u o t a - m e m - c p u - d e m o - 2 \"   i s   f o r b i d d e n :   e x c e e d e d   q u o t a :   m e m - c p u - d e m o ,   r e q u e s t e d :   r e q u e s t s . m e m o r y = 7 0 0 M i , u s e d :   r e q u e s t s . m e m o r y = 6 0 0 M i ,   l i m i t e d : ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17586"
  },
  {
    "question": "What is Discussion?",
    "answer": "A s   y o u   h a v e   s e e n   i n   t h i s   e x e r c i s e ,   y o u   c a n   u s e   a   R e s o u r c e Q u o t a   t o   r e s t r i c t   t h e   m e m o r y   r e q u e s t   t o t a l   f o r   a l l   P o d s   r u n n i n g   i n   a   n a m e s p a c e .   Y o u   c a n   a l s o   r e s t r i c t   t h e   t o t a l s   f o r   m e m o r y   l i m i t ,   c p u   r e q u e s t ,   a n d   c p u   l i m i t .   I n s t e a d   o f   m a n a g i n g   t o t a l   r e s o u r c e   u s e   w i t h i n   a   n a m e s p a c e ,   y o u   m i g h t   w a n t   t o   r e s t r i c t   i n d i v i d u a l   P o d s ,   o r   t h e   c o n t a i n e r s   i n   t h o s e   P o d s .   T o   a c h i e v e   t h a t   k i n d   o f   l i m i t i n g ,   u s e   a   L i m i t R a n g e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17587"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   n a m e s p a c e :   k u b e c t l   d e l e t e   n a m e s p a c e   q u o t a - m e m - c p u - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17588"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e   C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17589"
  },
  {
    "question": "What is For app developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s   C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17590"
  },
  {
    "question": "What is 2.5.6 - Configure a Pod Quota for a Namespace?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   s e t   a   q u o t a   f o r   t h e   t o t a l   n u m b e r   o f   P o d s   t h a t   c a n   r u n   i n   a   N a m e s p a c e .   Y o u   s p e c i f y   q u o t a s   i n   a   R e s o u r c e Q u o t a   o b j e c t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17591"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   m u s t   h a v e   a c c e s s   t o   c r e a t e   n a m e s p a c e s   i n   y o u r   c l u s t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17592"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   n a m e s p a c e   s o   t h a t   t h e   r e s o u r c e s   y o u   c r e a t e   i n   t h i s   e x e r c i s e   a r e   i s o l a t e d   f r o m   t h e   r e s t   o f   y o u r   c l u s t e r .   k u b e c t l   c r e a t e   n a m e s p a c e   q u o t a - p o d - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17593"
  },
  {
    "question": "What is Create a ResourceQuota?",
    "answer": "H e r e   i s   a n   e x a m p l e   m a n i f e s t   f o r   a   R e s o u r c e Q u o t a :   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a   m e t a d a t a :   n a m e :   p o d - d e m o   s p e c :   h a r d :   p o d s :   \" 2 \"   C r e a t e   t h e   R e s o u r c e Q u o t a :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / q u o t a - p o d . y a m l   - - n a m e s p a c e = q u o t a - p o d - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   R e s o u r c e Q u o t a :   k u b e c t l   g e t   r e s o u r c e q u o t a   p o d - d e m o   - - n a m e s p a c e = q u o t a - p o d - e x a m p l e   - - o u t p u t = y a m l   T h e   o u t p u t   s h o w s   t h a t   t h e   n a m e s p a c e   h a s   a   q u o t a   o f   t w o   P o d s ,   a n d   t h a t   c u r r e n t l y   t h e r e   a r e   n o   P o d s ;   t h a t   i s ,   n o n e   o f   t h e   q u o t a   i s   u s e d .   s p e c :   h a r d :   p o d s :   \" 2 \"   s t a t u s :   h a r d :   p o d s :   \" 2 \"   u s e d :   p o d s :   \" 0 \"   H e r e   i s   a n   e x a m p l e   m a n i f e s t   f o r   a   D e p l o y m e n t :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   p o d - q u o t a - d e m o   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   p u r p o s e :   q u o t a - d e m o   r e p l i c a s :   3   t e m p l a t e :   m e t a d a t a :   l a b e l s :   p u r p o s e :   q u o t a - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   p o d - q u o t a - d e m o   i m a g e :   n g i n x   I n   t h a t   m a n i f e s t ,   r e p l i c a s :   3   t e l l s   K u b e r n e t e s   t o   a t t e m p t   t o   c r e a t e   t h r e e   n e w   P o d s ,   a l l   r u n n i n g   t h e   s a m e   a p p l i c a t i o n .   C r e a t e   t h e   D e p l o y m e n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17594"
  },
  {
    "question": "What is Choice of resource?",
    "answer": "I n   t h i s   t a s k   y o u   h a v e   d e f i n e d   a   R e s o u r c e Q u o t a   t h a t   l i m i t e d   t h e   t o t a l   n u m b e r   o f   P o d s ,   b u t   y o u   c o u l d   a l s o   l i m i t   t h e   t o t a l   n u m b e r   o f   o t h e r   k i n d s   o f   o b j e c t .   F o r   e x a m p l e ,   y o u   m i g h t   d e c i d e   t o   l i m i t   h o w   m a n y   C r o n J o b s   t h a t   c a n   l i v e   i n   a   s i n g l e   n a m e s p a c e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17595"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   n a m e s p a c e :   k u b e c t l   d e l e t e   n a m e s p a c e   q u o t a - p o d - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17596"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17597"
  },
  {
    "question": "What is For app developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s   C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17598"
  },
  {
    "question": "What is 2.6.1 - Use Antrea for NetworkPolicy?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   i n s t a l l   a n d   u s e   A n t r e a   C N I   p l u g i n   o n   K u b e r n e t e s .   F o r   b a c k g r o u n d   o n   P r o j e c t   A n t r e a ,   r e a d   t h e   I n t r o d u c t i o n   t o   A n t r e a .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17599"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r .   F o l l o w   t h e   k u b e a d m   g e t t i n g   s t a r t e d   g u i d e   t o   b o o t s t r a p   o n e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17600"
  },
  {
    "question": "What is Deploying Antrea with kubeadm?",
    "answer": "F o l l o w   G e t t i n g   S t a r t e d   g u i d e   t o   d e p l o y   A n t r e a   f o r   k u b e a d m .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17601"
  },
  {
    "question": "What is What's next?",
    "answer": "O n c e   y o u r   c l u s t e r   i s   r u n n i n g ,   y o u   c a n   f o l l o w   t h e   D e c l a r e   N e t w o r k   P o l i c y   t o   t r y   o u t   K u b e r n e t e s   N e t w o r k P o l i c y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17602"
  },
  {
    "question": "What is 2.6.2 - Use Calico for NetworkPolicy?",
    "answer": "T h i s   p a g e   s h o w s   a   c o u p l e   o f   q u i c k   w a y s   t o   c r e a t e   a   C a l i c o   c l u s t e r   o n   K u b e r n e t e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17603"
  },
  {
    "question": "What is Before you begin?",
    "answer": "D e c i d e   w h e t h e r   y o u   w a n t   t o   d e p l o y   a   c l o u d   o r   l o c a l   c l u s t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17604"
  },
  {
    "question": "What is Creating a Calico cluster with Google Kubernetes Engine (GKE)?",
    "answer": "P r e r e q u i s i t e :   g c l o u d .   T o   l a u n c h   a   G K E   c l u s t e r   w i t h   C a l i c o ,   i n c l u d e   t h e   - - e n a b l e - n e t w o r k - p o l i c y   f l a g . S y n t a x g c l o u d   c o n t a i n e r   c l u s t e r s   c r e a t e   [ C L U S T E R _ N A M E ]   - - e n a b l e - n e t w o r k - p o l i c y   E x a m p l e g c l o u d   c o n t a i n e r   c l u s t e r s   c r e a t e   m y - c a l i c o - c l u s t e r   - - e n a b l e - n e t w o r k - p o l i c y   T o   v e r i f y   t h e   d e p l o y m e n t ,   u s e   t h e   f o l l o w i n g   c o m m a n d . k u b e c t l   g e t   p o d s   - - n a m e s p a c e = k u b e - s y s t e m   T h e   C a l i c o   p o d s   b e g i n   w i t h   c a l i c o .   C h e c k   t o   m a k e   s u r e   e a c h   o n e   h a s   a   s t a t u s   o f   R u n n i n g .   T o   l a u n c h   a   G K E   c l u s t e r   w i t h   C a l i c o ,   i n c l u d e   t h e   - - e n a b l e - n e t w o r k - p o l i c y   f l a g .   S y n t a x   g c l o u d   c o n t a i n e r   c l u s t e r s   c r e a t e   [ C L U S T E R _ N A M E ]   - - e n a b l e - n e t w o r k - p o l i c y   E x a m p l e   g c l o u d   c o n t a i n e r   c l u s t e r s   c r e a t e   m y - c a l i c o - c l u s t e r   - - e n a b l e - n e t w o r k - p o l i c y   T o   v e r i f y   t h e   d e p l o y m e n t ,   u s e   t h e   f o l l o w i n g   c o m m a n d .   k u b e c t l   g e t   p o d s   - - n a m e s p a c e = k u b e - s y s t e m   T h e   C a l i c o   p o d s   b e g i n   w i t h   c a l i c o .   C h e c k   t o   m a k e   s u r e   e a c h   o n e   h a s   a   s t a t u s   o f   R u n n i n g .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17605"
  },
  {
    "question": "What is Creating a local Calico cluster with kubeadm?",
    "answer": "T o   g e t   a   l o c a l   s i n g l e - h o s t   C a l i c o   c l u s t e r   i n   f i f t e e n   m i n u t e s   u s i n g   k u b e a d m ,   r e f e r   t o   t h e   C a l i c o   Q u i c k s t a r t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17606"
  },
  {
    "question": "What is What's next?",
    "answer": "O n c e   y o u r   c l u s t e r   i s   r u n n i n g ,   y o u   c a n   f o l l o w   t h e   D e c l a r e   N e t w o r k   P o l i c y   t o   t r y   o u t   K u b e r n e t e s   N e t w o r k P o l i c y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17607"
  },
  {
    "question": "What is 2.6.3 - Use Cilium for NetworkPolicy?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   C i l i u m   f o r   N e t w o r k P o l i c y .   F o r   b a c k g r o u n d   o n   C i l i u m ,   r e a d   t h e   I n t r o d u c t i o n   t o   C i l i u m .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17608"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17609"
  },
  {
    "question": "What is Deploying Cilium on Minikube for Basic Testing?",
    "answer": "T o   g e t   f a m i l i a r   w i t h   C i l i u m   e a s i l y   y o u   c a n   f o l l o w   t h e   C i l i u m   K u b e r n e t e s   G e t t i n g   S t a r t e d   G u i d e   t o   p e r f o r m   a   b a s i c   D a e m o n S e t   i n s t a l l a t i o n   o f   C i l i u m   i n   m i n i k u b e .   T o   s t a r t   m i n i k u b e ,   m i n i m a l   v e r s i o n   r e q u i r e d   i s   > =   v 1 . 5 . 2 ,   r u n   t h e   w i t h   t h e   f o l l o w i n g   a r g u m e n t s :   m i n i k u b e   v e r s i o n   m i n i k u b e   v e r s i o n :   v 1 . 5 . 2   m i n i k u b e   s t a r t   - - n e t w o r k - p l u g i n = c n i   F o r   m i n i k u b e   y o u   c a n   i n s t a l l   C i l i u m   u s i n g   i t s   C L I   t o o l .   T o   d o   s o ,   f i r s t   d o w n l o a d   t h e   l a t e s t   v e r s i o n   o f   t h e   C L I   w i t h   t h e   f o l l o w i n g   c o m m a n d :   c u r l   - L O   h t t p s : / / g i t h u b . c o m / c i l i u m / c i l i u m - c l i / r e l e a s e s / l a t e s t / d o w n l o a d / c i l i u m - l i n u x - a m d 6 4 . t a r . g z   T h e n   e x t r a c t   t h e   d o w n l o a d e d   f i l e   t o   y o u r   / u s r / l o c a l / b i n   d i r e c t o r y   w i t h   t h e   f o l l o w i n g   c o m m a n d :   s u d o   t a r   x z v f C   c i l i u m - l i n u x - a m d 6 4 . t a r . g z   / u s r / l o c a l / b i n   r m   c i l i u m - l i n u x - a m d 6 4 . t a r . g z   A f t e r   r u n n i n g   t h e   a b o v e   c o m m a n d s ,   y o u   c a n   n o w   i n s t a l l   C i l i u m   w i t h   t h e   f o l l o w i n g   c o m m a n d :   c i l i u m   i n s t a l l   C i l i u m   w i l l   t h e n   a u t o m a t i c a l l y   d e t e c t   t h e   c l u s t e r   c o n f i g u r a t i o n   a n d   c r e a t e   a n d   i n s t a l l   t h e   a p p r o p r i a t e   c o m p o n e n t s   f o r   a   s u c c e s s f u l   i n s t a l l a t i o n .   T h e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17610"
  },
  {
    "question": "What is Deploying Cilium for Production Use?",
    "answer": "F o r   d e t a i l e d   i n s t r u c t i o n s   a r o u n d   d e p l o y i n g   C i l i u m   f o r   p r o d u c t i o n ,   s e e :   C i l i u m   K u b e r n e t e s   I n s t a l l a t i o n   G u i d e   T h i s   d o c u m e n t a t i o n   i n c l u d e s   d e t a i l e d   r e q u i r e m e n t s ,   i n s t r u c t i o n s   a n d   e x a m p l e   p r o d u c t i o n   D a e m o n S e t   f i l e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17611"
  },
  {
    "question": "What is Understanding Cilium components?",
    "answer": "D e p l o y i n g   a   c l u s t e r   w i t h   C i l i u m   a d d s   P o d s   t o   t h e   k u b e - s y s t e m   n a m e s p a c e .   T o   s e e   t h i s   l i s t   o f   P o d s   r u n :   k u b e c t l   g e t   p o d s   - - n a m e s p a c e = k u b e - s y s t e m   - l   k 8 s - a p p = c i l i u m   Y o u ' l l   s e e   a   l i s t   o f   P o d s   s i m i l a r   t o   t h i s :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   c i l i u m - k k d h z   1 / 1   R u n n i n g   0   3 m 2 3 s   . . .   A   c i l i u m   P o d   r u n s   o n   e a c h   n o d e   i n   y o u r   c l u s t e r   a n d   e n f o r c e s   n e t w o r k   p o l i c y   o n   t h e   t r a f f i c   t o / f r o m   P o d s   o n   t h a t   n o d e   u s i n g   L i n u x   B P F .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17612"
  },
  {
    "question": "What is What's next?",
    "answer": "O n c e   y o u r   c l u s t e r   i s   r u n n i n g ,   y o u   c a n   f o l l o w   t h e   D e c l a r e   N e t w o r k   P o l i c y   t o   t r y   o u t   K u b e r n e t e s   N e t w o r k P o l i c y   w i t h   C i l i u m .   H a v e   f u n ,   a n d   i f   y o u   h a v e   q u e s t i o n s ,   c o n t a c t   u s   u s i n g   t h e   C i l i u m   S l a c k   C h a n n e l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17613"
  },
  {
    "question": "What is 2.6.4 - Use Kube-router for NetworkPolicy?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   K u b e - r o u t e r   f o r   N e t w o r k P o l i c y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17614"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r   r u n n i n g .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   a n y   o f   t h e   c l u s t e r   i n s t a l l e r s   l i k e   K o p s ,   B o o t k u b e ,   K u b e a d m   e t c .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17615"
  },
  {
    "question": "What is Installing Kube-router addon?",
    "answer": "T h e   K u b e - r o u t e r   A d d o n   c o m e s   w i t h   a   N e t w o r k   P o l i c y   C o n t r o l l e r   t h a t   w a t c h e s   K u b e r n e t e s   A P I   s e r v e r   f o r   a n y   N e t w o r k P o l i c y   a n d   p o d s   u p d a t e d   a n d   c o n f i g u r e s   i p t a b l e s   r u l e s   a n d   i p s e t s   t o   a l l o w   o r   b l o c k   t r a f f i c   a s   d i r e c t e d   b y   t h e   p o l i c i e s .   P l e a s e   f o l l o w   t h e   t r y i n g   K u b e - r o u t e r   w i t h   c l u s t e r   i n s t a l l e r s   g u i d e   t o   i n s t a l l   K u b e - r o u t e r   a d d o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17616"
  },
  {
    "question": "What is What's next?",
    "answer": "O n c e   y o u   h a v e   i n s t a l l e d   t h e   K u b e - r o u t e r   a d d o n ,   y o u   c a n   f o l l o w   t h e   D e c l a r e   N e t w o r k   P o l i c y   t o   t r y   o u t   K u b e r n e t e s   N e t w o r k P o l i c y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17617"
  },
  {
    "question": "What is 2.6.5 - Romana for NetworkPolicy?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   R o m a n a   f o r   N e t w o r k P o l i c y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17618"
  },
  {
    "question": "What is Before you begin?",
    "answer": "C o m p l e t e   s t e p s   1 ,   2 ,   a n d   3   o f   t h e   k u b e a d m   g e t t i n g   s t a r t e d   g u i d e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17619"
  },
  {
    "question": "What is Installing Romana with kubeadm?",
    "answer": "F o l l o w   t h e   c o n t a i n e r i z e d   i n s t a l l a t i o n   g u i d e   f o r   k u b e a d m .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17620"
  },
  {
    "question": "What is Applying network policies?",
    "answer": "T o   a p p l y   n e t w o r k   p o l i c i e s   u s e   o n e   o f   t h e   f o l l o w i n g :   R o m a n a   n e t w o r k   p o l i c i e s . E x a m p l e   o f   R o m a n a   n e t w o r k   p o l i c y . T h e   N e t w o r k P o l i c y   A P I .   E x a m p l e   o f   R o m a n a   n e t w o r k   p o l i c y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17621"
  },
  {
    "question": "What is What's next?",
    "answer": "O n c e   y o u   h a v e   i n s t a l l e d   R o m a n a ,   y o u   c a n   f o l l o w   t h e   D e c l a r e   N e t w o r k   P o l i c y   t o   t r y   o u t   K u b e r n e t e s   N e t w o r k P o l i c y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17622"
  },
  {
    "question": "What is 2.6.6 - Weave Net for NetworkPolicy?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   W e a v e   N e t   f o r   N e t w o r k P o l i c y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17623"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r .   F o l l o w   t h e   k u b e a d m   g e t t i n g   s t a r t e d   g u i d e   t o   b o o t s t r a p   o n e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17624"
  },
  {
    "question": "What is Install the Weave Net addon?",
    "answer": "F o l l o w   t h e   I n t e g r a t i n g   K u b e r n e t e s   v i a   t h e   A d d o n   g u i d e .   T h e   W e a v e   N e t   a d d o n   f o r   K u b e r n e t e s   c o m e s   w i t h   a   N e t w o r k   P o l i c y   C o n t r o l l e r   t h a t   a u t o m a t i c a l l y   m o n i t o r s   K u b e r n e t e s   f o r   a n y   N e t w o r k P o l i c y   a n n o t a t i o n s   o n   a l l   n a m e s p a c e s   a n d   c o n f i g u r e s   i p t a b l e s   r u l e s   t o   a l l o w   o r   b l o c k   t r a f f i c   a s   d i r e c t e d   b y   t h e   p o l i c i e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17625"
  },
  {
    "question": "What is Test the installation?",
    "answer": "V e r i f y   t h a t   t h e   w e a v e   w o r k s .   E n t e r   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   g e t   p o d s   - n   k u b e - s y s t e m   - o   w i d e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   w e a v e - n e t - 1 t 1 q g   2 / 2   R u n n i n g   0   9 d   1 9 2 . 1 6 8 . 2 . 1 0   w o r k n o d e 3   w e a v e - n e t - 2 3 1 d 7   2 / 2   R u n n i n g   1   7 d   1 0 . 2 . 0 . 1 7   w o r k n o d e g p u   w e a v e - n e t - 7 n m w t   2 / 2   R u n n i n g   3   9 d   1 9 2 . 1 6 8 . 2 . 1 3 1   m a s t e r n o d e   w e a v e - n e t - p m w 8 w   2 / 2   R u n n i n g   0   9 d   1 9 2 . 1 6 8 . 2 . 2 1 6   w o r k n o d e 2   E a c h   N o d e   h a s   a   w e a v e   P o d ,   a n d   a l l   P o d s   a r e   R u n n i n g   a n d   2 / 2   R E A D Y .   ( 2 / 2   m e a n s   t h a t   e a c h   P o d   h a s   w e a v e   a n d   w e a v e - n p c . )",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17626"
  },
  {
    "question": "What is What's next?",
    "answer": "O n c e   y o u   h a v e   i n s t a l l e d   t h e   W e a v e   N e t   a d d o n ,   y o u   c a n   f o l l o w   t h e   D e c l a r e   N e t w o r k   P o l i c y   t o   t r y   o u t   K u b e r n e t e s   N e t w o r k P o l i c y .   I f   y o u   h a v e   a n y   q u e s t i o n ,   c o n t a c t   u s   a t   # w e a v e - c o m m u n i t y   o n   S l a c k   o r   W e a v e   U s e r   G r o u p .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17627"
  },
  {
    "question": "What is 2.7 - Access Clusters Using the Kubernetes API?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   a c c e s s   c l u s t e r s   u s i n g   t h e   K u b e r n e t e s   A P I .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17628"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17629"
  },
  {
    "question": "What is Accessing for the first time with kubectl?",
    "answer": "W h e n   a c c e s s i n g   t h e   K u b e r n e t e s   A P I   f o r   t h e   f i r s t   t i m e ,   u s e   t h e   K u b e r n e t e s   c o m m a n d - l i n e   t o o l ,   k u b e c t l .   T o   a c c e s s   a   c l u s t e r ,   y o u   n e e d   t o   k n o w   t h e   l o c a t i o n   o f   t h e   c l u s t e r   a n d   h a v e   c r e d e n t i a l s   t o   a c c e s s   i t .   T y p i c a l l y ,   t h i s   i s   a u t o m a t i c a l l y   s e t - u p   w h e n   y o u   w o r k   t h r o u g h   a   G e t t i n g   s t a r t e d   g u i d e ,   o r   s o m e o n e   e l s e   s e t   u p   t h e   c l u s t e r   a n d   p r o v i d e d   y o u   w i t h   c r e d e n t i a l s   a n d   a   l o c a t i o n .   C h e c k   t h e   l o c a t i o n   a n d   c r e d e n t i a l s   t h a t   k u b e c t l   k n o w s   a b o u t   w i t h   t h i s   c o m m a n d :   k u b e c t l   c o n f i g   v i e w   M a n y   o f   t h e   e x a m p l e s   p r o v i d e   a n   i n t r o d u c t i o n   t o   u s i n g   k u b e c t l .   C o m p l e t e   d o c u m e n t a t i o n   i s   f o u n d   i n   t h e   k u b e c t l   m a n u a l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17630"
  },
  {
    "question": "What is Directly accessing the REST API?",
    "answer": "k u b e c t l   h a n d l e s   l o c a t i n g   a n d   a u t h e n t i c a t i n g   t o   t h e   A P I   s e r v e r .   I f   y o u   w a n t   t o   d i r e c t l y   a c c e s s   t h e   R E S T   A P I   w i t h   a n   h t t p   c l i e n t   l i k e   c u r l   o r   w g e t ,   o r   a   b r o w s e r ,   t h e r e   a r e   m u l t i p l e   w a y s   y o u   c a n   l o c a t e   a n d   a u t h e n t i c a t e   a g a i n s t   t h e   A P I   s e r v e r :   R u n   k u b e c t l   i n   p r o x y   m o d e   ( r e c o m m e n d e d ) .   T h i s   m e t h o d   i s   r e c o m m e n d e d ,   s i n c e   i t   u s e s   t h e   s t o r e d   A P I   s e r v e r   l o c a t i o n   a n d   v e r i f i e s   t h e   i d e n t i t y   o f   t h e   A P I   s e r v e r   u s i n g   a   s e l f - s i g n e d   c e r t i f i c a t e .   N o   m a n - i n - t h e - m i d d l e   ( M I T M )   a t t a c k   i s   p o s s i b l e   u s i n g   t h i s   m e t h o d . A l t e r n a t i v e l y ,   y o u   c a n   p r o v i d e   t h e   l o c a t i o n   a n d   c r e d e n t i a l s   d i r e c t l y   t o   t h e   h t t p   c l i e n t .   T h i s   w o r k s   w i t h   c l i e n t   c o d e   t h a t   i s   c o n f u s e d   b y   p r o x i e s .   T o   p r o t e c t   a g a i n s t   m a n   i n   t h e   m i d d l e   a t t a c k s ,   y o u ' l l   n e e d   t o   i m p o r t   a   r o o t   c e r t   i n t o   y o u r   b r o w s e r .   U s i n g   t h e   G o   o r   P y t h o n   c l i e n t   l i b r a r i e s   p r o v i d e s   a c c e s s i n g   k u b e c t l   i n   p r o x y   m o d e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17631"
  },
  {
    "question": "What is Using kubectl proxy?",
    "answer": "T h e   f o l l o w i n g   c o m m a n d   r u n s   k u b e c t l   i n   a   m o d e   w h e r e   i t   a c t s   a s   a   r e v e r s e   p r o x y .   I t   h a n d l e s   l o c a t i n g   t h e   A P I   s e r v e r   a n d   a u t h e n t i c a t i n g .   R u n   i t   l i k e   t h i s :   k u b e c t l   p r o x y   - - p o r t = 8 0 8 0   &   S e e   k u b e c t l   p r o x y   f o r   m o r e   d e t a i l s .   T h e n   y o u   c a n   e x p l o r e   t h e   A P I   w i t h   c u r l ,   w g e t ,   o r   a   b r o w s e r ,   l i k e   s o :   c u r l   h t t p : / / l o c a l h o s t : 8 0 8 0 / a p i /   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   {   \" v e r s i o n s \" :   [   \" v 1 \"   ] ,   \" s e r v e r A d d r e s s B y C l i e n t C I D R s \" :   [   {   \" c l i e n t C I D R \" :   \" 0 . 0 . 0 . 0 / 0 \" ,   \" s e r v e r A d d r e s s \" :   \" 1 0 . 0 . 1 . 1 4 9 : 4 4 3 \"   }   ]   }",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17632"
  },
  {
    "question": "What is Without kubectl proxy?",
    "answer": "I t   i s   p o s s i b l e   t o   a v o i d   u s i n g   k u b e c t l   p r o x y   b y   p a s s i n g   a n   a u t h e n t i c a t i o n   t o k e n   d i r e c t l y   t o   t h e   A P I   s e r v e r ,   l i k e   t h i s :   U s i n g   g r e p / c u t   a p p r o a c h :   #   C h e c k   a l l   p o s s i b l e   c l u s t e r s ,   a s   y o u r   . K U B E C O N F I G   m a y   h a v e   m u l t i p l e   c o n t e x t s :   k u b e c t l   c o n f i g   v i e w   - o   j s o n p a t h = ' { \" C l u s t e r   n a m e \\ t S e r v e r \\ n \" } { r a n g e   . c l u s t e r s [ * ] } { . n a m e } { \" \\ t \" } { . c l u s t e r . s e r v e r } { \" \\ n \" } { e n d } '   #   S e l e c t   n a m e   o f   c l u s t e r   y o u   w a n t   t o   i n t e r a c t   w i t h   f r o m   a b o v e   o u t p u t :   e x p o r t   C L U S T E R _ N A M E = \" s o m e _ s e r v e r _ n a m e \"   #   P o i n t   t o   t h e   A P I   s e r v e r   r e f e r r i n g   t h e   c l u s t e r   n a m e   A P I S E R V E R = $ ( k u b e c t l   c o n f i g   v i e w   - o   j s o n p a t h = \" { . c l u s t e r s [ ? ( @ . n a m e = = \\ \" $ C L U S T E R _ N A M E \\ \" ) ] . c l u s t e r . s e r v e r } \" )   #   C r e a t e   a   s e c r e t   t o   h o l d   a   t o k e n   f o r   t h e   d e f a u l t   s e r v i c e   a c c o u n t   k u b e c t l   a p p l y   - f   -   < < E O F   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   d e f a u l t - t o k e n   a n n o t a t i o n s :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . n a m e :   d e f a u l t   t y p e :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n   E O F   #   W a i t   f o r   t h e   t o k e n   c o n t r o l l e r   t o   p o p u l a t e   t h e   s e c r e t   w i t h   a   t o k e n :   w h i l e   !   k u b e c t l   d e s c r i b e   s e c r e t   d e f a u l t - t o k e n   |   g r e p   - E   ' ^ t o k e n '   > / d e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17633"
  },
  {
    "question": "What is Programmatic access to the API?",
    "answer": "K u b e r n e t e s   o f f i c i a l l y   s u p p o r t s   c l i e n t   l i b r a r i e s   f o r   G o ,   P y t h o n ,   J a v a ,   d o t n e t ,   J a v a S c r i p t ,   a n d   H a s k e l l .   T h e r e   a r e   o t h e r   c l i e n t   l i b r a r i e s   t h a t   a r e   p r o v i d e d   a n d   m a i n t a i n e d   b y   t h e i r   a u t h o r s ,   n o t   t h e   K u b e r n e t e s   t e a m .   S e e   c l i e n t   l i b r a r i e s   f o r   a c c e s s i n g   t h e   A P I   f r o m   o t h e r   l a n g u a g e s   a n d   h o w   t h e y   a u t h e n t i c a t e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17634"
  },
  {
    "question": "What is Go client?",
    "answer": "T o   g e t   t h e   l i b r a r y ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   g o   g e t   k 8 s . i o / c l i e n t - g o @ k u b e r n e t e s - < k u b e r n e t e s - v e r s i o n - n u m b e r >   S e e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / c l i e n t - g o / r e l e a s e s   t o   s e e   w h i c h   v e r s i o n s   a r e   s u p p o r t e d . W r i t e   a n   a p p l i c a t i o n   a t o p   o f   t h e   c l i e n t - g o   c l i e n t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17635"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   G o   c l i e n t   c a n   u s e   t h e   s a m e   k u b e c o n f i g   f i l e   a s   t h e   k u b e c t l   C L I   d o e s   t o   l o c a t e   a n d   a u t h e n t i c a t e   t o   t h e   A P I   s e r v e r .   S e e   t h i s   e x a m p l e :   p a c k a g e   m a i n   i m p o r t   (   \" c o n t e x t \"   \" f m t \"   \" k 8 s . i o / a p i m a c h i n e r y / p k g / a p i s / m e t a / v 1 \"   \" k 8 s . i o / c l i e n t - g o / k u b e r n e t e s \"   \" k 8 s . i o / c l i e n t - g o / t o o l s / c l i e n t c m d \"   )   f u n c   m a i n ( )   {   / /   u s e s   t h e   c u r r e n t   c o n t e x t   i n   k u b e c o n f i g   / /   p a t h - t o - k u b e c o n f i g   - -   f o r   e x a m p l e ,   / r o o t / . k u b e / c o n f i g   c o n f i g ,   _   : =   c l i e n t c m d . B u i l d C o n f i g F r o m F l a g s ( \" \" ,   \" < p a t h - t o - k u b e c o n f i g > \" )   / /   c r e a t e s   t h e   c l i e n t s e t   c l i e n t s e t ,   _   : =   k u b e r n e t e s . N e w F o r C o n f i g ( c o n f i g )   / /   a c c e s s   t h e   A P I   t o   l i s t   p o d s   p o d s ,   _   : =   c l i e n t s e t . C o r e V 1 ( ) . P o d s ( \" \" ) . L i s t ( c o n t e x t . T O D O ( ) ,   v 1 . L i s t O p t i o n s { } )   f m t . P r i n t f ( \" T h e r e   a r e   % d   p o d s   i n   t h e   c l u s t e r \\ n \" ,   l e n ( p o d s . I t e m s ) )   }   I f   t h e   a p p l i c a t i o n   i s   d e p l o y e d   a s   a   P o d   i n   t h e   c l u s t e r ,   s e e   A c c e s s i n g   t h e   A P I   f r o m   w i t h i n   a   P o d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17636"
  },
  {
    "question": "What is Python client?",
    "answer": "T o   u s e   P y t h o n   c l i e n t ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   p i p   i n s t a l l   k u b e r n e t e s .   S e e   P y t h o n   C l i e n t   L i b r a r y   p a g e   f o r   m o r e   i n s t a l l a t i o n   o p t i o n s .   T h e   P y t h o n   c l i e n t   c a n   u s e   t h e   s a m e   k u b e c o n f i g   f i l e   a s   t h e   k u b e c t l   C L I   d o e s   t o   l o c a t e   a n d   a u t h e n t i c a t e   t o   t h e   A P I   s e r v e r .   S e e   t h i s   e x a m p l e :   f r o m   k u b e r n e t e s   i m p o r t   c l i e n t ,   c o n f i g   c o n f i g . l o a d _ k u b e _ c o n f i g ( )   v 1 = c l i e n t . C o r e V 1 A p i ( )   p r i n t ( \" L i s t i n g   p o d s   w i t h   t h e i r   I P s : \" )   r e t   =   v 1 . l i s t _ p o d _ f o r _ a l l _ n a m e s p a c e s ( w a t c h = F a l s e )   f o r   i   i n   r e t . i t e m s :   p r i n t ( \" % s \\ t % s \\ t % s \"   %   ( i . s t a t u s . p o d _ i p ,   i . m e t a d a t a . n a m e s p a c e ,   i . m e t a d a t a . n a m e ) )",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17637"
  },
  {
    "question": "What is Java client?",
    "answer": "T o   i n s t a l l   t h e   J a v a   C l i e n t ,   r u n :   #   C l o n e   j a v a   l i b r a r y   g i t   c l o n e   - - r e c u r s i v e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s - c l i e n t / j a v a   #   I n s t a l l i n g   p r o j e c t   a r t i f a c t s ,   P O M   e t c :   c d   j a v a   m v n   i n s t a l l   S e e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s - c l i e n t / j a v a / r e l e a s e s   t o   s e e   w h i c h   v e r s i o n s   a r e   s u p p o r t e d .   T h e   J a v a   c l i e n t   c a n   u s e   t h e   s a m e   k u b e c o n f i g   f i l e   a s   t h e   k u b e c t l   C L I   d o e s   t o   l o c a t e   a n d   a u t h e n t i c a t e   t o   t h e   A P I   s e r v e r .   S e e   t h i s   e x a m p l e :   p a c k a g e   i o . k u b e r n e t e s . c l i e n t . e x a m p l e s ;   i m p o r t   i o . k u b e r n e t e s . c l i e n t . A p i C l i e n t ;   i m p o r t   i o . k u b e r n e t e s . c l i e n t . A p i E x c e p t i o n ;   i m p o r t   i o . k u b e r n e t e s . c l i e n t . C o n f i g u r a t i o n ;   i m p o r t   i o . k u b e r n e t e s . c l i e n t . a p i s . C o r e V 1 A p i ;   i m p o r t   i o . k u b e r n e t e s . c l i e n t . m o d e l s . V 1 P o d ;   i m p o r t   i o . k u b e r n e t e s . c l i e n t . m o d e l s . V 1 P o d L i s t ;   i m p o r t   i o . k u b e r n e t e s . c l i e n t . u t i l . C l i e n t B u i l d e r ;   i m p o r t   i o . k u b e r n e t e s . c l i e n t . u t i l . K u b e C o n f i g ;   i m p o r t   j a v a . i o . F i l e R e a d e r ;   i m p o r t   j a v a . i o . I O E x c e p t i o n ;   / * *   *   A   s i m p l e   e x a m p l e   o f   h o w   t o   u s e   t h e   J a v a   A P I   f r o m   a n   a p p l i c a t i o n   o u t s i d e   a   k u b e r n e t e s   c l u s t e r   *   *   < p > E a s i e s t   w a y   t o   r u n   t h i s :   m v n   e x e c : j a v a   *   - D ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17638"
  },
  {
    "question": "What is dotnet client?",
    "answer": "T o   u s e   d o t n e t   c l i e n t ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   d o t n e t   a d d   p a c k a g e   K u b e r n e t e s C l i e n t   - - v e r s i o n   1 . 6 . 1 .   S e e   d o t n e t   C l i e n t   L i b r a r y   p a g e   f o r   m o r e   i n s t a l l a t i o n   o p t i o n s .   S e e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s - c l i e n t / c s h a r p / r e l e a s e s   t o   s e e   w h i c h   v e r s i o n s   a r e   s u p p o r t e d .   T h e   d o t n e t   c l i e n t   c a n   u s e   t h e   s a m e   k u b e c o n f i g   f i l e   a s   t h e   k u b e c t l   C L I   d o e s   t o   l o c a t e   a n d   a u t h e n t i c a t e   t o   t h e   A P I   s e r v e r .   S e e   t h i s   e x a m p l e :   u s i n g   S y s t e m ;   u s i n g   k 8 s ;   n a m e s p a c e   s i m p l e   {   i n t e r n a l   c l a s s   P o d L i s t   {   p r i v a t e   s t a t i c   v o i d   M a i n ( s t r i n g [ ]   a r g s )   {   v a r   c o n f i g   =   K u b e r n e t e s C l i e n t C o n f i g u r a t i o n . B u i l d D e f a u l t C o n f i g ( ) ;   I K u b e r n e t e s   c l i e n t   =   n e w   K u b e r n e t e s ( c o n f i g ) ;   C o n s o l e . W r i t e L i n e ( \" S t a r t i n g   R e q u e s t ! \" ) ;   v a r   l i s t   =   c l i e n t . L i s t N a m e s p a c e d P o d ( \" d e f a u l t \" ) ;   f o r e a c h   ( v a r   i t e m   i n   l i s t . I t e m s )   {   C o n s o l e . W r i t e L i n e ( i t e m . M e t a d a t a . N a m e ) ;   }   i f   ( l i s t . I t e m s . C o u n t   = =   0 )   {   C o n s o l e . W r i t e L i n e ( \" E m p t y ! \" ) ;   }   }   }   }",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17639"
  },
  {
    "question": "What is JavaScript client?",
    "answer": "T o   i n s t a l l   J a v a S c r i p t   c l i e n t ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   n p m   i n s t a l l   @ k u b e r n e t e s / c l i e n t - n o d e .   S e e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s - c l i e n t / j a v a s c r i p t / r e l e a s e s   t o   s e e   w h i c h   v e r s i o n s   a r e   s u p p o r t e d .   T h e   J a v a S c r i p t   c l i e n t   c a n   u s e   t h e   s a m e   k u b e c o n f i g   f i l e   a s   t h e   k u b e c t l   C L I   d o e s   t o   l o c a t e   a n d   a u t h e n t i c a t e   t o   t h e   A P I   s e r v e r .   S e e   t h i s   e x a m p l e :   c o n s t   k 8 s   =   r e q u i r e ( ' @ k u b e r n e t e s / c l i e n t - n o d e ' ) ;   c o n s t   k c   =   n e w   k 8 s . K u b e C o n f i g ( ) ;   k c . l o a d F r o m D e f a u l t ( ) ;   c o n s t   k 8 s A p i   =   k c . m a k e A p i C l i e n t ( k 8 s . C o r e V 1 A p i ) ;   k 8 s A p i . l i s t N a m e s p a c e d P o d ( {   n a m e s p a c e :   ' d e f a u l t '   } ) . t h e n ( ( r e s )   = >   {   c o n s o l e . l o g ( r e s ) ;   } ) ;",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17640"
  },
  {
    "question": "What is Haskell client?",
    "answer": "S e e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s - c l i e n t / h a s k e l l / r e l e a s e s   t o   s e e   w h i c h   v e r s i o n s   a r e   s u p p o r t e d .   T h e   H a s k e l l   c l i e n t   c a n   u s e   t h e   s a m e   k u b e c o n f i g   f i l e   a s   t h e   k u b e c t l   C L I   d o e s   t o   l o c a t e   a n d   a u t h e n t i c a t e   t o   t h e   A P I   s e r v e r .   S e e   t h i s   e x a m p l e :   e x a m p l e W i t h K u b e C o n f i g   : :   I O   ( )   e x a m p l e W i t h K u b e C o n f i g   =   d o   o i d c C a c h e   < -   a t o m i c a l l y   $   n e w T V a r   $   M a p . f r o m L i s t   [ ]   ( m g r ,   k c f g )   < -   m k K u b e C l i e n t C o n f i g   o i d c C a c h e   $   K u b e C o n f i g F i l e   \" / p a t h / t o / k u b e c o n f i g \"   d i s p a t c h M i m e   m g r   k c f g   ( C o r e V 1 . l i s t P o d F o r A l l N a m e s p a c e s   ( A c c e p t   M i m e J S O N ) )   > > =   p r i n t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17641"
  },
  {
    "question": "What is What's next?",
    "answer": "A c c e s s i n g   t h e   K u b e r n e t e s   A P I   f r o m   a   P o d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17642"
  },
  {
    "question": "What is 2.8 - Advertise Extended Resources for a Node?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   s p e c i f y   e x t e n d e d   r e s o u r c e s   f o r   a   N o d e .   E x t e n d e d   r e s o u r c e s   a l l o w   c l u s t e r   a d m i n i s t r a t o r s   t o   a d v e r t i s e   n o d e - l e v e l   r e s o u r c e s   t h a t   w o u l d   o t h e r w i s e   b e   u n k n o w n   t o   K u b e r n e t e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17643"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17644"
  },
  {
    "question": "What is Get the names of your Nodes?",
    "answer": "k u b e c t l   g e t   n o d e s   C h o o s e   o n e   o f   y o u r   N o d e s   t o   u s e   f o r   t h i s   e x e r c i s e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17645"
  },
  {
    "question": "What is Advertise a new extended resource on one of your Nodes?",
    "answer": "T o   a d v e r t i s e   a   n e w   e x t e n d e d   r e s o u r c e   o n   a   N o d e ,   s e n d   a n   H T T P   P A T C H   r e q u e s t   t o   t h e   K u b e r n e t e s   A P I   s e r v e r .   F o r   e x a m p l e ,   s u p p o s e   o n e   o f   y o u r   N o d e s   h a s   f o u r   d o n g l e s   a t t a c h e d .   H e r e ' s   a n   e x a m p l e   o f   a   P A T C H   r e q u e s t   t h a t   a d v e r t i s e s   f o u r   d o n g l e   r e s o u r c e s   f o r   y o u r   N o d e .   P A T C H   / a p i / v 1 / n o d e s / < y o u r - n o d e - n a m e > / s t a t u s   H T T P / 1 . 1   A c c e p t :   a p p l i c a t i o n / j s o n   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n - p a t c h + j s o n   H o s t :   k 8 s - m a s t e r : 8 0 8 0   [   {   \" o p \" :   \" a d d \" ,   \" p a t h \" :   \" / s t a t u s / c a p a c i t y / e x a m p l e . c o m ~ 1 d o n g l e \" ,   \" v a l u e \" :   \" 4 \"   }   ]   N o t e   t h a t   K u b e r n e t e s   d o e s   n o t   n e e d   t o   k n o w   w h a t   a   d o n g l e   i s   o r   w h a t   a   d o n g l e   i s   f o r .   T h e   p r e c e d i n g   P A T C H   r e q u e s t   t e l l s   K u b e r n e t e s   t h a t   y o u r   N o d e   h a s   f o u r   t h i n g s   t h a t   y o u   c a l l   d o n g l e s .   S t a r t   a   p r o x y ,   s o   t h a t   y o u   c a n   e a s i l y   s e n d   r e q u e s t s   t o   t h e   K u b e r n e t e s   A P I   s e r v e r :   k u b e c t l   p r o x y   I n   a n o t h e r   c o m m a n d   w i n d o w ,   s e n d   t h e   H T T P   P A T C H   r e q u e s t .   R e p l a c e   < y o u r - n o d e - n a m e >   w i t h   t h e   n a m e   o f   y o u r   N o d e :   c u r l   - - h e a d e r   \" C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n - p a t c h + j s o n \"   \\   - - r e q u e s t   P A T C H   \\   - - d a t a   ' [ { \" o p \" :   \" a d d \" ,   \" p a t h \" :   \" / s t a t u s / c a p a c i t y ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17646"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   o u t p u t   s h o w s   t h a t   t h e   N o d e   h a s   a   c a p a c i t y   o f   4   d o n g l e s :   \" c a p a c i t y \" :   {   \" c p u \" :   \" 2 \" ,   \" m e m o r y \" :   \" 2 0 4 9 0 0 8 K i \" ,   \" e x a m p l e . c o m / d o n g l e \" :   \" 4 \" ,   D e s c r i b e   y o u r   N o d e :   k u b e c t l   d e s c r i b e   n o d e   < y o u r - n o d e - n a m e >   O n c e   a g a i n ,   t h e   o u t p u t   s h o w s   t h e   d o n g l e   r e s o u r c e :   C a p a c i t y :   c p u :   2   m e m o r y :   2 0 4 9 0 0 8 K i   e x a m p l e . c o m / d o n g l e :   4   N o w ,   a p p l i c a t i o n   d e v e l o p e r s   c a n   c r e a t e   P o d s   t h a t   r e q u e s t   a   c e r t a i n   n u m b e r   o f   d o n g l e s .   S e e   A s s i g n   E x t e n d e d   R e s o u r c e s   t o   a   C o n t a i n e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17647"
  },
  {
    "question": "What is Discussion?",
    "answer": "E x t e n d e d   r e s o u r c e s   a r e   s i m i l a r   t o   m e m o r y   a n d   C P U   r e s o u r c e s .   F o r   e x a m p l e ,   j u s t   a s   a   N o d e   h a s   a   c e r t a i n   a m o u n t   o f   m e m o r y   a n d   C P U   t o   b e   s h a r e d   b y   a l l   c o m p o n e n t s   r u n n i n g   o n   t h e   N o d e ,   i t   c a n   h a v e   a   c e r t a i n   n u m b e r   o f   d o n g l e s   t o   b e   s h a r e d   b y   a l l   c o m p o n e n t s   r u n n i n g   o n   t h e   N o d e .   A n d   j u s t   a s   a p p l i c a t i o n   d e v e l o p e r s   c a n   c r e a t e   P o d s   t h a t   r e q u e s t   a   c e r t a i n   a m o u n t   o f   m e m o r y   a n d   C P U ,   t h e y   c a n   c r e a t e   P o d s   t h a t   r e q u e s t   a   c e r t a i n   n u m b e r   o f   d o n g l e s .   E x t e n d e d   r e s o u r c e s   a r e   o p a q u e   t o   K u b e r n e t e s ;   K u b e r n e t e s   d o e s   n o t   k n o w   a n y t h i n g   a b o u t   w h a t   t h e y   a r e .   K u b e r n e t e s   k n o w s   o n l y   t h a t   a   N o d e   h a s   a   c e r t a i n   n u m b e r   o f   t h e m .   E x t e n d e d   r e s o u r c e s   m u s t   b e   a d v e r t i s e d   i n   i n t e g e r   a m o u n t s .   F o r   e x a m p l e ,   a   N o d e   c a n   a d v e r t i s e   f o u r   d o n g l e s ,   b u t   n o t   4 . 5   d o n g l e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17648"
  },
  {
    "question": "What is Storage example?",
    "answer": "S u p p o s e   a   N o d e   h a s   8 0 0   G i B   o f   a   s p e c i a l   k i n d   o f   d i s k   s t o r a g e .   Y o u   c o u l d   c r e a t e   a   n a m e   f o r   t h e   s p e c i a l   s t o r a g e ,   s a y   e x a m p l e . c o m / s p e c i a l - s t o r a g e .   T h e n   y o u   c o u l d   a d v e r t i s e   i t   i n   c h u n k s   o f   a   c e r t a i n   s i z e ,   s a y   1 0 0   G i B .   I n   t h a t   c a s e ,   y o u r   N o d e   w o u l d   a d v e r t i s e   t h a t   i t   h a s   e i g h t   r e s o u r c e s   o f   t y p e   e x a m p l e . c o m / s p e c i a l - s t o r a g e .   C a p a c i t y :   . . .   e x a m p l e . c o m / s p e c i a l - s t o r a g e :   8   I f   y o u   w a n t   t o   a l l o w   a r b i t r a r y   r e q u e s t s   f o r   s p e c i a l   s t o r a g e ,   y o u   c o u l d   a d v e r t i s e   s p e c i a l   s t o r a g e   i n   c h u n k s   o f   s i z e   1   b y t e .   I n   t h a t   c a s e ,   y o u   w o u l d   a d v e r t i s e   8 0 0 G i   r e s o u r c e s   o f   t y p e   e x a m p l e . c o m / s p e c i a l - s t o r a g e .   C a p a c i t y :   . . .   e x a m p l e . c o m / s p e c i a l - s t o r a g e :   8 0 0 G i   T h e n   a   C o n t a i n e r   c o u l d   r e q u e s t   a n y   n u m b e r   o f   b y t e s   o f   s p e c i a l   s t o r a g e ,   u p   t o   8 0 0 G i .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17649"
  },
  {
    "question": "What is Clean up?",
    "answer": "H e r e   i s   a   P A T C H   r e q u e s t   t h a t   r e m o v e s   t h e   d o n g l e   a d v e r t i s e m e n t   f r o m   a   N o d e .   P A T C H   / a p i / v 1 / n o d e s / < y o u r - n o d e - n a m e > / s t a t u s   H T T P / 1 . 1   A c c e p t :   a p p l i c a t i o n / j s o n   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n - p a t c h + j s o n   H o s t :   k 8 s - m a s t e r : 8 0 8 0   [   {   \" o p \" :   \" r e m o v e \" ,   \" p a t h \" :   \" / s t a t u s / c a p a c i t y / e x a m p l e . c o m ~ 1 d o n g l e \" ,   }   ]   S t a r t   a   p r o x y ,   s o   t h a t   y o u   c a n   e a s i l y   s e n d   r e q u e s t s   t o   t h e   K u b e r n e t e s   A P I   s e r v e r :   k u b e c t l   p r o x y   I n   a n o t h e r   c o m m a n d   w i n d o w ,   s e n d   t h e   H T T P   P A T C H   r e q u e s t .   R e p l a c e   < y o u r - n o d e - n a m e >   w i t h   t h e   n a m e   o f   y o u r   N o d e :   c u r l   - - h e a d e r   \" C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n - p a t c h + j s o n \"   \\   - - r e q u e s t   P A T C H   \\   - - d a t a   ' [ { \" o p \" :   \" r e m o v e \" ,   \" p a t h \" :   \" / s t a t u s / c a p a c i t y / e x a m p l e . c o m ~ 1 d o n g l e \" } ] '   \\   h t t p : / / l o c a l h o s t : 8 0 0 1 / a p i / v 1 / n o d e s / < y o u r - n o d e - n a m e > / s t a t u s   V e r i f y   t h a t   t h e   d o n g l e   a d v e r t i s e m e n t   h a s   b e e n   r e m o v e d :   k u b e c t l   d e s c r i b e   n o d e   < y o u r - n o d e - n a m e >   |   g r e p   d o n g l e   ( y o u   s h o u l d   n o t   s e e   a n y   o u t p u t )",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17650"
  },
  {
    "question": "What is For application developers?",
    "answer": "A s s i g n   E x t e n d e d   R e s o u r c e s   t o   a   C o n t a i n e r E x t e n d e d   R e s o u r c e   a l l o c a t i o n   b y   D R A",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17651"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e E x t e n d e d   R e s o u r c e   a l l o c a t i o n   b y   D R A",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17652"
  },
  {
    "question": "What is 2.9 - Autoscale the DNS Service in a Cluster?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   e n a b l e   a n d   c o n f i g u r e   a u t o s c a l i n g   o f   t h e   D N S   s e r v i c e   i n   y o u r   K u b e r n e t e s   c l u s t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17653"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n . T h i s   g u i d e   a s s u m e s   y o u r   n o d e s   u s e   t h e   A M D 6 4   o r   I n t e l   6 4   C P U   a r c h i t e c t u r e . M a k e   s u r e   K u b e r n e t e s   D N S   i s   e n a b l e d .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17654"
  },
  {
    "question": "What is Determine whether DNS horizontal autoscaling is already enabled?",
    "answer": "L i s t   t h e   D e p l o y m e n t s   i n   y o u r   c l u s t e r   i n   t h e   k u b e - s y s t e m   n a m e s p a c e :   k u b e c t l   g e t   d e p l o y m e n t   - - n a m e s p a c e = k u b e - s y s t e m   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   . . .   k u b e - d n s - a u t o s c a l e r   1 / 1   1   1   . . .   . . .   I f   y o u   s e e   \" k u b e - d n s - a u t o s c a l e r \"   i n   t h e   o u t p u t ,   D N S   h o r i z o n t a l   a u t o s c a l i n g   i s   a l r e a d y   e n a b l e d ,   a n d   y o u   c a n   s k i p   t o   T u n i n g   a u t o s c a l i n g   p a r a m e t e r s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17655"
  },
  {
    "question": "What is Get the name of your DNS Deployment?",
    "answer": "L i s t   t h e   D N S   d e p l o y m e n t s   i n   y o u r   c l u s t e r   i n   t h e   k u b e - s y s t e m   n a m e s p a c e :   k u b e c t l   g e t   d e p l o y m e n t   - l   k 8 s - a p p = k u b e - d n s   - - n a m e s p a c e = k u b e - s y s t e m   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   . . .   c o r e d n s   2 / 2   2   2   . . .   . . .   I f   y o u   d o n ' t   s e e   a   D e p l o y m e n t   f o r   D N S   s e r v i c e s ,   y o u   c a n   a l s o   l o o k   f o r   i t   b y   n a m e :   k u b e c t l   g e t   d e p l o y m e n t   - - n a m e s p a c e = k u b e - s y s t e m   a n d   l o o k   f o r   a   d e p l o y m e n t   n a m e d   c o r e d n s   o r   k u b e - d n s .   Y o u r   s c a l e   t a r g e t   i s   D e p l o y m e n t / < y o u r - d e p l o y m e n t - n a m e >   w h e r e   < y o u r - d e p l o y m e n t - n a m e >   i s   t h e   n a m e   o f   y o u r   D N S   D e p l o y m e n t .   F o r   e x a m p l e ,   i f   t h e   n a m e   o f   y o u r   D e p l o y m e n t   f o r   D N S   i s   c o r e d n s ,   y o u r   s c a l e   t a r g e t   i s   D e p l o y m e n t / c o r e d n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17656"
  },
  {
    "question": "What is Enable DNS horizontal autoscaling?",
    "answer": "I n   t h i s   s e c t i o n ,   y o u   c r e a t e   a   n e w   D e p l o y m e n t .   T h e   P o d s   i n   t h e   D e p l o y m e n t   r u n   a   c o n t a i n e r   b a s e d   o n   t h e   c l u s t e r - p r o p o r t i o n a l - a u t o s c a l e r - a m d 6 4   i m a g e .   C r e a t e   a   f i l e   n a m e d   d n s - h o r i z o n t a l - a u t o s c a l e r . y a m l   w i t h   t h i s   c o n t e n t :   k i n d :   S e r v i c e A c c o u n t   a p i V e r s i o n :   v 1   m e t a d a t a :   n a m e :   k u b e - d n s - a u t o s c a l e r   n a m e s p a c e :   k u b e - s y s t e m   - - -   k i n d :   C l u s t e r R o l e   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   m e t a d a t a :   n a m e :   s y s t e m : k u b e - d n s - a u t o s c a l e r   r u l e s :   -   a p i G r o u p s :   [ \" \" ]   r e s o u r c e s :   [ \" n o d e s \" ]   v e r b s :   [ \" l i s t \" ,   \" w a t c h \" ]   -   a p i G r o u p s :   [ \" \" ]   r e s o u r c e s :   [ \" r e p l i c a t i o n c o n t r o l l e r s / s c a l e \" ]   v e r b s :   [ \" g e t \" ,   \" u p d a t e \" ]   -   a p i G r o u p s :   [ \" a p p s \" ]   r e s o u r c e s :   [ \" d e p l o y m e n t s / s c a l e \" ,   \" r e p l i c a s e t s / s c a l e \" ]   v e r b s :   [ \" g e t \" ,   \" u p d a t e \" ]   #   R e m o v e   t h e   c o n f i g m a p s   r u l e   o n c e   b e l o w   i s s u e   i s   f i x e d :   #   k u b e r n e t e s - i n c u b a t o r / c l u s t e r - p r o p o r t i o n a l - a u t o s c a l e r # 1 6   -   a p i G r o u p s :   [ \" \" ]   r e s o u r c e s :   [ \" c o n f i g m a p s \" ]   v e r b s :   [ \" g e t \" ,   \" c r e a t e \" ]   - - -   k i n d :   C l u s t e r R o l e B i n d i n g   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   m e t a d a t a :   n a m e :   s y s t e m : k u b e - d n s - a u t o s c a l e r   s u b j e c t s :   -   k i n d :   S e r v i c e A c ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17657"
  },
  {
    "question": "What is Tune DNS autoscaling parameters?",
    "answer": "V e r i f y   t h a t   t h e   k u b e - d n s - a u t o s c a l e r   C o n f i g M a p   e x i s t s :   k u b e c t l   g e t   c o n f i g m a p   - - n a m e s p a c e = k u b e - s y s t e m   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   D A T A   A G E   . . .   k u b e - d n s - a u t o s c a l e r   1   . . .   . . .   M o d i f y   t h e   d a t a   i n   t h e   C o n f i g M a p :   k u b e c t l   e d i t   c o n f i g m a p   k u b e - d n s - a u t o s c a l e r   - - n a m e s p a c e = k u b e - s y s t e m   L o o k   f o r   t h i s   l i n e :   l i n e a r :   ' { \" c o r e s P e r R e p l i c a \" : 2 5 6 , \" m i n \" : 1 , \" n o d e s P e r R e p l i c a \" : 1 6 } '   M o d i f y   t h e   f i e l d s   a c c o r d i n g   t o   y o u r   n e e d s .   T h e   \" m i n \"   f i e l d   i n d i c a t e s   t h e   m i n i m a l   n u m b e r   o f   D N S   b a c k e n d s .   T h e   a c t u a l   n u m b e r   o f   b a c k e n d s   i s   c a l c u l a t e d   u s i n g   t h i s   e q u a t i o n :   r e p l i c a s   =   m a x (   c e i l (   c o r e s   ×   1 / c o r e s P e r R e p l i c a   )   ,   c e i l (   n o d e s   ×   1 / n o d e s P e r R e p l i c a   )   )   N o t e   t h a t   t h e   v a l u e s   o f   b o t h   c o r e s P e r R e p l i c a   a n d   n o d e s P e r R e p l i c a   a r e   f l o a t s .   T h e   i d e a   i s   t h a t   w h e n   a   c l u s t e r   i s   u s i n g   n o d e s   t h a t   h a v e   m a n y   c o r e s ,   c o r e s P e r R e p l i c a   d o m i n a t e s .   W h e n   a   c l u s t e r   i s   u s i n g   n o d e s   t h a t   h a v e   f e w e r   c o r e s ,   n o d e s P e r R e p l i c a   d o m i n a t e s .   T h e r e   a r e   o t h e r   s u p p o r t e d   s c a l i n g   p a t t e r n s .   F o r   d e t a i l s ,   s e e   c l u s t e r - p r o p o r t i o n a l - a u t o s c a l e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17658"
  },
  {
    "question": "What is Disable DNS horizontal autoscaling?",
    "answer": "T h e r e   a r e   a   f e w   o p t i o n s   f o r   t u n i n g   D N S   h o r i z o n t a l   a u t o s c a l i n g .   W h i c h   o p t i o n   t o   u s e   d e p e n d s   o n   d i f f e r e n t   c o n d i t i o n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17659"
  },
  {
    "question": "What is Option 1: Scale down the kube-dns-autoscaler deployment to 0 replicas?",
    "answer": "T h i s   o p t i o n   w o r k s   f o r   a l l   s i t u a t i o n s .   E n t e r   t h i s   c o m m a n d :   k u b e c t l   s c a l e   d e p l o y m e n t   - - r e p l i c a s = 0   k u b e - d n s - a u t o s c a l e r   - - n a m e s p a c e = k u b e - s y s t e m   T h e   o u t p u t   i s :   d e p l o y m e n t . a p p s / k u b e - d n s - a u t o s c a l e r   s c a l e d   V e r i f y   t h a t   t h e   r e p l i c a   c o u n t   i s   z e r o :   k u b e c t l   g e t   r s   - - n a m e s p a c e = k u b e - s y s t e m   T h e   o u t p u t   d i s p l a y s   0   i n   t h e   D E S I R E D   a n d   C U R R E N T   c o l u m n s :   N A M E   D E S I R E D   C U R R E N T   R E A D Y   A G E   . . .   k u b e - d n s - a u t o s c a l e r - 6 b 5 9 7 8 9 f c 8   0   0   0   . . .   . . .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17660"
  },
  {
    "question": "What is Option 2: Delete the kube-dns-autoscaler deployment?",
    "answer": "T h i s   o p t i o n   w o r k s   i f   k u b e - d n s - a u t o s c a l e r   i s   u n d e r   y o u r   o w n   c o n t r o l ,   w h i c h   m e a n s   n o   o n e   w i l l   r e - c r e a t e   i t :   k u b e c t l   d e l e t e   d e p l o y m e n t   k u b e - d n s - a u t o s c a l e r   - - n a m e s p a c e = k u b e - s y s t e m   T h e   o u t p u t   i s :   d e p l o y m e n t . a p p s   \" k u b e - d n s - a u t o s c a l e r \"   d e l e t e d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17661"
  },
  {
    "question": "What is Option 3: Delete the kube-dns-autoscaler manifest file from the master node?",
    "answer": "T h i s   o p t i o n   w o r k s   i f   k u b e - d n s - a u t o s c a l e r   i s   u n d e r   c o n t r o l   o f   t h e   ( d e p r e c a t e d )   A d d o n   M a n a g e r ,   a n d   y o u   h a v e   w r i t e   a c c e s s   t o   t h e   m a s t e r   n o d e .   S i g n   i n   t o   t h e   m a s t e r   n o d e   a n d   d e l e t e   t h e   c o r r e s p o n d i n g   m a n i f e s t   f i l e .   T h e   c o m m o n   p a t h   f o r   t h i s   k u b e - d n s - a u t o s c a l e r   i s :   / e t c / k u b e r n e t e s / a d d o n s / d n s - h o r i z o n t a l - a u t o s c a l e r / d n s - h o r i z o n t a l - a u t o s c a l e r . y a m l   A f t e r   t h e   m a n i f e s t   f i l e   i s   d e l e t e d ,   t h e   A d d o n   M a n a g e r   w i l l   d e l e t e   t h e   k u b e - d n s - a u t o s c a l e r   D e p l o y m e n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17662"
  },
  {
    "question": "What is Understanding how DNS horizontal autoscaling works?",
    "answer": "T h e   c l u s t e r - p r o p o r t i o n a l - a u t o s c a l e r   a p p l i c a t i o n   i s   d e p l o y e d   s e p a r a t e l y   f r o m   t h e   D N S   s e r v i c e . A n   a u t o s c a l e r   P o d   r u n s   a   c l i e n t   t h a t   p o l l s   t h e   K u b e r n e t e s   A P I   s e r v e r   f o r   t h e   n u m b e r   o f   n o d e s   a n d   c o r e s   i n   t h e   c l u s t e r . A   d e s i r e d   r e p l i c a   c o u n t   i s   c a l c u l a t e d   a n d   a p p l i e d   t o   t h e   D N S   b a c k e n d s   b a s e d   o n   t h e   c u r r e n t   s c h e d u l a b l e   n o d e s   a n d   c o r e s   a n d   t h e   g i v e n   s c a l i n g   p a r a m e t e r s . T h e   s c a l i n g   p a r a m e t e r s   a n d   d a t a   p o i n t s   a r e   p r o v i d e d   v i a   a   C o n f i g M a p   t o   t h e   a u t o s c a l e r ,   a n d   i t   r e f r e s h e s   i t s   p a r a m e t e r s   t a b l e   e v e r y   p o l l   i n t e r v a l   t o   b e   u p   t o   d a t e   w i t h   t h e   l a t e s t   d e s i r e d   s c a l i n g   p a r a m e t e r s . C h a n g e s   t o   t h e   s c a l i n g   p a r a m e t e r s   a r e   a l l o w e d   w i t h o u t   r e b u i l d i n g   o r   r e s t a r t i n g   t h e   a u t o s c a l e r   P o d . T h e   a u t o s c a l e r   p r o v i d e s   a   c o n t r o l l e r   i n t e r f a c e   t o   s u p p o r t   t w o   c o n t r o l   p a t t e r n s :   l i n e a r   a n d   l a d d e r .   T h e   c l u s t e r - p r o p o r t i o n a l - a u t o s c a l e r   a p p l i c a t i o n   i s   d e p l o y e d   s e p a r a t e l y   f r o m   t h e   D N S   s e r v i c e .   A n   a u t o s c a l e r   P o d   r u n s   a   c l i e n t   t h a t   p o l l s   t h e   K u b e r n e t e s   A P I   s e r v e r   f o r   t h e   n u m b e r   o f   n o d e s   a n d   c o r e s   i n   t h e   c l u s t e r .   A   d e s i r e d   r e p l i c a   c o u n t   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17663"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   G u a r a n t e e d   S c h e d u l i n g   F o r   C r i t i c a l   A d d - O n   P o d s . L e a r n   m o r e   a b o u t   t h e   i m p l e m e n t a t i o n   o f   c l u s t e r - p r o p o r t i o n a l - a u t o s c a l e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17664"
  },
  {
    "question": "What is 2.10 - Change the Access Mode of a PersistentVolume to ReadWriteOncePod?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c h a n g e   t h e   a c c e s s   m o d e   o n   a n   e x i s t i n g   P e r s i s t e n t V o l u m e   t o   u s e   R e a d W r i t e O n c e P o d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17665"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 2 2 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17666"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   R e a d W r i t e O n c e P o d   a c c e s s   m o d e   i s   o n l y   s u p p o r t e d   f o r   C S I   v o l u m e s .   T o   u s e   t h i s   v o l u m e   a c c e s s   m o d e   y o u   w i l l   n e e d   t o   u p d a t e   t h e   f o l l o w i n g   C S I   s i d e c a r s   t o   t h e s e   v e r s i o n s   o r   g r e a t e r :   c s i - p r o v i s i o n e r : v 3 . 0 . 0 + c s i - a t t a c h e r : v 3 . 3 . 0 + c s i - r e s i z e r : v 1 . 3 . 0 +",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17667"
  },
  {
    "question": "What is Why should I use ReadWriteOncePod??",
    "answer": "P r i o r   t o   K u b e r n e t e s   v 1 . 2 2 ,   t h e   R e a d W r i t e O n c e   a c c e s s   m o d e   w a s   c o m m o n l y   u s e d   t o   r e s t r i c t   P e r s i s t e n t V o l u m e   a c c e s s   f o r   w o r k l o a d s   t h a t   r e q u i r e d   s i n g l e - w r i t e r   a c c e s s   t o   s t o r a g e .   H o w e v e r ,   t h i s   a c c e s s   m o d e   h a d   a   l i m i t a t i o n :   i t   r e s t r i c t e d   v o l u m e   a c c e s s   t o   a   s i n g l e   n o d e ,   a l l o w i n g   m u l t i p l e   p o d s   o n   t h e   s a m e   n o d e   t o   r e a d   f r o m   a n d   w r i t e   t o   t h e   s a m e   v o l u m e   s i m u l t a n e o u s l y .   T h i s   c o u l d   p o s e   a   r i s k   f o r   a p p l i c a t i o n s   t h a t   d e m a n d   s t r i c t   s i n g l e - w r i t e r   a c c e s s   f o r   d a t a   s a f e t y .   I f   e n s u r i n g   s i n g l e - w r i t e r   a c c e s s   i s   c r i t i c a l   f o r   y o u r   w o r k l o a d s ,   c o n s i d e r   m i g r a t i n g   y o u r   v o l u m e s   t o   R e a d W r i t e O n c e P o d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17668"
  },
  {
    "question": "What is Migrating existing PersistentVolumes?",
    "answer": "I f   y o u   h a v e   e x i s t i n g   P e r s i s t e n t V o l u m e s ,   t h e y   c a n   b e   m i g r a t e d   t o   u s e   R e a d W r i t e O n c e P o d .   O n l y   m i g r a t i o n s   f r o m   R e a d W r i t e O n c e   t o   R e a d W r i t e O n c e P o d   a r e   s u p p o r t e d .   I n   t h i s   e x a m p l e ,   t h e r e   i s   a l r e a d y   a   R e a d W r i t e O n c e   \" c a t - p i c t u r e s - p v c \"   P e r s i s t e n t V o l u m e C l a i m   t h a t   i s   b o u n d   t o   a   \" c a t - p i c t u r e s - p v \"   P e r s i s t e n t V o l u m e ,   a n d   a   \" c a t - p i c t u r e s - w r i t e r \"   D e p l o y m e n t   t h a t   u s e s   t h i s   P e r s i s t e n t V o l u m e C l a i m .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17669"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u r   s t o r a g e   p l u g i n   s u p p o r t s   D y n a m i c   p r o v i s i o n i n g ,   t h e   \" c a t - p i c u t r e s - p v \"   w i l l   b e   c r e a t e d   f o r   y o u ,   b u t   i t s   n a m e   m a y   d i f f e r .   T o   g e t   y o u r   P e r s i s t e n t V o l u m e ' s   n a m e   r u n :   k u b e c t l   g e t   p v c   c a t - p i c t u r e s - p v c   - o   j s o n p a t h = ' { . s p e c . v o l u m e N a m e } '   A n d   y o u   c a n   v i e w   t h e   P V C   b e f o r e   y o u   m a k e   c h a n g e s .   E i t h e r   v i e w   t h e   m a n i f e s t   l o c a l l y ,   o r   r u n   k u b e c t l   g e t   p v c   < n a m e - o f - p v c >   - o   y a m l .   T h e   o u t p u t   i s   s i m i l a r   t o :   #   c a t - p i c t u r e s - p v c . y a m l   k i n d :   P e r s i s t e n t V o l u m e C l a i m   a p i V e r s i o n :   v 1   m e t a d a t a :   n a m e :   c a t - p i c t u r e s - p v c   s p e c :   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   1 G i   H e r e ' s   a n   e x a m p l e   D e p l o y m e n t   t h a t   r e l i e s   o n   t h a t   P e r s i s t e n t V o l u m e C l a i m :   #   c a t - p i c t u r e s - w r i t e r - d e p l o y m e n t . y a m l   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   c a t - p i c t u r e s - w r i t e r   s p e c :   r e p l i c a s :   3   s e l e c t o r :   m a t c h L a b e l s :   a p p :   c a t - p i c t u r e s - w r i t e r   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   c a t - p i c t u r e s - w r i t e r   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0   v o l u m e M o u n t s :   -   n a m e :   c a t - p i c t u r e s   m o u n t P a t h :   / m n t   v o l u m e s :   - ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17670"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   P e r s i s t e n t V o l u m e s . L e a r n   m o r e   a b o u t   P e r s i s t e n t V o l u m e C l a i m s . L e a r n   m o r e   a b o u t   C o n f i g u r i n g   a   P o d   t o   U s e   a   P e r s i s t e n t V o l u m e   f o r   S t o r a g e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17671"
  },
  {
    "question": "What is 2.11 - Change the default StorageClass?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c h a n g e   t h e   d e f a u l t   S t o r a g e   C l a s s   t h a t   i s   u s e d   t o   p r o v i s i o n   v o l u m e s   f o r   P e r s i s t e n t V o l u m e C l a i m s   t h a t   h a v e   n o   s p e c i a l   r e q u i r e m e n t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17672"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17673"
  },
  {
    "question": "What is Why change the default storage class??",
    "answer": "D e p e n d i n g   o n   t h e   i n s t a l l a t i o n   m e t h o d ,   y o u r   K u b e r n e t e s   c l u s t e r   m a y   b e   d e p l o y e d   w i t h   a n   e x i s t i n g   S t o r a g e C l a s s   t h a t   i s   m a r k e d   a s   d e f a u l t .   T h i s   d e f a u l t   S t o r a g e C l a s s   i s   t h e n   u s e d   t o   d y n a m i c a l l y   p r o v i s i o n   s t o r a g e   f o r   P e r s i s t e n t V o l u m e C l a i m s   t h a t   d o   n o t   r e q u i r e   a n y   s p e c i f i c   s t o r a g e   c l a s s .   S e e   P e r s i s t e n t V o l u m e C l a i m   d o c u m e n t a t i o n   f o r   d e t a i l s .   T h e   p r e - i n s t a l l e d   d e f a u l t   S t o r a g e C l a s s   m a y   n o t   f i t   w e l l   w i t h   y o u r   e x p e c t e d   w o r k l o a d ;   f o r   e x a m p l e ,   i t   m i g h t   p r o v i s i o n   s t o r a g e   t h a t   i s   t o o   e x p e n s i v e .   I f   t h i s   i s   t h e   c a s e ,   y o u   c a n   e i t h e r   c h a n g e   t h e   d e f a u l t   S t o r a g e C l a s s   o r   d i s a b l e   i t   c o m p l e t e l y   t o   a v o i d   d y n a m i c   p r o v i s i o n i n g   o f   s t o r a g e .   D e l e t i n g   t h e   d e f a u l t   S t o r a g e C l a s s   m a y   n o t   w o r k ,   a s   i t   m a y   b e   r e - c r e a t e d   a u t o m a t i c a l l y   b y   t h e   a d d o n   m a n a g e r   r u n n i n g   i n   y o u r   c l u s t e r .   P l e a s e   c o n s u l t   t h e   d o c s   f o r   y o u r   i n s t a l l a t i o n   f o r   d e t a i l s   a b o u t   a d d o n   m a n a g e r   a n d   h o w   t o   d i s a b l e   i n d i v i d u a l   a d d o n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17674"
  },
  {
    "question": "What is Changing the default StorageClass?",
    "answer": "L i s t   t h e   S t o r a g e C l a s s e s   i n   y o u r   c l u s t e r : k u b e c t l   g e t   s t o r a g e c l a s s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   P R O V I S I O N E R   A G E   s t a n d a r d   ( d e f a u l t )   k u b e r n e t e s . i o / g c e - p d   1 d   g o l d   k u b e r n e t e s . i o / g c e - p d   1 d   T h e   d e f a u l t   S t o r a g e C l a s s   i s   m a r k e d   b y   ( d e f a u l t ) . M a r k   t h e   d e f a u l t   S t o r a g e C l a s s   a s   n o n - d e f a u l t : T h e   d e f a u l t   S t o r a g e C l a s s   h a s   a n   a n n o t a t i o n   s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s   s e t   t o   t r u e .   A n y   o t h e r   v a l u e   o r   a b s e n c e   o f   t h e   a n n o t a t i o n   i s   i n t e r p r e t e d   a s   f a l s e . T o   m a r k   a   S t o r a g e C l a s s   a s   n o n - d e f a u l t ,   y o u   n e e d   t o   c h a n g e   i t s   v a l u e   t o   f a l s e : k u b e c t l   p a t c h   s t o r a g e c l a s s   s t a n d a r d   - p   ' { \" m e t a d a t a \" :   { \" a n n o t a t i o n s \" : { \" s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s \" : \" f a l s e \" } } } '   w h e r e   s t a n d a r d   i s   t h e   n a m e   o f   y o u r   c h o s e n   S t o r a g e C l a s s . M a r k   a   S t o r a g e C l a s s   a s   d e f a u l t : S i m i l a r   t o   t h e   p r e v i o u s   s t e p ,   y o u   n e e d   t o   a d d / s e t   t h e   a n n o t a t i o n   s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s = t r u e . k u b e c t l   p a t c h   s t o r a g e c l a s s   g o l d   - p   ' { \" m e t a d a t a \" :   { \" a n n o t a t i o n s \" : { \" s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s \" : \" t r u e \" } } } '   P l e a s e   n o t e   y o u   c a n   h a v e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17675"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   P e r s i s t e n t V o l u m e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17676"
  },
  {
    "question": "What is 2.12 - Switching from Polling to CRI Event-based Updates to Container Status?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   m i g r a t e   n o d e s   t o   u s e   e v e n t   b a s e d   u p d a t e s   f o r   c o n t a i n e r   s t a t u s .   T h e   e v e n t - b a s e d   i m p l e m e n t a t i o n   r e d u c e s   n o d e   r e s o u r c e   c o n s u m p t i o n   b y   t h e   k u b e l e t ,   c o m p a r e d   t o   t h e   l e g a c y   a p p r o a c h   t h a t   r e l i e s   o n   p o l l i n g .   Y o u   m a y   k n o w   t h i s   f e a t u r e   a s   e v e n t e d   P o d   l i f e c y c l e   e v e n t   g e n e r a t o r   ( P L E G ) .   T h a t ' s   t h e   n a m e   u s e d   i n t e r n a l l y   w i t h i n   t h e   K u b e r n e t e s   p r o j e c t   f o r   a   k e y   i m p l e m e n t a t i o n   d e t a i l .   T h e   p o l l i n g   b a s e d   a p p r o a c h   i s   r e f e r r e d   t o   a s   g e n e r i c   P L E G .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17677"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   r u n   a   v e r s i o n   o f   K u b e r n e t e s   t h a t   p r o v i d e s   t h i s   f e a t u r e .   K u b e r n e t e s   v 1 . 2 7   i n c l u d e s   b e t a   s u p p o r t   f o r   e v e n t - b a s e d   c o n t a i n e r   s t a t u s   u p d a t e s .   T h e   f e a t u r e   i s   b e t a   b u t   i s   d i s a b l e d   b y   d e f a u l t   b e c a u s e   i t   r e q u i r e s   s u p p o r t   f r o m   t h e   c o n t a i n e r   r u n t i m e . Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 2 6 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n . I f   y o u   a r e   r u n n i n g   a   d i f f e r e n t   v e r s i o n   o f   K u b e r n e t e s ,   c h e c k   t h e   d o c u m e n t a t i o n   f o r   t h a t   r e l e a s e . T h e   c o n t a i n e r   r u n t i m e   i n   u s e   m u s t   s u p p o r t   c o n t a i n e r   l i f e c y c l e   e v e n t s .   T h e   k u b e l e t   a u t o m a t i c a l l y   s w i t c h e s   b a c k   t o   t h e   l e g a c y   g e n e r i c   P L E G   m e c h a n i s m   i f   t h e   c o n t a i n e r   r u n t i m e   d o e s   n o t   a n n o u n c e   s u p p o r t   f o r   c o n t a i n e r   l i f e c y c l e   e v e n t s ,   e v e n   i f   y o u   h a v e   t h i s   f e a t u r e   g a t e   e n a b l e d .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17678"
  },
  {
    "question": "What is Why switch to Evented PLEG??",
    "answer": "T h e   G e n e r i c   P L E G   i n c u r s   n o n - n e g l i g i b l e   o v e r h e a d   d u e   t o   f r e q u e n t   p o l l i n g   o f   c o n t a i n e r   s t a t u s e s . T h i s   o v e r h e a d   i s   e x a c e r b a t e d   b y   K u b e l e t ' s   p a r a l l e l i z e d   p o l l i n g   o f   c o n t a i n e r   s t a t e s ,   t h u s   l i m i t i n g   i t s   s c a l a b i l i t y   a n d   c a u s i n g   p o o r   p e r f o r m a n c e   a n d   r e l i a b i l i t y   p r o b l e m s . T h e   g o a l   o f   E v e n t e d   P L E G   i s   t o   r e d u c e   u n n e c e s s a r y   w o r k   d u r i n g   i n a c t i v i t y   b y   r e p l a c i n g   p e r i o d i c   p o l l i n g .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17679"
  },
  {
    "question": "What is Switching to Evented PLEG?",
    "answer": "S t a r t   t h e   K u b e l e t   w i t h   t h e   f e a t u r e   g a t e   E v e n t e d P L E G   e n a b l e d .   Y o u   c a n   m a n a g e   t h e   k u b e l e t   f e a t u r e   g a t e s   e d i t i n g   t h e   k u b e l e t   c o n f i g   f i l e   a n d   r e s t a r t i n g   t h e   k u b e l e t   s e r v i c e .   Y o u   n e e d   t o   d o   t h i s   o n   e a c h   n o d e   w h e r e   y o u   a r e   u s i n g   t h i s   f e a t u r e . M a k e   s u r e   t h e   n o d e   i s   d r a i n e d   b e f o r e   p r o c e e d i n g . S t a r t   t h e   c o n t a i n e r   r u n t i m e   w i t h   t h e   c o n t a i n e r   e v e n t   g e n e r a t i o n   e n a b l e d . V e r s i o n   1 . 7 + V e r s i o n   1 . 2 6 + C h e c k   i f   t h e   C R I - O   i s   a l r e a d y   c o n f i g u r e d   t o   e m i t   C R I   e v e n t s   b y   v e r i f y i n g   t h e   c o n f i g u r a t i o n , c r i o   c o n f i g   |   g r e p   e n a b l e _ p o d _ e v e n t s   I f   i t   i s   e n a b l e d ,   t h e   o u t p u t   s h o u l d   b e   s i m i l a r   t o   t h e   f o l l o w i n g : e n a b l e _ p o d _ e v e n t s   =   t r u e   T o   e n a b l e   i t ,   s t a r t   t h e   C R I - O   d a e m o n   w i t h   t h e   f l a g   - - e n a b l e - p o d - e v e n t s = t r u e   o r   u s e   a   d r o p i n   c o n f i g   w i t h   t h e   f o l l o w i n g   l i n e s : [ c r i o . r u n t i m e ]   e n a b l e _ p o d _ e v e n t s :   t r u e   Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 2 6 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n . V e r i f y   t h a t   t h e   k u b e l e t   i s   u s i n g   e v e n t - b a s e d   c o n t a i n e r   s t a g e   c h a n g e   m o n i t o r i n g .   T o   c h e c k ,   l o o k   f o r   t h e   t e r m   E v e n t e d P L E G   i n   t h e   k u b e l e t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17680"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   t h e   d e s i g n   i n   t h e   K u b e r n e t e s   E n h a n c e m e n t   P r o p o s a l   ( K E P ) :   K u b e l e t   E v e n t e d   P L E G   f o r   B e t t e r   P e r f o r m a n c e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17681"
  },
  {
    "question": "What is 2.13 - Change the Reclaim Policy of a PersistentVolume?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c h a n g e   t h e   r e c l a i m   p o l i c y   o f   a   K u b e r n e t e s   P e r s i s t e n t V o l u m e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17682"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17683"
  },
  {
    "question": "What is Why change reclaim policy of a PersistentVolume?",
    "answer": "P e r s i s t e n t V o l u m e s   c a n   h a v e   v a r i o u s   r e c l a i m   p o l i c i e s ,   i n c l u d i n g   \" R e t a i n \" ,   \" R e c y c l e \" ,   a n d   \" D e l e t e \" .   F o r   d y n a m i c a l l y   p r o v i s i o n e d   P e r s i s t e n t V o l u m e s ,   t h e   d e f a u l t   r e c l a i m   p o l i c y   i s   \" D e l e t e \" .   T h i s   m e a n s   t h a t   a   d y n a m i c a l l y   p r o v i s i o n e d   v o l u m e   i s   a u t o m a t i c a l l y   d e l e t e d   w h e n   a   u s e r   d e l e t e s   t h e   c o r r e s p o n d i n g   P e r s i s t e n t V o l u m e C l a i m .   T h i s   a u t o m a t i c   b e h a v i o r   m i g h t   b e   i n a p p r o p r i a t e   i f   t h e   v o l u m e   c o n t a i n s   p r e c i o u s   d a t a .   I n   t h a t   c a s e ,   i t   i s   m o r e   a p p r o p r i a t e   t o   u s e   t h e   \" R e t a i n \"   p o l i c y .   W i t h   t h e   \" R e t a i n \"   p o l i c y ,   i f   a   u s e r   d e l e t e s   a   P e r s i s t e n t V o l u m e C l a i m ,   t h e   c o r r e s p o n d i n g   P e r s i s t e n t V o l u m e   w i l l   n o t   b e   d e l e t e d .   I n s t e a d ,   i t   i s   m o v e d   t o   t h e   R e l e a s e d   p h a s e ,   w h e r e   a l l   o f   i t s   d a t a   c a n   b e   m a n u a l l y   r e c o v e r e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17684"
  },
  {
    "question": "What is Changing the reclaim policy of a PersistentVolume?",
    "answer": "L i s t   t h e   P e r s i s t e n t V o l u m e s   i n   y o u r   c l u s t e r : k u b e c t l   g e t   p v   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   C A P A C I T Y   A C C E S S M O D E S   R E C L A I M P O L I C Y   S T A T U S   C L A I M   S T O R A G E C L A S S   R E A S O N   A G E   p v c - b 6 e f d 8 d a - b 7 b 5 - 1 1 e 6 - 9 d 5 8 - 0 e d 4 3 3 a 7 d d 9 4   4 G i   R W O   D e l e t e   B o u n d   d e f a u l t / c l a i m 1   m a n u a l   1 0 s   p v c - b 9 5 6 5 0 f 8 - b 7 b 5 - 1 1 e 6 - 9 d 5 8 - 0 e d 4 3 3 a 7 d d 9 4   4 G i   R W O   D e l e t e   B o u n d   d e f a u l t / c l a i m 2   m a n u a l   6 s   p v c - b b 3 c a 7 1 d - b 7 b 5 - 1 1 e 6 - 9 d 5 8 - 0 e d 4 3 3 a 7 d d 9 4   4 G i   R W O   D e l e t e   B o u n d   d e f a u l t / c l a i m 3   m a n u a l   3 s   T h i s   l i s t   a l s o   i n c l u d e s   t h e   n a m e   o f   t h e   c l a i m s   t h a t   a r e   b o u n d   t o   e a c h   v o l u m e   f o r   e a s i e r   i d e n t i f i c a t i o n   o f   d y n a m i c a l l y   p r o v i s i o n e d   v o l u m e s . C h o o s e   o n e   o f   y o u r   P e r s i s t e n t V o l u m e s   a n d   c h a n g e   i t s   r e c l a i m   p o l i c y : k u b e c t l   p a t c h   p v   < y o u r - p v - n a m e >   - p   ' { \" s p e c \" : { \" p e r s i s t e n t V o l u m e R e c l a i m P o l i c y \" : \" R e t a i n \" } } '   w h e r e   < y o u r - p v - n a m e >   i s   t h e   n a m e   o f   y o u r   c h o s e n   P e r s i s t e n t V o l u m e . N o t e : O n   W i n d o w s ,   y o u   m u s t   d o u b l e   q u o t e   a n y   J S O N P a t h   t e m p l a t e   t h a t   c o n t a i n s   s p a c e s   ( n o t   s i n g l e   q u o t e   a s   s h o w n   a b o v e   f o r   b a s h ) .   T h i s   i n   t u r n   m e a n s   t h a t   y o u   m u s t   u s e   a   s i n g l e   q u o t e   o r   e s c a p e d   d o u b l e   q u o t e   a r o u n d   a n y   l ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17685"
  },
  {
    "question": "What is Note:?",
    "answer": "O n   W i n d o w s ,   y o u   m u s t   d o u b l e   q u o t e   a n y   J S O N P a t h   t e m p l a t e   t h a t   c o n t a i n s   s p a c e s   ( n o t   s i n g l e   q u o t e   a s   s h o w n   a b o v e   f o r   b a s h ) .   T h i s   i n   t u r n   m e a n s   t h a t   y o u   m u s t   u s e   a   s i n g l e   q u o t e   o r   e s c a p e d   d o u b l e   q u o t e   a r o u n d   a n y   l i t e r a l s   i n   t h e   t e m p l a t e .   F o r   e x a m p l e :   k u b e c t l   p a t c h   p v   < y o u r - p v - n a m e >   - p   \" { \\ \" s p e c \\ \" : { \\ \" p e r s i s t e n t V o l u m e R e c l a i m P o l i c y \\ \" : \\ \" R e t a i n \\ \" } } \"   V e r i f y   t h a t   y o u r   c h o s e n   P e r s i s t e n t V o l u m e   h a s   t h e   r i g h t   p o l i c y :   k u b e c t l   g e t   p v   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   C A P A C I T Y   A C C E S S M O D E S   R E C L A I M P O L I C Y   S T A T U S   C L A I M   S T O R A G E C L A S S   R E A S O N   A G E   p v c - b 6 e f d 8 d a - b 7 b 5 - 1 1 e 6 - 9 d 5 8 - 0 e d 4 3 3 a 7 d d 9 4   4 G i   R W O   D e l e t e   B o u n d   d e f a u l t / c l a i m 1   m a n u a l   4 0 s   p v c - b 9 5 6 5 0 f 8 - b 7 b 5 - 1 1 e 6 - 9 d 5 8 - 0 e d 4 3 3 a 7 d d 9 4   4 G i   R W O   D e l e t e   B o u n d   d e f a u l t / c l a i m 2   m a n u a l   3 6 s   p v c - b b 3 c a 7 1 d - b 7 b 5 - 1 1 e 6 - 9 d 5 8 - 0 e d 4 3 3 a 7 d d 9 4   4 G i   R W O   R e t a i n   B o u n d   d e f a u l t / c l a i m 3   m a n u a l   3 3 s   I n   t h e   p r e c e d i n g   o u t p u t ,   y o u   c a n   s e e   t h a t   t h e   v o l u m e   b o u n d   t o   c l a i m   d e f a u l t / c l a i m 3   h a s   r e c l a i m   p o l i c y   R e t a i n .   I t   w i l l   n o t   b e   a u t o m a t i c a l l y   d e l e t e d   w h e n   a   u s e r   d e l e t e s   c l a i m   d e f a u l t / c l a i m 3 .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17686"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   P e r s i s t e n t V o l u m e s . L e a r n   m o r e   a b o u t   P e r s i s t e n t V o l u m e C l a i m s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17687"
  },
  {
    "question": "What is References?",
    "answer": "P e r s i s t e n t V o l u m e P a y   a t t e n t i o n   t o   t h e   . s p e c . p e r s i s t e n t V o l u m e R e c l a i m P o l i c y   f i e l d   o f   P e r s i s t e n t V o l u m e . P e r s i s t e n t V o l u m e C l a i m   P a y   a t t e n t i o n   t o   t h e   . s p e c . p e r s i s t e n t V o l u m e R e c l a i m P o l i c y   f i e l d   o f   P e r s i s t e n t V o l u m e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17688"
  },
  {
    "question": "What is 2.14 - Cloud Controller Manager Administration?",
    "answer": "S i n c e   c l o u d   p r o v i d e r s   d e v e l o p   a n d   r e l e a s e   a t   a   d i f f e r e n t   p a c e   c o m p a r e d   t o   t h e   K u b e r n e t e s   p r o j e c t ,   a b s t r a c t i n g   t h e   p r o v i d e r - s p e c i f i c   c o d e   t o   t h e   c l o u d - c o n t r o l l e r - m a n a g e r   b i n a r y   a l l o w s   c l o u d   v e n d o r s   t o   e v o l v e   i n d e p e n d e n t l y   f r o m   t h e   c o r e   K u b e r n e t e s   c o d e .   T h e   c l o u d - c o n t r o l l e r - m a n a g e r   c a n   b e   l i n k e d   t o   a n y   c l o u d   p r o v i d e r   t h a t   s a t i s f i e s   c l o u d p r o v i d e r . I n t e r f a c e .   F o r   b a c k w a r d s   c o m p a t i b i l i t y ,   t h e   c l o u d - c o n t r o l l e r - m a n a g e r   p r o v i d e d   i n   t h e   c o r e   K u b e r n e t e s   p r o j e c t   u s e s   t h e   s a m e   c l o u d   l i b r a r i e s   a s   k u b e - c o n t r o l l e r - m a n a g e r .   C l o u d   p r o v i d e r s   a l r e a d y   s u p p o r t e d   i n   K u b e r n e t e s   c o r e   a r e   e x p e c t e d   t o   u s e   t h e   i n - t r e e   c l o u d - c o n t r o l l e r - m a n a g e r   t o   t r a n s i t i o n   o u t   o f   K u b e r n e t e s   c o r e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17689"
  },
  {
    "question": "What is Requirements?",
    "answer": "E v e r y   c l o u d   h a s   t h e i r   o w n   s e t   o f   r e q u i r e m e n t s   f o r   r u n n i n g   t h e i r   o w n   c l o u d   p r o v i d e r   i n t e g r a t i o n ,   i t   s h o u l d   n o t   b e   t o o   d i f f e r e n t   f r o m   t h e   r e q u i r e m e n t s   w h e n   r u n n i n g   k u b e - c o n t r o l l e r - m a n a g e r .   A s   a   g e n e r a l   r u l e   o f   t h u m b   y o u ' l l   n e e d :   c l o u d   a u t h e n t i c a t i o n / a u t h o r i z a t i o n :   y o u r   c l o u d   m a y   r e q u i r e   a   t o k e n   o r   I A M   r u l e s   t o   a l l o w   a c c e s s   t o   t h e i r   A P I s k u b e r n e t e s   a u t h e n t i c a t i o n / a u t h o r i z a t i o n :   c l o u d - c o n t r o l l e r - m a n a g e r   m a y   n e e d   R B A C   r u l e s   s e t   t o   s p e a k   t o   t h e   k u b e r n e t e s   a p i s e r v e r h i g h   a v a i l a b i l i t y :   l i k e   k u b e - c o n t r o l l e r - m a n a g e r ,   y o u   m a y   w a n t   a   h i g h   a v a i l a b l e   s e t u p   f o r   c l o u d   c o n t r o l l e r   m a n a g e r   u s i n g   l e a d e r   e l e c t i o n   ( o n   b y   d e f a u l t ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17690"
  },
  {
    "question": "What is Running cloud-controller-manager?",
    "answer": "S u c c e s s f u l l y   r u n n i n g   c l o u d - c o n t r o l l e r - m a n a g e r   r e q u i r e s   s o m e   c h a n g e s   t o   y o u r   c l u s t e r   c o n f i g u r a t i o n .   k u b e l e t ,   k u b e - a p i s e r v e r ,   a n d   k u b e - c o n t r o l l e r - m a n a g e r   m u s t   b e   s e t   a c c o r d i n g   t o   t h e   u s e r ' s   u s a g e   o f   e x t e r n a l   C C M .   I f   t h e   u s e r   h a s   a n   e x t e r n a l   C C M   ( n o t   t h e   i n t e r n a l   c l o u d   c o n t r o l l e r   l o o p s   i n   t h e   K u b e r n e t e s   C o n t r o l l e r   M a n a g e r ) ,   t h e n   - - c l o u d - p r o v i d e r = e x t e r n a l   m u s t   b e   s p e c i f i e d .   O t h e r w i s e ,   i t   s h o u l d   n o t   b e   s p e c i f i e d .   K e e p   i n   m i n d   t h a t   s e t t i n g   u p   y o u r   c l u s t e r   t o   u s e   c l o u d   c o n t r o l l e r   m a n a g e r   w i l l   c h a n g e   y o u r   c l u s t e r   b e h a v i o u r   i n   a   f e w   w a y s :   C o m p o n e n t s   t h a t   s p e c i f y   - - c l o u d - p r o v i d e r = e x t e r n a l   w i l l   a d d   a   t a i n t   n o d e . c l o u d p r o v i d e r . k u b e r n e t e s . i o / u n i n i t i a l i z e d   w i t h   a n   e f f e c t   N o S c h e d u l e   d u r i n g   i n i t i a l i z a t i o n .   T h i s   m a r k s   t h e   n o d e   a s   n e e d i n g   a   s e c o n d   i n i t i a l i z a t i o n   f r o m   a n   e x t e r n a l   c o n t r o l l e r   b e f o r e   i t   c a n   b e   s c h e d u l e d   w o r k .   N o t e   t h a t   i n   t h e   e v e n t   t h a t   c l o u d   c o n t r o l l e r   m a n a g e r   i s   n o t   a v a i l a b l e ,   n e w   n o d e s   i n   t h e   c l u s t e r   w i l l   b e   l e f t   u n s c h e d u l a b l e .   T h e   t a i n t   i s   i m p o r t a n t   s i n c e   t h e   s c h e d u l e r   m a y   r e q u i r e   c l o u d   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17691"
  },
  {
    "question": "What is Examples?",
    "answer": "I f   y o u   a r e   u s i n g   a   c l o u d   t h a t   i s   c u r r e n t l y   s u p p o r t e d   i n   K u b e r n e t e s   c o r e   a n d   w o u l d   l i k e   t o   a d o p t   c l o u d   c o n t r o l l e r   m a n a g e r ,   s e e   t h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n   k u b e r n e t e s   c o r e .   F o r   c l o u d   c o n t r o l l e r   m a n a g e r s   n o t   i n   K u b e r n e t e s   c o r e ,   y o u   c a n   f i n d   t h e   r e s p e c t i v e   p r o j e c t s   i n   r e p o s i t o r i e s   m a i n t a i n e d   b y   c l o u d   v e n d o r s   o r   b y   S I G s .   F o r   p r o v i d e r s   a l r e a d y   i n   K u b e r n e t e s   c o r e ,   y o u   c a n   r u n   t h e   i n - t r e e   c l o u d   c o n t r o l l e r   m a n a g e r   a s   a   D a e m o n S e t   i n   y o u r   c l u s t e r ,   u s e   t h e   f o l l o w i n g   a s   a   g u i d e l i n e :   #   T h i s   i s   a n   e x a m p l e   o f   h o w   t o   s e t   u p   c l o u d - c o n t r o l l e r - m a n a g e r   a s   a   D a e m o n s e t   i n   y o u r   c l u s t e r .   #   I t   a s s u m e s   t h a t   y o u r   m a s t e r s   c a n   r u n   p o d s   a n d   h a s   t h e   r o l e   n o d e - r o l e . k u b e r n e t e s . i o / m a s t e r   #   N o t e   t h a t   t h i s   D a e m o n s e t   w i l l   n o t   w o r k   s t r a i g h t   o u t   o f   t h e   b o x   f o r   y o u r   c l o u d ,   t h i s   i s   #   m e a n t   t o   b e   a   g u i d e l i n e .   - - -   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   n a m e :   c l o u d - c o n t r o l l e r - m a n a g e r   n a m e s p a c e :   k u b e - s y s t e m   - - -   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e B i n d i n g   m e t a d a t a :   n a m e :   s y s t e m : c l o u d - c o n t r o l l e r - m a n a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17692"
  },
  {
    "question": "What is Limitations?",
    "answer": "R u n n i n g   c l o u d   c o n t r o l l e r   m a n a g e r   c o m e s   w i t h   a   f e w   p o s s i b l e   l i m i t a t i o n s .   A l t h o u g h   t h e s e   l i m i t a t i o n s   a r e   b e i n g   a d d r e s s e d   i n   u p c o m i n g   r e l e a s e s ,   i t ' s   i m p o r t a n t   t h a t   y o u   a r e   a w a r e   o f   t h e s e   l i m i t a t i o n s   f o r   p r o d u c t i o n   w o r k l o a d s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17693"
  },
  {
    "question": "What is Support for Volumes?",
    "answer": "C l o u d   c o n t r o l l e r   m a n a g e r   d o e s   n o t   i m p l e m e n t   a n y   o f   t h e   v o l u m e   c o n t r o l l e r s   f o u n d   i n   k u b e - c o n t r o l l e r - m a n a g e r   a s   t h e   v o l u m e   i n t e g r a t i o n s   a l s o   r e q u i r e   c o o r d i n a t i o n   w i t h   k u b e l e t s .   A s   w e   e v o l v e   C S I   ( c o n t a i n e r   s t o r a g e   i n t e r f a c e )   a n d   a d d   s t r o n g e r   s u p p o r t   f o r   f l e x   v o l u m e   p l u g i n s ,   n e c e s s a r y   s u p p o r t   w i l l   b e   a d d e d   t o   c l o u d   c o n t r o l l e r   m a n a g e r   s o   t h a t   c l o u d s   c a n   f u l l y   i n t e g r a t e   w i t h   v o l u m e s .   L e a r n   m o r e   a b o u t   o u t - o f - t r e e   C S I   v o l u m e   p l u g i n s   h e r e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17694"
  },
  {
    "question": "What is Scalability?",
    "answer": "T h e   c l o u d - c o n t r o l l e r - m a n a g e r   q u e r i e s   y o u r   c l o u d   p r o v i d e r ' s   A P I s   t o   r e t r i e v e   i n f o r m a t i o n   f o r   a l l   n o d e s .   F o r   v e r y   l a r g e   c l u s t e r s ,   c o n s i d e r   p o s s i b l e   b o t t l e n e c k s   s u c h   a s   r e s o u r c e   r e q u i r e m e n t s   a n d   A P I   r a t e   l i m i t i n g .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17695"
  },
  {
    "question": "What is Chicken and Egg?",
    "answer": "T h e   g o a l   o f   t h e   c l o u d   c o n t r o l l e r   m a n a g e r   p r o j e c t   i s   t o   d e c o u p l e   d e v e l o p m e n t   o f   c l o u d   f e a t u r e s   f r o m   t h e   c o r e   K u b e r n e t e s   p r o j e c t .   U n f o r t u n a t e l y ,   m a n y   a s p e c t s   o f   t h e   K u b e r n e t e s   p r o j e c t   h a s   a s s u m p t i o n s   t h a t   c l o u d   p r o v i d e r   f e a t u r e s   a r e   t i g h t l y   i n t e g r a t e d   i n t o   t h e   p r o j e c t .   A s   a   r e s u l t ,   a d o p t i n g   t h i s   n e w   a r c h i t e c t u r e   c a n   c r e a t e   s e v e r a l   s i t u a t i o n s   w h e r e   a   r e q u e s t   i s   b e i n g   m a d e   f o r   i n f o r m a t i o n   f r o m   a   c l o u d   p r o v i d e r ,   b u t   t h e   c l o u d   c o n t r o l l e r   m a n a g e r   m a y   n o t   b e   a b l e   t o   r e t u r n   t h a t   i n f o r m a t i o n   w i t h o u t   t h e   o r i g i n a l   r e q u e s t   b e i n g   c o m p l e t e .   A   g o o d   e x a m p l e   o f   t h i s   i s   t h e   T L S   b o o t s t r a p p i n g   f e a t u r e   i n   t h e   K u b e l e t .   T L S   b o o t s t r a p p i n g   a s s u m e s   t h a t   t h e   K u b e l e t   h a s   t h e   a b i l i t y   t o   a s k   t h e   c l o u d   p r o v i d e r   ( o r   a   l o c a l   m e t a d a t a   s e r v i c e )   f o r   a l l   i t s   a d d r e s s   t y p e s   ( p r i v a t e ,   p u b l i c ,   e t c )   b u t   c l o u d   c o n t r o l l e r   m a n a g e r   c a n n o t   s e t   a   n o d e ' s   a d d r e s s   t y p e s   w i t h o u t   b e i n g   i n i t i a l i z e d   i n   t h e   f i r s t   p l a c e   w h i c h   r e q u i r e s   t h a t   t h e   k u b e l e t   h a s   T L S   c e r t i f i c a t e s   t o   c o m m u n i c a t e   w i t h   t h e   a p i s e r v e r .   A s   t h i s   i n i t i a t i v e   e v o l v e s ,   c h a n g e s   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17696"
  },
  {
    "question": "What is What's next?",
    "answer": "T o   b u i l d   a n d   d e v e l o p   y o u r   o w n   c l o u d   c o n t r o l l e r   m a n a g e r ,   r e a d   D e v e l o p i n g   C l o u d   C o n t r o l l e r   M a n a g e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17697"
  },
  {
    "question": "What is 2.15 - Configure a kubelet image credential provider?",
    "answer": "S t a r t i n g   f r o m   K u b e r n e t e s   v 1 . 2 0 ,   t h e   k u b e l e t   c a n   d y n a m i c a l l y   r e t r i e v e   c r e d e n t i a l s   f o r   a   c o n t a i n e r   i m a g e   r e g i s t r y   u s i n g   e x e c   p l u g i n s .   T h e   k u b e l e t   a n d   t h e   e x e c   p l u g i n   c o m m u n i c a t e   t h r o u g h   s t d i o   ( s t d i n ,   s t d o u t ,   a n d   s t d e r r )   u s i n g   K u b e r n e t e s   v e r s i o n e d   A P I s .   T h e s e   p l u g i n s   a l l o w   t h e   k u b e l e t   t o   r e q u e s t   c r e d e n t i a l s   f o r   a   c o n t a i n e r   r e g i s t r y   d y n a m i c a l l y   a s   o p p o s e d   t o   s t o r i n g   s t a t i c   c r e d e n t i a l s   o n   d i s k .   F o r   e x a m p l e ,   t h e   p l u g i n   m a y   t a l k   t o   a   l o c a l   m e t a d a t a   s e r v e r   t o   r e t r i e v e   s h o r t - l i v e d   c r e d e n t i a l s   f o r   a n   i m a g e   t h a t   i s   b e i n g   p u l l e d   b y   t h e   k u b e l e t .   Y o u   m a y   b e   i n t e r e s t e d   i n   u s i n g   t h i s   c a p a b i l i t y   i f   a n y   o f   t h e   b e l o w   a r e   t r u e :   A P I   c a l l s   t o   a   c l o u d   p r o v i d e r   s e r v i c e   a r e   r e q u i r e d   t o   r e t r i e v e   a u t h e n t i c a t i o n   i n f o r m a t i o n   f o r   a   r e g i s t r y . C r e d e n t i a l s   h a v e   s h o r t   e x p i r a t i o n   t i m e s   a n d   r e q u e s t i n g   n e w   c r e d e n t i a l s   f r e q u e n t l y   i s   r e q u i r e d . S t o r i n g   r e g i s t r y   c r e d e n t i a l s   o n   d i s k   o r   i n   i m a g e P u l l S e c r e t s   i s   n o t   a c c e p t a b l e .   T h i s   g u i d e   d e m o n s t r a t e s   h o w   t o   c o n f i g u r e   t h e   k u b e l e t ' s   i m a g e   c r e d e n t i a l   p r o v i d e r   p l u g i n   m e c h a n i s m .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17698"
  },
  {
    "question": "What is Service Account Token for Image Pulls?",
    "answer": "S t a r t i n g   f r o m   K u b e r n e t e s   v 1 . 3 3 ,   t h e   k u b e l e t   c a n   b e   c o n f i g u r e d   t o   s e n d   a   s e r v i c e   a c c o u n t   t o k e n   b o u n d   t o   t h e   p o d   f o r   w h i c h   t h e   i m a g e   p u l l   i s   b e i n g   p e r f o r m e d   t o   t h e   c r e d e n t i a l   p r o v i d e r   p l u g i n .   T h i s   a l l o w s   t h e   p l u g i n   t o   e x c h a n g e   t h e   t o k e n   f o r   c r e d e n t i a l s   t o   a c c e s s   t h e   i m a g e   r e g i s t r y .   T o   e n a b l e   t h i s   f e a t u r e ,   t h e   K u b e l e t S e r v i c e A c c o u n t T o k e n F o r C r e d e n t i a l P r o v i d e r s   f e a t u r e   g a t e   m u s t   b e   e n a b l e d   o n   t h e   k u b e l e t ,   a n d   t h e   t o k e n A t t r i b u t e s   f i e l d   m u s t   b e   s e t   i n   t h e   C r e d e n t i a l P r o v i d e r C o n f i g   f i l e   f o r   t h e   p l u g i n .   T h e   t o k e n A t t r i b u t e s   f i e l d   c o n t a i n s   i n f o r m a t i o n   a b o u t   t h e   s e r v i c e   a c c o u n t   t o k e n   t h a t   w i l l   b e   p a s s e d   t o   t h e   p l u g i n ,   i n c l u d i n g   t h e   i n t e n d e d   a u d i e n c e   f o r   t h e   t o k e n   a n d   w h e t h e r   t h e   p l u g i n   r e q u i r e s   t h e   p o d   t o   h a v e   a   s e r v i c e   a c c o u n t .   U s i n g   s e r v i c e   a c c o u n t   t o k e n   c r e d e n t i a l s   c a n   e n a b l e   t h e   f o l l o w i n g   u s e - c a s e s :   A v o i d   n e e d i n g   a   k u b e l e t / n o d e - b a s e d   i d e n t i t y   t o   p u l l   i m a g e s   f r o m   a   r e g i s t r y . A l l o w   w o r k l o a d s   t o   p u l l   i m a g e s   b a s e d   o n   t h e i r   o w n   r u n t i m e   i d e n t i t y   w i t h o u t   l o n g - l i v e d / p e r s i s t e d   s e c r e t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17699"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   a   K u b e r n e t e s   c l u s t e r   w i t h   n o d e s   t h a t   s u p p o r t   k u b e l e t   c r e d e n t i a l   p r o v i d e r   p l u g i n s .   T h i s   s u p p o r t   i s   a v a i l a b l e   i n   K u b e r n e t e s   1 . 3 4 ;   K u b e r n e t e s   v 1 . 2 4   a n d   v 1 . 2 5   i n c l u d e d   t h i s   a s   a   b e t a   f e a t u r e ,   e n a b l e d   b y   d e f a u l t . I f   y o u   a r e   c o n f i g u r i n g   a   c r e d e n t i a l   p r o v i d e r   p l u g i n   t h a t   r e q u i r e s   t h e   s e r v i c e   a c c o u n t   t o k e n ,   y o u   n e e d   a   K u b e r n e t e s   c l u s t e r   w i t h   n o d e s   r u n n i n g   K u b e r n e t e s   v 1 . 3 3   o r   l a t e r   a n d   t h e   K u b e l e t S e r v i c e A c c o u n t T o k e n F o r C r e d e n t i a l P r o v i d e r s   f e a t u r e   g a t e   e n a b l e d   o n   t h e   k u b e l e t . A   w o r k i n g   i m p l e m e n t a t i o n   o f   a   c r e d e n t i a l   p r o v i d e r   e x e c   p l u g i n .   Y o u   c a n   b u i l d   y o u r   o w n   p l u g i n   o r   u s e   o n e   p r o v i d e d   b y   c l o u d   p r o v i d e r s .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17700"
  },
  {
    "question": "What is Installing Plugins on Nodes?",
    "answer": "A   c r e d e n t i a l   p r o v i d e r   p l u g i n   i s   a n   e x e c u t a b l e   b i n a r y   t h a t   w i l l   b e   r u n   b y   t h e   k u b e l e t .   E n s u r e   t h a t   t h e   p l u g i n   b i n a r y   e x i s t s   o n   e v e r y   n o d e   i n   y o u r   c l u s t e r   a n d   s t o r e d   i n   a   k n o w n   d i r e c t o r y .   T h e   d i r e c t o r y   w i l l   b e   r e q u i r e d   l a t e r   w h e n   c o n f i g u r i n g   k u b e l e t   f l a g s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17701"
  },
  {
    "question": "What is Configuring the Kubelet?",
    "answer": "I n   o r d e r   t o   u s e   t h i s   f e a t u r e ,   t h e   k u b e l e t   e x p e c t s   t w o   f l a g s   t o   b e   s e t :   - - i m a g e - c r e d e n t i a l - p r o v i d e r - c o n f i g   -   t h e   p a t h   t o   t h e   c r e d e n t i a l   p r o v i d e r   p l u g i n   c o n f i g   f i l e . - - i m a g e - c r e d e n t i a l - p r o v i d e r - b i n - d i r   -   t h e   p a t h   t o   t h e   d i r e c t o r y   w h e r e   c r e d e n t i a l   p r o v i d e r   p l u g i n   b i n a r i e s   a r e   l o c a t e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17702"
  },
  {
    "question": "What is Configure a kubelet credential provider?",
    "answer": "T h e   c o n f i g u r a t i o n   f i l e   p a s s e d   i n t o   - - i m a g e - c r e d e n t i a l - p r o v i d e r - c o n f i g   i s   r e a d   b y   t h e   k u b e l e t   t o   d e t e r m i n e   w h i c h   e x e c   p l u g i n s   s h o u l d   b e   i n v o k e d   f o r   w h i c h   c o n t a i n e r   i m a g e s .   H e r e ' s   a n   e x a m p l e   c o n f i g u r a t i o n   f i l e   y o u   m a y   e n d   u p   u s i n g   i f   y o u   a r e   u s i n g   t h e   E C R - b a s e d   p l u g i n :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1   k i n d :   C r e d e n t i a l P r o v i d e r C o n f i g   #   p r o v i d e r s   i s   a   l i s t   o f   c r e d e n t i a l   p r o v i d e r   h e l p e r   p l u g i n s   t h a t   w i l l   b e   e n a b l e d   b y   t h e   k u b e l e t .   #   M u l t i p l e   p r o v i d e r s   m a y   m a t c h   a g a i n s t   a   s i n g l e   i m a g e ,   i n   w h i c h   c a s e   c r e d e n t i a l s   #   f r o m   a l l   p r o v i d e r s   w i l l   b e   r e t u r n e d   t o   t h e   k u b e l e t .   I f   m u l t i p l e   p r o v i d e r s   a r e   c a l l e d   #   f o r   a   s i n g l e   i m a g e ,   t h e   r e s u l t s   a r e   c o m b i n e d .   I f   p r o v i d e r s   r e t u r n   o v e r l a p p i n g   #   a u t h   k e y s ,   t h e   v a l u e   f r o m   t h e   p r o v i d e r   e a r l i e r   i n   t h i s   l i s t   i s   u s e d .   p r o v i d e r s :   #   n a m e   i s   t h e   r e q u i r e d   n a m e   o f   t h e   c r e d e n t i a l   p r o v i d e r .   I t   m u s t   m a t c h   t h e   n a m e   o f   t h e   #   p r o v i d e r   e x e c u t a b l e   a s   s e e n   b y   t h e   k u b e l e t .   T h e   e x e c u t a b l e   m u s t   b e   i n   t h e   k u b e l e t ' s   #   b i n   d i r e c t o r y   ( s e t   b y   t h e   - - i m a g e - c r e d e n t i a l - p r o v i d e r - b i n - d i r   f ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17703"
  },
  {
    "question": "What is Configure image matching?",
    "answer": "T h e   m a t c h I m a g e s   f i e l d   f o r   e a c h   c r e d e n t i a l   p r o v i d e r   i s   u s e d   b y   t h e   k u b e l e t   t o   d e t e r m i n e   w h e t h e r   a   p l u g i n   s h o u l d   b e   i n v o k e d   f o r   a   g i v e n   i m a g e   t h a t   a   P o d   i s   u s i n g .   E a c h   e n t r y   i n   m a t c h I m a g e s   i s   a n   i m a g e   p a t t e r n   w h i c h   c a n   o p t i o n a l l y   c o n t a i n   a   p o r t   a n d   a   p a t h .   G l o b s   c a n   b e   u s e d   i n   t h e   d o m a i n ,   b u t   n o t   i n   t h e   p o r t   o r   t h e   p a t h .   G l o b s   a r e   s u p p o r t e d   a s   s u b d o m a i n s   l i k e   * . k 8 s . i o   o r   k 8 s . * . i o ,   a n d   t o p - l e v e l   d o m a i n s   s u c h   a s   k 8 s . * .   M a t c h i n g   p a r t i a l   s u b d o m a i n s   l i k e   a p p * . k 8 s . i o   i s   a l s o   s u p p o r t e d .   E a c h   g l o b   c a n   o n l y   m a t c h   a   s i n g l e   s u b d o m a i n   s e g m e n t ,   s o   * . i o   d o e s   N O T   m a t c h   * . k 8 s . i o .   A   m a t c h   e x i s t s   b e t w e e n   a n   i m a g e   n a m e   a n d   a   m a t c h I m a g e   e n t r y   w h e n   a l l   o f   t h e   b e l o w   a r e   t r u e :   B o t h   c o n t a i n   t h e   s a m e   n u m b e r   o f   d o m a i n   p a r t s   a n d   e a c h   p a r t   m a t c h e s . T h e   U R L   p a t h   o f   m a t c h   i m a g e   m u s t   b e   a   p r e f i x   o f   t h e   t a r g e t   i m a g e   U R L   p a t h . I f   t h e   m a t c h I m a g e s   c o n t a i n s   a   p o r t ,   t h e n   t h e   p o r t   m u s t   m a t c h   i n   t h e   i m a g e   a s   w e l l .   S o m e   e x a m p l e   v a l u e s   o f   m a t c h I m a g e s   p a t t e r n s   a r e :   1 2 3 4 5 6 7 8 9 . d k r . e c r . u s - e a s t - 1 . a m a z o n a w s . c o m * . a z u r e c r . i o g c r . i o * . * . r e g ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17704"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   t h e   d e t a i l s   a b o u t   C r e d e n t i a l P r o v i d e r C o n f i g   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   A P I   ( v 1 )   r e f e r e n c e . R e a d   t h e   k u b e l e t   c r e d e n t i a l   p r o v i d e r   A P I   r e f e r e n c e   ( v 1 ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17705"
  },
  {
    "question": "What is 2.16 - Configure Quotas for API Objects?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   q u o t a s   f o r   A P I   o b j e c t s ,   i n c l u d i n g   P e r s i s t e n t V o l u m e C l a i m s   a n d   S e r v i c e s .   A   q u o t a   r e s t r i c t s   t h e   n u m b e r   o f   o b j e c t s ,   o f   a   p a r t i c u l a r   t y p e ,   t h a t   c a n   b e   c r e a t e d   i n   a   n a m e s p a c e .   Y o u   s p e c i f y   q u o t a s   i n   a   R e s o u r c e Q u o t a   o b j e c t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17706"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17707"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   n a m e s p a c e   s o   t h a t   t h e   r e s o u r c e s   y o u   c r e a t e   i n   t h i s   e x e r c i s e   a r e   i s o l a t e d   f r o m   t h e   r e s t   o f   y o u r   c l u s t e r .   k u b e c t l   c r e a t e   n a m e s p a c e   q u o t a - o b j e c t - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17708"
  },
  {
    "question": "What is Create a ResourceQuota?",
    "answer": "H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   R e s o u r c e Q u o t a   o b j e c t :   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a   m e t a d a t a :   n a m e :   o b j e c t - q u o t a - d e m o   s p e c :   h a r d :   p e r s i s t e n t v o l u m e c l a i m s :   \" 1 \"   s e r v i c e s . l o a d b a l a n c e r s :   \" 2 \"   s e r v i c e s . n o d e p o r t s :   \" 0 \"   C r e a t e   t h e   R e s o u r c e Q u o t a :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / q u o t a - o b j e c t s . y a m l   - - n a m e s p a c e = q u o t a - o b j e c t - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   R e s o u r c e Q u o t a :   k u b e c t l   g e t   r e s o u r c e q u o t a   o b j e c t - q u o t a - d e m o   - - n a m e s p a c e = q u o t a - o b j e c t - e x a m p l e   - - o u t p u t = y a m l   T h e   o u t p u t   s h o w s   t h a t   i n   t h e   q u o t a - o b j e c t - e x a m p l e   n a m e s p a c e ,   t h e r e   c a n   b e   a t   m o s t   o n e   P e r s i s t e n t V o l u m e C l a i m ,   a t   m o s t   t w o   S e r v i c e s   o f   t y p e   L o a d B a l a n c e r ,   a n d   n o   S e r v i c e s   o f   t y p e   N o d e P o r t .   s t a t u s :   h a r d :   p e r s i s t e n t v o l u m e c l a i m s :   \" 1 \"   s e r v i c e s . l o a d b a l a n c e r s :   \" 2 \"   s e r v i c e s . n o d e p o r t s :   \" 0 \"   u s e d :   p e r s i s t e n t v o l u m e c l a i m s :   \" 0 \"   s e r v i c e s . l o a d b a l a n c e r s :   \" 0 \"   s e r v i c e s . n o d e p o r t s :   \" 0 \"",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17709"
  },
  {
    "question": "What is Create a PersistentVolumeClaim?",
    "answer": "H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   P e r s i s t e n t V o l u m e C l a i m   o b j e c t :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   p v c - q u o t a - d e m o   s p e c :   s t o r a g e C l a s s N a m e :   m a n u a l   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   3 G i   C r e a t e   t h e   P e r s i s t e n t V o l u m e C l a i m :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / q u o t a - o b j e c t s - p v c . y a m l   - - n a m e s p a c e = q u o t a - o b j e c t - e x a m p l e   V e r i f y   t h a t   t h e   P e r s i s t e n t V o l u m e C l a i m   w a s   c r e a t e d :   k u b e c t l   g e t   p e r s i s t e n t v o l u m e c l a i m s   - - n a m e s p a c e = q u o t a - o b j e c t - e x a m p l e   T h e   o u t p u t   s h o w s   t h a t   t h e   P e r s i s t e n t V o l u m e C l a i m   e x i s t s   a n d   h a s   s t a t u s   P e n d i n g :   N A M E   S T A T U S   p v c - q u o t a - d e m o   P e n d i n g",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17710"
  },
  {
    "question": "What is Attempt to create a second PersistentVolumeClaim?",
    "answer": "H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   s e c o n d   P e r s i s t e n t V o l u m e C l a i m :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   p v c - q u o t a - d e m o - 2   s p e c :   s t o r a g e C l a s s N a m e :   m a n u a l   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   4 G i   A t t e m p t   t o   c r e a t e   t h e   s e c o n d   P e r s i s t e n t V o l u m e C l a i m :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / r e s o u r c e / q u o t a - o b j e c t s - p v c - 2 . y a m l   - - n a m e s p a c e = q u o t a - o b j e c t - e x a m p l e   T h e   o u t p u t   s h o w s   t h a t   t h e   s e c o n d   P e r s i s t e n t V o l u m e C l a i m   w a s   n o t   c r e a t e d ,   b e c a u s e   i t   w o u l d   h a v e   e x c e e d e d   t h e   q u o t a   f o r   t h e   n a m e s p a c e .   p e r s i s t e n t v o l u m e c l a i m s   \" p v c - q u o t a - d e m o - 2 \"   i s   f o r b i d d e n :   e x c e e d e d   q u o t a :   o b j e c t - q u o t a - d e m o ,   r e q u e s t e d :   p e r s i s t e n t v o l u m e c l a i m s = 1 ,   u s e d :   p e r s i s t e n t v o l u m e c l a i m s = 1 ,   l i m i t e d :   p e r s i s t e n t v o l u m e c l a i m s = 1",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17711"
  },
  {
    "question": "What is Notes?",
    "answer": "T h e s e   a r e   t h e   s t r i n g s   u s e d   t o   i d e n t i f y   A P I   r e s o u r c e s   t h a t   c a n   b e   c o n s t r a i n e d   b y   q u o t a s :",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17712"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   n a m e s p a c e :   k u b e c t l   d e l e t e   n a m e s p a c e   q u o t a - o b j e c t - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17713"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17714"
  },
  {
    "question": "What is For app developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s   C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17715"
  },
  {
    "question": "What is 2.17 - Control CPU Management Policies on the Node?",
    "answer": "K u b e r n e t e s   k e e p s   m a n y   a s p e c t s   o f   h o w   p o d s   e x e c u t e   o n   n o d e s   a b s t r a c t e d   f r o m   t h e   u s e r .   T h i s   i s   b y   d e s i g n .   H o w e v e r ,   s o m e   w o r k l o a d s   r e q u i r e   s t r o n g e r   g u a r a n t e e s   i n   t e r m s   o f   l a t e n c y   a n d / o r   p e r f o r m a n c e   i n   o r d e r   t o   o p e r a t e   a c c e p t a b l y .   T h e   k u b e l e t   p r o v i d e s   m e t h o d s   t o   e n a b l e   m o r e   c o m p l e x   w o r k l o a d   p l a c e m e n t   p o l i c i e s   w h i l e   k e e p i n g   t h e   a b s t r a c t i o n   f r e e   f r o m   e x p l i c i t   p l a c e m e n t   d i r e c t i v e s .   F o r   d e t a i l e d   i n f o r m a t i o n   o n   r e s o u r c e   m a n a g e m e n t ,   p l e a s e   r e f e r   t o   t h e   R e s o u r c e   M a n a g e m e n t   f o r   P o d s   a n d   C o n t a i n e r s   d o c u m e n t a t i o n .   F o r   d e t a i l e d   i n f o r m a t i o n   o n   h o w   t h e   k u b e l e t   i m p l e m e n t s   r e s o u r c e   m a n a g e m e n t ,   p l e a s e   r e f e r   t o   t h e   N o d e   R e s o u r c e M a n a g e r s   d o c u m e n t a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17716"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 2 6 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17717"
  },
  {
    "question": "What is Configuring CPU management policies?",
    "answer": "B y   d e f a u l t ,   t h e   k u b e l e t   u s e s   C F S   q u o t a   t o   e n f o r c e   p o d   C P U   l i m i t s .   W h e n   t h e   n o d e   r u n s   m a n y   C P U - b o u n d   p o d s ,   t h e   w o r k l o a d   c a n   m o v e   t o   d i f f e r e n t   C P U   c o r e s   d e p e n d i n g   o n   w h e t h e r   t h e   p o d   i s   t h r o t t l e d   a n d   w h i c h   C P U   c o r e s   a r e   a v a i l a b l e   a t   s c h e d u l i n g   t i m e .   M a n y   w o r k l o a d s   a r e   n o t   s e n s i t i v e   t o   t h i s   m i g r a t i o n   a n d   t h u s   w o r k   f i n e   w i t h o u t   a n y   i n t e r v e n t i o n .   H o w e v e r ,   i n   w o r k l o a d s   w h e r e   C P U   c a c h e   a f f i n i t y   a n d   s c h e d u l i n g   l a t e n c y   s i g n i f i c a n t l y   a f f e c t   w o r k l o a d   p e r f o r m a n c e ,   t h e   k u b e l e t   a l l o w s   a l t e r n a t i v e   C P U   m a n a g e m e n t   p o l i c i e s   t o   d e t e r m i n e   s o m e   p l a c e m e n t   p r e f e r e n c e s   o n   t h e   n o d e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17718"
  },
  {
    "question": "What is Windows Support?",
    "answer": "C P U   M a n a g e r   s u p p o r t   c a n   b e   e n a b l e d   o n   W i n d o w s   b y   u s i n g   t h e   W i n d o w s C P U A n d M e m o r y A f f i n i t y   f e a t u r e   g a t e   a n d   i t   r e q u i r e s   s u p p o r t   i n   t h e   c o n t a i n e r   r u n t i m e .   O n c e   t h e   f e a t u r e   g a t e   i s   e n a b l e d ,   f o l l o w   t h e   s t e p s   b e l o w   t o   c o n f i g u r e   t h e   C P U   m a n a g e r   p o l i c y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17719"
  },
  {
    "question": "What is Configuration?",
    "answer": "T h e   C P U   M a n a g e r   p o l i c y   i s   s e t   w i t h   t h e   - - c p u - m a n a g e r - p o l i c y   k u b e l e t   f l a g   o r   t h e   c p u M a n a g e r P o l i c y   f i e l d   i n   K u b e l e t C o n f i g u r a t i o n .   T h e r e   a r e   t w o   s u p p o r t e d   p o l i c i e s :   n o n e :   t h e   d e f a u l t   p o l i c y . s t a t i c :   a l l o w s   p o d s   w i t h   c e r t a i n   r e s o u r c e   c h a r a c t e r i s t i c s   t o   b e   g r a n t e d   i n c r e a s e d   C P U   a f f i n i t y   a n d   e x c l u s i v i t y   o n   t h e   n o d e .   T h e   C P U   m a n a g e r   p e r i o d i c a l l y   w r i t e s   r e s o u r c e   u p d a t e s   t h r o u g h   t h e   C R I   i n   o r d e r   t o   r e c o n c i l e   i n - m e m o r y   C P U   a s s i g n m e n t s   w i t h   c g r o u p f s .   T h e   r e c o n c i l e   f r e q u e n c y   i s   s e t   t h r o u g h   a   n e w   K u b e l e t   c o n f i g u r a t i o n   v a l u e   - - c p u - m a n a g e r - r e c o n c i l e - p e r i o d .   I f   n o t   s p e c i f i e d ,   i t   d e f a u l t s   t o   t h e   s a m e   d u r a t i o n   a s   - - n o d e - s t a t u s - u p d a t e - f r e q u e n c y .   T h e   b e h a v i o r   o f   t h e   s t a t i c   p o l i c y   c a n   b e   f i n e - t u n e d   u s i n g   t h e   - - c p u - m a n a g e r - p o l i c y - o p t i o n s   f l a g .   T h e   f l a g   t a k e s   a   c o m m a - s e p a r a t e d   l i s t   o f   k e y = v a l u e   p o l i c y   o p t i o n s .   I f   y o u   d i s a b l e   t h e   C P U M a n a g e r P o l i c y O p t i o n s   f e a t u r e   g a t e   t h e n   y o u   c a n n o t   f i n e - t u n e   C P U   m a n a g e r   p o l i c i e s .   I n   t h a t   c a s e ,   t h e   C P U   m a n a g e r   o p e r a t e s   o n l y   u s i n g   i t s   d e f a u l t   s e t t i n g s .   I n   a d d i t i o n   t o   t h e   t o p - l e v ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17720"
  },
  {
    "question": "What is Changing the CPU Manager Policy?",
    "answer": "S i n c e   t h e   C P U   m a n a g e r   p o l i c y   c a n   o n l y   b e   a p p l i e d   w h e n   k u b e l e t   s p a w n s   n e w   p o d s ,   s i m p l y   c h a n g i n g   f r o m   \" n o n e \"   t o   \" s t a t i c \"   w o n ' t   a p p l y   t o   e x i s t i n g   p o d s .   S o   i n   o r d e r   t o   p r o p e r l y   c h a n g e   t h e   C P U   m a n a g e r   p o l i c y   o n   a   n o d e ,   p e r f o r m   t h e   f o l l o w i n g   s t e p s :   D r a i n   t h e   n o d e . S t o p   k u b e l e t . R e m o v e   t h e   o l d   C P U   m a n a g e r   s t a t e   f i l e .   T h e   p a t h   t o   t h i s   f i l e   i s   / v a r / l i b / k u b e l e t / c p u _ m a n a g e r _ s t a t e   b y   d e f a u l t .   T h i s   c l e a r s   t h e   s t a t e   m a i n t a i n e d   b y   t h e   C P U M a n a g e r   s o   t h a t   t h e   c p u - s e t s   s e t   u p   b y   t h e   n e w   p o l i c y   w o n ’ t   c o n f l i c t   w i t h   i t . E d i t   t h e   k u b e l e t   c o n f i g u r a t i o n   t o   c h a n g e   t h e   C P U   m a n a g e r   p o l i c y   t o   t h e   d e s i r e d   v a l u e . S t a r t   k u b e l e t .   R e p e a t   t h i s   p r o c e s s   f o r   e v e r y   n o d e   t h a t   n e e d s   i t s   C P U   m a n a g e r   p o l i c y   c h a n g e d .   S k i p p i n g   t h i s   p r o c e s s   w i l l   r e s u l t   i n   k u b e l e t   c r a s h l o o p i n g   w i t h   t h e   f o l l o w i n g   e r r o r :   c o u l d   n o t   r e s t o r e   s t a t e   f r o m   c h e c k p o i n t :   c o n f i g u r e d   p o l i c y   \" s t a t i c \"   d i f f e r s   f r o m   s t a t e   c h e c k p o i n t   p o l i c y   \" n o n e \" ,   p l e a s e   d r a i n   t h i s   n o d e   a n d   d e l e t e   t h e   C P U   m a n a g e r   c h e c k p o i n t   f i l e   \" / v a r / l i b / k u b e l e t / c p u _ m a n a g e r _ s t a t e \"   b e f o r e   r e s t a r t i n g   K u ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17721"
  },
  {
    "question": "What is none policy configuration?",
    "answer": "T h i s   p o l i c y   h a s   n o   e x t r a   c o n f i g u r a t i o n   i t e m s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17722"
  },
  {
    "question": "What is static policy configuration?",
    "answer": "T h i s   p o l i c y   m a n a g e s   a   s h a r e d   p o o l   o f   C P U s   t h a t   i n i t i a l l y   c o n t a i n s   a l l   C P U s   i n   t h e   n o d e .   T h e   a m o u n t   o f   e x c l u s i v e l y   a l l o c a t a b l e   C P U s   i s   e q u a l   t o   t h e   t o t a l   n u m b e r   o f   C P U s   i n   t h e   n o d e   m i n u s   a n y   C P U   r e s e r v a t i o n s   b y   t h e   k u b e l e t   - - k u b e - r e s e r v e d   o r   - - s y s t e m - r e s e r v e d   o p t i o n s .   F r o m   1 . 1 7 ,   t h e   C P U   r e s e r v a t i o n   l i s t   c a n   b e   s p e c i f i e d   e x p l i c i t l y   b y   k u b e l e t   - - r e s e r v e d - c p u s   o p t i o n .   T h e   e x p l i c i t   C P U   l i s t   s p e c i f i e d   b y   - - r e s e r v e d - c p u s   t a k e s   p r e c e d e n c e   o v e r   t h e   C P U   r e s e r v a t i o n   s p e c i f i e d   b y   - - k u b e - r e s e r v e d   a n d   - - s y s t e m - r e s e r v e d .   C P U s   r e s e r v e d   b y   t h e s e   o p t i o n s   a r e   t a k e n ,   i n   i n t e g e r   q u a n t i t y ,   f r o m   t h e   i n i t i a l   s h a r e d   p o o l   i n   a s c e n d i n g   o r d e r   b y   p h y s i c a l   c o r e   I D .   T h i s   s h a r e d   p o o l   i s   t h e   s e t   o f   C P U s   o n   w h i c h   a n y   c o n t a i n e r s   i n   B e s t E f f o r t   a n d   B u r s t a b l e   p o d s   r u n .   C o n t a i n e r s   i n   G u a r a n t e e d   p o d s   w i t h   f r a c t i o n a l   C P U   r e q u e s t s   a l s o   r u n   o n   C P U s   i n   t h e   s h a r e d   p o o l .   O n l y   c o n t a i n e r s   t h a t   a r e   b o t h   p a r t   o f   a   G u a r a n t e e d   p o d   a n d   h a v e   i n t e g e r   C P U   r e q u e s t s   a r e   a s s i g n e d   e x c l u s i v e   C P U s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17723"
  },
  {
    "question": "What is Static policy options?",
    "answer": "Y o u   c a n   t o g g l e   g r o u p s   o f   o p t i o n s   o n   a n d   o f f   b a s e d   u p o n   t h e i r   m a t u r i t y   l e v e l   u s i n g   t h e   f o l l o w i n g   f e a t u r e   g a t e s :   C P U M a n a g e r P o l i c y B e t a O p t i o n s   d e f a u l t   e n a b l e d .   D i s a b l e   t o   h i d e   b e t a - l e v e l   o p t i o n s . C P U M a n a g e r P o l i c y A l p h a O p t i o n s   d e f a u l t   d i s a b l e d .   E n a b l e   t o   s h o w   a l p h a - l e v e l   o p t i o n s .   Y o u   w i l l   s t i l l   h a v e   t o   e n a b l e   e a c h   o p t i o n   u s i n g   t h e   C P U M a n a g e r P o l i c y O p t i o n s   k u b e l e t   o p t i o n .   T h e   f o l l o w i n g   p o l i c y   o p t i o n s   e x i s t   f o r   t h e   s t a t i c   C P U M a n a g e r   p o l i c y :   f u l l - p c p u s - o n l y   ( G A ,   v i s i b l e   b y   d e f a u l t )   ( 1 . 3 3   o r   h i g h e r ) d i s t r i b u t e - c p u s - a c r o s s - n u m a   ( b e t a ,   v i s i b l e   b y   d e f a u l t )   ( 1 . 3 3   o r   h i g h e r ) a l i g n - b y - s o c k e t   ( a l p h a ,   h i d d e n   b y   d e f a u l t )   ( 1 . 2 5   o r   h i g h e r ) d i s t r i b u t e - c p u s - a c r o s s - c o r e s   ( a l p h a ,   h i d d e n   b y   d e f a u l t )   ( 1 . 3 1   o r   h i g h e r ) s t r i c t - c p u - r e s e r v a t i o n   ( b e t a ,   v i s i b l e   b y   d e f a u l t )   ( 1 . 3 2   o r   h i g h e r ) p r e f e r - a l i g n - c p u s - b y - u n c o r e c a c h e   ( b e t a ,   v i s i b l e   b y   d e f a u l t )   ( 1 . 3 4   o r   h i g h e r )   T h e   f u l l - p c p u s - o n l y   o p t i o n   c a n   b e   e n a b l e d   b y   a d d i n g   f u l l - p c p u s - o n l y = t r u e   t o   t h e   C P U M a n a g e r   p o l i c y   o p t i o n s .   L i k e w i s e ,   t h e   d i s t r i b u t e - c p u s - a c r o s s - n u m a   o p t i o n   c a n   b e   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17724"
  },
  {
    "question": "What is 2.18 - Control Topology Management Policies on a node?",
    "answer": "A n   i n c r e a s i n g   n u m b e r   o f   s y s t e m s   l e v e r a g e   a   c o m b i n a t i o n   o f   C P U s   a n d   h a r d w a r e   a c c e l e r a t o r s   t o   s u p p o r t   l a t e n c y - c r i t i c a l   e x e c u t i o n   a n d   h i g h - t h r o u g h p u t   p a r a l l e l   c o m p u t a t i o n .   T h e s e   i n c l u d e   w o r k l o a d s   i n   f i e l d s   s u c h   a s   t e l e c o m m u n i c a t i o n s ,   s c i e n t i f i c   c o m p u t i n g ,   m a c h i n e   l e a r n i n g ,   f i n a n c i a l   s e r v i c e s   a n d   d a t a   a n a l y t i c s .   S u c h   h y b r i d   s y s t e m s   c o m p r i s e   a   h i g h   p e r f o r m a n c e   e n v i r o n m e n t .   I n   o r d e r   t o   e x t r a c t   t h e   b e s t   p e r f o r m a n c e ,   o p t i m i z a t i o n s   r e l a t e d   t o   C P U   i s o l a t i o n ,   m e m o r y   a n d   d e v i c e   l o c a l i t y   a r e   r e q u i r e d .   H o w e v e r ,   i n   K u b e r n e t e s ,   t h e s e   o p t i m i z a t i o n s   a r e   h a n d l e d   b y   a   d i s j o i n t   s e t   o f   c o m p o n e n t s .   T o p o l o g y   M a n a g e r   i s   a   k u b e l e t   c o m p o n e n t   t h a t   a i m s   t o   c o o r d i n a t e   t h e   s e t   o f   c o m p o n e n t s   t h a t   a r e   r e s p o n s i b l e   f o r   t h e s e   o p t i m i z a t i o n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17725"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 1 8 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17726"
  },
  {
    "question": "What is How topology manager works?",
    "answer": "P r i o r   t o   t h e   i n t r o d u c t i o n   o f   T o p o l o g y   M a n a g e r ,   t h e   C P U   a n d   D e v i c e   M a n a g e r   i n   K u b e r n e t e s   m a k e   r e s o u r c e   a l l o c a t i o n   d e c i s i o n s   i n d e p e n d e n t l y   o f   e a c h   o t h e r .   T h i s   c a n   r e s u l t   i n   u n d e s i r a b l e   a l l o c a t i o n s   o n   m u l t i p l e - s o c k e t e d   s y s t e m s ,   a n d   p e r f o r m a n c e / l a t e n c y   s e n s i t i v e   a p p l i c a t i o n s   w i l l   s u f f e r   d u e   t o   t h e s e   u n d e s i r a b l e   a l l o c a t i o n s .   U n d e s i r a b l e   i n   t h i s   c a s e   m e a n i n g ,   f o r   e x a m p l e ,   C P U s   a n d   d e v i c e s   b e i n g   a l l o c a t e d   f r o m   d i f f e r e n t   N U M A   N o d e s ,   t h u s   i n c u r r i n g   a d d i t i o n a l   l a t e n c y .   T h e   T o p o l o g y   M a n a g e r   i s   a   k u b e l e t   c o m p o n e n t ,   w h i c h   a c t s   a s   a   s o u r c e   o f   t r u t h   s o   t h a t   o t h e r   k u b e l e t   c o m p o n e n t s   c a n   m a k e   t o p o l o g y   a l i g n e d   r e s o u r c e   a l l o c a t i o n   c h o i c e s .   T h e   T o p o l o g y   M a n a g e r   p r o v i d e s   a n   i n t e r f a c e   f o r   c o m p o n e n t s ,   c a l l e d   H i n t   P r o v i d e r s ,   t o   s e n d   a n d   r e c e i v e   t o p o l o g y   i n f o r m a t i o n .   T h e   T o p o l o g y   M a n a g e r   h a s   a   s e t   o f   n o d e   l e v e l   p o l i c i e s   w h i c h   a r e   e x p l a i n e d   b e l o w .   T h e   T o p o l o g y   M a n a g e r   r e c e i v e s   t o p o l o g y   i n f o r m a t i o n   f r o m   t h e   H i n t   P r o v i d e r s   a s   a   b i t m a s k   d e n o t i n g   N U M A   N o d e s   a v a i l a b l e   a n d   a   p r e f e r r e d   a l l o c a t i o n   i n d i c a t i o n .   T h e   T o p o l ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17727"
  },
  {
    "question": "What is Windows Support?",
    "answer": "T h e   T o p o l o g y   M a n a g e r   s u p p o r t   c a n   b e   e n a b l e d   o n   W i n d o w s   b y   u s i n g   t h e   W i n d o w s C P U A n d M e m o r y A f f i n i t y   f e a t u r e   g a t e   a n d   i t   r e q u i r e s   s u p p o r t   i n   t h e   c o n t a i n e r   r u n t i m e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17728"
  },
  {
    "question": "What is Topology manager scopes and policies?",
    "answer": "T h e   T o p o l o g y   M a n a g e r   c u r r e n t l y :   a l i g n s   P o d s   o f   a l l   Q o S   c l a s s e s . a l i g n s   t h e   r e q u e s t e d   r e s o u r c e s   t h a t   H i n t   P r o v i d e r   p r o v i d e s   t o p o l o g y   h i n t s   f o r .   I f   t h e s e   c o n d i t i o n s   a r e   m e t ,   t h e   T o p o l o g y   M a n a g e r   w i l l   a l i g n   t h e   r e q u e s t e d   r e s o u r c e s .   I n   o r d e r   t o   c u s t o m i z e   h o w   t h i s   a l i g n m e n t   i s   c a r r i e d   o u t ,   t h e   T o p o l o g y   M a n a g e r   p r o v i d e s   t w o   d i s t i n c t   o p t i o n s :   s c o p e   a n d   p o l i c y .   T h e   s c o p e   d e f i n e s   t h e   g r a n u l a r i t y   a t   w h i c h   y o u   w o u l d   l i k e   r e s o u r c e   a l i g n m e n t   t o   b e   p e r f o r m e d ,   f o r   e x a m p l e ,   a t   t h e   p o d   o r   c o n t a i n e r   l e v e l .   A n d   t h e   p o l i c y   d e f i n e s   t h e   a c t u a l   p o l i c y   u s e d   t o   c a r r y   o u t   t h e   a l i g n m e n t ,   f o r   e x a m p l e ,   b e s t - e f f o r t ,   r e s t r i c t e d ,   a n d   s i n g l e - n u m a - n o d e .   D e t a i l s   o n   t h e   v a r i o u s   s c o p e s   a n d   p o l i c i e s   a v a i l a b l e   t o d a y   c a n   b e   f o u n d   b e l o w .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17729"
  },
  {
    "question": "What is Topology manager scopes?",
    "answer": "T h e   T o p o l o g y   M a n a g e r   c a n   d e a l   w i t h   t h e   a l i g n m e n t   o f   r e s o u r c e s   i n   a   c o u p l e   o f   d i s t i n c t   s c o p e s :   c o n t a i n e r   ( d e f a u l t ) p o d   E i t h e r   o p t i o n   c a n   b e   s e l e c t e d   a t   a   t i m e   o f   t h e   k u b e l e t   s t a r t u p ,   b y   s e t t i n g   t h e   t o p o l o g y M a n a g e r S c o p e   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17730"
  },
  {
    "question": "What is container scope?",
    "answer": "T h e   c o n t a i n e r   s c o p e   i s   u s e d   b y   d e f a u l t .   Y o u   c a n   a l s o   e x p l i c i t l y   s e t   t h e   t o p o l o g y M a n a g e r S c o p e   t o   c o n t a i n e r   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e .   W i t h i n   t h i s   s c o p e ,   t h e   T o p o l o g y   M a n a g e r   p e r f o r m s   a   n u m b e r   o f   s e q u e n t i a l   r e s o u r c e   a l i g n m e n t s ,   i . e . ,   f o r   e a c h   c o n t a i n e r   ( i n   a   p o d )   a   s e p a r a t e   a l i g n m e n t   i s   c o m p u t e d .   I n   o t h e r   w o r d s ,   t h e r e   i s   n o   n o t i o n   o f   g r o u p i n g   t h e   c o n t a i n e r s   t o   a   s p e c i f i c   s e t   o f   N U M A   n o d e s ,   f o r   t h i s   p a r t i c u l a r   s c o p e .   I n   e f f e c t ,   t h e   T o p o l o g y   M a n a g e r   p e r f o r m s   a n   a r b i t r a r y   a l i g n m e n t   o f   i n d i v i d u a l   c o n t a i n e r s   t o   N U M A   n o d e s .   T h e   n o t i o n   o f   g r o u p i n g   t h e   c o n t a i n e r s   w a s   e n d o r s e d   a n d   i m p l e m e n t e d   o n   p u r p o s e   i n   t h e   f o l l o w i n g   s c o p e ,   f o r   e x a m p l e   t h e   p o d   s c o p e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17731"
  },
  {
    "question": "What is pod scope?",
    "answer": "T o   s e l e c t   t h e   p o d   s c o p e ,   s e t   t o p o l o g y M a n a g e r S c o p e   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e   t o   p o d .   T h i s   s c o p e   a l l o w s   f o r   g r o u p i n g   a l l   c o n t a i n e r s   i n   a   p o d   t o   a   c o m m o n   s e t   o f   N U M A   n o d e s .   T h a t   i s ,   t h e   T o p o l o g y   M a n a g e r   t r e a t s   a   p o d   a s   a   w h o l e   a n d   a t t e m p t s   t o   a l l o c a t e   t h e   e n t i r e   p o d   ( a l l   c o n t a i n e r s )   t o   e i t h e r   a   s i n g l e   N U M A   n o d e   o r   a   c o m m o n   s e t   o f   N U M A   n o d e s .   T h e   f o l l o w i n g   e x a m p l e s   i l l u s t r a t e   t h e   a l i g n m e n t s   p r o d u c e d   b y   t h e   T o p o l o g y   M a n a g e r   o n   d i f f e r e n t   o c c a s i o n s :   a l l   c o n t a i n e r s   c a n   b e   a n d   a r e   a l l o c a t e d   t o   a   s i n g l e   N U M A   n o d e ; a l l   c o n t a i n e r s   c a n   b e   a n d   a r e   a l l o c a t e d   t o   a   s h a r e d   s e t   o f   N U M A   n o d e s .   T h e   t o t a l   a m o u n t   o f   p a r t i c u l a r   r e s o u r c e   d e m a n d e d   f o r   t h e   e n t i r e   p o d   i s   c a l c u l a t e d   a c c o r d i n g   t o   e f f e c t i v e   r e q u e s t s / l i m i t s   f o r m u l a ,   a n d   t h u s ,   t h i s   t o t a l   v a l u e   i s   e q u a l   t o   t h e   m a x i m u m   o f :   t h e   s u m   o f   a l l   a p p   c o n t a i n e r   r e q u e s t s , t h e   m a x i m u m   o f   i n i t   c o n t a i n e r   r e q u e s t s ,   f o r   a   r e s o u r c e .   U s i n g   t h e   p o d   s c o p e   i n   t a n d e m   w i t h   s i n g l e - n u m a - n o d e   T o p o l o g y   M a n a g e r   p o l i c y   i s   s p e c i f i c a l l y   v a l u a b l e   f o r   w o r k l o a d s   t h a t   a r e   l a t e n c y   s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17732"
  },
  {
    "question": "What is Topology manager policies?",
    "answer": "T h e   T o p o l o g y   M a n a g e r   s u p p o r t s   f o u r   a l l o c a t i o n   p o l i c i e s .   Y o u   c a n   s e t   a   p o l i c y   v i a   a   k u b e l e t   f l a g ,   - - t o p o l o g y - m a n a g e r - p o l i c y .   T h e r e   a r e   f o u r   s u p p o r t e d   p o l i c i e s :   n o n e   ( d e f a u l t ) b e s t - e f f o r t r e s t r i c t e d s i n g l e - n u m a - n o d e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17733"
  },
  {
    "question": "What is none policy?",
    "answer": "T h i s   i s   t h e   d e f a u l t   p o l i c y   a n d   d o e s   n o t   p e r f o r m   a n y   t o p o l o g y   a l i g n m e n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17734"
  },
  {
    "question": "What is best-effort policy?",
    "answer": "F o r   e a c h   c o n t a i n e r   i n   a   P o d ,   t h e   k u b e l e t ,   w i t h   b e s t - e f f o r t   t o p o l o g y   m a n a g e m e n t   p o l i c y ,   c a l l s   e a c h   H i n t   P r o v i d e r   t o   d i s c o v e r   t h e i r   r e s o u r c e   a v a i l a b i l i t y .   U s i n g   t h i s   i n f o r m a t i o n ,   t h e   T o p o l o g y   M a n a g e r   s t o r e s   t h e   p r e f e r r e d   N U M A   N o d e   a f f i n i t y   f o r   t h a t   c o n t a i n e r .   I f   t h e   a f f i n i t y   i s   n o t   p r e f e r r e d ,   t h e   T o p o l o g y   M a n a g e r   w i l l   s t o r e   t h i s   a n d   a d m i t   t h e   p o d   t o   t h e   n o d e   a n y w a y .   T h e   H i n t   P r o v i d e r s   c a n   t h e n   u s e   t h i s   i n f o r m a t i o n   w h e n   m a k i n g   t h e   r e s o u r c e   a l l o c a t i o n   d e c i s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17735"
  },
  {
    "question": "What is restricted policy?",
    "answer": "F o r   e a c h   c o n t a i n e r   i n   a   P o d ,   t h e   k u b e l e t ,   w i t h   r e s t r i c t e d   t o p o l o g y   m a n a g e m e n t   p o l i c y ,   c a l l s   e a c h   H i n t   P r o v i d e r   t o   d i s c o v e r   t h e i r   r e s o u r c e   a v a i l a b i l i t y .   U s i n g   t h i s   i n f o r m a t i o n ,   t h e   T o p o l o g y   M a n a g e r   s t o r e s   t h e   p r e f e r r e d   N U M A   N o d e   a f f i n i t y   f o r   t h a t   c o n t a i n e r .   I f   t h e   a f f i n i t y   i s   n o t   p r e f e r r e d ,   t h e   T o p o l o g y   M a n a g e r   w i l l   r e j e c t   t h i s   p o d   f r o m   t h e   n o d e .   T h i s   w i l l   r e s u l t   i n   a   p o d   e n t e r i n g   a   T e r m i n a t e d   s t a t e   w i t h   a   p o d   a d m i s s i o n   f a i l u r e .   O n c e   t h e   p o d   i s   i n   a   T e r m i n a t e d   s t a t e ,   t h e   K u b e r n e t e s   s c h e d u l e r   w i l l   n o t   a t t e m p t   t o   r e s c h e d u l e   t h e   p o d .   I t   i s   r e c o m m e n d e d   t o   u s e   a   R e p l i c a S e t   o r   D e p l o y m e n t   t o   t r i g g e r   a   r e d e p l o y m e n t   o f   t h e   p o d .   A n   e x t e r n a l   c o n t r o l   l o o p   c o u l d   b e   a l s o   i m p l e m e n t e d   t o   t r i g g e r   a   r e d e p l o y m e n t   o f   p o d s   t h a t   h a v e   t h e   T o p o l o g y   A f f i n i t y   e r r o r .   I f   t h e   p o d   i s   a d m i t t e d ,   t h e   H i n t   P r o v i d e r s   c a n   t h e n   u s e   t h i s   i n f o r m a t i o n   w h e n   m a k i n g   t h e   r e s o u r c e   a l l o c a t i o n   d e c i s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17736"
  },
  {
    "question": "What is single-numa-node policy?",
    "answer": "F o r   e a c h   c o n t a i n e r   i n   a   P o d ,   t h e   k u b e l e t ,   w i t h   s i n g l e - n u m a - n o d e   t o p o l o g y   m a n a g e m e n t   p o l i c y ,   c a l l s   e a c h   H i n t   P r o v i d e r   t o   d i s c o v e r   t h e i r   r e s o u r c e   a v a i l a b i l i t y .   U s i n g   t h i s   i n f o r m a t i o n ,   t h e   T o p o l o g y   M a n a g e r   d e t e r m i n e s   i f   a   s i n g l e   N U M A   N o d e   a f f i n i t y   i s   p o s s i b l e .   I f   i t   i s ,   T o p o l o g y   M a n a g e r   w i l l   s t o r e   t h i s   a n d   t h e   H i n t   P r o v i d e r s   c a n   t h e n   u s e   t h i s   i n f o r m a t i o n   w h e n   m a k i n g   t h e   r e s o u r c e   a l l o c a t i o n   d e c i s i o n .   I f ,   h o w e v e r ,   t h i s   i s   n o t   p o s s i b l e   t h e n   t h e   T o p o l o g y   M a n a g e r   w i l l   r e j e c t   t h e   p o d   f r o m   t h e   n o d e .   T h i s   w i l l   r e s u l t   i n   a   p o d   i n   a   T e r m i n a t e d   s t a t e   w i t h   a   p o d   a d m i s s i o n   f a i l u r e .   O n c e   t h e   p o d   i s   i n   a   T e r m i n a t e d   s t a t e ,   t h e   K u b e r n e t e s   s c h e d u l e r   w i l l   n o t   a t t e m p t   t o   r e s c h e d u l e   t h e   p o d .   I t   i s   r e c o m m e n d e d   t o   u s e   a   D e p l o y m e n t   w i t h   r e p l i c a s   t o   t r i g g e r   a   r e d e p l o y m e n t   o f   t h e   P o d .   A n   e x t e r n a l   c o n t r o l   l o o p   c o u l d   b e   a l s o   i m p l e m e n t e d   t o   t r i g g e r   a   r e d e p l o y m e n t   o f   p o d s   t h a t   h a v e   t h e   T o p o l o g y   A f f i n i t y   e r r o r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17737"
  },
  {
    "question": "What is Topology manager policy options?",
    "answer": "S u p p o r t   f o r   t h e   T o p o l o g y   M a n a g e r   p o l i c y   o p t i o n s   r e q u i r e s   T o p o l o g y M a n a g e r P o l i c y O p t i o n s   f e a t u r e   g a t e   t o   b e   e n a b l e d   ( i t   i s   e n a b l e d   b y   d e f a u l t ) .   Y o u   c a n   t o g g l e   g r o u p s   o f   o p t i o n s   o n   a n d   o f f   b a s e d   u p o n   t h e i r   m a t u r i t y   l e v e l   u s i n g   t h e   f o l l o w i n g   f e a t u r e   g a t e s :   T o p o l o g y M a n a g e r P o l i c y B e t a O p t i o n s   d e f a u l t   e n a b l e d .   E n a b l e   t o   s h o w   b e t a - l e v e l   o p t i o n s . T o p o l o g y M a n a g e r P o l i c y A l p h a O p t i o n s   d e f a u l t   d i s a b l e d .   E n a b l e   t o   s h o w   a l p h a - l e v e l   o p t i o n s .   Y o u   w i l l   s t i l l   h a v e   t o   e n a b l e   e a c h   o p t i o n   u s i n g   t h e   T o p o l o g y M a n a g e r P o l i c y O p t i o n s   k u b e l e t   o p t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17738"
  },
  {
    "question": "What is prefer-closest-numa-nodes?",
    "answer": "T h e   p r e f e r - c l o s e s t - n u m a - n o d e s   o p t i o n   i s   G A   s i n c e   K u b e r n e t e s   1 . 3 2 .   I n   K u b e r n e t e s   1 . 3 4   t h i s   p o l i c y   o p t i o n   i s   v i s i b l e   b y   d e f a u l t   p r o v i d e d   t h a t   t h e   T o p o l o g y M a n a g e r P o l i c y O p t i o n s   f e a t u r e   g a t e   i s   e n a b l e d .   T h e   T o p o l o g y   M a n a g e r   i s   n o t   a w a r e   b y   d e f a u l t   o f   N U M A   d i s t a n c e s ,   a n d   d o e s   n o t   t a k e   t h e m   i n t o   a c c o u n t   w h e n   m a k i n g   P o d   a d m i s s i o n   d e c i s i o n s .   T h i s   l i m i t a t i o n   s u r f a c e s   i n   m u l t i - s o c k e t ,   a s   w e l l   a s   s i n g l e - s o c k e t   m u l t i   N U M A   s y s t e m s ,   a n d   c a n   c a u s e   s i g n i f i c a n t   p e r f o r m a n c e   d e g r a d a t i o n   i n   l a t e n c y - c r i t i c a l   e x e c u t i o n   a n d   h i g h - t h r o u g h p u t   a p p l i c a t i o n s   i f   t h e   T o p o l o g y   M a n a g e r   d e c i d e s   t o   a l i g n   r e s o u r c e s   o n   n o n - a d j a c e n t   N U M A   n o d e s .   I f   y o u   s p e c i f y   t h e   p r e f e r - c l o s e s t - n u m a - n o d e s   p o l i c y   o p t i o n ,   t h e   b e s t - e f f o r t   a n d   r e s t r i c t e d   p o l i c i e s   f a v o r   s e t s   o f   N U M A   n o d e s   w i t h   s h o r t e r   d i s t a n c e   b e t w e e n   t h e m   w h e n   m a k i n g   a d m i s s i o n   d e c i s i o n s .   Y o u   c a n   e n a b l e   t h i s   o p t i o n   b y   a d d i n g   p r e f e r - c l o s e s t - n u m a - n o d e s = t r u e   t o   t h e   T o p o l o g y   M a n a g e r   p o l i c y   o p t i o n s .   B y   d e f a u l t   ( w i t h o u t   t h i s   o p t i o n ) ,   t h e   T o p o l o g y   M a n a g e r   a l i g n s   r e s o u r c e s   o n   e i t h e r   a   s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17739"
  },
  {
    "question": "What is max-allowable-numa-nodes (beta)?",
    "answer": "T h e   m a x - a l l o w a b l e - n u m a - n o d e s   o p t i o n   i s   b e t a   s i n c e   K u b e r n e t e s   1 . 3 1 .   I n   K u b e r n e t e s   1 . 3 4 ,   t h i s   p o l i c y   o p t i o n   i s   v i s i b l e   b y   d e f a u l t   p r o v i d e d   t h a t   t h e   T o p o l o g y M a n a g e r P o l i c y O p t i o n s   a n d   T o p o l o g y M a n a g e r P o l i c y B e t a O p t i o n s   f e a t u r e   g a t e s   a r e   e n a b l e d .   T h e   t i m e   t o   a d m i t   a   p o d   i s   t i e d   t o   t h e   n u m b e r   o f   N U M A   n o d e s   o n   t h e   p h y s i c a l   m a c h i n e .   B y   d e f a u l t ,   K u b e r n e t e s   d o e s   n o t   r u n   a   k u b e l e t   w i t h   t h e   T o p o l o g y   M a n a g e r   e n a b l e d ,   o n   a n y   ( K u b e r n e t e s )   n o d e   w h e r e   m o r e   t h a n   8   N U M A   n o d e s   a r e   d e t e c t e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17740"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   e n a b l e   t h i s   o p t i o n   b y   a d d i n g   m a x - a l l o w a b l e - n u m a - n o d e s = t r u e   t o   t h e   T o p o l o g y   M a n a g e r   p o l i c y   o p t i o n s .   S e t t i n g   a   v a l u e   o f   m a x - a l l o w a b l e - n u m a - n o d e s   d o e s   n o t   ( i n   a n d   o f   i t s e l f )   a f f e c t   t h e   l a t e n c y   o f   p o d   a d m i s s i o n ,   b u t   b i n d i n g   a   P o d   t o   a   ( K u b e r n e t e s )   n o d e   w i t h   m a n y   N U M A   d o e s   h a v e   a n   i m p a c t .   F u t u r e ,   p o t e n t i a l   i m p r o v e m e n t s   t o   K u b e r n e t e s   m a y   i m p r o v e   P o d   a d m i s s i o n   p e r f o r m a n c e   a n d   t h e   h i g h   l a t e n c y   t h a t   h a p p e n s   a s   t h e   n u m b e r   o f   N U M A   n o d e s   i n c r e a s e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17741"
  },
  {
    "question": "What is Pod interactions with topology manager policies?",
    "answer": "C o n s i d e r   t h e   c o n t a i n e r s   i n   t h e   f o l l o w i n g   P o d   m a n i f e s t :   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   T h i s   p o d   r u n s   i n   t h e   B e s t E f f o r t   Q o S   c l a s s   b e c a u s e   n o   r e s o u r c e   r e q u e s t s   o r   l i m i t s   a r e   s p e c i f i e d .   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 2 0 0 M i \"   r e q u e s t s :   m e m o r y :   \" 1 0 0 M i \"   T h i s   p o d   r u n s   i n   t h e   B u r s t a b l e   Q o S   c l a s s   b e c a u s e   r e q u e s t s   a r e   l e s s   t h a n   l i m i t s .   I f   t h e   s e l e c t e d   p o l i c y   i s   a n y t h i n g   o t h e r   t h a n   n o n e ,   t h e   T o p o l o g y   M a n a g e r   w o u l d   c o n s i d e r   t h e s e   P o d   s p e c i f i c a t i o n s .   T h e   T o p o l o g y   M a n a g e r   w o u l d   c o n s u l t   t h e   H i n t   P r o v i d e r s   t o   g e t   t o p o l o g y   h i n t s .   I n   t h e   c a s e   o f   t h e   s t a t i c ,   t h e   C P U   M a n a g e r   p o l i c y   w o u l d   r e t u r n   d e f a u l t   t o p o l o g y   h i n t ,   b e c a u s e   t h e s e   P o d s   d o   n o t   e x p l i c i t l y   r e q u e s t   C P U   r e s o u r c e s .   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 2 0 0 M i \"   c p u :   \" 2 \"   e x a m p l e . c o m / d e v i c e :   \" 1 \"   r e q u e s t s :   m e m o r y :   \" 2 0 0 M i \"   c p u :   \" 2 \"   e x a m p l e . c o m / d e v i c e :   \" 1 \"   T h i s   p o d   w i t h   i n t e g e r   C P U   r e q u e s t   r u n s   i n   t h e   G u a r a n t e e d   Q o S   c l a s s   b e c a u s e   r e q u e s t s   a r e   e q u a l   t o   l i m i t s .   s p e c ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17742"
  },
  {
    "question": "What is Known limitations?",
    "answer": "T h e   m a x i m u m   n u m b e r   o f   N U M A   n o d e s   t h a t   T o p o l o g y   M a n a g e r   a l l o w s   i s   8 .   W i t h   m o r e   t h a n   8   N U M A   n o d e s ,   t h e r e   w i l l   b e   a   s t a t e   e x p l o s i o n   w h e n   t r y i n g   t o   e n u m e r a t e   t h e   p o s s i b l e   N U M A   a f f i n i t i e s   a n d   g e n e r a t i n g   t h e i r   h i n t s .   S e e   m a x - a l l o w a b l e - n u m a - n o d e s   ( b e t a )   f o r   m o r e   o p t i o n s . T h e   s c h e d u l e r   i s   n o t   t o p o l o g y - a w a r e ,   s o   i t   i s   p o s s i b l e   t o   b e   s c h e d u l e d   o n   a   n o d e   a n d   t h e n   f a i l   o n   t h e   n o d e   d u e   t o   t h e   T o p o l o g y   M a n a g e r .   T h e   m a x i m u m   n u m b e r   o f   N U M A   n o d e s   t h a t   T o p o l o g y   M a n a g e r   a l l o w s   i s   8 .   W i t h   m o r e   t h a n   8   N U M A   n o d e s ,   t h e r e   w i l l   b e   a   s t a t e   e x p l o s i o n   w h e n   t r y i n g   t o   e n u m e r a t e   t h e   p o s s i b l e   N U M A   a f f i n i t i e s   a n d   g e n e r a t i n g   t h e i r   h i n t s .   S e e   m a x - a l l o w a b l e - n u m a - n o d e s   ( b e t a )   f o r   m o r e   o p t i o n s .   T h e   s c h e d u l e r   i s   n o t   t o p o l o g y - a w a r e ,   s o   i t   i s   p o s s i b l e   t o   b e   s c h e d u l e d   o n   a   n o d e   a n d   t h e n   f a i l   o n   t h e   n o d e   d u e   t o   t h e   T o p o l o g y   M a n a g e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17743"
  },
  {
    "question": "What is 2.19 - Customizing DNS Service?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   t o   c o n f i g u r e   y o u r   D N S   P o d ( s )   a n d   c u s t o m i z e   t h e   D N S   r e s o l u t i o n   p r o c e s s   i n   y o u r   c l u s t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17744"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u r   c l u s t e r   m u s t   b e   r u n n i n g   t h e   C o r e D N S   a d d - o n .   Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 1 2 .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17745"
  },
  {
    "question": "What is Introduction?",
    "answer": "D N S   i s   a   b u i l t - i n   K u b e r n e t e s   s e r v i c e   l a u n c h e d   a u t o m a t i c a l l y   u s i n g   t h e   a d d o n   m a n a g e r   c l u s t e r   a d d - o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17746"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   a r e   r u n n i n g   C o r e D N S   a s   a   D e p l o y m e n t ,   i t   w i l l   t y p i c a l l y   b e   e x p o s e d   a s   a   K u b e r n e t e s   S e r v i c e   w i t h   a   s t a t i c   I P   a d d r e s s .   T h e   k u b e l e t   p a s s e s   D N S   r e s o l v e r   i n f o r m a t i o n   t o   e a c h   c o n t a i n e r   w i t h   t h e   - - c l u s t e r - d n s = < d n s - s e r v i c e - i p >   f l a g .   D N S   n a m e s   a l s o   n e e d   d o m a i n s .   Y o u   c o n f i g u r e   t h e   l o c a l   d o m a i n   i n   t h e   k u b e l e t   w i t h   t h e   f l a g   - - c l u s t e r - d o m a i n = < d e f a u l t - l o c a l - d o m a i n > .   T h e   D N S   s e r v e r   s u p p o r t s   f o r w a r d   l o o k u p s   ( A   a n d   A A A A   r e c o r d s ) ,   p o r t   l o o k u p s   ( S R V   r e c o r d s ) ,   r e v e r s e   I P   a d d r e s s   l o o k u p s   ( P T R   r e c o r d s ) ,   a n d   m o r e .   F o r   m o r e   i n f o r m a t i o n ,   s e e   D N S   f o r   S e r v i c e s   a n d   P o d s .   I f   a   P o d ' s   d n s P o l i c y   i s   s e t   t o   d e f a u l t ,   i t   i n h e r i t s   t h e   n a m e   r e s o l u t i o n   c o n f i g u r a t i o n   f r o m   t h e   n o d e   t h a t   t h e   P o d   r u n s   o n .   T h e   P o d ' s   D N S   r e s o l u t i o n   s h o u l d   b e h a v e   t h e   s a m e   a s   t h e   n o d e .   B u t   s e e   K n o w n   i s s u e s .   I f   y o u   d o n ' t   w a n t   t h i s ,   o r   i f   y o u   w a n t   a   d i f f e r e n t   D N S   c o n f i g   f o r   p o d s ,   y o u   c a n   u s e   t h e   k u b e l e t ' s   - - r e s o l v - c o n f   f l a g .   S e t   t h i s   f l a g   t o   \" \"   t o   p r e v e n t   P o d s   f r o m   i n h e r i t i n g   D N S .   S e t   i t   t o   a   v a l i d   f i l e   p a t h   t o   s p e c i f y   a   f i l e   o t h e r   t h a n   / e t c / r e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17747"
  },
  {
    "question": "What is CoreDNS?",
    "answer": "C o r e D N S   i s   a   g e n e r a l - p u r p o s e   a u t h o r i t a t i v e   D N S   s e r v e r   t h a t   c a n   s e r v e   a s   c l u s t e r   D N S ,   c o m p l y i n g   w i t h   t h e   D N S   s p e c i f i c a t i o n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17748"
  },
  {
    "question": "What is CoreDNS ConfigMap options?",
    "answer": "C o r e D N S   i s   a   D N S   s e r v e r   t h a t   i s   m o d u l a r   a n d   p l u g g a b l e ,   w i t h   p l u g i n s   a d d i n g   n e w   f u n c t i o n a l i t i e s .   T h e   C o r e D N S   s e r v e r   c a n   b e   c o n f i g u r e d   b y   m a i n t a i n i n g   a   C o r e f i l e ,   w h i c h   i s   t h e   C o r e D N S   c o n f i g u r a t i o n   f i l e .   A s   a   c l u s t e r   a d m i n i s t r a t o r ,   y o u   c a n   m o d i f y   t h e   C o n f i g M a p   f o r   t h e   C o r e D N S   C o r e f i l e   t o   c h a n g e   h o w   D N S   s e r v i c e   d i s c o v e r y   b e h a v e s   f o r   t h a t   c l u s t e r .   I n   K u b e r n e t e s ,   C o r e D N S   i s   i n s t a l l e d   w i t h   t h e   f o l l o w i n g   d e f a u l t   C o r e f i l e   c o n f i g u r a t i o n :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   c o r e d n s   n a m e s p a c e :   k u b e - s y s t e m   d a t a :   C o r e f i l e :   |   . : 5 3   {   e r r o r s   h e a l t h   {   l a m e d u c k   5 s   }   r e a d y   k u b e r n e t e s   c l u s t e r . l o c a l   i n - a d d r . a r p a   i p 6 . a r p a   {   p o d s   i n s e c u r e   f a l l t h r o u g h   i n - a d d r . a r p a   i p 6 . a r p a   t t l   3 0   }   p r o m e t h e u s   : 9 1 5 3   f o r w a r d   .   / e t c / r e s o l v . c o n f   c a c h e   3 0   l o o p   r e l o a d   l o a d b a l a n c e   }   T h e   C o r e f i l e   c o n f i g u r a t i o n   i n c l u d e s   t h e   f o l l o w i n g   p l u g i n s   o f   C o r e D N S :   e r r o r s :   E r r o r s   a r e   l o g g e d   t o   s t d o u t . h e a l t h :   H e a l t h   o f   C o r e D N S   i s   r e p o r t e d   t o   h t t p : / / l o c a l h o s t : 8 0 8 0 / h e a l t h .   I n   t h i s   e x t e n d e d   s y n t a x   l a m e d u c k   w i l l   m a k e   t h e   p r o c e s s   u n h e a l t h y   t h ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17749"
  },
  {
    "question": "What is Configuration of Stub-domain and upstream nameserver using CoreDNS?",
    "answer": "C o r e D N S   h a s   t h e   a b i l i t y   t o   c o n f i g u r e   s t u b - d o m a i n s   a n d   u p s t r e a m   n a m e s e r v e r s   u s i n g   t h e   f o r w a r d   p l u g i n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17750"
  },
  {
    "question": "What is Example?",
    "answer": "I f   a   c l u s t e r   o p e r a t o r   h a s   a   C o n s u l   d o m a i n   s e r v e r   l o c a t e d   a t   \" 1 0 . 1 5 0 . 0 . 1 \" ,   a n d   a l l   C o n s u l   n a m e s   h a v e   t h e   s u f f i x   \" . c o n s u l . l o c a l \" .   T o   c o n f i g u r e   i t   i n   C o r e D N S ,   t h e   c l u s t e r   a d m i n i s t r a t o r   c r e a t e s   t h e   f o l l o w i n g   s t a n z a   i n   t h e   C o r e D N S   C o n f i g M a p .   c o n s u l . l o c a l : 5 3   {   e r r o r s   c a c h e   3 0   f o r w a r d   .   1 0 . 1 5 0 . 0 . 1   }   T o   e x p l i c i t l y   f o r c e   a l l   n o n - c l u s t e r   D N S   l o o k u p s   t o   g o   t h r o u g h   a   s p e c i f i c   n a m e s e r v e r   a t   1 7 2 . 1 6 . 0 . 1 ,   p o i n t   t h e   f o r w a r d   t o   t h e   n a m e s e r v e r   i n s t e a d   o f   / e t c / r e s o l v . c o n f   f o r w a r d   .   1 7 2 . 1 6 . 0 . 1   T h e   f i n a l   C o n f i g M a p   a l o n g   w i t h   t h e   d e f a u l t   C o r e f i l e   c o n f i g u r a t i o n   l o o k s   l i k e :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   c o r e d n s   n a m e s p a c e :   k u b e - s y s t e m   d a t a :   C o r e f i l e :   |   . : 5 3   {   e r r o r s   h e a l t h   k u b e r n e t e s   c l u s t e r . l o c a l   i n - a d d r . a r p a   i p 6 . a r p a   {   p o d s   i n s e c u r e   f a l l t h r o u g h   i n - a d d r . a r p a   i p 6 . a r p a   }   p r o m e t h e u s   : 9 1 5 3   f o r w a r d   .   1 7 2 . 1 6 . 0 . 1   c a c h e   3 0   l o o p   r e l o a d   l o a d b a l a n c e   }   c o n s u l . l o c a l : 5 3   {   e r r o r s   c a c h e   3 0   f o r w a r d   .   1 0 . 1 5 0 . 0 . 1   }",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17751"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   D e b u g g i n g   D N S   R e s o l u t i o n",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17752"
  },
  {
    "question": "What is 2.20 - Debugging DNS Resolution?",
    "answer": "T h i s   p a g e   p r o v i d e s   h i n t s   o n   d i a g n o s i n g   D N S   p r o b l e m s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17753"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   c l u s t e r   m u s t   b e   c o n f i g u r e d   t o   u s e   t h e   C o r e D N S   a d d o n   o r   i t s   p r e c u r s o r ,   k u b e - d n s .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 6 .   T o   c h ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17754"
  },
  {
    "question": "What is Create a simple Pod to use as a test environment?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d n s u t i l s   n a m e s p a c e :   d e f a u l t   s p e c :   c o n t a i n e r s :   -   n a m e :   d n s u t i l s   i m a g e :   r e g i s t r y . k 8 s . i o / e 2 e - t e s t - i m a g e s / a g n h o s t : 2 . 3 9   i m a g e P u l l P o l i c y :   I f N o t P r e s e n t   r e s t a r t P o l i c y :   A l w a y s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17755"
  },
  {
    "question": "What is Note:?",
    "answer": "U s e   t h a t   m a n i f e s t   t o   c r e a t e   a   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a d m i n / d n s / d n s u t i l s . y a m l   p o d / d n s u t i l s   c r e a t e d   … a n d   v e r i f y   i t s   s t a t u s :   k u b e c t l   g e t   p o d s   d n s u t i l s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   d n s u t i l s   1 / 1   R u n n i n g   0   < s o m e - t i m e >   O n c e   t h a t   P o d   i s   r u n n i n g ,   y o u   c a n   e x e c   n s l o o k u p   i n   t h a t   e n v i r o n m e n t .   I f   y o u   s e e   s o m e t h i n g   l i k e   t h e   f o l l o w i n g ,   D N S   i s   w o r k i n g   c o r r e c t l y .   k u b e c t l   e x e c   - i   - t   d n s u t i l s   - -   n s l o o k u p   k u b e r n e t e s . d e f a u l t   S e r v e r :   1 0 . 0 . 0 . 1 0   A d d r e s s   1 :   1 0 . 0 . 0 . 1 0   N a m e :   k u b e r n e t e s . d e f a u l t   A d d r e s s   1 :   1 0 . 0 . 0 . 1   I f   t h e   n s l o o k u p   c o m m a n d   f a i l s ,   c h e c k   t h e   f o l l o w i n g :",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17756"
  },
  {
    "question": "What is Check the local DNS configuration first?",
    "answer": "T a k e   a   l o o k   i n s i d e   t h e   r e s o l v . c o n f   f i l e .   ( S e e   C u s t o m i z i n g   D N S   S e r v i c e   a n d   K n o w n   i s s u e s   b e l o w   f o r   m o r e   i n f o r m a t i o n )   k u b e c t l   e x e c   - t i   d n s u t i l s   - -   c a t   / e t c / r e s o l v . c o n f   V e r i f y   t h a t   t h e   s e a r c h   p a t h   a n d   n a m e   s e r v e r   a r e   s e t   u p   l i k e   t h e   f o l l o w i n g   ( n o t e   t h a t   s e a r c h   p a t h   m a y   v a r y   f o r   d i f f e r e n t   c l o u d   p r o v i d e r s ) :   s e a r c h   d e f a u l t . s v c . c l u s t e r . l o c a l   s v c . c l u s t e r . l o c a l   c l u s t e r . l o c a l   g o o g l e . i n t e r n a l   c . g c e _ p r o j e c t _ i d . i n t e r n a l   n a m e s e r v e r   1 0 . 0 . 0 . 1 0   o p t i o n s   n d o t s : 5   E r r o r s   s u c h   a s   t h e   f o l l o w i n g   i n d i c a t e   a   p r o b l e m   w i t h   t h e   C o r e D N S   ( o r   k u b e - d n s )   a d d - o n   o r   w i t h   a s s o c i a t e d   S e r v i c e s :   k u b e c t l   e x e c   - i   - t   d n s u t i l s   - -   n s l o o k u p   k u b e r n e t e s . d e f a u l t   S e r v e r :   1 0 . 0 . 0 . 1 0   A d d r e s s   1 :   1 0 . 0 . 0 . 1 0   n s l o o k u p :   c a n ' t   r e s o l v e   ' k u b e r n e t e s . d e f a u l t '   o r   k u b e c t l   e x e c   - i   - t   d n s u t i l s   - -   n s l o o k u p   k u b e r n e t e s . d e f a u l t   S e r v e r :   1 0 . 0 . 0 . 1 0   A d d r e s s   1 :   1 0 . 0 . 0 . 1 0   k u b e - d n s . k u b e - s y s t e m . s v c . c l u s t e r . l o c a l   n s l o o k u p :   c a n ' t   r e s o l v e   ' k u b e r n e t e s . d e f a u l t '",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17757"
  },
  {
    "question": "What is Check if the DNS pod is running?",
    "answer": "U s e   t h e   k u b e c t l   g e t   p o d s   c o m m a n d   t o   v e r i f y   t h a t   t h e   D N S   p o d   i s   r u n n i n g .   k u b e c t l   g e t   p o d s   - - n a m e s p a c e = k u b e - s y s t e m   - l   k 8 s - a p p = k u b e - d n s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   . . .   c o r e d n s - 7 b 9 6 b f 9 f 7 6 - 5 h s x b   1 / 1   R u n n i n g   0   1 h   c o r e d n s - 7 b 9 6 b f 9 f 7 6 - m v m m t   1 / 1   R u n n i n g   0   1 h   . . .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17758"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   s e e   t h a t   n o   C o r e D N S   P o d   i s   r u n n i n g   o r   t h a t   t h e   P o d   h a s   f a i l e d / c o m p l e t e d ,   t h e   D N S   a d d - o n   m a y   n o t   b e   d e p l o y e d   b y   d e f a u l t   i n   y o u r   c u r r e n t   e n v i r o n m e n t   a n d   y o u   w i l l   h a v e   t o   d e p l o y   i t   m a n u a l l y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17759"
  },
  {
    "question": "What is Check for errors in the DNS pod?",
    "answer": "U s e   t h e   k u b e c t l   l o g s   c o m m a n d   t o   s e e   l o g s   f o r   t h e   D N S   c o n t a i n e r s .   F o r   C o r e D N S :   k u b e c t l   l o g s   - - n a m e s p a c e = k u b e - s y s t e m   - l   k 8 s - a p p = k u b e - d n s   H e r e   i s   a n   e x a m p l e   o f   a   h e a l t h y   C o r e D N S   l o g :   . : 5 3   2 0 1 8 / 0 8 / 1 5   1 4 : 3 7 : 1 7   [ I N F O ]   C o r e D N S - 1 . 2 . 2   2 0 1 8 / 0 8 / 1 5   1 4 : 3 7 : 1 7   [ I N F O ]   l i n u x / a m d 6 4 ,   g o 1 . 1 0 . 3 ,   2 e 3 2 2 f 6   C o r e D N S - 1 . 2 . 2   l i n u x / a m d 6 4 ,   g o 1 . 1 0 . 3 ,   2 e 3 2 2 f 6   2 0 1 8 / 0 8 / 1 5   1 4 : 3 7 : 1 7   [ I N F O ]   p l u g i n / r e l o a d :   R u n n i n g   c o n f i g u r a t i o n   M D 5   =   2 4 e 6 c 5 9 e 8 3 c e 7 0 6 f 0 7 b c c 8 2 c 3 1 b 1 e a 1 c   S e e   i f   t h e r e   a r e   a n y   s u s p i c i o u s   o r   u n e x p e c t e d   m e s s a g e s   i n   t h e   l o g s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17760"
  },
  {
    "question": "What is Is DNS service up??",
    "answer": "V e r i f y   t h a t   t h e   D N S   s e r v i c e   i s   u p   b y   u s i n g   t h e   k u b e c t l   g e t   s e r v i c e   c o m m a n d .   k u b e c t l   g e t   s v c   - - n a m e s p a c e = k u b e - s y s t e m   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   . . .   k u b e - d n s   C l u s t e r I P   1 0 . 0 . 0 . 1 0   < n o n e >   5 3 / U D P , 5 3 / T C P   1 h   . . .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17761"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   h a v e   c r e a t e d   t h e   S e r v i c e   o r   i n   t h e   c a s e   i t   s h o u l d   b e   c r e a t e d   b y   d e f a u l t   b u t   i t   d o e s   n o t   a p p e a r ,   s e e   d e b u g g i n g   S e r v i c e s   f o r   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17762"
  },
  {
    "question": "What is Are DNS endpoints exposed??",
    "answer": "Y o u   c a n   v e r i f y   t h a t   D N S   e n d p o i n t s   a r e   e x p o s e d   b y   u s i n g   t h e   k u b e c t l   g e t   e n d p o i n t s l i c e   c o m m a n d .   k u b e c t l   g e t   e n d p o i n t s l i c e s   - l   k 8 s . i o / s e r v i c e - n a m e = k u b e - d n s   - - n a m e s p a c e = k u b e - s y s t e m   N A M E   A D D R E S S T Y P E   P O R T S   E N D P O I N T S   A G E   k u b e - d n s - z x o j a   I P v 4   5 3   1 0 . 1 8 0 . 3 . 1 7 , 1 0 . 1 8 0 . 3 . 1 7   1 h   I f   y o u   d o   n o t   s e e   t h e   e n d p o i n t s ,   s e e   t h e   e n d p o i n t s   s e c t i o n   i n   t h e   d e b u g g i n g   S e r v i c e s   d o c u m e n t a t i o n .   F o r   a d d i t i o n a l   K u b e r n e t e s   D N S   e x a m p l e s ,   s e e   t h e   c l u s t e r - d n s   e x a m p l e s   i n   t h e   K u b e r n e t e s   G i t H u b   r e p o s i t o r y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17763"
  },
  {
    "question": "What is Are DNS queries being received/processed??",
    "answer": "Y o u   c a n   v e r i f y   i f   q u e r i e s   a r e   b e i n g   r e c e i v e d   b y   C o r e D N S   b y   a d d i n g   t h e   l o g   p l u g i n   t o   t h e   C o r e D N S   c o n f i g u r a t i o n   ( a k a   C o r e f i l e ) .   T h e   C o r e D N S   C o r e f i l e   i s   h e l d   i n   a   C o n f i g M a p   n a m e d   c o r e d n s .   T o   e d i t   i t ,   u s e   t h e   c o m m a n d :   k u b e c t l   - n   k u b e - s y s t e m   e d i t   c o n f i g m a p   c o r e d n s   T h e n   a d d   l o g   i n   t h e   C o r e f i l e   s e c t i o n   p e r   t h e   e x a m p l e   b e l o w :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   c o r e d n s   n a m e s p a c e :   k u b e - s y s t e m   d a t a :   C o r e f i l e :   |   . : 5 3   {   l o g   e r r o r s   h e a l t h   k u b e r n e t e s   c l u s t e r . l o c a l   i n - a d d r . a r p a   i p 6 . a r p a   {   p o d s   i n s e c u r e   u p s t r e a m   f a l l t h r o u g h   i n - a d d r . a r p a   i p 6 . a r p a   }   p r o m e t h e u s   : 9 1 5 3   f o r w a r d   .   / e t c / r e s o l v . c o n f   c a c h e   3 0   l o o p   r e l o a d   l o a d b a l a n c e   }   A f t e r   s a v i n g   t h e   c h a n g e s ,   i t   m a y   t a k e   u p   t o   m i n u t e   o r   t w o   f o r   K u b e r n e t e s   t o   p r o p a g a t e   t h e s e   c h a n g e s   t o   t h e   C o r e D N S   p o d s .   N e x t ,   m a k e   s o m e   q u e r i e s   a n d   v i e w   t h e   l o g s   p e r   t h e   s e c t i o n s   a b o v e   i n   t h i s   d o c u m e n t .   I f   C o r e D N S   p o d s   a r e   r e c e i v i n g   t h e   q u e r i e s ,   y o u   s h o u l d   s e e   t h e m   i n   t h e   l o g s .   H e r e   i s   a n   e x a m p l e   o f   a   q u e r y   i n   t h e   l o g :   . : 5 3   2 0 1 8 / 0 8 / 1 5   1 4 : 3 7 : 1 5   [ I N F O ]   C o r e D N S - 1 . 2 . 0   2 0 1 8 ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17764"
  },
  {
    "question": "What is Does CoreDNS have sufficient permissions??",
    "answer": "C o r e D N S   m u s t   b e   a b l e   t o   l i s t   s e r v i c e   a n d   e n d p o i n t s l i c e   r e l a t e d   r e s o u r c e s   t o   p r o p e r l y   r e s o l v e   s e r v i c e   n a m e s .   S a m p l e   e r r o r   m e s s a g e :   2 0 2 2 - 0 3 - 1 8 T 0 7 : 1 2 : 1 5 . 6 9 9 4 3 1 1 8 3 Z   [ I N F O ]   1 0 . 9 6 . 1 4 4 . 2 2 7 : 5 2 2 9 9   -   3 6 8 6   \" A   I N   s e r v e r p r o x y . c o n t o s o . n e t . c l u s t e r . l o c a l .   u d p   5 2   f a l s e   5 1 2 \"   S E R V F A I L   q r , a a , r d   1 4 5   0 . 0 0 0 0 9 1 2 2 1 s   F i r s t ,   g e t   t h e   c u r r e n t   C l u s t e r R o l e   o f   s y s t e m : c o r e d n s :   k u b e c t l   d e s c r i b e   c l u s t e r r o l e   s y s t e m : c o r e d n s   - n   k u b e - s y s t e m   E x p e c t e d   o u t p u t :   P o l i c y R u l e :   R e s o u r c e s   N o n - R e s o u r c e   U R L s   R e s o u r c e   N a m e s   V e r b s   - - - - - - - - -   - - - - - - - - - - - - - - - - -   - - - - - - - - - - - - - -   - - - - -   e n d p o i n t s   [ ]   [ ]   [ l i s t   w a t c h ]   n a m e s p a c e s   [ ]   [ ]   [ l i s t   w a t c h ]   p o d s   [ ]   [ ]   [ l i s t   w a t c h ]   s e r v i c e s   [ ]   [ ]   [ l i s t   w a t c h ]   e n d p o i n t s l i c e s . d i s c o v e r y . k 8 s . i o   [ ]   [ ]   [ l i s t   w a t c h ]   I f   a n y   p e r m i s s i o n s   a r e   m i s s i n g ,   e d i t   t h e   C l u s t e r R o l e   t o   a d d   t h e m :   k u b e c t l   e d i t   c l u s t e r r o l e   s y s t e m : c o r e d n s   - n   k u b e - s y s t e m   E x a m p l e   i n s e r t i o n   o f   E n d p o i n t S l i c e s   p e r m i s s i o n s :   . . .   -   a p i G r o u p s :   -   d i s c o v e r y . k 8 s . i o   r e s o u r c e s :   -   e n d p o i n t s l i c e s   v e r b s :   -   l i s t   -   w a t c h   . . .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17765"
  },
  {
    "question": "What is Are you in the right namespace for the service??",
    "answer": "D N S   q u e r i e s   t h a t   d o n ' t   s p e c i f y   a   n a m e s p a c e   a r e   l i m i t e d   t o   t h e   p o d ' s   n a m e s p a c e .   I f   t h e   n a m e s p a c e   o f   t h e   p o d   a n d   s e r v i c e   d i f f e r ,   t h e   D N S   q u e r y   m u s t   i n c l u d e   t h e   n a m e s p a c e   o f   t h e   s e r v i c e .   T h i s   q u e r y   i s   l i m i t e d   t o   t h e   p o d ' s   n a m e s p a c e :   k u b e c t l   e x e c   - i   - t   d n s u t i l s   - -   n s l o o k u p   < s e r v i c e - n a m e >   T h i s   q u e r y   s p e c i f i e s   t h e   n a m e s p a c e :   k u b e c t l   e x e c   - i   - t   d n s u t i l s   - -   n s l o o k u p   < s e r v i c e - n a m e > . < n a m e s p a c e >   T o   l e a r n   m o r e   a b o u t   n a m e   r e s o l u t i o n ,   s e e   D N S   f o r   S e r v i c e s   a n d   P o d s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17766"
  },
  {
    "question": "What is Known issues?",
    "answer": "S o m e   L i n u x   d i s t r i b u t i o n s   ( e . g .   U b u n t u )   u s e   a   l o c a l   D N S   r e s o l v e r   b y   d e f a u l t   ( s y s t e m d - r e s o l v e d ) .   S y s t e m d - r e s o l v e d   m o v e s   a n d   r e p l a c e s   / e t c / r e s o l v . c o n f   w i t h   a   s t u b   f i l e   t h a t   c a n   c a u s e   a   f a t a l   f o r w a r d i n g   l o o p   w h e n   r e s o l v i n g   n a m e s   i n   u p s t r e a m   s e r v e r s .   T h i s   c a n   b e   f i x e d   m a n u a l l y   b y   u s i n g   k u b e l e t ' s   - - r e s o l v - c o n f   f l a g   t o   p o i n t   t o   t h e   c o r r e c t   r e s o l v . c o n f   ( W i t h   s y s t e m d - r e s o l v e d ,   t h i s   i s   / r u n / s y s t e m d / r e s o l v e / r e s o l v . c o n f ) .   k u b e a d m   a u t o m a t i c a l l y   d e t e c t s   s y s t e m d - r e s o l v e d ,   a n d   a d j u s t s   t h e   k u b e l e t   f l a g s   a c c o r d i n g l y .   K u b e r n e t e s   i n s t a l l s   d o   n o t   c o n f i g u r e   t h e   n o d e s '   r e s o l v . c o n f   f i l e s   t o   u s e   t h e   c l u s t e r   D N S   b y   d e f a u l t ,   b e c a u s e   t h a t   p r o c e s s   i s   i n h e r e n t l y   d i s t r i b u t i o n - s p e c i f i c .   T h i s   s h o u l d   p r o b a b l y   b e   i m p l e m e n t e d   e v e n t u a l l y .   L i n u x ' s   l i b c   ( a . k . a .   g l i b c )   h a s   a   l i m i t   f o r   t h e   D N S   n a m e s e r v e r   r e c o r d s   t o   3   b y   d e f a u l t   a n d   K u b e r n e t e s   n e e d s   t o   c o n s u m e   1   n a m e s e r v e r   r e c o r d .   T h i s   m e a n s   t h a t   i f   a   l o c a l   i n s t a l l a t i o n   a l r e a d y   u s e s   3   n a m e s e r v e r s ,   s o m e   o f   t h o s e   e n t r i e s   w i l l   b e   l o s t .   T o   w o r k   a r o u n d   t h i s   l i m i t ,   t h e   n o d e   c a n   r u n   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17767"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   A u t o s c a l i n g   t h e   D N S   S e r v i c e   i n   a   C l u s t e r . R e a d   D N S   f o r   S e r v i c e s   a n d   P o d s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17768"
  },
  {
    "question": "What is 2.21 - Declare Network Policy?",
    "answer": "T h i s   d o c u m e n t   h e l p s   y o u   g e t   s t a r t e d   u s i n g   t h e   K u b e r n e t e s   N e t w o r k P o l i c y   A P I   t o   d e c l a r e   n e t w o r k   p o l i c i e s   t h a t   g o v e r n   h o w   p o d s   c o m m u n i c a t e   w i t h   e a c h   o t h e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17769"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 8 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   M ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17770"
  },
  {
    "question": "What is Create an nginx deployment and expose it via a service?",
    "answer": "T o   s e e   h o w   K u b e r n e t e s   n e t w o r k   p o l i c y   w o r k s ,   s t a r t   o f f   b y   c r e a t i n g   a n   n g i n x   D e p l o y m e n t .   k u b e c t l   c r e a t e   d e p l o y m e n t   n g i n x   - - i m a g e = n g i n x   d e p l o y m e n t . a p p s / n g i n x   c r e a t e d   E x p o s e   t h e   D e p l o y m e n t   t h r o u g h   a   S e r v i c e   c a l l e d   n g i n x .   k u b e c t l   e x p o s e   d e p l o y m e n t   n g i n x   - - p o r t = 8 0   s e r v i c e / n g i n x   e x p o s e d   T h e   a b o v e   c o m m a n d s   c r e a t e   a   D e p l o y m e n t   w i t h   a n   n g i n x   P o d   a n d   e x p o s e   t h e   D e p l o y m e n t   t h r o u g h   a   S e r v i c e   n a m e d   n g i n x .   T h e   n g i n x   P o d   a n d   D e p l o y m e n t   a r e   f o u n d   i n   t h e   d e f a u l t   n a m e s p a c e .   k u b e c t l   g e t   s v c , p o d   N A M E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   s e r v i c e / k u b e r n e t e s   1 0 . 1 0 0 . 0 . 1   < n o n e >   4 4 3 / T C P   4 6 m   s e r v i c e / n g i n x   1 0 . 1 0 0 . 0 . 1 6   < n o n e >   8 0 / T C P   3 3 s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   p o d / n g i n x - 7 0 1 3 3 9 7 1 2 - e 0 q f q   1 / 1   R u n n i n g   0   3 5 s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17771"
  },
  {
    "question": "What is Test the service by accessing it from another Pod?",
    "answer": "Y o u   s h o u l d   b e   a b l e   t o   a c c e s s   t h e   n e w   n g i n x   s e r v i c e   f r o m   o t h e r   P o d s .   T o   a c c e s s   t h e   n g i n x   S e r v i c e   f r o m   a n o t h e r   P o d   i n   t h e   d e f a u l t   n a m e s p a c e ,   s t a r t   a   b u s y b o x   c o n t a i n e r :   k u b e c t l   r u n   b u s y b o x   - - r m   - t i   - - i m a g e = b u s y b o x   - -   / b i n / s h   I n   y o u r   s h e l l ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   w g e t   - - s p i d e r   - - t i m e o u t = 1   n g i n x   C o n n e c t i n g   t o   n g i n x   ( 1 0 . 1 0 0 . 0 . 1 6 : 8 0 )   r e m o t e   f i l e   e x i s t s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17772"
  },
  {
    "question": "What is Limit access to the nginx service?",
    "answer": "T o   l i m i t   t h e   a c c e s s   t o   t h e   n g i n x   s e r v i c e   s o   t h a t   o n l y   P o d s   w i t h   t h e   l a b e l   a c c e s s :   t r u e   c a n   q u e r y   i t ,   c r e a t e   a   N e t w o r k P o l i c y   o b j e c t   a s   f o l l o w s :   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a :   n a m e :   a c c e s s - n g i n x   s p e c :   p o d S e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   i n g r e s s :   -   f r o m :   -   p o d S e l e c t o r :   m a t c h L a b e l s :   a c c e s s :   \" t r u e \"   T h e   n a m e   o f   a   N e t w o r k P o l i c y   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17773"
  },
  {
    "question": "What is Assign the policy to the service?",
    "answer": "U s e   k u b e c t l   t o   c r e a t e   a   N e t w o r k P o l i c y   f r o m   t h e   a b o v e   n g i n x - p o l i c y . y a m l   f i l e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / s e r v i c e / n e t w o r k i n g / n g i n x - p o l i c y . y a m l   n e t w o r k p o l i c y . n e t w o r k i n g . k 8 s . i o / a c c e s s - n g i n x   c r e a t e d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17774"
  },
  {
    "question": "What is Test access to the service when access label is not defined?",
    "answer": "W h e n   y o u   a t t e m p t   t o   a c c e s s   t h e   n g i n x   S e r v i c e   f r o m   a   P o d   w i t h o u t   t h e   c o r r e c t   l a b e l s ,   t h e   r e q u e s t   t i m e s   o u t :   k u b e c t l   r u n   b u s y b o x   - - r m   - t i   - - i m a g e = b u s y b o x   - -   / b i n / s h   I n   y o u r   s h e l l ,   r u n   t h e   c o m m a n d :   w g e t   - - s p i d e r   - - t i m e o u t = 1   n g i n x   C o n n e c t i n g   t o   n g i n x   ( 1 0 . 1 0 0 . 0 . 1 6 : 8 0 )   w g e t :   d o w n l o a d   t i m e d   o u t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17775"
  },
  {
    "question": "What is Define access label and test again?",
    "answer": "Y o u   c a n   c r e a t e   a   P o d   w i t h   t h e   c o r r e c t   l a b e l s   t o   s e e   t h a t   t h e   r e q u e s t   i s   a l l o w e d :   k u b e c t l   r u n   b u s y b o x   - - r m   - t i   - - l a b e l s = \" a c c e s s = t r u e \"   - - i m a g e = b u s y b o x   - -   / b i n / s h   I n   y o u r   s h e l l ,   r u n   t h e   c o m m a n d :   w g e t   - - s p i d e r   - - t i m e o u t = 1   n g i n x   C o n n e c t i n g   t o   n g i n x   ( 1 0 . 1 0 0 . 0 . 1 6 : 8 0 )   r e m o t e   f i l e   e x i s t s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17776"
  },
  {
    "question": "What is 2.22 - Developing Cloud Controller Manager?",
    "answer": "T h e   c l o u d - c o n t r o l l e r - m a n a g e r   i s   a   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t   t h a t   e m b e d s   c l o u d - s p e c i f i c   c o n t r o l   l o g i c .   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   l e t s   y o u   l i n k   y o u r   c l u s t e r   i n t o   y o u r   c l o u d   p r o v i d e r ' s   A P I ,   a n d   s e p a r a t e s   o u t   t h e   c o m p o n e n t s   t h a t   i n t e r a c t   w i t h   t h a t   c l o u d   p l a t f o r m   f r o m   c o m p o n e n t s   t h a t   o n l y   i n t e r a c t   w i t h   y o u r   c l u s t e r .   T h e   c l o u d - c o n t r o l l e r - m a n a g e r   i s   a   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t   t h a t   e m b e d s   c l o u d - s p e c i f i c   c o n t r o l   l o g i c .   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   l e t s   y o u   l i n k   y o u r   c l u s t e r   i n t o   y o u r   c l o u d   p r o v i d e r ' s   A P I ,   a n d   s e p a r a t e s   o u t   t h e   c o m p o n e n t s   t h a t   i n t e r a c t   w i t h   t h a t   c l o u d   p l a t f o r m   f r o m   c o m p o n e n t s   t h a t   o n l y   i n t e r a c t   w i t h   y o u r   c l u s t e r .   B y   d e c o u p l i n g   t h e   i n t e r o p e r a b i l i t y   l o g i c   b e t w e e n   K u b e r n e t e s   a n d   t h e   u n d e r l y i n g   c l o u d   i n f r a s t r u c t u r e ,   t h e   c l o u d - c o n t r o l l e r - m a n a g e r   c o m p o n e n t   e n a b l e s   c l o u d   p r o v i d e r s   t o   r e l e a s e   f e a t u r e s   a t   a   d i f f e r e n t   p a c e   c o m p a r e d   t o   t h e   m a i n   K u b e r n e t e s   p r o j e c t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17777"
  },
  {
    "question": "What is Background?",
    "answer": "S i n c e   c l o u d   p r o v i d e r s   d e v e l o p   a n d   r e l e a s e   a t   a   d i f f e r e n t   p a c e   c o m p a r e d   t o   t h e   K u b e r n e t e s   p r o j e c t ,   a b s t r a c t i n g   t h e   p r o v i d e r - s p e c i f i c   c o d e   t o   t h e   c l o u d - c o n t r o l l e r - m a n a g e r   b i n a r y   a l l o w s   c l o u d   v e n d o r s   t o   e v o l v e   i n d e p e n d e n t l y   f r o m   t h e   c o r e   K u b e r n e t e s   c o d e .   T h e   K u b e r n e t e s   p r o j e c t   p r o v i d e s   s k e l e t o n   c l o u d - c o n t r o l l e r - m a n a g e r   c o d e   w i t h   G o   i n t e r f a c e s   t o   a l l o w   y o u   ( o r   y o u r   c l o u d   p r o v i d e r )   t o   p l u g   i n   y o u r   o w n   i m p l e m e n t a t i o n s .   T h i s   m e a n s   t h a t   a   c l o u d   p r o v i d e r   c a n   i m p l e m e n t   a   c l o u d - c o n t r o l l e r - m a n a g e r   b y   i m p o r t i n g   p a c k a g e s   f r o m   K u b e r n e t e s   c o r e ;   e a c h   c l o u d p r o v i d e r   w i l l   r e g i s t e r   t h e i r   o w n   c o d e   b y   c a l l i n g   c l o u d p r o v i d e r . R e g i s t e r C l o u d P r o v i d e r   t o   u p d a t e   a   g l o b a l   v a r i a b l e   o f   a v a i l a b l e   c l o u d   p r o v i d e r s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17778"
  },
  {
    "question": "What is Out of tree?",
    "answer": "T o   b u i l d   a n   o u t - o f - t r e e   c l o u d - c o n t r o l l e r - m a n a g e r   f o r   y o u r   c l o u d :   C r e a t e   a   g o   p a c k a g e   w i t h   a n   i m p l e m e n t a t i o n   t h a t   s a t i s f i e s   c l o u d p r o v i d e r . I n t e r f a c e . U s e   m a i n . g o   i n   c l o u d - c o n t r o l l e r - m a n a g e r   f r o m   K u b e r n e t e s   c o r e   a s   a   t e m p l a t e   f o r   y o u r   m a i n . g o .   A s   m e n t i o n e d   a b o v e ,   t h e   o n l y   d i f f e r e n c e   s h o u l d   b e   t h e   c l o u d   p a c k a g e   t h a t   w i l l   b e   i m p o r t e d . I m p o r t   y o u r   c l o u d   p a c k a g e   i n   m a i n . g o ,   e n s u r e   y o u r   p a c k a g e   h a s   a n   i n i t   b l o c k   t o   r u n   c l o u d p r o v i d e r . R e g i s t e r C l o u d P r o v i d e r .   M a n y   c l o u d   p r o v i d e r s   p u b l i s h   t h e i r   c o n t r o l l e r   m a n a g e r   c o d e   a s   o p e n   s o u r c e .   I f   y o u   a r e   c r e a t i n g   a   n e w   c l o u d - c o n t r o l l e r - m a n a g e r   f r o m   s c r a t c h ,   y o u   c o u l d   t a k e   a n   e x i s t i n g   o u t - o f - t r e e   c l o u d   c o n t r o l l e r   m a n a g e r   a s   y o u r   s t a r t i n g   p o i n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17779"
  },
  {
    "question": "What is In tree?",
    "answer": "F o r   i n - t r e e   c l o u d   p r o v i d e r s ,   y o u   c a n   r u n   t h e   i n - t r e e   c l o u d   c o n t r o l l e r   m a n a g e r   a s   a   D a e m o n S e t   i n   y o u r   c l u s t e r .   S e e   C l o u d   C o n t r o l l e r   M a n a g e r   A d m i n i s t r a t i o n   f o r   m o r e   d e t a i l s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17780"
  },
  {
    "question": "What is 2.23 - Enable Or Disable A Kubernetes API?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   e n a b l e   o r   d i s a b l e   a n   A P I   v e r s i o n   f r o m   y o u r   c l u s t e r ' s   c o n t r o l   p l a n e .   S p e c i f i c   A P I   v e r s i o n s   c a n   b e   t u r n e d   o n   o r   o f f   b y   p a s s i n g   - - r u n t i m e - c o n f i g = a p i / < v e r s i o n >   a s   a   c o m m a n d   l i n e   a r g u m e n t   t o   t h e   A P I   s e r v e r .   T h e   v a l u e s   f o r   t h i s   a r g u m e n t   a r e   a   c o m m a - s e p a r a t e d   l i s t   o f   A P I   v e r s i o n s .   L a t e r   v a l u e s   o v e r r i d e   e a r l i e r   v a l u e s .   T h e   r u n t i m e - c o n f i g   c o m m a n d   l i n e   a r g u m e n t   a l s o   s u p p o r t s   2   s p e c i a l   k e y s :   a p i / a l l ,   r e p r e s e n t i n g   a l l   k n o w n   A P I s a p i / l e g a c y ,   r e p r e s e n t i n g   o n l y   l e g a c y   A P I s .   L e g a c y   A P I s   a r e   a n y   A P I s   t h a t   h a v e   b e e n   e x p l i c i t l y   d e p r e c a t e d .   F o r   e x a m p l e ,   t o   t u r n   o f f   a l l   A P I   v e r s i o n s   e x c e p t   v 1 ,   p a s s   - - r u n t i m e - c o n f i g = a p i / a l l = f a l s e , a p i / v 1 = t r u e   t o   t h e   k u b e - a p i s e r v e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17781"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   t h e   f u l l   d o c u m e n t a t i o n   f o r   t h e   k u b e - a p i s e r v e r   c o m p o n e n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17782"
  },
  {
    "question": "What is 2.24 - Encrypting Confidential Data at Rest?",
    "answer": "A l l   o f   t h e   A P I s   i n   K u b e r n e t e s   t h a t   l e t   y o u   w r i t e   p e r s i s t e n t   A P I   r e s o u r c e   d a t a   s u p p o r t   a t - r e s t   e n c r y p t i o n .   F o r   e x a m p l e ,   y o u   c a n   e n a b l e   a t - r e s t   e n c r y p t i o n   f o r   S e c r e t s .   T h i s   a t - r e s t   e n c r y p t i o n   i s   a d d i t i o n a l   t o   a n y   s y s t e m - l e v e l   e n c r y p t i o n   f o r   t h e   e t c d   c l u s t e r   o r   f o r   t h e   f i l e s y s t e m ( s )   o n   h o s t s   w h e r e   y o u   a r e   r u n n i n g   t h e   k u b e - a p i s e r v e r .   T h i s   p a g e   s h o w s   h o w   t o   e n a b l e   a n d   c o n f i g u r e   e n c r y p t i o n   o f   A P I   d a t a   a t   r e s t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17783"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   t a s k   c o v e r s   e n c r y p t i o n   f o r   r e s o u r c e   d a t a   s t o r e d   u s i n g   t h e   K u b e r n e t e s   A P I .   F o r   e x a m p l e ,   y o u   c a n   e n c r y p t   S e c r e t   o b j e c t s ,   i n c l u d i n g   t h e   k e y - v a l u e   d a t a   t h e y   c o n t a i n .   I f   y o u   w a n t   t o   e n c r y p t   d a t a   i n   f i l e s y s t e m s   t h a t   a r e   m o u n t e d   i n t o   c o n t a i n e r s ,   y o u   i n s t e a d   n e e d   t o   e i t h e r :   u s e   a   s t o r a g e   i n t e g r a t i o n   t h a t   p r o v i d e s   e n c r y p t e d   v o l u m e s e n c r y p t   t h e   d a t a   w i t h i n   y o u r   o w n   a p p l i c a t i o n",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17784"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T h i s   t a s k   a s s u m e s   t h a t   y o u   a r e   r u n n i n g   t h e   K u b e r n e t e s   A P I   s e r v e r   a s   a   s t a t i c   p o d   o n   e a c h   c o n t r o l   p l a n e   n o d e . Y o u r   c l u s t e r ' s   c o n t r o l   p l a n e   m u s t   u s e   e t c d   v 3 . x   ( m a j o r   v e r s i o n   3 ,   a n y   m i n o r   v e r s i o n ) . T o   e n c r y p t   a   c u s t o m   r e s o u r c e ,   y o u r   c l u s t e r   m u s t   b e   r u n n i n g   K u b e r n e t e s   v 1 . 2 6   o r   n e w e r . T o   u s e   a   w i l d c a r d   t o   m a t c h   r e s o u r c e s ,   y o u r   c l u s t e r   m u s t   b e   r u n n i n g   K u b e r n e t e s   v 1 . 2 7   o r   n e w e r .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17785"
  },
  {
    "question": "What is Determine whether encryption at rest is already enabled?",
    "answer": "B y   d e f a u l t ,   t h e   A P I   s e r v e r   s t o r e s   p l a i n - t e x t   r e p r e s e n t a t i o n s   o f   r e s o u r c e s   i n t o   e t c d ,   w i t h   n o   a t - r e s t   e n c r y p t i o n .   T h e   k u b e - a p i s e r v e r   p r o c e s s   a c c e p t s   a n   a r g u m e n t   - - e n c r y p t i o n - p r o v i d e r - c o n f i g   t h a t   s p e c i f i e s   a   p a t h   t o   a   c o n f i g u r a t i o n   f i l e .   T h e   c o n t e n t s   o f   t h a t   f i l e ,   i f   y o u   s p e c i f y   o n e ,   c o n t r o l   h o w   K u b e r n e t e s   A P I   d a t a   i s   e n c r y p t e d   i n   e t c d .   I f   y o u   a r e   r u n n i n g   t h e   k u b e - a p i s e r v e r   w i t h o u t   t h e   - - e n c r y p t i o n - p r o v i d e r - c o n f i g   c o m m a n d   l i n e   a r g u m e n t ,   y o u   d o   n o t   h a v e   e n c r y p t i o n   a t   r e s t   e n a b l e d .   I f   y o u   a r e   r u n n i n g   t h e   k u b e - a p i s e r v e r   w i t h   t h e   - - e n c r y p t i o n - p r o v i d e r - c o n f i g   c o m m a n d   l i n e   a r g u m e n t ,   a n d   t h e   f i l e   t h a t   i t   r e f e r e n c e s   s p e c i f i e s   t h e   i d e n t i t y   p r o v i d e r   a s   t h e   f i r s t   e n c r y p t i o n   p r o v i d e r   i n   t h e   l i s t ,   t h e n   y o u   d o   n o t   h a v e   a t - r e s t   e n c r y p t i o n   e n a b l e d   ( t h e   d e f a u l t   i d e n t i t y   p r o v i d e r   d o e s   n o t   p r o v i d e   a n y   c o n f i d e n t i a l i t y   p r o t e c t i o n . )   I f   y o u   a r e   r u n n i n g   t h e   k u b e - a p i s e r v e r   w i t h   t h e   - - e n c r y p t i o n - p r o v i d e r - c o n f i g   c o m m a n d   l i n e   a r g u m e n t ,   a n d   t h e   f i l e   t h a t   i t   r e f e r e n c e s   s p e c i f i e s   a   p r o v i d e r   o t h e r   t h a n   i d e n t i t y   a s   t h e   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17786"
  },
  {
    "question": "What is Understanding the encryption at rest configuration?",
    "answer": "- - -   #   #   C A U T I O N :   t h i s   i s   a n   e x a m p l e   c o n f i g u r a t i o n .   #   D o   n o t   u s e   t h i s   f o r   y o u r   o w n   c l u s t e r !   #   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   r e s o u r c e s :   -   r e s o u r c e s :   -   s e c r e t s   -   c o n f i g m a p s   -   p a n d a s . a w e s o m e . b e a r s . e x a m p l e   #   a   c u s t o m   r e s o u r c e   A P I   p r o v i d e r s :   #   T h i s   c o n f i g u r a t i o n   d o e s   n o t   p r o v i d e   d a t a   c o n f i d e n t i a l i t y .   T h e   f i r s t   #   c o n f i g u r e d   p r o v i d e r   i s   s p e c i f y i n g   t h e   \" i d e n t i t y \"   m e c h a n i s m ,   w h i c h   #   s t o r e s   r e s o u r c e s   a s   p l a i n   t e x t .   #   -   i d e n t i t y :   { }   #   p l a i n   t e x t ,   i n   o t h e r   w o r d s   N O   e n c r y p t i o n   -   a e s g c m :   k e y s :   -   n a m e :   k e y 1   s e c r e t :   c 2 V j c m V 0 I G l z I H N l Y 3 V y Z Q = =   -   n a m e :   k e y 2   s e c r e t :   d G h p c y B p c y B w Y X N z d 2 9 y Z A = =   -   a e s c b c :   k e y s :   -   n a m e :   k e y 1   s e c r e t :   c 2 V j c m V 0 I G l z I H N l Y 3 V y Z Q = =   -   n a m e :   k e y 2   s e c r e t :   d G h p c y B p c y B w Y X N z d 2 9 y Z A = =   -   s e c r e t b o x :   k e y s :   -   n a m e :   k e y 1   s e c r e t :   Y W J j Z G V m Z 2 h p a m t s b W 5 v c H F y c 3 R 1 d n d 4 e X o x M j M 0 N T Y =   -   r e s o u r c e s :   -   e v e n t s   p r o v i d e r s :   -   i d e n t i t y :   { }   #   d o   n o t   e n c r y p t   E v e n t s   e v e n   t h o u g h   * . *   i s   s p e c i f i e d   b e l o w   -   r e s o u r c e s :   -   ' * . a p p s '   #   w i l d c a r d   m a t c h   r e q u i r e s   K u b e r n e t e s   1 . 2 7   o r   l a t e r   p r o v i d e r s : ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17787"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   h a v e   a   w i l d c a r d   c o v e r i n g   r e s o u r c e s   a n d   w a n t   t o   o p t   o u t   o f   a t - r e s t   e n c r y p t i o n   f o r   a   p a r t i c u l a r   k i n d   o f   r e s o u r c e ,   y o u   a c h i e v e   t h a t   b y   a d d i n g   a   s e p a r a t e   r e s o u r c e s   a r r a y   i t e m   w i t h   t h e   n a m e   o f   t h e   r e s o u r c e   t h a t   y o u   w a n t   t o   e x e m p t ,   f o l l o w e d   b y   a   p r o v i d e r s   a r r a y   i t e m   w h e r e   y o u   s p e c i f y   t h e   i d e n t i t y   p r o v i d e r .   Y o u   a d d   t h i s   i t e m   t o   t h e   l i s t   s o   t h a t   i t   a p p e a r s   e a r l i e r   t h a n   t h e   c o n f i g u r a t i o n   w h e r e   y o u   d o   s p e c i f y   e n c r y p t i o n   ( a   p r o v i d e r   t h a t   i s   n o t   i d e n t i t y ) .   F o r   e x a m p l e ,   i f   ' * . * '   i s   e n a b l e d   a n d   y o u   w a n t   t o   o p t   o u t   o f   e n c r y p t i o n   f o r   E v e n t s   a n d   C o n f i g M a p s ,   a d d   a   n e w   e a r l i e r   i t e m   t o   t h e   r e s o u r c e s ,   f o l l o w e d   b y   t h e   p r o v i d e r s   a r r a y   i t e m   w i t h   i d e n t i t y   a s   t h e   p r o v i d e r .   T h e   m o r e   s p e c i f i c   e n t r y   m u s t   c o m e   b e f o r e   t h e   w i l d c a r d   e n t r y .   T h e   n e w   i t e m   w o u l d   l o o k   s i m i l a r   t o :   . . .   -   r e s o u r c e s :   -   c o n f i g m a p s .   #   s p e c i f i c a l l y   f r o m   t h e   c o r e   A P I   g r o u p ,   #   b e c a u s e   o f   t r a i l i n g   \" . \"   -   e v e n t s   p r o v i d e r s :   -   i d e n t i t y :   { }   #   a n d   t h e n   o t h e r   e n t r i e s   i n   r e s o u r c e s   E n s u r e   t h a t   t h e   e x e m p t i o n   i s   l i s t e d   b e f o r e   t h e   w i l d c a r d   ' * . * '   i t e m   i n   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17788"
  },
  {
    "question": "What is Caution:?",
    "answer": "I f   a n y   r e s o u r c e   i s   n o t   r e a d a b l e   v i a   t h e   e n c r y p t i o n   c o n f i g u r a t i o n   ( b e c a u s e   k e y s   w e r e   c h a n g e d ) ,   a n d   y o u   c a n n o t   r e s t o r e   a   w o r k i n g   c o n f i g u r a t i o n ,   y o u r   o n l y   r e c o u r s e   i s   t o   d e l e t e   t h a t   e n t r y   f r o m   t h e   u n d e r l y i n g   e t c d   d i r e c t l y .   A n y   c a l l s   t o   t h e   K u b e r n e t e s   A P I   t h a t   a t t e m p t   t o   r e a d   t h a t   r e s o u r c e   w i l l   f a i l   u n t i l   i t   i s   d e l e t e d   o r   a   v a l i d   d e c r y p t i o n   k e y   i s   p r o v i d e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17789"
  },
  {
    "question": "What is Available providers?",
    "answer": "B e f o r e   y o u   c o n f i g u r e   e n c r y p t i o n - a t - r e s t   f o r   d a t a   i n   y o u r   c l u s t e r ' s   K u b e r n e t e s   A P I ,   y o u   n e e d   t o   s e l e c t   w h i c h   p r o v i d e r ( s )   y o u   w i l l   u s e .   T h e   f o l l o w i n g   t a b l e   d e s c r i b e s   e a c h   a v a i l a b l e   p r o v i d e r .   T h e   i d e n t i t y   p r o v i d e r   i s   t h e   d e f a u l t   i f   y o u   d o   n o t   s p e c i f y   o t h e r w i s e .   T h e   i d e n t i t y   p r o v i d e r   d o e s   n o t   e n c r y p t   s t o r e d   d a t a   a n d   p r o v i d e s   n o   a d d i t i o n a l   c o n f i d e n t i a l i t y   p r o t e c t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17790"
  },
  {
    "question": "What is Local key storage?",
    "answer": "E n c r y p t i n g   s e c r e t   d a t a   w i t h   a   l o c a l l y   m a n a g e d   k e y   p r o t e c t s   a g a i n s t   a n   e t c d   c o m p r o m i s e ,   b u t   i t   f a i l s   t o   p r o t e c t   a g a i n s t   a   h o s t   c o m p r o m i s e .   S i n c e   t h e   e n c r y p t i o n   k e y s   a r e   s t o r e d   o n   t h e   h o s t   i n   t h e   E n c r y p t i o n C o n f i g u r a t i o n   Y A M L   f i l e ,   a   s k i l l e d   a t t a c k e r   c a n   a c c e s s   t h a t   f i l e   a n d   e x t r a c t   t h e   e n c r y p t i o n   k e y s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17791"
  },
  {
    "question": "What is Managed (KMS) key storage?",
    "answer": "T h e   K M S   p r o v i d e r   u s e s   e n v e l o p e   e n c r y p t i o n :   K u b e r n e t e s   e n c r y p t s   r e s o u r c e s   u s i n g   a   d a t a   k e y ,   a n d   t h e n   e n c r y p t s   t h a t   d a t a   k e y   u s i n g   t h e   m a n a g e d   e n c r y p t i o n   s e r v i c e .   K u b e r n e t e s   g e n e r a t e s   a   u n i q u e   d a t a   k e y   f o r   e a c h   r e s o u r c e .   T h e   A P I   s e r v e r   s t o r e s   a n   e n c r y p t e d   v e r s i o n   o f   t h e   d a t a   k e y   i n   e t c d   a l o n g s i d e   t h e   c i p h e r t e x t ;   w h e n   r e a d i n g   t h e   r e s o u r c e ,   t h e   A P I   s e r v e r   c a l l s   t h e   m a n a g e d   e n c r y p t i o n   s e r v i c e   a n d   p r o v i d e s   b o t h   t h e   c i p h e r t e x t   a n d   t h e   ( e n c r y p t e d )   d a t a   k e y .   W i t h i n   t h e   m a n a g e d   e n c r y p t i o n   s e r v i c e ,   t h e   p r o v i d e r   u s e   a   k e y   e n c r y p t i o n   k e y   t o   d e c i p h e r   t h e   d a t a   k e y ,   d e c i p h e r s   t h e   d a t a   k e y ,   a n d   f i n a l l y   r e c o v e r s   t h e   p l a i n   t e x t .   C o m m u n i c a t i o n   b e t w e e n   t h e   c o n t r o l   p l a n e   a n d   t h e   K M S   r e q u i r e s   i n - t r a n s i t   p r o t e c t i o n ,   s u c h   a s   T L S .   U s i n g   e n v e l o p e   e n c r y p t i o n   c r e a t e s   d e p e n d e n c e   o n   t h e   k e y   e n c r y p t i o n   k e y ,   w h i c h   i s   n o t   s t o r e d   i n   K u b e r n e t e s .   I n   t h e   K M S   c a s e ,   a n   a t t a c k e r   w h o   i n t e n d s   t o   g e t   u n a u t h o r i s e d   a c c e s s   t o   t h e   p l a i n t e x t   v a l u e s   w o u l d   n e e d   t o   c o m p r o m i s e   e t c d   a n d   t h e   t h i r d - p a r t y   K M S   p r o v i d e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17792"
  },
  {
    "question": "What is Protection for encryption keys?",
    "answer": "Y o u   s h o u l d   t a k e   a p p r o p r i a t e   m e a s u r e s   t o   p r o t e c t   t h e   c o n f i d e n t i a l   i n f o r m a t i o n   t h a t   a l l o w s   d e c r y p t i o n ,   w h e t h e r   t h a t   i s   a   l o c a l   e n c r y p t i o n   k e y ,   o r   a n   a u t h e n t i c a t i o n   t o k e n   t h a t   a l l o w s   t h e   A P I   s e r v e r   t o   c a l l   K M S .   E v e n   w h e n   y o u   r e l y   o n   a   p r o v i d e r   t o   m a n a g e   t h e   u s e   a n d   l i f e c y c l e   o f   t h e   m a i n   e n c r y p t i o n   k e y   ( o r   k e y s ) ,   y o u   a r e   s t i l l   r e s p o n s i b l e   f o r   m a k i n g   s u r e   t h a t   a c c e s s   c o n t r o l s   a n d   o t h e r   s e c u r i t y   m e a s u r e s   f o r   t h e   m a n a g e d   e n c r y p t i o n   s e r v i c e   a r e   a p p r o p r i a t e   f o r   y o u r   s e c u r i t y   n e e d s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17793"
  },
  {
    "question": "What is Generate the encryption key?",
    "answer": "T h e   f o l l o w i n g   s t e p s   a s s u m e   t h a t   y o u   a r e   n o t   u s i n g   K M S ,   a n d   t h e r e f o r e   t h e   s t e p s   a l s o   a s s u m e   t h a t   y o u   n e e d   t o   g e n e r a t e   a n   e n c r y p t i o n   k e y .   I f   y o u   a l r e a d y   h a v e   a n   e n c r y p t i o n   k e y ,   s k i p   t o   W r i t e   a n   e n c r y p t i o n   c o n f i g u r a t i o n   f i l e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17794"
  },
  {
    "question": "What is Caution:?",
    "answer": "S t o r i n g   t h e   r a w   e n c r y p t i o n   k e y   i n   t h e   E n c r y p t i o n C o n f i g   o n l y   m o d e r a t e l y   i m p r o v e s   y o u r   s e c u r i t y   p o s t u r e ,   c o m p a r e d   t o   n o   e n c r y p t i o n .   F o r   a d d i t i o n a l   s e c r e c y ,   c o n s i d e r   u s i n g   t h e   k m s   p r o v i d e r   a s   t h i s   r e l i e s   o n   k e y s   h e l d   o u t s i d e   y o u r   K u b e r n e t e s   c l u s t e r .   I m p l e m e n t a t i o n s   o f   k m s   c a n   w o r k   w i t h   h a r d w a r e   s e c u r i t y   m o d u l e s   o r   w i t h   e n c r y p t i o n   s e r v i c e s   m a n a g e d   b y   y o u r   c l o u d   p r o v i d e r .   T o   l e a r n   a b o u t   s e t t i n g   u p   e n c r y p t i o n   a t   r e s t   u s i n g   K M S ,   s e e   U s i n g   a   K M S   p r o v i d e r   f o r   d a t a   e n c r y p t i o n .   T h e   K M S   p r o v i d e r   p l u g i n   t h a t   y o u   u s e   m a y   a l s o   c o m e   w i t h   a d d i t i o n a l   s p e c i f i c   d o c u m e n t a t i o n .   S t a r t   b y   g e n e r a t i n g   a   n e w   e n c r y p t i o n   k e y ,   a n d   t h e n   e n c o d e   i t   u s i n g   b a s e 6 4 :   G e n e r a t e   a   3 2 - b y t e   r a n d o m   k e y   a n d   b a s e 6 4   e n c o d e   i t .   Y o u   c a n   u s e   t h i s   c o m m a n d : h e a d   - c   3 2   / d e v / u r a n d o m   |   b a s e 6 4   Y o u   c a n   u s e   / d e v / h w r n g   i n s t e a d   o f   / d e v / u r a n d o m   i f   y o u   w a n t   t o   u s e   y o u r   P C ' s   b u i l t - i n   h a r d w a r e   e n t r o p y   s o u r c e .   N o t   a l l   L i n u x   d e v i c e s   p r o v i d e   a   h a r d w a r e   r a n d o m   g e n e r a t o r .   G e n e r a t e   a   3 2 - b y t e   r a n d o m   k e y   a n d   b a s e 6 4   e n c o d e   i t .   Y o u   c a n   u s e   t h i s   c o m m a n d :   h e a d   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17795"
  },
  {
    "question": "What is Replicate the encryption key?",
    "answer": "U s i n g   a   s e c u r e   m e c h a n i s m   f o r   f i l e   t r a n s f e r ,   m a k e   a   c o p y   o f   t h a t   e n c r y p t i o n   k e y   a v a i l a b l e   t o   e v e r y   o t h e r   c o n t r o l   p l a n e   h o s t .   A t   a   m i n i m u m ,   u s e   e n c r y p t i o n   i n   t r a n s i t   -   f o r   e x a m p l e ,   s e c u r e   s h e l l   ( S S H ) .   F o r   m o r e   s e c u r i t y ,   u s e   a s y m m e t r i c   e n c r y p t i o n   b e t w e e n   h o s t s ,   o r   c h a n g e   t h e   a p p r o a c h   y o u   a r e   u s i n g   s o   t h a t   y o u ' r e   r e l y i n g   o n   K M S   e n c r y p t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17796"
  },
  {
    "question": "What is Caution:?",
    "answer": "C r e a t e   a   n e w   e n c r y p t i o n   c o n f i g u r a t i o n   f i l e .   T h e   c o n t e n t s   s h o u l d   b e   s i m i l a r   t o :   - - -   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   r e s o u r c e s :   -   r e s o u r c e s :   -   s e c r e t s   -   c o n f i g m a p s   -   p a n d a s . a w e s o m e . b e a r s . e x a m p l e   p r o v i d e r s :   -   a e s c b c :   k e y s :   -   n a m e :   k e y 1   #   S e e   t h e   f o l l o w i n g   t e x t   f o r   m o r e   d e t a i l s   a b o u t   t h e   s e c r e t   v a l u e   s e c r e t :   < B A S E   6 4   E N C O D E D   S E C R E T >   -   i d e n t i t y :   { }   #   t h i s   f a l l b a c k   a l l o w s   r e a d i n g   u n e n c r y p t e d   s e c r e t s ;   #   f o r   e x a m p l e ,   d u r i n g   i n i t i a l   m i g r a t i o n   T o   c r e a t e   a   n e w   e n c r y p t i o n   k e y   ( t h a t   d o e s   n o t   u s e   K M S ) ,   s e e   G e n e r a t e   t h e   e n c r y p t i o n   k e y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17797"
  },
  {
    "question": "What is Use the new encryption configuration file?",
    "answer": "Y o u   w i l l   n e e d   t o   m o u n t   t h e   n e w   e n c r y p t i o n   c o n f i g   f i l e   t o   t h e   k u b e - a p i s e r v e r   s t a t i c   p o d .   H e r e   i s   a n   e x a m p l e   o n   h o w   t o   d o   t h a t :   S a v e   t h e   n e w   e n c r y p t i o n   c o n f i g   f i l e   t o   / e t c / k u b e r n e t e s / e n c / e n c . y a m l   o n   t h e   c o n t r o l - p l a n e   n o d e . E d i t   t h e   m a n i f e s t   f o r   t h e   k u b e - a p i s e r v e r   s t a t i c   p o d :   / e t c / k u b e r n e t e s / m a n i f e s t s / k u b e - a p i s e r v e r . y a m l   s o   t h a t   i t   i s   s i m i l a r   t o : - - -   #   #   T h i s   i s   a   f r a g m e n t   o f   a   m a n i f e s t   f o r   a   s t a t i c   P o d .   #   C h e c k   w h e t h e r   t h i s   i s   c o r r e c t   f o r   y o u r   c l u s t e r   a n d   f o r   y o u r   A P I   s e r v e r .   #   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   a n n o t a t i o n s :   k u b e a d m . k u b e r n e t e s . i o / k u b e - a p i s e r v e r . a d v e r t i s e - a d d r e s s . e n d p o i n t :   1 0 . 2 0 . 3 0 . 4 0 : 4 4 3   c r e a t i o n T i m e s t a m p :   n u l l   l a b e l s :   a p p . k u b e r n e t e s . i o / c o m p o n e n t :   k u b e - a p i s e r v e r   t i e r :   c o n t r o l - p l a n e   n a m e :   k u b e - a p i s e r v e r   n a m e s p a c e :   k u b e - s y s t e m   s p e c :   c o n t a i n e r s :   -   c o m m a n d :   -   k u b e - a p i s e r v e r   . . .   -   - - e n c r y p t i o n - p r o v i d e r - c o n f i g = / e t c / k u b e r n e t e s / e n c / e n c . y a m l   #   a d d   t h i s   l i n e   v o l u m e M o u n t s :   . . .   -   n a m e :   e n c   #   a d d   t h i s   l i n e   m o u n t P a t h :   / e t c / k u b e r n e t e s / e n c   #   a d d   t h i s   l i n e   r e a d O n l y :   t r u e   #   a d d   t h i s   l i n e   . . ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17798"
  },
  {
    "question": "What is Caution:?",
    "answer": "Y o u   n o w   h a v e   e n c r y p t i o n   i n   p l a c e   f o r   o n e   c o n t r o l   p l a n e   h o s t .   A   t y p i c a l   K u b e r n e t e s   c l u s t e r   h a s   m u l t i p l e   c o n t r o l   p l a n e   h o s t s ,   s o   t h e r e   i s   m o r e   t o   d o .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17799"
  },
  {
    "question": "What is Reconfigure other control plane hosts?",
    "answer": "I f   y o u   h a v e   m u l t i p l e   A P I   s e r v e r s   i n   y o u r   c l u s t e r ,   y o u   s h o u l d   d e p l o y   t h e   c h a n g e s   i n   t u r n   t o   e a c h   A P I   s e r v e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17800"
  },
  {
    "question": "What is Caution:?",
    "answer": "F o r   c l u s t e r   c o n f i g u r a t i o n s   w i t h   t w o   o r   m o r e   c o n t r o l   p l a n e   n o d e s ,   t h e   e n c r y p t i o n   c o n f i g u r a t i o n   s h o u l d   b e   i d e n t i c a l   a c r o s s   e a c h   c o n t r o l   p l a n e   n o d e .   I f   t h e r e   i s   a   d i f f e r e n c e   i n   t h e   e n c r y p t i o n   p r o v i d e r   c o n f i g u r a t i o n   b e t w e e n   c o n t r o l   p l a n e   n o d e s ,   t h i s   d i f f e r e n c e   m a y   m e a n   t h a t   t h e   k u b e - a p i s e r v e r   c a n ' t   d e c r y p t   d a t a .   W h e n   y o u   a r e   p l a n n i n g   t o   u p d a t e   t h e   e n c r y p t i o n   c o n f i g u r a t i o n   o f   y o u r   c l u s t e r ,   p l a n   t h i s   s o   t h a t   t h e   A P I   s e r v e r s   i n   y o u r   c o n t r o l   p l a n e   c a n   a l w a y s   d e c r y p t   t h e   s t o r e d   d a t a   ( e v e n   p a r t   w a y   t h r o u g h   r o l l i n g   o u t   t h e   c h a n g e ) .   M a k e   s u r e   t h a t   y o u   u s e   t h e   s a m e   e n c r y p t i o n   c o n f i g u r a t i o n   o n   e a c h   c o n t r o l   p l a n e   h o s t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17801"
  },
  {
    "question": "What is Verify that newly written data is encrypted?",
    "answer": "D a t a   i s   e n c r y p t e d   w h e n   w r i t t e n   t o   e t c d .   A f t e r   r e s t a r t i n g   y o u r   k u b e - a p i s e r v e r ,   a n y   n e w l y   c r e a t e d   o r   u p d a t e d   S e c r e t   ( o r   o t h e r   r e s o u r c e   k i n d s   c o n f i g u r e d   i n   E n c r y p t i o n C o n f i g u r a t i o n )   s h o u l d   b e   e n c r y p t e d   w h e n   s t o r e d .   T o   c h e c k   t h i s ,   y o u   c a n   u s e   t h e   e t c d c t l   c o m m a n d   l i n e   p r o g r a m   t o   r e t r i e v e   t h e   c o n t e n t s   o f   y o u r   s e c r e t   d a t a .   T h i s   e x a m p l e   s h o w s   h o w   t o   c h e c k   t h i s   f o r   e n c r y p t i n g   t h e   S e c r e t   A P I .   C r e a t e   a   n e w   S e c r e t   c a l l e d   s e c r e t 1   i n   t h e   d e f a u l t   n a m e s p a c e : k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   s e c r e t 1   - n   d e f a u l t   - - f r o m - l i t e r a l = m y k e y = m y d a t a   U s i n g   t h e   e t c d c t l   c o m m a n d   l i n e   t o o l ,   r e a d   t h a t   S e c r e t   o u t   o f   e t c d : E T C D C T L _ A P I = 3   e t c d c t l   g e t   / r e g i s t r y / s e c r e t s / d e f a u l t / s e c r e t 1   [ . . . ]   |   h e x d u m p   - C   w h e r e   [ . . . ]   m u s t   b e   t h e   a d d i t i o n a l   a r g u m e n t s   f o r   c o n n e c t i n g   t o   t h e   e t c d   s e r v e r . F o r   e x a m p l e : E T C D C T L _ A P I = 3   e t c d c t l   \\   - - c a c e r t = / e t c / k u b e r n e t e s / p k i / e t c d / c a . c r t   \\   - - c e r t = / e t c / k u b e r n e t e s / p k i / e t c d / s e r v e r . c r t   \\   - - k e y = / e t c / k u b e r n e t e s / p k i / e t c d / s e r v e r . k e y   \\   g e t   / r e g i s t r y / s e c r e t s / d e f a u l t / s e c r e t 1   |   h e x d u m p   - C   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s   ( a b b r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17802"
  },
  {
    "question": "What is Ensure all relevant data are encrypted?",
    "answer": "I t ' s   o f t e n   n o t   e n o u g h   t o   m a k e   s u r e   t h a t   n e w   o b j e c t s   g e t   e n c r y p t e d :   y o u   a l s o   w a n t   t h a t   e n c r y p t i o n   t o   a p p l y   t o   t h e   o b j e c t s   t h a t   a r e   a l r e a d y   s t o r e d .   F o r   t h i s   e x a m p l e ,   y o u   h a v e   c o n f i g u r e d   y o u r   c l u s t e r   s o   t h a t   S e c r e t s   a r e   e n c r y p t e d   o n   w r i t e .   P e r f o r m i n g   a   r e p l a c e   o p e r a t i o n   f o r   e a c h   S e c r e t   w i l l   e n c r y p t   t h a t   c o n t e n t   a t   r e s t ,   w h e r e   t h e   o b j e c t s   a r e   u n c h a n g e d .   Y o u   c a n   m a k e   t h i s   c h a n g e   a c r o s s   a l l   S e c r e t s   i n   y o u r   c l u s t e r :   #   R u n   t h i s   a s   a n   a d m i n i s t r a t o r   t h a t   c a n   r e a d   a n d   w r i t e   a l l   S e c r e t s   k u b e c t l   g e t   s e c r e t s   - - a l l - n a m e s p a c e s   - o   j s o n   |   k u b e c t l   r e p l a c e   - f   -   T h e   c o m m a n d   a b o v e   r e a d s   a l l   S e c r e t s   a n d   t h e n   u p d a t e s   t h e m   w i t h   t h e   s a m e   d a t a ,   i n   o r d e r   t o   a p p l y   s e r v e r   s i d e   e n c r y p t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17803"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   a n   e r r o r   o c c u r s   d u e   t o   a   c o n f l i c t i n g   w r i t e ,   r e t r y   t h e   c o m m a n d .   I t   i s   s a f e   t o   r u n   t h a t   c o m m a n d   m o r e   t h a n   o n c e .   F o r   l a r g e r   c l u s t e r s ,   y o u   m a y   w i s h   t o   s u b d i v i d e   t h e   S e c r e t s   b y   n a m e s p a c e ,   o r   s c r i p t   a n   u p d a t e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17804"
  },
  {
    "question": "What is Prevent plain text retrieval?",
    "answer": "I f   y o u   w a n t   t o   m a k e   s u r e   t h a t   t h e   o n l y   a c c e s s   t o   a   p a r t i c u l a r   A P I   k i n d   i s   d o n e   u s i n g   e n c r y p t i o n ,   y o u   c a n   r e m o v e   t h e   A P I   s e r v e r ' s   a b i l i t y   t o   r e a d   t h a t   A P I ' s   b a c k i n g   d a t a   a s   p l a i n t e x t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17805"
  },
  {
    "question": "What is Warning:?",
    "answer": "M a k i n g   t h i s   c h a n g e   p r e v e n t s   t h e   A P I   s e r v e r   f r o m   r e t r i e v i n g   r e s o u r c e s   t h a t   a r e   m a r k e d   a s   e n c r y p t e d   a t   r e s t ,   b u t   a r e   a c t u a l l y   s t o r e d   i n   t h e   c l e a r .   W h e n   y o u   h a v e   c o n f i g u r e d   e n c r y p t i o n   a t   r e s t   f o r   a n   A P I   ( f o r   e x a m p l e :   t h e   A P I   k i n d   S e c r e t ,   r e p r e s e n t i n g   s e c r e t s   r e s o u r c e s   i n   t h e   c o r e   A P I   g r o u p ) ,   y o u   m u s t   e n s u r e   t h a t   a l l   t h o s e   r e s o u r c e s   i n   t h i s   c l u s t e r   r e a l l y   a r e   e n c r y p t e d   a t   r e s t .   C h e c k   t h i s   b e f o r e   y o u   c a r r y   o n   w i t h   t h e   n e x t   s t e p s .   O n c e   a l l   S e c r e t s   i n   y o u r   c l u s t e r   a r e   e n c r y p t e d ,   y o u   c a n   r e m o v e   t h e   i d e n t i t y   p a r t   o f   t h e   e n c r y p t i o n   c o n f i g u r a t i o n .   F o r   e x a m p l e :   - - -   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   r e s o u r c e s :   -   r e s o u r c e s :   -   s e c r e t s   p r o v i d e r s :   -   a e s c b c :   k e y s :   -   n a m e :   k e y 1   s e c r e t :   < B A S E   6 4   E N C O D E D   S E C R E T >   -   i d e n t i t y :   { }   #   R E M O V E   T H I S   L I N E   … a n d   t h e n   r e s t a r t   e a c h   A P I   s e r v e r   i n   t u r n .   T h i s   c h a n g e   p r e v e n t s   t h e   A P I   s e r v e r   f r o m   a c c e s s i n g   a   p l a i n - t e x t   S e c r e t ,   e v e n   b y   a c c i d e n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17806"
  },
  {
    "question": "What is Rotate a decryption key?",
    "answer": "C h a n g i n g   a n   e n c r y p t i o n   k e y   f o r   K u b e r n e t e s   w i t h o u t   i n c u r r i n g   d o w n t i m e   r e q u i r e s   a   m u l t i - s t e p   o p e r a t i o n ,   e s p e c i a l l y   i n   t h e   p r e s e n c e   o f   a   h i g h l y - a v a i l a b l e   d e p l o y m e n t   w h e r e   m u l t i p l e   k u b e - a p i s e r v e r   p r o c e s s e s   a r e   r u n n i n g .   G e n e r a t e   a   n e w   k e y   a n d   a d d   i t   a s   t h e   s e c o n d   k e y   e n t r y   f o r   t h e   c u r r e n t   p r o v i d e r   o n   a l l   c o n t r o l   p l a n e   n o d e s . R e s t a r t   a l l   k u b e - a p i s e r v e r   p r o c e s s e s ,   t o   e n s u r e   e a c h   s e r v e r   c a n   d e c r y p t   a n y   d a t a   t h a t   a r e   e n c r y p t e d   w i t h   t h e   n e w   k e y . M a k e   a   s e c u r e   b a c k u p   o f   t h e   n e w   e n c r y p t i o n   k e y .   I f   y o u   l o s e   a l l   c o p i e s   o f   t h i s   k e y   y o u   w o u l d   n e e d   t o   d e l e t e   a l l   t h e   r e s o u r c e s   w e r e   e n c r y p t e d   u n d e r   t h e   l o s t   k e y ,   a n d   w o r k l o a d s   m a y   n o t   o p e r a t e   a s   e x p e c t e d   d u r i n g   t h e   t i m e   t h a t   a t - r e s t   e n c r y p t i o n   i s   b r o k e n . M a k e   t h e   n e w   k e y   t h e   f i r s t   e n t r y   i n   t h e   k e y s   a r r a y   s o   t h a t   i t   i s   u s e d   f o r   e n c r y p t i o n - a t - r e s t   f o r   n e w   w r i t e s R e s t a r t   a l l   k u b e - a p i s e r v e r   p r o c e s s e s   t o   e n s u r e   e a c h   c o n t r o l   p l a n e   h o s t   n o w   e n c r y p t s   u s i n g   t h e   n e w   k e y A s   a   p r i v i l e g e d   u s e r ,   r u n   k u b e c t l   g e t   s e c r e t s   - - a l l - n a m e s p a c e s   - o   j s o n   |   k u b e c t l   r e p l a c e   - f   -   t o   e n c r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17807"
  },
  {
    "question": "What is Decrypt all data?",
    "answer": "T h i s   e x a m p l e   s h o w s   h o w   t o   s t o p   e n c r y p t i n g   t h e   S e c r e t   A P I   a t   r e s t .   I f   y o u   a r e   e n c r y p t i n g   o t h e r   A P I   k i n d s ,   a d j u s t   t h e   s t e p s   t o   m a t c h .   T o   d i s a b l e   e n c r y p t i o n   a t   r e s t ,   p l a c e   t h e   i d e n t i t y   p r o v i d e r   a s   t h e   f i r s t   e n t r y   i n   y o u r   e n c r y p t i o n   c o n f i g u r a t i o n   f i l e :   - - -   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   r e s o u r c e s :   -   r e s o u r c e s :   -   s e c r e t s   #   l i s t   a n y   o t h e r   r e s o u r c e s   h e r e   t h a t   y o u   p r e v i o u s l y   w e r e   #   e n c r y p t i n g   a t   r e s t   p r o v i d e r s :   -   i d e n t i t y :   { }   #   a d d   t h i s   l i n e   -   a e s c b c :   k e y s :   -   n a m e :   k e y 1   s e c r e t :   < B A S E   6 4   E N C O D E D   S E C R E T >   #   k e e p   t h i s   i n   p l a c e   #   m a k e   s u r e   i t   c o m e s   a f t e r   \" i d e n t i t y \"   T h e n   r u n   t h e   f o l l o w i n g   c o m m a n d   t o   f o r c e   d e c r y p t i o n   o f   a l l   S e c r e t s :   k u b e c t l   g e t   s e c r e t s   - - a l l - n a m e s p a c e s   - o   j s o n   |   k u b e c t l   r e p l a c e   - f   -   O n c e   y o u   h a v e   r e p l a c e d   a l l   e x i s t i n g   e n c r y p t e d   r e s o u r c e s   w i t h   b a c k i n g   d a t a   t h a t   d o n ' t   u s e   e n c r y p t i o n ,   y o u   c a n   r e m o v e   t h e   e n c r y p t i o n   s e t t i n g s   f r o m   t h e   k u b e - a p i s e r v e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17808"
  },
  {
    "question": "What is Configure automatic reloading?",
    "answer": "Y o u   c a n   c o n f i g u r e   a u t o m a t i c   r e l o a d i n g   o f   e n c r y p t i o n   p r o v i d e r   c o n f i g u r a t i o n .   T h a t   s e t t i n g   d e t e r m i n e s   w h e t h e r   t h e   A P I   s e r v e r   s h o u l d   l o a d   t h e   f i l e   y o u   s p e c i f y   f o r   - - e n c r y p t i o n - p r o v i d e r - c o n f i g   o n l y   o n c e   a t   s t a r t u p ,   o r   a u t o m a t i c a l l y   w h e n e v e r   y o u   c h a n g e   t h a t   f i l e .   E n a b l i n g   t h i s   o p t i o n   a l l o w s   y o u   t o   c h a n g e   t h e   k e y s   f o r   e n c r y p t i o n   a t   r e s t   w i t h o u t   r e s t a r t i n g   t h e   A P I   s e r v e r .   T o   a l l o w   a u t o m a t i c   r e l o a d i n g ,   c o n f i g u r e   t h e   A P I   s e r v e r   t o   r u n   w i t h :   - - e n c r y p t i o n - p r o v i d e r - c o n f i g - a u t o m a t i c - r e l o a d = t r u e .   W h e n   e n a b l e d ,   f i l e   c h a n g e s   a r e   p o l l e d   e v e r y   m i n u t e   t o   o b s e r v e   t h e   m o d i f i c a t i o n s .   T h e   a p i s e r v e r _ e n c r y p t i o n _ c o n f i g _ c o n t r o l l e r _ a u t o m a t i c _ r e l o a d _ l a s t _ t i m e s t a m p _ s e c o n d s   m e t r i c   i d e n t i f i e s   w h e n   t h e   n e w   c o n f i g   b e c o m e s   e f f e c t i v e .   T h i s   a l l o w s   e n c r y p t i o n   k e y s   t o   b e   r o t a t e d   w i t h o u t   r e s t a r t i n g   t h e   A P I   s e r v e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17809"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   d e c r y p t i n g   d a t a   t h a t   a r e   a l r e a d y   s t o r e d   a t   r e s t L e a r n   m o r e   a b o u t   t h e   E n c r y p t i o n C o n f i g u r a t i o n   c o n f i g u r a t i o n   A P I   ( v 1 ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17810"
  },
  {
    "question": "What is 2.25 - Decrypt Confidential Data that is Already Encrypted at Rest?",
    "answer": "A l l   o f   t h e   A P I s   i n   K u b e r n e t e s   t h a t   l e t   y o u   w r i t e   p e r s i s t e n t   A P I   r e s o u r c e   d a t a   s u p p o r t   a t - r e s t   e n c r y p t i o n .   F o r   e x a m p l e ,   y o u   c a n   e n a b l e   a t - r e s t   e n c r y p t i o n   f o r   S e c r e t s .   T h i s   a t - r e s t   e n c r y p t i o n   i s   a d d i t i o n a l   t o   a n y   s y s t e m - l e v e l   e n c r y p t i o n   f o r   t h e   e t c d   c l u s t e r   o r   f o r   t h e   f i l e s y s t e m ( s )   o n   h o s t s   w h e r e   y o u   a r e   r u n n i n g   t h e   k u b e - a p i s e r v e r .   T h i s   p a g e   s h o w s   h o w   t o   s w i t c h   f r o m   e n c r y p t i o n   o f   A P I   d a t a   a t   r e s t ,   s o   t h a t   A P I   d a t a   a r e   s t o r e d   u n e n c r y p t e d .   Y o u   m i g h t   w a n t   t o   d o   t h i s   t o   i m p r o v e   p e r f o r m a n c e ;   u s u a l l y ,   t h o u g h ,   i f   i t   w a s   a   g o o d   i d e a   t o   e n c r y p t   s o m e   d a t a ,   i t ' s   a l s o   a   g o o d   i d e a   t o   l e a v e   t h e m   e n c r y p t e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17811"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   t a s k   c o v e r s   e n c r y p t i o n   f o r   r e s o u r c e   d a t a   s t o r e d   u s i n g   t h e   K u b e r n e t e s   A P I .   F o r   e x a m p l e ,   y o u   c a n   e n c r y p t   S e c r e t   o b j e c t s ,   i n c l u d i n g   t h e   k e y - v a l u e   d a t a   t h e y   c o n t a i n .   I f   y o u   w a n t e d   t o   m a n a g e   e n c r y p t i o n   f o r   d a t a   i n   f i l e s y s t e m s   t h a t   a r e   m o u n t e d   i n t o   c o n t a i n e r s ,   y o u   i n s t e a d   n e e d   t o   e i t h e r :   u s e   a   s t o r a g e   i n t e g r a t i o n   t h a t   p r o v i d e s   e n c r y p t e d   v o l u m e s e n c r y p t   t h e   d a t a   w i t h i n   y o u r   o w n   a p p l i c a t i o n",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17812"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T h i s   t a s k   a s s u m e s   t h a t   y o u   a r e   r u n n i n g   t h e   K u b e r n e t e s   A P I   s e r v e r   a s   a   s t a t i c   p o d   o n   e a c h   c o n t r o l   p l a n e   n o d e . Y o u r   c l u s t e r ' s   c o n t r o l   p l a n e   m u s t   u s e   e t c d   v 3 . x   ( m a j o r   v e r s i o n   3 ,   a n y   m i n o r   v e r s i o n ) . T o   e n c r y p t   a   c u s t o m   r e s o u r c e ,   y o u r   c l u s t e r   m u s t   b e   r u n n i n g   K u b e r n e t e s   v 1 . 2 6   o r   n e w e r . Y o u   s h o u l d   h a v e   s o m e   A P I   d a t a   t h a t   a r e   a l r e a d y   e n c r y p t e d .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17813"
  },
  {
    "question": "What is Determine whether encryption at rest is already enabled?",
    "answer": "B y   d e f a u l t ,   t h e   A P I   s e r v e r   u s e s   a n   i d e n t i t y   p r o v i d e r   t h a t   s t o r e s   p l a i n - t e x t   r e p r e s e n t a t i o n s   o f   r e s o u r c e s .   T h e   d e f a u l t   i d e n t i t y   p r o v i d e r   d o e s   n o t   p r o v i d e   a n y   c o n f i d e n t i a l i t y   p r o t e c t i o n .   T h e   k u b e - a p i s e r v e r   p r o c e s s   a c c e p t s   a n   a r g u m e n t   - - e n c r y p t i o n - p r o v i d e r - c o n f i g   t h a t   s p e c i f i e s   a   p a t h   t o   a   c o n f i g u r a t i o n   f i l e .   T h e   c o n t e n t s   o f   t h a t   f i l e ,   i f   y o u   s p e c i f y   o n e ,   c o n t r o l   h o w   K u b e r n e t e s   A P I   d a t a   i s   e n c r y p t e d   i n   e t c d .   I f   i t   i s   n o t   s p e c i f i e d ,   y o u   d o   n o t   h a v e   e n c r y p t i o n   a t   r e s t   e n a b l e d .   T h e   f o r m a t   o f   t h a t   c o n f i g u r a t i o n   f i l e   i s   Y A M L ,   r e p r e s e n t i n g   a   c o n f i g u r a t i o n   A P I   k i n d   n a m e d   E n c r y p t i o n C o n f i g u r a t i o n .   Y o u   c a n   s e e   a n   e x a m p l e   c o n f i g u r a t i o n   i n   E n c r y p t i o n   a t   r e s t   c o n f i g u r a t i o n .   I f   - - e n c r y p t i o n - p r o v i d e r - c o n f i g   i s   s e t ,   c h e c k   w h i c h   r e s o u r c e s   ( s u c h   a s   s e c r e t s )   a r e   c o n f i g u r e d   f o r   e n c r y p t i o n ,   a n d   w h a t   p r o v i d e r   i s   u s e d .   M a k e   s u r e   t h a t   t h e   p r e f e r r e d   p r o v i d e r   f o r   t h a t   r e s o u r c e   t y p e   i s   n o t   i d e n t i t y ;   y o u   o n l y   s e t   i d e n t i t y   ( n o   e n c r y p t i o n )   a s   d e f a u l t   w h e n   y o u   w a n t   t o   d i s a b l e   e n c r y p t i o n   a t   r e s t .   V e r i f y   t h a t   t h e   f i r s t - l ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17814"
  },
  {
    "question": "What is Decrypt all data?",
    "answer": "T h i s   e x a m p l e   s h o w s   h o w   t o   s t o p   e n c r y p t i n g   t h e   S e c r e t   A P I   a t   r e s t .   I f   y o u   a r e   e n c r y p t i n g   o t h e r   A P I   k i n d s ,   a d j u s t   t h e   s t e p s   t o   m a t c h .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17815"
  },
  {
    "question": "What is Locate the encryption configuration file?",
    "answer": "F i r s t ,   f i n d   t h e   A P I   s e r v e r   c o n f i g u r a t i o n   f i l e s .   O n   e a c h   c o n t r o l   p l a n e   n o d e ,   s t a t i c   P o d   m a n i f e s t   f o r   t h e   k u b e - a p i s e r v e r   s p e c i f i e s   a   c o m m a n d   l i n e   a r g u m e n t ,   - - e n c r y p t i o n - p r o v i d e r - c o n f i g .   Y o u   a r e   l i k e l y   t o   f i n d   t h a t   t h i s   f i l e   i s   m o u n t e d   i n t o   t h e   s t a t i c   P o d   u s i n g   a   h o s t P a t h   v o l u m e   m o u n t .   O n c e   y o u   l o c a t e   t h e   v o l u m e   y o u   c a n   f i n d   t h e   f i l e   o n   t h e   n o d e   f i l e s y s t e m   a n d   i n s p e c t   i t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17816"
  },
  {
    "question": "What is Configure the API server to decrypt objects?",
    "answer": "T o   d i s a b l e   e n c r y p t i o n   a t   r e s t ,   p l a c e   t h e   i d e n t i t y   p r o v i d e r   a s   t h e   f i r s t   e n t r y   i n   y o u r   e n c r y p t i o n   c o n f i g u r a t i o n   f i l e .   F o r   e x a m p l e ,   i f   y o u r   e x i s t i n g   E n c r y p t i o n C o n f i g u r a t i o n   f i l e   r e a d s :   - - -   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   r e s o u r c e s :   -   r e s o u r c e s :   -   s e c r e t s   p r o v i d e r s :   -   a e s c b c :   k e y s :   #   D o   n o t   u s e   t h i s   ( i n v a l i d )   e x a m p l e   k e y   f o r   e n c r y p t i o n   -   n a m e :   e x a m p l e   s e c r e t :   2 K f Z g d i q 2 K 0 g 2 Y r Y p y D Y s 9 m F 2 L P Z h Q = =   t h e n   c h a n g e   i t   t o :   - - -   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   r e s o u r c e s :   -   r e s o u r c e s :   -   s e c r e t s   p r o v i d e r s :   -   i d e n t i t y :   { }   #   a d d   t h i s   l i n e   -   a e s c b c :   k e y s :   -   n a m e :   e x a m p l e   s e c r e t :   2 K f Z g d i q 2 K 0 g 2 Y r Y p y D Y s 9 m F 2 L P Z h Q = =   a n d   r e s t a r t   t h e   k u b e - a p i s e r v e r   P o d   o n   t h i s   n o d e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17817"
  },
  {
    "question": "What is Reconfigure other control plane hosts?",
    "answer": "I f   y o u   h a v e   m u l t i p l e   A P I   s e r v e r s   i n   y o u r   c l u s t e r ,   y o u   s h o u l d   d e p l o y   t h e   c h a n g e s   i n   t u r n   t o   e a c h   A P I   s e r v e r .   M a k e   s u r e   t h a t   y o u   u s e   t h e   s a m e   e n c r y p t i o n   c o n f i g u r a t i o n   o n   e a c h   c o n t r o l   p l a n e   h o s t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17818"
  },
  {
    "question": "What is Force decryption?",
    "answer": "T h e n   r u n   t h e   f o l l o w i n g   c o m m a n d   t o   f o r c e   d e c r y p t i o n   o f   a l l   S e c r e t s :   #   I f   y o u   a r e   d e c r y p t i n g   a   d i f f e r e n t   k i n d   o f   o b j e c t ,   c h a n g e   \" s e c r e t s \"   t o   m a t c h .   k u b e c t l   g e t   s e c r e t s   - - a l l - n a m e s p a c e s   - o   j s o n   |   k u b e c t l   r e p l a c e   - f   -   O n c e   y o u   h a v e   r e p l a c e d   a l l   e x i s t i n g   e n c r y p t e d   r e s o u r c e s   w i t h   b a c k i n g   d a t a   t h a t   d o n ' t   u s e   e n c r y p t i o n ,   y o u   c a n   r e m o v e   t h e   e n c r y p t i o n   s e t t i n g s   f r o m   t h e   k u b e - a p i s e r v e r .   T h e   c o m m a n d   l i n e   o p t i o n s   t o   r e m o v e   a r e :   - - e n c r y p t i o n - p r o v i d e r - c o n f i g - - e n c r y p t i o n - p r o v i d e r - c o n f i g - a u t o m a t i c - r e l o a d   R e s t a r t   t h e   k u b e - a p i s e r v e r   P o d   a g a i n   t o   a p p l y   t h e   n e w   c o n f i g u r a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17819"
  },
  {
    "question": "What is Reconfigure other control plane hosts?",
    "answer": "I f   y o u   h a v e   m u l t i p l e   A P I   s e r v e r s   i n   y o u r   c l u s t e r ,   y o u   s h o u l d   a g a i n   d e p l o y   t h e   c h a n g e s   i n   t u r n   t o   e a c h   A P I   s e r v e r .   M a k e   s u r e   t h a t   y o u   u s e   t h e   s a m e   e n c r y p t i o n   c o n f i g u r a t i o n   o n   e a c h   c o n t r o l   p l a n e   h o s t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17820"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   t h e   E n c r y p t i o n C o n f i g u r a t i o n   c o n f i g u r a t i o n   A P I   ( v 1 ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17821"
  },
  {
    "question": "What is 2.26 - Guaranteed Scheduling For Critical Add-On Pods?",
    "answer": "K u b e r n e t e s   c o r e   c o m p o n e n t s   s u c h   a s   t h e   A P I   s e r v e r ,   s c h e d u l e r ,   a n d   c o n t r o l l e r - m a n a g e r   r u n   o n   a   c o n t r o l   p l a n e   n o d e .   H o w e v e r ,   a d d - o n s   m u s t   r u n   o n   a   r e g u l a r   c l u s t e r   n o d e .   S o m e   o f   t h e s e   a d d - o n s   a r e   c r i t i c a l   t o   a   f u l l y   f u n c t i o n a l   c l u s t e r ,   s u c h   a s   m e t r i c s - s e r v e r ,   D N S ,   a n d   U I .   A   c l u s t e r   m a y   s t o p   w o r k i n g   p r o p e r l y   i f   a   c r i t i c a l   a d d - o n   i s   e v i c t e d   ( e i t h e r   m a n u a l l y   o r   a s   a   s i d e   e f f e c t   o f   a n o t h e r   o p e r a t i o n   l i k e   u p g r a d e )   a n d   b e c o m e s   p e n d i n g   ( f o r   e x a m p l e   w h e n   t h e   c l u s t e r   i s   h i g h l y   u t i l i z e d   a n d   e i t h e r   t h e r e   a r e   o t h e r   p e n d i n g   p o d s   t h a t   s c h e d u l e   i n t o   t h e   s p a c e   v a c a t e d   b y   t h e   e v i c t e d   c r i t i c a l   a d d - o n   p o d   o r   t h e   a m o u n t   o f   r e s o u r c e s   a v a i l a b l e   o n   t h e   n o d e   c h a n g e d   f o r   s o m e   o t h e r   r e a s o n ) .   N o t e   t h a t   m a r k i n g   a   p o d   a s   c r i t i c a l   i s   n o t   m e a n t   t o   p r e v e n t   e v i c t i o n s   e n t i r e l y ;   i t   o n l y   p r e v e n t s   t h e   p o d   f r o m   b e c o m i n g   p e r m a n e n t l y   u n a v a i l a b l e .   A   s t a t i c   p o d   m a r k e d   a s   c r i t i c a l   c a n ' t   b e   e v i c t e d .   H o w e v e r ,   n o n - s t a t i c   p o d s   m a r k e d   a s   c r i t i c a l   a r e   a l w a y s   r e s c h e d u l e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17822"
  },
  {
    "question": "What is Marking pod as critical?",
    "answer": "T o   m a r k   a   P o d   a s   c r i t i c a l ,   s e t   p r i o r i t y C l a s s N a m e   f o r   t h a t   P o d   t o   s y s t e m - c l u s t e r - c r i t i c a l   o r   s y s t e m - n o d e - c r i t i c a l .   s y s t e m - n o d e - c r i t i c a l   i s   t h e   h i g h e s t   a v a i l a b l e   p r i o r i t y ,   e v e n   h i g h e r   t h a n   s y s t e m - c l u s t e r - c r i t i c a l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17823"
  },
  {
    "question": "What is 2.27 - IP Masquerade Agent User Guide?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   a n d   e n a b l e   t h e   i p - m a s q - a g e n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17824"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17825"
  },
  {
    "question": "What is IP Masquerade Agent User Guide?",
    "answer": "T h e   i p - m a s q - a g e n t   c o n f i g u r e s   i p t a b l e s   r u l e s   t o   h i d e   a   p o d ' s   I P   a d d r e s s   b e h i n d   t h e   c l u s t e r   n o d e ' s   I P   a d d r e s s .   T h i s   i s   t y p i c a l l y   d o n e   w h e n   s e n d i n g   t r a f f i c   t o   d e s t i n a t i o n s   o u t s i d e   t h e   c l u s t e r ' s   p o d   C I D R   r a n g e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17826"
  },
  {
    "question": "What is Key Terms?",
    "answer": "N A T   ( N e t w o r k   A d d r e s s   T r a n s l a t i o n ) :   I s   a   m e t h o d   o f   r e m a p p i n g   o n e   I P   a d d r e s s   t o   a n o t h e r   b y   m o d i f y i n g   e i t h e r   t h e   s o u r c e   a n d / o r   d e s t i n a t i o n   a d d r e s s   i n f o r m a t i o n   i n   t h e   I P   h e a d e r .   T y p i c a l l y   p e r f o r m e d   b y   a   d e v i c e   d o i n g   I P   r o u t i n g . M a s q u e r a d i n g :   A   f o r m   o f   N A T   t h a t   i s   t y p i c a l l y   u s e d   t o   p e r f o r m   a   m a n y   t o   o n e   a d d r e s s   t r a n s l a t i o n ,   w h e r e   m u l t i p l e   s o u r c e   I P   a d d r e s s e s   a r e   m a s k e d   b e h i n d   a   s i n g l e   a d d r e s s ,   w h i c h   i s   t y p i c a l l y   t h e   d e v i c e   d o i n g   t h e   I P   r o u t i n g .   I n   K u b e r n e t e s   t h i s   i s   t h e   N o d e ' s   I P   a d d r e s s . C I D R   ( C l a s s l e s s   I n t e r - D o m a i n   R o u t i n g ) :   B a s e d   o n   t h e   v a r i a b l e - l e n g t h   s u b n e t   m a s k i n g ,   a l l o w s   s p e c i f y i n g   a r b i t r a r y - l e n g t h   p r e f i x e s .   C I D R   i n t r o d u c e d   a   n e w   m e t h o d   o f   r e p r e s e n t a t i o n   f o r   I P   a d d r e s s e s ,   n o w   c o m m o n l y   k n o w n   a s   C I D R   n o t a t i o n ,   i n   w h i c h   a n   a d d r e s s   o r   r o u t i n g   p r e f i x   i s   w r i t t e n   w i t h   a   s u f f i x   i n d i c a t i n g   t h e   n u m b e r   o f   b i t s   o f   t h e   p r e f i x ,   s u c h   a s   1 9 2 . 1 6 8 . 2 . 0 / 2 4 . L i n k   L o c a l :   A   l i n k - l o c a l   a d d r e s s   i s   a   n e t w o r k   a d d r e s s   t h a t   i s   v a l i d   o n l y   f o r   c o m m u n i c a t i o n s   w i t h i n   t h e   n e t w o r k   s e g m e n t   o r   t h e   b r o a d c a s t   d o m a i n   t h a t   t h e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17827"
  },
  {
    "question": "What is Create an ip-masq-agent?",
    "answer": "T o   c r e a t e   a n   i p - m a s q - a g e n t ,   r u n   t h e   f o l l o w i n g   k u b e c t l   c o m m a n d :   k u b e c t l   a p p l y   - f   h t t p s : / / r a w . g i t h u b u s e r c o n t e n t . c o m / k u b e r n e t e s - s i g s / i p - m a s q - a g e n t / m a s t e r / i p - m a s q - a g e n t . y a m l   Y o u   m u s t   a l s o   a p p l y   t h e   a p p r o p r i a t e   n o d e   l a b e l   t o   a n y   n o d e s   i n   y o u r   c l u s t e r   t h a t   y o u   w a n t   t h e   a g e n t   t o   r u n   o n .   k u b e c t l   l a b e l   n o d e s   m y - n o d e   n o d e . k u b e r n e t e s . i o / m a s q - a g e n t - d s - r e a d y = t r u e   M o r e   i n f o r m a t i o n   c a n   b e   f o u n d   i n   t h e   i p - m a s q - a g e n t   d o c u m e n t a t i o n   h e r e .   I n   m o s t   c a s e s ,   t h e   d e f a u l t   s e t   o f   r u l e s   s h o u l d   b e   s u f f i c i e n t ;   h o w e v e r ,   i f   t h i s   i s   n o t   t h e   c a s e   f o r   y o u r   c l u s t e r ,   y o u   c a n   c r e a t e   a n d   a p p l y   a   C o n f i g M a p   t o   c u s t o m i z e   t h e   I P   r a n g e s   t h a t   a r e   a f f e c t e d .   F o r   e x a m p l e ,   t o   a l l o w   o n l y   1 0 . 0 . 0 . 0 / 8   t o   b e   c o n s i d e r e d   b y   t h e   i p - m a s q - a g e n t ,   y o u   c a n   c r e a t e   t h e   f o l l o w i n g   C o n f i g M a p   i n   a   f i l e   c a l l e d   \" c o n f i g \" .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17828"
  },
  {
    "question": "What is Note:?",
    "answer": "I t   i s   i m p o r t a n t   t h a t   t h e   f i l e   i s   c a l l e d   c o n f i g   s i n c e ,   b y   d e f a u l t ,   t h a t   w i l l   b e   u s e d   a s   t h e   k e y   f o r   l o o k u p   b y   t h e   i p - m a s q - a g e n t :   n o n M a s q u e r a d e C I D R s :   -   1 0 . 0 . 0 . 0 / 8   r e s y n c I n t e r v a l :   6 0 s   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   a d d   t h e   c o n f i g m a p   t o   y o u r   c l u s t e r :   k u b e c t l   c r e a t e   c o n f i g m a p   i p - m a s q - a g e n t   - - f r o m - f i l e = c o n f i g   - - n a m e s p a c e = k u b e - s y s t e m   T h i s   w i l l   u p d a t e   a   f i l e   l o c a t e d   a t   / e t c / c o n f i g / i p - m a s q - a g e n t   w h i c h   i s   p e r i o d i c a l l y   c h e c k e d   e v e r y   r e s y n c I n t e r v a l   a n d   a p p l i e d   t o   t h e   c l u s t e r   n o d e .   A f t e r   t h e   r e s y n c   i n t e r v a l   h a s   e x p i r e d ,   y o u   s h o u l d   s e e   t h e   i p t a b l e s   r u l e s   r e f l e c t   y o u r   c h a n g e s :   i p t a b l e s   - t   n a t   - L   I P - M A S Q - A G E N T   C h a i n   I P - M A S Q - A G E N T   ( 1   r e f e r e n c e s )   t a r g e t   p r o t   o p t   s o u r c e   d e s t i n a t i o n   R E T U R N   a l l   - -   a n y w h e r e   1 6 9 . 2 5 4 . 0 . 0 / 1 6   / *   i p - m a s q - a g e n t :   c l u s t e r - l o c a l   t r a f f i c   s h o u l d   n o t   b e   s u b j e c t   t o   M A S Q U E R A D E   * /   A D D R T Y P E   m a t c h   d s t - t y p e   ! L O C A L   R E T U R N   a l l   - -   a n y w h e r e   1 0 . 0 . 0 . 0 / 8   / *   i p - m a s q - a g e n t :   c l u s t e r - l o c a l   M A S Q U E R A D E   a l l   - -   a n y w h e r e   a n y w h e r e   / *   i p - m a s q - a g e n t :   o u t b o u n d   t r a f f i c   s h o u l d   b e   s u b j e c t   t o   M A S Q U E R A D E   ( t h i s   m a t c h   m ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17829"
  },
  {
    "question": "What is 2.28 - Limit Storage Consumption?",
    "answer": "T h i s   e x a m p l e   d e m o n s t r a t e s   h o w   t o   l i m i t   t h e   a m o u n t   o f   s t o r a g e   c o n s u m e d   i n   a   n a m e s p a c e .   T h e   f o l l o w i n g   r e s o u r c e s   a r e   u s e d   i n   t h e   d e m o n s t r a t i o n :   R e s o u r c e Q u o t a ,   L i m i t R a n g e ,   a n d   P e r s i s t e n t V o l u m e C l a i m .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17830"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17831"
  },
  {
    "question": "What is Scenario: Limiting Storage Consumption?",
    "answer": "T h e   c l u s t e r - a d m i n   i s   o p e r a t i n g   a   c l u s t e r   o n   b e h a l f   o f   a   u s e r   p o p u l a t i o n   a n d   t h e   a d m i n   w a n t s   t o   c o n t r o l   h o w   m u c h   s t o r a g e   a   s i n g l e   n a m e s p a c e   c a n   c o n s u m e   i n   o r d e r   t o   c o n t r o l   c o s t .   T h e   a d m i n   w o u l d   l i k e   t o   l i m i t :   T h e   n u m b e r   o f   p e r s i s t e n t   v o l u m e   c l a i m s   i n   a   n a m e s p a c e T h e   a m o u n t   o f   s t o r a g e   e a c h   c l a i m   c a n   r e q u e s t T h e   a m o u n t   o f   c u m u l a t i v e   s t o r a g e   t h e   n a m e s p a c e   c a n   h a v e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17832"
  },
  {
    "question": "What is LimitRange to limit requests for storage?",
    "answer": "A d d i n g   a   L i m i t R a n g e   t o   a   n a m e s p a c e   e n f o r c e s   s t o r a g e   r e q u e s t   s i z e s   t o   a   m i n i m u m   a n d   m a x i m u m .   S t o r a g e   i s   r e q u e s t e d   v i a   P e r s i s t e n t V o l u m e C l a i m .   T h e   a d m i s s i o n   c o n t r o l l e r   t h a t   e n f o r c e s   l i m i t   r a n g e s   w i l l   r e j e c t   a n y   P V C   t h a t   i s   a b o v e   o r   b e l o w   t h e   v a l u e s   s e t   b y   t h e   a d m i n .   I n   t h i s   e x a m p l e ,   a   P V C   r e q u e s t i n g   1 0 G i   o f   s t o r a g e   w o u l d   b e   r e j e c t e d   b e c a u s e   i t   e x c e e d s   t h e   2 G i   m a x .   a p i V e r s i o n :   v 1   k i n d :   L i m i t R a n g e   m e t a d a t a :   n a m e :   s t o r a g e l i m i t s   s p e c :   l i m i t s :   -   t y p e :   P e r s i s t e n t V o l u m e C l a i m   m a x :   s t o r a g e :   2 G i   m i n :   s t o r a g e :   1 G i   M i n i m u m   s t o r a g e   r e q u e s t s   a r e   u s e d   w h e n   t h e   u n d e r l y i n g   s t o r a g e   p r o v i d e r   r e q u i r e s   c e r t a i n   m i n i m u m s .   F o r   e x a m p l e ,   A W S   E B S   v o l u m e s   h a v e   a   1 G i   m i n i m u m   r e q u i r e m e n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17833"
  },
  {
    "question": "What is ResourceQuota to limit PVC count and cumulative storage capacity?",
    "answer": "A d m i n s   c a n   l i m i t   t h e   n u m b e r   o f   P V C s   i n   a   n a m e s p a c e   a s   w e l l   a s   t h e   c u m u l a t i v e   c a p a c i t y   o f   t h o s e   P V C s .   N e w   P V C s   t h a t   e x c e e d   e i t h e r   m a x i m u m   v a l u e   w i l l   b e   r e j e c t e d .   I n   t h i s   e x a m p l e ,   a   6 t h   P V C   i n   t h e   n a m e s p a c e   w o u l d   b e   r e j e c t e d   b e c a u s e   i t   e x c e e d s   t h e   m a x i m u m   c o u n t   o f   5 .   A l t e r n a t i v e l y ,   a   5 G i   m a x i m u m   q u o t a   w h e n   c o m b i n e d   w i t h   t h e   2 G i   m a x   l i m i t   a b o v e ,   c a n n o t   h a v e   3   P V C s   w h e r e   e a c h   h a s   2 G i .   T h a t   w o u l d   b e   6 G i   r e q u e s t e d   f o r   a   n a m e s p a c e   c a p p e d   a t   5 G i .   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a   m e t a d a t a :   n a m e :   s t o r a g e q u o t a   s p e c :   h a r d :   p e r s i s t e n t v o l u m e c l a i m s :   \" 5 \"   r e q u e s t s . s t o r a g e :   \" 5 G i \"",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17834"
  },
  {
    "question": "What is Summary?",
    "answer": "A   l i m i t   r a n g e   c a n   p u t   a   c e i l i n g   o n   h o w   m u c h   s t o r a g e   i s   r e q u e s t e d   w h i l e   a   r e s o u r c e   q u o t a   c a n   e f f e c t i v e l y   c a p   t h e   s t o r a g e   c o n s u m e d   b y   a   n a m e s p a c e   t h r o u g h   c l a i m   c o u n t s   a n d   c u m u l a t i v e   s t o r a g e   c a p a c i t y .   T h e   a l l o w s   a   c l u s t e r - a d m i n   t o   p l a n   t h e i r   c l u s t e r ' s   s t o r a g e   b u d g e t   w i t h o u t   r i s k   o f   a n y   o n e   p r o j e c t   g o i n g   o v e r   t h e i r   a l l o t m e n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17835"
  },
  {
    "question": "What is 2.29 - Migrate Replicated Control Plane To Use Cloud Controller Manager?",
    "answer": "T h e   c l o u d - c o n t r o l l e r - m a n a g e r   i s   a   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t   t h a t   e m b e d s   c l o u d - s p e c i f i c   c o n t r o l   l o g i c .   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   l e t s   y o u   l i n k   y o u r   c l u s t e r   i n t o   y o u r   c l o u d   p r o v i d e r ' s   A P I ,   a n d   s e p a r a t e s   o u t   t h e   c o m p o n e n t s   t h a t   i n t e r a c t   w i t h   t h a t   c l o u d   p l a t f o r m   f r o m   c o m p o n e n t s   t h a t   o n l y   i n t e r a c t   w i t h   y o u r   c l u s t e r .   T h e   c l o u d - c o n t r o l l e r - m a n a g e r   i s   a   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t   t h a t   e m b e d s   c l o u d - s p e c i f i c   c o n t r o l   l o g i c .   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   l e t s   y o u   l i n k   y o u r   c l u s t e r   i n t o   y o u r   c l o u d   p r o v i d e r ' s   A P I ,   a n d   s e p a r a t e s   o u t   t h e   c o m p o n e n t s   t h a t   i n t e r a c t   w i t h   t h a t   c l o u d   p l a t f o r m   f r o m   c o m p o n e n t s   t h a t   o n l y   i n t e r a c t   w i t h   y o u r   c l u s t e r .   B y   d e c o u p l i n g   t h e   i n t e r o p e r a b i l i t y   l o g i c   b e t w e e n   K u b e r n e t e s   a n d   t h e   u n d e r l y i n g   c l o u d   i n f r a s t r u c t u r e ,   t h e   c l o u d - c o n t r o l l e r - m a n a g e r   c o m p o n e n t   e n a b l e s   c l o u d   p r o v i d e r s   t o   r e l e a s e   f e a t u r e s   a t   a   d i f f e r e n t   p a c e   c o m p a r e d   t o   t h e   m a i n   K u b e r n e t e s   p r o j e c t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17836"
  },
  {
    "question": "What is Background?",
    "answer": "A s   p a r t   o f   t h e   c l o u d   p r o v i d e r   e x t r a c t i o n   e f f o r t ,   a l l   c l o u d   s p e c i f i c   c o n t r o l l e r s   m u s t   b e   m o v e d   o u t   o f   t h e   k u b e - c o n t r o l l e r - m a n a g e r .   A l l   e x i s t i n g   c l u s t e r s   t h a t   r u n   c l o u d   c o n t r o l l e r s   i n   t h e   k u b e - c o n t r o l l e r - m a n a g e r   m u s t   m i g r a t e   t o   i n s t e a d   r u n   t h e   c o n t r o l l e r s   i n   a   c l o u d   p r o v i d e r   s p e c i f i c   c l o u d - c o n t r o l l e r - m a n a g e r .   L e a d e r   M i g r a t i o n   p r o v i d e s   a   m e c h a n i s m   i n   w h i c h   H A   c l u s t e r s   c a n   s a f e l y   m i g r a t e   \" c l o u d   s p e c i f i c \"   c o n t r o l l e r s   b e t w e e n   t h e   k u b e - c o n t r o l l e r - m a n a g e r   a n d   t h e   c l o u d - c o n t r o l l e r - m a n a g e r   v i a   a   s h a r e d   r e s o u r c e   l o c k   b e t w e e n   t h e   t w o   c o m p o n e n t s   w h i l e   u p g r a d i n g   t h e   r e p l i c a t e d   c o n t r o l   p l a n e .   F o r   a   s i n g l e - n o d e   c o n t r o l   p l a n e ,   o r   i f   u n a v a i l a b i l i t y   o f   c o n t r o l l e r   m a n a g e r s   c a n   b e   t o l e r a t e d   d u r i n g   t h e   u p g r a d e ,   L e a d e r   M i g r a t i o n   i s   n o t   n e e d e d   a n d   t h i s   g u i d e   c a n   b e   i g n o r e d .   L e a d e r   M i g r a t i o n   c a n   b e   e n a b l e d   b y   s e t t i n g   - - e n a b l e - l e a d e r - m i g r a t i o n   o n   k u b e - c o n t r o l l e r - m a n a g e r   o r   c l o u d - c o n t r o l l e r - m a n a g e r .   L e a d e r   M i g r a t i o n   o n l y   a p p l i e s   d u r i n g   t h e   u p g r a d e   a n d   c a n   b e   s a f e l y   d i s a b l e d   o r   l e f t   e n a b l e d   a f t e r   t h e   u p g r a d e   i s   c ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17837"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I t   i s   a s s u m e d   t h a t   t h e   c o n t r o l   p l a n e   i s   r u n n i n g   K u b e r n e t e s   v e r s i o n   N   a n d   t o   b e   u p g r a d e d   t o   v e r s i o n   N   +   1 .   A l t h o u g h   i t   i s   p o s s i b l e   t o   m i g r a t e   w i t h i n   t h e   s a m e   v e r s i o n ,   i d e a l l y   t h e   m i g r a t i o n   s h o u l d   b e   p e r f o r m e d   a s   p a r t   o f   a n   u p g r a d e   s o   t h a t   c h a n g e s   o f   c o n f i g u r a t i o n   c a n   b e   a l i g n e d   t o   e a c h   r e l e a s e .   T h e   e x a c t   v e r s i o n s   o f   N   a n d   N   +   1   d e p e n d   o n   e a c h   c l o u d   p r o v i d e r .   F o r   e x a m p l e ,   i f   a   c l o u d   p r o v i d e r   b u i l d s   a   c l o u d - c o n t r o l l e r - m a n a g e r   t o   w o r k   w i t h   K u b e r n e t e s   1 . 2 4 ,   t h e n   N   c a n   b e   1 . 2 3   a n d   N   +   1   c a n   b e   1 . 2 4 .   T h e   c o n t r o l   p l a n e   n o d e s   s h o u l d   r u n   k u b e - c o n t r o l l e r - m a n a g e r   w i t h   L e a d e r   E l e c t i o n   e n a b l e d ,   w h i c h   i s   t h e   d e f a u l t .   A s   o f   v e r s i o n   N ,   a n   i n - t r e e   c l o u d   p r o v i d e r   m u s t   b e   s e t   w i t h   - - c l o u d - p r o v i d e r   f l a g   a n d   c l o u d - c o n t r o l l e r - m a n a g e r   s h o u l d   n o t   y e t   b e   d e p l o y e d .   T h e   o u t - o f - t r e e   c l o u d   p r o v i d e r   m u s t   h a v e   b u i l t   a   c l o u d - c o n t r o l l e r - m a n a g e r   w i t h   L e a d e r   M i g r a t i o n   i m p l e m e n t a t i o n .   I f   t h e   c l o u d   p r o v i d e r   i m p o r t s   k 8 s . i o / c l o u d - p r o v i d e r   a n d   k 8 s . i o / c o n t r o l l e r - m a n a g e r   o f   v e r s i o n   v 0 . 2 1 . 0   o r   l a t e r ,   L e a d e r   M i g r a t i o n   w i l l   b e   a v a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17838"
  },
  {
    "question": "What is Grant access to Migration Lease?",
    "answer": "T h e   d e f a u l t   p e r m i s s i o n s   o f   t h e   c o n t r o l l e r   m a n a g e r   a l l o w   o n l y   a c c e s s e s   t o   t h e i r   m a i n   L e a s e .   I n   o r d e r   f o r   t h e   m i g r a t i o n   t o   w o r k ,   a c c e s s e s   t o   a n o t h e r   L e a s e   a r e   r e q u i r e d .   Y o u   c a n   g r a n t   k u b e - c o n t r o l l e r - m a n a g e r   f u l l   a c c e s s   t o   t h e   l e a s e s   A P I   b y   m o d i f y i n g   t h e   s y s t e m : : l e a d e r - l o c k i n g - k u b e - c o n t r o l l e r - m a n a g e r   r o l e .   T h i s   t a s k   g u i d e   a s s u m e s   t h a t   t h e   n a m e   o f   t h e   m i g r a t i o n   l e a s e   i s   c l o u d - p r o v i d e r - e x t r a c t i o n - m i g r a t i o n .   k u b e c t l   p a t c h   - n   k u b e - s y s t e m   r o l e   ' s y s t e m : : l e a d e r - l o c k i n g - k u b e - c o n t r o l l e r - m a n a g e r '   - p   ' { \" r u l e s \" :   [   { \" a p i G r o u p s \" : [   \" c o o r d i n a t i o n . k 8 s . i o \" ] ,   \" r e s o u r c e s \" :   [ \" l e a s e s \" ] ,   \" r e s o u r c e N a m e s \" :   [ \" c l o u d - p r o v i d e r - e x t r a c t i o n - m i g r a t i o n \" ] ,   \" v e r b s \" :   [ \" c r e a t e \" ,   \" l i s t \" ,   \" g e t \" ,   \" u p d a t e \" ]   }   ] } '   - - t y p e = m e r g e `   D o   t h e   s a m e   t o   t h e   s y s t e m : : l e a d e r - l o c k i n g - c l o u d - c o n t r o l l e r - m a n a g e r   r o l e .   k u b e c t l   p a t c h   - n   k u b e - s y s t e m   r o l e   ' s y s t e m : : l e a d e r - l o c k i n g - c l o u d - c o n t r o l l e r - m a n a g e r '   - p   ' { \" r u l e s \" :   [   { \" a p i G r o u p s \" : [   \" c o o r d i n a t i o n . k 8 s . i o \" ] ,   \" r e s o u r c e s \" :   [ \" l e a s e s \" ] ,   \" r e s o u r c e N a m e s \" :   [ \" c l o u d - p r o v i d e r - e x t r a c t i o n - m i g r a t i o n \" ] ,   \" v e r b s \" :   [ \" c r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17839"
  },
  {
    "question": "What is Initial Leader Migration configuration?",
    "answer": "L e a d e r   M i g r a t i o n   o p t i o n a l l y   t a k e s   a   c o n f i g u r a t i o n   f i l e   r e p r e s e n t i n g   t h e   s t a t e   o f   c o n t r o l l e r - t o - m a n a g e r   a s s i g n m e n t .   A t   t h i s   m o m e n t ,   w i t h   i n - t r e e   c l o u d   p r o v i d e r ,   k u b e - c o n t r o l l e r - m a n a g e r   r u n s   r o u t e ,   s e r v i c e ,   a n d   c l o u d - n o d e - l i f e c y c l e .   T h e   f o l l o w i n g   e x a m p l e   c o n f i g u r a t i o n   s h o w s   t h e   a s s i g n m e n t .   L e a d e r   M i g r a t i o n   c a n   b e   e n a b l e d   w i t h o u t   a   c o n f i g u r a t i o n .   P l e a s e   s e e   D e f a u l t   C o n f i g u r a t i o n   f o r   d e t a i l s .   k i n d :   L e a d e r M i g r a t i o n C o n f i g u r a t i o n   a p i V e r s i o n :   c o n t r o l l e r m a n a g e r . c o n f i g . k 8 s . i o / v 1   l e a d e r N a m e :   c l o u d - p r o v i d e r - e x t r a c t i o n - m i g r a t i o n   r e s o u r c e L o c k :   l e a s e s   c o n t r o l l e r L e a d e r s :   -   n a m e :   r o u t e   c o m p o n e n t :   k u b e - c o n t r o l l e r - m a n a g e r   -   n a m e :   s e r v i c e   c o m p o n e n t :   k u b e - c o n t r o l l e r - m a n a g e r   -   n a m e :   c l o u d - n o d e - l i f e c y c l e   c o m p o n e n t :   k u b e - c o n t r o l l e r - m a n a g e r   A l t e r n a t i v e l y ,   b e c a u s e   t h e   c o n t r o l l e r s   c a n   r u n   u n d e r   e i t h e r   c o n t r o l l e r   m a n a g e r s ,   s e t t i n g   c o m p o n e n t   t o   *   f o r   b o t h   s i d e s   m a k e s   t h e   c o n f i g u r a t i o n   f i l e   c o n s i s t e n t   b e t w e e n   b o t h   p a r t i e s   o f   t h e   m i g r a t i o n .   #   w i l d c a r d   v e r s i o n   k i n d :   L e a d e r M i g r a t i o n C o n f i g u r a t i o n   a p i V e r s i o n :   c o n t r o l l e r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17840"
  },
  {
    "question": "What is Deploy Cloud Controller Manager?",
    "answer": "I n   v e r s i o n   N   +   1 ,   t h e   d e s i r e d   s t a t e   o f   c o n t r o l l e r - t o - m a n a g e r   a s s i g n m e n t   c a n   b e   r e p r e s e n t e d   b y   a   n e w   c o n f i g u r a t i o n   f i l e ,   s h o w n   a s   f o l l o w s .   P l e a s e   n o t e   c o m p o n e n t   f i e l d   o f   e a c h   c o n t r o l l e r L e a d e r s   c h a n g i n g   f r o m   k u b e - c o n t r o l l e r - m a n a g e r   t o   c l o u d - c o n t r o l l e r - m a n a g e r .   A l t e r n a t i v e l y ,   u s e   t h e   w i l d c a r d   v e r s i o n   m e n t i o n e d   a b o v e ,   w h i c h   h a s   t h e   s a m e   e f f e c t .   k i n d :   L e a d e r M i g r a t i o n C o n f i g u r a t i o n   a p i V e r s i o n :   c o n t r o l l e r m a n a g e r . c o n f i g . k 8 s . i o / v 1   l e a d e r N a m e :   c l o u d - p r o v i d e r - e x t r a c t i o n - m i g r a t i o n   r e s o u r c e L o c k :   l e a s e s   c o n t r o l l e r L e a d e r s :   -   n a m e :   r o u t e   c o m p o n e n t :   c l o u d - c o n t r o l l e r - m a n a g e r   -   n a m e :   s e r v i c e   c o m p o n e n t :   c l o u d - c o n t r o l l e r - m a n a g e r   -   n a m e :   c l o u d - n o d e - l i f e c y c l e   c o m p o n e n t :   c l o u d - c o n t r o l l e r - m a n a g e r   W h e n   c r e a t i n g   c o n t r o l   p l a n e   n o d e s   o f   v e r s i o n   N   +   1 ,   t h e   c o n t e n t   s h o u l d   b e   d e p l o y e d   t o   / e t c / l e a d e r m i g r a t i o n . c o n f .   T h e   m a n i f e s t   o f   c l o u d - c o n t r o l l e r - m a n a g e r   s h o u l d   b e   u p d a t e d   t o   m o u n t   t h e   c o n f i g u r a t i o n   f i l e   i n   t h e   s a m e   m a n n e r   a s   k u b e - c o n t r o l l e r - m a n a g e r   o f   v e r s i o n   N .   S i m i l a r l y ,   a d d   - - e n a b l e - l e a d e r - m i g r a t i o n   a n d   - - l e a d e r - m i ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17841"
  },
  {
    "question": "What is Upgrade Control Plane?",
    "answer": "T h e   c o n t r o l   p l a n e   n o w   c o n t a i n s   n o d e s   o f   b o t h   v e r s i o n   N   a n d   N   +   1 .   T h e   n o d e s   o f   v e r s i o n   N   r u n   k u b e - c o n t r o l l e r - m a n a g e r   o n l y ,   a n d   t h e s e   o f   v e r s i o n   N   +   1   r u n   b o t h   k u b e - c o n t r o l l e r - m a n a g e r   a n d   c l o u d - c o n t r o l l e r - m a n a g e r .   T h e   m i g r a t e d   c o n t r o l l e r s ,   a s   s p e c i f i e d   i n   t h e   c o n f i g u r a t i o n ,   a r e   r u n n i n g   u n d e r   e i t h e r   k u b e - c o n t r o l l e r - m a n a g e r   o f   v e r s i o n   N   o r   c l o u d - c o n t r o l l e r - m a n a g e r   o f   v e r s i o n   N   +   1   d e p e n d i n g   o n   w h i c h   c o n t r o l l e r   m a n a g e r   h o l d s   t h e   m i g r a t i o n   l e a s e .   N o   c o n t r o l l e r   w i l l   e v e r   b e   r u n n i n g   u n d e r   b o t h   c o n t r o l l e r   m a n a g e r s   a t   a n y   t i m e .   I n   a   r o l l i n g   m a n n e r ,   c r e a t e   a   n e w   c o n t r o l   p l a n e   n o d e   o f   v e r s i o n   N   +   1   a n d   b r i n g   d o w n   o n e   o f   v e r s i o n   N   u n t i l   t h e   c o n t r o l   p l a n e   c o n t a i n s   o n l y   n o d e s   o f   v e r s i o n   N   +   1 .   I f   a   r o l l b a c k   f r o m   v e r s i o n   N   +   1   t o   N   i s   r e q u i r e d ,   a d d   n o d e s   o f   v e r s i o n   N   w i t h   L e a d e r   M i g r a t i o n   e n a b l e d   f o r   k u b e - c o n t r o l l e r - m a n a g e r   b a c k   t o   t h e   c o n t r o l   p l a n e ,   r e p l a c i n g   o n e   o f   v e r s i o n   N   +   1   e a c h   t i m e   u n t i l   t h e r e   a r e   o n l y   n o d e s   o f   v e r s i o n   N .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17842"
  },
  {
    "question": "What is (Optional) Disable Leader Migration?",
    "answer": "N o w   t h a t   t h e   c o n t r o l   p l a n e   h a s   b e e n   u p g r a d e d   t o   r u n   b o t h   k u b e - c o n t r o l l e r - m a n a g e r   a n d   c l o u d - c o n t r o l l e r - m a n a g e r   o f   v e r s i o n   N   +   1 ,   L e a d e r   M i g r a t i o n   h a s   f i n i s h e d   i t s   j o b   a n d   c a n   b e   s a f e l y   d i s a b l e d   t o   s a v e   o n e   L e a s e   r e s o u r c e .   I t   i s   s a f e   t o   r e - e n a b l e   L e a d e r   M i g r a t i o n   f o r   t h e   r o l l b a c k   i n   t h e   f u t u r e .   I n   a   r o l l i n g   m a n a g e r ,   u p d a t e   m a n i f e s t   o f   c l o u d - c o n t r o l l e r - m a n a g e r   t o   u n s e t   b o t h   - - e n a b l e - l e a d e r - m i g r a t i o n   a n d   - - l e a d e r - m i g r a t i o n - c o n f i g =   f l a g ,   a l s o   r e m o v e   t h e   m o u n t   o f   / e t c / l e a d e r m i g r a t i o n . c o n f ,   a n d   f i n a l l y   r e m o v e   / e t c / l e a d e r m i g r a t i o n . c o n f .   T o   r e - e n a b l e   L e a d e r   M i g r a t i o n ,   r e c r e a t e   t h e   c o n f i g u r a t i o n   f i l e   a n d   a d d   i t s   m o u n t   a n d   t h e   f l a g s   t h a t   e n a b l e   L e a d e r   M i g r a t i o n   b a c k   t o   c l o u d - c o n t r o l l e r - m a n a g e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17843"
  },
  {
    "question": "What is Default Configuration?",
    "answer": "S t a r t i n g   K u b e r n e t e s   1 . 2 2 ,   L e a d e r   M i g r a t i o n   p r o v i d e s   a   d e f a u l t   c o n f i g u r a t i o n   s u i t a b l e   f o r   t h e   d e f a u l t   c o n t r o l l e r - t o - m a n a g e r   a s s i g n m e n t .   T h e   d e f a u l t   c o n f i g u r a t i o n   c a n   b e   e n a b l e d   b y   s e t t i n g   - - e n a b l e - l e a d e r - m i g r a t i o n   b u t   w i t h o u t   - - l e a d e r - m i g r a t i o n - c o n f i g = .   F o r   k u b e - c o n t r o l l e r - m a n a g e r   a n d   c l o u d - c o n t r o l l e r - m a n a g e r ,   i f   t h e r e   a r e   n o   f l a g s   t h a t   e n a b l e   a n y   i n - t r e e   c l o u d   p r o v i d e r   o r   c h a n g e   o w n e r s h i p   o f   c o n t r o l l e r s ,   t h e   d e f a u l t   c o n f i g u r a t i o n   c a n   b e   u s e d   t o   a v o i d   m a n u a l   c r e a t i o n   o f   t h e   c o n f i g u r a t i o n   f i l e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17844"
  },
  {
    "question": "What is Special case: migrating the Node IPAM controller?",
    "answer": "I f   y o u r   c l o u d   p r o v i d e r   p r o v i d e s   a n   i m p l e m e n t a t i o n   o f   N o d e   I P A M   c o n t r o l l e r ,   y o u   s h o u l d   s w i t c h   t o   t h e   i m p l e m e n t a t i o n   i n   c l o u d - c o n t r o l l e r - m a n a g e r .   D i s a b l e   N o d e   I P A M   c o n t r o l l e r   i n   k u b e - c o n t r o l l e r - m a n a g e r   o f   v e r s i o n   N   +   1   b y   a d d i n g   - - c o n t r o l l e r s = * , - n o d e i p a m   t o   i t s   f l a g s .   T h e n   a d d   n o d e i p a m   t o   t h e   l i s t   o f   m i g r a t e d   c o n t r o l l e r s .   #   w i l d c a r d   v e r s i o n ,   w i t h   n o d e i p a m   k i n d :   L e a d e r M i g r a t i o n C o n f i g u r a t i o n   a p i V e r s i o n :   c o n t r o l l e r m a n a g e r . c o n f i g . k 8 s . i o / v 1   l e a d e r N a m e :   c l o u d - p r o v i d e r - e x t r a c t i o n - m i g r a t i o n   r e s o u r c e L o c k :   l e a s e s   c o n t r o l l e r L e a d e r s :   -   n a m e :   r o u t e   c o m p o n e n t :   *   -   n a m e :   s e r v i c e   c o m p o n e n t :   *   -   n a m e :   c l o u d - n o d e - l i f e c y c l e   c o m p o n e n t :   *   -   n a m e :   n o d e i p a m   -   c o m p o n e n t :   *",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17845"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   t h e   C o n t r o l l e r   M a n a g e r   L e a d e r   M i g r a t i o n   e n h a n c e m e n t   p r o p o s a l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17846"
  },
  {
    "question": "What is 2.30 - Operating etcd clusters for Kubernetes?",
    "answer": "e t c d   i s   a   c o n s i s t e n t   a n d   h i g h l y - a v a i l a b l e   k e y   v a l u e   s t o r e   u s e d   a s   K u b e r n e t e s '   b a c k i n g   s t o r e   f o r   a l l   c l u s t e r   d a t a .   e t c d   i s   a   c o n s i s t e n t   a n d   h i g h l y - a v a i l a b l e   k e y   v a l u e   s t o r e   u s e d   a s   K u b e r n e t e s '   b a c k i n g   s t o r e   f o r   a l l   c l u s t e r   d a t a .   I f   y o u r   K u b e r n e t e s   c l u s t e r   u s e s   e t c d   a s   i t s   b a c k i n g   s t o r e ,   m a k e   s u r e   y o u   h a v e   a   b a c k   u p   p l a n   f o r   t h e   d a t a .   Y o u   c a n   f i n d   i n - d e p t h   i n f o r m a t i o n   a b o u t   e t c d   i n   t h e   o f f i c i a l   d o c u m e n t a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17847"
  },
  {
    "question": "What is Before you begin?",
    "answer": "B e f o r e   y o u   f o l l o w   s t e p s   i n   t h i s   p a g e   t o   d e p l o y ,   m a n a g e ,   b a c k   u p   o r   r e s t o r e   e t c d ,   y o u   n e e d   t o   u n d e r s t a n d   t h e   t y p i c a l   e x p e c t a t i o n s   f o r   o p e r a t i n g   a n   e t c d   c l u s t e r .   R e f e r   t o   t h e   e t c d   d o c u m e n t a t i o n   f o r   m o r e   c o n t e x t .   K e y   d e t a i l s   i n c l u d e :   T h e   m i n i m u m   r e c o m m e n d e d   e t c d   v e r s i o n s   t o   r u n   i n   p r o d u c t i o n   a r e   3 . 4 . 2 2 +   a n d   3 . 5 . 6 + . e t c d   i s   a   l e a d e r - b a s e d   d i s t r i b u t e d   s y s t e m .   E n s u r e   t h a t   t h e   l e a d e r   p e r i o d i c a l l y   s e n d   h e a r t b e a t s   o n   t i m e   t o   a l l   f o l l o w e r s   t o   k e e p   t h e   c l u s t e r   s t a b l e . Y o u   s h o u l d   r u n   e t c d   a s   a   c l u s t e r   w i t h   a n   o d d   n u m b e r   o f   m e m b e r s . A i m   t o   e n s u r e   t h a t   n o   r e s o u r c e   s t a r v a t i o n   o c c u r s . P e r f o r m a n c e   a n d   s t a b i l i t y   o f   t h e   c l u s t e r   i s   s e n s i t i v e   t o   n e t w o r k   a n d   d i s k   I / O .   A n y   r e s o u r c e   s t a r v a t i o n   c a n   l e a d   t o   h e a r t b e a t   t i m e o u t ,   c a u s i n g   i n s t a b i l i t y   o f   t h e   c l u s t e r .   A n   u n s t a b l e   e t c d   i n d i c a t e s   t h a t   n o   l e a d e r   i s   e l e c t e d .   U n d e r   s u c h   c i r c u m s t a n c e s ,   a   c l u s t e r   c a n n o t   m a k e   a n y   c h a n g e s   t o   i t s   c u r r e n t   s t a t e ,   w h i c h   i m p l i e s   n o   n e w   p o d s   c a n   b e   s c h e d u l e d .   T h e   m i n i m u m   r e c o m m e n d e d   e t c d   v e r s i o n s   t o   r u n   i n   p r o d u c t i o n   a r e   3 . 4 . 2 2 +   a n d   3 . 5 ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17848"
  },
  {
    "question": "What is Resource requirements for etcd?",
    "answer": "O p e r a t i n g   e t c d   w i t h   l i m i t e d   r e s o u r c e s   i s   s u i t a b l e   o n l y   f o r   t e s t i n g   p u r p o s e s .   F o r   d e p l o y i n g   i n   p r o d u c t i o n ,   a d v a n c e d   h a r d w a r e   c o n f i g u r a t i o n   i s   r e q u i r e d .   B e f o r e   d e p l o y i n g   e t c d   i n   p r o d u c t i o n ,   s e e   r e s o u r c e   r e q u i r e m e n t   r e f e r e n c e .   K e e p i n g   e t c d   c l u s t e r s   s t a b l e   i s   c r i t i c a l   t o   t h e   s t a b i l i t y   o f   K u b e r n e t e s   c l u s t e r s .   T h e r e f o r e ,   r u n   e t c d   c l u s t e r s   o n   d e d i c a t e d   m a c h i n e s   o r   i s o l a t e d   e n v i r o n m e n t s   f o r   g u a r a n t e e d   r e s o u r c e   r e q u i r e m e n t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17849"
  },
  {
    "question": "What is Tools?",
    "answer": "D e p e n d i n g   o n   w h i c h   s p e c i f i c   o u t c o m e   y o u ' r e   w o r k i n g   o n ,   y o u   w i l l   n e e d   t h e   e t c d c t l   t o o l   o r   t h e   e t c d u t l   t o o l   ( y o u   m a y   n e e d   b o t h ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17850"
  },
  {
    "question": "What is Understanding etcdctl and etcdutl?",
    "answer": "e t c d c t l   a n d   e t c d u t l   a r e   c o m m a n d - l i n e   t o o l s   u s e d   t o   i n t e r a c t   w i t h   e t c d   c l u s t e r s ,   b u t   t h e y   s e r v e   d i f f e r e n t   p u r p o s e s :   e t c d c t l :   T h i s   i s   t h e   p r i m a r y   c o m m a n d - l i n e   c l i e n t   f o r   i n t e r a c t i n g   w i t h   e t c d   o v e r   a   n e t w o r k .   I t   i s   u s e d   f o r   d a y - t o - d a y   o p e r a t i o n s   s u c h   a s   m a n a g i n g   k e y s   a n d   v a l u e s ,   a d m i n i s t e r i n g   t h e   c l u s t e r ,   c h e c k i n g   h e a l t h ,   a n d   m o r e . e t c d u t l :   T h i s   i s   a n   a d m i n i s t r a t i o n   u t i l i t y   d e s i g n e d   t o   o p e r a t e   d i r e c t l y   o n   e t c d   d a t a   f i l e s ,   i n c l u d i n g   m i g r a t i n g   d a t a   b e t w e e n   e t c d   v e r s i o n s ,   d e f r a g m e n t i n g   t h e   d a t a b a s e ,   r e s t o r i n g   s n a p s h o t s ,   a n d   v a l i d a t i n g   d a t a   c o n s i s t e n c y .   F o r   n e t w o r k   o p e r a t i o n s ,   e t c d c t l   s h o u l d   b e   u s e d .   e t c d c t l :   T h i s   i s   t h e   p r i m a r y   c o m m a n d - l i n e   c l i e n t   f o r   i n t e r a c t i n g   w i t h   e t c d   o v e r   a   n e t w o r k .   I t   i s   u s e d   f o r   d a y - t o - d a y   o p e r a t i o n s   s u c h   a s   m a n a g i n g   k e y s   a n d   v a l u e s ,   a d m i n i s t e r i n g   t h e   c l u s t e r ,   c h e c k i n g   h e a l t h ,   a n d   m o r e .   e t c d u t l :   T h i s   i s   a n   a d m i n i s t r a t i o n   u t i l i t y   d e s i g n e d   t o   o p e r a t e   d i r e c t l y   o n   e t c d   d a t a   f i l e s ,   i n c l u d i n g   m i g r a t i n g   d a t a   b e t w e e n   e t c d   v e r s i o n s ,   d e f r a g m e n t i n g   t h e   d a t a b a s e ,   r e s t o r i n g   s n a p s h ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17851"
  },
  {
    "question": "What is Starting etcd clusters?",
    "answer": "T h i s   s e c t i o n   c o v e r s   s t a r t i n g   a   s i n g l e - n o d e   a n d   m u l t i - n o d e   e t c d   c l u s t e r .   T h i s   g u i d e   a s s u m e s   t h a t   e t c d   i s   a l r e a d y   i n s t a l l e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17852"
  },
  {
    "question": "What is Single-node etcd cluster?",
    "answer": "U s e   a   s i n g l e - n o d e   e t c d   c l u s t e r   o n l y   f o r   t e s t i n g   p u r p o s e s .   R u n   t h e   f o l l o w i n g : e t c d   - - l i s t e n - c l i e n t - u r l s = h t t p : / / $ P R I V A T E _ I P : 2 3 7 9   \\   - - a d v e r t i s e - c l i e n t - u r l s = h t t p : / / $ P R I V A T E _ I P : 2 3 7 9   S t a r t   t h e   K u b e r n e t e s   A P I   s e r v e r   w i t h   t h e   f l a g   - - e t c d - s e r v e r s = $ P R I V A T E _ I P : 2 3 7 9 . M a k e   s u r e   P R I V A T E _ I P   i s   s e t   t o   y o u r   e t c d   c l i e n t   I P .   R u n   t h e   f o l l o w i n g :   e t c d   - - l i s t e n - c l i e n t - u r l s = h t t p : / / $ P R I V A T E _ I P : 2 3 7 9   \\   - - a d v e r t i s e - c l i e n t - u r l s = h t t p : / / $ P R I V A T E _ I P : 2 3 7 9   S t a r t   t h e   K u b e r n e t e s   A P I   s e r v e r   w i t h   t h e   f l a g   - - e t c d - s e r v e r s = $ P R I V A T E _ I P : 2 3 7 9 .   M a k e   s u r e   P R I V A T E _ I P   i s   s e t   t o   y o u r   e t c d   c l i e n t   I P .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17853"
  },
  {
    "question": "What is Multi-node etcd cluster?",
    "answer": "F o r   d u r a b i l i t y   a n d   h i g h   a v a i l a b i l i t y ,   r u n   e t c d   a s   a   m u l t i - n o d e   c l u s t e r   i n   p r o d u c t i o n   a n d   b a c k   i t   u p   p e r i o d i c a l l y .   A   f i v e - m e m b e r   c l u s t e r   i s   r e c o m m e n d e d   i n   p r o d u c t i o n .   F o r   m o r e   i n f o r m a t i o n ,   s e e   F A Q   d o c u m e n t a t i o n .   A s   y o u ' r e   u s i n g   K u b e r n e t e s ,   y o u   h a v e   t h e   o p t i o n   t o   r u n   e t c d   a s   a   c o n t a i n e r   i n s i d e   o n e   o r   m o r e   P o d s .   T h e   k u b e a d m   t o o l   s e t s   u p   e t c d   s t a t i c   p o d s   b y   d e f a u l t ,   o r   y o u   c a n   d e p l o y   a   s e p a r a t e   c l u s t e r   a n d   i n s t r u c t   k u b e a d m   t o   u s e   t h a t   e t c d   c l u s t e r   a s   t h e   c o n t r o l   p l a n e ' s   b a c k i n g   s t o r e .   Y o u   c o n f i g u r e   a n   e t c d   c l u s t e r   e i t h e r   b y   s t a t i c   m e m b e r   i n f o r m a t i o n   o r   b y   d y n a m i c   d i s c o v e r y .   F o r   m o r e   i n f o r m a t i o n   o n   c l u s t e r i n g ,   s e e   e t c d   c l u s t e r i n g   d o c u m e n t a t i o n .   F o r   a n   e x a m p l e ,   c o n s i d e r   a   f i v e - m e m b e r   e t c d   c l u s t e r   r u n n i n g   w i t h   t h e   f o l l o w i n g   c l i e n t   U R L s :   h t t p : / / $ I P 1 : 2 3 7 9 ,   h t t p : / / $ I P 2 : 2 3 7 9 ,   h t t p : / / $ I P 3 : 2 3 7 9 ,   h t t p : / / $ I P 4 : 2 3 7 9 ,   a n d   h t t p : / / $ I P 5 : 2 3 7 9 .   T o   s t a r t   a   K u b e r n e t e s   A P I   s e r v e r :   R u n   t h e   f o l l o w i n g : e t c d   - - l i s t e n - c l i e n t - u r l s = h t t p : / / $ I P 1 : 2 3 7 9 , h t t p : / / $ I P 2 : 2 3 7 9 , h t t p : / / $ I P 3 : 2 3 7 9 , h t t p : / / $ I P 4 : 2 3 7 9 , h t t p : / / $ I P 5 : 2 3 7 9   - - a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17854"
  },
  {
    "question": "What is Multi-node etcd cluster with load balancer?",
    "answer": "T o   r u n   a   l o a d   b a l a n c i n g   e t c d   c l u s t e r :   S e t   u p   a n   e t c d   c l u s t e r . C o n f i g u r e   a   l o a d   b a l a n c e r   i n   f r o n t   o f   t h e   e t c d   c l u s t e r .   F o r   e x a m p l e ,   l e t   t h e   a d d r e s s   o f   t h e   l o a d   b a l a n c e r   b e   $ L B . S t a r t   K u b e r n e t e s   A P I   S e r v e r s   w i t h   t h e   f l a g   - - e t c d - s e r v e r s = $ L B : 2 3 7 9 .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17855"
  },
  {
    "question": "What is Securing etcd clusters?",
    "answer": "A c c e s s   t o   e t c d   i s   e q u i v a l e n t   t o   r o o t   p e r m i s s i o n   i n   t h e   c l u s t e r   s o   i d e a l l y   o n l y   t h e   A P I   s e r v e r   s h o u l d   h a v e   a c c e s s   t o   i t .   C o n s i d e r i n g   t h e   s e n s i t i v i t y   o f   t h e   d a t a ,   i t   i s   r e c o m m e n d e d   t o   g r a n t   p e r m i s s i o n   t o   o n l y   t h o s e   n o d e s   t h a t   r e q u i r e   a c c e s s   t o   e t c d   c l u s t e r s .   T o   s e c u r e   e t c d ,   e i t h e r   s e t   u p   f i r e w a l l   r u l e s   o r   u s e   t h e   s e c u r i t y   f e a t u r e s   p r o v i d e d   b y   e t c d .   e t c d   s e c u r i t y   f e a t u r e s   d e p e n d   o n   x 5 0 9   P u b l i c   K e y   I n f r a s t r u c t u r e   ( P K I ) .   T o   b e g i n ,   e s t a b l i s h   s e c u r e   c o m m u n i c a t i o n   c h a n n e l s   b y   g e n e r a t i n g   a   k e y   a n d   c e r t i f i c a t e   p a i r .   F o r   e x a m p l e ,   u s e   k e y   p a i r s   p e e r . k e y   a n d   p e e r . c e r t   f o r   s e c u r i n g   c o m m u n i c a t i o n   b e t w e e n   e t c d   m e m b e r s ,   a n d   c l i e n t . k e y   a n d   c l i e n t . c e r t   f o r   s e c u r i n g   c o m m u n i c a t i o n   b e t w e e n   e t c d   a n d   i t s   c l i e n t s .   S e e   t h e   e x a m p l e   s c r i p t s   p r o v i d e d   b y   t h e   e t c d   p r o j e c t   t o   g e n e r a t e   k e y   p a i r s   a n d   C A   f i l e s   f o r   c l i e n t   a u t h e n t i c a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17856"
  },
  {
    "question": "What is Securing communication?",
    "answer": "T o   c o n f i g u r e   e t c d   w i t h   s e c u r e   p e e r   c o m m u n i c a t i o n ,   s p e c i f y   f l a g s   - - p e e r - k e y - f i l e = p e e r . k e y   a n d   - - p e e r - c e r t - f i l e = p e e r . c e r t ,   a n d   u s e   H T T P S   a s   t h e   U R L   s c h e m a .   S i m i l a r l y ,   t o   c o n f i g u r e   e t c d   w i t h   s e c u r e   c l i e n t   c o m m u n i c a t i o n ,   s p e c i f y   f l a g s   - - k e y = k 8 s c l i e n t . k e y   a n d   - - c e r t = k 8 s c l i e n t . c e r t ,   a n d   u s e   H T T P S   a s   t h e   U R L   s c h e m a .   H e r e   i s   a n   e x a m p l e   o n   a   c l i e n t   c o m m a n d   t h a t   u s e s   s e c u r e   c o m m u n i c a t i o n :   E T C D C T L _ A P I = 3   e t c d c t l   - - e n d p o i n t s   1 0 . 2 . 0 . 9 : 2 3 7 9   \\   - - c e r t = / e t c / k u b e r n e t e s / p k i / e t c d / s e r v e r . c r t   \\   - - k e y = / e t c / k u b e r n e t e s / p k i / e t c d / s e r v e r . k e y   \\   - - c a c e r t = / e t c / k u b e r n e t e s / p k i / e t c d / c a . c r t   \\   m e m b e r   l i s t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17857"
  },
  {
    "question": "What is Limiting access of etcd clusters?",
    "answer": "A f t e r   c o n f i g u r i n g   s e c u r e   c o m m u n i c a t i o n ,   r e s t r i c t   t h e   a c c e s s   o f   t h e   e t c d   c l u s t e r   t o   o n l y   t h e   K u b e r n e t e s   A P I   s e r v e r s   u s i n g   T L S   a u t h e n t i c a t i o n .   F o r   e x a m p l e ,   c o n s i d e r   k e y   p a i r s   k 8 s c l i e n t . k e y   a n d   k 8 s c l i e n t . c e r t   t h a t   a r e   t r u s t e d   b y   t h e   C A   e t c d . c a .   W h e n   e t c d   i s   c o n f i g u r e d   w i t h   - - c l i e n t - c e r t - a u t h   a l o n g   w i t h   T L S ,   i t   v e r i f i e s   t h e   c e r t i f i c a t e s   f r o m   c l i e n t s   b y   u s i n g   s y s t e m   C A s   o r   t h e   C A   p a s s e d   i n   b y   - - t r u s t e d - c a - f i l e   f l a g .   S p e c i f y i n g   f l a g s   - - c l i e n t - c e r t - a u t h = t r u e   a n d   - - t r u s t e d - c a - f i l e = e t c d . c a   w i l l   r e s t r i c t   t h e   a c c e s s   t o   c l i e n t s   w i t h   t h e   c e r t i f i c a t e   k 8 s c l i e n t . c e r t .   O n c e   e t c d   i s   c o n f i g u r e d   c o r r e c t l y ,   o n l y   c l i e n t s   w i t h   v a l i d   c e r t i f i c a t e s   c a n   a c c e s s   i t .   T o   g i v e   K u b e r n e t e s   A P I   s e r v e r s   t h e   a c c e s s ,   c o n f i g u r e   t h e m   w i t h   t h e   f l a g s   - - e t c d - c e r t f i l e = k 8 s c l i e n t . c e r t ,   - - e t c d - k e y f i l e = k 8 s c l i e n t . k e y   a n d   - - e t c d - c a f i l e = c a . c e r t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17858"
  },
  {
    "question": "What is Replacing a failed etcd member?",
    "answer": "e t c d   c l u s t e r   a c h i e v e s   h i g h   a v a i l a b i l i t y   b y   t o l e r a t i n g   m i n o r   m e m b e r   f a i l u r e s .   H o w e v e r ,   t o   i m p r o v e   t h e   o v e r a l l   h e a l t h   o f   t h e   c l u s t e r ,   r e p l a c e   f a i l e d   m e m b e r s   i m m e d i a t e l y .   W h e n   m u l t i p l e   m e m b e r s   f a i l ,   r e p l a c e   t h e m   o n e   b y   o n e .   R e p l a c i n g   a   f a i l e d   m e m b e r   i n v o l v e s   t w o   s t e p s :   r e m o v i n g   t h e   f a i l e d   m e m b e r   a n d   a d d i n g   a   n e w   m e m b e r .   T h o u g h   e t c d   k e e p s   u n i q u e   m e m b e r   I D s   i n t e r n a l l y ,   i t   i s   r e c o m m e n d e d   t o   u s e   a   u n i q u e   n a m e   f o r   e a c h   m e m b e r   t o   a v o i d   h u m a n   e r r o r s .   F o r   e x a m p l e ,   c o n s i d e r   a   t h r e e - m e m b e r   e t c d   c l u s t e r .   L e t   t h e   U R L s   b e ,   m e m b e r 1 = h t t p : / / 1 0 . 0 . 0 . 1 ,   m e m b e r 2 = h t t p : / / 1 0 . 0 . 0 . 2 ,   a n d   m e m b e r 3 = h t t p : / / 1 0 . 0 . 0 . 3 .   W h e n   m e m b e r 1   f a i l s ,   r e p l a c e   i t   w i t h   m e m b e r 4 = h t t p : / / 1 0 . 0 . 0 . 4 .   G e t   t h e   m e m b e r   I D   o f   t h e   f a i l e d   m e m b e r 1 : e t c d c t l   - - e n d p o i n t s = h t t p : / / 1 0 . 0 . 0 . 2 , h t t p : / / 1 0 . 0 . 0 . 3   m e m b e r   l i s t   T h e   f o l l o w i n g   m e s s a g e   i s   d i s p l a y e d : 8 2 1 1 f 1 d 0 f 6 4 f 3 2 6 9 ,   s t a r t e d ,   m e m b e r 1 ,   h t t p : / / 1 0 . 0 . 0 . 1 : 2 3 8 0 ,   h t t p : / / 1 0 . 0 . 0 . 1 : 2 3 7 9   9 1 b c 3 c 3 9 8 f b 3 c 1 4 6 ,   s t a r t e d ,   m e m b e r 2 ,   h t t p : / / 1 0 . 0 . 0 . 2 : 2 3 8 0 ,   h t t p : / / 1 0 . 0 . 0 . 2 : 2 3 7 9   f d 4 2 2 3 7 9 f d a 5 0 e 4 8 ,   s t a r t e d ,   m e m b e r 3 ,   h t t p : / / 1 0 . 0 . 0 . ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17859"
  },
  {
    "question": "What is Backing up an etcd cluster?",
    "answer": "A l l   K u b e r n e t e s   o b j e c t s   a r e   s t o r e d   i n   e t c d .   P e r i o d i c a l l y   b a c k i n g   u p   t h e   e t c d   c l u s t e r   d a t a   i s   i m p o r t a n t   t o   r e c o v e r   K u b e r n e t e s   c l u s t e r s   u n d e r   d i s a s t e r   s c e n a r i o s ,   s u c h   a s   l o s i n g   a l l   c o n t r o l   p l a n e   n o d e s .   T h e   s n a p s h o t   f i l e   c o n t a i n s   a l l   t h e   K u b e r n e t e s   s t a t e   a n d   c r i t i c a l   i n f o r m a t i o n .   I n   o r d e r   t o   k e e p   t h e   s e n s i t i v e   K u b e r n e t e s   d a t a   s a f e ,   e n c r y p t   t h e   s n a p s h o t   f i l e s .   B a c k i n g   u p   a n   e t c d   c l u s t e r   c a n   b e   a c c o m p l i s h e d   i n   t w o   w a y s :   e t c d   b u i l t - i n   s n a p s h o t   a n d   v o l u m e   s n a p s h o t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17860"
  },
  {
    "question": "What is Built-in snapshot?",
    "answer": "e t c d   s u p p o r t s   b u i l t - i n   s n a p s h o t .   A   s n a p s h o t   m a y   e i t h e r   b e   c r e a t e d   f r o m   a   l i v e   m e m b e r   w i t h   t h e   e t c d c t l   s n a p s h o t   s a v e   c o m m a n d   o r   b y   c o p y i n g   t h e   m e m b e r / s n a p / d b   f i l e   f r o m   a n   e t c d   d a t a   d i r e c t o r y   t h a t   i s   n o t   c u r r e n t l y   u s e d   b y   a n   e t c d   p r o c e s s .   C r e a t i n g   t h e   s n a p s h o t   w i l l   n o t   a f f e c t   t h e   p e r f o r m a n c e   o f   t h e   m e m b e r .   B e l o w   i s   a n   e x a m p l e   f o r   c r e a t i n g   a   s n a p s h o t   o f   t h e   k e y s p a c e   s e r v e d   b y   $ E N D P O I N T   t o   t h e   f i l e   s n a p s h o t . d b :   E T C D C T L _ A P I = 3   e t c d c t l   - - e n d p o i n t s   $ E N D P O I N T   s n a p s h o t   s a v e   s n a p s h o t . d b   V e r i f y   t h e   s n a p s h o t :   T h e   b e l o w   e x a m p l e   d e p i c t s   t h e   u s a g e   o f   t h e   e t c d u t l   t o o l   f o r   v e r i f y i n g   a   s n a p s h o t : e t c d u t l   - - w r i t e - o u t = t a b l e   s n a p s h o t   s t a t u s   s n a p s h o t . d b   T h i s   s h o u l d   g e n e r a t e   a n   o u t p u t   r e s e m b l i n g   t h e   e x a m p l e   p r o v i d e d   b e l o w : + - - - - - - - - - - + - - - - - - - - - - + - - - - - - - - - - - - + - - - - - - - - - - - - +   |   H A S H   |   R E V I S I O N   |   T O T A L   K E Y S   |   T O T A L   S I Z E   |   + - - - - - - - - - - + - - - - - - - - - - + - - - - - - - - - - - - + - - - - - - - - - - - - +   |   f e 0 1 c f 5 7   |   1 0   |   7   |   2 . 1   M B   |   + - - - - - - - - - - + - - - - - - - - - - + - - - - - - - - - - - - + - - - - - - - - - - - - +   T h e   b e l o w   e x a m p l e   d e p i c t s   t h e   u s a g e   o f   t h e   e t c d u t l   t o o l   f o r   v e r i f y i ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17861"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   b e l o w   e x a m p l e   d e p i c t s   t h e   u s a g e   o f   t h e   e t c d c t l   t o o l   f o r   v e r i f y i n g   a   s n a p s h o t :   e x p o r t   E T C D C T L _ A P I = 3   e t c d c t l   - - w r i t e - o u t = t a b l e   s n a p s h o t   s t a t u s   s n a p s h o t . d b   T h i s   s h o u l d   g e n e r a t e   a n   o u t p u t   r e s e m b l i n g   t h e   e x a m p l e   p r o v i d e d   b e l o w :   D e p r e c a t e d :   U s e   ` e t c d u t l   s n a p s h o t   s t a t u s `   i n s t e a d .   + - - - - - - - - - - + - - - - - - - - - - + - - - - - - - - - - - - + - - - - - - - - - - - - +   |   H A S H   |   R E V I S I O N   |   T O T A L   K E Y S   |   T O T A L   S I Z E   |   + - - - - - - - - - - + - - - - - - - - - - + - - - - - - - - - - - - + - - - - - - - - - - - - +   |   f e 0 1 c f 5 7   |   1 0   |   7   |   2 . 1   M B   |   + - - - - - - - - - - + - - - - - - - - - - + - - - - - - - - - - - - + - - - - - - - - - - - - +",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17862"
  },
  {
    "question": "What is Volume snapshot?",
    "answer": "I f   e t c d   i s   r u n n i n g   o n   a   s t o r a g e   v o l u m e   t h a t   s u p p o r t s   b a c k u p ,   s u c h   a s   A m a z o n   E l a s t i c   B l o c k   S t o r e ,   b a c k   u p   e t c d   d a t a   b y   c r e a t i n g   a   s n a p s h o t   o f   t h e   s t o r a g e   v o l u m e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17863"
  },
  {
    "question": "What is Snapshot using etcdctl options?",
    "answer": "W e   c a n   a l s o   c r e a t e   t h e   s n a p s h o t   u s i n g   v a r i o u s   o p t i o n s   g i v e n   b y   e t c d c t l .   F o r   e x a m p l e :   E T C D C T L _ A P I = 3   e t c d c t l   - h   w i l l   l i s t   v a r i o u s   o p t i o n s   a v a i l a b l e   f r o m   e t c d c t l .   F o r   e x a m p l e ,   y o u   c a n   c r e a t e   a   s n a p s h o t   b y   s p e c i f y i n g   t h e   e n d p o i n t ,   c e r t i f i c a t e s   a n d   k e y   a s   s h o w n   b e l o w :   E T C D C T L _ A P I = 3   e t c d c t l   - - e n d p o i n t s = h t t p s : / / 1 2 7 . 0 . 0 . 1 : 2 3 7 9   \\   - - c a c e r t = < t r u s t e d - c a - f i l e >   - - c e r t = < c e r t - f i l e >   - - k e y = < k e y - f i l e >   \\   s n a p s h o t   s a v e   < b a c k u p - f i l e - l o c a t i o n >   w h e r e   t r u s t e d - c a - f i l e ,   c e r t - f i l e   a n d   k e y - f i l e   c a n   b e   o b t a i n e d   f r o m   t h e   d e s c r i p t i o n   o f   t h e   e t c d   P o d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17864"
  },
  {
    "question": "What is Scaling out etcd clusters?",
    "answer": "S c a l i n g   o u t   e t c d   c l u s t e r s   i n c r e a s e s   a v a i l a b i l i t y   b y   t r a d i n g   o f f   p e r f o r m a n c e .   S c a l i n g   d o e s   n o t   i n c r e a s e   c l u s t e r   p e r f o r m a n c e   n o r   c a p a b i l i t y .   A   g e n e r a l   r u l e   i s   n o t   t o   s c a l e   o u t   o r   i n   e t c d   c l u s t e r s .   D o   n o t   c o n f i g u r e   a n y   a u t o   s c a l i n g   g r o u p s   f o r   e t c d   c l u s t e r s .   I t   i s   s t r o n g l y   r e c o m m e n d e d   t o   a l w a y s   r u n   a   s t a t i c   f i v e - m e m b e r   e t c d   c l u s t e r   f o r   p r o d u c t i o n   K u b e r n e t e s   c l u s t e r s   a t   a n y   o f f i c i a l l y   s u p p o r t e d   s c a l e .   A   r e a s o n a b l e   s c a l i n g   i s   t o   u p g r a d e   a   t h r e e - m e m b e r   c l u s t e r   t o   a   f i v e - m e m b e r   o n e ,   w h e n   m o r e   r e l i a b i l i t y   i s   d e s i r e d .   S e e   e t c d   r e c o n f i g u r a t i o n   d o c u m e n t a t i o n   f o r   i n f o r m a t i o n   o n   h o w   t o   a d d   m e m b e r s   i n t o   a n   e x i s t i n g   c l u s t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17865"
  },
  {
    "question": "What is Caution:?",
    "answer": "I f   a n y   A P I   s e r v e r s   a r e   r u n n i n g   i n   y o u r   c l u s t e r ,   y o u   s h o u l d   n o t   a t t e m p t   t o   r e s t o r e   i n s t a n c e s   o f   e t c d .   I n s t e a d ,   f o l l o w   t h e s e   s t e p s   t o   r e s t o r e   e t c d :   s t o p   a l l   A P I   s e r v e r   i n s t a n c e s r e s t o r e   s t a t e   i n   a l l   e t c d   i n s t a n c e s r e s t a r t   a l l   A P I   s e r v e r   i n s t a n c e s   T h e   K u b e r n e t e s   p r o j e c t   a l s o   r e c o m m e n d s   r e s t a r t i n g   K u b e r n e t e s   c o m p o n e n t s   ( k u b e - s c h e d u l e r ,   k u b e - c o n t r o l l e r - m a n a g e r ,   k u b e l e t )   t o   e n s u r e   t h a t   t h e y   d o n ' t   r e l y   o n   s o m e   s t a l e   d a t a .   I n   p r a c t i c e   t h e   r e s t o r e   t a k e s   a   b i t   o f   t i m e .   D u r i n g   t h e   r e s t o r a t i o n ,   c r i t i c a l   c o m p o n e n t s   w i l l   l o s e   l e a d e r   l o c k   a n d   r e s t a r t   t h e m s e l v e s .   e t c d   s u p p o r t s   r e s t o r i n g   f r o m   s n a p s h o t s   t h a t   a r e   t a k e n   f r o m   a n   e t c d   p r o c e s s   o f   t h e   m a j o r . m i n o r   v e r s i o n .   R e s t o r i n g   a   v e r s i o n   f r o m   a   d i f f e r e n t   p a t c h   v e r s i o n   o f   e t c d   i s   a l s o   s u p p o r t e d .   A   r e s t o r e   o p e r a t i o n   i s   e m p l o y e d   t o   r e c o v e r   t h e   d a t a   o f   a   f a i l e d   c l u s t e r .   B e f o r e   s t a r t i n g   t h e   r e s t o r e   o p e r a t i o n ,   a   s n a p s h o t   f i l e   m u s t   b e   p r e s e n t .   I t   c a n   e i t h e r   b e   a   s n a p s h o t   f i l e   f r o m   a   p r e v i o u s   b a c k u p   o p e r a t i o n ,   o r   f r o m   a   r e m a i n i n g   d a t a   d i r e c t o r y .   W h e n   r e s t o r i n g   t h e   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17866"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   b e l o w   e x a m p l e   d e p i c t s   t h e   u s a g e   o f   t h e   e t c d c t l   t o o l   f o r   t h e   r e s t o r e   o p e r a t i o n :   e x p o r t   E T C D C T L _ A P I = 3   e t c d c t l   - - d a t a - d i r   < d a t a - d i r - l o c a t i o n >   s n a p s h o t   r e s t o r e   s n a p s h o t . d b   I f   < d a t a - d i r - l o c a t i o n >   i s   t h e   s a m e   f o l d e r   a s   b e f o r e ,   d e l e t e   i t   a n d   s t o p   t h e   e t c d   p r o c e s s   b e f o r e   r e s t o r i n g   t h e   c l u s t e r .   O t h e r w i s e ,   c h a n g e   e t c d   c o n f i g u r a t i o n   a n d   r e s t a r t   t h e   e t c d   p r o c e s s   a f t e r   r e s t o r a t i o n   t o   h a v e   i t   u s e   t h e   n e w   d a t a   d i r e c t o r y :   f i r s t   c h a n g e   / e t c / k u b e r n e t e s / m a n i f e s t s / e t c d . y a m l ' s   v o l u m e s . h o s t P a t h . p a t h   f o r   n a m e :   e t c d - d a t a   t o   < d a t a - d i r - l o c a t i o n > ,   t h e n   e x e c u t e   k u b e c t l   - n   k u b e - s y s t e m   d e l e t e   p o d   < n a m e - o f - e t c d - p o d >   o r   s y s t e m c t l   r e s t a r t   k u b e l e t . s e r v i c e   ( o r   b o t h ) .   F o r   m o r e   i n f o r m a t i o n   a n d   e x a m p l e s   o n   r e s t o r i n g   a   c l u s t e r   f r o m   a   s n a p s h o t   f i l e ,   s e e   e t c d   d i s a s t e r   r e c o v e r y   d o c u m e n t a t i o n .   I f   t h e   a c c e s s   U R L s   o f   t h e   r e s t o r e d   c l u s t e r   a r e   c h a n g e d   f r o m   t h e   p r e v i o u s   c l u s t e r ,   t h e   K u b e r n e t e s   A P I   s e r v e r   m u s t   b e   r e c o n f i g u r e d   a c c o r d i n g l y .   I n   t h i s   c a s e ,   r e s t a r t   K u b e r n e t e s   A P I   s e r v e r s   w i t h   t h e   f l a g   - - e t c d - s e r v e r s = $ N E W _ E T C D _ C L U S T E R   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17867"
  },
  {
    "question": "What is Caution:?",
    "answer": "F o r   d e t a i l s   o n   e t c d   u p g r a d e ,   r e f e r   t o   t h e   e t c d   u p g r a d e s   d o c u m e n t a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17868"
  },
  {
    "question": "What is Maintaining etcd clusters?",
    "answer": "F o r   m o r e   d e t a i l s   o n   e t c d   m a i n t e n a n c e ,   p l e a s e   r e f e r   t o   t h e   e t c d   m a i n t e n a n c e   d o c u m e n t a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17869"
  },
  {
    "question": "What is Cluster defragmentation?",
    "answer": "D e f r a g m e n t a t i o n   i s   a n   e x p e n s i v e   o p e r a t i o n ,   s o   i t   s h o u l d   b e   e x e c u t e d   a s   i n f r e q u e n t l y   a s   p o s s i b l e .   O n   t h e   o t h e r   h a n d ,   i t ' s   a l s o   n e c e s s a r y   t o   m a k e   s u r e   a n y   e t c d   m e m b e r   w i l l   n o t   e x c e e d   t h e   s t o r a g e   q u o t a .   T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   t h a t   w h e n   y o u   p e r f o r m   d e f r a g m e n t a t i o n ,   y o u   u s e   a   t o o l   s u c h   a s   e t c d - d e f r a g .   Y o u   c a n   a l s o   r u n   t h e   d e f r a g m e n t a t i o n   t o o l   a s   a   K u b e r n e t e s   C r o n J o b ,   t o   m a k e   s u r e   t h a t   d e f r a g m e n t a t i o n   h a p p e n s   r e g u l a r l y .   S e e   e t c d - d e f r a g - c r o n j o b . y a m l   f o r   d e t a i l s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17870"
  },
  {
    "question": "What is 2.31 - Reserve Compute Resources for System Daemons?",
    "answer": "K u b e r n e t e s   n o d e s   c a n   b e   s c h e d u l e d   t o   C a p a c i t y .   P o d s   c a n   c o n s u m e   a l l   t h e   a v a i l a b l e   c a p a c i t y   o n   a   n o d e   b y   d e f a u l t .   T h i s   i s   a n   i s s u e   b e c a u s e   n o d e s   t y p i c a l l y   r u n   q u i t e   a   f e w   s y s t e m   d a e m o n s   t h a t   p o w e r   t h e   O S   a n d   K u b e r n e t e s   i t s e l f .   U n l e s s   r e s o u r c e s   a r e   s e t   a s i d e   f o r   t h e s e   s y s t e m   d a e m o n s ,   p o d s   a n d   s y s t e m   d a e m o n s   c o m p e t e   f o r   r e s o u r c e s   a n d   l e a d   t o   r e s o u r c e   s t a r v a t i o n   i s s u e s   o n   t h e   n o d e .   T h e   k u b e l e t   e x p o s e s   a   f e a t u r e   n a m e d   ' N o d e   A l l o c a t a b l e '   t h a t   h e l p s   t o   r e s e r v e   c o m p u t e   r e s o u r c e s   f o r   s y s t e m   d a e m o n s .   K u b e r n e t e s   r e c o m m e n d s   c l u s t e r   a d m i n i s t r a t o r s   t o   c o n f i g u r e   ' N o d e   A l l o c a t a b l e '   b a s e d   o n   t h e i r   w o r k l o a d   d e n s i t y   o n   e a c h   n o d e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17871"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   c a n   c o n f i g u r e   b e l o w   k u b e l e t   c o n f i g u r a t i o n   s e t t i n g s   u s i n g   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17872"
  },
  {
    "question": "What is Node Allocatable?",
    "answer": "' A l l o c a t a b l e '   o n   a   K u b e r n e t e s   n o d e   i s   d e f i n e d   a s   t h e   a m o u n t   o f   c o m p u t e   r e s o u r c e s   t h a t   a r e   a v a i l a b l e   f o r   p o d s .   T h e   s c h e d u l e r   d o e s   n o t   o v e r - s u b s c r i b e   ' A l l o c a t a b l e ' .   ' C P U ' ,   ' m e m o r y '   a n d   ' e p h e m e r a l - s t o r a g e '   a r e   s u p p o r t e d   a s   o f   n o w .   N o d e   A l l o c a t a b l e   i s   e x p o s e d   a s   p a r t   o f   v 1 . N o d e   o b j e c t   i n   t h e   A P I   a n d   a s   p a r t   o f   k u b e c t l   d e s c r i b e   n o d e   i n   t h e   C L I .   R e s o u r c e s   c a n   b e   r e s e r v e d   f o r   t w o   c a t e g o r i e s   o f   s y s t e m   d a e m o n s   i n   t h e   k u b e l e t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17873"
  },
  {
    "question": "What is Enabling QoS and Pod level cgroups?",
    "answer": "T o   p r o p e r l y   e n f o r c e   n o d e   a l l o c a t a b l e   c o n s t r a i n t s   o n   t h e   n o d e ,   y o u   m u s t   e n a b l e   t h e   n e w   c g r o u p   h i e r a r c h y   v i a   t h e   c g r o u p s P e r Q O S   s e t t i n g .   T h i s   s e t t i n g   i s   e n a b l e d   b y   d e f a u l t .   W h e n   e n a b l e d ,   t h e   k u b e l e t   w i l l   p a r e n t   a l l   e n d - u s e r   p o d s   u n d e r   a   c g r o u p   h i e r a r c h y   m a n a g e d   b y   t h e   k u b e l e t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17874"
  },
  {
    "question": "What is Configuring a cgroup driver?",
    "answer": "T h e   k u b e l e t   s u p p o r t s   m a n i p u l a t i o n   o f   t h e   c g r o u p   h i e r a r c h y   o n   t h e   h o s t   u s i n g   a   c g r o u p   d r i v e r .   T h e   d r i v e r   i s   c o n f i g u r e d   v i a   t h e   c g r o u p D r i v e r   s e t t i n g .   T h e   s u p p o r t e d   v a l u e s   a r e   t h e   f o l l o w i n g :   c g r o u p f s   i s   t h e   d e f a u l t   d r i v e r   t h a t   p e r f o r m s   d i r e c t   m a n i p u l a t i o n   o f   t h e   c g r o u p   f i l e s y s t e m   o n   t h e   h o s t   i n   o r d e r   t o   m a n a g e   c g r o u p   s a n d b o x e s . s y s t e m d   i s   a n   a l t e r n a t i v e   d r i v e r   t h a t   m a n a g e s   c g r o u p   s a n d b o x e s   u s i n g   t r a n s i e n t   s l i c e s   f o r   r e s o u r c e s   t h a t   a r e   s u p p o r t e d   b y   t h a t   i n i t   s y s t e m .   D e p e n d i n g   o n   t h e   c o n f i g u r a t i o n   o f   t h e   a s s o c i a t e d   c o n t a i n e r   r u n t i m e ,   o p e r a t o r s   m a y   h a v e   t o   c h o o s e   a   p a r t i c u l a r   c g r o u p   d r i v e r   t o   e n s u r e   p r o p e r   s y s t e m   b e h a v i o r .   F o r   e x a m p l e ,   i f   o p e r a t o r s   u s e   t h e   s y s t e m d   c g r o u p   d r i v e r   p r o v i d e d   b y   t h e   c o n t a i n e r d   r u n t i m e ,   t h e   k u b e l e t   m u s t   b e   c o n f i g u r e d   t o   u s e   t h e   s y s t e m d   c g r o u p   d r i v e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17875"
  },
  {
    "question": "What is Kube Reserved?",
    "answer": "K u b e l e t C o n f i g u r a t i o n   S e t t i n g :   k u b e R e s e r v e d :   { } .   E x a m p l e   v a l u e   { c p u :   1 0 0 m ,   m e m o r y :   1 0 0 M i ,   e p h e m e r a l - s t o r a g e :   1 G i ,   p i d = 1 0 0 0 } K u b e l e t C o n f i g u r a t i o n   S e t t i n g :   k u b e R e s e r v e d C g r o u p :   \" \"   k u b e R e s e r v e d   i s   m e a n t   t o   c a p t u r e   r e s o u r c e   r e s e r v a t i o n   f o r   k u b e r n e t e s   s y s t e m   d a e m o n s   l i k e   t h e   k u b e l e t ,   c o n t a i n e r   r u n t i m e ,   e t c .   I t   i s   n o t   m e a n t   t o   r e s e r v e   r e s o u r c e s   f o r   s y s t e m   d a e m o n s   t h a t   a r e   r u n   a s   p o d s .   k u b e R e s e r v e d   i s   t y p i c a l l y   a   f u n c t i o n   o f   p o d   d e n s i t y   o n   t h e   n o d e s .   I n   a d d i t i o n   t o   c p u ,   m e m o r y ,   a n d   e p h e m e r a l - s t o r a g e ,   p i d   m a y   b e   s p e c i f i e d   t o   r e s e r v e   t h e   s p e c i f i e d   n u m b e r   o f   p r o c e s s   I D s   f o r   k u b e r n e t e s   s y s t e m   d a e m o n s .   T o   o p t i o n a l l y   e n f o r c e   k u b e R e s e r v e d   o n   k u b e r n e t e s   s y s t e m   d a e m o n s ,   s p e c i f y   t h e   p a r e n t   c o n t r o l   g r o u p   f o r   k u b e   d a e m o n s   a s   t h e   v a l u e   f o r   k u b e R e s e r v e d C g r o u p   s e t t i n g ,   a n d   a d d   k u b e - r e s e r v e d   t o   e n f o r c e N o d e A l l o c a t a b l e .   I t   i s   r e c o m m e n d e d   t h a t   t h e   k u b e r n e t e s   s y s t e m   d a e m o n s   a r e   p l a c e d   u n d e r   a   t o p   l e v e l   c o n t r o l   g r o u p   ( r u n t i m e . s l i c e   o n   s y s t e m d   m a c h i n e s   f o r   e x a m p l e ) .   E a c h   s y s t e m   d a e m o n   s h o u l d   i d e a l l y   r u n   w i t h i n   i t s   o w ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17876"
  },
  {
    "question": "What is System Reserved?",
    "answer": "K u b e l e t C o n f i g u r a t i o n   S e t t i n g :   s y s t e m R e s e r v e d :   { } .   E x a m p l e   v a l u e   { c p u :   1 0 0 m ,   m e m o r y :   1 0 0 M i ,   e p h e m e r a l - s t o r a g e :   1 G i ,   p i d = 1 0 0 0 } K u b e l e t C o n f i g u r a t i o n   S e t t i n g :   s y s t e m R e s e r v e d C g r o u p :   \" \"   s y s t e m R e s e r v e d   i s   m e a n t   t o   c a p t u r e   r e s o u r c e   r e s e r v a t i o n   f o r   O S   s y s t e m   d a e m o n s   l i k e   s s h d ,   u d e v ,   e t c .   s y s t e m R e s e r v e d   s h o u l d   r e s e r v e   m e m o r y   f o r   t h e   k e r n e l   t o o   s i n c e   k e r n e l   m e m o r y   i s   n o t   a c c o u n t e d   t o   p o d s   i n   K u b e r n e t e s   a t   t h i s   t i m e .   R e s e r v i n g   r e s o u r c e s   f o r   u s e r   l o g i n   s e s s i o n s   i s   a l s o   r e c o m m e n d e d   ( u s e r . s l i c e   i n   s y s t e m d   w o r l d ) .   I n   a d d i t i o n   t o   c p u ,   m e m o r y ,   a n d   e p h e m e r a l - s t o r a g e ,   p i d   m a y   b e   s p e c i f i e d   t o   r e s e r v e   t h e   s p e c i f i e d   n u m b e r   o f   p r o c e s s   I D s   f o r   O S   s y s t e m   d a e m o n s .   T o   o p t i o n a l l y   e n f o r c e   s y s t e m R e s e r v e d   o n   s y s t e m   d a e m o n s ,   s p e c i f y   t h e   p a r e n t   c o n t r o l   g r o u p   f o r   O S   s y s t e m   d a e m o n s   a s   t h e   v a l u e   f o r   s y s t e m R e s e r v e d C g r o u p   s e t t i n g ,   a n d   a d d   s y s t e m - r e s e r v e d   t o   e n f o r c e N o d e A l l o c a t a b l e .   I t   i s   r e c o m m e n d e d   t h a t   t h e   O S   s y s t e m   d a e m o n s   a r e   p l a c e d   u n d e r   a   t o p   l e v e l   c o n t r o l   g r o u p   ( s y s t e m . s l i c e   o n   s y s t e m d   m a c h i n e s   f o r   e x a m p l e ) .   N o t e   t h a t   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17877"
  },
  {
    "question": "What is Explicitly Reserved CPU List?",
    "answer": "K u b e l e t C o n f i g u r a t i o n   S e t t i n g :   r e s e r v e d S y s t e m C P U s : .   E x a m p l e   v a l u e   0 - 3   r e s e r v e d S y s t e m C P U s   i s   m e a n t   t o   d e f i n e   a n   e x p l i c i t   C P U   s e t   f o r   O S   s y s t e m   d a e m o n s   a n d   k u b e r n e t e s   s y s t e m   d a e m o n s .   r e s e r v e d S y s t e m C P U s   i s   f o r   s y s t e m s   t h a t   d o   n o t   i n t e n d   t o   d e f i n e   s e p a r a t e   t o p   l e v e l   c g r o u p s   f o r   O S   s y s t e m   d a e m o n s   a n d   k u b e r n e t e s   s y s t e m   d a e m o n s   w i t h   r e g a r d   t o   c p u s e t   r e s o u r c e .   I f   t h e   K u b e l e t   d o e s   n o t   h a v e   k u b e R e s e r v e d C g r o u p   a n d   s y s t e m R e s e r v e d C g r o u p ,   t h e   e x p l i c i t   c p u s e t   p r o v i d e d   b y   r e s e r v e d S y s t e m C P U s   w i l l   t a k e   p r e c e d e n c e   o v e r   t h e   C P U s   d e f i n e d   b y   k u b e R e s e r v e d C g r o u p   a n d   s y s t e m R e s e r v e d C g r o u p   o p t i o n s .   T h i s   o p t i o n   i s   s p e c i f i c a l l y   d e s i g n e d   f o r   T e l c o / N F V   u s e   c a s e s   w h e r e   u n c o n t r o l l e d   i n t e r r u p t s / t i m e r s   m a y   i m p a c t   t h e   w o r k l o a d   p e r f o r m a n c e .   y o u   c a n   u s e   t h i s   o p t i o n   t o   d e f i n e   t h e   e x p l i c i t   c p u s e t   f o r   t h e   s y s t e m / k u b e r n e t e s   d a e m o n s   a s   w e l l   a s   t h e   i n t e r r u p t s / t i m e r s ,   s o   t h e   r e s t   C P U s   o n   t h e   s y s t e m   c a n   b e   u s e d   e x c l u s i v e l y   f o r   w o r k l o a d s ,   w i t h   l e s s   i m p a c t   f r o m   u n c o n t r o l l e d   i n t e r r u p t s / t i m e r s .   T o   m o v e   t h e   s y s t e m   d a e m o n ,   k u b e r n e t e s   d a e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17878"
  },
  {
    "question": "What is Eviction Thresholds?",
    "answer": "K u b e l e t C o n f i g u r a t i o n   S e t t i n g :   e v i c t i o n H a r d :   { m e m o r y . a v a i l a b l e :   \" 1 0 0 M i \" ,   n o d e f s . a v a i l a b l e :   \" 1 0 % \" ,   n o d e f s . i n o d e s F r e e :   \" 5 % \" ,   i m a g e f s . a v a i l a b l e :   \" 1 5 % \" } .   E x a m p l e   v a l u e :   { m e m o r y . a v a i l a b l e :   \" < 5 0 0 M i \" }   M e m o r y   p r e s s u r e   a t   t h e   n o d e   l e v e l   l e a d s   t o   S y s t e m   O O M s   w h i c h   a f f e c t s   t h e   e n t i r e   n o d e   a n d   a l l   p o d s   r u n n i n g   o n   i t .   N o d e s   c a n   g o   o f f l i n e   t e m p o r a r i l y   u n t i l   m e m o r y   h a s   b e e n   r e c l a i m e d .   T o   a v o i d   ( o r   r e d u c e   t h e   p r o b a b i l i t y   o f )   s y s t e m   O O M s   k u b e l e t   p r o v i d e s   o u t   o f   r e s o u r c e   m a n a g e m e n t .   E v i c t i o n s   a r e   s u p p o r t e d   f o r   m e m o r y   a n d   e p h e m e r a l - s t o r a g e   o n l y .   B y   r e s e r v i n g   s o m e   m e m o r y   v i a   e v i c t i o n H a r d   s e t t i n g ,   t h e   k u b e l e t   a t t e m p t s   t o   e v i c t   p o d s   w h e n e v e r   m e m o r y   a v a i l a b i l i t y   o n   t h e   n o d e   d r o p s   b e l o w   t h e   r e s e r v e d   v a l u e .   H y p o t h e t i c a l l y ,   i f   s y s t e m   d a e m o n s   d i d   n o t   e x i s t   o n   a   n o d e ,   p o d s   c a n n o t   u s e   m o r e   t h a n   c a p a c i t y   -   e v i c t i o n - h a r d .   F o r   t h i s   r e a s o n ,   r e s o u r c e s   r e s e r v e d   f o r   e v i c t i o n s   a r e   n o t   a v a i l a b l e   f o r   p o d s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17879"
  },
  {
    "question": "What is Enforcing Node Allocatable?",
    "answer": "K u b e l e t C o n f i g u r a t i o n   s e t t i n g :   e n f o r c e N o d e A l l o c a t a b l e :   [ p o d s ] .   E x a m p l e   v a l u e :   [ p o d s , s y s t e m - r e s e r v e d , k u b e - r e s e r v e d ]   T h e   s c h e d u l e r   t r e a t s   ' A l l o c a t a b l e '   a s   t h e   a v a i l a b l e   c a p a c i t y   f o r   p o d s .   k u b e l e t   e n f o r c e   ' A l l o c a t a b l e '   a c r o s s   p o d s   b y   d e f a u l t .   E n f o r c e m e n t   i s   p e r f o r m e d   b y   e v i c t i n g   p o d s   w h e n e v e r   t h e   o v e r a l l   u s a g e   a c r o s s   a l l   p o d s   e x c e e d s   ' A l l o c a t a b l e ' .   M o r e   d e t a i l s   o n   e v i c t i o n   p o l i c y   c a n   b e   f o u n d   o n   t h e   n o d e   p r e s s u r e   e v i c t i o n   p a g e .   T h i s   e n f o r c e m e n t   i s   c o n t r o l l e d   b y   s p e c i f y i n g   p o d s   v a l u e   t o   t h e   K u b e l e t C o n f i g u r a t i o n   s e t t i n g   e n f o r c e N o d e A l l o c a t a b l e .   O p t i o n a l l y ,   k u b e l e t   c a n   b e   m a d e   t o   e n f o r c e   k u b e R e s e r v e d   a n d   s y s t e m R e s e r v e d   b y   s p e c i f y i n g   k u b e - r e s e r v e d   &   s y s t e m - r e s e r v e d   v a l u e s   i n   t h e   s a m e   s e t t i n g .   N o t e   t h a t   t o   e n f o r c e   k u b e R e s e r v e d   o r   s y s t e m R e s e r v e d ,   k u b e R e s e r v e d C g r o u p   o r   s y s t e m R e s e r v e d C g r o u p   n e e d s   t o   b e   s p e c i f i e d   r e s p e c t i v e l y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17880"
  },
  {
    "question": "What is General Guidelines?",
    "answer": "S y s t e m   d a e m o n s   a r e   e x p e c t e d   t o   b e   t r e a t e d   s i m i l a r   t o   G u a r a n t e e d   p o d s .   S y s t e m   d a e m o n s   c a n   b u r s t   w i t h i n   t h e i r   b o u n d i n g   c o n t r o l   g r o u p s   a n d   t h i s   b e h a v i o r   n e e d s   t o   b e   m a n a g e d   a s   p a r t   o f   k u b e r n e t e s   d e p l o y m e n t s .   F o r   e x a m p l e ,   k u b e l e t   s h o u l d   h a v e   i t s   o w n   c o n t r o l   g r o u p   a n d   s h a r e   k u b e R e s e r v e d   r e s o u r c e s   w i t h   t h e   c o n t a i n e r   r u n t i m e .   H o w e v e r ,   K u b e l e t   c a n n o t   b u r s t   a n d   u s e   u p   a l l   a v a i l a b l e   N o d e   r e s o u r c e s   i f   k u b e R e s e r v e d   i s   e n f o r c e d .   B e   e x t r a   c a r e f u l   w h i l e   e n f o r c i n g   s y s t e m R e s e r v e d   r e s e r v a t i o n   s i n c e   i t   c a n   l e a d   t o   c r i t i c a l   s y s t e m   s e r v i c e s   b e i n g   C P U   s t a r v e d ,   O O M   k i l l e d ,   o r   u n a b l e   t o   f o r k   o n   t h e   n o d e .   T h e   r e c o m m e n d a t i o n   i s   t o   e n f o r c e   s y s t e m R e s e r v e d   o n l y   i f   a   u s e r   h a s   p r o f i l e d   t h e i r   n o d e s   e x h a u s t i v e l y   t o   c o m e   u p   w i t h   p r e c i s e   e s t i m a t e s   a n d   i s   c o n f i d e n t   i n   t h e i r   a b i l i t y   t o   r e c o v e r   i f   a n y   p r o c e s s   i n   t h a t   g r o u p   i s   o o m - k i l l e d .   T o   b e g i n   w i t h   e n f o r c e   ' A l l o c a t a b l e '   o n   p o d s . O n c e   a d e q u a t e   m o n i t o r i n g   a n d   a l e r t i n g   i s   i n   p l a c e   t o   t r a c k   k u b e   s y s t e m   d a e m o n s ,   a t t e m p t   t o   e n f o r c e   k u b e R e s e r v e d   b a s e d   o n   u s a g e   h e u r i s t i c s . I f   a b s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17881"
  },
  {
    "question": "What is Example Scenario?",
    "answer": "H e r e   i s   a n   e x a m p l e   t o   i l l u s t r a t e   N o d e   A l l o c a t a b l e   c o m p u t a t i o n :   N o d e   h a s   3 2 G i   o f   m e m o r y ,   1 6   C P U s   a n d   1 0 0 G i   o f   S t o r a g e k u b e R e s e r v e d   i s   s e t   t o   { c p u :   1 0 0 0 m ,   m e m o r y :   2 G i ,   e p h e m e r a l - s t o r a g e :   1 G i } s y s t e m R e s e r v e d   i s   s e t   t o   { c p u :   5 0 0 m ,   m e m o r y :   1 G i ,   e p h e m e r a l - s t o r a g e :   1 G i } e v i c t i o n H a r d   i s   s e t   t o   { m e m o r y . a v a i l a b l e :   \" < 5 0 0 M i \" ,   n o d e f s . a v a i l a b l e :   \" < 1 0 % \" }   U n d e r   t h i s   s c e n a r i o ,   ' A l l o c a t a b l e '   w i l l   b e   1 4 . 5   C P U s ,   2 8 . 5 G i   o f   m e m o r y   a n d   8 8 G i   o f   l o c a l   s t o r a g e .   S c h e d u l e r   e n s u r e s   t h a t   t h e   t o t a l   m e m o r y   r e q u e s t s   a c r o s s   a l l   p o d s   o n   t h i s   n o d e   d o e s   n o t   e x c e e d   2 8 . 5 G i   a n d   s t o r a g e   d o e s n ' t   e x c e e d   8 8 G i .   K u b e l e t   e v i c t s   p o d s   w h e n e v e r   t h e   o v e r a l l   m e m o r y   u s a g e   a c r o s s   p o d s   e x c e e d s   2 8 . 5 G i ,   o r   i f   o v e r a l l   d i s k   u s a g e   e x c e e d s   8 8 G i .   I f   a l l   p r o c e s s e s   o n   t h e   n o d e   c o n s u m e   a s   m u c h   C P U   a s   t h e y   c a n ,   p o d s   t o g e t h e r   c a n n o t   c o n s u m e   m o r e   t h a n   1 4 . 5   C P U s .   I f   k u b e R e s e r v e d   a n d / o r   s y s t e m R e s e r v e d   i s   n o t   e n f o r c e d   a n d   s y s t e m   d a e m o n s   e x c e e d   t h e i r   r e s e r v a t i o n ,   k u b e l e t   e v i c t s   p o d s   w h e n e v e r   t h e   o v e r a l l   n o d e   m e m o r y   u s a g e   i s   h i g h e r   t h a n   3 1 . 5 G i   o r   s t o r a g e   i s   g r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17882"
  },
  {
    "question": "What is 2.32 - Running Kubernetes Node Components as a Non-root User?",
    "answer": "T h i s   d o c u m e n t   d e s c r i b e s   h o w   t o   r u n   K u b e r n e t e s   N o d e   c o m p o n e n t s   s u c h   a s   k u b e l e t ,   C R I ,   O C I ,   a n d   C N I   w i t h o u t   r o o t   p r i v i l e g e s ,   b y   u s i n g   a   u s e r   n a m e s p a c e .   T h i s   t e c h n i q u e   i s   a l s o   k n o w n   a s   r o o t l e s s   m o d e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17883"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   d o c u m e n t   d e s c r i b e s   h o w   t o   r u n   K u b e r n e t e s   N o d e   c o m p o n e n t s   ( a n d   h e n c e   p o d s )   a s   a   n o n - r o o t   u s e r .   I f   y o u   a r e   j u s t   l o o k i n g   f o r   h o w   t o   r u n   a   p o d   a s   a   n o n - r o o t   u s e r ,   s e e   S e c u r i t y C o n t e x t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17884"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 2 2 .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   E n a b l e   C g r o u p   v 2 E n a b l e   s y s t e m d   w i t h   u s e r   s e s s i o n C o n f i g u r e   s e v e r a l   s y s c t l   v a l u e s ,   d e p e n d i n g   o n   h o s t   L i n u x   d i s t r i b u t i o n E n s u r e   t h a t   y o u r   u n p r i v i l e g e d   u s e r   i s   l i s t e d   i n   / e t c / s u b u i d   a n d   / e t c / s u b g i d E n a b l e   t h e   K u b e l e t I n U s e r N a m e s p a c e   f e a t u r e   g a t e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17885"
  },
  {
    "question": "What is kind?",
    "answer": "k i n d   s u p p o r t s   r u n n i n g   K u b e r n e t e s   i n s i d e   R o o t l e s s   D o c k e r   o r   R o o t l e s s   P o d m a n .   S e e   R u n n i n g   k i n d   w i t h   R o o t l e s s   D o c k e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17886"
  },
  {
    "question": "What is minikube?",
    "answer": "m i n i k u b e   a l s o   s u p p o r t s   r u n n i n g   K u b e r n e t e s   i n s i d e   R o o t l e s s   D o c k e r   o r   R o o t l e s s   P o d m a n .   S e e   t h e   M i n i k u b e   d o c u m e n t a t i o n :   R o o t l e s s   D o c k e r R o o t l e s s   P o d m a n",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17887"
  },
  {
    "question": "What is sysbox?",
    "answer": "S y s b o x   i s   a n   o p e n - s o u r c e   c o n t a i n e r   r u n t i m e   ( s i m i l a r   t o   \" r u n c \" )   t h a t   s u p p o r t s   r u n n i n g   s y s t e m - l e v e l   w o r k l o a d s   s u c h   a s   D o c k e r   a n d   K u b e r n e t e s   i n s i d e   u n p r i v i l e g e d   c o n t a i n e r s   i s o l a t e d   w i t h   t h e   L i n u x   u s e r   n a m e s p a c e .   S e e   S y s b o x   Q u i c k   S t a r t   G u i d e :   K u b e r n e t e s - i n - D o c k e r   f o r   m o r e   i n f o .   S y s b o x   s u p p o r t s   r u n n i n g   K u b e r n e t e s   i n s i d e   u n p r i v i l e g e d   c o n t a i n e r s   w i t h o u t   r e q u i r i n g   C g r o u p   v 2   a n d   w i t h o u t   t h e   K u b e l e t I n U s e r N a m e s p a c e   f e a t u r e   g a t e .   I t   d o e s   t h i s   b y   e x p o s i n g   s p e c i a l l y   c r a f t e d   / p r o c   a n d   / s y s   f i l e s y s t e m s   i n s i d e   t h e   c o n t a i n e r   p l u s   s e v e r a l   o t h e r   a d v a n c e d   O S   v i r t u a l i z a t i o n   t e c h n i q u e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17888"
  },
  {
    "question": "What is K3s?",
    "answer": "K 3 s   e x p e r i m e n t a l l y   s u p p o r t s   r o o t l e s s   m o d e .   S e e   R u n n i n g   K 3 s   w i t h   R o o t l e s s   m o d e   f o r   t h e   u s a g e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17889"
  },
  {
    "question": "What is Usernetes?",
    "answer": "U s e r n e t e s   i s   a   r e f e r e n c e   d i s t r i b u t i o n   o f   K u b e r n e t e s   t h a t   c a n   b e   i n s t a l l e d   u n d e r   $ H O M E   d i r e c t o r y   w i t h o u t   t h e   r o o t   p r i v i l e g e .   U s e r n e t e s   s u p p o r t s   b o t h   c o n t a i n e r d   a n d   C R I - O   a s   C R I   r u n t i m e s .   U s e r n e t e s   s u p p o r t s   m u l t i - n o d e   c l u s t e r s   u s i n g   F l a n n e l   ( V X L A N ) .   S e e   t h e   U s e r n e t e s   r e p o   f o r   t h e   u s a g e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17890"
  },
  {
    "question": "What is Manually deploy a node that runs the kubelet in a user namespace?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   h i n t s   f o r   r u n n i n g   K u b e r n e t e s   i n   a   u s e r   n a m e s p a c e   m a n u a l l y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17891"
  },
  {
    "question": "What is Creating a user namespace?",
    "answer": "T h e   f i r s t   s t e p   i s   t o   c r e a t e   a   u s e r   n a m e s p a c e .   I f   y o u   a r e   t r y i n g   t o   r u n   K u b e r n e t e s   i n   a   u s e r - n a m e s p a c e d   c o n t a i n e r   s u c h   a s   R o o t l e s s   D o c k e r / P o d m a n   o r   L X C / L X D ,   y o u   a r e   a l l   s e t ,   a n d   y o u   c a n   g o   t o   t h e   n e x t   s u b s e c t i o n .   O t h e r w i s e   y o u   h a v e   t o   c r e a t e   a   u s e r   n a m e s p a c e   b y   y o u r s e l f ,   b y   c a l l i n g   u n s h a r e ( 2 )   w i t h   C L O N E _ N E W U S E R .   A   u s e r   n a m e s p a c e   c a n   b e   a l s o   u n s h a r e d   b y   u s i n g   c o m m a n d   l i n e   t o o l s   s u c h   a s :   u n s h a r e ( 1 ) R o o t l e s s K i t b e c o m e - r o o t   A f t e r   u n s h a r i n g   t h e   u s e r   n a m e s p a c e ,   y o u   w i l l   a l s o   h a v e   t o   u n s h a r e   o t h e r   n a m e s p a c e s   s u c h   a s   m o u n t   n a m e s p a c e .   Y o u   d o   n o t   n e e d   t o   c a l l   c h r o o t ( )   n o r   p i v o t _ r o o t ( )   a f t e r   u n s h a r i n g   t h e   m o u n t   n a m e s p a c e ,   h o w e v e r ,   y o u   h a v e   t o   m o u n t   w r i t a b l e   f i l e s y s t e m s   o n   s e v e r a l   d i r e c t o r i e s   i n   t h e   n a m e s p a c e .   A t   l e a s t ,   t h e   f o l l o w i n g   d i r e c t o r i e s   n e e d   t o   b e   w r i t a b l e   i n   t h e   n a m e s p a c e   ( n o t   o u t s i d e   t h e   n a m e s p a c e ) :   / e t c / r u n / v a r / l o g s / v a r / l i b / k u b e l e t / v a r / l i b / c n i / v a r / l i b / c o n t a i n e r d   ( f o r   c o n t a i n e r d ) / v a r / l i b / c o n t a i n e r s   ( f o r   C R I - O )",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17892"
  },
  {
    "question": "What is Creating a delegated cgroup tree?",
    "answer": "I n   a d d i t i o n   t o   t h e   u s e r   n a m e s p a c e ,   y o u   a l s o   n e e d   t o   h a v e   a   w r i t a b l e   c g r o u p   t r e e   w i t h   c g r o u p   v 2 .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17893"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   a r e   t r y i n g   t o   r u n   K u b e r n e t e s   i n   R o o t l e s s   D o c k e r / P o d m a n   o r   L X C / L X D   o n   a   s y s t e m d - b a s e d   h o s t ,   y o u   a r e   a l l   s e t .   O t h e r w i s e   y o u   h a v e   t o   c r e a t e   a   s y s t e m d   u n i t   w i t h   D e l e g a t e = y e s   p r o p e r t y   t o   d e l e g a t e   a   c g r o u p   t r e e   w i t h   w r i t a b l e   p e r m i s s i o n .   O n   y o u r   n o d e ,   s y s t e m d   m u s t   a l r e a d y   b e   c o n f i g u r e d   t o   a l l o w   d e l e g a t i o n ;   f o r   m o r e   d e t a i l s ,   s e e   c g r o u p   v 2   i n   t h e   R o o t l e s s   C o n t a i n e r s   d o c u m e n t a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17894"
  },
  {
    "question": "What is Configuring network?",
    "answer": "T h e   n e t w o r k   n a m e s p a c e   o f   t h e   N o d e   c o m p o n e n t s   h a s   t o   h a v e   a   n o n - l o o p b a c k   i n t e r f a c e ,   w h i c h   c a n   b e   f o r   e x a m p l e   c o n f i g u r e d   w i t h   s l i r p 4 n e t n s ,   V P N K i t ,   o r   l x c - u s e r - n i c ( 1 ) .   T h e   n e t w o r k   n a m e s p a c e s   o f   t h e   P o d s   c a n   b e   c o n f i g u r e d   w i t h   r e g u l a r   C N I   p l u g i n s .   F o r   m u l t i - n o d e   n e t w o r k i n g ,   F l a n n e l   ( V X L A N ,   8 4 7 2 / U D P )   i s   k n o w n   t o   w o r k .   P o r t s   s u c h   a s   t h e   k u b e l e t   p o r t   ( 1 0 2 5 0 / T C P )   a n d   N o d e P o r t   s e r v i c e   p o r t s   h a v e   t o   b e   e x p o s e d   f r o m   t h e   N o d e   n e t w o r k   n a m e s p a c e   t o   t h e   h o s t   w i t h   a n   e x t e r n a l   p o r t   f o r w a r d e r ,   s u c h   a s   R o o t l e s s K i t ,   s l i r p 4 n e t n s ,   o r   s o c a t ( 1 ) .   Y o u   c a n   u s e   t h e   p o r t   f o r w a r d e r   f r o m   K 3 s .   S e e   R u n n i n g   K 3 s   i n   R o o t l e s s   M o d e   f o r   m o r e   d e t a i l s .   T h e   i m p l e m e n t a t i o n   c a n   b e   f o u n d   i n   t h e   p k g / r o o t l e s s p o r t s   p a c k a g e   o f   k 3 s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17895"
  },
  {
    "question": "What is Configuring CRI?",
    "answer": "T h e   k u b e l e t   r e l i e s   o n   a   c o n t a i n e r   r u n t i m e .   Y o u   s h o u l d   d e p l o y   a   c o n t a i n e r   r u n t i m e   s u c h   a s   c o n t a i n e r d   o r   C R I - O   a n d   e n s u r e   t h a t   i t   i s   r u n n i n g   w i t h i n   t h e   u s e r   n a m e s p a c e   b e f o r e   t h e   k u b e l e t   s t a r t s .   R u n n i n g   C R I   p l u g i n   o f   c o n t a i n e r d   i n   a   u s e r   n a m e s p a c e   i s   s u p p o r t e d   s i n c e   c o n t a i n e r d   1 . 4 . R u n n i n g   c o n t a i n e r d   w i t h i n   a   u s e r   n a m e s p a c e   r e q u i r e s   t h e   f o l l o w i n g   c o n f i g u r a t i o n s . v e r s i o n   =   2   [ p l u g i n s . \" i o . c o n t a i n e r d . g r p c . v 1 . c r i \" ]   #   D i s a b l e   A p p A r m o r   d i s a b l e _ a p p a r m o r   =   t r u e   #   I g n o r e   a n   e r r o r   d u r i n g   s e t t i n g   o o m _ s c o r e _ a d j   r e s t r i c t _ o o m _ s c o r e _ a d j   =   t r u e   #   D i s a b l e   h u g e t l b   c g r o u p   v 2   c o n t r o l l e r   ( b e c a u s e   s y s t e m d   d o e s   n o t   s u p p o r t   d e l e g a t i n g   h u g e t l b   c o n t r o l l e r )   d i s a b l e _ h u g e t l b _ c o n t r o l l e r   =   t r u e   [ p l u g i n s . \" i o . c o n t a i n e r d . g r p c . v 1 . c r i \" . c o n t a i n e r d ]   #   U s i n g   n o n - f u s e   o v e r l a y f s   i s   a l s o   p o s s i b l e   f o r   k e r n e l   > =   5 . 1 1 ,   b u t   r e q u i r e s   S E L i n u x   t o   b e   d i s a b l e d   s n a p s h o t t e r   =   \" f u s e - o v e r l a y f s \"   [ p l u g i n s . \" i o . c o n t a i n e r d . g r p c . v 1 . c r i \" . c o n t a i n e r d . r u n t i m e s . r u n c . o p t i o n s ]   #   W e   u s e   c g r o u p f s   t h a t   i s   d e l e g a t e d   b y   s y s t e m d ,   s o   w e   d o   n o t   u s e   S y s t e m d C g r o u p   d r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17896"
  },
  {
    "question": "What is Configuring kubelet?",
    "answer": "R u n n i n g   k u b e l e t   i n   a   u s e r   n a m e s p a c e   r e q u i r e s   t h e   f o l l o w i n g   c o n f i g u r a t i o n :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   f e a t u r e G a t e s :   K u b e l e t I n U s e r N a m e s p a c e :   t r u e   #   W e   u s e   c g r o u p f s   t h a t   i s   d e l e g a t e d   b y   s y s t e m d ,   s o   w e   d o   n o t   u s e   \" s y s t e m d \"   d r i v e r   #   ( u n l e s s   y o u   r u n   a n o t h e r   s y s t e m d   i n   t h e   n a m e s p a c e )   c g r o u p D r i v e r :   \" c g r o u p f s \"   W h e n   t h e   K u b e l e t I n U s e r N a m e s p a c e   f e a t u r e   g a t e   i s   e n a b l e d ,   t h e   k u b e l e t   i g n o r e s   e r r o r s   t h a t   m a y   h a p p e n   d u r i n g   s e t t i n g   t h e   f o l l o w i n g   s y s c t l   v a l u e s   o n   t h e   n o d e .   v m . o v e r c o m m i t _ m e m o r y v m . p a n i c _ o n _ o o m k e r n e l . p a n i c k e r n e l . p a n i c _ o n _ o o p s k e r n e l . k e y s . r o o t _ m a x k e y s k e r n e l . k e y s . r o o t _ m a x b y t e s .   W i t h i n   a   u s e r   n a m e s p a c e ,   t h e   k u b e l e t   a l s o   i g n o r e s   a n y   e r r o r   r a i s e d   f r o m   t r y i n g   t o   o p e n   / d e v / k m s g .   T h i s   f e a t u r e   g a t e   a l s o   a l l o w s   k u b e - p r o x y   t o   i g n o r e   a n   e r r o r   d u r i n g   s e t t i n g   R L I M I T _ N O F I L E .   T h e   K u b e l e t I n U s e r N a m e s p a c e   f e a t u r e   g a t e   w a s   i n t r o d u c e d   i n   K u b e r n e t e s   v 1 . 2 2   w i t h   \" a l p h a \"   s t a t u s .   R u n n i n g   k u b e l e t   i n   a   u s e r   n a m e s p a c e   w i t h o u t   u s i n g   t h i s   f e a t u r e   g a t e   i s   a l s o   p o s s i b l e   b y   m o u n t i n g   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17897"
  },
  {
    "question": "What is Configuring kube-proxy?",
    "answer": "R u n n i n g   k u b e - p r o x y   i n   a   u s e r   n a m e s p a c e   r e q u i r e s   t h e   f o l l o w i n g   c o n f i g u r a t i o n :   a p i V e r s i o n :   k u b e p r o x y . c o n f i g . k 8 s . i o / v 1 a l p h a 1   k i n d :   K u b e P r o x y C o n f i g u r a t i o n   m o d e :   \" i p t a b l e s \"   #   o r   \" u s e r s p a c e \"   c o n n t r a c k :   #   S k i p   s e t t i n g   s y s c t l   v a l u e   \" n e t . n e t f i l t e r . n f _ c o n n t r a c k _ m a x \"   m a x P e r C o r e :   0   #   S k i p   s e t t i n g   \" n e t . n e t f i l t e r . n f _ c o n n t r a c k _ t c p _ t i m e o u t _ e s t a b l i s h e d \"   t c p E s t a b l i s h e d T i m e o u t :   0 s   #   S k i p   s e t t i n g   \" n e t . n e t f i l t e r . n f _ c o n n t r a c k _ t c p _ t i m e o u t _ c l o s e \"   t c p C l o s e W a i t T i m e o u t :   0 s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17898"
  },
  {
    "question": "What is Caveats?",
    "answer": "M o s t   o f   \" n o n - l o c a l \"   v o l u m e   d r i v e r s   s u c h   a s   n f s   a n d   i s c s i   d o   n o t   w o r k .   L o c a l   v o l u m e s   l i k e   l o c a l ,   h o s t P a t h ,   e m p t y D i r ,   c o n f i g M a p ,   s e c r e t ,   a n d   d o w n w a r d A P I   a r e   k n o w n   t o   w o r k . S o m e   C N I   p l u g i n s   m a y   n o t   w o r k .   F l a n n e l   ( V X L A N )   i s   k n o w n   t o   w o r k .   M o s t   o f   \" n o n - l o c a l \"   v o l u m e   d r i v e r s   s u c h   a s   n f s   a n d   i s c s i   d o   n o t   w o r k .   L o c a l   v o l u m e s   l i k e   l o c a l ,   h o s t P a t h ,   e m p t y D i r ,   c o n f i g M a p ,   s e c r e t ,   a n d   d o w n w a r d A P I   a r e   k n o w n   t o   w o r k .   S o m e   C N I   p l u g i n s   m a y   n o t   w o r k .   F l a n n e l   ( V X L A N )   i s   k n o w n   t o   w o r k .   F o r   m o r e   o n   t h i s ,   s e e   t h e   C a v e a t s   a n d   F u t u r e   w o r k   p a g e   o n   t h e   r o o t l e s s c o n t a i n e . r s   w e b s i t e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17899"
  },
  {
    "question": "What is See Also?",
    "answer": "r o o t l e s s c o n t a i n e . r s R o o t l e s s   C o n t a i n e r s   2 0 2 0   ( K u b e C o n   N A   2 0 2 0 ) R u n n i n g   k i n d   w i t h   R o o t l e s s   D o c k e r U s e r n e t e s R u n n i n g   K 3 s   w i t h   r o o t l e s s   m o d e K E P - 2 0 3 3 :   K u b e l e t - i n - U s e r N S   ( a k a   R o o t l e s s   m o d e )",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17900"
  },
  {
    "question": "What is 2.33 - Safely Drain a Node?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   s a f e l y   d r a i n   a   n o d e ,   o p t i o n a l l y   r e s p e c t i n g   t h e   P o d D i s r u p t i o n B u d g e t   y o u   h a v e   d e f i n e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17901"
  },
  {
    "question": "What is Before you begin?",
    "answer": "T h i s   t a s k   a s s u m e s   t h a t   y o u   h a v e   m e t   t h e   f o l l o w i n g   p r e r e q u i s i t e s :   Y o u   d o   n o t   r e q u i r e   y o u r   a p p l i c a t i o n s   t o   b e   h i g h l y   a v a i l a b l e   d u r i n g   t h e   n o d e   d r a i n ,   o r Y o u   h a v e   r e a d   a b o u t   t h e   P o d D i s r u p t i o n B u d g e t   c o n c e p t ,   a n d   h a v e   c o n f i g u r e d   P o d D i s r u p t i o n B u d g e t s   f o r   a p p l i c a t i o n s   t h a t   n e e d   t h e m .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17902"
  },
  {
    "question": "What is (Optional) Configure a disruption budget?",
    "answer": "T o   e n s u r e   t h a t   y o u r   w o r k l o a d s   r e m a i n   a v a i l a b l e   d u r i n g   m a i n t e n a n c e ,   y o u   c a n   c o n f i g u r e   a   P o d D i s r u p t i o n B u d g e t .   I f   a v a i l a b i l i t y   i s   i m p o r t a n t   f o r   a n y   a p p l i c a t i o n s   t h a t   r u n   o r   c o u l d   r u n   o n   t h e   n o d e ( s )   t h a t   y o u   a r e   d r a i n i n g ,   c o n f i g u r e   a   P o d D i s r u p t i o n B u d g e t s   f i r s t   a n d   t h e n   c o n t i n u e   f o l l o w i n g   t h i s   g u i d e .   I t   i s   r e c o m m e n d e d   t o   s e t   A l w a y s A l l o w   U n h e a l t h y   P o d   E v i c t i o n   P o l i c y   t o   y o u r   P o d D i s r u p t i o n B u d g e t s   t o   s u p p o r t   e v i c t i o n   o f   m i s b e h a v i n g   a p p l i c a t i o n s   d u r i n g   a   n o d e   d r a i n .   T h e   d e f a u l t   b e h a v i o r   i s   t o   w a i t   f o r   t h e   a p p l i c a t i o n   p o d s   t o   b e c o m e   h e a l t h y   b e f o r e   t h e   d r a i n   c a n   p r o c e e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17903"
  },
  {
    "question": "What is Use kubectl drain to remove a node from service?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   d r a i n   t o   s a f e l y   e v i c t   a l l   o f   y o u r   p o d s   f r o m   a   n o d e   b e f o r e   y o u   p e r f o r m   m a i n t e n a n c e   o n   t h e   n o d e   ( e . g .   k e r n e l   u p g r a d e ,   h a r d w a r e   m a i n t e n a n c e ,   e t c . ) .   S a f e   e v i c t i o n s   a l l o w   t h e   p o d ' s   c o n t a i n e r s   t o   g r a c e f u l l y   t e r m i n a t e   a n d   w i l l   r e s p e c t   t h e   P o d D i s r u p t i o n B u d g e t s   y o u   h a v e   s p e c i f i e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17904"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   k u b e c t l   d r a i n   r e t u r n s   s u c c e s s f u l l y ,   t h a t   i n d i c a t e s   t h a t   a l l   o f   t h e   p o d s   ( e x c e p t   t h e   o n e s   e x c l u d e d   a s   d e s c r i b e d   i n   t h e   p r e v i o u s   p a r a g r a p h )   h a v e   b e e n   s a f e l y   e v i c t e d   ( r e s p e c t i n g   t h e   d e s i r e d   g r a c e f u l   t e r m i n a t i o n   p e r i o d ,   a n d   r e s p e c t i n g   t h e   P o d D i s r u p t i o n B u d g e t   y o u   h a v e   d e f i n e d ) .   I t   i s   t h e n   s a f e   t o   b r i n g   d o w n   t h e   n o d e   b y   p o w e r i n g   d o w n   i t s   p h y s i c a l   m a c h i n e   o r ,   i f   r u n n i n g   o n   a   c l o u d   p l a t f o r m ,   d e l e t i n g   i t s   v i r t u a l   m a c h i n e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17905"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   a n y   n e w   P o d s   t o l e r a t e   t h e   n o d e . k u b e r n e t e s . i o / u n s c h e d u l a b l e   t a i n t ,   t h e n   t h o s e   P o d s   m i g h t   b e   s c h e d u l e d   t o   t h e   n o d e   y o u   h a v e   d r a i n e d .   A v o i d   t o l e r a t i n g   t h a t   t a i n t   o t h e r   t h a n   f o r   D a e m o n S e t s .   I f   y o u   o r   a n o t h e r   A P I   u s e r   d i r e c t l y   s e t   t h e   n o d e N a m e   f i e l d   f o r   a   P o d   ( b y p a s s i n g   t h e   s c h e d u l e r ) ,   t h e n   t h e   P o d   i s   b o u n d   t o   t h e   s p e c i f i e d   n o d e   a n d   w i l l   r u n   t h e r e ,   e v e n   t h o u g h   y o u   h a v e   d r a i n e d   t h a t   n o d e   a n d   m a r k e d   i t   u n s c h e d u l a b l e .   F i r s t ,   i d e n t i f y   t h e   n a m e   o f   t h e   n o d e   y o u   w i s h   t o   d r a i n .   Y o u   c a n   l i s t   a l l   o f   t h e   n o d e s   i n   y o u r   c l u s t e r   w i t h   k u b e c t l   g e t   n o d e s   N e x t ,   t e l l   K u b e r n e t e s   t o   d r a i n   t h e   n o d e :   k u b e c t l   d r a i n   - - i g n o r e - d a e m o n s e t s   < n o d e   n a m e >   I f   t h e r e   a r e   p o d s   m a n a g e d   b y   a   D a e m o n S e t ,   y o u   w i l l   n e e d   t o   s p e c i f y   - - i g n o r e - d a e m o n s e t s   w i t h   k u b e c t l   t o   s u c c e s s f u l l y   d r a i n   t h e   n o d e .   T h e   k u b e c t l   d r a i n   s u b c o m m a n d   o n   i t s   o w n   d o e s   n o t   a c t u a l l y   d r a i n   a   n o d e   o f   i t s   D a e m o n S e t   p o d s :   t h e   D a e m o n S e t   c o n t r o l l e r   ( p a r t   o f   t h e   c o n t r o l   p l a n e )   i m m e d i a t e l y   r e p l a c e s   m i s s i n g   P o d s   w i t h   n e w   e q u i v a l e n t   P o d s .   T h e   D a e m o n S e t   c o n t r o l l e r   a l s o   c r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17906"
  },
  {
    "question": "What is Draining multiple nodes in parallel?",
    "answer": "T h e   k u b e c t l   d r a i n   c o m m a n d   s h o u l d   o n l y   b e   i s s u e d   t o   a   s i n g l e   n o d e   a t   a   t i m e .   H o w e v e r ,   y o u   c a n   r u n   m u l t i p l e   k u b e c t l   d r a i n   c o m m a n d s   f o r   d i f f e r e n t   n o d e s   i n   p a r a l l e l ,   i n   d i f f e r e n t   t e r m i n a l s   o r   i n   t h e   b a c k g r o u n d .   M u l t i p l e   d r a i n   c o m m a n d s   r u n n i n g   c o n c u r r e n t l y   w i l l   s t i l l   r e s p e c t   t h e   P o d D i s r u p t i o n B u d g e t   y o u   s p e c i f y .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   S t a t e f u l S e t   w i t h   t h r e e   r e p l i c a s   a n d   h a v e   s e t   a   P o d D i s r u p t i o n B u d g e t   f o r   t h a t   s e t   s p e c i f y i n g   m i n A v a i l a b l e :   2 ,   k u b e c t l   d r a i n   o n l y   e v i c t s   a   p o d   f r o m   t h e   S t a t e f u l S e t   i f   a l l   t h r e e   r e p l i c a s   p o d s   a r e   h e a l t h y ;   i f   t h e n   y o u   i s s u e   m u l t i p l e   d r a i n   c o m m a n d s   i n   p a r a l l e l ,   K u b e r n e t e s   r e s p e c t s   t h e   P o d D i s r u p t i o n B u d g e t   a n d   e n s u r e s   t h a t   o n l y   1   ( c a l c u l a t e d   a s   r e p l i c a s   -   m i n A v a i l a b l e )   P o d   i s   u n a v a i l a b l e   a t   a n y   g i v e n   t i m e .   A n y   d r a i n s   t h a t   w o u l d   c a u s e   t h e   n u m b e r   o f   h e a l t h y   r e p l i c a s   t o   f a l l   b e l o w   t h e   s p e c i f i e d   b u d g e t   a r e   b l o c k e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17907"
  },
  {
    "question": "What is The Eviction API?",
    "answer": "I f   y o u   p r e f e r   n o t   t o   u s e   k u b e c t l   d r a i n   ( s u c h   a s   t o   a v o i d   c a l l i n g   t o   a n   e x t e r n a l   c o m m a n d ,   o r   t o   g e t   f i n e r   c o n t r o l   o v e r   t h e   p o d   e v i c t i o n   p r o c e s s ) ,   y o u   c a n   a l s o   p r o g r a m m a t i c a l l y   c a u s e   e v i c t i o n s   u s i n g   t h e   e v i c t i o n   A P I .   F o r   m o r e   i n f o r m a t i o n ,   s e e   A P I - i n i t i a t e d   e v i c t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17908"
  },
  {
    "question": "What is What's next?",
    "answer": "F o l l o w   s t e p s   t o   p r o t e c t   y o u r   a p p l i c a t i o n   b y   c o n f i g u r i n g   a   P o d   D i s r u p t i o n   B u d g e t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17909"
  },
  {
    "question": "What is 2.34 - Securing a Cluster?",
    "answer": "T h i s   d o c u m e n t   c o v e r s   t o p i c s   r e l a t e d   t o   p r o t e c t i n g   a   c l u s t e r   f r o m   a c c i d e n t a l   o r   m a l i c i o u s   a c c e s s   a n d   p r o v i d e s   r e c o m m e n d a t i o n s   o n   o v e r a l l   s e c u r i t y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17910"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17911"
  },
  {
    "question": "What is Controlling access to the Kubernetes API?",
    "answer": "A s   K u b e r n e t e s   i s   e n t i r e l y   A P I - d r i v e n ,   c o n t r o l l i n g   a n d   l i m i t i n g   w h o   c a n   a c c e s s   t h e   c l u s t e r   a n d   w h a t   a c t i o n s   t h e y   a r e   a l l o w e d   t o   p e r f o r m   i s   t h e   f i r s t   l i n e   o f   d e f e n s e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17912"
  },
  {
    "question": "What is Use Transport Layer Security (TLS) for all API traffic?",
    "answer": "K u b e r n e t e s   e x p e c t s   t h a t   a l l   A P I   c o m m u n i c a t i o n   i n   t h e   c l u s t e r   i s   e n c r y p t e d   b y   d e f a u l t   w i t h   T L S ,   a n d   t h e   m a j o r i t y   o f   i n s t a l l a t i o n   m e t h o d s   w i l l   a l l o w   t h e   n e c e s s a r y   c e r t i f i c a t e s   t o   b e   c r e a t e d   a n d   d i s t r i b u t e d   t o   t h e   c l u s t e r   c o m p o n e n t s .   N o t e   t h a t   s o m e   c o m p o n e n t s   a n d   i n s t a l l a t i o n   m e t h o d s   m a y   e n a b l e   l o c a l   p o r t s   o v e r   H T T P   a n d   a d m i n i s t r a t o r s   s h o u l d   f a m i l i a r i z e   t h e m s e l v e s   w i t h   t h e   s e t t i n g s   o f   e a c h   c o m p o n e n t   t o   i d e n t i f y   p o t e n t i a l l y   u n s e c u r e d   t r a f f i c .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17913"
  },
  {
    "question": "What is API Authentication?",
    "answer": "C h o o s e   a n   a u t h e n t i c a t i o n   m e c h a n i s m   f o r   t h e   A P I   s e r v e r s   t o   u s e   t h a t   m a t c h e s   t h e   c o m m o n   a c c e s s   p a t t e r n s   w h e n   y o u   i n s t a l l   a   c l u s t e r .   F o r   i n s t a n c e ,   s m a l l ,   s i n g l e - u s e r   c l u s t e r s   m a y   w i s h   t o   u s e   a   s i m p l e   c e r t i f i c a t e   o r   s t a t i c   B e a r e r   t o k e n   a p p r o a c h .   L a r g e r   c l u s t e r s   m a y   w i s h   t o   i n t e g r a t e   a n   e x i s t i n g   O I D C   o r   L D A P   s e r v e r   t h a t   a l l o w   u s e r s   t o   b e   s u b d i v i d e d   i n t o   g r o u p s .   A l l   A P I   c l i e n t s   m u s t   b e   a u t h e n t i c a t e d ,   e v e n   t h o s e   t h a t   a r e   p a r t   o f   t h e   i n f r a s t r u c t u r e   l i k e   n o d e s ,   p r o x i e s ,   t h e   s c h e d u l e r ,   a n d   v o l u m e   p l u g i n s .   T h e s e   c l i e n t s   a r e   t y p i c a l l y   s e r v i c e   a c c o u n t s   o r   u s e   x 5 0 9   c l i e n t   c e r t i f i c a t e s ,   a n d   t h e y   a r e   c r e a t e d   a u t o m a t i c a l l y   a t   c l u s t e r   s t a r t u p   o r   a r e   s e t u p   a s   p a r t   o f   t h e   c l u s t e r   i n s t a l l a t i o n .   C o n s u l t   t h e   a u t h e n t i c a t i o n   r e f e r e n c e   d o c u m e n t   f o r   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17914"
  },
  {
    "question": "What is API Authorization?",
    "answer": "O n c e   a u t h e n t i c a t e d ,   e v e r y   A P I   c a l l   i s   a l s o   e x p e c t e d   t o   p a s s   a n   a u t h o r i z a t i o n   c h e c k .   K u b e r n e t e s   s h i p s   a n   i n t e g r a t e d   R o l e - B a s e d   A c c e s s   C o n t r o l   ( R B A C )   c o m p o n e n t   t h a t   m a t c h e s   a n   i n c o m i n g   u s e r   o r   g r o u p   t o   a   s e t   o f   p e r m i s s i o n s   b u n d l e d   i n t o   r o l e s .   T h e s e   p e r m i s s i o n s   c o m b i n e   v e r b s   ( g e t ,   c r e a t e ,   d e l e t e )   w i t h   r e s o u r c e s   ( p o d s ,   s e r v i c e s ,   n o d e s )   a n d   c a n   b e   n a m e s p a c e - s c o p e d   o r   c l u s t e r - s c o p e d .   A   s e t   o f   o u t - o f - t h e - b o x   r o l e s   a r e   p r o v i d e d   t h a t   o f f e r   r e a s o n a b l e   d e f a u l t   s e p a r a t i o n   o f   r e s p o n s i b i l i t y   d e p e n d i n g   o n   w h a t   a c t i o n s   a   c l i e n t   m i g h t   w a n t   t o   p e r f o r m .   I t   i s   r e c o m m e n d e d   t h a t   y o u   u s e   t h e   N o d e   a n d   R B A C   a u t h o r i z e r s   t o g e t h e r ,   i n   c o m b i n a t i o n   w i t h   t h e   N o d e R e s t r i c t i o n   a d m i s s i o n   p l u g i n .   A s   w i t h   a u t h e n t i c a t i o n ,   s i m p l e   a n d   b r o a d   r o l e s   m a y   b e   a p p r o p r i a t e   f o r   s m a l l e r   c l u s t e r s ,   b u t   a s   m o r e   u s e r s   i n t e r a c t   w i t h   t h e   c l u s t e r ,   i t   m a y   b e c o m e   n e c e s s a r y   t o   s e p a r a t e   t e a m s   i n t o   s e p a r a t e   n a m e s p a c e s   w i t h   m o r e   l i m i t e d   r o l e s .   W i t h   a u t h o r i z a t i o n ,   i t   i s   i m p o r t a n t   t o   u n d e r s t a n d   h o w   u p d a t e s   o n   o n e   o b j e c t   m a y   c a u s e   a c t i o n s   i n   o t h e r   p l ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17915"
  },
  {
    "question": "What is Controlling access to the Kubelet?",
    "answer": "K u b e l e t s   e x p o s e   H T T P S   e n d p o i n t s   w h i c h   g r a n t   p o w e r f u l   c o n t r o l   o v e r   t h e   n o d e   a n d   c o n t a i n e r s .   B y   d e f a u l t   K u b e l e t s   a l l o w   u n a u t h e n t i c a t e d   a c c e s s   t o   t h i s   A P I .   P r o d u c t i o n   c l u s t e r s   s h o u l d   e n a b l e   K u b e l e t   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n .   C o n s u l t   t h e   K u b e l e t   a u t h e n t i c a t i o n / a u t h o r i z a t i o n   r e f e r e n c e   f o r   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17916"
  },
  {
    "question": "What is Controlling the capabilities of a workload or user at runtime?",
    "answer": "A u t h o r i z a t i o n   i n   K u b e r n e t e s   i s   i n t e n t i o n a l l y   h i g h   l e v e l ,   f o c u s e d   o n   c o a r s e   a c t i o n s   o n   r e s o u r c e s .   M o r e   p o w e r f u l   c o n t r o l s   e x i s t   a s   p o l i c i e s   t o   l i m i t   b y   u s e   c a s e   h o w   t h o s e   o b j e c t s   a c t   o n   t h e   c l u s t e r ,   t h e m s e l v e s ,   a n d   o t h e r   r e s o u r c e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17917"
  },
  {
    "question": "What is Limiting resource usage on a cluster?",
    "answer": "R e s o u r c e   q u o t a   l i m i t s   t h e   n u m b e r   o r   c a p a c i t y   o f   r e s o u r c e s   g r a n t e d   t o   a   n a m e s p a c e .   T h i s   i s   m o s t   o f t e n   u s e d   t o   l i m i t   t h e   a m o u n t   o f   C P U ,   m e m o r y ,   o r   p e r s i s t e n t   d i s k   a   n a m e s p a c e   c a n   a l l o c a t e ,   b u t   c a n   a l s o   c o n t r o l   h o w   m a n y   p o d s ,   s e r v i c e s ,   o r   v o l u m e s   e x i s t   i n   e a c h   n a m e s p a c e .   L i m i t   r a n g e s   r e s t r i c t   t h e   m a x i m u m   o r   m i n i m u m   s i z e   o f   s o m e   o f   t h e   r e s o u r c e s   a b o v e ,   t o   p r e v e n t   u s e r s   f r o m   r e q u e s t i n g   u n r e a s o n a b l y   h i g h   o r   l o w   v a l u e s   f o r   c o m m o n l y   r e s e r v e d   r e s o u r c e s   l i k e   m e m o r y ,   o r   t o   p r o v i d e   d e f a u l t   l i m i t s   w h e n   n o n e   a r e   s p e c i f i e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17918"
  },
  {
    "question": "What is Controlling what privileges containers run with?",
    "answer": "A   p o d   d e f i n i t i o n   c o n t a i n s   a   s e c u r i t y   c o n t e x t   t h a t   a l l o w s   i t   t o   r e q u e s t   a c c e s s   t o   r u n   a s   a   s p e c i f i c   L i n u x   u s e r   o n   a   n o d e   ( l i k e   r o o t ) ,   a c c e s s   t o   r u n   p r i v i l e g e d   o r   a c c e s s   t h e   h o s t   n e t w o r k ,   a n d   o t h e r   c o n t r o l s   t h a t   w o u l d   o t h e r w i s e   a l l o w   i t   t o   r u n   u n f e t t e r e d   o n   a   h o s t i n g   n o d e .   Y o u   c a n   c o n f i g u r e   P o d   s e c u r i t y   a d m i s s i o n   t o   e n f o r c e   u s e   o f   a   p a r t i c u l a r   P o d   S e c u r i t y   S t a n d a r d   i n   a   n a m e s p a c e ,   o r   t o   d e t e c t   b r e a c h e s .   G e n e r a l l y ,   m o s t   a p p l i c a t i o n   w o r k l o a d s   n e e d   l i m i t e d   a c c e s s   t o   h o s t   r e s o u r c e s   s o   t h e y   c a n   s u c c e s s f u l l y   r u n   a s   a   r o o t   p r o c e s s   ( u i d   0 )   w i t h o u t   a c c e s s   t o   h o s t   i n f o r m a t i o n .   H o w e v e r ,   c o n s i d e r i n g   t h e   p r i v i l e g e s   a s s o c i a t e d   w i t h   t h e   r o o t   u s e r ,   y o u   s h o u l d   w r i t e   a p p l i c a t i o n   c o n t a i n e r s   t o   r u n   a s   a   n o n - r o o t   u s e r .   S i m i l a r l y ,   a d m i n i s t r a t o r s   w h o   w i s h   t o   p r e v e n t   c l i e n t   a p p l i c a t i o n s   f r o m   e s c a p i n g   t h e i r   c o n t a i n e r s   s h o u l d   a p p l y   t h e   B a s e l i n e   o r   R e s t r i c t e d   P o d   S e c u r i t y   S t a n d a r d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17919"
  },
  {
    "question": "What is Preventing containers from loading unwanted kernel modules?",
    "answer": "T h e   L i n u x   k e r n e l   a u t o m a t i c a l l y   l o a d s   k e r n e l   m o d u l e s   f r o m   d i s k   i f   n e e d e d   i n   c e r t a i n   c i r c u m s t a n c e s ,   s u c h   a s   w h e n   a   p i e c e   o f   h a r d w a r e   i s   a t t a c h e d   o r   a   f i l e s y s t e m   i s   m o u n t e d .   O f   p a r t i c u l a r   r e l e v a n c e   t o   K u b e r n e t e s ,   e v e n   u n p r i v i l e g e d   p r o c e s s e s   c a n   c a u s e   c e r t a i n   n e t w o r k - p r o t o c o l - r e l a t e d   k e r n e l   m o d u l e s   t o   b e   l o a d e d ,   j u s t   b y   c r e a t i n g   a   s o c k e t   o f   t h e   a p p r o p r i a t e   t y p e .   T h i s   m a y   a l l o w   a n   a t t a c k e r   t o   e x p l o i t   a   s e c u r i t y   h o l e   i n   a   k e r n e l   m o d u l e   t h a t   t h e   a d m i n i s t r a t o r   a s s u m e d   w a s   n o t   i n   u s e .   T o   p r e v e n t   s p e c i f i c   m o d u l e s   f r o m   b e i n g   a u t o m a t i c a l l y   l o a d e d ,   y o u   c a n   u n i n s t a l l   t h e m   f r o m   t h e   n o d e ,   o r   a d d   r u l e s   t o   b l o c k   t h e m .   O n   m o s t   L i n u x   d i s t r i b u t i o n s ,   y o u   c a n   d o   t h a t   b y   c r e a t i n g   a   f i l e   s u c h   a s   / e t c / m o d p r o b e . d / k u b e r n e t e s - b l a c k l i s t . c o n f   w i t h   c o n t e n t s   l i k e :   #   D C C P   i s   u n l i k e l y   t o   b e   n e e d e d ,   h a s   h a d   m u l t i p l e   s e r i o u s   #   v u l n e r a b i l i t i e s ,   a n d   i s   n o t   w e l l - m a i n t a i n e d .   b l a c k l i s t   d c c p   #   S C T P   i s   n o t   u s e d   i n   m o s t   K u b e r n e t e s   c l u s t e r s ,   a n d   h a s   a l s o   h a d   #   v u l n e r a b i l i t i e s   i n   t h e   p a s t .   b l a c k l i s t   s c t p   T o   b l o c k   m o d u l e   l o a d i n g   m o r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17920"
  },
  {
    "question": "What is Restricting network access?",
    "answer": "T h e   n e t w o r k   p o l i c i e s   f o r   a   n a m e s p a c e   a l l o w s   a p p l i c a t i o n   a u t h o r s   t o   r e s t r i c t   w h i c h   p o d s   i n   o t h e r   n a m e s p a c e s   m a y   a c c e s s   p o d s   a n d   p o r t s   w i t h i n   t h e i r   n a m e s p a c e s .   M a n y   o f   t h e   s u p p o r t e d   K u b e r n e t e s   n e t w o r k i n g   p r o v i d e r s   n o w   r e s p e c t   n e t w o r k   p o l i c y .   Q u o t a   a n d   l i m i t   r a n g e s   c a n   a l s o   b e   u s e d   t o   c o n t r o l   w h e t h e r   u s e r s   m a y   r e q u e s t   n o d e   p o r t s   o r   l o a d - b a l a n c e d   s e r v i c e s ,   w h i c h   o n   m a n y   c l u s t e r s   c a n   c o n t r o l   w h e t h e r   t h o s e   u s e r s   a p p l i c a t i o n s   a r e   v i s i b l e   o u t s i d e   o f   t h e   c l u s t e r .   A d d i t i o n a l   p r o t e c t i o n s   m a y   b e   a v a i l a b l e   t h a t   c o n t r o l   n e t w o r k   r u l e s   o n   a   p e r - p l u g i n   o r   p e r -   e n v i r o n m e n t   b a s i s ,   s u c h   a s   p e r - n o d e   f i r e w a l l s ,   p h y s i c a l l y   s e p a r a t i n g   c l u s t e r   n o d e s   t o   p r e v e n t   c r o s s   t a l k ,   o r   a d v a n c e d   n e t w o r k i n g   p o l i c y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17921"
  },
  {
    "question": "What is Restricting cloud metadata API access?",
    "answer": "C l o u d   p l a t f o r m s   ( A W S ,   A z u r e ,   G C E ,   e t c . )   o f t e n   e x p o s e   m e t a d a t a   s e r v i c e s   l o c a l l y   t o   i n s t a n c e s .   B y   d e f a u l t   t h e s e   A P I s   a r e   a c c e s s i b l e   b y   p o d s   r u n n i n g   o n   a n   i n s t a n c e   a n d   c a n   c o n t a i n   c l o u d   c r e d e n t i a l s   f o r   t h a t   n o d e ,   o r   p r o v i s i o n i n g   d a t a   s u c h   a s   k u b e l e t   c r e d e n t i a l s .   T h e s e   c r e d e n t i a l s   c a n   b e   u s e d   t o   e s c a l a t e   w i t h i n   t h e   c l u s t e r   o r   t o   o t h e r   c l o u d   s e r v i c e s   u n d e r   t h e   s a m e   a c c o u n t .   W h e n   r u n n i n g   K u b e r n e t e s   o n   a   c l o u d   p l a t f o r m ,   l i m i t   p e r m i s s i o n s   g i v e n   t o   i n s t a n c e   c r e d e n t i a l s ,   u s e   n e t w o r k   p o l i c i e s   t o   r e s t r i c t   p o d   a c c e s s   t o   t h e   m e t a d a t a   A P I ,   a n d   a v o i d   u s i n g   p r o v i s i o n i n g   d a t a   t o   d e l i v e r   s e c r e t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17922"
  },
  {
    "question": "What is Controlling which nodes pods may access?",
    "answer": "B y   d e f a u l t ,   t h e r e   a r e   n o   r e s t r i c t i o n s   o n   w h i c h   n o d e s   m a y   r u n   a   p o d .   K u b e r n e t e s   o f f e r s   a   r i c h   s e t   o f   p o l i c i e s   f o r   c o n t r o l l i n g   p l a c e m e n t   o f   p o d s   o n t o   n o d e s   a n d   t h e   t a i n t - b a s e d   p o d   p l a c e m e n t   a n d   e v i c t i o n   t h a t   a r e   a v a i l a b l e   t o   e n d   u s e r s .   F o r   m a n y   c l u s t e r s   u s e   o f   t h e s e   p o l i c i e s   t o   s e p a r a t e   w o r k l o a d s   c a n   b e   a   c o n v e n t i o n   t h a t   a u t h o r s   a d o p t   o r   e n f o r c e   v i a   t o o l i n g .   A s   a n   a d m i n i s t r a t o r ,   a   b e t a   a d m i s s i o n   p l u g i n   P o d N o d e S e l e c t o r   c a n   b e   u s e d   t o   f o r c e   p o d s   w i t h i n   a   n a m e s p a c e   t o   d e f a u l t   o r   r e q u i r e   a   s p e c i f i c   n o d e   s e l e c t o r ,   a n d   i f   e n d   u s e r s   c a n n o t   a l t e r   n a m e s p a c e s ,   t h i s   c a n   s t r o n g l y   l i m i t   t h e   p l a c e m e n t   o f   a l l   o f   t h e   p o d s   i n   a   s p e c i f i c   w o r k l o a d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17923"
  },
  {
    "question": "What is Protecting cluster components from compromise?",
    "answer": "T h i s   s e c t i o n   d e s c r i b e s   s o m e   c o m m o n   p a t t e r n s   f o r   p r o t e c t i n g   c l u s t e r s   f r o m   c o m p r o m i s e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17924"
  },
  {
    "question": "What is Restrict access to etcd?",
    "answer": "W r i t e   a c c e s s   t o   t h e   e t c d   b a c k e n d   f o r   t h e   A P I   i s   e q u i v a l e n t   t o   g a i n i n g   r o o t   o n   t h e   e n t i r e   c l u s t e r ,   a n d   r e a d   a c c e s s   c a n   b e   u s e d   t o   e s c a l a t e   f a i r l y   q u i c k l y .   A d m i n i s t r a t o r s   s h o u l d   a l w a y s   u s e   s t r o n g   c r e d e n t i a l s   f r o m   t h e   A P I   s e r v e r s   t o   t h e i r   e t c d   s e r v e r ,   s u c h   a s   m u t u a l   a u t h   v i a   T L S   c l i e n t   c e r t i f i c a t e s ,   a n d   i t   i s   o f t e n   r e c o m m e n d e d   t o   i s o l a t e   t h e   e t c d   s e r v e r s   b e h i n d   a   f i r e w a l l   t h a t   o n l y   t h e   A P I   s e r v e r s   m a y   a c c e s s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17925"
  },
  {
    "question": "What is Enable audit logging?",
    "answer": "T h e   a u d i t   l o g g e r   i s   a   b e t a   f e a t u r e   t h a t   r e c o r d s   a c t i o n s   t a k e n   b y   t h e   A P I   f o r   l a t e r   a n a l y s i s   i n   t h e   e v e n t   o f   a   c o m p r o m i s e .   I t   i s   r e c o m m e n d e d   t o   e n a b l e   a u d i t   l o g g i n g   a n d   a r c h i v e   t h e   a u d i t   f i l e   o n   a   s e c u r e   s e r v e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17926"
  },
  {
    "question": "What is Restrict access to alpha or beta features?",
    "answer": "A l p h a   a n d   b e t a   K u b e r n e t e s   f e a t u r e s   a r e   i n   a c t i v e   d e v e l o p m e n t   a n d   m a y   h a v e   l i m i t a t i o n s   o r   b u g s   t h a t   r e s u l t   i n   s e c u r i t y   v u l n e r a b i l i t i e s .   A l w a y s   a s s e s s   t h e   v a l u e   a n   a l p h a   o r   b e t a   f e a t u r e   m a y   p r o v i d e   a g a i n s t   t h e   p o s s i b l e   r i s k   t o   y o u r   s e c u r i t y   p o s t u r e .   W h e n   i n   d o u b t ,   d i s a b l e   f e a t u r e s   y o u   d o   n o t   u s e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17927"
  },
  {
    "question": "What is Rotate infrastructure credentials frequently?",
    "answer": "T h e   s h o r t e r   t h e   l i f e t i m e   o f   a   s e c r e t   o r   c r e d e n t i a l   t h e   h a r d e r   i t   i s   f o r   a n   a t t a c k e r   t o   m a k e   u s e   o f   t h a t   c r e d e n t i a l .   S e t   s h o r t   l i f e t i m e s   o n   c e r t i f i c a t e s   a n d   a u t o m a t e   t h e i r   r o t a t i o n .   U s e   a n   a u t h e n t i c a t i o n   p r o v i d e r   t h a t   c a n   c o n t r o l   h o w   l o n g   i s s u e d   t o k e n s   a r e   a v a i l a b l e   a n d   u s e   s h o r t   l i f e t i m e s   w h e r e   p o s s i b l e .   I f   y o u   u s e   s e r v i c e - a c c o u n t   t o k e n s   i n   e x t e r n a l   i n t e g r a t i o n s ,   p l a n   t o   r o t a t e   t h o s e   t o k e n s   f r e q u e n t l y .   F o r   e x a m p l e ,   o n c e   t h e   b o o t s t r a p   p h a s e   i s   c o m p l e t e ,   a   b o o t s t r a p   t o k e n   u s e d   f o r   s e t t i n g   u p   n o d e s   s h o u l d   b e   r e v o k e d   o r   i t s   a u t h o r i z a t i o n   r e m o v e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17928"
  },
  {
    "question": "What is Review third party integrations before enabling them?",
    "answer": "M a n y   t h i r d   p a r t y   i n t e g r a t i o n s   t o   K u b e r n e t e s   m a y   a l t e r   t h e   s e c u r i t y   p r o f i l e   o f   y o u r   c l u s t e r .   W h e n   e n a b l i n g   a n   i n t e g r a t i o n ,   a l w a y s   r e v i e w   t h e   p e r m i s s i o n s   t h a t   a n   e x t e n s i o n   r e q u e s t s   b e f o r e   g r a n t i n g   i t   a c c e s s .   F o r   e x a m p l e ,   m a n y   s e c u r i t y   i n t e g r a t i o n s   m a y   r e q u e s t   a c c e s s   t o   v i e w   a l l   s e c r e t s   o n   y o u r   c l u s t e r   w h i c h   i s   e f f e c t i v e l y   m a k i n g   t h a t   c o m p o n e n t   a   c l u s t e r   a d m i n .   W h e n   i n   d o u b t ,   r e s t r i c t   t h e   i n t e g r a t i o n   t o   f u n c t i o n i n g   i n   a   s i n g l e   n a m e s p a c e   i f   p o s s i b l e .   C o m p o n e n t s   t h a t   c r e a t e   p o d s   m a y   a l s o   b e   u n e x p e c t e d l y   p o w e r f u l   i f   t h e y   c a n   d o   s o   i n s i d e   n a m e s p a c e s   l i k e   t h e   k u b e - s y s t e m   n a m e s p a c e ,   b e c a u s e   t h o s e   p o d s   c a n   g a i n   a c c e s s   t o   s e r v i c e   a c c o u n t   s e c r e t s   o r   r u n   w i t h   e l e v a t e d   p e r m i s s i o n s   i f   t h o s e   s e r v i c e   a c c o u n t s   a r e   g r a n t e d   a c c e s s   t o   p e r m i s s i v e   P o d S e c u r i t y P o l i c i e s .   I f   y o u   u s e   P o d   S e c u r i t y   a d m i s s i o n   a n d   a l l o w   a n y   c o m p o n e n t   t o   c r e a t e   P o d s   w i t h i n   a   n a m e s p a c e   t h a t   p e r m i t s   p r i v i l e g e d   P o d s ,   t h o s e   P o d s   m a y   b e   a b l e   t o   e s c a p e   t h e i r   c o n t a i n e r s   a n d   u s e   t h i s   w i d e n e d   a c c e s s   t o   e l e v a t e   t h e i r   p r i v i l e g e s .   Y o u   s h o u l d   n o t   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17929"
  },
  {
    "question": "What is Encrypt secrets at rest?",
    "answer": "I n   g e n e r a l ,   t h e   e t c d   d a t a b a s e   w i l l   c o n t a i n   a n y   i n f o r m a t i o n   a c c e s s i b l e   v i a   t h e   K u b e r n e t e s   A P I   a n d   m a y   g r a n t   a n   a t t a c k e r   s i g n i f i c a n t   v i s i b i l i t y   i n t o   t h e   s t a t e   o f   y o u r   c l u s t e r .   A l w a y s   e n c r y p t   y o u r   b a c k u p s   u s i n g   a   w e l l   r e v i e w e d   b a c k u p   a n d   e n c r y p t i o n   s o l u t i o n ,   a n d   c o n s i d e r   u s i n g   f u l l   d i s k   e n c r y p t i o n   w h e r e   p o s s i b l e .   K u b e r n e t e s   s u p p o r t s   o p t i o n a l   e n c r y p t i o n   a t   r e s t   f o r   i n f o r m a t i o n   i n   t h e   K u b e r n e t e s   A P I .   T h i s   l e t s   y o u   e n s u r e   t h a t   w h e n   K u b e r n e t e s   s t o r e s   d a t a   f o r   o b j e c t s   ( f o r   e x a m p l e ,   S e c r e t   o r   C o n f i g M a p   o b j e c t s ) ,   t h e   A P I   s e r v e r   w r i t e s   a n   e n c r y p t e d   r e p r e s e n t a t i o n   o f   t h e   o b j e c t .   T h a t   e n c r y p t i o n   m e a n s   t h a t   e v e n   s o m e o n e   w h o   h a s   a c c e s s   t o   e t c d   b a c k u p   d a t a   i s   u n a b l e   t o   v i e w   t h e   c o n t e n t   o f   t h o s e   o b j e c t s .   I n   K u b e r n e t e s   1 . 3 4   y o u   c a n   a l s o   e n c r y p t   c u s t o m   r e s o u r c e s ;   e n c r y p t i o n - a t - r e s t   f o r   e x t e n s i o n   A P I s   d e f i n e d   i n   C u s t o m R e s o u r c e D e f i n i t i o n s   w a s   a d d e d   t o   K u b e r n e t e s   a s   p a r t   o f   t h e   v 1 . 2 6   r e l e a s e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17930"
  },
  {
    "question": "What is Receiving alerts for security updates and reporting vulnerabilities?",
    "answer": "J o i n   t h e   k u b e r n e t e s - a n n o u n c e   g r o u p   f o r   e m a i l s   a b o u t   s e c u r i t y   a n n o u n c e m e n t s .   S e e   t h e   s e c u r i t y   r e p o r t i n g   p a g e   f o r   m o r e   o n   h o w   t o   r e p o r t   v u l n e r a b i l i t i e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17931"
  },
  {
    "question": "What is What's next?",
    "answer": "S e c u r i t y   C h e c k l i s t   f o r   a d d i t i o n a l   i n f o r m a t i o n   o n   K u b e r n e t e s   s e c u r i t y   g u i d a n c e . S e c c o m p   N o d e   R e f e r e n c e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17932"
  },
  {
    "question": "What is Before you begin?",
    "answer": "S o m e   s t e p s   i n   t h i s   p a g e   u s e   t h e   j q   t o o l .   I f   y o u   d o n ' t   h a v e   j q ,   y o u   c a n   i n s t a l l   i t   v i a   y o u r   o p e r a t i n g   s y s t e m ' s   s o f t w a r e   s o u r c e s ,   o r   f e t c h   i t   f r o m   h t t p s : / / j q l a n g . g i t h u b . i o / j q / .   S o m e   s t e p s   a l s o   i n v o l v e   i n s t a l l i n g   c u r l ,   w h i c h   c a n   b e   i n s t a l l e d   v i a   y o u r   o p e r a t i n g   s y s t e m ' s   s o f t w a r e   s o u r c e s .   A   s u b s e t   o f   t h e   k u b e l e t ' s   c o n f i g u r a t i o n   p a r a m e t e r s   m a y   b e   s e t   v i a   a n   o n - d i s k   c o n f i g   f i l e ,   a s   a   s u b s t i t u t e   f o r   c o m m a n d - l i n e   f l a g s .   P r o v i d i n g   p a r a m e t e r s   v i a   a   c o n f i g   f i l e   i s   t h e   r e c o m m e n d e d   a p p r o a c h   b e c a u s e   i t   s i m p l i f i e s   n o d e   d e p l o y m e n t   a n d   c o n f i g u r a t i o n   m a n a g e m e n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17933"
  },
  {
    "question": "What is Create the config file?",
    "answer": "T h e   s u b s e t   o f   t h e   k u b e l e t ' s   c o n f i g u r a t i o n   t h a t   c a n   b e   c o n f i g u r e d   v i a   a   f i l e   i s   d e f i n e d   b y   t h e   K u b e l e t C o n f i g u r a t i o n   s t r u c t .   T h e   c o n f i g u r a t i o n   f i l e   m u s t   b e   a   J S O N   o r   Y A M L   r e p r e s e n t a t i o n   o f   t h e   p a r a m e t e r s   i n   t h i s   s t r u c t .   M a k e   s u r e   t h e   k u b e l e t   h a s   r e a d   p e r m i s s i o n s   o n   t h e   f i l e .   H e r e   i s   a n   e x a m p l e   o f   w h a t   t h i s   f i l e   m i g h t   l o o k   l i k e :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   a d d r e s s :   \" 1 9 2 . 1 6 8 . 0 . 8 \"   p o r t :   2 0 2 5 0   s e r i a l i z e I m a g e P u l l s :   f a l s e   e v i c t i o n H a r d :   m e m o r y . a v a i l a b l e :   \" 1 0 0 M i \"   n o d e f s . a v a i l a b l e :   \" 1 0 % \"   n o d e f s . i n o d e s F r e e :   \" 5 % \"   i m a g e f s . a v a i l a b l e :   \" 1 5 % \"   i m a g e f s . i n o d e s F r e e :   \" 5 % \"   I n   t h i s   e x a m p l e ,   t h e   k u b e l e t   i s   c o n f i g u r e d   w i t h   t h e   f o l l o w i n g   s e t t i n g s :   a d d r e s s :   T h e   k u b e l e t   w i l l   s e r v e   o n   I P   a d d r e s s   1 9 2 . 1 6 8 . 0 . 8 . p o r t :   T h e   k u b e l e t   w i l l   s e r v e   o n   p o r t   2 0 2 5 0 . s e r i a l i z e I m a g e P u l l s :   I m a g e   p u l l s   w i l l   b e   d o n e   i n   p a r a l l e l . e v i c t i o n H a r d :   T h e   k u b e l e t   w i l l   e v i c t   P o d s   u n d e r   o n e   o f   t h e   f o l l o w i n g   c o n d i t i o n s : W h e n   t h e   n o d e ' s   a v a i l a b l e   m e m o r y   d r o p s   b e l o w   1 0 0 M i B . W h e n   t h e   n o d e ' s   m a i n   f i l e s y s t e m ' s   a v a i l a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17934"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   i m a g e f s   i s   a n   o p t i o n a l   f i l e s y s t e m   t h a t   c o n t a i n e r   r u n t i m e s   u s e   t o   s t o r e   c o n t a i n e r   i m a g e s   a n d   c o n t a i n e r   w r i t a b l e   l a y e r s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17935"
  },
  {
    "question": "What is Note:?",
    "answer": "S t a r t   t h e   k u b e l e t   w i t h   t h e   - - c o n f i g   f l a g   s e t   t o   t h e   p a t h   o f   t h e   k u b e l e t ' s   c o n f i g   f i l e .   T h e   k u b e l e t   w i l l   t h e n   l o a d   i t s   c o n f i g   f r o m   t h i s   f i l e .   N o t e   t h a t   c o m m a n d   l i n e   f l a g s   w h i c h   t a r g e t   t h e   s a m e   v a l u e   a s   a   c o n f i g   f i l e   w i l l   o v e r r i d e   t h a t   v a l u e .   T h i s   h e l p s   e n s u r e   b a c k w a r d s   c o m p a t i b i l i t y   w i t h   t h e   c o m m a n d - l i n e   A P I .   N o t e   t h a t   r e l a t i v e   f i l e   p a t h s   i n   t h e   k u b e l e t   c o n f i g   f i l e   a r e   r e s o l v e d   r e l a t i v e   t o   t h e   l o c a t i o n   o f   t h e   k u b e l e t   c o n f i g   f i l e ,   w h e r e a s   r e l a t i v e   p a t h s   i n   c o m m a n d   l i n e   f l a g s   a r e   r e s o l v e d   r e l a t i v e   t o   t h e   k u b e l e t ' s   c u r r e n t   w o r k i n g   d i r e c t o r y .   N o t e   t h a t   s o m e   d e f a u l t   v a l u e s   d i f f e r   b e t w e e n   c o m m a n d - l i n e   f l a g s   a n d   t h e   k u b e l e t   c o n f i g   f i l e .   I f   - - c o n f i g   i s   p r o v i d e d   a n d   t h e   v a l u e s   a r e   n o t   s p e c i f i e d   v i a   t h e   c o m m a n d   l i n e ,   t h e   d e f a u l t s   f o r   t h e   K u b e l e t C o n f i g u r a t i o n   v e r s i o n   a p p l y .   I n   t h e   a b o v e   e x a m p l e ,   t h i s   v e r s i o n   i s   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1 .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17936"
  },
  {
    "question": "What is Drop-in directory for kubelet configuration files?",
    "answer": "Y o u   c a n   s p e c i f y   a   d r o p - i n   c o n f i g u r a t i o n   d i r e c t o r y   f o r   t h e   k u b e l e t .   B y   d e f a u l t ,   t h e   k u b e l e t   d o e s   n o t   l o o k   f o r   d r o p - i n   c o n f i g u r a t i o n   f i l e s   a n y w h e r e   -   y o u   m u s t   s p e c i f y   a   p a t h .   F o r   e x a m p l e :   - - c o n f i g - d i r = / e t c / k u b e r n e t e s / k u b e l e t . c o n f . d   F o r   K u b e r n e t e s   v 1 . 2 8   t o   v 1 . 2 9 ,   y o u   c a n   o n l y   s p e c i f y   - - c o n f i g - d i r   i f   y o u   a l s o   s e t   t h e   e n v i r o n m e n t   v a r i a b l e   K U B E L E T _ C O N F I G _ D R O P I N _ D I R _ A L P H A   f o r   t h e   k u b e l e t   p r o c e s s   ( t h e   v a l u e   o f   t h a t   v a r i a b l e   d o e s   n o t   m a t t e r ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17937"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   k u b e l e t   p r o c e s s e s   f i l e s   i n   i t s   c o n f i g   d r o p - i n   d i r e c t o r y   b y   s o r t i n g   t h e   e n t i r e   f i l e   n a m e   a l p h a n u m e r i c a l l y .   F o r   i n s t a n c e ,   0 0 - k u b e l e t . c o n f   i s   p r o c e s s e d   f i r s t ,   a n d   t h e n   o v e r r i d d e n   w i t h   a   f i l e   n a m e d   0 1 - k u b e l e t . c o n f .   T h e s e   f i l e s   m a y   c o n t a i n   p a r t i a l   c o n f i g u r a t i o n s   b u t   s h o u l d   n o t   b e   i n v a l i d   a n d   m u s t   i n c l u d e   t y p e   m e t a d a t a ,   s p e c i f i c a l l y   a p i V e r s i o n   a n d   k i n d .   V a l i d a t i o n   i s   o n l y   p e r f o r m e d   o n   t h e   f i n a l   r e s u l t i n g   c o n f i g u r a t i o n   s t r u c t u r e   s t o r e d   i n t e r n a l l y   i n   t h e   k u b e l e t .   T h i s   o f f e r s   f l e x i b i l i t y   i n   m a n a g i n g   a n d   m e r g i n g   k u b e l e t   c o n f i g u r a t i o n s   f r o m   d i f f e r e n t   s o u r c e s   w h i l e   p r e v e n t i n g   u n d e s i r a b l e   c o n f i g u r a t i o n s .   H o w e v e r ,   i t   i s   i m p o r t a n t   t o   n o t e   t h a t   b e h a v i o r   v a r i e s   b a s e d   o n   t h e   d a t a   t y p e   o f   t h e   c o n f i g u r a t i o n   f i e l d s .   D i f f e r e n t   d a t a   t y p e s   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   s t r u c t u r e   m e r g e   d i f f e r e n t l y .   S e e   t h e   r e f e r e n c e   d o c u m e n t   f o r   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17938"
  },
  {
    "question": "What is Kubelet configuration merging order?",
    "answer": "O n   s t a r t u p ,   t h e   k u b e l e t   m e r g e s   c o n f i g u r a t i o n   f r o m :   F e a t u r e   g a t e s   s p e c i f i e d   o v e r   t h e   c o m m a n d   l i n e   ( l o w e s t   p r e c e d e n c e ) . T h e   k u b e l e t   c o n f i g u r a t i o n . D r o p - i n   c o n f i g u r a t i o n   f i l e s ,   a c c o r d i n g   t o   s o r t   o r d e r . C o m m a n d   l i n e   a r g u m e n t s   e x c l u d i n g   f e a t u r e   g a t e s   ( h i g h e s t   p r e c e d e n c e ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17939"
  },
  {
    "question": "What is Viewing the kubelet configuration?",
    "answer": "S i n c e   t h e   c o n f i g u r a t i o n   c o u l d   n o w   b e   s p r e a d   o v e r   m u l t i p l e   f i l e s   w i t h   t h i s   f e a t u r e ,   i f   s o m e o n e   w a n t s   t o   i n s p e c t   t h e   f i n a l   a c t u a t e d   c o n f i g u r a t i o n ,   t h e y   c a n   f o l l o w   t h e s e   s t e p s   t o   i n s p e c t   t h e   k u b e l e t   c o n f i g u r a t i o n :   S t a r t   a   p r o x y   s e r v e r   u s i n g   k u b e c t l   p r o x y   i n   y o u r   t e r m i n a l . k u b e c t l   p r o x y   W h i c h   g i v e s   o u t p u t   l i k e : S t a r t i n g   t o   s e r v e   o n   1 2 7 . 0 . 0 . 1 : 8 0 0 1   O p e n   a n o t h e r   t e r m i n a l   w i n d o w   a n d   u s e   c u r l   t o   f e t c h   t h e   k u b e l e t   c o n f i g u r a t i o n .   R e p l a c e   < n o d e - n a m e >   w i t h   t h e   a c t u a l   n a m e   o f   y o u r   n o d e : c u r l   - X   G E T   h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 0 1 / a p i / v 1 / n o d e s / < n o d e - n a m e > / p r o x y / c o n f i g z   |   j q   .   {   \" k u b e l e t c o n f i g \" :   {   \" e n a b l e S e r v e r \" :   t r u e ,   \" s t a t i c P o d P a t h \" :   \" / v a r / r u n / k u b e r n e t e s / s t a t i c - p o d s \" ,   \" s y n c F r e q u e n c y \" :   \" 1 m 0 s \" ,   \" f i l e C h e c k F r e q u e n c y \" :   \" 2 0 s \" ,   \" h t t p C h e c k F r e q u e n c y \" :   \" 2 0 s \" ,   \" a d d r e s s \" :   \" 1 9 2 . 1 6 8 . 1 . 1 6 \" ,   \" p o r t \" :   1 0 2 5 0 ,   \" r e a d O n l y P o r t \" :   1 0 2 5 5 ,   \" t l s C e r t F i l e \" :   \" / v a r / l i b / k u b e l e t / p k i / k u b e l e t . c r t \" ,   \" t l s P r i v a t e K e y F i l e \" :   \" / v a r / l i b / k u b e l e t / p k i / k u b e l e t . k e y \" ,   \" r o t a t e C e r t i f i c a t e s \" :   t r u e ,   \" a u t h e n t i c a t i o n \" :   {   \" x 5 0 9 \" :   {   \" c l i e n t C A F i l e \" :   \" / v a r / r u n / k u b e r n e t e s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17940"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   k u b e l e t   c o n f i g u r a t i o n   b y   c h e c k i n g   t h e   K u b e l e t C o n f i g u r a t i o n   r e f e r e n c e . L e a r n   m o r e   a b o u t   k u b e l e t   c o n f i g u r a t i o n   m e r g i n g   i n   t h e   r e f e r e n c e   d o c u m e n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17941"
  },
  {
    "question": "What is 2.36 - Share a Cluster with Namespaces?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   v i e w ,   w o r k   i n ,   a n d   d e l e t e   n a m e s p a c e s .   T h e   p a g e   a l s o   s h o w s   h o w   t o   u s e   K u b e r n e t e s   n a m e s p a c e s   t o   s u b d i v i d e   y o u r   c l u s t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17942"
  },
  {
    "question": "What is Before you begin?",
    "answer": "H a v e   a n   e x i s t i n g   K u b e r n e t e s   c l u s t e r . Y o u   h a v e   a   b a s i c   u n d e r s t a n d i n g   o f   K u b e r n e t e s   P o d s ,   S e r v i c e s ,   a n d   D e p l o y m e n t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17943"
  },
  {
    "question": "What is Viewing namespaces?",
    "answer": "L i s t   t h e   c u r r e n t   n a m e s p a c e s   i n   a   c l u s t e r   u s i n g :   k u b e c t l   g e t   n a m e s p a c e s   N A M E   S T A T U S   A G E   d e f a u l t   A c t i v e   1 1 d   k u b e - n o d e - l e a s e   A c t i v e   1 1 d   k u b e - p u b l i c   A c t i v e   1 1 d   k u b e - s y s t e m   A c t i v e   1 1 d   K u b e r n e t e s   s t a r t s   w i t h   f o u r   i n i t i a l   n a m e s p a c e s :   d e f a u l t   T h e   d e f a u l t   n a m e s p a c e   f o r   o b j e c t s   w i t h   n o   o t h e r   n a m e s p a c e k u b e - n o d e - l e a s e   T h i s   n a m e s p a c e   h o l d s   L e a s e   o b j e c t s   a s s o c i a t e d   w i t h   e a c h   n o d e .   N o d e   l e a s e s   a l l o w   t h e   k u b e l e t   t o   s e n d   h e a r t b e a t s   s o   t h a t   t h e   c o n t r o l   p l a n e   c a n   d e t e c t   n o d e   f a i l u r e . k u b e - p u b l i c   T h i s   n a m e s p a c e   i s   c r e a t e d   a u t o m a t i c a l l y   a n d   i s   r e a d a b l e   b y   a l l   u s e r s   ( i n c l u d i n g   t h o s e   n o t   a u t h e n t i c a t e d ) .   T h i s   n a m e s p a c e   i s   m o s t l y   r e s e r v e d   f o r   c l u s t e r   u s a g e ,   i n   c a s e   t h a t   s o m e   r e s o u r c e s   s h o u l d   b e   v i s i b l e   a n d   r e a d a b l e   p u b l i c l y   t h r o u g h o u t   t h e   w h o l e   c l u s t e r .   T h e   p u b l i c   a s p e c t   o f   t h i s   n a m e s p a c e   i s   o n l y   a   c o n v e n t i o n ,   n o t   a   r e q u i r e m e n t . k u b e - s y s t e m   T h e   n a m e s p a c e   f o r   o b j e c t s   c r e a t e d   b y   t h e   K u b e r n e t e s   s y s t e m   Y o u   c a n   a l s o   g e t   t h e   s u m m a r y   o f   a   s p e c i f i c   n a m e s p a c e   u s i n g :   k u b e c t l   g e t   n a m e s p a c e s   < n a m e >   O r   y o u   c a n   g e t   d e t a i l e d   i ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17944"
  },
  {
    "question": "What is Note:?",
    "answer": "C r e a t e   a   n e w   Y A M L   f i l e   c a l l e d   m y - n a m e s p a c e . y a m l   w i t h   t h e   c o n t e n t s :   a p i V e r s i o n :   v 1   k i n d :   N a m e s p a c e   m e t a d a t a :   n a m e :   < i n s e r t - n a m e s p a c e - n a m e - h e r e >   T h e n   r u n :   k u b e c t l   c r e a t e   - f   . / m y - n a m e s p a c e . y a m l   A l t e r n a t i v e l y ,   y o u   c a n   c r e a t e   n a m e s p a c e   u s i n g   b e l o w   c o m m a n d :   k u b e c t l   c r e a t e   n a m e s p a c e   < i n s e r t - n a m e s p a c e - n a m e - h e r e >   T h e   n a m e   o f   y o u r   n a m e s p a c e   m u s t   b e   a   v a l i d   D N S   l a b e l .   T h e r e ' s   a n   o p t i o n a l   f i e l d   f i n a l i z e r s ,   w h i c h   a l l o w s   o b s e r v a b l e s   t o   p u r g e   r e s o u r c e s   w h e n e v e r   t h e   n a m e s p a c e   i s   d e l e t e d .   K e e p   i n   m i n d   t h a t   i f   y o u   s p e c i f y   a   n o n e x i s t e n t   f i n a l i z e r ,   t h e   n a m e s p a c e   w i l l   b e   c r e a t e d   b u t   w i l l   g e t   s t u c k   i n   t h e   T e r m i n a t i n g   s t a t e   i f   t h e   u s e r   t r i e s   t o   d e l e t e   i t .   M o r e   i n f o r m a t i o n   o n   f i n a l i z e r s   c a n   b e   f o u n d   i n   t h e   n a m e s p a c e   d e s i g n   d o c .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17945"
  },
  {
    "question": "What is Deleting a namespace?",
    "answer": "D e l e t e   a   n a m e s p a c e   w i t h   k u b e c t l   d e l e t e   n a m e s p a c e s   < i n s e r t - s o m e - n a m e s p a c e - n a m e >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17946"
  },
  {
    "question": "What is Warning:?",
    "answer": "T h i s   d e l e t e   i s   a s y n c h r o n o u s ,   s o   f o r   a   t i m e   y o u   w i l l   s e e   t h e   n a m e s p a c e   i n   t h e   T e r m i n a t i n g   s t a t e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17947"
  },
  {
    "question": "What is Subdividing your cluster using Kubernetes namespaces?",
    "answer": "B y   d e f a u l t ,   a   K u b e r n e t e s   c l u s t e r   w i l l   i n s t a n t i a t e   a   d e f a u l t   n a m e s p a c e   w h e n   p r o v i s i o n i n g   t h e   c l u s t e r   t o   h o l d   t h e   d e f a u l t   s e t   o f   P o d s ,   S e r v i c e s ,   a n d   D e p l o y m e n t s   u s e d   b y   t h e   c l u s t e r .   A s s u m i n g   y o u   h a v e   a   f r e s h   c l u s t e r ,   y o u   c a n   i n t r o s p e c t   t h e   a v a i l a b l e   n a m e s p a c e s   b y   d o i n g   t h e   f o l l o w i n g :   k u b e c t l   g e t   n a m e s p a c e s   N A M E   S T A T U S   A G E   d e f a u l t   A c t i v e   1 3 m",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17948"
  },
  {
    "question": "What is Create new namespaces?",
    "answer": "F o r   t h i s   e x e r c i s e ,   w e   w i l l   c r e a t e   t w o   a d d i t i o n a l   K u b e r n e t e s   n a m e s p a c e s   t o   h o l d   o u r   c o n t e n t .   I n   a   s c e n a r i o   w h e r e   a n   o r g a n i z a t i o n   i s   u s i n g   a   s h a r e d   K u b e r n e t e s   c l u s t e r   f o r   d e v e l o p m e n t   a n d   p r o d u c t i o n   u s e   c a s e s :   T h e   d e v e l o p m e n t   t e a m   w o u l d   l i k e   t o   m a i n t a i n   a   s p a c e   i n   t h e   c l u s t e r   w h e r e   t h e y   c a n   g e t   a   v i e w   o n   t h e   l i s t   o f   P o d s ,   S e r v i c e s ,   a n d   D e p l o y m e n t s   t h e y   u s e   t o   b u i l d   a n d   r u n   t h e i r   a p p l i c a t i o n .   I n   t h i s   s p a c e ,   K u b e r n e t e s   r e s o u r c e s   c o m e   a n d   g o ,   a n d   t h e   r e s t r i c t i o n s   o n   w h o   c a n   o r   c a n n o t   m o d i f y   r e s o u r c e s   a r e   r e l a x e d   t o   e n a b l e   a g i l e   d e v e l o p m e n t . T h e   o p e r a t i o n s   t e a m   w o u l d   l i k e   t o   m a i n t a i n   a   s p a c e   i n   t h e   c l u s t e r   w h e r e   t h e y   c a n   e n f o r c e   s t r i c t   p r o c e d u r e s   o n   w h o   c a n   o r   c a n n o t   m a n i p u l a t e   t h e   s e t   o f   P o d s ,   S e r v i c e s ,   a n d   D e p l o y m e n t s   t h a t   r u n   t h e   p r o d u c t i o n   s i t e .   T h e   d e v e l o p m e n t   t e a m   w o u l d   l i k e   t o   m a i n t a i n   a   s p a c e   i n   t h e   c l u s t e r   w h e r e   t h e y   c a n   g e t   a   v i e w   o n   t h e   l i s t   o f   P o d s ,   S e r v i c e s ,   a n d   D e p l o y m e n t s   t h e y   u s e   t o   b u i l d   a n d   r u n   t h e i r   a p p l i c a t i o n .   I n   t h i s   s p a c e ,   K u b e r n e t e s   r e s o u r c e s   c o m e   a n d   g o ,   a n d   t h e   r e s t r i ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17949"
  },
  {
    "question": "What is Create pods in each namespace?",
    "answer": "A   K u b e r n e t e s   n a m e s p a c e   p r o v i d e s   t h e   s c o p e   f o r   P o d s ,   S e r v i c e s ,   a n d   D e p l o y m e n t s   i n   t h e   c l u s t e r .   U s e r s   i n t e r a c t i n g   w i t h   o n e   n a m e s p a c e   d o   n o t   s e e   t h e   c o n t e n t   i n   a n o t h e r   n a m e s p a c e .   T o   d e m o n s t r a t e   t h i s ,   l e t ' s   s p i n   u p   a   s i m p l e   D e p l o y m e n t   a n d   P o d s   i n   t h e   d e v e l o p m e n t   n a m e s p a c e .   k u b e c t l   c r e a t e   d e p l o y m e n t   s n o w f l a k e   \\   - - i m a g e = r e g i s t r y . k 8 s . i o / s e r v e _ h o s t n a m e   \\   - n = d e v e l o p m e n t   - - r e p l i c a s = 2   W e   h a v e   c r e a t e d   a   d e p l o y m e n t   w h o s e   r e p l i c a   s i z e   i s   2   t h a t   i s   r u n n i n g   t h e   p o d   c a l l e d   s n o w f l a k e   w i t h   a   b a s i c   c o n t a i n e r   t h a t   s e r v e s   t h e   h o s t n a m e .   k u b e c t l   g e t   d e p l o y m e n t   - n = d e v e l o p m e n t   N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   s n o w f l a k e   2 / 2   2   2   2 m   k u b e c t l   g e t   p o d s   - l   a p p = s n o w f l a k e   - n = d e v e l o p m e n t   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   s n o w f l a k e - 3 9 6 8 8 2 0 9 5 0 - 9 d g r 8   1 / 1   R u n n i n g   0   2 m   s n o w f l a k e - 3 9 6 8 8 2 0 9 5 0 - v g c 4 n   1 / 1   R u n n i n g   0   2 m   A n d   t h i s   i s   g r e a t ,   d e v e l o p e r s   a r e   a b l e   t o   d o   w h a t   t h e y   w a n t ,   a n d   t h e y   d o   n o t   h a v e   t o   w o r r y   a b o u t   a f f e c t i n g   c o n t e n t   i n   t h e   p r o d u c t i o n   n a m e s p a c e .   L e t ' s   s w i t c h   t o   t h e   p r o d u c t i o n   n a m e s p a c e   a n d   s h o w   h o w   r e s o u r c e s   i n   o n e   n a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17950"
  },
  {
    "question": "What is Understanding the motivation for using namespaces?",
    "answer": "A   s i n g l e   c l u s t e r   s h o u l d   b e   a b l e   t o   s a t i s f y   t h e   n e e d s   o f   m u l t i p l e   u s e r s   o r   g r o u p s   o f   u s e r s   ( h e n c e f o r t h   i n   t h i s   d o c u m e n t   a   u s e r   c o m m u n i t y ) .   K u b e r n e t e s   n a m e s p a c e s   h e l p   d i f f e r e n t   p r o j e c t s ,   t e a m s ,   o r   c u s t o m e r s   t o   s h a r e   a   K u b e r n e t e s   c l u s t e r .   I t   d o e s   t h i s   b y   p r o v i d i n g   t h e   f o l l o w i n g :   A   s c o p e   f o r   n a m e s . A   m e c h a n i s m   t o   a t t a c h   a u t h o r i z a t i o n   a n d   p o l i c y   t o   a   s u b s e c t i o n   o f   t h e   c l u s t e r .   U s e   o f   m u l t i p l e   n a m e s p a c e s   i s   o p t i o n a l .   E a c h   u s e r   c o m m u n i t y   w a n t s   t o   b e   a b l e   t o   w o r k   i n   i s o l a t i o n   f r o m   o t h e r   c o m m u n i t i e s .   E a c h   u s e r   c o m m u n i t y   h a s   i t s   o w n :   r e s o u r c e s   ( p o d s ,   s e r v i c e s ,   r e p l i c a t i o n   c o n t r o l l e r s ,   e t c . ) p o l i c i e s   ( w h o   c a n   o r   c a n n o t   p e r f o r m   a c t i o n s   i n   t h e i r   c o m m u n i t y ) c o n s t r a i n t s   ( t h i s   c o m m u n i t y   i s   a l l o w e d   t h i s   m u c h   q u o t a ,   e t c . )   A   c l u s t e r   o p e r a t o r   m a y   c r e a t e   a   N a m e s p a c e   f o r   e a c h   u n i q u e   u s e r   c o m m u n i t y .   T h e   N a m e s p a c e   p r o v i d e s   a   u n i q u e   s c o p e   f o r :   n a m e d   r e s o u r c e s   ( t o   a v o i d   b a s i c   n a m i n g   c o l l i s i o n s ) d e l e g a t e d   m a n a g e m e n t   a u t h o r i t y   t o   t r u s t e d   u s e r s a b i l i t y   t o   l i m i t   c o m m u n i t y   r e s o u r c e   c o n s u m p t i o n   U s e   c a s e s   i n c l u d e :   A s   a   c l u ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17951"
  },
  {
    "question": "What is Understanding namespaces and DNS?",
    "answer": "W h e n   y o u   c r e a t e   a   S e r v i c e ,   i t   c r e a t e s   a   c o r r e s p o n d i n g   D N S   e n t r y .   T h i s   e n t r y   i s   o f   t h e   f o r m   < s e r v i c e - n a m e > . < n a m e s p a c e - n a m e > . s v c . c l u s t e r . l o c a l ,   w h i c h   m e a n s   t h a t   i f   a   c o n t a i n e r   u s e s   < s e r v i c e - n a m e >   i t   w i l l   r e s o l v e   t o   t h e   s e r v i c e   w h i c h   i s   l o c a l   t o   a   n a m e s p a c e .   T h i s   i s   u s e f u l   f o r   u s i n g   t h e   s a m e   c o n f i g u r a t i o n   a c r o s s   m u l t i p l e   n a m e s p a c e s   s u c h   a s   D e v e l o p m e n t ,   S t a g i n g   a n d   P r o d u c t i o n .   I f   y o u   w a n t   t o   r e a c h   a c r o s s   n a m e s p a c e s ,   y o u   n e e d   t o   u s e   t h e   f u l l y   q u a l i f i e d   d o m a i n   n a m e   ( F Q D N ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17952"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   s e t t i n g   t h e   n a m e s p a c e   p r e f e r e n c e . L e a r n   m o r e   a b o u t   s e t t i n g   t h e   n a m e s p a c e   f o r   a   r e q u e s t S e e   n a m e s p a c e s   d e s i g n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17953"
  },
  {
    "question": "What is 2.37 - Upgrade A Cluster?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   o f   t h e   s t e p s   y o u   s h o u l d   f o l l o w   t o   u p g r a d e   a   K u b e r n e t e s   c l u s t e r .   T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   u p g r a d i n g   t o   t h e   l a t e s t   p a t c h   r e l e a s e s   p r o m p t l y ,   a n d   t o   e n s u r e   t h a t   y o u   a r e   r u n n i n g   a   s u p p o r t e d   m i n o r   r e l e a s e   o f   K u b e r n e t e s .   F o l l o w i n g   t h i s   r e c o m m e n d a t i o n   h e l p s   y o u   t o   s t a y   s e c u r e .   T h e   w a y   t h a t   y o u   u p g r a d e   a   c l u s t e r   d e p e n d s   o n   h o w   y o u   i n i t i a l l y   d e p l o y e d   i t   a n d   o n   a n y   s u b s e q u e n t   c h a n g e s .   A t   a   h i g h   l e v e l ,   t h e   s t e p s   y o u   p e r f o r m   a r e :   U p g r a d e   t h e   c o n t r o l   p l a n e U p g r a d e   t h e   n o d e s   i n   y o u r   c l u s t e r U p g r a d e   c l i e n t s   s u c h   a s   k u b e c t l A d j u s t   m a n i f e s t s   a n d   o t h e r   r e s o u r c e s   b a s e d   o n   t h e   A P I   c h a n g e s   t h a t   a c c o m p a n y   t h e   n e w   K u b e r n e t e s   v e r s i o n",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17954"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   m u s t   h a v e   a n   e x i s t i n g   c l u s t e r .   T h i s   p a g e   i s   a b o u t   u p g r a d i n g   f r o m   K u b e r n e t e s   1 . 3 3   t o   K u b e r n e t e s   1 . 3 4 .   I f   y o u r   c l u s t e r   i s   n o t   c u r r e n t l y   r u n n i n g   K u b e r n e t e s   1 . 3 3   t h e n   p l e a s e   c h e c k   t h e   d o c u m e n t a t i o n   f o r   t h e   v e r s i o n   o f   K u b e r n e t e s   t h a t   y o u   p l a n   t o   u p g r a d e   t o .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17955"
  },
  {
    "question": "What is kubeadm?",
    "answer": "I f   y o u r   c l u s t e r   w a s   d e p l o y e d   u s i n g   t h e   k u b e a d m   t o o l ,   r e f e r   t o   U p g r a d i n g   k u b e a d m   c l u s t e r s   f o r   d e t a i l e d   i n f o r m a t i o n   o n   h o w   t o   u p g r a d e   t h e   c l u s t e r .   O n c e   y o u   h a v e   u p g r a d e d   t h e   c l u s t e r ,   r e m e m b e r   t o   i n s t a l l   t h e   l a t e s t   v e r s i o n   o f   k u b e c t l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17956"
  },
  {
    "question": "What is Caution:?",
    "answer": "Y o u   s h o u l d   m a n u a l l y   u p d a t e   t h e   c o n t r o l   p l a n e   f o l l o w i n g   t h i s   s e q u e n c e :   e t c d   ( a l l   i n s t a n c e s ) k u b e - a p i s e r v e r   ( a l l   c o n t r o l   p l a n e   h o s t s ) k u b e - c o n t r o l l e r - m a n a g e r k u b e - s c h e d u l e r c l o u d   c o n t r o l l e r   m a n a g e r ,   i f   y o u   u s e   o n e   A t   t h i s   p o i n t   y o u   s h o u l d   i n s t a l l   t h e   l a t e s t   v e r s i o n   o f   k u b e c t l .   F o r   e a c h   n o d e   i n   y o u r   c l u s t e r ,   d r a i n   t h a t   n o d e   a n d   t h e n   e i t h e r   r e p l a c e   i t   w i t h   a   n e w   n o d e   t h a t   u s e s   t h e   1 . 3 4   k u b e l e t ,   o r   u p g r a d e   t h e   k u b e l e t   o n   t h a t   n o d e   a n d   b r i n g   t h e   n o d e   b a c k   i n t o   s e r v i c e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17957"
  },
  {
    "question": "What is Other deployments?",
    "answer": "R e f e r   t o   t h e   d o c u m e n t a t i o n   f o r   y o u r   c l u s t e r   d e p l o y m e n t   t o o l   t o   l e a r n   t h e   r e c o m m e n d e d   s e t   u p   s t e p s   f o r   m a i n t e n a n c e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17958"
  },
  {
    "question": "What is Switch your cluster's storage API version?",
    "answer": "T h e   o b j e c t s   t h a t   a r e   s e r i a l i z e d   i n t o   e t c d   f o r   a   c l u s t e r ' s   i n t e r n a l   r e p r e s e n t a t i o n   o f   t h e   K u b e r n e t e s   r e s o u r c e s   a c t i v e   i n   t h e   c l u s t e r   a r e   w r i t t e n   u s i n g   a   p a r t i c u l a r   v e r s i o n   o f   t h e   A P I .   W h e n   t h e   s u p p o r t e d   A P I   c h a n g e s ,   t h e s e   o b j e c t s   m a y   n e e d   t o   b e   r e w r i t t e n   i n   t h e   n e w e r   A P I .   F a i l u r e   t o   d o   t h i s   w i l l   e v e n t u a l l y   r e s u l t   i n   r e s o u r c e s   t h a t   a r e   n o   l o n g e r   d e c o d a b l e   o r   u s a b l e   b y   t h e   K u b e r n e t e s   A P I   s e r v e r .   F o r   e a c h   a f f e c t e d   o b j e c t ,   f e t c h   i t   u s i n g   t h e   l a t e s t   s u p p o r t e d   A P I   a n d   t h e n   w r i t e   i t   b a c k   a l s o   u s i n g   t h e   l a t e s t   s u p p o r t e d   A P I .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17959"
  },
  {
    "question": "What is Update manifests?",
    "answer": "U p g r a d i n g   t o   a   n e w   K u b e r n e t e s   v e r s i o n   c a n   p r o v i d e   n e w   A P I s .   Y o u   c a n   u s e   k u b e c t l   c o n v e r t   c o m m a n d   t o   c o n v e r t   m a n i f e s t s   b e t w e e n   d i f f e r e n t   A P I   v e r s i o n s .   F o r   e x a m p l e :   k u b e c t l   c o n v e r t   - f   p o d . y a m l   - - o u t p u t - v e r s i o n   v 1   T h e   k u b e c t l   t o o l   r e p l a c e s   t h e   c o n t e n t s   o f   p o d . y a m l   w i t h   a   m a n i f e s t   t h a t   s e t s   k i n d   t o   P o d   ( u n c h a n g e d ) ,   b u t   w i t h   a   r e v i s e d   a p i V e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17960"
  },
  {
    "question": "What is Device Plugins?",
    "answer": "I f   y o u r   c l u s t e r   i s   r u n n i n g   d e v i c e   p l u g i n s   a n d   t h e   n o d e   n e e d s   t o   b e   u p g r a d e d   t o   a   K u b e r n e t e s   r e l e a s e   w i t h   a   n e w e r   d e v i c e   p l u g i n   A P I   v e r s i o n ,   d e v i c e   p l u g i n s   m u s t   b e   u p g r a d e d   t o   s u p p o r t   b o t h   v e r s i o n   b e f o r e   t h e   n o d e   i s   u p g r a d e d   i n   o r d e r   t o   g u a r a n t e e   t h a t   d e v i c e   a l l o c a t i o n s   c o n t i n u e   t o   c o m p l e t e   s u c c e s s f u l l y   d u r i n g   t h e   u p g r a d e .   R e f e r   t o   A P I   c o m p a t i b i l i t y   a n d   K u b e l e t   D e v i c e   M a n a g e r   A P I   V e r s i o n s   f o r   m o r e   d e t a i l s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17961"
  },
  {
    "question": "What is 2.38 - Use Cascading Deletion in a Cluster?",
    "answer": "T h i s   p a g e   s h o w s   y o u   h o w   t o   s p e c i f y   t h e   t y p e   o f   c a s c a d i n g   d e l e t i o n   t o   u s e   i n   y o u r   c l u s t e r   d u r i n g   g a r b a g e   c o l l e c t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17962"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   a l s o   n e e d   t o   c r e a t e   a   s a m p l e   D e p l o y m e n t   t o   e x p e r i m e n t   w i t h   t h e   d i f f e r e n t   t y p e s   o f   c a s c a d i n g   d e l e t i o n .   Y o u   w i l l   n e e d   t o   r e c r e a t e   t h e   D e p l o y m e n t   f o r   e a c h   t y p e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17963"
  },
  {
    "question": "What is Check owner references on your pods?",
    "answer": "C h e c k   t h a t   t h e   o w n e r R e f e r e n c e s   f i e l d   i s   p r e s e n t   o n   y o u r   p o d s :   k u b e c t l   g e t   p o d s   - l   a p p = n g i n x   - - o u t p u t = y a m l   T h e   o u t p u t   h a s   a n   o w n e r R e f e r e n c e s   f i e l d   s i m i l a r   t o   t h i s :   a p i V e r s i o n :   v 1   . . .   o w n e r R e f e r e n c e s :   -   a p i V e r s i o n :   a p p s / v 1   b l o c k O w n e r D e l e t i o n :   t r u e   c o n t r o l l e r :   t r u e   k i n d :   R e p l i c a S e t   n a m e :   n g i n x - d e p l o y m e n t - 6 b 4 7 4 4 7 6 c 4   u i d :   4 f d c d 8 1 c - b d 5 d - 4 1 f 7 - 9 7 a f - 3 a 3 b 7 5 9 a f 9 a 7   . . .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17964"
  },
  {
    "question": "What is Use foreground cascading deletion?",
    "answer": "B y   d e f a u l t ,   K u b e r n e t e s   u s e s   b a c k g r o u n d   c a s c a d i n g   d e l e t i o n   t o   d e l e t e   d e p e n d e n t s   o f   a n   o b j e c t .   Y o u   c a n   s w i t c h   t o   f o r e g r o u n d   c a s c a d i n g   d e l e t i o n   u s i n g   e i t h e r   k u b e c t l   o r   t h e   K u b e r n e t e s   A P I ,   d e p e n d i n g   o n   t h e   K u b e r n e t e s   v e r s i o n   y o u r   c l u s t e r   r u n s . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   c a n   d e l e t e   o b j e c t s   u s i n g   f o r e g r o u n d   c a s c a d i n g   d e l e t i o n   u s i n g   k u b e c t l   o r   t h e   K u b e r n e t e s   A P I .   U s i n g   k u b e c t l   R u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   d e l e t e   d e p l o y m e n t   n g i n x - d e p l o y m e n t   - - c a s c a d e = f o r e g r o u n d   U s i n g   t h e   K u b e r n e t e s   A P I   S t a r t   a   l o c a l   p r o x y   s e s s i o n : k u b e c t l   p r o x y   - - p o r t = 8 0 8 0   U s e   c u r l   t o   t r i g g e r   d e l e t i o n : c u r l   - X   D E L E T E   l o c a l h o s t : 8 0 8 0 / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / d e p l o y m e n t s / n g i n x - d e p l o y m e n t   \\   - d   ' { \" k i n d \" : \" D e l e t e O p t i o n s \" , \" a p i V e r s i o n \" : \" v 1 \" , \" p r o p a g a t i o n P o l i c y \" : \" F o r e g r o u n d \" } '   \\   - H   \" C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n \"   T h e   o u t p u t   c o n t a i n s   a   f o r e g r o u n d D e l e t i o n   f i n a l i z e r   l i k e   t h i s : \" k i n d \" :   \" D e p l o y m e n t \" ,   \" a p i V e r s i o n \" :   \" a p p s / v 1 \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" n g i n x - d e p l o y m e n t \" ,   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17965"
  },
  {
    "question": "What is Use background cascading deletion?",
    "answer": "C r e a t e   a   s a m p l e   D e p l o y m e n t . U s e   e i t h e r   k u b e c t l   o r   t h e   K u b e r n e t e s   A P I   t o   d e l e t e   t h e   D e p l o y m e n t ,   d e p e n d i n g   o n   t h e   K u b e r n e t e s   v e r s i o n   y o u r   c l u s t e r   r u n s . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   c a n   d e l e t e   o b j e c t s   u s i n g   b a c k g r o u n d   c a s c a d i n g   d e l e t i o n   u s i n g   k u b e c t l   o r   t h e   K u b e r n e t e s   A P I .   K u b e r n e t e s   u s e s   b a c k g r o u n d   c a s c a d i n g   d e l e t i o n   b y   d e f a u l t ,   a n d   d o e s   s o   e v e n   i f   y o u   r u n   t h e   f o l l o w i n g   c o m m a n d s   w i t h o u t   t h e   - - c a s c a d e   f l a g   o r   t h e   p r o p a g a t i o n P o l i c y   a r g u m e n t .   U s i n g   k u b e c t l   R u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   d e l e t e   d e p l o y m e n t   n g i n x - d e p l o y m e n t   - - c a s c a d e = b a c k g r o u n d   U s i n g   t h e   K u b e r n e t e s   A P I   S t a r t   a   l o c a l   p r o x y   s e s s i o n : k u b e c t l   p r o x y   - - p o r t = 8 0 8 0   U s e   c u r l   t o   t r i g g e r   d e l e t i o n : c u r l   - X   D E L E T E   l o c a l h o s t : 8 0 8 0 / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / d e p l o y m e n t s / n g i n x - d e p l o y m e n t   \\   - d   ' { \" k i n d \" : \" D e l e t e O p t i o n s \" , \" a p i V e r s i o n \" : \" v 1 \" , \" p r o p a g a t i o n P o l i c y \" : \" B a c k g r o u n d \" } '   \\   - H   \" C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n \"   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : \" k i n d \" :   \" S t a t u s \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   . . ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17966"
  },
  {
    "question": "What is Delete owner objects and orphan dependents?",
    "answer": "B y   d e f a u l t ,   w h e n   y o u   t e l l   K u b e r n e t e s   t o   d e l e t e   a n   o b j e c t ,   t h e   c o n t r o l l e r   a l s o   d e l e t e s   d e p e n d e n t   o b j e c t s .   Y o u   c a n   m a k e   K u b e r n e t e s   o r p h a n   t h e s e   d e p e n d e n t s   u s i n g   k u b e c t l   o r   t h e   K u b e r n e t e s   A P I ,   d e p e n d i n g   o n   t h e   K u b e r n e t e s   v e r s i o n   y o u r   c l u s t e r   r u n s . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   U s i n g   k u b e c t l   R u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   d e l e t e   d e p l o y m e n t   n g i n x - d e p l o y m e n t   - - c a s c a d e = o r p h a n   U s i n g   t h e   K u b e r n e t e s   A P I   S t a r t   a   l o c a l   p r o x y   s e s s i o n : k u b e c t l   p r o x y   - - p o r t = 8 0 8 0   U s e   c u r l   t o   t r i g g e r   d e l e t i o n : c u r l   - X   D E L E T E   l o c a l h o s t : 8 0 8 0 / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / d e p l o y m e n t s / n g i n x - d e p l o y m e n t   \\   - d   ' { \" k i n d \" : \" D e l e t e O p t i o n s \" , \" a p i V e r s i o n \" : \" v 1 \" , \" p r o p a g a t i o n P o l i c y \" : \" O r p h a n \" } '   \\   - H   \" C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n \"   T h e   o u t p u t   c o n t a i n s   o r p h a n   i n   t h e   f i n a l i z e r s   f i e l d ,   s i m i l a r   t o   t h i s : \" k i n d \" :   \" D e p l o y m e n t \" ,   \" a p i V e r s i o n \" :   \" a p p s / v 1 \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \" ,   \" u i d \" :   \" 6 f 5 7 7 0 3 4 - 4 2 a 0 - 4 7 9 d - b e 2 1 - 7 8 0 1 8 c 4 6 6 f 1 f \" ,   \" c r e a t i o n T i m e s t a m p \" :   \" 2 0 2 1 - 0 7 - 0 9 T 1 6 : 4 6 : 3 7 Z \" ,   \" d e l e t i o n T i m e s t a m p ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17967"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   o w n e r s   a n d   d e p e n d e n t s   i n   K u b e r n e t e s . L e a r n   a b o u t   K u b e r n e t e s   f i n a l i z e r s . L e a r n   a b o u t   g a r b a g e   c o l l e c t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17968"
  },
  {
    "question": "What is 2.39 - Using a KMS provider for data encryption?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   a   K e y   M a n a g e m e n t   S e r v i c e   ( K M S )   p r o v i d e r   a n d   p l u g i n   t o   e n a b l e   s e c r e t   d a t a   e n c r y p t i o n .   I n   K u b e r n e t e s   1 . 3 4   t h e r e   a r e   t w o   v e r s i o n s   o f   K M S   a t - r e s t   e n c r y p t i o n .   Y o u   s h o u l d   u s e   K M S   v 2   i f   f e a s i b l e   b e c a u s e   K M S   v 1   i s   d e p r e c a t e d   ( s i n c e   K u b e r n e t e s   v 1 . 2 8 )   a n d   d i s a b l e d   b y   d e f a u l t   ( s i n c e   K u b e r n e t e s   v 1 . 2 9 ) .   K M S   v 2   o f f e r s   s i g n i f i c a n t l y   b e t t e r   p e r f o r m a n c e   c h a r a c t e r i s t i c s   t h a n   K M S   v 1 .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17969"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T h e   v e r s i o n   o f   K u b e r n e t e s   t h a t   y o u   n e e d   d e p e n d s   o n   w h i c h   K M S   A P I   v e r s i o n   y o u   h a v e   s e l e c t e d .   K u b e r n e t e s   r e c o m m e n d s   u s i n g   K M S   v 2 .   I f   y o u   s e l e c t e d   K M S   A P I   v 1   t o   s u p p o r t   c l u s t e r s   p r i o r   t o   v e r s i o n   v 1 . 2 7   o r   i f   y o u   h a v e   a   l e g a c y   K M S   p l u g i n   t h a t   o n l y   s u p p o r t s   K M S   v 1 ,   a n y   s u p p o r t e d   K u b e r n e t e s   v e r s i o n   w i l l   w o r k .   T h i s   A P I   i s   d e p r e c a t e d   a s   o f   K u b e r n e t e s   v 1 . 2 8 .   K u b e r n e t e s   d o e s   n o t   r e c o m m e n d   t h e   u s e   o f   t h i s   A P I .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17970"
  },
  {
    "question": "What is KMS v1?",
    "answer": "K u b e r n e t e s   v e r s i o n   1 . 1 0 . 0   o r   l a t e r   i s   r e q u i r e d F o r   v e r s i o n   1 . 2 9   a n d   l a t e r ,   t h e   v 1   i m p l e m e n t a t i o n   o f   K M S   i s   d i s a b l e d   b y   d e f a u l t .   T o   e n a b l e   t h e   f e a t u r e ,   s e t   - - f e a t u r e - g a t e s = K M S v 1 = t r u e   t o   c o n f i g u r e   a   K M S   v 1   p r o v i d e r . Y o u r   c l u s t e r   m u s t   u s e   e t c d   v 3   o r   l a t e r   K u b e r n e t e s   v e r s i o n   1 . 1 0 . 0   o r   l a t e r   i s   r e q u i r e d   F o r   v e r s i o n   1 . 2 9   a n d   l a t e r ,   t h e   v 1   i m p l e m e n t a t i o n   o f   K M S   i s   d i s a b l e d   b y   d e f a u l t .   T o   e n a b l e   t h e   f e a t u r e ,   s e t   - - f e a t u r e - g a t e s = K M S v 1 = t r u e   t o   c o n f i g u r e   a   K M S   v 1   p r o v i d e r .   Y o u r   c l u s t e r   m u s t   u s e   e t c d   v 3   o r   l a t e r",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17971"
  },
  {
    "question": "What is KMS v2?",
    "answer": "Y o u r   c l u s t e r   m u s t   u s e   e t c d   v 3   o r   l a t e r",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17972"
  },
  {
    "question": "What is KMS encryption and per-object encryption keys?",
    "answer": "T h e   K M S   e n c r y p t i o n   p r o v i d e r   u s e s   a n   e n v e l o p e   e n c r y p t i o n   s c h e m e   t o   e n c r y p t   d a t a   i n   e t c d .   T h e   d a t a   i s   e n c r y p t e d   u s i n g   a   d a t a   e n c r y p t i o n   k e y   ( D E K ) .   T h e   D E K s   a r e   e n c r y p t e d   w i t h   a   k e y   e n c r y p t i o n   k e y   ( K E K )   t h a t   i s   s t o r e d   a n d   m a n a g e d   i n   a   r e m o t e   K M S .   I f   y o u   u s e   t h e   ( d e p r e c a t e d )   v 1   i m p l e m e n t a t i o n   o f   K M S ,   a   n e w   D E K   i s   g e n e r a t e d   f o r   e a c h   e n c r y p t i o n .   W i t h   K M S   v 2 ,   a   n e w   D E K   i s   g e n e r a t e d   p e r   e n c r y p t i o n :   t h e   A P I   s e r v e r   u s e s   a   k e y   d e r i v a t i o n   f u n c t i o n   t o   g e n e r a t e   s i n g l e   u s e   d a t a   e n c r y p t i o n   k e y s   f r o m   a   s e c r e t   s e e d   c o m b i n e d   w i t h   s o m e   r a n d o m   d a t a .   T h e   s e e d   i s   r o t a t e d   w h e n e v e r   t h e   K E K   i s   r o t a t e d   ( s e e   t h e   U n d e r s t a n d i n g   k e y _ i d   a n d   K e y   R o t a t i o n   s e c t i o n   b e l o w   f o r   m o r e   d e t a i l s ) .   T h e   K M S   p r o v i d e r   u s e s   g R P C   t o   c o m m u n i c a t e   w i t h   a   s p e c i f i c   K M S   p l u g i n   o v e r   a   U N I X   d o m a i n   s o c k e t .   T h e   K M S   p l u g i n ,   w h i c h   i s   i m p l e m e n t e d   a s   a   g R P C   s e r v e r   a n d   d e p l o y e d   o n   t h e   s a m e   h o s t ( s )   a s   t h e   K u b e r n e t e s   c o n t r o l   p l a n e ,   i s   r e s p o n s i b l e   f o r   a l l   c o m m u n i c a t i o n   w i t h   t h e   r e m o t e   K M S .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17973"
  },
  {
    "question": "What is Configuring the KMS provider?",
    "answer": "T o   c o n f i g u r e   a   K M S   p r o v i d e r   o n   t h e   A P I   s e r v e r ,   i n c l u d e   a   p r o v i d e r   o f   t y p e   k m s   i n   t h e   p r o v i d e r s   a r r a y   i n   t h e   e n c r y p t i o n   c o n f i g u r a t i o n   f i l e   a n d   s e t   t h e   f o l l o w i n g   p r o p e r t i e s :",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17974"
  },
  {
    "question": "What is KMS v1?",
    "answer": "a p i V e r s i o n :   A P I   V e r s i o n   f o r   K M S   p r o v i d e r .   L e a v e   t h i s   v a l u e   e m p t y   o r   s e t   i t   t o   v 1 . n a m e :   D i s p l a y   n a m e   o f   t h e   K M S   p l u g i n .   C a n n o t   b e   c h a n g e d   o n c e   s e t . e n d p o i n t :   L i s t e n   a d d r e s s   o f   t h e   g R P C   s e r v e r   ( K M S   p l u g i n ) .   T h e   e n d p o i n t   i s   a   U N I X   d o m a i n   s o c k e t . c a c h e s i z e :   N u m b e r   o f   d a t a   e n c r y p t i o n   k e y s   ( D E K s )   t o   b e   c a c h e d   i n   t h e   c l e a r .   W h e n   c a c h e d ,   D E K s   c a n   b e   u s e d   w i t h o u t   a n o t h e r   c a l l   t o   t h e   K M S ;   w h e r e a s   D E K s   t h a t   a r e   n o t   c a c h e d   r e q u i r e   a   c a l l   t o   t h e   K M S   t o   u n w r a p . t i m e o u t :   H o w   l o n g   s h o u l d   k u b e - a p i s e r v e r   w a i t   f o r   k m s - p l u g i n   t o   r e s p o n d   b e f o r e   r e t u r n i n g   a n   e r r o r   ( d e f a u l t   i s   3   s e c o n d s ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17975"
  },
  {
    "question": "What is KMS v2?",
    "answer": "a p i V e r s i o n :   A P I   V e r s i o n   f o r   K M S   p r o v i d e r .   S e t   t h i s   t o   v 2 . n a m e :   D i s p l a y   n a m e   o f   t h e   K M S   p l u g i n .   C a n n o t   b e   c h a n g e d   o n c e   s e t . e n d p o i n t :   L i s t e n   a d d r e s s   o f   t h e   g R P C   s e r v e r   ( K M S   p l u g i n ) .   T h e   e n d p o i n t   i s   a   U N I X   d o m a i n   s o c k e t . t i m e o u t :   H o w   l o n g   s h o u l d   k u b e - a p i s e r v e r   w a i t   f o r   k m s - p l u g i n   t o   r e s p o n d   b e f o r e   r e t u r n i n g   a n   e r r o r   ( d e f a u l t   i s   3   s e c o n d s ) .   K M S   v 2   d o e s   n o t   s u p p o r t   t h e   c a c h e s i z e   p r o p e r t y .   A l l   d a t a   e n c r y p t i o n   k e y s   ( D E K s )   w i l l   b e   c a c h e d   i n   t h e   c l e a r   o n c e   t h e   s e r v e r   h a s   u n w r a p p e d   t h e m   v i a   a   c a l l   t o   t h e   K M S .   O n c e   c a c h e d ,   D E K s   c a n   b e   u s e d   t o   p e r f o r m   d e c r y p t i o n   i n d e f i n i t e l y   w i t h o u t   m a k i n g   a   c a l l   t o   t h e   K M S .   S e e   U n d e r s t a n d i n g   t h e   e n c r y p t i o n   a t   r e s t   c o n f i g u r a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17976"
  },
  {
    "question": "What is Implementing a KMS plugin?",
    "answer": "T o   i m p l e m e n t   a   K M S   p l u g i n ,   y o u   c a n   d e v e l o p   a   n e w   p l u g i n   g R P C   s e r v e r   o r   e n a b l e   a   K M S   p l u g i n   a l r e a d y   p r o v i d e d   b y   y o u r   c l o u d   p r o v i d e r .   Y o u   t h e n   i n t e g r a t e   t h e   p l u g i n   w i t h   t h e   r e m o t e   K M S   a n d   d e p l o y   i t   o n   t h e   K u b e r n e t e s   c o n t r o l   p l a n e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17977"
  },
  {
    "question": "What is Enabling the KMS supported by your cloud provider?",
    "answer": "R e f e r   t o   y o u r   c l o u d   p r o v i d e r   f o r   i n s t r u c t i o n s   o n   e n a b l i n g   t h e   c l o u d   p r o v i d e r - s p e c i f i c   K M S   p l u g i n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17978"
  },
  {
    "question": "What is Developing a KMS plugin gRPC server?",
    "answer": "Y o u   c a n   d e v e l o p   a   K M S   p l u g i n   g R P C   s e r v e r   u s i n g   a   s t u b   f i l e   a v a i l a b l e   f o r   G o .   F o r   o t h e r   l a n g u a g e s ,   y o u   u s e   a   p r o t o   f i l e   t o   c r e a t e   a   s t u b   f i l e   t h a t   y o u   c a n   u s e   t o   d e v e l o p   t h e   g R P C   s e r v e r   c o d e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17979"
  },
  {
    "question": "What is KMS v1?",
    "answer": "U s i n g   G o :   U s e   t h e   f u n c t i o n s   a n d   d a t a   s t r u c t u r e s   i n   t h e   s t u b   f i l e :   a p i . p b . g o   t o   d e v e l o p   t h e   g R P C   s e r v e r   c o d e U s i n g   l a n g u a g e s   o t h e r   t h a n   G o :   U s e   t h e   p r o t o c   c o m p i l e r   w i t h   t h e   p r o t o   f i l e :   a p i . p r o t o   t o   g e n e r a t e   a   s t u b   f i l e   f o r   t h e   s p e c i f i c   l a n g u a g e   U s i n g   G o :   U s e   t h e   f u n c t i o n s   a n d   d a t a   s t r u c t u r e s   i n   t h e   s t u b   f i l e :   a p i . p b . g o   t o   d e v e l o p   t h e   g R P C   s e r v e r   c o d e   U s i n g   l a n g u a g e s   o t h e r   t h a n   G o :   U s e   t h e   p r o t o c   c o m p i l e r   w i t h   t h e   p r o t o   f i l e :   a p i . p r o t o   t o   g e n e r a t e   a   s t u b   f i l e   f o r   t h e   s p e c i f i c   l a n g u a g e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17980"
  },
  {
    "question": "What is KMS v2?",
    "answer": "U s i n g   G o :   A   h i g h   l e v e l   l i b r a r y   i s   p r o v i d e d   t o   m a k e   t h e   p r o c e s s   e a s i e r .   L o w   l e v e l   i m p l e m e n t a t i o n s   c a n   u s e   t h e   f u n c t i o n s   a n d   d a t a   s t r u c t u r e s   i n   t h e   s t u b   f i l e :   a p i . p b . g o   t o   d e v e l o p   t h e   g R P C   s e r v e r   c o d e U s i n g   l a n g u a g e s   o t h e r   t h a n   G o :   U s e   t h e   p r o t o c   c o m p i l e r   w i t h   t h e   p r o t o   f i l e :   a p i . p r o t o   t o   g e n e r a t e   a   s t u b   f i l e   f o r   t h e   s p e c i f i c   l a n g u a g e   U s i n g   G o :   A   h i g h   l e v e l   l i b r a r y   i s   p r o v i d e d   t o   m a k e   t h e   p r o c e s s   e a s i e r .   L o w   l e v e l   i m p l e m e n t a t i o n s   c a n   u s e   t h e   f u n c t i o n s   a n d   d a t a   s t r u c t u r e s   i n   t h e   s t u b   f i l e :   a p i . p b . g o   t o   d e v e l o p   t h e   g R P C   s e r v e r   c o d e   U s i n g   l a n g u a g e s   o t h e r   t h a n   G o :   U s e   t h e   p r o t o c   c o m p i l e r   w i t h   t h e   p r o t o   f i l e :   a p i . p r o t o   t o   g e n e r a t e   a   s t u b   f i l e   f o r   t h e   s p e c i f i c   l a n g u a g e   T h e n   u s e   t h e   f u n c t i o n s   a n d   d a t a   s t r u c t u r e s   i n   t h e   s t u b   f i l e   t o   d e v e l o p   t h e   s e r v e r   c o d e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17981"
  },
  {
    "question": "What is KMS v1?",
    "answer": "k m s   p l u g i n   v e r s i o n :   v 1 b e t a 1 I n   r e s p o n s e   t o   p r o c e d u r e   c a l l   V e r s i o n ,   a   c o m p a t i b l e   K M S   p l u g i n   s h o u l d   r e t u r n   v 1 b e t a 1   a s   V e r s i o n R e s p o n s e . v e r s i o n . m e s s a g e   v e r s i o n :   v 1 b e t a 1 A l l   m e s s a g e s   f r o m   K M S   p r o v i d e r   h a v e   t h e   v e r s i o n   f i e l d   s e t   t o   v 1 b e t a 1 . p r o t o c o l :   U N I X   d o m a i n   s o c k e t   ( u n i x ) T h e   p l u g i n   i s   i m p l e m e n t e d   a s   a   g R P C   s e r v e r   t h a t   l i s t e n s   a t   U N I X   d o m a i n   s o c k e t .   T h e   p l u g i n   d e p l o y m e n t   s h o u l d   c r e a t e   a   f i l e   o n   t h e   f i l e   s y s t e m   t o   r u n   t h e   g R P C   u n i x   d o m a i n   s o c k e t   c o n n e c t i o n .   T h e   A P I   s e r v e r   ( g R P C   c l i e n t )   i s   c o n f i g u r e d   w i t h   t h e   K M S   p r o v i d e r   ( g R P C   s e r v e r )   u n i x   d o m a i n   s o c k e t   e n d p o i n t   i n   o r d e r   t o   c o m m u n i c a t e   w i t h   i t .   A n   a b s t r a c t   L i n u x   s o c k e t   m a y   b e   u s e d   b y   s t a r t i n g   t h e   e n d p o i n t   w i t h   / @ ,   i . e .   u n i x : / / / @ f o o .   C a r e   m u s t   b e   t a k e n   w h e n   u s i n g   t h i s   t y p e   o f   s o c k e t   a s   t h e y   d o   n o t   h a v e   c o n c e p t   o f   A C L   ( u n l i k e   t r a d i t i o n a l   f i l e   b a s e d   s o c k e t s ) .   H o w e v e r ,   t h e y   a r e   s u b j e c t   t o   L i n u x   n e t w o r k i n g   n a m e s p a c e ,   s o   w i l l   o n l y   b e   a c c e s s i b l e   t o   c o n t a i n e r s   w i t h i n   t h e   s a m e   p o d   u n l e s s   h o s t   n e t w o r k i n g   i s   u s e d .   k m s   p l u g i n   v e r s i o n :   v 1 b e t a 1   I n   r e s p o n s e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_5_17982"
  },
  {
    "question": "What is KMS v2?",
    "answer": "K M S   p l u g i n   v e r s i o n :   v 2 I n   r e s p o n s e   t o   t h e   S t a t u s   r e m o t e   p r o c e d u r e   c a l l ,   a   c o m p a t i b l e   K M S   p l u g i n   s h o u l d   r e t u r n   i t s   K M S   c o m p a t i b i l i t y   v e r s i o n   a s   S t a t u s R e s p o n s e . v e r s i o n .   T h a t   s t a t u s   r e s p o n s e   s h o u l d   a l s o   i n c l u d e   \" o k \"   a s   S t a t u s R e s p o n s e . h e a l t h z   a n d   a   k e y _ i d   ( r e m o t e   K M S   K E K   I D )   a s   S t a t u s R e s p o n s e . k e y _ i d .   T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   y o u   m a k e   y o u r   p l u g i n   c o m p a t i b l e   w i t h   t h e   s t a b l e   v 2   K M S   A P I .   K u b e r n e t e s   1 . 3 4   a l s o   s u p p o r t s   t h e   v 2 b e t a 1   A P I   f o r   K M S ;   f u t u r e   K u b e r n e t e s   r e l e a s e s   a r e   l i k e l y   t o   c o n t i n u e   s u p p o r t i n g   t h a t   b e t a   v e r s i o n . T h e   A P I   s e r v e r   p o l l s   t h e   S t a t u s   p r o c e d u r e   c a l l   a p p r o x i m a t e l y   e v e r y   m i n u t e   w h e n   e v e r y t h i n g   i s   h e a l t h y ,   a n d   e v e r y   1 0   s e c o n d s   w h e n   t h e   p l u g i n   i s   n o t   h e a l t h y .   P l u g i n s   m u s t   t a k e   c a r e   t o   o p t i m i z e   t h i s   c a l l   a s   i t   w i l l   b e   u n d e r   c o n s t a n t   l o a d . E n c r y p t i o n T h e   E n c r y p t R e q u e s t   p r o c e d u r e   c a l l   p r o v i d e s   t h e   p l a i n t e x t   a n d   a   U I D   f o r   l o g g i n g   p u r p o s e s .   T h e   r e s p o n s e   m u s t   i n c l u d e   t h e   c i p h e r t e x t ,   t h e   k e y _ i d   f o r   t h e   K E K   u s e d ,   a n d ,   o p t i o n a l l y ,   a n y   m e t a d a t a   t h a t   t h e   K M S   p l u g i n   n e e d s   t o   a i d   i n   f u t u r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_5_17983"
  },
  {
    "question": "What is Caution:?",
    "answer": "p r o t o c o l :   U N I X   d o m a i n   s o c k e t   ( u n i x )   T h e   p l u g i n   i s   i m p l e m e n t e d   a s   a   g R P C   s e r v e r   t h a t   l i s t e n s   a t   U N I X   d o m a i n   s o c k e t .   T h e   p l u g i n   d e p l o y m e n t   s h o u l d   c r e a t e   a   f i l e   o n   t h e   f i l e   s y s t e m   t o   r u n   t h e   g R P C   u n i x   d o m a i n   s o c k e t   c o n n e c t i o n .   T h e   A P I   s e r v e r   ( g R P C   c l i e n t )   i s   c o n f i g u r e d   w i t h   t h e   K M S   p r o v i d e r   ( g R P C   s e r v e r )   u n i x   d o m a i n   s o c k e t   e n d p o i n t   i n   o r d e r   t o   c o m m u n i c a t e   w i t h   i t .   A n   a b s t r a c t   L i n u x   s o c k e t   m a y   b e   u s e d   b y   s t a r t i n g   t h e   e n d p o i n t   w i t h   / @ ,   i . e .   u n i x : / / / @ f o o .   C a r e   m u s t   b e   t a k e n   w h e n   u s i n g   t h i s   t y p e   o f   s o c k e t   a s   t h e y   d o   n o t   h a v e   c o n c e p t   o f   A C L   ( u n l i k e   t r a d i t i o n a l   f i l e   b a s e d   s o c k e t s ) .   H o w e v e r ,   t h e y   a r e   s u b j e c t   t o   L i n u x   n e t w o r k i n g   n a m e s p a c e ,   s o   w i l l   o n l y   b e   a c c e s s i b l e   t o   c o n t a i n e r s   w i t h i n   t h e   s a m e   p o d   u n l e s s   h o s t   n e t w o r k i n g   i s   u s e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_17984"
  },
  {
    "question": "What is Integrating a KMS plugin with the remote KMS?",
    "answer": "T h e   K M S   p l u g i n   c a n   c o m m u n i c a t e   w i t h   t h e   r e m o t e   K M S   u s i n g   a n y   p r o t o c o l   s u p p o r t e d   b y   t h e   K M S .   A l l   c o n f i g u r a t i o n   d a t a ,   i n c l u d i n g   a u t h e n t i c a t i o n   c r e d e n t i a l s   t h e   K M S   p l u g i n   u s e s   t o   c o m m u n i c a t e   w i t h   t h e   r e m o t e   K M S ,   a r e   s t o r e d   a n d   m a n a g e d   b y   t h e   K M S   p l u g i n   i n d e p e n d e n t l y .   T h e   K M S   p l u g i n   c a n   e n c o d e   t h e   c i p h e r t e x t   w i t h   a d d i t i o n a l   m e t a d a t a   t h a t   m a y   b e   r e q u i r e d   b e f o r e   s e n d i n g   i t   t o   t h e   K M S   f o r   d e c r y p t i o n   ( K M S   v 2   m a k e s   t h i s   p r o c e s s   e a s i e r   b y   p r o v i d i n g   a   d e d i c a t e d   a n n o t a t i o n s   f i e l d ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17985"
  },
  {
    "question": "What is Deploying the KMS plugin?",
    "answer": "E n s u r e   t h a t   t h e   K M S   p l u g i n   r u n s   o n   t h e   s a m e   h o s t ( s )   a s   t h e   K u b e r n e t e s   A P I   s e r v e r ( s ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17986"
  },
  {
    "question": "What is Encrypting your data with the KMS provider?",
    "answer": "T o   e n c r y p t   t h e   d a t a :   C r e a t e   a   n e w   E n c r y p t i o n C o n f i g u r a t i o n   f i l e   u s i n g   t h e   a p p r o p r i a t e   p r o p e r t i e s   f o r   t h e   k m s   p r o v i d e r   t o   e n c r y p t   r e s o u r c e s   l i k e   S e c r e t s   a n d   C o n f i g M a p s .   I f   y o u   w a n t   t o   e n c r y p t   a n   e x t e n s i o n   A P I   t h a t   i s   d e f i n e d   i n   a   C u s t o m R e s o u r c e D e f i n i t i o n ,   y o u r   c l u s t e r   m u s t   b e   r u n n i n g   K u b e r n e t e s   v 1 . 2 6   o r   n e w e r . S e t   t h e   - - e n c r y p t i o n - p r o v i d e r - c o n f i g   f l a g   o n   t h e   k u b e - a p i s e r v e r   t o   p o i n t   t o   t h e   l o c a t i o n   o f   t h e   c o n f i g u r a t i o n   f i l e . - - e n c r y p t i o n - p r o v i d e r - c o n f i g - a u t o m a t i c - r e l o a d   b o o l e a n   a r g u m e n t   d e t e r m i n e s   i f   t h e   f i l e   s e t   b y   - - e n c r y p t i o n - p r o v i d e r - c o n f i g   s h o u l d   b e   a u t o m a t i c a l l y   r e l o a d e d   i f   t h e   d i s k   c o n t e n t s   c h a n g e . R e s t a r t   y o u r   A P I   s e r v e r .   C r e a t e   a   n e w   E n c r y p t i o n C o n f i g u r a t i o n   f i l e   u s i n g   t h e   a p p r o p r i a t e   p r o p e r t i e s   f o r   t h e   k m s   p r o v i d e r   t o   e n c r y p t   r e s o u r c e s   l i k e   S e c r e t s   a n d   C o n f i g M a p s .   I f   y o u   w a n t   t o   e n c r y p t   a n   e x t e n s i o n   A P I   t h a t   i s   d e f i n e d   i n   a   C u s t o m R e s o u r c e D e f i n i t i o n ,   y o u r   c l u s t e r   m u s t   b e   r u n n i n g   K u b e r n e t e s   v 1 . 2 6   o r   n e w e r .   S e t   t h e   - - e n c r y p t i o n - p r o v i d e r - c o n f i g   f l a g   o n   t h e   k u b e - a p i s e r v e r   t o   p o i n t   t o   t h e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17987"
  },
  {
    "question": "What is KMS v1?",
    "answer": "a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   r e s o u r c e s :   -   r e s o u r c e s :   -   s e c r e t s   -   c o n f i g m a p s   -   p a n d a s . a w e s o m e . b e a r s . e x a m p l e   p r o v i d e r s :   -   k m s :   n a m e :   m y K m s P l u g i n F o o   e n d p o i n t :   u n i x : / / / t m p / s o c k e t f i l e - f o o . s o c k   c a c h e s i z e :   1 0 0   t i m e o u t :   3 s   -   k m s :   n a m e :   m y K m s P l u g i n B a r   e n d p o i n t :   u n i x : / / / t m p / s o c k e t f i l e - b a r . s o c k   c a c h e s i z e :   1 0 0   t i m e o u t :   3 s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17988"
  },
  {
    "question": "What is KMS v2?",
    "answer": "a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   r e s o u r c e s :   -   r e s o u r c e s :   -   s e c r e t s   -   c o n f i g m a p s   -   p a n d a s . a w e s o m e . b e a r s . e x a m p l e   p r o v i d e r s :   -   k m s :   a p i V e r s i o n :   v 2   n a m e :   m y K m s P l u g i n F o o   e n d p o i n t :   u n i x : / / / t m p / s o c k e t f i l e - f o o . s o c k   t i m e o u t :   3 s   -   k m s :   a p i V e r s i o n :   v 2   n a m e :   m y K m s P l u g i n B a r   e n d p o i n t :   u n i x : / / / t m p / s o c k e t f i l e - b a r . s o c k   t i m e o u t :   3 s   S e t t i n g   - - e n c r y p t i o n - p r o v i d e r - c o n f i g - a u t o m a t i c - r e l o a d   t o   t r u e   c o l l a p s e s   a l l   h e a l t h   c h e c k s   t o   a   s i n g l e   h e a l t h   c h e c k   e n d p o i n t .   I n d i v i d u a l   h e a l t h   c h e c k s   a r e   o n l y   a v a i l a b l e   w h e n   K M S   v 1   p r o v i d e r s   a r e   i n   u s e   a n d   t h e   e n c r y p t i o n   c o n f i g   i s   n o t   a u t o - r e l o a d e d .   T h e   f o l l o w i n g   t a b l e   s u m m a r i z e s   t h e   h e a l t h   c h e c k   e n d p o i n t s   f o r   e a c h   K M S   v e r s i o n :   S i n g l e   H e a l t h c h e c k   m e a n s   t h a t   t h e   o n l y   h e a l t h   c h e c k   e n d p o i n t   i s   / h e a l t h z / k m s - p r o v i d e r s .   I n d i v i d u a l   H e a l t h c h e c k s   m e a n s   t h a t   e a c h   K M S   p l u g i n   h a s   a n   a s s o c i a t e d   h e a l t h   c h e c k   e n d p o i n t   b a s e d   o n   i t s   l o c a t i o n   i n   t h e   e n c r y p t i o n   c o n f i g :   / h e a l t h z / k m s - p r o v i d e r - 0 ,   / h e a l t h z / k m s - p r o v i d e r - 1   e t c .   T h e s e   h e a l t h c h e c k   e n d p o i n t   p a t h s   a r e   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17989"
  },
  {
    "question": "What is Verifying that the data is encrypted?",
    "answer": "W h e n   e n c r y p t i o n   a t   r e s t   i s   c o r r e c t l y   c o n f i g u r e d ,   r e s o u r c e s   a r e   e n c r y p t e d   o n   w r i t e .   A f t e r   r e s t a r t i n g   y o u r   k u b e - a p i s e r v e r ,   a n y   n e w l y   c r e a t e d   o r   u p d a t e d   S e c r e t   o r   o t h e r   r e s o u r c e   t y p e s   c o n f i g u r e d   i n   E n c r y p t i o n C o n f i g u r a t i o n   s h o u l d   b e   e n c r y p t e d   w h e n   s t o r e d .   T o   v e r i f y ,   y o u   c a n   u s e   t h e   e t c d c t l   c o m m a n d   l i n e   p r o g r a m   t o   r e t r i e v e   t h e   c o n t e n t s   o f   y o u r   s e c r e t   d a t a .   C r e a t e   a   n e w   s e c r e t   c a l l e d   s e c r e t 1   i n   t h e   d e f a u l t   n a m e s p a c e : k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   s e c r e t 1   - n   d e f a u l t   - - f r o m - l i t e r a l = m y k e y = m y d a t a   U s i n g   t h e   e t c d c t l   c o m m a n d   l i n e ,   r e a d   t h a t   s e c r e t   o u t   o f   e t c d : E T C D C T L _ A P I = 3   e t c d c t l   g e t   / k u b e r n e t e s . i o / s e c r e t s / d e f a u l t / s e c r e t 1   [ . . . ]   |   h e x d u m p   - C   w h e r e   [ . . . ]   c o n t a i n s   t h e   a d d i t i o n a l   a r g u m e n t s   f o r   c o n n e c t i n g   t o   t h e   e t c d   s e r v e r . V e r i f y   t h e   s t o r e d   s e c r e t   i s   p r e f i x e d   w i t h   k 8 s : e n c : k m s : v 1 :   f o r   K M S   v 1   o r   p r e f i x e d   w i t h   k 8 s : e n c : k m s : v 2 :   f o r   K M S   v 2 ,   w h i c h   i n d i c a t e s   t h a t   t h e   k m s   p r o v i d e r   h a s   e n c r y p t e d   t h e   r e s u l t i n g   d a t a . V e r i f y   t h a t   t h e   s e c r e t   i s   c o r r e c t l y   d e c r y p t e d   w h e n   r e t r i e v e d   v i a   t h e   A P I : k u b e c t l   d e s c r i b e   s e c r e t   s e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17990"
  },
  {
    "question": "What is Ensuring all secrets are encrypted?",
    "answer": "W h e n   e n c r y p t i o n   a t   r e s t   i s   c o r r e c t l y   c o n f i g u r e d ,   r e s o u r c e s   a r e   e n c r y p t e d   o n   w r i t e .   T h u s   w e   c a n   p e r f o r m   a n   i n - p l a c e   n o - o p   u p d a t e   t o   e n s u r e   t h a t   d a t a   i s   e n c r y p t e d .   T h e   f o l l o w i n g   c o m m a n d   r e a d s   a l l   s e c r e t s   a n d   t h e n   u p d a t e s   t h e m   t o   a p p l y   s e r v e r   s i d e   e n c r y p t i o n .   I f   a n   e r r o r   o c c u r s   d u e   t o   a   c o n f l i c t i n g   w r i t e ,   r e t r y   t h e   c o m m a n d .   F o r   l a r g e r   c l u s t e r s ,   y o u   m a y   w i s h   t o   s u b d i v i d e   t h e   s e c r e t s   b y   n a m e s p a c e   o r   s c r i p t   a n   u p d a t e .   k u b e c t l   g e t   s e c r e t s   - - a l l - n a m e s p a c e s   - o   j s o n   |   k u b e c t l   r e p l a c e   - f   -",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17991"
  },
  {
    "question": "What is Switching from a local encryption provider to the KMS provider?",
    "answer": "T o   s w i t c h   f r o m   a   l o c a l   e n c r y p t i o n   p r o v i d e r   t o   t h e   k m s   p r o v i d e r   a n d   r e - e n c r y p t   a l l   o f   t h e   s e c r e t s :   A d d   t h e   k m s   p r o v i d e r   a s   t h e   f i r s t   e n t r y   i n   t h e   c o n f i g u r a t i o n   f i l e   a s   s h o w n   i n   t h e   f o l l o w i n g   e x a m p l e . a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   r e s o u r c e s :   -   r e s o u r c e s :   -   s e c r e t s   p r o v i d e r s :   -   k m s :   a p i V e r s i o n :   v 2   n a m e   :   m y K m s P l u g i n   e n d p o i n t :   u n i x : / / / t m p / s o c k e t f i l e . s o c k   -   a e s c b c :   k e y s :   -   n a m e :   k e y 1   s e c r e t :   < B A S E   6 4   E N C O D E D   S E C R E T >   R e s t a r t   a l l   k u b e - a p i s e r v e r   p r o c e s s e s . R u n   t h e   f o l l o w i n g   c o m m a n d   t o   f o r c e   a l l   s e c r e t s   t o   b e   r e - e n c r y p t e d   u s i n g   t h e   k m s   p r o v i d e r . k u b e c t l   g e t   s e c r e t s   - - a l l - n a m e s p a c e s   - o   j s o n   |   k u b e c t l   r e p l a c e   - f   -   A d d   t h e   k m s   p r o v i d e r   a s   t h e   f i r s t   e n t r y   i n   t h e   c o n f i g u r a t i o n   f i l e   a s   s h o w n   i n   t h e   f o l l o w i n g   e x a m p l e .   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   r e s o u r c e s :   -   r e s o u r c e s :   -   s e c r e t s   p r o v i d e r s :   -   k m s :   a p i V e r s i o n :   v 2   n a m e   :   m y K m s P l u g i n   e n d p o i n t :   u n i x : / / / t m p / s o c k e t f i l e . s o c k   -   a e s c b c :   k e y s :   -   n a m e :   k e y 1   s e c r e t :   < B A S E   6 4   E N C O D E D   S E C R E ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17992"
  },
  {
    "question": "What is What's next?",
    "answer": "I f   y o u   n o   l o n g e r   w a n t   t o   u s e   e n c r y p t i o n   f o r   d a t a   p e r s i s t e d   i n   t h e   K u b e r n e t e s   A P I ,   r e a d   d e c r y p t   d a t a   t h a t   a r e   a l r e a d y   s t o r e d   a t   r e s t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17993"
  },
  {
    "question": "What is 2.40 - Using CoreDNS for Service Discovery?",
    "answer": "T h i s   p a g e   d e s c r i b e s   t h e   C o r e D N S   u p g r a d e   p r o c e s s   a n d   h o w   t o   i n s t a l l   C o r e D N S   i n s t e a d   o f   k u b e - d n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_17994"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 9 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17995"
  },
  {
    "question": "What is About CoreDNS?",
    "answer": "C o r e D N S   i s   a   f l e x i b l e ,   e x t e n s i b l e   D N S   s e r v e r   t h a t   c a n   s e r v e   a s   t h e   K u b e r n e t e s   c l u s t e r   D N S .   L i k e   K u b e r n e t e s ,   t h e   C o r e D N S   p r o j e c t   i s   h o s t e d   b y   t h e   C N C F .   Y o u   c a n   u s e   C o r e D N S   i n s t e a d   o f   k u b e - d n s   i n   y o u r   c l u s t e r   b y   r e p l a c i n g   k u b e - d n s   i n   a n   e x i s t i n g   d e p l o y m e n t ,   o r   b y   u s i n g   t o o l s   l i k e   k u b e a d m   t h a t   w i l l   d e p l o y   a n d   u p g r a d e   t h e   c l u s t e r   f o r   y o u .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17996"
  },
  {
    "question": "What is Installing CoreDNS?",
    "answer": "F o r   m a n u a l   d e p l o y m e n t   o r   r e p l a c e m e n t   o f   k u b e - d n s ,   s e e   t h e   d o c u m e n t a t i o n   a t   t h e   C o r e D N S   w e b s i t e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17997"
  },
  {
    "question": "What is Upgrading an existing cluster with kubeadm?",
    "answer": "I n   K u b e r n e t e s   v e r s i o n   1 . 2 1 ,   k u b e a d m   r e m o v e d   i t s   s u p p o r t   f o r   k u b e - d n s   a s   a   D N S   a p p l i c a t i o n .   F o r   k u b e a d m   v 1 . 3 4 ,   t h e   o n l y   s u p p o r t e d   c l u s t e r   D N S   a p p l i c a t i o n   i s   C o r e D N S .   Y o u   c a n   m o v e   t o   C o r e D N S   w h e n   y o u   u s e   k u b e a d m   t o   u p g r a d e   a   c l u s t e r   t h a t   i s   u s i n g   k u b e - d n s .   I n   t h i s   c a s e ,   k u b e a d m   g e n e r a t e s   t h e   C o r e D N S   c o n f i g u r a t i o n   ( \" C o r e f i l e \" )   b a s e d   u p o n   t h e   k u b e - d n s   C o n f i g M a p ,   p r e s e r v i n g   c o n f i g u r a t i o n s   f o r   s t u b   d o m a i n s ,   a n d   u p s t r e a m   n a m e   s e r v e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_17998"
  },
  {
    "question": "What is Upgrading CoreDNS?",
    "answer": "Y o u   c a n   c h e c k   t h e   v e r s i o n   o f   C o r e D N S   t h a t   k u b e a d m   i n s t a l l s   f o r   e a c h   v e r s i o n   o f   K u b e r n e t e s   i n   t h e   p a g e   C o r e D N S   v e r s i o n   i n   K u b e r n e t e s .   C o r e D N S   c a n   b e   u p g r a d e d   m a n u a l l y   i n   c a s e   y o u   w a n t   t o   o n l y   u p g r a d e   C o r e D N S   o r   u s e   y o u r   o w n   c u s t o m   i m a g e .   T h e r e   i s   a   h e l p f u l   g u i d e l i n e   a n d   w a l k t h r o u g h   a v a i l a b l e   t o   e n s u r e   a   s m o o t h   u p g r a d e .   M a k e   s u r e   t h e   e x i s t i n g   C o r e D N S   c o n f i g u r a t i o n   ( \" C o r e f i l e \" )   i s   r e t a i n e d   w h e n   u p g r a d i n g   y o u r   c l u s t e r .   I f   y o u   a r e   u p g r a d i n g   y o u r   c l u s t e r   u s i n g   t h e   k u b e a d m   t o o l ,   k u b e a d m   c a n   t a k e   c a r e   o f   r e t a i n i n g   t h e   e x i s t i n g   C o r e D N S   c o n f i g u r a t i o n   a u t o m a t i c a l l y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_17999"
  },
  {
    "question": "What is Tuning CoreDNS?",
    "answer": "W h e n   r e s o u r c e   u t i l i s a t i o n   i s   a   c o n c e r n ,   i t   m a y   b e   u s e f u l   t o   t u n e   t h e   c o n f i g u r a t i o n   o f   C o r e D N S .   F o r   m o r e   d e t a i l s ,   c h e c k   o u t   t h e   d o c u m e n t a t i o n   o n   s c a l i n g   C o r e D N S .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18000"
  },
  {
    "question": "What is What's next?",
    "answer": "Y o u   c a n   c o n f i g u r e   C o r e D N S   t o   s u p p o r t   m a n y   m o r e   u s e   c a s e s   t h a n   k u b e - d n s   d o e s   b y   m o d i f y i n g   t h e   C o r e D N S   c o n f i g u r a t i o n   ( \" C o r e f i l e \" ) .   F o r   m o r e   i n f o r m a t i o n ,   s e e   t h e   d o c u m e n t a t i o n   f o r   t h e   k u b e r n e t e s   C o r e D N S   p l u g i n ,   o r   r e a d   t h e   C u s t o m   D N S   E n t r i e s   f o r   K u b e r n e t e s .   i n   t h e   C o r e D N S   b l o g .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18001"
  },
  {
    "question": "What is 2.41 - Using NodeLocal DNSCache in Kubernetes Clusters?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   o f   N o d e L o c a l   D N S C a c h e   f e a t u r e   i n   K u b e r n e t e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18002"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18003"
  },
  {
    "question": "What is Introduction?",
    "answer": "N o d e L o c a l   D N S C a c h e   i m p r o v e s   C l u s t e r   D N S   p e r f o r m a n c e   b y   r u n n i n g   a   D N S   c a c h i n g   a g e n t   o n   c l u s t e r   n o d e s   a s   a   D a e m o n S e t .   I n   t o d a y ' s   a r c h i t e c t u r e ,   P o d s   i n   ' C l u s t e r F i r s t '   D N S   m o d e   r e a c h   o u t   t o   a   k u b e - d n s   s e r v i c e I P   f o r   D N S   q u e r i e s .   T h i s   i s   t r a n s l a t e d   t o   a   k u b e - d n s / C o r e D N S   e n d p o i n t   v i a   i p t a b l e s   r u l e s   a d d e d   b y   k u b e - p r o x y .   W i t h   t h i s   n e w   a r c h i t e c t u r e ,   P o d s   w i l l   r e a c h   o u t   t o   t h e   D N S   c a c h i n g   a g e n t   r u n n i n g   o n   t h e   s a m e   n o d e ,   t h e r e b y   a v o i d i n g   i p t a b l e s   D N A T   r u l e s   a n d   c o n n e c t i o n   t r a c k i n g .   T h e   l o c a l   c a c h i n g   a g e n t   w i l l   q u e r y   k u b e - d n s   s e r v i c e   f o r   c a c h e   m i s s e s   o f   c l u s t e r   h o s t n a m e s   ( \" c l u s t e r . l o c a l \"   s u f f i x   b y   d e f a u l t ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18004"
  },
  {
    "question": "What is Motivation?",
    "answer": "W i t h   t h e   c u r r e n t   D N S   a r c h i t e c t u r e ,   i t   i s   p o s s i b l e   t h a t   P o d s   w i t h   t h e   h i g h e s t   D N S   Q P S   h a v e   t o   r e a c h   o u t   t o   a   d i f f e r e n t   n o d e ,   i f   t h e r e   i s   n o   l o c a l   k u b e - d n s / C o r e D N S   i n s t a n c e .   H a v i n g   a   l o c a l   c a c h e   w i l l   h e l p   i m p r o v e   t h e   l a t e n c y   i n   s u c h   s c e n a r i o s . S k i p p i n g   i p t a b l e s   D N A T   a n d   c o n n e c t i o n   t r a c k i n g   w i l l   h e l p   r e d u c e   c o n n t r a c k   r a c e s   a n d   a v o i d   U D P   D N S   e n t r i e s   f i l l i n g   u p   c o n n t r a c k   t a b l e . C o n n e c t i o n s   f r o m   t h e   l o c a l   c a c h i n g   a g e n t   t o   k u b e - d n s   s e r v i c e   c a n   b e   u p g r a d e d   t o   T C P .   T C P   c o n n t r a c k   e n t r i e s   w i l l   b e   r e m o v e d   o n   c o n n e c t i o n   c l o s e   i n   c o n t r a s t   w i t h   U D P   e n t r i e s   t h a t   h a v e   t o   t i m e o u t   ( d e f a u l t   n f _ c o n n t r a c k _ u d p _ t i m e o u t   i s   3 0   s e c o n d s ) U p g r a d i n g   D N S   q u e r i e s   f r o m   U D P   t o   T C P   w o u l d   r e d u c e   t a i l   l a t e n c y   a t t r i b u t e d   t o   d r o p p e d   U D P   p a c k e t s   a n d   D N S   t i m e o u t s   u s u a l l y   u p   t o   3 0 s   ( 3   r e t r i e s   +   1 0 s   t i m e o u t ) .   S i n c e   t h e   n o d e l o c a l   c a c h e   l i s t e n s   f o r   U D P   D N S   q u e r i e s ,   a p p l i c a t i o n s   d o n ' t   n e e d   t o   b e   c h a n g e d . M e t r i c s   &   v i s i b i l i t y   i n t o   D N S   r e q u e s t s   a t   a   n o d e   l e v e l . N e g a t i v e   c a c h i n g   c a n   b e   r e - e n a b l e d ,   t h e r e b y   r e d u c i n g   t h e   n u m b e r   o f   q u e r i e s   f o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18005"
  },
  {
    "question": "What is Architecture Diagram?",
    "answer": "T h i s   i s   t h e   p a t h   f o l l o w e d   b y   D N S   Q u e r i e s   a f t e r   N o d e L o c a l   D N S C a c h e   i s   e n a b l e d :",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18006"
  },
  {
    "question": "What is Nodelocal DNSCache flow?",
    "answer": "T h i s   i m a g e   s h o w s   h o w   N o d e L o c a l   D N S C a c h e   h a n d l e s   D N S   q u e r i e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18007"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   f e a t u r e   c a n   b e   e n a b l e d   u s i n g   t h e   f o l l o w i n g   s t e p s :   P r e p a r e   a   m a n i f e s t   s i m i l a r   t o   t h e   s a m p l e   n o d e l o c a l d n s . y a m l   a n d   s a v e   i t   a s   n o d e l o c a l d n s . y a m l . I f   u s i n g   I P v 6 ,   t h e   C o r e D N S   c o n f i g u r a t i o n   f i l e   n e e d s   t o   e n c l o s e   a l l   t h e   I P v 6   a d d r e s s e s   i n t o   s q u a r e   b r a c k e t s   i f   u s e d   i n   ' I P : P o r t '   f o r m a t .   I f   y o u   a r e   u s i n g   t h e   s a m p l e   m a n i f e s t   f r o m   t h e   p r e v i o u s   p o i n t ,   t h i s   w i l l   r e q u i r e   y o u   t o   m o d i f y   t h e   c o n f i g u r a t i o n   l i n e   L 7 0   l i k e   t h i s :   \" h e a l t h   [ _ _ P I L L A R _ _ L O C A L _ _ D N S _ _ ] : 8 0 8 0 \" S u b s t i t u t e   t h e   v a r i a b l e s   i n   t h e   m a n i f e s t   w i t h   t h e   r i g h t   v a l u e s : k u b e d n s = ` k u b e c t l   g e t   s v c   k u b e - d n s   - n   k u b e - s y s t e m   - o   j s o n p a t h = { . s p e c . c l u s t e r I P } `   d o m a i n = < c l u s t e r - d o m a i n >   l o c a l d n s = < n o d e - l o c a l - a d d r e s s >   < c l u s t e r - d o m a i n >   i s   \" c l u s t e r . l o c a l \"   b y   d e f a u l t .   < n o d e - l o c a l - a d d r e s s >   i s   t h e   l o c a l   l i s t e n   I P   a d d r e s s   c h o s e n   f o r   N o d e L o c a l   D N S C a c h e . I f   k u b e - p r o x y   i s   r u n n i n g   i n   I P T A B L E S   m o d e : s e d   - i   \" s / _ _ P I L L A R _ _ L O C A L _ _ D N S _ _ / $ l o c a l d n s / g ;   s / _ _ P I L L A R _ _ D N S _ _ D O M A I N _ _ / $ d o m a i n / g ;   s / _ _ P I L L A R _ _ D N S _ _ S E R V E R _ _ / $ k u b e d n s / g \"   n o d e l o c a l d n s . y a m l   _ _ P I L L A R _ _ C L U S T E R _ _ D N S _ _   a n d   _ _ P I L L A R _ _ ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18008"
  },
  {
    "question": "What is StubDomains and Upstream server Configuration?",
    "answer": "S t u b D o m a i n s   a n d   u p s t r e a m   s e r v e r s   s p e c i f i e d   i n   t h e   k u b e - d n s   C o n f i g M a p   i n   t h e   k u b e - s y s t e m   n a m e s p a c e   a r e   a u t o m a t i c a l l y   p i c k e d   u p   b y   n o d e - l o c a l - d n s   p o d s .   T h e   C o n f i g M a p   c o n t e n t s   n e e d   t o   f o l l o w   t h e   f o r m a t   s h o w n   i n   t h e   e x a m p l e .   T h e   n o d e - l o c a l - d n s   C o n f i g M a p   c a n   a l s o   b e   m o d i f i e d   d i r e c t l y   w i t h   t h e   s t u b D o m a i n   c o n f i g u r a t i o n   i n   t h e   C o r e f i l e   f o r m a t .   S o m e   c l o u d   p r o v i d e r s   m i g h t   n o t   a l l o w   m o d i f y i n g   n o d e - l o c a l - d n s   C o n f i g M a p   d i r e c t l y .   I n   t h o s e   c a s e s ,   t h e   k u b e - d n s   C o n f i g M a p   c a n   b e   u p d a t e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18009"
  },
  {
    "question": "What is Setting memory limits?",
    "answer": "T h e   n o d e - l o c a l - d n s   P o d s   u s e   m e m o r y   f o r   s t o r i n g   c a c h e   e n t r i e s   a n d   p r o c e s s i n g   q u e r i e s .   S i n c e   t h e y   d o   n o t   w a t c h   K u b e r n e t e s   o b j e c t s ,   t h e   c l u s t e r   s i z e   o r   t h e   n u m b e r   o f   S e r v i c e s   /   E n d p o i n t S l i c e s   d o   n o t   d i r e c t l y   a f f e c t   m e m o r y   u s a g e .   M e m o r y   u s a g e   i s   i n f l u e n c e d   b y   t h e   D N S   q u e r y   p a t t e r n .   F r o m   C o r e D N S   d o c s ,   T h e   d e f a u l t   c a c h e   s i z e   i s   1 0 0 0 0   e n t r i e s ,   w h i c h   u s e s   a b o u t   3 0   M B   w h e n   c o m p l e t e l y   f i l l e d .   T h i s   w o u l d   b e   t h e   m e m o r y   u s a g e   f o r   e a c h   s e r v e r   b l o c k   ( i f   t h e   c a c h e   g e t s   c o m p l e t e l y   f i l l e d ) .   M e m o r y   u s a g e   c a n   b e   r e d u c e d   b y   s p e c i f y i n g   s m a l l e r   c a c h e   s i z e s .   T h e   n u m b e r   o f   c o n c u r r e n t   q u e r i e s   i s   l i n k e d   t o   t h e   m e m o r y   d e m a n d ,   b e c a u s e   e a c h   e x t r a   g o r o u t i n e   u s e d   f o r   h a n d l i n g   a   q u e r y   r e q u i r e s   a n   a m o u n t   o f   m e m o r y .   Y o u   c a n   s e t   a n   u p p e r   l i m i t   u s i n g   t h e   m a x _ c o n c u r r e n t   o p t i o n   i n   t h e   f o r w a r d   p l u g i n .   I f   a   n o d e - l o c a l - d n s   P o d   a t t e m p t s   t o   u s e   m o r e   m e m o r y   t h a n   i s   a v a i l a b l e   ( b e c a u s e   o f   t o t a l   s y s t e m   r e s o u r c e s ,   o r   b e c a u s e   o f   a   c o n f i g u r e d   r e s o u r c e   l i m i t ) ,   t h e   o p e r a t i n g   s y s t e m   m a y   s h u t   d o w n   t h a t   p o d ' s   c o n t a i n e r .   I f   t h i s   h a p p e n s ,   t h e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18010"
  },
  {
    "question": "What is 2.42 - Using sysctls in a Kubernetes Cluster?",
    "answer": "T h i s   d o c u m e n t   d e s c r i b e s   h o w   t o   c o n f i g u r e   a n d   u s e   k e r n e l   p a r a m e t e r s   w i t h i n   a   K u b e r n e t e s   c l u s t e r   u s i n g   t h e   s y s c t l   i n t e r f a c e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18011"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   F o r   s o m e   s t e p s ,   y o u   a l s o   n e e d   t o   b e   a b l e   t o   r e c o n f i g u r e   t h e   c o m m a n d   l i n e   o p t i o n s   f o r   t h e   k u b e l e t s   r u n n i n g   o n   y o u r   c l u s t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18012"
  },
  {
    "question": "What is Listing all Sysctl Parameters?",
    "answer": "I n   L i n u x ,   t h e   s y s c t l   i n t e r f a c e   a l l o w s   a n   a d m i n i s t r a t o r   t o   m o d i f y   k e r n e l   p a r a m e t e r s   a t   r u n t i m e .   P a r a m e t e r s   a r e   a v a i l a b l e   v i a   t h e   / p r o c / s y s /   v i r t u a l   p r o c e s s   f i l e   s y s t e m .   T h e   p a r a m e t e r s   c o v e r   v a r i o u s   s u b s y s t e m s   s u c h   a s :   k e r n e l   ( c o m m o n   p r e f i x :   k e r n e l . ) n e t w o r k i n g   ( c o m m o n   p r e f i x :   n e t . ) v i r t u a l   m e m o r y   ( c o m m o n   p r e f i x :   v m . ) M D A D M   ( c o m m o n   p r e f i x :   d e v . ) M o r e   s u b s y s t e m s   a r e   d e s c r i b e d   i n   K e r n e l   d o c s .   T o   g e t   a   l i s t   o f   a l l   p a r a m e t e r s ,   y o u   c a n   r u n   s u d o   s y s c t l   - a",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18013"
  },
  {
    "question": "What is Safe and Unsafe Sysctls?",
    "answer": "K u b e r n e t e s   c l a s s e s   s y s c t l s   a s   e i t h e r   s a f e   o r   u n s a f e .   I n   a d d i t i o n   t o   p r o p e r   n a m e s p a c i n g ,   a   s a f e   s y s c t l   m u s t   b e   p r o p e r l y   i s o l a t e d   b e t w e e n   p o d s   o n   t h e   s a m e   n o d e .   T h i s   m e a n s   t h a t   s e t t i n g   a   s a f e   s y s c t l   f o r   o n e   p o d   m u s t   n o t   h a v e   a n y   i n f l u e n c e   o n   a n y   o t h e r   p o d   o n   t h e   n o d e m u s t   n o t   a l l o w   t o   h a r m   t h e   n o d e ' s   h e a l t h m u s t   n o t   a l l o w   t o   g a i n   C P U   o r   m e m o r y   r e s o u r c e s   o u t s i d e   o f   t h e   r e s o u r c e   l i m i t s   o f   a   p o d .   B y   f a r ,   m o s t   o f   t h e   n a m e s p a c e d   s y s c t l s   a r e   n o t   n e c e s s a r i l y   c o n s i d e r e d   s a f e .   T h e   f o l l o w i n g   s y s c t l s   a r e   s u p p o r t e d   i n   t h e   s a f e   s e t :   k e r n e l . s h m _ r m i d _ f o r c e d ; n e t . i p v 4 . i p _ l o c a l _ p o r t _ r a n g e ; n e t . i p v 4 . t c p _ s y n c o o k i e s ; n e t . i p v 4 . p i n g _ g r o u p _ r a n g e   ( s i n c e   K u b e r n e t e s   1 . 1 8 ) ; n e t . i p v 4 . i p _ u n p r i v i l e g e d _ p o r t _ s t a r t   ( s i n c e   K u b e r n e t e s   1 . 2 2 ) ; n e t . i p v 4 . i p _ l o c a l _ r e s e r v e d _ p o r t s   ( s i n c e   K u b e r n e t e s   1 . 2 7 ,   n e e d s   k e r n e l   3 . 1 6 + ) ; n e t . i p v 4 . t c p _ k e e p a l i v e _ t i m e   ( s i n c e   K u b e r n e t e s   1 . 2 9 ,   n e e d s   k e r n e l   4 . 5 + ) ; n e t . i p v 4 . t c p _ f i n _ t i m e o u t   ( s i n c e   K u b e r n e t e s   1 . 2 9 ,   n e e d s   k e r n e l   4 . 6 + ) ; n e t . i p v 4 . t c p _ k e e p a l i v e _ i n t v l   ( s i n c e   K u b e r n e t e s   1 . 2 9 ,   n e e d s   k e r n e l   4 . 5 + ) ; n e t . ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18014"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e r e   a r e   s o m e   e x c e p t i o n s   t o   t h e   s e t   o f   s a f e   s y s c t l s :   T h e   n e t . *   s y s c t l s   a r e   n o t   a l l o w e d   w i t h   h o s t   n e t w o r k i n g   e n a b l e d . T h e   n e t . i p v 4 . t c p _ s y n c o o k i e s   s y s c t l   i s   n o t   n a m e s p a c e d   o n   L i n u x   k e r n e l   v e r s i o n   4 . 5   o r   l o w e r .   T h i s   l i s t   w i l l   b e   e x t e n d e d   i n   f u t u r e   K u b e r n e t e s   v e r s i o n s   w h e n   t h e   k u b e l e t   s u p p o r t s   b e t t e r   i s o l a t i o n   m e c h a n i s m s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18015"
  },
  {
    "question": "What is Enabling Unsafe Sysctls?",
    "answer": "A l l   s a f e   s y s c t l s   a r e   e n a b l e d   b y   d e f a u l t .   A l l   u n s a f e   s y s c t l s   a r e   d i s a b l e d   b y   d e f a u l t   a n d   m u s t   b e   a l l o w e d   m a n u a l l y   b y   t h e   c l u s t e r   a d m i n   o n   a   p e r - n o d e   b a s i s .   P o d s   w i t h   d i s a b l e d   u n s a f e   s y s c t l s   w i l l   b e   s c h e d u l e d ,   b u t   w i l l   f a i l   t o   l a u n c h .   W i t h   t h e   w a r n i n g   a b o v e   i n   m i n d ,   t h e   c l u s t e r   a d m i n   c a n   a l l o w   c e r t a i n   u n s a f e   s y s c t l s   f o r   v e r y   s p e c i a l   s i t u a t i o n s   s u c h   a s   h i g h - p e r f o r m a n c e   o r   r e a l - t i m e   a p p l i c a t i o n   t u n i n g .   U n s a f e   s y s c t l s   a r e   e n a b l e d   o n   a   n o d e - b y - n o d e   b a s i s   w i t h   a   f l a g   o f   t h e   k u b e l e t ;   f o r   e x a m p l e :   k u b e l e t   - - a l l o w e d - u n s a f e - s y s c t l s   \\   ' k e r n e l . m s g * , n e t . c o r e . s o m a x c o n n '   . . .   F o r   M i n i k u b e ,   t h i s   c a n   b e   d o n e   v i a   t h e   e x t r a - c o n f i g   f l a g :   m i n i k u b e   s t a r t   - - e x t r a - c o n f i g = \" k u b e l e t . a l l o w e d - u n s a f e - s y s c t l s = k e r n e l . m s g * , n e t . c o r e . s o m a x c o n n \" . . .   O n l y   n a m e s p a c e d   s y s c t l s   c a n   b e   e n a b l e d   t h i s   w a y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18016"
  },
  {
    "question": "What is Setting Sysctls for a Pod?",
    "answer": "A   n u m b e r   o f   s y s c t l s   a r e   n a m e s p a c e d   i n   t o d a y ' s   L i n u x   k e r n e l s .   T h i s   m e a n s   t h a t   t h e y   c a n   b e   s e t   i n d e p e n d e n t l y   f o r   e a c h   p o d   o n   a   n o d e .   O n l y   n a m e s p a c e d   s y s c t l s   a r e   c o n f i g u r a b l e   v i a   t h e   p o d   s e c u r i t y C o n t e x t   w i t h i n   K u b e r n e t e s .   T h e   f o l l o w i n g   s y s c t l s   a r e   k n o w n   t o   b e   n a m e s p a c e d .   T h i s   l i s t   c o u l d   c h a n g e   i n   f u t u r e   v e r s i o n s   o f   t h e   L i n u x   k e r n e l .   k e r n e l . s h m * , k e r n e l . m s g * , k e r n e l . s e m , f s . m q u e u e . * , T h o s e   n e t . *   t h a t   c a n   b e   s e t   i n   c o n t a i n e r   n e t w o r k i n g   n a m e s p a c e .   H o w e v e r ,   t h e r e   a r e   e x c e p t i o n s   ( e . g . ,   n e t . n e t f i l t e r . n f _ c o n n t r a c k _ m a x   a n d   n e t . n e t f i l t e r . n f _ c o n n t r a c k _ e x p e c t _ m a x   c a n   b e   s e t   i n   c o n t a i n e r   n e t w o r k i n g   n a m e s p a c e   b u t   a r e   u n n a m e s p a c e d   b e f o r e   L i n u x   5 . 1 2 . 2 ) .   S y s c t l s   w i t h   n o   n a m e s p a c e   a r e   c a l l e d   n o d e - l e v e l   s y s c t l s .   I f   y o u   n e e d   t o   s e t   t h e m ,   y o u   m u s t   m a n u a l l y   c o n f i g u r e   t h e m   o n   e a c h   n o d e ' s   o p e r a t i n g   s y s t e m ,   o r   b y   u s i n g   a   D a e m o n S e t   w i t h   p r i v i l e g e d   c o n t a i n e r s .   U s e   t h e   p o d   s e c u r i t y C o n t e x t   t o   c o n f i g u r e   n a m e s p a c e d   s y s c t l s .   T h e   s e c u r i t y C o n t e x t   a p p l i e s   t o   a l l   c o n t a i n e r s   i n   t h e   s a m e   p o d .   T h i s   e x a m p l e   u s e s   t h e   p o d   s e c u r i t y C o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18017"
  },
  {
    "question": "What is Warning:?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s y s c t l - e x a m p l e   s p e c :   s e c u r i t y C o n t e x t :   s y s c t l s :   -   n a m e :   k e r n e l . s h m _ r m i d _ f o r c e d   v a l u e :   \" 0 \"   -   n a m e :   n e t . c o r e . s o m a x c o n n   v a l u e :   \" 1 0 2 4 \"   -   n a m e :   k e r n e l . m s g m a x   v a l u e :   \" 6 5 5 3 6 \"   . . .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18018"
  },
  {
    "question": "What is Warning:?",
    "answer": "I t   i s   g o o d   p r a c t i c e   t o   c o n s i d e r   n o d e s   w i t h   s p e c i a l   s y s c t l   s e t t i n g s   a s   t a i n t e d   w i t h i n   a   c l u s t e r ,   a n d   o n l y   s c h e d u l e   p o d s   o n t o   t h e m   w h i c h   n e e d   t h o s e   s y s c t l   s e t t i n g s .   I t   i s   s u g g e s t e d   t o   u s e   t h e   K u b e r n e t e s   t a i n t s   a n d   t o l e r a t i o n   f e a t u r e   t o   i m p l e m e n t   t h i s .   A   p o d   w i t h   t h e   u n s a f e   s y s c t l s   w i l l   f a i l   t o   l a u n c h   o n   a n y   n o d e   w h i c h   h a s   n o t   e n a b l e d   t h o s e   t w o   u n s a f e   s y s c t l s   e x p l i c i t l y .   A s   w i t h   n o d e - l e v e l   s y s c t l s   i t   i s   r e c o m m e n d e d   t o   u s e   t a i n t s   a n d   t o l e r a t i o n   f e a t u r e   o r   t a i n t s   o n   n o d e s   t o   s c h e d u l e   t h o s e   p o d s   o n t o   t h e   r i g h t   n o d e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18019"
  },
  {
    "question": "What is 2.43 - Utilizing the NUMA-aware Memory Manager?",
    "answer": "T h e   K u b e r n e t e s   M e m o r y   M a n a g e r   e n a b l e s   t h e   f e a t u r e   o f   g u a r a n t e e d   m e m o r y   ( a n d   h u g e p a g e s )   a l l o c a t i o n   f o r   p o d s   i n   t h e   G u a r a n t e e d   Q o S   c l a s s .   T h e   M e m o r y   M a n a g e r   e m p l o y s   h i n t   g e n e r a t i o n   p r o t o c o l   t o   y i e l d   t h e   m o s t   s u i t a b l e   N U M A   a f f i n i t y   f o r   a   p o d .   T h e   M e m o r y   M a n a g e r   f e e d s   t h e   c e n t r a l   m a n a g e r   ( T o p o l o g y   M a n a g e r )   w i t h   t h e s e   a f f i n i t y   h i n t s .   B a s e d   o n   b o t h   t h e   h i n t s   a n d   T o p o l o g y   M a n a g e r   p o l i c y ,   t h e   p o d   i s   r e j e c t e d   o r   a d m i t t e d   t o   t h e   n o d e .   M o r e o v e r ,   t h e   M e m o r y   M a n a g e r   e n s u r e s   t h a t   t h e   m e m o r y   w h i c h   a   p o d   r e q u e s t s   i s   a l l o c a t e d   f r o m   a   m i n i m u m   n u m b e r   o f   N U M A   n o d e s .   T h e   M e m o r y   M a n a g e r   i s   o n l y   p e r t i n e n t   t o   L i n u x   b a s e d   h o s t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18020"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 3 2 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18021"
  },
  {
    "question": "What is How does the Memory Manager Operate??",
    "answer": "T h e   M e m o r y   M a n a g e r   c u r r e n t l y   o f f e r s   t h e   g u a r a n t e e d   m e m o r y   ( a n d   h u g e p a g e s )   a l l o c a t i o n   f o r   P o d s   i n   G u a r a n t e e d   Q o S   c l a s s .   T o   i m m e d i a t e l y   p u t   t h e   M e m o r y   M a n a g e r   i n t o   o p e r a t i o n   f o l l o w   t h e   g u i d e l i n e s   i n   t h e   s e c t i o n   M e m o r y   M a n a g e r   c o n f i g u r a t i o n ,   a n d   s u b s e q u e n t l y ,   p r e p a r e   a n d   d e p l o y   a   G u a r a n t e e d   p o d   a s   i l l u s t r a t e d   i n   t h e   s e c t i o n   P l a c i n g   a   P o d   i n   t h e   G u a r a n t e e d   Q o S   c l a s s .   T h e   M e m o r y   M a n a g e r   i s   a   H i n t   P r o v i d e r ,   a n d   i t   p r o v i d e s   t o p o l o g y   h i n t s   f o r   t h e   T o p o l o g y   M a n a g e r   w h i c h   t h e n   a l i g n s   t h e   r e q u e s t e d   r e s o u r c e s   a c c o r d i n g   t o   t h e s e   t o p o l o g y   h i n t s .   O n   L i n u x ,   i t   a l s o   e n f o r c e s   c g r o u p s   ( i . e .   c p u s e t . m e m s )   f o r   p o d s .   T h e   c o m p l e t e   f l o w   d i a g r a m   c o n c e r n i n g   p o d   a d m i s s i o n   a n d   d e p l o y m e n t   p r o c e s s   i s   i l l u s t r a t e d   i n   M e m o r y   M a n a g e r   K E P :   D e s i g n   O v e r v i e w   a n d   b e l o w :   D u r i n g   t h i s   p r o c e s s ,   t h e   M e m o r y   M a n a g e r   u p d a t e s   i t s   i n t e r n a l   c o u n t e r s   s t o r e d   i n   N o d e   M a p   a n d   M e m o r y   M a p s   t o   m a n a g e   g u a r a n t e e d   m e m o r y   a l l o c a t i o n .   T h e   M e m o r y   M a n a g e r   u p d a t e s   t h e   N o d e   M a p   d u r i n g   t h e   s t a r t u p   a n d   r u n t i m e   a s   f o l l o w s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18022"
  },
  {
    "question": "What is Startup?",
    "answer": "T h i s   o c c u r s   o n c e   a   n o d e   a d m i n i s t r a t o r   e m p l o y s   - - r e s e r v e d - m e m o r y   ( s e c t i o n   R e s e r v e d   m e m o r y   f l a g ) .   I n   t h i s   c a s e ,   t h e   N o d e   M a p   b e c o m e s   u p d a t e d   t o   r e f l e c t   t h i s   r e s e r v a t i o n   a s   i l l u s t r a t e d   i n   M e m o r y   M a n a g e r   K E P :   M e m o r y   M a p s   a t   s t a r t - u p   ( w i t h   e x a m p l e s ) .   T h e   a d m i n i s t r a t o r   m u s t   p r o v i d e   - - r e s e r v e d - m e m o r y   f l a g   w h e n   S t a t i c   p o l i c y   i s   c o n f i g u r e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18023"
  },
  {
    "question": "What is Runtime?",
    "answer": "R e f e r e n c e   M e m o r y   M a n a g e r   K E P :   M e m o r y   M a p s   a t   r u n t i m e   ( w i t h   e x a m p l e s )   i l l u s t r a t e s   h o w   a   s u c c e s s f u l   p o d   d e p l o y m e n t   a f f e c t s   t h e   N o d e   M a p ,   a n d   i t   a l s o   r e l a t e s   t o   h o w   p o t e n t i a l   O u t - o f - M e m o r y   ( O O M )   s i t u a t i o n s   a r e   h a n d l e d   f u r t h e r   b y   K u b e r n e t e s   o r   o p e r a t i n g   s y s t e m .   I m p o r t a n t   t o p i c   i n   t h e   c o n t e x t   o f   M e m o r y   M a n a g e r   o p e r a t i o n   i s   t h e   m a n a g e m e n t   o f   N U M A   g r o u p s .   E a c h   t i m e   p o d ' s   m e m o r y   r e q u e s t   i s   i n   e x c e s s   o f   s i n g l e   N U M A   n o d e   c a p a c i t y ,   t h e   M e m o r y   M a n a g e r   a t t e m p t s   t o   c r e a t e   a   g r o u p   t h a t   c o m p r i s e s   s e v e r a l   N U M A   n o d e s   a n d   f e a t u r e s   e x t e n d   m e m o r y   c a p a c i t y .   T h e   p r o b l e m   h a s   b e e n   s o l v e d   a s   e l a b o r a t e d   i n   M e m o r y   M a n a g e r   K E P :   H o w   t o   e n a b l e   t h e   g u a r a n t e e d   m e m o r y   a l l o c a t i o n   o v e r   m a n y   N U M A   n o d e s ? .   A l s o ,   r e f e r e n c e   M e m o r y   M a n a g e r   K E P :   S i m u l a t i o n   -   h o w   t h e   M e m o r y   M a n a g e r   w o r k s ?   ( b y   e x a m p l e s )   i l l u s t r a t e s   h o w   t h e   m a n a g e m e n t   o f   g r o u p s   o c c u r s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18024"
  },
  {
    "question": "What is Windows Support?",
    "answer": "W i n d o w s   s u p p o r t   c a n   b e   e n a b l e d   v i a   t h e   W i n d o w s C P U A n d M e m o r y A f f i n i t y   f e a t u r e   g a t e   a n d   i t   r e q u i r e s   s u p p o r t   i n   t h e   c o n t a i n e r   r u n t i m e .   O n l y   t h e   B e s t E f f o r t   P o l i c y   i s   s u p p o r t e d   o n   W i n d o w s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18025"
  },
  {
    "question": "What is Memory Manager configuration?",
    "answer": "O t h e r   M a n a g e r s   s h o u l d   b e   f i r s t   p r e - c o n f i g u r e d .   N e x t ,   t h e   M e m o r y   M a n a g e r   f e a t u r e   s h o u l d   b e   e n a b l e d   a n d   b e   r u n   w i t h   S t a t i c   p o l i c y   ( s e c t i o n   S t a t i c   p o l i c y ) .   O p t i o n a l l y ,   s o m e   a m o u n t   o f   m e m o r y   c a n   b e   r e s e r v e d   f o r   s y s t e m   o r   k u b e l e t   p r o c e s s e s   t o   i n c r e a s e   n o d e   s t a b i l i t y   ( s e c t i o n   R e s e r v e d   m e m o r y   f l a g ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18026"
  },
  {
    "question": "What is Policies?",
    "answer": "M e m o r y   M a n a g e r   s u p p o r t s   t w o   p o l i c i e s .   Y o u   c a n   s e l e c t   a   p o l i c y   v i a   a   k u b e l e t   f l a g   - - m e m o r y - m a n a g e r - p o l i c y :   N o n e   ( d e f a u l t ) S t a t i c   ( L i n u x   o n l y ) B e s t E f f o r t   ( W i n d o w s   O n l y )",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18027"
  },
  {
    "question": "What is None policy?",
    "answer": "T h i s   i s   t h e   d e f a u l t   p o l i c y   a n d   d o e s   n o t   a f f e c t   t h e   m e m o r y   a l l o c a t i o n   i n   a n y   w a y .   I t   a c t s   t h e   s a m e   a s   i f   t h e   M e m o r y   M a n a g e r   i s   n o t   p r e s e n t   a t   a l l .   T h e   N o n e   p o l i c y   r e t u r n s   d e f a u l t   t o p o l o g y   h i n t .   T h i s   s p e c i a l   h i n t   d e n o t e s   t h a t   H i n t   P r o v i d e r   ( M e m o r y   M a n a g e r   i n   t h i s   c a s e )   h a s   n o   p r e f e r e n c e   f o r   N U M A   a f f i n i t y   w i t h   a n y   r e s o u r c e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18028"
  },
  {
    "question": "What is Static policy?",
    "answer": "I n   t h e   c a s e   o f   t h e   G u a r a n t e e d   p o d ,   t h e   S t a t i c   M e m o r y   M a n a g e r   p o l i c y   r e t u r n s   t o p o l o g y   h i n t s   r e l a t i n g   t o   t h e   s e t   o f   N U M A   n o d e s   w h e r e   t h e   m e m o r y   c a n   b e   g u a r a n t e e d ,   a n d   r e s e r v e s   t h e   m e m o r y   t h r o u g h   u p d a t i n g   t h e   i n t e r n a l   N o d e M a p   o b j e c t .   I n   t h e   c a s e   o f   t h e   B e s t E f f o r t   o r   B u r s t a b l e   p o d ,   t h e   S t a t i c   M e m o r y   M a n a g e r   p o l i c y   s e n d s   b a c k   t h e   d e f a u l t   t o p o l o g y   h i n t   a s   t h e r e   i s   n o   r e q u e s t   f o r   t h e   g u a r a n t e e d   m e m o r y ,   a n d   d o e s   n o t   r e s e r v e   t h e   m e m o r y   i n   t h e   i n t e r n a l   N o d e M a p   o b j e c t .   T h i s   p o l i c y   i s   o n l y   s u p p o r t e d   o n   L i n u x .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18029"
  },
  {
    "question": "What is BestEffort policy?",
    "answer": "T h i s   p o l i c y   i s   o n l y   s u p p o r t e d   o n   W i n d o w s .   O n   W i n d o w s ,   N U M A   n o d e   a s s i g n m e n t   w o r k s   d i f f e r e n t l y   t h a n   L i n u x .   T h e r e   i s   n o   m e c h a n i s m   t o   e n s u r e   t h a t   M e m o r y   a c c e s s   o n l y   c o m e s   f r o m   a   s p e c i f i c   N U M A   n o d e .   I n s t e a d   t h e   W i n d o w s   s c h e d u l e r   w i l l   s e l e c t   t h e   m o s t   o p t i m a l   N U M A   n o d e   b a s e d   o n   t h e   C P U ( s )   a s s i g n m e n t s .   I t   i s   p o s s i b l e   t h a t   W i n d o w s   m i g h t   u s e   o t h e r   N U M A   n o d e s   i f   d e e m e d   o p t i m a l   b y   t h e   W i n d o w s   s c h e d u l e r .   T h e   p o l i c y   d o e s   t r a c k   t h e   a m o u n t   o f   m e m o r y   a v a i l a b l e   a n d   r e q u e s t e d   t h r o u g h   t h e   i n t e r n a l   N o d e M a p .   T h e   m e m o r y   m a n a g e r   w i l l   m a k e   a   b e s t   e f f o r t   a t   e n s u r i n g   t h a t   e n o u g h   m e m o r y   i s   a v a i l a b l e   o n   a   N U M A   n o d e   b e f o r e   m a k i n g   t h e   a s s i g n m e n t . T h i s   m e a n s   t h a t   i n   m o s t   c a s e s   m e m o r y   a s s i g n m e n t   s h o u l d   f u n c t i o n   a s   e x p e c t e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18030"
  },
  {
    "question": "What is Reserved memory flag?",
    "answer": "T h e   N o d e   A l l o c a t a b l e   m e c h a n i s m   i s   c o m m o n l y   u s e d   b y   n o d e   a d m i n i s t r a t o r s   t o   r e s e r v e   K 8 S   n o d e   s y s t e m   r e s o u r c e s   f o r   t h e   k u b e l e t   o r   o p e r a t i n g   s y s t e m   p r o c e s s e s   i n   o r d e r   t o   e n h a n c e   t h e   n o d e   s t a b i l i t y .   A   d e d i c a t e d   s e t   o f   f l a g s   c a n   b e   u s e d   f o r   t h i s   p u r p o s e   t o   s e t   t h e   t o t a l   a m o u n t   o f   r e s e r v e d   m e m o r y   f o r   a   n o d e .   T h i s   p r e - c o n f i g u r e d   v a l u e   i s   s u b s e q u e n t l y   u t i l i z e d   t o   c a l c u l a t e   t h e   r e a l   a m o u n t   o f   n o d e ' s   \" a l l o c a t a b l e \"   m e m o r y   a v a i l a b l e   t o   p o d s .   T h e   K u b e r n e t e s   s c h e d u l e r   i n c o r p o r a t e s   \" a l l o c a t a b l e \"   t o   o p t i m i s e   p o d   s c h e d u l i n g   p r o c e s s .   T h e   f o r e g o i n g   f l a g s   i n c l u d e   - - k u b e - r e s e r v e d ,   - - s y s t e m - r e s e r v e d   a n d   - - e v i c t i o n - t h r e s h o l d .   T h e   s u m   o f   t h e i r   v a l u e s   w i l l   a c c o u n t   f o r   t h e   t o t a l   a m o u n t   o f   r e s e r v e d   m e m o r y .   A   n e w   - - r e s e r v e d - m e m o r y   f l a g   w a s   a d d e d   t o   M e m o r y   M a n a g e r   t o   a l l o w   f o r   t h i s   t o t a l   r e s e r v e d   m e m o r y   t o   b e   s p l i t   ( b y   a   n o d e   a d m i n i s t r a t o r )   a n d   a c c o r d i n g l y   r e s e r v e d   a c r o s s   m a n y   N U M A   n o d e s .   T h e   f l a g   s p e c i f i e s   a   c o m m a - s e p a r a t e d   l i s t   o f   m e m o r y   r e s e r v a t i o n s   o f   d i f f e r e n t   m e m o r y   t y p e s   p e r   N U M A   n o d e .   M e m o r y   r e s e r v a t i o n s   a c ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18031"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e   i s   a n   e x a m p l e   o f   a   c o r r e c t   c o n f i g u r a t i o n :   - - k u b e - r e s e r v e d = c p u = 4 , m e m o r y = 4 G i   - - s y s t e m - r e s e r v e d = c p u = 1 , m e m o r y = 1 G i   - - m e m o r y - m a n a g e r - p o l i c y = S t a t i c   - - r e s e r v e d - m e m o r y   ' 0 : m e m o r y = 3 G i ; 1 : m e m o r y = 2 1 4 8 M i '   P r i o r   t o   K u b e r n e t e s   1 . 3 2 ,   y o u   a l s o   n e e d   t o   a d d   - - f e a t u r e - g a t e s = M e m o r y M a n a g e r = t r u e   L e t   u s   v a l i d a t e   t h e   c o n f i g u r a t i o n   a b o v e :   k u b e - r e s e r v e d   +   s y s t e m - r e s e r v e d   +   e v i c t i o n - h a r d ( d e f a u l t )   =   r e s e r v e d - m e m o r y ( 0 )   +   r e s e r v e d - m e m o r y ( 1 ) 4 G i B   +   1 G i B   +   1 0 0 M i B   =   3 G i B   +   2 1 4 8 M i B 5 1 2 0 M i B   +   1 0 0 M i B   =   3 0 7 2 M i B   +   2 1 4 8 M i B 5 2 2 0 M i B   =   5 2 2 0 M i B   ( w h i c h   i s   c o r r e c t )",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18032"
  },
  {
    "question": "What is Placing a Pod in the Guaranteed QoS class?",
    "answer": "I f   t h e   s e l e c t e d   p o l i c y   i s   a n y t h i n g   o t h e r   t h a n   N o n e ,   t h e   M e m o r y   M a n a g e r   i d e n t i f i e s   p o d s   t h a t   a r e   i n   t h e   G u a r a n t e e d   Q o S   c l a s s .   T h e   M e m o r y   M a n a g e r   p r o v i d e s   s p e c i f i c   t o p o l o g y   h i n t s   t o   t h e   T o p o l o g y   M a n a g e r   f o r   e a c h   G u a r a n t e e d   p o d .   F o r   p o d s   i n   a   Q o S   c l a s s   o t h e r   t h a n   G u a r a n t e e d ,   t h e   M e m o r y   M a n a g e r   p r o v i d e s   d e f a u l t   t o p o l o g y   h i n t s   t o   t h e   T o p o l o g y   M a n a g e r .   T h e   f o l l o w i n g   e x c e r p t s   f r o m   p o d   m a n i f e s t s   a s s i g n   a   p o d   t o   t h e   G u a r a n t e e d   Q o S   c l a s s .   P o d   w i t h   i n t e g e r   C P U ( s )   r u n s   i n   t h e   G u a r a n t e e d   Q o S   c l a s s ,   w h e n   r e q u e s t s   a r e   e q u a l   t o   l i m i t s :   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 2 0 0 M i \"   c p u :   \" 2 \"   e x a m p l e . c o m / d e v i c e :   \" 1 \"   r e q u e s t s :   m e m o r y :   \" 2 0 0 M i \"   c p u :   \" 2 \"   e x a m p l e . c o m / d e v i c e :   \" 1 \"   A l s o ,   a   p o d   s h a r i n g   C P U ( s )   r u n s   i n   t h e   G u a r a n t e e d   Q o S   c l a s s ,   w h e n   r e q u e s t s   a r e   e q u a l   t o   l i m i t s .   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 2 0 0 M i \"   c p u :   \" 3 0 0 m \"   e x a m p l e . c o m / d e v i c e :   \" 1 \"   r e q u e s t s :   m e m o r y :   \" 2 0 0 M i \"   c p u :   \" 3 0 0 m \"   e x a m p l e . c o m / d e v i c e :   \" 1 \"   N o t i c e   t h a t   b o t h   C P U   a n d   m e m ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18033"
  },
  {
    "question": "What is Troubleshooting?",
    "answer": "T h e   f o l l o w i n g   m e a n s   c a n   b e   u s e d   t o   t r o u b l e s h o o t   t h e   r e a s o n   w h y   a   p o d   c o u l d   n o t   b e   d e p l o y e d   o r   b e c a m e   r e j e c t e d   a t   a   n o d e :   p o d   s t a t u s   -   i n d i c a t e s   t o p o l o g y   a f f i n i t y   e r r o r s s y s t e m   l o g s   -   i n c l u d e   v a l u a b l e   i n f o r m a t i o n   f o r   d e b u g g i n g ,   e . g . ,   a b o u t   g e n e r a t e d   h i n t s s t a t e   f i l e   -   t h e   d u m p   o f   i n t e r n a l   s t a t e   o f   t h e   M e m o r y   M a n a g e r   ( i n c l u d e s   N o d e   M a p   a n d   M e m o r y   M a p s ) s t a r t i n g   f r o m   v 1 . 2 2 ,   t h e   d e v i c e   p l u g i n   r e s o u r c e   A P I   c a n   b e   u s e d   t o   r e t r i e v e   i n f o r m a t i o n   a b o u t   t h e   m e m o r y   r e s e r v e d   f o r   c o n t a i n e r s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18034"
  },
  {
    "question": "What is Pod status (TopologyAffinityError)?",
    "answer": "T h i s   e r r o r   t y p i c a l l y   o c c u r s   i n   t h e   f o l l o w i n g   s i t u a t i o n s :   a   n o d e   h a s   n o t   e n o u g h   r e s o u r c e s   a v a i l a b l e   t o   s a t i s f y   t h e   p o d ' s   r e q u e s t t h e   p o d ' s   r e q u e s t   i s   r e j e c t e d   d u e   t o   p a r t i c u l a r   T o p o l o g y   M a n a g e r   p o l i c y   c o n s t r a i n t s   T h e   e r r o r   a p p e a r s   i n   t h e   s t a t u s   o f   a   p o d :   k u b e c t l   g e t   p o d s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   g u a r a n t e e d   0 / 1   T o p o l o g y A f f i n i t y E r r o r   0   1 1 3 s   U s e   k u b e c t l   d e s c r i b e   p o d   < i d >   o r   k u b e c t l   g e t   e v e n t s   t o   o b t a i n   d e t a i l e d   e r r o r   m e s s a g e :   W a r n i n g   T o p o l o g y A f f i n i t y E r r o r   1 0 m   k u b e l e t ,   d e l l 8   R e s o u r c e s   c a n n o t   b e   a l l o c a t e d   w i t h   T o p o l o g y   l o c a l i t y",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18035"
  },
  {
    "question": "What is System logs?",
    "answer": "S e a r c h   s y s t e m   l o g s   w i t h   r e s p e c t   t o   a   p a r t i c u l a r   p o d .   T h e   s e t   o f   h i n t s   t h a t   M e m o r y   M a n a g e r   g e n e r a t e d   f o r   t h e   p o d   c a n   b e   f o u n d   i n   t h e   l o g s .   A l s o ,   t h e   s e t   o f   h i n t s   g e n e r a t e d   b y   C P U   M a n a g e r   s h o u l d   b e   p r e s e n t   i n   t h e   l o g s .   T o p o l o g y   M a n a g e r   m e r g e s   t h e s e   h i n t s   t o   c a l c u l a t e   a   s i n g l e   b e s t   h i n t .   T h e   b e s t   h i n t   s h o u l d   b e   a l s o   p r e s e n t   i n   t h e   l o g s .   T h e   b e s t   h i n t   i n d i c a t e s   w h e r e   t o   a l l o c a t e   a l l   t h e   r e s o u r c e s .   T o p o l o g y   M a n a g e r   t e s t s   t h i s   h i n t   a g a i n s t   i t s   c u r r e n t   p o l i c y ,   a n d   b a s e d   o n   t h e   v e r d i c t ,   i t   e i t h e r   a d m i t s   t h e   p o d   t o   t h e   n o d e   o r   r e j e c t s   i t .   A l s o ,   s e a r c h   t h e   l o g s   f o r   o c c u r r e n c e s   a s s o c i a t e d   w i t h   t h e   M e m o r y   M a n a g e r ,   e . g .   t o   f i n d   o u t   i n f o r m a t i o n   a b o u t   c g r o u p s   a n d   c p u s e t . m e m s   u p d a t e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18036"
  },
  {
    "question": "What is Examine the memory manager state on a node?",
    "answer": "L e t   u s   f i r s t   d e p l o y   a   s a m p l e   G u a r a n t e e d   p o d   w h o s e   s p e c i f i c a t i o n   i s   a s   f o l l o w s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   g u a r a n t e e d   s p e c :   c o n t a i n e r s :   -   n a m e :   g u a r a n t e e d   i m a g e :   c o n s u m e r   i m a g e P u l l P o l i c y :   N e v e r   r e s o u r c e s :   l i m i t s :   c p u :   \" 2 \"   m e m o r y :   1 5 0 G i   r e q u e s t s :   c p u :   \" 2 \"   m e m o r y :   1 5 0 G i   c o m m a n d :   [ \" s l e e p \" , \" i n f i n i t y \" ]   N e x t ,   l e t   u s   l o g   i n t o   t h e   n o d e   w h e r e   i t   w a s   d e p l o y e d   a n d   e x a m i n e   t h e   s t a t e   f i l e   i n   / v a r / l i b / k u b e l e t / m e m o r y _ m a n a g e r _ s t a t e :   {   \" p o l i c y N a m e \" : \" S t a t i c \" ,   \" m a c h i n e S t a t e \" : {   \" 0 \" : {   \" n u m b e r O f A s s i g n m e n t s \" : 1 ,   \" m e m o r y M a p \" : {   \" h u g e p a g e s - 1 G i \" : {   \" t o t a l \" : 0 ,   \" s y s t e m R e s e r v e d \" : 0 ,   \" a l l o c a t a b l e \" : 0 ,   \" r e s e r v e d \" : 0 ,   \" f r e e \" : 0   } ,   \" m e m o r y \" : {   \" t o t a l \" : 1 3 4 9 8 7 3 5 4 1 1 2 ,   \" s y s t e m R e s e r v e d \" : 3 2 2 1 2 2 5 4 7 2 ,   \" a l l o c a t a b l e \" : 1 3 1 7 6 6 1 2 8 6 4 0 ,   \" r e s e r v e d \" : 1 3 1 7 6 6 1 2 8 6 4 0 ,   \" f r e e \" : 0   }   } ,   \" n o d e s \" : [   0 ,   1   ]   } ,   \" 1 \" : {   \" n u m b e r O f A s s i g n m e n t s \" : 1 ,   \" m e m o r y M a p \" : {   \" h u g e p a g e s - 1 G i \" : {   \" t o t a l \" : 0 ,   \" s y s t e m R e s e r v e d \" : 0 ,   \" a l l o c a t a b l e \" : 0 ,   \" r e s e r v e d \" : 0 ,   \" f r e e \" : 0   } ,   \" m e m o r y \" : {   \" t o t a l \" : 1 3 5 2 8 6 7 2 2 5 6 0 ,   \" s y s t e m R e s e r v e d \" : 2 2 5 2 3 4 1 2 4 8 ,   \" a l l o c a t a b l e \" : 1 3 3 0 3 4 3 8 1 3 1 2 ,   \" r e s e r v e d \" : ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18037"
  },
  {
    "question": "What is Device plugin resource API?",
    "answer": "T h e   k u b e l e t   p r o v i d e s   a   P o d R e s o u r c e L i s t e r   g R P C   s e r v i c e   t o   e n a b l e   d i s c o v e r y   o f   r e s o u r c e s   a n d   a s s o c i a t e d   m e t a d a t a .   B y   u s i n g   i t s   L i s t   g R P C   e n d p o i n t ,   i n f o r m a t i o n   a b o u t   r e s e r v e d   m e m o r y   f o r   e a c h   c o n t a i n e r   c a n   b e   r e t r i e v e d ,   w h i c h   i s   c o n t a i n e d   i n   p r o t o b u f   C o n t a i n e r M e m o r y   m e s s a g e .   T h i s   i n f o r m a t i o n   c a n   b e   r e t r i e v e d   s o l e l y   f o r   p o d s   i n   G u a r a n t e e d   Q o S   c l a s s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18038"
  },
  {
    "question": "What is What's next?",
    "answer": "M e m o r y   M a n a g e r   K E P :   D e s i g n   O v e r v i e w M e m o r y   M a n a g e r   K E P :   M e m o r y   M a p s   a t   s t a r t - u p   ( w i t h   e x a m p l e s ) M e m o r y   M a n a g e r   K E P :   M e m o r y   M a p s   a t   r u n t i m e   ( w i t h   e x a m p l e s ) M e m o r y   M a n a g e r   K E P :   S i m u l a t i o n   -   h o w   t h e   M e m o r y   M a n a g e r   w o r k s ?   ( b y   e x a m p l e s ) M e m o r y   M a n a g e r   K E P :   T h e   C o n c e p t   o f   N o d e   M a p   a n d   M e m o r y   M a p s M e m o r y   M a n a g e r   K E P :   H o w   t o   e n a b l e   t h e   g u a r a n t e e d   m e m o r y   a l l o c a t i o n   o v e r   m a n y   N U M A   n o d e s ?",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18039"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   w i l l   n e e d   t o   h a v e   t h e   f o l l o w i n g   t o o l s   i n s t a l l e d :   c o s i g n   ( i n s t a l l   g u i d e ) c u r l   ( o f t e n   p r o v i d e d   b y   y o u r   o p e r a t i n g   s y s t e m ) j q   ( d o w n l o a d   j q )",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18040"
  },
  {
    "question": "What is Verifying binary signatures?",
    "answer": "T h e   K u b e r n e t e s   r e l e a s e   p r o c e s s   s i g n s   a l l   b i n a r y   a r t i f a c t s   ( t a r b a l l s ,   S P D X   f i l e s ,   s t a n d a l o n e   b i n a r i e s )   b y   u s i n g   c o s i g n ' s   k e y l e s s   s i g n i n g .   T o   v e r i f y   a   p a r t i c u l a r   b i n a r y ,   r e t r i e v e   i t   t o g e t h e r   w i t h   i t s   s i g n a t u r e   a n d   c e r t i f i c a t e :   U R L = h t t p s : / / d l . k 8 s . i o / r e l e a s e / v 1 . 3 4 . 0 / b i n / l i n u x / a m d 6 4   B I N A R Y = k u b e c t l   F I L E S = (   \" $ B I N A R Y \"   \" $ B I N A R Y . s i g \"   \" $ B I N A R Y . c e r t \"   )   f o r   F I L E   i n   \" $ { F I L E S [ @ ] } \" ;   d o   c u r l   - s S f L   - - r e t r y   3   - - r e t r y - d e l a y   3   \" $ U R L / $ F I L E \"   - o   \" $ F I L E \"   d o n e   T h e n   v e r i f y   t h e   b l o b   b y   u s i n g   c o s i g n   v e r i f y - b l o b :   c o s i g n   v e r i f y - b l o b   \" $ B I N A R Y \"   \\   - - s i g n a t u r e   \" $ B I N A R Y \" . s i g   \\   - - c e r t i f i c a t e   \" $ B I N A R Y \" . c e r t   \\   - - c e r t i f i c a t e - i d e n t i t y   k r e l - s t a g i n g @ k 8 s - r e l e n g - p r o d . i a m . g s e r v i c e a c c o u n t . c o m   \\   - - c e r t i f i c a t e - o i d c - i s s u e r   h t t p s : / / a c c o u n t s . g o o g l e . c o m",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18041"
  },
  {
    "question": "What is Note:?",
    "answer": "C o s i g n   2 . 0   r e q u i r e s   t h e   - - c e r t i f i c a t e - i d e n t i t y   a n d   - - c e r t i f i c a t e - o i d c - i s s u e r   o p t i o n s .   T o   l e a r n   m o r e   a b o u t   k e y l e s s   s i g n i n g ,   p l e a s e   r e f e r   t o   K e y l e s s   S i g n a t u r e s .   P r e v i o u s   v e r s i o n s   o f   C o s i g n   r e q u i r e d   t h a t   y o u   s e t   C O S I G N _ E X P E R I M E N T A L = 1 .   F o r   a d d i t i o n a l   i n f o r m a t i o n ,   p l e a s e   r e f e r   t o   t h e   s i g s t o r e   B l o g",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18042"
  },
  {
    "question": "What is Verifying image signatures?",
    "answer": "F o r   a   c o m p l e t e   l i s t   o f   i m a g e s   t h a t   a r e   s i g n e d   p l e a s e   r e f e r   t o   R e l e a s e s .   P i c k   o n e   i m a g e   f r o m   t h i s   l i s t   a n d   v e r i f y   i t s   s i g n a t u r e   u s i n g   t h e   c o s i g n   v e r i f y   c o m m a n d :   c o s i g n   v e r i f y   r e g i s t r y . k 8 s . i o / k u b e - a p i s e r v e r - a m d 6 4 : v 1 . 3 4 . 0   \\   - - c e r t i f i c a t e - i d e n t i t y   k r e l - t r u s t @ k 8 s - r e l e n g - p r o d . i a m . g s e r v i c e a c c o u n t . c o m   \\   - - c e r t i f i c a t e - o i d c - i s s u e r   h t t p s : / / a c c o u n t s . g o o g l e . c o m   \\   |   j q   .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18043"
  },
  {
    "question": "What is Verifying images for all control plane components?",
    "answer": "T o   v e r i f y   a l l   s i g n e d   c o n t r o l   p l a n e   i m a g e s   f o r   t h e   l a t e s t   s t a b l e   v e r s i o n   ( v 1 . 3 4 . 0 ) ,   p l e a s e   r u n   t h e   f o l l o w i n g   c o m m a n d s :   c u r l   - L s   \" h t t p s : / / s b o m . k 8 s . i o / $ ( c u r l   - L s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t ) / r e l e a s e \"   \\   |   g r e p   \" S P D X I D :   S P D X R e f - P a c k a g e - r e g i s t r y . k 8 s . i o \"   \\   |   g r e p   - v   s h a 2 5 6   |   c u t   - d -   - f 3 -   |   s e d   ' s / - / \\ / / '   |   s e d   ' s / - v 1 / : v 1 / '   \\   |   s o r t   >   i m a g e s . t x t   i n p u t = i m a g e s . t x t   w h i l e   I F S =   r e a d   - r   i m a g e   d o   c o s i g n   v e r i f y   \" $ i m a g e \"   \\   - - c e r t i f i c a t e - i d e n t i t y   k r e l - t r u s t @ k 8 s - r e l e n g - p r o d . i a m . g s e r v i c e a c c o u n t . c o m   \\   - - c e r t i f i c a t e - o i d c - i s s u e r   h t t p s : / / a c c o u n t s . g o o g l e . c o m   \\   |   j q   .   d o n e   <   \" $ i n p u t \"   O n c e   y o u   h a v e   v e r i f i e d   a n   i m a g e ,   y o u   c a n   s p e c i f y   t h e   i m a g e   b y   i t s   d i g e s t   i n   y o u r   P o d   m a n i f e s t s   a s   p e r   t h i s   e x a m p l e :   r e g i s t r y - u r l / i m a g e - n a m e @ s h a 2 5 6 : 4 5 b 2 3 d e e 0 8 a f 5 e 4 3 a 7 f e a 6 c 4 c f 9 c 2 5 c c f 2 6 9 e e 1 1 3 1 6 8 c 1 9 7 2 2 f 8 7 8 7 6 6 7 7 c 5 c b 2   F o r   m o r e   i n f o r m a t i o n ,   p l e a s e   r e f e r   t o   t h e   I m a g e   P u l l   P o l i c y   s e c t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18044"
  },
  {
    "question": "What is Verifying Image Signatures with Admission Controller?",
    "answer": "F o r   n o n - c o n t r o l   p l a n e   i m a g e s   ( f o r   e x a m p l e   c o n f o r m a n c e   i m a g e ) ,   s i g n a t u r e s   c a n   a l s o   b e   v e r i f i e d   a t   d e p l o y   t i m e   u s i n g   s i g s t o r e   p o l i c y - c o n t r o l l e r   a d m i s s i o n   c o n t r o l l e r .   H e r e   a r e   s o m e   h e l p f u l   r e s o u r c e s   t o   g e t   s t a r t e d   w i t h   p o l i c y - c o n t r o l l e r :   I n s t a l l a t i o n C o n f i g u r a t i o n   O p t i o n s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18045"
  },
  {
    "question": "What is Verify the Software Bill Of Materials?",
    "answer": "Y o u   c a n   v e r i f y   t h e   K u b e r n e t e s   S o f t w a r e   B i l l   o f   M a t e r i a l s   ( S B O M )   b y   u s i n g   t h e   s i g s t o r e   c e r t i f i c a t e   a n d   s i g n a t u r e ,   o r   t h e   c o r r e s p o n d i n g   S H A   f i l e s :   #   R e t r i e v e   t h e   l a t e s t   a v a i l a b l e   K u b e r n e t e s   r e l e a s e   v e r s i o n   V E R S I O N = $ ( c u r l   - L s   h t t p s : / / d l . k 8 s . i o / r e l e a s e / s t a b l e . t x t )   #   V e r i f y   t h e   S H A 5 1 2   s u m   c u r l   - L s   \" h t t p s : / / s b o m . k 8 s . i o / $ V E R S I O N / r e l e a s e \"   - o   \" $ V E R S I O N . s p d x \"   e c h o   \" $ ( c u r l   - L s   \" h t t p s : / / s b o m . k 8 s . i o / $ V E R S I O N / r e l e a s e . s h a 5 1 2 \" )   $ V E R S I O N . s p d x \"   |   s h a 5 1 2 s u m   - - c h e c k   #   V e r i f y   t h e   S H A 2 5 6   s u m   e c h o   \" $ ( c u r l   - L s   \" h t t p s : / / s b o m . k 8 s . i o / $ V E R S I O N / r e l e a s e . s h a 2 5 6 \" )   $ V E R S I O N . s p d x \"   |   s h a 2 5 6 s u m   - - c h e c k   #   R e t r i e v e   s i g s t o r e   s i g n a t u r e   a n d   c e r t i f i c a t e   c u r l   - L s   \" h t t p s : / / s b o m . k 8 s . i o / $ V E R S I O N / r e l e a s e . s i g \"   - o   \" $ V E R S I O N . s p d x . s i g \"   c u r l   - L s   \" h t t p s : / / s b o m . k 8 s . i o / $ V E R S I O N / r e l e a s e . c e r t \"   - o   \" $ V E R S I O N . s p d x . c e r t \"   #   V e r i f y   t h e   s i g s t o r e   s i g n a t u r e   c o s i g n   v e r i f y - b l o b   \\   - - c e r t i f i c a t e   \" $ V E R S I O N . s p d x . c e r t \"   \\   - - s i g n a t u r e   \" $ V E R S I O N . s p d x . s i g \"   \\   - - c e r t i f i c a t e - i d e n t i t y   k r e l - s t a g i n g @ k 8 s - r e l e n g - p r o d . i a m . g s e r v i c e a c c o u n t . c o m   \\   - - c e r t i f i c a t e - o i d c - i s s u e r   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18046"
  },
  {
    "question": "What is 3.1 - Assign Memory Resources to Containers and Pods?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   a s s i g n   a   m e m o r y   r e q u e s t   a n d   a   m e m o r y   l i m i t   t o   a   C o n t a i n e r .   A   C o n t a i n e r   i s   g u a r a n t e e d   t o   h a v e   a s   m u c h   m e m o r y   a s   i t   r e q u e s t s ,   b u t   i s   n o t   a l l o w e d   t o   u s e   m o r e   m e m o r y   t h a n   i t s   l i m i t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18047"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   E a c h   n o d e   i n   y o u r   c l u s t e r   m u s t   h a v e   a t   l e a s t   3 0 0   M i B   o f   m e m o r y ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18048"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   n a m e s p a c e   s o   t h a t   t h e   r e s o u r c e s   y o u   c r e a t e   i n   t h i s   e x e r c i s e   a r e   i s o l a t e d   f r o m   t h e   r e s t   o f   y o u r   c l u s t e r .   k u b e c t l   c r e a t e   n a m e s p a c e   m e m - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18049"
  },
  {
    "question": "What is Specify a memory request and a memory limit?",
    "answer": "T o   s p e c i f y   a   m e m o r y   r e q u e s t   f o r   a   C o n t a i n e r ,   i n c l u d e   t h e   r e s o u r c e s : r e q u e s t s   f i e l d   i n   t h e   C o n t a i n e r ' s   r e s o u r c e   m a n i f e s t .   T o   s p e c i f y   a   m e m o r y   l i m i t ,   i n c l u d e   r e s o u r c e s : l i m i t s .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   T h e   C o n t a i n e r   h a s   a   m e m o r y   r e q u e s t   o f   1 0 0   M i B   a n d   a   m e m o r y   l i m i t   o f   2 0 0   M i B .   H e r e ' s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m e m o r y - d e m o   n a m e s p a c e :   m e m - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   m e m o r y - d e m o - c t r   i m a g e :   p o l i n u x / s t r e s s   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 1 0 0 M i \"   l i m i t s :   m e m o r y :   \" 2 0 0 M i \"   c o m m a n d :   [ \" s t r e s s \" ]   a r g s :   [ \" - - v m \" ,   \" 1 \" ,   \" - - v m - b y t e s \" ,   \" 1 5 0 M \" ,   \" - - v m - h a n g \" ,   \" 1 \" ]   T h e   a r g s   s e c t i o n   i n   t h e   c o n f i g u r a t i o n   f i l e   p r o v i d e s   a r g u m e n t s   f o r   t h e   C o n t a i n e r   w h e n   i t   s t a r t s .   T h e   \" - - v m - b y t e s \" ,   \" 1 5 0 M \"   a r g u m e n t s   t e l l   t h e   C o n t a i n e r   t o   a t t e m p t   t o   a l l o c a t e   1 5 0   M i B   o f   m e m o r y .   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / r e s o u r c e / m e m o r y - r e q u e s t - l i m i t . y a m l   - - n a m e s p a c e = m e m - e x a m p l e   V e r i f y   t h a t   t h e   P o d   C o n t a i n e r   i s   r u n n i n g :   k u b e c t l   g e t   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18050"
  },
  {
    "question": "What is Exceed a Container's memory limit?",
    "answer": "A   C o n t a i n e r   c a n   e x c e e d   i t s   m e m o r y   r e q u e s t   i f   t h e   N o d e   h a s   m e m o r y   a v a i l a b l e .   B u t   a   C o n t a i n e r   i s   n o t   a l l o w e d   t o   u s e   m o r e   t h a n   i t s   m e m o r y   l i m i t .   I f   a   C o n t a i n e r   a l l o c a t e s   m o r e   m e m o r y   t h a n   i t s   l i m i t ,   t h e   C o n t a i n e r   b e c o m e s   a   c a n d i d a t e   f o r   t e r m i n a t i o n .   I f   t h e   C o n t a i n e r   c o n t i n u e s   t o   c o n s u m e   m e m o r y   b e y o n d   i t s   l i m i t ,   t h e   C o n t a i n e r   i s   t e r m i n a t e d .   I f   a   t e r m i n a t e d   C o n t a i n e r   c a n   b e   r e s t a r t e d ,   t h e   k u b e l e t   r e s t a r t s   i t ,   a s   w i t h   a n y   o t h e r   t y p e   o f   r u n t i m e   f a i l u r e .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   a t t e m p t s   t o   a l l o c a t e   m o r e   m e m o r y   t h a n   i t s   l i m i t .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r   w i t h   a   m e m o r y   r e q u e s t   o f   5 0   M i B   a n d   a   m e m o r y   l i m i t   o f   1 0 0   M i B :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m e m o r y - d e m o - 2   n a m e s p a c e :   m e m - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   m e m o r y - d e m o - 2 - c t r   i m a g e :   p o l i n u x / s t r e s s   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 5 0 M i \"   l i m i t s :   m e m o r y :   \" 1 0 0 M i \"   c o m m a n d :   [ \" s t r e s s \" ]   a r g s :   [ \" - - v m \" ,   \" 1 \" ,   \" - - v m - b y t e s \" ,   \" 2 5 0 M \" ,   \" - - v m - h a n g \" ,   \" 1 \" ]   I n   t h e   a r g s   s e c t i o n   o f   t h e   c o n f i g u r a t i o n   f i l e ,   y o u ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18051"
  },
  {
    "question": "What is Specify a memory request that is too big for your Nodes?",
    "answer": "M e m o r y   r e q u e s t s   a n d   l i m i t s   a r e   a s s o c i a t e d   w i t h   C o n t a i n e r s ,   b u t   i t   i s   u s e f u l   t o   t h i n k   o f   a   P o d   a s   h a v i n g   a   m e m o r y   r e q u e s t   a n d   l i m i t .   T h e   m e m o r y   r e q u e s t   f o r   t h e   P o d   i s   t h e   s u m   o f   t h e   m e m o r y   r e q u e s t s   f o r   a l l   t h e   C o n t a i n e r s   i n   t h e   P o d .   L i k e w i s e ,   t h e   m e m o r y   l i m i t   f o r   t h e   P o d   i s   t h e   s u m   o f   t h e   l i m i t s   o f   a l l   t h e   C o n t a i n e r s   i n   t h e   P o d .   P o d   s c h e d u l i n g   i s   b a s e d   o n   r e q u e s t s .   A   P o d   i s   s c h e d u l e d   t o   r u n   o n   a   N o d e   o n l y   i f   t h e   N o d e   h a s   e n o u g h   a v a i l a b l e   m e m o r y   t o   s a t i s f y   t h e   P o d ' s   m e m o r y   r e q u e s t .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   a   m e m o r y   r e q u e s t   s o   b i g   t h a t   i t   e x c e e d s   t h e   c a p a c i t y   o f   a n y   N o d e   i n   y o u r   c l u s t e r .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r   w i t h   a   r e q u e s t   f o r   1 0 0 0   G i B   o f   m e m o r y ,   w h i c h   l i k e l y   e x c e e d s   t h e   c a p a c i t y   o f   a n y   N o d e   i n   y o u r   c l u s t e r .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m e m o r y - d e m o - 3   n a m e s p a c e :   m e m - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   m e m o r y - d e m o - 3 - c t r   i m a g e :   p o l i n u x / s t r e s s   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 1 0 0 0 G i \"   l i m i t s :   m e m o r y :   \" 1 0 0 0 G i \"   c o m m a n d :   [ \" s t r e s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18052"
  },
  {
    "question": "What is Memory units?",
    "answer": "T h e   m e m o r y   r e s o u r c e   i s   m e a s u r e d   i n   b y t e s .   Y o u   c a n   e x p r e s s   m e m o r y   a s   a   p l a i n   i n t e g e r   o r   a   f i x e d - p o i n t   i n t e g e r   w i t h   o n e   o f   t h e s e   s u f f i x e s :   E ,   P ,   T ,   G ,   M ,   K ,   E i ,   P i ,   T i ,   G i ,   M i ,   K i .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   r e p r e s e n t   a p p r o x i m a t e l y   t h e   s a m e   v a l u e :   1 2 8 9 7 4 8 4 8 ,   1 2 9 e 6 ,   1 2 9 M ,   1 2 3 M i   D e l e t e   y o u r   P o d :   k u b e c t l   d e l e t e   p o d   m e m o r y - d e m o - 3   - - n a m e s p a c e = m e m - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18053"
  },
  {
    "question": "What is If you do not specify a memory limit?",
    "answer": "I f   y o u   d o   n o t   s p e c i f y   a   m e m o r y   l i m i t   f o r   a   C o n t a i n e r ,   o n e   o f   t h e   f o l l o w i n g   s i t u a t i o n s   a p p l i e s :   T h e   C o n t a i n e r   h a s   n o   u p p e r   b o u n d   o n   t h e   a m o u n t   o f   m e m o r y   i t   u s e s .   T h e   C o n t a i n e r   c o u l d   u s e   a l l   o f   t h e   m e m o r y   a v a i l a b l e   o n   t h e   N o d e   w h e r e   i t   i s   r u n n i n g   w h i c h   i n   t u r n   c o u l d   i n v o k e   t h e   O O M   K i l l e r .   F u r t h e r ,   i n   c a s e   o f   a n   O O M   K i l l ,   a   c o n t a i n e r   w i t h   n o   r e s o u r c e   l i m i t s   w i l l   h a v e   a   g r e a t e r   c h a n c e   o f   b e i n g   k i l l e d . T h e   C o n t a i n e r   i s   r u n n i n g   i n   a   n a m e s p a c e   t h a t   h a s   a   d e f a u l t   m e m o r y   l i m i t ,   a n d   t h e   C o n t a i n e r   i s   a u t o m a t i c a l l y   a s s i g n e d   t h e   d e f a u l t   l i m i t .   C l u s t e r   a d m i n i s t r a t o r s   c a n   u s e   a   L i m i t R a n g e   t o   s p e c i f y   a   d e f a u l t   v a l u e   f o r   t h e   m e m o r y   l i m i t .   T h e   C o n t a i n e r   h a s   n o   u p p e r   b o u n d   o n   t h e   a m o u n t   o f   m e m o r y   i t   u s e s .   T h e   C o n t a i n e r   c o u l d   u s e   a l l   o f   t h e   m e m o r y   a v a i l a b l e   o n   t h e   N o d e   w h e r e   i t   i s   r u n n i n g   w h i c h   i n   t u r n   c o u l d   i n v o k e   t h e   O O M   K i l l e r .   F u r t h e r ,   i n   c a s e   o f   a n   O O M   K i l l ,   a   c o n t a i n e r   w i t h   n o   r e s o u r c e   l i m i t s   w i l l   h a v e   a   g r e a t e r   c h a n c e   o f   b e i n g   k i l l e d .   T h e   C o n t a i n e r   i s   r u n n i n g   i n   a   n a m e s p a c e   t h a t   h a s   a   d e f a u l t   m e m o r y ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18054"
  },
  {
    "question": "What is Motivation for memory requests and limits?",
    "answer": "B y   c o n f i g u r i n g   m e m o r y   r e q u e s t s   a n d   l i m i t s   f o r   t h e   C o n t a i n e r s   t h a t   r u n   i n   y o u r   c l u s t e r ,   y o u   c a n   m a k e   e f f i c i e n t   u s e   o f   t h e   m e m o r y   r e s o u r c e s   a v a i l a b l e   o n   y o u r   c l u s t e r ' s   N o d e s .   B y   k e e p i n g   a   P o d ' s   m e m o r y   r e q u e s t   l o w ,   y o u   g i v e   t h e   P o d   a   g o o d   c h a n c e   o f   b e i n g   s c h e d u l e d .   B y   h a v i n g   a   m e m o r y   l i m i t   t h a t   i s   g r e a t e r   t h a n   t h e   m e m o r y   r e q u e s t ,   y o u   a c c o m p l i s h   t w o   t h i n g s :   T h e   P o d   c a n   h a v e   b u r s t s   o f   a c t i v i t y   w h e r e   i t   m a k e s   u s e   o f   m e m o r y   t h a t   h a p p e n s   t o   b e   a v a i l a b l e . T h e   a m o u n t   o f   m e m o r y   a   P o d   c a n   u s e   d u r i n g   a   b u r s t   i s   l i m i t e d   t o   s o m e   r e a s o n a b l e   a m o u n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18055"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   n a m e s p a c e .   T h i s   d e l e t e s   a l l   t h e   P o d s   t h a t   y o u   c r e a t e d   f o r   t h i s   t a s k :   k u b e c t l   d e l e t e   n a m e s p a c e   m e m - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18056"
  },
  {
    "question": "What is For app developers?",
    "answer": "A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s   C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s   R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18057"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e   C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s   R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18058"
  },
  {
    "question": "What is 3.2 - Assign CPU Resources to Containers and Pods?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   a s s i g n   a   C P U   r e q u e s t   a n d   a   C P U   l i m i t   t o   a   c o n t a i n e r .   C o n t a i n e r s   c a n n o t   u s e   m o r e   C P U   t h a n   t h e   c o n f i g u r e d   l i m i t .   P r o v i d e d   t h e   s y s t e m   h a s   C P U   t i m e   f r e e ,   a   c o n t a i n e r   i s   g u a r a n t e e d   t o   b e   a l l o c a t e d   a s   m u c h   C P U   a s   i t   r e q u e s t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18059"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u r   c l u s t e r   m u s t   h a v e   a t   l e a s t   1   C P U   a v a i l a b l e   f o r   u s e   t o   r u n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18060"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   N a m e s p a c e   s o   t h a t   t h e   r e s o u r c e s   y o u   c r e a t e   i n   t h i s   e x e r c i s e   a r e   i s o l a t e d   f r o m   t h e   r e s t   o f   y o u r   c l u s t e r .   k u b e c t l   c r e a t e   n a m e s p a c e   c p u - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18061"
  },
  {
    "question": "What is Specify a CPU request and a CPU limit?",
    "answer": "T o   s p e c i f y   a   C P U   r e q u e s t   f o r   a   c o n t a i n e r ,   i n c l u d e   t h e   r e s o u r c e s : r e q u e s t s   f i e l d   i n   t h e   C o n t a i n e r   r e s o u r c e   m a n i f e s t .   T o   s p e c i f y   a   C P U   l i m i t ,   i n c l u d e   r e s o u r c e s : l i m i t s .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   h a s   a   r e q u e s t   o f   0 . 5   C P U   a n d   a   l i m i t   o f   1   C P U .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c p u - d e m o   n a m e s p a c e :   c p u - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   c p u - d e m o - c t r   i m a g e :   v i s h / s t r e s s   r e s o u r c e s :   l i m i t s :   c p u :   \" 1 \"   r e q u e s t s :   c p u :   \" 0 . 5 \"   a r g s :   -   - c p u s   -   \" 2 \"   T h e   a r g s   s e c t i o n   o f   t h e   c o n f i g u r a t i o n   f i l e   p r o v i d e s   a r g u m e n t s   f o r   t h e   c o n t a i n e r   w h e n   i t   s t a r t s .   T h e   - c p u s   \" 2 \"   a r g u m e n t   t e l l s   t h e   C o n t a i n e r   t o   a t t e m p t   t o   u s e   2   C P U s .   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / r e s o u r c e / c p u - r e q u e s t - l i m i t . y a m l   - - n a m e s p a c e = c p u - e x a m p l e   V e r i f y   t h a t   t h e   P o d   i s   r u n n i n g :   k u b e c t l   g e t   p o d   c p u - d e m o   - - n a m e s p a c e = c p u - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   P o d :   k u b e c t l   g e t   p o d   c p u - d e m o   - - o u t p u t = y a m l   - - n a m e s p a c e = c p u - e x a m p l e   T h e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18062"
  },
  {
    "question": "What is CPU units?",
    "answer": "T h e   C P U   r e s o u r c e   i s   m e a s u r e d   i n   C P U   u n i t s .   O n e   C P U ,   i n   K u b e r n e t e s ,   i s   e q u i v a l e n t   t o :   1   A W S   v C P U 1   G C P   C o r e 1   A z u r e   v C o r e 1   H y p e r t h r e a d   o n   a   b a r e - m e t a l   I n t e l   p r o c e s s o r   w i t h   H y p e r t h r e a d i n g   F r a c t i o n a l   v a l u e s   a r e   a l l o w e d .   A   C o n t a i n e r   t h a t   r e q u e s t s   0 . 5   C P U   i s   g u a r a n t e e d   h a l f   a s   m u c h   C P U   a s   a   C o n t a i n e r   t h a t   r e q u e s t s   1   C P U .   Y o u   c a n   u s e   t h e   s u f f i x   m   t o   m e a n   m i l l i .   F o r   e x a m p l e   1 0 0 m   C P U ,   1 0 0   m i l l i C P U ,   a n d   0 . 1   C P U   a r e   a l l   t h e   s a m e .   P r e c i s i o n   f i n e r   t h a n   1 m   i s   n o t   a l l o w e d .   C P U   i s   a l w a y s   r e q u e s t e d   a s   a n   a b s o l u t e   q u a n t i t y ,   n e v e r   a s   a   r e l a t i v e   q u a n t i t y ;   0 . 1   i s   t h e   s a m e   a m o u n t   o f   C P U   o n   a   s i n g l e - c o r e ,   d u a l - c o r e ,   o r   4 8 - c o r e   m a c h i n e .   D e l e t e   y o u r   P o d :   k u b e c t l   d e l e t e   p o d   c p u - d e m o   - - n a m e s p a c e = c p u - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18063"
  },
  {
    "question": "What is Specify a CPU request that is too big for your Nodes?",
    "answer": "C P U   r e q u e s t s   a n d   l i m i t s   a r e   a s s o c i a t e d   w i t h   C o n t a i n e r s ,   b u t   i t   i s   u s e f u l   t o   t h i n k   o f   a   P o d   a s   h a v i n g   a   C P U   r e q u e s t   a n d   l i m i t .   T h e   C P U   r e q u e s t   f o r   a   P o d   i s   t h e   s u m   o f   t h e   C P U   r e q u e s t s   f o r   a l l   t h e   C o n t a i n e r s   i n   t h e   P o d .   L i k e w i s e ,   t h e   C P U   l i m i t   f o r   a   P o d   i s   t h e   s u m   o f   t h e   C P U   l i m i t s   f o r   a l l   t h e   C o n t a i n e r s   i n   t h e   P o d .   P o d   s c h e d u l i n g   i s   b a s e d   o n   r e q u e s t s .   A   P o d   i s   s c h e d u l e d   t o   r u n   o n   a   N o d e   o n l y   i f   t h e   N o d e   h a s   e n o u g h   C P U   r e s o u r c e s   a v a i l a b l e   t o   s a t i s f y   t h e   P o d   C P U   r e q u e s t .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   a   C P U   r e q u e s t   s o   b i g   t h a t   i t   e x c e e d s   t h e   c a p a c i t y   o f   a n y   N o d e   i n   y o u r   c l u s t e r .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   T h e   C o n t a i n e r   r e q u e s t s   1 0 0   C P U ,   w h i c h   i s   l i k e l y   t o   e x c e e d   t h e   c a p a c i t y   o f   a n y   N o d e   i n   y o u r   c l u s t e r .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c p u - d e m o - 2   n a m e s p a c e :   c p u - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   c p u - d e m o - c t r - 2   i m a g e :   v i s h / s t r e s s   r e s o u r c e s :   l i m i t s :   c p u :   \" 1 0 0 \"   r e q u e s t s :   c p u :   \" 1 0 0 \"   a r g s :   -   - c p u s   -   \" 2 \"   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18064"
  },
  {
    "question": "What is If you do not specify a CPU limit?",
    "answer": "I f   y o u   d o   n o t   s p e c i f y   a   C P U   l i m i t   f o r   a   C o n t a i n e r ,   t h e n   o n e   o f   t h e s e   s i t u a t i o n s   a p p l i e s :   T h e   C o n t a i n e r   h a s   n o   u p p e r   b o u n d   o n   t h e   C P U   r e s o u r c e s   i t   c a n   u s e .   T h e   C o n t a i n e r   c o u l d   u s e   a l l   o f   t h e   C P U   r e s o u r c e s   a v a i l a b l e   o n   t h e   N o d e   w h e r e   i t   i s   r u n n i n g . T h e   C o n t a i n e r   i s   r u n n i n g   i n   a   n a m e s p a c e   t h a t   h a s   a   d e f a u l t   C P U   l i m i t ,   a n d   t h e   C o n t a i n e r   i s   a u t o m a t i c a l l y   a s s i g n e d   t h e   d e f a u l t   l i m i t .   C l u s t e r   a d m i n i s t r a t o r s   c a n   u s e   a   L i m i t R a n g e   t o   s p e c i f y   a   d e f a u l t   v a l u e   f o r   t h e   C P U   l i m i t .   T h e   C o n t a i n e r   h a s   n o   u p p e r   b o u n d   o n   t h e   C P U   r e s o u r c e s   i t   c a n   u s e .   T h e   C o n t a i n e r   c o u l d   u s e   a l l   o f   t h e   C P U   r e s o u r c e s   a v a i l a b l e   o n   t h e   N o d e   w h e r e   i t   i s   r u n n i n g .   T h e   C o n t a i n e r   i s   r u n n i n g   i n   a   n a m e s p a c e   t h a t   h a s   a   d e f a u l t   C P U   l i m i t ,   a n d   t h e   C o n t a i n e r   i s   a u t o m a t i c a l l y   a s s i g n e d   t h e   d e f a u l t   l i m i t .   C l u s t e r   a d m i n i s t r a t o r s   c a n   u s e   a   L i m i t R a n g e   t o   s p e c i f y   a   d e f a u l t   v a l u e   f o r   t h e   C P U   l i m i t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18065"
  },
  {
    "question": "What is If you specify a CPU limit but do not specify a CPU request?",
    "answer": "I f   y o u   s p e c i f y   a   C P U   l i m i t   f o r   a   C o n t a i n e r   b u t   d o   n o t   s p e c i f y   a   C P U   r e q u e s t ,   K u b e r n e t e s   a u t o m a t i c a l l y   a s s i g n s   a   C P U   r e q u e s t   t h a t   m a t c h e s   t h e   l i m i t .   S i m i l a r l y ,   i f   a   C o n t a i n e r   s p e c i f i e s   i t s   o w n   m e m o r y   l i m i t ,   b u t   d o e s   n o t   s p e c i f y   a   m e m o r y   r e q u e s t ,   K u b e r n e t e s   a u t o m a t i c a l l y   a s s i g n s   a   m e m o r y   r e q u e s t   t h a t   m a t c h e s   t h e   l i m i t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18066"
  },
  {
    "question": "What is Motivation for CPU requests and limits?",
    "answer": "B y   c o n f i g u r i n g   t h e   C P U   r e q u e s t s   a n d   l i m i t s   o f   t h e   C o n t a i n e r s   t h a t   r u n   i n   y o u r   c l u s t e r ,   y o u   c a n   m a k e   e f f i c i e n t   u s e   o f   t h e   C P U   r e s o u r c e s   a v a i l a b l e   o n   y o u r   c l u s t e r   N o d e s .   B y   k e e p i n g   a   P o d   C P U   r e q u e s t   l o w ,   y o u   g i v e   t h e   P o d   a   g o o d   c h a n c e   o f   b e i n g   s c h e d u l e d .   B y   h a v i n g   a   C P U   l i m i t   t h a t   i s   g r e a t e r   t h a n   t h e   C P U   r e q u e s t ,   y o u   a c c o m p l i s h   t w o   t h i n g s :   T h e   P o d   c a n   h a v e   b u r s t s   o f   a c t i v i t y   w h e r e   i t   m a k e s   u s e   o f   C P U   r e s o u r c e s   t h a t   h a p p e n   t o   b e   a v a i l a b l e . T h e   a m o u n t   o f   C P U   r e s o u r c e s   a   P o d   c a n   u s e   d u r i n g   a   b u r s t   i s   l i m i t e d   t o   s o m e   r e a s o n a b l e   a m o u n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18067"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   n a m e s p a c e :   k u b e c t l   d e l e t e   n a m e s p a c e   c p u - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18068"
  },
  {
    "question": "What is For app developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s   C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s   R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18069"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e   C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s   R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18070"
  },
  {
    "question": "What is 3.3.1 - Set Up DRA in a Cluster?",
    "answer": "T h i s   p a g e   s h o w s   y o u   h o w   t o   c o n f i g u r e   d y n a m i c   r e s o u r c e   a l l o c a t i o n   ( D R A )   i n   a   K u b e r n e t e s   c l u s t e r   b y   e n a b l i n g   A P I   g r o u p s   a n d   c o n f i g u r i n g   c l a s s e s   o f   d e v i c e s .   T h e s e   i n s t r u c t i o n s   a r e   f o r   c l u s t e r   a d m i n i s t r a t o r s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18071"
  },
  {
    "question": "What is About DRA?",
    "answer": "A   K u b e r n e t e s   f e a t u r e   t h a t   l e t s   y o u   r e q u e s t   a n d   s h a r e   r e s o u r c e s   a m o n g   P o d s .   T h e s e   r e s o u r c e s   a r e   o f t e n   a t t a c h e d   d e v i c e s   l i k e   h a r d w a r e   a c c e l e r a t o r s .   W i t h   D R A ,   d e v i c e   d r i v e r s   a n d   c l u s t e r   a d m i n s   d e f i n e   d e v i c e   c l a s s e s   t h a t   a r e   a v a i l a b l e   t o   c l a i m   i n   w o r k l o a d s .   K u b e r n e t e s   a l l o c a t e s   m a t c h i n g   d e v i c e s   t o   s p e c i f i c   c l a i m s   a n d   p l a c e s   t h e   c o r r e s p o n d i n g   P o d s   o n   n o d e s   t h a t   c a n   a c c e s s   t h e   a l l o c a t e d   d e v i c e s .   E n s u r e   t h a t   y o u ' r e   f a m i l i a r   w i t h   h o w   D R A   w o r k s   a n d   w i t h   D R A   t e r m i n o l o g y   l i k e   D e v i c e C l a s s e s ,   R e s o u r c e C l a i m s ,   a n d   R e s o u r c e C l a i m T e m p l a t e s .   F o r   d e t a i l s ,   s e e   D y n a m i c   R e s o u r c e   A l l o c a t i o n   ( D R A ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18072"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   v e r s i o n   v 1 . 3 4 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   D i r e c t l y   o r   i n d i r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18073"
  },
  {
    "question": "What is Optional: enable legacy DRA API groups?",
    "answer": "D R A   g r a d u a t e d   t o   s t a b l e   i n   K u b e r n e t e s   1 . 3 4   a n d   i s   e n a b l e d   b y   d e f a u l t .   S o m e   o l d e r   D R A   d r i v e r s   o r   w o r k l o a d s   m i g h t   s t i l l   n e e d   t h e   v 1 b e t a 1   A P I   f r o m   K u b e r n e t e s   1 . 3 0   o r   v 1 b e t a 2   f r o m   K u b e r n e t e s   1 . 3 2 .   I f   a n d   o n l y   i f   s u p p o r t   f o r   t h o s e   i s   d e s i r e d ,   t h e n   e n a b l e   t h e   f o l l o w i n g   A P I   g r o u p s :   *   ` r e s o u r c e . k 8 s . i o / v 1 b e t a 1 `   *   ` r e s o u r c e . k 8 s . i o / v 1 b e t a 2 `   F o r   m o r e   i n f o r m a t i o n ,   s e e   E n a b l i n g   o r   d i s a b l i n g   A P I   g r o u p s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18074"
  },
  {
    "question": "What is Verify that DRA is enabled?",
    "answer": "T o   v e r i f y   t h a t   t h e   c l u s t e r   i s   c o n f i g u r e d   c o r r e c t l y ,   t r y   t o   l i s t   D e v i c e C l a s s e s :   k u b e c t l   g e t   d e v i c e c l a s s e s   I f   t h e   c o m p o n e n t   c o n f i g u r a t i o n   w a s   c o r r e c t ,   t h e   o u t p u t   i s   s i m i l a r   t o   t h e   f o l l o w i n g :   N o   r e s o u r c e s   f o u n d   I f   D R A   i s n ' t   c o r r e c t l y   c o n f i g u r e d ,   t h e   o u t p u t   o f   t h e   p r e c e d i n g   c o m m a n d   i s   s i m i l a r   t o   t h e   f o l l o w i n g :   e r r o r :   t h e   s e r v e r   d o e s n ' t   h a v e   a   r e s o u r c e   t y p e   \" d e v i c e c l a s s e s \"   T r y   t h e   f o l l o w i n g   t r o u b l e s h o o t i n g   s t e p s :   R e c o n f i g u r e   a n d   r e s t a r t   t h e   k u b e - a p i s e r v e r   c o m p o n e n t . I f   t h e   c o m p l e t e   . s p e c . r e s o u r c e C l a i m s   f i e l d   g e t s   r e m o v e d   f r o m   P o d s ,   o r   i f   P o d s   g e t   s c h e d u l e d   w i t h o u t   c o n s i d e r i n g   t h e   R e s o u r c e C l a i m s ,   t h e n   v e r i f y   t h a t   t h e   D y n a m i c R e s o u r c e A l l o c a t i o n   f e a t u r e   g a t e   i s   n o t   t u r n e d   o f f   f o r   k u b e - a p i s e r v e r ,   k u b e - c o n t r o l l e r - m a n a g e r ,   k u b e - s c h e d u l e r   o r   t h e   k u b e l e t .   R e c o n f i g u r e   a n d   r e s t a r t   t h e   k u b e - a p i s e r v e r   c o m p o n e n t .   I f   t h e   c o m p l e t e   . s p e c . r e s o u r c e C l a i m s   f i e l d   g e t s   r e m o v e d   f r o m   P o d s ,   o r   i f   P o d s   g e t   s c h e d u l e d   w i t h o u t   c o n s i d e r i n g   t h e   R e s o u r c e C l a i m s ,   t h e n   v e r i f y   t h a t   t h e   D y n a m i c R e s o u r c e A l l o c a t i o n   f e a t u r e   g a t e   i s   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18075"
  },
  {
    "question": "What is Install device drivers?",
    "answer": "A f t e r   y o u   e n a b l e   D R A   f o r   y o u r   c l u s t e r ,   y o u   c a n   i n s t a l l   t h e   d r i v e r s   f o r   y o u r   a t t a c h e d   d e v i c e s .   F o r   i n s t r u c t i o n s ,   c h e c k   t h e   d o c u m e n t a t i o n   o f   y o u r   d e v i c e   o w n e r   o r   t h e   p r o j e c t   t h a t   m a i n t a i n s   t h e   d e v i c e   d r i v e r s .   T h e   d r i v e r s   t h a t   y o u   i n s t a l l   m u s t   b e   c o m p a t i b l e   w i t h   D R A .   T o   v e r i f y   t h a t   y o u r   i n s t a l l e d   d r i v e r s   a r e   w o r k i n g   a s   e x p e c t e d ,   l i s t   R e s o u r c e S l i c e s   i n   y o u r   c l u s t e r :   k u b e c t l   g e t   r e s o u r c e s l i c e s   T h e   o u t p u t   i s   s i m i l a r   t o   t h e   f o l l o w i n g :   N A M E   N O D E   D R I V E R   P O O L   A G E   c l u s t e r - 1 - d e v i c e - p o o l - 1 - d r i v e r . e x a m p l e . c o m - l q x 8 x   c l u s t e r - 1 - n o d e - 1   d r i v e r . e x a m p l e . c o m   c l u s t e r - 1 - d e v i c e - p o o l - 1 - r 1 g c   7 s   c l u s t e r - 1 - d e v i c e - p o o l - 2 - d r i v e r . e x a m p l e . c o m - 2 9 t 7 b   c l u s t e r - 1 - n o d e - 2   d r i v e r . e x a m p l e . c o m   c l u s t e r - 1 - d e v i c e - p o o l - 2 - 4 4 6 z   8 s   T r y   t h e   f o l l o w i n g   t r o u b l e s h o o t i n g   s t e p s :   C h e c k   t h e   h e a l t h   o f   t h e   D R A   d r i v e r   a n d   l o o k   f o r   e r r o r   m e s s a g e s   a b o u t   p u b l i s h i n g   R e s o u r c e S l i c e s   i n   i t s   l o g   o u t p u t .   T h e   v e n d o r   o f   t h e   d r i v e r   m a y   h a v e   f u r t h e r   i n s t r u c t i o n s   a b o u t   i n s t a l l a t i o n   a n d   t r o u b l e s h o o t i n g .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18076"
  },
  {
    "question": "What is Create DeviceClasses?",
    "answer": "Y o u   c a n   d e f i n e   c a t e g o r i e s   o f   d e v i c e s   t h a t   y o u r   a p p l i c a t i o n   o p e r a t o r s   c a n   c l a i m   i n   w o r k l o a d s   b y   c r e a t i n g   D e v i c e C l a s s e s .   S o m e   d e v i c e   d r i v e r   p r o v i d e r s   m i g h t   a l s o   i n s t r u c t   y o u   t o   c r e a t e   D e v i c e C l a s s e s   d u r i n g   d r i v e r   i n s t a l l a t i o n .   T h e   R e s o u r c e S l i c e s   t h a t   y o u r   d r i v e r   p u b l i s h e s   c o n t a i n   i n f o r m a t i o n   a b o u t   t h e   d e v i c e s   t h a t   t h e   d r i v e r   m a n a g e s ,   s u c h   a s   c a p a c i t y ,   m e t a d a t a ,   a n d   a t t r i b u t e s .   Y o u   c a n   u s e   C o m m o n   E x p r e s s i o n   L a n g u a g e   t o   f i l t e r   f o r   p r o p e r t i e s   i n   y o u r   D e v i c e C l a s s e s ,   w h i c h   c a n   m a k e   f i n d i n g   d e v i c e s   e a s i e r   f o r   y o u r   w o r k l o a d   o p e r a t o r s .   T o   f i n d   t h e   d e v i c e   p r o p e r t i e s   t h a t   y o u   c a n   s e l e c t   i n   D e v i c e C l a s s e s   b y   u s i n g   C E L   e x p r e s s i o n s ,   g e t   t h e   s p e c i f i c a t i o n   o f   a   R e s o u r c e S l i c e : k u b e c t l   g e t   r e s o u r c e s l i c e   < r e s o u r c e s l i c e - n a m e >   - o   y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h e   f o l l o w i n g : a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   R e s o u r c e S l i c e   #   l i n e s   o m i t t e d   f o r   c l a r i t y   s p e c :   d e v i c e s :   -   a t t r i b u t e s :   t y p e :   s t r i n g :   g p u   c a p a c i t y :   m e m o r y :   v a l u e :   6 4 G i   n a m e :   g p u - 0   -   a t t r i b u t e s :   t y p e :   s t r i n g :   g p u   c a p a c i t y :   m e m o r y :   v a l u e :   6 4 G i   n a m e :   g p u - 1 ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18077"
  },
  {
    "question": "What is Clean up?",
    "answer": "T o   d e l e t e   t h e   D e v i c e C l a s s   t h a t   y o u   c r e a t e d   i n   t h i s   t a s k ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / d e v i c e c l a s s . y a m l",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18078"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   D R A A l l o c a t e   D e v i c e s   t o   W o r k l o a d s   w i t h   D R A",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18079"
  },
  {
    "question": "What is 3.3.2 - Allocate Devices to Workloads with DRA?",
    "answer": "T h i s   p a g e   s h o w s   y o u   h o w   t o   a l l o c a t e   d e v i c e s   t o   y o u r   P o d s   b y   u s i n g   d y n a m i c   r e s o u r c e   a l l o c a t i o n   ( D R A ) .   T h e s e   i n s t r u c t i o n s   a r e   f o r   w o r k l o a d   o p e r a t o r s .   B e f o r e   r e a d i n g   t h i s   p a g e ,   f a m i l i a r i z e   y o u r s e l f   w i t h   h o w   D R A   w o r k s   a n d   w i t h   D R A   t e r m i n o l o g y   l i k e   R e s o u r c e C l a i m s   a n d   R e s o u r c e C l a i m T e m p l a t e s .   F o r   m o r e   i n f o r m a t i o n ,   s e e   D y n a m i c   R e s o u r c e   A l l o c a t i o n   ( D R A ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18080"
  },
  {
    "question": "What is About device allocation with DRA?",
    "answer": "A s   a   w o r k l o a d   o p e r a t o r ,   y o u   c a n   c l a i m   d e v i c e s   f o r   y o u r   w o r k l o a d s   b y   c r e a t i n g   R e s o u r c e C l a i m s   o r   R e s o u r c e C l a i m T e m p l a t e s .   W h e n   y o u   d e p l o y   y o u r   w o r k l o a d ,   K u b e r n e t e s   a n d   t h e   d e v i c e   d r i v e r s   f i n d   a v a i l a b l e   d e v i c e s ,   a l l o c a t e   t h e m   t o   y o u r   P o d s ,   a n d   p l a c e   t h e   P o d s   o n   n o d e s   t h a t   c a n   a c c e s s   t h o s e   d e v i c e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18081"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   v e r s i o n   v 1 . 3 4 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   E n s u r e   t h a t   y o u r   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18082"
  },
  {
    "question": "What is Identify devices to claim?",
    "answer": "Y o u r   c l u s t e r   a d m i n i s t r a t o r   o r   t h e   d e v i c e   d r i v e r s   c r e a t e   D e v i c e C l a s s e s   t h a t   d e f i n e   c a t e g o r i e s   o f   d e v i c e s .   Y o u   c a n   c l a i m   d e v i c e s   b y   u s i n g   C o m m o n   E x p r e s s i o n   L a n g u a g e   t o   f i l t e r   f o r   s p e c i f i c   d e v i c e   p r o p e r t i e s .   G e t   a   l i s t   o f   D e v i c e C l a s s e s   i n   t h e   c l u s t e r :   k u b e c t l   g e t   d e v i c e c l a s s e s   T h e   o u t p u t   i s   s i m i l a r   t o   t h e   f o l l o w i n g :   N A M E   A G E   d r i v e r . e x a m p l e . c o m   1 6 m   I f   y o u   g e t   a   p e r m i s s i o n   e r r o r ,   y o u   m i g h t   n o t   h a v e   a c c e s s   t o   g e t   D e v i c e C l a s s e s .   C h e c k   w i t h   y o u r   c l u s t e r   a d m i n i s t r a t o r   o r   w i t h   t h e   d r i v e r   p r o v i d e r   f o r   a v a i l a b l e   d e v i c e   p r o p e r t i e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18083"
  },
  {
    "question": "What is Claim resources?",
    "answer": "Y o u   c a n   r e q u e s t   r e s o u r c e s   f r o m   a   D e v i c e C l a s s   b y   u s i n g   R e s o u r c e C l a i m s .   T o   c r e a t e   a   R e s o u r c e C l a i m ,   d o   o n e   o f   t h e   f o l l o w i n g :   M a n u a l l y   c r e a t e   a   R e s o u r c e C l a i m   i f   y o u   w a n t   m u l t i p l e   P o d s   t o   s h a r e   a c c e s s   t o   t h e   s a m e   d e v i c e s ,   o r   i f   y o u   w a n t   a   c l a i m   t o   e x i s t   b e y o n d   t h e   l i f e t i m e   o f   a   P o d . U s e   a   R e s o u r c e C l a i m T e m p l a t e   t o   l e t   K u b e r n e t e s   g e n e r a t e   a n d   m a n a g e   p e r - P o d   R e s o u r c e C l a i m s .   C r e a t e   a   R e s o u r c e C l a i m T e m p l a t e   i f   y o u   w a n t   e v e r y   P o d   t o   h a v e   a c c e s s   t o   s e p a r a t e   d e v i c e s   t h a t   h a v e   s i m i l a r   c o n f i g u r a t i o n s .   F o r   e x a m p l e ,   y o u   m i g h t   w a n t   s i m u l t a n e o u s   a c c e s s   t o   d e v i c e s   f o r   P o d s   i n   a   J o b   t h a t   u s e s   p a r a l l e l   e x e c u t i o n .   I f   y o u   d i r e c t l y   r e f e r e n c e   a   s p e c i f i c   R e s o u r c e C l a i m   i n   a   P o d ,   t h a t   R e s o u r c e C l a i m   m u s t   a l r e a d y   e x i s t   i n   t h e   c l u s t e r .   I f   a   r e f e r e n c e d   R e s o u r c e C l a i m   d o e s n ' t   e x i s t ,   t h e   P o d   r e m a i n s   i n   a   p e n d i n g   s t a t e   u n t i l   t h e   R e s o u r c e C l a i m   i s   c r e a t e d .   Y o u   c a n   r e f e r e n c e   a n   a u t o - g e n e r a t e d   R e s o u r c e C l a i m   i n   a   P o d ,   b u t   t h i s   i s n ' t   r e c o m m e n d e d   b e c a u s e   a u t o - g e n e r a t e d   R e s o u r c e C l a i m s   a r e   b o u n d   t o   t h e   l i f e t i m e   o f   t h e   P o d   t h a t   t r i g g ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18084"
  },
  {
    "question": "What is Request devices in workloads using DRA?",
    "answer": "T o   r e q u e s t   d e v i c e   a l l o c a t i o n ,   s p e c i f y   a   R e s o u r c e C l a i m   o r   a   R e s o u r c e C l a i m T e m p l a t e   i n   t h e   r e s o u r c e C l a i m s   f i e l d   o f   t h e   P o d   s p e c i f i c a t i o n .   T h e n ,   r e q u e s t   a   s p e c i f i c   c l a i m   b y   n a m e   i n   t h e   r e s o u r c e s . c l a i m s   f i e l d   o f   a   c o n t a i n e r   i n   t h a t   P o d .   Y o u   c a n   s p e c i f y   m u l t i p l e   e n t r i e s   i n   t h e   r e s o u r c e C l a i m s   f i e l d   a n d   u s e   s p e c i f i c   c l a i m s   i n   d i f f e r e n t   c o n t a i n e r s .   R e v i e w   t h e   f o l l o w i n g   e x a m p l e   J o b : d r a / d r a - e x a m p l e - j o b . y a m l   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   e x a m p l e - d r a - j o b   s p e c :   c o m p l e t i o n s :   1 0   p a r a l l e l i s m :   2   t e m p l a t e :   s p e c :   r e s t a r t P o l i c y :   N e v e r   c o n t a i n e r s :   -   n a m e :   c o n t a i n e r 0   i m a g e :   u b u n t u : 2 4 . 0 4   c o m m a n d :   [ \" s l e e p \" ,   \" 9 9 9 9 \" ]   r e s o u r c e s :   c l a i m s :   -   n a m e :   s e p a r a t e - g p u - c l a i m   -   n a m e :   c o n t a i n e r 1   i m a g e :   u b u n t u : 2 4 . 0 4   c o m m a n d :   [ \" s l e e p \" ,   \" 9 9 9 9 \" ]   r e s o u r c e s :   c l a i m s :   -   n a m e :   s h a r e d - g p u - c l a i m   -   n a m e :   c o n t a i n e r 2   i m a g e :   u b u n t u : 2 4 . 0 4   c o m m a n d :   [ \" s l e e p \" ,   \" 9 9 9 9 \" ]   r e s o u r c e s :   c l a i m s :   -   n a m e :   s h a r e d - g p u - c l a i m   r e s o u r c e C l a i m s :   -   n a m e :   s e p a r a t e - g p u - c l a i m   r e s o u r c e C l a i m T e m p l a t e N a m e :   e x a m p l e - r e s o u r c e - c l a i m - t e m p l a t e   -   n a m e :   s h a r e d - g p ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18085"
  },
  {
    "question": "What is Clean up?",
    "answer": "T o   d e l e t e   t h e   K u b e r n e t e s   o b j e c t s   t h a t   y o u   c r e a t e d   i n   t h i s   t a s k ,   f o l l o w   t h e s e   s t e p s :   D e l e t e   t h e   e x a m p l e   J o b : k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / d r a - e x a m p l e - j o b . y a m l   T o   d e l e t e   y o u r   r e s o u r c e   c l a i m s ,   r u n   o n e   o f   t h e   f o l l o w i n g   c o m m a n d s : D e l e t e   t h e   R e s o u r c e C l a i m T e m p l a t e : k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / r e s o u r c e c l a i m t e m p l a t e . y a m l   D e l e t e   t h e   R e s o u r c e C l a i m : k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / r e s o u r c e c l a i m . y a m l   D e l e t e   t h e   e x a m p l e   J o b :   k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / d r a - e x a m p l e - j o b . y a m l   T o   d e l e t e   y o u r   r e s o u r c e   c l a i m s ,   r u n   o n e   o f   t h e   f o l l o w i n g   c o m m a n d s :   D e l e t e   t h e   R e s o u r c e C l a i m T e m p l a t e : k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / r e s o u r c e c l a i m t e m p l a t e . y a m l   D e l e t e   t h e   R e s o u r c e C l a i m : k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / r e s o u r c e c l a i m . y a m l   D e l e t e   t h e   R e s o u r c e C l a i m T e m p l a t e :   k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / r e s o u r c e c l a i m t e m p l a t e . y a m l   D e l e t e   t h e   R e s o u r c e C l a i m :   k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / r e s o u r c e c l a i m . y a m l",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18086"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   D R A",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18087"
  },
  {
    "question": "What is 3.4 - Assign Pod-level CPU and memory resources?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   s p e c i f y   C P U   a n d   m e m o r y   r e s o u r c e s   f o r   a   P o d   a t   p o d - l e v e l   i n   a d d i t i o n   t o   c o n t a i n e r - l e v e l   r e s o u r c e   s p e c i f i c a t i o n s .   A   K u b e r n e t e s   n o d e   a l l o c a t e s   r e s o u r c e s   t o   a   p o d   b a s e d   o n   t h e   p o d ' s   r e s o u r c e   r e q u e s t s .   T h e s e   r e q u e s t s   c a n   b e   d e f i n e d   a t   t h e   p o d   l e v e l   o r   i n d i v i d u a l l y   f o r   c o n t a i n e r s   w i t h i n   t h e   p o d .   W h e n   b o t h   a r e   p r e s e n t ,   t h e   p o d - l e v e l   r e q u e s t s   t a k e   p r e c e d e n c e .   S i m i l a r l y ,   a   p o d ' s   r e s o u r c e   u s a g e   i s   r e s t r i c t e d   b y   l i m i t s ,   w h i c h   c a n   a l s o   b e   s e t   a t   t h e   p o d - l e v e l   o r   i n d i v i d u a l l y   f o r   c o n t a i n e r s   w i t h i n   t h e   p o d .   A g a i n ,   p o d - l e v e l   l i m i t s   a r e   p r i o r i t i z e d   w h e n   b o t h   a r e   p r e s e n t .   T h i s   a l l o w s   f o r   f l e x i b l e   r e s o u r c e   m a n a g e m e n t ,   e n a b l i n g   y o u   t o   c o n t r o l   r e s o u r c e   a l l o c a t i o n   a t   b o t h   t h e   p o d   a n d   c o n t a i n e r   l e v e l s .   I n   o r d e r   t o   s p e c i f y   t h e   r e s o u r c e s   a t   p o d - l e v e l ,   i t   i s   r e q u i r e d   t o   e n a b l e   P o d L e v e l R e s o u r c e s   f e a t u r e   g a t e .   F o r   P o d   L e v e l   R e s o u r c e s :   P r i o r i t y :   W h e n   b o t h   p o d - l e v e l   a n d   c o n t a i n e r - l e v e l   r e s o u r c e s   a r e   s p e c i f i e d ,   p o d - l e v e l   r e s o u r c e s   t a k e   p r e c e d e n c e . Q o S :   P o d - l e v e l   r e s o u r c e s   t a k e   p r e c e d e n c e   i n   i n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18088"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 3 4 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   T ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18089"
  },
  {
    "question": "What is Limitations?",
    "answer": "F o r   K u b e r n e t e s   1 . 3 4 ,   r e s i z i n g   p o d - l e v e l   r e s o u r c e s   h a s   t h e   f o l l o w i n g   l i m i t a t i o n s :   R e s o u r c e   T y p e s :   O n l y   C P U ,   m e m o r y   a n d   h u g e p a g e s   r e s o u r c e s   c a n   b e   s p e c i f i e d   a t   p o d - l e v e l . O p e r a t i n g   S y s t e m :   P o d - l e v e l   r e s o u r c e s   a r e   n o t   s u p p o r t e d   f o r   W i n d o w s   p o d s . R e s o u r c e   M a n a g e r s :   T h e   T o p o l o g y   M a n a g e r ,   M e m o r y   M a n a g e r   a n d   C P U   M a n a g e r   d o   n o t   a l i g n   p o d s   a n d   c o n t a i n e r s   b a s e d   o n   p o d - l e v e l   r e s o u r c e s   a s   t h e s e   r e s o u r c e   m a n a g e r s   d o n ' t   c u r r e n t l y   s u p p o r t   p o d - l e v e l   r e s o u r c e s . I n - P l a c e   R e s i z e :   I n - p l a c e   r e s i z e   o f   p o d - l e v e l   r e s o u r c e s   i s   n o t   s u p p o r t e d .   M o d i f y i n g   t h e   p o d - l e v e l   r e s o u r c e   l i m i t s   o r   r e q u e s t s   o n   a   p o d   r e s u l t   i n   a   f i e l d . F o r b i d d e n   e r r o r .   T h e   e r r o r   m e s s a g e   e x p l i c i t l y   s t a t e s ,   \" p o d s   w i t h   p o d - l e v e l   r e s o u r c e s   c a n n o t   b e   r e s i z e d . \"",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18090"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   n a m e s p a c e   s o   t h a t   t h e   r e s o u r c e s   y o u   c r e a t e   i n   t h i s   e x e r c i s e   a r e   i s o l a t e d   f r o m   t h e   r e s t   o f   y o u r   c l u s t e r .   k u b e c t l   c r e a t e   n a m e s p a c e   p o d - r e s o u r c e s - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18091"
  },
  {
    "question": "What is Create a pod with memory requests and limits at pod-level?",
    "answer": "T o   s p e c i f y   m e m o r y   r e q u e s t s   f o r   a   P o d   a t   p o d - l e v e l ,   i n c l u d e   t h e   r e s o u r c e s . r e q u e s t s . m e m o r y   f i e l d   i n   t h e   P o d   s p e c   m a n i f e s t .   T o   s p e c i f y   a   m e m o r y   l i m i t ,   i n c l u d e   r e s o u r c e s . l i m i t s . m e m o r y .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   T h e   P o d   h a s   a   m e m o r y   r e q u e s t   o f   1 0 0   M i B   a n d   a   m e m o r y   l i m i t   o f   2 0 0   M i B .   H e r e ' s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m e m o r y - d e m o   n a m e s p a c e :   p o d - r e s o u r c e s - e x a m p l e   s p e c :   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 1 0 0 M i \"   l i m i t s :   m e m o r y :   \" 2 0 0 M i \"   c o n t a i n e r s :   -   n a m e :   m e m o r y - d e m o - c t r   i m a g e :   n g i n x   c o m m a n d :   [ \" s t r e s s \" ]   a r g s :   [ \" - - v m \" ,   \" 1 \" ,   \" - - v m - b y t e s \" ,   \" 1 5 0 M \" ,   \" - - v m - h a n g \" ,   \" 1 \" ]   T h e   a r g s   s e c t i o n   i n   t h e   m a n i f e s t   p r o v i d e s   a r g u m e n t s   f o r   t h e   c o n t a i n e r   w h e n   i t   s t a r t s .   T h e   \" - - v m - b y t e s \" ,   \" 1 5 0 M \"   a r g u m e n t s   t e l l   t h e   C o n t a i n e r   t o   a t t e m p t   t o   a l l o c a t e   1 5 0   M i B   o f   m e m o r y .   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / r e s o u r c e / p o d - l e v e l - m e m o r y - r e q u e s t - l i m i t . y a m l   - - n a m e s p a c e = p o d - r e s o u r c e s - e x a m p l e   V e r i f y   t h a t   t h e   P o d   i s   r u n n i n g :   k u b e c t l   g ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18092"
  },
  {
    "question": "What is Create a pod with CPU requests and limits at pod-level?",
    "answer": "T o   s p e c i f y   a   C P U   r e q u e s t   f o r   a   P o d ,   i n c l u d e   t h e   r e s o u r c e s . r e q u e s t s . c p u   f i e l d   i n   t h e   P o d   s p e c   m a n i f e s t .   T o   s p e c i f y   a   C P U   l i m i t ,   i n c l u d e   r e s o u r c e s . l i m i t s . c p u .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   P o d   h a s   a   r e q u e s t   o f   0 . 5   C P U   a n d   a   l i m i t   o f   1   C P U .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c p u - d e m o   n a m e s p a c e :   p o d - r e s o u r c e s - e x a m p l e   s p e c :   r e s o u r c e s :   l i m i t s :   c p u :   \" 1 \"   r e q u e s t s :   c p u :   \" 0 . 5 \"   c o n t a i n e r s :   -   n a m e :   c p u - d e m o - c t r   i m a g e :   v i s h / s t r e s s   a r g s :   -   - c p u s   -   \" 2 \"   T h e   a r g s   s e c t i o n   o f   t h e   c o n f i g u r a t i o n   f i l e   p r o v i d e s   a r g u m e n t s   f o r   t h e   c o n t a i n e r   w h e n   i t   s t a r t s .   T h e   - c p u s   \" 2 \"   a r g u m e n t   t e l l s   t h e   C o n t a i n e r   t o   a t t e m p t   t o   u s e   2   C P U s .   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / r e s o u r c e / p o d - l e v e l - c p u - r e q u e s t - l i m i t . y a m l   - - n a m e s p a c e = p o d - r e s o u r c e s - e x a m p l e   V e r i f y   t h a t   t h e   P o d   i s   r u n n i n g :   k u b e c t l   g e t   p o d   c p u - d e m o   - - n a m e s p a c e = p o d - r e s o u r c e s - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   P o d :   k u b e c t l   g e t   p o d   c p u - d e m o   - - o u t p u t = y a m l   - ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18093"
  },
  {
    "question": "What is Create a pod with resource requests and limits at both pod-level and container-level?",
    "answer": "T o   a s s i g n   C P U   a n d   m e m o r y   r e s o u r c e s   t o   a   P o d ,   y o u   c a n   s p e c i f y   t h e m   a t   b o t h   t h e   p o d   l e v e l   a n d   t h e   c o n t a i n e r   l e v e l .   I n c l u d e   t h e   r e s o u r c e s   f i e l d   i n   t h e   P o d   s p e c   t o   d e f i n e   r e s o u r c e s   f o r   t h e   e n t i r e   P o d .   A d d i t i o n a l l y ,   i n c l u d e   t h e   r e s o u r c e s   f i e l d   w i t h i n   c o n t a i n e r ' s   s p e c i f i c a t i o n   i n   t h e   P o d ' s   m a n i f e s t   t o   s e t   c o n t a i n e r - s p e c i f i c   r e s o u r c e   r e q u i r e m e n t s .   I n   t h i s   e x e r c i s e ,   y o u ' l l   c r e a t e   a   P o d   w i t h   t w o   c o n t a i n e r s   t o   e x p l o r e   t h e   i n t e r a c t i o n   o f   p o d - l e v e l   a n d   c o n t a i n e r - l e v e l   r e s o u r c e   s p e c i f i c a t i o n s .   T h e   P o d   i t s e l f   w i l l   h a v e   d e f i n e d   C P U   r e q u e s t s   a n d   l i m i t s ,   w h i l e   o n l y   o n e   o f   t h e   c o n t a i n e r s   w i l l   h a v e   i t s   o w n   e x p l i c i t   r e s o u r c e   r e q u e s t s   a n d   l i m i t s .   T h e   o t h e r   c o n t a i n e r   w i l l   i n h e r i t   t h e   r e s o u r c e   c o n s t r a i n t s   f r o m   t h e   p o d - l e v e l   s e t t i n g s .   H e r e ' s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p o d - r e s o u r c e s - d e m o   n a m e s p a c e :   p o d - r e s o u r c e s - e x a m p l e   s p e c :   r e s o u r c e s :   l i m i t s :   c p u :   \" 1 \"   m e m o r y :   \" 2 0 0 M i \"   r e q u e s t s :   c p u :   \" 1 \"   m e m o r y :   \" 1 0 0 M i \"   c o n t a i n e r s :   -   n a m e :   p o d - r e s o u r c e s - d e m o - c t r - 1   i m a g e :   n g i n x   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18094"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   n a m e s p a c e :   k u b e c t l   d e l e t e   n a m e s p a c e   p o d - r e s o u r c e s - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18095"
  },
  {
    "question": "What is For application developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18096"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18097"
  },
  {
    "question": "What is 3.5 - Configure GMSA for Windows Pods and containers?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   G r o u p   M a n a g e d   S e r v i c e   A c c o u n t s   ( G M S A )   f o r   P o d s   a n d   c o n t a i n e r s   t h a t   w i l l   r u n   o n   W i n d o w s   n o d e s .   G r o u p   M a n a g e d   S e r v i c e   A c c o u n t s   a r e   a   s p e c i f i c   t y p e   o f   A c t i v e   D i r e c t o r y   a c c o u n t   t h a t   p r o v i d e s   a u t o m a t i c   p a s s w o r d   m a n a g e m e n t ,   s i m p l i f i e d   s e r v i c e   p r i n c i p a l   n a m e   ( S P N )   m a n a g e m e n t ,   a n d   t h e   a b i l i t y   t o   d e l e g a t e   t h e   m a n a g e m e n t   t o   o t h e r   a d m i n i s t r a t o r s   a c r o s s   m u l t i p l e   s e r v e r s .   I n   K u b e r n e t e s ,   G M S A   c r e d e n t i a l   s p e c s   a r e   c o n f i g u r e d   a t   a   K u b e r n e t e s   c l u s t e r - w i d e   s c o p e   a s   C u s t o m   R e s o u r c e s .   W i n d o w s   P o d s ,   a s   w e l l   a s   i n d i v i d u a l   c o n t a i n e r s   w i t h i n   a   P o d ,   c a n   b e   c o n f i g u r e d   t o   u s e   a   G M S A   f o r   d o m a i n   b a s e d   f u n c t i o n s   ( e . g .   K e r b e r o s   a u t h e n t i c a t i o n )   w h e n   i n t e r a c t i n g   w i t h   o t h e r   W i n d o w s   s e r v i c e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18098"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   T h e   c l u s t e r   i s   e x p e c t e d   t o   h a v e   W i n d o w s   w o r k e r   n o d e s .   T h i s   s e c t i o n   c o v e r s   a   s e t   o f   i n i t i a l   s t e p s   r e q u i r e d   o n c e   f o r   e a c h   c l u s t e r :",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18099"
  },
  {
    "question": "What is Install the GMSACredentialSpec CRD?",
    "answer": "A   C u s t o m R e s o u r c e D e f i n i t i o n ( C R D )   f o r   G M S A   c r e d e n t i a l   s p e c   r e s o u r c e s   n e e d s   t o   b e   c o n f i g u r e d   o n   t h e   c l u s t e r   t o   d e f i n e   t h e   c u s t o m   r e s o u r c e   t y p e   G M S A C r e d e n t i a l S p e c .   D o w n l o a d   t h e   G M S A   C R D   Y A M L   a n d   s a v e   i t   a s   g m s a - c r d . y a m l .   N e x t ,   i n s t a l l   t h e   C R D   w i t h   k u b e c t l   a p p l y   - f   g m s a - c r d . y a m l",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18100"
  },
  {
    "question": "What is Install webhooks to validate GMSA users?",
    "answer": "T w o   w e b h o o k s   n e e d   t o   b e   c o n f i g u r e d   o n   t h e   K u b e r n e t e s   c l u s t e r   t o   p o p u l a t e   a n d   v a l i d a t e   G M S A   c r e d e n t i a l   s p e c   r e f e r e n c e s   a t   t h e   P o d   o r   c o n t a i n e r   l e v e l :   A   m u t a t i n g   w e b h o o k   t h a t   e x p a n d s   r e f e r e n c e s   t o   G M S A s   ( b y   n a m e   f r o m   a   P o d   s p e c i f i c a t i o n )   i n t o   t h e   f u l l   c r e d e n t i a l   s p e c   i n   J S O N   f o r m   w i t h i n   t h e   P o d   s p e c . A   v a l i d a t i n g   w e b h o o k   e n s u r e s   a l l   r e f e r e n c e s   t o   G M S A s   a r e   a u t h o r i z e d   t o   b e   u s e d   b y   t h e   P o d   s e r v i c e   a c c o u n t .   A   m u t a t i n g   w e b h o o k   t h a t   e x p a n d s   r e f e r e n c e s   t o   G M S A s   ( b y   n a m e   f r o m   a   P o d   s p e c i f i c a t i o n )   i n t o   t h e   f u l l   c r e d e n t i a l   s p e c   i n   J S O N   f o r m   w i t h i n   t h e   P o d   s p e c .   A   v a l i d a t i n g   w e b h o o k   e n s u r e s   a l l   r e f e r e n c e s   t o   G M S A s   a r e   a u t h o r i z e d   t o   b e   u s e d   b y   t h e   P o d   s e r v i c e   a c c o u n t .   I n s t a l l i n g   t h e   a b o v e   w e b h o o k s   a n d   a s s o c i a t e d   o b j e c t s   r e q u i r e   t h e   s t e p s   b e l o w :   C r e a t e   a   c e r t i f i c a t e   k e y   p a i r   ( t h a t   w i l l   b e   u s e d   t o   a l l o w   t h e   w e b h o o k   c o n t a i n e r   t o   c o m m u n i c a t e   t o   t h e   c l u s t e r ) I n s t a l l   a   s e c r e t   w i t h   t h e   c e r t i f i c a t e   f r o m   a b o v e . C r e a t e   a   d e p l o y m e n t   f o r   t h e   c o r e   w e b h o o k   l o g i c . C r e a t e   t h e   v a l i d a t i n g   a n d   m u t a t i n g   w e b h o o k   c o n f i g u r a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18101"
  },
  {
    "question": "What is Configure GMSAs and Windows nodes in Active Directory?",
    "answer": "B e f o r e   P o d s   i n   K u b e r n e t e s   c a n   b e   c o n f i g u r e d   t o   u s e   G M S A s ,   t h e   d e s i r e d   G M S A s   n e e d   t o   b e   p r o v i s i o n e d   i n   A c t i v e   D i r e c t o r y   a s   d e s c r i b e d   i n   t h e   W i n d o w s   G M S A   d o c u m e n t a t i o n .   W i n d o w s   w o r k e r   n o d e s   ( t h a t   a r e   p a r t   o f   t h e   K u b e r n e t e s   c l u s t e r )   n e e d   t o   b e   c o n f i g u r e d   i n   A c t i v e   D i r e c t o r y   t o   a c c e s s   t h e   s e c r e t   c r e d e n t i a l s   a s s o c i a t e d   w i t h   t h e   d e s i r e d   G M S A   a s   d e s c r i b e d   i n   t h e   W i n d o w s   G M S A   d o c u m e n t a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18102"
  },
  {
    "question": "What is Create GMSA credential spec resources?",
    "answer": "W i t h   t h e   G M S A C r e d e n t i a l S p e c   C R D   i n s t a l l e d   ( a s   d e s c r i b e d   e a r l i e r ) ,   c u s t o m   r e s o u r c e s   c o n t a i n i n g   G M S A   c r e d e n t i a l   s p e c s   c a n   b e   c o n f i g u r e d .   T h e   G M S A   c r e d e n t i a l   s p e c   d o e s   n o t   c o n t a i n   s e c r e t   o r   s e n s i t i v e   d a t a .   I t   i s   i n f o r m a t i o n   t h a t   a   c o n t a i n e r   r u n t i m e   c a n   u s e   t o   d e s c r i b e   t h e   d e s i r e d   G M S A   o f   a   c o n t a i n e r   t o   W i n d o w s .   G M S A   c r e d e n t i a l   s p e c s   c a n   b e   g e n e r a t e d   i n   Y A M L   f o r m a t   w i t h   a   u t i l i t y   P o w e r S h e l l   s c r i p t .   F o l l o w i n g   a r e   t h e   s t e p s   f o r   g e n e r a t i n g   a   G M S A   c r e d e n t i a l   s p e c   Y A M L   m a n u a l l y   i n   J S O N   f o r m a t   a n d   t h e n   c o n v e r t i n g   i t :   I m p o r t   t h e   C r e d e n t i a l S p e c   m o d u l e :   i p m o   C r e d e n t i a l S p e c . p s m 1 C r e a t e   a   c r e d e n t i a l   s p e c   i n   J S O N   f o r m a t   u s i n g   N e w - C r e d e n t i a l S p e c .   T o   c r e a t e   a   G M S A   c r e d e n t i a l   s p e c   n a m e d   W e b A p p 1 ,   i n v o k e   N e w - C r e d e n t i a l S p e c   - N a m e   W e b A p p 1   - A c c o u n t N a m e   W e b A p p 1   - D o m a i n   $ ( G e t - A D D o m a i n   - C u r r e n t   L o c a l C o m p u t e r ) U s e   G e t - C r e d e n t i a l S p e c   t o   s h o w   t h e   p a t h   o f   t h e   J S O N   f i l e . C o n v e r t   t h e   c r e d s p e c   f i l e   f r o m   J S O N   t o   Y A M L   f o r m a t   a n d   a p p l y   t h e   n e c e s s a r y   h e a d e r   f i e l d s   a p i V e r s i o n ,   k i n d ,   m e t a d a t a   a n d   c r e d s p e c   t o   m a k e   i t   a   G M S A C r e d e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18103"
  },
  {
    "question": "What is Configure cluster role to enable RBAC on specific GMSA credential specs?",
    "answer": "A   c l u s t e r   r o l e   n e e d s   t o   b e   d e f i n e d   f o r   e a c h   G M S A   c r e d e n t i a l   s p e c   r e s o u r c e .   T h i s   a u t h o r i z e s   t h e   u s e   v e r b   o n   a   s p e c i f i c   G M S A   r e s o u r c e   b y   a   s u b j e c t   w h i c h   i s   t y p i c a l l y   a   s e r v i c e   a c c o u n t .   T h e   f o l l o w i n g   e x a m p l e   s h o w s   a   c l u s t e r   r o l e   t h a t   a u t h o r i z e s   u s a g e   o f   t h e   g m s a - W e b A p p 1   c r e d e n t i a l   s p e c   f r o m   a b o v e .   S a v e   t h e   f i l e   a s   g m s a - w e b a p p 1 - r o l e . y a m l   a n d   a p p l y   u s i n g   k u b e c t l   a p p l y   - f   g m s a - w e b a p p 1 - r o l e . y a m l   #   C r e a t e   t h e   R o l e   t o   r e a d   t h e   c r e d s p e c   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   n a m e :   w e b a p p 1 - r o l e   r u l e s :   -   a p i G r o u p s :   [ \" w i n d o w s . k 8 s . i o \" ]   r e s o u r c e s :   [ \" g m s a c r e d e n t i a l s p e c s \" ]   v e r b s :   [ \" u s e \" ]   r e s o u r c e N a m e s :   [ \" g m s a - W e b A p p 1 \" ]",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18104"
  },
  {
    "question": "What is Assign role to service accounts to use specific GMSA credspecs?",
    "answer": "A   s e r v i c e   a c c o u n t   ( t h a t   P o d s   w i l l   b e   c o n f i g u r e d   w i t h )   n e e d s   t o   b e   b o u n d   t o   t h e   c l u s t e r   r o l e   c r e a t e   a b o v e .   T h i s   a u t h o r i z e s   t h e   s e r v i c e   a c c o u n t   t o   u s e   t h e   d e s i r e d   G M S A   c r e d e n t i a l   s p e c   r e s o u r c e .   T h e   f o l l o w i n g   s h o w s   t h e   d e f a u l t   s e r v i c e   a c c o u n t   b e i n g   b o u n d   t o   a   c l u s t e r   r o l e   w e b a p p 1 - r o l e   t o   u s e   g m s a - W e b A p p 1   c r e d e n t i a l   s p e c   r e s o u r c e   c r e a t e d   a b o v e .   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   R o l e B i n d i n g   m e t a d a t a :   n a m e :   a l l o w - d e f a u l t - s v c - a c c o u n t - r e a d - o n - g m s a - W e b A p p 1   n a m e s p a c e :   d e f a u l t   s u b j e c t s :   -   k i n d :   S e r v i c e A c c o u n t   n a m e :   d e f a u l t   n a m e s p a c e :   d e f a u l t   r o l e R e f :   k i n d :   C l u s t e r R o l e   n a m e :   w e b a p p 1 - r o l e   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18105"
  },
  {
    "question": "What is Configure GMSA credential spec reference in Pod spec?",
    "answer": "T h e   P o d   s p e c   f i e l d   s e c u r i t y C o n t e x t . w i n d o w s O p t i o n s . g m s a C r e d e n t i a l S p e c N a m e   i s   u s e d   t o   s p e c i f y   r e f e r e n c e s   t o   d e s i r e d   G M S A   c r e d e n t i a l   s p e c   c u s t o m   r e s o u r c e s   i n   P o d   s p e c s .   T h i s   c o n f i g u r e s   a l l   c o n t a i n e r s   i n   t h e   P o d   s p e c   t o   u s e   t h e   s p e c i f i e d   G M S A .   A   s a m p l e   P o d   s p e c   w i t h   t h e   a n n o t a t i o n   p o p u l a t e d   t o   r e f e r   t o   g m s a - W e b A p p 1 :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   l a b e l s :   r u n :   w i t h - c r e d s   n a m e :   w i t h - c r e d s   n a m e s p a c e :   d e f a u l t   s p e c :   r e p l i c a s :   1   s e l e c t o r :   m a t c h L a b e l s :   r u n :   w i t h - c r e d s   t e m p l a t e :   m e t a d a t a :   l a b e l s :   r u n :   w i t h - c r e d s   s p e c :   s e c u r i t y C o n t e x t :   w i n d o w s O p t i o n s :   g m s a C r e d e n t i a l S p e c N a m e :   g m s a - w e b a p p 1   c o n t a i n e r s :   -   i m a g e :   m c r . m i c r o s o f t . c o m / w i n d o w s / s e r v e r c o r e / i i s : w i n d o w s s e r v e r c o r e - l t s c 2 0 1 9   i m a g e P u l l P o l i c y :   A l w a y s   n a m e :   i i s   n o d e S e l e c t o r :   k u b e r n e t e s . i o / o s :   w i n d o w s   I n d i v i d u a l   c o n t a i n e r s   i n   a   P o d   s p e c   c a n   a l s o   s p e c i f y   t h e   d e s i r e d   G M S A   c r e d s p e c   u s i n g   a   p e r - c o n t a i n e r   s e c u r i t y C o n t e x t . w i n d o w s O p t i o n s . g m s a C r e d e n t i a l S p e c N a m e   f i e l d .   F o r   e x a m p l e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   l a b e l s :   r u n :   w i t h ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18106"
  },
  {
    "question": "What is Authenticating to network shares using hostname or FQDN?",
    "answer": "I f   y o u   a r e   e x p e r i e n c i n g   i s s u e s   c o n n e c t i n g   t o   S M B   s h a r e s   f r o m   P o d s   u s i n g   h o s t n a m e   o r   F Q D N ,   b u t   a r e   a b l e   t o   a c c e s s   t h e   s h a r e s   v i a   t h e i r   I P v 4   a d d r e s s   t h e n   m a k e   s u r e   t h e   f o l l o w i n g   r e g i s t r y   k e y   i s   s e t   o n   t h e   W i n d o w s   n o d e s .   r e g   a d d   \" H K L M \\ S Y S T E M \\ C u r r e n t C o n t r o l S e t \\ S e r v i c e s \\ h n s \\ S t a t e \"   / v   E n a b l e C o m p a r t m e n t N a m e s p a c e   / t   R E G _ D W O R D   / d   1   R u n n i n g   P o d s   w i l l   t h e n   n e e d   t o   b e   r e c r e a t e d   t o   p i c k   u p   t h e   b e h a v i o r   c h a n g e s .   M o r e   i n f o r m a t i o n   o n   h o w   t h i s   r e g i s t r y   k e y   i s   u s e d   c a n   b e   f o u n d   h e r e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18107"
  },
  {
    "question": "What is Troubleshooting?",
    "answer": "I f   y o u   a r e   h a v i n g   d i f f i c u l t i e s   g e t t i n g   G M S A   t o   w o r k   i n   y o u r   e n v i r o n m e n t ,   t h e r e   a r e   a   f e w   t r o u b l e s h o o t i n g   s t e p s   y o u   c a n   t a k e .   F i r s t ,   m a k e   s u r e   t h e   c r e d s p e c   h a s   b e e n   p a s s e d   t o   t h e   P o d .   T o   d o   t h i s   y o u   w i l l   n e e d   t o   e x e c   i n t o   o n e   o f   y o u r   P o d s   a n d   c h e c k   t h e   o u t p u t   o f   t h e   n l t e s t . e x e   / p a r e n t d o m a i n   c o m m a n d .   I n   t h e   e x a m p l e   b e l o w   t h e   P o d   d i d   n o t   g e t   t h e   c r e d s p e c   c o r r e c t l y :   k u b e c t l   e x e c   - i t   i i s - a u t h - 7 7 7 6 9 6 6 9 9 9 - n 5 n z r   p o w e r s h e l l . e x e   n l t e s t . e x e   / p a r e n t d o m a i n   r e s u l t s   i n   t h e   f o l l o w i n g   e r r o r :   G e t t i n g   p a r e n t   d o m a i n   f a i l e d :   S t a t u s   =   1 7 2 2   0 x 6 b a   R P C _ S _ S E R V E R _ U N A V A I L A B L E   I f   y o u r   P o d   d i d   g e t   t h e   c r e d s p e c   c o r r e c t l y ,   t h e n   n e x t   c h e c k   c o m m u n i c a t i o n   w i t h   t h e   d o m a i n .   F i r s t ,   f r o m   i n s i d e   o f   y o u r   P o d ,   q u i c k l y   d o   a n   n s l o o k u p   t o   f i n d   t h e   r o o t   o f   y o u r   d o m a i n .   T h i s   w i l l   t e l l   u s   3   t h i n g s :   T h e   P o d   c a n   r e a c h   t h e   D C T h e   D C   c a n   r e a c h   t h e   P o d D N S   i s   w o r k i n g   c o r r e c t l y .   I f   t h e   D N S   a n d   c o m m u n i c a t i o n   t e s t   p a s s e s ,   n e x t   y o u   w i l l   n e e d   t o   c h e c k   i f   t h e   P o d   h a s   e s t a b l i s h e d   s e c u r e   c h a n n e l   c o m m u n i c a t i o n   w i t h   t h e   d o m a i n .   T o   d o   t h i s ,   a g a i n ,   e x ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18108"
  },
  {
    "question": "What is 3.6 - Resize CPU and Memory Resources assigned to Containers?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   t o   c h a n g e   t h e   C P U   a n d   m e m o r y   r e s o u r c e   r e q u e s t s   a n d   l i m i t s   a s s i g n e d   t o   a   c o n t a i n e r   w i t h o u t   r e c r e a t i n g   t h e   P o d .   T r a d i t i o n a l l y ,   c h a n g i n g   a   P o d ' s   r e s o u r c e   r e q u i r e m e n t s   n e c e s s i t a t e d   d e l e t i n g   t h e   e x i s t i n g   P o d   a n d   c r e a t i n g   a   r e p l a c e m e n t ,   o f t e n   m a n a g e d   b y   a   w o r k l o a d   c o n t r o l l e r .   I n - p l a c e   P o d   R e s i z e   a l l o w s   c h a n g i n g   t h e   C P U / m e m o r y   a l l o c a t i o n   o f   c o n t a i n e r ( s )   w i t h i n   a   r u n n i n g   P o d   w h i l e   p o t e n t i a l l y   a v o i d i n g   a p p l i c a t i o n   d i s r u p t i o n .   K e y   C o n c e p t s :   D e s i r e d   R e s o u r c e s :   A   c o n t a i n e r ' s   s p e c . c o n t a i n e r s [ * ] . r e s o u r c e s   r e p r e s e n t   t h e   d e s i r e d   r e s o u r c e s   f o r   t h e   c o n t a i n e r ,   a n d   a r e   m u t a b l e   f o r   C P U   a n d   m e m o r y . A c t u a l   R e s o u r c e s :   T h e   s t a t u s . c o n t a i n e r S t a t u s e s [ * ] . r e s o u r c e s   f i e l d   r e f l e c t s   t h e   r e s o u r c e s   c u r r e n t l y   c o n f i g u r e d   f o r   a   r u n n i n g   c o n t a i n e r .   F o r   c o n t a i n e r s   t h a t   h a v e n ' t   s t a r t e d   o r   w e r e   r e s t a r t e d ,   i t   r e f l e c t s   t h e   r e s o u r c e s   a l l o c a t e d   u p o n   t h e i r   n e x t   s t a r t . T r i g g e r i n g   a   R e s i z e :   Y o u   c a n   r e q u e s t   a   r e s i z e   b y   u p d a t i n g   t h e   d e s i r e d   r e q u e s t s   a n d   l i m i t s   i n   t h e   P o d ' s   s p e c i f i c a t i o n .   T h i s   i s   t y p i c a l l y   d o n e   u s i n g ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18109"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 3 3 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   T ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18110"
  },
  {
    "question": "What is Pod resize status?",
    "answer": "T h e   K u b e l e t   u p d a t e s   t h e   P o d ' s   s t a t u s   c o n d i t i o n s   t o   i n d i c a t e   t h e   s t a t e   o f   a   r e s i z e   r e q u e s t :   t y p e :   P o d R e s i z e P e n d i n g :   T h e   K u b e l e t   c a n n o t   i m m e d i a t e l y   g r a n t   t h e   r e q u e s t .   T h e   m e s s a g e   f i e l d   p r o v i d e s   a n   e x p l a n a t i o n   o f   w h y . r e a s o n :   I n f e a s i b l e :   T h e   r e q u e s t e d   r e s i z e   i s   i m p o s s i b l e   o n   t h e   c u r r e n t   n o d e   ( f o r   e x a m p l e ,   r e q u e s t i n g   m o r e   r e s o u r c e s   t h a n   t h e   n o d e   h a s ) . r e a s o n :   D e f e r r e d :   T h e   r e q u e s t e d   r e s i z e   i s   c u r r e n t l y   n o t   p o s s i b l e ,   b u t   m i g h t   b e c o m e   f e a s i b l e   l a t e r   ( f o r   e x a m p l e   i f   a n o t h e r   p o d   i s   r e m o v e d ) .   T h e   K u b e l e t   w i l l   r e t r y   t h e   r e s i z e . t y p e :   P o d R e s i z e I n P r o g r e s s :   T h e   K u b e l e t   h a s   a c c e p t e d   t h e   r e s i z e   a n d   a l l o c a t e d   r e s o u r c e s ,   b u t   t h e   c h a n g e s   a r e   s t i l l   b e i n g   a p p l i e d .   T h i s   i s   u s u a l l y   b r i e f   b u t   m i g h t   t a k e   l o n g e r   d e p e n d i n g   o n   t h e   r e s o u r c e   t y p e   a n d   r u n t i m e   b e h a v i o r .   A n y   e r r o r s   d u r i n g   a c t u a t i o n   a r e   r e p o r t e d   i n   t h e   m e s s a g e   f i e l d   ( a l o n g   w i t h   r e a s o n :   E r r o r ) .   r e a s o n :   I n f e a s i b l e :   T h e   r e q u e s t e d   r e s i z e   i s   i m p o s s i b l e   o n   t h e   c u r r e n t   n o d e   ( f o r   e x a m p l e ,   r e q u e s t i n g   m o r e   r e s o u r c e s   t h a n   t h e   n o d e   h a s ) . r e a s o n :   D e f e r r e d :   T h e   r e q u e s t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18111"
  },
  {
    "question": "What is How kubelet retries Deferred resizes?",
    "answer": "I f   t h e   r e q u e s t e d   r e s i z e   i s   D e f e r r e d ,   t h e   k u b e l e t   w i l l   p e r i o d i c a l l y   r e - a t t e m p t   t h e   r e s i z e ,   f o r   e x a m p l e   w h e n   a n o t h e r   p o d   i s   r e m o v e d   o r   s c a l e d   d o w n .   I f   t h e r e   a r e   m u l t i p l e   d e f e r r e d   r e s i z e s ,   t h e y   a r e   r e t r i e d   a c c o r d i n g   t o   t h e   f o l l o w i n g   p r i o r i t y :   P o d s   w i t h   a   h i g h e r   P r i o r i t y   ( b a s e d   o n   P r i o r i t y C l a s s )   w i l l   h a v e   t h e i r   r e s i z e   r e q u e s t   r e t r i e d   f i r s t . I f   t w o   p o d s   h a v e   t h e   s a m e   P r i o r i t y ,   r e s i z e   o f   g u a r a n t e e d   p o d s   w i l l   b e   r e t r i e d   b e f o r e   t h e   r e s i z e   o f   b u r s t a b l e   p o d s . I f   a l l   e l s e   i s   t h e   s a m e ,   p o d s   t h a t   h a v e   b e e n   i n   t h e   D e f e r r e d   s t a t e   l o n g e r   w i l l   b e   p r i o r i t i z e d .   A   h i g h e r   p r i o r i t y   r e s i z e   b e i n g   m a r k e d   a s   p e n d i n g   w i l l   n o t   b l o c k   t h e   r e m a i n i n g   p e n d i n g   r e s i z e s   f r o m   b e i n g   a t t e m p t e d ;   a l l   r e m a i n i n g   p e n d i n g   r e s i z e s   w i l l   s t i l l   b e   r e t r i e d   e v e n   i f   a   h i g h e r - p r i o r i t y   r e s i z e   g e t s   d e f e r r e d   a g a i n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18112"
  },
  {
    "question": "What is Leveraging observedGeneration Fields?",
    "answer": "T h e   t o p - l e v e l   s t a t u s . o b s e r v e d G e n e r a t i o n   f i e l d   s h o w s   t h e   m e t a d a t a . g e n e r a t i o n   c o r r e s p o n d i n g   t o   t h e   l a t e s t   p o d   s p e c i f i c a t i o n   t h a t   t h e   k u b e l e t   h a s   a c k n o w l e d g e d .   Y o u   c a n   u s e   t h i s   t o   d e t e r m i n e   t h e   m o s t   r e c e n t   r e s i z e   r e q u e s t   t h e   k u b e l e t   h a s   p r o c e s s e d . I n   t h e   P o d R e s i z e I n P r o g r e s s   c o n d i t i o n ,   t h e   c o n d i t i o n s [ ] . o b s e r v e d G e n e r a t i o n   f i e l d   i n d i c a t e s   t h e   m e t a d a t a . g e n e r a t i o n   o f   t h e   p o d S p e c   w h e n   t h e   c u r r e n t   i n - p r o g r e s s   r e s i z e   w a s   i n i t i a t e d . I n   t h e   P o d R e s i z e P e n d i n g   c o n d i t i o n ,   t h e   c o n d i t i o n s [ ] . o b s e r v e d G e n e r a t i o n   f i e l d   i n d i c a t e s   t h e   m e t a d a t a . g e n e r a t i o n   o f   t h e   p o d S p e c   w h e n   t h e   p e n d i n g   r e s i z e ' s   a l l o c a t i o n   w a s   l a s t   a t t e m p t e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18113"
  },
  {
    "question": "What is Container resize policies?",
    "answer": "Y o u   c a n   c o n t r o l   w h e t h e r   a   c o n t a i n e r   s h o u l d   b e   r e s t a r t e d   w h e n   r e s i z i n g   b y   s e t t i n g   r e s i z e P o l i c y   i n   t h e   c o n t a i n e r   s p e c i f i c a t i o n .   T h i s   a l l o w s   f i n e - g r a i n e d   c o n t r o l   b a s e d   o n   r e s o u r c e   t y p e   ( C P U   o r   m e m o r y ) .   r e s i z e P o l i c y :   -   r e s o u r c e N a m e :   c p u   r e s t a r t P o l i c y :   N o t R e q u i r e d   -   r e s o u r c e N a m e :   m e m o r y   r e s t a r t P o l i c y :   R e s t a r t C o n t a i n e r   N o t R e q u i r e d :   ( D e f a u l t )   A p p l y   t h e   r e s o u r c e   c h a n g e   t o   t h e   r u n n i n g   c o n t a i n e r   w i t h o u t   r e s t a r t i n g   i t . R e s t a r t C o n t a i n e r :   R e s t a r t   t h e   c o n t a i n e r   t o   a p p l y   t h e   n e w   r e s o u r c e   v a l u e s .   T h i s   i s   o f t e n   n e c e s s a r y   f o r   m e m o r y   c h a n g e s   b e c a u s e   m a n y   a p p l i c a t i o n s   a n d   r u n t i m e s   c a n n o t   a d j u s t   t h e i r   m e m o r y   a l l o c a t i o n   d y n a m i c a l l y .   I f   r e s i z e P o l i c y [ * ] . r e s t a r t P o l i c y   i s   n o t   s p e c i f i e d   f o r   a   r e s o u r c e ,   i t   d e f a u l t s   t o   N o t R e q u i r e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18114"
  },
  {
    "question": "What is Note:?",
    "answer": "E x a m p l e   S c e n a r i o :   C o n s i d e r   a   c o n t a i n e r   c o n f i g u r e d   w i t h   r e s t a r t P o l i c y :   N o t R e q u i r e d   f o r   C P U   a n d   r e s t a r t P o l i c y :   R e s t a r t C o n t a i n e r   f o r   m e m o r y .   I f   o n l y   C P U   r e s o u r c e s   a r e   c h a n g e d ,   t h e   c o n t a i n e r   i s   r e s i z e d   i n - p l a c e . I f   o n l y   m e m o r y   r e s o u r c e s   a r e   c h a n g e d ,   t h e   c o n t a i n e r   i s   r e s t a r t e d . I f   b o t h   C P U   a n d   m e m o r y   r e s o u r c e s   a r e   c h a n g e d   s i m u l t a n e o u s l y ,   t h e   c o n t a i n e r   i s   r e s t a r t e d   ( d u e   t o   t h e   m e m o r y   p o l i c y ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18115"
  },
  {
    "question": "What is Limitations?",
    "answer": "F o r   K u b e r n e t e s   1 . 3 4 ,   r e s i z i n g   p o d   r e s o u r c e s   i n - p l a c e   h a s   t h e   f o l l o w i n g   l i m i t a t i o n s :   R e s o u r c e   T y p e s :   O n l y   C P U   a n d   m e m o r y   r e s o u r c e s   c a n   b e   r e s i z e d . M e m o r y   D e c r e a s e :   I f   t h e   m e m o r y   r e s i z e   r e s t a r t   p o l i c y   i s   N o t R e q u i r e d   ( o r   u n s p e c i f i e d ) ,   t h e   k u b e l e t   w i l l   m a k e   a   b e s t - e f f o r t   a t t e m p t   t o   p r e v e n t   o o m - k i l l s   w h e n   d e c r e a s i n g   m e m o r y   l i m i t s ,   b u t   d o e s n ' t   p r o v i d e   a n y   g u a r a n t e e s .   B e f o r e   d e c r e a s i n g   c o n t a i n e r   m e m o r y   l i m i t s ,   i f   m e m o r y   u s a g e   e x c e e d s   t h e   r e q u e s t e d   l i m i t ,   t h e   r e s i z e   w i l l   b e   s k i p p e d   a n d   t h e   s t a t u s   w i l l   r e m a i n   i n   a n   \" I n   P r o g r e s s \"   s t a t e .   T h i s   i s   c o n s i d e r e d   b e s t - e f f o r t   b e c a u s e   i t   i s   s t i l l   s u b j e c t   t o   a   r a c e   c o n d i t i o n   w h e r e   m e m o r y   u s a g e   m a y   s p i k e   r i g h t   a f t e r   t h e   c h e c k   i s   p e r f o r m e d . Q o S   C l a s s :   T h e   P o d ' s   o r i g i n a l   Q u a l i t y   o f   S e r v i c e   ( Q o S )   c l a s s   ( G u a r a n t e e d ,   B u r s t a b l e ,   o r   B e s t E f f o r t )   i s   d e t e r m i n e d   a t   c r e a t i o n   a n d   c a n n o t   b e   c h a n g e d   b y   a   r e s i z e .   T h e   r e s i z e d   r e s o u r c e   v a l u e s   m u s t   s t i l l   a d h e r e   t o   t h e   r u l e s   o f   t h e   o r i g i n a l   Q o S   c l a s s : G u a r a n t e e d :   R e q u e s t s   m u s t   c o n t i n u e   t o   e q u a l   l i m i t s   f o r   b o t h   C P U   a n d   m e m o r y   a f t e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18116"
  },
  {
    "question": "What is Example 1: Resizing CPU without restart?",
    "answer": "F i r s t ,   c r e a t e   a   P o d   d e s i g n e d   f o r   i n - p l a c e   C P U   r e s i z e   a n d   r e s t a r t - r e q u i r e d   m e m o r y   r e s i z e .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   r e s i z e - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   p a u s e   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 8   r e s i z e P o l i c y :   -   r e s o u r c e N a m e :   c p u   r e s t a r t P o l i c y :   N o t R e q u i r e d   #   D e f a u l t ,   b u t   e x p l i c i t   h e r e   -   r e s o u r c e N a m e :   m e m o r y   r e s t a r t P o l i c y :   R e s t a r t C o n t a i n e r   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 2 0 0 M i \"   c p u :   \" 7 0 0 m \"   r e q u e s t s :   m e m o r y :   \" 2 0 0 M i \"   c p u :   \" 7 0 0 m \"   C r e a t e   t h e   p o d :   k u b e c t l   c r e a t e   - f   p o d - r e s i z e . y a m l   T h i s   p o d   s t a r t s   i n   t h e   G u a r a n t e e d   Q o S   c l a s s .   V e r i f y   i t s   i n i t i a l   s t a t e :   #   W a i t   a   m o m e n t   f o r   t h e   p o d   t o   b e   r u n n i n g   k u b e c t l   g e t   p o d   r e s i z e - d e m o   - - o u t p u t = y a m l   O b s e r v e   t h e   s p e c . c o n t a i n e r s [ 0 ] . r e s o u r c e s   a n d   s t a t u s . c o n t a i n e r S t a t u s e s [ 0 ] . r e s o u r c e s .   T h e y   s h o u l d   m a t c h   t h e   m a n i f e s t   ( 7 0 0 m   C P U ,   2 0 0 M i   m e m o r y ) .   N o t e   t h e   s t a t u s . c o n t a i n e r S t a t u s e s [ 0 ] . r e s t a r t C o u n t   ( s h o u l d   b e   0 ) .   N o w ,   i n c r e a s e   t h e   C P U   r e q u e s t   a n d   l i m i t   t o   8 0 0 m .   Y o u   u s e   k u b e c t l   p a t c h   w i t h   t h e   - - s u b r e s o u r c e   r e s i z e   c o m m a n d   l i n e   a r g u m e n t .   k u b e c t l   p a t c h   p o d   r e s i z e - d e m ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18117"
  },
  {
    "question": "What is Note:?",
    "answer": "C h e c k   t h e   p o d   s t a t u s   a g a i n   a f t e r   p a t c h i n g :   k u b e c t l   g e t   p o d   r e s i z e - d e m o   - - o u t p u t = y a m l   - - n a m e s p a c e = q o s - e x a m p l e   Y o u   s h o u l d   s e e :   s p e c . c o n t a i n e r s [ 0 ] . r e s o u r c e s   n o w   s h o w s   c p u :   8 0 0 m . s t a t u s . c o n t a i n e r S t a t u s e s [ 0 ] . r e s o u r c e s   a l s o   s h o w s   c p u :   8 0 0 m ,   i n d i c a t i n g   t h e   r e s i z e   w a s   s u c c e s s f u l   o n   t h e   n o d e . s t a t u s . c o n t a i n e r S t a t u s e s [ 0 ] . r e s t a r t C o u n t   r e m a i n s   0 ,   b e c a u s e   t h e   C P U   r e s i z e P o l i c y   w a s   N o t R e q u i r e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18118"
  },
  {
    "question": "What is Example 2: Resizing memory with restart?",
    "answer": "N o w ,   r e s i z e   t h e   m e m o r y   f o r   t h e   s a m e   p o d   b y   i n c r e a s i n g   i t   t o   3 0 0 M i .   S i n c e   t h e   m e m o r y   r e s i z e P o l i c y   i s   R e s t a r t C o n t a i n e r ,   t h e   c o n t a i n e r   i s   e x p e c t e d   t o   r e s t a r t .   k u b e c t l   p a t c h   p o d   r e s i z e - d e m o   - - s u b r e s o u r c e   r e s i z e   - - p a t c h   \\   ' { \" s p e c \" : { \" c o n t a i n e r s \" : [ { \" n a m e \" : \" p a u s e \" ,   \" r e s o u r c e s \" : { \" r e q u e s t s \" : { \" m e m o r y \" : \" 3 0 0 M i \" } ,   \" l i m i t s \" : { \" m e m o r y \" : \" 3 0 0 M i \" } } } ] } } '   C h e c k   t h e   p o d   s t a t u s   s h o r t l y   a f t e r   p a t c h i n g :   k u b e c t l   g e t   p o d   r e s i z e - d e m o   - - o u t p u t = y a m l   Y o u   s h o u l d   n o w   o b s e r v e :   s p e c . c o n t a i n e r s [ 0 ] . r e s o u r c e s   s h o w s   m e m o r y :   3 0 0 M i . s t a t u s . c o n t a i n e r S t a t u s e s [ 0 ] . r e s o u r c e s   a l s o   s h o w s   m e m o r y :   3 0 0 M i . s t a t u s . c o n t a i n e r S t a t u s e s [ 0 ] . r e s t a r t C o u n t   h a s   i n c r e a s e d   t o   1   ( o r   m o r e ,   i f   r e s t a r t s   h a p p e n e d   p r e v i o u s l y ) ,   i n d i c a t i n g   t h e   c o n t a i n e r   w a s   r e s t a r t e d   t o   a p p l y   t h e   m e m o r y   c h a n g e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18119"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   t h e   p o d :   k u b e c t l   d e l e t e   p o d   r e s i z e - d e m o",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18120"
  },
  {
    "question": "What is For application developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18121"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18122"
  },
  {
    "question": "What is 3.7 - Configure RunAsUserName for Windows pods and containers?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   t h e   r u n A s U s e r N a m e   s e t t i n g   f o r   P o d s   a n d   c o n t a i n e r s   t h a t   w i l l   r u n   o n   W i n d o w s   n o d e s .   T h i s   i s   r o u g h l y   e q u i v a l e n t   o f   t h e   L i n u x - s p e c i f i c   r u n A s U s e r   s e t t i n g ,   a l l o w i n g   y o u   t o   r u n   a p p l i c a t i o n s   i n   a   c o n t a i n e r   a s   a   d i f f e r e n t   u s e r n a m e   t h a n   t h e   d e f a u l t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18123"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   T h e   c l u s t e r   i s   e x p e c t e d   t o   h a v e   W i n d o w s   w o r k e r   n o d e s   w h e r e   p o d s   w i t h   c o n t a i n e r s   r u n n i n g   W i n d o w s   w o r k l o a d s   w i l l   g e t   s c h e d u l e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18124"
  },
  {
    "question": "What is Set the Username for a Pod?",
    "answer": "T o   s p e c i f y   t h e   u s e r n a m e   w i t h   w h i c h   t o   e x e c u t e   t h e   P o d ' s   c o n t a i n e r   p r o c e s s e s ,   i n c l u d e   t h e   s e c u r i t y C o n t e x t   f i e l d   ( P o d S e c u r i t y C o n t e x t )   i n   t h e   P o d   s p e c i f i c a t i o n ,   a n d   w i t h i n   i t ,   t h e   w i n d o w s O p t i o n s   ( W i n d o w s S e c u r i t y C o n t e x t O p t i o n s )   f i e l d   c o n t a i n i n g   t h e   r u n A s U s e r N a m e   f i e l d .   T h e   W i n d o w s   s e c u r i t y   c o n t e x t   o p t i o n s   t h a t   y o u   s p e c i f y   f o r   a   P o d   a p p l y   t o   a l l   C o n t a i n e r s   a n d   i n i t   C o n t a i n e r s   i n   t h e   P o d .   H e r e   i s   a   c o n f i g u r a t i o n   f i l e   f o r   a   W i n d o w s   P o d   t h a t   h a s   t h e   r u n A s U s e r N a m e   f i e l d   s e t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   r u n - a s - u s e r n a m e - p o d - d e m o   s p e c :   s e c u r i t y C o n t e x t :   w i n d o w s O p t i o n s :   r u n A s U s e r N a m e :   \" C o n t a i n e r U s e r \"   c o n t a i n e r s :   -   n a m e :   r u n - a s - u s e r n a m e - d e m o   i m a g e :   m c r . m i c r o s o f t . c o m / w i n d o w s / s e r v e r c o r e : l t s c 2 0 1 9   c o m m a n d :   [ \" p i n g \" ,   \" - t \" ,   \" l o c a l h o s t \" ]   n o d e S e l e c t o r :   k u b e r n e t e s . i o / o s :   w i n d o w s   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / w i n d o w s / r u n - a s - u s e r n a m e - p o d . y a m l   V e r i f y   t h a t   t h e   P o d ' s   C o n t a i n e r   i s   r u n n i n g :   k u b e c t l   g e t   p o d   r u n - a s - u s e r n a m e - p o d - d e m o   G e t   a   s h e l l   t o   t h e   r u n n i n g   C o n t a i n e r :   k u b e c t l   e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18125"
  },
  {
    "question": "What is Set the Username for a Container?",
    "answer": "T o   s p e c i f y   t h e   u s e r n a m e   w i t h   w h i c h   t o   e x e c u t e   a   C o n t a i n e r ' s   p r o c e s s e s ,   i n c l u d e   t h e   s e c u r i t y C o n t e x t   f i e l d   ( S e c u r i t y C o n t e x t )   i n   t h e   C o n t a i n e r   m a n i f e s t ,   a n d   w i t h i n   i t ,   t h e   w i n d o w s O p t i o n s   ( W i n d o w s S e c u r i t y C o n t e x t O p t i o n s )   f i e l d   c o n t a i n i n g   t h e   r u n A s U s e r N a m e   f i e l d .   T h e   W i n d o w s   s e c u r i t y   c o n t e x t   o p t i o n s   t h a t   y o u   s p e c i f y   f o r   a   C o n t a i n e r   a p p l y   o n l y   t o   t h a t   i n d i v i d u a l   C o n t a i n e r ,   a n d   t h e y   o v e r r i d e   t h e   s e t t i n g s   m a d e   a t   t h e   P o d   l e v e l .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r ,   a n d   t h e   r u n A s U s e r N a m e   f i e l d   i s   s e t   a t   t h e   P o d   l e v e l   a n d   t h e   C o n t a i n e r   l e v e l :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   r u n - a s - u s e r n a m e - c o n t a i n e r - d e m o   s p e c :   s e c u r i t y C o n t e x t :   w i n d o w s O p t i o n s :   r u n A s U s e r N a m e :   \" C o n t a i n e r U s e r \"   c o n t a i n e r s :   -   n a m e :   r u n - a s - u s e r n a m e - d e m o   i m a g e :   m c r . m i c r o s o f t . c o m / w i n d o w s / s e r v e r c o r e : l t s c 2 0 1 9   c o m m a n d :   [ \" p i n g \" ,   \" - t \" ,   \" l o c a l h o s t \" ]   s e c u r i t y C o n t e x t :   w i n d o w s O p t i o n s :   r u n A s U s e r N a m e :   \" C o n t a i n e r A d m i n i s t r a t o r \"   n o d e S e l e c t o r :   k u b e r n e t e s . i o / o s :   w i n d o w s   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18126"
  },
  {
    "question": "What is Windows Username limitations?",
    "answer": "I n   o r d e r   t o   u s e   t h i s   f e a t u r e ,   t h e   v a l u e   s e t   i n   t h e   r u n A s U s e r N a m e   f i e l d   m u s t   b e   a   v a l i d   u s e r n a m e .   I t   m u s t   h a v e   t h e   f o l l o w i n g   f o r m a t :   D O M A I N \\ U S E R ,   w h e r e   D O M A I N \\   i s   o p t i o n a l .   W i n d o w s   u s e r   n a m e s   a r e   c a s e   i n s e n s i t i v e .   A d d i t i o n a l l y ,   t h e r e   a r e   s o m e   r e s t r i c t i o n s   r e g a r d i n g   t h e   D O M A I N   a n d   U S E R :   T h e   r u n A s U s e r N a m e   f i e l d   c a n n o t   b e   e m p t y ,   a n d   i t   c a n n o t   c o n t a i n   c o n t r o l   c h a r a c t e r s   ( A S C I I   v a l u e s :   0 x 0 0 - 0 x 1 F ,   0 x 7 F ) T h e   D O M A I N   m u s t   b e   e i t h e r   a   N e t B i o s   n a m e ,   o r   a   D N S   n a m e ,   e a c h   w i t h   t h e i r   o w n   r e s t r i c t i o n s : N e t B i o s   n a m e s :   m a x i m u m   1 5   c h a r a c t e r s ,   c a n n o t   s t a r t   w i t h   .   ( d o t ) ,   a n d   c a n n o t   c o n t a i n   t h e   f o l l o w i n g   c h a r a c t e r s :   \\   /   :   *   ?   \"   <   >   | D N S   n a m e s :   m a x i m u m   2 5 5   c h a r a c t e r s ,   c o n t a i n s   o n l y   a l p h a n u m e r i c   c h a r a c t e r s ,   d o t s ,   a n d   d a s h e s ,   a n d   i t   c a n n o t   s t a r t   o r   e n d   w i t h   a   .   ( d o t )   o r   -   ( d a s h ) . T h e   U S E R   m u s t   h a v e   a t   m o s t   2 0   c h a r a c t e r s ,   i t   c a n n o t   c o n t a i n   o n l y   d o t s   o r   s p a c e s ,   a n d   i t   c a n n o t   c o n t a i n   t h e   f o l l o w i n g   c h a r a c t e r s :   \"   /   \\   [   ]   :   ;   |   =   ,   +   *   ?   <   >   @ .   N e t B i o s   n a m e s :   m a x i m u m   1 5   c h a r a c t e r s ,   c a n n o t   s t a r t   w i t h   .   ( d o t ) ,   a n d   c a n n o t   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18127"
  },
  {
    "question": "What is What's next?",
    "answer": "G u i d e   f o r   s c h e d u l i n g   W i n d o w s   c o n t a i n e r s   i n   K u b e r n e t e s M a n a g i n g   W o r k l o a d   I d e n t i t y   w i t h   G r o u p   M a n a g e d   S e r v i c e   A c c o u n t s   ( G M S A ) C o n f i g u r e   G M S A   f o r   W i n d o w s   p o d s   a n d   c o n t a i n e r s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18128"
  },
  {
    "question": "What is 3.8 - Create a Windows HostProcess Pod?",
    "answer": "W i n d o w s   H o s t P r o c e s s   c o n t a i n e r s   e n a b l e   y o u   t o   r u n   c o n t a i n e r i z e d   w o r k l o a d s   o n   a   W i n d o w s   h o s t .   T h e s e   c o n t a i n e r s   o p e r a t e   a s   n o r m a l   p r o c e s s e s   b u t   h a v e   a c c e s s   t o   t h e   h o s t   n e t w o r k   n a m e s p a c e ,   s t o r a g e ,   a n d   d e v i c e s   w h e n   g i v e n   t h e   a p p r o p r i a t e   u s e r   p r i v i l e g e s .   H o s t P r o c e s s   c o n t a i n e r s   c a n   b e   u s e d   t o   d e p l o y   n e t w o r k   p l u g i n s ,   s t o r a g e   c o n f i g u r a t i o n s ,   d e v i c e   p l u g i n s ,   k u b e - p r o x y ,   a n d   o t h e r   c o m p o n e n t s   t o   W i n d o w s   n o d e s   w i t h o u t   t h e   n e e d   f o r   d e d i c a t e d   p r o x i e s   o r   t h e   d i r e c t   i n s t a l l a t i o n   o f   h o s t   s e r v i c e s .   A d m i n i s t r a t i v e   t a s k s   s u c h   a s   i n s t a l l a t i o n   o f   s e c u r i t y   p a t c h e s ,   e v e n t   l o g   c o l l e c t i o n ,   a n d   m o r e   c a n   b e   p e r f o r m e d   w i t h o u t   r e q u i r i n g   c l u s t e r   o p e r a t o r s   t o   l o g   o n t o   e a c h   W i n d o w s   n o d e .   H o s t P r o c e s s   c o n t a i n e r s   c a n   r u n   a s   a n y   u s e r   t h a t   i s   a v a i l a b l e   o n   t h e   h o s t   o r   i s   i n   t h e   d o m a i n   o f   t h e   h o s t   m a c h i n e ,   a l l o w i n g   a d m i n i s t r a t o r s   t o   r e s t r i c t   r e s o u r c e   a c c e s s   t h r o u g h   u s e r   p e r m i s s i o n s .   W h i l e   n e i t h e r   f i l e s y s t e m   o r   p r o c e s s   i s o l a t i o n   a r e   s u p p o r t e d ,   a   n e w   v o l u m e   i s   c r e a t e d   o n   t h e   h o s t   u p o n   s t a r t i n g   t h e   c o n t a i n e r   t o   g i v e   i t   a   c l e a n   a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18129"
  },
  {
    "question": "What is When should I use a Windows HostProcess container??",
    "answer": "W h e n   y o u   n e e d   t o   p e r f o r m   t a s k s   w h i c h   r e q u i r e   t h e   n e t w o r k i n g   n a m e s p a c e   o f   t h e   h o s t .   H o s t P r o c e s s   c o n t a i n e r s   h a v e   a c c e s s   t o   t h e   h o s t ' s   n e t w o r k   i n t e r f a c e s   a n d   I P   a d d r e s s e s . Y o u   n e e d   a c c e s s   t o   r e s o u r c e s   o n   t h e   h o s t   s u c h   a s   t h e   f i l e s y s t e m ,   e v e n t   l o g s ,   e t c . I n s t a l l a t i o n   o f   s p e c i f i c   d e v i c e   d r i v e r s   o r   W i n d o w s   s e r v i c e s . C o n s o l i d a t i o n   o f   a d m i n i s t r a t i v e   t a s k s   a n d   s e c u r i t y   p o l i c i e s .   T h i s   r e d u c e s   t h e   d e g r e e   o f   p r i v i l e g e s   n e e d e d   b y   W i n d o w s   n o d e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18130"
  },
  {
    "question": "What is Before you begin?",
    "answer": "T h i s   t a s k   g u i d e   i s   s p e c i f i c   t o   K u b e r n e t e s   v 1 . 3 4 .   I f   y o u   a r e   n o t   r u n n i n g   K u b e r n e t e s   v 1 . 3 4 ,   c h e c k   t h e   d o c u m e n t a t i o n   f o r   t h a t   v e r s i o n   o f   K u b e r n e t e s .   I n   K u b e r n e t e s   1 . 3 4 ,   t h e   H o s t P r o c e s s   c o n t a i n e r   f e a t u r e   i s   e n a b l e d   b y   d e f a u l t .   T h e   k u b e l e t   w i l l   c o m m u n i c a t e   w i t h   c o n t a i n e r d   d i r e c t l y   b y   p a s s i n g   t h e   h o s t p r o c e s s   f l a g   v i a   C R I .   Y o u   c a n   u s e   t h e   l a t e s t   v e r s i o n   o f   c o n t a i n e r d   ( v 1 . 6 + )   t o   r u n   H o s t P r o c e s s   c o n t a i n e r s .   H o w   t o   i n s t a l l   c o n t a i n e r d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18131"
  },
  {
    "question": "What is Limitations?",
    "answer": "T h e s e   l i m i t a t i o n s   a r e   r e l e v a n t   f o r   K u b e r n e t e s   v 1 . 3 4 :   H o s t P r o c e s s   c o n t a i n e r s   r e q u i r e   c o n t a i n e r d   1 . 6   o r   h i g h e r   c o n t a i n e r   r u n t i m e   a n d   c o n t a i n e r d   1 . 7   i s   r e c o m m e n d e d . H o s t P r o c e s s   p o d s   c a n   o n l y   c o n t a i n   H o s t P r o c e s s   c o n t a i n e r s .   T h i s   i s   a   c u r r e n t   l i m i t a t i o n   o f   t h e   W i n d o w s   O S ;   n o n - p r i v i l e g e d   W i n d o w s   c o n t a i n e r s   c a n n o t   s h a r e   a   v N I C   w i t h   t h e   h o s t   I P   n a m e s p a c e . H o s t P r o c e s s   c o n t a i n e r s   r u n   a s   a   p r o c e s s   o n   t h e   h o s t   a n d   d o   n o t   h a v e   a n y   d e g r e e   o f   i s o l a t i o n   o t h e r   t h a n   r e s o u r c e   c o n s t r a i n t s   i m p o s e d   o n   t h e   H o s t P r o c e s s   u s e r   a c c o u n t .   N e i t h e r   f i l e s y s t e m   o r   H y p e r - V   i s o l a t i o n   a r e   s u p p o r t e d   f o r   H o s t P r o c e s s   c o n t a i n e r s . V o l u m e   m o u n t s   a r e   s u p p o r t e d   a n d   a r e   m o u n t e d   u n d e r   t h e   c o n t a i n e r   v o l u m e .   S e e   V o l u m e   M o u n t s A   l i m i t e d   s e t   o f   h o s t   u s e r   a c c o u n t s   a r e   a v a i l a b l e   f o r   H o s t P r o c e s s   c o n t a i n e r s   b y   d e f a u l t .   S e e   C h o o s i n g   a   U s e r   A c c o u n t . R e s o u r c e   l i m i t s   ( d i s k ,   m e m o r y ,   c p u   c o u n t )   a r e   s u p p o r t e d   i n   t h e   s a m e   f a s h i o n   a s   p r o c e s s e s   o n   t h e   h o s t . B o t h   N a m e d   p i p e   m o u n t s   a n d   U n i x   d o m a i n   s o c k e t s   a r e   n o t   s u p p o r t e d   a n d   s h o u l d   i n s t e a d   b e   a c c e s s e d   v i a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18132"
  },
  {
    "question": "What is HostProcess Pod configuration requirements?",
    "answer": "E n a b l i n g   a   W i n d o w s   H o s t P r o c e s s   p o d   r e q u i r e s   s e t t i n g   t h e   r i g h t   c o n f i g u r a t i o n s   i n   t h e   p o d   s e c u r i t y   c o n f i g u r a t i o n .   O f   t h e   p o l i c i e s   d e f i n e d   i n   t h e   P o d   S e c u r i t y   S t a n d a r d s   H o s t P r o c e s s   p o d s   a r e   d i s a l l o w e d   b y   t h e   b a s e l i n e   a n d   r e s t r i c t e d   p o l i c i e s .   I t   i s   t h e r e f o r e   r e c o m m e n d e d   t h a t   H o s t P r o c e s s   p o d s   r u n   i n   a l i g n m e n t   w i t h   t h e   p r i v i l e g e d   p r o f i l e .   W h e n   r u n n i n g   u n d e r   t h e   p r i v i l e g e d   p o l i c y ,   h e r e   a r e   t h e   c o n f i g u r a t i o n s   w h i c h   n e e d   t o   b e   s e t   t o   e n a b l e   t h e   c r e a t i o n   o f   a   H o s t P r o c e s s   p o d :   W i n d o w s   p o d s   o f f e r   t h e   a b i l i t y   t o   r u n   H o s t P r o c e s s   c o n t a i n e r s   w h i c h   e n a b l e s   p r i v i l e g e d   a c c e s s   t o   t h e   W i n d o w s   n o d e .   A l l o w e d   V a l u e s   t r u e   P o d s   c o n t a i n e r   H o s t P r o c e s s   c o n t a i n e r s   m u s t   u s e   t h e   h o s t ' s   n e t w o r k   n a m e s p a c e .   A l l o w e d   V a l u e s   t r u e   S p e c i f i c a t i o n   o f   w h i c h   u s e r   t h e   H o s t P r o c e s s   c o n t a i n e r   s h o u l d   r u n   a s   i s   r e q u i r e d   f o r   t h e   p o d   s p e c .   A l l o w e d   V a l u e s   N T   A U T H O R I T Y \\ S Y S T E M N T   A U T H O R I T Y \\ L o c a l   s e r v i c e N T   A U T H O R I T Y \\ N e t w o r k S e r v i c e L o c a l   u s e r g r o u p   n a m e s   ( s e e   b e l o w )   B e c a u s e   H o s t P r o c e s s   c o n t a i n e r s   h a v e   p r i v i l e g e d   a c c e s s   t o   t h e   h o s t ,   t h e   r u n A s N o n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18133"
  },
  {
    "question": "What is Example manifest (excerpt)?",
    "answer": "s p e c :   s e c u r i t y C o n t e x t :   w i n d o w s O p t i o n s :   h o s t P r o c e s s :   t r u e   r u n A s U s e r N a m e :   \" N T   A U T H O R I T Y \\ \\ L o c a l   s e r v i c e \"   h o s t N e t w o r k :   t r u e   c o n t a i n e r s :   -   n a m e :   t e s t   i m a g e :   i m a g e 1 : l a t e s t   c o m m a n d :   -   p i n g   -   - t   -   1 2 7 . 0 . 0 . 1   n o d e S e l e c t o r :   \" k u b e r n e t e s . i o / o s \" :   w i n d o w s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18134"
  },
  {
    "question": "What is Volume mounts?",
    "answer": "H o s t P r o c e s s   c o n t a i n e r s   s u p p o r t   t h e   a b i l i t y   t o   m o u n t   v o l u m e s   w i t h i n   t h e   c o n t a i n e r   v o l u m e   s p a c e .   V o l u m e   m o u n t   b e h a v i o r   d i f f e r s   d e p e n d i n g   o n   t h e   v e r s i o n   o f   c o n t a i n e r d   r u n t i m e   u s e d   b y   o n   t h e   n o d e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18135"
  },
  {
    "question": "What is Containerd v1.6?",
    "answer": "A p p l i c a t i o n s   r u n n i n g   i n s i d e   t h e   c o n t a i n e r   c a n   a c c e s s   v o l u m e   m o u n t s   d i r e c t l y   v i a   r e l a t i v e   o r   a b s o l u t e   p a t h s .   A n   e n v i r o n m e n t   v a r i a b l e   $ C O N T A I N E R _ S A N D B O X _ M O U N T _ P O I N T   i s   s e t   u p o n   c o n t a i n e r   c r e a t i o n   a n d   p r o v i d e s   t h e   a b s o l u t e   h o s t   p a t h   t o   t h e   c o n t a i n e r   v o l u m e .   R e l a t i v e   p a t h s   a r e   b a s e d   u p o n   t h e   . s p e c . c o n t a i n e r s . v o l u m e M o u n t s . m o u n t P a t h   c o n f i g u r a t i o n .   T o   a c c e s s   s e r v i c e   a c c o u n t   t o k e n s   ( f o r   e x a m p l e )   t h e   f o l l o w i n g   p a t h   s t r u c t u r e s   a r e   s u p p o r t e d   w i t h i n   t h e   c o n t a i n e r :   . \\ v a r \\ r u n \\ s e c r e t s \\ k u b e r n e t e s . i o \\ s e r v i c e a c c o u n t \\ $ C O N T A I N E R _ S A N D B O X _ M O U N T _ P O I N T \\ v a r \\ r u n \\ s e c r e t s \\ k u b e r n e t e s . i o \\ s e r v i c e a c c o u n t \\",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18136"
  },
  {
    "question": "What is Containerd v1.7 (and greater)?",
    "answer": "A p p l i c a t i o n s   r u n n i n g   i n s i d e   t h e   c o n t a i n e r   c a n   a c c e s s   v o l u m e   m o u n t s   d i r e c t l y   v i a   t h e   v o l u m e M o u n t ' s   s p e c i f i e d   m o u n t P a t h   ( j u s t   l i k e   L i n u x   a n d   n o n - H o s t P r o c e s s   W i n d o w s   c o n t a i n e r s ) .   F o r   b a c k w a r d s   c o m p a t i b i l i t y   v o l u m e s   c a n   a l s o   b e   a c c e s s e d   v i a   u s i n g   t h e   s a m e   r e l a t i v e   p a t h s   c o n f i g u r e d   b y   c o n t a i n e r d   v 1 . 6 .   A s   a n   e x a m p l e ,   t o   a c c e s s   s e r v i c e   a c c o u n t   t o k e n s   w i t h i n   t h e   c o n t a i n e r   y o u   w o u l d   u s e   o n e   o f   t h e   f o l l o w i n g   p a t h s :   c : \\ v a r \\ r u n \\ s e c r e t s \\ k u b e r n e t e s . i o \\ s e r v i c e a c c o u n t / v a r / r u n / s e c r e t s / k u b e r n e t e s . i o / s e r v i c e a c c o u n t / $ C O N T A I N E R _ S A N D B O X _ M O U N T _ P O I N T \\ v a r \\ r u n \\ s e c r e t s \\ k u b e r n e t e s . i o \\ s e r v i c e a c c o u n t \\",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18137"
  },
  {
    "question": "What is Resource limits?",
    "answer": "R e s o u r c e   l i m i t s   ( d i s k ,   m e m o r y ,   c p u   c o u n t )   a r e   a p p l i e d   t o   t h e   j o b   a n d   a r e   j o b   w i d e .   F o r   e x a m p l e ,   w i t h   a   l i m i t   o f   1 0 M B   s e t ,   t h e   m e m o r y   a l l o c a t e d   f o r   a n y   H o s t P r o c e s s   j o b   o b j e c t   w i l l   b e   c a p p e d   a t   1 0 M B .   T h i s   i s   t h e   s a m e   b e h a v i o r   a s   o t h e r   W i n d o w s   c o n t a i n e r   t y p e s .   T h e s e   l i m i t s   w o u l d   b e   s p e c i f i e d   t h e   s a m e   w a y   t h e y   a r e   c u r r e n t l y   f o r   w h a t e v e r   o r c h e s t r a t o r   o r   r u n t i m e   i s   b e i n g   u s e d .   T h e   o n l y   d i f f e r e n c e   i s   i n   t h e   d i s k   r e s o u r c e   u s a g e   c a l c u l a t i o n   u s e d   f o r   r e s o u r c e   t r a c k i n g   d u e   t o   t h e   d i f f e r e n c e   i n   h o w   H o s t P r o c e s s   c o n t a i n e r s   a r e   b o o t s t r a p p e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18138"
  },
  {
    "question": "What is System accounts?",
    "answer": "B y   d e f a u l t ,   H o s t P r o c e s s   c o n t a i n e r s   s u p p o r t   t h e   a b i l i t y   t o   r u n   a s   o n e   o f   t h r e e   s u p p o r t e d   W i n d o w s   s e r v i c e   a c c o u n t s :   L o c a l S y s t e m L o c a l S e r v i c e N e t w o r k S e r v i c e   Y o u   s h o u l d   s e l e c t   a n   a p p r o p r i a t e   W i n d o w s   s e r v i c e   a c c o u n t   f o r   e a c h   H o s t P r o c e s s   c o n t a i n e r ,   a i m i n g   t o   l i m i t   t h e   d e g r e e   o f   p r i v i l e g e s   s o   a s   t o   a v o i d   a c c i d e n t a l   ( o r   e v e n   m a l i c i o u s )   d a m a g e   t o   t h e   h o s t .   T h e   L o c a l S y s t e m   s e r v i c e   a c c o u n t   h a s   t h e   h i g h e s t   l e v e l   o f   p r i v i l e g e   o f   t h e   t h r e e   a n d   s h o u l d   b e   u s e d   o n l y   i f   a b s o l u t e l y   n e c e s s a r y .   W h e r e   p o s s i b l e ,   u s e   t h e   L o c a l S e r v i c e   s e r v i c e   a c c o u n t   a s   i t   i s   t h e   l e a s t   p r i v i l e g e d   o f   t h e   t h r e e   o p t i o n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18139"
  },
  {
    "question": "What is Local accounts?",
    "answer": "I f   c o n f i g u r e d ,   H o s t P r o c e s s   c o n t a i n e r s   c a n   a l s o   r u n   a s   l o c a l   u s e r   a c c o u n t s   w h i c h   a l l o w s   f o r   n o d e   o p e r a t o r s   t o   g i v e   f i n e - g r a i n e d   a c c e s s   t o   w o r k l o a d s .   T o   r u n   H o s t P r o c e s s   c o n t a i n e r s   a s   a   l o c a l   u s e r ;   A   l o c a l   u s e r g r o u p   m u s t   f i r s t   b e   c r e a t e d   o n   t h e   n o d e   a n d   t h e   n a m e   o f   t h a t   l o c a l   u s e r g r o u p   m u s t   b e   s p e c i f i e d   i n   t h e   r u n A s U s e r N a m e   f i e l d   i n   t h e   d e p l o y m e n t .   P r i o r   t o   i n i t i a l i z i n g   t h e   H o s t P r o c e s s   c o n t a i n e r ,   a   n e w   e p h e m e r a l   l o c a l   u s e r   a c c o u n t   t o   b e   c r e a t e d   a n d   j o i n e d   t o   t h e   s p e c i f i e d   u s e r g r o u p ,   f r o m   w h i c h   t h e   c o n t a i n e r   i s   r u n .   T h i s   p r o v i d e s   a   n u m b e r   a   b e n e f i t s   i n c l u d i n g   e l i m i n a t i n g   t h e   n e e d   t o   m a n a g e   p a s s w o r d s   f o r   l o c a l   u s e r   a c c o u n t s .   A n   i n i t i a l   H o s t P r o c e s s   c o n t a i n e r   r u n n i n g   a s   a   s e r v i c e   a c c o u n t   c a n   b e   u s e d   t o   p r e p a r e   t h e   u s e r   g r o u p s   f o r   l a t e r   H o s t P r o c e s s   c o n t a i n e r s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18140"
  },
  {
    "question": "What is Note:?",
    "answer": "E x a m p l e :   C r e a t e   a   l o c a l   u s e r   g r o u p   o n   t h e   n o d e   ( t h i s   c a n   b e   d o n e   i n   a n o t h e r   H o s t P r o c e s s   c o n t a i n e r ) . n e t   l o c a l g r o u p   h p c - l o c a l g r o u p   / a d d   G r a n t   a c c e s s   t o   d e s i r e d   r e s o u r c e s   o n   t h e   n o d e   t o   t h e   l o c a l   u s e r g r o u p .   T h i s   c a n   b e   d o n e   w i t h   t o o l s   l i k e   i c a c l s . S e t   r u n A s U s e r N a m e   t o   t h e   n a m e   o f   t h e   l o c a l   u s e r g r o u p   f o r   t h e   p o d   o r   i n d i v i d u a l   c o n t a i n e r s . s e c u r i t y C o n t e x t :   w i n d o w s O p t i o n s :   h o s t P r o c e s s :   t r u e   r u n A s U s e r N a m e :   h p c - l o c a l g r o u p   S c h e d u l e   t h e   p o d !   C r e a t e   a   l o c a l   u s e r   g r o u p   o n   t h e   n o d e   ( t h i s   c a n   b e   d o n e   i n   a n o t h e r   H o s t P r o c e s s   c o n t a i n e r ) .   n e t   l o c a l g r o u p   h p c - l o c a l g r o u p   / a d d   G r a n t   a c c e s s   t o   d e s i r e d   r e s o u r c e s   o n   t h e   n o d e   t o   t h e   l o c a l   u s e r g r o u p .   T h i s   c a n   b e   d o n e   w i t h   t o o l s   l i k e   i c a c l s .   S e t   r u n A s U s e r N a m e   t o   t h e   n a m e   o f   t h e   l o c a l   u s e r g r o u p   f o r   t h e   p o d   o r   i n d i v i d u a l   c o n t a i n e r s .   s e c u r i t y C o n t e x t :   w i n d o w s O p t i o n s :   h o s t P r o c e s s :   t r u e   r u n A s U s e r N a m e :   h p c - l o c a l g r o u p   S c h e d u l e   t h e   p o d !",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18141"
  },
  {
    "question": "What is Base Image for HostProcess Containers?",
    "answer": "H o s t P r o c e s s   c o n t a i n e r s   c a n   b e   b u i l t   f r o m   a n y   o f   t h e   e x i s t i n g   W i n d o w s   C o n t a i n e r   b a s e   i m a g e s .   A d d i t i o n a l l y   a   n e w   b a s e   m a g e   h a s   b e e n   c r e a t e d   j u s t   f o r   H o s t P r o c e s s   c o n t a i n e r s !   F o r   m o r e   i n f o r m a t i o n   p l e a s e   c h e c k   o u t   t h e   w i n d o w s - h o s t - p r o c e s s - c o n t a i n e r s - b a s e - i m a g e   g i t h u b   p r o j e c t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18142"
  },
  {
    "question": "What is Troubleshooting HostProcess containers?",
    "answer": "H o s t P r o c e s s   c o n t a i n e r s   f a i l   t o   s t a r t   w i t h   f a i l e d   t o   c r e a t e   u s e r   p r o c e s s   t o k e n :   f a i l e d   t o   l o g o n   u s e r :   A c c e s s   i s   d e n i e d . :   u n k n o w n E n s u r e   c o n t a i n e r d   i s   r u n n i n g   a s   L o c a l S y s t e m   o r   L o c a l S e r v i c e   s e r v i c e   a c c o u n t s .   U s e r   a c c o u n t s   ( e v e n   A d m i n i s t r a t o r   a c c o u n t s )   d o   n o t   h a v e   p e r m i s s i o n s   t o   c r e a t e   l o g o n   t o k e n s   f o r   a n y   o f   t h e   s u p p o r t e d   u s e r   a c c o u n t s .   H o s t P r o c e s s   c o n t a i n e r s   f a i l   t o   s t a r t   w i t h   f a i l e d   t o   c r e a t e   u s e r   p r o c e s s   t o k e n :   f a i l e d   t o   l o g o n   u s e r :   A c c e s s   i s   d e n i e d . :   u n k n o w n   E n s u r e   c o n t a i n e r d   i s   r u n n i n g   a s   L o c a l S y s t e m   o r   L o c a l S e r v i c e   s e r v i c e   a c c o u n t s .   U s e r   a c c o u n t s   ( e v e n   A d m i n i s t r a t o r   a c c o u n t s )   d o   n o t   h a v e   p e r m i s s i o n s   t o   c r e a t e   l o g o n   t o k e n s   f o r   a n y   o f   t h e   s u p p o r t e d   u s e r   a c c o u n t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18143"
  },
  {
    "question": "What is 3.9 - Configure Quality of Service for Pods?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   P o d s   s o   t h a t   t h e y   w i l l   b e   a s s i g n e d   p a r t i c u l a r   Q u a l i t y   o f   S e r v i c e   ( Q o S )   c l a s s e s .   K u b e r n e t e s   u s e s   Q o S   c l a s s e s   t o   m a k e   d e c i s i o n s   a b o u t   e v i c t i n g   P o d s   w h e n   N o d e   r e s o u r c e s   a r e   e x c e e d e d .   W h e n   K u b e r n e t e s   c r e a t e s   a   P o d   i t   a s s i g n s   o n e   o f   t h e s e   Q o S   c l a s s e s   t o   t h e   P o d :   G u a r a n t e e d B u r s t a b l e B e s t E f f o r t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18144"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   a l s o   n e e d   t o   b e   a b l e   t o   c r e a t e   a n d   d e l e t e   n a m e s p a c e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18145"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   n a m e s p a c e   s o   t h a t   t h e   r e s o u r c e s   y o u   c r e a t e   i n   t h i s   e x e r c i s e   a r e   i s o l a t e d   f r o m   t h e   r e s t   o f   y o u r   c l u s t e r .   k u b e c t l   c r e a t e   n a m e s p a c e   q o s - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18146"
  },
  {
    "question": "What is Create a Pod that gets assigned a QoS class of Guaranteed?",
    "answer": "F o r   a   P o d   t o   b e   g i v e n   a   Q o S   c l a s s   o f   G u a r a n t e e d :   E v e r y   C o n t a i n e r   i n   t h e   P o d   m u s t   h a v e   a   m e m o r y   l i m i t   a n d   a   m e m o r y   r e q u e s t . F o r   e v e r y   C o n t a i n e r   i n   t h e   P o d ,   t h e   m e m o r y   l i m i t   m u s t   e q u a l   t h e   m e m o r y   r e q u e s t . E v e r y   C o n t a i n e r   i n   t h e   P o d   m u s t   h a v e   a   C P U   l i m i t   a n d   a   C P U   r e q u e s t . F o r   e v e r y   C o n t a i n e r   i n   t h e   P o d ,   t h e   C P U   l i m i t   m u s t   e q u a l   t h e   C P U   r e q u e s t .   T h e s e   r e s t r i c t i o n s   a p p l y   t o   i n i t   c o n t a i n e r s   a n d   a p p   c o n t a i n e r s   e q u a l l y .   E p h e m e r a l   c o n t a i n e r s   c a n n o t   d e f i n e   r e s o u r c e s   s o   t h e s e   r e s t r i c t i o n s   d o   n o t   a p p l y .   H e r e   i s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   T h e   C o n t a i n e r   h a s   a   m e m o r y   l i m i t   a n d   a   m e m o r y   r e q u e s t ,   b o t h   e q u a l   t o   2 0 0   M i B .   T h e   C o n t a i n e r   h a s   a   C P U   l i m i t   a n d   a   C P U   r e q u e s t ,   b o t h   e q u a l   t o   7 0 0   m i l l i C P U :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   q o s - d e m o   n a m e s p a c e :   q o s - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   q o s - d e m o - c t r   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 2 0 0 M i \"   c p u :   \" 7 0 0 m \"   r e q u e s t s :   m e m o r y :   \" 2 0 0 M i \"   c p u :   \" 7 0 0 m \"   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / q o s / q o s - p o d . y a m l   - - n a m e s p ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18147"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   P o d :   k u b e c t l   d e l e t e   p o d   q o s - d e m o   - - n a m e s p a c e = q o s - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18148"
  },
  {
    "question": "What is Create a Pod that gets assigned a QoS class of Burstable?",
    "answer": "A   P o d   i s   g i v e n   a   Q o S   c l a s s   o f   B u r s t a b l e   i f :   T h e   P o d   d o e s   n o t   m e e t   t h e   c r i t e r i a   f o r   Q o S   c l a s s   G u a r a n t e e d . A t   l e a s t   o n e   C o n t a i n e r   i n   t h e   P o d   h a s   a   m e m o r y   o r   C P U   r e q u e s t   o r   l i m i t .   H e r e   i s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   T h e   C o n t a i n e r   h a s   a   m e m o r y   l i m i t   o f   2 0 0   M i B   a n d   a   m e m o r y   r e q u e s t   o f   1 0 0   M i B .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   q o s - d e m o - 2   n a m e s p a c e :   q o s - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   q o s - d e m o - 2 - c t r   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 2 0 0 M i \"   r e q u e s t s :   m e m o r y :   \" 1 0 0 M i \"   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / q o s / q o s - p o d - 2 . y a m l   - - n a m e s p a c e = q o s - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   P o d :   k u b e c t l   g e t   p o d   q o s - d e m o - 2   - - n a m e s p a c e = q o s - e x a m p l e   - - o u t p u t = y a m l   T h e   o u t p u t   s h o w s   t h a t   K u b e r n e t e s   g a v e   t h e   P o d   a   Q o S   c l a s s   o f   B u r s t a b l e :   s p e c :   c o n t a i n e r s :   -   i m a g e :   n g i n x   i m a g e P u l l P o l i c y :   A l w a y s   n a m e :   q o s - d e m o - 2 - c t r   r e s o u r c e s :   l i m i t s :   m e m o r y :   2 0 0 M i   r e q u e s t s :   m e m o r y :   1 0 0 M i   . . .   s t a t u s :   q o s C l a s s :   B u r s t a b l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18149"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   P o d :   k u b e c t l   d e l e t e   p o d   q o s - d e m o - 2   - - n a m e s p a c e = q o s - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18150"
  },
  {
    "question": "What is Create a Pod that gets assigned a QoS class of BestEffort?",
    "answer": "F o r   a   P o d   t o   b e   g i v e n   a   Q o S   c l a s s   o f   B e s t E f f o r t ,   t h e   C o n t a i n e r s   i n   t h e   P o d   m u s t   n o t   h a v e   a n y   m e m o r y   o r   C P U   l i m i t s   o r   r e q u e s t s .   H e r e   i s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   T h e   C o n t a i n e r   h a s   n o   m e m o r y   o r   C P U   l i m i t s   o r   r e q u e s t s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   q o s - d e m o - 3   n a m e s p a c e :   q o s - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   q o s - d e m o - 3 - c t r   i m a g e :   n g i n x   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / q o s / q o s - p o d - 3 . y a m l   - - n a m e s p a c e = q o s - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   P o d :   k u b e c t l   g e t   p o d   q o s - d e m o - 3   - - n a m e s p a c e = q o s - e x a m p l e   - - o u t p u t = y a m l   T h e   o u t p u t   s h o w s   t h a t   K u b e r n e t e s   g a v e   t h e   P o d   a   Q o S   c l a s s   o f   B e s t E f f o r t :   s p e c :   c o n t a i n e r s :   . . .   r e s o u r c e s :   { }   . . .   s t a t u s :   q o s C l a s s :   B e s t E f f o r t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18151"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   P o d :   k u b e c t l   d e l e t e   p o d   q o s - d e m o - 3   - - n a m e s p a c e = q o s - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18152"
  },
  {
    "question": "What is Create a Pod that has two Containers?",
    "answer": "H e r e   i s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   t w o   C o n t a i n e r s .   O n e   c o n t a i n e r   s p e c i f i e s   a   m e m o r y   r e q u e s t   o f   2 0 0   M i B .   T h e   o t h e r   C o n t a i n e r   d o e s   n o t   s p e c i f y   a n y   r e q u e s t s   o r   l i m i t s .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   q o s - d e m o - 4   n a m e s p a c e :   q o s - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   q o s - d e m o - 4 - c t r - 1   i m a g e :   n g i n x   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 2 0 0 M i \"   -   n a m e :   q o s - d e m o - 4 - c t r - 2   i m a g e :   r e d i s   N o t i c e   t h a t   t h i s   P o d   m e e t s   t h e   c r i t e r i a   f o r   Q o S   c l a s s   B u r s t a b l e .   T h a t   i s ,   i t   d o e s   n o t   m e e t   t h e   c r i t e r i a   f o r   Q o S   c l a s s   G u a r a n t e e d ,   a n d   o n e   o f   i t s   C o n t a i n e r s   h a s   a   m e m o r y   r e q u e s t .   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / q o s / q o s - p o d - 4 . y a m l   - - n a m e s p a c e = q o s - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   P o d :   k u b e c t l   g e t   p o d   q o s - d e m o - 4   - - n a m e s p a c e = q o s - e x a m p l e   - - o u t p u t = y a m l   T h e   o u t p u t   s h o w s   t h a t   K u b e r n e t e s   g a v e   t h e   P o d   a   Q o S   c l a s s   o f   B u r s t a b l e :   s p e c :   c o n t a i n e r s :   . . .   n a m e :   q o s - d e m o - 4 - c t r - 1   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   2 0 0 M i   . . .   n a m e :   q o s - d e m o - 4 - c t r - 2   r e s o u r c e s :   { }   . . .   s t a t u s :   q o s C l a s s :   B u r s t a b l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18153"
  },
  {
    "question": "What is Retrieve the QoS class for a Pod?",
    "answer": "R a t h e r   t h a n   s e e   a l l   t h e   f i e l d s ,   y o u   c a n   v i e w   j u s t   t h e   f i e l d   y o u   n e e d :   k u b e c t l   - - n a m e s p a c e = q o s - e x a m p l e   g e t   p o d   q o s - d e m o - 4   - o   j s o n p a t h = ' {   . s t a t u s . q o s C l a s s } { \" \\ n \" } '   B u r s t a b l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18154"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   n a m e s p a c e :   k u b e c t l   d e l e t e   n a m e s p a c e   q o s - e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18155"
  },
  {
    "question": "What is For app developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18156"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s C o n t r o l   T o p o l o g y   M a n a g e m e n t   p o l i c i e s   o n   a   n o d e   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e   C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s   C o n t r o l   T o p o l o g y   M a n a g e m e n t   p o l i c i e s   o n   a   n o d e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18157"
  },
  {
    "question": "What is 3.10 - Assign Extended Resources to a Container?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   a s s i g n   e x t e n d e d   r e s o u r c e s   t o   a   C o n t a i n e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18158"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   B e f o r e   y o u   d o   t h i s   e x e r c i s e ,   d o   t h e   e x e r c i s e   i n   A d v e r t i s e   E x t e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18159"
  },
  {
    "question": "What is Assign an extended resource to a Pod?",
    "answer": "T o   r e q u e s t   a n   e x t e n d e d   r e s o u r c e ,   i n c l u d e   t h e   r e s o u r c e s : r e q u e s t s   f i e l d   i n   y o u r   C o n t a i n e r   m a n i f e s t .   E x t e n d e d   r e s o u r c e s   a r e   f u l l y   q u a l i f i e d   w i t h   a n y   d o m a i n   o u t s i d e   o f   * . k u b e r n e t e s . i o / .   V a l i d   e x t e n d e d   r e s o u r c e   n a m e s   h a v e   t h e   f o r m   e x a m p l e . c o m / f o o   w h e r e   e x a m p l e . c o m   i s   r e p l a c e d   w i t h   y o u r   o r g a n i z a t i o n ' s   d o m a i n   a n d   f o o   i s   a   d e s c r i p t i v e   r e s o u r c e   n a m e .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e x t e n d e d - r e s o u r c e - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   e x t e n d e d - r e s o u r c e - d e m o - c t r   i m a g e :   n g i n x   r e s o u r c e s :   r e q u e s t s :   e x a m p l e . c o m / d o n g l e :   3   l i m i t s :   e x a m p l e . c o m / d o n g l e :   3   I n   t h e   c o n f i g u r a t i o n   f i l e ,   y o u   c a n   s e e   t h a t   t h e   C o n t a i n e r   r e q u e s t s   3   d o n g l e s .   C r e a t e   a   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / r e s o u r c e / e x t e n d e d - r e s o u r c e - p o d . y a m l   V e r i f y   t h a t   t h e   P o d   i s   r u n n i n g :   k u b e c t l   g e t   p o d   e x t e n d e d - r e s o u r c e - d e m o   D e s c r i b e   t h e   P o d :   k u b e c t l   d e s c r i b e   p o d   e x t e n d e d - r e s o u r c e - d e m o   T h e   o u t p u t   s h o w s   d o n g l e   r e q u e s t s :   L i m i t s :   e x a m p l e . c o m / d o n g l e :   3   R e q u e s t s :   e x a m p l e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18160"
  },
  {
    "question": "What is Attempt to create a second Pod?",
    "answer": "H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   T h e   C o n t a i n e r   r e q u e s t s   t w o   d o n g l e s .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e x t e n d e d - r e s o u r c e - d e m o - 2   s p e c :   c o n t a i n e r s :   -   n a m e :   e x t e n d e d - r e s o u r c e - d e m o - 2 - c t r   i m a g e :   n g i n x   r e s o u r c e s :   r e q u e s t s :   e x a m p l e . c o m / d o n g l e :   2   l i m i t s :   e x a m p l e . c o m / d o n g l e :   2   K u b e r n e t e s   w i l l   n o t   b e   a b l e   t o   s a t i s f y   t h e   r e q u e s t   f o r   t w o   d o n g l e s ,   b e c a u s e   t h e   f i r s t   P o d   u s e d   t h r e e   o f   t h e   f o u r   a v a i l a b l e   d o n g l e s .   A t t e m p t   t o   c r e a t e   a   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / r e s o u r c e / e x t e n d e d - r e s o u r c e - p o d - 2 . y a m l   D e s c r i b e   t h e   P o d   k u b e c t l   d e s c r i b e   p o d   e x t e n d e d - r e s o u r c e - d e m o - 2   T h e   o u t p u t   s h o w s   t h a t   t h e   P o d   c a n n o t   b e   s c h e d u l e d ,   b e c a u s e   t h e r e   i s   n o   N o d e   t h a t   h a s   2   d o n g l e s   a v a i l a b l e :   C o n d i t i o n s :   T y p e   S t a t u s   P o d S c h e d u l e d   F a l s e   . . .   E v e n t s :   . . .   . . .   W a r n i n g   F a i l e d S c h e d u l i n g   p o d   ( e x t e n d e d - r e s o u r c e - d e m o - 2 )   f a i l e d   t o   f i t   i n   a n y   n o d e   f i t   f a i l u r e   s u m m a r y   o n   n o d e s   :   I n s u f f i c i e n t   e x a m p l e . c o m / d o n g l e   ( 1 )   V i e w   t h e   P o d   s t a t u s :   k u b e c t l   g e t   p o d   e x t e n d e d - r e s o u r c e - d e m o - 2   T h e   o u t p ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18161"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   t h e   P o d s   t h a t   y o u   c r e a t e d   f o r   t h i s   e x e r c i s e :   k u b e c t l   d e l e t e   p o d   e x t e n d e d - r e s o u r c e - d e m o   k u b e c t l   d e l e t e   p o d   e x t e n d e d - r e s o u r c e - d e m o - 2",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18162"
  },
  {
    "question": "What is For application developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18163"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "A d v e r t i s e   E x t e n d e d   R e s o u r c e s   f o r   a   N o d e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18164"
  },
  {
    "question": "What is 3.11 - Configure a Pod to Use a Volume for Storage?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   a   P o d   t o   u s e   a   V o l u m e   f o r   s t o r a g e .   A   C o n t a i n e r ' s   f i l e   s y s t e m   l i v e s   o n l y   a s   l o n g   a s   t h e   C o n t a i n e r   d o e s .   S o   w h e n   a   C o n t a i n e r   t e r m i n a t e s   a n d   r e s t a r t s ,   f i l e s y s t e m   c h a n g e s   a r e   l o s t .   F o r   m o r e   c o n s i s t e n t   s t o r a g e   t h a t   i s   i n d e p e n d e n t   o f   t h e   C o n t a i n e r ,   y o u   c a n   u s e   a   V o l u m e .   T h i s   i s   e s p e c i a l l y   i m p o r t a n t   f o r   s t a t e f u l   a p p l i c a t i o n s ,   s u c h   a s   k e y - v a l u e   s t o r e s   ( s u c h   a s   R e d i s )   a n d   d a t a b a s e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18165"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18166"
  },
  {
    "question": "What is Configure a volume for a Pod?",
    "answer": "I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   r u n s   o n e   C o n t a i n e r .   T h i s   P o d   h a s   a   V o l u m e   o f   t y p e   e m p t y D i r   t h a t   l a s t s   f o r   t h e   l i f e   o f   t h e   P o d ,   e v e n   i f   t h e   C o n t a i n e r   t e r m i n a t e s   a n d   r e s t a r t s .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   r e d i s   s p e c :   c o n t a i n e r s :   -   n a m e :   r e d i s   i m a g e :   r e d i s   v o l u m e M o u n t s :   -   n a m e :   r e d i s - s t o r a g e   m o u n t P a t h :   / d a t a / r e d i s   v o l u m e s :   -   n a m e :   r e d i s - s t o r a g e   e m p t y D i r :   { }   C r e a t e   t h e   P o d : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s t o r a g e / r e d i s . y a m l   V e r i f y   t h a t   t h e   P o d ' s   C o n t a i n e r   i s   r u n n i n g ,   a n d   t h e n   w a t c h   f o r   c h a n g e s   t o   t h e   P o d : k u b e c t l   g e t   p o d   r e d i s   - - w a t c h   T h e   o u t p u t   l o o k s   l i k e   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   r e d i s   1 / 1   R u n n i n g   0   1 3 s   I n   a n o t h e r   t e r m i n a l ,   g e t   a   s h e l l   t o   t h e   r u n n i n g   C o n t a i n e r : k u b e c t l   e x e c   - i t   r e d i s   - -   / b i n / b a s h   I n   y o u r   s h e l l ,   g o   t o   / d a t a / r e d i s ,   a n d   t h e n   c r e a t e   a   f i l e : r o o t @ r e d i s : / d a t a #   c d   / d a t a / r e d i s /   r o o t @ r e d i s : / d a t a / r e d i s #   e c h o   H e l l o   >   t e s t - f i l e   I n   y o u r   s h e l l ,   l i s t   t h e   r u n n i n g   p r o c e s s e s : r o o t @ r e d i s : / d a t a / r e d i s #   a p t - g e t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18167"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   V o l u m e . S e e   P o d . I n   a d d i t i o n   t o   t h e   l o c a l   d i s k   s t o r a g e   p r o v i d e d   b y   e m p t y D i r ,   K u b e r n e t e s   s u p p o r t s   m a n y   d i f f e r e n t   n e t w o r k - a t t a c h e d   s t o r a g e   s o l u t i o n s ,   i n c l u d i n g   P D   o n   G C E   a n d   E B S   o n   E C 2 ,   w h i c h   a r e   p r e f e r r e d   f o r   c r i t i c a l   d a t a   a n d   w i l l   h a n d l e   d e t a i l s   s u c h   a s   m o u n t i n g   a n d   u n m o u n t i n g   t h e   d e v i c e s   o n   t h e   n o d e s .   S e e   V o l u m e s   f o r   m o r e   d e t a i l s .   S e e   V o l u m e .   S e e   P o d .   I n   a d d i t i o n   t o   t h e   l o c a l   d i s k   s t o r a g e   p r o v i d e d   b y   e m p t y D i r ,   K u b e r n e t e s   s u p p o r t s   m a n y   d i f f e r e n t   n e t w o r k - a t t a c h e d   s t o r a g e   s o l u t i o n s ,   i n c l u d i n g   P D   o n   G C E   a n d   E B S   o n   E C 2 ,   w h i c h   a r e   p r e f e r r e d   f o r   c r i t i c a l   d a t a   a n d   w i l l   h a n d l e   d e t a i l s   s u c h   a s   m o u n t i n g   a n d   u n m o u n t i n g   t h e   d e v i c e s   o n   t h e   n o d e s .   S e e   V o l u m e s   f o r   m o r e   d e t a i l s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18168"
  },
  {
    "question": "What is 3.12 - Configure a Pod to Use a PersistentVolume for Storage?",
    "answer": "T h i s   p a g e   s h o w s   y o u   h o w   t o   c o n f i g u r e   a   P o d   t o   u s e   a   P e r s i s t e n t V o l u m e C l a i m   f o r   s t o r a g e .   H e r e   i s   a   s u m m a r y   o f   t h e   p r o c e s s :   Y o u ,   a s   c l u s t e r   a d m i n i s t r a t o r ,   c r e a t e   a   P e r s i s t e n t V o l u m e   b a c k e d   b y   p h y s i c a l   s t o r a g e .   Y o u   d o   n o t   a s s o c i a t e   t h e   v o l u m e   w i t h   a n y   P o d . Y o u ,   n o w   t a k i n g   t h e   r o l e   o f   a   d e v e l o p e r   /   c l u s t e r   u s e r ,   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   t h a t   i s   a u t o m a t i c a l l y   b o u n d   t o   a   s u i t a b l e   P e r s i s t e n t V o l u m e . Y o u   c r e a t e   a   P o d   t h a t   u s e s   t h e   a b o v e   P e r s i s t e n t V o l u m e C l a i m   f o r   s t o r a g e .   Y o u ,   a s   c l u s t e r   a d m i n i s t r a t o r ,   c r e a t e   a   P e r s i s t e n t V o l u m e   b a c k e d   b y   p h y s i c a l   s t o r a g e .   Y o u   d o   n o t   a s s o c i a t e   t h e   v o l u m e   w i t h   a n y   P o d .   Y o u ,   n o w   t a k i n g   t h e   r o l e   o f   a   d e v e l o p e r   /   c l u s t e r   u s e r ,   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   t h a t   i s   a u t o m a t i c a l l y   b o u n d   t o   a   s u i t a b l e   P e r s i s t e n t V o l u m e .   Y o u   c r e a t e   a   P o d   t h a t   u s e s   t h e   a b o v e   P e r s i s t e n t V o l u m e C l a i m   f o r   s t o r a g e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18169"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r   t h a t   h a s   o n l y   o n e   N o d e ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   s i n g l e - n o d e   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   M i n i k u b e . F a m i l i a r i z e   y o u r s e l f   w i t h   t h e   m a t e r i a l   i n   P e r s i s t e n t   V o l u m e s .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r   t h a t   h a s   o n l y   o n e   N o d e ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   s i n g l e - n o d e   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   M i n i k u b e .   F a m i l i a r i z e   y o u r s e l f   w i t h   t h e   m a t e r i a l   i n   P e r s i s t e n t   V o l u m e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18170"
  },
  {
    "question": "What is Create an index.html file on your Node?",
    "answer": "O p e n   a   s h e l l   t o   t h e   s i n g l e   N o d e   i n   y o u r   c l u s t e r .   H o w   y o u   o p e n   a   s h e l l   d e p e n d s   o n   h o w   y o u   s e t   u p   y o u r   c l u s t e r .   F o r   e x a m p l e ,   i f   y o u   a r e   u s i n g   M i n i k u b e ,   y o u   c a n   o p e n   a   s h e l l   t o   y o u r   N o d e   b y   e n t e r i n g   m i n i k u b e   s s h .   I n   y o u r   s h e l l   o n   t h a t   N o d e ,   c r e a t e   a   / m n t / d a t a   d i r e c t o r y :   #   T h i s   a s s u m e s   t h a t   y o u r   N o d e   u s e s   \" s u d o \"   t o   r u n   c o m m a n d s   #   a s   t h e   s u p e r u s e r   s u d o   m k d i r   / m n t / d a t a   I n   t h e   / m n t / d a t a   d i r e c t o r y ,   c r e a t e   a n   i n d e x . h t m l   f i l e :   #   T h i s   a g a i n   a s s u m e s   t h a t   y o u r   N o d e   u s e s   \" s u d o \"   t o   r u n   c o m m a n d s   #   a s   t h e   s u p e r u s e r   s u d o   s h   - c   \" e c h o   ' H e l l o   f r o m   K u b e r n e t e s   s t o r a g e '   >   / m n t / d a t a / i n d e x . h t m l \"",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18171"
  },
  {
    "question": "What is Note:?",
    "answer": "T e s t   t h a t   t h e   i n d e x . h t m l   f i l e   e x i s t s :   c a t   / m n t / d a t a / i n d e x . h t m l   T h e   o u t p u t   s h o u l d   b e :   H e l l o   f r o m   K u b e r n e t e s   s t o r a g e   Y o u   c a n   n o w   c l o s e   t h e   s h e l l   t o   y o u r   N o d e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18172"
  },
  {
    "question": "What is Create a PersistentVolume?",
    "answer": "I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   h o s t P a t h   P e r s i s t e n t V o l u m e .   K u b e r n e t e s   s u p p o r t s   h o s t P a t h   f o r   d e v e l o p m e n t   a n d   t e s t i n g   o n   a   s i n g l e - n o d e   c l u s t e r .   A   h o s t P a t h   P e r s i s t e n t V o l u m e   u s e s   a   f i l e   o r   d i r e c t o r y   o n   t h e   N o d e   t o   e m u l a t e   n e t w o r k - a t t a c h e d   s t o r a g e .   I n   a   p r o d u c t i o n   c l u s t e r ,   y o u   w o u l d   n o t   u s e   h o s t P a t h .   I n s t e a d   a   c l u s t e r   a d m i n i s t r a t o r   w o u l d   p r o v i s i o n   a   n e t w o r k   r e s o u r c e   l i k e   a   G o o g l e   C o m p u t e   E n g i n e   p e r s i s t e n t   d i s k ,   a n   N F S   s h a r e ,   o r   a n   A m a z o n   E l a s t i c   B l o c k   S t o r e   v o l u m e .   C l u s t e r   a d m i n i s t r a t o r s   c a n   a l s o   u s e   S t o r a g e C l a s s e s   t o   s e t   u p   d y n a m i c   p r o v i s i o n i n g .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   h o s t P a t h   P e r s i s t e n t V o l u m e :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e   m e t a d a t a :   n a m e :   t a s k - p v - v o l u m e   l a b e l s :   t y p e :   l o c a l   s p e c :   s t o r a g e C l a s s N a m e :   m a n u a l   c a p a c i t y :   s t o r a g e :   1 0 G i   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   h o s t P a t h :   p a t h :   \" / m n t / d a t a \"   T h e   c o n f i g u r a t i o n   f i l e   s p e c i f i e s   t h a t   t h e   v o l u m e   i s   a t   / m n t / d a t a   o n   t h e   c l u s t e r ' s   N o d e .   T h e   c o n f i g u r a t i o n   a l s o   s p e c i f i e s   a   s i z e   o f   1 0   g i b i b y t e s   a n d   a n   a c c e s s   m o d e   o f   R e a d W r i t e O n c e ,   w h i c h ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18173"
  },
  {
    "question": "What is Note:?",
    "answer": "C r e a t e   t h e   P e r s i s t e n t V o l u m e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s t o r a g e / p v - v o l u m e . y a m l   V i e w   i n f o r m a t i o n   a b o u t   t h e   P e r s i s t e n t V o l u m e :   k u b e c t l   g e t   p v   t a s k - p v - v o l u m e   T h e   o u t p u t   s h o w s   t h a t   t h e   P e r s i s t e n t V o l u m e   h a s   a   S T A T U S   o f   A v a i l a b l e .   T h i s   m e a n s   i t   h a s   n o t   y e t   b e e n   b o u n d   t o   a   P e r s i s t e n t V o l u m e C l a i m .   N A M E   C A P A C I T Y   A C C E S S M O D E S   R E C L A I M P O L I C Y   S T A T U S   C L A I M   S T O R A G E C L A S S   R E A S O N   A G E   t a s k - p v - v o l u m e   1 0 G i   R W O   R e t a i n   A v a i l a b l e   m a n u a l   4 s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18174"
  },
  {
    "question": "What is Create a PersistentVolumeClaim?",
    "answer": "T h e   n e x t   s t e p   i s   t o   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m .   P o d s   u s e   P e r s i s t e n t V o l u m e C l a i m s   t o   r e q u e s t   p h y s i c a l   s t o r a g e .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   t h a t   r e q u e s t s   a   v o l u m e   o f   a t   l e a s t   t h r e e   g i b i b y t e s   t h a t   c a n   p r o v i d e   r e a d - w r i t e   a c c e s s   f o r   a t   m o s t   o n e   N o d e   a t   a   t i m e .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P e r s i s t e n t V o l u m e C l a i m :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   t a s k - p v - c l a i m   s p e c :   s t o r a g e C l a s s N a m e :   m a n u a l   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   3 G i   C r e a t e   t h e   P e r s i s t e n t V o l u m e C l a i m :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s t o r a g e / p v - c l a i m . y a m l   A f t e r   y o u   c r e a t e   t h e   P e r s i s t e n t V o l u m e C l a i m ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   l o o k s   f o r   a   P e r s i s t e n t V o l u m e   t h a t   s a t i s f i e s   t h e   c l a i m ' s   r e q u i r e m e n t s .   I f   t h e   c o n t r o l   p l a n e   f i n d s   a   s u i t a b l e   P e r s i s t e n t V o l u m e   w i t h   t h e   s a m e   S t o r a g e C l a s s ,   i t   b i n d s   t h e   c l a i m   t o   t h e   v o l u m e .   L o o k   a g a i n   a t   t h e   P e r s i s t e n t V o l u m e :   k u b e c t l   g e t   p v   t a s k - p v - v o l u m e   N o w   t h e   o u t p u t   s h o w s   a   S T A T U S   o f   B o u n d .   N A M E   C A P A C I T Y   A C C E S ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18175"
  },
  {
    "question": "What is Create a Pod?",
    "answer": "T h e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18176"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   t h e   P o d :   k u b e c t l   d e l e t e   p o d   t a s k - p v - p o d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18177"
  },
  {
    "question": "What is Mounting the same PersistentVolume in two places?",
    "answer": "Y o u   h a v e   u n d e r s t o o d   h o w   t o   c r e a t e   a   P e r s i s t e n t V o l u m e   &   P e r s i s t e n t V o l u m e C l a i m ,   a n d   h o w   t o   m o u n t   t h e   v o l u m e   t o   a   s i n g l e   l o c a t i o n   i n   a   c o n t a i n e r .   L e t ' s   e x p l o r e   h o w   y o u   c a n   m o u n t   t h e   s a m e   P e r s i s t e n t V o l u m e   a t   t w o   d i f f e r e n t   l o c a t i o n s   i n   a   c o n t a i n e r .   B e l o w   i s   a n   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t   i m a g e :   n g i n x   v o l u m e M o u n t s :   #   a   m o u n t   f o r   s i t e - d a t a   -   n a m e :   c o n f i g   m o u n t P a t h :   / u s r / s h a r e / n g i n x / h t m l   s u b P a t h :   h t m l   #   a n o t h e r   m o u n t   f o r   n g i n x   c o n f i g   -   n a m e :   c o n f i g   m o u n t P a t h :   / e t c / n g i n x / n g i n x . c o n f   s u b P a t h :   n g i n x . c o n f   v o l u m e s :   -   n a m e :   c o n f i g   p e r s i s t e n t V o l u m e C l a i m :   c l a i m N a m e :   t a s k - p v - s t o r a g e   H e r e :   s u b P a t h :   T h i s   f i e l d   a l l o w s   s p e c i f i c   f i l e s   o r   d i r e c t o r i e s   f r o m   t h e   m o u n t e d   P e r s i s t e n t V o l u m e   t o   b e   e x p o s e d   a t   d i f f e r e n t   l o c a t i o n s   w i t h i n   t h e   c o n t a i n e r .   I n   t h i s   e x a m p l e : s u b P a t h :   h t m l   m o u n t s   t h e   h t m l   d i r e c t o r y . s u b P a t h :   n g i n x . c o n f   m o u n t s   a   s p e c i f i c   f i l e ,   n g i n x . c o n f .   s u b P a t h :   h t m l   m o u n t s   t h e   h t m l   d i r e c t o r y . s u b P a t h :   n g i n x . c o n f   m o u n t s   a   s p e c i f i c   f i l e ,   n g i n x . c o n f .   S i n c e   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18178"
  },
  {
    "question": "What is Move the index.html file on your Node to a new folder?",
    "answer": "T h e   i n d e x . h t m l   f i l e   m e n t i o n e d   h e r e   r e f e r s   t o   t h e   o n e   c r e a t e d   i n   t h e   \" C r e a t e   a n   i n d e x . h t m l   f i l e   o n   y o u r   N o d e \"   s e c t i o n .   O p e n   a   s h e l l   t o   t h e   s i n g l e   N o d e   i n   y o u r   c l u s t e r .   H o w   y o u   o p e n   a   s h e l l   d e p e n d s   o n   h o w   y o u   s e t   u p   y o u r   c l u s t e r .   F o r   e x a m p l e ,   i f   y o u   a r e   u s i n g   M i n i k u b e ,   y o u   c a n   o p e n   a   s h e l l   t o   y o u r   N o d e   b y   e n t e r i n g   m i n i k u b e   s s h .   C r e a t e   a   / m n t / d a t a / h t m l   d i r e c t o r y :   #   T h i s   a s s u m e s   t h a t   y o u r   N o d e   u s e s   \" s u d o \"   t o   r u n   c o m m a n d s   #   a s   t h e   s u p e r u s e r   s u d o   m k d i r   / m n t / d a t a / h t m l   M o v e   i n d e x . h t m l   i n t o   t h e   d i r e c t o r y :   #   M o v e   i n d e x . h t m l   f r o m   i t s   c u r r e n t   l o c a t i o n   t o   t h e   h t m l   s u b - d i r e c t o r y   s u d o   m v   / m n t / d a t a / i n d e x . h t m l   h t m l",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18179"
  },
  {
    "question": "What is Create a new nginx.conf file?",
    "answer": "u s e r   n g i n x ;   w o r k e r _ p r o c e s s e s   a u t o ;   e r r o r _ l o g   / v a r / l o g / n g i n x / e r r o r . l o g   n o t i c e ;   p i d   / v a r / r u n / n g i n x . p i d ;   e v e n t s   {   w o r k e r _ c o n n e c t i o n s   1 0 2 4 ;   }   h t t p   {   i n c l u d e   / e t c / n g i n x / m i m e . t y p e s ;   d e f a u l t _ t y p e   a p p l i c a t i o n / o c t e t - s t r e a m ;   l o g _ f o r m a t   m a i n   & # 3 9 ; $ r e m o t e _ a d d r   -   $ r e m o t e _ u s e r   [ $ t i m e _ l o c a l ]   & # 3 4 ; $ r e q u e s t & # 3 4 ;   & # 3 9 ;   & # 3 9 ; $ s t a t u s   $ b o d y _ b y t e s _ s e n t   & # 3 4 ; $ h t t p _ r e f e r e r & # 3 4 ;   & # 3 9 ;   & # 3 9 ; & # 3 4 ; $ h t t p _ u s e r _ a g e n t & # 3 4 ;   & # 3 4 ; $ h t t p _ x _ f o r w a r d e d _ f o r & # 3 4 ; & # 3 9 ; ;   a c c e s s _ l o g   / v a r / l o g / n g i n x / a c c e s s . l o g   m a i n ;   s e n d f i l e   o n ;   # t c p _ n o p u s h   o n ;   k e e p a l i v e _ t i m e o u t   6 0 ;   # g z i p   o n ;   i n c l u d e   / e t c / n g i n x / c o n f . d / * . c o n f ;   }   e r r o r _ l o g   / v a r / l o g / n g i n x / e r r o r . l o g   n o t i c e ;   p i d   / v a r / r u n / n g i n x . p i d ;   e v e n t s   {   w o r k e r _ c o n n e c t i o n s   1 0 2 4 ;   }   h t t p   {   i n c l u d e   / e t c / n g i n x / m i m e . t y p e s ;   d e f a u l t _ t y p e   a p p l i c a t i o n / o c t e t - s t r e a m ;   l o g _ f o r m a t   m a i n   & # 3 9 ; $ r e m o t e _ a d d r   -   $ r e m o t e _ u s e r   [ $ t i m e _ l o c a l ]   & # 3 4 ; $ r e q u e s t & # 3 4 ;   & # 3 9 ;   & # 3 9 ; $ s t a t u s   $ b o d y _ b y t e s _ s e n t   & # 3 4 ; $ h t t p _ r e f e r e r & # 3 4 ;   & # 3 9 ;   & # 3 9 ; & # 3 4 ; $ h t t p _ u s e r _ a g e n t & # 3 4 ;   & # 3 4 ; $ h t t p _ x _ f o r w a r d e d _ f o r & # 3 4 ; & # 3 9 ; ;   a c c e s s _ l o g   / v a r / l o g / n g i n x / a c c ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18180"
  },
  {
    "question": "What is Create a Pod?",
    "answer": "H e r e   w e   w i l l   c r e a t e   a   p o d   t h a t   u s e s   t h e   e x i s t i n g   p e r s i s t e n t V o l u m e   a n d   p e r s i s t e n t V o l u m e C l a i m .   H o w e v e r ,   t h e   p o d   m o u n t s   o n l y   a   s p e c i f i c   f i l e ,   n g i n x . c o n f ,   a n d   d i r e c t o r y ,   h t m l ,   t o   t h e   c o n t a i n e r .   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s t o r a g e / p v - d u p l i c a t e . y a m l   V e r i f y   t h a t   t h e   c o n t a i n e r   i n   t h e   P o d   i s   r u n n i n g :   k u b e c t l   g e t   p o d   t e s t   G e t   a   s h e l l   t o   t h e   c o n t a i n e r   r u n n i n g   i n   y o u r   P o d :   k u b e c t l   e x e c   - i t   t e s t   - -   / b i n / b a s h   I n   y o u r   s h e l l ,   v e r i f y   t h a t   n g i n x   i s   s e r v i n g   t h e   i n d e x . h t m l   f i l e   f r o m   t h e   h o s t P a t h   v o l u m e :   #   B e   s u r e   t o   r u n   t h e s e   3   c o m m a n d s   i n s i d e   t h e   r o o t   s h e l l   t h a t   c o m e s   f r o m   #   r u n n i n g   \" k u b e c t l   e x e c \"   i n   t h e   p r e v i o u s   s t e p   a p t   u p d a t e   a p t   i n s t a l l   c u r l   c u r l   h t t p : / / l o c a l h o s t /   T h e   o u t p u t   s h o w s   t h e   t e x t   t h a t   y o u   w r o t e   t o   t h e   i n d e x . h t m l   f i l e   o n   t h e   h o s t P a t h   v o l u m e :   H e l l o   f r o m   K u b e r n e t e s   s t o r a g e   I n   y o u r   s h e l l ,   a l s o   v e r i f y   t h a t   n g i n x   i s   s e r v i n g   t h e   n g i n x . c o n f   f i l e   f r o m   t h e   h o s t P a t h   v o l u m e :   #   B e   s u r e   t o   r u n   t h e s e   c o m m a n d s   i n s i d e   t h e   r o o t   s h e l l   t h a t   c o m e s   f r o m   #   r u n n i n g   \" k u b e c t l   e x e c \"   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18181"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   t h e   P o d :   k u b e c t l   d e l e t e   p o d   t e s t   k u b e c t l   d e l e t e   p v c   t a s k - p v - c l a i m   k u b e c t l   d e l e t e   p v   t a s k - p v - v o l u m e   I f   y o u   d o n ' t   a l r e a d y   h a v e   a   s h e l l   o p e n   t o   t h e   N o d e   i n   y o u r   c l u s t e r ,   o p e n   a   n e w   s h e l l   t h e   s a m e   w a y   t h a t   y o u   d i d   e a r l i e r .   I n   t h e   s h e l l   o n   y o u r   N o d e ,   r e m o v e   t h e   f i l e   a n d   d i r e c t o r y   t h a t   y o u   c r e a t e d :   #   T h i s   a s s u m e s   t h a t   y o u r   N o d e   u s e s   \" s u d o \"   t o   r u n   c o m m a n d s   #   a s   t h e   s u p e r u s e r   s u d o   r m   / m n t / d a t a / h t m l / i n d e x . h t m l   s u d o   r m   / m n t / d a t a / n g i n x . c o n f   s u d o   r m d i r   / m n t / d a t a   Y o u   c a n   n o w   c l o s e   t h e   s h e l l   t o   y o u r   N o d e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18182"
  },
  {
    "question": "What is Access control?",
    "answer": "S t o r a g e   c o n f i g u r e d   w i t h   a   g r o u p   I D   ( G I D )   a l l o w s   w r i t i n g   o n l y   b y   P o d s   u s i n g   t h e   s a m e   G I D .   M i s m a t c h e d   o r   m i s s i n g   G I D s   c a u s e   p e r m i s s i o n   d e n i e d   e r r o r s .   T o   r e d u c e   t h e   n e e d   f o r   c o o r d i n a t i o n   w i t h   u s e r s ,   a n   a d m i n i s t r a t o r   c a n   a n n o t a t e   a   P e r s i s t e n t V o l u m e   w i t h   a   G I D .   T h e n   t h e   G I D   i s   a u t o m a t i c a l l y   a d d e d   t o   a n y   P o d   t h a t   u s e s   t h e   P e r s i s t e n t V o l u m e .   U s e   t h e   p v . b e t a . k u b e r n e t e s . i o / g i d   a n n o t a t i o n   a s   f o l l o w s :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e   m e t a d a t a :   n a m e :   p v 1   a n n o t a t i o n s :   p v . b e t a . k u b e r n e t e s . i o / g i d :   \" 1 2 3 4 \"   W h e n   a   P o d   c o n s u m e s   a   P e r s i s t e n t V o l u m e   t h a t   h a s   a   G I D   a n n o t a t i o n ,   t h e   a n n o t a t e d   G I D   i s   a p p l i e d   t o   a l l   c o n t a i n e r s   i n   t h e   P o d   i n   t h e   s a m e   w a y   t h a t   G I D s   s p e c i f i e d   i n   t h e   P o d ' s   s e c u r i t y   c o n t e x t   a r e .   E v e r y   G I D ,   w h e t h e r   i t   o r i g i n a t e s   f r o m   a   P e r s i s t e n t V o l u m e   a n n o t a t i o n   o r   t h e   P o d ' s   s p e c i f i c a t i o n ,   i s   a p p l i e d   t o   t h e   f i r s t   p r o c e s s   r u n   i n   e a c h   c o n t a i n e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18183"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   P e r s i s t e n t V o l u m e s . R e a d   t h e   P e r s i s t e n t   S t o r a g e   d e s i g n   d o c u m e n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18184"
  },
  {
    "question": "What is Reference?",
    "answer": "P e r s i s t e n t V o l u m e P e r s i s t e n t V o l u m e S p e c P e r s i s t e n t V o l u m e C l a i m P e r s i s t e n t V o l u m e C l a i m S p e c",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18185"
  },
  {
    "question": "What is 3.13 - Configure a Pod to Use a Projected Volume for Storage?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   a   p r o j e c t e d   V o l u m e   t o   m o u n t   s e v e r a l   e x i s t i n g   v o l u m e   s o u r c e s   i n t o   t h e   s a m e   d i r e c t o r y .   C u r r e n t l y ,   s e c r e t ,   c o n f i g M a p ,   d o w n w a r d A P I ,   a n d   s e r v i c e A c c o u n t T o k e n   v o l u m e s   c a n   b e   p r o j e c t e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18186"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18187"
  },
  {
    "question": "What is Configure a projected volume for a pod?",
    "answer": "I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   u s e r n a m e   a n d   p a s s w o r d   S e c r e t s   f r o m   l o c a l   f i l e s .   Y o u   t h e n   c r e a t e   a   P o d   t h a t   r u n s   o n e   c o n t a i n e r ,   u s i n g   a   p r o j e c t e d   V o l u m e   t o   m o u n t   t h e   S e c r e t s   i n t o   t h e   s a m e   s h a r e d   d i r e c t o r y .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t - p r o j e c t e d - v o l u m e   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - p r o j e c t e d - v o l u m e   i m a g e :   b u s y b o x : 1 . 2 8   a r g s :   -   s l e e p   -   \" 8 6 4 0 0 \"   v o l u m e M o u n t s :   -   n a m e :   a l l - i n - o n e   m o u n t P a t h :   \" / p r o j e c t e d - v o l u m e \"   r e a d O n l y :   t r u e   v o l u m e s :   -   n a m e :   a l l - i n - o n e   p r o j e c t e d :   s o u r c e s :   -   s e c r e t :   n a m e :   u s e r   -   s e c r e t :   n a m e :   p a s s   C r e a t e   t h e   S e c r e t s : #   C r e a t e   f i l e s   c o n t a i n i n g   t h e   u s e r n a m e   a n d   p a s s w o r d :   e c h o   - n   \" a d m i n \"   >   . / u s e r n a m e . t x t   e c h o   - n   \" 1 f 2 d 1 e 2 e 6 7 d f \"   >   . / p a s s w o r d . t x t   #   P a c k a g e   t h e s e   f i l e s   i n t o   s e c r e t s :   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   u s e r   - - f r o m - f i l e = . / u s e r n a m e . t x t   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   p a s s   - - f r o m - f i l e = . / p a s s w o r d . t x t   C r e a t e   t h e   P o d : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s t o r a g e / p r o j e c t e d . y a m l   V e r i f y   t h a t   t h e   P o d ' s   c o n t a i n e r   i s   r u n n i n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18188"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   t h e   P o d   a n d   t h e   S e c r e t s :   k u b e c t l   d e l e t e   p o d   t e s t - p r o j e c t e d - v o l u m e   k u b e c t l   d e l e t e   s e c r e t   u s e r   p a s s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18189"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   p r o j e c t e d   v o l u m e s . R e a d   t h e   a l l - i n - o n e   v o l u m e   d e s i g n   d o c u m e n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18190"
  },
  {
    "question": "What is 3.14 - Configure a Security Context for a Pod or Container?",
    "answer": "A   s e c u r i t y   c o n t e x t   d e f i n e s   p r i v i l e g e   a n d   a c c e s s   c o n t r o l   s e t t i n g s   f o r   a   P o d   o r   C o n t a i n e r .   S e c u r i t y   c o n t e x t   s e t t i n g s   i n c l u d e ,   b u t   a r e   n o t   l i m i t e d   t o :   D i s c r e t i o n a r y   A c c e s s   C o n t r o l :   P e r m i s s i o n   t o   a c c e s s   a n   o b j e c t ,   l i k e   a   f i l e ,   i s   b a s e d   o n   u s e r   I D   ( U I D )   a n d   g r o u p   I D   ( G I D ) . S e c u r i t y   E n h a n c e d   L i n u x   ( S E L i n u x ) :   O b j e c t s   a r e   a s s i g n e d   s e c u r i t y   l a b e l s . R u n n i n g   a s   p r i v i l e g e d   o r   u n p r i v i l e g e d . L i n u x   C a p a b i l i t i e s :   G i v e   a   p r o c e s s   s o m e   p r i v i l e g e s ,   b u t   n o t   a l l   t h e   p r i v i l e g e s   o f   t h e   r o o t   u s e r . A p p A r m o r :   U s e   p r o g r a m   p r o f i l e s   t o   r e s t r i c t   t h e   c a p a b i l i t i e s   o f   i n d i v i d u a l   p r o g r a m s . S e c c o m p :   F i l t e r   a   p r o c e s s ' s   s y s t e m   c a l l s . a l l o w P r i v i l e g e E s c a l a t i o n :   C o n t r o l s   w h e t h e r   a   p r o c e s s   c a n   g a i n   m o r e   p r i v i l e g e s   t h a n   i t s   p a r e n t   p r o c e s s .   T h i s   b o o l   d i r e c t l y   c o n t r o l s   w h e t h e r   t h e   n o _ n e w _ p r i v s   f l a g   g e t s   s e t   o n   t h e   c o n t a i n e r   p r o c e s s .   a l l o w P r i v i l e g e E s c a l a t i o n   i s   a l w a y s   t r u e   w h e n   t h e   c o n t a i n e r : i s   r u n   a s   p r i v i l e g e d ,   o r h a s   C A P _ S Y S _ A D M I N r e a d O n l y R o o t F i l e s y s t e m :   M o u n t s   t h e   c o n t a i n e r ' s   r o o t   f i l e s y s t e m   a s   r e a d - o n l y .   D i s c r e t i o n a r y   A c c e s s   C o n t r o l : ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18191"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18192"
  },
  {
    "question": "What is Set the security context for a Pod?",
    "answer": "T o   s p e c i f y   s e c u r i t y   s e t t i n g s   f o r   a   P o d ,   i n c l u d e   t h e   s e c u r i t y C o n t e x t   f i e l d   i n   t h e   P o d   s p e c i f i c a t i o n .   T h e   s e c u r i t y C o n t e x t   f i e l d   i s   a   P o d S e c u r i t y C o n t e x t   o b j e c t .   T h e   s e c u r i t y   s e t t i n g s   t h a t   y o u   s p e c i f y   f o r   a   P o d   a p p l y   t o   a l l   C o n t a i n e r s   i n   t h e   P o d .   H e r e   i s   a   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   h a s   a   s e c u r i t y C o n t e x t   a n d   a n   e m p t y D i r   v o l u m e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s e c u r i t y - c o n t e x t - d e m o   s p e c :   s e c u r i t y C o n t e x t :   r u n A s U s e r :   1 0 0 0   r u n A s G r o u p :   3 0 0 0   f s G r o u p :   2 0 0 0   s u p p l e m e n t a l G r o u p s :   [ 4 0 0 0 ]   v o l u m e s :   -   n a m e :   s e c - c t x - v o l   e m p t y D i r :   { }   c o n t a i n e r s :   -   n a m e :   s e c - c t x - d e m o   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [   \" s h \" ,   \" - c \" ,   \" s l e e p   1 h \"   ]   v o l u m e M o u n t s :   -   n a m e :   s e c - c t x - v o l   m o u n t P a t h :   / d a t a / d e m o   s e c u r i t y C o n t e x t :   a l l o w P r i v i l e g e E s c a l a t i o n :   f a l s e   I n   t h e   c o n f i g u r a t i o n   f i l e ,   t h e   r u n A s U s e r   f i e l d   s p e c i f i e s   t h a t   f o r   a n y   C o n t a i n e r s   i n   t h e   P o d ,   a l l   p r o c e s s e s   r u n   w i t h   u s e r   I D   1 0 0 0 .   T h e   r u n A s G r o u p   f i e l d   s p e c i f i e s   t h e   p r i m a r y   g r o u p   I D   o f   3 0 0 0   f o r   a l l   p r o c e s s e s   w i t h i n   a n y   c o n t a i n e r s   o f   t h e   P o d .   I f   t h i s   f i e l d   i s   o m i t t e d ,   t h e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18193"
  },
  {
    "question": "What is Implicit group memberships defined in /etc/group in the container image?",
    "answer": "B y   d e f a u l t ,   k u b e r n e t e s   m e r g e s   g r o u p   i n f o r m a t i o n   f r o m   t h e   P o d   w i t h   i n f o r m a t i o n   d e f i n e d   i n   / e t c / g r o u p   i n   t h e   c o n t a i n e r   i m a g e .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s e c u r i t y - c o n t e x t - d e m o   s p e c :   s e c u r i t y C o n t e x t :   r u n A s U s e r :   1 0 0 0   r u n A s G r o u p :   3 0 0 0   s u p p l e m e n t a l G r o u p s :   [ 4 0 0 0 ]   c o n t a i n e r s :   -   n a m e :   s e c - c t x - d e m o   i m a g e :   r e g i s t r y . k 8 s . i o / e 2 e - t e s t - i m a g e s / a g n h o s t : 2 . 4 5   c o m m a n d :   [   \" s h \" ,   \" - c \" ,   \" s l e e p   1 h \"   ]   s e c u r i t y C o n t e x t :   a l l o w P r i v i l e g e E s c a l a t i o n :   f a l s e   T h i s   P o d   s e c u r i t y   c o n t e x t   c o n t a i n s   r u n A s U s e r ,   r u n A s G r o u p   a n d   s u p p l e m e n t a l G r o u p s .   H o w e v e r ,   y o u   c a n   s e e   t h a t   t h e   a c t u a l   s u p p l e m e n t a r y   g r o u p s   a t t a c h e d   t o   t h e   c o n t a i n e r   p r o c e s s   w i l l   i n c l u d e   g r o u p   I D s   w h i c h   c o m e   f r o m   / e t c / g r o u p   i n   t h e   c o n t a i n e r   i m a g e .   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s e c u r i t y / s e c u r i t y - c o n t e x t - 5 . y a m l   V e r i f y   t h a t   t h e   P o d ' s   C o n t a i n e r   i s   r u n n i n g :   k u b e c t l   g e t   p o d   s e c u r i t y - c o n t e x t - d e m o   G e t   a   s h e l l   t o   t h e   r u n n i n g   C o n t a i n e r :   k u b e c t l   e x e c   - i t   s e c u r i t y - c o n t e x t - d e m o   - -   s h   C h e c k   t h e   p r o c e s s   i d e n t i t y :   $   i d   T h e   o u t p u t   i s   s i m i l a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18194"
  },
  {
    "question": "What is Configure fine-grained SupplementalGroups control for a Pod?",
    "answer": "T h i s   f e a t u r e   c a n   b e   e n a b l e d   b y   s e t t i n g   t h e   S u p p l e m e n t a l G r o u p s P o l i c y   f e a t u r e   g a t e   f o r   k u b e l e t   a n d   k u b e - a p i s e r v e r ,   a n d   s e t t i n g   t h e   . s p e c . s e c u r i t y C o n t e x t . s u p p l e m e n t a l G r o u p s P o l i c y   f i e l d   f o r   a   p o d .   T h e   s u p p l e m e n t a l G r o u p s P o l i c y   f i e l d   d e f i n e s   t h e   p o l i c y   f o r   c a l c u l a t i n g   t h e   s u p p l e m e n t a r y   g r o u p s   f o r   t h e   c o n t a i n e r   p r o c e s s e s   i n   a   p o d .   T h e r e   a r e   t w o   v a l i d   v a l u e s   f o r   t h i s   f i e l d :   M e r g e :   T h e   g r o u p   m e m b e r s h i p   d e f i n e d   i n   / e t c / g r o u p   f o r   t h e   c o n t a i n e r ' s   p r i m a r y   u s e r   w i l l   b e   m e r g e d .   T h i s   i s   t h e   d e f a u l t   p o l i c y   i f   n o t   s p e c i f i e d . S t r i c t :   O n l y   g r o u p   I D s   i n   f s G r o u p ,   s u p p l e m e n t a l G r o u p s ,   o r   r u n A s G r o u p   f i e l d s   a r e   a t t a c h e d   a s   t h e   s u p p l e m e n t a r y   g r o u p s   o f   t h e   c o n t a i n e r   p r o c e s s e s .   T h i s   m e a n s   n o   g r o u p   m e m b e r s h i p   f r o m   / e t c / g r o u p   f o r   t h e   c o n t a i n e r ' s   p r i m a r y   u s e r   w i l l   b e   m e r g e d .   M e r g e :   T h e   g r o u p   m e m b e r s h i p   d e f i n e d   i n   / e t c / g r o u p   f o r   t h e   c o n t a i n e r ' s   p r i m a r y   u s e r   w i l l   b e   m e r g e d .   T h i s   i s   t h e   d e f a u l t   p o l i c y   i f   n o t   s p e c i f i e d .   S t r i c t :   O n l y   g r o u p   I D s   i n   f s G r o u p ,   s u p p l e m e n t a l G r o u p s ,   o r   r u n A s G r o u p   f i e l d s   a r e   a t t a c h e d   a s   t h e   s u p p l e m ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18195"
  },
  {
    "question": "What is Implementations?",
    "answer": "T h e   f o l l o w i n g   c o n t a i n e r   r u n t i m e s   a r e   k n o w n   t o   s u p p o r t   f i n e - g r a i n e d   S u p p l e m e n t a l G r o u p s   c o n t r o l .   C R I - l e v e l :   c o n t a i n e r d ,   s i n c e   v 2 . 0 C R I - O ,   s i n c e   v 1 . 3 1   Y o u   c a n   s e e   i f   t h e   f e a t u r e   i s   s u p p o r t e d   i n   t h e   N o d e   s t a t u s .   a p i V e r s i o n :   v 1   k i n d :   N o d e   . . .   s t a t u s :   f e a t u r e s :   s u p p l e m e n t a l G r o u p s P o l i c y :   t r u e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18196"
  },
  {
    "question": "What is Note:?",
    "answer": "A t   t h i s   a l p h a   r e l e a s e ( f r o m   v 1 . 3 1   t o   v 1 . 3 2 ) ,   w h e n   a   p o d   w i t h   S u p p l e m e n t a l G r o u p s P o l i c y = S t r i c t   a r e   s c h e d u l e d   t o   a   n o d e   t h a t   d o e s   N O T   s u p p o r t   t h i s   f e a t u r e ( i . e .   . s t a t u s . f e a t u r e s . s u p p l e m e n t a l G r o u p s P o l i c y = f a l s e ) ,   t h e   p o d ' s   s u p p l e m e n t a l   g r o u p s   p o l i c y   f a l l s   b a c k   t o   t h e   M e r g e   p o l i c y   s i l e n t l y .   H o w e v e r ,   s i n c e   t h e   b e t a   r e l e a s e   ( v 1 . 3 3 ) ,   t o   e n f o r c e   t h e   p o l i c y   m o r e   s t r i c t l y ,   s u c h   p o d   c r e a t i o n   w i l l   b e   r e j e c t e d   b y   k u b e l e t   b e c a u s e   t h e   n o d e   c a n n o t   e n s u r e   t h e   s p e c i f i e d   p o l i c y .   W h e n   y o u r   p o d   i s   r e j e c t e d ,   y o u   w i l l   s e e   w a r n i n g   e v e n t s   w i t h   r e a s o n = S u p p l e m e n t a l G r o u p s P o l i c y N o t S u p p o r t e d   l i k e   b e l o w :   a p i V e r s i o n :   v 1   k i n d :   E v e n t   . . .   t y p e :   W a r n i n g   r e a s o n :   S u p p l e m e n t a l G r o u p s P o l i c y N o t S u p p o r t e d   m e s s a g e :   \" S u p p l e m e n t a l G r o u p s P o l i c y = S t r i c t   i s   n o t   s u p p o r t e d   i n   t h i s   n o d e \"   i n v o l v e d O b j e c t :   a p i V e r s i o n :   v 1   k i n d :   P o d   . . .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18197"
  },
  {
    "question": "What is Configure volume permission and ownership change policy for Pods?",
    "answer": "B y   d e f a u l t ,   K u b e r n e t e s   r e c u r s i v e l y   c h a n g e s   o w n e r s h i p   a n d   p e r m i s s i o n s   f o r   t h e   c o n t e n t s   o f   e a c h   v o l u m e   t o   m a t c h   t h e   f s G r o u p   s p e c i f i e d   i n   a   P o d ' s   s e c u r i t y C o n t e x t   w h e n   t h a t   v o l u m e   i s   m o u n t e d .   F o r   l a r g e   v o l u m e s ,   c h e c k i n g   a n d   c h a n g i n g   o w n e r s h i p   a n d   p e r m i s s i o n s   c a n   t a k e   a   l o t   o f   t i m e ,   s l o w i n g   P o d   s t a r t u p .   Y o u   c a n   u s e   t h e   f s G r o u p C h a n g e P o l i c y   f i e l d   i n s i d e   a   s e c u r i t y C o n t e x t   t o   c o n t r o l   t h e   w a y   t h a t   K u b e r n e t e s   c h e c k s   a n d   m a n a g e s   o w n e r s h i p   a n d   p e r m i s s i o n s   f o r   a   v o l u m e .   f s G r o u p C h a n g e P o l i c y   -   f s G r o u p C h a n g e P o l i c y   d e f i n e s   b e h a v i o r   f o r   c h a n g i n g   o w n e r s h i p   a n d   p e r m i s s i o n   o f   t h e   v o l u m e   b e f o r e   b e i n g   e x p o s e d   i n s i d e   a   P o d .   T h i s   f i e l d   o n l y   a p p l i e s   t o   v o l u m e   t y p e s   t h a t   s u p p o r t   f s G r o u p   c o n t r o l l e d   o w n e r s h i p   a n d   p e r m i s s i o n s .   T h i s   f i e l d   h a s   t w o   p o s s i b l e   v a l u e s :   O n R o o t M i s m a t c h :   O n l y   c h a n g e   p e r m i s s i o n s   a n d   o w n e r s h i p   i f   t h e   p e r m i s s i o n   a n d   t h e   o w n e r s h i p   o f   r o o t   d i r e c t o r y   d o e s   n o t   m a t c h   w i t h   e x p e c t e d   p e r m i s s i o n s   o f   t h e   v o l u m e .   T h i s   c o u l d   h e l p   s h o r t e n   t h e   t i m e   i t   t a k e s   t o   c h a n g e   o w n e r s h i p   a n d   p e r m i s s i o n   o f   a   v o l u m e . A l w a y ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18198"
  },
  {
    "question": "What is Delegating volume permission and ownership change to CSI driver?",
    "answer": "I f   y o u   d e p l o y   a   C o n t a i n e r   S t o r a g e   I n t e r f a c e   ( C S I )   d r i v e r   w h i c h   s u p p o r t s   t h e   V O L U M E _ M O U N T _ G R O U P   N o d e S e r v i c e C a p a b i l i t y ,   t h e   p r o c e s s   o f   s e t t i n g   f i l e   o w n e r s h i p   a n d   p e r m i s s i o n s   b a s e d   o n   t h e   f s G r o u p   s p e c i f i e d   i n   t h e   s e c u r i t y C o n t e x t   w i l l   b e   p e r f o r m e d   b y   t h e   C S I   d r i v e r   i n s t e a d   o f   K u b e r n e t e s .   I n   t h i s   c a s e ,   s i n c e   K u b e r n e t e s   d o e s n ' t   p e r f o r m   a n y   o w n e r s h i p   a n d   p e r m i s s i o n   c h a n g e ,   f s G r o u p C h a n g e P o l i c y   d o e s   n o t   t a k e   e f f e c t ,   a n d   a s   s p e c i f i e d   b y   C S I ,   t h e   d r i v e r   i s   e x p e c t e d   t o   m o u n t   t h e   v o l u m e   w i t h   t h e   p r o v i d e d   f s G r o u p ,   r e s u l t i n g   i n   a   v o l u m e   t h a t   i s   r e a d a b l e / w r i t a b l e   b y   t h e   f s G r o u p .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18199"
  },
  {
    "question": "What is Set the security context for a Container?",
    "answer": "T o   s p e c i f y   s e c u r i t y   s e t t i n g s   f o r   a   C o n t a i n e r ,   i n c l u d e   t h e   s e c u r i t y C o n t e x t   f i e l d   i n   t h e   C o n t a i n e r   m a n i f e s t .   T h e   s e c u r i t y C o n t e x t   f i e l d   i s   a   S e c u r i t y C o n t e x t   o b j e c t .   S e c u r i t y   s e t t i n g s   t h a t   y o u   s p e c i f y   f o r   a   C o n t a i n e r   a p p l y   o n l y   t o   t h e   i n d i v i d u a l   C o n t a i n e r ,   a n d   t h e y   o v e r r i d e   s e t t i n g s   m a d e   a t   t h e   P o d   l e v e l   w h e n   t h e r e   i s   o v e r l a p .   C o n t a i n e r   s e t t i n g s   d o   n o t   a f f e c t   t h e   P o d ' s   V o l u m e s .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   B o t h   t h e   P o d   a n d   t h e   C o n t a i n e r   h a v e   a   s e c u r i t y C o n t e x t   f i e l d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s e c u r i t y - c o n t e x t - d e m o - 2   s p e c :   s e c u r i t y C o n t e x t :   r u n A s U s e r :   1 0 0 0   c o n t a i n e r s :   -   n a m e :   s e c - c t x - d e m o - 2   i m a g e :   g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 2 . 0   s e c u r i t y C o n t e x t :   r u n A s U s e r :   2 0 0 0   a l l o w P r i v i l e g e E s c a l a t i o n :   f a l s e   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s e c u r i t y / s e c u r i t y - c o n t e x t - 2 . y a m l   V e r i f y   t h a t   t h e   P o d ' s   C o n t a i n e r   i s   r u n n i n g :   k u b e c t l   g e t   p o d   s e c u r i t y - c o n t e x t - d e m o - 2   G e t   a   s h e l l   i n t o   t h e   r u n n i n g   C o n t a i n e r :   k u b e c t l   e x e c   - i t   s e c u r i t y - c o n t e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18200"
  },
  {
    "question": "What is Set capabilities for a Container?",
    "answer": "W i t h   L i n u x   c a p a b i l i t i e s ,   y o u   c a n   g r a n t   c e r t a i n   p r i v i l e g e s   t o   a   p r o c e s s   w i t h o u t   g r a n t i n g   a l l   t h e   p r i v i l e g e s   o f   t h e   r o o t   u s e r .   T o   a d d   o r   r e m o v e   L i n u x   c a p a b i l i t i e s   f o r   a   C o n t a i n e r ,   i n c l u d e   t h e   c a p a b i l i t i e s   f i e l d   i n   t h e   s e c u r i t y C o n t e x t   s e c t i o n   o f   t h e   C o n t a i n e r   m a n i f e s t .   F i r s t ,   s e e   w h a t   h a p p e n s   w h e n   y o u   d o n ' t   i n c l u d e   a   c a p a b i l i t i e s   f i e l d .   H e r e   i s   c o n f i g u r a t i o n   f i l e   t h a t   d o e s   n o t   a d d   o r   r e m o v e   a n y   C o n t a i n e r   c a p a b i l i t i e s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s e c u r i t y - c o n t e x t - d e m o - 3   s p e c :   c o n t a i n e r s :   -   n a m e :   s e c - c t x - 3   i m a g e :   g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 2 . 0   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s e c u r i t y / s e c u r i t y - c o n t e x t - 3 . y a m l   V e r i f y   t h a t   t h e   P o d ' s   C o n t a i n e r   i s   r u n n i n g :   k u b e c t l   g e t   p o d   s e c u r i t y - c o n t e x t - d e m o - 3   G e t   a   s h e l l   i n t o   t h e   r u n n i n g   C o n t a i n e r :   k u b e c t l   e x e c   - i t   s e c u r i t y - c o n t e x t - d e m o - 3   - -   s h   I n   y o u r   s h e l l ,   l i s t   t h e   r u n n i n g   p r o c e s s e s :   p s   a u x   T h e   o u t p u t   s h o w s   t h e   p r o c e s s   I D s   ( P I D s )   f o r   t h e   C o n t a i n e r :   U S E R   P I D   % C P U   % M E M   V S Z   R S S   T T Y   S T A T   S T A R T   T I M E   C O M M A N D   r o o t   1   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18201"
  },
  {
    "question": "What is Set the Seccomp Profile for a Container?",
    "answer": "T o   s e t   t h e   S e c c o m p   p r o f i l e   f o r   a   C o n t a i n e r ,   i n c l u d e   t h e   s e c c o m p P r o f i l e   f i e l d   i n   t h e   s e c u r i t y C o n t e x t   s e c t i o n   o f   y o u r   P o d   o r   C o n t a i n e r   m a n i f e s t .   T h e   s e c c o m p P r o f i l e   f i e l d   i s   a   S e c c o m p P r o f i l e   o b j e c t   c o n s i s t i n g   o f   t y p e   a n d   l o c a l h o s t P r o f i l e .   V a l i d   o p t i o n s   f o r   t y p e   i n c l u d e   R u n t i m e D e f a u l t ,   U n c o n f i n e d ,   a n d   L o c a l h o s t .   l o c a l h o s t P r o f i l e   m u s t   o n l y   b e   s e t   i f   t y p e :   L o c a l h o s t .   I t   i n d i c a t e s   t h e   p a t h   o f   t h e   p r e - c o n f i g u r e d   p r o f i l e   o n   t h e   n o d e ,   r e l a t i v e   t o   t h e   k u b e l e t ' s   c o n f i g u r e d   S e c c o m p   p r o f i l e   l o c a t i o n   ( c o n f i g u r e d   w i t h   t h e   - - r o o t - d i r   f l a g ) .   H e r e   i s   a n   e x a m p l e   t h a t   s e t s   t h e   S e c c o m p   p r o f i l e   t o   t h e   n o d e ' s   c o n t a i n e r   r u n t i m e   d e f a u l t   p r o f i l e :   . . .   s e c u r i t y C o n t e x t :   s e c c o m p P r o f i l e :   t y p e :   R u n t i m e D e f a u l t   H e r e   i s   a n   e x a m p l e   t h a t   s e t s   t h e   S e c c o m p   p r o f i l e   t o   a   p r e - c o n f i g u r e d   f i l e   a t   < k u b e l e t - r o o t - d i r > / s e c c o m p / m y - p r o f i l e s / p r o f i l e - a l l o w . j s o n :   . . .   s e c u r i t y C o n t e x t :   s e c c o m p P r o f i l e :   t y p e :   L o c a l h o s t   l o c a l h o s t P r o f i l e :   m y - p r o f i l e s / p r o f i l e - a l l o w . j s o n",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18202"
  },
  {
    "question": "What is Set the AppArmor Profile for a Container?",
    "answer": "T o   s e t   t h e   A p p A r m o r   p r o f i l e   f o r   a   C o n t a i n e r ,   i n c l u d e   t h e   a p p A r m o r P r o f i l e   f i e l d   i n   t h e   s e c u r i t y C o n t e x t   s e c t i o n   o f   y o u r   C o n t a i n e r .   T h e   a p p A r m o r P r o f i l e   f i e l d   i s   a   A p p A r m o r P r o f i l e   o b j e c t   c o n s i s t i n g   o f   t y p e   a n d   l o c a l h o s t P r o f i l e .   V a l i d   o p t i o n s   f o r   t y p e   i n c l u d e   R u n t i m e D e f a u l t ( d e f a u l t ) ,   U n c o n f i n e d ,   a n d   L o c a l h o s t .   l o c a l h o s t P r o f i l e   m u s t   o n l y   b e   s e t   i f   t y p e   i s   L o c a l h o s t .   I t   i n d i c a t e s   t h e   n a m e   o f   t h e   p r e - c o n f i g u r e d   p r o f i l e   o n   t h e   n o d e .   T h e   p r o f i l e   n e e d s   t o   b e   l o a d e d   o n t o   a l l   n o d e s   s u i t a b l e   f o r   t h e   P o d ,   s i n c e   y o u   d o n ' t   k n o w   w h e r e   t h e   p o d   w i l l   b e   s c h e d u l e d .   A p p r o a c h e s   f o r   s e t t i n g   u p   c u s t o m   p r o f i l e s   a r e   d i s c u s s e d   i n   S e t t i n g   u p   n o d e s   w i t h   p r o f i l e s .   N o t e :   I f   c o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . a p p A r m o r P r o f i l e . t y p e   i s   e x p l i c i t l y   s e t   t o   R u n t i m e D e f a u l t ,   t h e n   t h e   P o d   w i l l   n o t   b e   a d m i t t e d   i f   A p p A r m o r   i s   n o t   e n a b l e d   o n   t h e   N o d e .   H o w e v e r   i f   c o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . a p p A r m o r P r o f i l e . t y p e   i s   n o t   s p e c i f i e d ,   t h e n   t h e   d e f a u l t   ( w h i c h   i s   a l s o   R u n t i m e D e f a u l t )   w i l l   o n l y   b e   a p p l i e d   i f   t h e   n o d e   h a s   A p p A r m o r   e n a b l e d .   I f   t h ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18203"
  },
  {
    "question": "What is Assign SELinux labels to a Container?",
    "answer": "T o   a s s i g n   S E L i n u x   l a b e l s   t o   a   C o n t a i n e r ,   i n c l u d e   t h e   s e L i n u x O p t i o n s   f i e l d   i n   t h e   s e c u r i t y C o n t e x t   s e c t i o n   o f   y o u r   P o d   o r   C o n t a i n e r   m a n i f e s t .   T h e   s e L i n u x O p t i o n s   f i e l d   i s   a n   S E L i n u x O p t i o n s   o b j e c t .   H e r e ' s   a n   e x a m p l e   t h a t   a p p l i e s   a n   S E L i n u x   l e v e l :   . . .   s e c u r i t y C o n t e x t :   s e L i n u x O p t i o n s :   l e v e l :   \" s 0 : c 1 2 3 , c 4 5 6 \"",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18204"
  },
  {
    "question": "What is Note:?",
    "answer": "K u b e r n e t e s   v 1 . 2 7   i n t r o d u c e d   a n   e a r l y   l i m i t e d   f o r m   o f   t h i s   b e h a v i o r   t h a t   w a s   o n l y   a p p l i c a b l e   t o   v o l u m e s   ( a n d   P e r s i s t e n t V o l u m e C l a i m s )   u s i n g   t h e   R e a d W r i t e O n c e P o d   a c c e s s   m o d e .   K u b e r n e t e s   v 1 . 3 3   p r o m o t e s   S E L i n u x C h a n g e P o l i c y   a n d   S E L i n u x M o u n t   f e a t u r e   g a t e s   a s   b e t a   t o   w i d e n   t h a t   p e r f o r m a n c e   i m p r o v e m e n t   t o   o t h e r   k i n d s   o f   P e r s i s t e n t V o l u m e C l a i m s ,   a s   e x p l a i n e d   i n   d e t a i l   b e l o w .   W h i l e   i n   b e t a ,   S E L i n u x M o u n t   i s   s t i l l   d i s a b l e d   b y   d e f a u l t .   W i t h   S E L i n u x M o u n t   f e a t u r e   g a t e   d i s a b l e d   ( t h e   d e f a u l t   i n   K u b e r n e t e s   1 . 3 3   a n d   a n y   p r e v i o u s   r e l e a s e ) ,   t h e   c o n t a i n e r   r u n t i m e   r e c u r s i v e l y   a s s i g n s   S E L i n u x   l a b e l   t o   a l l   f i l e s   o n   a l l   P o d   v o l u m e s   b y   d e f a u l t .   T o   s p e e d   u p   t h i s   p r o c e s s ,   K u b e r n e t e s   c a n   c h a n g e   t h e   S E L i n u x   l a b e l   o f   a   v o l u m e   i n s t a n t l y   b y   u s i n g   a   m o u n t   o p t i o n   - o   c o n t e x t = < l a b e l > .   T o   b e n e f i t   f r o m   t h i s   s p e e d u p ,   a l l   t h e s e   c o n d i t i o n s   m u s t   b e   m e t :   T h e   f e a t u r e   g a t e   S E L i n u x M o u n t R e a d W r i t e O n c e P o d   m u s t   b e   e n a b l e d . P o d   m u s t   u s e   P e r s i s t e n t V o l u m e C l a i m   w i t h   a p p l i c a b l e   a c c e s s M o d e s   a n d   f e a t u r e   g a t e s : E i t h e r   t h e   v o l u m e   h a s   a c c e s s M o d e s :   [ \" ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18205"
  },
  {
    "question": "What is SELinuxWarningController?",
    "answer": "T o   m a k e   i t   e a s i e r   t o   i d e n t i f y   P o d s   t h a t   a r e   a f f e c t e d   b y   t h e   c h a n g e   i n   S E L i n u x   v o l u m e   r e l a b e l i n g ,   a   n e w   c o n t r o l l e r   c a l l e d   S E L i n u x W a r n i n g C o n t r o l l e r   h a s   b e e n   i n t r o d u c e d   i n   k u b e - c o n t r o l l e r - m a n a g e r .   I t   i s   d i s a b l e d   b y   d e f a u l t   a n d   c a n   b e   e n a b l e d   b y   e i t h e r   s e t t i n g   t h e   - - c o n t r o l l e r s = * , s e l i n u x - w a r n i n g - c o n t r o l l e r   c o m m a n d   l i n e   f l a g ,   o r   b y   s e t t i n g   g e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n . c o n t r o l l e r s   f i e l d   i n   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n .   T h i s   c o n t r o l l e r   r e q u i r e s   S E L i n u x C h a n g e P o l i c y   f e a t u r e   g a t e   t o   b e   e n a b l e d .   W h e n   e n a b l e d ,   t h e   c o n t r o l l e r   o b s e r v e s   r u n n i n g   P o d s   a n d   w h e n   i t   d e t e c t s   t h a t   t w o   P o d s   u s e   t h e   s a m e   v o l u m e   w i t h   d i f f e r e n t   S E L i n u x   l a b e l s :   I t   e m i t s   a n   e v e n t   t o   b o t h   o f   t h e   P o d s .   k u b e c t l   d e s c r i b e   p o d   < p o d - n a m e >   t h e   s h o w s   S E L i n u x L a b e l   \" < l a b e l   o n   t h e   p o d > \"   c o n f l i c t s   w i t h   p o d   < t h e   o t h e r   p o d   n a m e >   t h a t   u s e s   t h e   s a m e   v o l u m e   a s   t h i s   p o d   w i t h   S E L i n u x L a b e l   \" < t h e   o t h e r   p o d   l a b e l > \" .   I f   b o t h   p o d s   l a n d   o n   t h e   s a m e   n o d e ,   o n l y   o n e   o f   t h e m   m a y   a c c e s s   t h e   v o l u m e . R a i s e   s e l i n u x _ w a r n i n g _ c o n t r o l l e r _ s e l i n u x _ v o l u m e _ ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18206"
  },
  {
    "question": "What is Feature gates?",
    "answer": "T h e   f o l l o w i n g   f e a t u r e   g a t e s   c o n t r o l   t h e   b e h a v i o r   o f   S E L i n u x   v o l u m e   r e l a b e l i n g :   S E L i n u x M o u n t R e a d W r i t e O n c e P o d :   e n a b l e s   t h e   o p t i m i z a t i o n   f o r   v o l u m e s   w i t h   a c c e s s M o d e s :   [ \" R e a d W r i t e O n c e P o d \" ] .   T h i s   i s   a   v e r y   s a f e   f e a t u r e   g a t e   t o   e n a b l e ,   a s   i t   c a n n o t   h a p p e n   t h a t   t w o   p o d s   c a n   s h a r e   o n e   s i n g l e   v o l u m e   w i t h   t h i s   a c c e s s   m o d e .   T h i s   f e a t u r e   g a t e   i s   e n a b l e d   b y   d e f a u l t   s i n e   v 1 . 2 8 . S E L i n u x C h a n g e P o l i c y :   e n a b l e s   s p e c . s e c u r i t y C o n t e x t . s e L i n u x C h a n g e P o l i c y   f i e l d   i n   P o d   a n d   r e l a t e d   S E L i n u x W a r n i n g C o n t r o l l e r   i n   k u b e - c o n t r o l l e r - m a n a g e r .   T h i s   f e a t u r e   c a n   b e   u s e d   b e f o r e   e n a b l i n g   S E L i n u x M o u n t   t o   c h e c k   P o d s   r u n n i n g   o n   a   c l u s t e r ,   a n d   t o   p r o - a c t i v e l y   o p t - o u t   P o d s   f r o m   t h e   o p t i m i z a t i o n .   T h i s   f e a t u r e   g a t e   r e q u i r e s   S E L i n u x M o u n t R e a d W r i t e O n c e P o d   e n a b l e d .   I t   i s   b e t a   a n d   e n a b l e d   b y   d e f a u l t   i n   1 . 3 3 . S E L i n u x M o u n t   e n a b l e s   t h e   o p t i m i z a t i o n   f o r   a l l   e l i g i b l e   v o l u m e s .   S i n c e   i t   c a n   b r e a k   e x i s t i n g   w o r k l o a d s ,   w e   r e c o m m e n d   e n a b l i n g   S E L i n u x C h a n g e P o l i c y   f e a t u r e   g a t e   +   S E L i n u x W a r n i n g C o n t r o l l e r   f i r s t   t o   c h e c k   t h e   i m p a c t   o f   t h e   c h a n g e .   T h i s   f e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18207"
  },
  {
    "question": "What is Managing access to the /proc filesystem?",
    "answer": "F o r   r u n t i m e s   t h a t   f o l l o w   t h e   O C I   r u n t i m e   s p e c i f i c a t i o n ,   c o n t a i n e r s   d e f a u l t   t o   r u n n i n g   i n   a   m o d e   w h e r e   t h e r e   a r e   m u l t i p l e   p a t h s   t h a t   a r e   b o t h   m a s k e d   a n d   r e a d - o n l y .   T h e   r e s u l t   o f   t h i s   i s   t h e   c o n t a i n e r   h a s   t h e s e   p a t h s   p r e s e n t   i n s i d e   t h e   c o n t a i n e r ' s   m o u n t   n a m e s p a c e ,   a n d   t h e y   c a n   f u n c t i o n   s i m i l a r l y   t o   i f   t h e   c o n t a i n e r   w a s   a n   i s o l a t e d   h o s t ,   b u t   t h e   c o n t a i n e r   p r o c e s s   c a n n o t   w r i t e   t o   t h e m .   T h e   l i s t   o f   m a s k e d   a n d   r e a d - o n l y   p a t h s   a r e   a s   f o l l o w s :   M a s k e d   P a t h s : / p r o c / a s o u n d / p r o c / a c p i / p r o c / k c o r e / p r o c / k e y s / p r o c / l a t e n c y _ s t a t s / p r o c / t i m e r _ l i s t / p r o c / t i m e r _ s t a t s / p r o c / s c h e d _ d e b u g / p r o c / s c s i / s y s / f i r m w a r e / s y s / d e v i c e s / v i r t u a l / p o w e r c a p R e a d - O n l y   P a t h s : / p r o c / b u s / p r o c / f s / p r o c / i r q / p r o c / s y s / p r o c / s y s r q - t r i g g e r   M a s k e d   P a t h s :   / p r o c / a s o u n d / p r o c / a c p i / p r o c / k c o r e / p r o c / k e y s / p r o c / l a t e n c y _ s t a t s / p r o c / t i m e r _ l i s t / p r o c / t i m e r _ s t a t s / p r o c / s c h e d _ d e b u g / p r o c / s c s i / s y s / f i r m w a r e / s y s / d e v i c e s / v i r t u a l / p o w e r c a p   R e a d - O n l y   P a t h s :   / p r o c / b u s / p r o c / f s / p r o c / i r q / p r o c / s y s / p r o c / s y s r q - t r i g g e r   F o r   s o m e   P o d s ,   y o u   m i g h t   w a n t   t o   b y p a s s   t h a t   d e f a u l t   m a s k i n g   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18208"
  },
  {
    "question": "What is Discussion?",
    "answer": "T h e   s e c u r i t y   c o n t e x t   f o r   a   P o d   a p p l i e s   t o   t h e   P o d ' s   C o n t a i n e r s   a n d   a l s o   t o   t h e   P o d ' s   V o l u m e s   w h e n   a p p l i c a b l e .   S p e c i f i c a l l y   f s G r o u p   a n d   s e L i n u x O p t i o n s   a r e   a p p l i e d   t o   V o l u m e s   a s   f o l l o w s :   f s G r o u p :   V o l u m e s   t h a t   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a r e   m o d i f i e d   t o   b e   o w n e d   a n d   w r i t a b l e   b y   t h e   G I D   s p e c i f i e d   i n   f s G r o u p .   S e e   t h e   O w n e r s h i p   M a n a g e m e n t   d e s i g n   d o c u m e n t   f o r   m o r e   d e t a i l s . s e L i n u x O p t i o n s :   V o l u m e s   t h a t   s u p p o r t   S E L i n u x   l a b e l i n g   a r e   r e l a b e l e d   t o   b e   a c c e s s i b l e   b y   t h e   l a b e l   s p e c i f i e d   u n d e r   s e L i n u x O p t i o n s .   U s u a l l y   y o u   o n l y   n e e d   t o   s e t   t h e   l e v e l   s e c t i o n .   T h i s   s e t s   t h e   M u l t i - C a t e g o r y   S e c u r i t y   ( M C S )   l a b e l   g i v e n   t o   a l l   C o n t a i n e r s   i n   t h e   P o d   a s   w e l l   a s   t h e   V o l u m e s .   f s G r o u p :   V o l u m e s   t h a t   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a r e   m o d i f i e d   t o   b e   o w n e d   a n d   w r i t a b l e   b y   t h e   G I D   s p e c i f i e d   i n   f s G r o u p .   S e e   t h e   O w n e r s h i p   M a n a g e m e n t   d e s i g n   d o c u m e n t   f o r   m o r e   d e t a i l s .   s e L i n u x O p t i o n s :   V o l u m e s   t h a t   s u p p o r t   S E L i n u x   l a b e l i n g   a r e   r e l a b e l e d   t o   b e   a c c e s s i b l e   b y   t h e   l a b e l   s p e c i f i e d   u n d e r   s e L i n u x O p t i o n s .   U s u a l l y   y o u   o n l y   n e e d   t o   s e t   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18209"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   t h e   P o d :   k u b e c t l   d e l e t e   p o d   s e c u r i t y - c o n t e x t - d e m o   k u b e c t l   d e l e t e   p o d   s e c u r i t y - c o n t e x t - d e m o - 2   k u b e c t l   d e l e t e   p o d   s e c u r i t y - c o n t e x t - d e m o - 3   k u b e c t l   d e l e t e   p o d   s e c u r i t y - c o n t e x t - d e m o - 4",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18210"
  },
  {
    "question": "What is What's next?",
    "answer": "P o d S e c u r i t y C o n t e x t S e c u r i t y C o n t e x t C R I   P l u g i n   C o n f i g   G u i d e S e c u r i t y   C o n t e x t s   d e s i g n   d o c u m e n t O w n e r s h i p   M a n a g e m e n t   d e s i g n   d o c u m e n t P o d S e c u r i t y   A d m i s s i o n A l l o w P r i v i l e g e E s c a l a t i o n   d e s i g n   d o c u m e n t F o r   m o r e   i n f o r m a t i o n   a b o u t   s e c u r i t y   m e c h a n i s m s   i n   L i n u x ,   s e e   O v e r v i e w   o f   L i n u x   K e r n e l   S e c u r i t y   F e a t u r e s   ( N o t e :   S o m e   i n f o r m a t i o n   i s   o u t   o f   d a t e ) R e a d   a b o u t   U s e r   N a m e s p a c e s   f o r   L i n u x   p o d s . M a s k e d   P a t h s   i n   t h e   O C I   R u n t i m e   S p e c i f i c a t i o n",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18211"
  },
  {
    "question": "What is 3.15 - Configure Service Accounts for Pods?",
    "answer": "K u b e r n e t e s   o f f e r s   t w o   d i s t i n c t   w a y s   f o r   c l i e n t s   t h a t   r u n   w i t h i n   y o u r   c l u s t e r ,   o r   t h a t   o t h e r w i s e   h a v e   a   r e l a t i o n s h i p   t o   y o u r   c l u s t e r ' s   c o n t r o l   p l a n e   t o   a u t h e n t i c a t e   t o   t h e   A P I   s e r v e r .   A   s e r v i c e   a c c o u n t   p r o v i d e s   a n   i d e n t i t y   f o r   p r o c e s s e s   t h a t   r u n   i n   a   P o d ,   a n d   m a p s   t o   a   S e r v i c e A c c o u n t   o b j e c t .   W h e n   y o u   a u t h e n t i c a t e   t o   t h e   A P I   s e r v e r ,   y o u   i d e n t i f y   y o u r s e l f   a s   a   p a r t i c u l a r   u s e r .   K u b e r n e t e s   r e c o g n i s e s   t h e   c o n c e p t   o f   a   u s e r ,   h o w e v e r ,   K u b e r n e t e s   i t s e l f   d o e s   n o t   h a v e   a   U s e r   A P I .   T h i s   t a s k   g u i d e   i s   a b o u t   S e r v i c e A c c o u n t s ,   w h i c h   d o   e x i s t   i n   t h e   K u b e r n e t e s   A P I .   T h e   g u i d e   s h o w s   y o u   s o m e   w a y s   t o   c o n f i g u r e   S e r v i c e A c c o u n t s   f o r   P o d s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18212"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18213"
  },
  {
    "question": "What is Use the default service account to access the API server?",
    "answer": "W h e n   P o d s   c o n t a c t   t h e   A P I   s e r v e r ,   P o d s   a u t h e n t i c a t e   a s   a   p a r t i c u l a r   S e r v i c e A c c o u n t   ( f o r   e x a m p l e ,   d e f a u l t ) .   T h e r e   i s   a l w a y s   a t   l e a s t   o n e   S e r v i c e A c c o u n t   i n   e a c h   n a m e s p a c e .   E v e r y   K u b e r n e t e s   n a m e s p a c e   c o n t a i n s   a t   l e a s t   o n e   S e r v i c e A c c o u n t :   t h e   d e f a u l t   S e r v i c e A c c o u n t   f o r   t h a t   n a m e s p a c e ,   n a m e d   d e f a u l t .   I f   y o u   d o   n o t   s p e c i f y   a   S e r v i c e A c c o u n t   w h e n   y o u   c r e a t e   a   P o d ,   K u b e r n e t e s   a u t o m a t i c a l l y   a s s i g n s   t h e   S e r v i c e A c c o u n t   n a m e d   d e f a u l t   i n   t h a t   n a m e s p a c e .   Y o u   c a n   f e t c h   t h e   d e t a i l s   f o r   a   P o d   y o u   h a v e   c r e a t e d .   F o r   e x a m p l e :   k u b e c t l   g e t   p o d s / < p o d n a m e >   - o   y a m l   I n   t h e   o u t p u t ,   y o u   s e e   a   f i e l d   s p e c . s e r v i c e A c c o u n t N a m e .   K u b e r n e t e s   a u t o m a t i c a l l y   s e t s   t h a t   v a l u e   i f   y o u   d o n ' t   s p e c i f y   i t   w h e n   y o u   c r e a t e   a   P o d .   A n   a p p l i c a t i o n   r u n n i n g   i n s i d e   a   P o d   c a n   a c c e s s   t h e   K u b e r n e t e s   A P I   u s i n g   a u t o m a t i c a l l y   m o u n t e d   s e r v i c e   a c c o u n t   c r e d e n t i a l s .   S e e   a c c e s s i n g   t h e   C l u s t e r   t o   l e a r n   m o r e .   W h e n   a   P o d   a u t h e n t i c a t e s   a s   a   S e r v i c e A c c o u n t ,   i t s   l e v e l   o f   a c c e s s   d e p e n d s   o n   t h e   a u t h o r i z a t i o n   p l u g i n   a n d   p o l i c y   i n   u s e .   T h e   A P I   c r e d e n t i a l s   a r e   a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18214"
  },
  {
    "question": "What is Opt out of API credential automounting?",
    "answer": "I f   y o u   d o n ' t   w a n t   t h e   k u b e l e t   t o   a u t o m a t i c a l l y   m o u n t   a   S e r v i c e A c c o u n t ' s   A P I   c r e d e n t i a l s ,   y o u   c a n   o p t   o u t   o f   t h e   d e f a u l t   b e h a v i o r .   Y o u   c a n   o p t   o u t   o f   a u t o m o u n t i n g   A P I   c r e d e n t i a l s   o n   / v a r / r u n / s e c r e t s / k u b e r n e t e s . i o / s e r v i c e a c c o u n t / t o k e n   f o r   a   s e r v i c e   a c c o u n t   b y   s e t t i n g   a u t o m o u n t S e r v i c e A c c o u n t T o k e n :   f a l s e   o n   t h e   S e r v i c e A c c o u n t :   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   n a m e :   b u i l d - r o b o t   a u t o m o u n t S e r v i c e A c c o u n t T o k e n :   f a l s e   . . .   Y o u   c a n   a l s o   o p t   o u t   o f   a u t o m o u n t i n g   A P I   c r e d e n t i a l s   f o r   a   p a r t i c u l a r   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y - p o d   s p e c :   s e r v i c e A c c o u n t N a m e :   b u i l d - r o b o t   a u t o m o u n t S e r v i c e A c c o u n t T o k e n :   f a l s e   . . .   I f   b o t h   t h e   S e r v i c e A c c o u n t   a n d   t h e   P o d ' s   . s p e c   s p e c i f y   a   v a l u e   f o r   a u t o m o u n t S e r v i c e A c c o u n t T o k e n ,   t h e   P o d   s p e c   t a k e s   p r e c e d e n c e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18215"
  },
  {
    "question": "What is Use more than one ServiceAccount?",
    "answer": "E v e r y   n a m e s p a c e   h a s   a t   l e a s t   o n e   S e r v i c e A c c o u n t :   t h e   d e f a u l t   S e r v i c e A c c o u n t   r e s o u r c e ,   c a l l e d   d e f a u l t .   Y o u   c a n   l i s t   a l l   S e r v i c e A c c o u n t   r e s o u r c e s   i n   y o u r   c u r r e n t   n a m e s p a c e   w i t h :   k u b e c t l   g e t   s e r v i c e a c c o u n t s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   S E C R E T S   A G E   d e f a u l t   1   1 d   Y o u   c a n   c r e a t e   a d d i t i o n a l   S e r v i c e A c c o u n t   o b j e c t s   l i k e   t h i s :   k u b e c t l   a p p l y   - f   -   < < E O F   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   n a m e :   b u i l d - r o b o t   E O F   T h e   n a m e   o f   a   S e r v i c e A c c o u n t   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   I f   y o u   g e t   a   c o m p l e t e   d u m p   o f   t h e   s e r v i c e   a c c o u n t   o b j e c t ,   l i k e   t h i s :   k u b e c t l   g e t   s e r v i c e a c c o u n t s / b u i l d - r o b o t   - o   y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   2 0 1 9 - 0 6 - 1 6 T 0 0 : 1 2 : 3 4 Z   n a m e :   b u i l d - r o b o t   n a m e s p a c e :   d e f a u l t   r e s o u r c e V e r s i o n :   \" 2 7 2 5 0 0 \"   u i d :   7 2 1 a b 7 2 3 - 1 3 b c - 1 1 e 5 - a e c 2 - 4 2 0 1 0 a f 0 0 2 1 e   Y o u   c a n   u s e   a u t h o r i z a t i o n   p l u g i n s   t o   s e t   p e r m i s s i o n s   o n   s e r v i c e   a c c o u n t s .   T o   u s e   a   n o n - d e f a u l t   s e r v i c e   a c c o u n t ,   s e t   t h e   s p e c . s e r v i c e A c c o u n t N a m e   f i e l d   o f   a   P o d   t o   t h e   n a m e   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18216"
  },
  {
    "question": "What is Cleanup?",
    "answer": "I f   y o u   t r i e d   c r e a t i n g   b u i l d - r o b o t   S e r v i c e A c c o u n t   f r o m   t h e   e x a m p l e   a b o v e ,   y o u   c a n   c l e a n   i t   u p   b y   r u n n i n g :   k u b e c t l   d e l e t e   s e r v i c e a c c o u n t / b u i l d - r o b o t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18217"
  },
  {
    "question": "What is Manually create an API token for a ServiceAccount?",
    "answer": "S u p p o s e   y o u   h a v e   a n   e x i s t i n g   s e r v i c e   a c c o u n t   n a m e d   \" b u i l d - r o b o t \"   a s   m e n t i o n e d   e a r l i e r .   Y o u   c a n   g e t   a   t i m e - l i m i t e d   A P I   t o k e n   f o r   t h a t   S e r v i c e A c c o u n t   u s i n g   k u b e c t l :   k u b e c t l   c r e a t e   t o k e n   b u i l d - r o b o t   T h e   o u t p u t   f r o m   t h a t   c o m m a n d   i s   a   t o k e n   t h a t   y o u   c a n   u s e   t o   a u t h e n t i c a t e   a s   t h a t   S e r v i c e A c c o u n t .   Y o u   c a n   r e q u e s t   a   s p e c i f i c   t o k e n   d u r a t i o n   u s i n g   t h e   - - d u r a t i o n   c o m m a n d   l i n e   a r g u m e n t   t o   k u b e c t l   c r e a t e   t o k e n   ( t h e   a c t u a l   d u r a t i o n   o f   t h e   i s s u e d   t o k e n   m i g h t   b e   s h o r t e r ,   o r   c o u l d   e v e n   b e   l o n g e r ) .   U s i n g   k u b e c t l   v 1 . 3 1   o r   l a t e r ,   i t   i s   p o s s i b l e   t o   c r e a t e   a   s e r v i c e   a c c o u n t   t o k e n   t h a t   i s   d i r e c t l y   b o u n d   t o   a   N o d e :   k u b e c t l   c r e a t e   t o k e n   b u i l d - r o b o t   - - b o u n d - o b j e c t - k i n d   N o d e   - - b o u n d - o b j e c t - n a m e   n o d e - 0 0 1   - - b o u n d - o b j e c t - u i d   1 2 3 . . . 4 5 6   T h e   t o k e n   w i l l   b e   v a l i d   u n t i l   i t   e x p i r e s   o r   e i t h e r   t h e   a s s o c i a t e d   N o d e   o r   s e r v i c e   a c c o u n t   a r e   d e l e t e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18218"
  },
  {
    "question": "What is Note:?",
    "answer": "V e r s i o n s   o f   K u b e r n e t e s   b e f o r e   v 1 . 2 2   a u t o m a t i c a l l y   c r e a t e d   l o n g   t e r m   c r e d e n t i a l s   f o r   a c c e s s i n g   t h e   K u b e r n e t e s   A P I .   T h i s   o l d e r   m e c h a n i s m   w a s   b a s e d   o n   c r e a t i n g   t o k e n   S e c r e t s   t h a t   c o u l d   t h e n   b e   m o u n t e d   i n t o   r u n n i n g   P o d s .   I n   m o r e   r e c e n t   v e r s i o n s ,   i n c l u d i n g   K u b e r n e t e s   v 1 . 3 4 ,   A P I   c r e d e n t i a l s   a r e   o b t a i n e d   d i r e c t l y   b y   u s i n g   t h e   T o k e n R e q u e s t   A P I ,   a n d   a r e   m o u n t e d   i n t o   P o d s   u s i n g   a   p r o j e c t e d   v o l u m e .   T h e   t o k e n s   o b t a i n e d   u s i n g   t h i s   m e t h o d   h a v e   b o u n d e d   l i f e t i m e s ,   a n d   a r e   a u t o m a t i c a l l y   i n v a l i d a t e d   w h e n   t h e   P o d   t h e y   a r e   m o u n t e d   i n t o   i s   d e l e t e d .   Y o u   c a n   s t i l l   m a n u a l l y   c r e a t e   a   s e r v i c e   a c c o u n t   t o k e n   S e c r e t ;   f o r   e x a m p l e ,   i f   y o u   n e e d   a   t o k e n   t h a t   n e v e r   e x p i r e s .   H o w e v e r ,   u s i n g   t h e   T o k e n R e q u e s t   s u b r e s o u r c e   t o   o b t a i n   a   t o k e n   t o   a c c e s s   t h e   A P I   i s   r e c o m m e n d e d   i n s t e a d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18219"
  },
  {
    "question": "What is Manually create a long-lived API token for a ServiceAccount?",
    "answer": "I f   y o u   w a n t   t o   o b t a i n   a n   A P I   t o k e n   f o r   a   S e r v i c e A c c o u n t ,   y o u   c r e a t e   a   n e w   S e c r e t   w i t h   a   s p e c i a l   a n n o t a t i o n ,   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . n a m e .   k u b e c t l   a p p l y   - f   -   < < E O F   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   b u i l d - r o b o t - s e c r e t   a n n o t a t i o n s :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . n a m e :   b u i l d - r o b o t   t y p e :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n   E O F   I f   y o u   v i e w   t h e   S e c r e t   u s i n g :   k u b e c t l   g e t   s e c r e t / b u i l d - r o b o t - s e c r e t   - o   y a m l   y o u   c a n   s e e   t h a t   t h e   S e c r e t   n o w   c o n t a i n s   a n   A P I   t o k e n   f o r   t h e   \" b u i l d - r o b o t \"   S e r v i c e A c c o u n t .   B e c a u s e   o f   t h e   a n n o t a t i o n   y o u   s e t ,   t h e   c o n t r o l   p l a n e   a u t o m a t i c a l l y   g e n e r a t e s   a   t o k e n   f o r   t h a t   S e r v i c e A c c o u n t s ,   a n d   s t o r e s   t h e m   i n t o   t h e   a s s o c i a t e d   S e c r e t .   T h e   c o n t r o l   p l a n e   a l s o   c l e a n s   u p   t o k e n s   f o r   d e l e t e d   S e r v i c e A c c o u n t s .   k u b e c t l   d e s c r i b e   s e c r e t s / b u i l d - r o b o t - s e c r e t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N a m e :   b u i l d - r o b o t - s e c r e t   N a m e s p a c e :   d e f a u l t   L a b e l s :   < n o n e >   A n n o t a t i o n s :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . n a m e :   b u i l d - r o b o t   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . u i d :   d a 6 8 f 9 c 6 - 9 d 2 6 - 1 1 e 7 - b 8 4 e - 0 0 2 d c 5 2 8 0 0 d a   T y ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18220"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   c o n t e n t   o f   t o k e n   i s   o m i t t e d   h e r e .   T a k e   c a r e   n o t   t o   d i s p l a y   t h e   c o n t e n t s   o f   a   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n   S e c r e t   s o m e w h e r e   t h a t   y o u r   t e r m i n a l   /   c o m p u t e r   s c r e e n   c o u l d   b e   s e e n   b y   a n   o n l o o k e r .   W h e n   y o u   d e l e t e   a   S e r v i c e A c c o u n t   t h a t   h a s   a n   a s s o c i a t e d   S e c r e t ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   a u t o m a t i c a l l y   c l e a n s   u p   t h e   l o n g - l i v e d   t o k e n   f r o m   t h a t   S e c r e t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18221"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   v i e w   t h e   S e r v i c e A c c o u n t   u s i n g :   k u b e c t l   g e t   s e r v i c e a c c o u n t   b u i l d - r o b o t   - o   y a m l   Y o u   c a n ' t   s e e   t h e   b u i l d - r o b o t - s e c r e t   S e c r e t   i n   t h e   S e r v i c e A c c o u n t   A P I   o b j e c t s   . s e c r e t s   f i e l d   b e c a u s e   t h a t   f i e l d   i s   o n l y   p o p u l a t e d   w i t h   a u t o - g e n e r a t e d   S e c r e t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18222"
  },
  {
    "question": "What is Add ImagePullSecrets to a service account?",
    "answer": "F i r s t ,   c r e a t e   a n   i m a g e P u l l S e c r e t .   N e x t ,   v e r i f y   i t   h a s   b e e n   c r e a t e d .   F o r   e x a m p l e :   C r e a t e   a n   i m a g e P u l l S e c r e t ,   a s   d e s c r i b e d   i n   S p e c i f y i n g   I m a g e P u l l S e c r e t s   o n   a   P o d . k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   m y r e g i s t r y k e y   - - d o c k e r - s e r v e r = < r e g i s t r y   n a m e >   \\   - - d o c k e r - u s e r n a m e = D U M M Y _ U S E R N A M E   - - d o c k e r - p a s s w o r d = D U M M Y _ D O C K E R _ P A S S W O R D   \\   - - d o c k e r - e m a i l = D U M M Y _ D O C K E R _ E M A I L   V e r i f y   i t   h a s   b e e n   c r e a t e d . k u b e c t l   g e t   s e c r e t s   m y r e g i s t r y k e y   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   T Y P E   D A T A   A G E   m y r e g i s t r y k e y   k u b e r n e t e s . i o / . d o c k e r c o n f i g j s o n   1   1 d   C r e a t e   a n   i m a g e P u l l S e c r e t ,   a s   d e s c r i b e d   i n   S p e c i f y i n g   I m a g e P u l l S e c r e t s   o n   a   P o d .   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   m y r e g i s t r y k e y   - - d o c k e r - s e r v e r = < r e g i s t r y   n a m e >   \\   - - d o c k e r - u s e r n a m e = D U M M Y _ U S E R N A M E   - - d o c k e r - p a s s w o r d = D U M M Y _ D O C K E R _ P A S S W O R D   \\   - - d o c k e r - e m a i l = D U M M Y _ D O C K E R _ E M A I L   V e r i f y   i t   h a s   b e e n   c r e a t e d .   k u b e c t l   g e t   s e c r e t s   m y r e g i s t r y k e y   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   T Y P E   D A T A   A G E   m y r e g i s t r y k e y   k u b e r n e t e s . i o / . d o c k e r c o n f i g j s o n   1   1 d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18223"
  },
  {
    "question": "What is Add image pull secret to service account?",
    "answer": "N e x t ,   m o d i f y   t h e   d e f a u l t   s e r v i c e   a c c o u n t   f o r   t h e   n a m e s p a c e   t o   u s e   t h i s   S e c r e t   a s   a n   i m a g e P u l l S e c r e t .   k u b e c t l   p a t c h   s e r v i c e a c c o u n t   d e f a u l t   - p   ' { \" i m a g e P u l l S e c r e t s \" :   [ { \" n a m e \" :   \" m y r e g i s t r y k e y \" } ] } '   Y o u   c a n   a c h i e v e   t h e   s a m e   o u t c o m e   b y   e d i t i n g   t h e   o b j e c t   m a n u a l l y :   k u b e c t l   e d i t   s e r v i c e a c c o u n t / d e f a u l t   T h e   o u t p u t   o f   t h e   s a . y a m l   f i l e   i s   s i m i l a r   t o   t h i s :   Y o u r   s e l e c t e d   t e x t   e d i t o r   w i l l   o p e n   w i t h   a   c o n f i g u r a t i o n   l o o k i n g   s o m e t h i n g   l i k e   t h i s :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   2 0 2 1 - 0 7 - 0 7 T 2 2 : 0 2 : 3 9 Z   n a m e :   d e f a u l t   n a m e s p a c e :   d e f a u l t   r e s o u r c e V e r s i o n :   \" 2 4 3 0 2 4 \"   u i d :   0 5 2 f b 0 f 4 - 3 d 5 0 - 1 1 e 5 - b 0 6 6 - 4 2 0 1 0 a f 0 d 7 b 6   U s i n g   y o u r   e d i t o r ,   d e l e t e   t h e   l i n e   w i t h   k e y   r e s o u r c e V e r s i o n ,   a d d   l i n e s   f o r   i m a g e P u l l S e c r e t s :   a n d   s a v e   i t .   L e a v e   t h e   u i d   v a l u e   s e t   t h e   s a m e   a s   y o u   f o u n d   i t .   A f t e r   y o u   m a d e   t h o s e   c h a n g e s ,   t h e   e d i t e d   S e r v i c e A c c o u n t   l o o k s   s o m e t h i n g   l i k e   t h i s :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   2 0 2 1 - 0 7 - 0 7 T 2 2 : 0 2 : 3 9 Z   n a m e :   d e f a u l t   n a m e s p a c e :   d e f a u l t   u i d :   0 5 2 f b 0 f 4 - 3 d 5 0 - 1 1 e 5 - ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18224"
  },
  {
    "question": "What is Verify that imagePullSecrets are set for new Pods?",
    "answer": "N o w ,   w h e n   a   n e w   P o d   i s   c r e a t e d   i n   t h e   c u r r e n t   n a m e s p a c e   a n d   u s i n g   t h e   d e f a u l t   S e r v i c e A c c o u n t ,   t h e   n e w   P o d   h a s   i t s   s p e c . i m a g e P u l l S e c r e t s   f i e l d   s e t   a u t o m a t i c a l l y :   k u b e c t l   r u n   n g i n x   - - i m a g e = < r e g i s t r y   n a m e > / n g i n x   - - r e s t a r t = N e v e r   k u b e c t l   g e t   p o d   n g i n x   - o = j s o n p a t h = ' { . s p e c . i m a g e P u l l S e c r e t s [ 0 ] . n a m e } { \" \\ n \" } '   T h e   o u t p u t   i s :   m y r e g i s t r y k e y",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18225"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   e n a b l e   a n d   u s e   t o k e n   r e q u e s t   p r o j e c t i o n ,   y o u   m u s t   s p e c i f y   e a c h   o f   t h e   f o l l o w i n g   c o m m a n d   l i n e   a r g u m e n t s   t o   k u b e - a p i s e r v e r :   T h e   k u b e l e t   c a n   a l s o   p r o j e c t   a   S e r v i c e A c c o u n t   t o k e n   i n t o   a   P o d .   Y o u   c a n   s p e c i f y   d e s i r e d   p r o p e r t i e s   o f   t h e   t o k e n ,   s u c h   a s   t h e   a u d i e n c e   a n d   t h e   v a l i d i t y   d u r a t i o n .   T h e s e   p r o p e r t i e s   a r e   n o t   c o n f i g u r a b l e   o n   t h e   d e f a u l t   S e r v i c e A c c o u n t   t o k e n .   T h e   t o k e n   w i l l   a l s o   b e c o m e   i n v a l i d   a g a i n s t   t h e   A P I   w h e n   e i t h e r   t h e   P o d   o r   t h e   S e r v i c e A c c o u n t   i s   d e l e t e d .   Y o u   c a n   c o n f i g u r e   t h i s   b e h a v i o r   f o r   t h e   s p e c   o f   a   P o d   u s i n g   a   p r o j e c t e d   v o l u m e   t y p e   c a l l e d   S e r v i c e A c c o u n t T o k e n .   T h e   t o k e n   f r o m   t h i s   p r o j e c t e d   v o l u m e   i s   a   J S O N   W e b   T o k e n   ( J W T ) .   T h e   J S O N   p a y l o a d   o f   t h i s   t o k e n   f o l l o w s   a   w e l l   d e f i n e d   s c h e m a   -   a n   e x a m p l e   p a y l o a d   f o r   a   p o d   b o u n d   t o k e n :   {   \" a u d \" :   [   #   m a t c h e s   t h e   r e q u e s t e d   a u d i e n c e s ,   o r   t h e   A P I   s e r v e r ' s   d e f a u l t   a u d i e n c e s   w h e n   n o n e   a r e   e x p l i c i t l y   r e q u e s t e d   \" h t t p s : / / k u b e r n e t e s . d e f a u l t . s v c \"   ] ,   \" e x p \" :   1 7 3 1 6 1 3 4 1 3 ,   \" i a t \" :   1 7 0 0 0 7 7 4 1 3 ,   \" i s s \" :   \" h t t p s : / / k u b e r n e t e s . d e f a u l t . s v c \" ,   #   m a t c h e s   t h e   f i r s t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18226"
  },
  {
    "question": "What is Launch a Pod using service account token projection?",
    "answer": "T o   p r o v i d e   a   P o d   w i t h   a   t o k e n   w i t h   a n   a u d i e n c e   o f   v a u l t   a n d   a   v a l i d i t y   d u r a t i o n   o f   t w o   h o u r s ,   y o u   c o u l d   d e f i n e   a   P o d   m a n i f e s t   t h a t   i s   s i m i l a r   t o :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   s p e c :   c o n t a i n e r s :   -   i m a g e :   n g i n x   n a m e :   n g i n x   v o l u m e M o u n t s :   -   m o u n t P a t h :   / v a r / r u n / s e c r e t s / t o k e n s   n a m e :   v a u l t - t o k e n   s e r v i c e A c c o u n t N a m e :   b u i l d - r o b o t   v o l u m e s :   -   n a m e :   v a u l t - t o k e n   p r o j e c t e d :   s o u r c e s :   -   s e r v i c e A c c o u n t T o k e n :   p a t h :   v a u l t - t o k e n   e x p i r a t i o n S e c o n d s :   7 2 0 0   a u d i e n c e :   v a u l t   C r e a t e   t h e   P o d :   k u b e c t l   c r e a t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p o d - p r o j e c t e d - s v c - t o k e n . y a m l   T h e   k u b e l e t   w i l l :   r e q u e s t   a n d   s t o r e   t h e   t o k e n   o n   b e h a l f   o f   t h e   P o d ;   m a k e   t h e   t o k e n   a v a i l a b l e   t o   t h e   P o d   a t   a   c o n f i g u r a b l e   f i l e   p a t h ;   a n d   r e f r e s h   t h e   t o k e n   a s   i t   a p p r o a c h e s   e x p i r a t i o n .   T h e   k u b e l e t   p r o a c t i v e l y   r e q u e s t s   r o t a t i o n   f o r   t h e   t o k e n   i f   i t   i s   o l d e r   t h a n   8 0 %   o f   i t s   t o t a l   t i m e - t o - l i v e   ( T T L ) ,   o r   i f   t h e   t o k e n   i s   o l d e r   t h a n   2 4   h o u r s .   T h e   a p p l i c a t i o n   i s   r e s p o n s i b l e   f o r   r e l o a d i n g   t h e   t o k e n   w h e n   i t   r o t a t e s .   I t ' s   o f t e n   g o o d   e n o u g h   f o r   t h e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18227"
  },
  {
    "question": "What is Service account issuer discovery?",
    "answer": "I f   y o u   h a v e   e n a b l e d   t o k e n   p r o j e c t i o n   f o r   S e r v i c e A c c o u n t s   i n   y o u r   c l u s t e r ,   t h e n   y o u   c a n   a l s o   m a k e   u s e   o f   t h e   d i s c o v e r y   f e a t u r e .   K u b e r n e t e s   p r o v i d e s   a   w a y   f o r   c l i e n t s   t o   f e d e r a t e   a s   a n   i d e n t i t y   p r o v i d e r ,   s o   t h a t   o n e   o r   m o r e   e x t e r n a l   s y s t e m s   c a n   a c t   a s   a   r e l y i n g   p a r t y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18228"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   i s s u e r   U R L   m u s t   c o m p l y   w i t h   t h e   O I D C   D i s c o v e r y   S p e c .   I n   p r a c t i c e ,   t h i s   m e a n s   i t   m u s t   u s e   t h e   h t t p s   s c h e m e ,   a n d   s h o u l d   s e r v e   a n   O p e n I D   p r o v i d e r   c o n f i g u r a t i o n   a t   { s e r v i c e - a c c o u n t - i s s u e r } / . w e l l - k n o w n / o p e n i d - c o n f i g u r a t i o n .   I f   t h e   U R L   d o e s   n o t   c o m p l y ,   S e r v i c e A c c o u n t   i s s u e r   d i s c o v e r y   e n d p o i n t s   a r e   n o t   r e g i s t e r e d   o r   a c c e s s i b l e .   W h e n   e n a b l e d ,   t h e   K u b e r n e t e s   A P I   s e r v e r   p u b l i s h e s   a n   O p e n I D   P r o v i d e r   C o n f i g u r a t i o n   d o c u m e n t   v i a   H T T P .   T h e   c o n f i g u r a t i o n   d o c u m e n t   i s   p u b l i s h e d   a t   / . w e l l - k n o w n / o p e n i d - c o n f i g u r a t i o n .   T h e   O p e n I D   P r o v i d e r   C o n f i g u r a t i o n   i s   s o m e t i m e s   r e f e r r e d   t o   a s   t h e   d i s c o v e r y   d o c u m e n t .   T h e   K u b e r n e t e s   A P I   s e r v e r   p u b l i s h e s   t h e   r e l a t e d   J S O N   W e b   K e y   S e t   ( J W K S ) ,   a l s o   v i a   H T T P ,   a t   / o p e n i d / v 1 / j w k s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18229"
  },
  {
    "question": "What is Note:?",
    "answer": "C l u s t e r s   t h a t   u s e   R B A C   i n c l u d e   a   d e f a u l t   C l u s t e r R o l e   c a l l e d   s y s t e m : s e r v i c e - a c c o u n t - i s s u e r - d i s c o v e r y .   A   d e f a u l t   C l u s t e r R o l e B i n d i n g   a s s i g n s   t h i s   r o l e   t o   t h e   s y s t e m : s e r v i c e a c c o u n t s   g r o u p ,   w h i c h   a l l   S e r v i c e A c c o u n t s   i m p l i c i t l y   b e l o n g   t o .   T h i s   a l l o w s   p o d s   r u n n i n g   o n   t h e   c l u s t e r   t o   a c c e s s   t h e   s e r v i c e   a c c o u n t   d i s c o v e r y   d o c u m e n t   v i a   t h e i r   m o u n t e d   s e r v i c e   a c c o u n t   t o k e n .   A d m i n i s t r a t o r s   m a y ,   a d d i t i o n a l l y ,   c h o o s e   t o   b i n d   t h e   r o l e   t o   s y s t e m : a u t h e n t i c a t e d   o r   s y s t e m : u n a u t h e n t i c a t e d   d e p e n d i n g   o n   t h e i r   s e c u r i t y   r e q u i r e m e n t s   a n d   w h i c h   e x t e r n a l   s y s t e m s   t h e y   i n t e n d   t o   f e d e r a t e   w i t h .   T h e   J W K S   r e s p o n s e   c o n t a i n s   p u b l i c   k e y s   t h a t   a   r e l y i n g   p a r t y   c a n   u s e   t o   v a l i d a t e   t h e   K u b e r n e t e s   s e r v i c e   a c c o u n t   t o k e n s .   R e l y i n g   p a r t i e s   f i r s t   q u e r y   f o r   t h e   O p e n I D   P r o v i d e r   C o n f i g u r a t i o n ,   a n d   u s e   t h e   j w k s _ u r i   f i e l d   i n   t h e   r e s p o n s e   t o   f i n d   t h e   J W K S .   I n   m a n y   c a s e s ,   K u b e r n e t e s   A P I   s e r v e r s   a r e   n o t   a v a i l a b l e   o n   t h e   p u b l i c   i n t e r n e t ,   b u t   p u b l i c   e n d p o i n t s   t h a t   s e r v e   c a c h e d   r e s p o n s e s   f r o m   t h e   A P I   s e r v e r   c a n   b e   m a d e   a v a i l a b l e   b y   u s e r s   o r   b ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18230"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   a l s o :   R e a d   t h e   C l u s t e r   A d m i n   G u i d e   t o   S e r v i c e   A c c o u n t s R e a d   a b o u t   A u t h o r i z a t i o n   i n   K u b e r n e t e s R e a d   a b o u t   S e c r e t s o r   l e a r n   t o   d i s t r i b u t e   c r e d e n t i a l s   s e c u r e l y   u s i n g   S e c r e t s b u t   a l s o   b e a r   i n   m i n d   t h a t   u s i n g   S e c r e t s   f o r   a u t h e n t i c a t i n g   a s   a   S e r v i c e A c c o u n t   i s   d e p r e c a t e d .   T h e   r e c o m m e n d e d   a l t e r n a t i v e   i s   S e r v i c e A c c o u n t   t o k e n   v o l u m e   p r o j e c t i o n . R e a d   a b o u t   p r o j e c t e d   v o l u m e s . F o r   b a c k g r o u n d   o n   O I D C   d i s c o v e r y ,   r e a d   t h e   S e r v i c e A c c o u n t   s i g n i n g   k e y   r e t r i e v a l   K u b e r n e t e s   E n h a n c e m e n t   P r o p o s a l R e a d   t h e   O I D C   D i s c o v e r y   S p e c   o r   l e a r n   t o   d i s t r i b u t e   c r e d e n t i a l s   s e c u r e l y   u s i n g   S e c r e t s b u t   a l s o   b e a r   i n   m i n d   t h a t   u s i n g   S e c r e t s   f o r   a u t h e n t i c a t i n g   a s   a   S e r v i c e A c c o u n t   i s   d e p r e c a t e d .   T h e   r e c o m m e n d e d   a l t e r n a t i v e   i s   S e r v i c e A c c o u n t   t o k e n   v o l u m e   p r o j e c t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18231"
  },
  {
    "question": "What is 3.16 - Pull an Image from a Private Registry?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c r e a t e   a   P o d   t h a t   u s e s   a   S e c r e t   t o   p u l l   a n   i m a g e   f r o m   a   p r i v a t e   c o n t a i n e r   i m a g e   r e g i s t r y   o r   r e p o s i t o r y .   T h e r e   a r e   m a n y   p r i v a t e   r e g i s t r i e s   i n   u s e .   T h i s   t a s k   u s e s   D o c k e r   H u b   a s   a n   e x a m p l e   r e g i s t r y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18232"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   d o   t h i s   e x e r c i s e ,   y o u   n e e d   t h e   d o c k e r   c o m m a n d   l i n e   t o o l ,   a n d   a   D o c k e r   I D   f o r   w h i c h   y o u   k n o w   t h e   p a s s w o r d . I f   y o u   a r e   u s i n g   a   d i f f e r e n t   p r i v a t e   c o n t a i n e r   r e g i s t r y ,   y o u   n e e d   t h e   c o m m a n d   l i n e   t o o l   f o r   t h a t   r e g i s t r y   a n d   a n y   l o g i n   i n f o r m a t i o n   f o r   t h e   r e g i s t r y .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18233"
  },
  {
    "question": "What is Log in to Docker Hub?",
    "answer": "O n   y o u r   l a p t o p ,   y o u   m u s t   a u t h e n t i c a t e   w i t h   a   r e g i s t r y   i n   o r d e r   t o   p u l l   a   p r i v a t e   i m a g e .   U s e   t h e   d o c k e r   t o o l   t o   l o g   i n   t o   D o c k e r   H u b .   S e e   t h e   l o g   i n   s e c t i o n   o f   D o c k e r   I D   a c c o u n t s   f o r   m o r e   i n f o r m a t i o n .   d o c k e r   l o g i n   W h e n   p r o m p t e d ,   e n t e r   y o u r   D o c k e r   I D ,   a n d   t h e n   t h e   c r e d e n t i a l   y o u   w a n t   t o   u s e   ( a c c e s s   t o k e n ,   o r   t h e   p a s s w o r d   f o r   y o u r   D o c k e r   I D ) .   T h e   l o g i n   p r o c e s s   c r e a t e s   o r   u p d a t e s   a   c o n f i g . j s o n   f i l e   t h a t   h o l d s   a n   a u t h o r i z a t i o n   t o k e n .   R e v i e w   h o w   K u b e r n e t e s   i n t e r p r e t s   t h i s   f i l e .   V i e w   t h e   c o n f i g . j s o n   f i l e :   c a t   ~ / . d o c k e r / c o n f i g . j s o n   T h e   o u t p u t   c o n t a i n s   a   s e c t i o n   s i m i l a r   t o   t h i s :   {   \" a u t h s \" :   {   \" h t t p s : / / i n d e x . d o c k e r . i o / v 1 / \" :   {   \" a u t h \" :   \" c 3 R . . . z E 2 \"   }   }   }",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18234"
  },
  {
    "question": "What is Create a Secret based on existing credentials?",
    "answer": "A   K u b e r n e t e s   c l u s t e r   u s e s   t h e   S e c r e t   o f   k u b e r n e t e s . i o / d o c k e r c o n f i g j s o n   t y p e   t o   a u t h e n t i c a t e   w i t h   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   a   p r i v a t e   i m a g e .   I f   y o u   a l r e a d y   r a n   d o c k e r   l o g i n ,   y o u   c a n   c o p y   t h a t   c r e d e n t i a l   i n t o   K u b e r n e t e s :   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   r e g c r e d   \\   - - f r o m - f i l e = . d o c k e r c o n f i g j s o n = < p a t h / t o / . d o c k e r / c o n f i g . j s o n >   \\   - - t y p e = k u b e r n e t e s . i o / d o c k e r c o n f i g j s o n   I f   y o u   n e e d   m o r e   c o n t r o l   ( f o r   e x a m p l e ,   t o   s e t   a   n a m e s p a c e   o r   a   l a b e l   o n   t h e   n e w   s e c r e t )   t h e n   y o u   c a n   c u s t o m i s e   t h e   S e c r e t   b e f o r e   s t o r i n g   i t .   B e   s u r e   t o :   s e t   t h e   n a m e   o f   t h e   d a t a   i t e m   t o   . d o c k e r c o n f i g j s o n b a s e 6 4   e n c o d e   t h e   D o c k e r   c o n f i g u r a t i o n   f i l e   a n d   t h e n   p a s t e   t h a t   s t r i n g ,   u n b r o k e n   a s   t h e   v a l u e   f o r   f i e l d   d a t a [ \" . d o c k e r c o n f i g j s o n \" ] s e t   t y p e   t o   k u b e r n e t e s . i o / d o c k e r c o n f i g j s o n   E x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   m y r e g i s t r y k e y   n a m e s p a c e :   a w e s o m e a p p s   d a t a :   . d o c k e r c o n f i g j s o n :   U m V h b G x 5 I H J l Y W x s e S B y Z W V l Z W V l Z W V l Z W F h Y W F h Y W F h Y W F h Y W F h Y W F h Y W F h Y W F h Y W F h Y W x s b G x s b G x s b G x s b G x s b G x s b G x s b G x s b G x s b G x s b G x 5 e X l 5 e X l 5 e X l 5 e X l 5 e X l 5 e X l 5 e S B s b G x s b G x s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18235"
  },
  {
    "question": "What is Create a Secret by providing credentials on the command line?",
    "answer": "C r e a t e   t h i s   S e c r e t ,   n a m i n g   i t   r e g c r e d :   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   r e g c r e d   - - d o c k e r - s e r v e r = < y o u r - r e g i s t r y - s e r v e r >   - - d o c k e r - u s e r n a m e = < y o u r - n a m e >   - - d o c k e r - p a s s w o r d = < y o u r - p w o r d >   - - d o c k e r - e m a i l = < y o u r - e m a i l >   w h e r e :   < y o u r - r e g i s t r y - s e r v e r >   i s   y o u r   P r i v a t e   D o c k e r   R e g i s t r y   F Q D N .   U s e   h t t p s : / / i n d e x . d o c k e r . i o / v 1 /   f o r   D o c k e r H u b . < y o u r - n a m e >   i s   y o u r   D o c k e r   u s e r n a m e . < y o u r - p w o r d >   i s   y o u r   D o c k e r   p a s s w o r d . < y o u r - e m a i l >   i s   y o u r   D o c k e r   e m a i l .   Y o u   h a v e   s u c c e s s f u l l y   s e t   y o u r   D o c k e r   c r e d e n t i a l s   i n   t h e   c l u s t e r   a s   a   S e c r e t   c a l l e d   r e g c r e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18236"
  },
  {
    "question": "What is Inspecting the Secret regcred?",
    "answer": "T o   u n d e r s t a n d   t h e   c o n t e n t s   o f   t h e   r e g c r e d   S e c r e t   y o u   c r e a t e d ,   s t a r t   b y   v i e w i n g   t h e   S e c r e t   i n   Y A M L   f o r m a t :   k u b e c t l   g e t   s e c r e t   r e g c r e d   - - o u t p u t = y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   . . .   n a m e :   r e g c r e d   . . .   d a t a :   . d o c k e r c o n f i g j s o n :   e y J o d H R w c z o v L 2 l u Z G V 4 L   . . .   J 0 Q U l 6 R T I i f X 0 =   t y p e :   k u b e r n e t e s . i o / d o c k e r c o n f i g j s o n   T h e   v a l u e   o f   t h e   . d o c k e r c o n f i g j s o n   f i e l d   i s   a   b a s e 6 4   r e p r e s e n t a t i o n   o f   y o u r   D o c k e r   c r e d e n t i a l s .   T o   u n d e r s t a n d   w h a t   i s   i n   t h e   . d o c k e r c o n f i g j s o n   f i e l d ,   c o n v e r t   t h e   s e c r e t   d a t a   t o   a   r e a d a b l e   f o r m a t :   k u b e c t l   g e t   s e c r e t   r e g c r e d   - - o u t p u t = \" j s o n p a t h = { . d a t a . \\ . d o c k e r c o n f i g j s o n } \"   |   b a s e 6 4   - - d e c o d e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   { \" a u t h s \" : { \" y o u r . p r i v a t e . r e g i s t r y . e x a m p l e . c o m \" : { \" u s e r n a m e \" : \" j a n e d o e \" , \" p a s s w o r d \" : \" x x x x x x x x x x x \" , \" e m a i l \" : \" j d o e @ e x a m p l e . c o m \" , \" a u t h \" : \" c 3 R . . . z E 2 \" } } }   T o   u n d e r s t a n d   w h a t   i s   i n   t h e   a u t h   f i e l d ,   c o n v e r t   t h e   b a s e 6 4 - e n c o d e d   d a t a   t o   a   r e a d a b l e   f o r m a t :   e c h o   \" c 3 R . . . z E 2 \"   |   b a s e 6 4   - - d e c o d e   T h e   o u t p u t ,   u s e r n a m e   a n d   p a s s w o r d   c o n c a t e n a t e d   w i t h   a   : ,   i s   s i m i l a r   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18237"
  },
  {
    "question": "What is Create a Pod that uses your Secret?",
    "answer": "H e r e   i s   a   m a n i f e s t   f o r   a n   e x a m p l e   P o d   t h a t   n e e d s   a c c e s s   t o   y o u r   D o c k e r   c r e d e n t i a l s   i n   r e g c r e d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p r i v a t e - r e g   s p e c :   c o n t a i n e r s :   -   n a m e :   p r i v a t e - r e g - c o n t a i n e r   i m a g e :   < y o u r - p r i v a t e - i m a g e >   i m a g e P u l l S e c r e t s :   -   n a m e :   r e g c r e d   D o w n l o a d   t h e   a b o v e   f i l e   o n t o   y o u r   c o m p u t e r :   c u r l   - L   - o   m y - p r i v a t e - r e g - p o d . y a m l   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p r i v a t e - r e g - p o d . y a m l   I n   f i l e   m y - p r i v a t e - r e g - p o d . y a m l ,   r e p l a c e   < y o u r - p r i v a t e - i m a g e >   w i t h   t h e   p a t h   t o   a n   i m a g e   i n   a   p r i v a t e   r e g i s t r y   s u c h   a s :   y o u r . p r i v a t e . r e g i s t r y . e x a m p l e . c o m / j a n e d o e / j d o e - p r i v a t e : v 1   T o   p u l l   t h e   i m a g e   f r o m   t h e   p r i v a t e   r e g i s t r y ,   K u b e r n e t e s   n e e d s   c r e d e n t i a l s .   T h e   i m a g e P u l l S e c r e t s   f i e l d   i n   t h e   c o n f i g u r a t i o n   f i l e   s p e c i f i e s   t h a t   K u b e r n e t e s   s h o u l d   g e t   t h e   c r e d e n t i a l s   f r o m   a   S e c r e t   n a m e d   r e g c r e d .   C r e a t e   a   P o d   t h a t   u s e s   y o u r   S e c r e t ,   a n d   v e r i f y   t h a t   t h e   P o d   i s   r u n n i n g :   k u b e c t l   a p p l y   - f   m y - p r i v a t e - r e g - p o d . y a m l   k u b e c t l   g e t   p o d   p r i v a t e - r e g",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18238"
  },
  {
    "question": "What is Note:?",
    "answer": "A l s o ,   i n   c a s e   t h e   P o d   f a i l s   t o   s t a r t   w i t h   t h e   s t a t u s   I m a g e P u l l B a c k O f f ,   v i e w   t h e   P o d   e v e n t s :   k u b e c t l   d e s c r i b e   p o d   p r i v a t e - r e g   I f   y o u   t h e n   s e e   a n   e v e n t   w i t h   t h e   r e a s o n   s e t   t o   F a i l e d T o R e t r i e v e I m a g e P u l l S e c r e t ,   K u b e r n e t e s   c a n ' t   f i n d   a   S e c r e t   w i t h   n a m e   ( r e g c r e d ,   i n   t h i s   e x a m p l e ) .   M a k e   s u r e   t h a t   t h e   S e c r e t   y o u   h a v e   s p e c i f i e d   e x i s t s ,   a n d   t h a t   i t s   n a m e   i s   s p e l l e d   p r o p e r l y .   E v e n t s :   . . .   R e a s o n   . . .   M e s s a g e   - - - - - -   - - - - - - -   . . .   F a i l e d T o R e t r i e v e I m a g e P u l l S e c r e t   . . .   U n a b l e   t o   r e t r i e v e   s o m e   i m a g e   p u l l   s e c r e t s   ( < r e g c r e d > ) ;   a t t e m p t i n g   t o   p u l l   t h e   i m a g e   m a y   n o t   s u c c e e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18239"
  },
  {
    "question": "What is Using images from multiple registries?",
    "answer": "A   p o d   c a n   h a v e   m u l t i p l e   c o n t a i n e r s ,   e a c h   c o n t a i n e r   i m a g e   c a n   b e   f r o m   a   d i f f e r e n t   r e g i s t r y .   Y o u   c a n   u s e   m u l t i p l e   i m a g e P u l l S e c r e t s   w i t h   o n e   p o d ,   a n d   e a c h   c a n   c o n t a i n   m u l t i p l e   c r e d e n t i a l s .   T h e   i m a g e   p u l l   w i l l   b e   a t t e m p t e d   u s i n g   e a c h   c r e d e n t i a l   t h a t   m a t c h e s   t h e   r e g i s t r y .   I f   n o   c r e d e n t i a l s   m a t c h   t h e   r e g i s t r y ,   t h e   i m a g e   p u l l   w i l l   b e   a t t e m p t e d   w i t h o u t   a u t h o r i z a t i o n   o r   u s i n g   c u s t o m   r u n t i m e   s p e c i f i c   c o n f i g u r a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18240"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   S e c r e t s o r   r e a d   t h e   A P I   r e f e r e n c e   f o r   S e c r e t L e a r n   m o r e   a b o u t   u s i n g   a   p r i v a t e   r e g i s t r y . L e a r n   m o r e   a b o u t   a d d i n g   i m a g e   p u l l   s e c r e t s   t o   a   s e r v i c e   a c c o u n t . S e e   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y . S e e   t h e   i m a g e P u l l S e c r e t s   f i e l d   w i t h i n   t h e   c o n t a i n e r   d e f i n i t i o n s   o f   a   P o d   o r   r e a d   t h e   A P I   r e f e r e n c e   f o r   S e c r e t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18241"
  },
  {
    "question": "What is 3.17 - Configure Liveness, Readiness and Startup Probes?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   l i v e n e s s ,   r e a d i n e s s   a n d   s t a r t u p   p r o b e s   f o r   c o n t a i n e r s .   F o r   m o r e   i n f o r m a t i o n   a b o u t   p r o b e s ,   s e e   L i v e n e s s ,   R e a d i n e s s   a n d   S t a r t u p   P r o b e s   T h e   k u b e l e t   u s e s   l i v e n e s s   p r o b e s   t o   k n o w   w h e n   t o   r e s t a r t   a   c o n t a i n e r .   F o r   e x a m p l e ,   l i v e n e s s   p r o b e s   c o u l d   c a t c h   a   d e a d l o c k ,   w h e r e   a n   a p p l i c a t i o n   i s   r u n n i n g ,   b u t   u n a b l e   t o   m a k e   p r o g r e s s .   R e s t a r t i n g   a   c o n t a i n e r   i n   s u c h   a   s t a t e   c a n   h e l p   t o   m a k e   t h e   a p p l i c a t i o n   m o r e   a v a i l a b l e   d e s p i t e   b u g s .   A   c o m m o n   p a t t e r n   f o r   l i v e n e s s   p r o b e s   i s   t o   u s e   t h e   s a m e   l o w - c o s t   H T T P   e n d p o i n t   a s   f o r   r e a d i n e s s   p r o b e s ,   b u t   w i t h   a   h i g h e r   f a i l u r e T h r e s h o l d .   T h i s   e n s u r e s   t h a t   t h e   p o d   i s   o b s e r v e d   a s   n o t - r e a d y   f o r   s o m e   p e r i o d   o f   t i m e   b e f o r e   i t   i s   h a r d   k i l l e d .   T h e   k u b e l e t   u s e s   r e a d i n e s s   p r o b e s   t o   k n o w   w h e n   a   c o n t a i n e r   i s   r e a d y   t o   s t a r t   a c c e p t i n g   t r a f f i c .   O n e   u s e   o f   t h i s   s i g n a l   i s   t o   c o n t r o l   w h i c h   P o d s   a r e   u s e d   a s   b a c k e n d s   f o r   S e r v i c e s .   A   P o d   i s   c o n s i d e r e d   r e a d y   w h e n   i t s   R e a d y   c o n d i t i o n   i s   t r u e .   W h e n   a   P o d   i s   n o t   r e a d y ,   i t   i s   r e m o v e d   f r o m   S e r v i c e   l o a d   b a l a n c e r s .   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18242"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18243"
  },
  {
    "question": "What is Define a liveness command?",
    "answer": "M a n y   a p p l i c a t i o n s   r u n n i n g   f o r   l o n g   p e r i o d s   o f   t i m e   e v e n t u a l l y   t r a n s i t i o n   t o   b r o k e n   s t a t e s ,   a n d   c a n n o t   r e c o v e r   e x c e p t   b y   b e i n g   r e s t a r t e d .   K u b e r n e t e s   p r o v i d e s   l i v e n e s s   p r o b e s   t o   d e t e c t   a n d   r e m e d y   s u c h   s i t u a t i o n s .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   r u n s   a   c o n t a i n e r   b a s e d   o n   t h e   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   i m a g e .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   l a b e l s :   t e s t :   l i v e n e s s   n a m e :   l i v e n e s s - e x e c   s p e c :   c o n t a i n e r s :   -   n a m e :   l i v e n e s s   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   a r g s :   -   / b i n / s h   -   - c   -   t o u c h   / t m p / h e a l t h y ;   s l e e p   3 0 ;   r m   - f   / t m p / h e a l t h y ;   s l e e p   6 0 0   l i v e n e s s P r o b e :   e x e c :   c o m m a n d :   -   c a t   -   / t m p / h e a l t h y   i n i t i a l D e l a y S e c o n d s :   5   p e r i o d S e c o n d s :   5   I n   t h e   c o n f i g u r a t i o n   f i l e ,   y o u   c a n   s e e   t h a t   t h e   P o d   h a s   a   s i n g l e   C o n t a i n e r .   T h e   p e r i o d S e c o n d s   f i e l d   s p e c i f i e s   t h a t   t h e   k u b e l e t   s h o u l d   p e r f o r m   a   l i v e n e s s   p r o b e   e v e r y   5   s e c o n d s .   T h e   i n i t i a l D e l a y S e c o n d s   f i e l d   t e l l s   t h e   k u b e l e t   t h a t   i t   s h o u l d   w a i t   5   s e c o n d s   b e f o r e   p e r f o r m i n g   t h e   f i r s t   p r o b e .   T o   p e r f o r m   a   p r o b e ,   t h e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18244"
  },
  {
    "question": "What is Define a liveness HTTP request?",
    "answer": "A n o t h e r   k i n d   o f   l i v e n e s s   p r o b e   u s e s   a n   H T T P   G E T   r e q u e s t .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   r u n s   a   c o n t a i n e r   b a s e d   o n   t h e   r e g i s t r y . k 8 s . i o / e 2 e - t e s t - i m a g e s / a g n h o s t   i m a g e .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   l a b e l s :   t e s t :   l i v e n e s s   n a m e :   l i v e n e s s - h t t p   s p e c :   c o n t a i n e r s :   -   n a m e :   l i v e n e s s   i m a g e :   r e g i s t r y . k 8 s . i o / e 2 e - t e s t - i m a g e s / a g n h o s t : 2 . 4 0   a r g s :   -   l i v e n e s s   l i v e n e s s P r o b e :   h t t p G e t :   p a t h :   / h e a l t h z   p o r t :   8 0 8 0   h t t p H e a d e r s :   -   n a m e :   C u s t o m - H e a d e r   v a l u e :   A w e s o m e   i n i t i a l D e l a y S e c o n d s :   3   p e r i o d S e c o n d s :   3   I n   t h e   c o n f i g u r a t i o n   f i l e ,   y o u   c a n   s e e   t h a t   t h e   P o d   h a s   a   s i n g l e   c o n t a i n e r .   T h e   p e r i o d S e c o n d s   f i e l d   s p e c i f i e s   t h a t   t h e   k u b e l e t   s h o u l d   p e r f o r m   a   l i v e n e s s   p r o b e   e v e r y   3   s e c o n d s .   T h e   i n i t i a l D e l a y S e c o n d s   f i e l d   t e l l s   t h e   k u b e l e t   t h a t   i t   s h o u l d   w a i t   3   s e c o n d s   b e f o r e   p e r f o r m i n g   t h e   f i r s t   p r o b e .   T o   p e r f o r m   a   p r o b e ,   t h e   k u b e l e t   s e n d s   a n   H T T P   G E T   r e q u e s t   t o   t h e   s e r v e r   t h a t   i s   r u n n i n g   i n   t h e   c o n t a i n e r   a n d   l i s t e n i n g   o n   p o r t   8 0 8 0 .   I f   t h e   h a n d l e r   f o r   t h e   s e r v e r ' s   / h e a l t h z   p a t h   r e t u r n s   a   s u c c e s s   c o d e ,   t h e   k u ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18245"
  },
  {
    "question": "What is Define a TCP liveness probe?",
    "answer": "A   t h i r d   t y p e   o f   l i v e n e s s   p r o b e   u s e s   a   T C P   s o c k e t .   W i t h   t h i s   c o n f i g u r a t i o n ,   t h e   k u b e l e t   w i l l   a t t e m p t   t o   o p e n   a   s o c k e t   t o   y o u r   c o n t a i n e r   o n   t h e   s p e c i f i e d   p o r t .   I f   i t   c a n   e s t a b l i s h   a   c o n n e c t i o n ,   t h e   c o n t a i n e r   i s   c o n s i d e r e d   h e a l t h y ,   i f   i t   c a n ' t   i t   i s   c o n s i d e r e d   a   f a i l u r e .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   g o p r o x y   l a b e l s :   a p p :   g o p r o x y   s p e c :   c o n t a i n e r s :   -   n a m e :   g o p r o x y   i m a g e :   r e g i s t r y . k 8 s . i o / g o p r o x y : 0 . 1   p o r t s :   -   c o n t a i n e r P o r t :   8 0 8 0   r e a d i n e s s P r o b e :   t c p S o c k e t :   p o r t :   8 0 8 0   i n i t i a l D e l a y S e c o n d s :   1 5   p e r i o d S e c o n d s :   1 0   l i v e n e s s P r o b e :   t c p S o c k e t :   p o r t :   8 0 8 0   i n i t i a l D e l a y S e c o n d s :   1 5   p e r i o d S e c o n d s :   1 0   A s   y o u   c a n   s e e ,   c o n f i g u r a t i o n   f o r   a   T C P   c h e c k   i s   q u i t e   s i m i l a r   t o   a n   H T T P   c h e c k .   T h i s   e x a m p l e   u s e s   b o t h   r e a d i n e s s   a n d   l i v e n e s s   p r o b e s .   T h e   k u b e l e t   w i l l   r u n   t h e   f i r s t   l i v e n e s s   p r o b e   1 5   s e c o n d s   a f t e r   t h e   c o n t a i n e r   s t a r t s .   T h i s   w i l l   a t t e m p t   t o   c o n n e c t   t o   t h e   g o p r o x y   c o n t a i n e r   o n   p o r t   8 0 8 0 .   I f   t h e   l i v e n e s s   p r o b e   f a i l s ,   t h e   c o n t a i n e r   w i l l   b e   r e s t a r t e d .   T h e   k u b e l e t   w i l l   c o n t i n u e   t o   r u n   t h i s   c h e c k   e v e r y   1 0   s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18246"
  },
  {
    "question": "What is Define a gRPC liveness probe?",
    "answer": "I f   y o u r   a p p l i c a t i o n   i m p l e m e n t s   t h e   g R P C   H e a l t h   C h e c k i n g   P r o t o c o l ,   t h i s   e x a m p l e   s h o w s   h o w   t o   c o n f i g u r e   K u b e r n e t e s   t o   u s e   i t   f o r   a p p l i c a t i o n   l i v e n e s s   c h e c k s .   S i m i l a r l y   y o u   c a n   c o n f i g u r e   r e a d i n e s s   a n d   s t a r t u p   p r o b e s .   H e r e   i s   a n   e x a m p l e   m a n i f e s t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e t c d - w i t h - g r p c   s p e c :   c o n t a i n e r s :   -   n a m e :   e t c d   i m a g e :   r e g i s t r y . k 8 s . i o / e t c d : 3 . 5 . 1 - 0   c o m m a n d :   [   \" / u s r / l o c a l / b i n / e t c d \" ,   \" - - d a t a - d i r \" ,   \" / v a r / l i b / e t c d \" ,   \" - - l i s t e n - c l i e n t - u r l s \" ,   \" h t t p : / / 0 . 0 . 0 . 0 : 2 3 7 9 \" ,   \" - - a d v e r t i s e - c l i e n t - u r l s \" ,   \" h t t p : / / 1 2 7 . 0 . 0 . 1 : 2 3 7 9 \" ,   \" - - l o g - l e v e l \" ,   \" d e b u g \" ]   p o r t s :   -   c o n t a i n e r P o r t :   2 3 7 9   l i v e n e s s P r o b e :   g r p c :   p o r t :   2 3 7 9   i n i t i a l D e l a y S e c o n d s :   1 0   T o   u s e   a   g R P C   p r o b e ,   p o r t   m u s t   b e   c o n f i g u r e d .   I f   y o u   w a n t   t o   d i s t i n g u i s h   p r o b e s   o f   d i f f e r e n t   t y p e s   a n d   p r o b e s   f o r   d i f f e r e n t   f e a t u r e s   y o u   c a n   u s e   t h e   s e r v i c e   f i e l d .   Y o u   c a n   s e t   s e r v i c e   t o   t h e   v a l u e   l i v e n e s s   a n d   m a k e   y o u r   g R P C   H e a l t h   C h e c k i n g   e n d p o i n t   r e s p o n d   t o   t h i s   r e q u e s t   d i f f e r e n t l y   t h a n   w h e n   y o u   s e t   s e r v i c e   s e t   t o   r e a d i n e s s .   T h i s   l e t s   y o u   u s e   t h e   s a m e   e n d p ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18247"
  },
  {
    "question": "What is Note:?",
    "answer": "C o n f i g u r a t i o n   p r o b l e m s   ( f o r   e x a m p l e :   i n c o r r e c t   p o r t   o r   s e r v i c e ,   u n i m p l e m e n t e d   h e a l t h   c h e c k i n g   p r o t o c o l )   a r e   c o n s i d e r e d   a   p r o b e   f a i l u r e ,   s i m i l a r   t o   H T T P   a n d   T C P   p r o b e s .   T o   t r y   t h e   g R P C   l i v e n e s s   c h e c k ,   c r e a t e   a   P o d   u s i n g   t h e   c o m m a n d   b e l o w .   I n   t h e   e x a m p l e   b e l o w ,   t h e   e t c d   p o d   i s   c o n f i g u r e d   t o   u s e   g R P C   l i v e n e s s   p r o b e .   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p r o b e / g r p c - l i v e n e s s . y a m l   A f t e r   1 5   s e c o n d s ,   v i e w   P o d   e v e n t s   t o   v e r i f y   t h a t   t h e   l i v e n e s s   c h e c k   h a s   n o t   f a i l e d :   k u b e c t l   d e s c r i b e   p o d   e t c d - w i t h - g r p c   W h e n   u s i n g   a   g R P C   p r o b e ,   t h e r e   a r e   s o m e   t e c h n i c a l   d e t a i l s   t o   b e   a w a r e   o f :   T h e   p r o b e s   r u n   a g a i n s t   t h e   p o d   I P   a d d r e s s   o r   i t s   h o s t n a m e .   B e   s u r e   t o   c o n f i g u r e   y o u r   g R P C   e n d p o i n t   t o   l i s t e n   o n   t h e   P o d ' s   I P   a d d r e s s . T h e   p r o b e s   d o   n o t   s u p p o r t   a n y   a u t h e n t i c a t i o n   p a r a m e t e r s   ( l i k e   - t l s ) . T h e r e   a r e   n o   e r r o r   c o d e s   f o r   b u i l t - i n   p r o b e s .   A l l   e r r o r s   a r e   c o n s i d e r e d   a s   p r o b e   f a i l u r e s . I f   E x e c P r o b e T i m e o u t   f e a t u r e   g a t e   i s   s e t   t o   f a l s e ,   g r p c - h e a l t h - p r o b e   d o e s   n o t   r e s p e c t   t h e   t i m e o u t S e c o n d s   s e t t i n g   ( w h i c h   d e f a u l t s   t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18248"
  },
  {
    "question": "What is Use a named port?",
    "answer": "Y o u   c a n   u s e   a   n a m e d   p o r t   f o r   H T T P   a n d   T C P   p r o b e s .   g R P C   p r o b e s   d o   n o t   s u p p o r t   n a m e d   p o r t s .   F o r   e x a m p l e :   p o r t s :   -   n a m e :   l i v e n e s s - p o r t   c o n t a i n e r P o r t :   8 0 8 0   l i v e n e s s P r o b e :   h t t p G e t :   p a t h :   / h e a l t h z   p o r t :   l i v e n e s s - p o r t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18249"
  },
  {
    "question": "What is Protect slow starting containers with startup probes?",
    "answer": "S o m e t i m e s ,   y o u   h a v e   t o   d e a l   w i t h   a p p l i c a t i o n s   t h a t   r e q u i r e   a d d i t i o n a l   s t a r t u p   t i m e   o n   t h e i r   f i r s t   i n i t i a l i z a t i o n .   I n   s u c h   c a s e s ,   i t   c a n   b e   t r i c k y   t o   s e t   u p   l i v e n e s s   p r o b e   p a r a m e t e r s   w i t h o u t   c o m p r o m i s i n g   t h e   f a s t   r e s p o n s e   t o   d e a d l o c k s   t h a t   m o t i v a t e d   s u c h   a   p r o b e .   T h e   s o l u t i o n   i s   t o   s e t   u p   a   s t a r t u p   p r o b e   w i t h   t h e   s a m e   c o m m a n d ,   H T T P   o r   T C P   c h e c k ,   w i t h   a   f a i l u r e T h r e s h o l d   *   p e r i o d S e c o n d s   l o n g   e n o u g h   t o   c o v e r   t h e   w o r s t   c a s e   s t a r t u p   t i m e .   S o ,   t h e   p r e v i o u s   e x a m p l e   w o u l d   b e c o m e :   p o r t s :   -   n a m e :   l i v e n e s s - p o r t   c o n t a i n e r P o r t :   8 0 8 0   l i v e n e s s P r o b e :   h t t p G e t :   p a t h :   / h e a l t h z   p o r t :   l i v e n e s s - p o r t   f a i l u r e T h r e s h o l d :   1   p e r i o d S e c o n d s :   1 0   s t a r t u p P r o b e :   h t t p G e t :   p a t h :   / h e a l t h z   p o r t :   l i v e n e s s - p o r t   f a i l u r e T h r e s h o l d :   3 0   p e r i o d S e c o n d s :   1 0   T h a n k s   t o   t h e   s t a r t u p   p r o b e ,   t h e   a p p l i c a t i o n   w i l l   h a v e   a   m a x i m u m   o f   5   m i n u t e s   ( 3 0   *   1 0   =   3 0 0 s )   t o   f i n i s h   i t s   s t a r t u p .   O n c e   t h e   s t a r t u p   p r o b e   h a s   s u c c e e d e d   o n c e ,   t h e   l i v e n e s s   p r o b e   t a k e s   o v e r   t o   p r o v i d e   a   f a s t   r e s p o n s e   t o   c o n t a i n e r   d e a d l o c k s .   I f   t h e   s t a r t u p   p r o b e   n e v e r   s u c c e e d s ,   t h ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18250"
  },
  {
    "question": "What is Define readiness probes?",
    "answer": "S o m e t i m e s ,   a p p l i c a t i o n s   a r e   t e m p o r a r i l y   u n a b l e   t o   s e r v e   t r a f f i c .   F o r   e x a m p l e ,   a n   a p p l i c a t i o n   m i g h t   n e e d   t o   l o a d   l a r g e   d a t a   o r   c o n f i g u r a t i o n   f i l e s   d u r i n g   s t a r t u p ,   o r   d e p e n d   o n   e x t e r n a l   s e r v i c e s   a f t e r   s t a r t u p .   I n   s u c h   c a s e s ,   y o u   d o n ' t   w a n t   t o   k i l l   t h e   a p p l i c a t i o n ,   b u t   y o u   d o n ' t   w a n t   t o   s e n d   i t   r e q u e s t s   e i t h e r .   K u b e r n e t e s   p r o v i d e s   r e a d i n e s s   p r o b e s   t o   d e t e c t   a n d   m i t i g a t e   t h e s e   s i t u a t i o n s .   A   p o d   w i t h   c o n t a i n e r s   r e p o r t i n g   t h a t   t h e y   a r e   n o t   r e a d y   d o e s   n o t   r e c e i v e   t r a f f i c   t h r o u g h   K u b e r n e t e s   S e r v i c e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18251"
  },
  {
    "question": "What is Caution:?",
    "answer": "R e a d i n e s s   p r o b e s   a r e   c o n f i g u r e d   s i m i l a r l y   t o   l i v e n e s s   p r o b e s .   T h e   o n l y   d i f f e r e n c e   i s   t h a t   y o u   u s e   t h e   r e a d i n e s s P r o b e   f i e l d   i n s t e a d   o f   t h e   l i v e n e s s P r o b e   f i e l d .   r e a d i n e s s P r o b e :   e x e c :   c o m m a n d :   -   c a t   -   / t m p / h e a l t h y   i n i t i a l D e l a y S e c o n d s :   5   p e r i o d S e c o n d s :   5   C o n f i g u r a t i o n   f o r   H T T P   a n d   T C P   r e a d i n e s s   p r o b e s   a l s o   r e m a i n s   i d e n t i c a l   t o   l i v e n e s s   p r o b e s .   R e a d i n e s s   a n d   l i v e n e s s   p r o b e s   c a n   b e   u s e d   i n   p a r a l l e l   f o r   t h e   s a m e   c o n t a i n e r .   U s i n g   b o t h   c a n   e n s u r e   t h a t   t r a f f i c   d o e s   n o t   r e a c h   a   c o n t a i n e r   t h a t   i s   n o t   r e a d y   f o r   i t ,   a n d   t h a t   c o n t a i n e r s   a r e   r e s t a r t e d   w h e n   t h e y   f a i l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18252"
  },
  {
    "question": "What is Configure Probes?",
    "answer": "P r o b e s   h a v e   a   n u m b e r   o f   f i e l d s   t h a t   y o u   c a n   u s e   t o   m o r e   p r e c i s e l y   c o n t r o l   t h e   b e h a v i o r   o f   s t a r t u p ,   l i v e n e s s   a n d   r e a d i n e s s   c h e c k s :   i n i t i a l D e l a y S e c o n d s :   N u m b e r   o f   s e c o n d s   a f t e r   t h e   c o n t a i n e r   h a s   s t a r t e d   b e f o r e   s t a r t u p ,   l i v e n e s s   o r   r e a d i n e s s   p r o b e s   a r e   i n i t i a t e d .   I f   a   s t a r t u p   p r o b e   i s   d e f i n e d ,   l i v e n e s s   a n d   r e a d i n e s s   p r o b e   d e l a y s   d o   n o t   b e g i n   u n t i l   t h e   s t a r t u p   p r o b e   h a s   s u c c e e d e d .   I f   t h e   v a l u e   o f   p e r i o d S e c o n d s   i s   g r e a t e r   t h a n   i n i t i a l D e l a y S e c o n d s   t h e n   t h e   i n i t i a l D e l a y S e c o n d s   w i l l   b e   i g n o r e d .   D e f a u l t s   t o   0   s e c o n d s .   M i n i m u m   v a l u e   i s   0 . p e r i o d S e c o n d s :   H o w   o f t e n   ( i n   s e c o n d s )   t o   p e r f o r m   t h e   p r o b e .   D e f a u l t   t o   1 0   s e c o n d s .   T h e   m i n i m u m   v a l u e   i s   1 .   W h i l e   a   c o n t a i n e r   i s   n o t   R e a d y ,   t h e   R e a d i n e s s P r o b e   m a y   b e   e x e c u t e d   a t   t i m e s   o t h e r   t h a n   t h e   c o n f i g u r e d   p e r i o d S e c o n d s   i n t e r v a l .   T h i s   i s   t o   m a k e   t h e   P o d   r e a d y   f a s t e r . t i m e o u t S e c o n d s :   N u m b e r   o f   s e c o n d s   a f t e r   w h i c h   t h e   p r o b e   t i m e s   o u t .   D e f a u l t s   t o   1   s e c o n d .   M i n i m u m   v a l u e   i s   1 . s u c c e s s T h r e s h o l d :   M i n i m u m   c o n s e c u t i v e   s u c c e s s e s   f o r   t h e   p r o b e   t o   b e   c o n s i d e r e d   s u c c e s s f u ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18253"
  },
  {
    "question": "What is HTTP probes?",
    "answer": "H T T P   p r o b e s   h a v e   a d d i t i o n a l   f i e l d s   t h a t   c a n   b e   s e t   o n   h t t p G e t :   h o s t :   H o s t   n a m e   t o   c o n n e c t   t o ,   d e f a u l t s   t o   t h e   p o d   I P .   Y o u   p r o b a b l y   w a n t   t o   s e t   \" H o s t \"   i n   h t t p H e a d e r s   i n s t e a d . s c h e m e :   S c h e m e   t o   u s e   f o r   c o n n e c t i n g   t o   t h e   h o s t   ( H T T P   o r   H T T P S ) .   D e f a u l t s   t o   \" H T T P \" . p a t h :   P a t h   t o   a c c e s s   o n   t h e   H T T P   s e r v e r .   D e f a u l t s   t o   \" / \" . h t t p H e a d e r s :   C u s t o m   h e a d e r s   t o   s e t   i n   t h e   r e q u e s t .   H T T P   a l l o w s   r e p e a t e d   h e a d e r s . p o r t :   N a m e   o r   n u m b e r   o f   t h e   p o r t   t o   a c c e s s   o n   t h e   c o n t a i n e r .   N u m b e r   m u s t   b e   i n   t h e   r a n g e   1   t o   6 5 5 3 5 .   F o r   a n   H T T P   p r o b e ,   t h e   k u b e l e t   s e n d s   a n   H T T P   r e q u e s t   t o   t h e   s p e c i f i e d   p o r t   a n d   p a t h   t o   p e r f o r m   t h e   c h e c k .   T h e   k u b e l e t   s e n d s   t h e   p r o b e   t o   t h e   P o d ' s   I P   a d d r e s s ,   u n l e s s   t h e   a d d r e s s   i s   o v e r r i d d e n   b y   t h e   o p t i o n a l   h o s t   f i e l d   i n   h t t p G e t .   I f   s c h e m e   f i e l d   i s   s e t   t o   H T T P S ,   t h e   k u b e l e t   s e n d s   a n   H T T P S   r e q u e s t   s k i p p i n g   t h e   c e r t i f i c a t e   v e r i f i c a t i o n .   I n   m o s t   s c e n a r i o s ,   y o u   d o   n o t   w a n t   t o   s e t   t h e   h o s t   f i e l d .   H e r e ' s   o n e   s c e n a r i o   w h e r e   y o u   w o u l d   s e t   i t .   S u p p o s e   t h e   c o n t a i n e r   l i s t e n s   o n   1 2 7 . 0 . 0 . 1   a n d   t h e   P o d ' s   h o s t N e t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18254"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   t h e   k u b e l e t   p r o b e s   a   P o d   u s i n g   H T T P ,   i t   o n l y   f o l l o w s   r e d i r e c t s   i f   t h e   r e d i r e c t   i s   t o   t h e   s a m e   h o s t .   I f   t h e   k u b e l e t   r e c e i v e s   1 1   o r   m o r e   r e d i r e c t s   d u r i n g   p r o b i n g ,   t h e   p r o b e   i s   c o n s i d e r e d   s u c c e s s f u l   a n d   a   r e l a t e d   E v e n t   i s   c r e a t e d :   E v e n t s :   T y p e   R e a s o n   A g e   F r o m   M e s s a g e   - - - -   - - - - - -   - - - -   - - - -   - - - - - - -   N o r m a l   S c h e d u l e d   2 9 m   d e f a u l t - s c h e d u l e r   S u c c e s s f u l l y   a s s i g n e d   d e f a u l t / h t t p b i n - 7 b 8 b c 9 c b 8 5 - b j z w n   t o   d a o c l o u d   N o r m a l   P u l l i n g   2 9 m   k u b e l e t   P u l l i n g   i m a g e   \" d o c k e r . i o / k e n n e t h r e i t z / h t t p b i n \"   N o r m a l   P u l l e d   2 4 m   k u b e l e t   S u c c e s s f u l l y   p u l l e d   i m a g e   \" d o c k e r . i o / k e n n e t h r e i t z / h t t p b i n \"   i n   5 m 1 2 . 4 0 2 7 3 5 2 1 3 s   N o r m a l   C r e a t e d   2 4 m   k u b e l e t   C r e a t e d   c o n t a i n e r   h t t p b i n   N o r m a l   S t a r t e d   2 4 m   k u b e l e t   S t a r t e d   c o n t a i n e r   h t t p b i n   W a r n i n g   P r o b e W a r n i n g   4 m 1 1 s   ( x 1 1 9 7   o v e r   2 4 m )   k u b e l e t   R e a d i n e s s   p r o b e   w a r n i n g :   P r o b e   t e r m i n a t e d   r e d i r e c t s   I f   t h e   k u b e l e t   r e c e i v e s   a   r e d i r e c t   w h e r e   t h e   h o s t n a m e   i s   d i f f e r e n t   f r o m   t h e   r e q u e s t ,   t h e   o u t c o m e   o f   t h e   p r o b e   i s   t r e a t e d   a s   s u c c e s s f u l   a n d   k u b e l e t   c r e a t e s   a n   e v e n t   t o   r e p o r t   t h e   r e d i r e c t   f a i l u r e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18255"
  },
  {
    "question": "What is TCP probes?",
    "answer": "F o r   a   T C P   p r o b e ,   t h e   k u b e l e t   m a k e s   t h e   p r o b e   c o n n e c t i o n   a t   t h e   n o d e ,   n o t   i n   t h e   P o d ,   w h i c h   m e a n s   t h a t   y o u   c a n   n o t   u s e   a   s e r v i c e   n a m e   i n   t h e   h o s t   p a r a m e t e r   s i n c e   t h e   k u b e l e t   i s   u n a b l e   t o   r e s o l v e   i t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18256"
  },
  {
    "question": "What is Probe-level terminationGracePeriodSeconds?",
    "answer": "I n   1 . 2 5   a n d   a b o v e ,   u s e r s   c a n   s p e c i f y   a   p r o b e - l e v e l   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   a s   p a r t   o f   t h e   p r o b e   s p e c i f i c a t i o n .   W h e n   b o t h   a   p o d -   a n d   p r o b e - l e v e l   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   a r e   s e t ,   t h e   k u b e l e t   w i l l   u s e   t h e   p r o b e - l e v e l   v a l u e .   W h e n   s e t t i n g   t h e   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s ,   p l e a s e   n o t e   t h e   f o l l o w i n g :   T h e   k u b e l e t   a l w a y s   h o n o r s   t h e   p r o b e - l e v e l   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   f i e l d   i f   i t   i s   p r e s e n t   o n   a   P o d . I f   y o u   h a v e   e x i s t i n g   P o d s   w h e r e   t h e   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   f i e l d   i s   s e t   a n d   y o u   n o   l o n g e r   w i s h   t o   u s e   p e r - p r o b e   t e r m i n a t i o n   g r a c e   p e r i o d s ,   y o u   m u s t   d e l e t e   t h o s e   e x i s t i n g   P o d s .   T h e   k u b e l e t   a l w a y s   h o n o r s   t h e   p r o b e - l e v e l   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   f i e l d   i f   i t   i s   p r e s e n t   o n   a   P o d .   I f   y o u   h a v e   e x i s t i n g   P o d s   w h e r e   t h e   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   f i e l d   i s   s e t   a n d   y o u   n o   l o n g e r   w i s h   t o   u s e   p e r - p r o b e   t e r m i n a t i o n   g r a c e   p e r i o d s ,   y o u   m u s t   d e l e t e   t h o s e   e x i s t i n g   P o d s .   F o r   e x a m p l e :   s p e c :   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s :   3 6 0 0   #   p o d - l e v e l   c o n t a i n e r s :   -   n a m e :   t e s t   i m a g e :   . . .   p o r t s :   -   n a m e : ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18257"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   C o n t a i n e r   P r o b e s .   Y o u   c a n   a l s o   r e a d   t h e   A P I   r e f e r e n c e s   f o r :   P o d ,   a n d   s p e c i f i c a l l y : c o n t a i n e r ( s ) p r o b e ( s )   c o n t a i n e r ( s ) p r o b e ( s )",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18258"
  },
  {
    "question": "What is 3.18 - Assign Pods to Nodes?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   a s s i g n   a   K u b e r n e t e s   P o d   t o   a   p a r t i c u l a r   n o d e   i n   a   K u b e r n e t e s   c l u s t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18259"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18260"
  },
  {
    "question": "What is Add a label to a node?",
    "answer": "L i s t   t h e   n o d e s   i n   y o u r   c l u s t e r ,   a l o n g   w i t h   t h e i r   l a b e l s : k u b e c t l   g e t   n o d e s   - - s h o w - l a b e l s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   S T A T U S   R O L E S   A G E   V E R S I O N   L A B E L S   w o r k e r 0   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 0   w o r k e r 1   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 1   w o r k e r 2   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 2   C h o o s e   o n e   o f   y o u r   n o d e s ,   a n d   a d d   a   l a b e l   t o   i t : k u b e c t l   l a b e l   n o d e s   < y o u r - n o d e - n a m e >   d i s k t y p e = s s d   w h e r e   < y o u r - n o d e - n a m e >   i s   t h e   n a m e   o f   y o u r   c h o s e n   n o d e . V e r i f y   t h a t   y o u r   c h o s e n   n o d e   h a s   a   d i s k t y p e = s s d   l a b e l : k u b e c t l   g e t   n o d e s   - - s h o w - l a b e l s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   S T A T U S   R O L E S   A G E   V E R S I O N   L A B E L S   w o r k e r 0   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , d i s k t y p e = s s d , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 0   w o r k e r 1   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 1   w o r k e r 2   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 2   I n   t h e   p r e c e d i n g   o u t p u t ,   y o u   c a n   s e e   t h a t   t h e   w o r k e r 0   n o d e   h a s   a   d i s k t y p e = s s d   l a b e l .   L i s t   t h e   n o d e s   i n   y o u r   c l u s t e r ,   a l o n g   w ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18261"
  },
  {
    "question": "What is Create a pod that gets scheduled to your chosen node?",
    "answer": "T h i s   p o d   c o n f i g u r a t i o n   f i l e   d e s c r i b e s   a   p o d   t h a t   h a s   a   n o d e   s e l e c t o r ,   d i s k t y p e :   s s d .   T h i s   m e a n s   t h a t   t h e   p o d   w i l l   g e t   s c h e d u l e d   o n   a   n o d e   t h a t   h a s   a   d i s k t y p e = s s d   l a b e l .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   l a b e l s :   e n v :   t e s t   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   i m a g e P u l l P o l i c y :   I f N o t P r e s e n t   n o d e S e l e c t o r :   d i s k t y p e :   s s d   U s e   t h e   c o n f i g u r a t i o n   f i l e   t o   c r e a t e   a   p o d   t h a t   w i l l   g e t   s c h e d u l e d   o n   y o u r   c h o s e n   n o d e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p o d - n g i n x . y a m l   V e r i f y   t h a t   t h e   p o d   i s   r u n n i n g   o n   y o u r   c h o s e n   n o d e : k u b e c t l   g e t   p o d s   - - o u t p u t = w i d e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   n g i n x   1 / 1   R u n n i n g   0   1 3 s   1 0 . 2 0 0 . 0 . 4   w o r k e r 0   U s e   t h e   c o n f i g u r a t i o n   f i l e   t o   c r e a t e   a   p o d   t h a t   w i l l   g e t   s c h e d u l e d   o n   y o u r   c h o s e n   n o d e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p o d - n g i n x . y a m l   V e r i f y   t h a t   t h e   p o d   i s   r u n n i n g   o n   y o u r   c h o s e n   n o d e :   k u b e c t l   g e t   p o d s   - - o u t p u t = w i d e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   n g i n x   1 / 1   R u n n i n g   0 ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18262"
  },
  {
    "question": "What is Create a pod that gets scheduled to specific node?",
    "answer": "Y o u   c a n   a l s o   s c h e d u l e   a   p o d   t o   o n e   s p e c i f i c   n o d e   v i a   s e t t i n g   n o d e N a m e .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   s p e c :   n o d e N a m e :   f o o - n o d e   #   s c h e d u l e   p o d   t o   s p e c i f i c   n o d e   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   i m a g e P u l l P o l i c y :   I f N o t P r e s e n t   U s e   t h e   c o n f i g u r a t i o n   f i l e   t o   c r e a t e   a   p o d   t h a t   w i l l   g e t   s c h e d u l e d   o n   f o o - n o d e   o n l y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18263"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   l a b e l s   a n d   s e l e c t o r s . L e a r n   m o r e   a b o u t   n o d e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18264"
  },
  {
    "question": "What is 3.19 - Assign Pods to Nodes using Node Affinity?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   a s s i g n   a   K u b e r n e t e s   P o d   t o   a   p a r t i c u l a r   n o d e   u s i n g   N o d e   A f f i n i t y   i n   a   K u b e r n e t e s   c l u s t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18265"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 1 0 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18266"
  },
  {
    "question": "What is Add a label to a node?",
    "answer": "L i s t   t h e   n o d e s   i n   y o u r   c l u s t e r ,   a l o n g   w i t h   t h e i r   l a b e l s : k u b e c t l   g e t   n o d e s   - - s h o w - l a b e l s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   S T A T U S   R O L E S   A G E   V E R S I O N   L A B E L S   w o r k e r 0   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 0   w o r k e r 1   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 1   w o r k e r 2   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 2   C h o o s e   o n e   o f   y o u r   n o d e s ,   a n d   a d d   a   l a b e l   t o   i t : k u b e c t l   l a b e l   n o d e s   < y o u r - n o d e - n a m e >   d i s k t y p e = s s d   w h e r e   < y o u r - n o d e - n a m e >   i s   t h e   n a m e   o f   y o u r   c h o s e n   n o d e . V e r i f y   t h a t   y o u r   c h o s e n   n o d e   h a s   a   d i s k t y p e = s s d   l a b e l : k u b e c t l   g e t   n o d e s   - - s h o w - l a b e l s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   S T A T U S   R O L E S   A G E   V E R S I O N   L A B E L S   w o r k e r 0   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , d i s k t y p e = s s d , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 0   w o r k e r 1   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 1   w o r k e r 2   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 2   I n   t h e   p r e c e d i n g   o u t p u t ,   y o u   c a n   s e e   t h a t   t h e   w o r k e r 0   n o d e   h a s   a   d i s k t y p e = s s d   l a b e l .   L i s t   t h e   n o d e s   i n   y o u r   c l u s t e r ,   a l o n g   w ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18267"
  },
  {
    "question": "What is Schedule a Pod using required node affinity?",
    "answer": "T h i s   m a n i f e s t   d e s c r i b e s   a   P o d   t h a t   h a s   a   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   n o d e   a f f i n i t y , d i s k t y p e :   s s d .   T h i s   m e a n s   t h a t   t h e   p o d   w i l l   g e t   s c h e d u l e d   o n l y   o n   a   n o d e   t h a t   h a s   a   d i s k t y p e = s s d   l a b e l .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   s p e c :   a f f i n i t y :   n o d e A f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   n o d e S e l e c t o r T e r m s :   -   m a t c h E x p r e s s i o n s :   -   k e y :   d i s k t y p e   o p e r a t o r :   I n   v a l u e s :   -   s s d   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   i m a g e P u l l P o l i c y :   I f N o t P r e s e n t   A p p l y   t h e   m a n i f e s t   t o   c r e a t e   a   P o d   t h a t   i s   s c h e d u l e d   o n t o   y o u r   c h o s e n   n o d e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p o d - n g i n x - r e q u i r e d - a f f i n i t y . y a m l   V e r i f y   t h a t   t h e   p o d   i s   r u n n i n g   o n   y o u r   c h o s e n   n o d e : k u b e c t l   g e t   p o d s   - - o u t p u t = w i d e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   n g i n x   1 / 1   R u n n i n g   0   1 3 s   1 0 . 2 0 0 . 0 . 4   w o r k e r 0   A p p l y   t h e   m a n i f e s t   t o   c r e a t e   a   P o d   t h a t   i s   s c h e d u l e d   o n t o   y o u r   c h o s e n   n o d e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p o d - n g i n x - r e q u i r e d - a f f i n i t y . y a m l   V e r i f y   t h a t   t h e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18268"
  },
  {
    "question": "What is Schedule a Pod using preferred node affinity?",
    "answer": "T h i s   m a n i f e s t   d e s c r i b e s   a   P o d   t h a t   h a s   a   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   n o d e   a f f i n i t y , d i s k t y p e :   s s d .   T h i s   m e a n s   t h a t   t h e   p o d   w i l l   p r e f e r   a   n o d e   t h a t   h a s   a   d i s k t y p e = s s d   l a b e l .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   s p e c :   a f f i n i t y :   n o d e A f f i n i t y :   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   -   w e i g h t :   1   p r e f e r e n c e :   m a t c h E x p r e s s i o n s :   -   k e y :   d i s k t y p e   o p e r a t o r :   I n   v a l u e s :   -   s s d   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   i m a g e P u l l P o l i c y :   I f N o t P r e s e n t   A p p l y   t h e   m a n i f e s t   t o   c r e a t e   a   P o d   t h a t   i s   s c h e d u l e d   o n t o   y o u r   c h o s e n   n o d e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p o d - n g i n x - p r e f e r r e d - a f f i n i t y . y a m l   V e r i f y   t h a t   t h e   p o d   i s   r u n n i n g   o n   y o u r   c h o s e n   n o d e : k u b e c t l   g e t   p o d s   - - o u t p u t = w i d e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   n g i n x   1 / 1   R u n n i n g   0   1 3 s   1 0 . 2 0 0 . 0 . 4   w o r k e r 0   A p p l y   t h e   m a n i f e s t   t o   c r e a t e   a   P o d   t h a t   i s   s c h e d u l e d   o n t o   y o u r   c h o s e n   n o d e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p o d - n g i n x - p r e f e r r e d - a f f i n i t y . y a m l   V e r i f y   t h a t   t h e   p o d   i s   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18269"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   N o d e   A f f i n i t y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18270"
  },
  {
    "question": "What is 3.20 - Configure Pod Initialization?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   a n   I n i t   C o n t a i n e r   t o   i n i t i a l i z e   a   P o d   b e f o r e   a n   a p p l i c a t i o n   C o n t a i n e r   r u n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18271"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18272"
  },
  {
    "question": "What is Create a Pod that has an Init Container?",
    "answer": "I n   t h i s   e x e r c i s e   y o u   c r e a t e   a   P o d   t h a t   h a s   o n e   a p p l i c a t i o n   C o n t a i n e r   a n d   o n e   I n i t   C o n t a i n e r .   T h e   i n i t   c o n t a i n e r   r u n s   t o   c o m p l e t i o n   b e f o r e   t h e   a p p l i c a t i o n   c o n t a i n e r   s t a r t s .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   i n i t - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   p o r t s :   -   c o n t a i n e r P o r t :   8 0   v o l u m e M o u n t s :   -   n a m e :   w o r k d i r   m o u n t P a t h :   / u s r / s h a r e / n g i n x / h t m l   #   T h e s e   c o n t a i n e r s   a r e   r u n   d u r i n g   p o d   i n i t i a l i z a t i o n   i n i t C o n t a i n e r s :   -   n a m e :   i n s t a l l   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   -   w g e t   -   \" - O \"   -   \" / w o r k - d i r / i n d e x . h t m l \"   -   h t t p : / / i n f o . c e r n . c h   v o l u m e M o u n t s :   -   n a m e :   w o r k d i r   m o u n t P a t h :   \" / w o r k - d i r \"   d n s P o l i c y :   D e f a u l t   v o l u m e s :   -   n a m e :   w o r k d i r   e m p t y D i r :   { }   I n   t h e   c o n f i g u r a t i o n   f i l e ,   y o u   c a n   s e e   t h a t   t h e   P o d   h a s   a   V o l u m e   t h a t   t h e   i n i t   c o n t a i n e r   a n d   t h e   a p p l i c a t i o n   c o n t a i n e r   s h a r e .   T h e   i n i t   c o n t a i n e r   m o u n t s   t h e   s h a r e d   V o l u m e   a t   / w o r k - d i r ,   a n d   t h e   a p p l i c a t i o n   c o n t a i n e r   m o u n t s   t h e   s h a r e d   V o l u m e   a t   / u s r / s h a r e / n g i n x / h t m l .   T h e   i n i t   c o n t a i n e r   r u n s   t h e   f o l l o w i n g   c o m m a n d   a n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18273"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   c o m m u n i c a t i n g   b e t w e e n   C o n t a i n e r s   r u n n i n g   i n   t h e   s a m e   P o d . L e a r n   m o r e   a b o u t   I n i t   C o n t a i n e r s . L e a r n   m o r e   a b o u t   V o l u m e s . L e a r n   m o r e   a b o u t   D e b u g g i n g   I n i t   C o n t a i n e r s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18274"
  },
  {
    "question": "What is 3.21 - Attach Handlers to Container Lifecycle Events?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   a t t a c h   h a n d l e r s   t o   C o n t a i n e r   l i f e c y c l e   e v e n t s .   K u b e r n e t e s   s u p p o r t s   t h e   p o s t S t a r t   a n d   p r e S t o p   e v e n t s .   K u b e r n e t e s   s e n d s   t h e   p o s t S t a r t   e v e n t   i m m e d i a t e l y   a f t e r   a   C o n t a i n e r   i s   s t a r t e d ,   a n d   i t   s e n d s   t h e   p r e S t o p   e v e n t   i m m e d i a t e l y   b e f o r e   t h e   C o n t a i n e r   i s   t e r m i n a t e d .   A   C o n t a i n e r   m a y   s p e c i f y   o n e   h a n d l e r   p e r   e v e n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18275"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18276"
  },
  {
    "question": "What is Define postStart and preStop handlers?",
    "answer": "I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   T h e   C o n t a i n e r   h a s   h a n d l e r s   f o r   t h e   p o s t S t a r t   a n d   p r e S t o p   e v e n t s .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   l i f e c y c l e - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   l i f e c y c l e - d e m o - c o n t a i n e r   i m a g e :   n g i n x   l i f e c y c l e :   p o s t S t a r t :   e x e c :   c o m m a n d :   [ \" / b i n / s h \" ,   \" - c \" ,   \" e c h o   H e l l o   f r o m   t h e   p o s t S t a r t   h a n d l e r   >   / u s r / s h a r e / m e s s a g e \" ]   p r e S t o p :   e x e c :   c o m m a n d :   [ \" / b i n / s h \" , \" - c \" , \" n g i n x   - s   q u i t ;   w h i l e   k i l l a l l   - 0   n g i n x ;   d o   s l e e p   1 ;   d o n e \" ]   I n   t h e   c o n f i g u r a t i o n   f i l e ,   y o u   c a n   s e e   t h a t   t h e   p o s t S t a r t   c o m m a n d   w r i t e s   a   m e s s a g e   f i l e   t o   t h e   C o n t a i n e r ' s   / u s r / s h a r e   d i r e c t o r y .   T h e   p r e S t o p   c o m m a n d   s h u t s   d o w n   n g i n x   g r a c e f u l l y .   T h i s   i s   h e l p f u l   i f   t h e   C o n t a i n e r   i s   b e i n g   t e r m i n a t e d   b e c a u s e   o f   a   f a i l u r e .   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / l i f e c y c l e - e v e n t s . y a m l   V e r i f y   t h a t   t h e   C o n t a i n e r   i n   t h e   P o d   i s   r u n n i n g :   k u b e c t l   g e t   p o d   l i f e c y c l e - d e m o   G e t   a   s h e l l   i n t o   t h e   C o n t a i n e r   r u n n i n g   i n   y o u r   P o d :   k u b e c t l   e x e c   - i t   l i f e c y c l e - ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18277"
  },
  {
    "question": "What is Discussion?",
    "answer": "K u b e r n e t e s   s e n d s   t h e   p o s t S t a r t   e v e n t   i m m e d i a t e l y   a f t e r   t h e   C o n t a i n e r   i s   c r e a t e d .   T h e r e   i s   n o   g u a r a n t e e ,   h o w e v e r ,   t h a t   t h e   p o s t S t a r t   h a n d l e r   i s   c a l l e d   b e f o r e   t h e   C o n t a i n e r ' s   e n t r y p o i n t   i s   c a l l e d .   T h e   p o s t S t a r t   h a n d l e r   r u n s   a s y n c h r o n o u s l y   r e l a t i v e   t o   t h e   C o n t a i n e r ' s   c o d e ,   b u t   K u b e r n e t e s '   m a n a g e m e n t   o f   t h e   c o n t a i n e r   b l o c k s   u n t i l   t h e   p o s t S t a r t   h a n d l e r   c o m p l e t e s .   T h e   C o n t a i n e r ' s   s t a t u s   i s   n o t   s e t   t o   R U N N I N G   u n t i l   t h e   p o s t S t a r t   h a n d l e r   c o m p l e t e s .   K u b e r n e t e s   s e n d s   t h e   p r e S t o p   e v e n t   i m m e d i a t e l y   b e f o r e   t h e   C o n t a i n e r   i s   t e r m i n a t e d .   K u b e r n e t e s '   m a n a g e m e n t   o f   t h e   C o n t a i n e r   b l o c k s   u n t i l   t h e   p r e S t o p   h a n d l e r   c o m p l e t e s ,   u n l e s s   t h e   P o d ' s   g r a c e   p e r i o d   e x p i r e s .   F o r   m o r e   d e t a i l s ,   s e e   P o d   L i f e c y c l e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18278"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   C o n t a i n e r   l i f e c y c l e   h o o k s . L e a r n   m o r e   a b o u t   t h e   l i f e c y c l e   o f   a   P o d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18279"
  },
  {
    "question": "What is Reference?",
    "answer": "L i f e c y c l e C o n t a i n e r S e e   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   i n   P o d S p e c",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18280"
  },
  {
    "question": "What is 3.22 - Configure a Pod to Use a ConfigMap?",
    "answer": "M a n y   a p p l i c a t i o n s   r e l y   o n   c o n f i g u r a t i o n   w h i c h   i s   u s e d   d u r i n g   e i t h e r   a p p l i c a t i o n   i n i t i a l i z a t i o n   o r   r u n t i m e .   M o s t   t i m e s ,   t h e r e   i s   a   r e q u i r e m e n t   t o   a d j u s t   v a l u e s   a s s i g n e d   t o   c o n f i g u r a t i o n   p a r a m e t e r s .   C o n f i g M a p s   a r e   a   K u b e r n e t e s   m e c h a n i s m   t h a t   l e t   y o u   i n j e c t   c o n f i g u r a t i o n   d a t a   i n t o   a p p l i c a t i o n   p o d s .   T h e   C o n f i g M a p   c o n c e p t   a l l o w   y o u   t o   d e c o u p l e   c o n f i g u r a t i o n   a r t i f a c t s   f r o m   i m a g e   c o n t e n t   t o   k e e p   c o n t a i n e r i z e d   a p p l i c a t i o n s   p o r t a b l e .   F o r   e x a m p l e ,   y o u   c a n   d o w n l o a d   a n d   r u n   t h e   s a m e   c o n t a i n e r   i m a g e   t o   s p i n   u p   c o n t a i n e r s   f o r   t h e   p u r p o s e s   o f   l o c a l   d e v e l o p m e n t ,   s y s t e m   t e s t ,   o r   r u n n i n g   a   l i v e   e n d - u s e r   w o r k l o a d .   T h i s   p a g e   p r o v i d e s   a   s e r i e s   o f   u s a g e   e x a m p l e s   d e m o n s t r a t i n g   h o w   t o   c r e a t e   C o n f i g M a p s   a n d   c o n f i g u r e   P o d s   u s i n g   d a t a   s t o r e d   i n   C o n f i g M a p s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18281"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   n e e d   t o   h a v e   t h e   w g e t   t o o l   i n s t a l l e d .   I f   y o u   h a v e   a   d i f f e r e n t   t o o l   s u c h   a s   c u r l ,   a n d   y o u   d o   n o t   h a v e   w g e t ,   y o u   w i l l   n e e d   t o   a d a p t   t h e   s t e p   t h a t   d o w n l o a d s   e x a m p l e   d a t a .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18282"
  },
  {
    "question": "What is Create a ConfigMap?",
    "answer": "Y o u   c a n   u s e   e i t h e r   k u b e c t l   c r e a t e   c o n f i g m a p   o r   a   C o n f i g M a p   g e n e r a t o r   i n   k u s t o m i z a t i o n . y a m l   t o   c r e a t e   a   C o n f i g M a p .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18283"
  },
  {
    "question": "What is Create a ConfigMap using kubectl create configmap?",
    "answer": "U s e   t h e   k u b e c t l   c r e a t e   c o n f i g m a p   c o m m a n d   t o   c r e a t e   C o n f i g M a p s   f r o m   d i r e c t o r i e s ,   f i l e s ,   o r   l i t e r a l   v a l u e s :   k u b e c t l   c r e a t e   c o n f i g m a p   < m a p - n a m e >   < d a t a - s o u r c e >   w h e r e   < m a p - n a m e >   i s   t h e   n a m e   y o u   w a n t   t o   a s s i g n   t o   t h e   C o n f i g M a p   a n d   < d a t a - s o u r c e >   i s   t h e   d i r e c t o r y ,   f i l e ,   o r   l i t e r a l   v a l u e   t o   d r a w   t h e   d a t a   f r o m .   T h e   n a m e   o f   a   C o n f i g M a p   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   W h e n   y o u   a r e   c r e a t i n g   a   C o n f i g M a p   b a s e d   o n   a   f i l e ,   t h e   k e y   i n   t h e   < d a t a - s o u r c e >   d e f a u l t s   t o   t h e   b a s e n a m e   o f   t h e   f i l e ,   a n d   t h e   v a l u e   d e f a u l t s   t o   t h e   f i l e   c o n t e n t .   Y o u   c a n   u s e   k u b e c t l   d e s c r i b e   o r   k u b e c t l   g e t   t o   r e t r i e v e   i n f o r m a t i o n   a b o u t   a   C o n f i g M a p .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18284"
  },
  {
    "question": "What is Create a ConfigMap from a directory?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   c r e a t e   c o n f i g m a p   t o   c r e a t e   a   C o n f i g M a p   f r o m   m u l t i p l e   f i l e s   i n   t h e   s a m e   d i r e c t o r y .   W h e n   y o u   a r e   c r e a t i n g   a   C o n f i g M a p   b a s e d   o n   a   d i r e c t o r y ,   k u b e c t l   i d e n t i f i e s   f i l e s   w h o s e   f i l e n a m e   i s   a   v a l i d   k e y   i n   t h e   d i r e c t o r y   a n d   p a c k a g e s   e a c h   o f   t h o s e   f i l e s   i n t o   t h e   n e w   C o n f i g M a p .   A n y   d i r e c t o r y   e n t r i e s   e x c e p t   r e g u l a r   f i l e s   a r e   i g n o r e d   ( f o r   e x a m p l e :   s u b d i r e c t o r i e s ,   s y m l i n k s ,   d e v i c e s ,   p i p e s ,   a n d   m o r e ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18285"
  },
  {
    "question": "What is Note:?",
    "answer": "E a c h   f i l e n a m e   b e i n g   u s e d   f o r   C o n f i g M a p   c r e a t i o n   m u s t   c o n s i s t   o f   o n l y   a c c e p t a b l e   c h a r a c t e r s ,   w h i c h   a r e :   l e t t e r s   ( A   t o   Z   a n d   a   t o   z ) ,   d i g i t s   ( 0   t o   9 ) ,   ' - ' ,   ' _ ' ,   o r   ' . ' .   I f   y o u   u s e   k u b e c t l   c r e a t e   c o n f i g m a p   w i t h   a   d i r e c t o r y   w h e r e   a n y   o f   t h e   f i l e   n a m e s   c o n t a i n s   a n   u n a c c e p t a b l e   c h a r a c t e r ,   t h e   k u b e c t l   c o m m a n d   m a y   f a i l .   T h e   k u b e c t l   c o m m a n d   d o e s   n o t   p r i n t   a n   e r r o r   w h e n   i t   e n c o u n t e r s   a n   i n v a l i d   f i l e n a m e .   C r e a t e   t h e   l o c a l   d i r e c t o r y :   m k d i r   - p   c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p /   N o w ,   d o w n l o a d   t h e   s a m p l e   c o n f i g u r a t i o n   a n d   c r e a t e   t h e   C o n f i g M a p :   #   D o w n l o a d   t h e   s a m p l e   f i l e s   i n t o   ` c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / `   d i r e c t o r y   w g e t   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / c o n f i g m a p / g a m e . p r o p e r t i e s   - O   c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / g a m e . p r o p e r t i e s   w g e t   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / c o n f i g m a p / u i . p r o p e r t i e s   - O   c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / u i . p r o p e r t i e s   #   C r e a t e   t h e   C o n f i g M a p   k u b e c t l   c r e a t e   c o n f i g m a p   g a m e - c o n f i g   - - f r o m - f i l e = c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p /   T h e   a b o v e   c o m m a n d   p a c k a g e s   e a c h   f i l e ,   i n   t h i s   c a s e ,   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18286"
  },
  {
    "question": "What is Create ConfigMaps from files?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   c r e a t e   c o n f i g m a p   t o   c r e a t e   a   C o n f i g M a p   f r o m   a n   i n d i v i d u a l   f i l e ,   o r   f r o m   m u l t i p l e   f i l e s .   F o r   e x a m p l e ,   k u b e c t l   c r e a t e   c o n f i g m a p   g a m e - c o n f i g - 2   - - f r o m - f i l e = c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / g a m e . p r o p e r t i e s   w o u l d   p r o d u c e   t h e   f o l l o w i n g   C o n f i g M a p :   k u b e c t l   d e s c r i b e   c o n f i g m a p s   g a m e - c o n f i g - 2   w h e r e   t h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N a m e :   g a m e - c o n f i g - 2   N a m e s p a c e :   d e f a u l t   L a b e l s :   < n o n e >   A n n o t a t i o n s :   < n o n e >   D a t a   = = = =   g a m e . p r o p e r t i e s :   - - - -   e n e m i e s = a l i e n s   l i v e s = 3   e n e m i e s . c h e a t = t r u e   e n e m i e s . c h e a t . l e v e l = n o G o o d R o t t e n   s e c r e t . c o d e . p a s s p h r a s e = U U D D L R L R B A B A S   s e c r e t . c o d e . a l l o w e d = t r u e   s e c r e t . c o d e . l i v e s = 3 0   Y o u   c a n   p a s s   i n   t h e   - - f r o m - f i l e   a r g u m e n t   m u l t i p l e   t i m e s   t o   c r e a t e   a   C o n f i g M a p   f r o m   m u l t i p l e   d a t a   s o u r c e s .   k u b e c t l   c r e a t e   c o n f i g m a p   g a m e - c o n f i g - 2   - - f r o m - f i l e = c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / g a m e . p r o p e r t i e s   - - f r o m - f i l e = c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / u i . p r o p e r t i e s   Y o u   c a n   d i s p l a y   d e t a i l s   o f   t h e   g a m e - c o n f i g - 2   C o n f i g M a p   u s i n g   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   d e s c r i b e   c o n f i g m a p s   g a m e - c o n f i g - 2   T h e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18287"
  },
  {
    "question": "What is Define the key to use when creating a ConfigMap from a file?",
    "answer": "Y o u   c a n   d e f i n e   a   k e y   o t h e r   t h a n   t h e   f i l e   n a m e   t o   u s e   i n   t h e   d a t a   s e c t i o n   o f   y o u r   C o n f i g M a p   w h e n   u s i n g   t h e   - - f r o m - f i l e   a r g u m e n t :   k u b e c t l   c r e a t e   c o n f i g m a p   g a m e - c o n f i g - 3   - - f r o m - f i l e = < m y - k e y - n a m e > = < p a t h - t o - f i l e >   w h e r e   < m y - k e y - n a m e >   i s   t h e   k e y   y o u   w a n t   t o   u s e   i n   t h e   C o n f i g M a p   a n d   < p a t h - t o - f i l e >   i s   t h e   l o c a t i o n   o f   t h e   d a t a   s o u r c e   f i l e   y o u   w a n t   t h e   k e y   t o   r e p r e s e n t .   F o r   e x a m p l e :   k u b e c t l   c r e a t e   c o n f i g m a p   g a m e - c o n f i g - 3   - - f r o m - f i l e = g a m e - s p e c i a l - k e y = c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / g a m e . p r o p e r t i e s   w o u l d   p r o d u c e   t h e   f o l l o w i n g   C o n f i g M a p :   k u b e c t l   g e t   c o n f i g m a p s   g a m e - c o n f i g - 3   - o   y a m l   w h e r e   t h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   2 0 2 2 - 0 2 - 1 8 T 1 8 : 5 4 : 2 2 Z   n a m e :   g a m e - c o n f i g - 3   n a m e s p a c e :   d e f a u l t   r e s o u r c e V e r s i o n :   \" 5 3 0 \"   u i d :   0 5 f 8 d a 2 2 - d 6 7 1 - 1 1 e 5 - 8 c d 0 - 6 8 f 7 2 8 d b 1 9 8 5   d a t a :   g a m e - s p e c i a l - k e y :   |   e n e m i e s = a l i e n s   l i v e s = 3   e n e m i e s . c h e a t = t r u e   e n e m i e s . c h e a t . l e v e l = n o G o o d R o t t e n   s e c r e t . c o d e . p a s s p h r a s e = U U D D L R L R B A B A S   s e c r e t . c o d e . a l l o w e d = t r u e   s e c r e t . c o d e . l i v e s = 3 0",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18288"
  },
  {
    "question": "What is Create ConfigMaps from literal values?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   c r e a t e   c o n f i g m a p   w i t h   t h e   - - f r o m - l i t e r a l   a r g u m e n t   t o   d e f i n e   a   l i t e r a l   v a l u e   f r o m   t h e   c o m m a n d   l i n e :   k u b e c t l   c r e a t e   c o n f i g m a p   s p e c i a l - c o n f i g   - - f r o m - l i t e r a l = s p e c i a l . h o w = v e r y   - - f r o m - l i t e r a l = s p e c i a l . t y p e = c h a r m   Y o u   c a n   p a s s   i n   m u l t i p l e   k e y - v a l u e   p a i r s .   E a c h   p a i r   p r o v i d e d   o n   t h e   c o m m a n d   l i n e   i s   r e p r e s e n t e d   a s   a   s e p a r a t e   e n t r y   i n   t h e   d a t a   s e c t i o n   o f   t h e   C o n f i g M a p .   k u b e c t l   g e t   c o n f i g m a p s   s p e c i a l - c o n f i g   - o   y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   2 0 2 2 - 0 2 - 1 8 T 1 9 : 1 4 : 3 8 Z   n a m e :   s p e c i a l - c o n f i g   n a m e s p a c e :   d e f a u l t   r e s o u r c e V e r s i o n :   \" 6 5 1 \"   u i d :   d a d c e 0 4 6 - d 6 7 3 - 1 1 e 5 - 8 c d 0 - 6 8 f 7 2 8 d b 1 9 8 5   d a t a :   s p e c i a l . h o w :   v e r y   s p e c i a l . t y p e :   c h a r m",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18289"
  },
  {
    "question": "What is Create a ConfigMap from generator?",
    "answer": "Y o u   c a n   a l s o   c r e a t e   a   C o n f i g M a p   f r o m   g e n e r a t o r s   a n d   t h e n   a p p l y   i t   t o   c r e a t e   t h e   o b j e c t   i n   t h e   c l u s t e r ' s   A P I   s e r v e r .   Y o u   s h o u l d   s p e c i f y   t h e   g e n e r a t o r s   i n   a   k u s t o m i z a t i o n . y a m l   f i l e   w i t h i n   a   d i r e c t o r y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18290"
  },
  {
    "question": "What is Generate ConfigMaps from files?",
    "answer": "F o r   e x a m p l e ,   t o   g e n e r a t e   a   C o n f i g M a p   f r o m   f i l e s   c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / g a m e . p r o p e r t i e s   #   C r e a t e   a   k u s t o m i z a t i o n . y a m l   f i l e   w i t h   C o n f i g M a p G e n e r a t o r   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   c o n f i g M a p G e n e r a t o r :   -   n a m e :   g a m e - c o n f i g - 4   o p t i o n s :   l a b e l s :   g a m e - c o n f i g :   c o n f i g - 4   f i l e s :   -   c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / g a m e . p r o p e r t i e s   E O F   A p p l y   t h e   k u s t o m i z a t i o n   d i r e c t o r y   t o   c r e a t e   t h e   C o n f i g M a p   o b j e c t :   k u b e c t l   a p p l y   - k   .   c o n f i g m a p / g a m e - c o n f i g - 4 - m 9 d m 2 f 9 2 b t   c r e a t e d   Y o u   c a n   c h e c k   t h a t   t h e   C o n f i g M a p   w a s   c r e a t e d   l i k e   t h i s :   k u b e c t l   g e t   c o n f i g m a p   N A M E   D A T A   A G E   g a m e - c o n f i g - 4 - m 9 d m 2 f 9 2 b t   1   3 7 s   a n d   a l s o :   k u b e c t l   d e s c r i b e   c o n f i g m a p s / g a m e - c o n f i g - 4 - m 9 d m 2 f 9 2 b t   N a m e :   g a m e - c o n f i g - 4 - m 9 d m 2 f 9 2 b t   N a m e s p a c e :   d e f a u l t   L a b e l s :   g a m e - c o n f i g = c o n f i g - 4   A n n o t a t i o n s :   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n :   { \" a p i V e r s i o n \" : \" v 1 \" , \" d a t a \" : { \" g a m e . p r o p e r t i e s \" : \" e n e m i e s = a l i e n s \\ n l i v e s = 3 \\ n e n e m i e s . c h e a t = t r u e \\ n e n e m i e s . c h e a t . l e v e l = n o G o o d R o t t e n \\ n s e c r e t . c o d e . p . . .   D a t a   = = = =   g a m e . p r o p e r t i e s :   - - - -   e n e m i e s = a l i e n s   l i v e s = 3   e n e m i e s . c h e a t = ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18291"
  },
  {
    "question": "What is Define the key to use when generating a ConfigMap from a file?",
    "answer": "Y o u   c a n   d e f i n e   a   k e y   o t h e r   t h a n   t h e   f i l e   n a m e   t o   u s e   i n   t h e   C o n f i g M a p   g e n e r a t o r .   F o r   e x a m p l e ,   t o   g e n e r a t e   a   C o n f i g M a p   f r o m   f i l e s   c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / g a m e . p r o p e r t i e s   w i t h   t h e   k e y   g a m e - s p e c i a l - k e y   #   C r e a t e   a   k u s t o m i z a t i o n . y a m l   f i l e   w i t h   C o n f i g M a p G e n e r a t o r   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   c o n f i g M a p G e n e r a t o r :   -   n a m e :   g a m e - c o n f i g - 5   o p t i o n s :   l a b e l s :   g a m e - c o n f i g :   c o n f i g - 5   f i l e s :   -   g a m e - s p e c i a l - k e y = c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / g a m e . p r o p e r t i e s   E O F   A p p l y   t h e   k u s t o m i z a t i o n   d i r e c t o r y   t o   c r e a t e   t h e   C o n f i g M a p   o b j e c t .   k u b e c t l   a p p l y   - k   .   c o n f i g m a p / g a m e - c o n f i g - 5 - m 6 7 d t 6 7 7 9 4   c r e a t e d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18292"
  },
  {
    "question": "What is Generate ConfigMaps from literals?",
    "answer": "T h i s   e x a m p l e   s h o w s   y o u   h o w   t o   c r e a t e   a   C o n f i g M a p   f r o m   t w o   l i t e r a l   k e y / v a l u e   p a i r s :   s p e c i a l . t y p e = c h a r m   a n d   s p e c i a l . h o w = v e r y ,   u s i n g   K u s t o m i z e   a n d   k u b e c t l .   T o   a c h i e v e   t h i s ,   y o u   c a n   s p e c i f y   t h e   C o n f i g M a p   g e n e r a t o r .   C r e a t e   ( o r   r e p l a c e )   k u s t o m i z a t i o n . y a m l   s o   t h a t   i t   h a s   t h e   f o l l o w i n g   c o n t e n t s :   - - -   #   k u s t o m i z a t i o n . y a m l   c o n t e n t s   f o r   c r e a t i n g   a   C o n f i g M a p   f r o m   l i t e r a l s   c o n f i g M a p G e n e r a t o r :   -   n a m e :   s p e c i a l - c o n f i g - 2   l i t e r a l s :   -   s p e c i a l . h o w = v e r y   -   s p e c i a l . t y p e = c h a r m   A p p l y   t h e   k u s t o m i z a t i o n   d i r e c t o r y   t o   c r e a t e   t h e   C o n f i g M a p   o b j e c t :   k u b e c t l   a p p l y   - k   .   c o n f i g m a p / s p e c i a l - c o n f i g - 2 - c 9 2 b 5 m m c f 2   c r e a t e d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18293"
  },
  {
    "question": "What is Interim cleanup?",
    "answer": "B e f o r e   p r o c e e d i n g ,   c l e a n   u p   s o m e   o f   t h e   C o n f i g M a p s   y o u   m a d e :   k u b e c t l   d e l e t e   c o n f i g m a p   s p e c i a l - c o n f i g   k u b e c t l   d e l e t e   c o n f i g m a p   e n v - c o n f i g   k u b e c t l   d e l e t e   c o n f i g m a p   - l   ' g a m e - c o n f i g   i n   ( c o n f i g - 4 , c o n f i g - 5 ) '   N o w   t h a t   y o u   h a v e   l e a r n e d   t o   d e f i n e   C o n f i g M a p s ,   y o u   c a n   m o v e   o n   t o   t h e   n e x t   s e c t i o n ,   a n d   l e a r n   h o w   t o   u s e   t h e s e   o b j e c t s   w i t h   P o d s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18294"
  },
  {
    "question": "What is Define a container environment variable with data from a single ConfigMap?",
    "answer": "D e f i n e   a n   e n v i r o n m e n t   v a r i a b l e   a s   a   k e y - v a l u e   p a i r   i n   a   C o n f i g M a p : k u b e c t l   c r e a t e   c o n f i g m a p   s p e c i a l - c o n f i g   - - f r o m - l i t e r a l = s p e c i a l . h o w = v e r y   A s s i g n   t h e   s p e c i a l . h o w   v a l u e   d e f i n e d   i n   t h e   C o n f i g M a p   t o   t h e   S P E C I A L _ L E V E L _ K E Y   e n v i r o n m e n t   v a r i a b l e   i n   t h e   P o d   s p e c i f i c a t i o n . p o d s / p o d - s i n g l e - c o n f i g m a p - e n v - v a r i a b l e . y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d a p i - t e s t - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   c o m m a n d :   [   \" / b i n / s h \" ,   \" - c \" ,   \" e n v \"   ]   e n v :   #   D e f i n e   t h e   e n v i r o n m e n t   v a r i a b l e   -   n a m e :   S P E C I A L _ L E V E L _ K E Y   v a l u e F r o m :   c o n f i g M a p K e y R e f :   #   T h e   C o n f i g M a p   c o n t a i n i n g   t h e   v a l u e   y o u   w a n t   t o   a s s i g n   t o   S P E C I A L _ L E V E L _ K E Y   n a m e :   s p e c i a l - c o n f i g   #   S p e c i f y   t h e   k e y   a s s o c i a t e d   w i t h   t h e   v a l u e   k e y :   s p e c i a l . h o w   r e s t a r t P o l i c y :   N e v e r   C r e a t e   t h e   P o d : k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / p o d s / p o d - s i n g l e - c o n f i g m a p - e n v - v a r i a b l e . y a m l   N o w ,   t h e   P o d ' s   o u t p u t   i n c l u d e s   e n v i r o n m e n t   v a r i a b l e   S P E C I A L _ L E V E L _ K E Y = v e r y .   D e f i n e   a n   e n v i r o n m e n t   v a r i a b l e   a s   a   k e y - v a l u e   p a i r   i n   a   C o n f i g M a p : ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18295"
  },
  {
    "question": "What is Define container environment variables with data from multiple ConfigMaps?",
    "answer": "A s   w i t h   t h e   p r e v i o u s   e x a m p l e ,   c r e a t e   t h e   C o n f i g M a p s   f i r s t .   H e r e   i s   t h e   m a n i f e s t   y o u   w i l l   u s e :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   s p e c i a l - c o n f i g   n a m e s p a c e :   d e f a u l t   d a t a :   s p e c i a l . h o w :   v e r y   - - -   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   e n v - c o n f i g   n a m e s p a c e :   d e f a u l t   d a t a :   l o g _ l e v e l :   I N F O   C r e a t e   t h e   C o n f i g M a p : k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / c o n f i g m a p / c o n f i g m a p s . y a m l   D e f i n e   t h e   e n v i r o n m e n t   v a r i a b l e s   i n   t h e   P o d   s p e c i f i c a t i o n . p o d s / p o d - m u l t i p l e - c o n f i g m a p - e n v - v a r i a b l e . y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d a p i - t e s t - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   c o m m a n d :   [   \" / b i n / s h \" ,   \" - c \" ,   \" e n v \"   ]   e n v :   -   n a m e :   S P E C I A L _ L E V E L _ K E Y   v a l u e F r o m :   c o n f i g M a p K e y R e f :   n a m e :   s p e c i a l - c o n f i g   k e y :   s p e c i a l . h o w   -   n a m e :   L O G _ L E V E L   v a l u e F r o m :   c o n f i g M a p K e y R e f :   n a m e :   e n v - c o n f i g   k e y :   l o g _ l e v e l   r e s t a r t P o l i c y :   N e v e r   C r e a t e   t h e   P o d : k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / p o d s / p o d - m u l t i p l e - c o n f i g m a p - e n v - v a r i a b l e . y a m l   N o w ,   t h e   P o d ' s   o u t p u t   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18296"
  },
  {
    "question": "What is Configure all key-value pairs in a ConfigMap as container environment variables?",
    "answer": "C r e a t e   a   C o n f i g M a p   c o n t a i n i n g   m u l t i p l e   k e y - v a l u e   p a i r s . c o n f i g m a p / c o n f i g m a p - m u l t i k e y s . y a m l   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   s p e c i a l - c o n f i g   n a m e s p a c e :   d e f a u l t   d a t a :   S P E C I A L _ L E V E L :   v e r y   S P E C I A L _ T Y P E :   c h a r m   C r e a t e   t h e   C o n f i g M a p : k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / c o n f i g m a p / c o n f i g m a p - m u l t i k e y s . y a m l   U s e   e n v F r o m   t o   d e f i n e   a l l   o f   t h e   C o n f i g M a p ' s   d a t a   a s   c o n t a i n e r   e n v i r o n m e n t   v a r i a b l e s .   T h e   k e y   f r o m   t h e   C o n f i g M a p   b e c o m e s   t h e   e n v i r o n m e n t   v a r i a b l e   n a m e   i n   t h e   P o d . p o d s / p o d - c o n f i g m a p - e n v F r o m . y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d a p i - t e s t - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   c o m m a n d :   [   \" / b i n / s h \" ,   \" - c \" ,   \" e n v \"   ]   e n v F r o m :   -   c o n f i g M a p R e f :   n a m e :   s p e c i a l - c o n f i g   r e s t a r t P o l i c y :   N e v e r   C r e a t e   t h e   P o d : k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / p o d s / p o d - c o n f i g m a p - e n v F r o m . y a m l   N o w ,   t h e   P o d ' s   o u t p u t   i n c l u d e s   e n v i r o n m e n t   v a r i a b l e s   S P E C I A L _ L E V E L = v e r y   a n d   S P E C I A L _ T Y P E = c h a r m . O n c e   y o u ' r e   h a p p y   t o   m o v e   o n ,   d e l e t e   t h a t   P o d : k u b e c t l   d e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18297"
  },
  {
    "question": "What is Use ConfigMap-defined environment variables in Pod commands?",
    "answer": "Y o u   c a n   u s e   C o n f i g M a p - d e f i n e d   e n v i r o n m e n t   v a r i a b l e s   i n   t h e   c o m m a n d   a n d   a r g s   o f   a   c o n t a i n e r   u s i n g   t h e   $ ( V A R _ N A M E )   K u b e r n e t e s   s u b s t i t u t i o n   s y n t a x .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   P o d   m a n i f e s t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d a p i - t e s t - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   c o m m a n d :   [   \" / b i n / e c h o \" ,   \" $ ( S P E C I A L _ L E V E L _ K E Y )   $ ( S P E C I A L _ T Y P E _ K E Y ) \"   ]   e n v :   -   n a m e :   S P E C I A L _ L E V E L _ K E Y   v a l u e F r o m :   c o n f i g M a p K e y R e f :   n a m e :   s p e c i a l - c o n f i g   k e y :   S P E C I A L _ L E V E L   -   n a m e :   S P E C I A L _ T Y P E _ K E Y   v a l u e F r o m :   c o n f i g M a p K e y R e f :   n a m e :   s p e c i a l - c o n f i g   k e y :   S P E C I A L _ T Y P E   r e s t a r t P o l i c y :   N e v e r   C r e a t e   t h a t   P o d ,   b y   r u n n i n g :   k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / p o d s / p o d - c o n f i g m a p - e n v - v a r - v a l u e F r o m . y a m l   T h a t   p o d   p r o d u c e s   t h e   f o l l o w i n g   o u t p u t   f r o m   t h e   t e s t - c o n t a i n e r   c o n t a i n e r :   k u b e c t l   l o g s   d a p i - t e s t - p o d   v e r y   c h a r m   O n c e   y o u ' r e   h a p p y   t o   m o v e   o n ,   d e l e t e   t h a t   P o d :   k u b e c t l   d e l e t e   p o d   d a p i - t e s t - p o d   - - n o w",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18298"
  },
  {
    "question": "What is Add ConfigMap data to a Volume?",
    "answer": "A s   e x p l a i n e d   i n   C r e a t e   C o n f i g M a p s   f r o m   f i l e s ,   w h e n   y o u   c r e a t e   a   C o n f i g M a p   u s i n g   - - f r o m - f i l e ,   t h e   f i l e n a m e   b e c o m e s   a   k e y   s t o r e d   i n   t h e   d a t a   s e c t i o n   o f   t h e   C o n f i g M a p .   T h e   f i l e   c o n t e n t s   b e c o m e   t h e   k e y ' s   v a l u e .   T h e   e x a m p l e s   i n   t h i s   s e c t i o n   r e f e r   t o   a   C o n f i g M a p   n a m e d   s p e c i a l - c o n f i g :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   s p e c i a l - c o n f i g   n a m e s p a c e :   d e f a u l t   d a t a :   S P E C I A L _ L E V E L :   v e r y   S P E C I A L _ T Y P E :   c h a r m   C r e a t e   t h e   C o n f i g M a p :   k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / c o n f i g m a p / c o n f i g m a p - m u l t i k e y s . y a m l",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18299"
  },
  {
    "question": "What is Populate a Volume with data stored in a ConfigMap?",
    "answer": "A d d   t h e   C o n f i g M a p   n a m e   u n d e r   t h e   v o l u m e s   s e c t i o n   o f   t h e   P o d   s p e c i f i c a t i o n .   T h i s   a d d s   t h e   C o n f i g M a p   d a t a   t o   t h e   d i r e c t o r y   s p e c i f i e d   a s   v o l u m e M o u n t s . m o u n t P a t h   ( i n   t h i s   c a s e ,   / e t c / c o n f i g ) .   T h e   c o m m a n d   s e c t i o n   l i s t s   d i r e c t o r y   f i l e s   w i t h   n a m e s   t h a t   m a t c h   t h e   k e y s   i n   C o n f i g M a p .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d a p i - t e s t - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   c o m m a n d :   [   \" / b i n / s h \" ,   \" - c \" ,   \" l s   / e t c / c o n f i g / \"   ]   v o l u m e M o u n t s :   -   n a m e :   c o n f i g - v o l u m e   m o u n t P a t h :   / e t c / c o n f i g   v o l u m e s :   -   n a m e :   c o n f i g - v o l u m e   c o n f i g M a p :   #   P r o v i d e   t h e   n a m e   o f   t h e   C o n f i g M a p   c o n t a i n i n g   t h e   f i l e s   y o u   w a n t   #   t o   a d d   t o   t h e   c o n t a i n e r   n a m e :   s p e c i a l - c o n f i g   r e s t a r t P o l i c y :   N e v e r   C r e a t e   t h e   P o d :   k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / p o d s / p o d - c o n f i g m a p - v o l u m e . y a m l   W h e n   t h e   p o d   r u n s ,   t h e   c o m m a n d   l s   / e t c / c o n f i g /   p r o d u c e s   t h e   o u t p u t   b e l o w :   S P E C I A L _ L E V E L   S P E C I A L _ T Y P E   T e x t   d a t a   i s   e x p o s e d   a s   f i l e s   u s i n g   t h e   U T F - 8   c h a r a c t e r   e n c o d i n g .   T o   u s e   s o m e   o t h e r   c h a r a c t e r   e n c o d i n g ,   u s e   b i n a r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18300"
  },
  {
    "question": "What is Note:?",
    "answer": "O n c e   y o u ' r e   h a p p y   t o   m o v e   o n ,   d e l e t e   t h a t   P o d :   k u b e c t l   d e l e t e   p o d   d a p i - t e s t - p o d   - - n o w",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18301"
  },
  {
    "question": "What is Add ConfigMap data to a specific path in the Volume?",
    "answer": "U s e   t h e   p a t h   f i e l d   t o   s p e c i f y   t h e   d e s i r e d   f i l e   p a t h   f o r   s p e c i f i c   C o n f i g M a p   i t e m s .   I n   t h i s   c a s e ,   t h e   S P E C I A L _ L E V E L   i t e m   w i l l   b e   m o u n t e d   i n   t h e   c o n f i g - v o l u m e   v o l u m e   a t   / e t c / c o n f i g / k e y s .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d a p i - t e s t - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   c o m m a n d :   [   \" / b i n / s h \" , \" - c \" , \" c a t   / e t c / c o n f i g / k e y s \"   ]   v o l u m e M o u n t s :   -   n a m e :   c o n f i g - v o l u m e   m o u n t P a t h :   / e t c / c o n f i g   v o l u m e s :   -   n a m e :   c o n f i g - v o l u m e   c o n f i g M a p :   n a m e :   s p e c i a l - c o n f i g   i t e m s :   -   k e y :   S P E C I A L _ L E V E L   p a t h :   k e y s   r e s t a r t P o l i c y :   N e v e r   C r e a t e   t h e   P o d :   k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / p o d s / p o d - c o n f i g m a p - v o l u m e - s p e c i f i c - k e y . y a m l   W h e n   t h e   p o d   r u n s ,   t h e   c o m m a n d   c a t   / e t c / c o n f i g / k e y s   p r o d u c e s   t h e   o u t p u t   b e l o w :   v e r y",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18302"
  },
  {
    "question": "What is Caution:?",
    "answer": "D e l e t e   t h a t   P o d :   k u b e c t l   d e l e t e   p o d   d a p i - t e s t - p o d   - - n o w",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18303"
  },
  {
    "question": "What is Project keys to specific paths and file permissions?",
    "answer": "Y o u   c a n   p r o j e c t   k e y s   t o   s p e c i f i c   p a t h s .   R e f e r   t o   t h e   c o r r e s p o n d i n g   s e c t i o n   i n   t h e   S e c r e t s   g u i d e   f o r   t h e   s y n t a x . Y o u   c a n   s e t   P O S I X   p e r m i s s i o n s   f o r   k e y s .   R e f e r   t o   t h e   c o r r e s p o n d i n g   s e c t i o n   i n   t h e   S e c r e t s   g u i d e   f o r   t h e   s y n t a x .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18304"
  },
  {
    "question": "What is Optional references?",
    "answer": "A   C o n f i g M a p   r e f e r e n c e   m a y   b e   m a r k e d   o p t i o n a l .   I f   t h e   C o n f i g M a p   i s   n o n - e x i s t e n t ,   t h e   m o u n t e d   v o l u m e   w i l l   b e   e m p t y .   I f   t h e   C o n f i g M a p   e x i s t s ,   b u t   t h e   r e f e r e n c e d   k e y   i s   n o n - e x i s t e n t ,   t h e   p a t h   w i l l   b e   a b s e n t   b e n e a t h   t h e   m o u n t   p o i n t .   S e e   O p t i o n a l   C o n f i g M a p s   f o r   m o r e   d e t a i l s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18305"
  },
  {
    "question": "What is Mounted ConfigMaps are updated automatically?",
    "answer": "W h e n   a   m o u n t e d   C o n f i g M a p   i s   u p d a t e d ,   t h e   p r o j e c t e d   c o n t e n t   i s   e v e n t u a l l y   u p d a t e d   t o o .   T h i s   a p p l i e s   i n   t h e   c a s e   w h e r e   a n   o p t i o n a l l y   r e f e r e n c e d   C o n f i g M a p   c o m e s   i n t o   e x i s t e n c e   a f t e r   a   p o d   h a s   s t a r t e d .   K u b e l e t   c h e c k s   w h e t h e r   t h e   m o u n t e d   C o n f i g M a p   i s   f r e s h   o n   e v e r y   p e r i o d i c   s y n c .   H o w e v e r ,   i t   u s e s   i t s   l o c a l   T T L - b a s e d   c a c h e   f o r   g e t t i n g   t h e   c u r r e n t   v a l u e   o f   t h e   C o n f i g M a p .   A s   a   r e s u l t ,   t h e   t o t a l   d e l a y   f r o m   t h e   m o m e n t   w h e n   t h e   C o n f i g M a p   i s   u p d a t e d   t o   t h e   m o m e n t   w h e n   n e w   k e y s   a r e   p r o j e c t e d   t o   t h e   p o d   c a n   b e   a s   l o n g   a s   k u b e l e t   s y n c   p e r i o d   ( 1   m i n u t e   b y   d e f a u l t )   +   T T L   o f   C o n f i g M a p s   c a c h e   ( 1   m i n u t e   b y   d e f a u l t )   i n   k u b e l e t .   Y o u   c a n   t r i g g e r   a n   i m m e d i a t e   r e f r e s h   b y   u p d a t i n g   o n e   o f   t h e   p o d ' s   a n n o t a t i o n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18306"
  },
  {
    "question": "What is Understanding ConfigMaps and Pods?",
    "answer": "T h e   C o n f i g M a p   A P I   r e s o u r c e   s t o r e s   c o n f i g u r a t i o n   d a t a   a s   k e y - v a l u e   p a i r s .   T h e   d a t a   c a n   b e   c o n s u m e d   i n   p o d s   o r   p r o v i d e   t h e   c o n f i g u r a t i o n s   f o r   s y s t e m   c o m p o n e n t s   s u c h   a s   c o n t r o l l e r s .   C o n f i g M a p   i s   s i m i l a r   t o   S e c r e t s ,   b u t   p r o v i d e s   a   m e a n s   o f   w o r k i n g   w i t h   s t r i n g s   t h a t   d o n ' t   c o n t a i n   s e n s i t i v e   i n f o r m a t i o n .   U s e r s   a n d   s y s t e m   c o m p o n e n t s   a l i k e   c a n   s t o r e   c o n f i g u r a t i o n   d a t a   i n   C o n f i g M a p .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18307"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   C o n f i g M a p ' s   d a t a   f i e l d   c o n t a i n s   t h e   c o n f i g u r a t i o n   d a t a .   A s   s h o w n   i n   t h e   e x a m p l e   b e l o w ,   t h i s   c a n   b e   s i m p l e   ( l i k e   i n d i v i d u a l   p r o p e r t i e s   d e f i n e d   u s i n g   - - f r o m - l i t e r a l )   o r   c o m p l e x   ( l i k e   c o n f i g u r a t i o n   f i l e s   o r   J S O N   b l o b s   d e f i n e d   u s i n g   - - f r o m - f i l e ) .   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   2 0 1 6 - 0 2 - 1 8 T 1 9 : 1 4 : 3 8 Z   n a m e :   e x a m p l e - c o n f i g   n a m e s p a c e :   d e f a u l t   d a t a :   #   e x a m p l e   o f   a   s i m p l e   p r o p e r t y   d e f i n e d   u s i n g   - - f r o m - l i t e r a l   e x a m p l e . p r o p e r t y . 1 :   h e l l o   e x a m p l e . p r o p e r t y . 2 :   w o r l d   #   e x a m p l e   o f   a   c o m p l e x   p r o p e r t y   d e f i n e d   u s i n g   - - f r o m - f i l e   e x a m p l e . p r o p e r t y . f i l e :   | -   p r o p e r t y . 1 = v a l u e - 1   p r o p e r t y . 2 = v a l u e - 2   p r o p e r t y . 3 = v a l u e - 3   W h e n   k u b e c t l   c r e a t e s   a   C o n f i g M a p   f r o m   i n p u t s   t h a t   a r e   n o t   A S C I I   o r   U T F - 8 ,   t h e   t o o l   p u t s   t h e s e   i n t o   t h e   b i n a r y D a t a   f i e l d   o f   t h e   C o n f i g M a p ,   a n d   n o t   i n   d a t a .   B o t h   t e x t   a n d   b i n a r y   d a t a   s o u r c e s   c a n   b e   c o m b i n e d   i n   o n e   C o n f i g M a p .   I f   y o u   w a n t   t o   v i e w   t h e   b i n a r y D a t a   k e y s   ( a n d   t h e i r   v a l u e s )   i n   a   C o n f i g M a p ,   y o u   c a n   r u n   k u b e c t l   g e t   c o n f i g m a p   - o   j s o n p a t h = ' { . b i n a r y D a t a } '   < n a m e > .   P o d s   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18308"
  },
  {
    "question": "What is Optional ConfigMaps?",
    "answer": "Y o u   c a n   m a r k   a   r e f e r e n c e   t o   a   C o n f i g M a p   a s   o p t i o n a l   i n   a   P o d   s p e c i f i c a t i o n .   I f   t h e   C o n f i g M a p   d o e s n ' t   e x i s t ,   t h e   c o n f i g u r a t i o n   f o r   w h i c h   i t   p r o v i d e s   d a t a   i n   t h e   P o d   ( f o r   e x a m p l e :   e n v i r o n m e n t   v a r i a b l e ,   m o u n t e d   v o l u m e )   w i l l   b e   e m p t y .   I f   t h e   C o n f i g M a p   e x i s t s ,   b u t   t h e   r e f e r e n c e d   k e y   i s   n o n - e x i s t e n t   t h e   d a t a   i s   a l s o   e m p t y .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   P o d   s p e c i f i c a t i o n   m a r k s   a n   e n v i r o n m e n t   v a r i a b l e   f r o m   a   C o n f i g M a p   a s   o p t i o n a l :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d a p i - t e s t - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   g c r . i o / g o o g l e _ c o n t a i n e r s / b u s y b o x   c o m m a n d :   [ \" / b i n / s h \" ,   \" - c \" ,   \" e n v \" ]   e n v :   -   n a m e :   S P E C I A L _ L E V E L _ K E Y   v a l u e F r o m :   c o n f i g M a p K e y R e f :   n a m e :   a - c o n f i g   k e y :   a k e y   o p t i o n a l :   t r u e   #   m a r k   t h e   v a r i a b l e   a s   o p t i o n a l   r e s t a r t P o l i c y :   N e v e r   I f   y o u   r u n   t h i s   p o d ,   a n d   t h e r e   i s   n o   C o n f i g M a p   n a m e d   a - c o n f i g ,   t h e   o u t p u t   i s   e m p t y .   I f   y o u   r u n   t h i s   p o d ,   a n d   t h e r e   i s   a   C o n f i g M a p   n a m e d   a - c o n f i g   b u t   t h a t   C o n f i g M a p   d o e s n ' t   h a v e   a   k e y   n a m e d   a k e y ,   t h e   o u t p u t   i s   a l s o   e m p t y .   I f   y o u   d o   s e t   a   v a l u e   f o r   a k e y   i n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18309"
  },
  {
    "question": "What is Restrictions?",
    "answer": "Y o u   m u s t   c r e a t e   t h e   C o n f i g M a p   o b j e c t   b e f o r e   y o u   r e f e r e n c e   i t   i n   a   P o d   s p e c i f i c a t i o n .   A l t e r n a t i v e l y ,   m a r k   t h e   C o n f i g M a p   r e f e r e n c e   a s   o p t i o n a l   i n   t h e   P o d   s p e c   ( s e e   O p t i o n a l   C o n f i g M a p s ) .   I f   y o u   r e f e r e n c e   a   C o n f i g M a p   t h a t   d o e s n ' t   e x i s t   a n d   y o u   d o n ' t   m a r k   t h e   r e f e r e n c e   a s   o p t i o n a l ,   t h e   P o d   w o n ' t   s t a r t .   S i m i l a r l y ,   r e f e r e n c e s   t o   k e y s   t h a t   d o n ' t   e x i s t   i n   t h e   C o n f i g M a p   w i l l   a l s o   p r e v e n t   t h e   P o d   f r o m   s t a r t i n g ,   u n l e s s   y o u   m a r k   t h e   k e y   r e f e r e n c e s   a s   o p t i o n a l . I f   y o u   u s e   e n v F r o m   t o   d e f i n e   e n v i r o n m e n t   v a r i a b l e s   f r o m   C o n f i g M a p s ,   k e y s   t h a t   a r e   c o n s i d e r e d   i n v a l i d   w i l l   b e   s k i p p e d .   T h e   p o d   w i l l   b e   a l l o w e d   t o   s t a r t ,   b u t   t h e   i n v a l i d   n a m e s   w i l l   b e   r e c o r d e d   i n   t h e   e v e n t   l o g   ( I n v a l i d V a r i a b l e N a m e s ) .   T h e   l o g   m e s s a g e   l i s t s   e a c h   s k i p p e d   k e y .   F o r   e x a m p l e : k u b e c t l   g e t   e v e n t s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : L A S T S E E N   F I R S T S E E N   C O U N T   N A M E   K I N D   S U B O B J E C T   T Y P E   R E A S O N   S O U R C E   M E S S A G E   0 s   0 s   1   d a p i - t e s t - p o d   P o d   W a r n i n g   I n v a l i d E n v i r o n m e n t V a r i a b l e N a m e s   { k u b e l e t ,   1 2 7 . 0 . 0 . 1 }   K e y s   [ 1 b a d k e y ,   2 a l s o b a d ]   f r o m   t h e   E n v F r o m   c o n f i g M a p   d e f a u ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18310"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "D e l e t e   t h e   C o n f i g M a p s   a n d   P o d s   t h a t   y o u   m a d e :   k u b e c t l   d e l e t e   c o n f i g m a p s / g a m e - c o n f i g   c o n f i g m a p s / g a m e - c o n f i g - 2   c o n f i g m a p s / g a m e - c o n f i g - 3   \\   c o n f i g m a p s / g a m e - c o n f i g - e n v - f i l e   k u b e c t l   d e l e t e   p o d   d a p i - t e s t - p o d   - - n o w   #   Y o u   m i g h t   a l r e a d y   h a v e   r e m o v e d   t h e   n e x t   s e t   k u b e c t l   d e l e t e   c o n f i g m a p s / s p e c i a l - c o n f i g   c o n f i g m a p s / e n v - c o n f i g   k u b e c t l   d e l e t e   c o n f i g m a p   - l   ' g a m e - c o n f i g   i n   ( c o n f i g - 4 , c o n f i g - 5 ) '   R e m o v e   t h e   k u s t o m i z a t i o n . y a m l   f i l e   t h a t   y o u   u s e d   t o   g e n e r a t e   t h e   C o n f i g M a p :   r m   k u s t o m i z a t i o n . y a m l   I f   y o u   c r e a t e d   a   d i r e c t o r y   c o n f i g u r e - p o d - c o n t a i n e r   a n d   n o   l o n g e r   n e e d   i t ,   y o u   s h o u l d   r e m o v e   t h a t   t o o ,   o r   m o v e   i t   i n t o   t h e   t r a s h   c a n   /   d e l e t e d   f i l e s   l o c a t i o n .   r m   - r   c o n f i g u r e - p o d - c o n t a i n e r",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18311"
  },
  {
    "question": "What is What's next?",
    "answer": "F o l l o w   a   r e a l   w o r l d   e x a m p l e   o f   C o n f i g u r i n g   R e d i s   u s i n g   a   C o n f i g M a p . F o l l o w   a n   e x a m p l e   o f   U p d a t i n g   c o n f i g u r a t i o n   v i a   a   C o n f i g M a p .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18312"
  },
  {
    "question": "What is 3.23 - Share Process Namespace between Containers in a Pod?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   p r o c e s s   n a m e s p a c e   s h a r i n g   f o r   a   p o d .   W h e n   p r o c e s s   n a m e s p a c e   s h a r i n g   i s   e n a b l e d ,   p r o c e s s e s   i n   a   c o n t a i n e r   a r e   v i s i b l e   t o   a l l   o t h e r   c o n t a i n e r s   i n   t h e   s a m e   p o d .   Y o u   c a n   u s e   t h i s   f e a t u r e   t o   c o n f i g u r e   c o o p e r a t i n g   c o n t a i n e r s ,   s u c h   a s   a   l o g   h a n d l e r   s i d e c a r   c o n t a i n e r ,   o r   t o   t r o u b l e s h o o t   c o n t a i n e r   i m a g e s   t h a t   d o n ' t   i n c l u d e   d e b u g g i n g   u t i l i t i e s   l i k e   a   s h e l l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18313"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18314"
  },
  {
    "question": "What is Configure a Pod?",
    "answer": "P r o c e s s   n a m e s p a c e   s h a r i n g   i s   e n a b l e d   u s i n g   t h e   s h a r e P r o c e s s N a m e s p a c e   f i e l d   o f   . s p e c   f o r   a   P o d .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   s p e c :   s h a r e P r o c e s s N a m e s p a c e :   t r u e   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   -   n a m e :   s h e l l   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ \" s l e e p \" ,   \" 3 6 0 0 \" ]   s e c u r i t y C o n t e x t :   c a p a b i l i t i e s :   a d d :   -   S Y S _ P T R A C E   s t d i n :   t r u e   t t y :   t r u e   C r e a t e   t h e   p o d   n g i n x   o n   y o u r   c l u s t e r : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s h a r e - p r o c e s s - n a m e s p a c e . y a m l   A t t a c h   t o   t h e   s h e l l   c o n t a i n e r   a n d   r u n   p s : k u b e c t l   e x e c   - i t   n g i n x   - c   s h e l l   - -   / b i n / s h   I f   y o u   d o n ' t   s e e   a   c o m m a n d   p r o m p t ,   t r y   p r e s s i n g   e n t e r .   I n   t h e   c o n t a i n e r   s h e l l : #   r u n   t h i s   i n s i d e   t h e   \" s h e l l \"   c o n t a i n e r   p s   a x   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : P I D   U S E R   T I M E   C O M M A N D   1   r o o t   0 : 0 0   / p a u s e   8   r o o t   0 : 0 0   n g i n x :   m a s t e r   p r o c e s s   n g i n x   - g   d a e m o n   o f f ;   1 4   1 0 1   0 : 0 0   n g i n x :   w o r k e r   p r o c e s s   1 5   r o o t   0 : 0 0   s h   2 1   r o o t   0 : 0 0   p s   a x   C r e a t e   t h e   p o d   n g i n x   o n   y o u r   c l u s t e r :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s h a r e - p r o c e s s - n a m e s p a c e . y a m l   A t t a c h   t o   t h ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18315"
  },
  {
    "question": "What is Understanding process namespace sharing?",
    "answer": "P o d s   s h a r e   m a n y   r e s o u r c e s   s o   i t   m a k e s   s e n s e   t h e y   w o u l d   a l s o   s h a r e   a   p r o c e s s   n a m e s p a c e .   S o m e   c o n t a i n e r s   m a y   e x p e c t   t o   b e   i s o l a t e d   f r o m   o t h e r s ,   t h o u g h ,   s o   i t ' s   i m p o r t a n t   t o   u n d e r s t a n d   t h e   d i f f e r e n c e s :   T h e   c o n t a i n e r   p r o c e s s   n o   l o n g e r   h a s   P I D   1 .   S o m e   c o n t a i n e r s   r e f u s e   t o   s t a r t   w i t h o u t   P I D   1   ( f o r   e x a m p l e ,   c o n t a i n e r s   u s i n g   s y s t e m d )   o r   r u n   c o m m a n d s   l i k e   k i l l   - H U P   1   t o   s i g n a l   t h e   c o n t a i n e r   p r o c e s s .   I n   p o d s   w i t h   a   s h a r e d   p r o c e s s   n a m e s p a c e ,   k i l l   - H U P   1   w i l l   s i g n a l   t h e   p o d   s a n d b o x   ( / p a u s e   i n   t h e   a b o v e   e x a m p l e ) . P r o c e s s e s   a r e   v i s i b l e   t o   o t h e r   c o n t a i n e r s   i n   t h e   p o d .   T h i s   i n c l u d e s   a l l   i n f o r m a t i o n   v i s i b l e   i n   / p r o c ,   s u c h   a s   p a s s w o r d s   t h a t   w e r e   p a s s e d   a s   a r g u m e n t s   o r   e n v i r o n m e n t   v a r i a b l e s .   T h e s e   a r e   p r o t e c t e d   o n l y   b y   r e g u l a r   U n i x   p e r m i s s i o n s . C o n t a i n e r   f i l e s y s t e m s   a r e   v i s i b l e   t o   o t h e r   c o n t a i n e r s   i n   t h e   p o d   t h r o u g h   t h e   / p r o c / $ p i d / r o o t   l i n k .   T h i s   m a k e s   d e b u g g i n g   e a s i e r ,   b u t   i t   a l s o   m e a n s   t h a t   f i l e s y s t e m   s e c r e t s   a r e   p r o t e c t e d   o n l y   b y   f i l e s y s t e m   p e r m i s s i o n s .   T h e   c o n t a i n e r   p r o c e s s   n o   l o n g e r   h a s   P I D   1 .   S o m e   c o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18316"
  },
  {
    "question": "What is 3.24 - Use a User Namespace With a Pod?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   a   u s e r   n a m e s p a c e   f o r   p o d s .   T h i s   a l l o w s   y o u   t o   i s o l a t e   t h e   u s e r   r u n n i n g   i n s i d e   t h e   c o n t a i n e r   f r o m   t h e   o n e   i n   t h e   h o s t .   A   p r o c e s s   r u n n i n g   a s   r o o t   i n   a   c o n t a i n e r   c a n   r u n   a s   a   d i f f e r e n t   ( n o n - r o o t )   u s e r   i n   t h e   h o s t ;   i n   o t h e r   w o r d s ,   t h e   p r o c e s s   h a s   f u l l   p r i v i l e g e s   f o r   o p e r a t i o n s   i n s i d e   t h e   u s e r   n a m e s p a c e ,   b u t   i s   u n p r i v i l e g e d   f o r   o p e r a t i o n s   o u t s i d e   t h e   n a m e s p a c e .   Y o u   c a n   u s e   t h i s   f e a t u r e   t o   r e d u c e   t h e   d a m a g e   a   c o m p r o m i s e d   c o n t a i n e r   c a n   d o   t o   t h e   h o s t   o r   o t h e r   p o d s   i n   t h e   s a m e   n o d e .   T h e r e   a r e   s e v e r a l   s e c u r i t y   v u l n e r a b i l i t i e s   r a t e d   e i t h e r   H I G H   o r   C R I T I C A L   t h a t   w e r e   n o t   e x p l o i t a b l e   w h e n   u s e r   n a m e s p a c e s   i s   a c t i v e .   I t   i s   e x p e c t e d   u s e r   n a m e s p a c e   w i l l   m i t i g a t e   s o m e   f u t u r e   v u l n e r a b i l i t i e s   t o o .   W i t h o u t   u s i n g   a   u s e r   n a m e s p a c e   a   c o n t a i n e r   r u n n i n g   a s   r o o t ,   i n   t h e   c a s e   o f   a   c o n t a i n e r   b r e a k o u t ,   h a s   r o o t   p r i v i l e g e s   o n   t h e   n o d e .   A n d   i f   s o m e   c a p a b i l i t y   w e r e   g r a n t e d   t o   t h e   c o n t a i n e r ,   t h e   c a p a b i l i t i e s   a r e   v a l i d   o n   t h e   h o s t   t o o .   N o n e   o f   t h i s   i s   t r u e   w h e n   u s e r   n a m e s p a c e s   a r e   u s e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18317"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 2 5 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18318"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   c l u s t e r   t h a t   y o u ' r e   u s i n g   m u s t   i n c l u d e   a t   l e a s t   o n e   n o d e   t h a t   m e e t s   t h e   r e q u i r e m e n t s   f o r   u s i n g   u s e r   n a m e s p a c e s   w i t h   P o d s .   I f   y o u   h a v e   a   m i x t u r e   o f   n o d e s   a n d   o n l y   s o m e   o f   t h e   n o d e s   p r o v i d e   u s e r   n a m e s p a c e   s u p p o r t   f o r   P o d s ,   y o u   a l s o   n e e d   t o   e n s u r e   t h a t   t h e   u s e r   n a m e s p a c e   P o d s   a r e   s c h e d u l e d   t o   s u i t a b l e   n o d e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18319"
  },
  {
    "question": "What is Run a Pod that uses a user namespace?",
    "answer": "A   u s e r   n a m e s p a c e   f o r   a   p o d   i s   e n a b l e d   s e t t i n g   t h e   h o s t U s e r s   f i e l d   o f   . s p e c   t o   f a l s e .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   u s e r n s   s p e c :   h o s t U s e r s :   f a l s e   c o n t a i n e r s :   -   n a m e :   s h e l l   c o m m a n d :   [ \" s l e e p \" ,   \" i n f i n i t y \" ]   i m a g e :   d e b i a n   C r e a t e   t h e   p o d   o n   y o u r   c l u s t e r : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / u s e r - n a m e s p a c e s - s t a t e l e s s . y a m l   E x e c   i n t o   t h e   p o d   a n d   r u n   r e a d l i n k   / p r o c / s e l f / n s / u s e r : k u b e c t l   e x e c   - t i   u s e r n s   - -   b a s h   C r e a t e   t h e   p o d   o n   y o u r   c l u s t e r :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / u s e r - n a m e s p a c e s - s t a t e l e s s . y a m l   E x e c   i n t o   t h e   p o d   a n d   r u n   r e a d l i n k   / p r o c / s e l f / n s / u s e r :   k u b e c t l   e x e c   - t i   u s e r n s   - -   b a s h   R u n   t h i s   c o m m a n d :   r e a d l i n k   / p r o c / s e l f / n s / u s e r   T h e   o u t p u t   i s   s i m i l a r   t o :   u s e r : [ 4 0 2 6 5 3 1 8 3 7 ]   A l s o   r u n :   c a t   / p r o c / s e l f / u i d _ m a p   T h e   o u t p u t   i s   s i m i l a r   t o :   0   8 3 3 6 1 7 9 2 0   6 5 5 3 6   T h e n ,   o p e n   a   s h e l l   i n   t h e   h o s t   a n d   r u n   t h e   s a m e   c o m m a n d s .   T h e   r e a d l i n k   c o m m a n d   s h o w s   t h e   u s e r   n a m e s p a c e   t h e   p r o c e s s   i s   r u n n i n g   i n .   I t   s h o u l d   b e   d i f f e r e n t   w h e n   i t   i s   r u n   o n   t h e   h o s t   a n d   i n s i d e   t h e   c o n t a i n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18320"
  },
  {
    "question": "What is 3.25 - Use an Image Volume With a Pod?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   a   p o d   u s i n g   i m a g e   v o l u m e s .   T h i s   a l l o w s   y o u   t o   m o u n t   c o n t e n t   f r o m   O C I   r e g i s t r i e s   i n s i d e   c o n t a i n e r s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18321"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 3 1 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18322"
  },
  {
    "question": "What is Run a Pod that uses an image volume?",
    "answer": "A n   i m a g e   v o l u m e   f o r   a   p o d   i s   e n a b l e d   b y   s e t t i n g   t h e   v o l u m e s . [ * ] . i m a g e   f i e l d   o f   . s p e c   t o   a   v a l i d   r e f e r e n c e   a n d   c o n s u m i n g   i t   i n   t h e   v o l u m e M o u n t s   o f   t h e   c o n t a i n e r .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   i m a g e - v o l u m e   s p e c :   c o n t a i n e r s :   -   n a m e :   s h e l l   c o m m a n d :   [ \" s l e e p \" ,   \" i n f i n i t y \" ]   i m a g e :   d e b i a n   v o l u m e M o u n t s :   -   n a m e :   v o l u m e   m o u n t P a t h :   / v o l u m e   v o l u m e s :   -   n a m e :   v o l u m e   i m a g e :   r e f e r e n c e :   q u a y . i o / c r i o / a r t i f a c t : v 2   p u l l P o l i c y :   I f N o t P r e s e n t   C r e a t e   t h e   p o d   o n   y o u r   c l u s t e r : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i m a g e - v o l u m e s . y a m l   A t t a c h   t o   t h e   c o n t a i n e r : k u b e c t l   a t t a c h   - i t   i m a g e - v o l u m e   b a s h   C h e c k   t h e   c o n t e n t   o f   a   f i l e   i n   t h e   v o l u m e : c a t   / v o l u m e / d i r / f i l e   T h e   o u t p u t   i s   s i m i l a r   t o : 1   Y o u   c a n   a l s o   c h e c k   a n o t h e r   f i l e   i n   a   d i f f e r e n t   p a t h : c a t   / v o l u m e / f i l e   T h e   o u t p u t   i s   s i m i l a r   t o : 2   C r e a t e   t h e   p o d   o n   y o u r   c l u s t e r :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i m a g e - v o l u m e s . y a m l   A t t a c h   t o   t h e   c o n t a i n e r :   k u b e c t l   a t t a c h   - i t   i m a g e - v o l u m e   b a s h   C h e c k   t h e   c o n t e n t   o f   a   f i l e   i n   t h e   v o l u m e :   c a t   / v o l u m ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18323"
  },
  {
    "question": "What is Use subPath (or subPathExpr)?",
    "answer": "I t   i s   p o s s i b l e   t o   u t i l i z e   s u b P a t h   o r   s u b P a t h E x p r   f r o m   K u b e r n e t e s   v 1 . 3 3   w h e n   u s i n g   t h e   i m a g e   v o l u m e   f e a t u r e .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   i m a g e - v o l u m e   s p e c :   c o n t a i n e r s :   -   n a m e :   s h e l l   c o m m a n d :   [ \" s l e e p \" ,   \" i n f i n i t y \" ]   i m a g e :   d e b i a n   v o l u m e M o u n t s :   -   n a m e :   v o l u m e   m o u n t P a t h :   / v o l u m e   s u b P a t h :   d i r   v o l u m e s :   -   n a m e :   v o l u m e   i m a g e :   r e f e r e n c e :   q u a y . i o / c r i o / a r t i f a c t : v 2   p u l l P o l i c y :   I f N o t P r e s e n t   C r e a t e   t h e   p o d   o n   y o u r   c l u s t e r : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i m a g e - v o l u m e s - s u b p a t h . y a m l   A t t a c h   t o   t h e   c o n t a i n e r : k u b e c t l   a t t a c h   - i t   i m a g e - v o l u m e   b a s h   C h e c k   t h e   c o n t e n t   o f   t h e   f i l e   f r o m   t h e   d i r   s u b   p a t h   i n   t h e   v o l u m e : c a t   / v o l u m e / f i l e   T h e   o u t p u t   i s   s i m i l a r   t o : 1   C r e a t e   t h e   p o d   o n   y o u r   c l u s t e r :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i m a g e - v o l u m e s - s u b p a t h . y a m l   A t t a c h   t o   t h e   c o n t a i n e r :   k u b e c t l   a t t a c h   - i t   i m a g e - v o l u m e   b a s h   C h e c k   t h e   c o n t e n t   o f   t h e   f i l e   f r o m   t h e   d i r   s u b   p a t h   i n   t h e   v o l u m e :   c a t   / v o l u m e / f i l e   T h e   o u t p u t   i s   s i m i l a r   t o :   1",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18324"
  },
  {
    "question": "What is Further reading?",
    "answer": "i m a g e   v o l u m e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18325"
  },
  {
    "question": "What is 3.26 - Create static Pods?",
    "answer": "S t a t i c   P o d s   a r e   m a n a g e d   d i r e c t l y   b y   t h e   k u b e l e t   d a e m o n   o n   a   s p e c i f i c   n o d e ,   w i t h o u t   t h e   A P I   s e r v e r   o b s e r v i n g   t h e m .   U n l i k e   P o d s   t h a t   a r e   m a n a g e d   b y   t h e   c o n t r o l   p l a n e   ( f o r   e x a m p l e ,   a   D e p l o y m e n t ) ;   i n s t e a d ,   t h e   k u b e l e t   w a t c h e s   e a c h   s t a t i c   P o d   ( a n d   r e s t a r t s   i t   i f   i t   f a i l s ) .   S t a t i c   P o d s   a r e   a l w a y s   b o u n d   t o   o n e   K u b e l e t   o n   a   s p e c i f i c   n o d e .   T h e   k u b e l e t   a u t o m a t i c a l l y   t r i e s   t o   c r e a t e   a   m i r r o r   P o d   o n   t h e   K u b e r n e t e s   A P I   s e r v e r   f o r   e a c h   s t a t i c   P o d .   T h i s   m e a n s   t h a t   t h e   P o d s   r u n n i n g   o n   a   n o d e   a r e   v i s i b l e   o n   t h e   A P I   s e r v e r ,   b u t   c a n n o t   b e   c o n t r o l l e d   f r o m   t h e r e .   T h e   P o d   n a m e s   w i l l   b e   s u f f i x e d   w i t h   t h e   n o d e   h o s t n a m e   w i t h   a   l e a d i n g   h y p h e n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18326"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   T h i s   p a g e   a s s u m e s   y o u ' r e   u s i n g   C R I - O   t o   r u n   P o d s ,   a n d   t h a t   y o u ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18327"
  },
  {
    "question": "What is Create a static pod?",
    "answer": "Y o u   c a n   c o n f i g u r e   a   s t a t i c   P o d   w i t h   e i t h e r   a   f i l e   s y s t e m   h o s t e d   c o n f i g u r a t i o n   f i l e   o r   a   w e b   h o s t e d   c o n f i g u r a t i o n   f i l e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18328"
  },
  {
    "question": "What is Filesystem-hosted static Pod manifest?",
    "answer": "M a n i f e s t s   a r e   s t a n d a r d   P o d   d e f i n i t i o n s   i n   J S O N   o r   Y A M L   f o r m a t   i n   a   s p e c i f i c   d i r e c t o r y .   U s e   t h e   s t a t i c P o d P a t h :   < t h e   d i r e c t o r y >   f i e l d   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e ,   w h i c h   p e r i o d i c a l l y   s c a n s   t h e   d i r e c t o r y   a n d   c r e a t e s / d e l e t e s   s t a t i c   P o d s   a s   Y A M L / J S O N   f i l e s   a p p e a r / d i s a p p e a r   t h e r e .   N o t e   t h a t   t h e   k u b e l e t   w i l l   i g n o r e   f i l e s   s t a r t i n g   w i t h   d o t s   w h e n   s c a n n i n g   t h e   s p e c i f i e d   d i r e c t o r y .   F o r   e x a m p l e ,   t h i s   i s   h o w   t o   s t a r t   a   s i m p l e   w e b   s e r v e r   a s   a   s t a t i c   P o d :   C h o o s e   a   n o d e   w h e r e   y o u   w a n t   t o   r u n   t h e   s t a t i c   P o d .   I n   t h i s   e x a m p l e ,   i t ' s   m y - n o d e 1 . s s h   m y - n o d e 1   C h o o s e   a   d i r e c t o r y ,   s a y   / e t c / k u b e r n e t e s / m a n i f e s t s   a n d   p l a c e   a   w e b   s e r v e r   P o d   d e f i n i t i o n   t h e r e ,   f o r   e x a m p l e   / e t c / k u b e r n e t e s / m a n i f e s t s / s t a t i c - w e b . y a m l : #   R u n   t h i s   c o m m a n d   o n   t h e   n o d e   w h e r e   k u b e l e t   i s   r u n n i n g   m k d i r   - p   / e t c / k u b e r n e t e s / m a n i f e s t s /   c a t   < < E O F   > / e t c / k u b e r n e t e s / m a n i f e s t s / s t a t i c - w e b . y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s t a t i c - w e b   l a b e l s :   r o l e :   m y r o l e   s p e c :   c o n t a i n e r s :   -   n a m e :   w e b   i m a g e :   n g i n x   p o r t s :   -   n a m e :   w e b   c o n t a i n e r P o r t :   8 0   p r o t o c o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18329"
  },
  {
    "question": "What is Web-hosted static pod manifest?",
    "answer": "K u b e l e t   p e r i o d i c a l l y   d o w n l o a d s   a   f i l e   s p e c i f i e d   b y   - - m a n i f e s t - u r l = < U R L >   a r g u m e n t   a n d   i n t e r p r e t s   i t   a s   a   J S O N / Y A M L   f i l e   t h a t   c o n t a i n s   P o d   d e f i n i t i o n s .   S i m i l a r   t o   h o w   f i l e s y s t e m - h o s t e d   m a n i f e s t s   w o r k ,   t h e   k u b e l e t   r e f e t c h e s   t h e   m a n i f e s t   o n   a   s c h e d u l e .   I f   t h e r e   a r e   c h a n g e s   t o   t h e   l i s t   o f   s t a t i c   P o d s ,   t h e   k u b e l e t   a p p l i e s   t h e m .   T o   u s e   t h i s   a p p r o a c h :   C r e a t e   a   Y A M L   f i l e   a n d   s t o r e   i t   o n   a   w e b   s e r v e r   s o   t h a t   y o u   c a n   p a s s   t h e   U R L   o f   t h a t   f i l e   t o   t h e   k u b e l e t . a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s t a t i c - w e b   l a b e l s :   r o l e :   m y r o l e   s p e c :   c o n t a i n e r s :   -   n a m e :   w e b   i m a g e :   n g i n x   p o r t s :   -   n a m e :   w e b   c o n t a i n e r P o r t :   8 0   p r o t o c o l :   T C P   C o n f i g u r e   t h e   k u b e l e t   o n   y o u r   s e l e c t e d   n o d e   t o   u s e   t h i s   w e b   m a n i f e s t   b y   r u n n i n g   i t   w i t h   - - m a n i f e s t - u r l = < m a n i f e s t - u r l > .   O n   F e d o r a ,   e d i t   / e t c / k u b e r n e t e s / k u b e l e t   t o   i n c l u d e   t h i s   l i n e : K U B E L E T _ A R G S = \" - - c l u s t e r - d n s = 1 0 . 2 5 4 . 0 . 1 0   - - c l u s t e r - d o m a i n = k u b e . l o c a l   - - m a n i f e s t - u r l = < m a n i f e s t - u r l > \"   R e s t a r t   t h e   k u b e l e t .   O n   F e d o r a ,   y o u   w o u l d   r u n : #   R u n   t h i s   c o m m a n d   o n   t h e   n o d e   w h e r e   t h e   k u b e l e t   i s   r u n n i ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18330"
  },
  {
    "question": "What is Observe static pod behavior?",
    "answer": "W h e n   t h e   k u b e l e t   s t a r t s ,   i t   a u t o m a t i c a l l y   s t a r t s   a l l   d e f i n e d   s t a t i c   P o d s .   A s   y o u   h a v e   d e f i n e d   a   s t a t i c   P o d   a n d   r e s t a r t e d   t h e   k u b e l e t ,   t h e   n e w   s t a t i c   P o d   s h o u l d   a l r e a d y   b e   r u n n i n g .   Y o u   c a n   v i e w   r u n n i n g   c o n t a i n e r s   ( i n c l u d i n g   s t a t i c   P o d s )   b y   r u n n i n g   ( o n   t h e   n o d e ) :   #   R u n   t h i s   c o m m a n d   o n   t h e   n o d e   w h e r e   t h e   k u b e l e t   i s   r u n n i n g   c r i c t l   p s   T h e   o u t p u t   m i g h t   b e   s o m e t h i n g   l i k e :   C O N T A I N E R   I M A G E   C R E A T E D   S T A T E   N A M E   A T T E M P T   P O D   I D   1 2 9 f d 7 d 3 8 2 0 1 8   d o c k e r . i o / l i b r a r y / n g i n x @ s h a 2 5 6 : . . .   1 1   m i n u t e s   a g o   R u n n i n g   w e b   0   3 4 5 3 3 c 6 7 2 9 1 0 6",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18331"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   s e e   t h e   m i r r o r   P o d   o n   t h e   A P I   s e r v e r :   k u b e c t l   g e t   p o d s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   s t a t i c - w e b - m y - n o d e 1   1 / 1   R u n n i n g   0   2 m",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18332"
  },
  {
    "question": "What is Note:?",
    "answer": "L a b e l s   f r o m   t h e   s t a t i c   P o d   a r e   p r o p a g a t e d   i n t o   t h e   m i r r o r   P o d .   Y o u   c a n   u s e   t h o s e   l a b e l s   a s   n o r m a l   v i a   s e l e c t o r s ,   e t c .   I f   y o u   t r y   t o   u s e   k u b e c t l   t o   d e l e t e   t h e   m i r r o r   P o d   f r o m   t h e   A P I   s e r v e r ,   t h e   k u b e l e t   d o e s n ' t   r e m o v e   t h e   s t a t i c   P o d :   k u b e c t l   d e l e t e   p o d   s t a t i c - w e b - m y - n o d e 1   p o d   \" s t a t i c - w e b - m y - n o d e 1 \"   d e l e t e d   Y o u   c a n   s e e   t h a t   t h e   P o d   i s   s t i l l   r u n n i n g :   k u b e c t l   g e t   p o d s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   s t a t i c - w e b - m y - n o d e 1   1 / 1   R u n n i n g   0   4 s   B a c k   o n   y o u r   n o d e   w h e r e   t h e   k u b e l e t   i s   r u n n i n g ,   y o u   c a n   t r y   t o   s t o p   t h e   c o n t a i n e r   m a n u a l l y .   Y o u ' l l   s e e   t h a t ,   a f t e r   a   t i m e ,   t h e   k u b e l e t   w i l l   n o t i c e   a n d   w i l l   r e s t a r t   t h e   P o d   a u t o m a t i c a l l y :   #   R u n   t h e s e   c o m m a n d s   o n   t h e   n o d e   w h e r e   t h e   k u b e l e t   i s   r u n n i n g   c r i c t l   s t o p   1 2 9 f d 7 d 3 8 2 0 1 8   #   r e p l a c e   w i t h   t h e   I D   o f   y o u r   c o n t a i n e r   s l e e p   2 0   c r i c t l   p s   C O N T A I N E R   I M A G E   C R E A T E D   S T A T E   N A M E   A T T E M P T   P O D   I D   8 9 d b 4 5 5 3 e 1 e e b   d o c k e r . i o / l i b r a r y / n g i n x @ s h a 2 5 6 : . . .   1 9   s e c o n d s   a g o   R u n n i n g   w e b   1   3 4 5 3 3 c 6 7 2 9 1 0 6   O n c e   y o u   i d e n t i f y   t h e   r i g h t   c o n t a i n e r ,   y o u   c a n   g e t   t h e   l o g s   f o r   t h a t   c o n t a i n e r   w i t h   c r i c t l ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18333"
  },
  {
    "question": "What is Dynamic addition and removal of static pods?",
    "answer": "T h e   r u n n i n g   k u b e l e t   p e r i o d i c a l l y   s c a n s   t h e   c o n f i g u r e d   d i r e c t o r y   ( / e t c / k u b e r n e t e s / m a n i f e s t s   i n   o u r   e x a m p l e )   f o r   c h a n g e s   a n d   a d d s / r e m o v e s   P o d s   a s   f i l e s   a p p e a r / d i s a p p e a r   i n   t h i s   d i r e c t o r y .   #   T h i s   a s s u m e s   y o u   a r e   u s i n g   f i l e s y s t e m - h o s t e d   s t a t i c   P o d   c o n f i g u r a t i o n   #   R u n   t h e s e   c o m m a n d s   o n   t h e   n o d e   w h e r e   t h e   c o n t a i n e r   i s   r u n n i n g   #   m v   / e t c / k u b e r n e t e s / m a n i f e s t s / s t a t i c - w e b . y a m l   / t m p   s l e e p   2 0   c r i c t l   p s   #   Y o u   s e e   t h a t   n o   n g i n x   c o n t a i n e r   i s   r u n n i n g   m v   / t m p / s t a t i c - w e b . y a m l   / e t c / k u b e r n e t e s / m a n i f e s t s /   s l e e p   2 0   c r i c t l   p s   C O N T A I N E R   I M A G E   C R E A T E D   S T A T E   N A M E   A T T E M P T   P O D   I D   f 4 2 7 6 3 8 8 7 1 c 3 5   d o c k e r . i o / l i b r a r y / n g i n x @ s h a 2 5 6 : . . .   1 9   s e c o n d s   a g o   R u n n i n g   w e b   1   3 4 5 3 3 c 6 7 2 9 1 0 6",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18334"
  },
  {
    "question": "What is What's next?",
    "answer": "G e n e r a t e   s t a t i c   P o d   m a n i f e s t s   f o r   c o n t r o l   p l a n e   c o m p o n e n t s G e n e r a t e   s t a t i c   P o d   m a n i f e s t   f o r   l o c a l   e t c d D e b u g g i n g   K u b e r n e t e s   n o d e s   w i t h   c r i c t l L e a r n   m o r e   a b o u t   c r i c t l . M a p   d o c k e r   C L I   c o m m a n d s   t o   c r i c t l . S e t   u p   e t c d   i n s t a n c e s   a s   s t a t i c   p o d s   m a n a g e d   b y   a   k u b e l e t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18335"
  },
  {
    "question": "What is 3.27 - Translate a Docker Compose File to Kubernetes Resources?",
    "answer": "W h a t ' s   K o m p o s e ?   I t ' s   a   c o n v e r s i o n   t o o l   f o r   a l l   t h i n g s   c o m p o s e   ( n a m e l y   D o c k e r   C o m p o s e )   t o   c o n t a i n e r   o r c h e s t r a t o r s   ( K u b e r n e t e s   o r   O p e n S h i f t ) .   M o r e   i n f o r m a t i o n   c a n   b e   f o u n d   o n   t h e   K o m p o s e   w e b s i t e   a t   h t t p s : / / k o m p o s e . i o / .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18336"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18337"
  },
  {
    "question": "What is Install Kompose?",
    "answer": "W e   h a v e   m u l t i p l e   w a y s   t o   i n s t a l l   K o m p o s e .   O u r   p r e f e r r e d   m e t h o d   i s   d o w n l o a d i n g   t h e   b i n a r y   f r o m   t h e   l a t e s t   G i t H u b   r e l e a s e .   K o m p o s e   i s   r e l e a s e d   v i a   G i t H u b   o n   a   t h r e e - w e e k   c y c l e ,   y o u   c a n   s e e   a l l   c u r r e n t   r e l e a s e s   o n   t h e   G i t H u b   r e l e a s e   p a g e . #   L i n u x   c u r l   - L   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k o m p o s e / r e l e a s e s / d o w n l o a d / v 1 . 3 4 . 0 / k o m p o s e - l i n u x - a m d 6 4   - o   k o m p o s e   #   m a c O S   c u r l   - L   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k o m p o s e / r e l e a s e s / d o w n l o a d / v 1 . 3 4 . 0 / k o m p o s e - d a r w i n - a m d 6 4   - o   k o m p o s e   #   W i n d o w s   c u r l   - L   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k o m p o s e / r e l e a s e s / d o w n l o a d / v 1 . 3 4 . 0 / k o m p o s e - w i n d o w s - a m d 6 4 . e x e   - o   k o m p o s e . e x e   c h m o d   + x   k o m p o s e   s u d o   m v   . / k o m p o s e   / u s r / l o c a l / b i n / k o m p o s e   A l t e r n a t i v e l y ,   y o u   c a n   d o w n l o a d   t h e   t a r b a l l .   K o m p o s e   i s   r e l e a s e d   v i a   G i t H u b   o n   a   t h r e e - w e e k   c y c l e ,   y o u   c a n   s e e   a l l   c u r r e n t   r e l e a s e s   o n   t h e   G i t H u b   r e l e a s e   p a g e .   #   L i n u x   c u r l   - L   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k o m p o s e / r e l e a s e s / d o w n l o a d / v 1 . 3 4 . 0 / k o m p o s e - l i n u x - a m d 6 4   - o   k o m p o s e   #   m a c O S   c u r l   - L   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k o m p o s e / r e l e a s e s / d o w n l o a d / v 1 . 3 4 . 0 / k o m p o s e - d a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18338"
  },
  {
    "question": "What is Use Kompose?",
    "answer": "I n   a   f e w   s t e p s ,   w e ' l l   t a k e   y o u   f r o m   D o c k e r   C o m p o s e   t o   K u b e r n e t e s .   A l l   y o u   n e e d   i s   a n   e x i s t i n g   d o c k e r - c o m p o s e . y m l   f i l e .   G o   t o   t h e   d i r e c t o r y   c o n t a i n i n g   y o u r   d o c k e r - c o m p o s e . y m l   f i l e .   I f   y o u   d o n ' t   h a v e   o n e ,   t e s t   u s i n g   t h i s   o n e .   s e r v i c e s :   r e d i s - l e a d e r :   c o n t a i n e r _ n a m e :   r e d i s - l e a d e r   i m a g e :   r e d i s   p o r t s :   -   \" 6 3 7 9 \"   r e d i s - r e p l i c a :   c o n t a i n e r _ n a m e :   r e d i s - r e p l i c a   i m a g e :   r e d i s   p o r t s :   -   \" 6 3 7 9 \"   c o m m a n d :   r e d i s - s e r v e r   - - r e p l i c a o f   r e d i s - l e a d e r   6 3 7 9   - - d i r   / t m p   w e b :   c o n t a i n e r _ n a m e :   w e b   i m a g e :   q u a y . i o / k o m p o s e / w e b   p o r t s :   -   \" 8 0 8 0 : 8 0 8 0 \"   e n v i r o n m e n t :   -   G E T _ H O S T S _ F R O M = d n s   l a b e l s :   k o m p o s e . s e r v i c e . t y p e :   L o a d B a l a n c e r   T o   c o n v e r t   t h e   d o c k e r - c o m p o s e . y m l   f i l e   t o   f i l e s   t h a t   y o u   c a n   u s e   w i t h   k u b e c t l ,   r u n   k o m p o s e   c o n v e r t   a n d   t h e n   k u b e c t l   a p p l y   - f   < o u t p u t   f i l e > . k o m p o s e   c o n v e r t   T h e   o u t p u t   i s   s i m i l a r   t o : I N F O   K u b e r n e t e s   f i l e   \" r e d i s - l e a d e r - s e r v i c e . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" r e d i s - r e p l i c a - s e r v i c e . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" w e b - t c p - s e r v i c e . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" r e d i s - l e a d e r - d e p l o y m e n t . y a m l \"   c r e a t e d   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18339"
  },
  {
    "question": "What is User Guide?",
    "answer": "C L I k o m p o s e   c o n v e r t D o c u m e n t a t i o n A l t e r n a t i v e   C o n v e r s i o n s L a b e l s R e s t a r t D o c k e r   C o m p o s e   V e r s i o n s   k o m p o s e   c o n v e r t   A l t e r n a t i v e   C o n v e r s i o n s L a b e l s R e s t a r t D o c k e r   C o m p o s e   V e r s i o n s   K o m p o s e   h a s   s u p p o r t   f o r   t w o   p r o v i d e r s :   O p e n S h i f t   a n d   K u b e r n e t e s .   Y o u   c a n   c h o o s e   a   t a r g e t e d   p r o v i d e r   u s i n g   g l o b a l   o p t i o n   - - p r o v i d e r .   I f   n o   p r o v i d e r   i s   s p e c i f i e d ,   K u b e r n e t e s   i s   s e t   b y   d e f a u l t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18340"
  },
  {
    "question": "What is kompose convert?",
    "answer": "K o m p o s e   s u p p o r t s   c o n v e r s i o n   o f   V 1 ,   V 2 ,   a n d   V 3   D o c k e r   C o m p o s e   f i l e s   i n t o   K u b e r n e t e s   a n d   O p e n S h i f t   o b j e c t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18341"
  },
  {
    "question": "What is Kubernetes kompose convert example?",
    "answer": "k o m p o s e   - - f i l e   d o c k e r - v o t i n g . y m l   c o n v e r t   W A R N   U n s u p p o r t e d   k e y   n e t w o r k s   -   i g n o r i n g   W A R N   U n s u p p o r t e d   k e y   b u i l d   -   i g n o r i n g   I N F O   K u b e r n e t e s   f i l e   \" w o r k e r - s v c . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" d b - s v c . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" r e d i s - s v c . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" r e s u l t - s v c . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" v o t e - s v c . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" r e d i s - d e p l o y m e n t . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" r e s u l t - d e p l o y m e n t . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" v o t e - d e p l o y m e n t . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" w o r k e r - d e p l o y m e n t . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" d b - d e p l o y m e n t . y a m l \"   c r e a t e d   l s   d b - d e p l o y m e n t . y a m l   d o c k e r - c o m p o s e . y m l   d o c k e r - g i t l a b . y m l   r e d i s - d e p l o y m e n t . y a m l   r e s u l t - d e p l o y m e n t . y a m l   v o t e - d e p l o y m e n t . y a m l   w o r k e r - d e p l o y m e n t . y a m l   d b - s v c . y a m l   d o c k e r - v o t i n g . y m l   r e d i s - s v c . y a m l   r e s u l t - s v c . y a m l   v o t e - s v c . y a m l   w o r k e r - s v c . y a m l   Y o u   c a n   a l s o   p r o v i d e   m u l t i p l e   d o c k e r - c o m p o s e   f i l e s   a t   t h e   s a m e   t i m e :   k o m p o s e   - f   d o c k e r - c o m p o s e . y m l   - f   d o c k e r - g u e s t b o o k . y m l   c o n v e r t   I N F O   K u b e r n e t e s   f i l ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18342"
  },
  {
    "question": "What is OpenShift kompose convert example?",
    "answer": "k o m p o s e   - - p r o v i d e r   o p e n s h i f t   - - f i l e   d o c k e r - v o t i n g . y m l   c o n v e r t   W A R N   [ w o r k e r ]   S e r v i c e   c a n n o t   b e   c r e a t e d   b e c a u s e   o f   m i s s i n g   p o r t .   I N F O   O p e n S h i f t   f i l e   \" v o t e - s e r v i c e . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" d b - s e r v i c e . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" r e d i s - s e r v i c e . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" r e s u l t - s e r v i c e . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" v o t e - d e p l o y m e n t c o n f i g . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" v o t e - i m a g e s t r e a m . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" w o r k e r - d e p l o y m e n t c o n f i g . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" w o r k e r - i m a g e s t r e a m . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" d b - d e p l o y m e n t c o n f i g . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" d b - i m a g e s t r e a m . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" r e d i s - d e p l o y m e n t c o n f i g . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" r e d i s - i m a g e s t r e a m . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" r e s u l t - d e p l o y m e n t c o n f i g . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" r e s u l t - i m a g e s t r e a m . y a m l \"   c r e a t e d   I t   a l s o   s u p p o r t s   c r e a t i n g   b u i l d c o n f i g   f o r   b u i l d   d i r e c t i v e   i n   a   s e r v i c e .   B y   d e f a u l t ,   i t   u s e s   t h e   r e m o t e   r e p o   f o r   t h e   c u r r e n t   g i t   b ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18343"
  },
  {
    "question": "What is Alternative Conversions?",
    "answer": "T h e   d e f a u l t   k o m p o s e   t r a n s f o r m a t i o n   w i l l   g e n e r a t e   K u b e r n e t e s   D e p l o y m e n t s   a n d   S e r v i c e s ,   i n   y a m l   f o r m a t .   Y o u   h a v e   a l t e r n a t i v e   o p t i o n   t o   g e n e r a t e   j s o n   w i t h   - j .   A l s o ,   y o u   c a n   a l t e r n a t i v e l y   g e n e r a t e   R e p l i c a t i o n   C o n t r o l l e r s   o b j e c t s ,   D a e m o n   S e t s ,   o r   H e l m   c h a r t s .   k o m p o s e   c o n v e r t   - j   I N F O   K u b e r n e t e s   f i l e   \" r e d i s - s v c . j s o n \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" w e b - s v c . j s o n \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" r e d i s - d e p l o y m e n t . j s o n \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" w e b - d e p l o y m e n t . j s o n \"   c r e a t e d   T h e   * - d e p l o y m e n t . j s o n   f i l e s   c o n t a i n   t h e   D e p l o y m e n t   o b j e c t s .   k o m p o s e   c o n v e r t   - - r e p l i c a t i o n - c o n t r o l l e r   I N F O   K u b e r n e t e s   f i l e   \" r e d i s - s v c . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" w e b - s v c . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" r e d i s - r e p l i c a t i o n c o n t r o l l e r . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" w e b - r e p l i c a t i o n c o n t r o l l e r . y a m l \"   c r e a t e d   T h e   * - r e p l i c a t i o n c o n t r o l l e r . y a m l   f i l e s   c o n t a i n   t h e   R e p l i c a t i o n   C o n t r o l l e r   o b j e c t s .   I f   y o u   w a n t   t o   s p e c i f y   r e p l i c a s   ( d e f a u l t   i s   1 ) ,   u s e   - - r e p l i c a s   f l a g :   k o m p o s e   c o n v e r t   - - r e p l i c a t i o n - c o n t r o l l e r   - - r e p l i c a s   3 .   k o m p o s e   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18344"
  },
  {
    "question": "What is Labels?",
    "answer": "k o m p o s e   s u p p o r t s   K o m p o s e - s p e c i f i c   l a b e l s   w i t h i n   t h e   d o c k e r - c o m p o s e . y m l   f i l e   i n   o r d e r   t o   e x p l i c i t l y   d e f i n e   a   s e r v i c e ' s   b e h a v i o r   u p o n   c o n v e r s i o n .   k o m p o s e . s e r v i c e . t y p e   d e f i n e s   t h e   t y p e   o f   s e r v i c e   t o   b e   c r e a t e d . F o r   e x a m p l e : v e r s i o n :   \" 2 \"   s e r v i c e s :   n g i n x :   i m a g e :   n g i n x   d o c k e r f i l e :   f o o b a r   b u i l d :   . / f o o b a r   c a p _ a d d :   -   A L L   c o n t a i n e r _ n a m e :   f o o b a r   l a b e l s :   k o m p o s e . s e r v i c e . t y p e :   n o d e p o r t   k o m p o s e . s e r v i c e . e x p o s e   d e f i n e s   i f   t h e   s e r v i c e   n e e d s   t o   b e   m a d e   a c c e s s i b l e   f r o m   o u t s i d e   t h e   c l u s t e r   o r   n o t .   I f   t h e   v a l u e   i s   s e t   t o   \" t r u e \" ,   t h e   p r o v i d e r   s e t s   t h e   e n d p o i n t   a u t o m a t i c a l l y ,   a n d   f o r   a n y   o t h e r   v a l u e ,   t h e   v a l u e   i s   s e t   a s   t h e   h o s t n a m e .   I f   m u l t i p l e   p o r t s   a r e   d e f i n e d   i n   a   s e r v i c e ,   t h e   f i r s t   o n e   i s   c h o s e n   t o   b e   t h e   e x p o s e d . F o r   t h e   K u b e r n e t e s   p r o v i d e r ,   a n   i n g r e s s   r e s o u r c e   i s   c r e a t e d   a n d   i t   i s   a s s u m e d   t h a t   a n   i n g r e s s   c o n t r o l l e r   h a s   a l r e a d y   b e e n   c o n f i g u r e d . F o r   t h e   O p e n S h i f t   p r o v i d e r ,   a   r o u t e   i s   c r e a t e d . F o r   e x a m p l e : v e r s i o n :   \" 2 \"   s e r v i c e s :   w e b :   i m a g e :   t u n a / d o c k e r - c o u n t e r 2 3   p o r t s :   -   \" 5 0 0 0 : 5 0 0 0 \"   l i n k s :   -   r e d i s   l a b e l s :   k o m p ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18345"
  },
  {
    "question": "What is Restart?",
    "answer": "I f   y o u   w a n t   t o   c r e a t e   n o r m a l   p o d s   w i t h o u t   c o n t r o l l e r s   y o u   c a n   u s e   r e s t a r t   c o n s t r u c t   o f   d o c k e r - c o m p o s e   t o   d e f i n e   t h a t .   F o l l o w   t a b l e   b e l o w   t o   s e e   w h a t   h a p p e n s   o n   t h e   r e s t a r t   v a l u e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18346"
  },
  {
    "question": "What is Note:?",
    "answer": "F o r   e x a m p l e ,   t h e   p i v a l   s e r v i c e   w i l l   b e c o m e   p o d   d o w n   h e r e .   T h i s   c o n t a i n e r   c a l c u l a t e d   v a l u e   o f   p i .   v e r s i o n :   ' 2 '   s e r v i c e s :   p i v a l :   i m a g e :   p e r l   c o m m a n d :   [ \" p e r l \" ,   \" - M b i g n u m = b p i \" ,   \" - w l e \" ,   \" p r i n t   b p i ( 2 0 0 0 ) \" ]   r e s t a r t :   \" o n - f a i l u r e \"",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18347"
  },
  {
    "question": "What is Warning about Deployment Configurations?",
    "answer": "I f   t h e   D o c k e r   C o m p o s e   f i l e   h a s   a   v o l u m e   s p e c i f i e d   f o r   a   s e r v i c e ,   t h e   D e p l o y m e n t   ( K u b e r n e t e s )   o r   D e p l o y m e n t C o n f i g   ( O p e n S h i f t )   s t r a t e g y   i s   c h a n g e d   t o   \" R e c r e a t e \"   i n s t e a d   o f   \" R o l l i n g U p d a t e \"   ( d e f a u l t ) .   T h i s   i s   d o n e   t o   a v o i d   m u l t i p l e   i n s t a n c e s   o f   a   s e r v i c e   f r o m   a c c e s s i n g   a   v o l u m e   a t   t h e   s a m e   t i m e .   I f   t h e   D o c k e r   C o m p o s e   f i l e   h a s   s e r v i c e   n a m e   w i t h   _   i n   i t   ( f o r   e x a m p l e ,   w e b _ s e r v i c e ) ,   t h e n   i t   w i l l   b e   r e p l a c e d   b y   -   a n d   t h e   s e r v i c e   n a m e   w i l l   b e   r e n a m e d   a c c o r d i n g l y   ( f o r   e x a m p l e ,   w e b - s e r v i c e ) .   K o m p o s e   d o e s   t h i s   b e c a u s e   \" K u b e r n e t e s \"   d o e s n ' t   a l l o w   _   i n   o b j e c t   n a m e .   P l e a s e   n o t e   t h a t   c h a n g i n g   s e r v i c e   n a m e   m i g h t   b r e a k   s o m e   d o c k e r - c o m p o s e   f i l e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18348"
  },
  {
    "question": "What is Docker Compose Versions?",
    "answer": "K o m p o s e   s u p p o r t s   D o c k e r   C o m p o s e   v e r s i o n s :   1 ,   2   a n d   3 .   W e   h a v e   l i m i t e d   s u p p o r t   o n   v e r s i o n s   2 . 1   a n d   3 . 2   d u e   t o   t h e i r   e x p e r i m e n t a l   n a t u r e .   A   f u l l   l i s t   o n   c o m p a t i b i l i t y   b e t w e e n   a l l   t h r e e   v e r s i o n s   i s   l i s t e d   i n   o u r   c o n v e r s i o n   d o c u m e n t   i n c l u d i n g   a   l i s t   o f   a l l   i n c o m p a t i b l e   D o c k e r   C o m p o s e   k e y s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18349"
  },
  {
    "question": "What is 3.28 - Enforce Pod Security Standards by Configuring the Built-in Admission Controller?",
    "answer": "K u b e r n e t e s   p r o v i d e s   a   b u i l t - i n   a d m i s s i o n   c o n t r o l l e r   t o   e n f o r c e   t h e   P o d   S e c u r i t y   S t a n d a r d s .   Y o u   c a n   c o n f i g u r e   t h i s   a d m i s s i o n   c o n t r o l l e r   t o   s e t   c l u s t e r - w i d e   d e f a u l t s   a n d   e x e m p t i o n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18350"
  },
  {
    "question": "What is Before you begin?",
    "answer": "F o l l o w i n g   a n   a l p h a   r e l e a s e   i n   K u b e r n e t e s   v 1 . 2 2 ,   P o d   S e c u r i t y   A d m i s s i o n   b e c a m e   a v a i l a b l e   b y   d e f a u l t   i n   K u b e r n e t e s   v 1 . 2 3 ,   a s   a   b e t a .   F r o m   v e r s i o n   1 . 2 5   o n w a r d s ,   P o d   S e c u r i t y   A d m i s s i o n   i s   g e n e r a l l y   a v a i l a b l e .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   I f   y o u   a r e   n o t   r u n n i n g   K u b e r n e t e s   1 . 3 4 ,   y o u   c a n   s w i t c h   t o   v i e w i n g   t h i s   p a g e   i n   t h e   d o c u m e n t a t i o n   f o r   t h e   K u b e r n e t e s   v e r s i o n   t h a t   y o u   a r e   r u n n i n g .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18351"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   A d m i s s i o n C o n f i g u r a t i o n   p l u g i n s :   -   n a m e :   P o d S e c u r i t y   c o n f i g u r a t i o n :   a p i V e r s i o n :   p o d - s e c u r i t y . a d m i s s i o n . c o n f i g . k 8 s . i o / v 1   #   s e e   c o m p a t i b i l i t y   n o t e   k i n d :   P o d S e c u r i t y C o n f i g u r a t i o n   #   D e f a u l t s   a p p l i e d   w h e n   a   m o d e   l a b e l   i s   n o t   s e t .   #   #   L e v e l   l a b e l   v a l u e s   m u s t   b e   o n e   o f :   #   -   \" p r i v i l e g e d \"   ( d e f a u l t )   #   -   \" b a s e l i n e \"   #   -   \" r e s t r i c t e d \"   #   #   V e r s i o n   l a b e l   v a l u e s   m u s t   b e   o n e   o f :   #   -   \" l a t e s t \"   ( d e f a u l t )   #   -   s p e c i f i c   v e r s i o n   l i k e   \" v 1 . 3 4 \"   d e f a u l t s :   e n f o r c e :   \" p r i v i l e g e d \"   e n f o r c e - v e r s i o n :   \" l a t e s t \"   a u d i t :   \" p r i v i l e g e d \"   a u d i t - v e r s i o n :   \" l a t e s t \"   w a r n :   \" p r i v i l e g e d \"   w a r n - v e r s i o n :   \" l a t e s t \"   e x e m p t i o n s :   #   A r r a y   o f   a u t h e n t i c a t e d   u s e r n a m e s   t o   e x e m p t .   u s e r n a m e s :   [ ]   #   A r r a y   o f   r u n t i m e   c l a s s   n a m e s   t o   e x e m p t .   r u n t i m e C l a s s e s :   [ ]   #   A r r a y   o f   n a m e s p a c e s   t o   e x e m p t .   n a m e s p a c e s :   [ ]",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18352"
  },
  {
    "question": "What is 3.29 - Enforce Pod Security Standards with Namespace Labels?",
    "answer": "N a m e s p a c e s   c a n   b e   l a b e l e d   t o   e n f o r c e   t h e   P o d   S e c u r i t y   S t a n d a r d s .   T h e   t h r e e   p o l i c i e s   p r i v i l e g e d ,   b a s e l i n e   a n d   r e s t r i c t e d   b r o a d l y   c o v e r   t h e   s e c u r i t y   s p e c t r u m   a n d   a r e   i m p l e m e n t e d   b y   t h e   P o d   S e c u r i t y   a d m i s s i o n   c o n t r o l l e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18353"
  },
  {
    "question": "What is Before you begin?",
    "answer": "P o d   S e c u r i t y   A d m i s s i o n   w a s   a v a i l a b l e   b y   d e f a u l t   i n   K u b e r n e t e s   v 1 . 2 3 ,   a s   a   b e t a .   F r o m   v e r s i o n   1 . 2 5   o n w a r d s ,   P o d   S e c u r i t y   A d m i s s i o n   i s   g e n e r a l l y   a v a i l a b l e .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18354"
  },
  {
    "question": "What is Requiring the baseline Pod Security Standard with namespace labels?",
    "answer": "T h i s   m a n i f e s t   d e f i n e s   a   N a m e s p a c e   m y - b a s e l i n e - n a m e s p a c e   t h a t :   B l o c k s   a n y   p o d s   t h a t   d o n ' t   s a t i s f y   t h e   b a s e l i n e   p o l i c y   r e q u i r e m e n t s . G e n e r a t e s   a   u s e r - f a c i n g   w a r n i n g   a n d   a d d s   a n   a u d i t   a n n o t a t i o n   t o   a n y   c r e a t e d   p o d   t h a t   d o e s   n o t   m e e t   t h e   r e s t r i c t e d   p o l i c y   r e q u i r e m e n t s . P i n s   t h e   v e r s i o n s   o f   t h e   b a s e l i n e   a n d   r e s t r i c t e d   p o l i c i e s   t o   v 1 . 3 4 .   a p i V e r s i o n :   v 1   k i n d :   N a m e s p a c e   m e t a d a t a :   n a m e :   m y - b a s e l i n e - n a m e s p a c e   l a b e l s :   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e :   b a s e l i n e   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e - v e r s i o n :   v 1 . 3 4   #   W e   a r e   s e t t i n g   t h e s e   t o   o u r   _ d e s i r e d _   ` e n f o r c e `   l e v e l .   p o d - s e c u r i t y . k u b e r n e t e s . i o / a u d i t :   r e s t r i c t e d   p o d - s e c u r i t y . k u b e r n e t e s . i o / a u d i t - v e r s i o n :   v 1 . 3 4   p o d - s e c u r i t y . k u b e r n e t e s . i o / w a r n :   r e s t r i c t e d   p o d - s e c u r i t y . k u b e r n e t e s . i o / w a r n - v e r s i o n :   v 1 . 3 4",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18355"
  },
  {
    "question": "What is Note:?",
    "answer": "I t   i s   h e l p f u l   t o   a p p l y   t h e   - - d r y - r u n   f l a g   w h e n   i n i t i a l l y   e v a l u a t i n g   s e c u r i t y   p r o f i l e   c h a n g e s   f o r   n a m e s p a c e s .   T h e   P o d   S e c u r i t y   S t a n d a r d   c h e c k s   w i l l   s t i l l   b e   r u n   i n   d r y   r u n   m o d e ,   g i v i n g   y o u   i n f o r m a t i o n   a b o u t   h o w   t h e   n e w   p o l i c y   w o u l d   t r e a t   e x i s t i n g   p o d s ,   w i t h o u t   a c t u a l l y   u p d a t i n g   a   p o l i c y .   k u b e c t l   l a b e l   - - d r y - r u n = s e r v e r   - - o v e r w r i t e   n s   - - a l l   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e = b a s e l i n e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18356"
  },
  {
    "question": "What is Applying to all namespaces?",
    "answer": "I f   y o u ' r e   j u s t   g e t t i n g   s t a r t e d   w i t h   t h e   P o d   S e c u r i t y   S t a n d a r d s ,   a   s u i t a b l e   f i r s t   s t e p   w o u l d   b e   t o   c o n f i g u r e   a l l   n a m e s p a c e s   w i t h   a u d i t   a n n o t a t i o n s   f o r   a   s t r i c t e r   l e v e l   s u c h   a s   b a s e l i n e :   k u b e c t l   l a b e l   - - o v e r w r i t e   n s   - - a l l   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / a u d i t = b a s e l i n e   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / w a r n = b a s e l i n e   N o t e   t h a t   t h i s   i s   n o t   s e t t i n g   a n   e n f o r c e   l e v e l ,   s o   t h a t   n a m e s p a c e s   t h a t   h a v e n ' t   b e e n   e x p l i c i t l y   e v a l u a t e d   c a n   b e   d i s t i n g u i s h e d .   Y o u   c a n   l i s t   n a m e s p a c e s   w i t h o u t   a n   e x p l i c i t l y   s e t   e n f o r c e   l e v e l   u s i n g   t h i s   c o m m a n d :   k u b e c t l   g e t   n a m e s p a c e s   - - s e l e c t o r = ' ! p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e '",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18357"
  },
  {
    "question": "What is Applying to a single namespace?",
    "answer": "Y o u   c a n   u p d a t e   a   s p e c i f i c   n a m e s p a c e   a s   w e l l .   T h i s   c o m m a n d   a d d s   t h e   e n f o r c e = r e s t r i c t e d   p o l i c y   t o   m y - e x i s t i n g - n a m e s p a c e ,   p i n n i n g   t h e   r e s t r i c t e d   p o l i c y   v e r s i o n   t o   v 1 . 3 4 .   k u b e c t l   l a b e l   - - o v e r w r i t e   n s   m y - e x i s t i n g - n a m e s p a c e   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e = r e s t r i c t e d   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e - v e r s i o n = v 1 . 3 4",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18358"
  },
  {
    "question": "What is 3.30 - Migrate from PodSecurityPolicy to the Built-In PodSecurity Admission Controller?",
    "answer": "T h i s   p a g e   d e s c r i b e s   t h e   p r o c e s s   o f   m i g r a t i n g   f r o m   P o d S e c u r i t y P o l i c i e s   t o   t h e   b u i l t - i n   P o d S e c u r i t y   a d m i s s i o n   c o n t r o l l e r .   T h i s   c a n   b e   d o n e   e f f e c t i v e l y   u s i n g   a   c o m b i n a t i o n   o f   d r y - r u n   a n d   a u d i t   a n d   w a r n   m o d e s ,   a l t h o u g h   t h i s   b e c o m e s   h a r d e r   i f   m u t a t i n g   P S P s   a r e   u s e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18359"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 2 2 .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   I f   y o u   a r e   c u r r e n t l y   r u n n i n g   a   v e r s i o n   o f   K u b e r n e t e s   o t h e r   t h a n   1 . 3 4 ,   y o u   m a y   w a n t   t o   s w i t c h   t o   v i e w i n g   t h i s   p a g e   i n   t h e   d o c u m e n t a t i o n   f o r   t h e   v e r s i o n   o f   K u b e r n e t e s   t h a t   y o u   a r e   a c t u a l l y   r u n n i n g .   T h i s   p a g e   a s s u m e s   y o u   a r e   a l r e a d y   f a m i l i a r   w i t h   t h e   b a s i c   P o d   S e c u r i t y   A d m i s s i o n   c o n c e p t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18360"
  },
  {
    "question": "What is Overall approach?",
    "answer": "T h e r e   a r e   m u l t i p l e   s t r a t e g i e s   y o u   c a n   t a k e   f o r   m i g r a t i n g   f r o m   P o d S e c u r i t y P o l i c y   t o   P o d   S e c u r i t y   A d m i s s i o n .   T h e   f o l l o w i n g   s t e p s   a r e   o n e   p o s s i b l e   m i g r a t i o n   p a t h ,   w i t h   a   g o a l   o f   m i n i m i z i n g   b o t h   t h e   r i s k s   o f   a   p r o d u c t i o n   o u t a g e   a n d   o f   a   s e c u r i t y   g a p .   D e c i d e   w h e t h e r   P o d   S e c u r i t y   A d m i s s i o n   i s   t h e   r i g h t   f i t   f o r   y o u r   u s e   c a s e . R e v i e w   n a m e s p a c e   p e r m i s s i o n s S i m p l i f y   &   s t a n d a r d i z e   P o d S e c u r i t y P o l i c i e s U p d a t e   n a m e s p a c e s I d e n t i f y   a n   a p p r o p r i a t e   P o d   S e c u r i t y   l e v e l V e r i f y   t h e   P o d   S e c u r i t y   l e v e l E n f o r c e   t h e   P o d   S e c u r i t y   l e v e l B y p a s s   P o d S e c u r i t y P o l i c y R e v i e w   n a m e s p a c e   c r e a t i o n   p r o c e s s e s D i s a b l e   P o d S e c u r i t y P o l i c y   I d e n t i f y   a n   a p p r o p r i a t e   P o d   S e c u r i t y   l e v e l V e r i f y   t h e   P o d   S e c u r i t y   l e v e l E n f o r c e   t h e   P o d   S e c u r i t y   l e v e l B y p a s s   P o d S e c u r i t y P o l i c y",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18361"
  },
  {
    "question": "What is 0. Decide whether Pod Security Admission is right for you?",
    "answer": "P o d   S e c u r i t y   A d m i s s i o n   w a s   d e s i g n e d   t o   m e e t   t h e   m o s t   c o m m o n   s e c u r i t y   n e e d s   o u t   o f   t h e   b o x ,   a n d   t o   p r o v i d e   a   s t a n d a r d   s e t   o f   s e c u r i t y   l e v e l s   a c r o s s   c l u s t e r s .   H o w e v e r ,   i t   i s   l e s s   f l e x i b l e   t h a n   P o d S e c u r i t y P o l i c y .   N o t a b l y ,   t h e   f o l l o w i n g   f e a t u r e s   a r e   s u p p o r t e d   b y   P o d S e c u r i t y P o l i c y   b u t   n o t   P o d   S e c u r i t y   A d m i s s i o n :   S e t t i n g   d e f a u l t   s e c u r i t y   c o n s t r a i n t s   -   P o d   S e c u r i t y   A d m i s s i o n   i s   a   n o n - m u t a t i n g   a d m i s s i o n   c o n t r o l l e r ,   m e a n i n g   i t   w o n ' t   m o d i f y   p o d s   b e f o r e   v a l i d a t i n g   t h e m .   I f   y o u   w e r e   r e l y i n g   o n   t h i s   a s p e c t   o f   P S P ,   y o u   w i l l   n e e d   t o   e i t h e r   m o d i f y   y o u r   w o r k l o a d s   t o   m e e t   t h e   P o d   S e c u r i t y   c o n s t r a i n t s ,   o r   u s e   a   M u t a t i n g   A d m i s s i o n   W e b h o o k   t o   m a k e   t h o s e   c h a n g e s .   S e e   S i m p l i f y   &   S t a n d a r d i z e   P o d S e c u r i t y P o l i c i e s   b e l o w   f o r   m o r e   d e t a i l . F i n e - g r a i n e d   c o n t r o l   o v e r   p o l i c y   d e f i n i t i o n   -   P o d   S e c u r i t y   A d m i s s i o n   o n l y   s u p p o r t s   3   s t a n d a r d   l e v e l s .   I f   y o u   r e q u i r e   m o r e   c o n t r o l   o v e r   s p e c i f i c   c o n s t r a i n t s ,   t h e n   y o u   w i l l   n e e d   t o   u s e   a   V a l i d a t i n g   A d m i s s i o n   W e b h o o k   t o   e n f o r c e   t h o s e   p o l i c i e s . S u b - n a m e s p a c e   p o l i c y   g r a n u l a r i t y   -   P o d S e c ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18362"
  },
  {
    "question": "What is 1. Review namespace permissions?",
    "answer": "P o d   S e c u r i t y   A d m i s s i o n   i s   c o n t r o l l e d   b y   l a b e l s   o n   n a m e s p a c e s .   T h i s   m e a n s   t h a t   a n y o n e   w h o   c a n   u p d a t e   ( o r   p a t c h   o r   c r e a t e )   a   n a m e s p a c e   c a n   a l s o   m o d i f y   t h e   P o d   S e c u r i t y   l e v e l   f o r   t h a t   n a m e s p a c e ,   w h i c h   c o u l d   b e   u s e d   t o   b y p a s s   a   m o r e   r e s t r i c t i v e   p o l i c y .   B e f o r e   p r o c e e d i n g ,   e n s u r e   t h a t   o n l y   t r u s t e d ,   p r i v i l e g e d   u s e r s   h a v e   t h e s e   n a m e s p a c e   p e r m i s s i o n s .   I t   i s   n o t   r e c o m m e n d e d   t o   g r a n t   t h e s e   p o w e r f u l   p e r m i s s i o n s   t o   u s e r s   t h a t   s h o u l d n ' t   h a v e   e l e v a t e d   p e r m i s s i o n s ,   b u t   i f   y o u   m u s t   y o u   w i l l   n e e d   t o   u s e   a n   a d m i s s i o n   w e b h o o k   t o   p l a c e   a d d i t i o n a l   r e s t r i c t i o n s   o n   s e t t i n g   P o d   S e c u r i t y   l a b e l s   o n   N a m e s p a c e   o b j e c t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18363"
  },
  {
    "question": "What is 2. Simplify & standardize PodSecurityPolicies?",
    "answer": "I n   t h i s   s e c t i o n ,   y o u   w i l l   r e d u c e   m u t a t i n g   P o d S e c u r i t y P o l i c i e s   a n d   r e m o v e   o p t i o n s   t h a t   a r e   o u t s i d e   t h e   s c o p e   o f   t h e   P o d   S e c u r i t y   S t a n d a r d s .   Y o u   s h o u l d   m a k e   t h e   c h a n g e s   r e c o m m e n d e d   h e r e   t o   a n   o f f l i n e   c o p y   o f   t h e   o r i g i n a l   P o d S e c u r i t y P o l i c y   b e i n g   m o d i f i e d .   T h e   c l o n e d   P S P   s h o u l d   h a v e   a   d i f f e r e n t   n a m e   t h a t   i s   a l p h a b e t i c a l l y   b e f o r e   t h e   o r i g i n a l   ( f o r   e x a m p l e ,   p r e p e n d   a   0   t o   i t ) .   D o   n o t   c r e a t e   t h e   n e w   p o l i c i e s   i n   K u b e r n e t e s   y e t   -   t h a t   w i l l   b e   c o v e r e d   i n   t h e   R o l l o u t   t h e   u p d a t e d   p o l i c i e s   s e c t i o n   b e l o w .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18364"
  },
  {
    "question": "What is 2.a. Eliminate purely mutating fields?",
    "answer": "I f   a   P o d S e c u r i t y P o l i c y   i s   m u t a t i n g   p o d s ,   t h e n   y o u   c o u l d   e n d   u p   w i t h   p o d s   t h a t   d o n ' t   m e e t   t h e   P o d   S e c u r i t y   l e v e l   r e q u i r e m e n t s   w h e n   y o u   f i n a l l y   t u r n   P o d S e c u r i t y P o l i c y   o f f .   I n   o r d e r   t o   a v o i d   t h i s ,   y o u   s h o u l d   e l i m i n a t e   a l l   P S P   m u t a t i o n   p r i o r   t o   s w i t c h i n g   o v e r .   U n f o r t u n a t e l y   P S P   d o e s   n o t   c l e a n l y   s e p a r a t e   m u t a t i n g   &   v a l i d a t i n g   f i e l d s ,   s o   t h i s   i s   n o t   a   s t r a i g h t f o r w a r d   m i g r a t i o n .   Y o u   c a n   s t a r t   b y   e l i m i n a t i n g   t h e   f i e l d s   t h a t   a r e   p u r e l y   m u t a t i n g ,   a n d   d o n ' t   h a v e   a n y   b e a r i n g   o n   t h e   v a l i d a t i n g   p o l i c y .   T h e s e   f i e l d s   ( a l s o   l i s t e d   i n   t h e   M a p p i n g   P o d S e c u r i t y P o l i c i e s   t o   P o d   S e c u r i t y   S t a n d a r d s   r e f e r e n c e )   a r e :   . s p e c . d e f a u l t A l l o w P r i v i l e g e E s c a l a t i o n . s p e c . r u n t i m e C l a s s . d e f a u l t R u n t i m e C l a s s N a m e . m e t a d a t a . a n n o t a t i o n s [ ' s e c c o m p . s e c u r i t y . a l p h a . k u b e r n e t e s . i o / d e f a u l t P r o f i l e N a m e ' ] . m e t a d a t a . a n n o t a t i o n s [ ' a p p a r m o r . s e c u r i t y . b e t a . k u b e r n e t e s . i o / d e f a u l t P r o f i l e N a m e ' ] . s p e c . d e f a u l t A d d C a p a b i l i t i e s   -   A l t h o u g h   t e c h n i c a l l y   a   m u t a t i n g   &   v a l i d a t i n g   f i e l d ,   t h e s e   s h o u l d   b e   m e r g e d   i n t o   . s p e c . a l l o w e d C a p a b i l i t i e s   w h i c h   p e r f o r m s   t h e   s a m e   v a l ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18365"
  },
  {
    "question": "What is 2.b. Eliminate options not covered by the Pod Security Standards?",
    "answer": "T h e r e   a r e   s e v e r a l   f i e l d s   i n   P o d S e c u r i t y P o l i c y   t h a t   a r e   n o t   c o v e r e d   b y   t h e   P o d   S e c u r i t y   S t a n d a r d s .   I f   y o u   m u s t   e n f o r c e   t h e s e   o p t i o n s ,   y o u   w i l l   n e e d   t o   s u p p l e m e n t   P o d   S e c u r i t y   A d m i s s i o n   w i t h   a n   a d m i s s i o n   w e b h o o k ,   w h i c h   i s   o u t s i d e   t h e   s c o p e   o f   t h i s   g u i d e .   F i r s t ,   y o u   c a n   r e m o v e   t h e   p u r e l y   v a l i d a t i n g   f i e l d s   t h a t   t h e   P o d   S e c u r i t y   S t a n d a r d s   d o   n o t   c o v e r .   T h e s e   f i e l d s   ( a l s o   l i s t e d   i n   t h e   M a p p i n g   P o d S e c u r i t y P o l i c i e s   t o   P o d   S e c u r i t y   S t a n d a r d s   r e f e r e n c e   w i t h   \" n o   o p i n i o n \" )   a r e :   . s p e c . a l l o w e d H o s t P a t h s . s p e c . a l l o w e d F l e x V o l u m e s . s p e c . a l l o w e d C S I D r i v e r s . s p e c . f o r b i d d e n S y s c t l s . s p e c . r u n t i m e C l a s s   Y o u   c a n   a l s o   r e m o v e   t h e   f o l l o w i n g   f i e l d s ,   t h a t   a r e   r e l a t e d   t o   P O S I X   /   U N I X   g r o u p   c o n t r o l s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18366"
  },
  {
    "question": "What is Caution:?",
    "answer": ". s p e c . r u n A s G r o u p . s p e c . s u p p l e m e n t a l G r o u p s . s p e c . f s G r o u p   T h e   r e m a i n i n g   m u t a t i n g   f i e l d s   a r e   r e q u i r e d   t o   p r o p e r l y   s u p p o r t   t h e   P o d   S e c u r i t y   S t a n d a r d s ,   a n d   w i l l   n e e d   t o   b e   h a n d l e d   o n   a   c a s e - b y - c a s e   b a s i s   l a t e r :   . s p e c . r e q u i r e d D r o p C a p a b i l i t i e s   -   R e q u i r e d   t o   d r o p   A L L   f o r   t h e   R e s t r i c t e d   p r o f i l e . . s p e c . s e L i n u x   -   ( O n l y   m u t a t i n g   w i t h   t h e   M u s t R u n A s   r u l e )   r e q u i r e d   t o   e n f o r c e   t h e   S E L i n u x   r e q u i r e m e n t s   o f   t h e   B a s e l i n e   &   R e s t r i c t e d   p r o f i l e s . . s p e c . r u n A s U s e r   -   ( N o n - m u t a t i n g   w i t h   t h e   R u n A s A n y   r u l e )   r e q u i r e d   t o   e n f o r c e   R u n A s N o n R o o t   f o r   t h e   R e s t r i c t e d   p r o f i l e . . s p e c . a l l o w P r i v i l e g e E s c a l a t i o n   -   ( O n l y   m u t a t i n g   i f   s e t   t o   f a l s e )   r e q u i r e d   f o r   t h e   R e s t r i c t e d   p r o f i l e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18367"
  },
  {
    "question": "What is 2.c. Rollout the updated PSPs?",
    "answer": "N e x t ,   y o u   c a n   r o l l o u t   t h e   u p d a t e d   p o l i c i e s   t o   y o u r   c l u s t e r .   Y o u   s h o u l d   p r o c e e d   w i t h   c a u t i o n ,   a s   r e m o v i n g   t h e   m u t a t i n g   o p t i o n s   m a y   r e s u l t   i n   w o r k l o a d s   m i s s i n g   r e q u i r e d   c o n f i g u r a t i o n .   F o r   e a c h   u p d a t e d   P o d S e c u r i t y P o l i c y :   I d e n t i f y   p o d s   r u n n i n g   u n d e r   t h e   o r i g i n a l   P S P .   T h i s   c a n   b e   d o n e   u s i n g   t h e   k u b e r n e t e s . i o / p s p   a n n o t a t i o n .   F o r   e x a m p l e ,   u s i n g   k u b e c t l : P S P _ N A M E = \" o r i g i n a l \"   #   S e t   t h e   n a m e   o f   t h e   P S P   y o u ' r e   c h e c k i n g   f o r   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s   - o   j s o n p a t h = \" { r a n g e   . i t e m s [ ? ( @ . m e t a d a t a . a n n o t a t i o n s . k u b e r n e t e s \\ . i o \\ / p s p = = ' $ P S P _ N A M E ' ) ] } { . m e t a d a t a . n a m e s p a c e }   { . m e t a d a t a . n a m e } { ' \\ n ' } { e n d } \"   C o m p a r e   t h e s e   r u n n i n g   p o d s   a g a i n s t   t h e   o r i g i n a l   p o d   s p e c   t o   d e t e r m i n e   w h e t h e r   P o d S e c u r i t y P o l i c y   h a s   m o d i f i e d   t h e   p o d .   F o r   p o d s   c r e a t e d   b y   a   w o r k l o a d   r e s o u r c e   y o u   c a n   c o m p a r e   t h e   p o d   w i t h   t h e   P o d T e m p l a t e   i n   t h e   c o n t r o l l e r   r e s o u r c e .   I f   a n y   c h a n g e s   a r e   i d e n t i f i e d ,   t h e   o r i g i n a l   P o d   o r   P o d T e m p l a t e   s h o u l d   b e   u p d a t e d   w i t h   t h e   d e s i r e d   c o n f i g u r a t i o n .   T h e   f i e l d s   t o   r e v i e w   a r e : . m e t a d a t a . a n n o t a t i o n s [ ' c o n t a i n e r . a p p a r m o r . s e c ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18368"
  },
  {
    "question": "What is 3. Update Namespaces?",
    "answer": "T h e   f o l l o w i n g   s t e p s   w i l l   n e e d   t o   b e   p e r f o r m e d   o n   e v e r y   n a m e s p a c e   i n   t h e   c l u s t e r .   C o m m a n d s   r e f e r e n c e d   i n   t h e s e   s t e p s   u s e   t h e   $ N A M E S P A C E   v a r i a b l e   t o   r e f e r   t o   t h e   n a m e s p a c e   b e i n g   u p d a t e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18369"
  },
  {
    "question": "What is 3.a. Identify an appropriate Pod Security level?",
    "answer": "S t a r t   r e v i e w i n g   t h e   P o d   S e c u r i t y   S t a n d a r d s   a n d   f a m i l i a r i z i n g   y o u r s e l f   w i t h   t h e   3   d i f f e r e n t   l e v e l s .   T h e r e   a r e   s e v e r a l   w a y s   t o   c h o o s e   a   P o d   S e c u r i t y   l e v e l   f o r   y o u r   n a m e s p a c e :   B y   s e c u r i t y   r e q u i r e m e n t s   f o r   t h e   n a m e s p a c e   -   I f   y o u   a r e   f a m i l i a r   w i t h   t h e   e x p e c t e d   a c c e s s   l e v e l   f o r   t h e   n a m e s p a c e ,   y o u   c a n   c h o o s e   a n   a p p r o p r i a t e   l e v e l   b a s e d   o n   t h o s e   r e q u i r e m e n t s ,   s i m i l a r   t o   h o w   o n e   m i g h t   a p p r o a c h   t h i s   o n   a   n e w   c l u s t e r . B y   e x i s t i n g   P o d S e c u r i t y P o l i c i e s   -   U s i n g   t h e   M a p p i n g   P o d S e c u r i t y P o l i c i e s   t o   P o d   S e c u r i t y   S t a n d a r d s   r e f e r e n c e   y o u   c a n   m a p   e a c h   P S P   t o   a   P o d   S e c u r i t y   S t a n d a r d   l e v e l .   I f   y o u r   P S P s   a r e n ' t   b a s e d   o n   t h e   P o d   S e c u r i t y   S t a n d a r d s ,   y o u   m a y   n e e d   t o   d e c i d e   b e t w e e n   c h o o s i n g   a   l e v e l   t h a t   i s   a t   l e a s t   a s   p e r m i s s i v e   a s   t h e   P S P ,   a n d   a   l e v e l   t h a t   i s   a t   l e a s t   a s   r e s t r i c t i v e .   Y o u   c a n   s e e   w h i c h   P S P s   a r e   i n   u s e   f o r   p o d s   i n   a   g i v e n   n a m e s p a c e   w i t h   t h i s   c o m m a n d : k u b e c t l   g e t   p o d s   - n   $ N A M E S P A C E   - o   j s o n p a t h = \" { . i t e m s [ * ] . m e t a d a t a . a n n o t a t i o n s . k u b e r n e t e s \\ . i o \\ / p s p } \"   |   t r   \"   \"   \" \\ n \"   |   s o r t   - u   B y   e x i s t i n g   p o d s   -   U s i n g   t h e   s t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18370"
  },
  {
    "question": "What is 3.b. Verify the Pod Security level?",
    "answer": "O n c e   y o u   h a v e   s e l e c t e d   a   P o d   S e c u r i t y   l e v e l   f o r   t h e   n a m e s p a c e   ( o r   i f   y o u ' r e   t r y i n g   s e v e r a l ) ,   i t ' s   a   g o o d   i d e a   t o   t e s t   i t   o u t   f i r s t   ( y o u   c a n   s k i p   t h i s   s t e p   i f   u s i n g   t h e   P r i v i l e g e d   l e v e l ) .   P o d   S e c u r i t y   i n c l u d e s   s e v e r a l   t o o l s   t o   h e l p   t e s t   a n d   s a f e l y   r o l l   o u t   p r o f i l e s .   F i r s t ,   y o u   c a n   d r y - r u n   t h e   p o l i c y ,   w h i c h   w i l l   e v a l u a t e   p o d s   c u r r e n t l y   r u n n i n g   i n   t h e   n a m e s p a c e   a g a i n s t   t h e   a p p l i e d   p o l i c y ,   w i t h o u t   m a k i n g   t h e   n e w   p o l i c y   t a k e   e f f e c t :   #   $ L E V E L   i s   t h e   l e v e l   t o   d r y - r u n ,   e i t h e r   \" b a s e l i n e \"   o r   \" r e s t r i c t e d \" .   k u b e c t l   l a b e l   - - d r y - r u n = s e r v e r   - - o v e r w r i t e   n s   $ N A M E S P A C E   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e = $ L E V E L   T h i s   c o m m a n d   w i l l   r e t u r n   a   w a r n i n g   f o r   a n y   e x i s t i n g   p o d s   t h a t   a r e   n o t   v a l i d   u n d e r   t h e   p r o p o s e d   l e v e l .   T h e   s e c o n d   o p t i o n   i s   b e t t e r   f o r   c a t c h i n g   w o r k l o a d s   t h a t   a r e   n o t   c u r r e n t l y   r u n n i n g :   a u d i t   m o d e .   W h e n   r u n n i n g   u n d e r   a u d i t - m o d e   ( a s   o p p o s e d   t o   e n f o r c i n g ) ,   p o d s   t h a t   v i o l a t e   t h e   p o l i c y   l e v e l   a r e   r e c o r d e d   i n   t h e   a u d i t   l o g s ,   w h i c h   c a n   b e   r e v i e w e d   l a t e r   a f t e r   s o m e   s o a k   t i m e ,   b u t   a r e   n o t   f o r b i d d e n .   W a r n i n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18371"
  },
  {
    "question": "What is 3.c. Enforce the Pod Security level?",
    "answer": "W h e n   y o u   a r e   s a t i s f i e d   t h a t   t h e   c h o s e n   l e v e l   c a n   s a f e l y   b e   e n f o r c e d   o n   t h e   n a m e s p a c e ,   y o u   c a n   u p d a t e   t h e   n a m e s p a c e   t o   e n f o r c e   t h e   d e s i r e d   l e v e l :   k u b e c t l   l a b e l   - - o v e r w r i t e   n s   $ N A M E S P A C E   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e = $ L E V E L",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18372"
  },
  {
    "question": "What is 3.d. Bypass PodSecurityPolicy?",
    "answer": "F i n a l l y ,   y o u   c a n   e f f e c t i v e l y   b y p a s s   P o d S e c u r i t y P o l i c y   a t   t h e   n a m e s p a c e   l e v e l   b y   b i n d i n g   t h e   f u l l y   p r i v i l e g e d   P S P   t o   a l l   s e r v i c e   a c c o u n t s   i n   t h e   n a m e s p a c e .   #   T h e   f o l l o w i n g   c l u s t e r - s c o p e d   c o m m a n d s   a r e   o n l y   n e e d e d   o n c e .   k u b e c t l   a p p l y   - f   p r i v i l e g e d - p s p . y a m l   k u b e c t l   c r e a t e   c l u s t e r r o l e   p r i v i l e g e d - p s p   - - v e r b   u s e   - - r e s o u r c e   p o d s e c u r i t y p o l i c i e s . p o l i c y   - - r e s o u r c e - n a m e   p r i v i l e g e d   #   P e r - n a m e s p a c e   d i s a b l e   k u b e c t l   c r e a t e   - n   $ N A M E S P A C E   r o l e b i n d i n g   d i s a b l e - p s p   - - c l u s t e r r o l e   p r i v i l e g e d - p s p   - - g r o u p   s y s t e m : s e r v i c e a c c o u n t s : $ N A M E S P A C E   S i n c e   t h e   p r i v i l e g e d   P S P   i s   n o n - m u t a t i n g ,   a n d   t h e   P S P   a d m i s s i o n   c o n t r o l l e r   a l w a y s   p r e f e r s   n o n - m u t a t i n g   P S P s ,   t h i s   w i l l   e n s u r e   t h a t   p o d s   i n   t h i s   n a m e s p a c e   a r e   n o   l o n g e r   b e i n g   m o d i f i e d   o r   r e s t r i c t e d   b y   P o d S e c u r i t y P o l i c y .   T h e   a d v a n t a g e   t o   d i s a b l i n g   P o d S e c u r i t y P o l i c y   o n   a   p e r - n a m e s p a c e   b a s i s   l i k e   t h i s   i s   i f   a   p r o b l e m   a r i s e s   y o u   c a n   e a s i l y   r o l l   t h e   c h a n g e   b a c k   b y   d e l e t i n g   t h e   R o l e B i n d i n g .   J u s t   m a k e   s u r e   t h e   p r e - e x i s t i n g   P o d S e c u r i t y P o l i c i e s   a r e   s t i l l   i n   p l a c e !   #   U n d o   P o d S e c u r i t y P o l ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18373"
  },
  {
    "question": "What is 4. Review namespace creation processes?",
    "answer": "N o w   t h a t   e x i s t i n g   n a m e s p a c e s   h a v e   b e e n   u p d a t e d   t o   e n f o r c e   P o d   S e c u r i t y   A d m i s s i o n ,   y o u   s h o u l d   e n s u r e   t h a t   y o u r   p r o c e s s e s   a n d / o r   p o l i c i e s   f o r   c r e a t i n g   n e w   n a m e s p a c e s   a r e   u p d a t e d   t o   e n s u r e   t h a t   a n   a p p r o p r i a t e   P o d   S e c u r i t y   p r o f i l e   i s   a p p l i e d   t o   n e w   n a m e s p a c e s .   Y o u   c a n   a l s o   s t a t i c a l l y   c o n f i g u r e   t h e   P o d   S e c u r i t y   a d m i s s i o n   c o n t r o l l e r   t o   s e t   a   d e f a u l t   e n f o r c e ,   a u d i t ,   a n d / o r   w a r n   l e v e l   f o r   u n l a b e l e d   n a m e s p a c e s .   S e e   C o n f i g u r e   t h e   A d m i s s i o n   C o n t r o l l e r   f o r   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18374"
  },
  {
    "question": "What is 5. Disable PodSecurityPolicy?",
    "answer": "F i n a l l y ,   y o u ' r e   r e a d y   t o   d i s a b l e   P o d S e c u r i t y P o l i c y .   T o   d o   s o ,   y o u   w i l l   n e e d   t o   m o d i f y   t h e   a d m i s s i o n   c o n f i g u r a t i o n   o f   t h e   A P I   s e r v e r :   H o w   d o   I   t u r n   o f f   a n   a d m i s s i o n   c o n t r o l l e r ? .   T o   v e r i f y   t h a t   t h e   P o d S e c u r i t y P o l i c y   a d m i s s i o n   c o n t r o l l e r   i s   n o   l o n g e r   e n a b l e d ,   y o u   c a n   m a n u a l l y   r u n   a   t e s t   b y   i m p e r s o n a t i n g   a   u s e r   w i t h o u t   a c c e s s   t o   a n y   P o d S e c u r i t y P o l i c i e s   ( s e e   t h e   P o d S e c u r i t y P o l i c y   e x a m p l e ) ,   o r   b y   v e r i f y i n g   i n   t h e   A P I   s e r v e r   l o g s .   A t   s t a r t u p ,   t h e   A P I   s e r v e r   o u t p u t s   l o g   l i n e s   l i s t i n g   t h e   l o a d e d   a d m i s s i o n   c o n t r o l l e r   p l u g i n s :   I 0 2 1 8   0 0 : 5 9 : 4 4 . 9 0 3 3 2 9   1 3   p l u g i n s . g o : 1 5 8 ]   L o a d e d   1 6   m u t a t i n g   a d m i s s i o n   c o n t r o l l e r ( s )   s u c c e s s f u l l y   i n   t h e   f o l l o w i n g   o r d e r :   N a m e s p a c e L i f e c y c l e , L i m i t R a n g e r , S e r v i c e A c c o u n t , N o d e R e s t r i c t i o n , T a i n t N o d e s B y C o n d i t i o n , P r i o r i t y , D e f a u l t T o l e r a t i o n S e c o n d s , E x t e n d e d R e s o u r c e T o l e r a t i o n , P e r s i s t e n t V o l u m e L a b e l , D e f a u l t S t o r a g e C l a s s , S t o r a g e O b j e c t I n U s e P r o t e c t i o n , R u n t i m e C l a s s , D e f a u l t I n g r e s s C l a s s , M u t a t i n g A d m i s s i o n W e b h o o k .   I 0 2 1 8   0 0 : 5 9 : 4 4 . 9 0 3 3 5 0   1 3   p l u g i n s . g o : 1 6 1 ]   L o a d e d   1 4   v a l i d a t i n g   a d m i s s i o n   c o n t r o l l e r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18375"
  },
  {
    "question": "What is 4 - Monitoring, Logging, and Debugging?",
    "answer": "S o m e t i m e s   t h i n g s   g o   w r o n g .   T h i s   g u i d e   h e l p s   y o u   g a t h e r   t h e   r e l e v a n t   i n f o r m a t i o n   a n d   r e s o l v e   i s s u e s .   I t   h a s   f o u r   s e c t i o n s :   D e b u g g i n g   y o u r   a p p l i c a t i o n   -   U s e f u l   f o r   u s e r s   w h o   a r e   d e p l o y i n g   c o d e   i n t o   K u b e r n e t e s   a n d   w o n d e r i n g   w h y   i t   i s   n o t   w o r k i n g . D e b u g g i n g   y o u r   c l u s t e r   -   U s e f u l   f o r   c l u s t e r   a d m i n i s t r a t o r s   a n d   o p e r a t o r s   t r o u b l e s h o o t i n g   i s s u e s   w i t h   t h e   K u b e r n e t e s   c l u s t e r   i t s e l f . L o g g i n g   i n   K u b e r n e t e s   -   U s e f u l   f o r   c l u s t e r   a d m i n i s t r a t o r s   w h o   w a n t   t o   s e t   u p   a n d   m a n a g e   l o g g i n g   i n   K u b e r n e t e s . M o n i t o r i n g   i n   K u b e r n e t e s   -   U s e f u l   f o r   c l u s t e r   a d m i n i s t r a t o r s   w h o   w a n t   t o   e n a b l e   m o n i t o r i n g   i n   a   K u b e r n e t e s   c l u s t e r .   Y o u   s h o u l d   a l s o   c h e c k   t h e   k n o w n   i s s u e s   f o r   t h e   r e l e a s e   y o u ' r e   u s i n g .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18376"
  },
  {
    "question": "What is Getting help?",
    "answer": "I f   y o u r   p r o b l e m   i s n ' t   a n s w e r e d   b y   a n y   o f   t h e   g u i d e s   a b o v e ,   t h e r e   a r e   v a r i e t y   o f   w a y s   f o r   y o u   t o   g e t   h e l p   f r o m   t h e   K u b e r n e t e s   c o m m u n i t y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18377"
  },
  {
    "question": "What is Questions?",
    "answer": "T h e   d o c u m e n t a t i o n   o n   t h i s   s i t e   h a s   b e e n   s t r u c t u r e d   t o   p r o v i d e   a n s w e r s   t o   a   w i d e   r a n g e   o f   q u e s t i o n s .   C o n c e p t s   e x p l a i n   t h e   K u b e r n e t e s   a r c h i t e c t u r e   a n d   h o w   e a c h   c o m p o n e n t   w o r k s ,   w h i l e   S e t u p   p r o v i d e s   p r a c t i c a l   i n s t r u c t i o n s   f o r   g e t t i n g   s t a r t e d .   T a s k s   s h o w   h o w   t o   a c c o m p l i s h   c o m m o n l y   u s e d   t a s k s ,   a n d   T u t o r i a l s   a r e   m o r e   c o m p r e h e n s i v e   w a l k t h r o u g h s   o f   r e a l - w o r l d ,   i n d u s t r y - s p e c i f i c ,   o r   e n d - t o - e n d   d e v e l o p m e n t   s c e n a r i o s .   T h e   R e f e r e n c e   s e c t i o n   p r o v i d e s   d e t a i l e d   d o c u m e n t a t i o n   o n   t h e   K u b e r n e t e s   A P I   a n d   c o m m a n d - l i n e   i n t e r f a c e s   ( C L I s ) ,   s u c h   a s   k u b e c t l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18378"
  },
  {
    "question": "What is Stack Exchange, Stack Overflow, or Server Fault?",
    "answer": "I f   y o u   h a v e   q u e s t i o n s   r e l a t e d   t o   s o f t w a r e   d e v e l o p m e n t   f o r   y o u r   c o n t a i n e r i z e d   a p p ,   y o u   c a n   a s k   t h o s e   o n   S t a c k   O v e r f l o w .   I f   y o u   h a v e   K u b e r n e t e s   q u e s t i o n s   r e l a t e d   t o   c l u s t e r   m a n a g e m e n t   o r   c o n f i g u r a t i o n ,   y o u   c a n   a s k   t h o s e   o n   S e r v e r   F a u l t .   T h e r e   a r e   a l s o   s e v e r a l   m o r e   s p e c i f i c   S t a c k   E x c h a n g e   n e t w o r k   s i t e s   w h i c h   m i g h t   b e   t h e   r i g h t   p l a c e   t o   a s k   K u b e r n e t e s   q u e s t i o n s   i n   a r e a s   s u c h   a s   D e v O p s ,   S o f t w a r e   E n g i n e e r i n g ,   o r   I n f o S e c .   S o m e o n e   e l s e   f r o m   t h e   c o m m u n i t y   m a y   h a v e   a l r e a d y   a s k e d   a   s i m i l a r   q u e s t i o n   o r   m a y   b e   a b l e   t o   h e l p   w i t h   y o u r   p r o b l e m .   T h e   K u b e r n e t e s   t e a m   w i l l   a l s o   m o n i t o r   p o s t s   t a g g e d   K u b e r n e t e s .   I f   t h e r e   a r e n ' t   a n y   e x i s t i n g   q u e s t i o n s   t h a t   h e l p ,   p l e a s e   e n s u r e   t h a t   y o u r   q u e s t i o n   i s   o n - t o p i c   o n   S t a c k   O v e r f l o w ,   S e r v e r   F a u l t ,   o r   t h e   S t a c k   E x c h a n g e   N e t w o r k   s i t e   y o u ' r e   a s k i n g   o n ,   a n d   r e a d   t h r o u g h   t h e   g u i d a n c e   o n   h o w   t o   a s k   a   n e w   q u e s t i o n ,   b e f o r e   a s k i n g   a   n e w   o n e !",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18379"
  },
  {
    "question": "What is Slack?",
    "answer": "M a n y   p e o p l e   f r o m   t h e   K u b e r n e t e s   c o m m u n i t y   h a n g   o u t   o n   K u b e r n e t e s   S l a c k   i n   t h e   # k u b e r n e t e s - u s e r s   c h a n n e l .   S l a c k   r e q u i r e s   r e g i s t r a t i o n ;   y o u   c a n   r e q u e s t   a n   i n v i t a t i o n ,   a n d   r e g i s t r a t i o n   i s   o p e n   t o   e v e r y o n e ) .   F e e l   f r e e   t o   c o m e   a n d   a s k   a n y   a n d   a l l   q u e s t i o n s .   O n c e   r e g i s t e r e d ,   a c c e s s   t h e   K u b e r n e t e s   o r g a n i s a t i o n   i n   S l a c k   v i a   y o u r   w e b   b r o w s e r   o r   v i a   S l a c k ' s   o w n   d e d i c a t e d   a p p .   O n c e   y o u   a r e   r e g i s t e r e d ,   b r o w s e   t h e   g r o w i n g   l i s t   o f   c h a n n e l s   f o r   v a r i o u s   s u b j e c t s   o f   i n t e r e s t .   F o r   e x a m p l e ,   p e o p l e   n e w   t o   K u b e r n e t e s   m a y   a l s o   w a n t   t o   j o i n   t h e   # k u b e r n e t e s - n o v i c e   c h a n n e l .   A s   a n o t h e r   e x a m p l e ,   d e v e l o p e r s   s h o u l d   j o i n   t h e   # k u b e r n e t e s - c o n t r i b u t o r s   c h a n n e l .   T h e r e   a r e   a l s o   m a n y   c o u n t r y   s p e c i f i c   /   l o c a l   l a n g u a g e   c h a n n e l s .   F e e l   f r e e   t o   j o i n   t h e s e   c h a n n e l s   f o r   l o c a l i z e d   s u p p o r t   a n d   i n f o :",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18380"
  },
  {
    "question": "What is Forum?",
    "answer": "Y o u ' r e   w e l c o m e   t o   j o i n   t h e   o f f i c i a l   K u b e r n e t e s   F o r u m :   d i s c u s s . k u b e r n e t e s . i o .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18381"
  },
  {
    "question": "What is Bugs and feature requests?",
    "answer": "I f   y o u   h a v e   w h a t   l o o k s   l i k e   a   b u g ,   o r   y o u   w o u l d   l i k e   t o   m a k e   a   f e a t u r e   r e q u e s t ,   p l e a s e   u s e   t h e   G i t H u b   i s s u e   t r a c k i n g   s y s t e m .   B e f o r e   y o u   f i l e   a n   i s s u e ,   p l e a s e   s e a r c h   e x i s t i n g   i s s u e s   t o   s e e   i f   y o u r   i s s u e   i s   a l r e a d y   c o v e r e d .   I f   f i l i n g   a   b u g ,   p l e a s e   i n c l u d e   d e t a i l e d   i n f o r m a t i o n   a b o u t   h o w   t o   r e p r o d u c e   t h e   p r o b l e m ,   s u c h   a s :   K u b e r n e t e s   v e r s i o n :   k u b e c t l   v e r s i o n C l o u d   p r o v i d e r ,   O S   d i s t r o ,   n e t w o r k   c o n f i g u r a t i o n ,   a n d   c o n t a i n e r   r u n t i m e   v e r s i o n S t e p s   t o   r e p r o d u c e   t h e   p r o b l e m",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18382"
  },
  {
    "question": "What is 4.1 - Logging in Kubernetes?",
    "answer": "T h i s   p a g e   p r o v i d e s   r e s o u r c e s   t h a t   d e s c r i b e   l o g g i n g   i n   K u b e r n e t e s .   Y o u   c a n   l e a r n   h o w   t o   c o l l e c t ,   a c c e s s ,   a n d   a n a l y z e   l o g s   u s i n g   b u i l t - i n   t o o l s   a n d   p o p u l a r   l o g g i n g   s t a c k s :   L o g g i n g   A r c h i t e c t u r e S y s t e m   L o g s A   P r a c t i c a l   G u i d e   t o   K u b e r n e t e s   L o g g i n g",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18383"
  },
  {
    "question": "What is 4.2 - Monitoring in Kubernetes?",
    "answer": "T h i s   p a g e   p r o v i d e s   r e s o u r c e s   t h a t   d e s c r i b e   m o n i t o r i n g   i n   K u b e r n e t e s .   Y o u   c a n   l e a r n   h o w   t o   c o l l e c t   s y s t e m   m e t r i c s   a n d   t r a c e s   f o r   K u b e r n e t e s   s y s t e m   c o m p o n e n t s :   M e t r i c s   F o r   K u b e r n e t e s   S y s t e m   C o m p o n e n t s T r a c e s   F o r   K u b e r n e t e s   S y s t e m   C o m p o n e n t s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18384"
  },
  {
    "question": "What is 4.3 - Troubleshooting Applications?",
    "answer": "T h i s   d o c   c o n t a i n s   a   s e t   o f   r e s o u r c e s   f o r   f i x i n g   i s s u e s   w i t h   c o n t a i n e r i z e d   a p p l i c a t i o n s .   I t   c o v e r s   t h i n g s   l i k e   c o m m o n   i s s u e s   w i t h   K u b e r n e t e s   r e s o u r c e s   ( l i k e   P o d s ,   S e r v i c e s ,   o r   S t a t e f u l S e t s ) ,   a d v i c e   o n   m a k i n g   s e n s e   o f   c o n t a i n e r   t e r m i n a t i o n   m e s s a g e s ,   a n d   w a y s   t o   d e b u g   r u n n i n g   c o n t a i n e r s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18385"
  },
  {
    "question": "What is 4.3.1 - Debug Pods?",
    "answer": "T h i s   g u i d e   i s   t o   h e l p   u s e r s   d e b u g   a p p l i c a t i o n s   t h a t   a r e   d e p l o y e d   i n t o   K u b e r n e t e s   a n d   n o t   b e h a v i n g   c o r r e c t l y .   T h i s   i s   n o t   a   g u i d e   f o r   p e o p l e   w h o   w a n t   t o   d e b u g   t h e i r   c l u s t e r .   F o r   t h a t   y o u   s h o u l d   c h e c k   o u t   t h i s   g u i d e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18386"
  },
  {
    "question": "What is Diagnosing the problem?",
    "answer": "T h e   f i r s t   s t e p   i n   t r o u b l e s h o o t i n g   i s   t r i a g e .   W h a t   i s   t h e   p r o b l e m ?   I s   i t   y o u r   P o d s ,   y o u r   R e p l i c a t i o n   C o n t r o l l e r   o r   y o u r   S e r v i c e ?   D e b u g g i n g   P o d s D e b u g g i n g   R e p l i c a t i o n   C o n t r o l l e r s D e b u g g i n g   S e r v i c e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18387"
  },
  {
    "question": "What is Debugging Pods?",
    "answer": "T h e   f i r s t   s t e p   i n   d e b u g g i n g   a   P o d   i s   t a k i n g   a   l o o k   a t   i t .   C h e c k   t h e   c u r r e n t   s t a t e   o f   t h e   P o d   a n d   r e c e n t   e v e n t s   w i t h   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   d e s c r i b e   p o d s   $ { P O D _ N A M E }   L o o k   a t   t h e   s t a t e   o f   t h e   c o n t a i n e r s   i n   t h e   p o d .   A r e   t h e y   a l l   R u n n i n g ?   H a v e   t h e r e   b e e n   r e c e n t   r e s t a r t s ?   C o n t i n u e   d e b u g g i n g   d e p e n d i n g   o n   t h e   s t a t e   o f   t h e   p o d s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18388"
  },
  {
    "question": "What is My pod stays pending?",
    "answer": "I f   a   P o d   i s   s t u c k   i n   P e n d i n g   i t   m e a n s   t h a t   i t   c a n   n o t   b e   s c h e d u l e d   o n t o   a   n o d e .   G e n e r a l l y   t h i s   i s   b e c a u s e   t h e r e   a r e   i n s u f f i c i e n t   r e s o u r c e s   o f   o n e   t y p e   o r   a n o t h e r   t h a t   p r e v e n t   s c h e d u l i n g .   L o o k   a t   t h e   o u t p u t   o f   t h e   k u b e c t l   d e s c r i b e   . . .   c o m m a n d   a b o v e .   T h e r e   s h o u l d   b e   m e s s a g e s   f r o m   t h e   s c h e d u l e r   a b o u t   w h y   i t   c a n   n o t   s c h e d u l e   y o u r   p o d .   R e a s o n s   i n c l u d e :   Y o u   d o n ' t   h a v e   e n o u g h   r e s o u r c e s :   Y o u   m a y   h a v e   e x h a u s t e d   t h e   s u p p l y   o f   C P U   o r   M e m o r y   i n   y o u r   c l u s t e r ,   i n   t h i s   c a s e   y o u   n e e d   t o   d e l e t e   P o d s ,   a d j u s t   r e s o u r c e   r e q u e s t s ,   o r   a d d   n e w   n o d e s   t o   y o u r   c l u s t e r .   S e e   C o m p u t e   R e s o u r c e s   d o c u m e n t   f o r   m o r e   i n f o r m a t i o n . Y o u   a r e   u s i n g   h o s t P o r t :   W h e n   y o u   b i n d   a   P o d   t o   a   h o s t P o r t   t h e r e   a r e   a   l i m i t e d   n u m b e r   o f   p l a c e s   t h a t   p o d   c a n   b e   s c h e d u l e d .   I n   m o s t   c a s e s ,   h o s t P o r t   i s   u n n e c e s s a r y ,   t r y   u s i n g   a   S e r v i c e   o b j e c t   t o   e x p o s e   y o u r   P o d .   I f   y o u   d o   r e q u i r e   h o s t P o r t   t h e n   y o u   c a n   o n l y   s c h e d u l e   a s   m a n y   P o d s   a s   t h e r e   a r e   n o d e s   i n   y o u r   K u b e r n e t e s   c l u s t e r .   Y o u   d o n ' t   h a v e   e n o u g h   r e s o u r c e s :   Y o u   m a y   h a v e   e x h a u s t e d   t h e   s u p p l y   o f   C P U   o r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18389"
  },
  {
    "question": "What is My pod stays waiting?",
    "answer": "I f   a   P o d   i s   s t u c k   i n   t h e   W a i t i n g   s t a t e ,   t h e n   i t   h a s   b e e n   s c h e d u l e d   t o   a   w o r k e r   n o d e ,   b u t   i t   c a n ' t   r u n   o n   t h a t   m a c h i n e .   A g a i n ,   t h e   i n f o r m a t i o n   f r o m   k u b e c t l   d e s c r i b e   . . .   s h o u l d   b e   i n f o r m a t i v e .   T h e   m o s t   c o m m o n   c a u s e   o f   W a i t i n g   p o d s   i s   a   f a i l u r e   t o   p u l l   t h e   i m a g e .   T h e r e   a r e   t h r e e   t h i n g s   t o   c h e c k :   M a k e   s u r e   t h a t   y o u   h a v e   t h e   n a m e   o f   t h e   i m a g e   c o r r e c t . H a v e   y o u   p u s h e d   t h e   i m a g e   t o   t h e   r e g i s t r y ? T r y   t o   m a n u a l l y   p u l l   t h e   i m a g e   t o   s e e   i f   t h e   i m a g e   c a n   b e   p u l l e d .   F o r   e x a m p l e ,   i f   y o u   u s e   D o c k e r   o n   y o u r   P C ,   r u n   d o c k e r   p u l l   < i m a g e > .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18390"
  },
  {
    "question": "What is My pod stays terminating?",
    "answer": "I f   a   P o d   i s   s t u c k   i n   t h e   T e r m i n a t i n g   s t a t e ,   i t   m e a n s   t h a t   a   d e l e t i o n   h a s   b e e n   i s s u e d   f o r   t h e   P o d ,   b u t   t h e   c o n t r o l   p l a n e   i s   u n a b l e   t o   d e l e t e   t h e   P o d   o b j e c t .   T h i s   t y p i c a l l y   h a p p e n s   i f   t h e   P o d   h a s   a   f i n a l i z e r   a n d   t h e r e   i s   a n   a d m i s s i o n   w e b h o o k   i n s t a l l e d   i n   t h e   c l u s t e r   t h a t   p r e v e n t s   t h e   c o n t r o l   p l a n e   f r o m   r e m o v i n g   t h e   f i n a l i z e r .   T o   i d e n t i f y   t h i s   s c e n a r i o ,   c h e c k   i f   y o u r   c l u s t e r   h a s   a n y   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   o r   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   t h a t   t a r g e t   U P D A T E   o p e r a t i o n s   f o r   p o d s   r e s o u r c e s .   I f   t h e   w e b h o o k   i s   p r o v i d e d   b y   a   t h i r d - p a r t y :   M a k e   s u r e   y o u   a r e   u s i n g   t h e   l a t e s t   v e r s i o n . D i s a b l e   t h e   w e b h o o k   f o r   U P D A T E   o p e r a t i o n s . R e p o r t   a n   i s s u e   w i t h   t h e   c o r r e s p o n d i n g   p r o v i d e r .   I f   y o u   a r e   t h e   a u t h o r   o f   t h e   w e b h o o k :   F o r   a   m u t a t i n g   w e b h o o k ,   m a k e   s u r e   i t   n e v e r   c h a n g e s   i m m u t a b l e   f i e l d s   o n   U P D A T E   o p e r a t i o n s .   F o r   e x a m p l e ,   c h a n g e s   t o   c o n t a i n e r s   a r e   u s u a l l y   n o t   a l l o w e d . F o r   a   v a l i d a t i n g   w e b h o o k ,   m a k e   s u r e   t h a t   y o u r   v a l i d a t i o n   p o l i c i e s   o n l y   a p p l y   t o   n e w   c h a n g e s .   I n   o t h e r   w o r d s ,   y o u   s h o u l d   a l l o w   P o d s   w i t h   e x ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18391"
  },
  {
    "question": "What is My pod is crashing or otherwise unhealthy?",
    "answer": "O n c e   y o u r   p o d   h a s   b e e n   s c h e d u l e d ,   t h e   m e t h o d s   d e s c r i b e d   i n   D e b u g   R u n n i n g   P o d s   a r e   a v a i l a b l e   f o r   d e b u g g i n g .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18392"
  },
  {
    "question": "What is My pod is running but not doing what I told it to do?",
    "answer": "I f   y o u r   p o d   i s   n o t   b e h a v i n g   a s   y o u   e x p e c t e d ,   i t   m a y   b e   t h a t   t h e r e   w a s   a n   e r r o r   i n   y o u r   p o d   d e s c r i p t i o n   ( e . g .   m y p o d . y a m l   f i l e   o n   y o u r   l o c a l   m a c h i n e ) ,   a n d   t h a t   t h e   e r r o r   w a s   s i l e n t l y   i g n o r e d   w h e n   y o u   c r e a t e d   t h e   p o d .   O f t e n   a   s e c t i o n   o f   t h e   p o d   d e s c r i p t i o n   i s   n e s t e d   i n c o r r e c t l y ,   o r   a   k e y   n a m e   i s   t y p e d   i n c o r r e c t l y ,   a n d   s o   t h e   k e y   i s   i g n o r e d .   F o r   e x a m p l e ,   i f   y o u   m i s s p e l l e d   c o m m a n d   a s   c o m m n d   t h e n   t h e   p o d   w i l l   b e   c r e a t e d   b u t   w i l l   n o t   u s e   t h e   c o m m a n d   l i n e   y o u   i n t e n d e d   i t   t o   u s e .   T h e   f i r s t   t h i n g   t o   d o   i s   t o   d e l e t e   y o u r   p o d   a n d   t r y   c r e a t i n g   i t   a g a i n   w i t h   t h e   - - v a l i d a t e   o p t i o n .   F o r   e x a m p l e ,   r u n   k u b e c t l   a p p l y   - - v a l i d a t e   - f   m y p o d . y a m l .   I f   y o u   m i s s p e l l e d   c o m m a n d   a s   c o m m n d   t h e n   w i l l   g i v e   a n   e r r o r   l i k e   t h i s :   I 0 8 0 5   1 0 : 4 3 : 2 5 . 1 2 9 8 5 0   4 6 7 5 7   s c h e m a . g o : 1 2 6 ]   u n k n o w n   f i e l d :   c o m m n d   I 0 8 0 5   1 0 : 4 3 : 2 5 . 1 2 9 9 7 3   4 6 7 5 7   s c h e m a . g o : 1 2 9 ]   t h i s   m a y   b e   a   f a l s e   a l a r m ,   s e e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k u b e r n e t e s / i s s u e s / 6 8 4 2   p o d s / m y p o d   T h e   n e x t   t h i n g   t o   c h e c k   i s   w h e t h e r   t h e   p o d   o n   t h e   a p i s e r v e r   m a t c h e s   t h e   p o d   y o u   m e a n t   t o   c r e a t e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18393"
  },
  {
    "question": "What is Debugging Replication Controllers?",
    "answer": "R e p l i c a t i o n   c o n t r o l l e r s   a r e   f a i r l y   s t r a i g h t f o r w a r d .   T h e y   c a n   e i t h e r   c r e a t e   P o d s   o r   t h e y   c a n ' t .   I f   t h e y   c a n ' t   c r e a t e   p o d s ,   t h e n   p l e a s e   r e f e r   t o   t h e   i n s t r u c t i o n s   a b o v e   t o   d e b u g   y o u r   p o d s .   Y o u   c a n   a l s o   u s e   k u b e c t l   d e s c r i b e   r c   $ { C O N T R O L L E R _ N A M E }   t o   i n t r o s p e c t   e v e n t s   r e l a t e d   t o   t h e   r e p l i c a t i o n   c o n t r o l l e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18394"
  },
  {
    "question": "What is Debugging Services?",
    "answer": "S e r v i c e s   p r o v i d e   l o a d   b a l a n c i n g   a c r o s s   a   s e t   o f   p o d s .   T h e r e   a r e   s e v e r a l   c o m m o n   p r o b l e m s   t h a t   c a n   m a k e   S e r v i c e s   n o t   w o r k   p r o p e r l y .   T h e   f o l l o w i n g   i n s t r u c t i o n s   s h o u l d   h e l p   d e b u g   S e r v i c e   p r o b l e m s .   F i r s t ,   v e r i f y   t h a t   t h e r e   a r e   e n d p o i n t s   f o r   t h e   s e r v i c e .   F o r   e v e r y   S e r v i c e   o b j e c t ,   t h e   a p i s e r v e r   m a k e s   o n e   o r   m o r e   E n d p o i n t S l i c e   r e s o u r c e s   a v a i l a b l e .   Y o u   c a n   v i e w   t h e s e   r e s o u r c e s   w i t h :   k u b e c t l   g e t   e n d p o i n t s l i c e s   - l   k u b e r n e t e s . i o / s e r v i c e - n a m e = $ { S E R V I C E _ N A M E }   M a k e   s u r e   t h a t   t h e   e n d p o i n t s   i n   t h e   E n d p o i n t S l i c e s   m a t c h   u p   w i t h   t h e   n u m b e r   o f   p o d s   t h a t   y o u   e x p e c t   t o   b e   m e m b e r s   o f   y o u r   s e r v i c e .   F o r   e x a m p l e ,   i f   y o u r   S e r v i c e   i s   f o r   a n   n g i n x   c o n t a i n e r   w i t h   3   r e p l i c a s ,   y o u   w o u l d   e x p e c t   t o   s e e   t h r e e   d i f f e r e n t   I P   a d d r e s s e s   i n   t h e   S e r v i c e ' s   e n d p o i n t   s l i c e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18395"
  },
  {
    "question": "What is My service is missing endpoints?",
    "answer": "I f   y o u   a r e   m i s s i n g   e n d p o i n t s ,   t r y   l i s t i n g   p o d s   u s i n g   t h e   l a b e l s   t h a t   S e r v i c e   u s e s .   I m a g i n e   t h a t   y o u   h a v e   a   S e r v i c e   w h e r e   t h e   l a b e l s   a r e :   . . .   s p e c :   -   s e l e c t o r :   n a m e :   n g i n x   t y p e :   f r o n t e n d   Y o u   c a n   u s e :   k u b e c t l   g e t   p o d s   - - s e l e c t o r = n a m e = n g i n x , t y p e = f r o n t e n d   t o   l i s t   p o d s   t h a t   m a t c h   t h i s   s e l e c t o r .   V e r i f y   t h a t   t h e   l i s t   m a t c h e s   t h e   P o d s   t h a t   y o u   e x p e c t   t o   p r o v i d e   y o u r   S e r v i c e .   V e r i f y   t h a t   t h e   p o d ' s   c o n t a i n e r P o r t   m a t c h e s   u p   w i t h   t h e   S e r v i c e ' s   t a r g e t P o r t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18396"
  },
  {
    "question": "What is Network traffic is not forwarded?",
    "answer": "P l e a s e   s e e   d e b u g g i n g   s e r v i c e   f o r   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18397"
  },
  {
    "question": "What is What's next?",
    "answer": "I f   n o n e   o f   t h e   a b o v e   s o l v e s   y o u r   p r o b l e m ,   f o l l o w   t h e   i n s t r u c t i o n s   i n   D e b u g g i n g   S e r v i c e   d o c u m e n t   t o   m a k e   s u r e   t h a t   y o u r   S e r v i c e   i s   r u n n i n g ,   h a s   E n d p o i n t s ,   a n d   y o u r   P o d s   a r e   a c t u a l l y   s e r v i n g ;   y o u   h a v e   D N S   w o r k i n g ,   i p t a b l e s   r u l e s   i n s t a l l e d ,   a n d   k u b e - p r o x y   d o e s   n o t   s e e m   t o   b e   m i s b e h a v i n g .   Y o u   m a y   a l s o   v i s i t   t r o u b l e s h o o t i n g   d o c u m e n t   f o r   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18398"
  },
  {
    "question": "What is 4.3.2 - Debug Services?",
    "answer": "A n   i s s u e   t h a t   c o m e s   u p   r a t h e r   f r e q u e n t l y   f o r   n e w   i n s t a l l a t i o n s   o f   K u b e r n e t e s   i s   t h a t   a   S e r v i c e   i s   n o t   w o r k i n g   p r o p e r l y .   Y o u ' v e   r u n   y o u r   P o d s   t h r o u g h   a   D e p l o y m e n t   ( o r   o t h e r   w o r k l o a d   c o n t r o l l e r )   a n d   c r e a t e d   a   S e r v i c e ,   b u t   y o u   g e t   n o   r e s p o n s e   w h e n   y o u   t r y   t o   a c c e s s   i t .   T h i s   d o c u m e n t   w i l l   h o p e f u l l y   h e l p   y o u   t o   f i g u r e   o u t   w h a t ' s   g o i n g   w r o n g .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18399"
  },
  {
    "question": "What is Running commands in a Pod?",
    "answer": "F o r   m a n y   s t e p s   h e r e   y o u   w i l l   w a n t   t o   s e e   w h a t   a   P o d   r u n n i n g   i n   t h e   c l u s t e r   s e e s .   T h e   s i m p l e s t   w a y   t o   d o   t h i s   i s   t o   r u n   a n   i n t e r a c t i v e   b u s y b o x   P o d :   k u b e c t l   r u n   - i t   - - r m   - - r e s t a r t = N e v e r   b u s y b o x   - - i m a g e = g c r . i o / g o o g l e - c o n t a i n e r s / b u s y b o x   s h",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18400"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   a l r e a d y   h a v e   a   r u n n i n g   P o d   t h a t   y o u   p r e f e r   t o   u s e ,   y o u   c a n   r u n   a   c o m m a n d   i n   i t   u s i n g :   k u b e c t l   e x e c   < P O D - N A M E >   - c   < C O N T A I N E R - N A M E >   - -   < C O M M A N D >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18401"
  },
  {
    "question": "What is Setup?",
    "answer": "F o r   t h e   p u r p o s e s   o f   t h i s   w a l k - t h r o u g h ,   l e t ' s   r u n   s o m e   P o d s .   S i n c e   y o u ' r e   p r o b a b l y   d e b u g g i n g   y o u r   o w n   S e r v i c e   y o u   c a n   s u b s t i t u t e   y o u r   o w n   d e t a i l s ,   o r   y o u   c a n   f o l l o w   a l o n g   a n d   g e t   a   s e c o n d   d a t a   p o i n t .   k u b e c t l   c r e a t e   d e p l o y m e n t   h o s t n a m e s   - - i m a g e = r e g i s t r y . k 8 s . i o / s e r v e _ h o s t n a m e   d e p l o y m e n t . a p p s / h o s t n a m e s   c r e a t e d   k u b e c t l   c o m m a n d s   w i l l   p r i n t   t h e   t y p e   a n d   n a m e   o f   t h e   r e s o u r c e   c r e a t e d   o r   m u t a t e d ,   w h i c h   c a n   t h e n   b e   u s e d   i n   s u b s e q u e n t   c o m m a n d s .   L e t ' s   s c a l e   t h e   d e p l o y m e n t   t o   3   r e p l i c a s .   k u b e c t l   s c a l e   d e p l o y m e n t   h o s t n a m e s   - - r e p l i c a s = 3   d e p l o y m e n t . a p p s / h o s t n a m e s   s c a l e d   N o t e   t h a t   t h i s   i s   t h e   s a m e   a s   i f   y o u   h a d   s t a r t e d   t h e   D e p l o y m e n t   w i t h   t h e   f o l l o w i n g   Y A M L :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   l a b e l s :   a p p :   h o s t n a m e s   n a m e :   h o s t n a m e s   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   h o s t n a m e s   r e p l i c a s :   3   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   h o s t n a m e s   s p e c :   c o n t a i n e r s :   -   n a m e :   h o s t n a m e s   i m a g e :   r e g i s t r y . k 8 s . i o / s e r v e _ h o s t n a m e   T h e   l a b e l   \" a p p \"   i s   a u t o m a t i c a l l y   s e t   b y   k u b e c t l   c r e a t e   d e p l o y m e n t   t o   t h e   n a m e   o f   t h e   D e p l o y m ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18402"
  },
  {
    "question": "What is Does the Service exist??",
    "answer": "T h e   a s t u t e   r e a d e r   w i l l   h a v e   n o t i c e d   t h a t   y o u   d i d   n o t   a c t u a l l y   c r e a t e   a   S e r v i c e   y e t   -   t h a t   i s   i n t e n t i o n a l .   T h i s   i s   a   s t e p   t h a t   s o m e t i m e s   g e t s   f o r g o t t e n ,   a n d   i s   t h e   f i r s t   t h i n g   t o   c h e c k .   W h a t   w o u l d   h a p p e n   i f   y o u   t r i e d   t o   a c c e s s   a   n o n - e x i s t e n t   S e r v i c e ?   I f   y o u   h a v e   a n o t h e r   P o d   t h a t   c o n s u m e s   t h i s   S e r v i c e   b y   n a m e   y o u   w o u l d   g e t   s o m e t h i n g   l i k e :   w g e t   - O -   h o s t n a m e s   R e s o l v i n g   h o s t n a m e s   ( h o s t n a m e s ) . . .   f a i l e d :   N a m e   o r   s e r v i c e   n o t   k n o w n .   w g e t :   u n a b l e   t o   r e s o l v e   h o s t   a d d r e s s   ' h o s t n a m e s '   T h e   f i r s t   t h i n g   t o   c h e c k   i s   w h e t h e r   t h a t   S e r v i c e   a c t u a l l y   e x i s t s :   k u b e c t l   g e t   s v c   h o s t n a m e s   N o   r e s o u r c e s   f o u n d .   E r r o r   f r o m   s e r v e r   ( N o t F o u n d ) :   s e r v i c e s   \" h o s t n a m e s \"   n o t   f o u n d   L e t ' s   c r e a t e   t h e   S e r v i c e .   A s   b e f o r e ,   t h i s   i s   f o r   t h e   w a l k - t h r o u g h   -   y o u   c a n   u s e   y o u r   o w n   S e r v i c e ' s   d e t a i l s   h e r e .   k u b e c t l   e x p o s e   d e p l o y m e n t   h o s t n a m e s   - - p o r t = 8 0   - - t a r g e t - p o r t = 9 3 7 6   s e r v i c e / h o s t n a m e s   e x p o s e d   A n d   r e a d   i t   b a c k :   k u b e c t l   g e t   s v c   h o s t n a m e s   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   h o s t n a m e s   C l u s t e r I P   1 0 . 0 . 1 . 1 7 5   < n o n e >   8 0 / T C P   5 s   N o w   y o u   k ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18403"
  },
  {
    "question": "What is Any Network Policy Ingress rules affecting the target Pods??",
    "answer": "I f   y o u   h a v e   d e p l o y e d   a n y   N e t w o r k   P o l i c y   I n g r e s s   r u l e s   w h i c h   m a y   a f f e c t   i n c o m i n g   t r a f f i c   t o   h o s t n a m e s - *   P o d s ,   t h e s e   n e e d   t o   b e   r e v i e w e d .   P l e a s e   r e f e r   t o   N e t w o r k   P o l i c i e s   f o r   m o r e   d e t a i l s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18404"
  },
  {
    "question": "What is Does the Service work by DNS name??",
    "answer": "O n e   o f   t h e   m o s t   c o m m o n   w a y s   t h a t   c l i e n t s   c o n s u m e   a   S e r v i c e   i s   t h r o u g h   a   D N S   n a m e .   F r o m   a   P o d   i n   t h e   s a m e   N a m e s p a c e :   n s l o o k u p   h o s t n a m e s   A d d r e s s   1 :   1 0 . 0 . 0 . 1 0   k u b e - d n s . k u b e - s y s t e m . s v c . c l u s t e r . l o c a l   N a m e :   h o s t n a m e s   A d d r e s s   1 :   1 0 . 0 . 1 . 1 7 5   h o s t n a m e s . d e f a u l t . s v c . c l u s t e r . l o c a l   I f   t h i s   f a i l s ,   p e r h a p s   y o u r   P o d   a n d   S e r v i c e   a r e   i n   d i f f e r e n t   N a m e s p a c e s ,   t r y   a   n a m e s p a c e - q u a l i f i e d   n a m e   ( a g a i n ,   f r o m   w i t h i n   a   P o d ) :   n s l o o k u p   h o s t n a m e s . d e f a u l t   A d d r e s s   1 :   1 0 . 0 . 0 . 1 0   k u b e - d n s . k u b e - s y s t e m . s v c . c l u s t e r . l o c a l   N a m e :   h o s t n a m e s . d e f a u l t   A d d r e s s   1 :   1 0 . 0 . 1 . 1 7 5   h o s t n a m e s . d e f a u l t . s v c . c l u s t e r . l o c a l   I f   t h i s   w o r k s ,   y o u ' l l   n e e d   t o   a d j u s t   y o u r   a p p   t o   u s e   a   c r o s s - n a m e s p a c e   n a m e ,   o r   r u n   y o u r   a p p   a n d   S e r v i c e   i n   t h e   s a m e   N a m e s p a c e .   I f   t h i s   s t i l l   f a i l s ,   t r y   a   f u l l y - q u a l i f i e d   n a m e :   n s l o o k u p   h o s t n a m e s . d e f a u l t . s v c . c l u s t e r . l o c a l   A d d r e s s   1 :   1 0 . 0 . 0 . 1 0   k u b e - d n s . k u b e - s y s t e m . s v c . c l u s t e r . l o c a l   N a m e :   h o s t n a m e s . d e f a u l t . s v c . c l u s t e r . l o c a l   A d d r e s s   1 :   1 0 . 0 . 1 . 1 7 5   h o s t n a m e s . d e f a u l t . s v c . c l u s t e r . l o c a l   N o t e   t h e   s u f f i x   h e r e :   \" d e f a u l t . s v c . c l u s t e r . l o c a l ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18405"
  },
  {
    "question": "What is Note:?",
    "answer": "n s l o o k u p   h o s t n a m e s . d e f a u l t . s v c . c l u s t e r . l o c a l   1 0 . 0 . 0 . 1 0   S e r v e r :   1 0 . 0 . 0 . 1 0   A d d r e s s :   1 0 . 0 . 0 . 1 0 # 5 3   N a m e :   h o s t n a m e s . d e f a u l t . s v c . c l u s t e r . l o c a l   A d d r e s s :   1 0 . 0 . 1 . 1 7 5   I f   y o u   a r e   a b l e   t o   d o   a   f u l l y - q u a l i f i e d   n a m e   l o o k u p   b u t   n o t   a   r e l a t i v e   o n e ,   y o u   n e e d   t o   c h e c k   t h a t   y o u r   / e t c / r e s o l v . c o n f   f i l e   i n   y o u r   P o d   i s   c o r r e c t .   F r o m   w i t h i n   a   P o d :   c a t   / e t c / r e s o l v . c o n f   Y o u   s h o u l d   s e e   s o m e t h i n g   l i k e :   n a m e s e r v e r   1 0 . 0 . 0 . 1 0   s e a r c h   d e f a u l t . s v c . c l u s t e r . l o c a l   s v c . c l u s t e r . l o c a l   c l u s t e r . l o c a l   e x a m p l e . c o m   o p t i o n s   n d o t s : 5   T h e   n a m e s e r v e r   l i n e   m u s t   i n d i c a t e   y o u r   c l u s t e r ' s   D N S   S e r v i c e .   T h i s   i s   p a s s e d   i n t o   k u b e l e t   w i t h   t h e   - - c l u s t e r - d n s   f l a g .   T h e   s e a r c h   l i n e   m u s t   i n c l u d e   a n   a p p r o p r i a t e   s u f f i x   f o r   y o u   t o   f i n d   t h e   S e r v i c e   n a m e .   I n   t h i s   c a s e   i t   i s   l o o k i n g   f o r   S e r v i c e s   i n   t h e   l o c a l   N a m e s p a c e   ( \" d e f a u l t . s v c . c l u s t e r . l o c a l \" ) ,   S e r v i c e s   i n   a l l   N a m e s p a c e s   ( \" s v c . c l u s t e r . l o c a l \" ) ,   a n d   l a s t l y   f o r   n a m e s   i n   t h e   c l u s t e r   ( \" c l u s t e r . l o c a l \" ) .   D e p e n d i n g   o n   y o u r   o w n   i n s t a l l   y o u   m i g h t   h a v e   a d d i t i o n a l   r e c o r d s   a f t e r   t h a t   ( u p   t o   6   t o t a l ) .   T h e   c l u s t e r   s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18406"
  },
  {
    "question": "What is Does any Service work by DNS name??",
    "answer": "I f   t h e   a b o v e   s t i l l   f a i l s ,   D N S   l o o k u p s   a r e   n o t   w o r k i n g   f o r   y o u r   S e r v i c e .   Y o u   c a n   t a k e   a   s t e p   b a c k   a n d   s e e   w h a t   e l s e   i s   n o t   w o r k i n g .   T h e   K u b e r n e t e s   m a s t e r   S e r v i c e   s h o u l d   a l w a y s   w o r k .   F r o m   w i t h i n   a   P o d :   n s l o o k u p   k u b e r n e t e s . d e f a u l t   S e r v e r :   1 0 . 0 . 0 . 1 0   A d d r e s s   1 :   1 0 . 0 . 0 . 1 0   k u b e - d n s . k u b e - s y s t e m . s v c . c l u s t e r . l o c a l   N a m e :   k u b e r n e t e s . d e f a u l t   A d d r e s s   1 :   1 0 . 0 . 0 . 1   k u b e r n e t e s . d e f a u l t . s v c . c l u s t e r . l o c a l   I f   t h i s   f a i l s ,   p l e a s e   s e e   t h e   k u b e - p r o x y   s e c t i o n   o f   t h i s   d o c u m e n t ,   o r   e v e n   g o   b a c k   t o   t h e   t o p   o f   t h i s   d o c u m e n t   a n d   s t a r t   o v e r ,   b u t   i n s t e a d   o f   d e b u g g i n g   y o u r   o w n   S e r v i c e ,   d e b u g   t h e   D N S   S e r v i c e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18407"
  },
  {
    "question": "What is Does the Service work by IP??",
    "answer": "A s s u m i n g   y o u   h a v e   c o n f i r m e d   t h a t   D N S   w o r k s ,   t h e   n e x t   t h i n g   t o   t e s t   i s   w h e t h e r   y o u r   S e r v i c e   w o r k s   b y   i t s   I P   a d d r e s s .   F r o m   a   P o d   i n   y o u r   c l u s t e r ,   a c c e s s   t h e   S e r v i c e ' s   I P   ( f r o m   k u b e c t l   g e t   a b o v e ) .   f o r   i   i n   $ ( s e q   1   3 ) ;   d o   w g e t   - q O -   1 0 . 0 . 1 . 1 7 5 : 8 0   d o n e   T h i s   s h o u l d   p r o d u c e   s o m e t h i n g   l i k e :   h o s t n a m e s - 6 3 2 5 2 4 1 0 6 - b b p i w   h o s t n a m e s - 6 3 2 5 2 4 1 0 6 - l y 4 0 y   h o s t n a m e s - 6 3 2 5 2 4 1 0 6 - t l a o k   I f   y o u r   S e r v i c e   i s   w o r k i n g ,   y o u   s h o u l d   g e t   c o r r e c t   r e s p o n s e s .   I f   n o t ,   t h e r e   a r e   a   n u m b e r   o f   t h i n g s   t h a t   c o u l d   b e   g o i n g   w r o n g .   R e a d   o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18408"
  },
  {
    "question": "What is Is the Service defined correctly??",
    "answer": "I t   m i g h t   s o u n d   s i l l y ,   b u t   y o u   s h o u l d   r e a l l y   d o u b l e   a n d   t r i p l e   c h e c k   t h a t   y o u r   S e r v i c e   i s   c o r r e c t   a n d   m a t c h e s   y o u r   P o d ' s   p o r t .   R e a d   b a c k   y o u r   S e r v i c e   a n d   v e r i f y   i t :   k u b e c t l   g e t   s e r v i c e   h o s t n a m e s   - o   j s o n   {   \" k i n d \" :   \" S e r v i c e \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" h o s t n a m e s \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \" ,   \" u i d \" :   \" 4 2 8 c 8 b 6 c - 2 4 b c - 1 1 e 5 - 9 3 6 d - 4 2 0 1 0 a f 0 a 9 b c \" ,   \" r e s o u r c e V e r s i o n \" :   \" 3 4 7 1 8 9 \" ,   \" c r e a t i o n T i m e s t a m p \" :   \" 2 0 1 5 - 0 7 - 0 7 T 1 5 : 2 4 : 2 9 Z \" ,   \" l a b e l s \" :   {   \" a p p \" :   \" h o s t n a m e s \"   }   } ,   \" s p e c \" :   {   \" p o r t s \" :   [   {   \" n a m e \" :   \" d e f a u l t \" ,   \" p r o t o c o l \" :   \" T C P \" ,   \" p o r t \" :   8 0 ,   \" t a r g e t P o r t \" :   9 3 7 6 ,   \" n o d e P o r t \" :   0   }   ] ,   \" s e l e c t o r \" :   {   \" a p p \" :   \" h o s t n a m e s \"   } ,   \" c l u s t e r I P \" :   \" 1 0 . 0 . 1 . 1 7 5 \" ,   \" t y p e \" :   \" C l u s t e r I P \" ,   \" s e s s i o n A f f i n i t y \" :   \" N o n e \"   } ,   \" s t a t u s \" :   {   \" l o a d B a l a n c e r \" :   { }   }   }   I s   t h e   S e r v i c e   p o r t   y o u   a r e   t r y i n g   t o   a c c e s s   l i s t e d   i n   s p e c . p o r t s [ ] ? I s   t h e   t a r g e t P o r t   c o r r e c t   f o r   y o u r   P o d s   ( s o m e   P o d s   u s e   a   d i f f e r e n t   p o r t   t h a n   t h e   S e r v i c e ) ? I f   y o u   m e a n t   t o   u s e   a   n u m e r i c   p o r t ,   i s   i t   a   n u m b e r   ( 9 3 7 6 )   o r   a   s t r i n g   \" 9 3 7 6 \" ? I f   y o u   m e a n t   t o   u s e   a   n a m e d   p o r t ,   d o   y o u r   P o d s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18409"
  },
  {
    "question": "What is Does the Service have any EndpointSlices??",
    "answer": "I f   y o u   g o t   t h i s   f a r ,   y o u   h a v e   c o n f i r m e d   t h a t   y o u r   S e r v i c e   i s   c o r r e c t l y   d e f i n e d   a n d   i s   r e s o l v e d   b y   D N S .   N o w   l e t ' s   c h e c k   t h a t   t h e   P o d s   y o u   r a n   a r e   a c t u a l l y   b e i n g   s e l e c t e d   b y   t h e   S e r v i c e .   E a r l i e r   y o u   s a w   t h a t   t h e   P o d s   w e r e   r u n n i n g .   Y o u   c a n   r e - c h e c k   t h a t :   k u b e c t l   g e t   p o d s   - l   a p p = h o s t n a m e s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   h o s t n a m e s - 6 3 2 5 2 4 1 0 6 - b b p i w   1 / 1   R u n n i n g   0   1 h   h o s t n a m e s - 6 3 2 5 2 4 1 0 6 - l y 4 0 y   1 / 1   R u n n i n g   0   1 h   h o s t n a m e s - 6 3 2 5 2 4 1 0 6 - t l a o k   1 / 1   R u n n i n g   0   1 h   T h e   - l   a p p = h o s t n a m e s   a r g u m e n t   i s   a   l a b e l   s e l e c t o r   c o n f i g u r e d   o n   t h e   S e r v i c e .   T h e   \" A G E \"   c o l u m n   s a y s   t h a t   t h e s e   P o d s   a r e   a b o u t   a n   h o u r   o l d ,   w h i c h   i m p l i e s   t h a t   t h e y   a r e   r u n n i n g   f i n e   a n d   n o t   c r a s h i n g .   T h e   \" R E S T A R T S \"   c o l u m n   s a y s   t h a t   t h e s e   p o d s   a r e   n o t   c r a s h i n g   f r e q u e n t l y   o r   b e i n g   r e s t a r t e d .   F r e q u e n t   r e s t a r t s   c o u l d   l e a d   t o   i n t e r m i t t e n t   c o n n e c t i v i t y   i s s u e s .   I f   t h e   r e s t a r t   c o u n t   i s   h i g h ,   r e a d   m o r e   a b o u t   h o w   t o   d e b u g   p o d s .   I n s i d e   t h e   K u b e r n e t e s   s y s t e m   i s   a   c o n t r o l   l o o p   w h i c h   e v a l u a t e s   t h e   s e l e c t o r   o f   e v e r y   S e r v i c e   a n d   s a v e s   t h e   r e s u l t s   i n t o   o n e   o r   m o r e   E n d ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18410"
  },
  {
    "question": "What is Are the Pods working??",
    "answer": "A t   t h i s   p o i n t ,   y o u   k n o w   t h a t   y o u r   S e r v i c e   e x i s t s   a n d   h a s   s e l e c t e d   y o u r   P o d s .   A t   t h e   b e g i n n i n g   o f   t h i s   w a l k - t h r o u g h ,   y o u   v e r i f i e d   t h e   P o d s   t h e m s e l v e s .   L e t ' s   c h e c k   a g a i n   t h a t   t h e   P o d s   a r e   a c t u a l l y   w o r k i n g   -   y o u   c a n   b y p a s s   t h e   S e r v i c e   m e c h a n i s m   a n d   g o   s t r a i g h t   t o   t h e   P o d s ,   a s   l i s t e d   b y   t h e   E n d p o i n t s   a b o v e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18411"
  },
  {
    "question": "What is Note:?",
    "answer": "F r o m   w i t h i n   a   P o d :   f o r   e p   i n   1 0 . 2 4 4 . 0 . 5 : 9 3 7 6   1 0 . 2 4 4 . 0 . 6 : 9 3 7 6   1 0 . 2 4 4 . 0 . 7 : 9 3 7 6 ;   d o   w g e t   - q O -   $ e p   d o n e   T h i s   s h o u l d   p r o d u c e   s o m e t h i n g   l i k e :   h o s t n a m e s - 6 3 2 5 2 4 1 0 6 - b b p i w   h o s t n a m e s - 6 3 2 5 2 4 1 0 6 - l y 4 0 y   h o s t n a m e s - 6 3 2 5 2 4 1 0 6 - t l a o k   Y o u   e x p e c t   e a c h   P o d   i n   t h e   e n d p o i n t s   l i s t   t o   r e t u r n   i t s   o w n   h o s t n a m e .   I f   t h i s   i s   n o t   w h a t   h a p p e n s   ( o r   w h a t e v e r   t h e   c o r r e c t   b e h a v i o r   i s   f o r   y o u r   o w n   P o d s ) ,   y o u   s h o u l d   i n v e s t i g a t e   w h a t ' s   h a p p e n i n g   t h e r e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18412"
  },
  {
    "question": "What is Is the kube-proxy working??",
    "answer": "I f   y o u   g e t   h e r e ,   y o u r   S e r v i c e   i s   r u n n i n g ,   h a s   E n d p o i n t S l i c e s ,   a n d   y o u r   P o d s   a r e   a c t u a l l y   s e r v i n g .   A t   t h i s   p o i n t ,   t h e   w h o l e   S e r v i c e   p r o x y   m e c h a n i s m   i s   s u s p e c t .   L e t ' s   c o n f i r m   i t ,   p i e c e   b y   p i e c e .   T h e   d e f a u l t   i m p l e m e n t a t i o n   o f   S e r v i c e s ,   a n d   t h e   o n e   u s e d   o n   m o s t   c l u s t e r s ,   i s   k u b e - p r o x y .   T h i s   i s   a   p r o g r a m   t h a t   r u n s   o n   e v e r y   n o d e   a n d   c o n f i g u r e s   o n e   o f   a   s m a l l   s e t   o f   m e c h a n i s m s   f o r   p r o v i d i n g   t h e   S e r v i c e   a b s t r a c t i o n .   I f   y o u r   c l u s t e r   d o e s   n o t   u s e   k u b e - p r o x y ,   t h e   f o l l o w i n g   s e c t i o n s   w i l l   n o t   a p p l y ,   a n d   y o u   w i l l   h a v e   t o   i n v e s t i g a t e   w h a t e v e r   i m p l e m e n t a t i o n   o f   S e r v i c e s   y o u   a r e   u s i n g .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18413"
  },
  {
    "question": "What is Is kube-proxy running??",
    "answer": "C o n f i r m   t h a t   k u b e - p r o x y   i s   r u n n i n g   o n   y o u r   N o d e s .   R u n n i n g   d i r e c t l y   o n   a   N o d e ,   y o u   s h o u l d   g e t   s o m e t h i n g   l i k e   t h e   b e l o w :   p s   a u x w   |   g r e p   k u b e - p r o x y   r o o t   4 1 9 4   0 . 4   0 . 1   1 0 1 8 6 4   1 7 6 9 6   ?   S l   J u l 0 4   2 5 : 4 3   / u s r / l o c a l / b i n / k u b e - p r o x y   - - m a s t e r = h t t p s : / / k u b e r n e t e s - m a s t e r   - - k u b e c o n f i g = / v a r / l i b / k u b e - p r o x y / k u b e c o n f i g   - - v = 2   N e x t ,   c o n f i r m   t h a t   i t   i s   n o t   f a i l i n g   s o m e t h i n g   o b v i o u s ,   l i k e   c o n t a c t i n g   t h e   m a s t e r .   T o   d o   t h i s ,   y o u ' l l   h a v e   t o   l o o k   a t   t h e   l o g s .   A c c e s s i n g   t h e   l o g s   d e p e n d s   o n   y o u r   N o d e   O S .   O n   s o m e   O S e s   i t   i s   a   f i l e ,   s u c h   a s   / v a r / l o g / k u b e - p r o x y . l o g ,   w h i l e   o t h e r   O S e s   u s e   j o u r n a l c t l   t o   a c c e s s   l o g s .   Y o u   s h o u l d   s e e   s o m e t h i n g   l i k e :   I 1 0 2 7   2 2 : 1 4 : 5 3 . 9 9 5 1 3 4   5 0 6 3   s e r v e r . g o : 2 0 0 ]   R u n n i n g   i n   r e s o u r c e - o n l y   c o n t a i n e r   \" / k u b e - p r o x y \"   I 1 0 2 7   2 2 : 1 4 : 5 3 . 9 9 8 1 6 3   5 0 6 3   s e r v e r . g o : 2 4 7 ]   U s i n g   i p t a b l e s   P r o x i e r .   I 1 0 2 7   2 2 : 1 4 : 5 4 . 0 3 8 1 4 0   5 0 6 3   p r o x i e r . g o : 3 5 2 ]   S e t t i n g   e n d p o i n t s   f o r   \" k u b e - s y s t e m / k u b e - d n s : d n s - t c p \"   t o   [ 1 0 . 2 4 4 . 1 . 3 : 5 3 ]   I 1 0 2 7   2 2 : 1 4 : 5 4 . 0 3 8 1 6 4   5 0 6 3   p r o x i e r . g o : 3 5 2 ]   S e t t i n g   e n d p o i n t s   f o r   \" k u b e - s y s t e m / k u b e - d n s : d n s \"   t o   [ 1 0 . 2 4 4 . 1 . 3 : 5 3 ]   I ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18414"
  },
  {
    "question": "What is Iptables mode?",
    "answer": "I n   \" i p t a b l e s \"   m o d e ,   y o u   s h o u l d   s e e   s o m e t h i n g   l i k e   t h e   f o l l o w i n g   o n   a   N o d e :   i p t a b l e s - s a v e   |   g r e p   h o s t n a m e s   - A   K U B E - S E P - 5 7 K P R Z 3 J Q V E N L N B R   - s   1 0 . 2 4 4 . 3 . 6 / 3 2   - m   c o m m e n t   - - c o m m e n t   \" d e f a u l t / h o s t n a m e s : \"   - j   M A R K   - - s e t - x m a r k   0 x 0 0 0 0 4 0 0 0 / 0 x 0 0 0 0 4 0 0 0   - A   K U B E - S E P - 5 7 K P R Z 3 J Q V E N L N B R   - p   t c p   - m   c o m m e n t   - - c o m m e n t   \" d e f a u l t / h o s t n a m e s : \"   - m   t c p   - j   D N A T   - - t o - d e s t i n a t i o n   1 0 . 2 4 4 . 3 . 6 : 9 3 7 6   - A   K U B E - S E P - W N B A 2 I H D G P 2 B O B G Z   - s   1 0 . 2 4 4 . 1 . 7 / 3 2   - m   c o m m e n t   - - c o m m e n t   \" d e f a u l t / h o s t n a m e s : \"   - j   M A R K   - - s e t - x m a r k   0 x 0 0 0 0 4 0 0 0 / 0 x 0 0 0 0 4 0 0 0   - A   K U B E - S E P - W N B A 2 I H D G P 2 B O B G Z   - p   t c p   - m   c o m m e n t   - - c o m m e n t   \" d e f a u l t / h o s t n a m e s : \"   - m   t c p   - j   D N A T   - - t o - d e s t i n a t i o n   1 0 . 2 4 4 . 1 . 7 : 9 3 7 6   - A   K U B E - S E P - X 3 P 2 6 2 3 A G D H 6 C D F 3   - s   1 0 . 2 4 4 . 2 . 3 / 3 2   - m   c o m m e n t   - - c o m m e n t   \" d e f a u l t / h o s t n a m e s : \"   - j   M A R K   - - s e t - x m a r k   0 x 0 0 0 0 4 0 0 0 / 0 x 0 0 0 0 4 0 0 0   - A   K U B E - S E P - X 3 P 2 6 2 3 A G D H 6 C D F 3   - p   t c p   - m   c o m m e n t   - - c o m m e n t   \" d e f a u l t / h o s t n a m e s : \"   - m   t c p   - j   D N A T   - - t o - d e s t i n a t i o n   1 0 . 2 4 4 . 2 . 3 : 9 3 7 6   - A   K U B E - S E R V I C E S   - d   1 0 . 0 . 1 . 1 7 5 / 3 2   - p   t c p   - m   c o m m e n t   - - c o m m e n t   \" d e f a u l t / h o s t n a m e s :   c l u s t e r   I P \"   - m   t c p   - - d p o r t   8 0   - j   K U B E - S V C - N W ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18415"
  },
  {
    "question": "What is IPVS mode?",
    "answer": "I n   \" i p v s \"   m o d e ,   y o u   s h o u l d   s e e   s o m e t h i n g   l i k e   t h e   f o l l o w i n g   o n   a   N o d e :   i p v s a d m   - l n   P r o t   L o c a l A d d r e s s : P o r t   S c h e d u l e r   F l a g s   - >   R e m o t e A d d r e s s : P o r t   F o r w a r d   W e i g h t   A c t i v e C o n n   I n A c t C o n n   . . .   T C P   1 0 . 0 . 1 . 1 7 5 : 8 0   r r   - >   1 0 . 2 4 4 . 0 . 5 : 9 3 7 6   M a s q   1   0   0   - >   1 0 . 2 4 4 . 0 . 6 : 9 3 7 6   M a s q   1   0   0   - >   1 0 . 2 4 4 . 0 . 7 : 9 3 7 6   M a s q   1   0   0   . . .   F o r   e a c h   p o r t   o f   e a c h   S e r v i c e ,   p l u s   a n y   N o d e P o r t s ,   e x t e r n a l   I P s ,   a n d   l o a d - b a l a n c e r   I P s ,   k u b e - p r o x y   w i l l   c r e a t e   a   v i r t u a l   s e r v e r .   F o r   e a c h   P o d   e n d p o i n t ,   i t   w i l l   c r e a t e   c o r r e s p o n d i n g   r e a l   s e r v e r s .   I n   t h i s   e x a m p l e ,   s e r v i c e   h o s t n a m e s ( 1 0 . 0 . 1 . 1 7 5 : 8 0 )   h a s   3   e n d p o i n t s ( 1 0 . 2 4 4 . 0 . 5 : 9 3 7 6 ,   1 0 . 2 4 4 . 0 . 6 : 9 3 7 6 ,   1 0 . 2 4 4 . 0 . 7 : 9 3 7 6 ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18416"
  },
  {
    "question": "What is Is kube-proxy proxying??",
    "answer": "A s s u m i n g   y o u   d o   s e e   o n e   t h e   a b o v e   c a s e s ,   t r y   a g a i n   t o   a c c e s s   y o u r   S e r v i c e   b y   I P   f r o m   o n e   o f   y o u r   N o d e s :   c u r l   1 0 . 0 . 1 . 1 7 5 : 8 0   h o s t n a m e s - 6 3 2 5 2 4 1 0 6 - b b p i w   I f   t h i s   s t i l l   f a i l s ,   l o o k   a t   t h e   k u b e - p r o x y   l o g s   f o r   s p e c i f i c   l i n e s   l i k e :   S e t t i n g   e n d p o i n t s   f o r   d e f a u l t / h o s t n a m e s : d e f a u l t   t o   [ 1 0 . 2 4 4 . 0 . 5 : 9 3 7 6   1 0 . 2 4 4 . 0 . 6 : 9 3 7 6   1 0 . 2 4 4 . 0 . 7 : 9 3 7 6 ]   I f   y o u   d o n ' t   s e e   t h o s e ,   t r y   r e s t a r t i n g   k u b e - p r o x y   w i t h   t h e   - v   f l a g   s e t   t o   4 ,   a n d   t h e n   l o o k   a t   t h e   l o g s   a g a i n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18417"
  },
  {
    "question": "What is Edge case: A Pod fails to reach itself via the Service IP?",
    "answer": "T h i s   m i g h t   s o u n d   u n l i k e l y ,   b u t   i t   d o e s   h a p p e n   a n d   i t   i s   s u p p o s e d   t o   w o r k .   T h i s   c a n   h a p p e n   w h e n   t h e   n e t w o r k   i s   n o t   p r o p e r l y   c o n f i g u r e d   f o r   \" h a i r p i n \"   t r a f f i c ,   u s u a l l y   w h e n   k u b e - p r o x y   i s   r u n n i n g   i n   i p t a b l e s   m o d e   a n d   P o d s   a r e   c o n n e c t e d   w i t h   b r i d g e   n e t w o r k .   T h e   K u b e l e t   e x p o s e s   a   h a i r p i n - m o d e   f l a g   t h a t   a l l o w s   e n d p o i n t s   o f   a   S e r v i c e   t o   l o a d b a l a n c e   b a c k   t o   t h e m s e l v e s   i f   t h e y   t r y   t o   a c c e s s   t h e i r   o w n   S e r v i c e   V I P .   T h e   h a i r p i n - m o d e   f l a g   m u s t   e i t h e r   b e   s e t   t o   h a i r p i n - v e t h   o r   p r o m i s c u o u s - b r i d g e .   T h e   c o m m o n   s t e p s   t o   t r o u b l e   s h o o t   t h i s   a r e   a s   f o l l o w s :   C o n f i r m   h a i r p i n - m o d e   i s   s e t   t o   h a i r p i n - v e t h   o r   p r o m i s c u o u s - b r i d g e .   Y o u   s h o u l d   s e e   s o m e t h i n g   l i k e   t h e   b e l o w .   h a i r p i n - m o d e   i s   s e t   t o   p r o m i s c u o u s - b r i d g e   i n   t h e   f o l l o w i n g   e x a m p l e .   p s   a u x w   |   g r e p   k u b e l e t   r o o t   3 3 9 2   1 . 1   0 . 8   1 8 6 8 0 4   6 5 2 0 8   ?   S l   0 0 : 5 1   1 1 : 1 1   / u s r / l o c a l / b i n / k u b e l e t   - - e n a b l e - d e b u g g i n g - h a n d l e r s = t r u e   - - c o n f i g = / e t c / k u b e r n e t e s / m a n i f e s t s   - - a l l o w - p r i v i l e g e d = T r u e   - - v = 4   - - c l u s t e r - d n s = 1 0 . 0 . 0 . 1 0   - - c l u s t e r - d o m a i n = c l u s t e r . l o c a l   - - c o n f i g u r e - c b r 0 = t r u e   - - c g r o u p - r o o t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18418"
  },
  {
    "question": "What is Seek help?",
    "answer": "I f   y o u   g e t   t h i s   f a r ,   s o m e t h i n g   v e r y   s t r a n g e   i s   h a p p e n i n g .   Y o u r   S e r v i c e   i s   r u n n i n g ,   h a s   E n d p o i n t S l i c e s ,   a n d   y o u r   P o d s   a r e   a c t u a l l y   s e r v i n g .   Y o u   h a v e   D N S   w o r k i n g ,   a n d   k u b e - p r o x y   d o e s   n o t   s e e m   t o   b e   m i s b e h a v i n g .   A n d   y e t   y o u r   S e r v i c e   i s   n o t   w o r k i n g .   P l e a s e   l e t   u s   k n o w   w h a t   i s   g o i n g   o n ,   s o   w e   c a n   h e l p   i n v e s t i g a t e !   C o n t a c t   u s   o n   S l a c k   o r   F o r u m   o r   G i t H u b .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18419"
  },
  {
    "question": "What is What's next?",
    "answer": "V i s i t   t h e   t r o u b l e s h o o t i n g   o v e r v i e w   d o c u m e n t   f o r   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18420"
  },
  {
    "question": "What is 4.3.3 - Debug a StatefulSet?",
    "answer": "T h i s   t a s k   s h o w s   y o u   h o w   t o   d e b u g   a   S t a t e f u l S e t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18421"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r . Y o u   s h o u l d   h a v e   a   S t a t e f u l S e t   r u n n i n g   t h a t   y o u   w a n t   t o   i n v e s t i g a t e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18422"
  },
  {
    "question": "What is Debugging a StatefulSet?",
    "answer": "I n   o r d e r   t o   l i s t   a l l   t h e   p o d s   w h i c h   b e l o n g   t o   a   S t a t e f u l S e t ,   w h i c h   h a v e   a   l a b e l   a p p . k u b e r n e t e s . i o / n a m e = M y A p p   s e t   o n   t h e m ,   y o u   c a n   u s e   t h e   f o l l o w i n g :   k u b e c t l   g e t   p o d s   - l   a p p . k u b e r n e t e s . i o / n a m e = M y A p p   I f   y o u   f i n d   t h a t   a n y   P o d s   l i s t e d   a r e   i n   U n k n o w n   o r   T e r m i n a t i n g   s t a t e   f o r   a n   e x t e n d e d   p e r i o d   o f   t i m e ,   r e f e r   t o   t h e   D e l e t i n g   S t a t e f u l S e t   P o d s   t a s k   f o r   i n s t r u c t i o n s   o n   h o w   t o   d e a l   w i t h   t h e m .   Y o u   c a n   d e b u g   i n d i v i d u a l   P o d s   i n   a   S t a t e f u l S e t   u s i n g   t h e   D e b u g g i n g   P o d s   g u i d e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18423"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   d e b u g g i n g   a n   i n i t - c o n t a i n e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18424"
  },
  {
    "question": "What is 4.3.4 - Determine the Reason for Pod Failure?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   w r i t e   a n d   r e a d   a   C o n t a i n e r   t e r m i n a t i o n   m e s s a g e .   T e r m i n a t i o n   m e s s a g e s   p r o v i d e   a   w a y   f o r   c o n t a i n e r s   t o   w r i t e   i n f o r m a t i o n   a b o u t   f a t a l   e v e n t s   t o   a   l o c a t i o n   w h e r e   i t   c a n   b e   e a s i l y   r e t r i e v e d   a n d   s u r f a c e d   b y   t o o l s   l i k e   d a s h b o a r d s   a n d   m o n i t o r i n g   s o f t w a r e .   I n   m o s t   c a s e s ,   i n f o r m a t i o n   t h a t   y o u   p u t   i n   a   t e r m i n a t i o n   m e s s a g e   s h o u l d   a l s o   b e   w r i t t e n   t o   t h e   g e n e r a l   K u b e r n e t e s   l o g s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18425"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18426"
  },
  {
    "question": "What is Writing and reading a termination message?",
    "answer": "I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   r u n s   o n e   c o n t a i n e r .   T h e   m a n i f e s t   f o r   t h a t   P o d   s p e c i f i e s   a   c o m m a n d   t h a t   r u n s   w h e n   t h e   c o n t a i n e r   s t a r t s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e r m i n a t i o n - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   t e r m i n a t i o n - d e m o - c o n t a i n e r   i m a g e :   d e b i a n   c o m m a n d :   [ \" / b i n / s h \" ]   a r g s :   [ \" - c \" ,   \" s l e e p   1 0   & &   e c h o   S l e e p   e x p i r e d   >   / d e v / t e r m i n a t i o n - l o g \" ]   C r e a t e   a   P o d   b a s e d   o n   t h e   Y A M L   c o n f i g u r a t i o n   f i l e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d e b u g / t e r m i n a t i o n . y a m l   I n   t h e   Y A M L   f i l e ,   i n   t h e   c o m m a n d   a n d   a r g s   f i e l d s ,   y o u   c a n   s e e   t h a t   t h e   c o n t a i n e r   s l e e p s   f o r   1 0   s e c o n d s   a n d   t h e n   w r i t e s   \" S l e e p   e x p i r e d \"   t o   t h e   / d e v / t e r m i n a t i o n - l o g   f i l e .   A f t e r   t h e   c o n t a i n e r   w r i t e s   t h e   \" S l e e p   e x p i r e d \"   m e s s a g e ,   i t   t e r m i n a t e s . D i s p l a y   i n f o r m a t i o n   a b o u t   t h e   P o d : k u b e c t l   g e t   p o d   t e r m i n a t i o n - d e m o   R e p e a t   t h e   p r e c e d i n g   c o m m a n d   u n t i l   t h e   P o d   i s   n o   l o n g e r   r u n n i n g . D i s p l a y   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   P o d : k u b e c t l   g e t   p o d   t e r m i n a t i o n - d e m o   - - o u t p u t = y a m l   T h e   o u t p u t   i n c l u d e s   t h e   \" S l e e p   e x p i r e d \"   m e s s a g e : a p i V e r s i o n :   v 1   k i n d ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18427"
  },
  {
    "question": "What is Customizing the termination message?",
    "answer": "K u b e r n e t e s   r e t r i e v e s   t e r m i n a t i o n   m e s s a g e s   f r o m   t h e   t e r m i n a t i o n   m e s s a g e   f i l e   s p e c i f i e d   i n   t h e   t e r m i n a t i o n M e s s a g e P a t h   f i e l d   o f   a   C o n t a i n e r ,   w h i c h   h a s   a   d e f a u l t   v a l u e   o f   / d e v / t e r m i n a t i o n - l o g .   B y   c u s t o m i z i n g   t h i s   f i e l d ,   y o u   c a n   t e l l   K u b e r n e t e s   t o   u s e   a   d i f f e r e n t   f i l e .   K u b e r n e t e s   u s e   t h e   c o n t e n t s   f r o m   t h e   s p e c i f i e d   f i l e   t o   p o p u l a t e   t h e   C o n t a i n e r ' s   s t a t u s   m e s s a g e   o n   b o t h   s u c c e s s   a n d   f a i l u r e .   T h e   t e r m i n a t i o n   m e s s a g e   i s   i n t e n d e d   t o   b e   b r i e f   f i n a l   s t a t u s ,   s u c h   a s   a n   a s s e r t i o n   f a i l u r e   m e s s a g e .   T h e   k u b e l e t   t r u n c a t e s   m e s s a g e s   t h a t   a r e   l o n g e r   t h a n   4 0 9 6   b y t e s .   T h e   t o t a l   m e s s a g e   l e n g t h   a c r o s s   a l l   c o n t a i n e r s   i s   l i m i t e d   t o   1 2 K i B ,   d i v i d e d   e q u a l l y   a m o n g   e a c h   c o n t a i n e r .   F o r   e x a m p l e ,   i f   t h e r e   a r e   1 2   c o n t a i n e r s   ( i n i t C o n t a i n e r s   o r   c o n t a i n e r s ) ,   e a c h   h a s   1 0 2 4   b y t e s   o f   a v a i l a b l e   t e r m i n a t i o n   m e s s a g e   s p a c e .   T h e   d e f a u l t   t e r m i n a t i o n   m e s s a g e   p a t h   i s   / d e v / t e r m i n a t i o n - l o g .   Y o u   c a n n o t   s e t   t h e   t e r m i n a t i o n   m e s s a g e   p a t h   a f t e r   a   P o d   i s   l a u n c h e d .   I n   t h e   f o l l o w i n g   e x a m p l e ,   t h e   c o n t a i n e r   w r i t e s   t e r m i n a t i o n   m e s s a g e s   t o   / t m p / m y ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18428"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   t h e   t e r m i n a t i o n M e s s a g e P a t h   f i e l d   i n   C o n t a i n e r . S e e   I m a g e P u l l B a c k O f f   i n   I m a g e s . L e a r n   a b o u t   r e t r i e v i n g   l o g s . L e a r n   a b o u t   G o   t e m p l a t e s . L e a r n   a b o u t   P o d   s t a t u s   a n d   P o d   p h a s e . L e a r n   a b o u t   c o n t a i n e r   s t a t e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18429"
  },
  {
    "question": "What is 4.3.5 - Debug Init Containers?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   i n v e s t i g a t e   p r o b l e m s   r e l a t e d   t o   t h e   e x e c u t i o n   o f   I n i t   C o n t a i n e r s .   T h e   e x a m p l e   c o m m a n d   l i n e s   b e l o w   r e f e r   t o   t h e   P o d   a s   < p o d - n a m e >   a n d   t h e   I n i t   C o n t a i n e r s   a s   < i n i t - c o n t a i n e r - 1 >   a n d   < i n i t - c o n t a i n e r - 2 > .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18430"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   s h o u l d   b e   f a m i l i a r   w i t h   t h e   b a s i c s   o f   I n i t   C o n t a i n e r s . Y o u   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18431"
  },
  {
    "question": "What is Checking the status of Init Containers?",
    "answer": "D i s p l a y   t h e   s t a t u s   o f   y o u r   p o d :   k u b e c t l   g e t   p o d   < p o d - n a m e >   F o r   e x a m p l e ,   a   s t a t u s   o f   I n i t : 1 / 2   i n d i c a t e s   t h a t   o n e   o f   t w o   I n i t   C o n t a i n e r s   h a s   c o m p l e t e d   s u c c e s s f u l l y :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   < p o d - n a m e >   0 / 1   I n i t : 1 / 2   0   7 s   S e e   U n d e r s t a n d i n g   P o d   s t a t u s   f o r   m o r e   e x a m p l e s   o f   s t a t u s   v a l u e s   a n d   t h e i r   m e a n i n g s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18432"
  },
  {
    "question": "What is Getting details about Init Containers?",
    "answer": "V i e w   m o r e   d e t a i l e d   i n f o r m a t i o n   a b o u t   I n i t   C o n t a i n e r   e x e c u t i o n :   k u b e c t l   d e s c r i b e   p o d   < p o d - n a m e >   F o r   e x a m p l e ,   a   P o d   w i t h   t w o   I n i t   C o n t a i n e r s   m i g h t   s h o w   t h e   f o l l o w i n g :   I n i t   C o n t a i n e r s :   < i n i t - c o n t a i n e r - 1 > :   C o n t a i n e r   I D :   . . .   . . .   S t a t e :   T e r m i n a t e d   R e a s o n :   C o m p l e t e d   E x i t   C o d e :   0   S t a r t e d :   . . .   F i n i s h e d :   . . .   R e a d y :   T r u e   R e s t a r t   C o u n t :   0   . . .   < i n i t - c o n t a i n e r - 2 > :   C o n t a i n e r   I D :   . . .   . . .   S t a t e :   W a i t i n g   R e a s o n :   C r a s h L o o p B a c k O f f   L a s t   S t a t e :   T e r m i n a t e d   R e a s o n :   E r r o r   E x i t   C o d e :   1   S t a r t e d :   . . .   F i n i s h e d :   . . .   R e a d y :   F a l s e   R e s t a r t   C o u n t :   3   . . .   Y o u   c a n   a l s o   a c c e s s   t h e   I n i t   C o n t a i n e r   s t a t u s e s   p r o g r a m m a t i c a l l y   b y   r e a d i n g   t h e   s t a t u s . i n i t C o n t a i n e r S t a t u s e s   f i e l d   o n   t h e   P o d   S p e c :   k u b e c t l   g e t   p o d   n g i n x   - - t e m p l a t e   ' { { . s t a t u s . i n i t C o n t a i n e r S t a t u s e s } } '   T h i s   c o m m a n d   w i l l   r e t u r n   t h e   s a m e   i n f o r m a t i o n   a s   a b o v e   i n   r a w   J S O N .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18433"
  },
  {
    "question": "What is Accessing logs from Init Containers?",
    "answer": "P a s s   t h e   I n i t   C o n t a i n e r   n a m e   a l o n g   w i t h   t h e   P o d   n a m e   t o   a c c e s s   i t s   l o g s .   k u b e c t l   l o g s   < p o d - n a m e >   - c   < i n i t - c o n t a i n e r - 2 >   I n i t   C o n t a i n e r s   t h a t   r u n   a   s h e l l   s c r i p t   p r i n t   c o m m a n d s   a s   t h e y ' r e   e x e c u t e d .   F o r   e x a m p l e ,   y o u   c a n   d o   t h i s   i n   B a s h   b y   r u n n i n g   s e t   - x   a t   t h e   b e g i n n i n g   o f   t h e   s c r i p t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18434"
  },
  {
    "question": "What is Understanding Pod status?",
    "answer": "A   P o d   s t a t u s   b e g i n n i n g   w i t h   I n i t :   s u m m a r i z e s   t h e   s t a t u s   o f   I n i t   C o n t a i n e r   e x e c u t i o n .   T h e   t a b l e   b e l o w   d e s c r i b e s   s o m e   e x a m p l e   s t a t u s   v a l u e s   t h a t   y o u   m i g h t   s e e   w h i l e   d e b u g g i n g   I n i t   C o n t a i n e r s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18435"
  },
  {
    "question": "What is 4.3.6 - Debug Running Pods?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   t o   d e b u g   P o d s   r u n n i n g   ( o r   c r a s h i n g )   o n   a   N o d e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18436"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u r   P o d   s h o u l d   a l r e a d y   b e   s c h e d u l e d   a n d   r u n n i n g .   I f   y o u r   P o d   i s   n o t   y e t   r u n n i n g ,   s t a r t   w i t h   D e b u g g i n g   P o d s . F o r   s o m e   o f   t h e   a d v a n c e d   d e b u g g i n g   s t e p s   y o u   n e e d   t o   k n o w   o n   w h i c h   N o d e   t h e   P o d   i s   r u n n i n g   a n d   h a v e   s h e l l   a c c e s s   t o   r u n   c o m m a n d s   o n   t h a t   N o d e .   Y o u   d o n ' t   n e e d   t h a t   a c c e s s   t o   r u n   t h e   s t a n d a r d   d e b u g   s t e p s   t h a t   u s e   k u b e c t l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18437"
  },
  {
    "question": "What is Using kubectl describe pod to fetch details about pods?",
    "answer": "F o r   t h i s   e x a m p l e   w e ' l l   u s e   a   D e p l o y m e n t   t o   c r e a t e   t w o   p o d s ,   s i m i l a r   t o   t h e   e a r l i e r   e x a m p l e .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   r e p l i c a s :   2   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 1 2 8 M i \"   c p u :   \" 5 0 0 m \"   p o r t s :   -   c o n t a i n e r P o r t :   8 0   C r e a t e   d e p l o y m e n t   b y   r u n n i n g   f o l l o w i n g   c o m m a n d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / n g i n x - w i t h - r e q u e s t . y a m l   d e p l o y m e n t . a p p s / n g i n x - d e p l o y m e n t   c r e a t e d   C h e c k   p o d   s t a t u s   b y   f o l l o w i n g   c o m m a n d :   k u b e c t l   g e t   p o d s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   n g i n x - d e p l o y m e n t - 6 7 d 4 b d d 6 f 5 - c x 2 n z   1 / 1   R u n n i n g   0   1 3 s   n g i n x - d e p l o y m e n t - 6 7 d 4 b d d 6 f 5 - w 6 k d 7   1 / 1   R u n n i n g   0   1 3 s   W e   c a n   r e t r i e v e   a   l o t   m o r e   i n f o r m a t i o n   a b o u t   e a c h   o f   t h e s e   p o d s   u s i n g   k u b e c t l   d e s c r i b e   p o d .   F o r   e x a m p l e :   k u b e c t l   d e s c r i b e   p o d   n g i n x - d e p l o y m e n t - 6 7 d 4 b d d 6 f 5 - w 6 k d 7   N a m e :   n g i n x - d e p l o y m e n t - 6 7 d 4 b d d 6 f 5 - w 6 k d 7   N a m e s p a c e :   d e f a u l t   P r i o r i t y :   0   N o d e :   k u b e - w o r k e r - 1 / 1 9 2 . 1 6 8 . 0 . 1 1 3   S t a r t   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18438"
  },
  {
    "question": "What is Example: debugging Pending Pods?",
    "answer": "A   c o m m o n   s c e n a r i o   t h a t   y o u   c a n   d e t e c t   u s i n g   e v e n t s   i s   w h e n   y o u ' v e   c r e a t e d   a   P o d   t h a t   w o n ' t   f i t   o n   a n y   n o d e .   F o r   e x a m p l e ,   t h e   P o d   m i g h t   r e q u e s t   m o r e   r e s o u r c e s   t h a n   a r e   f r e e   o n   a n y   n o d e ,   o r   i t   m i g h t   s p e c i f y   a   l a b e l   s e l e c t o r   t h a t   d o e s n ' t   m a t c h   a n y   n o d e s .   L e t ' s   s a y   w e   c r e a t e d   t h e   p r e v i o u s   D e p l o y m e n t   w i t h   5   r e p l i c a s   ( i n s t e a d   o f   2 )   a n d   r e q u e s t i n g   6 0 0   m i l l i c o r e s   i n s t e a d   o f   5 0 0 ,   o n   a   f o u r - n o d e   c l u s t e r   w h e r e   e a c h   ( v i r t u a l )   m a c h i n e   h a s   1   C P U .   I n   t h a t   c a s e   o n e   o f   t h e   P o d s   w i l l   n o t   b e   a b l e   t o   s c h e d u l e .   ( N o t e   t h a t   b e c a u s e   o f   t h e   c l u s t e r   a d d o n   p o d s   s u c h   a s   f l u e n t d ,   s k y d n s ,   e t c . ,   t h a t   r u n   o n   e a c h   n o d e ,   i f   w e   r e q u e s t e d   1 0 0 0   m i l l i c o r e s   t h e n   n o n e   o f   t h e   P o d s   w o u l d   b e   a b l e   t o   s c h e d u l e . )   k u b e c t l   g e t   p o d s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   n g i n x - d e p l o y m e n t - 1 0 0 6 2 3 0 8 1 4 - 6 w i n p   1 / 1   R u n n i n g   0   7 m   n g i n x - d e p l o y m e n t - 1 0 0 6 2 3 0 8 1 4 - f m g u 3   1 / 1   R u n n i n g   0   7 m   n g i n x - d e p l o y m e n t - 1 3 7 0 8 0 7 5 8 7 - 6 e k b w   1 / 1   R u n n i n g   0   1 m   n g i n x - d e p l o y m e n t - 1 3 7 0 8 0 7 5 8 7 - f g 1 7 2   0 / 1   P e n d i n g   0   1 m   n g i n x - d e p l o y m e n t - 1 3 7 0 8 0 7 5 8 7 - f z 9 s d   0 / 1   P e n d i n g   0   1 m   T o   f i n d   o u t   w h y   t h e   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18439"
  },
  {
    "question": "What is Examining pod logs?",
    "answer": "F i r s t ,   l o o k   a t   t h e   l o g s   o f   t h e   a f f e c t e d   c o n t a i n e r :   k u b e c t l   l o g s   $ { P O D _ N A M E }   $ { C O N T A I N E R _ N A M E }   I f   y o u r   c o n t a i n e r   h a s   p r e v i o u s l y   c r a s h e d ,   y o u   c a n   a c c e s s   t h e   p r e v i o u s   c o n t a i n e r ' s   c r a s h   l o g   w i t h :   k u b e c t l   l o g s   - - p r e v i o u s   $ { P O D _ N A M E }   $ { C O N T A I N E R _ N A M E }",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18440"
  },
  {
    "question": "What is Debugging with container exec?",
    "answer": "I f   t h e   c o n t a i n e r   i m a g e   i n c l u d e s   d e b u g g i n g   u t i l i t i e s ,   a s   i s   t h e   c a s e   w i t h   i m a g e s   b u i l t   f r o m   L i n u x   a n d   W i n d o w s   O S   b a s e   i m a g e s ,   y o u   c a n   r u n   c o m m a n d s   i n s i d e   a   s p e c i f i c   c o n t a i n e r   w i t h   k u b e c t l   e x e c :   k u b e c t l   e x e c   $ { P O D _ N A M E }   - c   $ { C O N T A I N E R _ N A M E }   - -   $ { C M D }   $ { A R G 1 }   $ { A R G 2 }   . . .   $ { A R G N }",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18441"
  },
  {
    "question": "What is Note:?",
    "answer": "A s   a n   e x a m p l e ,   t o   l o o k   a t   t h e   l o g s   f r o m   a   r u n n i n g   C a s s a n d r a   p o d ,   y o u   m i g h t   r u n   k u b e c t l   e x e c   c a s s a n d r a   - -   c a t   / v a r / l o g / c a s s a n d r a / s y s t e m . l o g   Y o u   c a n   r u n   a   s h e l l   t h a t ' s   c o n n e c t e d   t o   y o u r   t e r m i n a l   u s i n g   t h e   - i   a n d   - t   a r g u m e n t s   t o   k u b e c t l   e x e c ,   f o r   e x a m p l e :   k u b e c t l   e x e c   - i t   c a s s a n d r a   - -   s h   F o r   m o r e   d e t a i l s ,   s e e   G e t   a   S h e l l   t o   a   R u n n i n g   C o n t a i n e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18442"
  },
  {
    "question": "What is Debugging with an ephemeral debug container?",
    "answer": "E p h e m e r a l   c o n t a i n e r s   a r e   u s e f u l   f o r   i n t e r a c t i v e   t r o u b l e s h o o t i n g   w h e n   k u b e c t l   e x e c   i s   i n s u f f i c i e n t   b e c a u s e   a   c o n t a i n e r   h a s   c r a s h e d   o r   a   c o n t a i n e r   i m a g e   d o e s n ' t   i n c l u d e   d e b u g g i n g   u t i l i t i e s ,   s u c h   a s   w i t h   d i s t r o l e s s   i m a g e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18443"
  },
  {
    "question": "What is Example debugging using ephemeral containers?",
    "answer": "Y o u   c a n   u s e   t h e   k u b e c t l   d e b u g   c o m m a n d   t o   a d d   e p h e m e r a l   c o n t a i n e r s   t o   a   r u n n i n g   P o d .   F i r s t ,   c r e a t e   a   p o d   f o r   t h e   e x a m p l e :   k u b e c t l   r u n   e p h e m e r a l - d e m o   - - i m a g e = r e g i s t r y . k 8 s . i o / p a u s e : 3 . 1   - - r e s t a r t = N e v e r   T h e   e x a m p l e s   i n   t h i s   s e c t i o n   u s e   t h e   p a u s e   c o n t a i n e r   i m a g e   b e c a u s e   i t   d o e s   n o t   c o n t a i n   d e b u g g i n g   u t i l i t i e s ,   b u t   t h i s   m e t h o d   w o r k s   w i t h   a l l   c o n t a i n e r   i m a g e s .   I f   y o u   a t t e m p t   t o   u s e   k u b e c t l   e x e c   t o   c r e a t e   a   s h e l l   y o u   w i l l   s e e   a n   e r r o r   b e c a u s e   t h e r e   i s   n o   s h e l l   i n   t h i s   c o n t a i n e r   i m a g e .   k u b e c t l   e x e c   - i t   e p h e m e r a l - d e m o   - -   s h   O C I   r u n t i m e   e x e c   f a i l e d :   e x e c   f a i l e d :   c o n t a i n e r _ l i n u x . g o : 3 4 6 :   s t a r t i n g   c o n t a i n e r   p r o c e s s   c a u s e d   \" e x e c :   \\ \" s h \\ \" :   e x e c u t a b l e   f i l e   n o t   f o u n d   i n   $ P A T H \" :   u n k n o w n   Y o u   c a n   i n s t e a d   a d d   a   d e b u g g i n g   c o n t a i n e r   u s i n g   k u b e c t l   d e b u g .   I f   y o u   s p e c i f y   t h e   - i / - - i n t e r a c t i v e   a r g u m e n t ,   k u b e c t l   w i l l   a u t o m a t i c a l l y   a t t a c h   t o   t h e   c o n s o l e   o f   t h e   E p h e m e r a l   C o n t a i n e r .   k u b e c t l   d e b u g   - i t   e p h e m e r a l - d e m o   - - i m a g e = b u s y b o x : 1 . 2 8   - - t a r g e t = e p h e m e r a l - d e m o   D e f a u l t i n g   d e b u g   c o n t a i n e r   n a m e   t o   d e b u g g e r - 8 x z r l .   I f   y o u   d o n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18444"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   v i e w   t h e   s t a t e   o f   t h e   n e w l y   c r e a t e d   e p h e m e r a l   c o n t a i n e r   u s i n g   k u b e c t l   d e s c r i b e :   k u b e c t l   d e s c r i b e   p o d   e p h e m e r a l - d e m o   . . .   E p h e m e r a l   C o n t a i n e r s :   d e b u g g e r - 8 x z r l :   C o n t a i n e r   I D :   d o c k e r : / / b 8 8 8 f 9 a d f d 1 5 b d 5 7 3 9 f e f a a 3 9 e 1 d f 4 d d 3 c 6 1 7 b 9 9 0 2 0 8 2 b 1 c f d c 2 9 c 4 0 2 8 f f b 2 e b   I m a g e :   b u s y b o x   I m a g e   I D :   d o c k e r - p u l l a b l e : / / b u s y b o x @ s h a 2 5 6 : 1 8 2 8 e d d 6 0 c 5 e f d 3 4 b 2 b f 5 d d 3 2 8 2 e c 0 c c 0 4 d 4 7 b 2 f f 9 c a a 0 b 6 d 4 f 0 7 a 2 1 d 1 c 0 8 0 8 4   P o r t :   < n o n e >   H o s t   P o r t :   < n o n e >   S t a t e :   R u n n i n g   S t a r t e d :   W e d ,   1 2   F e b   2 0 2 0   1 4 : 2 5 : 4 2   + 0 1 0 0   R e a d y :   F a l s e   R e s t a r t   C o u n t :   0   E n v i r o n m e n t :   < n o n e >   M o u n t s :   < n o n e >   . . .   U s e   k u b e c t l   d e l e t e   t o   r e m o v e   t h e   P o d   w h e n   y o u ' r e   f i n i s h e d :   k u b e c t l   d e l e t e   p o d   e p h e m e r a l - d e m o",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18445"
  },
  {
    "question": "What is Debugging using a copy of the Pod?",
    "answer": "S o m e t i m e s   P o d   c o n f i g u r a t i o n   o p t i o n s   m a k e   i t   d i f f i c u l t   t o   t r o u b l e s h o o t   i n   c e r t a i n   s i t u a t i o n s .   F o r   e x a m p l e ,   y o u   c a n ' t   r u n   k u b e c t l   e x e c   t o   t r o u b l e s h o o t   y o u r   c o n t a i n e r   i f   y o u r   c o n t a i n e r   i m a g e   d o e s   n o t   i n c l u d e   a   s h e l l   o r   i f   y o u r   a p p l i c a t i o n   c r a s h e s   o n   s t a r t u p .   I n   t h e s e   s i t u a t i o n s   y o u   c a n   u s e   k u b e c t l   d e b u g   t o   c r e a t e   a   c o p y   o f   t h e   P o d   w i t h   c o n f i g u r a t i o n   v a l u e s   c h a n g e d   t o   a i d   d e b u g g i n g .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18446"
  },
  {
    "question": "What is Copying a Pod while adding a new container?",
    "answer": "A d d i n g   a   n e w   c o n t a i n e r   c a n   b e   u s e f u l   w h e n   y o u r   a p p l i c a t i o n   i s   r u n n i n g   b u t   n o t   b e h a v i n g   a s   y o u   e x p e c t   a n d   y o u ' d   l i k e   t o   a d d   a d d i t i o n a l   t r o u b l e s h o o t i n g   u t i l i t i e s   t o   t h e   P o d .   F o r   e x a m p l e ,   m a y b e   y o u r   a p p l i c a t i o n ' s   c o n t a i n e r   i m a g e s   a r e   b u i l t   o n   b u s y b o x   b u t   y o u   n e e d   d e b u g g i n g   u t i l i t i e s   n o t   i n c l u d e d   i n   b u s y b o x .   Y o u   c a n   s i m u l a t e   t h i s   s c e n a r i o   u s i n g   k u b e c t l   r u n :   k u b e c t l   r u n   m y a p p   - - i m a g e = b u s y b o x : 1 . 2 8   - - r e s t a r t = N e v e r   - -   s l e e p   1 d   R u n   t h i s   c o m m a n d   t o   c r e a t e   a   c o p y   o f   m y a p p   n a m e d   m y a p p - d e b u g   t h a t   a d d s   a   n e w   U b u n t u   c o n t a i n e r   f o r   d e b u g g i n g :   k u b e c t l   d e b u g   m y a p p   - i t   - - i m a g e = u b u n t u   - - s h a r e - p r o c e s s e s   - - c o p y - t o = m y a p p - d e b u g   D e f a u l t i n g   d e b u g   c o n t a i n e r   n a m e   t o   d e b u g g e r - w 7 x m f .   I f   y o u   d o n ' t   s e e   a   c o m m a n d   p r o m p t ,   t r y   p r e s s i n g   e n t e r .   r o o t @ m y a p p - d e b u g : / #",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18447"
  },
  {
    "question": "What is Note:?",
    "answer": "k u b e c t l   d e b u g   a u t o m a t i c a l l y   g e n e r a t e s   a   c o n t a i n e r   n a m e   i f   y o u   d o n ' t   c h o o s e   o n e   u s i n g   t h e   - - c o n t a i n e r   f l a g . T h e   - i   f l a g   c a u s e s   k u b e c t l   d e b u g   t o   a t t a c h   t o   t h e   n e w   c o n t a i n e r   b y   d e f a u l t .   Y o u   c a n   p r e v e n t   t h i s   b y   s p e c i f y i n g   - - a t t a c h = f a l s e .   I f   y o u r   s e s s i o n   b e c o m e s   d i s c o n n e c t e d   y o u   c a n   r e a t t a c h   u s i n g   k u b e c t l   a t t a c h . T h e   - - s h a r e - p r o c e s s e s   a l l o w s   t h e   c o n t a i n e r s   i n   t h i s   P o d   t o   s e e   p r o c e s s e s   f r o m   t h e   o t h e r   c o n t a i n e r s   i n   t h e   P o d .   F o r   m o r e   i n f o r m a t i o n   a b o u t   h o w   t h i s   w o r k s ,   s e e   S h a r e   P r o c e s s   N a m e s p a c e   b e t w e e n   C o n t a i n e r s   i n   a   P o d .   D o n ' t   f o r g e t   t o   c l e a n   u p   t h e   d e b u g g i n g   P o d   w h e n   y o u ' r e   f i n i s h e d   w i t h   i t :   k u b e c t l   d e l e t e   p o d   m y a p p   m y a p p - d e b u g",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18448"
  },
  {
    "question": "What is Copying a Pod while changing its command?",
    "answer": "S o m e t i m e s   i t ' s   u s e f u l   t o   c h a n g e   t h e   c o m m a n d   f o r   a   c o n t a i n e r ,   f o r   e x a m p l e   t o   a d d   a   d e b u g g i n g   f l a g   o r   b e c a u s e   t h e   a p p l i c a t i o n   i s   c r a s h i n g .   T o   s i m u l a t e   a   c r a s h i n g   a p p l i c a t i o n ,   u s e   k u b e c t l   r u n   t o   c r e a t e   a   c o n t a i n e r   t h a t   i m m e d i a t e l y   e x i t s :   k u b e c t l   r u n   - - i m a g e = b u s y b o x : 1 . 2 8   m y a p p   - -   f a l s e   Y o u   c a n   s e e   u s i n g   k u b e c t l   d e s c r i b e   p o d   m y a p p   t h a t   t h i s   c o n t a i n e r   i s   c r a s h i n g :   C o n t a i n e r s :   m y a p p :   I m a g e :   b u s y b o x   . . .   A r g s :   f a l s e   S t a t e :   W a i t i n g   R e a s o n :   C r a s h L o o p B a c k O f f   L a s t   S t a t e :   T e r m i n a t e d   R e a s o n :   E r r o r   E x i t   C o d e :   1   Y o u   c a n   u s e   k u b e c t l   d e b u g   t o   c r e a t e   a   c o p y   o f   t h i s   P o d   w i t h   t h e   c o m m a n d   c h a n g e d   t o   a n   i n t e r a c t i v e   s h e l l :   k u b e c t l   d e b u g   m y a p p   - i t   - - c o p y - t o = m y a p p - d e b u g   - - c o n t a i n e r = m y a p p   - -   s h   I f   y o u   d o n ' t   s e e   a   c o m m a n d   p r o m p t ,   t r y   p r e s s i n g   e n t e r .   /   #   N o w   y o u   h a v e   a n   i n t e r a c t i v e   s h e l l   t h a t   y o u   c a n   u s e   t o   p e r f o r m   t a s k s   l i k e   c h e c k i n g   f i l e s y s t e m   p a t h s   o r   r u n n i n g   t h e   c o n t a i n e r   c o m m a n d   m a n u a l l y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18449"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   c h a n g e   t h e   c o m m a n d   o f   a   s p e c i f i c   c o n t a i n e r   y o u   m u s t   s p e c i f y   i t s   n a m e   u s i n g   - - c o n t a i n e r   o r   k u b e c t l   d e b u g   w i l l   i n s t e a d   c r e a t e   a   n e w   c o n t a i n e r   t o   r u n   t h e   c o m m a n d   y o u   s p e c i f i e d . T h e   - i   f l a g   c a u s e s   k u b e c t l   d e b u g   t o   a t t a c h   t o   t h e   c o n t a i n e r   b y   d e f a u l t .   Y o u   c a n   p r e v e n t   t h i s   b y   s p e c i f y i n g   - - a t t a c h = f a l s e .   I f   y o u r   s e s s i o n   b e c o m e s   d i s c o n n e c t e d   y o u   c a n   r e a t t a c h   u s i n g   k u b e c t l   a t t a c h .   D o n ' t   f o r g e t   t o   c l e a n   u p   t h e   d e b u g g i n g   P o d   w h e n   y o u ' r e   f i n i s h e d   w i t h   i t :   k u b e c t l   d e l e t e   p o d   m y a p p   m y a p p - d e b u g",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18450"
  },
  {
    "question": "What is Copying a Pod while changing container images?",
    "answer": "I n   s o m e   s i t u a t i o n s   y o u   m a y   w a n t   t o   c h a n g e   a   m i s b e h a v i n g   P o d   f r o m   i t s   n o r m a l   p r o d u c t i o n   c o n t a i n e r   i m a g e s   t o   a n   i m a g e   c o n t a i n i n g   a   d e b u g g i n g   b u i l d   o r   a d d i t i o n a l   u t i l i t i e s .   A s   a n   e x a m p l e ,   c r e a t e   a   P o d   u s i n g   k u b e c t l   r u n :   k u b e c t l   r u n   m y a p p   - - i m a g e = b u s y b o x : 1 . 2 8   - - r e s t a r t = N e v e r   - -   s l e e p   1 d   N o w   u s e   k u b e c t l   d e b u g   t o   m a k e   a   c o p y   a n d   c h a n g e   i t s   c o n t a i n e r   i m a g e   t o   u b u n t u :   k u b e c t l   d e b u g   m y a p p   - - c o p y - t o = m y a p p - d e b u g   - - s e t - i m a g e = * = u b u n t u   T h e   s y n t a x   o f   - - s e t - i m a g e   u s e s   t h e   s a m e   c o n t a i n e r _ n a m e = i m a g e   s y n t a x   a s   k u b e c t l   s e t   i m a g e .   * = u b u n t u   m e a n s   c h a n g e   t h e   i m a g e   o f   a l l   c o n t a i n e r s   t o   u b u n t u .   D o n ' t   f o r g e t   t o   c l e a n   u p   t h e   d e b u g g i n g   P o d   w h e n   y o u ' r e   f i n i s h e d   w i t h   i t :   k u b e c t l   d e l e t e   p o d   m y a p p   m y a p p - d e b u g",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18451"
  },
  {
    "question": "What is Debugging via a shell on the node?",
    "answer": "I f   n o n e   o f   t h e s e   a p p r o a c h e s   w o r k ,   y o u   c a n   f i n d   t h e   N o d e   o n   w h i c h   t h e   P o d   i s   r u n n i n g   a n d   c r e a t e   a   P o d   r u n n i n g   o n   t h e   N o d e .   T o   c r e a t e   a n   i n t e r a c t i v e   s h e l l   o n   a   N o d e   u s i n g   k u b e c t l   d e b u g ,   r u n :   k u b e c t l   d e b u g   n o d e / m y n o d e   - i t   - - i m a g e = u b u n t u   C r e a t i n g   d e b u g g i n g   p o d   n o d e - d e b u g g e r - m y n o d e - p d x 8 4   w i t h   c o n t a i n e r   d e b u g g e r   o n   n o d e   m y n o d e .   I f   y o u   d o n ' t   s e e   a   c o m m a n d   p r o m p t ,   t r y   p r e s s i n g   e n t e r .   r o o t @ e k 8 s : / #   W h e n   c r e a t i n g   a   d e b u g g i n g   s e s s i o n   o n   a   n o d e ,   k e e p   i n   m i n d   t h a t :   k u b e c t l   d e b u g   a u t o m a t i c a l l y   g e n e r a t e s   t h e   n a m e   o f   t h e   n e w   P o d   b a s e d   o n   t h e   n a m e   o f   t h e   N o d e . T h e   r o o t   f i l e s y s t e m   o f   t h e   N o d e   w i l l   b e   m o u n t e d   a t   / h o s t . T h e   c o n t a i n e r   r u n s   i n   t h e   h o s t   I P C ,   N e t w o r k ,   a n d   P I D   n a m e s p a c e s ,   a l t h o u g h   t h e   p o d   i s n ' t   p r i v i l e g e d ,   s o   r e a d i n g   s o m e   p r o c e s s   i n f o r m a t i o n   m a y   f a i l ,   a n d   c h r o o t   / h o s t   m a y   f a i l . I f   y o u   n e e d   a   p r i v i l e g e d   p o d ,   c r e a t e   i t   m a n u a l l y   o r   u s e   t h e   - - p r o f i l e = s y s a d m i n   f l a g .   D o n ' t   f o r g e t   t o   c l e a n   u p   t h e   d e b u g g i n g   P o d   w h e n   y o u ' r e   f i n i s h e d   w i t h   i t :   k u b e c t l   d e l e t e   p o d   n o d e - d e b u g g e r - m y n o d e - p d x 8 4",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18452"
  },
  {
    "question": "What is Debugging a Pod or Node while applying a profile?",
    "answer": "W h e n   u s i n g   k u b e c t l   d e b u g   t o   d e b u g   a   n o d e   v i a   a   d e b u g g i n g   P o d ,   a   P o d   v i a   a n   e p h e m e r a l   c o n t a i n e r ,   o r   a   c o p i e d   P o d ,   y o u   c a n   a p p l y   a   p r o f i l e   t o   t h e m .   B y   a p p l y i n g   a   p r o f i l e ,   s p e c i f i c   p r o p e r t i e s   s u c h   a s   s e c u r i t y C o n t e x t   a r e   s e t ,   a l l o w i n g   f o r   a d a p t a t i o n   t o   v a r i o u s   s c e n a r i o s .   T h e r e   a r e   t w o   t y p e s   o f   p r o f i l e s ,   s t a t i c   p r o f i l e   a n d   c u s t o m   p r o f i l e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18453"
  },
  {
    "question": "What is Applying a Static Profile?",
    "answer": "A   s t a t i c   p r o f i l e   i s   a   s e t   o f   p r e d e f i n e d   p r o p e r t i e s ,   a n d   y o u   c a n   a p p l y   t h e m   u s i n g   t h e   - - p r o f i l e   f l a g .   T h e   a v a i l a b l e   p r o f i l e s   a r e   a s   f o l l o w s :",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18454"
  },
  {
    "question": "What is Note:?",
    "answer": "A s s u m e   t h a t   y o u   c r e a t e   a   P o d   a n d   d e b u g   i t .   F i r s t ,   c r e a t e   a   P o d   n a m e d   m y a p p   a s   a n   e x a m p l e :   k u b e c t l   r u n   m y a p p   - - i m a g e = b u s y b o x : 1 . 2 8   - - r e s t a r t = N e v e r   - -   s l e e p   1 d   T h e n ,   d e b u g   t h e   P o d   u s i n g   a n   e p h e m e r a l   c o n t a i n e r .   I f   t h e   e p h e m e r a l   c o n t a i n e r   n e e d s   t o   h a v e   p r i v i l e g e ,   y o u   c a n   u s e   t h e   s y s a d m i n   p r o f i l e :   k u b e c t l   d e b u g   - i t   m y a p p   - - i m a g e = b u s y b o x : 1 . 2 8   - - t a r g e t = m y a p p   - - p r o f i l e = s y s a d m i n   T a r g e t i n g   c o n t a i n e r   \" m y a p p \" .   I f   y o u   d o n ' t   s e e   p r o c e s s e s   f r o m   t h i s   c o n t a i n e r   i t   m a y   b e   b e c a u s e   t h e   c o n t a i n e r   r u n t i m e   d o e s n ' t   s u p p o r t   t h i s   f e a t u r e .   D e f a u l t i n g   d e b u g   c o n t a i n e r   n a m e   t o   d e b u g g e r - 6 k g 4 x .   I f   y o u   d o n ' t   s e e   a   c o m m a n d   p r o m p t ,   t r y   p r e s s i n g   e n t e r .   /   #   C h e c k   t h e   c a p a b i l i t i e s   o f   t h e   e p h e m e r a l   c o n t a i n e r   p r o c e s s   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d   i n s i d e   t h e   c o n t a i n e r :   /   #   g r e p   C a p   / p r o c / $ $ / s t a t u s   . . .   C a p P r m :   0 0 0 0 0 1 f f f f f f f f f f   C a p E f f :   0 0 0 0 0 1 f f f f f f f f f f   . . .   T h i s   m e a n s   t h e   c o n t a i n e r   p r o c e s s   i s   g r a n t e d   f u l l   c a p a b i l i t i e s   a s   a   p r i v i l e g e d   c o n t a i n e r   b y   a p p l y i n g   s y s a d m i n   p r o f i l e .   S e e   m o r e   d e t a i l s   a b o u t   c a p a b i l i t i e s .   Y o u   c a n   a l s o   c h e c ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18455"
  },
  {
    "question": "What is Applying Custom Profile?",
    "answer": "Y o u   c a n   d e f i n e   a   p a r t i a l   c o n t a i n e r   s p e c   f o r   d e b u g g i n g   a s   a   c u s t o m   p r o f i l e   i n   e i t h e r   Y A M L   o r   J S O N   f o r m a t ,   a n d   a p p l y   i t   u s i n g   t h e   - - c u s t o m   f l a g .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18456"
  },
  {
    "question": "What is Note:?",
    "answer": "C r e a t e   a   P o d   n a m e d   m y a p p   a s   a n   e x a m p l e :   k u b e c t l   r u n   m y a p p   - - i m a g e = b u s y b o x : 1 . 2 8   - - r e s t a r t = N e v e r   - -   s l e e p   1 d   C r e a t e   a   c u s t o m   p r o f i l e   i n   Y A M L   o r   J S O N   f o r m a t .   H e r e ,   c r e a t e   a   Y A M L   f o r m a t   f i l e   n a m e d   c u s t o m - p r o f i l e . y a m l :   e n v :   -   n a m e :   E N V _ V A R _ 1   v a l u e :   v a l u e _ 1   -   n a m e :   E N V _ V A R _ 2   v a l u e :   v a l u e _ 2   s e c u r i t y C o n t e x t :   c a p a b i l i t i e s :   a d d :   -   N E T _ A D M I N   -   S Y S _ T I M E   R u n   t h i s   c o m m a n d   t o   d e b u g   t h e   P o d   u s i n g   a n   e p h e m e r a l   c o n t a i n e r   w i t h   t h e   c u s t o m   p r o f i l e :   k u b e c t l   d e b u g   - i t   m y a p p   - - i m a g e = b u s y b o x : 1 . 2 8   - - t a r g e t = m y a p p   - - p r o f i l e = g e n e r a l   - - c u s t o m = c u s t o m - p r o f i l e . y a m l   Y o u   c a n   c h e c k   t h a t   t h e   e p h e m e r a l   c o n t a i n e r   h a s   b e e n   a d d e d   t o   t h e   t a r g e t   P o d   w i t h   t h e   c u s t o m   p r o f i l e   a p p l i e d :   k u b e c t l   g e t   p o d   m y a p p   - o   j s o n p a t h = ' { . s p e c . e p h e m e r a l C o n t a i n e r s [ 0 ] . e n v } '   [ { \" n a m e \" : \" E N V _ V A R _ 1 \" , \" v a l u e \" : \" v a l u e _ 1 \" } , { \" n a m e \" : \" E N V _ V A R _ 2 \" , \" v a l u e \" : \" v a l u e _ 2 \" } ]   k u b e c t l   g e t   p o d   m y a p p   - o   j s o n p a t h = ' { . s p e c . e p h e m e r a l C o n t a i n e r s [ 0 ] . s e c u r i t y C o n t e x t } '   { \" c a p a b i l i t i e s \" : { \" a d d \" : [ \" N E T _ A D M I N \" , \" S Y S _ T I M E \" ] } }   C l e a n   u p   t h e   P o d   w h e n   y o u ' r e   f i n i s h e d   w i t h   i t :   k u b e c t l   d e l e t e   p o d   m y ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18457"
  },
  {
    "question": "What is 4.3.7 - Get a Shell to a Running Container?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   k u b e c t l   e x e c   t o   g e t   a   s h e l l   t o   a   r u n n i n g   c o n t a i n e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18458"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18459"
  },
  {
    "question": "What is Getting a shell to a container?",
    "answer": "I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   r u n s   t h e   n g i n x   i m a g e .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s h e l l - d e m o   s p e c :   v o l u m e s :   -   n a m e :   s h a r e d - d a t a   e m p t y D i r :   { }   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   v o l u m e M o u n t s :   -   n a m e :   s h a r e d - d a t a   m o u n t P a t h :   / u s r / s h a r e / n g i n x / h t m l   h o s t N e t w o r k :   t r u e   d n s P o l i c y :   D e f a u l t   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / s h e l l - d e m o . y a m l   V e r i f y   t h a t   t h e   c o n t a i n e r   i s   r u n n i n g :   k u b e c t l   g e t   p o d   s h e l l - d e m o   G e t   a   s h e l l   t o   t h e   r u n n i n g   c o n t a i n e r :   k u b e c t l   e x e c   - - s t d i n   - - t t y   s h e l l - d e m o   - -   / b i n / b a s h",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18460"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   y o u r   s h e l l ,   l i s t   t h e   r o o t   d i r e c t o r y :   #   R u n   t h i s   i n s i d e   t h e   c o n t a i n e r   l s   /   I n   y o u r   s h e l l ,   e x p e r i m e n t   w i t h   o t h e r   c o m m a n d s .   H e r e   a r e   s o m e   e x a m p l e s :   #   Y o u   c a n   r u n   t h e s e   e x a m p l e   c o m m a n d s   i n s i d e   t h e   c o n t a i n e r   l s   /   c a t   / p r o c / m o u n t s   c a t   / p r o c / 1 / m a p s   a p t - g e t   u p d a t e   a p t - g e t   i n s t a l l   - y   t c p d u m p   t c p d u m p   a p t - g e t   i n s t a l l   - y   l s o f   l s o f   a p t - g e t   i n s t a l l   - y   p r o c p s   p s   a u x   p s   a u x   |   g r e p   n g i n x",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18461"
  },
  {
    "question": "What is Writing the root page for nginx?",
    "answer": "L o o k   a g a i n   a t   t h e   c o n f i g u r a t i o n   f i l e   f o r   y o u r   P o d .   T h e   P o d   h a s   a n   e m p t y D i r   v o l u m e ,   a n d   t h e   c o n t a i n e r   m o u n t s   t h e   v o l u m e   a t   / u s r / s h a r e / n g i n x / h t m l .   I n   y o u r   s h e l l ,   c r e a t e   a n   i n d e x . h t m l   f i l e   i n   t h e   / u s r / s h a r e / n g i n x / h t m l   d i r e c t o r y :   #   R u n   t h i s   i n s i d e   t h e   c o n t a i n e r   e c h o   ' H e l l o   s h e l l   d e m o '   >   / u s r / s h a r e / n g i n x / h t m l / i n d e x . h t m l   I n   y o u r   s h e l l ,   s e n d   a   G E T   r e q u e s t   t o   t h e   n g i n x   s e r v e r :   #   R u n   t h i s   i n   t h e   s h e l l   i n s i d e   y o u r   c o n t a i n e r   a p t - g e t   u p d a t e   a p t - g e t   i n s t a l l   c u r l   c u r l   h t t p : / / l o c a l h o s t /   T h e   o u t p u t   s h o w s   t h e   t e x t   t h a t   y o u   w r o t e   t o   t h e   i n d e x . h t m l   f i l e :   H e l l o   s h e l l   d e m o   W h e n   y o u   a r e   f i n i s h e d   w i t h   y o u r   s h e l l ,   e n t e r   e x i t .   e x i t   #   T o   q u i t   t h e   s h e l l   i n   t h e   c o n t a i n e r",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18462"
  },
  {
    "question": "What is Running individual commands in a container?",
    "answer": "I n   a n   o r d i n a r y   c o m m a n d   w i n d o w ,   n o t   y o u r   s h e l l ,   l i s t   t h e   e n v i r o n m e n t   v a r i a b l e s   i n   t h e   r u n n i n g   c o n t a i n e r :   k u b e c t l   e x e c   s h e l l - d e m o   - -   e n v   E x p e r i m e n t   w i t h   r u n n i n g   o t h e r   c o m m a n d s .   H e r e   a r e   s o m e   e x a m p l e s :   k u b e c t l   e x e c   s h e l l - d e m o   - -   p s   a u x   k u b e c t l   e x e c   s h e l l - d e m o   - -   l s   /   k u b e c t l   e x e c   s h e l l - d e m o   - -   c a t   / p r o c / 1 / m o u n t s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18463"
  },
  {
    "question": "What is Opening a shell when a Pod has more than one container?",
    "answer": "I f   a   P o d   h a s   m o r e   t h a n   o n e   c o n t a i n e r ,   u s e   - - c o n t a i n e r   o r   - c   t o   s p e c i f y   a   c o n t a i n e r   i n   t h e   k u b e c t l   e x e c   c o m m a n d .   F o r   e x a m p l e ,   s u p p o s e   y o u   h a v e   a   P o d   n a m e d   m y - p o d ,   a n d   t h e   P o d   h a s   t w o   c o n t a i n e r s   n a m e d   m a i n - a p p   a n d   h e l p e r - a p p .   T h e   f o l l o w i n g   c o m m a n d   w o u l d   o p e n   a   s h e l l   t o   t h e   m a i n - a p p   c o n t a i n e r .   k u b e c t l   e x e c   - i   - t   m y - p o d   - - c o n t a i n e r   m a i n - a p p   - -   / b i n / b a s h",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18464"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   k u b e c t l   e x e c",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18465"
  },
  {
    "question": "What is 4.4 - Troubleshooting Clusters?",
    "answer": "T h i s   d o c   i s   a b o u t   c l u s t e r   t r o u b l e s h o o t i n g ;   w e   a s s u m e   y o u   h a v e   a l r e a d y   r u l e d   o u t   y o u r   a p p l i c a t i o n   a s   t h e   r o o t   c a u s e   o f   t h e   p r o b l e m   y o u   a r e   e x p e r i e n c i n g .   S e e   t h e   a p p l i c a t i o n   t r o u b l e s h o o t i n g   g u i d e   f o r   t i p s   o n   a p p l i c a t i o n   d e b u g g i n g .   Y o u   m a y   a l s o   v i s i t   t h e   t r o u b l e s h o o t i n g   o v e r v i e w   d o c u m e n t   f o r   m o r e   i n f o r m a t i o n .   F o r   t r o u b l e s h o o t i n g   k u b e c t l ,   r e f e r   t o   T r o u b l e s h o o t i n g   k u b e c t l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18466"
  },
  {
    "question": "What is Listing your cluster?",
    "answer": "T h e   f i r s t   t h i n g   t o   d e b u g   i n   y o u r   c l u s t e r   i s   i f   y o u r   n o d e s   a r e   a l l   r e g i s t e r e d   c o r r e c t l y .   R u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   g e t   n o d e s   A n d   v e r i f y   t h a t   a l l   o f   t h e   n o d e s   y o u   e x p e c t   t o   s e e   a r e   p r e s e n t   a n d   t h a t   t h e y   a r e   a l l   i n   t h e   R e a d y   s t a t e .   T o   g e t   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   o v e r a l l   h e a l t h   o f   y o u r   c l u s t e r ,   y o u   c a n   r u n :   k u b e c t l   c l u s t e r - i n f o   d u m p",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18467"
  },
  {
    "question": "What is Example: debugging a down/unreachable node?",
    "answer": "S o m e t i m e s   w h e n   d e b u g g i n g   i t   c a n   b e   u s e f u l   t o   l o o k   a t   t h e   s t a t u s   o f   a   n o d e   - -   f o r   e x a m p l e ,   b e c a u s e   y o u ' v e   n o t i c e d   s t r a n g e   b e h a v i o r   o f   a   P o d   t h a t ' s   r u n n i n g   o n   t h e   n o d e ,   o r   t o   f i n d   o u t   w h y   a   P o d   w o n ' t   s c h e d u l e   o n t o   t h e   n o d e .   A s   w i t h   P o d s ,   y o u   c a n   u s e   k u b e c t l   d e s c r i b e   n o d e   a n d   k u b e c t l   g e t   n o d e   - o   y a m l   t o   r e t r i e v e   d e t a i l e d   i n f o r m a t i o n   a b o u t   n o d e s .   F o r   e x a m p l e ,   h e r e ' s   w h a t   y o u ' l l   s e e   i f   a   n o d e   i s   d o w n   ( d i s c o n n e c t e d   f r o m   t h e   n e t w o r k ,   o r   k u b e l e t   d i e s   a n d   w o n ' t   r e s t a r t ,   e t c . ) .   N o t i c e   t h e   e v e n t s   t h a t   s h o w   t h e   n o d e   i s   N o t R e a d y ,   a n d   a l s o   n o t i c e   t h a t   t h e   p o d s   a r e   n o   l o n g e r   r u n n i n g   ( t h e y   a r e   e v i c t e d   a f t e r   f i v e   m i n u t e s   o f   N o t R e a d y   s t a t u s ) .   k u b e c t l   g e t   n o d e s   N A M E   S T A T U S   R O L E S   A G E   V E R S I O N   k u b e - w o r k e r - 1   N o t R e a d y   < n o n e >   1 h   v 1 . 2 3 . 3   k u b e r n e t e s - n o d e - b o l s   R e a d y   < n o n e >   1 h   v 1 . 2 3 . 3   k u b e r n e t e s - n o d e - s t 6 x   R e a d y   < n o n e >   1 h   v 1 . 2 3 . 3   k u b e r n e t e s - n o d e - u n a j   R e a d y   < n o n e >   1 h   v 1 . 2 3 . 3   k u b e c t l   d e s c r i b e   n o d e   k u b e - w o r k e r - 1   N a m e :   k u b e - w o r k e r - 1   R o l e s :   < n o n e >   L a b e l s :   b e t a . k u b e r n e t e s . i o / a r c h = a m d 6 4   b e t a . k u b e r n e t e s . i o / o s = l i n u x   k u b e r n e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18468"
  },
  {
    "question": "What is Looking at logs?",
    "answer": "F o r   n o w ,   d i g g i n g   d e e p e r   i n t o   t h e   c l u s t e r   r e q u i r e s   l o g g i n g   i n t o   t h e   r e l e v a n t   m a c h i n e s .   H e r e   a r e   t h e   l o c a t i o n s   o f   t h e   r e l e v a n t   l o g   f i l e s .   O n   s y s t e m d - b a s e d   s y s t e m s ,   y o u   m a y   n e e d   t o   u s e   j o u r n a l c t l   i n s t e a d   o f   e x a m i n i n g   l o g   f i l e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18469"
  },
  {
    "question": "What is Control Plane nodes?",
    "answer": "/ v a r / l o g / k u b e - a p i s e r v e r . l o g   -   A P I   S e r v e r ,   r e s p o n s i b l e   f o r   s e r v i n g   t h e   A P I / v a r / l o g / k u b e - s c h e d u l e r . l o g   -   S c h e d u l e r ,   r e s p o n s i b l e   f o r   m a k i n g   s c h e d u l i n g   d e c i s i o n s / v a r / l o g / k u b e - c o n t r o l l e r - m a n a g e r . l o g   -   a   c o m p o n e n t   t h a t   r u n s   m o s t   K u b e r n e t e s   b u i l t - i n   c o n t r o l l e r s ,   w i t h   t h e   n o t a b l e   e x c e p t i o n   o f   s c h e d u l i n g   ( t h e   k u b e - s c h e d u l e r   h a n d l e s   s c h e d u l i n g ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18470"
  },
  {
    "question": "What is Worker Nodes?",
    "answer": "/ v a r / l o g / k u b e l e t . l o g   -   l o g s   f r o m   t h e   k u b e l e t ,   r e s p o n s i b l e   f o r   r u n n i n g   c o n t a i n e r s   o n   t h e   n o d e / v a r / l o g / k u b e - p r o x y . l o g   -   l o g s   f r o m   k u b e - p r o x y ,   w h i c h   i s   r e s p o n s i b l e   f o r   d i r e c t i n g   t r a f f i c   t o   S e r v i c e   e n d p o i n t s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18471"
  },
  {
    "question": "What is Cluster failure modes?",
    "answer": "T h i s   i s   a n   i n c o m p l e t e   l i s t   o f   t h i n g s   t h a t   c o u l d   g o   w r o n g ,   a n d   h o w   t o   a d j u s t   y o u r   c l u s t e r   s e t u p   t o   m i t i g a t e   t h e   p r o b l e m s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18472"
  },
  {
    "question": "What is Contributing causes?",
    "answer": "V M ( s )   s h u t d o w n N e t w o r k   p a r t i t i o n   w i t h i n   c l u s t e r ,   o r   b e t w e e n   c l u s t e r   a n d   u s e r s C r a s h e s   i n   K u b e r n e t e s   s o f t w a r e D a t a   l o s s   o r   u n a v a i l a b i l i t y   o f   p e r s i s t e n t   s t o r a g e   ( e . g .   G C E   P D   o r   A W S   E B S   v o l u m e ) O p e r a t o r   e r r o r ,   f o r   e x a m p l e ,   m i s c o n f i g u r e d   K u b e r n e t e s   s o f t w a r e   o r   a p p l i c a t i o n   s o f t w a r e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18473"
  },
  {
    "question": "What is Specific scenarios?",
    "answer": "A P I   s e r v e r   V M   s h u t d o w n   o r   a p i s e r v e r   c r a s h i n g R e s u l t s u n a b l e   t o   s t o p ,   u p d a t e ,   o r   s t a r t   n e w   p o d s ,   s e r v i c e s ,   r e p l i c a t i o n   c o n t r o l l e r e x i s t i n g   p o d s   a n d   s e r v i c e s   s h o u l d   c o n t i n u e   t o   w o r k   n o r m a l l y   u n l e s s   t h e y   d e p e n d   o n   t h e   K u b e r n e t e s   A P I A P I   s e r v e r   b a c k i n g   s t o r a g e   l o s t R e s u l t s t h e   k u b e - a p i s e r v e r   c o m p o n e n t   f a i l s   t o   s t a r t   s u c c e s s f u l l y   a n d   b e c o m e   h e a l t h y k u b e l e t s   w i l l   n o t   b e   a b l e   t o   r e a c h   i t   b u t   w i l l   c o n t i n u e   t o   r u n   t h e   s a m e   p o d s   a n d   p r o v i d e   t h e   s a m e   s e r v i c e   p r o x y i n g m a n u a l   r e c o v e r y   o r   r e c r e a t i o n   o f   a p i s e r v e r   s t a t e   n e c e s s a r y   b e f o r e   a p i s e r v e r   i s   r e s t a r t e d S u p p o r t i n g   s e r v i c e s   ( n o d e   c o n t r o l l e r ,   r e p l i c a t i o n   c o n t r o l l e r   m a n a g e r ,   s c h e d u l e r ,   e t c )   V M   s h u t d o w n   o r   c r a s h e s c u r r e n t l y   t h o s e   a r e   c o l o c a t e d   w i t h   t h e   a p i s e r v e r ,   a n d   t h e i r   u n a v a i l a b i l i t y   h a s   s i m i l a r   c o n s e q u e n c e s   a s   a p i s e r v e r i n   f u t u r e ,   t h e s e   w i l l   b e   r e p l i c a t e d   a s   w e l l   a n d   m a y   n o t   b e   c o - l o c a t e d t h e y   d o   n o t   h a v e   t h e i r   o w n   p e r s i s t e n t   s t a t e I n d i v i d u a l   n o d e   ( V M   o r   p h y s i c a l   m a c h i n e )   s h u t s   d o w n R e s u l t s p o d s   o n   t h a t   N o d e   s t o p   r u n n i n g N e t w o r k   p a r t i t i o n R e s u l t s p a r t i t i o n   A   t h i ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18474"
  },
  {
    "question": "What is Mitigations?",
    "answer": "A c t i o n :   U s e   t h e   I a a S   p r o v i d e r ' s   a u t o m a t i c   V M   r e s t a r t i n g   f e a t u r e   f o r   I a a S   V M s M i t i g a t e s :   A p i s e r v e r   V M   s h u t d o w n   o r   a p i s e r v e r   c r a s h i n g M i t i g a t e s :   S u p p o r t i n g   s e r v i c e s   V M   s h u t d o w n   o r   c r a s h e s A c t i o n :   U s e   I a a S   p r o v i d e r s   r e l i a b l e   s t o r a g e   ( e . g .   G C E   P D   o r   A W S   E B S   v o l u m e )   f o r   V M s   w i t h   a p i s e r v e r + e t c d M i t i g a t e s :   A p i s e r v e r   b a c k i n g   s t o r a g e   l o s t A c t i o n :   U s e   h i g h - a v a i l a b i l i t y   c o n f i g u r a t i o n M i t i g a t e s :   C o n t r o l   p l a n e   n o d e   s h u t d o w n   o r   c o n t r o l   p l a n e   c o m p o n e n t s   ( s c h e d u l e r ,   A P I   s e r v e r ,   c o n t r o l l e r - m a n a g e r )   c r a s h i n g W i l l   t o l e r a t e   o n e   o r   m o r e   s i m u l t a n e o u s   n o d e   o r   c o m p o n e n t   f a i l u r e s M i t i g a t e s :   A P I   s e r v e r   b a c k i n g   s t o r a g e   ( i . e . ,   e t c d ' s   d a t a   d i r e c t o r y )   l o s t A s s u m e s   H A   ( h i g h l y - a v a i l a b l e )   e t c d   c o n f i g u r a t i o n A c t i o n :   S n a p s h o t   a p i s e r v e r   P D s / E B S - v o l u m e s   p e r i o d i c a l l y M i t i g a t e s :   A p i s e r v e r   b a c k i n g   s t o r a g e   l o s t M i t i g a t e s :   S o m e   c a s e s   o f   o p e r a t o r   e r r o r M i t i g a t e s :   S o m e   c a s e s   o f   K u b e r n e t e s   s o f t w a r e   f a u l t A c t i o n :   u s e   r e p l i c a t i o n   c o n t r o l l e r   a n d   s e r v i c e s   i n   f r o n t   o f   p o d s M i t i g a t e s :   N o d e   s h u t d o w n M i t i g a t e s :   K u b e l e t   s o f t w a r e   f a u l t A c t i o n :   a p p l i c a t i o n s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18475"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   t h e   m e t r i c s   a v a i l a b l e   i n   t h e   R e s o u r c e   M e t r i c s   P i p e l i n e D i s c o v e r   a d d i t i o n a l   t o o l s   f o r   m o n i t o r i n g   r e s o u r c e   u s a g e U s e   N o d e   P r o b l e m   D e t e c t o r   t o   m o n i t o r   n o d e   h e a l t h U s e   k u b e c t l   d e b u g   n o d e   t o   d e b u g   K u b e r n e t e s   n o d e s U s e   c r i c t l   t o   d e b u g   K u b e r n e t e s   n o d e s G e t   m o r e   i n f o r m a t i o n   a b o u t   K u b e r n e t e s   a u d i t i n g U s e   t e l e p r e s e n c e   t o   d e v e l o p   a n d   d e b u g   s e r v i c e s   l o c a l l y",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18476"
  },
  {
    "question": "What is 4.4.1 - Troubleshooting kubectl?",
    "answer": "T h i s   d o c u m e n t a t i o n   i s   a b o u t   i n v e s t i g a t i n g   a n d   d i a g n o s i n g   k u b e c t l   r e l a t e d   i s s u e s .   I f   y o u   e n c o u n t e r   i s s u e s   a c c e s s i n g   k u b e c t l   o r   c o n n e c t i n g   t o   y o u r   c l u s t e r ,   t h i s   d o c u m e n t   o u t l i n e s   v a r i o u s   c o m m o n   s c e n a r i o s   a n d   p o t e n t i a l   s o l u t i o n s   t o   h e l p   i d e n t i f y   a n d   a d d r e s s   t h e   l i k e l y   c a u s e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18477"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r . Y o u   a l s o   n e e d   t o   h a v e   k u b e c t l   i n s t a l l e d   -   s e e   i n s t a l l   t o o l s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18478"
  },
  {
    "question": "What is Verify kubectl setup?",
    "answer": "M a k e   s u r e   y o u   h a v e   i n s t a l l e d   a n d   c o n f i g u r e d   k u b e c t l   c o r r e c t l y   o n   y o u r   l o c a l   m a c h i n e .   C h e c k   t h e   k u b e c t l   v e r s i o n   t o   e n s u r e   i t   i s   u p - t o - d a t e   a n d   c o m p a t i b l e   w i t h   y o u r   c l u s t e r .   C h e c k   k u b e c t l   v e r s i o n :   k u b e c t l   v e r s i o n   Y o u ' l l   s e e   a   s i m i l a r   o u t p u t :   C l i e n t   V e r s i o n :   v e r s i o n . I n f o { M a j o r : \" 1 \" ,   M i n o r : \" 2 7 \" ,   G i t V e r s i o n : \" v 1 . 2 7 . 4 \" , G i t C o m m i t : \" f a 3 d 7 9 9 0 1 0 4 d 7 c 1 f 1 6 9 4 3 a 6 7 f 1 1 b 1 5 4 b 7 1 f 6 a 1 3 2 \" ,   G i t T r e e S t a t e : \" c l e a n \" , B u i l d D a t e : \" 2 0 2 3 - 0 7 - 1 9 T 1 2 : 2 0 : 5 4 Z \" ,   G o V e r s i o n : \" g o 1 . 2 0 . 6 \" ,   C o m p i l e r : \" g c \" ,   P l a t f o r m : \" l i n u x / a m d 6 4 \" }   K u s t o m i z e   V e r s i o n :   v 5 . 0 . 1   S e r v e r   V e r s i o n :   v e r s i o n . I n f o { M a j o r : \" 1 \" ,   M i n o r : \" 2 7 \" ,   G i t V e r s i o n : \" v 1 . 2 7 . 3 \" , G i t C o m m i t : \" 2 5 b 4 e 4 3 1 9 3 b c d a 6 c 7 3 2 8 a 6 d 1 4 7 b 1 f b 7 3 a 3 3 f 1 5 9 8 \" ,   G i t T r e e S t a t e : \" c l e a n \" , B u i l d D a t e : \" 2 0 2 3 - 0 6 - 1 4 T 0 9 : 4 7 : 4 0 Z \" ,   G o V e r s i o n : \" g o 1 . 2 0 . 5 \" ,   C o m p i l e r : \" g c \" ,   P l a t f o r m : \" l i n u x / a m d 6 4 \" }   I f   y o u   s e e   U n a b l e   t o   c o n n e c t   t o   t h e   s e r v e r :   d i a l   t c p   < s e r v e r - i p > : 8 4 4 3 :   i / o   t i m e o u t ,   i n s t e a d   o f   S e r v e r   V e r s i o n ,   y o u   n e e d   t o   t r o u b l e s h o o t   k u b e c t l   c o n n e c t i v i t y   w i t h   y o u r   c l u s t e r .   M a k e   s u r e   y o u   h a v e   i n s t a l l e d   t h e   k u b e c t l   b y   f o l l o w i n g   t h e   o f f i c i a l   d o c u m ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18479"
  },
  {
    "question": "What is Check kubeconfig?",
    "answer": "T h e   k u b e c t l   r e q u i r e s   a   k u b e c o n f i g   f i l e   t o   c o n n e c t   t o   a   K u b e r n e t e s   c l u s t e r .   T h e   k u b e c o n f i g   f i l e   i s   u s u a l l y   l o c a t e d   u n d e r   t h e   ~ / . k u b e / c o n f i g   d i r e c t o r y .   M a k e   s u r e   t h a t   y o u   h a v e   a   v a l i d   k u b e c o n f i g   f i l e .   I f   y o u   d o n ' t   h a v e   a   k u b e c o n f i g   f i l e ,   y o u   c a n   o b t a i n   i t   f r o m   y o u r   K u b e r n e t e s   a d m i n i s t r a t o r ,   o r   y o u   c a n   c o p y   i t   f r o m   y o u r   K u b e r n e t e s   c o n t r o l   p l a n e ' s   / e t c / k u b e r n e t e s / a d m i n . c o n f   d i r e c t o r y .   I f   y o u   h a v e   d e p l o y e d   y o u r   K u b e r n e t e s   c l u s t e r   o n   a   c l o u d   p l a t f o r m   a n d   l o s t   y o u r   k u b e c o n f i g   f i l e ,   y o u   c a n   r e - g e n e r a t e   i t   u s i n g   y o u r   c l o u d   p r o v i d e r ' s   t o o l s .   R e f e r   t h e   c l o u d   p r o v i d e r ' s   d o c u m e n t a t i o n   f o r   r e - g e n e r a t i n g   a   k u b e c o n f i g   f i l e .   C h e c k   i f   t h e   $ K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   i s   c o n f i g u r e d   c o r r e c t l y .   Y o u   c a n   s e t   $ K U B E C O N F I G e n v i r o n m e n t   v a r i a b l e   o r   u s e   t h e   - - k u b e c o n f i g   p a r a m e t e r   w i t h   t h e   k u b e c t l   t o   s p e c i f y   t h e   d i r e c t o r y   o f   a   k u b e c o n f i g   f i l e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18480"
  },
  {
    "question": "What is Check VPN connectivity?",
    "answer": "I f   y o u   a r e   u s i n g   a   V i r t u a l   P r i v a t e   N e t w o r k   ( V P N )   t o   a c c e s s   y o u r   K u b e r n e t e s   c l u s t e r ,   m a k e   s u r e   t h a t   y o u r   V P N   c o n n e c t i o n   i s   a c t i v e   a n d   s t a b l e .   S o m e t i m e s ,   V P N   d i s c o n n e c t i o n s   c a n   l e a d   t o   c o n n e c t i o n   i s s u e s   w i t h   t h e   c l u s t e r .   R e c o n n e c t   t o   t h e   V P N   a n d   t r y   a c c e s s i n g   t h e   c l u s t e r   a g a i n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18481"
  },
  {
    "question": "What is Authentication and authorization?",
    "answer": "I f   y o u   a r e   u s i n g   t h e   t o k e n   b a s e d   a u t h e n t i c a t i o n   a n d   t h e   k u b e c t l   i s   r e t u r n i n g   a n   e r r o r   r e g a r d i n g   t h e   a u t h e n t i c a t i o n   t o k e n   o r   a u t h e n t i c a t i o n   s e r v e r   a d d r e s s ,   v a l i d a t e   t h e   K u b e r n e t e s   a u t h e n t i c a t i o n   t o k e n   a n d   t h e   a u t h e n t i c a t i o n   s e r v e r   a d d r e s s   a r e   c o n f i g u r e d   p r o p e r l y .   I f   k u b e c t l   i s   r e t u r n i n g   a n   e r r o r   r e g a r d i n g   t h e   a u t h o r i z a t i o n ,   m a k e   s u r e   t h a t   y o u   a r e   u s i n g   t h e   v a l i d   u s e r   c r e d e n t i a l s .   A n d   y o u   h a v e   t h e   p e r m i s s i o n   t o   a c c e s s   t h e   r e s o u r c e   t h a t   y o u   h a v e   r e q u e s t e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18482"
  },
  {
    "question": "What is Verify contexts?",
    "answer": "K u b e r n e t e s   s u p p o r t s   m u l t i p l e   c l u s t e r s   a n d   c o n t e x t s .   E n s u r e   t h a t   y o u   a r e   u s i n g   t h e   c o r r e c t   c o n t e x t   t o   i n t e r a c t   w i t h   y o u r   c l u s t e r .   L i s t   a v a i l a b l e   c o n t e x t s :   k u b e c t l   c o n f i g   g e t - c o n t e x t s   S w i t c h   t o   t h e   a p p r o p r i a t e   c o n t e x t :   k u b e c t l   c o n f i g   u s e - c o n t e x t   < c o n t e x t - n a m e >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18483"
  },
  {
    "question": "What is API server and load balancer?",
    "answer": "T h e   k u b e - a p i s e r v e r   s e r v e r   i s   t h e   c e n t r a l   c o m p o n e n t   o f   a   K u b e r n e t e s   c l u s t e r .   I f   t h e   A P I   s e r v e r   o r   t h e   l o a d   b a l a n c e r   t h a t   r u n s   i n   f r o n t   o f   y o u r   A P I   s e r v e r s   i s   n o t   r e a c h a b l e   o r   n o t   r e s p o n d i n g ,   y o u   w o n ' t   b e   a b l e   t o   i n t e r a c t   w i t h   t h e   c l u s t e r .   C h e c k   t h e   i f   t h e   A P I   s e r v e r ' s   h o s t   i s   r e a c h a b l e   b y   u s i n g   p i n g   c o m m a n d .   C h e c k   c l u s t e r ' s   n e t w o r k   c o n n e c t i v i t y   a n d   f i r e w a l l .   I f   y o u r   a r e   u s i n g   a   c l o u d   p r o v i d e r   f o r   d e p l o y i n g   t h e   c l u s t e r ,   c h e c k   y o u r   c l o u d   p r o v i d e r ' s   h e a l t h   c h e c k   s t a t u s   f o r   t h e   c l u s t e r ' s   A P I   s e r v e r .   V e r i f y   t h e   s t a t u s   o f   t h e   l o a d   b a l a n c e r   ( i f   u s e d )   t o   e n s u r e   i t   i s   h e a l t h y   a n d   f o r w a r d i n g   t r a f f i c   t o   t h e   A P I   s e r v e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18484"
  },
  {
    "question": "What is TLS problems?",
    "answer": "A d d i t i o n a l   t o o l s   r e q u i r e d   -   b a s e 6 4   a n d   o p e n s s l   v e r s i o n   3 . 0   o r   a b o v e .   T h e   K u b e r n e t e s   A P I   s e r v e r   o n l y   s e r v e s   H T T P S   r e q u e s t s   b y   d e f a u l t .   I n   t h a t   c a s e   T L S   p r o b l e m s   m a y   o c c u r   d u e   t o   v a r i o u s   r e a s o n s ,   s u c h   a s   c e r t i f i c a t e   e x p i r y   o r   c h a i n   o f   t r u s t   v a l i d i t y .   Y o u   c a n   f i n d   t h e   T L S   c e r t i f i c a t e   i n   t h e   k u b e c o n f i g   f i l e ,   l o c a t e d   i n   t h e   ~ / . k u b e / c o n f i g   d i r e c t o r y .   T h e   c e r t i f i c a t e - a u t h o r i t y   a t t r i b u t e   c o n t a i n s   t h e   C A   c e r t i f i c a t e   a n d   t h e   c l i e n t - c e r t i f i c a t e   a t t r i b u t e   c o n t a i n s   t h e   c l i e n t   c e r t i f i c a t e .   V e r i f y   t h e   e x p i r y   o f   t h e s e   c e r t i f i c a t e s :   k u b e c t l   c o n f i g   v i e w   - - f l a t t e n   - - o u t p u t   ' j s o n p a t h = { . c l u s t e r s [ 0 ] . c l u s t e r . c e r t i f i c a t e - a u t h o r i t y - d a t a } '   |   b a s e 6 4   - d   |   o p e n s s l   x 5 0 9   - n o o u t   - d a t e s   o u t p u t :   n o t B e f o r e = F e b   1 3   0 5 : 5 7 : 4 7   2 0 2 4   G M T   n o t A f t e r = F e b   1 0   0 6 : 0 2 : 4 7   2 0 3 4   G M T   k u b e c t l   c o n f i g   v i e w   - - f l a t t e n   - - o u t p u t   ' j s o n p a t h = { . u s e r s [ 0 ] . u s e r . c l i e n t - c e r t i f i c a t e - d a t a } ' |   b a s e 6 4   - d   |   o p e n s s l   x 5 0 9   - n o o u t   - d a t e s   o u t p u t :   n o t B e f o r e = F e b   1 3   0 5 : 5 7 : 4 7   2 0 2 4   G M T   n o t A f t e r = F e b   1 2   0 6 : 0 2 : 5 0   2 0 2 5   G M T",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18485"
  },
  {
    "question": "What is Verify kubectl helpers?",
    "answer": "S o m e   k u b e c t l   a u t h e n t i c a t i o n   h e l p e r s   p r o v i d e   e a s y   a c c e s s   t o   K u b e r n e t e s   c l u s t e r s .   I f   y o u   h a v e   u s e d   s u c h   h e l p e r s   a n d   a r e   f a c i n g   c o n n e c t i v i t y   i s s u e s ,   e n s u r e   t h a t   t h e   n e c e s s a r y   c o n f i g u r a t i o n s   a r e   s t i l l   p r e s e n t .   C h e c k   k u b e c t l   c o n f i g u r a t i o n   f o r   a u t h e n t i c a t i o n   d e t a i l s :   k u b e c t l   c o n f i g   v i e w   I f   y o u   p r e v i o u s l y   u s e d   a   h e l p e r   t o o l   ( f o r   e x a m p l e ,   k u b e c t l - o i d c - l o g i n ) ,   e n s u r e   t h a t   i t   i s   s t i l l   i n s t a l l e d   a n d   c o n f i g u r e d   c o r r e c t l y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18486"
  },
  {
    "question": "What is 4.4.2 - Resource metrics pipeline?",
    "answer": "F o r   K u b e r n e t e s ,   t h e   M e t r i c s   A P I   o f f e r s   a   b a s i c   s e t   o f   m e t r i c s   t o   s u p p o r t   a u t o m a t i c   s c a l i n g   a n d   s i m i l a r   u s e   c a s e s .   T h i s   A P I   m a k e s   i n f o r m a t i o n   a v a i l a b l e   a b o u t   r e s o u r c e   u s a g e   f o r   n o d e   a n d   p o d ,   i n c l u d i n g   m e t r i c s   f o r   C P U   a n d   m e m o r y .   I f   y o u   d e p l o y   t h e   M e t r i c s   A P I   i n t o   y o u r   c l u s t e r ,   c l i e n t s   o f   t h e   K u b e r n e t e s   A P I   c a n   t h e n   q u e r y   f o r   t h i s   i n f o r m a t i o n ,   a n d   y o u   c a n   u s e   K u b e r n e t e s '   a c c e s s   c o n t r o l   m e c h a n i s m s   t o   m a n a g e   p e r m i s s i o n s   t o   d o   s o .   T h e   H o r i z o n t a l P o d A u t o s c a l e r   ( H P A )   a n d   V e r t i c a l P o d A u t o s c a l e r   ( V P A )   u s e   d a t a   f r o m   t h e   m e t r i c s   A P I   t o   a d j u s t   w o r k l o a d   r e p l i c a s   a n d   r e s o u r c e s   t o   m e e t   c u s t o m e r   d e m a n d .   Y o u   c a n   a l s o   v i e w   t h e   r e s o u r c e   m e t r i c s   u s i n g   t h e   k u b e c t l   t o p   c o m m a n d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18487"
  },
  {
    "question": "What is Note:?",
    "answer": "F i g u r e   1   i l l u s t r a t e s   t h e   a r c h i t e c t u r e   o f   t h e   r e s o u r c e   m e t r i c s   p i p e l i n e .   F i g u r e   1 .   R e s o u r c e   M e t r i c s   P i p e l i n e   T h e   a r c h i t e c t u r e   c o m p o n e n t s ,   f r o m   r i g h t   t o   l e f t   i n   t h e   f i g u r e ,   c o n s i s t   o f   t h e   f o l l o w i n g :   c A d v i s o r :   D a e m o n   f o r   c o l l e c t i n g ,   a g g r e g a t i n g   a n d   e x p o s i n g   c o n t a i n e r   m e t r i c s   i n c l u d e d   i n   K u b e l e t . k u b e l e t :   N o d e   a g e n t   f o r   m a n a g i n g   c o n t a i n e r   r e s o u r c e s .   R e s o u r c e   m e t r i c s   a r e   a c c e s s i b l e   u s i n g   t h e   / m e t r i c s / r e s o u r c e   a n d   / s t a t s   k u b e l e t   A P I   e n d p o i n t s . n o d e   l e v e l   r e s o u r c e   m e t r i c s :   A P I   p r o v i d e d   b y   t h e   k u b e l e t   f o r   d i s c o v e r i n g   a n d   r e t r i e v i n g   p e r - n o d e   s u m m a r i z e d   s t a t s   a v a i l a b l e   t h r o u g h   t h e   / m e t r i c s / r e s o u r c e   e n d p o i n t . m e t r i c s - s e r v e r :   C l u s t e r   a d d o n   c o m p o n e n t   t h a t   c o l l e c t s   a n d   a g g r e g a t e s   r e s o u r c e   m e t r i c s   p u l l e d   f r o m   e a c h   k u b e l e t .   T h e   A P I   s e r v e r   s e r v e s   M e t r i c s   A P I   f o r   u s e   b y   H P A ,   V P A ,   a n d   b y   t h e   k u b e c t l   t o p   c o m m a n d .   M e t r i c s   S e r v e r   i s   a   r e f e r e n c e   i m p l e m e n t a t i o n   o f   t h e   M e t r i c s   A P I . M e t r i c s   A P I :   K u b e r n e t e s   A P I   s u p p o r t i n g   a c c e s s   t o   C P U   a n d   m e m o r y   u s e d   f o r   w o r k l o a d   a u t o s c a l i n g .   T o   m a k e   t h i s   w o r k   i n   y o u r   c l u s t e r ,   y o u   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18488"
  },
  {
    "question": "What is Metrics API?",
    "answer": "T h e   m e t r i c s - s e r v e r   i m p l e m e n t s   t h e   M e t r i c s   A P I .   T h i s   A P I   a l l o w s   y o u   t o   a c c e s s   C P U   a n d   m e m o r y   u s a g e   f o r   t h e   n o d e s   a n d   p o d s   i n   y o u r   c l u s t e r .   I t s   p r i m a r y   r o l e   i s   t o   f e e d   r e s o u r c e   u s a g e   m e t r i c s   t o   K 8 s   a u t o s c a l e r   c o m p o n e n t s .   H e r e   i s   a n   e x a m p l e   o f   t h e   M e t r i c s   A P I   r e q u e s t   f o r   a   m i n i k u b e   n o d e   p i p e d   t h r o u g h   j q   f o r   e a s i e r   r e a d i n g :   k u b e c t l   g e t   - - r a w   \" / a p i s / m e t r i c s . k 8 s . i o / v 1 b e t a 1 / n o d e s / m i n i k u b e \"   |   j q   ' . '   H e r e   i s   t h e   s a m e   A P I   c a l l   u s i n g   c u r l :   c u r l   h t t p : / / l o c a l h o s t : 8 0 8 0 / a p i s / m e t r i c s . k 8 s . i o / v 1 b e t a 1 / n o d e s / m i n i k u b e   S a m p l e   r e s p o n s e :   {   \" k i n d \" :   \" N o d e M e t r i c s \" ,   \" a p i V e r s i o n \" :   \" m e t r i c s . k 8 s . i o / v 1 b e t a 1 \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" m i n i k u b e \" ,   \" s e l f L i n k \" :   \" / a p i s / m e t r i c s . k 8 s . i o / v 1 b e t a 1 / n o d e s / m i n i k u b e \" ,   \" c r e a t i o n T i m e s t a m p \" :   \" 2 0 2 2 - 0 1 - 2 7 T 1 8 : 4 8 : 4 3 Z \"   } ,   \" t i m e s t a m p \" :   \" 2 0 2 2 - 0 1 - 2 7 T 1 8 : 4 8 : 3 3 Z \" ,   \" w i n d o w \" :   \" 3 0 s \" ,   \" u s a g e \" :   {   \" c p u \" :   \" 4 8 7 5 5 8 1 6 4 n \" ,   \" m e m o r y \" :   \" 7 3 2 2 1 2 K i \"   }   }   H e r e   i s   a n   e x a m p l e   o f   t h e   M e t r i c s   A P I   r e q u e s t   f o r   a   k u b e - s c h e d u l e r - m i n i k u b e   p o d   c o n t a i n e d   i n   t h e   k u b e - s y s t e m   n a m e s p a c e   a n d   p i p e d   t h r o u g h   j q   f o r   e a s i e r   r e a d i n g :   k u b e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18489"
  },
  {
    "question": "What is CPU?",
    "answer": "C P U   i s   r e p o r t e d   a s   t h e   a v e r a g e   c o r e   u s a g e   m e a s u r e d   i n   c p u   u n i t s .   O n e   c p u ,   i n   K u b e r n e t e s ,   i s   e q u i v a l e n t   t o   1   v C P U / C o r e   f o r   c l o u d   p r o v i d e r s ,   a n d   1   h y p e r - t h r e a d   o n   b a r e - m e t a l   I n t e l   p r o c e s s o r s .   T h i s   v a l u e   i s   d e r i v e d   b y   t a k i n g   a   r a t e   o v e r   a   c u m u l a t i v e   C P U   c o u n t e r   p r o v i d e d   b y   t h e   k e r n e l   ( i n   b o t h   L i n u x   a n d   W i n d o w s   k e r n e l s ) .   T h e   t i m e   w i n d o w   u s e d   t o   c a l c u l a t e   C P U   i s   s h o w n   u n d e r   w i n d o w   f i e l d   i n   M e t r i c s   A P I .   T o   l e a r n   m o r e   a b o u t   h o w   K u b e r n e t e s   a l l o c a t e s   a n d   m e a s u r e s   C P U   r e s o u r c e s ,   s e e   m e a n i n g   o f   C P U .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18490"
  },
  {
    "question": "What is Memory?",
    "answer": "M e m o r y   i s   r e p o r t e d   a s   t h e   w o r k i n g   s e t ,   m e a s u r e d   i n   b y t e s ,   a t   t h e   i n s t a n t   t h e   m e t r i c   w a s   c o l l e c t e d .   I n   a n   i d e a l   w o r l d ,   t h e   \" w o r k i n g   s e t \"   i s   t h e   a m o u n t   o f   m e m o r y   i n - u s e   t h a t   c a n n o t   b e   f r e e d   u n d e r   m e m o r y   p r e s s u r e .   H o w e v e r ,   c a l c u l a t i o n   o f   t h e   w o r k i n g   s e t   v a r i e s   b y   h o s t   O S ,   a n d   g e n e r a l l y   m a k e s   h e a v y   u s e   o f   h e u r i s t i c s   t o   p r o d u c e   a n   e s t i m a t e .   T h e   K u b e r n e t e s   m o d e l   f o r   a   c o n t a i n e r ' s   w o r k i n g   s e t   e x p e c t s   t h a t   t h e   c o n t a i n e r   r u n t i m e   c o u n t s   a n o n y m o u s   m e m o r y   a s s o c i a t e d   w i t h   t h e   c o n t a i n e r   i n   q u e s t i o n .   T h e   w o r k i n g   s e t   m e t r i c   t y p i c a l l y   a l s o   i n c l u d e s   s o m e   c a c h e d   ( f i l e - b a c k e d )   m e m o r y ,   b e c a u s e   t h e   h o s t   O S   c a n n o t   a l w a y s   r e c l a i m   p a g e s .   T o   l e a r n   m o r e   a b o u t   h o w   K u b e r n e t e s   a l l o c a t e s   a n d   m e a s u r e s   m e m o r y   r e s o u r c e s ,   s e e   m e a n i n g   o f   m e m o r y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18491"
  },
  {
    "question": "What is Metrics Server?",
    "answer": "T h e   m e t r i c s - s e r v e r   f e t c h e s   r e s o u r c e   m e t r i c s   f r o m   t h e   k u b e l e t s   a n d   e x p o s e s   t h e m   i n   t h e   K u b e r n e t e s   A P I   s e r v e r   t h r o u g h   t h e   M e t r i c s   A P I   f o r   u s e   b y   t h e   H P A   a n d   V P A .   Y o u   c a n   a l s o   v i e w   t h e s e   m e t r i c s   u s i n g   t h e   k u b e c t l   t o p   c o m m a n d .   T h e   m e t r i c s - s e r v e r   u s e s   t h e   K u b e r n e t e s   A P I   t o   t r a c k   n o d e s   a n d   p o d s   i n   y o u r   c l u s t e r .   T h e   m e t r i c s - s e r v e r   q u e r i e s   e a c h   n o d e   o v e r   H T T P   t o   f e t c h   m e t r i c s .   T h e   m e t r i c s - s e r v e r   a l s o   b u i l d s   a n   i n t e r n a l   v i e w   o f   p o d   m e t a d a t a ,   a n d   k e e p s   a   c a c h e   o f   p o d   h e a l t h .   T h a t   c a c h e d   p o d   h e a l t h   i n f o r m a t i o n   i s   a v a i l a b l e   v i a   t h e   e x t e n s i o n   A P I   t h a t   t h e   m e t r i c s - s e r v e r   m a k e s   a v a i l a b l e .   F o r   e x a m p l e   w i t h   a n   H P A   q u e r y ,   t h e   m e t r i c s - s e r v e r   n e e d s   t o   i d e n t i f y   w h i c h   p o d s   f u l f i l l   t h e   l a b e l   s e l e c t o r s   i n   t h e   d e p l o y m e n t .   T h e   m e t r i c s - s e r v e r   c a l l s   t h e   k u b e l e t   A P I   t o   c o l l e c t   m e t r i c s   f r o m   e a c h   n o d e .   D e p e n d i n g   o n   t h e   m e t r i c s - s e r v e r   v e r s i o n   i t   u s e s :   M e t r i c s   r e s o u r c e   e n d p o i n t   / m e t r i c s / r e s o u r c e   i n   v e r s i o n   v 0 . 6 . 0 +   o r S u m m a r y   A P I   e n d p o i n t   / s t a t s / s u m m a r y   i n   o l d e r   v e r s i o n s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18492"
  },
  {
    "question": "What is What's next?",
    "answer": "T o   l e a r n   m o r e   a b o u t   t h e   m e t r i c s - s e r v e r ,   s e e   t h e   m e t r i c s - s e r v e r   r e p o s i t o r y .   Y o u   c a n   a l s o   c h e c k   o u t   t h e   f o l l o w i n g :   m e t r i c s - s e r v e r   d e s i g n m e t r i c s - s e r v e r   F A Q m e t r i c s - s e r v e r   k n o w n   i s s u e s m e t r i c s - s e r v e r   r e l e a s e s H o r i z o n t a l   P o d   A u t o s c a l i n g   T o   l e a r n   a b o u t   h o w   t h e   k u b e l e t   s e r v e s   n o d e   m e t r i c s ,   a n d   h o w   y o u   c a n   a c c e s s   t h o s e   v i a   t h e   K u b e r n e t e s   A P I ,   r e a d   N o d e   M e t r i c s   D a t a .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18493"
  },
  {
    "question": "What is 4.4.3 - Tools for Monitoring Resources?",
    "answer": "T o   s c a l e   a n   a p p l i c a t i o n   a n d   p r o v i d e   a   r e l i a b l e   s e r v i c e ,   y o u   n e e d   t o   u n d e r s t a n d   h o w   t h e   a p p l i c a t i o n   b e h a v e s   w h e n   i t   i s   d e p l o y e d .   Y o u   c a n   e x a m i n e   a p p l i c a t i o n   p e r f o r m a n c e   i n   a   K u b e r n e t e s   c l u s t e r   b y   e x a m i n i n g   t h e   c o n t a i n e r s ,   p o d s ,   s e r v i c e s ,   a n d   t h e   c h a r a c t e r i s t i c s   o f   t h e   o v e r a l l   c l u s t e r .   K u b e r n e t e s   p r o v i d e s   d e t a i l e d   i n f o r m a t i o n   a b o u t   a n   a p p l i c a t i o n ' s   r e s o u r c e   u s a g e   a t   e a c h   o f   t h e s e   l e v e l s .   T h i s   i n f o r m a t i o n   a l l o w s   y o u   t o   e v a l u a t e   y o u r   a p p l i c a t i o n ' s   p e r f o r m a n c e   a n d   w h e r e   b o t t l e n e c k s   c a n   b e   r e m o v e d   t o   i m p r o v e   o v e r a l l   p e r f o r m a n c e .   I n   K u b e r n e t e s ,   a p p l i c a t i o n   m o n i t o r i n g   d o e s   n o t   d e p e n d   o n   a   s i n g l e   m o n i t o r i n g   s o l u t i o n .   O n   n e w   c l u s t e r s ,   y o u   c a n   u s e   r e s o u r c e   m e t r i c s   o r   f u l l   m e t r i c s   p i p e l i n e s   t o   c o l l e c t   m o n i t o r i n g   s t a t i s t i c s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18494"
  },
  {
    "question": "What is Resource metrics pipeline?",
    "answer": "T h e   r e s o u r c e   m e t r i c s   p i p e l i n e   p r o v i d e s   a   l i m i t e d   s e t   o f   m e t r i c s   r e l a t e d   t o   c l u s t e r   c o m p o n e n t s   s u c h   a s   t h e   H o r i z o n t a l   P o d   A u t o s c a l e r   c o n t r o l l e r ,   a s   w e l l   a s   t h e   k u b e c t l   t o p   u t i l i t y .   T h e s e   m e t r i c s   a r e   c o l l e c t e d   b y   t h e   l i g h t w e i g h t ,   s h o r t - t e r m ,   i n - m e m o r y   m e t r i c s - s e r v e r   a n d   a r e   e x p o s e d   v i a   t h e   m e t r i c s . k 8 s . i o   A P I .   m e t r i c s - s e r v e r   d i s c o v e r s   a l l   n o d e s   o n   t h e   c l u s t e r   a n d   q u e r i e s   e a c h   n o d e ' s   k u b e l e t   f o r   C P U   a n d   m e m o r y   u s a g e .   T h e   k u b e l e t   a c t s   a s   a   b r i d g e   b e t w e e n   t h e   K u b e r n e t e s   m a s t e r   a n d   t h e   n o d e s ,   m a n a g i n g   t h e   p o d s   a n d   c o n t a i n e r s   r u n n i n g   o n   a   m a c h i n e .   T h e   k u b e l e t   t r a n s l a t e s   e a c h   p o d   i n t o   i t s   c o n s t i t u e n t   c o n t a i n e r s   a n d   f e t c h e s   i n d i v i d u a l   c o n t a i n e r   u s a g e   s t a t i s t i c s   f r o m   t h e   c o n t a i n e r   r u n t i m e   t h r o u g h   t h e   c o n t a i n e r   r u n t i m e   i n t e r f a c e .   I f   y o u   u s e   a   c o n t a i n e r   r u n t i m e   t h a t   u s e s   L i n u x   c g r o u p s   a n d   n a m e s p a c e s   t o   i m p l e m e n t   c o n t a i n e r s ,   a n d   t h e   c o n t a i n e r   r u n t i m e   d o e s   n o t   p u b l i s h   u s a g e   s t a t i s t i c s ,   t h e n   t h e   k u b e l e t   c a n   l o o k   u p   t h o s e   s t a t i s t i c s   d i r e c t l y   ( u s i n g   c o d e   f r o m   c A d v i s o r ) .   N o   m a t t e r   h o w   t h o s e   s t a t i s t i c s   a r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18495"
  },
  {
    "question": "What is Full metrics pipeline?",
    "answer": "A   f u l l   m e t r i c s   p i p e l i n e   g i v e s   y o u   a c c e s s   t o   r i c h e r   m e t r i c s .   K u b e r n e t e s   c a n   r e s p o n d   t o   t h e s e   m e t r i c s   b y   a u t o m a t i c a l l y   s c a l i n g   o r   a d a p t i n g   t h e   c l u s t e r   b a s e d   o n   i t s   c u r r e n t   s t a t e ,   u s i n g   m e c h a n i s m s   s u c h   a s   t h e   H o r i z o n t a l   P o d   A u t o s c a l e r .   T h e   m o n i t o r i n g   p i p e l i n e   f e t c h e s   m e t r i c s   f r o m   t h e   k u b e l e t   a n d   t h e n   e x p o s e s   t h e m   t o   K u b e r n e t e s   v i a   a n   a d a p t e r   b y   i m p l e m e n t i n g   e i t h e r   t h e   c u s t o m . m e t r i c s . k 8 s . i o   o r   e x t e r n a l . m e t r i c s . k 8 s . i o   A P I .   K u b e r n e t e s   i s   d e s i g n e d   t o   w o r k   w i t h   O p e n M e t r i c s ,   w h i c h   i s   o n e   o f   t h e   C N C F   O b s e r v a b i l i t y   a n d   A n a l y s i s   -   M o n i t o r i n g   P r o j e c t s ,   b u i l t   u p o n   a n d   c a r e f u l l y   e x t e n d i n g   P r o m e t h e u s   e x p o s i t i o n   f o r m a t   i n   a l m o s t   1 0 0 %   b a c k w a r d s - c o m p a t i b l e   w a y s .   I f   y o u   g l a n c e   o v e r   a t   t h e   C N C F   L a n d s c a p e ,   y o u   c a n   s e e   a   n u m b e r   o f   m o n i t o r i n g   p r o j e c t s   t h a t   c a n   w o r k   w i t h   K u b e r n e t e s   b y   s c r a p i n g   m e t r i c   d a t a   a n d   u s i n g   t h a t   t o   h e l p   y o u   o b s e r v e   y o u r   c l u s t e r .   I t   i s   u p   t o   y o u   t o   s e l e c t   t h e   t o o l   o r   t o o l s   t h a t   s u i t   y o u r   n e e d s .   T h e   C N C F   l a n d s c a p e   f o r   o b s e r v a b i l i t y   a n d   a n a l y t i c s   i n c l u d e s   a   m i x   o f   o p e n - s o u r c e   s o f t w a r e ,   p a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18496"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   a d d i t i o n a l   d e b u g g i n g   t o o l s ,   i n c l u d i n g :   L o g g i n g G e t t i n g   i n t o   c o n t a i n e r s   v i a   e x e c C o n n e c t i n g   t o   c o n t a i n e r s   v i a   p r o x i e s C o n n e c t i n g   t o   c o n t a i n e r s   v i a   p o r t   f o r w a r d i n g I n s p e c t   K u b e r n e t e s   n o d e   w i t h   c r i c t l",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18497"
  },
  {
    "question": "What is 4.4.4 - Monitor Node Health?",
    "answer": "N o d e   P r o b l e m   D e t e c t o r   i s   a   d a e m o n   f o r   m o n i t o r i n g   a n d   r e p o r t i n g   a b o u t   a   n o d e ' s   h e a l t h .   Y o u   c a n   r u n   N o d e   P r o b l e m   D e t e c t o r   a s   a   D a e m o n S e t   o r   a s   a   s t a n d a l o n e   d a e m o n .   N o d e   P r o b l e m   D e t e c t o r   c o l l e c t s   i n f o r m a t i o n   a b o u t   n o d e   p r o b l e m s   f r o m   v a r i o u s   d a e m o n s   a n d   r e p o r t s   t h e s e   c o n d i t i o n s   t o   t h e   A P I   s e r v e r   a s   N o d e   C o n d i t i o n s   o r   a s   E v e n t s .   T o   l e a r n   h o w   t o   i n s t a l l   a n d   u s e   N o d e   P r o b l e m   D e t e c t o r ,   s e e   N o d e   P r o b l e m   D e t e c t o r   p r o j e c t   d o c u m e n t a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18498"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18499"
  },
  {
    "question": "What is Limitations?",
    "answer": "N o d e   P r o b l e m   D e t e c t o r   u s e s   t h e   k e r n e l   l o g   f o r m a t   f o r   r e p o r t i n g   k e r n e l   i s s u e s .   T o   l e a r n   h o w   t o   e x t e n d   t h e   k e r n e l   l o g   f o r m a t ,   s e e   A d d   s u p p o r t   f o r   a n o t h e r   l o g   f o r m a t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18500"
  },
  {
    "question": "What is Enabling Node Problem Detector?",
    "answer": "S o m e   c l o u d   p r o v i d e r s   e n a b l e   N o d e   P r o b l e m   D e t e c t o r   a s   a n   A d d o n .   Y o u   c a n   a l s o   e n a b l e   N o d e   P r o b l e m   D e t e c t o r   w i t h   k u b e c t l   o r   b y   c r e a t i n g   a n   A d d o n   D a e m o n S e t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18501"
  },
  {
    "question": "What is Using kubectl to enable Node Problem Detector?",
    "answer": "k u b e c t l   p r o v i d e s   t h e   m o s t   f l e x i b l e   m a n a g e m e n t   o f   N o d e   P r o b l e m   D e t e c t o r .   Y o u   c a n   o v e r w r i t e   t h e   d e f a u l t   c o n f i g u r a t i o n   t o   f i t   i t   i n t o   y o u r   e n v i r o n m e n t   o r   t o   d e t e c t   c u s t o m i z e d   n o d e   p r o b l e m s .   F o r   e x a m p l e :   C r e a t e   a   N o d e   P r o b l e m   D e t e c t o r   c o n f i g u r a t i o n   s i m i l a r   t o   n o d e - p r o b l e m - d e t e c t o r . y a m l : d e b u g / n o d e - p r o b l e m - d e t e c t o r . y a m l   a p i V e r s i o n :   a p p s / v 1   k i n d :   D a e m o n S e t   m e t a d a t a :   n a m e :   n o d e - p r o b l e m - d e t e c t o r - v 0 . 1   n a m e s p a c e :   k u b e - s y s t e m   l a b e l s :   k 8 s - a p p :   n o d e - p r o b l e m - d e t e c t o r   v e r s i o n :   v 0 . 1   k u b e r n e t e s . i o / c l u s t e r - s e r v i c e :   \" t r u e \"   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   k 8 s - a p p :   n o d e - p r o b l e m - d e t e c t o r   v e r s i o n :   v 0 . 1   k u b e r n e t e s . i o / c l u s t e r - s e r v i c e :   \" t r u e \"   t e m p l a t e :   m e t a d a t a :   l a b e l s :   k 8 s - a p p :   n o d e - p r o b l e m - d e t e c t o r   v e r s i o n :   v 0 . 1   k u b e r n e t e s . i o / c l u s t e r - s e r v i c e :   \" t r u e \"   s p e c :   h o s t N e t w o r k :   t r u e   c o n t a i n e r s :   -   n a m e :   n o d e - p r o b l e m - d e t e c t o r   i m a g e :   r e g i s t r y . k 8 s . i o / n o d e - p r o b l e m - d e t e c t o r : v 0 . 1   s e c u r i t y C o n t e x t :   p r i v i l e g e d :   t r u e   r e s o u r c e s :   l i m i t s :   c p u :   \" 2 0 0 m \"   m e m o r y :   \" 1 0 0 M i \"   r e q u e s t s :   c p u :   \" 2 0 m \"   m e m o r y :   \" 2 0 M i \"   v o l u m e M o u n t s :   -   n a m e :   l o g   m o u n t P a t h ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18502"
  },
  {
    "question": "What is Note:?",
    "answer": "S t a r t   n o d e   p r o b l e m   d e t e c t o r   w i t h   k u b e c t l :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d e b u g / n o d e - p r o b l e m - d e t e c t o r . y a m l",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18503"
  },
  {
    "question": "What is Using an Addon pod to enable Node Problem Detector?",
    "answer": "I f   y o u   a r e   u s i n g   a   c u s t o m   c l u s t e r   b o o t s t r a p   s o l u t i o n   a n d   d o n ' t   n e e d   t o   o v e r w r i t e   t h e   d e f a u l t   c o n f i g u r a t i o n ,   y o u   c a n   l e v e r a g e   t h e   A d d o n   p o d   t o   f u r t h e r   a u t o m a t e   t h e   d e p l o y m e n t .   C r e a t e   n o d e - p r o b l e m - d e t e c t o r . y a m l ,   a n d   s a v e   t h e   c o n f i g u r a t i o n   i n   t h e   A d d o n   p o d ' s   d i r e c t o r y   / e t c / k u b e r n e t e s / a d d o n s / n o d e - p r o b l e m - d e t e c t o r   o n   a   c o n t r o l   p l a n e   n o d e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18504"
  },
  {
    "question": "What is Overwrite the configuration?",
    "answer": "T h e   d e f a u l t   c o n f i g u r a t i o n   i s   e m b e d d e d   w h e n   b u i l d i n g   t h e   D o c k e r   i m a g e   o f   N o d e   P r o b l e m   D e t e c t o r .   H o w e v e r ,   y o u   c a n   u s e   a   C o n f i g M a p   t o   o v e r w r i t e   t h e   c o n f i g u r a t i o n :   C h a n g e   t h e   c o n f i g u r a t i o n   f i l e s   i n   c o n f i g / C r e a t e   t h e   C o n f i g M a p   n o d e - p r o b l e m - d e t e c t o r - c o n f i g : k u b e c t l   c r e a t e   c o n f i g m a p   n o d e - p r o b l e m - d e t e c t o r - c o n f i g   - - f r o m - f i l e = c o n f i g /   C h a n g e   t h e   n o d e - p r o b l e m - d e t e c t o r . y a m l   t o   u s e   t h e   C o n f i g M a p : d e b u g / n o d e - p r o b l e m - d e t e c t o r - c o n f i g m a p . y a m l   a p i V e r s i o n :   a p p s / v 1   k i n d :   D a e m o n S e t   m e t a d a t a :   n a m e :   n o d e - p r o b l e m - d e t e c t o r - v 0 . 1   n a m e s p a c e :   k u b e - s y s t e m   l a b e l s :   k 8 s - a p p :   n o d e - p r o b l e m - d e t e c t o r   v e r s i o n :   v 0 . 1   k u b e r n e t e s . i o / c l u s t e r - s e r v i c e :   \" t r u e \"   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   k 8 s - a p p :   n o d e - p r o b l e m - d e t e c t o r   v e r s i o n :   v 0 . 1   k u b e r n e t e s . i o / c l u s t e r - s e r v i c e :   \" t r u e \"   t e m p l a t e :   m e t a d a t a :   l a b e l s :   k 8 s - a p p :   n o d e - p r o b l e m - d e t e c t o r   v e r s i o n :   v 0 . 1   k u b e r n e t e s . i o / c l u s t e r - s e r v i c e :   \" t r u e \"   s p e c :   h o s t N e t w o r k :   t r u e   c o n t a i n e r s :   -   n a m e :   n o d e - p r o b l e m - d e t e c t o r   i m a g e :   r e g i s t r y . k 8 s . i o / n o d e - p r o b l e m - d e t e c t o r : v 0 . 1   s e c u r i t y C o n t e x t :   p r i v i l e g e d :   t r u e   r e s o u r c ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18505"
  },
  {
    "question": "What is Note:?",
    "answer": "O v e r w r i t i n g   a   c o n f i g u r a t i o n   i s   n o t   s u p p o r t e d   i f   a   N o d e   P r o b l e m   D e t e c t o r   r u n s   a s   a   c l u s t e r   A d d o n .   T h e   A d d o n   m a n a g e r   d o e s   n o t   s u p p o r t   C o n f i g M a p .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18506"
  },
  {
    "question": "What is Problem Daemons?",
    "answer": "A   p r o b l e m   d a e m o n   i s   a   s u b - d a e m o n   o f   t h e   N o d e   P r o b l e m   D e t e c t o r .   I t   m o n i t o r s   s p e c i f i c   k i n d s   o f   n o d e   p r o b l e m s   a n d   r e p o r t s   t h e m   t o   t h e   N o d e   P r o b l e m   D e t e c t o r .   T h e r e   a r e   s e v e r a l   t y p e s   o f   s u p p o r t e d   p r o b l e m   d a e m o n s .   A   S y s t e m L o g M o n i t o r   t y p e   o f   d a e m o n   m o n i t o r s   t h e   s y s t e m   l o g s   a n d   r e p o r t s   p r o b l e m s   a n d   m e t r i c s   a c c o r d i n g   t o   p r e d e f i n e d   r u l e s .   Y o u   c a n   c u s t o m i z e   t h e   c o n f i g u r a t i o n s   f o r   d i f f e r e n t   l o g   s o u r c e s   s u c h   a s   f i l e l o g ,   k m s g ,   k e r n e l ,   a b r t ,   a n d   s y s t e m d . A   S y s t e m S t a t s M o n i t o r   t y p e   o f   d a e m o n   c o l l e c t s   v a r i o u s   h e a l t h - r e l a t e d   s y s t e m   s t a t s   a s   m e t r i c s .   Y o u   c a n   c u s t o m i z e   i t s   b e h a v i o r   b y   u p d a t i n g   i t s   c o n f i g u r a t i o n   f i l e . A   C u s t o m P l u g i n M o n i t o r   t y p e   o f   d a e m o n   i n v o k e s   a n d   c h e c k s   v a r i o u s   n o d e   p r o b l e m s   b y   r u n n i n g   u s e r - d e f i n e d   s c r i p t s .   Y o u   c a n   u s e   d i f f e r e n t   c u s t o m   p l u g i n   m o n i t o r s   t o   m o n i t o r   d i f f e r e n t   p r o b l e m s   a n d   c u s t o m i z e   t h e   d a e m o n   b e h a v i o r   b y   u p d a t i n g   t h e   c o n f i g u r a t i o n   f i l e . A   H e a l t h C h e c k e r   t y p e   o f   d a e m o n   c h e c k s   t h e   h e a l t h   o f   t h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e   o n   a   n o d e .   A   S y s t e m L o g M o n i t o r   t y p e   o f   d a e m o n   m o n i t o r s   t h e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18507"
  },
  {
    "question": "What is Adding support for other log format?",
    "answer": "T h e   s y s t e m   l o g   m o n i t o r   c u r r e n t l y   s u p p o r t s   f i l e - b a s e d   l o g s ,   j o u r n a l d ,   a n d   k m s g .   A d d i t i o n a l   s o u r c e s   c a n   b e   a d d e d   b y   i m p l e m e n t i n g   a   n e w   l o g   w a t c h e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18508"
  },
  {
    "question": "What is Adding custom plugin monitors?",
    "answer": "Y o u   c a n   e x t e n d   t h e   N o d e   P r o b l e m   D e t e c t o r   t o   e x e c u t e   a n y   m o n i t o r   s c r i p t s   w r i t t e n   i n   a n y   l a n g u a g e   b y   d e v e l o p i n g   a   c u s t o m   p l u g i n .   T h e   m o n i t o r   s c r i p t s   m u s t   c o n f o r m   t o   t h e   p l u g i n   p r o t o c o l   i n   e x i t   c o d e   a n d   s t a n d a r d   o u t p u t .   F o r   m o r e   i n f o r m a t i o n ,   p l e a s e   r e f e r   t o   t h e   p l u g i n   i n t e r f a c e   p r o p o s a l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18509"
  },
  {
    "question": "What is Exporter?",
    "answer": "A n   e x p o r t e r   r e p o r t s   t h e   n o d e   p r o b l e m s   a n d / o r   m e t r i c s   t o   c e r t a i n   b a c k e n d s .   T h e   f o l l o w i n g   e x p o r t e r s   a r e   s u p p o r t e d :   K u b e r n e t e s   e x p o r t e r :   t h i s   e x p o r t e r   r e p o r t s   n o d e   p r o b l e m s   t o   t h e   K u b e r n e t e s   A P I   s e r v e r .   T e m p o r a r y   p r o b l e m s   a r e   r e p o r t e d   a s   E v e n t s   a n d   p e r m a n e n t   p r o b l e m s   a r e   r e p o r t e d   a s   N o d e   C o n d i t i o n s . P r o m e t h e u s   e x p o r t e r :   t h i s   e x p o r t e r   r e p o r t s   n o d e   p r o b l e m s   a n d   m e t r i c s   l o c a l l y   a s   P r o m e t h e u s   ( o r   O p e n M e t r i c s )   m e t r i c s .   Y o u   c a n   s p e c i f y   t h e   I P   a d d r e s s   a n d   p o r t   f o r   t h e   e x p o r t e r   u s i n g   c o m m a n d   l i n e   a r g u m e n t s . S t a c k d r i v e r   e x p o r t e r :   t h i s   e x p o r t e r   r e p o r t s   n o d e   p r o b l e m s   a n d   m e t r i c s   t o   t h e   S t a c k d r i v e r   M o n i t o r i n g   A P I .   T h e   e x p o r t i n g   b e h a v i o r   c a n   b e   c u s t o m i z e d   u s i n g   a   c o n f i g u r a t i o n   f i l e .   K u b e r n e t e s   e x p o r t e r :   t h i s   e x p o r t e r   r e p o r t s   n o d e   p r o b l e m s   t o   t h e   K u b e r n e t e s   A P I   s e r v e r .   T e m p o r a r y   p r o b l e m s   a r e   r e p o r t e d   a s   E v e n t s   a n d   p e r m a n e n t   p r o b l e m s   a r e   r e p o r t e d   a s   N o d e   C o n d i t i o n s .   P r o m e t h e u s   e x p o r t e r :   t h i s   e x p o r t e r   r e p o r t s   n o d e   p r o b l e m s   a n d   m e t r i c s   l o c a l l y   a s   P r o m e t h e u s   ( o r   O p e n M e t r i c s )   m e t r i c s .   Y o u   c a n   s p e c i f y   t h e   I P   a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18510"
  },
  {
    "question": "What is Recommendations and restrictions?",
    "answer": "I t   i s   r e c o m m e n d e d   t o   r u n   t h e   N o d e   P r o b l e m   D e t e c t o r   i n   y o u r   c l u s t e r   t o   m o n i t o r   n o d e   h e a l t h .   W h e n   r u n n i n g   t h e   N o d e   P r o b l e m   D e t e c t o r ,   y o u   c a n   e x p e c t   e x t r a   r e s o u r c e   o v e r h e a d   o n   e a c h   n o d e .   U s u a l l y   t h i s   i s   f i n e ,   b e c a u s e :   T h e   k e r n e l   l o g   g r o w s   r e l a t i v e l y   s l o w l y . A   r e s o u r c e   l i m i t   i s   s e t   f o r   t h e   N o d e   P r o b l e m   D e t e c t o r . E v e n   u n d e r   h i g h   l o a d ,   t h e   r e s o u r c e   u s a g e   i s   a c c e p t a b l e .   F o r   m o r e   i n f o r m a t i o n ,   s e e   t h e   N o d e   P r o b l e m   D e t e c t o r   b e n c h m a r k   r e s u l t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18511"
  },
  {
    "question": "What is 4.4.5 - Debugging Kubernetes nodes with crictl?",
    "answer": "c r i c t l   i s   a   c o m m a n d - l i n e   i n t e r f a c e   f o r   C R I - c o m p a t i b l e   c o n t a i n e r   r u n t i m e s .   Y o u   c a n   u s e   i t   t o   i n s p e c t   a n d   d e b u g   c o n t a i n e r   r u n t i m e s   a n d   a p p l i c a t i o n s   o n   a   K u b e r n e t e s   n o d e .   c r i c t l   a n d   i t s   s o u r c e   a r e   h o s t e d   i n   t h e   c r i - t o o l s   r e p o s i t o r y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18512"
  },
  {
    "question": "What is Before you begin?",
    "answer": "c r i c t l   r e q u i r e s   a   L i n u x   o p e r a t i n g   s y s t e m   w i t h   a   C R I   r u n t i m e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18513"
  },
  {
    "question": "What is Installing crictl?",
    "answer": "Y o u   c a n   d o w n l o a d   a   c o m p r e s s e d   a r c h i v e   c r i c t l   f r o m   t h e   c r i - t o o l s   r e l e a s e   p a g e ,   f o r   s e v e r a l   d i f f e r e n t   a r c h i t e c t u r e s .   D o w n l o a d   t h e   v e r s i o n   t h a t   c o r r e s p o n d s   t o   y o u r   v e r s i o n   o f   K u b e r n e t e s .   E x t r a c t   i t   a n d   m o v e   i t   t o   a   l o c a t i o n   o n   y o u r   s y s t e m   p a t h ,   s u c h   a s   / u s r / l o c a l / b i n / .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18514"
  },
  {
    "question": "What is General usage?",
    "answer": "T h e   c r i c t l   c o m m a n d   h a s   s e v e r a l   s u b c o m m a n d s   a n d   r u n t i m e   f l a g s .   U s e   c r i c t l   h e l p   o r   c r i c t l   < s u b c o m m a n d >   h e l p   f o r   m o r e   d e t a i l s .   Y o u   c a n   s e t   t h e   e n d p o i n t   f o r   c r i c t l   b y   d o i n g   o n e   o f   t h e   f o l l o w i n g :   S e t   t h e   - - r u n t i m e - e n d p o i n t   a n d   - - i m a g e - e n d p o i n t   f l a g s . S e t   t h e   C O N T A I N E R _ R U N T I M E _ E N D P O I N T   a n d   I M A G E _ S E R V I C E _ E N D P O I N T   e n v i r o n m e n t   v a r i a b l e s . S e t   t h e   e n d p o i n t   i n   t h e   c o n f i g u r a t i o n   f i l e   / e t c / c r i c t l . y a m l .   T o   s p e c i f y   a   d i f f e r e n t   f i l e ,   u s e   t h e   - - c o n f i g = P A T H _ T O _ F I L E   f l a g   w h e n   y o u   r u n   c r i c t l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18515"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   a l s o   s p e c i f y   t i m e o u t   v a l u e s   w h e n   c o n n e c t i n g   t o   t h e   s e r v e r   a n d   e n a b l e   o r   d i s a b l e   d e b u g g i n g ,   b y   s p e c i f y i n g   t i m e o u t   o r   d e b u g   v a l u e s   i n   t h e   c o n f i g u r a t i o n   f i l e   o r   u s i n g   t h e   - - t i m e o u t   a n d   - - d e b u g   c o m m a n d - l i n e   f l a g s .   T o   v i e w   o r   e d i t   t h e   c u r r e n t   c o n f i g u r a t i o n ,   v i e w   o r   e d i t   t h e   c o n t e n t s   o f   / e t c / c r i c t l . y a m l .   F o r   e x a m p l e ,   t h e   c o n f i g u r a t i o n   w h e n   u s i n g   t h e   c o n t a i n e r d   c o n t a i n e r   r u n t i m e   w o u l d   b e   s i m i l a r   t o   t h i s :   r u n t i m e - e n d p o i n t :   u n i x : / / / v a r / r u n / c o n t a i n e r d / c o n t a i n e r d . s o c k   i m a g e - e n d p o i n t :   u n i x : / / / v a r / r u n / c o n t a i n e r d / c o n t a i n e r d . s o c k   t i m e o u t :   1 0   d e b u g :   t r u e   T o   l e a r n   m o r e   a b o u t   c r i c t l ,   r e f e r   t o   t h e   c r i c t l   d o c u m e n t a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18516"
  },
  {
    "question": "What is Example crictl commands?",
    "answer": "T h e   f o l l o w i n g   e x a m p l e s   s h o w   s o m e   c r i c t l   c o m m a n d s   a n d   e x a m p l e   o u t p u t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18517"
  },
  {
    "question": "What is List pods?",
    "answer": "L i s t   a l l   p o d s :   c r i c t l   p o d s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   P O D   I D   C R E A T E D   S T A T E   N A M E   N A M E S P A C E   A T T E M P T   9 2 6 f 1 b 5 a 1 d 3 3 a   A b o u t   a   m i n u t e   a g o   R e a d y   s h - 8 4 d 7 d c f 5 5 9 - 4 r 2 g q   d e f a u l t   0   4 d c c b 2 1 6 c 4 a d b   A b o u t   a   m i n u t e   a g o   R e a d y   n g i n x - 6 5 8 9 9 c 7 6 9 f - w v 2 g p   d e f a u l t   0   a 8 6 3 1 6 e 9 6 f a 8 9   1 7   h o u r s   a g o   R e a d y   k u b e - p r o x y - g b l k 4   k u b e - s y s t e m   0   9 1 9 6 3 0 b 8 f 8 1 f 1   1 7   h o u r s   a g o   R e a d y   n v i d i a - d e v i c e - p l u g i n - z g b b v   k u b e - s y s t e m   0   L i s t   p o d s   b y   n a m e :   c r i c t l   p o d s   - - n a m e   n g i n x - 6 5 8 9 9 c 7 6 9 f - w v 2 g p   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   P O D   I D   C R E A T E D   S T A T E   N A M E   N A M E S P A C E   A T T E M P T   4 d c c b 2 1 6 c 4 a d b   2   m i n u t e s   a g o   R e a d y   n g i n x - 6 5 8 9 9 c 7 6 9 f - w v 2 g p   d e f a u l t   0   L i s t   p o d s   b y   l a b e l :   c r i c t l   p o d s   - - l a b e l   r u n = n g i n x   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   P O D   I D   C R E A T E D   S T A T E   N A M E   N A M E S P A C E   A T T E M P T   4 d c c b 2 1 6 c 4 a d b   2   m i n u t e s   a g o   R e a d y   n g i n x - 6 5 8 9 9 c 7 6 9 f - w v 2 g p   d e f a u l t   0",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18518"
  },
  {
    "question": "What is List images?",
    "answer": "L i s t   a l l   i m a g e s :   c r i c t l   i m a g e s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   I M A G E   T A G   I M A G E   I D   S I Z E   b u s y b o x   l a t e s t   8 c 8 1 1 b 4 a e c 3 5 f   1 . 1 5 M B   k 8 s - g c r i o . a z u r e e d g e . n e t / h y p e r k u b e - a m d 6 4   v 1 . 1 0 . 3   e 1 7 9 b b f e 5 d 2 3 8   6 6 5 M B   k 8 s - g c r i o . a z u r e e d g e . n e t / p a u s e - a m d 6 4   3 . 1   d a 8 6 e 6 b a 6 c a 1 9   7 4 2 k B   n g i n x   l a t e s t   c d 5 2 3 9 a 0 9 0 6 a 6   1 0 9 M B   L i s t   i m a g e s   b y   r e p o s i t o r y :   c r i c t l   i m a g e s   n g i n x   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   I M A G E   T A G   I M A G E   I D   S I Z E   n g i n x   l a t e s t   c d 5 2 3 9 a 0 9 0 6 a 6   1 0 9 M B   O n l y   l i s t   i m a g e   I D s :   c r i c t l   i m a g e s   - q   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   s h a 2 5 6 : 8 c 8 1 1 b 4 a e c 3 5 f 2 5 9 5 7 2 d 0 f 7 9 2 0 7 b c 0 6 7 8 d f 4 c 7 3 6 e e e c 5 0 b c 9 f e c 3 7 e d 9 3 6 a 4 7 2 a   s h a 2 5 6 : e 1 7 9 b b f e 5 d 2 3 8 d e 6 0 6 9 f 3 b 0 3 f c c b e c c 3 f b 4 f 2 0 1 9 a f 7 4 1 b f f f 1 2 3 3 c 4 d 7 b 2 9 7 0 c 5   s h a 2 5 6 : d a 8 6 e 6 b a 6 c a 1 9 7 b f 6 b c 5 e 9 d 9 0 0 f e b d 9 0 6 b 1 3 3 e a a 4 7 5 0 e 6 b e d 6 4 7 b 0 f b e 5 0 e d 4 3 e   s h a 2 5 6 : c d 5 2 3 9 a 0 9 0 6 a 6 c c f 0 5 6 2 3 5 4 8 5 2 f a e 0 4 b c 5 b 5 2 d 7 2 a 2 a f f 9 a 8 7 1 d d b 6 b d 5 7 5 5 3 5 6 9",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18519"
  },
  {
    "question": "What is List containers?",
    "answer": "L i s t   a l l   c o n t a i n e r s :   c r i c t l   p s   - a   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   C O N T A I N E R   I D   I M A G E   C R E A T E D   S T A T E   N A M E   A T T E M P T   1 f 7 3 f 2 d 8 1 b f 9 8   b u s y b o x @ s h a 2 5 6 : 1 4 1 c 2 5 3 b c 4 c 3 f d 0 a 2 0 1 d 3 2 d c 1 f 4 9 3 b c f 3 f f f 0 0 3 b 6 d f 4 1 6 d e a 4 f 4 1 0 4 6 e 0 f 3 7 d 4 7   7   m i n u t e s   a g o   R u n n i n g   s h   1   9 c 5 9 5 1 d f 2 2 c 7 8   b u s y b o x @ s h a 2 5 6 : 1 4 1 c 2 5 3 b c 4 c 3 f d 0 a 2 0 1 d 3 2 d c 1 f 4 9 3 b c f 3 f f f 0 0 3 b 6 d f 4 1 6 d e a 4 f 4 1 0 4 6 e 0 f 3 7 d 4 7   8   m i n u t e s   a g o   E x i t e d   s h   0   8 7 d 3 9 9 2 f 8 4 f 7 4   n g i n x @ s h a 2 5 6 : d 0 a 8 8 2 8 c c c b 7 3 3 9 7 a c b 0 0 7 3 b f 3 4 f 4 d 7 d 8 a a 3 1 5 2 6 3 f 1 e 7 8 0 6 b f 8 c 5 5 d 8 a c 1 3 9 d 5 f   8   m i n u t e s   a g o   R u n n i n g   n g i n x   0   1 9 4 1 f b 4 d a 1 5 4 f   k 8 s - g c r i o . a z u r e e d g e . n e t / h y p e r k u b e - a m d 6 4 @ s h a 2 5 6 : 0 0 d 8 1 4 b 1 f 7 7 6 3 f 4 a b 5 b e 8 0 c 5 8 e 9 8 1 4 0 d f c 6 9 d f 1 0 7 f 2 5 3 d 7 f d d 7 1 4 b 3 0 a 7 1 4 2 6 0 a   1 8   h o u r s   a g o   R u n n i n g   k u b e - p r o x y   0   L i s t   r u n n i n g   c o n t a i n e r s :   c r i c t l   p s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   C O N T A I N E R   I D   I M A G E   C R E A T E D   S T A T E   N A M E   A T T E M P T   1 f 7 3 f 2 d 8 1 b f 9 8   b u s y b o x @ s h a 2 5 6 : 1 4 1 c 2 5 3 b c 4 c 3 f d 0 a 2 0 1 d 3 2 d c 1 f 4 9 3 b c f 3 f f f 0 0 3 b 6 d f 4 1 6 d e a 4 f 4 1 0 4 6 e 0 f 3 7 d 4 7   6   m i n u t e s   a g o   R u n n i n g   s h   1   8 7 d 3 9 9 2 f 8 4 f 7 4   n g i n x @ s h a 2 5 6 : d 0 a 8 8 2 8 c c c b 7 3 3 9 7 a c b 0 0 7 3 b f 3 4 f 4 d 7 d 8 a a 3 1 5 2 6 3 f 1 e 7 8 0 6 b f 8 c 5 5 d 8 a c 1 3 9 d 5 f   7   m i n u t e s   a g o   R u n n i n g   n g i n x   0   1 9 4 1 f b 4 d a 1 5 ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18520"
  },
  {
    "question": "What is Execute a command in a running container?",
    "answer": "c r i c t l   e x e c   - i   - t   1 f 7 3 f 2 d 8 1 b f 9 8   l s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   b i n   d e v   e t c   h o m e   p r o c   r o o t   s y s   t m p   u s r   v a r",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18521"
  },
  {
    "question": "What is Get a container's logs?",
    "answer": "G e t   a l l   c o n t a i n e r   l o g s :   c r i c t l   l o g s   8 7 d 3 9 9 2 f 8 4 f 7 4   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   1 0 . 2 4 0 . 0 . 9 6   -   -   [ 0 6 / J u n / 2 0 1 8 : 0 2 : 4 5 : 4 9   + 0 0 0 0 ]   \" G E T   /   H T T P / 1 . 1 \"   2 0 0   6 1 2   \" - \"   \" c u r l / 7 . 4 7 . 0 \"   \" - \"   1 0 . 2 4 0 . 0 . 9 6   -   -   [ 0 6 / J u n / 2 0 1 8 : 0 2 : 4 5 : 5 0   + 0 0 0 0 ]   \" G E T   /   H T T P / 1 . 1 \"   2 0 0   6 1 2   \" - \"   \" c u r l / 7 . 4 7 . 0 \"   \" - \"   1 0 . 2 4 0 . 0 . 9 6   -   -   [ 0 6 / J u n / 2 0 1 8 : 0 2 : 4 5 : 5 1   + 0 0 0 0 ]   \" G E T   /   H T T P / 1 . 1 \"   2 0 0   6 1 2   \" - \"   \" c u r l / 7 . 4 7 . 0 \"   \" - \"   G e t   o n l y   t h e   l a t e s t   N   l i n e s   o f   l o g s :   c r i c t l   l o g s   - - t a i l = 1   8 7 d 3 9 9 2 f 8 4 f 7 4   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   1 0 . 2 4 0 . 0 . 9 6   -   -   [ 0 6 / J u n / 2 0 1 8 : 0 2 : 4 5 : 5 1   + 0 0 0 0 ]   \" G E T   /   H T T P / 1 . 1 \"   2 0 0   6 1 2   \" - \"   \" c u r l / 7 . 4 7 . 0 \"   \" - \"",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18522"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   c r i c t l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18523"
  },
  {
    "question": "What is 4.4.6 - Auditing?",
    "answer": "K u b e r n e t e s   a u d i t i n g   p r o v i d e s   a   s e c u r i t y - r e l e v a n t ,   c h r o n o l o g i c a l   s e t   o f   r e c o r d s   d o c u m e n t i n g   t h e   s e q u e n c e   o f   a c t i o n s   i n   a   c l u s t e r .   T h e   c l u s t e r   a u d i t s   t h e   a c t i v i t i e s   g e n e r a t e d   b y   u s e r s ,   b y   a p p l i c a t i o n s   t h a t   u s e   t h e   K u b e r n e t e s   A P I ,   a n d   b y   t h e   c o n t r o l   p l a n e   i t s e l f .   A u d i t i n g   a l l o w s   c l u s t e r   a d m i n i s t r a t o r s   t o   a n s w e r   t h e   f o l l o w i n g   q u e s t i o n s :   w h a t   h a p p e n e d ? w h e n   d i d   i t   h a p p e n ? w h o   i n i t i a t e d   i t ? o n   w h a t   d i d   i t   h a p p e n ? w h e r e   w a s   i t   o b s e r v e d ? f r o m   w h e r e   w a s   i t   i n i t i a t e d ? t o   w h e r e   w a s   i t   g o i n g ?   A u d i t   r e c o r d s   b e g i n   t h e i r   l i f e c y c l e   i n s i d e   t h e   k u b e - a p i s e r v e r   c o m p o n e n t .   E a c h   r e q u e s t   o n   e a c h   s t a g e   o f   i t s   e x e c u t i o n   g e n e r a t e s   a n   a u d i t   e v e n t ,   w h i c h   i s   t h e n   p r e - p r o c e s s e d   a c c o r d i n g   t o   a   c e r t a i n   p o l i c y   a n d   w r i t t e n   t o   a   b a c k e n d .   T h e   p o l i c y   d e t e r m i n e s   w h a t ' s   r e c o r d e d   a n d   t h e   b a c k e n d s   p e r s i s t   t h e   r e c o r d s .   T h e   c u r r e n t   b a c k e n d   i m p l e m e n t a t i o n s   i n c l u d e   l o g s   f i l e s   a n d   w e b h o o k s .   E a c h   r e q u e s t   c a n   b e   r e c o r d e d   w i t h   a n   a s s o c i a t e d   s t a g e .   T h e   d e f i n e d   s t a g e s   a r e :   R e q u e s t R e c e i v e d   -   T h e   s t a g e   f o r   e v e n t s   g e n e r a t e d   a s   s o o n   a s   t h e   a u d i t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18524"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   a u d i t   l o g g i n g   f e a t u r e   i n c r e a s e s   t h e   m e m o r y   c o n s u m p t i o n   o f   t h e   A P I   s e r v e r   b e c a u s e   s o m e   c o n t e x t   r e q u i r e d   f o r   a u d i t i n g   i s   s t o r e d   f o r   e a c h   r e q u e s t .   M e m o r y   c o n s u m p t i o n   d e p e n d s   o n   t h e   a u d i t   l o g g i n g   c o n f i g u r a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18525"
  },
  {
    "question": "What is Audit policy?",
    "answer": "A u d i t   p o l i c y   d e f i n e s   r u l e s   a b o u t   w h a t   e v e n t s   s h o u l d   b e   r e c o r d e d   a n d   w h a t   d a t a   t h e y   s h o u l d   i n c l u d e .   T h e   a u d i t   p o l i c y   o b j e c t   s t r u c t u r e   i s   d e f i n e d   i n   t h e   a u d i t . k 8 s . i o   A P I   g r o u p .   W h e n   a n   e v e n t   i s   p r o c e s s e d ,   i t ' s   c o m p a r e d   a g a i n s t   t h e   l i s t   o f   r u l e s   i n   o r d e r .   T h e   f i r s t   m a t c h i n g   r u l e   s e t s   t h e   a u d i t   l e v e l   o f   t h e   e v e n t .   T h e   d e f i n e d   a u d i t   l e v e l s   a r e :   N o n e   -   d o n ' t   l o g   e v e n t s   t h a t   m a t c h   t h i s   r u l e . M e t a d a t a   -   l o g   e v e n t s   w i t h   m e t a d a t a   ( r e q u e s t i n g   u s e r ,   t i m e s t a m p ,   r e s o u r c e ,   v e r b ,   e t c . )   b u t   n o t   r e q u e s t   o r   r e s p o n s e   b o d y . R e q u e s t   -   l o g   e v e n t s   w i t h   r e q u e s t   m e t a d a t a   a n d   b o d y   b u t   n o t   r e s p o n s e   b o d y .   T h i s   d o e s   n o t   a p p l y   f o r   n o n - r e s o u r c e   r e q u e s t s . R e q u e s t R e s p o n s e   -   l o g   e v e n t s   w i t h   r e q u e s t   m e t a d a t a ,   r e q u e s t   b o d y   a n d   r e s p o n s e   b o d y .   T h i s   d o e s   n o t   a p p l y   f o r   n o n - r e s o u r c e   r e q u e s t s .   Y o u   c a n   p a s s   a   f i l e   w i t h   t h e   p o l i c y   t o   k u b e - a p i s e r v e r   u s i n g   t h e   - - a u d i t - p o l i c y - f i l e   f l a g .   I f   t h e   f l a g   i s   o m i t t e d ,   n o   e v e n t s   a r e   l o g g e d .   N o t e   t h a t   t h e   r u l e s   f i e l d   m u s t   b e   p r o v i d e d   i n   t h e   a u d i t   p o l i c y   f i l e .   A   p o l i c y   w i t h   n o   ( 0 )   r u l e s   i s   t r e a t e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18526"
  },
  {
    "question": "What is Audit backends?",
    "answer": "A u d i t   b a c k e n d s   p e r s i s t   a u d i t   e v e n t s   t o   a n   e x t e r n a l   s t o r a g e .   O u t   o f   t h e   b o x ,   t h e   k u b e - a p i s e r v e r   p r o v i d e s   t w o   b a c k e n d s :   L o g   b a c k e n d ,   w h i c h   w r i t e s   e v e n t s   i n t o   t h e   f i l e s y s t e m W e b h o o k   b a c k e n d ,   w h i c h   s e n d s   e v e n t s   t o   a n   e x t e r n a l   H T T P   A P I   I n   a l l   c a s e s ,   a u d i t   e v e n t s   f o l l o w   a   s t r u c t u r e   d e f i n e d   b y   t h e   K u b e r n e t e s   A P I   i n   t h e   a u d i t . k 8 s . i o   A P I   g r o u p .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18527"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   c a s e   o f   p a t c h e s ,   r e q u e s t   b o d y   i s   a   J S O N   a r r a y   w i t h   p a t c h   o p e r a t i o n s ,   n o t   a   J S O N   o b j e c t   w i t h   a n   a p p r o p r i a t e   K u b e r n e t e s   A P I   o b j e c t .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   r e q u e s t   b o d y   i s   a   v a l i d   p a t c h   r e q u e s t   t o   / a p i s / b a t c h / v 1 / n a m e s p a c e s / s o m e - n a m e s p a c e / j o b s / s o m e - j o b - n a m e :   [   {   \" o p \" :   \" r e p l a c e \" ,   \" p a t h \" :   \" / s p e c / p a r a l l e l i s m \" ,   \" v a l u e \" :   0   } ,   {   \" o p \" :   \" r e m o v e \" ,   \" p a t h \" :   \" / s p e c / t e m p l a t e / s p e c / c o n t a i n e r s / 0 / t e r m i n a t i o n M e s s a g e P o l i c y \"   }   ]",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18528"
  },
  {
    "question": "What is Log backend?",
    "answer": "T h e   l o g   b a c k e n d   w r i t e s   a u d i t   e v e n t s   t o   a   f i l e   i n   J S O N l i n e s   f o r m a t .   Y o u   c a n   c o n f i g u r e   t h e   l o g   a u d i t   b a c k e n d   u s i n g   t h e   f o l l o w i n g   k u b e - a p i s e r v e r   f l a g s :   - - a u d i t - l o g - p a t h   s p e c i f i e s   t h e   l o g   f i l e   p a t h   t h a t   l o g   b a c k e n d   u s e s   t o   w r i t e   a u d i t   e v e n t s .   N o t   s p e c i f y i n g   t h i s   f l a g   d i s a b l e s   l o g   b a c k e n d .   -   m e a n s   s t a n d a r d   o u t - - a u d i t - l o g - m a x a g e   d e f i n e d   t h e   m a x i m u m   n u m b e r   o f   d a y s   t o   r e t a i n   o l d   a u d i t   l o g   f i l e s - - a u d i t - l o g - m a x b a c k u p   d e f i n e s   t h e   m a x i m u m   n u m b e r   o f   a u d i t   l o g   f i l e s   t o   r e t a i n - - a u d i t - l o g - m a x s i z e   d e f i n e s   t h e   m a x i m u m   s i z e   i n   m e g a b y t e s   o f   t h e   a u d i t   l o g   f i l e   b e f o r e   i t   g e t s   r o t a t e d   I f   y o u r   c l u s t e r ' s   c o n t r o l   p l a n e   r u n s   t h e   k u b e - a p i s e r v e r   a s   a   P o d ,   r e m e m b e r   t o   m o u n t   t h e   h o s t P a t h   t o   t h e   l o c a t i o n   o f   t h e   p o l i c y   f i l e   a n d   l o g   f i l e ,   s o   t h a t   a u d i t   r e c o r d s   a r e   p e r s i s t e d .   F o r   e x a m p l e :   -   - - a u d i t - p o l i c y - f i l e = / e t c / k u b e r n e t e s / a u d i t - p o l i c y . y a m l   -   - - a u d i t - l o g - p a t h = / v a r / l o g / k u b e r n e t e s / a u d i t / a u d i t . l o g   t h e n   m o u n t   t h e   v o l u m e s :   . . .   v o l u m e M o u n t s :   -   m o u n t P a t h :   / e t c / k u b e r n e t e s / a u d i t - p o l i c y . y a m l   n a m e :   a u d i t   r e a d O n l y :   t r u e   -   m o u n t P ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18529"
  },
  {
    "question": "What is Webhook backend?",
    "answer": "T h e   w e b h o o k   a u d i t   b a c k e n d   s e n d s   a u d i t   e v e n t s   t o   a   r e m o t e   w e b   A P I ,   w h i c h   i s   a s s u m e d   t o   b e   a   f o r m   o f   t h e   K u b e r n e t e s   A P I ,   i n c l u d i n g   m e a n s   o f   a u t h e n t i c a t i o n .   Y o u   c a n   c o n f i g u r e   a   w e b h o o k   a u d i t   b a c k e n d   u s i n g   t h e   f o l l o w i n g   k u b e - a p i s e r v e r   f l a g s :   - - a u d i t - w e b h o o k - c o n f i g - f i l e   s p e c i f i e s   t h e   p a t h   t o   a   f i l e   w i t h   a   w e b h o o k   c o n f i g u r a t i o n .   T h e   w e b h o o k   c o n f i g u r a t i o n   i s   e f f e c t i v e l y   a   s p e c i a l i z e d   k u b e c o n f i g . - - a u d i t - w e b h o o k - i n i t i a l - b a c k o f f   s p e c i f i e s   t h e   a m o u n t   o f   t i m e   t o   w a i t   a f t e r   t h e   f i r s t   f a i l e d   r e q u e s t   b e f o r e   r e t r y i n g .   S u b s e q u e n t   r e q u e s t s   a r e   r e t r i e d   w i t h   e x p o n e n t i a l   b a c k o f f .   T h e   w e b h o o k   c o n f i g   f i l e   u s e s   t h e   k u b e c o n f i g   f o r m a t   t o   s p e c i f y   t h e   r e m o t e   a d d r e s s   o f   t h e   s e r v i c e   a n d   c r e d e n t i a l s   u s e d   t o   c o n n e c t   t o   i t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18530"
  },
  {
    "question": "What is Event batching?",
    "answer": "B o t h   l o g   a n d   w e b h o o k   b a c k e n d s   s u p p o r t   b a t c h i n g .   B e l o w   i s   a   l i s t   o f   a v a i l a b l e   f l a g s   s p e c i f i c   t o   e a c h   b a c k e n d .   B y   d e f a u l t ,   b a t c h i n g   a n d   t h r o t t l i n g   a r e   e n a b l e d   f o r   t h e   w e b h o o k   b a c k e n d   a n d   d i s a b l e d   f o r   t h e   l o g   b a c k e n d .   - - a u d i t - w e b h o o k - m o d e   d e f i n e s   t h e   b u f f e r i n g   s t r a t e g y .   O n e   o f   t h e   f o l l o w i n g : b a t c h   -   b u f f e r   e v e n t s   a n d   a s y n c h r o n o u s l y   p r o c e s s   t h e m   i n   b a t c h e s .   T h i s   i s   t h e   d e f a u l t   m o d e   f o r   t h e   w e b h o o k   b a c k e n d . b l o c k i n g   -   b l o c k   A P I   s e r v e r   r e s p o n s e s   o n   p r o c e s s i n g   e a c h   i n d i v i d u a l   e v e n t . b l o c k i n g - s t r i c t   -   S a m e   a s   b l o c k i n g ,   b u t   w h e n   t h e r e   i s   a   f a i l u r e   d u r i n g   a u d i t   l o g g i n g   a t   t h e   R e q u e s t R e c e i v e d   s t a g e ,   t h e   w h o l e   r e q u e s t   t o   t h e   k u b e - a p i s e r v e r   f a i l s . T h e   f o l l o w i n g   f l a g s   a r e   u s e d   o n l y   i n   t h e   b a t c h   m o d e : - - a u d i t - w e b h o o k - b a t c h - b u f f e r - s i z e   d e f i n e s   t h e   n u m b e r   o f   e v e n t s   t o   b u f f e r   b e f o r e   b a t c h i n g .   I f   t h e   r a t e   o f   i n c o m i n g   e v e n t s   o v e r f l o w s   t h e   b u f f e r ,   e v e n t s   a r e   d r o p p e d .   T h e   d e f a u l t   v a l u e   i s   1 0 0 0 0 . - - a u d i t - w e b h o o k - b a t c h - m a x - s i z e   d e f i n e s   t h e   m a x i m u m   n u m b e r   o f   e v e n t s   i n   o n e   b a t c h .   T h e   d e f a u l t   v a l u e   i s   4 0 0 . - - a u d i t - w e b h ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18531"
  },
  {
    "question": "What is Parameter tuning?",
    "answer": "P a r a m e t e r s   s h o u l d   b e   s e t   t o   a c c o m m o d a t e   t h e   l o a d   o n   t h e   A P I   s e r v e r .   F o r   e x a m p l e ,   i f   k u b e - a p i s e r v e r   r e c e i v e s   1 0 0   r e q u e s t s   e a c h   s e c o n d ,   a n d   e a c h   r e q u e s t   i s   a u d i t e d   o n l y   o n   R e s p o n s e S t a r t e d   a n d   R e s p o n s e C o m p l e t e   s t a g e s ,   y o u   s h o u l d   a c c o u n t   f o r   ≅ 2 0 0   a u d i t   e v e n t s   b e i n g   g e n e r a t e d   e a c h   s e c o n d .   A s s u m i n g   t h a t   t h e r e   a r e   u p   t o   1 0 0   e v e n t s   i n   a   b a t c h ,   y o u   s h o u l d   s e t   t h r o t t l i n g   l e v e l   a t   l e a s t   2   q u e r i e s   p e r   s e c o n d .   A s s u m i n g   t h a t   t h e   b a c k e n d   c a n   t a k e   u p   t o   5   s e c o n d s   t o   w r i t e   e v e n t s ,   y o u   s h o u l d   s e t   t h e   b u f f e r   s i z e   t o   h o l d   u p   t o   5   s e c o n d s   o f   e v e n t s ;   t h a t   i s :   1 0   b a t c h e s ,   o r   1 0 0 0   e v e n t s .   I n   m o s t   c a s e s   h o w e v e r ,   t h e   d e f a u l t   p a r a m e t e r s   s h o u l d   b e   s u f f i c i e n t   a n d   y o u   d o n ' t   h a v e   t o   w o r r y   a b o u t   s e t t i n g   t h e m   m a n u a l l y .   Y o u   c a n   l o o k   a t   t h e   f o l l o w i n g   P r o m e t h e u s   m e t r i c s   e x p o s e d   b y   k u b e - a p i s e r v e r   a n d   i n   t h e   l o g s   t o   m o n i t o r   t h e   s t a t e   o f   t h e   a u d i t i n g   s u b s y s t e m .   a p i s e r v e r _ a u d i t _ e v e n t _ t o t a l   m e t r i c   c o n t a i n s   t h e   t o t a l   n u m b e r   o f   a u d i t   e v e n t s   e x p o r t e d . a p i s e r v e r _ a u d i t _ e r r o r _ t o t a l   m e t r i c   c o n t a i n s   t h e   t o t a l   n u m b e r   o f   e v e n t s   d r o p p e d   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18532"
  },
  {
    "question": "What is Log entry truncation?",
    "answer": "B o t h   l o g   a n d   w e b h o o k   b a c k e n d s   s u p p o r t   l i m i t i n g   t h e   s i z e   o f   e v e n t s   t h a t   a r e   l o g g e d .   A s   a n   e x a m p l e ,   t h e   f o l l o w i n g   i s   t h e   l i s t   o f   f l a g s   a v a i l a b l e   f o r   t h e   l o g   b a c k e n d :   a u d i t - l o g - t r u n c a t e - e n a b l e d   w h e t h e r   e v e n t   a n d   b a t c h   t r u n c a t i n g   i s   e n a b l e d . a u d i t - l o g - t r u n c a t e - m a x - b a t c h - s i z e   m a x i m u m   s i z e   i n   b y t e s   o f   t h e   b a t c h   s e n t   t o   t h e   u n d e r l y i n g   b a c k e n d . a u d i t - l o g - t r u n c a t e - m a x - e v e n t - s i z e   m a x i m u m   s i z e   i n   b y t e s   o f   t h e   a u d i t   e v e n t   s e n t   t o   t h e   u n d e r l y i n g   b a c k e n d .   B y   d e f a u l t   t r u n c a t e   i s   d i s a b l e d   i n   b o t h   w e b h o o k   a n d   l o g ,   a   c l u s t e r   a d m i n i s t r a t o r   s h o u l d   s e t   a u d i t - l o g - t r u n c a t e - e n a b l e d   o r   a u d i t - w e b h o o k - t r u n c a t e - e n a b l e d   t o   e n a b l e   t h e   f e a t u r e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18533"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   M u t a t i n g   w e b h o o k   a u d i t i n g   a n n o t a t i o n s . L e a r n   m o r e   a b o u t   E v e n t   a n d   t h e   P o l i c y   r e s o u r c e   t y p e s   b y   r e a d i n g   t h e   A u d i t   c o n f i g u r a t i o n   r e f e r e n c e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18534"
  },
  {
    "question": "What is 4.4.7 - Debugging Kubernetes Nodes With Kubectl?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   d e b u g   a   n o d e   r u n n i n g   o n   t h e   K u b e r n e t e s   c l u s t e r   u s i n g   k u b e c t l   d e b u g   c o m m a n d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18535"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 2 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18536"
  },
  {
    "question": "What is Debugging a Node using kubectl debug node?",
    "answer": "U s e   t h e   k u b e c t l   d e b u g   n o d e   c o m m a n d   t o   d e p l o y   a   P o d   t o   a   N o d e   t h a t   y o u   w a n t   t o   t r o u b l e s h o o t .   T h i s   c o m m a n d   i s   h e l p f u l   i n   s c e n a r i o s   w h e r e   y o u   c a n ' t   a c c e s s   y o u r   N o d e   b y   u s i n g   a n   S S H   c o n n e c t i o n .   W h e n   t h e   P o d   i s   c r e a t e d ,   t h e   P o d   o p e n s   a n   i n t e r a c t i v e   s h e l l   o n   t h e   N o d e .   T o   c r e a t e   a n   i n t e r a c t i v e   s h e l l   o n   a   N o d e   n a m e d   “ m y n o d e ” ,   r u n :   k u b e c t l   d e b u g   n o d e / m y n o d e   - i t   - - i m a g e = u b u n t u   C r e a t i n g   d e b u g g i n g   p o d   n o d e - d e b u g g e r - m y n o d e - p d x 8 4   w i t h   c o n t a i n e r   d e b u g g e r   o n   n o d e   m y n o d e .   I f   y o u   d o n ' t   s e e   a   c o m m a n d   p r o m p t ,   t r y   p r e s s i n g   e n t e r .   r o o t @ m y n o d e : / #   T h e   d e b u g   c o m m a n d   h e l p s   t o   g a t h e r   i n f o r m a t i o n   a n d   t r o u b l e s h o o t   i s s u e s .   C o m m a n d s   t h a t   y o u   m i g h t   u s e   i n c l u d e   i p ,   i f c o n f i g ,   n c ,   p i n g ,   a n d   p s   a n d   s o   o n .   Y o u   c a n   a l s o   i n s t a l l   o t h e r   t o o l s ,   s u c h   a s   m t r ,   t c p d u m p ,   a n d   c u r l ,   f r o m   t h e   r e s p e c t i v e   p a c k a g e   m a n a g e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18537"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   d e b u g g i n g   P o d   c a n   a c c e s s   t h e   r o o t   f i l e s y s t e m   o f   t h e   N o d e ,   m o u n t e d   a t   / h o s t   i n   t h e   P o d .   I f   y o u   r u n   y o u r   k u b e l e t   i n   a   f i l e s y s t e m   n a m e s p a c e ,   t h e   d e b u g g i n g   P o d   s e e s   t h e   r o o t   f o r   t h a t   n a m e s p a c e ,   n o t   f o r   t h e   e n t i r e   n o d e .   F o r   a   t y p i c a l   L i n u x   n o d e ,   y o u   c a n   l o o k   a t   t h e   f o l l o w i n g   p a t h s   t o   f i n d   r e l e v a n t   l o g s :   W h e n   c r e a t i n g   a   d e b u g g i n g   s e s s i o n   o n   a   N o d e ,   k e e p   i n   m i n d   t h a t :   k u b e c t l   d e b u g   a u t o m a t i c a l l y   g e n e r a t e s   t h e   n a m e   o f   t h e   n e w   p o d ,   b a s e d   o n   t h e   n a m e   o f   t h e   n o d e . T h e   r o o t   f i l e s y s t e m   o f   t h e   N o d e   w i l l   b e   m o u n t e d   a t   / h o s t . A l t h o u g h   t h e   c o n t a i n e r   r u n s   i n   t h e   h o s t   I P C ,   N e t w o r k ,   a n d   P I D   n a m e s p a c e s ,   t h e   p o d   i s n ' t   p r i v i l e g e d .   T h i s   m e a n s   t h a t   r e a d i n g   s o m e   p r o c e s s   i n f o r m a t i o n   m i g h t   f a i l   b e c a u s e   a c c e s s   t o   t h a t   i n f o r m a t i o n   i s   r e s t r i c t e d   t o   s u p e r u s e r s .   F o r   e x a m p l e ,   c h r o o t   / h o s t   w i l l   f a i l .   I f   y o u   n e e d   a   p r i v i l e g e d   p o d ,   c r e a t e   i t   m a n u a l l y   o r   u s e   t h e   - - p r o f i l e = s y s a d m i n   f l a g . B y   a p p l y i n g   D e b u g g i n g   P r o f i l e s ,   y o u   c a n   s e t   s p e c i f i c   p r o p e r t i e s   s u c h   a s   s e c u r i t y C o n t e x t   t o   a   d e b u g g i n g   P o d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18538"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "W h e n   y o u   f i n i s h   u s i n g   t h e   d e b u g g i n g   P o d ,   d e l e t e   i t :   k u b e c t l   g e t   p o d s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   n o d e - d e b u g g e r - m y n o d e - p d x 8 4   0 / 1   C o m p l e t e d   0   8 m 1 s   #   C h a n g e   t h e   p o d   n a m e   a c c o r d i n g l y   k u b e c t l   d e l e t e   p o d   n o d e - d e b u g g e r - m y n o d e - p d x 8 4   - - n o w   p o d   \" n o d e - d e b u g g e r - m y n o d e - p d x 8 4 \"   d e l e t e d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18539"
  },
  {
    "question": "What is 4.4.8 - Developing and debugging services locally using telepresence?",
    "answer": "K u b e r n e t e s   a p p l i c a t i o n s   u s u a l l y   c o n s i s t   o f   m u l t i p l e ,   s e p a r a t e   s e r v i c e s ,   e a c h   r u n n i n g   i n   i t s   o w n   c o n t a i n e r .   D e v e l o p i n g   a n d   d e b u g g i n g   t h e s e   s e r v i c e s   o n   a   r e m o t e   K u b e r n e t e s   c l u s t e r   c a n   b e   c u m b e r s o m e ,   r e q u i r i n g   y o u   t o   g e t   a   s h e l l   o n   a   r u n n i n g   c o n t a i n e r   i n   o r d e r   t o   r u n   d e b u g g i n g   t o o l s .   t e l e p r e s e n c e   i s   a   t o o l   t o   e a s e   t h e   p r o c e s s   o f   d e v e l o p i n g   a n d   d e b u g g i n g   s e r v i c e s   l o c a l l y   w h i l e   p r o x y i n g   t h e   s e r v i c e   t o   a   r e m o t e   K u b e r n e t e s   c l u s t e r .   U s i n g   t e l e p r e s e n c e   a l l o w s   y o u   t o   u s e   c u s t o m   t o o l s ,   s u c h   a s   a   d e b u g g e r   a n d   I D E ,   f o r   a   l o c a l   s e r v i c e   a n d   p r o v i d e s   t h e   s e r v i c e   f u l l   a c c e s s   t o   C o n f i g M a p ,   s e c r e t s ,   a n d   t h e   s e r v i c e s   r u n n i n g   o n   t h e   r e m o t e   c l u s t e r .   T h i s   d o c u m e n t   d e s c r i b e s   u s i n g   t e l e p r e s e n c e   t o   d e v e l o p   a n d   d e b u g   s e r v i c e s   r u n n i n g   o n   a   r e m o t e   c l u s t e r   l o c a l l y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18540"
  },
  {
    "question": "What is Before you begin?",
    "answer": "K u b e r n e t e s   c l u s t e r   i s   i n s t a l l e d k u b e c t l   i s   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   t h e   c l u s t e r T e l e p r e s e n c e   i s   i n s t a l l e d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18541"
  },
  {
    "question": "What is Connecting your local machine to a remote Kubernetes cluster?",
    "answer": "A f t e r   i n s t a l l i n g   t e l e p r e s e n c e ,   r u n   t e l e p r e s e n c e   c o n n e c t   t o   l a u n c h   i t s   D a e m o n   a n d   c o n n e c t   y o u r   l o c a l   w o r k s t a t i o n   t o   t h e   c l u s t e r .   $   t e l e p r e s e n c e   c o n n e c t   L a u n c h i n g   T e l e p r e s e n c e   D a e m o n   . . .   C o n n e c t e d   t o   c o n t e x t   d e f a u l t   ( h t t p s : / / < c l u s t e r   p u b l i c   I P > )   Y o u   c a n   c u r l   s e r v i c e s   u s i n g   t h e   K u b e r n e t e s   s y n t a x   e . g .   c u r l   - i k   h t t p s : / / k u b e r n e t e s . d e f a u l t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18542"
  },
  {
    "question": "What is Developing or debugging an existing service?",
    "answer": "W h e n   d e v e l o p i n g   a n   a p p l i c a t i o n   o n   K u b e r n e t e s ,   y o u   t y p i c a l l y   p r o g r a m   o r   d e b u g   a   s i n g l e   s e r v i c e .   T h e   s e r v i c e   m i g h t   r e q u i r e   a c c e s s   t o   o t h e r   s e r v i c e s   f o r   t e s t i n g   a n d   d e b u g g i n g .   O n e   o p t i o n   i s   t o   u s e   t h e   c o n t i n u o u s   d e p l o y m e n t   p i p e l i n e ,   b u t   e v e n   t h e   f a s t e s t   d e p l o y m e n t   p i p e l i n e   i n t r o d u c e s   a   d e l a y   i n   t h e   p r o g r a m   o r   d e b u g   c y c l e .   U s e   t h e   t e l e p r e s e n c e   i n t e r c e p t   $ S E R V I C E _ N A M E   - - p o r t   $ L O C A L _ P O R T : $ R E M O T E _ P O R T   c o m m a n d   t o   c r e a t e   a n   \" i n t e r c e p t \"   f o r   r e r o u t i n g   r e m o t e   s e r v i c e   t r a f f i c .   W h e r e :   $ S E R V I C E _ N A M E   i s   t h e   n a m e   o f   y o u r   l o c a l   s e r v i c e $ L O C A L _ P O R T   i s   t h e   p o r t   t h a t   y o u r   s e r v i c e   i s   r u n n i n g   o n   y o u r   l o c a l   w o r k s t a t i o n A n d   $ R E M O T E _ P O R T   i s   t h e   p o r t   y o u r   s e r v i c e   l i s t e n s   t o   i n   t h e   c l u s t e r   R u n n i n g   t h i s   c o m m a n d   t e l l s   T e l e p r e s e n c e   t o   s e n d   r e m o t e   t r a f f i c   t o   y o u r   l o c a l   s e r v i c e   i n s t e a d   o f   t h e   s e r v i c e   i n   t h e   r e m o t e   K u b e r n e t e s   c l u s t e r .   M a k e   e d i t s   t o   y o u r   s e r v i c e   s o u r c e   c o d e   l o c a l l y ,   s a v e ,   a n d   s e e   t h e   c o r r e s p o n d i n g   c h a n g e s   w h e n   a c c e s s i n g   y o u r   r e m o t e   a p p l i c a t i o n   t a k e   e f f e c t   i m m e d i a t e l y .   Y o u   c a n   a l s o   r u n   y o u r   l o c a l   s e r v i c e   u ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18543"
  },
  {
    "question": "What is How does Telepresence work??",
    "answer": "T e l e p r e s e n c e   i n s t a l l s   a   t r a f f i c - a g e n t   s i d e c a r   n e x t   t o   y o u r   e x i s t i n g   a p p l i c a t i o n ' s   c o n t a i n e r   r u n n i n g   i n   t h e   r e m o t e   c l u s t e r .   I t   t h e n   c a p t u r e s   a l l   t r a f f i c   r e q u e s t s   g o i n g   i n t o   t h e   P o d ,   a n d   i n s t e a d   o f   f o r w a r d i n g   t h i s   t o   t h e   a p p l i c a t i o n   i n   t h e   r e m o t e   c l u s t e r ,   i t   r o u t e s   a l l   t r a f f i c   ( w h e n   y o u   c r e a t e   a   g l o b a l   i n t e r c e p t   o r   a   s u b s e t   o f   t h e   t r a f f i c   ( w h e n   y o u   c r e a t e   a   p e r s o n a l   i n t e r c e p t )   t o   y o u r   l o c a l   d e v e l o p m e n t   e n v i r o n m e n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18544"
  },
  {
    "question": "What is What's next?",
    "answer": "I f   y o u ' r e   i n t e r e s t e d   i n   a   h a n d s - o n   t u t o r i a l ,   c h e c k   o u t   t h i s   t u t o r i a l   t h a t   w a l k s   t h r o u g h   l o c a l l y   d e v e l o p i n g   t h e   G u e s t b o o k   a p p l i c a t i o n   o n   G o o g l e   K u b e r n e t e s   E n g i n e .   F o r   f u r t h e r   r e a d i n g ,   v i s i t   t h e   T e l e p r e s e n c e   w e b s i t e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18545"
  },
  {
    "question": "What is Node-level troubleshooting?",
    "answer": "M y   P o d s   a r e   s t u c k   a t   \" C o n t a i n e r   C r e a t i n g \"   o r   r e s t a r t i n g   o v e r   a n d   o v e r E n s u r e   t h a t   y o u r   p a u s e   i m a g e   i s   c o m p a t i b l e   w i t h   y o u r   W i n d o w s   O S   v e r s i o n .   S e e   P a u s e   c o n t a i n e r   t o   s e e   t h e   l a t e s t   /   r e c o m m e n d e d   p a u s e   i m a g e   a n d / o r   g e t   m o r e   i n f o r m a t i o n . N o t e : I f   u s i n g   c o n t a i n e r d   a s   y o u r   c o n t a i n e r   r u n t i m e   t h e   p a u s e   i m a g e   i s   s p e c i f i e d   i n   t h e   p l u g i n s . p l u g i n s . c r i . s a n d b o x _ i m a g e   f i e l d   o f   t h e   o f   c o n f i g . t o m l   c o n f i g u r a t i o n   f i l e . M y   p o d s   s h o w   s t a t u s   a s   E r r I m g P u l l   o r   I m a g e P u l l B a c k O f f E n s u r e   t h a t   y o u r   P o d   i s   g e t t i n g   s c h e d u l e d   t o   a   c o m p a t i b l e   W i n d o w s   N o d e . M o r e   i n f o r m a t i o n   o n   h o w   t o   s p e c i f y   a   c o m p a t i b l e   n o d e   f o r   y o u r   P o d   c a n   b e   f o u n d   i n   t h i s   g u i d e .   M y   P o d s   a r e   s t u c k   a t   \" C o n t a i n e r   C r e a t i n g \"   o r   r e s t a r t i n g   o v e r   a n d   o v e r   E n s u r e   t h a t   y o u r   p a u s e   i m a g e   i s   c o m p a t i b l e   w i t h   y o u r   W i n d o w s   O S   v e r s i o n .   S e e   P a u s e   c o n t a i n e r   t o   s e e   t h e   l a t e s t   /   r e c o m m e n d e d   p a u s e   i m a g e   a n d / o r   g e t   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18546"
  },
  {
    "question": "What is Note:?",
    "answer": "M y   p o d s   s h o w   s t a t u s   a s   E r r I m g P u l l   o r   I m a g e P u l l B a c k O f f   E n s u r e   t h a t   y o u r   P o d   i s   g e t t i n g   s c h e d u l e d   t o   a   c o m p a t i b l e   W i n d o w s   N o d e .   M o r e   i n f o r m a t i o n   o n   h o w   t o   s p e c i f y   a   c o m p a t i b l e   n o d e   f o r   y o u r   P o d   c a n   b e   f o u n d   i n   t h i s   g u i d e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18547"
  },
  {
    "question": "What is Network troubleshooting?",
    "answer": "M y   W i n d o w s   P o d s   d o   n o t   h a v e   n e t w o r k   c o n n e c t i v i t y I f   y o u   a r e   u s i n g   v i r t u a l   m a c h i n e s ,   e n s u r e   t h a t   M A C   s p o o f i n g   i s   e n a b l e d   o n   a l l   t h e   V M   n e t w o r k   a d a p t e r ( s ) . M y   W i n d o w s   P o d s   c a n n o t   p i n g   e x t e r n a l   r e s o u r c e s W i n d o w s   P o d s   d o   n o t   h a v e   o u t b o u n d   r u l e s   p r o g r a m m e d   f o r   t h e   I C M P   p r o t o c o l .   H o w e v e r ,   T C P / U D P   i s   s u p p o r t e d .   W h e n   t r y i n g   t o   d e m o n s t r a t e   c o n n e c t i v i t y   t o   r e s o u r c e s   o u t s i d e   o f   t h e   c l u s t e r ,   s u b s t i t u t e   p i n g   < I P >   w i t h   c o r r e s p o n d i n g   c u r l   < I P >   c o m m a n d s . I f   y o u   a r e   s t i l l   f a c i n g   p r o b l e m s ,   m o s t   l i k e l y   y o u r   n e t w o r k   c o n f i g u r a t i o n   i n   c n i . c o n f   d e s e r v e s   s o m e   e x t r a   a t t e n t i o n .   Y o u   c a n   a l w a y s   e d i t   t h i s   s t a t i c   f i l e .   T h e   c o n f i g u r a t i o n   u p d a t e   w i l l   a p p l y   t o   a n y   n e w   K u b e r n e t e s   r e s o u r c e s . O n e   o f   t h e   K u b e r n e t e s   n e t w o r k i n g   r e q u i r e m e n t s   ( s e e   K u b e r n e t e s   m o d e l )   i s   f o r   c l u s t e r   c o m m u n i c a t i o n   t o   o c c u r   w i t h o u t   N A T   i n t e r n a l l y .   T o   h o n o r   t h i s   r e q u i r e m e n t ,   t h e r e   i s   a n   E x c e p t i o n L i s t   f o r   a l l   t h e   c o m m u n i c a t i o n   w h e r e   y o u   d o   n o t   w a n t   o u t b o u n d   N A T   t o   o c c u r .   H o w e v e r ,   t h i s   a l s o   m e a n s   t h a t   y o u   n e e d   t o   e x c l u d e   t h e   e x t e r n a l   I P   y o u   a r e   t r y i n g   t o   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18548"
  },
  {
    "question": "What is Flannel troubleshooting?",
    "answer": "W i t h   F l a n n e l ,   m y   n o d e s   a r e   h a v i n g   i s s u e s   a f t e r   r e j o i n i n g   a   c l u s t e r W h e n e v e r   a   p r e v i o u s l y   d e l e t e d   n o d e   i s   b e i n g   r e - j o i n e d   t o   t h e   c l u s t e r ,   f l a n n e l D   t r i e s   t o   a s s i g n   a   n e w   p o d   s u b n e t   t o   t h e   n o d e .   U s e r s   s h o u l d   r e m o v e   t h e   o l d   p o d   s u b n e t   c o n f i g u r a t i o n   f i l e s   i n   t h e   f o l l o w i n g   p a t h s : R e m o v e - I t e m   C : \\ k \\ S o u r c e V i p . j s o n   R e m o v e - I t e m   C : \\ k \\ S o u r c e V i p R e q u e s t . j s o n   F l a n n e l d   i s   s t u c k   i n   \" W a i t i n g   f o r   t h e   N e t w o r k   t o   b e   c r e a t e d \" T h e r e   a r e   n u m e r o u s   r e p o r t s   o f   t h i s   i s s u e ;   m o s t   l i k e l y   i t   i s   a   t i m i n g   i s s u e   f o r   w h e n   t h e   m a n a g e m e n t   I P   o f   t h e   f l a n n e l   n e t w o r k   i s   s e t .   A   w o r k a r o u n d   i s   t o   r e l a u n c h   s t a r t . p s 1   o r   r e l a u n c h   i t   m a n u a l l y   a s   f o l l o w s : [ E n v i r o n m e n t ] : : S e t E n v i r o n m e n t V a r i a b l e ( \" N O D E _ N A M E \" ,   \" < W i n d o w s _ W o r k e r _ H o s t n a m e > \" )   C : \\ f l a n n e l \\ f l a n n e l d . e x e   - - k u b e c o n f i g - f i l e = c : \\ k \\ c o n f i g   - - i f a c e = < W i n d o w s _ W o r k e r _ N o d e _ I P >   - - i p - m a s q = 1   - - k u b e - s u b n e t - m g r = 1   M y   W i n d o w s   P o d s   c a n n o t   l a u n c h   b e c a u s e   o f   m i s s i n g   / r u n / f l a n n e l / s u b n e t . e n v T h i s   i n d i c a t e s   t h a t   F l a n n e l   d i d n ' t   l a u n c h   c o r r e c t l y .   Y o u   c a n   e i t h e r   t r y   t o   r e s t a r t   f l a n n e l d . e x e   o r   y o u   c a n   c o p y   t h e   f i l ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18549"
  },
  {
    "question": "What is Further investigation?",
    "answer": "I f   t h e s e   s t e p s   d o n ' t   r e s o l v e   y o u r   p r o b l e m ,   y o u   c a n   g e t   h e l p   r u n n i n g   W i n d o w s   c o n t a i n e r s   o n   W i n d o w s   n o d e s   i n   K u b e r n e t e s   t h r o u g h :   S t a c k O v e r f l o w   W i n d o w s   S e r v e r   C o n t a i n e r   t o p i c K u b e r n e t e s   O f f i c i a l   F o r u m   d i s c u s s . k u b e r n e t e s . i o K u b e r n e t e s   S l a c k   # S I G - W i n d o w s   C h a n n e l",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18550"
  },
  {
    "question": "What is 5.1 - Declarative Management of Kubernetes Objects Using Configuration Files?",
    "answer": "K u b e r n e t e s   o b j e c t s   c a n   b e   c r e a t e d ,   u p d a t e d ,   a n d   d e l e t e d   b y   s t o r i n g   m u l t i p l e   o b j e c t   c o n f i g u r a t i o n   f i l e s   i n   a   d i r e c t o r y   a n d   u s i n g   k u b e c t l   a p p l y   t o   r e c u r s i v e l y   c r e a t e   a n d   u p d a t e   t h o s e   o b j e c t s   a s   n e e d e d .   T h i s   m e t h o d   r e t a i n s   w r i t e s   m a d e   t o   l i v e   o b j e c t s   w i t h o u t   m e r g i n g   t h e   c h a n g e s   b a c k   i n t o   t h e   o b j e c t   c o n f i g u r a t i o n   f i l e s .   k u b e c t l   d i f f   a l s o   g i v e s   y o u   a   p r e v i e w   o f   w h a t   c h a n g e s   a p p l y   w i l l   m a k e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18551"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n s t a l l   k u b e c t l .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18552"
  },
  {
    "question": "What is Trade-offs?",
    "answer": "T h e   k u b e c t l   t o o l   s u p p o r t s   t h r e e   k i n d s   o f   o b j e c t   m a n a g e m e n t :   I m p e r a t i v e   c o m m a n d s I m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n D e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n   S e e   K u b e r n e t e s   O b j e c t   M a n a g e m e n t   f o r   a   d i s c u s s i o n   o f   t h e   a d v a n t a g e s   a n d   d i s a d v a n t a g e   o f   e a c h   k i n d   o f   o b j e c t   m a n a g e m e n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18553"
  },
  {
    "question": "What is Overview?",
    "answer": "D e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n   r e q u i r e s   a   f i r m   u n d e r s t a n d i n g   o f   t h e   K u b e r n e t e s   o b j e c t   d e f i n i t i o n s   a n d   c o n f i g u r a t i o n .   R e a d   a n d   c o m p l e t e   t h e   f o l l o w i n g   d o c u m e n t s   i f   y o u   h a v e   n o t   a l r e a d y :   M a n a g i n g   K u b e r n e t e s   O b j e c t s   U s i n g   I m p e r a t i v e   C o m m a n d s I m p e r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s   F o l l o w i n g   a r e   d e f i n i t i o n s   f o r   t e r m s   u s e d   i n   t h i s   d o c u m e n t :   o b j e c t   c o n f i g u r a t i o n   f i l e   /   c o n f i g u r a t i o n   f i l e :   A   f i l e   t h a t   d e f i n e s   t h e   c o n f i g u r a t i o n   f o r   a   K u b e r n e t e s   o b j e c t .   T h i s   t o p i c   s h o w s   h o w   t o   p a s s   c o n f i g u r a t i o n   f i l e s   t o   k u b e c t l   a p p l y .   C o n f i g u r a t i o n   f i l e s   a r e   t y p i c a l l y   s t o r e d   i n   s o u r c e   c o n t r o l ,   s u c h   a s   G i t . l i v e   o b j e c t   c o n f i g u r a t i o n   /   l i v e   c o n f i g u r a t i o n :   T h e   l i v e   c o n f i g u r a t i o n   v a l u e s   o f   a n   o b j e c t ,   a s   o b s e r v e d   b y   t h e   K u b e r n e t e s   c l u s t e r .   T h e s e   a r e   k e p t   i n   t h e   K u b e r n e t e s   c l u s t e r   s t o r a g e ,   t y p i c a l l y   e t c d . d e c l a r a t i v e   c o n f i g u r a t i o n   w r i t e r   /   d e c l a r a t i v e   w r i t e r :   A   p e r s o n   o r   s o f t w a r e   c o m p o n e n t   t h a t   m a k e s   u p d a t e s   t o   a   l i v e   o b j e c t .   T h e   l i v e   w r i t e r s   r e f e r r e d   t o   i n   t h i s   t o p i c   m a k e   c h a n g e s   t o   o b j e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18554"
  },
  {
    "question": "What is How to create objects?",
    "answer": "U s e   k u b e c t l   a p p l y   t o   c r e a t e   a l l   o b j e c t s ,   e x c e p t   t h o s e   t h a t   a l r e a d y   e x i s t ,   d e f i n e d   b y   c o n f i g u r a t i o n   f i l e s   i n   a   s p e c i f i e d   d i r e c t o r y :   k u b e c t l   a p p l y   - f   < d i r e c t o r y >   T h i s   s e t s   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n :   ' { . . . } '   a n n o t a t i o n   o n   e a c h   o b j e c t .   T h e   a n n o t a t i o n   c o n t a i n s   t h e   c o n t e n t s   o f   t h e   o b j e c t   c o n f i g u r a t i o n   f i l e   t h a t   w a s   u s e d   t o   c r e a t e   t h e   o b j e c t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18555"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e ' s   a n   e x a m p l e   o f   a n   o b j e c t   c o n f i g u r a t i o n   f i l e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   m i n R e a d y S e c o n d s :   5   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0   R u n   k u b e c t l   d i f f   t o   p r i n t   t h e   o b j e c t   t h a t   w i l l   b e   c r e a t e d :   k u b e c t l   d i f f   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / s i m p l e _ d e p l o y m e n t . y a m l",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18556"
  },
  {
    "question": "What is Note:?",
    "answer": "d i f f   u s e s   s e r v e r - s i d e   d r y - r u n ,   w h i c h   n e e d s   t o   b e   e n a b l e d   o n   k u b e - a p i s e r v e r .   S i n c e   d i f f   p e r f o r m s   a   s e r v e r - s i d e   a p p l y   r e q u e s t   i n   d r y - r u n   m o d e ,   i t   r e q u i r e s   g r a n t i n g   P A T C H ,   C R E A T E ,   a n d   U P D A T E   p e r m i s s i o n s .   S e e   D r y - R u n   A u t h o r i z a t i o n   f o r   d e t a i l s .   C r e a t e   t h e   o b j e c t   u s i n g   k u b e c t l   a p p l y :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / s i m p l e _ d e p l o y m e n t . y a m l   P r i n t   t h e   l i v e   c o n f i g u r a t i o n   u s i n g   k u b e c t l   g e t :   k u b e c t l   g e t   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / s i m p l e _ d e p l o y m e n t . y a m l   - o   y a m l   T h e   o u t p u t   s h o w s   t h a t   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   w a s   w r i t t e n   t o   t h e   l i v e   c o n f i g u r a t i o n ,   a n d   i t   m a t c h e s   t h e   c o n f i g u r a t i o n   f i l e :   k i n d :   D e p l o y m e n t   m e t a d a t a :   a n n o t a t i o n s :   #   . . .   #   T h i s   i s   t h e   j s o n   r e p r e s e n t a t i o n   o f   s i m p l e _ d e p l o y m e n t . y a m l   #   I t   w a s   w r i t t e n   b y   k u b e c t l   a p p l y   w h e n   t h e   o b j e c t   w a s   c r e a t e d   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n :   |   { \" a p i V e r s i o n \" : \" a p p s / v 1 \" , \" k i n d \" : \" D e p l o y m e n t \" ,   \" m e t a d a t a \" : { \" a n n o t a t i o n s \" : { } , \" n a m e \" : \" n g i n x - d e p l o y m e n t \" , \" n a m e s p a c e \" : \" d e f a u l t \" } ,   \" s p e c \" : ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18557"
  },
  {
    "question": "What is How to update objects?",
    "answer": "Y o u   c a n   a l s o   u s e   k u b e c t l   a p p l y   t o   u p d a t e   a l l   o b j e c t s   d e f i n e d   i n   a   d i r e c t o r y ,   e v e n   i f   t h o s e   o b j e c t s   a l r e a d y   e x i s t .   T h i s   a p p r o a c h   a c c o m p l i s h e s   t h e   f o l l o w i n g :   S e t s   f i e l d s   t h a t   a p p e a r   i n   t h e   c o n f i g u r a t i o n   f i l e   i n   t h e   l i v e   c o n f i g u r a t i o n . C l e a r s   f i e l d s   r e m o v e d   f r o m   t h e   c o n f i g u r a t i o n   f i l e   i n   t h e   l i v e   c o n f i g u r a t i o n .   k u b e c t l   d i f f   - f   < d i r e c t o r y >   k u b e c t l   a p p l y   - f   < d i r e c t o r y >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18558"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e ' s   a n   e x a m p l e   c o n f i g u r a t i o n   f i l e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   m i n R e a d y S e c o n d s :   5   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0   C r e a t e   t h e   o b j e c t   u s i n g   k u b e c t l   a p p l y :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / s i m p l e _ d e p l o y m e n t . y a m l",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18559"
  },
  {
    "question": "What is Note:?",
    "answer": "P r i n t   t h e   l i v e   c o n f i g u r a t i o n   u s i n g   k u b e c t l   g e t :   k u b e c t l   g e t   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / s i m p l e _ d e p l o y m e n t . y a m l   - o   y a m l   T h e   o u t p u t   s h o w s   t h a t   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   w a s   w r i t t e n   t o   t h e   l i v e   c o n f i g u r a t i o n ,   a n d   i t   m a t c h e s   t h e   c o n f i g u r a t i o n   f i l e :   k i n d :   D e p l o y m e n t   m e t a d a t a :   a n n o t a t i o n s :   #   . . .   #   T h i s   i s   t h e   j s o n   r e p r e s e n t a t i o n   o f   s i m p l e _ d e p l o y m e n t . y a m l   #   I t   w a s   w r i t t e n   b y   k u b e c t l   a p p l y   w h e n   t h e   o b j e c t   w a s   c r e a t e d   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n :   |   { \" a p i V e r s i o n \" : \" a p p s / v 1 \" , \" k i n d \" : \" D e p l o y m e n t \" ,   \" m e t a d a t a \" : { \" a n n o t a t i o n s \" : { } , \" n a m e \" : \" n g i n x - d e p l o y m e n t \" , \" n a m e s p a c e \" : \" d e f a u l t \" } ,   \" s p e c \" : { \" m i n R e a d y S e c o n d s \" : 5 , \" s e l e c t o r \" : { \" m a t c h L a b e l s \" : { \" a p p \" : n g i n x } } , \" t e m p l a t e \" : { \" m e t a d a t a \" : { \" l a b e l s \" : { \" a p p \" : \" n g i n x \" } } ,   \" s p e c \" : { \" c o n t a i n e r s \" : [ { \" i m a g e \" : \" n g i n x : 1 . 1 4 . 2 \" , \" n a m e \" : \" n g i n x \" ,   \" p o r t s \" : [ { \" c o n t a i n e r P o r t \" : 8 0 } ] } ] } } } }   #   . . .   s p e c :   #   . . .   m i n R e a d y S e c o n d s :   5   s e l e c t o r :   m a t c h L a b e l s :   #   . . .   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   #   . . .   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   i ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18560"
  },
  {
    "question": "What is How to delete objects?",
    "answer": "T h e r e   a r e   t w o   a p p r o a c h e s   t o   d e l e t e   o b j e c t s   m a n a g e d   b y   k u b e c t l   a p p l y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18561"
  },
  {
    "question": "What is Recommended: kubectl delete -f <filename>?",
    "answer": "M a n u a l l y   d e l e t i n g   o b j e c t s   u s i n g   t h e   i m p e r a t i v e   c o m m a n d   i s   t h e   r e c o m m e n d e d   a p p r o a c h ,   a s   i t   i s   m o r e   e x p l i c i t   a b o u t   w h a t   i s   b e i n g   d e l e t e d ,   a n d   l e s s   l i k e l y   t o   r e s u l t   i n   t h e   u s e r   d e l e t i n g   s o m e t h i n g   u n i n t e n t i o n a l l y :   k u b e c t l   d e l e t e   - f   < f i l e n a m e >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18562"
  },
  {
    "question": "What is Alternative: kubectl apply -f <directory> --prune?",
    "answer": "A s   a n   a l t e r n a t i v e   t o   k u b e c t l   d e l e t e ,   y o u   c a n   u s e   k u b e c t l   a p p l y   t o   i d e n t i f y   o b j e c t s   t o   b e   d e l e t e d   a f t e r   t h e i r   m a n i f e s t s   h a v e   b e e n   r e m o v e d   f r o m   a   d i r e c t o r y   i n   t h e   l o c a l   f i l e s y s t e m .   I n   K u b e r n e t e s   1 . 3 4 ,   t h e r e   a r e   t w o   p r u n i n g   m o d e s   a v a i l a b l e   i n   k u b e c t l   a p p l y :   A l l o w l i s t - b a s e d   p r u n i n g :   T h i s   m o d e   h a s   e x i s t e d   s i n c e   k u b e c t l   v 1 . 5   b u t   i s   s t i l l   i n   a l p h a   d u e   t o   u s a b i l i t y ,   c o r r e c t n e s s   a n d   p e r f o r m a n c e   i s s u e s   w i t h   i t s   d e s i g n .   T h e   A p p l y S e t - b a s e d   m o d e   i s   d e s i g n e d   t o   r e p l a c e   i t . A p p l y S e t - b a s e d   p r u n i n g :   A n   a p p l y   s e t   i s   a   s e r v e r - s i d e   o b j e c t   ( b y   d e f a u l t ,   a   S e c r e t )   t h a t   k u b e c t l   c a n   u s e   t o   a c c u r a t e l y   a n d   e f f i c i e n t l y   t r a c k   s e t   m e m b e r s h i p   a c r o s s   a p p l y   o p e r a t i o n s .   T h i s   m o d e   w a s   i n t r o d u c e d   i n   a l p h a   i n   k u b e c t l   v 1 . 2 7   a s   a   r e p l a c e m e n t   f o r   a l l o w l i s t - b a s e d   p r u n i n g .   F E A T U R E   S T A T E :   K u b e r n e t e s   v 1 . 5   [ a l p h a ] W a r n i n g : T a k e   c a r e   w h e n   u s i n g   - - p r u n e   w i t h   k u b e c t l   a p p l y   i n   a l l o w   l i s t   m o d e .   W h i c h   o b j e c t s   a r e   p r u n e d   d e p e n d s   o n   t h e   v a l u e s   o f   t h e   - - p r u n e - a l l o w l i s t ,   - - s e l e c t o r   a n d   - - n a m e s p a c e   f l a g s ,   a n d   r e l i e s   o n   d y n a m i c   d i s c o v e r y   o f   t h e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18563"
  },
  {
    "question": "What is Warning:?",
    "answer": "T o   u s e   a l l o w l i s t - b a s e d   p r u n i n g ,   a d d   t h e   f o l l o w i n g   f l a g s   t o   y o u r   k u b e c t l   a p p l y   i n v o c a t i o n :   - - p r u n e :   D e l e t e   p r e v i o u s l y   a p p l i e d   o b j e c t s   t h a t   a r e   n o t   i n   t h e   s e t   p a s s e d   t o   t h e   c u r r e n t   i n v o c a t i o n . - - p r u n e - a l l o w l i s t :   A   l i s t   o f   g r o u p - v e r s i o n - k i n d s   ( G V K s )   t o   c o n s i d e r   f o r   p r u n i n g .   T h i s   f l a g   i s   o p t i o n a l   b u t   s t r o n g l y   e n c o u r a g e d ,   a s   i t s   d e f a u l t   v a l u e   i s   a   p a r t i a l   l i s t   o f   b o t h   n a m e s p a c e d   a n d   c l u s t e r - s c o p e d   t y p e s ,   w h i c h   c a n   l e a d   t o   s u r p r i s i n g   r e s u l t s . - - s e l e c t o r / - l :   U s e   a   l a b e l   s e l e c t o r   t o   c o n s t r a i n   t h e   s e t   o f   o b j e c t s   s e l e c t e d   f o r   p r u n i n g .   T h i s   f l a g   i s   o p t i o n a l   b u t   s t r o n g l y   e n c o u r a g e d . - - a l l :   u s e   i n s t e a d   o f   - - s e l e c t o r / - l   t o   e x p l i c i t l y   s e l e c t   a l l   p r e v i o u s l y   a p p l i e d   o b j e c t s   o f   t h e   a l l o w l i s t e d   t y p e s .   A l l o w l i s t - b a s e d   p r u n i n g   q u e r i e s   t h e   A P I   s e r v e r   f o r   a l l   o b j e c t s   o f   t h e   a l l o w l i s t e d   G V K s   t h a t   m a t c h   t h e   g i v e n   l a b e l s   ( i f   a n y ) ,   a n d   a t t e m p t s   t o   m a t c h   t h e   r e t u r n e d   l i v e   o b j e c t   c o n f i g u r a t i o n s   a g a i n s t   t h e   o b j e c t   m a n i f e s t   f i l e s .   I f   a n   o b j e c t   m a t c h e s   t h e   q u e r y ,   a n d   i t   d o e s   n o t   h a v e   a   m a n i f e s t   i n   t h e   d i r e c t o r y ,   a n d   i t   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18564"
  },
  {
    "question": "What is Warning:?",
    "answer": "F E A T U R E   S T A T E :   K u b e r n e t e s   v 1 . 2 7   [ a l p h a ] C a u t i o n : k u b e c t l   a p p l y   - - p r u n e   - - a p p l y s e t   i s   i n   a l p h a ,   a n d   b a c k w a r d s   i n c o m p a t i b l e   c h a n g e s   m i g h t   b e   i n t r o d u c e d   i n   s u b s e q u e n t   r e l e a s e s . T o   u s e   A p p l y S e t - b a s e d   p r u n i n g ,   s e t   t h e   K U B E C T L _ A P P L Y S E T = t r u e   e n v i r o n m e n t   v a r i a b l e ,   a n d   a d d   t h e   f o l l o w i n g   f l a g s   t o   y o u r   k u b e c t l   a p p l y   i n v o c a t i o n : - - p r u n e :   D e l e t e   p r e v i o u s l y   a p p l i e d   o b j e c t s   t h a t   a r e   n o t   i n   t h e   s e t   p a s s e d   t o   t h e   c u r r e n t   i n v o c a t i o n . - - a p p l y s e t :   T h e   n a m e   o f   a n   o b j e c t   t h a t   k u b e c t l   c a n   u s e   t o   a c c u r a t e l y   a n d   e f f i c i e n t l y   t r a c k   s e t   m e m b e r s h i p   a c r o s s   a p p l y   o p e r a t i o n s . K U B E C T L _ A P P L Y S E T = t r u e   k u b e c t l   a p p l y   - f   < d i r e c t o r y >   - - p r u n e   - - a p p l y s e t = < n a m e >   B y   d e f a u l t ,   t h e   t y p e   o f   t h e   A p p l y S e t   p a r e n t   o b j e c t   u s e d   i s   a   S e c r e t .   H o w e v e r ,   C o n f i g M a p s   c a n   a l s o   b e   u s e d   i n   t h e   f o r m a t :   - - a p p l y s e t = c o n f i g m a p s / < n a m e > .   W h e n   u s i n g   a   S e c r e t   o r   C o n f i g M a p ,   k u b e c t l   w i l l   c r e a t e   t h e   o b j e c t   i f   i t   d o e s   n o t   a l r e a d y   e x i s t . I t   i s   a l s o   p o s s i b l e   t o   u s e   c u s t o m   r e s o u r c e s   a s   A p p l y S e t   p a r e n t   o b j e c t s .   T o   e n a b l e   t h i s ,   l a b e l   t h e   C u s t o m   R e s o u r c e   D e f i n i t i o n   ( C R D )   t h ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18565"
  },
  {
    "question": "What is Caution:?",
    "answer": "T o   u s e   A p p l y S e t - b a s e d   p r u n i n g ,   s e t   t h e   K U B E C T L _ A P P L Y S E T = t r u e   e n v i r o n m e n t   v a r i a b l e ,   a n d   a d d   t h e   f o l l o w i n g   f l a g s   t o   y o u r   k u b e c t l   a p p l y   i n v o c a t i o n :   - - p r u n e :   D e l e t e   p r e v i o u s l y   a p p l i e d   o b j e c t s   t h a t   a r e   n o t   i n   t h e   s e t   p a s s e d   t o   t h e   c u r r e n t   i n v o c a t i o n . - - a p p l y s e t :   T h e   n a m e   o f   a n   o b j e c t   t h a t   k u b e c t l   c a n   u s e   t o   a c c u r a t e l y   a n d   e f f i c i e n t l y   t r a c k   s e t   m e m b e r s h i p   a c r o s s   a p p l y   o p e r a t i o n s .   K U B E C T L _ A P P L Y S E T = t r u e   k u b e c t l   a p p l y   - f   < d i r e c t o r y >   - - p r u n e   - - a p p l y s e t = < n a m e >   B y   d e f a u l t ,   t h e   t y p e   o f   t h e   A p p l y S e t   p a r e n t   o b j e c t   u s e d   i s   a   S e c r e t .   H o w e v e r ,   C o n f i g M a p s   c a n   a l s o   b e   u s e d   i n   t h e   f o r m a t :   - - a p p l y s e t = c o n f i g m a p s / < n a m e > .   W h e n   u s i n g   a   S e c r e t   o r   C o n f i g M a p ,   k u b e c t l   w i l l   c r e a t e   t h e   o b j e c t   i f   i t   d o e s   n o t   a l r e a d y   e x i s t .   I t   i s   a l s o   p o s s i b l e   t o   u s e   c u s t o m   r e s o u r c e s   a s   A p p l y S e t   p a r e n t   o b j e c t s .   T o   e n a b l e   t h i s ,   l a b e l   t h e   C u s t o m   R e s o u r c e   D e f i n i t i o n   ( C R D )   t h a t   d e f i n e s   t h e   r e s o u r c e   y o u   w a n t   t o   u s e   w i t h   t h e   f o l l o w i n g :   a p p l y s e t . k u b e r n e t e s . i o / i s - p a r e n t - t y p e :   t r u e .   T h e n ,   c r e a t e   t h e   o b j e c t   y o u   w a n t   t o   u s e   a s   a n   A p p l y S e t   p a r e n t   ( ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18566"
  },
  {
    "question": "What is How to view an object?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   g e t   w i t h   - o   y a m l   t o   v i e w   t h e   c o n f i g u r a t i o n   o f   a   l i v e   o b j e c t :   k u b e c t l   g e t   - f   < f i l e n a m e | u r l >   - o   y a m l",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18567"
  },
  {
    "question": "What is Caution:?",
    "answer": "W h e n   k u b e c t l   a p p l y   u p d a t e s   t h e   l i v e   c o n f i g u r a t i o n   f o r   a n   o b j e c t ,   i t   d o e s   s o   b y   s e n d i n g   a   p a t c h   r e q u e s t   t o   t h e   A P I   s e r v e r .   T h e   p a t c h   d e f i n e s   u p d a t e s   s c o p e d   t o   s p e c i f i c   f i e l d s   o f   t h e   l i v e   o b j e c t   c o n f i g u r a t i o n .   T h e   k u b e c t l   a p p l y   c o m m a n d   c a l c u l a t e s   t h i s   p a t c h   r e q u e s t   u s i n g   t h e   c o n f i g u r a t i o n   f i l e ,   t h e   l i v e   c o n f i g u r a t i o n ,   a n d   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   s t o r e d   i n   t h e   l i v e   c o n f i g u r a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18568"
  },
  {
    "question": "What is Merge patch calculation?",
    "answer": "T h e   k u b e c t l   a p p l y   c o m m a n d   w r i t e s   t h e   c o n t e n t s   o f   t h e   c o n f i g u r a t i o n   f i l e   t o   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n .   T h i s   i s   u s e d   t o   i d e n t i f y   f i e l d s   t h a t   h a v e   b e e n   r e m o v e d   f r o m   t h e   c o n f i g u r a t i o n   f i l e   a n d   n e e d   t o   b e   c l e a r e d   f r o m   t h e   l i v e   c o n f i g u r a t i o n .   H e r e   a r e   t h e   s t e p s   u s e d   t o   c a l c u l a t e   w h i c h   f i e l d s   s h o u l d   b e   d e l e t e d   o r   s e t :   C a l c u l a t e   t h e   f i e l d s   t o   d e l e t e .   T h e s e   a r e   t h e   f i e l d s   p r e s e n t   i n   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n d   m i s s i n g   f r o m   t h e   c o n f i g u r a t i o n   f i l e . C a l c u l a t e   t h e   f i e l d s   t o   a d d   o r   s e t .   T h e s e   a r e   t h e   f i e l d s   p r e s e n t   i n   t h e   c o n f i g u r a t i o n   f i l e   w h o s e   v a l u e s   d o n ' t   m a t c h   t h e   l i v e   c o n f i g u r a t i o n .   H e r e ' s   a n   e x a m p l e .   S u p p o s e   t h i s   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   D e p l o y m e n t   o b j e c t :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 6 . 1   #   u p d a t e   t h e   i m a g e   p o r t s :   -   c o n t a i n e r P o r t :   8 0   A l s o ,   s u p p o s e   t h i s   i s   t h e   l i v e   c o n f i g u r a t i o n   f o r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18569"
  },
  {
    "question": "What is How different types of fields are merged?",
    "answer": "H o w   a   p a r t i c u l a r   f i e l d   i n   a   c o n f i g u r a t i o n   f i l e   i s   m e r g e d   w i t h   t h e   l i v e   c o n f i g u r a t i o n   d e p e n d s   o n   t h e   t y p e   o f   t h e   f i e l d .   T h e r e   a r e   s e v e r a l   t y p e s   o f   f i e l d s :   p r i m i t i v e :   A   f i e l d   o f   t y p e   s t r i n g ,   i n t e g e r ,   o r   b o o l e a n .   F o r   e x a m p l e ,   i m a g e   a n d   r e p l i c a s   a r e   p r i m i t i v e   f i e l d s .   A c t i o n :   R e p l a c e . m a p ,   a l s o   c a l l e d   o b j e c t :   A   f i e l d   o f   t y p e   m a p   o r   a   c o m p l e x   t y p e   t h a t   c o n t a i n s   s u b f i e l d s .   F o r   e x a m p l e ,   l a b e l s ,   a n n o t a t i o n s , s p e c   a n d   m e t a d a t a   a r e   a l l   m a p s .   A c t i o n :   M e r g e   e l e m e n t s   o r   s u b f i e l d s . l i s t :   A   f i e l d   c o n t a i n i n g   a   l i s t   o f   i t e m s   t h a t   c a n   b e   e i t h e r   p r i m i t i v e   t y p e s   o r   m a p s .   F o r   e x a m p l e ,   c o n t a i n e r s ,   p o r t s ,   a n d   a r g s   a r e   l i s t s .   A c t i o n :   V a r i e s .   p r i m i t i v e :   A   f i e l d   o f   t y p e   s t r i n g ,   i n t e g e r ,   o r   b o o l e a n .   F o r   e x a m p l e ,   i m a g e   a n d   r e p l i c a s   a r e   p r i m i t i v e   f i e l d s .   A c t i o n :   R e p l a c e .   m a p ,   a l s o   c a l l e d   o b j e c t :   A   f i e l d   o f   t y p e   m a p   o r   a   c o m p l e x   t y p e   t h a t   c o n t a i n s   s u b f i e l d s .   F o r   e x a m p l e ,   l a b e l s ,   a n n o t a t i o n s , s p e c   a n d   m e t a d a t a   a r e   a l l   m a p s .   A c t i o n :   M e r g e   e l e m e n t s   o r   s u b f i e l d s .   l i s t :   A   f i e l d   c o n t a i n i n g   a   l i s t   o f   i t e m s   t h a t   c a n   b e   e i t h e r   p ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18570"
  },
  {
    "question": "What is Merging changes to primitive fields?",
    "answer": "P r i m i t i v e   f i e l d s   a r e   r e p l a c e d   o r   c l e a r e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18571"
  },
  {
    "question": "What is Merging changes to map fields?",
    "answer": "F i e l d s   t h a t   r e p r e s e n t   m a p s   a r e   m e r g e d   b y   c o m p a r i n g   e a c h   o f   t h e   s u b f i e l d s   o r   e l e m e n t s   o f   t h e   m a p :",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18572"
  },
  {
    "question": "What is Merging changes for fields of type list?",
    "answer": "M e r g i n g   c h a n g e s   t o   a   l i s t   u s e s   o n e   o f   t h r e e   s t r a t e g i e s :   R e p l a c e   t h e   l i s t   i f   a l l   i t s   e l e m e n t s   a r e   p r i m i t i v e s . M e r g e   i n d i v i d u a l   e l e m e n t s   i n   a   l i s t   o f   c o m p l e x   e l e m e n t s . M e r g e   a   l i s t   o f   p r i m i t i v e   e l e m e n t s .   T h e   c h o i c e   o f   s t r a t e g y   i s   m a d e   o n   a   p e r - f i e l d   b a s i s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18573"
  },
  {
    "question": "What is Replace the list if all its elements are primitives?",
    "answer": "T r e a t   t h e   l i s t   t h e   s a m e   a s   a   p r i m i t i v e   f i e l d .   R e p l a c e   o r   d e l e t e   t h e   e n t i r e   l i s t .   T h i s   p r e s e r v e s   o r d e r i n g .   E x a m p l e :   U s e   k u b e c t l   a p p l y   t o   u p d a t e   t h e   a r g s   f i e l d   o f   a   C o n t a i n e r   i n   a   P o d .   T h i s   s e t s   t h e   v a l u e   o f   a r g s   i n   t h e   l i v e   c o n f i g u r a t i o n   t o   t h e   v a l u e   i n   t h e   c o n f i g u r a t i o n   f i l e .   A n y   a r g s   e l e m e n t s   t h a t   h a d   p r e v i o u s l y   b e e n   a d d e d   t o   t h e   l i v e   c o n f i g u r a t i o n   a r e   l o s t .   T h e   o r d e r   o f   t h e   a r g s   e l e m e n t s   d e f i n e d   i n   t h e   c o n f i g u r a t i o n   f i l e   i s   r e t a i n e d   i n   t h e   l i v e   c o n f i g u r a t i o n .   #   l a s t - a p p l i e d - c o n f i g u r a t i o n   v a l u e   a r g s :   [ \" a \" ,   \" b \" ]   #   c o n f i g u r a t i o n   f i l e   v a l u e   a r g s :   [ \" a \" ,   \" c \" ]   #   l i v e   c o n f i g u r a t i o n   a r g s :   [ \" a \" ,   \" b \" ,   \" d \" ]   #   r e s u l t   a f t e r   m e r g e   a r g s :   [ \" a \" ,   \" c \" ]   E x p l a n a t i o n :   T h e   m e r g e   u s e d   t h e   c o n f i g u r a t i o n   f i l e   v a l u e   a s   t h e   n e w   l i s t   v a l u e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18574"
  },
  {
    "question": "What is Merge individual elements of a list of complex elements:?",
    "answer": "T r e a t   t h e   l i s t   a s   a   m a p ,   a n d   t r e a t   a   s p e c i f i c   f i e l d   o f   e a c h   e l e m e n t   a s   a   k e y .   A d d ,   d e l e t e ,   o r   u p d a t e   i n d i v i d u a l   e l e m e n t s .   T h i s   d o e s   n o t   p r e s e r v e   o r d e r i n g .   T h i s   m e r g e   s t r a t e g y   u s e s   a   s p e c i a l   t a g   o n   e a c h   f i e l d   c a l l e d   a   p a t c h M e r g e K e y .   T h e   p a t c h M e r g e K e y   i s   d e f i n e d   f o r   e a c h   f i e l d   i n   t h e   K u b e r n e t e s   s o u r c e   c o d e :   t y p e s . g o   W h e n   m e r g i n g   a   l i s t   o f   m a p s ,   t h e   f i e l d   s p e c i f i e d   a s   t h e   p a t c h M e r g e K e y   f o r   a   g i v e n   e l e m e n t   i s   u s e d   l i k e   a   m a p   k e y   f o r   t h a t   e l e m e n t .   E x a m p l e :   U s e   k u b e c t l   a p p l y   t o   u p d a t e   t h e   c o n t a i n e r s   f i e l d   o f   a   P o d S p e c .   T h i s   m e r g e s   t h e   l i s t   a s   t h o u g h   i t   w a s   a   m a p   w h e r e   e a c h   e l e m e n t   i s   k e y e d   b y   n a m e .   #   l a s t - a p p l i e d - c o n f i g u r a t i o n   v a l u e   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 6   -   n a m e :   n g i n x - h e l p e r - a   #   k e y :   n g i n x - h e l p e r - a ;   w i l l   b e   d e l e t e d   i n   r e s u l t   i m a g e :   h e l p e r : 1 . 3   -   n a m e :   n g i n x - h e l p e r - b   #   k e y :   n g i n x - h e l p e r - b ;   w i l l   b e   r e t a i n e d   i m a g e :   h e l p e r : 1 . 3   #   c o n f i g u r a t i o n   f i l e   v a l u e   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 6   -   n a m e :   n g i n x - h e l p e r - b   i m a g e :   h e l p e r : 1 . 3   -   n a m e :   n g i n x - h e l p e r - c   #   k e y :   n g i n x - h e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18575"
  },
  {
    "question": "What is Merge a list of primitive elements?",
    "answer": "A s   o f   K u b e r n e t e s   1 . 5 ,   m e r g i n g   l i s t s   o f   p r i m i t i v e   e l e m e n t s   i s   n o t   s u p p o r t e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18576"
  },
  {
    "question": "What is Default field values?",
    "answer": "T h e   A P I   s e r v e r   s e t s   c e r t a i n   f i e l d s   t o   d e f a u l t   v a l u e s   i n   t h e   l i v e   c o n f i g u r a t i o n   i f   t h e y   a r e   n o t   s p e c i f i e d   w h e n   t h e   o b j e c t   i s   c r e a t e d .   H e r e ' s   a   c o n f i g u r a t i o n   f i l e   f o r   a   D e p l o y m e n t .   T h e   f i l e   d o e s   n o t   s p e c i f y   s t r a t e g y :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   m i n R e a d y S e c o n d s :   5   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0   C r e a t e   t h e   o b j e c t   u s i n g   k u b e c t l   a p p l y :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / s i m p l e _ d e p l o y m e n t . y a m l   P r i n t   t h e   l i v e   c o n f i g u r a t i o n   u s i n g   k u b e c t l   g e t :   k u b e c t l   g e t   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / s i m p l e _ d e p l o y m e n t . y a m l   - o   y a m l   T h e   o u t p u t   s h o w s   t h a t   t h e   A P I   s e r v e r   s e t   s e v e r a l   f i e l d s   t o   d e f a u l t   v a l u e s   i n   t h e   l i v e   c o n f i g u r a t i o n .   T h e s e   f i e l d s   w e r e   n o t   s p e c i f i e d   i n   t h e   c o n f i g u r a t i o n   f i l e .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   #   . . .   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   m i n R e a d y S e c o n d s :   5   r e p l i c a s :   1   #   d e f a u l t e d   b y   a p i s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18577"
  },
  {
    "question": "What is How to clear server-defaulted fields or fields set by other writers?",
    "answer": "F i e l d s   t h a t   d o   n o t   a p p e a r   i n   t h e   c o n f i g u r a t i o n   f i l e   c a n   b e   c l e a r e d   b y   s e t t i n g   t h e i r   v a l u e s   t o   n u l l   a n d   t h e n   a p p l y i n g   t h e   c o n f i g u r a t i o n   f i l e .   F o r   f i e l d s   d e f a u l t e d   b y   t h e   s e r v e r ,   t h i s   t r i g g e r s   r e - d e f a u l t i n g   t h e   v a l u e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18578"
  },
  {
    "question": "What is How to change ownership of a field between the configuration file and direct imperative writers?",
    "answer": "T h e s e   a r e   t h e   o n l y   m e t h o d s   y o u   s h o u l d   u s e   t o   c h a n g e   a n   i n d i v i d u a l   o b j e c t   f i e l d :   U s e   k u b e c t l   a p p l y . W r i t e   d i r e c t l y   t o   t h e   l i v e   c o n f i g u r a t i o n   w i t h o u t   m o d i f y i n g   t h e   c o n f i g u r a t i o n   f i l e :   f o r   e x a m p l e ,   u s e   k u b e c t l   s c a l e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18579"
  },
  {
    "question": "What is Changing the owner from a direct imperative writer to a configuration file?",
    "answer": "A d d   t h e   f i e l d   t o   t h e   c o n f i g u r a t i o n   f i l e .   F o r   t h e   f i e l d ,   d i s c o n t i n u e   d i r e c t   u p d a t e s   t o   t h e   l i v e   c o n f i g u r a t i o n   t h a t   d o   n o t   g o   t h r o u g h   k u b e c t l   a p p l y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18580"
  },
  {
    "question": "What is Changing the owner from a configuration file to a direct imperative writer?",
    "answer": "A s   o f   K u b e r n e t e s   1 . 5 ,   c h a n g i n g   o w n e r s h i p   o f   a   f i e l d   f r o m   a   c o n f i g u r a t i o n   f i l e   t o   a n   i m p e r a t i v e   w r i t e r   r e q u i r e s   m a n u a l   s t e p s :   R e m o v e   t h e   f i e l d   f r o m   t h e   c o n f i g u r a t i o n   f i l e . R e m o v e   t h e   f i e l d   f r o m   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   o n   t h e   l i v e   o b j e c t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18581"
  },
  {
    "question": "What is Changing management methods?",
    "answer": "K u b e r n e t e s   o b j e c t s   s h o u l d   b e   m a n a g e d   u s i n g   o n l y   o n e   m e t h o d   a t   a   t i m e .   S w i t c h i n g   f r o m   o n e   m e t h o d   t o   a n o t h e r   i s   p o s s i b l e ,   b u t   i s   a   m a n u a l   p r o c e s s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18582"
  },
  {
    "question": "What is Migrating from imperative command management to declarative object configuration?",
    "answer": "M i g r a t i n g   f r o m   i m p e r a t i v e   c o m m a n d   m a n a g e m e n t   t o   d e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n   i n v o l v e s   s e v e r a l   m a n u a l   s t e p s :   E x p o r t   t h e   l i v e   o b j e c t   t o   a   l o c a l   c o n f i g u r a t i o n   f i l e : k u b e c t l   g e t   < k i n d > / < n a m e >   - o   y a m l   >   < k i n d > _ < n a m e > . y a m l   M a n u a l l y   r e m o v e   t h e   s t a t u s   f i e l d   f r o m   t h e   c o n f i g u r a t i o n   f i l e . N o t e : T h i s   s t e p   i s   o p t i o n a l ,   a s   k u b e c t l   a p p l y   d o e s   n o t   u p d a t e   t h e   s t a t u s   f i e l d   e v e n   i f   i t   i s   p r e s e n t   i n   t h e   c o n f i g u r a t i o n   f i l e . S e t   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   o n   t h e   o b j e c t : k u b e c t l   r e p l a c e   - - s a v e - c o n f i g   - f   < k i n d > _ < n a m e > . y a m l   C h a n g e   p r o c e s s e s   t o   u s e   k u b e c t l   a p p l y   f o r   m a n a g i n g   t h e   o b j e c t   e x c l u s i v e l y .   E x p o r t   t h e   l i v e   o b j e c t   t o   a   l o c a l   c o n f i g u r a t i o n   f i l e :   k u b e c t l   g e t   < k i n d > / < n a m e >   - o   y a m l   >   < k i n d > _ < n a m e > . y a m l   M a n u a l l y   r e m o v e   t h e   s t a t u s   f i e l d   f r o m   t h e   c o n f i g u r a t i o n   f i l e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18583"
  },
  {
    "question": "What is Note:?",
    "answer": "S e t   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   o n   t h e   o b j e c t :   k u b e c t l   r e p l a c e   - - s a v e - c o n f i g   - f   < k i n d > _ < n a m e > . y a m l   C h a n g e   p r o c e s s e s   t o   u s e   k u b e c t l   a p p l y   f o r   m a n a g i n g   t h e   o b j e c t   e x c l u s i v e l y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18584"
  },
  {
    "question": "What is Migrating from imperative object configuration to declarative object configuration?",
    "answer": "S e t   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   o n   t h e   o b j e c t : k u b e c t l   r e p l a c e   - - s a v e - c o n f i g   - f   < k i n d > _ < n a m e > . y a m l   C h a n g e   p r o c e s s e s   t o   u s e   k u b e c t l   a p p l y   f o r   m a n a g i n g   t h e   o b j e c t   e x c l u s i v e l y .   S e t   t h e   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   o n   t h e   o b j e c t :   k u b e c t l   r e p l a c e   - - s a v e - c o n f i g   - f   < k i n d > _ < n a m e > . y a m l   C h a n g e   p r o c e s s e s   t o   u s e   k u b e c t l   a p p l y   f o r   m a n a g i n g   t h e   o b j e c t   e x c l u s i v e l y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18585"
  },
  {
    "question": "What is Warning:?",
    "answer": "T h e   r e c o m m e n d e d   a p p r o a c h   i s   t o   d e f i n e   a   s i n g l e ,   i m m u t a b l e   P o d T e m p l a t e   l a b e l   u s e d   o n l y   b y   t h e   c o n t r o l l e r   s e l e c t o r   w i t h   n o   o t h e r   s e m a n t i c   m e a n i n g .   E x a m p l e :   s e l e c t o r :   m a t c h L a b e l s :   c o n t r o l l e r - s e l e c t o r :   \" a p p s / v 1 / d e p l o y m e n t / n g i n x \"   t e m p l a t e :   m e t a d a t a :   l a b e l s :   c o n t r o l l e r - s e l e c t o r :   \" a p p s / v 1 / d e p l o y m e n t / n g i n x \"",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18586"
  },
  {
    "question": "What is What's next?",
    "answer": "M a n a g i n g   K u b e r n e t e s   O b j e c t s   U s i n g   I m p e r a t i v e   C o m m a n d s I m p e r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s K u b e c t l   C o m m a n d   R e f e r e n c e K u b e r n e t e s   A P I   R e f e r e n c e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18587"
  },
  {
    "question": "What is 5.2 - Declarative Management of Kubernetes Objects Using Kustomize?",
    "answer": "K u s t o m i z e   i s   a   s t a n d a l o n e   t o o l   t o   c u s t o m i z e   K u b e r n e t e s   o b j e c t s   t h r o u g h   a   k u s t o m i z a t i o n   f i l e .   S i n c e   1 . 1 4 ,   k u b e c t l   a l s o   s u p p o r t s   t h e   m a n a g e m e n t   o f   K u b e r n e t e s   o b j e c t s   u s i n g   a   k u s t o m i z a t i o n   f i l e .   T o   v i e w   r e s o u r c e s   f o u n d   i n   a   d i r e c t o r y   c o n t a i n i n g   a   k u s t o m i z a t i o n   f i l e ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   k u s t o m i z e   < k u s t o m i z a t i o n _ d i r e c t o r y >   T o   a p p l y   t h o s e   r e s o u r c e s ,   r u n   k u b e c t l   a p p l y   w i t h   - - k u s t o m i z e   o r   - k   f l a g :   k u b e c t l   a p p l y   - k   < k u s t o m i z a t i o n _ d i r e c t o r y >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18588"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n s t a l l   k u b e c t l .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18589"
  },
  {
    "question": "What is Overview of Kustomize?",
    "answer": "K u s t o m i z e   i s   a   t o o l   f o r   c u s t o m i z i n g   K u b e r n e t e s   c o n f i g u r a t i o n s .   I t   h a s   t h e   f o l l o w i n g   f e a t u r e s   t o   m a n a g e   a p p l i c a t i o n   c o n f i g u r a t i o n   f i l e s :   g e n e r a t i n g   r e s o u r c e s   f r o m   o t h e r   s o u r c e s s e t t i n g   c r o s s - c u t t i n g   f i e l d s   f o r   r e s o u r c e s c o m p o s i n g   a n d   c u s t o m i z i n g   c o l l e c t i o n s   o f   r e s o u r c e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18590"
  },
  {
    "question": "What is Generating Resources?",
    "answer": "C o n f i g M a p s   a n d   S e c r e t s   h o l d   c o n f i g u r a t i o n   o r   s e n s i t i v e   d a t a   t h a t   a r e   u s e d   b y   o t h e r   K u b e r n e t e s   o b j e c t s ,   s u c h   a s   P o d s .   T h e   s o u r c e   o f   t r u t h   o f   C o n f i g M a p s   o r   S e c r e t s   a r e   u s u a l l y   e x t e r n a l   t o   a   c l u s t e r ,   s u c h   a s   a   . p r o p e r t i e s   f i l e   o r   a n   S S H   k e y f i l e .   K u s t o m i z e   h a s   s e c r e t G e n e r a t o r   a n d   c o n f i g M a p G e n e r a t o r ,   w h i c h   g e n e r a t e   S e c r e t   a n d   C o n f i g M a p   f r o m   f i l e s   o r   l i t e r a l s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18591"
  },
  {
    "question": "What is configMapGenerator?",
    "answer": "T o   g e n e r a t e   a   C o n f i g M a p   f r o m   a   f i l e ,   a d d   a n   e n t r y   t o   t h e   f i l e s   l i s t   i n   c o n f i g M a p G e n e r a t o r .   H e r e   i s   a n   e x a m p l e   o f   g e n e r a t i n g   a   C o n f i g M a p   w i t h   a   d a t a   i t e m   f r o m   a   . p r o p e r t i e s   f i l e :   #   C r e a t e   a   a p p l i c a t i o n . p r o p e r t i e s   f i l e   c a t   < < E O F   > a p p l i c a t i o n . p r o p e r t i e s   F O O = B a r   E O F   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   c o n f i g M a p G e n e r a t o r :   -   n a m e :   e x a m p l e - c o n f i g m a p - 1   f i l e s :   -   a p p l i c a t i o n . p r o p e r t i e s   E O F   T h e   g e n e r a t e d   C o n f i g M a p   c a n   b e   e x a m i n e d   w i t h   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   k u s t o m i z e   . /   T h e   g e n e r a t e d   C o n f i g M a p   i s :   a p i V e r s i o n :   v 1   d a t a :   a p p l i c a t i o n . p r o p e r t i e s :   |   F O O = B a r   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   e x a m p l e - c o n f i g m a p - 1 - 8 m b d f 7 8 8 2 g   T o   g e n e r a t e   a   C o n f i g M a p   f r o m   a n   e n v   f i l e ,   a d d   a n   e n t r y   t o   t h e   e n v s   l i s t   i n   c o n f i g M a p G e n e r a t o r .   H e r e   i s   a n   e x a m p l e   o f   g e n e r a t i n g   a   C o n f i g M a p   w i t h   a   d a t a   i t e m   f r o m   a   . e n v   f i l e :   #   C r e a t e   a   . e n v   f i l e   c a t   < < E O F   > . e n v   F O O = B a r   E O F   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   c o n f i g M a p G e n e r a t o r :   -   n a m e :   e x a m p l e - c o n f i g m a p - 1   e n v s :   -   . e n v   E O F   T h e   g e n e r a t e d   C o n f i g M a p   c a n   b e   e x a m i n e d   w i t h   t h e   f o l l o w i n g   c o m m a n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18592"
  },
  {
    "question": "What is Note:?",
    "answer": "C o n f i g M a p s   c a n   a l s o   b e   g e n e r a t e d   f r o m   l i t e r a l   k e y - v a l u e   p a i r s .   T o   g e n e r a t e   a   C o n f i g M a p   f r o m   a   l i t e r a l   k e y - v a l u e   p a i r ,   a d d   a n   e n t r y   t o   t h e   l i t e r a l s   l i s t   i n   c o n f i g M a p G e n e r a t o r .   H e r e   i s   a n   e x a m p l e   o f   g e n e r a t i n g   a   C o n f i g M a p   w i t h   a   d a t a   i t e m   f r o m   a   k e y - v a l u e   p a i r :   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   c o n f i g M a p G e n e r a t o r :   -   n a m e :   e x a m p l e - c o n f i g m a p - 2   l i t e r a l s :   -   F O O = B a r   E O F   T h e   g e n e r a t e d   C o n f i g M a p   c a n   b e   c h e c k e d   b y   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   k u s t o m i z e   . /   T h e   g e n e r a t e d   C o n f i g M a p   i s :   a p i V e r s i o n :   v 1   d a t a :   F O O :   B a r   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   e x a m p l e - c o n f i g m a p - 2 - g 2 h d h f c 6 t k   T o   u s e   a   g e n e r a t e d   C o n f i g M a p   i n   a   D e p l o y m e n t ,   r e f e r e n c e   i t   b y   t h e   n a m e   o f   t h e   c o n f i g M a p G e n e r a t o r .   K u s t o m i z e   w i l l   a u t o m a t i c a l l y   r e p l a c e   t h i s   n a m e   w i t h   t h e   g e n e r a t e d   n a m e .   T h i s   i s   a n   e x a m p l e   d e p l o y m e n t   t h a t   u s e s   a   g e n e r a t e d   C o n f i g M a p :   #   C r e a t e   a n   a p p l i c a t i o n . p r o p e r t i e s   f i l e   c a t   < < E O F   > a p p l i c a t i o n . p r o p e r t i e s   F O O = B a r   E O F   c a t   < < E O F   > d e p l o y m e n t . y a m l   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   m y - a p p   l a b e l s :   a p p :   m y - a p p   s p e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18593"
  },
  {
    "question": "What is secretGenerator?",
    "answer": "Y o u   c a n   g e n e r a t e   S e c r e t s   f r o m   f i l e s   o r   l i t e r a l   k e y - v a l u e   p a i r s .   T o   g e n e r a t e   a   S e c r e t   f r o m   a   f i l e ,   a d d   a n   e n t r y   t o   t h e   f i l e s   l i s t   i n   s e c r e t G e n e r a t o r .   H e r e   i s   a n   e x a m p l e   o f   g e n e r a t i n g   a   S e c r e t   w i t h   a   d a t a   i t e m   f r o m   a   f i l e :   #   C r e a t e   a   p a s s w o r d . t x t   f i l e   c a t   < < E O F   > . / p a s s w o r d . t x t   u s e r n a m e = a d m i n   p a s s w o r d = s e c r e t   E O F   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   s e c r e t G e n e r a t o r :   -   n a m e :   e x a m p l e - s e c r e t - 1   f i l e s :   -   p a s s w o r d . t x t   E O F   T h e   g e n e r a t e d   S e c r e t   i s   a s   f o l l o w s :   a p i V e r s i o n :   v 1   d a t a :   p a s s w o r d . t x t :   d X N l c m 5 h b W U 9 Y W R t a W 4 K c G F z c 3 d v c m Q 9 c 2 V j c m V 0 C g = =   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   e x a m p l e - s e c r e t - 1 - t 2 k t 6 5 h g t b   t y p e :   O p a q u e   T o   g e n e r a t e   a   S e c r e t   f r o m   a   l i t e r a l   k e y - v a l u e   p a i r ,   a d d   a n   e n t r y   t o   l i t e r a l s   l i s t   i n   s e c r e t G e n e r a t o r .   H e r e   i s   a n   e x a m p l e   o f   g e n e r a t i n g   a   S e c r e t   w i t h   a   d a t a   i t e m   f r o m   a   k e y - v a l u e   p a i r :   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   s e c r e t G e n e r a t o r :   -   n a m e :   e x a m p l e - s e c r e t - 2   l i t e r a l s :   -   u s e r n a m e = a d m i n   -   p a s s w o r d = s e c r e t   E O F   T h e   g e n e r a t e d   S e c r e t   i s   a s   f o l l o w s :   a p i V e r s i o n :   v 1   d a t a :   p a s s w o r d :   c 2 V j c m V 0   u s e r n a m e :   Y W R t a W 4 =   k ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18594"
  },
  {
    "question": "What is generatorOptions?",
    "answer": "T h e   g e n e r a t e d   C o n f i g M a p s   a n d   S e c r e t s   h a v e   a   c o n t e n t   h a s h   s u f f i x   a p p e n d e d .   T h i s   e n s u r e s   t h a t   a   n e w   C o n f i g M a p   o r   S e c r e t   i s   g e n e r a t e d   w h e n   t h e   c o n t e n t s   a r e   c h a n g e d .   T o   d i s a b l e   t h e   b e h a v i o r   o f   a p p e n d i n g   a   s u f f i x ,   o n e   c a n   u s e   g e n e r a t o r O p t i o n s .   B e s i d e s   t h a t ,   i t   i s   a l s o   p o s s i b l e   t o   s p e c i f y   c r o s s - c u t t i n g   o p t i o n s   f o r   g e n e r a t e d   C o n f i g M a p s   a n d   S e c r e t s .   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   c o n f i g M a p G e n e r a t o r :   -   n a m e :   e x a m p l e - c o n f i g m a p - 3   l i t e r a l s :   -   F O O = B a r   g e n e r a t o r O p t i o n s :   d i s a b l e N a m e S u f f i x H a s h :   t r u e   l a b e l s :   t y p e :   g e n e r a t e d   a n n o t a t i o n s :   n o t e :   g e n e r a t e d   E O F   R u n k u b e c t l   k u s t o m i z e   . /   t o   v i e w   t h e   g e n e r a t e d   C o n f i g M a p :   a p i V e r s i o n :   v 1   d a t a :   F O O :   B a r   k i n d :   C o n f i g M a p   m e t a d a t a :   a n n o t a t i o n s :   n o t e :   g e n e r a t e d   l a b e l s :   t y p e :   g e n e r a t e d   n a m e :   e x a m p l e - c o n f i g m a p - 3",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18595"
  },
  {
    "question": "What is Setting cross-cutting fields?",
    "answer": "I t   i s   q u i t e   c o m m o n   t o   s e t   c r o s s - c u t t i n g   f i e l d s   f o r   a l l   K u b e r n e t e s   r e s o u r c e s   i n   a   p r o j e c t .   S o m e   u s e   c a s e s   f o r   s e t t i n g   c r o s s - c u t t i n g   f i e l d s :   s e t t i n g   t h e   s a m e   n a m e s p a c e   f o r   a l l   r e s o u r c e s a d d i n g   t h e   s a m e   n a m e   p r e f i x   o r   s u f f i x a d d i n g   t h e   s a m e   s e t   o f   l a b e l s a d d i n g   t h e   s a m e   s e t   o f   a n n o t a t i o n s   H e r e   i s   a n   e x a m p l e :   #   C r e a t e   a   d e p l o y m e n t . y a m l   c a t   < < E O F   > . / d e p l o y m e n t . y a m l   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   l a b e l s :   a p p :   n g i n x   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   E O F   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   n a m e s p a c e :   m y - n a m e s p a c e   n a m e P r e f i x :   d e v -   n a m e S u f f i x :   \" - 0 0 1 \"   l a b e l s :   -   p a i r s :   a p p :   b i n g o   i n c l u d e S e l e c t o r s :   t r u e   c o m m o n A n n o t a t i o n s :   o n c a l l P a g e r :   8 0 0 - 5 5 5 - 1 2 1 2   r e s o u r c e s :   -   d e p l o y m e n t . y a m l   E O F   R u n   k u b e c t l   k u s t o m i z e   . /   t o   v i e w   t h o s e   f i e l d s   a r e   a l l   s e t   i n   t h e   D e p l o y m e n t   R e s o u r c e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   a n n o t a t i o n s :   o n c a l l P a g e r :   8 0 0 - 5 5 5 - 1 2 1 2   l a b e l s :   a p p :   b i n g o   n a m e :   d e v - n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18596"
  },
  {
    "question": "What is Composing and Customizing Resources?",
    "answer": "I t   i s   c o m m o n   t o   c o m p o s e   a   s e t   o f   r e s o u r c e s   i n   a   p r o j e c t   a n d   m a n a g e   t h e m   i n s i d e   t h e   s a m e   f i l e   o r   d i r e c t o r y .   K u s t o m i z e   o f f e r s   c o m p o s i n g   r e s o u r c e s   f r o m   d i f f e r e n t   f i l e s   a n d   a p p l y i n g   p a t c h e s   o r   o t h e r   c u s t o m i z a t i o n   t o   t h e m .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18597"
  },
  {
    "question": "What is Composing?",
    "answer": "K u s t o m i z e   s u p p o r t s   c o m p o s i t i o n   o f   d i f f e r e n t   r e s o u r c e s .   T h e   r e s o u r c e s   f i e l d ,   i n   t h e   k u s t o m i z a t i o n . y a m l   f i l e ,   d e f i n e s   t h e   l i s t   o f   r e s o u r c e s   t o   i n c l u d e   i n   a   c o n f i g u r a t i o n .   S e t   t h e   p a t h   t o   a   r e s o u r c e ' s   c o n f i g u r a t i o n   f i l e   i n   t h e   r e s o u r c e s   l i s t .   H e r e   i s   a n   e x a m p l e   o f   a n   N G I N X   a p p l i c a t i o n   c o m p r i s e d   o f   a   D e p l o y m e n t   a n d   a   S e r v i c e :   #   C r e a t e   a   d e p l o y m e n t . y a m l   f i l e   c a t   < < E O F   >   d e p l o y m e n t . y a m l   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   m y - n g i n x   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   r u n :   m y - n g i n x   r e p l i c a s :   2   t e m p l a t e :   m e t a d a t a :   l a b e l s :   r u n :   m y - n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   m y - n g i n x   i m a g e :   n g i n x   p o r t s :   -   c o n t a i n e r P o r t :   8 0   E O F   #   C r e a t e   a   s e r v i c e . y a m l   f i l e   c a t   < < E O F   >   s e r v i c e . y a m l   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - n g i n x   l a b e l s :   r u n :   m y - n g i n x   s p e c :   p o r t s :   -   p o r t :   8 0   p r o t o c o l :   T C P   s e l e c t o r :   r u n :   m y - n g i n x   E O F   #   C r e a t e   a   k u s t o m i z a t i o n . y a m l   c o m p o s i n g   t h e m   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   r e s o u r c e s :   -   d e p l o y m e n t . y a m l   -   s e r v i c e . y a m l   E O F   T h e   r e s o u r c e s   f r o m   k u b e c t l   k u s t o m i z e   . /   c o n t a i n   b o t h   t h e   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18598"
  },
  {
    "question": "What is Customizing?",
    "answer": "P a t c h e s   c a n   b e   u s e d   t o   a p p l y   d i f f e r e n t   c u s t o m i z a t i o n s   t o   r e s o u r c e s .   K u s t o m i z e   s u p p o r t s   d i f f e r e n t   p a t c h i n g   m e c h a n i s m s   t h r o u g h   S t r a t e g i c M e r g e   a n d   J s o n 6 9 0 2   u s i n g   t h e   p a t c h e s   f i e l d .   p a t c h e s   m a y   b e   a   f i l e   o r   a n   i n l i n e   s t r i n g ,   t a r g e t i n g   a   s i n g l e   o r   m u l t i p l e   r e s o u r c e s .   T h e   p a t c h e s   f i e l d   c o n t a i n s   a   l i s t   o f   p a t c h e s   a p p l i e d   i n   t h e   o r d e r   t h e y   a r e   s p e c i f i e d .   T h e   p a t c h   t a r g e t   s e l e c t s   r e s o u r c e s   b y   g r o u p ,   v e r s i o n ,   k i n d ,   n a m e ,   n a m e s p a c e ,   l a b e l S e l e c t o r   a n d   a n n o t a t i o n S e l e c t o r .   S m a l l   p a t c h e s   t h a t   d o   o n e   t h i n g   a r e   r e c o m m e n d e d .   F o r   e x a m p l e ,   c r e a t e   o n e   p a t c h   f o r   i n c r e a s i n g   t h e   d e p l o y m e n t   r e p l i c a   n u m b e r   a n d   a n o t h e r   p a t c h   f o r   s e t t i n g   t h e   m e m o r y   l i m i t .   T h e   t a r g e t   r e s o u r c e   i s   m a t c h e d   u s i n g   g r o u p ,   v e r s i o n ,   k i n d ,   a n d   n a m e   f i e l d s   f r o m   t h e   p a t c h   f i l e .   #   C r e a t e   a   d e p l o y m e n t . y a m l   f i l e   c a t   < < E O F   >   d e p l o y m e n t . y a m l   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   m y - n g i n x   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   r u n :   m y - n g i n x   r e p l i c a s :   2   t e m p l a t e :   m e t a d a t a :   l a b e l s :   r u n :   m y - n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   m y - n g i n x   i m a g e :   n g i n x   p ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18599"
  },
  {
    "question": "What is Bases and Overlays?",
    "answer": "K u s t o m i z e   h a s   t h e   c o n c e p t s   o f   b a s e s   a n d   o v e r l a y s .   A   b a s e   i s   a   d i r e c t o r y   w i t h   a   k u s t o m i z a t i o n . y a m l ,   w h i c h   c o n t a i n s   a   s e t   o f   r e s o u r c e s   a n d   a s s o c i a t e d   c u s t o m i z a t i o n .   A   b a s e   c o u l d   b e   e i t h e r   a   l o c a l   d i r e c t o r y   o r   a   d i r e c t o r y   f r o m   a   r e m o t e   r e p o ,   a s   l o n g   a s   a   k u s t o m i z a t i o n . y a m l   i s   p r e s e n t   i n s i d e .   A n   o v e r l a y   i s   a   d i r e c t o r y   w i t h   a   k u s t o m i z a t i o n . y a m l   t h a t   r e f e r s   t o   o t h e r   k u s t o m i z a t i o n   d i r e c t o r i e s   a s   i t s   b a s e s .   A   b a s e   h a s   n o   k n o w l e d g e   o f   a n   o v e r l a y   a n d   c a n   b e   u s e d   i n   m u l t i p l e   o v e r l a y s .   T h e   k u s t o m i z a t i o n . y a m l   i n   a n   o v e r l a y   d i r e c t o r y   m a y   r e f e r   t o   m u l t i p l e   b a s e s ,   c o m b i n i n g   a l l   t h e   r e s o u r c e s   d e f i n e d   i n   t h e s e   b a s e s   i n t o   a   u n i f i e d   c o n f i g u r a t i o n .   A d d i t i o n a l l y ,   i t   c a n   a p p l y   c u s t o m i z a t i o n s   o n   t o p   o f   t h e s e   r e s o u r c e s   t o   m e e t   s p e c i f i c   r e q u i r e m e n t s .   H e r e   i s   a n   e x a m p l e   o f   a   b a s e :   #   C r e a t e   a   d i r e c t o r y   t o   h o l d   t h e   b a s e   m k d i r   b a s e   #   C r e a t e   a   b a s e / d e p l o y m e n t . y a m l   c a t   < < E O F   >   b a s e / d e p l o y m e n t . y a m l   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   m y - n g i n x   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   r u n :   m y - n g i n x   r e p l i c a s :   2   t e m p ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18600"
  },
  {
    "question": "What is How to apply/view/delete objects using Kustomize?",
    "answer": "U s e   - - k u s t o m i z e   o r   - k   i n   k u b e c t l   c o m m a n d s   t o   r e c o g n i z e   r e s o u r c e s   m a n a g e d   b y   k u s t o m i z a t i o n . y a m l .   N o t e   t h a t   - k   s h o u l d   p o i n t   t o   a   k u s t o m i z a t i o n   d i r e c t o r y ,   s u c h   a s   k u b e c t l   a p p l y   - k   < k u s t o m i z a t i o n   d i r e c t o r y > /   G i v e n   t h e   f o l l o w i n g   k u s t o m i z a t i o n . y a m l ,   #   C r e a t e   a   d e p l o y m e n t . y a m l   f i l e   c a t   < < E O F   >   d e p l o y m e n t . y a m l   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   m y - n g i n x   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   r u n :   m y - n g i n x   r e p l i c a s :   2   t e m p l a t e :   m e t a d a t a :   l a b e l s :   r u n :   m y - n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   m y - n g i n x   i m a g e :   n g i n x   p o r t s :   -   c o n t a i n e r P o r t :   8 0   E O F   #   C r e a t e   a   k u s t o m i z a t i o n . y a m l   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   n a m e P r e f i x :   d e v -   l a b e l s :   -   p a i r s :   a p p :   m y - n g i n x   i n c l u d e S e l e c t o r s :   t r u e   r e s o u r c e s :   -   d e p l o y m e n t . y a m l   E O F   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   a p p l y   t h e   D e p l o y m e n t   o b j e c t   d e v - m y - n g i n x :   >   k u b e c t l   a p p l y   - k   . /   d e p l o y m e n t . a p p s / d e v - m y - n g i n x   c r e a t e d   R u n   o n e   o f   t h e   f o l l o w i n g   c o m m a n d s   t o   v i e w   t h e   D e p l o y m e n t   o b j e c t   d e v - m y - n g i n x :   k u b e c t l   g e t   - k   . /   k u b e c t l   d e s c r i b e   - k   . /   R u n   t h e   f o l l o w i n g   c o m m a n d   t o   c o m p a r e   t h e   D e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18601"
  },
  {
    "question": "What is What's next?",
    "answer": "K u s t o m i z e K u b e c t l   B o o k K u b e c t l   C o m m a n d   R e f e r e n c e K u b e r n e t e s   A P I   R e f e r e n c e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18602"
  },
  {
    "question": "What is 5.3 - Managing Kubernetes Objects Using Imperative Commands?",
    "answer": "K u b e r n e t e s   o b j e c t s   c a n   q u i c k l y   b e   c r e a t e d ,   u p d a t e d ,   a n d   d e l e t e d   d i r e c t l y   u s i n g   i m p e r a t i v e   c o m m a n d s   b u i l t   i n t o   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l .   T h i s   d o c u m e n t   e x p l a i n s   h o w   t h o s e   c o m m a n d s   a r e   o r g a n i z e d   a n d   h o w   t o   u s e   t h e m   t o   m a n a g e   l i v e   o b j e c t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18603"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n s t a l l   k u b e c t l .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18604"
  },
  {
    "question": "What is Trade-offs?",
    "answer": "T h e   k u b e c t l   t o o l   s u p p o r t s   t h r e e   k i n d s   o f   o b j e c t   m a n a g e m e n t :   I m p e r a t i v e   c o m m a n d s I m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n D e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n   S e e   K u b e r n e t e s   O b j e c t   M a n a g e m e n t   f o r   a   d i s c u s s i o n   o f   t h e   a d v a n t a g e s   a n d   d i s a d v a n t a g e   o f   e a c h   k i n d   o f   o b j e c t   m a n a g e m e n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18605"
  },
  {
    "question": "What is How to create objects?",
    "answer": "T h e   k u b e c t l   t o o l   s u p p o r t s   v e r b - d r i v e n   c o m m a n d s   f o r   c r e a t i n g   s o m e   o f   t h e   m o s t   c o m m o n   o b j e c t   t y p e s .   T h e   c o m m a n d s   a r e   n a m e d   t o   b e   r e c o g n i z a b l e   t o   u s e r s   u n f a m i l i a r   w i t h   t h e   K u b e r n e t e s   o b j e c t   t y p e s .   r u n :   C r e a t e   a   n e w   P o d   t o   r u n   a   C o n t a i n e r . e x p o s e :   C r e a t e   a   n e w   S e r v i c e   o b j e c t   t o   l o a d   b a l a n c e   t r a f f i c   a c r o s s   P o d s . a u t o s c a l e :   C r e a t e   a   n e w   A u t o s c a l e r   o b j e c t   t o   a u t o m a t i c a l l y   h o r i z o n t a l l y   s c a l e   a   c o n t r o l l e r ,   s u c h   a s   a   D e p l o y m e n t .   T h e   k u b e c t l   t o o l   a l s o   s u p p o r t s   c r e a t i o n   c o m m a n d s   d r i v e n   b y   o b j e c t   t y p e .   T h e s e   c o m m a n d s   s u p p o r t   m o r e   o b j e c t   t y p e s   a n d   a r e   m o r e   e x p l i c i t   a b o u t   t h e i r   i n t e n t ,   b u t   r e q u i r e   u s e r s   t o   k n o w   t h e   t y p e   o f   o b j e c t s   t h e y   i n t e n d   t o   c r e a t e .   c r e a t e   < o b j e c t t y p e >   [ < s u b t y p e > ]   < i n s t a n c e n a m e >   S o m e   o b j e c t s   t y p e s   h a v e   s u b t y p e s   t h a t   y o u   c a n   s p e c i f y   i n   t h e   c r e a t e   c o m m a n d .   F o r   e x a m p l e ,   t h e   S e r v i c e   o b j e c t   h a s   s e v e r a l   s u b t y p e s   i n c l u d i n g   C l u s t e r I P ,   L o a d B a l a n c e r ,   a n d   N o d e P o r t .   H e r e ' s   a n   e x a m p l e   t h a t   c r e a t e s   a   S e r v i c e   w i t h   s u b t y p e   N o d e P o r t :   k u b e c t l   c r e a t e   s e r v i c e   n o d e p o r t   < m y s e r v i c e n a m e >   I n   t h e   p r e c e d i n g   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18606"
  },
  {
    "question": "What is How to update objects?",
    "answer": "T h e   k u b e c t l   c o m m a n d   s u p p o r t s   v e r b - d r i v e n   c o m m a n d s   f o r   s o m e   c o m m o n   u p d a t e   o p e r a t i o n s .   T h e s e   c o m m a n d s   a r e   n a m e d   t o   e n a b l e   u s e r s   u n f a m i l i a r   w i t h   K u b e r n e t e s   o b j e c t s   t o   p e r f o r m   u p d a t e s   w i t h o u t   k n o w i n g   t h e   s p e c i f i c   f i e l d s   t h a t   m u s t   b e   s e t :   s c a l e :   H o r i z o n t a l l y   s c a l e   a   c o n t r o l l e r   t o   a d d   o r   r e m o v e   P o d s   b y   u p d a t i n g   t h e   r e p l i c a   c o u n t   o f   t h e   c o n t r o l l e r . a n n o t a t e :   A d d   o r   r e m o v e   a n   a n n o t a t i o n   f r o m   a n   o b j e c t . l a b e l :   A d d   o r   r e m o v e   a   l a b e l   f r o m   a n   o b j e c t .   T h e   k u b e c t l   c o m m a n d   a l s o   s u p p o r t s   u p d a t e   c o m m a n d s   d r i v e n   b y   a n   a s p e c t   o f   t h e   o b j e c t .   S e t t i n g   t h i s   a s p e c t   m a y   s e t   d i f f e r e n t   f i e l d s   f o r   d i f f e r e n t   o b j e c t   t y p e s :   s e t   < f i e l d > :   S e t   a n   a s p e c t   o f   a n   o b j e c t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18607"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   k u b e c t l   t o o l   s u p p o r t s   t h e s e   a d d i t i o n a l   w a y s   t o   u p d a t e   a   l i v e   o b j e c t   d i r e c t l y ,   h o w e v e r   t h e y   r e q u i r e   a   b e t t e r   u n d e r s t a n d i n g   o f   t h e   K u b e r n e t e s   o b j e c t   s c h e m a .   e d i t :   D i r e c t l y   e d i t   t h e   r a w   c o n f i g u r a t i o n   o f   a   l i v e   o b j e c t   b y   o p e n i n g   i t s   c o n f i g u r a t i o n   i n   a n   e d i t o r . p a t c h :   D i r e c t l y   m o d i f y   s p e c i f i c   f i e l d s   o f   a   l i v e   o b j e c t   b y   u s i n g   a   p a t c h   s t r i n g .   F o r   m o r e   d e t a i l s   o n   p a t c h   s t r i n g s ,   s e e   t h e   p a t c h   s e c t i o n   i n   A P I   C o n v e n t i o n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18608"
  },
  {
    "question": "What is How to delete objects?",
    "answer": "Y o u   c a n   u s e   t h e   d e l e t e   c o m m a n d   t o   d e l e t e   a n   o b j e c t   f r o m   a   c l u s t e r :   d e l e t e   < t y p e > / < n a m e >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18609"
  },
  {
    "question": "What is Note:?",
    "answer": "k u b e c t l   d e l e t e   d e p l o y m e n t / n g i n x",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18610"
  },
  {
    "question": "What is How to view an object?",
    "answer": "T h e r e   a r e   s e v e r a l   c o m m a n d s   f o r   p r i n t i n g   i n f o r m a t i o n   a b o u t   a n   o b j e c t :   g e t :   P r i n t s   b a s i c   i n f o r m a t i o n   a b o u t   m a t c h i n g   o b j e c t s .   U s e   g e t   - h   t o   s e e   a   l i s t   o f   o p t i o n s . d e s c r i b e :   P r i n t s   a g g r e g a t e d   d e t a i l e d   i n f o r m a t i o n   a b o u t   m a t c h i n g   o b j e c t s . l o g s :   P r i n t s   t h e   s t d o u t   a n d   s t d e r r   f o r   a   c o n t a i n e r   r u n n i n g   i n   a   P o d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18611"
  },
  {
    "question": "What is Using set commands to modify objects before creation?",
    "answer": "T h e r e   a r e   s o m e   o b j e c t   f i e l d s   t h a t   d o n ' t   h a v e   a   f l a g   y o u   c a n   u s e   i n   a   c r e a t e   c o m m a n d .   I n   s o m e   o f   t h o s e   c a s e s ,   y o u   c a n   u s e   a   c o m b i n a t i o n   o f   s e t   a n d   c r e a t e   t o   s p e c i f y   a   v a l u e   f o r   t h e   f i e l d   b e f o r e   o b j e c t   c r e a t i o n .   T h i s   i s   d o n e   b y   p i p i n g   t h e   o u t p u t   o f   t h e   c r e a t e   c o m m a n d   t o   t h e   s e t   c o m m a n d ,   a n d   t h e n   b a c k   t o   t h e   c r e a t e   c o m m a n d .   H e r e ' s   a n   e x a m p l e :   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   m y - s v c   - - c l u s t e r i p = \" N o n e \"   - o   y a m l   - - d r y - r u n = c l i e n t   |   k u b e c t l   s e t   s e l e c t o r   - - l o c a l   - f   -   ' e n v i r o n m e n t = q a '   - o   y a m l   |   k u b e c t l   c r e a t e   - f   -   T h e   k u b e c t l   c r e a t e   s e r v i c e   - o   y a m l   - - d r y - r u n = c l i e n t   c o m m a n d   c r e a t e s   t h e   c o n f i g u r a t i o n   f o r   t h e   S e r v i c e ,   b u t   p r i n t s   i t   t o   s t d o u t   a s   Y A M L   i n s t e a d   o f   s e n d i n g   i t   t o   t h e   K u b e r n e t e s   A P I   s e r v e r . T h e   k u b e c t l   s e t   s e l e c t o r   - - l o c a l   - f   -   - o   y a m l   c o m m a n d   r e a d s   t h e   c o n f i g u r a t i o n   f r o m   s t d i n ,   a n d   w r i t e s   t h e   u p d a t e d   c o n f i g u r a t i o n   t o   s t d o u t   a s   Y A M L . T h e   k u b e c t l   c r e a t e   - f   -   c o m m a n d   c r e a t e s   t h e   o b j e c t   u s i n g   t h e   c o n f i g u r a t i o n   p r o v i d e d   v i a   s t d i n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18612"
  },
  {
    "question": "What is Using --edit to modify objects before creation?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   c r e a t e   - - e d i t   t o   m a k e   a r b i t r a r y   c h a n g e s   t o   a n   o b j e c t   b e f o r e   i t   i s   c r e a t e d .   H e r e ' s   a n   e x a m p l e :   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   m y - s v c   - - c l u s t e r i p = \" N o n e \"   - o   y a m l   - - d r y - r u n = c l i e n t   >   / t m p / s r v . y a m l   k u b e c t l   c r e a t e   - - e d i t   - f   / t m p / s r v . y a m l   T h e   k u b e c t l   c r e a t e   s e r v i c e   c o m m a n d   c r e a t e s   t h e   c o n f i g u r a t i o n   f o r   t h e   S e r v i c e   a n d   s a v e s   i t   t o   / t m p / s r v . y a m l . T h e   k u b e c t l   c r e a t e   - - e d i t   c o m m a n d   o p e n s   t h e   c o n f i g u r a t i o n   f i l e   f o r   e d i t i n g   b e f o r e   i t   c r e a t e s   t h e   o b j e c t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18613"
  },
  {
    "question": "What is What's next?",
    "answer": "I m p e r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s D e c l a r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s K u b e c t l   C o m m a n d   R e f e r e n c e K u b e r n e t e s   A P I   R e f e r e n c e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18614"
  },
  {
    "question": "What is 5.4 - Imperative Management of Kubernetes Objects Using Configuration Files?",
    "answer": "K u b e r n e t e s   o b j e c t s   c a n   b e   c r e a t e d ,   u p d a t e d ,   a n d   d e l e t e d   b y   u s i n g   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   a l o n g   w i t h   a n   o b j e c t   c o n f i g u r a t i o n   f i l e   w r i t t e n   i n   Y A M L   o r   J S O N .   T h i s   d o c u m e n t   e x p l a i n s   h o w   t o   d e f i n e   a n d   m a n a g e   o b j e c t s   u s i n g   c o n f i g u r a t i o n   f i l e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18615"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n s t a l l   k u b e c t l .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18616"
  },
  {
    "question": "What is Trade-offs?",
    "answer": "T h e   k u b e c t l   t o o l   s u p p o r t s   t h r e e   k i n d s   o f   o b j e c t   m a n a g e m e n t :   I m p e r a t i v e   c o m m a n d s I m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n D e c l a r a t i v e   o b j e c t   c o n f i g u r a t i o n   S e e   K u b e r n e t e s   O b j e c t   M a n a g e m e n t   f o r   a   d i s c u s s i o n   o f   t h e   a d v a n t a g e s   a n d   d i s a d v a n t a g e   o f   e a c h   k i n d   o f   o b j e c t   m a n a g e m e n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18617"
  },
  {
    "question": "What is How to create objects?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   c r e a t e   - f   t o   c r e a t e   a n   o b j e c t   f r o m   a   c o n f i g u r a t i o n   f i l e .   R e f e r   t o   t h e   k u b e r n e t e s   A P I   r e f e r e n c e   f o r   d e t a i l s .   k u b e c t l   c r e a t e   - f   < f i l e n a m e | u r l >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18618"
  },
  {
    "question": "What is Warning:?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   r e p l a c e   - f   t o   u p d a t e   a   l i v e   o b j e c t   a c c o r d i n g   t o   a   c o n f i g u r a t i o n   f i l e .   k u b e c t l   r e p l a c e   - f   < f i l e n a m e | u r l >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18619"
  },
  {
    "question": "What is How to delete objects?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   d e l e t e   - f   t o   d e l e t e   a n   o b j e c t   t h a t   i s   d e s c r i b e d   i n   a   c o n f i g u r a t i o n   f i l e .   k u b e c t l   d e l e t e   - f   < f i l e n a m e | u r l >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18620"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   c o n f i g u r a t i o n   f i l e   h a s   s p e c i f i e d   t h e   g e n e r a t e N a m e   f i e l d   i n   t h e   m e t a d a t a   s e c t i o n   i n s t e a d   o f   t h e   n a m e   f i e l d ,   y o u   c a n n o t   d e l e t e   t h e   o b j e c t   u s i n g   k u b e c t l   d e l e t e   - f   < f i l e n a m e | u r l > .   Y o u   w i l l   h a v e   t o   u s e   o t h e r   f l a g s   f o r   d e l e t i n g   t h e   o b j e c t .   F o r   e x a m p l e :   k u b e c t l   d e l e t e   < t y p e >   < n a m e >   k u b e c t l   d e l e t e   < t y p e >   - l   < l a b e l >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18621"
  },
  {
    "question": "What is How to view an object?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   g e t   - f   t o   v i e w   i n f o r m a t i o n   a b o u t   a n   o b j e c t   t h a t   i s   d e s c r i b e d   i n   a   c o n f i g u r a t i o n   f i l e .   k u b e c t l   g e t   - f   < f i l e n a m e | u r l >   - o   y a m l   T h e   - o   y a m l   f l a g   s p e c i f i e s   t h a t   t h e   f u l l   o b j e c t   c o n f i g u r a t i o n   i s   p r i n t e d .   U s e   k u b e c t l   g e t   - h   t o   s e e   a   l i s t   o f   o p t i o n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18622"
  },
  {
    "question": "What is Limitations?",
    "answer": "T h e   c r e a t e ,   r e p l a c e ,   a n d   d e l e t e   c o m m a n d s   w o r k   w e l l   w h e n   e a c h   o b j e c t ' s   c o n f i g u r a t i o n   i s   f u l l y   d e f i n e d   a n d   r e c o r d e d   i n   i t s   c o n f i g u r a t i o n   f i l e .   H o w e v e r   w h e n   a   l i v e   o b j e c t   i s   u p d a t e d ,   a n d   t h e   u p d a t e s   a r e   n o t   m e r g e d   i n t o   i t s   c o n f i g u r a t i o n   f i l e ,   t h e   u p d a t e s   w i l l   b e   l o s t   t h e   n e x t   t i m e   a   r e p l a c e   i s   e x e c u t e d .   T h i s   c a n   h a p p e n   i f   a   c o n t r o l l e r ,   s u c h   a s   a   H o r i z o n t a l P o d A u t o s c a l e r ,   m a k e s   u p d a t e s   d i r e c t l y   t o   a   l i v e   o b j e c t .   H e r e ' s   a n   e x a m p l e :   Y o u   c r e a t e   a n   o b j e c t   f r o m   a   c o n f i g u r a t i o n   f i l e . A n o t h e r   s o u r c e   u p d a t e s   t h e   o b j e c t   b y   c h a n g i n g   s o m e   f i e l d . Y o u   r e p l a c e   t h e   o b j e c t   f r o m   t h e   c o n f i g u r a t i o n   f i l e .   C h a n g e s   m a d e   b y   t h e   o t h e r   s o u r c e   i n   s t e p   2   a r e   l o s t .   I f   y o u   n e e d   t o   s u p p o r t   m u l t i p l e   w r i t e r s   t o   t h e   s a m e   o b j e c t ,   y o u   c a n   u s e   k u b e c t l   a p p l y   t o   m a n a g e   t h e   o b j e c t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18623"
  },
  {
    "question": "What is Creating and editing an object from a URL without saving the configuration?",
    "answer": "S u p p o s e   y o u   h a v e   t h e   U R L   o f   a n   o b j e c t   c o n f i g u r a t i o n   f i l e .   Y o u   c a n   u s e   k u b e c t l   c r e a t e   - - e d i t   t o   m a k e   c h a n g e s   t o   t h e   c o n f i g u r a t i o n   b e f o r e   t h e   o b j e c t   i s   c r e a t e d .   T h i s   i s   p a r t i c u l a r l y   u s e f u l   f o r   t u t o r i a l s   a n d   t a s k s   t h a t   p o i n t   t o   a   c o n f i g u r a t i o n   f i l e   t h a t   c o u l d   b e   m o d i f i e d   b y   t h e   r e a d e r .   k u b e c t l   c r e a t e   - f   < u r l >   - - e d i t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18624"
  },
  {
    "question": "What is Migrating from imperative commands to imperative object configuration?",
    "answer": "M i g r a t i n g   f r o m   i m p e r a t i v e   c o m m a n d s   t o   i m p e r a t i v e   o b j e c t   c o n f i g u r a t i o n   i n v o l v e s   s e v e r a l   m a n u a l   s t e p s .   E x p o r t   t h e   l i v e   o b j e c t   t o   a   l o c a l   o b j e c t   c o n f i g u r a t i o n   f i l e : k u b e c t l   g e t   < k i n d > / < n a m e >   - o   y a m l   >   < k i n d > _ < n a m e > . y a m l   M a n u a l l y   r e m o v e   t h e   s t a t u s   f i e l d   f r o m   t h e   o b j e c t   c o n f i g u r a t i o n   f i l e . F o r   s u b s e q u e n t   o b j e c t   m a n a g e m e n t ,   u s e   r e p l a c e   e x c l u s i v e l y . k u b e c t l   r e p l a c e   - f   < k i n d > _ < n a m e > . y a m l   E x p o r t   t h e   l i v e   o b j e c t   t o   a   l o c a l   o b j e c t   c o n f i g u r a t i o n   f i l e :   k u b e c t l   g e t   < k i n d > / < n a m e >   - o   y a m l   >   < k i n d > _ < n a m e > . y a m l   M a n u a l l y   r e m o v e   t h e   s t a t u s   f i e l d   f r o m   t h e   o b j e c t   c o n f i g u r a t i o n   f i l e .   F o r   s u b s e q u e n t   o b j e c t   m a n a g e m e n t ,   u s e   r e p l a c e   e x c l u s i v e l y .   k u b e c t l   r e p l a c e   - f   < k i n d > _ < n a m e > . y a m l",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18625"
  },
  {
    "question": "What is Warning:?",
    "answer": "T h e   r e c o m m e n d e d   a p p r o a c h   i s   t o   d e f i n e   a   s i n g l e ,   i m m u t a b l e   P o d T e m p l a t e   l a b e l   u s e d   o n l y   b y   t h e   c o n t r o l l e r   s e l e c t o r   w i t h   n o   o t h e r   s e m a n t i c   m e a n i n g .   E x a m p l e   l a b e l :   s e l e c t o r :   m a t c h L a b e l s :   c o n t r o l l e r - s e l e c t o r :   \" a p p s / v 1 / d e p l o y m e n t / n g i n x \"   t e m p l a t e :   m e t a d a t a :   l a b e l s :   c o n t r o l l e r - s e l e c t o r :   \" a p p s / v 1 / d e p l o y m e n t / n g i n x \"",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18626"
  },
  {
    "question": "What is What's next?",
    "answer": "M a n a g i n g   K u b e r n e t e s   O b j e c t s   U s i n g   I m p e r a t i v e   C o m m a n d s D e c l a r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s K u b e c t l   C o m m a n d   R e f e r e n c e K u b e r n e t e s   A P I   R e f e r e n c e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18627"
  },
  {
    "question": "What is 5.5 - Update API Objects in Place Using kubectl patch?",
    "answer": "T h i s   t a s k   s h o w s   h o w   t o   u s e   k u b e c t l   p a t c h   t o   u p d a t e   a n   A P I   o b j e c t   i n   p l a c e .   T h e   e x e r c i s e s   i n   t h i s   t a s k   d e m o n s t r a t e   a   s t r a t e g i c   m e r g e   p a t c h   a n d   a   J S O N   m e r g e   p a t c h .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18628"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18629"
  },
  {
    "question": "What is Use a strategic merge patch to update a Deployment?",
    "answer": "H e r e ' s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   D e p l o y m e n t   t h a t   h a s   t w o   r e p l i c a s .   E a c h   r e p l i c a   i s   a   P o d   t h a t   h a s   o n e   c o n t a i n e r :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   p a t c h - d e m o   s p e c :   r e p l i c a s :   2   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   p a t c h - d e m o - c t r   i m a g e :   n g i n x   t o l e r a t i o n s :   -   e f f e c t :   N o S c h e d u l e   k e y :   d e d i c a t e d   v a l u e :   t e s t - t e a m   C r e a t e   t h e   D e p l o y m e n t :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / d e p l o y m e n t - p a t c h . y a m l   V i e w   t h e   P o d s   a s s o c i a t e d   w i t h   y o u r   D e p l o y m e n t :   k u b e c t l   g e t   p o d s   T h e   o u t p u t   s h o w s   t h a t   t h e   D e p l o y m e n t   h a s   t w o   P o d s .   T h e   1 / 1   i n d i c a t e s   t h a t   e a c h   P o d   h a s   o n e   c o n t a i n e r :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   p a t c h - d e m o - 2 8 6 3 3 7 6 5 - 6 7 0 q r   1 / 1   R u n n i n g   0   2 3 s   p a t c h - d e m o - 2 8 6 3 3 7 6 5 - j 5 q s 3   1 / 1   R u n n i n g   0   2 3 s   M a k e   a   n o t e   o f   t h e   n a m e s   o f   t h e   r u n n i n g   P o d s .   L a t e r ,   y o u   w i l l   s e e   t h a t   t h e s e   P o d s   g e t   t e r m i n a t e d   a n d   r e p l a c e d   b y   n e w   o n e s .   A t   t h i s   p o i n t ,   e a c h   P o d   h a s   o n e   C o n t a i n e r   t h a t   r u n s   t h e   n g i n x   i m a g e .   N o w   s u p p o s e   y o u   w a n t   e a c h   P o d   t o   h ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18630"
  },
  {
    "question": "What is Notes on the strategic merge patch?",
    "answer": "T h e   p a t c h   y o u   d i d   i n   t h e   p r e c e d i n g   e x e r c i s e   i s   c a l l e d   a   s t r a t e g i c   m e r g e   p a t c h .   N o t i c e   t h a t   t h e   p a t c h   d i d   n o t   r e p l a c e   t h e   c o n t a i n e r s   l i s t .   I n s t e a d   i t   a d d e d   a   n e w   C o n t a i n e r   t o   t h e   l i s t .   I n   o t h e r   w o r d s ,   t h e   l i s t   i n   t h e   p a t c h   w a s   m e r g e d   w i t h   t h e   e x i s t i n g   l i s t .   T h i s   i s   n o t   a l w a y s   w h a t   h a p p e n s   w h e n   y o u   u s e   a   s t r a t e g i c   m e r g e   p a t c h   o n   a   l i s t .   I n   s o m e   c a s e s ,   t h e   l i s t   i s   r e p l a c e d ,   n o t   m e r g e d .   W i t h   a   s t r a t e g i c   m e r g e   p a t c h ,   a   l i s t   i s   e i t h e r   r e p l a c e d   o r   m e r g e d   d e p e n d i n g   o n   i t s   p a t c h   s t r a t e g y .   T h e   p a t c h   s t r a t e g y   i s   s p e c i f i e d   b y   t h e   v a l u e   o f   t h e   p a t c h S t r a t e g y   k e y   i n   a   f i e l d   t a g   i n   t h e   K u b e r n e t e s   s o u r c e   c o d e .   F o r   e x a m p l e ,   t h e   C o n t a i n e r s   f i e l d   o f   P o d S p e c   s t r u c t   h a s   a   p a t c h S t r a t e g y   o f   m e r g e :   t y p e   P o d S p e c   s t r u c t   {   . . .   C o n t a i n e r s   [ ] C o n t a i n e r   ` j s o n : \" c o n t a i n e r s \"   p a t c h S t r a t e g y : \" m e r g e \"   p a t c h M e r g e K e y : \" n a m e \"   . . . `   . . .   }   Y o u   c a n   a l s o   s e e   t h e   p a t c h   s t r a t e g y   i n   t h e   O p e n A p i   s p e c :   \" i o . k 8 s . a p i . c o r e . v 1 . P o d S p e c \" :   {   . . . ,   \" c o n t a i n e r s \" :   {   \" d e s c r i p t i o n \" :   \" L i s t   o f   c o n t a i n e r s   b e l o n g i n g   t o   t h e   p o d .   . . . . \"   } ,   \" x - k u b e r n e t e s - p a t c h ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18631"
  },
  {
    "question": "What is Use a JSON merge patch to update a Deployment?",
    "answer": "A   s t r a t e g i c   m e r g e   p a t c h   i s   d i f f e r e n t   f r o m   a   J S O N   m e r g e   p a t c h .   W i t h   a   J S O N   m e r g e   p a t c h ,   i f   y o u   w a n t   t o   u p d a t e   a   l i s t ,   y o u   h a v e   t o   s p e c i f y   t h e   e n t i r e   n e w   l i s t .   A n d   t h e   n e w   l i s t   c o m p l e t e l y   r e p l a c e s   t h e   e x i s t i n g   l i s t .   T h e   k u b e c t l   p a t c h   c o m m a n d   h a s   a   t y p e   p a r a m e t e r   t h a t   y o u   c a n   s e t   t o   o n e   o f   t h e s e   v a l u e s :   F o r   a   c o m p a r i s o n   o f   J S O N   p a t c h   a n d   J S O N   m e r g e   p a t c h ,   s e e   J S O N   P a t c h   a n d   J S O N   M e r g e   P a t c h .   T h e   d e f a u l t   v a l u e   f o r   t h e   t y p e   p a r a m e t e r   i s   s t r a t e g i c .   S o   i n   t h e   p r e c e d i n g   e x e r c i s e ,   y o u   d i d   a   s t r a t e g i c   m e r g e   p a t c h .   N e x t ,   d o   a   J S O N   m e r g e   p a t c h   o n   y o u r   s a m e   D e p l o y m e n t .   C r e a t e   a   f i l e   n a m e d   p a t c h - f i l e - 2 . y a m l   t h a t   h a s   t h i s   c o n t e n t :   s p e c :   t e m p l a t e :   s p e c :   c o n t a i n e r s :   -   n a m e :   p a t c h - d e m o - c t r - 3   i m a g e :   g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 2 . 0   I n   y o u r   p a t c h   c o m m a n d ,   s e t   t y p e   t o   m e r g e :   k u b e c t l   p a t c h   d e p l o y m e n t   p a t c h - d e m o   - - t y p e   m e r g e   - - p a t c h - f i l e   p a t c h - f i l e - 2 . y a m l   V i e w   t h e   p a t c h e d   D e p l o y m e n t :   k u b e c t l   g e t   d e p l o y m e n t   p a t c h - d e m o   - - o u t p u t   y a m l   T h e   c o n t a i n e r s   l i s t   t h a t   y o u   s p e c i f i e d   i n   t h e   p a t c h   h a s   o n l y   o n e   C o n t a i n e r . ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18632"
  },
  {
    "question": "What is Use strategic merge patch to update a Deployment using the retainKeys strategy?",
    "answer": "H e r e ' s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   D e p l o y m e n t   t h a t   u s e s   t h e   R o l l i n g U p d a t e   s t r a t e g y :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   r e t a i n k e y s - d e m o   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   s t r a t e g y :   r o l l i n g U p d a t e :   m a x S u r g e :   3 0 %   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   r e t a i n k e y s - d e m o - c t r   i m a g e :   n g i n x   C r e a t e   t h e   d e p l o y m e n t :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / d e p l o y m e n t - r e t a i n k e y s . y a m l   A t   t h i s   p o i n t ,   t h e   d e p l o y m e n t   i s   c r e a t e d   a n d   i s   u s i n g   t h e   R o l l i n g U p d a t e   s t r a t e g y .   C r e a t e   a   f i l e   n a m e d   p a t c h - f i l e - n o - r e t a i n k e y s . y a m l   t h a t   h a s   t h i s   c o n t e n t :   s p e c :   s t r a t e g y :   t y p e :   R e c r e a t e   P a t c h   y o u r   D e p l o y m e n t :   k u b e c t l   p a t c h   d e p l o y m e n t   r e t a i n k e y s - d e m o   - - t y p e   s t r a t e g i c   - - p a t c h - f i l e   p a t c h - f i l e - n o - r e t a i n k e y s . y a m l   I n   t h e   o u t p u t ,   y o u   c a n   s e e   t h a t   i t   i s   n o t   p o s s i b l e   t o   s e t   t y p e   a s   R e c r e a t e   w h e n   a   v a l u e   i s   d e f i n e d   f o r   s p e c . s t r a t e g y . r o l l i n g U p d a t e :   T h e   D e p l o y m e n t   \" r e t a i n k e y s - d e m o \"   i s   i n v a l i d :   s p e c . s t r a t e g y . r o l l i n g U p d a t e :   F o r b i d d e n :   m a y   n o t   b e   s p e c i f i e d   w h e n   s t r a t e g y   ` t y p ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18633"
  },
  {
    "question": "What is Notes on the strategic merge patch using the retainKeys strategy?",
    "answer": "T h e   p a t c h   y o u   d i d   i n   t h e   p r e c e d i n g   e x e r c i s e   i s   c a l l e d   a   s t r a t e g i c   m e r g e   p a t c h   w i t h   r e t a i n K e y s   s t r a t e g y .   T h i s   m e t h o d   i n t r o d u c e s   a   n e w   d i r e c t i v e   $ r e t a i n K e y s   t h a t   h a s   t h e   f o l l o w i n g   s t r a t e g i e s :   I t   c o n t a i n s   a   l i s t   o f   s t r i n g s . A l l   f i e l d s   n e e d i n g   t o   b e   p r e s e r v e d   m u s t   b e   p r e s e n t   i n   t h e   $ r e t a i n K e y s   l i s t . T h e   f i e l d s   t h a t   a r e   p r e s e n t   w i l l   b e   m e r g e d   w i t h   l i v e   o b j e c t . A l l   o f   t h e   m i s s i n g   f i e l d s   w i l l   b e   c l e a r e d   w h e n   p a t c h i n g . A l l   f i e l d s   i n   t h e   $ r e t a i n K e y s   l i s t   m u s t   b e   a   s u p e r s e t   o r   t h e   s a m e   a s   t h e   f i e l d s   p r e s e n t   i n   t h e   p a t c h .   T h e   r e t a i n K e y s   s t r a t e g y   d o e s   n o t   w o r k   f o r   a l l   o b j e c t s .   I t   o n l y   w o r k s   w h e n   t h e   v a l u e   o f   t h e   p a t c h S t r a t e g y   k e y   i n   a   f i e l d   t a g   i n   t h e   K u b e r n e t e s   s o u r c e   c o d e   c o n t a i n s   r e t a i n K e y s .   F o r   e x a m p l e ,   t h e   S t r a t e g y   f i e l d   o f   t h e   D e p l o y m e n t S p e c   s t r u c t   h a s   a   p a t c h S t r a t e g y   o f   r e t a i n K e y s :   t y p e   D e p l o y m e n t S p e c   s t r u c t   {   . . .   / /   + p a t c h S t r a t e g y = r e t a i n K e y s   S t r a t e g y   D e p l o y m e n t S t r a t e g y   ` j s o n : \" s t r a t e g y , o m i t e m p t y \"   p a t c h S t r a t e g y : \" r e t a i n K e y s \"   . . . `   . . .   }   Y o u   c a n   a l s o   s e e   t h e   r e t a i n K e y s   s t r a t e g y   i n   t h e   O p e n A p i   s p e c : ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18634"
  },
  {
    "question": "What is Alternate forms of the kubectl patch command?",
    "answer": "T h e   k u b e c t l   p a t c h   c o m m a n d   t a k e s   Y A M L   o r   J S O N .   I t   c a n   t a k e   t h e   p a t c h   a s   a   f i l e   o r   d i r e c t l y   o n   t h e   c o m m a n d   l i n e .   C r e a t e   a   f i l e   n a m e d   p a t c h - f i l e . j s o n   t h a t   h a s   t h i s   c o n t e n t :   {   \" s p e c \" :   {   \" t e m p l a t e \" :   {   \" s p e c \" :   {   \" c o n t a i n e r s \" :   [   {   \" n a m e \" :   \" p a t c h - d e m o - c t r - 2 \" ,   \" i m a g e \" :   \" r e d i s \"   }   ]   }   }   }   }   T h e   f o l l o w i n g   c o m m a n d s   a r e   e q u i v a l e n t :   k u b e c t l   p a t c h   d e p l o y m e n t   p a t c h - d e m o   - - p a t c h - f i l e   p a t c h - f i l e . y a m l   k u b e c t l   p a t c h   d e p l o y m e n t   p a t c h - d e m o   - - p a t c h   ' s p e c : \\ n   t e m p l a t e : \\ n   s p e c : \\ n   c o n t a i n e r s : \\ n   -   n a m e :   p a t c h - d e m o - c t r - 2 \\ n   i m a g e :   r e d i s '   k u b e c t l   p a t c h   d e p l o y m e n t   p a t c h - d e m o   - - p a t c h - f i l e   p a t c h - f i l e . j s o n   k u b e c t l   p a t c h   d e p l o y m e n t   p a t c h - d e m o   - - p a t c h   ' { \" s p e c \" :   { \" t e m p l a t e \" :   { \" s p e c \" :   { \" c o n t a i n e r s \" :   [ { \" n a m e \" :   \" p a t c h - d e m o - c t r - 2 \" , \" i m a g e \" :   \" r e d i s \" } ] } } } } '",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18635"
  },
  {
    "question": "What is Update an object's replica count using kubectl patch with --subresource?",
    "answer": "T h e   f l a g   - - s u b r e s o u r c e = [ s u b r e s o u r c e - n a m e ]   i s   u s e d   w i t h   k u b e c t l   c o m m a n d s   l i k e   g e t ,   p a t c h ,   e d i t ,   a p p l y   a n d   r e p l a c e   t o   f e t c h   a n d   u p d a t e   s t a t u s ,   s c a l e   a n d   r e s i z e   s u b r e s o u r c e   o f   t h e   r e s o u r c e s   y o u   s p e c i f y .   Y o u   c a n   s p e c i f y   a   s u b r e s o u r c e   f o r   a n y   o f   t h e   K u b e r n e t e s   A P I   r e s o u r c e s   ( b u i l t - i n   a n d   C R s )   t h a t   h a v e   s t a t u s ,   s c a l e   o r   r e s i z e   s u b r e s o u r c e .   F o r   e x a m p l e ,   a   D e p l o y m e n t   h a s   a   s t a t u s   s u b r e s o u r c e   a n d   a   s c a l e   s u b r e s o u r c e ,   s o   y o u   c a n   u s e   k u b e c t l   t o   g e t   o r   m o d i f y   j u s t   t h e   s t a t u s   s u b r e s o u r c e   o f   a   D e p l o y m e n t .   H e r e ' s   a   m a n i f e s t   f o r   a   D e p l o y m e n t   t h a t   h a s   t w o   r e p l i c a s :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   r e p l i c a s :   2   #   t e l l s   d e p l o y m e n t   t o   r u n   2   p o d s   m a t c h i n g   t h e   t e m p l a t e   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0   C r e a t e   t h e   D e p l o y m e n t :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / d e p l o y m e n t . y a m l   V i e w   t h e   P o d s   a s s o c i a t e d   w i t h   y o u r   D e p l o y m e n t :   k u b e c t l   g e t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18636"
  },
  {
    "question": "What is Summary?",
    "answer": "I n   t h i s   e x e r c i s e ,   y o u   u s e d   k u b e c t l   p a t c h   t o   c h a n g e   t h e   l i v e   c o n f i g u r a t i o n   o f   a   D e p l o y m e n t   o b j e c t .   Y o u   d i d   n o t   c h a n g e   t h e   c o n f i g u r a t i o n   f i l e   t h a t   y o u   o r i g i n a l l y   u s e d   t o   c r e a t e   t h e   D e p l o y m e n t   o b j e c t .   O t h e r   c o m m a n d s   f o r   u p d a t i n g   A P I   o b j e c t s   i n c l u d e   k u b e c t l   a n n o t a t e ,   k u b e c t l   e d i t ,   k u b e c t l   r e p l a c e ,   k u b e c t l   s c a l e ,   a n d   k u b e c t l   a p p l y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18637"
  },
  {
    "question": "What is What's next?",
    "answer": "K u b e r n e t e s   O b j e c t   M a n a g e m e n t M a n a g i n g   K u b e r n e t e s   O b j e c t s   U s i n g   I m p e r a t i v e   C o m m a n d s I m p e r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s D e c l a r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   C o n f i g u r a t i o n   F i l e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18638"
  },
  {
    "question": "What is 5.6 - Migrate Kubernetes Objects Using Storage Version Migration?",
    "answer": "K u b e r n e t e s   r e l i e s   o n   A P I   d a t a   b e i n g   a c t i v e l y   r e - w r i t t e n ,   t o   s u p p o r t   s o m e   m a i n t e n a n c e   a c t i v i t i e s   r e l a t e d   t o   a t   r e s t   s t o r a g e .   T w o   p r o m i n e n t   e x a m p l e s   a r e   t h e   v e r s i o n e d   s c h e m a   o f   s t o r e d   r e s o u r c e s   ( t h a t   i s ,   t h e   p r e f e r r e d   s t o r a g e   s c h e m a   c h a n g i n g   f r o m   v 1   t o   v 2   f o r   a   g i v e n   r e s o u r c e )   a n d   e n c r y p t i o n   a t   r e s t   ( t h a t   i s ,   r e w r i t i n g   s t a l e   d a t a   b a s e d   o n   a   c h a n g e   i n   h o w   t h e   d a t a   s h o u l d   b e   e n c r y p t e d ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18639"
  },
  {
    "question": "What is Before you begin?",
    "answer": "I n s t a l l   k u b e c t l .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 3 0 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18640"
  },
  {
    "question": "What is Re-encrypt Kubernetes secrets using storage version migration?",
    "answer": "T o   b e g i n   w i t h ,   c o n f i g u r e   K M S   p r o v i d e r   t o   e n c r y p t   d a t a   a t   r e s t   i n   e t c d   u s i n g   f o l l o w i n g   e n c r y p t i o n   c o n f i g u r a t i o n . k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   r e s o u r c e s :   -   r e s o u r c e s :   -   s e c r e t s   p r o v i d e r s :   -   a e s c b c :   k e y s :   -   n a m e :   k e y 1   s e c r e t :   c 2 V j c m V 0 I G l z I H N l Y 3 V y Z Q = =   M a k e   s u r e   t o   e n a b l e   a u t o m a t i c   r e l o a d   o f   e n c r y p t i o n   c o n f i g u r a t i o n   f i l e   b y   s e t t i n g   - - e n c r y p t i o n - p r o v i d e r - c o n f i g - a u t o m a t i c - r e l o a d   t o   t r u e . C r e a t e   a   S e c r e t   u s i n g   k u b e c t l . k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - l i t e r a l = k e y 1 = s u p e r s e c r e t   V e r i f y   t h e   s e r i a l i z e d   d a t a   f o r   t h a t   S e c r e t   o b j e c t   i s   p r e f i x e d   w i t h   k 8 s : e n c : a e s c b c : v 1 : k e y 1 . U p d a t e   t h e   e n c r y p t i o n   c o n f i g u r a t i o n   f i l e   a s   f o l l o w s   t o   r o t a t e   t h e   e n c r y p t i o n   k e y . k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   r e s o u r c e s :   -   r e s o u r c e s :   -   s e c r e t s   p r o v i d e r s :   -   a e s c b c :   k e y s :   -   n a m e :   k e y 2   s e c r e t :   c 2 V j c m V 0 I G l z I H N l Y 3 V y Z S w g a X M g a X Q /   -   a e s c b c :   k e y s :   -   n a m e :   k e y 1   s e c r e t :   c 2 V j c m V 0 I G l z I H N l Y 3 V y Z Q = =   T o   e n s u r e   t h a t   p r e v i o u s l y   c r e a t e d   s e c r e t   m y - s e c r e t   i s   r e - e n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18641"
  },
  {
    "question": "What is Update the preferred storage schema of a CRD?",
    "answer": "C o n s i d e r   a   s c e n a r i o   w h e r e   a   C u s t o m R e s o u r c e D e f i n i t i o n   ( C R D )   i s   c r e a t e d   t o   s e r v e   c u s t o m   r e s o u r c e s   ( C R s )   a n d   i s   s e t   a s   t h e   p r e f e r r e d   s t o r a g e   s c h e m a .   W h e n   i t ' s   t i m e   t o   i n t r o d u c e   v 2   o f   t h e   C R D ,   i t   c a n   b e   a d d e d   f o r   s e r v i n g   o n l y   w i t h   a   c o n v e r s i o n   w e b h o o k .   T h i s   e n a b l e s   a   s m o o t h e r   t r a n s i t i o n   w h e r e   u s e r s   c a n   c r e a t e   C R s   u s i n g   e i t h e r   t h e   v 1   o r   v 2   s c h e m a ,   w i t h   t h e   w e b h o o k   i n   p l a c e   t o   p e r f o r m   t h e   n e c e s s a r y   s c h e m a   c o n v e r s i o n   b e t w e e n   t h e m .   B e f o r e   s e t t i n g   v 2   a s   t h e   p r e f e r r e d   s t o r a g e   s c h e m a   v e r s i o n ,   i t ' s   i m p o r t a n t   t o   e n s u r e   t h a t   a l l   e x i s t i n g   C R s   s t o r e d   a s   v 1   a r e   m i g r a t e d   t o   v 2 .   T h i s   m i g r a t i o n   c a n   b e   a c h i e v e d   t h r o u g h   S t o r a g e   V e r s i o n   M i g r a t i o n   t o   m i g r a t e   a l l   C R s   f r o m   v 1   t o   v 2 .   C r e a t e   a   m a n i f e s t   f o r   t h e   C R D ,   n a m e d   t e s t - c r d . y a m l ,   a s   f o l l o w s : a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   m e t a d a t a :   n a m e :   s e l f i e r e q u e s t s . s t a b l e . e x a m p l e . c o m   s p e c :   g r o u p :   s t a b l e . e x a m p l e . c o m   n a m e s :   p l u r a l :   S e l f i e R e q u e s t s   s i n g u l a r :   S e l f i e R e q u e s t   k i n d :   S e l f i e R e q u e s t   l i s t K i n d :   S e l f i e R e q u e s t L i s t   s c o p e :   N a m e s p a c e d   v e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18642"
  },
  {
    "question": "What is 6.1 - Managing Secrets using kubectl?",
    "answer": "T h i s   p a g e   s h o w s   y o u   h o w   t o   c r e a t e ,   e d i t ,   m a n a g e ,   a n d   d e l e t e   K u b e r n e t e s   S e c r e t s   u s i n g   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18643"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18644"
  },
  {
    "question": "What is Create a Secret?",
    "answer": "A   S e c r e t   o b j e c t   s t o r e s   s e n s i t i v e   d a t a   s u c h   a s   c r e d e n t i a l s   u s e d   b y   P o d s   t o   a c c e s s   s e r v i c e s .   F o r   e x a m p l e ,   y o u   m i g h t   n e e d   a   S e c r e t   t o   s t o r e   t h e   u s e r n a m e   a n d   p a s s w o r d   n e e d e d   t o   a c c e s s   a   d a t a b a s e .   Y o u   c a n   c r e a t e   t h e   S e c r e t   b y   p a s s i n g   t h e   r a w   d a t a   i n   t h e   c o m m a n d ,   o r   b y   s t o r i n g   t h e   c r e d e n t i a l s   i n   f i l e s   t h a t   y o u   p a s s   i n   t h e   c o m m a n d .   T h e   f o l l o w i n g   c o m m a n d s   c r e a t e   a   S e c r e t   t h a t   s t o r e s   t h e   u s e r n a m e   a d m i n   a n d   t h e   p a s s w o r d   S ! B \\ * d $ z D s b = .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18645"
  },
  {
    "question": "What is Use raw data?",
    "answer": "R u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   d b - u s e r - p a s s   \\   - - f r o m - l i t e r a l = u s e r n a m e = a d m i n   \\   - - f r o m - l i t e r a l = p a s s w o r d = ' S ! B \\ * d $ z D s b = '   Y o u   m u s t   u s e   s i n g l e   q u o t e s   ' '   t o   e s c a p e   s p e c i a l   c h a r a c t e r s   s u c h   a s   $ ,   \\ ,   * ,   = ,   a n d   !   i n   y o u r   s t r i n g s .   I f   y o u   d o n ' t ,   y o u r   s h e l l   w i l l   i n t e r p r e t   t h e s e   c h a r a c t e r s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18646"
  },
  {
    "question": "What is Use source files?",
    "answer": "S t o r e   t h e   c r e d e n t i a l s   i n   f i l e s : e c h o   - n   ' a d m i n '   >   . / u s e r n a m e . t x t   e c h o   - n   ' S ! B \\ * d $ z D s b = '   >   . / p a s s w o r d . t x t   T h e   - n   f l a g   e n s u r e s   t h a t   t h e   g e n e r a t e d   f i l e s   d o   n o t   h a v e   a n   e x t r a   n e w l i n e   c h a r a c t e r   a t   t h e   e n d   o f   t h e   t e x t .   T h i s   i s   i m p o r t a n t   b e c a u s e   w h e n   k u b e c t l   r e a d s   a   f i l e   a n d   e n c o d e s   t h e   c o n t e n t   i n t o   a   b a s e 6 4   s t r i n g ,   t h e   e x t r a   n e w l i n e   c h a r a c t e r   g e t s   e n c o d e d   t o o .   Y o u   d o   n o t   n e e d   t o   e s c a p e   s p e c i a l   c h a r a c t e r s   i n   s t r i n g s   t h a t   y o u   i n c l u d e   i n   a   f i l e . P a s s   t h e   f i l e   p a t h s   i n   t h e   k u b e c t l   c o m m a n d : k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   d b - u s e r - p a s s   \\   - - f r o m - f i l e = . / u s e r n a m e . t x t   \\   - - f r o m - f i l e = . / p a s s w o r d . t x t   T h e   d e f a u l t   k e y   n a m e   i s   t h e   f i l e   n a m e .   Y o u   c a n   o p t i o n a l l y   s e t   t h e   k e y   n a m e   u s i n g   - - f r o m - f i l e = [ k e y = ] s o u r c e .   F o r   e x a m p l e : k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   d b - u s e r - p a s s   \\   - - f r o m - f i l e = u s e r n a m e = . / u s e r n a m e . t x t   \\   - - f r o m - f i l e = p a s s w o r d = . / p a s s w o r d . t x t   S t o r e   t h e   c r e d e n t i a l s   i n   f i l e s :   e c h o   - n   ' a d m i n '   >   . / u s e r n a m e . t x t   e c h o   - n   ' S ! B \\ * d $ z D s b = '   >   . / p a s s w o r d . t x t   T h e   - n   f l a g   e n s u r e s   t h a t   t h e   g e n e r a t e d   f i l e s   d o   n o t   h a v e   a n   e x t r a   n e w l i n e   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18647"
  },
  {
    "question": "What is Verify the Secret?",
    "answer": "C h e c k   t h a t   t h e   S e c r e t   w a s   c r e a t e d :   k u b e c t l   g e t   s e c r e t s   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   T Y P E   D A T A   A G E   d b - u s e r - p a s s   O p a q u e   2   5 1 s   V i e w   t h e   d e t a i l s   o f   t h e   S e c r e t :   k u b e c t l   d e s c r i b e   s e c r e t   d b - u s e r - p a s s   T h e   o u t p u t   i s   s i m i l a r   t o :   N a m e :   d b - u s e r - p a s s   N a m e s p a c e :   d e f a u l t   L a b e l s :   < n o n e >   A n n o t a t i o n s :   < n o n e >   T y p e :   O p a q u e   D a t a   = = = =   p a s s w o r d :   1 2   b y t e s   u s e r n a m e :   5   b y t e s   T h e   c o m m a n d s   k u b e c t l   g e t   a n d   k u b e c t l   d e s c r i b e   a v o i d   s h o w i n g   t h e   c o n t e n t s   o f   a   S e c r e t   b y   d e f a u l t .   T h i s   i s   t o   p r o t e c t   t h e   S e c r e t   f r o m   b e i n g   e x p o s e d   a c c i d e n t a l l y ,   o r   f r o m   b e i n g   s t o r e d   i n   a   t e r m i n a l   l o g .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18648"
  },
  {
    "question": "What is Decode the Secret?",
    "answer": "V i e w   t h e   c o n t e n t s   o f   t h e   S e c r e t   y o u   c r e a t e d : k u b e c t l   g e t   s e c r e t   d b - u s e r - p a s s   - o   j s o n p a t h = ' { . d a t a } '   T h e   o u t p u t   i s   s i m i l a r   t o : {   \" p a s s w o r d \" :   \" U y F C X C p k J H p E c 2 I 9 \" ,   \" u s e r n a m e \" :   \" Y W R t a W 4 = \"   }   D e c o d e   t h e   p a s s w o r d   d a t a : e c h o   ' U y F C X C p k J H p E c 2 I 9 '   |   b a s e 6 4   - - d e c o d e   T h e   o u t p u t   i s   s i m i l a r   t o : S ! B \\ * d $ z D s b =   C a u t i o n : T h i s   i s   a n   e x a m p l e   f o r   d o c u m e n t a t i o n   p u r p o s e s .   I n   p r a c t i c e ,   t h i s   m e t h o d   c o u l d   c a u s e   t h e   c o m m a n d   w i t h   t h e   e n c o d e d   d a t a   t o   b e   s t o r e d   i n   y o u r   s h e l l   h i s t o r y .   A n y o n e   w i t h   a c c e s s   t o   y o u r   c o m p u t e r   c o u l d   f i n d   t h e   c o m m a n d   a n d   d e c o d e   t h e   s e c r e t .   A   b e t t e r   a p p r o a c h   i s   t o   c o m b i n e   t h e   v i e w   a n d   d e c o d e   c o m m a n d s . k u b e c t l   g e t   s e c r e t   d b - u s e r - p a s s   - o   j s o n p a t h = ' { . d a t a . p a s s w o r d } '   |   b a s e 6 4   - - d e c o d e   V i e w   t h e   c o n t e n t s   o f   t h e   S e c r e t   y o u   c r e a t e d :   k u b e c t l   g e t   s e c r e t   d b - u s e r - p a s s   - o   j s o n p a t h = ' { . d a t a } '   T h e   o u t p u t   i s   s i m i l a r   t o :   {   \" p a s s w o r d \" :   \" U y F C X C p k J H p E c 2 I 9 \" ,   \" u s e r n a m e \" :   \" Y W R t a W 4 = \"   }   D e c o d e   t h e   p a s s w o r d   d a t a :   e c h o   ' U y F C X C p k J H p E c 2 I 9 '   |   b a s e 6 4   - - d e c o d e   T h e   o u t p u t   i s   s i m i l a r   t o :   S ! B \\ * d $ z D s b =",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18649"
  },
  {
    "question": "What is Caution:?",
    "answer": "k u b e c t l   g e t   s e c r e t   d b - u s e r - p a s s   - o   j s o n p a t h = ' { . d a t a . p a s s w o r d } '   |   b a s e 6 4   - - d e c o d e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18650"
  },
  {
    "question": "What is Edit a Secret?",
    "answer": "Y o u   c a n   e d i t   a n   e x i s t i n g   S e c r e t   o b j e c t   u n l e s s   i t   i s   i m m u t a b l e .   T o   e d i t   a   S e c r e t ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   e d i t   s e c r e t s   < s e c r e t - n a m e >   T h i s   o p e n s   y o u r   d e f a u l t   e d i t o r   a n d   a l l o w s   y o u   t o   u p d a t e   t h e   b a s e 6 4   e n c o d e d   S e c r e t   v a l u e s   i n   t h e   d a t a   f i e l d ,   s u c h   a s   i n   t h e   f o l l o w i n g   e x a m p l e :   #   P l e a s e   e d i t   t h e   o b j e c t   b e l o w .   L i n e s   b e g i n n i n g   w i t h   a   ' # '   w i l l   b e   i g n o r e d ,   #   a n d   a n   e m p t y   f i l e   w i l l   a b o r t   t h e   e d i t .   I f   a n   e r r o r   o c c u r s   w h i l e   s a v i n g   t h i s   f i l e ,   i t   w i l l   b e   #   r e o p e n e d   w i t h   t h e   r e l e v a n t   f a i l u r e s .   #   a p i V e r s i o n :   v 1   d a t a :   p a s s w o r d :   U y F C X C p k J H p E c 2 I 9   u s e r n a m e :   Y W R t a W 4 =   k i n d :   S e c r e t   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   \" 2 0 2 2 - 0 6 - 2 8 T 1 7 : 4 4 : 1 3 Z \"   n a m e :   d b - u s e r - p a s s   n a m e s p a c e :   d e f a u l t   r e s o u r c e V e r s i o n :   \" 1 2 7 0 8 5 0 4 \"   u i d :   9 1 b e c d 5 9 - 7 8 f a - 4 c 8 5 - 8 2 3 f - 6 d 4 4 4 3 6 2 4 2 a c   t y p e :   O p a q u e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18651"
  },
  {
    "question": "What is Clean up?",
    "answer": "T o   d e l e t e   a   S e c r e t ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   d e l e t e   s e c r e t   d b - u s e r - p a s s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18652"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   m o r e   a b o u t   t h e   S e c r e t   c o n c e p t L e a r n   h o w   t o   m a n a g e   S e c r e t s   u s i n g   c o n f i g   f i l e L e a r n   h o w   t o   m a n a g e   S e c r e t s   u s i n g   k u s t o m i z e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18653"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18654"
  },
  {
    "question": "What is Create the Secret?",
    "answer": "Y o u   c a n   d e f i n e   t h e   S e c r e t   o b j e c t   i n   a   m a n i f e s t   f i r s t ,   i n   J S O N   o r   Y A M L   f o r m a t ,   a n d   t h e n   c r e a t e   t h a t   o b j e c t .   T h e   S e c r e t   r e s o u r c e   c o n t a i n s   t w o   m a p s :   d a t a   a n d   s t r i n g D a t a .   T h e   d a t a   f i e l d   i s   u s e d   t o   s t o r e   a r b i t r a r y   d a t a ,   e n c o d e d   u s i n g   b a s e 6 4 .   T h e   s t r i n g D a t a   f i e l d   i s   p r o v i d e d   f o r   c o n v e n i e n c e ,   a n d   i t   a l l o w s   y o u   t o   p r o v i d e   t h e   s a m e   d a t a   a s   u n e n c o d e d   s t r i n g s .   T h e   k e y s   o f   d a t a   a n d   s t r i n g D a t a   m u s t   c o n s i s t   o f   a l p h a n u m e r i c   c h a r a c t e r s ,   - ,   _   o r   . .   T h e   f o l l o w i n g   e x a m p l e   s t o r e s   t w o   s t r i n g s   i n   a   S e c r e t   u s i n g   t h e   d a t a   f i e l d .   C o n v e r t   t h e   s t r i n g s   t o   b a s e 6 4 : e c h o   - n   ' a d m i n '   |   b a s e 6 4   e c h o   - n   ' 1 f 2 d 1 e 2 e 6 7 d f '   |   b a s e 6 4   N o t e : T h e   s e r i a l i z e d   J S O N   a n d   Y A M L   v a l u e s   o f   S e c r e t   d a t a   a r e   e n c o d e d   a s   b a s e 6 4   s t r i n g s .   N e w l i n e s   a r e   n o t   v a l i d   w i t h i n   t h e s e   s t r i n g s   a n d   m u s t   b e   o m i t t e d .   W h e n   u s i n g   t h e   b a s e 6 4   u t i l i t y   o n   D a r w i n / m a c O S ,   u s e r s   s h o u l d   a v o i d   u s i n g   t h e   - b   o p t i o n   t o   s p l i t   l o n g   l i n e s .   C o n v e r s e l y ,   L i n u x   u s e r s   s h o u l d   a d d   t h e   o p t i o n   - w   0   t o   b a s e 6 4   c o m m a n d s   o r   t h e   p i p e l i n e   b a s e 6 4   |   t r   - d   ' \\ n '   i f   t h e   - w   o p t i o n   i s   n o t   a v a i l a b l e . T h e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18655"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   o u t p u t   i s   s i m i l a r   t o :   Y W R t a W 4 =   M W Y y Z D F l M m U 2 N 2 R m   C r e a t e   t h e   m a n i f e s t :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   m y s e c r e t   t y p e :   O p a q u e   d a t a :   u s e r n a m e :   Y W R t a W 4 =   p a s s w o r d :   M W Y y Z D F l M m U 2 N 2 R m   N o t e   t h a t   t h e   n a m e   o f   a   S e c r e t   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   C r e a t e   t h e   S e c r e t   u s i n g   k u b e c t l   a p p l y :   k u b e c t l   a p p l y   - f   . / s e c r e t . y a m l   T h e   o u t p u t   i s   s i m i l a r   t o :   s e c r e t / m y s e c r e t   c r e a t e d   T o   v e r i f y   t h a t   t h e   S e c r e t   w a s   c r e a t e d   a n d   t o   d e c o d e   t h e   S e c r e t   d a t a ,   r e f e r   t o   M a n a g i n g   S e c r e t s   u s i n g   k u b e c t l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18656"
  },
  {
    "question": "What is Specify unencoded data when creating a Secret?",
    "answer": "F o r   c e r t a i n   s c e n a r i o s ,   y o u   m a y   w i s h   t o   u s e   t h e   s t r i n g D a t a   f i e l d   i n s t e a d .   T h i s   f i e l d   a l l o w s   y o u   t o   p u t   a   n o n - b a s e 6 4   e n c o d e d   s t r i n g   d i r e c t l y   i n t o   t h e   S e c r e t ,   a n d   t h e   s t r i n g   w i l l   b e   e n c o d e d   f o r   y o u   w h e n   t h e   S e c r e t   i s   c r e a t e d   o r   u p d a t e d .   A   p r a c t i c a l   e x a m p l e   o f   t h i s   m i g h t   b e   w h e r e   y o u   a r e   d e p l o y i n g   a n   a p p l i c a t i o n   t h a t   u s e s   a   S e c r e t   t o   s t o r e   a   c o n f i g u r a t i o n   f i l e ,   a n d   y o u   w a n t   t o   p o p u l a t e   p a r t s   o f   t h a t   c o n f i g u r a t i o n   f i l e   d u r i n g   y o u r   d e p l o y m e n t   p r o c e s s .   F o r   e x a m p l e ,   i f   y o u r   a p p l i c a t i o n   u s e s   t h e   f o l l o w i n g   c o n f i g u r a t i o n   f i l e :   a p i U r l :   \" h t t p s : / / m y . a p i . c o m / a p i / v 1 \"   u s e r n a m e :   \" < u s e r > \"   p a s s w o r d :   \" < p a s s w o r d > \"   Y o u   c o u l d   s t o r e   t h i s   i n   a   S e c r e t   u s i n g   t h e   f o l l o w i n g   d e f i n i t i o n :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   m y s e c r e t   t y p e :   O p a q u e   s t r i n g D a t a :   c o n f i g . y a m l :   |   a p i U r l :   \" h t t p s : / / m y . a p i . c o m / a p i / v 1 \"   u s e r n a m e :   < u s e r >   p a s s w o r d :   < p a s s w o r d >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18657"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   y o u   r e t r i e v e   t h e   S e c r e t   d a t a ,   t h e   c o m m a n d   r e t u r n s   t h e   e n c o d e d   v a l u e s ,   a n d   n o t   t h e   p l a i n t e x t   v a l u e s   y o u   p r o v i d e d   i n   s t r i n g D a t a .   F o r   e x a m p l e ,   i f   y o u   r u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   g e t   s e c r e t   m y s e c r e t   - o   y a m l   T h e   o u t p u t   i s   s i m i l a r   t o :   a p i V e r s i o n :   v 1   d a t a :   c o n f i g . y a m l :   Y X B p V X J s O i A i a H R 0 c H M 6 L y 9 t e S 5 h c G k u Y 2 9 t L 2 F w a S 9 2 M S I K d X N l c m 5 h b W U 6 I H t 7 d X N l c m 5 h b W V 9 f Q p w Y X N z d 2 9 y Z D o g e 3 t w Y X N z d 2 9 y Z H 1 9   k i n d :   S e c r e t   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   2 0 1 8 - 1 1 - 1 5 T 2 0 : 4 0 : 5 9 Z   n a m e :   m y s e c r e t   n a m e s p a c e :   d e f a u l t   r e s o u r c e V e r s i o n :   \" 7 2 2 5 \"   u i d :   c 2 8 0 a d 2 e - e 9 1 6 - 1 1 e 8 - 9 8 f 2 - 0 2 5 0 0 0 0 0 0 0 0 1   t y p e :   O p a q u e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18658"
  },
  {
    "question": "What is Specify both data and stringData?",
    "answer": "I f   y o u   s p e c i f y   a   f i e l d   i n   b o t h   d a t a   a n d   s t r i n g D a t a ,   t h e   v a l u e   f r o m   s t r i n g D a t a   i s   u s e d .   F o r   e x a m p l e ,   i f   y o u   d e f i n e   t h e   f o l l o w i n g   S e c r e t :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   m y s e c r e t   t y p e :   O p a q u e   d a t a :   u s e r n a m e :   Y W R t a W 4 =   s t r i n g D a t a :   u s e r n a m e :   a d m i n i s t r a t o r",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18659"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   S e c r e t   o b j e c t   i s   c r e a t e d   a s   f o l l o w s :   a p i V e r s i o n :   v 1   d a t a :   u s e r n a m e :   Y W R t a W 5 p c 3 R y Y X R v c g = =   k i n d :   S e c r e t   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   2 0 1 8 - 1 1 - 1 5 T 2 0 : 4 6 : 4 6 Z   n a m e :   m y s e c r e t   n a m e s p a c e :   d e f a u l t   r e s o u r c e V e r s i o n :   \" 7 5 7 9 \"   u i d :   9 1 4 6 0 e c b - e 9 1 7 - 1 1 e 8 - 9 8 f 2 - 0 2 5 0 0 0 0 0 0 0 0 1   t y p e :   O p a q u e   Y W R t a W 5 p c 3 R y Y X R v c g = =   d e c o d e s   t o   a d m i n i s t r a t o r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18660"
  },
  {
    "question": "What is Edit a Secret?",
    "answer": "T o   e d i t   t h e   d a t a   i n   t h e   S e c r e t   y o u   c r e a t e d   u s i n g   a   m a n i f e s t ,   m o d i f y   t h e   d a t a   o r   s t r i n g D a t a   f i e l d   i n   y o u r   m a n i f e s t   a n d   a p p l y   t h e   f i l e   t o   y o u r   c l u s t e r .   Y o u   c a n   e d i t   a n   e x i s t i n g   S e c r e t   o b j e c t   u n l e s s   i t   i s   i m m u t a b l e .   F o r   e x a m p l e ,   i f   y o u   w a n t   t o   c h a n g e   t h e   p a s s w o r d   f r o m   t h e   p r e v i o u s   e x a m p l e   t o   b i r d s a r e n t r e a l ,   d o   t h e   f o l l o w i n g :   E n c o d e   t h e   n e w   p a s s w o r d   s t r i n g : e c h o   - n   ' b i r d s a r e n t r e a l '   |   b a s e 6 4   T h e   o u t p u t   i s   s i m i l a r   t o : Y m l y Z H N h c m V u d H J l Y W w =   U p d a t e   t h e   d a t a   f i e l d   w i t h   y o u r   n e w   p a s s w o r d   s t r i n g : a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   m y s e c r e t   t y p e :   O p a q u e   d a t a :   u s e r n a m e :   Y W R t a W 4 =   p a s s w o r d :   Y m l y Z H N h c m V u d H J l Y W w =   A p p l y   t h e   m a n i f e s t   t o   y o u r   c l u s t e r : k u b e c t l   a p p l y   - f   . / s e c r e t . y a m l   T h e   o u t p u t   i s   s i m i l a r   t o : s e c r e t / m y s e c r e t   c o n f i g u r e d   E n c o d e   t h e   n e w   p a s s w o r d   s t r i n g :   e c h o   - n   ' b i r d s a r e n t r e a l '   |   b a s e 6 4   T h e   o u t p u t   i s   s i m i l a r   t o :   Y m l y Z H N h c m V u d H J l Y W w =   U p d a t e   t h e   d a t a   f i e l d   w i t h   y o u r   n e w   p a s s w o r d   s t r i n g :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   m y s e c r e t   t y p e :   O p a q u e   d a t a :   u s e r n a m e :   Y W R t a W 4 =   p a s s w o r d :   Y m l y Z H ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18661"
  },
  {
    "question": "What is Clean up?",
    "answer": "T o   d e l e t e   t h e   S e c r e t   y o u   h a v e   c r e a t e d :   k u b e c t l   d e l e t e   s e c r e t   m y s e c r e t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18662"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   m o r e   a b o u t   t h e   S e c r e t   c o n c e p t L e a r n   h o w   t o   m a n a g e   S e c r e t s   u s i n g   k u b e c t l L e a r n   h o w   t o   m a n a g e   S e c r e t s   u s i n g   k u s t o m i z e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18663"
  },
  {
    "question": "What is 6.3 - Managing Secrets using Kustomize?",
    "answer": "k u b e c t l   s u p p o r t s   u s i n g   t h e   K u s t o m i z e   o b j e c t   m a n a g e m e n t   t o o l   t o   m a n a g e   S e c r e t s   a n d   C o n f i g M a p s .   Y o u   c r e a t e   a   r e s o u r c e   g e n e r a t o r   u s i n g   K u s t o m i z e ,   w h i c h   g e n e r a t e s   a   S e c r e t   t h a t   y o u   c a n   a p p l y   t o   t h e   A P I   s e r v e r   u s i n g   k u b e c t l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18664"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18665"
  },
  {
    "question": "What is Create a Secret?",
    "answer": "Y o u   c a n   g e n e r a t e   a   S e c r e t   b y   d e f i n i n g   a   s e c r e t G e n e r a t o r   i n   a   k u s t o m i z a t i o n . y a m l   f i l e   t h a t   r e f e r e n c e s   o t h e r   e x i s t i n g   f i l e s ,   . e n v   f i l e s ,   o r   l i t e r a l   v a l u e s .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   i n s t r u c t i o n s   c r e a t e   a   k u s t o m i z a t i o n   f i l e   f o r   t h e   u s e r n a m e   a d m i n   a n d   t h e   p a s s w o r d   1 f 2 d 1 e 2 e 6 7 d f .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18666"
  },
  {
    "question": "What is Create the kustomization file?",
    "answer": "s e c r e t G e n e r a t o r :   -   n a m e :   d a t a b a s e - c r e d s   l i t e r a l s :   -   u s e r n a m e = a d m i n   -   p a s s w o r d = 1 f 2 d 1 e 2 e 6 7 d f   s e c r e t G e n e r a t o r :   -   n a m e :   d a t a b a s e - c r e d s   l i t e r a l s :   -   u s e r n a m e = a d m i n   -   p a s s w o r d = 1 f 2 d 1 e 2 e 6 7 d f   S t o r e   t h e   c r e d e n t i a l s   i n   f i l e s .   T h e   f i l e n a m e s   a r e   t h e   k e y s   o f   t h e   s e c r e t : e c h o   - n   ' a d m i n '   >   . / u s e r n a m e . t x t   e c h o   - n   ' 1 f 2 d 1 e 2 e 6 7 d f '   >   . / p a s s w o r d . t x t   T h e   - n   f l a g   e n s u r e s   t h a t   t h e r e ' s   n o   n e w l i n e   c h a r a c t e r   a t   t h e   e n d   o f   y o u r   f i l e s . C r e a t e   t h e   k u s t o m i z a t i o n . y a m l   f i l e : s e c r e t G e n e r a t o r :   -   n a m e :   d a t a b a s e - c r e d s   f i l e s :   -   u s e r n a m e . t x t   -   p a s s w o r d . t x t   S t o r e   t h e   c r e d e n t i a l s   i n   f i l e s .   T h e   f i l e n a m e s   a r e   t h e   k e y s   o f   t h e   s e c r e t : e c h o   - n   ' a d m i n '   >   . / u s e r n a m e . t x t   e c h o   - n   ' 1 f 2 d 1 e 2 e 6 7 d f '   >   . / p a s s w o r d . t x t   T h e   - n   f l a g   e n s u r e s   t h a t   t h e r e ' s   n o   n e w l i n e   c h a r a c t e r   a t   t h e   e n d   o f   y o u r   f i l e s . C r e a t e   t h e   k u s t o m i z a t i o n . y a m l   f i l e : s e c r e t G e n e r a t o r :   -   n a m e :   d a t a b a s e - c r e d s   f i l e s :   -   u s e r n a m e . t x t   -   p a s s w o r d . t x t   S t o r e   t h e   c r e d e n t i a l s   i n   f i l e s .   T h e   f i l e n a m e s   a r e   t h e   k e y s   o f   t h e   s e c r e t :   e c h o   - n   ' a d m i n '   >   . / u s e r n a m e . t x t   e c h o   - n   ' 1 f 2 d 1 e 2 e 6 7 d f '   >   . / p a s s w o r d . t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18667"
  },
  {
    "question": "What is Apply the kustomization file?",
    "answer": "T o   c r e a t e   t h e   S e c r e t ,   a p p l y   t h e   d i r e c t o r y   t h a t   c o n t a i n s   t h e   k u s t o m i z a t i o n   f i l e :   k u b e c t l   a p p l y   - k   < d i r e c t o r y - p a t h >   T h e   o u t p u t   i s   s i m i l a r   t o :   s e c r e t / d a t a b a s e - c r e d s - 5 h d h 7 h h g f k   c r e a t e d   W h e n   a   S e c r e t   i s   g e n e r a t e d ,   t h e   S e c r e t   n a m e   i s   c r e a t e d   b y   h a s h i n g   t h e   S e c r e t   d a t a   a n d   a p p e n d i n g   t h e   h a s h   v a l u e   t o   t h e   n a m e .   T h i s   e n s u r e s   t h a t   a   n e w   S e c r e t   i s   g e n e r a t e d   e a c h   t i m e   t h e   d a t a   i s   m o d i f i e d .   T o   v e r i f y   t h a t   t h e   S e c r e t   w a s   c r e a t e d   a n d   t o   d e c o d e   t h e   S e c r e t   d a t a ,   k u b e c t l   g e t   - k   < d i r e c t o r y - p a t h >   - o   j s o n p a t h = ' { . d a t a } '   T h e   o u t p u t   i s   s i m i l a r   t o :   {   \" p a s s w o r d \" :   \" M W Y y Z D F l M m U 2 N 2 R m \" ,   \" u s e r n a m e \" :   \" Y W R t a W 4 = \"   }   e c h o   ' M W Y y Z D F l M m U 2 N 2 R m '   |   b a s e 6 4   - - d e c o d e   T h e   o u t p u t   i s   s i m i l a r   t o :   1 f 2 d 1 e 2 e 6 7 d f   F o r   m o r e   i n f o r m a t i o n ,   r e f e r   t o   M a n a g i n g   S e c r e t s   u s i n g   k u b e c t l   a n d   D e c l a r a t i v e   M a n a g e m e n t   o f   K u b e r n e t e s   O b j e c t s   U s i n g   K u s t o m i z e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18668"
  },
  {
    "question": "What is Edit a Secret?",
    "answer": "I n   y o u r   k u s t o m i z a t i o n . y a m l   f i l e ,   m o d i f y   t h e   d a t a ,   s u c h   a s   t h e   p a s s w o r d . A p p l y   t h e   d i r e c t o r y   t h a t   c o n t a i n s   t h e   k u s t o m i z a t i o n   f i l e : k u b e c t l   a p p l y   - k   < d i r e c t o r y - p a t h >   T h e   o u t p u t   i s   s i m i l a r   t o : s e c r e t / d b - u s e r - p a s s - 6 f 2 4 b 5 6 c c 8   c r e a t e d   I n   y o u r   k u s t o m i z a t i o n . y a m l   f i l e ,   m o d i f y   t h e   d a t a ,   s u c h   a s   t h e   p a s s w o r d .   A p p l y   t h e   d i r e c t o r y   t h a t   c o n t a i n s   t h e   k u s t o m i z a t i o n   f i l e :   k u b e c t l   a p p l y   - k   < d i r e c t o r y - p a t h >   T h e   o u t p u t   i s   s i m i l a r   t o :   s e c r e t / d b - u s e r - p a s s - 6 f 2 4 b 5 6 c c 8   c r e a t e d   T h e   e d i t e d   S e c r e t   i s   c r e a t e d   a s   a   n e w   S e c r e t   o b j e c t ,   i n s t e a d   o f   u p d a t i n g   t h e   e x i s t i n g   S e c r e t   o b j e c t .   Y o u   m i g h t   n e e d   t o   u p d a t e   r e f e r e n c e s   t o   t h e   S e c r e t   i n   y o u r   P o d s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18669"
  },
  {
    "question": "What is Clean up?",
    "answer": "T o   d e l e t e   a   S e c r e t ,   u s e   k u b e c t l :   k u b e c t l   d e l e t e   s e c r e t   d b - u s e r - p a s s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18670"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   m o r e   a b o u t   t h e   S e c r e t   c o n c e p t L e a r n   h o w   t o   m a n a g e   S e c r e t s   u s i n g   k u b e c t l L e a r n   h o w   t o   m a n a g e   S e c r e t s   u s i n g   c o n f i g   f i l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18671"
  },
  {
    "question": "What is 7.1 - Define a Command and Arguments for a Container?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   d e f i n e   c o m m a n d s   a n d   a r g u m e n t s   w h e n   y o u   r u n   a   c o n t a i n e r   i n   a   P o d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18672"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18673"
  },
  {
    "question": "What is Define a command and arguments when you create a Pod?",
    "answer": "W h e n   y o u   c r e a t e   a   P o d ,   y o u   c a n   d e f i n e   a   c o m m a n d   a n d   a r g u m e n t s   f o r   t h e   c o n t a i n e r s   t h a t   r u n   i n   t h e   P o d .   T o   d e f i n e   a   c o m m a n d ,   i n c l u d e   t h e   c o m m a n d   f i e l d   i n   t h e   c o n f i g u r a t i o n   f i l e .   T o   d e f i n e   a r g u m e n t s   f o r   t h e   c o m m a n d ,   i n c l u d e   t h e   a r g s   f i e l d   i n   t h e   c o n f i g u r a t i o n   f i l e .   T h e   c o m m a n d   a n d   a r g u m e n t s   t h a t   y o u   d e f i n e   c a n n o t   b e   c h a n g e d   a f t e r   t h e   P o d   i s   c r e a t e d .   T h e   c o m m a n d   a n d   a r g u m e n t s   t h a t   y o u   d e f i n e   i n   t h e   c o n f i g u r a t i o n   f i l e   o v e r r i d e   t h e   d e f a u l t   c o m m a n d   a n d   a r g u m e n t s   p r o v i d e d   b y   t h e   c o n t a i n e r   i m a g e .   I f   y o u   d e f i n e   a r g s ,   b u t   d o   n o t   d e f i n e   a   c o m m a n d ,   t h e   d e f a u l t   c o m m a n d   i s   u s e d   w i t h   y o u r   n e w   a r g u m e n t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18674"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   r u n s   o n e   c o n t a i n e r .   T h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d   d e f i n e s   a   c o m m a n d   a n d   t w o   a r g u m e n t s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c o m m a n d - d e m o   l a b e l s :   p u r p o s e :   d e m o n s t r a t e - c o m m a n d   s p e c :   c o n t a i n e r s :   -   n a m e :   c o m m a n d - d e m o - c o n t a i n e r   i m a g e :   d e b i a n   c o m m a n d :   [ \" p r i n t e n v \" ]   a r g s :   [ \" H O S T N A M E \" ,   \" K U B E R N E T E S _ P O R T \" ]   r e s t a r t P o l i c y :   O n F a i l u r e   C r e a t e   a   P o d   b a s e d   o n   t h e   Y A M L   c o n f i g u r a t i o n   f i l e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / c o m m a n d s . y a m l   L i s t   t h e   r u n n i n g   P o d s : k u b e c t l   g e t   p o d s   T h e   o u t p u t   s h o w s   t h a t   t h e   c o n t a i n e r   t h a t   r a n   i n   t h e   c o m m a n d - d e m o   P o d   h a s   c o m p l e t e d . T o   s e e   t h e   o u t p u t   o f   t h e   c o m m a n d   t h a t   r a n   i n   t h e   c o n t a i n e r ,   v i e w   t h e   l o g s   f r o m   t h e   P o d : k u b e c t l   l o g s   c o m m a n d - d e m o   T h e   o u t p u t   s h o w s   t h e   v a l u e s   o f   t h e   H O S T N A M E   a n d   K U B E R N E T E S _ P O R T   e n v i r o n m e n t   v a r i a b l e s : c o m m a n d - d e m o   t c p : / / 1 0 . 3 . 2 4 0 . 1 : 4 4 3   C r e a t e   a   P o d   b a s e d   o n   t h e   Y A M L   c o n f i g u r a t i o n   f i l e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / c o m m a n d s . y a m l   L i s t   t h e   r u n n i n g   P o d s :   k u b e c t l   g e t   p o d s   T h e   o u t p u t   s h ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18675"
  },
  {
    "question": "What is Use environment variables to define arguments?",
    "answer": "I n   t h e   p r e c e d i n g   e x a m p l e ,   y o u   d e f i n e d   t h e   a r g u m e n t s   d i r e c t l y   b y   p r o v i d i n g   s t r i n g s .   A s   a n   a l t e r n a t i v e   t o   p r o v i d i n g   s t r i n g s   d i r e c t l y ,   y o u   c a n   d e f i n e   a r g u m e n t s   b y   u s i n g   e n v i r o n m e n t   v a r i a b l e s :   e n v :   -   n a m e :   M E S S A G E   v a l u e :   \" h e l l o   w o r l d \"   c o m m a n d :   [ \" / b i n / e c h o \" ]   a r g s :   [ \" $ ( M E S S A G E ) \" ]   T h i s   m e a n s   y o u   c a n   d e f i n e   a n   a r g u m e n t   f o r   a   P o d   u s i n g   a n y   o f   t h e   t e c h n i q u e s   a v a i l a b l e   f o r   d e f i n i n g   e n v i r o n m e n t   v a r i a b l e s ,   i n c l u d i n g   C o n f i g M a p s   a n d   S e c r e t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18676"
  },
  {
    "question": "What is Run a command in a shell?",
    "answer": "I n   s o m e   c a s e s ,   y o u   n e e d   y o u r   c o m m a n d   t o   r u n   i n   a   s h e l l .   F o r   e x a m p l e ,   y o u r   c o m m a n d   m i g h t   c o n s i s t   o f   s e v e r a l   c o m m a n d s   p i p e d   t o g e t h e r ,   o r   i t   m i g h t   b e   a   s h e l l   s c r i p t .   T o   r u n   y o u r   c o m m a n d   i n   a   s h e l l ,   w r a p   i t   l i k e   t h i s :   c o m m a n d :   [ \" / b i n / s h \" ]   a r g s :   [ \" - c \" ,   \" w h i l e   t r u e ;   d o   e c h o   h e l l o ;   s l e e p   1 0 ; d o n e \" ]",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18677"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   c o n f i g u r i n g   p o d s   a n d   c o n t a i n e r s . L e a r n   m o r e   a b o u t   r u n n i n g   c o m m a n d s   i n   a   c o n t a i n e r . S e e   C o n t a i n e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18678"
  },
  {
    "question": "What is 7.2 - Define Dependent Environment Variables?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   d e f i n e   d e p e n d e n t   e n v i r o n m e n t   v a r i a b l e s   f o r   a   c o n t a i n e r   i n   a   K u b e r n e t e s   P o d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18679"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18680"
  },
  {
    "question": "What is Define an environment dependent variable for a container?",
    "answer": "W h e n   y o u   c r e a t e   a   P o d ,   y o u   c a n   s e t   d e p e n d e n t   e n v i r o n m e n t   v a r i a b l e s   f o r   t h e   c o n t a i n e r s   t h a t   r u n   i n   t h e   P o d .   T o   s e t   d e p e n d e n t   e n v i r o n m e n t   v a r i a b l e s ,   y o u   c a n   u s e   $ ( V A R _ N A M E )   i n   t h e   v a l u e   o f   e n v   i n   t h e   c o n f i g u r a t i o n   f i l e .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   r u n s   o n e   c o n t a i n e r .   T h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d   d e f i n e s   a   d e p e n d e n t   e n v i r o n m e n t   v a r i a b l e   w i t h   c o m m o n   u s a g e   d e f i n e d .   H e r e   i s   t h e   c o n f i g u r a t i o n   m a n i f e s t   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d e p e n d e n t - e n v a r s - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   d e p e n d e n t - e n v a r s - d e m o   a r g s :   -   w h i l e   t r u e ;   d o   e c h o   - e n   ' \\ n ' ;   p r i n t f   U N C H A N G E D _ R E F E R E N C E = $ U N C H A N G E D _ R E F E R E N C E ' \\ n ' ;   p r i n t f   S E R V I C E _ A D D R E S S = $ S E R V I C E _ A D D R E S S ' \\ n ' ; p r i n t f   E S C A P E D _ R E F E R E N C E = $ E S C A P E D _ R E F E R E N C E ' \\ n ' ;   s l e e p   3 0 ;   d o n e ;   c o m m a n d :   -   s h   -   - c   i m a g e :   b u s y b o x : 1 . 2 8   e n v :   -   n a m e :   S E R V I C E _ P O R T   v a l u e :   \" 8 0 \"   -   n a m e :   S E R V I C E _ I P   v a l u e :   \" 1 7 2 . 1 7 . 0 . 1 \"   -   n a m e :   U N C H A N G E D _ R E F E R E N C E   v a l u e :   \" $ ( P R O T O C O L ) : / / $ ( S E R V I C E _ I P ) : $ ( S E R V I C E _ P O R T ) \"   -   n a m e :   P R O T O C O L   v a l u e :   \" h t t p s \"   -   n a m e :   S E R V I C E _ A D D R E S S   v a l u e :   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18681"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   e n v i r o n m e n t   v a r i a b l e s . S e e   E n v V a r S o u r c e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18682"
  },
  {
    "question": "What is 7.3 - Define Environment Variables for a Container?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   d e f i n e   e n v i r o n m e n t   v a r i a b l e s   f o r   a   c o n t a i n e r   i n   a   K u b e r n e t e s   P o d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18683"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18684"
  },
  {
    "question": "What is Define an environment variable for a container?",
    "answer": "W h e n   y o u   c r e a t e   a   P o d ,   y o u   c a n   s e t   e n v i r o n m e n t   v a r i a b l e s   f o r   t h e   c o n t a i n e r s   t h a t   r u n   i n   t h e   P o d .   T o   s e t   e n v i r o n m e n t   v a r i a b l e s ,   i n c l u d e   t h e   e n v   o r   e n v F r o m   f i e l d   i n   t h e   c o n f i g u r a t i o n   f i l e .   T h e   e n v   a n d   e n v F r o m   f i e l d s   h a v e   d i f f e r e n t   e f f e c t s .   Y o u   c a n   r e a d   m o r e   a b o u t   C o n f i g M a p   a n d   S e c r e t .   T h i s   p a g e   e x p l a i n s   h o w   t o   u s e   e n v .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   r u n s   o n e   c o n t a i n e r .   T h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d   d e f i n e s   a n   e n v i r o n m e n t   v a r i a b l e   w i t h   n a m e   D E M O _ G R E E T I N G   a n d   v a l u e   \" H e l l o   f r o m   t h e   e n v i r o n m e n t \" .   H e r e   i s   t h e   c o n f i g u r a t i o n   m a n i f e s t   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e n v a r - d e m o   l a b e l s :   p u r p o s e :   d e m o n s t r a t e - e n v a r s   s p e c :   c o n t a i n e r s :   -   n a m e :   e n v a r - d e m o - c o n t a i n e r   i m a g e :   g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 2 . 0   e n v :   -   n a m e :   D E M O _ G R E E T I N G   v a l u e :   \" H e l l o   f r o m   t h e   e n v i r o n m e n t \"   -   n a m e :   D E M O _ F A R E W E L L   v a l u e :   \" S u c h   a   s w e e t   s o r r o w \"   C r e a t e   a   P o d   b a s e d   o n   t h a t   m a n i f e s t : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i n j e c t / e n v a r s . y a m l   L i s t   t h e   r u n n i n g   P o d s : k u b e c t l   g e t   p o d s   - l   p u r p o s e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18685"
  },
  {
    "question": "What is Using environment variables inside of your config?",
    "answer": "E n v i r o n m e n t   v a r i a b l e s   t h a t   y o u   d e f i n e   i n   a   P o d ' s   c o n f i g u r a t i o n   u n d e r   . s p e c . c o n t a i n e r s [ * ] . e n v [ * ]   c a n   b e   u s e d   e l s e w h e r e   i n   t h e   c o n f i g u r a t i o n ,   f o r   e x a m p l e   i n   c o m m a n d s   a n d   a r g u m e n t s   t h a t   y o u   s e t   f o r   t h e   P o d ' s   c o n t a i n e r s .   I n   t h e   e x a m p l e   c o n f i g u r a t i o n   b e l o w ,   t h e   G R E E T I N G ,   H O N O R I F I C ,   a n d   N A M E   e n v i r o n m e n t   v a r i a b l e s   a r e   s e t   t o   W a r m   g r e e t i n g s   t o ,   T h e   M o s t   H o n o r a b l e ,   a n d   K u b e r n e t e s ,   r e s p e c t i v e l y .   T h e   e n v i r o n m e n t   v a r i a b l e   M E S S A G E   c o m b i n e s   t h e   s e t   o f   a l l   t h e s e   e n v i r o n m e n t   v a r i a b l e s   a n d   t h e n   u s e s   i t   a s   a   C L I   a r g u m e n t   p a s s e d   t o   t h e   e n v - p r i n t - d e m o   c o n t a i n e r .   E n v i r o n m e n t   v a r i a b l e   n a m e s   m a y   c o n s i s t   o f   a n y   p r i n t a b l e   A S C I I   c h a r a c t e r s   e x c e p t   ' = ' .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p r i n t - g r e e t i n g   s p e c :   c o n t a i n e r s :   -   n a m e :   e n v - p r i n t - d e m o   i m a g e :   b a s h   e n v :   -   n a m e :   G R E E T I N G   v a l u e :   \" W a r m   g r e e t i n g s   t o \"   -   n a m e :   H O N O R I F I C   v a l u e :   \" T h e   M o s t   H o n o r a b l e \"   -   n a m e :   N A M E   v a l u e :   \" K u b e r n e t e s \"   -   n a m e :   M E S S A G E   v a l u e :   \" $ ( G R E E T I N G )   $ ( H O N O R I F I C )   $ ( N A M E ) \"   c o m m a n d :   [ \" e c h o \" ]   a r g s :   [ \" $ ( M E S S A G E ) \" ]   U p o n   c r e a t i o n ,   t h e   c o m m a n d   e c h o   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18686"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   e n v i r o n m e n t   v a r i a b l e s . L e a r n   a b o u t   u s i n g   s e c r e t s   a s   e n v i r o n m e n t   v a r i a b l e s . S e e   E n v V a r S o u r c e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18687"
  },
  {
    "question": "What is 7.4 - Define Environment Variable Values Using An Init Container?",
    "answer": "T h i s   p a g e   s h o w   h o w   t o   c o n f i g u r e   e n v i r o n m e n t   v a r i a b l e s   f o r   c o n t a i n e r s   i n   a   P o d   v i a   f i l e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18688"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   v e r s i o n   v 1 . 3 4 .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18689"
  },
  {
    "question": "What is How the design works?",
    "answer": "I n   t h i s   e x e r c i s e ,   y o u   w i l l   c r e a t e   a   P o d   t h a t   s o u r c e s   e n v i r o n m e n t   v a r i a b l e s   f r o m   f i l e s ,   p r o j e c t i n g   t h e s e   v a l u e s   i n t o   t h e   r u n n i n g   c o n t a i n e r .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e n v f i l e - t e s t - p o d   s p e c :   i n i t C o n t a i n e r s :   -   n a m e :   s e t u p - e n v f i l e   i m a g e :   n g i n x   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   ' e c h o   \" D B _ A D D R E S S = a d d r e s s \\ n R E S T _ E N D P O I N T = e n d p o i n t \"   >   / d a t a / c o n f i g . e n v ' ]   v o l u m e M o u n t s :   -   n a m e :   c o n f i g   m o u n t P a t h :   / d a t a   c o n t a i n e r s :   -   n a m e :   u s e - e n v f i l e   i m a g e :   n g i n x   c o m m a n d :   [   \" / b i n / s h \" ,   \" - c \" ,   \" e n v \"   ]   e n v :   -   n a m e :   D B _ A D D R E S S   v a l u e F r o m :   f i l e K e y R e f :   p a t h :   c o n f i g . e n v   v o l u m e N a m e :   c o n f i g   k e y :   D B _ A D D R E S S   o p t i o n a l :   f a l s e   r e s t a r t P o l i c y :   N e v e r   v o l u m e s :   -   n a m e :   c o n f i g   e m p t y D i r :   { }   I n   t h i s   m a n i f e s t ,   y o u   c a n   s e e   t h e   i n i t C o n t a i n e r   m o u n t s   a n   e m p t y D i r   v o l u m e   a n d   w r i t e s   e n v i r o n m e n t   v a r i a b l e s   t o   a   f i l e   w i t h i n   i t ,   a n d   t h e   r e g u l a r   c o n t a i n e r s   r e f e r e n c e   b o t h   t h e   f i l e   a n d   t h e   e n v i r o n m e n t   v a r i a b l e   k e y   t h r o u g h   t h e   f i l e K e y R e f   f i e l d   w i t h o u t   n e e d i n g   t o   m o u n t   t h e   v o l u m e .   W h e n   o p t i o n a l   f i e l d   i s   s e t   t o   f a l s e ,   t h e   s p e c i f i e d   k e y   i n   f i l e K e y R e f   m u s t   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18690"
  },
  {
    "question": "What is Note:?",
    "answer": "A l l   c o n t a i n e r   t y p e s   ( i n i t C o n t a i n e r s ,   r e g u l a r   c o n t a i n e r s ,   s i d e c a r s   c o n t a i n e r s ,   a n d   e p h e m e r a l   c o n t a i n e r s )   s u p p o r t   e n v i r o n m e n t   v a r i a b l e   l o a d i n g   f r o m   f i l e s .   W h i l e   t h e s e   e n v i r o n m e n t   v a r i a b l e s   c a n   s t o r e   s e n s i t i v e   i n f o r m a t i o n ,   e m p t y D i r   v o l u m e s   d o n ' t   p r o v i d e   t h e   s a m e   p r o t e c t i o n   m e c h a n i s m s   a s   d e d i c a t e d   S e c r e t   o b j e c t s .   T h e r e f o r e ,   e x p o s i n g   c o n f i d e n t i a l   e n v i r o n m e n t   v a r i a b l e s   t o   c o n t a i n e r s   t h r o u g h   t h i s   f e a t u r e   i s   n o t   c o n s i d e r e d   a   s e c u r i t y   b e s t   p r a c t i c e .   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i n j e c t / e n v a r s - f i l e - c o n t a i n e r . y a m l   V e r i f y   t h a t   t h e   c o n t a i n e r   i n   t h e   P o d   i s   r u n n i n g :   #   I f   t h e   n e w   P o d   i s n ' t   y e t   h e a l t h y ,   r e r u n   t h i s   c o m m a n d   a   f e w   t i m e s .   k u b e c t l   g e t   p o d s   C h e c k   c o n t a i n e r   l o g s   f o r   e n v i r o n m e n t   v a r i a b l e s :   k u b e c t l   l o g s   d a p i - t e s t - p o d   - c   u s e - e n v f i l e   |   g r e p   D B _ A D D R E S S   T h e   o u t p u t   s h o w s   t h e   v a l u e s   o f   s e l e c t e d   e n v i r o n m e n t   v a r i a b l e s :   D B _ A D D R E S S = a d d r e s s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18691"
  },
  {
    "question": "What is Env File Syntax?",
    "answer": "T h e   f o r m a t   o f   K u b e r n e t e s   e n v   f i l e s   o r i g i n a t e s   f r o m   . e n v   f i l e s .   I n   a   s h e l l   e n v i r o n m e n t ,   . e n v   f i l e s   a r e   t y p i c a l l y   l o a d e d   u s i n g   t h e   s o u r c e   . e n v   c o m m a n d .   F o r   K u b e r n e t e s ,   t h e   d e f i n e d   e n v   f i l e   f o r m a t   a d h e r e s   t o   s t r i c t e r   s y n t a x   r u l e s :   B l a n k   L i n e s :   B l a n k   l i n e s   a r e   i g n o r e d . L e a d i n g   S p a c e s :   L e a d i n g   s p a c e s   o n   a l l   l i n e s   a r e   i g n o r e d . V a r i a b l e   D e c l a r a t i o n :   V a r i a b l e s   m u s t   b e   d e c l a r e d   a s   V A R = V A L .   S p a c e s   s u r r o u n d i n g   =   a n d   t r a i l i n g   s p a c e s   a r e   i g n o r e d . V A R = V A L   →   V A L   C o m m e n t s :   L i n e s   b e g i n n i n g   w i t h   #   a r e   t r e a t e d   a s   c o m m e n t s   a n d   i g n o r e d . #   c o m m e n t   V A R = V A L   →   V A L   V A R = V A L   #   n o t   a   c o m m e n t   →   V A L   #   n o t   a   c o m m e n t   L i n e   C o n t i n u a t i o n :   A   b a c k s l a s h   ( \\ )   a t   t h e   e n d   o f   a   v a r i a b l e   d e c l a r a t i o n   l i n e   i n d i c a t e s   t h e   v a l u e   c o n t i n u e s   o n   t h e   n e x t   l i n e .   T h e   l i n e s   a r e   j o i n e d   w i t h   a   s i n g l e   s p a c e . V A R = V A L   \\   V A L 2   →   V A L   V A L 2   B l a n k   L i n e s :   B l a n k   l i n e s   a r e   i g n o r e d .   L e a d i n g   S p a c e s :   L e a d i n g   s p a c e s   o n   a l l   l i n e s   a r e   i g n o r e d .   V a r i a b l e   D e c l a r a t i o n :   V a r i a b l e s   m u s t   b e   d e c l a r e d   a s   V A R = V A L .   S p a c e s   s u r r o u n d i n g   =   a n d   t r a i l i n g   s p a c e s   a r e   i g n o r e d .   V A R = V A L   →   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18692"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   e n v i r o n m e n t   v a r i a b l e s . R e a d   D e f i n i n g   E n v i r o n m e n t   V a r i a b l e s   f o r   a   C o n t a i n e r R e a d   E x p o s e   P o d   I n f o r m a t i o n   t o   C o n t a i n e r s   T h r o u g h   E n v i r o n m e n t   V a r i a b l e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18693"
  },
  {
    "question": "What is 7.5 - Expose Pod Information to Containers Through Environment Variables?",
    "answer": "T h i s   p a g e   s h o w s   h o w   a   P o d   c a n   u s e   e n v i r o n m e n t   v a r i a b l e s   t o   e x p o s e   i n f o r m a t i o n   a b o u t   i t s e l f   t o   c o n t a i n e r s   r u n n i n g   i n   t h e   P o d ,   u s i n g   t h e   d o w n w a r d   A P I .   Y o u   c a n   u s e   e n v i r o n m e n t   v a r i a b l e s   t o   e x p o s e   P o d   f i e l d s ,   c o n t a i n e r   f i e l d s ,   o r   b o t h .   I n   K u b e r n e t e s ,   t h e r e   a r e   t w o   w a y s   t o   e x p o s e   P o d   a n d   c o n t a i n e r   f i e l d s   t o   a   r u n n i n g   c o n t a i n e r :   E n v i r o n m e n t   v a r i a b l e s ,   a s   e x p l a i n e d   i n   t h i s   t a s k V o l u m e   f i l e s   T o g e t h e r ,   t h e s e   t w o   w a y s   o f   e x p o s i n g   P o d   a n d   c o n t a i n e r   f i e l d s   a r e   c a l l e d   t h e   d o w n w a r d   A P I .   A s   S e r v i c e s   a r e   t h e   p r i m a r y   m o d e   o f   c o m m u n i c a t i o n   b e t w e e n   c o n t a i n e r i z e d   a p p l i c a t i o n s   m a n a g e d   b y   K u b e r n e t e s ,   i t   i s   h e l p f u l   t o   b e   a b l e   t o   d i s c o v e r   t h e m   a t   r u n t i m e .   R e a d   m o r e   a b o u t   a c c e s s i n g   S e r v i c e s   h e r e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18694"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18695"
  },
  {
    "question": "What is Use Pod fields as values for environment variables?",
    "answer": "I n   t h i s   p a r t   o f   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   o n e   c o n t a i n e r ,   a n d   y o u   p r o j e c t   P o d - l e v e l   f i e l d s   i n t o   t h e   r u n n i n g   c o n t a i n e r   a s   e n v i r o n m e n t   v a r i a b l e s .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d a p i - e n v a r s - f i e l d r e f   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   c o m m a n d :   [   \" s h \" ,   \" - c \" ]   a r g s :   -   w h i l e   t r u e ;   d o   e c h o   - e n   ' \\ n ' ;   p r i n t e n v   M Y _ N O D E _ N A M E   M Y _ P O D _ N A M E   M Y _ P O D _ N A M E S P A C E ;   p r i n t e n v   M Y _ P O D _ I P   M Y _ P O D _ S E R V I C E _ A C C O U N T ;   s l e e p   1 0 ;   d o n e ;   e n v :   -   n a m e :   M Y _ N O D E _ N A M E   v a l u e F r o m :   f i e l d R e f :   f i e l d P a t h :   s p e c . n o d e N a m e   -   n a m e :   M Y _ P O D _ N A M E   v a l u e F r o m :   f i e l d R e f :   f i e l d P a t h :   m e t a d a t a . n a m e   -   n a m e :   M Y _ P O D _ N A M E S P A C E   v a l u e F r o m :   f i e l d R e f :   f i e l d P a t h :   m e t a d a t a . n a m e s p a c e   -   n a m e :   M Y _ P O D _ I P   v a l u e F r o m :   f i e l d R e f :   f i e l d P a t h :   s t a t u s . p o d I P   -   n a m e :   M Y _ P O D _ S E R V I C E _ A C C O U N T   v a l u e F r o m :   f i e l d R e f :   f i e l d P a t h :   s p e c . s e r v i c e A c c o u n t N a m e   r e s t a r t P o l i c y :   N e v e r   I n   t h a t   m a n i f e s t ,   y o u   c a n   s e e   f i v e   e n v i r o n m e n t   v a r i a b l e s .   T h e   e n v   f i e l d   i s   a n   a r r a y   o f   e n v i r o n m e n t   v a r i a b l e   d e f i n i t i o n s .   T h e   f i r s t   e l e m e n t   i n   t h e   a r r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18696"
  },
  {
    "question": "What is Note:?",
    "answer": "C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i n j e c t / d a p i - e n v a r s - p o d . y a m l   V e r i f y   t h a t   t h e   c o n t a i n e r   i n   t h e   P o d   i s   r u n n i n g :   #   I f   t h e   n e w   P o d   i s n ' t   y e t   h e a l t h y ,   r e r u n   t h i s   c o m m a n d   a   f e w   t i m e s .   k u b e c t l   g e t   p o d s   V i e w   t h e   c o n t a i n e r ' s   l o g s :   k u b e c t l   l o g s   d a p i - e n v a r s - f i e l d r e f   T h e   o u t p u t   s h o w s   t h e   v a l u e s   o f   s e l e c t e d   e n v i r o n m e n t   v a r i a b l e s :   m i n i k u b e   d a p i - e n v a r s - f i e l d r e f   d e f a u l t   1 7 2 . 1 7 . 0 . 4   d e f a u l t   T o   s e e   w h y   t h e s e   v a l u e s   a r e   i n   t h e   l o g ,   l o o k   a t   t h e   c o m m a n d   a n d   a r g s   f i e l d s   i n   t h e   c o n f i g u r a t i o n   f i l e .   W h e n   t h e   c o n t a i n e r   s t a r t s ,   i t   w r i t e s   t h e   v a l u e s   o f   f i v e   e n v i r o n m e n t   v a r i a b l e s   t o   s t d o u t .   I t   r e p e a t s   t h i s   e v e r y   t e n   s e c o n d s .   N e x t ,   g e t   a   s h e l l   i n t o   t h e   c o n t a i n e r   t h a t   i s   r u n n i n g   i n   y o u r   P o d :   k u b e c t l   e x e c   - i t   d a p i - e n v a r s - f i e l d r e f   - -   s h   I n   y o u r   s h e l l ,   v i e w   t h e   e n v i r o n m e n t   v a r i a b l e s :   #   R u n   t h i s   i n   a   s h e l l   i n s i d e   t h e   c o n t a i n e r   p r i n t e n v   T h e   o u t p u t   s h o w s   t h a t   c e r t a i n   e n v i r o n m e n t   v a r i a b l e s   h a v e   b e e n   a s s i g n e d   t h e   v a l u e s   o f   P o d   f i e l d s :   M Y _ P O D _ S E R V I C E _ A C C O U N T = d e f a u l t   . . .   M Y _ P O D _ N A M E S P A C E = d e f a u l t   M Y ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18697"
  },
  {
    "question": "What is Use container fields as values for environment variables?",
    "answer": "I n   t h e   p r e c e d i n g   e x e r c i s e ,   y o u   u s e d   i n f o r m a t i o n   f r o m   P o d - l e v e l   f i e l d s   a s   t h e   v a l u e s   f o r   e n v i r o n m e n t   v a r i a b l e s .   I n   t h i s   n e x t   e x e r c i s e ,   y o u   a r e   g o i n g   t o   p a s s   f i e l d s   t h a t   a r e   p a r t   o f   t h e   P o d   d e f i n i t i o n ,   b u t   t a k e n   f r o m   t h e   s p e c i f i c   c o n t a i n e r   r a t h e r   t h a n   f r o m   t h e   P o d   o v e r a l l .   H e r e   i s   a   m a n i f e s t   f o r   a n o t h e r   P o d   t h a t   a g a i n   h a s   j u s t   o n e   c o n t a i n e r :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d a p i - e n v a r s - r e s o u r c e f i e l d r e f   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   c o m m a n d :   [   \" s h \" ,   \" - c \" ]   a r g s :   -   w h i l e   t r u e ;   d o   e c h o   - e n   ' \\ n ' ;   p r i n t e n v   M Y _ C P U _ R E Q U E S T   M Y _ C P U _ L I M I T ;   p r i n t e n v   M Y _ M E M _ R E Q U E S T   M Y _ M E M _ L I M I T ;   s l e e p   1 0 ;   d o n e ;   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 3 2 M i \"   c p u :   \" 1 2 5 m \"   l i m i t s :   m e m o r y :   \" 6 4 M i \"   c p u :   \" 2 5 0 m \"   e n v :   -   n a m e :   M Y _ C P U _ R E Q U E S T   v a l u e F r o m :   r e s o u r c e F i e l d R e f :   c o n t a i n e r N a m e :   t e s t - c o n t a i n e r   r e s o u r c e :   r e q u e s t s . c p u   -   n a m e :   M Y _ C P U _ L I M I T   v a l u e F r o m :   r e s o u r c e F i e l d R e f :   c o n t a i n e r N a m e :   t e s t - c o n t a i n e r   r e s o u r c e :   l i m i t s . c p u   -   n a m e :   M Y _ M E M _ R E Q U E S T   v a l u e F r o m :   r e s o u r c e F i e l d R e f :   c o n t a i n e r N ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18698"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   D e f i n i n g   E n v i r o n m e n t   V a r i a b l e s   f o r   a   C o n t a i n e r R e a d   t h e   s p e c   A P I   d e f i n i t i o n   f o r   P o d .   T h i s   i n c l u d e s   t h e   d e f i n i t i o n   o f   C o n t a i n e r   ( p a r t   o f   P o d ) . R e a d   t h e   l i s t   o f   a v a i l a b l e   f i e l d s   t h a t   y o u   c a n   e x p o s e   u s i n g   t h e   d o w n w a r d   A P I .   R e a d   a b o u t   P o d s ,   c o n t a i n e r s   a n d   e n v i r o n m e n t   v a r i a b l e s   i n   t h e   l e g a c y   A P I   r e f e r e n c e :   P o d S p e c C o n t a i n e r E n v V a r E n v V a r S o u r c e O b j e c t F i e l d S e l e c t o r R e s o u r c e F i e l d S e l e c t o r",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18699"
  },
  {
    "question": "What is 7.6 - Expose Pod Information to Containers Through Files?",
    "answer": "T h i s   p a g e   s h o w s   h o w   a   P o d   c a n   u s e   a   d o w n w a r d A P I   v o l u m e ,   t o   e x p o s e   i n f o r m a t i o n   a b o u t   i t s e l f   t o   c o n t a i n e r s   r u n n i n g   i n   t h e   P o d .   A   d o w n w a r d A P I   v o l u m e   c a n   e x p o s e   P o d   f i e l d s   a n d   c o n t a i n e r   f i e l d s .   I n   K u b e r n e t e s ,   t h e r e   a r e   t w o   w a y s   t o   e x p o s e   P o d   a n d   c o n t a i n e r   f i e l d s   t o   a   r u n n i n g   c o n t a i n e r :   E n v i r o n m e n t   v a r i a b l e s V o l u m e   f i l e s ,   a s   e x p l a i n e d   i n   t h i s   t a s k   T o g e t h e r ,   t h e s e   t w o   w a y s   o f   e x p o s i n g   P o d   a n d   c o n t a i n e r   f i e l d s   a r e   c a l l e d   t h e   d o w n w a r d   A P I .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18700"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18701"
  },
  {
    "question": "What is Store Pod fields?",
    "answer": "I n   t h i s   p a r t   o f   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   o n e   c o n t a i n e r ,   a n d   y o u   p r o j e c t   P o d - l e v e l   f i e l d s   i n t o   t h e   r u n n i n g   c o n t a i n e r   a s   f i l e s .   H e r e   i s   t h e   m a n i f e s t   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   k u b e r n e t e s - d o w n w a r d a p i - v o l u m e - e x a m p l e   l a b e l s :   z o n e :   u s - e s t - c o a s t   c l u s t e r :   t e s t - c l u s t e r 1   r a c k :   r a c k - 2 2   a n n o t a t i o n s :   b u i l d :   t w o   b u i l d e r :   j o h n - d o e   s p e c :   c o n t a i n e r s :   -   n a m e :   c l i e n t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   c o m m a n d :   [ \" s h \" ,   \" - c \" ]   a r g s :   -   w h i l e   t r u e ;   d o   i f   [ [   - e   / e t c / p o d i n f o / l a b e l s   ] ] ;   t h e n   e c h o   - e n   ' \\ n \\ n ' ;   c a t   / e t c / p o d i n f o / l a b e l s ;   f i ;   i f   [ [   - e   / e t c / p o d i n f o / a n n o t a t i o n s   ] ] ;   t h e n   e c h o   - e n   ' \\ n \\ n ' ;   c a t   / e t c / p o d i n f o / a n n o t a t i o n s ;   f i ;   s l e e p   5 ;   d o n e ;   v o l u m e M o u n t s :   -   n a m e :   p o d i n f o   m o u n t P a t h :   / e t c / p o d i n f o   v o l u m e s :   -   n a m e :   p o d i n f o   d o w n w a r d A P I :   i t e m s :   -   p a t h :   \" l a b e l s \"   f i e l d R e f :   f i e l d P a t h :   m e t a d a t a . l a b e l s   -   p a t h :   \" a n n o t a t i o n s \"   f i e l d R e f :   f i e l d P a t h :   m e t a d a t a . a n n o t a t i o n s   I n   t h e   m a n i f e s t ,   y o u   c a n   s e e   t h a t   t h e   P o d   h a s   a   d o w n w a r d A P I   V o l u m e ,   a n d   t h e   c o n t a i n e r   m o u n t s   t h e   v o l u m e   a t   / ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18702"
  },
  {
    "question": "What is Note:?",
    "answer": "C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i n j e c t / d a p i - v o l u m e . y a m l   V e r i f y   t h a t   t h e   c o n t a i n e r   i n   t h e   P o d   i s   r u n n i n g :   k u b e c t l   g e t   p o d s   V i e w   t h e   c o n t a i n e r ' s   l o g s :   k u b e c t l   l o g s   k u b e r n e t e s - d o w n w a r d a p i - v o l u m e - e x a m p l e   T h e   o u t p u t   s h o w s   t h e   c o n t e n t s   o f   t h e   l a b e l s   f i l e   a n d   t h e   a n n o t a t i o n s   f i l e :   c l u s t e r = \" t e s t - c l u s t e r 1 \"   r a c k = \" r a c k - 2 2 \"   z o n e = \" u s - e s t - c o a s t \"   b u i l d = \" t w o \"   b u i l d e r = \" j o h n - d o e \"   G e t   a   s h e l l   i n t o   t h e   c o n t a i n e r   t h a t   i s   r u n n i n g   i n   y o u r   P o d :   k u b e c t l   e x e c   - i t   k u b e r n e t e s - d o w n w a r d a p i - v o l u m e - e x a m p l e   - -   s h   I n   y o u r   s h e l l ,   v i e w   t h e   l a b e l s   f i l e :   / #   c a t   / e t c / p o d i n f o / l a b e l s   T h e   o u t p u t   s h o w s   t h a t   a l l   o f   t h e   P o d ' s   l a b e l s   h a v e   b e e n   w r i t t e n   t o   t h e   l a b e l s   f i l e :   c l u s t e r = \" t e s t - c l u s t e r 1 \"   r a c k = \" r a c k - 2 2 \"   z o n e = \" u s - e s t - c o a s t \"   S i m i l a r l y ,   v i e w   t h e   a n n o t a t i o n s   f i l e :   / #   c a t   / e t c / p o d i n f o / a n n o t a t i o n s   V i e w   t h e   f i l e s   i n   t h e   / e t c / p o d i n f o   d i r e c t o r y :   / #   l s   - l a R   / e t c / p o d i n f o   I n   t h e   o u t p u t ,   y o u   c a n   s e e   t h a t   t h e   l a b e l s   a n d   a n n o t a t i o n s   f i l e s   a r e   i n   a   t e m p o r a r y   s u b d i r e c t o r y :   i n   t h i s   e x a m p l e ,   . . 2 9 8 2 _ 0 6 _ 0 2 _ 2 1 _ 4 7 _ 5 3 . ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18703"
  },
  {
    "question": "What is Note:?",
    "answer": "E x i t   t h e   s h e l l :   / #   e x i t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18704"
  },
  {
    "question": "What is Store container fields?",
    "answer": "T h e   p r e c e d i n g   e x e r c i s e ,   y o u   m a d e   P o d - l e v e l   f i e l d s   a c c e s s i b l e   u s i n g   t h e   d o w n w a r d   A P I .   I n   t h i s   n e x t   e x e r c i s e ,   y o u   a r e   g o i n g   t o   p a s s   f i e l d s   t h a t   a r e   p a r t   o f   t h e   P o d   d e f i n i t i o n ,   b u t   t a k e n   f r o m   t h e   s p e c i f i c   c o n t a i n e r   r a t h e r   t h a n   f r o m   t h e   P o d   o v e r a l l .   H e r e   i s   a   m a n i f e s t   f o r   a   P o d   t h a t   a g a i n   h a s   j u s t   o n e   c o n t a i n e r :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   k u b e r n e t e s - d o w n w a r d a p i - v o l u m e - e x a m p l e - 2   s p e c :   c o n t a i n e r s :   -   n a m e :   c l i e n t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   c o m m a n d :   [ \" s h \" ,   \" - c \" ]   a r g s :   -   w h i l e   t r u e ;   d o   e c h o   - e n   ' \\ n ' ;   i f   [ [   - e   / e t c / p o d i n f o / c p u _ l i m i t   ] ] ;   t h e n   e c h o   - e n   ' \\ n ' ;   c a t   / e t c / p o d i n f o / c p u _ l i m i t ;   f i ;   i f   [ [   - e   / e t c / p o d i n f o / c p u _ r e q u e s t   ] ] ;   t h e n   e c h o   - e n   ' \\ n ' ;   c a t   / e t c / p o d i n f o / c p u _ r e q u e s t ;   f i ;   i f   [ [   - e   / e t c / p o d i n f o / m e m _ l i m i t   ] ] ;   t h e n   e c h o   - e n   ' \\ n ' ;   c a t   / e t c / p o d i n f o / m e m _ l i m i t ;   f i ;   i f   [ [   - e   / e t c / p o d i n f o / m e m _ r e q u e s t   ] ] ;   t h e n   e c h o   - e n   ' \\ n ' ;   c a t   / e t c / p o d i n f o / m e m _ r e q u e s t ;   f i ;   s l e e p   5 ;   d o n e ;   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 3 2 M i \"   c p u :   \" 1 2 5 m \"   l i m i t s :   m e m o r y :   \" 6 4 M i \"   c p u :   \" 2 5 0 m \"   v o l u m e M o u n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18705"
  },
  {
    "question": "What is Project keys to specific paths and file permissions?",
    "answer": "Y o u   c a n   p r o j e c t   k e y s   t o   s p e c i f i c   p a t h s   a n d   s p e c i f i c   p e r m i s s i o n s   o n   a   p e r - f i l e   b a s i s .   F o r   m o r e   i n f o r m a t i o n ,   s e e   S e c r e t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18706"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   t h e   s p e c   A P I   d e f i n i t i o n   f o r   P o d .   T h i s   i n c l u d e s   t h e   d e f i n i t i o n   o f   C o n t a i n e r   ( p a r t   o f   P o d ) . R e a d   t h e   l i s t   o f   a v a i l a b l e   f i e l d s   t h a t   y o u   c a n   e x p o s e   u s i n g   t h e   d o w n w a r d   A P I .   R e a d   a b o u t   v o l u m e s   i n   t h e   l e g a c y   A P I   r e f e r e n c e :   C h e c k   t h e   V o l u m e   A P I   d e f i n i t i o n   w h i c h   d e f i n e s   a   g e n e r i c   v o l u m e   i n   a   P o d   f o r   c o n t a i n e r s   t o   a c c e s s . C h e c k   t h e   D o w n w a r d A P I V o l u m e S o u r c e   A P I   d e f i n i t i o n   w h i c h   d e f i n e s   a   v o l u m e   t h a t   c o n t a i n s   D o w n w a r d   A P I   i n f o r m a t i o n . C h e c k   t h e   D o w n w a r d A P I V o l u m e F i l e   A P I   d e f i n i t i o n   w h i c h   c o n t a i n s   r e f e r e n c e s   t o   o b j e c t   o r   r e s o u r c e   f i e l d s   f o r   p o p u l a t i n g   a   f i l e   i n   t h e   D o w n w a r d   A P I   v o l u m e . C h e c k   t h e   R e s o u r c e F i e l d S e l e c t o r   A P I   d e f i n i t i o n   w h i c h   s p e c i f i e s   t h e   c o n t a i n e r   r e s o u r c e s   a n d   t h e i r   o u t p u t   f o r m a t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18707"
  },
  {
    "question": "What is 7.7 - Distribute Credentials Securely Using Secrets?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   s e c u r e l y   i n j e c t   s e n s i t i v e   d a t a ,   s u c h   a s   p a s s w o r d s   a n d   e n c r y p t i o n   k e y s ,   i n t o   P o d s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18708"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18709"
  },
  {
    "question": "What is Convert your secret data to a base-64 representation?",
    "answer": "S u p p o s e   y o u   w a n t   t o   h a v e   t w o   p i e c e s   o f   s e c r e t   d a t a :   a   u s e r n a m e   m y - a p p   a n d   a   p a s s w o r d   3 9 5 2 8 $ v d g 7 J b .   F i r s t ,   u s e   a   b a s e 6 4   e n c o d i n g   t o o l   t o   c o n v e r t   y o u r   u s e r n a m e   a n d   p a s s w o r d   t o   a   b a s e 6 4   r e p r e s e n t a t i o n .   H e r e ' s   a n   e x a m p l e   u s i n g   t h e   c o m m o n l y   a v a i l a b l e   b a s e 6 4   p r o g r a m :   e c h o   - n   ' m y - a p p '   |   b a s e 6 4   e c h o   - n   ' 3 9 5 2 8 $ v d g 7 J b '   |   b a s e 6 4   T h e   o u t p u t   s h o w s   t h a t   t h e   b a s e - 6 4   r e p r e s e n t a t i o n   o f   y o u r   u s e r n a m e   i s   b X k t Y X B w ,   a n d   t h e   b a s e - 6 4   r e p r e s e n t a t i o n   o f   y o u r   p a s s w o r d   i s   M z k 1 M j g k d m R n N 0 p i .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18710"
  },
  {
    "question": "What is Create a Secret?",
    "answer": "H e r e   i s   a   c o n f i g u r a t i o n   f i l e   y o u   c a n   u s e   t o   c r e a t e   a   S e c r e t   t h a t   h o l d s   y o u r   u s e r n a m e   a n d   p a s s w o r d :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   t e s t - s e c r e t   d a t a :   u s e r n a m e :   b X k t Y X B w   p a s s w o r d :   M z k 1 M j g k d m R n N 0 p i   C r e a t e   t h e   S e c r e t k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i n j e c t / s e c r e t . y a m l   V i e w   i n f o r m a t i o n   a b o u t   t h e   S e c r e t : k u b e c t l   g e t   s e c r e t   t e s t - s e c r e t   O u t p u t : N A M E   T Y P E   D A T A   A G E   t e s t - s e c r e t   O p a q u e   2   1 m   V i e w   m o r e   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   S e c r e t : k u b e c t l   d e s c r i b e   s e c r e t   t e s t - s e c r e t   O u t p u t : N a m e :   t e s t - s e c r e t   N a m e s p a c e :   d e f a u l t   L a b e l s :   < n o n e >   A n n o t a t i o n s :   < n o n e >   T y p e :   O p a q u e   D a t a   = = = =   p a s s w o r d :   1 3   b y t e s   u s e r n a m e :   7   b y t e s   C r e a t e   t h e   S e c r e t   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i n j e c t / s e c r e t . y a m l   V i e w   i n f o r m a t i o n   a b o u t   t h e   S e c r e t :   k u b e c t l   g e t   s e c r e t   t e s t - s e c r e t   O u t p u t :   N A M E   T Y P E   D A T A   A G E   t e s t - s e c r e t   O p a q u e   2   1 m   V i e w   m o r e   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   S e c r e t :   k u b e c t l   d e s c r i b e   s e c r e t   t e s t - s e c r e t   O u t p u t :   N a m e :   t e s t - s e c r e t   N a m e s p a c e :   d e f a u l t   L a b e l s :   < n o n e >   A n n o t a t i o n s :   < n o n e >   T y p e :   O p ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18711"
  },
  {
    "question": "What is Create a Secret directly with kubectl?",
    "answer": "I f   y o u   w a n t   t o   s k i p   t h e   B a s e 6 4   e n c o d i n g   s t e p ,   y o u   c a n   c r e a t e   t h e   s a m e   S e c r e t   u s i n g   t h e   k u b e c t l   c r e a t e   s e c r e t   c o m m a n d .   F o r   e x a m p l e :   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   t e s t - s e c r e t   - - f r o m - l i t e r a l = ' u s e r n a m e = m y - a p p '   - - f r o m - l i t e r a l = ' p a s s w o r d = 3 9 5 2 8 $ v d g 7 J b '   T h i s   i s   m o r e   c o n v e n i e n t .   T h e   d e t a i l e d   a p p r o a c h   s h o w n   e a r l i e r   r u n s   t h r o u g h   e a c h   s t e p   e x p l i c i t l y   t o   d e m o n s t r a t e   w h a t   i s   h a p p e n i n g .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18712"
  },
  {
    "question": "What is Create a Pod that has access to the secret data through a Volume?",
    "answer": "H e r e   i s   a   c o n f i g u r a t i o n   f i l e   y o u   c a n   u s e   t o   c r e a t e   a   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s e c r e t - t e s t - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   n g i n x   v o l u m e M o u n t s :   #   n a m e   m u s t   m a t c h   t h e   v o l u m e   n a m e   b e l o w   -   n a m e :   s e c r e t - v o l u m e   m o u n t P a t h :   / e t c / s e c r e t - v o l u m e   r e a d O n l y :   t r u e   #   T h e   s e c r e t   d a t a   i s   e x p o s e d   t o   C o n t a i n e r s   i n   t h e   P o d   t h r o u g h   a   V o l u m e .   v o l u m e s :   -   n a m e :   s e c r e t - v o l u m e   s e c r e t :   s e c r e t N a m e :   t e s t - s e c r e t   C r e a t e   t h e   P o d : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i n j e c t / s e c r e t - p o d . y a m l   V e r i f y   t h a t   y o u r   P o d   i s   r u n n i n g : k u b e c t l   g e t   p o d   s e c r e t - t e s t - p o d   O u t p u t : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   s e c r e t - t e s t - p o d   1 / 1   R u n n i n g   0   4 2 m   G e t   a   s h e l l   i n t o   t h e   C o n t a i n e r   t h a t   i s   r u n n i n g   i n   y o u r   P o d : k u b e c t l   e x e c   - i   - t   s e c r e t - t e s t - p o d   - -   / b i n / b a s h   T h e   s e c r e t   d a t a   i s   e x p o s e d   t o   t h e   C o n t a i n e r   t h r o u g h   a   V o l u m e   m o u n t e d   u n d e r   / e t c / s e c r e t - v o l u m e . I n   y o u r   s h e l l ,   l i s t   t h e   f i l e s   i n   t h e   / e t c / s e c r e t - v o l u m e   d i r e c t o r y : #   R u n   t h i s   i n   t h e   s h e l l   i n s i d e   t h e   c o n t a i n e r   l s   / e t c / s e c r e t - v o l u m e   T h e   o u t p u t   s h o w s   t w o   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18713"
  },
  {
    "question": "What is Project Secret keys to specific file paths?",
    "answer": "Y o u   c a n   a l s o   c o n t r o l   t h e   p a t h s   w i t h i n   t h e   v o l u m e   w h e r e   S e c r e t   k e y s   a r e   p r o j e c t e d .   U s e   t h e   . s p e c . v o l u m e s [ ] . s e c r e t . i t e m s   f i e l d   t o   c h a n g e   t h e   t a r g e t   p a t h   o f   e a c h   k e y :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   m y p o d   i m a g e :   r e d i s   v o l u m e M o u n t s :   -   n a m e :   f o o   m o u n t P a t h :   \" / e t c / f o o \"   r e a d O n l y :   t r u e   v o l u m e s :   -   n a m e :   f o o   s e c r e t :   s e c r e t N a m e :   m y s e c r e t   i t e m s :   -   k e y :   u s e r n a m e   p a t h :   m y - g r o u p / m y - u s e r n a m e   W h e n   y o u   d e p l o y   t h i s   P o d ,   t h e   f o l l o w i n g   h a p p e n s :   T h e   u s e r n a m e   k e y   f r o m   m y s e c r e t   i s   a v a i l a b l e   t o   t h e   c o n t a i n e r   a t   t h e   p a t h   / e t c / f o o / m y - g r o u p / m y - u s e r n a m e   i n s t e a d   o f   a t   / e t c / f o o / u s e r n a m e . T h e   p a s s w o r d   k e y   f r o m   t h a t   S e c r e t   o b j e c t   i s   n o t   p r o j e c t e d .   I f   y o u   l i s t   k e y s   e x p l i c i t l y   u s i n g   . s p e c . v o l u m e s [ ] . s e c r e t . i t e m s ,   c o n s i d e r   t h e   f o l l o w i n g :   O n l y   k e y s   s p e c i f i e d   i n   i t e m s   a r e   p r o j e c t e d . T o   c o n s u m e   a l l   k e y s   f r o m   t h e   S e c r e t ,   a l l   o f   t h e m   m u s t   b e   l i s t e d   i n   t h e   i t e m s   f i e l d . A l l   l i s t e d   k e y s   m u s t   e x i s t   i n   t h e   c o r r e s p o n d i n g   S e c r e t .   O t h e r w i s e ,   t h e   v o l u m e   i s   n o t   c r e a t e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18714"
  },
  {
    "question": "What is Set POSIX permissions for Secret keys?",
    "answer": "Y o u   c a n   s e t   t h e   P O S I X   f i l e   a c c e s s   p e r m i s s i o n   b i t s   f o r   a   s i n g l e   S e c r e t   k e y .   I f   y o u   d o n ' t   s p e c i f y   a n y   p e r m i s s i o n s ,   0 6 4 4   i s   u s e d   b y   d e f a u l t .   Y o u   c a n   a l s o   s e t   a   d e f a u l t   P O S I X   f i l e   m o d e   f o r   t h e   e n t i r e   S e c r e t   v o l u m e ,   a n d   y o u   c a n   o v e r r i d e   p e r   k e y   i f   n e e d e d .   F o r   e x a m p l e ,   y o u   c a n   s p e c i f y   a   d e f a u l t   m o d e   l i k e   t h i s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   m y p o d   i m a g e :   r e d i s   v o l u m e M o u n t s :   -   n a m e :   f o o   m o u n t P a t h :   \" / e t c / f o o \"   v o l u m e s :   -   n a m e :   f o o   s e c r e t :   s e c r e t N a m e :   m y s e c r e t   d e f a u l t M o d e :   0 4 0 0   T h e   S e c r e t   i s   m o u n t e d   o n   / e t c / f o o ;   a l l   t h e   f i l e s   c r e a t e d   b y   t h e   s e c r e t   v o l u m e   m o u n t   h a v e   p e r m i s s i o n   0 4 0 0 .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18715"
  },
  {
    "question": "What is Define container environment variables using Secret data?",
    "answer": "Y o u   c a n   c o n s u m e   t h e   d a t a   i n   S e c r e t s   a s   e n v i r o n m e n t   v a r i a b l e s   i n   y o u r   c o n t a i n e r s .   I f   a   c o n t a i n e r   a l r e a d y   c o n s u m e s   a   S e c r e t   i n   a n   e n v i r o n m e n t   v a r i a b l e ,   a   S e c r e t   u p d a t e   w i l l   n o t   b e   s e e n   b y   t h e   c o n t a i n e r   u n l e s s   i t   i s   r e s t a r t e d .   T h e r e   a r e   t h i r d   p a r t y   s o l u t i o n s   f o r   t r i g g e r i n g   r e s t a r t s   w h e n   s e c r e t s   c h a n g e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18716"
  },
  {
    "question": "What is Define a container environment variable with data from a single Secret?",
    "answer": "D e f i n e   a n   e n v i r o n m e n t   v a r i a b l e   a s   a   k e y - v a l u e   p a i r   i n   a   S e c r e t : k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   b a c k e n d - u s e r   - - f r o m - l i t e r a l = b a c k e n d - u s e r n a m e = ' b a c k e n d - a d m i n '   A s s i g n   t h e   b a c k e n d - u s e r n a m e   v a l u e   d e f i n e d   i n   t h e   S e c r e t   t o   t h e   S E C R E T _ U S E R N A M E   e n v i r o n m e n t   v a r i a b l e   i n   t h e   P o d   s p e c i f i c a t i o n . p o d s / i n j e c t / p o d - s i n g l e - s e c r e t - e n v - v a r i a b l e . y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e n v - s i n g l e - s e c r e t   s p e c :   c o n t a i n e r s :   -   n a m e :   e n v a r s - t e s t - c o n t a i n e r   i m a g e :   n g i n x   e n v :   -   n a m e :   S E C R E T _ U S E R N A M E   v a l u e F r o m :   s e c r e t K e y R e f :   n a m e :   b a c k e n d - u s e r   k e y :   b a c k e n d - u s e r n a m e   C r e a t e   t h e   P o d : k u b e c t l   c r e a t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i n j e c t / p o d - s i n g l e - s e c r e t - e n v - v a r i a b l e . y a m l   I n   y o u r   s h e l l ,   d i s p l a y   t h e   c o n t e n t   o f   S E C R E T _ U S E R N A M E   c o n t a i n e r   e n v i r o n m e n t   v a r i a b l e . k u b e c t l   e x e c   - i   - t   e n v - s i n g l e - s e c r e t   - -   / b i n / s h   - c   ' e c h o   $ S E C R E T _ U S E R N A M E '   T h e   o u t p u t   i s   s i m i l a r   t o : b a c k e n d - a d m i n   D e f i n e   a n   e n v i r o n m e n t   v a r i a b l e   a s   a   k e y - v a l u e   p a i r   i n   a   S e c r e t :   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   b a c k e n d - u s e r   - - f r o m - l i t e r a l = b a c k e n d - u s e r n a m e = ' b a c k e n d - a d m i n ' ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18717"
  },
  {
    "question": "What is Define container environment variables with data from multiple Secrets?",
    "answer": "A s   w i t h   t h e   p r e v i o u s   e x a m p l e ,   c r e a t e   t h e   S e c r e t s   f i r s t . k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   b a c k e n d - u s e r   - - f r o m - l i t e r a l = b a c k e n d - u s e r n a m e = ' b a c k e n d - a d m i n '   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   d b - u s e r   - - f r o m - l i t e r a l = d b - u s e r n a m e = ' d b - a d m i n '   D e f i n e   t h e   e n v i r o n m e n t   v a r i a b l e s   i n   t h e   P o d   s p e c i f i c a t i o n . p o d s / i n j e c t / p o d - m u l t i p l e - s e c r e t - e n v - v a r i a b l e . y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e n v v a r s - m u l t i p l e - s e c r e t s   s p e c :   c o n t a i n e r s :   -   n a m e :   e n v a r s - t e s t - c o n t a i n e r   i m a g e :   n g i n x   e n v :   -   n a m e :   B A C K E N D _ U S E R N A M E   v a l u e F r o m :   s e c r e t K e y R e f :   n a m e :   b a c k e n d - u s e r   k e y :   b a c k e n d - u s e r n a m e   -   n a m e :   D B _ U S E R N A M E   v a l u e F r o m :   s e c r e t K e y R e f :   n a m e :   d b - u s e r   k e y :   d b - u s e r n a m e   C r e a t e   t h e   P o d : k u b e c t l   c r e a t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i n j e c t / p o d - m u l t i p l e - s e c r e t - e n v - v a r i a b l e . y a m l   I n   y o u r   s h e l l ,   d i s p l a y   t h e   c o n t a i n e r   e n v i r o n m e n t   v a r i a b l e s . k u b e c t l   e x e c   - i   - t   e n v v a r s - m u l t i p l e - s e c r e t s   - -   / b i n / s h   - c   ' e n v   |   g r e p   _ U S E R N A M E '   T h e   o u t p u t   i s   s i m i l a r   t o : D B _ U S E R N A M E = d b - a d m i n   B A C K E N D _ U S E R N A M E = b a c k e n d - a d m i n   A s   w i t h   t h e   p r e v i o u s   e x a m p l e ,   c r e a t e   t h e   S e c r e t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18718"
  },
  {
    "question": "What is Note:?",
    "answer": "C r e a t e   a   S e c r e t   c o n t a i n i n g   m u l t i p l e   k e y - v a l u e   p a i r s k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   t e s t - s e c r e t   - - f r o m - l i t e r a l = u s e r n a m e = ' m y - a p p '   - - f r o m - l i t e r a l = p a s s w o r d = ' 3 9 5 2 8 $ v d g 7 J b '   U s e   e n v F r o m   t o   d e f i n e   a l l   o f   t h e   S e c r e t ' s   d a t a   a s   c o n t a i n e r   e n v i r o n m e n t   v a r i a b l e s .   T h e   k e y   f r o m   t h e   S e c r e t   b e c o m e s   t h e   e n v i r o n m e n t   v a r i a b l e   n a m e   i n   t h e   P o d . p o d s / i n j e c t / p o d - s e c r e t - e n v F r o m . y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e n v f r o m - s e c r e t   s p e c :   c o n t a i n e r s :   -   n a m e :   e n v a r s - t e s t - c o n t a i n e r   i m a g e :   n g i n x   e n v F r o m :   -   s e c r e t R e f :   n a m e :   t e s t - s e c r e t   C r e a t e   t h e   P o d : k u b e c t l   c r e a t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i n j e c t / p o d - s e c r e t - e n v F r o m . y a m l   I n   y o u r   s h e l l ,   d i s p l a y   u s e r n a m e   a n d   p a s s w o r d   c o n t a i n e r   e n v i r o n m e n t   v a r i a b l e s . k u b e c t l   e x e c   - i   - t   e n v f r o m - s e c r e t   - -   / b i n / s h   - c   ' e c h o   \" u s e r n a m e :   $ u s e r n a m e \\ n p a s s w o r d :   $ p a s s w o r d \\ n \" '   T h e   o u t p u t   i s   s i m i l a r   t o : u s e r n a m e :   m y - a p p   p a s s w o r d :   3 9 5 2 8 $ v d g 7 J b   C r e a t e   a   S e c r e t   c o n t a i n i n g   m u l t i p l e   k e y - v a l u e   p a i r s   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   t e s t - s e c r e t   - - f r o m - l i t e r a l = u s e r n a m e = ' m y - a p p '   - - f r o m - l i t e r a l = p a s s w o r d = ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18719"
  },
  {
    "question": "What is Example: Provide prod/test credentials to Pods using Secrets?",
    "answer": "T h i s   e x a m p l e   i l l u s t r a t e s   a   P o d   w h i c h   c o n s u m e s   a   s e c r e t   c o n t a i n i n g   p r o d u c t i o n   c r e d e n t i a l s   a n d   a n o t h e r   P o d   w h i c h   c o n s u m e s   a   s e c r e t   w i t h   t e s t   e n v i r o n m e n t   c r e d e n t i a l s .   C r e a t e   a   s e c r e t   f o r   p r o d   e n v i r o n m e n t   c r e d e n t i a l s : k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   p r o d - d b - s e c r e t   - - f r o m - l i t e r a l = u s e r n a m e = p r o d u s e r   - - f r o m - l i t e r a l = p a s s w o r d = Y 4 n y s 7 f 1 1   T h e   o u t p u t   i s   s i m i l a r   t o : s e c r e t   \" p r o d - d b - s e c r e t \"   c r e a t e d   C r e a t e   a   s e c r e t   f o r   t e s t   e n v i r o n m e n t   c r e d e n t i a l s . k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   t e s t - d b - s e c r e t   - - f r o m - l i t e r a l = u s e r n a m e = t e s t u s e r   - - f r o m - l i t e r a l = p a s s w o r d = i l u v t e s t s   T h e   o u t p u t   i s   s i m i l a r   t o : s e c r e t   \" t e s t - d b - s e c r e t \"   c r e a t e d   N o t e : S p e c i a l   c h a r a c t e r s   s u c h   a s   $ ,   \\ ,   * ,   = ,   a n d   !   w i l l   b e   i n t e r p r e t e d   b y   y o u r   s h e l l   a n d   r e q u i r e   e s c a p i n g . I n   m o s t   s h e l l s ,   t h e   e a s i e s t   w a y   t o   e s c a p e   t h e   p a s s w o r d   i s   t o   s u r r o u n d   i t   w i t h   s i n g l e   q u o t e s   ( ' ) .   F o r   e x a m p l e ,   i f   y o u r   a c t u a l   p a s s w o r d   i s   S ! B \\ * d $ z D s b = ,   y o u   s h o u l d   e x e c u t e   t h e   c o m m a n d   a s   f o l l o w s : k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   d e v - d b - s e c r e t   - - f r o m - l i t e r a l = u s e r n a m e = d e v u s e r   - - f r o m - l i t e r a l = p a s s w o r d = ' S ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18720"
  },
  {
    "question": "What is Note:?",
    "answer": "S p e c i a l   c h a r a c t e r s   s u c h   a s   $ ,   \\ ,   * ,   = ,   a n d   !   w i l l   b e   i n t e r p r e t e d   b y   y o u r   s h e l l   a n d   r e q u i r e   e s c a p i n g .   I n   m o s t   s h e l l s ,   t h e   e a s i e s t   w a y   t o   e s c a p e   t h e   p a s s w o r d   i s   t o   s u r r o u n d   i t   w i t h   s i n g l e   q u o t e s   ( ' ) .   F o r   e x a m p l e ,   i f   y o u r   a c t u a l   p a s s w o r d   i s   S ! B \\ * d $ z D s b = ,   y o u   s h o u l d   e x e c u t e   t h e   c o m m a n d   a s   f o l l o w s :   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   d e v - d b - s e c r e t   - - f r o m - l i t e r a l = u s e r n a m e = d e v u s e r   - - f r o m - l i t e r a l = p a s s w o r d = ' S ! B \\ * d $ z D s b = '   Y o u   d o   n o t   n e e d   t o   e s c a p e   s p e c i a l   c h a r a c t e r s   i n   p a s s w o r d s   f r o m   f i l e s   ( - - f r o m - f i l e ) .   C r e a t e   t h e   P o d   m a n i f e s t s :   c a t   < < E O F   >   p o d . y a m l   a p i V e r s i o n :   v 1   k i n d :   L i s t   i t e m s :   -   k i n d :   P o d   a p i V e r s i o n :   v 1   m e t a d a t a :   n a m e :   p r o d - d b - c l i e n t - p o d   l a b e l s :   n a m e :   p r o d - d b - c l i e n t   s p e c :   v o l u m e s :   -   n a m e :   s e c r e t - v o l u m e   s e c r e t :   s e c r e t N a m e :   p r o d - d b - s e c r e t   c o n t a i n e r s :   -   n a m e :   d b - c l i e n t - c o n t a i n e r   i m a g e :   m y C l i e n t I m a g e   v o l u m e M o u n t s :   -   n a m e :   s e c r e t - v o l u m e   r e a d O n l y :   t r u e   m o u n t P a t h :   \" / e t c / s e c r e t - v o l u m e \"   -   k i n d :   P o d   a p i V e r s i o n :   v 1   m e t a d a t a :   n a m e :   t e s t - d b - c l i e n t - p o d   l a b e l s :   n a m e :   t e s t - d b - c l i e n t   s p e c :   v o l u m e s :   -   n a m e :   s e c r e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18721"
  },
  {
    "question": "What is Note:?",
    "answer": "A p p l y   a l l   t h o s e   o b j e c t s   o n   t h e   A P I   s e r v e r   b y   r u n n i n g :   k u b e c t l   c r e a t e   - f   p o d . y a m l   B o t h   c o n t a i n e r s   w i l l   h a v e   t h e   f o l l o w i n g   f i l e s   p r e s e n t   o n   t h e i r   f i l e s y s t e m s   w i t h   t h e   v a l u e s   f o r   e a c h   c o n t a i n e r ' s   e n v i r o n m e n t :   / e t c / s e c r e t - v o l u m e / u s e r n a m e   / e t c / s e c r e t - v o l u m e / p a s s w o r d   Y o u   c o u l d   f u r t h e r   s i m p l i f y   t h e   b a s e   P o d   s p e c i f i c a t i o n   b y   u s i n g   t w o   s e r v i c e   a c c o u n t s :   p r o d - u s e r   w i t h   t h e   p r o d - d b - s e c r e t t e s t - u s e r   w i t h   t h e   t e s t - d b - s e c r e t   T h e   P o d   s p e c i f i c a t i o n   i s   s h o r t e n e d   t o :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p r o d - d b - c l i e n t - p o d   l a b e l s :   n a m e :   p r o d - d b - c l i e n t   s p e c :   s e r v i c e A c c o u n t :   p r o d - d b - c l i e n t   c o n t a i n e r s :   -   n a m e :   d b - c l i e n t - c o n t a i n e r   i m a g e :   m y C l i e n t I m a g e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18722"
  },
  {
    "question": "What is References?",
    "answer": "S e c r e t V o l u m e P o d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18723"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   S e c r e t s . L e a r n   a b o u t   V o l u m e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18724"
  },
  {
    "question": "What is 8.1 - Run a Stateless Application Using a Deployment?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   r u n   a n   a p p l i c a t i o n   u s i n g   a   K u b e r n e t e s   D e p l o y m e n t   o b j e c t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18725"
  },
  {
    "question": "What is Objectives?",
    "answer": "C r e a t e   a n   n g i n x   d e p l o y m e n t . U s e   k u b e c t l   t o   l i s t   i n f o r m a t i o n   a b o u t   t h e   d e p l o y m e n t . U p d a t e   t h e   d e p l o y m e n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18726"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 9 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18727"
  },
  {
    "question": "What is Creating and exploring an nginx deployment?",
    "answer": "Y o u   c a n   r u n   a n   a p p l i c a t i o n   b y   c r e a t i n g   a   K u b e r n e t e s   D e p l o y m e n t   o b j e c t ,   a n d   y o u   c a n   d e s c r i b e   a   D e p l o y m e n t   i n   a   Y A M L   f i l e .   F o r   e x a m p l e ,   t h i s   Y A M L   f i l e   d e s c r i b e s   a   D e p l o y m e n t   t h a t   r u n s   t h e   n g i n x : 1 . 1 4 . 2   D o c k e r   i m a g e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   r e p l i c a s :   2   #   t e l l s   d e p l o y m e n t   t o   r u n   2   p o d s   m a t c h i n g   t h e   t e m p l a t e   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   p o r t s :   -   c o n t a i n e r P o r t :   8 0   C r e a t e   a   D e p l o y m e n t   b a s e d   o n   t h e   Y A M L   f i l e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / d e p l o y m e n t . y a m l   D i s p l a y   i n f o r m a t i o n   a b o u t   t h e   D e p l o y m e n t : k u b e c t l   d e s c r i b e   d e p l o y m e n t   n g i n x - d e p l o y m e n t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N a m e :   n g i n x - d e p l o y m e n t   N a m e s p a c e :   d e f a u l t   C r e a t i o n T i m e s t a m p :   T u e ,   3 0   A u g   2 0 1 6   1 8 : 1 1 : 3 7   - 0 7 0 0   L a b e l s :   a p p = n g i n x   A n n o t a t i o n s :   d e p l o y m e n t . k u b e r n e t e s . i o / r e v i s i o n = 1   S e l e c t o r :   a p p = n g i n x   R e p l i c a s :   2   d e s i r e d   |   2   u p d a t e d   |   2   t o t a l   |   2   a v a i l a b l e   |   0   u n a v a i l a b l e   S t r a t e g y T y p e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18728"
  },
  {
    "question": "What is Updating the deployment?",
    "answer": "Y o u   c a n   u p d a t e   t h e   d e p l o y m e n t   b y   a p p l y i n g   a   n e w   Y A M L   f i l e .   T h i s   Y A M L   f i l e   s p e c i f i e s   t h a t   t h e   d e p l o y m e n t   s h o u l d   b e   u p d a t e d   t o   u s e   n g i n x   1 . 1 6 . 1 .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   r e p l i c a s :   2   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 6 . 1   #   U p d a t e   t h e   v e r s i o n   o f   n g i n x   f r o m   1 . 1 4 . 2   t o   1 . 1 6 . 1   p o r t s :   -   c o n t a i n e r P o r t :   8 0   A p p l y   t h e   n e w   Y A M L   f i l e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / d e p l o y m e n t - u p d a t e . y a m l   W a t c h   t h e   d e p l o y m e n t   c r e a t e   p o d s   w i t h   n e w   n a m e s   a n d   d e l e t e   t h e   o l d   p o d s : k u b e c t l   g e t   p o d s   - l   a p p = n g i n x   A p p l y   t h e   n e w   Y A M L   f i l e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / d e p l o y m e n t - u p d a t e . y a m l   W a t c h   t h e   d e p l o y m e n t   c r e a t e   p o d s   w i t h   n e w   n a m e s   a n d   d e l e t e   t h e   o l d   p o d s :   k u b e c t l   g e t   p o d s   - l   a p p = n g i n x",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18729"
  },
  {
    "question": "What is Scaling the application by increasing the replica count?",
    "answer": "Y o u   c a n   i n c r e a s e   t h e   n u m b e r   o f   P o d s   i n   y o u r   D e p l o y m e n t   b y   a p p l y i n g   a   n e w   Y A M L   f i l e .   T h i s   Y A M L   f i l e   s e t s   r e p l i c a s   t o   4 ,   w h i c h   s p e c i f i e s   t h a t   t h e   D e p l o y m e n t   s h o u l d   h a v e   f o u r   P o d s :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   r e p l i c a s :   4   #   U p d a t e   t h e   r e p l i c a s   f r o m   2   t o   4   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 6 . 1   p o r t s :   -   c o n t a i n e r P o r t :   8 0   A p p l y   t h e   n e w   Y A M L   f i l e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / d e p l o y m e n t - s c a l e . y a m l   V e r i f y   t h a t   t h e   D e p l o y m e n t   h a s   f o u r   P o d s : k u b e c t l   g e t   p o d s   - l   a p p = n g i n x   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   n g i n x - d e p l o y m e n t - 1 4 8 8 8 0 5 9 5 - 4 z d q q   1 / 1   R u n n i n g   0   2 5 s   n g i n x - d e p l o y m e n t - 1 4 8 8 8 0 5 9 5 - 6 z g i 1   1 / 1   R u n n i n g   0   2 5 s   n g i n x - d e p l o y m e n t - 1 4 8 8 8 0 5 9 5 - f x c e z   1 / 1   R u n n i n g   0   2 m   n g i n x - d e p l o y m e n t - 1 4 8 8 8 0 5 9 5 - r w o v n   1 / 1   R u n n i n g   0   2 m   A p p l y   t h e   n e w   Y A M L   f i l e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / d e p l o y m e n t - s c a l e . y a m l   V e r i f y   t h a t   t h e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18730"
  },
  {
    "question": "What is Deleting a deployment?",
    "answer": "D e l e t e   t h e   d e p l o y m e n t   b y   n a m e :   k u b e c t l   d e l e t e   d e p l o y m e n t   n g i n x - d e p l o y m e n t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18731"
  },
  {
    "question": "What is ReplicationControllers -- the Old Way?",
    "answer": "T h e   p r e f e r r e d   w a y   t o   c r e a t e   a   r e p l i c a t e d   a p p l i c a t i o n   i s   t o   u s e   a   D e p l o y m e n t ,   w h i c h   i n   t u r n   u s e s   a   R e p l i c a S e t .   B e f o r e   t h e   D e p l o y m e n t   a n d   R e p l i c a S e t   w e r e   a d d e d   t o   K u b e r n e t e s ,   r e p l i c a t e d   a p p l i c a t i o n s   w e r e   c o n f i g u r e d   u s i n g   a   R e p l i c a t i o n C o n t r o l l e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18732"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   D e p l o y m e n t   o b j e c t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18733"
  },
  {
    "question": "What is 8.2 - Run a Single-Instance Stateful Application?",
    "answer": "T h i s   p a g e   s h o w s   y o u   h o w   t o   r u n   a   s i n g l e - i n s t a n c e   s t a t e f u l   a p p l i c a t i o n   i n   K u b e r n e t e s   u s i n g   a   P e r s i s t e n t V o l u m e   a n d   a   D e p l o y m e n t .   T h e   a p p l i c a t i o n   i s   M y S Q L .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18734"
  },
  {
    "question": "What is Objectives?",
    "answer": "C r e a t e   a   P e r s i s t e n t V o l u m e   r e f e r e n c i n g   a   d i s k   i n   y o u r   e n v i r o n m e n t . C r e a t e   a   M y S Q L   D e p l o y m e n t . E x p o s e   M y S Q L   t o   o t h e r   p o d s   i n   t h e   c l u s t e r   a t   a   k n o w n   D N S   n a m e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18735"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n . Y o u   n e e d   t o   e i t h e r   h a v e   a   d y n a m i c   P e r s i s t e n t V o l u m e   p r o v i s i o n e r   w i t h   a   d e f a u l t   S t o r a g e C l a s s ,   o r   s t a t i c a l l y   p r o v i s i o n   P e r s i s t e n t V o l u m e s   y o u r s e l f   t o   s a t i s f y   t h e   P e r s i s t e n t V o l u m e C l a i m s   u s e d   h e r e .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18736"
  },
  {
    "question": "What is Deploy MySQL?",
    "answer": "Y o u   c a n   r u n   a   s t a t e f u l   a p p l i c a t i o n   b y   c r e a t i n g   a   K u b e r n e t e s   D e p l o y m e n t   a n d   c o n n e c t i n g   i t   t o   a n   e x i s t i n g   P e r s i s t e n t V o l u m e   u s i n g   a   P e r s i s t e n t V o l u m e C l a i m .   F o r   e x a m p l e ,   t h i s   Y A M L   f i l e   d e s c r i b e s   a   D e p l o y m e n t   t h a t   r u n s   M y S Q L   a n d   r e f e r e n c e s   t h e   P e r s i s t e n t V o l u m e C l a i m .   T h e   f i l e   d e f i n e s   a   v o l u m e   m o u n t   f o r   / v a r / l i b / m y s q l ,   a n d   t h e n   c r e a t e s   a   P e r s i s t e n t V o l u m e C l a i m   t h a t   l o o k s   f o r   a   2 0 G   v o l u m e .   T h i s   c l a i m   i s   s a t i s f i e d   b y   a n y   e x i s t i n g   v o l u m e   t h a t   m e e t s   t h e   r e q u i r e m e n t s ,   o r   b y   a   d y n a m i c   p r o v i s i o n e r .   N o t e :   T h e   p a s s w o r d   i s   d e f i n e d   i n   t h e   c o n f i g   y a m l ,   a n d   t h i s   i s   i n s e c u r e .   S e e   K u b e r n e t e s   S e c r e t s   f o r   a   s e c u r e   s o l u t i o n .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y s q l   s p e c :   p o r t s :   -   p o r t :   3 3 0 6   s e l e c t o r :   a p p :   m y s q l   c l u s t e r I P :   N o n e   - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   m y s q l   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   m y s q l   s t r a t e g y :   t y p e :   R e c r e a t e   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   m y s q l   s p e c :   c o n t a i n e r s :   -   i m a g e :   m y s q l : 9   n a m e :   m y s q l   e n v :   #   U s e   s e c r e t   i n   r e a l   u s a g e   -   n a m e :   M Y S Q L _ R O O T _ P A S S W O R D   v a l u e : ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18737"
  },
  {
    "question": "What is Accessing the MySQL instance?",
    "answer": "T h e   p r e c e d i n g   Y A M L   f i l e   c r e a t e s   a   s e r v i c e   t h a t   a l l o w s   o t h e r   P o d s   i n   t h e   c l u s t e r   t o   a c c e s s   t h e   d a t a b a s e .   T h e   S e r v i c e   o p t i o n   c l u s t e r I P :   N o n e   l e t s   t h e   S e r v i c e   D N S   n a m e   r e s o l v e   d i r e c t l y   t o   t h e   P o d ' s   I P   a d d r e s s .   T h i s   i s   o p t i m a l   w h e n   y o u   h a v e   o n l y   o n e   P o d   b e h i n d   a   S e r v i c e   a n d   y o u   d o n ' t   i n t e n d   t o   i n c r e a s e   t h e   n u m b e r   o f   P o d s .   R u n   a   M y S Q L   c l i e n t   t o   c o n n e c t   t o   t h e   s e r v e r :   k u b e c t l   r u n   - i t   - - r m   - - i m a g e = m y s q l : 9   - - r e s t a r t = N e v e r   m y s q l - c l i e n t   - -   m y s q l   - h   m y s q l   - p p a s s w o r d   T h i s   c o m m a n d   c r e a t e s   a   n e w   P o d   i n   t h e   c l u s t e r   r u n n i n g   a   M y S Q L   c l i e n t   a n d   c o n n e c t s   i t   t o   t h e   s e r v e r   t h r o u g h   t h e   S e r v i c e .   I f   i t   c o n n e c t s ,   y o u   k n o w   y o u r   s t a t e f u l   M y S Q L   d a t a b a s e   i s   u p   a n d   r u n n i n g .   W a i t i n g   f o r   p o d   d e f a u l t / m y s q l - c l i e n t - 2 7 4 4 4 2 4 3 9 - z y p 6 i   t o   b e   r u n n i n g ,   s t a t u s   i s   P e n d i n g ,   p o d   r e a d y :   f a l s e   I f   y o u   d o n ' t   s e e   a   c o m m a n d   p r o m p t ,   t r y   p r e s s i n g   e n t e r .   m y s q l >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18738"
  },
  {
    "question": "What is Updating?",
    "answer": "T h e   i m a g e   o r   a n y   o t h e r   p a r t   o f   t h e   D e p l o y m e n t   c a n   b e   u p d a t e d   a s   u s u a l   w i t h   t h e   k u b e c t l   a p p l y   c o m m a n d .   H e r e   a r e   s o m e   p r e c a u t i o n s   t h a t   a r e   s p e c i f i c   t o   s t a t e f u l   a p p s :   D o n ' t   s c a l e   t h e   a p p .   T h i s   s e t u p   i s   f o r   s i n g l e - i n s t a n c e   a p p s   o n l y .   T h e   u n d e r l y i n g   P e r s i s t e n t V o l u m e   c a n   o n l y   b e   m o u n t e d   t o   o n e   P o d .   F o r   c l u s t e r e d   s t a t e f u l   a p p s ,   s e e   t h e   S t a t e f u l S e t   d o c u m e n t a t i o n . U s e   s t r a t e g y :   t y p e :   R e c r e a t e   i n   t h e   D e p l o y m e n t   c o n f i g u r a t i o n   Y A M L   f i l e .   T h i s   i n s t r u c t s   K u b e r n e t e s   t o   n o t   u s e   r o l l i n g   u p d a t e s .   R o l l i n g   u p d a t e s   w i l l   n o t   w o r k ,   a s   y o u   c a n n o t   h a v e   m o r e   t h a n   o n e   P o d   r u n n i n g   a t   a   t i m e .   T h e   R e c r e a t e   s t r a t e g y   w i l l   s t o p   t h e   f i r s t   p o d   b e f o r e   c r e a t i n g   a   n e w   o n e   w i t h   t h e   u p d a t e d   c o n f i g u r a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18739"
  },
  {
    "question": "What is Deleting a deployment?",
    "answer": "D e l e t e   t h e   d e p l o y e d   o b j e c t s   b y   n a m e :   k u b e c t l   d e l e t e   d e p l o y m e n t , s v c   m y s q l   k u b e c t l   d e l e t e   p v c   m y s q l - p v - c l a i m   k u b e c t l   d e l e t e   p v   m y s q l - p v - v o l u m e   I f   y o u   m a n u a l l y   p r o v i s i o n e d   a   P e r s i s t e n t V o l u m e ,   y o u   a l s o   n e e d   t o   m a n u a l l y   d e l e t e   i t ,   a s   w e l l   a s   r e l e a s e   t h e   u n d e r l y i n g   r e s o u r c e .   I f   y o u   u s e d   a   d y n a m i c   p r o v i s i o n e r ,   i t   a u t o m a t i c a l l y   d e l e t e s   t h e   P e r s i s t e n t V o l u m e   w h e n   i t   s e e s   t h a t   y o u   d e l e t e d   t h e   P e r s i s t e n t V o l u m e C l a i m .   S o m e   d y n a m i c   p r o v i s i o n e r s   ( s u c h   a s   t h o s e   f o r   E B S   a n d   P D )   a l s o   r e l e a s e   t h e   u n d e r l y i n g   r e s o u r c e   u p o n   d e l e t i n g   t h e   P e r s i s t e n t V o l u m e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18740"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   D e p l o y m e n t   o b j e c t s . L e a r n   m o r e   a b o u t   D e p l o y i n g   a p p l i c a t i o n s k u b e c t l   r u n   d o c u m e n t a t i o n V o l u m e s   a n d   P e r s i s t e n t   V o l u m e s   L e a r n   m o r e   a b o u t   D e p l o y m e n t   o b j e c t s .   L e a r n   m o r e   a b o u t   D e p l o y i n g   a p p l i c a t i o n s   k u b e c t l   r u n   d o c u m e n t a t i o n   V o l u m e s   a n d   P e r s i s t e n t   V o l u m e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18741"
  },
  {
    "question": "What is 8.3 - Run a Replicated Stateful Application?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   r u n   a   r e p l i c a t e d   s t a t e f u l   a p p l i c a t i o n   u s i n g   a   S t a t e f u l S e t .   T h i s   a p p l i c a t i o n   i s   a   r e p l i c a t e d   M y S Q L   d a t a b a s e .   T h e   e x a m p l e   t o p o l o g y   h a s   a   s i n g l e   p r i m a r y   s e r v e r   a n d   m u l t i p l e   r e p l i c a s ,   u s i n g   a s y n c h r o n o u s   r o w - b a s e d   r e p l i c a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18742"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u   n e e d   t o   e i t h e r   h a v e   a   d y n a m i c   P e r s i s t e n t V o l u m e   p r o v i s i o n e r   w i t h   a   d e f a u l t   S t o r a g e C l a s s ,   o r   s t a t i c a l l y   p r o v i s i o n   P e r s i s t e n t V o l u m e s   y o u r s e l f   t o   s a t i s f y   t h e   P e r s i s t e n t V o l u m e C l a i m s   u s e d   h e r e . T h i s   t u t o r i a l   a s s u m e s   y o u   a r e   f a m i l i a r   w i t h   P e r s i s t e n t V o l u m e s   a n d   S t a t e f u l S e t s ,   a s   w e l l   a s   o t h e r   c o r e   c o n c e p t s   l i k e   P o d s ,   S e r v i c e s ,   a n d   C o n f i g M a p s . S o m e   f a m i l i a r i t y   w i t h   M y S Q L   h e l p s ,   b u t   t h i s   t u t o r i a l   a i m s   t o   p r e s e n t   g e n e r a l   p a t t e r n s   t h a t   s h o u l d   b e   u s e f u l   f o r   o t h e r   s y s t e m s . Y o u   a r e   u s i n g   t h e   d e f a u l t   n a m e s p a c e   o r   a n o t h e r   n a m e s p a c e   t h a t   d o e s   n o t   c o n t a i n   a n y   c o n f l i c t i n g   o b j e c t s . Y o u   n e e d   t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18743"
  },
  {
    "question": "What is Objectives?",
    "answer": "D e p l o y   a   r e p l i c a t e d   M y S Q L   t o p o l o g y   w i t h   a   S t a t e f u l S e t . S e n d   M y S Q L   c l i e n t   t r a f f i c . O b s e r v e   r e s i s t a n c e   t o   d o w n t i m e . S c a l e   t h e   S t a t e f u l S e t   u p   a n d   d o w n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18744"
  },
  {
    "question": "What is Deploy MySQL?",
    "answer": "T h e   e x a m p l e   M y S Q L   d e p l o y m e n t   c o n s i s t s   o f   a   C o n f i g M a p ,   t w o   S e r v i c e s ,   a n d   a   S t a t e f u l S e t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18745"
  },
  {
    "question": "What is Create a ConfigMap?",
    "answer": "C r e a t e   t h e   C o n f i g M a p   f r o m   t h e   f o l l o w i n g   Y A M L   c o n f i g u r a t i o n   f i l e :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   m y s q l   l a b e l s :   a p p :   m y s q l   a p p . k u b e r n e t e s . i o / n a m e :   m y s q l   d a t a :   p r i m a r y . c n f :   |   #   A p p l y   t h i s   c o n f i g   o n l y   o n   t h e   p r i m a r y .   [ m y s q l d ]   l o g - b i n   r e p l i c a . c n f :   |   #   A p p l y   t h i s   c o n f i g   o n l y   o n   r e p l i c a s .   [ m y s q l d ]   s u p e r - r e a d - o n l y   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / m y s q l / m y s q l - c o n f i g m a p . y a m l   T h i s   C o n f i g M a p   p r o v i d e s   m y . c n f   o v e r r i d e s   t h a t   l e t   y o u   i n d e p e n d e n t l y   c o n t r o l   c o n f i g u r a t i o n   o n   t h e   p r i m a r y   M y S Q L   s e r v e r   a n d   i t s   r e p l i c a s .   I n   t h i s   c a s e ,   y o u   w a n t   t h e   p r i m a r y   s e r v e r   t o   b e   a b l e   t o   s e r v e   r e p l i c a t i o n   l o g s   t o   r e p l i c a s   a n d   y o u   w a n t   r e p l i c a s   t o   r e j e c t   a n y   w r i t e s   t h a t   d o n ' t   c o m e   v i a   r e p l i c a t i o n .   T h e r e ' s   n o t h i n g   s p e c i a l   a b o u t   t h e   C o n f i g M a p   i t s e l f   t h a t   c a u s e s   d i f f e r e n t   p o r t i o n s   t o   a p p l y   t o   d i f f e r e n t   P o d s .   E a c h   P o d   d e c i d e s   w h i c h   p o r t i o n   t o   l o o k   a t   a s   i t ' s   i n i t i a l i z i n g ,   b a s e d   o n   i n f o r m a t i o n   p r o v i d e d   b y   t h e   S t a t e f u l S e t   c o n t r o l l e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18746"
  },
  {
    "question": "What is Create Services?",
    "answer": "C r e a t e   t h e   S e r v i c e s   f r o m   t h e   f o l l o w i n g   Y A M L   c o n f i g u r a t i o n   f i l e :   #   H e a d l e s s   s e r v i c e   f o r   s t a b l e   D N S   e n t r i e s   o f   S t a t e f u l S e t   m e m b e r s .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y s q l   l a b e l s :   a p p :   m y s q l   a p p . k u b e r n e t e s . i o / n a m e :   m y s q l   s p e c :   p o r t s :   -   n a m e :   m y s q l   p o r t :   3 3 0 6   c l u s t e r I P :   N o n e   s e l e c t o r :   a p p :   m y s q l   - - -   #   C l i e n t   s e r v i c e   f o r   c o n n e c t i n g   t o   a n y   M y S Q L   i n s t a n c e   f o r   r e a d s .   #   F o r   w r i t e s ,   y o u   m u s t   i n s t e a d   c o n n e c t   t o   t h e   p r i m a r y :   m y s q l - 0 . m y s q l .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y s q l - r e a d   l a b e l s :   a p p :   m y s q l   a p p . k u b e r n e t e s . i o / n a m e :   m y s q l   r e a d o n l y :   \" t r u e \"   s p e c :   p o r t s :   -   n a m e :   m y s q l   p o r t :   3 3 0 6   s e l e c t o r :   a p p :   m y s q l   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / m y s q l / m y s q l - s e r v i c e s . y a m l   T h e   h e a d l e s s   S e r v i c e   p r o v i d e s   a   h o m e   f o r   t h e   D N S   e n t r i e s   t h a t   t h e   S t a t e f u l S e t   c o n t r o l l e r s   c r e a t e s   f o r   e a c h   P o d   t h a t ' s   p a r t   o f   t h e   s e t .   B e c a u s e   t h e   h e a d l e s s   S e r v i c e   i s   n a m e d   m y s q l ,   t h e   P o d s   a r e   a c c e s s i b l e   b y   r e s o l v i n g   < p o d - n a m e > . m y s q l   f r o m   w i t h i n   a n y   o t h e r   P o d   i n   t h e   s a m e   K u b e r n e t e s   c l u s t e r   a n d   n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18747"
  },
  {
    "question": "What is Create the StatefulSet?",
    "answer": "F i n a l l y ,   c r e a t e   t h e   S t a t e f u l S e t   f r o m   t h e   f o l l o w i n g   Y A M L   c o n f i g u r a t i o n   f i l e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a :   n a m e :   m y s q l   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   m y s q l   a p p . k u b e r n e t e s . i o / n a m e :   m y s q l   s e r v i c e N a m e :   m y s q l   r e p l i c a s :   3   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   m y s q l   a p p . k u b e r n e t e s . i o / n a m e :   m y s q l   s p e c :   i n i t C o n t a i n e r s :   -   n a m e :   i n i t - m y s q l   i m a g e :   m y s q l : 5 . 7   c o m m a n d :   -   b a s h   -   \" - c \"   -   |   s e t   - e x   #   G e n e r a t e   m y s q l   s e r v e r - i d   f r o m   p o d   o r d i n a l   i n d e x .   [ [   $ H O S T N A M E   = ~   - ( [ 0 - 9 ] + ) $   ] ]   | |   e x i t   1   o r d i n a l = $ { B A S H _ R E M A T C H [ 1 ] }   e c h o   [ m y s q l d ]   >   / m n t / c o n f . d / s e r v e r - i d . c n f   #   A d d   a n   o f f s e t   t o   a v o i d   r e s e r v e d   s e r v e r - i d = 0   v a l u e .   e c h o   s e r v e r - i d = $ ( ( 1 0 0   +   $ o r d i n a l ) )   > >   / m n t / c o n f . d / s e r v e r - i d . c n f   #   C o p y   a p p r o p r i a t e   c o n f . d   f i l e s   f r o m   c o n f i g - m a p   t o   e m p t y D i r .   i f   [ [   $ o r d i n a l   - e q   0   ] ] ;   t h e n   c p   / m n t / c o n f i g - m a p / p r i m a r y . c n f   / m n t / c o n f . d /   e l s e   c p   / m n t / c o n f i g - m a p / r e p l i c a . c n f   / m n t / c o n f . d /   f i   v o l u m e M o u n t s :   -   n a m e :   c o n f   m o u n t P a t h :   / m n t / c o n f . d   -   n a m e :   c o n f i g - m a p   m o u n t P a t h :   / m n t / c o n f i g - m a p   -   n a m e :   c l o n e - m y s q l   i m a g e :   g c r . i o / g o o g l e - ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18748"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   m a n i f e s t   u s e s   a   v a r i e t y   o f   t e c h n i q u e s   f o r   m a n a g i n g   s t a t e f u l   P o d s   a s   p a r t   o f   a   S t a t e f u l S e t .   T h e   n e x t   s e c t i o n   h i g h l i g h t s   s o m e   o f   t h e s e   t e c h n i q u e s   t o   e x p l a i n   w h a t   h a p p e n s   a s   t h e   S t a t e f u l S e t   c r e a t e s   P o d s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18749"
  },
  {
    "question": "What is Understanding stateful Pod initialization?",
    "answer": "T h e   S t a t e f u l S e t   c o n t r o l l e r   s t a r t s   P o d s   o n e   a t   a   t i m e ,   i n   o r d e r   b y   t h e i r   o r d i n a l   i n d e x .   I t   w a i t s   u n t i l   e a c h   P o d   r e p o r t s   b e i n g   R e a d y   b e f o r e   s t a r t i n g   t h e   n e x t   o n e .   I n   a d d i t i o n ,   t h e   c o n t r o l l e r   a s s i g n s   e a c h   P o d   a   u n i q u e ,   s t a b l e   n a m e   o f   t h e   f o r m   < s t a t e f u l s e t - n a m e > - < o r d i n a l - i n d e x > ,   w h i c h   r e s u l t s   i n   P o d s   n a m e d   m y s q l - 0 ,   m y s q l - 1 ,   a n d   m y s q l - 2 .   T h e   P o d   t e m p l a t e   i n   t h e   a b o v e   S t a t e f u l S e t   m a n i f e s t   t a k e s   a d v a n t a g e   o f   t h e s e   p r o p e r t i e s   t o   p e r f o r m   o r d e r l y   s t a r t u p   o f   M y S Q L   r e p l i c a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18750"
  },
  {
    "question": "What is Generating configuration?",
    "answer": "B e f o r e   s t a r t i n g   a n y   o f   t h e   c o n t a i n e r s   i n   t h e   P o d   s p e c ,   t h e   P o d   f i r s t   r u n s   a n y   i n i t   c o n t a i n e r s   i n   t h e   o r d e r   d e f i n e d .   T h e   f i r s t   i n i t   c o n t a i n e r ,   n a m e d   i n i t - m y s q l ,   g e n e r a t e s   s p e c i a l   M y S Q L   c o n f i g   f i l e s   b a s e d   o n   t h e   o r d i n a l   i n d e x .   T h e   s c r i p t   d e t e r m i n e s   i t s   o w n   o r d i n a l   i n d e x   b y   e x t r a c t i n g   i t   f r o m   t h e   e n d   o f   t h e   P o d   n a m e ,   w h i c h   i s   r e t u r n e d   b y   t h e   h o s t n a m e   c o m m a n d .   T h e n   i t   s a v e s   t h e   o r d i n a l   ( w i t h   a   n u m e r i c   o f f s e t   t o   a v o i d   r e s e r v e d   v a l u e s )   i n t o   a   f i l e   c a l l e d   s e r v e r - i d . c n f   i n   t h e   M y S Q L   c o n f . d   d i r e c t o r y .   T h i s   t r a n s l a t e s   t h e   u n i q u e ,   s t a b l e   i d e n t i t y   p r o v i d e d   b y   t h e   S t a t e f u l S e t   i n t o   t h e   d o m a i n   o f   M y S Q L   s e r v e r   I D s ,   w h i c h   r e q u i r e   t h e   s a m e   p r o p e r t i e s .   T h e   s c r i p t   i n   t h e   i n i t - m y s q l   c o n t a i n e r   a l s o   a p p l i e s   e i t h e r   p r i m a r y . c n f   o r   r e p l i c a . c n f   f r o m   t h e   C o n f i g M a p   b y   c o p y i n g   t h e   c o n t e n t s   i n t o   c o n f . d .   B e c a u s e   t h e   e x a m p l e   t o p o l o g y   c o n s i s t s   o f   a   s i n g l e   p r i m a r y   M y S Q L   s e r v e r   a n d   a n y   n u m b e r   o f   r e p l i c a s ,   t h e   s c r i p t   a s s i g n s   o r d i n a l   0   t o   b e   t h e   p r i m a r y   s e r v e r ,   a n d   e v e r y o n e   e l s e   t o   b e   r e p l i c a s .   C o m b i n e d   w i t h   t h e   S t a t e f u l S e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18751"
  },
  {
    "question": "What is Cloning existing data?",
    "answer": "I n   g e n e r a l ,   w h e n   a   n e w   P o d   j o i n s   t h e   s e t   a s   a   r e p l i c a ,   i t   m u s t   a s s u m e   t h e   p r i m a r y   M y S Q L   s e r v e r   m i g h t   a l r e a d y   h a v e   d a t a   o n   i t .   I t   a l s o   m u s t   a s s u m e   t h a t   t h e   r e p l i c a t i o n   l o g s   m i g h t   n o t   g o   a l l   t h e   w a y   b a c k   t o   t h e   b e g i n n i n g   o f   t i m e .   T h e s e   c o n s e r v a t i v e   a s s u m p t i o n s   a r e   t h e   k e y   t o   a l l o w   a   r u n n i n g   S t a t e f u l S e t   t o   s c a l e   u p   a n d   d o w n   o v e r   t i m e ,   r a t h e r   t h a n   b e i n g   f i x e d   a t   i t s   i n i t i a l   s i z e .   T h e   s e c o n d   i n i t   c o n t a i n e r ,   n a m e d   c l o n e - m y s q l ,   p e r f o r m s   a   c l o n e   o p e r a t i o n   o n   a   r e p l i c a   P o d   t h e   f i r s t   t i m e   i t   s t a r t s   u p   o n   a n   e m p t y   P e r s i s t e n t V o l u m e .   T h a t   m e a n s   i t   c o p i e s   a l l   e x i s t i n g   d a t a   f r o m   a n o t h e r   r u n n i n g   P o d ,   s o   i t s   l o c a l   s t a t e   i s   c o n s i s t e n t   e n o u g h   t o   b e g i n   r e p l i c a t i n g   f r o m   t h e   p r i m a r y   s e r v e r .   M y S Q L   i t s e l f   d o e s   n o t   p r o v i d e   a   m e c h a n i s m   t o   d o   t h i s ,   s o   t h e   e x a m p l e   u s e s   a   p o p u l a r   o p e n - s o u r c e   t o o l   c a l l e d   P e r c o n a   X t r a B a c k u p .   D u r i n g   t h e   c l o n e ,   t h e   s o u r c e   M y S Q L   s e r v e r   m i g h t   s u f f e r   r e d u c e d   p e r f o r m a n c e .   T o   m i n i m i z e   i m p a c t   o n   t h e   p r i m a r y   M y S Q L   s e r v e r ,   t h e   s c r i p t   i n s t r u c t s   e a c h   P o d   t o   c l o n e   f r o m   t h e   P o d   w h o s e   o r d i n a l   i n d e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18752"
  },
  {
    "question": "What is Starting replication?",
    "answer": "A f t e r   t h e   i n i t   c o n t a i n e r s   c o m p l e t e   s u c c e s s f u l l y ,   t h e   r e g u l a r   c o n t a i n e r s   r u n .   T h e   M y S Q L   P o d s   c o n s i s t   o f   a   m y s q l   c o n t a i n e r   t h a t   r u n s   t h e   a c t u a l   m y s q l d   s e r v e r ,   a n d   a n   x t r a b a c k u p   c o n t a i n e r   t h a t   a c t s   a s   a   s i d e c a r .   T h e   x t r a b a c k u p   s i d e c a r   l o o k s   a t   t h e   c l o n e d   d a t a   f i l e s   a n d   d e t e r m i n e s   i f   i t ' s   n e c e s s a r y   t o   i n i t i a l i z e   M y S Q L   r e p l i c a t i o n   o n   t h e   r e p l i c a .   I f   s o ,   i t   w a i t s   f o r   m y s q l d   t o   b e   r e a d y   a n d   t h e n   e x e c u t e s   t h e   C H A N G E   M A S T E R   T O   a n d   S T A R T   S L A V E   c o m m a n d s   w i t h   r e p l i c a t i o n   p a r a m e t e r s   e x t r a c t e d   f r o m   t h e   X t r a B a c k u p   c l o n e   f i l e s .   O n c e   a   r e p l i c a   b e g i n s   r e p l i c a t i o n ,   i t   r e m e m b e r s   i t s   p r i m a r y   M y S Q L   s e r v e r   a n d   r e c o n n e c t s   a u t o m a t i c a l l y   i f   t h e   s e r v e r   r e s t a r t s   o r   t h e   c o n n e c t i o n   d i e s .   A l s o ,   b e c a u s e   r e p l i c a s   l o o k   f o r   t h e   p r i m a r y   s e r v e r   a t   i t s   s t a b l e   D N S   n a m e   ( m y s q l - 0 . m y s q l ) ,   t h e y   a u t o m a t i c a l l y   f i n d   t h e   p r i m a r y   s e r v e r   e v e n   i f   i t   g e t s   a   n e w   P o d   I P   d u e   t o   b e i n g   r e s c h e d u l e d .   L a s t l y ,   a f t e r   s t a r t i n g   r e p l i c a t i o n ,   t h e   x t r a b a c k u p   c o n t a i n e r   l i s t e n s   f o r   c o n n e c t i o n s   f r o m   o t h e r   P o d s   r e q u e s t i n g   a   d a t a   c l o n e .   T h i s   s e r v e r   r e m a i n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18753"
  },
  {
    "question": "What is Sending client traffic?",
    "answer": "Y o u   c a n   s e n d   t e s t   q u e r i e s   t o   t h e   p r i m a r y   M y S Q L   s e r v e r   ( h o s t n a m e   m y s q l - 0 . m y s q l )   b y   r u n n i n g   a   t e m p o r a r y   c o n t a i n e r   w i t h   t h e   m y s q l : 5 . 7   i m a g e   a n d   r u n n i n g   t h e   m y s q l   c l i e n t   b i n a r y .   k u b e c t l   r u n   m y s q l - c l i e n t   - - i m a g e = m y s q l : 5 . 7   - i   - - r m   - - r e s t a r t = N e v e r   - - \\   m y s q l   - h   m y s q l - 0 . m y s q l   < < E O F   C R E A T E   D A T A B A S E   t e s t ;   C R E A T E   T A B L E   t e s t . m e s s a g e s   ( m e s s a g e   V A R C H A R ( 2 5 0 ) ) ;   I N S E R T   I N T O   t e s t . m e s s a g e s   V A L U E S   ( ' h e l l o ' ) ;   E O F   U s e   t h e   h o s t n a m e   m y s q l - r e a d   t o   s e n d   t e s t   q u e r i e s   t o   a n y   s e r v e r   t h a t   r e p o r t s   b e i n g   R e a d y :   k u b e c t l   r u n   m y s q l - c l i e n t   - - i m a g e = m y s q l : 5 . 7   - i   - t   - - r m   - - r e s t a r t = N e v e r   - - \\   m y s q l   - h   m y s q l - r e a d   - e   \" S E L E C T   *   F R O M   t e s t . m e s s a g e s \"   Y o u   s h o u l d   g e t   o u t p u t   l i k e   t h i s :   W a i t i n g   f o r   p o d   d e f a u l t / m y s q l - c l i e n t   t o   b e   r u n n i n g ,   s t a t u s   i s   P e n d i n g ,   p o d   r e a d y :   f a l s e   + - - - - - - - - - +   |   m e s s a g e   |   + - - - - - - - - - +   |   h e l l o   |   + - - - - - - - - - +   p o d   \" m y s q l - c l i e n t \"   d e l e t e d   T o   d e m o n s t r a t e   t h a t   t h e   m y s q l - r e a d   S e r v i c e   d i s t r i b u t e s   c o n n e c t i o n s   a c r o s s   s e r v e r s ,   y o u   c a n   r u n   S E L E C T   @ @ s e r v e r _ i d   i n   a   l o o p :   k u b e c t l   r u n   m y s q l - c l i e n t - l o o p   - - i m a g e = m y s q l : 5 . 7   - i   - t   - - r m ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18754"
  },
  {
    "question": "What is Simulate Pod and Node failure?",
    "answer": "T o   d e m o n s t r a t e   t h e   i n c r e a s e d   a v a i l a b i l i t y   o f   r e a d i n g   f r o m   t h e   p o o l   o f   r e p l i c a s   i n s t e a d   o f   a   s i n g l e   s e r v e r ,   k e e p   t h e   S E L E C T   @ @ s e r v e r _ i d   l o o p   f r o m   a b o v e   r u n n i n g   w h i l e   y o u   f o r c e   a   P o d   o u t   o f   t h e   R e a d y   s t a t e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18755"
  },
  {
    "question": "What is Break the Readiness probe?",
    "answer": "T h e   r e a d i n e s s   p r o b e   f o r   t h e   m y s q l   c o n t a i n e r   r u n s   t h e   c o m m a n d   m y s q l   - h   1 2 7 . 0 . 0 . 1   - e   ' S E L E C T   1 '   t o   m a k e   s u r e   t h e   s e r v e r   i s   u p   a n d   a b l e   t o   e x e c u t e   q u e r i e s .   O n e   w a y   t o   f o r c e   t h i s   r e a d i n e s s   p r o b e   t o   f a i l   i s   t o   b r e a k   t h a t   c o m m a n d :   k u b e c t l   e x e c   m y s q l - 2   - c   m y s q l   - -   m v   / u s r / b i n / m y s q l   / u s r / b i n / m y s q l . o f f   T h i s   r e a c h e s   i n t o   t h e   a c t u a l   c o n t a i n e r ' s   f i l e s y s t e m   f o r   P o d   m y s q l - 2   a n d   r e n a m e s   t h e   m y s q l   c o m m a n d   s o   t h e   r e a d i n e s s   p r o b e   c a n ' t   f i n d   i t .   A f t e r   a   f e w   s e c o n d s ,   t h e   P o d   s h o u l d   r e p o r t   o n e   o f   i t s   c o n t a i n e r s   a s   n o t   R e a d y ,   w h i c h   y o u   c a n   c h e c k   b y   r u n n i n g :   k u b e c t l   g e t   p o d   m y s q l - 2   L o o k   f o r   1 / 2   i n   t h e   R E A D Y   c o l u m n :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   m y s q l - 2   1 / 2   R u n n i n g   0   3 m   A t   t h i s   p o i n t ,   y o u   s h o u l d   s e e   y o u r   S E L E C T   @ @ s e r v e r _ i d   l o o p   c o n t i n u e   t o   r u n ,   a l t h o u g h   i t   n e v e r   r e p o r t s   1 0 2   a n y m o r e .   R e c a l l   t h a t   t h e   i n i t - m y s q l   s c r i p t   d e f i n e d   s e r v e r - i d   a s   1 0 0   +   $ o r d i n a l ,   s o   s e r v e r   I D   1 0 2   c o r r e s p o n d s   t o   P o d   m y s q l - 2 .   N o w   r e p a i r   t h e   P o d   a n d   i t   s h o u l d   r e a p p e a r   i n   t h e   l o o p   o u t p u t   a f t e r   a   f e w   s e c o n d s :   k u b e c t l   e x e c   m y s q l - 2   - c   m y s q l   - ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18756"
  },
  {
    "question": "What is Delete Pods?",
    "answer": "T h e   S t a t e f u l S e t   a l s o   r e c r e a t e s   P o d s   i f   t h e y ' r e   d e l e t e d ,   s i m i l a r   t o   w h a t   a   R e p l i c a S e t   d o e s   f o r   s t a t e l e s s   P o d s .   k u b e c t l   d e l e t e   p o d   m y s q l - 2   T h e   S t a t e f u l S e t   c o n t r o l l e r   n o t i c e s   t h a t   n o   m y s q l - 2   P o d   e x i s t s   a n y m o r e ,   a n d   c r e a t e s   a   n e w   o n e   w i t h   t h e   s a m e   n a m e   a n d   l i n k e d   t o   t h e   s a m e   P e r s i s t e n t V o l u m e C l a i m .   Y o u   s h o u l d   s e e   s e r v e r   I D   1 0 2   d i s a p p e a r   f r o m   t h e   l o o p   o u t p u t   f o r   a   w h i l e   a n d   t h e n   r e t u r n   o n   i t s   o w n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18757"
  },
  {
    "question": "What is Drain a Node?",
    "answer": "I f   y o u r   K u b e r n e t e s   c l u s t e r   h a s   m u l t i p l e   N o d e s ,   y o u   c a n   s i m u l a t e   N o d e   d o w n t i m e   ( s u c h   a s   w h e n   N o d e s   a r e   u p g r a d e d )   b y   i s s u i n g   a   d r a i n .   F i r s t   d e t e r m i n e   w h i c h   N o d e   o n e   o f   t h e   M y S Q L   P o d s   i s   o n :   k u b e c t l   g e t   p o d   m y s q l - 2   - o   w i d e   T h e   N o d e   n a m e   s h o u l d   s h o w   u p   i n   t h e   l a s t   c o l u m n :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   m y s q l - 2   2 / 2   R u n n i n g   0   1 5 m   1 0 . 2 4 4 . 5 . 2 7   k u b e r n e t e s - n o d e - 9 l 2 t   T h e n ,   d r a i n   t h e   N o d e   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d ,   w h i c h   c o r d o n s   i t   s o   n o   n e w   P o d s   m a y   s c h e d u l e   t h e r e ,   a n d   t h e n   e v i c t s   a n y   e x i s t i n g   P o d s .   R e p l a c e   < n o d e - n a m e >   w i t h   t h e   n a m e   o f   t h e   N o d e   y o u   f o u n d   i n   t h e   l a s t   s t e p .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18758"
  },
  {
    "question": "What is Caution:?",
    "answer": "#   S e e   a b o v e   a d v i c e   a b o u t   i m p a c t   o n   o t h e r   w o r k l o a d s   k u b e c t l   d r a i n   < n o d e - n a m e >   - - f o r c e   - - d e l e t e - e m p t y d i r - d a t a   - - i g n o r e - d a e m o n s e t s   N o w   y o u   c a n   w a t c h   a s   t h e   P o d   r e s c h e d u l e s   o n   a   d i f f e r e n t   N o d e :   k u b e c t l   g e t   p o d   m y s q l - 2   - o   w i d e   - - w a t c h   I t   s h o u l d   l o o k   s o m e t h i n g   l i k e   t h i s :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   m y s q l - 2   2 / 2   T e r m i n a t i n g   0   1 5 m   1 0 . 2 4 4 . 1 . 5 6   k u b e r n e t e s - n o d e - 9 l 2 t   [ . . . ]   m y s q l - 2   0 / 2   P e n d i n g   0   0 s   < n o n e >   k u b e r n e t e s - n o d e - f j l m   m y s q l - 2   0 / 2   I n i t : 0 / 2   0   0 s   < n o n e >   k u b e r n e t e s - n o d e - f j l m   m y s q l - 2   0 / 2   I n i t : 1 / 2   0   2 0 s   1 0 . 2 4 4 . 5 . 3 2   k u b e r n e t e s - n o d e - f j l m   m y s q l - 2   0 / 2   P o d I n i t i a l i z i n g   0   2 1 s   1 0 . 2 4 4 . 5 . 3 2   k u b e r n e t e s - n o d e - f j l m   m y s q l - 2   1 / 2   R u n n i n g   0   2 2 s   1 0 . 2 4 4 . 5 . 3 2   k u b e r n e t e s - n o d e - f j l m   m y s q l - 2   2 / 2   R u n n i n g   0   3 0 s   1 0 . 2 4 4 . 5 . 3 2   k u b e r n e t e s - n o d e - f j l m   A n d   a g a i n ,   y o u   s h o u l d   s e e   s e r v e r   I D   1 0 2   d i s a p p e a r   f r o m   t h e   S E L E C T   @ @ s e r v e r _ i d   l o o p   o u t p u t   f o r   a   w h i l e   a n d   t h e n   r e t u r n .   N o w   u n c o r d o n   t h e   N o d e   t o   r e t u r n   i t   t o   a   n o r m a l   s t a t e :   k u b e c t l   u n c o r d o n   < n o d e - n a m e >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18759"
  },
  {
    "question": "What is Scaling the number of replicas?",
    "answer": "W h e n   y o u   u s e   M y S Q L   r e p l i c a t i o n ,   y o u   c a n   s c a l e   y o u r   r e a d   q u e r y   c a p a c i t y   b y   a d d i n g   r e p l i c a s .   F o r   a   S t a t e f u l S e t ,   y o u   c a n   a c h i e v e   t h i s   w i t h   a   s i n g l e   c o m m a n d :   k u b e c t l   s c a l e   s t a t e f u l s e t   m y s q l   - - r e p l i c a s = 5   W a t c h   t h e   n e w   P o d s   c o m e   u p   b y   r u n n i n g :   k u b e c t l   g e t   p o d s   - l   a p p = m y s q l   - - w a t c h   O n c e   t h e y ' r e   u p ,   y o u   s h o u l d   s e e   s e r v e r   I D s   1 0 3   a n d   1 0 4   s t a r t   a p p e a r i n g   i n   t h e   S E L E C T   @ @ s e r v e r _ i d   l o o p   o u t p u t .   Y o u   c a n   a l s o   v e r i f y   t h a t   t h e s e   n e w   s e r v e r s   h a v e   t h e   d a t a   y o u   a d d e d   b e f o r e   t h e y   e x i s t e d :   k u b e c t l   r u n   m y s q l - c l i e n t   - - i m a g e = m y s q l : 5 . 7   - i   - t   - - r m   - - r e s t a r t = N e v e r   - - \\   m y s q l   - h   m y s q l - 3 . m y s q l   - e   \" S E L E C T   *   F R O M   t e s t . m e s s a g e s \"   W a i t i n g   f o r   p o d   d e f a u l t / m y s q l - c l i e n t   t o   b e   r u n n i n g ,   s t a t u s   i s   P e n d i n g ,   p o d   r e a d y :   f a l s e   + - - - - - - - - - +   |   m e s s a g e   |   + - - - - - - - - - +   |   h e l l o   |   + - - - - - - - - - +   p o d   \" m y s q l - c l i e n t \"   d e l e t e d   S c a l i n g   b a c k   d o w n   i s   a l s o   s e a m l e s s :   k u b e c t l   s c a l e   s t a t e f u l s e t   m y s q l   - - r e p l i c a s = 3",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18760"
  },
  {
    "question": "What is Note:?",
    "answer": "A l t h o u g h   s c a l i n g   u p   c r e a t e s   n e w   P e r s i s t e n t V o l u m e C l a i m s   a u t o m a t i c a l l y ,   s c a l i n g   d o w n   d o e s   n o t   a u t o m a t i c a l l y   d e l e t e   t h e s e   P V C s .   T h i s   g i v e s   y o u   t h e   c h o i c e   t o   k e e p   t h o s e   i n i t i a l i z e d   P V C s   a r o u n d   t o   m a k e   s c a l i n g   b a c k   u p   q u i c k e r ,   o r   t o   e x t r a c t   d a t a   b e f o r e   d e l e t i n g   t h e m .   Y o u   c a n   s e e   t h i s   b y   r u n n i n g :   k u b e c t l   g e t   p v c   - l   a p p = m y s q l   W h i c h   s h o w s   t h a t   a l l   5   P V C s   s t i l l   e x i s t ,   d e s p i t e   h a v i n g   s c a l e d   t h e   S t a t e f u l S e t   d o w n   t o   3 :   N A M E   S T A T U S   V O L U M E   C A P A C I T Y   A C C E S S M O D E S   A G E   d a t a - m y s q l - 0   B o u n d   p v c - 8 a c b f 5 d c - b 1 0 3 - 1 1 e 6 - 9 3 f a - 4 2 0 1 0 a 8 0 0 0 0 2   1 0 G i   R W O   2 0 m   d a t a - m y s q l - 1   B o u n d   p v c - 8 a d 3 9 8 2 0 - b 1 0 3 - 1 1 e 6 - 9 3 f a - 4 2 0 1 0 a 8 0 0 0 0 2   1 0 G i   R W O   2 0 m   d a t a - m y s q l - 2   B o u n d   p v c - 8 a d 6 9 a 6 d - b 1 0 3 - 1 1 e 6 - 9 3 f a - 4 2 0 1 0 a 8 0 0 0 0 2   1 0 G i   R W O   2 0 m   d a t a - m y s q l - 3   B o u n d   p v c - 5 0 0 4 3 c 4 5 - b 1 c 5 - 1 1 e 6 - 9 3 f a - 4 2 0 1 0 a 8 0 0 0 0 2   1 0 G i   R W O   2 m   d a t a - m y s q l - 4   B o u n d   p v c - 5 0 0 a 9 9 5 7 - b 1 c 5 - 1 1 e 6 - 9 3 f a - 4 2 0 1 0 a 8 0 0 0 0 2   1 0 G i   R W O   2 m   I f   y o u   d o n ' t   i n t e n d   t o   r e u s e   t h e   e x t r a   P V C s ,   y o u   c a n   d e l e t e   t h e m :   k u b e c t l   d e l e t e   p v c   d a t a - m y s q l - 3   k u b e c t l   d e l e t e   p v c   d a t a - m y s q l - 4",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18761"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "C a n c e l   t h e   S E L E C T   @ @ s e r v e r _ i d   l o o p   b y   p r e s s i n g   C t r l + C   i n   i t s   t e r m i n a l ,   o r   r u n n i n g   t h e   f o l l o w i n g   f r o m   a n o t h e r   t e r m i n a l : k u b e c t l   d e l e t e   p o d   m y s q l - c l i e n t - l o o p   - - n o w   D e l e t e   t h e   S t a t e f u l S e t .   T h i s   a l s o   b e g i n s   t e r m i n a t i n g   t h e   P o d s . k u b e c t l   d e l e t e   s t a t e f u l s e t   m y s q l   V e r i f y   t h a t   t h e   P o d s   d i s a p p e a r .   T h e y   m i g h t   t a k e   s o m e   t i m e   t o   f i n i s h   t e r m i n a t i n g . k u b e c t l   g e t   p o d s   - l   a p p = m y s q l   Y o u ' l l   k n o w   t h e   P o d s   h a v e   t e r m i n a t e d   w h e n   t h e   a b o v e   r e t u r n s : N o   r e s o u r c e s   f o u n d .   D e l e t e   t h e   C o n f i g M a p ,   S e r v i c e s ,   a n d   P e r s i s t e n t V o l u m e C l a i m s . k u b e c t l   d e l e t e   c o n f i g m a p , s e r v i c e , p v c   - l   a p p = m y s q l   I f   y o u   m a n u a l l y   p r o v i s i o n e d   P e r s i s t e n t V o l u m e s ,   y o u   a l s o   n e e d   t o   m a n u a l l y   d e l e t e   t h e m ,   a s   w e l l   a s   r e l e a s e   t h e   u n d e r l y i n g   r e s o u r c e s .   I f   y o u   u s e d   a   d y n a m i c   p r o v i s i o n e r ,   i t   a u t o m a t i c a l l y   d e l e t e s   t h e   P e r s i s t e n t V o l u m e s   w h e n   i t   s e e s   t h a t   y o u   d e l e t e d   t h e   P e r s i s t e n t V o l u m e C l a i m s .   S o m e   d y n a m i c   p r o v i s i o n e r s   ( s u c h   a s   t h o s e   f o r   E B S   a n d   P D )   a l s o   r e l e a s e   t h e   u n d e r l y i n g   r e s o u r c e s   u p o n   d e l e t i n g   t h e   P e r s i s t e n t V o l u m e s .   C a n c e l   t h e   S E L E C T   @ @ s e r v e r _ i d   l o o p   b y   p r e s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18762"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   s c a l i n g   a   S t a t e f u l S e t . L e a r n   m o r e   a b o u t   d e b u g g i n g   a   S t a t e f u l S e t . L e a r n   m o r e   a b o u t   d e l e t i n g   a   S t a t e f u l S e t . L e a r n   m o r e   a b o u t   f o r c e   d e l e t i n g   S t a t e f u l S e t   P o d s . L o o k   i n   t h e   H e l m   C h a r t s   r e p o s i t o r y   f o r   o t h e r   s t a t e f u l   a p p l i c a t i o n   e x a m p l e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18763"
  },
  {
    "question": "What is 8.4 - Scale a StatefulSet?",
    "answer": "T h i s   t a s k   s h o w s   h o w   t o   s c a l e   a   S t a t e f u l S e t .   S c a l i n g   a   S t a t e f u l S e t   r e f e r s   t o   i n c r e a s i n g   o r   d e c r e a s i n g   t h e   n u m b e r   o f   r e p l i c a s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18764"
  },
  {
    "question": "What is Before you begin?",
    "answer": "S t a t e f u l S e t s   a r e   o n l y   a v a i l a b l e   i n   K u b e r n e t e s   v e r s i o n   1 . 5   o r   l a t e r .   T o   c h e c k   y o u r   v e r s i o n   o f   K u b e r n e t e s ,   r u n   k u b e c t l   v e r s i o n . N o t   a l l   s t a t e f u l   a p p l i c a t i o n s   s c a l e   n i c e l y .   I f   y o u   a r e   u n s u r e   a b o u t   w h e t h e r   t o   s c a l e   y o u r   S t a t e f u l S e t s ,   s e e   S t a t e f u l S e t   c o n c e p t s   o r   S t a t e f u l S e t   t u t o r i a l   f o r   f u r t h e r   i n f o r m a t i o n . Y o u   s h o u l d   p e r f o r m   s c a l i n g   o n l y   w h e n   y o u   a r e   c o n f i d e n t   t h a t   y o u r   s t a t e f u l   a p p l i c a t i o n   c l u s t e r   i s   c o m p l e t e l y   h e a l t h y .   S t a t e f u l S e t s   a r e   o n l y   a v a i l a b l e   i n   K u b e r n e t e s   v e r s i o n   1 . 5   o r   l a t e r .   T o   c h e c k   y o u r   v e r s i o n   o f   K u b e r n e t e s ,   r u n   k u b e c t l   v e r s i o n .   N o t   a l l   s t a t e f u l   a p p l i c a t i o n s   s c a l e   n i c e l y .   I f   y o u   a r e   u n s u r e   a b o u t   w h e t h e r   t o   s c a l e   y o u r   S t a t e f u l S e t s ,   s e e   S t a t e f u l S e t   c o n c e p t s   o r   S t a t e f u l S e t   t u t o r i a l   f o r   f u r t h e r   i n f o r m a t i o n .   Y o u   s h o u l d   p e r f o r m   s c a l i n g   o n l y   w h e n   y o u   a r e   c o n f i d e n t   t h a t   y o u r   s t a t e f u l   a p p l i c a t i o n   c l u s t e r   i s   c o m p l e t e l y   h e a l t h y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18765"
  },
  {
    "question": "What is Use kubectl to scale StatefulSets?",
    "answer": "F i r s t ,   f i n d   t h e   S t a t e f u l S e t   y o u   w a n t   t o   s c a l e .   k u b e c t l   g e t   s t a t e f u l s e t s   < s t a t e f u l - s e t - n a m e >   C h a n g e   t h e   n u m b e r   o f   r e p l i c a s   o f   y o u r   S t a t e f u l S e t :   k u b e c t l   s c a l e   s t a t e f u l s e t s   < s t a t e f u l - s e t - n a m e >   - - r e p l i c a s = < n e w - r e p l i c a s >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18766"
  },
  {
    "question": "What is Make in-place updates on your StatefulSets?",
    "answer": "A l t e r n a t i v e l y ,   y o u   c a n   d o   i n - p l a c e   u p d a t e s   o n   y o u r   S t a t e f u l S e t s .   I f   y o u r   S t a t e f u l S e t   w a s   i n i t i a l l y   c r e a t e d   w i t h   k u b e c t l   a p p l y ,   u p d a t e   . s p e c . r e p l i c a s   o f   t h e   S t a t e f u l S e t   m a n i f e s t s ,   a n d   t h e n   d o   a   k u b e c t l   a p p l y :   k u b e c t l   a p p l y   - f   < s t a t e f u l - s e t - f i l e - u p d a t e d >   O t h e r w i s e ,   e d i t   t h a t   f i e l d   w i t h   k u b e c t l   e d i t :   k u b e c t l   e d i t   s t a t e f u l s e t s   < s t a t e f u l - s e t - n a m e >   O r   u s e   k u b e c t l   p a t c h :   k u b e c t l   p a t c h   s t a t e f u l s e t s   < s t a t e f u l - s e t - n a m e >   - p   ' { \" s p e c \" : { \" r e p l i c a s \" : < n e w - r e p l i c a s > } } '",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18767"
  },
  {
    "question": "What is Scaling down does not work right?",
    "answer": "Y o u   c a n n o t   s c a l e   d o w n   a   S t a t e f u l S e t   w h e n   a n y   o f   t h e   s t a t e f u l   P o d s   i t   m a n a g e s   i s   u n h e a l t h y .   S c a l i n g   d o w n   o n l y   t a k e s   p l a c e   a f t e r   t h o s e   s t a t e f u l   P o d s   b e c o m e   r u n n i n g   a n d   r e a d y .   I f   s p e c . r e p l i c a s   >   1 ,   K u b e r n e t e s   c a n n o t   d e t e r m i n e   t h e   r e a s o n   f o r   a n   u n h e a l t h y   P o d .   I t   m i g h t   b e   t h e   r e s u l t   o f   a   p e r m a n e n t   f a u l t   o r   o f   a   t r a n s i e n t   f a u l t .   A   t r a n s i e n t   f a u l t   c a n   b e   c a u s e d   b y   a   r e s t a r t   r e q u i r e d   b y   u p g r a d i n g   o r   m a i n t e n a n c e .   I f   t h e   P o d   i s   u n h e a l t h y   d u e   t o   a   p e r m a n e n t   f a u l t ,   s c a l i n g   w i t h o u t   c o r r e c t i n g   t h e   f a u l t   m a y   l e a d   t o   a   s t a t e   w h e r e   t h e   S t a t e f u l S e t   m e m b e r s h i p   d r o p s   b e l o w   a   c e r t a i n   m i n i m u m   n u m b e r   o f   r e p l i c a s   t h a t   a r e   n e e d e d   t o   f u n c t i o n   c o r r e c t l y .   T h i s   m a y   c a u s e   y o u r   S t a t e f u l S e t   t o   b e c o m e   u n a v a i l a b l e .   I f   t h e   P o d   i s   u n h e a l t h y   d u e   t o   a   t r a n s i e n t   f a u l t   a n d   t h e   P o d   m i g h t   b e c o m e   a v a i l a b l e   a g a i n ,   t h e   t r a n s i e n t   e r r o r   m a y   i n t e r f e r e   w i t h   y o u r   s c a l e - u p   o r   s c a l e - d o w n   o p e r a t i o n .   S o m e   d i s t r i b u t e d   d a t a b a s e s   h a v e   i s s u e s   w h e n   n o d e s   j o i n   a n d   l e a v e   a t   t h e   s a m e   t i m e .   I t   i s   b e t t e r   t o   r e a s o n   a b o u t   s c a l i n g   o p e r a t i o n s   a t   t h e   a p ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18768"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   d e l e t i n g   a   S t a t e f u l S e t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18769"
  },
  {
    "question": "What is 8.5 - Delete a StatefulSet?",
    "answer": "T h i s   t a s k   s h o w s   y o u   h o w   t o   d e l e t e   a   S t a t e f u l S e t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18770"
  },
  {
    "question": "What is Before you begin?",
    "answer": "T h i s   t a s k   a s s u m e s   y o u   h a v e   a n   a p p l i c a t i o n   r u n n i n g   o n   y o u r   c l u s t e r   r e p r e s e n t e d   b y   a   S t a t e f u l S e t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18771"
  },
  {
    "question": "What is Deleting a StatefulSet?",
    "answer": "Y o u   c a n   d e l e t e   a   S t a t e f u l S e t   i n   t h e   s a m e   w a y   y o u   d e l e t e   o t h e r   r e s o u r c e s   i n   K u b e r n e t e s :   u s e   t h e   k u b e c t l   d e l e t e   c o m m a n d ,   a n d   s p e c i f y   t h e   S t a t e f u l S e t   e i t h e r   b y   f i l e   o r   b y   n a m e .   k u b e c t l   d e l e t e   - f   < f i l e . y a m l >   k u b e c t l   d e l e t e   s t a t e f u l s e t s   < s t a t e f u l s e t - n a m e >   Y o u   m a y   n e e d   t o   d e l e t e   t h e   a s s o c i a t e d   h e a d l e s s   s e r v i c e   s e p a r a t e l y   a f t e r   t h e   S t a t e f u l S e t   i t s e l f   i s   d e l e t e d .   k u b e c t l   d e l e t e   s e r v i c e   < s e r v i c e - n a m e >   W h e n   d e l e t i n g   a   S t a t e f u l S e t   t h r o u g h   k u b e c t l ,   t h e   S t a t e f u l S e t   s c a l e s   d o w n   t o   0 .   A l l   P o d s   t h a t   a r e   p a r t   o f   t h i s   w o r k l o a d   a r e   a l s o   d e l e t e d .   I f   y o u   w a n t   t o   d e l e t e   o n l y   t h e   S t a t e f u l S e t   a n d   n o t   t h e   P o d s ,   u s e   - - c a s c a d e = o r p h a n .   F o r   e x a m p l e :   k u b e c t l   d e l e t e   - f   < f i l e . y a m l >   - - c a s c a d e = o r p h a n   B y   p a s s i n g   - - c a s c a d e = o r p h a n   t o   k u b e c t l   d e l e t e ,   t h e   P o d s   m a n a g e d   b y   t h e   S t a t e f u l S e t   a r e   l e f t   b e h i n d   e v e n   a f t e r   t h e   S t a t e f u l S e t   o b j e c t   i t s e l f   i s   d e l e t e d .   I f   t h e   p o d s   h a v e   a   l a b e l   a p p . k u b e r n e t e s . i o / n a m e = M y A p p ,   y o u   c a n   t h e n   d e l e t e   t h e m   a s   f o l l o w s :   k u b e c t l   d e l e t e   p o d s   - l   a p p . k u b e r n e t e s . i o / n a m e = M y A p p",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18772"
  },
  {
    "question": "What is Persistent Volumes?",
    "answer": "D e l e t i n g   t h e   P o d s   i n   a   S t a t e f u l S e t   w i l l   n o t   d e l e t e   t h e   a s s o c i a t e d   v o l u m e s .   T h i s   i s   t o   e n s u r e   t h a t   y o u   h a v e   t h e   c h a n c e   t o   c o p y   d a t a   o f f   t h e   v o l u m e   b e f o r e   d e l e t i n g   i t .   D e l e t i n g   t h e   P V C   a f t e r   t h e   p o d s   h a v e   t e r m i n a t e d   m i g h t   t r i g g e r   d e l e t i o n   o f   t h e   b a c k i n g   P e r s i s t e n t   V o l u m e s   d e p e n d i n g   o n   t h e   s t o r a g e   c l a s s   a n d   r e c l a i m   p o l i c y .   Y o u   s h o u l d   n e v e r   a s s u m e   a b i l i t y   t o   a c c e s s   a   v o l u m e   a f t e r   c l a i m   d e l e t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18773"
  },
  {
    "question": "What is Complete deletion of a StatefulSet?",
    "answer": "T o   d e l e t e   e v e r y t h i n g   i n   a   S t a t e f u l S e t ,   i n c l u d i n g   t h e   a s s o c i a t e d   p o d s ,   y o u   c a n   r u n   a   s e r i e s   o f   c o m m a n d s   s i m i l a r   t o   t h e   f o l l o w i n g :   g r a c e = $ ( k u b e c t l   g e t   p o d s   < s t a t e f u l - s e t - p o d >   - - t e m p l a t e   ' { { . s p e c . t e r m i n a t i o n G r a c e P e r i o d S e c o n d s } } ' )   k u b e c t l   d e l e t e   s t a t e f u l s e t   - l   a p p . k u b e r n e t e s . i o / n a m e = M y A p p   s l e e p   $ g r a c e   k u b e c t l   d e l e t e   p v c   - l   a p p . k u b e r n e t e s . i o / n a m e = M y A p p   I n   t h e   e x a m p l e   a b o v e ,   t h e   P o d s   h a v e   t h e   l a b e l   a p p . k u b e r n e t e s . i o / n a m e = M y A p p ;   s u b s t i t u t e   y o u r   o w n   l a b e l   a s   a p p r o p r i a t e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18774"
  },
  {
    "question": "What is Force deletion of StatefulSet pods?",
    "answer": "I f   y o u   f i n d   t h a t   s o m e   p o d s   i n   y o u r   S t a t e f u l S e t   a r e   s t u c k   i n   t h e   ' T e r m i n a t i n g '   o r   ' U n k n o w n '   s t a t e s   f o r   a n   e x t e n d e d   p e r i o d   o f   t i m e ,   y o u   m a y   n e e d   t o   m a n u a l l y   i n t e r v e n e   t o   f o r c e f u l l y   d e l e t e   t h e   p o d s   f r o m   t h e   a p i s e r v e r .   T h i s   i s   a   p o t e n t i a l l y   d a n g e r o u s   t a s k .   R e f e r   t o   F o r c e   D e l e t e   S t a t e f u l S e t   P o d s   f o r   d e t a i l s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18775"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   f o r c e   d e l e t i n g   S t a t e f u l S e t   P o d s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18776"
  },
  {
    "question": "What is 8.6 - Force Delete StatefulSet Pods?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   d e l e t e   P o d s   w h i c h   a r e   p a r t   o f   a   s t a t e f u l   s e t ,   a n d   e x p l a i n s   t h e   c o n s i d e r a t i o n s   t o   k e e p   i n   m i n d   w h e n   d o i n g   s o .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18777"
  },
  {
    "question": "What is Before you begin?",
    "answer": "T h i s   i s   a   f a i r l y   a d v a n c e d   t a s k   a n d   h a s   t h e   p o t e n t i a l   t o   v i o l a t e   s o m e   o f   t h e   p r o p e r t i e s   i n h e r e n t   t o   S t a t e f u l S e t . B e f o r e   p r o c e e d i n g ,   m a k e   y o u r s e l f   f a m i l i a r   w i t h   t h e   c o n s i d e r a t i o n s   e n u m e r a t e d   b e l o w .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18778"
  },
  {
    "question": "What is StatefulSet considerations?",
    "answer": "I n   n o r m a l   o p e r a t i o n   o f   a   S t a t e f u l S e t ,   t h e r e   i s   n e v e r   a   n e e d   t o   f o r c e   d e l e t e   a   S t a t e f u l S e t   P o d .   T h e   S t a t e f u l S e t   c o n t r o l l e r   i s   r e s p o n s i b l e   f o r   c r e a t i n g ,   s c a l i n g   a n d   d e l e t i n g   m e m b e r s   o f   t h e   S t a t e f u l S e t .   I t   t r i e s   t o   e n s u r e   t h a t   t h e   s p e c i f i e d   n u m b e r   o f   P o d s   f r o m   o r d i n a l   0   t h r o u g h   N - 1   a r e   a l i v e   a n d   r e a d y .   S t a t e f u l S e t   e n s u r e s   t h a t ,   a t   a n y   t i m e ,   t h e r e   i s   a t   m o s t   o n e   P o d   w i t h   a   g i v e n   i d e n t i t y   r u n n i n g   i n   a   c l u s t e r .   T h i s   i s   r e f e r r e d   t o   a s   a t   m o s t   o n e   s e m a n t i c s   p r o v i d e d   b y   a   S t a t e f u l S e t .   M a n u a l   f o r c e   d e l e t i o n   s h o u l d   b e   u n d e r t a k e n   w i t h   c a u t i o n ,   a s   i t   h a s   t h e   p o t e n t i a l   t o   v i o l a t e   t h e   a t   m o s t   o n e   s e m a n t i c s   i n h e r e n t   t o   S t a t e f u l S e t .   S t a t e f u l S e t s   m a y   b e   u s e d   t o   r u n   d i s t r i b u t e d   a n d   c l u s t e r e d   a p p l i c a t i o n s   w h i c h   h a v e   a   n e e d   f o r   a   s t a b l e   n e t w o r k   i d e n t i t y   a n d   s t a b l e   s t o r a g e .   T h e s e   a p p l i c a t i o n s   o f t e n   h a v e   c o n f i g u r a t i o n   w h i c h   r e l i e s   o n   a n   e n s e m b l e   o f   a   f i x e d   n u m b e r   o f   m e m b e r s   w i t h   f i x e d   i d e n t i t i e s .   H a v i n g   m u l t i p l e   m e m b e r s   w i t h   t h e   s a m e   i d e n t i t y   c a n   b e   d i s a s t r o u s   a n d   m a y   l e a d   t o   d a t a   l o s s   ( e . g .   s p l i t   b r a i n   s c e n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18779"
  },
  {
    "question": "What is Delete Pods?",
    "answer": "Y o u   c a n   p e r f o r m   a   g r a c e f u l   p o d   d e l e t i o n   w i t h   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   d e l e t e   p o d s   < p o d >   F o r   t h e   a b o v e   t o   l e a d   t o   g r a c e f u l   t e r m i n a t i o n ,   t h e   P o d   m u s t   n o t   s p e c i f y   a   p o d . S p e c . T e r m i n a t i o n G r a c e P e r i o d S e c o n d s   o f   0 .   T h e   p r a c t i c e   o f   s e t t i n g   a   p o d . S p e c . T e r m i n a t i o n G r a c e P e r i o d S e c o n d s   o f   0   s e c o n d s   i s   u n s a f e   a n d   s t r o n g l y   d i s c o u r a g e d   f o r   S t a t e f u l S e t   P o d s .   G r a c e f u l   d e l e t i o n   i s   s a f e   a n d   w i l l   e n s u r e   t h a t   t h e   P o d   s h u t s   d o w n   g r a c e f u l l y   b e f o r e   t h e   k u b e l e t   d e l e t e s   t h e   n a m e   f r o m   t h e   a p i s e r v e r .   A   P o d   i s   n o t   d e l e t e d   a u t o m a t i c a l l y   w h e n   a   n o d e   i s   u n r e a c h a b l e .   T h e   P o d s   r u n n i n g   o n   a n   u n r e a c h a b l e   N o d e   e n t e r   t h e   ' T e r m i n a t i n g '   o r   ' U n k n o w n '   s t a t e   a f t e r   a   t i m e o u t .   P o d s   m a y   a l s o   e n t e r   t h e s e   s t a t e s   w h e n   t h e   u s e r   a t t e m p t s   g r a c e f u l   d e l e t i o n   o f   a   P o d   o n   a n   u n r e a c h a b l e   N o d e .   T h e   o n l y   w a y s   i n   w h i c h   a   P o d   i n   s u c h   a   s t a t e   c a n   b e   r e m o v e d   f r o m   t h e   a p i s e r v e r   a r e   a s   f o l l o w s :   T h e   N o d e   o b j e c t   i s   d e l e t e d   ( e i t h e r   b y   y o u ,   o r   b y   t h e   N o d e   C o n t r o l l e r ) . T h e   k u b e l e t   o n   t h e   u n r e s p o n s i v e   N o d e   s t a r t s   r e s p o n d i n g ,   k i l l s   t h e   P o d   a n d   r e m o v e s   t h ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18780"
  },
  {
    "question": "What is Force Deletion?",
    "answer": "F o r c e   d e l e t i o n s   d o   n o t   w a i t   f o r   c o n f i r m a t i o n   f r o m   t h e   k u b e l e t   t h a t   t h e   P o d   h a s   b e e n   t e r m i n a t e d .   I r r e s p e c t i v e   o f   w h e t h e r   a   f o r c e   d e l e t i o n   i s   s u c c e s s f u l   i n   k i l l i n g   a   P o d ,   i t   w i l l   i m m e d i a t e l y   f r e e   u p   t h e   n a m e   f r o m   t h e   a p i s e r v e r .   T h i s   w o u l d   l e t   t h e   S t a t e f u l S e t   c o n t r o l l e r   c r e a t e   a   r e p l a c e m e n t   P o d   w i t h   t h a t   s a m e   i d e n t i t y ;   t h i s   c a n   l e a d   t o   t h e   d u p l i c a t i o n   o f   a   s t i l l - r u n n i n g   P o d ,   a n d   i f   s a i d   P o d   c a n   s t i l l   c o m m u n i c a t e   w i t h   t h e   o t h e r   m e m b e r s   o f   t h e   S t a t e f u l S e t ,   w i l l   v i o l a t e   t h e   a t   m o s t   o n e   s e m a n t i c s   t h a t   S t a t e f u l S e t   i s   d e s i g n e d   t o   g u a r a n t e e .   W h e n   y o u   f o r c e   d e l e t e   a   S t a t e f u l S e t   p o d ,   y o u   a r e   a s s e r t i n g   t h a t   t h e   P o d   i n   q u e s t i o n   w i l l   n e v e r   a g a i n   m a k e   c o n t a c t   w i t h   o t h e r   P o d s   i n   t h e   S t a t e f u l S e t   a n d   i t s   n a m e   c a n   b e   s a f e l y   f r e e d   u p   f o r   a   r e p l a c e m e n t   t o   b e   c r e a t e d .   I f   y o u   w a n t   t o   d e l e t e   a   P o d   f o r c i b l y   u s i n g   k u b e c t l   v e r s i o n   > =   1 . 5 ,   d o   t h e   f o l l o w i n g :   k u b e c t l   d e l e t e   p o d s   < p o d >   - - g r a c e - p e r i o d = 0   - - f o r c e   I f   y o u ' r e   u s i n g   a n y   v e r s i o n   o f   k u b e c t l   < =   1 . 4 ,   y o u   s h o u l d   o m i t   t h e   - - f o r c e   o p t i o n   a n d   u s e :   k u b e c t l   d e l e t e   p o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18781"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   d e b u g g i n g   a   S t a t e f u l S e t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18782"
  },
  {
    "question": "What is 8.7 - Horizontal Pod Autoscaling?",
    "answer": "I n   K u b e r n e t e s ,   a   H o r i z o n t a l P o d A u t o s c a l e r   a u t o m a t i c a l l y   u p d a t e s   a   w o r k l o a d   r e s o u r c e   ( s u c h   a s   a   D e p l o y m e n t   o r   S t a t e f u l S e t ) ,   w i t h   t h e   a i m   o f   a u t o m a t i c a l l y   s c a l i n g   t h e   w o r k l o a d   t o   m a t c h   d e m a n d .   H o r i z o n t a l   s c a l i n g   m e a n s   t h a t   t h e   r e s p o n s e   t o   i n c r e a s e d   l o a d   i s   t o   d e p l o y   m o r e   P o d s .   T h i s   i s   d i f f e r e n t   f r o m   v e r t i c a l   s c a l i n g ,   w h i c h   f o r   K u b e r n e t e s   w o u l d   m e a n   a s s i g n i n g   m o r e   r e s o u r c e s   ( f o r   e x a m p l e :   m e m o r y   o r   C P U )   t o   t h e   P o d s   t h a t   a r e   a l r e a d y   r u n n i n g   f o r   t h e   w o r k l o a d .   I f   t h e   l o a d   d e c r e a s e s ,   a n d   t h e   n u m b e r   o f   P o d s   i s   a b o v e   t h e   c o n f i g u r e d   m i n i m u m ,   t h e   H o r i z o n t a l P o d A u t o s c a l e r   i n s t r u c t s   t h e   w o r k l o a d   r e s o u r c e   ( t h e   D e p l o y m e n t ,   S t a t e f u l S e t ,   o r   o t h e r   s i m i l a r   r e s o u r c e )   t o   s c a l e   b a c k   d o w n .   H o r i z o n t a l   p o d   a u t o s c a l i n g   d o e s   n o t   a p p l y   t o   o b j e c t s   t h a t   c a n ' t   b e   s c a l e d   ( f o r   e x a m p l e :   a   D a e m o n S e t . )   T h e   H o r i z o n t a l P o d A u t o s c a l e r   i s   i m p l e m e n t e d   a s   a   K u b e r n e t e s   A P I   r e s o u r c e   a n d   a   c o n t r o l l e r .   T h e   r e s o u r c e   d e t e r m i n e s   t h e   b e h a v i o r   o f   t h e   c o n t r o l l e r .   T h e   h o r i z o n t a l   p o d   a u t o s c a l i n g   c o n t r o l l e r ,   r u n n i n g   w i t h i n   t h e   K u b e r n e t e s   c o n t r o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18783"
  },
  {
    "question": "What is How does a HorizontalPodAutoscaler work??",
    "answer": "F i g u r e   1 .   H o r i z o n t a l P o d A u t o s c a l e r   c o n t r o l s   t h e   s c a l e   o f   a   D e p l o y m e n t   a n d   i t s   R e p l i c a S e t   K u b e r n e t e s   i m p l e m e n t s   h o r i z o n t a l   p o d   a u t o s c a l i n g   a s   a   c o n t r o l   l o o p   t h a t   r u n s   i n t e r m i t t e n t l y   ( i t   i s   n o t   a   c o n t i n u o u s   p r o c e s s ) .   T h e   i n t e r v a l   i s   s e t   b y   t h e   - - h o r i z o n t a l - p o d - a u t o s c a l e r - s y n c - p e r i o d   p a r a m e t e r   t o   t h e   k u b e - c o n t r o l l e r - m a n a g e r   ( a n d   t h e   d e f a u l t   i n t e r v a l   i s   1 5   s e c o n d s ) .   O n c e   d u r i n g   e a c h   p e r i o d ,   t h e   c o n t r o l l e r   m a n a g e r   q u e r i e s   t h e   r e s o u r c e   u t i l i z a t i o n   a g a i n s t   t h e   m e t r i c s   s p e c i f i e d   i n   e a c h   H o r i z o n t a l P o d A u t o s c a l e r   d e f i n i t i o n .   T h e   c o n t r o l l e r   m a n a g e r   f i n d s   t h e   t a r g e t   r e s o u r c e   d e f i n e d   b y   t h e   s c a l e T a r g e t R e f ,   t h e n   s e l e c t s   t h e   p o d s   b a s e d   o n   t h e   t a r g e t   r e s o u r c e ' s   . s p e c . s e l e c t o r   l a b e l s ,   a n d   o b t a i n s   t h e   m e t r i c s   f r o m   e i t h e r   t h e   r e s o u r c e   m e t r i c s   A P I   ( f o r   p e r - p o d   r e s o u r c e   m e t r i c s ) ,   o r   t h e   c u s t o m   m e t r i c s   A P I   ( f o r   a l l   o t h e r   m e t r i c s ) .   F o r   p e r - p o d   r e s o u r c e   m e t r i c s   ( l i k e   C P U ) ,   t h e   c o n t r o l l e r   f e t c h e s   t h e   m e t r i c s   f r o m   t h e   r e s o u r c e   m e t r i c s   A P I   f o r   e a c h   P o d   t a r g e t e d   b y   t h e   H o r i z o n t a l P o d A u t o s c a l e r .   T h e n ,   i f   a   t a r g e t   u t i ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18784"
  },
  {
    "question": "What is Algorithm details?",
    "answer": "F r o m   t h e   m o s t   b a s i c   p e r s p e c t i v e ,   t h e   H o r i z o n t a l P o d A u t o s c a l e r   c o n t r o l l e r   o p e r a t e s   o n   t h e   r a t i o   b e t w e e n   d e s i r e d   m e t r i c   v a l u e   a n d   c u r r e n t   m e t r i c   v a l u e :   F o r   e x a m p l e ,   i f   t h e   c u r r e n t   m e t r i c   v a l u e   i s   2 0 0 m ,   a n d   t h e   d e s i r e d   v a l u e   i s   1 0 0 m ,   t h e   n u m b e r   o f   r e p l i c a s   w i l l   b e   d o u b l e d ,   s i n c e   \\ (   {   2 0 0 . 0   \\ d i v   1 0 0 . 0   }   =   2 . 0   \\ ) . I f   t h e   c u r r e n t   v a l u e   i s   i n s t e a d   5 0 m ,   y o u ' l l   h a l v e   t h e   n u m b e r   o f   r e p l i c a s ,   s i n c e   \\ (   {   5 0 . 0   \\ d i v   1 0 0 . 0   }   =   0 . 5   \\ ) .   T h e   c o n t r o l   p l a n e   s k i p s   a n y   s c a l i n g   a c t i o n   i f   t h e   r a t i o   i s   s u f f i c i e n t l y   c l o s e   t o   1 . 0   ( w i t h i n   a   c o n f i g u r a b l e   t o l e r a n c e ,   0 . 1   b y   d e f a u l t ) .   W h e n   a   t a r g e t A v e r a g e V a l u e   o r   t a r g e t A v e r a g e U t i l i z a t i o n   i s   s p e c i f i e d ,   t h e   c u r r e n t M e t r i c V a l u e   i s   c o m p u t e d   b y   t a k i n g   t h e   a v e r a g e   o f   t h e   g i v e n   m e t r i c   a c r o s s   a l l   P o d s   i n   t h e   H o r i z o n t a l P o d A u t o s c a l e r ' s   s c a l e   t a r g e t .   B e f o r e   c h e c k i n g   t h e   t o l e r a n c e   a n d   d e c i d i n g   o n   t h e   f i n a l   v a l u e s ,   t h e   c o n t r o l   p l a n e   a l s o   c o n s i d e r s   w h e t h e r   a n y   m e t r i c s   a r e   m i s s i n g ,   a n d   h o w   m a n y   P o d s   a r e   R e a d y .   A l l   P o d s   w i t h   a   d e l e t i o n   t i m e s t a m p   s e t   ( o b j e c t s   w i t h   a   d e l e t i o n   t i m e s t a m p   a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18785"
  },
  {
    "question": "What is Pod readiness and autoscaling metrics?",
    "answer": "T h e   H o r i z o n t a l P o d A u t o s c a l e r   ( H P A )   c o n t r o l l e r   i n c l u d e s   t w o   f l a g s   t h a t   i n f l u e n c e   h o w   C P U   m e t r i c s   a r e   c o l l e c t e d   f r o m   P o d s   d u r i n g   s t a r t u p :   - - h o r i z o n t a l - p o d - a u t o s c a l e r - c p u - i n i t i a l i z a t i o n - p e r i o d   ( d e f a u l t :   5   m i n u t e s )   T h i s   d e f i n e s   t h e   t i m e   w i n d o w   a f t e r   a   P o d   s t a r t s   d u r i n g   w h i c h   i t s   C P U   u s a g e   i s   i g n o r e d   u n l e s s :   -   T h e   P o d   i s   i n   a   R e a d y   s t a t e   a n d   -   T h e   m e t r i c   s a m p l e   w a s   t a k e n   e n t i r e l y   d u r i n g   t h e   p e r i o d   i t   w a s   R e a d y .   T h i s   f l a g   h e l p s   e x c l u d e   m i s l e a d i n g   h i g h   C P U   u s a g e   f r o m   i n i t i a l i z i n g   P o d s   ( e . g . ,   J a v a   a p p s   w a r m i n g   u p )   i n   H P A   s c a l i n g   d e c i s i o n s .   - - h o r i z o n t a l - p o d - a u t o s c a l e r - i n i t i a l - r e a d i n e s s - d e l a y   ( d e f a u l t :   3 0   s e c o n d s )   T h i s   d e f i n e s   a   s h o r t   d e l a y   p e r i o d   a f t e r   a   P o d   s t a r t s   d u r i n g   w h i c h   t h e   H P A   c o n t r o l l e r   t r e a t s   P o d s   t h a t   a r e   c u r r e n t l y   U n r e a d y   a s   s t i l l   i n i t i a l i z i n g ,   e v e n   i f   t h e y   h a v e   p r e v i o u s l y   t r a n s i t i o n e d   t o   R e a d y   b r i e f l y .   I t   i s   d e s i g n e d   t o :   -   A v o i d   i n c l u d i n g   P o d s   t h a t   r a p i d l y   f l u c t u a t e   b e t w e e n   R e a d y   a n d   U n r e a d y   d u r i n g   s t a r t u p .   -   E n s u r e   s t a b i l i t y   i n   t h e   i n i t i a l   r e a d i n e s s   s i g n a l   b e f o r e   H P A   c o n s i d e r s   t h e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18786"
  },
  {
    "question": "What is Best Practice:?",
    "answer": "I f   y o u r   P o d   h a s   a   s t a r t u p   p h a s e   w i t h   h i g h   C P U   u s a g e :   C o n f i g u r e   a   s t a r t u p P r o b e   t h a t   d o e s n ' t   p a s s   u n t i l   t h e   h i g h   C P U   u s a g e   h a s   p a s s e d ,   o r E n s u r e   y o u r   r e a d i n e s s P r o b e   o n l y   r e p o r t s   R e a d y   a f t e r   t h e   C P U   s p i k e   s u b s i d e s ,   u s i n g   i n i t i a l D e l a y S e c o n d s .   A n d   i d e a l l y   a l s o   s e t   - - h o r i z o n t a l - p o d - a u t o s c a l e r - c p u - i n i t i a l i z a t i o n - p e r i o d   t o   c o v e r   t h e   s t a r t u p   d u r a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18787"
  },
  {
    "question": "What is API Object?",
    "answer": "T h e   H o r i z o n t a l   P o d   A u t o s c a l e r   i s   a n   A P I   r e s o u r c e   i n   t h e   K u b e r n e t e s   a u t o s c a l i n g   A P I   g r o u p .   T h e   c u r r e n t   s t a b l e   v e r s i o n   c a n   b e   f o u n d   i n   t h e   a u t o s c a l i n g / v 2   A P I   v e r s i o n   w h i c h   i n c l u d e s   s u p p o r t   f o r   s c a l i n g   o n   m e m o r y   a n d   c u s t o m   m e t r i c s .   T h e   n e w   f i e l d s   i n t r o d u c e d   i n   a u t o s c a l i n g / v 2   a r e   p r e s e r v e d   a s   a n n o t a t i o n s   w h e n   w o r k i n g   w i t h   a u t o s c a l i n g / v 1 .   W h e n   y o u   c r e a t e   a   H o r i z o n t a l P o d A u t o s c a l e r   A P I   o b j e c t ,   m a k e   s u r e   t h e   n a m e   s p e c i f i e d   i s   a   v a l i d   D N S   s u b d o m a i n   n a m e .   M o r e   d e t a i l s   a b o u t   t h e   A P I   o b j e c t   c a n   b e   f o u n d   a t   H o r i z o n t a l P o d A u t o s c a l e r   O b j e c t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18788"
  },
  {
    "question": "What is Stability of workload scale?",
    "answer": "W h e n   m a n a g i n g   t h e   s c a l e   o f   a   g r o u p   o f   r e p l i c a s   u s i n g   t h e   H o r i z o n t a l P o d A u t o s c a l e r ,   i t   i s   p o s s i b l e   t h a t   t h e   n u m b e r   o f   r e p l i c a s   k e e p s   f l u c t u a t i n g   f r e q u e n t l y   d u e   t o   t h e   d y n a m i c   n a t u r e   o f   t h e   m e t r i c s   e v a l u a t e d .   T h i s   i s   s o m e t i m e s   r e f e r r e d   t o   a s   t h r a s h i n g ,   o r   f l a p p i n g .   I t ' s   s i m i l a r   t o   t h e   c o n c e p t   o f   h y s t e r e s i s   i n   c y b e r n e t i c s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18789"
  },
  {
    "question": "What is Autoscaling during rolling update?",
    "answer": "K u b e r n e t e s   l e t s   y o u   p e r f o r m   a   r o l l i n g   u p d a t e   o n   a   D e p l o y m e n t .   I n   t h a t   c a s e ,   t h e   D e p l o y m e n t   m a n a g e s   t h e   u n d e r l y i n g   R e p l i c a S e t s   f o r   y o u .   W h e n   y o u   c o n f i g u r e   a u t o s c a l i n g   f o r   a   D e p l o y m e n t ,   y o u   b i n d   a   H o r i z o n t a l P o d A u t o s c a l e r   t o   a   s i n g l e   D e p l o y m e n t .   T h e   H o r i z o n t a l P o d A u t o s c a l e r   m a n a g e s   t h e   r e p l i c a s   f i e l d   o f   t h e   D e p l o y m e n t .   T h e   d e p l o y m e n t   c o n t r o l l e r   i s   r e s p o n s i b l e   f o r   s e t t i n g   t h e   r e p l i c a s   o f   t h e   u n d e r l y i n g   R e p l i c a S e t s   s o   t h a t   t h e y   a d d   u p   t o   a   s u i t a b l e   n u m b e r   d u r i n g   t h e   r o l l o u t   a n d   a l s o   a f t e r w a r d s .   I f   y o u   p e r f o r m   a   r o l l i n g   u p d a t e   o f   a   S t a t e f u l S e t   t h a t   h a s   a n   a u t o s c a l e d   n u m b e r   o f   r e p l i c a s ,   t h e   S t a t e f u l S e t   d i r e c t l y   m a n a g e s   i t s   s e t   o f   P o d s   ( t h e r e   i s   n o   i n t e r m e d i a t e   r e s o u r c e   s i m i l a r   t o   R e p l i c a S e t ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18790"
  },
  {
    "question": "What is Support for resource metrics?",
    "answer": "A n y   H P A   t a r g e t   c a n   b e   s c a l e d   b a s e d   o n   t h e   r e s o u r c e   u s a g e   o f   t h e   p o d s   i n   t h e   s c a l i n g   t a r g e t .   W h e n   d e f i n i n g   t h e   p o d   s p e c i f i c a t i o n   t h e   r e s o u r c e   r e q u e s t s   l i k e   c p u   a n d   m e m o r y   s h o u l d   b e   s p e c i f i e d .   T h i s   i s   u s e d   t o   d e t e r m i n e   t h e   r e s o u r c e   u t i l i z a t i o n   a n d   u s e d   b y   t h e   H P A   c o n t r o l l e r   t o   s c a l e   t h e   t a r g e t   u p   o r   d o w n .   T o   u s e   r e s o u r c e   u t i l i z a t i o n   b a s e d   s c a l i n g   s p e c i f y   a   m e t r i c   s o u r c e   l i k e   t h i s :   t y p e :   R e s o u r c e   r e s o u r c e :   n a m e :   c p u   t a r g e t :   t y p e :   U t i l i z a t i o n   a v e r a g e U t i l i z a t i o n :   6 0   W i t h   t h i s   m e t r i c   t h e   H P A   c o n t r o l l e r   w i l l   k e e p   t h e   a v e r a g e   u t i l i z a t i o n   o f   t h e   p o d s   i n   t h e   s c a l i n g   t a r g e t   a t   6 0 % .   U t i l i z a t i o n   i s   t h e   r a t i o   b e t w e e n   t h e   c u r r e n t   u s a g e   o f   r e s o u r c e   t o   t h e   r e q u e s t e d   r e s o u r c e s   o f   t h e   p o d .   S e e   A l g o r i t h m   f o r   m o r e   d e t a i l s   a b o u t   h o w   t h e   u t i l i z a t i o n   i s   c a l c u l a t e d   a n d   a v e r a g e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18791"
  },
  {
    "question": "What is Container resource metrics?",
    "answer": "T h e   H o r i z o n t a l P o d A u t o s c a l e r   A P I   a l s o   s u p p o r t s   a   c o n t a i n e r   m e t r i c   s o u r c e   w h e r e   t h e   H P A   c a n   t r a c k   t h e   r e s o u r c e   u s a g e   o f   i n d i v i d u a l   c o n t a i n e r s   a c r o s s   a   s e t   o f   P o d s ,   i n   o r d e r   t o   s c a l e   t h e   t a r g e t   r e s o u r c e .   T h i s   l e t s   y o u   c o n f i g u r e   s c a l i n g   t h r e s h o l d s   f o r   t h e   c o n t a i n e r s   t h a t   m a t t e r   m o s t   i n   a   p a r t i c u l a r   P o d .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   w e b   a p p l i c a t i o n   a n d   a   s i d e c a r   c o n t a i n e r   t h a t   p r o v i d e s   l o g g i n g ,   y o u   c a n   s c a l e   b a s e d   o n   t h e   r e s o u r c e   u s e   o f   t h e   w e b   a p p l i c a t i o n ,   i g n o r i n g   t h e   s i d e c a r   c o n t a i n e r   a n d   i t s   r e s o u r c e   u s e .   I f   y o u   r e v i s e   t h e   t a r g e t   r e s o u r c e   t o   h a v e   a   n e w   P o d   s p e c i f i c a t i o n   w i t h   a   d i f f e r e n t   s e t   o f   c o n t a i n e r s ,   y o u   s h o u l d   r e v i s e   t h e   H P A   s p e c   i f   t h a t   n e w l y   a d d e d   c o n t a i n e r   s h o u l d   a l s o   b e   u s e d   f o r   s c a l i n g .   I f   t h e   s p e c i f i e d   c o n t a i n e r   i n   t h e   m e t r i c   s o u r c e   i s   n o t   p r e s e n t   o r   o n l y   p r e s e n t   i n   a   s u b s e t   o f   t h e   p o d s   t h e n   t h o s e   p o d s   a r e   i g n o r e d   a n d   t h e   r e c o m m e n d a t i o n   i s   r e c a l c u l a t e d .   S e e   A l g o r i t h m   f o r   m o r e   d e t a i l s   a b o u t   t h e   c a l c u l a t i o n .   T o   u s e   c o n t a i n e r   r e s o u r c e s   f o r   a u t o s c a l i n g   d e f i n e   a   m e t r i c   s o u r c e   a s   f o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18792"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   c h a n g e   t h e   n a m e   o f   a   c o n t a i n e r   t h a t   a   H o r i z o n t a l P o d A u t o s c a l e r   i s   t r a c k i n g ,   y o u   c a n   m a k e   t h a t   c h a n g e   i n   a   s p e c i f i c   o r d e r   t o   e n s u r e   s c a l i n g   r e m a i n s   a v a i l a b l e   a n d   e f f e c t i v e   w h i l s t   t h e   c h a n g e   i s   b e i n g   a p p l i e d .   B e f o r e   y o u   u p d a t e   t h e   r e s o u r c e   t h a t   d e f i n e s   t h e   c o n t a i n e r   ( s u c h   a s   a   D e p l o y m e n t ) ,   y o u   s h o u l d   u p d a t e   t h e   a s s o c i a t e d   H P A   t o   t r a c k   b o t h   t h e   n e w   a n d   o l d   c o n t a i n e r   n a m e s .   T h i s   w a y ,   t h e   H P A   i s   a b l e   t o   c a l c u l a t e   a   s c a l i n g   r e c o m m e n d a t i o n   t h r o u g h o u t   t h e   u p d a t e   p r o c e s s .   O n c e   y o u   h a v e   r o l l e d   o u t   t h e   c o n t a i n e r   n a m e   c h a n g e   t o   t h e   w o r k l o a d   r e s o u r c e ,   t i d y   u p   b y   r e m o v i n g   t h e   o l d   c o n t a i n e r   n a m e   f r o m   t h e   H P A   s p e c i f i c a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18793"
  },
  {
    "question": "What is Scaling on custom metrics?",
    "answer": "( t h e   a u t o s c a l i n g / v 2 b e t a 2   A P I   v e r s i o n   p r e v i o u s l y   p r o v i d e d   t h i s   a b i l i t y   a s   a   b e t a   f e a t u r e )   P r o v i d e d   t h a t   y o u   u s e   t h e   a u t o s c a l i n g / v 2   A P I   v e r s i o n ,   y o u   c a n   c o n f i g u r e   a   H o r i z o n t a l P o d A u t o s c a l e r   t o   s c a l e   b a s e d   o n   a   c u s t o m   m e t r i c   ( t h a t   i s   n o t   b u i l t   i n   t o   K u b e r n e t e s   o r   a n y   K u b e r n e t e s   c o m p o n e n t ) .   T h e   H o r i z o n t a l P o d A u t o s c a l e r   c o n t r o l l e r   t h e n   q u e r i e s   f o r   t h e s e   c u s t o m   m e t r i c s   f r o m   t h e   K u b e r n e t e s   A P I .   S e e   S u p p o r t   f o r   m e t r i c s   A P I s   f o r   t h e   r e q u i r e m e n t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18794"
  },
  {
    "question": "What is Scaling on multiple metrics?",
    "answer": "( t h e   a u t o s c a l i n g / v 2 b e t a 2   A P I   v e r s i o n   p r e v i o u s l y   p r o v i d e d   t h i s   a b i l i t y   a s   a   b e t a   f e a t u r e )   P r o v i d e d   t h a t   y o u   u s e   t h e   a u t o s c a l i n g / v 2   A P I   v e r s i o n ,   y o u   c a n   s p e c i f y   m u l t i p l e   m e t r i c s   f o r   a   H o r i z o n t a l P o d A u t o s c a l e r   t o   s c a l e   o n .   T h e n ,   t h e   H o r i z o n t a l P o d A u t o s c a l e r   c o n t r o l l e r   e v a l u a t e s   e a c h   m e t r i c ,   a n d   p r o p o s e s   a   n e w   s c a l e   b a s e d   o n   t h a t   m e t r i c .   T h e   H o r i z o n t a l P o d A u t o s c a l e r   t a k e s   t h e   m a x i m u m   s c a l e   r e c o m m e n d e d   f o r   e a c h   m e t r i c   a n d   s e t s   t h e   w o r k l o a d   t o   t h a t   s i z e   ( p r o v i d e d   t h a t   t h i s   i s n ' t   l a r g e r   t h a n   t h e   o v e r a l l   m a x i m u m   t h a t   y o u   c o n f i g u r e d ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18795"
  },
  {
    "question": "What is Support for metrics APIs?",
    "answer": "B y   d e f a u l t ,   t h e   H o r i z o n t a l P o d A u t o s c a l e r   c o n t r o l l e r   r e t r i e v e s   m e t r i c s   f r o m   a   s e r i e s   o f   A P I s .   I n   o r d e r   f o r   i t   t o   a c c e s s   t h e s e   A P I s ,   c l u s t e r   a d m i n i s t r a t o r s   m u s t   e n s u r e   t h a t :   T h e   A P I   a g g r e g a t i o n   l a y e r   i s   e n a b l e d . T h e   c o r r e s p o n d i n g   A P I s   a r e   r e g i s t e r e d : F o r   r e s o u r c e   m e t r i c s ,   t h i s   i s   t h e   m e t r i c s . k 8 s . i o   A P I ,   g e n e r a l l y   p r o v i d e d   b y   m e t r i c s - s e r v e r .   I t   c a n   b e   l a u n c h e d   a s   a   c l u s t e r   a d d - o n . F o r   c u s t o m   m e t r i c s ,   t h i s   i s   t h e   c u s t o m . m e t r i c s . k 8 s . i o   A P I .   I t ' s   p r o v i d e d   b y   \" a d a p t e r \"   A P I   s e r v e r s   p r o v i d e d   b y   m e t r i c s   s o l u t i o n   v e n d o r s .   C h e c k   w i t h   y o u r   m e t r i c s   p i p e l i n e   t o   s e e   i f   t h e r e   i s   a   K u b e r n e t e s   m e t r i c s   a d a p t e r   a v a i l a b l e . F o r   e x t e r n a l   m e t r i c s ,   t h i s   i s   t h e   e x t e r n a l . m e t r i c s . k 8 s . i o   A P I .   I t   m a y   b e   p r o v i d e d   b y   t h e   c u s t o m   m e t r i c s   a d a p t e r s   p r o v i d e d   a b o v e .   T h e   A P I   a g g r e g a t i o n   l a y e r   i s   e n a b l e d .   T h e   c o r r e s p o n d i n g   A P I s   a r e   r e g i s t e r e d :   F o r   r e s o u r c e   m e t r i c s ,   t h i s   i s   t h e   m e t r i c s . k 8 s . i o   A P I ,   g e n e r a l l y   p r o v i d e d   b y   m e t r i c s - s e r v e r .   I t   c a n   b e   l a u n c h e d   a s   a   c l u s t e r   a d d - o n . F o r   c u s t o m   m e t r i c s ,   t h i s   i s   t h e   c u s t o m . m e t r i c s . k 8 s . i o   A P I .   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18796"
  },
  {
    "question": "What is Configurable scaling behavior?",
    "answer": "( t h e   a u t o s c a l i n g / v 2 b e t a 2   A P I   v e r s i o n   p r e v i o u s l y   p r o v i d e d   t h i s   a b i l i t y   a s   a   b e t a   f e a t u r e )   I f   y o u   u s e   t h e   v 2   H o r i z o n t a l P o d A u t o s c a l e r   A P I ,   y o u   c a n   u s e   t h e   b e h a v i o r   f i e l d   ( s e e   t h e   A P I   r e f e r e n c e )   t o   c o n f i g u r e   s e p a r a t e   s c a l e - u p   a n d   s c a l e - d o w n   b e h a v i o r s .   Y o u   s p e c i f y   t h e s e   b e h a v i o u r s   b y   s e t t i n g   s c a l e U p   a n d   /   o r   s c a l e D o w n   u n d e r   t h e   b e h a v i o r   f i e l d .   S c a l i n g   p o l i c i e s   l e t   y o u   c o n t r o l   t h e   r a t e   o f   c h a n g e   o f   r e p l i c a s   w h i l e   s c a l i n g .   A l s o   t w o   s e t t i n g s   c a n   b e   u s e d   t o   p r e v e n t   f l a p p i n g :   y o u   c a n   s p e c i f y   a   s t a b i l i z a t i o n   w i n d o w   f o r   s m o o t h i n g   r e p l i c a   c o u n t s ,   a n d   a   t o l e r a n c e   t o   i g n o r e   m i n o r   m e t r i c   f l u c t u a t i o n s   b e l o w   a   s p e c i f i e d   t h r e s h o l d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18797"
  },
  {
    "question": "What is Scaling policies?",
    "answer": "O n e   o r   m o r e   s c a l i n g   p o l i c i e s   c a n   b e   s p e c i f i e d   i n   t h e   b e h a v i o r   s e c t i o n   o f   t h e   s p e c .   W h e n   m u l t i p l e   p o l i c i e s   a r e   s p e c i f i e d   t h e   p o l i c y   w h i c h   a l l o w s   t h e   h i g h e s t   a m o u n t   o f   c h a n g e   i s   t h e   p o l i c y   w h i c h   i s   s e l e c t e d   b y   d e f a u l t .   T h e   f o l l o w i n g   e x a m p l e   s h o w s   t h i s   b e h a v i o r   w h i l e   s c a l i n g   d o w n :   b e h a v i o r :   s c a l e D o w n :   p o l i c i e s :   -   t y p e :   P o d s   v a l u e :   4   p e r i o d S e c o n d s :   6 0   -   t y p e :   P e r c e n t   v a l u e :   1 0   p e r i o d S e c o n d s :   6 0   p e r i o d S e c o n d s   i n d i c a t e s   t h e   l e n g t h   o f   t i m e   i n   t h e   p a s t   f o r   w h i c h   t h e   p o l i c y   m u s t   h o l d   t r u e .   T h e   m a x i m u m   v a l u e   t h a t   y o u   c a n   s e t   f o r   p e r i o d S e c o n d s   i s   1 8 0 0   ( h a l f   a n   h o u r ) .   T h e   f i r s t   p o l i c y   ( P o d s )   a l l o w s   a t   m o s t   4   r e p l i c a s   t o   b e   s c a l e d   d o w n   i n   o n e   m i n u t e .   T h e   s e c o n d   p o l i c y   ( P e r c e n t )   a l l o w s   a t   m o s t   1 0 %   o f   t h e   c u r r e n t   r e p l i c a s   t o   b e   s c a l e d   d o w n   i n   o n e   m i n u t e .   S i n c e   b y   d e f a u l t   t h e   p o l i c y   w h i c h   a l l o w s   t h e   h i g h e s t   a m o u n t   o f   c h a n g e   i s   s e l e c t e d ,   t h e   s e c o n d   p o l i c y   w i l l   o n l y   b e   u s e d   w h e n   t h e   n u m b e r   o f   p o d   r e p l i c a s   i s   m o r e   t h a n   4 0 .   W i t h   4 0   o r   l e s s   r e p l i c a s ,   t h e   f i r s t   p o l i c y   w i l l   b e   a p p l i e d .   F o r   i n s t a n c e   i f   t h e r e   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18798"
  },
  {
    "question": "What is Stabilization window?",
    "answer": "T h e   s t a b i l i z a t i o n   w i n d o w   i s   u s e d   t o   r e s t r i c t   t h e   f l a p p i n g   o f   r e p l i c a   c o u n t   w h e n   t h e   m e t r i c s   u s e d   f o r   s c a l i n g   k e e p   f l u c t u a t i n g .   T h e   a u t o s c a l i n g   a l g o r i t h m   u s e s   t h i s   w i n d o w   t o   i n f e r   a   p r e v i o u s   d e s i r e d   s t a t e   a n d   a v o i d   u n w a n t e d   c h a n g e s   t o   w o r k l o a d   s c a l e .   F o r   e x a m p l e ,   i n   t h e   f o l l o w i n g   e x a m p l e   s n i p p e t ,   a   s t a b i l i z a t i o n   w i n d o w   i s   s p e c i f i e d   f o r   s c a l e D o w n .   b e h a v i o r :   s c a l e D o w n :   s t a b i l i z a t i o n W i n d o w S e c o n d s :   3 0 0   W h e n   t h e   m e t r i c s   i n d i c a t e   t h a t   t h e   t a r g e t   s h o u l d   b e   s c a l e d   d o w n   t h e   a l g o r i t h m   l o o k s   i n t o   p r e v i o u s l y   c o m p u t e d   d e s i r e d   s t a t e s ,   a n d   u s e s   t h e   h i g h e s t   v a l u e   f r o m   t h e   s p e c i f i e d   i n t e r v a l .   I n   t h e   a b o v e   e x a m p l e ,   a l l   d e s i r e d   s t a t e s   f r o m   t h e   p a s t   5   m i n u t e s   w i l l   b e   c o n s i d e r e d .   T h i s   a p p r o x i m a t e s   a   r o l l i n g   m a x i m u m ,   a n d   a v o i d s   h a v i n g   t h e   s c a l i n g   a l g o r i t h m   f r e q u e n t l y   r e m o v e   P o d s   o n l y   t o   t r i g g e r   r e c r e a t i n g   a n   e q u i v a l e n t   P o d   j u s t   m o m e n t s   l a t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18799"
  },
  {
    "question": "What is Tolerance?",
    "answer": "T h e   t o l e r a n c e   f i e l d   c o n f i g u r e s   a   t h r e s h o l d   f o r   m e t r i c   v a r i a t i o n s ,   p r e v e n t i n g   t h e   a u t o s c a l e r   f r o m   s c a l i n g   f o r   c h a n g e s   b e l o w   t h a t   v a l u e .   T h i s   t o l e r a n c e   i s   d e f i n e d   a s   t h e   a m o u n t   o f   v a r i a t i o n   a r o u n d   t h e   d e s i r e d   m e t r i c   v a l u e   u n d e r   w h i c h   n o   s c a l i n g   w i l l   o c c u r .   F o r   e x a m p l e ,   c o n s i d e r   a   H o r i z o n t a l P o d A u t o s c a l e r   c o n f i g u r e d   w i t h   a   t a r g e t   m e m o r y   c o n s u m p t i o n   o f   1 0 0 M i B   a n d   a   s c a l e - u p   t o l e r a n c e   o f   5 % :   b e h a v i o r :   s c a l e U p :   t o l e r a n c e :   0 . 0 5   #   5 %   t o l e r a n c e   f o r   s c a l e   u p   W i t h   t h i s   c o n f i g u r a t i o n ,   t h e   H P A   a l g o r i t h m   w i l l   o n l y   c o n s i d e r   s c a l i n g   u p   i f   t h e   m e m o r y   c o n s u m p t i o n   i s   h i g h e r   t h a n   1 0 5 M i B   ( t h a t   i s :   5 %   a b o v e   t h e   t a r g e t ) .   I f   y o u   d o n ' t   s e t   t h i s   f i e l d ,   t h e   H P A   a p p l i e s   t h e   d e f a u l t   c l u s t e r - w i d e   t o l e r a n c e   o f   1 0 % .   T h i s   d e f a u l t   c a n   b e   u p d a t e d   f o r   b o t h   s c a l e - u p   a n d   s c a l e - d o w n   u s i n g   t h e   k u b e - c o n t r o l l e r - m a n a g e r   - - h o r i z o n t a l - p o d - a u t o s c a l e r - t o l e r a n c e   c o m m a n d   l i n e   a r g u m e n t .   ( Y o u   c a n ' t   u s e   t h e   K u b e r n e t e s   A P I   t o   c o n f i g u r e   t h i s   d e f a u l t   v a l u e . )",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18800"
  },
  {
    "question": "What is Default Behavior?",
    "answer": "T o   u s e   t h e   c u s t o m   s c a l i n g   n o t   a l l   f i e l d s   h a v e   t o   b e   s p e c i f i e d .   O n l y   v a l u e s   w h i c h   n e e d   t o   b e   c u s t o m i z e d   c a n   b e   s p e c i f i e d .   T h e s e   c u s t o m   v a l u e s   a r e   m e r g e d   w i t h   d e f a u l t   v a l u e s .   T h e   d e f a u l t   v a l u e s   m a t c h   t h e   e x i s t i n g   b e h a v i o r   i n   t h e   H P A   a l g o r i t h m .   b e h a v i o r :   s c a l e D o w n :   s t a b i l i z a t i o n W i n d o w S e c o n d s :   3 0 0   p o l i c i e s :   -   t y p e :   P e r c e n t   v a l u e :   1 0 0   p e r i o d S e c o n d s :   1 5   s c a l e U p :   s t a b i l i z a t i o n W i n d o w S e c o n d s :   0   p o l i c i e s :   -   t y p e :   P e r c e n t   v a l u e :   1 0 0   p e r i o d S e c o n d s :   1 5   -   t y p e :   P o d s   v a l u e :   4   p e r i o d S e c o n d s :   1 5   s e l e c t P o l i c y :   M a x   F o r   s c a l i n g   d o w n   t h e   s t a b i l i z a t i o n   w i n d o w   i s   3 0 0   s e c o n d s   ( o r   t h e   v a l u e   o f   t h e   - - h o r i z o n t a l - p o d - a u t o s c a l e r - d o w n s c a l e - s t a b i l i z a t i o n   f l a g   i f   p r o v i d e d ) .   T h e r e   i s   o n l y   a   s i n g l e   p o l i c y   f o r   s c a l i n g   d o w n   w h i c h   a l l o w s   a   1 0 0 %   o f   t h e   c u r r e n t l y   r u n n i n g   r e p l i c a s   t o   b e   r e m o v e d   w h i c h   m e a n s   t h e   s c a l i n g   t a r g e t   c a n   b e   s c a l e d   d o w n   t o   t h e   m i n i m u m   a l l o w e d   r e p l i c a s .   F o r   s c a l i n g   u p   t h e r e   i s   n o   s t a b i l i z a t i o n   w i n d o w .   W h e n   t h e   m e t r i c s   i n d i c a t e   t h a t   t h e   t a r g e t   s h o u l d   b e   s c a l e d   u p   t h e   t a r g e t   i s   s c a l e d   u p   i m m e d i a t e l y .   T h e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18801"
  },
  {
    "question": "What is Example: change downscale stabilization window?",
    "answer": "T o   p r o v i d e   a   c u s t o m   d o w n s c a l e   s t a b i l i z a t i o n   w i n d o w   o f   1   m i n u t e ,   t h e   f o l l o w i n g   b e h a v i o r   w o u l d   b e   a d d e d   t o   t h e   H P A :   b e h a v i o r :   s c a l e D o w n :   s t a b i l i z a t i o n W i n d o w S e c o n d s :   6 0",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18802"
  },
  {
    "question": "What is Example: limit scale down rate?",
    "answer": "T o   l i m i t   t h e   r a t e   a t   w h i c h   p o d s   a r e   r e m o v e d   b y   t h e   H P A   t o   1 0 %   p e r   m i n u t e ,   t h e   f o l l o w i n g   b e h a v i o r   w o u l d   b e   a d d e d   t o   t h e   H P A :   b e h a v i o r :   s c a l e D o w n :   p o l i c i e s :   -   t y p e :   P e r c e n t   v a l u e :   1 0   p e r i o d S e c o n d s :   6 0   T o   e n s u r e   t h a t   n o   m o r e   t h a n   5   P o d s   a r e   r e m o v e d   p e r   m i n u t e ,   y o u   c a n   a d d   a   s e c o n d   s c a l e - d o w n   p o l i c y   w i t h   a   f i x e d   s i z e   o f   5 ,   a n d   s e t   s e l e c t P o l i c y   t o   m i n i m u m .   S e t t i n g   s e l e c t P o l i c y   t o   M i n   m e a n s   t h a t   t h e   a u t o s c a l e r   c h o o s e s   t h e   p o l i c y   t h a t   a f f e c t s   t h e   s m a l l e s t   n u m b e r   o f   P o d s :   b e h a v i o r :   s c a l e D o w n :   p o l i c i e s :   -   t y p e :   P e r c e n t   v a l u e :   1 0   p e r i o d S e c o n d s :   6 0   -   t y p e :   P o d s   v a l u e :   5   p e r i o d S e c o n d s :   6 0   s e l e c t P o l i c y :   M i n",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18803"
  },
  {
    "question": "What is Example: disable scale down?",
    "answer": "T h e   s e l e c t P o l i c y   v a l u e   o f   D i s a b l e d   t u r n s   o f f   s c a l i n g   t h e   g i v e n   d i r e c t i o n .   S o   t o   p r e v e n t   d o w n s c a l i n g   t h e   f o l l o w i n g   p o l i c y   w o u l d   b e   u s e d :   b e h a v i o r :   s c a l e D o w n :   s e l e c t P o l i c y :   D i s a b l e d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18804"
  },
  {
    "question": "What is Support for HorizontalPodAutoscaler in kubectl?",
    "answer": "H o r i z o n t a l P o d A u t o s c a l e r ,   l i k e   e v e r y   A P I   r e s o u r c e ,   i s   s u p p o r t e d   i n   a   s t a n d a r d   w a y   b y   k u b e c t l .   Y o u   c a n   c r e a t e   a   n e w   a u t o s c a l e r   u s i n g   k u b e c t l   c r e a t e   c o m m a n d .   Y o u   c a n   l i s t   a u t o s c a l e r s   b y   k u b e c t l   g e t   h p a   o r   g e t   d e t a i l e d   d e s c r i p t i o n   b y   k u b e c t l   d e s c r i b e   h p a .   F i n a l l y ,   y o u   c a n   d e l e t e   a n   a u t o s c a l e r   u s i n g   k u b e c t l   d e l e t e   h p a .   I n   a d d i t i o n ,   t h e r e   i s   a   s p e c i a l   k u b e c t l   a u t o s c a l e   c o m m a n d   f o r   c r e a t i n g   a   H o r i z o n t a l P o d A u t o s c a l e r   o b j e c t .   F o r   i n s t a n c e ,   e x e c u t i n g   k u b e c t l   a u t o s c a l e   r s   f o o   - - m i n = 2   - - m a x = 5   - - c p u - p e r c e n t = 8 0   w i l l   c r e a t e   a n   a u t o s c a l e r   f o r   R e p l i c a S e t   f o o ,   w i t h   t a r g e t   C P U   u t i l i z a t i o n   s e t   t o   8 0 %   a n d   t h e   n u m b e r   o f   r e p l i c a s   b e t w e e n   2   a n d   5 .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18805"
  },
  {
    "question": "What is Implicit maintenance-mode deactivation?",
    "answer": "Y o u   c a n   i m p l i c i t l y   d e a c t i v a t e   t h e   H P A   f o r   a   t a r g e t   w i t h o u t   t h e   n e e d   t o   c h a n g e   t h e   H P A   c o n f i g u r a t i o n   i t s e l f .   I f   t h e   t a r g e t ' s   d e s i r e d   r e p l i c a   c o u n t   i s   s e t   t o   0 ,   a n d   t h e   H P A ' s   m i n i m u m   r e p l i c a   c o u n t   i s   g r e a t e r   t h a n   0 ,   t h e   H P A   s t o p s   a d j u s t i n g   t h e   t a r g e t   ( a n d   s e t s   t h e   S c a l i n g A c t i v e   C o n d i t i o n   o n   i t s e l f   t o   f a l s e )   u n t i l   y o u   r e a c t i v a t e   i t   b y   m a n u a l l y   a d j u s t i n g   t h e   t a r g e t ' s   d e s i r e d   r e p l i c a   c o u n t   o r   H P A ' s   m i n i m u m   r e p l i c a   c o u n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18806"
  },
  {
    "question": "What is Migrating Deployments and StatefulSets to horizontal autoscaling?",
    "answer": "W h e n   a n   H P A   i s   e n a b l e d ,   i t   i s   r e c o m m e n d e d   t h a t   t h e   v a l u e   o f   s p e c . r e p l i c a s   o f   t h e   D e p l o y m e n t   a n d   /   o r   S t a t e f u l S e t   b e   r e m o v e d   f r o m   t h e i r   m a n i f e s t ( s ) .   I f   t h i s   i s n ' t   d o n e ,   a n y   t i m e   a   c h a n g e   t o   t h a t   o b j e c t   i s   a p p l i e d ,   f o r   e x a m p l e   v i a   k u b e c t l   a p p l y   - f   d e p l o y m e n t . y a m l ,   t h i s   w i l l   i n s t r u c t   K u b e r n e t e s   t o   s c a l e   t h e   c u r r e n t   n u m b e r   o f   P o d s   t o   t h e   v a l u e   o f   t h e   s p e c . r e p l i c a s   k e y .   T h i s   m a y   n o t   b e   d e s i r e d   a n d   c o u l d   b e   t r o u b l e s o m e   w h e n   a n   H P A   i s   a c t i v e ,   r e s u l t i n g   i n   t h r a s h i n g   o r   f l a p p i n g   b e h a v i o r .   K e e p   i n   m i n d   t h a t   t h e   r e m o v a l   o f   s p e c . r e p l i c a s   m a y   i n c u r   a   o n e - t i m e   d e g r a d a t i o n   o f   P o d   c o u n t s   a s   t h e   d e f a u l t   v a l u e   o f   t h i s   k e y   i s   1   ( r e f e r e n c e   D e p l o y m e n t   R e p l i c a s ) .   U p o n   t h e   u p d a t e ,   a l l   P o d s   e x c e p t   1   w i l l   b e g i n   t h e i r   t e r m i n a t i o n   p r o c e d u r e s .   A n y   d e p l o y m e n t   a p p l i c a t i o n   a f t e r w a r d s   w i l l   b e h a v e   a s   n o r m a l   a n d   r e s p e c t   a   r o l l i n g   u p d a t e   c o n f i g u r a t i o n   a s   d e s i r e d .   Y o u   c a n   a v o i d   t h i s   d e g r a d a t i o n   b y   c h o o s i n g   o n e   o f   t h e   f o l l o w i n g   t w o   m e t h o d s   b a s e d   o n   h o w   y o u   a r e   m o d i f y i n g   y o u r   d e p l o y m e n t s :   k u b e c t l   a p p l y   e d i t - l a s t - a p p l i e d   d e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18807"
  },
  {
    "question": "What is What's next?",
    "answer": "I f   y o u   c o n f i g u r e   a u t o s c a l i n g   i n   y o u r   c l u s t e r ,   y o u   m a y   a l s o   w a n t   t o   c o n s i d e r   u s i n g   n o d e   a u t o s c a l i n g   t o   e n s u r e   y o u   a r e   r u n n i n g   t h e   r i g h t   n u m b e r   o f   n o d e s .   F o r   m o r e   i n f o r m a t i o n   o n   H o r i z o n t a l P o d A u t o s c a l e r :   R e a d   a   w a l k t h r o u g h   e x a m p l e   f o r   h o r i z o n t a l   p o d   a u t o s c a l i n g . R e a d   d o c u m e n t a t i o n   f o r   k u b e c t l   a u t o s c a l e . I f   y o u   w o u l d   l i k e   t o   w r i t e   y o u r   o w n   c u s t o m   m e t r i c s   a d a p t e r ,   c h e c k   o u t   t h e   b o i l e r p l a t e   t o   g e t   s t a r t e d . R e a d   t h e   A P I   r e f e r e n c e   f o r   H o r i z o n t a l P o d A u t o s c a l e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18808"
  },
  {
    "question": "What is 8.8 - HorizontalPodAutoscaler Walkthrough?",
    "answer": "A   H o r i z o n t a l P o d A u t o s c a l e r   ( H P A   f o r   s h o r t )   a u t o m a t i c a l l y   u p d a t e s   a   w o r k l o a d   r e s o u r c e   ( s u c h   a s   a   D e p l o y m e n t   o r   S t a t e f u l S e t ) ,   w i t h   t h e   a i m   o f   a u t o m a t i c a l l y   s c a l i n g   t h e   w o r k l o a d   t o   m a t c h   d e m a n d .   H o r i z o n t a l   s c a l i n g   m e a n s   t h a t   t h e   r e s p o n s e   t o   i n c r e a s e d   l o a d   i s   t o   d e p l o y   m o r e   P o d s .   T h i s   i s   d i f f e r e n t   f r o m   v e r t i c a l   s c a l i n g ,   w h i c h   f o r   K u b e r n e t e s   w o u l d   m e a n   a s s i g n i n g   m o r e   r e s o u r c e s   ( f o r   e x a m p l e :   m e m o r y   o r   C P U )   t o   t h e   P o d s   t h a t   a r e   a l r e a d y   r u n n i n g   f o r   t h e   w o r k l o a d .   I f   t h e   l o a d   d e c r e a s e s ,   a n d   t h e   n u m b e r   o f   P o d s   i s   a b o v e   t h e   c o n f i g u r e d   m i n i m u m ,   t h e   H o r i z o n t a l P o d A u t o s c a l e r   i n s t r u c t s   t h e   w o r k l o a d   r e s o u r c e   ( t h e   D e p l o y m e n t ,   S t a t e f u l S e t ,   o r   o t h e r   s i m i l a r   r e s o u r c e )   t o   s c a l e   b a c k   d o w n .   T h i s   d o c u m e n t   w a l k s   y o u   t h r o u g h   a n   e x a m p l e   o f   e n a b l i n g   H o r i z o n t a l P o d A u t o s c a l e r   t o   a u t o m a t i c a l l y   m a n a g e   s c a l e   f o r   a n   e x a m p l e   w e b   a p p .   T h i s   e x a m p l e   w o r k l o a d   i s   A p a c h e   h t t p d   r u n n i n g   s o m e   P H P   c o d e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18809"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 2 3 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n . I f   y o u ' r e   r u n n i n g   a n   o l d e r   r e l e a s e   o f   K u b e r n e t e s ,   r e f e r   t o   t h e   v e r s i o n   o f   t h e   d o c u m e n t a t i o n   f o r   t h a t   r e l e a s e   ( s e e   a v a i l a b l e   d o c u m e n t a t i o n   v e r s i o n s ) .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18810"
  },
  {
    "question": "What is Run and expose php-apache server?",
    "answer": "T o   d e m o n s t r a t e   a   H o r i z o n t a l P o d A u t o s c a l e r ,   y o u   w i l l   f i r s t   s t a r t   a   D e p l o y m e n t   t h a t   r u n s   a   c o n t a i n e r   u s i n g   t h e   h p a - e x a m p l e   i m a g e ,   a n d   e x p o s e   i t   a s   a   S e r v i c e   u s i n g   t h e   f o l l o w i n g   m a n i f e s t :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   p h p - a p a c h e   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   r u n :   p h p - a p a c h e   t e m p l a t e :   m e t a d a t a :   l a b e l s :   r u n :   p h p - a p a c h e   s p e c :   c o n t a i n e r s :   -   n a m e :   p h p - a p a c h e   i m a g e :   r e g i s t r y . k 8 s . i o / h p a - e x a m p l e   p o r t s :   -   c o n t a i n e r P o r t :   8 0   r e s o u r c e s :   l i m i t s :   c p u :   5 0 0 m   r e q u e s t s :   c p u :   2 0 0 m   - - -   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   p h p - a p a c h e   l a b e l s :   r u n :   p h p - a p a c h e   s p e c :   p o r t s :   -   p o r t :   8 0   s e l e c t o r :   r u n :   p h p - a p a c h e   T o   d o   s o ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / p h p - a p a c h e . y a m l   d e p l o y m e n t . a p p s / p h p - a p a c h e   c r e a t e d   s e r v i c e / p h p - a p a c h e   c r e a t e d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18811"
  },
  {
    "question": "What is Create the HorizontalPodAutoscaler?",
    "answer": "N o w   t h a t   t h e   s e r v e r   i s   r u n n i n g ,   c r e a t e   t h e   a u t o s c a l e r   u s i n g   k u b e c t l .   T h e   k u b e c t l   a u t o s c a l e   s u b c o m m a n d ,   p a r t   o f   k u b e c t l ,   h e l p s   y o u   d o   t h i s .   Y o u   w i l l   s h o r t l y   r u n   a   c o m m a n d   t h a t   c r e a t e s   a   H o r i z o n t a l P o d A u t o s c a l e r   t h a t   m a i n t a i n s   b e t w e e n   1   a n d   1 0   r e p l i c a s   o f   t h e   P o d s   c o n t r o l l e d   b y   t h e   p h p - a p a c h e   D e p l o y m e n t   t h a t   y o u   c r e a t e d   i n   t h e   f i r s t   s t e p   o f   t h e s e   i n s t r u c t i o n s .   R o u g h l y   s p e a k i n g ,   t h e   H P A   c o n t r o l l e r   w i l l   i n c r e a s e   a n d   d e c r e a s e   t h e   n u m b e r   o f   r e p l i c a s   ( b y   u p d a t i n g   t h e   D e p l o y m e n t )   t o   m a i n t a i n   a n   a v e r a g e   C P U   u t i l i z a t i o n   a c r o s s   a l l   P o d s   o f   5 0 % .   T h e   D e p l o y m e n t   t h e n   u p d a t e s   t h e   R e p l i c a S e t   -   t h i s   i s   p a r t   o f   h o w   a l l   D e p l o y m e n t s   w o r k   i n   K u b e r n e t e s   -   a n d   t h e n   t h e   R e p l i c a S e t   e i t h e r   a d d s   o r   r e m o v e s   P o d s   b a s e d   o n   t h e   c h a n g e   t o   i t s   . s p e c .   S i n c e   e a c h   p o d   r e q u e s t s   2 0 0   m i l l i - c o r e s   b y   k u b e c t l   r u n ,   t h i s   m e a n s   a n   a v e r a g e   C P U   u s a g e   o f   1 0 0   m i l l i - c o r e s .   S e e   A l g o r i t h m   d e t a i l s   f o r   m o r e   d e t a i l s   o n   t h e   a l g o r i t h m .   C r e a t e   t h e   H o r i z o n t a l P o d A u t o s c a l e r :   k u b e c t l   a u t o s c a l e   d e p l o y m e n t   p h p - a p a c h e   - - c p u = 5 0 %   - - m i n = 1   - - m a x = 1 0   h o r i z ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18812"
  },
  {
    "question": "What is Increase the load?",
    "answer": "N e x t ,   s e e   h o w   t h e   a u t o s c a l e r   r e a c t s   t o   i n c r e a s e d   l o a d .   T o   d o   t h i s ,   y o u ' l l   s t a r t   a   d i f f e r e n t   P o d   t o   a c t   a s   a   c l i e n t .   T h e   c o n t a i n e r   w i t h i n   t h e   c l i e n t   P o d   r u n s   i n   a n   i n f i n i t e   l o o p ,   s e n d i n g   q u e r i e s   t o   t h e   p h p - a p a c h e   s e r v i c e .   #   R u n   t h i s   i n   a   s e p a r a t e   t e r m i n a l   #   s o   t h a t   t h e   l o a d   g e n e r a t i o n   c o n t i n u e s   a n d   y o u   c a n   c a r r y   o n   w i t h   t h e   r e s t   o f   t h e   s t e p s   k u b e c t l   r u n   - i   - - t t y   l o a d - g e n e r a t o r   - - r m   - - i m a g e = b u s y b o x : 1 . 2 8   - - r e s t a r t = N e v e r   - -   / b i n / s h   - c   \" w h i l e   s l e e p   0 . 0 1 ;   d o   w g e t   - q   - O -   h t t p : / / p h p - a p a c h e ;   d o n e \"   N o w   r u n :   #   t y p e   C t r l + C   t o   e n d   t h e   w a t c h   w h e n   y o u ' r e   r e a d y   k u b e c t l   g e t   h p a   p h p - a p a c h e   - - w a t c h   W i t h i n   a   m i n u t e   o r   s o ,   y o u   s h o u l d   s e e   t h e   h i g h e r   C P U   l o a d ;   f o r   e x a m p l e :   N A M E   R E F E R E N C E   T A R G E T   M I N P O D S   M A X P O D S   R E P L I C A S   A G E   p h p - a p a c h e   D e p l o y m e n t / p h p - a p a c h e / s c a l e   3 0 5 %   /   5 0 %   1   1 0   1   3 m   a n d   t h e n ,   m o r e   r e p l i c a s .   F o r   e x a m p l e :   N A M E   R E F E R E N C E   T A R G E T   M I N P O D S   M A X P O D S   R E P L I C A S   A G E   p h p - a p a c h e   D e p l o y m e n t / p h p - a p a c h e / s c a l e   3 0 5 %   /   5 0 %   1   1 0   7   3 m   H e r e ,   C P U   c o n s u m p t i o n   h a s   i n c r e a s e d   t o   3 0 5 %   o f   t h e   r e q u e s t .   A s   a   r e s u l t ,   t h e   D e p l ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18813"
  },
  {
    "question": "What is Stop generating load?",
    "answer": "T o   f i n i s h   t h e   e x a m p l e ,   s t o p   s e n d i n g   t h e   l o a d .   I n   t h e   t e r m i n a l   w h e r e   y o u   c r e a t e d   t h e   P o d   t h a t   r u n s   a   b u s y b o x   i m a g e ,   t e r m i n a t e   t h e   l o a d   g e n e r a t i o n   b y   t y p i n g   < C t r l >   +   C .   T h e n   v e r i f y   t h e   r e s u l t   s t a t e   ( a f t e r   a   m i n u t e   o r   s o ) :   #   t y p e   C t r l + C   t o   e n d   t h e   w a t c h   w h e n   y o u ' r e   r e a d y   k u b e c t l   g e t   h p a   p h p - a p a c h e   - - w a t c h   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   R E F E R E N C E   T A R G E T   M I N P O D S   M A X P O D S   R E P L I C A S   A G E   p h p - a p a c h e   D e p l o y m e n t / p h p - a p a c h e / s c a l e   0 %   /   5 0 %   1   1 0   1   1 1 m   a n d   t h e   D e p l o y m e n t   a l s o   s h o w s   t h a t   i t   h a s   s c a l e d   d o w n :   k u b e c t l   g e t   d e p l o y m e n t   p h p - a p a c h e   N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   p h p - a p a c h e   1 / 1   1   1   2 7 m   O n c e   C P U   u t i l i z a t i o n   d r o p p e d   t o   0 ,   t h e   H P A   a u t o m a t i c a l l y   s c a l e d   t h e   n u m b e r   o f   r e p l i c a s   b a c k   d o w n   t o   1 .   A u t o s c a l i n g   t h e   r e p l i c a s   m a y   t a k e   a   f e w   m i n u t e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18814"
  },
  {
    "question": "What is Autoscaling on multiple metrics and custom metrics?",
    "answer": "Y o u   c a n   i n t r o d u c e   a d d i t i o n a l   m e t r i c s   t o   u s e   w h e n   a u t o s c a l i n g   t h e   p h p - a p a c h e   D e p l o y m e n t   b y   m a k i n g   u s e   o f   t h e   a u t o s c a l i n g / v 2   A P I   v e r s i o n .   F i r s t ,   g e t   t h e   Y A M L   o f   y o u r   H o r i z o n t a l P o d A u t o s c a l e r   i n   t h e   a u t o s c a l i n g / v 2   f o r m :   k u b e c t l   g e t   h p a   p h p - a p a c h e   - o   y a m l   >   / t m p / h p a - v 2 . y a m l   O p e n   t h e   / t m p / h p a - v 2 . y a m l   f i l e   i n   a n   e d i t o r ,   a n d   y o u   s h o u l d   s e e   Y A M L   w h i c h   l o o k s   l i k e   t h i s :   a p i V e r s i o n :   a u t o s c a l i n g / v 2   k i n d :   H o r i z o n t a l P o d A u t o s c a l e r   m e t a d a t a :   n a m e :   p h p - a p a c h e   s p e c :   s c a l e T a r g e t R e f :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   n a m e :   p h p - a p a c h e   m i n R e p l i c a s :   1   m a x R e p l i c a s :   1 0   m e t r i c s :   -   t y p e :   R e s o u r c e   r e s o u r c e :   n a m e :   c p u   t a r g e t :   t y p e :   U t i l i z a t i o n   a v e r a g e U t i l i z a t i o n :   5 0   s t a t u s :   o b s e r v e d G e n e r a t i o n :   1   l a s t S c a l e T i m e :   < s o m e - t i m e >   c u r r e n t R e p l i c a s :   1   d e s i r e d R e p l i c a s :   1   c u r r e n t M e t r i c s :   -   t y p e :   R e s o u r c e   r e s o u r c e :   n a m e :   c p u   c u r r e n t :   a v e r a g e U t i l i z a t i o n :   0   a v e r a g e V a l u e :   0   N o t i c e   t h a t   t h e   t a r g e t C P U U t i l i z a t i o n P e r c e n t a g e   f i e l d   h a s   b e e n   r e p l a c e d   w i t h   a n   a r r a y   c a l l e d   m e t r i c s .   T h e   C P U   u t i l i z a t i o n   m e t r i c   i s   a   r e s o u r c e   m e t r i c ,   s i n c e   i ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18815"
  },
  {
    "question": "What is Autoscaling on more specific metrics?",
    "answer": "M a n y   m e t r i c s   p i p e l i n e s   a l l o w   y o u   t o   d e s c r i b e   m e t r i c s   e i t h e r   b y   n a m e   o r   b y   a   s e t   o f   a d d i t i o n a l   d e s c r i p t o r s   c a l l e d   l a b e l s .   F o r   a l l   n o n - r e s o u r c e   m e t r i c   t y p e s   ( p o d ,   o b j e c t ,   a n d   e x t e r n a l ,   d e s c r i b e d   b e l o w ) ,   y o u   c a n   s p e c i f y   a n   a d d i t i o n a l   l a b e l   s e l e c t o r   w h i c h   i s   p a s s e d   t o   y o u r   m e t r i c   p i p e l i n e .   F o r   i n s t a n c e ,   i f   y o u   c o l l e c t   a   m e t r i c   h t t p _ r e q u e s t s   w i t h   t h e   v e r b   l a b e l ,   y o u   c a n   s p e c i f y   t h e   f o l l o w i n g   m e t r i c   b l o c k   t o   s c a l e   o n l y   o n   G E T   r e q u e s t s :   t y p e :   O b j e c t   o b j e c t :   m e t r i c :   n a m e :   h t t p _ r e q u e s t s   s e l e c t o r :   { m a t c h L a b e l s :   { v e r b :   G E T } }   T h i s   s e l e c t o r   u s e s   t h e   s a m e   s y n t a x   a s   t h e   f u l l   K u b e r n e t e s   l a b e l   s e l e c t o r s .   T h e   m o n i t o r i n g   p i p e l i n e   d e t e r m i n e s   h o w   t o   c o l l a p s e   m u l t i p l e   s e r i e s   i n t o   a   s i n g l e   v a l u e ,   i f   t h e   n a m e   a n d   s e l e c t o r   m a t c h   m u l t i p l e   s e r i e s .   T h e   s e l e c t o r   i s   a d d i t i v e ,   a n d   c a n n o t   s e l e c t   m e t r i c s   t h a t   d e s c r i b e   o b j e c t s   t h a t   a r e   n o t   t h e   t a r g e t   o b j e c t   ( t h e   t a r g e t   p o d s   i n   t h e   c a s e   o f   t h e   P o d s   t y p e ,   a n d   t h e   d e s c r i b e d   o b j e c t   i n   t h e   c a s e   o f   t h e   O b j e c t   t y p e ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18816"
  },
  {
    "question": "What is Autoscaling on metrics not related to Kubernetes objects?",
    "answer": "A p p l i c a t i o n s   r u n n i n g   o n   K u b e r n e t e s   m a y   n e e d   t o   a u t o s c a l e   b a s e d   o n   m e t r i c s   t h a t   d o n ' t   h a v e   a n   o b v i o u s   r e l a t i o n s h i p   t o   a n y   o b j e c t   i n   t h e   K u b e r n e t e s   c l u s t e r ,   s u c h   a s   m e t r i c s   d e s c r i b i n g   a   h o s t e d   s e r v i c e   w i t h   n o   d i r e c t   c o r r e l a t i o n   t o   K u b e r n e t e s   n a m e s p a c e s .   I n   K u b e r n e t e s   1 . 1 0   a n d   l a t e r ,   y o u   c a n   a d d r e s s   t h i s   u s e   c a s e   w i t h   e x t e r n a l   m e t r i c s .   U s i n g   e x t e r n a l   m e t r i c s   r e q u i r e s   k n o w l e d g e   o f   y o u r   m o n i t o r i n g   s y s t e m ;   t h e   s e t u p   i s   s i m i l a r   t o   t h a t   r e q u i r e d   w h e n   u s i n g   c u s t o m   m e t r i c s .   E x t e r n a l   m e t r i c s   a l l o w   y o u   t o   a u t o s c a l e   y o u r   c l u s t e r   b a s e d   o n   a n y   m e t r i c   a v a i l a b l e   i n   y o u r   m o n i t o r i n g   s y s t e m .   P r o v i d e   a   m e t r i c   b l o c k   w i t h   a   n a m e   a n d   s e l e c t o r ,   a s   a b o v e ,   a n d   u s e   t h e   E x t e r n a l   m e t r i c   t y p e   i n s t e a d   o f   O b j e c t .   I f   m u l t i p l e   t i m e   s e r i e s   a r e   m a t c h e d   b y   t h e   m e t r i c S e l e c t o r ,   t h e   s u m   o f   t h e i r   v a l u e s   i s   u s e d   b y   t h e   H o r i z o n t a l P o d A u t o s c a l e r .   E x t e r n a l   m e t r i c s   s u p p o r t   b o t h   t h e   V a l u e   a n d   A v e r a g e V a l u e   t a r g e t   t y p e s ,   w h i c h   f u n c t i o n   e x a c t l y   t h e   s a m e   a s   w h e n   y o u   u s e   t h e   O b j e c t   t y p e .   F o r   e x a m p l e   i f   y o u r   a p p l i c a t i o n   p r o c e s s e s   t a s k s   f r o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18817"
  },
  {
    "question": "What is Appendix: Horizontal Pod Autoscaler Status Conditions?",
    "answer": "W h e n   u s i n g   t h e   a u t o s c a l i n g / v 2   f o r m   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r ,   y o u   w i l l   b e   a b l e   t o   s e e   s t a t u s   c o n d i t i o n s   s e t   b y   K u b e r n e t e s   o n   t h e   H o r i z o n t a l P o d A u t o s c a l e r .   T h e s e   s t a t u s   c o n d i t i o n s   i n d i c a t e   w h e t h e r   o r   n o t   t h e   H o r i z o n t a l P o d A u t o s c a l e r   i s   a b l e   t o   s c a l e ,   a n d   w h e t h e r   o r   n o t   i t   i s   c u r r e n t l y   r e s t r i c t e d   i n   a n y   w a y .   T h e   c o n d i t i o n s   a p p e a r   i n   t h e   s t a t u s . c o n d i t i o n s   f i e l d .   T o   s e e   t h e   c o n d i t i o n s   a f f e c t i n g   a   H o r i z o n t a l P o d A u t o s c a l e r ,   w e   c a n   u s e   k u b e c t l   d e s c r i b e   h p a :   k u b e c t l   d e s c r i b e   h p a   c m - t e s t   N a m e :   c m - t e s t   N a m e s p a c e :   p r o m   L a b e l s :   < n o n e >   A n n o t a t i o n s :   < n o n e >   C r e a t i o n T i m e s t a m p :   F r i ,   1 6   J u n   2 0 1 7   1 8 : 0 9 : 2 2   + 0 0 0 0   R e f e r e n c e :   R e p l i c a t i o n C o n t r o l l e r / c m - t e s t   M e t r i c s :   (   c u r r e n t   /   t a r g e t   )   \" h t t p _ r e q u e s t s \"   o n   p o d s :   6 6 m   /   5 0 0 m   M i n   r e p l i c a s :   1   M a x   r e p l i c a s :   4   R e p l i c a t i o n C o n t r o l l e r   p o d s :   1   c u r r e n t   /   1   d e s i r e d   C o n d i t i o n s :   T y p e   S t a t u s   R e a s o n   M e s s a g e   - - - -   - - - - - -   - - - - - -   - - - - - - -   A b l e T o S c a l e   T r u e   R e a d y F o r N e w S c a l e   t h e   l a s t   s c a l e   t i m e   w a s   s u f f i c i e n t l y   o l d   a s   t o   w a r r a n t   a   n e w   s c a l e   S c a l i n g A c t i v e   T r u e   V a l i d M e t r i c F o u n d   t h e   H P ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18818"
  },
  {
    "question": "What is Quantities?",
    "answer": "A l l   m e t r i c s   i n   t h e   H o r i z o n t a l P o d A u t o s c a l e r   a n d   m e t r i c s   A P I s   a r e   s p e c i f i e d   u s i n g   a   s p e c i a l   w h o l e - n u m b e r   n o t a t i o n   k n o w n   i n   K u b e r n e t e s   a s   a   q u a n t i t y .   F o r   e x a m p l e ,   t h e   q u a n t i t y   1 0 5 0 0 m   w o u l d   b e   w r i t t e n   a s   1 0 . 5   i n   d e c i m a l   n o t a t i o n .   T h e   m e t r i c s   A P I s   w i l l   r e t u r n   w h o l e   n u m b e r s   w i t h o u t   a   s u f f i x   w h e n   p o s s i b l e ,   a n d   w i l l   g e n e r a l l y   r e t u r n   q u a n t i t i e s   i n   m i l l i - u n i t s   o t h e r w i s e .   T h i s   m e a n s   y o u   m i g h t   s e e   y o u r   m e t r i c   v a l u e   f l u c t u a t e   b e t w e e n   1   a n d   1 5 0 0 m ,   o r   1   a n d   1 . 5   w h e n   w r i t t e n   i n   d e c i m a l   n o t a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18819"
  },
  {
    "question": "What is Creating the autoscaler declaratively?",
    "answer": "I n s t e a d   o f   u s i n g   k u b e c t l   a u t o s c a l e   c o m m a n d   t o   c r e a t e   a   H o r i z o n t a l P o d A u t o s c a l e r   i m p e r a t i v e l y   w e   c a n   u s e   t h e   f o l l o w i n g   m a n i f e s t   t o   c r e a t e   i t   d e c l a r a t i v e l y :   a p i V e r s i o n :   a u t o s c a l i n g / v 2   k i n d :   H o r i z o n t a l P o d A u t o s c a l e r   m e t a d a t a :   n a m e :   p h p - a p a c h e   s p e c :   s c a l e T a r g e t R e f :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   n a m e :   p h p - a p a c h e   m i n R e p l i c a s :   1   m a x R e p l i c a s :   1 0   m e t r i c s :   -   t y p e :   R e s o u r c e   r e s o u r c e :   n a m e :   c p u   t a r g e t :   t y p e :   U t i l i z a t i o n   a v e r a g e U t i l i z a t i o n :   5 0   T h e n ,   c r e a t e   t h e   a u t o s c a l e r   b y   e x e c u t i n g   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   c r e a t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / h p a / p h p - a p a c h e . y a m l   h o r i z o n t a l p o d a u t o s c a l e r . a u t o s c a l i n g / p h p - a p a c h e   c r e a t e d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18820"
  },
  {
    "question": "What is 8.9 - Specifying a Disruption Budget for your Application?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   l i m i t   t h e   n u m b e r   o f   c o n c u r r e n t   d i s r u p t i o n s   t h a t   y o u r   a p p l i c a t i o n   e x p e r i e n c e s ,   a l l o w i n g   f o r   h i g h e r   a v a i l a b i l i t y   w h i l e   p e r m i t t i n g   t h e   c l u s t e r   a d m i n i s t r a t o r   t o   m a n a g e   t h e   c l u s t e r s   n o d e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18821"
  },
  {
    "question": "What is Before you begin?",
    "answer": "T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   a r e   t h e   o w n e r   o f   a n   a p p l i c a t i o n   r u n n i n g   o n   a   K u b e r n e t e s   c l u s t e r   t h a t   r e q u i r e s   h i g h   a v a i l a b i l i t y . Y o u   s h o u l d   k n o w   h o w   t o   d e p l o y   R e p l i c a t e d   S t a t e l e s s   A p p l i c a t i o n s   a n d / o r   R e p l i c a t e d   S t a t e f u l   A p p l i c a t i o n s . Y o u   s h o u l d   h a v e   r e a d   a b o u t   P o d   D i s r u p t i o n s . Y o u   s h o u l d   c o n f i r m   w i t h   y o u r   c l u s t e r   o w n e r   o r   s e r v i c e   p r o v i d e r   t h a t   t h e y   r e s p e c t   P o d   D i s r u p t i o n   B u d g e t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18822"
  },
  {
    "question": "What is Protecting an Application with a PodDisruptionBudget?",
    "answer": "I d e n t i f y   w h a t   a p p l i c a t i o n   y o u   w a n t   t o   p r o t e c t   w i t h   a   P o d D i s r u p t i o n B u d g e t   ( P D B ) . T h i n k   a b o u t   h o w   y o u r   a p p l i c a t i o n   r e a c t s   t o   d i s r u p t i o n s . C r e a t e   a   P D B   d e f i n i t i o n   a s   a   Y A M L   f i l e . C r e a t e   t h e   P D B   o b j e c t   f r o m   t h e   Y A M L   f i l e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18823"
  },
  {
    "question": "What is Identify an Application to Protect?",
    "answer": "T h e   m o s t   c o m m o n   u s e   c a s e   w h e n   y o u   w a n t   t o   p r o t e c t   a n   a p p l i c a t i o n   s p e c i f i e d   b y   o n e   o f   t h e   b u i l t - i n   K u b e r n e t e s   c o n t r o l l e r s :   D e p l o y m e n t R e p l i c a t i o n C o n t r o l l e r R e p l i c a S e t S t a t e f u l S e t   I n   t h i s   c a s e ,   m a k e   a   n o t e   o f   t h e   c o n t r o l l e r ' s   . s p e c . s e l e c t o r ;   t h e   s a m e   s e l e c t o r   g o e s   i n t o   t h e   P D B s   . s p e c . s e l e c t o r .   F r o m   v e r s i o n   1 . 1 5   P D B s   s u p p o r t   c u s t o m   c o n t r o l l e r s   w h e r e   t h e   s c a l e   s u b r e s o u r c e   i s   e n a b l e d .   Y o u   c a n   a l s o   u s e   P D B s   w i t h   p o d s   w h i c h   a r e   n o t   c o n t r o l l e d   b y   o n e   o f   t h e   a b o v e   c o n t r o l l e r s ,   o r   a r b i t r a r y   g r o u p s   o f   p o d s ,   b u t   t h e r e   a r e   s o m e   r e s t r i c t i o n s ,   d e s c r i b e d   i n   A r b i t r a r y   w o r k l o a d s   a n d   a r b i t r a r y   s e l e c t o r s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18824"
  },
  {
    "question": "What is Think about how your application reacts to disruptions?",
    "answer": "D e c i d e   h o w   m a n y   i n s t a n c e s   c a n   b e   d o w n   a t   t h e   s a m e   t i m e   f o r   a   s h o r t   p e r i o d   d u e   t o   a   v o l u n t a r y   d i s r u p t i o n .   S t a t e l e s s   f r o n t e n d s : C o n c e r n :   d o n ' t   r e d u c e   s e r v i n g   c a p a c i t y   b y   m o r e   t h a n   1 0 % . S o l u t i o n :   u s e   P D B   w i t h   m i n A v a i l a b l e   9 0 %   f o r   e x a m p l e . S i n g l e - i n s t a n c e   S t a t e f u l   A p p l i c a t i o n : C o n c e r n :   d o   n o t   t e r m i n a t e   t h i s   a p p l i c a t i o n   w i t h o u t   t a l k i n g   t o   m e . P o s s i b l e   S o l u t i o n   1 :   D o   n o t   u s e   a   P D B   a n d   t o l e r a t e   o c c a s i o n a l   d o w n t i m e . P o s s i b l e   S o l u t i o n   2 :   S e t   P D B   w i t h   m a x U n a v a i l a b l e = 0 .   H a v e   a n   u n d e r s t a n d i n g   ( o u t s i d e   o f   K u b e r n e t e s )   t h a t   t h e   c l u s t e r   o p e r a t o r   n e e d s   t o   c o n s u l t   y o u   b e f o r e   t e r m i n a t i o n .   W h e n   t h e   c l u s t e r   o p e r a t o r   c o n t a c t s   y o u ,   p r e p a r e   f o r   d o w n t i m e ,   a n d   t h e n   d e l e t e   t h e   P D B   t o   i n d i c a t e   r e a d i n e s s   f o r   d i s r u p t i o n .   R e c r e a t e   a f t e r w a r d s . M u l t i p l e - i n s t a n c e   S t a t e f u l   a p p l i c a t i o n   s u c h   a s   C o n s u l ,   Z o o K e e p e r ,   o r   e t c d : C o n c e r n :   D o   n o t   r e d u c e   n u m b e r   o f   i n s t a n c e s   b e l o w   q u o r u m ,   o t h e r w i s e   w r i t e s   f a i l . P o s s i b l e   S o l u t i o n   1 :   s e t   m a x U n a v a i l a b l e   t o   1   ( w o r k s   w i t h   v a r y i n g   s c a l e   o f   a p p l i c a t i o n ) . P o s s i b l e   S o l u t i o n   2 :   s e t   m i n A v a i l a b l e   t o   q u o r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18825"
  },
  {
    "question": "What is Rounding logic when specifying percentages?",
    "answer": "V a l u e s   f o r   m i n A v a i l a b l e   o r   m a x U n a v a i l a b l e   c a n   b e   e x p r e s s e d   a s   i n t e g e r s   o r   a s   a   p e r c e n t a g e .   W h e n   y o u   s p e c i f y   a n   i n t e g e r ,   i t   r e p r e s e n t s   a   n u m b e r   o f   P o d s .   F o r   i n s t a n c e ,   i f   y o u   s e t   m i n A v a i l a b l e   t o   1 0 ,   t h e n   1 0   P o d s   m u s t   a l w a y s   b e   a v a i l a b l e ,   e v e n   d u r i n g   a   d i s r u p t i o n . W h e n   y o u   s p e c i f y   a   p e r c e n t a g e   b y   s e t t i n g   t h e   v a l u e   t o   a   s t r i n g   r e p r e s e n t a t i o n   o f   a   p e r c e n t a g e   ( e g .   \" 5 0 % \" ) ,   i t   r e p r e s e n t s   a   p e r c e n t a g e   o f   t o t a l   P o d s .   F o r   i n s t a n c e ,   i f   y o u   s e t   m i n A v a i l a b l e   t o   \" 5 0 % \" ,   t h e n   a t   l e a s t   5 0 %   o f   t h e   P o d s   r e m a i n   a v a i l a b l e   d u r i n g   a   d i s r u p t i o n .   W h e n   y o u   s p e c i f y   t h e   v a l u e   a s   a   p e r c e n t a g e ,   i t   m a y   n o t   m a p   t o   a n   e x a c t   n u m b e r   o f   P o d s .   F o r   e x a m p l e ,   i f   y o u   h a v e   7   P o d s   a n d   y o u   s e t   m i n A v a i l a b l e   t o   \" 5 0 % \" ,   i t ' s   n o t   i m m e d i a t e l y   o b v i o u s   w h e t h e r   t h a t   m e a n s   3   P o d s   o r   4   P o d s   m u s t   b e   a v a i l a b l e .   K u b e r n e t e s   r o u n d s   u p   t o   t h e   n e a r e s t   i n t e g e r ,   s o   i n   t h i s   c a s e ,   4   P o d s   m u s t   b e   a v a i l a b l e .   W h e n   y o u   s p e c i f y   t h e   v a l u e   m a x U n a v a i l a b l e   a s   a   p e r c e n t a g e ,   K u b e r n e t e s   r o u n d s   u p   t h e   n u m b e r   o f   P o d s   t h a t   m a y   b e   d i s r u p t e d .   T h e r e b y   a   d i s r u p t i o n   c a n   e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18826"
  },
  {
    "question": "What is Specifying a PodDisruptionBudget?",
    "answer": "A   P o d D i s r u p t i o n B u d g e t   h a s   t h r e e   f i e l d s :   A   l a b e l   s e l e c t o r   . s p e c . s e l e c t o r   t o   s p e c i f y   t h e   s e t   o f   p o d s   t o   w h i c h   i t   a p p l i e s .   T h i s   f i e l d   i s   r e q u i r e d . . s p e c . m i n A v a i l a b l e   w h i c h   i s   a   d e s c r i p t i o n   o f   t h e   n u m b e r   o f   p o d s   f r o m   t h a t   s e t   t h a t   m u s t   s t i l l   b e   a v a i l a b l e   a f t e r   t h e   e v i c t i o n ,   e v e n   i n   t h e   a b s e n c e   o f   t h e   e v i c t e d   p o d .   m i n A v a i l a b l e   c a n   b e   e i t h e r   a n   a b s o l u t e   n u m b e r   o r   a   p e r c e n t a g e . . s p e c . m a x U n a v a i l a b l e   ( a v a i l a b l e   i n   K u b e r n e t e s   1 . 7   a n d   h i g h e r )   w h i c h   i s   a   d e s c r i p t i o n   o f   t h e   n u m b e r   o f   p o d s   f r o m   t h a t   s e t   t h a t   c a n   b e   u n a v a i l a b l e   a f t e r   t h e   e v i c t i o n .   I t   c a n   b e   e i t h e r   a n   a b s o l u t e   n u m b e r   o r   a   p e r c e n t a g e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18827"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   s p e c i f y   o n l y   o n e   o f   m a x U n a v a i l a b l e   a n d   m i n A v a i l a b l e   i n   a   s i n g l e   P o d D i s r u p t i o n B u d g e t .   m a x U n a v a i l a b l e   c a n   o n l y   b e   u s e d   t o   c o n t r o l   t h e   e v i c t i o n   o f   p o d s   t h a t   a l l   h a v e   t h e   s a m e   a s s o c i a t e d   c o n t r o l l e r   m a n a g i n g   t h e m .   I n   t h e   e x a m p l e s   b e l o w ,   \" d e s i r e d   r e p l i c a s \"   i s   t h e   s c a l e   o f   t h e   c o n t r o l l e r   m a n a g i n g   t h e   p o d s   b e i n g   s e l e c t e d   b y   t h e   P o d D i s r u p t i o n B u d g e t .   E x a m p l e   1 :   W i t h   a   m i n A v a i l a b l e   o f   5 ,   e v i c t i o n s   a r e   a l l o w e d   a s   l o n g   a s   t h e y   l e a v e   b e h i n d   5   o r   m o r e   h e a l t h y   p o d s   a m o n g   t h o s e   s e l e c t e d   b y   t h e   P o d D i s r u p t i o n B u d g e t ' s   s e l e c t o r .   E x a m p l e   2 :   W i t h   a   m i n A v a i l a b l e   o f   3 0 % ,   e v i c t i o n s   a r e   a l l o w e d   a s   l o n g   a s   a t   l e a s t   3 0 %   o f   t h e   n u m b e r   o f   d e s i r e d   r e p l i c a s   a r e   h e a l t h y .   E x a m p l e   3 :   W i t h   a   m a x U n a v a i l a b l e   o f   5 ,   e v i c t i o n s   a r e   a l l o w e d   a s   l o n g   a s   t h e r e   a r e   a t   m o s t   5   u n h e a l t h y   r e p l i c a s   a m o n g   t h e   t o t a l   n u m b e r   o f   d e s i r e d   r e p l i c a s .   E x a m p l e   4 :   W i t h   a   m a x U n a v a i l a b l e   o f   3 0 % ,   e v i c t i o n s   a r e   a l l o w e d   a s   l o n g   a s   t h e   n u m b e r   o f   u n h e a l t h y   r e p l i c a s   d o e s   n o t   e x c e e d   3 0 %   o f   t h e   t o t a l   n u m b e r   o f   d e s i r e d   r e p l i c a   r o u n d e d   u p   t o   t h e   n e a r e s t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18828"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   s e t   m a x U n a v a i l a b l e   t o   0 %   o r   0 ,   o r   y o u   s e t   m i n A v a i l a b l e   t o   1 0 0 %   o r   t h e   n u m b e r   o f   r e p l i c a s ,   y o u   a r e   r e q u i r i n g   z e r o   v o l u n t a r y   e v i c t i o n s .   W h e n   y o u   s e t   z e r o   v o l u n t a r y   e v i c t i o n s   f o r   a   w o r k l o a d   o b j e c t   s u c h   a s   R e p l i c a S e t ,   t h e n   y o u   c a n n o t   s u c c e s s f u l l y   d r a i n   a   N o d e   r u n n i n g   o n e   o f   t h o s e   P o d s .   I f   y o u   t r y   t o   d r a i n   a   N o d e   w h e r e   a n   u n e v i c t a b l e   P o d   i s   r u n n i n g ,   t h e   d r a i n   n e v e r   c o m p l e t e s .   T h i s   i s   p e r m i t t e d   a s   p e r   t h e   s e m a n t i c s   o f   P o d D i s r u p t i o n B u d g e t .   Y o u   c a n   f i n d   e x a m p l e s   o f   p o d   d i s r u p t i o n   b u d g e t s   d e f i n e d   b e l o w .   T h e y   m a t c h   p o d s   w i t h   t h e   l a b e l   a p p :   z o o k e e p e r .   E x a m p l e   P D B   U s i n g   m i n A v a i l a b l e :   a p i V e r s i o n :   p o l i c y / v 1   k i n d :   P o d D i s r u p t i o n B u d g e t   m e t a d a t a :   n a m e :   z k - p d b   s p e c :   m i n A v a i l a b l e :   2   s e l e c t o r :   m a t c h L a b e l s :   a p p :   z o o k e e p e r   E x a m p l e   P D B   U s i n g   m a x U n a v a i l a b l e :   a p i V e r s i o n :   p o l i c y / v 1   k i n d :   P o d D i s r u p t i o n B u d g e t   m e t a d a t a :   n a m e :   z k - p d b   s p e c :   m a x U n a v a i l a b l e :   1   s e l e c t o r :   m a t c h L a b e l s :   a p p :   z o o k e e p e r   F o r   e x a m p l e ,   i f   t h e   a b o v e   z k - p d b   o b j e c t   s e l e c t s   t h e   p o d s   o f   a   S t a t e f u l S e t   o f   s i z e   3 ,   b o t h   s p e c i f i c a t i o n s   h a v e   t h e   e x ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18829"
  },
  {
    "question": "What is Create the PDB object?",
    "answer": "Y o u   c a n   c r e a t e   o r   u p d a t e   t h e   P D B   o b j e c t   u s i n g   k u b e c t l .   k u b e c t l   a p p l y   - f   m y p d b . y a m l",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18830"
  },
  {
    "question": "What is Check the status of the PDB?",
    "answer": "U s e   k u b e c t l   t o   c h e c k   t h a t   y o u r   P D B   i s   c r e a t e d .   A s s u m i n g   y o u   d o n ' t   a c t u a l l y   h a v e   p o d s   m a t c h i n g   a p p :   z o o k e e p e r   i n   y o u r   n a m e s p a c e ,   t h e n   y o u ' l l   s e e   s o m e t h i n g   l i k e   t h i s :   k u b e c t l   g e t   p o d d i s r u p t i o n b u d g e t s   N A M E   M I N   A V A I L A B L E   M A X   U N A V A I L A B L E   A L L O W E D   D I S R U P T I O N S   A G E   z k - p d b   2   N / A   0   7 s   I f   t h e r e   a r e   m a t c h i n g   p o d s   ( s a y ,   3 ) ,   t h e n   y o u   w o u l d   s e e   s o m e t h i n g   l i k e   t h i s :   k u b e c t l   g e t   p o d d i s r u p t i o n b u d g e t s   N A M E   M I N   A V A I L A B L E   M A X   U N A V A I L A B L E   A L L O W E D   D I S R U P T I O N S   A G E   z k - p d b   2   N / A   1   7 s   T h e   n o n - z e r o   v a l u e   f o r   A L L O W E D   D I S R U P T I O N S   m e a n s   t h a t   t h e   d i s r u p t i o n   c o n t r o l l e r   h a s   s e e n   t h e   p o d s ,   c o u n t e d   t h e   m a t c h i n g   p o d s ,   a n d   u p d a t e d   t h e   s t a t u s   o f   t h e   P D B .   Y o u   c a n   g e t   m o r e   i n f o r m a t i o n   a b o u t   t h e   s t a t u s   o f   a   P D B   w i t h   t h i s   c o m m a n d :   k u b e c t l   g e t   p o d d i s r u p t i o n b u d g e t s   z k - p d b   - o   y a m l   a p i V e r s i o n :   p o l i c y / v 1   k i n d :   P o d D i s r u p t i o n B u d g e t   m e t a d a t a :   a n n o t a t i o n s :   …   c r e a t i o n T i m e s t a m p :   \" 2 0 2 0 - 0 3 - 0 4 T 0 4 : 2 2 : 5 6 Z \"   g e n e r a t i o n :   1   n a m e :   z k - p d b   …   s t a t u s :   c u r r e n t H e a l t h y :   3   d e s i r e d H e a l t h y :   2   d i s r u p t i o n s A l l o w e d :   1   e x p e c t e d P o d s :   3   o b s e r v e d G e n e r a t i o n :   1",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18831"
  },
  {
    "question": "What is Healthiness of a Pod?",
    "answer": "T h e   c u r r e n t   i m p l e m e n t a t i o n   c o n s i d e r s   h e a l t h y   p o d s ,   a s   p o d s   t h a t   h a v e   . s t a t u s . c o n d i t i o n s   i t e m   w i t h   t y p e = \" R e a d y \"   a n d   s t a t u s = \" T r u e \" .   T h e s e   p o d s   a r e   t r a c k e d   v i a   . s t a t u s . c u r r e n t H e a l t h y   f i e l d   i n   t h e   P D B   s t a t u s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18832"
  },
  {
    "question": "What is Unhealthy Pod Eviction Policy?",
    "answer": "P o d D i s r u p t i o n B u d g e t   g u a r d i n g   a n   a p p l i c a t i o n   e n s u r e s   t h a t   . s t a t u s . c u r r e n t H e a l t h y   n u m b e r   o f   p o d s   d o e s   n o t   f a l l   b e l o w   t h e   n u m b e r   s p e c i f i e d   i n   . s t a t u s . d e s i r e d H e a l t h y   b y   d i s a l l o w i n g   e v i c t i o n   o f   h e a l t h y   p o d s .   B y   u s i n g   . s p e c . u n h e a l t h y P o d E v i c t i o n P o l i c y ,   y o u   c a n   a l s o   d e f i n e   t h e   c r i t e r i a   w h e n   u n h e a l t h y   p o d s   s h o u l d   b e   c o n s i d e r e d   f o r   e v i c t i o n .   T h e   d e f a u l t   b e h a v i o r   w h e n   n o   p o l i c y   i s   s p e c i f i e d   c o r r e s p o n d s   t o   t h e   I f H e a l t h y B u d g e t   p o l i c y .   P o l i c i e s :   T h i s   p o l i c y   e n s u r e s   t h a t   r u n n i n g   p o d s   o f   a n   a l r e a d y   d i s r u p t e d   a p p l i c a t i o n   h a v e   t h e   b e s t   c h a n c e   t o   b e c o m e   h e a l t h y .   T h i s   h a s   n e g a t i v e   i m p l i c a t i o n s   f o r   d r a i n i n g   n o d e s ,   w h i c h   c a n   b e   b l o c k e d   b y   m i s b e h a v i n g   a p p l i c a t i o n s   t h a t   a r e   g u a r d e d   b y   a   P D B .   M o r e   s p e c i f i c a l l y   a p p l i c a t i o n s   w i t h   p o d s   i n   C r a s h L o o p B a c k O f f   s t a t e   ( d u e   t o   a   b u g   o r   m i s c o n f i g u r a t i o n ) ,   o r   p o d s   t h a t   a r e   j u s t   f a i l i n g   t o   r e p o r t   t h e   R e a d y   c o n d i t i o n .   T h i s   m e a n s   p r o s p e c t i v e   r u n n i n g   p o d s   o f   a   d i s r u p t e d   a p p l i c a t i o n   m i g h t   n o t   g e t   a   c h a n c e   t o   b e c o m e   h e a l t h y .   B y   u s i n g   t h i s   p o l i c y ,   c l u s t e r   m a n a g e r s   c a n   e a s i l y   e v i c ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18833"
  },
  {
    "question": "What is Arbitrary workloads and arbitrary selectors?",
    "answer": "Y o u   c a n   s k i p   t h i s   s e c t i o n   i f   y o u   o n l y   u s e   P D B s   w i t h   t h e   b u i l t - i n   w o r k l o a d   r e s o u r c e s   ( D e p l o y m e n t ,   R e p l i c a S e t ,   S t a t e f u l S e t   a n d   R e p l i c a t i o n C o n t r o l l e r )   o r   w i t h   c u s t o m   r e s o u r c e s   t h a t   i m p l e m e n t   a   s c a l e   s u b r e s o u r c e ,   a n d   w h e r e   t h e   P D B   s e l e c t o r   e x a c t l y   m a t c h e s   t h e   s e l e c t o r   o f   t h e   P o d ' s   o w n i n g   r e s o u r c e .   Y o u   c a n   u s e   a   P D B   w i t h   p o d s   c o n t r o l l e d   b y   a n o t h e r   r e s o u r c e ,   b y   a n   \" o p e r a t o r \" ,   o r   b a r e   p o d s ,   b u t   w i t h   t h e s e   r e s t r i c t i o n s :   o n l y   . s p e c . m i n A v a i l a b l e   c a n   b e   u s e d ,   n o t   . s p e c . m a x U n a v a i l a b l e . o n l y   a n   i n t e g e r   v a l u e   c a n   b e   u s e d   w i t h   . s p e c . m i n A v a i l a b l e ,   n o t   a   p e r c e n t a g e .   I t   i s   n o t   p o s s i b l e   t o   u s e   o t h e r   a v a i l a b i l i t y   c o n f i g u r a t i o n s ,   b e c a u s e   K u b e r n e t e s   c a n n o t   d e r i v e   a   t o t a l   n u m b e r   o f   p o d s   w i t h o u t   a   s u p p o r t e d   o w n i n g   r e s o u r c e .   Y o u   c a n   u s e   a   s e l e c t o r   w h i c h   s e l e c t s   a   s u b s e t   o r   s u p e r s e t   o f   t h e   p o d s   b e l o n g i n g   t o   a   w o r k l o a d   r e s o u r c e .   T h e   e v i c t i o n   A P I   w i l l   d i s a l l o w   e v i c t i o n   o f   a n y   p o d   c o v e r e d   b y   m u l t i p l e   P D B s ,   s o   m o s t   u s e r s   w i l l   w a n t   t o   a v o i d   o v e r l a p p i n g   s e l e c t o r s .   O n e   r e a s o n a b l e   u s e   o f   o v e r l a p p i n g   P D B s   i s   w h e n   p o d s   a r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18834"
  },
  {
    "question": "What is 8.10 - Accessing the Kubernetes API from a Pod?",
    "answer": "T h i s   g u i d e   d e m o n s t r a t e s   h o w   t o   a c c e s s   t h e   K u b e r n e t e s   A P I   f r o m   w i t h i n   a   p o d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18835"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18836"
  },
  {
    "question": "What is Accessing the API from within a Pod?",
    "answer": "W h e n   a c c e s s i n g   t h e   A P I   f r o m   w i t h i n   a   P o d ,   l o c a t i n g   a n d   a u t h e n t i c a t i n g   t o   t h e   A P I   s e r v e r   a r e   s l i g h t l y   d i f f e r e n t   t o   t h e   e x t e r n a l   c l i e n t   c a s e .   T h e   e a s i e s t   w a y   t o   u s e   t h e   K u b e r n e t e s   A P I   f r o m   a   P o d   i s   t o   u s e   o n e   o f   t h e   o f f i c i a l   c l i e n t   l i b r a r i e s .   T h e s e   l i b r a r i e s   c a n   a u t o m a t i c a l l y   d i s c o v e r   t h e   A P I   s e r v e r   a n d   a u t h e n t i c a t e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18837"
  },
  {
    "question": "What is Using Official Client Libraries?",
    "answer": "F r o m   w i t h i n   a   P o d ,   t h e   r e c o m m e n d e d   w a y s   t o   c o n n e c t   t o   t h e   K u b e r n e t e s   A P I   a r e :   F o r   a   G o   c l i e n t ,   u s e   t h e   o f f i c i a l   G o   c l i e n t   l i b r a r y .   T h e   r e s t . I n C l u s t e r C o n f i g ( )   f u n c t i o n   h a n d l e s   A P I   h o s t   d i s c o v e r y   a n d   a u t h e n t i c a t i o n   a u t o m a t i c a l l y .   S e e   a n   e x a m p l e   h e r e . F o r   a   P y t h o n   c l i e n t ,   u s e   t h e   o f f i c i a l   P y t h o n   c l i e n t   l i b r a r y .   T h e   c o n f i g . l o a d _ i n c l u s t e r _ c o n f i g ( )   f u n c t i o n   h a n d l e s   A P I   h o s t   d i s c o v e r y   a n d   a u t h e n t i c a t i o n   a u t o m a t i c a l l y .   S e e   a n   e x a m p l e   h e r e . T h e r e   a r e   a   n u m b e r   o f   o t h e r   l i b r a r i e s   a v a i l a b l e ,   p l e a s e   r e f e r   t o   t h e   C l i e n t   L i b r a r i e s   p a g e .   F o r   a   G o   c l i e n t ,   u s e   t h e   o f f i c i a l   G o   c l i e n t   l i b r a r y .   T h e   r e s t . I n C l u s t e r C o n f i g ( )   f u n c t i o n   h a n d l e s   A P I   h o s t   d i s c o v e r y   a n d   a u t h e n t i c a t i o n   a u t o m a t i c a l l y .   S e e   a n   e x a m p l e   h e r e .   F o r   a   P y t h o n   c l i e n t ,   u s e   t h e   o f f i c i a l   P y t h o n   c l i e n t   l i b r a r y .   T h e   c o n f i g . l o a d _ i n c l u s t e r _ c o n f i g ( )   f u n c t i o n   h a n d l e s   A P I   h o s t   d i s c o v e r y   a n d   a u t h e n t i c a t i o n   a u t o m a t i c a l l y .   S e e   a n   e x a m p l e   h e r e .   T h e r e   a r e   a   n u m b e r   o f   o t h e r   l i b r a r i e s   a v a i l a b l e ,   p l e a s e   r e f e r   t o   t h e   C l i e n t   L i b r a r i e s   p a g e .   I n   e a c h   c a s e ,   t h e   s e r v i c ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18838"
  },
  {
    "question": "What is Directly accessing the REST API?",
    "answer": "W h i l e   r u n n i n g   i n   a   P o d ,   y o u r   c o n t a i n e r   c a n   c r e a t e   a n   H T T P S   U R L   f o r   t h e   K u b e r n e t e s   A P I   s e r v e r   b y   f e t c h i n g   t h e   K U B E R N E T E S _ S E R V I C E _ H O S T   a n d   K U B E R N E T E S _ S E R V I C E _ P O R T _ H T T P S   e n v i r o n m e n t   v a r i a b l e s .   T h e   A P I   s e r v e r ' s   i n - c l u s t e r   a d d r e s s   i s   a l s o   p u b l i s h e d   t o   a   S e r v i c e   n a m e d   k u b e r n e t e s   i n   t h e   d e f a u l t   n a m e s p a c e   s o   t h a t   p o d s   m a y   r e f e r e n c e   k u b e r n e t e s . d e f a u l t . s v c   a s   a   D N S   n a m e   f o r   t h e   l o c a l   A P I   s e r v e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18839"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   r e c o m m e n d e d   w a y   t o   a u t h e n t i c a t e   t o   t h e   A P I   s e r v e r   i s   w i t h   a   s e r v i c e   a c c o u n t   c r e d e n t i a l .   B y   d e f a u l t ,   a   P o d   i s   a s s o c i a t e d   w i t h   a   s e r v i c e   a c c o u n t ,   a n d   a   c r e d e n t i a l   ( t o k e n )   f o r   t h a t   s e r v i c e   a c c o u n t   i s   p l a c e d   i n t o   t h e   f i l e s y s t e m   t r e e   o f   e a c h   c o n t a i n e r   i n   t h a t   P o d ,   a t   / v a r / r u n / s e c r e t s / k u b e r n e t e s . i o / s e r v i c e a c c o u n t / t o k e n .   I f   a v a i l a b l e ,   a   c e r t i f i c a t e   b u n d l e   i s   p l a c e d   i n t o   t h e   f i l e s y s t e m   t r e e   o f   e a c h   c o n t a i n e r   a t   / v a r / r u n / s e c r e t s / k u b e r n e t e s . i o / s e r v i c e a c c o u n t / c a . c r t ,   a n d   s h o u l d   b e   u s e d   t o   v e r i f y   t h e   s e r v i n g   c e r t i f i c a t e   o f   t h e   A P I   s e r v e r .   F i n a l l y ,   t h e   d e f a u l t   n a m e s p a c e   t o   b e   u s e d   f o r   n a m e s p a c e d   A P I   o p e r a t i o n s   i s   p l a c e d   i n   a   f i l e   a t   / v a r / r u n / s e c r e t s / k u b e r n e t e s . i o / s e r v i c e a c c o u n t / n a m e s p a c e   i n   e a c h   c o n t a i n e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18840"
  },
  {
    "question": "What is Using kubectl proxy?",
    "answer": "I f   y o u   w o u l d   l i k e   t o   q u e r y   t h e   A P I   w i t h o u t   a n   o f f i c i a l   c l i e n t   l i b r a r y ,   y o u   c a n   r u n   k u b e c t l   p r o x y   a s   t h e   c o m m a n d   o f   a   n e w   s i d e c a r   c o n t a i n e r   i n   t h e   P o d .   T h i s   w a y ,   k u b e c t l   p r o x y   w i l l   a u t h e n t i c a t e   t o   t h e   A P I   a n d   e x p o s e   i t   o n   t h e   l o c a l h o s t   i n t e r f a c e   o f   t h e   P o d ,   s o   t h a t   o t h e r   c o n t a i n e r s   i n   t h e   P o d   c a n   u s e   i t   d i r e c t l y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18841"
  },
  {
    "question": "What is Without using a proxy?",
    "answer": "I t   i s   p o s s i b l e   t o   a v o i d   u s i n g   t h e   k u b e c t l   p r o x y   b y   p a s s i n g   t h e   a u t h e n t i c a t i o n   t o k e n   d i r e c t l y   t o   t h e   A P I   s e r v e r .   T h e   i n t e r n a l   c e r t i f i c a t e   s e c u r e s   t h e   c o n n e c t i o n .   #   P o i n t   t o   t h e   i n t e r n a l   A P I   s e r v e r   h o s t n a m e   A P I S E R V E R = h t t p s : / / k u b e r n e t e s . d e f a u l t . s v c   #   P a t h   t o   S e r v i c e A c c o u n t   t o k e n   S E R V I C E A C C O U N T = / v a r / r u n / s e c r e t s / k u b e r n e t e s . i o / s e r v i c e a c c o u n t   #   R e a d   t h i s   P o d ' s   n a m e s p a c e   N A M E S P A C E = $ ( c a t   $ { S E R V I C E A C C O U N T } / n a m e s p a c e )   #   R e a d   t h e   S e r v i c e A c c o u n t   b e a r e r   t o k e n   T O K E N = $ ( c a t   $ { S E R V I C E A C C O U N T } / t o k e n )   #   R e f e r e n c e   t h e   i n t e r n a l   c e r t i f i c a t e   a u t h o r i t y   ( C A )   C A C E R T = $ { S E R V I C E A C C O U N T } / c a . c r t   #   E x p l o r e   t h e   A P I   w i t h   T O K E N   c u r l   - - c a c e r t   $ { C A C E R T }   - - h e a d e r   \" A u t h o r i z a t i o n :   B e a r e r   $ { T O K E N } \"   - X   G E T   $ { A P I S E R V E R } / a p i   T h e   o u t p u t   w i l l   b e   s i m i l a r   t o   t h i s :   {   \" k i n d \" :   \" A P I V e r s i o n s \" ,   \" v e r s i o n s \" :   [ \" v 1 \" ] ,   \" s e r v e r A d d r e s s B y C l i e n t C I D R s \" :   [   {   \" c l i e n t C I D R \" :   \" 0 . 0 . 0 . 0 / 0 \" ,   \" s e r v e r A d d r e s s \" :   \" 1 0 . 0 . 1 . 1 4 9 : 4 4 3 \"   }   ]   }",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18842"
  },
  {
    "question": "What is 9.1 - Running Automated Tasks with a CronJob?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   r u n   a u t o m a t e d   t a s k s   u s i n g   K u b e r n e t e s   C r o n J o b   o b j e c t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18843"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18844"
  },
  {
    "question": "What is Creating a CronJob?",
    "answer": "C r o n   j o b s   r e q u i r e   a   c o n f i g   f i l e .   H e r e   i s   a   m a n i f e s t   f o r   a   C r o n J o b   t h a t   r u n s   a   s i m p l e   d e m o n s t r a t i o n   t a s k   e v e r y   m i n u t e :   a p i V e r s i o n :   b a t c h / v 1   k i n d :   C r o n J o b   m e t a d a t a :   n a m e :   h e l l o   s p e c :   s c h e d u l e :   \" *   *   *   *   * \"   j o b T e m p l a t e :   s p e c :   t e m p l a t e :   s p e c :   c o n t a i n e r s :   -   n a m e :   h e l l o   i m a g e :   b u s y b o x : 1 . 2 8   i m a g e P u l l P o l i c y :   I f N o t P r e s e n t   c o m m a n d :   -   / b i n / s h   -   - c   -   d a t e ;   e c h o   H e l l o   f r o m   t h e   K u b e r n e t e s   c l u s t e r   r e s t a r t P o l i c y :   O n F a i l u r e   R u n   t h e   e x a m p l e   C r o n J o b   b y   u s i n g   t h i s   c o m m a n d :   k u b e c t l   c r e a t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / j o b / c r o n j o b . y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   c r o n j o b . b a t c h / h e l l o   c r e a t e d   A f t e r   c r e a t i n g   t h e   c r o n   j o b ,   g e t   i t s   s t a t u s   u s i n g   t h i s   c o m m a n d :   k u b e c t l   g e t   c r o n j o b   h e l l o   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   S C H E D U L E   S U S P E N D   A C T I V E   L A S T   S C H E D U L E   A G E   h e l l o   * / 1   *   *   *   *   F a l s e   0   < n o n e >   1 0 s   A s   y o u   c a n   s e e   f r o m   t h e   r e s u l t s   o f   t h e   c o m m a n d ,   t h e   c r o n   j o b   h a s   n o t   s c h e d u l e d   o r   r u n   a n y   j o b s   y e t .   W a t c h   f o r   t h e   j o b   t o   b e   c r e a t e d   i n   a r o u n d   o n e   m i n u t e :   k u b e c t l   g e t   j o b s   - - w a t c h   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18845"
  },
  {
    "question": "What is Note:?",
    "answer": "#   R e p l a c e   \" h e l l o - 4 1 1 1 7 0 6 3 5 6 \"   w i t h   t h e   j o b   n a m e   i n   y o u r   s y s t e m   p o d s = $ ( k u b e c t l   g e t   p o d s   - - s e l e c t o r = j o b - n a m e = h e l l o - 4 1 1 1 7 0 6 3 5 6   - - o u t p u t = j s o n p a t h = { . i t e m s [ * ] . m e t a d a t a . n a m e } )   S h o w   t h e   p o d   l o g :   k u b e c t l   l o g s   $ p o d s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   F r i   F e b   2 2   1 1 : 0 2 : 0 9   U T C   2 0 1 9   H e l l o   f r o m   t h e   K u b e r n e t e s   c l u s t e r",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18846"
  },
  {
    "question": "What is Deleting a CronJob?",
    "answer": "W h e n   y o u   d o n ' t   n e e d   a   c r o n   j o b   a n y   m o r e ,   d e l e t e   i t   w i t h   k u b e c t l   d e l e t e   c r o n j o b   < c r o n j o b   n a m e > :   k u b e c t l   d e l e t e   c r o n j o b   h e l l o   D e l e t i n g   t h e   c r o n   j o b   r e m o v e s   a l l   t h e   j o b s   a n d   p o d s   i t   c r e a t e d   a n d   s t o p s   i t   f r o m   c r e a t i n g   a d d i t i o n a l   j o b s .   Y o u   c a n   r e a d   m o r e   a b o u t   r e m o v i n g   j o b s   i n   g a r b a g e   c o l l e c t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18847"
  },
  {
    "question": "What is 9.2 - Coarse Parallel Processing Using a Work Queue?",
    "answer": "I n   t h i s   e x a m p l e ,   y o u   w i l l   r u n   a   K u b e r n e t e s   J o b   w i t h   m u l t i p l e   p a r a l l e l   w o r k e r   p r o c e s s e s .   I n   t h i s   e x a m p l e ,   a s   e a c h   p o d   i s   c r e a t e d ,   i t   p i c k s   u p   o n e   u n i t   o f   w o r k   f r o m   a   t a s k   q u e u e ,   c o m p l e t e s   i t ,   d e l e t e s   i t   f r o m   t h e   q u e u e ,   a n d   e x i t s .   H e r e   i s   a n   o v e r v i e w   o f   t h e   s t e p s   i n   t h i s   e x a m p l e :   S t a r t   a   m e s s a g e   q u e u e   s e r v i c e .   I n   t h i s   e x a m p l e ,   y o u   u s e   R a b b i t M Q ,   b u t   y o u   c o u l d   u s e   a n o t h e r   o n e .   I n   p r a c t i c e   y o u   w o u l d   s e t   u p   a   m e s s a g e   q u e u e   s e r v i c e   o n c e   a n d   r e u s e   i t   f o r   m a n y   j o b s . C r e a t e   a   q u e u e ,   a n d   f i l l   i t   w i t h   m e s s a g e s .   E a c h   m e s s a g e   r e p r e s e n t s   o n e   t a s k   t o   b e   d o n e .   I n   t h i s   e x a m p l e ,   a   m e s s a g e   i s   a n   i n t e g e r   t h a t   w e   w i l l   d o   a   l e n g t h y   c o m p u t a t i o n   o n . S t a r t   a   J o b   t h a t   w o r k s   o n   t a s k s   f r o m   t h e   q u e u e .   T h e   J o b   s t a r t s   s e v e r a l   p o d s .   E a c h   p o d   t a k e s   o n e   t a s k   f r o m   t h e   m e s s a g e   q u e u e ,   p r o c e s s e s   i t ,   a n d   e x i t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18848"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   s h o u l d   a l r e a d y   b e   f a m i l i a r   w i t h   t h e   b a s i c ,   n o n - p a r a l l e l ,   u s e   o f   J o b .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   w i l l   n e e d   a   c o n t a i n e r   i m a g e   r e g i s t r y   w h e r e   y o u   c a n   u p l o a d   i m a g e s   t o   r u n   i n   y o u r   c l u s t e r .   T h i s   t a s k   e x a m p l e   a l s o   a s s u m e s   t h a t   y o u   h a v e   D o c k e r   i n s t a l l e d   l o c a l l y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18849"
  },
  {
    "question": "What is Starting a message queue service?",
    "answer": "T h i s   e x a m p l e   u s e s   R a b b i t M Q ,   h o w e v e r ,   y o u   c a n   a d a p t   t h e   e x a m p l e   t o   u s e   a n o t h e r   A M Q P - t y p e   m e s s a g e   s e r v i c e .   I n   p r a c t i c e   y o u   c o u l d   s e t   u p   a   m e s s a g e   q u e u e   s e r v i c e   o n c e   i n   a   c l u s t e r   a n d   r e u s e   i t   f o r   m a n y   j o b s ,   a s   w e l l   a s   f o r   l o n g - r u n n i n g   s e r v i c e s .   S t a r t   R a b b i t M Q   a s   f o l l o w s :   #   m a k e   a   S e r v i c e   f o r   t h e   S t a t e f u l S e t   t o   u s e   k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / a p p l i c a t i o n / j o b / r a b b i t m q / r a b b i t m q - s e r v i c e . y a m l   s e r v i c e   \" r a b b i t m q - s e r v i c e \"   c r e a t e d   k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / a p p l i c a t i o n / j o b / r a b b i t m q / r a b b i t m q - s t a t e f u l s e t . y a m l   s t a t e f u l s e t   \" r a b b i t m q \"   c r e a t e d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18850"
  },
  {
    "question": "What is Testing the message queue service?",
    "answer": "N o w ,   w e   c a n   e x p e r i m e n t   w i t h   a c c e s s i n g   t h e   m e s s a g e   q u e u e .   W e   w i l l   c r e a t e   a   t e m p o r a r y   i n t e r a c t i v e   p o d ,   i n s t a l l   s o m e   t o o l s   o n   i t ,   a n d   e x p e r i m e n t   w i t h   q u e u e s .   F i r s t   c r e a t e   a   t e m p o r a r y   i n t e r a c t i v e   P o d .   #   C r e a t e   a   t e m p o r a r y   i n t e r a c t i v e   c o n t a i n e r   k u b e c t l   r u n   - i   - - t t y   t e m p   - - i m a g e   u b u n t u : 2 2 . 0 4   W a i t i n g   f o r   p o d   d e f a u l t / t e m p - l o e 0 7   t o   b e   r u n n i n g ,   s t a t u s   i s   P e n d i n g ,   p o d   r e a d y :   f a l s e   . . .   [   p r e v i o u s   l i n e   r e p e a t s   s e v e r a l   t i m e s   . .   h i t   r e t u r n   w h e n   i t   s t o p s   ]   . . .   N o t e   t h a t   y o u r   p o d   n a m e   a n d   c o m m a n d   p r o m p t   w i l l   b e   d i f f e r e n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18851"
  },
  {
    "question": "What is Fill the queue with tasks?",
    "answer": "N o w ,   f i l l   t h e   q u e u e   w i t h   s o m e   s i m u l a t e d   t a s k s .   I n   t h i s   e x a m p l e ,   t h e   t a s k s   a r e   s t r i n g s   t o   b e   p r i n t e d .   I n   a   p r a c t i c e ,   t h e   c o n t e n t   o f   t h e   m e s s a g e s   m i g h t   b e :   n a m e s   o f   f i l e s   t o   t h a t   n e e d   t o   b e   p r o c e s s e d e x t r a   f l a g s   t o   t h e   p r o g r a m r a n g e s   o f   k e y s   i n   a   d a t a b a s e   t a b l e c o n f i g u r a t i o n   p a r a m e t e r s   t o   a   s i m u l a t i o n f r a m e   n u m b e r s   o f   a   s c e n e   t o   b e   r e n d e r e d   I f   t h e r e   i s   l a r g e   d a t a   t h a t   i s   n e e d e d   i n   a   r e a d - o n l y   m o d e   b y   a l l   p o d s   o f   t h e   J o b ,   y o u   t y p i c a l l y   p u t   t h a t   i n   a   s h a r e d   f i l e   s y s t e m   l i k e   N F S   a n d   m o u n t   t h a t   r e a d o n l y   o n   a l l   t h e   p o d s ,   o r   w r i t e   t h e   p r o g r a m   i n   t h e   p o d   s o   t h a t   i t   c a n   n a t i v e l y   r e a d   d a t a   f r o m   a   c l u s t e r   f i l e   s y s t e m   ( f o r   e x a m p l e :   H D F S ) .   F o r   t h i s   e x a m p l e ,   y o u   w i l l   c r e a t e   t h e   q u e u e   a n d   f i l l   i t   u s i n g   t h e   A M Q P   c o m m a n d   l i n e   t o o l s .   I n   p r a c t i c e ,   y o u   m i g h t   w r i t e   a   p r o g r a m   t o   f i l l   t h e   q u e u e   u s i n g   a n   A M Q P   c l i e n t   l i b r a r y .   #   R u n   t h i s   o n   y o u r   c o m p u t e r ,   n o t   i n   t h e   P o d   / u s r / b i n / a m q p - d e c l a r e - q u e u e   - - u r l = $ B R O K E R _ U R L   - q   j o b 1   - d   j o b 1   A d d   i t e m s   t o   t h e   q u e u e :   f o r   f   i n   a p p l e   b a n a n a   c h e r r y   d a t e   f i g   g r a p e   l e m o n   m e l o n   d o   / u s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18852"
  },
  {
    "question": "What is Create a container image?",
    "answer": "N o w   y o u   a r e   r e a d y   t o   c r e a t e   a n   i m a g e   t h a t   y o u   w i l l   r u n   a s   a   J o b .   T h e   j o b   w i l l   u s e   t h e   a m q p - c o n s u m e   u t i l i t y   t o   r e a d   t h e   m e s s a g e   f r o m   t h e   q u e u e   a n d   r u n   t h e   a c t u a l   w o r k .   H e r e   i s   a   v e r y   s i m p l e   e x a m p l e   p r o g r a m :   # ! / u s r / b i n / e n v   p y t h o n   #   J u s t   p r i n t s   s t a n d a r d   o u t   a n d   s l e e p s   f o r   1 0   s e c o n d s .   i m p o r t   s y s   i m p o r t   t i m e   p r i n t ( \" P r o c e s s i n g   \"   +   s y s . s t d i n . r e a d l i n e s ( ) [ 0 ] )   t i m e . s l e e p ( 1 0 )   G i v e   t h e   s c r i p t   e x e c u t i o n   p e r m i s s i o n :   c h m o d   + x   w o r k e r . p y   N o w ,   b u i l d   a n   i m a g e .   M a k e   a   t e m p o r a r y   d i r e c t o r y ,   c h a n g e   t o   i t ,   d o w n l o a d   t h e   D o c k e r f i l e ,   a n d   w o r k e r . p y .   I n   e i t h e r   c a s e ,   b u i l d   t h e   i m a g e   w i t h   t h i s   c o m m a n d :   d o c k e r   b u i l d   - t   j o b - w q - 1   .   F o r   t h e   D o c k e r   H u b ,   t a g   y o u r   a p p   i m a g e   w i t h   y o u r   u s e r n a m e   a n d   p u s h   t o   t h e   H u b   w i t h   t h e   b e l o w   c o m m a n d s .   R e p l a c e   < u s e r n a m e >   w i t h   y o u r   H u b   u s e r n a m e .   d o c k e r   t a g   j o b - w q - 1   < u s e r n a m e > / j o b - w q - 1   d o c k e r   p u s h   < u s e r n a m e > / j o b - w q - 1   I f   y o u   a r e   u s i n g   a n   a l t e r n a t i v e   c o n t a i n e r   i m a g e   r e g i s t r y ,   t a g   t h e   i m a g e   a n d   p u s h   i t   t h e r e   i n s t e a d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18853"
  },
  {
    "question": "What is Defining a Job?",
    "answer": "H e r e   i s   a   m a n i f e s t   f o r   a   J o b .   Y o u ' l l   n e e d   t o   m a k e   a   c o p y   o f   t h e   J o b   m a n i f e s t   ( c a l l   i t   . / j o b . y a m l ) ,   a n d   e d i t   t h e   n a m e   o f   t h e   c o n t a i n e r   i m a g e   t o   m a t c h   t h e   n a m e   y o u   u s e d .   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   j o b - w q - 1   s p e c :   c o m p l e t i o n s :   8   p a r a l l e l i s m :   2   t e m p l a t e :   m e t a d a t a :   n a m e :   j o b - w q - 1   s p e c :   c o n t a i n e r s :   -   n a m e :   c   i m a g e :   g c r . i o / < p r o j e c t > / j o b - w q - 1   e n v :   -   n a m e :   B R O K E R _ U R L   v a l u e :   a m q p : / / g u e s t : g u e s t @ r a b b i t m q - s e r v i c e : 5 6 7 2   -   n a m e :   Q U E U E   v a l u e :   j o b 1   r e s t a r t P o l i c y :   O n F a i l u r e   I n   t h i s   e x a m p l e ,   e a c h   p o d   w o r k s   o n   o n e   i t e m   f r o m   t h e   q u e u e   a n d   t h e n   e x i t s .   S o ,   t h e   c o m p l e t i o n   c o u n t   o f   t h e   J o b   c o r r e s p o n d s   t o   t h e   n u m b e r   o f   w o r k   i t e m s   d o n e .   T h a t   i s   w h y   t h e   e x a m p l e   m a n i f e s t   h a s   . s p e c . c o m p l e t i o n s   s e t   t o   8 .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18854"
  },
  {
    "question": "What is Running the Job?",
    "answer": "N o w ,   r u n   t h e   J o b :   #   t h i s   a s s u m e s   y o u   d o w n l o a d e d   a n d   t h e n   e d i t e d   t h e   m a n i f e s t   a l r e a d y   k u b e c t l   a p p l y   - f   . / j o b . y a m l   Y o u   c a n   w a i t   f o r   t h e   J o b   t o   s u c c e e d ,   w i t h   a   t i m e o u t :   #   T h e   c h e c k   f o r   c o n d i t i o n   n a m e   i s   c a s e   i n s e n s i t i v e   k u b e c t l   w a i t   - - f o r = c o n d i t i o n = c o m p l e t e   - - t i m e o u t = 3 0 0 s   j o b / j o b - w q - 1   N e x t ,   c h e c k   o n   t h e   J o b :   k u b e c t l   d e s c r i b e   j o b s / j o b - w q - 1   N a m e :   j o b - w q - 1   N a m e s p a c e :   d e f a u l t   S e l e c t o r :   c o n t r o l l e r - u i d = 4 1 d 7 5 7 0 5 - 9 2 d f - 1 1 e 7 - b 8 5 e - f a 1 6 3 e e 3 c 1 1 f   L a b e l s :   c o n t r o l l e r - u i d = 4 1 d 7 5 7 0 5 - 9 2 d f - 1 1 e 7 - b 8 5 e - f a 1 6 3 e e 3 c 1 1 f   j o b - n a m e = j o b - w q - 1   A n n o t a t i o n s :   < n o n e >   P a r a l l e l i s m :   2   C o m p l e t i o n s :   8   S t a r t   T i m e :   W e d ,   0 6   S e p   2 0 2 2   1 6 : 4 2 : 0 2   + 0 0 0 0   P o d s   S t a t u s e s :   0   R u n n i n g   /   8   S u c c e e d e d   /   0   F a i l e d   P o d   T e m p l a t e :   L a b e l s :   c o n t r o l l e r - u i d = 4 1 d 7 5 7 0 5 - 9 2 d f - 1 1 e 7 - b 8 5 e - f a 1 6 3 e e 3 c 1 1 f   j o b - n a m e = j o b - w q - 1   C o n t a i n e r s :   c :   I m a g e :   c o n t a i n e r - r e g i s t r y . e x a m p l e / c a u s a l - j i g s a w - 6 3 7 / j o b - w q - 1   P o r t :   E n v i r o n m e n t :   B R O K E R _ U R L :   a m q p : / / g u e s t : g u e s t @ r a b b i t m q - s e r v i c e : 5 6 7 2   Q U E U E :   j o b 1   M o u n t s :   < n o n e >   V o l u m e s :   < n o n e >   E v e n t s :   F i r s t S e e n   L a s t S e e n   C o u n t   F r o m   S u b o b j e c t P a t h   T y p e   R e a s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18855"
  },
  {
    "question": "What is Alternatives?",
    "answer": "T h i s   a p p r o a c h   h a s   t h e   a d v a n t a g e   t h a t   y o u   d o   n o t   n e e d   t o   m o d i f y   y o u r   \" w o r k e r \"   p r o g r a m   t o   b e   a w a r e   t h a t   t h e r e   i s   a   w o r k   q u e u e .   Y o u   c a n   i n c l u d e   t h e   w o r k e r   p r o g r a m   u n m o d i f i e d   i n   y o u r   c o n t a i n e r   i m a g e .   U s i n g   t h i s   a p p r o a c h   d o e s   r e q u i r e   t h a t   y o u   r u n   a   m e s s a g e   q u e u e   s e r v i c e .   I f   r u n n i n g   a   q u e u e   s e r v i c e   i s   i n c o n v e n i e n t ,   y o u   m a y   w a n t   t o   c o n s i d e r   o n e   o f   t h e   o t h e r   j o b   p a t t e r n s .   T h i s   a p p r o a c h   c r e a t e s   a   p o d   f o r   e v e r y   w o r k   i t e m .   I f   y o u r   w o r k   i t e m s   o n l y   t a k e   a   f e w   s e c o n d s ,   t h o u g h ,   c r e a t i n g   a   P o d   f o r   e v e r y   w o r k   i t e m   m a y   a d d   a   l o t   o f   o v e r h e a d .   C o n s i d e r   a n o t h e r   d e s i g n ,   s u c h   a s   i n   t h e   f i n e   p a r a l l e l   w o r k   q u e u e   e x a m p l e ,   t h a t   e x e c u t e s   m u l t i p l e   w o r k   i t e m s   p e r   P o d .   I n   t h i s   e x a m p l e ,   y o u   u s e d   t h e   a m q p - c o n s u m e   u t i l i t y   t o   r e a d   t h e   m e s s a g e   f r o m   t h e   q u e u e   a n d   r u n   t h e   a c t u a l   p r o g r a m .   T h i s   h a s   t h e   a d v a n t a g e   t h a t   y o u   d o   n o t   n e e d   t o   m o d i f y   y o u r   p r o g r a m   t o   b e   a w a r e   o f   t h e   q u e u e .   T h e   f i n e   p a r a l l e l   w o r k   q u e u e   e x a m p l e   s h o w s   h o w   t o   c o m m u n i c a t e   w i t h   t h e   w o r k   q u e u e   u s i n g   a   c l i e n t   l i b r a r y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18856"
  },
  {
    "question": "What is Caveats?",
    "answer": "I f   t h e   n u m b e r   o f   c o m p l e t i o n s   i s   s e t   t o   l e s s   t h a n   t h e   n u m b e r   o f   i t e m s   i n   t h e   q u e u e ,   t h e n   n o t   a l l   i t e m s   w i l l   b e   p r o c e s s e d .   I f   t h e   n u m b e r   o f   c o m p l e t i o n s   i s   s e t   t o   m o r e   t h a n   t h e   n u m b e r   o f   i t e m s   i n   t h e   q u e u e ,   t h e n   t h e   J o b   w i l l   n o t   a p p e a r   t o   b e   c o m p l e t e d ,   e v e n   t h o u g h   a l l   i t e m s   i n   t h e   q u e u e   h a v e   b e e n   p r o c e s s e d .   I t   w i l l   s t a r t   a d d i t i o n a l   p o d s   w h i c h   w i l l   b l o c k   w a i t i n g   f o r   a   m e s s a g e .   Y o u   w o u l d   n e e d   t o   m a k e   y o u r   o w n   m e c h a n i s m   t o   s p o t   w h e n   t h e r e   i s   w o r k   t o   d o   a n d   m e a s u r e   t h e   s i z e   o f   t h e   q u e u e ,   s e t t i n g   t h e   n u m b e r   o f   c o m p l e t i o n s   t o   m a t c h .   T h e r e   i s   a n   u n l i k e l y   r a c e   w i t h   t h i s   p a t t e r n .   I f   t h e   c o n t a i n e r   i s   k i l l e d   i n   b e t w e e n   t h e   t i m e   t h a t   t h e   m e s s a g e   i s   a c k n o w l e d g e d   b y   t h e   a m q p - c o n s u m e   c o m m a n d   a n d   t h e   t i m e   t h a t   t h e   c o n t a i n e r   e x i t s   w i t h   s u c c e s s ,   o r   i f   t h e   n o d e   c r a s h e s   b e f o r e   t h e   k u b e l e t   i s   a b l e   t o   p o s t   t h e   s u c c e s s   o f   t h e   p o d   b a c k   t o   t h e   A P I   s e r v e r ,   t h e n   t h e   J o b   w i l l   n o t   a p p e a r   t o   b e   c o m p l e t e ,   e v e n   t h o u g h   a l l   i t e m s   i n   t h e   q u e u e   h a v e   b e e n   p r o c e s s e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18857"
  },
  {
    "question": "What is 9.3 - Fine Parallel Processing Using a Work Queue?",
    "answer": "I n   t h i s   e x a m p l e ,   y o u   w i l l   r u n   a   K u b e r n e t e s   J o b   t h a t   r u n s   m u l t i p l e   p a r a l l e l   t a s k s   a s   w o r k e r   p r o c e s s e s ,   e a c h   r u n n i n g   a s   a   s e p a r a t e   P o d .   I n   t h i s   e x a m p l e ,   a s   e a c h   p o d   i s   c r e a t e d ,   i t   p i c k s   u p   o n e   u n i t   o f   w o r k   f r o m   a   t a s k   q u e u e ,   p r o c e s s e s   i t ,   a n d   r e p e a t s   u n t i l   t h e   e n d   o f   t h e   q u e u e   i s   r e a c h e d .   H e r e   i s   a n   o v e r v i e w   o f   t h e   s t e p s   i n   t h i s   e x a m p l e :   S t a r t   a   s t o r a g e   s e r v i c e   t o   h o l d   t h e   w o r k   q u e u e .   I n   t h i s   e x a m p l e ,   y o u   w i l l   u s e   R e d i s   t o   s t o r e   w o r k   i t e m s .   I n   t h e   p r e v i o u s   e x a m p l e ,   y o u   u s e d   R a b b i t M Q .   I n   t h i s   e x a m p l e ,   y o u   w i l l   u s e   R e d i s   a n d   a   c u s t o m   w o r k - q u e u e   c l i e n t   l i b r a r y ;   t h i s   i s   b e c a u s e   A M Q P   d o e s   n o t   p r o v i d e   a   g o o d   w a y   f o r   c l i e n t s   t o   d e t e c t   w h e n   a   f i n i t e - l e n g t h   w o r k   q u e u e   i s   e m p t y .   I n   p r a c t i c e   y o u   w o u l d   s e t   u p   a   s t o r e   s u c h   a s   R e d i s   o n c e   a n d   r e u s e   i t   f o r   t h e   w o r k   q u e u e s   o f   m a n y   j o b s ,   a n d   o t h e r   t h i n g s . C r e a t e   a   q u e u e ,   a n d   f i l l   i t   w i t h   m e s s a g e s .   E a c h   m e s s a g e   r e p r e s e n t s   o n e   t a s k   t o   b e   d o n e .   I n   t h i s   e x a m p l e ,   a   m e s s a g e   i s   a n   i n t e g e r   t h a t   w e   w i l l   d o   a   l e n g t h y   c o m p u t a t i o n   o n . S t a r t   a   J o b   t h a t   w o r k s   o n   t a s k s   f r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18858"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   w i l l   n e e d   a   c o n t a i n e r   i m a g e   r e g i s t r y   w h e r e   y o u   c a n   u p l o a d   i m a g e s   t o   r u n   i n   y o u r   c l u s t e r .   T h e   e x a m p l e   u s e s   D o c k e r   H u b ,   b u t   y o u   c o u l d   a d a p t   i t   t o   a   d i f f e r e n t   c o n t a i n e r   i m a g e   r e g i s t r y .   T h i s   t a s k   e x a m p l e   a l s o   a s s u m e s   t h a t   y o u   h a v e   D o c k e r   i n s t a l l e d   l o c a l l y .   Y o u   u s e   D o c k e r   t o   b u i l d   c o n t a i n e r   i m a g e s .   B e   f a m i l i a r   w i t h   t h e   b a s i c ,   n o n - p a r a l l e l ,   u s e   o f   J o b .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18859"
  },
  {
    "question": "What is Starting Redis?",
    "answer": "F o r   t h i s   e x a m p l e ,   f o r   s i m p l i c i t y ,   y o u   w i l l   s t a r t   a   s i n g l e   i n s t a n c e   o f   R e d i s .   S e e   t h e   R e d i s   E x a m p l e   f o r   a n   e x a m p l e   o f   d e p l o y i n g   R e d i s   s c a l a b l y   a n d   r e d u n d a n t l y .   Y o u   c o u l d   a l s o   d o w n l o a d   t h e   f o l l o w i n g   f i l e s   d i r e c t l y :   r e d i s - p o d . y a m l r e d i s - s e r v i c e . y a m l D o c k e r f i l e j o b . y a m l r e d i s w q . p y w o r k e r . p y   T o   s t a r t   a   s i n g l e   i n s t a n c e   o f   R e d i s ,   y o u   n e e d   t o   c r e a t e   t h e   r e d i s   p o d   a n d   r e d i s   s e r v i c e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / j o b / r e d i s / r e d i s - p o d . y a m l   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / j o b / r e d i s / r e d i s - s e r v i c e . y a m l",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18860"
  },
  {
    "question": "What is Filling the queue with tasks?",
    "answer": "N o w   l e t ' s   f i l l   t h e   q u e u e   w i t h   s o m e   \" t a s k s \" .   I n   t h i s   e x a m p l e ,   t h e   t a s k s   a r e   s t r i n g s   t o   b e   p r i n t e d .   S t a r t   a   t e m p o r a r y   i n t e r a c t i v e   p o d   f o r   r u n n i n g   t h e   R e d i s   C L I .   k u b e c t l   r u n   - i   - - t t y   t e m p   - - i m a g e   r e d i s   - - c o m m a n d   \" / b i n / s h \"   W a i t i n g   f o r   p o d   d e f a u l t / r e d i s 2 - c 7 h 7 8   t o   b e   r u n n i n g ,   s t a t u s   i s   P e n d i n g ,   p o d   r e a d y :   f a l s e   H i t   e n t e r   f o r   c o m m a n d   p r o m p t   N o w   h i t   e n t e r ,   s t a r t   t h e   R e d i s   C L I ,   a n d   c r e a t e   a   l i s t   w i t h   s o m e   w o r k   i t e m s   i n   i t .   r e d i s - c l i   - h   r e d i s   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" a p p l e \"   ( i n t e g e r )   1   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" b a n a n a \"   ( i n t e g e r )   2   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" c h e r r y \"   ( i n t e g e r )   3   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" d a t e \"   ( i n t e g e r )   4   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" f i g \"   ( i n t e g e r )   5   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" g r a p e \"   ( i n t e g e r )   6   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" l e m o n \"   ( i n t e g e r )   7   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" m e l o n \"   ( i n t e g e r )   8   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" o r a n g e \"   ( i n t e g e r )   9   r e d i s : 6 3 7 9 >   l r a n g e   j o b 2   0   - 1   1 )   \" a p p l e \"   2 )   \" b a n a n a \"   3 )   \" c h e r r y \"   4 )   \" d a t e \"   5 )   \" f i g \"   6 )   \" g r a p e \"   7 )   \" l e m o n \"   8 )   \" m e l o n \"   9 )   \" o r a n g e \"   S o ,   t h e   l i s t   w i t h   k e y   j o b 2   w i l l   b e   t h e   w o r k   q u e u ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18861"
  },
  {
    "question": "What is Create a container image?",
    "answer": "N o w   y o u   a r e   r e a d y   t o   c r e a t e   a n   i m a g e   t h a t   w i l l   p r o c e s s   t h e   w o r k   i n   t h a t   q u e u e .   Y o u ' r e   g o i n g   t o   u s e   a   P y t h o n   w o r k e r   p r o g r a m   w i t h   a   R e d i s   c l i e n t   t o   r e a d   t h e   m e s s a g e s   f r o m   t h e   m e s s a g e   q u e u e .   A   s i m p l e   R e d i s   w o r k   q u e u e   c l i e n t   l i b r a r y   i s   p r o v i d e d ,   c a l l e d   r e d i s w q . p y   ( D o w n l o a d ) .   T h e   \" w o r k e r \"   p r o g r a m   i n   e a c h   P o d   o f   t h e   J o b   u s e s   t h e   w o r k   q u e u e   c l i e n t   l i b r a r y   t o   g e t   w o r k .   H e r e   i t   i s :   # ! / u s r / b i n / e n v   p y t h o n   i m p o r t   t i m e   i m p o r t   r e d i s w q   h o s t = \" r e d i s \"   #   U n c o m m e n t   n e x t   t w o   l i n e s   i f   y o u   d o   n o t   h a v e   K u b e - D N S   w o r k i n g .   #   i m p o r t   o s   #   h o s t   =   o s . g e t e n v ( \" R E D I S _ S E R V I C E _ H O S T \" )   q   =   r e d i s w q . R e d i s W Q ( n a m e = \" j o b 2 \" ,   h o s t = h o s t )   p r i n t ( \" W o r k e r   w i t h   s e s s i o n I D :   \"   +   q . s e s s i o n I D ( ) )   p r i n t ( \" I n i t i a l   q u e u e   s t a t e :   e m p t y = \"   +   s t r ( q . e m p t y ( ) ) )   w h i l e   n o t   q . e m p t y ( ) :   i t e m   =   q . l e a s e ( l e a s e _ s e c s = 1 0 ,   b l o c k = T r u e ,   t i m e o u t = 2 )   i f   i t e m   i s   n o t   N o n e :   i t e m s t r   =   i t e m . d e c o d e ( \" u t f - 8 \" )   p r i n t ( \" W o r k i n g   o n   \"   +   i t e m s t r )   t i m e . s l e e p ( 1 0 )   #   P u t   y o u r   a c t u a l   w o r k   h e r e   i n s t e a d   o f   s l e e p .   q . c o m p l e t e ( i t e m )   e l s e :   p r i n t ( \" W a i t i n g   f o r   w o r k \" )   p r i n t ( \" Q u e u e   e m p t y ,   e x i t i n g \" )   Y ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18862"
  },
  {
    "question": "What is Push the image?",
    "answer": "F o r   t h e   D o c k e r   H u b ,   t a g   y o u r   a p p   i m a g e   w i t h   y o u r   u s e r n a m e   a n d   p u s h   t o   t h e   H u b   w i t h   t h e   b e l o w   c o m m a n d s .   R e p l a c e   < u s e r n a m e >   w i t h   y o u r   H u b   u s e r n a m e .   d o c k e r   t a g   j o b - w q - 2   < u s e r n a m e > / j o b - w q - 2   d o c k e r   p u s h   < u s e r n a m e > / j o b - w q - 2   Y o u   n e e d   t o   p u s h   t o   a   p u b l i c   r e p o s i t o r y   o r   c o n f i g u r e   y o u r   c l u s t e r   t o   b e   a b l e   t o   a c c e s s   y o u r   p r i v a t e   r e p o s i t o r y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18863"
  },
  {
    "question": "What is Defining a Job?",
    "answer": "H e r e   i s   a   m a n i f e s t   f o r   t h e   J o b   y o u   w i l l   c r e a t e :   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   j o b - w q - 2   s p e c :   p a r a l l e l i s m :   2   t e m p l a t e :   m e t a d a t a :   n a m e :   j o b - w q - 2   s p e c :   c o n t a i n e r s :   -   n a m e :   c   i m a g e :   g c r . i o / m y p r o j e c t / j o b - w q - 2   r e s t a r t P o l i c y :   O n F a i l u r e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18864"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   t h i s   e x a m p l e ,   e a c h   p o d   w o r k s   o n   s e v e r a l   i t e m s   f r o m   t h e   q u e u e   a n d   t h e n   e x i t s   w h e n   t h e r e   a r e   n o   m o r e   i t e m s .   S i n c e   t h e   w o r k e r s   t h e m s e l v e s   d e t e c t   w h e n   t h e   w o r k q u e u e   i s   e m p t y ,   a n d   t h e   J o b   c o n t r o l l e r   d o e s   n o t   k n o w   a b o u t   t h e   w o r k q u e u e ,   i t   r e l i e s   o n   t h e   w o r k e r s   t o   s i g n a l   w h e n   t h e y   a r e   d o n e   w o r k i n g .   T h e   w o r k e r s   s i g n a l   t h a t   t h e   q u e u e   i s   e m p t y   b y   e x i t i n g   w i t h   s u c c e s s .   S o ,   a s   s o o n   a s   a n y   w o r k e r   e x i t s   w i t h   s u c c e s s ,   t h e   c o n t r o l l e r   k n o w s   t h e   w o r k   i s   d o n e ,   a n d   t h a t   t h e   P o d s   w i l l   e x i t   s o o n .   S o ,   y o u   n e e d   t o   l e a v e   t h e   c o m p l e t i o n   c o u n t   o f   t h e   J o b   u n s e t .   T h e   j o b   c o n t r o l l e r   w i l l   w a i t   f o r   t h e   o t h e r   p o d s   t o   c o m p l e t e   t o o .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18865"
  },
  {
    "question": "What is Running the Job?",
    "answer": "S o ,   n o w   r u n   t h e   J o b :   #   t h i s   a s s u m e s   y o u   d o w n l o a d e d   a n d   t h e n   e d i t e d   t h e   m a n i f e s t   a l r e a d y   k u b e c t l   a p p l y   - f   . / j o b . y a m l   N o w   w a i t   a   b i t ,   t h e n   c h e c k   o n   t h e   J o b :   k u b e c t l   d e s c r i b e   j o b s / j o b - w q - 2   N a m e :   j o b - w q - 2   N a m e s p a c e :   d e f a u l t   S e l e c t o r :   c o n t r o l l e r - u i d = b 1 c 7 e 4 e 3 - 9 2 e 1 - 1 1 e 7 - b 8 5 e - f a 1 6 3 e e 3 c 1 1 f   L a b e l s :   c o n t r o l l e r - u i d = b 1 c 7 e 4 e 3 - 9 2 e 1 - 1 1 e 7 - b 8 5 e - f a 1 6 3 e e 3 c 1 1 f   j o b - n a m e = j o b - w q - 2   A n n o t a t i o n s :   < n o n e >   P a r a l l e l i s m :   2   C o m p l e t i o n s :   < u n s e t >   S t a r t   T i m e :   M o n ,   1 1   J a n   2 0 2 2   1 7 : 0 7 : 5 9   + 0 0 0 0   P o d s   S t a t u s e s :   1   R u n n i n g   /   0   S u c c e e d e d   /   0   F a i l e d   P o d   T e m p l a t e :   L a b e l s :   c o n t r o l l e r - u i d = b 1 c 7 e 4 e 3 - 9 2 e 1 - 1 1 e 7 - b 8 5 e - f a 1 6 3 e e 3 c 1 1 f   j o b - n a m e = j o b - w q - 2   C o n t a i n e r s :   c :   I m a g e :   c o n t a i n e r - r e g i s t r y . e x a m p l e / e x a m p l e p r o j e c t / j o b - w q - 2   P o r t :   E n v i r o n m e n t :   < n o n e >   M o u n t s :   < n o n e >   V o l u m e s :   < n o n e >   E v e n t s :   F i r s t S e e n   L a s t S e e n   C o u n t   F r o m   S u b o b j e c t P a t h   T y p e   R e a s o n   M e s s a g e   - - - - - - - - -   - - - - - - - -   - - - - -   - - - -   - - - - - - - - - - - - -   - - - - - - - -   - - - - - -   - - - - - - -   3 3 s   3 3 s   1   { j o b - c o n t r o l l e r   }   N o r m a l   S u c c e s s f u l C r e a t e   C r e a t e d   p o d :   j o b - w q - 2 - l g l f 8   Y o u   c a n   w a i t   f o r   t h e   J o b   t o   s u c c e e d ,   w i t h   a   t i m e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18866"
  },
  {
    "question": "What is Alternatives?",
    "answer": "I f   r u n n i n g   a   q u e u e   s e r v i c e   o r   m o d i f y i n g   y o u r   c o n t a i n e r s   t o   u s e   a   w o r k   q u e u e   i s   i n c o n v e n i e n t ,   y o u   m a y   w a n t   t o   c o n s i d e r   o n e   o f   t h e   o t h e r   j o b   p a t t e r n s .   I f   y o u   h a v e   a   c o n t i n u o u s   s t r e a m   o f   b a c k g r o u n d   p r o c e s s i n g   w o r k   t o   r u n ,   t h e n   c o n s i d e r   r u n n i n g   y o u r   b a c k g r o u n d   w o r k e r s   w i t h   a   R e p l i c a S e t   i n s t e a d ,   a n d   c o n s i d e r   r u n n i n g   a   b a c k g r o u n d   p r o c e s s i n g   l i b r a r y   s u c h   a s   h t t p s : / / g i t h u b . c o m / r e s q u e / r e s q u e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18867"
  },
  {
    "question": "What is 9.4 - Indexed Job for Parallel Processing with Static Work Assignment?",
    "answer": "I n   t h i s   e x a m p l e ,   y o u   w i l l   r u n   a   K u b e r n e t e s   J o b   t h a t   u s e s   m u l t i p l e   p a r a l l e l   w o r k e r   p r o c e s s e s .   E a c h   w o r k e r   i s   a   d i f f e r e n t   c o n t a i n e r   r u n n i n g   i n   i t s   o w n   P o d .   T h e   P o d s   h a v e   a n   i n d e x   n u m b e r   t h a t   t h e   c o n t r o l   p l a n e   s e t s   a u t o m a t i c a l l y ,   w h i c h   a l l o w s   e a c h   P o d   t o   i d e n t i f y   w h i c h   p a r t   o f   t h e   o v e r a l l   t a s k   t o   w o r k   o n .   T h e   p o d   i n d e x   i s   a v a i l a b l e   i n   t h e   a n n o t a t i o n   b a t c h . k u b e r n e t e s . i o / j o b - c o m p l e t i o n - i n d e x   a s   a   s t r i n g   r e p r e s e n t i n g   i t s   d e c i m a l   v a l u e .   I n   o r d e r   f o r   t h e   c o n t a i n e r i z e d   t a s k   p r o c e s s   t o   o b t a i n   t h i s   i n d e x ,   y o u   c a n   p u b l i s h   t h e   v a l u e   o f   t h e   a n n o t a t i o n   u s i n g   t h e   d o w n w a r d   A P I   m e c h a n i s m .   F o r   c o n v e n i e n c e ,   t h e   c o n t r o l   p l a n e   a u t o m a t i c a l l y   s e t s   t h e   d o w n w a r d   A P I   t o   e x p o s e   t h e   i n d e x   i n   t h e   J O B _ C O M P L E T I O N _ I N D E X   e n v i r o n m e n t   v a r i a b l e .   H e r e   i s   a n   o v e r v i e w   o f   t h e   s t e p s   i n   t h i s   e x a m p l e :   D e f i n e   a   J o b   m a n i f e s t   u s i n g   i n d e x e d   c o m p l e t i o n .   T h e   d o w n w a r d   A P I   a l l o w s   y o u   t o   p a s s   t h e   p o d   i n d e x   a n n o t a t i o n   a s   a n   e n v i r o n m e n t   v a r i a b l e   o r   f i l e   t o   t h e   c o n t a i n e r . S t a r t   a n   I n d e x e d   J o b   b a s e d   o n   t h a t   m a n i f e s t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18868"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   s h o u l d   a l r e a d y   b e   f a m i l i a r   w i t h   t h e   b a s i c ,   n o n - p a r a l l e l ,   u s e   o f   J o b .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 2 1 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18869"
  },
  {
    "question": "What is Choose an approach?",
    "answer": "T o   a c c e s s   t h e   w o r k   i t e m   f r o m   t h e   w o r k e r   p r o g r a m ,   y o u   h a v e   a   f e w   o p t i o n s :   R e a d   t h e   J O B _ C O M P L E T I O N _ I N D E X   e n v i r o n m e n t   v a r i a b l e .   T h e   J o b   c o n t r o l l e r   a u t o m a t i c a l l y   l i n k s   t h i s   v a r i a b l e   t o   t h e   a n n o t a t i o n   c o n t a i n i n g   t h e   c o m p l e t i o n   i n d e x . R e a d   a   f i l e   t h a t   c o n t a i n s   t h e   c o m p l e t i o n   i n d e x . A s s u m i n g   t h a t   y o u   c a n ' t   m o d i f y   t h e   p r o g r a m ,   y o u   c a n   w r a p   i t   w i t h   a   s c r i p t   t h a t   r e a d s   t h e   i n d e x   u s i n g   a n y   o f   t h e   m e t h o d s   a b o v e   a n d   c o n v e r t s   i t   i n t o   s o m e t h i n g   t h a t   t h e   p r o g r a m   c a n   u s e   a s   i n p u t .   F o r   t h i s   e x a m p l e ,   i m a g i n e   t h a t   y o u   c h o s e   o p t i o n   3   a n d   y o u   w a n t   t o   r u n   t h e   r e v   u t i l i t y .   T h i s   p r o g r a m   a c c e p t s   a   f i l e   a s   a n   a r g u m e n t   a n d   p r i n t s   i t s   c o n t e n t   r e v e r s e d .   r e v   d a t a . t x t   Y o u ' l l   u s e   t h e   r e v   t o o l   f r o m   t h e   b u s y b o x   c o n t a i n e r   i m a g e .   A s   t h i s   i s   o n l y   a n   e x a m p l e ,   e a c h   P o d   o n l y   d o e s   a   t i n y   p i e c e   o f   w o r k   ( r e v e r s i n g   a   s h o r t   s t r i n g ) .   I n   a   r e a l   w o r k l o a d   y o u   m i g h t ,   f o r   e x a m p l e ,   c r e a t e   a   J o b   t h a t   r e p r e s e n t s   t h e   t a s k   o f   p r o d u c i n g   6 0   s e c o n d s   o f   v i d e o   b a s e d   o n   s c e n e   d a t a .   E a c h   w o r k   i t e m   i n   t h e   v i d e o   r e n d e r i n g   J o b   w o u l d   b e   t o   r e n d e r   a   p a r t i ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18870"
  },
  {
    "question": "What is Define an Indexed Job?",
    "answer": "H e r e   i s   a   s a m p l e   J o b   m a n i f e s t   t h a t   u s e s   I n d e x e d   c o m p l e t i o n   m o d e :   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   ' i n d e x e d - j o b '   s p e c :   c o m p l e t i o n s :   5   p a r a l l e l i s m :   3   c o m p l e t i o n M o d e :   I n d e x e d   t e m p l a t e :   s p e c :   r e s t a r t P o l i c y :   N e v e r   i n i t C o n t a i n e r s :   -   n a m e :   ' i n p u t '   i m a g e :   ' d o c k e r . i o / l i b r a r y / b a s h '   c o m m a n d :   -   \" b a s h \"   -   \" - c \"   -   |   i t e m s = ( f o o   b a r   b a z   q u x   x y z )   e c h o   $ { i t e m s [ $ J O B _ C O M P L E T I O N _ I N D E X ] }   >   / i n p u t / d a t a . t x t   v o l u m e M o u n t s :   -   m o u n t P a t h :   / i n p u t   n a m e :   i n p u t   c o n t a i n e r s :   -   n a m e :   ' w o r k e r '   i m a g e :   ' d o c k e r . i o / l i b r a r y / b u s y b o x '   c o m m a n d :   -   \" r e v \"   -   \" / i n p u t / d a t a . t x t \"   v o l u m e M o u n t s :   -   m o u n t P a t h :   / i n p u t   n a m e :   i n p u t   v o l u m e s :   -   n a m e :   i n p u t   e m p t y D i r :   { }   I n   t h e   e x a m p l e   a b o v e ,   y o u   u s e   t h e   b u i l t i n   J O B _ C O M P L E T I O N _ I N D E X   e n v i r o n m e n t   v a r i a b l e   s e t   b y   t h e   J o b   c o n t r o l l e r   f o r   a l l   c o n t a i n e r s .   A n   i n i t   c o n t a i n e r   m a p s   t h e   i n d e x   t o   a   s t a t i c   v a l u e   a n d   w r i t e s   i t   t o   a   f i l e   t h a t   i s   s h a r e d   w i t h   t h e   c o n t a i n e r   r u n n i n g   t h e   w o r k e r   t h r o u g h   a n   e m p t y D i r   v o l u m e .   O p t i o n a l l y ,   y o u   c a n   d e f i n e   y o u r   o w n   e n v i r o n m e n t   v a r i a b l e   t h r o u g h   t h e   d o w n w a r d   A P I   t o   p ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18871"
  },
  {
    "question": "What is Running the Job?",
    "answer": "N o w   r u n   t h e   J o b :   #   T h i s   u s e s   t h e   f i r s t   a p p r o a c h   ( r e l y i n g   o n   $ J O B _ C O M P L E T I O N _ I N D E X )   k u b e c t l   a p p l y   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / a p p l i c a t i o n / j o b / i n d e x e d - j o b . y a m l   W h e n   y o u   c r e a t e   t h i s   J o b ,   t h e   c o n t r o l   p l a n e   c r e a t e s   a   s e r i e s   o f   P o d s ,   o n e   f o r   e a c h   i n d e x   y o u   s p e c i f i e d .   T h e   v a l u e   o f   . s p e c . p a r a l l e l i s m   d e t e r m i n e s   h o w   m a n y   c a n   r u n   a t   o n c e   w h e r e a s   . s p e c . c o m p l e t i o n s   d e t e r m i n e s   h o w   m a n y   P o d s   t h e   J o b   c r e a t e s   i n   t o t a l .   B e c a u s e   . s p e c . p a r a l l e l i s m   i s   l e s s   t h a n   . s p e c . c o m p l e t i o n s ,   t h e   c o n t r o l   p l a n e   w a i t s   f o r   s o m e   o f   t h e   f i r s t   P o d s   t o   c o m p l e t e   b e f o r e   s t a r t i n g   m o r e   o f   t h e m .   Y o u   c a n   w a i t   f o r   t h e   J o b   t o   s u c c e e d ,   w i t h   a   t i m e o u t :   #   T h e   c h e c k   f o r   c o n d i t i o n   n a m e   i s   c a s e   i n s e n s i t i v e   k u b e c t l   w a i t   - - f o r = c o n d i t i o n = c o m p l e t e   - - t i m e o u t = 3 0 0 s   j o b / i n d e x e d - j o b   N o w ,   d e s c r i b e   t h e   J o b   a n d   c h e c k   t h a t   i t   w a s   s u c c e s s f u l .   k u b e c t l   d e s c r i b e   j o b s / i n d e x e d - j o b   T h e   o u t p u t   i s   s i m i l a r   t o :   N a m e :   i n d e x e d - j o b   N a m e s p a c e :   d e f a u l t   S e l e c t o r :   c o n t r o l l e r - u i d = b f 8 6 5 e 0 4 - 0 b 6 7 - 4 8 3 b - 9 a 9 0 - 7 4 c f c 4 c 3 e 7 5 6   L a b e l s :   c o n t r o l l e r - u i d = b f 8 6 5 e 0 4 - 0 b 6 7 - 4 8 3 b - 9 a 9 0 - 7 4 ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18872"
  },
  {
    "question": "What is 9.5 - Job with Pod-to-Pod Communication?",
    "answer": "I n   t h i s   e x a m p l e ,   y o u   w i l l   r u n   a   J o b   i n   I n d e x e d   c o m p l e t i o n   m o d e   c o n f i g u r e d   s u c h   t h a t   t h e   p o d s   c r e a t e d   b y   t h e   J o b   c a n   c o m m u n i c a t e   w i t h   e a c h   o t h e r   u s i n g   p o d   h o s t n a m e s   r a t h e r   t h a n   p o d   I P   a d d r e s s e s .   P o d s   w i t h i n   a   J o b   m i g h t   n e e d   t o   c o m m u n i c a t e   a m o n g   t h e m s e l v e s .   T h e   u s e r   w o r k l o a d   r u n n i n g   i n   e a c h   p o d   c o u l d   q u e r y   t h e   K u b e r n e t e s   A P I   s e r v e r   t o   l e a r n   t h e   I P s   o f   t h e   o t h e r   P o d s ,   b u t   i t ' s   m u c h   s i m p l e r   t o   r e l y   o n   K u b e r n e t e s '   b u i l t - i n   D N S   r e s o l u t i o n .   J o b s   i n   I n d e x e d   c o m p l e t i o n   m o d e   a u t o m a t i c a l l y   s e t   t h e   p o d s '   h o s t n a m e   t o   b e   i n   t h e   f o r m a t   o f   $ { j o b N a m e } - $ { c o m p l e t i o n I n d e x } .   Y o u   c a n   u s e   t h i s   f o r m a t   t o   d e t e r m i n i s t i c a l l y   b u i l d   p o d   h o s t n a m e s   a n d   e n a b l e   p o d   c o m m u n i c a t i o n   w i t h o u t   n e e d i n g   t o   c r e a t e   a   c l i e n t   c o n n e c t i o n   t o   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   t o   o b t a i n   p o d   h o s t n a m e s / I P s   v i a   A P I   r e q u e s t s .   T h i s   c o n f i g u r a t i o n   i s   u s e f u l   f o r   u s e   c a s e s   w h e r e   p o d   n e t w o r k i n g   i s   r e q u i r e d   b u t   y o u   d o n ' t   w a n t   t o   d e p e n d   o n   a   n e t w o r k   c o n n e c t i o n   w i t h   t h e   K u b e r n e t e s   A P I   s e r v e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18873"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   s h o u l d   a l r e a d y   b e   f a m i l i a r   w i t h   t h e   b a s i c   u s e   o f   J o b .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 2 1 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18874"
  },
  {
    "question": "What is Starting a Job with pod-to-pod communication?",
    "answer": "T o   e n a b l e   p o d - t o - p o d   c o m m u n i c a t i o n   u s i n g   p o d   h o s t n a m e s   i n   a   J o b ,   y o u   m u s t   d o   t h e   f o l l o w i n g :   S e t   u p   a   h e a d l e s s   S e r v i c e   w i t h   a   v a l i d   l a b e l   s e l e c t o r   f o r   t h e   p o d s   c r e a t e d   b y   y o u r   J o b .   T h e   h e a d l e s s   s e r v i c e   m u s t   b e   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   J o b .   O n e   e a s y   w a y   t o   d o   t h i s   i s   t o   u s e   t h e   j o b - n a m e :   < y o u r - j o b - n a m e >   s e l e c t o r ,   s i n c e   t h e   j o b - n a m e   l a b e l   w i l l   b e   a u t o m a t i c a l l y   a d d e d   b y   K u b e r n e t e s .   T h i s   c o n f i g u r a t i o n   w i l l   t r i g g e r   t h e   D N S   s y s t e m   t o   c r e a t e   r e c o r d s   o f   t h e   h o s t n a m e s   o f   t h e   p o d s   r u n n i n g   y o u r   J o b . C o n f i g u r e   t h e   h e a d l e s s   s e r v i c e   a s   s u b d o m a i n   s e r v i c e   f o r   t h e   J o b   p o d s   b y   i n c l u d i n g   t h e   f o l l o w i n g   v a l u e   i n   y o u r   J o b   t e m p l a t e   s p e c : s u b d o m a i n :   < h e a d l e s s - s v c - n a m e >   S e t   u p   a   h e a d l e s s   S e r v i c e   w i t h   a   v a l i d   l a b e l   s e l e c t o r   f o r   t h e   p o d s   c r e a t e d   b y   y o u r   J o b .   T h e   h e a d l e s s   s e r v i c e   m u s t   b e   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   J o b .   O n e   e a s y   w a y   t o   d o   t h i s   i s   t o   u s e   t h e   j o b - n a m e :   < y o u r - j o b - n a m e >   s e l e c t o r ,   s i n c e   t h e   j o b - n a m e   l a b e l   w i l l   b e   a u t o m a t i c a l l y   a d d e d   b y   K u b e r n e t e s .   T h i s   c o n f i g u r a t i o n   w i l l   t r i g g e r   t h e   D N S   s y s t e m   t o   c r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18875"
  },
  {
    "question": "What is Example?",
    "answer": "B e l o w   i s   a   w o r k i n g   e x a m p l e   o f   a   J o b   w i t h   p o d - t o - p o d   c o m m u n i c a t i o n   v i a   p o d   h o s t n a m e s   e n a b l e d .   T h e   J o b   i s   c o m p l e t e d   o n l y   a f t e r   a l l   p o d s   s u c c e s s f u l l y   p i n g   e a c h   o t h e r   u s i n g   h o s t n a m e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18876"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   h e a d l e s s - s v c   s p e c :   c l u s t e r I P :   N o n e   #   c l u s t e r I P   m u s t   b e   N o n e   t o   c r e a t e   a   h e a d l e s s   s e r v i c e   s e l e c t o r :   j o b - n a m e :   e x a m p l e - j o b   #   m u s t   m a t c h   J o b   n a m e   - - -   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   e x a m p l e - j o b   s p e c :   c o m p l e t i o n s :   3   p a r a l l e l i s m :   3   c o m p l e t i o n M o d e :   I n d e x e d   t e m p l a t e :   s p e c :   s u b d o m a i n :   h e a d l e s s - s v c   #   h a s   t o   m a t c h   S e r v i c e   n a m e   r e s t a r t P o l i c y :   N e v e r   c o n t a i n e r s :   -   n a m e :   e x a m p l e - w o r k l o a d   i m a g e :   b a s h : l a t e s t   c o m m a n d :   -   b a s h   -   - c   -   |   f o r   i   i n   0   1   2   d o   g o t S t a t u s = \" - 1 \"   w a n t S t a t u s = \" 0 \"   w h i l e   [   $ g o t S t a t u s   - n e   $ w a n t S t a t u s   ]   d o   p i n g   - c   1   e x a m p l e - j o b - $ { i } . h e a d l e s s - s v c   >   / d e v / n u l l   2 > & 1   g o t S t a t u s = $ ?   i f   [   $ g o t S t a t u s   - n e   $ w a n t S t a t u s   ] ;   t h e n   e c h o   \" F a i l e d   t o   p i n g   p o d   e x a m p l e - j o b - $ { i } . h e a d l e s s - s v c ,   r e t r y i n g   i n   1   s e c o n d . . . \"   s l e e p   1   f i   d o n e   e c h o   \" S u c c e s s f u l l y   p i n g e d   p o d :   e x a m p l e - j o b - $ { i } . h e a d l e s s - s v c \"   d o n e   A f t e r   a p p l y i n g   t h e   e x a m p l e   a b o v e ,   r e a c h   e a c h   o t h e r   o v e r   t h e   n e t w o r k   u s i n g :   < p o d - h o s t n a m e > . < h e a d l e s s - s e r v i c e - n a m e > .   Y o u   s h o u l d   s e e   o u t p u t   s i m i l a r   t o   t h e   f o l l o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18877"
  },
  {
    "question": "What is 9.6 - Parallel Processing using Expansions?",
    "answer": "T h i s   t a s k   d e m o n s t r a t e s   r u n n i n g   m u l t i p l e   J o b s   b a s e d   o n   a   c o m m o n   t e m p l a t e .   Y o u   c a n   u s e   t h i s   a p p r o a c h   t o   p r o c e s s   b a t c h e s   o f   w o r k   i n   p a r a l l e l .   F o r   t h i s   e x a m p l e   t h e r e   a r e   o n l y   t h r e e   i t e m s :   a p p l e ,   b a n a n a ,   a n d   c h e r r y .   T h e   s a m p l e   J o b s   p r o c e s s   e a c h   i t e m   b y   p r i n t i n g   a   s t r i n g   t h e n   p a u s i n g .   S e e   u s i n g   J o b s   i n   r e a l   w o r k l o a d s   t o   l e a r n   a b o u t   h o w   t h i s   p a t t e r n   f i t s   m o r e   r e a l i s t i c   u s e   c a s e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18878"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   s h o u l d   b e   f a m i l i a r   w i t h   t h e   b a s i c ,   n o n - p a r a l l e l ,   u s e   o f   J o b .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   F o r   b a s i c   t e m p l a t i n g   y o u   n e e d   t h e   c o m m a n d - l i n e   u t i l i t y   s e d .   T o   f o l l o w   t h e   a d v a n c e d   t e m p l a t i n g   e x a m p l e ,   y o u   n e e d   a   w o r k i n g   i n s t a l l a t i o n   o f   P y t h o n ,   a n d   t h e   J i n j a 2   t e m p l a t e   l i b r a r y   f o r   P y t h o n .   O n c e   y o u   h a v e   P y t h o n   s e t   u p ,   y o u   c a n   i n s t a l l   J i n j a 2   b y   r u n n i n g :   p i p   i n s t a l l   - - u s e r   j i n j a 2",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18879"
  },
  {
    "question": "What is Create Jobs based on a template?",
    "answer": "F i r s t ,   d o w n l o a d   t h e   f o l l o w i n g   t e m p l a t e   o f   a   J o b   t o   a   f i l e   c a l l e d   j o b - t m p l . y a m l .   H e r e ' s   w h a t   y o u ' l l   d o w n l o a d :   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   p r o c e s s - i t e m - $ I T E M   l a b e l s :   j o b g r o u p :   j o b e x a m p l e   s p e c :   t e m p l a t e :   m e t a d a t a :   n a m e :   j o b e x a m p l e   l a b e l s :   j o b g r o u p :   j o b e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   c   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ \" s h \" ,   \" - c \" ,   \" e c h o   P r o c e s s i n g   i t e m   $ I T E M   & &   s l e e p   5 \" ]   r e s t a r t P o l i c y :   N e v e r   #   U s e   c u r l   t o   d o w n l o a d   j o b - t m p l . y a m l   c u r l   - L   - s   - O   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / j o b / j o b - t m p l . y a m l   T h e   f i l e   y o u   d o w n l o a d e d   i s   n o t   y e t   a   v a l i d   K u b e r n e t e s   m a n i f e s t .   I n s t e a d   t h a t   t e m p l a t e   i s   a   Y A M L   r e p r e s e n t a t i o n   o f   a   J o b   o b j e c t   w i t h   s o m e   p l a c e h o l d e r s   t h a t   n e e d   t o   b e   f i l l e d   i n   b e f o r e   i t   c a n   b e   u s e d .   T h e   $ I T E M   s y n t a x   i s   n o t   m e a n i n g f u l   t o   K u b e r n e t e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18880"
  },
  {
    "question": "What is Create manifests from the template?",
    "answer": "T h e   f o l l o w i n g   s h e l l   s n i p p e t   u s e s   s e d   t o   r e p l a c e   t h e   s t r i n g   $ I T E M   w i t h   t h e   l o o p   v a r i a b l e ,   w r i t i n g   i n t o   a   t e m p o r a r y   d i r e c t o r y   n a m e d   j o b s .   R u n   t h i s   n o w :   #   E x p a n d   t h e   t e m p l a t e   i n t o   m u l t i p l e   f i l e s ,   o n e   f o r   e a c h   i t e m   t o   b e   p r o c e s s e d .   m k d i r   . / j o b s   f o r   i   i n   a p p l e   b a n a n a   c h e r r y   d o   c a t   j o b - t m p l . y a m l   |   s e d   \" s / \\ $ I T E M / $ i / \"   >   . / j o b s / j o b - $ i . y a m l   d o n e   C h e c k   i f   i t   w o r k e d :   l s   j o b s /   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   j o b - a p p l e . y a m l   j o b - b a n a n a . y a m l   j o b - c h e r r y . y a m l   Y o u   c o u l d   u s e   a n y   t y p e   o f   t e m p l a t e   l a n g u a g e   ( f o r   e x a m p l e :   J i n j a 2 ;   E R B ) ,   o r   w r i t e   a   p r o g r a m   t o   g e n e r a t e   t h e   J o b   m a n i f e s t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18881"
  },
  {
    "question": "What is Create Jobs from the manifests?",
    "answer": "N e x t ,   c r e a t e   a l l   t h e   J o b s   w i t h   o n e   k u b e c t l   c o m m a n d :   k u b e c t l   c r e a t e   - f   . / j o b s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   j o b . b a t c h / p r o c e s s - i t e m - a p p l e   c r e a t e d   j o b . b a t c h / p r o c e s s - i t e m - b a n a n a   c r e a t e d   j o b . b a t c h / p r o c e s s - i t e m - c h e r r y   c r e a t e d   N o w ,   c h e c k   o n   t h e   j o b s :   k u b e c t l   g e t   j o b s   - l   j o b g r o u p = j o b e x a m p l e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   C O M P L E T I O N S   D U R A T I O N   A G E   p r o c e s s - i t e m - a p p l e   1 / 1   1 4 s   2 2 s   p r o c e s s - i t e m - b a n a n a   1 / 1   1 2 s   2 1 s   p r o c e s s - i t e m - c h e r r y   1 / 1   1 2 s   2 0 s   U s i n g   t h e   - l   o p t i o n   t o   k u b e c t l   s e l e c t s   o n l y   t h e   J o b s   t h a t   a r e   p a r t   o f   t h i s   g r o u p   o f   j o b s   ( t h e r e   m i g h t   b e   o t h e r   u n r e l a t e d   j o b s   i n   t h e   s y s t e m ) .   Y o u   c a n   c h e c k   o n   t h e   P o d s   a s   w e l l   u s i n g   t h e   s a m e   l a b e l   s e l e c t o r :   k u b e c t l   g e t   p o d s   - l   j o b g r o u p = j o b e x a m p l e   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   p r o c e s s - i t e m - a p p l e - k i x w v   0 / 1   C o m p l e t e d   0   4 m   p r o c e s s - i t e m - b a n a n a - w r s f 7   0 / 1   C o m p l e t e d   0   4 m   p r o c e s s - i t e m - c h e r r y - d n f u 9   0 / 1   C o m p l e t e d   0   4 m   W e   c a n   u s e   t h i s   s i n g l e   c o m m a n d   t o   c h e c k   o n   t h e   o u t p u t   o f   a l l   j o b s   a t   o n c e :   k u b e c t l   l o g s   - f   - l   j o b g r o u p = j o b e x a m p l e   T h e   o u t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18882"
  },
  {
    "question": "What is Clean up?",
    "answer": "#   R e m o v e   t h e   J o b s   y o u   c r e a t e d   #   Y o u r   c l u s t e r   a u t o m a t i c a l l y   c l e a n s   u p   t h e i r   P o d s   k u b e c t l   d e l e t e   j o b   - l   j o b g r o u p = j o b e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18883"
  },
  {
    "question": "What is Use advanced template parameters?",
    "answer": "I n   t h e   f i r s t   e x a m p l e ,   e a c h   i n s t a n c e   o f   t h e   t e m p l a t e   h a d   o n e   p a r a m e t e r ,   a n d   t h a t   p a r a m e t e r   w a s   a l s o   u s e d   i n   t h e   J o b ' s   n a m e .   H o w e v e r ,   n a m e s   a r e   r e s t r i c t e d   t o   c o n t a i n   o n l y   c e r t a i n   c h a r a c t e r s .   T h i s   s l i g h t l y   m o r e   c o m p l e x   e x a m p l e   u s e s   t h e   J i n j a   t e m p l a t e   l a n g u a g e   t o   g e n e r a t e   m a n i f e s t s   a n d   t h e n   o b j e c t s   f r o m   t h o s e   m a n i f e s t s ,   w i t h   a   m u l t i p l e   p a r a m e t e r s   f o r   e a c h   J o b .   F o r   t h i s   p a r t   o f   t h e   t a s k ,   y o u   a r e   g o i n g   t o   u s e   a   o n e - l i n e   P y t h o n   s c r i p t   t o   c o n v e r t   t h e   t e m p l a t e   t o   a   s e t   o f   m a n i f e s t s .   F i r s t ,   c o p y   a n d   p a s t e   t h e   f o l l o w i n g   t e m p l a t e   o f   a   J o b   o b j e c t ,   i n t o   a   f i l e   c a l l e d   j o b . y a m l . j i n j a 2 :   { %   s e t   p a r a m s   =   [ {   \" n a m e \" :   \" a p p l e \" ,   \" u r l \" :   \" h t t p : / / d b p e d i a . o r g / r e s o u r c e / A p p l e \" ,   } ,   {   \" n a m e \" :   \" b a n a n a \" ,   \" u r l \" :   \" h t t p : / / d b p e d i a . o r g / r e s o u r c e / B a n a n a \" ,   } ,   {   \" n a m e \" :   \" c h e r r y \" ,   \" u r l \" :   \" h t t p : / / d b p e d i a . o r g / r e s o u r c e / C h e r r y \"   } ]   % }   { %   f o r   p   i n   p a r a m s   % }   { %   s e t   n a m e   =   p [ \" n a m e \" ]   % }   { %   s e t   u r l   =   p [ \" u r l \" ]   % }   - - -   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   j o b e x a m p l e - { {   n a m e   } }   l a b e l s :   j o b g r o u p :   j o b e x a m p l e   s p e c :   t e m p l a t e :   m e t a d a t a :   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18884"
  },
  {
    "question": "What is Clean up?",
    "answer": "#   R e m o v e   t h e   J o b s   y o u   c r e a t e d   #   Y o u r   c l u s t e r   a u t o m a t i c a l l y   c l e a n s   u p   t h e i r   P o d s   k u b e c t l   d e l e t e   j o b   - l   j o b g r o u p = j o b e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18885"
  },
  {
    "question": "What is Using Jobs in real workloads?",
    "answer": "I n   a   r e a l   u s e   c a s e ,   e a c h   J o b   p e r f o r m s   s o m e   s u b s t a n t i a l   c o m p u t a t i o n ,   s u c h   a s   r e n d e r i n g   a   f r a m e   o f   a   m o v i e ,   o r   p r o c e s s i n g   a   r a n g e   o f   r o w s   i n   a   d a t a b a s e .   I f   y o u   w e r e   r e n d e r i n g   a   m o v i e   y o u   w o u l d   s e t   $ I T E M   t o   t h e   f r a m e   n u m b e r .   I f   y o u   w e r e   p r o c e s s i n g   r o w s   f r o m   a   d a t a b a s e   t a b l e ,   y o u   w o u l d   s e t   $ I T E M   t o   r e p r e s e n t   t h e   r a n g e   o f   d a t a b a s e   r o w s   t o   p r o c e s s .   I n   t h e   t a s k ,   y o u   r a n   a   c o m m a n d   t o   c o l l e c t   t h e   o u t p u t   f r o m   P o d s   b y   f e t c h i n g   t h e i r   l o g s .   I n   a   r e a l   u s e   c a s e ,   e a c h   P o d   f o r   a   J o b   w r i t e s   i t s   o u t p u t   t o   d u r a b l e   s t o r a g e   b e f o r e   c o m p l e t i n g .   Y o u   c a n   u s e   a   P e r s i s t e n t V o l u m e   f o r   e a c h   J o b ,   o r   a n   e x t e r n a l   s t o r a g e   s e r v i c e .   F o r   e x a m p l e ,   i f   y o u   a r e   r e n d e r i n g   f r a m e s   f o r   a   m o v i e ,   u s e   H T T P   t o   P U T   t h e   r e n d e r e d   f r a m e   d a t a   t o   a   U R L ,   u s i n g   a   d i f f e r e n t   U R L   f o r   e a c h   f r a m e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18886"
  },
  {
    "question": "What is Labels on Jobs and Pods?",
    "answer": "A f t e r   y o u   c r e a t e   a   J o b ,   K u b e r n e t e s   a u t o m a t i c a l l y   a d d s   a d d i t i o n a l   l a b e l s   t h a t   d i s t i n g u i s h   o n e   J o b ' s   p o d s   f r o m   a n o t h e r   J o b ' s   p o d s .   I n   t h i s   e x a m p l e ,   e a c h   J o b   a n d   i t s   P o d   t e m p l a t e   h a v e   a   l a b e l :   j o b g r o u p = j o b e x a m p l e .   K u b e r n e t e s   i t s e l f   p a y s   n o   a t t e n t i o n   t o   l a b e l s   n a m e d   j o b g r o u p .   S e t t i n g   a   l a b e l   f o r   a l l   t h e   J o b s   y o u   c r e a t e   f r o m   a   t e m p l a t e   m a k e s   i t   c o n v e n i e n t   t o   o p e r a t e   o n   a l l   t h o s e   J o b s   a t   o n c e .   I n   t h e   f i r s t   e x a m p l e   y o u   u s e d   a   t e m p l a t e   t o   c r e a t e   s e v e r a l   J o b s .   T h e   t e m p l a t e   e n s u r e s   t h a t   e a c h   P o d   a l s o   g e t s   t h e   s a m e   l a b e l ,   s o   y o u   c a n   c h e c k   o n   a l l   P o d s   f o r   t h e s e   t e m p l a t e d   J o b s   w i t h   a   s i n g l e   c o m m a n d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18887"
  },
  {
    "question": "What is Alternatives?",
    "answer": "I f   y o u   p l a n   t o   c r e a t e   a   l a r g e   n u m b e r   o f   J o b   o b j e c t s ,   y o u   m a y   f i n d   t h a t :   E v e n   u s i n g   l a b e l s ,   m a n a g i n g   s o   m a n y   J o b s   i s   c u m b e r s o m e . I f   y o u   c r e a t e   m a n y   J o b s   i n   a   b a t c h ,   y o u   m i g h t   p l a c e   h i g h   l o a d   o n   t h e   K u b e r n e t e s   c o n t r o l   p l a n e .   A l t e r n a t i v e l y ,   t h e   K u b e r n e t e s   A P I   s e r v e r   c o u l d   r a t e   l i m i t   y o u ,   t e m p o r a r i l y   r e j e c t i n g   y o u r   r e q u e s t s   w i t h   a   4 2 9   s t a t u s . Y o u   a r e   l i m i t e d   b y   a   r e s o u r c e   q u o t a   o n   J o b s :   t h e   A P I   s e r v e r   p e r m a n e n t l y   r e j e c t s   s o m e   o f   y o u r   r e q u e s t s   w h e n   y o u   c r e a t e   a   g r e a t   d e a l   o f   w o r k   i n   o n e   b a t c h .   T h e r e   a r e   o t h e r   j o b   p a t t e r n s   t h a t   y o u   c a n   u s e   t o   p r o c e s s   l a r g e   a m o u n t s   o f   w o r k   w i t h o u t   c r e a t i n g   v e r y   m a n y   J o b   o b j e c t s .   Y o u   c o u l d   a l s o   c o n s i d e r   w r i t i n g   y o u r   o w n   c o n t r o l l e r   t o   m a n a g e   J o b   o b j e c t s   a u t o m a t i c a l l y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18888"
  },
  {
    "question": "What is 9.7 - Handling retriable and non-retriable pod failures with Pod failure policy?",
    "answer": "T h i s   d o c u m e n t   s h o w s   y o u   h o w   t o   u s e   t h e   P o d   f a i l u r e   p o l i c y ,   i n   c o m b i n a t i o n   w i t h   t h e   d e f a u l t   P o d   b a c k o f f   f a i l u r e   p o l i c y ,   t o   i m p r o v e   t h e   c o n t r o l   o v e r   t h e   h a n d l i n g   o f   c o n t a i n e r -   o r   P o d - l e v e l   f a i l u r e   w i t h i n   a   J o b .   T h e   d e f i n i t i o n   o f   P o d   f a i l u r e   p o l i c y   m a y   h e l p   y o u   t o :   b e t t e r   u t i l i z e   t h e   c o m p u t a t i o n a l   r e s o u r c e s   b y   a v o i d i n g   u n n e c e s s a r y   P o d   r e t r i e s . a v o i d   J o b   f a i l u r e s   d u e   t o   P o d   d i s r u p t i o n s   ( s u c h   p r e e m p t i o n ,   A P I - i n i t i a t e d   e v i c t i o n   o r   t a i n t - b a s e d   e v i c t i o n ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18889"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   s h o u l d   a l r e a d y   b e   f a m i l i a r   w i t h   t h e   b a s i c   u s e   o f   J o b .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 2 5 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18890"
  },
  {
    "question": "What is Usage scenarios?",
    "answer": "C o n s i d e r   t h e   f o l l o w i n g   u s a g e   s c e n a r i o s   f o r   J o b s   t h a t   d e f i n e   a   P o d   f a i l u r e   p o l i c y   :   A v o i d i n g   u n n e c e s s a r y   P o d   r e t r i e s I g n o r i n g   P o d   d i s r u p t i o n s A v o i d i n g   u n n e c e s s a r y   P o d   r e t r i e s   b a s e d   o n   c u s t o m   P o d   C o n d i t i o n s A v o i d i n g   u n n e c e s s a r y   P o d   r e t r i e s   p e r   i n d e x",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18891"
  },
  {
    "question": "What is Using Pod failure policy to avoid unnecessary Pod retries?",
    "answer": "W i t h   t h e   f o l l o w i n g   e x a m p l e ,   y o u   c a n   l e a r n   h o w   t o   u s e   P o d   f a i l u r e   p o l i c y   t o   a v o i d   u n n e c e s s a r y   P o d   r e s t a r t s   w h e n   a   P o d   f a i l u r e   i n d i c a t e s   a   n o n - r e t r i a b l e   s o f t w a r e   b u g .   E x a m i n e   t h e   f o l l o w i n g   m a n i f e s t : / c o n t r o l l e r s / j o b - p o d - f a i l u r e - p o l i c y - f a i l j o b . y a m l   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   j o b - p o d - f a i l u r e - p o l i c y - f a i l j o b   s p e c :   c o m p l e t i o n s :   8   p a r a l l e l i s m :   2   t e m p l a t e :   s p e c :   r e s t a r t P o l i c y :   N e v e r   c o n t a i n e r s :   -   n a m e :   m a i n   i m a g e :   d o c k e r . i o / l i b r a r y / b a s h : 5   c o m m a n d :   [ \" b a s h \" ]   a r g s :   -   - c   -   e c h o   \" H e l l o   w o r l d !   I ' m   g o i n g   t o   e x i t   w i t h   4 2   t o   s i m u l a t e   a   s o f t w a r e   b u g . \"   & &   s l e e p   3 0   & &   e x i t   4 2   b a c k o f f L i m i t :   6   p o d F a i l u r e P o l i c y :   r u l e s :   -   a c t i o n :   F a i l J o b   o n E x i t C o d e s :   c o n t a i n e r N a m e :   m a i n   o p e r a t o r :   I n   v a l u e s :   [ 4 2 ]   A p p l y   t h e   m a n i f e s t : k u b e c t l   c r e a t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / c o n t r o l l e r s / j o b - p o d - f a i l u r e - p o l i c y - f a i l j o b . y a m l   A f t e r   a r o u n d   3 0   s e c o n d s   t h e   e n t i r e   J o b   s h o u l d   b e   t e r m i n a t e d .   I n s p e c t   t h e   s t a t u s   o f   t h e   J o b   b y   r u n n i n g : k u b e c t l   g e t   j o b s   - l   j o b - n a m e = j o b - p o d - f a i l u r e - p o l i c y - f a i l j o b   - o   y a m l   I n   t h e   J o b   s t a t u s ,   t h e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18892"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   t h e   J o b   y o u   c r e a t e d :   k u b e c t l   d e l e t e   j o b s / j o b - p o d - f a i l u r e - p o l i c y - f a i l j o b   T h e   c l u s t e r   a u t o m a t i c a l l y   c l e a n s   u p   t h e   P o d s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18893"
  },
  {
    "question": "What is Using Pod failure policy to ignore Pod disruptions?",
    "answer": "W i t h   t h e   f o l l o w i n g   e x a m p l e ,   y o u   c a n   l e a r n   h o w   t o   u s e   P o d   f a i l u r e   p o l i c y   t o   i g n o r e   P o d   d i s r u p t i o n s   f r o m   i n c r e m e n t i n g   t h e   P o d   r e t r y   c o u n t e r   t o w a r d s   t h e   . s p e c . b a c k o f f L i m i t   l i m i t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18894"
  },
  {
    "question": "What is Caution:?",
    "answer": "E x a m i n e   t h e   f o l l o w i n g   m a n i f e s t : / c o n t r o l l e r s / j o b - p o d - f a i l u r e - p o l i c y - i g n o r e . y a m l   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   j o b - p o d - f a i l u r e - p o l i c y - i g n o r e   s p e c :   c o m p l e t i o n s :   4   p a r a l l e l i s m :   2   t e m p l a t e :   s p e c :   r e s t a r t P o l i c y :   N e v e r   c o n t a i n e r s :   -   n a m e :   m a i n   i m a g e :   d o c k e r . i o / l i b r a r y / b a s h : 5   c o m m a n d :   [ \" b a s h \" ]   a r g s :   -   - c   -   e c h o   \" H e l l o   w o r l d !   I ' m   g o i n g   t o   e x i t   w i t h   0   ( s u c c e s s ) . \"   & &   s l e e p   9 0   & &   e x i t   0   b a c k o f f L i m i t :   0   p o d F a i l u r e P o l i c y :   r u l e s :   -   a c t i o n :   I g n o r e   o n P o d C o n d i t i o n s :   -   t y p e :   D i s r u p t i o n T a r g e t   A p p l y   t h e   m a n i f e s t : k u b e c t l   c r e a t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / c o n t r o l l e r s / j o b - p o d - f a i l u r e - p o l i c y - i g n o r e . y a m l   R u n   t h i s   c o m m a n d   t o   c h e c k   t h e   n o d e N a m e   t h e   P o d   i s   s c h e d u l e d   t o : n o d e N a m e = $ ( k u b e c t l   g e t   p o d s   - l   j o b - n a m e = j o b - p o d - f a i l u r e - p o l i c y - i g n o r e   - o   j s o n p a t h = ' { . i t e m s [ 0 ] . s p e c . n o d e N a m e } ' )   D r a i n   t h e   n o d e   t o   e v i c t   t h e   P o d   b e f o r e   i t   c o m p l e t e s   ( w i t h i n   9 0 s ) : k u b e c t l   d r a i n   n o d e s / $ n o d e N a m e   - - i g n o r e - d a e m o n s e t s   - - g r a c e - p e r i o d = 0   I n s p e c t   t h e   . s t a t u s . f a i l e d   t o   c h e c k   t h e   c o u n t e r   f o r   t h e   J o b   i s   n o t   i n c r e m e n t e d : k u b e c t l   g e t   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18895"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "D e l e t e   t h e   J o b   y o u   c r e a t e d :   k u b e c t l   d e l e t e   j o b s / j o b - p o d - f a i l u r e - p o l i c y - i g n o r e   T h e   c l u s t e r   a u t o m a t i c a l l y   c l e a n s   u p   t h e   P o d s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18896"
  },
  {
    "question": "What is Using Pod failure policy to avoid unnecessary Pod retries based on custom Pod Conditions?",
    "answer": "W i t h   t h e   f o l l o w i n g   e x a m p l e ,   y o u   c a n   l e a r n   h o w   t o   u s e   P o d   f a i l u r e   p o l i c y   t o   a v o i d   u n n e c e s s a r y   P o d   r e s t a r t s   b a s e d   o n   c u s t o m   P o d   C o n d i t i o n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18897"
  },
  {
    "question": "What is Note:?",
    "answer": "E x a m i n e   t h e   f o l l o w i n g   m a n i f e s t : / c o n t r o l l e r s / j o b - p o d - f a i l u r e - p o l i c y - c o n f i g - i s s u e . y a m l   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   j o b - p o d - f a i l u r e - p o l i c y - c o n f i g - i s s u e   s p e c :   c o m p l e t i o n s :   8   p a r a l l e l i s m :   2   t e m p l a t e :   s p e c :   r e s t a r t P o l i c y :   N e v e r   c o n t a i n e r s :   -   n a m e :   m a i n   i m a g e :   \" n o n - e x i s t i n g - r e p o / n o n - e x i s t i n g - i m a g e : e x a m p l e \"   b a c k o f f L i m i t :   6   p o d F a i l u r e P o l i c y :   r u l e s :   -   a c t i o n :   F a i l J o b   o n P o d C o n d i t i o n s :   -   t y p e :   C o n f i g I s s u e   A p p l y   t h e   m a n i f e s t : k u b e c t l   c r e a t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / c o n t r o l l e r s / j o b - p o d - f a i l u r e - p o l i c y - c o n f i g - i s s u e . y a m l   N o t e   t h a t ,   t h e   i m a g e   i s   m i s c o n f i g u r e d ,   a s   i t   d o e s   n o t   e x i s t . I n s p e c t   t h e   s t a t u s   o f   t h e   j o b ' s   P o d s   b y   r u n n i n g : k u b e c t l   g e t   p o d s   - l   j o b - n a m e = j o b - p o d - f a i l u r e - p o l i c y - c o n f i g - i s s u e   - o   y a m l   Y o u   w i l l   s e e   o u t p u t   s i m i l a r   t o   t h i s : c o n t a i n e r S t a t u s e s :   -   i m a g e :   n o n - e x i s t i n g - r e p o / n o n - e x i s t i n g - i m a g e : e x a m p l e   . . .   s t a t e :   w a i t i n g :   m e s s a g e :   B a c k - o f f   p u l l i n g   i m a g e   \" n o n - e x i s t i n g - r e p o / n o n - e x i s t i n g - i m a g e : e x a m p l e \"   r e a s o n :   I m a g e P u l l B a c k O f f   . . .   p h a s e :   P e n d i n g   N o t e   t h a t   t h e   p o d   r e m a i n s   i n   t h e   P e n d ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18898"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "D e l e t e   t h e   J o b   y o u   c r e a t e d :   k u b e c t l   d e l e t e   j o b s / j o b - p o d - f a i l u r e - p o l i c y - c o n f i g - i s s u e   T h e   c l u s t e r   a u t o m a t i c a l l y   c l e a n s   u p   t h e   P o d s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18899"
  },
  {
    "question": "What is Using Pod Failure Policy to avoid unnecessary Pod retries per index?",
    "answer": "T o   a v o i d   u n n e c e s s a r y   P o d   r e s t a r t s   p e r   i n d e x ,   y o u   c a n   u s e   t h e   P o d   f a i l u r e   p o l i c y   a n d   b a c k o f f   l i m i t   p e r   i n d e x   f e a t u r e s .   T h i s   s e c t i o n   o f   t h e   p a g e   s h o w s   h o w   t o   u s e   t h e s e   f e a t u r e s   t o g e t h e r .   E x a m i n e   t h e   f o l l o w i n g   m a n i f e s t : / c o n t r o l l e r s / j o b - b a c k o f f - l i m i t - p e r - i n d e x - f a i l i n d e x . y a m l   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   j o b - b a c k o f f - l i m i t - p e r - i n d e x - f a i l i n d e x   s p e c :   c o m p l e t i o n s :   4   p a r a l l e l i s m :   2   c o m p l e t i o n M o d e :   I n d e x e d   b a c k o f f L i m i t P e r I n d e x :   1   t e m p l a t e :   s p e c :   r e s t a r t P o l i c y :   N e v e r   c o n t a i n e r s :   -   n a m e :   m a i n   i m a g e :   d o c k e r . i o / l i b r a r y / p y t h o n : 3   c o m m a n d :   #   T h e   s c r i p t :   #   -   f a i l s   t h e   P o d   w i t h   i n d e x   0   w i t h   e x i t   c o d e   1 ,   w h i c h   r e s u l t s   i n   o n e   r e t r y ;   #   -   f a i l s   t h e   P o d   w i t h   i n d e x   1   w i t h   e x i t   c o d e   4 2   w h i c h   r e s u l t s   #   i n   f a i l i n g   t h e   i n d e x   w i t h o u t   r e t r y .   #   -   s u c c e e d s   P o d s   w i t h   a n y   o t h e r   i n d e x .   -   p y t h o n 3   -   - c   -   |   i m p o r t   o s ,   s y s   i n d e x   =   i n t ( o s . e n v i r o n . g e t ( \" J O B _ C O M P L E T I O N _ I N D E X \" ) )   i f   i n d e x   = =   0 :   s y s . e x i t ( 1 )   e l i f   i n d e x   = =   1 :   s y s . e x i t ( 4 2 )   e l s e :   s y s . e x i t ( 0 )   b a c k o f f L i m i t :   6   p o d F a i l u r e P o l i c y :   r u l e s :   -   a c t i o n :   F a i l I n d e x   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18900"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "D e l e t e   t h e   J o b   y o u   c r e a t e d :   k u b e c t l   d e l e t e   j o b s / j o b - b a c k o f f - l i m i t - p e r - i n d e x - f a i l i n d e x   T h e   c l u s t e r   a u t o m a t i c a l l y   c l e a n s   u p   t h e   P o d s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18901"
  },
  {
    "question": "What is Alternatives?",
    "answer": "Y o u   c o u l d   r e l y   s o l e l y   o n   t h e   P o d   b a c k o f f   f a i l u r e   p o l i c y ,   b y   s p e c i f y i n g   t h e   J o b ' s   . s p e c . b a c k o f f L i m i t   f i e l d .   H o w e v e r ,   i n   m a n y   s i t u a t i o n s   i t   i s   p r o b l e m a t i c   t o   f i n d   a   b a l a n c e   b e t w e e n   s e t t i n g   a   l o w   v a l u e   f o r   . s p e c . b a c k o f f L i m i t   t o   a v o i d   u n n e c e s s a r y   P o d   r e t r i e s ,   y e t   h i g h   e n o u g h   t o   m a k e   s u r e   t h e   J o b   w o u l d   n o t   b e   t e r m i n a t e d   b y   P o d   d i s r u p t i o n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18902"
  },
  {
    "question": "What is 10.1 - Deploy and Access the Kubernetes Dashboard?",
    "answer": "D a s h b o a r d   i s   a   w e b - b a s e d   K u b e r n e t e s   u s e r   i n t e r f a c e .   Y o u   c a n   u s e   D a s h b o a r d   t o   d e p l o y   c o n t a i n e r i z e d   a p p l i c a t i o n s   t o   a   K u b e r n e t e s   c l u s t e r ,   t r o u b l e s h o o t   y o u r   c o n t a i n e r i z e d   a p p l i c a t i o n ,   a n d   m a n a g e   t h e   c l u s t e r   r e s o u r c e s .   Y o u   c a n   u s e   D a s h b o a r d   t o   g e t   a n   o v e r v i e w   o f   a p p l i c a t i o n s   r u n n i n g   o n   y o u r   c l u s t e r ,   a s   w e l l   a s   f o r   c r e a t i n g   o r   m o d i f y i n g   i n d i v i d u a l   K u b e r n e t e s   r e s o u r c e s   ( s u c h   a s   D e p l o y m e n t s ,   J o b s ,   D a e m o n S e t s ,   e t c ) .   F o r   e x a m p l e ,   y o u   c a n   s c a l e   a   D e p l o y m e n t ,   i n i t i a t e   a   r o l l i n g   u p d a t e ,   r e s t a r t   a   p o d   o r   d e p l o y   n e w   a p p l i c a t i o n s   u s i n g   a   d e p l o y   w i z a r d .   D a s h b o a r d   a l s o   p r o v i d e s   i n f o r m a t i o n   o n   t h e   s t a t e   o f   K u b e r n e t e s   r e s o u r c e s   i n   y o u r   c l u s t e r   a n d   o n   a n y   e r r o r s   t h a t   m a y   h a v e   o c c u r r e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18903"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   D a s h b o a r d   U I   i s   n o t   d e p l o y e d   b y   d e f a u l t .   T o   d e p l o y   i t ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   #   A d d   k u b e r n e t e s - d a s h b o a r d   r e p o s i t o r y   h e l m   r e p o   a d d   k u b e r n e t e s - d a s h b o a r d   h t t p s : / / k u b e r n e t e s . g i t h u b . i o / d a s h b o a r d /   #   D e p l o y   a   H e l m   R e l e a s e   n a m e d   \" k u b e r n e t e s - d a s h b o a r d \"   u s i n g   t h e   k u b e r n e t e s - d a s h b o a r d   c h a r t   h e l m   u p g r a d e   - - i n s t a l l   k u b e r n e t e s - d a s h b o a r d   k u b e r n e t e s - d a s h b o a r d / k u b e r n e t e s - d a s h b o a r d   - - c r e a t e - n a m e s p a c e   - - n a m e s p a c e   k u b e r n e t e s - d a s h b o a r d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18904"
  },
  {
    "question": "What is Accessing the Dashboard UI?",
    "answer": "T o   p r o t e c t   y o u r   c l u s t e r   d a t a ,   D a s h b o a r d   d e p l o y s   w i t h   a   m i n i m a l   R B A C   c o n f i g u r a t i o n   b y   d e f a u l t .   C u r r e n t l y ,   D a s h b o a r d   o n l y   s u p p o r t s   l o g g i n g   i n   w i t h   a   B e a r e r   T o k e n .   T o   c r e a t e   a   t o k e n   f o r   t h i s   d e m o ,   y o u   c a n   f o l l o w   o u r   g u i d e   o n   c r e a t i n g   a   s a m p l e   u s e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18905"
  },
  {
    "question": "What is Command line proxy?",
    "answer": "Y o u   c a n   e n a b l e   a c c e s s   t o   t h e   D a s h b o a r d   u s i n g   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l ,   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   - n   k u b e r n e t e s - d a s h b o a r d   p o r t - f o r w a r d   s v c / k u b e r n e t e s - d a s h b o a r d - k o n g - p r o x y   8 4 4 3 : 4 4 3   K u b e c t l   w i l l   m a k e   D a s h b o a r d   a v a i l a b l e   a t   h t t p s : / / l o c a l h o s t : 8 4 4 3 .   T h e   U I   c a n   o n l y   b e   a c c e s s e d   f r o m   t h e   m a c h i n e   w h e r e   t h e   c o m m a n d   i s   e x e c u t e d .   S e e   k u b e c t l   p o r t - f o r w a r d   - - h e l p   f o r   m o r e   o p t i o n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18906"
  },
  {
    "question": "What is Welcome view?",
    "answer": "W h e n   y o u   a c c e s s   D a s h b o a r d   o n   a n   e m p t y   c l u s t e r ,   y o u ' l l   s e e   t h e   w e l c o m e   p a g e .   T h i s   p a g e   c o n t a i n s   a   l i n k   t o   t h i s   d o c u m e n t   a s   w e l l   a s   a   b u t t o n   t o   d e p l o y   y o u r   f i r s t   a p p l i c a t i o n .   I n   a d d i t i o n ,   y o u   c a n   v i e w   w h i c h   s y s t e m   a p p l i c a t i o n s   a r e   r u n n i n g   b y   d e f a u l t   i n   t h e   k u b e - s y s t e m   n a m e s p a c e   o f   y o u r   c l u s t e r ,   f o r   e x a m p l e   t h e   D a s h b o a r d   i t s e l f .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18907"
  },
  {
    "question": "What is Deploying containerized applications?",
    "answer": "D a s h b o a r d   l e t s   y o u   c r e a t e   a n d   d e p l o y   a   c o n t a i n e r i z e d   a p p l i c a t i o n   a s   a   D e p l o y m e n t   a n d   o p t i o n a l   S e r v i c e   w i t h   a   s i m p l e   w i z a r d .   Y o u   c a n   e i t h e r   m a n u a l l y   s p e c i f y   a p p l i c a t i o n   d e t a i l s ,   o r   u p l o a d   a   Y A M L   o r   J S O N   m a n i f e s t   f i l e   c o n t a i n i n g   a p p l i c a t i o n   c o n f i g u r a t i o n .   C l i c k   t h e   C R E A T E   b u t t o n   i n   t h e   u p p e r   r i g h t   c o r n e r   o f   a n y   p a g e   t o   b e g i n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18908"
  },
  {
    "question": "What is Specifying application details?",
    "answer": "T h e   d e p l o y   w i z a r d   e x p e c t s   t h a t   y o u   p r o v i d e   t h e   f o l l o w i n g   i n f o r m a t i o n :   A p p   n a m e   ( m a n d a t o r y ) :   N a m e   f o r   y o u r   a p p l i c a t i o n .   A   l a b e l   w i t h   t h e   n a m e   w i l l   b e   a d d e d   t o   t h e   D e p l o y m e n t   a n d   S e r v i c e ,   i f   a n y ,   t h a t   w i l l   b e   d e p l o y e d . T h e   a p p l i c a t i o n   n a m e   m u s t   b e   u n i q u e   w i t h i n   t h e   s e l e c t e d   K u b e r n e t e s   n a m e s p a c e .   I t   m u s t   s t a r t   w i t h   a   l o w e r c a s e   c h a r a c t e r ,   a n d   e n d   w i t h   a   l o w e r c a s e   c h a r a c t e r   o r   a   n u m b e r ,   a n d   c o n t a i n   o n l y   l o w e r c a s e   l e t t e r s ,   n u m b e r s   a n d   d a s h e s   ( - ) .   I t   i s   l i m i t e d   t o   2 4   c h a r a c t e r s .   L e a d i n g   a n d   t r a i l i n g   s p a c e s   a r e   i g n o r e d . C o n t a i n e r   i m a g e   ( m a n d a t o r y ) :   T h e   U R L   o f   a   p u b l i c   D o c k e r   c o n t a i n e r   i m a g e   o n   a n y   r e g i s t r y ,   o r   a   p r i v a t e   i m a g e   ( c o m m o n l y   h o s t e d   o n   t h e   G o o g l e   C o n t a i n e r   R e g i s t r y   o r   D o c k e r   H u b ) .   T h e   c o n t a i n e r   i m a g e   s p e c i f i c a t i o n   m u s t   e n d   w i t h   a   c o l o n . N u m b e r   o f   p o d s   ( m a n d a t o r y ) :   T h e   t a r g e t   n u m b e r   o f   P o d s   y o u   w a n t   y o u r   a p p l i c a t i o n   t o   b e   d e p l o y e d   i n .   T h e   v a l u e   m u s t   b e   a   p o s i t i v e   i n t e g e r . A   D e p l o y m e n t   w i l l   b e   c r e a t e d   t o   m a i n t a i n   t h e   d e s i r e d   n u m b e r   o f   P o d s   a c r o s s   y o u r   c l u s t e r . S e r v i c e   ( o p t i o n a l ) :   F o r   s o m e   p ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18909"
  },
  {
    "question": "What is Note:?",
    "answer": "O t h e r   S e r v i c e s   t h a t   a r e   o n l y   v i s i b l e   f r o m   i n s i d e   t h e   c l u s t e r   a r e   c a l l e d   i n t e r n a l   S e r v i c e s .   I r r e s p e c t i v e   o f   t h e   S e r v i c e   t y p e ,   i f   y o u   c h o o s e   t o   c r e a t e   a   S e r v i c e   a n d   y o u r   c o n t a i n e r   l i s t e n s   o n   a   p o r t   ( i n c o m i n g ) ,   y o u   n e e d   t o   s p e c i f y   t w o   p o r t s .   T h e   S e r v i c e   w i l l   b e   c r e a t e d   m a p p i n g   t h e   p o r t   ( i n c o m i n g )   t o   t h e   t a r g e t   p o r t   s e e n   b y   t h e   c o n t a i n e r .   T h i s   S e r v i c e   w i l l   r o u t e   t o   y o u r   d e p l o y e d   P o d s .   S u p p o r t e d   p r o t o c o l s   a r e   T C P   a n d   U D P .   T h e   i n t e r n a l   D N S   n a m e   f o r   t h i s   S e r v i c e   w i l l   b e   t h e   v a l u e   y o u   s p e c i f i e d   a s   a p p l i c a t i o n   n a m e   a b o v e .   I f   n e e d e d ,   y o u   c a n   e x p a n d   t h e   A d v a n c e d   o p t i o n s   s e c t i o n   w h e r e   y o u   c a n   s p e c i f y   m o r e   s e t t i n g s :   D e s c r i p t i o n :   T h e   t e x t   y o u   e n t e r   h e r e   w i l l   b e   a d d e d   a s   a n   a n n o t a t i o n   t o   t h e   D e p l o y m e n t   a n d   d i s p l a y e d   i n   t h e   a p p l i c a t i o n ' s   d e t a i l s . L a b e l s :   D e f a u l t   l a b e l s   t o   b e   u s e d   f o r   y o u r   a p p l i c a t i o n   a r e   a p p l i c a t i o n   n a m e   a n d   v e r s i o n .   Y o u   c a n   s p e c i f y   a d d i t i o n a l   l a b e l s   t o   b e   a p p l i e d   t o   t h e   D e p l o y m e n t ,   S e r v i c e   ( i f   a n y ) ,   a n d   P o d s ,   s u c h   a s   r e l e a s e ,   e n v i r o n m e n t ,   t i e r ,   p a r t i t i o n ,   a n d   r e l e a s e   t r a c k . E x a m p l e : r e l ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18910"
  },
  {
    "question": "What is Uploading a YAML or JSON file?",
    "answer": "K u b e r n e t e s   s u p p o r t s   d e c l a r a t i v e   c o n f i g u r a t i o n .   I n   t h i s   s t y l e ,   a l l   c o n f i g u r a t i o n   i s   s t o r e d   i n   m a n i f e s t s   ( Y A M L   o r   J S O N   c o n f i g u r a t i o n   f i l e s ) .   T h e   m a n i f e s t s   u s e   K u b e r n e t e s   A P I   r e s o u r c e   s c h e m a s .   A s   a n   a l t e r n a t i v e   t o   s p e c i f y i n g   a p p l i c a t i o n   d e t a i l s   i n   t h e   d e p l o y   w i z a r d ,   y o u   c a n   d e f i n e   y o u r   a p p l i c a t i o n   i n   o n e   o r   m o r e   m a n i f e s t s ,   a n d   u p l o a d   t h e   f i l e s   u s i n g   D a s h b o a r d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18911"
  },
  {
    "question": "What is Using Dashboard?",
    "answer": "F o l l o w i n g   s e c t i o n s   d e s c r i b e   v i e w s   o f   t h e   K u b e r n e t e s   D a s h b o a r d   U I ;   w h a t   t h e y   p r o v i d e   a n d   h o w   c a n   t h e y   b e   u s e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18912"
  },
  {
    "question": "What is Navigation?",
    "answer": "W h e n   t h e r e   a r e   K u b e r n e t e s   o b j e c t s   d e f i n e d   i n   t h e   c l u s t e r ,   D a s h b o a r d   s h o w s   t h e m   i n   t h e   i n i t i a l   v i e w .   B y   d e f a u l t   o n l y   o b j e c t s   f r o m   t h e   d e f a u l t   n a m e s p a c e   a r e   s h o w n   a n d   t h i s   c a n   b e   c h a n g e d   u s i n g   t h e   n a m e s p a c e   s e l e c t o r   l o c a t e d   i n   t h e   n a v i g a t i o n   m e n u .   D a s h b o a r d   s h o w s   m o s t   K u b e r n e t e s   o b j e c t   k i n d s   a n d   g r o u p s   t h e m   i n   a   f e w   m e n u   c a t e g o r i e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18913"
  },
  {
    "question": "What is Admin overview?",
    "answer": "F o r   c l u s t e r   a n d   n a m e s p a c e   a d m i n i s t r a t o r s ,   D a s h b o a r d   l i s t s   N o d e s ,   N a m e s p a c e s   a n d   P e r s i s t e n t V o l u m e s   a n d   h a s   d e t a i l   v i e w s   f o r   t h e m .   N o d e   l i s t   v i e w   c o n t a i n s   C P U   a n d   m e m o r y   u s a g e   m e t r i c s   a g g r e g a t e d   a c r o s s   a l l   N o d e s .   T h e   d e t a i l s   v i e w   s h o w s   t h e   m e t r i c s   f o r   a   N o d e ,   i t s   s p e c i f i c a t i o n ,   s t a t u s ,   a l l o c a t e d   r e s o u r c e s ,   e v e n t s   a n d   p o d s   r u n n i n g   o n   t h e   n o d e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18914"
  },
  {
    "question": "What is Workloads?",
    "answer": "S h o w s   a l l   a p p l i c a t i o n s   r u n n i n g   i n   t h e   s e l e c t e d   n a m e s p a c e .   T h e   v i e w   l i s t s   a p p l i c a t i o n s   b y   w o r k l o a d   k i n d   ( f o r   e x a m p l e :   D e p l o y m e n t s ,   R e p l i c a S e t s ,   S t a t e f u l S e t s ) .   E a c h   w o r k l o a d   k i n d   c a n   b e   v i e w e d   s e p a r a t e l y .   T h e   l i s t s   s u m m a r i z e   a c t i o n a b l e   i n f o r m a t i o n   a b o u t   t h e   w o r k l o a d s ,   s u c h   a s   t h e   n u m b e r   o f   r e a d y   p o d s   f o r   a   R e p l i c a S e t   o r   c u r r e n t   m e m o r y   u s a g e   f o r   a   P o d .   D e t a i l   v i e w s   f o r   w o r k l o a d s   s h o w   s t a t u s   a n d   s p e c i f i c a t i o n   i n f o r m a t i o n   a n d   s u r f a c e   r e l a t i o n s h i p s   b e t w e e n   o b j e c t s .   F o r   e x a m p l e ,   P o d s   t h a t   R e p l i c a S e t   i s   c o n t r o l l i n g   o r   n e w   R e p l i c a S e t s   a n d   H o r i z o n t a l P o d A u t o s c a l e r s   f o r   D e p l o y m e n t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18915"
  },
  {
    "question": "What is Services?",
    "answer": "S h o w s   K u b e r n e t e s   r e s o u r c e s   t h a t   a l l o w   f o r   e x p o s i n g   s e r v i c e s   t o   e x t e r n a l   w o r l d   a n d   d i s c o v e r i n g   t h e m   w i t h i n   a   c l u s t e r .   F o r   t h a t   r e a s o n ,   S e r v i c e   a n d   I n g r e s s   v i e w s   s h o w   P o d s   t a r g e t e d   b y   t h e m ,   i n t e r n a l   e n d p o i n t s   f o r   c l u s t e r   c o n n e c t i o n s   a n d   e x t e r n a l   e n d p o i n t s   f o r   e x t e r n a l   u s e r s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18916"
  },
  {
    "question": "What is Storage?",
    "answer": "S t o r a g e   v i e w   s h o w s   P e r s i s t e n t V o l u m e C l a i m   r e s o u r c e s   w h i c h   a r e   u s e d   b y   a p p l i c a t i o n s   f o r   s t o r i n g   d a t a .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18917"
  },
  {
    "question": "What is ConfigMaps and Secrets?",
    "answer": "S h o w s   a l l   K u b e r n e t e s   r e s o u r c e s   t h a t   a r e   u s e d   f o r   l i v e   c o n f i g u r a t i o n   o f   a p p l i c a t i o n s   r u n n i n g   i n   c l u s t e r s .   T h e   v i e w   a l l o w s   f o r   e d i t i n g   a n d   m a n a g i n g   c o n f i g   o b j e c t s   a n d   d i s p l a y s   s e c r e t s   h i d d e n   b y   d e f a u l t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18918"
  },
  {
    "question": "What is Logs viewer?",
    "answer": "P o d   l i s t s   a n d   d e t a i l   p a g e s   l i n k   t o   a   l o g s   v i e w e r   t h a t   i s   b u i l t   i n t o   D a s h b o a r d .   T h e   v i e w e r   a l l o w s   f o r   d r i l l i n g   d o w n   l o g s   f r o m   c o n t a i n e r s   b e l o n g i n g   t o   a   s i n g l e   P o d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18919"
  },
  {
    "question": "What is What's next?",
    "answer": "F o r   m o r e   i n f o r m a t i o n ,   s e e   t h e   K u b e r n e t e s   D a s h b o a r d   p r o j e c t   p a g e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18920"
  },
  {
    "question": "What is 10.2 - Accessing Clusters?",
    "answer": "T h i s   t o p i c   d i s c u s s e s   m u l t i p l e   w a y s   t o   i n t e r a c t   w i t h   c l u s t e r s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18921"
  },
  {
    "question": "What is Accessing for the first time with kubectl?",
    "answer": "W h e n   a c c e s s i n g   t h e   K u b e r n e t e s   A P I   f o r   t h e   f i r s t   t i m e ,   w e   s u g g e s t   u s i n g   t h e   K u b e r n e t e s   C L I ,   k u b e c t l .   T o   a c c e s s   a   c l u s t e r ,   y o u   n e e d   t o   k n o w   t h e   l o c a t i o n   o f   t h e   c l u s t e r   a n d   h a v e   c r e d e n t i a l s   t o   a c c e s s   i t .   T y p i c a l l y ,   t h i s   i s   a u t o m a t i c a l l y   s e t - u p   w h e n   y o u   w o r k   t h r o u g h   a   G e t t i n g   s t a r t e d   g u i d e ,   o r   s o m e o n e   e l s e   s e t   u p   t h e   c l u s t e r   a n d   p r o v i d e d   y o u   w i t h   c r e d e n t i a l s   a n d   a   l o c a t i o n .   C h e c k   t h e   l o c a t i o n   a n d   c r e d e n t i a l s   t h a t   k u b e c t l   k n o w s   a b o u t   w i t h   t h i s   c o m m a n d :   k u b e c t l   c o n f i g   v i e w   M a n y   o f   t h e   e x a m p l e s   p r o v i d e   a n   i n t r o d u c t i o n   t o   u s i n g   k u b e c t l ,   a n d   c o m p l e t e   d o c u m e n t a t i o n   i s   f o u n d   i n   t h e   k u b e c t l   r e f e r e n c e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18922"
  },
  {
    "question": "What is Directly accessing the REST API?",
    "answer": "K u b e c t l   h a n d l e s   l o c a t i n g   a n d   a u t h e n t i c a t i n g   t o   t h e   a p i s e r v e r .   I f   y o u   w a n t   t o   d i r e c t l y   a c c e s s   t h e   R E S T   A P I   w i t h   a n   h t t p   c l i e n t   l i k e   c u r l   o r   w g e t ,   o r   a   b r o w s e r ,   t h e r e   a r e   s e v e r a l   w a y s   t o   l o c a t e   a n d   a u t h e n t i c a t e :   R u n   k u b e c t l   i n   p r o x y   m o d e . R e c o m m e n d e d   a p p r o a c h . U s e s   s t o r e d   a p i s e r v e r   l o c a t i o n . V e r i f i e s   i d e n t i t y   o f   a p i s e r v e r   u s i n g   s e l f - s i g n e d   c e r t .   N o   M I T M   p o s s i b l e . A u t h e n t i c a t e s   t o   a p i s e r v e r . I n   f u t u r e ,   m a y   d o   i n t e l l i g e n t   c l i e n t - s i d e   l o a d - b a l a n c i n g   a n d   f a i l o v e r . P r o v i d e   t h e   l o c a t i o n   a n d   c r e d e n t i a l s   d i r e c t l y   t o   t h e   h t t p   c l i e n t . A l t e r n a t e   a p p r o a c h . W o r k s   w i t h   s o m e   t y p e s   o f   c l i e n t   c o d e   t h a t   a r e   c o n f u s e d   b y   u s i n g   a   p r o x y . N e e d   t o   i m p o r t   a   r o o t   c e r t   i n t o   y o u r   b r o w s e r   t o   p r o t e c t   a g a i n s t   M I T M .   R e c o m m e n d e d   a p p r o a c h . U s e s   s t o r e d   a p i s e r v e r   l o c a t i o n . V e r i f i e s   i d e n t i t y   o f   a p i s e r v e r   u s i n g   s e l f - s i g n e d   c e r t .   N o   M I T M   p o s s i b l e . A u t h e n t i c a t e s   t o   a p i s e r v e r . I n   f u t u r e ,   m a y   d o   i n t e l l i g e n t   c l i e n t - s i d e   l o a d - b a l a n c i n g   a n d   f a i l o v e r .   A l t e r n a t e   a p p r o a c h . W o r k s   w i t h   s o m e   t y p e s   o f   c l i e n t   c o d e   t h a t   a r e   c o n f u s e d   b y   u s i n g   a   p r o x y . N e e d ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18923"
  },
  {
    "question": "What is Using kubectl proxy?",
    "answer": "T h e   f o l l o w i n g   c o m m a n d   r u n s   k u b e c t l   i n   a   m o d e   w h e r e   i t   a c t s   a s   a   r e v e r s e   p r o x y .   I t   h a n d l e s   l o c a t i n g   t h e   a p i s e r v e r   a n d   a u t h e n t i c a t i n g .   R u n   i t   l i k e   t h i s :   k u b e c t l   p r o x y   - - p o r t = 8 0 8 0   S e e   k u b e c t l   p r o x y   f o r   m o r e   d e t a i l s .   T h e n   y o u   c a n   e x p l o r e   t h e   A P I   w i t h   c u r l ,   w g e t ,   o r   a   b r o w s e r ,   r e p l a c i n g   l o c a l h o s t   w i t h   [ : : 1 ]   f o r   I P v 6 ,   l i k e   s o :   c u r l   h t t p : / / l o c a l h o s t : 8 0 8 0 / a p i /   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   {   \" k i n d \" :   \" A P I V e r s i o n s \" ,   \" v e r s i o n s \" :   [   \" v 1 \"   ] ,   \" s e r v e r A d d r e s s B y C l i e n t C I D R s \" :   [   {   \" c l i e n t C I D R \" :   \" 0 . 0 . 0 . 0 / 0 \" ,   \" s e r v e r A d d r e s s \" :   \" 1 0 . 0 . 1 . 1 4 9 : 4 4 3 \"   }   ]   }",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18924"
  },
  {
    "question": "What is Without kubectl proxy?",
    "answer": "U s e   k u b e c t l   a p p l y   a n d   k u b e c t l   d e s c r i b e   s e c r e t . . .   t o   c r e a t e   a   t o k e n   f o r   t h e   d e f a u l t   s e r v i c e   a c c o u n t   w i t h   g r e p / c u t :   F i r s t ,   c r e a t e   t h e   S e c r e t ,   r e q u e s t i n g   a   t o k e n   f o r   t h e   d e f a u l t   S e r v i c e A c c o u n t :   k u b e c t l   a p p l y   - f   -   < < E O F   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   d e f a u l t - t o k e n   a n n o t a t i o n s :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . n a m e :   d e f a u l t   t y p e :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n   E O F   N e x t ,   w a i t   f o r   t h e   t o k e n   c o n t r o l l e r   t o   p o p u l a t e   t h e   S e c r e t   w i t h   a   t o k e n :   w h i l e   !   k u b e c t l   d e s c r i b e   s e c r e t   d e f a u l t - t o k e n   |   g r e p   - E   ' ^ t o k e n '   > / d e v / n u l l ;   d o   e c h o   \" w a i t i n g   f o r   t o k e n . . . \"   > & 2   s l e e p   1   d o n e   C a p t u r e   a n d   u s e   t h e   g e n e r a t e d   t o k e n :   A P I S E R V E R = $ ( k u b e c t l   c o n f i g   v i e w   - - m i n i f y   |   g r e p   s e r v e r   |   c u t   - f   2 -   - d   \" : \"   |   t r   - d   \"   \" )   T O K E N = $ ( k u b e c t l   d e s c r i b e   s e c r e t   d e f a u l t - t o k e n   |   g r e p   - E   ' ^ t o k e n '   |   c u t   - f 2   - d ' : '   |   t r   - d   \"   \" )   c u r l   $ A P I S E R V E R / a p i   - - h e a d e r   \" A u t h o r i z a t i o n :   B e a r e r   $ T O K E N \"   - - i n s e c u r e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   {   \" k i n d \" :   \" A P I V e r s i o n s \" ,   \" v e r s i o n s \" :   [   \" v 1 \"   ] ,   \" s e r v e r A d d r e s s B y C l i e n t C I D R s \" :   [   {   \" c l i e n t C I D R \" :   \" 0 . 0 . 0 . 0 / 0 ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18925"
  },
  {
    "question": "What is Programmatic access to the API?",
    "answer": "K u b e r n e t e s   o f f i c i a l l y   s u p p o r t s   G o   a n d   P y t h o n   c l i e n t   l i b r a r i e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18926"
  },
  {
    "question": "What is Go client?",
    "answer": "T o   g e t   t h e   l i b r a r y ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   g o   g e t   k 8 s . i o / c l i e n t - g o @ k u b e r n e t e s - < k u b e r n e t e s - v e r s i o n - n u m b e r > ,   s e e   I N S T A L L . m d   f o r   d e t a i l e d   i n s t a l l a t i o n   i n s t r u c t i o n s .   S e e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / c l i e n t - g o   t o   s e e   w h i c h   v e r s i o n s   a r e   s u p p o r t e d . W r i t e   a n   a p p l i c a t i o n   a t o p   o f   t h e   c l i e n t - g o   c l i e n t s .   N o t e   t h a t   c l i e n t - g o   d e f i n e s   i t s   o w n   A P I   o b j e c t s ,   s o   i f   n e e d e d ,   p l e a s e   i m p o r t   A P I   d e f i n i t i o n s   f r o m   c l i e n t - g o   r a t h e r   t h a n   f r o m   t h e   m a i n   r e p o s i t o r y ,   e . g . ,   i m p o r t   \" k 8 s . i o / c l i e n t - g o / k u b e r n e t e s \"   i s   c o r r e c t .   T h e   G o   c l i e n t   c a n   u s e   t h e   s a m e   k u b e c o n f i g   f i l e   a s   t h e   k u b e c t l   C L I   d o e s   t o   l o c a t e   a n d   a u t h e n t i c a t e   t o   t h e   a p i s e r v e r .   S e e   t h i s   e x a m p l e .   I f   t h e   a p p l i c a t i o n   i s   d e p l o y e d   a s   a   P o d   i n   t h e   c l u s t e r ,   p l e a s e   r e f e r   t o   t h e   n e x t   s e c t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18927"
  },
  {
    "question": "What is Python client?",
    "answer": "T o   u s e   P y t h o n   c l i e n t ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   p i p   i n s t a l l   k u b e r n e t e s .   S e e   P y t h o n   C l i e n t   L i b r a r y   p a g e   f o r   m o r e   i n s t a l l a t i o n   o p t i o n s .   T h e   P y t h o n   c l i e n t   c a n   u s e   t h e   s a m e   k u b e c o n f i g   f i l e   a s   t h e   k u b e c t l   C L I   d o e s   t o   l o c a t e   a n d   a u t h e n t i c a t e   t o   t h e   a p i s e r v e r .   S e e   t h i s   e x a m p l e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18928"
  },
  {
    "question": "What is Other languages?",
    "answer": "T h e r e   a r e   c l i e n t   l i b r a r i e s   f o r   a c c e s s i n g   t h e   A P I   f r o m   o t h e r   l a n g u a g e s .   S e e   d o c u m e n t a t i o n   f o r   o t h e r   l i b r a r i e s   f o r   h o w   t h e y   a u t h e n t i c a t e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18929"
  },
  {
    "question": "What is Accessing the API from a Pod?",
    "answer": "W h e n   a c c e s s i n g   t h e   A P I   f r o m   a   p o d ,   l o c a t i n g   a n d   a u t h e n t i c a t i n g   t o   t h e   A P I   s e r v e r   a r e   s o m e w h a t   d i f f e r e n t .   P l e a s e   c h e c k   A c c e s s i n g   t h e   A P I   f r o m   w i t h i n   a   P o d   f o r   m o r e   d e t a i l s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18930"
  },
  {
    "question": "What is Accessing services running on the cluster?",
    "answer": "T h e   p r e v i o u s   s e c t i o n   d e s c r i b e s   h o w   t o   c o n n e c t   t o   t h e   K u b e r n e t e s   A P I   s e r v e r .   F o r   i n f o r m a t i o n   a b o u t   c o n n e c t i n g   t o   o t h e r   s e r v i c e s   r u n n i n g   o n   a   K u b e r n e t e s   c l u s t e r ,   s e e   A c c e s s   C l u s t e r   S e r v i c e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18931"
  },
  {
    "question": "What is Requesting redirects?",
    "answer": "T h e   r e d i r e c t   c a p a b i l i t i e s   h a v e   b e e n   d e p r e c a t e d   a n d   r e m o v e d .   P l e a s e   u s e   a   p r o x y   ( s e e   b e l o w )   i n s t e a d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18932"
  },
  {
    "question": "What is So many proxies?",
    "answer": "T h e r e   a r e   s e v e r a l   d i f f e r e n t   p r o x i e s   y o u   m a y   e n c o u n t e r   w h e n   u s i n g   K u b e r n e t e s :   T h e   k u b e c t l   p r o x y : r u n s   o n   a   u s e r ' s   d e s k t o p   o r   i n   a   p o d p r o x i e s   f r o m   a   l o c a l h o s t   a d d r e s s   t o   t h e   K u b e r n e t e s   a p i s e r v e r c l i e n t   t o   p r o x y   u s e s   H T T P p r o x y   t o   a p i s e r v e r   u s e s   H T T P S l o c a t e s   a p i s e r v e r a d d s   a u t h e n t i c a t i o n   h e a d e r s T h e   a p i s e r v e r   p r o x y : i s   a   b a s t i o n   b u i l t   i n t o   t h e   a p i s e r v e r c o n n e c t s   a   u s e r   o u t s i d e   o f   t h e   c l u s t e r   t o   c l u s t e r   I P s   w h i c h   o t h e r w i s e   m i g h t   n o t   b e   r e a c h a b l e r u n s   i n   t h e   a p i s e r v e r   p r o c e s s e s c l i e n t   t o   p r o x y   u s e s   H T T P S   ( o r   h t t p   i f   a p i s e r v e r   s o   c o n f i g u r e d ) p r o x y   t o   t a r g e t   m a y   u s e   H T T P   o r   H T T P S   a s   c h o s e n   b y   p r o x y   u s i n g   a v a i l a b l e   i n f o r m a t i o n c a n   b e   u s e d   t o   r e a c h   a   N o d e ,   P o d ,   o r   S e r v i c e d o e s   l o a d   b a l a n c i n g   w h e n   u s e d   t o   r e a c h   a   S e r v i c e T h e   k u b e   p r o x y : r u n s   o n   e a c h   n o d e p r o x i e s   U D P   a n d   T C P d o e s   n o t   u n d e r s t a n d   H T T P p r o v i d e s   l o a d   b a l a n c i n g i s   o n l y   u s e d   t o   r e a c h   s e r v i c e s A   P r o x y / L o a d - b a l a n c e r   i n   f r o n t   o f   a p i s e r v e r ( s ) : e x i s t e n c e   a n d   i m p l e m e n t a t i o n   v a r i e s   f r o m   c l u s t e r   t o   c l u s t e r   ( e . g .   n g i n x ) s i t s   b e t w e e n   a l l   c l i e n t s   a n d   o n e   o r   m o r e   a p i s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18933"
  },
  {
    "question": "What is 10.3 - Configure Access to Multiple Clusters?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   a c c e s s   t o   m u l t i p l e   c l u s t e r s   b y   u s i n g   c o n f i g u r a t i o n   f i l e s .   A f t e r   y o u r   c l u s t e r s ,   u s e r s ,   a n d   c o n t e x t s   a r e   d e f i n e d   i n   o n e   o r   m o r e   c o n f i g u r a t i o n   f i l e s ,   y o u   c a n   q u i c k l y   s w i t c h   b e t w e e n   c l u s t e r s   b y   u s i n g   t h e   k u b e c t l   c o n f i g   u s e - c o n t e x t   c o m m a n d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18934"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h a t   k u b e c t l   i s   i n s t a l l e d ,   r u n   k u b e c t l   v e r s i o n   - - c l i e n t .   T h e   k u b e c t l   v e r s i o n   s h o u l d   b e   w i t h i n   o n e   m i n o r   v e r s i o n   o f   y o u r   c l u s t e r ' s   A P I   s e r v e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18935"
  },
  {
    "question": "What is Define clusters, users, and contexts?",
    "answer": "S u p p o s e   y o u   h a v e   t w o   c l u s t e r s ,   o n e   f o r   d e v e l o p m e n t   w o r k   a n d   o n e   f o r   t e s t   w o r k .   I n   t h e   d e v e l o p m e n t   c l u s t e r ,   y o u r   f r o n t e n d   d e v e l o p e r s   w o r k   i n   a   n a m e s p a c e   c a l l e d   f r o n t e n d ,   a n d   y o u r   s t o r a g e   d e v e l o p e r s   w o r k   i n   a   n a m e s p a c e   c a l l e d   s t o r a g e .   I n   y o u r   t e s t   c l u s t e r ,   d e v e l o p e r s   w o r k   i n   t h e   d e f a u l t   n a m e s p a c e ,   o r   t h e y   c r e a t e   a u x i l i a r y   n a m e s p a c e s   a s   t h e y   s e e   f i t .   A c c e s s   t o   t h e   d e v e l o p m e n t   c l u s t e r   r e q u i r e s   a u t h e n t i c a t i o n   b y   c e r t i f i c a t e .   A c c e s s   t o   t h e   t e s t   c l u s t e r   r e q u i r e s   a u t h e n t i c a t i o n   b y   u s e r n a m e   a n d   p a s s w o r d .   C r e a t e   a   d i r e c t o r y   n a m e d   c o n f i g - e x e r c i s e .   I n   y o u r   c o n f i g - e x e r c i s e   d i r e c t o r y ,   c r e a t e   a   f i l e   n a m e d   c o n f i g - d e m o   w i t h   t h i s   c o n t e n t :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g   p r e f e r e n c e s :   { }   c l u s t e r s :   -   c l u s t e r :   n a m e :   d e v e l o p m e n t   -   c l u s t e r :   n a m e :   t e s t   u s e r s :   -   n a m e :   d e v e l o p e r   -   n a m e :   e x p e r i m e n t e r   c o n t e x t s :   -   c o n t e x t :   n a m e :   d e v - f r o n t e n d   -   c o n t e x t :   n a m e :   d e v - s t o r a g e   -   c o n t e x t :   n a m e :   e x p - t e s t   A   c o n f i g u r a t i o n   f i l e   d e s c r i b e s   c l u s t e r s ,   u s e r s ,   a n d   c o n t e x t s .   Y o u r   c o n f i g - d e m o   f i l e   h a s   t h e   f r a m e w o r k   t o   d e s c r i b e   t w o   c l u s t e r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18936"
  },
  {
    "question": "What is Caution:?",
    "answer": "k u b e c t l   c o n f i g   - - k u b e c o n f i g = c o n f i g - d e m o   s e t - c r e d e n t i a l s   d e v e l o p e r   - - c l i e n t - c e r t i f i c a t e = f a k e - c e r t - f i l e   - - c l i e n t - k e y = f a k e - k e y - s e e f i l e   k u b e c t l   c o n f i g   - - k u b e c o n f i g = c o n f i g - d e m o   s e t - c r e d e n t i a l s   e x p e r i m e n t e r   - - u s e r n a m e = e x p   - - p a s s w o r d = s o m e - p a s s w o r d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18937"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   d e l e t e   a   u s e r   y o u   c a n   r u n   k u b e c t l   - - k u b e c o n f i g = c o n f i g - d e m o   c o n f i g   u n s e t   u s e r s . < n a m e > T o   r e m o v e   a   c l u s t e r ,   y o u   c a n   r u n   k u b e c t l   - - k u b e c o n f i g = c o n f i g - d e m o   c o n f i g   u n s e t   c l u s t e r s . < n a m e > T o   r e m o v e   a   c o n t e x t ,   y o u   c a n   r u n   k u b e c t l   - - k u b e c o n f i g = c o n f i g - d e m o   c o n f i g   u n s e t   c o n t e x t s . < n a m e >   A d d   c o n t e x t   d e t a i l s   t o   y o u r   c o n f i g u r a t i o n   f i l e :   k u b e c t l   c o n f i g   - - k u b e c o n f i g = c o n f i g - d e m o   s e t - c o n t e x t   d e v - f r o n t e n d   - - c l u s t e r = d e v e l o p m e n t   - - n a m e s p a c e = f r o n t e n d   - - u s e r = d e v e l o p e r   k u b e c t l   c o n f i g   - - k u b e c o n f i g = c o n f i g - d e m o   s e t - c o n t e x t   d e v - s t o r a g e   - - c l u s t e r = d e v e l o p m e n t   - - n a m e s p a c e = s t o r a g e   - - u s e r = d e v e l o p e r   k u b e c t l   c o n f i g   - - k u b e c o n f i g = c o n f i g - d e m o   s e t - c o n t e x t   e x p - t e s t   - - c l u s t e r = t e s t   - - n a m e s p a c e = d e f a u l t   - - u s e r = e x p e r i m e n t e r   O p e n   y o u r   c o n f i g - d e m o   f i l e   t o   s e e   t h e   a d d e d   d e t a i l s .   A s   a n   a l t e r n a t i v e   t o   o p e n i n g   t h e   c o n f i g - d e m o   f i l e ,   y o u   c a n   u s e   t h e   c o n f i g   v i e w   c o m m a n d .   k u b e c t l   c o n f i g   - - k u b e c o n f i g = c o n f i g - d e m o   v i e w   T h e   o u t p u t   s h o w s   t h e   t w o   c l u s t e r s ,   t w o   u s e r s ,   a n d   t h r e e   c o n t e x t s :   a p i V e r s i o n :   v 1   c l u s t e r s :   -   c l u s t e r :   c e r t i f i c a t e - a u t h o r i t y :   f ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18938"
  },
  {
    "question": "What is Create a second configuration file?",
    "answer": "I n   y o u r   c o n f i g - e x e r c i s e   d i r e c t o r y ,   c r e a t e   a   f i l e   n a m e d   c o n f i g - d e m o - 2   w i t h   t h i s   c o n t e n t :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g   p r e f e r e n c e s :   { }   c o n t e x t s :   -   c o n t e x t :   c l u s t e r :   d e v e l o p m e n t   n a m e s p a c e :   r a m p   u s e r :   d e v e l o p e r   n a m e :   d e v - r a m p - u p   T h e   p r e c e d i n g   c o n f i g u r a t i o n   f i l e   d e f i n e s   a   n e w   c o n t e x t   n a m e d   d e v - r a m p - u p .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18939"
  },
  {
    "question": "What is Set the KUBECONFIG environment variable?",
    "answer": "S e e   w h e t h e r   y o u   h a v e   a n   e n v i r o n m e n t   v a r i a b l e   n a m e d   K U B E C O N F I G .   I f   s o ,   s a v e   t h e   c u r r e n t   v a l u e   o f   y o u r   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e ,   s o   y o u   c a n   r e s t o r e   i t   l a t e r .   F o r   e x a m p l e :",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18940"
  },
  {
    "question": "What is Linux?",
    "answer": "e x p o r t   K U B E C O N F I G _ S A V E D = \" $ K U B E C O N F I G \"",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18941"
  },
  {
    "question": "What is Windows PowerShell?",
    "answer": "$ E n v : K U B E C O N F I G _ S A V E D = $ E N V : K U B E C O N F I G   T h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   i s   a   l i s t   o f   p a t h s   t o   c o n f i g u r a t i o n   f i l e s .   T h e   l i s t   i s   c o l o n - d e l i m i t e d   f o r   L i n u x   a n d   M a c ,   a n d   s e m i c o l o n - d e l i m i t e d   f o r   W i n d o w s .   I f   y o u   h a v e   a   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e ,   f a m i l i a r i z e   y o u r s e l f   w i t h   t h e   c o n f i g u r a t i o n   f i l e s   i n   t h e   l i s t .   T e m p o r a r i l y   a p p e n d   t w o   p a t h s   t o   y o u r   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e .   F o r   e x a m p l e :",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18942"
  },
  {
    "question": "What is Linux?",
    "answer": "e x p o r t   K U B E C O N F I G = \" $ { K U B E C O N F I G } : c o n f i g - d e m o : c o n f i g - d e m o - 2 \"",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18943"
  },
  {
    "question": "What is Windows PowerShell?",
    "answer": "$ E n v : K U B E C O N F I G = ( \" c o n f i g - d e m o ; c o n f i g - d e m o - 2 \" )   I n   y o u r   c o n f i g - e x e r c i s e   d i r e c t o r y ,   e n t e r   t h i s   c o m m a n d :   k u b e c t l   c o n f i g   v i e w   T h e   o u t p u t   s h o w s   m e r g e d   i n f o r m a t i o n   f r o m   a l l   t h e   f i l e s   l i s t e d   i n   y o u r   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e .   I n   p a r t i c u l a r ,   n o t i c e   t h a t   t h e   m e r g e d   i n f o r m a t i o n   h a s   t h e   d e v - r a m p - u p   c o n t e x t   f r o m   t h e   c o n f i g - d e m o - 2   f i l e   a n d   t h e   t h r e e   c o n t e x t s   f r o m   t h e   c o n f i g - d e m o   f i l e :   c o n t e x t s :   -   c o n t e x t :   c l u s t e r :   d e v e l o p m e n t   n a m e s p a c e :   f r o n t e n d   u s e r :   d e v e l o p e r   n a m e :   d e v - f r o n t e n d   -   c o n t e x t :   c l u s t e r :   d e v e l o p m e n t   n a m e s p a c e :   r a m p   u s e r :   d e v e l o p e r   n a m e :   d e v - r a m p - u p   -   c o n t e x t :   c l u s t e r :   d e v e l o p m e n t   n a m e s p a c e :   s t o r a g e   u s e r :   d e v e l o p e r   n a m e :   d e v - s t o r a g e   -   c o n t e x t :   c l u s t e r :   t e s t   n a m e s p a c e :   d e f a u l t   u s e r :   e x p e r i m e n t e r   n a m e :   e x p - t e s t   F o r   m o r e   i n f o r m a t i o n   a b o u t   h o w   k u b e c o n f i g   f i l e s   a r e   m e r g e d ,   s e e   O r g a n i z i n g   C l u s t e r   A c c e s s   U s i n g   k u b e c o n f i g   F i l e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18944"
  },
  {
    "question": "What is Explore the $HOME/.kube directory?",
    "answer": "I f   y o u   a l r e a d y   h a v e   a   c l u s t e r ,   a n d   y o u   c a n   u s e   k u b e c t l   t o   i n t e r a c t   w i t h   t h e   c l u s t e r ,   t h e n   y o u   p r o b a b l y   h a v e   a   f i l e   n a m e d   c o n f i g   i n   t h e   $ H O M E / . k u b e   d i r e c t o r y .   G o   t o   $ H O M E / . k u b e ,   a n d   s e e   w h a t   f i l e s   a r e   t h e r e .   T y p i c a l l y ,   t h e r e   i s   a   f i l e   n a m e d   c o n f i g .   T h e r e   m i g h t   a l s o   b e   o t h e r   c o n f i g u r a t i o n   f i l e s   i n   t h i s   d i r e c t o r y .   B r i e f l y   f a m i l i a r i z e   y o u r s e l f   w i t h   t h e   c o n t e n t s   o f   t h e s e   f i l e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18945"
  },
  {
    "question": "What is Append $HOME/.kube/config to your KUBECONFIG environment variable?",
    "answer": "I f   y o u   h a v e   a   $ H O M E / . k u b e / c o n f i g   f i l e ,   a n d   i t ' s   n o t   a l r e a d y   l i s t e d   i n   y o u r   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e ,   a p p e n d   i t   t o   y o u r   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   n o w .   F o r   e x a m p l e :",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18946"
  },
  {
    "question": "What is Linux?",
    "answer": "e x p o r t   K U B E C O N F I G = \" $ { K U B E C O N F I G } : $ { H O M E } / . k u b e / c o n f i g \"",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18947"
  },
  {
    "question": "What is Windows Powershell?",
    "answer": "$ E n v : K U B E C O N F I G = \" $ E n v : K U B E C O N F I G ; $ H O M E \\ . k u b e \\ c o n f i g \"   V i e w   c o n f i g u r a t i o n   i n f o r m a t i o n   m e r g e d   f r o m   a l l   t h e   f i l e s   t h a t   a r e   n o w   l i s t e d   i n   y o u r   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e .   I n   y o u r   c o n f i g - e x e r c i s e   d i r e c t o r y ,   e n t e r :   k u b e c t l   c o n f i g   v i e w",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18948"
  },
  {
    "question": "What is Clean up?",
    "answer": "R e t u r n   y o u r   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   t o   i t s   o r i g i n a l   v a l u e .   F o r   e x a m p l e :",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18949"
  },
  {
    "question": "What is Linux?",
    "answer": "e x p o r t   K U B E C O N F I G = \" $ K U B E C O N F I G _ S A V E D \"",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18950"
  },
  {
    "question": "What is Windows PowerShell?",
    "answer": "$ E n v : K U B E C O N F I G = $ E N V : K U B E C O N F I G _ S A V E D",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18951"
  },
  {
    "question": "What is Check the subject represented by the kubeconfig?",
    "answer": "I t   i s   n o t   a l w a y s   o b v i o u s   w h a t   a t t r i b u t e s   ( u s e r n a m e ,   g r o u p s )   y o u   w i l l   g e t   a f t e r   a u t h e n t i c a t i n g   t o   t h e   c l u s t e r .   I t   c a n   b e   e v e n   m o r e   c h a l l e n g i n g   i f   y o u   a r e   m a n a g i n g   m o r e   t h a n   o n e   c l u s t e r   a t   t h e   s a m e   t i m e .   T h e r e   i s   a   k u b e c t l   s u b c o m m a n d   t o   c h e c k   s u b j e c t   a t t r i b u t e s ,   s u c h   a s   u s e r n a m e ,   f o r   y o u r   s e l e c t e d   K u b e r n e t e s   c l i e n t   c o n t e x t :   k u b e c t l   a u t h   w h o a m i .   R e a d   A P I   a c c e s s   t o   a u t h e n t i c a t i o n   i n f o r m a t i o n   f o r   a   c l i e n t   t o   l e a r n   a b o u t   t h i s   i n   m o r e   d e t a i l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18952"
  },
  {
    "question": "What is What's next?",
    "answer": "O r g a n i z i n g   C l u s t e r   A c c e s s   U s i n g   k u b e c o n f i g   F i l e s k u b e c t l   c o n f i g",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18953"
  },
  {
    "question": "What is 10.4 - Use Port Forwarding to Access Applications in a Cluster?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   k u b e c t l   p o r t - f o r w a r d   t o   c o n n e c t   t o   a   M o n g o D B   s e r v e r   r u n n i n g   i n   a   K u b e r n e t e s   c l u s t e r .   T h i s   t y p e   o f   c o n n e c t i o n   c a n   b e   u s e f u l   f o r   d a t a b a s e   d e b u g g i n g .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18954"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 1 0 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n . I n s t a l l   M o n g o D B   S h e l l .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18955"
  },
  {
    "question": "What is Creating MongoDB deployment and service?",
    "answer": "C r e a t e   a   D e p l o y m e n t   t h a t   r u n s   M o n g o D B : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / m o n g o d b / m o n g o - d e p l o y m e n t . y a m l   T h e   o u t p u t   o f   a   s u c c e s s f u l   c o m m a n d   v e r i f i e s   t h a t   t h e   d e p l o y m e n t   w a s   c r e a t e d : d e p l o y m e n t . a p p s / m o n g o   c r e a t e d   V i e w   t h e   p o d   s t a t u s   t o   c h e c k   t h a t   i t   i s   r e a d y : k u b e c t l   g e t   p o d s   T h e   o u t p u t   d i s p l a y s   t h e   p o d   c r e a t e d : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   m o n g o - 7 5 f 5 9 d 5 7 f 4 - 4 n d 6 q   1 / 1   R u n n i n g   0   2 m 4 s   V i e w   t h e   D e p l o y m e n t ' s   s t a t u s : k u b e c t l   g e t   d e p l o y m e n t   T h e   o u t p u t   d i s p l a y s   t h a t   t h e   D e p l o y m e n t   w a s   c r e a t e d : N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   m o n g o   1 / 1   1   1   2 m 2 1 s   T h e   D e p l o y m e n t   a u t o m a t i c a l l y   m a n a g e s   a   R e p l i c a S e t .   V i e w   t h e   R e p l i c a S e t   s t a t u s   u s i n g : k u b e c t l   g e t   r e p l i c a s e t   T h e   o u t p u t   d i s p l a y s   t h a t   t h e   R e p l i c a S e t   w a s   c r e a t e d : N A M E   D E S I R E D   C U R R E N T   R E A D Y   A G E   m o n g o - 7 5 f 5 9 d 5 7 f 4   1   1   1   3 m 1 2 s   C r e a t e   a   S e r v i c e   t o   e x p o s e   M o n g o D B   o n   t h e   n e t w o r k : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / m o n g o d b / m o n g o - s e r v i c e . y a m l   T h e   o u t p u t   o f   a   s u c c e s s f u l   c o m m a n d   v e r i f i e s   t h a t   t h e   S e r v i c e   w a s   c r e a t e d : s e r v i c e / m o n g o   c r e a t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18956"
  },
  {
    "question": "What is Forward a local port to a port on the Pod?",
    "answer": "k u b e c t l   p o r t - f o r w a r d   a l l o w s   u s i n g   r e s o u r c e   n a m e ,   s u c h   a s   a   p o d   n a m e ,   t o   s e l e c t   a   m a t c h i n g   p o d   t o   p o r t   f o r w a r d   t o . #   C h a n g e   m o n g o - 7 5 f 5 9 d 5 7 f 4 - 4 n d 6 q   t o   t h e   n a m e   o f   t h e   P o d   k u b e c t l   p o r t - f o r w a r d   m o n g o - 7 5 f 5 9 d 5 7 f 4 - 4 n d 6 q   2 8 0 1 5 : 2 7 0 1 7   w h i c h   i s   t h e   s a m e   a s k u b e c t l   p o r t - f o r w a r d   p o d s / m o n g o - 7 5 f 5 9 d 5 7 f 4 - 4 n d 6 q   2 8 0 1 5 : 2 7 0 1 7   o r k u b e c t l   p o r t - f o r w a r d   d e p l o y m e n t / m o n g o   2 8 0 1 5 : 2 7 0 1 7   o r k u b e c t l   p o r t - f o r w a r d   r e p l i c a s e t / m o n g o - 7 5 f 5 9 d 5 7 f 4   2 8 0 1 5 : 2 7 0 1 7   o r k u b e c t l   p o r t - f o r w a r d   s e r v i c e / m o n g o   2 8 0 1 5 : 2 7 0 1 7   A n y   o f   t h e   a b o v e   c o m m a n d s   w o r k s .   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : F o r w a r d i n g   f r o m   1 2 7 . 0 . 0 . 1 : 2 8 0 1 5   - >   2 7 0 1 7   F o r w a r d i n g   f r o m   [ : : 1 ] : 2 8 0 1 5   - >   2 7 0 1 7   N o t e : k u b e c t l   p o r t - f o r w a r d   d o e s   n o t   r e t u r n .   T o   c o n t i n u e   w i t h   t h e   e x e r c i s e s ,   y o u   w i l l   n e e d   t o   o p e n   a n o t h e r   t e r m i n a l . S t a r t   t h e   M o n g o D B   c o m m a n d   l i n e   i n t e r f a c e : m o n g o s h   - - p o r t   2 8 0 1 5   A t   t h e   M o n g o D B   c o m m a n d   l i n e   p r o m p t ,   e n t e r   t h e   p i n g   c o m m a n d : d b . r u n C o m m a n d (   {   p i n g :   1   }   )   A   s u c c e s s f u l   p i n g   r e q u e s t   r e t u r n s : {   o k :   1   }   k u b e c t l   p o r t - f o r w a r d   a l l o w s   u s i n g   r e s o u r c e   n a m e ,   s u c h   a s   a   p o d   n a m e ,   t o   s e l e c t   a   m ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18957"
  },
  {
    "question": "What is Note:?",
    "answer": "S t a r t   t h e   M o n g o D B   c o m m a n d   l i n e   i n t e r f a c e :   m o n g o s h   - - p o r t   2 8 0 1 5   A t   t h e   M o n g o D B   c o m m a n d   l i n e   p r o m p t ,   e n t e r   t h e   p i n g   c o m m a n d :   d b . r u n C o m m a n d (   {   p i n g :   1   }   )   A   s u c c e s s f u l   p i n g   r e q u e s t   r e t u r n s :   {   o k :   1   }",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18958"
  },
  {
    "question": "What is Optionally let kubectl choose the local port?",
    "answer": "I f   y o u   d o n ' t   n e e d   a   s p e c i f i c   l o c a l   p o r t ,   y o u   c a n   l e t   k u b e c t l   c h o o s e   a n d   a l l o c a t e   t h e   l o c a l   p o r t   a n d   t h u s   r e l i e v e   y o u   f r o m   h a v i n g   t o   m a n a g e   l o c a l   p o r t   c o n f l i c t s ,   w i t h   t h e   s l i g h t l y   s i m p l e r   s y n t a x :   k u b e c t l   p o r t - f o r w a r d   d e p l o y m e n t / m o n g o   : 2 7 0 1 7   T h e   k u b e c t l   t o o l   f i n d s   a   l o c a l   p o r t   n u m b e r   t h a t   i s   n o t   i n   u s e   ( a v o i d i n g   l o w   p o r t s   n u m b e r s ,   b e c a u s e   t h e s e   m i g h t   b e   u s e d   b y   o t h e r   a p p l i c a t i o n s ) .   T h e   o u t p u t   i s   s i m i l a r   t o :   F o r w a r d i n g   f r o m   1 2 7 . 0 . 0 . 1 : 6 3 7 5 3   - >   2 7 0 1 7   F o r w a r d i n g   f r o m   [ : : 1 ] : 6 3 7 5 3   - >   2 7 0 1 7",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18959"
  },
  {
    "question": "What is Discussion?",
    "answer": "C o n n e c t i o n s   m a d e   t o   l o c a l   p o r t   2 8 0 1 5   a r e   f o r w a r d e d   t o   p o r t   2 7 0 1 7   o f   t h e   P o d   t h a t   i s   r u n n i n g   t h e   M o n g o D B   s e r v e r .   W i t h   t h i s   c o n n e c t i o n   i n   p l a c e ,   y o u   c a n   u s e   y o u r   l o c a l   w o r k s t a t i o n   t o   d e b u g   t h e   d a t a b a s e   t h a t   i s   r u n n i n g   i n   t h e   P o d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18960"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   k u b e c t l   p o r t - f o r w a r d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18961"
  },
  {
    "question": "What is 10.5 - Use a Service to Access an Application in a Cluster?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c r e a t e   a   K u b e r n e t e s   S e r v i c e   o b j e c t   t h a t   e x t e r n a l   c l i e n t s   c a n   u s e   t o   a c c e s s   a n   a p p l i c a t i o n   r u n n i n g   i n   a   c l u s t e r .   T h e   S e r v i c e   p r o v i d e s   l o a d   b a l a n c i n g   f o r   a n   a p p l i c a t i o n   t h a t   h a s   t w o   r u n n i n g   i n s t a n c e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18962"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18963"
  },
  {
    "question": "What is Objectives?",
    "answer": "R u n   t w o   i n s t a n c e s   o f   a   H e l l o   W o r l d   a p p l i c a t i o n . C r e a t e   a   S e r v i c e   o b j e c t   t h a t   e x p o s e s   a   n o d e   p o r t . U s e   t h e   S e r v i c e   o b j e c t   t o   a c c e s s   t h e   r u n n i n g   a p p l i c a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18964"
  },
  {
    "question": "What is Creating a service for an application running in two pods?",
    "answer": "H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   a p p l i c a t i o n   D e p l o y m e n t :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   h e l l o - w o r l d   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   r u n :   l o a d - b a l a n c e r - e x a m p l e   r e p l i c a s :   2   t e m p l a t e :   m e t a d a t a :   l a b e l s :   r u n :   l o a d - b a l a n c e r - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   h e l l o - w o r l d   i m a g e :   u s - d o c k e r . p k g . d e v / g o o g l e - s a m p l e s / c o n t a i n e r s / g k e / h e l l o - a p p : 2 . 0   p o r t s :   -   c o n t a i n e r P o r t :   8 0 8 0   p r o t o c o l :   T C P   R u n   a   H e l l o   W o r l d   a p p l i c a t i o n   i n   y o u r   c l u s t e r :   C r e a t e   t h e   a p p l i c a t i o n   D e p l o y m e n t   u s i n g   t h e   f i l e   a b o v e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / s e r v i c e / a c c e s s / h e l l o - a p p l i c a t i o n . y a m l   T h e   p r e c e d i n g   c o m m a n d   c r e a t e s   a   D e p l o y m e n t   a n d   a n   a s s o c i a t e d   R e p l i c a S e t .   T h e   R e p l i c a S e t   h a s   t w o   P o d s   e a c h   o f   w h i c h   r u n s   t h e   H e l l o   W o r l d   a p p l i c a t i o n . D i s p l a y   i n f o r m a t i o n   a b o u t   t h e   D e p l o y m e n t : k u b e c t l   g e t   d e p l o y m e n t s   h e l l o - w o r l d   k u b e c t l   d e s c r i b e   d e p l o y m e n t s   h e l l o - w o r l d   D i s p l a y   i n f o r m a t i o n   a b o u t   y o u r   R e p l i c a S e t   o b j e c t s : k u b e c t l   g e t   r e p l i c a s e t s   k u b e c t l   d e s c r i b e   r e p l i c a s e t s   C r e a t e   a   S e r v i c e   o b j e c t   t h a t   e x p o s e s   t h e   d e p l o y m e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18965"
  },
  {
    "question": "What is Using a service configuration file?",
    "answer": "A s   a n   a l t e r n a t i v e   t o   u s i n g   k u b e c t l   e x p o s e ,   y o u   c a n   u s e   a   s e r v i c e   c o n f i g u r a t i o n   f i l e   t o   c r e a t e   a   S e r v i c e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18966"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "T o   d e l e t e   t h e   S e r v i c e ,   e n t e r   t h i s   c o m m a n d :   k u b e c t l   d e l e t e   s e r v i c e s   e x a m p l e - s e r v i c e   T o   d e l e t e   t h e   D e p l o y m e n t ,   t h e   R e p l i c a S e t ,   a n d   t h e   P o d s   t h a t   a r e   r u n n i n g   t h e   H e l l o   W o r l d   a p p l i c a t i o n ,   e n t e r   t h i s   c o m m a n d :   k u b e c t l   d e l e t e   d e p l o y m e n t   h e l l o - w o r l d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18967"
  },
  {
    "question": "What is What's next?",
    "answer": "F o l l o w   t h e   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s   t u t o r i a l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18968"
  },
  {
    "question": "What is 10.6 - Connect a Frontend to a Backend Using Services?",
    "answer": "T h i s   t a s k   s h o w s   h o w   t o   c r e a t e   a   f r o n t e n d   a n d   a   b a c k e n d   m i c r o s e r v i c e .   T h e   b a c k e n d   m i c r o s e r v i c e   i s   a   h e l l o   g r e e t e r .   T h e   f r o n t e n d   e x p o s e s   t h e   b a c k e n d   u s i n g   n g i n x   a n d   a   K u b e r n e t e s   S e r v i c e   o b j e c t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18969"
  },
  {
    "question": "What is Objectives?",
    "answer": "C r e a t e   a n d   r u n   a   s a m p l e   h e l l o   b a c k e n d   m i c r o s e r v i c e   u s i n g   a   D e p l o y m e n t   o b j e c t . U s e   a   S e r v i c e   o b j e c t   t o   s e n d   t r a f f i c   t o   t h e   b a c k e n d   m i c r o s e r v i c e ' s   m u l t i p l e   r e p l i c a s . C r e a t e   a n d   r u n   a   n g i n x   f r o n t e n d   m i c r o s e r v i c e ,   a l s o   u s i n g   a   D e p l o y m e n t   o b j e c t . C o n f i g u r e   t h e   f r o n t e n d   m i c r o s e r v i c e   t o   s e n d   t r a f f i c   t o   t h e   b a c k e n d   m i c r o s e r v i c e . U s e   a   S e r v i c e   o b j e c t   o f   t y p e = L o a d B a l a n c e r   t o   e x p o s e   t h e   f r o n t e n d   m i c r o s e r v i c e   o u t s i d e   t h e   c l u s t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18970"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   T h i s   t a s k   u s e s   S e r v i c e s   w i t h   e x t e r n a l   l o a d   b a l a n c e r s ,   w h i c h   r e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18971"
  },
  {
    "question": "What is Creating the backend using a Deployment?",
    "answer": "T h e   b a c k e n d   i s   a   s i m p l e   h e l l o   g r e e t e r   m i c r o s e r v i c e .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   b a c k e n d   D e p l o y m e n t :   - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   b a c k e n d   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   h e l l o   t i e r :   b a c k e n d   t r a c k :   s t a b l e   r e p l i c a s :   3   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   h e l l o   t i e r :   b a c k e n d   t r a c k :   s t a b l e   s p e c :   c o n t a i n e r s :   -   n a m e :   h e l l o   i m a g e :   \" g c r . i o / g o o g l e - s a m p l e s / h e l l o - g o - g k e : 1 . 0 \"   p o r t s :   -   n a m e :   h t t p   c o n t a i n e r P o r t :   8 0   . . .   C r e a t e   t h e   b a c k e n d   D e p l o y m e n t :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / s e r v i c e / a c c e s s / b a c k e n d - d e p l o y m e n t . y a m l   V i e w   i n f o r m a t i o n   a b o u t   t h e   b a c k e n d   D e p l o y m e n t :   k u b e c t l   d e s c r i b e   d e p l o y m e n t   b a c k e n d   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N a m e :   b a c k e n d   N a m e s p a c e :   d e f a u l t   C r e a t i o n T i m e s t a m p :   M o n ,   2 4   O c t   2 0 1 6   1 4 : 2 1 : 0 2   - 0 7 0 0   L a b e l s :   a p p = h e l l o   t i e r = b a c k e n d   t r a c k = s t a b l e   A n n o t a t i o n s :   d e p l o y m e n t . k u b e r n e t e s . i o / r e v i s i o n = 1   S e l e c t o r :   a p p = h e l l o , t i e r = b a c k e n d , t r a c k = s t a b l e   R e p l i c a s :   3   d e s i r e d   |   3   u p d a t e d   |   3   t o t a l   |   3   a v a i l a b l e   |   0   u n a v a i l a b l e   S t r a t e g y T y p e :   R o l l i n g U p d a t e   M i n R e a d ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18972"
  },
  {
    "question": "What is Creating the hello Service object?",
    "answer": "T h e   k e y   t o   s e n d i n g   r e q u e s t s   f r o m   a   f r o n t e n d   t o   a   b a c k e n d   i s   t h e   b a c k e n d   S e r v i c e .   A   S e r v i c e   c r e a t e s   a   p e r s i s t e n t   I P   a d d r e s s   a n d   D N S   n a m e   e n t r y   s o   t h a t   t h e   b a c k e n d   m i c r o s e r v i c e   c a n   a l w a y s   b e   r e a c h e d .   A   S e r v i c e   u s e s   s e l e c t o r s   t o   f i n d   t h e   P o d s   t h a t   i t   r o u t e s   t r a f f i c   t o .   F i r s t ,   e x p l o r e   t h e   S e r v i c e   c o n f i g u r a t i o n   f i l e :   - - -   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   h e l l o   s p e c :   s e l e c t o r :   a p p :   h e l l o   t i e r :   b a c k e n d   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   8 0   t a r g e t P o r t :   h t t p   . . .   I n   t h e   c o n f i g u r a t i o n   f i l e ,   y o u   c a n   s e e   t h a t   t h e   S e r v i c e ,   n a m e d   h e l l o   r o u t e s   t r a f f i c   t o   P o d s   t h a t   h a v e   t h e   l a b e l s   a p p :   h e l l o   a n d   t i e r :   b a c k e n d .   C r e a t e   t h e   b a c k e n d   S e r v i c e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / s e r v i c e / a c c e s s / b a c k e n d - s e r v i c e . y a m l   A t   t h i s   p o i n t ,   y o u   h a v e   a   b a c k e n d   D e p l o y m e n t   r u n n i n g   t h r e e   r e p l i c a s   o f   y o u r   h e l l o   a p p l i c a t i o n ,   a n d   y o u   h a v e   a   S e r v i c e   t h a t   c a n   r o u t e   t r a f f i c   t o   t h e m .   H o w e v e r ,   t h i s   s e r v i c e   i s   n e i t h e r   a v a i l a b l e   n o r   r e s o l v a b l e   o u t s i d e   t h e   c l u s t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18973"
  },
  {
    "question": "What is Creating the frontend?",
    "answer": "N o w   t h a t   y o u   h a v e   y o u r   b a c k e n d   r u n n i n g ,   y o u   c a n   c r e a t e   a   f r o n t e n d   t h a t   i s   a c c e s s i b l e   o u t s i d e   t h e   c l u s t e r ,   a n d   c o n n e c t s   t o   t h e   b a c k e n d   b y   p r o x y i n g   r e q u e s t s   t o   i t .   T h e   f r o n t e n d   s e n d s   r e q u e s t s   t o   t h e   b a c k e n d   w o r k e r   P o d s   b y   u s i n g   t h e   D N S   n a m e   g i v e n   t o   t h e   b a c k e n d   S e r v i c e .   T h e   D N S   n a m e   i s   h e l l o ,   w h i c h   i s   t h e   v a l u e   o f   t h e   n a m e   f i e l d   i n   t h e   e x a m p l e s / s e r v i c e / a c c e s s / b a c k e n d - s e r v i c e . y a m l   c o n f i g u r a t i o n   f i l e .   T h e   P o d s   i n   t h e   f r o n t e n d   D e p l o y m e n t   r u n   a   n g i n x   i m a g e   t h a t   i s   c o n f i g u r e d   t o   p r o x y   r e q u e s t s   t o   t h e   h e l l o   b a c k e n d   S e r v i c e .   H e r e   i s   t h e   n g i n x   c o n f i g u r a t i o n   f i l e :   #   T h e   i d e n t i f i e r   B a c k e n d   i s   i n t e r n a l   t o   n g i n x ,   a n d   u s e d   t o   n a m e   t h i s   s p e c i f i c   u p s t r e a m   u p s t r e a m   B a c k e n d   {   #   h e l l o   i s   t h e   i n t e r n a l   D N S   n a m e   u s e d   b y   t h e   b a c k e n d   S e r v i c e   i n s i d e   K u b e r n e t e s   s e r v e r   h e l l o ;   }   s e r v e r   {   l i s t e n   8 0 ;   l o c a t i o n   /   {   #   T h e   f o l l o w i n g   s t a t e m e n t   w i l l   p r o x y   t r a f f i c   t o   t h e   u p s t r e a m   n a m e d   B a c k e n d   p r o x y _ p a s s   h t t p : / / B a c k e n d ;   }   }   s e r v e r   {   l i s t e n   8 0 ;   l o c a t i o n   /   {   #   T h e   f o l l o w i n g   s t a t e m e n t   w i l l   p r o x y   t r a f f i c   t o   t h e   u p s t r e a m   n a m e d   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18974"
  },
  {
    "question": "What is Interact with the frontend Service?",
    "answer": "O n c e   y o u ' v e   c r e a t e d   a   S e r v i c e   o f   t y p e   L o a d B a l a n c e r ,   y o u   c a n   u s e   t h i s   c o m m a n d   t o   f i n d   t h e   e x t e r n a l   I P :   k u b e c t l   g e t   s e r v i c e   f r o n t e n d   - - w a t c h   T h i s   d i s p l a y s   t h e   c o n f i g u r a t i o n   f o r   t h e   f r o n t e n d   S e r v i c e   a n d   w a t c h e s   f o r   c h a n g e s .   I n i t i a l l y ,   t h e   e x t e r n a l   I P   i s   l i s t e d   a s   < p e n d i n g > :   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   f r o n t e n d   L o a d B a l a n c e r   1 0 . 5 1 . 2 5 2 . 1 1 6   < p e n d i n g >   8 0 / T C P   1 0 s   A s   s o o n   a s   a n   e x t e r n a l   I P   i s   p r o v i s i o n e d ,   h o w e v e r ,   t h e   c o n f i g u r a t i o n   u p d a t e s   t o   i n c l u d e   t h e   n e w   I P   u n d e r   t h e   E X T E R N A L - I P   h e a d i n g :   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   f r o n t e n d   L o a d B a l a n c e r   1 0 . 5 1 . 2 5 2 . 1 1 6   X X X . X X X . X X X . X X X   8 0 / T C P   1 m   T h a t   I P   c a n   n o w   b e   u s e d   t o   i n t e r a c t   w i t h   t h e   f r o n t e n d   s e r v i c e   f r o m   o u t s i d e   t h e   c l u s t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18975"
  },
  {
    "question": "What is Send traffic through the frontend?",
    "answer": "T h e   f r o n t e n d   a n d   b a c k e n d   a r e   n o w   c o n n e c t e d .   Y o u   c a n   h i t   t h e   e n d p o i n t   b y   u s i n g   t h e   c u r l   c o m m a n d   o n   t h e   e x t e r n a l   I P   o f   y o u r   f r o n t e n d   S e r v i c e .   c u r l   h t t p : / / $ { E X T E R N A L _ I P }   #   r e p l a c e   t h i s   w i t h   t h e   E X T E R N A L - I P   y o u   s a w   e a r l i e r   T h e   o u t p u t   s h o w s   t h e   m e s s a g e   g e n e r a t e d   b y   t h e   b a c k e n d :   { \" m e s s a g e \" : \" H e l l o \" }",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18976"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "T o   d e l e t e   t h e   S e r v i c e s ,   e n t e r   t h i s   c o m m a n d :   k u b e c t l   d e l e t e   s e r v i c e s   f r o n t e n d   b a c k e n d   T o   d e l e t e   t h e   D e p l o y m e n t s ,   t h e   R e p l i c a S e t s   a n d   t h e   P o d s   t h a t   a r e   r u n n i n g   t h e   b a c k e n d   a n d   f r o n t e n d   a p p l i c a t i o n s ,   e n t e r   t h i s   c o m m a n d :   k u b e c t l   d e l e t e   d e p l o y m e n t   f r o n t e n d   b a c k e n d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18977"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   S e r v i c e s L e a r n   m o r e   a b o u t   C o n f i g M a p s L e a r n   m o r e   a b o u t   D N S   f o r   S e r v i c e   a n d   P o d s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18978"
  },
  {
    "question": "What is 10.7 - Create an External Load Balancer?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c r e a t e   a n   e x t e r n a l   l o a d   b a l a n c e r .   W h e n   c r e a t i n g   a   S e r v i c e ,   y o u   h a v e   t h e   o p t i o n   o f   a u t o m a t i c a l l y   c r e a t i n g   a   c l o u d   l o a d   b a l a n c e r .   T h i s   p r o v i d e s   a n   e x t e r n a l l y - a c c e s s i b l e   I P   a d d r e s s   t h a t   s e n d s   t r a f f i c   t o   t h e   c o r r e c t   p o r t   o n   y o u r   c l u s t e r   n o d e s ,   p r o v i d e d   y o u r   c l u s t e r   r u n s   i n   a   s u p p o r t e d   e n v i r o n m e n t   a n d   i s   c o n f i g u r e d   w i t h   t h e   c o r r e c t   c l o u d   l o a d   b a l a n c e r   p r o v i d e r   p a c k a g e .   Y o u   c a n   a l s o   u s e   a n   I n g r e s s   i n   p l a c e   o f   S e r v i c e .   F o r   m o r e   i n f o r m a t i o n ,   c h e c k   t h e   I n g r e s s   d o c u m e n t a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18979"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u r   c l u s t e r   m u s t   b e   r u n n i n g   i n   a   c l o u d   o r   o t h e r   e n v i r o n m e n t   t h a t   a l r e a d y   h a s   s u p p o r t   f o r   c o n f i g u r i n g   e x t e r n a l   l o a d   b a l a n c e r s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18980"
  },
  {
    "question": "What is Create a Service from a manifest?",
    "answer": "T o   c r e a t e   a n   e x t e r n a l   l o a d   b a l a n c e r ,   a d d   t h e   f o l l o w i n g   l i n e   t o   y o u r   S e r v i c e   m a n i f e s t :   t y p e :   L o a d B a l a n c e r   Y o u r   m a n i f e s t   m i g h t   t h e n   l o o k   l i k e :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   e x a m p l e - s e r v i c e   s p e c :   s e l e c t o r :   a p p :   e x a m p l e   p o r t s :   -   p o r t :   8 7 6 5   t a r g e t P o r t :   9 3 7 6   t y p e :   L o a d B a l a n c e r",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18981"
  },
  {
    "question": "What is Create a Service using kubectl?",
    "answer": "Y o u   c a n   a l t e r n a t i v e l y   c r e a t e   t h e   s e r v i c e   w i t h   t h e   k u b e c t l   e x p o s e   c o m m a n d   a n d   i t s   - - t y p e = L o a d B a l a n c e r   f l a g :   k u b e c t l   e x p o s e   d e p l o y m e n t   e x a m p l e   - - p o r t = 8 7 6 5   - - t a r g e t - p o r t = 9 3 7 6   \\   - - n a m e = e x a m p l e - s e r v i c e   - - t y p e = L o a d B a l a n c e r   T h i s   c o m m a n d   c r e a t e s   a   n e w   S e r v i c e   u s i n g   t h e   s a m e   s e l e c t o r s   a s   t h e   r e f e r e n c e d   r e s o u r c e   ( i n   t h e   c a s e   o f   t h e   e x a m p l e   a b o v e ,   a   D e p l o y m e n t   n a m e d   e x a m p l e ) .   F o r   m o r e   i n f o r m a t i o n ,   i n c l u d i n g   o p t i o n a l   f l a g s ,   r e f e r   t o   t h e   k u b e c t l   e x p o s e   r e f e r e n c e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18982"
  },
  {
    "question": "What is Finding your IP address?",
    "answer": "Y o u   c a n   f i n d   t h e   I P   a d d r e s s   c r e a t e d   f o r   y o u r   s e r v i c e   b y   g e t t i n g   t h e   s e r v i c e   i n f o r m a t i o n   t h r o u g h   k u b e c t l :   k u b e c t l   d e s c r i b e   s e r v i c e s   e x a m p l e - s e r v i c e   w h i c h   s h o u l d   p r o d u c e   o u t p u t   s i m i l a r   t o :   N a m e :   e x a m p l e - s e r v i c e   N a m e s p a c e :   d e f a u l t   L a b e l s :   a p p = e x a m p l e   A n n o t a t i o n s :   < n o n e >   S e l e c t o r :   a p p = e x a m p l e   T y p e :   L o a d B a l a n c e r   I P   F a m i l i e s :   < n o n e >   I P :   1 0 . 3 . 2 2 . 9 6   I P s :   1 0 . 3 . 2 2 . 9 6   L o a d B a l a n c e r   I n g r e s s :   1 9 2 . 0 . 2 . 8 9   P o r t :   < u n s e t >   8 7 6 5 / T C P   T a r g e t P o r t :   9 3 7 6 / T C P   N o d e P o r t :   < u n s e t >   3 0 5 9 3 / T C P   E n d p o i n t s :   1 7 2 . 1 7 . 0 . 3 : 9 3 7 6   S e s s i o n   A f f i n i t y :   N o n e   E x t e r n a l   T r a f f i c   P o l i c y :   C l u s t e r   E v e n t s :   < n o n e >   T h e   l o a d   b a l a n c e r ' s   I P   a d d r e s s   i s   l i s t e d   n e x t   t o   L o a d B a l a n c e r   I n g r e s s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18983"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   a r e   r u n n i n g   y o u r   s e r v i c e   o n   M i n i k u b e ,   y o u   c a n   f i n d   t h e   a s s i g n e d   I P   a d d r e s s   a n d   p o r t   w i t h :   m i n i k u b e   s e r v i c e   e x a m p l e - s e r v i c e   - - u r l",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_18984"
  },
  {
    "question": "What is Preserving the client source IP?",
    "answer": "B y   d e f a u l t ,   t h e   s o u r c e   I P   s e e n   i n   t h e   t a r g e t   c o n t a i n e r   i s   n o t   t h e   o r i g i n a l   s o u r c e   I P   o f   t h e   c l i e n t .   T o   e n a b l e   p r e s e r v a t i o n   o f   t h e   c l i e n t   I P ,   t h e   f o l l o w i n g   f i e l d s   c a n   b e   c o n f i g u r e d   i n   t h e   . s p e c   o f   t h e   S e r v i c e :   . s p e c . e x t e r n a l T r a f f i c P o l i c y   -   d e n o t e s   i f   t h i s   S e r v i c e   d e s i r e s   t o   r o u t e   e x t e r n a l   t r a f f i c   t o   n o d e - l o c a l   o r   c l u s t e r - w i d e   e n d p o i n t s .   T h e r e   a r e   t w o   a v a i l a b l e   o p t i o n s :   C l u s t e r   ( d e f a u l t )   a n d   L o c a l .   C l u s t e r   o b s c u r e s   t h e   c l i e n t   s o u r c e   I P   a n d   m a y   c a u s e   a   s e c o n d   h o p   t o   a n o t h e r   n o d e ,   b u t   s h o u l d   h a v e   g o o d   o v e r a l l   l o a d - s p r e a d i n g .   L o c a l   p r e s e r v e s   t h e   c l i e n t   s o u r c e   I P   a n d   a v o i d s   a   s e c o n d   h o p   f o r   L o a d B a l a n c e r   a n d   N o d e P o r t   t y p e   S e r v i c e s ,   b u t   r i s k s   p o t e n t i a l l y   i m b a l a n c e d   t r a f f i c   s p r e a d i n g . . s p e c . h e a l t h C h e c k N o d e P o r t   -   s p e c i f i e s   t h e   h e a l t h   c h e c k   n o d e   p o r t   ( n u m e r i c   p o r t   n u m b e r )   f o r   t h e   s e r v i c e .   I f   y o u   d o n ' t   s p e c i f y   h e a l t h C h e c k N o d e P o r t ,   t h e   s e r v i c e   c o n t r o l l e r   a l l o c a t e s   a   p o r t   f r o m   y o u r   c l u s t e r ' s   N o d e P o r t   r a n g e . Y o u   c a n   c o n f i g u r e   t h a t   r a n g e   b y   s e t t i n g   a n   A P I   s e r v e r   c o m m a n d   l i n e   o p t i o n ,   - - s e r v i c e - n o d e - p o r t - ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18985"
  },
  {
    "question": "What is Caveats and limitations when preserving source IPs?",
    "answer": "L o a d   b a l a n c i n g   s e r v i c e s   f r o m   s o m e   c l o u d   p r o v i d e r s   d o   n o t   l e t   y o u   c o n f i g u r e   d i f f e r e n t   w e i g h t s   f o r   e a c h   t a r g e t .   W i t h   e a c h   t a r g e t   w e i g h t e d   e q u a l l y   i n   t e r m s   o f   s e n d i n g   t r a f f i c   t o   N o d e s ,   e x t e r n a l   t r a f f i c   i s   n o t   e q u a l l y   l o a d   b a l a n c e d   a c r o s s   d i f f e r e n t   P o d s .   T h e   e x t e r n a l   l o a d   b a l a n c e r   i s   u n a w a r e   o f   t h e   n u m b e r   o f   P o d s   o n   e a c h   n o d e   t h a t   a r e   u s e d   a s   a   t a r g e t .   W h e r e   N u m S e r v i c e P o d s   < <   N u m N o d e s   o r   N u m S e r v i c e P o d s   > >   N u m N o d e s ,   a   f a i r l y   c l o s e - t o - e q u a l   d i s t r i b u t i o n   w i l l   b e   s e e n ,   e v e n   w i t h o u t   w e i g h t s .   I n t e r n a l   p o d   t o   p o d   t r a f f i c   s h o u l d   b e h a v e   s i m i l a r   t o   C l u s t e r I P   s e r v i c e s ,   w i t h   e q u a l   p r o b a b i l i t y   a c r o s s   a l l   p o d s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18986"
  },
  {
    "question": "What is Garbage collecting load balancers?",
    "answer": "I n   u s u a l   c a s e ,   t h e   c o r r e l a t i n g   l o a d   b a l a n c e r   r e s o u r c e s   i n   c l o u d   p r o v i d e r   s h o u l d   b e   c l e a n e d   u p   s o o n   a f t e r   a   L o a d B a l a n c e r   t y p e   S e r v i c e   i s   d e l e t e d .   B u t   i t   i s   k n o w n   t h a t   t h e r e   a r e   v a r i o u s   c o r n e r   c a s e s   w h e r e   c l o u d   r e s o u r c e s   a r e   o r p h a n e d   a f t e r   t h e   a s s o c i a t e d   S e r v i c e   i s   d e l e t e d .   F i n a l i z e r   P r o t e c t i o n   f o r   S e r v i c e   L o a d B a l a n c e r s   w a s   i n t r o d u c e d   t o   p r e v e n t   t h i s   f r o m   h a p p e n i n g .   B y   u s i n g   f i n a l i z e r s ,   a   S e r v i c e   r e s o u r c e   w i l l   n e v e r   b e   d e l e t e d   u n t i l   t h e   c o r r e l a t i n g   l o a d   b a l a n c e r   r e s o u r c e s   a r e   a l s o   d e l e t e d .   S p e c i f i c a l l y ,   i f   a   S e r v i c e   h a s   t y p e   L o a d B a l a n c e r ,   t h e   s e r v i c e   c o n t r o l l e r   w i l l   a t t a c h   a   f i n a l i z e r   n a m e d   s e r v i c e . k u b e r n e t e s . i o / l o a d - b a l a n c e r - c l e a n u p .   T h e   f i n a l i z e r   w i l l   o n l y   b e   r e m o v e d   a f t e r   t h e   l o a d   b a l a n c e r   r e s o u r c e   i s   c l e a n e d   u p .   T h i s   p r e v e n t s   d a n g l i n g   l o a d   b a l a n c e r   r e s o u r c e s   e v e n   i n   c o r n e r   c a s e s   s u c h   a s   t h e   s e r v i c e   c o n t r o l l e r   c r a s h i n g .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18987"
  },
  {
    "question": "What is External load balancer providers?",
    "answer": "I t   i s   i m p o r t a n t   t o   n o t e   t h a t   t h e   d a t a p a t h   f o r   t h i s   f u n c t i o n a l i t y   i s   p r o v i d e d   b y   a   l o a d   b a l a n c e r   e x t e r n a l   t o   t h e   K u b e r n e t e s   c l u s t e r .   W h e n   t h e   S e r v i c e   t y p e   i s   s e t   t o   L o a d B a l a n c e r ,   K u b e r n e t e s   p r o v i d e s   f u n c t i o n a l i t y   e q u i v a l e n t   t o   t y p e   e q u a l s   C l u s t e r I P   t o   p o d s   w i t h i n   t h e   c l u s t e r   a n d   e x t e n d s   i t   b y   p r o g r a m m i n g   t h e   ( e x t e r n a l   t o   K u b e r n e t e s )   l o a d   b a l a n c e r   w i t h   e n t r i e s   f o r   t h e   n o d e s   h o s t i n g   t h e   r e l e v a n t   K u b e r n e t e s   p o d s .   T h e   K u b e r n e t e s   c o n t r o l   p l a n e   a u t o m a t e s   t h e   c r e a t i o n   o f   t h e   e x t e r n a l   l o a d   b a l a n c e r ,   h e a l t h   c h e c k s   ( i f   n e e d e d ) ,   a n d   p a c k e t   f i l t e r i n g   r u l e s   ( i f   n e e d e d ) .   O n c e   t h e   c l o u d   p r o v i d e r   a l l o c a t e s   a n   I P   a d d r e s s   f o r   t h e   l o a d   b a l a n c e r ,   t h e   c o n t r o l   p l a n e   l o o k s   u p   t h a t   e x t e r n a l   I P   a d d r e s s   a n d   p o p u l a t e s   i t   i n t o   t h e   S e r v i c e   o b j e c t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18988"
  },
  {
    "question": "What is What's next?",
    "answer": "F o l l o w   t h e   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s   t u t o r i a l R e a d   a b o u t   S e r v i c e R e a d   a b o u t   I n g r e s s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18989"
  },
  {
    "question": "What is 10.8 - List All Container Images Running in a Cluster?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   k u b e c t l   t o   l i s t   a l l   o f   t h e   C o n t a i n e r   i m a g e s   f o r   P o d s   r u n n i n g   i n   a   c l u s t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18990"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   I n   t h i s   e x e r c i s e   y o u   w i l l   u s e   k u b e c t l   t o   f e t c h   a l l   o f   t h e   P o d s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18991"
  },
  {
    "question": "What is List all Container images in all namespaces?",
    "answer": "F e t c h   a l l   P o d s   i n   a l l   n a m e s p a c e s   u s i n g   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s F o r m a t   t h e   o u t p u t   t o   i n c l u d e   o n l y   t h e   l i s t   o f   C o n t a i n e r   i m a g e   n a m e s   u s i n g   - o   j s o n p a t h = { . i t e m s [ * ] . s p e c [ ' i n i t C o n t a i n e r s ' ,   ' c o n t a i n e r s ' ] [ * ] . i m a g e } .   T h i s   w i l l   r e c u r s i v e l y   p a r s e   o u t   t h e   i m a g e   f i e l d   f r o m   t h e   r e t u r n e d   j s o n . S e e   t h e   j s o n p a t h   r e f e r e n c e   f o r   f u r t h e r   i n f o r m a t i o n   o n   h o w   t o   u s e   j s o n p a t h . F o r m a t   t h e   o u t p u t   u s i n g   s t a n d a r d   t o o l s :   t r ,   s o r t ,   u n i q U s e   t r   t o   r e p l a c e   s p a c e s   w i t h   n e w l i n e s U s e   s o r t   t o   s o r t   t h e   r e s u l t s U s e   u n i q   t o   a g g r e g a t e   i m a g e   c o u n t s   S e e   t h e   j s o n p a t h   r e f e r e n c e   f o r   f u r t h e r   i n f o r m a t i o n   o n   h o w   t o   u s e   j s o n p a t h .   U s e   t r   t o   r e p l a c e   s p a c e s   w i t h   n e w l i n e s U s e   s o r t   t o   s o r t   t h e   r e s u l t s U s e   u n i q   t o   a g g r e g a t e   i m a g e   c o u n t s   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s   - o   j s o n p a t h = \" { . i t e m s [ * ] . s p e c [ ' i n i t C o n t a i n e r s ' ,   ' c o n t a i n e r s ' ] [ * ] . i m a g e } \"   | \\   t r   - s   ' [ [ : s p a c e : ] ] '   ' \\ n '   | \\   s o r t   | \\   u n i q   - c   T h e   j s o n p a t h   i s   i n t e r p r e t e d   a s   f o l l o w s :   . i t e m s [ * ] :   f o r   e a c h   r e t u r n e d   v a l u e . s p e c :   g e t   t h e   s p e c [ ' i n i t C o n t a i n e r s ' ,   ' c o n t a i n e r s ' ] [ * ] :   f o r   e a c h   c o n t a i n e r . i m a g e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18992"
  },
  {
    "question": "What is List Container images by Pod?",
    "answer": "T h e   f o r m a t t i n g   c a n   b e   c o n t r o l l e d   f u r t h e r   b y   u s i n g   t h e   r a n g e   o p e r a t i o n   t o   i t e r a t e   o v e r   e l e m e n t s   i n d i v i d u a l l y .   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s   - o   j s o n p a t h = ' { r a n g e   . i t e m s [ * ] } { \" \\ n \" } { . m e t a d a t a . n a m e } { \" : \\ t \" } { r a n g e   . s p e c . c o n t a i n e r s [ * ] } { . i m a g e } { \" ,   \" } { e n d } { e n d } '   | \\   s o r t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18993"
  },
  {
    "question": "What is List Container images filtering by Pod label?",
    "answer": "T o   t a r g e t   o n l y   P o d s   m a t c h i n g   a   s p e c i f i c   l a b e l ,   u s e   t h e   - l   f l a g .   T h e   f o l l o w i n g   m a t c h e s   o n l y   P o d s   w i t h   l a b e l s   m a t c h i n g   a p p = n g i n x .   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s   - o   j s o n p a t h = \" { . i t e m s [ * ] . s p e c . c o n t a i n e r s [ * ] . i m a g e } \"   - l   a p p = n g i n x",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18994"
  },
  {
    "question": "What is List Container images filtering by Pod namespace?",
    "answer": "T o   t a r g e t   o n l y   p o d s   i n   a   s p e c i f i c   n a m e s p a c e ,   u s e   t h e   n a m e s p a c e   f l a g .   T h e   f o l l o w i n g   m a t c h e s   o n l y   P o d s   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   k u b e c t l   g e t   p o d s   - - n a m e s p a c e   k u b e - s y s t e m   - o   j s o n p a t h = \" { . i t e m s [ * ] . s p e c . c o n t a i n e r s [ * ] . i m a g e } \"",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18995"
  },
  {
    "question": "What is List Container images using a go-template instead of jsonpath?",
    "answer": "A s   a n   a l t e r n a t i v e   t o   j s o n p a t h ,   K u b e c t l   s u p p o r t s   u s i n g   g o - t e m p l a t e s   f o r   f o r m a t t i n g   t h e   o u t p u t :   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s   - o   g o - t e m p l a t e   - - t e m p l a t e = \" { { r a n g e   . i t e m s } } { { r a n g e   . s p e c . c o n t a i n e r s } } { { . i m a g e } }   { { e n d } } { { e n d } } \"",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18996"
  },
  {
    "question": "What is Reference?",
    "answer": "J s o n p a t h   r e f e r e n c e   g u i d e G o   t e m p l a t e   r e f e r e n c e   g u i d e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_18997"
  },
  {
    "question": "What is 10.9 - Set up Ingress on Minikube with the NGINX Ingress Controller?",
    "answer": "A n   I n g r e s s   i s   a n   A P I   o b j e c t   t h a t   d e f i n e s   r u l e s   w h i c h   a l l o w   e x t e r n a l   a c c e s s   t o   s e r v i c e s   i n   a   c l u s t e r .   A n   I n g r e s s   c o n t r o l l e r   f u l f i l l s   t h e   r u l e s   s e t   i n   t h e   I n g r e s s .   T h i s   p a g e   s h o w s   y o u   h o w   t o   s e t   u p   a   s i m p l e   I n g r e s s   w h i c h   r o u t e s   r e q u e s t s   t o   S e r v i c e   ' w e b '   o r   ' w e b 2 '   d e p e n d i n g   o n   t h e   H T T P   U R I .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_18998"
  },
  {
    "question": "What is Before you begin?",
    "answer": "T h i s   t u t o r i a l   a s s u m e s   t h a t   y o u   a r e   u s i n g   m i n i k u b e   t o   r u n   a   l o c a l   K u b e r n e t e s   c l u s t e r .   V i s i t   I n s t a l l   t o o l s   t o   l e a r n   h o w   t o   i n s t a l l   m i n i k u b e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_18999"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 1 9 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n . I f   y o u   a r e   u s i n g   a n   o l d e r   K u b e r n e t e s   v e r s i o n ,   s w i t c h   t o   t h e   d o c u m e n t a t i o n   f o r   t h a t   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19000"
  },
  {
    "question": "What is Create a minikube cluster?",
    "answer": "I f   y o u   h a v e n ' t   a l r e a d y   s e t   u p   a   c l u s t e r   l o c a l l y ,   r u n   m i n i k u b e   s t a r t   t o   c r e a t e   a   c l u s t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19001"
  },
  {
    "question": "What is Enable the Ingress controller?",
    "answer": "T o   e n a b l e   t h e   N G I N X   I n g r e s s   c o n t r o l l e r ,   r u n   t h e   f o l l o w i n g   c o m m a n d : m i n i k u b e   a d d o n s   e n a b l e   i n g r e s s   V e r i f y   t h a t   t h e   N G I N X   I n g r e s s   c o n t r o l l e r   i s   r u n n i n g k u b e c t l   g e t   p o d s   - n   i n g r e s s - n g i n x   N o t e : I t   c a n   t a k e   u p   t o   a   m i n u t e   b e f o r e   y o u   s e e   t h e s e   p o d s   r u n n i n g   O K . T h e   o u t p u t   i s   s i m i l a r   t o : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   i n g r e s s - n g i n x - a d m i s s i o n - c r e a t e - g 9 g 4 9   0 / 1   C o m p l e t e d   0   1 1 m   i n g r e s s - n g i n x - a d m i s s i o n - p a t c h - r q p 7 8   0 / 1   C o m p l e t e d   1   1 1 m   i n g r e s s - n g i n x - c o n t r o l l e r - 5 9 b 4 5 f b 4 9 4 - 2 6 n p t   1 / 1   R u n n i n g   0   1 1 m   T o   e n a b l e   t h e   N G I N X   I n g r e s s   c o n t r o l l e r ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   m i n i k u b e   a d d o n s   e n a b l e   i n g r e s s   V e r i f y   t h a t   t h e   N G I N X   I n g r e s s   c o n t r o l l e r   i s   r u n n i n g   k u b e c t l   g e t   p o d s   - n   i n g r e s s - n g i n x",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19002"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   i n g r e s s - n g i n x - a d m i s s i o n - c r e a t e - g 9 g 4 9   0 / 1   C o m p l e t e d   0   1 1 m   i n g r e s s - n g i n x - a d m i s s i o n - p a t c h - r q p 7 8   0 / 1   C o m p l e t e d   1   1 1 m   i n g r e s s - n g i n x - c o n t r o l l e r - 5 9 b 4 5 f b 4 9 4 - 2 6 n p t   1 / 1   R u n n i n g   0   1 1 m",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19003"
  },
  {
    "question": "What is Deploy a hello, world app?",
    "answer": "C r e a t e   a   D e p l o y m e n t   u s i n g   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   c r e a t e   d e p l o y m e n t   w e b   - - i m a g e = g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 1 . 0   T h e   o u t p u t   s h o u l d   b e : d e p l o y m e n t . a p p s / w e b   c r e a t e d   V e r i f y   t h a t   t h e   D e p l o y m e n t   i s   i n   a   R e a d y   s t a t e : k u b e c t l   g e t   d e p l o y m e n t   w e b   T h e   o u t p u t   s h o u l d   b e   s i m i l a r   t o : N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   w e b   1 / 1   1   1   5 3 s   E x p o s e   t h e   D e p l o y m e n t : k u b e c t l   e x p o s e   d e p l o y m e n t   w e b   - - t y p e = N o d e P o r t   - - p o r t = 8 0 8 0   T h e   o u t p u t   s h o u l d   b e : s e r v i c e / w e b   e x p o s e d   V e r i f y   t h e   S e r v i c e   i s   c r e a t e d   a n d   i s   a v a i l a b l e   o n   a   n o d e   p o r t : k u b e c t l   g e t   s e r v i c e   w e b   T h e   o u t p u t   i s   s i m i l a r   t o : N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   w e b   N o d e P o r t   1 0 . 1 0 4 . 1 3 3 . 2 4 9   < n o n e >   8 0 8 0 : 3 1 6 3 7 / T C P   1 2 m   V i s i t   t h e   S e r v i c e   v i a   N o d e P o r t ,   u s i n g   t h e   m i n i k u b e   s e r v i c e   c o m m a n d .   F o l l o w   t h e   i n s t r u c t i o n s   f o r   y o u r   p l a t f o r m : m i n i k u b e   s e r v i c e   w e b   - - u r l   T h e   o u t p u t   i s   s i m i l a r   t o : h t t p : / / 1 7 2 . 1 7 . 0 . 1 5 : 3 1 6 3 7   I n v o k e   t h e   U R L   o b t a i n e d   i n   t h e   o u t p u t   o f   t h e   p r e v i o u s   s t e p : c u r l   h t t p : / / 1 7 2 . 1 7 . 0 . 1 5 : 3 1 6 3 7   #   T h e   c o m m a n d   m u s t   b e   r u n   i n   a   s e p a r a t e   t e r m i n a l .   m i n i k u b e   s e r v i ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19004"
  },
  {
    "question": "What is Create an Ingress?",
    "answer": "T h e   f o l l o w i n g   m a n i f e s t   d e f i n e s   a n   I n g r e s s   t h a t   s e n d s   t r a f f i c   t o   y o u r   S e r v i c e   v i a   h e l l o - w o r l d . e x a m p l e .   C r e a t e   e x a m p l e - i n g r e s s . y a m l   f r o m   t h e   f o l l o w i n g   f i l e : s e r v i c e / n e t w o r k i n g / e x a m p l e - i n g r e s s . y a m l   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a :   n a m e :   e x a m p l e - i n g r e s s   s p e c :   i n g r e s s C l a s s N a m e :   n g i n x   r u l e s :   -   h o s t :   h e l l o - w o r l d . e x a m p l e   h t t p :   p a t h s :   -   p a t h :   /   p a t h T y p e :   P r e f i x   b a c k e n d :   s e r v i c e :   n a m e :   w e b   p o r t :   n u m b e r :   8 0 8 0 C r e a t e   t h e   I n g r e s s   o b j e c t   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / s e r v i c e / n e t w o r k i n g / e x a m p l e - i n g r e s s . y a m l   T h e   o u t p u t   s h o u l d   b e : i n g r e s s . n e t w o r k i n g . k 8 s . i o / e x a m p l e - i n g r e s s   c r e a t e d   V e r i f y   t h e   I P   a d d r e s s   i s   s e t : k u b e c t l   g e t   i n g r e s s   N o t e : T h i s   c a n   t a k e   a   c o u p l e   o f   m i n u t e s . Y o u   s h o u l d   s e e   a n   I P v 4   a d d r e s s   i n   t h e   A D D R E S S   c o l u m n ;   f o r   e x a m p l e : N A M E   C L A S S   H O S T S   A D D R E S S   P O R T S   A G E   e x a m p l e - i n g r e s s   n g i n x   h e l l o - w o r l d . e x a m p l e   1 7 2 . 1 7 . 0 . 1 5   8 0   3 8 s   V e r i f y   t h a t   t h e   I n g r e s s   c o n t r o l l e r   i s   d i r e c t i n g   t r a f f i c ,   b y   f o l l o w i n g   t h e   i n s t r u c t i o n s   f o r   y o u r   p l a t f o r m : N o t e : T h e   n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19005"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   s h o u l d   s e e   a n   I P v 4   a d d r e s s   i n   t h e   A D D R E S S   c o l u m n ;   f o r   e x a m p l e :   N A M E   C L A S S   H O S T S   A D D R E S S   P O R T S   A G E   e x a m p l e - i n g r e s s   n g i n x   h e l l o - w o r l d . e x a m p l e   1 7 2 . 1 7 . 0 . 1 5   8 0   3 8 s   V e r i f y   t h a t   t h e   I n g r e s s   c o n t r o l l e r   i s   d i r e c t i n g   t r a f f i c ,   b y   f o l l o w i n g   t h e   i n s t r u c t i o n s   f o r   y o u r   p l a t f o r m :",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19006"
  },
  {
    "question": "What is Note:?",
    "answer": "c u r l   - - r e s o l v e   \" h e l l o - w o r l d . e x a m p l e : 8 0 : $ (   m i n i k u b e   i p   ) \"   - i   h t t p : / / h e l l o - w o r l d . e x a m p l e   m i n i k u b e   t u n n e l   T h e   o u t p u t   i s   s i m i l a r   t o : T u n n e l   s u c c e s s f u l l y   s t a r t e d   N O T E :   P l e a s e   d o   n o t   c l o s e   t h i s   t e r m i n a l   a s   t h i s   p r o c e s s   m u s t   s t a y   a l i v e   f o r   t h e   t u n n e l   t o   b e   a c c e s s i b l e   . . .   T h e   s e r v i c e / i n g r e s s   e x a m p l e - i n g r e s s   r e q u i r e s   p r i v i l e g e d   p o r t s   t o   b e   e x p o s e d :   [ 8 0   4 4 3 ]   s u d o   p e r m i s s i o n   w i l l   b e   a s k e d   f o r   i t .   S t a r t i n g   t u n n e l   f o r   s e r v i c e   e x a m p l e - i n g r e s s .   F r o m   w i t h i n   a   n e w   t e r m i n a l ,   i n v o k e   t h e   f o l l o w i n g   c o m m a n d : c u r l   - - r e s o l v e   \" h e l l o - w o r l d . e x a m p l e : 8 0 : 1 2 7 . 0 . 0 . 1 \"   - i   h t t p : / / h e l l o - w o r l d . e x a m p l e   Y o u   s h o u l d   s e e :   c u r l   - - r e s o l v e   \" h e l l o - w o r l d . e x a m p l e : 8 0 : $ (   m i n i k u b e   i p   ) \"   - i   h t t p : / / h e l l o - w o r l d . e x a m p l e   c u r l   - - r e s o l v e   \" h e l l o - w o r l d . e x a m p l e : 8 0 : $ (   m i n i k u b e   i p   ) \"   - i   h t t p : / / h e l l o - w o r l d . e x a m p l e   m i n i k u b e   t u n n e l   T h e   o u t p u t   i s   s i m i l a r   t o : T u n n e l   s u c c e s s f u l l y   s t a r t e d   N O T E :   P l e a s e   d o   n o t   c l o s e   t h i s   t e r m i n a l   a s   t h i s   p r o c e s s   m u s t   s t a y   a l i v e   f o r   t h e   t u n n e l   t o   b e   a c c e s s i b l e   . . .   T h e   s e r v i c e / i n g r e s s   e x a m p l e - i n g r e s s   r e q u i r e s   p r i v i l e g e d   p o r t s   t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19007"
  },
  {
    "question": "What is Note:?",
    "answer": "1 2 7 . 0 . 0 . 1   h e l l o - w o r l d . e x a m p l e   1 2 7 . 0 . 0 . 1   h e l l o - w o r l d . e x a m p l e   A f t e r   y o u   m a k e   t h i s   c h a n g e ,   y o u r   w e b   b r o w s e r   s e n d s   r e q u e s t s   f o r   h e l l o - w o r l d . e x a m p l e   U R L s   t o   M i n i k u b e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19008"
  },
  {
    "question": "What is Create a second Deployment?",
    "answer": "C r e a t e   a n o t h e r   D e p l o y m e n t   u s i n g   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   c r e a t e   d e p l o y m e n t   w e b 2   - - i m a g e = g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 2 . 0   T h e   o u t p u t   s h o u l d   b e : d e p l o y m e n t . a p p s / w e b 2   c r e a t e d   V e r i f y   t h a t   t h e   D e p l o y m e n t   i s   i n   a   R e a d y   s t a t e : k u b e c t l   g e t   d e p l o y m e n t   w e b 2   T h e   o u t p u t   s h o u l d   b e   s i m i l a r   t o : N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   w e b 2   1 / 1   1   1   1 6 s   E x p o s e   t h e   s e c o n d   D e p l o y m e n t : k u b e c t l   e x p o s e   d e p l o y m e n t   w e b 2   - - p o r t = 8 0 8 0   - - t y p e = N o d e P o r t   T h e   o u t p u t   s h o u l d   b e : s e r v i c e / w e b 2   e x p o s e d   C r e a t e   a n o t h e r   D e p l o y m e n t   u s i n g   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   c r e a t e   d e p l o y m e n t   w e b 2   - - i m a g e = g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 2 . 0   T h e   o u t p u t   s h o u l d   b e :   d e p l o y m e n t . a p p s / w e b 2   c r e a t e d   V e r i f y   t h a t   t h e   D e p l o y m e n t   i s   i n   a   R e a d y   s t a t e :   k u b e c t l   g e t   d e p l o y m e n t   w e b 2   T h e   o u t p u t   s h o u l d   b e   s i m i l a r   t o :   N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   w e b 2   1 / 1   1   1   1 6 s   E x p o s e   t h e   s e c o n d   D e p l o y m e n t :   k u b e c t l   e x p o s e   d e p l o y m e n t   w e b 2   - - p o r t = 8 0 8 0   - - t y p e = N o d e P o r t   T h e   o u t p u t   s h o u l d   b e :   s e r v i c e / w e b 2   e x p o s e d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19009"
  },
  {
    "question": "What is Edit the existing Ingress?",
    "answer": "E d i t   t h e   e x i s t i n g   e x a m p l e - i n g r e s s . y a m l   m a n i f e s t ,   a n d   a d d   t h e   f o l l o w i n g   l i n e s   a t   t h e   e n d : -   p a t h :   / v 2   p a t h T y p e :   P r e f i x   b a c k e n d :   s e r v i c e :   n a m e :   w e b 2   p o r t :   n u m b e r :   8 0 8 0   A p p l y   t h e   c h a n g e s : k u b e c t l   a p p l y   - f   e x a m p l e - i n g r e s s . y a m l   Y o u   s h o u l d   s e e : i n g r e s s . n e t w o r k i n g / e x a m p l e - i n g r e s s   c o n f i g u r e d   E d i t   t h e   e x i s t i n g   e x a m p l e - i n g r e s s . y a m l   m a n i f e s t ,   a n d   a d d   t h e   f o l l o w i n g   l i n e s   a t   t h e   e n d :   -   p a t h :   / v 2   p a t h T y p e :   P r e f i x   b a c k e n d :   s e r v i c e :   n a m e :   w e b 2   p o r t :   n u m b e r :   8 0 8 0   A p p l y   t h e   c h a n g e s :   k u b e c t l   a p p l y   - f   e x a m p l e - i n g r e s s . y a m l   Y o u   s h o u l d   s e e :   i n g r e s s . n e t w o r k i n g / e x a m p l e - i n g r e s s   c o n f i g u r e d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19010"
  },
  {
    "question": "What is Test your Ingress?",
    "answer": "A c c e s s   t h e   1 s t   v e r s i o n   o f   t h e   H e l l o   W o r l d   a p p . c u r l   - - r e s o l v e   \" h e l l o - w o r l d . e x a m p l e : 8 0 : $ (   m i n i k u b e   i p   ) \"   - i   h t t p : / / h e l l o - w o r l d . e x a m p l e   m i n i k u b e   t u n n e l   T h e   o u t p u t   i s   s i m i l a r   t o : T u n n e l   s u c c e s s f u l l y   s t a r t e d   N O T E :   P l e a s e   d o   n o t   c l o s e   t h i s   t e r m i n a l   a s   t h i s   p r o c e s s   m u s t   s t a y   a l i v e   f o r   t h e   t u n n e l   t o   b e   a c c e s s i b l e   . . .   T h e   s e r v i c e / i n g r e s s   e x a m p l e - i n g r e s s   r e q u i r e s   p r i v i l e g e d   p o r t s   t o   b e   e x p o s e d :   [ 8 0   4 4 3 ]   s u d o   p e r m i s s i o n   w i l l   b e   a s k e d   f o r   i t .   S t a r t i n g   t u n n e l   f o r   s e r v i c e   e x a m p l e - i n g r e s s .   F r o m   w i t h i n   a   n e w   t e r m i n a l ,   i n v o k e   t h e   f o l l o w i n g   c o m m a n d : c u r l   - - r e s o l v e   \" h e l l o - w o r l d . e x a m p l e : 8 0 : 1 2 7 . 0 . 0 . 1 \"   - i   h t t p : / / h e l l o - w o r l d . e x a m p l e   T h e   o u t p u t   i s   s i m i l a r   t o : H e l l o ,   w o r l d !   V e r s i o n :   1 . 0 . 0   H o s t n a m e :   w e b - 5 5 b 8 c 6 9 9 8 d - 8 k 5 6 4   A c c e s s   t h e   2 n d   v e r s i o n   o f   t h e   H e l l o   W o r l d   a p p . c u r l   - - r e s o l v e   \" h e l l o - w o r l d . e x a m p l e : 8 0 : $ (   m i n i k u b e   i p   ) \"   - i   h t t p : / / h e l l o - w o r l d . e x a m p l e / v 2   m i n i k u b e   t u n n e l   T h e   o u t p u t   i s   s i m i l a r   t o : T u n n e l   s u c c e s s f u l l y   s t a r t e d   N O T E :   P l e a s e   d o   n o t   c l o s e   t h i s   t e r m i n a l   a s   t h i s   p r o c e s s   m u s t   s t a y   a l i v e   f o r   t h e   t u n n e l   t o   b e   a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19011"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   m o r e   a b o u t   I n g r e s s R e a d   m o r e   a b o u t   I n g r e s s   C o n t r o l l e r s R e a d   m o r e   a b o u t   S e r v i c e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19012"
  },
  {
    "question": "What is 10.10 - Communicate Between Containers in the Same Pod Using a Shared Volume?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   a   V o l u m e   t o   c o m m u n i c a t e   b e t w e e n   t w o   C o n t a i n e r s   r u n n i n g   i n   t h e   s a m e   P o d .   S e e   a l s o   h o w   t o   a l l o w   p r o c e s s e s   t o   c o m m u n i c a t e   b y   s h a r i n g   p r o c e s s   n a m e s p a c e   b e t w e e n   c o n t a i n e r s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_19013"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19014"
  },
  {
    "question": "What is Creating a Pod that runs two Containers?",
    "answer": "I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   r u n s   t w o   C o n t a i n e r s .   T h e   t w o   c o n t a i n e r s   s h a r e   a   V o l u m e   t h a t   t h e y   c a n   u s e   t o   c o m m u n i c a t e .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t w o - c o n t a i n e r s   s p e c :   r e s t a r t P o l i c y :   N e v e r   v o l u m e s :   -   n a m e :   s h a r e d - d a t a   e m p t y D i r :   { }   c o n t a i n e r s :   -   n a m e :   n g i n x - c o n t a i n e r   i m a g e :   n g i n x   v o l u m e M o u n t s :   -   n a m e :   s h a r e d - d a t a   m o u n t P a t h :   / u s r / s h a r e / n g i n x / h t m l   -   n a m e :   d e b i a n - c o n t a i n e r   i m a g e :   d e b i a n   v o l u m e M o u n t s :   -   n a m e :   s h a r e d - d a t a   m o u n t P a t h :   / p o d - d a t a   c o m m a n d :   [ \" / b i n / s h \" ]   a r g s :   [ \" - c \" ,   \" e c h o   H e l l o   f r o m   t h e   d e b i a n   c o n t a i n e r   >   / p o d - d a t a / i n d e x . h t m l \" ]   I n   t h e   c o n f i g u r a t i o n   f i l e ,   y o u   c a n   s e e   t h a t   t h e   P o d   h a s   a   V o l u m e   n a m e d   s h a r e d - d a t a .   T h e   f i r s t   c o n t a i n e r   l i s t e d   i n   t h e   c o n f i g u r a t i o n   f i l e   r u n s   a n   n g i n x   s e r v e r .   T h e   m o u n t   p a t h   f o r   t h e   s h a r e d   V o l u m e   i s   / u s r / s h a r e / n g i n x / h t m l .   T h e   s e c o n d   c o n t a i n e r   i s   b a s e d   o n   t h e   d e b i a n   i m a g e ,   a n d   h a s   a   m o u n t   p a t h   o f   / p o d - d a t a .   T h e   s e c o n d   c o n t a i n e r   r u n s   t h e   f o l l o w i n g   c o m m a n d   a n d   t h e n   t e r m i n a t e s .   e c h o   H e l l o   f r o m   t h ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19015"
  },
  {
    "question": "What is Discussion?",
    "answer": "T h e   p r i m a r y   r e a s o n   t h a t   P o d s   c a n   h a v e   m u l t i p l e   c o n t a i n e r s   i s   t o   s u p p o r t   h e l p e r   a p p l i c a t i o n s   t h a t   a s s i s t   a   p r i m a r y   a p p l i c a t i o n .   T y p i c a l   e x a m p l e s   o f   h e l p e r   a p p l i c a t i o n s   a r e   d a t a   p u l l e r s ,   d a t a   p u s h e r s ,   a n d   p r o x i e s .   H e l p e r   a n d   p r i m a r y   a p p l i c a t i o n s   o f t e n   n e e d   t o   c o m m u n i c a t e   w i t h   e a c h   o t h e r .   T y p i c a l l y   t h i s   i s   d o n e   t h r o u g h   a   s h a r e d   f i l e s y s t e m ,   a s   s h o w n   i n   t h i s   e x e r c i s e ,   o r   t h r o u g h   t h e   l o o p b a c k   n e t w o r k   i n t e r f a c e ,   l o c a l h o s t .   A n   e x a m p l e   o f   t h i s   p a t t e r n   i s   a   w e b   s e r v e r   a l o n g   w i t h   a   h e l p e r   p r o g r a m   t h a t   p o l l s   a   G i t   r e p o s i t o r y   f o r   n e w   u p d a t e s .   T h e   V o l u m e   i n   t h i s   e x e r c i s e   p r o v i d e s   a   w a y   f o r   C o n t a i n e r s   t o   c o m m u n i c a t e   d u r i n g   t h e   l i f e   o f   t h e   P o d .   I f   t h e   P o d   i s   d e l e t e d   a n d   r e c r e a t e d ,   a n y   d a t a   s t o r e d   i n   t h e   s h a r e d   V o l u m e   i s   l o s t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19016"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   p a t t e r n s   f o r   c o m p o s i t e   c o n t a i n e r s . L e a r n   a b o u t   c o m p o s i t e   c o n t a i n e r s   f o r   m o d u l a r   a r c h i t e c t u r e . S e e   C o n f i g u r i n g   a   P o d   t o   U s e   a   V o l u m e   f o r   S t o r a g e . S e e   C o n f i g u r e   a   P o d   t o   s h a r e   p r o c e s s   n a m e s p a c e   b e t w e e n   c o n t a i n e r s   i n   a   P o d S e e   V o l u m e . S e e   P o d .   L e a r n   m o r e   a b o u t   p a t t e r n s   f o r   c o m p o s i t e   c o n t a i n e r s .   L e a r n   a b o u t   c o m p o s i t e   c o n t a i n e r s   f o r   m o d u l a r   a r c h i t e c t u r e .   S e e   C o n f i g u r i n g   a   P o d   t o   U s e   a   V o l u m e   f o r   S t o r a g e .   S e e   C o n f i g u r e   a   P o d   t o   s h a r e   p r o c e s s   n a m e s p a c e   b e t w e e n   c o n t a i n e r s   i n   a   P o d   S e e   V o l u m e .   S e e   P o d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19017"
  },
  {
    "question": "What is 10.11 - Configure DNS for a Cluster?",
    "answer": "K u b e r n e t e s   o f f e r s   a   D N S   c l u s t e r   a d d o n ,   w h i c h   m o s t   o f   t h e   s u p p o r t e d   e n v i r o n m e n t s   e n a b l e   b y   d e f a u l t .   I n   K u b e r n e t e s   v e r s i o n   1 . 1 1   a n d   l a t e r ,   C o r e D N S   i s   r e c o m m e n d e d   a n d   i s   i n s t a l l e d   b y   d e f a u l t   w i t h   k u b e a d m .   F o r   m o r e   i n f o r m a t i o n   o n   h o w   t o   c o n f i g u r e   C o r e D N S   f o r   a   K u b e r n e t e s   c l u s t e r ,   s e e   t h e   C u s t o m i z i n g   D N S   S e r v i c e .   A n   e x a m p l e   d e m o n s t r a t i n g   h o w   t o   u s e   K u b e r n e t e s   D N S   w i t h   k u b e - d n s ,   s e e   t h e   K u b e r n e t e s   D N S   s a m p l e   p l u g i n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_19018"
  },
  {
    "question": "What is 10.12 - Access Services Running on Clusters?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n n e c t   t o   s e r v i c e s   r u n n i n g   o n   t h e   K u b e r n e t e s   c l u s t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_19019"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19020"
  },
  {
    "question": "What is Accessing services running on the cluster?",
    "answer": "I n   K u b e r n e t e s ,   n o d e s ,   p o d s   a n d   s e r v i c e s   a l l   h a v e   t h e i r   o w n   I P s .   I n   m a n y   c a s e s ,   t h e   n o d e   I P s ,   p o d   I P s ,   a n d   s o m e   s e r v i c e   I P s   o n   a   c l u s t e r   w i l l   n o t   b e   r o u t a b l e ,   s o   t h e y   w i l l   n o t   b e   r e a c h a b l e   f r o m   a   m a c h i n e   o u t s i d e   t h e   c l u s t e r ,   s u c h   a s   y o u r   d e s k t o p   m a c h i n e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19021"
  },
  {
    "question": "What is Ways to connect?",
    "answer": "Y o u   h a v e   s e v e r a l   o p t i o n s   f o r   c o n n e c t i n g   t o   n o d e s ,   p o d s   a n d   s e r v i c e s   f r o m   o u t s i d e   t h e   c l u s t e r :   A c c e s s   s e r v i c e s   t h r o u g h   p u b l i c   I P s . U s e   a   s e r v i c e   w i t h   t y p e   N o d e P o r t   o r   L o a d B a l a n c e r   t o   m a k e   t h e   s e r v i c e   r e a c h a b l e   o u t s i d e   t h e   c l u s t e r .   S e e   t h e   s e r v i c e s   a n d   k u b e c t l   e x p o s e   d o c u m e n t a t i o n . D e p e n d i n g   o n   y o u r   c l u s t e r   e n v i r o n m e n t ,   t h i s   m a y   o n l y   e x p o s e   t h e   s e r v i c e   t o   y o u r   c o r p o r a t e   n e t w o r k ,   o r   i t   m a y   e x p o s e   i t   t o   t h e   i n t e r n e t .   T h i n k   a b o u t   w h e t h e r   t h e   s e r v i c e   b e i n g   e x p o s e d   i s   s e c u r e .   D o e s   i t   d o   i t s   o w n   a u t h e n t i c a t i o n ? P l a c e   p o d s   b e h i n d   s e r v i c e s .   T o   a c c e s s   o n e   s p e c i f i c   p o d   f r o m   a   s e t   o f   r e p l i c a s ,   s u c h   a s   f o r   d e b u g g i n g ,   p l a c e   a   u n i q u e   l a b e l   o n   t h e   p o d   a n d   c r e a t e   a   n e w   s e r v i c e   w h i c h   s e l e c t s   t h i s   l a b e l . I n   m o s t   c a s e s ,   i t   s h o u l d   n o t   b e   n e c e s s a r y   f o r   a p p l i c a t i o n   d e v e l o p e r   t o   d i r e c t l y   a c c e s s   n o d e s   v i a   t h e i r   n o d e I P s . A c c e s s   s e r v i c e s ,   n o d e s ,   o r   p o d s   u s i n g   t h e   P r o x y   V e r b . D o e s   a p i s e r v e r   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n   p r i o r   t o   a c c e s s i n g   t h e   r e m o t e   s e r v i c e .   U s e   t h i s   i f   t h e   s e r v i c e s   a r e   n o t   s e c u r e   e n o u g h   t o   e x p o s e   t o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19022"
  },
  {
    "question": "What is Discovering builtin services?",
    "answer": "T y p i c a l l y ,   t h e r e   a r e   s e v e r a l   s e r v i c e s   w h i c h   a r e   s t a r t e d   o n   a   c l u s t e r   b y   k u b e - s y s t e m .   G e t   a   l i s t   o f   t h e s e   w i t h   t h e   k u b e c t l   c l u s t e r - i n f o   c o m m a n d :   k u b e c t l   c l u s t e r - i n f o   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   K u b e r n e t e s   m a s t e r   i s   r u n n i n g   a t   h t t p s : / / 1 9 2 . 0 . 2 . 1   e l a s t i c s e a r c h - l o g g i n g   i s   r u n n i n g   a t   h t t p s : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / e l a s t i c s e a r c h - l o g g i n g / p r o x y   k i b a n a - l o g g i n g   i s   r u n n i n g   a t   h t t p s : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / k i b a n a - l o g g i n g / p r o x y   k u b e - d n s   i s   r u n n i n g   a t   h t t p s : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / k u b e - d n s / p r o x y   g r a f a n a   i s   r u n n i n g   a t   h t t p s : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / m o n i t o r i n g - g r a f a n a / p r o x y   h e a p s t e r   i s   r u n n i n g   a t   h t t p s : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / m o n i t o r i n g - h e a p s t e r / p r o x y   T h i s   s h o w s   t h e   p r o x y - v e r b   U R L   f o r   a c c e s s i n g   e a c h   s e r v i c e .   F o r   e x a m p l e ,   t h i s   c l u s t e r   h a s   c l u s t e r - l e v e l   l o g g i n g   e n a b l e d   ( u s i n g   E l a s t i c s e a r c h ) ,   w h i c h   c a n   b e   r e a c h e d   a t   h t t p s : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19023"
  },
  {
    "question": "What is Manually constructing apiserver proxy URLs?",
    "answer": "A s   m e n t i o n e d   a b o v e ,   y o u   u s e   t h e   k u b e c t l   c l u s t e r - i n f o   c o m m a n d   t o   r e t r i e v e   t h e   s e r v i c e ' s   p r o x y   U R L .   T o   c r e a t e   p r o x y   U R L s   t h a t   i n c l u d e   s e r v i c e   e n d p o i n t s ,   s u f f i x e s ,   a n d   p a r a m e t e r s ,   y o u   a p p e n d   t o   t h e   s e r v i c e ' s   p r o x y   U R L :   h t t p : / / k u b e r n e t e s _ m a s t e r _ a d d r e s s / a p i / v 1 / n a m e s p a c e s / n a m e s p a c e _ n a m e / s e r v i c e s / [ h t t p s : ] s e r v i c e _ n a m e [ : p o r t _ n a m e ] / p r o x y   I f   y o u   h a v e n ' t   s p e c i f i e d   a   n a m e   f o r   y o u r   p o r t ,   y o u   d o n ' t   h a v e   t o   s p e c i f y   p o r t _ n a m e   i n   t h e   U R L .   Y o u   c a n   a l s o   u s e   t h e   p o r t   n u m b e r   i n   p l a c e   o f   t h e   p o r t _ n a m e   f o r   b o t h   n a m e d   a n d   u n n a m e d   p o r t s .   B y   d e f a u l t ,   t h e   A P I   s e r v e r   p r o x i e s   t o   y o u r   s e r v i c e   u s i n g   H T T P .   T o   u s e   H T T P S ,   p r e f i x   t h e   s e r v i c e   n a m e   w i t h   h t t p s : :   h t t p : / / < k u b e r n e t e s _ m a s t e r _ a d d r e s s > / a p i / v 1 / n a m e s p a c e s / < n a m e s p a c e _ n a m e > / s e r v i c e s / < s e r v i c e _ n a m e > / p r o x y   T h e   s u p p o r t e d   f o r m a t s   f o r   t h e   < s e r v i c e _ n a m e >   s e g m e n t   o f   t h e   U R L   a r e :   < s e r v i c e _ n a m e >   -   p r o x i e s   t o   t h e   d e f a u l t   o r   u n n a m e d   p o r t   u s i n g   h t t p < s e r v i c e _ n a m e > : < p o r t _ n a m e >   -   p r o x i e s   t o   t h e   s p e c i f i e d   p o r t   n a m e   o r   p o r t   n u m b e r   u s i n g   h t t p h t t p s : < s e r v i c e _ n a m e > :   -   p r o x i e s   t o   t h e   d e f a u ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19024"
  },
  {
    "question": "What is Examples?",
    "answer": "T o   a c c e s s   t h e   E l a s t i c s e a r c h   s e r v i c e   e n d p o i n t   _ s e a r c h ? q = u s e r : k i m c h y ,   y o u   w o u l d   u s e : h t t p : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / e l a s t i c s e a r c h - l o g g i n g / p r o x y / _ s e a r c h ? q = u s e r : k i m c h y   T o   a c c e s s   t h e   E l a s t i c s e a r c h   c l u s t e r   h e a l t h   i n f o r m a t i o n   _ c l u s t e r / h e a l t h ? p r e t t y = t r u e ,   y o u   w o u l d   u s e : h t t p s : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / e l a s t i c s e a r c h - l o g g i n g / p r o x y / _ c l u s t e r / h e a l t h ? p r e t t y = t r u e   T h e   h e a l t h   i n f o r m a t i o n   i s   s i m i l a r   t o   t h i s : {   \" c l u s t e r _ n a m e \"   :   \" k u b e r n e t e s _ l o g g i n g \" ,   \" s t a t u s \"   :   \" y e l l o w \" ,   \" t i m e d _ o u t \"   :   f a l s e ,   \" n u m b e r _ o f _ n o d e s \"   :   1 ,   \" n u m b e r _ o f _ d a t a _ n o d e s \"   :   1 ,   \" a c t i v e _ p r i m a r y _ s h a r d s \"   :   5 ,   \" a c t i v e _ s h a r d s \"   :   5 ,   \" r e l o c a t i n g _ s h a r d s \"   :   0 ,   \" i n i t i a l i z i n g _ s h a r d s \"   :   0 ,   \" u n a s s i g n e d _ s h a r d s \"   :   5   }   T o   a c c e s s   t h e   h t t p s   E l a s t i c s e a r c h   s e r v i c e   h e a l t h   i n f o r m a t i o n   _ c l u s t e r / h e a l t h ? p r e t t y = t r u e ,   y o u   w o u l d   u s e : h t t p s : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / h t t p s : e l a s t i c s e a r c h - l o g g i n g : / p r o x y / _ c l u s t e r / h e a l t h ? p r e t t y = t r u e   T o   a c c e s s   t h e   E l a s t i c s e a r c h   s e r v i c e   e n d p o i n t   _ s e a r c h ? q = u s e r : k i m c h y ,   y o u   w ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_5_19025"
  },
  {
    "question": "What is Using web browsers to access services running on the cluster?",
    "answer": "Y o u   m a y   b e   a b l e   t o   p u t   a n   a p i s e r v e r   p r o x y   U R L   i n t o   t h e   a d d r e s s   b a r   o f   a   b r o w s e r .   H o w e v e r :   W e b   b r o w s e r s   c a n n o t   u s u a l l y   p a s s   t o k e n s ,   s o   y o u   m a y   n e e d   t o   u s e   b a s i c   ( p a s s w o r d )   a u t h .   A p i s e r v e r   c a n   b e   c o n f i g u r e d   t o   a c c e p t   b a s i c   a u t h ,   b u t   y o u r   c l u s t e r   m a y   n o t   b e   c o n f i g u r e d   t o   a c c e p t   b a s i c   a u t h . S o m e   w e b   a p p s   m a y   n o t   w o r k ,   p a r t i c u l a r l y   t h o s e   w i t h   c l i e n t   s i d e   j a v a s c r i p t   t h a t   c o n s t r u c t   U R L s   i n   a   w a y   t h a t   i s   u n a w a r e   o f   t h e   p r o x y   p a t h   p r e f i x .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19026"
  },
  {
    "question": "What is 11.1 - Configure the Aggregation Layer?",
    "answer": "C o n f i g u r i n g   t h e   a g g r e g a t i o n   l a y e r   a l l o w s   t h e   K u b e r n e t e s   a p i s e r v e r   t o   b e   e x t e n d e d   w i t h   a d d i t i o n a l   A P I s ,   w h i c h   a r e   n o t   p a r t   o f   t h e   c o r e   K u b e r n e t e s   A P I s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_19027"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19028"
  },
  {
    "question": "What is Authentication Flow?",
    "answer": "U n l i k e   C u s t o m   R e s o u r c e   D e f i n i t i o n s   ( C R D s ) ,   t h e   A g g r e g a t i o n   A P I   i n v o l v e s   a n o t h e r   s e r v e r   -   y o u r   E x t e n s i o n   a p i s e r v e r   -   i n   a d d i t i o n   t o   t h e   s t a n d a r d   K u b e r n e t e s   a p i s e r v e r .   T h e   K u b e r n e t e s   a p i s e r v e r   w i l l   n e e d   t o   c o m m u n i c a t e   w i t h   y o u r   e x t e n s i o n   a p i s e r v e r ,   a n d   y o u r   e x t e n s i o n   a p i s e r v e r   w i l l   n e e d   t o   c o m m u n i c a t e   w i t h   t h e   K u b e r n e t e s   a p i s e r v e r .   I n   o r d e r   f o r   t h i s   c o m m u n i c a t i o n   t o   b e   s e c u r e d ,   t h e   K u b e r n e t e s   a p i s e r v e r   u s e s   x 5 0 9   c e r t i f i c a t e s   t o   a u t h e n t i c a t e   i t s e l f   t o   t h e   e x t e n s i o n   a p i s e r v e r .   T h i s   s e c t i o n   d e s c r i b e s   h o w   t h e   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n   f l o w s   w o r k ,   a n d   h o w   t o   c o n f i g u r e   t h e m .   T h e   h i g h - l e v e l   f l o w   i s   a s   f o l l o w s :   K u b e r n e t e s   a p i s e r v e r :   a u t h e n t i c a t e   t h e   r e q u e s t i n g   u s e r   a n d   a u t h o r i z e   t h e i r   r i g h t s   t o   t h e   r e q u e s t e d   A P I   p a t h . K u b e r n e t e s   a p i s e r v e r :   p r o x y   t h e   r e q u e s t   t o   t h e   e x t e n s i o n   a p i s e r v e r E x t e n s i o n   a p i s e r v e r :   a u t h e n t i c a t e   t h e   r e q u e s t   f r o m   t h e   K u b e r n e t e s   a p i s e r v e r E x t e n s i o n   a p i s e r v e r :   a u t h o r i z e   t h e   r e q u e s t   f r o m   t h e   o r i g i n a l   u s e r E x t e n s i o n   a p i s e r v e r :   e x e c u t e   T h e   r e s t   o f   t h i s   s e c t i o n   d e s c r i b e s   t h e s e   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19029"
  },
  {
    "question": "What is Kubernetes Apiserver Authentication and Authorization?",
    "answer": "A   r e q u e s t   t o   a n   A P I   p a t h   t h a t   i s   s e r v e d   b y   a n   e x t e n s i o n   a p i s e r v e r   b e g i n s   t h e   s a m e   w a y   a s   a l l   A P I   r e q u e s t s :   c o m m u n i c a t i o n   t o   t h e   K u b e r n e t e s   a p i s e r v e r .   T h i s   p a t h   a l r e a d y   h a s   b e e n   r e g i s t e r e d   w i t h   t h e   K u b e r n e t e s   a p i s e r v e r   b y   t h e   e x t e n s i o n   a p i s e r v e r .   T h e   u s e r   c o m m u n i c a t e s   w i t h   t h e   K u b e r n e t e s   a p i s e r v e r ,   r e q u e s t i n g   a c c e s s   t o   t h e   p a t h .   T h e   K u b e r n e t e s   a p i s e r v e r   u s e s   s t a n d a r d   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n   c o n f i g u r e d   w i t h   t h e   K u b e r n e t e s   a p i s e r v e r   t o   a u t h e n t i c a t e   t h e   u s e r   a n d   a u t h o r i z e   a c c e s s   t o   t h e   s p e c i f i c   p a t h .   F o r   a n   o v e r v i e w   o f   a u t h e n t i c a t i n g   t o   a   K u b e r n e t e s   c l u s t e r ,   s e e   \" A u t h e n t i c a t i n g   t o   a   C l u s t e r \" .   F o r   a n   o v e r v i e w   o f   a u t h o r i z a t i o n   o f   a c c e s s   t o   K u b e r n e t e s   c l u s t e r   r e s o u r c e s ,   s e e   \" A u t h o r i z a t i o n   O v e r v i e w \" .   E v e r y t h i n g   t o   t h i s   p o i n t   h a s   b e e n   s t a n d a r d   K u b e r n e t e s   A P I   r e q u e s t s ,   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n .   T h e   K u b e r n e t e s   a p i s e r v e r   n o w   i s   p r e p a r e d   t o   s e n d   t h e   r e q u e s t   t o   t h e   e x t e n s i o n   a p i s e r v e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19030"
  },
  {
    "question": "What is Kubernetes Apiserver Proxies the Request?",
    "answer": "T h e   K u b e r n e t e s   a p i s e r v e r   n o w   w i l l   s e n d ,   o r   p r o x y ,   t h e   r e q u e s t   t o   t h e   e x t e n s i o n   a p i s e r v e r   t h a t   r e g i s t e r e d   t o   h a n d l e   t h e   r e q u e s t .   I n   o r d e r   t o   d o   s o ,   i t   n e e d s   t o   k n o w   s e v e r a l   t h i n g s :   H o w   s h o u l d   t h e   K u b e r n e t e s   a p i s e r v e r   a u t h e n t i c a t e   t o   t h e   e x t e n s i o n   a p i s e r v e r ,   i n f o r m i n g   t h e   e x t e n s i o n   a p i s e r v e r   t h a t   t h e   r e q u e s t ,   w h i c h   c o m e s   o v e r   t h e   n e t w o r k ,   i s   c o m i n g   f r o m   a   v a l i d   K u b e r n e t e s   a p i s e r v e r ? H o w   s h o u l d   t h e   K u b e r n e t e s   a p i s e r v e r   i n f o r m   t h e   e x t e n s i o n   a p i s e r v e r   o f   t h e   u s e r n a m e   a n d   g r o u p   f o r   w h i c h   t h e   o r i g i n a l   r e q u e s t   w a s   a u t h e n t i c a t e d ?   I n   o r d e r   t o   p r o v i d e   f o r   t h e s e   t w o ,   y o u   m u s t   c o n f i g u r e   t h e   K u b e r n e t e s   a p i s e r v e r   u s i n g   s e v e r a l   f l a g s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19031"
  },
  {
    "question": "What is Kubernetes Apiserver Client Authentication?",
    "answer": "T h e   K u b e r n e t e s   a p i s e r v e r   c o n n e c t s   t o   t h e   e x t e n s i o n   a p i s e r v e r   o v e r   T L S ,   a u t h e n t i c a t i n g   i t s e l f   u s i n g   a   c l i e n t   c e r t i f i c a t e .   Y o u   m u s t   p r o v i d e   t h e   f o l l o w i n g   t o   t h e   K u b e r n e t e s   a p i s e r v e r   u p o n   s t a r t u p ,   u s i n g   t h e   p r o v i d e d   f l a g s :   p r i v a t e   k e y   f i l e   v i a   - - p r o x y - c l i e n t - k e y - f i l e s i g n e d   c l i e n t   c e r t i f i c a t e   f i l e   v i a   - - p r o x y - c l i e n t - c e r t - f i l e c e r t i f i c a t e   o f   t h e   C A   t h a t   s i g n e d   t h e   c l i e n t   c e r t i f i c a t e   f i l e   v i a   - - r e q u e s t h e a d e r - c l i e n t - c a - f i l e v a l i d   C o m m o n   N a m e   v a l u e s   ( C N s )   i n   t h e   s i g n e d   c l i e n t   c e r t i f i c a t e   v i a   - - r e q u e s t h e a d e r - a l l o w e d - n a m e s   T h e   K u b e r n e t e s   a p i s e r v e r   w i l l   u s e   t h e   f i l e s   i n d i c a t e d   b y   - - p r o x y - c l i e n t - * - f i l e   t o   a u t h e n t i c a t e   t o   t h e   e x t e n s i o n   a p i s e r v e r .   I n   o r d e r   f o r   t h e   r e q u e s t   t o   b e   c o n s i d e r e d   v a l i d   b y   a   c o m p l i a n t   e x t e n s i o n   a p i s e r v e r ,   t h e   f o l l o w i n g   c o n d i t i o n s   m u s t   b e   m e t :   T h e   c o n n e c t i o n   m u s t   b e   m a d e   u s i n g   a   c l i e n t   c e r t i f i c a t e   t h a t   i s   s i g n e d   b y   t h e   C A   w h o s e   c e r t i f i c a t e   i s   i n   - - r e q u e s t h e a d e r - c l i e n t - c a - f i l e . T h e   c o n n e c t i o n   m u s t   b e   m a d e   u s i n g   a   c l i e n t   c e r t i f i c a t e   w h o s e   C N   i s   o n e   o f   t h o s e   l i s t e d   i n   - - r e q u e s t h e a d ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19032"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   s t a r t e d   w i t h   t h e s e   o p t i o n s ,   t h e   K u b e r n e t e s   a p i s e r v e r   w i l l :   U s e   t h e m   t o   a u t h e n t i c a t e   t o   t h e   e x t e n s i o n   a p i s e r v e r . C r e a t e   a   c o n f i g m a p   i n   t h e   k u b e - s y s t e m   n a m e s p a c e   c a l l e d   e x t e n s i o n - a p i s e r v e r - a u t h e n t i c a t i o n ,   i n   w h i c h   i t   w i l l   p l a c e   t h e   C A   c e r t i f i c a t e   a n d   t h e   a l l o w e d   C N s .   T h e s e   i n   t u r n   c a n   b e   r e t r i e v e d   b y   e x t e n s i o n   a p i s e r v e r s   t o   v a l i d a t e   r e q u e s t s .   N o t e   t h a t   t h e   s a m e   c l i e n t   c e r t i f i c a t e   i s   u s e d   b y   t h e   K u b e r n e t e s   a p i s e r v e r   t o   a u t h e n t i c a t e   a g a i n s t   a l l   e x t e n s i o n   a p i s e r v e r s .   I t   d o e s   n o t   c r e a t e   a   c l i e n t   c e r t i f i c a t e   p e r   e x t e n s i o n   a p i s e r v e r ,   b u t   r a t h e r   a   s i n g l e   o n e   t o   a u t h e n t i c a t e   a s   t h e   K u b e r n e t e s   a p i s e r v e r .   T h i s   s a m e   o n e   i s   r e u s e d   f o r   a l l   e x t e n s i o n   a p i s e r v e r   r e q u e s t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19033"
  },
  {
    "question": "What is Original Request Username and Group?",
    "answer": "W h e n   t h e   K u b e r n e t e s   a p i s e r v e r   p r o x i e s   t h e   r e q u e s t   t o   t h e   e x t e n s i o n   a p i s e r v e r ,   i t   i n f o r m s   t h e   e x t e n s i o n   a p i s e r v e r   o f   t h e   u s e r n a m e   a n d   g r o u p   w i t h   w h i c h   t h e   o r i g i n a l   r e q u e s t   s u c c e s s f u l l y   a u t h e n t i c a t e d .   I t   p r o v i d e s   t h e s e   i n   h t t p   h e a d e r s   o f   i t s   p r o x i e d   r e q u e s t .   Y o u   m u s t   i n f o r m   t h e   K u b e r n e t e s   a p i s e r v e r   o f   t h e   n a m e s   o f   t h e   h e a d e r s   t o   b e   u s e d .   t h e   h e a d e r   i n   w h i c h   t o   s t o r e   t h e   u s e r n a m e   v i a   - - r e q u e s t h e a d e r - u s e r n a m e - h e a d e r s t h e   h e a d e r   i n   w h i c h   t o   s t o r e   t h e   g r o u p   v i a   - - r e q u e s t h e a d e r - g r o u p - h e a d e r s t h e   p r e f i x   t o   a p p e n d   t o   a l l   e x t r a   h e a d e r s   v i a   - - r e q u e s t h e a d e r - e x t r a - h e a d e r s - p r e f i x   T h e s e   h e a d e r   n a m e s   a r e   a l s o   p l a c e d   i n   t h e   e x t e n s i o n - a p i s e r v e r - a u t h e n t i c a t i o n   c o n f i g m a p ,   s o   t h e y   c a n   b e   r e t r i e v e d   a n d   u s e d   b y   e x t e n s i o n   a p i s e r v e r s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19034"
  },
  {
    "question": "What is Extension Apiserver Authenticates the Request?",
    "answer": "T h e   e x t e n s i o n   a p i s e r v e r ,   u p o n   r e c e i v i n g   a   p r o x i e d   r e q u e s t   f r o m   t h e   K u b e r n e t e s   a p i s e r v e r ,   m u s t   v a l i d a t e   t h a t   t h e   r e q u e s t   a c t u a l l y   d i d   c o m e   f r o m   a   v a l i d   a u t h e n t i c a t i n g   p r o x y ,   w h i c h   r o l e   t h e   K u b e r n e t e s   a p i s e r v e r   i s   f u l f i l l i n g .   T h e   e x t e n s i o n   a p i s e r v e r   v a l i d a t e s   i t   v i a :   R e t r i e v e   t h e   f o l l o w i n g   f r o m   t h e   c o n f i g m a p   i n   k u b e - s y s t e m ,   a s   d e s c r i b e d   a b o v e : C l i e n t   C A   c e r t i f i c a t e L i s t   o f   a l l o w e d   n a m e s   ( C N s ) H e a d e r   n a m e s   f o r   u s e r n a m e ,   g r o u p   a n d   e x t r a   i n f o C h e c k   t h a t   t h e   T L S   c o n n e c t i o n   w a s   a u t h e n t i c a t e d   u s i n g   a   c l i e n t   c e r t i f i c a t e   w h i c h : W a s   s i g n e d   b y   t h e   C A   w h o s e   c e r t i f i c a t e   m a t c h e s   t h e   r e t r i e v e d   C A   c e r t i f i c a t e . H a s   a   C N   i n   t h e   l i s t   o f   a l l o w e d   C N s ,   u n l e s s   t h e   l i s t   i s   b l a n k ,   i n   w h i c h   c a s e   a l l   C N s   a r e   a l l o w e d . E x t r a c t   t h e   u s e r n a m e   a n d   g r o u p   f r o m   t h e   a p p r o p r i a t e   h e a d e r s   C l i e n t   C A   c e r t i f i c a t e L i s t   o f   a l l o w e d   n a m e s   ( C N s ) H e a d e r   n a m e s   f o r   u s e r n a m e ,   g r o u p   a n d   e x t r a   i n f o   W a s   s i g n e d   b y   t h e   C A   w h o s e   c e r t i f i c a t e   m a t c h e s   t h e   r e t r i e v e d   C A   c e r t i f i c a t e . H a s   a   C N   i n   t h e   l i s t   o f   a l l o w e d   C N s ,   u n l e s s   t h e   l i s t   i s   b l a n k ,   i n   w h i c h   c a s e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19035"
  },
  {
    "question": "What is Extension Apiserver Authorizes the Request?",
    "answer": "T h e   e x t e n s i o n   a p i s e r v e r   n o w   c a n   v a l i d a t e   t h a t   t h e   u s e r / g r o u p   r e t r i e v e d   f r o m   t h e   h e a d e r s   a r e   a u t h o r i z e d   t o   e x e c u t e   t h e   g i v e n   r e q u e s t .   I t   d o e s   s o   b y   s e n d i n g   a   s t a n d a r d   S u b j e c t A c c e s s R e v i e w   r e q u e s t   t o   t h e   K u b e r n e t e s   a p i s e r v e r .   I n   o r d e r   f o r   t h e   e x t e n s i o n   a p i s e r v e r   t o   b e   a u t h o r i z e d   i t s e l f   t o   s u b m i t   t h e   S u b j e c t A c c e s s R e v i e w   r e q u e s t   t o   t h e   K u b e r n e t e s   a p i s e r v e r ,   i t   n e e d s   t h e   c o r r e c t   p e r m i s s i o n s .   K u b e r n e t e s   i n c l u d e s   a   d e f a u l t   C l u s t e r R o l e   n a m e d   s y s t e m : a u t h - d e l e g a t o r   t h a t   h a s   t h e   a p p r o p r i a t e   p e r m i s s i o n s .   I t   c a n   b e   g r a n t e d   t o   t h e   e x t e n s i o n   a p i s e r v e r ' s   s e r v i c e   a c c o u n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19036"
  },
  {
    "question": "What is Extension Apiserver Executes?",
    "answer": "I f   t h e   S u b j e c t A c c e s s R e v i e w   p a s s e s ,   t h e   e x t e n s i o n   a p i s e r v e r   e x e c u t e s   t h e   r e q u e s t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19037"
  },
  {
    "question": "What is Enable Kubernetes Apiserver flags?",
    "answer": "E n a b l e   t h e   a g g r e g a t i o n   l a y e r   v i a   t h e   f o l l o w i n g   k u b e - a p i s e r v e r   f l a g s .   T h e y   m a y   h a v e   a l r e a d y   b e e n   t a k e n   c a r e   o f   b y   y o u r   p r o v i d e r .   - - r e q u e s t h e a d e r - c l i e n t - c a - f i l e = < p a t h   t o   a g g r e g a t o r   C A   c e r t >   - - r e q u e s t h e a d e r - a l l o w e d - n a m e s = f r o n t - p r o x y - c l i e n t   - - r e q u e s t h e a d e r - e x t r a - h e a d e r s - p r e f i x = X - R e m o t e - E x t r a -   - - r e q u e s t h e a d e r - g r o u p - h e a d e r s = X - R e m o t e - G r o u p   - - r e q u e s t h e a d e r - u s e r n a m e - h e a d e r s = X - R e m o t e - U s e r   - - p r o x y - c l i e n t - c e r t - f i l e = < p a t h   t o   a g g r e g a t o r   p r o x y   c e r t >   - - p r o x y - c l i e n t - k e y - f i l e = < p a t h   t o   a g g r e g a t o r   p r o x y   k e y >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19038"
  },
  {
    "question": "What is CA Reusage and Conflicts?",
    "answer": "T h e   K u b e r n e t e s   a p i s e r v e r   h a s   t w o   c l i e n t   C A   o p t i o n s :   - - c l i e n t - c a - f i l e - - r e q u e s t h e a d e r - c l i e n t - c a - f i l e   E a c h   o f   t h e s e   f u n c t i o n s   i n d e p e n d e n t l y   a n d   c a n   c o n f l i c t   w i t h   e a c h   o t h e r ,   i f   n o t   u s e d   c o r r e c t l y .   - - c l i e n t - c a - f i l e :   W h e n   a   r e q u e s t   a r r i v e s   t o   t h e   K u b e r n e t e s   a p i s e r v e r ,   i f   t h i s   o p t i o n   i s   e n a b l e d ,   t h e   K u b e r n e t e s   a p i s e r v e r   c h e c k s   t h e   c e r t i f i c a t e   o f   t h e   r e q u e s t .   I f   i t   i s   s i g n e d   b y   o n e   o f   t h e   C A   c e r t i f i c a t e s   i n   t h e   f i l e   r e f e r e n c e d   b y   - - c l i e n t - c a - f i l e ,   t h e n   t h e   r e q u e s t   i s   t r e a t e d   a s   a   l e g i t i m a t e   r e q u e s t ,   a n d   t h e   u s e r   i s   t h e   v a l u e   o f   t h e   c o m m o n   n a m e   C N = ,   w h i l e   t h e   g r o u p   i s   t h e   o r g a n i z a t i o n   O = .   S e e   t h e   d o c u m e n t a t i o n   o n   T L S   a u t h e n t i c a t i o n . - - r e q u e s t h e a d e r - c l i e n t - c a - f i l e :   W h e n   a   r e q u e s t   a r r i v e s   t o   t h e   K u b e r n e t e s   a p i s e r v e r ,   i f   t h i s   o p t i o n   i s   e n a b l e d ,   t h e   K u b e r n e t e s   a p i s e r v e r   c h e c k s   t h e   c e r t i f i c a t e   o f   t h e   r e q u e s t .   I f   i t   i s   s i g n e d   b y   o n e   o f   t h e   C A   c e r t i f i c a t e s   i n   t h e   f i l e   r e f e r e n c e   b y   - - r e q u e s t h e a d e r - c l i e n t - c a - f i l e ,   t h e n   t h e   r e q u e s t   i s   t r e a t e d   a s   a   p o t e n t i a l l y   l e g i t i m a t e   r e q u e s t .   T h e   K u b e r n e t e s   a p i s e r v e r   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19039"
  },
  {
    "question": "What is Warning:?",
    "answer": "I f   y o u   a r e   n o t   r u n n i n g   k u b e - p r o x y   o n   a   h o s t   r u n n i n g   t h e   A P I   s e r v e r ,   t h e n   y o u   m u s t   m a k e   s u r e   t h a t   t h e   s y s t e m   i s   e n a b l e d   w i t h   t h e   f o l l o w i n g   k u b e - a p i s e r v e r   f l a g :   - - e n a b l e - a g g r e g a t o r - r o u t i n g = t r u e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19040"
  },
  {
    "question": "What is Register APIService objects?",
    "answer": "Y o u   c a n   d y n a m i c a l l y   c o n f i g u r e   w h a t   c l i e n t   r e q u e s t s   a r e   p r o x i e d   t o   e x t e n s i o n   a p i s e r v e r .   T h e   f o l l o w i n g   i s   a n   e x a m p l e   r e g i s t r a t i o n :   a p i V e r s i o n :   a p i r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   A P I S e r v i c e   m e t a d a t a :   n a m e :   < n a m e   o f   t h e   r e g i s t r a t i o n   o b j e c t >   s p e c :   g r o u p :   < A P I   g r o u p   n a m e   t h i s   e x t e n s i o n   a p i s e r v e r   h o s t s >   v e r s i o n :   < A P I   v e r s i o n   t h i s   e x t e n s i o n   a p i s e r v e r   h o s t s >   g r o u p P r i o r i t y M i n i m u m :   < p r i o r i t y   t h i s   A P I S e r v i c e   f o r   t h i s   g r o u p ,   s e e   A P I   d o c u m e n t a t i o n >   v e r s i o n P r i o r i t y :   < p r i o r i t i z e s   o r d e r i n g   o f   t h i s   v e r s i o n   w i t h i n   a   g r o u p ,   s e e   A P I   d o c u m e n t a t i o n >   s e r v i c e :   n a m e s p a c e :   < n a m e s p a c e   o f   t h e   e x t e n s i o n   a p i s e r v e r   s e r v i c e >   n a m e :   < n a m e   o f   t h e   e x t e n s i o n   a p i s e r v e r   s e r v i c e >   c a B u n d l e :   < p e m   e n c o d e d   c a   c e r t   t h a t   s i g n s   t h e   s e r v e r   c e r t   u s e d   b y   t h e   w e b h o o k >   T h e   n a m e   o f   a n   A P I S e r v i c e   o b j e c t   m u s t   b e   a   v a l i d   p a t h   s e g m e n t   n a m e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19041"
  },
  {
    "question": "What is Contacting the extension apiserver?",
    "answer": "O n c e   t h e   K u b e r n e t e s   a p i s e r v e r   h a s   d e t e r m i n e d   a   r e q u e s t   s h o u l d   b e   s e n t   t o   a n   e x t e n s i o n   a p i s e r v e r ,   i t   n e e d s   t o   k n o w   h o w   t o   c o n t a c t   i t .   T h e   s e r v i c e   s t a n z a   i s   a   r e f e r e n c e   t o   t h e   s e r v i c e   f o r   a n   e x t e n s i o n   a p i s e r v e r .   T h e   s e r v i c e   n a m e s p a c e   a n d   n a m e   a r e   r e q u i r e d .   T h e   p o r t   i s   o p t i o n a l   a n d   d e f a u l t s   t o   4 4 3 .   H e r e   i s   a n   e x a m p l e   o f   a n   e x t e n s i o n   a p i s e r v e r   t h a t   i s   c o n f i g u r e d   t o   b e   c a l l e d   o n   p o r t   \" 1 2 3 4 \" ,   a n d   t o   v e r i f y   t h e   T L S   c o n n e c t i o n   a g a i n s t   t h e   S e r v e r N a m e   m y - s e r v i c e - n a m e . m y - s e r v i c e - n a m e s p a c e . s v c   u s i n g   a   c u s t o m   C A   b u n d l e .   a p i V e r s i o n :   a p i r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   A P I S e r v i c e   . . .   s p e c :   . . .   s e r v i c e :   n a m e s p a c e :   m y - s e r v i c e - n a m e s p a c e   n a m e :   m y - s e r v i c e - n a m e   p o r t :   1 2 3 4   c a B u n d l e :   \" C i 0 t L S 0 t Q k . . . < b a s e 6 4 - e n c o d e d   P E M   b u n d l e > . . . t L S 0 K \"   . . .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19042"
  },
  {
    "question": "What is What's next?",
    "answer": "S e t   u p   a n   e x t e n s i o n   a p i - s e r v e r   t o   w o r k   w i t h   t h e   a g g r e g a t i o n   l a y e r . F o r   a   h i g h   l e v e l   o v e r v i e w ,   s e e   E x t e n d i n g   t h e   K u b e r n e t e s   A P I   w i t h   t h e   a g g r e g a t i o n   l a y e r . L e a r n   h o w   t o   E x t e n d   t h e   K u b e r n e t e s   A P I   U s i n g   C u s t o m   R e s o u r c e   D e f i n i t i o n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19043"
  },
  {
    "question": "What is 11.2.1 - Extend the Kubernetes API with CustomResourceDefinitions?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   i n s t a l l   a   c u s t o m   r e s o u r c e   i n t o   t h e   K u b e r n e t e s   A P I   b y   c r e a t i n g   a   C u s t o m R e s o u r c e D e f i n i t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_19044"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 1 6 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n . I f   y o u   a r e   u s i n g   a n   o l d e r   v e r s i o n   o f   K u b e r n e t e s   t h a t   i s   s t i l l   s u p p o r t e d ,   s w i t c h   t o   t h e   d o c u m e n t a t i o n   f o r   t h a t   v e r s i o n   t o   s e e   a d v i c e   t h a t   i s   r e l e v a n t   f o r   y o u r   c l u s t e r .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19045"
  },
  {
    "question": "What is Create a CustomResourceDefinition?",
    "answer": "W h e n   y o u   c r e a t e   a   n e w   C u s t o m R e s o u r c e D e f i n i t i o n   ( C R D ) ,   t h e   K u b e r n e t e s   A P I   S e r v e r   c r e a t e s   a   n e w   R E S T f u l   r e s o u r c e   p a t h   f o r   e a c h   v e r s i o n   y o u   s p e c i f y .   T h e   c u s t o m   r e s o u r c e   c r e a t e d   f r o m   a   C R D   o b j e c t   c a n   b e   e i t h e r   n a m e s p a c e d   o r   c l u s t e r - s c o p e d ,   a s   s p e c i f i e d   i n   t h e   C R D ' s   s p e c . s c o p e   f i e l d .   A s   w i t h   e x i s t i n g   b u i l t - i n   o b j e c t s ,   d e l e t i n g   a   n a m e s p a c e   d e l e t e s   a l l   c u s t o m   o b j e c t s   i n   t h a t   n a m e s p a c e .   C u s t o m R e s o u r c e D e f i n i t i o n s   t h e m s e l v e s   a r e   n o n - n a m e s p a c e d   a n d   a r e   a v a i l a b l e   t o   a l l   n a m e s p a c e s .   F o r   e x a m p l e ,   i f   y o u   s a v e   t h e   f o l l o w i n g   C u s t o m R e s o u r c e D e f i n i t i o n   t o   r e s o u r c e d e f i n i t i o n . y a m l :   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   m e t a d a t a :   #   n a m e   m u s t   m a t c h   t h e   s p e c   f i e l d s   b e l o w ,   a n d   b e   i n   t h e   f o r m :   < p l u r a l > . < g r o u p >   n a m e :   c r o n t a b s . s t a b l e . e x a m p l e . c o m   s p e c :   #   g r o u p   n a m e   t o   u s e   f o r   R E S T   A P I :   / a p i s / < g r o u p > / < v e r s i o n >   g r o u p :   s t a b l e . e x a m p l e . c o m   #   l i s t   o f   v e r s i o n s   s u p p o r t e d   b y   t h i s   C u s t o m R e s o u r c e D e f i n i t i o n   v e r s i o n s :   -   n a m e :   v 1   #   E a c h   v e r s i o n   c a n   b e   e n a b l e d / d i s a b l e d   b y   S e r v e d   f l a g .   s e r v e d :   t r u e   #   O ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19046"
  },
  {
    "question": "What is Create custom objects?",
    "answer": "A f t e r   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   o b j e c t   h a s   b e e n   c r e a t e d ,   y o u   c a n   c r e a t e   c u s t o m   o b j e c t s .   C u s t o m   o b j e c t s   c a n   c o n t a i n   c u s t o m   f i e l d s .   T h e s e   f i e l d s   c a n   c o n t a i n   a r b i t r a r y   J S O N .   I n   t h e   f o l l o w i n g   e x a m p l e ,   t h e   c r o n S p e c   a n d   i m a g e   c u s t o m   f i e l d s   a r e   s e t   i n   a   c u s t o m   o b j e c t   o f   k i n d   C r o n T a b .   T h e   k i n d   C r o n T a b   c o m e s   f r o m   t h e   s p e c   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   o b j e c t   y o u   c r e a t e d   a b o v e .   I f   y o u   s a v e   t h e   f o l l o w i n g   Y A M L   t o   m y - c r o n t a b . y a m l :   a p i V e r s i o n :   \" s t a b l e . e x a m p l e . c o m / v 1 \"   k i n d :   C r o n T a b   m e t a d a t a :   n a m e :   m y - n e w - c r o n - o b j e c t   s p e c :   c r o n S p e c :   \" *   *   *   *   * / 5 \"   i m a g e :   m y - a w e s o m e - c r o n - i m a g e   a n d   c r e a t e   i t :   k u b e c t l   a p p l y   - f   m y - c r o n t a b . y a m l   Y o u   c a n   t h e n   m a n a g e   y o u r   C r o n T a b   o b j e c t s   u s i n g   k u b e c t l .   F o r   e x a m p l e :   k u b e c t l   g e t   c r o n t a b   S h o u l d   p r i n t   a   l i s t   l i k e   t h i s :   N A M E   A G E   m y - n e w - c r o n - o b j e c t   6 s   R e s o u r c e   n a m e s   a r e   n o t   c a s e - s e n s i t i v e   w h e n   u s i n g   k u b e c t l ,   a n d   y o u   c a n   u s e   e i t h e r   t h e   s i n g u l a r   o r   p l u r a l   f o r m s   d e f i n e d   i n   t h e   C R D ,   a s   w e l l   a s   a n y   s h o r t   n a m e s .   Y o u   c a n   a l s o   v i e w   t h e   r a w   Y A M L   d a t a :   k u b e c t l   g e t   c t   - o   y a m l   Y o u   s h o u l d   s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19047"
  },
  {
    "question": "What is Delete a CustomResourceDefinition?",
    "answer": "W h e n   y o u   d e l e t e   a   C u s t o m R e s o u r c e D e f i n i t i o n ,   t h e   s e r v e r   w i l l   u n i n s t a l l   t h e   R E S T f u l   A P I   e n d p o i n t   a n d   d e l e t e   a l l   c u s t o m   o b j e c t s   s t o r e d   i n   i t .   k u b e c t l   d e l e t e   - f   r e s o u r c e d e f i n i t i o n . y a m l   k u b e c t l   g e t   c r o n t a b s   E r r o r   f r o m   s e r v e r   ( N o t F o u n d ) :   U n a b l e   t o   l i s t   { \" s t a b l e . e x a m p l e . c o m \"   \" v 1 \"   \" c r o n t a b s \" } :   t h e   s e r v e r   c o u l d   n o t   f i n d   t h e   r e q u e s t e d   r e s o u r c e   ( g e t   c r o n t a b s . s t a b l e . e x a m p l e . c o m )   I f   y o u   l a t e r   r e c r e a t e   t h e   s a m e   C u s t o m R e s o u r c e D e f i n i t i o n ,   i t   w i l l   s t a r t   o u t   e m p t y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19048"
  },
  {
    "question": "What is Specifying a structural schema?",
    "answer": "C u s t o m R e s o u r c e s   s t o r e   s t r u c t u r e d   d a t a   i n   c u s t o m   f i e l d s   ( a l o n g s i d e   t h e   b u i l t - i n   f i e l d s   a p i V e r s i o n ,   k i n d   a n d   m e t a d a t a ,   w h i c h   t h e   A P I   s e r v e r   v a l i d a t e s   i m p l i c i t l y ) .   W i t h   O p e n A P I   v 3 . 0   v a l i d a t i o n   a   s c h e m a   c a n   b e   s p e c i f i e d ,   w h i c h   i s   v a l i d a t e d   d u r i n g   c r e a t i o n   a n d   u p d a t e s ,   c o m p a r e   b e l o w   f o r   d e t a i l s   a n d   l i m i t s   o f   s u c h   a   s c h e m a .   W i t h   a p i e x t e n s i o n s . k 8 s . i o / v 1   t h e   d e f i n i t i o n   o f   a   s t r u c t u r a l   s c h e m a   i s   m a n d a t o r y   f o r   C u s t o m R e s o u r c e D e f i n i t i o n s .   I n   t h e   b e t a   v e r s i o n   o f   C u s t o m R e s o u r c e D e f i n i t i o n ,   t h e   s t r u c t u r a l   s c h e m a   w a s   o p t i o n a l .   A   s t r u c t u r a l   s c h e m a   i s   a n   O p e n A P I   v 3 . 0   v a l i d a t i o n   s c h e m a   w h i c h :   s p e c i f i e s   a   n o n - e m p t y   t y p e   ( v i a   t y p e   i n   O p e n A P I )   f o r   t h e   r o o t ,   f o r   e a c h   s p e c i f i e d   f i e l d   o f   a n   o b j e c t   n o d e   ( v i a   p r o p e r t i e s   o r   a d d i t i o n a l P r o p e r t i e s   i n   O p e n A P I )   a n d   f o r   e a c h   i t e m   i n   a n   a r r a y   n o d e   ( v i a   i t e m s   i n   O p e n A P I ) ,   w i t h   t h e   e x c e p t i o n   o f : a   n o d e   w i t h   x - k u b e r n e t e s - i n t - o r - s t r i n g :   t r u e a   n o d e   w i t h   x - k u b e r n e t e s - p r e s e r v e - u n k n o w n - f i e l d s :   t r u e f o r   e a c h   f i e l d   i n   a n   o b j e c t   a n d   e a c h   i t e m   i n   a n   a r r a y   w h i c h   i s   s p e c i f i e d   w i t h i n   a n y ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19049"
  },
  {
    "question": "What is Field pruning?",
    "answer": "C u s t o m R e s o u r c e D e f i n i t i o n s   s t o r e   v a l i d a t e d   r e s o u r c e   d a t a   i n   t h e   c l u s t e r ' s   p e r s i s t e n c e   s t o r e ,   e t c d .   A s   w i t h   n a t i v e   K u b e r n e t e s   r e s o u r c e s   s u c h   a s   C o n f i g M a p ,   i f   y o u   s p e c i f y   a   f i e l d   t h a t   t h e   A P I   s e r v e r   d o e s   n o t   r e c o g n i z e ,   t h e   u n k n o w n   f i e l d   i s   p r u n e d   ( r e m o v e d )   b e f o r e   b e i n g   p e r s i s t e d .   C R D s   c o n v e r t e d   f r o m   a p i e x t e n s i o n s . k 8 s . i o / v 1 b e t a 1   t o   a p i e x t e n s i o n s . k 8 s . i o / v 1   m i g h t   l a c k   s t r u c t u r a l   s c h e m a s ,   a n d   s p e c . p r e s e r v e U n k n o w n F i e l d s   m i g h t   b e   t r u e .   F o r   l e g a c y   C u s t o m R e s o u r c e D e f i n i t i o n   o b j e c t s   c r e a t e d   a s   a p i e x t e n s i o n s . k 8 s . i o / v 1 b e t a 1   w i t h   s p e c . p r e s e r v e U n k n o w n F i e l d s   s e t   t o   t r u e ,   t h e   f o l l o w i n g   i s   a l s o   t r u e :   P r u n i n g   i s   n o t   e n a b l e d . Y o u   c a n   s t o r e   a r b i t r a r y   d a t a .   F o r   c o m p a t i b i l i t y   w i t h   a p i e x t e n s i o n s . k 8 s . i o / v 1 ,   u p d a t e   y o u r   c u s t o m   r e s o u r c e   d e f i n i t i o n s   t o :   U s e   a   s t r u c t u r a l   O p e n A P I   s c h e m a . S e t   s p e c . p r e s e r v e U n k n o w n F i e l d s   t o   f a l s e .   I f   y o u   s a v e   t h e   f o l l o w i n g   Y A M L   t o   m y - c r o n t a b . y a m l :   a p i V e r s i o n :   \" s t a b l e . e x a m p l e . c o m / v 1 \"   k i n d :   C r o n T a b   m e t a d a t a :   n a m e :   m y - n e w - c r o n - o b j e c t   s p e c :   c r o n S p e c :   \" *   *   *   *   * / 5 \"   i m a g e :   m y - a w e s o m e - c r o n - i m a g e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19050"
  },
  {
    "question": "What is Controlling pruning?",
    "answer": "B y   d e f a u l t ,   a l l   u n s p e c i f i e d   f i e l d s   f o r   a   c u s t o m   r e s o u r c e ,   a c r o s s   a l l   v e r s i o n s ,   a r e   p r u n e d .   I t   i s   p o s s i b l e   t h o u g h   t o   o p t - o u t   o f   t h a t   f o r   s p e c i f i c   s u b - t r e e s   o f   f i e l d s   b y   a d d i n g   x - k u b e r n e t e s - p r e s e r v e - u n k n o w n - f i e l d s :   t r u e   i n   t h e   s t r u c t u r a l   O p e n A P I   v 3   v a l i d a t i o n   s c h e m a .   F o r   e x a m p l e :   t y p e :   o b j e c t   p r o p e r t i e s :   j s o n :   x - k u b e r n e t e s - p r e s e r v e - u n k n o w n - f i e l d s :   t r u e   T h e   f i e l d   j s o n   c a n   s t o r e   a n y   J S O N   v a l u e ,   w i t h o u t   a n y t h i n g   b e i n g   p r u n e d .   Y o u   c a n   a l s o   p a r t i a l l y   s p e c i f y   t h e   p e r m i t t e d   J S O N ;   f o r   e x a m p l e :   t y p e :   o b j e c t   p r o p e r t i e s :   j s o n :   x - k u b e r n e t e s - p r e s e r v e - u n k n o w n - f i e l d s :   t r u e   t y p e :   o b j e c t   d e s c r i p t i o n :   t h i s   i s   a r b i t r a r y   J S O N   W i t h   t h i s ,   o n l y   o b j e c t   t y p e   v a l u e s   a r e   a l l o w e d .   P r u n i n g   i s   e n a b l e d   a g a i n   f o r   e a c h   s p e c i f i e d   p r o p e r t y   ( o r   a d d i t i o n a l P r o p e r t i e s ) :   t y p e :   o b j e c t   p r o p e r t i e s :   j s o n :   x - k u b e r n e t e s - p r e s e r v e - u n k n o w n - f i e l d s :   t r u e   t y p e :   o b j e c t   p r o p e r t i e s :   s p e c :   t y p e :   o b j e c t   p r o p e r t i e s :   f o o :   t y p e :   s t r i n g   b a r :   t y p e :   s t r i n g   W i t h   t h i s ,   t h e   v a l u e :   j s o n :   s p e c :   f o o :   a b c   b a r :   d e f   s o m e t h i n g :   x   s t a t u s :   s o m e t h i n g :   x   i s   p r u n e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19051"
  },
  {
    "question": "What is IntOrString?",
    "answer": "N o d e s   i n   a   s c h e m a   w i t h   x - k u b e r n e t e s - i n t - o r - s t r i n g :   t r u e   a r e   e x c l u d e d   f r o m   r u l e   1 ,   s u c h   t h a t   t h e   f o l l o w i n g   i s   s t r u c t u r a l :   t y p e :   o b j e c t   p r o p e r t i e s :   f o o :   x - k u b e r n e t e s - i n t - o r - s t r i n g :   t r u e   A l s o   t h o s e   n o d e s   a r e   p a r t i a l l y   e x c l u d e d   f r o m   r u l e   3   i n   t h e   s e n s e   t h a t   t h e   f o l l o w i n g   t w o   p a t t e r n s   a r e   a l l o w e d   ( e x a c t l y   t h o s e ,   w i t h o u t   v a r i a t i o n s   i n   o r d e r   t o   a d d i t i o n a l   f i e l d s ) :   x - k u b e r n e t e s - i n t - o r - s t r i n g :   t r u e   a n y O f :   -   t y p e :   i n t e g e r   -   t y p e :   s t r i n g   . . .   a n d   x - k u b e r n e t e s - i n t - o r - s t r i n g :   t r u e   a l l O f :   -   a n y O f :   -   t y p e :   i n t e g e r   -   t y p e :   s t r i n g   -   #   . . .   z e r o   o r   m o r e   . . .   W i t h   o n e   o f   t h o s e   s p e c i f i c a t i o n ,   b o t h   a n   i n t e g e r   a n d   a   s t r i n g   v a l i d a t e .   I n   V a l i d a t i o n   S c h e m a   P u b l i s h i n g ,   x - k u b e r n e t e s - i n t - o r - s t r i n g :   t r u e   i s   u n f o l d e d   t o   o n e   o f   t h e   t w o   p a t t e r n s   s h o w n   a b o v e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19052"
  },
  {
    "question": "What is RawExtension?",
    "answer": "R a w E x t e n s i o n s   ( a s   i n   r u n t i m e . R a w E x t e n s i o n )   h o l d s   c o m p l e t e   K u b e r n e t e s   o b j e c t s ,   i . e .   w i t h   a p i V e r s i o n   a n d   k i n d   f i e l d s .   I t   i s   p o s s i b l e   t o   s p e c i f y   t h o s e   e m b e d d e d   o b j e c t s   ( b o t h   c o m p l e t e l y   w i t h o u t   c o n s t r a i n t s   o r   p a r t i a l l y   s p e c i f i e d )   b y   s e t t i n g   x - k u b e r n e t e s - e m b e d d e d - r e s o u r c e :   t r u e .   F o r   e x a m p l e :   t y p e :   o b j e c t   p r o p e r t i e s :   f o o :   x - k u b e r n e t e s - e m b e d d e d - r e s o u r c e :   t r u e   x - k u b e r n e t e s - p r e s e r v e - u n k n o w n - f i e l d s :   t r u e   H e r e ,   t h e   f i e l d   f o o   h o l d s   a   c o m p l e t e   o b j e c t ,   e . g . :   f o o :   a p i V e r s i o n :   v 1   k i n d :   P o d   s p e c :   #   . . .   B e c a u s e   x - k u b e r n e t e s - p r e s e r v e - u n k n o w n - f i e l d s :   t r u e   i s   s p e c i f i e d   a l o n g s i d e ,   n o t h i n g   i s   p r u n e d .   T h e   u s e   o f   x - k u b e r n e t e s - p r e s e r v e - u n k n o w n - f i e l d s :   t r u e   i s   o p t i o n a l   t h o u g h .   W i t h   x - k u b e r n e t e s - e m b e d d e d - r e s o u r c e :   t r u e ,   t h e   a p i V e r s i o n ,   k i n d   a n d   m e t a d a t a   a r e   i m p l i c i t l y   s p e c i f i e d   a n d   v a l i d a t e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19053"
  },
  {
    "question": "What is Serving multiple versions of a CRD?",
    "answer": "S e e   C u s t o m   r e s o u r c e   d e f i n i t i o n   v e r s i o n i n g   f o r   m o r e   i n f o r m a t i o n   a b o u t   s e r v i n g   m u l t i p l e   v e r s i o n s   o f   y o u r   C u s t o m R e s o u r c e D e f i n i t i o n   a n d   m i g r a t i n g   y o u r   o b j e c t s   f r o m   o n e   v e r s i o n   t o   a n o t h e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19054"
  },
  {
    "question": "What is Finalizers?",
    "answer": "F i n a l i z e r s   a l l o w   c o n t r o l l e r s   t o   i m p l e m e n t   a s y n c h r o n o u s   p r e - d e l e t e   h o o k s .   C u s t o m   o b j e c t s   s u p p o r t   f i n a l i z e r s   s i m i l a r   t o   b u i l t - i n   o b j e c t s .   Y o u   c a n   a d d   a   f i n a l i z e r   t o   a   c u s t o m   o b j e c t   l i k e   t h i s :   a p i V e r s i o n :   \" s t a b l e . e x a m p l e . c o m / v 1 \"   k i n d :   C r o n T a b   m e t a d a t a :   f i n a l i z e r s :   -   s t a b l e . e x a m p l e . c o m / f i n a l i z e r   I d e n t i f i e r s   o f   c u s t o m   f i n a l i z e r s   c o n s i s t   o f   a   d o m a i n   n a m e ,   a   f o r w a r d   s l a s h   a n d   t h e   n a m e   o f   t h e   f i n a l i z e r .   A n y   c o n t r o l l e r   c a n   a d d   a   f i n a l i z e r   t o   a n y   o b j e c t ' s   l i s t   o f   f i n a l i z e r s .   T h e   f i r s t   d e l e t e   r e q u e s t   o n   a n   o b j e c t   w i t h   f i n a l i z e r s   s e t s   a   v a l u e   f o r   t h e   m e t a d a t a . d e l e t i o n T i m e s t a m p   f i e l d   b u t   d o e s   n o t   d e l e t e   i t .   O n c e   t h i s   v a l u e   i s   s e t ,   e n t r i e s   i n   t h e   f i n a l i z e r s   l i s t   c a n   o n l y   b e   r e m o v e d .   W h i l e   a n y   f i n a l i z e r s   r e m a i n   i t   i s   a l s o   i m p o s s i b l e   t o   f o r c e   t h e   d e l e t i o n   o f   a n   o b j e c t .   W h e n   t h e   m e t a d a t a . d e l e t i o n T i m e s t a m p   f i e l d   i s   s e t ,   c o n t r o l l e r s   w a t c h i n g   t h e   o b j e c t   e x e c u t e   a n y   f i n a l i z e r s   t h e y   h a n d l e   a n d   r e m o v e   t h e   f i n a l i z e r   f r o m   t h e   l i s t   a f t e r   t h e y   a r e   d o n e .   I t   i s   t h e   r e s p o n s i b i l i t y   o f   e a c h   c o n t r o l l e r   t o   r e m o v e   i t s   f ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19055"
  },
  {
    "question": "What is Validation?",
    "answer": "C u s t o m   r e s o u r c e s   a r e   v a l i d a t e d   v i a   O p e n A P I   v 3 . 0   s c h e m a s ,   b y   x - k u b e r n e t e s - v a l i d a t i o n s   w h e n   t h e   V a l i d a t i o n   R u l e s   f e a t u r e   i s   e n a b l e d ,   a n d   y o u   c a n   a d d   a d d i t i o n a l   v a l i d a t i o n   u s i n g   a d m i s s i o n   w e b h o o k s .   A d d i t i o n a l l y ,   t h e   f o l l o w i n g   r e s t r i c t i o n s   a r e   a p p l i e d   t o   t h e   s c h e m a :   T h e s e   f i e l d s   c a n n o t   b e   s e t : d e f i n i t i o n s , d e p e n d e n c i e s , d e p r e c a t e d , d i s c r i m i n a t o r , i d , p a t t e r n P r o p e r t i e s , r e a d O n l y , w r i t e O n l y , x m l , $ r e f . T h e   f i e l d   u n i q u e I t e m s   c a n n o t   b e   s e t   t o   t r u e . T h e   f i e l d   a d d i t i o n a l P r o p e r t i e s   c a n n o t   b e   s e t   t o   f a l s e . T h e   f i e l d   a d d i t i o n a l P r o p e r t i e s   i s   m u t u a l l y   e x c l u s i v e   w i t h   p r o p e r t i e s .   T h e s e   f i e l d s   c a n n o t   b e   s e t :   d e f i n i t i o n s , d e p e n d e n c i e s , d e p r e c a t e d , d i s c r i m i n a t o r , i d , p a t t e r n P r o p e r t i e s , r e a d O n l y , w r i t e O n l y , x m l , $ r e f .   T h e   f i e l d   u n i q u e I t e m s   c a n n o t   b e   s e t   t o   t r u e .   T h e   f i e l d   a d d i t i o n a l P r o p e r t i e s   c a n n o t   b e   s e t   t o   f a l s e .   T h e   f i e l d   a d d i t i o n a l P r o p e r t i e s   i s   m u t u a l l y   e x c l u s i v e   w i t h   p r o p e r t i e s .   T h e   x - k u b e r n e t e s - v a l i d a t i o n s   e x t e n s i o n   c a n   b e   u s e d   t o   v a l i d a t e   c u s t o m   r e s o u r c e s   u s i n g   C o m m o n   E x p r e s s i o n   L a n g u a g e   ( C E L )   e x p r e s s i o n s   w h e n   t h e   V a l i d ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19056"
  },
  {
    "question": "What is Validation ratcheting?",
    "answer": "I f   y o u   a r e   u s i n g   a   v e r s i o n   o f   K u b e r n e t e s   o l d e r   t h a n   v 1 . 3 0 ,   y o u   n e e d   t o   e x p l i c i t l y   e n a b l e   t h e   C R D V a l i d a t i o n R a t c h e t i n g   f e a t u r e   g a t e   t o   u s e   t h i s   b e h a v i o r ,   w h i c h   t h e n   a p p l i e s   t o   a l l   C u s t o m R e s o u r c e D e f i n i t i o n s   i n   y o u r   c l u s t e r .   P r o v i d e d   y o u   e n a b l e d   t h e   f e a t u r e   g a t e ,   K u b e r n e t e s   i m p l e m e n t s   v a l i d a t i o n   r a t c h e t i n g   f o r   C u s t o m R e s o u r c e D e f i n i t i o n s .   T h e   A P I   s e r v e r   i s   w i l l i n g   t o   a c c e p t   u p d a t e s   t o   r e s o u r c e s   t h a t   a r e   n o t   v a l i d   a f t e r   t h e   u p d a t e ,   p r o v i d e d   t h a t   e a c h   p a r t   o f   t h e   r e s o u r c e   t h a t   f a i l e d   t o   v a l i d a t e   w a s   n o t   c h a n g e d   b y   t h e   u p d a t e   o p e r a t i o n .   I n   o t h e r   w o r d s ,   a n y   i n v a l i d   p a r t   o f   t h e   r e s o u r c e   t h a t   r e m a i n s   i n v a l i d   m u s t   h a v e   a l r e a d y   b e e n   w r o n g .   Y o u   c a n n o t   u s e   t h i s   m e c h a n i s m   t o   u p d a t e   a   v a l i d   r e s o u r c e   s o   t h a t   i t   b e c o m e s   i n v a l i d .   T h i s   f e a t u r e   a l l o w s   a u t h o r s   o f   C R D s   t o   c o n f i d e n t l y   a d d   n e w   v a l i d a t i o n s   t o   t h e   O p e n A P I V 3   s c h e m a   u n d e r   c e r t a i n   c o n d i t i o n s .   U s e r s   c a n   u p d a t e   t o   t h e   n e w   s c h e m a   s a f e l y   w i t h o u t   b u m p i n g   t h e   v e r s i o n   o f   t h e   o b j e c t   o r   b r e a k i n g   w o r k f l o w s .   W h i l e   m o s t   v a l i d a t i o n s   p l a c e d   i n   t h e   O p e n A P I V 3   s c h e m a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19057"
  },
  {
    "question": "What is Validation rules?",
    "answer": "V a l i d a t i o n   r u l e s   u s e   t h e   C o m m o n   E x p r e s s i o n   L a n g u a g e   ( C E L )   t o   v a l i d a t e   c u s t o m   r e s o u r c e   v a l u e s .   V a l i d a t i o n   r u l e s   a r e   i n c l u d e d   i n   C u s t o m R e s o u r c e D e f i n i t i o n   s c h e m a s   u s i n g   t h e   x - k u b e r n e t e s - v a l i d a t i o n s   e x t e n s i o n .   T h e   R u l e   i s   s c o p e d   t o   t h e   l o c a t i o n   o f   t h e   x - k u b e r n e t e s - v a l i d a t i o n s   e x t e n s i o n   i n   t h e   s c h e m a .   A n d   s e l f   v a r i a b l e   i n   t h e   C E L   e x p r e s s i o n   i s   b o u n d   t o   t h e   s c o p e d   v a l u e .   A l l   v a l i d a t i o n   r u l e s   a r e   s c o p e d   t o   t h e   c u r r e n t   o b j e c t :   n o   c r o s s - o b j e c t   o r   s t a t e f u l   v a l i d a t i o n   r u l e s   a r e   s u p p o r t e d .   F o r   e x a m p l e :   #   . . .   o p e n A P I V 3 S c h e m a :   t y p e :   o b j e c t   p r o p e r t i e s :   s p e c :   t y p e :   o b j e c t   x - k u b e r n e t e s - v a l i d a t i o n s :   -   r u l e :   \" s e l f . m i n R e p l i c a s   < =   s e l f . r e p l i c a s \"   m e s s a g e :   \" r e p l i c a s   s h o u l d   b e   g r e a t e r   t h a n   o r   e q u a l   t o   m i n R e p l i c a s . \"   -   r u l e :   \" s e l f . r e p l i c a s   < =   s e l f . m a x R e p l i c a s \"   m e s s a g e :   \" r e p l i c a s   s h o u l d   b e   s m a l l e r   t h a n   o r   e q u a l   t o   m a x R e p l i c a s . \"   p r o p e r t i e s :   #   . . .   m i n R e p l i c a s :   t y p e :   i n t e g e r   r e p l i c a s :   t y p e :   i n t e g e r   m a x R e p l i c a s :   t y p e :   i n t e g e r   r e q u i r e d :   -   m i n R e p l i c a s   -   r e p l i c a s   -   m a x R e p l i c a s   w i l l   r e j e c t   a   r e q u e s t   t o   c r e a t e   t h i s   c u s t o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19058"
  },
  {
    "question": "What is Note:?",
    "answer": "V a l i d a t i o n   r u l e s   a r e   c o m p i l e d   w h e n   C R D s   a r e   c r e a t e d / u p d a t e d .   T h e   r e q u e s t   o f   C R D s   c r e a t e / u p d a t e   w i l l   f a i l   i f   c o m p i l a t i o n   o f   v a l i d a t i o n   r u l e s   f a i l .   C o m p i l a t i o n   p r o c e s s   i n c l u d e s   t y p e   c h e c k i n g   a s   w e l l .   T h e   c o m p i l a t i o n   f a i l u r e :   n o _ m a t c h i n g _ o v e r l o a d :   t h i s   f u n c t i o n   h a s   n o   o v e r l o a d   f o r   t h e   t y p e s   o f   t h e   a r g u m e n t s . F o r   e x a m p l e ,   a   r u l e   l i k e   s e l f   = =   t r u e   a g a i n s t   a   f i e l d   o f   i n t e g e r   t y p e   w i l l   g e t   e r r o r : I n v a l i d   v a l u e :   a p i e x t e n s i o n s . V a l i d a t i o n R u l e { R u l e : \" s e l f   = =   t r u e \" ,   M e s s a g e : \" \" } :   c o m p i l a t i o n   f a i l e d :   E R R O R :   \\ < i n p u t > : 1 : 6 :   f o u n d   n o   m a t c h i n g   o v e r l o a d   f o r   ' _ = = _ '   a p p l i e d   t o   ' ( i n t ,   b o o l ) '   n o _ s u c h _ f i e l d :   d o e s   n o t   c o n t a i n   t h e   d e s i r e d   f i e l d . F o r   e x a m p l e ,   a   r u l e   l i k e   s e l f . n o n E x i s t i n g F i e l d   >   0   a g a i n s t   a   n o n - e x i s t i n g   f i e l d   w i l l   r e t u r n   t h e   f o l l o w i n g   e r r o r : I n v a l i d   v a l u e :   a p i e x t e n s i o n s . V a l i d a t i o n R u l e { R u l e : \" s e l f . n o n E x i s t i n g F i e l d   >   0 \" ,   M e s s a g e : \" \" } :   c o m p i l a t i o n   f a i l e d :   E R R O R :   \\ < i n p u t > : 1 : 5 :   u n d e f i n e d   f i e l d   ' n o n E x i s t i n g F i e l d '   i n v a l i d   a r g u m e n t :   i n v a l i d   a r g u m e n t   t o   m a c r o s . F o r   e x a m p l e ,   a   r u l e   l i k e   h a s ( s e l f )   w i l l   r e t u r n   e r r o r : ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19059"
  },
  {
    "question": "What is The messageExpression field?",
    "answer": "S i m i l a r   t o   t h e   m e s s a g e   f i e l d ,   w h i c h   d e f i n e s   t h e   s t r i n g   r e p o r t e d   f o r   a   v a l i d a t i o n   r u l e   f a i l u r e ,   m e s s a g e E x p r e s s i o n   a l l o w s   y o u   t o   u s e   a   C E L   e x p r e s s i o n   t o   c o n s t r u c t   t h e   m e s s a g e   s t r i n g .   T h i s   a l l o w s   y o u   t o   i n s e r t   m o r e   d e s c r i p t i v e   i n f o r m a t i o n   i n t o   t h e   v a l i d a t i o n   f a i l u r e   m e s s a g e .   m e s s a g e E x p r e s s i o n   m u s t   e v a l u a t e   a   s t r i n g   a n d   m a y   u s e   t h e   s a m e   v a r i a b l e s   t h a t   a r e   a v a i l a b l e   t o   t h e   r u l e   f i e l d .   F o r   e x a m p l e :   x - k u b e r n e t e s - v a l i d a t i o n s :   -   r u l e :   \" s e l f . x   < =   s e l f . m a x L i m i t \"   m e s s a g e E x p r e s s i o n :   ' \" x   e x c e e d e d   m a x   l i m i t   o f   \"   +   s t r i n g ( s e l f . m a x L i m i t ) '   K e e p   i n   m i n d   t h a t   C E L   s t r i n g   c o n c a t e n a t i o n   ( +   o p e r a t o r )   d o e s   n o t   a u t o - c a s t   t o   s t r i n g .   I f   y o u   h a v e   a   n o n - s t r i n g   s c a l a r ,   u s e   t h e   s t r i n g ( < v a l u e > )   f u n c t i o n   t o   c a s t   t h e   s c a l a r   t o   a   s t r i n g   l i k e   s h o w n   i n   t h e   a b o v e   e x a m p l e .   m e s s a g e E x p r e s s i o n   m u s t   e v a l u a t e   t o   a   s t r i n g ,   a n d   t h i s   i s   c h e c k e d   w h i l e   t h e   C R D   i s   b e i n g   w r i t t e n .   N o t e   t h a t   i t   i s   p o s s i b l e   t o   s e t   m e s s a g e   a n d   m e s s a g e E x p r e s s i o n   o n   t h e   s a m e   r u l e ,   a n d   i f   b o t h   a r e   p r e s e n t ,   m e s s a g e E x p r e s s i o n   w i l l   b e   u s e d .   H o w e v e r ,   i f   m e s s a g e E x p ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19060"
  },
  {
    "question": "What is The message field?",
    "answer": "I f   y o u   w a n t   t o   s e t   a   s t a t i c   m e s s a g e ,   y o u   c a n   s u p p l y   m e s s a g e   r a t h e r   t h a n   m e s s a g e E x p r e s s i o n .   T h e   v a l u e   o f   m e s s a g e   i s   u s e d   a s   a n   o p a q u e   e r r o r   s t r i n g   i f   v a l i d a t i o n   f a i l s .   S e t t i n g   m e s s a g e   i s   o p t i o n a l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19061"
  },
  {
    "question": "What is The reason field?",
    "answer": "Y o u   c a n   a d d   a   m a c h i n e - r e a d a b l e   v a l i d a t i o n   f a i l u r e   r e a s o n   w i t h i n   a   v a l i d a t i o n ,   t o   b e   r e t u r n e d   w h e n e v e r   a   r e q u e s t   f a i l s   t h i s   v a l i d a t i o n   r u l e .   F o r   e x a m p l e :   x - k u b e r n e t e s - v a l i d a t i o n s :   -   r u l e :   \" s e l f . x   < =   s e l f . m a x L i m i t \"   r e a s o n :   \" F i e l d V a l u e I n v a l i d \"   T h e   H T T P   s t a t u s   c o d e   r e t u r n e d   t o   t h e   c a l l e r   w i l l   m a t c h   t h e   r e a s o n   o f   t h e   f i r s t   f a i l e d   v a l i d a t i o n   r u l e .   T h e   c u r r e n t l y   s u p p o r t e d   r e a s o n s   a r e :   \" F i e l d V a l u e I n v a l i d \" ,   \" F i e l d V a l u e F o r b i d d e n \" ,   \" F i e l d V a l u e R e q u i r e d \" ,   \" F i e l d V a l u e D u p l i c a t e \" .   I f   n o t   s e t   o r   u n k n o w n   r e a s o n s ,   d e f a u l t   t o   u s e   \" F i e l d V a l u e I n v a l i d \" .   S e t t i n g   r e a s o n   i s   o p t i o n a l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19062"
  },
  {
    "question": "What is The fieldPath field?",
    "answer": "Y o u   c a n   s p e c i f y   t h e   f i e l d   p a t h   r e t u r n e d   w h e n   t h e   v a l i d a t i o n   f a i l s .   F o r   e x a m p l e :   x - k u b e r n e t e s - v a l i d a t i o n s :   -   r u l e :   \" s e l f . f o o . t e s t . x   < =   s e l f . m a x L i m i t \"   f i e l d P a t h :   \" . f o o . t e s t . x \"   I n   t h e   e x a m p l e   a b o v e ,   t h e   v a l i d a t i o n   c h e c k s   t h e   v a l u e   o f   f i e l d   x   s h o u l d   b e   l e s s   t h a n   t h e   v a l u e   o f   m a x L i m i t .   I f   n o   f i e l d P a t h   s p e c i f i e d ,   w h e n   v a l i d a t i o n   f a i l s ,   t h e   f i e l d P a t h   w o u l d   b e   d e f a u l t   t o   w h e r e v e r   s e l f   s c o p e d .   W i t h   f i e l d P a t h   s p e c i f i e d ,   t h e   r e t u r n e d   e r r o r   w i l l   h a v e   f i e l d P a t h   p r o p e r l y   r e f e r   t o   t h e   l o c a t i o n   o f   f i e l d   x .   T h e   f i e l d P a t h   v a l u e   m u s t   b e   a   r e l a t i v e   J S O N   p a t h   t h a t   i s   s c o p e d   t o   t h e   l o c a t i o n   o f   t h i s   x - k u b e r n e t e s - v a l i d a t i o n s   e x t e n s i o n   i n   t h e   s c h e m a .   A d d i t i o n a l l y ,   i t   s h o u l d   r e f e r   t o   a n   e x i s t i n g   f i e l d   w i t h i n   t h e   s c h e m a .   F o r   e x a m p l e   w h e n   v a l i d a t i o n   c h e c k s   i f   a   s p e c i f i c   a t t r i b u t e   f o o   u n d e r   a   m a p   t e s t M a p ,   y o u   c o u l d   s e t   f i e l d P a t h   t o   \" . t e s t M a p . f o o \"   o r   . t e s t M a p [ ' f o o ' ] ' .   I f   t h e   v a l i d a t i o n   r e q u i r e s   c h e c k i n g   f o r   u n i q u e   a t t r i b u t e s   i n   t w o   l i s t s ,   t h e   f i e l d P a t h   c a n   b e   s e t   t o   e i t h e r   o f   t h e   l i s t s .   F o r   e x a m p l e ,   i t   c a n   b e   s e t   t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19063"
  },
  {
    "question": "What is The optionalOldSelf field?",
    "answer": "I f   y o u r   c l u s t e r   d o e s   n o t   h a v e   C R D   v a l i d a t i o n   r a t c h e t i n g   e n a b l e d ,   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   A P I   d o e s n ' t   i n c l u d e   t h i s   f i e l d ,   a n d   t r y i n g   t o   s e t   i t   m a y   r e s u l t   i n   a n   e r r o r .   T h e   o p t i o n a l O l d S e l f   f i e l d   i s   a   b o o l e a n   f i e l d   t h a t   a l t e r s   t h e   b e h a v i o r   o f   T r a n s i t i o n   R u l e s   d e s c r i b e d   b e l o w .   N o r m a l l y ,   a   t r a n s i t i o n   r u l e   w i l l   n o t   e v a l u a t e   i f   o l d S e l f   c a n n o t   b e   d e t e r m i n e d :   d u r i n g   o b j e c t   c r e a t i o n   o r   w h e n   a   n e w   v a l u e   i s   i n t r o d u c e d   i n   a n   u p d a t e .   I f   o p t i o n a l O l d S e l f   i s   s e t   t o   t r u e ,   t h e n   t r a n s i t i o n   r u l e s   w i l l   a l w a y s   b e   e v a l u a t e d   a n d   t h e   t y p e   o f   o l d S e l f   b e   c h a n g e d   t o   a   C E L   O p t i o n a l   t y p e .   o p t i o n a l O l d S e l f   i s   u s e f u l   i n   c a s e s   w h e r e   s c h e m a   a u t h o r s   w o u l d   l i k e   a   m o r e   c o n t r o l   t o o l   t h a n   p r o v i d e d   b y   t h e   d e f a u l t   e q u a l i t y   b a s e d   b e h a v i o r   o f   t o   i n t r o d u c e   n e w e r ,   u s u a l l y   s t r i c t e r   c o n s t r a i n t s   o n   n e w   v a l u e s ,   w h i l e   s t i l l   a l l o w i n g   o l d   v a l u e s   t o   b e   \" g r a n d f a t h e r e d \"   o r   r a t c h e t e d   u s i n g   t h e   o l d e r   v a l i d a t i o n .   E x a m p l e   U s a g e :",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19064"
  },
  {
    "question": "What is Validation functions?",
    "answer": "F u n c t i o n s   a v a i l a b l e   i n c l u d e :   C E L   s t a n d a r d   f u n c t i o n s ,   d e f i n e d   i n   t h e   l i s t   o f   s t a n d a r d   d e f i n i t i o n s C E L   s t a n d a r d   m a c r o s C E L   e x t e n d e d   s t r i n g   f u n c t i o n   l i b r a r y K u b e r n e t e s   C E L   e x t e n s i o n   l i b r a r y",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19065"
  },
  {
    "question": "What is Transition rules?",
    "answer": "A   r u l e   t h a t   c o n t a i n s   a n   e x p r e s s i o n   r e f e r e n c i n g   t h e   i d e n t i f i e r   o l d S e l f   i s   i m p l i c i t l y   c o n s i d e r e d   a   t r a n s i t i o n   r u l e .   T r a n s i t i o n   r u l e s   a l l o w   s c h e m a   a u t h o r s   t o   p r e v e n t   c e r t a i n   t r a n s i t i o n s   b e t w e e n   t w o   o t h e r w i s e   v a l i d   s t a t e s .   F o r   e x a m p l e :   t y p e :   s t r i n g   e n u m :   [ \" l o w \" ,   \" m e d i u m \" ,   \" h i g h \" ]   x - k u b e r n e t e s - v a l i d a t i o n s :   -   r u l e :   \" ! ( s e l f   = =   ' h i g h '   & &   o l d S e l f   = =   ' l o w ' )   & &   ! ( s e l f   = =   ' l o w '   & &   o l d S e l f   = =   ' h i g h ' ) \"   m e s s a g e :   c a n n o t   t r a n s i t i o n   d i r e c t l y   b e t w e e n   ' l o w '   a n d   ' h i g h '   U n l i k e   o t h e r   r u l e s ,   t r a n s i t i o n   r u l e s   a p p l y   o n l y   t o   o p e r a t i o n s   m e e t i n g   t h e   f o l l o w i n g   c r i t e r i a :   T h e   o p e r a t i o n   u p d a t e s   a n   e x i s t i n g   o b j e c t .   T r a n s i t i o n   r u l e s   n e v e r   a p p l y   t o   c r e a t e   o p e r a t i o n s . B o t h   a n   o l d   a n d   a   n e w   v a l u e   e x i s t .   I t   r e m a i n s   p o s s i b l e   t o   c h e c k   i f   a   v a l u e   h a s   b e e n   a d d e d   o r   r e m o v e d   b y   p l a c i n g   a   t r a n s i t i o n   r u l e   o n   t h e   p a r e n t   n o d e .   T r a n s i t i o n   r u l e s   a r e   n e v e r   a p p l i e d   t o   c u s t o m   r e s o u r c e   c r e a t i o n .   W h e n   p l a c e d   o n   a n   o p t i o n a l   f i e l d ,   a   t r a n s i t i o n   r u l e   w i l l   n o t   a p p l y   t o   u p d a t e   o p e r a t i o n s   t h a t   s e t   o r   u n s e t   t h e   f i e l d . T h e   p a t h   t o   t h e   s c h e m a   n o d e   b e i ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19066"
  },
  {
    "question": "What is Resource use by validation functions?",
    "answer": "W h e n   y o u   c r e a t e   o r   u p d a t e   a   C u s t o m R e s o u r c e D e f i n i t i o n   t h a t   u s e s   v a l i d a t i o n   r u l e s ,   t h e   A P I   s e r v e r   c h e c k s   t h e   l i k e l y   i m p a c t   o f   r u n n i n g   t h o s e   v a l i d a t i o n   r u l e s .   I f   a   r u l e   i s   e s t i m a t e d   t o   b e   p r o h i b i t i v e l y   e x p e n s i v e   t o   e x e c u t e ,   t h e   A P I   s e r v e r   r e j e c t s   t h e   c r e a t e   o r   u p d a t e   o p e r a t i o n ,   a n d   r e t u r n s   a n   e r r o r   m e s s a g e .   A   s i m i l a r   s y s t e m   i s   u s e d   a t   r u n t i m e   t h a t   o b s e r v e s   t h e   a c t i o n s   t h e   i n t e r p r e t e r   t a k e s .   I f   t h e   i n t e r p r e t e r   e x e c u t e s   t o o   m a n y   i n s t r u c t i o n s ,   e x e c u t i o n   o f   t h e   r u l e   w i l l   b e   h a l t e d ,   a n d   a n   e r r o r   w i l l   r e s u l t .   E a c h   C u s t o m R e s o u r c e D e f i n i t i o n   i s   a l s o   a l l o w e d   a   c e r t a i n   a m o u n t   o f   r e s o u r c e s   t o   f i n i s h   e x e c u t i n g   a l l   o f   i t s   v a l i d a t i o n   r u l e s .   I f   t h e   s u m   t o t a l   o f   i t s   r u l e s   a r e   e s t i m a t e d   a t   c r e a t i o n   t i m e   t o   g o   o v e r   t h a t   l i m i t ,   t h e n   a   v a l i d a t i o n   e r r o r   w i l l   a l s o   o c c u r .   Y o u   a r e   u n l i k e l y   t o   e n c o u n t e r   i s s u e s   w i t h   t h e   r e s o u r c e   b u d g e t   f o r   v a l i d a t i o n   i f   y o u   o n l y   s p e c i f y   r u l e s   t h a t   a l w a y s   t a k e   t h e   s a m e   a m o u n t   o f   t i m e   r e g a r d l e s s   o f   h o w   l a r g e   t h e i r   i n p u t   i s .   F o r   e x a m p l e ,   a   r u l e   t h a t   a s s e r t s   t h a t   s e l f . f o o   = =   1   d o e s   n o t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19067"
  },
  {
    "question": "What is Note:?",
    "answer": "D e f a u l t i n g   a l l o w s   t o   s p e c i f y   d e f a u l t   v a l u e s   i n   t h e   O p e n A P I   v 3   v a l i d a t i o n   s c h e m a :   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   m e t a d a t a :   n a m e :   c r o n t a b s . s t a b l e . e x a m p l e . c o m   s p e c :   g r o u p :   s t a b l e . e x a m p l e . c o m   v e r s i o n s :   -   n a m e :   v 1   s e r v e d :   t r u e   s t o r a g e :   t r u e   s c h e m a :   #   o p e n A P I V 3 S c h e m a   i s   t h e   s c h e m a   f o r   v a l i d a t i n g   c u s t o m   o b j e c t s .   o p e n A P I V 3 S c h e m a :   t y p e :   o b j e c t   p r o p e r t i e s :   s p e c :   t y p e :   o b j e c t   p r o p e r t i e s :   c r o n S p e c :   t y p e :   s t r i n g   p a t t e r n :   ' ^ ( \\ d + | \\ * ) ( / \\ d + ) ? ( \\ s + ( \\ d + | \\ * ) ( / \\ d + ) ? ) { 4 } $ '   d e f a u l t :   \" 5   0   *   *   * \"   i m a g e :   t y p e :   s t r i n g   r e p l i c a s :   t y p e :   i n t e g e r   m i n i m u m :   1   m a x i m u m :   1 0   d e f a u l t :   1   s c o p e :   N a m e s p a c e d   n a m e s :   p l u r a l :   c r o n t a b s   s i n g u l a r :   c r o n t a b   k i n d :   C r o n T a b   s h o r t N a m e s :   -   c t   W i t h   t h i s   b o t h   c r o n S p e c   a n d   r e p l i c a s   a r e   d e f a u l t e d :   a p i V e r s i o n :   \" s t a b l e . e x a m p l e . c o m / v 1 \"   k i n d :   C r o n T a b   m e t a d a t a :   n a m e :   m y - n e w - c r o n - o b j e c t   s p e c :   i m a g e :   m y - a w e s o m e - c r o n - i m a g e   l e a d s   t o   a p i V e r s i o n :   \" s t a b l e . e x a m p l e . c o m / v 1 \"   k i n d :   C r o n T a b   m e t a d a t a :   n a m e :   m y - n e w - c r o n - o b j e c t   s p e c :   c r o n S p e c :   \" 5   0   *   *   * \"   i m a g e :   m y - a w e s o m e - c r o n - i m ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19068"
  },
  {
    "question": "What is Defaulting and Nullable?",
    "answer": "N u l l   v a l u e s   f o r   f i e l d s   t h a t   e i t h e r   d o n ' t   s p e c i f y   t h e   n u l l a b l e   f l a g ,   o r   g i v e   i t   a   f a l s e   v a l u e ,   w i l l   b e   p r u n e d   b e f o r e   d e f a u l t i n g   h a p p e n s .   I f   a   d e f a u l t   i s   p r e s e n t ,   i t   w i l l   b e   a p p l i e d .   W h e n   n u l l a b l e   i s   t r u e ,   n u l l   v a l u e s   w i l l   b e   c o n s e r v e d   a n d   w o n ' t   b e   d e f a u l t e d .   F o r   e x a m p l e ,   g i v e n   t h e   O p e n A P I   s c h e m a   b e l o w :   t y p e :   o b j e c t   p r o p e r t i e s :   s p e c :   t y p e :   o b j e c t   p r o p e r t i e s :   f o o :   t y p e :   s t r i n g   n u l l a b l e :   f a l s e   d e f a u l t :   \" d e f a u l t \"   b a r :   t y p e :   s t r i n g   n u l l a b l e :   t r u e   b a z :   t y p e :   s t r i n g   c r e a t i n g   a n   o b j e c t   w i t h   n u l l   v a l u e s   f o r   f o o   a n d   b a r   a n d   b a z   s p e c :   f o o :   n u l l   b a r :   n u l l   b a z :   n u l l   l e a d s   t o   s p e c :   f o o :   \" d e f a u l t \"   b a r :   n u l l   w i t h   f o o   p r u n e d   a n d   d e f a u l t e d   b e c a u s e   t h e   f i e l d   i s   n o n - n u l l a b l e ,   b a r   m a i n t a i n i n g   t h e   n u l l   v a l u e   d u e   t o   n u l l a b l e :   t r u e ,   a n d   b a z   p r u n e d   b e c a u s e   t h e   f i e l d   i s   n o n - n u l l a b l e   a n d   h a s   n o   d e f a u l t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19069"
  },
  {
    "question": "What is Publish Validation Schema in OpenAPI?",
    "answer": "C u s t o m R e s o u r c e D e f i n i t i o n   O p e n A P I   v 3   v a l i d a t i o n   s c h e m a s   w h i c h   a r e   s t r u c t u r a l   a n d   e n a b l e   p r u n i n g   a r e   p u b l i s h e d   a s   O p e n A P I   v 3   a n d   O p e n A P I   v 2   f r o m   K u b e r n e t e s   A P I   s e r v e r .   I t   i s   r e c o m m e n d e d   t o   u s e   t h e   O p e n A P I   v 3   d o c u m e n t   a s   i t   i s   a   l o s s l e s s   r e p r e s e n t a t i o n   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   O p e n A P I   v 3   v a l i d a t i o n   s c h e m a   w h i l e   O p e n A P I   v 2   r e p r e s e n t s   a   l o s s y   c o n v e r s i o n .   T h e   k u b e c t l   c o m m a n d - l i n e   t o o l   c o n s u m e s   t h e   p u b l i s h e d   s c h e m a   t o   p e r f o r m   c l i e n t - s i d e   v a l i d a t i o n   ( k u b e c t l   c r e a t e   a n d   k u b e c t l   a p p l y ) ,   s c h e m a   e x p l a n a t i o n   ( k u b e c t l   e x p l a i n )   o n   c u s t o m   r e s o u r c e s .   T h e   p u b l i s h e d   s c h e m a   c a n   b e   c o n s u m e d   f o r   o t h e r   p u r p o s e s   a s   w e l l ,   l i k e   c l i e n t   g e n e r a t i o n   o r   d o c u m e n t a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19070"
  },
  {
    "question": "What is Compatibility with OpenAPI V2?",
    "answer": "F o r   c o m p a t i b i l i t y   w i t h   O p e n A P I   V 2 ,   t h e   O p e n A P I   v 3   v a l i d a t i o n   s c h e m a   p e r f o r m s   a   l o s s y   c o n v e r s i o n   t o   t h e   O p e n A P I   v 2   s c h e m a .   T h e   s c h e m a   s h o w   u p   i n   d e f i n i t i o n s   a n d   p a t h s   f i e l d s   i n   t h e   O p e n A P I   v 2   s p e c .   T h e   f o l l o w i n g   m o d i f i c a t i o n s   a r e   a p p l i e d   d u r i n g   t h e   c o n v e r s i o n   t o   k e e p   b a c k w a r d s   c o m p a t i b i l i t y   w i t h   k u b e c t l   i n   p r e v i o u s   1 . 1 3   v e r s i o n .   T h e s e   m o d i f i c a t i o n s   p r e v e n t   k u b e c t l   f r o m   b e i n g   o v e r - s t r i c t   a n d   r e j e c t i n g   v a l i d   O p e n A P I   s c h e m a s   t h a t   i t   d o e s n ' t   u n d e r s t a n d .   T h e   c o n v e r s i o n   w o n ' t   m o d i f y   t h e   v a l i d a t i o n   s c h e m a   d e f i n e d   i n   C R D ,   a n d   t h e r e f o r e   w o n ' t   a f f e c t   v a l i d a t i o n   i n   t h e   A P I   s e r v e r .   T h e   f o l l o w i n g   f i e l d s   a r e   r e m o v e d   a s   t h e y   a r e n ' t   s u p p o r t e d   b y   O p e n A P I   v 2 . T h e   f i e l d s   a l l O f ,   a n y O f ,   o n e O f   a n d   n o t   a r e   r e m o v e d I f   n u l l a b l e :   t r u e   i s   s e t ,   w e   d r o p   t y p e ,   n u l l a b l e ,   i t e m s   a n d   p r o p e r t i e s   b e c a u s e   O p e n A P I   v 2   i s   n o t   a b l e   t o   e x p r e s s   n u l l a b l e .   T o   a v o i d   k u b e c t l   t o   r e j e c t   g o o d   o b j e c t s ,   t h i s   i s   n e c e s s a r y .   T h e   f o l l o w i n g   f i e l d s   a r e   r e m o v e d   a s   t h e y   a r e n ' t   s u p p o r t e d   b y   O p e n A P I   v 2 .   T h e   f i e l d s   a l l O f ,   a n y O f ,   o n e O f   a n d   n o t   a r e   r e m ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19071"
  },
  {
    "question": "What is Additional printer columns?",
    "answer": "T h e   k u b e c t l   t o o l   r e l i e s   o n   s e r v e r - s i d e   o u t p u t   f o r m a t t i n g .   Y o u r   c l u s t e r ' s   A P I   s e r v e r   d e c i d e s   w h i c h   c o l u m n s   a r e   s h o w n   b y   t h e   k u b e c t l   g e t   c o m m a n d .   Y o u   c a n   c u s t o m i z e   t h e s e   c o l u m n s   f o r   a   C u s t o m R e s o u r c e D e f i n i t i o n .   T h e   f o l l o w i n g   e x a m p l e   a d d s   t h e   S p e c ,   R e p l i c a s ,   a n d   A g e   c o l u m n s .   S a v e   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   t o   r e s o u r c e d e f i n i t i o n . y a m l :   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   m e t a d a t a :   n a m e :   c r o n t a b s . s t a b l e . e x a m p l e . c o m   s p e c :   g r o u p :   s t a b l e . e x a m p l e . c o m   s c o p e :   N a m e s p a c e d   n a m e s :   p l u r a l :   c r o n t a b s   s i n g u l a r :   c r o n t a b   k i n d :   C r o n T a b   s h o r t N a m e s :   -   c t   v e r s i o n s :   -   n a m e :   v 1   s e r v e d :   t r u e   s t o r a g e :   t r u e   s c h e m a :   o p e n A P I V 3 S c h e m a :   t y p e :   o b j e c t   p r o p e r t i e s :   s p e c :   t y p e :   o b j e c t   p r o p e r t i e s :   c r o n S p e c :   t y p e :   s t r i n g   i m a g e :   t y p e :   s t r i n g   r e p l i c a s :   t y p e :   i n t e g e r   a d d i t i o n a l P r i n t e r C o l u m n s :   -   n a m e :   S p e c   t y p e :   s t r i n g   d e s c r i p t i o n :   T h e   c r o n   s p e c   d e f i n i n g   t h e   i n t e r v a l   a   C r o n J o b   i s   r u n   j s o n P a t h :   . s p e c . c r o n S p e c   -   n a m e :   R e p l i c a s   t y p e :   i n t e g e r   d e s c r i p t i o n :   T h e   n u m b e r   o f   j o b s   l a u n c h e d   b y   t h e   C r o n J o b   j s o n P a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19072"
  },
  {
    "question": "What is Priority?",
    "answer": "E a c h   c o l u m n   i n c l u d e s   a   p r i o r i t y   f i e l d .   C u r r e n t l y ,   t h e   p r i o r i t y   d i f f e r e n t i a t e s   b e t w e e n   c o l u m n s   s h o w n   i n   s t a n d a r d   v i e w   o r   w i d e   v i e w   ( u s i n g   t h e   - o   w i d e   f l a g ) .   C o l u m n s   w i t h   p r i o r i t y   0   a r e   s h o w n   i n   s t a n d a r d   v i e w . C o l u m n s   w i t h   p r i o r i t y   g r e a t e r   t h a n   0   a r e   s h o w n   o n l y   i n   w i d e   v i e w .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19073"
  },
  {
    "question": "What is Type?",
    "answer": "A   c o l u m n ' s   t y p e   f i e l d   c a n   b e   a n y   o f   t h e   f o l l o w i n g   ( c o m p a r e   O p e n A P I   v 3   d a t a   t y p e s ) :   i n t e g e r   –   n o n - f l o a t i n g - p o i n t   n u m b e r s n u m b e r   –   f l o a t i n g   p o i n t   n u m b e r s s t r i n g   –   s t r i n g s b o o l e a n   –   t r u e   o r   f a l s e d a t e   –   r e n d e r e d   d i f f e r e n t i a l l y   a s   t i m e   s i n c e   t h i s   t i m e s t a m p .   I f   t h e   v a l u e   i n s i d e   a   C u s t o m R e s o u r c e   d o e s   n o t   m a t c h   t h e   t y p e   s p e c i f i e d   f o r   t h e   c o l u m n ,   t h e   v a l u e   i s   o m i t t e d .   U s e   C u s t o m R e s o u r c e   v a l i d a t i o n   t o   e n s u r e   t h a t   t h e   v a l u e   t y p e s   a r e   c o r r e c t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19074"
  },
  {
    "question": "What is Format?",
    "answer": "A   c o l u m n ' s   f o r m a t   f i e l d   c a n   b e   a n y   o f   t h e   f o l l o w i n g :   i n t 3 2 i n t 6 4 f l o a t d o u b l e b y t e d a t e d a t e - t i m e p a s s w o r d   T h e   c o l u m n ' s   f o r m a t   c o n t r o l s   t h e   s t y l e   u s e d   w h e n   k u b e c t l   p r i n t s   t h e   v a l u e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19075"
  },
  {
    "question": "What is Field selectors?",
    "answer": "F i e l d   S e l e c t o r s   l e t   c l i e n t s   s e l e c t   c u s t o m   r e s o u r c e s   b a s e d   o n   t h e   v a l u e   o f   o n e   o r   m o r e   r e s o u r c e   f i e l d s .   A l l   c u s t o m   r e s o u r c e s   s u p p o r t   t h e   m e t a d a t a . n a m e   a n d   m e t a d a t a . n a m e s p a c e   f i e l d   s e l e c t o r s .   F i e l d s   d e c l a r e d   i n   a   C u s t o m R e s o u r c e D e f i n i t i o n   m a y   a l s o   b e   u s e d   w i t h   f i e l d   s e l e c t o r s   w h e n   i n c l u d e d   i n   t h e   s p e c . v e r s i o n s [ * ] . s e l e c t a b l e F i e l d s   f i e l d   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19076"
  },
  {
    "question": "What is Selectable fields for custom resources?",
    "answer": "T h e   s p e c . v e r s i o n s [ * ] . s e l e c t a b l e F i e l d s   f i e l d   o f   a   C u s t o m R e s o u r c e D e f i n i t i o n   m a y   b e   u s e d   t o   d e c l a r e   w h i c h   o t h e r   f i e l d s   i n   a   c u s t o m   r e s o u r c e   m a y   b e   u s e d   i n   f i e l d   s e l e c t o r s   w i t h   t h e   f e a t u r e   o f   C u s t o m R e s o u r c e F i e l d S e l e c t o r s   f e a t u r e   g a t e   ( T h i s   f e a t u r e   g a t e   i s   e n a b l e d   b y   d e f a u l t   s i n c e   K u b e r n e t e s   v 1 . 3 1 ) .   T h e   f o l l o w i n g   e x a m p l e   a d d s   t h e   . s p e c . c o l o r   a n d   . s p e c . s i z e   f i e l d s   a s   s e l e c t a b l e   f i e l d s .   S a v e   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   t o   s h i r t - r e s o u r c e - d e f i n i t i o n . y a m l :   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   m e t a d a t a :   n a m e :   s h i r t s . s t a b l e . e x a m p l e . c o m   s p e c :   g r o u p :   s t a b l e . e x a m p l e . c o m   s c o p e :   N a m e s p a c e d   n a m e s :   p l u r a l :   s h i r t s   s i n g u l a r :   s h i r t   k i n d :   S h i r t   v e r s i o n s :   -   n a m e :   v 1   s e r v e d :   t r u e   s t o r a g e :   t r u e   s c h e m a :   o p e n A P I V 3 S c h e m a :   t y p e :   o b j e c t   p r o p e r t i e s :   s p e c :   t y p e :   o b j e c t   p r o p e r t i e s :   c o l o r :   t y p e :   s t r i n g   s i z e :   t y p e :   s t r i n g   s e l e c t a b l e F i e l d s :   -   j s o n P a t h :   . s p e c . c o l o r   -   j s o n P a t h :   . s p e c . s i z e   a d d i t i o n a l P r i n t e r C o l u m n s :   -   j s o n P a t h :   . s p e c . c o l o r   n a m e :   C o l o r   t y p e :   s t r i n g   -   j s o n P a t h :   . s p e c . s i z e   n a m e :   S i ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19077"
  },
  {
    "question": "What is Subresources?",
    "answer": "C u s t o m   r e s o u r c e s   s u p p o r t   / s t a t u s   a n d   / s c a l e   s u b r e s o u r c e s .   T h e   s t a t u s   a n d   s c a l e   s u b r e s o u r c e s   c a n   b e   o p t i o n a l l y   e n a b l e d   b y   d e f i n i n g   t h e m   i n   t h e   C u s t o m R e s o u r c e D e f i n i t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19078"
  },
  {
    "question": "What is Status subresource?",
    "answer": "W h e n   t h e   s t a t u s   s u b r e s o u r c e   i s   e n a b l e d ,   t h e   / s t a t u s   s u b r e s o u r c e   f o r   t h e   c u s t o m   r e s o u r c e   i s   e x p o s e d .   T h e   s t a t u s   a n d   t h e   s p e c   s t a n z a s   a r e   r e p r e s e n t e d   b y   t h e   . s t a t u s   a n d   . s p e c   J S O N P a t h s   r e s p e c t i v e l y   i n s i d e   o f   a   c u s t o m   r e s o u r c e . P U T   r e q u e s t s   t o   t h e   / s t a t u s   s u b r e s o u r c e   t a k e   a   c u s t o m   r e s o u r c e   o b j e c t   a n d   i g n o r e   c h a n g e s   t o   a n y t h i n g   e x c e p t   t h e   s t a t u s   s t a n z a . P U T   r e q u e s t s   t o   t h e   / s t a t u s   s u b r e s o u r c e   o n l y   v a l i d a t e   t h e   s t a t u s   s t a n z a   o f   t h e   c u s t o m   r e s o u r c e . P U T / P O S T / P A T C H   r e q u e s t s   t o   t h e   c u s t o m   r e s o u r c e   i g n o r e   c h a n g e s   t o   t h e   s t a t u s   s t a n z a . T h e   . m e t a d a t a . g e n e r a t i o n   v a l u e   i s   i n c r e m e n t e d   f o r   a l l   c h a n g e s ,   e x c e p t   f o r   c h a n g e s   t o   . m e t a d a t a   o r   . s t a t u s . O n l y   t h e   f o l l o w i n g   c o n s t r u c t s   a r e   a l l o w e d   a t   t h e   r o o t   o f   t h e   C R D   O p e n A P I   v a l i d a t i o n   s c h e m a : d e s c r i p t i o n e x a m p l e e x c l u s i v e M a x i m u m e x c l u s i v e M i n i m u m e x t e r n a l D o c s f o r m a t i t e m s m a x i m u m m a x I t e m s m a x L e n g t h m i n i m u m m i n I t e m s m i n L e n g t h m u l t i p l e O f p a t t e r n p r o p e r t i e s r e q u i r e d t i t l e t y p e u n i q u e I t e m s   T h e   s t a t u s   a n d   t h e   s p e c   s t a n z a s   a r e   r e p r e s e n t e d   b y   t h e   . s t a t u s   a n d   . s p e c   J S O N P a t h s   r e s p e c t i v e l y   i n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19079"
  },
  {
    "question": "What is Scale subresource?",
    "answer": "W h e n   t h e   s c a l e   s u b r e s o u r c e   i s   e n a b l e d ,   t h e   / s c a l e   s u b r e s o u r c e   f o r   t h e   c u s t o m   r e s o u r c e   i s   e x p o s e d .   T h e   a u t o s c a l i n g / v 1 . S c a l e   o b j e c t   i s   s e n t   a s   t h e   p a y l o a d   f o r   / s c a l e .   T o   e n a b l e   t h e   s c a l e   s u b r e s o u r c e ,   t h e   f o l l o w i n g   f i e l d s   a r e   d e f i n e d   i n   t h e   C u s t o m R e s o u r c e D e f i n i t i o n .   s p e c R e p l i c a s P a t h   d e f i n e s   t h e   J S O N P a t h   i n s i d e   o f   a   c u s t o m   r e s o u r c e   t h a t   c o r r e s p o n d s   t o   s c a l e . s p e c . r e p l i c a s . I t   i s   a   r e q u i r e d   v a l u e . O n l y   J S O N P a t h s   u n d e r   . s p e c   a n d   w i t h   t h e   d o t   n o t a t i o n   a r e   a l l o w e d . I f   t h e r e   i s   n o   v a l u e   u n d e r   t h e   s p e c R e p l i c a s P a t h   i n   t h e   c u s t o m   r e s o u r c e ,   t h e   / s c a l e   s u b r e s o u r c e   w i l l   r e t u r n   a n   e r r o r   o n   G E T . s t a t u s R e p l i c a s P a t h   d e f i n e s   t h e   J S O N P a t h   i n s i d e   o f   a   c u s t o m   r e s o u r c e   t h a t   c o r r e s p o n d s   t o   s c a l e . s t a t u s . r e p l i c a s . I t   i s   a   r e q u i r e d   v a l u e . O n l y   J S O N P a t h s   u n d e r   . s t a t u s   a n d   w i t h   t h e   d o t   n o t a t i o n   a r e   a l l o w e d . I f   t h e r e   i s   n o   v a l u e   u n d e r   t h e   s t a t u s R e p l i c a s P a t h   i n   t h e   c u s t o m   r e s o u r c e ,   t h e   s t a t u s   r e p l i c a   v a l u e   i n   t h e   / s c a l e   s u b r e s o u r c e   w i l l   d e f a u l t   t o   0 . l a b e l S e l e c t o r P a t h   d e f i n e s   t h e   J S O N P a t h   i n s i d e   o f   a   c u s t o m   r e s o u r c e   t h a t   c o r r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19080"
  },
  {
    "question": "What is Categories?",
    "answer": "C a t e g o r i e s   i s   a   l i s t   o f   g r o u p e d   r e s o u r c e s   t h e   c u s t o m   r e s o u r c e   b e l o n g s   t o   ( e g .   a l l ) .   Y o u   c a n   u s e   k u b e c t l   g e t   < c a t e g o r y - n a m e >   t o   l i s t   t h e   r e s o u r c e s   b e l o n g i n g   t o   t h e   c a t e g o r y .   T h e   f o l l o w i n g   e x a m p l e   a d d s   a l l   i n   t h e   l i s t   o f   c a t e g o r i e s   i n   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   a n d   i l l u s t r a t e s   h o w   t o   o u t p u t   t h e   c u s t o m   r e s o u r c e   u s i n g   k u b e c t l   g e t   a l l .   S a v e   t h e   f o l l o w i n g   C u s t o m R e s o u r c e D e f i n i t i o n   t o   r e s o u r c e d e f i n i t i o n . y a m l :   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   m e t a d a t a :   n a m e :   c r o n t a b s . s t a b l e . e x a m p l e . c o m   s p e c :   g r o u p :   s t a b l e . e x a m p l e . c o m   v e r s i o n s :   -   n a m e :   v 1   s e r v e d :   t r u e   s t o r a g e :   t r u e   s c h e m a :   o p e n A P I V 3 S c h e m a :   t y p e :   o b j e c t   p r o p e r t i e s :   s p e c :   t y p e :   o b j e c t   p r o p e r t i e s :   c r o n S p e c :   t y p e :   s t r i n g   i m a g e :   t y p e :   s t r i n g   r e p l i c a s :   t y p e :   i n t e g e r   s c o p e :   N a m e s p a c e d   n a m e s :   p l u r a l :   c r o n t a b s   s i n g u l a r :   c r o n t a b   k i n d :   C r o n T a b   s h o r t N a m e s :   -   c t   #   c a t e g o r i e s   i s   a   l i s t   o f   g r o u p e d   r e s o u r c e s   t h e   c u s t o m   r e s o u r c e   b e l o n g s   t o .   c a t e g o r i e s :   -   a l l   a n d   c r e a t e   i t :   k u b e c t l   a p p l y   - f   r e s o u r c e d e f i n i t i o n . y a m l   A f t e r   t h e   C u s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19081"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   a b o u t   c u s t o m   r e s o u r c e s . S e e   C u s t o m R e s o u r c e D e f i n i t i o n . S e r v e   m u l t i p l e   v e r s i o n s   o f   a   C u s t o m R e s o u r c e D e f i n i t i o n .   R e a d   a b o u t   c u s t o m   r e s o u r c e s .   S e e   C u s t o m R e s o u r c e D e f i n i t i o n .   S e r v e   m u l t i p l e   v e r s i o n s   o f   a   C u s t o m R e s o u r c e D e f i n i t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19082"
  },
  {
    "question": "What is 11.2.2 - Versions in CustomResourceDefinitions?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   t o   a d d   v e r s i o n i n g   i n f o r m a t i o n   t o   C u s t o m R e s o u r c e D e f i n i t i o n s ,   t o   i n d i c a t e   t h e   s t a b i l i t y   l e v e l   o f   y o u r   C u s t o m R e s o u r c e D e f i n i t i o n s   o r   a d v a n c e   y o u r   A P I   t o   a   n e w   v e r s i o n   w i t h   c o n v e r s i o n   b e t w e e n   A P I   r e p r e s e n t a t i o n s .   I t   a l s o   d e s c r i b e s   h o w   t o   u p g r a d e   a n   o b j e c t   f r o m   o n e   v e r s i o n   t o   a n o t h e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_19083"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   s h o u l d   h a v e   a n   i n i t i a l   u n d e r s t a n d i n g   o f   c u s t o m   r e s o u r c e s .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19084"
  },
  {
    "question": "What is Overview?",
    "answer": "T h e   C u s t o m R e s o u r c e D e f i n i t i o n   A P I   p r o v i d e s   a   w o r k f l o w   f o r   i n t r o d u c i n g   a n d   u p g r a d i n g   t o   n e w   v e r s i o n s   o f   a   C u s t o m R e s o u r c e D e f i n i t i o n .   W h e n   a   C u s t o m R e s o u r c e D e f i n i t i o n   i s   c r e a t e d ,   t h e   f i r s t   v e r s i o n   i s   s e t   i n   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   s p e c . v e r s i o n s   l i s t   t o   a n   a p p r o p r i a t e   s t a b i l i t y   l e v e l   a n d   a   v e r s i o n   n u m b e r .   F o r   e x a m p l e   v 1 b e t a 1   w o u l d   i n d i c a t e   t h a t   t h e   f i r s t   v e r s i o n   i s   n o t   y e t   s t a b l e .   A l l   c u s t o m   r e s o u r c e   o b j e c t s   w i l l   i n i t i a l l y   b e   s t o r e d   a t   t h i s   v e r s i o n .   O n c e   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   i s   c r e a t e d ,   c l i e n t s   m a y   b e g i n   u s i n g   t h e   v 1 b e t a 1   A P I .   L a t e r   i t   m i g h t   b e   n e c e s s a r y   t o   a d d   n e w   v e r s i o n   s u c h   a s   v 1 .   A d d i n g   a   n e w   v e r s i o n :   P i c k   a   c o n v e r s i o n   s t r a t e g y .   S i n c e   c u s t o m   r e s o u r c e   o b j e c t s   n e e d   t h e   a b i l i t y   t o   b e   s e r v e d   a t   b o t h   v e r s i o n s ,   t h a t   m e a n s   t h e y   w i l l   s o m e t i m e s   b e   s e r v e d   i n   a   d i f f e r e n t   v e r s i o n   t h a n   t h e   o n e   s t o r e d .   T o   m a k e   t h i s   p o s s i b l e ,   t h e   c u s t o m   r e s o u r c e   o b j e c t s   m u s t   s o m e t i m e s   b e   c o n v e r t e d   b e t w e e n   t h e   v e r s i o n   t h e y   a r e   s t o r e d   a t   a n d   t h e   v e r s i o n   t h e y   a r e   s e r v e d   a t .   I f   t h e   c o n v e r s i o n   i n v o l v e s   s c h e m a   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19085"
  },
  {
    "question": "What is Specify multiple versions?",
    "answer": "T h e   C u s t o m R e s o u r c e D e f i n i t i o n   A P I   v e r s i o n s   f i e l d   c a n   b e   u s e d   t o   s u p p o r t   m u l t i p l e   v e r s i o n s   o f   c u s t o m   r e s o u r c e s   t h a t   y o u   h a v e   d e v e l o p e d .   V e r s i o n s   c a n   h a v e   d i f f e r e n t   s c h e m a s ,   a n d   c o n v e r s i o n   w e b h o o k s   c a n   c o n v e r t   c u s t o m   r e s o u r c e s   b e t w e e n   v e r s i o n s .   W e b h o o k   c o n v e r s i o n s   s h o u l d   f o l l o w   t h e   K u b e r n e t e s   A P I   c o n v e n t i o n s   w h e r e v e r   a p p l i c a b l e .   S p e c i f i c a l l y ,   S e e   t h e   A P I   c h a n g e   d o c u m e n t a t i o n   f o r   a   s e t   o f   u s e f u l   g o t c h a s   a n d   s u g g e s t i o n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19086"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   e x a m p l e   s h o w s   a   C u s t o m R e s o u r c e D e f i n i t i o n   w i t h   t w o   v e r s i o n s .   F o r   t h e   f i r s t   e x a m p l e ,   t h e   a s s u m p t i o n   i s   a l l   v e r s i o n s   s h a r e   t h e   s a m e   s c h e m a   w i t h   n o   c o n v e r s i o n   b e t w e e n   t h e m .   T h e   c o m m e n t s   i n   t h e   Y A M L   p r o v i d e   m o r e   c o n t e x t .   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   m e t a d a t a :   #   n a m e   m u s t   m a t c h   t h e   s p e c   f i e l d s   b e l o w ,   a n d   b e   i n   t h e   f o r m :   < p l u r a l > . < g r o u p >   n a m e :   c r o n t a b s . e x a m p l e . c o m   s p e c :   #   g r o u p   n a m e   t o   u s e   f o r   R E S T   A P I :   / a p i s / < g r o u p > / < v e r s i o n >   g r o u p :   e x a m p l e . c o m   #   l i s t   o f   v e r s i o n s   s u p p o r t e d   b y   t h i s   C u s t o m R e s o u r c e D e f i n i t i o n   v e r s i o n s :   -   n a m e :   v 1 b e t a 1   #   E a c h   v e r s i o n   c a n   b e   e n a b l e d / d i s a b l e d   b y   S e r v e d   f l a g .   s e r v e d :   t r u e   #   O n e   a n d   o n l y   o n e   v e r s i o n   m u s t   b e   m a r k e d   a s   t h e   s t o r a g e   v e r s i o n .   s t o r a g e :   t r u e   #   A   s c h e m a   i s   r e q u i r e d   s c h e m a :   o p e n A P I V 3 S c h e m a :   t y p e :   o b j e c t   p r o p e r t i e s :   h o s t :   t y p e :   s t r i n g   p o r t :   t y p e :   s t r i n g   -   n a m e :   v 1   s e r v e d :   t r u e   s t o r a g e :   f a l s e   s c h e m a :   o p e n A P I V 3 S c h e m a :   t y p e :   o b j e c t   p r o p e r t i e s :   h o s t :   t y p e :   s t r i n g   p o r t :   t y p e :   s t r i n g   #   T h e   c o n v e r s i o n   s e c t i o n   i s   i n t r o d u c e d   i ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19087"
  },
  {
    "question": "What is Version priority?",
    "answer": "R e g a r d l e s s   o f   t h e   o r d e r   i n   w h i c h   v e r s i o n s   a r e   d e f i n e d   i n   a   C u s t o m R e s o u r c e D e f i n i t i o n ,   t h e   v e r s i o n   w i t h   t h e   h i g h e s t   p r i o r i t y   i s   u s e d   b y   k u b e c t l   a s   t h e   d e f a u l t   v e r s i o n   t o   a c c e s s   o b j e c t s .   T h e   p r i o r i t y   i s   d e t e r m i n e d   b y   p a r s i n g   t h e   n a m e   f i e l d   t o   d e t e r m i n e   t h e   v e r s i o n   n u m b e r ,   t h e   s t a b i l i t y   ( G A ,   B e t a ,   o r   A l p h a ) ,   a n d   t h e   s e q u e n c e   w i t h i n   t h a t   s t a b i l i t y   l e v e l .   T h e   a l g o r i t h m   u s e d   f o r   s o r t i n g   t h e   v e r s i o n s   i s   d e s i g n e d   t o   s o r t   v e r s i o n s   i n   t h e   s a m e   w a y   t h a t   t h e   K u b e r n e t e s   p r o j e c t   s o r t s   K u b e r n e t e s   v e r s i o n s .   V e r s i o n s   s t a r t   w i t h   a   v   f o l l o w e d   b y   a   n u m b e r ,   a n   o p t i o n a l   b e t a   o r   a l p h a   d e s i g n a t i o n ,   a n d   o p t i o n a l   a d d i t i o n a l   n u m e r i c   v e r s i o n i n g   i n f o r m a t i o n .   B r o a d l y ,   a   v e r s i o n   s t r i n g   m i g h t   l o o k   l i k e   v 2   o r   v 2 b e t a 1 .   V e r s i o n s   a r e   s o r t e d   u s i n g   t h e   f o l l o w i n g   a l g o r i t h m :   E n t r i e s   t h a t   f o l l o w   K u b e r n e t e s   v e r s i o n   p a t t e r n s   a r e   s o r t e d   b e f o r e   t h o s e   t h a t   d o   n o t . F o r   e n t r i e s   t h a t   f o l l o w   K u b e r n e t e s   v e r s i o n   p a t t e r n s ,   t h e   n u m e r i c   p o r t i o n s   o f   t h e   v e r s i o n   s t r i n g   i s   s o r t e d   l a r g e s t   t o   s m a l l e s t . I f   t h e   s t r i n g s   b e t a   o r   a l p h a   f o l l o w   t h e   f i r s t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19088"
  },
  {
    "question": "What is Version deprecation?",
    "answer": "S t a r t i n g   i n   v 1 . 1 9 ,   a   C u s t o m R e s o u r c e D e f i n i t i o n   c a n   i n d i c a t e   a   p a r t i c u l a r   v e r s i o n   o f   t h e   r e s o u r c e   i t   d e f i n e s   i s   d e p r e c a t e d .   W h e n   A P I   r e q u e s t s   t o   a   d e p r e c a t e d   v e r s i o n   o f   t h a t   r e s o u r c e   a r e   m a d e ,   a   w a r n i n g   m e s s a g e   i s   r e t u r n e d   i n   t h e   A P I   r e s p o n s e   a s   a   h e a d e r .   T h e   w a r n i n g   m e s s a g e   f o r   e a c h   d e p r e c a t e d   v e r s i o n   o f   t h e   r e s o u r c e   c a n   b e   c u s t o m i z e d   i f   d e s i r e d .   A   c u s t o m i z e d   w a r n i n g   m e s s a g e   s h o u l d   i n d i c a t e   t h e   d e p r e c a t e d   A P I   g r o u p ,   v e r s i o n ,   a n d   k i n d ,   a n d   s h o u l d   i n d i c a t e   w h a t   A P I   g r o u p ,   v e r s i o n ,   a n d   k i n d   s h o u l d   b e   u s e d   i n s t e a d ,   i f   a p p l i c a b l e .   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   n a m e :   c r o n t a b s . e x a m p l e . c o m   s p e c :   g r o u p :   e x a m p l e . c o m   n a m e s :   p l u r a l :   c r o n t a b s   s i n g u l a r :   c r o n t a b   k i n d :   C r o n T a b   s c o p e :   N a m e s p a c e d   v e r s i o n s :   -   n a m e :   v 1 a l p h a 1   s e r v e d :   t r u e   s t o r a g e :   f a l s e   #   T h i s   i n d i c a t e s   t h e   v 1 a l p h a 1   v e r s i o n   o f   t h e   c u s t o m   r e s o u r c e   i s   d e p r e c a t e d .   #   A P I   r e q u e s t s   t o   t h i s   v e r s i o n   r e c e i v e   a   w a r n i n g   h e a d e r   i n   t h e   s e r v e r   r e s p o n s e .   d e p r e c a t e d :   t r u e   #   T h i s   o v e r r i d e s   t h e   d e f a u l t   w a r n i n g   r e t u r n e d   t o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19089"
  },
  {
    "question": "What is Version removal?",
    "answer": "A n   o l d e r   A P I   v e r s i o n   c a n n o t   b e   d r o p p e d   f r o m   a   C u s t o m R e s o u r c e D e f i n i t i o n   m a n i f e s t   u n t i l   e x i s t i n g   s t o r e d   d a t a   h a s   b e e n   m i g r a t e d   t o   t h e   n e w e r   A P I   v e r s i o n   f o r   a l l   c l u s t e r s   t h a t   s e r v e d   t h e   o l d e r   v e r s i o n   o f   t h e   c u s t o m   r e s o u r c e ,   a n d   t h e   o l d   v e r s i o n   i s   r e m o v e d   f r o m   t h e   s t a t u s . s t o r e d V e r s i o n s   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n .   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   n a m e :   c r o n t a b s . e x a m p l e . c o m   s p e c :   g r o u p :   e x a m p l e . c o m   n a m e s :   p l u r a l :   c r o n t a b s   s i n g u l a r :   c r o n t a b   k i n d :   C r o n T a b   s c o p e :   N a m e s p a c e d   v e r s i o n s :   -   n a m e :   v 1 b e t a 1   #   T h i s   i n d i c a t e s   t h e   v 1 b e t a 1   v e r s i o n   o f   t h e   c u s t o m   r e s o u r c e   i s   n o   l o n g e r   s e r v e d .   #   A P I   r e q u e s t s   t o   t h i s   v e r s i o n   r e c e i v e   a   n o t   f o u n d   e r r o r   i n   t h e   s e r v e r   r e s p o n s e .   s e r v e d :   f a l s e   s c h e m a :   . . .   -   n a m e :   v 1   s e r v e d :   t r u e   #   T h e   n e w   s e r v e d   v e r s i o n   s h o u l d   b e   s e t   a s   t h e   s t o r a g e   v e r s i o n   s t o r a g e :   t r u e   s c h e m a :   . . .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19090"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   a b o v e   e x a m p l e   h a s   a   N o n e   c o n v e r s i o n   b e t w e e n   v e r s i o n s   w h i c h   o n l y   s e t s   t h e   a p i V e r s i o n   f i e l d   o n   c o n v e r s i o n   a n d   d o e s   n o t   c h a n g e   t h e   r e s t   o f   t h e   o b j e c t .   T h e   A P I   s e r v e r   a l s o   s u p p o r t s   w e b h o o k   c o n v e r s i o n s   t h a t   c a l l   a n   e x t e r n a l   s e r v i c e   i n   c a s e   a   c o n v e r s i o n   i s   r e q u i r e d .   F o r   e x a m p l e   w h e n :   c u s t o m   r e s o u r c e   i s   r e q u e s t e d   i n   a   d i f f e r e n t   v e r s i o n   t h a n   s t o r e d   v e r s i o n . W a t c h   i s   c r e a t e d   i n   o n e   v e r s i o n   b u t   t h e   c h a n g e d   o b j e c t   i s   s t o r e d   i n   a n o t h e r   v e r s i o n . c u s t o m   r e s o u r c e   P U T   r e q u e s t   i s   i n   a   d i f f e r e n t   v e r s i o n   t h a n   s t o r a g e   v e r s i o n .   T o   c o v e r   a l l   o f   t h e s e   c a s e s   a n d   t o   o p t i m i z e   c o n v e r s i o n   b y   t h e   A P I   s e r v e r ,   t h e   c o n v e r s i o n   r e q u e s t s   m a y   c o n t a i n   m u l t i p l e   o b j e c t s   i n   o r d e r   t o   m i n i m i z e   t h e   e x t e r n a l   c a l l s .   T h e   w e b h o o k   s h o u l d   p e r f o r m   t h e s e   c o n v e r s i o n s   i n d e p e n d e n t l y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19091"
  },
  {
    "question": "What is Write a conversion webhook server?",
    "answer": "P l e a s e   r e f e r   t o   t h e   i m p l e m e n t a t i o n   o f   t h e   c u s t o m   r e s o u r c e   c o n v e r s i o n   w e b h o o k   s e r v e r   t h a t   i s   v a l i d a t e d   i n   a   K u b e r n e t e s   e 2 e   t e s t .   T h e   w e b h o o k   h a n d l e s   t h e   C o n v e r s i o n R e v i e w   r e q u e s t s   s e n t   b y   t h e   A P I   s e r v e r s ,   a n d   s e n d s   b a c k   c o n v e r s i o n   r e s u l t s   w r a p p e d   i n   C o n v e r s i o n R e s p o n s e .   N o t e   t h a t   t h e   r e q u e s t   c o n t a i n s   a   l i s t   o f   c u s t o m   r e s o u r c e s   t h a t   n e e d   t o   b e   c o n v e r t e d   i n d e p e n d e n t l y   w i t h o u t   c h a n g i n g   t h e   o r d e r   o f   o b j e c t s .   T h e   e x a m p l e   s e r v e r   i s   o r g a n i z e d   i n   a   w a y   t o   b e   r e u s e d   f o r   o t h e r   c o n v e r s i o n s .   M o s t   o f   t h e   c o m m o n   c o d e   a r e   l o c a t e d   i n   t h e   f r a m e w o r k   f i l e   t h a t   l e a v e s   o n l y   o n e   f u n c t i o n   t o   b e   i m p l e m e n t e d   f o r   d i f f e r e n t   c o n v e r s i o n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19092"
  },
  {
    "question": "What is Permissible mutations?",
    "answer": "A   c o n v e r s i o n   w e b h o o k   m u s t   n o t   m u t a t e   a n y t h i n g   i n s i d e   o f   m e t a d a t a   o f   t h e   c o n v e r t e d   o b j e c t   o t h e r   t h a n   l a b e l s   a n d   a n n o t a t i o n s .   A t t e m p t e d   c h a n g e s   t o   n a m e ,   U I D   a n d   n a m e s p a c e   a r e   r e j e c t e d   a n d   f a i l   t h e   r e q u e s t   w h i c h   c a u s e d   t h e   c o n v e r s i o n .   A l l   o t h e r   c h a n g e s   a r e   i g n o r e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19093"
  },
  {
    "question": "What is Deploy the conversion webhook service?",
    "answer": "D o c u m e n t a t i o n   f o r   d e p l o y i n g   t h e   c o n v e r s i o n   w e b h o o k   i s   t h e   s a m e   a s   f o r   t h e   a d m i s s i o n   w e b h o o k   e x a m p l e   s e r v i c e .   T h e   a s s u m p t i o n   f o r   n e x t   s e c t i o n s   i s   t h a t   t h e   c o n v e r s i o n   w e b h o o k   s e r v e r   i s   d e p l o y e d   t o   a   s e r v i c e   n a m e d   e x a m p l e - c o n v e r s i o n - w e b h o o k - s e r v e r   i n   d e f a u l t   n a m e s p a c e   a n d   s e r v i n g   t r a f f i c   o n   p a t h   / c r d c o n v e r t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19094"
  },
  {
    "question": "What is Configure CustomResourceDefinition to use conversion webhooks?",
    "answer": "T h e   N o n e   c o n v e r s i o n   e x a m p l e   c a n   b e   e x t e n d e d   t o   u s e   t h e   c o n v e r s i o n   w e b h o o k   b y   m o d i f y i n g   c o n v e r s i o n   s e c t i o n   o f   t h e   s p e c :   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   m e t a d a t a :   #   n a m e   m u s t   m a t c h   t h e   s p e c   f i e l d s   b e l o w ,   a n d   b e   i n   t h e   f o r m :   < p l u r a l > . < g r o u p >   n a m e :   c r o n t a b s . e x a m p l e . c o m   s p e c :   #   g r o u p   n a m e   t o   u s e   f o r   R E S T   A P I :   / a p i s / < g r o u p > / < v e r s i o n >   g r o u p :   e x a m p l e . c o m   #   l i s t   o f   v e r s i o n s   s u p p o r t e d   b y   t h i s   C u s t o m R e s o u r c e D e f i n i t i o n   v e r s i o n s :   -   n a m e :   v 1 b e t a 1   #   E a c h   v e r s i o n   c a n   b e   e n a b l e d / d i s a b l e d   b y   S e r v e d   f l a g .   s e r v e d :   t r u e   #   O n e   a n d   o n l y   o n e   v e r s i o n   m u s t   b e   m a r k e d   a s   t h e   s t o r a g e   v e r s i o n .   s t o r a g e :   t r u e   #   E a c h   v e r s i o n   c a n   d e f i n e   i t s   o w n   s c h e m a   w h e n   t h e r e   i s   n o   t o p - l e v e l   #   s c h e m a   i s   d e f i n e d .   s c h e m a :   o p e n A P I V 3 S c h e m a :   t y p e :   o b j e c t   p r o p e r t i e s :   h o s t P o r t :   t y p e :   s t r i n g   -   n a m e :   v 1   s e r v e d :   t r u e   s t o r a g e :   f a l s e   s c h e m a :   o p e n A P I V 3 S c h e m a :   t y p e :   o b j e c t   p r o p e r t i e s :   h o s t :   t y p e :   s t r i n g   p o r t :   t y p e :   s t r i n g   c o n v e r s i o n :   #   t h e   W e b h o o k   s t r a t e g y   i n s t r u c t s   t h e   A P I   s e r v e r   t o   c a l l   a n   e x t e r n a l   w e b h o o k   f o r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19095"
  },
  {
    "question": "What is Contacting the webhook?",
    "answer": "O n c e   t h e   A P I   s e r v e r   h a s   d e t e r m i n e d   a   r e q u e s t   s h o u l d   b e   s e n t   t o   a   c o n v e r s i o n   w e b h o o k ,   i t   n e e d s   t o   k n o w   h o w   t o   c o n t a c t   t h e   w e b h o o k .   T h i s   i s   s p e c i f i e d   i n   t h e   w e b h o o k C l i e n t C o n f i g   s t a n z a   o f   t h e   w e b h o o k   c o n f i g u r a t i o n .   C o n v e r s i o n   w e b h o o k s   c a n   e i t h e r   b e   c a l l e d   v i a   a   U R L   o r   a   s e r v i c e   r e f e r e n c e ,   a n d   c a n   o p t i o n a l l y   i n c l u d e   a   c u s t o m   C A   b u n d l e   t o   u s e   t o   v e r i f y   t h e   T L S   c o n n e c t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19096"
  },
  {
    "question": "What is URL?",
    "answer": "u r l   g i v e s   t h e   l o c a t i o n   o f   t h e   w e b h o o k ,   i n   s t a n d a r d   U R L   f o r m   ( s c h e m e : / / h o s t : p o r t / p a t h ) .   T h e   h o s t   s h o u l d   n o t   r e f e r   t o   a   s e r v i c e   r u n n i n g   i n   t h e   c l u s t e r ;   u s e   a   s e r v i c e   r e f e r e n c e   b y   s p e c i f y i n g   t h e   s e r v i c e   f i e l d   i n s t e a d .   T h e   h o s t   m i g h t   b e   r e s o l v e d   v i a   e x t e r n a l   D N S   i n   s o m e   a p i s e r v e r s   ( i . e . ,   k u b e - a p i s e r v e r   c a n n o t   r e s o l v e   i n - c l u s t e r   D N S   a s   t h a t   w o u l d   b e   a   l a y e r i n g   v i o l a t i o n ) .   h o s t   m a y   a l s o   b e   a n   I P   a d d r e s s .   P l e a s e   n o t e   t h a t   u s i n g   l o c a l h o s t   o r   1 2 7 . 0 . 0 . 1   a s   a   h o s t   i s   r i s k y   u n l e s s   y o u   t a k e   g r e a t   c a r e   t o   r u n   t h i s   w e b h o o k   o n   a l l   h o s t s   w h i c h   r u n   a n   a p i s e r v e r   w h i c h   m i g h t   n e e d   t o   m a k e   c a l l s   t o   t h i s   w e b h o o k .   S u c h   i n s t a l l a t i o n s   a r e   l i k e l y   t o   b e   n o n - p o r t a b l e   o r   n o t   r e a d i l y   r u n   i n   a   n e w   c l u s t e r .   T h e   s c h e m e   m u s t   b e   \" h t t p s \" ;   t h e   U R L   m u s t   b e g i n   w i t h   \" h t t p s : / / \" .   A t t e m p t i n g   t o   u s e   a   u s e r   o r   b a s i c   a u t h   ( f o r   e x a m p l e   \" u s e r : p a s s w o r d @ \" )   i s   n o t   a l l o w e d .   F r a g m e n t s   ( \" # . . . \" )   a n d   q u e r y   p a r a m e t e r s   ( \" ? . . . \" )   a r e   a l s o   n o t   a l l o w e d .   H e r e   i s   a n   e x a m p l e   o f   a   c o n v e r s i o n   w e b h o o k   c o n f i g u r e d   t o   c a l l   a   U R L   ( a n d   e x p e c t s   t h e   T L S   c e r t i f ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19097"
  },
  {
    "question": "What is Service Reference?",
    "answer": "T h e   s e r v i c e   s t a n z a   i n s i d e   w e b h o o k C l i e n t C o n f i g   i s   a   r e f e r e n c e   t o   t h e   s e r v i c e   f o r   a   c o n v e r s i o n   w e b h o o k .   I f   t h e   w e b h o o k   i s   r u n n i n g   w i t h i n   t h e   c l u s t e r ,   t h e n   y o u   s h o u l d   u s e   s e r v i c e   i n s t e a d   o f   u r l .   T h e   s e r v i c e   n a m e s p a c e   a n d   n a m e   a r e   r e q u i r e d .   T h e   p o r t   i s   o p t i o n a l   a n d   d e f a u l t s   t o   4 4 3 .   T h e   p a t h   i s   o p t i o n a l   a n d   d e f a u l t s   t o   \" / \" .   H e r e   i s   a n   e x a m p l e   o f   a   w e b h o o k   t h a t   i s   c o n f i g u r e d   t o   c a l l   a   s e r v i c e   o n   p o r t   \" 1 2 3 4 \"   a t   t h e   s u b p a t h   \" / m y - p a t h \" ,   a n d   t o   v e r i f y   t h e   T L S   c o n n e c t i o n   a g a i n s t   t h e   S e r v e r N a m e   m y - s e r v i c e - n a m e . m y - s e r v i c e - n a m e s p a c e . s v c   u s i n g   a   c u s t o m   C A   b u n d l e .   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   . . .   s p e c :   . . .   c o n v e r s i o n :   s t r a t e g y :   W e b h o o k   w e b h o o k :   c l i e n t C o n f i g :   s e r v i c e :   n a m e s p a c e :   m y - s e r v i c e - n a m e s p a c e   n a m e :   m y - s e r v i c e - n a m e   p a t h :   / m y - p a t h   p o r t :   1 2 3 4   c a B u n d l e :   \" C i 0 t L S 0 t Q k . . . < b a s e 6 4 - e n c o d e d   P E M   b u n d l e > . . . t L S 0 K \"   . . .   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   . . .   s p e c :   . . .   c o n v e r s i o n :   s t r a t e g y :   W e b h o o k   w e b h o o k :   c l i e n t C o n f i g :   s e r v i c e :   n a m e s p a c e :   m y - ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19098"
  },
  {
    "question": "What is Request?",
    "answer": "W e b h o o k s   a r e   s e n t   a   P O S T   r e q u e s t ,   w i t h   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n ,   w i t h   a   C o n v e r s i o n R e v i e w   A P I   o b j e c t   i n   t h e   a p i e x t e n s i o n s . k 8 s . i o   A P I   g r o u p   s e r i a l i z e d   t o   J S O N   a s   t h e   b o d y .   W e b h o o k s   c a n   s p e c i f y   w h a t   v e r s i o n s   o f   C o n v e r s i o n R e v i e w   o b j e c t s   t h e y   a c c e p t   w i t h   t h e   c o n v e r s i o n R e v i e w V e r s i o n s   f i e l d   i n   t h e i r   C u s t o m R e s o u r c e D e f i n i t i o n :   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   . . .   s p e c :   . . .   c o n v e r s i o n :   s t r a t e g y :   W e b h o o k   w e b h o o k :   c o n v e r s i o n R e v i e w V e r s i o n s :   [ \" v 1 \" ,   \" v 1 b e t a 1 \" ]   . . .   c o n v e r s i o n R e v i e w V e r s i o n s   i s   a   r e q u i r e d   f i e l d   w h e n   c r e a t i n g   a p i e x t e n s i o n s . k 8 s . i o / v 1   c u s t o m   r e s o u r c e   d e f i n i t i o n s .   W e b h o o k s   a r e   r e q u i r e d   t o   s u p p o r t   a t   l e a s t   o n e   C o n v e r s i o n R e v i e w   v e r s i o n   u n d e r s t o o d   b y   t h e   c u r r e n t   a n d   p r e v i o u s   A P I   s e r v e r .   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   . . .   s p e c :   . . .   c o n v e r s i o n :   s t r a t e g y :   W e b h o o k   w e b h o o k :   c o n v e r s i o n R e v i e w V e r s i o n s :   [ \" v 1 \" ,   \" v 1 b e t a 1 \" ]   . . .   c o n v e r s i o n R e v i e w V e r s i o n s   i s   a   r e q u i r e d   f i e l d   w h e n   c r e a t i n g   a p i e x t e n s i o n s . k 8 s . i o / v 1   c u s t o m   r e s o u r c e   d e f i n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19099"
  },
  {
    "question": "What is Response?",
    "answer": "W e b h o o k s   r e s p o n d   w i t h   a   2 0 0   H T T P   s t a t u s   c o d e ,   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n ,   a n d   a   b o d y   c o n t a i n i n g   a   C o n v e r s i o n R e v i e w   o b j e c t   ( i n   t h e   s a m e   v e r s i o n   t h e y   w e r e   s e n t ) ,   w i t h   t h e   r e s p o n s e   s t a n z a   p o p u l a t e d ,   s e r i a l i z e d   t o   J S O N .   I f   c o n v e r s i o n   s u c c e e d s ,   a   w e b h o o k   s h o u l d   r e t u r n   a   r e s p o n s e   s t a n z a   c o n t a i n i n g   t h e   f o l l o w i n g   f i e l d s :   u i d ,   c o p i e d   f r o m   t h e   r e q u e s t . u i d   s e n t   t o   t h e   w e b h o o k r e s u l t ,   s e t   t o   { \" s t a t u s \" : \" S u c c e s s \" } c o n v e r t e d O b j e c t s ,   c o n t a i n i n g   a l l   o f   t h e   o b j e c t s   f r o m   r e q u e s t . o b j e c t s ,   c o n v e r t e d   t o   r e q u e s t . d e s i r e d A P I V e r s i o n   E x a m p l e   o f   a   m i n i m a l   s u c c e s s f u l   r e s p o n s e   f r o m   a   w e b h o o k :   {   \" a p i V e r s i o n \" :   \" a p i e x t e n s i o n s . k 8 s . i o / v 1 \" ,   \" k i n d \" :   \" C o n v e r s i o n R e v i e w \" ,   \" r e s p o n s e \" :   {   #   m u s t   m a t c h   < r e q u e s t . u i d >   \" u i d \" :   \" 7 0 5 a b 4 f 5 - 6 3 9 3 - 1 1 e 8 - b 7 c c - 4 2 0 1 0 a 8 0 0 0 0 2 \" ,   \" r e s u l t \" :   {   \" s t a t u s \" :   \" S u c c e s s \"   } ,   #   O b j e c t s   m u s t   m a t c h   t h e   o r d e r   o f   r e q u e s t . o b j e c t s ,   a n d   h a v e   a p i V e r s i o n   s e t   t o   < r e q u e s t . d e s i r e d A P I V e r s i o n > .   #   k i n d ,   m e t a d a t a . u i d ,   m e t a d a t a . n a m e ,   a n d   m e t a d a t a . n a m e s p a c e   f i e l d s   m u s t   n o t   b e   c h a n g e d   b y   t h e   w e b h o o k .   #   m e t a d a t a . l a b e l s   a n d   m e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19100"
  },
  {
    "question": "What is Warning:?",
    "answer": "E x a m p l e   o f   a   r e s p o n s e   f r o m   a   w e b h o o k   i n d i c a t i n g   a   c o n v e r s i o n   r e q u e s t   f a i l e d ,   w i t h   a n   o p t i o n a l   m e s s a g e : {   \" a p i V e r s i o n \" :   \" a p i e x t e n s i o n s . k 8 s . i o / v 1 \" ,   \" k i n d \" :   \" C o n v e r s i o n R e v i e w \" ,   \" r e s p o n s e \" :   {   \" u i d \" :   \" < v a l u e   f r o m   r e q u e s t . u i d > \" ,   \" r e s u l t \" :   {   \" s t a t u s \" :   \" F a i l e d \" ,   \" m e s s a g e \" :   \" h o s t P o r t   c o u l d   n o t   b e   p a r s e d   i n t o   a   s e p a r a t e   h o s t   a n d   p o r t \"   }   }   }   {   #   D e p r e c a t e d   i n   v 1 . 1 6   i n   f a v o r   o f   a p i e x t e n s i o n s . k 8 s . i o / v 1   \" a p i V e r s i o n \" :   \" a p i e x t e n s i o n s . k 8 s . i o / v 1 b e t a 1 \" ,   \" k i n d \" :   \" C o n v e r s i o n R e v i e w \" ,   \" r e s p o n s e \" :   {   \" u i d \" :   \" < v a l u e   f r o m   r e q u e s t . u i d > \" ,   \" r e s u l t \" :   {   \" s t a t u s \" :   \" F a i l e d \" ,   \" m e s s a g e \" :   \" h o s t P o r t   c o u l d   n o t   b e   p a r s e d   i n t o   a   s e p a r a t e   h o s t   a n d   p o r t \"   }   }   }   {   \" a p i V e r s i o n \" :   \" a p i e x t e n s i o n s . k 8 s . i o / v 1 \" ,   \" k i n d \" :   \" C o n v e r s i o n R e v i e w \" ,   \" r e s p o n s e \" :   {   \" u i d \" :   \" < v a l u e   f r o m   r e q u e s t . u i d > \" ,   \" r e s u l t \" :   {   \" s t a t u s \" :   \" F a i l e d \" ,   \" m e s s a g e \" :   \" h o s t P o r t   c o u l d   n o t   b e   p a r s e d   i n t o   a   s e p a r a t e   h o s t   a n d   p o r t \"   }   }   }   {   \" a p i V e r s i o n \" :   \" a p i e x t e n s i o n s . k 8 s . i o / v 1 \" ,   \" k i n d \" :   \" C o n v e r s i o n R e v i e w \" ,   \" r e s p o n s e \" :   {   \" u i d \" :   \" < v a l u e   f r o m   r e q u e s t . u i d > \" ,   \" r e s u l t \" :   {   \" s t a t u s \" :   \" F a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19101"
  },
  {
    "question": "What is Writing, reading, and updating versioned CustomResourceDefinition objects?",
    "answer": "W h e n   a n   o b j e c t   i s   w r i t t e n ,   i t   i s   s t o r e d   a t   t h e   v e r s i o n   d e s i g n a t e d   a s   t h e   s t o r a g e   v e r s i o n   a t   t h e   t i m e   o f   t h e   w r i t e .   I f   t h e   s t o r a g e   v e r s i o n   c h a n g e s ,   e x i s t i n g   o b j e c t s   a r e   n e v e r   c o n v e r t e d   a u t o m a t i c a l l y .   H o w e v e r ,   n e w l y - c r e a t e d   o r   u p d a t e d   o b j e c t s   a r e   w r i t t e n   a t   t h e   n e w   s t o r a g e   v e r s i o n .   I t   i s   p o s s i b l e   f o r   a n   o b j e c t   t o   h a v e   b e e n   w r i t t e n   a t   a   v e r s i o n   t h a t   i s   n o   l o n g e r   s e r v e d .   W h e n   y o u   r e a d   a n   o b j e c t ,   y o u   s p e c i f y   t h e   v e r s i o n   a s   p a r t   o f   t h e   p a t h .   Y o u   c a n   r e q u e s t   a n   o b j e c t   a t   a n y   v e r s i o n   t h a t   i s   c u r r e n t l y   s e r v e d .   I f   y o u   s p e c i f y   a   v e r s i o n   t h a t   i s   d i f f e r e n t   f r o m   t h e   o b j e c t ' s   s t o r e d   v e r s i o n ,   K u b e r n e t e s   r e t u r n s   t h e   o b j e c t   t o   y o u   a t   t h e   v e r s i o n   y o u   r e q u e s t e d ,   b u t   t h e   s t o r e d   o b j e c t   i s   n o t   c h a n g e d   o n   d i s k .   W h a t   h a p p e n s   t o   t h e   o b j e c t   t h a t   i s   b e i n g   r e t u r n e d   w h i l e   s e r v i n g   t h e   r e a d   r e q u e s t   d e p e n d s   o n   w h a t   i s   s p e c i f i e d   i n   t h e   C R D ' s   s p e c . c o n v e r s i o n :   i f   t h e   d e f a u l t   s t r a t e g y   v a l u e   N o n e   i s   s p e c i f i e d ,   t h e   o n l y   m o d i f i c a t i o n s   t o   t h e   o b j e c t   a r e   c h a n g i n g   t h e   a p i V e r s i o n   s t r i n g   a n d   p e r h a p s   p r u n i n g   u n k n o w n   f i e l d s   ( d e p e n d ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19102"
  },
  {
    "question": "What is Previous storage versions?",
    "answer": "T h e   A P I   s e r v e r   r e c o r d s   e a c h   v e r s i o n   w h i c h   h a s   e v e r   b e e n   m a r k e d   a s   t h e   s t o r a g e   v e r s i o n   i n   t h e   s t a t u s   f i e l d   s t o r e d V e r s i o n s .   O b j e c t s   m a y   h a v e   b e e n   s t o r e d   a t   a n y   v e r s i o n   t h a t   h a s   e v e r   b e e n   d e s i g n a t e d   a s   a   s t o r a g e   v e r s i o n .   N o   o b j e c t s   c a n   e x i s t   i n   s t o r a g e   a t   a   v e r s i o n   t h a t   h a s   n e v e r   b e e n   a   s t o r a g e   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19103"
  },
  {
    "question": "What is Upgrade existing objects to a new stored version?",
    "answer": "W h e n   d e p r e c a t i n g   v e r s i o n s   a n d   d r o p p i n g   s u p p o r t ,   s e l e c t   a   s t o r a g e   u p g r a d e   p r o c e d u r e .   O p t i o n   1 :   U s e   t h e   S t o r a g e   V e r s i o n   M i g r a t o r   R u n   t h e   s t o r a g e   V e r s i o n   m i g r a t o r R e m o v e   t h e   o l d   v e r s i o n   f r o m   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   s t a t u s . s t o r e d V e r s i o n s   f i e l d .   O p t i o n   2 :   M a n u a l l y   u p g r a d e   t h e   e x i s t i n g   o b j e c t s   t o   a   n e w   s t o r e d   v e r s i o n   T h e   f o l l o w i n g   i s   a n   e x a m p l e   p r o c e d u r e   t o   u p g r a d e   f r o m   v 1 b e t a 1   t o   v 1 .   S e t   v 1   a s   t h e   s t o r a g e   i n   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   f i l e   a n d   a p p l y   i t   u s i n g   k u b e c t l .   T h e   s t o r e d V e r s i o n s   i s   n o w   v 1 b e t a 1 ,   v 1 . W r i t e   a n   u p g r a d e   p r o c e d u r e   t o   l i s t   a l l   e x i s t i n g   o b j e c t s   a n d   w r i t e   t h e m   w i t h   t h e   s a m e   c o n t e n t .   T h i s   f o r c e s   t h e   b a c k e n d   t o   w r i t e   o b j e c t s   i n   t h e   c u r r e n t   s t o r a g e   v e r s i o n ,   w h i c h   i s   v 1 . R e m o v e   v 1 b e t a 1   f r o m   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   s t a t u s . s t o r e d V e r s i o n s   f i e l d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19104"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e   i s   a n   e x a m p l e   o f   h o w   t o   p a t c h   t h e   s t a t u s   s u b r e s o u r c e   f o r   a   C R D   o b j e c t   u s i n g   k u b e c t l :   k u b e c t l   p a t c h   c u s t o m r e s o u r c e d e f i n i t i o n s   < C R D _ N a m e >   - - s u b r e s o u r c e = ' s t a t u s '   - - t y p e = ' m e r g e '   - p   ' { \" s t a t u s \" : { \" s t o r e d V e r s i o n s \" : [ \" v 1 \" ] } } '",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19105"
  },
  {
    "question": "What is 11.3 - Set up an Extension API Server?",
    "answer": "S e t t i n g   u p   a n   e x t e n s i o n   A P I   s e r v e r   t o   w o r k   w i t h   t h e   a g g r e g a t i o n   l a y e r   a l l o w s   t h e   K u b e r n e t e s   a p i s e r v e r   t o   b e   e x t e n d e d   w i t h   a d d i t i o n a l   A P I s ,   w h i c h   a r e   n o t   p a r t   o f   t h e   c o r e   K u b e r n e t e s   A P I s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_19106"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   m u s t   c o n f i g u r e   t h e   a g g r e g a t i o n   l a y e r   a n d   e n a b l e   t h e   a p i s e r ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19107"
  },
  {
    "question": "What is Set up an extension api-server to work with the aggregation layer?",
    "answer": "T h e   f o l l o w i n g   s t e p s   d e s c r i b e   h o w   t o   s e t   u p   a n   e x t e n s i o n - a p i s e r v e r   a t   a   h i g h   l e v e l .   T h e s e   s t e p s   a p p l y   r e g a r d l e s s   i f   y o u ' r e   u s i n g   Y A M L   c o n f i g s   o r   u s i n g   A P I s .   A n   a t t e m p t   i s   m a d e   t o   s p e c i f i c a l l y   i d e n t i f y   a n y   d i f f e r e n c e s   b e t w e e n   t h e   t w o .   F o r   a   c o n c r e t e   e x a m p l e   o f   h o w   t h e y   c a n   b e   i m p l e m e n t e d   u s i n g   Y A M L   c o n f i g s ,   y o u   c a n   l o o k   a t   t h e   s a m p l e - a p i s e r v e r   i n   t h e   K u b e r n e t e s   r e p o .   A l t e r n a t i v e l y ,   y o u   c a n   u s e   a n   e x i s t i n g   3 r d   p a r t y   s o l u t i o n ,   s u c h   a s   a p i s e r v e r - b u i l d e r ,   w h i c h   s h o u l d   g e n e r a t e   a   s k e l e t o n   a n d   a u t o m a t e   a l l   o f   t h e   f o l l o w i n g   s t e p s   f o r   y o u .   M a k e   s u r e   t h e   A P I S e r v i c e   A P I   i s   e n a b l e d   ( c h e c k   - - r u n t i m e - c o n f i g ) .   I t   s h o u l d   b e   o n   b y   d e f a u l t ,   u n l e s s   i t ' s   b e e n   d e l i b e r a t e l y   t u r n e d   o f f   i n   y o u r   c l u s t e r . Y o u   m a y   n e e d   t o   m a k e   a n   R B A C   r u l e   a l l o w i n g   y o u   t o   a d d   A P I S e r v i c e   o b j e c t s ,   o r   g e t   y o u r   c l u s t e r   a d m i n i s t r a t o r   t o   m a k e   o n e .   ( S i n c e   A P I   e x t e n s i o n s   a f f e c t   t h e   e n t i r e   c l u s t e r ,   i t   i s   n o t   r e c o m m e n d e d   t o   d o   t e s t i n g / d e v e l o p m e n t / d e b u g   o f   a n   A P I   e x t e n s i o n   i n   a   l i v e   c l u s t e r . ) C r e a t e   t h e   K u b e r n e t e s   n a m e s p a c e   y o u   w a n t   t o   r u n   y o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19108"
  },
  {
    "question": "What is What's next?",
    "answer": "W a l k   t h r o u g h   t h e   s t e p s   t o   c o n f i g u r e   t h e   A P I   a g g r e g a t i o n   l a y e r   a n d   e n a b l e   t h e   a p i s e r v e r   f l a g s . F o r   a   h i g h   l e v e l   o v e r v i e w ,   s e e   E x t e n d i n g   t h e   K u b e r n e t e s   A P I   w i t h   t h e   a g g r e g a t i o n   l a y e r . L e a r n   h o w   t o   E x t e n d   t h e   K u b e r n e t e s   A P I   u s i n g   C u s t o m   R e s o u r c e   D e f i n i t i o n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19109"
  },
  {
    "question": "What is 11.4 - Configure Multiple Schedulers?",
    "answer": "K u b e r n e t e s   s h i p s   w i t h   a   d e f a u l t   s c h e d u l e r   t h a t   i s   d e s c r i b e d   h e r e .   I f   t h e   d e f a u l t   s c h e d u l e r   d o e s   n o t   s u i t   y o u r   n e e d s   y o u   c a n   i m p l e m e n t   y o u r   o w n   s c h e d u l e r .   M o r e o v e r ,   y o u   c a n   e v e n   r u n   m u l t i p l e   s c h e d u l e r s   s i m u l t a n e o u s l y   a l o n g s i d e   t h e   d e f a u l t   s c h e d u l e r   a n d   i n s t r u c t   K u b e r n e t e s   w h a t   s c h e d u l e r   t o   u s e   f o r   e a c h   o f   y o u r   p o d s .   L e t ' s   l e a r n   h o w   t o   r u n   m u l t i p l e   s c h e d u l e r s   i n   K u b e r n e t e s   w i t h   a n   e x a m p l e .   A   d e t a i l e d   d e s c r i p t i o n   o f   h o w   t o   i m p l e m e n t   a   s c h e d u l e r   i s   o u t s i d e   t h e   s c o p e   o f   t h i s   d o c u m e n t .   P l e a s e   r e f e r   t o   t h e   k u b e - s c h e d u l e r   i m p l e m e n t a t i o n   i n   p k g / s c h e d u l e r   i n   t h e   K u b e r n e t e s   s o u r c e   d i r e c t o r y   f o r   a   c a n o n i c a l   e x a m p l e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_19110"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19111"
  },
  {
    "question": "What is Package the scheduler?",
    "answer": "P a c k a g e   y o u r   s c h e d u l e r   b i n a r y   i n t o   a   c o n t a i n e r   i m a g e .   F o r   t h e   p u r p o s e s   o f   t h i s   e x a m p l e ,   y o u   c a n   u s e   t h e   d e f a u l t   s c h e d u l e r   ( k u b e - s c h e d u l e r )   a s   y o u r   s e c o n d   s c h e d u l e r .   C l o n e   t h e   K u b e r n e t e s   s o u r c e   c o d e   f r o m   G i t H u b   a n d   b u i l d   t h e   s o u r c e .   g i t   c l o n e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k u b e r n e t e s . g i t   c d   k u b e r n e t e s   m a k e   C r e a t e   a   c o n t a i n e r   i m a g e   c o n t a i n i n g   t h e   k u b e - s c h e d u l e r   b i n a r y .   H e r e   i s   t h e   D o c k e r f i l e   t o   b u i l d   t h e   i m a g e :   F R O M   b u s y b o x   A D D   . / _ o u t p u t / l o c a l / b i n / l i n u x / a m d 6 4 / k u b e - s c h e d u l e r   / u s r / l o c a l / b i n / k u b e - s c h e d u l e r   S a v e   t h e   f i l e   a s   D o c k e r f i l e ,   b u i l d   t h e   i m a g e   a n d   p u s h   i t   t o   a   r e g i s t r y .   T h i s   e x a m p l e   p u s h e s   t h e   i m a g e   t o   G o o g l e   C o n t a i n e r   R e g i s t r y   ( G C R ) .   F o r   m o r e   d e t a i l s ,   p l e a s e   r e a d   t h e   G C R   d o c u m e n t a t i o n .   A l t e r n a t i v e l y   y o u   c a n   a l s o   u s e   t h e   d o c k e r   h u b .   F o r   m o r e   d e t a i l s   r e f e r   t o   t h e   d o c k e r   h u b   d o c u m e n t a t i o n .   d o c k e r   b u i l d   - t   g c r . i o / m y - g c p - p r o j e c t / m y - k u b e - s c h e d u l e r : 1 . 0   .   #   T h e   i m a g e   n a m e   a n d   t h e   r e p o s i t o r y   g c l o u d   d o c k e r   - -   p u s h   g c r . i o / m y - g c p - p r o j e c t / m y - k u b e - s c h e d u l e r : 1 . 0   #   u s e d   i n   h e r e   i s   j u s t   a n   e x a m p l e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19112"
  },
  {
    "question": "What is Define a Kubernetes Deployment for the scheduler?",
    "answer": "N o w   t h a t   y o u   h a v e   y o u r   s c h e d u l e r   i n   a   c o n t a i n e r   i m a g e ,   c r e a t e   a   p o d   c o n f i g u r a t i o n   f o r   i t   a n d   r u n   i t   i n   y o u r   K u b e r n e t e s   c l u s t e r .   B u t   i n s t e a d   o f   c r e a t i n g   a   p o d   d i r e c t l y   i n   t h e   c l u s t e r ,   y o u   c a n   u s e   a   D e p l o y m e n t   f o r   t h i s   e x a m p l e .   A   D e p l o y m e n t   m a n a g e s   a   R e p l i c a   S e t   w h i c h   i n   t u r n   m a n a g e s   t h e   p o d s ,   t h e r e b y   m a k i n g   t h e   s c h e d u l e r   r e s i l i e n t   t o   f a i l u r e s .   H e r e   i s   t h e   d e p l o y m e n t   c o n f i g .   S a v e   i t   a s   m y - s c h e d u l e r . y a m l :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   n a m e :   m y - s c h e d u l e r   n a m e s p a c e :   k u b e - s y s t e m   - - -   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e B i n d i n g   m e t a d a t a :   n a m e :   m y - s c h e d u l e r - a s - k u b e - s c h e d u l e r   s u b j e c t s :   -   k i n d :   S e r v i c e A c c o u n t   n a m e :   m y - s c h e d u l e r   n a m e s p a c e :   k u b e - s y s t e m   r o l e R e f :   k i n d :   C l u s t e r R o l e   n a m e :   s y s t e m : k u b e - s c h e d u l e r   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o   - - -   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e B i n d i n g   m e t a d a t a :   n a m e :   m y - s c h e d u l e r - a s - v o l u m e - s c h e d u l e r   s u b j e c t s :   -   k i n d :   S e r v i c e A c c o u n t   n a m e :   m y - s c h e d u l e r   n a m e s p a c e :   k u b e - s y s t e m   r o l e R e f :   k i n d :   C l u s t e r R o l e   n a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19113"
  },
  {
    "question": "What is Note:?",
    "answer": "A l s o ,   n o t e   t h a t   y o u   c r e a t e   a   d e d i c a t e d   s e r v i c e   a c c o u n t   m y - s c h e d u l e r   a n d   b i n d   t h e   C l u s t e r R o l e   s y s t e m : k u b e - s c h e d u l e r   t o   i t   s o   t h a t   i t   c a n   a c q u i r e   t h e   s a m e   p r i v i l e g e s   a s   k u b e - s c h e d u l e r .   P l e a s e   s e e   t h e   k u b e - s c h e d u l e r   d o c u m e n t a t i o n   f o r   d e t a i l e d   d e s c r i p t i o n   o f   o t h e r   c o m m a n d   l i n e   a r g u m e n t s   a n d   S c h e d u l e r   C o n f i g u r a t i o n   r e f e r e n c e   f o r   d e t a i l e d   d e s c r i p t i o n   o f   o t h e r   c u s t o m i z a b l e   k u b e - s c h e d u l e r   c o n f i g u r a t i o n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19114"
  },
  {
    "question": "What is Run the second scheduler in the cluster?",
    "answer": "I n   o r d e r   t o   r u n   y o u r   s c h e d u l e r   i n   a   K u b e r n e t e s   c l u s t e r ,   c r e a t e   t h e   d e p l o y m e n t   s p e c i f i e d   i n   t h e   c o n f i g   a b o v e   i n   a   K u b e r n e t e s   c l u s t e r :   k u b e c t l   c r e a t e   - f   m y - s c h e d u l e r . y a m l   V e r i f y   t h a t   t h e   s c h e d u l e r   p o d   i s   r u n n i n g :   k u b e c t l   g e t   p o d s   - - n a m e s p a c e = k u b e - s y s t e m   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   . . . .   m y - s c h e d u l e r - l n f 4 s - 4 7 4 4 f   1 / 1   R u n n i n g   0   2 m   . . .   Y o u   s h o u l d   s e e   a   \" R u n n i n g \"   m y - s c h e d u l e r   p o d ,   i n   a d d i t i o n   t o   t h e   d e f a u l t   k u b e - s c h e d u l e r   p o d   i n   t h i s   l i s t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19115"
  },
  {
    "question": "What is Enable leader election?",
    "answer": "T o   r u n   m u l t i p l e - s c h e d u l e r   w i t h   l e a d e r   e l e c t i o n   e n a b l e d ,   y o u   m u s t   d o   t h e   f o l l o w i n g :   U p d a t e   t h e   f o l l o w i n g   f i e l d s   f o r   t h e   K u b e S c h e d u l e r C o n f i g u r a t i o n   i n   t h e   m y - s c h e d u l e r - c o n f i g   C o n f i g M a p   i n   y o u r   Y A M L   f i l e :   l e a d e r E l e c t i o n . l e a d e r E l e c t   t o   t r u e l e a d e r E l e c t i o n . r e s o u r c e N a m e s p a c e   t o   < l o c k - o b j e c t - n a m e s p a c e > l e a d e r E l e c t i o n . r e s o u r c e N a m e   t o   < l o c k - o b j e c t - n a m e >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19116"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   R B A C   i s   e n a b l e d   o n   y o u r   c l u s t e r ,   y o u   m u s t   u p d a t e   t h e   s y s t e m : k u b e - s c h e d u l e r   c l u s t e r   r o l e .   A d d   y o u r   s c h e d u l e r   n a m e   t o   t h e   r e s o u r c e N a m e s   o f   t h e   r u l e   a p p l i e d   f o r   e n d p o i n t s   a n d   l e a s e s   r e s o u r c e s ,   a s   i n   t h e   f o l l o w i n g   e x a m p l e :   k u b e c t l   e d i t   c l u s t e r r o l e   s y s t e m : k u b e - s c h e d u l e r   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   a n n o t a t i o n s :   r b a c . a u t h o r i z a t i o n . k u b e r n e t e s . i o / a u t o u p d a t e :   \" t r u e \"   l a b e l s :   k u b e r n e t e s . i o / b o o t s t r a p p i n g :   r b a c - d e f a u l t s   n a m e :   s y s t e m : k u b e - s c h e d u l e r   r u l e s :   -   a p i G r o u p s :   -   c o o r d i n a t i o n . k 8 s . i o   r e s o u r c e s :   -   l e a s e s   v e r b s :   -   c r e a t e   -   a p i G r o u p s :   -   c o o r d i n a t i o n . k 8 s . i o   r e s o u r c e N a m e s :   -   k u b e - s c h e d u l e r   -   m y - s c h e d u l e r   r e s o u r c e s :   -   l e a s e s   v e r b s :   -   g e t   -   u p d a t e   -   a p i G r o u p s :   -   \" \"   r e s o u r c e N a m e s :   -   k u b e - s c h e d u l e r   -   m y - s c h e d u l e r   r e s o u r c e s :   -   e n d p o i n t s   v e r b s :   -   d e l e t e   -   g e t   -   p a t c h   -   u p d a t e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19117"
  },
  {
    "question": "What is Specify schedulers for pods?",
    "answer": "N o w   t h a t   y o u r   s e c o n d   s c h e d u l e r   i s   r u n n i n g ,   c r e a t e   s o m e   p o d s ,   a n d   d i r e c t   t h e m   t o   b e   s c h e d u l e d   b y   e i t h e r   t h e   d e f a u l t   s c h e d u l e r   o r   t h e   o n e   y o u   d e p l o y e d .   I n   o r d e r   t o   s c h e d u l e   a   g i v e n   p o d   u s i n g   a   s p e c i f i c   s c h e d u l e r ,   s p e c i f y   t h e   n a m e   o f   t h e   s c h e d u l e r   i n   t h a t   p o d   s p e c .   L e t ' s   l o o k   a t   t h r e e   e x a m p l e s .   P o d   s p e c   w i t h o u t   a n y   s c h e d u l e r   n a m e a d m i n / s c h e d / p o d 1 . y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n o - a n n o t a t i o n   l a b e l s :   n a m e :   m u l t i s c h e d u l e r - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   p o d - w i t h - n o - a n n o t a t i o n - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 8 W h e n   n o   s c h e d u l e r   n a m e   i s   s u p p l i e d ,   t h e   p o d   i s   a u t o m a t i c a l l y   s c h e d u l e d   u s i n g   t h e   d e f a u l t - s c h e d u l e r . S a v e   t h i s   f i l e   a s   p o d 1 . y a m l   a n d   s u b m i t   i t   t o   t h e   K u b e r n e t e s   c l u s t e r . k u b e c t l   c r e a t e   - f   p o d 1 . y a m l   P o d   s p e c   w i t h   d e f a u l t - s c h e d u l e r a d m i n / s c h e d / p o d 2 . y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   a n n o t a t i o n - d e f a u l t - s c h e d u l e r   l a b e l s :   n a m e :   m u l t i s c h e d u l e r - e x a m p l e   s p e c :   s c h e d u l e r N a m e :   d e f a u l t - s c h e d u l e r   c o n t a i n e r s :   -   n a m e :   p o d - w i t h - d e f a u l t - a n n o t a t i o n - c o n t a i n e r   i m a g e :   r e g i s t r y ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19118"
  },
  {
    "question": "What is Verifying that the pods were scheduled using the desired schedulers?",
    "answer": "I n   o r d e r   t o   m a k e   i t   e a s i e r   t o   w o r k   t h r o u g h   t h e s e   e x a m p l e s ,   w e   d i d   n o t   v e r i f y   t h a t   t h e   p o d s   w e r e   a c t u a l l y   s c h e d u l e d   u s i n g   t h e   d e s i r e d   s c h e d u l e r s .   W e   c a n   v e r i f y   t h a t   b y   c h a n g i n g   t h e   o r d e r   o f   p o d   a n d   d e p l o y m e n t   c o n f i g   s u b m i s s i o n s   a b o v e .   I f   w e   s u b m i t   a l l   t h e   p o d   c o n f i g s   t o   a   K u b e r n e t e s   c l u s t e r   b e f o r e   s u b m i t t i n g   t h e   s c h e d u l e r   d e p l o y m e n t   c o n f i g ,   w e   s e e   t h a t   t h e   p o d   a n n o t a t i o n - s e c o n d - s c h e d u l e r   r e m a i n s   i n   \" P e n d i n g \"   s t a t e   f o r e v e r   w h i l e   t h e   o t h e r   t w o   p o d s   g e t   s c h e d u l e d .   O n c e   w e   s u b m i t   t h e   s c h e d u l e r   d e p l o y m e n t   c o n f i g   a n d   o u r   n e w   s c h e d u l e r   s t a r t s   r u n n i n g ,   t h e   a n n o t a t i o n - s e c o n d - s c h e d u l e r   p o d   g e t s   s c h e d u l e d   a s   w e l l .   A l t e r n a t i v e l y ,   y o u   c a n   l o o k   a t   t h e   \" S c h e d u l e d \"   e n t r i e s   i n   t h e   e v e n t   l o g s   t o   v e r i f y   t h a t   t h e   p o d s   w e r e   s c h e d u l e d   b y   t h e   d e s i r e d   s c h e d u l e r s .   k u b e c t l   g e t   e v e n t s   Y o u   c a n   a l s o   u s e   a   c u s t o m   s c h e d u l e r   c o n f i g u r a t i o n   o r   a   c u s t o m   c o n t a i n e r   i m a g e   f o r   t h e   c l u s t e r ' s   m a i n   s c h e d u l e r   b y   m o d i f y i n g   i t s   s t a t i c   p o d   m a n i f e s t   o n   t h e   r e l e v a n t   c o n t r o l   p l a n e   n o d e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19119"
  },
  {
    "question": "What is 11.5 - Use an HTTP Proxy to Access the Kubernetes API?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   a n   H T T P   p r o x y   t o   a c c e s s   t h e   K u b e r n e t e s   A P I .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_19120"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a n   a p p l i c a t i o n   r u n n i n g   i n   y o u r   c l u s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19121"
  },
  {
    "question": "What is Using kubectl to start a proxy server?",
    "answer": "T h i s   c o m m a n d   s t a r t s   a   p r o x y   t o   t h e   K u b e r n e t e s   A P I   s e r v e r :   k u b e c t l   p r o x y   - - p o r t = 8 0 8 0",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19122"
  },
  {
    "question": "What is Exploring the Kubernetes API?",
    "answer": "W h e n   t h e   p r o x y   s e r v e r   i s   r u n n i n g ,   y o u   c a n   e x p l o r e   t h e   A P I   u s i n g   c u r l ,   w g e t ,   o r   a   b r o w s e r .   G e t   t h e   A P I   v e r s i o n s :   c u r l   h t t p : / / l o c a l h o s t : 8 0 8 0 / a p i /   T h e   o u t p u t   s h o u l d   l o o k   s i m i l a r   t o   t h i s :   {   \" k i n d \" :   \" A P I V e r s i o n s \" ,   \" v e r s i o n s \" :   [   \" v 1 \"   ] ,   \" s e r v e r A d d r e s s B y C l i e n t C I D R s \" :   [   {   \" c l i e n t C I D R \" :   \" 0 . 0 . 0 . 0 / 0 \" ,   \" s e r v e r A d d r e s s \" :   \" 1 0 . 0 . 2 . 1 5 : 8 4 4 3 \"   }   ]   }   G e t   a   l i s t   o f   p o d s :   c u r l   h t t p : / / l o c a l h o s t : 8 0 8 0 / a p i / v 1 / n a m e s p a c e s / d e f a u l t / p o d s   T h e   o u t p u t   s h o u l d   l o o k   s i m i l a r   t o   t h i s :   {   \" k i n d \" :   \" P o d L i s t \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   {   \" r e s o u r c e V e r s i o n \" :   \" 3 3 0 7 4 \"   } ,   \" i t e m s \" :   [   {   \" m e t a d a t a \" :   {   \" n a m e \" :   \" k u b e r n e t e s - b o o t c a m p - 2 3 2 1 2 7 2 3 3 3 - i x 8 p t \" ,   \" g e n e r a t e N a m e \" :   \" k u b e r n e t e s - b o o t c a m p - 2 3 2 1 2 7 2 3 3 3 - \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \" ,   \" u i d \" :   \" b a 2 1 4 5 7 c - 6 b 1 d - 1 1 e 6 - 8 5 f 7 - 1 e f 9 f 1 d a b 9 2 b \" ,   \" r e s o u r c e V e r s i o n \" :   \" 3 3 0 0 3 \" ,   \" c r e a t i o n T i m e s t a m p \" :   \" 2 0 1 6 - 0 8 - 2 5 T 2 3 : 4 3 : 3 0 Z \" ,   \" l a b e l s \" :   {   \" p o d - t e m p l a t e - h a s h \" :   \" 2 3 2 1 2 7 2 3 3 3 \" ,   \" r u n \" :   \" k u b e r n e t e s - b o o t c a m p \"   } ,   . . .   }",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19123"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   k u b e c t l   p r o x y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19124"
  },
  {
    "question": "What is 11.6 - Use a SOCKS5 Proxy to Access the Kubernetes API?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   a   S O C K S 5   p r o x y   t o   a c c e s s   t h e   A P I   o f   a   r e m o t e   K u b e r n e t e s   c l u s t e r .   T h i s   i s   u s e f u l   w h e n   t h e   c l u s t e r   y o u   w a n t   t o   a c c e s s   d o e s   n o t   e x p o s e   i t s   A P I   d i r e c t l y   o n   t h e   p u b l i c   i n t e r n e t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_19125"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 2 4 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19126"
  },
  {
    "question": "What is Note:?",
    "answer": "F i g u r e   1   r e p r e s e n t s   w h a t   y o u ' r e   g o i n g   t o   a c h i e v e   i n   t h i s   t a s k .   Y o u   h a v e   a   c l i e n t   c o m p u t e r ,   r e f e r r e d   t o   a s   l o c a l   i n   t h e   s t e p s   a h e a d ,   f r o m   w h e r e   y o u ' r e   g o i n g   t o   c r e a t e   r e q u e s t s   t o   t a l k   t o   t h e   K u b e r n e t e s   A P I . T h e   K u b e r n e t e s   s e r v e r / A P I   i s   h o s t e d   o n   a   r e m o t e   s e r v e r . Y o u   w i l l   u s e   S S H   c l i e n t   a n d   s e r v e r   s o f t w a r e   t o   c r e a t e   a   s e c u r e   S O C K S 5   t u n n e l   b e t w e e n   t h e   l o c a l   a n d   t h e   r e m o t e   s e r v e r .   T h e   H T T P S   t r a f f i c   b e t w e e n   t h e   c l i e n t   a n d   t h e   K u b e r n e t e s   A P I   w i l l   f l o w   o v e r   t h e   S O C K S 5   t u n n e l ,   w h i c h   i s   i t s e l f   t u n n e l l e d   o v e r   S S H .   g r a p h   L R ;   s u b g r a p h   l o c a l [ L o c a l   c l i e n t   m a c h i n e ]   c l i e n t ( [ c l i e n t ] ) - .   l o c a l t r a f f i c   . - >   l o c a l _ s s h [ L o c a l   S S H S O C K S 5   p r o x y ] ;   e n d   l o c a l _ s s h [ S S H S O C K S 5 p r o x y ] - -   S S H   T u n n e l   - - > s s h d   s u b g r a p h   r e m o t e [ R e m o t e   s e r v e r ]   s s h d [ S S H s e r v e r ] - -   l o c a l   t r a f f i c   - - > s e r v i c e 1 ;   e n d   c l i e n t ( [ c l i e n t ] ) - .   p r o x i e d   H T T P s   t r a f f i c g o i n g   t h r o u g h   t h e   p r o x y   . - > s e r v i c e 1 [ K u b e r n e t e s   A P I ] ;   c l a s s D e f   p l a i n   f i l l : # d d d , s t r o k e : # f f f , s t r o k e - w i d t h : 4 p x , c o l o r : # 0 0 0 ;   c l a s s D e f   k 8 s   f i l l : # 3 2 6 c e 5 , s t r o k e : # f f f , s t r o k e - w i d t h : 4 p x , c o l o r : # f f f ;   c l a s s D e f   c l u s t e r   f ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19127"
  },
  {
    "question": "What is Using ssh to create a SOCKS5 proxy?",
    "answer": "T h e   f o l l o w i n g   c o m m a n d   s t a r t s   a   S O C K S 5   p r o x y   b e t w e e n   y o u r   c l i e n t   m a c h i n e   a n d   t h e   r e m o t e   S O C K S   s e r v e r :   #   T h e   S S H   t u n n e l   c o n t i n u e s   r u n n i n g   i n   t h e   f o r e g r o u n d   a f t e r   y o u   r u n   t h i s   s s h   - D   1 0 8 0   - q   - N   u s e r n a m e @ k u b e r n e t e s - r e m o t e - s e r v e r . e x a m p l e   T h e   S O C K S 5   p r o x y   l e t s   y o u   c o n n e c t   t o   y o u r   c l u s t e r ' s   A P I   s e r v e r   b a s e d   o n   t h e   f o l l o w i n g   c o n f i g u r a t i o n :   - D   1 0 8 0 :   o p e n s   a   S O C K S   p r o x y   o n   l o c a l   p o r t   : 1 0 8 0 . - q :   q u i e t   m o d e .   C a u s e s   m o s t   w a r n i n g   a n d   d i a g n o s t i c   m e s s a g e s   t o   b e   s u p p r e s s e d . - N :   D o   n o t   e x e c u t e   a   r e m o t e   c o m m a n d .   U s e f u l   f o r   j u s t   f o r w a r d i n g   p o r t s . u s e r n a m e @ k u b e r n e t e s - r e m o t e - s e r v e r . e x a m p l e :   t h e   r e m o t e   S S H   s e r v e r   b e h i n d   w h i c h   t h e   K u b e r n e t e s   c l u s t e r   i s   r u n n i n g   ( e g :   a   b a s t i o n   h o s t ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19128"
  },
  {
    "question": "What is Client configuration?",
    "answer": "T o   a c c e s s   t h e   K u b e r n e t e s   A P I   s e r v e r   t h r o u g h   t h e   p r o x y   y o u   m u s t   i n s t r u c t   k u b e c t l   t o   s e n d   q u e r i e s   t h r o u g h   t h e   S O C K S   p r o x y   w e   c r e a t e d   e a r l i e r .   D o   t h i s   b y   e i t h e r   s e t t i n g   t h e   a p p r o p r i a t e   e n v i r o n m e n t   v a r i a b l e ,   o r   v i a   t h e   p r o x y - u r l   a t t r i b u t e   i n   t h e   k u b e c o n f i g   f i l e .   U s i n g   a n   e n v i r o n m e n t   v a r i a b l e :   e x p o r t   H T T P S _ P R O X Y = s o c k s 5 : / / l o c a l h o s t : 1 0 8 0   T o   a l w a y s   u s e   t h i s   s e t t i n g   o n   a   s p e c i f i c   k u b e c t l   c o n t e x t ,   s p e c i f y   t h e   p r o x y - u r l   a t t r i b u t e   i n   t h e   r e l e v a n t   c l u s t e r   e n t r y   w i t h i n   t h e   ~ / . k u b e / c o n f i g   f i l e .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   c l u s t e r s :   -   c l u s t e r :   c e r t i f i c a t e - a u t h o r i t y - d a t a :   L R M E M M W 2   #   s h o r t e n e d   f o r   r e a d a b i l i t y   s e r v e r :   h t t p s : / / < A P I _ S E R V E R _ I P _ A D D R E S S > : 6 4 4 3   #   t h e   \" K u b e r n e t e s   A P I \"   s e r v e r ,   i n   o t h e r   w o r d s   t h e   I P   a d d r e s s   o f   k u b e r n e t e s - r e m o t e - s e r v e r . e x a m p l e   p r o x y - u r l :   s o c k s 5 : / / l o c a l h o s t : 1 0 8 0   #   t h e   \" S S H   S O C K S 5   p r o x y \"   i n   t h e   d i a g r a m   a b o v e   n a m e :   d e f a u l t   c o n t e x t s :   -   c o n t e x t :   c l u s t e r :   d e f a u l t   u s e r :   d e f a u l t   n a m e :   d e f a u l t   c u r r e n t - c o n t e x t :   d e f a u l t   k i n d :   C o n f i g   p r e f e r e n c e s :   { }   u s e r s :   -   n a m e :   d e f a u l t   u s e r :   c l i e n t - c e r t i f i c ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19129"
  },
  {
    "question": "What is Note:?",
    "answer": "B e f o r e   k u b e c t l   1 . 2 4 ,   m o s t   k u b e c t l   c o m m a n d s   w o r k e d   w h e n   u s i n g   a   s o c k s   p r o x y ,   e x c e p t   k u b e c t l   e x e c . k u b e c t l   s u p p o r t s   b o t h   H T T P S _ P R O X Y   a n d   h t t p s _ p r o x y   e n v i r o n m e n t   v a r i a b l e s .   T h e s e   a r e   u s e d   b y   o t h e r   p r o g r a m s   t h a t   s u p p o r t   S O C K S ,   s u c h   a s   c u r l .   T h e r e f o r e   i n   s o m e   c a s e s   i t   w i l l   b e   b e t t e r   t o   d e f i n e   t h e   e n v i r o n m e n t   v a r i a b l e   o n   t h e   c o m m a n d   l i n e : H T T P S _ P R O X Y = s o c k s 5 : / / l o c a l h o s t : 1 0 8 0   k u b e c t l   g e t   p o d s   W h e n   u s i n g   p r o x y - u r l ,   t h e   p r o x y   i s   u s e d   o n l y   f o r   t h e   r e l e v a n t   k u b e c t l   c o n t e x t ,   w h e r e a s   t h e   e n v i r o n m e n t   v a r i a b l e   w i l l   a f f e c t   a l l   c o n t e x t s . T h e   k 8 s   A P I   s e r v e r   h o s t n a m e   c a n   b e   f u r t h e r   p r o t e c t e d   f r o m   D N S   l e a k a g e   b y   u s i n g   t h e   s o c k s 5 h   p r o t o c o l   n a m e   i n s t e a d   o f   t h e   m o r e   c o m m o n l y   k n o w n   s o c k s 5   p r o t o c o l   s h o w n   a b o v e .   I n   t h i s   c a s e ,   k u b e c t l   w i l l   a s k   t h e   p r o x y   s e r v e r   ( s u c h   a s   a n   s s h   b a s t i o n )   t o   r e s o l v e   t h e   k 8 s   A P I   s e r v e r   d o m a i n   n a m e ,   i n s t e a d   o f   r e s o l v i n g   i t   o n   t h e   s y s t e m   r u n n i n g   k u b e c t l .   N o t e   a l s o   t h a t   w i t h   s o c k s 5 h ,   a   k 8 s   A P I   s e r v e r   U R L   l i k e   h t t p s : / / l o c a l h o s t : 6 4 4 3 / a p i   d o e s   n o t   r e f e r   t o   y o u r   l o c a l   c l i e n t   c o m p u t e r .   I n s t e a d ,   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19130"
  },
  {
    "question": "What is Clean up?",
    "answer": "S t o p   t h e   s s h   p o r t - f o r w a r d i n g   p r o c e s s   b y   p r e s s i n g   C T R L + C   o n   t h e   t e r m i n a l   w h e r e   i t   i s   r u n n i n g .   T y p e   u n s e t   h t t p s _ p r o x y   i n   a   t e r m i n a l   t o   s t o p   f o r w a r d i n g   h t t p   t r a f f i c   t h r o u g h   t h e   p r o x y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19131"
  },
  {
    "question": "What is Further reading?",
    "answer": "O p e n S S H   r e m o t e   l o g i n   c l i e n t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19132"
  },
  {
    "question": "What is 11.7 - Set up Konnectivity service?",
    "answer": "T h e   K o n n e c t i v i t y   s e r v i c e   p r o v i d e s   a   T C P   l e v e l   p r o x y   f o r   t h e   c o n t r o l   p l a n e   t o   c l u s t e r   c o m m u n i c a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_19133"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19134"
  },
  {
    "question": "What is Configure the Konnectivity service?",
    "answer": "T h e   f o l l o w i n g   s t e p s   r e q u i r e   a n   e g r e s s   c o n f i g u r a t i o n ,   f o r   e x a m p l e :   a p i V e r s i o n :   a p i s e r v e r . k 8 s . i o / v 1 b e t a 1   k i n d :   E g r e s s S e l e c t o r C o n f i g u r a t i o n   e g r e s s S e l e c t i o n s :   #   S i n c e   w e   w a n t   t o   c o n t r o l   t h e   e g r e s s   t r a f f i c   t o   t h e   c l u s t e r ,   w e   u s e   t h e   #   \" c l u s t e r \"   a s   t h e   n a m e .   O t h e r   s u p p o r t e d   v a l u e s   a r e   \" e t c d \" ,   a n d   \" c o n t r o l p l a n e \" .   -   n a m e :   c l u s t e r   c o n n e c t i o n :   #   T h i s   c o n t r o l s   t h e   p r o t o c o l   b e t w e e n   t h e   A P I   S e r v e r   a n d   t h e   K o n n e c t i v i t y   #   s e r v e r .   S u p p o r t e d   v a l u e s   a r e   \" G R P C \"   a n d   \" H T T P C o n n e c t \" .   T h e r e   i s   n o   #   e n d   u s e r   v i s i b l e   d i f f e r e n c e   b e t w e e n   t h e   t w o   m o d e s .   Y o u   n e e d   t o   s e t   t h e   #   K o n n e c t i v i t y   s e r v e r   t o   w o r k   i n   t h e   s a m e   m o d e .   p r o x y P r o t o c o l :   G R P C   t r a n s p o r t :   #   T h i s   c o n t r o l s   w h a t   t r a n s p o r t   t h e   A P I   S e r v e r   u s e s   t o   c o m m u n i c a t e   w i t h   t h e   #   K o n n e c t i v i t y   s e r v e r .   U D S   i s   r e c o m m e n d e d   i f   t h e   K o n n e c t i v i t y   s e r v e r   #   l o c a t e s   o n   t h e   s a m e   m a c h i n e   a s   t h e   A P I   S e r v e r .   Y o u   n e e d   t o   c o n f i g u r e   t h e   #   K o n n e c t i v i t y   s e r v e r   t o   l i s t e n   o n   t h e   s a m e   U D S   s o c k e t .   #   T h e   o t h e r   s u p p o r t e d   t r a n s p o r t   i s   \" t c p \" .   Y o u   w i l l   n e e d   t o   s e t   u p   T L S   #   c o n f i g   t o   s e c u r e   t h e   T C ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19135"
  },
  {
    "question": "What is 12.1 - Issue a Certificate for a Kubernetes API Client Using A CertificateSigningRequest?",
    "answer": "K u b e r n e t e s   l e t s   y o u   u s e   a   p u b l i c   k e y   i n f r a s t r u c t u r e   ( P K I )   t o   a u t h e n t i c a t e   t o   y o u r   c l u s t e r   a s   a   c l i e n t .   A   f e w   s t e p s   a r e   r e q u i r e d   i n   o r d e r   t o   g e t   a   n o r m a l   u s e r   t o   b e   a b l e   t o   a u t h e n t i c a t e   a n d   i n v o k e   a n   A P I .   F i r s t ,   t h i s   u s e r   m u s t   h a v e   a n   X . 5 0 9   c e r t i f i c a t e   i s s u e d   b y   a n   a u t h o r i t y   t h a t   y o u r   K u b e r n e t e s   c l u s t e r   t r u s t s .   T h e   c l i e n t   m u s t   t h e n   p r e s e n t   t h a t   c e r t i f i c a t e   t o   t h e   K u b e r n e t e s   A P I .   Y o u   u s e   a   C e r t i f i c a t e S i g n i n g R e q u e s t   a s   p a r t   o f   t h i s   p r o c e s s ,   a n d   e i t h e r   y o u   o r   s o m e   o t h e r   p r i n c i p a l   m u s t   a p p r o v e   t h e   r e q u e s t .   Y o u   w i l l   c r e a t e   a   p r i v a t e   k e y ,   a n d   t h e n   g e t   a   c e r t i f i c a t e   i s s u e d ,   a n d   f i n a l l y   c o n f i g u r e   t h a t   p r i v a t e   k e y   f o r   a   c l i e n t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_19136"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u   n e e d   t h e   k u b e c t l ,   o p e n s s l   a n d   b a s e 6 4   u t i l i t i e s .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   n e e d   t h e   k u b e c t l ,   o p e n s s l   a n d   b a s e 6 4   u t i l i t i e s .   T h i s   p a g e   a s s u m e s   y o u   a r e   u s i n g   K u b e r n e t e s   r o l e   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19137"
  },
  {
    "question": "What is Create private key?",
    "answer": "I n   t h i s   s t e p ,   y o u   c r e a t e   a   p r i v a t e   k e y .   Y o u   n e e d   t o   k e e p   t h i s   d o c u m e n t   s e c r e t ;   a n y o n e   w h o   h a s   i t   c a n   i m p e r s o n a t e   t h e   u s e r .   #   C r e a t e   a   p r i v a t e   k e y   o p e n s s l   g e n r s a   - o u t   m y u s e r . k e y   3 0 7 2",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19138"
  },
  {
    "question": "What is Note:?",
    "answer": "I t   i s   i m p o r t a n t   t o   s e t   C N   a n d   O   a t t r i b u t e   o f   t h e   C S R .   C N   i s   t h e   n a m e   o f   t h e   u s e r   a n d   O   i s   t h e   g r o u p   t h a t   t h i s   u s e r   w i l l   b e l o n g   t o .   Y o u   c a n   r e f e r   t o   R B A C   f o r   s t a n d a r d   g r o u p s .   #   C h a n g e   t h e   c o m m o n   n a m e   \" m y u s e r \"   t o   t h e   a c t u a l   u s e r n a m e   t h a t   y o u   w a n t   t o   u s e   o p e n s s l   r e q   - n e w   - k e y   m y u s e r . k e y   - o u t   m y u s e r . c s r   - s u b j   \" / C N = m y u s e r \"",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19139"
  },
  {
    "question": "What is Create a Kubernetes CertificateSigningRequest?",
    "answer": "E n c o d e   t h e   C S R   d o c u m e n t   u s i n g   t h i s   c o m m a n d :   c a t   m y u s e r . c s r   |   b a s e 6 4   |   t r   - d   \" \\ n \"   C r e a t e   a   C e r t i f i c a t e S i g n i n g R e q u e s t   a n d   s u b m i t   i t   t o   a   K u b e r n e t e s   C l u s t e r   v i a   k u b e c t l .   B e l o w   i s   a   s n i p p e t   o f   s h e l l   t h a t   y o u   c a n   u s e   t o   g e n e r a t e   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t .   c a t   < < E O F   |   k u b e c t l   a p p l y   - f   -   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1   k i n d :   C e r t i f i c a t e S i g n i n g R e q u e s t   m e t a d a t a :   n a m e :   m y u s e r   #   e x a m p l e   s p e c :   #   T h i s   i s   a n   e n c o d e d   C S R .   C h a n g e   t h i s   t o   t h e   b a s e 6 4 - e n c o d e d   c o n t e n t s   o f   m y u s e r . c s r   r e q u e s t :   L S 0 t L S 1 C R U d J T i B D R V J U S U Z J Q 0 F U R S B S R V F V R V N U L S 0 t L S 0 K T U l J Q 1 Z q Q 0 N B V D R D Q V F B d 0 V U R V B N Q T B H Q T F V R U F 3 d 0 d Z V z V u W l d 4 a E 1 J S U J J a k F O Q m d r c W h r a U c 5 d z B C Q V F F R g p B Q U 9 D Q V E 4 Q U 1 J S U J D Z 0 t D Q V F F Q T B y c z h J T H R H d T Y x a k x 2 d H h W T T J S V l R W M D N H W l J T W W w 0 d W l u V W o 4 R E l a W j B O C n R 2 M U Z t R V F S d 3 V o a U Z s O F E z c W l 0 Q m 0 w M U F S M k N J V X B G d 2 Z z S j Z 4 M X F 3 c k J z V k h Z b G l B N V h w R V p Z M 3 E x c G s w S D Q K M 3 Z 3 a G J l K 1 o 2 M V N r V H F 5 S V B Y U U w r T W M 5 T 1 N s b m 0 x b 0 R 2 N 0 N t S k Z N M U l M R V I 3 Q T V G Z n Z K O E d F R j J 6 d H B o a U l F M w p u b 1 d t d H N Z b 3 J u T 2 w z c 2 l H Q 2 Z G Z z R 4 Z m d 4 e W 8 y b m l n e F N V e k l 1 b X N n V m 9 P M 2 t t T 0 x 1 R V F 6 c X p k a k J 3 T F J X b W l E C k l m M X B M W n o y a l V n a l d 4 U k h C M 1 g y W n V V V 1 d 1 ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19140"
  },
  {
    "question": "What is Approve the CertificateSigningRequest?",
    "answer": "U s e   k u b e c t l   t o   f i n d   t h e   C S R   y o u   m a d e ,   a n d   m a n u a l l y   a p p r o v e   i t .   G e t   t h e   l i s t   o f   C S R s :   k u b e c t l   g e t   c s r   A p p r o v e   t h e   C S R :   k u b e c t l   c e r t i f i c a t e   a p p r o v e   m y u s e r",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19141"
  },
  {
    "question": "What is Get the certificate?",
    "answer": "R e t r i e v e   t h e   c e r t i f i c a t e   f r o m   t h e   C S R ,   t o   c h e c k   i t   l o o k s   O K .   k u b e c t l   g e t   c s r / m y u s e r   - o   y a m l   T h e   c e r t i f i c a t e   v a l u e   i s   i n   B a s e 6 4 - e n c o d e d   f o r m a t   u n d e r   . s t a t u s . c e r t i f i c a t e .   E x p o r t   t h e   i s s u e d   c e r t i f i c a t e   f r o m   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t .   k u b e c t l   g e t   c s r   m y u s e r   - o   j s o n p a t h = ' { . s t a t u s . c e r t i f i c a t e } ' |   b a s e 6 4   - d   >   m y u s e r . c r t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19142"
  },
  {
    "question": "What is Configure the certificate into kubeconfig?",
    "answer": "T h e   n e x t   s t e p   i s   t o   a d d   t h i s   u s e r   i n t o   t h e   k u b e c o n f i g   f i l e .   F i r s t ,   y o u   n e e d   t o   a d d   n e w   c r e d e n t i a l s :   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   m y u s e r   - - c l i e n t - k e y = m y u s e r . k e y   - - c l i e n t - c e r t i f i c a t e = m y u s e r . c r t   - - e m b e d - c e r t s = t r u e   T h e n ,   y o u   n e e d   t o   a d d   t h e   c o n t e x t :   k u b e c t l   c o n f i g   s e t - c o n t e x t   m y u s e r   - - c l u s t e r = k u b e r n e t e s   - - u s e r = m y u s e r   T o   t e s t   i t :   k u b e c t l   - - c o n t e x t   m y u s e r   a u t h   w h o a m i   Y o u   s h o u l d   s e e   o u t p u t   c o n f i r m i n g   t h a t   y o u   a r e   “ m y u s e r “ .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19143"
  },
  {
    "question": "What is Note:?",
    "answer": "W i t h   t h e   c e r t i f i c a t e   c r e a t e d   i t   i s   t i m e   t o   d e f i n e   t h e   R o l e   a n d   R o l e B i n d i n g   f o r   t h i s   u s e r   t o   a c c e s s   K u b e r n e t e s   c l u s t e r   r e s o u r c e s .   T h i s   i s   a   s a m p l e   c o m m a n d   t o   c r e a t e   a   R o l e   f o r   t h i s   n e w   u s e r :   k u b e c t l   c r e a t e   r o l e   d e v e l o p e r   - - v e r b = c r e a t e   - - v e r b = g e t   - - v e r b = l i s t   - - v e r b = u p d a t e   - - v e r b = d e l e t e   - - r e s o u r c e = p o d s   T h i s   i s   a   s a m p l e   c o m m a n d   t o   c r e a t e   a   R o l e B i n d i n g   f o r   t h i s   n e w   u s e r :   k u b e c t l   c r e a t e   r o l e b i n d i n g   d e v e l o p e r - b i n d i n g - m y u s e r   - - r o l e = d e v e l o p e r   - - u s e r = m y u s e r",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19144"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   M a n a g e   T L S   C e r t i f i c a t e s   i n   a   C l u s t e r F o r   d e t a i l s   o f   X . 5 0 9   i t s e l f ,   r e f e r   t o   R F C   5 2 8 0   s e c t i o n   3 . 1 F o r   i n f o r m a t i o n   o n   t h e   s y n t a x   o f   P K C S # 1 0   c e r t i f i c a t e   s i g n i n g   r e q u e s t s ,   r e f e r   t o   R F C   2 9 8 6 R e a d   a b o u t   C l u s t e r T r u s t B u n d l e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19145"
  },
  {
    "question": "What is 12.2 - Configure Certificate Rotation for the Kubelet?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   e n a b l e   a n d   c o n f i g u r e   c e r t i f i c a t e   r o t a t i o n   f o r   t h e   k u b e l e t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_19146"
  },
  {
    "question": "What is Before you begin?",
    "answer": "K u b e r n e t e s   v e r s i o n   1 . 8 . 0   o r   l a t e r   i s   r e q u i r e d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19147"
  },
  {
    "question": "What is Overview?",
    "answer": "T h e   k u b e l e t   u s e s   c e r t i f i c a t e s   f o r   a u t h e n t i c a t i n g   t o   t h e   K u b e r n e t e s   A P I .   B y   d e f a u l t ,   t h e s e   c e r t i f i c a t e s   a r e   i s s u e d   w i t h   o n e   y e a r   e x p i r a t i o n   s o   t h a t   t h e y   d o   n o t   n e e d   t o   b e   r e n e w e d   t o o   f r e q u e n t l y .   K u b e r n e t e s   c o n t a i n s   k u b e l e t   c e r t i f i c a t e   r o t a t i o n ,   t h a t   w i l l   a u t o m a t i c a l l y   g e n e r a t e   a   n e w   k e y   a n d   r e q u e s t   a   n e w   c e r t i f i c a t e   f r o m   t h e   K u b e r n e t e s   A P I   a s   t h e   c u r r e n t   c e r t i f i c a t e   a p p r o a c h e s   e x p i r a t i o n .   O n c e   t h e   n e w   c e r t i f i c a t e   i s   a v a i l a b l e ,   i t   w i l l   b e   u s e d   f o r   a u t h e n t i c a t i n g   c o n n e c t i o n s   t o   t h e   K u b e r n e t e s   A P I .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19148"
  },
  {
    "question": "What is Enabling client certificate rotation?",
    "answer": "T h e   k u b e l e t   p r o c e s s   a c c e p t s   a n   a r g u m e n t   - - r o t a t e - c e r t i f i c a t e s   t h a t   c o n t r o l s   i f   t h e   k u b e l e t   w i l l   a u t o m a t i c a l l y   r e q u e s t   a   n e w   c e r t i f i c a t e   a s   t h e   e x p i r a t i o n   o f   t h e   c e r t i f i c a t e   c u r r e n t l y   i n   u s e   a p p r o a c h e s .   T h e   k u b e - c o n t r o l l e r - m a n a g e r   p r o c e s s   a c c e p t s   a n   a r g u m e n t   - - c l u s t e r - s i g n i n g - d u r a t i o n   ( - - e x p e r i m e n t a l - c l u s t e r - s i g n i n g - d u r a t i o n   p r i o r   t o   1 . 1 9 )   t h a t   c o n t r o l s   h o w   l o n g   c e r t i f i c a t e s   w i l l   b e   i s s u e d   f o r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19149"
  },
  {
    "question": "What is Understanding the certificate rotation configuration?",
    "answer": "W h e n   a   k u b e l e t   s t a r t s   u p ,   i f   i t   i s   c o n f i g u r e d   t o   b o o t s t r a p   ( u s i n g   t h e   - - b o o t s t r a p - k u b e c o n f i g   f l a g ) ,   i t   w i l l   u s e   i t s   i n i t i a l   c e r t i f i c a t e   t o   c o n n e c t   t o   t h e   K u b e r n e t e s   A P I   a n d   i s s u e   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t .   Y o u   c a n   v i e w   t h e   s t a t u s   o f   c e r t i f i c a t e   s i g n i n g   r e q u e s t s   u s i n g :   k u b e c t l   g e t   c s r   I n i t i a l l y   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t   f r o m   t h e   k u b e l e t   o n   a   n o d e   w i l l   h a v e   a   s t a t u s   o f   P e n d i n g .   I f   t h e   c e r t i f i c a t e   s i g n i n g   r e q u e s t s   m e e t s   s p e c i f i c   c r i t e r i a ,   i t   w i l l   b e   a u t o   a p p r o v e d   b y   t h e   c o n t r o l l e r   m a n a g e r ,   t h e n   i t   w i l l   h a v e   a   s t a t u s   o f   A p p r o v e d .   N e x t ,   t h e   c o n t r o l l e r   m a n a g e r   w i l l   s i g n   a   c e r t i f i c a t e ,   i s s u e d   f o r   t h e   d u r a t i o n   s p e c i f i e d   b y   t h e   - - c l u s t e r - s i g n i n g - d u r a t i o n   p a r a m e t e r ,   a n d   t h e   s i g n e d   c e r t i f i c a t e   w i l l   b e   a t t a c h e d   t o   t h e   c e r t i f i c a t e   s i g n i n g   r e q u e s t .   T h e   k u b e l e t   w i l l   r e t r i e v e   t h e   s i g n e d   c e r t i f i c a t e   f r o m   t h e   K u b e r n e t e s   A P I   a n d   w r i t e   t h a t   t o   d i s k ,   i n   t h e   l o c a t i o n   s p e c i f i e d   b y   - - c e r t - d i r .   T h e n   t h e   k u b e l e t   w i l l   u s e   t h e   n e w   c e r t i f i c a t e   t o   c o n n e c t   t o   t h e   K u b e r n e t e s   A P I .   A s   t h e   e x p i r a t i o n   o f   t h e   s i g n ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19150"
  },
  {
    "question": "What is 12.3 - Manage TLS Certificates in a Cluster?",
    "answer": "K u b e r n e t e s   p r o v i d e s   a   c e r t i f i c a t e s . k 8 s . i o   A P I ,   w h i c h   l e t s   y o u   p r o v i s i o n   T L S   c e r t i f i c a t e s   s i g n e d   b y   a   C e r t i f i c a t e   A u t h o r i t y   ( C A )   t h a t   y o u   c o n t r o l .   T h e s e   C A   a n d   c e r t i f i c a t e s   c a n   b e   u s e d   b y   y o u r   w o r k l o a d s   t o   e s t a b l i s h   t r u s t .   c e r t i f i c a t e s . k 8 s . i o   A P I   u s e s   a   p r o t o c o l   t h a t   i s   s i m i l a r   t o   t h e   A C M E   d r a f t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_19151"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   n e e d   t h e   c f s s l   t o o l .   Y o u   c a n   d o w n l o a d   c f s s l   f r o m   h t t p s : / / g i t h u b . c o m / c l o u d f l a r e / c f s s l / r e l e a s e s .   S o m e   s t e p s   i n   t h i s   p a g e   u s e   t h e   j q   t o o l .   I f   y o u   d o n ' t   h a v e   j q ,   y o u   c a n   i n s t a l l   i t   v i a   y o u r   o p e r a t i n g   s y s t e m ' s   s o f t w a r e   s o u r c e s ,   o r   f e t c h   i t   f r o m   h t t p s : / / j q l a n g . g i t h u b . i o / j q / .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19152"
  },
  {
    "question": "What is Trusting TLS in a cluster?",
    "answer": "T r u s t i n g   t h e   c u s t o m   C A   f r o m   a n   a p p l i c a t i o n   r u n n i n g   a s   a   p o d   u s u a l l y   r e q u i r e s   s o m e   e x t r a   a p p l i c a t i o n   c o n f i g u r a t i o n .   Y o u   w i l l   n e e d   t o   a d d   t h e   C A   c e r t i f i c a t e   b u n d l e   t o   t h e   l i s t   o f   C A   c e r t i f i c a t e s   t h a t   t h e   T L S   c l i e n t   o r   s e r v e r   t r u s t s .   F o r   e x a m p l e ,   y o u   w o u l d   d o   t h i s   w i t h   a   g o l a n g   T L S   c o n f i g   b y   p a r s i n g   t h e   c e r t i f i c a t e   c h a i n   a n d   a d d i n g   t h e   p a r s e d   c e r t i f i c a t e s   t o   t h e   R o o t C A s   f i e l d   i n   t h e   t l s . C o n f i g   s t r u c t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19153"
  },
  {
    "question": "What is Note:?",
    "answer": "E v e n   t h o u g h   t h e   c u s t o m   C A   c e r t i f i c a t e   m a y   b e   i n c l u d e d   i n   t h e   f i l e s y s t e m   ( i n   t h e   C o n f i g M a p   k u b e - r o o t - c a . c r t ) ,   y o u   s h o u l d   n o t   u s e   t h a t   c e r t i f i c a t e   a u t h o r i t y   f o r   a n y   p u r p o s e   o t h e r   t h a n   t o   v e r i f y   i n t e r n a l   K u b e r n e t e s   e n d p o i n t s .   A n   e x a m p l e   o f   a n   i n t e r n a l   K u b e r n e t e s   e n d p o i n t   i s   t h e   S e r v i c e   n a m e d   k u b e r n e t e s   i n   t h e   d e f a u l t   n a m e s p a c e .   I f   y o u   w a n t   t o   u s e   a   c u s t o m   c e r t i f i c a t e   a u t h o r i t y   f o r   y o u r   w o r k l o a d s ,   y o u   s h o u l d   g e n e r a t e   t h a t   C A   s e p a r a t e l y ,   a n d   d i s t r i b u t e   i t s   C A   c e r t i f i c a t e   u s i n g   a   C o n f i g M a p   t h a t   y o u r   p o d s   h a v e   a c c e s s   t o   r e a d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19154"
  },
  {
    "question": "What is Requesting a certificate?",
    "answer": "T h e   f o l l o w i n g   s e c t i o n   d e m o n s t r a t e s   h o w   t o   c r e a t e   a   T L S   c e r t i f i c a t e   f o r   a   K u b e r n e t e s   s e r v i c e   a c c e s s e d   t h r o u g h   D N S .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19155"
  },
  {
    "question": "What is Create a certificate signing request?",
    "answer": "G e n e r a t e   a   p r i v a t e   k e y   a n d   c e r t i f i c a t e   s i g n i n g   r e q u e s t   ( o r   C S R )   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d :   c a t   < < E O F   |   c f s s l   g e n k e y   -   |   c f s s l j s o n   - b a r e   s e r v e r   {   \" h o s t s \" :   [   \" m y - s v c . m y - n a m e s p a c e . s v c . c l u s t e r . l o c a l \" ,   \" m y - p o d . m y - n a m e s p a c e . p o d . c l u s t e r . l o c a l \" ,   \" 1 9 2 . 0 . 2 . 2 4 \" ,   \" 1 0 . 0 . 3 4 . 2 \"   ] ,   \" C N \" :   \" m y - p o d . m y - n a m e s p a c e . p o d . c l u s t e r . l o c a l \" ,   \" k e y \" :   {   \" a l g o \" :   \" e c d s a \" ,   \" s i z e \" :   2 5 6   }   }   E O F   W h e r e   1 9 2 . 0 . 2 . 2 4   i s   t h e   s e r v i c e ' s   c l u s t e r   I P ,   m y - s v c . m y - n a m e s p a c e . s v c . c l u s t e r . l o c a l   i s   t h e   s e r v i c e ' s   D N S   n a m e ,   1 0 . 0 . 3 4 . 2   i s   t h e   p o d ' s   I P   a n d   m y - p o d . m y - n a m e s p a c e . p o d . c l u s t e r . l o c a l   i s   t h e   p o d ' s   D N S   n a m e .   Y o u   s h o u l d   s e e   t h e   o u t p u t   s i m i l a r   t o :   2 0 2 2 / 0 2 / 0 1   1 1 : 4 5 : 3 2   [ I N F O ]   g e n e r a t e   r e c e i v e d   r e q u e s t   2 0 2 2 / 0 2 / 0 1   1 1 : 4 5 : 3 2   [ I N F O ]   r e c e i v e d   C S R   2 0 2 2 / 0 2 / 0 1   1 1 : 4 5 : 3 2   [ I N F O ]   g e n e r a t i n g   k e y :   e c d s a - 2 5 6   2 0 2 2 / 0 2 / 0 1   1 1 : 4 5 : 3 2   [ I N F O ]   e n c o d e d   C S R   T h i s   c o m m a n d   g e n e r a t e s   t w o   f i l e s ;   i t   g e n e r a t e s   s e r v e r . c s r   c o n t a i n i n g   t h e   P E M   e n c o d e d   P K C S # 1 0   c e r t i f i c a t i o n   r e q u e s t ,   a n d   s e r v e r - k e y . p e m   c o n t a i n i n g   t h e   P E M   e n c o d e d   k e y   t o   t h e   c e r t i f i c a t e   t h a t   i s   s t i l l   t o   b e   c r e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19156"
  },
  {
    "question": "What is Create a CertificateSigningRequest object to send to the Kubernetes API?",
    "answer": "G e n e r a t e   a   C S R   m a n i f e s t   ( i n   Y A M L ) ,   a n d   s e n d   i t   t o   t h e   A P I   s e r v e r .   Y o u   c a n   d o   t h a t   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d :   c a t   < < E O F   |   k u b e c t l   a p p l y   - f   -   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1   k i n d :   C e r t i f i c a t e S i g n i n g R e q u e s t   m e t a d a t a :   n a m e :   m y - s v c . m y - n a m e s p a c e   s p e c :   r e q u e s t :   $ ( c a t   s e r v e r . c s r   |   b a s e 6 4   |   t r   - d   ' \\ n ' )   s i g n e r N a m e :   e x a m p l e . c o m / s e r v i n g   u s a g e s :   -   d i g i t a l   s i g n a t u r e   -   k e y   e n c i p h e r m e n t   -   s e r v e r   a u t h   E O F   N o t i c e   t h a t   t h e   s e r v e r . c s r   f i l e   c r e a t e d   i n   s t e p   1   i s   b a s e 6 4   e n c o d e d   a n d   s t a s h e d   i n   t h e   . s p e c . r e q u e s t   f i e l d .   Y o u   a r e   a l s o   r e q u e s t i n g   a   c e r t i f i c a t e   w i t h   t h e   \" d i g i t a l   s i g n a t u r e \" ,   \" k e y   e n c i p h e r m e n t \" ,   a n d   \" s e r v e r   a u t h \"   k e y   u s a g e s ,   s i g n e d   b y   a n   e x a m p l e   e x a m p l e . c o m / s e r v i n g   s i g n e r .   A   s p e c i f i c   s i g n e r N a m e   m u s t   b e   r e q u e s t e d .   V i e w   d o c u m e n t a t i o n   f o r   s u p p o r t e d   s i g n e r   n a m e s   f o r   m o r e   i n f o r m a t i o n .   T h e   C S R   s h o u l d   n o w   b e   v i s i b l e   f r o m   t h e   A P I   i n   a   P e n d i n g   s t a t e .   Y o u   c a n   s e e   i t   b y   r u n n i n g :   k u b e c t l   d e s c r i b e   c s r   m y - s v c . m y - n a m e s p a c e   N a m e :   m y - s v c . m y - n a m e s p a c e   L a b e l s :   < n o n e >   A n n o t a t i o n s :   < n o n e >   C r e a t i o n T i m e s t a m p :   T u e ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19157"
  },
  {
    "question": "What is Get the CertificateSigningRequest approved?",
    "answer": "A p p r o v i n g   t h e   c e r t i f i c a t e   s i g n i n g   r e q u e s t   i s   e i t h e r   d o n e   b y   a n   a u t o m a t e d   a p p r o v a l   p r o c e s s   o r   o n   a   o n e   o f f   b a s i s   b y   a   c l u s t e r   a d m i n i s t r a t o r .   I f   y o u ' r e   a u t h o r i z e d   t o   a p p r o v e   a   c e r t i f i c a t e   r e q u e s t ,   y o u   c a n   d o   t h a t   m a n u a l l y   u s i n g   k u b e c t l ;   f o r   e x a m p l e :   k u b e c t l   c e r t i f i c a t e   a p p r o v e   m y - s v c . m y - n a m e s p a c e   c e r t i f i c a t e s i g n i n g r e q u e s t . c e r t i f i c a t e s . k 8 s . i o / m y - s v c . m y - n a m e s p a c e   a p p r o v e d   Y o u   s h o u l d   n o w   s e e   t h e   f o l l o w i n g :   k u b e c t l   g e t   c s r   N A M E   A G E   S I G N E R N A M E   R E Q U E S T O R   R E Q U E S T E D D U R A T I O N   C O N D I T I O N   m y - s v c . m y - n a m e s p a c e   1 0 m   e x a m p l e . c o m / s e r v i n g   y o u r n a m e @ e x a m p l e . c o m   < n o n e >   A p p r o v e d   T h i s   m e a n s   t h e   c e r t i f i c a t e   r e q u e s t   h a s   b e e n   a p p r o v e d   a n d   i s   w a i t i n g   f o r   t h e   r e q u e s t e d   s i g n e r   t o   s i g n   i t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19158"
  },
  {
    "question": "What is Sign the CertificateSigningRequest?",
    "answer": "N e x t ,   y o u ' l l   p l a y   t h e   p a r t   o f   a   c e r t i f i c a t e   s i g n e r ,   i s s u e   t h e   c e r t i f i c a t e ,   a n d   u p l o a d   i t   t o   t h e   A P I .   A   s i g n e r   w o u l d   t y p i c a l l y   w a t c h   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   A P I   f o r   o b j e c t s   w i t h   i t s   s i g n e r N a m e ,   c h e c k   t h a t   t h e y   h a v e   b e e n   a p p r o v e d ,   s i g n   c e r t i f i c a t e s   f o r   t h o s e   r e q u e s t s ,   a n d   u p d a t e   t h e   A P I   o b j e c t   s t a t u s   w i t h   t h e   i s s u e d   c e r t i f i c a t e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19159"
  },
  {
    "question": "What is Create a Certificate Authority?",
    "answer": "Y o u   n e e d   a n   a u t h o r i t y   t o   p r o v i d e   t h e   d i g i t a l   s i g n a t u r e   o n   t h e   n e w   c e r t i f i c a t e .   F i r s t ,   c r e a t e   a   s i g n i n g   c e r t i f i c a t e   b y   r u n n i n g   t h e   f o l l o w i n g :   c a t   < < E O F   |   c f s s l   g e n c e r t   - i n i t c a   -   |   c f s s l j s o n   - b a r e   c a   {   \" C N \" :   \" M y   E x a m p l e   S i g n e r \" ,   \" k e y \" :   {   \" a l g o \" :   \" r s a \" ,   \" s i z e \" :   2 0 4 8   }   }   E O F   Y o u   s h o u l d   s e e   o u t p u t   s i m i l a r   t o :   2 0 2 2 / 0 2 / 0 1   1 1 : 5 0 : 3 9   [ I N F O ]   g e n e r a t i n g   a   n e w   C A   k e y   a n d   c e r t i f i c a t e   f r o m   C S R   2 0 2 2 / 0 2 / 0 1   1 1 : 5 0 : 3 9   [ I N F O ]   g e n e r a t e   r e c e i v e d   r e q u e s t   2 0 2 2 / 0 2 / 0 1   1 1 : 5 0 : 3 9   [ I N F O ]   r e c e i v e d   C S R   2 0 2 2 / 0 2 / 0 1   1 1 : 5 0 : 3 9   [ I N F O ]   g e n e r a t i n g   k e y :   r s a - 2 0 4 8   2 0 2 2 / 0 2 / 0 1   1 1 : 5 0 : 3 9   [ I N F O ]   e n c o d e d   C S R   2 0 2 2 / 0 2 / 0 1   1 1 : 5 0 : 3 9   [ I N F O ]   s i g n e d   c e r t i f i c a t e   w i t h   s e r i a l   n u m b e r   2 6 3 9 8 3 1 5 1 0 1 3 6 8 6 7 2 0 8 9 9 7 1 6 3 5 4 3 4 9 6 0 5 5 0 0 7 9 7 8 3 4 5 8 0 4 7 2   T h i s   p r o d u c e s   a   c e r t i f i c a t e   a u t h o r i t y   k e y   f i l e   ( c a - k e y . p e m )   a n d   c e r t i f i c a t e   ( c a . p e m ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19160"
  },
  {
    "question": "What is Issue a certificate?",
    "answer": "{   \" s i g n i n g \" :   {   \" d e f a u l t \" :   {   \" u s a g e s \" :   [   \" d i g i t a l   s i g n a t u r e \" ,   \" k e y   e n c i p h e r m e n t \" ,   \" s e r v e r   a u t h \"   ] ,   \" e x p i r y \" :   \" 8 7 6 0 0 0 h \" ,   \" c a _ c o n s t r a i n t \" :   {   \" i s _ c a \" :   f a l s e   }   }   }   }   U s e   a   s e r v e r - s i g n i n g - c o n f i g . j s o n   s i g n i n g   c o n f i g u r a t i o n   a n d   t h e   c e r t i f i c a t e   a u t h o r i t y   k e y   f i l e   a n d   c e r t i f i c a t e   t o   s i g n   t h e   c e r t i f i c a t e   r e q u e s t :   k u b e c t l   g e t   c s r   m y - s v c . m y - n a m e s p a c e   - o   j s o n p a t h = ' { . s p e c . r e q u e s t } '   |   \\   b a s e 6 4   - - d e c o d e   |   \\   c f s s l   s i g n   - c a   c a . p e m   - c a - k e y   c a - k e y . p e m   - c o n f i g   s e r v e r - s i g n i n g - c o n f i g . j s o n   -   |   \\   c f s s l j s o n   - b a r e   c a - s i g n e d - s e r v e r   Y o u   s h o u l d   s e e   t h e   o u t p u t   s i m i l a r   t o :   2 0 2 2 / 0 2 / 0 1   1 1 : 5 2 : 2 6   [ I N F O ]   s i g n e d   c e r t i f i c a t e   w i t h   s e r i a l   n u m b e r   5 7 6 0 4 8 9 2 8 6 2 4 9 2 6 5 8 4 3 8 1 4 1 5 9 3 6 7 0 0 9 1 4 5 3 0 5 3 4 4 7 2 8 7 0 3 3 7   T h i s   p r o d u c e s   a   s i g n e d   s e r v i n g   c e r t i f i c a t e   f i l e ,   c a - s i g n e d - s e r v e r . p e m .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19161"
  },
  {
    "question": "What is Upload the signed certificate?",
    "answer": "F i n a l l y ,   p o p u l a t e   t h e   s i g n e d   c e r t i f i c a t e   i n   t h e   A P I   o b j e c t ' s   s t a t u s :   k u b e c t l   g e t   c s r   m y - s v c . m y - n a m e s p a c e   - o   j s o n   |   \\   j q   ' . s t a t u s . c e r t i f i c a t e   =   \" ' $ ( b a s e 6 4   c a - s i g n e d - s e r v e r . p e m   |   t r   - d   ' \\ n ' ) ' \" '   |   \\   k u b e c t l   r e p l a c e   - - r a w   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / m y - s v c . m y - n a m e s p a c e / s t a t u s   - f   -",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19162"
  },
  {
    "question": "What is Note:?",
    "answer": "O n c e   t h e   C S R   i s   a p p r o v e d   a n d   t h e   s i g n e d   c e r t i f i c a t e   i s   u p l o a d e d ,   r u n :   k u b e c t l   g e t   c s r   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   A G E   S I G N E R N A M E   R E Q U E S T O R   R E Q U E S T E D D U R A T I O N   C O N D I T I O N   m y - s v c . m y - n a m e s p a c e   2 0 m   e x a m p l e . c o m / s e r v i n g   y o u r n a m e @ e x a m p l e . c o m   < n o n e >   A p p r o v e d , I s s u e d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19163"
  },
  {
    "question": "What is Download the certificate and use it?",
    "answer": "N o w ,   a s   t h e   r e q u e s t i n g   u s e r ,   y o u   c a n   d o w n l o a d   t h e   i s s u e d   c e r t i f i c a t e   a n d   s a v e   i t   t o   a   s e r v e r . c r t   f i l e   b y   r u n n i n g   t h e   f o l l o w i n g :   k u b e c t l   g e t   c s r   m y - s v c . m y - n a m e s p a c e   - o   j s o n p a t h = ' { . s t a t u s . c e r t i f i c a t e } '   \\   |   b a s e 6 4   - - d e c o d e   >   s e r v e r . c r t   N o w   y o u   c a n   p o p u l a t e   s e r v e r . c r t   a n d   s e r v e r - k e y . p e m   i n   a   S e c r e t   t h a t   y o u   c o u l d   l a t e r   m o u n t   i n t o   a   P o d   ( f o r   e x a m p l e ,   t o   u s e   w i t h   a   w e b s e r v e r   t h a t   s e r v e s   H T T P S ) .   k u b e c t l   c r e a t e   s e c r e t   t l s   s e r v e r   - - c e r t   s e r v e r . c r t   - - k e y   s e r v e r - k e y . p e m   s e c r e t / s e r v e r   c r e a t e d   F i n a l l y ,   y o u   c a n   p o p u l a t e   c a . p e m   i n t o   a   C o n f i g M a p   a n d   u s e   i t   a s   t h e   t r u s t   r o o t   t o   v e r i f y   t h e   s e r v i n g   c e r t i f i c a t e :   k u b e c t l   c r e a t e   c o n f i g m a p   e x a m p l e - s e r v i n g - c a   - - f r o m - f i l e   c a . c r t = c a . p e m   c o n f i g m a p / e x a m p l e - s e r v i n g - c a   c r e a t e d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19164"
  },
  {
    "question": "What is Approving CertificateSigningRequests?",
    "answer": "A   K u b e r n e t e s   a d m i n i s t r a t o r   ( w i t h   a p p r o p r i a t e   p e r m i s s i o n s )   c a n   m a n u a l l y   a p p r o v e   ( o r   d e n y )   C e r t i f i c a t e S i g n i n g R e q u e s t s   b y   u s i n g   t h e   k u b e c t l   c e r t i f i c a t e   a p p r o v e   a n d   k u b e c t l   c e r t i f i c a t e   d e n y   c o m m a n d s .   H o w e v e r   i f   y o u   i n t e n d   t o   m a k e   h e a v y   u s a g e   o f   t h i s   A P I ,   y o u   m i g h t   c o n s i d e r   w r i t i n g   a n   a u t o m a t e d   c e r t i f i c a t e s   c o n t r o l l e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19165"
  },
  {
    "question": "What is Caution:?",
    "answer": "T h e   a b i l i t y   t o   a p p r o v e   C S R s   d e c i d e s   w h o   t r u s t s   w h o m   w i t h i n   y o u r   e n v i r o n m e n t .   T h e   a b i l i t y   t o   a p p r o v e   C S R s   s h o u l d   n o t   b e   g r a n t e d   b r o a d l y   o r   l i g h t l y .   Y o u   s h o u l d   m a k e   s u r e   t h a t   y o u   c o n f i d e n t l y   u n d e r s t a n d   b o t h   t h e   v e r i f i c a t i o n   r e q u i r e m e n t s   t h a t   f a l l   o n   t h e   a p p r o v e r   a n d   t h e   r e p e r c u s s i o n s   o f   i s s u i n g   a   s p e c i f i c   c e r t i f i c a t e   b e f o r e   y o u   g r a n t   t h e   a p p r o v e   p e r m i s s i o n .   W h e t h e r   a   m a c h i n e   o r   a   h u m a n   u s i n g   k u b e c t l   a s   a b o v e ,   t h e   r o l e   o f   t h e   a p p r o v e r   i s   t o   v e r i f y   t h a t   t h e   C S R   s a t i s f i e s   t w o   r e q u i r e m e n t s :   T h e   s u b j e c t   o f   t h e   C S R   c o n t r o l s   t h e   p r i v a t e   k e y   u s e d   t o   s i g n   t h e   C S R .   T h i s   a d d r e s s e s   t h e   t h r e a t   o f   a   t h i r d   p a r t y   m a s q u e r a d i n g   a s   a n   a u t h o r i z e d   s u b j e c t .   I n   t h e   a b o v e   e x a m p l e ,   t h i s   s t e p   w o u l d   b e   t o   v e r i f y   t h a t   t h e   p o d   c o n t r o l s   t h e   p r i v a t e   k e y   u s e d   t o   g e n e r a t e   t h e   C S R . T h e   s u b j e c t   o f   t h e   C S R   i s   a u t h o r i z e d   t o   a c t   i n   t h e   r e q u e s t e d   c o n t e x t .   T h i s   a d d r e s s e s   t h e   t h r e a t   o f   a n   u n d e s i r e d   s u b j e c t   j o i n i n g   t h e   c l u s t e r .   I n   t h e   a b o v e   e x a m p l e ,   t h i s   s t e p   w o u l d   b e   t o   v e r i f y   t h a t   t h e   p o d   i s   a l l o w e d   t o   p a r t i c i p a t e   i n   t h e   r e q u e s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19166"
  },
  {
    "question": "What is Configuring your cluster to provide signing?",
    "answer": "T h i s   p a g e   a s s u m e s   t h a t   a   s i g n e r   i s   s e t   u p   t o   s e r v e   t h e   c e r t i f i c a t e s   A P I .   T h e   K u b e r n e t e s   c o n t r o l l e r   m a n a g e r   p r o v i d e s   a   d e f a u l t   i m p l e m e n t a t i o n   o f   a   s i g n e r .   T o   e n a b l e   i t ,   p a s s   t h e   - - c l u s t e r - s i g n i n g - c e r t - f i l e   a n d   - - c l u s t e r - s i g n i n g - k e y - f i l e   p a r a m e t e r s   t o   t h e   c o n t r o l l e r   m a n a g e r   w i t h   p a t h s   t o   y o u r   C e r t i f i c a t e   A u t h o r i t y ' s   k e y p a i r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19167"
  },
  {
    "question": "What is 12.4 - Manual Rotation of CA Certificates?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   m a n u a l l y   r o t a t e   t h e   c e r t i f i c a t e   a u t h o r i t y   ( C A )   c e r t i f i c a t e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_19168"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   F o r   m o r e   i n f o r m a t i o n   a b o u t   a u t h e n t i c a t i o n   i n   K u b e r n e t e s ,   s e e   A u t h e n t i c a t i n g . F o r   m o r e   i n f o r m a t i o n   a b o u t   b e s t   p r a c t i c e s   f o r   C A   c e r t i f i c a t e s ,   s e e   S i n g l e   r o o t   C A .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19169"
  },
  {
    "question": "What is Caution:?",
    "answer": "M a k e   s u r e   t o   b a c k   u p   y o u r   c e r t i f i c a t e   d i r e c t o r y   a l o n g   w i t h   c o n f i g u r a t i o n   f i l e s   a n d   a n y   o t h e r   n e c e s s a r y   f i l e s .   T h i s   a p p r o a c h   a s s u m e s   o p e r a t i o n   o f   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   i n   a   H A   c o n f i g u r a t i o n   w i t h   m u l t i p l e   A P I   s e r v e r s .   G r a c e f u l   t e r m i n a t i o n   o f   t h e   A P I   s e r v e r   i s   a l s o   a s s u m e d   s o   c l i e n t s   c a n   c l e a n l y   d i s c o n n e c t   f r o m   o n e   A P I   s e r v e r   a n d   r e c o n n e c t   t o   a n o t h e r .   C o n f i g u r a t i o n s   w i t h   a   s i n g l e   A P I   s e r v e r   w i l l   e x p e r i e n c e   u n a v a i l a b i l i t y   w h i l e   t h e   A P I   s e r v e r   i s   b e i n g   r e s t a r t e d .   D i s t r i b u t e   t h e   n e w   C A   c e r t i f i c a t e s   a n d   p r i v a t e   k e y s   ( f o r   e x a m p l e :   c a . c r t ,   c a . k e y ,   f r o n t - p r o x y - c a . c r t ,   a n d   f r o n t - p r o x y - c a . k e y )   t o   a l l   y o u r   c o n t r o l   p l a n e   n o d e s   i n   t h e   K u b e r n e t e s   c e r t i f i c a t e s   d i r e c t o r y . U p d a t e   t h e   - - r o o t - c a - f i l e   f l a g   f o r   t h e   k u b e - c o n t r o l l e r - m a n a g e r   t o   i n c l u d e   b o t h   o l d   a n d   n e w   C A ,   t h e n   r e s t a r t   t h e   k u b e - c o n t r o l l e r - m a n a g e r . A n y   S e r v i c e A c c o u n t   c r e a t e d   a f t e r   t h i s   p o i n t   w i l l   g e t   S e c r e t s   t h a t   i n c l u d e   b o t h   o l d   a n d   n e w   C A s . N o t e : T h e   f i l e s   s p e c i f i e d   b y   t h e   k u b e - c o n t r o l l e r - m a n a g e r   f l a g s   - - c l i e n t - c a - f i l e   a n d   - - c l u s t e r - s i g n i n g ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19170"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   f i l e s   s p e c i f i e d   b y   t h e   k u b e - c o n t r o l l e r - m a n a g e r   f l a g s   - - c l i e n t - c a - f i l e   a n d   - - c l u s t e r - s i g n i n g - c e r t - f i l e   c a n n o t   b e   C A   b u n d l e s .   I f   t h e s e   f l a g s   a n d   - - r o o t - c a - f i l e   p o i n t   t o   t h e   s a m e   c a . c r t   f i l e   w h i c h   i s   n o w   a   b u n d l e   ( i n c l u d e s   b o t h   o l d   a n d   n e w   C A )   y o u   w i l l   f a c e   a n   e r r o r .   T o   w o r k a r o u n d   t h i s   p r o b l e m   y o u   c a n   c o p y   t h e   n e w   C A   t o   a   s e p a r a t e   f i l e   a n d   m a k e   t h e   f l a g s   - - c l i e n t - c a - f i l e   a n d   - - c l u s t e r - s i g n i n g - c e r t - f i l e   p o i n t   t o   t h e   c o p y .   O n c e   c a . c r t   i s   n o   l o n g e r   a   b u n d l e   y o u   c a n   r e s t o r e   t h e   p r o b l e m   f l a g s   t o   p o i n t   t o   c a . c r t   a n d   d e l e t e   t h e   c o p y .   I s s u e   1 3 5 0   f o r   k u b e a d m   t r a c k s   a n   b u g   w i t h   t h e   k u b e - c o n t r o l l e r - m a n a g e r   b e i n g   u n a b l e   t o   a c c e p t   a   C A   b u n d l e .   W a i t   f o r   t h e   c o n t r o l l e r   m a n a g e r   t o   u p d a t e   c a . c r t   i n   t h e   s e r v i c e   a c c o u n t   S e c r e t s   t o   i n c l u d e   b o t h   o l d   a n d   n e w   C A   c e r t i f i c a t e s .   I f   a n y   P o d s   a r e   s t a r t e d   b e f o r e   n e w   C A   i s   u s e d   b y   A P I   s e r v e r s ,   t h e   n e w   P o d s   g e t   t h i s   u p d a t e   a n d   w i l l   t r u s t   b o t h   o l d   a n d   n e w   C A s .   R e s t a r t   a l l   p o d s   u s i n g   i n - c l u s t e r   c o n f i g u r a t i o n s   ( f o r   e x a m p l e :   k u b e - p r o x y ,   C o r e D N S ,   e t c )   s o   t h e y   c a n   u s e   t h ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19171"
  },
  {
    "question": "What is Note:?",
    "answer": "F o l l o w   t h e   s t e p s   b e l o w   i n   a   r o l l i n g   f a s h i o n .   R e s t a r t   a n y   o t h e r   a g g r e g a t e d   A P I   s e r v e r s   o r   w e b h o o k   h a n d l e r s   t o   t r u s t   t h e   n e w   C A   c e r t i f i c a t e s . R e s t a r t   t h e   k u b e l e t   b y   u p d a t e   t h e   f i l e   a g a i n s t   c l i e n t C A F i l e   i n   k u b e l e t   c o n f i g u r a t i o n   a n d   c e r t i f i c a t e - a u t h o r i t y - d a t a   i n   k u b e l e t . c o n f   t o   u s e   b o t h   t h e   o l d   a n d   n e w   C A   o n   a l l   n o d e s . I f   y o u r   k u b e l e t   i s   n o t   u s i n g   c l i e n t   c e r t i f i c a t e   r o t a t i o n ,   u p d a t e   c l i e n t - c e r t i f i c a t e - d a t a   a n d   c l i e n t - k e y - d a t a   i n   k u b e l e t . c o n f   o n   a l l   n o d e s   a l o n g   w i t h   t h e   k u b e l e t   c l i e n t   c e r t i f i c a t e   f i l e   u s u a l l y   f o u n d   i n   / v a r / l i b / k u b e l e t / p k i . R e s t a r t   A P I   s e r v e r s   w i t h   t h e   c e r t i f i c a t e s   ( a p i s e r v e r . c r t ,   a p i s e r v e r - k u b e l e t - c l i e n t . c r t   a n d   f r o n t - p r o x y - c l i e n t . c r t )   s i g n e d   b y   n e w   C A .   Y o u   c a n   u s e   t h e   e x i s t i n g   p r i v a t e   k e y s   o r   n e w   p r i v a t e   k e y s .   I f   y o u   c h a n g e d   t h e   p r i v a t e   k e y s   t h e n   u p d a t e   t h e s e   i n   t h e   K u b e r n e t e s   c e r t i f i c a t e s   d i r e c t o r y   a s   w e l l . S i n c e   t h e   P o d s   i n   y o u r   c l u s t e r   t r u s t   b o t h   o l d   a n d   n e w   C A s ,   t h e r e   w i l l   b e   a   m o m e n t a r i l y   d i s c o n n e c t i o n   a f t e r   w h i c h   p o d s '   K u b e r n e t e s   c l i e n t s   r e c o n n e c t   t o   t h e   n e w   A P I   s e r v e r .   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19172"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   g e n e r a t e   c e r t i f i c a t e s   a n d   p r i v a t e   k e y s   f o r   y o u r   c l u s t e r   u s i n g   t h e   ` o p e n s s l `   c o m m a n d   l i n e   t o o l ,   s e e   [ C e r t i f i c a t e s   ( ` o p e n s s l ` ) ] ( / d o c s / t a s k s / a d m i n i s t e r - c l u s t e r / c e r t i f i c a t e s / # o p e n s s l ) .   Y o u   c a n   a l s o   u s e   [ ` c f s s l ` ] ( / d o c s / t a s k s / a d m i n i s t e r - c l u s t e r / c e r t i f i c a t e s / # c f s s l ) .   A n n o t a t e   a n y   D a e m o n S e t s   a n d   D e p l o y m e n t s   t o   t r i g g e r   p o d   r e p l a c e m e n t   i n   a   s a f e r   r o l l i n g   f a s h i o n .   f o r   n a m e s p a c e   i n   $ ( k u b e c t l   g e t   n a m e s p a c e   - o   j s o n p a t h = ' { . i t e m s [ * ] . m e t a d a t a . n a m e } ' ) ;   d o   f o r   n a m e   i n   $ ( k u b e c t l   g e t   d e p l o y m e n t s   - n   $ n a m e s p a c e   - o   j s o n p a t h = ' { . i t e m s [ * ] . m e t a d a t a . n a m e } ' ) ;   d o   k u b e c t l   p a t c h   d e p l o y m e n t   - n   $ { n a m e s p a c e }   $ { n a m e }   - p   ' { \" s p e c \" : { \" t e m p l a t e \" : { \" m e t a d a t a \" : { \" a n n o t a t i o n s \" : { \" c a - r o t a t i o n \" :   \" 1 \" } } } } } ' ;   d o n e   f o r   n a m e   i n   $ ( k u b e c t l   g e t   d a e m o n s e t   - n   $ n a m e s p a c e   - o   j s o n p a t h = ' { . i t e m s [ * ] . m e t a d a t a . n a m e } ' ) ;   d o   k u b e c t l   p a t c h   d a e m o n s e t   - n   $ { n a m e s p a c e }   $ { n a m e }   - p   ' { \" s p e c \" : { \" t e m p l a t e \" : { \" m e t a d a t a \" : { \" a n n o t a t i o n s \" : { \" c a - r o t a t i o n \" :   \" 1 \" } } } } } ' ;   d o n e   d o n e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19173"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   l i m i t   t h e   n u m b e r   o f   c o n c u r r e n t   d i s r u p t i o n s   t h a t   y o u r   a p p l i c a t i o n   e x p e r i e n c e s ,   s e e   [ c o n f i g u r e   p o d   d i s r u p t i o n   b u d g e t ] ( / d o c s / t a s k s / r u n - a p p l i c a t i o n / c o n f i g u r e - p d b / ) .   D e p e n d i n g   o n   h o w   y o u   u s e   S t a t e f u l S e t s   y o u   m a y   a l s o   n e e d   t o   p e r f o r m   s i m i l a r   r o l l i n g   r e p l a c e m e n t .   I f   y o u r   c l u s t e r   i s   u s i n g   b o o t s t r a p   t o k e n s   t o   j o i n   n o d e s ,   u p d a t e   t h e   C o n f i g M a p   c l u s t e r - i n f o   i n   t h e   k u b e - p u b l i c   n a m e s p a c e   w i t h   n e w   C A .   b a s e 6 4 _ e n c o d e d _ c a = \" $ ( b a s e 6 4   - w 0   / e t c / k u b e r n e t e s / p k i / c a . c r t ) \"   k u b e c t l   g e t   c m / c l u s t e r - i n f o   - - n a m e s p a c e   k u b e - p u b l i c   - o   y a m l   |   \\   / b i n / s e d   \" s / \\ ( c e r t i f i c a t e - a u t h o r i t y - d a t a : \\ ) . * / \\ 1   $ { b a s e 6 4 _ e n c o d e d _ c a } / \"   |   \\   k u b e c t l   a p p l y   - f   -   V e r i f y   t h e   c l u s t e r   f u n c t i o n a l i t y .   C h e c k   t h e   l o g s   f r o m   c o n t r o l   p l a n e   c o m p o n e n t s ,   a l o n g   w i t h   t h e   k u b e l e t   a n d   t h e   k u b e - p r o x y .   E n s u r e   t h o s e   c o m p o n e n t s   a r e   n o t   r e p o r t i n g   a n y   T L S   e r r o r s ;   s e e   l o o k i n g   a t   t h e   l o g s   f o r   m o r e   d e t a i l s . V a l i d a t e   l o g s   f r o m   a n y   a g g r e g a t e d   a p i   s e r v e r s   a n d   p o d s   u s i n g   i n - c l u s t e r   c o n f i g .   C h e c k   t h e   l o g s   f r o m   c o n t r o l   p l a n e   c o m p o n e n t s ,   a l o n g   w i t h   t h e   k u b e l e t   a n d   t h e   k u b e - p r o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19174"
  },
  {
    "question": "What is 13.1 - Building a Basic DaemonSet?",
    "answer": "T h i s   p a g e   d e m o n s t r a t e s   h o w   t o   b u i l d   a   b a s i c   D a e m o n S e t   t h a t   r u n s   a   P o d   o n   e v e r y   n o d e   i n   a   K u b e r n e t e s   c l u s t e r .   I t   c o v e r s   a   s i m p l e   u s e   c a s e   o f   m o u n t i n g   a   f i l e   f r o m   t h e   h o s t ,   l o g g i n g   i t s   c o n t e n t s   u s i n g   a n   i n i t   c o n t a i n e r ,   a n d   u t i l i z i n g   a   p a u s e   c o n t a i n e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_19175"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   A   K u b e r n e t e s   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   ( o n e   c o n t r o l   p l a n e   n o d e   a n d   o n e   w o r k e r   n o d e )   t o   d e m o n s t r a t e   t h e   b e h a v i o r   o f   D a e m o n S e t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19176"
  },
  {
    "question": "What is Define the DaemonSet?",
    "answer": "I n   t h i s   t a s k ,   a   b a s i c   D a e m o n S e t   i s   c r e a t e d   w h i c h   e n s u r e s   t h a t   t h e   c o p y   o f   a   P o d   i s   s c h e d u l e d   o n   e v e r y   n o d e .   T h e   P o d   w i l l   u s e   a n   i n i t   c o n t a i n e r   t o   r e a d   a n d   l o g   t h e   c o n t e n t s   o f   / e t c / m a c h i n e - i d   f r o m   t h e   h o s t ,   w h i l e   t h e   m a i n   c o n t a i n e r   w i l l   b e   a   p a u s e   c o n t a i n e r ,   w h i c h   k e e p s   t h e   P o d   r u n n i n g .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D a e m o n S e t   m e t a d a t a :   n a m e :   e x a m p l e - d a e m o n s e t   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   e x a m p l e   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   p a u s e   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e   i n i t C o n t a i n e r s :   -   n a m e :   l o g - m a c h i n e - i d   i m a g e :   b u s y b o x : 1 . 3 7   c o m m a n d :   [ ' s h ' ,   ' - c ' ,   ' c a t   / e t c / m a c h i n e - i d   >   / v a r / l o g / m a c h i n e - i d . l o g ' ]   v o l u m e M o u n t s :   -   n a m e :   m a c h i n e - i d   m o u n t P a t h :   / e t c / m a c h i n e - i d   r e a d O n l y :   t r u e   -   n a m e :   l o g - d i r   m o u n t P a t h :   / v a r / l o g   v o l u m e s :   -   n a m e :   m a c h i n e - i d   h o s t P a t h :   p a t h :   / e t c / m a c h i n e - i d   t y p e :   F i l e   -   n a m e :   l o g - d i r   h o s t P a t h :   p a t h :   / v a r / l o g   C r e a t e   a   D a e m o n S e t   b a s e d   o n   t h e   ( Y A M L )   m a n i f e s t : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / b a s i c - d ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19177"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "T o   d e l e t e   t h e   D a e m o n S e t ,   r u n   t h i s   c o m m a n d :   k u b e c t l   d e l e t e   - - c a s c a d e = f o r e g r o u n d   - - i g n o r e - n o t - f o u n d   - - n o w   d a e m o n s e t s / e x a m p l e - d a e m o n s e t   T h i s   s i m p l e   D a e m o n S e t   e x a m p l e   i n t r o d u c e s   k e y   c o m p o n e n t s   l i k e   i n i t   c o n t a i n e r s   a n d   h o s t   p a t h   v o l u m e s ,   w h i c h   c a n   b e   e x p a n d e d   u p o n   f o r   m o r e   a d v a n c e d   u s e   c a s e s .   F o r   m o r e   d e t a i l s   r e f e r   t o   D a e m o n S e t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19178"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   P e r f o r m i n g   a   r o l l i n g   u p d a t e   o n   a   D a e m o n S e t S e e   C r e a t i n g   a   D a e m o n S e t   t o   a d o p t   e x i s t i n g   D a e m o n S e t   p o d s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19179"
  },
  {
    "question": "What is 13.2 - Perform a Rolling Update on a DaemonSet?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   p e r f o r m   a   r o l l i n g   u p d a t e   o n   a   D a e m o n S e t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_19180"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19181"
  },
  {
    "question": "What is DaemonSet Update Strategy?",
    "answer": "D a e m o n S e t   h a s   t w o   u p d a t e   s t r a t e g y   t y p e s :   O n D e l e t e :   W i t h   O n D e l e t e   u p d a t e   s t r a t e g y ,   a f t e r   y o u   u p d a t e   a   D a e m o n S e t   t e m p l a t e ,   n e w   D a e m o n S e t   p o d s   w i l l   o n l y   b e   c r e a t e d   w h e n   y o u   m a n u a l l y   d e l e t e   o l d   D a e m o n S e t   p o d s .   T h i s   i s   t h e   s a m e   b e h a v i o r   o f   D a e m o n S e t   i n   K u b e r n e t e s   v e r s i o n   1 . 5   o r   b e f o r e . R o l l i n g U p d a t e :   T h i s   i s   t h e   d e f a u l t   u p d a t e   s t r a t e g y . W i t h   R o l l i n g U p d a t e   u p d a t e   s t r a t e g y ,   a f t e r   y o u   u p d a t e   a   D a e m o n S e t   t e m p l a t e ,   o l d   D a e m o n S e t   p o d s   w i l l   b e   k i l l e d ,   a n d   n e w   D a e m o n S e t   p o d s   w i l l   b e   c r e a t e d   a u t o m a t i c a l l y ,   i n   a   c o n t r o l l e d   f a s h i o n .   A t   m o s t   o n e   p o d   o f   t h e   D a e m o n S e t   w i l l   b e   r u n n i n g   o n   e a c h   n o d e   d u r i n g   t h e   w h o l e   u p d a t e   p r o c e s s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19182"
  },
  {
    "question": "What is Performing a Rolling Update?",
    "answer": "T o   e n a b l e   t h e   r o l l i n g   u p d a t e   f e a t u r e   o f   a   D a e m o n S e t ,   y o u   m u s t   s e t   i t s   . s p e c . u p d a t e S t r a t e g y . t y p e   t o   R o l l i n g U p d a t e .   Y o u   m a y   w a n t   t o   s e t   . s p e c . u p d a t e S t r a t e g y . r o l l i n g U p d a t e . m a x U n a v a i l a b l e   ( d e f a u l t   t o   1 ) ,   . s p e c . m i n R e a d y S e c o n d s   ( d e f a u l t   t o   0 )   a n d   . s p e c . u p d a t e S t r a t e g y . r o l l i n g U p d a t e . m a x S u r g e   ( d e f a u l t s   t o   0 )   a s   w e l l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19183"
  },
  {
    "question": "What is Creating a DaemonSet with RollingUpdate update strategy?",
    "answer": "T h i s   Y A M L   f i l e   s p e c i f i e s   a   D a e m o n S e t   w i t h   a n   u p d a t e   s t r a t e g y   a s   ' R o l l i n g U p d a t e '   a p i V e r s i o n :   a p p s / v 1   k i n d :   D a e m o n S e t   m e t a d a t a :   n a m e :   f l u e n t d - e l a s t i c s e a r c h   n a m e s p a c e :   k u b e - s y s t e m   l a b e l s :   k 8 s - a p p :   f l u e n t d - l o g g i n g   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   n a m e :   f l u e n t d - e l a s t i c s e a r c h   u p d a t e S t r a t e g y :   t y p e :   R o l l i n g U p d a t e   r o l l i n g U p d a t e :   m a x U n a v a i l a b l e :   1   t e m p l a t e :   m e t a d a t a :   l a b e l s :   n a m e :   f l u e n t d - e l a s t i c s e a r c h   s p e c :   t o l e r a t i o n s :   #   t h e s e   t o l e r a t i o n s   a r e   t o   h a v e   t h e   d a e m o n s e t   r u n n a b l e   o n   c o n t r o l   p l a n e   n o d e s   #   r e m o v e   t h e m   i f   y o u r   c o n t r o l   p l a n e   n o d e s   s h o u l d   n o t   r u n   p o d s   -   k e y :   n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e   o p e r a t o r :   E x i s t s   e f f e c t :   N o S c h e d u l e   -   k e y :   n o d e - r o l e . k u b e r n e t e s . i o / m a s t e r   o p e r a t o r :   E x i s t s   e f f e c t :   N o S c h e d u l e   c o n t a i n e r s :   -   n a m e :   f l u e n t d - e l a s t i c s e a r c h   i m a g e :   q u a y . i o / f l u e n t d _ e l a s t i c s e a r c h / f l u e n t d : v 5 . 0 . 1   v o l u m e M o u n t s :   -   n a m e :   v a r l o g   m o u n t P a t h :   / v a r / l o g   -   n a m e :   v a r l i b d o c k e r c o n t a i n e r s   m o u n t P a t h :   / v a r / l i b / d o c k e r / c o n t a i n e r s   r e a d O n l y :   t r u e   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s :   3 0   v o l u m e s :   -   n a m e :   v a r l o g   h o s t P a t h : ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19184"
  },
  {
    "question": "What is Checking DaemonSet RollingUpdate update strategy?",
    "answer": "C h e c k   t h e   u p d a t e   s t r a t e g y   o f   y o u r   D a e m o n S e t ,   a n d   m a k e   s u r e   i t ' s   s e t   t o   R o l l i n g U p d a t e :   k u b e c t l   g e t   d s / f l u e n t d - e l a s t i c s e a r c h   - o   g o - t e m p l a t e = ' { { . s p e c . u p d a t e S t r a t e g y . t y p e } } { { \" \\ n \" } } '   - n   k u b e - s y s t e m   I f   y o u   h a v e n ' t   c r e a t e d   t h e   D a e m o n S e t   i n   t h e   s y s t e m ,   c h e c k   y o u r   D a e m o n S e t   m a n i f e s t   w i t h   t h e   f o l l o w i n g   c o m m a n d   i n s t e a d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / c o n t r o l l e r s / f l u e n t d - d a e m o n s e t . y a m l   - - d r y - r u n = c l i e n t   - o   g o - t e m p l a t e = ' { { . s p e c . u p d a t e S t r a t e g y . t y p e } } { { \" \\ n \" } } '   T h e   o u t p u t   f r o m   b o t h   c o m m a n d s   s h o u l d   b e :   R o l l i n g U p d a t e   I f   t h e   o u t p u t   i s n ' t   R o l l i n g U p d a t e ,   g o   b a c k   a n d   m o d i f y   t h e   D a e m o n S e t   o b j e c t   o r   m a n i f e s t   a c c o r d i n g l y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19185"
  },
  {
    "question": "What is Updating a DaemonSet template?",
    "answer": "A n y   u p d a t e s   t o   a   R o l l i n g U p d a t e   D a e m o n S e t   . s p e c . t e m p l a t e   w i l l   t r i g g e r   a   r o l l i n g   u p d a t e .   L e t ' s   u p d a t e   t h e   D a e m o n S e t   b y   a p p l y i n g   a   n e w   Y A M L   f i l e .   T h i s   c a n   b e   d o n e   w i t h   s e v e r a l   d i f f e r e n t   k u b e c t l   c o m m a n d s .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D a e m o n S e t   m e t a d a t a :   n a m e :   f l u e n t d - e l a s t i c s e a r c h   n a m e s p a c e :   k u b e - s y s t e m   l a b e l s :   k 8 s - a p p :   f l u e n t d - l o g g i n g   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   n a m e :   f l u e n t d - e l a s t i c s e a r c h   u p d a t e S t r a t e g y :   t y p e :   R o l l i n g U p d a t e   r o l l i n g U p d a t e :   m a x U n a v a i l a b l e :   1   t e m p l a t e :   m e t a d a t a :   l a b e l s :   n a m e :   f l u e n t d - e l a s t i c s e a r c h   s p e c :   t o l e r a t i o n s :   #   t h e s e   t o l e r a t i o n s   a r e   t o   h a v e   t h e   d a e m o n s e t   r u n n a b l e   o n   c o n t r o l   p l a n e   n o d e s   #   r e m o v e   t h e m   i f   y o u r   c o n t r o l   p l a n e   n o d e s   s h o u l d   n o t   r u n   p o d s   -   k e y :   n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e   o p e r a t o r :   E x i s t s   e f f e c t :   N o S c h e d u l e   -   k e y :   n o d e - r o l e . k u b e r n e t e s . i o / m a s t e r   o p e r a t o r :   E x i s t s   e f f e c t :   N o S c h e d u l e   c o n t a i n e r s :   -   n a m e :   f l u e n t d - e l a s t i c s e a r c h   i m a g e :   q u a y . i o / f l u e n t d _ e l a s t i c s e a r c h / f l u e n t d : v 5 . 0 . 1   r e s o u r c e s :   l i m i t s :   m e m o r y :   2 0 0 M i   r e q u e s t s :   c p u :   1 0 0 m   m e m o r y :   2 0 0 M i   v o l u m e M o u n t s ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19186"
  },
  {
    "question": "What is Declarative commands?",
    "answer": "I f   y o u   u p d a t e   D a e m o n S e t s   u s i n g   c o n f i g u r a t i o n   f i l e s ,   u s e   k u b e c t l   a p p l y :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / c o n t r o l l e r s / f l u e n t d - d a e m o n s e t - u p d a t e . y a m l",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19187"
  },
  {
    "question": "What is Imperative commands?",
    "answer": "I f   y o u   u p d a t e   D a e m o n S e t s   u s i n g   i m p e r a t i v e   c o m m a n d s ,   u s e   k u b e c t l   e d i t   :   k u b e c t l   e d i t   d s / f l u e n t d - e l a s t i c s e a r c h   - n   k u b e - s y s t e m",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19188"
  },
  {
    "question": "What is Updating only the container image?",
    "answer": "I f   y o u   o n l y   n e e d   t o   u p d a t e   t h e   c o n t a i n e r   i m a g e   i n   t h e   D a e m o n S e t   t e m p l a t e ,   i . e .   . s p e c . t e m p l a t e . s p e c . c o n t a i n e r s [ * ] . i m a g e ,   u s e   k u b e c t l   s e t   i m a g e :   k u b e c t l   s e t   i m a g e   d s / f l u e n t d - e l a s t i c s e a r c h   f l u e n t d - e l a s t i c s e a r c h = q u a y . i o / f l u e n t d _ e l a s t i c s e a r c h / f l u e n t d : v 2 . 6 . 0   - n   k u b e - s y s t e m",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_5_19189"
  },
  {
    "question": "What is Watching the rolling update status?",
    "answer": "F i n a l l y ,   w a t c h   t h e   r o l l o u t   s t a t u s   o f   t h e   l a t e s t   D a e m o n S e t   r o l l i n g   u p d a t e :   k u b e c t l   r o l l o u t   s t a t u s   d s / f l u e n t d - e l a s t i c s e a r c h   - n   k u b e - s y s t e m   W h e n   t h e   r o l l o u t   i s   c o m p l e t e ,   t h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   d a e m o n s e t   \" f l u e n t d - e l a s t i c s e a r c h \"   s u c c e s s f u l l y   r o l l e d   o u t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19190"
  },
  {
    "question": "What is DaemonSet rolling update is stuck?",
    "answer": "S o m e t i m e s ,   a   D a e m o n S e t   r o l l i n g   u p d a t e   m a y   b e   s t u c k .   H e r e   a r e   s o m e   p o s s i b l e   c a u s e s :",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19191"
  },
  {
    "question": "What is Some nodes run out of resources?",
    "answer": "T h e   r o l l o u t   i s   s t u c k   b e c a u s e   n e w   D a e m o n S e t   p o d s   c a n ' t   b e   s c h e d u l e d   o n   a t   l e a s t   o n e   n o d e .   T h i s   i s   p o s s i b l e   w h e n   t h e   n o d e   i s   r u n n i n g   o u t   o f   r e s o u r c e s .   W h e n   t h i s   h a p p e n s ,   f i n d   t h e   n o d e s   t h a t   d o n ' t   h a v e   t h e   D a e m o n S e t   p o d s   s c h e d u l e d   o n   b y   c o m p a r i n g   t h e   o u t p u t   o f   k u b e c t l   g e t   n o d e s   a n d   t h e   o u t p u t   o f :   k u b e c t l   g e t   p o d s   - l   n a m e = f l u e n t d - e l a s t i c s e a r c h   - o   w i d e   - n   k u b e - s y s t e m   O n c e   y o u ' v e   f o u n d   t h o s e   n o d e s ,   d e l e t e   s o m e   n o n - D a e m o n S e t   p o d s   f r o m   t h e   n o d e   t o   m a k e   r o o m   f o r   n e w   D a e m o n S e t   p o d s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19192"
  },
  {
    "question": "What is Broken rollout?",
    "answer": "I f   t h e   r e c e n t   D a e m o n S e t   t e m p l a t e   u p d a t e   i s   b r o k e n ,   f o r   e x a m p l e ,   t h e   c o n t a i n e r   i s   c r a s h   l o o p i n g ,   o r   t h e   c o n t a i n e r   i m a g e   d o e s n ' t   e x i s t   ( o f t e n   d u e   t o   a   t y p o ) ,   D a e m o n S e t   r o l l o u t   w o n ' t   p r o g r e s s .   T o   f i x   t h i s ,   u p d a t e   t h e   D a e m o n S e t   t e m p l a t e   a g a i n .   N e w   r o l l o u t   w o n ' t   b e   b l o c k e d   b y   p r e v i o u s   u n h e a l t h y   r o l l o u t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19193"
  },
  {
    "question": "What is Clock skew?",
    "answer": "I f   . s p e c . m i n R e a d y S e c o n d s   i s   s p e c i f i e d   i n   t h e   D a e m o n S e t ,   c l o c k   s k e w   b e t w e e n   m a s t e r   a n d   n o d e s   w i l l   m a k e   D a e m o n S e t   u n a b l e   t o   d e t e c t   t h e   r i g h t   r o l l o u t   p r o g r e s s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19194"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   D a e m o n S e t   f r o m   a   n a m e s p a c e   :   k u b e c t l   d e l e t e   d s   f l u e n t d - e l a s t i c s e a r c h   - n   k u b e - s y s t e m",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19195"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   P e r f o r m i n g   a   r o l l b a c k   o n   a   D a e m o n S e t S e e   C r e a t i n g   a   D a e m o n S e t   t o   a d o p t   e x i s t i n g   D a e m o n S e t   p o d s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19196"
  },
  {
    "question": "What is 13.3 - Perform a Rollback on a DaemonSet?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   p e r f o r m   a   r o l l b a c k   o n   a   D a e m o n S e t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_19197"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 7 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19198"
  },
  {
    "question": "What is Step 1: Find the DaemonSet revision you want to roll back to?",
    "answer": "Y o u   c a n   s k i p   t h i s   s t e p   i f   y o u   o n l y   w a n t   t o   r o l l   b a c k   t o   t h e   l a s t   r e v i s i o n .   L i s t   a l l   r e v i s i o n s   o f   a   D a e m o n S e t :   k u b e c t l   r o l l o u t   h i s t o r y   d a e m o n s e t   < d a e m o n s e t - n a m e >   T h i s   r e t u r n s   a   l i s t   o f   D a e m o n S e t   r e v i s i o n s :   d a e m o n s e t s   \" < d a e m o n s e t - n a m e > \"   R E V I S I O N   C H A N G E - C A U S E   1   . . .   2   . . .   . . .   C h a n g e   c a u s e   i s   c o p i e d   f r o m   D a e m o n S e t   a n n o t a t i o n   k u b e r n e t e s . i o / c h a n g e - c a u s e   t o   i t s   r e v i s i o n s   u p o n   c r e a t i o n .   Y o u   m a y   s p e c i f y   - - r e c o r d = t r u e   i n   k u b e c t l   t o   r e c o r d   t h e   c o m m a n d   e x e c u t e d   i n   t h e   c h a n g e   c a u s e   a n n o t a t i o n .   T o   s e e   t h e   d e t a i l s   o f   a   s p e c i f i c   r e v i s i o n :   k u b e c t l   r o l l o u t   h i s t o r y   d a e m o n s e t   < d a e m o n s e t - n a m e >   - - r e v i s i o n = 1   T h i s   r e t u r n s   t h e   d e t a i l s   o f   t h a t   r e v i s i o n :   d a e m o n s e t s   \" < d a e m o n s e t - n a m e > \"   w i t h   r e v i s i o n   # 1   P o d   T e m p l a t e :   L a b e l s :   f o o = b a r   C o n t a i n e r s :   a p p :   I m a g e :   . . .   P o r t :   . . .   E n v i r o n m e n t :   . . .   M o u n t s :   . . .   V o l u m e s :   . . .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19199"
  },
  {
    "question": "What is Step 2: Roll back to a specific revision?",
    "answer": "#   S p e c i f y   t h e   r e v i s i o n   n u m b e r   y o u   g e t   f r o m   S t e p   1   i n   - - t o - r e v i s i o n   k u b e c t l   r o l l o u t   u n d o   d a e m o n s e t   < d a e m o n s e t - n a m e >   - - t o - r e v i s i o n = < r e v i s i o n >   I f   i t   s u c c e e d s ,   t h e   c o m m a n d   r e t u r n s :   d a e m o n s e t   \" < d a e m o n s e t - n a m e > \"   r o l l e d   b a c k",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19200"
  },
  {
    "question": "What is Step 3: Watch the progress of the DaemonSet rollback?",
    "answer": "k u b e c t l   r o l l o u t   u n d o   d a e m o n s e t   t e l l s   t h e   s e r v e r   t o   s t a r t   r o l l i n g   b a c k   t h e   D a e m o n S e t .   T h e   r e a l   r o l l b a c k   i s   d o n e   a s y n c h r o n o u s l y   i n s i d e   t h e   c l u s t e r   c o n t r o l   p l a n e .   T o   w a t c h   t h e   p r o g r e s s   o f   t h e   r o l l b a c k :   k u b e c t l   r o l l o u t   s t a t u s   d s / < d a e m o n s e t - n a m e >   W h e n   t h e   r o l l b a c k   i s   c o m p l e t e ,   t h e   o u t p u t   i s   s i m i l a r   t o :   d a e m o n s e t   \" < d a e m o n s e t - n a m e > \"   s u c c e s s f u l l y   r o l l e d   o u t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19201"
  },
  {
    "question": "What is Understanding DaemonSet revisions?",
    "answer": "I n   t h e   p r e v i o u s   k u b e c t l   r o l l o u t   h i s t o r y   s t e p ,   y o u   g o t   a   l i s t   o f   D a e m o n S e t   r e v i s i o n s .   E a c h   r e v i s i o n   i s   s t o r e d   i n   a   r e s o u r c e   n a m e d   C o n t r o l l e r R e v i s i o n .   T o   s e e   w h a t   i s   s t o r e d   i n   e a c h   r e v i s i o n ,   f i n d   t h e   D a e m o n S e t   r e v i s i o n   r a w   r e s o u r c e s :   k u b e c t l   g e t   c o n t r o l l e r r e v i s i o n   - l   < d a e m o n s e t - s e l e c t o r - k e y > = < d a e m o n s e t - s e l e c t o r - v a l u e >   T h i s   r e t u r n s   a   l i s t   o f   C o n t r o l l e r R e v i s i o n s :   N A M E   C O N T R O L L E R   R E V I S I O N   A G E   < d a e m o n s e t - n a m e > - < r e v i s i o n - h a s h >   D a e m o n S e t / < d a e m o n s e t - n a m e >   1   1 h   < d a e m o n s e t - n a m e > - < r e v i s i o n - h a s h >   D a e m o n S e t / < d a e m o n s e t - n a m e >   2   1 h   E a c h   C o n t r o l l e r R e v i s i o n   s t o r e s   t h e   a n n o t a t i o n s   a n d   t e m p l a t e   o f   a   D a e m o n S e t   r e v i s i o n .   k u b e c t l   r o l l o u t   u n d o   t a k e s   a   s p e c i f i c   C o n t r o l l e r R e v i s i o n   a n d   r e p l a c e s   D a e m o n S e t   t e m p l a t e   w i t h   t h e   t e m p l a t e   s t o r e d   i n   t h e   C o n t r o l l e r R e v i s i o n .   k u b e c t l   r o l l o u t   u n d o   i s   e q u i v a l e n t   t o   u p d a t i n g   D a e m o n S e t   t e m p l a t e   t o   a   p r e v i o u s   r e v i s i o n   t h r o u g h   o t h e r   c o m m a n d s ,   s u c h   a s   k u b e c t l   e d i t   o r   k u b e c t l   a p p l y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19202"
  },
  {
    "question": "What is Troubleshooting?",
    "answer": "S e e   t r o u b l e s h o o t i n g   D a e m o n S e t   r o l l i n g   u p d a t e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19203"
  },
  {
    "question": "What is 13.4 - Running Pods on Only Some Nodes?",
    "answer": "T h i s   p a g e   d e m o n s t r a t e s   h o w   c a n   y o u   r u n   P o d s   o n   o n l y   s o m e   N o d e s   a s   p a r t   o f   a   D a e m o n S e t",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_19204"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19205"
  },
  {
    "question": "What is Running Pods on only some Nodes?",
    "answer": "I m a g i n e   t h a t   y o u   w a n t   t o   r u n   a   D a e m o n S e t ,   b u t   y o u   o n l y   n e e d   t o   r u n   t h o s e   d a e m o n   p o d s   o n   n o d e s   t h a t   h a v e   l o c a l   s o l i d   s t a t e   ( S S D )   s t o r a g e .   F o r   e x a m p l e ,   t h e   P o d   m i g h t   p r o v i d e   c a c h e   s e r v i c e   t o   t h e   n o d e ,   a n d   t h e   c a c h e   i s   o n l y   u s e f u l   w h e n   l o w - l a t e n c y   l o c a l   s t o r a g e   i s   a v a i l a b l e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19206"
  },
  {
    "question": "What is Step 1: Add labels to your nodes?",
    "answer": "A d d   t h e   l a b e l   s s d = t r u e   t o   t h e   n o d e s   w h i c h   h a v e   S S D s .   k u b e c t l   l a b e l   n o d e s   e x a m p l e - n o d e - 1   e x a m p l e - n o d e - 2   s s d = t r u e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19207"
  },
  {
    "question": "What is Step 2: Create the manifest?",
    "answer": "L e t ' s   c r e a t e   a   D a e m o n S e t   w h i c h   w i l l   p r o v i s i o n   t h e   d a e m o n   p o d s   o n   t h e   S S D   l a b e l e d   n o d e s   o n l y .   N e x t ,   u s e   a   n o d e S e l e c t o r   t o   e n s u r e   t h a t   t h e   D a e m o n S e t   o n l y   r u n s   P o d s   o n   n o d e s   w i t h   t h e   s s d   l a b e l   s e t   t o   \" t r u e \" .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D a e m o n S e t   m e t a d a t a :   n a m e :   s s d - d r i v e r   l a b e l s :   a p p :   n g i n x   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   s s d - d r i v e r - p o d   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   s s d - d r i v e r - p o d   s p e c :   n o d e S e l e c t o r :   s s d :   \" t r u e \"   c o n t a i n e r s :   -   n a m e :   e x a m p l e - c o n t a i n e r   i m a g e :   e x a m p l e - i m a g e",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19208"
  },
  {
    "question": "What is Step 3: Create the DaemonSet?",
    "answer": "C r e a t e   t h e   D a e m o n S e t   f r o m   t h e   m a n i f e s t   b y   u s i n g   k u b e c t l   c r e a t e   o r   k u b e c t l   a p p l y   L e t ' s   l a b e l   a n o t h e r   n o d e   a s   s s d = t r u e .   k u b e c t l   l a b e l   n o d e s   e x a m p l e - n o d e - 3   s s d = t r u e   L a b e l l i n g   t h e   n o d e   a u t o m a t i c a l l y   t r i g g e r s   t h e   c o n t r o l   p l a n e   ( s p e c i f i c a l l y ,   t h e   D a e m o n S e t   c o n t r o l l e r )   t o   r u n   a   n e w   d a e m o n   p o d   o n   t h a t   n o d e .   k u b e c t l   g e t   p o d s   - o   w i d e   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   < d a e m o n s e t - n a m e > < s o m e - h a s h - 0 1 >   1 / 1   R u n n i n g   0   1 3 s   . . . . .   e x a m p l e - n o d e - 1   < d a e m o n s e t - n a m e > < s o m e - h a s h - 0 2 >   1 / 1   R u n n i n g   0   1 3 s   . . . . .   e x a m p l e - n o d e - 2   < d a e m o n s e t - n a m e > < s o m e - h a s h - 0 3 >   1 / 1   R u n n i n g   0   5 s   . . . . .   e x a m p l e - n o d e - 3",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19209"
  },
  {
    "question": "What is 14.1 - Adding entries to Pod /etc/hosts with HostAliases?",
    "answer": "A d d i n g   e n t r i e s   t o   a   P o d ' s   / e t c / h o s t s   f i l e   p r o v i d e s   P o d - l e v e l   o v e r r i d e   o f   h o s t n a m e   r e s o l u t i o n   w h e n   D N S   a n d   o t h e r   o p t i o n s   a r e   n o t   a p p l i c a b l e .   Y o u   c a n   a d d   t h e s e   c u s t o m   e n t r i e s   w i t h   t h e   H o s t A l i a s e s   f i e l d   i n   P o d S p e c .   T h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   m o d i f y i n g   D N S   c o n f i g u r a t i o n   u s i n g   t h e   h o s t A l i a s e s   f i e l d   ( p a r t   o f   t h e   . s p e c   f o r   a   P o d ) ,   a n d   n o t   b y   u s i n g   a n   i n i t   c o n t a i n e r   o r   o t h e r   m e a n s   t o   e d i t   / e t c / h o s t s   d i r e c t l y .   C h a n g e   m a d e   i n   o t h e r   w a y s   m a y   b e   o v e r w r i t t e n   b y   t h e   k u b e l e t   d u r i n g   P o d   c r e a t i o n   o r   r e s t a r t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_19210"
  },
  {
    "question": "What is Default hosts file content?",
    "answer": "S t a r t   a n   N g i n x   P o d   w h i c h   i s   a s s i g n e d   a   P o d   I P :   k u b e c t l   r u n   n g i n x   - - i m a g e   n g i n x   p o d / n g i n x   c r e a t e d   E x a m i n e   a   P o d   I P :   k u b e c t l   g e t   p o d s   - - o u t p u t = w i d e   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   n g i n x   1 / 1   R u n n i n g   0   1 3 s   1 0 . 2 0 0 . 0 . 4   w o r k e r 0   T h e   h o s t s   f i l e   c o n t e n t   w o u l d   l o o k   l i k e   t h i s :   k u b e c t l   e x e c   n g i n x   - -   c a t   / e t c / h o s t s   #   K u b e r n e t e s - m a n a g e d   h o s t s   f i l e .   1 2 7 . 0 . 0 . 1   l o c a l h o s t   : : 1   l o c a l h o s t   i p 6 - l o c a l h o s t   i p 6 - l o o p b a c k   f e 0 0 : : 0   i p 6 - l o c a l n e t   f e 0 0 : : 0   i p 6 - m c a s t p r e f i x   f e 0 0 : : 1   i p 6 - a l l n o d e s   f e 0 0 : : 2   i p 6 - a l l r o u t e r s   1 0 . 2 0 0 . 0 . 4   n g i n x   B y   d e f a u l t ,   t h e   h o s t s   f i l e   o n l y   i n c l u d e s   I P v 4   a n d   I P v 6   b o i l e r p l a t e s   l i k e   l o c a l h o s t   a n d   i t s   o w n   h o s t n a m e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19211"
  },
  {
    "question": "What is Adding additional entries with hostAliases?",
    "answer": "I n   a d d i t i o n   t o   t h e   d e f a u l t   b o i l e r p l a t e ,   y o u   c a n   a d d   a d d i t i o n a l   e n t r i e s   t o   t h e   h o s t s   f i l e .   F o r   e x a m p l e :   t o   r e s o l v e   f o o . l o c a l ,   b a r . l o c a l   t o   1 2 7 . 0 . 0 . 1   a n d   f o o . r e m o t e ,   b a r . r e m o t e   t o   1 0 . 1 . 2 . 3 ,   y o u   c a n   c o n f i g u r e   H o s t A l i a s e s   f o r   a   P o d   u n d e r   . s p e c . h o s t A l i a s e s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   h o s t a l i a s e s - p o d   s p e c :   r e s t a r t P o l i c y :   N e v e r   h o s t A l i a s e s :   -   i p :   \" 1 2 7 . 0 . 0 . 1 \"   h o s t n a m e s :   -   \" f o o . l o c a l \"   -   \" b a r . l o c a l \"   -   i p :   \" 1 0 . 1 . 2 . 3 \"   h o s t n a m e s :   -   \" f o o . r e m o t e \"   -   \" b a r . r e m o t e \"   c o n t a i n e r s :   -   n a m e :   c a t - h o s t s   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   -   c a t   a r g s :   -   \" / e t c / h o s t s \"   Y o u   c a n   s t a r t   a   P o d   w i t h   t h a t   c o n f i g u r a t i o n   b y   r u n n i n g :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / s e r v i c e / n e t w o r k i n g / h o s t a l i a s e s - p o d . y a m l   p o d / h o s t a l i a s e s - p o d   c r e a t e d   E x a m i n e   a   P o d ' s   d e t a i l s   t o   s e e   i t s   I P v 4   a d d r e s s   a n d   i t s   s t a t u s :   k u b e c t l   g e t   p o d   - - o u t p u t = w i d e   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   h o s t a l i a s e s - p o d   0 / 1   C o m p l e t e d   0   6 s   1 0 . 2 0 0 . 0 . 5   w o r k e r 0   T h e   h o s t s   f i l e   c o n t e n t   l o o k s   l i k e   t h i s :   k u b e c t l   l o g s   h o s t a l i a s e s - p o d   #   K u b e r n e t e s - m a n a g e d   h o s t s   f ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19212"
  },
  {
    "question": "What is Why does the kubelet manage the hosts file??",
    "answer": "T h e   k u b e l e t   m a n a g e s   t h e   h o s t s   f i l e   f o r   e a c h   c o n t a i n e r   o f   t h e   P o d   t o   p r e v e n t   t h e   c o n t a i n e r   r u n t i m e   f r o m   m o d i f y i n g   t h e   f i l e   a f t e r   t h e   c o n t a i n e r s   h a v e   a l r e a d y   b e e n   s t a r t e d .   H i s t o r i c a l l y ,   K u b e r n e t e s   a l w a y s   u s e d   D o c k e r   E n g i n e   a s   i t s   c o n t a i n e r   r u n t i m e ,   a n d   D o c k e r   E n g i n e   w o u l d   t h e n   m o d i f y   t h e   / e t c / h o s t s   f i l e   a f t e r   e a c h   c o n t a i n e r   h a d   s t a r t e d .   C u r r e n t   K u b e r n e t e s   c a n   u s e   a   v a r i e t y   o f   c o n t a i n e r   r u n t i m e s ;   e v e n   s o ,   t h e   k u b e l e t   m a n a g e s   t h e   h o s t s   f i l e   w i t h i n   e a c h   c o n t a i n e r   s o   t h a t   t h e   o u t c o m e   i s   a s   i n t e n d e d   r e g a r d l e s s   o f   w h i c h   c o n t a i n e r   r u n t i m e   y o u   u s e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19213"
  },
  {
    "question": "What is Caution:?",
    "answer": "A v o i d   m a k i n g   m a n u a l   c h a n g e s   t o   t h e   h o s t s   f i l e   i n s i d e   a   c o n t a i n e r .   I f   y o u   m a k e   m a n u a l   c h a n g e s   t o   t h e   h o s t s   f i l e ,   t h o s e   c h a n g e s   a r e   l o s t   w h e n   t h e   c o n t a i n e r   e x i t s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19214"
  },
  {
    "question": "What is 14.2 - Extend Service IP Ranges?",
    "answer": "T h i s   d o c u m e n t   s h a r e s   h o w   t o   e x t e n d   t h e   e x i s t i n g   S e r v i c e   I P   r a n g e   a s s i g n e d   t o   a   c l u s t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_19215"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19216"
  },
  {
    "question": "What is Extend Service IP Ranges?",
    "answer": "K u b e r n e t e s   c l u s t e r s   w i t h   k u b e - a p i s e r v e r s   t h a t   h a v e   e n a b l e d   t h e   M u l t i C I D R S e r v i c e A l l o c a t o r   f e a t u r e   g a t e   a n d   h a v e   t h e   n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1   A P I   g r o u p   a c t i v e ,   w i l l   c r e a t e   a   S e r v i c e C I D R   o b j e c t   t h a t   t a k e s   t h e   w e l l - k n o w n   n a m e   k u b e r n e t e s ,   a n d   t h a t   s p e c i f i e s   a n   I P   a d d r e s s   r a n g e   b a s e d   o n   t h e   v a l u e   o f   t h e   - - s e r v i c e - c l u s t e r - i p - r a n g e   c o m m a n d   l i n e   a r g u m e n t   t o   k u b e - a p i s e r v e r .   k u b e c t l   g e t   s e r v i c e c i d r   N A M E   C I D R S   A G E   k u b e r n e t e s   1 0 . 9 6 . 0 . 0 / 2 8   1 7 d   T h e   w e l l - k n o w n   k u b e r n e t e s   S e r v i c e ,   t h a t   e x p o s e s   t h e   k u b e - a p i s e r v e r   e n d p o i n t   t o   t h e   P o d s ,   c a l c u l a t e s   t h e   f i r s t   I P   a d d r e s s   f r o m   t h e   d e f a u l t   S e r v i c e C I D R   r a n g e   a n d   u s e s   t h a t   I P   a d d r e s s   a s   i t s   c l u s t e r   I P   a d d r e s s .   k u b e c t l   g e t   s e r v i c e   k u b e r n e t e s   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   k u b e r n e t e s   C l u s t e r I P   1 0 . 9 6 . 0 . 1   < n o n e >   4 4 3 / T C P   1 7 d   T h e   d e f a u l t   S e r v i c e ,   i n   t h i s   c a s e ,   u s e s   t h e   C l u s t e r I P   1 0 . 9 6 . 0 . 1 ,   t h a t   h a s   t h e   c o r r e s p o n d i n g   I P A d d r e s s   o b j e c t .   k u b e c t l   g e t   i p a d d r e s s   1 0 . 9 6 . 0 . 1   N A M E   P A R E N T R E F   1 0 . 9 6 . 0 . 1   s e r v i c e s / d e f a u l t / k u b e r n e t e s   T h e   S e r v i c e C I D R s   a r e   p r o t e c t e d   w i t h   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19217"
  },
  {
    "question": "What is Extend the number of available IPs for Services?",
    "answer": "T h e r e   a r e   c a s e s   t h a t   u s e r s   w i l l   n e e d   t o   i n c r e a s e   t h e   n u m b e r   a d d r e s s e s   a v a i l a b l e   t o   S e r v i c e s ,   p r e v i o u s l y ,   i n c r e a s i n g   t h e   S e r v i c e   r a n g e   w a s   a   d i s r u p t i v e   o p e r a t i o n   t h a t   c o u l d   a l s o   c a u s e   d a t a   l o s s .   W i t h   t h i s   n e w   f e a t u r e   u s e r s   o n l y   n e e d   t o   a d d   a   n e w   S e r v i c e C I D R   t o   i n c r e a s e   t h e   n u m b e r   o f   a v a i l a b l e   a d d r e s s e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19218"
  },
  {
    "question": "What is Adding a new ServiceCIDR?",
    "answer": "O n   a   c l u s t e r   w i t h   a   1 0 . 9 6 . 0 . 0 / 2 8   r a n g e   f o r   S e r v i c e s ,   t h e r e   i s   o n l y   2 ^ ( 3 2 - 2 8 )   -   2   =   1 4   I P   a d d r e s s e s   a v a i l a b l e .   T h e   k u b e r n e t e s . d e f a u l t   S e r v i c e   i s   a l w a y s   c r e a t e d ;   f o r   t h i s   e x a m p l e ,   t h a t   l e a v e s   y o u   w i t h   o n l y   1 3   p o s s i b l e   S e r v i c e s .   f o r   i   i n   $ ( s e q   1   1 3 ) ;   d o   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   \" t e s t - $ i \"   - - t c p   8 0   - o   j s o n   |   j q   - r   . s p e c . c l u s t e r I P ;   d o n e   1 0 . 9 6 . 0 . 1 1   1 0 . 9 6 . 0 . 5   1 0 . 9 6 . 0 . 1 2   1 0 . 9 6 . 0 . 1 3   1 0 . 9 6 . 0 . 1 4   1 0 . 9 6 . 0 . 2   1 0 . 9 6 . 0 . 3   1 0 . 9 6 . 0 . 4   1 0 . 9 6 . 0 . 6   1 0 . 9 6 . 0 . 7   1 0 . 9 6 . 0 . 8   1 0 . 9 6 . 0 . 9   e r r o r :   f a i l e d   t o   c r e a t e   C l u s t e r I P   s e r v i c e :   I n t e r n a l   e r r o r   o c c u r r e d :   f a i l e d   t o   a l l o c a t e   a   s e r v i c e I P :   r a n g e   i s   f u l l   Y o u   c a n   i n c r e a s e   t h e   n u m b e r   o f   I P   a d d r e s s e s   a v a i l a b l e   f o r   S e r v i c e s ,   b y   c r e a t i n g   a   n e w   S e r v i c e C I D R   t h a t   e x t e n d s   o r   a d d s   n e w   I P   a d d r e s s   r a n g e s .   c a t   < E O F   |   k u b e c t l   a p p l y   - f   -   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1   k i n d :   S e r v i c e C I D R   m e t a d a t a :   n a m e :   n e w c i d r 1   s p e c :   c i d r s :   -   1 0 . 9 6 . 0 . 0 / 2 4   E O F   s e r v i c e c i d r . n e t w o r k i n g . k 8 s . i o / n e w c i d r 1   c r e a t e d   a n d   t h i s   w i l l   a l l o w   y o u   t o   c r e a t e   n e w   S e r v i c e s   w i t h   C l u s t e r I P s   t h a t   w i l l   b e   p i c k e d   f r o m   t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19219"
  },
  {
    "question": "What is Deleting a ServiceCIDR?",
    "answer": "Y o u   c a n n o t   d e l e t e   a   S e r v i c e C I D R   i f   t h e r e   a r e   I P A d d r e s s e s   t h a t   d e p e n d   o n   t h e   S e r v i c e C I D R .   k u b e c t l   d e l e t e   s e r v i c e c i d r   n e w c i d r 1   s e r v i c e c i d r . n e t w o r k i n g . k 8 s . i o   \" n e w c i d r 1 \"   d e l e t e d   K u b e r n e t e s   u s e s   a   f i n a l i z e r   o n   t h e   S e r v i c e C I D R   t o   t r a c k   t h i s   d e p e n d e n t   r e l a t i o n s h i p .   k u b e c t l   g e t   s e r v i c e c i d r   n e w c i d r 1   - o   y a m l   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1   k i n d :   S e r v i c e C I D R   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   \" 2 0 2 3 - 1 0 - 1 2 T 1 5 : 1 1 : 0 7 Z \"   d e l e t i o n G r a c e P e r i o d S e c o n d s :   0   d e l e t i o n T i m e s t a m p :   \" 2 0 2 3 - 1 0 - 1 2 T 1 5 : 1 2 : 4 5 Z \"   f i n a l i z e r s :   -   n e t w o r k i n g . k 8 s . i o / s e r v i c e - c i d r - f i n a l i z e r   n a m e :   n e w c i d r 1   r e s o u r c e V e r s i o n :   \" 1 1 3 3 \"   u i d :   5 f f d 8 a f e - c 7 8 f - 4 e 6 0 - a e 7 6 - c e c 4 4 8 a 8 a f 4 0   s p e c :   c i d r s :   -   1 0 . 9 6 . 0 . 0 / 2 4   s t a t u s :   c o n d i t i o n s :   -   l a s t T r a n s i t i o n T i m e :   \" 2 0 2 3 - 1 0 - 1 2 T 1 5 : 1 2 : 4 5 Z \"   m e s s a g e :   T h e r e   a r e   s t i l l   I P A d d r e s s e s   r e f e r e n c i n g   t h e   S e r v i c e C I D R ,   p l e a s e   r e m o v e   t h e m   o r   c r e a t e   a   n e w   S e r v i c e C I D R   r e a s o n :   O r p h a n I P A d d r e s s   s t a t u s :   \" F a l s e \"   t y p e :   R e a d y   B y   r e m o v i n g   t h e   S e r v i c e s   c o n t a i n i n g   t h e   I P   a d d r e s s e s   t h a t   a r e   b l o c k i n g   t h e   d e l e t i o n   o f   t h e   S e r v i c e C I D R   f o r   i   i n   $ ( s e q   1 3   1 6 ) ;   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19220"
  },
  {
    "question": "What is Kubernetes Service CIDR Policies?",
    "answer": "C l u s t e r   a d m i n i s t r a t o r s   c a n   i m p l e m e n t   p o l i c i e s   t o   c o n t r o l   t h e   c r e a t i o n   a n d   m o d i f i c a t i o n   o f   S e r v i c e C I D R   r e s o u r c e s   w i t h i n   t h e   c l u s t e r .   T h i s   a l l o w s   f o r   c e n t r a l i z e d   m a n a g e m e n t   o f   t h e   I P   a d d r e s s   r a n g e s   u s e d   f o r   S e r v i c e s   a n d   h e l p s   p r e v e n t   u n i n t e n d e d   o r   c o n f l i c t i n g   c o n f i g u r a t i o n s .   K u b e r n e t e s   p r o v i d e s   m e c h a n i s m s   l i k e   V a l i d a t i n g   A d m i s s i o n   P o l i c i e s   t o   e n f o r c e   t h e s e   r u l e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19221"
  },
  {
    "question": "What is Preventing Unauthorized ServiceCIDR Creation/Update using Validating Admission Policy?",
    "answer": "T h e r e   c a n   b e   s i t u a t i o n s   t h a t   t h e   c l u s t e r   a d m i n i s t r a t o r s   w a n t   t o   r e s t r i c t   t h e   r a n g e s   t h a t   c a n   b e   a l l o w e d   o r   t o   c o m p l e t e l y   d e n y   a n y   c h a n g e s   t o   t h e   c l u s t e r   S e r v i c e   I P   r a n g e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19222"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   d e f a u l t   \" k u b e r n e t e s \"   S e r v i c e C I D R   i s   c r e a t e d   b y   t h e   k u b e - a p i s e r v e r   t o   p r o v i d e   c o n s i s t e n c y   i n   t h e   c l u s t e r   a n d   i s   r e q u i r e d   f o r   t h e   c l u s t e r   t o   w o r k ,   s o   i t   a l w a y s   m u s t   b e   a l l o w e d .   Y o u   c a n   e n s u r e   y o u r   V a l i d a t i n g A d m i s s i o n P o l i c y   d o e s n ' t   r e s t r i c t   t h e   d e f a u l t   S e r v i c e C I D R   b y   a d d i n g   t h e   c l a u s e :   m a t c h C o n d i t i o n s :   -   n a m e :   ' e x c l u d e - d e f a u l t - s e r v i c e c i d r '   e x p r e s s i o n :   \" o b j e c t . m e t a d a t a . n a m e   ! =   ' k u b e r n e t e s ' \"   a s   i n   t h e   e x a m p l e s   b e l o w .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19223"
  },
  {
    "question": "What is Restrict Service CIDR ranges to some specific ranges?",
    "answer": "T h e   f o l l o w i n g   i s   a n   e x a m p l e   o f   a   V a l i d a t i n g A d m i s s i o n P o l i c y   t h a t   o n l y   a l l o w s   S e r v i c e C I D R s   t o   b e   c r e a t e d   i f   t h e y   a r e   s u b r a n g e s   o f   t h e   g i v e n   a l l o w e d   r a n g e s .   ( S o   t h e   e x a m p l e   p o l i c y   w o u l d   a l l o w   a   S e r v i c e C I D R   w i t h   c i d r s :   [ ' 1 0 . 9 6 . 1 . 0 / 2 4 ' ]   o r   c i d r s :   [ ' 2 0 0 1 : d b 8 : 0 : 0 : f f f f : : / 8 0 ' ,   ' 1 0 . 9 6 . 0 . 0 / 2 0 ' ]   b u t   w o u l d   n o t   a l l o w   a   S e r v i c e C I D R   w i t h   c i d r s :   [ ' 1 7 2 . 2 0 . 0 . 0 / 1 6 ' ] . )   Y o u   c a n   c o p y   t h i s   p o l i c y   a n d   c h a n g e   t h e   v a l u e   o f   a l l o w e d   t o   s o m e t h i n g   a p p r o p r i a t e   f o r   y o u   c l u s t e r .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y   m e t a d a t a :   n a m e :   \" s e r v i c e c i d r s . d e f a u l t \"   s p e c :   f a i l u r e P o l i c y :   F a i l   m a t c h C o n s t r a i n t s :   r e s o u r c e R u l e s :   -   a p i G r o u p s :   [ \" n e t w o r k i n g . k 8 s . i o \" ]   a p i V e r s i o n s :   [ \" v 1 \" , \" v 1 b e t a 1 \" ]   o p e r a t i o n s :   [ \" C R E A T E \" ,   \" U P D A T E \" ]   r e s o u r c e s :   [ \" s e r v i c e c i d r s \" ]   m a t c h C o n d i t i o n s :   -   n a m e :   ' e x c l u d e - d e f a u l t - s e r v i c e c i d r '   e x p r e s s i o n :   \" o b j e c t . m e t a d a t a . n a m e   ! =   ' k u b e r n e t e s ' \"   v a r i a b l e s :   -   n a m e :   a l l o w e d   e x p r e s s i o n :   \" [ ' 1 0 . 9 6 . 0 . 0 / 1 6 ' , ' 2 0 0 1 : d b 8 : : / 6 4 ' ] \"   v a l i d a t i o n s :   -   e x p r e s s i o n :   \" o b j e c t . s p e c . c i d r s . a l l ( n e w C I D R ,   v a r i a b l e s . a ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19224"
  },
  {
    "question": "What is Restrict any usage of the ServiceCIDR API?",
    "answer": "T h e   f o l l o w i n g   e x a m p l e   d e m o n s t r a t e s   h o w   t o   u s e   a   V a l i d a t i n g A d m i s s i o n P o l i c y   a n d   i t s   b i n d i n g   t o   r e s t r i c t   t h e   c r e a t i o n   o f   a n y   n e w   S e r v i c e   C I D R   r a n g e s ,   e x c l u d i n g   t h e   d e f a u l t   \" k u b e r n e t e s \"   S e r v i c e C I D R :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y   m e t a d a t a :   n a m e :   \" s e r v i c e c i d r s . d e n y \"   s p e c :   f a i l u r e P o l i c y :   F a i l   m a t c h C o n s t r a i n t s :   r e s o u r c e R u l e s :   -   a p i G r o u p s :   [ \" n e t w o r k i n g . k 8 s . i o \" ]   a p i V e r s i o n s :   [ \" v 1 \" , \" v 1 b e t a 1 \" ]   o p e r a t i o n s :   [ \" C R E A T E \" ,   \" U P D A T E \" ]   r e s o u r c e s :   [ \" s e r v i c e c i d r s \" ]   v a l i d a t i o n s :   -   e x p r e s s i o n :   \" o b j e c t . m e t a d a t a . n a m e   = =   ' k u b e r n e t e s ' \"   - - -   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   m e t a d a t a :   n a m e :   \" s e r v i c e c i d r s - d e n y - b i n d i n g \"   s p e c :   p o l i c y N a m e :   \" s e r v i c e c i d r s . d e n y \"   v a l i d a t i o n A c t i o n s :   [ D e n y , A u d i t ]",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19225"
  },
  {
    "question": "What is 14.3 - Kubernetes Default Service CIDR Reconfiguration?",
    "answer": "T h i s   d o c u m e n t   s h a r e s   h o w   t o   r e c o n f i g u r e   t h e   d e f a u l t   S e r v i c e   I P   r a n g e ( s )   a s s i g n e d   t o   a   c l u s t e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_19226"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19227"
  },
  {
    "question": "What is Kubernetes Default Service CIDR Reconfiguration?",
    "answer": "T h i s   d o c u m e n t   e x p l a i n s   h o w   t o   m a n a g e   t h e   S e r v i c e   I P   a d d r e s s   r a n g e   w i t h i n   a   K u b e r n e t e s   c l u s t e r ,   w h i c h   a l s o   i n f l u e n c e s   t h e   c l u s t e r ' s   s u p p o r t e d   I P   f a m i l i e s   f o r   S e r v i c e s .   T h e   I P   f a m i l i e s   a v a i l a b l e   f o r   S e r v i c e   C l u s t e r I P s   a r e   d e t e r m i n e d   b y   t h e   - - s e r v i c e - c l u s t e r - i p - r a n g e   f l a g   t o   k u b e - a p i s e r v e r .   F o r   a   b e t t e r   u n d e r s t a n d i n g   o f   S e r v i c e   I P   a d d r e s s   a l l o c a t i o n ,   r e f e r   t o   t h e   S e r v i c e s   I P   a d d r e s s   a l l o c a t i o n   t r a c k i n g   d o c u m e n t a t i o n .   S i n c e   K u b e r n e t e s   1 . 3 3 ,   t h e   S e r v i c e   I P   f a m i l i e s   c o n f i g u r e d   f o r   t h e   c l u s t e r   a r e   r e f l e c t e d   b y   t h e   S e r v i c e C I D R   o b j e c t   n a m e d   k u b e r n e t e s .   T h e   k u b e r n e t e s   S e r v i c e C I D R   o b j e c t   i s   c r e a t e d   b y   t h e   f i r s t   k u b e - a p i s e r v e r   i n s t a n c e   t h a t   s t a r t s ,   b a s e d   o n   i t s   c o n f i g u r e d   - - s e r v i c e - c l u s t e r - i p - r a n g e   f l a g .   T o   e n s u r e   c o n s i s t e n t   c l u s t e r   b e h a v i o r ,   a l l   k u b e - a p i s e r v e r   i n s t a n c e s   m u s t   b e   c o n f i g u r e d   w i t h   t h e   s a m e   - - s e r v i c e - c l u s t e r - i p - r a n g e   v a l u e s ,   w h i c h   m u s t   m a t c h   t h e   d e f a u l t   k u b e r n e t e s   S e r v i c e C I D R   o b j e c t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19228"
  },
  {
    "question": "What is Kubernetes Service CIDR Reconfiguration Categories?",
    "answer": "W e   c a n   c a t e g o r i z e   S e r v i c e   C I D R   r e c o n f i g u r a t i o n   i n t o   t h e   f o l l o w i n g   s c e n a r i o s :   E x t e n d i n g   t h e   e x i s t i n g   S e r v i c e   C I D R s :   T h i s   c a n   b e   d o n e   d y n a m i c a l l y   b y   a d d i n g   n e w   S e r v i c e C I D R   o b j e c t s   w i t h o u t   t h e   n e e d   o f   r e c o n f i g u r a t i o n   o f   t h e   k u b e - a p i s e r v e r .   P l e a s e   r e f e r   t o   t h e   d e d i c a t e d   d o c u m e n t a t i o n   o n   E x t e n d i n g   S e r v i c e   I P   R a n g e s . S i n g l e - t o - d u a l - s t a c k   c o n v e r s i o n   p r e s e r v i n g   t h e   p r i m a r y   s e r v i c e   C I D R :   T h i s   i n v o l v e s   i n t r o d u c i n g   a   s e c o n d a r y   I P   f a m i l y   ( I P v 6   t o   a n   I P v 4 - o n l y   c l u s t e r ,   o r   I P v 4   t o   a n   I P v 6 - o n l y   c l u s t e r )   w h i l e   k e e p i n g   t h e   o r i g i n a l   I P   f a m i l y   a s   p r i m a r y .   T h i s   r e q u i r e s   a n   u p d a t e   t o   t h e   k u b e - a p i s e r v e r   c o n f i g u r a t i o n   a n d   a   c o r r e s p o n d i n g   m o d i f i c a t i o n   o f   v a r i o u s   c l u s t e r   c o m p o n e n t s   t h a t   n e e d   t o   h a n d l e   t h i s   a d d i t i o n a l   I P   f a m i l y .   T h e s e   c o m p o n e n t s   i n c l u d e ,   b u t   a r e   n o t   l i m i t e d   t o ,   k u b e - p r o x y ,   t h e   C N I   o r   n e t w o r k   p l u g i n ,   s e r v i c e   m e s h   i m p l e m e n t a t i o n s ,   a n d   D N S   s e r v i c e s . D u a l - t o - s i n g l e   c o n v e r s i o n   p r e s e r v i n g   t h e   p r i m a r y   s e r v i c e   C I D R :   T h i s   i n v o l v e s   r e m o v i n g   t h e   s e c o n d a r y   I P   f a m i l y   f r o m   a   d u a l - s t a c k   c l u s t e r ,   r e v e r t i n g   t o   a   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19229"
  },
  {
    "question": "What is Manual Operations for Replacing the Default Service CIDR?",
    "answer": "R e c o n f i g u r i n g   t h e   d e f a u l t   S e r v i c e   C I D R   n e c e s s i t a t e s   m a n u a l   s t e p s   p e r f o r m e d   b y   t h e   c l u s t e r   o p e r a t o r ,   a d m i n i s t r a t o r ,   o r   t h e   s o f t w a r e   m a n a g i n g   t h e   c l u s t e r   l i f e c y c l e .   T h e s e   t y p i c a l l y   i n c l u d e :   U p d a t i n g   t h e   k u b e - a p i s e r v e r   c o n f i g u r a t i o n :   M o d i f y   t h e   - - s e r v i c e - c l u s t e r - i p - r a n g e   f l a g   w i t h   t h e   n e w   I P   r a n g e ( s ) . R e c o n f i g u r i n g   t h e   n e t w o r k   c o m p o n e n t s :   T h i s   i s   a   c r i t i c a l   s t e p   a n d   t h e   s p e c i f i c   p r o c e d u r e   d e p e n d s   o n   t h e   d i f f e r e n t   n e t w o r k i n g   c o m p o n e n t s   i n   u s e .   I t   m i g h t   i n v o l v e   u p d a t i n g   c o n f i g u r a t i o n   f i l e s ,   r e s t a r t i n g   a g e n t   p o d s ,   o r   u p d a t i n g   t h e   c o m p o n e n t s   t o   m a n a g e   t h e   n e w   S e r v i c e   C I D R ( s )   a n d   t h e   d e s i r e d   I P   f a m i l y   c o n f i g u r a t i o n   f o r   P o d s .   T y p i c a l   c o m p o n e n t s   c a n   b e   t h e   i m p l e m e n t a t i o n   o f   K u b e r n e t e s   S e r v i c e s ,   s u c h   a s   k u b e - p r o x y ,   a n d   t h e   c o n f i g u r e d   n e t w o r k i n g   p l u g i n ,   a n d   p o t e n t i a l l y   o t h e r   n e t w o r k i n g   c o m p o n e n t s   l i k e   s e r v i c e   m e s h   c o n t r o l l e r s   a n d   D N S   s e r v e r s ,   t o   e n s u r e   t h e y   c a n   c o r r e c t l y   h a n d l e   t r a f f i c   a n d   p e r f o r m   s e r v i c e   d i s c o v e r y   w i t h   t h e   n e w   I P   f a m i l y   c o n f i g u r a t i o n . M a n a g i n g   e x i s t i n g   S e r v i c e s :   S e r v i c e s   w i t h   I P s   f ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19230"
  },
  {
    "question": "What is Illustrative Reconfiguration Steps?",
    "answer": "T h e   f o l l o w i n g   s t e p s   d e s c r i b e   a   c o n t r o l l e d   r e c o n f i g u r a t i o n   f o c u s i n g   o n   t h e   c o m p l e t e l y   r e p l a c e m e n t   o f   t h e   d e f a u l t   S e r v i c e   C I D R   a n d   t h e   r e c r e a t i o n   o f   t h e   k u b e r n e t e s . d e f a u l t   S e r v i c e :   S t a r t   t h e   k u b e - a p i s e r v e r   w i t h   t h e   i n i t i a l   - - s e r v i c e - c l u s t e r - i p - r a n g e . C r e a t e   i n i t i a l   S e r v i c e s   t h a t   o b t a i n   I P s   f r o m   t h i s   r a n g e . I n t r o d u c e   a   n e w   S e r v i c e   C I D R   a s   a   t e m p o r a r y   t a r g e t   f o r   r e c o n f i g u r a t i o n . M a r k   t h e   k u b e r n e t e s   d e f a u l t   S e r v i c e   C I D R   f o r   d e l e t i o n   ( i t   w i l l   r e m a i n   p e n d i n g   d u e   t o   e x i s t i n g   I P s   a n d   f i n a l i z e r s ) .   T h i s   p r e v e n t s   n e w   a l l o c a t i o n s   f r o m   t h e   o l d   r a n g e . R e c r e a t e   e x i s t i n g   S e r v i c e s .   T h e y   s h o u l d   n o w   b e   a l l o c a t e d   I P s   f r o m   t h e   n e w ,   t e m p o r a r y   S e r v i c e   C I D R . R e s t a r t   t h e   k u b e - a p i s e r v e r   w i t h   t h e   n e w   S e r v i c e   C I D R ( s )   c o n f i g u r e d   a n d   s h u t   d o w n   t h e   o l d   i n s t a n c e . D e l e t e   t h e   k u b e r n e t e s . d e f a u l t   s e r v i c e .   T h e   n e w   k u b e - a p i s e r v e r   w i l l   r e c r e a t e   i t   w i t h i n   t h e   n e w   S e r v i c e   C I D R .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19231"
  },
  {
    "question": "What is What's next?",
    "answer": "K u b e r n e t e s   N e t w o r k i n g   C o n c e p t s :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c l u s t e r - a d m i n i s t r a t i o n / n e t w o r k i n g / K u b e r n e t e s   D u a l - S t a c k   S e r v i c e s :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s e r v i c e s - n e t w o r k i n g / d u a l - s t a c k / E x t e n d i n g   K u b e r n e t e s   S e r v i c e   I P   R a n g e s :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / n e t w o r k / e x t e n d - s e r v i c e - i p - r a n g e s /",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19232"
  },
  {
    "question": "What is 14.4 - Validate IPv4/IPv6 dual-stack?",
    "answer": "T h i s   d o c u m e n t   s h a r e s   h o w   t o   v a l i d a t e   I P v 4 / I P v 6   d u a l - s t a c k   e n a b l e d   K u b e r n e t e s   c l u s t e r s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_19233"
  },
  {
    "question": "What is Before you begin?",
    "answer": "P r o v i d e r   s u p p o r t   f o r   d u a l - s t a c k   n e t w o r k i n g   ( C l o u d   p r o v i d e r   o r   o t h e r w i s e   m u s t   b e   a b l e   t o   p r o v i d e   K u b e r n e t e s   n o d e s   w i t h   r o u t a b l e   I P v 4 / I P v 6   n e t w o r k   i n t e r f a c e s ) A   n e t w o r k   p l u g i n   t h a t   s u p p o r t s   d u a l - s t a c k   n e t w o r k i n g . D u a l - s t a c k   e n a b l e d   c l u s t e r   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19234"
  },
  {
    "question": "What is Validate node addressing?",
    "answer": "E a c h   d u a l - s t a c k   N o d e   s h o u l d   h a v e   a   s i n g l e   I P v 4   b l o c k   a n d   a   s i n g l e   I P v 6   b l o c k   a l l o c a t e d .   V a l i d a t e   t h a t   I P v 4 / I P v 6   P o d   a d d r e s s   r a n g e s   a r e   c o n f i g u r e d   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d .   R e p l a c e   t h e   s a m p l e   n o d e   n a m e   w i t h   a   v a l i d   d u a l - s t a c k   N o d e   f r o m   y o u r   c l u s t e r .   I n   t h i s   e x a m p l e ,   t h e   N o d e ' s   n a m e   i s   k 8 s - l i n u x p o o l 1 - 3 4 4 5 0 3 1 7 - 0 :   k u b e c t l   g e t   n o d e s   k 8 s - l i n u x p o o l 1 - 3 4 4 5 0 3 1 7 - 0   - o   g o - t e m p l a t e   - - t e m p l a t e = ' { { r a n g e   . s p e c . p o d C I D R s } } { { p r i n t f   \" % s \\ n \"   . } } { { e n d } } '   1 0 . 2 4 4 . 1 . 0 / 2 4   2 0 0 1 : d b 8 : : / 6 4   T h e r e   s h o u l d   b e   o n e   I P v 4   b l o c k   a n d   o n e   I P v 6   b l o c k   a l l o c a t e d .   V a l i d a t e   t h a t   t h e   n o d e   h a s   a n   I P v 4   a n d   I P v 6   i n t e r f a c e   d e t e c t e d .   R e p l a c e   n o d e   n a m e   w i t h   a   v a l i d   n o d e   f r o m   t h e   c l u s t e r .   I n   t h i s   e x a m p l e   t h e   n o d e   n a m e   i s   k 8 s - l i n u x p o o l 1 - 3 4 4 5 0 3 1 7 - 0 :   k u b e c t l   g e t   n o d e s   k 8 s - l i n u x p o o l 1 - 3 4 4 5 0 3 1 7 - 0   - o   g o - t e m p l a t e   - - t e m p l a t e = ' { { r a n g e   . s t a t u s . a d d r e s s e s } } { { p r i n t f   \" % s :   % s \\ n \"   . t y p e   . a d d r e s s } } { { e n d } } '   H o s t n a m e :   k 8 s - l i n u x p o o l 1 - 3 4 4 5 0 3 1 7 - 0   I n t e r n a l I P :   1 0 . 0 . 0 . 5   I n t e r n a l I P :   2 0 0 1 : d b 8 : 1 0 : : 5",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19235"
  },
  {
    "question": "What is Validate Pod addressing?",
    "answer": "V a l i d a t e   t h a t   a   P o d   h a s   a n   I P v 4   a n d   I P v 6   a d d r e s s   a s s i g n e d .   R e p l a c e   t h e   P o d   n a m e   w i t h   a   v a l i d   P o d   i n   y o u r   c l u s t e r .   I n   t h i s   e x a m p l e   t h e   P o d   n a m e   i s   p o d 0 1 :   k u b e c t l   g e t   p o d s   p o d 0 1   - o   g o - t e m p l a t e   - - t e m p l a t e = ' { { r a n g e   . s t a t u s . p o d I P s } } { { p r i n t f   \" % s \\ n \"   . i p } } { { e n d } } '   1 0 . 2 4 4 . 1 . 4   2 0 0 1 : d b 8 : : 4   Y o u   c a n   a l s o   v a l i d a t e   P o d   I P s   u s i n g   t h e   D o w n w a r d   A P I   v i a   t h e   s t a t u s . p o d I P s   f i e l d P a t h .   T h e   f o l l o w i n g   s n i p p e t   d e m o n s t r a t e s   h o w   y o u   c a n   e x p o s e   t h e   P o d   I P s   v i a   a n   e n v i r o n m e n t   v a r i a b l e   c a l l e d   M Y _ P O D _ I P S   w i t h i n   a   c o n t a i n e r .   e n v :   -   n a m e :   M Y _ P O D _ I P S   v a l u e F r o m :   f i e l d R e f :   f i e l d P a t h :   s t a t u s . p o d I P s   T h e   f o l l o w i n g   c o m m a n d   p r i n t s   t h e   v a l u e   o f   t h e   M Y _ P O D _ I P S   e n v i r o n m e n t   v a r i a b l e   f r o m   w i t h i n   a   c o n t a i n e r .   T h e   v a l u e   i s   a   c o m m a   s e p a r a t e d   l i s t   t h a t   c o r r e s p o n d s   t o   t h e   P o d ' s   I P v 4   a n d   I P v 6   a d d r e s s e s .   k u b e c t l   e x e c   - i t   p o d 0 1   - -   s e t   |   g r e p   M Y _ P O D _ I P S   M Y _ P O D _ I P S = 1 0 . 2 4 4 . 1 . 4 , 2 0 0 1 : d b 8 : : 4   T h e   P o d ' s   I P   a d d r e s s e s   w i l l   a l s o   b e   w r i t t e n   t o   / e t c / h o s t s   w i t h i n   a   c o n t a i n e r .   T h e   f o l l o w i n g   c o m m a n d   e x e c u t e s   a   c a t   o n   / e t c / h o s t s   o n   a   d u a l   s t a c k   P o d .   F r o m   t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19236"
  },
  {
    "question": "What is Validate Services?",
    "answer": "C r e a t e   t h e   f o l l o w i n g   S e r v i c e   t h a t   d o e s   n o t   e x p l i c i t l y   d e f i n e   . s p e c . i p F a m i l y P o l i c y .   K u b e r n e t e s   w i l l   a s s i g n   a   c l u s t e r   I P   f o r   t h e   S e r v i c e   f r o m   t h e   f i r s t   c o n f i g u r e d   s e r v i c e - c l u s t e r - i p - r a n g e   a n d   s e t   t h e   . s p e c . i p F a m i l y P o l i c y   t o   S i n g l e S t a c k .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   s p e c :   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   8 0   U s e   k u b e c t l   t o   v i e w   t h e   Y A M L   f o r   t h e   S e r v i c e .   k u b e c t l   g e t   s v c   m y - s e r v i c e   - o   y a m l   T h e   S e r v i c e   h a s   . s p e c . i p F a m i l y P o l i c y   s e t   t o   S i n g l e S t a c k   a n d   . s p e c . c l u s t e r I P   s e t   t o   a n   I P v 4   a d d r e s s   f r o m   t h e   f i r s t   c o n f i g u r e d   r a n g e   s e t   v i a   - - s e r v i c e - c l u s t e r - i p - r a n g e   f l a g   o n   k u b e - c o n t r o l l e r - m a n a g e r .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   n a m e s p a c e :   d e f a u l t   s p e c :   c l u s t e r I P :   1 0 . 0 . 2 1 7 . 1 6 4   c l u s t e r I P s :   -   1 0 . 0 . 2 1 7 . 1 6 4   i p F a m i l i e s :   -   I P v 4   i p F a m i l y P o l i c y :   S i n g l e S t a c k   p o r t s :   -   p o r t :   8 0   p r o t o c o l :   T C P   t a r g e t P o r t :   9 3 7 6   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   s e s s i o n A f f i n i t y :   N o n e   t y p e :   C l u s t e r I P   s t a t u s : ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19237"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   k u b e c t l   g e t   s v c   c o m m a n d   w i l l   o n l y   s h o w   t h e   p r i m a r y   I P   i n   t h e   C L U S T E R - I P   f i e l d .   k u b e c t l   g e t   s v c   - l   a p p . k u b e r n e t e s . i o / n a m e = M y A p p   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   m y - s e r v i c e   C l u s t e r I P   1 0 . 0 . 2 1 6 . 2 4 2   < n o n e >   8 0 / T C P   5 s   V a l i d a t e   t h a t   t h e   S e r v i c e   g e t s   c l u s t e r   I P s   f r o m   t h e   I P v 4   a n d   I P v 6   a d d r e s s   b l o c k s   u s i n g   k u b e c t l   d e s c r i b e .   Y o u   m a y   t h e n   v a l i d a t e   a c c e s s   t o   t h e   s e r v i c e   v i a   t h e   I P s   a n d   p o r t s .   k u b e c t l   d e s c r i b e   s v c   - l   a p p . k u b e r n e t e s . i o / n a m e = M y A p p   N a m e :   m y - s e r v i c e   N a m e s p a c e :   d e f a u l t   L a b e l s :   a p p . k u b e r n e t e s . i o / n a m e = M y A p p   A n n o t a t i o n s :   < n o n e >   S e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e = M y A p p   T y p e :   C l u s t e r I P   I P   F a m i l y   P o l i c y :   P r e f e r D u a l S t a c k   I P   F a m i l i e s :   I P v 4 , I P v 6   I P :   1 0 . 0 . 2 1 6 . 2 4 2   I P s :   1 0 . 0 . 2 1 6 . 2 4 2 , 2 0 0 1 : d b 8 : f d 0 0 : : a f 5 5   P o r t :   < u n s e t >   8 0 / T C P   T a r g e t P o r t :   9 3 7 6 / T C P   E n d p o i n t s :   < n o n e >   S e s s i o n   A f f i n i t y :   N o n e   E v e n t s :   < n o n e >",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19238"
  },
  {
    "question": "What is Create a dual-stack load balanced Service?",
    "answer": "I f   t h e   c l o u d   p r o v i d e r   s u p p o r t s   t h e   p r o v i s i o n i n g   o f   I P v 6   e n a b l e d   e x t e r n a l   l o a d   b a l a n c e r s ,   c r e a t e   t h e   f o l l o w i n g   S e r v i c e   w i t h   P r e f e r D u a l S t a c k   i n   . s p e c . i p F a m i l y P o l i c y ,   I P v 6   a s   t h e   f i r s t   e l e m e n t   o f   t h e   . s p e c . i p F a m i l i e s   a r r a y   a n d   t h e   t y p e   f i e l d   s e t   t o   L o a d B a l a n c e r .   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   m y - s e r v i c e   l a b e l s :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   s p e c :   i p F a m i l y P o l i c y :   P r e f e r D u a l S t a c k   i p F a m i l i e s :   -   I P v 6   t y p e :   L o a d B a l a n c e r   s e l e c t o r :   a p p . k u b e r n e t e s . i o / n a m e :   M y A p p   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   8 0   C h e c k   t h e   S e r v i c e :   k u b e c t l   g e t   s v c   - l   a p p . k u b e r n e t e s . i o / n a m e = M y A p p   V a l i d a t e   t h a t   t h e   S e r v i c e   r e c e i v e s   a   C L U S T E R - I P   a d d r e s s   f r o m   t h e   I P v 6   a d d r e s s   b l o c k   a l o n g   w i t h   a n   E X T E R N A L - I P .   Y o u   m a y   t h e n   v a l i d a t e   a c c e s s   t o   t h e   s e r v i c e   v i a   t h e   I P   a n d   p o r t .   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   m y - s e r v i c e   L o a d B a l a n c e r   2 0 0 1 : d b 8 : f d 0 0 : : 7 e b c   2 6 0 3 : 1 0 3 0 : 8 0 5 : : 5   8 0 : 3 0 7 9 0 / T C P   3 5 s",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19239"
  },
  {
    "question": "What is 15 - Extend kubectl with plugins?",
    "answer": "T h i s   g u i d e   d e m o n s t r a t e s   h o w   t o   i n s t a l l   a n d   w r i t e   e x t e n s i o n s   f o r   k u b e c t l .   B y   t h i n k i n g   o f   c o r e   k u b e c t l   c o m m a n d s   a s   e s s e n t i a l   b u i l d i n g   b l o c k s   f o r   i n t e r a c t i n g   w i t h   a   K u b e r n e t e s   c l u s t e r ,   a   c l u s t e r   a d m i n i s t r a t o r   c a n   t h i n k   o f   p l u g i n s   a s   a   m e a n s   o f   u t i l i z i n g   t h e s e   b u i l d i n g   b l o c k s   t o   c r e a t e   m o r e   c o m p l e x   b e h a v i o r .   P l u g i n s   e x t e n d   k u b e c t l   w i t h   n e w   s u b - c o m m a n d s ,   a l l o w i n g   f o r   n e w   a n d   c u s t o m   f e a t u r e s   n o t   i n c l u d e d   i n   t h e   m a i n   d i s t r i b u t i o n   o f   k u b e c t l .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_19240"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   w o r k i n g   k u b e c t l   b i n a r y   i n s t a l l e d .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19241"
  },
  {
    "question": "What is Installing kubectl plugins?",
    "answer": "A   p l u g i n   i s   a   s t a n d a l o n e   e x e c u t a b l e   f i l e ,   w h o s e   n a m e   b e g i n s   w i t h   k u b e c t l - .   T o   i n s t a l l   a   p l u g i n ,   m o v e   i t s   e x e c u t a b l e   f i l e   t o   a n y w h e r e   o n   y o u r   P A T H .   Y o u   c a n   a l s o   d i s c o v e r   a n d   i n s t a l l   k u b e c t l   p l u g i n s   a v a i l a b l e   i n   t h e   o p e n   s o u r c e   u s i n g   K r e w .   K r e w   i s   a   p l u g i n   m a n a g e r   m a i n t a i n e d   b y   t h e   K u b e r n e t e s   S I G   C L I   c o m m u n i t y .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19242"
  },
  {
    "question": "What is Discovering plugins?",
    "answer": "k u b e c t l   p r o v i d e s   a   c o m m a n d   k u b e c t l   p l u g i n   l i s t   t h a t   s e a r c h e s   y o u r   P A T H   f o r   v a l i d   p l u g i n   e x e c u t a b l e s .   E x e c u t i n g   t h i s   c o m m a n d   c a u s e s   a   t r a v e r s a l   o f   a l l   f i l e s   i n   y o u r   P A T H .   A n y   f i l e s   t h a t   a r e   e x e c u t a b l e ,   a n d   b e g i n   w i t h   k u b e c t l -   w i l l   s h o w   u p   i n   t h e   o r d e r   i n   w h i c h   t h e y   a r e   p r e s e n t   i n   y o u r   P A T H   i n   t h i s   c o m m a n d ' s   o u t p u t .   A   w a r n i n g   w i l l   b e   i n c l u d e d   f o r   a n y   f i l e s   b e g i n n i n g   w i t h   k u b e c t l -   t h a t   a r e   n o t   e x e c u t a b l e .   A   w a r n i n g   w i l l   a l s o   b e   i n c l u d e d   f o r   a n y   v a l i d   p l u g i n   f i l e s   t h a t   o v e r l a p   e a c h   o t h e r ' s   n a m e .   Y o u   c a n   u s e   K r e w   t o   d i s c o v e r   a n d   i n s t a l l   k u b e c t l   p l u g i n s   f r o m   a   c o m m u n i t y - c u r a t e d   p l u g i n   i n d e x .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19243"
  },
  {
    "question": "What is Create plugins?",
    "answer": "k u b e c t l   a l l o w s   p l u g i n s   t o   a d d   c u s t o m   c r e a t e   c o m m a n d s   o f   t h e   s h a p e   k u b e c t l   c r e a t e   s o m e t h i n g   b y   p r o v i d i n g   a   k u b e c t l - c r e a t e - s o m e t h i n g   b i n a r y   i n   t h e   P A T H .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19244"
  },
  {
    "question": "What is Limitations?",
    "answer": "I t   i s   c u r r e n t l y   n o t   p o s s i b l e   t o   c r e a t e   p l u g i n s   t h a t   o v e r w r i t e   e x i s t i n g   k u b e c t l   c o m m a n d s   o r   e x t e n d   c o m m a n d s   o t h e r   t h a n   c r e a t e .   F o r   e x a m p l e ,   c r e a t i n g   a   p l u g i n   k u b e c t l - v e r s i o n   w i l l   c a u s e   t h a t   p l u g i n   t o   n e v e r   b e   e x e c u t e d ,   a s   t h e   e x i s t i n g   k u b e c t l   v e r s i o n   c o m m a n d   w i l l   a l w a y s   t a k e   p r e c e d e n c e   o v e r   i t .   D u e   t o   t h i s   l i m i t a t i o n ,   i t   i s   a l s o   n o t   p o s s i b l e   t o   u s e   p l u g i n s   t o   a d d   n e w   s u b c o m m a n d s   t o   e x i s t i n g   k u b e c t l   c o m m a n d s .   F o r   e x a m p l e ,   a d d i n g   a   s u b c o m m a n d   k u b e c t l   a t t a c h   v m   b y   n a m i n g   y o u r   p l u g i n   k u b e c t l - a t t a c h - v m   w i l l   c a u s e   t h a t   p l u g i n   t o   b e   i g n o r e d .   k u b e c t l   p l u g i n   l i s t   s h o w s   w a r n i n g s   f o r   a n y   v a l i d   p l u g i n s   t h a t   a t t e m p t   t o   d o   t h i s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19245"
  },
  {
    "question": "What is Writing kubectl plugins?",
    "answer": "Y o u   c a n   w r i t e   a   p l u g i n   i n   a n y   p r o g r a m m i n g   l a n g u a g e   o r   s c r i p t   t h a t   a l l o w s   y o u   t o   w r i t e   c o m m a n d - l i n e   c o m m a n d s .   T h e r e   i s   n o   p l u g i n   i n s t a l l a t i o n   o r   p r e - l o a d i n g   r e q u i r e d .   P l u g i n   e x e c u t a b l e s   r e c e i v e   t h e   i n h e r i t e d   e n v i r o n m e n t   f r o m   t h e   k u b e c t l   b i n a r y .   A   p l u g i n   d e t e r m i n e s   w h i c h   c o m m a n d   p a t h   i t   w i s h e s   t o   i m p l e m e n t   b a s e d   o n   i t s   n a m e .   F o r   e x a m p l e ,   a   p l u g i n   n a m e d   k u b e c t l - f o o   p r o v i d e s   a   c o m m a n d   k u b e c t l   f o o .   Y o u   m u s t   i n s t a l l   t h e   p l u g i n   e x e c u t a b l e   s o m e w h e r e   i n   y o u r   P A T H .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19246"
  },
  {
    "question": "What is Example plugin?",
    "answer": "# ! / b i n / b a s h   #   o p t i o n a l   a r g u m e n t   h a n d l i n g   i f   [ [   \" $ 1 \"   = =   \" v e r s i o n \"   ] ]   t h e n   e c h o   \" 1 . 0 . 0 \"   e x i t   0   f i   #   o p t i o n a l   a r g u m e n t   h a n d l i n g   i f   [ [   \" $ 1 \"   = =   \" c o n f i g \"   ] ]   t h e n   e c h o   \" $ K U B E C O N F I G \"   e x i t   0   f i   e c h o   \" I   a m   a   p l u g i n   n a m e d   k u b e c t l - f o o \"",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19247"
  },
  {
    "question": "What is Using a plugin?",
    "answer": "T o   u s e   a   p l u g i n ,   m a k e   t h e   p l u g i n   e x e c u t a b l e :   s u d o   c h m o d   + x   . / k u b e c t l - f o o   a n d   p l a c e   i t   a n y w h e r e   i n   y o u r   P A T H :   s u d o   m v   . / k u b e c t l - f o o   / u s r / l o c a l / b i n   Y o u   m a y   n o w   i n v o k e   y o u r   p l u g i n   a s   a   k u b e c t l   c o m m a n d :   k u b e c t l   f o o   I   a m   a   p l u g i n   n a m e d   k u b e c t l - f o o   A l l   a r g s   a n d   f l a g s   a r e   p a s s e d   a s - i s   t o   t h e   e x e c u t a b l e :   k u b e c t l   f o o   v e r s i o n   1 . 0 . 0   A l l   e n v i r o n m e n t   v a r i a b l e s   a r e   a l s o   p a s s e d   a s - i s   t o   t h e   e x e c u t a b l e :   e x p o r t   K U B E C O N F I G = ~ / . k u b e / c o n f i g   k u b e c t l   f o o   c o n f i g   / h o m e / < u s e r > / . k u b e / c o n f i g   K U B E C O N F I G = / e t c / k u b e / c o n f i g   k u b e c t l   f o o   c o n f i g   / e t c / k u b e / c o n f i g   A d d i t i o n a l l y ,   t h e   f i r s t   a r g u m e n t   t h a t   i s   p a s s e d   t o   a   p l u g i n   w i l l   a l w a y s   b e   t h e   f u l l   p a t h   t o   t h e   l o c a t i o n   w h e r e   i t   w a s   i n v o k e d   ( $ 0   w o u l d   e q u a l   / u s r / l o c a l / b i n / k u b e c t l - f o o   i n   t h e   e x a m p l e   a b o v e ) .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19248"
  },
  {
    "question": "What is Naming a plugin?",
    "answer": "A s   s e e n   i n   t h e   e x a m p l e   a b o v e ,   a   p l u g i n   d e t e r m i n e s   t h e   c o m m a n d   p a t h   t h a t   i t   w i l l   i m p l e m e n t   b a s e d   o n   i t s   f i l e n a m e .   E v e r y   s u b - c o m m a n d   i n   t h e   c o m m a n d   p a t h   t h a t   a   p l u g i n   t a r g e t s ,   i s   s e p a r a t e d   b y   a   d a s h   ( - ) .   F o r   e x a m p l e ,   a   p l u g i n   t h a t   w i s h e s   t o   b e   i n v o k e d   w h e n e v e r   t h e   c o m m a n d   k u b e c t l   f o o   b a r   b a z   i s   i n v o k e d   b y   t h e   u s e r ,   w o u l d   h a v e   t h e   f i l e n a m e   o f   k u b e c t l - f o o - b a r - b a z .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19249"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   p l u g i n   m e c h a n i s m   d o e s   n o t   c r e a t e   a n y   c u s t o m ,   p l u g i n - s p e c i f i c   v a l u e s   o r   e n v i r o n m e n t   v a r i a b l e s   f o r   a   p l u g i n   p r o c e s s .   A n   o l d e r   k u b e c t l   p l u g i n   m e c h a n i s m   p r o v i d e d   e n v i r o n m e n t   v a r i a b l e s   s u c h   a s   K U B E C T L _ P L U G I N S _ C U R R E N T _ N A M E S P A C E ;   t h a t   n o   l o n g e r   h a p p e n s .   k u b e c t l   p l u g i n s   m u s t   p a r s e   a n d   v a l i d a t e   a l l   o f   t h e   a r g u m e n t s   p a s s e d   t o   t h e m .   S e e   u s i n g   t h e   c o m m a n d   l i n e   r u n t i m e   p a c k a g e   f o r   d e t a i l s   o f   a   G o   l i b r a r y   a i m e d   a t   p l u g i n   a u t h o r s .   H e r e   a r e   s o m e   a d d i t i o n a l   c a s e s   w h e r e   u s e r s   i n v o k e   y o u r   p l u g i n   w h i l e   p r o v i d i n g   a d d i t i o n a l   f l a g s   a n d   a r g u m e n t s .   T h i s   b u i l d s   u p o n   t h e   k u b e c t l - f o o - b a r - b a z   p l u g i n   f r o m   t h e   s c e n a r i o   a b o v e .   I f   y o u   r u n   k u b e c t l   f o o   b a r   b a z   a r g 1   - - f l a g = v a l u e   a r g 2 ,   k u b e c t l ' s   p l u g i n   m e c h a n i s m   w i l l   f i r s t   t r y   t o   f i n d   t h e   p l u g i n   w i t h   t h e   l o n g e s t   p o s s i b l e   n a m e ,   w h i c h   i n   t h i s   c a s e   w o u l d   b e   k u b e c t l - f o o - b a r - b a z - a r g 1 .   U p o n   n o t   f i n d i n g   t h a t   p l u g i n ,   k u b e c t l   t h e n   t r e a t s   t h e   l a s t   d a s h - s e p a r a t e d   v a l u e   a s   a n   a r g u m e n t   ( a r g 1   i n   t h i s   c a s e ) ,   a n d   a t t e m p t s   t o   f i n d   t h e   n e x t   l o n g e s t   p o s s i b l e   n a m e ,   k u b e c t l - f o o - b a r - b a z .   U ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19250"
  },
  {
    "question": "What is Names with dashes and underscores?",
    "answer": "A l t h o u g h   t h e   k u b e c t l   p l u g i n   m e c h a n i s m   u s e s   t h e   d a s h   ( - )   i n   p l u g i n   f i l e n a m e s   t o   s e p a r a t e   t h e   s e q u e n c e   o f   s u b - c o m m a n d s   p r o c e s s e d   b y   t h e   p l u g i n ,   i t   i s   s t i l l   p o s s i b l e   t o   c r e a t e   a   p l u g i n   c o m m a n d   c o n t a i n i n g   d a s h e s   i n   i t s   c o m m a n d l i n e   i n v o c a t i o n   b y   u s i n g   u n d e r s c o r e s   ( _ )   i n   i t s   f i l e n a m e .   E x a m p l e :   #   c r e a t e   a   p l u g i n   c o n t a i n i n g   a n   u n d e r s c o r e   i n   i t s   f i l e n a m e   e c h o   - e   ' # ! / b i n / b a s h \\ n \\ n e c h o   \" I   a m   a   p l u g i n   w i t h   a   d a s h   i n   m y   n a m e \" '   >   . / k u b e c t l - f o o _ b a r   s u d o   c h m o d   + x   . / k u b e c t l - f o o _ b a r   #   m o v e   t h e   p l u g i n   i n t o   y o u r   $ P A T H   s u d o   m v   . / k u b e c t l - f o o _ b a r   / u s r / l o c a l / b i n   #   Y o u   c a n   n o w   i n v o k e   y o u r   p l u g i n   v i a   k u b e c t l :   k u b e c t l   f o o - b a r   I   a m   a   p l u g i n   w i t h   a   d a s h   i n   m y   n a m e   N o t e   t h a t   t h e   i n t r o d u c t i o n   o f   u n d e r s c o r e s   t o   a   p l u g i n   f i l e n a m e   d o e s   n o t   p r e v e n t   y o u   f r o m   h a v i n g   c o m m a n d s   s u c h   a s   k u b e c t l   f o o _ b a r .   T h e   c o m m a n d   f r o m   t h e   a b o v e   e x a m p l e ,   c a n   b e   i n v o k e d   u s i n g   e i t h e r   a   d a s h   ( - )   o r   a n   u n d e r s c o r e   ( _ ) :   #   Y o u   c a n   i n v o k e   y o u r   c u s t o m   c o m m a n d   w i t h   a   d a s h   k u b e c t l   f o o - b a r   I   a m   a   p l u g i n   w i t h   a   d a s h   i n   m y   n a m e   #   Y o u   c a n   a l s o   i n v o k e   y o u r   c ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19251"
  },
  {
    "question": "What is Name conflicts and overshadowing?",
    "answer": "I t   i s   p o s s i b l e   t o   h a v e   m u l t i p l e   p l u g i n s   w i t h   t h e   s a m e   f i l e n a m e   i n   d i f f e r e n t   l o c a t i o n s   t h r o u g h o u t   y o u r   P A T H .   F o r   e x a m p l e ,   g i v e n   a   P A T H   w i t h   t h e   f o l l o w i n g   v a l u e :   P A T H = / u s r / l o c a l / b i n / p l u g i n s : / u s r / l o c a l / b i n / m o r e p l u g i n s ,   a   c o p y   o f   p l u g i n   k u b e c t l - f o o   c o u l d   e x i s t   i n   / u s r / l o c a l / b i n / p l u g i n s   a n d   / u s r / l o c a l / b i n / m o r e p l u g i n s ,   s u c h   t h a t   t h e   o u t p u t   o f   t h e   k u b e c t l   p l u g i n   l i s t   c o m m a n d   i s :   P A T H = / u s r / l o c a l / b i n / p l u g i n s : / u s r / l o c a l / b i n / m o r e p l u g i n s   k u b e c t l   p l u g i n   l i s t   T h e   f o l l o w i n g   k u b e c t l - c o m p a t i b l e   p l u g i n s   a r e   a v a i l a b l e :   / u s r / l o c a l / b i n / p l u g i n s / k u b e c t l - f o o   / u s r / l o c a l / b i n / m o r e p l u g i n s / k u b e c t l - f o o   -   w a r n i n g :   / u s r / l o c a l / b i n / m o r e p l u g i n s / k u b e c t l - f o o   i s   o v e r s h a d o w e d   b y   a   s i m i l a r l y   n a m e d   p l u g i n :   / u s r / l o c a l / b i n / p l u g i n s / k u b e c t l - f o o   e r r o r :   o n e   p l u g i n   w a r n i n g   w a s   f o u n d   I n   t h e   a b o v e   s c e n a r i o ,   t h e   w a r n i n g   u n d e r   / u s r / l o c a l / b i n / m o r e p l u g i n s / k u b e c t l - f o o   t e l l s   y o u   t h a t   t h i s   p l u g i n   w i l l   n e v e r   b e   e x e c u t e d .   I n s t e a d ,   t h e   e x e c u t a b l e   t h a t   a p p e a r s   f i r s t   i n   y o u r   P A T H ,   / u s r / l o c a l / b i n / p l u g i n s / k u b e c t l - f o o ,   w i l l   a l w a y s   b e   f o u n d   a n d   e x e c u ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19252"
  },
  {
    "question": "What is Invocation of the longest executable filename?",
    "answer": "T h e r e   i s   a n o t h e r   k i n d   o f   o v e r s h a d o w i n g   t h a t   c a n   o c c u r   w i t h   p l u g i n   f i l e n a m e s .   G i v e n   t w o   p l u g i n s   p r e s e n t   i n   a   u s e r ' s   P A T H :   k u b e c t l - f o o - b a r   a n d   k u b e c t l - f o o - b a r - b a z ,   t h e   k u b e c t l   p l u g i n   m e c h a n i s m   w i l l   a l w a y s   c h o o s e   t h e   l o n g e s t   p o s s i b l e   p l u g i n   n a m e   f o r   a   g i v e n   u s e r   c o m m a n d .   S o m e   e x a m p l e s   b e l o w ,   c l a r i f y   t h i s   f u r t h e r :   #   f o r   a   g i v e n   k u b e c t l   c o m m a n d ,   t h e   p l u g i n   w i t h   t h e   l o n g e s t   p o s s i b l e   f i l e n a m e   w i l l   a l w a y s   b e   p r e f e r r e d   k u b e c t l   f o o   b a r   b a z   P l u g i n   k u b e c t l - f o o - b a r - b a z   i s   e x e c u t e d   k u b e c t l   f o o   b a r   P l u g i n   k u b e c t l - f o o - b a r   i s   e x e c u t e d   k u b e c t l   f o o   b a r   b a z   b u z   P l u g i n   k u b e c t l - f o o - b a r - b a z   i s   e x e c u t e d ,   w i t h   \" b u z \"   a s   i t s   f i r s t   a r g u m e n t   k u b e c t l   f o o   b a r   b u z   P l u g i n   k u b e c t l - f o o - b a r   i s   e x e c u t e d ,   w i t h   \" b u z \"   a s   i t s   f i r s t   a r g u m e n t   T h i s   d e s i g n   c h o i c e   e n s u r e s   t h a t   p l u g i n   s u b - c o m m a n d s   c a n   b e   i m p l e m e n t e d   a c r o s s   m u l t i p l e   f i l e s ,   i f   n e e d e d ,   a n d   t h a t   t h e s e   s u b - c o m m a n d s   c a n   b e   n e s t e d   u n d e r   a   \" p a r e n t \"   p l u g i n   c o m m a n d :   l s   . / p l u g i n _ c o m m a n d _ t r e e   k u b e c t l - p a r e n t   k u b e c t l - p a r e n t - s u b c o m m a n d   k u b e c t l - p a r e n t - s u b c o m m a n d - s u b s u b c o m m a n d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19253"
  },
  {
    "question": "What is Checking for plugin warnings?",
    "answer": "Y o u   c a n   u s e   t h e   a f o r e m e n t i o n e d   k u b e c t l   p l u g i n   l i s t   c o m m a n d   t o   e n s u r e   t h a t   y o u r   p l u g i n   i s   v i s i b l e   b y   k u b e c t l ,   a n d   v e r i f y   t h a t   t h e r e   a r e   n o   w a r n i n g s   p r e v e n t i n g   i t   f r o m   b e i n g   c a l l e d   a s   a   k u b e c t l   c o m m a n d .   k u b e c t l   p l u g i n   l i s t   T h e   f o l l o w i n g   k u b e c t l - c o m p a t i b l e   p l u g i n s   a r e   a v a i l a b l e :   t e s t / f i x t u r e s / p k g / k u b e c t l / p l u g i n s / k u b e c t l - f o o   / u s r / l o c a l / b i n / k u b e c t l - f o o   -   w a r n i n g :   / u s r / l o c a l / b i n / k u b e c t l - f o o   i s   o v e r s h a d o w e d   b y   a   s i m i l a r l y   n a m e d   p l u g i n :   t e s t / f i x t u r e s / p k g / k u b e c t l / p l u g i n s / k u b e c t l - f o o   p l u g i n s / k u b e c t l - i n v a l i d   -   w a r n i n g :   p l u g i n s / k u b e c t l - i n v a l i d   i d e n t i f i e d   a s   a   k u b e c t l   p l u g i n ,   b u t   i t   i s   n o t   e x e c u t a b l e   e r r o r :   2   p l u g i n   w a r n i n g s   w e r e   f o u n d",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19254"
  },
  {
    "question": "What is Using the command line runtime package?",
    "answer": "I f   y o u ' r e   w r i t i n g   a   p l u g i n   f o r   k u b e c t l   a n d   y o u ' r e   u s i n g   G o ,   y o u   c a n   m a k e   u s e   o f   t h e   c l i - r u n t i m e   u t i l i t y   l i b r a r i e s .   T h e s e   l i b r a r i e s   p r o v i d e   h e l p e r s   f o r   p a r s i n g   o r   u p d a t i n g   a   u s e r ' s   k u b e c o n f i g   f i l e ,   f o r   m a k i n g   R E S T - s t y l e   r e q u e s t s   t o   t h e   A P I   s e r v e r ,   o r   t o   b i n d   f l a g s   a s s o c i a t e d   w i t h   c o n f i g u r a t i o n   a n d   p r i n t i n g .   S e e   t h e   S a m p l e   C L I   P l u g i n   f o r   a n   e x a m p l e   u s a g e   o f   t h e   t o o l s   p r o v i d e d   i n   t h e   C L I   R u n t i m e   r e p o .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19255"
  },
  {
    "question": "What is Distributing kubectl plugins?",
    "answer": "I f   y o u   h a v e   d e v e l o p e d   a   p l u g i n   f o r   o t h e r s   t o   u s e ,   y o u   s h o u l d   c o n s i d e r   h o w   y o u   p a c k a g e   i t ,   d i s t r i b u t e   i t   a n d   d e l i v e r   u p d a t e s   t o   y o u r   u s e r s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19256"
  },
  {
    "question": "What is Krew?",
    "answer": "K r e w   o f f e r s   a   c r o s s - p l a t f o r m   w a y   t o   p a c k a g e   a n d   d i s t r i b u t e   y o u r   p l u g i n s .   T h i s   w a y ,   y o u   u s e   a   s i n g l e   p a c k a g i n g   f o r m a t   f o r   a l l   t a r g e t   p l a t f o r m s   ( L i n u x ,   W i n d o w s ,   m a c O S   e t c )   a n d   d e l i v e r   u p d a t e s   t o   y o u r   u s e r s .   K r e w   a l s o   m a i n t a i n s   a   p l u g i n   i n d e x   s o   t h a t   o t h e r   p e o p l e   c a n   d i s c o v e r   y o u r   p l u g i n   a n d   i n s t a l l   i t .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19257"
  },
  {
    "question": "What is Native / platform specific package management?",
    "answer": "A l t e r n a t i v e l y ,   y o u   c a n   u s e   t r a d i t i o n a l   p a c k a g e   m a n a g e r s   s u c h   a s ,   a p t   o r   y u m   o n   L i n u x ,   C h o c o l a t e y   o n   W i n d o w s ,   a n d   H o m e b r e w   o n   m a c O S .   A n y   p a c k a g e   m a n a g e r   w i l l   b e   s u i t a b l e   i f   i t   c a n   p l a c e   n e w   e x e c u t a b l e s   p l a c e d   s o m e w h e r e   i n   t h e   u s e r ' s   P A T H .   A s   a   p l u g i n   a u t h o r ,   i f   y o u   p i c k   t h i s   o p t i o n   t h e n   y o u   a l s o   h a v e   t h e   b u r d e n   o f   u p d a t i n g   y o u r   k u b e c t l   p l u g i n ' s   d i s t r i b u t i o n   p a c k a g e   a c r o s s   m u l t i p l e   p l a t f o r m s   f o r   e a c h   r e l e a s e .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19258"
  },
  {
    "question": "What is Source code?",
    "answer": "Y o u   c a n   p u b l i s h   t h e   s o u r c e   c o d e ;   f o r   e x a m p l e ,   a s   a   G i t   r e p o s i t o r y .   I f   y o u   c h o o s e   t h i s   o p t i o n ,   s o m e o n e   w h o   w a n t s   t o   u s e   t h a t   p l u g i n   m u s t   f e t c h   t h e   c o d e ,   s e t   u p   a   b u i l d   e n v i r o n m e n t   ( i f   i t   n e e d s   c o m p i l i n g ) ,   a n d   d e p l o y   t h e   p l u g i n .   I f   y o u   a l s o   m a k e   c o m p i l e d   p a c k a g e s   a v a i l a b l e ,   o r   u s e   K r e w ,   t h a t   w i l l   m a k e   i n s t a l l s   e a s i e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_3_19259"
  },
  {
    "question": "What is What's next?",
    "answer": "C h e c k   t h e   S a m p l e   C L I   P l u g i n   r e p o s i t o r y   f o r   a   d e t a i l e d   e x a m p l e   o f   a   p l u g i n   w r i t t e n   i n   G o .   I n   c a s e   o f   a n y   q u e s t i o n s ,   f e e l   f r e e   t o   r e a c h   o u t   t o   t h e   S I G   C L I   t e a m . R e a d   a b o u t   K r e w ,   a   p a c k a g e   m a n a g e r   f o r   k u b e c t l   p l u g i n s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19260"
  },
  {
    "question": "What is 16 - Manage HugePages?",
    "answer": "K u b e r n e t e s   s u p p o r t s   t h e   a l l o c a t i o n   a n d   c o n s u m p t i o n   o f   p r e - a l l o c a t e d   h u g e   p a g e s   b y   a p p l i c a t i o n s   i n   a   P o d .   T h i s   p a g e   d e s c r i b e s   h o w   u s e r s   c a n   c o n s u m e   h u g e   p a g e s .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_19261"
  },
  {
    "question": "What is Before you begin?",
    "answer": "K u b e r n e t e s   n o d e s   m u s t   p r e - a l l o c a t e   h u g e   p a g e s   i n   o r d e r   f o r   t h e   n o d e   t o   r e p o r t   i t s   h u g e   p a g e   c a p a c i t y .   A   n o d e   c a n   p r e - a l l o c a t e   h u g e   p a g e s   f o r   m u l t i p l e   s i z e s ,   f o r   i n s t a n c e ,   t h e   f o l l o w i n g   l i n e   i n   / e t c / d e f a u l t / g r u b   a l l o c a t e s   2 * 1 G i B   o f   1   G i B   a n d   5 1 2 * 2   M i B   o f   2   M i B   p a g e s :   G R U B _ C M D L I N E _ L I N U X = \" h u g e p a g e s z = 1 G   h u g e p a g e s = 2   h u g e p a g e s z = 2 M   h u g e p a g e s = 5 1 2 \"   T h e   n o d e s   w i l l   a u t o m a t i c a l l y   d i s c o v e r   a n d   r e p o r t   a l l   h u g e   p a g e   r e s o u r c e s   a s   s c h e d u l a b l e   r e s o u r c e s .   W h e n   y o u   d e s c r i b e   t h e   N o d e ,   y o u   s h o u l d   s e e   s o m e t h i n g   s i m i l a r   t o   t h e   f o l l o w i n g   i n   t h e   f o l l o w i n g   i n   t h e   C a p a c i t y   a n d   A l l o c a t a b l e   s e c t i o n s :   C a p a c i t y :   c p u :   . . .   e p h e m e r a l - s t o r a g e :   . . .   h u g e p a g e s - 1 G i :   2 G i   h u g e p a g e s - 2 M i :   1 G i   m e m o r y :   . . .   p o d s :   . . .   A l l o c a t a b l e :   c p u :   . . .   e p h e m e r a l - s t o r a g e :   . . .   h u g e p a g e s - 1 G i :   2 G i   h u g e p a g e s - 2 M i :   1 G i   m e m o r y :   . . .   p o d s :   . . .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19262"
  },
  {
    "question": "What is API?",
    "answer": "H u g e   p a g e s   c a n   b e   c o n s u m e d   v i a   c o n t a i n e r   l e v e l   r e s o u r c e   r e q u i r e m e n t s   u s i n g   t h e   r e s o u r c e   n a m e   h u g e p a g e s - < s i z e > ,   w h e r e   < s i z e >   i s   t h e   m o s t   c o m p a c t   b i n a r y   n o t a t i o n   u s i n g   i n t e g e r   v a l u e s   s u p p o r t e d   o n   a   p a r t i c u l a r   n o d e .   F o r   e x a m p l e ,   i f   a   n o d e   s u p p o r t s   2 0 4 8 K i B   a n d   1 0 4 8 5 7 6 K i B   p a g e   s i z e s ,   i t   w i l l   e x p o s e   a   s c h e d u l a b l e   r e s o u r c e s   h u g e p a g e s - 2 M i   a n d   h u g e p a g e s - 1 G i .   U n l i k e   C P U   o r   m e m o r y ,   h u g e   p a g e s   d o   n o t   s u p p o r t   o v e r c o m m i t .   N o t e   t h a t   w h e n   r e q u e s t i n g   h u g e p a g e   r e s o u r c e s ,   e i t h e r   m e m o r y   o r   C P U   r e s o u r c e s   m u s t   b e   r e q u e s t e d   a s   w e l l .   A   p o d   m a y   c o n s u m e   m u l t i p l e   h u g e   p a g e   s i z e s   i n   a   s i n g l e   p o d   s p e c .   I n   t h i s   c a s e   i t   m u s t   u s e   m e d i u m :   H u g e P a g e s - < h u g e p a g e s i z e >   n o t a t i o n   f o r   a l l   v o l u m e   m o u n t s .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   h u g e - p a g e s - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   e x a m p l e   i m a g e :   f e d o r a : l a t e s t   c o m m a n d :   -   s l e e p   -   i n f   v o l u m e M o u n t s :   -   m o u n t P a t h :   / h u g e p a g e s - 2 M i   n a m e :   h u g e p a g e - 2 m i   -   m o u n t P a t h :   / h u g e p a g e s - 1 G i   n a m e :   h u g e p a g e - 1 g i   r e s o u r c e s :   l i m i t s :   h u g e p a g e s - 2 M i :   1 0 0 M i   h u g e p a g e s - 1 G i :   2 G i   m e m o r y :   1 0 0 M i   r e q u e s t s :   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19263"
  },
  {
    "question": "What is 17 - Schedule GPUs?",
    "answer": "K u b e r n e t e s   i n c l u d e s   s t a b l e   s u p p o r t   f o r   m a n a g i n g   A M D   a n d   N V I D I A   G P U s   ( g r a p h i c a l   p r o c e s s i n g   u n i t s )   a c r o s s   d i f f e r e n t   n o d e s   i n   y o u r   c l u s t e r ,   u s i n g   d e v i c e   p l u g i n s .   T h i s   p a g e   d e s c r i b e s   h o w   u s e r s   c a n   c o n s u m e   G P U s ,   a n d   o u t l i n e s   s o m e   o f   t h e   l i m i t a t i o n s   i n   t h e   i m p l e m e n t a t i o n .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_1_19264"
  },
  {
    "question": "What is Using device plugins?",
    "answer": "K u b e r n e t e s   i m p l e m e n t s   d e v i c e   p l u g i n s   t o   l e t   P o d s   a c c e s s   s p e c i a l i z e d   h a r d w a r e   f e a t u r e s   s u c h   a s   G P U s .   A s   a n   a d m i n i s t r a t o r ,   y o u   h a v e   t o   i n s t a l l   G P U   d r i v e r s   f r o m   t h e   c o r r e s p o n d i n g   h a r d w a r e   v e n d o r   o n   t h e   n o d e s   a n d   r u n   t h e   c o r r e s p o n d i n g   d e v i c e   p l u g i n   f r o m   t h e   G P U   v e n d o r .   H e r e   a r e   s o m e   l i n k s   t o   v e n d o r s '   i n s t r u c t i o n s :   A M D I n t e l N V I D I A   O n c e   y o u   h a v e   i n s t a l l e d   t h e   p l u g i n ,   y o u r   c l u s t e r   e x p o s e s   a   c u s t o m   s c h e d u l a b l e   r e s o u r c e   s u c h   a s   a m d . c o m / g p u   o r   n v i d i a . c o m / g p u .   Y o u   c a n   c o n s u m e   t h e s e   G P U s   f r o m   y o u r   c o n t a i n e r s   b y   r e q u e s t i n g   t h e   c u s t o m   G P U   r e s o u r c e ,   t h e   s a m e   w a y   y o u   r e q u e s t   c p u   o r   m e m o r y .   H o w e v e r ,   t h e r e   a r e   s o m e   l i m i t a t i o n s   i n   h o w   y o u   s p e c i f y   t h e   r e s o u r c e   r e q u i r e m e n t s   f o r   c u s t o m   d e v i c e s .   G P U s   a r e   o n l y   s u p p o s e d   t o   b e   s p e c i f i e d   i n   t h e   l i m i t s   s e c t i o n ,   w h i c h   m e a n s :   Y o u   c a n   s p e c i f y   G P U   l i m i t s   w i t h o u t   s p e c i f y i n g   r e q u e s t s ,   b e c a u s e   K u b e r n e t e s   w i l l   u s e   t h e   l i m i t   a s   t h e   r e q u e s t   v a l u e   b y   d e f a u l t . Y o u   c a n   s p e c i f y   G P U   i n   b o t h   l i m i t s   a n d   r e q u e s t s   b u t   t h e s e   t w o   v a l u e s   m u s t   b e   e q u a l . Y o u   c a n n o t   s p e c i f y   G P U   r e q u e s t s   w i t ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19265"
  },
  {
    "question": "What is Manage clusters with different types of GPUs?",
    "answer": "I f   d i f f e r e n t   n o d e s   i n   y o u r   c l u s t e r   h a v e   d i f f e r e n t   t y p e s   o f   G P U s ,   t h e n   y o u   c a n   u s e   N o d e   L a b e l s   a n d   N o d e   S e l e c t o r s   t o   s c h e d u l e   p o d s   t o   a p p r o p r i a t e   n o d e s .   F o r   e x a m p l e :   #   L a b e l   y o u r   n o d e s   w i t h   t h e   a c c e l e r a t o r   t y p e   t h e y   h a v e .   k u b e c t l   l a b e l   n o d e s   n o d e 1   a c c e l e r a t o r = e x a m p l e - g p u - x 1 0 0   k u b e c t l   l a b e l   n o d e s   n o d e 2   a c c e l e r a t o r = o t h e r - g p u - k 9 1 5   T h a t   l a b e l   k e y   a c c e l e r a t o r   i s   j u s t   a n   e x a m p l e ;   y o u   c a n   u s e   a   d i f f e r e n t   l a b e l   k e y   i f   y o u   p r e f e r .",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19266"
  },
  {
    "question": "What is Automatic node labelling?",
    "answer": "A s   a n   a d m i n i s t r a t o r ,   y o u   c a n   a u t o m a t i c a l l y   d i s c o v e r   a n d   l a b e l   a l l   y o u r   G P U   e n a b l e d   n o d e s   b y   d e p l o y i n g   K u b e r n e t e s   N o d e   F e a t u r e   D i s c o v e r y   ( N F D ) .   N F D   d e t e c t s   t h e   h a r d w a r e   f e a t u r e s   t h a t   a r e   a v a i l a b l e   o n   e a c h   n o d e   i n   a   K u b e r n e t e s   c l u s t e r .   T y p i c a l l y ,   N F D   i s   c o n f i g u r e d   t o   a d v e r t i s e   t h o s e   f e a t u r e s   a s   n o d e   l a b e l s ,   b u t   N F D   c a n   a l s o   a d d   e x t e n d e d   r e s o u r c e s ,   a n n o t a t i o n s ,   a n d   n o d e   t a i n t s .   N F D   i s   c o m p a t i b l e   w i t h   a l l   s u p p o r t e d   v e r s i o n s   o f   K u b e r n e t e s .   B y   d e f a u l t   N F D   c r e a t e   t h e   f e a t u r e   l a b e l s   f o r   t h e   d e t e c t e d   f e a t u r e s .   A d m i n i s t r a t o r s   c a n   l e v e r a g e   N F D   t o   a l s o   t a i n t   n o d e s   w i t h   s p e c i f i c   f e a t u r e s ,   s o   t h a t   o n l y   p o d s   t h a t   r e q u e s t   t h o s e   f e a t u r e s   c a n   b e   s c h e d u l e d   o n   t h o s e   n o d e s .   Y o u   a l s o   n e e d   a   p l u g i n   f o r   N F D   t h a t   a d d s   a p p r o p r i a t e   l a b e l s   t o   y o u r   n o d e s ;   t h e s e   m i g h t   b e   g e n e r i c   l a b e l s   o r   t h e y   c o u l d   b e   v e n d o r   s p e c i f i c .   Y o u r   G P U   v e n d o r   m a y   p r o v i d e   a   t h i r d   p a r t y   p l u g i n   f o r   N F D ;   c h e c k   t h e i r   d o c u m e n t a t i o n   f o r   m o r e   d e t a i l s .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e x a m p l e - v e c t o r - a d d   s p e c :   r e s t a r t P o l i c y :   O n F a i l u r e   #   Y o u   ",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_2_19267"
  },
  {
    "question": "What is GPU vendor implementations?",
    "answer": "I n t e l N V I D I A   ©   2 0 2 5   T h e   K u b e r n e t e s   A u t h o r s   |   D o c u m e n t a t i o n   D i s t r i b u t e d   u n d e r   C C   B Y   4 . 0   ©   2 0 2 5   T h e   L i n u x   F o u n d a t i o n   ® .   A l l   r i g h t s   r e s e r v e d .   T h e   L i n u x   F o u n d a t i o n   h a s   r e g i s t e r e d   t r a d e m a r k s   a n d   u s e s   t r a d e m a r k s .   F o r   a   l i s t   o f   t r a d e m a r k s   o f   T h e   L i n u x   F o u n d a t i o n ,   p l e a s e   s e e   o u r   T r a d e m a r k   U s a g e   p a g e   I C P   l i c e n s e :   京 I C P 备 1 7 0 7 4 2 6 6 号 - 3",
    "category": "tasks",
    "subcategory": "general-tasks",
    "source": "https://kubernetes.io/docs/tasks/_print/",
    "id": "k8s_00779_section_4_19268"
  },
  {
    "question": "What is Run Jobs?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Run JobsRun Jobs using parallel processing.1: Running Automated Tasks with a CronJob2: Coarse Parallel Processing Using a Work Queue3: Fine Parallel Processing Using a Work Queue4: Indexed Job for Parallel Processing with Static Work Assignment5: Job with Pod-to-Pod Communication6: Parallel Processing using Expansions7: Handling retriable and non-retriable pod failures with Pod failure policy1 - Running Automated Tasks with a CronJobThis page shows how to run automated tasks using Kubernetes CronJob object.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesCreating a CronJobCron jobs require a config file. Here is a manifest for a CronJob that runs a simple demonstration task every minute:application/job/cronjob.yaml apiVersion: batch/v1 kind: CronJob metadata: name: hello spec: schedule: \"* * * * *\" jobTemplate: spec: template: spec: containers: - name: hello image: busybox:1.28 imagePullPolicy: IfNotPresent command: - /bin/sh - -c - date; echo Hello from the Kubernetes cluster restartPolicy: OnFailure Run the example CronJob by using this command:kubectl create -f https://k8s.io/examples/application/job/cronjob.yaml The output is similar to this:cronjob.batch/hello created After creating the cron job, get its status using this command:kubectl get cronjob hello The output is similar to this:NAME SCHEDULE SUSPEND ACTIVE LAST SCHEDULE AGE hello */1 * * * * False 0 <none> 10s As you can see from the results of the command, the cron job has not scheduled or run any jobs yet. Watch for the job to be created in around one minute:kubectl get jobs --watch The output is similar to this:NAME COMPLETIONS DURATION AGE hello-4111706356 0/1 0s hello-4111706356 0/1 0s 0s hello-4111706356 1/1 5s 5s Now you've seen one running job scheduled by the \"hello\" cron job. You can stop watching the job and view the cron job again to see that it scheduled the job:kubectl get cronjob hello The output is similar to this:NAME SCHEDULE SUSPEND ACTIVE LAST SCHEDULE AGE hello */1 * * * * False 0 50s 75s You should see that the cron job hello successfully scheduled a job at the time specified in LAST SCHEDULE. There are currently 0 active jobs, meaning that the job has completed or failed.Now, find the pods that the last scheduled job created and view the standard output of one of the pods.Note:The job name is different from the pod name.# Replace \"hello-4111706356\" with the job name in your system pods=$(kubectl get pods --selector=job-name=hello-4111706356 --output=jsonpath={.items[",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_qa_19269"
  },
  {
    "question": "How does Run Jobs work?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Run JobsRun Jobs using parallel processing.1: Running Automated Tasks with a CronJob2: Coarse Parallel Processing Using a Work Queue3: Fine Parallel Processing Using a Work Queue4: Indexed Job for Parallel Processing with Static Work Assignment5: Job with Pod-to-Pod Communication6: Parallel Processing using Expansions7: Handling retriable and non-retriable pod failures with Pod failure policy1 - Running Automated Tasks with a CronJobThis page shows how to run automated tasks using Kubernetes CronJob object.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesCreating a CronJobCron jobs require a config file. Here is a manifest for a CronJob that runs a simple demonstration task every minute:application/job/cronjob.yaml apiVersion: batch/v1 kind: CronJob metadata: name: hello spec: schedule: \"* * * * *\" jobTemplate: spec: template: spec: containers: - name: hello image: busybox:1.28 imagePullPolicy: IfNotPresent command: - /bin/sh - -c - date; echo Hello from the Kubernetes cluster restartPolicy: OnFailure Run the example CronJob by using this command:kubectl create -f https://k8s.io/examples/application/job/cronjob.yaml The output is similar to this:cronjob.batch/hello created After creating the cron job, get its status using this command:kubectl get cronjob hello The output is similar to this:NAME SCHEDULE SUSPEND ACTIVE LAST SCHEDULE AGE hello */1 * * * * False 0 <none> 10s As you can see from the results of the command, the cron job has not scheduled or run any jobs yet. Watch for the job to be created in around one minute:kubectl get jobs --watch The output is similar to this:NAME COMPLETIONS DURATION AGE hello-4111706356 0/1 0s hello-4111706356 0/1 0s 0s hello-4111706356 1/1 5s 5s Now you've seen one running job scheduled by the \"hello\" cron job. You can stop watching the job and view the cron job again to see that it scheduled the job:kubectl get cronjob hello The output is similar to this:NAME SCHEDULE SUSPEND ACTIVE LAST SCHEDULE AGE hello */1 * * * * False 0 50s 75s You should see that the cron job hello successfully scheduled a job at the time specified in LAST SCHEDULE. There are currently 0 active jobs, meaning that the job has completed or failed.Now, find the pods that the last scheduled job created and view the standard output of one of the pods.Note:The job name is different from the pod name.# Replace \"hello-4111706356\" with the job name in your system pods=$(kubectl get pods --selector=job-name=hello-4111706356 --output=jsonpath={.items[",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_qa_19270"
  },
  {
    "question": "When would you use Run Jobs?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Run JobsRun Jobs using parallel processing.1: Running Automated Tasks with a CronJob2: Coarse Parallel Processing Using a Work Queue3: Fine Parallel Processing Using a Work Queue4: Indexed Job for Parallel Processing with Static Work Assignment5: Job with Pod-to-Pod Communication6: Parallel Processing using Expansions7: Handling retriable and non-retriable pod failures with Pod failure policy1 - Running Automated Tasks with a CronJobThis page shows how to run automated tasks using Kubernetes CronJob object.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesCreating a CronJobCron jobs require a config file. Here is a manifest for a CronJob that runs a simple demonstration task every minute:application/job/cronjob.yaml apiVersion: batch/v1 kind: CronJob metadata: name: hello spec: schedule: \"* * * * *\" jobTemplate: spec: template: spec: containers: - name: hello image: busybox:1.28 imagePullPolicy: IfNotPresent command: - /bin/sh - -c - date; echo Hello from the Kubernetes cluster restartPolicy: OnFailure Run the example CronJob by using this command:kubectl create -f https://k8s.io/examples/application/job/cronjob.yaml The output is similar to this:cronjob.batch/hello created After creating the cron job, get its status using this command:kubectl get cronjob hello The output is similar to this:NAME SCHEDULE SUSPEND ACTIVE LAST SCHEDULE AGE hello */1 * * * * False 0 <none> 10s As you can see from the results of the command, the cron job has not scheduled or run any jobs yet. Watch for the job to be created in around one minute:kubectl get jobs --watch The output is similar to this:NAME COMPLETIONS DURATION AGE hello-4111706356 0/1 0s hello-4111706356 0/1 0s 0s hello-4111706356 1/1 5s 5s Now you've seen one running job scheduled by the \"hello\" cron job. You can stop watching the job and view the cron job again to see that it scheduled the job:kubectl get cronjob hello The output is similar to this:NAME SCHEDULE SUSPEND ACTIVE LAST SCHEDULE AGE hello */1 * * * * False 0 50s 75s You should see that the cron job hello successfully scheduled a job at the time specified in LAST SCHEDULE. There are currently 0 active jobs, meaning that the job has completed or failed.Now, find the pods that the last scheduled job created and view the standard output of one of the pods.Note:The job name is different from the pod name.# Replace \"hello-4111706356\" with the job name in your system pods=$(kubectl get pods --selector=job-name=hello-4111706356 --output=jsonpath={.items[",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_qa_19271"
  },
  {
    "question": "What are the benefits of Run Jobs?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Run JobsRun Jobs using parallel processing.1: Running Automated Tasks with a CronJob2: Coarse Parallel Processing Using a Work Queue3: Fine Parallel Processing Using a Work Queue4: Indexed Job for Parallel Processing with Static Work Assignment5: Job with Pod-to-Pod Communication6: Parallel Processing using Expansions7: Handling retriable and non-retriable pod failures with Pod failure policy1 - Running Automated Tasks with a CronJobThis page shows how to run automated tasks using Kubernetes CronJob object.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesCreating a CronJobCron jobs require a config file. Here is a manifest for a CronJob that runs a simple demonstration task every minute:application/job/cronjob.yaml apiVersion: batch/v1 kind: CronJob metadata: name: hello spec: schedule: \"* * * * *\" jobTemplate: spec: template: spec: containers: - name: hello image: busybox:1.28 imagePullPolicy: IfNotPresent command: - /bin/sh - -c - date; echo Hello from the Kubernetes cluster restartPolicy: OnFailure Run the example CronJob by using this command:kubectl create -f https://k8s.io/examples/application/job/cronjob.yaml The output is similar to this:cronjob.batch/hello created After creating the cron job, get its status using this command:kubectl get cronjob hello The output is similar to this:NAME SCHEDULE SUSPEND ACTIVE LAST SCHEDULE AGE hello */1 * * * * False 0 <none> 10s As you can see from the results of the command, the cron job has not scheduled or run any jobs yet. Watch for the job to be created in around one minute:kubectl get jobs --watch The output is similar to this:NAME COMPLETIONS DURATION AGE hello-4111706356 0/1 0s hello-4111706356 0/1 0s 0s hello-4111706356 1/1 5s 5s Now you've seen one running job scheduled by the \"hello\" cron job. You can stop watching the job and view the cron job again to see that it scheduled the job:kubectl get cronjob hello The output is similar to this:NAME SCHEDULE SUSPEND ACTIVE LAST SCHEDULE AGE hello */1 * * * * False 0 50s 75s You should see that the cron job hello successfully scheduled a job at the time specified in LAST SCHEDULE. There are currently 0 active jobs, meaning that the job has completed or failed.Now, find the pods that the last scheduled job created and view the standard output of one of the pods.Note:The job name is different from the pod name.# Replace \"hello-4111706356\" with the job name in your system pods=$(kubectl get pods --selector=job-name=hello-4111706356 --output=jsonpath={.items[",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_qa_19272"
  },
  {
    "question": "What is Run Jobs?",
    "answer": "1 :   R u n n i n g   A u t o m a t e d   T a s k s   w i t h   a   C r o n J o b 2 :   C o a r s e   P a r a l l e l   P r o c e s s i n g   U s i n g   a   W o r k   Q u e u e 3 :   F i n e   P a r a l l e l   P r o c e s s i n g   U s i n g   a   W o r k   Q u e u e 4 :   I n d e x e d   J o b   f o r   P a r a l l e l   P r o c e s s i n g   w i t h   S t a t i c   W o r k   A s s i g n m e n t 5 :   J o b   w i t h   P o d - t o - P o d   C o m m u n i c a t i o n 6 :   P a r a l l e l   P r o c e s s i n g   u s i n g   E x p a n s i o n s 7 :   H a n d l i n g   r e t r i a b l e   a n d   n o n - r e t r i a b l e   p o d   f a i l u r e s   w i t h   P o d   f a i l u r e   p o l i c y",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_1_19273"
  },
  {
    "question": "What is 1 - Running Automated Tasks with a CronJob?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   r u n   a u t o m a t e d   t a s k s   u s i n g   K u b e r n e t e s   C r o n J o b   o b j e c t .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_1_19274"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19275"
  },
  {
    "question": "What is Creating a CronJob?",
    "answer": "C r o n   j o b s   r e q u i r e   a   c o n f i g   f i l e .   H e r e   i s   a   m a n i f e s t   f o r   a   C r o n J o b   t h a t   r u n s   a   s i m p l e   d e m o n s t r a t i o n   t a s k   e v e r y   m i n u t e :   a p i V e r s i o n :   b a t c h / v 1   k i n d :   C r o n J o b   m e t a d a t a :   n a m e :   h e l l o   s p e c :   s c h e d u l e :   \" *   *   *   *   * \"   j o b T e m p l a t e :   s p e c :   t e m p l a t e :   s p e c :   c o n t a i n e r s :   -   n a m e :   h e l l o   i m a g e :   b u s y b o x : 1 . 2 8   i m a g e P u l l P o l i c y :   I f N o t P r e s e n t   c o m m a n d :   -   / b i n / s h   -   - c   -   d a t e ;   e c h o   H e l l o   f r o m   t h e   K u b e r n e t e s   c l u s t e r   r e s t a r t P o l i c y :   O n F a i l u r e   R u n   t h e   e x a m p l e   C r o n J o b   b y   u s i n g   t h i s   c o m m a n d :   k u b e c t l   c r e a t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / j o b / c r o n j o b . y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   c r o n j o b . b a t c h / h e l l o   c r e a t e d   A f t e r   c r e a t i n g   t h e   c r o n   j o b ,   g e t   i t s   s t a t u s   u s i n g   t h i s   c o m m a n d :   k u b e c t l   g e t   c r o n j o b   h e l l o   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   S C H E D U L E   S U S P E N D   A C T I V E   L A S T   S C H E D U L E   A G E   h e l l o   * / 1   *   *   *   *   F a l s e   0   < n o n e >   1 0 s   A s   y o u   c a n   s e e   f r o m   t h e   r e s u l t s   o f   t h e   c o m m a n d ,   t h e   c r o n   j o b   h a s   n o t   s c h e d u l e d   o r   r u n   a n y   j o b s   y e t .   W a t c h   f o r   t h e   j o b   t o   b e   c r e a t e d   i n   a r o u n d   o n e   m i n u t e :   k u b e c t l   g e t   j o b s   - - w a t c h   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19276"
  },
  {
    "question": "What is Note:?",
    "answer": "#   R e p l a c e   \" h e l l o - 4 1 1 1 7 0 6 3 5 6 \"   w i t h   t h e   j o b   n a m e   i n   y o u r   s y s t e m   p o d s = $ ( k u b e c t l   g e t   p o d s   - - s e l e c t o r = j o b - n a m e = h e l l o - 4 1 1 1 7 0 6 3 5 6   - - o u t p u t = j s o n p a t h = { . i t e m s [ * ] . m e t a d a t a . n a m e } )   S h o w   t h e   p o d   l o g :   k u b e c t l   l o g s   $ p o d s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   F r i   F e b   2 2   1 1 : 0 2 : 0 9   U T C   2 0 1 9   H e l l o   f r o m   t h e   K u b e r n e t e s   c l u s t e r",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_4_19277"
  },
  {
    "question": "What is Deleting a CronJob?",
    "answer": "W h e n   y o u   d o n ' t   n e e d   a   c r o n   j o b   a n y   m o r e ,   d e l e t e   i t   w i t h   k u b e c t l   d e l e t e   c r o n j o b   < c r o n j o b   n a m e > :   k u b e c t l   d e l e t e   c r o n j o b   h e l l o   D e l e t i n g   t h e   c r o n   j o b   r e m o v e s   a l l   t h e   j o b s   a n d   p o d s   i t   c r e a t e d   a n d   s t o p s   i t   f r o m   c r e a t i n g   a d d i t i o n a l   j o b s .   Y o u   c a n   r e a d   m o r e   a b o u t   r e m o v i n g   j o b s   i n   g a r b a g e   c o l l e c t i o n .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19278"
  },
  {
    "question": "What is 2 - Coarse Parallel Processing Using a Work Queue?",
    "answer": "I n   t h i s   e x a m p l e ,   y o u   w i l l   r u n   a   K u b e r n e t e s   J o b   w i t h   m u l t i p l e   p a r a l l e l   w o r k e r   p r o c e s s e s .   I n   t h i s   e x a m p l e ,   a s   e a c h   p o d   i s   c r e a t e d ,   i t   p i c k s   u p   o n e   u n i t   o f   w o r k   f r o m   a   t a s k   q u e u e ,   c o m p l e t e s   i t ,   d e l e t e s   i t   f r o m   t h e   q u e u e ,   a n d   e x i t s .   H e r e   i s   a n   o v e r v i e w   o f   t h e   s t e p s   i n   t h i s   e x a m p l e :   S t a r t   a   m e s s a g e   q u e u e   s e r v i c e .   I n   t h i s   e x a m p l e ,   y o u   u s e   R a b b i t M Q ,   b u t   y o u   c o u l d   u s e   a n o t h e r   o n e .   I n   p r a c t i c e   y o u   w o u l d   s e t   u p   a   m e s s a g e   q u e u e   s e r v i c e   o n c e   a n d   r e u s e   i t   f o r   m a n y   j o b s . C r e a t e   a   q u e u e ,   a n d   f i l l   i t   w i t h   m e s s a g e s .   E a c h   m e s s a g e   r e p r e s e n t s   o n e   t a s k   t o   b e   d o n e .   I n   t h i s   e x a m p l e ,   a   m e s s a g e   i s   a n   i n t e g e r   t h a t   w e   w i l l   d o   a   l e n g t h y   c o m p u t a t i o n   o n . S t a r t   a   J o b   t h a t   w o r k s   o n   t a s k s   f r o m   t h e   q u e u e .   T h e   J o b   s t a r t s   s e v e r a l   p o d s .   E a c h   p o d   t a k e s   o n e   t a s k   f r o m   t h e   m e s s a g e   q u e u e ,   p r o c e s s e s   i t ,   a n d   e x i t s .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_1_19279"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   s h o u l d   a l r e a d y   b e   f a m i l i a r   w i t h   t h e   b a s i c ,   n o n - p a r a l l e l ,   u s e   o f   J o b .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   w i l l   n e e d   a   c o n t a i n e r   i m a g e   r e g i s t r y   w h e r e   y o u   c a n   u p l o a d   i m a g e s   t o   r u n   i n   y o u r   c l u s t e r .   T h i s   t a s k   e x a m p l e   a l s o   a s s u m e s   t h a t   y o u   h a v e   D o c k e r   i n s t a l l e d   l o c a l l y .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19280"
  },
  {
    "question": "What is Starting a message queue service?",
    "answer": "T h i s   e x a m p l e   u s e s   R a b b i t M Q ,   h o w e v e r ,   y o u   c a n   a d a p t   t h e   e x a m p l e   t o   u s e   a n o t h e r   A M Q P - t y p e   m e s s a g e   s e r v i c e .   I n   p r a c t i c e   y o u   c o u l d   s e t   u p   a   m e s s a g e   q u e u e   s e r v i c e   o n c e   i n   a   c l u s t e r   a n d   r e u s e   i t   f o r   m a n y   j o b s ,   a s   w e l l   a s   f o r   l o n g - r u n n i n g   s e r v i c e s .   S t a r t   R a b b i t M Q   a s   f o l l o w s :   #   m a k e   a   S e r v i c e   f o r   t h e   S t a t e f u l S e t   t o   u s e   k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / a p p l i c a t i o n / j o b / r a b b i t m q / r a b b i t m q - s e r v i c e . y a m l   s e r v i c e   \" r a b b i t m q - s e r v i c e \"   c r e a t e d   k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / a p p l i c a t i o n / j o b / r a b b i t m q / r a b b i t m q - s t a t e f u l s e t . y a m l   s t a t e f u l s e t   \" r a b b i t m q \"   c r e a t e d",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19281"
  },
  {
    "question": "What is Testing the message queue service?",
    "answer": "N o w ,   w e   c a n   e x p e r i m e n t   w i t h   a c c e s s i n g   t h e   m e s s a g e   q u e u e .   W e   w i l l   c r e a t e   a   t e m p o r a r y   i n t e r a c t i v e   p o d ,   i n s t a l l   s o m e   t o o l s   o n   i t ,   a n d   e x p e r i m e n t   w i t h   q u e u e s .   F i r s t   c r e a t e   a   t e m p o r a r y   i n t e r a c t i v e   P o d .   #   C r e a t e   a   t e m p o r a r y   i n t e r a c t i v e   c o n t a i n e r   k u b e c t l   r u n   - i   - - t t y   t e m p   - - i m a g e   u b u n t u : 2 2 . 0 4   W a i t i n g   f o r   p o d   d e f a u l t / t e m p - l o e 0 7   t o   b e   r u n n i n g ,   s t a t u s   i s   P e n d i n g ,   p o d   r e a d y :   f a l s e   . . .   [   p r e v i o u s   l i n e   r e p e a t s   s e v e r a l   t i m e s   . .   h i t   r e t u r n   w h e n   i t   s t o p s   ]   . . .   N o t e   t h a t   y o u r   p o d   n a m e   a n d   c o m m a n d   p r o m p t   w i l l   b e   d i f f e r e n t .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19282"
  },
  {
    "question": "What is Fill the queue with tasks?",
    "answer": "N o w ,   f i l l   t h e   q u e u e   w i t h   s o m e   s i m u l a t e d   t a s k s .   I n   t h i s   e x a m p l e ,   t h e   t a s k s   a r e   s t r i n g s   t o   b e   p r i n t e d .   I n   a   p r a c t i c e ,   t h e   c o n t e n t   o f   t h e   m e s s a g e s   m i g h t   b e :   n a m e s   o f   f i l e s   t o   t h a t   n e e d   t o   b e   p r o c e s s e d e x t r a   f l a g s   t o   t h e   p r o g r a m r a n g e s   o f   k e y s   i n   a   d a t a b a s e   t a b l e c o n f i g u r a t i o n   p a r a m e t e r s   t o   a   s i m u l a t i o n f r a m e   n u m b e r s   o f   a   s c e n e   t o   b e   r e n d e r e d   I f   t h e r e   i s   l a r g e   d a t a   t h a t   i s   n e e d e d   i n   a   r e a d - o n l y   m o d e   b y   a l l   p o d s   o f   t h e   J o b ,   y o u   t y p i c a l l y   p u t   t h a t   i n   a   s h a r e d   f i l e   s y s t e m   l i k e   N F S   a n d   m o u n t   t h a t   r e a d o n l y   o n   a l l   t h e   p o d s ,   o r   w r i t e   t h e   p r o g r a m   i n   t h e   p o d   s o   t h a t   i t   c a n   n a t i v e l y   r e a d   d a t a   f r o m   a   c l u s t e r   f i l e   s y s t e m   ( f o r   e x a m p l e :   H D F S ) .   F o r   t h i s   e x a m p l e ,   y o u   w i l l   c r e a t e   t h e   q u e u e   a n d   f i l l   i t   u s i n g   t h e   A M Q P   c o m m a n d   l i n e   t o o l s .   I n   p r a c t i c e ,   y o u   m i g h t   w r i t e   a   p r o g r a m   t o   f i l l   t h e   q u e u e   u s i n g   a n   A M Q P   c l i e n t   l i b r a r y .   #   R u n   t h i s   o n   y o u r   c o m p u t e r ,   n o t   i n   t h e   P o d   / u s r / b i n / a m q p - d e c l a r e - q u e u e   - - u r l = $ B R O K E R _ U R L   - q   j o b 1   - d   j o b 1   A d d   i t e m s   t o   t h e   q u e u e :   f o r   f   i n   a p p l e   b a n a n a   c h e r r y   d a t e   f i g   g r a p e   l e m o n   m e l o n   d o   / u s ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19283"
  },
  {
    "question": "What is Create a container image?",
    "answer": "N o w   y o u   a r e   r e a d y   t o   c r e a t e   a n   i m a g e   t h a t   y o u   w i l l   r u n   a s   a   J o b .   T h e   j o b   w i l l   u s e   t h e   a m q p - c o n s u m e   u t i l i t y   t o   r e a d   t h e   m e s s a g e   f r o m   t h e   q u e u e   a n d   r u n   t h e   a c t u a l   w o r k .   H e r e   i s   a   v e r y   s i m p l e   e x a m p l e   p r o g r a m :   # ! / u s r / b i n / e n v   p y t h o n   #   J u s t   p r i n t s   s t a n d a r d   o u t   a n d   s l e e p s   f o r   1 0   s e c o n d s .   i m p o r t   s y s   i m p o r t   t i m e   p r i n t ( \" P r o c e s s i n g   \"   +   s y s . s t d i n . r e a d l i n e s ( ) [ 0 ] )   t i m e . s l e e p ( 1 0 )   G i v e   t h e   s c r i p t   e x e c u t i o n   p e r m i s s i o n :   c h m o d   + x   w o r k e r . p y   N o w ,   b u i l d   a n   i m a g e .   M a k e   a   t e m p o r a r y   d i r e c t o r y ,   c h a n g e   t o   i t ,   d o w n l o a d   t h e   D o c k e r f i l e ,   a n d   w o r k e r . p y .   I n   e i t h e r   c a s e ,   b u i l d   t h e   i m a g e   w i t h   t h i s   c o m m a n d :   d o c k e r   b u i l d   - t   j o b - w q - 1   .   F o r   t h e   D o c k e r   H u b ,   t a g   y o u r   a p p   i m a g e   w i t h   y o u r   u s e r n a m e   a n d   p u s h   t o   t h e   H u b   w i t h   t h e   b e l o w   c o m m a n d s .   R e p l a c e   < u s e r n a m e >   w i t h   y o u r   H u b   u s e r n a m e .   d o c k e r   t a g   j o b - w q - 1   < u s e r n a m e > / j o b - w q - 1   d o c k e r   p u s h   < u s e r n a m e > / j o b - w q - 1   I f   y o u   a r e   u s i n g   a n   a l t e r n a t i v e   c o n t a i n e r   i m a g e   r e g i s t r y ,   t a g   t h e   i m a g e   a n d   p u s h   i t   t h e r e   i n s t e a d .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19284"
  },
  {
    "question": "What is Defining a Job?",
    "answer": "H e r e   i s   a   m a n i f e s t   f o r   a   J o b .   Y o u ' l l   n e e d   t o   m a k e   a   c o p y   o f   t h e   J o b   m a n i f e s t   ( c a l l   i t   . / j o b . y a m l ) ,   a n d   e d i t   t h e   n a m e   o f   t h e   c o n t a i n e r   i m a g e   t o   m a t c h   t h e   n a m e   y o u   u s e d .   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   j o b - w q - 1   s p e c :   c o m p l e t i o n s :   8   p a r a l l e l i s m :   2   t e m p l a t e :   m e t a d a t a :   n a m e :   j o b - w q - 1   s p e c :   c o n t a i n e r s :   -   n a m e :   c   i m a g e :   g c r . i o / < p r o j e c t > / j o b - w q - 1   e n v :   -   n a m e :   B R O K E R _ U R L   v a l u e :   a m q p : / / g u e s t : g u e s t @ r a b b i t m q - s e r v i c e : 5 6 7 2   -   n a m e :   Q U E U E   v a l u e :   j o b 1   r e s t a r t P o l i c y :   O n F a i l u r e   I n   t h i s   e x a m p l e ,   e a c h   p o d   w o r k s   o n   o n e   i t e m   f r o m   t h e   q u e u e   a n d   t h e n   e x i t s .   S o ,   t h e   c o m p l e t i o n   c o u n t   o f   t h e   J o b   c o r r e s p o n d s   t o   t h e   n u m b e r   o f   w o r k   i t e m s   d o n e .   T h a t   i s   w h y   t h e   e x a m p l e   m a n i f e s t   h a s   . s p e c . c o m p l e t i o n s   s e t   t o   8 .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19285"
  },
  {
    "question": "What is Running the Job?",
    "answer": "N o w ,   r u n   t h e   J o b :   #   t h i s   a s s u m e s   y o u   d o w n l o a d e d   a n d   t h e n   e d i t e d   t h e   m a n i f e s t   a l r e a d y   k u b e c t l   a p p l y   - f   . / j o b . y a m l   Y o u   c a n   w a i t   f o r   t h e   J o b   t o   s u c c e e d ,   w i t h   a   t i m e o u t :   #   T h e   c h e c k   f o r   c o n d i t i o n   n a m e   i s   c a s e   i n s e n s i t i v e   k u b e c t l   w a i t   - - f o r = c o n d i t i o n = c o m p l e t e   - - t i m e o u t = 3 0 0 s   j o b / j o b - w q - 1   N e x t ,   c h e c k   o n   t h e   J o b :   k u b e c t l   d e s c r i b e   j o b s / j o b - w q - 1   N a m e :   j o b - w q - 1   N a m e s p a c e :   d e f a u l t   S e l e c t o r :   c o n t r o l l e r - u i d = 4 1 d 7 5 7 0 5 - 9 2 d f - 1 1 e 7 - b 8 5 e - f a 1 6 3 e e 3 c 1 1 f   L a b e l s :   c o n t r o l l e r - u i d = 4 1 d 7 5 7 0 5 - 9 2 d f - 1 1 e 7 - b 8 5 e - f a 1 6 3 e e 3 c 1 1 f   j o b - n a m e = j o b - w q - 1   A n n o t a t i o n s :   < n o n e >   P a r a l l e l i s m :   2   C o m p l e t i o n s :   8   S t a r t   T i m e :   W e d ,   0 6   S e p   2 0 2 2   1 6 : 4 2 : 0 2   + 0 0 0 0   P o d s   S t a t u s e s :   0   R u n n i n g   /   8   S u c c e e d e d   /   0   F a i l e d   P o d   T e m p l a t e :   L a b e l s :   c o n t r o l l e r - u i d = 4 1 d 7 5 7 0 5 - 9 2 d f - 1 1 e 7 - b 8 5 e - f a 1 6 3 e e 3 c 1 1 f   j o b - n a m e = j o b - w q - 1   C o n t a i n e r s :   c :   I m a g e :   c o n t a i n e r - r e g i s t r y . e x a m p l e / c a u s a l - j i g s a w - 6 3 7 / j o b - w q - 1   P o r t :   E n v i r o n m e n t :   B R O K E R _ U R L :   a m q p : / / g u e s t : g u e s t @ r a b b i t m q - s e r v i c e : 5 6 7 2   Q U E U E :   j o b 1   M o u n t s :   < n o n e >   V o l u m e s :   < n o n e >   E v e n t s :   F i r s t S e e n   L a s t S e e n   C o u n t   F r o m   S u b o b j e c t P a t h   T y p e   R e a s ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19286"
  },
  {
    "question": "What is Alternatives?",
    "answer": "T h i s   a p p r o a c h   h a s   t h e   a d v a n t a g e   t h a t   y o u   d o   n o t   n e e d   t o   m o d i f y   y o u r   \" w o r k e r \"   p r o g r a m   t o   b e   a w a r e   t h a t   t h e r e   i s   a   w o r k   q u e u e .   Y o u   c a n   i n c l u d e   t h e   w o r k e r   p r o g r a m   u n m o d i f i e d   i n   y o u r   c o n t a i n e r   i m a g e .   U s i n g   t h i s   a p p r o a c h   d o e s   r e q u i r e   t h a t   y o u   r u n   a   m e s s a g e   q u e u e   s e r v i c e .   I f   r u n n i n g   a   q u e u e   s e r v i c e   i s   i n c o n v e n i e n t ,   y o u   m a y   w a n t   t o   c o n s i d e r   o n e   o f   t h e   o t h e r   j o b   p a t t e r n s .   T h i s   a p p r o a c h   c r e a t e s   a   p o d   f o r   e v e r y   w o r k   i t e m .   I f   y o u r   w o r k   i t e m s   o n l y   t a k e   a   f e w   s e c o n d s ,   t h o u g h ,   c r e a t i n g   a   P o d   f o r   e v e r y   w o r k   i t e m   m a y   a d d   a   l o t   o f   o v e r h e a d .   C o n s i d e r   a n o t h e r   d e s i g n ,   s u c h   a s   i n   t h e   f i n e   p a r a l l e l   w o r k   q u e u e   e x a m p l e ,   t h a t   e x e c u t e s   m u l t i p l e   w o r k   i t e m s   p e r   P o d .   I n   t h i s   e x a m p l e ,   y o u   u s e d   t h e   a m q p - c o n s u m e   u t i l i t y   t o   r e a d   t h e   m e s s a g e   f r o m   t h e   q u e u e   a n d   r u n   t h e   a c t u a l   p r o g r a m .   T h i s   h a s   t h e   a d v a n t a g e   t h a t   y o u   d o   n o t   n e e d   t o   m o d i f y   y o u r   p r o g r a m   t o   b e   a w a r e   o f   t h e   q u e u e .   T h e   f i n e   p a r a l l e l   w o r k   q u e u e   e x a m p l e   s h o w s   h o w   t o   c o m m u n i c a t e   w i t h   t h e   w o r k   q u e u e   u s i n g   a   c l i e n t   l i b r a r y .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19287"
  },
  {
    "question": "What is Caveats?",
    "answer": "I f   t h e   n u m b e r   o f   c o m p l e t i o n s   i s   s e t   t o   l e s s   t h a n   t h e   n u m b e r   o f   i t e m s   i n   t h e   q u e u e ,   t h e n   n o t   a l l   i t e m s   w i l l   b e   p r o c e s s e d .   I f   t h e   n u m b e r   o f   c o m p l e t i o n s   i s   s e t   t o   m o r e   t h a n   t h e   n u m b e r   o f   i t e m s   i n   t h e   q u e u e ,   t h e n   t h e   J o b   w i l l   n o t   a p p e a r   t o   b e   c o m p l e t e d ,   e v e n   t h o u g h   a l l   i t e m s   i n   t h e   q u e u e   h a v e   b e e n   p r o c e s s e d .   I t   w i l l   s t a r t   a d d i t i o n a l   p o d s   w h i c h   w i l l   b l o c k   w a i t i n g   f o r   a   m e s s a g e .   Y o u   w o u l d   n e e d   t o   m a k e   y o u r   o w n   m e c h a n i s m   t o   s p o t   w h e n   t h e r e   i s   w o r k   t o   d o   a n d   m e a s u r e   t h e   s i z e   o f   t h e   q u e u e ,   s e t t i n g   t h e   n u m b e r   o f   c o m p l e t i o n s   t o   m a t c h .   T h e r e   i s   a n   u n l i k e l y   r a c e   w i t h   t h i s   p a t t e r n .   I f   t h e   c o n t a i n e r   i s   k i l l e d   i n   b e t w e e n   t h e   t i m e   t h a t   t h e   m e s s a g e   i s   a c k n o w l e d g e d   b y   t h e   a m q p - c o n s u m e   c o m m a n d   a n d   t h e   t i m e   t h a t   t h e   c o n t a i n e r   e x i t s   w i t h   s u c c e s s ,   o r   i f   t h e   n o d e   c r a s h e s   b e f o r e   t h e   k u b e l e t   i s   a b l e   t o   p o s t   t h e   s u c c e s s   o f   t h e   p o d   b a c k   t o   t h e   A P I   s e r v e r ,   t h e n   t h e   J o b   w i l l   n o t   a p p e a r   t o   b e   c o m p l e t e ,   e v e n   t h o u g h   a l l   i t e m s   i n   t h e   q u e u e   h a v e   b e e n   p r o c e s s e d .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19288"
  },
  {
    "question": "What is 3 - Fine Parallel Processing Using a Work Queue?",
    "answer": "I n   t h i s   e x a m p l e ,   y o u   w i l l   r u n   a   K u b e r n e t e s   J o b   t h a t   r u n s   m u l t i p l e   p a r a l l e l   t a s k s   a s   w o r k e r   p r o c e s s e s ,   e a c h   r u n n i n g   a s   a   s e p a r a t e   P o d .   I n   t h i s   e x a m p l e ,   a s   e a c h   p o d   i s   c r e a t e d ,   i t   p i c k s   u p   o n e   u n i t   o f   w o r k   f r o m   a   t a s k   q u e u e ,   p r o c e s s e s   i t ,   a n d   r e p e a t s   u n t i l   t h e   e n d   o f   t h e   q u e u e   i s   r e a c h e d .   H e r e   i s   a n   o v e r v i e w   o f   t h e   s t e p s   i n   t h i s   e x a m p l e :   S t a r t   a   s t o r a g e   s e r v i c e   t o   h o l d   t h e   w o r k   q u e u e .   I n   t h i s   e x a m p l e ,   y o u   w i l l   u s e   R e d i s   t o   s t o r e   w o r k   i t e m s .   I n   t h e   p r e v i o u s   e x a m p l e ,   y o u   u s e d   R a b b i t M Q .   I n   t h i s   e x a m p l e ,   y o u   w i l l   u s e   R e d i s   a n d   a   c u s t o m   w o r k - q u e u e   c l i e n t   l i b r a r y ;   t h i s   i s   b e c a u s e   A M Q P   d o e s   n o t   p r o v i d e   a   g o o d   w a y   f o r   c l i e n t s   t o   d e t e c t   w h e n   a   f i n i t e - l e n g t h   w o r k   q u e u e   i s   e m p t y .   I n   p r a c t i c e   y o u   w o u l d   s e t   u p   a   s t o r e   s u c h   a s   R e d i s   o n c e   a n d   r e u s e   i t   f o r   t h e   w o r k   q u e u e s   o f   m a n y   j o b s ,   a n d   o t h e r   t h i n g s . C r e a t e   a   q u e u e ,   a n d   f i l l   i t   w i t h   m e s s a g e s .   E a c h   m e s s a g e   r e p r e s e n t s   o n e   t a s k   t o   b e   d o n e .   I n   t h i s   e x a m p l e ,   a   m e s s a g e   i s   a n   i n t e g e r   t h a t   w e   w i l l   d o   a   l e n g t h y   c o m p u t a t i o n   o n . S t a r t   a   J o b   t h a t   w o r k s   o n   t a s k s   f r ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_1_19289"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   w i l l   n e e d   a   c o n t a i n e r   i m a g e   r e g i s t r y   w h e r e   y o u   c a n   u p l o a d   i m a g e s   t o   r u n   i n   y o u r   c l u s t e r .   T h e   e x a m p l e   u s e s   D o c k e r   H u b ,   b u t   y o u   c o u l d   a d a p t   i t   t o   a   d i f f e r e n t   c o n t a i n e r   i m a g e   r e g i s t r y .   T h i s   t a s k   e x a m p l e   a l s o   a s s u m e s   t h a t   y o u   h a v e   D o c k e r   i n s t a l l e d   l o c a l l y .   Y o u   u s e   D o c k e r   t o   b u i l d   c o n t a i n e r   i m a g e s .   B e   f a m i l i a r   w i t h   t h e   b a s i c ,   n o n - p a r a l l e l ,   u s e   o f   J o b .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19290"
  },
  {
    "question": "What is Starting Redis?",
    "answer": "F o r   t h i s   e x a m p l e ,   f o r   s i m p l i c i t y ,   y o u   w i l l   s t a r t   a   s i n g l e   i n s t a n c e   o f   R e d i s .   S e e   t h e   R e d i s   E x a m p l e   f o r   a n   e x a m p l e   o f   d e p l o y i n g   R e d i s   s c a l a b l y   a n d   r e d u n d a n t l y .   Y o u   c o u l d   a l s o   d o w n l o a d   t h e   f o l l o w i n g   f i l e s   d i r e c t l y :   r e d i s - p o d . y a m l r e d i s - s e r v i c e . y a m l D o c k e r f i l e j o b . y a m l r e d i s w q . p y w o r k e r . p y   T o   s t a r t   a   s i n g l e   i n s t a n c e   o f   R e d i s ,   y o u   n e e d   t o   c r e a t e   t h e   r e d i s   p o d   a n d   r e d i s   s e r v i c e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / j o b / r e d i s / r e d i s - p o d . y a m l   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / j o b / r e d i s / r e d i s - s e r v i c e . y a m l",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19291"
  },
  {
    "question": "What is Filling the queue with tasks?",
    "answer": "N o w   l e t ' s   f i l l   t h e   q u e u e   w i t h   s o m e   \" t a s k s \" .   I n   t h i s   e x a m p l e ,   t h e   t a s k s   a r e   s t r i n g s   t o   b e   p r i n t e d .   S t a r t   a   t e m p o r a r y   i n t e r a c t i v e   p o d   f o r   r u n n i n g   t h e   R e d i s   C L I .   k u b e c t l   r u n   - i   - - t t y   t e m p   - - i m a g e   r e d i s   - - c o m m a n d   \" / b i n / s h \"   W a i t i n g   f o r   p o d   d e f a u l t / r e d i s 2 - c 7 h 7 8   t o   b e   r u n n i n g ,   s t a t u s   i s   P e n d i n g ,   p o d   r e a d y :   f a l s e   H i t   e n t e r   f o r   c o m m a n d   p r o m p t   N o w   h i t   e n t e r ,   s t a r t   t h e   R e d i s   C L I ,   a n d   c r e a t e   a   l i s t   w i t h   s o m e   w o r k   i t e m s   i n   i t .   r e d i s - c l i   - h   r e d i s   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" a p p l e \"   ( i n t e g e r )   1   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" b a n a n a \"   ( i n t e g e r )   2   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" c h e r r y \"   ( i n t e g e r )   3   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" d a t e \"   ( i n t e g e r )   4   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" f i g \"   ( i n t e g e r )   5   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" g r a p e \"   ( i n t e g e r )   6   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" l e m o n \"   ( i n t e g e r )   7   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" m e l o n \"   ( i n t e g e r )   8   r e d i s : 6 3 7 9 >   r p u s h   j o b 2   \" o r a n g e \"   ( i n t e g e r )   9   r e d i s : 6 3 7 9 >   l r a n g e   j o b 2   0   - 1   1 )   \" a p p l e \"   2 )   \" b a n a n a \"   3 )   \" c h e r r y \"   4 )   \" d a t e \"   5 )   \" f i g \"   6 )   \" g r a p e \"   7 )   \" l e m o n \"   8 )   \" m e l o n \"   9 )   \" o r a n g e \"   S o ,   t h e   l i s t   w i t h   k e y   j o b 2   w i l l   b e   t h e   w o r k   q u e u ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19292"
  },
  {
    "question": "What is Create a container image?",
    "answer": "N o w   y o u   a r e   r e a d y   t o   c r e a t e   a n   i m a g e   t h a t   w i l l   p r o c e s s   t h e   w o r k   i n   t h a t   q u e u e .   Y o u ' r e   g o i n g   t o   u s e   a   P y t h o n   w o r k e r   p r o g r a m   w i t h   a   R e d i s   c l i e n t   t o   r e a d   t h e   m e s s a g e s   f r o m   t h e   m e s s a g e   q u e u e .   A   s i m p l e   R e d i s   w o r k   q u e u e   c l i e n t   l i b r a r y   i s   p r o v i d e d ,   c a l l e d   r e d i s w q . p y   ( D o w n l o a d ) .   T h e   \" w o r k e r \"   p r o g r a m   i n   e a c h   P o d   o f   t h e   J o b   u s e s   t h e   w o r k   q u e u e   c l i e n t   l i b r a r y   t o   g e t   w o r k .   H e r e   i t   i s :   # ! / u s r / b i n / e n v   p y t h o n   i m p o r t   t i m e   i m p o r t   r e d i s w q   h o s t = \" r e d i s \"   #   U n c o m m e n t   n e x t   t w o   l i n e s   i f   y o u   d o   n o t   h a v e   K u b e - D N S   w o r k i n g .   #   i m p o r t   o s   #   h o s t   =   o s . g e t e n v ( \" R E D I S _ S E R V I C E _ H O S T \" )   q   =   r e d i s w q . R e d i s W Q ( n a m e = \" j o b 2 \" ,   h o s t = h o s t )   p r i n t ( \" W o r k e r   w i t h   s e s s i o n I D :   \"   +   q . s e s s i o n I D ( ) )   p r i n t ( \" I n i t i a l   q u e u e   s t a t e :   e m p t y = \"   +   s t r ( q . e m p t y ( ) ) )   w h i l e   n o t   q . e m p t y ( ) :   i t e m   =   q . l e a s e ( l e a s e _ s e c s = 1 0 ,   b l o c k = T r u e ,   t i m e o u t = 2 )   i f   i t e m   i s   n o t   N o n e :   i t e m s t r   =   i t e m . d e c o d e ( \" u t f - 8 \" )   p r i n t ( \" W o r k i n g   o n   \"   +   i t e m s t r )   t i m e . s l e e p ( 1 0 )   #   P u t   y o u r   a c t u a l   w o r k   h e r e   i n s t e a d   o f   s l e e p .   q . c o m p l e t e ( i t e m )   e l s e :   p r i n t ( \" W a i t i n g   f o r   w o r k \" )   p r i n t ( \" Q u e u e   e m p t y ,   e x i t i n g \" )   Y ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19293"
  },
  {
    "question": "What is Push the image?",
    "answer": "F o r   t h e   D o c k e r   H u b ,   t a g   y o u r   a p p   i m a g e   w i t h   y o u r   u s e r n a m e   a n d   p u s h   t o   t h e   H u b   w i t h   t h e   b e l o w   c o m m a n d s .   R e p l a c e   < u s e r n a m e >   w i t h   y o u r   H u b   u s e r n a m e .   d o c k e r   t a g   j o b - w q - 2   < u s e r n a m e > / j o b - w q - 2   d o c k e r   p u s h   < u s e r n a m e > / j o b - w q - 2   Y o u   n e e d   t o   p u s h   t o   a   p u b l i c   r e p o s i t o r y   o r   c o n f i g u r e   y o u r   c l u s t e r   t o   b e   a b l e   t o   a c c e s s   y o u r   p r i v a t e   r e p o s i t o r y .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_3_19294"
  },
  {
    "question": "What is Defining a Job?",
    "answer": "H e r e   i s   a   m a n i f e s t   f o r   t h e   J o b   y o u   w i l l   c r e a t e :   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   j o b - w q - 2   s p e c :   p a r a l l e l i s m :   2   t e m p l a t e :   m e t a d a t a :   n a m e :   j o b - w q - 2   s p e c :   c o n t a i n e r s :   -   n a m e :   c   i m a g e :   g c r . i o / m y p r o j e c t / j o b - w q - 2   r e s t a r t P o l i c y :   O n F a i l u r e",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19295"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   t h i s   e x a m p l e ,   e a c h   p o d   w o r k s   o n   s e v e r a l   i t e m s   f r o m   t h e   q u e u e   a n d   t h e n   e x i t s   w h e n   t h e r e   a r e   n o   m o r e   i t e m s .   S i n c e   t h e   w o r k e r s   t h e m s e l v e s   d e t e c t   w h e n   t h e   w o r k q u e u e   i s   e m p t y ,   a n d   t h e   J o b   c o n t r o l l e r   d o e s   n o t   k n o w   a b o u t   t h e   w o r k q u e u e ,   i t   r e l i e s   o n   t h e   w o r k e r s   t o   s i g n a l   w h e n   t h e y   a r e   d o n e   w o r k i n g .   T h e   w o r k e r s   s i g n a l   t h a t   t h e   q u e u e   i s   e m p t y   b y   e x i t i n g   w i t h   s u c c e s s .   S o ,   a s   s o o n   a s   a n y   w o r k e r   e x i t s   w i t h   s u c c e s s ,   t h e   c o n t r o l l e r   k n o w s   t h e   w o r k   i s   d o n e ,   a n d   t h a t   t h e   P o d s   w i l l   e x i t   s o o n .   S o ,   y o u   n e e d   t o   l e a v e   t h e   c o m p l e t i o n   c o u n t   o f   t h e   J o b   u n s e t .   T h e   j o b   c o n t r o l l e r   w i l l   w a i t   f o r   t h e   o t h e r   p o d s   t o   c o m p l e t e   t o o .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_4_19296"
  },
  {
    "question": "What is Running the Job?",
    "answer": "S o ,   n o w   r u n   t h e   J o b :   #   t h i s   a s s u m e s   y o u   d o w n l o a d e d   a n d   t h e n   e d i t e d   t h e   m a n i f e s t   a l r e a d y   k u b e c t l   a p p l y   - f   . / j o b . y a m l   N o w   w a i t   a   b i t ,   t h e n   c h e c k   o n   t h e   J o b :   k u b e c t l   d e s c r i b e   j o b s / j o b - w q - 2   N a m e :   j o b - w q - 2   N a m e s p a c e :   d e f a u l t   S e l e c t o r :   c o n t r o l l e r - u i d = b 1 c 7 e 4 e 3 - 9 2 e 1 - 1 1 e 7 - b 8 5 e - f a 1 6 3 e e 3 c 1 1 f   L a b e l s :   c o n t r o l l e r - u i d = b 1 c 7 e 4 e 3 - 9 2 e 1 - 1 1 e 7 - b 8 5 e - f a 1 6 3 e e 3 c 1 1 f   j o b - n a m e = j o b - w q - 2   A n n o t a t i o n s :   < n o n e >   P a r a l l e l i s m :   2   C o m p l e t i o n s :   < u n s e t >   S t a r t   T i m e :   M o n ,   1 1   J a n   2 0 2 2   1 7 : 0 7 : 5 9   + 0 0 0 0   P o d s   S t a t u s e s :   1   R u n n i n g   /   0   S u c c e e d e d   /   0   F a i l e d   P o d   T e m p l a t e :   L a b e l s :   c o n t r o l l e r - u i d = b 1 c 7 e 4 e 3 - 9 2 e 1 - 1 1 e 7 - b 8 5 e - f a 1 6 3 e e 3 c 1 1 f   j o b - n a m e = j o b - w q - 2   C o n t a i n e r s :   c :   I m a g e :   c o n t a i n e r - r e g i s t r y . e x a m p l e / e x a m p l e p r o j e c t / j o b - w q - 2   P o r t :   E n v i r o n m e n t :   < n o n e >   M o u n t s :   < n o n e >   V o l u m e s :   < n o n e >   E v e n t s :   F i r s t S e e n   L a s t S e e n   C o u n t   F r o m   S u b o b j e c t P a t h   T y p e   R e a s o n   M e s s a g e   - - - - - - - - -   - - - - - - - -   - - - - -   - - - -   - - - - - - - - - - - - -   - - - - - - - -   - - - - - -   - - - - - - -   3 3 s   3 3 s   1   { j o b - c o n t r o l l e r   }   N o r m a l   S u c c e s s f u l C r e a t e   C r e a t e d   p o d :   j o b - w q - 2 - l g l f 8   Y o u   c a n   w a i t   f o r   t h e   J o b   t o   s u c c e e d ,   w i t h   a   t i m e ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19297"
  },
  {
    "question": "What is Alternatives?",
    "answer": "I f   r u n n i n g   a   q u e u e   s e r v i c e   o r   m o d i f y i n g   y o u r   c o n t a i n e r s   t o   u s e   a   w o r k   q u e u e   i s   i n c o n v e n i e n t ,   y o u   m a y   w a n t   t o   c o n s i d e r   o n e   o f   t h e   o t h e r   j o b   p a t t e r n s .   I f   y o u   h a v e   a   c o n t i n u o u s   s t r e a m   o f   b a c k g r o u n d   p r o c e s s i n g   w o r k   t o   r u n ,   t h e n   c o n s i d e r   r u n n i n g   y o u r   b a c k g r o u n d   w o r k e r s   w i t h   a   R e p l i c a S e t   i n s t e a d ,   a n d   c o n s i d e r   r u n n i n g   a   b a c k g r o u n d   p r o c e s s i n g   l i b r a r y   s u c h   a s   h t t p s : / / g i t h u b . c o m / r e s q u e / r e s q u e .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19298"
  },
  {
    "question": "What is 4 - Indexed Job for Parallel Processing with Static Work Assignment?",
    "answer": "I n   t h i s   e x a m p l e ,   y o u   w i l l   r u n   a   K u b e r n e t e s   J o b   t h a t   u s e s   m u l t i p l e   p a r a l l e l   w o r k e r   p r o c e s s e s .   E a c h   w o r k e r   i s   a   d i f f e r e n t   c o n t a i n e r   r u n n i n g   i n   i t s   o w n   P o d .   T h e   P o d s   h a v e   a n   i n d e x   n u m b e r   t h a t   t h e   c o n t r o l   p l a n e   s e t s   a u t o m a t i c a l l y ,   w h i c h   a l l o w s   e a c h   P o d   t o   i d e n t i f y   w h i c h   p a r t   o f   t h e   o v e r a l l   t a s k   t o   w o r k   o n .   T h e   p o d   i n d e x   i s   a v a i l a b l e   i n   t h e   a n n o t a t i o n   b a t c h . k u b e r n e t e s . i o / j o b - c o m p l e t i o n - i n d e x   a s   a   s t r i n g   r e p r e s e n t i n g   i t s   d e c i m a l   v a l u e .   I n   o r d e r   f o r   t h e   c o n t a i n e r i z e d   t a s k   p r o c e s s   t o   o b t a i n   t h i s   i n d e x ,   y o u   c a n   p u b l i s h   t h e   v a l u e   o f   t h e   a n n o t a t i o n   u s i n g   t h e   d o w n w a r d   A P I   m e c h a n i s m .   F o r   c o n v e n i e n c e ,   t h e   c o n t r o l   p l a n e   a u t o m a t i c a l l y   s e t s   t h e   d o w n w a r d   A P I   t o   e x p o s e   t h e   i n d e x   i n   t h e   J O B _ C O M P L E T I O N _ I N D E X   e n v i r o n m e n t   v a r i a b l e .   H e r e   i s   a n   o v e r v i e w   o f   t h e   s t e p s   i n   t h i s   e x a m p l e :   D e f i n e   a   J o b   m a n i f e s t   u s i n g   i n d e x e d   c o m p l e t i o n .   T h e   d o w n w a r d   A P I   a l l o w s   y o u   t o   p a s s   t h e   p o d   i n d e x   a n n o t a t i o n   a s   a n   e n v i r o n m e n t   v a r i a b l e   o r   f i l e   t o   t h e   c o n t a i n e r . S t a r t   a n   I n d e x e d   J o b   b a s e d   o n   t h a t   m a n i f e s t .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_1_19299"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   s h o u l d   a l r e a d y   b e   f a m i l i a r   w i t h   t h e   b a s i c ,   n o n - p a r a l l e l ,   u s e   o f   J o b .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 2 1 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19300"
  },
  {
    "question": "What is Choose an approach?",
    "answer": "T o   a c c e s s   t h e   w o r k   i t e m   f r o m   t h e   w o r k e r   p r o g r a m ,   y o u   h a v e   a   f e w   o p t i o n s :   R e a d   t h e   J O B _ C O M P L E T I O N _ I N D E X   e n v i r o n m e n t   v a r i a b l e .   T h e   J o b   c o n t r o l l e r   a u t o m a t i c a l l y   l i n k s   t h i s   v a r i a b l e   t o   t h e   a n n o t a t i o n   c o n t a i n i n g   t h e   c o m p l e t i o n   i n d e x . R e a d   a   f i l e   t h a t   c o n t a i n s   t h e   c o m p l e t i o n   i n d e x . A s s u m i n g   t h a t   y o u   c a n ' t   m o d i f y   t h e   p r o g r a m ,   y o u   c a n   w r a p   i t   w i t h   a   s c r i p t   t h a t   r e a d s   t h e   i n d e x   u s i n g   a n y   o f   t h e   m e t h o d s   a b o v e   a n d   c o n v e r t s   i t   i n t o   s o m e t h i n g   t h a t   t h e   p r o g r a m   c a n   u s e   a s   i n p u t .   F o r   t h i s   e x a m p l e ,   i m a g i n e   t h a t   y o u   c h o s e   o p t i o n   3   a n d   y o u   w a n t   t o   r u n   t h e   r e v   u t i l i t y .   T h i s   p r o g r a m   a c c e p t s   a   f i l e   a s   a n   a r g u m e n t   a n d   p r i n t s   i t s   c o n t e n t   r e v e r s e d .   r e v   d a t a . t x t   Y o u ' l l   u s e   t h e   r e v   t o o l   f r o m   t h e   b u s y b o x   c o n t a i n e r   i m a g e .   A s   t h i s   i s   o n l y   a n   e x a m p l e ,   e a c h   P o d   o n l y   d o e s   a   t i n y   p i e c e   o f   w o r k   ( r e v e r s i n g   a   s h o r t   s t r i n g ) .   I n   a   r e a l   w o r k l o a d   y o u   m i g h t ,   f o r   e x a m p l e ,   c r e a t e   a   J o b   t h a t   r e p r e s e n t s   t h e   t a s k   o f   p r o d u c i n g   6 0   s e c o n d s   o f   v i d e o   b a s e d   o n   s c e n e   d a t a .   E a c h   w o r k   i t e m   i n   t h e   v i d e o   r e n d e r i n g   J o b   w o u l d   b e   t o   r e n d e r   a   p a r t i ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19301"
  },
  {
    "question": "What is Define an Indexed Job?",
    "answer": "H e r e   i s   a   s a m p l e   J o b   m a n i f e s t   t h a t   u s e s   I n d e x e d   c o m p l e t i o n   m o d e :   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   ' i n d e x e d - j o b '   s p e c :   c o m p l e t i o n s :   5   p a r a l l e l i s m :   3   c o m p l e t i o n M o d e :   I n d e x e d   t e m p l a t e :   s p e c :   r e s t a r t P o l i c y :   N e v e r   i n i t C o n t a i n e r s :   -   n a m e :   ' i n p u t '   i m a g e :   ' d o c k e r . i o / l i b r a r y / b a s h '   c o m m a n d :   -   \" b a s h \"   -   \" - c \"   -   |   i t e m s = ( f o o   b a r   b a z   q u x   x y z )   e c h o   $ { i t e m s [ $ J O B _ C O M P L E T I O N _ I N D E X ] }   >   / i n p u t / d a t a . t x t   v o l u m e M o u n t s :   -   m o u n t P a t h :   / i n p u t   n a m e :   i n p u t   c o n t a i n e r s :   -   n a m e :   ' w o r k e r '   i m a g e :   ' d o c k e r . i o / l i b r a r y / b u s y b o x '   c o m m a n d :   -   \" r e v \"   -   \" / i n p u t / d a t a . t x t \"   v o l u m e M o u n t s :   -   m o u n t P a t h :   / i n p u t   n a m e :   i n p u t   v o l u m e s :   -   n a m e :   i n p u t   e m p t y D i r :   { }   I n   t h e   e x a m p l e   a b o v e ,   y o u   u s e   t h e   b u i l t i n   J O B _ C O M P L E T I O N _ I N D E X   e n v i r o n m e n t   v a r i a b l e   s e t   b y   t h e   J o b   c o n t r o l l e r   f o r   a l l   c o n t a i n e r s .   A n   i n i t   c o n t a i n e r   m a p s   t h e   i n d e x   t o   a   s t a t i c   v a l u e   a n d   w r i t e s   i t   t o   a   f i l e   t h a t   i s   s h a r e d   w i t h   t h e   c o n t a i n e r   r u n n i n g   t h e   w o r k e r   t h r o u g h   a n   e m p t y D i r   v o l u m e .   O p t i o n a l l y ,   y o u   c a n   d e f i n e   y o u r   o w n   e n v i r o n m e n t   v a r i a b l e   t h r o u g h   t h e   d o w n w a r d   A P I   t o   p ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19302"
  },
  {
    "question": "What is Running the Job?",
    "answer": "N o w   r u n   t h e   J o b :   #   T h i s   u s e s   t h e   f i r s t   a p p r o a c h   ( r e l y i n g   o n   $ J O B _ C O M P L E T I O N _ I N D E X )   k u b e c t l   a p p l y   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / a p p l i c a t i o n / j o b / i n d e x e d - j o b . y a m l   W h e n   y o u   c r e a t e   t h i s   J o b ,   t h e   c o n t r o l   p l a n e   c r e a t e s   a   s e r i e s   o f   P o d s ,   o n e   f o r   e a c h   i n d e x   y o u   s p e c i f i e d .   T h e   v a l u e   o f   . s p e c . p a r a l l e l i s m   d e t e r m i n e s   h o w   m a n y   c a n   r u n   a t   o n c e   w h e r e a s   . s p e c . c o m p l e t i o n s   d e t e r m i n e s   h o w   m a n y   P o d s   t h e   J o b   c r e a t e s   i n   t o t a l .   B e c a u s e   . s p e c . p a r a l l e l i s m   i s   l e s s   t h a n   . s p e c . c o m p l e t i o n s ,   t h e   c o n t r o l   p l a n e   w a i t s   f o r   s o m e   o f   t h e   f i r s t   P o d s   t o   c o m p l e t e   b e f o r e   s t a r t i n g   m o r e   o f   t h e m .   Y o u   c a n   w a i t   f o r   t h e   J o b   t o   s u c c e e d ,   w i t h   a   t i m e o u t :   #   T h e   c h e c k   f o r   c o n d i t i o n   n a m e   i s   c a s e   i n s e n s i t i v e   k u b e c t l   w a i t   - - f o r = c o n d i t i o n = c o m p l e t e   - - t i m e o u t = 3 0 0 s   j o b / i n d e x e d - j o b   N o w ,   d e s c r i b e   t h e   J o b   a n d   c h e c k   t h a t   i t   w a s   s u c c e s s f u l .   k u b e c t l   d e s c r i b e   j o b s / i n d e x e d - j o b   T h e   o u t p u t   i s   s i m i l a r   t o :   N a m e :   i n d e x e d - j o b   N a m e s p a c e :   d e f a u l t   S e l e c t o r :   c o n t r o l l e r - u i d = b f 8 6 5 e 0 4 - 0 b 6 7 - 4 8 3 b - 9 a 9 0 - 7 4 c f c 4 c 3 e 7 5 6   L a b e l s :   c o n t r o l l e r - u i d = b f 8 6 5 e 0 4 - 0 b 6 7 - 4 8 3 b - 9 a 9 0 - 7 4 ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19303"
  },
  {
    "question": "What is 5 - Job with Pod-to-Pod Communication?",
    "answer": "I n   t h i s   e x a m p l e ,   y o u   w i l l   r u n   a   J o b   i n   I n d e x e d   c o m p l e t i o n   m o d e   c o n f i g u r e d   s u c h   t h a t   t h e   p o d s   c r e a t e d   b y   t h e   J o b   c a n   c o m m u n i c a t e   w i t h   e a c h   o t h e r   u s i n g   p o d   h o s t n a m e s   r a t h e r   t h a n   p o d   I P   a d d r e s s e s .   P o d s   w i t h i n   a   J o b   m i g h t   n e e d   t o   c o m m u n i c a t e   a m o n g   t h e m s e l v e s .   T h e   u s e r   w o r k l o a d   r u n n i n g   i n   e a c h   p o d   c o u l d   q u e r y   t h e   K u b e r n e t e s   A P I   s e r v e r   t o   l e a r n   t h e   I P s   o f   t h e   o t h e r   P o d s ,   b u t   i t ' s   m u c h   s i m p l e r   t o   r e l y   o n   K u b e r n e t e s '   b u i l t - i n   D N S   r e s o l u t i o n .   J o b s   i n   I n d e x e d   c o m p l e t i o n   m o d e   a u t o m a t i c a l l y   s e t   t h e   p o d s '   h o s t n a m e   t o   b e   i n   t h e   f o r m a t   o f   $ { j o b N a m e } - $ { c o m p l e t i o n I n d e x } .   Y o u   c a n   u s e   t h i s   f o r m a t   t o   d e t e r m i n i s t i c a l l y   b u i l d   p o d   h o s t n a m e s   a n d   e n a b l e   p o d   c o m m u n i c a t i o n   w i t h o u t   n e e d i n g   t o   c r e a t e   a   c l i e n t   c o n n e c t i o n   t o   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   t o   o b t a i n   p o d   h o s t n a m e s / I P s   v i a   A P I   r e q u e s t s .   T h i s   c o n f i g u r a t i o n   i s   u s e f u l   f o r   u s e   c a s e s   w h e r e   p o d   n e t w o r k i n g   i s   r e q u i r e d   b u t   y o u   d o n ' t   w a n t   t o   d e p e n d   o n   a   n e t w o r k   c o n n e c t i o n   w i t h   t h e   K u b e r n e t e s   A P I   s e r v e r .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_1_19304"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   s h o u l d   a l r e a d y   b e   f a m i l i a r   w i t h   t h e   b a s i c   u s e   o f   J o b .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 2 1 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19305"
  },
  {
    "question": "What is Starting a Job with pod-to-pod communication?",
    "answer": "T o   e n a b l e   p o d - t o - p o d   c o m m u n i c a t i o n   u s i n g   p o d   h o s t n a m e s   i n   a   J o b ,   y o u   m u s t   d o   t h e   f o l l o w i n g :   S e t   u p   a   h e a d l e s s   S e r v i c e   w i t h   a   v a l i d   l a b e l   s e l e c t o r   f o r   t h e   p o d s   c r e a t e d   b y   y o u r   J o b .   T h e   h e a d l e s s   s e r v i c e   m u s t   b e   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   J o b .   O n e   e a s y   w a y   t o   d o   t h i s   i s   t o   u s e   t h e   j o b - n a m e :   < y o u r - j o b - n a m e >   s e l e c t o r ,   s i n c e   t h e   j o b - n a m e   l a b e l   w i l l   b e   a u t o m a t i c a l l y   a d d e d   b y   K u b e r n e t e s .   T h i s   c o n f i g u r a t i o n   w i l l   t r i g g e r   t h e   D N S   s y s t e m   t o   c r e a t e   r e c o r d s   o f   t h e   h o s t n a m e s   o f   t h e   p o d s   r u n n i n g   y o u r   J o b . C o n f i g u r e   t h e   h e a d l e s s   s e r v i c e   a s   s u b d o m a i n   s e r v i c e   f o r   t h e   J o b   p o d s   b y   i n c l u d i n g   t h e   f o l l o w i n g   v a l u e   i n   y o u r   J o b   t e m p l a t e   s p e c : s u b d o m a i n :   < h e a d l e s s - s v c - n a m e >   S e t   u p   a   h e a d l e s s   S e r v i c e   w i t h   a   v a l i d   l a b e l   s e l e c t o r   f o r   t h e   p o d s   c r e a t e d   b y   y o u r   J o b .   T h e   h e a d l e s s   s e r v i c e   m u s t   b e   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   J o b .   O n e   e a s y   w a y   t o   d o   t h i s   i s   t o   u s e   t h e   j o b - n a m e :   < y o u r - j o b - n a m e >   s e l e c t o r ,   s i n c e   t h e   j o b - n a m e   l a b e l   w i l l   b e   a u t o m a t i c a l l y   a d d e d   b y   K u b e r n e t e s .   T h i s   c o n f i g u r a t i o n   w i l l   t r i g g e r   t h e   D N S   s y s t e m   t o   c r ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19306"
  },
  {
    "question": "What is Example?",
    "answer": "B e l o w   i s   a   w o r k i n g   e x a m p l e   o f   a   J o b   w i t h   p o d - t o - p o d   c o m m u n i c a t i o n   v i a   p o d   h o s t n a m e s   e n a b l e d .   T h e   J o b   i s   c o m p l e t e d   o n l y   a f t e r   a l l   p o d s   s u c c e s s f u l l y   p i n g   e a c h   o t h e r   u s i n g   h o s t n a m e s .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_3_19307"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   h e a d l e s s - s v c   s p e c :   c l u s t e r I P :   N o n e   #   c l u s t e r I P   m u s t   b e   N o n e   t o   c r e a t e   a   h e a d l e s s   s e r v i c e   s e l e c t o r :   j o b - n a m e :   e x a m p l e - j o b   #   m u s t   m a t c h   J o b   n a m e   - - -   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   e x a m p l e - j o b   s p e c :   c o m p l e t i o n s :   3   p a r a l l e l i s m :   3   c o m p l e t i o n M o d e :   I n d e x e d   t e m p l a t e :   s p e c :   s u b d o m a i n :   h e a d l e s s - s v c   #   h a s   t o   m a t c h   S e r v i c e   n a m e   r e s t a r t P o l i c y :   N e v e r   c o n t a i n e r s :   -   n a m e :   e x a m p l e - w o r k l o a d   i m a g e :   b a s h : l a t e s t   c o m m a n d :   -   b a s h   -   - c   -   |   f o r   i   i n   0   1   2   d o   g o t S t a t u s = \" - 1 \"   w a n t S t a t u s = \" 0 \"   w h i l e   [   $ g o t S t a t u s   - n e   $ w a n t S t a t u s   ]   d o   p i n g   - c   1   e x a m p l e - j o b - $ { i } . h e a d l e s s - s v c   >   / d e v / n u l l   2 > & 1   g o t S t a t u s = $ ?   i f   [   $ g o t S t a t u s   - n e   $ w a n t S t a t u s   ] ;   t h e n   e c h o   \" F a i l e d   t o   p i n g   p o d   e x a m p l e - j o b - $ { i } . h e a d l e s s - s v c ,   r e t r y i n g   i n   1   s e c o n d . . . \"   s l e e p   1   f i   d o n e   e c h o   \" S u c c e s s f u l l y   p i n g e d   p o d :   e x a m p l e - j o b - $ { i } . h e a d l e s s - s v c \"   d o n e   A f t e r   a p p l y i n g   t h e   e x a m p l e   a b o v e ,   r e a c h   e a c h   o t h e r   o v e r   t h e   n e t w o r k   u s i n g :   < p o d - h o s t n a m e > . < h e a d l e s s - s e r v i c e - n a m e > .   Y o u   s h o u l d   s e e   o u t p u t   s i m i l a r   t o   t h e   f o l l o ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_4_19308"
  },
  {
    "question": "What is 6 - Parallel Processing using Expansions?",
    "answer": "T h i s   t a s k   d e m o n s t r a t e s   r u n n i n g   m u l t i p l e   J o b s   b a s e d   o n   a   c o m m o n   t e m p l a t e .   Y o u   c a n   u s e   t h i s   a p p r o a c h   t o   p r o c e s s   b a t c h e s   o f   w o r k   i n   p a r a l l e l .   F o r   t h i s   e x a m p l e   t h e r e   a r e   o n l y   t h r e e   i t e m s :   a p p l e ,   b a n a n a ,   a n d   c h e r r y .   T h e   s a m p l e   J o b s   p r o c e s s   e a c h   i t e m   b y   p r i n t i n g   a   s t r i n g   t h e n   p a u s i n g .   S e e   u s i n g   J o b s   i n   r e a l   w o r k l o a d s   t o   l e a r n   a b o u t   h o w   t h i s   p a t t e r n   f i t s   m o r e   r e a l i s t i c   u s e   c a s e s .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_1_19309"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   s h o u l d   b e   f a m i l i a r   w i t h   t h e   b a s i c ,   n o n - p a r a l l e l ,   u s e   o f   J o b .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   F o r   b a s i c   t e m p l a t i n g   y o u   n e e d   t h e   c o m m a n d - l i n e   u t i l i t y   s e d .   T o   f o l l o w   t h e   a d v a n c e d   t e m p l a t i n g   e x a m p l e ,   y o u   n e e d   a   w o r k i n g   i n s t a l l a t i o n   o f   P y t h o n ,   a n d   t h e   J i n j a 2   t e m p l a t e   l i b r a r y   f o r   P y t h o n .   O n c e   y o u   h a v e   P y t h o n   s e t   u p ,   y o u   c a n   i n s t a l l   J i n j a 2   b y   r u n n i n g :   p i p   i n s t a l l   - - u s e r   j i n j a 2",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19310"
  },
  {
    "question": "What is Create Jobs based on a template?",
    "answer": "F i r s t ,   d o w n l o a d   t h e   f o l l o w i n g   t e m p l a t e   o f   a   J o b   t o   a   f i l e   c a l l e d   j o b - t m p l . y a m l .   H e r e ' s   w h a t   y o u ' l l   d o w n l o a d :   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   p r o c e s s - i t e m - $ I T E M   l a b e l s :   j o b g r o u p :   j o b e x a m p l e   s p e c :   t e m p l a t e :   m e t a d a t a :   n a m e :   j o b e x a m p l e   l a b e l s :   j o b g r o u p :   j o b e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   c   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ \" s h \" ,   \" - c \" ,   \" e c h o   P r o c e s s i n g   i t e m   $ I T E M   & &   s l e e p   5 \" ]   r e s t a r t P o l i c y :   N e v e r   #   U s e   c u r l   t o   d o w n l o a d   j o b - t m p l . y a m l   c u r l   - L   - s   - O   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / j o b / j o b - t m p l . y a m l   T h e   f i l e   y o u   d o w n l o a d e d   i s   n o t   y e t   a   v a l i d   K u b e r n e t e s   m a n i f e s t .   I n s t e a d   t h a t   t e m p l a t e   i s   a   Y A M L   r e p r e s e n t a t i o n   o f   a   J o b   o b j e c t   w i t h   s o m e   p l a c e h o l d e r s   t h a t   n e e d   t o   b e   f i l l e d   i n   b e f o r e   i t   c a n   b e   u s e d .   T h e   $ I T E M   s y n t a x   i s   n o t   m e a n i n g f u l   t o   K u b e r n e t e s .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19311"
  },
  {
    "question": "What is Create manifests from the template?",
    "answer": "T h e   f o l l o w i n g   s h e l l   s n i p p e t   u s e s   s e d   t o   r e p l a c e   t h e   s t r i n g   $ I T E M   w i t h   t h e   l o o p   v a r i a b l e ,   w r i t i n g   i n t o   a   t e m p o r a r y   d i r e c t o r y   n a m e d   j o b s .   R u n   t h i s   n o w :   #   E x p a n d   t h e   t e m p l a t e   i n t o   m u l t i p l e   f i l e s ,   o n e   f o r   e a c h   i t e m   t o   b e   p r o c e s s e d .   m k d i r   . / j o b s   f o r   i   i n   a p p l e   b a n a n a   c h e r r y   d o   c a t   j o b - t m p l . y a m l   |   s e d   \" s / \\ $ I T E M / $ i / \"   >   . / j o b s / j o b - $ i . y a m l   d o n e   C h e c k   i f   i t   w o r k e d :   l s   j o b s /   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   j o b - a p p l e . y a m l   j o b - b a n a n a . y a m l   j o b - c h e r r y . y a m l   Y o u   c o u l d   u s e   a n y   t y p e   o f   t e m p l a t e   l a n g u a g e   ( f o r   e x a m p l e :   J i n j a 2 ;   E R B ) ,   o r   w r i t e   a   p r o g r a m   t o   g e n e r a t e   t h e   J o b   m a n i f e s t s .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_3_19312"
  },
  {
    "question": "What is Create Jobs from the manifests?",
    "answer": "N e x t ,   c r e a t e   a l l   t h e   J o b s   w i t h   o n e   k u b e c t l   c o m m a n d :   k u b e c t l   c r e a t e   - f   . / j o b s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   j o b . b a t c h / p r o c e s s - i t e m - a p p l e   c r e a t e d   j o b . b a t c h / p r o c e s s - i t e m - b a n a n a   c r e a t e d   j o b . b a t c h / p r o c e s s - i t e m - c h e r r y   c r e a t e d   N o w ,   c h e c k   o n   t h e   j o b s :   k u b e c t l   g e t   j o b s   - l   j o b g r o u p = j o b e x a m p l e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   C O M P L E T I O N S   D U R A T I O N   A G E   p r o c e s s - i t e m - a p p l e   1 / 1   1 4 s   2 2 s   p r o c e s s - i t e m - b a n a n a   1 / 1   1 2 s   2 1 s   p r o c e s s - i t e m - c h e r r y   1 / 1   1 2 s   2 0 s   U s i n g   t h e   - l   o p t i o n   t o   k u b e c t l   s e l e c t s   o n l y   t h e   J o b s   t h a t   a r e   p a r t   o f   t h i s   g r o u p   o f   j o b s   ( t h e r e   m i g h t   b e   o t h e r   u n r e l a t e d   j o b s   i n   t h e   s y s t e m ) .   Y o u   c a n   c h e c k   o n   t h e   P o d s   a s   w e l l   u s i n g   t h e   s a m e   l a b e l   s e l e c t o r :   k u b e c t l   g e t   p o d s   - l   j o b g r o u p = j o b e x a m p l e   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   p r o c e s s - i t e m - a p p l e - k i x w v   0 / 1   C o m p l e t e d   0   4 m   p r o c e s s - i t e m - b a n a n a - w r s f 7   0 / 1   C o m p l e t e d   0   4 m   p r o c e s s - i t e m - c h e r r y - d n f u 9   0 / 1   C o m p l e t e d   0   4 m   W e   c a n   u s e   t h i s   s i n g l e   c o m m a n d   t o   c h e c k   o n   t h e   o u t p u t   o f   a l l   j o b s   a t   o n c e :   k u b e c t l   l o g s   - f   - l   j o b g r o u p = j o b e x a m p l e   T h e   o u t ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_3_19313"
  },
  {
    "question": "What is Clean up?",
    "answer": "#   R e m o v e   t h e   J o b s   y o u   c r e a t e d   #   Y o u r   c l u s t e r   a u t o m a t i c a l l y   c l e a n s   u p   t h e i r   P o d s   k u b e c t l   d e l e t e   j o b   - l   j o b g r o u p = j o b e x a m p l e",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_3_19314"
  },
  {
    "question": "What is Use advanced template parameters?",
    "answer": "I n   t h e   f i r s t   e x a m p l e ,   e a c h   i n s t a n c e   o f   t h e   t e m p l a t e   h a d   o n e   p a r a m e t e r ,   a n d   t h a t   p a r a m e t e r   w a s   a l s o   u s e d   i n   t h e   J o b ' s   n a m e .   H o w e v e r ,   n a m e s   a r e   r e s t r i c t e d   t o   c o n t a i n   o n l y   c e r t a i n   c h a r a c t e r s .   T h i s   s l i g h t l y   m o r e   c o m p l e x   e x a m p l e   u s e s   t h e   J i n j a   t e m p l a t e   l a n g u a g e   t o   g e n e r a t e   m a n i f e s t s   a n d   t h e n   o b j e c t s   f r o m   t h o s e   m a n i f e s t s ,   w i t h   a   m u l t i p l e   p a r a m e t e r s   f o r   e a c h   J o b .   F o r   t h i s   p a r t   o f   t h e   t a s k ,   y o u   a r e   g o i n g   t o   u s e   a   o n e - l i n e   P y t h o n   s c r i p t   t o   c o n v e r t   t h e   t e m p l a t e   t o   a   s e t   o f   m a n i f e s t s .   F i r s t ,   c o p y   a n d   p a s t e   t h e   f o l l o w i n g   t e m p l a t e   o f   a   J o b   o b j e c t ,   i n t o   a   f i l e   c a l l e d   j o b . y a m l . j i n j a 2 :   { %   s e t   p a r a m s   =   [ {   \" n a m e \" :   \" a p p l e \" ,   \" u r l \" :   \" h t t p : / / d b p e d i a . o r g / r e s o u r c e / A p p l e \" ,   } ,   {   \" n a m e \" :   \" b a n a n a \" ,   \" u r l \" :   \" h t t p : / / d b p e d i a . o r g / r e s o u r c e / B a n a n a \" ,   } ,   {   \" n a m e \" :   \" c h e r r y \" ,   \" u r l \" :   \" h t t p : / / d b p e d i a . o r g / r e s o u r c e / C h e r r y \"   } ]   % }   { %   f o r   p   i n   p a r a m s   % }   { %   s e t   n a m e   =   p [ \" n a m e \" ]   % }   { %   s e t   u r l   =   p [ \" u r l \" ]   % }   - - -   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   j o b e x a m p l e - { {   n a m e   } }   l a b e l s :   j o b g r o u p :   j o b e x a m p l e   s p e c :   t e m p l a t e :   m e t a d a t a :   ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19315"
  },
  {
    "question": "What is Clean up?",
    "answer": "#   R e m o v e   t h e   J o b s   y o u   c r e a t e d   #   Y o u r   c l u s t e r   a u t o m a t i c a l l y   c l e a n s   u p   t h e i r   P o d s   k u b e c t l   d e l e t e   j o b   - l   j o b g r o u p = j o b e x a m p l e",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_3_19316"
  },
  {
    "question": "What is Using Jobs in real workloads?",
    "answer": "I n   a   r e a l   u s e   c a s e ,   e a c h   J o b   p e r f o r m s   s o m e   s u b s t a n t i a l   c o m p u t a t i o n ,   s u c h   a s   r e n d e r i n g   a   f r a m e   o f   a   m o v i e ,   o r   p r o c e s s i n g   a   r a n g e   o f   r o w s   i n   a   d a t a b a s e .   I f   y o u   w e r e   r e n d e r i n g   a   m o v i e   y o u   w o u l d   s e t   $ I T E M   t o   t h e   f r a m e   n u m b e r .   I f   y o u   w e r e   p r o c e s s i n g   r o w s   f r o m   a   d a t a b a s e   t a b l e ,   y o u   w o u l d   s e t   $ I T E M   t o   r e p r e s e n t   t h e   r a n g e   o f   d a t a b a s e   r o w s   t o   p r o c e s s .   I n   t h e   t a s k ,   y o u   r a n   a   c o m m a n d   t o   c o l l e c t   t h e   o u t p u t   f r o m   P o d s   b y   f e t c h i n g   t h e i r   l o g s .   I n   a   r e a l   u s e   c a s e ,   e a c h   P o d   f o r   a   J o b   w r i t e s   i t s   o u t p u t   t o   d u r a b l e   s t o r a g e   b e f o r e   c o m p l e t i n g .   Y o u   c a n   u s e   a   P e r s i s t e n t V o l u m e   f o r   e a c h   J o b ,   o r   a n   e x t e r n a l   s t o r a g e   s e r v i c e .   F o r   e x a m p l e ,   i f   y o u   a r e   r e n d e r i n g   f r a m e s   f o r   a   m o v i e ,   u s e   H T T P   t o   P U T   t h e   r e n d e r e d   f r a m e   d a t a   t o   a   U R L ,   u s i n g   a   d i f f e r e n t   U R L   f o r   e a c h   f r a m e .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19317"
  },
  {
    "question": "What is Labels on Jobs and Pods?",
    "answer": "A f t e r   y o u   c r e a t e   a   J o b ,   K u b e r n e t e s   a u t o m a t i c a l l y   a d d s   a d d i t i o n a l   l a b e l s   t h a t   d i s t i n g u i s h   o n e   J o b ' s   p o d s   f r o m   a n o t h e r   J o b ' s   p o d s .   I n   t h i s   e x a m p l e ,   e a c h   J o b   a n d   i t s   P o d   t e m p l a t e   h a v e   a   l a b e l :   j o b g r o u p = j o b e x a m p l e .   K u b e r n e t e s   i t s e l f   p a y s   n o   a t t e n t i o n   t o   l a b e l s   n a m e d   j o b g r o u p .   S e t t i n g   a   l a b e l   f o r   a l l   t h e   J o b s   y o u   c r e a t e   f r o m   a   t e m p l a t e   m a k e s   i t   c o n v e n i e n t   t o   o p e r a t e   o n   a l l   t h o s e   J o b s   a t   o n c e .   I n   t h e   f i r s t   e x a m p l e   y o u   u s e d   a   t e m p l a t e   t o   c r e a t e   s e v e r a l   J o b s .   T h e   t e m p l a t e   e n s u r e s   t h a t   e a c h   P o d   a l s o   g e t s   t h e   s a m e   l a b e l ,   s o   y o u   c a n   c h e c k   o n   a l l   P o d s   f o r   t h e s e   t e m p l a t e d   J o b s   w i t h   a   s i n g l e   c o m m a n d .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19318"
  },
  {
    "question": "What is Alternatives?",
    "answer": "I f   y o u   p l a n   t o   c r e a t e   a   l a r g e   n u m b e r   o f   J o b   o b j e c t s ,   y o u   m a y   f i n d   t h a t :   E v e n   u s i n g   l a b e l s ,   m a n a g i n g   s o   m a n y   J o b s   i s   c u m b e r s o m e . I f   y o u   c r e a t e   m a n y   J o b s   i n   a   b a t c h ,   y o u   m i g h t   p l a c e   h i g h   l o a d   o n   t h e   K u b e r n e t e s   c o n t r o l   p l a n e .   A l t e r n a t i v e l y ,   t h e   K u b e r n e t e s   A P I   s e r v e r   c o u l d   r a t e   l i m i t   y o u ,   t e m p o r a r i l y   r e j e c t i n g   y o u r   r e q u e s t s   w i t h   a   4 2 9   s t a t u s . Y o u   a r e   l i m i t e d   b y   a   r e s o u r c e   q u o t a   o n   J o b s :   t h e   A P I   s e r v e r   p e r m a n e n t l y   r e j e c t s   s o m e   o f   y o u r   r e q u e s t s   w h e n   y o u   c r e a t e   a   g r e a t   d e a l   o f   w o r k   i n   o n e   b a t c h .   T h e r e   a r e   o t h e r   j o b   p a t t e r n s   t h a t   y o u   c a n   u s e   t o   p r o c e s s   l a r g e   a m o u n t s   o f   w o r k   w i t h o u t   c r e a t i n g   v e r y   m a n y   J o b   o b j e c t s .   Y o u   c o u l d   a l s o   c o n s i d e r   w r i t i n g   y o u r   o w n   c o n t r o l l e r   t o   m a n a g e   J o b   o b j e c t s   a u t o m a t i c a l l y .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19319"
  },
  {
    "question": "What is 7 - Handling retriable and non-retriable pod failures with Pod failure policy?",
    "answer": "T h i s   d o c u m e n t   s h o w s   y o u   h o w   t o   u s e   t h e   P o d   f a i l u r e   p o l i c y ,   i n   c o m b i n a t i o n   w i t h   t h e   d e f a u l t   P o d   b a c k o f f   f a i l u r e   p o l i c y ,   t o   i m p r o v e   t h e   c o n t r o l   o v e r   t h e   h a n d l i n g   o f   c o n t a i n e r -   o r   P o d - l e v e l   f a i l u r e   w i t h i n   a   J o b .   T h e   d e f i n i t i o n   o f   P o d   f a i l u r e   p o l i c y   m a y   h e l p   y o u   t o :   b e t t e r   u t i l i z e   t h e   c o m p u t a t i o n a l   r e s o u r c e s   b y   a v o i d i n g   u n n e c e s s a r y   P o d   r e t r i e s . a v o i d   J o b   f a i l u r e s   d u e   t o   P o d   d i s r u p t i o n s   ( s u c h   p r e e m p t i o n ,   A P I - i n i t i a t e d   e v i c t i o n   o r   t a i n t - b a s e d   e v i c t i o n ) .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_1_19320"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   s h o u l d   a l r e a d y   b e   f a m i l i a r   w i t h   t h e   b a s i c   u s e   o f   J o b .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 2 5 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19321"
  },
  {
    "question": "What is Usage scenarios?",
    "answer": "C o n s i d e r   t h e   f o l l o w i n g   u s a g e   s c e n a r i o s   f o r   J o b s   t h a t   d e f i n e   a   P o d   f a i l u r e   p o l i c y   :   A v o i d i n g   u n n e c e s s a r y   P o d   r e t r i e s I g n o r i n g   P o d   d i s r u p t i o n s A v o i d i n g   u n n e c e s s a r y   P o d   r e t r i e s   b a s e d   o n   c u s t o m   P o d   C o n d i t i o n s A v o i d i n g   u n n e c e s s a r y   P o d   r e t r i e s   p e r   i n d e x",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19322"
  },
  {
    "question": "What is Using Pod failure policy to avoid unnecessary Pod retries?",
    "answer": "W i t h   t h e   f o l l o w i n g   e x a m p l e ,   y o u   c a n   l e a r n   h o w   t o   u s e   P o d   f a i l u r e   p o l i c y   t o   a v o i d   u n n e c e s s a r y   P o d   r e s t a r t s   w h e n   a   P o d   f a i l u r e   i n d i c a t e s   a   n o n - r e t r i a b l e   s o f t w a r e   b u g .   E x a m i n e   t h e   f o l l o w i n g   m a n i f e s t : / c o n t r o l l e r s / j o b - p o d - f a i l u r e - p o l i c y - f a i l j o b . y a m l   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   j o b - p o d - f a i l u r e - p o l i c y - f a i l j o b   s p e c :   c o m p l e t i o n s :   8   p a r a l l e l i s m :   2   t e m p l a t e :   s p e c :   r e s t a r t P o l i c y :   N e v e r   c o n t a i n e r s :   -   n a m e :   m a i n   i m a g e :   d o c k e r . i o / l i b r a r y / b a s h : 5   c o m m a n d :   [ \" b a s h \" ]   a r g s :   -   - c   -   e c h o   \" H e l l o   w o r l d !   I ' m   g o i n g   t o   e x i t   w i t h   4 2   t o   s i m u l a t e   a   s o f t w a r e   b u g . \"   & &   s l e e p   3 0   & &   e x i t   4 2   b a c k o f f L i m i t :   6   p o d F a i l u r e P o l i c y :   r u l e s :   -   a c t i o n :   F a i l J o b   o n E x i t C o d e s :   c o n t a i n e r N a m e :   m a i n   o p e r a t o r :   I n   v a l u e s :   [ 4 2 ]   A p p l y   t h e   m a n i f e s t : k u b e c t l   c r e a t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / c o n t r o l l e r s / j o b - p o d - f a i l u r e - p o l i c y - f a i l j o b . y a m l   A f t e r   a r o u n d   3 0   s e c o n d s   t h e   e n t i r e   J o b   s h o u l d   b e   t e r m i n a t e d .   I n s p e c t   t h e   s t a t u s   o f   t h e   J o b   b y   r u n n i n g : k u b e c t l   g e t   j o b s   - l   j o b - n a m e = j o b - p o d - f a i l u r e - p o l i c y - f a i l j o b   - o   y a m l   I n   t h e   J o b   s t a t u s ,   t h e ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_3_19323"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   t h e   J o b   y o u   c r e a t e d :   k u b e c t l   d e l e t e   j o b s / j o b - p o d - f a i l u r e - p o l i c y - f a i l j o b   T h e   c l u s t e r   a u t o m a t i c a l l y   c l e a n s   u p   t h e   P o d s .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_4_19324"
  },
  {
    "question": "What is Using Pod failure policy to ignore Pod disruptions?",
    "answer": "W i t h   t h e   f o l l o w i n g   e x a m p l e ,   y o u   c a n   l e a r n   h o w   t o   u s e   P o d   f a i l u r e   p o l i c y   t o   i g n o r e   P o d   d i s r u p t i o n s   f r o m   i n c r e m e n t i n g   t h e   P o d   r e t r y   c o u n t e r   t o w a r d s   t h e   . s p e c . b a c k o f f L i m i t   l i m i t .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_3_19325"
  },
  {
    "question": "What is Caution:?",
    "answer": "E x a m i n e   t h e   f o l l o w i n g   m a n i f e s t : / c o n t r o l l e r s / j o b - p o d - f a i l u r e - p o l i c y - i g n o r e . y a m l   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   j o b - p o d - f a i l u r e - p o l i c y - i g n o r e   s p e c :   c o m p l e t i o n s :   4   p a r a l l e l i s m :   2   t e m p l a t e :   s p e c :   r e s t a r t P o l i c y :   N e v e r   c o n t a i n e r s :   -   n a m e :   m a i n   i m a g e :   d o c k e r . i o / l i b r a r y / b a s h : 5   c o m m a n d :   [ \" b a s h \" ]   a r g s :   -   - c   -   e c h o   \" H e l l o   w o r l d !   I ' m   g o i n g   t o   e x i t   w i t h   0   ( s u c c e s s ) . \"   & &   s l e e p   9 0   & &   e x i t   0   b a c k o f f L i m i t :   0   p o d F a i l u r e P o l i c y :   r u l e s :   -   a c t i o n :   I g n o r e   o n P o d C o n d i t i o n s :   -   t y p e :   D i s r u p t i o n T a r g e t   A p p l y   t h e   m a n i f e s t : k u b e c t l   c r e a t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / c o n t r o l l e r s / j o b - p o d - f a i l u r e - p o l i c y - i g n o r e . y a m l   R u n   t h i s   c o m m a n d   t o   c h e c k   t h e   n o d e N a m e   t h e   P o d   i s   s c h e d u l e d   t o : n o d e N a m e = $ ( k u b e c t l   g e t   p o d s   - l   j o b - n a m e = j o b - p o d - f a i l u r e - p o l i c y - i g n o r e   - o   j s o n p a t h = ' { . i t e m s [ 0 ] . s p e c . n o d e N a m e } ' )   D r a i n   t h e   n o d e   t o   e v i c t   t h e   P o d   b e f o r e   i t   c o m p l e t e s   ( w i t h i n   9 0 s ) : k u b e c t l   d r a i n   n o d e s / $ n o d e N a m e   - - i g n o r e - d a e m o n s e t s   - - g r a c e - p e r i o d = 0   I n s p e c t   t h e   . s t a t u s . f a i l e d   t o   c h e c k   t h e   c o u n t e r   f o r   t h e   J o b   i s   n o t   i n c r e m e n t e d : k u b e c t l   g e t   ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_4_19326"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "D e l e t e   t h e   J o b   y o u   c r e a t e d :   k u b e c t l   d e l e t e   j o b s / j o b - p o d - f a i l u r e - p o l i c y - i g n o r e   T h e   c l u s t e r   a u t o m a t i c a l l y   c l e a n s   u p   t h e   P o d s .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_4_19327"
  },
  {
    "question": "What is Using Pod failure policy to avoid unnecessary Pod retries based on custom Pod Conditions?",
    "answer": "W i t h   t h e   f o l l o w i n g   e x a m p l e ,   y o u   c a n   l e a r n   h o w   t o   u s e   P o d   f a i l u r e   p o l i c y   t o   a v o i d   u n n e c e s s a r y   P o d   r e s t a r t s   b a s e d   o n   c u s t o m   P o d   C o n d i t i o n s .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_3_19328"
  },
  {
    "question": "What is Note:?",
    "answer": "E x a m i n e   t h e   f o l l o w i n g   m a n i f e s t : / c o n t r o l l e r s / j o b - p o d - f a i l u r e - p o l i c y - c o n f i g - i s s u e . y a m l   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   j o b - p o d - f a i l u r e - p o l i c y - c o n f i g - i s s u e   s p e c :   c o m p l e t i o n s :   8   p a r a l l e l i s m :   2   t e m p l a t e :   s p e c :   r e s t a r t P o l i c y :   N e v e r   c o n t a i n e r s :   -   n a m e :   m a i n   i m a g e :   \" n o n - e x i s t i n g - r e p o / n o n - e x i s t i n g - i m a g e : e x a m p l e \"   b a c k o f f L i m i t :   6   p o d F a i l u r e P o l i c y :   r u l e s :   -   a c t i o n :   F a i l J o b   o n P o d C o n d i t i o n s :   -   t y p e :   C o n f i g I s s u e   A p p l y   t h e   m a n i f e s t : k u b e c t l   c r e a t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / c o n t r o l l e r s / j o b - p o d - f a i l u r e - p o l i c y - c o n f i g - i s s u e . y a m l   N o t e   t h a t ,   t h e   i m a g e   i s   m i s c o n f i g u r e d ,   a s   i t   d o e s   n o t   e x i s t . I n s p e c t   t h e   s t a t u s   o f   t h e   j o b ' s   P o d s   b y   r u n n i n g : k u b e c t l   g e t   p o d s   - l   j o b - n a m e = j o b - p o d - f a i l u r e - p o l i c y - c o n f i g - i s s u e   - o   y a m l   Y o u   w i l l   s e e   o u t p u t   s i m i l a r   t o   t h i s : c o n t a i n e r S t a t u s e s :   -   i m a g e :   n o n - e x i s t i n g - r e p o / n o n - e x i s t i n g - i m a g e : e x a m p l e   . . .   s t a t e :   w a i t i n g :   m e s s a g e :   B a c k - o f f   p u l l i n g   i m a g e   \" n o n - e x i s t i n g - r e p o / n o n - e x i s t i n g - i m a g e : e x a m p l e \"   r e a s o n :   I m a g e P u l l B a c k O f f   . . .   p h a s e :   P e n d i n g   N o t e   t h a t   t h e   p o d   r e m a i n s   i n   t h e   P e n d ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_4_19329"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "D e l e t e   t h e   J o b   y o u   c r e a t e d :   k u b e c t l   d e l e t e   j o b s / j o b - p o d - f a i l u r e - p o l i c y - c o n f i g - i s s u e   T h e   c l u s t e r   a u t o m a t i c a l l y   c l e a n s   u p   t h e   P o d s .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_4_19330"
  },
  {
    "question": "What is Using Pod Failure Policy to avoid unnecessary Pod retries per index?",
    "answer": "T o   a v o i d   u n n e c e s s a r y   P o d   r e s t a r t s   p e r   i n d e x ,   y o u   c a n   u s e   t h e   P o d   f a i l u r e   p o l i c y   a n d   b a c k o f f   l i m i t   p e r   i n d e x   f e a t u r e s .   T h i s   s e c t i o n   o f   t h e   p a g e   s h o w s   h o w   t o   u s e   t h e s e   f e a t u r e s   t o g e t h e r .   E x a m i n e   t h e   f o l l o w i n g   m a n i f e s t : / c o n t r o l l e r s / j o b - b a c k o f f - l i m i t - p e r - i n d e x - f a i l i n d e x . y a m l   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   j o b - b a c k o f f - l i m i t - p e r - i n d e x - f a i l i n d e x   s p e c :   c o m p l e t i o n s :   4   p a r a l l e l i s m :   2   c o m p l e t i o n M o d e :   I n d e x e d   b a c k o f f L i m i t P e r I n d e x :   1   t e m p l a t e :   s p e c :   r e s t a r t P o l i c y :   N e v e r   c o n t a i n e r s :   -   n a m e :   m a i n   i m a g e :   d o c k e r . i o / l i b r a r y / p y t h o n : 3   c o m m a n d :   #   T h e   s c r i p t :   #   -   f a i l s   t h e   P o d   w i t h   i n d e x   0   w i t h   e x i t   c o d e   1 ,   w h i c h   r e s u l t s   i n   o n e   r e t r y ;   #   -   f a i l s   t h e   P o d   w i t h   i n d e x   1   w i t h   e x i t   c o d e   4 2   w h i c h   r e s u l t s   #   i n   f a i l i n g   t h e   i n d e x   w i t h o u t   r e t r y .   #   -   s u c c e e d s   P o d s   w i t h   a n y   o t h e r   i n d e x .   -   p y t h o n 3   -   - c   -   |   i m p o r t   o s ,   s y s   i n d e x   =   i n t ( o s . e n v i r o n . g e t ( \" J O B _ C O M P L E T I O N _ I N D E X \" ) )   i f   i n d e x   = =   0 :   s y s . e x i t ( 1 )   e l i f   i n d e x   = =   1 :   s y s . e x i t ( 4 2 )   e l s e :   s y s . e x i t ( 0 )   b a c k o f f L i m i t :   6   p o d F a i l u r e P o l i c y :   r u l e s :   -   a c t i o n :   F a i l I n d e x   ",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_3_19331"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "D e l e t e   t h e   J o b   y o u   c r e a t e d :   k u b e c t l   d e l e t e   j o b s / j o b - b a c k o f f - l i m i t - p e r - i n d e x - f a i l i n d e x   T h e   c l u s t e r   a u t o m a t i c a l l y   c l e a n s   u p   t h e   P o d s .",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_4_19332"
  },
  {
    "question": "What is Alternatives?",
    "answer": "Y o u   c o u l d   r e l y   s o l e l y   o n   t h e   P o d   b a c k o f f   f a i l u r e   p o l i c y ,   b y   s p e c i f y i n g   t h e   J o b ' s   . s p e c . b a c k o f f L i m i t   f i e l d .   H o w e v e r ,   i n   m a n y   s i t u a t i o n s   i t   i s   p r o b l e m a t i c   t o   f i n d   a   b a l a n c e   b e t w e e n   s e t t i n g   a   l o w   v a l u e   f o r   . s p e c . b a c k o f f L i m i t   t o   a v o i d   u n n e c e s s a r y   P o d   r e t r i e s ,   y e t   h i g h   e n o u g h   t o   m a k e   s u r e   t h e   J o b   w o u l d   n o t   b e   t e r m i n a t e d   b y   P o d   d i s r u p t i o n s .   ©   2 0 2 5   T h e   K u b e r n e t e s   A u t h o r s   |   D o c u m e n t a t i o n   D i s t r i b u t e d   u n d e r   C C   B Y   4 . 0   ©   2 0 2 5   T h e   L i n u x   F o u n d a t i o n   ® .   A l l   r i g h t s   r e s e r v e d .   T h e   L i n u x   F o u n d a t i o n   h a s   r e g i s t e r e d   t r a d e m a r k s   a n d   u s e s   t r a d e m a r k s .   F o r   a   l i s t   o f   t r a d e m a r k s   o f   T h e   L i n u x   F o u n d a t i o n ,   p l e a s e   s e e   o u r   T r a d e m a r k   U s a g e   p a g e   I C P   l i c e n s e :   京 I C P 备 1 7 0 7 4 2 6 6 号 - 3",
    "category": "tasks",
    "subcategory": "run-jobs",
    "source": "https://kubernetes.io/docs/tasks/job/_print/",
    "id": "k8s_00780_section_2_19333"
  },
  {
    "question": "What is Configure Pods and Containers?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Configure Pods and ContainersPerform common configuration tasks for Pods and containers.1: Assign Memory Resources to Containers and Pods2: Assign CPU Resources to Containers and Pods3: Assign Devices to Pods and Containers3.1: Set Up DRA in a Cluster3.2: Allocate Devices to Workloads with DRA4: Assign Pod-level CPU and memory resources5: Configure GMSA for Windows Pods and containers6: Resize CPU and Memory Resources assigned to Containers7: Configure RunAsUserName for Windows pods and containers8: Create a Windows HostProcess Pod9: Configure Quality of Service for Pods10: Assign Extended Resources to a Container11: Configure a Pod to Use a Volume for Storage12: Configure a Pod to Use a PersistentVolume for Storage13: Configure a Pod to Use a Projected Volume for Storage14: Configure a Security Context for a Pod or Container15: Configure Service Accounts for Pods16: Pull an Image from a Private Registry17: Configure Liveness, Readiness and Startup Probes18: Assign Pods to Nodes19: Assign Pods to Nodes using Node Affinity20: Configure Pod Initialization21: Attach Handlers to Container Lifecycle Events22: Configure a Pod to Use a ConfigMap23: Share Process Namespace between Containers in a Pod24: Use a User Namespace With a Pod25: Use an Image Volume With a Pod26: Create static Pods27: Translate a Docker Compose File to Kubernetes Resources28: Enforce Pod Security Standards by Configuring the Built-in Admission Controller29: Enforce Pod Security Standards with Namespace Labels30: Migrate from PodSecurityPolicy to the Built-In PodSecurity Admission Controller1 - Assign Memory Resources to Containers and PodsThis page shows how to assign a memory request and a memory limit to a Container. A Container is guaranteed to have as much memory as it requests, but is not allowed to use more memory than its limit.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Each node in your cluster must have at least 300 MiB of memory.A few of the steps on this page require you to run the metrics-server service in your cluster. If you have the metrics-server running, you can skip those steps.If you are running Minikube, run the following command to enable the metrics-server:minikube addons enable metrics-server To see whether the metrics-server is running, or another provider of the resource metrics API (metrics.k8s.io), run the following command:kubectl get apiservices If the resource metrics API is available, the output includes ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_qa_19334"
  },
  {
    "question": "How does Configure Pods and Containers work?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Configure Pods and ContainersPerform common configuration tasks for Pods and containers.1: Assign Memory Resources to Containers and Pods2: Assign CPU Resources to Containers and Pods3: Assign Devices to Pods and Containers3.1: Set Up DRA in a Cluster3.2: Allocate Devices to Workloads with DRA4: Assign Pod-level CPU and memory resources5: Configure GMSA for Windows Pods and containers6: Resize CPU and Memory Resources assigned to Containers7: Configure RunAsUserName for Windows pods and containers8: Create a Windows HostProcess Pod9: Configure Quality of Service for Pods10: Assign Extended Resources to a Container11: Configure a Pod to Use a Volume for Storage12: Configure a Pod to Use a PersistentVolume for Storage13: Configure a Pod to Use a Projected Volume for Storage14: Configure a Security Context for a Pod or Container15: Configure Service Accounts for Pods16: Pull an Image from a Private Registry17: Configure Liveness, Readiness and Startup Probes18: Assign Pods to Nodes19: Assign Pods to Nodes using Node Affinity20: Configure Pod Initialization21: Attach Handlers to Container Lifecycle Events22: Configure a Pod to Use a ConfigMap23: Share Process Namespace between Containers in a Pod24: Use a User Namespace With a Pod25: Use an Image Volume With a Pod26: Create static Pods27: Translate a Docker Compose File to Kubernetes Resources28: Enforce Pod Security Standards by Configuring the Built-in Admission Controller29: Enforce Pod Security Standards with Namespace Labels30: Migrate from PodSecurityPolicy to the Built-In PodSecurity Admission Controller1 - Assign Memory Resources to Containers and PodsThis page shows how to assign a memory request and a memory limit to a Container. A Container is guaranteed to have as much memory as it requests, but is not allowed to use more memory than its limit.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Each node in your cluster must have at least 300 MiB of memory.A few of the steps on this page require you to run the metrics-server service in your cluster. If you have the metrics-server running, you can skip those steps.If you are running Minikube, run the following command to enable the metrics-server:minikube addons enable metrics-server To see whether the metrics-server is running, or another provider of the resource metrics API (metrics.k8s.io), run the following command:kubectl get apiservices If the resource metrics API is available, the output includes ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_qa_19335"
  },
  {
    "question": "When would you use Configure Pods and Containers?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Configure Pods and ContainersPerform common configuration tasks for Pods and containers.1: Assign Memory Resources to Containers and Pods2: Assign CPU Resources to Containers and Pods3: Assign Devices to Pods and Containers3.1: Set Up DRA in a Cluster3.2: Allocate Devices to Workloads with DRA4: Assign Pod-level CPU and memory resources5: Configure GMSA for Windows Pods and containers6: Resize CPU and Memory Resources assigned to Containers7: Configure RunAsUserName for Windows pods and containers8: Create a Windows HostProcess Pod9: Configure Quality of Service for Pods10: Assign Extended Resources to a Container11: Configure a Pod to Use a Volume for Storage12: Configure a Pod to Use a PersistentVolume for Storage13: Configure a Pod to Use a Projected Volume for Storage14: Configure a Security Context for a Pod or Container15: Configure Service Accounts for Pods16: Pull an Image from a Private Registry17: Configure Liveness, Readiness and Startup Probes18: Assign Pods to Nodes19: Assign Pods to Nodes using Node Affinity20: Configure Pod Initialization21: Attach Handlers to Container Lifecycle Events22: Configure a Pod to Use a ConfigMap23: Share Process Namespace between Containers in a Pod24: Use a User Namespace With a Pod25: Use an Image Volume With a Pod26: Create static Pods27: Translate a Docker Compose File to Kubernetes Resources28: Enforce Pod Security Standards by Configuring the Built-in Admission Controller29: Enforce Pod Security Standards with Namespace Labels30: Migrate from PodSecurityPolicy to the Built-In PodSecurity Admission Controller1 - Assign Memory Resources to Containers and PodsThis page shows how to assign a memory request and a memory limit to a Container. A Container is guaranteed to have as much memory as it requests, but is not allowed to use more memory than its limit.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Each node in your cluster must have at least 300 MiB of memory.A few of the steps on this page require you to run the metrics-server service in your cluster. If you have the metrics-server running, you can skip those steps.If you are running Minikube, run the following command to enable the metrics-server:minikube addons enable metrics-server To see whether the metrics-server is running, or another provider of the resource metrics API (metrics.k8s.io), run the following command:kubectl get apiservices If the resource metrics API is available, the output includes ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_qa_19336"
  },
  {
    "question": "What are the benefits of Configure Pods and Containers?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Configure Pods and ContainersPerform common configuration tasks for Pods and containers.1: Assign Memory Resources to Containers and Pods2: Assign CPU Resources to Containers and Pods3: Assign Devices to Pods and Containers3.1: Set Up DRA in a Cluster3.2: Allocate Devices to Workloads with DRA4: Assign Pod-level CPU and memory resources5: Configure GMSA for Windows Pods and containers6: Resize CPU and Memory Resources assigned to Containers7: Configure RunAsUserName for Windows pods and containers8: Create a Windows HostProcess Pod9: Configure Quality of Service for Pods10: Assign Extended Resources to a Container11: Configure a Pod to Use a Volume for Storage12: Configure a Pod to Use a PersistentVolume for Storage13: Configure a Pod to Use a Projected Volume for Storage14: Configure a Security Context for a Pod or Container15: Configure Service Accounts for Pods16: Pull an Image from a Private Registry17: Configure Liveness, Readiness and Startup Probes18: Assign Pods to Nodes19: Assign Pods to Nodes using Node Affinity20: Configure Pod Initialization21: Attach Handlers to Container Lifecycle Events22: Configure a Pod to Use a ConfigMap23: Share Process Namespace between Containers in a Pod24: Use a User Namespace With a Pod25: Use an Image Volume With a Pod26: Create static Pods27: Translate a Docker Compose File to Kubernetes Resources28: Enforce Pod Security Standards by Configuring the Built-in Admission Controller29: Enforce Pod Security Standards with Namespace Labels30: Migrate from PodSecurityPolicy to the Built-In PodSecurity Admission Controller1 - Assign Memory Resources to Containers and PodsThis page shows how to assign a memory request and a memory limit to a Container. A Container is guaranteed to have as much memory as it requests, but is not allowed to use more memory than its limit.Before you beginYou need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:iximiuz LabsKillercodaKodeKloudPlay with KubernetesTo check the version, enter kubectl version.Each node in your cluster must have at least 300 MiB of memory.A few of the steps on this page require you to run the metrics-server service in your cluster. If you have the metrics-server running, you can skip those steps.If you are running Minikube, run the following command to enable the metrics-server:minikube addons enable metrics-server To see whether the metrics-server is running, or another provider of the resource metrics API (metrics.k8s.io), run the following command:kubectl get apiservices If the resource metrics API is available, the output includes ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_qa_19337"
  },
  {
    "question": "What is Configure Pods and Containers?",
    "answer": "1 :   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s 2 :   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s 3 :   A s s i g n   D e v i c e s   t o   P o d s   a n d   C o n t a i n e r s 3 . 1 :   S e t   U p   D R A   i n   a   C l u s t e r 3 . 2 :   A l l o c a t e   D e v i c e s   t o   W o r k l o a d s   w i t h   D R A 4 :   A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s 5 :   C o n f i g u r e   G M S A   f o r   W i n d o w s   P o d s   a n d   c o n t a i n e r s 6 :   R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s 7 :   C o n f i g u r e   R u n A s U s e r N a m e   f o r   W i n d o w s   p o d s   a n d   c o n t a i n e r s 8 :   C r e a t e   a   W i n d o w s   H o s t P r o c e s s   P o d 9 :   C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s 1 0 :   A s s i g n   E x t e n d e d   R e s o u r c e s   t o   a   C o n t a i n e r 1 1 :   C o n f i g u r e   a   P o d   t o   U s e   a   V o l u m e   f o r   S t o r a g e 1 2 :   C o n f i g u r e   a   P o d   t o   U s e   a   P e r s i s t e n t V o l u m e   f o r   S t o r a g e 1 3 :   C o n f i g u r e   a   P o d   t o   U s e   a   P r o j e c t e d   V o l u m e   f o r   S t o r a g e 1 4 :   C o n f i g u r e   a   S e c u r i t y   C o n t e x t   f o r   a   P o d   o r   C o n t a i n e r 1 5 :   C o n f i g u r e   S e r v i c e   A c c o u n t s   f o r   P o d s 1 6 :   P u l l   a n   I m a g e   f r o m   a   P r i v a t e   R e g i s t r y 1 7 :   C o n f i g u r e   L i v e n e s s ,   R e a d i n e s s   a n d   S t a r t u p   P r o b e s 1 8 :   A s s i g n   P o d s   t o   N o d e s 1 9 :   A s s i g n   P o d s   t o   N o d e s   u s i n g   N o d e   A f f i n i t y 2 0 :   C o n f i g u r e   P o d   I n i t i a l i z a t i o n 2 1 :   A t t a c h   H a n d l e r s ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19338"
  },
  {
    "question": "What is 1 - Assign Memory Resources to Containers and Pods?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   a s s i g n   a   m e m o r y   r e q u e s t   a n d   a   m e m o r y   l i m i t   t o   a   C o n t a i n e r .   A   C o n t a i n e r   i s   g u a r a n t e e d   t o   h a v e   a s   m u c h   m e m o r y   a s   i t   r e q u e s t s ,   b u t   i s   n o t   a l l o w e d   t o   u s e   m o r e   m e m o r y   t h a n   i t s   l i m i t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19339"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   E a c h   n o d e   i n   y o u r   c l u s t e r   m u s t   h a v e   a t   l e a s t   3 0 0   M i B   o f   m e m o r y ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19340"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   n a m e s p a c e   s o   t h a t   t h e   r e s o u r c e s   y o u   c r e a t e   i n   t h i s   e x e r c i s e   a r e   i s o l a t e d   f r o m   t h e   r e s t   o f   y o u r   c l u s t e r .   k u b e c t l   c r e a t e   n a m e s p a c e   m e m - e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19341"
  },
  {
    "question": "What is Specify a memory request and a memory limit?",
    "answer": "T o   s p e c i f y   a   m e m o r y   r e q u e s t   f o r   a   C o n t a i n e r ,   i n c l u d e   t h e   r e s o u r c e s : r e q u e s t s   f i e l d   i n   t h e   C o n t a i n e r ' s   r e s o u r c e   m a n i f e s t .   T o   s p e c i f y   a   m e m o r y   l i m i t ,   i n c l u d e   r e s o u r c e s : l i m i t s .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   T h e   C o n t a i n e r   h a s   a   m e m o r y   r e q u e s t   o f   1 0 0   M i B   a n d   a   m e m o r y   l i m i t   o f   2 0 0   M i B .   H e r e ' s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m e m o r y - d e m o   n a m e s p a c e :   m e m - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   m e m o r y - d e m o - c t r   i m a g e :   p o l i n u x / s t r e s s   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 1 0 0 M i \"   l i m i t s :   m e m o r y :   \" 2 0 0 M i \"   c o m m a n d :   [ \" s t r e s s \" ]   a r g s :   [ \" - - v m \" ,   \" 1 \" ,   \" - - v m - b y t e s \" ,   \" 1 5 0 M \" ,   \" - - v m - h a n g \" ,   \" 1 \" ]   T h e   a r g s   s e c t i o n   i n   t h e   c o n f i g u r a t i o n   f i l e   p r o v i d e s   a r g u m e n t s   f o r   t h e   C o n t a i n e r   w h e n   i t   s t a r t s .   T h e   \" - - v m - b y t e s \" ,   \" 1 5 0 M \"   a r g u m e n t s   t e l l   t h e   C o n t a i n e r   t o   a t t e m p t   t o   a l l o c a t e   1 5 0   M i B   o f   m e m o r y .   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / r e s o u r c e / m e m o r y - r e q u e s t - l i m i t . y a m l   - - n a m e s p a c e = m e m - e x a m p l e   V e r i f y   t h a t   t h e   P o d   C o n t a i n e r   i s   r u n n i n g :   k u b e c t l   g e t   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19342"
  },
  {
    "question": "What is Exceed a Container's memory limit?",
    "answer": "A   C o n t a i n e r   c a n   e x c e e d   i t s   m e m o r y   r e q u e s t   i f   t h e   N o d e   h a s   m e m o r y   a v a i l a b l e .   B u t   a   C o n t a i n e r   i s   n o t   a l l o w e d   t o   u s e   m o r e   t h a n   i t s   m e m o r y   l i m i t .   I f   a   C o n t a i n e r   a l l o c a t e s   m o r e   m e m o r y   t h a n   i t s   l i m i t ,   t h e   C o n t a i n e r   b e c o m e s   a   c a n d i d a t e   f o r   t e r m i n a t i o n .   I f   t h e   C o n t a i n e r   c o n t i n u e s   t o   c o n s u m e   m e m o r y   b e y o n d   i t s   l i m i t ,   t h e   C o n t a i n e r   i s   t e r m i n a t e d .   I f   a   t e r m i n a t e d   C o n t a i n e r   c a n   b e   r e s t a r t e d ,   t h e   k u b e l e t   r e s t a r t s   i t ,   a s   w i t h   a n y   o t h e r   t y p e   o f   r u n t i m e   f a i l u r e .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   a t t e m p t s   t o   a l l o c a t e   m o r e   m e m o r y   t h a n   i t s   l i m i t .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r   w i t h   a   m e m o r y   r e q u e s t   o f   5 0   M i B   a n d   a   m e m o r y   l i m i t   o f   1 0 0   M i B :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m e m o r y - d e m o - 2   n a m e s p a c e :   m e m - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   m e m o r y - d e m o - 2 - c t r   i m a g e :   p o l i n u x / s t r e s s   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 5 0 M i \"   l i m i t s :   m e m o r y :   \" 1 0 0 M i \"   c o m m a n d :   [ \" s t r e s s \" ]   a r g s :   [ \" - - v m \" ,   \" 1 \" ,   \" - - v m - b y t e s \" ,   \" 2 5 0 M \" ,   \" - - v m - h a n g \" ,   \" 1 \" ]   I n   t h e   a r g s   s e c t i o n   o f   t h e   c o n f i g u r a t i o n   f i l e ,   y o u ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19343"
  },
  {
    "question": "What is Specify a memory request that is too big for your Nodes?",
    "answer": "M e m o r y   r e q u e s t s   a n d   l i m i t s   a r e   a s s o c i a t e d   w i t h   C o n t a i n e r s ,   b u t   i t   i s   u s e f u l   t o   t h i n k   o f   a   P o d   a s   h a v i n g   a   m e m o r y   r e q u e s t   a n d   l i m i t .   T h e   m e m o r y   r e q u e s t   f o r   t h e   P o d   i s   t h e   s u m   o f   t h e   m e m o r y   r e q u e s t s   f o r   a l l   t h e   C o n t a i n e r s   i n   t h e   P o d .   L i k e w i s e ,   t h e   m e m o r y   l i m i t   f o r   t h e   P o d   i s   t h e   s u m   o f   t h e   l i m i t s   o f   a l l   t h e   C o n t a i n e r s   i n   t h e   P o d .   P o d   s c h e d u l i n g   i s   b a s e d   o n   r e q u e s t s .   A   P o d   i s   s c h e d u l e d   t o   r u n   o n   a   N o d e   o n l y   i f   t h e   N o d e   h a s   e n o u g h   a v a i l a b l e   m e m o r y   t o   s a t i s f y   t h e   P o d ' s   m e m o r y   r e q u e s t .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   a   m e m o r y   r e q u e s t   s o   b i g   t h a t   i t   e x c e e d s   t h e   c a p a c i t y   o f   a n y   N o d e   i n   y o u r   c l u s t e r .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r   w i t h   a   r e q u e s t   f o r   1 0 0 0   G i B   o f   m e m o r y ,   w h i c h   l i k e l y   e x c e e d s   t h e   c a p a c i t y   o f   a n y   N o d e   i n   y o u r   c l u s t e r .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m e m o r y - d e m o - 3   n a m e s p a c e :   m e m - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   m e m o r y - d e m o - 3 - c t r   i m a g e :   p o l i n u x / s t r e s s   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 1 0 0 0 G i \"   l i m i t s :   m e m o r y :   \" 1 0 0 0 G i \"   c o m m a n d :   [ \" s t r e s ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19344"
  },
  {
    "question": "What is Memory units?",
    "answer": "T h e   m e m o r y   r e s o u r c e   i s   m e a s u r e d   i n   b y t e s .   Y o u   c a n   e x p r e s s   m e m o r y   a s   a   p l a i n   i n t e g e r   o r   a   f i x e d - p o i n t   i n t e g e r   w i t h   o n e   o f   t h e s e   s u f f i x e s :   E ,   P ,   T ,   G ,   M ,   K ,   E i ,   P i ,   T i ,   G i ,   M i ,   K i .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   r e p r e s e n t   a p p r o x i m a t e l y   t h e   s a m e   v a l u e :   1 2 8 9 7 4 8 4 8 ,   1 2 9 e 6 ,   1 2 9 M ,   1 2 3 M i   D e l e t e   y o u r   P o d :   k u b e c t l   d e l e t e   p o d   m e m o r y - d e m o - 3   - - n a m e s p a c e = m e m - e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19345"
  },
  {
    "question": "What is If you do not specify a memory limit?",
    "answer": "I f   y o u   d o   n o t   s p e c i f y   a   m e m o r y   l i m i t   f o r   a   C o n t a i n e r ,   o n e   o f   t h e   f o l l o w i n g   s i t u a t i o n s   a p p l i e s :   T h e   C o n t a i n e r   h a s   n o   u p p e r   b o u n d   o n   t h e   a m o u n t   o f   m e m o r y   i t   u s e s .   T h e   C o n t a i n e r   c o u l d   u s e   a l l   o f   t h e   m e m o r y   a v a i l a b l e   o n   t h e   N o d e   w h e r e   i t   i s   r u n n i n g   w h i c h   i n   t u r n   c o u l d   i n v o k e   t h e   O O M   K i l l e r .   F u r t h e r ,   i n   c a s e   o f   a n   O O M   K i l l ,   a   c o n t a i n e r   w i t h   n o   r e s o u r c e   l i m i t s   w i l l   h a v e   a   g r e a t e r   c h a n c e   o f   b e i n g   k i l l e d . T h e   C o n t a i n e r   i s   r u n n i n g   i n   a   n a m e s p a c e   t h a t   h a s   a   d e f a u l t   m e m o r y   l i m i t ,   a n d   t h e   C o n t a i n e r   i s   a u t o m a t i c a l l y   a s s i g n e d   t h e   d e f a u l t   l i m i t .   C l u s t e r   a d m i n i s t r a t o r s   c a n   u s e   a   L i m i t R a n g e   t o   s p e c i f y   a   d e f a u l t   v a l u e   f o r   t h e   m e m o r y   l i m i t .   T h e   C o n t a i n e r   h a s   n o   u p p e r   b o u n d   o n   t h e   a m o u n t   o f   m e m o r y   i t   u s e s .   T h e   C o n t a i n e r   c o u l d   u s e   a l l   o f   t h e   m e m o r y   a v a i l a b l e   o n   t h e   N o d e   w h e r e   i t   i s   r u n n i n g   w h i c h   i n   t u r n   c o u l d   i n v o k e   t h e   O O M   K i l l e r .   F u r t h e r ,   i n   c a s e   o f   a n   O O M   K i l l ,   a   c o n t a i n e r   w i t h   n o   r e s o u r c e   l i m i t s   w i l l   h a v e   a   g r e a t e r   c h a n c e   o f   b e i n g   k i l l e d .   T h e   C o n t a i n e r   i s   r u n n i n g   i n   a   n a m e s p a c e   t h a t   h a s   a   d e f a u l t   m e m o r y ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19346"
  },
  {
    "question": "What is Motivation for memory requests and limits?",
    "answer": "B y   c o n f i g u r i n g   m e m o r y   r e q u e s t s   a n d   l i m i t s   f o r   t h e   C o n t a i n e r s   t h a t   r u n   i n   y o u r   c l u s t e r ,   y o u   c a n   m a k e   e f f i c i e n t   u s e   o f   t h e   m e m o r y   r e s o u r c e s   a v a i l a b l e   o n   y o u r   c l u s t e r ' s   N o d e s .   B y   k e e p i n g   a   P o d ' s   m e m o r y   r e q u e s t   l o w ,   y o u   g i v e   t h e   P o d   a   g o o d   c h a n c e   o f   b e i n g   s c h e d u l e d .   B y   h a v i n g   a   m e m o r y   l i m i t   t h a t   i s   g r e a t e r   t h a n   t h e   m e m o r y   r e q u e s t ,   y o u   a c c o m p l i s h   t w o   t h i n g s :   T h e   P o d   c a n   h a v e   b u r s t s   o f   a c t i v i t y   w h e r e   i t   m a k e s   u s e   o f   m e m o r y   t h a t   h a p p e n s   t o   b e   a v a i l a b l e . T h e   a m o u n t   o f   m e m o r y   a   P o d   c a n   u s e   d u r i n g   a   b u r s t   i s   l i m i t e d   t o   s o m e   r e a s o n a b l e   a m o u n t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19347"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   n a m e s p a c e .   T h i s   d e l e t e s   a l l   t h e   P o d s   t h a t   y o u   c r e a t e d   f o r   t h i s   t a s k :   k u b e c t l   d e l e t e   n a m e s p a c e   m e m - e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19348"
  },
  {
    "question": "What is For app developers?",
    "answer": "A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s   C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s   R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19349"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e   C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s   R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19350"
  },
  {
    "question": "What is 2 - Assign CPU Resources to Containers and Pods?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   a s s i g n   a   C P U   r e q u e s t   a n d   a   C P U   l i m i t   t o   a   c o n t a i n e r .   C o n t a i n e r s   c a n n o t   u s e   m o r e   C P U   t h a n   t h e   c o n f i g u r e d   l i m i t .   P r o v i d e d   t h e   s y s t e m   h a s   C P U   t i m e   f r e e ,   a   c o n t a i n e r   i s   g u a r a n t e e d   t o   b e   a l l o c a t e d   a s   m u c h   C P U   a s   i t   r e q u e s t s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19351"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u r   c l u s t e r   m u s t   h a v e   a t   l e a s t   1   C P U   a v a i l a b l e   f o r   u s e   t o   r u n ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19352"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   N a m e s p a c e   s o   t h a t   t h e   r e s o u r c e s   y o u   c r e a t e   i n   t h i s   e x e r c i s e   a r e   i s o l a t e d   f r o m   t h e   r e s t   o f   y o u r   c l u s t e r .   k u b e c t l   c r e a t e   n a m e s p a c e   c p u - e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19353"
  },
  {
    "question": "What is Specify a CPU request and a CPU limit?",
    "answer": "T o   s p e c i f y   a   C P U   r e q u e s t   f o r   a   c o n t a i n e r ,   i n c l u d e   t h e   r e s o u r c e s : r e q u e s t s   f i e l d   i n   t h e   C o n t a i n e r   r e s o u r c e   m a n i f e s t .   T o   s p e c i f y   a   C P U   l i m i t ,   i n c l u d e   r e s o u r c e s : l i m i t s .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   c o n t a i n e r   h a s   a   r e q u e s t   o f   0 . 5   C P U   a n d   a   l i m i t   o f   1   C P U .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c p u - d e m o   n a m e s p a c e :   c p u - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   c p u - d e m o - c t r   i m a g e :   v i s h / s t r e s s   r e s o u r c e s :   l i m i t s :   c p u :   \" 1 \"   r e q u e s t s :   c p u :   \" 0 . 5 \"   a r g s :   -   - c p u s   -   \" 2 \"   T h e   a r g s   s e c t i o n   o f   t h e   c o n f i g u r a t i o n   f i l e   p r o v i d e s   a r g u m e n t s   f o r   t h e   c o n t a i n e r   w h e n   i t   s t a r t s .   T h e   - c p u s   \" 2 \"   a r g u m e n t   t e l l s   t h e   C o n t a i n e r   t o   a t t e m p t   t o   u s e   2   C P U s .   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / r e s o u r c e / c p u - r e q u e s t - l i m i t . y a m l   - - n a m e s p a c e = c p u - e x a m p l e   V e r i f y   t h a t   t h e   P o d   i s   r u n n i n g :   k u b e c t l   g e t   p o d   c p u - d e m o   - - n a m e s p a c e = c p u - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   P o d :   k u b e c t l   g e t   p o d   c p u - d e m o   - - o u t p u t = y a m l   - - n a m e s p a c e = c p u - e x a m p l e   T h e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19354"
  },
  {
    "question": "What is CPU units?",
    "answer": "T h e   C P U   r e s o u r c e   i s   m e a s u r e d   i n   C P U   u n i t s .   O n e   C P U ,   i n   K u b e r n e t e s ,   i s   e q u i v a l e n t   t o :   1   A W S   v C P U 1   G C P   C o r e 1   A z u r e   v C o r e 1   H y p e r t h r e a d   o n   a   b a r e - m e t a l   I n t e l   p r o c e s s o r   w i t h   H y p e r t h r e a d i n g   F r a c t i o n a l   v a l u e s   a r e   a l l o w e d .   A   C o n t a i n e r   t h a t   r e q u e s t s   0 . 5   C P U   i s   g u a r a n t e e d   h a l f   a s   m u c h   C P U   a s   a   C o n t a i n e r   t h a t   r e q u e s t s   1   C P U .   Y o u   c a n   u s e   t h e   s u f f i x   m   t o   m e a n   m i l l i .   F o r   e x a m p l e   1 0 0 m   C P U ,   1 0 0   m i l l i C P U ,   a n d   0 . 1   C P U   a r e   a l l   t h e   s a m e .   P r e c i s i o n   f i n e r   t h a n   1 m   i s   n o t   a l l o w e d .   C P U   i s   a l w a y s   r e q u e s t e d   a s   a n   a b s o l u t e   q u a n t i t y ,   n e v e r   a s   a   r e l a t i v e   q u a n t i t y ;   0 . 1   i s   t h e   s a m e   a m o u n t   o f   C P U   o n   a   s i n g l e - c o r e ,   d u a l - c o r e ,   o r   4 8 - c o r e   m a c h i n e .   D e l e t e   y o u r   P o d :   k u b e c t l   d e l e t e   p o d   c p u - d e m o   - - n a m e s p a c e = c p u - e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19355"
  },
  {
    "question": "What is Specify a CPU request that is too big for your Nodes?",
    "answer": "C P U   r e q u e s t s   a n d   l i m i t s   a r e   a s s o c i a t e d   w i t h   C o n t a i n e r s ,   b u t   i t   i s   u s e f u l   t o   t h i n k   o f   a   P o d   a s   h a v i n g   a   C P U   r e q u e s t   a n d   l i m i t .   T h e   C P U   r e q u e s t   f o r   a   P o d   i s   t h e   s u m   o f   t h e   C P U   r e q u e s t s   f o r   a l l   t h e   C o n t a i n e r s   i n   t h e   P o d .   L i k e w i s e ,   t h e   C P U   l i m i t   f o r   a   P o d   i s   t h e   s u m   o f   t h e   C P U   l i m i t s   f o r   a l l   t h e   C o n t a i n e r s   i n   t h e   P o d .   P o d   s c h e d u l i n g   i s   b a s e d   o n   r e q u e s t s .   A   P o d   i s   s c h e d u l e d   t o   r u n   o n   a   N o d e   o n l y   i f   t h e   N o d e   h a s   e n o u g h   C P U   r e s o u r c e s   a v a i l a b l e   t o   s a t i s f y   t h e   P o d   C P U   r e q u e s t .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   a   C P U   r e q u e s t   s o   b i g   t h a t   i t   e x c e e d s   t h e   c a p a c i t y   o f   a n y   N o d e   i n   y o u r   c l u s t e r .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   T h e   C o n t a i n e r   r e q u e s t s   1 0 0   C P U ,   w h i c h   i s   l i k e l y   t o   e x c e e d   t h e   c a p a c i t y   o f   a n y   N o d e   i n   y o u r   c l u s t e r .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c p u - d e m o - 2   n a m e s p a c e :   c p u - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   c p u - d e m o - c t r - 2   i m a g e :   v i s h / s t r e s s   r e s o u r c e s :   l i m i t s :   c p u :   \" 1 0 0 \"   r e q u e s t s :   c p u :   \" 1 0 0 \"   a r g s :   -   - c p u s   -   \" 2 \"   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19356"
  },
  {
    "question": "What is If you do not specify a CPU limit?",
    "answer": "I f   y o u   d o   n o t   s p e c i f y   a   C P U   l i m i t   f o r   a   C o n t a i n e r ,   t h e n   o n e   o f   t h e s e   s i t u a t i o n s   a p p l i e s :   T h e   C o n t a i n e r   h a s   n o   u p p e r   b o u n d   o n   t h e   C P U   r e s o u r c e s   i t   c a n   u s e .   T h e   C o n t a i n e r   c o u l d   u s e   a l l   o f   t h e   C P U   r e s o u r c e s   a v a i l a b l e   o n   t h e   N o d e   w h e r e   i t   i s   r u n n i n g . T h e   C o n t a i n e r   i s   r u n n i n g   i n   a   n a m e s p a c e   t h a t   h a s   a   d e f a u l t   C P U   l i m i t ,   a n d   t h e   C o n t a i n e r   i s   a u t o m a t i c a l l y   a s s i g n e d   t h e   d e f a u l t   l i m i t .   C l u s t e r   a d m i n i s t r a t o r s   c a n   u s e   a   L i m i t R a n g e   t o   s p e c i f y   a   d e f a u l t   v a l u e   f o r   t h e   C P U   l i m i t .   T h e   C o n t a i n e r   h a s   n o   u p p e r   b o u n d   o n   t h e   C P U   r e s o u r c e s   i t   c a n   u s e .   T h e   C o n t a i n e r   c o u l d   u s e   a l l   o f   t h e   C P U   r e s o u r c e s   a v a i l a b l e   o n   t h e   N o d e   w h e r e   i t   i s   r u n n i n g .   T h e   C o n t a i n e r   i s   r u n n i n g   i n   a   n a m e s p a c e   t h a t   h a s   a   d e f a u l t   C P U   l i m i t ,   a n d   t h e   C o n t a i n e r   i s   a u t o m a t i c a l l y   a s s i g n e d   t h e   d e f a u l t   l i m i t .   C l u s t e r   a d m i n i s t r a t o r s   c a n   u s e   a   L i m i t R a n g e   t o   s p e c i f y   a   d e f a u l t   v a l u e   f o r   t h e   C P U   l i m i t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19357"
  },
  {
    "question": "What is If you specify a CPU limit but do not specify a CPU request?",
    "answer": "I f   y o u   s p e c i f y   a   C P U   l i m i t   f o r   a   C o n t a i n e r   b u t   d o   n o t   s p e c i f y   a   C P U   r e q u e s t ,   K u b e r n e t e s   a u t o m a t i c a l l y   a s s i g n s   a   C P U   r e q u e s t   t h a t   m a t c h e s   t h e   l i m i t .   S i m i l a r l y ,   i f   a   C o n t a i n e r   s p e c i f i e s   i t s   o w n   m e m o r y   l i m i t ,   b u t   d o e s   n o t   s p e c i f y   a   m e m o r y   r e q u e s t ,   K u b e r n e t e s   a u t o m a t i c a l l y   a s s i g n s   a   m e m o r y   r e q u e s t   t h a t   m a t c h e s   t h e   l i m i t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19358"
  },
  {
    "question": "What is Motivation for CPU requests and limits?",
    "answer": "B y   c o n f i g u r i n g   t h e   C P U   r e q u e s t s   a n d   l i m i t s   o f   t h e   C o n t a i n e r s   t h a t   r u n   i n   y o u r   c l u s t e r ,   y o u   c a n   m a k e   e f f i c i e n t   u s e   o f   t h e   C P U   r e s o u r c e s   a v a i l a b l e   o n   y o u r   c l u s t e r   N o d e s .   B y   k e e p i n g   a   P o d   C P U   r e q u e s t   l o w ,   y o u   g i v e   t h e   P o d   a   g o o d   c h a n c e   o f   b e i n g   s c h e d u l e d .   B y   h a v i n g   a   C P U   l i m i t   t h a t   i s   g r e a t e r   t h a n   t h e   C P U   r e q u e s t ,   y o u   a c c o m p l i s h   t w o   t h i n g s :   T h e   P o d   c a n   h a v e   b u r s t s   o f   a c t i v i t y   w h e r e   i t   m a k e s   u s e   o f   C P U   r e s o u r c e s   t h a t   h a p p e n   t o   b e   a v a i l a b l e . T h e   a m o u n t   o f   C P U   r e s o u r c e s   a   P o d   c a n   u s e   d u r i n g   a   b u r s t   i s   l i m i t e d   t o   s o m e   r e a s o n a b l e   a m o u n t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19359"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   n a m e s p a c e :   k u b e c t l   d e l e t e   n a m e s p a c e   c p u - e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19360"
  },
  {
    "question": "What is For app developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s   C o n f i g u r e   Q u a l i t y   o f   S e r v i c e   f o r   P o d s   R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19361"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e   C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s   R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19362"
  },
  {
    "question": "What is 3.1 - Set Up DRA in a Cluster?",
    "answer": "T h i s   p a g e   s h o w s   y o u   h o w   t o   c o n f i g u r e   d y n a m i c   r e s o u r c e   a l l o c a t i o n   ( D R A )   i n   a   K u b e r n e t e s   c l u s t e r   b y   e n a b l i n g   A P I   g r o u p s   a n d   c o n f i g u r i n g   c l a s s e s   o f   d e v i c e s .   T h e s e   i n s t r u c t i o n s   a r e   f o r   c l u s t e r   a d m i n i s t r a t o r s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19363"
  },
  {
    "question": "What is About DRA?",
    "answer": "A   K u b e r n e t e s   f e a t u r e   t h a t   l e t s   y o u   r e q u e s t   a n d   s h a r e   r e s o u r c e s   a m o n g   P o d s .   T h e s e   r e s o u r c e s   a r e   o f t e n   a t t a c h e d   d e v i c e s   l i k e   h a r d w a r e   a c c e l e r a t o r s .   W i t h   D R A ,   d e v i c e   d r i v e r s   a n d   c l u s t e r   a d m i n s   d e f i n e   d e v i c e   c l a s s e s   t h a t   a r e   a v a i l a b l e   t o   c l a i m   i n   w o r k l o a d s .   K u b e r n e t e s   a l l o c a t e s   m a t c h i n g   d e v i c e s   t o   s p e c i f i c   c l a i m s   a n d   p l a c e s   t h e   c o r r e s p o n d i n g   P o d s   o n   n o d e s   t h a t   c a n   a c c e s s   t h e   a l l o c a t e d   d e v i c e s .   E n s u r e   t h a t   y o u ' r e   f a m i l i a r   w i t h   h o w   D R A   w o r k s   a n d   w i t h   D R A   t e r m i n o l o g y   l i k e   D e v i c e C l a s s e s ,   R e s o u r c e C l a i m s ,   a n d   R e s o u r c e C l a i m T e m p l a t e s .   F o r   d e t a i l s ,   s e e   D y n a m i c   R e s o u r c e   A l l o c a t i o n   ( D R A ) .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19364"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   v e r s i o n   v 1 . 3 4 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   D i r e c t l y   o r   i n d i r ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19365"
  },
  {
    "question": "What is Optional: enable legacy DRA API groups?",
    "answer": "D R A   g r a d u a t e d   t o   s t a b l e   i n   K u b e r n e t e s   1 . 3 4   a n d   i s   e n a b l e d   b y   d e f a u l t .   S o m e   o l d e r   D R A   d r i v e r s   o r   w o r k l o a d s   m i g h t   s t i l l   n e e d   t h e   v 1 b e t a 1   A P I   f r o m   K u b e r n e t e s   1 . 3 0   o r   v 1 b e t a 2   f r o m   K u b e r n e t e s   1 . 3 2 .   I f   a n d   o n l y   i f   s u p p o r t   f o r   t h o s e   i s   d e s i r e d ,   t h e n   e n a b l e   t h e   f o l l o w i n g   A P I   g r o u p s :   *   ` r e s o u r c e . k 8 s . i o / v 1 b e t a 1 `   *   ` r e s o u r c e . k 8 s . i o / v 1 b e t a 2 `   F o r   m o r e   i n f o r m a t i o n ,   s e e   E n a b l i n g   o r   d i s a b l i n g   A P I   g r o u p s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19366"
  },
  {
    "question": "What is Verify that DRA is enabled?",
    "answer": "T o   v e r i f y   t h a t   t h e   c l u s t e r   i s   c o n f i g u r e d   c o r r e c t l y ,   t r y   t o   l i s t   D e v i c e C l a s s e s :   k u b e c t l   g e t   d e v i c e c l a s s e s   I f   t h e   c o m p o n e n t   c o n f i g u r a t i o n   w a s   c o r r e c t ,   t h e   o u t p u t   i s   s i m i l a r   t o   t h e   f o l l o w i n g :   N o   r e s o u r c e s   f o u n d   I f   D R A   i s n ' t   c o r r e c t l y   c o n f i g u r e d ,   t h e   o u t p u t   o f   t h e   p r e c e d i n g   c o m m a n d   i s   s i m i l a r   t o   t h e   f o l l o w i n g :   e r r o r :   t h e   s e r v e r   d o e s n ' t   h a v e   a   r e s o u r c e   t y p e   \" d e v i c e c l a s s e s \"   T r y   t h e   f o l l o w i n g   t r o u b l e s h o o t i n g   s t e p s :   R e c o n f i g u r e   a n d   r e s t a r t   t h e   k u b e - a p i s e r v e r   c o m p o n e n t . I f   t h e   c o m p l e t e   . s p e c . r e s o u r c e C l a i m s   f i e l d   g e t s   r e m o v e d   f r o m   P o d s ,   o r   i f   P o d s   g e t   s c h e d u l e d   w i t h o u t   c o n s i d e r i n g   t h e   R e s o u r c e C l a i m s ,   t h e n   v e r i f y   t h a t   t h e   D y n a m i c R e s o u r c e A l l o c a t i o n   f e a t u r e   g a t e   i s   n o t   t u r n e d   o f f   f o r   k u b e - a p i s e r v e r ,   k u b e - c o n t r o l l e r - m a n a g e r ,   k u b e - s c h e d u l e r   o r   t h e   k u b e l e t .   R e c o n f i g u r e   a n d   r e s t a r t   t h e   k u b e - a p i s e r v e r   c o m p o n e n t .   I f   t h e   c o m p l e t e   . s p e c . r e s o u r c e C l a i m s   f i e l d   g e t s   r e m o v e d   f r o m   P o d s ,   o r   i f   P o d s   g e t   s c h e d u l e d   w i t h o u t   c o n s i d e r i n g   t h e   R e s o u r c e C l a i m s ,   t h e n   v e r i f y   t h a t   t h e   D y n a m i c R e s o u r c e A l l o c a t i o n   f e a t u r e   g a t e   i s   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19367"
  },
  {
    "question": "What is Install device drivers?",
    "answer": "A f t e r   y o u   e n a b l e   D R A   f o r   y o u r   c l u s t e r ,   y o u   c a n   i n s t a l l   t h e   d r i v e r s   f o r   y o u r   a t t a c h e d   d e v i c e s .   F o r   i n s t r u c t i o n s ,   c h e c k   t h e   d o c u m e n t a t i o n   o f   y o u r   d e v i c e   o w n e r   o r   t h e   p r o j e c t   t h a t   m a i n t a i n s   t h e   d e v i c e   d r i v e r s .   T h e   d r i v e r s   t h a t   y o u   i n s t a l l   m u s t   b e   c o m p a t i b l e   w i t h   D R A .   T o   v e r i f y   t h a t   y o u r   i n s t a l l e d   d r i v e r s   a r e   w o r k i n g   a s   e x p e c t e d ,   l i s t   R e s o u r c e S l i c e s   i n   y o u r   c l u s t e r :   k u b e c t l   g e t   r e s o u r c e s l i c e s   T h e   o u t p u t   i s   s i m i l a r   t o   t h e   f o l l o w i n g :   N A M E   N O D E   D R I V E R   P O O L   A G E   c l u s t e r - 1 - d e v i c e - p o o l - 1 - d r i v e r . e x a m p l e . c o m - l q x 8 x   c l u s t e r - 1 - n o d e - 1   d r i v e r . e x a m p l e . c o m   c l u s t e r - 1 - d e v i c e - p o o l - 1 - r 1 g c   7 s   c l u s t e r - 1 - d e v i c e - p o o l - 2 - d r i v e r . e x a m p l e . c o m - 2 9 t 7 b   c l u s t e r - 1 - n o d e - 2   d r i v e r . e x a m p l e . c o m   c l u s t e r - 1 - d e v i c e - p o o l - 2 - 4 4 6 z   8 s   T r y   t h e   f o l l o w i n g   t r o u b l e s h o o t i n g   s t e p s :   C h e c k   t h e   h e a l t h   o f   t h e   D R A   d r i v e r   a n d   l o o k   f o r   e r r o r   m e s s a g e s   a b o u t   p u b l i s h i n g   R e s o u r c e S l i c e s   i n   i t s   l o g   o u t p u t .   T h e   v e n d o r   o f   t h e   d r i v e r   m a y   h a v e   f u r t h e r   i n s t r u c t i o n s   a b o u t   i n s t a l l a t i o n   a n d   t r o u b l e s h o o t i n g .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19368"
  },
  {
    "question": "What is Create DeviceClasses?",
    "answer": "Y o u   c a n   d e f i n e   c a t e g o r i e s   o f   d e v i c e s   t h a t   y o u r   a p p l i c a t i o n   o p e r a t o r s   c a n   c l a i m   i n   w o r k l o a d s   b y   c r e a t i n g   D e v i c e C l a s s e s .   S o m e   d e v i c e   d r i v e r   p r o v i d e r s   m i g h t   a l s o   i n s t r u c t   y o u   t o   c r e a t e   D e v i c e C l a s s e s   d u r i n g   d r i v e r   i n s t a l l a t i o n .   T h e   R e s o u r c e S l i c e s   t h a t   y o u r   d r i v e r   p u b l i s h e s   c o n t a i n   i n f o r m a t i o n   a b o u t   t h e   d e v i c e s   t h a t   t h e   d r i v e r   m a n a g e s ,   s u c h   a s   c a p a c i t y ,   m e t a d a t a ,   a n d   a t t r i b u t e s .   Y o u   c a n   u s e   C o m m o n   E x p r e s s i o n   L a n g u a g e   t o   f i l t e r   f o r   p r o p e r t i e s   i n   y o u r   D e v i c e C l a s s e s ,   w h i c h   c a n   m a k e   f i n d i n g   d e v i c e s   e a s i e r   f o r   y o u r   w o r k l o a d   o p e r a t o r s .   T o   f i n d   t h e   d e v i c e   p r o p e r t i e s   t h a t   y o u   c a n   s e l e c t   i n   D e v i c e C l a s s e s   b y   u s i n g   C E L   e x p r e s s i o n s ,   g e t   t h e   s p e c i f i c a t i o n   o f   a   R e s o u r c e S l i c e : k u b e c t l   g e t   r e s o u r c e s l i c e   < r e s o u r c e s l i c e - n a m e >   - o   y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h e   f o l l o w i n g : a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   R e s o u r c e S l i c e   #   l i n e s   o m i t t e d   f o r   c l a r i t y   s p e c :   d e v i c e s :   -   a t t r i b u t e s :   t y p e :   s t r i n g :   g p u   c a p a c i t y :   m e m o r y :   v a l u e :   6 4 G i   n a m e :   g p u - 0   -   a t t r i b u t e s :   t y p e :   s t r i n g :   g p u   c a p a c i t y :   m e m o r y :   v a l u e :   6 4 G i   n a m e :   g p u - 1 ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19369"
  },
  {
    "question": "What is Clean up?",
    "answer": "T o   d e l e t e   t h e   D e v i c e C l a s s   t h a t   y o u   c r e a t e d   i n   t h i s   t a s k ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / d e v i c e c l a s s . y a m l",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19370"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   D R A A l l o c a t e   D e v i c e s   t o   W o r k l o a d s   w i t h   D R A",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19371"
  },
  {
    "question": "What is 3.2 - Allocate Devices to Workloads with DRA?",
    "answer": "T h i s   p a g e   s h o w s   y o u   h o w   t o   a l l o c a t e   d e v i c e s   t o   y o u r   P o d s   b y   u s i n g   d y n a m i c   r e s o u r c e   a l l o c a t i o n   ( D R A ) .   T h e s e   i n s t r u c t i o n s   a r e   f o r   w o r k l o a d   o p e r a t o r s .   B e f o r e   r e a d i n g   t h i s   p a g e ,   f a m i l i a r i z e   y o u r s e l f   w i t h   h o w   D R A   w o r k s   a n d   w i t h   D R A   t e r m i n o l o g y   l i k e   R e s o u r c e C l a i m s   a n d   R e s o u r c e C l a i m T e m p l a t e s .   F o r   m o r e   i n f o r m a t i o n ,   s e e   D y n a m i c   R e s o u r c e   A l l o c a t i o n   ( D R A ) .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19372"
  },
  {
    "question": "What is About device allocation with DRA?",
    "answer": "A s   a   w o r k l o a d   o p e r a t o r ,   y o u   c a n   c l a i m   d e v i c e s   f o r   y o u r   w o r k l o a d s   b y   c r e a t i n g   R e s o u r c e C l a i m s   o r   R e s o u r c e C l a i m T e m p l a t e s .   W h e n   y o u   d e p l o y   y o u r   w o r k l o a d ,   K u b e r n e t e s   a n d   t h e   d e v i c e   d r i v e r s   f i n d   a v a i l a b l e   d e v i c e s ,   a l l o c a t e   t h e m   t o   y o u r   P o d s ,   a n d   p l a c e   t h e   P o d s   o n   n o d e s   t h a t   c a n   a c c e s s   t h o s e   d e v i c e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19373"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   v e r s i o n   v 1 . 3 4 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   E n s u r e   t h a t   y o u r   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19374"
  },
  {
    "question": "What is Identify devices to claim?",
    "answer": "Y o u r   c l u s t e r   a d m i n i s t r a t o r   o r   t h e   d e v i c e   d r i v e r s   c r e a t e   D e v i c e C l a s s e s   t h a t   d e f i n e   c a t e g o r i e s   o f   d e v i c e s .   Y o u   c a n   c l a i m   d e v i c e s   b y   u s i n g   C o m m o n   E x p r e s s i o n   L a n g u a g e   t o   f i l t e r   f o r   s p e c i f i c   d e v i c e   p r o p e r t i e s .   G e t   a   l i s t   o f   D e v i c e C l a s s e s   i n   t h e   c l u s t e r :   k u b e c t l   g e t   d e v i c e c l a s s e s   T h e   o u t p u t   i s   s i m i l a r   t o   t h e   f o l l o w i n g :   N A M E   A G E   d r i v e r . e x a m p l e . c o m   1 6 m   I f   y o u   g e t   a   p e r m i s s i o n   e r r o r ,   y o u   m i g h t   n o t   h a v e   a c c e s s   t o   g e t   D e v i c e C l a s s e s .   C h e c k   w i t h   y o u r   c l u s t e r   a d m i n i s t r a t o r   o r   w i t h   t h e   d r i v e r   p r o v i d e r   f o r   a v a i l a b l e   d e v i c e   p r o p e r t i e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19375"
  },
  {
    "question": "What is Claim resources?",
    "answer": "Y o u   c a n   r e q u e s t   r e s o u r c e s   f r o m   a   D e v i c e C l a s s   b y   u s i n g   R e s o u r c e C l a i m s .   T o   c r e a t e   a   R e s o u r c e C l a i m ,   d o   o n e   o f   t h e   f o l l o w i n g :   M a n u a l l y   c r e a t e   a   R e s o u r c e C l a i m   i f   y o u   w a n t   m u l t i p l e   P o d s   t o   s h a r e   a c c e s s   t o   t h e   s a m e   d e v i c e s ,   o r   i f   y o u   w a n t   a   c l a i m   t o   e x i s t   b e y o n d   t h e   l i f e t i m e   o f   a   P o d . U s e   a   R e s o u r c e C l a i m T e m p l a t e   t o   l e t   K u b e r n e t e s   g e n e r a t e   a n d   m a n a g e   p e r - P o d   R e s o u r c e C l a i m s .   C r e a t e   a   R e s o u r c e C l a i m T e m p l a t e   i f   y o u   w a n t   e v e r y   P o d   t o   h a v e   a c c e s s   t o   s e p a r a t e   d e v i c e s   t h a t   h a v e   s i m i l a r   c o n f i g u r a t i o n s .   F o r   e x a m p l e ,   y o u   m i g h t   w a n t   s i m u l t a n e o u s   a c c e s s   t o   d e v i c e s   f o r   P o d s   i n   a   J o b   t h a t   u s e s   p a r a l l e l   e x e c u t i o n .   I f   y o u   d i r e c t l y   r e f e r e n c e   a   s p e c i f i c   R e s o u r c e C l a i m   i n   a   P o d ,   t h a t   R e s o u r c e C l a i m   m u s t   a l r e a d y   e x i s t   i n   t h e   c l u s t e r .   I f   a   r e f e r e n c e d   R e s o u r c e C l a i m   d o e s n ' t   e x i s t ,   t h e   P o d   r e m a i n s   i n   a   p e n d i n g   s t a t e   u n t i l   t h e   R e s o u r c e C l a i m   i s   c r e a t e d .   Y o u   c a n   r e f e r e n c e   a n   a u t o - g e n e r a t e d   R e s o u r c e C l a i m   i n   a   P o d ,   b u t   t h i s   i s n ' t   r e c o m m e n d e d   b e c a u s e   a u t o - g e n e r a t e d   R e s o u r c e C l a i m s   a r e   b o u n d   t o   t h e   l i f e t i m e   o f   t h e   P o d   t h a t   t r i g g ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19376"
  },
  {
    "question": "What is Request devices in workloads using DRA?",
    "answer": "T o   r e q u e s t   d e v i c e   a l l o c a t i o n ,   s p e c i f y   a   R e s o u r c e C l a i m   o r   a   R e s o u r c e C l a i m T e m p l a t e   i n   t h e   r e s o u r c e C l a i m s   f i e l d   o f   t h e   P o d   s p e c i f i c a t i o n .   T h e n ,   r e q u e s t   a   s p e c i f i c   c l a i m   b y   n a m e   i n   t h e   r e s o u r c e s . c l a i m s   f i e l d   o f   a   c o n t a i n e r   i n   t h a t   P o d .   Y o u   c a n   s p e c i f y   m u l t i p l e   e n t r i e s   i n   t h e   r e s o u r c e C l a i m s   f i e l d   a n d   u s e   s p e c i f i c   c l a i m s   i n   d i f f e r e n t   c o n t a i n e r s .   R e v i e w   t h e   f o l l o w i n g   e x a m p l e   J o b : d r a / d r a - e x a m p l e - j o b . y a m l   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   e x a m p l e - d r a - j o b   s p e c :   c o m p l e t i o n s :   1 0   p a r a l l e l i s m :   2   t e m p l a t e :   s p e c :   r e s t a r t P o l i c y :   N e v e r   c o n t a i n e r s :   -   n a m e :   c o n t a i n e r 0   i m a g e :   u b u n t u : 2 4 . 0 4   c o m m a n d :   [ \" s l e e p \" ,   \" 9 9 9 9 \" ]   r e s o u r c e s :   c l a i m s :   -   n a m e :   s e p a r a t e - g p u - c l a i m   -   n a m e :   c o n t a i n e r 1   i m a g e :   u b u n t u : 2 4 . 0 4   c o m m a n d :   [ \" s l e e p \" ,   \" 9 9 9 9 \" ]   r e s o u r c e s :   c l a i m s :   -   n a m e :   s h a r e d - g p u - c l a i m   -   n a m e :   c o n t a i n e r 2   i m a g e :   u b u n t u : 2 4 . 0 4   c o m m a n d :   [ \" s l e e p \" ,   \" 9 9 9 9 \" ]   r e s o u r c e s :   c l a i m s :   -   n a m e :   s h a r e d - g p u - c l a i m   r e s o u r c e C l a i m s :   -   n a m e :   s e p a r a t e - g p u - c l a i m   r e s o u r c e C l a i m T e m p l a t e N a m e :   e x a m p l e - r e s o u r c e - c l a i m - t e m p l a t e   -   n a m e :   s h a r e d - g p ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19377"
  },
  {
    "question": "What is Clean up?",
    "answer": "T o   d e l e t e   t h e   K u b e r n e t e s   o b j e c t s   t h a t   y o u   c r e a t e d   i n   t h i s   t a s k ,   f o l l o w   t h e s e   s t e p s :   D e l e t e   t h e   e x a m p l e   J o b : k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / d r a - e x a m p l e - j o b . y a m l   T o   d e l e t e   y o u r   r e s o u r c e   c l a i m s ,   r u n   o n e   o f   t h e   f o l l o w i n g   c o m m a n d s : D e l e t e   t h e   R e s o u r c e C l a i m T e m p l a t e : k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / r e s o u r c e c l a i m t e m p l a t e . y a m l   D e l e t e   t h e   R e s o u r c e C l a i m : k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / r e s o u r c e c l a i m . y a m l   D e l e t e   t h e   e x a m p l e   J o b :   k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / d r a - e x a m p l e - j o b . y a m l   T o   d e l e t e   y o u r   r e s o u r c e   c l a i m s ,   r u n   o n e   o f   t h e   f o l l o w i n g   c o m m a n d s :   D e l e t e   t h e   R e s o u r c e C l a i m T e m p l a t e : k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / r e s o u r c e c l a i m t e m p l a t e . y a m l   D e l e t e   t h e   R e s o u r c e C l a i m : k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / r e s o u r c e c l a i m . y a m l   D e l e t e   t h e   R e s o u r c e C l a i m T e m p l a t e :   k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / r e s o u r c e c l a i m t e m p l a t e . y a m l   D e l e t e   t h e   R e s o u r c e C l a i m :   k u b e c t l   d e l e t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / d r a / r e s o u r c e c l a i m . y a m l",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19378"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   D R A",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19379"
  },
  {
    "question": "What is 4 - Assign Pod-level CPU and memory resources?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   s p e c i f y   C P U   a n d   m e m o r y   r e s o u r c e s   f o r   a   P o d   a t   p o d - l e v e l   i n   a d d i t i o n   t o   c o n t a i n e r - l e v e l   r e s o u r c e   s p e c i f i c a t i o n s .   A   K u b e r n e t e s   n o d e   a l l o c a t e s   r e s o u r c e s   t o   a   p o d   b a s e d   o n   t h e   p o d ' s   r e s o u r c e   r e q u e s t s .   T h e s e   r e q u e s t s   c a n   b e   d e f i n e d   a t   t h e   p o d   l e v e l   o r   i n d i v i d u a l l y   f o r   c o n t a i n e r s   w i t h i n   t h e   p o d .   W h e n   b o t h   a r e   p r e s e n t ,   t h e   p o d - l e v e l   r e q u e s t s   t a k e   p r e c e d e n c e .   S i m i l a r l y ,   a   p o d ' s   r e s o u r c e   u s a g e   i s   r e s t r i c t e d   b y   l i m i t s ,   w h i c h   c a n   a l s o   b e   s e t   a t   t h e   p o d - l e v e l   o r   i n d i v i d u a l l y   f o r   c o n t a i n e r s   w i t h i n   t h e   p o d .   A g a i n ,   p o d - l e v e l   l i m i t s   a r e   p r i o r i t i z e d   w h e n   b o t h   a r e   p r e s e n t .   T h i s   a l l o w s   f o r   f l e x i b l e   r e s o u r c e   m a n a g e m e n t ,   e n a b l i n g   y o u   t o   c o n t r o l   r e s o u r c e   a l l o c a t i o n   a t   b o t h   t h e   p o d   a n d   c o n t a i n e r   l e v e l s .   I n   o r d e r   t o   s p e c i f y   t h e   r e s o u r c e s   a t   p o d - l e v e l ,   i t   i s   r e q u i r e d   t o   e n a b l e   P o d L e v e l R e s o u r c e s   f e a t u r e   g a t e .   F o r   P o d   L e v e l   R e s o u r c e s :   P r i o r i t y :   W h e n   b o t h   p o d - l e v e l   a n d   c o n t a i n e r - l e v e l   r e s o u r c e s   a r e   s p e c i f i e d ,   p o d - l e v e l   r e s o u r c e s   t a k e   p r e c e d e n c e . Q o S :   P o d - l e v e l   r e s o u r c e s   t a k e   p r e c e d e n c e   i n   i n ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19380"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 3 4 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   T ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19381"
  },
  {
    "question": "What is Limitations?",
    "answer": "F o r   K u b e r n e t e s   1 . 3 4 ,   r e s i z i n g   p o d - l e v e l   r e s o u r c e s   h a s   t h e   f o l l o w i n g   l i m i t a t i o n s :   R e s o u r c e   T y p e s :   O n l y   C P U ,   m e m o r y   a n d   h u g e p a g e s   r e s o u r c e s   c a n   b e   s p e c i f i e d   a t   p o d - l e v e l . O p e r a t i n g   S y s t e m :   P o d - l e v e l   r e s o u r c e s   a r e   n o t   s u p p o r t e d   f o r   W i n d o w s   p o d s . R e s o u r c e   M a n a g e r s :   T h e   T o p o l o g y   M a n a g e r ,   M e m o r y   M a n a g e r   a n d   C P U   M a n a g e r   d o   n o t   a l i g n   p o d s   a n d   c o n t a i n e r s   b a s e d   o n   p o d - l e v e l   r e s o u r c e s   a s   t h e s e   r e s o u r c e   m a n a g e r s   d o n ' t   c u r r e n t l y   s u p p o r t   p o d - l e v e l   r e s o u r c e s . I n - P l a c e   R e s i z e :   I n - p l a c e   r e s i z e   o f   p o d - l e v e l   r e s o u r c e s   i s   n o t   s u p p o r t e d .   M o d i f y i n g   t h e   p o d - l e v e l   r e s o u r c e   l i m i t s   o r   r e q u e s t s   o n   a   p o d   r e s u l t   i n   a   f i e l d . F o r b i d d e n   e r r o r .   T h e   e r r o r   m e s s a g e   e x p l i c i t l y   s t a t e s ,   \" p o d s   w i t h   p o d - l e v e l   r e s o u r c e s   c a n n o t   b e   r e s i z e d . \"",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19382"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   n a m e s p a c e   s o   t h a t   t h e   r e s o u r c e s   y o u   c r e a t e   i n   t h i s   e x e r c i s e   a r e   i s o l a t e d   f r o m   t h e   r e s t   o f   y o u r   c l u s t e r .   k u b e c t l   c r e a t e   n a m e s p a c e   p o d - r e s o u r c e s - e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19383"
  },
  {
    "question": "What is Create a pod with memory requests and limits at pod-level?",
    "answer": "T o   s p e c i f y   m e m o r y   r e q u e s t s   f o r   a   P o d   a t   p o d - l e v e l ,   i n c l u d e   t h e   r e s o u r c e s . r e q u e s t s . m e m o r y   f i e l d   i n   t h e   P o d   s p e c   m a n i f e s t .   T o   s p e c i f y   a   m e m o r y   l i m i t ,   i n c l u d e   r e s o u r c e s . l i m i t s . m e m o r y .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   T h e   P o d   h a s   a   m e m o r y   r e q u e s t   o f   1 0 0   M i B   a n d   a   m e m o r y   l i m i t   o f   2 0 0   M i B .   H e r e ' s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m e m o r y - d e m o   n a m e s p a c e :   p o d - r e s o u r c e s - e x a m p l e   s p e c :   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 1 0 0 M i \"   l i m i t s :   m e m o r y :   \" 2 0 0 M i \"   c o n t a i n e r s :   -   n a m e :   m e m o r y - d e m o - c t r   i m a g e :   n g i n x   c o m m a n d :   [ \" s t r e s s \" ]   a r g s :   [ \" - - v m \" ,   \" 1 \" ,   \" - - v m - b y t e s \" ,   \" 1 5 0 M \" ,   \" - - v m - h a n g \" ,   \" 1 \" ]   T h e   a r g s   s e c t i o n   i n   t h e   m a n i f e s t   p r o v i d e s   a r g u m e n t s   f o r   t h e   c o n t a i n e r   w h e n   i t   s t a r t s .   T h e   \" - - v m - b y t e s \" ,   \" 1 5 0 M \"   a r g u m e n t s   t e l l   t h e   C o n t a i n e r   t o   a t t e m p t   t o   a l l o c a t e   1 5 0   M i B   o f   m e m o r y .   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / r e s o u r c e / p o d - l e v e l - m e m o r y - r e q u e s t - l i m i t . y a m l   - - n a m e s p a c e = p o d - r e s o u r c e s - e x a m p l e   V e r i f y   t h a t   t h e   P o d   i s   r u n n i n g :   k u b e c t l   g ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19384"
  },
  {
    "question": "What is Create a pod with CPU requests and limits at pod-level?",
    "answer": "T o   s p e c i f y   a   C P U   r e q u e s t   f o r   a   P o d ,   i n c l u d e   t h e   r e s o u r c e s . r e q u e s t s . c p u   f i e l d   i n   t h e   P o d   s p e c   m a n i f e s t .   T o   s p e c i f y   a   C P U   l i m i t ,   i n c l u d e   r e s o u r c e s . l i m i t s . c p u .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   o n e   c o n t a i n e r .   T h e   P o d   h a s   a   r e q u e s t   o f   0 . 5   C P U   a n d   a   l i m i t   o f   1   C P U .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c p u - d e m o   n a m e s p a c e :   p o d - r e s o u r c e s - e x a m p l e   s p e c :   r e s o u r c e s :   l i m i t s :   c p u :   \" 1 \"   r e q u e s t s :   c p u :   \" 0 . 5 \"   c o n t a i n e r s :   -   n a m e :   c p u - d e m o - c t r   i m a g e :   v i s h / s t r e s s   a r g s :   -   - c p u s   -   \" 2 \"   T h e   a r g s   s e c t i o n   o f   t h e   c o n f i g u r a t i o n   f i l e   p r o v i d e s   a r g u m e n t s   f o r   t h e   c o n t a i n e r   w h e n   i t   s t a r t s .   T h e   - c p u s   \" 2 \"   a r g u m e n t   t e l l s   t h e   C o n t a i n e r   t o   a t t e m p t   t o   u s e   2   C P U s .   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / r e s o u r c e / p o d - l e v e l - c p u - r e q u e s t - l i m i t . y a m l   - - n a m e s p a c e = p o d - r e s o u r c e s - e x a m p l e   V e r i f y   t h a t   t h e   P o d   i s   r u n n i n g :   k u b e c t l   g e t   p o d   c p u - d e m o   - - n a m e s p a c e = p o d - r e s o u r c e s - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   P o d :   k u b e c t l   g e t   p o d   c p u - d e m o   - - o u t p u t = y a m l   - ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19385"
  },
  {
    "question": "What is Create a pod with resource requests and limits at both pod-level and container-level?",
    "answer": "T o   a s s i g n   C P U   a n d   m e m o r y   r e s o u r c e s   t o   a   P o d ,   y o u   c a n   s p e c i f y   t h e m   a t   b o t h   t h e   p o d   l e v e l   a n d   t h e   c o n t a i n e r   l e v e l .   I n c l u d e   t h e   r e s o u r c e s   f i e l d   i n   t h e   P o d   s p e c   t o   d e f i n e   r e s o u r c e s   f o r   t h e   e n t i r e   P o d .   A d d i t i o n a l l y ,   i n c l u d e   t h e   r e s o u r c e s   f i e l d   w i t h i n   c o n t a i n e r ' s   s p e c i f i c a t i o n   i n   t h e   P o d ' s   m a n i f e s t   t o   s e t   c o n t a i n e r - s p e c i f i c   r e s o u r c e   r e q u i r e m e n t s .   I n   t h i s   e x e r c i s e ,   y o u ' l l   c r e a t e   a   P o d   w i t h   t w o   c o n t a i n e r s   t o   e x p l o r e   t h e   i n t e r a c t i o n   o f   p o d - l e v e l   a n d   c o n t a i n e r - l e v e l   r e s o u r c e   s p e c i f i c a t i o n s .   T h e   P o d   i t s e l f   w i l l   h a v e   d e f i n e d   C P U   r e q u e s t s   a n d   l i m i t s ,   w h i l e   o n l y   o n e   o f   t h e   c o n t a i n e r s   w i l l   h a v e   i t s   o w n   e x p l i c i t   r e s o u r c e   r e q u e s t s   a n d   l i m i t s .   T h e   o t h e r   c o n t a i n e r   w i l l   i n h e r i t   t h e   r e s o u r c e   c o n s t r a i n t s   f r o m   t h e   p o d - l e v e l   s e t t i n g s .   H e r e ' s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p o d - r e s o u r c e s - d e m o   n a m e s p a c e :   p o d - r e s o u r c e s - e x a m p l e   s p e c :   r e s o u r c e s :   l i m i t s :   c p u :   \" 1 \"   m e m o r y :   \" 2 0 0 M i \"   r e q u e s t s :   c p u :   \" 1 \"   m e m o r y :   \" 1 0 0 M i \"   c o n t a i n e r s :   -   n a m e :   p o d - r e s o u r c e s - d e m o - c t r - 1   i m a g e :   n g i n x   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19386"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   n a m e s p a c e :   k u b e c t l   d e l e t e   n a m e s p a c e   p o d - r e s o u r c e s - e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19387"
  },
  {
    "question": "What is For application developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19388"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19389"
  },
  {
    "question": "What is 5 - Configure GMSA for Windows Pods and containers?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   G r o u p   M a n a g e d   S e r v i c e   A c c o u n t s   ( G M S A )   f o r   P o d s   a n d   c o n t a i n e r s   t h a t   w i l l   r u n   o n   W i n d o w s   n o d e s .   G r o u p   M a n a g e d   S e r v i c e   A c c o u n t s   a r e   a   s p e c i f i c   t y p e   o f   A c t i v e   D i r e c t o r y   a c c o u n t   t h a t   p r o v i d e s   a u t o m a t i c   p a s s w o r d   m a n a g e m e n t ,   s i m p l i f i e d   s e r v i c e   p r i n c i p a l   n a m e   ( S P N )   m a n a g e m e n t ,   a n d   t h e   a b i l i t y   t o   d e l e g a t e   t h e   m a n a g e m e n t   t o   o t h e r   a d m i n i s t r a t o r s   a c r o s s   m u l t i p l e   s e r v e r s .   I n   K u b e r n e t e s ,   G M S A   c r e d e n t i a l   s p e c s   a r e   c o n f i g u r e d   a t   a   K u b e r n e t e s   c l u s t e r - w i d e   s c o p e   a s   C u s t o m   R e s o u r c e s .   W i n d o w s   P o d s ,   a s   w e l l   a s   i n d i v i d u a l   c o n t a i n e r s   w i t h i n   a   P o d ,   c a n   b e   c o n f i g u r e d   t o   u s e   a   G M S A   f o r   d o m a i n   b a s e d   f u n c t i o n s   ( e . g .   K e r b e r o s   a u t h e n t i c a t i o n )   w h e n   i n t e r a c t i n g   w i t h   o t h e r   W i n d o w s   s e r v i c e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19390"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   T h e   c l u s t e r   i s   e x p e c t e d   t o   h a v e   W i n d o w s   w o r k e r   n o d e s .   T h i s   s e c t i o n   c o v e r s   a   s e t   o f   i n i t i a l   s t e p s   r e q u i r e d   o n c e   f o r   e a c h   c l u s t e r :",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19391"
  },
  {
    "question": "What is Install the GMSACredentialSpec CRD?",
    "answer": "A   C u s t o m R e s o u r c e D e f i n i t i o n ( C R D )   f o r   G M S A   c r e d e n t i a l   s p e c   r e s o u r c e s   n e e d s   t o   b e   c o n f i g u r e d   o n   t h e   c l u s t e r   t o   d e f i n e   t h e   c u s t o m   r e s o u r c e   t y p e   G M S A C r e d e n t i a l S p e c .   D o w n l o a d   t h e   G M S A   C R D   Y A M L   a n d   s a v e   i t   a s   g m s a - c r d . y a m l .   N e x t ,   i n s t a l l   t h e   C R D   w i t h   k u b e c t l   a p p l y   - f   g m s a - c r d . y a m l",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19392"
  },
  {
    "question": "What is Install webhooks to validate GMSA users?",
    "answer": "T w o   w e b h o o k s   n e e d   t o   b e   c o n f i g u r e d   o n   t h e   K u b e r n e t e s   c l u s t e r   t o   p o p u l a t e   a n d   v a l i d a t e   G M S A   c r e d e n t i a l   s p e c   r e f e r e n c e s   a t   t h e   P o d   o r   c o n t a i n e r   l e v e l :   A   m u t a t i n g   w e b h o o k   t h a t   e x p a n d s   r e f e r e n c e s   t o   G M S A s   ( b y   n a m e   f r o m   a   P o d   s p e c i f i c a t i o n )   i n t o   t h e   f u l l   c r e d e n t i a l   s p e c   i n   J S O N   f o r m   w i t h i n   t h e   P o d   s p e c . A   v a l i d a t i n g   w e b h o o k   e n s u r e s   a l l   r e f e r e n c e s   t o   G M S A s   a r e   a u t h o r i z e d   t o   b e   u s e d   b y   t h e   P o d   s e r v i c e   a c c o u n t .   A   m u t a t i n g   w e b h o o k   t h a t   e x p a n d s   r e f e r e n c e s   t o   G M S A s   ( b y   n a m e   f r o m   a   P o d   s p e c i f i c a t i o n )   i n t o   t h e   f u l l   c r e d e n t i a l   s p e c   i n   J S O N   f o r m   w i t h i n   t h e   P o d   s p e c .   A   v a l i d a t i n g   w e b h o o k   e n s u r e s   a l l   r e f e r e n c e s   t o   G M S A s   a r e   a u t h o r i z e d   t o   b e   u s e d   b y   t h e   P o d   s e r v i c e   a c c o u n t .   I n s t a l l i n g   t h e   a b o v e   w e b h o o k s   a n d   a s s o c i a t e d   o b j e c t s   r e q u i r e   t h e   s t e p s   b e l o w :   C r e a t e   a   c e r t i f i c a t e   k e y   p a i r   ( t h a t   w i l l   b e   u s e d   t o   a l l o w   t h e   w e b h o o k   c o n t a i n e r   t o   c o m m u n i c a t e   t o   t h e   c l u s t e r ) I n s t a l l   a   s e c r e t   w i t h   t h e   c e r t i f i c a t e   f r o m   a b o v e . C r e a t e   a   d e p l o y m e n t   f o r   t h e   c o r e   w e b h o o k   l o g i c . C r e a t e   t h e   v a l i d a t i n g   a n d   m u t a t i n g   w e b h o o k   c o n f i g u r a ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19393"
  },
  {
    "question": "What is Configure GMSAs and Windows nodes in Active Directory?",
    "answer": "B e f o r e   P o d s   i n   K u b e r n e t e s   c a n   b e   c o n f i g u r e d   t o   u s e   G M S A s ,   t h e   d e s i r e d   G M S A s   n e e d   t o   b e   p r o v i s i o n e d   i n   A c t i v e   D i r e c t o r y   a s   d e s c r i b e d   i n   t h e   W i n d o w s   G M S A   d o c u m e n t a t i o n .   W i n d o w s   w o r k e r   n o d e s   ( t h a t   a r e   p a r t   o f   t h e   K u b e r n e t e s   c l u s t e r )   n e e d   t o   b e   c o n f i g u r e d   i n   A c t i v e   D i r e c t o r y   t o   a c c e s s   t h e   s e c r e t   c r e d e n t i a l s   a s s o c i a t e d   w i t h   t h e   d e s i r e d   G M S A   a s   d e s c r i b e d   i n   t h e   W i n d o w s   G M S A   d o c u m e n t a t i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19394"
  },
  {
    "question": "What is Create GMSA credential spec resources?",
    "answer": "W i t h   t h e   G M S A C r e d e n t i a l S p e c   C R D   i n s t a l l e d   ( a s   d e s c r i b e d   e a r l i e r ) ,   c u s t o m   r e s o u r c e s   c o n t a i n i n g   G M S A   c r e d e n t i a l   s p e c s   c a n   b e   c o n f i g u r e d .   T h e   G M S A   c r e d e n t i a l   s p e c   d o e s   n o t   c o n t a i n   s e c r e t   o r   s e n s i t i v e   d a t a .   I t   i s   i n f o r m a t i o n   t h a t   a   c o n t a i n e r   r u n t i m e   c a n   u s e   t o   d e s c r i b e   t h e   d e s i r e d   G M S A   o f   a   c o n t a i n e r   t o   W i n d o w s .   G M S A   c r e d e n t i a l   s p e c s   c a n   b e   g e n e r a t e d   i n   Y A M L   f o r m a t   w i t h   a   u t i l i t y   P o w e r S h e l l   s c r i p t .   F o l l o w i n g   a r e   t h e   s t e p s   f o r   g e n e r a t i n g   a   G M S A   c r e d e n t i a l   s p e c   Y A M L   m a n u a l l y   i n   J S O N   f o r m a t   a n d   t h e n   c o n v e r t i n g   i t :   I m p o r t   t h e   C r e d e n t i a l S p e c   m o d u l e :   i p m o   C r e d e n t i a l S p e c . p s m 1 C r e a t e   a   c r e d e n t i a l   s p e c   i n   J S O N   f o r m a t   u s i n g   N e w - C r e d e n t i a l S p e c .   T o   c r e a t e   a   G M S A   c r e d e n t i a l   s p e c   n a m e d   W e b A p p 1 ,   i n v o k e   N e w - C r e d e n t i a l S p e c   - N a m e   W e b A p p 1   - A c c o u n t N a m e   W e b A p p 1   - D o m a i n   $ ( G e t - A D D o m a i n   - C u r r e n t   L o c a l C o m p u t e r ) U s e   G e t - C r e d e n t i a l S p e c   t o   s h o w   t h e   p a t h   o f   t h e   J S O N   f i l e . C o n v e r t   t h e   c r e d s p e c   f i l e   f r o m   J S O N   t o   Y A M L   f o r m a t   a n d   a p p l y   t h e   n e c e s s a r y   h e a d e r   f i e l d s   a p i V e r s i o n ,   k i n d ,   m e t a d a t a   a n d   c r e d s p e c   t o   m a k e   i t   a   G M S A C r e d e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19395"
  },
  {
    "question": "What is Configure cluster role to enable RBAC on specific GMSA credential specs?",
    "answer": "A   c l u s t e r   r o l e   n e e d s   t o   b e   d e f i n e d   f o r   e a c h   G M S A   c r e d e n t i a l   s p e c   r e s o u r c e .   T h i s   a u t h o r i z e s   t h e   u s e   v e r b   o n   a   s p e c i f i c   G M S A   r e s o u r c e   b y   a   s u b j e c t   w h i c h   i s   t y p i c a l l y   a   s e r v i c e   a c c o u n t .   T h e   f o l l o w i n g   e x a m p l e   s h o w s   a   c l u s t e r   r o l e   t h a t   a u t h o r i z e s   u s a g e   o f   t h e   g m s a - W e b A p p 1   c r e d e n t i a l   s p e c   f r o m   a b o v e .   S a v e   t h e   f i l e   a s   g m s a - w e b a p p 1 - r o l e . y a m l   a n d   a p p l y   u s i n g   k u b e c t l   a p p l y   - f   g m s a - w e b a p p 1 - r o l e . y a m l   #   C r e a t e   t h e   R o l e   t o   r e a d   t h e   c r e d s p e c   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   n a m e :   w e b a p p 1 - r o l e   r u l e s :   -   a p i G r o u p s :   [ \" w i n d o w s . k 8 s . i o \" ]   r e s o u r c e s :   [ \" g m s a c r e d e n t i a l s p e c s \" ]   v e r b s :   [ \" u s e \" ]   r e s o u r c e N a m e s :   [ \" g m s a - W e b A p p 1 \" ]",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19396"
  },
  {
    "question": "What is Assign role to service accounts to use specific GMSA credspecs?",
    "answer": "A   s e r v i c e   a c c o u n t   ( t h a t   P o d s   w i l l   b e   c o n f i g u r e d   w i t h )   n e e d s   t o   b e   b o u n d   t o   t h e   c l u s t e r   r o l e   c r e a t e   a b o v e .   T h i s   a u t h o r i z e s   t h e   s e r v i c e   a c c o u n t   t o   u s e   t h e   d e s i r e d   G M S A   c r e d e n t i a l   s p e c   r e s o u r c e .   T h e   f o l l o w i n g   s h o w s   t h e   d e f a u l t   s e r v i c e   a c c o u n t   b e i n g   b o u n d   t o   a   c l u s t e r   r o l e   w e b a p p 1 - r o l e   t o   u s e   g m s a - W e b A p p 1   c r e d e n t i a l   s p e c   r e s o u r c e   c r e a t e d   a b o v e .   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   R o l e B i n d i n g   m e t a d a t a :   n a m e :   a l l o w - d e f a u l t - s v c - a c c o u n t - r e a d - o n - g m s a - W e b A p p 1   n a m e s p a c e :   d e f a u l t   s u b j e c t s :   -   k i n d :   S e r v i c e A c c o u n t   n a m e :   d e f a u l t   n a m e s p a c e :   d e f a u l t   r o l e R e f :   k i n d :   C l u s t e r R o l e   n a m e :   w e b a p p 1 - r o l e   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19397"
  },
  {
    "question": "What is Configure GMSA credential spec reference in Pod spec?",
    "answer": "T h e   P o d   s p e c   f i e l d   s e c u r i t y C o n t e x t . w i n d o w s O p t i o n s . g m s a C r e d e n t i a l S p e c N a m e   i s   u s e d   t o   s p e c i f y   r e f e r e n c e s   t o   d e s i r e d   G M S A   c r e d e n t i a l   s p e c   c u s t o m   r e s o u r c e s   i n   P o d   s p e c s .   T h i s   c o n f i g u r e s   a l l   c o n t a i n e r s   i n   t h e   P o d   s p e c   t o   u s e   t h e   s p e c i f i e d   G M S A .   A   s a m p l e   P o d   s p e c   w i t h   t h e   a n n o t a t i o n   p o p u l a t e d   t o   r e f e r   t o   g m s a - W e b A p p 1 :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   l a b e l s :   r u n :   w i t h - c r e d s   n a m e :   w i t h - c r e d s   n a m e s p a c e :   d e f a u l t   s p e c :   r e p l i c a s :   1   s e l e c t o r :   m a t c h L a b e l s :   r u n :   w i t h - c r e d s   t e m p l a t e :   m e t a d a t a :   l a b e l s :   r u n :   w i t h - c r e d s   s p e c :   s e c u r i t y C o n t e x t :   w i n d o w s O p t i o n s :   g m s a C r e d e n t i a l S p e c N a m e :   g m s a - w e b a p p 1   c o n t a i n e r s :   -   i m a g e :   m c r . m i c r o s o f t . c o m / w i n d o w s / s e r v e r c o r e / i i s : w i n d o w s s e r v e r c o r e - l t s c 2 0 1 9   i m a g e P u l l P o l i c y :   A l w a y s   n a m e :   i i s   n o d e S e l e c t o r :   k u b e r n e t e s . i o / o s :   w i n d o w s   I n d i v i d u a l   c o n t a i n e r s   i n   a   P o d   s p e c   c a n   a l s o   s p e c i f y   t h e   d e s i r e d   G M S A   c r e d s p e c   u s i n g   a   p e r - c o n t a i n e r   s e c u r i t y C o n t e x t . w i n d o w s O p t i o n s . g m s a C r e d e n t i a l S p e c N a m e   f i e l d .   F o r   e x a m p l e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   l a b e l s :   r u n :   w i t h ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19398"
  },
  {
    "question": "What is Authenticating to network shares using hostname or FQDN?",
    "answer": "I f   y o u   a r e   e x p e r i e n c i n g   i s s u e s   c o n n e c t i n g   t o   S M B   s h a r e s   f r o m   P o d s   u s i n g   h o s t n a m e   o r   F Q D N ,   b u t   a r e   a b l e   t o   a c c e s s   t h e   s h a r e s   v i a   t h e i r   I P v 4   a d d r e s s   t h e n   m a k e   s u r e   t h e   f o l l o w i n g   r e g i s t r y   k e y   i s   s e t   o n   t h e   W i n d o w s   n o d e s .   r e g   a d d   \" H K L M \\ S Y S T E M \\ C u r r e n t C o n t r o l S e t \\ S e r v i c e s \\ h n s \\ S t a t e \"   / v   E n a b l e C o m p a r t m e n t N a m e s p a c e   / t   R E G _ D W O R D   / d   1   R u n n i n g   P o d s   w i l l   t h e n   n e e d   t o   b e   r e c r e a t e d   t o   p i c k   u p   t h e   b e h a v i o r   c h a n g e s .   M o r e   i n f o r m a t i o n   o n   h o w   t h i s   r e g i s t r y   k e y   i s   u s e d   c a n   b e   f o u n d   h e r e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19399"
  },
  {
    "question": "What is Troubleshooting?",
    "answer": "I f   y o u   a r e   h a v i n g   d i f f i c u l t i e s   g e t t i n g   G M S A   t o   w o r k   i n   y o u r   e n v i r o n m e n t ,   t h e r e   a r e   a   f e w   t r o u b l e s h o o t i n g   s t e p s   y o u   c a n   t a k e .   F i r s t ,   m a k e   s u r e   t h e   c r e d s p e c   h a s   b e e n   p a s s e d   t o   t h e   P o d .   T o   d o   t h i s   y o u   w i l l   n e e d   t o   e x e c   i n t o   o n e   o f   y o u r   P o d s   a n d   c h e c k   t h e   o u t p u t   o f   t h e   n l t e s t . e x e   / p a r e n t d o m a i n   c o m m a n d .   I n   t h e   e x a m p l e   b e l o w   t h e   P o d   d i d   n o t   g e t   t h e   c r e d s p e c   c o r r e c t l y :   k u b e c t l   e x e c   - i t   i i s - a u t h - 7 7 7 6 9 6 6 9 9 9 - n 5 n z r   p o w e r s h e l l . e x e   n l t e s t . e x e   / p a r e n t d o m a i n   r e s u l t s   i n   t h e   f o l l o w i n g   e r r o r :   G e t t i n g   p a r e n t   d o m a i n   f a i l e d :   S t a t u s   =   1 7 2 2   0 x 6 b a   R P C _ S _ S E R V E R _ U N A V A I L A B L E   I f   y o u r   P o d   d i d   g e t   t h e   c r e d s p e c   c o r r e c t l y ,   t h e n   n e x t   c h e c k   c o m m u n i c a t i o n   w i t h   t h e   d o m a i n .   F i r s t ,   f r o m   i n s i d e   o f   y o u r   P o d ,   q u i c k l y   d o   a n   n s l o o k u p   t o   f i n d   t h e   r o o t   o f   y o u r   d o m a i n .   T h i s   w i l l   t e l l   u s   3   t h i n g s :   T h e   P o d   c a n   r e a c h   t h e   D C T h e   D C   c a n   r e a c h   t h e   P o d D N S   i s   w o r k i n g   c o r r e c t l y .   I f   t h e   D N S   a n d   c o m m u n i c a t i o n   t e s t   p a s s e s ,   n e x t   y o u   w i l l   n e e d   t o   c h e c k   i f   t h e   P o d   h a s   e s t a b l i s h e d   s e c u r e   c h a n n e l   c o m m u n i c a t i o n   w i t h   t h e   d o m a i n .   T o   d o   t h i s ,   a g a i n ,   e x ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19400"
  },
  {
    "question": "What is 6 - Resize CPU and Memory Resources assigned to Containers?",
    "answer": "T h i s   p a g e   e x p l a i n s   h o w   t o   c h a n g e   t h e   C P U   a n d   m e m o r y   r e s o u r c e   r e q u e s t s   a n d   l i m i t s   a s s i g n e d   t o   a   c o n t a i n e r   w i t h o u t   r e c r e a t i n g   t h e   P o d .   T r a d i t i o n a l l y ,   c h a n g i n g   a   P o d ' s   r e s o u r c e   r e q u i r e m e n t s   n e c e s s i t a t e d   d e l e t i n g   t h e   e x i s t i n g   P o d   a n d   c r e a t i n g   a   r e p l a c e m e n t ,   o f t e n   m a n a g e d   b y   a   w o r k l o a d   c o n t r o l l e r .   I n - p l a c e   P o d   R e s i z e   a l l o w s   c h a n g i n g   t h e   C P U / m e m o r y   a l l o c a t i o n   o f   c o n t a i n e r ( s )   w i t h i n   a   r u n n i n g   P o d   w h i l e   p o t e n t i a l l y   a v o i d i n g   a p p l i c a t i o n   d i s r u p t i o n .   K e y   C o n c e p t s :   D e s i r e d   R e s o u r c e s :   A   c o n t a i n e r ' s   s p e c . c o n t a i n e r s [ * ] . r e s o u r c e s   r e p r e s e n t   t h e   d e s i r e d   r e s o u r c e s   f o r   t h e   c o n t a i n e r ,   a n d   a r e   m u t a b l e   f o r   C P U   a n d   m e m o r y . A c t u a l   R e s o u r c e s :   T h e   s t a t u s . c o n t a i n e r S t a t u s e s [ * ] . r e s o u r c e s   f i e l d   r e f l e c t s   t h e   r e s o u r c e s   c u r r e n t l y   c o n f i g u r e d   f o r   a   r u n n i n g   c o n t a i n e r .   F o r   c o n t a i n e r s   t h a t   h a v e n ' t   s t a r t e d   o r   w e r e   r e s t a r t e d ,   i t   r e f l e c t s   t h e   r e s o u r c e s   a l l o c a t e d   u p o n   t h e i r   n e x t   s t a r t . T r i g g e r i n g   a   R e s i z e :   Y o u   c a n   r e q u e s t   a   r e s i z e   b y   u p d a t i n g   t h e   d e s i r e d   r e q u e s t s   a n d   l i m i t s   i n   t h e   P o d ' s   s p e c i f i c a t i o n .   T h i s   i s   t y p i c a l l y   d o n e   u s i n g ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19401"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 3 3 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   T ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19402"
  },
  {
    "question": "What is Pod resize status?",
    "answer": "T h e   K u b e l e t   u p d a t e s   t h e   P o d ' s   s t a t u s   c o n d i t i o n s   t o   i n d i c a t e   t h e   s t a t e   o f   a   r e s i z e   r e q u e s t :   t y p e :   P o d R e s i z e P e n d i n g :   T h e   K u b e l e t   c a n n o t   i m m e d i a t e l y   g r a n t   t h e   r e q u e s t .   T h e   m e s s a g e   f i e l d   p r o v i d e s   a n   e x p l a n a t i o n   o f   w h y . r e a s o n :   I n f e a s i b l e :   T h e   r e q u e s t e d   r e s i z e   i s   i m p o s s i b l e   o n   t h e   c u r r e n t   n o d e   ( f o r   e x a m p l e ,   r e q u e s t i n g   m o r e   r e s o u r c e s   t h a n   t h e   n o d e   h a s ) . r e a s o n :   D e f e r r e d :   T h e   r e q u e s t e d   r e s i z e   i s   c u r r e n t l y   n o t   p o s s i b l e ,   b u t   m i g h t   b e c o m e   f e a s i b l e   l a t e r   ( f o r   e x a m p l e   i f   a n o t h e r   p o d   i s   r e m o v e d ) .   T h e   K u b e l e t   w i l l   r e t r y   t h e   r e s i z e . t y p e :   P o d R e s i z e I n P r o g r e s s :   T h e   K u b e l e t   h a s   a c c e p t e d   t h e   r e s i z e   a n d   a l l o c a t e d   r e s o u r c e s ,   b u t   t h e   c h a n g e s   a r e   s t i l l   b e i n g   a p p l i e d .   T h i s   i s   u s u a l l y   b r i e f   b u t   m i g h t   t a k e   l o n g e r   d e p e n d i n g   o n   t h e   r e s o u r c e   t y p e   a n d   r u n t i m e   b e h a v i o r .   A n y   e r r o r s   d u r i n g   a c t u a t i o n   a r e   r e p o r t e d   i n   t h e   m e s s a g e   f i e l d   ( a l o n g   w i t h   r e a s o n :   E r r o r ) .   r e a s o n :   I n f e a s i b l e :   T h e   r e q u e s t e d   r e s i z e   i s   i m p o s s i b l e   o n   t h e   c u r r e n t   n o d e   ( f o r   e x a m p l e ,   r e q u e s t i n g   m o r e   r e s o u r c e s   t h a n   t h e   n o d e   h a s ) . r e a s o n :   D e f e r r e d :   T h e   r e q u e s t ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19403"
  },
  {
    "question": "What is How kubelet retries Deferred resizes?",
    "answer": "I f   t h e   r e q u e s t e d   r e s i z e   i s   D e f e r r e d ,   t h e   k u b e l e t   w i l l   p e r i o d i c a l l y   r e - a t t e m p t   t h e   r e s i z e ,   f o r   e x a m p l e   w h e n   a n o t h e r   p o d   i s   r e m o v e d   o r   s c a l e d   d o w n .   I f   t h e r e   a r e   m u l t i p l e   d e f e r r e d   r e s i z e s ,   t h e y   a r e   r e t r i e d   a c c o r d i n g   t o   t h e   f o l l o w i n g   p r i o r i t y :   P o d s   w i t h   a   h i g h e r   P r i o r i t y   ( b a s e d   o n   P r i o r i t y C l a s s )   w i l l   h a v e   t h e i r   r e s i z e   r e q u e s t   r e t r i e d   f i r s t . I f   t w o   p o d s   h a v e   t h e   s a m e   P r i o r i t y ,   r e s i z e   o f   g u a r a n t e e d   p o d s   w i l l   b e   r e t r i e d   b e f o r e   t h e   r e s i z e   o f   b u r s t a b l e   p o d s . I f   a l l   e l s e   i s   t h e   s a m e ,   p o d s   t h a t   h a v e   b e e n   i n   t h e   D e f e r r e d   s t a t e   l o n g e r   w i l l   b e   p r i o r i t i z e d .   A   h i g h e r   p r i o r i t y   r e s i z e   b e i n g   m a r k e d   a s   p e n d i n g   w i l l   n o t   b l o c k   t h e   r e m a i n i n g   p e n d i n g   r e s i z e s   f r o m   b e i n g   a t t e m p t e d ;   a l l   r e m a i n i n g   p e n d i n g   r e s i z e s   w i l l   s t i l l   b e   r e t r i e d   e v e n   i f   a   h i g h e r - p r i o r i t y   r e s i z e   g e t s   d e f e r r e d   a g a i n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19404"
  },
  {
    "question": "What is Leveraging observedGeneration Fields?",
    "answer": "T h e   t o p - l e v e l   s t a t u s . o b s e r v e d G e n e r a t i o n   f i e l d   s h o w s   t h e   m e t a d a t a . g e n e r a t i o n   c o r r e s p o n d i n g   t o   t h e   l a t e s t   p o d   s p e c i f i c a t i o n   t h a t   t h e   k u b e l e t   h a s   a c k n o w l e d g e d .   Y o u   c a n   u s e   t h i s   t o   d e t e r m i n e   t h e   m o s t   r e c e n t   r e s i z e   r e q u e s t   t h e   k u b e l e t   h a s   p r o c e s s e d . I n   t h e   P o d R e s i z e I n P r o g r e s s   c o n d i t i o n ,   t h e   c o n d i t i o n s [ ] . o b s e r v e d G e n e r a t i o n   f i e l d   i n d i c a t e s   t h e   m e t a d a t a . g e n e r a t i o n   o f   t h e   p o d S p e c   w h e n   t h e   c u r r e n t   i n - p r o g r e s s   r e s i z e   w a s   i n i t i a t e d . I n   t h e   P o d R e s i z e P e n d i n g   c o n d i t i o n ,   t h e   c o n d i t i o n s [ ] . o b s e r v e d G e n e r a t i o n   f i e l d   i n d i c a t e s   t h e   m e t a d a t a . g e n e r a t i o n   o f   t h e   p o d S p e c   w h e n   t h e   p e n d i n g   r e s i z e ' s   a l l o c a t i o n   w a s   l a s t   a t t e m p t e d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19405"
  },
  {
    "question": "What is Container resize policies?",
    "answer": "Y o u   c a n   c o n t r o l   w h e t h e r   a   c o n t a i n e r   s h o u l d   b e   r e s t a r t e d   w h e n   r e s i z i n g   b y   s e t t i n g   r e s i z e P o l i c y   i n   t h e   c o n t a i n e r   s p e c i f i c a t i o n .   T h i s   a l l o w s   f i n e - g r a i n e d   c o n t r o l   b a s e d   o n   r e s o u r c e   t y p e   ( C P U   o r   m e m o r y ) .   r e s i z e P o l i c y :   -   r e s o u r c e N a m e :   c p u   r e s t a r t P o l i c y :   N o t R e q u i r e d   -   r e s o u r c e N a m e :   m e m o r y   r e s t a r t P o l i c y :   R e s t a r t C o n t a i n e r   N o t R e q u i r e d :   ( D e f a u l t )   A p p l y   t h e   r e s o u r c e   c h a n g e   t o   t h e   r u n n i n g   c o n t a i n e r   w i t h o u t   r e s t a r t i n g   i t . R e s t a r t C o n t a i n e r :   R e s t a r t   t h e   c o n t a i n e r   t o   a p p l y   t h e   n e w   r e s o u r c e   v a l u e s .   T h i s   i s   o f t e n   n e c e s s a r y   f o r   m e m o r y   c h a n g e s   b e c a u s e   m a n y   a p p l i c a t i o n s   a n d   r u n t i m e s   c a n n o t   a d j u s t   t h e i r   m e m o r y   a l l o c a t i o n   d y n a m i c a l l y .   I f   r e s i z e P o l i c y [ * ] . r e s t a r t P o l i c y   i s   n o t   s p e c i f i e d   f o r   a   r e s o u r c e ,   i t   d e f a u l t s   t o   N o t R e q u i r e d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19406"
  },
  {
    "question": "What is Note:?",
    "answer": "E x a m p l e   S c e n a r i o :   C o n s i d e r   a   c o n t a i n e r   c o n f i g u r e d   w i t h   r e s t a r t P o l i c y :   N o t R e q u i r e d   f o r   C P U   a n d   r e s t a r t P o l i c y :   R e s t a r t C o n t a i n e r   f o r   m e m o r y .   I f   o n l y   C P U   r e s o u r c e s   a r e   c h a n g e d ,   t h e   c o n t a i n e r   i s   r e s i z e d   i n - p l a c e . I f   o n l y   m e m o r y   r e s o u r c e s   a r e   c h a n g e d ,   t h e   c o n t a i n e r   i s   r e s t a r t e d . I f   b o t h   C P U   a n d   m e m o r y   r e s o u r c e s   a r e   c h a n g e d   s i m u l t a n e o u s l y ,   t h e   c o n t a i n e r   i s   r e s t a r t e d   ( d u e   t o   t h e   m e m o r y   p o l i c y ) .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19407"
  },
  {
    "question": "What is Limitations?",
    "answer": "F o r   K u b e r n e t e s   1 . 3 4 ,   r e s i z i n g   p o d   r e s o u r c e s   i n - p l a c e   h a s   t h e   f o l l o w i n g   l i m i t a t i o n s :   R e s o u r c e   T y p e s :   O n l y   C P U   a n d   m e m o r y   r e s o u r c e s   c a n   b e   r e s i z e d . M e m o r y   D e c r e a s e :   I f   t h e   m e m o r y   r e s i z e   r e s t a r t   p o l i c y   i s   N o t R e q u i r e d   ( o r   u n s p e c i f i e d ) ,   t h e   k u b e l e t   w i l l   m a k e   a   b e s t - e f f o r t   a t t e m p t   t o   p r e v e n t   o o m - k i l l s   w h e n   d e c r e a s i n g   m e m o r y   l i m i t s ,   b u t   d o e s n ' t   p r o v i d e   a n y   g u a r a n t e e s .   B e f o r e   d e c r e a s i n g   c o n t a i n e r   m e m o r y   l i m i t s ,   i f   m e m o r y   u s a g e   e x c e e d s   t h e   r e q u e s t e d   l i m i t ,   t h e   r e s i z e   w i l l   b e   s k i p p e d   a n d   t h e   s t a t u s   w i l l   r e m a i n   i n   a n   \" I n   P r o g r e s s \"   s t a t e .   T h i s   i s   c o n s i d e r e d   b e s t - e f f o r t   b e c a u s e   i t   i s   s t i l l   s u b j e c t   t o   a   r a c e   c o n d i t i o n   w h e r e   m e m o r y   u s a g e   m a y   s p i k e   r i g h t   a f t e r   t h e   c h e c k   i s   p e r f o r m e d . Q o S   C l a s s :   T h e   P o d ' s   o r i g i n a l   Q u a l i t y   o f   S e r v i c e   ( Q o S )   c l a s s   ( G u a r a n t e e d ,   B u r s t a b l e ,   o r   B e s t E f f o r t )   i s   d e t e r m i n e d   a t   c r e a t i o n   a n d   c a n n o t   b e   c h a n g e d   b y   a   r e s i z e .   T h e   r e s i z e d   r e s o u r c e   v a l u e s   m u s t   s t i l l   a d h e r e   t o   t h e   r u l e s   o f   t h e   o r i g i n a l   Q o S   c l a s s : G u a r a n t e e d :   R e q u e s t s   m u s t   c o n t i n u e   t o   e q u a l   l i m i t s   f o r   b o t h   C P U   a n d   m e m o r y   a f t e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19408"
  },
  {
    "question": "What is Example 1: Resizing CPU without restart?",
    "answer": "F i r s t ,   c r e a t e   a   P o d   d e s i g n e d   f o r   i n - p l a c e   C P U   r e s i z e   a n d   r e s t a r t - r e q u i r e d   m e m o r y   r e s i z e .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   r e s i z e - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   p a u s e   i m a g e :   r e g i s t r y . k 8 s . i o / p a u s e : 3 . 8   r e s i z e P o l i c y :   -   r e s o u r c e N a m e :   c p u   r e s t a r t P o l i c y :   N o t R e q u i r e d   #   D e f a u l t ,   b u t   e x p l i c i t   h e r e   -   r e s o u r c e N a m e :   m e m o r y   r e s t a r t P o l i c y :   R e s t a r t C o n t a i n e r   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 2 0 0 M i \"   c p u :   \" 7 0 0 m \"   r e q u e s t s :   m e m o r y :   \" 2 0 0 M i \"   c p u :   \" 7 0 0 m \"   C r e a t e   t h e   p o d :   k u b e c t l   c r e a t e   - f   p o d - r e s i z e . y a m l   T h i s   p o d   s t a r t s   i n   t h e   G u a r a n t e e d   Q o S   c l a s s .   V e r i f y   i t s   i n i t i a l   s t a t e :   #   W a i t   a   m o m e n t   f o r   t h e   p o d   t o   b e   r u n n i n g   k u b e c t l   g e t   p o d   r e s i z e - d e m o   - - o u t p u t = y a m l   O b s e r v e   t h e   s p e c . c o n t a i n e r s [ 0 ] . r e s o u r c e s   a n d   s t a t u s . c o n t a i n e r S t a t u s e s [ 0 ] . r e s o u r c e s .   T h e y   s h o u l d   m a t c h   t h e   m a n i f e s t   ( 7 0 0 m   C P U ,   2 0 0 M i   m e m o r y ) .   N o t e   t h e   s t a t u s . c o n t a i n e r S t a t u s e s [ 0 ] . r e s t a r t C o u n t   ( s h o u l d   b e   0 ) .   N o w ,   i n c r e a s e   t h e   C P U   r e q u e s t   a n d   l i m i t   t o   8 0 0 m .   Y o u   u s e   k u b e c t l   p a t c h   w i t h   t h e   - - s u b r e s o u r c e   r e s i z e   c o m m a n d   l i n e   a r g u m e n t .   k u b e c t l   p a t c h   p o d   r e s i z e - d e m ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19409"
  },
  {
    "question": "What is Note:?",
    "answer": "C h e c k   t h e   p o d   s t a t u s   a g a i n   a f t e r   p a t c h i n g :   k u b e c t l   g e t   p o d   r e s i z e - d e m o   - - o u t p u t = y a m l   - - n a m e s p a c e = q o s - e x a m p l e   Y o u   s h o u l d   s e e :   s p e c . c o n t a i n e r s [ 0 ] . r e s o u r c e s   n o w   s h o w s   c p u :   8 0 0 m . s t a t u s . c o n t a i n e r S t a t u s e s [ 0 ] . r e s o u r c e s   a l s o   s h o w s   c p u :   8 0 0 m ,   i n d i c a t i n g   t h e   r e s i z e   w a s   s u c c e s s f u l   o n   t h e   n o d e . s t a t u s . c o n t a i n e r S t a t u s e s [ 0 ] . r e s t a r t C o u n t   r e m a i n s   0 ,   b e c a u s e   t h e   C P U   r e s i z e P o l i c y   w a s   N o t R e q u i r e d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19410"
  },
  {
    "question": "What is Example 2: Resizing memory with restart?",
    "answer": "N o w ,   r e s i z e   t h e   m e m o r y   f o r   t h e   s a m e   p o d   b y   i n c r e a s i n g   i t   t o   3 0 0 M i .   S i n c e   t h e   m e m o r y   r e s i z e P o l i c y   i s   R e s t a r t C o n t a i n e r ,   t h e   c o n t a i n e r   i s   e x p e c t e d   t o   r e s t a r t .   k u b e c t l   p a t c h   p o d   r e s i z e - d e m o   - - s u b r e s o u r c e   r e s i z e   - - p a t c h   \\   ' { \" s p e c \" : { \" c o n t a i n e r s \" : [ { \" n a m e \" : \" p a u s e \" ,   \" r e s o u r c e s \" : { \" r e q u e s t s \" : { \" m e m o r y \" : \" 3 0 0 M i \" } ,   \" l i m i t s \" : { \" m e m o r y \" : \" 3 0 0 M i \" } } } ] } } '   C h e c k   t h e   p o d   s t a t u s   s h o r t l y   a f t e r   p a t c h i n g :   k u b e c t l   g e t   p o d   r e s i z e - d e m o   - - o u t p u t = y a m l   Y o u   s h o u l d   n o w   o b s e r v e :   s p e c . c o n t a i n e r s [ 0 ] . r e s o u r c e s   s h o w s   m e m o r y :   3 0 0 M i . s t a t u s . c o n t a i n e r S t a t u s e s [ 0 ] . r e s o u r c e s   a l s o   s h o w s   m e m o r y :   3 0 0 M i . s t a t u s . c o n t a i n e r S t a t u s e s [ 0 ] . r e s t a r t C o u n t   h a s   i n c r e a s e d   t o   1   ( o r   m o r e ,   i f   r e s t a r t s   h a p p e n e d   p r e v i o u s l y ) ,   i n d i c a t i n g   t h e   c o n t a i n e r   w a s   r e s t a r t e d   t o   a p p l y   t h e   m e m o r y   c h a n g e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19411"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   t h e   p o d :   k u b e c t l   d e l e t e   p o d   r e s i z e - d e m o",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19412"
  },
  {
    "question": "What is For application developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   P o d - l e v e l   C P U   a n d   m e m o r y   r e s o u r c e s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19413"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19414"
  },
  {
    "question": "What is 7 - Configure RunAsUserName for Windows pods and containers?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   t h e   r u n A s U s e r N a m e   s e t t i n g   f o r   P o d s   a n d   c o n t a i n e r s   t h a t   w i l l   r u n   o n   W i n d o w s   n o d e s .   T h i s   i s   r o u g h l y   e q u i v a l e n t   o f   t h e   L i n u x - s p e c i f i c   r u n A s U s e r   s e t t i n g ,   a l l o w i n g   y o u   t o   r u n   a p p l i c a t i o n s   i n   a   c o n t a i n e r   a s   a   d i f f e r e n t   u s e r n a m e   t h a n   t h e   d e f a u l t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19415"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   T h e   c l u s t e r   i s   e x p e c t e d   t o   h a v e   W i n d o w s   w o r k e r   n o d e s   w h e r e   p o d s   w i t h   c o n t a i n e r s   r u n n i n g   W i n d o w s   w o r k l o a d s   w i l l   g e t   s c h e d u l e d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19416"
  },
  {
    "question": "What is Set the Username for a Pod?",
    "answer": "T o   s p e c i f y   t h e   u s e r n a m e   w i t h   w h i c h   t o   e x e c u t e   t h e   P o d ' s   c o n t a i n e r   p r o c e s s e s ,   i n c l u d e   t h e   s e c u r i t y C o n t e x t   f i e l d   ( P o d S e c u r i t y C o n t e x t )   i n   t h e   P o d   s p e c i f i c a t i o n ,   a n d   w i t h i n   i t ,   t h e   w i n d o w s O p t i o n s   ( W i n d o w s S e c u r i t y C o n t e x t O p t i o n s )   f i e l d   c o n t a i n i n g   t h e   r u n A s U s e r N a m e   f i e l d .   T h e   W i n d o w s   s e c u r i t y   c o n t e x t   o p t i o n s   t h a t   y o u   s p e c i f y   f o r   a   P o d   a p p l y   t o   a l l   C o n t a i n e r s   a n d   i n i t   C o n t a i n e r s   i n   t h e   P o d .   H e r e   i s   a   c o n f i g u r a t i o n   f i l e   f o r   a   W i n d o w s   P o d   t h a t   h a s   t h e   r u n A s U s e r N a m e   f i e l d   s e t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   r u n - a s - u s e r n a m e - p o d - d e m o   s p e c :   s e c u r i t y C o n t e x t :   w i n d o w s O p t i o n s :   r u n A s U s e r N a m e :   \" C o n t a i n e r U s e r \"   c o n t a i n e r s :   -   n a m e :   r u n - a s - u s e r n a m e - d e m o   i m a g e :   m c r . m i c r o s o f t . c o m / w i n d o w s / s e r v e r c o r e : l t s c 2 0 1 9   c o m m a n d :   [ \" p i n g \" ,   \" - t \" ,   \" l o c a l h o s t \" ]   n o d e S e l e c t o r :   k u b e r n e t e s . i o / o s :   w i n d o w s   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / w i n d o w s / r u n - a s - u s e r n a m e - p o d . y a m l   V e r i f y   t h a t   t h e   P o d ' s   C o n t a i n e r   i s   r u n n i n g :   k u b e c t l   g e t   p o d   r u n - a s - u s e r n a m e - p o d - d e m o   G e t   a   s h e l l   t o   t h e   r u n n i n g   C o n t a i n e r :   k u b e c t l   e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19417"
  },
  {
    "question": "What is Set the Username for a Container?",
    "answer": "T o   s p e c i f y   t h e   u s e r n a m e   w i t h   w h i c h   t o   e x e c u t e   a   C o n t a i n e r ' s   p r o c e s s e s ,   i n c l u d e   t h e   s e c u r i t y C o n t e x t   f i e l d   ( S e c u r i t y C o n t e x t )   i n   t h e   C o n t a i n e r   m a n i f e s t ,   a n d   w i t h i n   i t ,   t h e   w i n d o w s O p t i o n s   ( W i n d o w s S e c u r i t y C o n t e x t O p t i o n s )   f i e l d   c o n t a i n i n g   t h e   r u n A s U s e r N a m e   f i e l d .   T h e   W i n d o w s   s e c u r i t y   c o n t e x t   o p t i o n s   t h a t   y o u   s p e c i f y   f o r   a   C o n t a i n e r   a p p l y   o n l y   t o   t h a t   i n d i v i d u a l   C o n t a i n e r ,   a n d   t h e y   o v e r r i d e   t h e   s e t t i n g s   m a d e   a t   t h e   P o d   l e v e l .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r ,   a n d   t h e   r u n A s U s e r N a m e   f i e l d   i s   s e t   a t   t h e   P o d   l e v e l   a n d   t h e   C o n t a i n e r   l e v e l :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   r u n - a s - u s e r n a m e - c o n t a i n e r - d e m o   s p e c :   s e c u r i t y C o n t e x t :   w i n d o w s O p t i o n s :   r u n A s U s e r N a m e :   \" C o n t a i n e r U s e r \"   c o n t a i n e r s :   -   n a m e :   r u n - a s - u s e r n a m e - d e m o   i m a g e :   m c r . m i c r o s o f t . c o m / w i n d o w s / s e r v e r c o r e : l t s c 2 0 1 9   c o m m a n d :   [ \" p i n g \" ,   \" - t \" ,   \" l o c a l h o s t \" ]   s e c u r i t y C o n t e x t :   w i n d o w s O p t i o n s :   r u n A s U s e r N a m e :   \" C o n t a i n e r A d m i n i s t r a t o r \"   n o d e S e l e c t o r :   k u b e r n e t e s . i o / o s :   w i n d o w s   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19418"
  },
  {
    "question": "What is Windows Username limitations?",
    "answer": "I n   o r d e r   t o   u s e   t h i s   f e a t u r e ,   t h e   v a l u e   s e t   i n   t h e   r u n A s U s e r N a m e   f i e l d   m u s t   b e   a   v a l i d   u s e r n a m e .   I t   m u s t   h a v e   t h e   f o l l o w i n g   f o r m a t :   D O M A I N \\ U S E R ,   w h e r e   D O M A I N \\   i s   o p t i o n a l .   W i n d o w s   u s e r   n a m e s   a r e   c a s e   i n s e n s i t i v e .   A d d i t i o n a l l y ,   t h e r e   a r e   s o m e   r e s t r i c t i o n s   r e g a r d i n g   t h e   D O M A I N   a n d   U S E R :   T h e   r u n A s U s e r N a m e   f i e l d   c a n n o t   b e   e m p t y ,   a n d   i t   c a n n o t   c o n t a i n   c o n t r o l   c h a r a c t e r s   ( A S C I I   v a l u e s :   0 x 0 0 - 0 x 1 F ,   0 x 7 F ) T h e   D O M A I N   m u s t   b e   e i t h e r   a   N e t B i o s   n a m e ,   o r   a   D N S   n a m e ,   e a c h   w i t h   t h e i r   o w n   r e s t r i c t i o n s : N e t B i o s   n a m e s :   m a x i m u m   1 5   c h a r a c t e r s ,   c a n n o t   s t a r t   w i t h   .   ( d o t ) ,   a n d   c a n n o t   c o n t a i n   t h e   f o l l o w i n g   c h a r a c t e r s :   \\   /   :   *   ?   \"   <   >   | D N S   n a m e s :   m a x i m u m   2 5 5   c h a r a c t e r s ,   c o n t a i n s   o n l y   a l p h a n u m e r i c   c h a r a c t e r s ,   d o t s ,   a n d   d a s h e s ,   a n d   i t   c a n n o t   s t a r t   o r   e n d   w i t h   a   .   ( d o t )   o r   -   ( d a s h ) . T h e   U S E R   m u s t   h a v e   a t   m o s t   2 0   c h a r a c t e r s ,   i t   c a n n o t   c o n t a i n   o n l y   d o t s   o r   s p a c e s ,   a n d   i t   c a n n o t   c o n t a i n   t h e   f o l l o w i n g   c h a r a c t e r s :   \"   /   \\   [   ]   :   ;   |   =   ,   +   *   ?   <   >   @ .   N e t B i o s   n a m e s :   m a x i m u m   1 5   c h a r a c t e r s ,   c a n n o t   s t a r t   w i t h   .   ( d o t ) ,   a n d   c a n n o t   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19419"
  },
  {
    "question": "What is What's next?",
    "answer": "G u i d e   f o r   s c h e d u l i n g   W i n d o w s   c o n t a i n e r s   i n   K u b e r n e t e s M a n a g i n g   W o r k l o a d   I d e n t i t y   w i t h   G r o u p   M a n a g e d   S e r v i c e   A c c o u n t s   ( G M S A ) C o n f i g u r e   G M S A   f o r   W i n d o w s   p o d s   a n d   c o n t a i n e r s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19420"
  },
  {
    "question": "What is 8 - Create a Windows HostProcess Pod?",
    "answer": "W i n d o w s   H o s t P r o c e s s   c o n t a i n e r s   e n a b l e   y o u   t o   r u n   c o n t a i n e r i z e d   w o r k l o a d s   o n   a   W i n d o w s   h o s t .   T h e s e   c o n t a i n e r s   o p e r a t e   a s   n o r m a l   p r o c e s s e s   b u t   h a v e   a c c e s s   t o   t h e   h o s t   n e t w o r k   n a m e s p a c e ,   s t o r a g e ,   a n d   d e v i c e s   w h e n   g i v e n   t h e   a p p r o p r i a t e   u s e r   p r i v i l e g e s .   H o s t P r o c e s s   c o n t a i n e r s   c a n   b e   u s e d   t o   d e p l o y   n e t w o r k   p l u g i n s ,   s t o r a g e   c o n f i g u r a t i o n s ,   d e v i c e   p l u g i n s ,   k u b e - p r o x y ,   a n d   o t h e r   c o m p o n e n t s   t o   W i n d o w s   n o d e s   w i t h o u t   t h e   n e e d   f o r   d e d i c a t e d   p r o x i e s   o r   t h e   d i r e c t   i n s t a l l a t i o n   o f   h o s t   s e r v i c e s .   A d m i n i s t r a t i v e   t a s k s   s u c h   a s   i n s t a l l a t i o n   o f   s e c u r i t y   p a t c h e s ,   e v e n t   l o g   c o l l e c t i o n ,   a n d   m o r e   c a n   b e   p e r f o r m e d   w i t h o u t   r e q u i r i n g   c l u s t e r   o p e r a t o r s   t o   l o g   o n t o   e a c h   W i n d o w s   n o d e .   H o s t P r o c e s s   c o n t a i n e r s   c a n   r u n   a s   a n y   u s e r   t h a t   i s   a v a i l a b l e   o n   t h e   h o s t   o r   i s   i n   t h e   d o m a i n   o f   t h e   h o s t   m a c h i n e ,   a l l o w i n g   a d m i n i s t r a t o r s   t o   r e s t r i c t   r e s o u r c e   a c c e s s   t h r o u g h   u s e r   p e r m i s s i o n s .   W h i l e   n e i t h e r   f i l e s y s t e m   o r   p r o c e s s   i s o l a t i o n   a r e   s u p p o r t e d ,   a   n e w   v o l u m e   i s   c r e a t e d   o n   t h e   h o s t   u p o n   s t a r t i n g   t h e   c o n t a i n e r   t o   g i v e   i t   a   c l e a n   a ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19421"
  },
  {
    "question": "What is When should I use a Windows HostProcess container??",
    "answer": "W h e n   y o u   n e e d   t o   p e r f o r m   t a s k s   w h i c h   r e q u i r e   t h e   n e t w o r k i n g   n a m e s p a c e   o f   t h e   h o s t .   H o s t P r o c e s s   c o n t a i n e r s   h a v e   a c c e s s   t o   t h e   h o s t ' s   n e t w o r k   i n t e r f a c e s   a n d   I P   a d d r e s s e s . Y o u   n e e d   a c c e s s   t o   r e s o u r c e s   o n   t h e   h o s t   s u c h   a s   t h e   f i l e s y s t e m ,   e v e n t   l o g s ,   e t c . I n s t a l l a t i o n   o f   s p e c i f i c   d e v i c e   d r i v e r s   o r   W i n d o w s   s e r v i c e s . C o n s o l i d a t i o n   o f   a d m i n i s t r a t i v e   t a s k s   a n d   s e c u r i t y   p o l i c i e s .   T h i s   r e d u c e s   t h e   d e g r e e   o f   p r i v i l e g e s   n e e d e d   b y   W i n d o w s   n o d e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19422"
  },
  {
    "question": "What is Before you begin?",
    "answer": "T h i s   t a s k   g u i d e   i s   s p e c i f i c   t o   K u b e r n e t e s   v 1 . 3 4 .   I f   y o u   a r e   n o t   r u n n i n g   K u b e r n e t e s   v 1 . 3 4 ,   c h e c k   t h e   d o c u m e n t a t i o n   f o r   t h a t   v e r s i o n   o f   K u b e r n e t e s .   I n   K u b e r n e t e s   1 . 3 4 ,   t h e   H o s t P r o c e s s   c o n t a i n e r   f e a t u r e   i s   e n a b l e d   b y   d e f a u l t .   T h e   k u b e l e t   w i l l   c o m m u n i c a t e   w i t h   c o n t a i n e r d   d i r e c t l y   b y   p a s s i n g   t h e   h o s t p r o c e s s   f l a g   v i a   C R I .   Y o u   c a n   u s e   t h e   l a t e s t   v e r s i o n   o f   c o n t a i n e r d   ( v 1 . 6 + )   t o   r u n   H o s t P r o c e s s   c o n t a i n e r s .   H o w   t o   i n s t a l l   c o n t a i n e r d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19423"
  },
  {
    "question": "What is Limitations?",
    "answer": "T h e s e   l i m i t a t i o n s   a r e   r e l e v a n t   f o r   K u b e r n e t e s   v 1 . 3 4 :   H o s t P r o c e s s   c o n t a i n e r s   r e q u i r e   c o n t a i n e r d   1 . 6   o r   h i g h e r   c o n t a i n e r   r u n t i m e   a n d   c o n t a i n e r d   1 . 7   i s   r e c o m m e n d e d . H o s t P r o c e s s   p o d s   c a n   o n l y   c o n t a i n   H o s t P r o c e s s   c o n t a i n e r s .   T h i s   i s   a   c u r r e n t   l i m i t a t i o n   o f   t h e   W i n d o w s   O S ;   n o n - p r i v i l e g e d   W i n d o w s   c o n t a i n e r s   c a n n o t   s h a r e   a   v N I C   w i t h   t h e   h o s t   I P   n a m e s p a c e . H o s t P r o c e s s   c o n t a i n e r s   r u n   a s   a   p r o c e s s   o n   t h e   h o s t   a n d   d o   n o t   h a v e   a n y   d e g r e e   o f   i s o l a t i o n   o t h e r   t h a n   r e s o u r c e   c o n s t r a i n t s   i m p o s e d   o n   t h e   H o s t P r o c e s s   u s e r   a c c o u n t .   N e i t h e r   f i l e s y s t e m   o r   H y p e r - V   i s o l a t i o n   a r e   s u p p o r t e d   f o r   H o s t P r o c e s s   c o n t a i n e r s . V o l u m e   m o u n t s   a r e   s u p p o r t e d   a n d   a r e   m o u n t e d   u n d e r   t h e   c o n t a i n e r   v o l u m e .   S e e   V o l u m e   M o u n t s A   l i m i t e d   s e t   o f   h o s t   u s e r   a c c o u n t s   a r e   a v a i l a b l e   f o r   H o s t P r o c e s s   c o n t a i n e r s   b y   d e f a u l t .   S e e   C h o o s i n g   a   U s e r   A c c o u n t . R e s o u r c e   l i m i t s   ( d i s k ,   m e m o r y ,   c p u   c o u n t )   a r e   s u p p o r t e d   i n   t h e   s a m e   f a s h i o n   a s   p r o c e s s e s   o n   t h e   h o s t . B o t h   N a m e d   p i p e   m o u n t s   a n d   U n i x   d o m a i n   s o c k e t s   a r e   n o t   s u p p o r t e d   a n d   s h o u l d   i n s t e a d   b e   a c c e s s e d   v i a ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19424"
  },
  {
    "question": "What is HostProcess Pod configuration requirements?",
    "answer": "E n a b l i n g   a   W i n d o w s   H o s t P r o c e s s   p o d   r e q u i r e s   s e t t i n g   t h e   r i g h t   c o n f i g u r a t i o n s   i n   t h e   p o d   s e c u r i t y   c o n f i g u r a t i o n .   O f   t h e   p o l i c i e s   d e f i n e d   i n   t h e   P o d   S e c u r i t y   S t a n d a r d s   H o s t P r o c e s s   p o d s   a r e   d i s a l l o w e d   b y   t h e   b a s e l i n e   a n d   r e s t r i c t e d   p o l i c i e s .   I t   i s   t h e r e f o r e   r e c o m m e n d e d   t h a t   H o s t P r o c e s s   p o d s   r u n   i n   a l i g n m e n t   w i t h   t h e   p r i v i l e g e d   p r o f i l e .   W h e n   r u n n i n g   u n d e r   t h e   p r i v i l e g e d   p o l i c y ,   h e r e   a r e   t h e   c o n f i g u r a t i o n s   w h i c h   n e e d   t o   b e   s e t   t o   e n a b l e   t h e   c r e a t i o n   o f   a   H o s t P r o c e s s   p o d :   W i n d o w s   p o d s   o f f e r   t h e   a b i l i t y   t o   r u n   H o s t P r o c e s s   c o n t a i n e r s   w h i c h   e n a b l e s   p r i v i l e g e d   a c c e s s   t o   t h e   W i n d o w s   n o d e .   A l l o w e d   V a l u e s   t r u e   P o d s   c o n t a i n e r   H o s t P r o c e s s   c o n t a i n e r s   m u s t   u s e   t h e   h o s t ' s   n e t w o r k   n a m e s p a c e .   A l l o w e d   V a l u e s   t r u e   S p e c i f i c a t i o n   o f   w h i c h   u s e r   t h e   H o s t P r o c e s s   c o n t a i n e r   s h o u l d   r u n   a s   i s   r e q u i r e d   f o r   t h e   p o d   s p e c .   A l l o w e d   V a l u e s   N T   A U T H O R I T Y \\ S Y S T E M N T   A U T H O R I T Y \\ L o c a l   s e r v i c e N T   A U T H O R I T Y \\ N e t w o r k S e r v i c e L o c a l   u s e r g r o u p   n a m e s   ( s e e   b e l o w )   B e c a u s e   H o s t P r o c e s s   c o n t a i n e r s   h a v e   p r i v i l e g e d   a c c e s s   t o   t h e   h o s t ,   t h e   r u n A s N o n ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19425"
  },
  {
    "question": "What is Example manifest (excerpt)?",
    "answer": "s p e c :   s e c u r i t y C o n t e x t :   w i n d o w s O p t i o n s :   h o s t P r o c e s s :   t r u e   r u n A s U s e r N a m e :   \" N T   A U T H O R I T Y \\ \\ L o c a l   s e r v i c e \"   h o s t N e t w o r k :   t r u e   c o n t a i n e r s :   -   n a m e :   t e s t   i m a g e :   i m a g e 1 : l a t e s t   c o m m a n d :   -   p i n g   -   - t   -   1 2 7 . 0 . 0 . 1   n o d e S e l e c t o r :   \" k u b e r n e t e s . i o / o s \" :   w i n d o w s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19426"
  },
  {
    "question": "What is Volume mounts?",
    "answer": "H o s t P r o c e s s   c o n t a i n e r s   s u p p o r t   t h e   a b i l i t y   t o   m o u n t   v o l u m e s   w i t h i n   t h e   c o n t a i n e r   v o l u m e   s p a c e .   V o l u m e   m o u n t   b e h a v i o r   d i f f e r s   d e p e n d i n g   o n   t h e   v e r s i o n   o f   c o n t a i n e r d   r u n t i m e   u s e d   b y   o n   t h e   n o d e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19427"
  },
  {
    "question": "What is Containerd v1.6?",
    "answer": "A p p l i c a t i o n s   r u n n i n g   i n s i d e   t h e   c o n t a i n e r   c a n   a c c e s s   v o l u m e   m o u n t s   d i r e c t l y   v i a   r e l a t i v e   o r   a b s o l u t e   p a t h s .   A n   e n v i r o n m e n t   v a r i a b l e   $ C O N T A I N E R _ S A N D B O X _ M O U N T _ P O I N T   i s   s e t   u p o n   c o n t a i n e r   c r e a t i o n   a n d   p r o v i d e s   t h e   a b s o l u t e   h o s t   p a t h   t o   t h e   c o n t a i n e r   v o l u m e .   R e l a t i v e   p a t h s   a r e   b a s e d   u p o n   t h e   . s p e c . c o n t a i n e r s . v o l u m e M o u n t s . m o u n t P a t h   c o n f i g u r a t i o n .   T o   a c c e s s   s e r v i c e   a c c o u n t   t o k e n s   ( f o r   e x a m p l e )   t h e   f o l l o w i n g   p a t h   s t r u c t u r e s   a r e   s u p p o r t e d   w i t h i n   t h e   c o n t a i n e r :   . \\ v a r \\ r u n \\ s e c r e t s \\ k u b e r n e t e s . i o \\ s e r v i c e a c c o u n t \\ $ C O N T A I N E R _ S A N D B O X _ M O U N T _ P O I N T \\ v a r \\ r u n \\ s e c r e t s \\ k u b e r n e t e s . i o \\ s e r v i c e a c c o u n t \\",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19428"
  },
  {
    "question": "What is Containerd v1.7 (and greater)?",
    "answer": "A p p l i c a t i o n s   r u n n i n g   i n s i d e   t h e   c o n t a i n e r   c a n   a c c e s s   v o l u m e   m o u n t s   d i r e c t l y   v i a   t h e   v o l u m e M o u n t ' s   s p e c i f i e d   m o u n t P a t h   ( j u s t   l i k e   L i n u x   a n d   n o n - H o s t P r o c e s s   W i n d o w s   c o n t a i n e r s ) .   F o r   b a c k w a r d s   c o m p a t i b i l i t y   v o l u m e s   c a n   a l s o   b e   a c c e s s e d   v i a   u s i n g   t h e   s a m e   r e l a t i v e   p a t h s   c o n f i g u r e d   b y   c o n t a i n e r d   v 1 . 6 .   A s   a n   e x a m p l e ,   t o   a c c e s s   s e r v i c e   a c c o u n t   t o k e n s   w i t h i n   t h e   c o n t a i n e r   y o u   w o u l d   u s e   o n e   o f   t h e   f o l l o w i n g   p a t h s :   c : \\ v a r \\ r u n \\ s e c r e t s \\ k u b e r n e t e s . i o \\ s e r v i c e a c c o u n t / v a r / r u n / s e c r e t s / k u b e r n e t e s . i o / s e r v i c e a c c o u n t / $ C O N T A I N E R _ S A N D B O X _ M O U N T _ P O I N T \\ v a r \\ r u n \\ s e c r e t s \\ k u b e r n e t e s . i o \\ s e r v i c e a c c o u n t \\",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19429"
  },
  {
    "question": "What is Resource limits?",
    "answer": "R e s o u r c e   l i m i t s   ( d i s k ,   m e m o r y ,   c p u   c o u n t )   a r e   a p p l i e d   t o   t h e   j o b   a n d   a r e   j o b   w i d e .   F o r   e x a m p l e ,   w i t h   a   l i m i t   o f   1 0 M B   s e t ,   t h e   m e m o r y   a l l o c a t e d   f o r   a n y   H o s t P r o c e s s   j o b   o b j e c t   w i l l   b e   c a p p e d   a t   1 0 M B .   T h i s   i s   t h e   s a m e   b e h a v i o r   a s   o t h e r   W i n d o w s   c o n t a i n e r   t y p e s .   T h e s e   l i m i t s   w o u l d   b e   s p e c i f i e d   t h e   s a m e   w a y   t h e y   a r e   c u r r e n t l y   f o r   w h a t e v e r   o r c h e s t r a t o r   o r   r u n t i m e   i s   b e i n g   u s e d .   T h e   o n l y   d i f f e r e n c e   i s   i n   t h e   d i s k   r e s o u r c e   u s a g e   c a l c u l a t i o n   u s e d   f o r   r e s o u r c e   t r a c k i n g   d u e   t o   t h e   d i f f e r e n c e   i n   h o w   H o s t P r o c e s s   c o n t a i n e r s   a r e   b o o t s t r a p p e d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19430"
  },
  {
    "question": "What is System accounts?",
    "answer": "B y   d e f a u l t ,   H o s t P r o c e s s   c o n t a i n e r s   s u p p o r t   t h e   a b i l i t y   t o   r u n   a s   o n e   o f   t h r e e   s u p p o r t e d   W i n d o w s   s e r v i c e   a c c o u n t s :   L o c a l S y s t e m L o c a l S e r v i c e N e t w o r k S e r v i c e   Y o u   s h o u l d   s e l e c t   a n   a p p r o p r i a t e   W i n d o w s   s e r v i c e   a c c o u n t   f o r   e a c h   H o s t P r o c e s s   c o n t a i n e r ,   a i m i n g   t o   l i m i t   t h e   d e g r e e   o f   p r i v i l e g e s   s o   a s   t o   a v o i d   a c c i d e n t a l   ( o r   e v e n   m a l i c i o u s )   d a m a g e   t o   t h e   h o s t .   T h e   L o c a l S y s t e m   s e r v i c e   a c c o u n t   h a s   t h e   h i g h e s t   l e v e l   o f   p r i v i l e g e   o f   t h e   t h r e e   a n d   s h o u l d   b e   u s e d   o n l y   i f   a b s o l u t e l y   n e c e s s a r y .   W h e r e   p o s s i b l e ,   u s e   t h e   L o c a l S e r v i c e   s e r v i c e   a c c o u n t   a s   i t   i s   t h e   l e a s t   p r i v i l e g e d   o f   t h e   t h r e e   o p t i o n s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19431"
  },
  {
    "question": "What is Local accounts?",
    "answer": "I f   c o n f i g u r e d ,   H o s t P r o c e s s   c o n t a i n e r s   c a n   a l s o   r u n   a s   l o c a l   u s e r   a c c o u n t s   w h i c h   a l l o w s   f o r   n o d e   o p e r a t o r s   t o   g i v e   f i n e - g r a i n e d   a c c e s s   t o   w o r k l o a d s .   T o   r u n   H o s t P r o c e s s   c o n t a i n e r s   a s   a   l o c a l   u s e r ;   A   l o c a l   u s e r g r o u p   m u s t   f i r s t   b e   c r e a t e d   o n   t h e   n o d e   a n d   t h e   n a m e   o f   t h a t   l o c a l   u s e r g r o u p   m u s t   b e   s p e c i f i e d   i n   t h e   r u n A s U s e r N a m e   f i e l d   i n   t h e   d e p l o y m e n t .   P r i o r   t o   i n i t i a l i z i n g   t h e   H o s t P r o c e s s   c o n t a i n e r ,   a   n e w   e p h e m e r a l   l o c a l   u s e r   a c c o u n t   t o   b e   c r e a t e d   a n d   j o i n e d   t o   t h e   s p e c i f i e d   u s e r g r o u p ,   f r o m   w h i c h   t h e   c o n t a i n e r   i s   r u n .   T h i s   p r o v i d e s   a   n u m b e r   a   b e n e f i t s   i n c l u d i n g   e l i m i n a t i n g   t h e   n e e d   t o   m a n a g e   p a s s w o r d s   f o r   l o c a l   u s e r   a c c o u n t s .   A n   i n i t i a l   H o s t P r o c e s s   c o n t a i n e r   r u n n i n g   a s   a   s e r v i c e   a c c o u n t   c a n   b e   u s e d   t o   p r e p a r e   t h e   u s e r   g r o u p s   f o r   l a t e r   H o s t P r o c e s s   c o n t a i n e r s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19432"
  },
  {
    "question": "What is Note:?",
    "answer": "E x a m p l e :   C r e a t e   a   l o c a l   u s e r   g r o u p   o n   t h e   n o d e   ( t h i s   c a n   b e   d o n e   i n   a n o t h e r   H o s t P r o c e s s   c o n t a i n e r ) . n e t   l o c a l g r o u p   h p c - l o c a l g r o u p   / a d d   G r a n t   a c c e s s   t o   d e s i r e d   r e s o u r c e s   o n   t h e   n o d e   t o   t h e   l o c a l   u s e r g r o u p .   T h i s   c a n   b e   d o n e   w i t h   t o o l s   l i k e   i c a c l s . S e t   r u n A s U s e r N a m e   t o   t h e   n a m e   o f   t h e   l o c a l   u s e r g r o u p   f o r   t h e   p o d   o r   i n d i v i d u a l   c o n t a i n e r s . s e c u r i t y C o n t e x t :   w i n d o w s O p t i o n s :   h o s t P r o c e s s :   t r u e   r u n A s U s e r N a m e :   h p c - l o c a l g r o u p   S c h e d u l e   t h e   p o d !   C r e a t e   a   l o c a l   u s e r   g r o u p   o n   t h e   n o d e   ( t h i s   c a n   b e   d o n e   i n   a n o t h e r   H o s t P r o c e s s   c o n t a i n e r ) .   n e t   l o c a l g r o u p   h p c - l o c a l g r o u p   / a d d   G r a n t   a c c e s s   t o   d e s i r e d   r e s o u r c e s   o n   t h e   n o d e   t o   t h e   l o c a l   u s e r g r o u p .   T h i s   c a n   b e   d o n e   w i t h   t o o l s   l i k e   i c a c l s .   S e t   r u n A s U s e r N a m e   t o   t h e   n a m e   o f   t h e   l o c a l   u s e r g r o u p   f o r   t h e   p o d   o r   i n d i v i d u a l   c o n t a i n e r s .   s e c u r i t y C o n t e x t :   w i n d o w s O p t i o n s :   h o s t P r o c e s s :   t r u e   r u n A s U s e r N a m e :   h p c - l o c a l g r o u p   S c h e d u l e   t h e   p o d !",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19433"
  },
  {
    "question": "What is Base Image for HostProcess Containers?",
    "answer": "H o s t P r o c e s s   c o n t a i n e r s   c a n   b e   b u i l t   f r o m   a n y   o f   t h e   e x i s t i n g   W i n d o w s   C o n t a i n e r   b a s e   i m a g e s .   A d d i t i o n a l l y   a   n e w   b a s e   m a g e   h a s   b e e n   c r e a t e d   j u s t   f o r   H o s t P r o c e s s   c o n t a i n e r s !   F o r   m o r e   i n f o r m a t i o n   p l e a s e   c h e c k   o u t   t h e   w i n d o w s - h o s t - p r o c e s s - c o n t a i n e r s - b a s e - i m a g e   g i t h u b   p r o j e c t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19434"
  },
  {
    "question": "What is Troubleshooting HostProcess containers?",
    "answer": "H o s t P r o c e s s   c o n t a i n e r s   f a i l   t o   s t a r t   w i t h   f a i l e d   t o   c r e a t e   u s e r   p r o c e s s   t o k e n :   f a i l e d   t o   l o g o n   u s e r :   A c c e s s   i s   d e n i e d . :   u n k n o w n E n s u r e   c o n t a i n e r d   i s   r u n n i n g   a s   L o c a l S y s t e m   o r   L o c a l S e r v i c e   s e r v i c e   a c c o u n t s .   U s e r   a c c o u n t s   ( e v e n   A d m i n i s t r a t o r   a c c o u n t s )   d o   n o t   h a v e   p e r m i s s i o n s   t o   c r e a t e   l o g o n   t o k e n s   f o r   a n y   o f   t h e   s u p p o r t e d   u s e r   a c c o u n t s .   H o s t P r o c e s s   c o n t a i n e r s   f a i l   t o   s t a r t   w i t h   f a i l e d   t o   c r e a t e   u s e r   p r o c e s s   t o k e n :   f a i l e d   t o   l o g o n   u s e r :   A c c e s s   i s   d e n i e d . :   u n k n o w n   E n s u r e   c o n t a i n e r d   i s   r u n n i n g   a s   L o c a l S y s t e m   o r   L o c a l S e r v i c e   s e r v i c e   a c c o u n t s .   U s e r   a c c o u n t s   ( e v e n   A d m i n i s t r a t o r   a c c o u n t s )   d o   n o t   h a v e   p e r m i s s i o n s   t o   c r e a t e   l o g o n   t o k e n s   f o r   a n y   o f   t h e   s u p p o r t e d   u s e r   a c c o u n t s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19435"
  },
  {
    "question": "What is 9 - Configure Quality of Service for Pods?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   P o d s   s o   t h a t   t h e y   w i l l   b e   a s s i g n e d   p a r t i c u l a r   Q u a l i t y   o f   S e r v i c e   ( Q o S )   c l a s s e s .   K u b e r n e t e s   u s e s   Q o S   c l a s s e s   t o   m a k e   d e c i s i o n s   a b o u t   e v i c t i n g   P o d s   w h e n   N o d e   r e s o u r c e s   a r e   e x c e e d e d .   W h e n   K u b e r n e t e s   c r e a t e s   a   P o d   i t   a s s i g n s   o n e   o f   t h e s e   Q o S   c l a s s e s   t o   t h e   P o d :   G u a r a n t e e d B u r s t a b l e B e s t E f f o r t",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19436"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   a l s o   n e e d   t o   b e   a b l e   t o   c r e a t e   a n d   d e l e t e   n a m e s p a c e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19437"
  },
  {
    "question": "What is Create a namespace?",
    "answer": "C r e a t e   a   n a m e s p a c e   s o   t h a t   t h e   r e s o u r c e s   y o u   c r e a t e   i n   t h i s   e x e r c i s e   a r e   i s o l a t e d   f r o m   t h e   r e s t   o f   y o u r   c l u s t e r .   k u b e c t l   c r e a t e   n a m e s p a c e   q o s - e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19438"
  },
  {
    "question": "What is Create a Pod that gets assigned a QoS class of Guaranteed?",
    "answer": "F o r   a   P o d   t o   b e   g i v e n   a   Q o S   c l a s s   o f   G u a r a n t e e d :   E v e r y   C o n t a i n e r   i n   t h e   P o d   m u s t   h a v e   a   m e m o r y   l i m i t   a n d   a   m e m o r y   r e q u e s t . F o r   e v e r y   C o n t a i n e r   i n   t h e   P o d ,   t h e   m e m o r y   l i m i t   m u s t   e q u a l   t h e   m e m o r y   r e q u e s t . E v e r y   C o n t a i n e r   i n   t h e   P o d   m u s t   h a v e   a   C P U   l i m i t   a n d   a   C P U   r e q u e s t . F o r   e v e r y   C o n t a i n e r   i n   t h e   P o d ,   t h e   C P U   l i m i t   m u s t   e q u a l   t h e   C P U   r e q u e s t .   T h e s e   r e s t r i c t i o n s   a p p l y   t o   i n i t   c o n t a i n e r s   a n d   a p p   c o n t a i n e r s   e q u a l l y .   E p h e m e r a l   c o n t a i n e r s   c a n n o t   d e f i n e   r e s o u r c e s   s o   t h e s e   r e s t r i c t i o n s   d o   n o t   a p p l y .   H e r e   i s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   T h e   C o n t a i n e r   h a s   a   m e m o r y   l i m i t   a n d   a   m e m o r y   r e q u e s t ,   b o t h   e q u a l   t o   2 0 0   M i B .   T h e   C o n t a i n e r   h a s   a   C P U   l i m i t   a n d   a   C P U   r e q u e s t ,   b o t h   e q u a l   t o   7 0 0   m i l l i C P U :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   q o s - d e m o   n a m e s p a c e :   q o s - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   q o s - d e m o - c t r   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 2 0 0 M i \"   c p u :   \" 7 0 0 m \"   r e q u e s t s :   m e m o r y :   \" 2 0 0 M i \"   c p u :   \" 7 0 0 m \"   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / q o s / q o s - p o d . y a m l   - - n a m e s p ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19439"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   P o d :   k u b e c t l   d e l e t e   p o d   q o s - d e m o   - - n a m e s p a c e = q o s - e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19440"
  },
  {
    "question": "What is Create a Pod that gets assigned a QoS class of Burstable?",
    "answer": "A   P o d   i s   g i v e n   a   Q o S   c l a s s   o f   B u r s t a b l e   i f :   T h e   P o d   d o e s   n o t   m e e t   t h e   c r i t e r i a   f o r   Q o S   c l a s s   G u a r a n t e e d . A t   l e a s t   o n e   C o n t a i n e r   i n   t h e   P o d   h a s   a   m e m o r y   o r   C P U   r e q u e s t   o r   l i m i t .   H e r e   i s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   T h e   C o n t a i n e r   h a s   a   m e m o r y   l i m i t   o f   2 0 0   M i B   a n d   a   m e m o r y   r e q u e s t   o f   1 0 0   M i B .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   q o s - d e m o - 2   n a m e s p a c e :   q o s - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   q o s - d e m o - 2 - c t r   i m a g e :   n g i n x   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 2 0 0 M i \"   r e q u e s t s :   m e m o r y :   \" 1 0 0 M i \"   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / q o s / q o s - p o d - 2 . y a m l   - - n a m e s p a c e = q o s - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   P o d :   k u b e c t l   g e t   p o d   q o s - d e m o - 2   - - n a m e s p a c e = q o s - e x a m p l e   - - o u t p u t = y a m l   T h e   o u t p u t   s h o w s   t h a t   K u b e r n e t e s   g a v e   t h e   P o d   a   Q o S   c l a s s   o f   B u r s t a b l e :   s p e c :   c o n t a i n e r s :   -   i m a g e :   n g i n x   i m a g e P u l l P o l i c y :   A l w a y s   n a m e :   q o s - d e m o - 2 - c t r   r e s o u r c e s :   l i m i t s :   m e m o r y :   2 0 0 M i   r e q u e s t s :   m e m o r y :   1 0 0 M i   . . .   s t a t u s :   q o s C l a s s :   B u r s t a b l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19441"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   P o d :   k u b e c t l   d e l e t e   p o d   q o s - d e m o - 2   - - n a m e s p a c e = q o s - e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19442"
  },
  {
    "question": "What is Create a Pod that gets assigned a QoS class of BestEffort?",
    "answer": "F o r   a   P o d   t o   b e   g i v e n   a   Q o S   c l a s s   o f   B e s t E f f o r t ,   t h e   C o n t a i n e r s   i n   t h e   P o d   m u s t   n o t   h a v e   a n y   m e m o r y   o r   C P U   l i m i t s   o r   r e q u e s t s .   H e r e   i s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   T h e   C o n t a i n e r   h a s   n o   m e m o r y   o r   C P U   l i m i t s   o r   r e q u e s t s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   q o s - d e m o - 3   n a m e s p a c e :   q o s - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   q o s - d e m o - 3 - c t r   i m a g e :   n g i n x   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / q o s / q o s - p o d - 3 . y a m l   - - n a m e s p a c e = q o s - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   P o d :   k u b e c t l   g e t   p o d   q o s - d e m o - 3   - - n a m e s p a c e = q o s - e x a m p l e   - - o u t p u t = y a m l   T h e   o u t p u t   s h o w s   t h a t   K u b e r n e t e s   g a v e   t h e   P o d   a   Q o S   c l a s s   o f   B e s t E f f o r t :   s p e c :   c o n t a i n e r s :   . . .   r e s o u r c e s :   { }   . . .   s t a t u s :   q o s C l a s s :   B e s t E f f o r t",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19443"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   P o d :   k u b e c t l   d e l e t e   p o d   q o s - d e m o - 3   - - n a m e s p a c e = q o s - e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19444"
  },
  {
    "question": "What is Create a Pod that has two Containers?",
    "answer": "H e r e   i s   a   m a n i f e s t   f o r   a   P o d   t h a t   h a s   t w o   C o n t a i n e r s .   O n e   c o n t a i n e r   s p e c i f i e s   a   m e m o r y   r e q u e s t   o f   2 0 0   M i B .   T h e   o t h e r   C o n t a i n e r   d o e s   n o t   s p e c i f y   a n y   r e q u e s t s   o r   l i m i t s .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   q o s - d e m o - 4   n a m e s p a c e :   q o s - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   q o s - d e m o - 4 - c t r - 1   i m a g e :   n g i n x   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   \" 2 0 0 M i \"   -   n a m e :   q o s - d e m o - 4 - c t r - 2   i m a g e :   r e d i s   N o t i c e   t h a t   t h i s   P o d   m e e t s   t h e   c r i t e r i a   f o r   Q o S   c l a s s   B u r s t a b l e .   T h a t   i s ,   i t   d o e s   n o t   m e e t   t h e   c r i t e r i a   f o r   Q o S   c l a s s   G u a r a n t e e d ,   a n d   o n e   o f   i t s   C o n t a i n e r s   h a s   a   m e m o r y   r e q u e s t .   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / q o s / q o s - p o d - 4 . y a m l   - - n a m e s p a c e = q o s - e x a m p l e   V i e w   d e t a i l e d   i n f o r m a t i o n   a b o u t   t h e   P o d :   k u b e c t l   g e t   p o d   q o s - d e m o - 4   - - n a m e s p a c e = q o s - e x a m p l e   - - o u t p u t = y a m l   T h e   o u t p u t   s h o w s   t h a t   K u b e r n e t e s   g a v e   t h e   P o d   a   Q o S   c l a s s   o f   B u r s t a b l e :   s p e c :   c o n t a i n e r s :   . . .   n a m e :   q o s - d e m o - 4 - c t r - 1   r e s o u r c e s :   r e q u e s t s :   m e m o r y :   2 0 0 M i   . . .   n a m e :   q o s - d e m o - 4 - c t r - 2   r e s o u r c e s :   { }   . . .   s t a t u s :   q o s C l a s s :   B u r s t a b l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19445"
  },
  {
    "question": "What is Retrieve the QoS class for a Pod?",
    "answer": "R a t h e r   t h a n   s e e   a l l   t h e   f i e l d s ,   y o u   c a n   v i e w   j u s t   t h e   f i e l d   y o u   n e e d :   k u b e c t l   - - n a m e s p a c e = q o s - e x a m p l e   g e t   p o d   q o s - d e m o - 4   - o   j s o n p a t h = ' {   . s t a t u s . q o s C l a s s } { \" \\ n \" } '   B u r s t a b l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19446"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   y o u r   n a m e s p a c e :   k u b e c t l   d e l e t e   n a m e s p a c e   q o s - e x a m p l e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19447"
  },
  {
    "question": "What is For app developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s   A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19448"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s C o n t r o l   T o p o l o g y   M a n a g e m e n t   p o l i c i e s   o n   a   n o d e   C o n f i g u r e   D e f a u l t   M e m o r y   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   D e f a u l t   C P U   R e q u e s t s   a n d   L i m i t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   M e m o r y   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M i n i m u m   a n d   M a x i m u m   C P U   C o n s t r a i n t s   f o r   a   N a m e s p a c e   C o n f i g u r e   M e m o r y   a n d   C P U   Q u o t a s   f o r   a   N a m e s p a c e   C o n f i g u r e   a   P o d   Q u o t a   f o r   a   N a m e s p a c e   C o n f i g u r e   Q u o t a s   f o r   A P I   O b j e c t s   C o n t r o l   T o p o l o g y   M a n a g e m e n t   p o l i c i e s   o n   a   n o d e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19449"
  },
  {
    "question": "What is 10 - Assign Extended Resources to a Container?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   a s s i g n   e x t e n d e d   r e s o u r c e s   t o   a   C o n t a i n e r .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19450"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   B e f o r e   y o u   d o   t h i s   e x e r c i s e ,   d o   t h e   e x e r c i s e   i n   A d v e r t i s e   E x t e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19451"
  },
  {
    "question": "What is Assign an extended resource to a Pod?",
    "answer": "T o   r e q u e s t   a n   e x t e n d e d   r e s o u r c e ,   i n c l u d e   t h e   r e s o u r c e s : r e q u e s t s   f i e l d   i n   y o u r   C o n t a i n e r   m a n i f e s t .   E x t e n d e d   r e s o u r c e s   a r e   f u l l y   q u a l i f i e d   w i t h   a n y   d o m a i n   o u t s i d e   o f   * . k u b e r n e t e s . i o / .   V a l i d   e x t e n d e d   r e s o u r c e   n a m e s   h a v e   t h e   f o r m   e x a m p l e . c o m / f o o   w h e r e   e x a m p l e . c o m   i s   r e p l a c e d   w i t h   y o u r   o r g a n i z a t i o n ' s   d o m a i n   a n d   f o o   i s   a   d e s c r i p t i v e   r e s o u r c e   n a m e .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e x t e n d e d - r e s o u r c e - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   e x t e n d e d - r e s o u r c e - d e m o - c t r   i m a g e :   n g i n x   r e s o u r c e s :   r e q u e s t s :   e x a m p l e . c o m / d o n g l e :   3   l i m i t s :   e x a m p l e . c o m / d o n g l e :   3   I n   t h e   c o n f i g u r a t i o n   f i l e ,   y o u   c a n   s e e   t h a t   t h e   C o n t a i n e r   r e q u e s t s   3   d o n g l e s .   C r e a t e   a   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / r e s o u r c e / e x t e n d e d - r e s o u r c e - p o d . y a m l   V e r i f y   t h a t   t h e   P o d   i s   r u n n i n g :   k u b e c t l   g e t   p o d   e x t e n d e d - r e s o u r c e - d e m o   D e s c r i b e   t h e   P o d :   k u b e c t l   d e s c r i b e   p o d   e x t e n d e d - r e s o u r c e - d e m o   T h e   o u t p u t   s h o w s   d o n g l e   r e q u e s t s :   L i m i t s :   e x a m p l e . c o m / d o n g l e :   3   R e q u e s t s :   e x a m p l e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19452"
  },
  {
    "question": "What is Attempt to create a second Pod?",
    "answer": "H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   T h e   C o n t a i n e r   r e q u e s t s   t w o   d o n g l e s .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e x t e n d e d - r e s o u r c e - d e m o - 2   s p e c :   c o n t a i n e r s :   -   n a m e :   e x t e n d e d - r e s o u r c e - d e m o - 2 - c t r   i m a g e :   n g i n x   r e s o u r c e s :   r e q u e s t s :   e x a m p l e . c o m / d o n g l e :   2   l i m i t s :   e x a m p l e . c o m / d o n g l e :   2   K u b e r n e t e s   w i l l   n o t   b e   a b l e   t o   s a t i s f y   t h e   r e q u e s t   f o r   t w o   d o n g l e s ,   b e c a u s e   t h e   f i r s t   P o d   u s e d   t h r e e   o f   t h e   f o u r   a v a i l a b l e   d o n g l e s .   A t t e m p t   t o   c r e a t e   a   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / r e s o u r c e / e x t e n d e d - r e s o u r c e - p o d - 2 . y a m l   D e s c r i b e   t h e   P o d   k u b e c t l   d e s c r i b e   p o d   e x t e n d e d - r e s o u r c e - d e m o - 2   T h e   o u t p u t   s h o w s   t h a t   t h e   P o d   c a n n o t   b e   s c h e d u l e d ,   b e c a u s e   t h e r e   i s   n o   N o d e   t h a t   h a s   2   d o n g l e s   a v a i l a b l e :   C o n d i t i o n s :   T y p e   S t a t u s   P o d S c h e d u l e d   F a l s e   . . .   E v e n t s :   . . .   . . .   W a r n i n g   F a i l e d S c h e d u l i n g   p o d   ( e x t e n d e d - r e s o u r c e - d e m o - 2 )   f a i l e d   t o   f i t   i n   a n y   n o d e   f i t   f a i l u r e   s u m m a r y   o n   n o d e s   :   I n s u f f i c i e n t   e x a m p l e . c o m / d o n g l e   ( 1 )   V i e w   t h e   P o d   s t a t u s :   k u b e c t l   g e t   p o d   e x t e n d e d - r e s o u r c e - d e m o - 2   T h e   o u t p ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19453"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   t h e   P o d s   t h a t   y o u   c r e a t e d   f o r   t h i s   e x e r c i s e :   k u b e c t l   d e l e t e   p o d   e x t e n d e d - r e s o u r c e - d e m o   k u b e c t l   d e l e t e   p o d   e x t e n d e d - r e s o u r c e - d e m o - 2",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19454"
  },
  {
    "question": "What is For application developers?",
    "answer": "A s s i g n   M e m o r y   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s A s s i g n   C P U   R e s o u r c e s   t o   C o n t a i n e r s   a n d   P o d s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19455"
  },
  {
    "question": "What is For cluster administrators?",
    "answer": "A d v e r t i s e   E x t e n d e d   R e s o u r c e s   f o r   a   N o d e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19456"
  },
  {
    "question": "What is 11 - Configure a Pod to Use a Volume for Storage?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   a   P o d   t o   u s e   a   V o l u m e   f o r   s t o r a g e .   A   C o n t a i n e r ' s   f i l e   s y s t e m   l i v e s   o n l y   a s   l o n g   a s   t h e   C o n t a i n e r   d o e s .   S o   w h e n   a   C o n t a i n e r   t e r m i n a t e s   a n d   r e s t a r t s ,   f i l e s y s t e m   c h a n g e s   a r e   l o s t .   F o r   m o r e   c o n s i s t e n t   s t o r a g e   t h a t   i s   i n d e p e n d e n t   o f   t h e   C o n t a i n e r ,   y o u   c a n   u s e   a   V o l u m e .   T h i s   i s   e s p e c i a l l y   i m p o r t a n t   f o r   s t a t e f u l   a p p l i c a t i o n s ,   s u c h   a s   k e y - v a l u e   s t o r e s   ( s u c h   a s   R e d i s )   a n d   d a t a b a s e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19457"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19458"
  },
  {
    "question": "What is Configure a volume for a Pod?",
    "answer": "I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   r u n s   o n e   C o n t a i n e r .   T h i s   P o d   h a s   a   V o l u m e   o f   t y p e   e m p t y D i r   t h a t   l a s t s   f o r   t h e   l i f e   o f   t h e   P o d ,   e v e n   i f   t h e   C o n t a i n e r   t e r m i n a t e s   a n d   r e s t a r t s .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   r e d i s   s p e c :   c o n t a i n e r s :   -   n a m e :   r e d i s   i m a g e :   r e d i s   v o l u m e M o u n t s :   -   n a m e :   r e d i s - s t o r a g e   m o u n t P a t h :   / d a t a / r e d i s   v o l u m e s :   -   n a m e :   r e d i s - s t o r a g e   e m p t y D i r :   { }   C r e a t e   t h e   P o d : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s t o r a g e / r e d i s . y a m l   V e r i f y   t h a t   t h e   P o d ' s   C o n t a i n e r   i s   r u n n i n g ,   a n d   t h e n   w a t c h   f o r   c h a n g e s   t o   t h e   P o d : k u b e c t l   g e t   p o d   r e d i s   - - w a t c h   T h e   o u t p u t   l o o k s   l i k e   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   r e d i s   1 / 1   R u n n i n g   0   1 3 s   I n   a n o t h e r   t e r m i n a l ,   g e t   a   s h e l l   t o   t h e   r u n n i n g   C o n t a i n e r : k u b e c t l   e x e c   - i t   r e d i s   - -   / b i n / b a s h   I n   y o u r   s h e l l ,   g o   t o   / d a t a / r e d i s ,   a n d   t h e n   c r e a t e   a   f i l e : r o o t @ r e d i s : / d a t a #   c d   / d a t a / r e d i s /   r o o t @ r e d i s : / d a t a / r e d i s #   e c h o   H e l l o   >   t e s t - f i l e   I n   y o u r   s h e l l ,   l i s t   t h e   r u n n i n g   p r o c e s s e s : r o o t @ r e d i s : / d a t a / r e d i s #   a p t - g e t ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19459"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   V o l u m e . S e e   P o d . I n   a d d i t i o n   t o   t h e   l o c a l   d i s k   s t o r a g e   p r o v i d e d   b y   e m p t y D i r ,   K u b e r n e t e s   s u p p o r t s   m a n y   d i f f e r e n t   n e t w o r k - a t t a c h e d   s t o r a g e   s o l u t i o n s ,   i n c l u d i n g   P D   o n   G C E   a n d   E B S   o n   E C 2 ,   w h i c h   a r e   p r e f e r r e d   f o r   c r i t i c a l   d a t a   a n d   w i l l   h a n d l e   d e t a i l s   s u c h   a s   m o u n t i n g   a n d   u n m o u n t i n g   t h e   d e v i c e s   o n   t h e   n o d e s .   S e e   V o l u m e s   f o r   m o r e   d e t a i l s .   S e e   V o l u m e .   S e e   P o d .   I n   a d d i t i o n   t o   t h e   l o c a l   d i s k   s t o r a g e   p r o v i d e d   b y   e m p t y D i r ,   K u b e r n e t e s   s u p p o r t s   m a n y   d i f f e r e n t   n e t w o r k - a t t a c h e d   s t o r a g e   s o l u t i o n s ,   i n c l u d i n g   P D   o n   G C E   a n d   E B S   o n   E C 2 ,   w h i c h   a r e   p r e f e r r e d   f o r   c r i t i c a l   d a t a   a n d   w i l l   h a n d l e   d e t a i l s   s u c h   a s   m o u n t i n g   a n d   u n m o u n t i n g   t h e   d e v i c e s   o n   t h e   n o d e s .   S e e   V o l u m e s   f o r   m o r e   d e t a i l s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19460"
  },
  {
    "question": "What is 12 - Configure a Pod to Use a PersistentVolume for Storage?",
    "answer": "T h i s   p a g e   s h o w s   y o u   h o w   t o   c o n f i g u r e   a   P o d   t o   u s e   a   P e r s i s t e n t V o l u m e C l a i m   f o r   s t o r a g e .   H e r e   i s   a   s u m m a r y   o f   t h e   p r o c e s s :   Y o u ,   a s   c l u s t e r   a d m i n i s t r a t o r ,   c r e a t e   a   P e r s i s t e n t V o l u m e   b a c k e d   b y   p h y s i c a l   s t o r a g e .   Y o u   d o   n o t   a s s o c i a t e   t h e   v o l u m e   w i t h   a n y   P o d . Y o u ,   n o w   t a k i n g   t h e   r o l e   o f   a   d e v e l o p e r   /   c l u s t e r   u s e r ,   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   t h a t   i s   a u t o m a t i c a l l y   b o u n d   t o   a   s u i t a b l e   P e r s i s t e n t V o l u m e . Y o u   c r e a t e   a   P o d   t h a t   u s e s   t h e   a b o v e   P e r s i s t e n t V o l u m e C l a i m   f o r   s t o r a g e .   Y o u ,   a s   c l u s t e r   a d m i n i s t r a t o r ,   c r e a t e   a   P e r s i s t e n t V o l u m e   b a c k e d   b y   p h y s i c a l   s t o r a g e .   Y o u   d o   n o t   a s s o c i a t e   t h e   v o l u m e   w i t h   a n y   P o d .   Y o u ,   n o w   t a k i n g   t h e   r o l e   o f   a   d e v e l o p e r   /   c l u s t e r   u s e r ,   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   t h a t   i s   a u t o m a t i c a l l y   b o u n d   t o   a   s u i t a b l e   P e r s i s t e n t V o l u m e .   Y o u   c r e a t e   a   P o d   t h a t   u s e s   t h e   a b o v e   P e r s i s t e n t V o l u m e C l a i m   f o r   s t o r a g e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19461"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r   t h a t   h a s   o n l y   o n e   N o d e ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   s i n g l e - n o d e   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   M i n i k u b e . F a m i l i a r i z e   y o u r s e l f   w i t h   t h e   m a t e r i a l   i n   P e r s i s t e n t   V o l u m e s .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r   t h a t   h a s   o n l y   o n e   N o d e ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   s i n g l e - n o d e   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   M i n i k u b e .   F a m i l i a r i z e   y o u r s e l f   w i t h   t h e   m a t e r i a l   i n   P e r s i s t e n t   V o l u m e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19462"
  },
  {
    "question": "What is Create an index.html file on your Node?",
    "answer": "O p e n   a   s h e l l   t o   t h e   s i n g l e   N o d e   i n   y o u r   c l u s t e r .   H o w   y o u   o p e n   a   s h e l l   d e p e n d s   o n   h o w   y o u   s e t   u p   y o u r   c l u s t e r .   F o r   e x a m p l e ,   i f   y o u   a r e   u s i n g   M i n i k u b e ,   y o u   c a n   o p e n   a   s h e l l   t o   y o u r   N o d e   b y   e n t e r i n g   m i n i k u b e   s s h .   I n   y o u r   s h e l l   o n   t h a t   N o d e ,   c r e a t e   a   / m n t / d a t a   d i r e c t o r y :   #   T h i s   a s s u m e s   t h a t   y o u r   N o d e   u s e s   \" s u d o \"   t o   r u n   c o m m a n d s   #   a s   t h e   s u p e r u s e r   s u d o   m k d i r   / m n t / d a t a   I n   t h e   / m n t / d a t a   d i r e c t o r y ,   c r e a t e   a n   i n d e x . h t m l   f i l e :   #   T h i s   a g a i n   a s s u m e s   t h a t   y o u r   N o d e   u s e s   \" s u d o \"   t o   r u n   c o m m a n d s   #   a s   t h e   s u p e r u s e r   s u d o   s h   - c   \" e c h o   ' H e l l o   f r o m   K u b e r n e t e s   s t o r a g e '   >   / m n t / d a t a / i n d e x . h t m l \"",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19463"
  },
  {
    "question": "What is Note:?",
    "answer": "T e s t   t h a t   t h e   i n d e x . h t m l   f i l e   e x i s t s :   c a t   / m n t / d a t a / i n d e x . h t m l   T h e   o u t p u t   s h o u l d   b e :   H e l l o   f r o m   K u b e r n e t e s   s t o r a g e   Y o u   c a n   n o w   c l o s e   t h e   s h e l l   t o   y o u r   N o d e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19464"
  },
  {
    "question": "What is Create a PersistentVolume?",
    "answer": "I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   h o s t P a t h   P e r s i s t e n t V o l u m e .   K u b e r n e t e s   s u p p o r t s   h o s t P a t h   f o r   d e v e l o p m e n t   a n d   t e s t i n g   o n   a   s i n g l e - n o d e   c l u s t e r .   A   h o s t P a t h   P e r s i s t e n t V o l u m e   u s e s   a   f i l e   o r   d i r e c t o r y   o n   t h e   N o d e   t o   e m u l a t e   n e t w o r k - a t t a c h e d   s t o r a g e .   I n   a   p r o d u c t i o n   c l u s t e r ,   y o u   w o u l d   n o t   u s e   h o s t P a t h .   I n s t e a d   a   c l u s t e r   a d m i n i s t r a t o r   w o u l d   p r o v i s i o n   a   n e t w o r k   r e s o u r c e   l i k e   a   G o o g l e   C o m p u t e   E n g i n e   p e r s i s t e n t   d i s k ,   a n   N F S   s h a r e ,   o r   a n   A m a z o n   E l a s t i c   B l o c k   S t o r e   v o l u m e .   C l u s t e r   a d m i n i s t r a t o r s   c a n   a l s o   u s e   S t o r a g e C l a s s e s   t o   s e t   u p   d y n a m i c   p r o v i s i o n i n g .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   h o s t P a t h   P e r s i s t e n t V o l u m e :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e   m e t a d a t a :   n a m e :   t a s k - p v - v o l u m e   l a b e l s :   t y p e :   l o c a l   s p e c :   s t o r a g e C l a s s N a m e :   m a n u a l   c a p a c i t y :   s t o r a g e :   1 0 G i   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   h o s t P a t h :   p a t h :   \" / m n t / d a t a \"   T h e   c o n f i g u r a t i o n   f i l e   s p e c i f i e s   t h a t   t h e   v o l u m e   i s   a t   / m n t / d a t a   o n   t h e   c l u s t e r ' s   N o d e .   T h e   c o n f i g u r a t i o n   a l s o   s p e c i f i e s   a   s i z e   o f   1 0   g i b i b y t e s   a n d   a n   a c c e s s   m o d e   o f   R e a d W r i t e O n c e ,   w h i c h ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19465"
  },
  {
    "question": "What is Note:?",
    "answer": "C r e a t e   t h e   P e r s i s t e n t V o l u m e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s t o r a g e / p v - v o l u m e . y a m l   V i e w   i n f o r m a t i o n   a b o u t   t h e   P e r s i s t e n t V o l u m e :   k u b e c t l   g e t   p v   t a s k - p v - v o l u m e   T h e   o u t p u t   s h o w s   t h a t   t h e   P e r s i s t e n t V o l u m e   h a s   a   S T A T U S   o f   A v a i l a b l e .   T h i s   m e a n s   i t   h a s   n o t   y e t   b e e n   b o u n d   t o   a   P e r s i s t e n t V o l u m e C l a i m .   N A M E   C A P A C I T Y   A C C E S S M O D E S   R E C L A I M P O L I C Y   S T A T U S   C L A I M   S T O R A G E C L A S S   R E A S O N   A G E   t a s k - p v - v o l u m e   1 0 G i   R W O   R e t a i n   A v a i l a b l e   m a n u a l   4 s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19466"
  },
  {
    "question": "What is Create a PersistentVolumeClaim?",
    "answer": "T h e   n e x t   s t e p   i s   t o   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m .   P o d s   u s e   P e r s i s t e n t V o l u m e C l a i m s   t o   r e q u e s t   p h y s i c a l   s t o r a g e .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   t h a t   r e q u e s t s   a   v o l u m e   o f   a t   l e a s t   t h r e e   g i b i b y t e s   t h a t   c a n   p r o v i d e   r e a d - w r i t e   a c c e s s   f o r   a t   m o s t   o n e   N o d e   a t   a   t i m e .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P e r s i s t e n t V o l u m e C l a i m :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a :   n a m e :   t a s k - p v - c l a i m   s p e c :   s t o r a g e C l a s s N a m e :   m a n u a l   a c c e s s M o d e s :   -   R e a d W r i t e O n c e   r e s o u r c e s :   r e q u e s t s :   s t o r a g e :   3 G i   C r e a t e   t h e   P e r s i s t e n t V o l u m e C l a i m :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s t o r a g e / p v - c l a i m . y a m l   A f t e r   y o u   c r e a t e   t h e   P e r s i s t e n t V o l u m e C l a i m ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   l o o k s   f o r   a   P e r s i s t e n t V o l u m e   t h a t   s a t i s f i e s   t h e   c l a i m ' s   r e q u i r e m e n t s .   I f   t h e   c o n t r o l   p l a n e   f i n d s   a   s u i t a b l e   P e r s i s t e n t V o l u m e   w i t h   t h e   s a m e   S t o r a g e C l a s s ,   i t   b i n d s   t h e   c l a i m   t o   t h e   v o l u m e .   L o o k   a g a i n   a t   t h e   P e r s i s t e n t V o l u m e :   k u b e c t l   g e t   p v   t a s k - p v - v o l u m e   N o w   t h e   o u t p u t   s h o w s   a   S T A T U S   o f   B o u n d .   N A M E   C A P A C I T Y   A C C E S ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19467"
  },
  {
    "question": "What is Create a Pod?",
    "answer": "T h e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19468"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   t h e   P o d :   k u b e c t l   d e l e t e   p o d   t a s k - p v - p o d",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19469"
  },
  {
    "question": "What is Mounting the same PersistentVolume in two places?",
    "answer": "Y o u   h a v e   u n d e r s t o o d   h o w   t o   c r e a t e   a   P e r s i s t e n t V o l u m e   &   P e r s i s t e n t V o l u m e C l a i m ,   a n d   h o w   t o   m o u n t   t h e   v o l u m e   t o   a   s i n g l e   l o c a t i o n   i n   a   c o n t a i n e r .   L e t ' s   e x p l o r e   h o w   y o u   c a n   m o u n t   t h e   s a m e   P e r s i s t e n t V o l u m e   a t   t w o   d i f f e r e n t   l o c a t i o n s   i n   a   c o n t a i n e r .   B e l o w   i s   a n   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t   i m a g e :   n g i n x   v o l u m e M o u n t s :   #   a   m o u n t   f o r   s i t e - d a t a   -   n a m e :   c o n f i g   m o u n t P a t h :   / u s r / s h a r e / n g i n x / h t m l   s u b P a t h :   h t m l   #   a n o t h e r   m o u n t   f o r   n g i n x   c o n f i g   -   n a m e :   c o n f i g   m o u n t P a t h :   / e t c / n g i n x / n g i n x . c o n f   s u b P a t h :   n g i n x . c o n f   v o l u m e s :   -   n a m e :   c o n f i g   p e r s i s t e n t V o l u m e C l a i m :   c l a i m N a m e :   t a s k - p v - s t o r a g e   H e r e :   s u b P a t h :   T h i s   f i e l d   a l l o w s   s p e c i f i c   f i l e s   o r   d i r e c t o r i e s   f r o m   t h e   m o u n t e d   P e r s i s t e n t V o l u m e   t o   b e   e x p o s e d   a t   d i f f e r e n t   l o c a t i o n s   w i t h i n   t h e   c o n t a i n e r .   I n   t h i s   e x a m p l e : s u b P a t h :   h t m l   m o u n t s   t h e   h t m l   d i r e c t o r y . s u b P a t h :   n g i n x . c o n f   m o u n t s   a   s p e c i f i c   f i l e ,   n g i n x . c o n f .   s u b P a t h :   h t m l   m o u n t s   t h e   h t m l   d i r e c t o r y . s u b P a t h :   n g i n x . c o n f   m o u n t s   a   s p e c i f i c   f i l e ,   n g i n x . c o n f .   S i n c e   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19470"
  },
  {
    "question": "What is Move the index.html file on your Node to a new folder?",
    "answer": "T h e   i n d e x . h t m l   f i l e   m e n t i o n e d   h e r e   r e f e r s   t o   t h e   o n e   c r e a t e d   i n   t h e   \" C r e a t e   a n   i n d e x . h t m l   f i l e   o n   y o u r   N o d e \"   s e c t i o n .   O p e n   a   s h e l l   t o   t h e   s i n g l e   N o d e   i n   y o u r   c l u s t e r .   H o w   y o u   o p e n   a   s h e l l   d e p e n d s   o n   h o w   y o u   s e t   u p   y o u r   c l u s t e r .   F o r   e x a m p l e ,   i f   y o u   a r e   u s i n g   M i n i k u b e ,   y o u   c a n   o p e n   a   s h e l l   t o   y o u r   N o d e   b y   e n t e r i n g   m i n i k u b e   s s h .   C r e a t e   a   / m n t / d a t a / h t m l   d i r e c t o r y :   #   T h i s   a s s u m e s   t h a t   y o u r   N o d e   u s e s   \" s u d o \"   t o   r u n   c o m m a n d s   #   a s   t h e   s u p e r u s e r   s u d o   m k d i r   / m n t / d a t a / h t m l   M o v e   i n d e x . h t m l   i n t o   t h e   d i r e c t o r y :   #   M o v e   i n d e x . h t m l   f r o m   i t s   c u r r e n t   l o c a t i o n   t o   t h e   h t m l   s u b - d i r e c t o r y   s u d o   m v   / m n t / d a t a / i n d e x . h t m l   h t m l",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19471"
  },
  {
    "question": "What is Create a new nginx.conf file?",
    "answer": "u s e r   n g i n x ;   w o r k e r _ p r o c e s s e s   a u t o ;   e r r o r _ l o g   / v a r / l o g / n g i n x / e r r o r . l o g   n o t i c e ;   p i d   / v a r / r u n / n g i n x . p i d ;   e v e n t s   {   w o r k e r _ c o n n e c t i o n s   1 0 2 4 ;   }   h t t p   {   i n c l u d e   / e t c / n g i n x / m i m e . t y p e s ;   d e f a u l t _ t y p e   a p p l i c a t i o n / o c t e t - s t r e a m ;   l o g _ f o r m a t   m a i n   & # 3 9 ; $ r e m o t e _ a d d r   -   $ r e m o t e _ u s e r   [ $ t i m e _ l o c a l ]   & # 3 4 ; $ r e q u e s t & # 3 4 ;   & # 3 9 ;   & # 3 9 ; $ s t a t u s   $ b o d y _ b y t e s _ s e n t   & # 3 4 ; $ h t t p _ r e f e r e r & # 3 4 ;   & # 3 9 ;   & # 3 9 ; & # 3 4 ; $ h t t p _ u s e r _ a g e n t & # 3 4 ;   & # 3 4 ; $ h t t p _ x _ f o r w a r d e d _ f o r & # 3 4 ; & # 3 9 ; ;   a c c e s s _ l o g   / v a r / l o g / n g i n x / a c c e s s . l o g   m a i n ;   s e n d f i l e   o n ;   # t c p _ n o p u s h   o n ;   k e e p a l i v e _ t i m e o u t   6 0 ;   # g z i p   o n ;   i n c l u d e   / e t c / n g i n x / c o n f . d / * . c o n f ;   }   e r r o r _ l o g   / v a r / l o g / n g i n x / e r r o r . l o g   n o t i c e ;   p i d   / v a r / r u n / n g i n x . p i d ;   e v e n t s   {   w o r k e r _ c o n n e c t i o n s   1 0 2 4 ;   }   h t t p   {   i n c l u d e   / e t c / n g i n x / m i m e . t y p e s ;   d e f a u l t _ t y p e   a p p l i c a t i o n / o c t e t - s t r e a m ;   l o g _ f o r m a t   m a i n   & # 3 9 ; $ r e m o t e _ a d d r   -   $ r e m o t e _ u s e r   [ $ t i m e _ l o c a l ]   & # 3 4 ; $ r e q u e s t & # 3 4 ;   & # 3 9 ;   & # 3 9 ; $ s t a t u s   $ b o d y _ b y t e s _ s e n t   & # 3 4 ; $ h t t p _ r e f e r e r & # 3 4 ;   & # 3 9 ;   & # 3 9 ; & # 3 4 ; $ h t t p _ u s e r _ a g e n t & # 3 4 ;   & # 3 4 ; $ h t t p _ x _ f o r w a r d e d _ f o r & # 3 4 ; & # 3 9 ; ;   a c c e s s _ l o g   / v a r / l o g / n g i n x / a c c ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19472"
  },
  {
    "question": "What is Create a Pod?",
    "answer": "H e r e   w e   w i l l   c r e a t e   a   p o d   t h a t   u s e s   t h e   e x i s t i n g   p e r s i s t e n t V o l u m e   a n d   p e r s i s t e n t V o l u m e C l a i m .   H o w e v e r ,   t h e   p o d   m o u n t s   o n l y   a   s p e c i f i c   f i l e ,   n g i n x . c o n f ,   a n d   d i r e c t o r y ,   h t m l ,   t o   t h e   c o n t a i n e r .   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s t o r a g e / p v - d u p l i c a t e . y a m l   V e r i f y   t h a t   t h e   c o n t a i n e r   i n   t h e   P o d   i s   r u n n i n g :   k u b e c t l   g e t   p o d   t e s t   G e t   a   s h e l l   t o   t h e   c o n t a i n e r   r u n n i n g   i n   y o u r   P o d :   k u b e c t l   e x e c   - i t   t e s t   - -   / b i n / b a s h   I n   y o u r   s h e l l ,   v e r i f y   t h a t   n g i n x   i s   s e r v i n g   t h e   i n d e x . h t m l   f i l e   f r o m   t h e   h o s t P a t h   v o l u m e :   #   B e   s u r e   t o   r u n   t h e s e   3   c o m m a n d s   i n s i d e   t h e   r o o t   s h e l l   t h a t   c o m e s   f r o m   #   r u n n i n g   \" k u b e c t l   e x e c \"   i n   t h e   p r e v i o u s   s t e p   a p t   u p d a t e   a p t   i n s t a l l   c u r l   c u r l   h t t p : / / l o c a l h o s t /   T h e   o u t p u t   s h o w s   t h e   t e x t   t h a t   y o u   w r o t e   t o   t h e   i n d e x . h t m l   f i l e   o n   t h e   h o s t P a t h   v o l u m e :   H e l l o   f r o m   K u b e r n e t e s   s t o r a g e   I n   y o u r   s h e l l ,   a l s o   v e r i f y   t h a t   n g i n x   i s   s e r v i n g   t h e   n g i n x . c o n f   f i l e   f r o m   t h e   h o s t P a t h   v o l u m e :   #   B e   s u r e   t o   r u n   t h e s e   c o m m a n d s   i n s i d e   t h e   r o o t   s h e l l   t h a t   c o m e s   f r o m   #   r u n n i n g   \" k u b e c t l   e x e c \"   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19473"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   t h e   P o d :   k u b e c t l   d e l e t e   p o d   t e s t   k u b e c t l   d e l e t e   p v c   t a s k - p v - c l a i m   k u b e c t l   d e l e t e   p v   t a s k - p v - v o l u m e   I f   y o u   d o n ' t   a l r e a d y   h a v e   a   s h e l l   o p e n   t o   t h e   N o d e   i n   y o u r   c l u s t e r ,   o p e n   a   n e w   s h e l l   t h e   s a m e   w a y   t h a t   y o u   d i d   e a r l i e r .   I n   t h e   s h e l l   o n   y o u r   N o d e ,   r e m o v e   t h e   f i l e   a n d   d i r e c t o r y   t h a t   y o u   c r e a t e d :   #   T h i s   a s s u m e s   t h a t   y o u r   N o d e   u s e s   \" s u d o \"   t o   r u n   c o m m a n d s   #   a s   t h e   s u p e r u s e r   s u d o   r m   / m n t / d a t a / h t m l / i n d e x . h t m l   s u d o   r m   / m n t / d a t a / n g i n x . c o n f   s u d o   r m d i r   / m n t / d a t a   Y o u   c a n   n o w   c l o s e   t h e   s h e l l   t o   y o u r   N o d e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19474"
  },
  {
    "question": "What is Access control?",
    "answer": "S t o r a g e   c o n f i g u r e d   w i t h   a   g r o u p   I D   ( G I D )   a l l o w s   w r i t i n g   o n l y   b y   P o d s   u s i n g   t h e   s a m e   G I D .   M i s m a t c h e d   o r   m i s s i n g   G I D s   c a u s e   p e r m i s s i o n   d e n i e d   e r r o r s .   T o   r e d u c e   t h e   n e e d   f o r   c o o r d i n a t i o n   w i t h   u s e r s ,   a n   a d m i n i s t r a t o r   c a n   a n n o t a t e   a   P e r s i s t e n t V o l u m e   w i t h   a   G I D .   T h e n   t h e   G I D   i s   a u t o m a t i c a l l y   a d d e d   t o   a n y   P o d   t h a t   u s e s   t h e   P e r s i s t e n t V o l u m e .   U s e   t h e   p v . b e t a . k u b e r n e t e s . i o / g i d   a n n o t a t i o n   a s   f o l l o w s :   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e   m e t a d a t a :   n a m e :   p v 1   a n n o t a t i o n s :   p v . b e t a . k u b e r n e t e s . i o / g i d :   \" 1 2 3 4 \"   W h e n   a   P o d   c o n s u m e s   a   P e r s i s t e n t V o l u m e   t h a t   h a s   a   G I D   a n n o t a t i o n ,   t h e   a n n o t a t e d   G I D   i s   a p p l i e d   t o   a l l   c o n t a i n e r s   i n   t h e   P o d   i n   t h e   s a m e   w a y   t h a t   G I D s   s p e c i f i e d   i n   t h e   P o d ' s   s e c u r i t y   c o n t e x t   a r e .   E v e r y   G I D ,   w h e t h e r   i t   o r i g i n a t e s   f r o m   a   P e r s i s t e n t V o l u m e   a n n o t a t i o n   o r   t h e   P o d ' s   s p e c i f i c a t i o n ,   i s   a p p l i e d   t o   t h e   f i r s t   p r o c e s s   r u n   i n   e a c h   c o n t a i n e r .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19475"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   P e r s i s t e n t V o l u m e s . R e a d   t h e   P e r s i s t e n t   S t o r a g e   d e s i g n   d o c u m e n t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19476"
  },
  {
    "question": "What is Reference?",
    "answer": "P e r s i s t e n t V o l u m e P e r s i s t e n t V o l u m e S p e c P e r s i s t e n t V o l u m e C l a i m P e r s i s t e n t V o l u m e C l a i m S p e c",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19477"
  },
  {
    "question": "What is 13 - Configure a Pod to Use a Projected Volume for Storage?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   a   p r o j e c t e d   V o l u m e   t o   m o u n t   s e v e r a l   e x i s t i n g   v o l u m e   s o u r c e s   i n t o   t h e   s a m e   d i r e c t o r y .   C u r r e n t l y ,   s e c r e t ,   c o n f i g M a p ,   d o w n w a r d A P I ,   a n d   s e r v i c e A c c o u n t T o k e n   v o l u m e s   c a n   b e   p r o j e c t e d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19478"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19479"
  },
  {
    "question": "What is Configure a projected volume for a pod?",
    "answer": "I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   u s e r n a m e   a n d   p a s s w o r d   S e c r e t s   f r o m   l o c a l   f i l e s .   Y o u   t h e n   c r e a t e   a   P o d   t h a t   r u n s   o n e   c o n t a i n e r ,   u s i n g   a   p r o j e c t e d   V o l u m e   t o   m o u n t   t h e   S e c r e t s   i n t o   t h e   s a m e   s h a r e d   d i r e c t o r y .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t e s t - p r o j e c t e d - v o l u m e   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - p r o j e c t e d - v o l u m e   i m a g e :   b u s y b o x : 1 . 2 8   a r g s :   -   s l e e p   -   \" 8 6 4 0 0 \"   v o l u m e M o u n t s :   -   n a m e :   a l l - i n - o n e   m o u n t P a t h :   \" / p r o j e c t e d - v o l u m e \"   r e a d O n l y :   t r u e   v o l u m e s :   -   n a m e :   a l l - i n - o n e   p r o j e c t e d :   s o u r c e s :   -   s e c r e t :   n a m e :   u s e r   -   s e c r e t :   n a m e :   p a s s   C r e a t e   t h e   S e c r e t s : #   C r e a t e   f i l e s   c o n t a i n i n g   t h e   u s e r n a m e   a n d   p a s s w o r d :   e c h o   - n   \" a d m i n \"   >   . / u s e r n a m e . t x t   e c h o   - n   \" 1 f 2 d 1 e 2 e 6 7 d f \"   >   . / p a s s w o r d . t x t   #   P a c k a g e   t h e s e   f i l e s   i n t o   s e c r e t s :   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   u s e r   - - f r o m - f i l e = . / u s e r n a m e . t x t   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   p a s s   - - f r o m - f i l e = . / p a s s w o r d . t x t   C r e a t e   t h e   P o d : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s t o r a g e / p r o j e c t e d . y a m l   V e r i f y   t h a t   t h e   P o d ' s   c o n t a i n e r   i s   r u n n i n ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19480"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   t h e   P o d   a n d   t h e   S e c r e t s :   k u b e c t l   d e l e t e   p o d   t e s t - p r o j e c t e d - v o l u m e   k u b e c t l   d e l e t e   s e c r e t   u s e r   p a s s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19481"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   p r o j e c t e d   v o l u m e s . R e a d   t h e   a l l - i n - o n e   v o l u m e   d e s i g n   d o c u m e n t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19482"
  },
  {
    "question": "What is 14 - Configure a Security Context for a Pod or Container?",
    "answer": "A   s e c u r i t y   c o n t e x t   d e f i n e s   p r i v i l e g e   a n d   a c c e s s   c o n t r o l   s e t t i n g s   f o r   a   P o d   o r   C o n t a i n e r .   S e c u r i t y   c o n t e x t   s e t t i n g s   i n c l u d e ,   b u t   a r e   n o t   l i m i t e d   t o :   D i s c r e t i o n a r y   A c c e s s   C o n t r o l :   P e r m i s s i o n   t o   a c c e s s   a n   o b j e c t ,   l i k e   a   f i l e ,   i s   b a s e d   o n   u s e r   I D   ( U I D )   a n d   g r o u p   I D   ( G I D ) . S e c u r i t y   E n h a n c e d   L i n u x   ( S E L i n u x ) :   O b j e c t s   a r e   a s s i g n e d   s e c u r i t y   l a b e l s . R u n n i n g   a s   p r i v i l e g e d   o r   u n p r i v i l e g e d . L i n u x   C a p a b i l i t i e s :   G i v e   a   p r o c e s s   s o m e   p r i v i l e g e s ,   b u t   n o t   a l l   t h e   p r i v i l e g e s   o f   t h e   r o o t   u s e r . A p p A r m o r :   U s e   p r o g r a m   p r o f i l e s   t o   r e s t r i c t   t h e   c a p a b i l i t i e s   o f   i n d i v i d u a l   p r o g r a m s . S e c c o m p :   F i l t e r   a   p r o c e s s ' s   s y s t e m   c a l l s . a l l o w P r i v i l e g e E s c a l a t i o n :   C o n t r o l s   w h e t h e r   a   p r o c e s s   c a n   g a i n   m o r e   p r i v i l e g e s   t h a n   i t s   p a r e n t   p r o c e s s .   T h i s   b o o l   d i r e c t l y   c o n t r o l s   w h e t h e r   t h e   n o _ n e w _ p r i v s   f l a g   g e t s   s e t   o n   t h e   c o n t a i n e r   p r o c e s s .   a l l o w P r i v i l e g e E s c a l a t i o n   i s   a l w a y s   t r u e   w h e n   t h e   c o n t a i n e r : i s   r u n   a s   p r i v i l e g e d ,   o r h a s   C A P _ S Y S _ A D M I N r e a d O n l y R o o t F i l e s y s t e m :   M o u n t s   t h e   c o n t a i n e r ' s   r o o t   f i l e s y s t e m   a s   r e a d - o n l y .   D i s c r e t i o n a r y   A c c e s s   C o n t r o l : ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19483"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19484"
  },
  {
    "question": "What is Set the security context for a Pod?",
    "answer": "T o   s p e c i f y   s e c u r i t y   s e t t i n g s   f o r   a   P o d ,   i n c l u d e   t h e   s e c u r i t y C o n t e x t   f i e l d   i n   t h e   P o d   s p e c i f i c a t i o n .   T h e   s e c u r i t y C o n t e x t   f i e l d   i s   a   P o d S e c u r i t y C o n t e x t   o b j e c t .   T h e   s e c u r i t y   s e t t i n g s   t h a t   y o u   s p e c i f y   f o r   a   P o d   a p p l y   t o   a l l   C o n t a i n e r s   i n   t h e   P o d .   H e r e   i s   a   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   h a s   a   s e c u r i t y C o n t e x t   a n d   a n   e m p t y D i r   v o l u m e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s e c u r i t y - c o n t e x t - d e m o   s p e c :   s e c u r i t y C o n t e x t :   r u n A s U s e r :   1 0 0 0   r u n A s G r o u p :   3 0 0 0   f s G r o u p :   2 0 0 0   s u p p l e m e n t a l G r o u p s :   [ 4 0 0 0 ]   v o l u m e s :   -   n a m e :   s e c - c t x - v o l   e m p t y D i r :   { }   c o n t a i n e r s :   -   n a m e :   s e c - c t x - d e m o   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [   \" s h \" ,   \" - c \" ,   \" s l e e p   1 h \"   ]   v o l u m e M o u n t s :   -   n a m e :   s e c - c t x - v o l   m o u n t P a t h :   / d a t a / d e m o   s e c u r i t y C o n t e x t :   a l l o w P r i v i l e g e E s c a l a t i o n :   f a l s e   I n   t h e   c o n f i g u r a t i o n   f i l e ,   t h e   r u n A s U s e r   f i e l d   s p e c i f i e s   t h a t   f o r   a n y   C o n t a i n e r s   i n   t h e   P o d ,   a l l   p r o c e s s e s   r u n   w i t h   u s e r   I D   1 0 0 0 .   T h e   r u n A s G r o u p   f i e l d   s p e c i f i e s   t h e   p r i m a r y   g r o u p   I D   o f   3 0 0 0   f o r   a l l   p r o c e s s e s   w i t h i n   a n y   c o n t a i n e r s   o f   t h e   P o d .   I f   t h i s   f i e l d   i s   o m i t t e d ,   t h e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19485"
  },
  {
    "question": "What is Implicit group memberships defined in /etc/group in the container image?",
    "answer": "B y   d e f a u l t ,   k u b e r n e t e s   m e r g e s   g r o u p   i n f o r m a t i o n   f r o m   t h e   P o d   w i t h   i n f o r m a t i o n   d e f i n e d   i n   / e t c / g r o u p   i n   t h e   c o n t a i n e r   i m a g e .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s e c u r i t y - c o n t e x t - d e m o   s p e c :   s e c u r i t y C o n t e x t :   r u n A s U s e r :   1 0 0 0   r u n A s G r o u p :   3 0 0 0   s u p p l e m e n t a l G r o u p s :   [ 4 0 0 0 ]   c o n t a i n e r s :   -   n a m e :   s e c - c t x - d e m o   i m a g e :   r e g i s t r y . k 8 s . i o / e 2 e - t e s t - i m a g e s / a g n h o s t : 2 . 4 5   c o m m a n d :   [   \" s h \" ,   \" - c \" ,   \" s l e e p   1 h \"   ]   s e c u r i t y C o n t e x t :   a l l o w P r i v i l e g e E s c a l a t i o n :   f a l s e   T h i s   P o d   s e c u r i t y   c o n t e x t   c o n t a i n s   r u n A s U s e r ,   r u n A s G r o u p   a n d   s u p p l e m e n t a l G r o u p s .   H o w e v e r ,   y o u   c a n   s e e   t h a t   t h e   a c t u a l   s u p p l e m e n t a r y   g r o u p s   a t t a c h e d   t o   t h e   c o n t a i n e r   p r o c e s s   w i l l   i n c l u d e   g r o u p   I D s   w h i c h   c o m e   f r o m   / e t c / g r o u p   i n   t h e   c o n t a i n e r   i m a g e .   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s e c u r i t y / s e c u r i t y - c o n t e x t - 5 . y a m l   V e r i f y   t h a t   t h e   P o d ' s   C o n t a i n e r   i s   r u n n i n g :   k u b e c t l   g e t   p o d   s e c u r i t y - c o n t e x t - d e m o   G e t   a   s h e l l   t o   t h e   r u n n i n g   C o n t a i n e r :   k u b e c t l   e x e c   - i t   s e c u r i t y - c o n t e x t - d e m o   - -   s h   C h e c k   t h e   p r o c e s s   i d e n t i t y :   $   i d   T h e   o u t p u t   i s   s i m i l a ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19486"
  },
  {
    "question": "What is Configure fine-grained SupplementalGroups control for a Pod?",
    "answer": "T h i s   f e a t u r e   c a n   b e   e n a b l e d   b y   s e t t i n g   t h e   S u p p l e m e n t a l G r o u p s P o l i c y   f e a t u r e   g a t e   f o r   k u b e l e t   a n d   k u b e - a p i s e r v e r ,   a n d   s e t t i n g   t h e   . s p e c . s e c u r i t y C o n t e x t . s u p p l e m e n t a l G r o u p s P o l i c y   f i e l d   f o r   a   p o d .   T h e   s u p p l e m e n t a l G r o u p s P o l i c y   f i e l d   d e f i n e s   t h e   p o l i c y   f o r   c a l c u l a t i n g   t h e   s u p p l e m e n t a r y   g r o u p s   f o r   t h e   c o n t a i n e r   p r o c e s s e s   i n   a   p o d .   T h e r e   a r e   t w o   v a l i d   v a l u e s   f o r   t h i s   f i e l d :   M e r g e :   T h e   g r o u p   m e m b e r s h i p   d e f i n e d   i n   / e t c / g r o u p   f o r   t h e   c o n t a i n e r ' s   p r i m a r y   u s e r   w i l l   b e   m e r g e d .   T h i s   i s   t h e   d e f a u l t   p o l i c y   i f   n o t   s p e c i f i e d . S t r i c t :   O n l y   g r o u p   I D s   i n   f s G r o u p ,   s u p p l e m e n t a l G r o u p s ,   o r   r u n A s G r o u p   f i e l d s   a r e   a t t a c h e d   a s   t h e   s u p p l e m e n t a r y   g r o u p s   o f   t h e   c o n t a i n e r   p r o c e s s e s .   T h i s   m e a n s   n o   g r o u p   m e m b e r s h i p   f r o m   / e t c / g r o u p   f o r   t h e   c o n t a i n e r ' s   p r i m a r y   u s e r   w i l l   b e   m e r g e d .   M e r g e :   T h e   g r o u p   m e m b e r s h i p   d e f i n e d   i n   / e t c / g r o u p   f o r   t h e   c o n t a i n e r ' s   p r i m a r y   u s e r   w i l l   b e   m e r g e d .   T h i s   i s   t h e   d e f a u l t   p o l i c y   i f   n o t   s p e c i f i e d .   S t r i c t :   O n l y   g r o u p   I D s   i n   f s G r o u p ,   s u p p l e m e n t a l G r o u p s ,   o r   r u n A s G r o u p   f i e l d s   a r e   a t t a c h e d   a s   t h e   s u p p l e m ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19487"
  },
  {
    "question": "What is Implementations?",
    "answer": "T h e   f o l l o w i n g   c o n t a i n e r   r u n t i m e s   a r e   k n o w n   t o   s u p p o r t   f i n e - g r a i n e d   S u p p l e m e n t a l G r o u p s   c o n t r o l .   C R I - l e v e l :   c o n t a i n e r d ,   s i n c e   v 2 . 0 C R I - O ,   s i n c e   v 1 . 3 1   Y o u   c a n   s e e   i f   t h e   f e a t u r e   i s   s u p p o r t e d   i n   t h e   N o d e   s t a t u s .   a p i V e r s i o n :   v 1   k i n d :   N o d e   . . .   s t a t u s :   f e a t u r e s :   s u p p l e m e n t a l G r o u p s P o l i c y :   t r u e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19488"
  },
  {
    "question": "What is Note:?",
    "answer": "A t   t h i s   a l p h a   r e l e a s e ( f r o m   v 1 . 3 1   t o   v 1 . 3 2 ) ,   w h e n   a   p o d   w i t h   S u p p l e m e n t a l G r o u p s P o l i c y = S t r i c t   a r e   s c h e d u l e d   t o   a   n o d e   t h a t   d o e s   N O T   s u p p o r t   t h i s   f e a t u r e ( i . e .   . s t a t u s . f e a t u r e s . s u p p l e m e n t a l G r o u p s P o l i c y = f a l s e ) ,   t h e   p o d ' s   s u p p l e m e n t a l   g r o u p s   p o l i c y   f a l l s   b a c k   t o   t h e   M e r g e   p o l i c y   s i l e n t l y .   H o w e v e r ,   s i n c e   t h e   b e t a   r e l e a s e   ( v 1 . 3 3 ) ,   t o   e n f o r c e   t h e   p o l i c y   m o r e   s t r i c t l y ,   s u c h   p o d   c r e a t i o n   w i l l   b e   r e j e c t e d   b y   k u b e l e t   b e c a u s e   t h e   n o d e   c a n n o t   e n s u r e   t h e   s p e c i f i e d   p o l i c y .   W h e n   y o u r   p o d   i s   r e j e c t e d ,   y o u   w i l l   s e e   w a r n i n g   e v e n t s   w i t h   r e a s o n = S u p p l e m e n t a l G r o u p s P o l i c y N o t S u p p o r t e d   l i k e   b e l o w :   a p i V e r s i o n :   v 1   k i n d :   E v e n t   . . .   t y p e :   W a r n i n g   r e a s o n :   S u p p l e m e n t a l G r o u p s P o l i c y N o t S u p p o r t e d   m e s s a g e :   \" S u p p l e m e n t a l G r o u p s P o l i c y = S t r i c t   i s   n o t   s u p p o r t e d   i n   t h i s   n o d e \"   i n v o l v e d O b j e c t :   a p i V e r s i o n :   v 1   k i n d :   P o d   . . .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19489"
  },
  {
    "question": "What is Configure volume permission and ownership change policy for Pods?",
    "answer": "B y   d e f a u l t ,   K u b e r n e t e s   r e c u r s i v e l y   c h a n g e s   o w n e r s h i p   a n d   p e r m i s s i o n s   f o r   t h e   c o n t e n t s   o f   e a c h   v o l u m e   t o   m a t c h   t h e   f s G r o u p   s p e c i f i e d   i n   a   P o d ' s   s e c u r i t y C o n t e x t   w h e n   t h a t   v o l u m e   i s   m o u n t e d .   F o r   l a r g e   v o l u m e s ,   c h e c k i n g   a n d   c h a n g i n g   o w n e r s h i p   a n d   p e r m i s s i o n s   c a n   t a k e   a   l o t   o f   t i m e ,   s l o w i n g   P o d   s t a r t u p .   Y o u   c a n   u s e   t h e   f s G r o u p C h a n g e P o l i c y   f i e l d   i n s i d e   a   s e c u r i t y C o n t e x t   t o   c o n t r o l   t h e   w a y   t h a t   K u b e r n e t e s   c h e c k s   a n d   m a n a g e s   o w n e r s h i p   a n d   p e r m i s s i o n s   f o r   a   v o l u m e .   f s G r o u p C h a n g e P o l i c y   -   f s G r o u p C h a n g e P o l i c y   d e f i n e s   b e h a v i o r   f o r   c h a n g i n g   o w n e r s h i p   a n d   p e r m i s s i o n   o f   t h e   v o l u m e   b e f o r e   b e i n g   e x p o s e d   i n s i d e   a   P o d .   T h i s   f i e l d   o n l y   a p p l i e s   t o   v o l u m e   t y p e s   t h a t   s u p p o r t   f s G r o u p   c o n t r o l l e d   o w n e r s h i p   a n d   p e r m i s s i o n s .   T h i s   f i e l d   h a s   t w o   p o s s i b l e   v a l u e s :   O n R o o t M i s m a t c h :   O n l y   c h a n g e   p e r m i s s i o n s   a n d   o w n e r s h i p   i f   t h e   p e r m i s s i o n   a n d   t h e   o w n e r s h i p   o f   r o o t   d i r e c t o r y   d o e s   n o t   m a t c h   w i t h   e x p e c t e d   p e r m i s s i o n s   o f   t h e   v o l u m e .   T h i s   c o u l d   h e l p   s h o r t e n   t h e   t i m e   i t   t a k e s   t o   c h a n g e   o w n e r s h i p   a n d   p e r m i s s i o n   o f   a   v o l u m e . A l w a y ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19490"
  },
  {
    "question": "What is Delegating volume permission and ownership change to CSI driver?",
    "answer": "I f   y o u   d e p l o y   a   C o n t a i n e r   S t o r a g e   I n t e r f a c e   ( C S I )   d r i v e r   w h i c h   s u p p o r t s   t h e   V O L U M E _ M O U N T _ G R O U P   N o d e S e r v i c e C a p a b i l i t y ,   t h e   p r o c e s s   o f   s e t t i n g   f i l e   o w n e r s h i p   a n d   p e r m i s s i o n s   b a s e d   o n   t h e   f s G r o u p   s p e c i f i e d   i n   t h e   s e c u r i t y C o n t e x t   w i l l   b e   p e r f o r m e d   b y   t h e   C S I   d r i v e r   i n s t e a d   o f   K u b e r n e t e s .   I n   t h i s   c a s e ,   s i n c e   K u b e r n e t e s   d o e s n ' t   p e r f o r m   a n y   o w n e r s h i p   a n d   p e r m i s s i o n   c h a n g e ,   f s G r o u p C h a n g e P o l i c y   d o e s   n o t   t a k e   e f f e c t ,   a n d   a s   s p e c i f i e d   b y   C S I ,   t h e   d r i v e r   i s   e x p e c t e d   t o   m o u n t   t h e   v o l u m e   w i t h   t h e   p r o v i d e d   f s G r o u p ,   r e s u l t i n g   i n   a   v o l u m e   t h a t   i s   r e a d a b l e / w r i t a b l e   b y   t h e   f s G r o u p .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19491"
  },
  {
    "question": "What is Set the security context for a Container?",
    "answer": "T o   s p e c i f y   s e c u r i t y   s e t t i n g s   f o r   a   C o n t a i n e r ,   i n c l u d e   t h e   s e c u r i t y C o n t e x t   f i e l d   i n   t h e   C o n t a i n e r   m a n i f e s t .   T h e   s e c u r i t y C o n t e x t   f i e l d   i s   a   S e c u r i t y C o n t e x t   o b j e c t .   S e c u r i t y   s e t t i n g s   t h a t   y o u   s p e c i f y   f o r   a   C o n t a i n e r   a p p l y   o n l y   t o   t h e   i n d i v i d u a l   C o n t a i n e r ,   a n d   t h e y   o v e r r i d e   s e t t i n g s   m a d e   a t   t h e   P o d   l e v e l   w h e n   t h e r e   i s   o v e r l a p .   C o n t a i n e r   s e t t i n g s   d o   n o t   a f f e c t   t h e   P o d ' s   V o l u m e s .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   B o t h   t h e   P o d   a n d   t h e   C o n t a i n e r   h a v e   a   s e c u r i t y C o n t e x t   f i e l d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s e c u r i t y - c o n t e x t - d e m o - 2   s p e c :   s e c u r i t y C o n t e x t :   r u n A s U s e r :   1 0 0 0   c o n t a i n e r s :   -   n a m e :   s e c - c t x - d e m o - 2   i m a g e :   g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 2 . 0   s e c u r i t y C o n t e x t :   r u n A s U s e r :   2 0 0 0   a l l o w P r i v i l e g e E s c a l a t i o n :   f a l s e   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s e c u r i t y / s e c u r i t y - c o n t e x t - 2 . y a m l   V e r i f y   t h a t   t h e   P o d ' s   C o n t a i n e r   i s   r u n n i n g :   k u b e c t l   g e t   p o d   s e c u r i t y - c o n t e x t - d e m o - 2   G e t   a   s h e l l   i n t o   t h e   r u n n i n g   C o n t a i n e r :   k u b e c t l   e x e c   - i t   s e c u r i t y - c o n t e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19492"
  },
  {
    "question": "What is Set capabilities for a Container?",
    "answer": "W i t h   L i n u x   c a p a b i l i t i e s ,   y o u   c a n   g r a n t   c e r t a i n   p r i v i l e g e s   t o   a   p r o c e s s   w i t h o u t   g r a n t i n g   a l l   t h e   p r i v i l e g e s   o f   t h e   r o o t   u s e r .   T o   a d d   o r   r e m o v e   L i n u x   c a p a b i l i t i e s   f o r   a   C o n t a i n e r ,   i n c l u d e   t h e   c a p a b i l i t i e s   f i e l d   i n   t h e   s e c u r i t y C o n t e x t   s e c t i o n   o f   t h e   C o n t a i n e r   m a n i f e s t .   F i r s t ,   s e e   w h a t   h a p p e n s   w h e n   y o u   d o n ' t   i n c l u d e   a   c a p a b i l i t i e s   f i e l d .   H e r e   i s   c o n f i g u r a t i o n   f i l e   t h a t   d o e s   n o t   a d d   o r   r e m o v e   a n y   C o n t a i n e r   c a p a b i l i t i e s :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s e c u r i t y - c o n t e x t - d e m o - 3   s p e c :   c o n t a i n e r s :   -   n a m e :   s e c - c t x - 3   i m a g e :   g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 2 . 0   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s e c u r i t y / s e c u r i t y - c o n t e x t - 3 . y a m l   V e r i f y   t h a t   t h e   P o d ' s   C o n t a i n e r   i s   r u n n i n g :   k u b e c t l   g e t   p o d   s e c u r i t y - c o n t e x t - d e m o - 3   G e t   a   s h e l l   i n t o   t h e   r u n n i n g   C o n t a i n e r :   k u b e c t l   e x e c   - i t   s e c u r i t y - c o n t e x t - d e m o - 3   - -   s h   I n   y o u r   s h e l l ,   l i s t   t h e   r u n n i n g   p r o c e s s e s :   p s   a u x   T h e   o u t p u t   s h o w s   t h e   p r o c e s s   I D s   ( P I D s )   f o r   t h e   C o n t a i n e r :   U S E R   P I D   % C P U   % M E M   V S Z   R S S   T T Y   S T A T   S T A R T   T I M E   C O M M A N D   r o o t   1   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19493"
  },
  {
    "question": "What is Set the Seccomp Profile for a Container?",
    "answer": "T o   s e t   t h e   S e c c o m p   p r o f i l e   f o r   a   C o n t a i n e r ,   i n c l u d e   t h e   s e c c o m p P r o f i l e   f i e l d   i n   t h e   s e c u r i t y C o n t e x t   s e c t i o n   o f   y o u r   P o d   o r   C o n t a i n e r   m a n i f e s t .   T h e   s e c c o m p P r o f i l e   f i e l d   i s   a   S e c c o m p P r o f i l e   o b j e c t   c o n s i s t i n g   o f   t y p e   a n d   l o c a l h o s t P r o f i l e .   V a l i d   o p t i o n s   f o r   t y p e   i n c l u d e   R u n t i m e D e f a u l t ,   U n c o n f i n e d ,   a n d   L o c a l h o s t .   l o c a l h o s t P r o f i l e   m u s t   o n l y   b e   s e t   i f   t y p e :   L o c a l h o s t .   I t   i n d i c a t e s   t h e   p a t h   o f   t h e   p r e - c o n f i g u r e d   p r o f i l e   o n   t h e   n o d e ,   r e l a t i v e   t o   t h e   k u b e l e t ' s   c o n f i g u r e d   S e c c o m p   p r o f i l e   l o c a t i o n   ( c o n f i g u r e d   w i t h   t h e   - - r o o t - d i r   f l a g ) .   H e r e   i s   a n   e x a m p l e   t h a t   s e t s   t h e   S e c c o m p   p r o f i l e   t o   t h e   n o d e ' s   c o n t a i n e r   r u n t i m e   d e f a u l t   p r o f i l e :   . . .   s e c u r i t y C o n t e x t :   s e c c o m p P r o f i l e :   t y p e :   R u n t i m e D e f a u l t   H e r e   i s   a n   e x a m p l e   t h a t   s e t s   t h e   S e c c o m p   p r o f i l e   t o   a   p r e - c o n f i g u r e d   f i l e   a t   < k u b e l e t - r o o t - d i r > / s e c c o m p / m y - p r o f i l e s / p r o f i l e - a l l o w . j s o n :   . . .   s e c u r i t y C o n t e x t :   s e c c o m p P r o f i l e :   t y p e :   L o c a l h o s t   l o c a l h o s t P r o f i l e :   m y - p r o f i l e s / p r o f i l e - a l l o w . j s o n",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19494"
  },
  {
    "question": "What is Set the AppArmor Profile for a Container?",
    "answer": "T o   s e t   t h e   A p p A r m o r   p r o f i l e   f o r   a   C o n t a i n e r ,   i n c l u d e   t h e   a p p A r m o r P r o f i l e   f i e l d   i n   t h e   s e c u r i t y C o n t e x t   s e c t i o n   o f   y o u r   C o n t a i n e r .   T h e   a p p A r m o r P r o f i l e   f i e l d   i s   a   A p p A r m o r P r o f i l e   o b j e c t   c o n s i s t i n g   o f   t y p e   a n d   l o c a l h o s t P r o f i l e .   V a l i d   o p t i o n s   f o r   t y p e   i n c l u d e   R u n t i m e D e f a u l t ( d e f a u l t ) ,   U n c o n f i n e d ,   a n d   L o c a l h o s t .   l o c a l h o s t P r o f i l e   m u s t   o n l y   b e   s e t   i f   t y p e   i s   L o c a l h o s t .   I t   i n d i c a t e s   t h e   n a m e   o f   t h e   p r e - c o n f i g u r e d   p r o f i l e   o n   t h e   n o d e .   T h e   p r o f i l e   n e e d s   t o   b e   l o a d e d   o n t o   a l l   n o d e s   s u i t a b l e   f o r   t h e   P o d ,   s i n c e   y o u   d o n ' t   k n o w   w h e r e   t h e   p o d   w i l l   b e   s c h e d u l e d .   A p p r o a c h e s   f o r   s e t t i n g   u p   c u s t o m   p r o f i l e s   a r e   d i s c u s s e d   i n   S e t t i n g   u p   n o d e s   w i t h   p r o f i l e s .   N o t e :   I f   c o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . a p p A r m o r P r o f i l e . t y p e   i s   e x p l i c i t l y   s e t   t o   R u n t i m e D e f a u l t ,   t h e n   t h e   P o d   w i l l   n o t   b e   a d m i t t e d   i f   A p p A r m o r   i s   n o t   e n a b l e d   o n   t h e   N o d e .   H o w e v e r   i f   c o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . a p p A r m o r P r o f i l e . t y p e   i s   n o t   s p e c i f i e d ,   t h e n   t h e   d e f a u l t   ( w h i c h   i s   a l s o   R u n t i m e D e f a u l t )   w i l l   o n l y   b e   a p p l i e d   i f   t h e   n o d e   h a s   A p p A r m o r   e n a b l e d .   I f   t h ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19495"
  },
  {
    "question": "What is Assign SELinux labels to a Container?",
    "answer": "T o   a s s i g n   S E L i n u x   l a b e l s   t o   a   C o n t a i n e r ,   i n c l u d e   t h e   s e L i n u x O p t i o n s   f i e l d   i n   t h e   s e c u r i t y C o n t e x t   s e c t i o n   o f   y o u r   P o d   o r   C o n t a i n e r   m a n i f e s t .   T h e   s e L i n u x O p t i o n s   f i e l d   i s   a n   S E L i n u x O p t i o n s   o b j e c t .   H e r e ' s   a n   e x a m p l e   t h a t   a p p l i e s   a n   S E L i n u x   l e v e l :   . . .   s e c u r i t y C o n t e x t :   s e L i n u x O p t i o n s :   l e v e l :   \" s 0 : c 1 2 3 , c 4 5 6 \"",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19496"
  },
  {
    "question": "What is Note:?",
    "answer": "K u b e r n e t e s   v 1 . 2 7   i n t r o d u c e d   a n   e a r l y   l i m i t e d   f o r m   o f   t h i s   b e h a v i o r   t h a t   w a s   o n l y   a p p l i c a b l e   t o   v o l u m e s   ( a n d   P e r s i s t e n t V o l u m e C l a i m s )   u s i n g   t h e   R e a d W r i t e O n c e P o d   a c c e s s   m o d e .   K u b e r n e t e s   v 1 . 3 3   p r o m o t e s   S E L i n u x C h a n g e P o l i c y   a n d   S E L i n u x M o u n t   f e a t u r e   g a t e s   a s   b e t a   t o   w i d e n   t h a t   p e r f o r m a n c e   i m p r o v e m e n t   t o   o t h e r   k i n d s   o f   P e r s i s t e n t V o l u m e C l a i m s ,   a s   e x p l a i n e d   i n   d e t a i l   b e l o w .   W h i l e   i n   b e t a ,   S E L i n u x M o u n t   i s   s t i l l   d i s a b l e d   b y   d e f a u l t .   W i t h   S E L i n u x M o u n t   f e a t u r e   g a t e   d i s a b l e d   ( t h e   d e f a u l t   i n   K u b e r n e t e s   1 . 3 3   a n d   a n y   p r e v i o u s   r e l e a s e ) ,   t h e   c o n t a i n e r   r u n t i m e   r e c u r s i v e l y   a s s i g n s   S E L i n u x   l a b e l   t o   a l l   f i l e s   o n   a l l   P o d   v o l u m e s   b y   d e f a u l t .   T o   s p e e d   u p   t h i s   p r o c e s s ,   K u b e r n e t e s   c a n   c h a n g e   t h e   S E L i n u x   l a b e l   o f   a   v o l u m e   i n s t a n t l y   b y   u s i n g   a   m o u n t   o p t i o n   - o   c o n t e x t = < l a b e l > .   T o   b e n e f i t   f r o m   t h i s   s p e e d u p ,   a l l   t h e s e   c o n d i t i o n s   m u s t   b e   m e t :   T h e   f e a t u r e   g a t e   S E L i n u x M o u n t R e a d W r i t e O n c e P o d   m u s t   b e   e n a b l e d . P o d   m u s t   u s e   P e r s i s t e n t V o l u m e C l a i m   w i t h   a p p l i c a b l e   a c c e s s M o d e s   a n d   f e a t u r e   g a t e s : E i t h e r   t h e   v o l u m e   h a s   a c c e s s M o d e s :   [ \" ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19497"
  },
  {
    "question": "What is SELinuxWarningController?",
    "answer": "T o   m a k e   i t   e a s i e r   t o   i d e n t i f y   P o d s   t h a t   a r e   a f f e c t e d   b y   t h e   c h a n g e   i n   S E L i n u x   v o l u m e   r e l a b e l i n g ,   a   n e w   c o n t r o l l e r   c a l l e d   S E L i n u x W a r n i n g C o n t r o l l e r   h a s   b e e n   i n t r o d u c e d   i n   k u b e - c o n t r o l l e r - m a n a g e r .   I t   i s   d i s a b l e d   b y   d e f a u l t   a n d   c a n   b e   e n a b l e d   b y   e i t h e r   s e t t i n g   t h e   - - c o n t r o l l e r s = * , s e l i n u x - w a r n i n g - c o n t r o l l e r   c o m m a n d   l i n e   f l a g ,   o r   b y   s e t t i n g   g e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n . c o n t r o l l e r s   f i e l d   i n   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n .   T h i s   c o n t r o l l e r   r e q u i r e s   S E L i n u x C h a n g e P o l i c y   f e a t u r e   g a t e   t o   b e   e n a b l e d .   W h e n   e n a b l e d ,   t h e   c o n t r o l l e r   o b s e r v e s   r u n n i n g   P o d s   a n d   w h e n   i t   d e t e c t s   t h a t   t w o   P o d s   u s e   t h e   s a m e   v o l u m e   w i t h   d i f f e r e n t   S E L i n u x   l a b e l s :   I t   e m i t s   a n   e v e n t   t o   b o t h   o f   t h e   P o d s .   k u b e c t l   d e s c r i b e   p o d   < p o d - n a m e >   t h e   s h o w s   S E L i n u x L a b e l   \" < l a b e l   o n   t h e   p o d > \"   c o n f l i c t s   w i t h   p o d   < t h e   o t h e r   p o d   n a m e >   t h a t   u s e s   t h e   s a m e   v o l u m e   a s   t h i s   p o d   w i t h   S E L i n u x L a b e l   \" < t h e   o t h e r   p o d   l a b e l > \" .   I f   b o t h   p o d s   l a n d   o n   t h e   s a m e   n o d e ,   o n l y   o n e   o f   t h e m   m a y   a c c e s s   t h e   v o l u m e . R a i s e   s e l i n u x _ w a r n i n g _ c o n t r o l l e r _ s e l i n u x _ v o l u m e _ ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19498"
  },
  {
    "question": "What is Feature gates?",
    "answer": "T h e   f o l l o w i n g   f e a t u r e   g a t e s   c o n t r o l   t h e   b e h a v i o r   o f   S E L i n u x   v o l u m e   r e l a b e l i n g :   S E L i n u x M o u n t R e a d W r i t e O n c e P o d :   e n a b l e s   t h e   o p t i m i z a t i o n   f o r   v o l u m e s   w i t h   a c c e s s M o d e s :   [ \" R e a d W r i t e O n c e P o d \" ] .   T h i s   i s   a   v e r y   s a f e   f e a t u r e   g a t e   t o   e n a b l e ,   a s   i t   c a n n o t   h a p p e n   t h a t   t w o   p o d s   c a n   s h a r e   o n e   s i n g l e   v o l u m e   w i t h   t h i s   a c c e s s   m o d e .   T h i s   f e a t u r e   g a t e   i s   e n a b l e d   b y   d e f a u l t   s i n e   v 1 . 2 8 . S E L i n u x C h a n g e P o l i c y :   e n a b l e s   s p e c . s e c u r i t y C o n t e x t . s e L i n u x C h a n g e P o l i c y   f i e l d   i n   P o d   a n d   r e l a t e d   S E L i n u x W a r n i n g C o n t r o l l e r   i n   k u b e - c o n t r o l l e r - m a n a g e r .   T h i s   f e a t u r e   c a n   b e   u s e d   b e f o r e   e n a b l i n g   S E L i n u x M o u n t   t o   c h e c k   P o d s   r u n n i n g   o n   a   c l u s t e r ,   a n d   t o   p r o - a c t i v e l y   o p t - o u t   P o d s   f r o m   t h e   o p t i m i z a t i o n .   T h i s   f e a t u r e   g a t e   r e q u i r e s   S E L i n u x M o u n t R e a d W r i t e O n c e P o d   e n a b l e d .   I t   i s   b e t a   a n d   e n a b l e d   b y   d e f a u l t   i n   1 . 3 3 . S E L i n u x M o u n t   e n a b l e s   t h e   o p t i m i z a t i o n   f o r   a l l   e l i g i b l e   v o l u m e s .   S i n c e   i t   c a n   b r e a k   e x i s t i n g   w o r k l o a d s ,   w e   r e c o m m e n d   e n a b l i n g   S E L i n u x C h a n g e P o l i c y   f e a t u r e   g a t e   +   S E L i n u x W a r n i n g C o n t r o l l e r   f i r s t   t o   c h e c k   t h e   i m p a c t   o f   t h e   c h a n g e .   T h i s   f e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19499"
  },
  {
    "question": "What is Managing access to the /proc filesystem?",
    "answer": "F o r   r u n t i m e s   t h a t   f o l l o w   t h e   O C I   r u n t i m e   s p e c i f i c a t i o n ,   c o n t a i n e r s   d e f a u l t   t o   r u n n i n g   i n   a   m o d e   w h e r e   t h e r e   a r e   m u l t i p l e   p a t h s   t h a t   a r e   b o t h   m a s k e d   a n d   r e a d - o n l y .   T h e   r e s u l t   o f   t h i s   i s   t h e   c o n t a i n e r   h a s   t h e s e   p a t h s   p r e s e n t   i n s i d e   t h e   c o n t a i n e r ' s   m o u n t   n a m e s p a c e ,   a n d   t h e y   c a n   f u n c t i o n   s i m i l a r l y   t o   i f   t h e   c o n t a i n e r   w a s   a n   i s o l a t e d   h o s t ,   b u t   t h e   c o n t a i n e r   p r o c e s s   c a n n o t   w r i t e   t o   t h e m .   T h e   l i s t   o f   m a s k e d   a n d   r e a d - o n l y   p a t h s   a r e   a s   f o l l o w s :   M a s k e d   P a t h s : / p r o c / a s o u n d / p r o c / a c p i / p r o c / k c o r e / p r o c / k e y s / p r o c / l a t e n c y _ s t a t s / p r o c / t i m e r _ l i s t / p r o c / t i m e r _ s t a t s / p r o c / s c h e d _ d e b u g / p r o c / s c s i / s y s / f i r m w a r e / s y s / d e v i c e s / v i r t u a l / p o w e r c a p R e a d - O n l y   P a t h s : / p r o c / b u s / p r o c / f s / p r o c / i r q / p r o c / s y s / p r o c / s y s r q - t r i g g e r   M a s k e d   P a t h s :   / p r o c / a s o u n d / p r o c / a c p i / p r o c / k c o r e / p r o c / k e y s / p r o c / l a t e n c y _ s t a t s / p r o c / t i m e r _ l i s t / p r o c / t i m e r _ s t a t s / p r o c / s c h e d _ d e b u g / p r o c / s c s i / s y s / f i r m w a r e / s y s / d e v i c e s / v i r t u a l / p o w e r c a p   R e a d - O n l y   P a t h s :   / p r o c / b u s / p r o c / f s / p r o c / i r q / p r o c / s y s / p r o c / s y s r q - t r i g g e r   F o r   s o m e   P o d s ,   y o u   m i g h t   w a n t   t o   b y p a s s   t h a t   d e f a u l t   m a s k i n g   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19500"
  },
  {
    "question": "What is Discussion?",
    "answer": "T h e   s e c u r i t y   c o n t e x t   f o r   a   P o d   a p p l i e s   t o   t h e   P o d ' s   C o n t a i n e r s   a n d   a l s o   t o   t h e   P o d ' s   V o l u m e s   w h e n   a p p l i c a b l e .   S p e c i f i c a l l y   f s G r o u p   a n d   s e L i n u x O p t i o n s   a r e   a p p l i e d   t o   V o l u m e s   a s   f o l l o w s :   f s G r o u p :   V o l u m e s   t h a t   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a r e   m o d i f i e d   t o   b e   o w n e d   a n d   w r i t a b l e   b y   t h e   G I D   s p e c i f i e d   i n   f s G r o u p .   S e e   t h e   O w n e r s h i p   M a n a g e m e n t   d e s i g n   d o c u m e n t   f o r   m o r e   d e t a i l s . s e L i n u x O p t i o n s :   V o l u m e s   t h a t   s u p p o r t   S E L i n u x   l a b e l i n g   a r e   r e l a b e l e d   t o   b e   a c c e s s i b l e   b y   t h e   l a b e l   s p e c i f i e d   u n d e r   s e L i n u x O p t i o n s .   U s u a l l y   y o u   o n l y   n e e d   t o   s e t   t h e   l e v e l   s e c t i o n .   T h i s   s e t s   t h e   M u l t i - C a t e g o r y   S e c u r i t y   ( M C S )   l a b e l   g i v e n   t o   a l l   C o n t a i n e r s   i n   t h e   P o d   a s   w e l l   a s   t h e   V o l u m e s .   f s G r o u p :   V o l u m e s   t h a t   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a r e   m o d i f i e d   t o   b e   o w n e d   a n d   w r i t a b l e   b y   t h e   G I D   s p e c i f i e d   i n   f s G r o u p .   S e e   t h e   O w n e r s h i p   M a n a g e m e n t   d e s i g n   d o c u m e n t   f o r   m o r e   d e t a i l s .   s e L i n u x O p t i o n s :   V o l u m e s   t h a t   s u p p o r t   S E L i n u x   l a b e l i n g   a r e   r e l a b e l e d   t o   b e   a c c e s s i b l e   b y   t h e   l a b e l   s p e c i f i e d   u n d e r   s e L i n u x O p t i o n s .   U s u a l l y   y o u   o n l y   n e e d   t o   s e t   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19501"
  },
  {
    "question": "What is Clean up?",
    "answer": "D e l e t e   t h e   P o d :   k u b e c t l   d e l e t e   p o d   s e c u r i t y - c o n t e x t - d e m o   k u b e c t l   d e l e t e   p o d   s e c u r i t y - c o n t e x t - d e m o - 2   k u b e c t l   d e l e t e   p o d   s e c u r i t y - c o n t e x t - d e m o - 3   k u b e c t l   d e l e t e   p o d   s e c u r i t y - c o n t e x t - d e m o - 4",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19502"
  },
  {
    "question": "What is What's next?",
    "answer": "P o d S e c u r i t y C o n t e x t S e c u r i t y C o n t e x t C R I   P l u g i n   C o n f i g   G u i d e S e c u r i t y   C o n t e x t s   d e s i g n   d o c u m e n t O w n e r s h i p   M a n a g e m e n t   d e s i g n   d o c u m e n t P o d S e c u r i t y   A d m i s s i o n A l l o w P r i v i l e g e E s c a l a t i o n   d e s i g n   d o c u m e n t F o r   m o r e   i n f o r m a t i o n   a b o u t   s e c u r i t y   m e c h a n i s m s   i n   L i n u x ,   s e e   O v e r v i e w   o f   L i n u x   K e r n e l   S e c u r i t y   F e a t u r e s   ( N o t e :   S o m e   i n f o r m a t i o n   i s   o u t   o f   d a t e ) R e a d   a b o u t   U s e r   N a m e s p a c e s   f o r   L i n u x   p o d s . M a s k e d   P a t h s   i n   t h e   O C I   R u n t i m e   S p e c i f i c a t i o n",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19503"
  },
  {
    "question": "What is 15 - Configure Service Accounts for Pods?",
    "answer": "K u b e r n e t e s   o f f e r s   t w o   d i s t i n c t   w a y s   f o r   c l i e n t s   t h a t   r u n   w i t h i n   y o u r   c l u s t e r ,   o r   t h a t   o t h e r w i s e   h a v e   a   r e l a t i o n s h i p   t o   y o u r   c l u s t e r ' s   c o n t r o l   p l a n e   t o   a u t h e n t i c a t e   t o   t h e   A P I   s e r v e r .   A   s e r v i c e   a c c o u n t   p r o v i d e s   a n   i d e n t i t y   f o r   p r o c e s s e s   t h a t   r u n   i n   a   P o d ,   a n d   m a p s   t o   a   S e r v i c e A c c o u n t   o b j e c t .   W h e n   y o u   a u t h e n t i c a t e   t o   t h e   A P I   s e r v e r ,   y o u   i d e n t i f y   y o u r s e l f   a s   a   p a r t i c u l a r   u s e r .   K u b e r n e t e s   r e c o g n i s e s   t h e   c o n c e p t   o f   a   u s e r ,   h o w e v e r ,   K u b e r n e t e s   i t s e l f   d o e s   n o t   h a v e   a   U s e r   A P I .   T h i s   t a s k   g u i d e   i s   a b o u t   S e r v i c e A c c o u n t s ,   w h i c h   d o   e x i s t   i n   t h e   K u b e r n e t e s   A P I .   T h e   g u i d e   s h o w s   y o u   s o m e   w a y s   t o   c o n f i g u r e   S e r v i c e A c c o u n t s   f o r   P o d s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19504"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19505"
  },
  {
    "question": "What is Use the default service account to access the API server?",
    "answer": "W h e n   P o d s   c o n t a c t   t h e   A P I   s e r v e r ,   P o d s   a u t h e n t i c a t e   a s   a   p a r t i c u l a r   S e r v i c e A c c o u n t   ( f o r   e x a m p l e ,   d e f a u l t ) .   T h e r e   i s   a l w a y s   a t   l e a s t   o n e   S e r v i c e A c c o u n t   i n   e a c h   n a m e s p a c e .   E v e r y   K u b e r n e t e s   n a m e s p a c e   c o n t a i n s   a t   l e a s t   o n e   S e r v i c e A c c o u n t :   t h e   d e f a u l t   S e r v i c e A c c o u n t   f o r   t h a t   n a m e s p a c e ,   n a m e d   d e f a u l t .   I f   y o u   d o   n o t   s p e c i f y   a   S e r v i c e A c c o u n t   w h e n   y o u   c r e a t e   a   P o d ,   K u b e r n e t e s   a u t o m a t i c a l l y   a s s i g n s   t h e   S e r v i c e A c c o u n t   n a m e d   d e f a u l t   i n   t h a t   n a m e s p a c e .   Y o u   c a n   f e t c h   t h e   d e t a i l s   f o r   a   P o d   y o u   h a v e   c r e a t e d .   F o r   e x a m p l e :   k u b e c t l   g e t   p o d s / < p o d n a m e >   - o   y a m l   I n   t h e   o u t p u t ,   y o u   s e e   a   f i e l d   s p e c . s e r v i c e A c c o u n t N a m e .   K u b e r n e t e s   a u t o m a t i c a l l y   s e t s   t h a t   v a l u e   i f   y o u   d o n ' t   s p e c i f y   i t   w h e n   y o u   c r e a t e   a   P o d .   A n   a p p l i c a t i o n   r u n n i n g   i n s i d e   a   P o d   c a n   a c c e s s   t h e   K u b e r n e t e s   A P I   u s i n g   a u t o m a t i c a l l y   m o u n t e d   s e r v i c e   a c c o u n t   c r e d e n t i a l s .   S e e   a c c e s s i n g   t h e   C l u s t e r   t o   l e a r n   m o r e .   W h e n   a   P o d   a u t h e n t i c a t e s   a s   a   S e r v i c e A c c o u n t ,   i t s   l e v e l   o f   a c c e s s   d e p e n d s   o n   t h e   a u t h o r i z a t i o n   p l u g i n   a n d   p o l i c y   i n   u s e .   T h e   A P I   c r e d e n t i a l s   a r e   a ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19506"
  },
  {
    "question": "What is Opt out of API credential automounting?",
    "answer": "I f   y o u   d o n ' t   w a n t   t h e   k u b e l e t   t o   a u t o m a t i c a l l y   m o u n t   a   S e r v i c e A c c o u n t ' s   A P I   c r e d e n t i a l s ,   y o u   c a n   o p t   o u t   o f   t h e   d e f a u l t   b e h a v i o r .   Y o u   c a n   o p t   o u t   o f   a u t o m o u n t i n g   A P I   c r e d e n t i a l s   o n   / v a r / r u n / s e c r e t s / k u b e r n e t e s . i o / s e r v i c e a c c o u n t / t o k e n   f o r   a   s e r v i c e   a c c o u n t   b y   s e t t i n g   a u t o m o u n t S e r v i c e A c c o u n t T o k e n :   f a l s e   o n   t h e   S e r v i c e A c c o u n t :   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   n a m e :   b u i l d - r o b o t   a u t o m o u n t S e r v i c e A c c o u n t T o k e n :   f a l s e   . . .   Y o u   c a n   a l s o   o p t   o u t   o f   a u t o m o u n t i n g   A P I   c r e d e n t i a l s   f o r   a   p a r t i c u l a r   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y - p o d   s p e c :   s e r v i c e A c c o u n t N a m e :   b u i l d - r o b o t   a u t o m o u n t S e r v i c e A c c o u n t T o k e n :   f a l s e   . . .   I f   b o t h   t h e   S e r v i c e A c c o u n t   a n d   t h e   P o d ' s   . s p e c   s p e c i f y   a   v a l u e   f o r   a u t o m o u n t S e r v i c e A c c o u n t T o k e n ,   t h e   P o d   s p e c   t a k e s   p r e c e d e n c e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19507"
  },
  {
    "question": "What is Use more than one ServiceAccount?",
    "answer": "E v e r y   n a m e s p a c e   h a s   a t   l e a s t   o n e   S e r v i c e A c c o u n t :   t h e   d e f a u l t   S e r v i c e A c c o u n t   r e s o u r c e ,   c a l l e d   d e f a u l t .   Y o u   c a n   l i s t   a l l   S e r v i c e A c c o u n t   r e s o u r c e s   i n   y o u r   c u r r e n t   n a m e s p a c e   w i t h :   k u b e c t l   g e t   s e r v i c e a c c o u n t s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   S E C R E T S   A G E   d e f a u l t   1   1 d   Y o u   c a n   c r e a t e   a d d i t i o n a l   S e r v i c e A c c o u n t   o b j e c t s   l i k e   t h i s :   k u b e c t l   a p p l y   - f   -   < < E O F   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   n a m e :   b u i l d - r o b o t   E O F   T h e   n a m e   o f   a   S e r v i c e A c c o u n t   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   I f   y o u   g e t   a   c o m p l e t e   d u m p   o f   t h e   s e r v i c e   a c c o u n t   o b j e c t ,   l i k e   t h i s :   k u b e c t l   g e t   s e r v i c e a c c o u n t s / b u i l d - r o b o t   - o   y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   2 0 1 9 - 0 6 - 1 6 T 0 0 : 1 2 : 3 4 Z   n a m e :   b u i l d - r o b o t   n a m e s p a c e :   d e f a u l t   r e s o u r c e V e r s i o n :   \" 2 7 2 5 0 0 \"   u i d :   7 2 1 a b 7 2 3 - 1 3 b c - 1 1 e 5 - a e c 2 - 4 2 0 1 0 a f 0 0 2 1 e   Y o u   c a n   u s e   a u t h o r i z a t i o n   p l u g i n s   t o   s e t   p e r m i s s i o n s   o n   s e r v i c e   a c c o u n t s .   T o   u s e   a   n o n - d e f a u l t   s e r v i c e   a c c o u n t ,   s e t   t h e   s p e c . s e r v i c e A c c o u n t N a m e   f i e l d   o f   a   P o d   t o   t h e   n a m e   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19508"
  },
  {
    "question": "What is Cleanup?",
    "answer": "I f   y o u   t r i e d   c r e a t i n g   b u i l d - r o b o t   S e r v i c e A c c o u n t   f r o m   t h e   e x a m p l e   a b o v e ,   y o u   c a n   c l e a n   i t   u p   b y   r u n n i n g :   k u b e c t l   d e l e t e   s e r v i c e a c c o u n t / b u i l d - r o b o t",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19509"
  },
  {
    "question": "What is Manually create an API token for a ServiceAccount?",
    "answer": "S u p p o s e   y o u   h a v e   a n   e x i s t i n g   s e r v i c e   a c c o u n t   n a m e d   \" b u i l d - r o b o t \"   a s   m e n t i o n e d   e a r l i e r .   Y o u   c a n   g e t   a   t i m e - l i m i t e d   A P I   t o k e n   f o r   t h a t   S e r v i c e A c c o u n t   u s i n g   k u b e c t l :   k u b e c t l   c r e a t e   t o k e n   b u i l d - r o b o t   T h e   o u t p u t   f r o m   t h a t   c o m m a n d   i s   a   t o k e n   t h a t   y o u   c a n   u s e   t o   a u t h e n t i c a t e   a s   t h a t   S e r v i c e A c c o u n t .   Y o u   c a n   r e q u e s t   a   s p e c i f i c   t o k e n   d u r a t i o n   u s i n g   t h e   - - d u r a t i o n   c o m m a n d   l i n e   a r g u m e n t   t o   k u b e c t l   c r e a t e   t o k e n   ( t h e   a c t u a l   d u r a t i o n   o f   t h e   i s s u e d   t o k e n   m i g h t   b e   s h o r t e r ,   o r   c o u l d   e v e n   b e   l o n g e r ) .   U s i n g   k u b e c t l   v 1 . 3 1   o r   l a t e r ,   i t   i s   p o s s i b l e   t o   c r e a t e   a   s e r v i c e   a c c o u n t   t o k e n   t h a t   i s   d i r e c t l y   b o u n d   t o   a   N o d e :   k u b e c t l   c r e a t e   t o k e n   b u i l d - r o b o t   - - b o u n d - o b j e c t - k i n d   N o d e   - - b o u n d - o b j e c t - n a m e   n o d e - 0 0 1   - - b o u n d - o b j e c t - u i d   1 2 3 . . . 4 5 6   T h e   t o k e n   w i l l   b e   v a l i d   u n t i l   i t   e x p i r e s   o r   e i t h e r   t h e   a s s o c i a t e d   N o d e   o r   s e r v i c e   a c c o u n t   a r e   d e l e t e d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19510"
  },
  {
    "question": "What is Note:?",
    "answer": "V e r s i o n s   o f   K u b e r n e t e s   b e f o r e   v 1 . 2 2   a u t o m a t i c a l l y   c r e a t e d   l o n g   t e r m   c r e d e n t i a l s   f o r   a c c e s s i n g   t h e   K u b e r n e t e s   A P I .   T h i s   o l d e r   m e c h a n i s m   w a s   b a s e d   o n   c r e a t i n g   t o k e n   S e c r e t s   t h a t   c o u l d   t h e n   b e   m o u n t e d   i n t o   r u n n i n g   P o d s .   I n   m o r e   r e c e n t   v e r s i o n s ,   i n c l u d i n g   K u b e r n e t e s   v 1 . 3 4 ,   A P I   c r e d e n t i a l s   a r e   o b t a i n e d   d i r e c t l y   b y   u s i n g   t h e   T o k e n R e q u e s t   A P I ,   a n d   a r e   m o u n t e d   i n t o   P o d s   u s i n g   a   p r o j e c t e d   v o l u m e .   T h e   t o k e n s   o b t a i n e d   u s i n g   t h i s   m e t h o d   h a v e   b o u n d e d   l i f e t i m e s ,   a n d   a r e   a u t o m a t i c a l l y   i n v a l i d a t e d   w h e n   t h e   P o d   t h e y   a r e   m o u n t e d   i n t o   i s   d e l e t e d .   Y o u   c a n   s t i l l   m a n u a l l y   c r e a t e   a   s e r v i c e   a c c o u n t   t o k e n   S e c r e t ;   f o r   e x a m p l e ,   i f   y o u   n e e d   a   t o k e n   t h a t   n e v e r   e x p i r e s .   H o w e v e r ,   u s i n g   t h e   T o k e n R e q u e s t   s u b r e s o u r c e   t o   o b t a i n   a   t o k e n   t o   a c c e s s   t h e   A P I   i s   r e c o m m e n d e d   i n s t e a d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19511"
  },
  {
    "question": "What is Manually create a long-lived API token for a ServiceAccount?",
    "answer": "I f   y o u   w a n t   t o   o b t a i n   a n   A P I   t o k e n   f o r   a   S e r v i c e A c c o u n t ,   y o u   c r e a t e   a   n e w   S e c r e t   w i t h   a   s p e c i a l   a n n o t a t i o n ,   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . n a m e .   k u b e c t l   a p p l y   - f   -   < < E O F   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   b u i l d - r o b o t - s e c r e t   a n n o t a t i o n s :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . n a m e :   b u i l d - r o b o t   t y p e :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n   E O F   I f   y o u   v i e w   t h e   S e c r e t   u s i n g :   k u b e c t l   g e t   s e c r e t / b u i l d - r o b o t - s e c r e t   - o   y a m l   y o u   c a n   s e e   t h a t   t h e   S e c r e t   n o w   c o n t a i n s   a n   A P I   t o k e n   f o r   t h e   \" b u i l d - r o b o t \"   S e r v i c e A c c o u n t .   B e c a u s e   o f   t h e   a n n o t a t i o n   y o u   s e t ,   t h e   c o n t r o l   p l a n e   a u t o m a t i c a l l y   g e n e r a t e s   a   t o k e n   f o r   t h a t   S e r v i c e A c c o u n t s ,   a n d   s t o r e s   t h e m   i n t o   t h e   a s s o c i a t e d   S e c r e t .   T h e   c o n t r o l   p l a n e   a l s o   c l e a n s   u p   t o k e n s   f o r   d e l e t e d   S e r v i c e A c c o u n t s .   k u b e c t l   d e s c r i b e   s e c r e t s / b u i l d - r o b o t - s e c r e t   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N a m e :   b u i l d - r o b o t - s e c r e t   N a m e s p a c e :   d e f a u l t   L a b e l s :   < n o n e >   A n n o t a t i o n s :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . n a m e :   b u i l d - r o b o t   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . u i d :   d a 6 8 f 9 c 6 - 9 d 2 6 - 1 1 e 7 - b 8 4 e - 0 0 2 d c 5 2 8 0 0 d a   T y ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19512"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   c o n t e n t   o f   t o k e n   i s   o m i t t e d   h e r e .   T a k e   c a r e   n o t   t o   d i s p l a y   t h e   c o n t e n t s   o f   a   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n   S e c r e t   s o m e w h e r e   t h a t   y o u r   t e r m i n a l   /   c o m p u t e r   s c r e e n   c o u l d   b e   s e e n   b y   a n   o n l o o k e r .   W h e n   y o u   d e l e t e   a   S e r v i c e A c c o u n t   t h a t   h a s   a n   a s s o c i a t e d   S e c r e t ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   a u t o m a t i c a l l y   c l e a n s   u p   t h e   l o n g - l i v e d   t o k e n   f r o m   t h a t   S e c r e t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19513"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   v i e w   t h e   S e r v i c e A c c o u n t   u s i n g :   k u b e c t l   g e t   s e r v i c e a c c o u n t   b u i l d - r o b o t   - o   y a m l   Y o u   c a n ' t   s e e   t h e   b u i l d - r o b o t - s e c r e t   S e c r e t   i n   t h e   S e r v i c e A c c o u n t   A P I   o b j e c t s   . s e c r e t s   f i e l d   b e c a u s e   t h a t   f i e l d   i s   o n l y   p o p u l a t e d   w i t h   a u t o - g e n e r a t e d   S e c r e t s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19514"
  },
  {
    "question": "What is Add ImagePullSecrets to a service account?",
    "answer": "F i r s t ,   c r e a t e   a n   i m a g e P u l l S e c r e t .   N e x t ,   v e r i f y   i t   h a s   b e e n   c r e a t e d .   F o r   e x a m p l e :   C r e a t e   a n   i m a g e P u l l S e c r e t ,   a s   d e s c r i b e d   i n   S p e c i f y i n g   I m a g e P u l l S e c r e t s   o n   a   P o d . k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   m y r e g i s t r y k e y   - - d o c k e r - s e r v e r = < r e g i s t r y   n a m e >   \\   - - d o c k e r - u s e r n a m e = D U M M Y _ U S E R N A M E   - - d o c k e r - p a s s w o r d = D U M M Y _ D O C K E R _ P A S S W O R D   \\   - - d o c k e r - e m a i l = D U M M Y _ D O C K E R _ E M A I L   V e r i f y   i t   h a s   b e e n   c r e a t e d . k u b e c t l   g e t   s e c r e t s   m y r e g i s t r y k e y   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   T Y P E   D A T A   A G E   m y r e g i s t r y k e y   k u b e r n e t e s . i o / . d o c k e r c o n f i g j s o n   1   1 d   C r e a t e   a n   i m a g e P u l l S e c r e t ,   a s   d e s c r i b e d   i n   S p e c i f y i n g   I m a g e P u l l S e c r e t s   o n   a   P o d .   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   m y r e g i s t r y k e y   - - d o c k e r - s e r v e r = < r e g i s t r y   n a m e >   \\   - - d o c k e r - u s e r n a m e = D U M M Y _ U S E R N A M E   - - d o c k e r - p a s s w o r d = D U M M Y _ D O C K E R _ P A S S W O R D   \\   - - d o c k e r - e m a i l = D U M M Y _ D O C K E R _ E M A I L   V e r i f y   i t   h a s   b e e n   c r e a t e d .   k u b e c t l   g e t   s e c r e t s   m y r e g i s t r y k e y   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   T Y P E   D A T A   A G E   m y r e g i s t r y k e y   k u b e r n e t e s . i o / . d o c k e r c o n f i g j s o n   1   1 d",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19515"
  },
  {
    "question": "What is Add image pull secret to service account?",
    "answer": "N e x t ,   m o d i f y   t h e   d e f a u l t   s e r v i c e   a c c o u n t   f o r   t h e   n a m e s p a c e   t o   u s e   t h i s   S e c r e t   a s   a n   i m a g e P u l l S e c r e t .   k u b e c t l   p a t c h   s e r v i c e a c c o u n t   d e f a u l t   - p   ' { \" i m a g e P u l l S e c r e t s \" :   [ { \" n a m e \" :   \" m y r e g i s t r y k e y \" } ] } '   Y o u   c a n   a c h i e v e   t h e   s a m e   o u t c o m e   b y   e d i t i n g   t h e   o b j e c t   m a n u a l l y :   k u b e c t l   e d i t   s e r v i c e a c c o u n t / d e f a u l t   T h e   o u t p u t   o f   t h e   s a . y a m l   f i l e   i s   s i m i l a r   t o   t h i s :   Y o u r   s e l e c t e d   t e x t   e d i t o r   w i l l   o p e n   w i t h   a   c o n f i g u r a t i o n   l o o k i n g   s o m e t h i n g   l i k e   t h i s :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   2 0 2 1 - 0 7 - 0 7 T 2 2 : 0 2 : 3 9 Z   n a m e :   d e f a u l t   n a m e s p a c e :   d e f a u l t   r e s o u r c e V e r s i o n :   \" 2 4 3 0 2 4 \"   u i d :   0 5 2 f b 0 f 4 - 3 d 5 0 - 1 1 e 5 - b 0 6 6 - 4 2 0 1 0 a f 0 d 7 b 6   U s i n g   y o u r   e d i t o r ,   d e l e t e   t h e   l i n e   w i t h   k e y   r e s o u r c e V e r s i o n ,   a d d   l i n e s   f o r   i m a g e P u l l S e c r e t s :   a n d   s a v e   i t .   L e a v e   t h e   u i d   v a l u e   s e t   t h e   s a m e   a s   y o u   f o u n d   i t .   A f t e r   y o u   m a d e   t h o s e   c h a n g e s ,   t h e   e d i t e d   S e r v i c e A c c o u n t   l o o k s   s o m e t h i n g   l i k e   t h i s :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   2 0 2 1 - 0 7 - 0 7 T 2 2 : 0 2 : 3 9 Z   n a m e :   d e f a u l t   n a m e s p a c e :   d e f a u l t   u i d :   0 5 2 f b 0 f 4 - 3 d 5 0 - 1 1 e 5 - ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19516"
  },
  {
    "question": "What is Verify that imagePullSecrets are set for new Pods?",
    "answer": "N o w ,   w h e n   a   n e w   P o d   i s   c r e a t e d   i n   t h e   c u r r e n t   n a m e s p a c e   a n d   u s i n g   t h e   d e f a u l t   S e r v i c e A c c o u n t ,   t h e   n e w   P o d   h a s   i t s   s p e c . i m a g e P u l l S e c r e t s   f i e l d   s e t   a u t o m a t i c a l l y :   k u b e c t l   r u n   n g i n x   - - i m a g e = < r e g i s t r y   n a m e > / n g i n x   - - r e s t a r t = N e v e r   k u b e c t l   g e t   p o d   n g i n x   - o = j s o n p a t h = ' { . s p e c . i m a g e P u l l S e c r e t s [ 0 ] . n a m e } { \" \\ n \" } '   T h e   o u t p u t   i s :   m y r e g i s t r y k e y",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19517"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   e n a b l e   a n d   u s e   t o k e n   r e q u e s t   p r o j e c t i o n ,   y o u   m u s t   s p e c i f y   e a c h   o f   t h e   f o l l o w i n g   c o m m a n d   l i n e   a r g u m e n t s   t o   k u b e - a p i s e r v e r :   T h e   k u b e l e t   c a n   a l s o   p r o j e c t   a   S e r v i c e A c c o u n t   t o k e n   i n t o   a   P o d .   Y o u   c a n   s p e c i f y   d e s i r e d   p r o p e r t i e s   o f   t h e   t o k e n ,   s u c h   a s   t h e   a u d i e n c e   a n d   t h e   v a l i d i t y   d u r a t i o n .   T h e s e   p r o p e r t i e s   a r e   n o t   c o n f i g u r a b l e   o n   t h e   d e f a u l t   S e r v i c e A c c o u n t   t o k e n .   T h e   t o k e n   w i l l   a l s o   b e c o m e   i n v a l i d   a g a i n s t   t h e   A P I   w h e n   e i t h e r   t h e   P o d   o r   t h e   S e r v i c e A c c o u n t   i s   d e l e t e d .   Y o u   c a n   c o n f i g u r e   t h i s   b e h a v i o r   f o r   t h e   s p e c   o f   a   P o d   u s i n g   a   p r o j e c t e d   v o l u m e   t y p e   c a l l e d   S e r v i c e A c c o u n t T o k e n .   T h e   t o k e n   f r o m   t h i s   p r o j e c t e d   v o l u m e   i s   a   J S O N   W e b   T o k e n   ( J W T ) .   T h e   J S O N   p a y l o a d   o f   t h i s   t o k e n   f o l l o w s   a   w e l l   d e f i n e d   s c h e m a   -   a n   e x a m p l e   p a y l o a d   f o r   a   p o d   b o u n d   t o k e n :   {   \" a u d \" :   [   #   m a t c h e s   t h e   r e q u e s t e d   a u d i e n c e s ,   o r   t h e   A P I   s e r v e r ' s   d e f a u l t   a u d i e n c e s   w h e n   n o n e   a r e   e x p l i c i t l y   r e q u e s t e d   \" h t t p s : / / k u b e r n e t e s . d e f a u l t . s v c \"   ] ,   \" e x p \" :   1 7 3 1 6 1 3 4 1 3 ,   \" i a t \" :   1 7 0 0 0 7 7 4 1 3 ,   \" i s s \" :   \" h t t p s : / / k u b e r n e t e s . d e f a u l t . s v c \" ,   #   m a t c h e s   t h e   f i r s t ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19518"
  },
  {
    "question": "What is Launch a Pod using service account token projection?",
    "answer": "T o   p r o v i d e   a   P o d   w i t h   a   t o k e n   w i t h   a n   a u d i e n c e   o f   v a u l t   a n d   a   v a l i d i t y   d u r a t i o n   o f   t w o   h o u r s ,   y o u   c o u l d   d e f i n e   a   P o d   m a n i f e s t   t h a t   i s   s i m i l a r   t o :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   s p e c :   c o n t a i n e r s :   -   i m a g e :   n g i n x   n a m e :   n g i n x   v o l u m e M o u n t s :   -   m o u n t P a t h :   / v a r / r u n / s e c r e t s / t o k e n s   n a m e :   v a u l t - t o k e n   s e r v i c e A c c o u n t N a m e :   b u i l d - r o b o t   v o l u m e s :   -   n a m e :   v a u l t - t o k e n   p r o j e c t e d :   s o u r c e s :   -   s e r v i c e A c c o u n t T o k e n :   p a t h :   v a u l t - t o k e n   e x p i r a t i o n S e c o n d s :   7 2 0 0   a u d i e n c e :   v a u l t   C r e a t e   t h e   P o d :   k u b e c t l   c r e a t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p o d - p r o j e c t e d - s v c - t o k e n . y a m l   T h e   k u b e l e t   w i l l :   r e q u e s t   a n d   s t o r e   t h e   t o k e n   o n   b e h a l f   o f   t h e   P o d ;   m a k e   t h e   t o k e n   a v a i l a b l e   t o   t h e   P o d   a t   a   c o n f i g u r a b l e   f i l e   p a t h ;   a n d   r e f r e s h   t h e   t o k e n   a s   i t   a p p r o a c h e s   e x p i r a t i o n .   T h e   k u b e l e t   p r o a c t i v e l y   r e q u e s t s   r o t a t i o n   f o r   t h e   t o k e n   i f   i t   i s   o l d e r   t h a n   8 0 %   o f   i t s   t o t a l   t i m e - t o - l i v e   ( T T L ) ,   o r   i f   t h e   t o k e n   i s   o l d e r   t h a n   2 4   h o u r s .   T h e   a p p l i c a t i o n   i s   r e s p o n s i b l e   f o r   r e l o a d i n g   t h e   t o k e n   w h e n   i t   r o t a t e s .   I t ' s   o f t e n   g o o d   e n o u g h   f o r   t h e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19519"
  },
  {
    "question": "What is Service account issuer discovery?",
    "answer": "I f   y o u   h a v e   e n a b l e d   t o k e n   p r o j e c t i o n   f o r   S e r v i c e A c c o u n t s   i n   y o u r   c l u s t e r ,   t h e n   y o u   c a n   a l s o   m a k e   u s e   o f   t h e   d i s c o v e r y   f e a t u r e .   K u b e r n e t e s   p r o v i d e s   a   w a y   f o r   c l i e n t s   t o   f e d e r a t e   a s   a n   i d e n t i t y   p r o v i d e r ,   s o   t h a t   o n e   o r   m o r e   e x t e r n a l   s y s t e m s   c a n   a c t   a s   a   r e l y i n g   p a r t y .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19520"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   i s s u e r   U R L   m u s t   c o m p l y   w i t h   t h e   O I D C   D i s c o v e r y   S p e c .   I n   p r a c t i c e ,   t h i s   m e a n s   i t   m u s t   u s e   t h e   h t t p s   s c h e m e ,   a n d   s h o u l d   s e r v e   a n   O p e n I D   p r o v i d e r   c o n f i g u r a t i o n   a t   { s e r v i c e - a c c o u n t - i s s u e r } / . w e l l - k n o w n / o p e n i d - c o n f i g u r a t i o n .   I f   t h e   U R L   d o e s   n o t   c o m p l y ,   S e r v i c e A c c o u n t   i s s u e r   d i s c o v e r y   e n d p o i n t s   a r e   n o t   r e g i s t e r e d   o r   a c c e s s i b l e .   W h e n   e n a b l e d ,   t h e   K u b e r n e t e s   A P I   s e r v e r   p u b l i s h e s   a n   O p e n I D   P r o v i d e r   C o n f i g u r a t i o n   d o c u m e n t   v i a   H T T P .   T h e   c o n f i g u r a t i o n   d o c u m e n t   i s   p u b l i s h e d   a t   / . w e l l - k n o w n / o p e n i d - c o n f i g u r a t i o n .   T h e   O p e n I D   P r o v i d e r   C o n f i g u r a t i o n   i s   s o m e t i m e s   r e f e r r e d   t o   a s   t h e   d i s c o v e r y   d o c u m e n t .   T h e   K u b e r n e t e s   A P I   s e r v e r   p u b l i s h e s   t h e   r e l a t e d   J S O N   W e b   K e y   S e t   ( J W K S ) ,   a l s o   v i a   H T T P ,   a t   / o p e n i d / v 1 / j w k s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19521"
  },
  {
    "question": "What is Note:?",
    "answer": "C l u s t e r s   t h a t   u s e   R B A C   i n c l u d e   a   d e f a u l t   C l u s t e r R o l e   c a l l e d   s y s t e m : s e r v i c e - a c c o u n t - i s s u e r - d i s c o v e r y .   A   d e f a u l t   C l u s t e r R o l e B i n d i n g   a s s i g n s   t h i s   r o l e   t o   t h e   s y s t e m : s e r v i c e a c c o u n t s   g r o u p ,   w h i c h   a l l   S e r v i c e A c c o u n t s   i m p l i c i t l y   b e l o n g   t o .   T h i s   a l l o w s   p o d s   r u n n i n g   o n   t h e   c l u s t e r   t o   a c c e s s   t h e   s e r v i c e   a c c o u n t   d i s c o v e r y   d o c u m e n t   v i a   t h e i r   m o u n t e d   s e r v i c e   a c c o u n t   t o k e n .   A d m i n i s t r a t o r s   m a y ,   a d d i t i o n a l l y ,   c h o o s e   t o   b i n d   t h e   r o l e   t o   s y s t e m : a u t h e n t i c a t e d   o r   s y s t e m : u n a u t h e n t i c a t e d   d e p e n d i n g   o n   t h e i r   s e c u r i t y   r e q u i r e m e n t s   a n d   w h i c h   e x t e r n a l   s y s t e m s   t h e y   i n t e n d   t o   f e d e r a t e   w i t h .   T h e   J W K S   r e s p o n s e   c o n t a i n s   p u b l i c   k e y s   t h a t   a   r e l y i n g   p a r t y   c a n   u s e   t o   v a l i d a t e   t h e   K u b e r n e t e s   s e r v i c e   a c c o u n t   t o k e n s .   R e l y i n g   p a r t i e s   f i r s t   q u e r y   f o r   t h e   O p e n I D   P r o v i d e r   C o n f i g u r a t i o n ,   a n d   u s e   t h e   j w k s _ u r i   f i e l d   i n   t h e   r e s p o n s e   t o   f i n d   t h e   J W K S .   I n   m a n y   c a s e s ,   K u b e r n e t e s   A P I   s e r v e r s   a r e   n o t   a v a i l a b l e   o n   t h e   p u b l i c   i n t e r n e t ,   b u t   p u b l i c   e n d p o i n t s   t h a t   s e r v e   c a c h e d   r e s p o n s e s   f r o m   t h e   A P I   s e r v e r   c a n   b e   m a d e   a v a i l a b l e   b y   u s e r s   o r   b ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19522"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   a l s o :   R e a d   t h e   C l u s t e r   A d m i n   G u i d e   t o   S e r v i c e   A c c o u n t s R e a d   a b o u t   A u t h o r i z a t i o n   i n   K u b e r n e t e s R e a d   a b o u t   S e c r e t s o r   l e a r n   t o   d i s t r i b u t e   c r e d e n t i a l s   s e c u r e l y   u s i n g   S e c r e t s b u t   a l s o   b e a r   i n   m i n d   t h a t   u s i n g   S e c r e t s   f o r   a u t h e n t i c a t i n g   a s   a   S e r v i c e A c c o u n t   i s   d e p r e c a t e d .   T h e   r e c o m m e n d e d   a l t e r n a t i v e   i s   S e r v i c e A c c o u n t   t o k e n   v o l u m e   p r o j e c t i o n . R e a d   a b o u t   p r o j e c t e d   v o l u m e s . F o r   b a c k g r o u n d   o n   O I D C   d i s c o v e r y ,   r e a d   t h e   S e r v i c e A c c o u n t   s i g n i n g   k e y   r e t r i e v a l   K u b e r n e t e s   E n h a n c e m e n t   P r o p o s a l R e a d   t h e   O I D C   D i s c o v e r y   S p e c   o r   l e a r n   t o   d i s t r i b u t e   c r e d e n t i a l s   s e c u r e l y   u s i n g   S e c r e t s b u t   a l s o   b e a r   i n   m i n d   t h a t   u s i n g   S e c r e t s   f o r   a u t h e n t i c a t i n g   a s   a   S e r v i c e A c c o u n t   i s   d e p r e c a t e d .   T h e   r e c o m m e n d e d   a l t e r n a t i v e   i s   S e r v i c e A c c o u n t   t o k e n   v o l u m e   p r o j e c t i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19523"
  },
  {
    "question": "What is 16 - Pull an Image from a Private Registry?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c r e a t e   a   P o d   t h a t   u s e s   a   S e c r e t   t o   p u l l   a n   i m a g e   f r o m   a   p r i v a t e   c o n t a i n e r   i m a g e   r e g i s t r y   o r   r e p o s i t o r y .   T h e r e   a r e   m a n y   p r i v a t e   r e g i s t r i e s   i n   u s e .   T h i s   t a s k   u s e s   D o c k e r   H u b   a s   a n   e x a m p l e   r e g i s t r y .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19524"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   d o   t h i s   e x e r c i s e ,   y o u   n e e d   t h e   d o c k e r   c o m m a n d   l i n e   t o o l ,   a n d   a   D o c k e r   I D   f o r   w h i c h   y o u   k n o w   t h e   p a s s w o r d . I f   y o u   a r e   u s i n g   a   d i f f e r e n t   p r i v a t e   c o n t a i n e r   r e g i s t r y ,   y o u   n e e d   t h e   c o m m a n d   l i n e   t o o l   f o r   t h a t   r e g i s t r y   a n d   a n y   l o g i n   i n f o r m a t i o n   f o r   t h e   r e g i s t r y .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19525"
  },
  {
    "question": "What is Log in to Docker Hub?",
    "answer": "O n   y o u r   l a p t o p ,   y o u   m u s t   a u t h e n t i c a t e   w i t h   a   r e g i s t r y   i n   o r d e r   t o   p u l l   a   p r i v a t e   i m a g e .   U s e   t h e   d o c k e r   t o o l   t o   l o g   i n   t o   D o c k e r   H u b .   S e e   t h e   l o g   i n   s e c t i o n   o f   D o c k e r   I D   a c c o u n t s   f o r   m o r e   i n f o r m a t i o n .   d o c k e r   l o g i n   W h e n   p r o m p t e d ,   e n t e r   y o u r   D o c k e r   I D ,   a n d   t h e n   t h e   c r e d e n t i a l   y o u   w a n t   t o   u s e   ( a c c e s s   t o k e n ,   o r   t h e   p a s s w o r d   f o r   y o u r   D o c k e r   I D ) .   T h e   l o g i n   p r o c e s s   c r e a t e s   o r   u p d a t e s   a   c o n f i g . j s o n   f i l e   t h a t   h o l d s   a n   a u t h o r i z a t i o n   t o k e n .   R e v i e w   h o w   K u b e r n e t e s   i n t e r p r e t s   t h i s   f i l e .   V i e w   t h e   c o n f i g . j s o n   f i l e :   c a t   ~ / . d o c k e r / c o n f i g . j s o n   T h e   o u t p u t   c o n t a i n s   a   s e c t i o n   s i m i l a r   t o   t h i s :   {   \" a u t h s \" :   {   \" h t t p s : / / i n d e x . d o c k e r . i o / v 1 / \" :   {   \" a u t h \" :   \" c 3 R . . . z E 2 \"   }   }   }",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19526"
  },
  {
    "question": "What is Create a Secret based on existing credentials?",
    "answer": "A   K u b e r n e t e s   c l u s t e r   u s e s   t h e   S e c r e t   o f   k u b e r n e t e s . i o / d o c k e r c o n f i g j s o n   t y p e   t o   a u t h e n t i c a t e   w i t h   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   a   p r i v a t e   i m a g e .   I f   y o u   a l r e a d y   r a n   d o c k e r   l o g i n ,   y o u   c a n   c o p y   t h a t   c r e d e n t i a l   i n t o   K u b e r n e t e s :   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   r e g c r e d   \\   - - f r o m - f i l e = . d o c k e r c o n f i g j s o n = < p a t h / t o / . d o c k e r / c o n f i g . j s o n >   \\   - - t y p e = k u b e r n e t e s . i o / d o c k e r c o n f i g j s o n   I f   y o u   n e e d   m o r e   c o n t r o l   ( f o r   e x a m p l e ,   t o   s e t   a   n a m e s p a c e   o r   a   l a b e l   o n   t h e   n e w   s e c r e t )   t h e n   y o u   c a n   c u s t o m i s e   t h e   S e c r e t   b e f o r e   s t o r i n g   i t .   B e   s u r e   t o :   s e t   t h e   n a m e   o f   t h e   d a t a   i t e m   t o   . d o c k e r c o n f i g j s o n b a s e 6 4   e n c o d e   t h e   D o c k e r   c o n f i g u r a t i o n   f i l e   a n d   t h e n   p a s t e   t h a t   s t r i n g ,   u n b r o k e n   a s   t h e   v a l u e   f o r   f i e l d   d a t a [ \" . d o c k e r c o n f i g j s o n \" ] s e t   t y p e   t o   k u b e r n e t e s . i o / d o c k e r c o n f i g j s o n   E x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   m y r e g i s t r y k e y   n a m e s p a c e :   a w e s o m e a p p s   d a t a :   . d o c k e r c o n f i g j s o n :   U m V h b G x 5 I H J l Y W x s e S B y Z W V l Z W V l Z W V l Z W F h Y W F h Y W F h Y W F h Y W F h Y W F h Y W F h Y W F h Y W F h Y W x s b G x s b G x s b G x s b G x s b G x s b G x s b G x s b G x s b G x s b G x 5 e X l 5 e X l 5 e X l 5 e X l 5 e X l 5 e X l 5 e S B s b G x s b G x s ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19527"
  },
  {
    "question": "What is Create a Secret by providing credentials on the command line?",
    "answer": "C r e a t e   t h i s   S e c r e t ,   n a m i n g   i t   r e g c r e d :   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   r e g c r e d   - - d o c k e r - s e r v e r = < y o u r - r e g i s t r y - s e r v e r >   - - d o c k e r - u s e r n a m e = < y o u r - n a m e >   - - d o c k e r - p a s s w o r d = < y o u r - p w o r d >   - - d o c k e r - e m a i l = < y o u r - e m a i l >   w h e r e :   < y o u r - r e g i s t r y - s e r v e r >   i s   y o u r   P r i v a t e   D o c k e r   R e g i s t r y   F Q D N .   U s e   h t t p s : / / i n d e x . d o c k e r . i o / v 1 /   f o r   D o c k e r H u b . < y o u r - n a m e >   i s   y o u r   D o c k e r   u s e r n a m e . < y o u r - p w o r d >   i s   y o u r   D o c k e r   p a s s w o r d . < y o u r - e m a i l >   i s   y o u r   D o c k e r   e m a i l .   Y o u   h a v e   s u c c e s s f u l l y   s e t   y o u r   D o c k e r   c r e d e n t i a l s   i n   t h e   c l u s t e r   a s   a   S e c r e t   c a l l e d   r e g c r e d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19528"
  },
  {
    "question": "What is Inspecting the Secret regcred?",
    "answer": "T o   u n d e r s t a n d   t h e   c o n t e n t s   o f   t h e   r e g c r e d   S e c r e t   y o u   c r e a t e d ,   s t a r t   b y   v i e w i n g   t h e   S e c r e t   i n   Y A M L   f o r m a t :   k u b e c t l   g e t   s e c r e t   r e g c r e d   - - o u t p u t = y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   . . .   n a m e :   r e g c r e d   . . .   d a t a :   . d o c k e r c o n f i g j s o n :   e y J o d H R w c z o v L 2 l u Z G V 4 L   . . .   J 0 Q U l 6 R T I i f X 0 =   t y p e :   k u b e r n e t e s . i o / d o c k e r c o n f i g j s o n   T h e   v a l u e   o f   t h e   . d o c k e r c o n f i g j s o n   f i e l d   i s   a   b a s e 6 4   r e p r e s e n t a t i o n   o f   y o u r   D o c k e r   c r e d e n t i a l s .   T o   u n d e r s t a n d   w h a t   i s   i n   t h e   . d o c k e r c o n f i g j s o n   f i e l d ,   c o n v e r t   t h e   s e c r e t   d a t a   t o   a   r e a d a b l e   f o r m a t :   k u b e c t l   g e t   s e c r e t   r e g c r e d   - - o u t p u t = \" j s o n p a t h = { . d a t a . \\ . d o c k e r c o n f i g j s o n } \"   |   b a s e 6 4   - - d e c o d e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   { \" a u t h s \" : { \" y o u r . p r i v a t e . r e g i s t r y . e x a m p l e . c o m \" : { \" u s e r n a m e \" : \" j a n e d o e \" , \" p a s s w o r d \" : \" x x x x x x x x x x x \" , \" e m a i l \" : \" j d o e @ e x a m p l e . c o m \" , \" a u t h \" : \" c 3 R . . . z E 2 \" } } }   T o   u n d e r s t a n d   w h a t   i s   i n   t h e   a u t h   f i e l d ,   c o n v e r t   t h e   b a s e 6 4 - e n c o d e d   d a t a   t o   a   r e a d a b l e   f o r m a t :   e c h o   \" c 3 R . . . z E 2 \"   |   b a s e 6 4   - - d e c o d e   T h e   o u t p u t ,   u s e r n a m e   a n d   p a s s w o r d   c o n c a t e n a t e d   w i t h   a   : ,   i s   s i m i l a r   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19529"
  },
  {
    "question": "What is Create a Pod that uses your Secret?",
    "answer": "H e r e   i s   a   m a n i f e s t   f o r   a n   e x a m p l e   P o d   t h a t   n e e d s   a c c e s s   t o   y o u r   D o c k e r   c r e d e n t i a l s   i n   r e g c r e d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p r i v a t e - r e g   s p e c :   c o n t a i n e r s :   -   n a m e :   p r i v a t e - r e g - c o n t a i n e r   i m a g e :   < y o u r - p r i v a t e - i m a g e >   i m a g e P u l l S e c r e t s :   -   n a m e :   r e g c r e d   D o w n l o a d   t h e   a b o v e   f i l e   o n t o   y o u r   c o m p u t e r :   c u r l   - L   - o   m y - p r i v a t e - r e g - p o d . y a m l   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p r i v a t e - r e g - p o d . y a m l   I n   f i l e   m y - p r i v a t e - r e g - p o d . y a m l ,   r e p l a c e   < y o u r - p r i v a t e - i m a g e >   w i t h   t h e   p a t h   t o   a n   i m a g e   i n   a   p r i v a t e   r e g i s t r y   s u c h   a s :   y o u r . p r i v a t e . r e g i s t r y . e x a m p l e . c o m / j a n e d o e / j d o e - p r i v a t e : v 1   T o   p u l l   t h e   i m a g e   f r o m   t h e   p r i v a t e   r e g i s t r y ,   K u b e r n e t e s   n e e d s   c r e d e n t i a l s .   T h e   i m a g e P u l l S e c r e t s   f i e l d   i n   t h e   c o n f i g u r a t i o n   f i l e   s p e c i f i e s   t h a t   K u b e r n e t e s   s h o u l d   g e t   t h e   c r e d e n t i a l s   f r o m   a   S e c r e t   n a m e d   r e g c r e d .   C r e a t e   a   P o d   t h a t   u s e s   y o u r   S e c r e t ,   a n d   v e r i f y   t h a t   t h e   P o d   i s   r u n n i n g :   k u b e c t l   a p p l y   - f   m y - p r i v a t e - r e g - p o d . y a m l   k u b e c t l   g e t   p o d   p r i v a t e - r e g",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19530"
  },
  {
    "question": "What is Note:?",
    "answer": "A l s o ,   i n   c a s e   t h e   P o d   f a i l s   t o   s t a r t   w i t h   t h e   s t a t u s   I m a g e P u l l B a c k O f f ,   v i e w   t h e   P o d   e v e n t s :   k u b e c t l   d e s c r i b e   p o d   p r i v a t e - r e g   I f   y o u   t h e n   s e e   a n   e v e n t   w i t h   t h e   r e a s o n   s e t   t o   F a i l e d T o R e t r i e v e I m a g e P u l l S e c r e t ,   K u b e r n e t e s   c a n ' t   f i n d   a   S e c r e t   w i t h   n a m e   ( r e g c r e d ,   i n   t h i s   e x a m p l e ) .   M a k e   s u r e   t h a t   t h e   S e c r e t   y o u   h a v e   s p e c i f i e d   e x i s t s ,   a n d   t h a t   i t s   n a m e   i s   s p e l l e d   p r o p e r l y .   E v e n t s :   . . .   R e a s o n   . . .   M e s s a g e   - - - - - -   - - - - - - -   . . .   F a i l e d T o R e t r i e v e I m a g e P u l l S e c r e t   . . .   U n a b l e   t o   r e t r i e v e   s o m e   i m a g e   p u l l   s e c r e t s   ( < r e g c r e d > ) ;   a t t e m p t i n g   t o   p u l l   t h e   i m a g e   m a y   n o t   s u c c e e d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19531"
  },
  {
    "question": "What is Using images from multiple registries?",
    "answer": "A   p o d   c a n   h a v e   m u l t i p l e   c o n t a i n e r s ,   e a c h   c o n t a i n e r   i m a g e   c a n   b e   f r o m   a   d i f f e r e n t   r e g i s t r y .   Y o u   c a n   u s e   m u l t i p l e   i m a g e P u l l S e c r e t s   w i t h   o n e   p o d ,   a n d   e a c h   c a n   c o n t a i n   m u l t i p l e   c r e d e n t i a l s .   T h e   i m a g e   p u l l   w i l l   b e   a t t e m p t e d   u s i n g   e a c h   c r e d e n t i a l   t h a t   m a t c h e s   t h e   r e g i s t r y .   I f   n o   c r e d e n t i a l s   m a t c h   t h e   r e g i s t r y ,   t h e   i m a g e   p u l l   w i l l   b e   a t t e m p t e d   w i t h o u t   a u t h o r i z a t i o n   o r   u s i n g   c u s t o m   r u n t i m e   s p e c i f i c   c o n f i g u r a t i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19532"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   S e c r e t s o r   r e a d   t h e   A P I   r e f e r e n c e   f o r   S e c r e t L e a r n   m o r e   a b o u t   u s i n g   a   p r i v a t e   r e g i s t r y . L e a r n   m o r e   a b o u t   a d d i n g   i m a g e   p u l l   s e c r e t s   t o   a   s e r v i c e   a c c o u n t . S e e   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y . S e e   t h e   i m a g e P u l l S e c r e t s   f i e l d   w i t h i n   t h e   c o n t a i n e r   d e f i n i t i o n s   o f   a   P o d   o r   r e a d   t h e   A P I   r e f e r e n c e   f o r   S e c r e t",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19533"
  },
  {
    "question": "What is 17 - Configure Liveness, Readiness and Startup Probes?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   l i v e n e s s ,   r e a d i n e s s   a n d   s t a r t u p   p r o b e s   f o r   c o n t a i n e r s .   F o r   m o r e   i n f o r m a t i o n   a b o u t   p r o b e s ,   s e e   L i v e n e s s ,   R e a d i n e s s   a n d   S t a r t u p   P r o b e s   T h e   k u b e l e t   u s e s   l i v e n e s s   p r o b e s   t o   k n o w   w h e n   t o   r e s t a r t   a   c o n t a i n e r .   F o r   e x a m p l e ,   l i v e n e s s   p r o b e s   c o u l d   c a t c h   a   d e a d l o c k ,   w h e r e   a n   a p p l i c a t i o n   i s   r u n n i n g ,   b u t   u n a b l e   t o   m a k e   p r o g r e s s .   R e s t a r t i n g   a   c o n t a i n e r   i n   s u c h   a   s t a t e   c a n   h e l p   t o   m a k e   t h e   a p p l i c a t i o n   m o r e   a v a i l a b l e   d e s p i t e   b u g s .   A   c o m m o n   p a t t e r n   f o r   l i v e n e s s   p r o b e s   i s   t o   u s e   t h e   s a m e   l o w - c o s t   H T T P   e n d p o i n t   a s   f o r   r e a d i n e s s   p r o b e s ,   b u t   w i t h   a   h i g h e r   f a i l u r e T h r e s h o l d .   T h i s   e n s u r e s   t h a t   t h e   p o d   i s   o b s e r v e d   a s   n o t - r e a d y   f o r   s o m e   p e r i o d   o f   t i m e   b e f o r e   i t   i s   h a r d   k i l l e d .   T h e   k u b e l e t   u s e s   r e a d i n e s s   p r o b e s   t o   k n o w   w h e n   a   c o n t a i n e r   i s   r e a d y   t o   s t a r t   a c c e p t i n g   t r a f f i c .   O n e   u s e   o f   t h i s   s i g n a l   i s   t o   c o n t r o l   w h i c h   P o d s   a r e   u s e d   a s   b a c k e n d s   f o r   S e r v i c e s .   A   P o d   i s   c o n s i d e r e d   r e a d y   w h e n   i t s   R e a d y   c o n d i t i o n   i s   t r u e .   W h e n   a   P o d   i s   n o t   r e a d y ,   i t   i s   r e m o v e d   f r o m   S e r v i c e   l o a d   b a l a n c e r s .   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19534"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19535"
  },
  {
    "question": "What is Define a liveness command?",
    "answer": "M a n y   a p p l i c a t i o n s   r u n n i n g   f o r   l o n g   p e r i o d s   o f   t i m e   e v e n t u a l l y   t r a n s i t i o n   t o   b r o k e n   s t a t e s ,   a n d   c a n n o t   r e c o v e r   e x c e p t   b y   b e i n g   r e s t a r t e d .   K u b e r n e t e s   p r o v i d e s   l i v e n e s s   p r o b e s   t o   d e t e c t   a n d   r e m e d y   s u c h   s i t u a t i o n s .   I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   r u n s   a   c o n t a i n e r   b a s e d   o n   t h e   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   i m a g e .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   l a b e l s :   t e s t :   l i v e n e s s   n a m e :   l i v e n e s s - e x e c   s p e c :   c o n t a i n e r s :   -   n a m e :   l i v e n e s s   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   a r g s :   -   / b i n / s h   -   - c   -   t o u c h   / t m p / h e a l t h y ;   s l e e p   3 0 ;   r m   - f   / t m p / h e a l t h y ;   s l e e p   6 0 0   l i v e n e s s P r o b e :   e x e c :   c o m m a n d :   -   c a t   -   / t m p / h e a l t h y   i n i t i a l D e l a y S e c o n d s :   5   p e r i o d S e c o n d s :   5   I n   t h e   c o n f i g u r a t i o n   f i l e ,   y o u   c a n   s e e   t h a t   t h e   P o d   h a s   a   s i n g l e   C o n t a i n e r .   T h e   p e r i o d S e c o n d s   f i e l d   s p e c i f i e s   t h a t   t h e   k u b e l e t   s h o u l d   p e r f o r m   a   l i v e n e s s   p r o b e   e v e r y   5   s e c o n d s .   T h e   i n i t i a l D e l a y S e c o n d s   f i e l d   t e l l s   t h e   k u b e l e t   t h a t   i t   s h o u l d   w a i t   5   s e c o n d s   b e f o r e   p e r f o r m i n g   t h e   f i r s t   p r o b e .   T o   p e r f o r m   a   p r o b e ,   t h e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19536"
  },
  {
    "question": "What is Define a liveness HTTP request?",
    "answer": "A n o t h e r   k i n d   o f   l i v e n e s s   p r o b e   u s e s   a n   H T T P   G E T   r e q u e s t .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   a   P o d   t h a t   r u n s   a   c o n t a i n e r   b a s e d   o n   t h e   r e g i s t r y . k 8 s . i o / e 2 e - t e s t - i m a g e s / a g n h o s t   i m a g e .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   l a b e l s :   t e s t :   l i v e n e s s   n a m e :   l i v e n e s s - h t t p   s p e c :   c o n t a i n e r s :   -   n a m e :   l i v e n e s s   i m a g e :   r e g i s t r y . k 8 s . i o / e 2 e - t e s t - i m a g e s / a g n h o s t : 2 . 4 0   a r g s :   -   l i v e n e s s   l i v e n e s s P r o b e :   h t t p G e t :   p a t h :   / h e a l t h z   p o r t :   8 0 8 0   h t t p H e a d e r s :   -   n a m e :   C u s t o m - H e a d e r   v a l u e :   A w e s o m e   i n i t i a l D e l a y S e c o n d s :   3   p e r i o d S e c o n d s :   3   I n   t h e   c o n f i g u r a t i o n   f i l e ,   y o u   c a n   s e e   t h a t   t h e   P o d   h a s   a   s i n g l e   c o n t a i n e r .   T h e   p e r i o d S e c o n d s   f i e l d   s p e c i f i e s   t h a t   t h e   k u b e l e t   s h o u l d   p e r f o r m   a   l i v e n e s s   p r o b e   e v e r y   3   s e c o n d s .   T h e   i n i t i a l D e l a y S e c o n d s   f i e l d   t e l l s   t h e   k u b e l e t   t h a t   i t   s h o u l d   w a i t   3   s e c o n d s   b e f o r e   p e r f o r m i n g   t h e   f i r s t   p r o b e .   T o   p e r f o r m   a   p r o b e ,   t h e   k u b e l e t   s e n d s   a n   H T T P   G E T   r e q u e s t   t o   t h e   s e r v e r   t h a t   i s   r u n n i n g   i n   t h e   c o n t a i n e r   a n d   l i s t e n i n g   o n   p o r t   8 0 8 0 .   I f   t h e   h a n d l e r   f o r   t h e   s e r v e r ' s   / h e a l t h z   p a t h   r e t u r n s   a   s u c c e s s   c o d e ,   t h e   k u ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19537"
  },
  {
    "question": "What is Define a TCP liveness probe?",
    "answer": "A   t h i r d   t y p e   o f   l i v e n e s s   p r o b e   u s e s   a   T C P   s o c k e t .   W i t h   t h i s   c o n f i g u r a t i o n ,   t h e   k u b e l e t   w i l l   a t t e m p t   t o   o p e n   a   s o c k e t   t o   y o u r   c o n t a i n e r   o n   t h e   s p e c i f i e d   p o r t .   I f   i t   c a n   e s t a b l i s h   a   c o n n e c t i o n ,   t h e   c o n t a i n e r   i s   c o n s i d e r e d   h e a l t h y ,   i f   i t   c a n ' t   i t   i s   c o n s i d e r e d   a   f a i l u r e .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   g o p r o x y   l a b e l s :   a p p :   g o p r o x y   s p e c :   c o n t a i n e r s :   -   n a m e :   g o p r o x y   i m a g e :   r e g i s t r y . k 8 s . i o / g o p r o x y : 0 . 1   p o r t s :   -   c o n t a i n e r P o r t :   8 0 8 0   r e a d i n e s s P r o b e :   t c p S o c k e t :   p o r t :   8 0 8 0   i n i t i a l D e l a y S e c o n d s :   1 5   p e r i o d S e c o n d s :   1 0   l i v e n e s s P r o b e :   t c p S o c k e t :   p o r t :   8 0 8 0   i n i t i a l D e l a y S e c o n d s :   1 5   p e r i o d S e c o n d s :   1 0   A s   y o u   c a n   s e e ,   c o n f i g u r a t i o n   f o r   a   T C P   c h e c k   i s   q u i t e   s i m i l a r   t o   a n   H T T P   c h e c k .   T h i s   e x a m p l e   u s e s   b o t h   r e a d i n e s s   a n d   l i v e n e s s   p r o b e s .   T h e   k u b e l e t   w i l l   r u n   t h e   f i r s t   l i v e n e s s   p r o b e   1 5   s e c o n d s   a f t e r   t h e   c o n t a i n e r   s t a r t s .   T h i s   w i l l   a t t e m p t   t o   c o n n e c t   t o   t h e   g o p r o x y   c o n t a i n e r   o n   p o r t   8 0 8 0 .   I f   t h e   l i v e n e s s   p r o b e   f a i l s ,   t h e   c o n t a i n e r   w i l l   b e   r e s t a r t e d .   T h e   k u b e l e t   w i l l   c o n t i n u e   t o   r u n   t h i s   c h e c k   e v e r y   1 0   s ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19538"
  },
  {
    "question": "What is Define a gRPC liveness probe?",
    "answer": "I f   y o u r   a p p l i c a t i o n   i m p l e m e n t s   t h e   g R P C   H e a l t h   C h e c k i n g   P r o t o c o l ,   t h i s   e x a m p l e   s h o w s   h o w   t o   c o n f i g u r e   K u b e r n e t e s   t o   u s e   i t   f o r   a p p l i c a t i o n   l i v e n e s s   c h e c k s .   S i m i l a r l y   y o u   c a n   c o n f i g u r e   r e a d i n e s s   a n d   s t a r t u p   p r o b e s .   H e r e   i s   a n   e x a m p l e   m a n i f e s t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   e t c d - w i t h - g r p c   s p e c :   c o n t a i n e r s :   -   n a m e :   e t c d   i m a g e :   r e g i s t r y . k 8 s . i o / e t c d : 3 . 5 . 1 - 0   c o m m a n d :   [   \" / u s r / l o c a l / b i n / e t c d \" ,   \" - - d a t a - d i r \" ,   \" / v a r / l i b / e t c d \" ,   \" - - l i s t e n - c l i e n t - u r l s \" ,   \" h t t p : / / 0 . 0 . 0 . 0 : 2 3 7 9 \" ,   \" - - a d v e r t i s e - c l i e n t - u r l s \" ,   \" h t t p : / / 1 2 7 . 0 . 0 . 1 : 2 3 7 9 \" ,   \" - - l o g - l e v e l \" ,   \" d e b u g \" ]   p o r t s :   -   c o n t a i n e r P o r t :   2 3 7 9   l i v e n e s s P r o b e :   g r p c :   p o r t :   2 3 7 9   i n i t i a l D e l a y S e c o n d s :   1 0   T o   u s e   a   g R P C   p r o b e ,   p o r t   m u s t   b e   c o n f i g u r e d .   I f   y o u   w a n t   t o   d i s t i n g u i s h   p r o b e s   o f   d i f f e r e n t   t y p e s   a n d   p r o b e s   f o r   d i f f e r e n t   f e a t u r e s   y o u   c a n   u s e   t h e   s e r v i c e   f i e l d .   Y o u   c a n   s e t   s e r v i c e   t o   t h e   v a l u e   l i v e n e s s   a n d   m a k e   y o u r   g R P C   H e a l t h   C h e c k i n g   e n d p o i n t   r e s p o n d   t o   t h i s   r e q u e s t   d i f f e r e n t l y   t h a n   w h e n   y o u   s e t   s e r v i c e   s e t   t o   r e a d i n e s s .   T h i s   l e t s   y o u   u s e   t h e   s a m e   e n d p ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19539"
  },
  {
    "question": "What is Note:?",
    "answer": "C o n f i g u r a t i o n   p r o b l e m s   ( f o r   e x a m p l e :   i n c o r r e c t   p o r t   o r   s e r v i c e ,   u n i m p l e m e n t e d   h e a l t h   c h e c k i n g   p r o t o c o l )   a r e   c o n s i d e r e d   a   p r o b e   f a i l u r e ,   s i m i l a r   t o   H T T P   a n d   T C P   p r o b e s .   T o   t r y   t h e   g R P C   l i v e n e s s   c h e c k ,   c r e a t e   a   P o d   u s i n g   t h e   c o m m a n d   b e l o w .   I n   t h e   e x a m p l e   b e l o w ,   t h e   e t c d   p o d   i s   c o n f i g u r e d   t o   u s e   g R P C   l i v e n e s s   p r o b e .   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p r o b e / g r p c - l i v e n e s s . y a m l   A f t e r   1 5   s e c o n d s ,   v i e w   P o d   e v e n t s   t o   v e r i f y   t h a t   t h e   l i v e n e s s   c h e c k   h a s   n o t   f a i l e d :   k u b e c t l   d e s c r i b e   p o d   e t c d - w i t h - g r p c   W h e n   u s i n g   a   g R P C   p r o b e ,   t h e r e   a r e   s o m e   t e c h n i c a l   d e t a i l s   t o   b e   a w a r e   o f :   T h e   p r o b e s   r u n   a g a i n s t   t h e   p o d   I P   a d d r e s s   o r   i t s   h o s t n a m e .   B e   s u r e   t o   c o n f i g u r e   y o u r   g R P C   e n d p o i n t   t o   l i s t e n   o n   t h e   P o d ' s   I P   a d d r e s s . T h e   p r o b e s   d o   n o t   s u p p o r t   a n y   a u t h e n t i c a t i o n   p a r a m e t e r s   ( l i k e   - t l s ) . T h e r e   a r e   n o   e r r o r   c o d e s   f o r   b u i l t - i n   p r o b e s .   A l l   e r r o r s   a r e   c o n s i d e r e d   a s   p r o b e   f a i l u r e s . I f   E x e c P r o b e T i m e o u t   f e a t u r e   g a t e   i s   s e t   t o   f a l s e ,   g r p c - h e a l t h - p r o b e   d o e s   n o t   r e s p e c t   t h e   t i m e o u t S e c o n d s   s e t t i n g   ( w h i c h   d e f a u l t s   t ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19540"
  },
  {
    "question": "What is Use a named port?",
    "answer": "Y o u   c a n   u s e   a   n a m e d   p o r t   f o r   H T T P   a n d   T C P   p r o b e s .   g R P C   p r o b e s   d o   n o t   s u p p o r t   n a m e d   p o r t s .   F o r   e x a m p l e :   p o r t s :   -   n a m e :   l i v e n e s s - p o r t   c o n t a i n e r P o r t :   8 0 8 0   l i v e n e s s P r o b e :   h t t p G e t :   p a t h :   / h e a l t h z   p o r t :   l i v e n e s s - p o r t",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19541"
  },
  {
    "question": "What is Protect slow starting containers with startup probes?",
    "answer": "S o m e t i m e s ,   y o u   h a v e   t o   d e a l   w i t h   a p p l i c a t i o n s   t h a t   r e q u i r e   a d d i t i o n a l   s t a r t u p   t i m e   o n   t h e i r   f i r s t   i n i t i a l i z a t i o n .   I n   s u c h   c a s e s ,   i t   c a n   b e   t r i c k y   t o   s e t   u p   l i v e n e s s   p r o b e   p a r a m e t e r s   w i t h o u t   c o m p r o m i s i n g   t h e   f a s t   r e s p o n s e   t o   d e a d l o c k s   t h a t   m o t i v a t e d   s u c h   a   p r o b e .   T h e   s o l u t i o n   i s   t o   s e t   u p   a   s t a r t u p   p r o b e   w i t h   t h e   s a m e   c o m m a n d ,   H T T P   o r   T C P   c h e c k ,   w i t h   a   f a i l u r e T h r e s h o l d   *   p e r i o d S e c o n d s   l o n g   e n o u g h   t o   c o v e r   t h e   w o r s t   c a s e   s t a r t u p   t i m e .   S o ,   t h e   p r e v i o u s   e x a m p l e   w o u l d   b e c o m e :   p o r t s :   -   n a m e :   l i v e n e s s - p o r t   c o n t a i n e r P o r t :   8 0 8 0   l i v e n e s s P r o b e :   h t t p G e t :   p a t h :   / h e a l t h z   p o r t :   l i v e n e s s - p o r t   f a i l u r e T h r e s h o l d :   1   p e r i o d S e c o n d s :   1 0   s t a r t u p P r o b e :   h t t p G e t :   p a t h :   / h e a l t h z   p o r t :   l i v e n e s s - p o r t   f a i l u r e T h r e s h o l d :   3 0   p e r i o d S e c o n d s :   1 0   T h a n k s   t o   t h e   s t a r t u p   p r o b e ,   t h e   a p p l i c a t i o n   w i l l   h a v e   a   m a x i m u m   o f   5   m i n u t e s   ( 3 0   *   1 0   =   3 0 0 s )   t o   f i n i s h   i t s   s t a r t u p .   O n c e   t h e   s t a r t u p   p r o b e   h a s   s u c c e e d e d   o n c e ,   t h e   l i v e n e s s   p r o b e   t a k e s   o v e r   t o   p r o v i d e   a   f a s t   r e s p o n s e   t o   c o n t a i n e r   d e a d l o c k s .   I f   t h e   s t a r t u p   p r o b e   n e v e r   s u c c e e d s ,   t h ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19542"
  },
  {
    "question": "What is Define readiness probes?",
    "answer": "S o m e t i m e s ,   a p p l i c a t i o n s   a r e   t e m p o r a r i l y   u n a b l e   t o   s e r v e   t r a f f i c .   F o r   e x a m p l e ,   a n   a p p l i c a t i o n   m i g h t   n e e d   t o   l o a d   l a r g e   d a t a   o r   c o n f i g u r a t i o n   f i l e s   d u r i n g   s t a r t u p ,   o r   d e p e n d   o n   e x t e r n a l   s e r v i c e s   a f t e r   s t a r t u p .   I n   s u c h   c a s e s ,   y o u   d o n ' t   w a n t   t o   k i l l   t h e   a p p l i c a t i o n ,   b u t   y o u   d o n ' t   w a n t   t o   s e n d   i t   r e q u e s t s   e i t h e r .   K u b e r n e t e s   p r o v i d e s   r e a d i n e s s   p r o b e s   t o   d e t e c t   a n d   m i t i g a t e   t h e s e   s i t u a t i o n s .   A   p o d   w i t h   c o n t a i n e r s   r e p o r t i n g   t h a t   t h e y   a r e   n o t   r e a d y   d o e s   n o t   r e c e i v e   t r a f f i c   t h r o u g h   K u b e r n e t e s   S e r v i c e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19543"
  },
  {
    "question": "What is Caution:?",
    "answer": "R e a d i n e s s   p r o b e s   a r e   c o n f i g u r e d   s i m i l a r l y   t o   l i v e n e s s   p r o b e s .   T h e   o n l y   d i f f e r e n c e   i s   t h a t   y o u   u s e   t h e   r e a d i n e s s P r o b e   f i e l d   i n s t e a d   o f   t h e   l i v e n e s s P r o b e   f i e l d .   r e a d i n e s s P r o b e :   e x e c :   c o m m a n d :   -   c a t   -   / t m p / h e a l t h y   i n i t i a l D e l a y S e c o n d s :   5   p e r i o d S e c o n d s :   5   C o n f i g u r a t i o n   f o r   H T T P   a n d   T C P   r e a d i n e s s   p r o b e s   a l s o   r e m a i n s   i d e n t i c a l   t o   l i v e n e s s   p r o b e s .   R e a d i n e s s   a n d   l i v e n e s s   p r o b e s   c a n   b e   u s e d   i n   p a r a l l e l   f o r   t h e   s a m e   c o n t a i n e r .   U s i n g   b o t h   c a n   e n s u r e   t h a t   t r a f f i c   d o e s   n o t   r e a c h   a   c o n t a i n e r   t h a t   i s   n o t   r e a d y   f o r   i t ,   a n d   t h a t   c o n t a i n e r s   a r e   r e s t a r t e d   w h e n   t h e y   f a i l .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19544"
  },
  {
    "question": "What is Configure Probes?",
    "answer": "P r o b e s   h a v e   a   n u m b e r   o f   f i e l d s   t h a t   y o u   c a n   u s e   t o   m o r e   p r e c i s e l y   c o n t r o l   t h e   b e h a v i o r   o f   s t a r t u p ,   l i v e n e s s   a n d   r e a d i n e s s   c h e c k s :   i n i t i a l D e l a y S e c o n d s :   N u m b e r   o f   s e c o n d s   a f t e r   t h e   c o n t a i n e r   h a s   s t a r t e d   b e f o r e   s t a r t u p ,   l i v e n e s s   o r   r e a d i n e s s   p r o b e s   a r e   i n i t i a t e d .   I f   a   s t a r t u p   p r o b e   i s   d e f i n e d ,   l i v e n e s s   a n d   r e a d i n e s s   p r o b e   d e l a y s   d o   n o t   b e g i n   u n t i l   t h e   s t a r t u p   p r o b e   h a s   s u c c e e d e d .   I f   t h e   v a l u e   o f   p e r i o d S e c o n d s   i s   g r e a t e r   t h a n   i n i t i a l D e l a y S e c o n d s   t h e n   t h e   i n i t i a l D e l a y S e c o n d s   w i l l   b e   i g n o r e d .   D e f a u l t s   t o   0   s e c o n d s .   M i n i m u m   v a l u e   i s   0 . p e r i o d S e c o n d s :   H o w   o f t e n   ( i n   s e c o n d s )   t o   p e r f o r m   t h e   p r o b e .   D e f a u l t   t o   1 0   s e c o n d s .   T h e   m i n i m u m   v a l u e   i s   1 .   W h i l e   a   c o n t a i n e r   i s   n o t   R e a d y ,   t h e   R e a d i n e s s P r o b e   m a y   b e   e x e c u t e d   a t   t i m e s   o t h e r   t h a n   t h e   c o n f i g u r e d   p e r i o d S e c o n d s   i n t e r v a l .   T h i s   i s   t o   m a k e   t h e   P o d   r e a d y   f a s t e r . t i m e o u t S e c o n d s :   N u m b e r   o f   s e c o n d s   a f t e r   w h i c h   t h e   p r o b e   t i m e s   o u t .   D e f a u l t s   t o   1   s e c o n d .   M i n i m u m   v a l u e   i s   1 . s u c c e s s T h r e s h o l d :   M i n i m u m   c o n s e c u t i v e   s u c c e s s e s   f o r   t h e   p r o b e   t o   b e   c o n s i d e r e d   s u c c e s s f u ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19545"
  },
  {
    "question": "What is HTTP probes?",
    "answer": "H T T P   p r o b e s   h a v e   a d d i t i o n a l   f i e l d s   t h a t   c a n   b e   s e t   o n   h t t p G e t :   h o s t :   H o s t   n a m e   t o   c o n n e c t   t o ,   d e f a u l t s   t o   t h e   p o d   I P .   Y o u   p r o b a b l y   w a n t   t o   s e t   \" H o s t \"   i n   h t t p H e a d e r s   i n s t e a d . s c h e m e :   S c h e m e   t o   u s e   f o r   c o n n e c t i n g   t o   t h e   h o s t   ( H T T P   o r   H T T P S ) .   D e f a u l t s   t o   \" H T T P \" . p a t h :   P a t h   t o   a c c e s s   o n   t h e   H T T P   s e r v e r .   D e f a u l t s   t o   \" / \" . h t t p H e a d e r s :   C u s t o m   h e a d e r s   t o   s e t   i n   t h e   r e q u e s t .   H T T P   a l l o w s   r e p e a t e d   h e a d e r s . p o r t :   N a m e   o r   n u m b e r   o f   t h e   p o r t   t o   a c c e s s   o n   t h e   c o n t a i n e r .   N u m b e r   m u s t   b e   i n   t h e   r a n g e   1   t o   6 5 5 3 5 .   F o r   a n   H T T P   p r o b e ,   t h e   k u b e l e t   s e n d s   a n   H T T P   r e q u e s t   t o   t h e   s p e c i f i e d   p o r t   a n d   p a t h   t o   p e r f o r m   t h e   c h e c k .   T h e   k u b e l e t   s e n d s   t h e   p r o b e   t o   t h e   P o d ' s   I P   a d d r e s s ,   u n l e s s   t h e   a d d r e s s   i s   o v e r r i d d e n   b y   t h e   o p t i o n a l   h o s t   f i e l d   i n   h t t p G e t .   I f   s c h e m e   f i e l d   i s   s e t   t o   H T T P S ,   t h e   k u b e l e t   s e n d s   a n   H T T P S   r e q u e s t   s k i p p i n g   t h e   c e r t i f i c a t e   v e r i f i c a t i o n .   I n   m o s t   s c e n a r i o s ,   y o u   d o   n o t   w a n t   t o   s e t   t h e   h o s t   f i e l d .   H e r e ' s   o n e   s c e n a r i o   w h e r e   y o u   w o u l d   s e t   i t .   S u p p o s e   t h e   c o n t a i n e r   l i s t e n s   o n   1 2 7 . 0 . 0 . 1   a n d   t h e   P o d ' s   h o s t N e t ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19546"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   t h e   k u b e l e t   p r o b e s   a   P o d   u s i n g   H T T P ,   i t   o n l y   f o l l o w s   r e d i r e c t s   i f   t h e   r e d i r e c t   i s   t o   t h e   s a m e   h o s t .   I f   t h e   k u b e l e t   r e c e i v e s   1 1   o r   m o r e   r e d i r e c t s   d u r i n g   p r o b i n g ,   t h e   p r o b e   i s   c o n s i d e r e d   s u c c e s s f u l   a n d   a   r e l a t e d   E v e n t   i s   c r e a t e d :   E v e n t s :   T y p e   R e a s o n   A g e   F r o m   M e s s a g e   - - - -   - - - - - -   - - - -   - - - -   - - - - - - -   N o r m a l   S c h e d u l e d   2 9 m   d e f a u l t - s c h e d u l e r   S u c c e s s f u l l y   a s s i g n e d   d e f a u l t / h t t p b i n - 7 b 8 b c 9 c b 8 5 - b j z w n   t o   d a o c l o u d   N o r m a l   P u l l i n g   2 9 m   k u b e l e t   P u l l i n g   i m a g e   \" d o c k e r . i o / k e n n e t h r e i t z / h t t p b i n \"   N o r m a l   P u l l e d   2 4 m   k u b e l e t   S u c c e s s f u l l y   p u l l e d   i m a g e   \" d o c k e r . i o / k e n n e t h r e i t z / h t t p b i n \"   i n   5 m 1 2 . 4 0 2 7 3 5 2 1 3 s   N o r m a l   C r e a t e d   2 4 m   k u b e l e t   C r e a t e d   c o n t a i n e r   h t t p b i n   N o r m a l   S t a r t e d   2 4 m   k u b e l e t   S t a r t e d   c o n t a i n e r   h t t p b i n   W a r n i n g   P r o b e W a r n i n g   4 m 1 1 s   ( x 1 1 9 7   o v e r   2 4 m )   k u b e l e t   R e a d i n e s s   p r o b e   w a r n i n g :   P r o b e   t e r m i n a t e d   r e d i r e c t s   I f   t h e   k u b e l e t   r e c e i v e s   a   r e d i r e c t   w h e r e   t h e   h o s t n a m e   i s   d i f f e r e n t   f r o m   t h e   r e q u e s t ,   t h e   o u t c o m e   o f   t h e   p r o b e   i s   t r e a t e d   a s   s u c c e s s f u l   a n d   k u b e l e t   c r e a t e s   a n   e v e n t   t o   r e p o r t   t h e   r e d i r e c t   f a i l u r e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19547"
  },
  {
    "question": "What is TCP probes?",
    "answer": "F o r   a   T C P   p r o b e ,   t h e   k u b e l e t   m a k e s   t h e   p r o b e   c o n n e c t i o n   a t   t h e   n o d e ,   n o t   i n   t h e   P o d ,   w h i c h   m e a n s   t h a t   y o u   c a n   n o t   u s e   a   s e r v i c e   n a m e   i n   t h e   h o s t   p a r a m e t e r   s i n c e   t h e   k u b e l e t   i s   u n a b l e   t o   r e s o l v e   i t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19548"
  },
  {
    "question": "What is Probe-level terminationGracePeriodSeconds?",
    "answer": "I n   1 . 2 5   a n d   a b o v e ,   u s e r s   c a n   s p e c i f y   a   p r o b e - l e v e l   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   a s   p a r t   o f   t h e   p r o b e   s p e c i f i c a t i o n .   W h e n   b o t h   a   p o d -   a n d   p r o b e - l e v e l   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   a r e   s e t ,   t h e   k u b e l e t   w i l l   u s e   t h e   p r o b e - l e v e l   v a l u e .   W h e n   s e t t i n g   t h e   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s ,   p l e a s e   n o t e   t h e   f o l l o w i n g :   T h e   k u b e l e t   a l w a y s   h o n o r s   t h e   p r o b e - l e v e l   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   f i e l d   i f   i t   i s   p r e s e n t   o n   a   P o d . I f   y o u   h a v e   e x i s t i n g   P o d s   w h e r e   t h e   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   f i e l d   i s   s e t   a n d   y o u   n o   l o n g e r   w i s h   t o   u s e   p e r - p r o b e   t e r m i n a t i o n   g r a c e   p e r i o d s ,   y o u   m u s t   d e l e t e   t h o s e   e x i s t i n g   P o d s .   T h e   k u b e l e t   a l w a y s   h o n o r s   t h e   p r o b e - l e v e l   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   f i e l d   i f   i t   i s   p r e s e n t   o n   a   P o d .   I f   y o u   h a v e   e x i s t i n g   P o d s   w h e r e   t h e   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   f i e l d   i s   s e t   a n d   y o u   n o   l o n g e r   w i s h   t o   u s e   p e r - p r o b e   t e r m i n a t i o n   g r a c e   p e r i o d s ,   y o u   m u s t   d e l e t e   t h o s e   e x i s t i n g   P o d s .   F o r   e x a m p l e :   s p e c :   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s :   3 6 0 0   #   p o d - l e v e l   c o n t a i n e r s :   -   n a m e :   t e s t   i m a g e :   . . .   p o r t s :   -   n a m e : ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19549"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   C o n t a i n e r   P r o b e s .   Y o u   c a n   a l s o   r e a d   t h e   A P I   r e f e r e n c e s   f o r :   P o d ,   a n d   s p e c i f i c a l l y : c o n t a i n e r ( s ) p r o b e ( s )   c o n t a i n e r ( s ) p r o b e ( s )",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19550"
  },
  {
    "question": "What is 18 - Assign Pods to Nodes?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   a s s i g n   a   K u b e r n e t e s   P o d   t o   a   p a r t i c u l a r   n o d e   i n   a   K u b e r n e t e s   c l u s t e r .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19551"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19552"
  },
  {
    "question": "What is Add a label to a node?",
    "answer": "L i s t   t h e   n o d e s   i n   y o u r   c l u s t e r ,   a l o n g   w i t h   t h e i r   l a b e l s : k u b e c t l   g e t   n o d e s   - - s h o w - l a b e l s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   S T A T U S   R O L E S   A G E   V E R S I O N   L A B E L S   w o r k e r 0   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 0   w o r k e r 1   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 1   w o r k e r 2   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 2   C h o o s e   o n e   o f   y o u r   n o d e s ,   a n d   a d d   a   l a b e l   t o   i t : k u b e c t l   l a b e l   n o d e s   < y o u r - n o d e - n a m e >   d i s k t y p e = s s d   w h e r e   < y o u r - n o d e - n a m e >   i s   t h e   n a m e   o f   y o u r   c h o s e n   n o d e . V e r i f y   t h a t   y o u r   c h o s e n   n o d e   h a s   a   d i s k t y p e = s s d   l a b e l : k u b e c t l   g e t   n o d e s   - - s h o w - l a b e l s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   S T A T U S   R O L E S   A G E   V E R S I O N   L A B E L S   w o r k e r 0   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , d i s k t y p e = s s d , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 0   w o r k e r 1   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 1   w o r k e r 2   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 2   I n   t h e   p r e c e d i n g   o u t p u t ,   y o u   c a n   s e e   t h a t   t h e   w o r k e r 0   n o d e   h a s   a   d i s k t y p e = s s d   l a b e l .   L i s t   t h e   n o d e s   i n   y o u r   c l u s t e r ,   a l o n g   w ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19553"
  },
  {
    "question": "What is Create a pod that gets scheduled to your chosen node?",
    "answer": "T h i s   p o d   c o n f i g u r a t i o n   f i l e   d e s c r i b e s   a   p o d   t h a t   h a s   a   n o d e   s e l e c t o r ,   d i s k t y p e :   s s d .   T h i s   m e a n s   t h a t   t h e   p o d   w i l l   g e t   s c h e d u l e d   o n   a   n o d e   t h a t   h a s   a   d i s k t y p e = s s d   l a b e l .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   l a b e l s :   e n v :   t e s t   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   i m a g e P u l l P o l i c y :   I f N o t P r e s e n t   n o d e S e l e c t o r :   d i s k t y p e :   s s d   U s e   t h e   c o n f i g u r a t i o n   f i l e   t o   c r e a t e   a   p o d   t h a t   w i l l   g e t   s c h e d u l e d   o n   y o u r   c h o s e n   n o d e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p o d - n g i n x . y a m l   V e r i f y   t h a t   t h e   p o d   i s   r u n n i n g   o n   y o u r   c h o s e n   n o d e : k u b e c t l   g e t   p o d s   - - o u t p u t = w i d e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   n g i n x   1 / 1   R u n n i n g   0   1 3 s   1 0 . 2 0 0 . 0 . 4   w o r k e r 0   U s e   t h e   c o n f i g u r a t i o n   f i l e   t o   c r e a t e   a   p o d   t h a t   w i l l   g e t   s c h e d u l e d   o n   y o u r   c h o s e n   n o d e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p o d - n g i n x . y a m l   V e r i f y   t h a t   t h e   p o d   i s   r u n n i n g   o n   y o u r   c h o s e n   n o d e :   k u b e c t l   g e t   p o d s   - - o u t p u t = w i d e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   n g i n x   1 / 1   R u n n i n g   0 ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19554"
  },
  {
    "question": "What is Create a pod that gets scheduled to specific node?",
    "answer": "Y o u   c a n   a l s o   s c h e d u l e   a   p o d   t o   o n e   s p e c i f i c   n o d e   v i a   s e t t i n g   n o d e N a m e .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   s p e c :   n o d e N a m e :   f o o - n o d e   #   s c h e d u l e   p o d   t o   s p e c i f i c   n o d e   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   i m a g e P u l l P o l i c y :   I f N o t P r e s e n t   U s e   t h e   c o n f i g u r a t i o n   f i l e   t o   c r e a t e   a   p o d   t h a t   w i l l   g e t   s c h e d u l e d   o n   f o o - n o d e   o n l y .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19555"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   l a b e l s   a n d   s e l e c t o r s . L e a r n   m o r e   a b o u t   n o d e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19556"
  },
  {
    "question": "What is 19 - Assign Pods to Nodes using Node Affinity?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   a s s i g n   a   K u b e r n e t e s   P o d   t o   a   p a r t i c u l a r   n o d e   u s i n g   N o d e   A f f i n i t y   i n   a   K u b e r n e t e s   c l u s t e r .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19557"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 1 0 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19558"
  },
  {
    "question": "What is Add a label to a node?",
    "answer": "L i s t   t h e   n o d e s   i n   y o u r   c l u s t e r ,   a l o n g   w i t h   t h e i r   l a b e l s : k u b e c t l   g e t   n o d e s   - - s h o w - l a b e l s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   S T A T U S   R O L E S   A G E   V E R S I O N   L A B E L S   w o r k e r 0   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 0   w o r k e r 1   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 1   w o r k e r 2   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 2   C h o o s e   o n e   o f   y o u r   n o d e s ,   a n d   a d d   a   l a b e l   t o   i t : k u b e c t l   l a b e l   n o d e s   < y o u r - n o d e - n a m e >   d i s k t y p e = s s d   w h e r e   < y o u r - n o d e - n a m e >   i s   t h e   n a m e   o f   y o u r   c h o s e n   n o d e . V e r i f y   t h a t   y o u r   c h o s e n   n o d e   h a s   a   d i s k t y p e = s s d   l a b e l : k u b e c t l   g e t   n o d e s   - - s h o w - l a b e l s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   S T A T U S   R O L E S   A G E   V E R S I O N   L A B E L S   w o r k e r 0   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , d i s k t y p e = s s d , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 0   w o r k e r 1   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 1   w o r k e r 2   R e a d y   < n o n e >   1 d   v 1 . 1 3 . 0   . . . , k u b e r n e t e s . i o / h o s t n a m e = w o r k e r 2   I n   t h e   p r e c e d i n g   o u t p u t ,   y o u   c a n   s e e   t h a t   t h e   w o r k e r 0   n o d e   h a s   a   d i s k t y p e = s s d   l a b e l .   L i s t   t h e   n o d e s   i n   y o u r   c l u s t e r ,   a l o n g   w ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19559"
  },
  {
    "question": "What is Schedule a Pod using required node affinity?",
    "answer": "T h i s   m a n i f e s t   d e s c r i b e s   a   P o d   t h a t   h a s   a   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   n o d e   a f f i n i t y , d i s k t y p e :   s s d .   T h i s   m e a n s   t h a t   t h e   p o d   w i l l   g e t   s c h e d u l e d   o n l y   o n   a   n o d e   t h a t   h a s   a   d i s k t y p e = s s d   l a b e l .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   s p e c :   a f f i n i t y :   n o d e A f f i n i t y :   r e q u i r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   n o d e S e l e c t o r T e r m s :   -   m a t c h E x p r e s s i o n s :   -   k e y :   d i s k t y p e   o p e r a t o r :   I n   v a l u e s :   -   s s d   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   i m a g e P u l l P o l i c y :   I f N o t P r e s e n t   A p p l y   t h e   m a n i f e s t   t o   c r e a t e   a   P o d   t h a t   i s   s c h e d u l e d   o n t o   y o u r   c h o s e n   n o d e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p o d - n g i n x - r e q u i r e d - a f f i n i t y . y a m l   V e r i f y   t h a t   t h e   p o d   i s   r u n n i n g   o n   y o u r   c h o s e n   n o d e : k u b e c t l   g e t   p o d s   - - o u t p u t = w i d e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   n g i n x   1 / 1   R u n n i n g   0   1 3 s   1 0 . 2 0 0 . 0 . 4   w o r k e r 0   A p p l y   t h e   m a n i f e s t   t o   c r e a t e   a   P o d   t h a t   i s   s c h e d u l e d   o n t o   y o u r   c h o s e n   n o d e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p o d - n g i n x - r e q u i r e d - a f f i n i t y . y a m l   V e r i f y   t h a t   t h e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19560"
  },
  {
    "question": "What is Schedule a Pod using preferred node affinity?",
    "answer": "T h i s   m a n i f e s t   d e s c r i b e s   a   P o d   t h a t   h a s   a   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   n o d e   a f f i n i t y , d i s k t y p e :   s s d .   T h i s   m e a n s   t h a t   t h e   p o d   w i l l   p r e f e r   a   n o d e   t h a t   h a s   a   d i s k t y p e = s s d   l a b e l .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   s p e c :   a f f i n i t y :   n o d e A f f i n i t y :   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n :   -   w e i g h t :   1   p r e f e r e n c e :   m a t c h E x p r e s s i o n s :   -   k e y :   d i s k t y p e   o p e r a t o r :   I n   v a l u e s :   -   s s d   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   i m a g e P u l l P o l i c y :   I f N o t P r e s e n t   A p p l y   t h e   m a n i f e s t   t o   c r e a t e   a   P o d   t h a t   i s   s c h e d u l e d   o n t o   y o u r   c h o s e n   n o d e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p o d - n g i n x - p r e f e r r e d - a f f i n i t y . y a m l   V e r i f y   t h a t   t h e   p o d   i s   r u n n i n g   o n   y o u r   c h o s e n   n o d e : k u b e c t l   g e t   p o d s   - - o u t p u t = w i d e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   I P   N O D E   n g i n x   1 / 1   R u n n i n g   0   1 3 s   1 0 . 2 0 0 . 0 . 4   w o r k e r 0   A p p l y   t h e   m a n i f e s t   t o   c r e a t e   a   P o d   t h a t   i s   s c h e d u l e d   o n t o   y o u r   c h o s e n   n o d e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / p o d - n g i n x - p r e f e r r e d - a f f i n i t y . y a m l   V e r i f y   t h a t   t h e   p o d   i s   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19561"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   N o d e   A f f i n i t y .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19562"
  },
  {
    "question": "What is 20 - Configure Pod Initialization?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   a n   I n i t   C o n t a i n e r   t o   i n i t i a l i z e   a   P o d   b e f o r e   a n   a p p l i c a t i o n   C o n t a i n e r   r u n s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19563"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19564"
  },
  {
    "question": "What is Create a Pod that has an Init Container?",
    "answer": "I n   t h i s   e x e r c i s e   y o u   c r e a t e   a   P o d   t h a t   h a s   o n e   a p p l i c a t i o n   C o n t a i n e r   a n d   o n e   I n i t   C o n t a i n e r .   T h e   i n i t   c o n t a i n e r   r u n s   t o   c o m p l e t i o n   b e f o r e   t h e   a p p l i c a t i o n   c o n t a i n e r   s t a r t s .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   i n i t - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   p o r t s :   -   c o n t a i n e r P o r t :   8 0   v o l u m e M o u n t s :   -   n a m e :   w o r k d i r   m o u n t P a t h :   / u s r / s h a r e / n g i n x / h t m l   #   T h e s e   c o n t a i n e r s   a r e   r u n   d u r i n g   p o d   i n i t i a l i z a t i o n   i n i t C o n t a i n e r s :   -   n a m e :   i n s t a l l   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   -   w g e t   -   \" - O \"   -   \" / w o r k - d i r / i n d e x . h t m l \"   -   h t t p : / / i n f o . c e r n . c h   v o l u m e M o u n t s :   -   n a m e :   w o r k d i r   m o u n t P a t h :   \" / w o r k - d i r \"   d n s P o l i c y :   D e f a u l t   v o l u m e s :   -   n a m e :   w o r k d i r   e m p t y D i r :   { }   I n   t h e   c o n f i g u r a t i o n   f i l e ,   y o u   c a n   s e e   t h a t   t h e   P o d   h a s   a   V o l u m e   t h a t   t h e   i n i t   c o n t a i n e r   a n d   t h e   a p p l i c a t i o n   c o n t a i n e r   s h a r e .   T h e   i n i t   c o n t a i n e r   m o u n t s   t h e   s h a r e d   V o l u m e   a t   / w o r k - d i r ,   a n d   t h e   a p p l i c a t i o n   c o n t a i n e r   m o u n t s   t h e   s h a r e d   V o l u m e   a t   / u s r / s h a r e / n g i n x / h t m l .   T h e   i n i t   c o n t a i n e r   r u n s   t h e   f o l l o w i n g   c o m m a n d   a n ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19565"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   c o m m u n i c a t i n g   b e t w e e n   C o n t a i n e r s   r u n n i n g   i n   t h e   s a m e   P o d . L e a r n   m o r e   a b o u t   I n i t   C o n t a i n e r s . L e a r n   m o r e   a b o u t   V o l u m e s . L e a r n   m o r e   a b o u t   D e b u g g i n g   I n i t   C o n t a i n e r s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19566"
  },
  {
    "question": "What is 21 - Attach Handlers to Container Lifecycle Events?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   a t t a c h   h a n d l e r s   t o   C o n t a i n e r   l i f e c y c l e   e v e n t s .   K u b e r n e t e s   s u p p o r t s   t h e   p o s t S t a r t   a n d   p r e S t o p   e v e n t s .   K u b e r n e t e s   s e n d s   t h e   p o s t S t a r t   e v e n t   i m m e d i a t e l y   a f t e r   a   C o n t a i n e r   i s   s t a r t e d ,   a n d   i t   s e n d s   t h e   p r e S t o p   e v e n t   i m m e d i a t e l y   b e f o r e   t h e   C o n t a i n e r   i s   t e r m i n a t e d .   A   C o n t a i n e r   m a y   s p e c i f y   o n e   h a n d l e r   p e r   e v e n t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19567"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19568"
  },
  {
    "question": "What is Define postStart and preStop handlers?",
    "answer": "I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   h a s   o n e   C o n t a i n e r .   T h e   C o n t a i n e r   h a s   h a n d l e r s   f o r   t h e   p o s t S t a r t   a n d   p r e S t o p   e v e n t s .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   l i f e c y c l e - d e m o   s p e c :   c o n t a i n e r s :   -   n a m e :   l i f e c y c l e - d e m o - c o n t a i n e r   i m a g e :   n g i n x   l i f e c y c l e :   p o s t S t a r t :   e x e c :   c o m m a n d :   [ \" / b i n / s h \" ,   \" - c \" ,   \" e c h o   H e l l o   f r o m   t h e   p o s t S t a r t   h a n d l e r   >   / u s r / s h a r e / m e s s a g e \" ]   p r e S t o p :   e x e c :   c o m m a n d :   [ \" / b i n / s h \" , \" - c \" , \" n g i n x   - s   q u i t ;   w h i l e   k i l l a l l   - 0   n g i n x ;   d o   s l e e p   1 ;   d o n e \" ]   I n   t h e   c o n f i g u r a t i o n   f i l e ,   y o u   c a n   s e e   t h a t   t h e   p o s t S t a r t   c o m m a n d   w r i t e s   a   m e s s a g e   f i l e   t o   t h e   C o n t a i n e r ' s   / u s r / s h a r e   d i r e c t o r y .   T h e   p r e S t o p   c o m m a n d   s h u t s   d o w n   n g i n x   g r a c e f u l l y .   T h i s   i s   h e l p f u l   i f   t h e   C o n t a i n e r   i s   b e i n g   t e r m i n a t e d   b e c a u s e   o f   a   f a i l u r e .   C r e a t e   t h e   P o d :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / l i f e c y c l e - e v e n t s . y a m l   V e r i f y   t h a t   t h e   C o n t a i n e r   i n   t h e   P o d   i s   r u n n i n g :   k u b e c t l   g e t   p o d   l i f e c y c l e - d e m o   G e t   a   s h e l l   i n t o   t h e   C o n t a i n e r   r u n n i n g   i n   y o u r   P o d :   k u b e c t l   e x e c   - i t   l i f e c y c l e - ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19569"
  },
  {
    "question": "What is Discussion?",
    "answer": "K u b e r n e t e s   s e n d s   t h e   p o s t S t a r t   e v e n t   i m m e d i a t e l y   a f t e r   t h e   C o n t a i n e r   i s   c r e a t e d .   T h e r e   i s   n o   g u a r a n t e e ,   h o w e v e r ,   t h a t   t h e   p o s t S t a r t   h a n d l e r   i s   c a l l e d   b e f o r e   t h e   C o n t a i n e r ' s   e n t r y p o i n t   i s   c a l l e d .   T h e   p o s t S t a r t   h a n d l e r   r u n s   a s y n c h r o n o u s l y   r e l a t i v e   t o   t h e   C o n t a i n e r ' s   c o d e ,   b u t   K u b e r n e t e s '   m a n a g e m e n t   o f   t h e   c o n t a i n e r   b l o c k s   u n t i l   t h e   p o s t S t a r t   h a n d l e r   c o m p l e t e s .   T h e   C o n t a i n e r ' s   s t a t u s   i s   n o t   s e t   t o   R U N N I N G   u n t i l   t h e   p o s t S t a r t   h a n d l e r   c o m p l e t e s .   K u b e r n e t e s   s e n d s   t h e   p r e S t o p   e v e n t   i m m e d i a t e l y   b e f o r e   t h e   C o n t a i n e r   i s   t e r m i n a t e d .   K u b e r n e t e s '   m a n a g e m e n t   o f   t h e   C o n t a i n e r   b l o c k s   u n t i l   t h e   p r e S t o p   h a n d l e r   c o m p l e t e s ,   u n l e s s   t h e   P o d ' s   g r a c e   p e r i o d   e x p i r e s .   F o r   m o r e   d e t a i l s ,   s e e   P o d   L i f e c y c l e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19570"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   C o n t a i n e r   l i f e c y c l e   h o o k s . L e a r n   m o r e   a b o u t   t h e   l i f e c y c l e   o f   a   P o d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19571"
  },
  {
    "question": "What is Reference?",
    "answer": "L i f e c y c l e C o n t a i n e r S e e   t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   i n   P o d S p e c",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19572"
  },
  {
    "question": "What is 22 - Configure a Pod to Use a ConfigMap?",
    "answer": "M a n y   a p p l i c a t i o n s   r e l y   o n   c o n f i g u r a t i o n   w h i c h   i s   u s e d   d u r i n g   e i t h e r   a p p l i c a t i o n   i n i t i a l i z a t i o n   o r   r u n t i m e .   M o s t   t i m e s ,   t h e r e   i s   a   r e q u i r e m e n t   t o   a d j u s t   v a l u e s   a s s i g n e d   t o   c o n f i g u r a t i o n   p a r a m e t e r s .   C o n f i g M a p s   a r e   a   K u b e r n e t e s   m e c h a n i s m   t h a t   l e t   y o u   i n j e c t   c o n f i g u r a t i o n   d a t a   i n t o   a p p l i c a t i o n   p o d s .   T h e   C o n f i g M a p   c o n c e p t   a l l o w   y o u   t o   d e c o u p l e   c o n f i g u r a t i o n   a r t i f a c t s   f r o m   i m a g e   c o n t e n t   t o   k e e p   c o n t a i n e r i z e d   a p p l i c a t i o n s   p o r t a b l e .   F o r   e x a m p l e ,   y o u   c a n   d o w n l o a d   a n d   r u n   t h e   s a m e   c o n t a i n e r   i m a g e   t o   s p i n   u p   c o n t a i n e r s   f o r   t h e   p u r p o s e s   o f   l o c a l   d e v e l o p m e n t ,   s y s t e m   t e s t ,   o r   r u n n i n g   a   l i v e   e n d - u s e r   w o r k l o a d .   T h i s   p a g e   p r o v i d e s   a   s e r i e s   o f   u s a g e   e x a m p l e s   d e m o n s t r a t i n g   h o w   t o   c r e a t e   C o n f i g M a p s   a n d   c o n f i g u r e   P o d s   u s i n g   d a t a   s t o r e d   i n   C o n f i g M a p s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19573"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u   n e e d   t o   h a v e   t h e   w g e t   t o o l   i n s t a l l e d .   I f   y o u   h a v e   a   d i f f e r e n t   t o o l   s u c h   a s   c u r l ,   a n d   y o u   d o   n o t   h a v e   w g e t ,   y o u   w i l l   n e e d   t o   a d a p t   t h e   s t e p   t h a t   d o w n l o a d s   e x a m p l e   d a t a .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19574"
  },
  {
    "question": "What is Create a ConfigMap?",
    "answer": "Y o u   c a n   u s e   e i t h e r   k u b e c t l   c r e a t e   c o n f i g m a p   o r   a   C o n f i g M a p   g e n e r a t o r   i n   k u s t o m i z a t i o n . y a m l   t o   c r e a t e   a   C o n f i g M a p .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19575"
  },
  {
    "question": "What is Create a ConfigMap using kubectl create configmap?",
    "answer": "U s e   t h e   k u b e c t l   c r e a t e   c o n f i g m a p   c o m m a n d   t o   c r e a t e   C o n f i g M a p s   f r o m   d i r e c t o r i e s ,   f i l e s ,   o r   l i t e r a l   v a l u e s :   k u b e c t l   c r e a t e   c o n f i g m a p   < m a p - n a m e >   < d a t a - s o u r c e >   w h e r e   < m a p - n a m e >   i s   t h e   n a m e   y o u   w a n t   t o   a s s i g n   t o   t h e   C o n f i g M a p   a n d   < d a t a - s o u r c e >   i s   t h e   d i r e c t o r y ,   f i l e ,   o r   l i t e r a l   v a l u e   t o   d r a w   t h e   d a t a   f r o m .   T h e   n a m e   o f   a   C o n f i g M a p   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   W h e n   y o u   a r e   c r e a t i n g   a   C o n f i g M a p   b a s e d   o n   a   f i l e ,   t h e   k e y   i n   t h e   < d a t a - s o u r c e >   d e f a u l t s   t o   t h e   b a s e n a m e   o f   t h e   f i l e ,   a n d   t h e   v a l u e   d e f a u l t s   t o   t h e   f i l e   c o n t e n t .   Y o u   c a n   u s e   k u b e c t l   d e s c r i b e   o r   k u b e c t l   g e t   t o   r e t r i e v e   i n f o r m a t i o n   a b o u t   a   C o n f i g M a p .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19576"
  },
  {
    "question": "What is Create a ConfigMap from a directory?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   c r e a t e   c o n f i g m a p   t o   c r e a t e   a   C o n f i g M a p   f r o m   m u l t i p l e   f i l e s   i n   t h e   s a m e   d i r e c t o r y .   W h e n   y o u   a r e   c r e a t i n g   a   C o n f i g M a p   b a s e d   o n   a   d i r e c t o r y ,   k u b e c t l   i d e n t i f i e s   f i l e s   w h o s e   f i l e n a m e   i s   a   v a l i d   k e y   i n   t h e   d i r e c t o r y   a n d   p a c k a g e s   e a c h   o f   t h o s e   f i l e s   i n t o   t h e   n e w   C o n f i g M a p .   A n y   d i r e c t o r y   e n t r i e s   e x c e p t   r e g u l a r   f i l e s   a r e   i g n o r e d   ( f o r   e x a m p l e :   s u b d i r e c t o r i e s ,   s y m l i n k s ,   d e v i c e s ,   p i p e s ,   a n d   m o r e ) .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19577"
  },
  {
    "question": "What is Note:?",
    "answer": "E a c h   f i l e n a m e   b e i n g   u s e d   f o r   C o n f i g M a p   c r e a t i o n   m u s t   c o n s i s t   o f   o n l y   a c c e p t a b l e   c h a r a c t e r s ,   w h i c h   a r e :   l e t t e r s   ( A   t o   Z   a n d   a   t o   z ) ,   d i g i t s   ( 0   t o   9 ) ,   ' - ' ,   ' _ ' ,   o r   ' . ' .   I f   y o u   u s e   k u b e c t l   c r e a t e   c o n f i g m a p   w i t h   a   d i r e c t o r y   w h e r e   a n y   o f   t h e   f i l e   n a m e s   c o n t a i n s   a n   u n a c c e p t a b l e   c h a r a c t e r ,   t h e   k u b e c t l   c o m m a n d   m a y   f a i l .   T h e   k u b e c t l   c o m m a n d   d o e s   n o t   p r i n t   a n   e r r o r   w h e n   i t   e n c o u n t e r s   a n   i n v a l i d   f i l e n a m e .   C r e a t e   t h e   l o c a l   d i r e c t o r y :   m k d i r   - p   c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p /   N o w ,   d o w n l o a d   t h e   s a m p l e   c o n f i g u r a t i o n   a n d   c r e a t e   t h e   C o n f i g M a p :   #   D o w n l o a d   t h e   s a m p l e   f i l e s   i n t o   ` c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / `   d i r e c t o r y   w g e t   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / c o n f i g m a p / g a m e . p r o p e r t i e s   - O   c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / g a m e . p r o p e r t i e s   w g e t   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / c o n f i g m a p / u i . p r o p e r t i e s   - O   c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / u i . p r o p e r t i e s   #   C r e a t e   t h e   C o n f i g M a p   k u b e c t l   c r e a t e   c o n f i g m a p   g a m e - c o n f i g   - - f r o m - f i l e = c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p /   T h e   a b o v e   c o m m a n d   p a c k a g e s   e a c h   f i l e ,   i n   t h i s   c a s e ,   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19578"
  },
  {
    "question": "What is Create ConfigMaps from files?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   c r e a t e   c o n f i g m a p   t o   c r e a t e   a   C o n f i g M a p   f r o m   a n   i n d i v i d u a l   f i l e ,   o r   f r o m   m u l t i p l e   f i l e s .   F o r   e x a m p l e ,   k u b e c t l   c r e a t e   c o n f i g m a p   g a m e - c o n f i g - 2   - - f r o m - f i l e = c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / g a m e . p r o p e r t i e s   w o u l d   p r o d u c e   t h e   f o l l o w i n g   C o n f i g M a p :   k u b e c t l   d e s c r i b e   c o n f i g m a p s   g a m e - c o n f i g - 2   w h e r e   t h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N a m e :   g a m e - c o n f i g - 2   N a m e s p a c e :   d e f a u l t   L a b e l s :   < n o n e >   A n n o t a t i o n s :   < n o n e >   D a t a   = = = =   g a m e . p r o p e r t i e s :   - - - -   e n e m i e s = a l i e n s   l i v e s = 3   e n e m i e s . c h e a t = t r u e   e n e m i e s . c h e a t . l e v e l = n o G o o d R o t t e n   s e c r e t . c o d e . p a s s p h r a s e = U U D D L R L R B A B A S   s e c r e t . c o d e . a l l o w e d = t r u e   s e c r e t . c o d e . l i v e s = 3 0   Y o u   c a n   p a s s   i n   t h e   - - f r o m - f i l e   a r g u m e n t   m u l t i p l e   t i m e s   t o   c r e a t e   a   C o n f i g M a p   f r o m   m u l t i p l e   d a t a   s o u r c e s .   k u b e c t l   c r e a t e   c o n f i g m a p   g a m e - c o n f i g - 2   - - f r o m - f i l e = c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / g a m e . p r o p e r t i e s   - - f r o m - f i l e = c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / u i . p r o p e r t i e s   Y o u   c a n   d i s p l a y   d e t a i l s   o f   t h e   g a m e - c o n f i g - 2   C o n f i g M a p   u s i n g   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   d e s c r i b e   c o n f i g m a p s   g a m e - c o n f i g - 2   T h e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19579"
  },
  {
    "question": "What is Define the key to use when creating a ConfigMap from a file?",
    "answer": "Y o u   c a n   d e f i n e   a   k e y   o t h e r   t h a n   t h e   f i l e   n a m e   t o   u s e   i n   t h e   d a t a   s e c t i o n   o f   y o u r   C o n f i g M a p   w h e n   u s i n g   t h e   - - f r o m - f i l e   a r g u m e n t :   k u b e c t l   c r e a t e   c o n f i g m a p   g a m e - c o n f i g - 3   - - f r o m - f i l e = < m y - k e y - n a m e > = < p a t h - t o - f i l e >   w h e r e   < m y - k e y - n a m e >   i s   t h e   k e y   y o u   w a n t   t o   u s e   i n   t h e   C o n f i g M a p   a n d   < p a t h - t o - f i l e >   i s   t h e   l o c a t i o n   o f   t h e   d a t a   s o u r c e   f i l e   y o u   w a n t   t h e   k e y   t o   r e p r e s e n t .   F o r   e x a m p l e :   k u b e c t l   c r e a t e   c o n f i g m a p   g a m e - c o n f i g - 3   - - f r o m - f i l e = g a m e - s p e c i a l - k e y = c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / g a m e . p r o p e r t i e s   w o u l d   p r o d u c e   t h e   f o l l o w i n g   C o n f i g M a p :   k u b e c t l   g e t   c o n f i g m a p s   g a m e - c o n f i g - 3   - o   y a m l   w h e r e   t h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   2 0 2 2 - 0 2 - 1 8 T 1 8 : 5 4 : 2 2 Z   n a m e :   g a m e - c o n f i g - 3   n a m e s p a c e :   d e f a u l t   r e s o u r c e V e r s i o n :   \" 5 3 0 \"   u i d :   0 5 f 8 d a 2 2 - d 6 7 1 - 1 1 e 5 - 8 c d 0 - 6 8 f 7 2 8 d b 1 9 8 5   d a t a :   g a m e - s p e c i a l - k e y :   |   e n e m i e s = a l i e n s   l i v e s = 3   e n e m i e s . c h e a t = t r u e   e n e m i e s . c h e a t . l e v e l = n o G o o d R o t t e n   s e c r e t . c o d e . p a s s p h r a s e = U U D D L R L R B A B A S   s e c r e t . c o d e . a l l o w e d = t r u e   s e c r e t . c o d e . l i v e s = 3 0",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19580"
  },
  {
    "question": "What is Create ConfigMaps from literal values?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   c r e a t e   c o n f i g m a p   w i t h   t h e   - - f r o m - l i t e r a l   a r g u m e n t   t o   d e f i n e   a   l i t e r a l   v a l u e   f r o m   t h e   c o m m a n d   l i n e :   k u b e c t l   c r e a t e   c o n f i g m a p   s p e c i a l - c o n f i g   - - f r o m - l i t e r a l = s p e c i a l . h o w = v e r y   - - f r o m - l i t e r a l = s p e c i a l . t y p e = c h a r m   Y o u   c a n   p a s s   i n   m u l t i p l e   k e y - v a l u e   p a i r s .   E a c h   p a i r   p r o v i d e d   o n   t h e   c o m m a n d   l i n e   i s   r e p r e s e n t e d   a s   a   s e p a r a t e   e n t r y   i n   t h e   d a t a   s e c t i o n   o f   t h e   C o n f i g M a p .   k u b e c t l   g e t   c o n f i g m a p s   s p e c i a l - c o n f i g   - o   y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   2 0 2 2 - 0 2 - 1 8 T 1 9 : 1 4 : 3 8 Z   n a m e :   s p e c i a l - c o n f i g   n a m e s p a c e :   d e f a u l t   r e s o u r c e V e r s i o n :   \" 6 5 1 \"   u i d :   d a d c e 0 4 6 - d 6 7 3 - 1 1 e 5 - 8 c d 0 - 6 8 f 7 2 8 d b 1 9 8 5   d a t a :   s p e c i a l . h o w :   v e r y   s p e c i a l . t y p e :   c h a r m",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19581"
  },
  {
    "question": "What is Create a ConfigMap from generator?",
    "answer": "Y o u   c a n   a l s o   c r e a t e   a   C o n f i g M a p   f r o m   g e n e r a t o r s   a n d   t h e n   a p p l y   i t   t o   c r e a t e   t h e   o b j e c t   i n   t h e   c l u s t e r ' s   A P I   s e r v e r .   Y o u   s h o u l d   s p e c i f y   t h e   g e n e r a t o r s   i n   a   k u s t o m i z a t i o n . y a m l   f i l e   w i t h i n   a   d i r e c t o r y .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19582"
  },
  {
    "question": "What is Generate ConfigMaps from files?",
    "answer": "F o r   e x a m p l e ,   t o   g e n e r a t e   a   C o n f i g M a p   f r o m   f i l e s   c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / g a m e . p r o p e r t i e s   #   C r e a t e   a   k u s t o m i z a t i o n . y a m l   f i l e   w i t h   C o n f i g M a p G e n e r a t o r   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   c o n f i g M a p G e n e r a t o r :   -   n a m e :   g a m e - c o n f i g - 4   o p t i o n s :   l a b e l s :   g a m e - c o n f i g :   c o n f i g - 4   f i l e s :   -   c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / g a m e . p r o p e r t i e s   E O F   A p p l y   t h e   k u s t o m i z a t i o n   d i r e c t o r y   t o   c r e a t e   t h e   C o n f i g M a p   o b j e c t :   k u b e c t l   a p p l y   - k   .   c o n f i g m a p / g a m e - c o n f i g - 4 - m 9 d m 2 f 9 2 b t   c r e a t e d   Y o u   c a n   c h e c k   t h a t   t h e   C o n f i g M a p   w a s   c r e a t e d   l i k e   t h i s :   k u b e c t l   g e t   c o n f i g m a p   N A M E   D A T A   A G E   g a m e - c o n f i g - 4 - m 9 d m 2 f 9 2 b t   1   3 7 s   a n d   a l s o :   k u b e c t l   d e s c r i b e   c o n f i g m a p s / g a m e - c o n f i g - 4 - m 9 d m 2 f 9 2 b t   N a m e :   g a m e - c o n f i g - 4 - m 9 d m 2 f 9 2 b t   N a m e s p a c e :   d e f a u l t   L a b e l s :   g a m e - c o n f i g = c o n f i g - 4   A n n o t a t i o n s :   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n :   { \" a p i V e r s i o n \" : \" v 1 \" , \" d a t a \" : { \" g a m e . p r o p e r t i e s \" : \" e n e m i e s = a l i e n s \\ n l i v e s = 3 \\ n e n e m i e s . c h e a t = t r u e \\ n e n e m i e s . c h e a t . l e v e l = n o G o o d R o t t e n \\ n s e c r e t . c o d e . p . . .   D a t a   = = = =   g a m e . p r o p e r t i e s :   - - - -   e n e m i e s = a l i e n s   l i v e s = 3   e n e m i e s . c h e a t = ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19583"
  },
  {
    "question": "What is Define the key to use when generating a ConfigMap from a file?",
    "answer": "Y o u   c a n   d e f i n e   a   k e y   o t h e r   t h a n   t h e   f i l e   n a m e   t o   u s e   i n   t h e   C o n f i g M a p   g e n e r a t o r .   F o r   e x a m p l e ,   t o   g e n e r a t e   a   C o n f i g M a p   f r o m   f i l e s   c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / g a m e . p r o p e r t i e s   w i t h   t h e   k e y   g a m e - s p e c i a l - k e y   #   C r e a t e   a   k u s t o m i z a t i o n . y a m l   f i l e   w i t h   C o n f i g M a p G e n e r a t o r   c a t   < < E O F   > . / k u s t o m i z a t i o n . y a m l   c o n f i g M a p G e n e r a t o r :   -   n a m e :   g a m e - c o n f i g - 5   o p t i o n s :   l a b e l s :   g a m e - c o n f i g :   c o n f i g - 5   f i l e s :   -   g a m e - s p e c i a l - k e y = c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g m a p / g a m e . p r o p e r t i e s   E O F   A p p l y   t h e   k u s t o m i z a t i o n   d i r e c t o r y   t o   c r e a t e   t h e   C o n f i g M a p   o b j e c t .   k u b e c t l   a p p l y   - k   .   c o n f i g m a p / g a m e - c o n f i g - 5 - m 6 7 d t 6 7 7 9 4   c r e a t e d",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19584"
  },
  {
    "question": "What is Generate ConfigMaps from literals?",
    "answer": "T h i s   e x a m p l e   s h o w s   y o u   h o w   t o   c r e a t e   a   C o n f i g M a p   f r o m   t w o   l i t e r a l   k e y / v a l u e   p a i r s :   s p e c i a l . t y p e = c h a r m   a n d   s p e c i a l . h o w = v e r y ,   u s i n g   K u s t o m i z e   a n d   k u b e c t l .   T o   a c h i e v e   t h i s ,   y o u   c a n   s p e c i f y   t h e   C o n f i g M a p   g e n e r a t o r .   C r e a t e   ( o r   r e p l a c e )   k u s t o m i z a t i o n . y a m l   s o   t h a t   i t   h a s   t h e   f o l l o w i n g   c o n t e n t s :   - - -   #   k u s t o m i z a t i o n . y a m l   c o n t e n t s   f o r   c r e a t i n g   a   C o n f i g M a p   f r o m   l i t e r a l s   c o n f i g M a p G e n e r a t o r :   -   n a m e :   s p e c i a l - c o n f i g - 2   l i t e r a l s :   -   s p e c i a l . h o w = v e r y   -   s p e c i a l . t y p e = c h a r m   A p p l y   t h e   k u s t o m i z a t i o n   d i r e c t o r y   t o   c r e a t e   t h e   C o n f i g M a p   o b j e c t :   k u b e c t l   a p p l y   - k   .   c o n f i g m a p / s p e c i a l - c o n f i g - 2 - c 9 2 b 5 m m c f 2   c r e a t e d",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19585"
  },
  {
    "question": "What is Interim cleanup?",
    "answer": "B e f o r e   p r o c e e d i n g ,   c l e a n   u p   s o m e   o f   t h e   C o n f i g M a p s   y o u   m a d e :   k u b e c t l   d e l e t e   c o n f i g m a p   s p e c i a l - c o n f i g   k u b e c t l   d e l e t e   c o n f i g m a p   e n v - c o n f i g   k u b e c t l   d e l e t e   c o n f i g m a p   - l   ' g a m e - c o n f i g   i n   ( c o n f i g - 4 , c o n f i g - 5 ) '   N o w   t h a t   y o u   h a v e   l e a r n e d   t o   d e f i n e   C o n f i g M a p s ,   y o u   c a n   m o v e   o n   t o   t h e   n e x t   s e c t i o n ,   a n d   l e a r n   h o w   t o   u s e   t h e s e   o b j e c t s   w i t h   P o d s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19586"
  },
  {
    "question": "What is Define a container environment variable with data from a single ConfigMap?",
    "answer": "D e f i n e   a n   e n v i r o n m e n t   v a r i a b l e   a s   a   k e y - v a l u e   p a i r   i n   a   C o n f i g M a p : k u b e c t l   c r e a t e   c o n f i g m a p   s p e c i a l - c o n f i g   - - f r o m - l i t e r a l = s p e c i a l . h o w = v e r y   A s s i g n   t h e   s p e c i a l . h o w   v a l u e   d e f i n e d   i n   t h e   C o n f i g M a p   t o   t h e   S P E C I A L _ L E V E L _ K E Y   e n v i r o n m e n t   v a r i a b l e   i n   t h e   P o d   s p e c i f i c a t i o n . p o d s / p o d - s i n g l e - c o n f i g m a p - e n v - v a r i a b l e . y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d a p i - t e s t - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   c o m m a n d :   [   \" / b i n / s h \" ,   \" - c \" ,   \" e n v \"   ]   e n v :   #   D e f i n e   t h e   e n v i r o n m e n t   v a r i a b l e   -   n a m e :   S P E C I A L _ L E V E L _ K E Y   v a l u e F r o m :   c o n f i g M a p K e y R e f :   #   T h e   C o n f i g M a p   c o n t a i n i n g   t h e   v a l u e   y o u   w a n t   t o   a s s i g n   t o   S P E C I A L _ L E V E L _ K E Y   n a m e :   s p e c i a l - c o n f i g   #   S p e c i f y   t h e   k e y   a s s o c i a t e d   w i t h   t h e   v a l u e   k e y :   s p e c i a l . h o w   r e s t a r t P o l i c y :   N e v e r   C r e a t e   t h e   P o d : k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / p o d s / p o d - s i n g l e - c o n f i g m a p - e n v - v a r i a b l e . y a m l   N o w ,   t h e   P o d ' s   o u t p u t   i n c l u d e s   e n v i r o n m e n t   v a r i a b l e   S P E C I A L _ L E V E L _ K E Y = v e r y .   D e f i n e   a n   e n v i r o n m e n t   v a r i a b l e   a s   a   k e y - v a l u e   p a i r   i n   a   C o n f i g M a p : ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19587"
  },
  {
    "question": "What is Define container environment variables with data from multiple ConfigMaps?",
    "answer": "A s   w i t h   t h e   p r e v i o u s   e x a m p l e ,   c r e a t e   t h e   C o n f i g M a p s   f i r s t .   H e r e   i s   t h e   m a n i f e s t   y o u   w i l l   u s e :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   s p e c i a l - c o n f i g   n a m e s p a c e :   d e f a u l t   d a t a :   s p e c i a l . h o w :   v e r y   - - -   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   e n v - c o n f i g   n a m e s p a c e :   d e f a u l t   d a t a :   l o g _ l e v e l :   I N F O   C r e a t e   t h e   C o n f i g M a p : k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / c o n f i g m a p / c o n f i g m a p s . y a m l   D e f i n e   t h e   e n v i r o n m e n t   v a r i a b l e s   i n   t h e   P o d   s p e c i f i c a t i o n . p o d s / p o d - m u l t i p l e - c o n f i g m a p - e n v - v a r i a b l e . y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d a p i - t e s t - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   c o m m a n d :   [   \" / b i n / s h \" ,   \" - c \" ,   \" e n v \"   ]   e n v :   -   n a m e :   S P E C I A L _ L E V E L _ K E Y   v a l u e F r o m :   c o n f i g M a p K e y R e f :   n a m e :   s p e c i a l - c o n f i g   k e y :   s p e c i a l . h o w   -   n a m e :   L O G _ L E V E L   v a l u e F r o m :   c o n f i g M a p K e y R e f :   n a m e :   e n v - c o n f i g   k e y :   l o g _ l e v e l   r e s t a r t P o l i c y :   N e v e r   C r e a t e   t h e   P o d : k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / p o d s / p o d - m u l t i p l e - c o n f i g m a p - e n v - v a r i a b l e . y a m l   N o w ,   t h e   P o d ' s   o u t p u t   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19588"
  },
  {
    "question": "What is Configure all key-value pairs in a ConfigMap as container environment variables?",
    "answer": "C r e a t e   a   C o n f i g M a p   c o n t a i n i n g   m u l t i p l e   k e y - v a l u e   p a i r s . c o n f i g m a p / c o n f i g m a p - m u l t i k e y s . y a m l   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   s p e c i a l - c o n f i g   n a m e s p a c e :   d e f a u l t   d a t a :   S P E C I A L _ L E V E L :   v e r y   S P E C I A L _ T Y P E :   c h a r m   C r e a t e   t h e   C o n f i g M a p : k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / c o n f i g m a p / c o n f i g m a p - m u l t i k e y s . y a m l   U s e   e n v F r o m   t o   d e f i n e   a l l   o f   t h e   C o n f i g M a p ' s   d a t a   a s   c o n t a i n e r   e n v i r o n m e n t   v a r i a b l e s .   T h e   k e y   f r o m   t h e   C o n f i g M a p   b e c o m e s   t h e   e n v i r o n m e n t   v a r i a b l e   n a m e   i n   t h e   P o d . p o d s / p o d - c o n f i g m a p - e n v F r o m . y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d a p i - t e s t - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   c o m m a n d :   [   \" / b i n / s h \" ,   \" - c \" ,   \" e n v \"   ]   e n v F r o m :   -   c o n f i g M a p R e f :   n a m e :   s p e c i a l - c o n f i g   r e s t a r t P o l i c y :   N e v e r   C r e a t e   t h e   P o d : k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / p o d s / p o d - c o n f i g m a p - e n v F r o m . y a m l   N o w ,   t h e   P o d ' s   o u t p u t   i n c l u d e s   e n v i r o n m e n t   v a r i a b l e s   S P E C I A L _ L E V E L = v e r y   a n d   S P E C I A L _ T Y P E = c h a r m . O n c e   y o u ' r e   h a p p y   t o   m o v e   o n ,   d e l e t e   t h a t   P o d : k u b e c t l   d e ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19589"
  },
  {
    "question": "What is Use ConfigMap-defined environment variables in Pod commands?",
    "answer": "Y o u   c a n   u s e   C o n f i g M a p - d e f i n e d   e n v i r o n m e n t   v a r i a b l e s   i n   t h e   c o m m a n d   a n d   a r g s   o f   a   c o n t a i n e r   u s i n g   t h e   $ ( V A R _ N A M E )   K u b e r n e t e s   s u b s t i t u t i o n   s y n t a x .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   P o d   m a n i f e s t :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d a p i - t e s t - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   c o m m a n d :   [   \" / b i n / e c h o \" ,   \" $ ( S P E C I A L _ L E V E L _ K E Y )   $ ( S P E C I A L _ T Y P E _ K E Y ) \"   ]   e n v :   -   n a m e :   S P E C I A L _ L E V E L _ K E Y   v a l u e F r o m :   c o n f i g M a p K e y R e f :   n a m e :   s p e c i a l - c o n f i g   k e y :   S P E C I A L _ L E V E L   -   n a m e :   S P E C I A L _ T Y P E _ K E Y   v a l u e F r o m :   c o n f i g M a p K e y R e f :   n a m e :   s p e c i a l - c o n f i g   k e y :   S P E C I A L _ T Y P E   r e s t a r t P o l i c y :   N e v e r   C r e a t e   t h a t   P o d ,   b y   r u n n i n g :   k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / p o d s / p o d - c o n f i g m a p - e n v - v a r - v a l u e F r o m . y a m l   T h a t   p o d   p r o d u c e s   t h e   f o l l o w i n g   o u t p u t   f r o m   t h e   t e s t - c o n t a i n e r   c o n t a i n e r :   k u b e c t l   l o g s   d a p i - t e s t - p o d   v e r y   c h a r m   O n c e   y o u ' r e   h a p p y   t o   m o v e   o n ,   d e l e t e   t h a t   P o d :   k u b e c t l   d e l e t e   p o d   d a p i - t e s t - p o d   - - n o w",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19590"
  },
  {
    "question": "What is Add ConfigMap data to a Volume?",
    "answer": "A s   e x p l a i n e d   i n   C r e a t e   C o n f i g M a p s   f r o m   f i l e s ,   w h e n   y o u   c r e a t e   a   C o n f i g M a p   u s i n g   - - f r o m - f i l e ,   t h e   f i l e n a m e   b e c o m e s   a   k e y   s t o r e d   i n   t h e   d a t a   s e c t i o n   o f   t h e   C o n f i g M a p .   T h e   f i l e   c o n t e n t s   b e c o m e   t h e   k e y ' s   v a l u e .   T h e   e x a m p l e s   i n   t h i s   s e c t i o n   r e f e r   t o   a   C o n f i g M a p   n a m e d   s p e c i a l - c o n f i g :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   s p e c i a l - c o n f i g   n a m e s p a c e :   d e f a u l t   d a t a :   S P E C I A L _ L E V E L :   v e r y   S P E C I A L _ T Y P E :   c h a r m   C r e a t e   t h e   C o n f i g M a p :   k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / c o n f i g m a p / c o n f i g m a p - m u l t i k e y s . y a m l",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19591"
  },
  {
    "question": "What is Populate a Volume with data stored in a ConfigMap?",
    "answer": "A d d   t h e   C o n f i g M a p   n a m e   u n d e r   t h e   v o l u m e s   s e c t i o n   o f   t h e   P o d   s p e c i f i c a t i o n .   T h i s   a d d s   t h e   C o n f i g M a p   d a t a   t o   t h e   d i r e c t o r y   s p e c i f i e d   a s   v o l u m e M o u n t s . m o u n t P a t h   ( i n   t h i s   c a s e ,   / e t c / c o n f i g ) .   T h e   c o m m a n d   s e c t i o n   l i s t s   d i r e c t o r y   f i l e s   w i t h   n a m e s   t h a t   m a t c h   t h e   k e y s   i n   C o n f i g M a p .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d a p i - t e s t - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   c o m m a n d :   [   \" / b i n / s h \" ,   \" - c \" ,   \" l s   / e t c / c o n f i g / \"   ]   v o l u m e M o u n t s :   -   n a m e :   c o n f i g - v o l u m e   m o u n t P a t h :   / e t c / c o n f i g   v o l u m e s :   -   n a m e :   c o n f i g - v o l u m e   c o n f i g M a p :   #   P r o v i d e   t h e   n a m e   o f   t h e   C o n f i g M a p   c o n t a i n i n g   t h e   f i l e s   y o u   w a n t   #   t o   a d d   t o   t h e   c o n t a i n e r   n a m e :   s p e c i a l - c o n f i g   r e s t a r t P o l i c y :   N e v e r   C r e a t e   t h e   P o d :   k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / p o d s / p o d - c o n f i g m a p - v o l u m e . y a m l   W h e n   t h e   p o d   r u n s ,   t h e   c o m m a n d   l s   / e t c / c o n f i g /   p r o d u c e s   t h e   o u t p u t   b e l o w :   S P E C I A L _ L E V E L   S P E C I A L _ T Y P E   T e x t   d a t a   i s   e x p o s e d   a s   f i l e s   u s i n g   t h e   U T F - 8   c h a r a c t e r   e n c o d i n g .   T o   u s e   s o m e   o t h e r   c h a r a c t e r   e n c o d i n g ,   u s e   b i n a r ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19592"
  },
  {
    "question": "What is Note:?",
    "answer": "O n c e   y o u ' r e   h a p p y   t o   m o v e   o n ,   d e l e t e   t h a t   P o d :   k u b e c t l   d e l e t e   p o d   d a p i - t e s t - p o d   - - n o w",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19593"
  },
  {
    "question": "What is Add ConfigMap data to a specific path in the Volume?",
    "answer": "U s e   t h e   p a t h   f i e l d   t o   s p e c i f y   t h e   d e s i r e d   f i l e   p a t h   f o r   s p e c i f i c   C o n f i g M a p   i t e m s .   I n   t h i s   c a s e ,   t h e   S P E C I A L _ L E V E L   i t e m   w i l l   b e   m o u n t e d   i n   t h e   c o n f i g - v o l u m e   v o l u m e   a t   / e t c / c o n f i g / k e y s .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d a p i - t e s t - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   r e g i s t r y . k 8 s . i o / b u s y b o x : 1 . 2 7 . 2   c o m m a n d :   [   \" / b i n / s h \" , \" - c \" , \" c a t   / e t c / c o n f i g / k e y s \"   ]   v o l u m e M o u n t s :   -   n a m e :   c o n f i g - v o l u m e   m o u n t P a t h :   / e t c / c o n f i g   v o l u m e s :   -   n a m e :   c o n f i g - v o l u m e   c o n f i g M a p :   n a m e :   s p e c i a l - c o n f i g   i t e m s :   -   k e y :   S P E C I A L _ L E V E L   p a t h :   k e y s   r e s t a r t P o l i c y :   N e v e r   C r e a t e   t h e   P o d :   k u b e c t l   c r e a t e   - f   h t t p s : / / k u b e r n e t e s . i o / e x a m p l e s / p o d s / p o d - c o n f i g m a p - v o l u m e - s p e c i f i c - k e y . y a m l   W h e n   t h e   p o d   r u n s ,   t h e   c o m m a n d   c a t   / e t c / c o n f i g / k e y s   p r o d u c e s   t h e   o u t p u t   b e l o w :   v e r y",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19594"
  },
  {
    "question": "What is Caution:?",
    "answer": "D e l e t e   t h a t   P o d :   k u b e c t l   d e l e t e   p o d   d a p i - t e s t - p o d   - - n o w",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19595"
  },
  {
    "question": "What is Project keys to specific paths and file permissions?",
    "answer": "Y o u   c a n   p r o j e c t   k e y s   t o   s p e c i f i c   p a t h s .   R e f e r   t o   t h e   c o r r e s p o n d i n g   s e c t i o n   i n   t h e   S e c r e t s   g u i d e   f o r   t h e   s y n t a x . Y o u   c a n   s e t   P O S I X   p e r m i s s i o n s   f o r   k e y s .   R e f e r   t o   t h e   c o r r e s p o n d i n g   s e c t i o n   i n   t h e   S e c r e t s   g u i d e   f o r   t h e   s y n t a x .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19596"
  },
  {
    "question": "What is Optional references?",
    "answer": "A   C o n f i g M a p   r e f e r e n c e   m a y   b e   m a r k e d   o p t i o n a l .   I f   t h e   C o n f i g M a p   i s   n o n - e x i s t e n t ,   t h e   m o u n t e d   v o l u m e   w i l l   b e   e m p t y .   I f   t h e   C o n f i g M a p   e x i s t s ,   b u t   t h e   r e f e r e n c e d   k e y   i s   n o n - e x i s t e n t ,   t h e   p a t h   w i l l   b e   a b s e n t   b e n e a t h   t h e   m o u n t   p o i n t .   S e e   O p t i o n a l   C o n f i g M a p s   f o r   m o r e   d e t a i l s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19597"
  },
  {
    "question": "What is Mounted ConfigMaps are updated automatically?",
    "answer": "W h e n   a   m o u n t e d   C o n f i g M a p   i s   u p d a t e d ,   t h e   p r o j e c t e d   c o n t e n t   i s   e v e n t u a l l y   u p d a t e d   t o o .   T h i s   a p p l i e s   i n   t h e   c a s e   w h e r e   a n   o p t i o n a l l y   r e f e r e n c e d   C o n f i g M a p   c o m e s   i n t o   e x i s t e n c e   a f t e r   a   p o d   h a s   s t a r t e d .   K u b e l e t   c h e c k s   w h e t h e r   t h e   m o u n t e d   C o n f i g M a p   i s   f r e s h   o n   e v e r y   p e r i o d i c   s y n c .   H o w e v e r ,   i t   u s e s   i t s   l o c a l   T T L - b a s e d   c a c h e   f o r   g e t t i n g   t h e   c u r r e n t   v a l u e   o f   t h e   C o n f i g M a p .   A s   a   r e s u l t ,   t h e   t o t a l   d e l a y   f r o m   t h e   m o m e n t   w h e n   t h e   C o n f i g M a p   i s   u p d a t e d   t o   t h e   m o m e n t   w h e n   n e w   k e y s   a r e   p r o j e c t e d   t o   t h e   p o d   c a n   b e   a s   l o n g   a s   k u b e l e t   s y n c   p e r i o d   ( 1   m i n u t e   b y   d e f a u l t )   +   T T L   o f   C o n f i g M a p s   c a c h e   ( 1   m i n u t e   b y   d e f a u l t )   i n   k u b e l e t .   Y o u   c a n   t r i g g e r   a n   i m m e d i a t e   r e f r e s h   b y   u p d a t i n g   o n e   o f   t h e   p o d ' s   a n n o t a t i o n s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19598"
  },
  {
    "question": "What is Understanding ConfigMaps and Pods?",
    "answer": "T h e   C o n f i g M a p   A P I   r e s o u r c e   s t o r e s   c o n f i g u r a t i o n   d a t a   a s   k e y - v a l u e   p a i r s .   T h e   d a t a   c a n   b e   c o n s u m e d   i n   p o d s   o r   p r o v i d e   t h e   c o n f i g u r a t i o n s   f o r   s y s t e m   c o m p o n e n t s   s u c h   a s   c o n t r o l l e r s .   C o n f i g M a p   i s   s i m i l a r   t o   S e c r e t s ,   b u t   p r o v i d e s   a   m e a n s   o f   w o r k i n g   w i t h   s t r i n g s   t h a t   d o n ' t   c o n t a i n   s e n s i t i v e   i n f o r m a t i o n .   U s e r s   a n d   s y s t e m   c o m p o n e n t s   a l i k e   c a n   s t o r e   c o n f i g u r a t i o n   d a t a   i n   C o n f i g M a p .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19599"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   C o n f i g M a p ' s   d a t a   f i e l d   c o n t a i n s   t h e   c o n f i g u r a t i o n   d a t a .   A s   s h o w n   i n   t h e   e x a m p l e   b e l o w ,   t h i s   c a n   b e   s i m p l e   ( l i k e   i n d i v i d u a l   p r o p e r t i e s   d e f i n e d   u s i n g   - - f r o m - l i t e r a l )   o r   c o m p l e x   ( l i k e   c o n f i g u r a t i o n   f i l e s   o r   J S O N   b l o b s   d e f i n e d   u s i n g   - - f r o m - f i l e ) .   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   2 0 1 6 - 0 2 - 1 8 T 1 9 : 1 4 : 3 8 Z   n a m e :   e x a m p l e - c o n f i g   n a m e s p a c e :   d e f a u l t   d a t a :   #   e x a m p l e   o f   a   s i m p l e   p r o p e r t y   d e f i n e d   u s i n g   - - f r o m - l i t e r a l   e x a m p l e . p r o p e r t y . 1 :   h e l l o   e x a m p l e . p r o p e r t y . 2 :   w o r l d   #   e x a m p l e   o f   a   c o m p l e x   p r o p e r t y   d e f i n e d   u s i n g   - - f r o m - f i l e   e x a m p l e . p r o p e r t y . f i l e :   | -   p r o p e r t y . 1 = v a l u e - 1   p r o p e r t y . 2 = v a l u e - 2   p r o p e r t y . 3 = v a l u e - 3   W h e n   k u b e c t l   c r e a t e s   a   C o n f i g M a p   f r o m   i n p u t s   t h a t   a r e   n o t   A S C I I   o r   U T F - 8 ,   t h e   t o o l   p u t s   t h e s e   i n t o   t h e   b i n a r y D a t a   f i e l d   o f   t h e   C o n f i g M a p ,   a n d   n o t   i n   d a t a .   B o t h   t e x t   a n d   b i n a r y   d a t a   s o u r c e s   c a n   b e   c o m b i n e d   i n   o n e   C o n f i g M a p .   I f   y o u   w a n t   t o   v i e w   t h e   b i n a r y D a t a   k e y s   ( a n d   t h e i r   v a l u e s )   i n   a   C o n f i g M a p ,   y o u   c a n   r u n   k u b e c t l   g e t   c o n f i g m a p   - o   j s o n p a t h = ' { . b i n a r y D a t a } '   < n a m e > .   P o d s   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19600"
  },
  {
    "question": "What is Optional ConfigMaps?",
    "answer": "Y o u   c a n   m a r k   a   r e f e r e n c e   t o   a   C o n f i g M a p   a s   o p t i o n a l   i n   a   P o d   s p e c i f i c a t i o n .   I f   t h e   C o n f i g M a p   d o e s n ' t   e x i s t ,   t h e   c o n f i g u r a t i o n   f o r   w h i c h   i t   p r o v i d e s   d a t a   i n   t h e   P o d   ( f o r   e x a m p l e :   e n v i r o n m e n t   v a r i a b l e ,   m o u n t e d   v o l u m e )   w i l l   b e   e m p t y .   I f   t h e   C o n f i g M a p   e x i s t s ,   b u t   t h e   r e f e r e n c e d   k e y   i s   n o n - e x i s t e n t   t h e   d a t a   i s   a l s o   e m p t y .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   P o d   s p e c i f i c a t i o n   m a r k s   a n   e n v i r o n m e n t   v a r i a b l e   f r o m   a   C o n f i g M a p   a s   o p t i o n a l :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   d a p i - t e s t - p o d   s p e c :   c o n t a i n e r s :   -   n a m e :   t e s t - c o n t a i n e r   i m a g e :   g c r . i o / g o o g l e _ c o n t a i n e r s / b u s y b o x   c o m m a n d :   [ \" / b i n / s h \" ,   \" - c \" ,   \" e n v \" ]   e n v :   -   n a m e :   S P E C I A L _ L E V E L _ K E Y   v a l u e F r o m :   c o n f i g M a p K e y R e f :   n a m e :   a - c o n f i g   k e y :   a k e y   o p t i o n a l :   t r u e   #   m a r k   t h e   v a r i a b l e   a s   o p t i o n a l   r e s t a r t P o l i c y :   N e v e r   I f   y o u   r u n   t h i s   p o d ,   a n d   t h e r e   i s   n o   C o n f i g M a p   n a m e d   a - c o n f i g ,   t h e   o u t p u t   i s   e m p t y .   I f   y o u   r u n   t h i s   p o d ,   a n d   t h e r e   i s   a   C o n f i g M a p   n a m e d   a - c o n f i g   b u t   t h a t   C o n f i g M a p   d o e s n ' t   h a v e   a   k e y   n a m e d   a k e y ,   t h e   o u t p u t   i s   a l s o   e m p t y .   I f   y o u   d o   s e t   a   v a l u e   f o r   a k e y   i n ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19601"
  },
  {
    "question": "What is Restrictions?",
    "answer": "Y o u   m u s t   c r e a t e   t h e   C o n f i g M a p   o b j e c t   b e f o r e   y o u   r e f e r e n c e   i t   i n   a   P o d   s p e c i f i c a t i o n .   A l t e r n a t i v e l y ,   m a r k   t h e   C o n f i g M a p   r e f e r e n c e   a s   o p t i o n a l   i n   t h e   P o d   s p e c   ( s e e   O p t i o n a l   C o n f i g M a p s ) .   I f   y o u   r e f e r e n c e   a   C o n f i g M a p   t h a t   d o e s n ' t   e x i s t   a n d   y o u   d o n ' t   m a r k   t h e   r e f e r e n c e   a s   o p t i o n a l ,   t h e   P o d   w o n ' t   s t a r t .   S i m i l a r l y ,   r e f e r e n c e s   t o   k e y s   t h a t   d o n ' t   e x i s t   i n   t h e   C o n f i g M a p   w i l l   a l s o   p r e v e n t   t h e   P o d   f r o m   s t a r t i n g ,   u n l e s s   y o u   m a r k   t h e   k e y   r e f e r e n c e s   a s   o p t i o n a l . I f   y o u   u s e   e n v F r o m   t o   d e f i n e   e n v i r o n m e n t   v a r i a b l e s   f r o m   C o n f i g M a p s ,   k e y s   t h a t   a r e   c o n s i d e r e d   i n v a l i d   w i l l   b e   s k i p p e d .   T h e   p o d   w i l l   b e   a l l o w e d   t o   s t a r t ,   b u t   t h e   i n v a l i d   n a m e s   w i l l   b e   r e c o r d e d   i n   t h e   e v e n t   l o g   ( I n v a l i d V a r i a b l e N a m e s ) .   T h e   l o g   m e s s a g e   l i s t s   e a c h   s k i p p e d   k e y .   F o r   e x a m p l e : k u b e c t l   g e t   e v e n t s   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : L A S T S E E N   F I R S T S E E N   C O U N T   N A M E   K I N D   S U B O B J E C T   T Y P E   R E A S O N   S O U R C E   M E S S A G E   0 s   0 s   1   d a p i - t e s t - p o d   P o d   W a r n i n g   I n v a l i d E n v i r o n m e n t V a r i a b l e N a m e s   { k u b e l e t ,   1 2 7 . 0 . 0 . 1 }   K e y s   [ 1 b a d k e y ,   2 a l s o b a d ]   f r o m   t h e   E n v F r o m   c o n f i g M a p   d e f a u ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19602"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "D e l e t e   t h e   C o n f i g M a p s   a n d   P o d s   t h a t   y o u   m a d e :   k u b e c t l   d e l e t e   c o n f i g m a p s / g a m e - c o n f i g   c o n f i g m a p s / g a m e - c o n f i g - 2   c o n f i g m a p s / g a m e - c o n f i g - 3   \\   c o n f i g m a p s / g a m e - c o n f i g - e n v - f i l e   k u b e c t l   d e l e t e   p o d   d a p i - t e s t - p o d   - - n o w   #   Y o u   m i g h t   a l r e a d y   h a v e   r e m o v e d   t h e   n e x t   s e t   k u b e c t l   d e l e t e   c o n f i g m a p s / s p e c i a l - c o n f i g   c o n f i g m a p s / e n v - c o n f i g   k u b e c t l   d e l e t e   c o n f i g m a p   - l   ' g a m e - c o n f i g   i n   ( c o n f i g - 4 , c o n f i g - 5 ) '   R e m o v e   t h e   k u s t o m i z a t i o n . y a m l   f i l e   t h a t   y o u   u s e d   t o   g e n e r a t e   t h e   C o n f i g M a p :   r m   k u s t o m i z a t i o n . y a m l   I f   y o u   c r e a t e d   a   d i r e c t o r y   c o n f i g u r e - p o d - c o n t a i n e r   a n d   n o   l o n g e r   n e e d   i t ,   y o u   s h o u l d   r e m o v e   t h a t   t o o ,   o r   m o v e   i t   i n t o   t h e   t r a s h   c a n   /   d e l e t e d   f i l e s   l o c a t i o n .   r m   - r   c o n f i g u r e - p o d - c o n t a i n e r",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19603"
  },
  {
    "question": "What is What's next?",
    "answer": "F o l l o w   a   r e a l   w o r l d   e x a m p l e   o f   C o n f i g u r i n g   R e d i s   u s i n g   a   C o n f i g M a p . F o l l o w   a n   e x a m p l e   o f   U p d a t i n g   c o n f i g u r a t i o n   v i a   a   C o n f i g M a p .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19604"
  },
  {
    "question": "What is 23 - Share Process Namespace between Containers in a Pod?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   p r o c e s s   n a m e s p a c e   s h a r i n g   f o r   a   p o d .   W h e n   p r o c e s s   n a m e s p a c e   s h a r i n g   i s   e n a b l e d ,   p r o c e s s e s   i n   a   c o n t a i n e r   a r e   v i s i b l e   t o   a l l   o t h e r   c o n t a i n e r s   i n   t h e   s a m e   p o d .   Y o u   c a n   u s e   t h i s   f e a t u r e   t o   c o n f i g u r e   c o o p e r a t i n g   c o n t a i n e r s ,   s u c h   a s   a   l o g   h a n d l e r   s i d e c a r   c o n t a i n e r ,   o r   t o   t r o u b l e s h o o t   c o n t a i n e r   i m a g e s   t h a t   d o n ' t   i n c l u d e   d e b u g g i n g   u t i l i t i e s   l i k e   a   s h e l l .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19605"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19606"
  },
  {
    "question": "What is Configure a Pod?",
    "answer": "P r o c e s s   n a m e s p a c e   s h a r i n g   i s   e n a b l e d   u s i n g   t h e   s h a r e P r o c e s s N a m e s p a c e   f i e l d   o f   . s p e c   f o r   a   P o d .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   n g i n x   s p e c :   s h a r e P r o c e s s N a m e s p a c e :   t r u e   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x   -   n a m e :   s h e l l   i m a g e :   b u s y b o x : 1 . 2 8   c o m m a n d :   [ \" s l e e p \" ,   \" 3 6 0 0 \" ]   s e c u r i t y C o n t e x t :   c a p a b i l i t i e s :   a d d :   -   S Y S _ P T R A C E   s t d i n :   t r u e   t t y :   t r u e   C r e a t e   t h e   p o d   n g i n x   o n   y o u r   c l u s t e r : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s h a r e - p r o c e s s - n a m e s p a c e . y a m l   A t t a c h   t o   t h e   s h e l l   c o n t a i n e r   a n d   r u n   p s : k u b e c t l   e x e c   - i t   n g i n x   - c   s h e l l   - -   / b i n / s h   I f   y o u   d o n ' t   s e e   a   c o m m a n d   p r o m p t ,   t r y   p r e s s i n g   e n t e r .   I n   t h e   c o n t a i n e r   s h e l l : #   r u n   t h i s   i n s i d e   t h e   \" s h e l l \"   c o n t a i n e r   p s   a x   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : P I D   U S E R   T I M E   C O M M A N D   1   r o o t   0 : 0 0   / p a u s e   8   r o o t   0 : 0 0   n g i n x :   m a s t e r   p r o c e s s   n g i n x   - g   d a e m o n   o f f ;   1 4   1 0 1   0 : 0 0   n g i n x :   w o r k e r   p r o c e s s   1 5   r o o t   0 : 0 0   s h   2 1   r o o t   0 : 0 0   p s   a x   C r e a t e   t h e   p o d   n g i n x   o n   y o u r   c l u s t e r :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / s h a r e - p r o c e s s - n a m e s p a c e . y a m l   A t t a c h   t o   t h ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19607"
  },
  {
    "question": "What is Understanding process namespace sharing?",
    "answer": "P o d s   s h a r e   m a n y   r e s o u r c e s   s o   i t   m a k e s   s e n s e   t h e y   w o u l d   a l s o   s h a r e   a   p r o c e s s   n a m e s p a c e .   S o m e   c o n t a i n e r s   m a y   e x p e c t   t o   b e   i s o l a t e d   f r o m   o t h e r s ,   t h o u g h ,   s o   i t ' s   i m p o r t a n t   t o   u n d e r s t a n d   t h e   d i f f e r e n c e s :   T h e   c o n t a i n e r   p r o c e s s   n o   l o n g e r   h a s   P I D   1 .   S o m e   c o n t a i n e r s   r e f u s e   t o   s t a r t   w i t h o u t   P I D   1   ( f o r   e x a m p l e ,   c o n t a i n e r s   u s i n g   s y s t e m d )   o r   r u n   c o m m a n d s   l i k e   k i l l   - H U P   1   t o   s i g n a l   t h e   c o n t a i n e r   p r o c e s s .   I n   p o d s   w i t h   a   s h a r e d   p r o c e s s   n a m e s p a c e ,   k i l l   - H U P   1   w i l l   s i g n a l   t h e   p o d   s a n d b o x   ( / p a u s e   i n   t h e   a b o v e   e x a m p l e ) . P r o c e s s e s   a r e   v i s i b l e   t o   o t h e r   c o n t a i n e r s   i n   t h e   p o d .   T h i s   i n c l u d e s   a l l   i n f o r m a t i o n   v i s i b l e   i n   / p r o c ,   s u c h   a s   p a s s w o r d s   t h a t   w e r e   p a s s e d   a s   a r g u m e n t s   o r   e n v i r o n m e n t   v a r i a b l e s .   T h e s e   a r e   p r o t e c t e d   o n l y   b y   r e g u l a r   U n i x   p e r m i s s i o n s . C o n t a i n e r   f i l e s y s t e m s   a r e   v i s i b l e   t o   o t h e r   c o n t a i n e r s   i n   t h e   p o d   t h r o u g h   t h e   / p r o c / $ p i d / r o o t   l i n k .   T h i s   m a k e s   d e b u g g i n g   e a s i e r ,   b u t   i t   a l s o   m e a n s   t h a t   f i l e s y s t e m   s e c r e t s   a r e   p r o t e c t e d   o n l y   b y   f i l e s y s t e m   p e r m i s s i o n s .   T h e   c o n t a i n e r   p r o c e s s   n o   l o n g e r   h a s   P I D   1 .   S o m e   c o ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19608"
  },
  {
    "question": "What is 24 - Use a User Namespace With a Pod?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   a   u s e r   n a m e s p a c e   f o r   p o d s .   T h i s   a l l o w s   y o u   t o   i s o l a t e   t h e   u s e r   r u n n i n g   i n s i d e   t h e   c o n t a i n e r   f r o m   t h e   o n e   i n   t h e   h o s t .   A   p r o c e s s   r u n n i n g   a s   r o o t   i n   a   c o n t a i n e r   c a n   r u n   a s   a   d i f f e r e n t   ( n o n - r o o t )   u s e r   i n   t h e   h o s t ;   i n   o t h e r   w o r d s ,   t h e   p r o c e s s   h a s   f u l l   p r i v i l e g e s   f o r   o p e r a t i o n s   i n s i d e   t h e   u s e r   n a m e s p a c e ,   b u t   i s   u n p r i v i l e g e d   f o r   o p e r a t i o n s   o u t s i d e   t h e   n a m e s p a c e .   Y o u   c a n   u s e   t h i s   f e a t u r e   t o   r e d u c e   t h e   d a m a g e   a   c o m p r o m i s e d   c o n t a i n e r   c a n   d o   t o   t h e   h o s t   o r   o t h e r   p o d s   i n   t h e   s a m e   n o d e .   T h e r e   a r e   s e v e r a l   s e c u r i t y   v u l n e r a b i l i t i e s   r a t e d   e i t h e r   H I G H   o r   C R I T I C A L   t h a t   w e r e   n o t   e x p l o i t a b l e   w h e n   u s e r   n a m e s p a c e s   i s   a c t i v e .   I t   i s   e x p e c t e d   u s e r   n a m e s p a c e   w i l l   m i t i g a t e   s o m e   f u t u r e   v u l n e r a b i l i t i e s   t o o .   W i t h o u t   u s i n g   a   u s e r   n a m e s p a c e   a   c o n t a i n e r   r u n n i n g   a s   r o o t ,   i n   t h e   c a s e   o f   a   c o n t a i n e r   b r e a k o u t ,   h a s   r o o t   p r i v i l e g e s   o n   t h e   n o d e .   A n d   i f   s o m e   c a p a b i l i t y   w e r e   g r a n t e d   t o   t h e   c o n t a i n e r ,   t h e   c a p a b i l i t i e s   a r e   v a l i d   o n   t h e   h o s t   t o o .   N o n e   o f   t h i s   i s   t r u e   w h e n   u s e r   n a m e s p a c e s   a r e   u s e d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19609"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 2 5 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19610"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   c l u s t e r   t h a t   y o u ' r e   u s i n g   m u s t   i n c l u d e   a t   l e a s t   o n e   n o d e   t h a t   m e e t s   t h e   r e q u i r e m e n t s   f o r   u s i n g   u s e r   n a m e s p a c e s   w i t h   P o d s .   I f   y o u   h a v e   a   m i x t u r e   o f   n o d e s   a n d   o n l y   s o m e   o f   t h e   n o d e s   p r o v i d e   u s e r   n a m e s p a c e   s u p p o r t   f o r   P o d s ,   y o u   a l s o   n e e d   t o   e n s u r e   t h a t   t h e   u s e r   n a m e s p a c e   P o d s   a r e   s c h e d u l e d   t o   s u i t a b l e   n o d e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19611"
  },
  {
    "question": "What is Run a Pod that uses a user namespace?",
    "answer": "A   u s e r   n a m e s p a c e   f o r   a   p o d   i s   e n a b l e d   s e t t i n g   t h e   h o s t U s e r s   f i e l d   o f   . s p e c   t o   f a l s e .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   u s e r n s   s p e c :   h o s t U s e r s :   f a l s e   c o n t a i n e r s :   -   n a m e :   s h e l l   c o m m a n d :   [ \" s l e e p \" ,   \" i n f i n i t y \" ]   i m a g e :   d e b i a n   C r e a t e   t h e   p o d   o n   y o u r   c l u s t e r : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / u s e r - n a m e s p a c e s - s t a t e l e s s . y a m l   E x e c   i n t o   t h e   p o d   a n d   r u n   r e a d l i n k   / p r o c / s e l f / n s / u s e r : k u b e c t l   e x e c   - t i   u s e r n s   - -   b a s h   C r e a t e   t h e   p o d   o n   y o u r   c l u s t e r :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / u s e r - n a m e s p a c e s - s t a t e l e s s . y a m l   E x e c   i n t o   t h e   p o d   a n d   r u n   r e a d l i n k   / p r o c / s e l f / n s / u s e r :   k u b e c t l   e x e c   - t i   u s e r n s   - -   b a s h   R u n   t h i s   c o m m a n d :   r e a d l i n k   / p r o c / s e l f / n s / u s e r   T h e   o u t p u t   i s   s i m i l a r   t o :   u s e r : [ 4 0 2 6 5 3 1 8 3 7 ]   A l s o   r u n :   c a t   / p r o c / s e l f / u i d _ m a p   T h e   o u t p u t   i s   s i m i l a r   t o :   0   8 3 3 6 1 7 9 2 0   6 5 5 3 6   T h e n ,   o p e n   a   s h e l l   i n   t h e   h o s t   a n d   r u n   t h e   s a m e   c o m m a n d s .   T h e   r e a d l i n k   c o m m a n d   s h o w s   t h e   u s e r   n a m e s p a c e   t h e   p r o c e s s   i s   r u n n i n g   i n .   I t   s h o u l d   b e   d i f f e r e n t   w h e n   i t   i s   r u n   o n   t h e   h o s t   a n d   i n s i d e   t h e   c o n t a i n ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19612"
  },
  {
    "question": "What is 25 - Use an Image Volume With a Pod?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   a   p o d   u s i n g   i m a g e   v o l u m e s .   T h i s   a l l o w s   y o u   t o   m o u n t   c o n t e n t   f r o m   O C I   r e g i s t r i e s   i n s i d e   c o n t a i n e r s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19613"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 3 1 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19614"
  },
  {
    "question": "What is Run a Pod that uses an image volume?",
    "answer": "A n   i m a g e   v o l u m e   f o r   a   p o d   i s   e n a b l e d   b y   s e t t i n g   t h e   v o l u m e s . [ * ] . i m a g e   f i e l d   o f   . s p e c   t o   a   v a l i d   r e f e r e n c e   a n d   c o n s u m i n g   i t   i n   t h e   v o l u m e M o u n t s   o f   t h e   c o n t a i n e r .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   i m a g e - v o l u m e   s p e c :   c o n t a i n e r s :   -   n a m e :   s h e l l   c o m m a n d :   [ \" s l e e p \" ,   \" i n f i n i t y \" ]   i m a g e :   d e b i a n   v o l u m e M o u n t s :   -   n a m e :   v o l u m e   m o u n t P a t h :   / v o l u m e   v o l u m e s :   -   n a m e :   v o l u m e   i m a g e :   r e f e r e n c e :   q u a y . i o / c r i o / a r t i f a c t : v 2   p u l l P o l i c y :   I f N o t P r e s e n t   C r e a t e   t h e   p o d   o n   y o u r   c l u s t e r : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i m a g e - v o l u m e s . y a m l   A t t a c h   t o   t h e   c o n t a i n e r : k u b e c t l   a t t a c h   - i t   i m a g e - v o l u m e   b a s h   C h e c k   t h e   c o n t e n t   o f   a   f i l e   i n   t h e   v o l u m e : c a t   / v o l u m e / d i r / f i l e   T h e   o u t p u t   i s   s i m i l a r   t o : 1   Y o u   c a n   a l s o   c h e c k   a n o t h e r   f i l e   i n   a   d i f f e r e n t   p a t h : c a t   / v o l u m e / f i l e   T h e   o u t p u t   i s   s i m i l a r   t o : 2   C r e a t e   t h e   p o d   o n   y o u r   c l u s t e r :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i m a g e - v o l u m e s . y a m l   A t t a c h   t o   t h e   c o n t a i n e r :   k u b e c t l   a t t a c h   - i t   i m a g e - v o l u m e   b a s h   C h e c k   t h e   c o n t e n t   o f   a   f i l e   i n   t h e   v o l u m e :   c a t   / v o l u m ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19615"
  },
  {
    "question": "What is Use subPath (or subPathExpr)?",
    "answer": "I t   i s   p o s s i b l e   t o   u t i l i z e   s u b P a t h   o r   s u b P a t h E x p r   f r o m   K u b e r n e t e s   v 1 . 3 3   w h e n   u s i n g   t h e   i m a g e   v o l u m e   f e a t u r e .   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   i m a g e - v o l u m e   s p e c :   c o n t a i n e r s :   -   n a m e :   s h e l l   c o m m a n d :   [ \" s l e e p \" ,   \" i n f i n i t y \" ]   i m a g e :   d e b i a n   v o l u m e M o u n t s :   -   n a m e :   v o l u m e   m o u n t P a t h :   / v o l u m e   s u b P a t h :   d i r   v o l u m e s :   -   n a m e :   v o l u m e   i m a g e :   r e f e r e n c e :   q u a y . i o / c r i o / a r t i f a c t : v 2   p u l l P o l i c y :   I f N o t P r e s e n t   C r e a t e   t h e   p o d   o n   y o u r   c l u s t e r : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i m a g e - v o l u m e s - s u b p a t h . y a m l   A t t a c h   t o   t h e   c o n t a i n e r : k u b e c t l   a t t a c h   - i t   i m a g e - v o l u m e   b a s h   C h e c k   t h e   c o n t e n t   o f   t h e   f i l e   f r o m   t h e   d i r   s u b   p a t h   i n   t h e   v o l u m e : c a t   / v o l u m e / f i l e   T h e   o u t p u t   i s   s i m i l a r   t o : 1   C r e a t e   t h e   p o d   o n   y o u r   c l u s t e r :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / p o d s / i m a g e - v o l u m e s - s u b p a t h . y a m l   A t t a c h   t o   t h e   c o n t a i n e r :   k u b e c t l   a t t a c h   - i t   i m a g e - v o l u m e   b a s h   C h e c k   t h e   c o n t e n t   o f   t h e   f i l e   f r o m   t h e   d i r   s u b   p a t h   i n   t h e   v o l u m e :   c a t   / v o l u m e / f i l e   T h e   o u t p u t   i s   s i m i l a r   t o :   1",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19616"
  },
  {
    "question": "What is Further reading?",
    "answer": "i m a g e   v o l u m e s",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19617"
  },
  {
    "question": "What is 26 - Create static Pods?",
    "answer": "S t a t i c   P o d s   a r e   m a n a g e d   d i r e c t l y   b y   t h e   k u b e l e t   d a e m o n   o n   a   s p e c i f i c   n o d e ,   w i t h o u t   t h e   A P I   s e r v e r   o b s e r v i n g   t h e m .   U n l i k e   P o d s   t h a t   a r e   m a n a g e d   b y   t h e   c o n t r o l   p l a n e   ( f o r   e x a m p l e ,   a   D e p l o y m e n t ) ;   i n s t e a d ,   t h e   k u b e l e t   w a t c h e s   e a c h   s t a t i c   P o d   ( a n d   r e s t a r t s   i t   i f   i t   f a i l s ) .   S t a t i c   P o d s   a r e   a l w a y s   b o u n d   t o   o n e   K u b e l e t   o n   a   s p e c i f i c   n o d e .   T h e   k u b e l e t   a u t o m a t i c a l l y   t r i e s   t o   c r e a t e   a   m i r r o r   P o d   o n   t h e   K u b e r n e t e s   A P I   s e r v e r   f o r   e a c h   s t a t i c   P o d .   T h i s   m e a n s   t h a t   t h e   P o d s   r u n n i n g   o n   a   n o d e   a r e   v i s i b l e   o n   t h e   A P I   s e r v e r ,   b u t   c a n n o t   b e   c o n t r o l l e d   f r o m   t h e r e .   T h e   P o d   n a m e s   w i l l   b e   s u f f i x e d   w i t h   t h e   n o d e   h o s t n a m e   w i t h   a   l e a d i n g   h y p h e n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19618"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   T h i s   p a g e   a s s u m e s   y o u ' r e   u s i n g   C R I - O   t o   r u n   P o d s ,   a n d   t h a t   y o u ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19619"
  },
  {
    "question": "What is Create a static pod?",
    "answer": "Y o u   c a n   c o n f i g u r e   a   s t a t i c   P o d   w i t h   e i t h e r   a   f i l e   s y s t e m   h o s t e d   c o n f i g u r a t i o n   f i l e   o r   a   w e b   h o s t e d   c o n f i g u r a t i o n   f i l e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19620"
  },
  {
    "question": "What is Filesystem-hosted static Pod manifest?",
    "answer": "M a n i f e s t s   a r e   s t a n d a r d   P o d   d e f i n i t i o n s   i n   J S O N   o r   Y A M L   f o r m a t   i n   a   s p e c i f i c   d i r e c t o r y .   U s e   t h e   s t a t i c P o d P a t h :   < t h e   d i r e c t o r y >   f i e l d   i n   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e ,   w h i c h   p e r i o d i c a l l y   s c a n s   t h e   d i r e c t o r y   a n d   c r e a t e s / d e l e t e s   s t a t i c   P o d s   a s   Y A M L / J S O N   f i l e s   a p p e a r / d i s a p p e a r   t h e r e .   N o t e   t h a t   t h e   k u b e l e t   w i l l   i g n o r e   f i l e s   s t a r t i n g   w i t h   d o t s   w h e n   s c a n n i n g   t h e   s p e c i f i e d   d i r e c t o r y .   F o r   e x a m p l e ,   t h i s   i s   h o w   t o   s t a r t   a   s i m p l e   w e b   s e r v e r   a s   a   s t a t i c   P o d :   C h o o s e   a   n o d e   w h e r e   y o u   w a n t   t o   r u n   t h e   s t a t i c   P o d .   I n   t h i s   e x a m p l e ,   i t ' s   m y - n o d e 1 . s s h   m y - n o d e 1   C h o o s e   a   d i r e c t o r y ,   s a y   / e t c / k u b e r n e t e s / m a n i f e s t s   a n d   p l a c e   a   w e b   s e r v e r   P o d   d e f i n i t i o n   t h e r e ,   f o r   e x a m p l e   / e t c / k u b e r n e t e s / m a n i f e s t s / s t a t i c - w e b . y a m l : #   R u n   t h i s   c o m m a n d   o n   t h e   n o d e   w h e r e   k u b e l e t   i s   r u n n i n g   m k d i r   - p   / e t c / k u b e r n e t e s / m a n i f e s t s /   c a t   < < E O F   > / e t c / k u b e r n e t e s / m a n i f e s t s / s t a t i c - w e b . y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s t a t i c - w e b   l a b e l s :   r o l e :   m y r o l e   s p e c :   c o n t a i n e r s :   -   n a m e :   w e b   i m a g e :   n g i n x   p o r t s :   -   n a m e :   w e b   c o n t a i n e r P o r t :   8 0   p r o t o c o ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19621"
  },
  {
    "question": "What is Web-hosted static pod manifest?",
    "answer": "K u b e l e t   p e r i o d i c a l l y   d o w n l o a d s   a   f i l e   s p e c i f i e d   b y   - - m a n i f e s t - u r l = < U R L >   a r g u m e n t   a n d   i n t e r p r e t s   i t   a s   a   J S O N / Y A M L   f i l e   t h a t   c o n t a i n s   P o d   d e f i n i t i o n s .   S i m i l a r   t o   h o w   f i l e s y s t e m - h o s t e d   m a n i f e s t s   w o r k ,   t h e   k u b e l e t   r e f e t c h e s   t h e   m a n i f e s t   o n   a   s c h e d u l e .   I f   t h e r e   a r e   c h a n g e s   t o   t h e   l i s t   o f   s t a t i c   P o d s ,   t h e   k u b e l e t   a p p l i e s   t h e m .   T o   u s e   t h i s   a p p r o a c h :   C r e a t e   a   Y A M L   f i l e   a n d   s t o r e   i t   o n   a   w e b   s e r v e r   s o   t h a t   y o u   c a n   p a s s   t h e   U R L   o f   t h a t   f i l e   t o   t h e   k u b e l e t . a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   s t a t i c - w e b   l a b e l s :   r o l e :   m y r o l e   s p e c :   c o n t a i n e r s :   -   n a m e :   w e b   i m a g e :   n g i n x   p o r t s :   -   n a m e :   w e b   c o n t a i n e r P o r t :   8 0   p r o t o c o l :   T C P   C o n f i g u r e   t h e   k u b e l e t   o n   y o u r   s e l e c t e d   n o d e   t o   u s e   t h i s   w e b   m a n i f e s t   b y   r u n n i n g   i t   w i t h   - - m a n i f e s t - u r l = < m a n i f e s t - u r l > .   O n   F e d o r a ,   e d i t   / e t c / k u b e r n e t e s / k u b e l e t   t o   i n c l u d e   t h i s   l i n e : K U B E L E T _ A R G S = \" - - c l u s t e r - d n s = 1 0 . 2 5 4 . 0 . 1 0   - - c l u s t e r - d o m a i n = k u b e . l o c a l   - - m a n i f e s t - u r l = < m a n i f e s t - u r l > \"   R e s t a r t   t h e   k u b e l e t .   O n   F e d o r a ,   y o u   w o u l d   r u n : #   R u n   t h i s   c o m m a n d   o n   t h e   n o d e   w h e r e   t h e   k u b e l e t   i s   r u n n i ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19622"
  },
  {
    "question": "What is Observe static pod behavior?",
    "answer": "W h e n   t h e   k u b e l e t   s t a r t s ,   i t   a u t o m a t i c a l l y   s t a r t s   a l l   d e f i n e d   s t a t i c   P o d s .   A s   y o u   h a v e   d e f i n e d   a   s t a t i c   P o d   a n d   r e s t a r t e d   t h e   k u b e l e t ,   t h e   n e w   s t a t i c   P o d   s h o u l d   a l r e a d y   b e   r u n n i n g .   Y o u   c a n   v i e w   r u n n i n g   c o n t a i n e r s   ( i n c l u d i n g   s t a t i c   P o d s )   b y   r u n n i n g   ( o n   t h e   n o d e ) :   #   R u n   t h i s   c o m m a n d   o n   t h e   n o d e   w h e r e   t h e   k u b e l e t   i s   r u n n i n g   c r i c t l   p s   T h e   o u t p u t   m i g h t   b e   s o m e t h i n g   l i k e :   C O N T A I N E R   I M A G E   C R E A T E D   S T A T E   N A M E   A T T E M P T   P O D   I D   1 2 9 f d 7 d 3 8 2 0 1 8   d o c k e r . i o / l i b r a r y / n g i n x @ s h a 2 5 6 : . . .   1 1   m i n u t e s   a g o   R u n n i n g   w e b   0   3 4 5 3 3 c 6 7 2 9 1 0 6",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19623"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   s e e   t h e   m i r r o r   P o d   o n   t h e   A P I   s e r v e r :   k u b e c t l   g e t   p o d s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   s t a t i c - w e b - m y - n o d e 1   1 / 1   R u n n i n g   0   2 m",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19624"
  },
  {
    "question": "What is Note:?",
    "answer": "L a b e l s   f r o m   t h e   s t a t i c   P o d   a r e   p r o p a g a t e d   i n t o   t h e   m i r r o r   P o d .   Y o u   c a n   u s e   t h o s e   l a b e l s   a s   n o r m a l   v i a   s e l e c t o r s ,   e t c .   I f   y o u   t r y   t o   u s e   k u b e c t l   t o   d e l e t e   t h e   m i r r o r   P o d   f r o m   t h e   A P I   s e r v e r ,   t h e   k u b e l e t   d o e s n ' t   r e m o v e   t h e   s t a t i c   P o d :   k u b e c t l   d e l e t e   p o d   s t a t i c - w e b - m y - n o d e 1   p o d   \" s t a t i c - w e b - m y - n o d e 1 \"   d e l e t e d   Y o u   c a n   s e e   t h a t   t h e   P o d   i s   s t i l l   r u n n i n g :   k u b e c t l   g e t   p o d s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   s t a t i c - w e b - m y - n o d e 1   1 / 1   R u n n i n g   0   4 s   B a c k   o n   y o u r   n o d e   w h e r e   t h e   k u b e l e t   i s   r u n n i n g ,   y o u   c a n   t r y   t o   s t o p   t h e   c o n t a i n e r   m a n u a l l y .   Y o u ' l l   s e e   t h a t ,   a f t e r   a   t i m e ,   t h e   k u b e l e t   w i l l   n o t i c e   a n d   w i l l   r e s t a r t   t h e   P o d   a u t o m a t i c a l l y :   #   R u n   t h e s e   c o m m a n d s   o n   t h e   n o d e   w h e r e   t h e   k u b e l e t   i s   r u n n i n g   c r i c t l   s t o p   1 2 9 f d 7 d 3 8 2 0 1 8   #   r e p l a c e   w i t h   t h e   I D   o f   y o u r   c o n t a i n e r   s l e e p   2 0   c r i c t l   p s   C O N T A I N E R   I M A G E   C R E A T E D   S T A T E   N A M E   A T T E M P T   P O D   I D   8 9 d b 4 5 5 3 e 1 e e b   d o c k e r . i o / l i b r a r y / n g i n x @ s h a 2 5 6 : . . .   1 9   s e c o n d s   a g o   R u n n i n g   w e b   1   3 4 5 3 3 c 6 7 2 9 1 0 6   O n c e   y o u   i d e n t i f y   t h e   r i g h t   c o n t a i n e r ,   y o u   c a n   g e t   t h e   l o g s   f o r   t h a t   c o n t a i n e r   w i t h   c r i c t l ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19625"
  },
  {
    "question": "What is Dynamic addition and removal of static pods?",
    "answer": "T h e   r u n n i n g   k u b e l e t   p e r i o d i c a l l y   s c a n s   t h e   c o n f i g u r e d   d i r e c t o r y   ( / e t c / k u b e r n e t e s / m a n i f e s t s   i n   o u r   e x a m p l e )   f o r   c h a n g e s   a n d   a d d s / r e m o v e s   P o d s   a s   f i l e s   a p p e a r / d i s a p p e a r   i n   t h i s   d i r e c t o r y .   #   T h i s   a s s u m e s   y o u   a r e   u s i n g   f i l e s y s t e m - h o s t e d   s t a t i c   P o d   c o n f i g u r a t i o n   #   R u n   t h e s e   c o m m a n d s   o n   t h e   n o d e   w h e r e   t h e   c o n t a i n e r   i s   r u n n i n g   #   m v   / e t c / k u b e r n e t e s / m a n i f e s t s / s t a t i c - w e b . y a m l   / t m p   s l e e p   2 0   c r i c t l   p s   #   Y o u   s e e   t h a t   n o   n g i n x   c o n t a i n e r   i s   r u n n i n g   m v   / t m p / s t a t i c - w e b . y a m l   / e t c / k u b e r n e t e s / m a n i f e s t s /   s l e e p   2 0   c r i c t l   p s   C O N T A I N E R   I M A G E   C R E A T E D   S T A T E   N A M E   A T T E M P T   P O D   I D   f 4 2 7 6 3 8 8 7 1 c 3 5   d o c k e r . i o / l i b r a r y / n g i n x @ s h a 2 5 6 : . . .   1 9   s e c o n d s   a g o   R u n n i n g   w e b   1   3 4 5 3 3 c 6 7 2 9 1 0 6",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19626"
  },
  {
    "question": "What is What's next?",
    "answer": "G e n e r a t e   s t a t i c   P o d   m a n i f e s t s   f o r   c o n t r o l   p l a n e   c o m p o n e n t s G e n e r a t e   s t a t i c   P o d   m a n i f e s t   f o r   l o c a l   e t c d D e b u g g i n g   K u b e r n e t e s   n o d e s   w i t h   c r i c t l L e a r n   m o r e   a b o u t   c r i c t l . M a p   d o c k e r   C L I   c o m m a n d s   t o   c r i c t l . S e t   u p   e t c d   i n s t a n c e s   a s   s t a t i c   p o d s   m a n a g e d   b y   a   k u b e l e t",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19627"
  },
  {
    "question": "What is 27 - Translate a Docker Compose File to Kubernetes Resources?",
    "answer": "W h a t ' s   K o m p o s e ?   I t ' s   a   c o n v e r s i o n   t o o l   f o r   a l l   t h i n g s   c o m p o s e   ( n a m e l y   D o c k e r   C o m p o s e )   t o   c o n t a i n e r   o r c h e s t r a t o r s   ( K u b e r n e t e s   o r   O p e n S h i f t ) .   M o r e   i n f o r m a t i o n   c a n   b e   f o u n d   o n   t h e   K o m p o s e   w e b s i t e   a t   h t t p s : / / k o m p o s e . i o / .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19628"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19629"
  },
  {
    "question": "What is Install Kompose?",
    "answer": "W e   h a v e   m u l t i p l e   w a y s   t o   i n s t a l l   K o m p o s e .   O u r   p r e f e r r e d   m e t h o d   i s   d o w n l o a d i n g   t h e   b i n a r y   f r o m   t h e   l a t e s t   G i t H u b   r e l e a s e .   K o m p o s e   i s   r e l e a s e d   v i a   G i t H u b   o n   a   t h r e e - w e e k   c y c l e ,   y o u   c a n   s e e   a l l   c u r r e n t   r e l e a s e s   o n   t h e   G i t H u b   r e l e a s e   p a g e . #   L i n u x   c u r l   - L   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k o m p o s e / r e l e a s e s / d o w n l o a d / v 1 . 3 4 . 0 / k o m p o s e - l i n u x - a m d 6 4   - o   k o m p o s e   #   m a c O S   c u r l   - L   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k o m p o s e / r e l e a s e s / d o w n l o a d / v 1 . 3 4 . 0 / k o m p o s e - d a r w i n - a m d 6 4   - o   k o m p o s e   #   W i n d o w s   c u r l   - L   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k o m p o s e / r e l e a s e s / d o w n l o a d / v 1 . 3 4 . 0 / k o m p o s e - w i n d o w s - a m d 6 4 . e x e   - o   k o m p o s e . e x e   c h m o d   + x   k o m p o s e   s u d o   m v   . / k o m p o s e   / u s r / l o c a l / b i n / k o m p o s e   A l t e r n a t i v e l y ,   y o u   c a n   d o w n l o a d   t h e   t a r b a l l .   K o m p o s e   i s   r e l e a s e d   v i a   G i t H u b   o n   a   t h r e e - w e e k   c y c l e ,   y o u   c a n   s e e   a l l   c u r r e n t   r e l e a s e s   o n   t h e   G i t H u b   r e l e a s e   p a g e .   #   L i n u x   c u r l   - L   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k o m p o s e / r e l e a s e s / d o w n l o a d / v 1 . 3 4 . 0 / k o m p o s e - l i n u x - a m d 6 4   - o   k o m p o s e   #   m a c O S   c u r l   - L   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k o m p o s e / r e l e a s e s / d o w n l o a d / v 1 . 3 4 . 0 / k o m p o s e - d a ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19630"
  },
  {
    "question": "What is Use Kompose?",
    "answer": "I n   a   f e w   s t e p s ,   w e ' l l   t a k e   y o u   f r o m   D o c k e r   C o m p o s e   t o   K u b e r n e t e s .   A l l   y o u   n e e d   i s   a n   e x i s t i n g   d o c k e r - c o m p o s e . y m l   f i l e .   G o   t o   t h e   d i r e c t o r y   c o n t a i n i n g   y o u r   d o c k e r - c o m p o s e . y m l   f i l e .   I f   y o u   d o n ' t   h a v e   o n e ,   t e s t   u s i n g   t h i s   o n e .   s e r v i c e s :   r e d i s - l e a d e r :   c o n t a i n e r _ n a m e :   r e d i s - l e a d e r   i m a g e :   r e d i s   p o r t s :   -   \" 6 3 7 9 \"   r e d i s - r e p l i c a :   c o n t a i n e r _ n a m e :   r e d i s - r e p l i c a   i m a g e :   r e d i s   p o r t s :   -   \" 6 3 7 9 \"   c o m m a n d :   r e d i s - s e r v e r   - - r e p l i c a o f   r e d i s - l e a d e r   6 3 7 9   - - d i r   / t m p   w e b :   c o n t a i n e r _ n a m e :   w e b   i m a g e :   q u a y . i o / k o m p o s e / w e b   p o r t s :   -   \" 8 0 8 0 : 8 0 8 0 \"   e n v i r o n m e n t :   -   G E T _ H O S T S _ F R O M = d n s   l a b e l s :   k o m p o s e . s e r v i c e . t y p e :   L o a d B a l a n c e r   T o   c o n v e r t   t h e   d o c k e r - c o m p o s e . y m l   f i l e   t o   f i l e s   t h a t   y o u   c a n   u s e   w i t h   k u b e c t l ,   r u n   k o m p o s e   c o n v e r t   a n d   t h e n   k u b e c t l   a p p l y   - f   < o u t p u t   f i l e > . k o m p o s e   c o n v e r t   T h e   o u t p u t   i s   s i m i l a r   t o : I N F O   K u b e r n e t e s   f i l e   \" r e d i s - l e a d e r - s e r v i c e . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" r e d i s - r e p l i c a - s e r v i c e . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" w e b - t c p - s e r v i c e . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" r e d i s - l e a d e r - d e p l o y m e n t . y a m l \"   c r e a t e d   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19631"
  },
  {
    "question": "What is User Guide?",
    "answer": "C L I k o m p o s e   c o n v e r t D o c u m e n t a t i o n A l t e r n a t i v e   C o n v e r s i o n s L a b e l s R e s t a r t D o c k e r   C o m p o s e   V e r s i o n s   k o m p o s e   c o n v e r t   A l t e r n a t i v e   C o n v e r s i o n s L a b e l s R e s t a r t D o c k e r   C o m p o s e   V e r s i o n s   K o m p o s e   h a s   s u p p o r t   f o r   t w o   p r o v i d e r s :   O p e n S h i f t   a n d   K u b e r n e t e s .   Y o u   c a n   c h o o s e   a   t a r g e t e d   p r o v i d e r   u s i n g   g l o b a l   o p t i o n   - - p r o v i d e r .   I f   n o   p r o v i d e r   i s   s p e c i f i e d ,   K u b e r n e t e s   i s   s e t   b y   d e f a u l t .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19632"
  },
  {
    "question": "What is kompose convert?",
    "answer": "K o m p o s e   s u p p o r t s   c o n v e r s i o n   o f   V 1 ,   V 2 ,   a n d   V 3   D o c k e r   C o m p o s e   f i l e s   i n t o   K u b e r n e t e s   a n d   O p e n S h i f t   o b j e c t s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19633"
  },
  {
    "question": "What is Kubernetes kompose convert example?",
    "answer": "k o m p o s e   - - f i l e   d o c k e r - v o t i n g . y m l   c o n v e r t   W A R N   U n s u p p o r t e d   k e y   n e t w o r k s   -   i g n o r i n g   W A R N   U n s u p p o r t e d   k e y   b u i l d   -   i g n o r i n g   I N F O   K u b e r n e t e s   f i l e   \" w o r k e r - s v c . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" d b - s v c . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" r e d i s - s v c . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" r e s u l t - s v c . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" v o t e - s v c . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" r e d i s - d e p l o y m e n t . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" r e s u l t - d e p l o y m e n t . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" v o t e - d e p l o y m e n t . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" w o r k e r - d e p l o y m e n t . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" d b - d e p l o y m e n t . y a m l \"   c r e a t e d   l s   d b - d e p l o y m e n t . y a m l   d o c k e r - c o m p o s e . y m l   d o c k e r - g i t l a b . y m l   r e d i s - d e p l o y m e n t . y a m l   r e s u l t - d e p l o y m e n t . y a m l   v o t e - d e p l o y m e n t . y a m l   w o r k e r - d e p l o y m e n t . y a m l   d b - s v c . y a m l   d o c k e r - v o t i n g . y m l   r e d i s - s v c . y a m l   r e s u l t - s v c . y a m l   v o t e - s v c . y a m l   w o r k e r - s v c . y a m l   Y o u   c a n   a l s o   p r o v i d e   m u l t i p l e   d o c k e r - c o m p o s e   f i l e s   a t   t h e   s a m e   t i m e :   k o m p o s e   - f   d o c k e r - c o m p o s e . y m l   - f   d o c k e r - g u e s t b o o k . y m l   c o n v e r t   I N F O   K u b e r n e t e s   f i l ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19634"
  },
  {
    "question": "What is OpenShift kompose convert example?",
    "answer": "k o m p o s e   - - p r o v i d e r   o p e n s h i f t   - - f i l e   d o c k e r - v o t i n g . y m l   c o n v e r t   W A R N   [ w o r k e r ]   S e r v i c e   c a n n o t   b e   c r e a t e d   b e c a u s e   o f   m i s s i n g   p o r t .   I N F O   O p e n S h i f t   f i l e   \" v o t e - s e r v i c e . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" d b - s e r v i c e . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" r e d i s - s e r v i c e . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" r e s u l t - s e r v i c e . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" v o t e - d e p l o y m e n t c o n f i g . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" v o t e - i m a g e s t r e a m . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" w o r k e r - d e p l o y m e n t c o n f i g . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" w o r k e r - i m a g e s t r e a m . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" d b - d e p l o y m e n t c o n f i g . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" d b - i m a g e s t r e a m . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" r e d i s - d e p l o y m e n t c o n f i g . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" r e d i s - i m a g e s t r e a m . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" r e s u l t - d e p l o y m e n t c o n f i g . y a m l \"   c r e a t e d   I N F O   O p e n S h i f t   f i l e   \" r e s u l t - i m a g e s t r e a m . y a m l \"   c r e a t e d   I t   a l s o   s u p p o r t s   c r e a t i n g   b u i l d c o n f i g   f o r   b u i l d   d i r e c t i v e   i n   a   s e r v i c e .   B y   d e f a u l t ,   i t   u s e s   t h e   r e m o t e   r e p o   f o r   t h e   c u r r e n t   g i t   b ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19635"
  },
  {
    "question": "What is Alternative Conversions?",
    "answer": "T h e   d e f a u l t   k o m p o s e   t r a n s f o r m a t i o n   w i l l   g e n e r a t e   K u b e r n e t e s   D e p l o y m e n t s   a n d   S e r v i c e s ,   i n   y a m l   f o r m a t .   Y o u   h a v e   a l t e r n a t i v e   o p t i o n   t o   g e n e r a t e   j s o n   w i t h   - j .   A l s o ,   y o u   c a n   a l t e r n a t i v e l y   g e n e r a t e   R e p l i c a t i o n   C o n t r o l l e r s   o b j e c t s ,   D a e m o n   S e t s ,   o r   H e l m   c h a r t s .   k o m p o s e   c o n v e r t   - j   I N F O   K u b e r n e t e s   f i l e   \" r e d i s - s v c . j s o n \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" w e b - s v c . j s o n \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" r e d i s - d e p l o y m e n t . j s o n \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" w e b - d e p l o y m e n t . j s o n \"   c r e a t e d   T h e   * - d e p l o y m e n t . j s o n   f i l e s   c o n t a i n   t h e   D e p l o y m e n t   o b j e c t s .   k o m p o s e   c o n v e r t   - - r e p l i c a t i o n - c o n t r o l l e r   I N F O   K u b e r n e t e s   f i l e   \" r e d i s - s v c . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" w e b - s v c . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" r e d i s - r e p l i c a t i o n c o n t r o l l e r . y a m l \"   c r e a t e d   I N F O   K u b e r n e t e s   f i l e   \" w e b - r e p l i c a t i o n c o n t r o l l e r . y a m l \"   c r e a t e d   T h e   * - r e p l i c a t i o n c o n t r o l l e r . y a m l   f i l e s   c o n t a i n   t h e   R e p l i c a t i o n   C o n t r o l l e r   o b j e c t s .   I f   y o u   w a n t   t o   s p e c i f y   r e p l i c a s   ( d e f a u l t   i s   1 ) ,   u s e   - - r e p l i c a s   f l a g :   k o m p o s e   c o n v e r t   - - r e p l i c a t i o n - c o n t r o l l e r   - - r e p l i c a s   3 .   k o m p o s e   ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19636"
  },
  {
    "question": "What is Labels?",
    "answer": "k o m p o s e   s u p p o r t s   K o m p o s e - s p e c i f i c   l a b e l s   w i t h i n   t h e   d o c k e r - c o m p o s e . y m l   f i l e   i n   o r d e r   t o   e x p l i c i t l y   d e f i n e   a   s e r v i c e ' s   b e h a v i o r   u p o n   c o n v e r s i o n .   k o m p o s e . s e r v i c e . t y p e   d e f i n e s   t h e   t y p e   o f   s e r v i c e   t o   b e   c r e a t e d . F o r   e x a m p l e : v e r s i o n :   \" 2 \"   s e r v i c e s :   n g i n x :   i m a g e :   n g i n x   d o c k e r f i l e :   f o o b a r   b u i l d :   . / f o o b a r   c a p _ a d d :   -   A L L   c o n t a i n e r _ n a m e :   f o o b a r   l a b e l s :   k o m p o s e . s e r v i c e . t y p e :   n o d e p o r t   k o m p o s e . s e r v i c e . e x p o s e   d e f i n e s   i f   t h e   s e r v i c e   n e e d s   t o   b e   m a d e   a c c e s s i b l e   f r o m   o u t s i d e   t h e   c l u s t e r   o r   n o t .   I f   t h e   v a l u e   i s   s e t   t o   \" t r u e \" ,   t h e   p r o v i d e r   s e t s   t h e   e n d p o i n t   a u t o m a t i c a l l y ,   a n d   f o r   a n y   o t h e r   v a l u e ,   t h e   v a l u e   i s   s e t   a s   t h e   h o s t n a m e .   I f   m u l t i p l e   p o r t s   a r e   d e f i n e d   i n   a   s e r v i c e ,   t h e   f i r s t   o n e   i s   c h o s e n   t o   b e   t h e   e x p o s e d . F o r   t h e   K u b e r n e t e s   p r o v i d e r ,   a n   i n g r e s s   r e s o u r c e   i s   c r e a t e d   a n d   i t   i s   a s s u m e d   t h a t   a n   i n g r e s s   c o n t r o l l e r   h a s   a l r e a d y   b e e n   c o n f i g u r e d . F o r   t h e   O p e n S h i f t   p r o v i d e r ,   a   r o u t e   i s   c r e a t e d . F o r   e x a m p l e : v e r s i o n :   \" 2 \"   s e r v i c e s :   w e b :   i m a g e :   t u n a / d o c k e r - c o u n t e r 2 3   p o r t s :   -   \" 5 0 0 0 : 5 0 0 0 \"   l i n k s :   -   r e d i s   l a b e l s :   k o m p ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19637"
  },
  {
    "question": "What is Restart?",
    "answer": "I f   y o u   w a n t   t o   c r e a t e   n o r m a l   p o d s   w i t h o u t   c o n t r o l l e r s   y o u   c a n   u s e   r e s t a r t   c o n s t r u c t   o f   d o c k e r - c o m p o s e   t o   d e f i n e   t h a t .   F o l l o w   t a b l e   b e l o w   t o   s e e   w h a t   h a p p e n s   o n   t h e   r e s t a r t   v a l u e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19638"
  },
  {
    "question": "What is Note:?",
    "answer": "F o r   e x a m p l e ,   t h e   p i v a l   s e r v i c e   w i l l   b e c o m e   p o d   d o w n   h e r e .   T h i s   c o n t a i n e r   c a l c u l a t e d   v a l u e   o f   p i .   v e r s i o n :   ' 2 '   s e r v i c e s :   p i v a l :   i m a g e :   p e r l   c o m m a n d :   [ \" p e r l \" ,   \" - M b i g n u m = b p i \" ,   \" - w l e \" ,   \" p r i n t   b p i ( 2 0 0 0 ) \" ]   r e s t a r t :   \" o n - f a i l u r e \"",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19639"
  },
  {
    "question": "What is Warning about Deployment Configurations?",
    "answer": "I f   t h e   D o c k e r   C o m p o s e   f i l e   h a s   a   v o l u m e   s p e c i f i e d   f o r   a   s e r v i c e ,   t h e   D e p l o y m e n t   ( K u b e r n e t e s )   o r   D e p l o y m e n t C o n f i g   ( O p e n S h i f t )   s t r a t e g y   i s   c h a n g e d   t o   \" R e c r e a t e \"   i n s t e a d   o f   \" R o l l i n g U p d a t e \"   ( d e f a u l t ) .   T h i s   i s   d o n e   t o   a v o i d   m u l t i p l e   i n s t a n c e s   o f   a   s e r v i c e   f r o m   a c c e s s i n g   a   v o l u m e   a t   t h e   s a m e   t i m e .   I f   t h e   D o c k e r   C o m p o s e   f i l e   h a s   s e r v i c e   n a m e   w i t h   _   i n   i t   ( f o r   e x a m p l e ,   w e b _ s e r v i c e ) ,   t h e n   i t   w i l l   b e   r e p l a c e d   b y   -   a n d   t h e   s e r v i c e   n a m e   w i l l   b e   r e n a m e d   a c c o r d i n g l y   ( f o r   e x a m p l e ,   w e b - s e r v i c e ) .   K o m p o s e   d o e s   t h i s   b e c a u s e   \" K u b e r n e t e s \"   d o e s n ' t   a l l o w   _   i n   o b j e c t   n a m e .   P l e a s e   n o t e   t h a t   c h a n g i n g   s e r v i c e   n a m e   m i g h t   b r e a k   s o m e   d o c k e r - c o m p o s e   f i l e s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19640"
  },
  {
    "question": "What is Docker Compose Versions?",
    "answer": "K o m p o s e   s u p p o r t s   D o c k e r   C o m p o s e   v e r s i o n s :   1 ,   2   a n d   3 .   W e   h a v e   l i m i t e d   s u p p o r t   o n   v e r s i o n s   2 . 1   a n d   3 . 2   d u e   t o   t h e i r   e x p e r i m e n t a l   n a t u r e .   A   f u l l   l i s t   o n   c o m p a t i b i l i t y   b e t w e e n   a l l   t h r e e   v e r s i o n s   i s   l i s t e d   i n   o u r   c o n v e r s i o n   d o c u m e n t   i n c l u d i n g   a   l i s t   o f   a l l   i n c o m p a t i b l e   D o c k e r   C o m p o s e   k e y s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19641"
  },
  {
    "question": "What is 28 - Enforce Pod Security Standards by Configuring the Built-in Admission Controller?",
    "answer": "K u b e r n e t e s   p r o v i d e s   a   b u i l t - i n   a d m i s s i o n   c o n t r o l l e r   t o   e n f o r c e   t h e   P o d   S e c u r i t y   S t a n d a r d s .   Y o u   c a n   c o n f i g u r e   t h i s   a d m i s s i o n   c o n t r o l l e r   t o   s e t   c l u s t e r - w i d e   d e f a u l t s   a n d   e x e m p t i o n s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19642"
  },
  {
    "question": "What is Before you begin?",
    "answer": "F o l l o w i n g   a n   a l p h a   r e l e a s e   i n   K u b e r n e t e s   v 1 . 2 2 ,   P o d   S e c u r i t y   A d m i s s i o n   b e c a m e   a v a i l a b l e   b y   d e f a u l t   i n   K u b e r n e t e s   v 1 . 2 3 ,   a s   a   b e t a .   F r o m   v e r s i o n   1 . 2 5   o n w a r d s ,   P o d   S e c u r i t y   A d m i s s i o n   i s   g e n e r a l l y   a v a i l a b l e .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   I f   y o u   a r e   n o t   r u n n i n g   K u b e r n e t e s   1 . 3 4 ,   y o u   c a n   s w i t c h   t o   v i e w i n g   t h i s   p a g e   i n   t h e   d o c u m e n t a t i o n   f o r   t h e   K u b e r n e t e s   v e r s i o n   t h a t   y o u   a r e   r u n n i n g .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19643"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   A d m i s s i o n C o n f i g u r a t i o n   p l u g i n s :   -   n a m e :   P o d S e c u r i t y   c o n f i g u r a t i o n :   a p i V e r s i o n :   p o d - s e c u r i t y . a d m i s s i o n . c o n f i g . k 8 s . i o / v 1   #   s e e   c o m p a t i b i l i t y   n o t e   k i n d :   P o d S e c u r i t y C o n f i g u r a t i o n   #   D e f a u l t s   a p p l i e d   w h e n   a   m o d e   l a b e l   i s   n o t   s e t .   #   #   L e v e l   l a b e l   v a l u e s   m u s t   b e   o n e   o f :   #   -   \" p r i v i l e g e d \"   ( d e f a u l t )   #   -   \" b a s e l i n e \"   #   -   \" r e s t r i c t e d \"   #   #   V e r s i o n   l a b e l   v a l u e s   m u s t   b e   o n e   o f :   #   -   \" l a t e s t \"   ( d e f a u l t )   #   -   s p e c i f i c   v e r s i o n   l i k e   \" v 1 . 3 4 \"   d e f a u l t s :   e n f o r c e :   \" p r i v i l e g e d \"   e n f o r c e - v e r s i o n :   \" l a t e s t \"   a u d i t :   \" p r i v i l e g e d \"   a u d i t - v e r s i o n :   \" l a t e s t \"   w a r n :   \" p r i v i l e g e d \"   w a r n - v e r s i o n :   \" l a t e s t \"   e x e m p t i o n s :   #   A r r a y   o f   a u t h e n t i c a t e d   u s e r n a m e s   t o   e x e m p t .   u s e r n a m e s :   [ ]   #   A r r a y   o f   r u n t i m e   c l a s s   n a m e s   t o   e x e m p t .   r u n t i m e C l a s s e s :   [ ]   #   A r r a y   o f   n a m e s p a c e s   t o   e x e m p t .   n a m e s p a c e s :   [ ]",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19644"
  },
  {
    "question": "What is 29 - Enforce Pod Security Standards with Namespace Labels?",
    "answer": "N a m e s p a c e s   c a n   b e   l a b e l e d   t o   e n f o r c e   t h e   P o d   S e c u r i t y   S t a n d a r d s .   T h e   t h r e e   p o l i c i e s   p r i v i l e g e d ,   b a s e l i n e   a n d   r e s t r i c t e d   b r o a d l y   c o v e r   t h e   s e c u r i t y   s p e c t r u m   a n d   a r e   i m p l e m e n t e d   b y   t h e   P o d   S e c u r i t y   a d m i s s i o n   c o n t r o l l e r .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19645"
  },
  {
    "question": "What is Before you begin?",
    "answer": "P o d   S e c u r i t y   A d m i s s i o n   w a s   a v a i l a b l e   b y   d e f a u l t   i n   K u b e r n e t e s   v 1 . 2 3 ,   a s   a   b e t a .   F r o m   v e r s i o n   1 . 2 5   o n w a r d s ,   P o d   S e c u r i t y   A d m i s s i o n   i s   g e n e r a l l y   a v a i l a b l e .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19646"
  },
  {
    "question": "What is Requiring the baseline Pod Security Standard with namespace labels?",
    "answer": "T h i s   m a n i f e s t   d e f i n e s   a   N a m e s p a c e   m y - b a s e l i n e - n a m e s p a c e   t h a t :   B l o c k s   a n y   p o d s   t h a t   d o n ' t   s a t i s f y   t h e   b a s e l i n e   p o l i c y   r e q u i r e m e n t s . G e n e r a t e s   a   u s e r - f a c i n g   w a r n i n g   a n d   a d d s   a n   a u d i t   a n n o t a t i o n   t o   a n y   c r e a t e d   p o d   t h a t   d o e s   n o t   m e e t   t h e   r e s t r i c t e d   p o l i c y   r e q u i r e m e n t s . P i n s   t h e   v e r s i o n s   o f   t h e   b a s e l i n e   a n d   r e s t r i c t e d   p o l i c i e s   t o   v 1 . 3 4 .   a p i V e r s i o n :   v 1   k i n d :   N a m e s p a c e   m e t a d a t a :   n a m e :   m y - b a s e l i n e - n a m e s p a c e   l a b e l s :   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e :   b a s e l i n e   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e - v e r s i o n :   v 1 . 3 4   #   W e   a r e   s e t t i n g   t h e s e   t o   o u r   _ d e s i r e d _   ` e n f o r c e `   l e v e l .   p o d - s e c u r i t y . k u b e r n e t e s . i o / a u d i t :   r e s t r i c t e d   p o d - s e c u r i t y . k u b e r n e t e s . i o / a u d i t - v e r s i o n :   v 1 . 3 4   p o d - s e c u r i t y . k u b e r n e t e s . i o / w a r n :   r e s t r i c t e d   p o d - s e c u r i t y . k u b e r n e t e s . i o / w a r n - v e r s i o n :   v 1 . 3 4",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19647"
  },
  {
    "question": "What is Note:?",
    "answer": "I t   i s   h e l p f u l   t o   a p p l y   t h e   - - d r y - r u n   f l a g   w h e n   i n i t i a l l y   e v a l u a t i n g   s e c u r i t y   p r o f i l e   c h a n g e s   f o r   n a m e s p a c e s .   T h e   P o d   S e c u r i t y   S t a n d a r d   c h e c k s   w i l l   s t i l l   b e   r u n   i n   d r y   r u n   m o d e ,   g i v i n g   y o u   i n f o r m a t i o n   a b o u t   h o w   t h e   n e w   p o l i c y   w o u l d   t r e a t   e x i s t i n g   p o d s ,   w i t h o u t   a c t u a l l y   u p d a t i n g   a   p o l i c y .   k u b e c t l   l a b e l   - - d r y - r u n = s e r v e r   - - o v e r w r i t e   n s   - - a l l   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e = b a s e l i n e",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19648"
  },
  {
    "question": "What is Applying to all namespaces?",
    "answer": "I f   y o u ' r e   j u s t   g e t t i n g   s t a r t e d   w i t h   t h e   P o d   S e c u r i t y   S t a n d a r d s ,   a   s u i t a b l e   f i r s t   s t e p   w o u l d   b e   t o   c o n f i g u r e   a l l   n a m e s p a c e s   w i t h   a u d i t   a n n o t a t i o n s   f o r   a   s t r i c t e r   l e v e l   s u c h   a s   b a s e l i n e :   k u b e c t l   l a b e l   - - o v e r w r i t e   n s   - - a l l   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / a u d i t = b a s e l i n e   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / w a r n = b a s e l i n e   N o t e   t h a t   t h i s   i s   n o t   s e t t i n g   a n   e n f o r c e   l e v e l ,   s o   t h a t   n a m e s p a c e s   t h a t   h a v e n ' t   b e e n   e x p l i c i t l y   e v a l u a t e d   c a n   b e   d i s t i n g u i s h e d .   Y o u   c a n   l i s t   n a m e s p a c e s   w i t h o u t   a n   e x p l i c i t l y   s e t   e n f o r c e   l e v e l   u s i n g   t h i s   c o m m a n d :   k u b e c t l   g e t   n a m e s p a c e s   - - s e l e c t o r = ' ! p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e '",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19649"
  },
  {
    "question": "What is Applying to a single namespace?",
    "answer": "Y o u   c a n   u p d a t e   a   s p e c i f i c   n a m e s p a c e   a s   w e l l .   T h i s   c o m m a n d   a d d s   t h e   e n f o r c e = r e s t r i c t e d   p o l i c y   t o   m y - e x i s t i n g - n a m e s p a c e ,   p i n n i n g   t h e   r e s t r i c t e d   p o l i c y   v e r s i o n   t o   v 1 . 3 4 .   k u b e c t l   l a b e l   - - o v e r w r i t e   n s   m y - e x i s t i n g - n a m e s p a c e   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e = r e s t r i c t e d   \\   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e - v e r s i o n = v 1 . 3 4",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19650"
  },
  {
    "question": "What is 30 - Migrate from PodSecurityPolicy to the Built-In PodSecurity Admission Controller?",
    "answer": "T h i s   p a g e   d e s c r i b e s   t h e   p r o c e s s   o f   m i g r a t i n g   f r o m   P o d S e c u r i t y P o l i c i e s   t o   t h e   b u i l t - i n   P o d S e c u r i t y   a d m i s s i o n   c o n t r o l l e r .   T h i s   c a n   b e   d o n e   e f f e c t i v e l y   u s i n g   a   c o m b i n a t i o n   o f   d r y - r u n   a n d   a u d i t   a n d   w a r n   m o d e s ,   a l t h o u g h   t h i s   b e c o m e s   h a r d e r   i f   m u t a t i n g   P S P s   a r e   u s e d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_1_19651"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 2 2 .   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   I f   y o u   a r e   c u r r e n t l y   r u n n i n g   a   v e r s i o n   o f   K u b e r n e t e s   o t h e r   t h a n   1 . 3 4 ,   y o u   m a y   w a n t   t o   s w i t c h   t o   v i e w i n g   t h i s   p a g e   i n   t h e   d o c u m e n t a t i o n   f o r   t h e   v e r s i o n   o f   K u b e r n e t e s   t h a t   y o u   a r e   a c t u a l l y   r u n n i n g .   T h i s   p a g e   a s s u m e s   y o u   a r e   a l r e a d y   f a m i l i a r   w i t h   t h e   b a s i c   P o d   S e c u r i t y   A d m i s s i o n   c o n c e p t s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19652"
  },
  {
    "question": "What is Overall approach?",
    "answer": "T h e r e   a r e   m u l t i p l e   s t r a t e g i e s   y o u   c a n   t a k e   f o r   m i g r a t i n g   f r o m   P o d S e c u r i t y P o l i c y   t o   P o d   S e c u r i t y   A d m i s s i o n .   T h e   f o l l o w i n g   s t e p s   a r e   o n e   p o s s i b l e   m i g r a t i o n   p a t h ,   w i t h   a   g o a l   o f   m i n i m i z i n g   b o t h   t h e   r i s k s   o f   a   p r o d u c t i o n   o u t a g e   a n d   o f   a   s e c u r i t y   g a p .   D e c i d e   w h e t h e r   P o d   S e c u r i t y   A d m i s s i o n   i s   t h e   r i g h t   f i t   f o r   y o u r   u s e   c a s e . R e v i e w   n a m e s p a c e   p e r m i s s i o n s S i m p l i f y   &   s t a n d a r d i z e   P o d S e c u r i t y P o l i c i e s U p d a t e   n a m e s p a c e s I d e n t i f y   a n   a p p r o p r i a t e   P o d   S e c u r i t y   l e v e l V e r i f y   t h e   P o d   S e c u r i t y   l e v e l E n f o r c e   t h e   P o d   S e c u r i t y   l e v e l B y p a s s   P o d S e c u r i t y P o l i c y R e v i e w   n a m e s p a c e   c r e a t i o n   p r o c e s s e s D i s a b l e   P o d S e c u r i t y P o l i c y   I d e n t i f y   a n   a p p r o p r i a t e   P o d   S e c u r i t y   l e v e l V e r i f y   t h e   P o d   S e c u r i t y   l e v e l E n f o r c e   t h e   P o d   S e c u r i t y   l e v e l B y p a s s   P o d S e c u r i t y P o l i c y",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19653"
  },
  {
    "question": "What is 0. Decide whether Pod Security Admission is right for you?",
    "answer": "P o d   S e c u r i t y   A d m i s s i o n   w a s   d e s i g n e d   t o   m e e t   t h e   m o s t   c o m m o n   s e c u r i t y   n e e d s   o u t   o f   t h e   b o x ,   a n d   t o   p r o v i d e   a   s t a n d a r d   s e t   o f   s e c u r i t y   l e v e l s   a c r o s s   c l u s t e r s .   H o w e v e r ,   i t   i s   l e s s   f l e x i b l e   t h a n   P o d S e c u r i t y P o l i c y .   N o t a b l y ,   t h e   f o l l o w i n g   f e a t u r e s   a r e   s u p p o r t e d   b y   P o d S e c u r i t y P o l i c y   b u t   n o t   P o d   S e c u r i t y   A d m i s s i o n :   S e t t i n g   d e f a u l t   s e c u r i t y   c o n s t r a i n t s   -   P o d   S e c u r i t y   A d m i s s i o n   i s   a   n o n - m u t a t i n g   a d m i s s i o n   c o n t r o l l e r ,   m e a n i n g   i t   w o n ' t   m o d i f y   p o d s   b e f o r e   v a l i d a t i n g   t h e m .   I f   y o u   w e r e   r e l y i n g   o n   t h i s   a s p e c t   o f   P S P ,   y o u   w i l l   n e e d   t o   e i t h e r   m o d i f y   y o u r   w o r k l o a d s   t o   m e e t   t h e   P o d   S e c u r i t y   c o n s t r a i n t s ,   o r   u s e   a   M u t a t i n g   A d m i s s i o n   W e b h o o k   t o   m a k e   t h o s e   c h a n g e s .   S e e   S i m p l i f y   &   S t a n d a r d i z e   P o d S e c u r i t y P o l i c i e s   b e l o w   f o r   m o r e   d e t a i l . F i n e - g r a i n e d   c o n t r o l   o v e r   p o l i c y   d e f i n i t i o n   -   P o d   S e c u r i t y   A d m i s s i o n   o n l y   s u p p o r t s   3   s t a n d a r d   l e v e l s .   I f   y o u   r e q u i r e   m o r e   c o n t r o l   o v e r   s p e c i f i c   c o n s t r a i n t s ,   t h e n   y o u   w i l l   n e e d   t o   u s e   a   V a l i d a t i n g   A d m i s s i o n   W e b h o o k   t o   e n f o r c e   t h o s e   p o l i c i e s . S u b - n a m e s p a c e   p o l i c y   g r a n u l a r i t y   -   P o d S e c ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19654"
  },
  {
    "question": "What is 1. Review namespace permissions?",
    "answer": "P o d   S e c u r i t y   A d m i s s i o n   i s   c o n t r o l l e d   b y   l a b e l s   o n   n a m e s p a c e s .   T h i s   m e a n s   t h a t   a n y o n e   w h o   c a n   u p d a t e   ( o r   p a t c h   o r   c r e a t e )   a   n a m e s p a c e   c a n   a l s o   m o d i f y   t h e   P o d   S e c u r i t y   l e v e l   f o r   t h a t   n a m e s p a c e ,   w h i c h   c o u l d   b e   u s e d   t o   b y p a s s   a   m o r e   r e s t r i c t i v e   p o l i c y .   B e f o r e   p r o c e e d i n g ,   e n s u r e   t h a t   o n l y   t r u s t e d ,   p r i v i l e g e d   u s e r s   h a v e   t h e s e   n a m e s p a c e   p e r m i s s i o n s .   I t   i s   n o t   r e c o m m e n d e d   t o   g r a n t   t h e s e   p o w e r f u l   p e r m i s s i o n s   t o   u s e r s   t h a t   s h o u l d n ' t   h a v e   e l e v a t e d   p e r m i s s i o n s ,   b u t   i f   y o u   m u s t   y o u   w i l l   n e e d   t o   u s e   a n   a d m i s s i o n   w e b h o o k   t o   p l a c e   a d d i t i o n a l   r e s t r i c t i o n s   o n   s e t t i n g   P o d   S e c u r i t y   l a b e l s   o n   N a m e s p a c e   o b j e c t s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19655"
  },
  {
    "question": "What is 2. Simplify & standardize PodSecurityPolicies?",
    "answer": "I n   t h i s   s e c t i o n ,   y o u   w i l l   r e d u c e   m u t a t i n g   P o d S e c u r i t y P o l i c i e s   a n d   r e m o v e   o p t i o n s   t h a t   a r e   o u t s i d e   t h e   s c o p e   o f   t h e   P o d   S e c u r i t y   S t a n d a r d s .   Y o u   s h o u l d   m a k e   t h e   c h a n g e s   r e c o m m e n d e d   h e r e   t o   a n   o f f l i n e   c o p y   o f   t h e   o r i g i n a l   P o d S e c u r i t y P o l i c y   b e i n g   m o d i f i e d .   T h e   c l o n e d   P S P   s h o u l d   h a v e   a   d i f f e r e n t   n a m e   t h a t   i s   a l p h a b e t i c a l l y   b e f o r e   t h e   o r i g i n a l   ( f o r   e x a m p l e ,   p r e p e n d   a   0   t o   i t ) .   D o   n o t   c r e a t e   t h e   n e w   p o l i c i e s   i n   K u b e r n e t e s   y e t   -   t h a t   w i l l   b e   c o v e r e d   i n   t h e   R o l l o u t   t h e   u p d a t e d   p o l i c i e s   s e c t i o n   b e l o w .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19656"
  },
  {
    "question": "What is 2.a. Eliminate purely mutating fields?",
    "answer": "I f   a   P o d S e c u r i t y P o l i c y   i s   m u t a t i n g   p o d s ,   t h e n   y o u   c o u l d   e n d   u p   w i t h   p o d s   t h a t   d o n ' t   m e e t   t h e   P o d   S e c u r i t y   l e v e l   r e q u i r e m e n t s   w h e n   y o u   f i n a l l y   t u r n   P o d S e c u r i t y P o l i c y   o f f .   I n   o r d e r   t o   a v o i d   t h i s ,   y o u   s h o u l d   e l i m i n a t e   a l l   P S P   m u t a t i o n   p r i o r   t o   s w i t c h i n g   o v e r .   U n f o r t u n a t e l y   P S P   d o e s   n o t   c l e a n l y   s e p a r a t e   m u t a t i n g   &   v a l i d a t i n g   f i e l d s ,   s o   t h i s   i s   n o t   a   s t r a i g h t f o r w a r d   m i g r a t i o n .   Y o u   c a n   s t a r t   b y   e l i m i n a t i n g   t h e   f i e l d s   t h a t   a r e   p u r e l y   m u t a t i n g ,   a n d   d o n ' t   h a v e   a n y   b e a r i n g   o n   t h e   v a l i d a t i n g   p o l i c y .   T h e s e   f i e l d s   ( a l s o   l i s t e d   i n   t h e   M a p p i n g   P o d S e c u r i t y P o l i c i e s   t o   P o d   S e c u r i t y   S t a n d a r d s   r e f e r e n c e )   a r e :   . s p e c . d e f a u l t A l l o w P r i v i l e g e E s c a l a t i o n . s p e c . r u n t i m e C l a s s . d e f a u l t R u n t i m e C l a s s N a m e . m e t a d a t a . a n n o t a t i o n s [ ' s e c c o m p . s e c u r i t y . a l p h a . k u b e r n e t e s . i o / d e f a u l t P r o f i l e N a m e ' ] . m e t a d a t a . a n n o t a t i o n s [ ' a p p a r m o r . s e c u r i t y . b e t a . k u b e r n e t e s . i o / d e f a u l t P r o f i l e N a m e ' ] . s p e c . d e f a u l t A d d C a p a b i l i t i e s   -   A l t h o u g h   t e c h n i c a l l y   a   m u t a t i n g   &   v a l i d a t i n g   f i e l d ,   t h e s e   s h o u l d   b e   m e r g e d   i n t o   . s p e c . a l l o w e d C a p a b i l i t i e s   w h i c h   p e r f o r m s   t h e   s a m e   v a l ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19657"
  },
  {
    "question": "What is 2.b. Eliminate options not covered by the Pod Security Standards?",
    "answer": "T h e r e   a r e   s e v e r a l   f i e l d s   i n   P o d S e c u r i t y P o l i c y   t h a t   a r e   n o t   c o v e r e d   b y   t h e   P o d   S e c u r i t y   S t a n d a r d s .   I f   y o u   m u s t   e n f o r c e   t h e s e   o p t i o n s ,   y o u   w i l l   n e e d   t o   s u p p l e m e n t   P o d   S e c u r i t y   A d m i s s i o n   w i t h   a n   a d m i s s i o n   w e b h o o k ,   w h i c h   i s   o u t s i d e   t h e   s c o p e   o f   t h i s   g u i d e .   F i r s t ,   y o u   c a n   r e m o v e   t h e   p u r e l y   v a l i d a t i n g   f i e l d s   t h a t   t h e   P o d   S e c u r i t y   S t a n d a r d s   d o   n o t   c o v e r .   T h e s e   f i e l d s   ( a l s o   l i s t e d   i n   t h e   M a p p i n g   P o d S e c u r i t y P o l i c i e s   t o   P o d   S e c u r i t y   S t a n d a r d s   r e f e r e n c e   w i t h   \" n o   o p i n i o n \" )   a r e :   . s p e c . a l l o w e d H o s t P a t h s . s p e c . a l l o w e d F l e x V o l u m e s . s p e c . a l l o w e d C S I D r i v e r s . s p e c . f o r b i d d e n S y s c t l s . s p e c . r u n t i m e C l a s s   Y o u   c a n   a l s o   r e m o v e   t h e   f o l l o w i n g   f i e l d s ,   t h a t   a r e   r e l a t e d   t o   P O S I X   /   U N I X   g r o u p   c o n t r o l s .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19658"
  },
  {
    "question": "What is Caution:?",
    "answer": ". s p e c . r u n A s G r o u p . s p e c . s u p p l e m e n t a l G r o u p s . s p e c . f s G r o u p   T h e   r e m a i n i n g   m u t a t i n g   f i e l d s   a r e   r e q u i r e d   t o   p r o p e r l y   s u p p o r t   t h e   P o d   S e c u r i t y   S t a n d a r d s ,   a n d   w i l l   n e e d   t o   b e   h a n d l e d   o n   a   c a s e - b y - c a s e   b a s i s   l a t e r :   . s p e c . r e q u i r e d D r o p C a p a b i l i t i e s   -   R e q u i r e d   t o   d r o p   A L L   f o r   t h e   R e s t r i c t e d   p r o f i l e . . s p e c . s e L i n u x   -   ( O n l y   m u t a t i n g   w i t h   t h e   M u s t R u n A s   r u l e )   r e q u i r e d   t o   e n f o r c e   t h e   S E L i n u x   r e q u i r e m e n t s   o f   t h e   B a s e l i n e   &   R e s t r i c t e d   p r o f i l e s . . s p e c . r u n A s U s e r   -   ( N o n - m u t a t i n g   w i t h   t h e   R u n A s A n y   r u l e )   r e q u i r e d   t o   e n f o r c e   R u n A s N o n R o o t   f o r   t h e   R e s t r i c t e d   p r o f i l e . . s p e c . a l l o w P r i v i l e g e E s c a l a t i o n   -   ( O n l y   m u t a t i n g   i f   s e t   t o   f a l s e )   r e q u i r e d   f o r   t h e   R e s t r i c t e d   p r o f i l e .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_4_19659"
  },
  {
    "question": "What is 2.c. Rollout the updated PSPs?",
    "answer": "N e x t ,   y o u   c a n   r o l l o u t   t h e   u p d a t e d   p o l i c i e s   t o   y o u r   c l u s t e r .   Y o u   s h o u l d   p r o c e e d   w i t h   c a u t i o n ,   a s   r e m o v i n g   t h e   m u t a t i n g   o p t i o n s   m a y   r e s u l t   i n   w o r k l o a d s   m i s s i n g   r e q u i r e d   c o n f i g u r a t i o n .   F o r   e a c h   u p d a t e d   P o d S e c u r i t y P o l i c y :   I d e n t i f y   p o d s   r u n n i n g   u n d e r   t h e   o r i g i n a l   P S P .   T h i s   c a n   b e   d o n e   u s i n g   t h e   k u b e r n e t e s . i o / p s p   a n n o t a t i o n .   F o r   e x a m p l e ,   u s i n g   k u b e c t l : P S P _ N A M E = \" o r i g i n a l \"   #   S e t   t h e   n a m e   o f   t h e   P S P   y o u ' r e   c h e c k i n g   f o r   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s   - o   j s o n p a t h = \" { r a n g e   . i t e m s [ ? ( @ . m e t a d a t a . a n n o t a t i o n s . k u b e r n e t e s \\ . i o \\ / p s p = = ' $ P S P _ N A M E ' ) ] } { . m e t a d a t a . n a m e s p a c e }   { . m e t a d a t a . n a m e } { ' \\ n ' } { e n d } \"   C o m p a r e   t h e s e   r u n n i n g   p o d s   a g a i n s t   t h e   o r i g i n a l   p o d   s p e c   t o   d e t e r m i n e   w h e t h e r   P o d S e c u r i t y P o l i c y   h a s   m o d i f i e d   t h e   p o d .   F o r   p o d s   c r e a t e d   b y   a   w o r k l o a d   r e s o u r c e   y o u   c a n   c o m p a r e   t h e   p o d   w i t h   t h e   P o d T e m p l a t e   i n   t h e   c o n t r o l l e r   r e s o u r c e .   I f   a n y   c h a n g e s   a r e   i d e n t i f i e d ,   t h e   o r i g i n a l   P o d   o r   P o d T e m p l a t e   s h o u l d   b e   u p d a t e d   w i t h   t h e   d e s i r e d   c o n f i g u r a t i o n .   T h e   f i e l d s   t o   r e v i e w   a r e : . m e t a d a t a . a n n o t a t i o n s [ ' c o n t a i n e r . a p p a r m o r . s e c ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19660"
  },
  {
    "question": "What is 3. Update Namespaces?",
    "answer": "T h e   f o l l o w i n g   s t e p s   w i l l   n e e d   t o   b e   p e r f o r m e d   o n   e v e r y   n a m e s p a c e   i n   t h e   c l u s t e r .   C o m m a n d s   r e f e r e n c e d   i n   t h e s e   s t e p s   u s e   t h e   $ N A M E S P A C E   v a r i a b l e   t o   r e f e r   t o   t h e   n a m e s p a c e   b e i n g   u p d a t e d .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19661"
  },
  {
    "question": "What is 3.a. Identify an appropriate Pod Security level?",
    "answer": "S t a r t   r e v i e w i n g   t h e   P o d   S e c u r i t y   S t a n d a r d s   a n d   f a m i l i a r i z i n g   y o u r s e l f   w i t h   t h e   3   d i f f e r e n t   l e v e l s .   T h e r e   a r e   s e v e r a l   w a y s   t o   c h o o s e   a   P o d   S e c u r i t y   l e v e l   f o r   y o u r   n a m e s p a c e :   B y   s e c u r i t y   r e q u i r e m e n t s   f o r   t h e   n a m e s p a c e   -   I f   y o u   a r e   f a m i l i a r   w i t h   t h e   e x p e c t e d   a c c e s s   l e v e l   f o r   t h e   n a m e s p a c e ,   y o u   c a n   c h o o s e   a n   a p p r o p r i a t e   l e v e l   b a s e d   o n   t h o s e   r e q u i r e m e n t s ,   s i m i l a r   t o   h o w   o n e   m i g h t   a p p r o a c h   t h i s   o n   a   n e w   c l u s t e r . B y   e x i s t i n g   P o d S e c u r i t y P o l i c i e s   -   U s i n g   t h e   M a p p i n g   P o d S e c u r i t y P o l i c i e s   t o   P o d   S e c u r i t y   S t a n d a r d s   r e f e r e n c e   y o u   c a n   m a p   e a c h   P S P   t o   a   P o d   S e c u r i t y   S t a n d a r d   l e v e l .   I f   y o u r   P S P s   a r e n ' t   b a s e d   o n   t h e   P o d   S e c u r i t y   S t a n d a r d s ,   y o u   m a y   n e e d   t o   d e c i d e   b e t w e e n   c h o o s i n g   a   l e v e l   t h a t   i s   a t   l e a s t   a s   p e r m i s s i v e   a s   t h e   P S P ,   a n d   a   l e v e l   t h a t   i s   a t   l e a s t   a s   r e s t r i c t i v e .   Y o u   c a n   s e e   w h i c h   P S P s   a r e   i n   u s e   f o r   p o d s   i n   a   g i v e n   n a m e s p a c e   w i t h   t h i s   c o m m a n d : k u b e c t l   g e t   p o d s   - n   $ N A M E S P A C E   - o   j s o n p a t h = \" { . i t e m s [ * ] . m e t a d a t a . a n n o t a t i o n s . k u b e r n e t e s \\ . i o \\ / p s p } \"   |   t r   \"   \"   \" \\ n \"   |   s o r t   - u   B y   e x i s t i n g   p o d s   -   U s i n g   t h e   s t ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19662"
  },
  {
    "question": "What is 3.b. Verify the Pod Security level?",
    "answer": "O n c e   y o u   h a v e   s e l e c t e d   a   P o d   S e c u r i t y   l e v e l   f o r   t h e   n a m e s p a c e   ( o r   i f   y o u ' r e   t r y i n g   s e v e r a l ) ,   i t ' s   a   g o o d   i d e a   t o   t e s t   i t   o u t   f i r s t   ( y o u   c a n   s k i p   t h i s   s t e p   i f   u s i n g   t h e   P r i v i l e g e d   l e v e l ) .   P o d   S e c u r i t y   i n c l u d e s   s e v e r a l   t o o l s   t o   h e l p   t e s t   a n d   s a f e l y   r o l l   o u t   p r o f i l e s .   F i r s t ,   y o u   c a n   d r y - r u n   t h e   p o l i c y ,   w h i c h   w i l l   e v a l u a t e   p o d s   c u r r e n t l y   r u n n i n g   i n   t h e   n a m e s p a c e   a g a i n s t   t h e   a p p l i e d   p o l i c y ,   w i t h o u t   m a k i n g   t h e   n e w   p o l i c y   t a k e   e f f e c t :   #   $ L E V E L   i s   t h e   l e v e l   t o   d r y - r u n ,   e i t h e r   \" b a s e l i n e \"   o r   \" r e s t r i c t e d \" .   k u b e c t l   l a b e l   - - d r y - r u n = s e r v e r   - - o v e r w r i t e   n s   $ N A M E S P A C E   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e = $ L E V E L   T h i s   c o m m a n d   w i l l   r e t u r n   a   w a r n i n g   f o r   a n y   e x i s t i n g   p o d s   t h a t   a r e   n o t   v a l i d   u n d e r   t h e   p r o p o s e d   l e v e l .   T h e   s e c o n d   o p t i o n   i s   b e t t e r   f o r   c a t c h i n g   w o r k l o a d s   t h a t   a r e   n o t   c u r r e n t l y   r u n n i n g :   a u d i t   m o d e .   W h e n   r u n n i n g   u n d e r   a u d i t - m o d e   ( a s   o p p o s e d   t o   e n f o r c i n g ) ,   p o d s   t h a t   v i o l a t e   t h e   p o l i c y   l e v e l   a r e   r e c o r d e d   i n   t h e   a u d i t   l o g s ,   w h i c h   c a n   b e   r e v i e w e d   l a t e r   a f t e r   s o m e   s o a k   t i m e ,   b u t   a r e   n o t   f o r b i d d e n .   W a r n i n ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19663"
  },
  {
    "question": "What is 3.c. Enforce the Pod Security level?",
    "answer": "W h e n   y o u   a r e   s a t i s f i e d   t h a t   t h e   c h o s e n   l e v e l   c a n   s a f e l y   b e   e n f o r c e d   o n   t h e   n a m e s p a c e ,   y o u   c a n   u p d a t e   t h e   n a m e s p a c e   t o   e n f o r c e   t h e   d e s i r e d   l e v e l :   k u b e c t l   l a b e l   - - o v e r w r i t e   n s   $ N A M E S P A C E   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e = $ L E V E L",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19664"
  },
  {
    "question": "What is 3.d. Bypass PodSecurityPolicy?",
    "answer": "F i n a l l y ,   y o u   c a n   e f f e c t i v e l y   b y p a s s   P o d S e c u r i t y P o l i c y   a t   t h e   n a m e s p a c e   l e v e l   b y   b i n d i n g   t h e   f u l l y   p r i v i l e g e d   P S P   t o   a l l   s e r v i c e   a c c o u n t s   i n   t h e   n a m e s p a c e .   #   T h e   f o l l o w i n g   c l u s t e r - s c o p e d   c o m m a n d s   a r e   o n l y   n e e d e d   o n c e .   k u b e c t l   a p p l y   - f   p r i v i l e g e d - p s p . y a m l   k u b e c t l   c r e a t e   c l u s t e r r o l e   p r i v i l e g e d - p s p   - - v e r b   u s e   - - r e s o u r c e   p o d s e c u r i t y p o l i c i e s . p o l i c y   - - r e s o u r c e - n a m e   p r i v i l e g e d   #   P e r - n a m e s p a c e   d i s a b l e   k u b e c t l   c r e a t e   - n   $ N A M E S P A C E   r o l e b i n d i n g   d i s a b l e - p s p   - - c l u s t e r r o l e   p r i v i l e g e d - p s p   - - g r o u p   s y s t e m : s e r v i c e a c c o u n t s : $ N A M E S P A C E   S i n c e   t h e   p r i v i l e g e d   P S P   i s   n o n - m u t a t i n g ,   a n d   t h e   P S P   a d m i s s i o n   c o n t r o l l e r   a l w a y s   p r e f e r s   n o n - m u t a t i n g   P S P s ,   t h i s   w i l l   e n s u r e   t h a t   p o d s   i n   t h i s   n a m e s p a c e   a r e   n o   l o n g e r   b e i n g   m o d i f i e d   o r   r e s t r i c t e d   b y   P o d S e c u r i t y P o l i c y .   T h e   a d v a n t a g e   t o   d i s a b l i n g   P o d S e c u r i t y P o l i c y   o n   a   p e r - n a m e s p a c e   b a s i s   l i k e   t h i s   i s   i f   a   p r o b l e m   a r i s e s   y o u   c a n   e a s i l y   r o l l   t h e   c h a n g e   b a c k   b y   d e l e t i n g   t h e   R o l e B i n d i n g .   J u s t   m a k e   s u r e   t h e   p r e - e x i s t i n g   P o d S e c u r i t y P o l i c i e s   a r e   s t i l l   i n   p l a c e !   #   U n d o   P o d S e c u r i t y P o l ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_3_19665"
  },
  {
    "question": "What is 4. Review namespace creation processes?",
    "answer": "N o w   t h a t   e x i s t i n g   n a m e s p a c e s   h a v e   b e e n   u p d a t e d   t o   e n f o r c e   P o d   S e c u r i t y   A d m i s s i o n ,   y o u   s h o u l d   e n s u r e   t h a t   y o u r   p r o c e s s e s   a n d / o r   p o l i c i e s   f o r   c r e a t i n g   n e w   n a m e s p a c e s   a r e   u p d a t e d   t o   e n s u r e   t h a t   a n   a p p r o p r i a t e   P o d   S e c u r i t y   p r o f i l e   i s   a p p l i e d   t o   n e w   n a m e s p a c e s .   Y o u   c a n   a l s o   s t a t i c a l l y   c o n f i g u r e   t h e   P o d   S e c u r i t y   a d m i s s i o n   c o n t r o l l e r   t o   s e t   a   d e f a u l t   e n f o r c e ,   a u d i t ,   a n d / o r   w a r n   l e v e l   f o r   u n l a b e l e d   n a m e s p a c e s .   S e e   C o n f i g u r e   t h e   A d m i s s i o n   C o n t r o l l e r   f o r   m o r e   i n f o r m a t i o n .",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19666"
  },
  {
    "question": "What is 5. Disable PodSecurityPolicy?",
    "answer": "F i n a l l y ,   y o u ' r e   r e a d y   t o   d i s a b l e   P o d S e c u r i t y P o l i c y .   T o   d o   s o ,   y o u   w i l l   n e e d   t o   m o d i f y   t h e   a d m i s s i o n   c o n f i g u r a t i o n   o f   t h e   A P I   s e r v e r :   H o w   d o   I   t u r n   o f f   a n   a d m i s s i o n   c o n t r o l l e r ? .   T o   v e r i f y   t h a t   t h e   P o d S e c u r i t y P o l i c y   a d m i s s i o n   c o n t r o l l e r   i s   n o   l o n g e r   e n a b l e d ,   y o u   c a n   m a n u a l l y   r u n   a   t e s t   b y   i m p e r s o n a t i n g   a   u s e r   w i t h o u t   a c c e s s   t o   a n y   P o d S e c u r i t y P o l i c i e s   ( s e e   t h e   P o d S e c u r i t y P o l i c y   e x a m p l e ) ,   o r   b y   v e r i f y i n g   i n   t h e   A P I   s e r v e r   l o g s .   A t   s t a r t u p ,   t h e   A P I   s e r v e r   o u t p u t s   l o g   l i n e s   l i s t i n g   t h e   l o a d e d   a d m i s s i o n   c o n t r o l l e r   p l u g i n s :   I 0 2 1 8   0 0 : 5 9 : 4 4 . 9 0 3 3 2 9   1 3   p l u g i n s . g o : 1 5 8 ]   L o a d e d   1 6   m u t a t i n g   a d m i s s i o n   c o n t r o l l e r ( s )   s u c c e s s f u l l y   i n   t h e   f o l l o w i n g   o r d e r :   N a m e s p a c e L i f e c y c l e , L i m i t R a n g e r , S e r v i c e A c c o u n t , N o d e R e s t r i c t i o n , T a i n t N o d e s B y C o n d i t i o n , P r i o r i t y , D e f a u l t T o l e r a t i o n S e c o n d s , E x t e n d e d R e s o u r c e T o l e r a t i o n , P e r s i s t e n t V o l u m e L a b e l , D e f a u l t S t o r a g e C l a s s , S t o r a g e O b j e c t I n U s e P r o t e c t i o n , R u n t i m e C l a s s , D e f a u l t I n g r e s s C l a s s , M u t a t i n g A d m i s s i o n W e b h o o k .   I 0 2 1 8   0 0 : 5 9 : 4 4 . 9 0 3 3 5 0   1 3   p l u g i n s . g o : 1 6 1 ]   L o a d e d   1 4   v a l i d a t i n g   a d m i s s i o n   c o n t r o l l e r ",
    "category": "tasks",
    "subcategory": "configure-pods-containers",
    "source": "https://kubernetes.io/docs/tasks/configure-pod-container/_print/",
    "id": "k8s_00781_section_2_19667"
  },
  {
    "question": "What is Access Applications in a Cluster?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Access Applications in a ClusterConfigure load balancing, port forwarding, or setup firewall or DNS configurations to access applications in a cluster.1: Deploy and Access the Kubernetes Dashboard2: Accessing Clusters3: Configure Access to Multiple Clusters4: Use Port Forwarding to Access Applications in a Cluster5: Use a Service to Access an Application in a Cluster6: Connect a Frontend to a Backend Using Services7: Create an External Load Balancer8: List All Container Images Running in a Cluster9: Set up Ingress on Minikube with the NGINX Ingress Controller10: Communicate Between Containers in the Same Pod Using a Shared Volume11: Configure DNS for a Cluster12: Access Services Running on Clusters1 - Deploy and Access the Kubernetes DashboardDeploy the web UI (Kubernetes Dashboard) and access it.Dashboard is a web-based Kubernetes user interface. You can use Dashboard to deploy containerized applications to a Kubernetes cluster, troubleshoot your containerized application, and manage the cluster resources. You can use Dashboard to get an overview of applications running on your cluster, as well as for creating or modifying individual Kubernetes resources (such as Deployments, Jobs, DaemonSets, etc). For example, you can scale a Deployment, initiate a rolling update, restart a pod or deploy new applications using a deploy wizard.Dashboard also provides information on the state of Kubernetes resources in your cluster and on any errors that may have occurred.Deploying the Dashboard UINote:Kubernetes Dashboard supports only Helm-based installation currently as it is faster and gives us better control over all dependencies required by Dashboard to run.The Dashboard UI is not deployed by default. To deploy it, run the following command:# Add kubernetes-dashboard repository helm repo add kubernetes-dashboard https://kubernetes.github.io/dashboard/ # Deploy a Helm Release named \"kubernetes-dashboard\" using the kubernetes-dashboard chart helm upgrade --install kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard --create-namespace --namespace kubernetes-dashboard Accessing the Dashboard UITo protect your cluster data, Dashboard deploys with a minimal RBAC configuration by default. Currently, Dashboard only supports logging in with a Bearer Token. To create a token for this demo, you can follow our guide on creating a sample user.Warning:The sample user created in the tutorial will have administrative privileges and is for educational purposes only.Command line proxyYou can enable access to the Dashboard using the kubectl command-line tool, by running the following command:kubectl -n kubernetes-dashboard port-forward svc/kubernetes-dashboard-kong-proxy 8443:443 Kubectl will make Dashboard available at https://localhost:8443.The UI can only be accessed from the machine where the command is executed. See kubectl port-forward --help fo",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_qa_19668"
  },
  {
    "question": "How does Access Applications in a Cluster work?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Access Applications in a ClusterConfigure load balancing, port forwarding, or setup firewall or DNS configurations to access applications in a cluster.1: Deploy and Access the Kubernetes Dashboard2: Accessing Clusters3: Configure Access to Multiple Clusters4: Use Port Forwarding to Access Applications in a Cluster5: Use a Service to Access an Application in a Cluster6: Connect a Frontend to a Backend Using Services7: Create an External Load Balancer8: List All Container Images Running in a Cluster9: Set up Ingress on Minikube with the NGINX Ingress Controller10: Communicate Between Containers in the Same Pod Using a Shared Volume11: Configure DNS for a Cluster12: Access Services Running on Clusters1 - Deploy and Access the Kubernetes DashboardDeploy the web UI (Kubernetes Dashboard) and access it.Dashboard is a web-based Kubernetes user interface. You can use Dashboard to deploy containerized applications to a Kubernetes cluster, troubleshoot your containerized application, and manage the cluster resources. You can use Dashboard to get an overview of applications running on your cluster, as well as for creating or modifying individual Kubernetes resources (such as Deployments, Jobs, DaemonSets, etc). For example, you can scale a Deployment, initiate a rolling update, restart a pod or deploy new applications using a deploy wizard.Dashboard also provides information on the state of Kubernetes resources in your cluster and on any errors that may have occurred.Deploying the Dashboard UINote:Kubernetes Dashboard supports only Helm-based installation currently as it is faster and gives us better control over all dependencies required by Dashboard to run.The Dashboard UI is not deployed by default. To deploy it, run the following command:# Add kubernetes-dashboard repository helm repo add kubernetes-dashboard https://kubernetes.github.io/dashboard/ # Deploy a Helm Release named \"kubernetes-dashboard\" using the kubernetes-dashboard chart helm upgrade --install kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard --create-namespace --namespace kubernetes-dashboard Accessing the Dashboard UITo protect your cluster data, Dashboard deploys with a minimal RBAC configuration by default. Currently, Dashboard only supports logging in with a Bearer Token. To create a token for this demo, you can follow our guide on creating a sample user.Warning:The sample user created in the tutorial will have administrative privileges and is for educational purposes only.Command line proxyYou can enable access to the Dashboard using the kubectl command-line tool, by running the following command:kubectl -n kubernetes-dashboard port-forward svc/kubernetes-dashboard-kong-proxy 8443:443 Kubectl will make Dashboard available at https://localhost:8443.The UI can only be accessed from the machine where the command is executed. See kubectl port-forward --help fo",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_qa_19669"
  },
  {
    "question": "When would you use Access Applications in a Cluster?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Access Applications in a ClusterConfigure load balancing, port forwarding, or setup firewall or DNS configurations to access applications in a cluster.1: Deploy and Access the Kubernetes Dashboard2: Accessing Clusters3: Configure Access to Multiple Clusters4: Use Port Forwarding to Access Applications in a Cluster5: Use a Service to Access an Application in a Cluster6: Connect a Frontend to a Backend Using Services7: Create an External Load Balancer8: List All Container Images Running in a Cluster9: Set up Ingress on Minikube with the NGINX Ingress Controller10: Communicate Between Containers in the Same Pod Using a Shared Volume11: Configure DNS for a Cluster12: Access Services Running on Clusters1 - Deploy and Access the Kubernetes DashboardDeploy the web UI (Kubernetes Dashboard) and access it.Dashboard is a web-based Kubernetes user interface. You can use Dashboard to deploy containerized applications to a Kubernetes cluster, troubleshoot your containerized application, and manage the cluster resources. You can use Dashboard to get an overview of applications running on your cluster, as well as for creating or modifying individual Kubernetes resources (such as Deployments, Jobs, DaemonSets, etc). For example, you can scale a Deployment, initiate a rolling update, restart a pod or deploy new applications using a deploy wizard.Dashboard also provides information on the state of Kubernetes resources in your cluster and on any errors that may have occurred.Deploying the Dashboard UINote:Kubernetes Dashboard supports only Helm-based installation currently as it is faster and gives us better control over all dependencies required by Dashboard to run.The Dashboard UI is not deployed by default. To deploy it, run the following command:# Add kubernetes-dashboard repository helm repo add kubernetes-dashboard https://kubernetes.github.io/dashboard/ # Deploy a Helm Release named \"kubernetes-dashboard\" using the kubernetes-dashboard chart helm upgrade --install kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard --create-namespace --namespace kubernetes-dashboard Accessing the Dashboard UITo protect your cluster data, Dashboard deploys with a minimal RBAC configuration by default. Currently, Dashboard only supports logging in with a Bearer Token. To create a token for this demo, you can follow our guide on creating a sample user.Warning:The sample user created in the tutorial will have administrative privileges and is for educational purposes only.Command line proxyYou can enable access to the Dashboard using the kubectl command-line tool, by running the following command:kubectl -n kubernetes-dashboard port-forward svc/kubernetes-dashboard-kong-proxy 8443:443 Kubectl will make Dashboard available at https://localhost:8443.The UI can only be accessed from the machine where the command is executed. See kubectl port-forward --help fo",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_qa_19670"
  },
  {
    "question": "What are the benefits of Access Applications in a Cluster?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Access Applications in a ClusterConfigure load balancing, port forwarding, or setup firewall or DNS configurations to access applications in a cluster.1: Deploy and Access the Kubernetes Dashboard2: Accessing Clusters3: Configure Access to Multiple Clusters4: Use Port Forwarding to Access Applications in a Cluster5: Use a Service to Access an Application in a Cluster6: Connect a Frontend to a Backend Using Services7: Create an External Load Balancer8: List All Container Images Running in a Cluster9: Set up Ingress on Minikube with the NGINX Ingress Controller10: Communicate Between Containers in the Same Pod Using a Shared Volume11: Configure DNS for a Cluster12: Access Services Running on Clusters1 - Deploy and Access the Kubernetes DashboardDeploy the web UI (Kubernetes Dashboard) and access it.Dashboard is a web-based Kubernetes user interface. You can use Dashboard to deploy containerized applications to a Kubernetes cluster, troubleshoot your containerized application, and manage the cluster resources. You can use Dashboard to get an overview of applications running on your cluster, as well as for creating or modifying individual Kubernetes resources (such as Deployments, Jobs, DaemonSets, etc). For example, you can scale a Deployment, initiate a rolling update, restart a pod or deploy new applications using a deploy wizard.Dashboard also provides information on the state of Kubernetes resources in your cluster and on any errors that may have occurred.Deploying the Dashboard UINote:Kubernetes Dashboard supports only Helm-based installation currently as it is faster and gives us better control over all dependencies required by Dashboard to run.The Dashboard UI is not deployed by default. To deploy it, run the following command:# Add kubernetes-dashboard repository helm repo add kubernetes-dashboard https://kubernetes.github.io/dashboard/ # Deploy a Helm Release named \"kubernetes-dashboard\" using the kubernetes-dashboard chart helm upgrade --install kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard --create-namespace --namespace kubernetes-dashboard Accessing the Dashboard UITo protect your cluster data, Dashboard deploys with a minimal RBAC configuration by default. Currently, Dashboard only supports logging in with a Bearer Token. To create a token for this demo, you can follow our guide on creating a sample user.Warning:The sample user created in the tutorial will have administrative privileges and is for educational purposes only.Command line proxyYou can enable access to the Dashboard using the kubectl command-line tool, by running the following command:kubectl -n kubernetes-dashboard port-forward svc/kubernetes-dashboard-kong-proxy 8443:443 Kubectl will make Dashboard available at https://localhost:8443.The UI can only be accessed from the machine where the command is executed. See kubectl port-forward --help fo",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_qa_19671"
  },
  {
    "question": "What is Access Applications in a Cluster?",
    "answer": "1 :   D e p l o y   a n d   A c c e s s   t h e   K u b e r n e t e s   D a s h b o a r d 2 :   A c c e s s i n g   C l u s t e r s 3 :   C o n f i g u r e   A c c e s s   t o   M u l t i p l e   C l u s t e r s 4 :   U s e   P o r t   F o r w a r d i n g   t o   A c c e s s   A p p l i c a t i o n s   i n   a   C l u s t e r 5 :   U s e   a   S e r v i c e   t o   A c c e s s   a n   A p p l i c a t i o n   i n   a   C l u s t e r 6 :   C o n n e c t   a   F r o n t e n d   t o   a   B a c k e n d   U s i n g   S e r v i c e s 7 :   C r e a t e   a n   E x t e r n a l   L o a d   B a l a n c e r 8 :   L i s t   A l l   C o n t a i n e r   I m a g e s   R u n n i n g   i n   a   C l u s t e r 9 :   S e t   u p   I n g r e s s   o n   M i n i k u b e   w i t h   t h e   N G I N X   I n g r e s s   C o n t r o l l e r 1 0 :   C o m m u n i c a t e   B e t w e e n   C o n t a i n e r s   i n   t h e   S a m e   P o d   U s i n g   a   S h a r e d   V o l u m e 1 1 :   C o n f i g u r e   D N S   f o r   a   C l u s t e r 1 2 :   A c c e s s   S e r v i c e s   R u n n i n g   o n   C l u s t e r s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_1_19672"
  },
  {
    "question": "What is 1 - Deploy and Access the Kubernetes Dashboard?",
    "answer": "D a s h b o a r d   i s   a   w e b - b a s e d   K u b e r n e t e s   u s e r   i n t e r f a c e .   Y o u   c a n   u s e   D a s h b o a r d   t o   d e p l o y   c o n t a i n e r i z e d   a p p l i c a t i o n s   t o   a   K u b e r n e t e s   c l u s t e r ,   t r o u b l e s h o o t   y o u r   c o n t a i n e r i z e d   a p p l i c a t i o n ,   a n d   m a n a g e   t h e   c l u s t e r   r e s o u r c e s .   Y o u   c a n   u s e   D a s h b o a r d   t o   g e t   a n   o v e r v i e w   o f   a p p l i c a t i o n s   r u n n i n g   o n   y o u r   c l u s t e r ,   a s   w e l l   a s   f o r   c r e a t i n g   o r   m o d i f y i n g   i n d i v i d u a l   K u b e r n e t e s   r e s o u r c e s   ( s u c h   a s   D e p l o y m e n t s ,   J o b s ,   D a e m o n S e t s ,   e t c ) .   F o r   e x a m p l e ,   y o u   c a n   s c a l e   a   D e p l o y m e n t ,   i n i t i a t e   a   r o l l i n g   u p d a t e ,   r e s t a r t   a   p o d   o r   d e p l o y   n e w   a p p l i c a t i o n s   u s i n g   a   d e p l o y   w i z a r d .   D a s h b o a r d   a l s o   p r o v i d e s   i n f o r m a t i o n   o n   t h e   s t a t e   o f   K u b e r n e t e s   r e s o u r c e s   i n   y o u r   c l u s t e r   a n d   o n   a n y   e r r o r s   t h a t   m a y   h a v e   o c c u r r e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_1_19673"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   D a s h b o a r d   U I   i s   n o t   d e p l o y e d   b y   d e f a u l t .   T o   d e p l o y   i t ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   #   A d d   k u b e r n e t e s - d a s h b o a r d   r e p o s i t o r y   h e l m   r e p o   a d d   k u b e r n e t e s - d a s h b o a r d   h t t p s : / / k u b e r n e t e s . g i t h u b . i o / d a s h b o a r d /   #   D e p l o y   a   H e l m   R e l e a s e   n a m e d   \" k u b e r n e t e s - d a s h b o a r d \"   u s i n g   t h e   k u b e r n e t e s - d a s h b o a r d   c h a r t   h e l m   u p g r a d e   - - i n s t a l l   k u b e r n e t e s - d a s h b o a r d   k u b e r n e t e s - d a s h b o a r d / k u b e r n e t e s - d a s h b o a r d   - - c r e a t e - n a m e s p a c e   - - n a m e s p a c e   k u b e r n e t e s - d a s h b o a r d",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_4_19674"
  },
  {
    "question": "What is Accessing the Dashboard UI?",
    "answer": "T o   p r o t e c t   y o u r   c l u s t e r   d a t a ,   D a s h b o a r d   d e p l o y s   w i t h   a   m i n i m a l   R B A C   c o n f i g u r a t i o n   b y   d e f a u l t .   C u r r e n t l y ,   D a s h b o a r d   o n l y   s u p p o r t s   l o g g i n g   i n   w i t h   a   B e a r e r   T o k e n .   T o   c r e a t e   a   t o k e n   f o r   t h i s   d e m o ,   y o u   c a n   f o l l o w   o u r   g u i d e   o n   c r e a t i n g   a   s a m p l e   u s e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19675"
  },
  {
    "question": "What is Command line proxy?",
    "answer": "Y o u   c a n   e n a b l e   a c c e s s   t o   t h e   D a s h b o a r d   u s i n g   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l ,   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   - n   k u b e r n e t e s - d a s h b o a r d   p o r t - f o r w a r d   s v c / k u b e r n e t e s - d a s h b o a r d - k o n g - p r o x y   8 4 4 3 : 4 4 3   K u b e c t l   w i l l   m a k e   D a s h b o a r d   a v a i l a b l e   a t   h t t p s : / / l o c a l h o s t : 8 4 4 3 .   T h e   U I   c a n   o n l y   b e   a c c e s s e d   f r o m   t h e   m a c h i n e   w h e r e   t h e   c o m m a n d   i s   e x e c u t e d .   S e e   k u b e c t l   p o r t - f o r w a r d   - - h e l p   f o r   m o r e   o p t i o n s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_3_19676"
  },
  {
    "question": "What is Welcome view?",
    "answer": "W h e n   y o u   a c c e s s   D a s h b o a r d   o n   a n   e m p t y   c l u s t e r ,   y o u ' l l   s e e   t h e   w e l c o m e   p a g e .   T h i s   p a g e   c o n t a i n s   a   l i n k   t o   t h i s   d o c u m e n t   a s   w e l l   a s   a   b u t t o n   t o   d e p l o y   y o u r   f i r s t   a p p l i c a t i o n .   I n   a d d i t i o n ,   y o u   c a n   v i e w   w h i c h   s y s t e m   a p p l i c a t i o n s   a r e   r u n n i n g   b y   d e f a u l t   i n   t h e   k u b e - s y s t e m   n a m e s p a c e   o f   y o u r   c l u s t e r ,   f o r   e x a m p l e   t h e   D a s h b o a r d   i t s e l f .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19677"
  },
  {
    "question": "What is Deploying containerized applications?",
    "answer": "D a s h b o a r d   l e t s   y o u   c r e a t e   a n d   d e p l o y   a   c o n t a i n e r i z e d   a p p l i c a t i o n   a s   a   D e p l o y m e n t   a n d   o p t i o n a l   S e r v i c e   w i t h   a   s i m p l e   w i z a r d .   Y o u   c a n   e i t h e r   m a n u a l l y   s p e c i f y   a p p l i c a t i o n   d e t a i l s ,   o r   u p l o a d   a   Y A M L   o r   J S O N   m a n i f e s t   f i l e   c o n t a i n i n g   a p p l i c a t i o n   c o n f i g u r a t i o n .   C l i c k   t h e   C R E A T E   b u t t o n   i n   t h e   u p p e r   r i g h t   c o r n e r   o f   a n y   p a g e   t o   b e g i n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19678"
  },
  {
    "question": "What is Specifying application details?",
    "answer": "T h e   d e p l o y   w i z a r d   e x p e c t s   t h a t   y o u   p r o v i d e   t h e   f o l l o w i n g   i n f o r m a t i o n :   A p p   n a m e   ( m a n d a t o r y ) :   N a m e   f o r   y o u r   a p p l i c a t i o n .   A   l a b e l   w i t h   t h e   n a m e   w i l l   b e   a d d e d   t o   t h e   D e p l o y m e n t   a n d   S e r v i c e ,   i f   a n y ,   t h a t   w i l l   b e   d e p l o y e d . T h e   a p p l i c a t i o n   n a m e   m u s t   b e   u n i q u e   w i t h i n   t h e   s e l e c t e d   K u b e r n e t e s   n a m e s p a c e .   I t   m u s t   s t a r t   w i t h   a   l o w e r c a s e   c h a r a c t e r ,   a n d   e n d   w i t h   a   l o w e r c a s e   c h a r a c t e r   o r   a   n u m b e r ,   a n d   c o n t a i n   o n l y   l o w e r c a s e   l e t t e r s ,   n u m b e r s   a n d   d a s h e s   ( - ) .   I t   i s   l i m i t e d   t o   2 4   c h a r a c t e r s .   L e a d i n g   a n d   t r a i l i n g   s p a c e s   a r e   i g n o r e d . C o n t a i n e r   i m a g e   ( m a n d a t o r y ) :   T h e   U R L   o f   a   p u b l i c   D o c k e r   c o n t a i n e r   i m a g e   o n   a n y   r e g i s t r y ,   o r   a   p r i v a t e   i m a g e   ( c o m m o n l y   h o s t e d   o n   t h e   G o o g l e   C o n t a i n e r   R e g i s t r y   o r   D o c k e r   H u b ) .   T h e   c o n t a i n e r   i m a g e   s p e c i f i c a t i o n   m u s t   e n d   w i t h   a   c o l o n . N u m b e r   o f   p o d s   ( m a n d a t o r y ) :   T h e   t a r g e t   n u m b e r   o f   P o d s   y o u   w a n t   y o u r   a p p l i c a t i o n   t o   b e   d e p l o y e d   i n .   T h e   v a l u e   m u s t   b e   a   p o s i t i v e   i n t e g e r . A   D e p l o y m e n t   w i l l   b e   c r e a t e d   t o   m a i n t a i n   t h e   d e s i r e d   n u m b e r   o f   P o d s   a c r o s s   y o u r   c l u s t e r . S e r v i c e   ( o p t i o n a l ) :   F o r   s o m e   p ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_3_19679"
  },
  {
    "question": "What is Note:?",
    "answer": "O t h e r   S e r v i c e s   t h a t   a r e   o n l y   v i s i b l e   f r o m   i n s i d e   t h e   c l u s t e r   a r e   c a l l e d   i n t e r n a l   S e r v i c e s .   I r r e s p e c t i v e   o f   t h e   S e r v i c e   t y p e ,   i f   y o u   c h o o s e   t o   c r e a t e   a   S e r v i c e   a n d   y o u r   c o n t a i n e r   l i s t e n s   o n   a   p o r t   ( i n c o m i n g ) ,   y o u   n e e d   t o   s p e c i f y   t w o   p o r t s .   T h e   S e r v i c e   w i l l   b e   c r e a t e d   m a p p i n g   t h e   p o r t   ( i n c o m i n g )   t o   t h e   t a r g e t   p o r t   s e e n   b y   t h e   c o n t a i n e r .   T h i s   S e r v i c e   w i l l   r o u t e   t o   y o u r   d e p l o y e d   P o d s .   S u p p o r t e d   p r o t o c o l s   a r e   T C P   a n d   U D P .   T h e   i n t e r n a l   D N S   n a m e   f o r   t h i s   S e r v i c e   w i l l   b e   t h e   v a l u e   y o u   s p e c i f i e d   a s   a p p l i c a t i o n   n a m e   a b o v e .   I f   n e e d e d ,   y o u   c a n   e x p a n d   t h e   A d v a n c e d   o p t i o n s   s e c t i o n   w h e r e   y o u   c a n   s p e c i f y   m o r e   s e t t i n g s :   D e s c r i p t i o n :   T h e   t e x t   y o u   e n t e r   h e r e   w i l l   b e   a d d e d   a s   a n   a n n o t a t i o n   t o   t h e   D e p l o y m e n t   a n d   d i s p l a y e d   i n   t h e   a p p l i c a t i o n ' s   d e t a i l s . L a b e l s :   D e f a u l t   l a b e l s   t o   b e   u s e d   f o r   y o u r   a p p l i c a t i o n   a r e   a p p l i c a t i o n   n a m e   a n d   v e r s i o n .   Y o u   c a n   s p e c i f y   a d d i t i o n a l   l a b e l s   t o   b e   a p p l i e d   t o   t h e   D e p l o y m e n t ,   S e r v i c e   ( i f   a n y ) ,   a n d   P o d s ,   s u c h   a s   r e l e a s e ,   e n v i r o n m e n t ,   t i e r ,   p a r t i t i o n ,   a n d   r e l e a s e   t r a c k . E x a m p l e : r e l ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_4_19680"
  },
  {
    "question": "What is Uploading a YAML or JSON file?",
    "answer": "K u b e r n e t e s   s u p p o r t s   d e c l a r a t i v e   c o n f i g u r a t i o n .   I n   t h i s   s t y l e ,   a l l   c o n f i g u r a t i o n   i s   s t o r e d   i n   m a n i f e s t s   ( Y A M L   o r   J S O N   c o n f i g u r a t i o n   f i l e s ) .   T h e   m a n i f e s t s   u s e   K u b e r n e t e s   A P I   r e s o u r c e   s c h e m a s .   A s   a n   a l t e r n a t i v e   t o   s p e c i f y i n g   a p p l i c a t i o n   d e t a i l s   i n   t h e   d e p l o y   w i z a r d ,   y o u   c a n   d e f i n e   y o u r   a p p l i c a t i o n   i n   o n e   o r   m o r e   m a n i f e s t s ,   a n d   u p l o a d   t h e   f i l e s   u s i n g   D a s h b o a r d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_3_19681"
  },
  {
    "question": "What is Using Dashboard?",
    "answer": "F o l l o w i n g   s e c t i o n s   d e s c r i b e   v i e w s   o f   t h e   K u b e r n e t e s   D a s h b o a r d   U I ;   w h a t   t h e y   p r o v i d e   a n d   h o w   c a n   t h e y   b e   u s e d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19682"
  },
  {
    "question": "What is Navigation?",
    "answer": "W h e n   t h e r e   a r e   K u b e r n e t e s   o b j e c t s   d e f i n e d   i n   t h e   c l u s t e r ,   D a s h b o a r d   s h o w s   t h e m   i n   t h e   i n i t i a l   v i e w .   B y   d e f a u l t   o n l y   o b j e c t s   f r o m   t h e   d e f a u l t   n a m e s p a c e   a r e   s h o w n   a n d   t h i s   c a n   b e   c h a n g e d   u s i n g   t h e   n a m e s p a c e   s e l e c t o r   l o c a t e d   i n   t h e   n a v i g a t i o n   m e n u .   D a s h b o a r d   s h o w s   m o s t   K u b e r n e t e s   o b j e c t   k i n d s   a n d   g r o u p s   t h e m   i n   a   f e w   m e n u   c a t e g o r i e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_3_19683"
  },
  {
    "question": "What is Admin overview?",
    "answer": "F o r   c l u s t e r   a n d   n a m e s p a c e   a d m i n i s t r a t o r s ,   D a s h b o a r d   l i s t s   N o d e s ,   N a m e s p a c e s   a n d   P e r s i s t e n t V o l u m e s   a n d   h a s   d e t a i l   v i e w s   f o r   t h e m .   N o d e   l i s t   v i e w   c o n t a i n s   C P U   a n d   m e m o r y   u s a g e   m e t r i c s   a g g r e g a t e d   a c r o s s   a l l   N o d e s .   T h e   d e t a i l s   v i e w   s h o w s   t h e   m e t r i c s   f o r   a   N o d e ,   i t s   s p e c i f i c a t i o n ,   s t a t u s ,   a l l o c a t e d   r e s o u r c e s ,   e v e n t s   a n d   p o d s   r u n n i n g   o n   t h e   n o d e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_4_19684"
  },
  {
    "question": "What is Workloads?",
    "answer": "S h o w s   a l l   a p p l i c a t i o n s   r u n n i n g   i n   t h e   s e l e c t e d   n a m e s p a c e .   T h e   v i e w   l i s t s   a p p l i c a t i o n s   b y   w o r k l o a d   k i n d   ( f o r   e x a m p l e :   D e p l o y m e n t s ,   R e p l i c a S e t s ,   S t a t e f u l S e t s ) .   E a c h   w o r k l o a d   k i n d   c a n   b e   v i e w e d   s e p a r a t e l y .   T h e   l i s t s   s u m m a r i z e   a c t i o n a b l e   i n f o r m a t i o n   a b o u t   t h e   w o r k l o a d s ,   s u c h   a s   t h e   n u m b e r   o f   r e a d y   p o d s   f o r   a   R e p l i c a S e t   o r   c u r r e n t   m e m o r y   u s a g e   f o r   a   P o d .   D e t a i l   v i e w s   f o r   w o r k l o a d s   s h o w   s t a t u s   a n d   s p e c i f i c a t i o n   i n f o r m a t i o n   a n d   s u r f a c e   r e l a t i o n s h i p s   b e t w e e n   o b j e c t s .   F o r   e x a m p l e ,   P o d s   t h a t   R e p l i c a S e t   i s   c o n t r o l l i n g   o r   n e w   R e p l i c a S e t s   a n d   H o r i z o n t a l P o d A u t o s c a l e r s   f o r   D e p l o y m e n t s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_4_19685"
  },
  {
    "question": "What is Services?",
    "answer": "S h o w s   K u b e r n e t e s   r e s o u r c e s   t h a t   a l l o w   f o r   e x p o s i n g   s e r v i c e s   t o   e x t e r n a l   w o r l d   a n d   d i s c o v e r i n g   t h e m   w i t h i n   a   c l u s t e r .   F o r   t h a t   r e a s o n ,   S e r v i c e   a n d   I n g r e s s   v i e w s   s h o w   P o d s   t a r g e t e d   b y   t h e m ,   i n t e r n a l   e n d p o i n t s   f o r   c l u s t e r   c o n n e c t i o n s   a n d   e x t e r n a l   e n d p o i n t s   f o r   e x t e r n a l   u s e r s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_4_19686"
  },
  {
    "question": "What is Storage?",
    "answer": "S t o r a g e   v i e w   s h o w s   P e r s i s t e n t V o l u m e C l a i m   r e s o u r c e s   w h i c h   a r e   u s e d   b y   a p p l i c a t i o n s   f o r   s t o r i n g   d a t a .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_4_19687"
  },
  {
    "question": "What is ConfigMaps and Secrets?",
    "answer": "S h o w s   a l l   K u b e r n e t e s   r e s o u r c e s   t h a t   a r e   u s e d   f o r   l i v e   c o n f i g u r a t i o n   o f   a p p l i c a t i o n s   r u n n i n g   i n   c l u s t e r s .   T h e   v i e w   a l l o w s   f o r   e d i t i n g   a n d   m a n a g i n g   c o n f i g   o b j e c t s   a n d   d i s p l a y s   s e c r e t s   h i d d e n   b y   d e f a u l t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_4_19688"
  },
  {
    "question": "What is Logs viewer?",
    "answer": "P o d   l i s t s   a n d   d e t a i l   p a g e s   l i n k   t o   a   l o g s   v i e w e r   t h a t   i s   b u i l t   i n t o   D a s h b o a r d .   T h e   v i e w e r   a l l o w s   f o r   d r i l l i n g   d o w n   l o g s   f r o m   c o n t a i n e r s   b e l o n g i n g   t o   a   s i n g l e   P o d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_4_19689"
  },
  {
    "question": "What is What's next?",
    "answer": "F o r   m o r e   i n f o r m a t i o n ,   s e e   t h e   K u b e r n e t e s   D a s h b o a r d   p r o j e c t   p a g e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19690"
  },
  {
    "question": "What is 2 - Accessing Clusters?",
    "answer": "T h i s   t o p i c   d i s c u s s e s   m u l t i p l e   w a y s   t o   i n t e r a c t   w i t h   c l u s t e r s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_1_19691"
  },
  {
    "question": "What is Accessing for the first time with kubectl?",
    "answer": "W h e n   a c c e s s i n g   t h e   K u b e r n e t e s   A P I   f o r   t h e   f i r s t   t i m e ,   w e   s u g g e s t   u s i n g   t h e   K u b e r n e t e s   C L I ,   k u b e c t l .   T o   a c c e s s   a   c l u s t e r ,   y o u   n e e d   t o   k n o w   t h e   l o c a t i o n   o f   t h e   c l u s t e r   a n d   h a v e   c r e d e n t i a l s   t o   a c c e s s   i t .   T y p i c a l l y ,   t h i s   i s   a u t o m a t i c a l l y   s e t - u p   w h e n   y o u   w o r k   t h r o u g h   a   G e t t i n g   s t a r t e d   g u i d e ,   o r   s o m e o n e   e l s e   s e t   u p   t h e   c l u s t e r   a n d   p r o v i d e d   y o u   w i t h   c r e d e n t i a l s   a n d   a   l o c a t i o n .   C h e c k   t h e   l o c a t i o n   a n d   c r e d e n t i a l s   t h a t   k u b e c t l   k n o w s   a b o u t   w i t h   t h i s   c o m m a n d :   k u b e c t l   c o n f i g   v i e w   M a n y   o f   t h e   e x a m p l e s   p r o v i d e   a n   i n t r o d u c t i o n   t o   u s i n g   k u b e c t l ,   a n d   c o m p l e t e   d o c u m e n t a t i o n   i s   f o u n d   i n   t h e   k u b e c t l   r e f e r e n c e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19692"
  },
  {
    "question": "What is Directly accessing the REST API?",
    "answer": "K u b e c t l   h a n d l e s   l o c a t i n g   a n d   a u t h e n t i c a t i n g   t o   t h e   a p i s e r v e r .   I f   y o u   w a n t   t o   d i r e c t l y   a c c e s s   t h e   R E S T   A P I   w i t h   a n   h t t p   c l i e n t   l i k e   c u r l   o r   w g e t ,   o r   a   b r o w s e r ,   t h e r e   a r e   s e v e r a l   w a y s   t o   l o c a t e   a n d   a u t h e n t i c a t e :   R u n   k u b e c t l   i n   p r o x y   m o d e . R e c o m m e n d e d   a p p r o a c h . U s e s   s t o r e d   a p i s e r v e r   l o c a t i o n . V e r i f i e s   i d e n t i t y   o f   a p i s e r v e r   u s i n g   s e l f - s i g n e d   c e r t .   N o   M I T M   p o s s i b l e . A u t h e n t i c a t e s   t o   a p i s e r v e r . I n   f u t u r e ,   m a y   d o   i n t e l l i g e n t   c l i e n t - s i d e   l o a d - b a l a n c i n g   a n d   f a i l o v e r . P r o v i d e   t h e   l o c a t i o n   a n d   c r e d e n t i a l s   d i r e c t l y   t o   t h e   h t t p   c l i e n t . A l t e r n a t e   a p p r o a c h . W o r k s   w i t h   s o m e   t y p e s   o f   c l i e n t   c o d e   t h a t   a r e   c o n f u s e d   b y   u s i n g   a   p r o x y . N e e d   t o   i m p o r t   a   r o o t   c e r t   i n t o   y o u r   b r o w s e r   t o   p r o t e c t   a g a i n s t   M I T M .   R e c o m m e n d e d   a p p r o a c h . U s e s   s t o r e d   a p i s e r v e r   l o c a t i o n . V e r i f i e s   i d e n t i t y   o f   a p i s e r v e r   u s i n g   s e l f - s i g n e d   c e r t .   N o   M I T M   p o s s i b l e . A u t h e n t i c a t e s   t o   a p i s e r v e r . I n   f u t u r e ,   m a y   d o   i n t e l l i g e n t   c l i e n t - s i d e   l o a d - b a l a n c i n g   a n d   f a i l o v e r .   A l t e r n a t e   a p p r o a c h . W o r k s   w i t h   s o m e   t y p e s   o f   c l i e n t   c o d e   t h a t   a r e   c o n f u s e d   b y   u s i n g   a   p r o x y . N e e d ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19693"
  },
  {
    "question": "What is Using kubectl proxy?",
    "answer": "T h e   f o l l o w i n g   c o m m a n d   r u n s   k u b e c t l   i n   a   m o d e   w h e r e   i t   a c t s   a s   a   r e v e r s e   p r o x y .   I t   h a n d l e s   l o c a t i n g   t h e   a p i s e r v e r   a n d   a u t h e n t i c a t i n g .   R u n   i t   l i k e   t h i s :   k u b e c t l   p r o x y   - - p o r t = 8 0 8 0   S e e   k u b e c t l   p r o x y   f o r   m o r e   d e t a i l s .   T h e n   y o u   c a n   e x p l o r e   t h e   A P I   w i t h   c u r l ,   w g e t ,   o r   a   b r o w s e r ,   r e p l a c i n g   l o c a l h o s t   w i t h   [ : : 1 ]   f o r   I P v 6 ,   l i k e   s o :   c u r l   h t t p : / / l o c a l h o s t : 8 0 8 0 / a p i /   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   {   \" k i n d \" :   \" A P I V e r s i o n s \" ,   \" v e r s i o n s \" :   [   \" v 1 \"   ] ,   \" s e r v e r A d d r e s s B y C l i e n t C I D R s \" :   [   {   \" c l i e n t C I D R \" :   \" 0 . 0 . 0 . 0 / 0 \" ,   \" s e r v e r A d d r e s s \" :   \" 1 0 . 0 . 1 . 1 4 9 : 4 4 3 \"   }   ]   }",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_3_19694"
  },
  {
    "question": "What is Without kubectl proxy?",
    "answer": "U s e   k u b e c t l   a p p l y   a n d   k u b e c t l   d e s c r i b e   s e c r e t . . .   t o   c r e a t e   a   t o k e n   f o r   t h e   d e f a u l t   s e r v i c e   a c c o u n t   w i t h   g r e p / c u t :   F i r s t ,   c r e a t e   t h e   S e c r e t ,   r e q u e s t i n g   a   t o k e n   f o r   t h e   d e f a u l t   S e r v i c e A c c o u n t :   k u b e c t l   a p p l y   - f   -   < < E O F   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   n a m e :   d e f a u l t - t o k e n   a n n o t a t i o n s :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . n a m e :   d e f a u l t   t y p e :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n   E O F   N e x t ,   w a i t   f o r   t h e   t o k e n   c o n t r o l l e r   t o   p o p u l a t e   t h e   S e c r e t   w i t h   a   t o k e n :   w h i l e   !   k u b e c t l   d e s c r i b e   s e c r e t   d e f a u l t - t o k e n   |   g r e p   - E   ' ^ t o k e n '   > / d e v / n u l l ;   d o   e c h o   \" w a i t i n g   f o r   t o k e n . . . \"   > & 2   s l e e p   1   d o n e   C a p t u r e   a n d   u s e   t h e   g e n e r a t e d   t o k e n :   A P I S E R V E R = $ ( k u b e c t l   c o n f i g   v i e w   - - m i n i f y   |   g r e p   s e r v e r   |   c u t   - f   2 -   - d   \" : \"   |   t r   - d   \"   \" )   T O K E N = $ ( k u b e c t l   d e s c r i b e   s e c r e t   d e f a u l t - t o k e n   |   g r e p   - E   ' ^ t o k e n '   |   c u t   - f 2   - d ' : '   |   t r   - d   \"   \" )   c u r l   $ A P I S E R V E R / a p i   - - h e a d e r   \" A u t h o r i z a t i o n :   B e a r e r   $ T O K E N \"   - - i n s e c u r e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   {   \" k i n d \" :   \" A P I V e r s i o n s \" ,   \" v e r s i o n s \" :   [   \" v 1 \"   ] ,   \" s e r v e r A d d r e s s B y C l i e n t C I D R s \" :   [   {   \" c l i e n t C I D R \" :   \" 0 . 0 . 0 . 0 / 0 ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_3_19695"
  },
  {
    "question": "What is Programmatic access to the API?",
    "answer": "K u b e r n e t e s   o f f i c i a l l y   s u p p o r t s   G o   a n d   P y t h o n   c l i e n t   l i b r a r i e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19696"
  },
  {
    "question": "What is Go client?",
    "answer": "T o   g e t   t h e   l i b r a r y ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   g o   g e t   k 8 s . i o / c l i e n t - g o @ k u b e r n e t e s - < k u b e r n e t e s - v e r s i o n - n u m b e r > ,   s e e   I N S T A L L . m d   f o r   d e t a i l e d   i n s t a l l a t i o n   i n s t r u c t i o n s .   S e e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / c l i e n t - g o   t o   s e e   w h i c h   v e r s i o n s   a r e   s u p p o r t e d . W r i t e   a n   a p p l i c a t i o n   a t o p   o f   t h e   c l i e n t - g o   c l i e n t s .   N o t e   t h a t   c l i e n t - g o   d e f i n e s   i t s   o w n   A P I   o b j e c t s ,   s o   i f   n e e d e d ,   p l e a s e   i m p o r t   A P I   d e f i n i t i o n s   f r o m   c l i e n t - g o   r a t h e r   t h a n   f r o m   t h e   m a i n   r e p o s i t o r y ,   e . g . ,   i m p o r t   \" k 8 s . i o / c l i e n t - g o / k u b e r n e t e s \"   i s   c o r r e c t .   T h e   G o   c l i e n t   c a n   u s e   t h e   s a m e   k u b e c o n f i g   f i l e   a s   t h e   k u b e c t l   C L I   d o e s   t o   l o c a t e   a n d   a u t h e n t i c a t e   t o   t h e   a p i s e r v e r .   S e e   t h i s   e x a m p l e .   I f   t h e   a p p l i c a t i o n   i s   d e p l o y e d   a s   a   P o d   i n   t h e   c l u s t e r ,   p l e a s e   r e f e r   t o   t h e   n e x t   s e c t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_3_19697"
  },
  {
    "question": "What is Python client?",
    "answer": "T o   u s e   P y t h o n   c l i e n t ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   p i p   i n s t a l l   k u b e r n e t e s .   S e e   P y t h o n   C l i e n t   L i b r a r y   p a g e   f o r   m o r e   i n s t a l l a t i o n   o p t i o n s .   T h e   P y t h o n   c l i e n t   c a n   u s e   t h e   s a m e   k u b e c o n f i g   f i l e   a s   t h e   k u b e c t l   C L I   d o e s   t o   l o c a t e   a n d   a u t h e n t i c a t e   t o   t h e   a p i s e r v e r .   S e e   t h i s   e x a m p l e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_3_19698"
  },
  {
    "question": "What is Other languages?",
    "answer": "T h e r e   a r e   c l i e n t   l i b r a r i e s   f o r   a c c e s s i n g   t h e   A P I   f r o m   o t h e r   l a n g u a g e s .   S e e   d o c u m e n t a t i o n   f o r   o t h e r   l i b r a r i e s   f o r   h o w   t h e y   a u t h e n t i c a t e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_3_19699"
  },
  {
    "question": "What is Accessing the API from a Pod?",
    "answer": "W h e n   a c c e s s i n g   t h e   A P I   f r o m   a   p o d ,   l o c a t i n g   a n d   a u t h e n t i c a t i n g   t o   t h e   A P I   s e r v e r   a r e   s o m e w h a t   d i f f e r e n t .   P l e a s e   c h e c k   A c c e s s i n g   t h e   A P I   f r o m   w i t h i n   a   P o d   f o r   m o r e   d e t a i l s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19700"
  },
  {
    "question": "What is Accessing services running on the cluster?",
    "answer": "T h e   p r e v i o u s   s e c t i o n   d e s c r i b e s   h o w   t o   c o n n e c t   t o   t h e   K u b e r n e t e s   A P I   s e r v e r .   F o r   i n f o r m a t i o n   a b o u t   c o n n e c t i n g   t o   o t h e r   s e r v i c e s   r u n n i n g   o n   a   K u b e r n e t e s   c l u s t e r ,   s e e   A c c e s s   C l u s t e r   S e r v i c e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19701"
  },
  {
    "question": "What is Requesting redirects?",
    "answer": "T h e   r e d i r e c t   c a p a b i l i t i e s   h a v e   b e e n   d e p r e c a t e d   a n d   r e m o v e d .   P l e a s e   u s e   a   p r o x y   ( s e e   b e l o w )   i n s t e a d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19702"
  },
  {
    "question": "What is So many proxies?",
    "answer": "T h e r e   a r e   s e v e r a l   d i f f e r e n t   p r o x i e s   y o u   m a y   e n c o u n t e r   w h e n   u s i n g   K u b e r n e t e s :   T h e   k u b e c t l   p r o x y : r u n s   o n   a   u s e r ' s   d e s k t o p   o r   i n   a   p o d p r o x i e s   f r o m   a   l o c a l h o s t   a d d r e s s   t o   t h e   K u b e r n e t e s   a p i s e r v e r c l i e n t   t o   p r o x y   u s e s   H T T P p r o x y   t o   a p i s e r v e r   u s e s   H T T P S l o c a t e s   a p i s e r v e r a d d s   a u t h e n t i c a t i o n   h e a d e r s T h e   a p i s e r v e r   p r o x y : i s   a   b a s t i o n   b u i l t   i n t o   t h e   a p i s e r v e r c o n n e c t s   a   u s e r   o u t s i d e   o f   t h e   c l u s t e r   t o   c l u s t e r   I P s   w h i c h   o t h e r w i s e   m i g h t   n o t   b e   r e a c h a b l e r u n s   i n   t h e   a p i s e r v e r   p r o c e s s e s c l i e n t   t o   p r o x y   u s e s   H T T P S   ( o r   h t t p   i f   a p i s e r v e r   s o   c o n f i g u r e d ) p r o x y   t o   t a r g e t   m a y   u s e   H T T P   o r   H T T P S   a s   c h o s e n   b y   p r o x y   u s i n g   a v a i l a b l e   i n f o r m a t i o n c a n   b e   u s e d   t o   r e a c h   a   N o d e ,   P o d ,   o r   S e r v i c e d o e s   l o a d   b a l a n c i n g   w h e n   u s e d   t o   r e a c h   a   S e r v i c e T h e   k u b e   p r o x y : r u n s   o n   e a c h   n o d e p r o x i e s   U D P   a n d   T C P d o e s   n o t   u n d e r s t a n d   H T T P p r o v i d e s   l o a d   b a l a n c i n g i s   o n l y   u s e d   t o   r e a c h   s e r v i c e s A   P r o x y / L o a d - b a l a n c e r   i n   f r o n t   o f   a p i s e r v e r ( s ) : e x i s t e n c e   a n d   i m p l e m e n t a t i o n   v a r i e s   f r o m   c l u s t e r   t o   c l u s t e r   ( e . g .   n g i n x ) s i t s   b e t w e e n   a l l   c l i e n t s   a n d   o n e   o r   m o r e   a p i s ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19703"
  },
  {
    "question": "What is 3 - Configure Access to Multiple Clusters?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n f i g u r e   a c c e s s   t o   m u l t i p l e   c l u s t e r s   b y   u s i n g   c o n f i g u r a t i o n   f i l e s .   A f t e r   y o u r   c l u s t e r s ,   u s e r s ,   a n d   c o n t e x t s   a r e   d e f i n e d   i n   o n e   o r   m o r e   c o n f i g u r a t i o n   f i l e s ,   y o u   c a n   q u i c k l y   s w i t c h   b e t w e e n   c l u s t e r s   b y   u s i n g   t h e   k u b e c t l   c o n f i g   u s e - c o n t e x t   c o m m a n d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_1_19704"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h a t   k u b e c t l   i s   i n s t a l l e d ,   r u n   k u b e c t l   v e r s i o n   - - c l i e n t .   T h e   k u b e c t l   v e r s i o n   s h o u l d   b e   w i t h i n   o n e   m i n o r   v e r s i o n   o f   y o u r   c l u s t e r ' s   A P I   s e r v e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19705"
  },
  {
    "question": "What is Define clusters, users, and contexts?",
    "answer": "S u p p o s e   y o u   h a v e   t w o   c l u s t e r s ,   o n e   f o r   d e v e l o p m e n t   w o r k   a n d   o n e   f o r   t e s t   w o r k .   I n   t h e   d e v e l o p m e n t   c l u s t e r ,   y o u r   f r o n t e n d   d e v e l o p e r s   w o r k   i n   a   n a m e s p a c e   c a l l e d   f r o n t e n d ,   a n d   y o u r   s t o r a g e   d e v e l o p e r s   w o r k   i n   a   n a m e s p a c e   c a l l e d   s t o r a g e .   I n   y o u r   t e s t   c l u s t e r ,   d e v e l o p e r s   w o r k   i n   t h e   d e f a u l t   n a m e s p a c e ,   o r   t h e y   c r e a t e   a u x i l i a r y   n a m e s p a c e s   a s   t h e y   s e e   f i t .   A c c e s s   t o   t h e   d e v e l o p m e n t   c l u s t e r   r e q u i r e s   a u t h e n t i c a t i o n   b y   c e r t i f i c a t e .   A c c e s s   t o   t h e   t e s t   c l u s t e r   r e q u i r e s   a u t h e n t i c a t i o n   b y   u s e r n a m e   a n d   p a s s w o r d .   C r e a t e   a   d i r e c t o r y   n a m e d   c o n f i g - e x e r c i s e .   I n   y o u r   c o n f i g - e x e r c i s e   d i r e c t o r y ,   c r e a t e   a   f i l e   n a m e d   c o n f i g - d e m o   w i t h   t h i s   c o n t e n t :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g   p r e f e r e n c e s :   { }   c l u s t e r s :   -   c l u s t e r :   n a m e :   d e v e l o p m e n t   -   c l u s t e r :   n a m e :   t e s t   u s e r s :   -   n a m e :   d e v e l o p e r   -   n a m e :   e x p e r i m e n t e r   c o n t e x t s :   -   c o n t e x t :   n a m e :   d e v - f r o n t e n d   -   c o n t e x t :   n a m e :   d e v - s t o r a g e   -   c o n t e x t :   n a m e :   e x p - t e s t   A   c o n f i g u r a t i o n   f i l e   d e s c r i b e s   c l u s t e r s ,   u s e r s ,   a n d   c o n t e x t s .   Y o u r   c o n f i g - d e m o   f i l e   h a s   t h e   f r a m e w o r k   t o   d e s c r i b e   t w o   c l u s t e r ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19706"
  },
  {
    "question": "What is Caution:?",
    "answer": "k u b e c t l   c o n f i g   - - k u b e c o n f i g = c o n f i g - d e m o   s e t - c r e d e n t i a l s   d e v e l o p e r   - - c l i e n t - c e r t i f i c a t e = f a k e - c e r t - f i l e   - - c l i e n t - k e y = f a k e - k e y - s e e f i l e   k u b e c t l   c o n f i g   - - k u b e c o n f i g = c o n f i g - d e m o   s e t - c r e d e n t i a l s   e x p e r i m e n t e r   - - u s e r n a m e = e x p   - - p a s s w o r d = s o m e - p a s s w o r d",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_4_19707"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   d e l e t e   a   u s e r   y o u   c a n   r u n   k u b e c t l   - - k u b e c o n f i g = c o n f i g - d e m o   c o n f i g   u n s e t   u s e r s . < n a m e > T o   r e m o v e   a   c l u s t e r ,   y o u   c a n   r u n   k u b e c t l   - - k u b e c o n f i g = c o n f i g - d e m o   c o n f i g   u n s e t   c l u s t e r s . < n a m e > T o   r e m o v e   a   c o n t e x t ,   y o u   c a n   r u n   k u b e c t l   - - k u b e c o n f i g = c o n f i g - d e m o   c o n f i g   u n s e t   c o n t e x t s . < n a m e >   A d d   c o n t e x t   d e t a i l s   t o   y o u r   c o n f i g u r a t i o n   f i l e :   k u b e c t l   c o n f i g   - - k u b e c o n f i g = c o n f i g - d e m o   s e t - c o n t e x t   d e v - f r o n t e n d   - - c l u s t e r = d e v e l o p m e n t   - - n a m e s p a c e = f r o n t e n d   - - u s e r = d e v e l o p e r   k u b e c t l   c o n f i g   - - k u b e c o n f i g = c o n f i g - d e m o   s e t - c o n t e x t   d e v - s t o r a g e   - - c l u s t e r = d e v e l o p m e n t   - - n a m e s p a c e = s t o r a g e   - - u s e r = d e v e l o p e r   k u b e c t l   c o n f i g   - - k u b e c o n f i g = c o n f i g - d e m o   s e t - c o n t e x t   e x p - t e s t   - - c l u s t e r = t e s t   - - n a m e s p a c e = d e f a u l t   - - u s e r = e x p e r i m e n t e r   O p e n   y o u r   c o n f i g - d e m o   f i l e   t o   s e e   t h e   a d d e d   d e t a i l s .   A s   a n   a l t e r n a t i v e   t o   o p e n i n g   t h e   c o n f i g - d e m o   f i l e ,   y o u   c a n   u s e   t h e   c o n f i g   v i e w   c o m m a n d .   k u b e c t l   c o n f i g   - - k u b e c o n f i g = c o n f i g - d e m o   v i e w   T h e   o u t p u t   s h o w s   t h e   t w o   c l u s t e r s ,   t w o   u s e r s ,   a n d   t h r e e   c o n t e x t s :   a p i V e r s i o n :   v 1   c l u s t e r s :   -   c l u s t e r :   c e r t i f i c a t e - a u t h o r i t y :   f ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_4_19708"
  },
  {
    "question": "What is Create a second configuration file?",
    "answer": "I n   y o u r   c o n f i g - e x e r c i s e   d i r e c t o r y ,   c r e a t e   a   f i l e   n a m e d   c o n f i g - d e m o - 2   w i t h   t h i s   c o n t e n t :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g   p r e f e r e n c e s :   { }   c o n t e x t s :   -   c o n t e x t :   c l u s t e r :   d e v e l o p m e n t   n a m e s p a c e :   r a m p   u s e r :   d e v e l o p e r   n a m e :   d e v - r a m p - u p   T h e   p r e c e d i n g   c o n f i g u r a t i o n   f i l e   d e f i n e s   a   n e w   c o n t e x t   n a m e d   d e v - r a m p - u p .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19709"
  },
  {
    "question": "What is Set the KUBECONFIG environment variable?",
    "answer": "S e e   w h e t h e r   y o u   h a v e   a n   e n v i r o n m e n t   v a r i a b l e   n a m e d   K U B E C O N F I G .   I f   s o ,   s a v e   t h e   c u r r e n t   v a l u e   o f   y o u r   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e ,   s o   y o u   c a n   r e s t o r e   i t   l a t e r .   F o r   e x a m p l e :",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19710"
  },
  {
    "question": "What is Linux?",
    "answer": "e x p o r t   K U B E C O N F I G _ S A V E D = \" $ K U B E C O N F I G \"",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_3_19711"
  },
  {
    "question": "What is Windows PowerShell?",
    "answer": "$ E n v : K U B E C O N F I G _ S A V E D = $ E N V : K U B E C O N F I G   T h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   i s   a   l i s t   o f   p a t h s   t o   c o n f i g u r a t i o n   f i l e s .   T h e   l i s t   i s   c o l o n - d e l i m i t e d   f o r   L i n u x   a n d   M a c ,   a n d   s e m i c o l o n - d e l i m i t e d   f o r   W i n d o w s .   I f   y o u   h a v e   a   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e ,   f a m i l i a r i z e   y o u r s e l f   w i t h   t h e   c o n f i g u r a t i o n   f i l e s   i n   t h e   l i s t .   T e m p o r a r i l y   a p p e n d   t w o   p a t h s   t o   y o u r   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e .   F o r   e x a m p l e :",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_3_19712"
  },
  {
    "question": "What is Linux?",
    "answer": "e x p o r t   K U B E C O N F I G = \" $ { K U B E C O N F I G } : c o n f i g - d e m o : c o n f i g - d e m o - 2 \"",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_3_19713"
  },
  {
    "question": "What is Windows PowerShell?",
    "answer": "$ E n v : K U B E C O N F I G = ( \" c o n f i g - d e m o ; c o n f i g - d e m o - 2 \" )   I n   y o u r   c o n f i g - e x e r c i s e   d i r e c t o r y ,   e n t e r   t h i s   c o m m a n d :   k u b e c t l   c o n f i g   v i e w   T h e   o u t p u t   s h o w s   m e r g e d   i n f o r m a t i o n   f r o m   a l l   t h e   f i l e s   l i s t e d   i n   y o u r   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e .   I n   p a r t i c u l a r ,   n o t i c e   t h a t   t h e   m e r g e d   i n f o r m a t i o n   h a s   t h e   d e v - r a m p - u p   c o n t e x t   f r o m   t h e   c o n f i g - d e m o - 2   f i l e   a n d   t h e   t h r e e   c o n t e x t s   f r o m   t h e   c o n f i g - d e m o   f i l e :   c o n t e x t s :   -   c o n t e x t :   c l u s t e r :   d e v e l o p m e n t   n a m e s p a c e :   f r o n t e n d   u s e r :   d e v e l o p e r   n a m e :   d e v - f r o n t e n d   -   c o n t e x t :   c l u s t e r :   d e v e l o p m e n t   n a m e s p a c e :   r a m p   u s e r :   d e v e l o p e r   n a m e :   d e v - r a m p - u p   -   c o n t e x t :   c l u s t e r :   d e v e l o p m e n t   n a m e s p a c e :   s t o r a g e   u s e r :   d e v e l o p e r   n a m e :   d e v - s t o r a g e   -   c o n t e x t :   c l u s t e r :   t e s t   n a m e s p a c e :   d e f a u l t   u s e r :   e x p e r i m e n t e r   n a m e :   e x p - t e s t   F o r   m o r e   i n f o r m a t i o n   a b o u t   h o w   k u b e c o n f i g   f i l e s   a r e   m e r g e d ,   s e e   O r g a n i z i n g   C l u s t e r   A c c e s s   U s i n g   k u b e c o n f i g   F i l e s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_3_19714"
  },
  {
    "question": "What is Explore the $HOME/.kube directory?",
    "answer": "I f   y o u   a l r e a d y   h a v e   a   c l u s t e r ,   a n d   y o u   c a n   u s e   k u b e c t l   t o   i n t e r a c t   w i t h   t h e   c l u s t e r ,   t h e n   y o u   p r o b a b l y   h a v e   a   f i l e   n a m e d   c o n f i g   i n   t h e   $ H O M E / . k u b e   d i r e c t o r y .   G o   t o   $ H O M E / . k u b e ,   a n d   s e e   w h a t   f i l e s   a r e   t h e r e .   T y p i c a l l y ,   t h e r e   i s   a   f i l e   n a m e d   c o n f i g .   T h e r e   m i g h t   a l s o   b e   o t h e r   c o n f i g u r a t i o n   f i l e s   i n   t h i s   d i r e c t o r y .   B r i e f l y   f a m i l i a r i z e   y o u r s e l f   w i t h   t h e   c o n t e n t s   o f   t h e s e   f i l e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19715"
  },
  {
    "question": "What is Append $HOME/.kube/config to your KUBECONFIG environment variable?",
    "answer": "I f   y o u   h a v e   a   $ H O M E / . k u b e / c o n f i g   f i l e ,   a n d   i t ' s   n o t   a l r e a d y   l i s t e d   i n   y o u r   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e ,   a p p e n d   i t   t o   y o u r   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   n o w .   F o r   e x a m p l e :",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19716"
  },
  {
    "question": "What is Linux?",
    "answer": "e x p o r t   K U B E C O N F I G = \" $ { K U B E C O N F I G } : $ { H O M E } / . k u b e / c o n f i g \"",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_3_19717"
  },
  {
    "question": "What is Windows Powershell?",
    "answer": "$ E n v : K U B E C O N F I G = \" $ E n v : K U B E C O N F I G ; $ H O M E \\ . k u b e \\ c o n f i g \"   V i e w   c o n f i g u r a t i o n   i n f o r m a t i o n   m e r g e d   f r o m   a l l   t h e   f i l e s   t h a t   a r e   n o w   l i s t e d   i n   y o u r   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e .   I n   y o u r   c o n f i g - e x e r c i s e   d i r e c t o r y ,   e n t e r :   k u b e c t l   c o n f i g   v i e w",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_3_19718"
  },
  {
    "question": "What is Clean up?",
    "answer": "R e t u r n   y o u r   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   t o   i t s   o r i g i n a l   v a l u e .   F o r   e x a m p l e :",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19719"
  },
  {
    "question": "What is Linux?",
    "answer": "e x p o r t   K U B E C O N F I G = \" $ K U B E C O N F I G _ S A V E D \"",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_3_19720"
  },
  {
    "question": "What is Windows PowerShell?",
    "answer": "$ E n v : K U B E C O N F I G = $ E N V : K U B E C O N F I G _ S A V E D",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_3_19721"
  },
  {
    "question": "What is Check the subject represented by the kubeconfig?",
    "answer": "I t   i s   n o t   a l w a y s   o b v i o u s   w h a t   a t t r i b u t e s   ( u s e r n a m e ,   g r o u p s )   y o u   w i l l   g e t   a f t e r   a u t h e n t i c a t i n g   t o   t h e   c l u s t e r .   I t   c a n   b e   e v e n   m o r e   c h a l l e n g i n g   i f   y o u   a r e   m a n a g i n g   m o r e   t h a n   o n e   c l u s t e r   a t   t h e   s a m e   t i m e .   T h e r e   i s   a   k u b e c t l   s u b c o m m a n d   t o   c h e c k   s u b j e c t   a t t r i b u t e s ,   s u c h   a s   u s e r n a m e ,   f o r   y o u r   s e l e c t e d   K u b e r n e t e s   c l i e n t   c o n t e x t :   k u b e c t l   a u t h   w h o a m i .   R e a d   A P I   a c c e s s   t o   a u t h e n t i c a t i o n   i n f o r m a t i o n   f o r   a   c l i e n t   t o   l e a r n   a b o u t   t h i s   i n   m o r e   d e t a i l .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19722"
  },
  {
    "question": "What is What's next?",
    "answer": "O r g a n i z i n g   C l u s t e r   A c c e s s   U s i n g   k u b e c o n f i g   F i l e s k u b e c t l   c o n f i g",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19723"
  },
  {
    "question": "What is 4 - Use Port Forwarding to Access Applications in a Cluster?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   k u b e c t l   p o r t - f o r w a r d   t o   c o n n e c t   t o   a   M o n g o D B   s e r v e r   r u n n i n g   i n   a   K u b e r n e t e s   c l u s t e r .   T h i s   t y p e   o f   c o n n e c t i o n   c a n   b e   u s e f u l   f o r   d a t a b a s e   d e b u g g i n g .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_1_19724"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   v 1 . 1 0 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n . I n s t a l l   M o n g o D B   S h e l l .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19725"
  },
  {
    "question": "What is Creating MongoDB deployment and service?",
    "answer": "C r e a t e   a   D e p l o y m e n t   t h a t   r u n s   M o n g o D B : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / m o n g o d b / m o n g o - d e p l o y m e n t . y a m l   T h e   o u t p u t   o f   a   s u c c e s s f u l   c o m m a n d   v e r i f i e s   t h a t   t h e   d e p l o y m e n t   w a s   c r e a t e d : d e p l o y m e n t . a p p s / m o n g o   c r e a t e d   V i e w   t h e   p o d   s t a t u s   t o   c h e c k   t h a t   i t   i s   r e a d y : k u b e c t l   g e t   p o d s   T h e   o u t p u t   d i s p l a y s   t h e   p o d   c r e a t e d : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   m o n g o - 7 5 f 5 9 d 5 7 f 4 - 4 n d 6 q   1 / 1   R u n n i n g   0   2 m 4 s   V i e w   t h e   D e p l o y m e n t ' s   s t a t u s : k u b e c t l   g e t   d e p l o y m e n t   T h e   o u t p u t   d i s p l a y s   t h a t   t h e   D e p l o y m e n t   w a s   c r e a t e d : N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   m o n g o   1 / 1   1   1   2 m 2 1 s   T h e   D e p l o y m e n t   a u t o m a t i c a l l y   m a n a g e s   a   R e p l i c a S e t .   V i e w   t h e   R e p l i c a S e t   s t a t u s   u s i n g : k u b e c t l   g e t   r e p l i c a s e t   T h e   o u t p u t   d i s p l a y s   t h a t   t h e   R e p l i c a S e t   w a s   c r e a t e d : N A M E   D E S I R E D   C U R R E N T   R E A D Y   A G E   m o n g o - 7 5 f 5 9 d 5 7 f 4   1   1   1   3 m 1 2 s   C r e a t e   a   S e r v i c e   t o   e x p o s e   M o n g o D B   o n   t h e   n e t w o r k : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / m o n g o d b / m o n g o - s e r v i c e . y a m l   T h e   o u t p u t   o f   a   s u c c e s s f u l   c o m m a n d   v e r i f i e s   t h a t   t h e   S e r v i c e   w a s   c r e a t e d : s e r v i c e / m o n g o   c r e a t ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19726"
  },
  {
    "question": "What is Forward a local port to a port on the Pod?",
    "answer": "k u b e c t l   p o r t - f o r w a r d   a l l o w s   u s i n g   r e s o u r c e   n a m e ,   s u c h   a s   a   p o d   n a m e ,   t o   s e l e c t   a   m a t c h i n g   p o d   t o   p o r t   f o r w a r d   t o . #   C h a n g e   m o n g o - 7 5 f 5 9 d 5 7 f 4 - 4 n d 6 q   t o   t h e   n a m e   o f   t h e   P o d   k u b e c t l   p o r t - f o r w a r d   m o n g o - 7 5 f 5 9 d 5 7 f 4 - 4 n d 6 q   2 8 0 1 5 : 2 7 0 1 7   w h i c h   i s   t h e   s a m e   a s k u b e c t l   p o r t - f o r w a r d   p o d s / m o n g o - 7 5 f 5 9 d 5 7 f 4 - 4 n d 6 q   2 8 0 1 5 : 2 7 0 1 7   o r k u b e c t l   p o r t - f o r w a r d   d e p l o y m e n t / m o n g o   2 8 0 1 5 : 2 7 0 1 7   o r k u b e c t l   p o r t - f o r w a r d   r e p l i c a s e t / m o n g o - 7 5 f 5 9 d 5 7 f 4   2 8 0 1 5 : 2 7 0 1 7   o r k u b e c t l   p o r t - f o r w a r d   s e r v i c e / m o n g o   2 8 0 1 5 : 2 7 0 1 7   A n y   o f   t h e   a b o v e   c o m m a n d s   w o r k s .   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : F o r w a r d i n g   f r o m   1 2 7 . 0 . 0 . 1 : 2 8 0 1 5   - >   2 7 0 1 7   F o r w a r d i n g   f r o m   [ : : 1 ] : 2 8 0 1 5   - >   2 7 0 1 7   N o t e : k u b e c t l   p o r t - f o r w a r d   d o e s   n o t   r e t u r n .   T o   c o n t i n u e   w i t h   t h e   e x e r c i s e s ,   y o u   w i l l   n e e d   t o   o p e n   a n o t h e r   t e r m i n a l . S t a r t   t h e   M o n g o D B   c o m m a n d   l i n e   i n t e r f a c e : m o n g o s h   - - p o r t   2 8 0 1 5   A t   t h e   M o n g o D B   c o m m a n d   l i n e   p r o m p t ,   e n t e r   t h e   p i n g   c o m m a n d : d b . r u n C o m m a n d (   {   p i n g :   1   }   )   A   s u c c e s s f u l   p i n g   r e q u e s t   r e t u r n s : {   o k :   1   }   k u b e c t l   p o r t - f o r w a r d   a l l o w s   u s i n g   r e s o u r c e   n a m e ,   s u c h   a s   a   p o d   n a m e ,   t o   s e l e c t   a   m ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19727"
  },
  {
    "question": "What is Note:?",
    "answer": "S t a r t   t h e   M o n g o D B   c o m m a n d   l i n e   i n t e r f a c e :   m o n g o s h   - - p o r t   2 8 0 1 5   A t   t h e   M o n g o D B   c o m m a n d   l i n e   p r o m p t ,   e n t e r   t h e   p i n g   c o m m a n d :   d b . r u n C o m m a n d (   {   p i n g :   1   }   )   A   s u c c e s s f u l   p i n g   r e q u e s t   r e t u r n s :   {   o k :   1   }",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_4_19728"
  },
  {
    "question": "What is Optionally let kubectl choose the local port?",
    "answer": "I f   y o u   d o n ' t   n e e d   a   s p e c i f i c   l o c a l   p o r t ,   y o u   c a n   l e t   k u b e c t l   c h o o s e   a n d   a l l o c a t e   t h e   l o c a l   p o r t   a n d   t h u s   r e l i e v e   y o u   f r o m   h a v i n g   t o   m a n a g e   l o c a l   p o r t   c o n f l i c t s ,   w i t h   t h e   s l i g h t l y   s i m p l e r   s y n t a x :   k u b e c t l   p o r t - f o r w a r d   d e p l o y m e n t / m o n g o   : 2 7 0 1 7   T h e   k u b e c t l   t o o l   f i n d s   a   l o c a l   p o r t   n u m b e r   t h a t   i s   n o t   i n   u s e   ( a v o i d i n g   l o w   p o r t s   n u m b e r s ,   b e c a u s e   t h e s e   m i g h t   b e   u s e d   b y   o t h e r   a p p l i c a t i o n s ) .   T h e   o u t p u t   i s   s i m i l a r   t o :   F o r w a r d i n g   f r o m   1 2 7 . 0 . 0 . 1 : 6 3 7 5 3   - >   2 7 0 1 7   F o r w a r d i n g   f r o m   [ : : 1 ] : 6 3 7 5 3   - >   2 7 0 1 7",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_3_19729"
  },
  {
    "question": "What is Discussion?",
    "answer": "C o n n e c t i o n s   m a d e   t o   l o c a l   p o r t   2 8 0 1 5   a r e   f o r w a r d e d   t o   p o r t   2 7 0 1 7   o f   t h e   P o d   t h a t   i s   r u n n i n g   t h e   M o n g o D B   s e r v e r .   W i t h   t h i s   c o n n e c t i o n   i n   p l a c e ,   y o u   c a n   u s e   y o u r   l o c a l   w o r k s t a t i o n   t o   d e b u g   t h e   d a t a b a s e   t h a t   i s   r u n n i n g   i n   t h e   P o d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19730"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   k u b e c t l   p o r t - f o r w a r d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19731"
  },
  {
    "question": "What is 5 - Use a Service to Access an Application in a Cluster?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c r e a t e   a   K u b e r n e t e s   S e r v i c e   o b j e c t   t h a t   e x t e r n a l   c l i e n t s   c a n   u s e   t o   a c c e s s   a n   a p p l i c a t i o n   r u n n i n g   i n   a   c l u s t e r .   T h e   S e r v i c e   p r o v i d e s   l o a d   b a l a n c i n g   f o r   a n   a p p l i c a t i o n   t h a t   h a s   t w o   r u n n i n g   i n s t a n c e s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_1_19732"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19733"
  },
  {
    "question": "What is Objectives?",
    "answer": "R u n   t w o   i n s t a n c e s   o f   a   H e l l o   W o r l d   a p p l i c a t i o n . C r e a t e   a   S e r v i c e   o b j e c t   t h a t   e x p o s e s   a   n o d e   p o r t . U s e   t h e   S e r v i c e   o b j e c t   t o   a c c e s s   t h e   r u n n i n g   a p p l i c a t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19734"
  },
  {
    "question": "What is Creating a service for an application running in two pods?",
    "answer": "H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   a p p l i c a t i o n   D e p l o y m e n t :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   h e l l o - w o r l d   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   r u n :   l o a d - b a l a n c e r - e x a m p l e   r e p l i c a s :   2   t e m p l a t e :   m e t a d a t a :   l a b e l s :   r u n :   l o a d - b a l a n c e r - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   h e l l o - w o r l d   i m a g e :   u s - d o c k e r . p k g . d e v / g o o g l e - s a m p l e s / c o n t a i n e r s / g k e / h e l l o - a p p : 2 . 0   p o r t s :   -   c o n t a i n e r P o r t :   8 0 8 0   p r o t o c o l :   T C P   R u n   a   H e l l o   W o r l d   a p p l i c a t i o n   i n   y o u r   c l u s t e r :   C r e a t e   t h e   a p p l i c a t i o n   D e p l o y m e n t   u s i n g   t h e   f i l e   a b o v e : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / s e r v i c e / a c c e s s / h e l l o - a p p l i c a t i o n . y a m l   T h e   p r e c e d i n g   c o m m a n d   c r e a t e s   a   D e p l o y m e n t   a n d   a n   a s s o c i a t e d   R e p l i c a S e t .   T h e   R e p l i c a S e t   h a s   t w o   P o d s   e a c h   o f   w h i c h   r u n s   t h e   H e l l o   W o r l d   a p p l i c a t i o n . D i s p l a y   i n f o r m a t i o n   a b o u t   t h e   D e p l o y m e n t : k u b e c t l   g e t   d e p l o y m e n t s   h e l l o - w o r l d   k u b e c t l   d e s c r i b e   d e p l o y m e n t s   h e l l o - w o r l d   D i s p l a y   i n f o r m a t i o n   a b o u t   y o u r   R e p l i c a S e t   o b j e c t s : k u b e c t l   g e t   r e p l i c a s e t s   k u b e c t l   d e s c r i b e   r e p l i c a s e t s   C r e a t e   a   S e r v i c e   o b j e c t   t h a t   e x p o s e s   t h e   d e p l o y m e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19735"
  },
  {
    "question": "What is Using a service configuration file?",
    "answer": "A s   a n   a l t e r n a t i v e   t o   u s i n g   k u b e c t l   e x p o s e ,   y o u   c a n   u s e   a   s e r v i c e   c o n f i g u r a t i o n   f i l e   t o   c r e a t e   a   S e r v i c e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19736"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "T o   d e l e t e   t h e   S e r v i c e ,   e n t e r   t h i s   c o m m a n d :   k u b e c t l   d e l e t e   s e r v i c e s   e x a m p l e - s e r v i c e   T o   d e l e t e   t h e   D e p l o y m e n t ,   t h e   R e p l i c a S e t ,   a n d   t h e   P o d s   t h a t   a r e   r u n n i n g   t h e   H e l l o   W o r l d   a p p l i c a t i o n ,   e n t e r   t h i s   c o m m a n d :   k u b e c t l   d e l e t e   d e p l o y m e n t   h e l l o - w o r l d",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19737"
  },
  {
    "question": "What is What's next?",
    "answer": "F o l l o w   t h e   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s   t u t o r i a l .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19738"
  },
  {
    "question": "What is 6 - Connect a Frontend to a Backend Using Services?",
    "answer": "T h i s   t a s k   s h o w s   h o w   t o   c r e a t e   a   f r o n t e n d   a n d   a   b a c k e n d   m i c r o s e r v i c e .   T h e   b a c k e n d   m i c r o s e r v i c e   i s   a   h e l l o   g r e e t e r .   T h e   f r o n t e n d   e x p o s e s   t h e   b a c k e n d   u s i n g   n g i n x   a n d   a   K u b e r n e t e s   S e r v i c e   o b j e c t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_1_19739"
  },
  {
    "question": "What is Objectives?",
    "answer": "C r e a t e   a n d   r u n   a   s a m p l e   h e l l o   b a c k e n d   m i c r o s e r v i c e   u s i n g   a   D e p l o y m e n t   o b j e c t . U s e   a   S e r v i c e   o b j e c t   t o   s e n d   t r a f f i c   t o   t h e   b a c k e n d   m i c r o s e r v i c e ' s   m u l t i p l e   r e p l i c a s . C r e a t e   a n d   r u n   a   n g i n x   f r o n t e n d   m i c r o s e r v i c e ,   a l s o   u s i n g   a   D e p l o y m e n t   o b j e c t . C o n f i g u r e   t h e   f r o n t e n d   m i c r o s e r v i c e   t o   s e n d   t r a f f i c   t o   t h e   b a c k e n d   m i c r o s e r v i c e . U s e   a   S e r v i c e   o b j e c t   o f   t y p e = L o a d B a l a n c e r   t o   e x p o s e   t h e   f r o n t e n d   m i c r o s e r v i c e   o u t s i d e   t h e   c l u s t e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19740"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   T h i s   t a s k   u s e s   S e r v i c e s   w i t h   e x t e r n a l   l o a d   b a l a n c e r s ,   w h i c h   r e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19741"
  },
  {
    "question": "What is Creating the backend using a Deployment?",
    "answer": "T h e   b a c k e n d   i s   a   s i m p l e   h e l l o   g r e e t e r   m i c r o s e r v i c e .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   b a c k e n d   D e p l o y m e n t :   - - -   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   b a c k e n d   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   h e l l o   t i e r :   b a c k e n d   t r a c k :   s t a b l e   r e p l i c a s :   3   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   h e l l o   t i e r :   b a c k e n d   t r a c k :   s t a b l e   s p e c :   c o n t a i n e r s :   -   n a m e :   h e l l o   i m a g e :   \" g c r . i o / g o o g l e - s a m p l e s / h e l l o - g o - g k e : 1 . 0 \"   p o r t s :   -   n a m e :   h t t p   c o n t a i n e r P o r t :   8 0   . . .   C r e a t e   t h e   b a c k e n d   D e p l o y m e n t :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / s e r v i c e / a c c e s s / b a c k e n d - d e p l o y m e n t . y a m l   V i e w   i n f o r m a t i o n   a b o u t   t h e   b a c k e n d   D e p l o y m e n t :   k u b e c t l   d e s c r i b e   d e p l o y m e n t   b a c k e n d   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   N a m e :   b a c k e n d   N a m e s p a c e :   d e f a u l t   C r e a t i o n T i m e s t a m p :   M o n ,   2 4   O c t   2 0 1 6   1 4 : 2 1 : 0 2   - 0 7 0 0   L a b e l s :   a p p = h e l l o   t i e r = b a c k e n d   t r a c k = s t a b l e   A n n o t a t i o n s :   d e p l o y m e n t . k u b e r n e t e s . i o / r e v i s i o n = 1   S e l e c t o r :   a p p = h e l l o , t i e r = b a c k e n d , t r a c k = s t a b l e   R e p l i c a s :   3   d e s i r e d   |   3   u p d a t e d   |   3   t o t a l   |   3   a v a i l a b l e   |   0   u n a v a i l a b l e   S t r a t e g y T y p e :   R o l l i n g U p d a t e   M i n R e a d ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19742"
  },
  {
    "question": "What is Creating the hello Service object?",
    "answer": "T h e   k e y   t o   s e n d i n g   r e q u e s t s   f r o m   a   f r o n t e n d   t o   a   b a c k e n d   i s   t h e   b a c k e n d   S e r v i c e .   A   S e r v i c e   c r e a t e s   a   p e r s i s t e n t   I P   a d d r e s s   a n d   D N S   n a m e   e n t r y   s o   t h a t   t h e   b a c k e n d   m i c r o s e r v i c e   c a n   a l w a y s   b e   r e a c h e d .   A   S e r v i c e   u s e s   s e l e c t o r s   t o   f i n d   t h e   P o d s   t h a t   i t   r o u t e s   t r a f f i c   t o .   F i r s t ,   e x p l o r e   t h e   S e r v i c e   c o n f i g u r a t i o n   f i l e :   - - -   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   h e l l o   s p e c :   s e l e c t o r :   a p p :   h e l l o   t i e r :   b a c k e n d   p o r t s :   -   p r o t o c o l :   T C P   p o r t :   8 0   t a r g e t P o r t :   h t t p   . . .   I n   t h e   c o n f i g u r a t i o n   f i l e ,   y o u   c a n   s e e   t h a t   t h e   S e r v i c e ,   n a m e d   h e l l o   r o u t e s   t r a f f i c   t o   P o d s   t h a t   h a v e   t h e   l a b e l s   a p p :   h e l l o   a n d   t i e r :   b a c k e n d .   C r e a t e   t h e   b a c k e n d   S e r v i c e :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / s e r v i c e / a c c e s s / b a c k e n d - s e r v i c e . y a m l   A t   t h i s   p o i n t ,   y o u   h a v e   a   b a c k e n d   D e p l o y m e n t   r u n n i n g   t h r e e   r e p l i c a s   o f   y o u r   h e l l o   a p p l i c a t i o n ,   a n d   y o u   h a v e   a   S e r v i c e   t h a t   c a n   r o u t e   t r a f f i c   t o   t h e m .   H o w e v e r ,   t h i s   s e r v i c e   i s   n e i t h e r   a v a i l a b l e   n o r   r e s o l v a b l e   o u t s i d e   t h e   c l u s t e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19743"
  },
  {
    "question": "What is Creating the frontend?",
    "answer": "N o w   t h a t   y o u   h a v e   y o u r   b a c k e n d   r u n n i n g ,   y o u   c a n   c r e a t e   a   f r o n t e n d   t h a t   i s   a c c e s s i b l e   o u t s i d e   t h e   c l u s t e r ,   a n d   c o n n e c t s   t o   t h e   b a c k e n d   b y   p r o x y i n g   r e q u e s t s   t o   i t .   T h e   f r o n t e n d   s e n d s   r e q u e s t s   t o   t h e   b a c k e n d   w o r k e r   P o d s   b y   u s i n g   t h e   D N S   n a m e   g i v e n   t o   t h e   b a c k e n d   S e r v i c e .   T h e   D N S   n a m e   i s   h e l l o ,   w h i c h   i s   t h e   v a l u e   o f   t h e   n a m e   f i e l d   i n   t h e   e x a m p l e s / s e r v i c e / a c c e s s / b a c k e n d - s e r v i c e . y a m l   c o n f i g u r a t i o n   f i l e .   T h e   P o d s   i n   t h e   f r o n t e n d   D e p l o y m e n t   r u n   a   n g i n x   i m a g e   t h a t   i s   c o n f i g u r e d   t o   p r o x y   r e q u e s t s   t o   t h e   h e l l o   b a c k e n d   S e r v i c e .   H e r e   i s   t h e   n g i n x   c o n f i g u r a t i o n   f i l e :   #   T h e   i d e n t i f i e r   B a c k e n d   i s   i n t e r n a l   t o   n g i n x ,   a n d   u s e d   t o   n a m e   t h i s   s p e c i f i c   u p s t r e a m   u p s t r e a m   B a c k e n d   {   #   h e l l o   i s   t h e   i n t e r n a l   D N S   n a m e   u s e d   b y   t h e   b a c k e n d   S e r v i c e   i n s i d e   K u b e r n e t e s   s e r v e r   h e l l o ;   }   s e r v e r   {   l i s t e n   8 0 ;   l o c a t i o n   /   {   #   T h e   f o l l o w i n g   s t a t e m e n t   w i l l   p r o x y   t r a f f i c   t o   t h e   u p s t r e a m   n a m e d   B a c k e n d   p r o x y _ p a s s   h t t p : / / B a c k e n d ;   }   }   s e r v e r   {   l i s t e n   8 0 ;   l o c a t i o n   /   {   #   T h e   f o l l o w i n g   s t a t e m e n t   w i l l   p r o x y   t r a f f i c   t o   t h e   u p s t r e a m   n a m e d   ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19744"
  },
  {
    "question": "What is Interact with the frontend Service?",
    "answer": "O n c e   y o u ' v e   c r e a t e d   a   S e r v i c e   o f   t y p e   L o a d B a l a n c e r ,   y o u   c a n   u s e   t h i s   c o m m a n d   t o   f i n d   t h e   e x t e r n a l   I P :   k u b e c t l   g e t   s e r v i c e   f r o n t e n d   - - w a t c h   T h i s   d i s p l a y s   t h e   c o n f i g u r a t i o n   f o r   t h e   f r o n t e n d   S e r v i c e   a n d   w a t c h e s   f o r   c h a n g e s .   I n i t i a l l y ,   t h e   e x t e r n a l   I P   i s   l i s t e d   a s   < p e n d i n g > :   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   f r o n t e n d   L o a d B a l a n c e r   1 0 . 5 1 . 2 5 2 . 1 1 6   < p e n d i n g >   8 0 / T C P   1 0 s   A s   s o o n   a s   a n   e x t e r n a l   I P   i s   p r o v i s i o n e d ,   h o w e v e r ,   t h e   c o n f i g u r a t i o n   u p d a t e s   t o   i n c l u d e   t h e   n e w   I P   u n d e r   t h e   E X T E R N A L - I P   h e a d i n g :   N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   f r o n t e n d   L o a d B a l a n c e r   1 0 . 5 1 . 2 5 2 . 1 1 6   X X X . X X X . X X X . X X X   8 0 / T C P   1 m   T h a t   I P   c a n   n o w   b e   u s e d   t o   i n t e r a c t   w i t h   t h e   f r o n t e n d   s e r v i c e   f r o m   o u t s i d e   t h e   c l u s t e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19745"
  },
  {
    "question": "What is Send traffic through the frontend?",
    "answer": "T h e   f r o n t e n d   a n d   b a c k e n d   a r e   n o w   c o n n e c t e d .   Y o u   c a n   h i t   t h e   e n d p o i n t   b y   u s i n g   t h e   c u r l   c o m m a n d   o n   t h e   e x t e r n a l   I P   o f   y o u r   f r o n t e n d   S e r v i c e .   c u r l   h t t p : / / $ { E X T E R N A L _ I P }   #   r e p l a c e   t h i s   w i t h   t h e   E X T E R N A L - I P   y o u   s a w   e a r l i e r   T h e   o u t p u t   s h o w s   t h e   m e s s a g e   g e n e r a t e d   b y   t h e   b a c k e n d :   { \" m e s s a g e \" : \" H e l l o \" }",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19746"
  },
  {
    "question": "What is Cleaning up?",
    "answer": "T o   d e l e t e   t h e   S e r v i c e s ,   e n t e r   t h i s   c o m m a n d :   k u b e c t l   d e l e t e   s e r v i c e s   f r o n t e n d   b a c k e n d   T o   d e l e t e   t h e   D e p l o y m e n t s ,   t h e   R e p l i c a S e t s   a n d   t h e   P o d s   t h a t   a r e   r u n n i n g   t h e   b a c k e n d   a n d   f r o n t e n d   a p p l i c a t i o n s ,   e n t e r   t h i s   c o m m a n d :   k u b e c t l   d e l e t e   d e p l o y m e n t   f r o n t e n d   b a c k e n d",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19747"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   S e r v i c e s L e a r n   m o r e   a b o u t   C o n f i g M a p s L e a r n   m o r e   a b o u t   D N S   f o r   S e r v i c e   a n d   P o d s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19748"
  },
  {
    "question": "What is 7 - Create an External Load Balancer?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c r e a t e   a n   e x t e r n a l   l o a d   b a l a n c e r .   W h e n   c r e a t i n g   a   S e r v i c e ,   y o u   h a v e   t h e   o p t i o n   o f   a u t o m a t i c a l l y   c r e a t i n g   a   c l o u d   l o a d   b a l a n c e r .   T h i s   p r o v i d e s   a n   e x t e r n a l l y - a c c e s s i b l e   I P   a d d r e s s   t h a t   s e n d s   t r a f f i c   t o   t h e   c o r r e c t   p o r t   o n   y o u r   c l u s t e r   n o d e s ,   p r o v i d e d   y o u r   c l u s t e r   r u n s   i n   a   s u p p o r t e d   e n v i r o n m e n t   a n d   i s   c o n f i g u r e d   w i t h   t h e   c o r r e c t   c l o u d   l o a d   b a l a n c e r   p r o v i d e r   p a c k a g e .   Y o u   c a n   a l s o   u s e   a n   I n g r e s s   i n   p l a c e   o f   S e r v i c e .   F o r   m o r e   i n f o r m a t i o n ,   c h e c k   t h e   I n g r e s s   d o c u m e n t a t i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_1_19749"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   Y o u r   c l u s t e r   m u s t   b e   r u n n i n g   i n   a   c l o u d   o r   o t h e r   e n v i r o n m e n t   t h a t   a l r e a d y   h a s   s u p p o r t   f o r   c o n f i g u r i n g   e x t e r n a l   l o a d   b a l a n c e r s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19750"
  },
  {
    "question": "What is Create a Service from a manifest?",
    "answer": "T o   c r e a t e   a n   e x t e r n a l   l o a d   b a l a n c e r ,   a d d   t h e   f o l l o w i n g   l i n e   t o   y o u r   S e r v i c e   m a n i f e s t :   t y p e :   L o a d B a l a n c e r   Y o u r   m a n i f e s t   m i g h t   t h e n   l o o k   l i k e :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   e x a m p l e - s e r v i c e   s p e c :   s e l e c t o r :   a p p :   e x a m p l e   p o r t s :   -   p o r t :   8 7 6 5   t a r g e t P o r t :   9 3 7 6   t y p e :   L o a d B a l a n c e r",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_3_19751"
  },
  {
    "question": "What is Create a Service using kubectl?",
    "answer": "Y o u   c a n   a l t e r n a t i v e l y   c r e a t e   t h e   s e r v i c e   w i t h   t h e   k u b e c t l   e x p o s e   c o m m a n d   a n d   i t s   - - t y p e = L o a d B a l a n c e r   f l a g :   k u b e c t l   e x p o s e   d e p l o y m e n t   e x a m p l e   - - p o r t = 8 7 6 5   - - t a r g e t - p o r t = 9 3 7 6   \\   - - n a m e = e x a m p l e - s e r v i c e   - - t y p e = L o a d B a l a n c e r   T h i s   c o m m a n d   c r e a t e s   a   n e w   S e r v i c e   u s i n g   t h e   s a m e   s e l e c t o r s   a s   t h e   r e f e r e n c e d   r e s o u r c e   ( i n   t h e   c a s e   o f   t h e   e x a m p l e   a b o v e ,   a   D e p l o y m e n t   n a m e d   e x a m p l e ) .   F o r   m o r e   i n f o r m a t i o n ,   i n c l u d i n g   o p t i o n a l   f l a g s ,   r e f e r   t o   t h e   k u b e c t l   e x p o s e   r e f e r e n c e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_3_19752"
  },
  {
    "question": "What is Finding your IP address?",
    "answer": "Y o u   c a n   f i n d   t h e   I P   a d d r e s s   c r e a t e d   f o r   y o u r   s e r v i c e   b y   g e t t i n g   t h e   s e r v i c e   i n f o r m a t i o n   t h r o u g h   k u b e c t l :   k u b e c t l   d e s c r i b e   s e r v i c e s   e x a m p l e - s e r v i c e   w h i c h   s h o u l d   p r o d u c e   o u t p u t   s i m i l a r   t o :   N a m e :   e x a m p l e - s e r v i c e   N a m e s p a c e :   d e f a u l t   L a b e l s :   a p p = e x a m p l e   A n n o t a t i o n s :   < n o n e >   S e l e c t o r :   a p p = e x a m p l e   T y p e :   L o a d B a l a n c e r   I P   F a m i l i e s :   < n o n e >   I P :   1 0 . 3 . 2 2 . 9 6   I P s :   1 0 . 3 . 2 2 . 9 6   L o a d B a l a n c e r   I n g r e s s :   1 9 2 . 0 . 2 . 8 9   P o r t :   < u n s e t >   8 7 6 5 / T C P   T a r g e t P o r t :   9 3 7 6 / T C P   N o d e P o r t :   < u n s e t >   3 0 5 9 3 / T C P   E n d p o i n t s :   1 7 2 . 1 7 . 0 . 3 : 9 3 7 6   S e s s i o n   A f f i n i t y :   N o n e   E x t e r n a l   T r a f f i c   P o l i c y :   C l u s t e r   E v e n t s :   < n o n e >   T h e   l o a d   b a l a n c e r ' s   I P   a d d r e s s   i s   l i s t e d   n e x t   t o   L o a d B a l a n c e r   I n g r e s s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19753"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   a r e   r u n n i n g   y o u r   s e r v i c e   o n   M i n i k u b e ,   y o u   c a n   f i n d   t h e   a s s i g n e d   I P   a d d r e s s   a n d   p o r t   w i t h :   m i n i k u b e   s e r v i c e   e x a m p l e - s e r v i c e   - - u r l",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_4_19754"
  },
  {
    "question": "What is Preserving the client source IP?",
    "answer": "B y   d e f a u l t ,   t h e   s o u r c e   I P   s e e n   i n   t h e   t a r g e t   c o n t a i n e r   i s   n o t   t h e   o r i g i n a l   s o u r c e   I P   o f   t h e   c l i e n t .   T o   e n a b l e   p r e s e r v a t i o n   o f   t h e   c l i e n t   I P ,   t h e   f o l l o w i n g   f i e l d s   c a n   b e   c o n f i g u r e d   i n   t h e   . s p e c   o f   t h e   S e r v i c e :   . s p e c . e x t e r n a l T r a f f i c P o l i c y   -   d e n o t e s   i f   t h i s   S e r v i c e   d e s i r e s   t o   r o u t e   e x t e r n a l   t r a f f i c   t o   n o d e - l o c a l   o r   c l u s t e r - w i d e   e n d p o i n t s .   T h e r e   a r e   t w o   a v a i l a b l e   o p t i o n s :   C l u s t e r   ( d e f a u l t )   a n d   L o c a l .   C l u s t e r   o b s c u r e s   t h e   c l i e n t   s o u r c e   I P   a n d   m a y   c a u s e   a   s e c o n d   h o p   t o   a n o t h e r   n o d e ,   b u t   s h o u l d   h a v e   g o o d   o v e r a l l   l o a d - s p r e a d i n g .   L o c a l   p r e s e r v e s   t h e   c l i e n t   s o u r c e   I P   a n d   a v o i d s   a   s e c o n d   h o p   f o r   L o a d B a l a n c e r   a n d   N o d e P o r t   t y p e   S e r v i c e s ,   b u t   r i s k s   p o t e n t i a l l y   i m b a l a n c e d   t r a f f i c   s p r e a d i n g . . s p e c . h e a l t h C h e c k N o d e P o r t   -   s p e c i f i e s   t h e   h e a l t h   c h e c k   n o d e   p o r t   ( n u m e r i c   p o r t   n u m b e r )   f o r   t h e   s e r v i c e .   I f   y o u   d o n ' t   s p e c i f y   h e a l t h C h e c k N o d e P o r t ,   t h e   s e r v i c e   c o n t r o l l e r   a l l o c a t e s   a   p o r t   f r o m   y o u r   c l u s t e r ' s   N o d e P o r t   r a n g e . Y o u   c a n   c o n f i g u r e   t h a t   r a n g e   b y   s e t t i n g   a n   A P I   s e r v e r   c o m m a n d   l i n e   o p t i o n ,   - - s e r v i c e - n o d e - p o r t - ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19755"
  },
  {
    "question": "What is Caveats and limitations when preserving source IPs?",
    "answer": "L o a d   b a l a n c i n g   s e r v i c e s   f r o m   s o m e   c l o u d   p r o v i d e r s   d o   n o t   l e t   y o u   c o n f i g u r e   d i f f e r e n t   w e i g h t s   f o r   e a c h   t a r g e t .   W i t h   e a c h   t a r g e t   w e i g h t e d   e q u a l l y   i n   t e r m s   o f   s e n d i n g   t r a f f i c   t o   N o d e s ,   e x t e r n a l   t r a f f i c   i s   n o t   e q u a l l y   l o a d   b a l a n c e d   a c r o s s   d i f f e r e n t   P o d s .   T h e   e x t e r n a l   l o a d   b a l a n c e r   i s   u n a w a r e   o f   t h e   n u m b e r   o f   P o d s   o n   e a c h   n o d e   t h a t   a r e   u s e d   a s   a   t a r g e t .   W h e r e   N u m S e r v i c e P o d s   < <   N u m N o d e s   o r   N u m S e r v i c e P o d s   > >   N u m N o d e s ,   a   f a i r l y   c l o s e - t o - e q u a l   d i s t r i b u t i o n   w i l l   b e   s e e n ,   e v e n   w i t h o u t   w e i g h t s .   I n t e r n a l   p o d   t o   p o d   t r a f f i c   s h o u l d   b e h a v e   s i m i l a r   t o   C l u s t e r I P   s e r v i c e s ,   w i t h   e q u a l   p r o b a b i l i t y   a c r o s s   a l l   p o d s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_3_19756"
  },
  {
    "question": "What is Garbage collecting load balancers?",
    "answer": "I n   u s u a l   c a s e ,   t h e   c o r r e l a t i n g   l o a d   b a l a n c e r   r e s o u r c e s   i n   c l o u d   p r o v i d e r   s h o u l d   b e   c l e a n e d   u p   s o o n   a f t e r   a   L o a d B a l a n c e r   t y p e   S e r v i c e   i s   d e l e t e d .   B u t   i t   i s   k n o w n   t h a t   t h e r e   a r e   v a r i o u s   c o r n e r   c a s e s   w h e r e   c l o u d   r e s o u r c e s   a r e   o r p h a n e d   a f t e r   t h e   a s s o c i a t e d   S e r v i c e   i s   d e l e t e d .   F i n a l i z e r   P r o t e c t i o n   f o r   S e r v i c e   L o a d B a l a n c e r s   w a s   i n t r o d u c e d   t o   p r e v e n t   t h i s   f r o m   h a p p e n i n g .   B y   u s i n g   f i n a l i z e r s ,   a   S e r v i c e   r e s o u r c e   w i l l   n e v e r   b e   d e l e t e d   u n t i l   t h e   c o r r e l a t i n g   l o a d   b a l a n c e r   r e s o u r c e s   a r e   a l s o   d e l e t e d .   S p e c i f i c a l l y ,   i f   a   S e r v i c e   h a s   t y p e   L o a d B a l a n c e r ,   t h e   s e r v i c e   c o n t r o l l e r   w i l l   a t t a c h   a   f i n a l i z e r   n a m e d   s e r v i c e . k u b e r n e t e s . i o / l o a d - b a l a n c e r - c l e a n u p .   T h e   f i n a l i z e r   w i l l   o n l y   b e   r e m o v e d   a f t e r   t h e   l o a d   b a l a n c e r   r e s o u r c e   i s   c l e a n e d   u p .   T h i s   p r e v e n t s   d a n g l i n g   l o a d   b a l a n c e r   r e s o u r c e s   e v e n   i n   c o r n e r   c a s e s   s u c h   a s   t h e   s e r v i c e   c o n t r o l l e r   c r a s h i n g .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19757"
  },
  {
    "question": "What is External load balancer providers?",
    "answer": "I t   i s   i m p o r t a n t   t o   n o t e   t h a t   t h e   d a t a p a t h   f o r   t h i s   f u n c t i o n a l i t y   i s   p r o v i d e d   b y   a   l o a d   b a l a n c e r   e x t e r n a l   t o   t h e   K u b e r n e t e s   c l u s t e r .   W h e n   t h e   S e r v i c e   t y p e   i s   s e t   t o   L o a d B a l a n c e r ,   K u b e r n e t e s   p r o v i d e s   f u n c t i o n a l i t y   e q u i v a l e n t   t o   t y p e   e q u a l s   C l u s t e r I P   t o   p o d s   w i t h i n   t h e   c l u s t e r   a n d   e x t e n d s   i t   b y   p r o g r a m m i n g   t h e   ( e x t e r n a l   t o   K u b e r n e t e s )   l o a d   b a l a n c e r   w i t h   e n t r i e s   f o r   t h e   n o d e s   h o s t i n g   t h e   r e l e v a n t   K u b e r n e t e s   p o d s .   T h e   K u b e r n e t e s   c o n t r o l   p l a n e   a u t o m a t e s   t h e   c r e a t i o n   o f   t h e   e x t e r n a l   l o a d   b a l a n c e r ,   h e a l t h   c h e c k s   ( i f   n e e d e d ) ,   a n d   p a c k e t   f i l t e r i n g   r u l e s   ( i f   n e e d e d ) .   O n c e   t h e   c l o u d   p r o v i d e r   a l l o c a t e s   a n   I P   a d d r e s s   f o r   t h e   l o a d   b a l a n c e r ,   t h e   c o n t r o l   p l a n e   l o o k s   u p   t h a t   e x t e r n a l   I P   a d d r e s s   a n d   p o p u l a t e s   i t   i n t o   t h e   S e r v i c e   o b j e c t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19758"
  },
  {
    "question": "What is What's next?",
    "answer": "F o l l o w   t h e   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s   t u t o r i a l R e a d   a b o u t   S e r v i c e R e a d   a b o u t   I n g r e s s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19759"
  },
  {
    "question": "What is 8 - List All Container Images Running in a Cluster?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   k u b e c t l   t o   l i s t   a l l   o f   t h e   C o n t a i n e r   i m a g e s   f o r   P o d s   r u n n i n g   i n   a   c l u s t e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_1_19760"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   I n   t h i s   e x e r c i s e   y o u   w i l l   u s e   k u b e c t l   t o   f e t c h   a l l   o f   t h e   P o d s ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19761"
  },
  {
    "question": "What is List all Container images in all namespaces?",
    "answer": "F e t c h   a l l   P o d s   i n   a l l   n a m e s p a c e s   u s i n g   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s F o r m a t   t h e   o u t p u t   t o   i n c l u d e   o n l y   t h e   l i s t   o f   C o n t a i n e r   i m a g e   n a m e s   u s i n g   - o   j s o n p a t h = { . i t e m s [ * ] . s p e c [ ' i n i t C o n t a i n e r s ' ,   ' c o n t a i n e r s ' ] [ * ] . i m a g e } .   T h i s   w i l l   r e c u r s i v e l y   p a r s e   o u t   t h e   i m a g e   f i e l d   f r o m   t h e   r e t u r n e d   j s o n . S e e   t h e   j s o n p a t h   r e f e r e n c e   f o r   f u r t h e r   i n f o r m a t i o n   o n   h o w   t o   u s e   j s o n p a t h . F o r m a t   t h e   o u t p u t   u s i n g   s t a n d a r d   t o o l s :   t r ,   s o r t ,   u n i q U s e   t r   t o   r e p l a c e   s p a c e s   w i t h   n e w l i n e s U s e   s o r t   t o   s o r t   t h e   r e s u l t s U s e   u n i q   t o   a g g r e g a t e   i m a g e   c o u n t s   S e e   t h e   j s o n p a t h   r e f e r e n c e   f o r   f u r t h e r   i n f o r m a t i o n   o n   h o w   t o   u s e   j s o n p a t h .   U s e   t r   t o   r e p l a c e   s p a c e s   w i t h   n e w l i n e s U s e   s o r t   t o   s o r t   t h e   r e s u l t s U s e   u n i q   t o   a g g r e g a t e   i m a g e   c o u n t s   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s   - o   j s o n p a t h = \" { . i t e m s [ * ] . s p e c [ ' i n i t C o n t a i n e r s ' ,   ' c o n t a i n e r s ' ] [ * ] . i m a g e } \"   | \\   t r   - s   ' [ [ : s p a c e : ] ] '   ' \\ n '   | \\   s o r t   | \\   u n i q   - c   T h e   j s o n p a t h   i s   i n t e r p r e t e d   a s   f o l l o w s :   . i t e m s [ * ] :   f o r   e a c h   r e t u r n e d   v a l u e . s p e c :   g e t   t h e   s p e c [ ' i n i t C o n t a i n e r s ' ,   ' c o n t a i n e r s ' ] [ * ] :   f o r   e a c h   c o n t a i n e r . i m a g e ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19762"
  },
  {
    "question": "What is List Container images by Pod?",
    "answer": "T h e   f o r m a t t i n g   c a n   b e   c o n t r o l l e d   f u r t h e r   b y   u s i n g   t h e   r a n g e   o p e r a t i o n   t o   i t e r a t e   o v e r   e l e m e n t s   i n d i v i d u a l l y .   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s   - o   j s o n p a t h = ' { r a n g e   . i t e m s [ * ] } { \" \\ n \" } { . m e t a d a t a . n a m e } { \" : \\ t \" } { r a n g e   . s p e c . c o n t a i n e r s [ * ] } { . i m a g e } { \" ,   \" } { e n d } { e n d } '   | \\   s o r t",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19763"
  },
  {
    "question": "What is List Container images filtering by Pod label?",
    "answer": "T o   t a r g e t   o n l y   P o d s   m a t c h i n g   a   s p e c i f i c   l a b e l ,   u s e   t h e   - l   f l a g .   T h e   f o l l o w i n g   m a t c h e s   o n l y   P o d s   w i t h   l a b e l s   m a t c h i n g   a p p = n g i n x .   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s   - o   j s o n p a t h = \" { . i t e m s [ * ] . s p e c . c o n t a i n e r s [ * ] . i m a g e } \"   - l   a p p = n g i n x",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19764"
  },
  {
    "question": "What is List Container images filtering by Pod namespace?",
    "answer": "T o   t a r g e t   o n l y   p o d s   i n   a   s p e c i f i c   n a m e s p a c e ,   u s e   t h e   n a m e s p a c e   f l a g .   T h e   f o l l o w i n g   m a t c h e s   o n l y   P o d s   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   k u b e c t l   g e t   p o d s   - - n a m e s p a c e   k u b e - s y s t e m   - o   j s o n p a t h = \" { . i t e m s [ * ] . s p e c . c o n t a i n e r s [ * ] . i m a g e } \"",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19765"
  },
  {
    "question": "What is List Container images using a go-template instead of jsonpath?",
    "answer": "A s   a n   a l t e r n a t i v e   t o   j s o n p a t h ,   K u b e c t l   s u p p o r t s   u s i n g   g o - t e m p l a t e s   f o r   f o r m a t t i n g   t h e   o u t p u t :   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s   - o   g o - t e m p l a t e   - - t e m p l a t e = \" { { r a n g e   . i t e m s } } { { r a n g e   . s p e c . c o n t a i n e r s } } { { . i m a g e } }   { { e n d } } { { e n d } } \"",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19766"
  },
  {
    "question": "What is Reference?",
    "answer": "J s o n p a t h   r e f e r e n c e   g u i d e G o   t e m p l a t e   r e f e r e n c e   g u i d e",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_3_19767"
  },
  {
    "question": "What is 9 - Set up Ingress on Minikube with the NGINX Ingress Controller?",
    "answer": "A n   I n g r e s s   i s   a n   A P I   o b j e c t   t h a t   d e f i n e s   r u l e s   w h i c h   a l l o w   e x t e r n a l   a c c e s s   t o   s e r v i c e s   i n   a   c l u s t e r .   A n   I n g r e s s   c o n t r o l l e r   f u l f i l l s   t h e   r u l e s   s e t   i n   t h e   I n g r e s s .   T h i s   p a g e   s h o w s   y o u   h o w   t o   s e t   u p   a   s i m p l e   I n g r e s s   w h i c h   r o u t e s   r e q u e s t s   t o   S e r v i c e   ' w e b '   o r   ' w e b 2 '   d e p e n d i n g   o n   t h e   H T T P   U R I .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_1_19768"
  },
  {
    "question": "What is Before you begin?",
    "answer": "T h i s   t u t o r i a l   a s s u m e s   t h a t   y o u   a r e   u s i n g   m i n i k u b e   t o   r u n   a   l o c a l   K u b e r n e t e s   c l u s t e r .   V i s i t   I n s t a l l   t o o l s   t o   l e a r n   h o w   t o   i n s t a l l   m i n i k u b e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19769"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s Y o u r   K u b e r n e t e s   s e r v e r   m u s t   b e   a t   o r   l a t e r   t h a n   v e r s i o n   1 . 1 9 . T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n . I f   y o u   a r e   u s i n g   a n   o l d e r   K u b e r n e t e s   v e r s i o n ,   s w i t c h   t o   t h e   d o c u m e n t a t i o n   f o r   t h a t   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_4_19770"
  },
  {
    "question": "What is Create a minikube cluster?",
    "answer": "I f   y o u   h a v e n ' t   a l r e a d y   s e t   u p   a   c l u s t e r   l o c a l l y ,   r u n   m i n i k u b e   s t a r t   t o   c r e a t e   a   c l u s t e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_3_19771"
  },
  {
    "question": "What is Enable the Ingress controller?",
    "answer": "T o   e n a b l e   t h e   N G I N X   I n g r e s s   c o n t r o l l e r ,   r u n   t h e   f o l l o w i n g   c o m m a n d : m i n i k u b e   a d d o n s   e n a b l e   i n g r e s s   V e r i f y   t h a t   t h e   N G I N X   I n g r e s s   c o n t r o l l e r   i s   r u n n i n g k u b e c t l   g e t   p o d s   - n   i n g r e s s - n g i n x   N o t e : I t   c a n   t a k e   u p   t o   a   m i n u t e   b e f o r e   y o u   s e e   t h e s e   p o d s   r u n n i n g   O K . T h e   o u t p u t   i s   s i m i l a r   t o : N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   i n g r e s s - n g i n x - a d m i s s i o n - c r e a t e - g 9 g 4 9   0 / 1   C o m p l e t e d   0   1 1 m   i n g r e s s - n g i n x - a d m i s s i o n - p a t c h - r q p 7 8   0 / 1   C o m p l e t e d   1   1 1 m   i n g r e s s - n g i n x - c o n t r o l l e r - 5 9 b 4 5 f b 4 9 4 - 2 6 n p t   1 / 1   R u n n i n g   0   1 1 m   T o   e n a b l e   t h e   N G I N X   I n g r e s s   c o n t r o l l e r ,   r u n   t h e   f o l l o w i n g   c o m m a n d :   m i n i k u b e   a d d o n s   e n a b l e   i n g r e s s   V e r i f y   t h a t   t h e   N G I N X   I n g r e s s   c o n t r o l l e r   i s   r u n n i n g   k u b e c t l   g e t   p o d s   - n   i n g r e s s - n g i n x",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19772"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   i n g r e s s - n g i n x - a d m i s s i o n - c r e a t e - g 9 g 4 9   0 / 1   C o m p l e t e d   0   1 1 m   i n g r e s s - n g i n x - a d m i s s i o n - p a t c h - r q p 7 8   0 / 1   C o m p l e t e d   1   1 1 m   i n g r e s s - n g i n x - c o n t r o l l e r - 5 9 b 4 5 f b 4 9 4 - 2 6 n p t   1 / 1   R u n n i n g   0   1 1 m",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_4_19773"
  },
  {
    "question": "What is Deploy a hello, world app?",
    "answer": "C r e a t e   a   D e p l o y m e n t   u s i n g   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   c r e a t e   d e p l o y m e n t   w e b   - - i m a g e = g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 1 . 0   T h e   o u t p u t   s h o u l d   b e : d e p l o y m e n t . a p p s / w e b   c r e a t e d   V e r i f y   t h a t   t h e   D e p l o y m e n t   i s   i n   a   R e a d y   s t a t e : k u b e c t l   g e t   d e p l o y m e n t   w e b   T h e   o u t p u t   s h o u l d   b e   s i m i l a r   t o : N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   w e b   1 / 1   1   1   5 3 s   E x p o s e   t h e   D e p l o y m e n t : k u b e c t l   e x p o s e   d e p l o y m e n t   w e b   - - t y p e = N o d e P o r t   - - p o r t = 8 0 8 0   T h e   o u t p u t   s h o u l d   b e : s e r v i c e / w e b   e x p o s e d   V e r i f y   t h e   S e r v i c e   i s   c r e a t e d   a n d   i s   a v a i l a b l e   o n   a   n o d e   p o r t : k u b e c t l   g e t   s e r v i c e   w e b   T h e   o u t p u t   i s   s i m i l a r   t o : N A M E   T Y P E   C L U S T E R - I P   E X T E R N A L - I P   P O R T ( S )   A G E   w e b   N o d e P o r t   1 0 . 1 0 4 . 1 3 3 . 2 4 9   < n o n e >   8 0 8 0 : 3 1 6 3 7 / T C P   1 2 m   V i s i t   t h e   S e r v i c e   v i a   N o d e P o r t ,   u s i n g   t h e   m i n i k u b e   s e r v i c e   c o m m a n d .   F o l l o w   t h e   i n s t r u c t i o n s   f o r   y o u r   p l a t f o r m : m i n i k u b e   s e r v i c e   w e b   - - u r l   T h e   o u t p u t   i s   s i m i l a r   t o : h t t p : / / 1 7 2 . 1 7 . 0 . 1 5 : 3 1 6 3 7   I n v o k e   t h e   U R L   o b t a i n e d   i n   t h e   o u t p u t   o f   t h e   p r e v i o u s   s t e p : c u r l   h t t p : / / 1 7 2 . 1 7 . 0 . 1 5 : 3 1 6 3 7   #   T h e   c o m m a n d   m u s t   b e   r u n   i n   a   s e p a r a t e   t e r m i n a l .   m i n i k u b e   s e r v i ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19774"
  },
  {
    "question": "What is Create an Ingress?",
    "answer": "T h e   f o l l o w i n g   m a n i f e s t   d e f i n e s   a n   I n g r e s s   t h a t   s e n d s   t r a f f i c   t o   y o u r   S e r v i c e   v i a   h e l l o - w o r l d . e x a m p l e .   C r e a t e   e x a m p l e - i n g r e s s . y a m l   f r o m   t h e   f o l l o w i n g   f i l e : s e r v i c e / n e t w o r k i n g / e x a m p l e - i n g r e s s . y a m l   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a :   n a m e :   e x a m p l e - i n g r e s s   s p e c :   i n g r e s s C l a s s N a m e :   n g i n x   r u l e s :   -   h o s t :   h e l l o - w o r l d . e x a m p l e   h t t p :   p a t h s :   -   p a t h :   /   p a t h T y p e :   P r e f i x   b a c k e n d :   s e r v i c e :   n a m e :   w e b   p o r t :   n u m b e r :   8 0 8 0 C r e a t e   t h e   I n g r e s s   o b j e c t   b y   r u n n i n g   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / s e r v i c e / n e t w o r k i n g / e x a m p l e - i n g r e s s . y a m l   T h e   o u t p u t   s h o u l d   b e : i n g r e s s . n e t w o r k i n g . k 8 s . i o / e x a m p l e - i n g r e s s   c r e a t e d   V e r i f y   t h e   I P   a d d r e s s   i s   s e t : k u b e c t l   g e t   i n g r e s s   N o t e : T h i s   c a n   t a k e   a   c o u p l e   o f   m i n u t e s . Y o u   s h o u l d   s e e   a n   I P v 4   a d d r e s s   i n   t h e   A D D R E S S   c o l u m n ;   f o r   e x a m p l e : N A M E   C L A S S   H O S T S   A D D R E S S   P O R T S   A G E   e x a m p l e - i n g r e s s   n g i n x   h e l l o - w o r l d . e x a m p l e   1 7 2 . 1 7 . 0 . 1 5   8 0   3 8 s   V e r i f y   t h a t   t h e   I n g r e s s   c o n t r o l l e r   i s   d i r e c t i n g   t r a f f i c ,   b y   f o l l o w i n g   t h e   i n s t r u c t i o n s   f o r   y o u r   p l a t f o r m : N o t e : T h e   n ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19775"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   s h o u l d   s e e   a n   I P v 4   a d d r e s s   i n   t h e   A D D R E S S   c o l u m n ;   f o r   e x a m p l e :   N A M E   C L A S S   H O S T S   A D D R E S S   P O R T S   A G E   e x a m p l e - i n g r e s s   n g i n x   h e l l o - w o r l d . e x a m p l e   1 7 2 . 1 7 . 0 . 1 5   8 0   3 8 s   V e r i f y   t h a t   t h e   I n g r e s s   c o n t r o l l e r   i s   d i r e c t i n g   t r a f f i c ,   b y   f o l l o w i n g   t h e   i n s t r u c t i o n s   f o r   y o u r   p l a t f o r m :",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_4_19776"
  },
  {
    "question": "What is Note:?",
    "answer": "c u r l   - - r e s o l v e   \" h e l l o - w o r l d . e x a m p l e : 8 0 : $ (   m i n i k u b e   i p   ) \"   - i   h t t p : / / h e l l o - w o r l d . e x a m p l e   m i n i k u b e   t u n n e l   T h e   o u t p u t   i s   s i m i l a r   t o : T u n n e l   s u c c e s s f u l l y   s t a r t e d   N O T E :   P l e a s e   d o   n o t   c l o s e   t h i s   t e r m i n a l   a s   t h i s   p r o c e s s   m u s t   s t a y   a l i v e   f o r   t h e   t u n n e l   t o   b e   a c c e s s i b l e   . . .   T h e   s e r v i c e / i n g r e s s   e x a m p l e - i n g r e s s   r e q u i r e s   p r i v i l e g e d   p o r t s   t o   b e   e x p o s e d :   [ 8 0   4 4 3 ]   s u d o   p e r m i s s i o n   w i l l   b e   a s k e d   f o r   i t .   S t a r t i n g   t u n n e l   f o r   s e r v i c e   e x a m p l e - i n g r e s s .   F r o m   w i t h i n   a   n e w   t e r m i n a l ,   i n v o k e   t h e   f o l l o w i n g   c o m m a n d : c u r l   - - r e s o l v e   \" h e l l o - w o r l d . e x a m p l e : 8 0 : 1 2 7 . 0 . 0 . 1 \"   - i   h t t p : / / h e l l o - w o r l d . e x a m p l e   Y o u   s h o u l d   s e e :   c u r l   - - r e s o l v e   \" h e l l o - w o r l d . e x a m p l e : 8 0 : $ (   m i n i k u b e   i p   ) \"   - i   h t t p : / / h e l l o - w o r l d . e x a m p l e   c u r l   - - r e s o l v e   \" h e l l o - w o r l d . e x a m p l e : 8 0 : $ (   m i n i k u b e   i p   ) \"   - i   h t t p : / / h e l l o - w o r l d . e x a m p l e   m i n i k u b e   t u n n e l   T h e   o u t p u t   i s   s i m i l a r   t o : T u n n e l   s u c c e s s f u l l y   s t a r t e d   N O T E :   P l e a s e   d o   n o t   c l o s e   t h i s   t e r m i n a l   a s   t h i s   p r o c e s s   m u s t   s t a y   a l i v e   f o r   t h e   t u n n e l   t o   b e   a c c e s s i b l e   . . .   T h e   s e r v i c e / i n g r e s s   e x a m p l e - i n g r e s s   r e q u i r e s   p r i v i l e g e d   p o r t s   t ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_4_19777"
  },
  {
    "question": "What is Note:?",
    "answer": "1 2 7 . 0 . 0 . 1   h e l l o - w o r l d . e x a m p l e   1 2 7 . 0 . 0 . 1   h e l l o - w o r l d . e x a m p l e   A f t e r   y o u   m a k e   t h i s   c h a n g e ,   y o u r   w e b   b r o w s e r   s e n d s   r e q u e s t s   f o r   h e l l o - w o r l d . e x a m p l e   U R L s   t o   M i n i k u b e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_4_19778"
  },
  {
    "question": "What is Create a second Deployment?",
    "answer": "C r e a t e   a n o t h e r   D e p l o y m e n t   u s i n g   t h e   f o l l o w i n g   c o m m a n d : k u b e c t l   c r e a t e   d e p l o y m e n t   w e b 2   - - i m a g e = g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 2 . 0   T h e   o u t p u t   s h o u l d   b e : d e p l o y m e n t . a p p s / w e b 2   c r e a t e d   V e r i f y   t h a t   t h e   D e p l o y m e n t   i s   i n   a   R e a d y   s t a t e : k u b e c t l   g e t   d e p l o y m e n t   w e b 2   T h e   o u t p u t   s h o u l d   b e   s i m i l a r   t o : N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   w e b 2   1 / 1   1   1   1 6 s   E x p o s e   t h e   s e c o n d   D e p l o y m e n t : k u b e c t l   e x p o s e   d e p l o y m e n t   w e b 2   - - p o r t = 8 0 8 0   - - t y p e = N o d e P o r t   T h e   o u t p u t   s h o u l d   b e : s e r v i c e / w e b 2   e x p o s e d   C r e a t e   a n o t h e r   D e p l o y m e n t   u s i n g   t h e   f o l l o w i n g   c o m m a n d :   k u b e c t l   c r e a t e   d e p l o y m e n t   w e b 2   - - i m a g e = g c r . i o / g o o g l e - s a m p l e s / h e l l o - a p p : 2 . 0   T h e   o u t p u t   s h o u l d   b e :   d e p l o y m e n t . a p p s / w e b 2   c r e a t e d   V e r i f y   t h a t   t h e   D e p l o y m e n t   i s   i n   a   R e a d y   s t a t e :   k u b e c t l   g e t   d e p l o y m e n t   w e b 2   T h e   o u t p u t   s h o u l d   b e   s i m i l a r   t o :   N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   w e b 2   1 / 1   1   1   1 6 s   E x p o s e   t h e   s e c o n d   D e p l o y m e n t :   k u b e c t l   e x p o s e   d e p l o y m e n t   w e b 2   - - p o r t = 8 0 8 0   - - t y p e = N o d e P o r t   T h e   o u t p u t   s h o u l d   b e :   s e r v i c e / w e b 2   e x p o s e d",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19779"
  },
  {
    "question": "What is Edit the existing Ingress?",
    "answer": "E d i t   t h e   e x i s t i n g   e x a m p l e - i n g r e s s . y a m l   m a n i f e s t ,   a n d   a d d   t h e   f o l l o w i n g   l i n e s   a t   t h e   e n d : -   p a t h :   / v 2   p a t h T y p e :   P r e f i x   b a c k e n d :   s e r v i c e :   n a m e :   w e b 2   p o r t :   n u m b e r :   8 0 8 0   A p p l y   t h e   c h a n g e s : k u b e c t l   a p p l y   - f   e x a m p l e - i n g r e s s . y a m l   Y o u   s h o u l d   s e e : i n g r e s s . n e t w o r k i n g / e x a m p l e - i n g r e s s   c o n f i g u r e d   E d i t   t h e   e x i s t i n g   e x a m p l e - i n g r e s s . y a m l   m a n i f e s t ,   a n d   a d d   t h e   f o l l o w i n g   l i n e s   a t   t h e   e n d :   -   p a t h :   / v 2   p a t h T y p e :   P r e f i x   b a c k e n d :   s e r v i c e :   n a m e :   w e b 2   p o r t :   n u m b e r :   8 0 8 0   A p p l y   t h e   c h a n g e s :   k u b e c t l   a p p l y   - f   e x a m p l e - i n g r e s s . y a m l   Y o u   s h o u l d   s e e :   i n g r e s s . n e t w o r k i n g / e x a m p l e - i n g r e s s   c o n f i g u r e d",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19780"
  },
  {
    "question": "What is Test your Ingress?",
    "answer": "A c c e s s   t h e   1 s t   v e r s i o n   o f   t h e   H e l l o   W o r l d   a p p . c u r l   - - r e s o l v e   \" h e l l o - w o r l d . e x a m p l e : 8 0 : $ (   m i n i k u b e   i p   ) \"   - i   h t t p : / / h e l l o - w o r l d . e x a m p l e   m i n i k u b e   t u n n e l   T h e   o u t p u t   i s   s i m i l a r   t o : T u n n e l   s u c c e s s f u l l y   s t a r t e d   N O T E :   P l e a s e   d o   n o t   c l o s e   t h i s   t e r m i n a l   a s   t h i s   p r o c e s s   m u s t   s t a y   a l i v e   f o r   t h e   t u n n e l   t o   b e   a c c e s s i b l e   . . .   T h e   s e r v i c e / i n g r e s s   e x a m p l e - i n g r e s s   r e q u i r e s   p r i v i l e g e d   p o r t s   t o   b e   e x p o s e d :   [ 8 0   4 4 3 ]   s u d o   p e r m i s s i o n   w i l l   b e   a s k e d   f o r   i t .   S t a r t i n g   t u n n e l   f o r   s e r v i c e   e x a m p l e - i n g r e s s .   F r o m   w i t h i n   a   n e w   t e r m i n a l ,   i n v o k e   t h e   f o l l o w i n g   c o m m a n d : c u r l   - - r e s o l v e   \" h e l l o - w o r l d . e x a m p l e : 8 0 : 1 2 7 . 0 . 0 . 1 \"   - i   h t t p : / / h e l l o - w o r l d . e x a m p l e   T h e   o u t p u t   i s   s i m i l a r   t o : H e l l o ,   w o r l d !   V e r s i o n :   1 . 0 . 0   H o s t n a m e :   w e b - 5 5 b 8 c 6 9 9 8 d - 8 k 5 6 4   A c c e s s   t h e   2 n d   v e r s i o n   o f   t h e   H e l l o   W o r l d   a p p . c u r l   - - r e s o l v e   \" h e l l o - w o r l d . e x a m p l e : 8 0 : $ (   m i n i k u b e   i p   ) \"   - i   h t t p : / / h e l l o - w o r l d . e x a m p l e / v 2   m i n i k u b e   t u n n e l   T h e   o u t p u t   i s   s i m i l a r   t o : T u n n e l   s u c c e s s f u l l y   s t a r t e d   N O T E :   P l e a s e   d o   n o t   c l o s e   t h i s   t e r m i n a l   a s   t h i s   p r o c e s s   m u s t   s t a y   a l i v e   f o r   t h e   t u n n e l   t o   b e   a ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19781"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   m o r e   a b o u t   I n g r e s s R e a d   m o r e   a b o u t   I n g r e s s   C o n t r o l l e r s R e a d   m o r e   a b o u t   S e r v i c e s",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19782"
  },
  {
    "question": "What is 10 - Communicate Between Containers in the Same Pod Using a Shared Volume?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   u s e   a   V o l u m e   t o   c o m m u n i c a t e   b e t w e e n   t w o   C o n t a i n e r s   r u n n i n g   i n   t h e   s a m e   P o d .   S e e   a l s o   h o w   t o   a l l o w   p r o c e s s e s   t o   c o m m u n i c a t e   b y   s h a r i n g   p r o c e s s   n a m e s p a c e   b e t w e e n   c o n t a i n e r s .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_1_19783"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19784"
  },
  {
    "question": "What is Creating a Pod that runs two Containers?",
    "answer": "I n   t h i s   e x e r c i s e ,   y o u   c r e a t e   a   P o d   t h a t   r u n s   t w o   C o n t a i n e r s .   T h e   t w o   c o n t a i n e r s   s h a r e   a   V o l u m e   t h a t   t h e y   c a n   u s e   t o   c o m m u n i c a t e .   H e r e   i s   t h e   c o n f i g u r a t i o n   f i l e   f o r   t h e   P o d :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t w o - c o n t a i n e r s   s p e c :   r e s t a r t P o l i c y :   N e v e r   v o l u m e s :   -   n a m e :   s h a r e d - d a t a   e m p t y D i r :   { }   c o n t a i n e r s :   -   n a m e :   n g i n x - c o n t a i n e r   i m a g e :   n g i n x   v o l u m e M o u n t s :   -   n a m e :   s h a r e d - d a t a   m o u n t P a t h :   / u s r / s h a r e / n g i n x / h t m l   -   n a m e :   d e b i a n - c o n t a i n e r   i m a g e :   d e b i a n   v o l u m e M o u n t s :   -   n a m e :   s h a r e d - d a t a   m o u n t P a t h :   / p o d - d a t a   c o m m a n d :   [ \" / b i n / s h \" ]   a r g s :   [ \" - c \" ,   \" e c h o   H e l l o   f r o m   t h e   d e b i a n   c o n t a i n e r   >   / p o d - d a t a / i n d e x . h t m l \" ]   I n   t h e   c o n f i g u r a t i o n   f i l e ,   y o u   c a n   s e e   t h a t   t h e   P o d   h a s   a   V o l u m e   n a m e d   s h a r e d - d a t a .   T h e   f i r s t   c o n t a i n e r   l i s t e d   i n   t h e   c o n f i g u r a t i o n   f i l e   r u n s   a n   n g i n x   s e r v e r .   T h e   m o u n t   p a t h   f o r   t h e   s h a r e d   V o l u m e   i s   / u s r / s h a r e / n g i n x / h t m l .   T h e   s e c o n d   c o n t a i n e r   i s   b a s e d   o n   t h e   d e b i a n   i m a g e ,   a n d   h a s   a   m o u n t   p a t h   o f   / p o d - d a t a .   T h e   s e c o n d   c o n t a i n e r   r u n s   t h e   f o l l o w i n g   c o m m a n d   a n d   t h e n   t e r m i n a t e s .   e c h o   H e l l o   f r o m   t h ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19785"
  },
  {
    "question": "What is Discussion?",
    "answer": "T h e   p r i m a r y   r e a s o n   t h a t   P o d s   c a n   h a v e   m u l t i p l e   c o n t a i n e r s   i s   t o   s u p p o r t   h e l p e r   a p p l i c a t i o n s   t h a t   a s s i s t   a   p r i m a r y   a p p l i c a t i o n .   T y p i c a l   e x a m p l e s   o f   h e l p e r   a p p l i c a t i o n s   a r e   d a t a   p u l l e r s ,   d a t a   p u s h e r s ,   a n d   p r o x i e s .   H e l p e r   a n d   p r i m a r y   a p p l i c a t i o n s   o f t e n   n e e d   t o   c o m m u n i c a t e   w i t h   e a c h   o t h e r .   T y p i c a l l y   t h i s   i s   d o n e   t h r o u g h   a   s h a r e d   f i l e s y s t e m ,   a s   s h o w n   i n   t h i s   e x e r c i s e ,   o r   t h r o u g h   t h e   l o o p b a c k   n e t w o r k   i n t e r f a c e ,   l o c a l h o s t .   A n   e x a m p l e   o f   t h i s   p a t t e r n   i s   a   w e b   s e r v e r   a l o n g   w i t h   a   h e l p e r   p r o g r a m   t h a t   p o l l s   a   G i t   r e p o s i t o r y   f o r   n e w   u p d a t e s .   T h e   V o l u m e   i n   t h i s   e x e r c i s e   p r o v i d e s   a   w a y   f o r   C o n t a i n e r s   t o   c o m m u n i c a t e   d u r i n g   t h e   l i f e   o f   t h e   P o d .   I f   t h e   P o d   i s   d e l e t e d   a n d   r e c r e a t e d ,   a n y   d a t a   s t o r e d   i n   t h e   s h a r e d   V o l u m e   i s   l o s t .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19786"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   p a t t e r n s   f o r   c o m p o s i t e   c o n t a i n e r s . L e a r n   a b o u t   c o m p o s i t e   c o n t a i n e r s   f o r   m o d u l a r   a r c h i t e c t u r e . S e e   C o n f i g u r i n g   a   P o d   t o   U s e   a   V o l u m e   f o r   S t o r a g e . S e e   C o n f i g u r e   a   P o d   t o   s h a r e   p r o c e s s   n a m e s p a c e   b e t w e e n   c o n t a i n e r s   i n   a   P o d S e e   V o l u m e . S e e   P o d .   L e a r n   m o r e   a b o u t   p a t t e r n s   f o r   c o m p o s i t e   c o n t a i n e r s .   L e a r n   a b o u t   c o m p o s i t e   c o n t a i n e r s   f o r   m o d u l a r   a r c h i t e c t u r e .   S e e   C o n f i g u r i n g   a   P o d   t o   U s e   a   V o l u m e   f o r   S t o r a g e .   S e e   C o n f i g u r e   a   P o d   t o   s h a r e   p r o c e s s   n a m e s p a c e   b e t w e e n   c o n t a i n e r s   i n   a   P o d   S e e   V o l u m e .   S e e   P o d .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19787"
  },
  {
    "question": "What is 11 - Configure DNS for a Cluster?",
    "answer": "K u b e r n e t e s   o f f e r s   a   D N S   c l u s t e r   a d d o n ,   w h i c h   m o s t   o f   t h e   s u p p o r t e d   e n v i r o n m e n t s   e n a b l e   b y   d e f a u l t .   I n   K u b e r n e t e s   v e r s i o n   1 . 1 1   a n d   l a t e r ,   C o r e D N S   i s   r e c o m m e n d e d   a n d   i s   i n s t a l l e d   b y   d e f a u l t   w i t h   k u b e a d m .   F o r   m o r e   i n f o r m a t i o n   o n   h o w   t o   c o n f i g u r e   C o r e D N S   f o r   a   K u b e r n e t e s   c l u s t e r ,   s e e   t h e   C u s t o m i z i n g   D N S   S e r v i c e .   A n   e x a m p l e   d e m o n s t r a t i n g   h o w   t o   u s e   K u b e r n e t e s   D N S   w i t h   k u b e - d n s ,   s e e   t h e   K u b e r n e t e s   D N S   s a m p l e   p l u g i n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_1_19788"
  },
  {
    "question": "What is 12 - Access Services Running on Clusters?",
    "answer": "T h i s   p a g e   s h o w s   h o w   t o   c o n n e c t   t o   s e r v i c e s   r u n n i n g   o n   t h e   K u b e r n e t e s   c l u s t e r .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_1_19789"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s : i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .   Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   c h e c k   t h e   v e r s i o n ,   e n t e r   k u b e c t l   v e r s i o n .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19790"
  },
  {
    "question": "What is Accessing services running on the cluster?",
    "answer": "I n   K u b e r n e t e s ,   n o d e s ,   p o d s   a n d   s e r v i c e s   a l l   h a v e   t h e i r   o w n   I P s .   I n   m a n y   c a s e s ,   t h e   n o d e   I P s ,   p o d   I P s ,   a n d   s o m e   s e r v i c e   I P s   o n   a   c l u s t e r   w i l l   n o t   b e   r o u t a b l e ,   s o   t h e y   w i l l   n o t   b e   r e a c h a b l e   f r o m   a   m a c h i n e   o u t s i d e   t h e   c l u s t e r ,   s u c h   a s   y o u r   d e s k t o p   m a c h i n e .",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_2_19791"
  },
  {
    "question": "What is Ways to connect?",
    "answer": "Y o u   h a v e   s e v e r a l   o p t i o n s   f o r   c o n n e c t i n g   t o   n o d e s ,   p o d s   a n d   s e r v i c e s   f r o m   o u t s i d e   t h e   c l u s t e r :   A c c e s s   s e r v i c e s   t h r o u g h   p u b l i c   I P s . U s e   a   s e r v i c e   w i t h   t y p e   N o d e P o r t   o r   L o a d B a l a n c e r   t o   m a k e   t h e   s e r v i c e   r e a c h a b l e   o u t s i d e   t h e   c l u s t e r .   S e e   t h e   s e r v i c e s   a n d   k u b e c t l   e x p o s e   d o c u m e n t a t i o n . D e p e n d i n g   o n   y o u r   c l u s t e r   e n v i r o n m e n t ,   t h i s   m a y   o n l y   e x p o s e   t h e   s e r v i c e   t o   y o u r   c o r p o r a t e   n e t w o r k ,   o r   i t   m a y   e x p o s e   i t   t o   t h e   i n t e r n e t .   T h i n k   a b o u t   w h e t h e r   t h e   s e r v i c e   b e i n g   e x p o s e d   i s   s e c u r e .   D o e s   i t   d o   i t s   o w n   a u t h e n t i c a t i o n ? P l a c e   p o d s   b e h i n d   s e r v i c e s .   T o   a c c e s s   o n e   s p e c i f i c   p o d   f r o m   a   s e t   o f   r e p l i c a s ,   s u c h   a s   f o r   d e b u g g i n g ,   p l a c e   a   u n i q u e   l a b e l   o n   t h e   p o d   a n d   c r e a t e   a   n e w   s e r v i c e   w h i c h   s e l e c t s   t h i s   l a b e l . I n   m o s t   c a s e s ,   i t   s h o u l d   n o t   b e   n e c e s s a r y   f o r   a p p l i c a t i o n   d e v e l o p e r   t o   d i r e c t l y   a c c e s s   n o d e s   v i a   t h e i r   n o d e I P s . A c c e s s   s e r v i c e s ,   n o d e s ,   o r   p o d s   u s i n g   t h e   P r o x y   V e r b . D o e s   a p i s e r v e r   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n   p r i o r   t o   a c c e s s i n g   t h e   r e m o t e   s e r v i c e .   U s e   t h i s   i f   t h e   s e r v i c e s   a r e   n o t   s e c u r e   e n o u g h   t o   e x p o s e   t o ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_3_19792"
  },
  {
    "question": "What is Discovering builtin services?",
    "answer": "T y p i c a l l y ,   t h e r e   a r e   s e v e r a l   s e r v i c e s   w h i c h   a r e   s t a r t e d   o n   a   c l u s t e r   b y   k u b e - s y s t e m .   G e t   a   l i s t   o f   t h e s e   w i t h   t h e   k u b e c t l   c l u s t e r - i n f o   c o m m a n d :   k u b e c t l   c l u s t e r - i n f o   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   K u b e r n e t e s   m a s t e r   i s   r u n n i n g   a t   h t t p s : / / 1 9 2 . 0 . 2 . 1   e l a s t i c s e a r c h - l o g g i n g   i s   r u n n i n g   a t   h t t p s : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / e l a s t i c s e a r c h - l o g g i n g / p r o x y   k i b a n a - l o g g i n g   i s   r u n n i n g   a t   h t t p s : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / k i b a n a - l o g g i n g / p r o x y   k u b e - d n s   i s   r u n n i n g   a t   h t t p s : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / k u b e - d n s / p r o x y   g r a f a n a   i s   r u n n i n g   a t   h t t p s : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / m o n i t o r i n g - g r a f a n a / p r o x y   h e a p s t e r   i s   r u n n i n g   a t   h t t p s : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / m o n i t o r i n g - h e a p s t e r / p r o x y   T h i s   s h o w s   t h e   p r o x y - v e r b   U R L   f o r   a c c e s s i n g   e a c h   s e r v i c e .   F o r   e x a m p l e ,   t h i s   c l u s t e r   h a s   c l u s t e r - l e v e l   l o g g i n g   e n a b l e d   ( u s i n g   E l a s t i c s e a r c h ) ,   w h i c h   c a n   b e   r e a c h e d   a t   h t t p s : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_3_19793"
  },
  {
    "question": "What is Manually constructing apiserver proxy URLs?",
    "answer": "A s   m e n t i o n e d   a b o v e ,   y o u   u s e   t h e   k u b e c t l   c l u s t e r - i n f o   c o m m a n d   t o   r e t r i e v e   t h e   s e r v i c e ' s   p r o x y   U R L .   T o   c r e a t e   p r o x y   U R L s   t h a t   i n c l u d e   s e r v i c e   e n d p o i n t s ,   s u f f i x e s ,   a n d   p a r a m e t e r s ,   y o u   a p p e n d   t o   t h e   s e r v i c e ' s   p r o x y   U R L :   h t t p : / / k u b e r n e t e s _ m a s t e r _ a d d r e s s / a p i / v 1 / n a m e s p a c e s / n a m e s p a c e _ n a m e / s e r v i c e s / [ h t t p s : ] s e r v i c e _ n a m e [ : p o r t _ n a m e ] / p r o x y   I f   y o u   h a v e n ' t   s p e c i f i e d   a   n a m e   f o r   y o u r   p o r t ,   y o u   d o n ' t   h a v e   t o   s p e c i f y   p o r t _ n a m e   i n   t h e   U R L .   Y o u   c a n   a l s o   u s e   t h e   p o r t   n u m b e r   i n   p l a c e   o f   t h e   p o r t _ n a m e   f o r   b o t h   n a m e d   a n d   u n n a m e d   p o r t s .   B y   d e f a u l t ,   t h e   A P I   s e r v e r   p r o x i e s   t o   y o u r   s e r v i c e   u s i n g   H T T P .   T o   u s e   H T T P S ,   p r e f i x   t h e   s e r v i c e   n a m e   w i t h   h t t p s : :   h t t p : / / < k u b e r n e t e s _ m a s t e r _ a d d r e s s > / a p i / v 1 / n a m e s p a c e s / < n a m e s p a c e _ n a m e > / s e r v i c e s / < s e r v i c e _ n a m e > / p r o x y   T h e   s u p p o r t e d   f o r m a t s   f o r   t h e   < s e r v i c e _ n a m e >   s e g m e n t   o f   t h e   U R L   a r e :   < s e r v i c e _ n a m e >   -   p r o x i e s   t o   t h e   d e f a u l t   o r   u n n a m e d   p o r t   u s i n g   h t t p < s e r v i c e _ n a m e > : < p o r t _ n a m e >   -   p r o x i e s   t o   t h e   s p e c i f i e d   p o r t   n a m e   o r   p o r t   n u m b e r   u s i n g   h t t p h t t p s : < s e r v i c e _ n a m e > :   -   p r o x i e s   t o   t h e   d e f a u ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_4_19794"
  },
  {
    "question": "What is Examples?",
    "answer": "T o   a c c e s s   t h e   E l a s t i c s e a r c h   s e r v i c e   e n d p o i n t   _ s e a r c h ? q = u s e r : k i m c h y ,   y o u   w o u l d   u s e : h t t p : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / e l a s t i c s e a r c h - l o g g i n g / p r o x y / _ s e a r c h ? q = u s e r : k i m c h y   T o   a c c e s s   t h e   E l a s t i c s e a r c h   c l u s t e r   h e a l t h   i n f o r m a t i o n   _ c l u s t e r / h e a l t h ? p r e t t y = t r u e ,   y o u   w o u l d   u s e : h t t p s : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / e l a s t i c s e a r c h - l o g g i n g / p r o x y / _ c l u s t e r / h e a l t h ? p r e t t y = t r u e   T h e   h e a l t h   i n f o r m a t i o n   i s   s i m i l a r   t o   t h i s : {   \" c l u s t e r _ n a m e \"   :   \" k u b e r n e t e s _ l o g g i n g \" ,   \" s t a t u s \"   :   \" y e l l o w \" ,   \" t i m e d _ o u t \"   :   f a l s e ,   \" n u m b e r _ o f _ n o d e s \"   :   1 ,   \" n u m b e r _ o f _ d a t a _ n o d e s \"   :   1 ,   \" a c t i v e _ p r i m a r y _ s h a r d s \"   :   5 ,   \" a c t i v e _ s h a r d s \"   :   5 ,   \" r e l o c a t i n g _ s h a r d s \"   :   0 ,   \" i n i t i a l i z i n g _ s h a r d s \"   :   0 ,   \" u n a s s i g n e d _ s h a r d s \"   :   5   }   T o   a c c e s s   t h e   h t t p s   E l a s t i c s e a r c h   s e r v i c e   h e a l t h   i n f o r m a t i o n   _ c l u s t e r / h e a l t h ? p r e t t y = t r u e ,   y o u   w o u l d   u s e : h t t p s : / / 1 9 2 . 0 . 2 . 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / h t t p s : e l a s t i c s e a r c h - l o g g i n g : / p r o x y / _ c l u s t e r / h e a l t h ? p r e t t y = t r u e   T o   a c c e s s   t h e   E l a s t i c s e a r c h   s e r v i c e   e n d p o i n t   _ s e a r c h ? q = u s e r : k i m c h y ,   y o u   w ",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_5_19795"
  },
  {
    "question": "What is Using web browsers to access services running on the cluster?",
    "answer": "Y o u   m a y   b e   a b l e   t o   p u t   a n   a p i s e r v e r   p r o x y   U R L   i n t o   t h e   a d d r e s s   b a r   o f   a   b r o w s e r .   H o w e v e r :   W e b   b r o w s e r s   c a n n o t   u s u a l l y   p a s s   t o k e n s ,   s o   y o u   m a y   n e e d   t o   u s e   b a s i c   ( p a s s w o r d )   a u t h .   A p i s e r v e r   c a n   b e   c o n f i g u r e d   t o   a c c e p t   b a s i c   a u t h ,   b u t   y o u r   c l u s t e r   m a y   n o t   b e   c o n f i g u r e d   t o   a c c e p t   b a s i c   a u t h . S o m e   w e b   a p p s   m a y   n o t   w o r k ,   p a r t i c u l a r l y   t h o s e   w i t h   c l i e n t   s i d e   j a v a s c r i p t   t h a t   c o n s t r u c t   U R L s   i n   a   w a y   t h a t   i s   u n a w a r e   o f   t h e   p r o x y   p a t h   p r e f i x .   ©   2 0 2 5   T h e   K u b e r n e t e s   A u t h o r s   |   D o c u m e n t a t i o n   D i s t r i b u t e d   u n d e r   C C   B Y   4 . 0   ©   2 0 2 5   T h e   L i n u x   F o u n d a t i o n   ® .   A l l   r i g h t s   r e s e r v e d .   T h e   L i n u x   F o u n d a t i o n   h a s   r e g i s t e r e d   t r a d e m a r k s   a n d   u s e s   t r a d e m a r k s .   F o r   a   l i s t   o f   t r a d e m a r k s   o f   T h e   L i n u x   F o u n d a t i o n ,   p l e a s e   s e e   o u r   T r a d e m a r k   U s a g e   p a g e   I C P   l i c e n s e :   京 I C P 备 1 7 0 7 4 2 6 6 号 - 3",
    "category": "tasks",
    "subcategory": "manage-clusters",
    "source": "https://kubernetes.io/docs/tasks/access-application-cluster/_print/",
    "id": "k8s_00782_section_4_19796"
  },
  {
    "question": "What is Kubernetes API?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Kubernetes API1: Workload Resources1.1: Pod1.2: Binding1.3: PodTemplate1.4: ReplicationController1.5: ReplicaSet1.6: Deployment1.7: StatefulSet1.8: ControllerRevision1.9: DaemonSet1.10: Job1.11: CronJob1.12: HorizontalPodAutoscaler1.13: HorizontalPodAutoscaler1.14: PriorityClass1.15: DeviceTaintRule v1alpha31.16: ResourceClaim1.17: ResourceClaimTemplate1.18: ResourceSlice2: Service Resources2.1: Service2.2: Endpoints2.3: EndpointSlice2.4: Ingress2.5: IngressClass3: Config and Storage Resources3.1: ConfigMap3.2: Secret3.3: CSIDriver3.4: CSINode3.5: CSIStorageCapacity3.6: PersistentVolumeClaim3.7: PersistentVolume3.8: StorageClass3.9: StorageVersionMigration v1alpha13.10: Volume3.11: VolumeAttachment3.12: VolumeAttributesClass4: Authentication Resources4.1: ServiceAccount4.2: TokenRequest4.3: TokenReview4.4: CertificateSigningRequest4.5: ClusterTrustBundle v1beta14.6: SelfSubjectReview4.7: PodCertificateRequest v1alpha15: Authorization Resources5.1: LocalSubjectAccessReview5.2: SelfSubjectAccessReview5.3: SelfSubjectRulesReview5.4: SubjectAccessReview5.5: ClusterRole5.6: ClusterRoleBinding5.7: Role5.8: RoleBinding6: Policy Resources6.1: FlowSchema6.2: LimitRange6.3: ResourceQuota6.4: NetworkPolicy6.5: PodDisruptionBudget6.6: PriorityLevelConfiguration6.7: ValidatingAdmissionPolicy6.8: ValidatingAdmissionPolicyBinding6.9: MutatingAdmissionPolicy v1beta16.10: MutatingAdmissionPolicyBinding v1alpha17: Extend Resources7.1: CustomResourceDefinition7.2: DeviceClass7.3: MutatingWebhookConfiguration7.4: ValidatingWebhookConfiguration8: Cluster Resources8.1: APIService8.2: ComponentStatus8.3: Event8.4: IPAddress8.5: Lease8.6: LeaseCandidate v1beta18.7: Namespace8.8: Node8.9: RuntimeClass8.10: ServiceCIDR9: Common Definitions9.1: DeleteOptions9.2: LabelSelector9.3: ListMeta9.4: LocalObjectReference9.5: NodeSelectorRequirement9.6: ObjectFieldSelector9.7: ObjectMeta9.8: ObjectReference9.9: Patch9.10: Quantity9.11: ResourceFieldSelector9.12: Status9.13: TypedLocalObjectReference10: Other Resources10.1: MutatingAdmissionPolicyBindingList v1beta111: Common ParametersKubernetes' API is the application that serves Kubernetes functionality through a RESTful interface and stores the state of the cluster.Kubernetes resources and \"records of intent\" are all stored as API objects, and modified via RESTful calls to the API. The API allows configuration to be managed in a declarative way. Users can interact with the Kubernetes API directly, or via tools like kubectl. The core Kubernetes API is flexible and can also be extended to support custom resources.1 - Workload Resources1.1 - PodPod is a collection of containers that can run on a host.apiVersion: v1import \"k8s.io/api/core/v1\"PodPod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.apiVersion: v1kind: Podmetadata (ObjectMeta)Standard object",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_qa_19797"
  },
  {
    "question": "How does Kubernetes API work?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Kubernetes API1: Workload Resources1.1: Pod1.2: Binding1.3: PodTemplate1.4: ReplicationController1.5: ReplicaSet1.6: Deployment1.7: StatefulSet1.8: ControllerRevision1.9: DaemonSet1.10: Job1.11: CronJob1.12: HorizontalPodAutoscaler1.13: HorizontalPodAutoscaler1.14: PriorityClass1.15: DeviceTaintRule v1alpha31.16: ResourceClaim1.17: ResourceClaimTemplate1.18: ResourceSlice2: Service Resources2.1: Service2.2: Endpoints2.3: EndpointSlice2.4: Ingress2.5: IngressClass3: Config and Storage Resources3.1: ConfigMap3.2: Secret3.3: CSIDriver3.4: CSINode3.5: CSIStorageCapacity3.6: PersistentVolumeClaim3.7: PersistentVolume3.8: StorageClass3.9: StorageVersionMigration v1alpha13.10: Volume3.11: VolumeAttachment3.12: VolumeAttributesClass4: Authentication Resources4.1: ServiceAccount4.2: TokenRequest4.3: TokenReview4.4: CertificateSigningRequest4.5: ClusterTrustBundle v1beta14.6: SelfSubjectReview4.7: PodCertificateRequest v1alpha15: Authorization Resources5.1: LocalSubjectAccessReview5.2: SelfSubjectAccessReview5.3: SelfSubjectRulesReview5.4: SubjectAccessReview5.5: ClusterRole5.6: ClusterRoleBinding5.7: Role5.8: RoleBinding6: Policy Resources6.1: FlowSchema6.2: LimitRange6.3: ResourceQuota6.4: NetworkPolicy6.5: PodDisruptionBudget6.6: PriorityLevelConfiguration6.7: ValidatingAdmissionPolicy6.8: ValidatingAdmissionPolicyBinding6.9: MutatingAdmissionPolicy v1beta16.10: MutatingAdmissionPolicyBinding v1alpha17: Extend Resources7.1: CustomResourceDefinition7.2: DeviceClass7.3: MutatingWebhookConfiguration7.4: ValidatingWebhookConfiguration8: Cluster Resources8.1: APIService8.2: ComponentStatus8.3: Event8.4: IPAddress8.5: Lease8.6: LeaseCandidate v1beta18.7: Namespace8.8: Node8.9: RuntimeClass8.10: ServiceCIDR9: Common Definitions9.1: DeleteOptions9.2: LabelSelector9.3: ListMeta9.4: LocalObjectReference9.5: NodeSelectorRequirement9.6: ObjectFieldSelector9.7: ObjectMeta9.8: ObjectReference9.9: Patch9.10: Quantity9.11: ResourceFieldSelector9.12: Status9.13: TypedLocalObjectReference10: Other Resources10.1: MutatingAdmissionPolicyBindingList v1beta111: Common ParametersKubernetes' API is the application that serves Kubernetes functionality through a RESTful interface and stores the state of the cluster.Kubernetes resources and \"records of intent\" are all stored as API objects, and modified via RESTful calls to the API. The API allows configuration to be managed in a declarative way. Users can interact with the Kubernetes API directly, or via tools like kubectl. The core Kubernetes API is flexible and can also be extended to support custom resources.1 - Workload Resources1.1 - PodPod is a collection of containers that can run on a host.apiVersion: v1import \"k8s.io/api/core/v1\"PodPod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.apiVersion: v1kind: Podmetadata (ObjectMeta)Standard object",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_qa_19798"
  },
  {
    "question": "When would you use Kubernetes API?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Kubernetes API1: Workload Resources1.1: Pod1.2: Binding1.3: PodTemplate1.4: ReplicationController1.5: ReplicaSet1.6: Deployment1.7: StatefulSet1.8: ControllerRevision1.9: DaemonSet1.10: Job1.11: CronJob1.12: HorizontalPodAutoscaler1.13: HorizontalPodAutoscaler1.14: PriorityClass1.15: DeviceTaintRule v1alpha31.16: ResourceClaim1.17: ResourceClaimTemplate1.18: ResourceSlice2: Service Resources2.1: Service2.2: Endpoints2.3: EndpointSlice2.4: Ingress2.5: IngressClass3: Config and Storage Resources3.1: ConfigMap3.2: Secret3.3: CSIDriver3.4: CSINode3.5: CSIStorageCapacity3.6: PersistentVolumeClaim3.7: PersistentVolume3.8: StorageClass3.9: StorageVersionMigration v1alpha13.10: Volume3.11: VolumeAttachment3.12: VolumeAttributesClass4: Authentication Resources4.1: ServiceAccount4.2: TokenRequest4.3: TokenReview4.4: CertificateSigningRequest4.5: ClusterTrustBundle v1beta14.6: SelfSubjectReview4.7: PodCertificateRequest v1alpha15: Authorization Resources5.1: LocalSubjectAccessReview5.2: SelfSubjectAccessReview5.3: SelfSubjectRulesReview5.4: SubjectAccessReview5.5: ClusterRole5.6: ClusterRoleBinding5.7: Role5.8: RoleBinding6: Policy Resources6.1: FlowSchema6.2: LimitRange6.3: ResourceQuota6.4: NetworkPolicy6.5: PodDisruptionBudget6.6: PriorityLevelConfiguration6.7: ValidatingAdmissionPolicy6.8: ValidatingAdmissionPolicyBinding6.9: MutatingAdmissionPolicy v1beta16.10: MutatingAdmissionPolicyBinding v1alpha17: Extend Resources7.1: CustomResourceDefinition7.2: DeviceClass7.3: MutatingWebhookConfiguration7.4: ValidatingWebhookConfiguration8: Cluster Resources8.1: APIService8.2: ComponentStatus8.3: Event8.4: IPAddress8.5: Lease8.6: LeaseCandidate v1beta18.7: Namespace8.8: Node8.9: RuntimeClass8.10: ServiceCIDR9: Common Definitions9.1: DeleteOptions9.2: LabelSelector9.3: ListMeta9.4: LocalObjectReference9.5: NodeSelectorRequirement9.6: ObjectFieldSelector9.7: ObjectMeta9.8: ObjectReference9.9: Patch9.10: Quantity9.11: ResourceFieldSelector9.12: Status9.13: TypedLocalObjectReference10: Other Resources10.1: MutatingAdmissionPolicyBindingList v1beta111: Common ParametersKubernetes' API is the application that serves Kubernetes functionality through a RESTful interface and stores the state of the cluster.Kubernetes resources and \"records of intent\" are all stored as API objects, and modified via RESTful calls to the API. The API allows configuration to be managed in a declarative way. Users can interact with the Kubernetes API directly, or via tools like kubectl. The core Kubernetes API is flexible and can also be extended to support custom resources.1 - Workload Resources1.1 - PodPod is a collection of containers that can run on a host.apiVersion: v1import \"k8s.io/api/core/v1\"PodPod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.apiVersion: v1kind: Podmetadata (ObjectMeta)Standard object",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_qa_19799"
  },
  {
    "question": "What are the benefits of Kubernetes API?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Kubernetes API1: Workload Resources1.1: Pod1.2: Binding1.3: PodTemplate1.4: ReplicationController1.5: ReplicaSet1.6: Deployment1.7: StatefulSet1.8: ControllerRevision1.9: DaemonSet1.10: Job1.11: CronJob1.12: HorizontalPodAutoscaler1.13: HorizontalPodAutoscaler1.14: PriorityClass1.15: DeviceTaintRule v1alpha31.16: ResourceClaim1.17: ResourceClaimTemplate1.18: ResourceSlice2: Service Resources2.1: Service2.2: Endpoints2.3: EndpointSlice2.4: Ingress2.5: IngressClass3: Config and Storage Resources3.1: ConfigMap3.2: Secret3.3: CSIDriver3.4: CSINode3.5: CSIStorageCapacity3.6: PersistentVolumeClaim3.7: PersistentVolume3.8: StorageClass3.9: StorageVersionMigration v1alpha13.10: Volume3.11: VolumeAttachment3.12: VolumeAttributesClass4: Authentication Resources4.1: ServiceAccount4.2: TokenRequest4.3: TokenReview4.4: CertificateSigningRequest4.5: ClusterTrustBundle v1beta14.6: SelfSubjectReview4.7: PodCertificateRequest v1alpha15: Authorization Resources5.1: LocalSubjectAccessReview5.2: SelfSubjectAccessReview5.3: SelfSubjectRulesReview5.4: SubjectAccessReview5.5: ClusterRole5.6: ClusterRoleBinding5.7: Role5.8: RoleBinding6: Policy Resources6.1: FlowSchema6.2: LimitRange6.3: ResourceQuota6.4: NetworkPolicy6.5: PodDisruptionBudget6.6: PriorityLevelConfiguration6.7: ValidatingAdmissionPolicy6.8: ValidatingAdmissionPolicyBinding6.9: MutatingAdmissionPolicy v1beta16.10: MutatingAdmissionPolicyBinding v1alpha17: Extend Resources7.1: CustomResourceDefinition7.2: DeviceClass7.3: MutatingWebhookConfiguration7.4: ValidatingWebhookConfiguration8: Cluster Resources8.1: APIService8.2: ComponentStatus8.3: Event8.4: IPAddress8.5: Lease8.6: LeaseCandidate v1beta18.7: Namespace8.8: Node8.9: RuntimeClass8.10: ServiceCIDR9: Common Definitions9.1: DeleteOptions9.2: LabelSelector9.3: ListMeta9.4: LocalObjectReference9.5: NodeSelectorRequirement9.6: ObjectFieldSelector9.7: ObjectMeta9.8: ObjectReference9.9: Patch9.10: Quantity9.11: ResourceFieldSelector9.12: Status9.13: TypedLocalObjectReference10: Other Resources10.1: MutatingAdmissionPolicyBindingList v1beta111: Common ParametersKubernetes' API is the application that serves Kubernetes functionality through a RESTful interface and stores the state of the cluster.Kubernetes resources and \"records of intent\" are all stored as API objects, and modified via RESTful calls to the API. The API allows configuration to be managed in a declarative way. Users can interact with the Kubernetes API directly, or via tools like kubectl. The core Kubernetes API is flexible and can also be extended to support custom resources.1 - Workload Resources1.1 - PodPod is a collection of containers that can run on a host.apiVersion: v1import \"k8s.io/api/core/v1\"PodPod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.apiVersion: v1kind: Podmetadata (ObjectMeta)Standard object",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_qa_19800"
  },
  {
    "question": "What is Kubernetes API?",
    "answer": "1 :   W o r k l o a d   R e s o u r c e s 1 . 1 :   P o d 1 . 2 :   B i n d i n g 1 . 3 :   P o d T e m p l a t e 1 . 4 :   R e p l i c a t i o n C o n t r o l l e r 1 . 5 :   R e p l i c a S e t 1 . 6 :   D e p l o y m e n t 1 . 7 :   S t a t e f u l S e t 1 . 8 :   C o n t r o l l e r R e v i s i o n 1 . 9 :   D a e m o n S e t 1 . 1 0 :   J o b 1 . 1 1 :   C r o n J o b 1 . 1 2 :   H o r i z o n t a l P o d A u t o s c a l e r 1 . 1 3 :   H o r i z o n t a l P o d A u t o s c a l e r 1 . 1 4 :   P r i o r i t y C l a s s 1 . 1 5 :   D e v i c e T a i n t R u l e   v 1 a l p h a 3 1 . 1 6 :   R e s o u r c e C l a i m 1 . 1 7 :   R e s o u r c e C l a i m T e m p l a t e 1 . 1 8 :   R e s o u r c e S l i c e 2 :   S e r v i c e   R e s o u r c e s 2 . 1 :   S e r v i c e 2 . 2 :   E n d p o i n t s 2 . 3 :   E n d p o i n t S l i c e 2 . 4 :   I n g r e s s 2 . 5 :   I n g r e s s C l a s s 3 :   C o n f i g   a n d   S t o r a g e   R e s o u r c e s 3 . 1 :   C o n f i g M a p 3 . 2 :   S e c r e t 3 . 3 :   C S I D r i v e r 3 . 4 :   C S I N o d e 3 . 5 :   C S I S t o r a g e C a p a c i t y 3 . 6 :   P e r s i s t e n t V o l u m e C l a i m 3 . 7 :   P e r s i s t e n t V o l u m e 3 . 8 :   S t o r a g e C l a s s 3 . 9 :   S t o r a g e V e r s i o n M i g r a t i o n   v 1 a l p h a 1 3 . 1 0 :   V o l u m e 3 . 1 1 :   V o l u m e A t t a c h m e n t 3 . 1 2 :   V o l u m e A t t r i b u t e s C l a s s 4 :   A u t h e n t i c a t i o n   R e s o u r c e s 4 . 1 :   S e r v i c e A c c o u n t 4 . 2 :   T o k e n R e q u e s t 4 . 3 :   T o k e n R e v i e w 4 . 4 :   C e r t i f i c a t e S i g n i n g R e q u e s t 4 . 5 :   C l u s t e r T r u s t B u n d l e   v 1 b e t a 1 4 . 6 :   S e l f S u b j e c t R e v i e w 4 . 7 :   P o d C e r t i f i c a t e R e q u e s t   v 1 a l p h a 1 5 :   A u t h o r i z a t i o n   R e s o u r c e s 5 . 1 :   L o c a l S u b j e c t A c c e s s R e v i e w 5 . 2 :   S e l f S u b j e c t A c c e s s R e v i e w ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_19801"
  },
  {
    "question": "What is 1.1 - Pod?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_19802"
  },
  {
    "question": "What is Pod?",
    "answer": "P o d   i s   a   c o l l e c t i o n   o f   c o n t a i n e r s   t h a t   c a n   r u n   o n   a   h o s t .   T h i s   r e s o u r c e   i s   c r e a t e d   b y   c l i e n t s   a n d   s c h e d u l e d   o n t o   h o s t s .   a p i V e r s i o n :   v 1 k i n d :   P o d m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( P o d S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   p o d .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( P o d S t a t u s ) M o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   p o d .   T h i s   d a t a   m a y   n o t   b e   u p   t o   d a t e .   P o p u l a t e d   b y   t h e   s y s t e m .   R e a d - o n l y .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( P o d S p e c )   S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   p o d .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_19803"
  },
  {
    "question": "What is PodSpec?",
    "answer": "P o d S p e c   i s   a   d e s c r i p t i o n   o f   a   p o d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_19804"
  },
  {
    "question": "What is Containers?",
    "answer": "c o n t a i n e r s   ( [ ] C o n t a i n e r ) ,   r e q u i r e d P a t c h   s t r a t e g y :   m e r g e   o n   k e y   n a m e M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e L i s t   o f   c o n t a i n e r s   b e l o n g i n g   t o   t h e   p o d .   C o n t a i n e r s   c a n n o t   c u r r e n t l y   b e   a d d e d   o r   r e m o v e d .   T h e r e   m u s t   b e   a t   l e a s t   o n e   c o n t a i n e r   i n   a   P o d .   C a n n o t   b e   u p d a t e d . i n i t C o n t a i n e r s   ( [ ] C o n t a i n e r ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   n a m e M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e L i s t   o f   i n i t i a l i z a t i o n   c o n t a i n e r s   b e l o n g i n g   t o   t h e   p o d .   I n i t   c o n t a i n e r s   a r e   e x e c u t e d   i n   o r d e r   p r i o r   t o   c o n t a i n e r s   b e i n g   s t a r t e d .   I f   a n y   i n i t   c o n t a i n e r   f a i l s ,   t h e   p o d   i s   c o n s i d e r e d   t o   h a v e   f a i l e d   a n d   i s   h a n d l e d   a c c o r d i n g   t o   i t s   r e s t a r t P o l i c y .   T h e   n a m e   f o r   a n   i n i t   c o n t a i n e r   o r   n o r m a l   c o n t a i n e r   m u s t   b e   u n i q u e   a m o n g   a l l   c o n t a i n e r s .   I n i t   c o n t a i n e r s   m a y   n o t   h a v e   L i f e c y c l e   a c t i o n s ,   R e a d i n e s s   p r o b e s ,   L i v e n e s s   p r o b e s ,   o r   S t a r t u p   p r o b e s .   T h e   r e s o u r c e R e q u i r e m e n t s   o f   a n   i n i t   c o n t a i n e r   a r e   t a k e n   i n t o   a c c o u n t   d u r i n g   s c h e d u l i n g   b y   f i n d i n g   t h e   h i g h e s t   r e q u e s t / l i m i t   f o r   e a c h   r e s o u r c e   t y p e ,   a n d   t h e n   u s i n g   t h e   m a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19805"
  },
  {
    "question": "What is Volumes?",
    "answer": "v o l u m e s   ( [ ] V o l u m e ) P a t c h   s t r a t e g i e s :   r e t a i n K e y s ,   m e r g e   o n   k e y   n a m e M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e L i s t   o f   v o l u m e s   t h a t   c a n   b e   m o u n t e d   b y   c o n t a i n e r s   b e l o n g i n g   t o   t h e   p o d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s   v o l u m e s   ( [ ] V o l u m e )   P a t c h   s t r a t e g i e s :   r e t a i n K e y s ,   m e r g e   o n   k e y   n a m e   M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e   L i s t   o f   v o l u m e s   t h a t   c a n   b e   m o u n t e d   b y   c o n t a i n e r s   b e l o n g i n g   t o   t h e   p o d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19806"
  },
  {
    "question": "What is Scheduling?",
    "answer": "n o d e S e l e c t o r   ( m a p [ s t r i n g ] s t r i n g ) N o d e S e l e c t o r   i s   a   s e l e c t o r   w h i c h   m u s t   b e   t r u e   f o r   t h e   p o d   t o   f i t   o n   a   n o d e .   S e l e c t o r   w h i c h   m u s t   m a t c h   a   n o d e ' s   l a b e l s   f o r   t h e   p o d   t o   b e   s c h e d u l e d   o n   t h a t   n o d e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n f i g u r a t i o n / a s s i g n - p o d - n o d e / n o d e N a m e   ( s t r i n g ) N o d e N a m e   i n d i c a t e s   i n   w h i c h   n o d e   t h i s   p o d   i s   s c h e d u l e d .   I f   e m p t y ,   t h i s   p o d   i s   a   c a n d i d a t e   f o r   s c h e d u l i n g   b y   t h e   s c h e d u l e r   d e f i n e d   i n   s c h e d u l e r N a m e .   O n c e   t h i s   f i e l d   i s   s e t ,   t h e   k u b e l e t   f o r   t h i s   n o d e   b e c o m e s   r e s p o n s i b l e   f o r   t h e   l i f e c y c l e   o f   t h i s   p o d .   T h i s   f i e l d   s h o u l d   n o t   b e   u s e d   t o   e x p r e s s   a   d e s i r e   f o r   t h e   p o d   t o   b e   s c h e d u l e d   o n   a   s p e c i f i c   n o d e .   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s c h e d u l i n g - e v i c t i o n / a s s i g n - p o d - n o d e / # n o d e n a m e a f f i n i t y   ( A f f i n i t y ) I f   s p e c i f i e d ,   t h e   p o d ' s   s c h e d u l i n g   c o n s t r a i n t s A f f i n i t y   i s   a   g r o u p   o f   a f f i n i t y   s c h e d u l i n g   r u l e s . a f f i n i t y . n o d e A f f i n i t y   ( N o d e A f f i n i t y ) D e s c r i b e s   n o d e   a f f i n i t y   s c h e d u l i n g   r u l e s   f o r   t h e   p o d . a f f i n i t y . p o d A f f i n i t y   ( P o d A f f i n i t y ) D e s c r i b e s   p o d   a f f i n i t y   s c h e d u l i n g   r u l e s   ( e . g .   c o - ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19807"
  },
  {
    "question": "What is Lifecycle?",
    "answer": "r e s t a r t P o l i c y   ( s t r i n g ) R e s t a r t   p o l i c y   f o r   a l l   c o n t a i n e r s   w i t h i n   t h e   p o d .   O n e   o f   A l w a y s ,   O n F a i l u r e ,   N e v e r .   I n   s o m e   c o n t e x t s ,   o n l y   a   s u b s e t   o f   t h o s e   v a l u e s   m a y   b e   p e r m i t t e d .   D e f a u l t   t o   A l w a y s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / p o d s / p o d - l i f e c y c l e / # r e s t a r t - p o l i c y t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   ( i n t 6 4 ) O p t i o n a l   d u r a t i o n   i n   s e c o n d s   t h e   p o d   n e e d s   t o   t e r m i n a t e   g r a c e f u l l y .   M a y   b e   d e c r e a s e d   i n   d e l e t e   r e q u e s t .   V a l u e   m u s t   b e   n o n - n e g a t i v e   i n t e g e r .   T h e   v a l u e   z e r o   i n d i c a t e s   s t o p   i m m e d i a t e l y   v i a   t h e   k i l l   s i g n a l   ( n o   o p p o r t u n i t y   t o   s h u t   d o w n ) .   I f   t h i s   v a l u e   i s   n i l ,   t h e   d e f a u l t   g r a c e   p e r i o d   w i l l   b e   u s e d   i n s t e a d .   T h e   g r a c e   p e r i o d   i s   t h e   d u r a t i o n   i n   s e c o n d s   a f t e r   t h e   p r o c e s s e s   r u n n i n g   i n   t h e   p o d   a r e   s e n t   a   t e r m i n a t i o n   s i g n a l   a n d   t h e   t i m e   w h e n   t h e   p r o c e s s e s   a r e   f o r c i b l y   h a l t e d   w i t h   a   k i l l   s i g n a l .   S e t   t h i s   v a l u e   l o n g e r   t h a n   t h e   e x p e c t e d   c l e a n u p   t i m e   f o r   y o u r   p r o c e s s .   D e f a u l t s   t o   3 0   s e c o n d s . a c t i v e D e a d l i n e S e c o n d s   ( i n t 6 4 ) O p t i o n a l   d u r a t i o n   i n   s e c o n d s   t h e   p o d   m a y   b e   a c t i v e   o n   t h e   n o d e   r e l a t i v e   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19808"
  },
  {
    "question": "What is Hostname and Name resolution?",
    "answer": "h o s t n a m e   ( s t r i n g ) S p e c i f i e s   t h e   h o s t n a m e   o f   t h e   P o d   I f   n o t   s p e c i f i e d ,   t h e   p o d ' s   h o s t n a m e   w i l l   b e   s e t   t o   a   s y s t e m - d e f i n e d   v a l u e . h o s t n a m e O v e r r i d e   ( s t r i n g ) H o s t n a m e O v e r r i d e   s p e c i f i e s   a n   e x p l i c i t   o v e r r i d e   f o r   t h e   p o d ' s   h o s t n a m e   a s   p e r c e i v e d   b y   t h e   p o d .   T h i s   f i e l d   o n l y   s p e c i f i e s   t h e   p o d ' s   h o s t n a m e   a n d   d o e s   n o t   a f f e c t   i t s   D N S   r e c o r d s .   W h e n   t h i s   f i e l d   i s   s e t   t o   a   n o n - e m p t y   s t r i n g :   -   I t   t a k e s   p r e c e d e n c e   o v e r   t h e   v a l u e s   s e t   i n   h o s t n a m e   a n d   s u b d o m a i n .   -   T h e   P o d ' s   h o s t n a m e   w i l l   b e   s e t   t o   t h i s   v a l u e .   -   s e t H o s t n a m e A s F Q D N   m u s t   b e   n i l   o r   s e t   t o   f a l s e .   -   h o s t N e t w o r k   m u s t   b e   s e t   t o   f a l s e . T h i s   f i e l d   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   a s   d e f i n e d   i n   R F C   1 1 2 3   a n d   c o n t a i n   a t   m o s t   6 4   c h a r a c t e r s .   R e q u i r e s   t h e   H o s t n a m e O v e r r i d e   f e a t u r e   g a t e   t o   b e   e n a b l e d . s e t H o s t n a m e A s F Q D N   ( b o o l e a n ) I f   t r u e   t h e   p o d ' s   h o s t n a m e   w i l l   b e   c o n f i g u r e d   a s   t h e   p o d ' s   F Q D N ,   r a t h e r   t h a n   t h e   l e a f   n a m e   ( t h e   d e f a u l t ) .   I n   L i n u x   c o n t a i n e r s ,   t h i s   m e a n s   s e t t i n g   t h e   F Q D N   i n   t h e   h o s t n a m e   f i e l d   o f   t h e   k e r n e l   ( t h e   n o d e n a m e   f i e l d   o f   s t r u c t   u t s n a m e ) .   I n   W i n d o w s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19809"
  },
  {
    "question": "What is Hosts namespaces?",
    "answer": "h o s t N e t w o r k   ( b o o l e a n ) H o s t   n e t w o r k i n g   r e q u e s t e d   f o r   t h i s   p o d .   U s e   t h e   h o s t ' s   n e t w o r k   n a m e s p a c e .   W h e n   u s i n g   H o s t N e t w o r k   y o u   s h o u l d   s p e c i f y   p o r t s   s o   t h e   s c h e d u l e r   i s   a w a r e .   W h e n   h o s t N e t w o r k   i s   t r u e ,   s p e c i f i e d   h o s t P o r t   f i e l d s   i n   p o r t   d e f i n i t i o n s   m u s t   m a t c h   c o n t a i n e r P o r t ,   a n d   u n s p e c i f i e d   h o s t P o r t   f i e l d s   i n   p o r t   d e f i n i t i o n s   a r e   d e f a u l t e d   t o   m a t c h   c o n t a i n e r P o r t .   D e f a u l t   t o   f a l s e . h o s t P I D   ( b o o l e a n ) U s e   t h e   h o s t ' s   p i d   n a m e s p a c e .   O p t i o n a l :   D e f a u l t   t o   f a l s e . h o s t I P C   ( b o o l e a n ) U s e   t h e   h o s t ' s   i p c   n a m e s p a c e .   O p t i o n a l :   D e f a u l t   t o   f a l s e . s h a r e P r o c e s s N a m e s p a c e   ( b o o l e a n ) S h a r e   a   s i n g l e   p r o c e s s   n a m e s p a c e   b e t w e e n   a l l   o f   t h e   c o n t a i n e r s   i n   a   p o d .   W h e n   t h i s   i s   s e t   c o n t a i n e r s   w i l l   b e   a b l e   t o   v i e w   a n d   s i g n a l   p r o c e s s e s   f r o m   o t h e r   c o n t a i n e r s   i n   t h e   s a m e   p o d ,   a n d   t h e   f i r s t   p r o c e s s   i n   e a c h   c o n t a i n e r   w i l l   n o t   b e   a s s i g n e d   P I D   1 .   H o s t P I D   a n d   S h a r e P r o c e s s N a m e s p a c e   c a n n o t   b o t h   b e   s e t .   O p t i o n a l :   D e f a u l t   t o   f a l s e .   h o s t N e t w o r k   ( b o o l e a n )   H o s t   n e t w o r k i n g   r e q u e s t e d   f o r   t h i s   p o d .   U s e   t h e   h o s t ' s   n e t w o r k   n a m e s p a c e .   W h e n   u s i n g   H o s t N e t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19810"
  },
  {
    "question": "What is Service account?",
    "answer": "s e r v i c e A c c o u n t N a m e   ( s t r i n g ) S e r v i c e A c c o u n t N a m e   i s   t h e   n a m e   o f   t h e   S e r v i c e A c c o u n t   t o   u s e   t o   r u n   t h i s   p o d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g u r e - s e r v i c e - a c c o u n t / a u t o m o u n t S e r v i c e A c c o u n t T o k e n   ( b o o l e a n ) A u t o m o u n t S e r v i c e A c c o u n t T o k e n   i n d i c a t e s   w h e t h e r   a   s e r v i c e   a c c o u n t   t o k e n   s h o u l d   b e   a u t o m a t i c a l l y   m o u n t e d .   s e r v i c e A c c o u n t N a m e   ( s t r i n g )   S e r v i c e A c c o u n t N a m e   i s   t h e   n a m e   o f   t h e   S e r v i c e A c c o u n t   t o   u s e   t o   r u n   t h i s   p o d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g u r e - s e r v i c e - a c c o u n t /   a u t o m o u n t S e r v i c e A c c o u n t T o k e n   ( b o o l e a n )   A u t o m o u n t S e r v i c e A c c o u n t T o k e n   i n d i c a t e s   w h e t h e r   a   s e r v i c e   a c c o u n t   t o k e n   s h o u l d   b e   a u t o m a t i c a l l y   m o u n t e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19811"
  },
  {
    "question": "What is Security context?",
    "answer": "s e c u r i t y C o n t e x t   ( P o d S e c u r i t y C o n t e x t ) S e c u r i t y C o n t e x t   h o l d s   p o d - l e v e l   s e c u r i t y   a t t r i b u t e s   a n d   c o m m o n   c o n t a i n e r   s e t t i n g s .   O p t i o n a l :   D e f a u l t s   t o   e m p t y .   S e e   t y p e   d e s c r i p t i o n   f o r   d e f a u l t   v a l u e s   o f   e a c h   f i e l d . P o d S e c u r i t y C o n t e x t   h o l d s   p o d - l e v e l   s e c u r i t y   a t t r i b u t e s   a n d   c o m m o n   c o n t a i n e r   s e t t i n g s .   S o m e   f i e l d s   a r e   a l s o   p r e s e n t   i n   c o n t a i n e r . s e c u r i t y C o n t e x t .   F i e l d   v a l u e s   o f   c o n t a i n e r . s e c u r i t y C o n t e x t   t a k e   p r e c e d e n c e   o v e r   f i e l d   v a l u e s   o f   P o d S e c u r i t y C o n t e x t . s e c u r i t y C o n t e x t . a p p A r m o r P r o f i l e   ( A p p A r m o r P r o f i l e ) a p p A r m o r P r o f i l e   i s   t h e   A p p A r m o r   o p t i o n s   t o   u s e   b y   t h e   c o n t a i n e r s   i n   t h i s   p o d .   N o t e   t h a t   t h i s   f i e l d   c a n n o t   b e   s e t   w h e n   s p e c . o s . n a m e   i s   w i n d o w s . A p p A r m o r P r o f i l e   d e f i n e s   a   p o d   o r   c o n t a i n e r ' s   A p p A r m o r   s e t t i n g s . s e c u r i t y C o n t e x t . a p p A r m o r P r o f i l e . t y p e   ( s t r i n g ) ,   r e q u i r e d t y p e   i n d i c a t e s   w h i c h   k i n d   o f   A p p A r m o r   p r o f i l e   w i l l   b e   a p p l i e d .   V a l i d   o p t i o n s   a r e :   L o c a l h o s t   -   a   p r o f i l e   p r e - l o a d e d   o n   t h e   n o d e .   R u n t i m e D e f a u l t   -   t h e   c o n t a i n e r   r u n t i m e ' s   d e f a u l t   p r o f i l e .   U n c o n f i n e d   -   n o   A p p A r m o r   e n f o r c e m e n t . s e c u r i t y C o n t e x t . a p p A r m o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19812"
  },
  {
    "question": "What is Alpha level?",
    "answer": "h o s t U s e r s   ( b o o l e a n ) U s e   t h e   h o s t ' s   u s e r   n a m e s p a c e .   O p t i o n a l :   D e f a u l t   t o   t r u e .   I f   s e t   t o   t r u e   o r   n o t   p r e s e n t ,   t h e   p o d   w i l l   b e   r u n   i n   t h e   h o s t   u s e r   n a m e s p a c e ,   u s e f u l   f o r   w h e n   t h e   p o d   n e e d s   a   f e a t u r e   o n l y   a v a i l a b l e   t o   t h e   h o s t   u s e r   n a m e s p a c e ,   s u c h   a s   l o a d i n g   a   k e r n e l   m o d u l e   w i t h   C A P _ S Y S _ M O D U L E .   W h e n   s e t   t o   f a l s e ,   a   n e w   u s e r n s   i s   c r e a t e d   f o r   t h e   p o d .   S e t t i n g   f a l s e   i s   u s e f u l   f o r   m i t i g a t i n g   c o n t a i n e r   b r e a k o u t   v u l n e r a b i l i t i e s   e v e n   a l l o w i n g   u s e r s   t o   r u n   t h e i r   c o n t a i n e r s   a s   r o o t   w i t h o u t   a c t u a l l y   h a v i n g   r o o t   p r i v i l e g e s   o n   t h e   h o s t .   T h i s   f i e l d   i s   a l p h a - l e v e l   a n d   i s   o n l y   h o n o r e d   b y   s e r v e r s   t h a t   e n a b l e   t h e   U s e r N a m e s p a c e s S u p p o r t   f e a t u r e . r e s o u r c e s   ( R e s o u r c e R e q u i r e m e n t s ) R e s o u r c e s   i s   t h e   t o t a l   a m o u n t   o f   C P U   a n d   M e m o r y   r e s o u r c e s   r e q u i r e d   b y   a l l   c o n t a i n e r s   i n   t h e   p o d .   I t   s u p p o r t s   s p e c i f y i n g   R e q u e s t s   a n d   L i m i t s   f o r   \" c p u \" ,   \" m e m o r y \"   a n d   \" h u g e p a g e s - \"   r e s o u r c e   n a m e s   o n l y .   R e s o u r c e C l a i m s   a r e   n o t   s u p p o r t e d . T h i s   f i e l d   e n a b l e s   f i n e - g r a i n e d   c o n t r o l   o v e r   r e s o u r c e   a l l o c a t i o n   f o r   t h e   e n t i r e   p o d ,   a l l o w i n g   r e s o u r c e   s h a r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19813"
  },
  {
    "question": "What is Deprecated?",
    "answer": "s e r v i c e A c c o u n t   ( s t r i n g ) D e p r e c a t e d S e r v i c e A c c o u n t   i s   a   d e p r e c a t e d   a l i a s   f o r   S e r v i c e A c c o u n t N a m e .   D e p r e c a t e d :   U s e   s e r v i c e A c c o u n t N a m e   i n s t e a d .   s e r v i c e A c c o u n t   ( s t r i n g )   D e p r e c a t e d S e r v i c e A c c o u n t   i s   a   d e p r e c a t e d   a l i a s   f o r   S e r v i c e A c c o u n t N a m e .   D e p r e c a t e d :   U s e   s e r v i c e A c c o u n t N a m e   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19814"
  },
  {
    "question": "What is Container?",
    "answer": "A   s i n g l e   a p p l i c a t i o n   c o n t a i n e r   t h a t   y o u   w a n t   t o   r u n   w i t h i n   a   p o d .   n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   o f   t h e   c o n t a i n e r   s p e c i f i e d   a s   a   D N S _ L A B E L .   E a c h   c o n t a i n e r   i n   a   p o d   m u s t   h a v e   a   u n i q u e   n a m e   ( D N S _ L A B E L ) .   C a n n o t   b e   u p d a t e d .   n a m e   ( s t r i n g ) ,   r e q u i r e d   N a m e   o f   t h e   c o n t a i n e r   s p e c i f i e d   a s   a   D N S _ L A B E L .   E a c h   c o n t a i n e r   i n   a   p o d   m u s t   h a v e   a   u n i q u e   n a m e   ( D N S _ L A B E L ) .   C a n n o t   b e   u p d a t e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_19815"
  },
  {
    "question": "What is Image?",
    "answer": "i m a g e   ( s t r i n g ) C o n t a i n e r   i m a g e   n a m e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / i m a g e s   T h i s   f i e l d   i s   o p t i o n a l   t o   a l l o w   h i g h e r   l e v e l   c o n f i g   m a n a g e m e n t   t o   d e f a u l t   o r   o v e r r i d e   c o n t a i n e r   i m a g e s   i n   w o r k l o a d   c o n t r o l l e r s   l i k e   D e p l o y m e n t s   a n d   S t a t e f u l S e t s . i m a g e P u l l P o l i c y   ( s t r i n g ) I m a g e   p u l l   p o l i c y .   O n e   o f   A l w a y s ,   N e v e r ,   I f N o t P r e s e n t .   D e f a u l t s   t o   A l w a y s   i f   : l a t e s t   t a g   i s   s p e c i f i e d ,   o r   I f N o t P r e s e n t   o t h e r w i s e .   C a n n o t   b e   u p d a t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / i m a g e s # u p d a t i n g - i m a g e s   i m a g e   ( s t r i n g )   C o n t a i n e r   i m a g e   n a m e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / i m a g e s   T h i s   f i e l d   i s   o p t i o n a l   t o   a l l o w   h i g h e r   l e v e l   c o n f i g   m a n a g e m e n t   t o   d e f a u l t   o r   o v e r r i d e   c o n t a i n e r   i m a g e s   i n   w o r k l o a d   c o n t r o l l e r s   l i k e   D e p l o y m e n t s   a n d   S t a t e f u l S e t s .   i m a g e P u l l P o l i c y   ( s t r i n g )   I m a g e   p u l l   p o l i c y .   O n e   o f   A l w a y s ,   N e v e r ,   I f N o t P r e s e n t .   D e f a u l t s   t o   A l w a y s   i f   : l a t e s t   t a g   i s   s p e c i f i e d ,   o r   I f N o t P r e s e n t   o t h e r w i s e .   C a n n o t   b e   u p d a t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19816"
  },
  {
    "question": "What is Entrypoint?",
    "answer": "c o m m a n d   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e E n t r y p o i n t   a r r a y .   N o t   e x e c u t e d   w i t h i n   a   s h e l l .   T h e   c o n t a i n e r   i m a g e ' s   E N T R Y P O I N T   i s   u s e d   i f   t h i s   i s   n o t   p r o v i d e d .   V a r i a b l e   r e f e r e n c e s   $ ( V A R _ N A M E )   a r e   e x p a n d e d   u s i n g   t h e   c o n t a i n e r ' s   e n v i r o n m e n t .   I f   a   v a r i a b l e   c a n n o t   b e   r e s o l v e d ,   t h e   r e f e r e n c e   i n   t h e   i n p u t   s t r i n g   w i l l   b e   u n c h a n g e d .   D o u b l e   $ $   a r e   r e d u c e d   t o   a   s i n g l e   $ ,   w h i c h   a l l o w s   f o r   e s c a p i n g   t h e   $ ( V A R _ N A M E )   s y n t a x :   i . e .   \" $ $ ( V A R _ N A M E ) \"   w i l l   p r o d u c e   t h e   s t r i n g   l i t e r a l   \" $ ( V A R _ N A M E ) \" .   E s c a p e d   r e f e r e n c e s   w i l l   n e v e r   b e   e x p a n d e d ,   r e g a r d l e s s   o f   w h e t h e r   t h e   v a r i a b l e   e x i s t s   o r   n o t .   C a n n o t   b e   u p d a t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / i n j e c t - d a t a - a p p l i c a t i o n / d e f i n e - c o m m a n d - a r g u m e n t - c o n t a i n e r / # r u n n i n g - a - c o m m a n d - i n - a - s h e l l a r g s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A r g u m e n t s   t o   t h e   e n t r y p o i n t .   T h e   c o n t a i n e r   i m a g e ' s   C M D   i s   u s e d   i f   t h i s   i s   n o t   p r o v i d e d .   V a r i a b l e   r e f e r e n c e s   $ ( V A R _ N A M E )   a r e   e x p a n d e d   u s i n g   t h e   c o n t a i n e r ' s   e n v i r o n m e n t .   I f   a   v a r i a b l e   c a n n o t   b e   r e s o l v e d ,   t h e   r e f e r e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19817"
  },
  {
    "question": "What is Ports?",
    "answer": "p o r t s   ( [ ] C o n t a i n e r P o r t ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   c o n t a i n e r P o r t M a p :   u n i q u e   v a l u e s   o n   k e y s   c o n t a i n e r P o r t ,   p r o t o c o l   w i l l   b e   k e p t   d u r i n g   a   m e r g e L i s t   o f   p o r t s   t o   e x p o s e   f r o m   t h e   c o n t a i n e r .   N o t   s p e c i f y i n g   a   p o r t   h e r e   D O E S   N O T   p r e v e n t   t h a t   p o r t   f r o m   b e i n g   e x p o s e d .   A n y   p o r t   w h i c h   i s   l i s t e n i n g   o n   t h e   d e f a u l t   \" 0 . 0 . 0 . 0 \"   a d d r e s s   i n s i d e   a   c o n t a i n e r   w i l l   b e   a c c e s s i b l e   f r o m   t h e   n e t w o r k .   M o d i f y i n g   t h i s   a r r a y   w i t h   s t r a t e g i c   m e r g e   p a t c h   m a y   c o r r u p t   t h e   d a t a .   F o r   m o r e   i n f o r m a t i o n   S e e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k u b e r n e t e s / i s s u e s / 1 0 8 2 5 5 .   C a n n o t   b e   u p d a t e d . C o n t a i n e r P o r t   r e p r e s e n t s   a   n e t w o r k   p o r t   i n   a   s i n g l e   c o n t a i n e r . p o r t s . c o n t a i n e r P o r t   ( i n t 3 2 ) ,   r e q u i r e d N u m b e r   o f   p o r t   t o   e x p o s e   o n   t h e   p o d ' s   I P   a d d r e s s .   T h i s   m u s t   b e   a   v a l i d   p o r t   n u m b e r ,   0   <   x   <   6 5 5 3 6 . p o r t s . h o s t I P   ( s t r i n g ) W h a t   h o s t   I P   t o   b i n d   t h e   e x t e r n a l   p o r t   t o . p o r t s . h o s t P o r t   ( i n t 3 2 ) N u m b e r   o f   p o r t   t o   e x p o s e   o n   t h e   h o s t .   I f   s p e c i f i e d ,   t h i s   m u s t   b e   a   v a l i d   p o r t   n u m b e r ,   0   <   x   <   6 5 5 3 6 .   I f   H o s t N e t w o r k   i s   s p e c i f i e d ,   t h i s   m u s t   m a t c h   C o n t a i n e r P o r t .   M o s t   c o n t a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19818"
  },
  {
    "question": "What is Environment variables?",
    "answer": "e n v   ( [ ] E n v V a r ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   n a m e M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e L i s t   o f   e n v i r o n m e n t   v a r i a b l e s   t o   s e t   i n   t h e   c o n t a i n e r .   C a n n o t   b e   u p d a t e d . E n v V a r   r e p r e s e n t s   a n   e n v i r o n m e n t   v a r i a b l e   p r e s e n t   i n   a   C o n t a i n e r . e n v . n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   o f   t h e   e n v i r o n m e n t   v a r i a b l e .   M a y   c o n s i s t   o f   a n y   p r i n t a b l e   A S C I I   c h a r a c t e r s   e x c e p t   ' = ' . e n v . v a l u e   ( s t r i n g ) V a r i a b l e   r e f e r e n c e s   $ ( V A R _ N A M E )   a r e   e x p a n d e d   u s i n g   t h e   p r e v i o u s l y   d e f i n e d   e n v i r o n m e n t   v a r i a b l e s   i n   t h e   c o n t a i n e r   a n d   a n y   s e r v i c e   e n v i r o n m e n t   v a r i a b l e s .   I f   a   v a r i a b l e   c a n n o t   b e   r e s o l v e d ,   t h e   r e f e r e n c e   i n   t h e   i n p u t   s t r i n g   w i l l   b e   u n c h a n g e d .   D o u b l e   $ $   a r e   r e d u c e d   t o   a   s i n g l e   $ ,   w h i c h   a l l o w s   f o r   e s c a p i n g   t h e   $ ( V A R _ N A M E )   s y n t a x :   i . e .   \" $ $ ( V A R _ N A M E ) \"   w i l l   p r o d u c e   t h e   s t r i n g   l i t e r a l   \" $ ( V A R _ N A M E ) \" .   E s c a p e d   r e f e r e n c e s   w i l l   n e v e r   b e   e x p a n d e d ,   r e g a r d l e s s   o f   w h e t h e r   t h e   v a r i a b l e   e x i s t s   o r   n o t .   D e f a u l t s   t o   \" \" . e n v . v a l u e F r o m   ( E n v V a r S o u r c e ) S o u r c e   f o r   t h e   e n v i r o n m e n t   v a r i a b l e ' s   v a l u e .   C a n n o t   b e   u s e d   i f   v a l u e   i s   n o t   e m p t y . E n v V a r S o u r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19819"
  },
  {
    "question": "What is Volumes?",
    "answer": "v o l u m e M o u n t s   ( [ ] V o l u m e M o u n t ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   m o u n t P a t h M a p :   u n i q u e   v a l u e s   o n   k e y   m o u n t P a t h   w i l l   b e   k e p t   d u r i n g   a   m e r g e P o d   v o l u m e s   t o   m o u n t   i n t o   t h e   c o n t a i n e r ' s   f i l e s y s t e m .   C a n n o t   b e   u p d a t e d . V o l u m e M o u n t   d e s c r i b e s   a   m o u n t i n g   o f   a   V o l u m e   w i t h i n   a   c o n t a i n e r . v o l u m e M o u n t s . m o u n t P a t h   ( s t r i n g ) ,   r e q u i r e d P a t h   w i t h i n   t h e   c o n t a i n e r   a t   w h i c h   t h e   v o l u m e   s h o u l d   b e   m o u n t e d .   M u s t   n o t   c o n t a i n   ' : ' . v o l u m e M o u n t s . n a m e   ( s t r i n g ) ,   r e q u i r e d T h i s   m u s t   m a t c h   t h e   N a m e   o f   a   V o l u m e . v o l u m e M o u n t s . m o u n t P r o p a g a t i o n   ( s t r i n g ) m o u n t P r o p a g a t i o n   d e t e r m i n e s   h o w   m o u n t s   a r e   p r o p a g a t e d   f r o m   t h e   h o s t   t o   c o n t a i n e r   a n d   t h e   o t h e r   w a y   a r o u n d .   W h e n   n o t   s e t ,   M o u n t P r o p a g a t i o n N o n e   i s   u s e d .   T h i s   f i e l d   i s   b e t a   i n   1 . 1 0 .   W h e n   R e c u r s i v e R e a d O n l y   i s   s e t   t o   I f P o s s i b l e   o r   t o   E n a b l e d ,   M o u n t P r o p a g a t i o n   m u s t   b e   N o n e   o r   u n s p e c i f i e d   ( w h i c h   d e f a u l t s   t o   N o n e ) . v o l u m e M o u n t s . r e a d O n l y   ( b o o l e a n ) M o u n t e d   r e a d - o n l y   i f   t r u e ,   r e a d - w r i t e   o t h e r w i s e   ( f a l s e   o r   u n s p e c i f i e d ) .   D e f a u l t s   t o   f a l s e . v o l u m e M o u n t s . r e c u r s i v e R e a d O n l y   ( s t r i n g ) R e c u r s i v e R e a d O n l y   s p e c i f i e s   w ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19820"
  },
  {
    "question": "What is Resources?",
    "answer": "r e s o u r c e s   ( R e s o u r c e R e q u i r e m e n t s ) C o m p u t e   R e s o u r c e s   r e q u i r e d   b y   t h i s   c o n t a i n e r .   C a n n o t   b e   u p d a t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n f i g u r a t i o n / m a n a g e - r e s o u r c e s - c o n t a i n e r s / R e s o u r c e R e q u i r e m e n t s   d e s c r i b e s   t h e   c o m p u t e   r e s o u r c e   r e q u i r e m e n t s . r e s o u r c e s . c l a i m s   ( [ ] R e s o u r c e C l a i m ) M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e C l a i m s   l i s t s   t h e   n a m e s   o f   r e s o u r c e s ,   d e f i n e d   i n   s p e c . r e s o u r c e C l a i m s ,   t h a t   a r e   u s e d   b y   t h i s   c o n t a i n e r . T h i s   f i e l d   d e p e n d s   o n   t h e   D y n a m i c R e s o u r c e A l l o c a t i o n   f e a t u r e   g a t e . T h i s   f i e l d   i s   i m m u t a b l e .   I t   c a n   o n l y   b e   s e t   f o r   c o n t a i n e r s . R e s o u r c e C l a i m   r e f e r e n c e s   o n e   e n t r y   i n   P o d S p e c . R e s o u r c e C l a i m s . r e s o u r c e s . c l a i m s . n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   m u s t   m a t c h   t h e   n a m e   o f   o n e   e n t r y   i n   p o d . s p e c . r e s o u r c e C l a i m s   o f   t h e   P o d   w h e r e   t h i s   f i e l d   i s   u s e d .   I t   m a k e s   t h a t   r e s o u r c e   a v a i l a b l e   i n s i d e   a   c o n t a i n e r . r e s o u r c e s . c l a i m s . r e q u e s t   ( s t r i n g ) R e q u e s t   i s   t h e   n a m e   c h o s e n   f o r   a   r e q u e s t   i n   t h e   r e f e r e n c e d   c l a i m .   I f   e m p t y ,   e v e r y t h i n g   f r o m   t h e   c l a i m   i s   m a d e   a v a i l a b l e ,   o t h e r w i s e   o n l y   t h e   r e s u ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19821"
  },
  {
    "question": "What is Lifecycle?",
    "answer": "l i f e c y c l e   ( L i f e c y c l e ) A c t i o n s   t h a t   t h e   m a n a g e m e n t   s y s t e m   s h o u l d   t a k e   i n   r e s p o n s e   t o   c o n t a i n e r   l i f e c y c l e   e v e n t s .   C a n n o t   b e   u p d a t e d . L i f e c y c l e   d e s c r i b e s   a c t i o n s   t h a t   t h e   m a n a g e m e n t   s y s t e m   s h o u l d   t a k e   i n   r e s p o n s e   t o   c o n t a i n e r   l i f e c y c l e   e v e n t s .   F o r   t h e   P o s t S t a r t   a n d   P r e S t o p   l i f e c y c l e   h a n d l e r s ,   m a n a g e m e n t   o f   t h e   c o n t a i n e r   b l o c k s   u n t i l   t h e   a c t i o n   i s   c o m p l e t e ,   u n l e s s   t h e   c o n t a i n e r   p r o c e s s   f a i l s ,   i n   w h i c h   c a s e   t h e   h a n d l e r   i s   a b o r t e d . l i f e c y c l e . p o s t S t a r t   ( L i f e c y c l e H a n d l e r ) P o s t S t a r t   i s   c a l l e d   i m m e d i a t e l y   a f t e r   a   c o n t a i n e r   i s   c r e a t e d .   I f   t h e   h a n d l e r   f a i l s ,   t h e   c o n t a i n e r   i s   t e r m i n a t e d   a n d   r e s t a r t e d   a c c o r d i n g   t o   i t s   r e s t a r t   p o l i c y .   O t h e r   m a n a g e m e n t   o f   t h e   c o n t a i n e r   b l o c k s   u n t i l   t h e   h o o k   c o m p l e t e s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / c o n t a i n e r - l i f e c y c l e - h o o k s / # c o n t a i n e r - h o o k s l i f e c y c l e . p r e S t o p   ( L i f e c y c l e H a n d l e r ) P r e S t o p   i s   c a l l e d   i m m e d i a t e l y   b e f o r e   a   c o n t a i n e r   i s   t e r m i n a t e d   d u e   t o   a n   A P I   r e q u e s t   o r   m a n a g e m e n t   e v e n t   s u c h   a s   l i v e n e s s / s t a r t u p   p r o b e   f a i l u r e ,   p r e e m p t i o n ,   r e s o u r c e   c o n t e n t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19822"
  },
  {
    "question": "What is Security Context?",
    "answer": "s e c u r i t y C o n t e x t   ( S e c u r i t y C o n t e x t ) S e c u r i t y C o n t e x t   d e f i n e s   t h e   s e c u r i t y   o p t i o n s   t h e   c o n t a i n e r   s h o u l d   b e   r u n   w i t h .   I f   s e t ,   t h e   f i e l d s   o f   S e c u r i t y C o n t e x t   o v e r r i d e   t h e   e q u i v a l e n t   f i e l d s   o f   P o d S e c u r i t y C o n t e x t .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / c o n f i g u r e - p o d - c o n t a i n e r / s e c u r i t y - c o n t e x t / S e c u r i t y C o n t e x t   h o l d s   s e c u r i t y   c o n f i g u r a t i o n   t h a t   w i l l   b e   a p p l i e d   t o   a   c o n t a i n e r .   S o m e   f i e l d s   a r e   p r e s e n t   i n   b o t h   S e c u r i t y C o n t e x t   a n d   P o d S e c u r i t y C o n t e x t .   W h e n   b o t h   a r e   s e t ,   t h e   v a l u e s   i n   S e c u r i t y C o n t e x t   t a k e   p r e c e d e n c e . s e c u r i t y C o n t e x t . a l l o w P r i v i l e g e E s c a l a t i o n   ( b o o l e a n ) A l l o w P r i v i l e g e E s c a l a t i o n   c o n t r o l s   w h e t h e r   a   p r o c e s s   c a n   g a i n   m o r e   p r i v i l e g e s   t h a n   i t s   p a r e n t   p r o c e s s .   T h i s   b o o l   d i r e c t l y   c o n t r o l s   i f   t h e   n o _ n e w _ p r i v s   f l a g   w i l l   b e   s e t   o n   t h e   c o n t a i n e r   p r o c e s s .   A l l o w P r i v i l e g e E s c a l a t i o n   i s   t r u e   a l w a y s   w h e n   t h e   c o n t a i n e r   i s :   1 )   r u n   a s   P r i v i l e g e d   2 )   h a s   C A P _ S Y S _ A D M I N   N o t e   t h a t   t h i s   f i e l d   c a n n o t   b e   s e t   w h e n   s p e c . o s . n a m e   i s   w i n d o w s . s e c u r i t y C o n t e x t . a p p A r m o r P r o f i l e   ( A p p A r m o r P r o f i l e ) a p p A r m o r P r o f i l e   i s   t h e   A p p A r m o r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19823"
  },
  {
    "question": "What is Debugging?",
    "answer": "s t d i n   ( b o o l e a n ) W h e t h e r   t h i s   c o n t a i n e r   s h o u l d   a l l o c a t e   a   b u f f e r   f o r   s t d i n   i n   t h e   c o n t a i n e r   r u n t i m e .   I f   t h i s   i s   n o t   s e t ,   r e a d s   f r o m   s t d i n   i n   t h e   c o n t a i n e r   w i l l   a l w a y s   r e s u l t   i n   E O F .   D e f a u l t   i s   f a l s e . s t d i n O n c e   ( b o o l e a n ) W h e t h e r   t h e   c o n t a i n e r   r u n t i m e   s h o u l d   c l o s e   t h e   s t d i n   c h a n n e l   a f t e r   i t   h a s   b e e n   o p e n e d   b y   a   s i n g l e   a t t a c h .   W h e n   s t d i n   i s   t r u e   t h e   s t d i n   s t r e a m   w i l l   r e m a i n   o p e n   a c r o s s   m u l t i p l e   a t t a c h   s e s s i o n s .   I f   s t d i n O n c e   i s   s e t   t o   t r u e ,   s t d i n   i s   o p e n e d   o n   c o n t a i n e r   s t a r t ,   i s   e m p t y   u n t i l   t h e   f i r s t   c l i e n t   a t t a c h e s   t o   s t d i n ,   a n d   t h e n   r e m a i n s   o p e n   a n d   a c c e p t s   d a t a   u n t i l   t h e   c l i e n t   d i s c o n n e c t s ,   a t   w h i c h   t i m e   s t d i n   i s   c l o s e d   a n d   r e m a i n s   c l o s e d   u n t i l   t h e   c o n t a i n e r   i s   r e s t a r t e d .   I f   t h i s   f l a g   i s   f a l s e ,   a   c o n t a i n e r   p r o c e s s e s   t h a t   r e a d s   f r o m   s t d i n   w i l l   n e v e r   r e c e i v e   a n   E O F .   D e f a u l t   i s   f a l s e t t y   ( b o o l e a n ) W h e t h e r   t h i s   c o n t a i n e r   s h o u l d   a l l o c a t e   a   T T Y   f o r   i t s e l f ,   a l s o   r e q u i r e s   ' s t d i n '   t o   b e   t r u e .   D e f a u l t   i s   f a l s e .   s t d i n   ( b o o l e a n )   W h e t h e r   t h i s   c o n t a i n e r   s h o u l d   a l l o c a t e   a   b u f f e r   f o r   s t d i n   i n   t h e   c o n t a i n e r   r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19824"
  },
  {
    "question": "What is EphemeralContainer?",
    "answer": "A n   E p h e m e r a l C o n t a i n e r   i s   a   t e m p o r a r y   c o n t a i n e r   t h a t   y o u   m a y   a d d   t o   a n   e x i s t i n g   P o d   f o r   u s e r - i n i t i a t e d   a c t i v i t i e s   s u c h   a s   d e b u g g i n g .   E p h e m e r a l   c o n t a i n e r s   h a v e   n o   r e s o u r c e   o r   s c h e d u l i n g   g u a r a n t e e s ,   a n d   t h e y   w i l l   n o t   b e   r e s t a r t e d   w h e n   t h e y   e x i t   o r   w h e n   a   P o d   i s   r e m o v e d   o r   r e s t a r t e d .   T h e   k u b e l e t   m a y   e v i c t   a   P o d   i f   a n   e p h e m e r a l   c o n t a i n e r   c a u s e s   t h e   P o d   t o   e x c e e d   i t s   r e s o u r c e   a l l o c a t i o n .   T o   a d d   a n   e p h e m e r a l   c o n t a i n e r ,   u s e   t h e   e p h e m e r a l c o n t a i n e r s   s u b r e s o u r c e   o f   a n   e x i s t i n g   P o d .   E p h e m e r a l   c o n t a i n e r s   m a y   n o t   b e   r e m o v e d   o r   r e s t a r t e d .   n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   o f   t h e   e p h e m e r a l   c o n t a i n e r   s p e c i f i e d   a s   a   D N S _ L A B E L .   T h i s   n a m e   m u s t   b e   u n i q u e   a m o n g   a l l   c o n t a i n e r s ,   i n i t   c o n t a i n e r s   a n d   e p h e m e r a l   c o n t a i n e r s . t a r g e t C o n t a i n e r N a m e   ( s t r i n g ) I f   s e t ,   t h e   n a m e   o f   t h e   c o n t a i n e r   f r o m   P o d S p e c   t h a t   t h i s   e p h e m e r a l   c o n t a i n e r   t a r g e t s .   T h e   e p h e m e r a l   c o n t a i n e r   w i l l   b e   r u n   i n   t h e   n a m e s p a c e s   ( I P C ,   P I D ,   e t c )   o f   t h i s   c o n t a i n e r .   I f   n o t   s e t   t h e n   t h e   e p h e m e r a l   c o n t a i n e r   u s e s   t h e   n a m e s p a c e s   c o n f i g u r e d   i n   t h e   P o d   s p e c . T h e   c o n t a i n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_19825"
  },
  {
    "question": "What is Image?",
    "answer": "i m a g e   ( s t r i n g ) C o n t a i n e r   i m a g e   n a m e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / i m a g e s i m a g e P u l l P o l i c y   ( s t r i n g ) I m a g e   p u l l   p o l i c y .   O n e   o f   A l w a y s ,   N e v e r ,   I f N o t P r e s e n t .   D e f a u l t s   t o   A l w a y s   i f   : l a t e s t   t a g   i s   s p e c i f i e d ,   o r   I f N o t P r e s e n t   o t h e r w i s e .   C a n n o t   b e   u p d a t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / i m a g e s # u p d a t i n g - i m a g e s   i m a g e   ( s t r i n g )   C o n t a i n e r   i m a g e   n a m e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / i m a g e s   i m a g e P u l l P o l i c y   ( s t r i n g )   I m a g e   p u l l   p o l i c y .   O n e   o f   A l w a y s ,   N e v e r ,   I f N o t P r e s e n t .   D e f a u l t s   t o   A l w a y s   i f   : l a t e s t   t a g   i s   s p e c i f i e d ,   o r   I f N o t P r e s e n t   o t h e r w i s e .   C a n n o t   b e   u p d a t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / i m a g e s # u p d a t i n g - i m a g e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19826"
  },
  {
    "question": "What is Entrypoint?",
    "answer": "c o m m a n d   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e E n t r y p o i n t   a r r a y .   N o t   e x e c u t e d   w i t h i n   a   s h e l l .   T h e   i m a g e ' s   E N T R Y P O I N T   i s   u s e d   i f   t h i s   i s   n o t   p r o v i d e d .   V a r i a b l e   r e f e r e n c e s   $ ( V A R _ N A M E )   a r e   e x p a n d e d   u s i n g   t h e   c o n t a i n e r ' s   e n v i r o n m e n t .   I f   a   v a r i a b l e   c a n n o t   b e   r e s o l v e d ,   t h e   r e f e r e n c e   i n   t h e   i n p u t   s t r i n g   w i l l   b e   u n c h a n g e d .   D o u b l e   $ $   a r e   r e d u c e d   t o   a   s i n g l e   $ ,   w h i c h   a l l o w s   f o r   e s c a p i n g   t h e   $ ( V A R _ N A M E )   s y n t a x :   i . e .   \" $ $ ( V A R _ N A M E ) \"   w i l l   p r o d u c e   t h e   s t r i n g   l i t e r a l   \" $ ( V A R _ N A M E ) \" .   E s c a p e d   r e f e r e n c e s   w i l l   n e v e r   b e   e x p a n d e d ,   r e g a r d l e s s   o f   w h e t h e r   t h e   v a r i a b l e   e x i s t s   o r   n o t .   C a n n o t   b e   u p d a t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / i n j e c t - d a t a - a p p l i c a t i o n / d e f i n e - c o m m a n d - a r g u m e n t - c o n t a i n e r / # r u n n i n g - a - c o m m a n d - i n - a - s h e l l a r g s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A r g u m e n t s   t o   t h e   e n t r y p o i n t .   T h e   i m a g e ' s   C M D   i s   u s e d   i f   t h i s   i s   n o t   p r o v i d e d .   V a r i a b l e   r e f e r e n c e s   $ ( V A R _ N A M E )   a r e   e x p a n d e d   u s i n g   t h e   c o n t a i n e r ' s   e n v i r o n m e n t .   I f   a   v a r i a b l e   c a n n o t   b e   r e s o l v e d ,   t h e   r e f e r e n c e   i n   t h e   i n p u t   s t r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19827"
  },
  {
    "question": "What is Environment variables?",
    "answer": "e n v   ( [ ] E n v V a r ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   n a m e M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e L i s t   o f   e n v i r o n m e n t   v a r i a b l e s   t o   s e t   i n   t h e   c o n t a i n e r .   C a n n o t   b e   u p d a t e d . E n v V a r   r e p r e s e n t s   a n   e n v i r o n m e n t   v a r i a b l e   p r e s e n t   i n   a   C o n t a i n e r . e n v . n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   o f   t h e   e n v i r o n m e n t   v a r i a b l e .   M a y   c o n s i s t   o f   a n y   p r i n t a b l e   A S C I I   c h a r a c t e r s   e x c e p t   ' = ' . e n v . v a l u e   ( s t r i n g ) V a r i a b l e   r e f e r e n c e s   $ ( V A R _ N A M E )   a r e   e x p a n d e d   u s i n g   t h e   p r e v i o u s l y   d e f i n e d   e n v i r o n m e n t   v a r i a b l e s   i n   t h e   c o n t a i n e r   a n d   a n y   s e r v i c e   e n v i r o n m e n t   v a r i a b l e s .   I f   a   v a r i a b l e   c a n n o t   b e   r e s o l v e d ,   t h e   r e f e r e n c e   i n   t h e   i n p u t   s t r i n g   w i l l   b e   u n c h a n g e d .   D o u b l e   $ $   a r e   r e d u c e d   t o   a   s i n g l e   $ ,   w h i c h   a l l o w s   f o r   e s c a p i n g   t h e   $ ( V A R _ N A M E )   s y n t a x :   i . e .   \" $ $ ( V A R _ N A M E ) \"   w i l l   p r o d u c e   t h e   s t r i n g   l i t e r a l   \" $ ( V A R _ N A M E ) \" .   E s c a p e d   r e f e r e n c e s   w i l l   n e v e r   b e   e x p a n d e d ,   r e g a r d l e s s   o f   w h e t h e r   t h e   v a r i a b l e   e x i s t s   o r   n o t .   D e f a u l t s   t o   \" \" . e n v . v a l u e F r o m   ( E n v V a r S o u r c e ) S o u r c e   f o r   t h e   e n v i r o n m e n t   v a r i a b l e ' s   v a l u e .   C a n n o t   b e   u s e d   i f   v a l u e   i s   n o t   e m p t y . E n v V a r S o u r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19828"
  },
  {
    "question": "What is Volumes?",
    "answer": "v o l u m e M o u n t s   ( [ ] V o l u m e M o u n t ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   m o u n t P a t h M a p :   u n i q u e   v a l u e s   o n   k e y   m o u n t P a t h   w i l l   b e   k e p t   d u r i n g   a   m e r g e P o d   v o l u m e s   t o   m o u n t   i n t o   t h e   c o n t a i n e r ' s   f i l e s y s t e m .   S u b p a t h   m o u n t s   a r e   n o t   a l l o w e d   f o r   e p h e m e r a l   c o n t a i n e r s .   C a n n o t   b e   u p d a t e d . V o l u m e M o u n t   d e s c r i b e s   a   m o u n t i n g   o f   a   V o l u m e   w i t h i n   a   c o n t a i n e r . v o l u m e M o u n t s . m o u n t P a t h   ( s t r i n g ) ,   r e q u i r e d P a t h   w i t h i n   t h e   c o n t a i n e r   a t   w h i c h   t h e   v o l u m e   s h o u l d   b e   m o u n t e d .   M u s t   n o t   c o n t a i n   ' : ' . v o l u m e M o u n t s . n a m e   ( s t r i n g ) ,   r e q u i r e d T h i s   m u s t   m a t c h   t h e   N a m e   o f   a   V o l u m e . v o l u m e M o u n t s . m o u n t P r o p a g a t i o n   ( s t r i n g ) m o u n t P r o p a g a t i o n   d e t e r m i n e s   h o w   m o u n t s   a r e   p r o p a g a t e d   f r o m   t h e   h o s t   t o   c o n t a i n e r   a n d   t h e   o t h e r   w a y   a r o u n d .   W h e n   n o t   s e t ,   M o u n t P r o p a g a t i o n N o n e   i s   u s e d .   T h i s   f i e l d   i s   b e t a   i n   1 . 1 0 .   W h e n   R e c u r s i v e R e a d O n l y   i s   s e t   t o   I f P o s s i b l e   o r   t o   E n a b l e d ,   M o u n t P r o p a g a t i o n   m u s t   b e   N o n e   o r   u n s p e c i f i e d   ( w h i c h   d e f a u l t s   t o   N o n e ) . v o l u m e M o u n t s . r e a d O n l y   ( b o o l e a n ) M o u n t e d   r e a d - o n l y   i f   t r u e ,   r e a d - w r i t e   o t h e r w i s e   ( f a l s e   o r   u n s p e c i f i e d ) .   D e f a u l t s   t o   f a l s e . v o l u m e M o u n t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19829"
  },
  {
    "question": "What is Resources?",
    "answer": "r e s i z e P o l i c y   ( [ ] C o n t a i n e r R e s i z e P o l i c y ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e R e s o u r c e s   r e s i z e   p o l i c y   f o r   t h e   c o n t a i n e r . C o n t a i n e r R e s i z e P o l i c y   r e p r e s e n t s   r e s o u r c e   r e s i z e   p o l i c y   f o r   t h e   c o n t a i n e r . r e s i z e P o l i c y . r e s o u r c e N a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   o f   t h e   r e s o u r c e   t o   w h i c h   t h i s   r e s o u r c e   r e s i z e   p o l i c y   a p p l i e s .   S u p p o r t e d   v a l u e s :   c p u ,   m e m o r y . r e s i z e P o l i c y . r e s t a r t P o l i c y   ( s t r i n g ) ,   r e q u i r e d R e s t a r t   p o l i c y   t o   a p p l y   w h e n   s p e c i f i e d   r e s o u r c e   i s   r e s i z e d .   I f   n o t   s p e c i f i e d ,   i t   d e f a u l t s   t o   N o t R e q u i r e d .   r e s i z e P o l i c y   ( [ ] C o n t a i n e r R e s i z e P o l i c y )   A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e   R e s o u r c e s   r e s i z e   p o l i c y   f o r   t h e   c o n t a i n e r .   C o n t a i n e r R e s i z e P o l i c y   r e p r e s e n t s   r e s o u r c e   r e s i z e   p o l i c y   f o r   t h e   c o n t a i n e r .   r e s i z e P o l i c y . r e s o u r c e N a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   o f   t h e   r e s o u r c e   t o   w h i c h   t h i s   r e s o u r c e   r e s i z e   p o l i c y   a p p l i e s .   S u p p o r t e d   v a l u e s :   c p u ,   m e m o r y . r e s i z e P o l i c y . r e s t a r t P o l i c y   ( s t r i n g ) ,   r e q u i r e d R e s t a r t   p o l i c y   t o   a p p l y   w h e n   s p e c i f i e d   r e s o u r c e   i s   r e s i z e d .   I f   n o t   s p e c i f i e d ,   i t   d e f a u l t s   t o   N o t R e q u i r e d .   r e s i z e P o l i c y . r e s o u r c e N a m e   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19830"
  },
  {
    "question": "What is Lifecycle?",
    "answer": "t e r m i n a t i o n M e s s a g e P a t h   ( s t r i n g ) O p t i o n a l :   P a t h   a t   w h i c h   t h e   f i l e   t o   w h i c h   t h e   c o n t a i n e r ' s   t e r m i n a t i o n   m e s s a g e   w i l l   b e   w r i t t e n   i s   m o u n t e d   i n t o   t h e   c o n t a i n e r ' s   f i l e s y s t e m .   M e s s a g e   w r i t t e n   i s   i n t e n d e d   t o   b e   b r i e f   f i n a l   s t a t u s ,   s u c h   a s   a n   a s s e r t i o n   f a i l u r e   m e s s a g e .   W i l l   b e   t r u n c a t e d   b y   t h e   n o d e   i f   g r e a t e r   t h a n   4 0 9 6   b y t e s .   T h e   t o t a l   m e s s a g e   l e n g t h   a c r o s s   a l l   c o n t a i n e r s   w i l l   b e   l i m i t e d   t o   1 2 k b .   D e f a u l t s   t o   / d e v / t e r m i n a t i o n - l o g .   C a n n o t   b e   u p d a t e d . t e r m i n a t i o n M e s s a g e P o l i c y   ( s t r i n g ) I n d i c a t e   h o w   t h e   t e r m i n a t i o n   m e s s a g e   s h o u l d   b e   p o p u l a t e d .   F i l e   w i l l   u s e   t h e   c o n t e n t s   o f   t e r m i n a t i o n M e s s a g e P a t h   t o   p o p u l a t e   t h e   c o n t a i n e r   s t a t u s   m e s s a g e   o n   b o t h   s u c c e s s   a n d   f a i l u r e .   F a l l b a c k T o L o g s O n E r r o r   w i l l   u s e   t h e   l a s t   c h u n k   o f   c o n t a i n e r   l o g   o u t p u t   i f   t h e   t e r m i n a t i o n   m e s s a g e   f i l e   i s   e m p t y   a n d   t h e   c o n t a i n e r   e x i t e d   w i t h   a n   e r r o r .   T h e   l o g   o u t p u t   i s   l i m i t e d   t o   2 0 4 8   b y t e s   o r   8 0   l i n e s ,   w h i c h e v e r   i s   s m a l l e r .   D e f a u l t s   t o   F i l e .   C a n n o t   b e   u p d a t e d . r e s t a r t P o l i c y   ( s t r i n g ) R e s t a r t   p o l i c y   f o r   t h e   c o n t a i n e r   t o   m a n a g e   t h e   r e s t a r t   b e h a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19831"
  },
  {
    "question": "What is Debugging?",
    "answer": "s t d i n   ( b o o l e a n ) W h e t h e r   t h i s   c o n t a i n e r   s h o u l d   a l l o c a t e   a   b u f f e r   f o r   s t d i n   i n   t h e   c o n t a i n e r   r u n t i m e .   I f   t h i s   i s   n o t   s e t ,   r e a d s   f r o m   s t d i n   i n   t h e   c o n t a i n e r   w i l l   a l w a y s   r e s u l t   i n   E O F .   D e f a u l t   i s   f a l s e . s t d i n O n c e   ( b o o l e a n ) W h e t h e r   t h e   c o n t a i n e r   r u n t i m e   s h o u l d   c l o s e   t h e   s t d i n   c h a n n e l   a f t e r   i t   h a s   b e e n   o p e n e d   b y   a   s i n g l e   a t t a c h .   W h e n   s t d i n   i s   t r u e   t h e   s t d i n   s t r e a m   w i l l   r e m a i n   o p e n   a c r o s s   m u l t i p l e   a t t a c h   s e s s i o n s .   I f   s t d i n O n c e   i s   s e t   t o   t r u e ,   s t d i n   i s   o p e n e d   o n   c o n t a i n e r   s t a r t ,   i s   e m p t y   u n t i l   t h e   f i r s t   c l i e n t   a t t a c h e s   t o   s t d i n ,   a n d   t h e n   r e m a i n s   o p e n   a n d   a c c e p t s   d a t a   u n t i l   t h e   c l i e n t   d i s c o n n e c t s ,   a t   w h i c h   t i m e   s t d i n   i s   c l o s e d   a n d   r e m a i n s   c l o s e d   u n t i l   t h e   c o n t a i n e r   i s   r e s t a r t e d .   I f   t h i s   f l a g   i s   f a l s e ,   a   c o n t a i n e r   p r o c e s s e s   t h a t   r e a d s   f r o m   s t d i n   w i l l   n e v e r   r e c e i v e   a n   E O F .   D e f a u l t   i s   f a l s e t t y   ( b o o l e a n ) W h e t h e r   t h i s   c o n t a i n e r   s h o u l d   a l l o c a t e   a   T T Y   f o r   i t s e l f ,   a l s o   r e q u i r e s   ' s t d i n '   t o   b e   t r u e .   D e f a u l t   i s   f a l s e .   s t d i n   ( b o o l e a n )   W h e t h e r   t h i s   c o n t a i n e r   s h o u l d   a l l o c a t e   a   b u f f e r   f o r   s t d i n   i n   t h e   c o n t a i n e r   r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19832"
  },
  {
    "question": "What is Security context?",
    "answer": "s e c u r i t y C o n t e x t   ( S e c u r i t y C o n t e x t ) O p t i o n a l :   S e c u r i t y C o n t e x t   d e f i n e s   t h e   s e c u r i t y   o p t i o n s   t h e   e p h e m e r a l   c o n t a i n e r   s h o u l d   b e   r u n   w i t h .   I f   s e t ,   t h e   f i e l d s   o f   S e c u r i t y C o n t e x t   o v e r r i d e   t h e   e q u i v a l e n t   f i e l d s   o f   P o d S e c u r i t y C o n t e x t . S e c u r i t y C o n t e x t   h o l d s   s e c u r i t y   c o n f i g u r a t i o n   t h a t   w i l l   b e   a p p l i e d   t o   a   c o n t a i n e r .   S o m e   f i e l d s   a r e   p r e s e n t   i n   b o t h   S e c u r i t y C o n t e x t   a n d   P o d S e c u r i t y C o n t e x t .   W h e n   b o t h   a r e   s e t ,   t h e   v a l u e s   i n   S e c u r i t y C o n t e x t   t a k e   p r e c e d e n c e . s e c u r i t y C o n t e x t . a l l o w P r i v i l e g e E s c a l a t i o n   ( b o o l e a n ) A l l o w P r i v i l e g e E s c a l a t i o n   c o n t r o l s   w h e t h e r   a   p r o c e s s   c a n   g a i n   m o r e   p r i v i l e g e s   t h a n   i t s   p a r e n t   p r o c e s s .   T h i s   b o o l   d i r e c t l y   c o n t r o l s   i f   t h e   n o _ n e w _ p r i v s   f l a g   w i l l   b e   s e t   o n   t h e   c o n t a i n e r   p r o c e s s .   A l l o w P r i v i l e g e E s c a l a t i o n   i s   t r u e   a l w a y s   w h e n   t h e   c o n t a i n e r   i s :   1 )   r u n   a s   P r i v i l e g e d   2 )   h a s   C A P _ S Y S _ A D M I N   N o t e   t h a t   t h i s   f i e l d   c a n n o t   b e   s e t   w h e n   s p e c . o s . n a m e   i s   w i n d o w s . s e c u r i t y C o n t e x t . a p p A r m o r P r o f i l e   ( A p p A r m o r P r o f i l e ) a p p A r m o r P r o f i l e   i s   t h e   A p p A r m o r   o p t i o n s   t o   u s e   b y   t h i s   c o n t a i n e r .   I f   s e t ,   t h i s   p r o f i l e   o v e r r i d e s   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19833"
  },
  {
    "question": "What is Not allowed?",
    "answer": "p o r t s   ( [ ] C o n t a i n e r P o r t ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   c o n t a i n e r P o r t M a p :   u n i q u e   v a l u e s   o n   k e y s   c o n t a i n e r P o r t ,   p r o t o c o l   w i l l   b e   k e p t   d u r i n g   a   m e r g e P o r t s   a r e   n o t   a l l o w e d   f o r   e p h e m e r a l   c o n t a i n e r s . C o n t a i n e r P o r t   r e p r e s e n t s   a   n e t w o r k   p o r t   i n   a   s i n g l e   c o n t a i n e r . p o r t s . c o n t a i n e r P o r t   ( i n t 3 2 ) ,   r e q u i r e d N u m b e r   o f   p o r t   t o   e x p o s e   o n   t h e   p o d ' s   I P   a d d r e s s .   T h i s   m u s t   b e   a   v a l i d   p o r t   n u m b e r ,   0   <   x   <   6 5 5 3 6 . p o r t s . h o s t I P   ( s t r i n g ) W h a t   h o s t   I P   t o   b i n d   t h e   e x t e r n a l   p o r t   t o . p o r t s . h o s t P o r t   ( i n t 3 2 ) N u m b e r   o f   p o r t   t o   e x p o s e   o n   t h e   h o s t .   I f   s p e c i f i e d ,   t h i s   m u s t   b e   a   v a l i d   p o r t   n u m b e r ,   0   <   x   <   6 5 5 3 6 .   I f   H o s t N e t w o r k   i s   s p e c i f i e d ,   t h i s   m u s t   m a t c h   C o n t a i n e r P o r t .   M o s t   c o n t a i n e r s   d o   n o t   n e e d   t h i s . p o r t s . n a m e   ( s t r i n g ) I f   s p e c i f i e d ,   t h i s   m u s t   b e   a n   I A N A _ S V C _ N A M E   a n d   u n i q u e   w i t h i n   t h e   p o d .   E a c h   n a m e d   p o r t   i n   a   p o d   m u s t   h a v e   a   u n i q u e   n a m e .   N a m e   f o r   t h e   p o r t   t h a t   c a n   b e   r e f e r r e d   t o   b y   s e r v i c e s . p o r t s . p r o t o c o l   ( s t r i n g ) P r o t o c o l   f o r   p o r t .   M u s t   b e   U D P ,   T C P ,   o r   S C T P .   D e f a u l t s   t o   \" T C P \" . r e s o u r c e s   ( R e s o u r c e R e q u i r e m e n t s ) R e s o u r c e s   a r e   n o t   a l l ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_19834"
  },
  {
    "question": "What is LifecycleHandler?",
    "answer": "L i f e c y c l e H a n d l e r   d e f i n e s   a   s p e c i f i c   a c t i o n   t h a t   s h o u l d   b e   t a k e n   i n   a   l i f e c y c l e   h o o k .   O n e   a n d   o n l y   o n e   o f   t h e   f i e l d s ,   e x c e p t   T C P S o c k e t   m u s t   b e   s p e c i f i e d .   e x e c   ( E x e c A c t i o n ) E x e c   s p e c i f i e s   a   c o m m a n d   t o   e x e c u t e   i n   t h e   c o n t a i n e r . E x e c A c t i o n   d e s c r i b e s   a   \" r u n   i n   c o n t a i n e r \"   a c t i o n . e x e c . c o m m a n d   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e C o m m a n d   i s   t h e   c o m m a n d   l i n e   t o   e x e c u t e   i n s i d e   t h e   c o n t a i n e r ,   t h e   w o r k i n g   d i r e c t o r y   f o r   t h e   c o m m a n d   i s   r o o t   ( ' / ' )   i n   t h e   c o n t a i n e r ' s   f i l e s y s t e m .   T h e   c o m m a n d   i s   s i m p l y   e x e c ' d ,   i t   i s   n o t   r u n   i n s i d e   a   s h e l l ,   s o   t r a d i t i o n a l   s h e l l   i n s t r u c t i o n s   ( ' | ' ,   e t c )   w o n ' t   w o r k .   T o   u s e   a   s h e l l ,   y o u   n e e d   t o   e x p l i c i t l y   c a l l   o u t   t o   t h a t   s h e l l .   E x i t   s t a t u s   o f   0   i s   t r e a t e d   a s   l i v e / h e a l t h y   a n d   n o n - z e r o   i s   u n h e a l t h y . h t t p G e t   ( H T T P G e t A c t i o n ) H T T P G e t   s p e c i f i e s   a n   H T T P   G E T   r e q u e s t   t o   p e r f o r m . H T T P G e t A c t i o n   d e s c r i b e s   a n   a c t i o n   b a s e d   o n   H T T P   G e t   r e q u e s t s . h t t p G e t . p o r t   ( I n t O r S t r i n g ) ,   r e q u i r e d N a m e   o r   n u m b e r   o f   t h e   p o r t   t o   a c c e s s   o n   t h e   c o n t a i n e r .   N u m b e r   m u s t   b e   i n   t h e   r a n g e   1   t o   6 5 5 3 5 .   N a m e   m u s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_19835"
  },
  {
    "question": "What is NodeAffinity?",
    "answer": "N o d e   a f f i n i t y   i s   a   g r o u p   o f   n o d e   a f f i n i t y   s c h e d u l i n g   r u l e s .   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   ( [ ] P r e f e r r e d S c h e d u l i n g T e r m ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e T h e   s c h e d u l e r   w i l l   p r e f e r   t o   s c h e d u l e   p o d s   t o   n o d e s   t h a t   s a t i s f y   t h e   a f f i n i t y   e x p r e s s i o n s   s p e c i f i e d   b y   t h i s   f i e l d ,   b u t   i t   m a y   c h o o s e   a   n o d e   t h a t   v i o l a t e s   o n e   o r   m o r e   o f   t h e   e x p r e s s i o n s .   T h e   n o d e   t h a t   i s   m o s t   p r e f e r r e d   i s   t h e   o n e   w i t h   t h e   g r e a t e s t   s u m   o f   w e i g h t s ,   i . e .   f o r   e a c h   n o d e   t h a t   m e e t s   a l l   o f   t h e   s c h e d u l i n g   r e q u i r e m e n t s   ( r e s o u r c e   r e q u e s t ,   r e q u i r e d D u r i n g S c h e d u l i n g   a f f i n i t y   e x p r e s s i o n s ,   e t c . ) ,   c o m p u t e   a   s u m   b y   i t e r a t i n g   t h r o u g h   t h e   e l e m e n t s   o f   t h i s   f i e l d   a n d   a d d i n g   \" w e i g h t \"   t o   t h e   s u m   i f   t h e   n o d e   m a t c h e s   t h e   c o r r e s p o n d i n g   m a t c h E x p r e s s i o n s ;   t h e   n o d e ( s )   w i t h   t h e   h i g h e s t   s u m   a r e   t h e   m o s t   p r e f e r r e d . A n   e m p t y   p r e f e r r e d   s c h e d u l i n g   t e r m   m a t c h e s   a l l   o b j e c t s   w i t h   i m p l i c i t   w e i g h t   0   ( i . e .   i t ' s   a   n o - o p ) .   A   n u l l   p r e f e r r e d   s c h e d u l i n g   t e r m   m a t c h e s   n o   o b j e c t s   ( i . e .   i s   a l s o   a   n o - o p ) . p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_19836"
  },
  {
    "question": "What is PodAffinity?",
    "answer": "P o d   a f f i n i t y   i s   a   g r o u p   o f   i n t e r   p o d   a f f i n i t y   s c h e d u l i n g   r u l e s .   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   ( [ ] W e i g h t e d P o d A f f i n i t y T e r m ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e T h e   s c h e d u l e r   w i l l   p r e f e r   t o   s c h e d u l e   p o d s   t o   n o d e s   t h a t   s a t i s f y   t h e   a f f i n i t y   e x p r e s s i o n s   s p e c i f i e d   b y   t h i s   f i e l d ,   b u t   i t   m a y   c h o o s e   a   n o d e   t h a t   v i o l a t e s   o n e   o r   m o r e   o f   t h e   e x p r e s s i o n s .   T h e   n o d e   t h a t   i s   m o s t   p r e f e r r e d   i s   t h e   o n e   w i t h   t h e   g r e a t e s t   s u m   o f   w e i g h t s ,   i . e .   f o r   e a c h   n o d e   t h a t   m e e t s   a l l   o f   t h e   s c h e d u l i n g   r e q u i r e m e n t s   ( r e s o u r c e   r e q u e s t ,   r e q u i r e d D u r i n g S c h e d u l i n g   a f f i n i t y   e x p r e s s i o n s ,   e t c . ) ,   c o m p u t e   a   s u m   b y   i t e r a t i n g   t h r o u g h   t h e   e l e m e n t s   o f   t h i s   f i e l d   a n d   a d d i n g   \" w e i g h t \"   t o   t h e   s u m   i f   t h e   n o d e   h a s   p o d s   w h i c h   m a t c h e s   t h e   c o r r e s p o n d i n g   p o d A f f i n i t y T e r m ;   t h e   n o d e ( s )   w i t h   t h e   h i g h e s t   s u m   a r e   t h e   m o s t   p r e f e r r e d . T h e   w e i g h t s   o f   a l l   o f   t h e   m a t c h e d   W e i g h t e d P o d A f f i n i t y T e r m   f i e l d s   a r e   a d d e d   p e r - n o d e   t o   f i n d   t h e   m o s t   p r e f e r r e d   n o d e ( s ) p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n . p o d A f f i n i t y T e r m   ( P o d A f f i n i t y T e r m ) ,   r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_19837"
  },
  {
    "question": "What is PodAntiAffinity?",
    "answer": "P o d   a n t i   a f f i n i t y   i s   a   g r o u p   o f   i n t e r   p o d   a n t i   a f f i n i t y   s c h e d u l i n g   r u l e s .   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   ( [ ] W e i g h t e d P o d A f f i n i t y T e r m ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e T h e   s c h e d u l e r   w i l l   p r e f e r   t o   s c h e d u l e   p o d s   t o   n o d e s   t h a t   s a t i s f y   t h e   a n t i - a f f i n i t y   e x p r e s s i o n s   s p e c i f i e d   b y   t h i s   f i e l d ,   b u t   i t   m a y   c h o o s e   a   n o d e   t h a t   v i o l a t e s   o n e   o r   m o r e   o f   t h e   e x p r e s s i o n s .   T h e   n o d e   t h a t   i s   m o s t   p r e f e r r e d   i s   t h e   o n e   w i t h   t h e   g r e a t e s t   s u m   o f   w e i g h t s ,   i . e .   f o r   e a c h   n o d e   t h a t   m e e t s   a l l   o f   t h e   s c h e d u l i n g   r e q u i r e m e n t s   ( r e s o u r c e   r e q u e s t ,   r e q u i r e d D u r i n g S c h e d u l i n g   a n t i - a f f i n i t y   e x p r e s s i o n s ,   e t c . ) ,   c o m p u t e   a   s u m   b y   i t e r a t i n g   t h r o u g h   t h e   e l e m e n t s   o f   t h i s   f i e l d   a n d   s u b t r a c t i n g   \" w e i g h t \"   f r o m   t h e   s u m   i f   t h e   n o d e   h a s   p o d s   w h i c h   m a t c h e s   t h e   c o r r e s p o n d i n g   p o d A f f i n i t y T e r m ;   t h e   n o d e ( s )   w i t h   t h e   h i g h e s t   s u m   a r e   t h e   m o s t   p r e f e r r e d . T h e   w e i g h t s   o f   a l l   o f   t h e   m a t c h e d   W e i g h t e d P o d A f f i n i t y T e r m   f i e l d s   a r e   a d d e d   p e r - n o d e   t o   f i n d   t h e   m o s t   p r e f e r r e d   n o d e ( s ) p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n . p o d A f f i n i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_19838"
  },
  {
    "question": "What is Probe?",
    "answer": "P r o b e   d e s c r i b e s   a   h e a l t h   c h e c k   t o   b e   p e r f o r m e d   a g a i n s t   a   c o n t a i n e r   t o   d e t e r m i n e   w h e t h e r   i t   i s   a l i v e   o r   r e a d y   t o   r e c e i v e   t r a f f i c .   e x e c   ( E x e c A c t i o n ) E x e c   s p e c i f i e s   a   c o m m a n d   t o   e x e c u t e   i n   t h e   c o n t a i n e r . E x e c A c t i o n   d e s c r i b e s   a   \" r u n   i n   c o n t a i n e r \"   a c t i o n . e x e c . c o m m a n d   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e C o m m a n d   i s   t h e   c o m m a n d   l i n e   t o   e x e c u t e   i n s i d e   t h e   c o n t a i n e r ,   t h e   w o r k i n g   d i r e c t o r y   f o r   t h e   c o m m a n d   i s   r o o t   ( ' / ' )   i n   t h e   c o n t a i n e r ' s   f i l e s y s t e m .   T h e   c o m m a n d   i s   s i m p l y   e x e c ' d ,   i t   i s   n o t   r u n   i n s i d e   a   s h e l l ,   s o   t r a d i t i o n a l   s h e l l   i n s t r u c t i o n s   ( ' | ' ,   e t c )   w o n ' t   w o r k .   T o   u s e   a   s h e l l ,   y o u   n e e d   t o   e x p l i c i t l y   c a l l   o u t   t o   t h a t   s h e l l .   E x i t   s t a t u s   o f   0   i s   t r e a t e d   a s   l i v e / h e a l t h y   a n d   n o n - z e r o   i s   u n h e a l t h y . h t t p G e t   ( H T T P G e t A c t i o n ) H T T P G e t   s p e c i f i e s   a n   H T T P   G E T   r e q u e s t   t o   p e r f o r m . H T T P G e t A c t i o n   d e s c r i b e s   a n   a c t i o n   b a s e d   o n   H T T P   G e t   r e q u e s t s . h t t p G e t . p o r t   ( I n t O r S t r i n g ) ,   r e q u i r e d N a m e   o r   n u m b e r   o f   t h e   p o r t   t o   a c c e s s   o n   t h e   c o n t a i n e r .   N u m b e r   m u s t   b e   i n   t h e   r a n g e   1   t o   6 5 5 3 5 .   N a m e   m u s t   b e   a n   I A N A _ S V C _ N A M E . I n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_19839"
  },
  {
    "question": "What is PodStatus?",
    "answer": "P o d S t a t u s   r e p r e s e n t s   i n f o r m a t i o n   a b o u t   t h e   s t a t u s   o f   a   p o d .   S t a t u s   m a y   t r a i l   t h e   a c t u a l   s t a t e   o f   a   s y s t e m ,   e s p e c i a l l y   i f   t h e   n o d e   t h a t   h o s t s   t h e   p o d   c a n n o t   c o n t a c t   t h e   c o n t r o l   p l a n e .   n o m i n a t e d N o d e N a m e   ( s t r i n g ) n o m i n a t e d N o d e N a m e   i s   s e t   o n l y   w h e n   t h i s   p o d   p r e e m p t s   o t h e r   p o d s   o n   t h e   n o d e ,   b u t   i t   c a n n o t   b e   s c h e d u l e d   r i g h t   a w a y   a s   p r e e m p t i o n   v i c t i m s   r e c e i v e   t h e i r   g r a c e f u l   t e r m i n a t i o n   p e r i o d s .   T h i s   f i e l d   d o e s   n o t   g u a r a n t e e   t h a t   t h e   p o d   w i l l   b e   s c h e d u l e d   o n   t h i s   n o d e .   S c h e d u l e r   m a y   d e c i d e   t o   p l a c e   t h e   p o d   e l s e w h e r e   i f   o t h e r   n o d e s   b e c o m e   a v a i l a b l e   s o o n e r .   S c h e d u l e r   m a y   a l s o   d e c i d e   t o   g i v e   t h e   r e s o u r c e s   o n   t h i s   n o d e   t o   a   h i g h e r   p r i o r i t y   p o d   t h a t   i s   c r e a t e d   a f t e r   p r e e m p t i o n .   A s   a   r e s u l t ,   t h i s   f i e l d   m a y   b e   d i f f e r e n t   t h a n   P o d S p e c . n o d e N a m e   w h e n   t h e   p o d   i s   s c h e d u l e d . h o s t I P   ( s t r i n g ) h o s t I P   h o l d s   t h e   I P   a d d r e s s   o f   t h e   h o s t   t o   w h i c h   t h e   p o d   i s   a s s i g n e d .   E m p t y   i f   t h e   p o d   h a s   n o t   s t a r t e d   y e t .   A   p o d   c a n   b e   a s s i g n e d   t o   a   n o d e   t h a t   h a s   a   p r o b l e m   i n   k u b e l e t   w h i c h   i n   t u r n s   m e a n   t h a t   H o s t I P   w i l l   n o t   b e   u p d a t e d   e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_19840"
  },
  {
    "question": "What is PodList?",
    "answer": "P o d L i s t   i s   a   l i s t   o f   P o d s .   i t e m s   ( [ ] P o d ) ,   r e q u i r e d L i s t   o f   p o d s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] P o d ) ,   r e q u i r e d   L i s t   o f   p o d s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_19841"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19842"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19843"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19844"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / e p h e m e r a l c o n t a i n e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19845"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19846"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19847"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / l o g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19848"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e c o n t a i n e r   ( i n   q u e r y ) :   s t r i n g T h e   c o n t a i n e r   f o r   w h i c h   t o   s t r e a m   l o g s .   D e f a u l t s   t o   o n l y   c o n t a i n e r   i f   t h e r e   i s   o n e   c o n t a i n e r   i n   t h e   p o d . f o l l o w   ( i n   q u e r y ) :   b o o l e a n F o l l o w   t h e   l o g   s t r e a m   o f   t h e   p o d .   D e f a u l t s   t o   f a l s e . i n s e c u r e S k i p T L S V e r i f y B a c k e n d   ( i n   q u e r y ) :   b o o l e a n i n s e c u r e S k i p T L S V e r i f y B a c k e n d   i n d i c a t e s   t h a t   t h e   a p i s e r v e r   s h o u l d   n o t   c o n f i r m   t h e   v a l i d i t y   o f   t h e   s e r v i n g   c e r t i f i c a t e   o f   t h e   b a c k e n d   i t   i s   c o n n e c t i n g   t o .   T h i s   w i l l   m a k e   t h e   H T T P S   c o n n e c t i o n   b e t w e e n   t h e   a p i s e r v e r   a n d   t h e   b a c k e n d   i n s e c u r e .   T h i s   m e a n s   t h e   a p i s e r v e r   c a n n o t   v e r i f y   t h e   l o g   d a t a   i t   i s   r e c e i v i n g   c a m e   f r o m   t h e   r e a l   k u b e l e t .   I f   t h e   k u b e l e t   i s   c o n f i g u r e d   t o   v e r i f y   t h e   a p i s e r v e r ' s   T L S   c r e d e n t i a l s ,   i t   d o e s   n o t   m e a n   t h e   c o n n e c t i o n   t o   t h e   r e a l   k u b e l e t   i s   v u l n e r a b l e   t o   a   m a n   i n   t h e   m i d d l e   a t t a c k   ( e . g .   a n   a t t a c k e r   c o u l d   n o t   i n t e r c e p t   t h e   a c t u a l   l o g   d a t a   c o m i n g   f r o m   t h e   r e a l   k u b e l e t ) . l i m i t B y t e s   ( i n   q u e r y ) :   i n t e g e r I f   s e t ,   t h e   n u m b e r   o f   b y t e s   t o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19849"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( s t r i n g ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19850"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / r e s i z e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19851"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19852"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19853"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19854"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19855"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19856"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19857"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19858"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19859"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / p o d s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19860"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19861"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19862"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19863"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19864"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   2 0 2   ( P o d ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19865"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19866"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19867"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19868"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / e p h e m e r a l c o n t a i n e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19869"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19870"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19871"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / r e s i z e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19872"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19873"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19874"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19875"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19876"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19877"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19878"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19879"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19880"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / e p h e m e r a l c o n t a i n e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19881"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19882"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19883"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / r e s i z e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19884"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19885"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19886"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19887"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19888"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19889"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19890"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19891"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 2   ( P o d ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19892"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19893"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19894"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19895"
  },
  {
    "question": "What is 1.2 - Binding?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_19896"
  },
  {
    "question": "What is Binding?",
    "answer": "B i n d i n g   t i e s   o n e   o b j e c t   t o   a n o t h e r ;   f o r   e x a m p l e ,   a   p o d   i s   b o u n d   t o   a   n o d e   b y   a   s c h e d u l e r .   a p i V e r s i o n :   v 1 k i n d :   B i n d i n g m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a t a r g e t   ( O b j e c t R e f e r e n c e ) ,   r e q u i r e d T h e   t a r g e t   o b j e c t   t h a t   y o u   w a n t   t o   b i n d   t o   t h e   s t a n d a r d   o b j e c t .   a p i V e r s i o n :   v 1   k i n d :   B i n d i n g   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   t a r g e t   ( O b j e c t R e f e r e n c e ) ,   r e q u i r e d   T h e   t a r g e t   o b j e c t   t h a t   y o u   w a n t   t o   b i n d   t o   t h e   s t a n d a r d   o b j e c t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_19897"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19898"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19899"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( B i n d i n g ) :   O K   2 0 1   ( B i n d i n g ) :   C r e a t e d   2 0 2   ( B i n d i n g ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19900"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / b i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19901"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   B i n d i n g n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   B i n d i n g   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19902"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( B i n d i n g ) :   O K   2 0 1   ( B i n d i n g ) :   C r e a t e d   2 0 2   ( B i n d i n g ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19903"
  },
  {
    "question": "What is 1.3 - PodTemplate?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_19904"
  },
  {
    "question": "What is PodTemplate?",
    "answer": "P o d T e m p l a t e   d e s c r i b e s   a   t e m p l a t e   f o r   c r e a t i n g   c o p i e s   o f   a   p r e d e f i n e d   p o d .   a p i V e r s i o n :   v 1 k i n d :   P o d T e m p l a t e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a t e m p l a t e   ( P o d T e m p l a t e S p e c ) T e m p l a t e   d e f i n e s   t h e   p o d s   t h a t   w i l l   b e   c r e a t e d   f r o m   t h i s   p o d   t e m p l a t e .   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   v 1   k i n d :   P o d T e m p l a t e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   t e m p l a t e   ( P o d T e m p l a t e S p e c )   T e m p l a t e   d e f i n e s   t h e   p o d s   t h a t   w i l l   b e   c r e a t e d   f r o m   t h i s   p o d   t e m p l a t e .   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_19905"
  },
  {
    "question": "What is PodTemplateSpec?",
    "answer": "P o d T e m p l a t e S p e c   d e s c r i b e s   t h e   d a t a   a   p o d   s h o u l d   h a v e   w h e n   c r e a t e d   f r o m   a   t e m p l a t e   m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( P o d S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   p o d .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( P o d S p e c )   S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   p o d .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_19906"
  },
  {
    "question": "What is PodTemplateList?",
    "answer": "P o d T e m p l a t e L i s t   i s   a   l i s t   o f   P o d T e m p l a t e s .   a p i V e r s i o n :   v 1 k i n d :   P o d T e m p l a t e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] P o d T e m p l a t e ) ,   r e q u i r e d L i s t   o f   p o d   t e m p l a t e s   a p i V e r s i o n :   v 1   k i n d :   P o d T e m p l a t e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] P o d T e m p l a t e ) ,   r e q u i r e d   L i s t   o f   p o d   t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_19907"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19908"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d T e m p l a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d T e m p l a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19909"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d T e m p l a t e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19910"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19911"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19912"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d T e m p l a t e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19913"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / p o d t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19914"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19915"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d T e m p l a t e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19916"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19917"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d T e m p l a t e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d T e m p l a t e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19918"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d T e m p l a t e ) :   O K   2 0 1   ( P o d T e m p l a t e ) :   C r e a t e d   2 0 2   ( P o d T e m p l a t e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19919"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19920"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d T e m p l a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d T e m p l a t e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d T e m p l a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d T e m p l a t e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19921"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d T e m p l a t e ) :   O K   2 0 1   ( P o d T e m p l a t e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19922"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19923"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d T e m p l a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d T e m p l a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19924"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d T e m p l a t e ) :   O K   2 0 1   ( P o d T e m p l a t e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19925"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19926"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d T e m p l a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d T e m p l a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19927"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d T e m p l a t e ) :   O K   2 0 2   ( P o d T e m p l a t e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19928"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19929"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19930"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19931"
  },
  {
    "question": "What is 1.4 - ReplicationController?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_19932"
  },
  {
    "question": "What is ReplicationController?",
    "answer": "R e p l i c a t i o n C o n t r o l l e r   r e p r e s e n t s   t h e   c o n f i g u r a t i o n   o f   a   r e p l i c a t i o n   c o n t r o l l e r .   a p i V e r s i o n :   v 1 k i n d :   R e p l i c a t i o n C o n t r o l l e r m e t a d a t a   ( O b j e c t M e t a ) I f   t h e   L a b e l s   o f   a   R e p l i c a t i o n C o n t r o l l e r   a r e   e m p t y ,   t h e y   a r e   d e f a u l t e d   t o   b e   t h e   s a m e   a s   t h e   P o d ( s )   t h a t   t h e   r e p l i c a t i o n   c o n t r o l l e r   m a n a g e s .   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( R e p l i c a t i o n C o n t r o l l e r S p e c ) S p e c   d e f i n e s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   r e p l i c a t i o n   c o n t r o l l e r .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( R e p l i c a t i o n C o n t r o l l e r S t a t u s ) S t a t u s   i s   t h e   m o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   r e p l i c a t i o n   c o n t r o l l e r .   T h i s   d a t a   m a y   b e   o u t   o f   d a t e   b y   s o m e   w i n d o w   o f   t i m e .   P o p u l a t e d   b y   t h e   s y s t e m .   R e a d - o n l y .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   v 1   k i n d :   R e p l i c a t i o n C o n t r o l l e r   m e t a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_19933"
  },
  {
    "question": "What is ReplicationControllerSpec?",
    "answer": "R e p l i c a t i o n C o n t r o l l e r S p e c   i s   t h e   s p e c i f i c a t i o n   o f   a   r e p l i c a t i o n   c o n t r o l l e r .   s e l e c t o r   ( m a p [ s t r i n g ] s t r i n g ) S e l e c t o r   i s   a   l a b e l   q u e r y   o v e r   p o d s   t h a t   s h o u l d   m a t c h   t h e   R e p l i c a s   c o u n t .   I f   S e l e c t o r   i s   e m p t y ,   i t   i s   d e f a u l t e d   t o   t h e   l a b e l s   p r e s e n t   o n   t h e   P o d   t e m p l a t e .   L a b e l   k e y s   a n d   v a l u e s   t h a t   m u s t   m a t c h   i n   o r d e r   t o   b e   c o n t r o l l e d   b y   t h i s   r e p l i c a t i o n   c o n t r o l l e r ,   i f   e m p t y   d e f a u l t e d   t o   l a b e l s   o n   P o d   t e m p l a t e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / l a b e l s / # l a b e l - s e l e c t o r s t e m p l a t e   ( P o d T e m p l a t e S p e c ) T e m p l a t e   i s   t h e   o b j e c t   t h a t   d e s c r i b e s   t h e   p o d   t h a t   w i l l   b e   c r e a t e d   i f   i n s u f f i c i e n t   r e p l i c a s   a r e   d e t e c t e d .   T h i s   t a k e s   p r e c e d e n c e   o v e r   a   T e m p l a t e R e f .   T h e   o n l y   a l l o w e d   t e m p l a t e . s p e c . r e s t a r t P o l i c y   v a l u e   i s   \" A l w a y s \" .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a t i o n c o n t r o l l e r # p o d - t e m p l a t e r e p l i c a s   ( i n t 3 2 ) R e p l i c a s   i s   t h e   n u m b e r   o f   d e s i r e d   r e p l i c a s .   T h i s   i s   a   p o i n t e r   t o   d i s t i n g u i s h   b e t w e e n   e x p l i c i t   z e r o   a n d   u n s p e c i f i e d .   D e f a u l t s   t o   1 .   M o r e   i n f o :   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_19934"
  },
  {
    "question": "What is ReplicationControllerStatus?",
    "answer": "R e p l i c a t i o n C o n t r o l l e r S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t u s   o f   a   r e p l i c a t i o n   c o n t r o l l e r .   r e p l i c a s   ( i n t 3 2 ) ,   r e q u i r e d R e p l i c a s   i s   t h e   m o s t   r e c e n t l y   o b s e r v e d   n u m b e r   o f   r e p l i c a s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a t i o n c o n t r o l l e r # w h a t - i s - a - r e p l i c a t i o n c o n t r o l l e r a v a i l a b l e R e p l i c a s   ( i n t 3 2 ) T h e   n u m b e r   o f   a v a i l a b l e   r e p l i c a s   ( r e a d y   f o r   a t   l e a s t   m i n R e a d y S e c o n d s )   f o r   t h i s   r e p l i c a t i o n   c o n t r o l l e r . r e a d y R e p l i c a s   ( i n t 3 2 ) T h e   n u m b e r   o f   r e a d y   r e p l i c a s   f o r   t h i s   r e p l i c a t i o n   c o n t r o l l e r . f u l l y L a b e l e d R e p l i c a s   ( i n t 3 2 ) T h e   n u m b e r   o f   p o d s   t h a t   h a v e   l a b e l s   m a t c h i n g   t h e   l a b e l s   o f   t h e   p o d   t e m p l a t e   o f   t h e   r e p l i c a t i o n   c o n t r o l l e r . c o n d i t i o n s   ( [ ] R e p l i c a t i o n C o n t r o l l e r C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e R e p r e s e n t s   t h e   l a t e s t   a v a i l a b l e   o b s e r v a t i o n s   o f   a   r e p l i c a t i o n   c o n t r o l l e r ' s   c u r r e n t   s t a t e . R e p l i c a t i o n C o n t r o l l e r C o n d i t i o n   d e s c r i b e s   t h e   s t a t e   o f   a   r e p l i c a t i o n   c o n t r o l l e r   a t   a   c e r t a i n   p o i n t . c o n d i t i o n s . s t a t u s   ( s t r i n g ) ,   r e q u i r e d S t a t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_19935"
  },
  {
    "question": "What is ReplicationControllerList?",
    "answer": "R e p l i c a t i o n C o n t r o l l e r L i s t   i s   a   c o l l e c t i o n   o f   r e p l i c a t i o n   c o n t r o l l e r s .   a p i V e r s i o n :   v 1 k i n d :   R e p l i c a t i o n C o n t r o l l e r L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] R e p l i c a t i o n C o n t r o l l e r ) ,   r e q u i r e d L i s t   o f   r e p l i c a t i o n   c o n t r o l l e r s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a t i o n c o n t r o l l e r   a p i V e r s i o n :   v 1   k i n d :   R e p l i c a t i o n C o n t r o l l e r L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] R e p l i c a t i o n C o n t r o l l e r ) ,   r e q u i r e d   L i s t   o f   r e p l i c a t i o n   c o n t r o l l e r s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a t i o n c o n t r o l l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_19936"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19937"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19938"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19939"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19940"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19941"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19942"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19943"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19944"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19945"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / r e p l i c a t i o n c o n t r o l l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19946"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19947"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19948"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19949"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e p l i c a t i o n C o n t r o l l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e p l i c a t i o n C o n t r o l l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19950"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r ) :   O K   2 0 1   ( R e p l i c a t i o n C o n t r o l l e r ) :   C r e a t e d   2 0 2   ( R e p l i c a t i o n C o n t r o l l e r ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19951"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19952"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e p l i c a t i o n C o n t r o l l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e p l i c a t i o n C o n t r o l l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19953"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r ) :   O K   2 0 1   ( R e p l i c a t i o n C o n t r o l l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19954"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19955"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e p l i c a t i o n C o n t r o l l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e p l i c a t i o n C o n t r o l l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19956"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r ) :   O K   2 0 1   ( R e p l i c a t i o n C o n t r o l l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19957"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19958"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19959"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r ) :   O K   2 0 1   ( R e p l i c a t i o n C o n t r o l l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19960"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19961"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19962"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r ) :   O K   2 0 1   ( R e p l i c a t i o n C o n t r o l l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19963"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19964"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19965"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19966"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19967"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19968"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19969"
  },
  {
    "question": "What is 1.5 - ReplicaSet?",
    "answer": "a p i V e r s i o n :   a p p s / v 1   i m p o r t   \" k 8 s . i o / a p i / a p p s / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_19970"
  },
  {
    "question": "What is ReplicaSet?",
    "answer": "R e p l i c a S e t   e n s u r e s   t h a t   a   s p e c i f i e d   n u m b e r   o f   p o d   r e p l i c a s   a r e   r u n n i n g   a t   a n y   g i v e n   t i m e .   a p i V e r s i o n :   a p p s / v 1 k i n d :   R e p l i c a S e t m e t a d a t a   ( O b j e c t M e t a ) I f   t h e   L a b e l s   o f   a   R e p l i c a S e t   a r e   e m p t y ,   t h e y   a r e   d e f a u l t e d   t o   b e   t h e   s a m e   a s   t h e   P o d ( s )   t h a t   t h e   R e p l i c a S e t   m a n a g e s .   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( R e p l i c a S e t S p e c ) S p e c   d e f i n e s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   R e p l i c a S e t .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( R e p l i c a S e t S t a t u s ) S t a t u s   i s   t h e   m o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   R e p l i c a S e t .   T h i s   d a t a   m a y   b e   o u t   o f   d a t e   b y   s o m e   w i n d o w   o f   t i m e .   P o p u l a t e d   b y   t h e   s y s t e m .   R e a d - o n l y .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   a p p s / v 1   k i n d :   R e p l i c a S e t   m e t a d a t a   ( O b j e c t M e t a )   I f   t h e   L a b e l s   o f   a   R e p l i c a S e t   a r e   e m p t y ,   t h e y   a r e   d e f ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_19971"
  },
  {
    "question": "What is ReplicaSetSpec?",
    "answer": "R e p l i c a S e t S p e c   i s   t h e   s p e c i f i c a t i o n   o f   a   R e p l i c a S e t .   s e l e c t o r   ( L a b e l S e l e c t o r ) ,   r e q u i r e d S e l e c t o r   i s   a   l a b e l   q u e r y   o v e r   p o d s   t h a t   s h o u l d   m a t c h   t h e   r e p l i c a   c o u n t .   L a b e l   k e y s   a n d   v a l u e s   t h a t   m u s t   m a t c h   i n   o r d e r   t o   b e   c o n t r o l l e d   b y   t h i s   r e p l i c a   s e t .   I t   m u s t   m a t c h   t h e   p o d   t e m p l a t e ' s   l a b e l s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / l a b e l s / # l a b e l - s e l e c t o r s t e m p l a t e   ( P o d T e m p l a t e S p e c ) T e m p l a t e   i s   t h e   o b j e c t   t h a t   d e s c r i b e s   t h e   p o d   t h a t   w i l l   b e   c r e a t e d   i f   i n s u f f i c i e n t   r e p l i c a s   a r e   d e t e c t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a s e t / # p o d - t e m p l a t e r e p l i c a s   ( i n t 3 2 ) R e p l i c a s   i s   t h e   n u m b e r   o f   d e s i r e d   p o d s .   T h i s   i s   a   p o i n t e r   t o   d i s t i n g u i s h   b e t w e e n   e x p l i c i t   z e r o   a n d   u n s p e c i f i e d .   D e f a u l t s   t o   1 .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a s e t m i n R e a d y S e c o n d s   ( i n t 3 2 ) M i n i m u m   n u m b e r   o f   s e c o n d s   f o r   w h i c h   a   n e w l y   c r e a t e d   p o d   s h o u l d   b e   r e a d y   w i t h o u t   a n y   o f   i t s   c o n t a i n e r   c r a s h i n g ,   f o r   i t   t o   b e   c o n s i d e r e d   a v a i l a b l e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_19972"
  },
  {
    "question": "What is ReplicaSetStatus?",
    "answer": "R e p l i c a S e t S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t u s   o f   a   R e p l i c a S e t .   r e p l i c a s   ( i n t 3 2 ) ,   r e q u i r e d R e p l i c a s   i s   t h e   m o s t   r e c e n t l y   o b s e r v e d   n u m b e r   o f   n o n - t e r m i n a t i n g   p o d s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a s e t a v a i l a b l e R e p l i c a s   ( i n t 3 2 ) T h e   n u m b e r   o f   a v a i l a b l e   n o n - t e r m i n a t i n g   p o d s   ( r e a d y   f o r   a t   l e a s t   m i n R e a d y S e c o n d s )   f o r   t h i s   r e p l i c a   s e t . r e a d y R e p l i c a s   ( i n t 3 2 ) T h e   n u m b e r   o f   n o n - t e r m i n a t i n g   p o d s   t a r g e t e d   b y   t h i s   R e p l i c a S e t   w i t h   a   R e a d y   C o n d i t i o n . t e r m i n a t i n g R e p l i c a s   ( i n t 3 2 ) T h e   n u m b e r   o f   t e r m i n a t i n g   p o d s   f o r   t h i s   r e p l i c a   s e t .   T e r m i n a t i n g   p o d s   h a v e   a   n o n - n u l l   . m e t a d a t a . d e l e t i o n T i m e s t a m p   a n d   h a v e   n o t   y e t   r e a c h e d   t h e   F a i l e d   o r   S u c c e e d e d   . s t a t u s . p h a s e . T h i s   i s   a n   a l p h a   f i e l d .   E n a b l e   D e p l o y m e n t R e p l i c a S e t T e r m i n a t i n g R e p l i c a s   t o   b e   a b l e   t o   u s e   t h i s   f i e l d . f u l l y L a b e l e d R e p l i c a s   ( i n t 3 2 ) T h e   n u m b e r   o f   n o n - t e r m i n a t i n g   p o d s   t h a t   h a v e   l a b e l s   m a t c h i n g   t h e   l a b e l s   o f   t h e   p o d   t e m p l a t e   o f   t h e   r e p l i c a s e t . c o n d i t i o n s   ( [ ] R e p l i c a S e t C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_19973"
  },
  {
    "question": "What is ReplicaSetList?",
    "answer": "R e p l i c a S e t L i s t   i s   a   c o l l e c t i o n   o f   R e p l i c a S e t s .   a p i V e r s i o n :   a p p s / v 1 k i n d :   R e p l i c a S e t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] R e p l i c a S e t ) ,   r e q u i r e d L i s t   o f   R e p l i c a S e t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a s e t   a p i V e r s i o n :   a p p s / v 1   k i n d :   R e p l i c a S e t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] R e p l i c a S e t ) ,   r e q u i r e d   L i s t   o f   R e p l i c a S e t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a s e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_19974"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19975"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19976"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19977"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19978"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19979"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19980"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19981"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19982"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19983"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / r e p l i c a s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19984"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19985"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19986"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19987"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e p l i c a S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e p l i c a S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19988"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t ) :   O K   2 0 1   ( R e p l i c a S e t ) :   C r e a t e d   2 0 2   ( R e p l i c a S e t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19989"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19990"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e p l i c a S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e p l i c a S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19991"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t ) :   O K   2 0 1   ( R e p l i c a S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19992"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19993"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e p l i c a S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e p l i c a S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19994"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t ) :   O K   2 0 1   ( R e p l i c a S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19995"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19996"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19997"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t ) :   O K   2 0 1   ( R e p l i c a S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19998"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_19999"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20000"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t ) :   O K   2 0 1   ( R e p l i c a S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20001"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20002"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20003"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20004"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20005"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20006"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20007"
  },
  {
    "question": "What is 1.6 - Deployment?",
    "answer": "a p i V e r s i o n :   a p p s / v 1   i m p o r t   \" k 8 s . i o / a p i / a p p s / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20008"
  },
  {
    "question": "What is Deployment?",
    "answer": "D e p l o y m e n t   e n a b l e s   d e c l a r a t i v e   u p d a t e s   f o r   P o d s   a n d   R e p l i c a S e t s .   a p i V e r s i o n :   a p p s / v 1 k i n d :   D e p l o y m e n t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( D e p l o y m e n t S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   D e p l o y m e n t . s t a t u s   ( D e p l o y m e n t S t a t u s ) M o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   D e p l o y m e n t .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( D e p l o y m e n t S p e c )   S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   D e p l o y m e n t .   s t a t u s   ( D e p l o y m e n t S t a t u s )   M o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   D e p l o y m e n t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20009"
  },
  {
    "question": "What is DeploymentSpec?",
    "answer": "D e p l o y m e n t S p e c   i s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   D e p l o y m e n t .   s e l e c t o r   ( L a b e l S e l e c t o r ) ,   r e q u i r e d L a b e l   s e l e c t o r   f o r   p o d s .   E x i s t i n g   R e p l i c a S e t s   w h o s e   p o d s   a r e   s e l e c t e d   b y   t h i s   w i l l   b e   t h e   o n e s   a f f e c t e d   b y   t h i s   d e p l o y m e n t .   I t   m u s t   m a t c h   t h e   p o d   t e m p l a t e ' s   l a b e l s . t e m p l a t e   ( P o d T e m p l a t e S p e c ) ,   r e q u i r e d T e m p l a t e   d e s c r i b e s   t h e   p o d s   t h a t   w i l l   b e   c r e a t e d .   T h e   o n l y   a l l o w e d   t e m p l a t e . s p e c . r e s t a r t P o l i c y   v a l u e   i s   \" A l w a y s \" . r e p l i c a s   ( i n t 3 2 ) N u m b e r   o f   d e s i r e d   p o d s .   T h i s   i s   a   p o i n t e r   t o   d i s t i n g u i s h   b e t w e e n   e x p l i c i t   z e r o   a n d   n o t   s p e c i f i e d .   D e f a u l t s   t o   1 . m i n R e a d y S e c o n d s   ( i n t 3 2 ) M i n i m u m   n u m b e r   o f   s e c o n d s   f o r   w h i c h   a   n e w l y   c r e a t e d   p o d   s h o u l d   b e   r e a d y   w i t h o u t   a n y   o f   i t s   c o n t a i n e r   c r a s h i n g ,   f o r   i t   t o   b e   c o n s i d e r e d   a v a i l a b l e .   D e f a u l t s   t o   0   ( p o d   w i l l   b e   c o n s i d e r e d   a v a i l a b l e   a s   s o o n   a s   i t   i s   r e a d y ) s t r a t e g y   ( D e p l o y m e n t S t r a t e g y ) P a t c h   s t r a t e g y :   r e t a i n K e y s T h e   d e p l o y m e n t   s t r a t e g y   t o   u s e   t o   r e p l a c e   e x i s t i n g   p o d s   w i t h   n e w   o n e s . D e p l o y m e n t S t r a t e g y   d e s c r i b e s   h o w   t o   r e p l a c e   e x i s t i n g   p o d s   w i t h   n e w   o n e s . s t r a t e g y . ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20010"
  },
  {
    "question": "What is DeploymentStatus?",
    "answer": "D e p l o y m e n t S t a t u s   i s   t h e   m o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   D e p l o y m e n t .   r e p l i c a s   ( i n t 3 2 ) T o t a l   n u m b e r   o f   n o n - t e r m i n a t i n g   p o d s   t a r g e t e d   b y   t h i s   d e p l o y m e n t   ( t h e i r   l a b e l s   m a t c h   t h e   s e l e c t o r ) . a v a i l a b l e R e p l i c a s   ( i n t 3 2 ) T o t a l   n u m b e r   o f   a v a i l a b l e   n o n - t e r m i n a t i n g   p o d s   ( r e a d y   f o r   a t   l e a s t   m i n R e a d y S e c o n d s )   t a r g e t e d   b y   t h i s   d e p l o y m e n t . r e a d y R e p l i c a s   ( i n t 3 2 ) T o t a l   n u m b e r   o f   n o n - t e r m i n a t i n g   p o d s   t a r g e t e d   b y   t h i s   D e p l o y m e n t   w i t h   a   R e a d y   C o n d i t i o n . u n a v a i l a b l e R e p l i c a s   ( i n t 3 2 ) T o t a l   n u m b e r   o f   u n a v a i l a b l e   p o d s   t a r g e t e d   b y   t h i s   d e p l o y m e n t .   T h i s   i s   t h e   t o t a l   n u m b e r   o f   p o d s   t h a t   a r e   s t i l l   r e q u i r e d   f o r   t h e   d e p l o y m e n t   t o   h a v e   1 0 0 %   a v a i l a b l e   c a p a c i t y .   T h e y   m a y   e i t h e r   b e   p o d s   t h a t   a r e   r u n n i n g   b u t   n o t   y e t   a v a i l a b l e   o r   p o d s   t h a t   s t i l l   h a v e   n o t   b e e n   c r e a t e d . u p d a t e d R e p l i c a s   ( i n t 3 2 ) T o t a l   n u m b e r   o f   n o n - t e r m i n a t i n g   p o d s   t a r g e t e d   b y   t h i s   d e p l o y m e n t   t h a t   h a v e   t h e   d e s i r e d   t e m p l a t e   s p e c . t e r m i n a t i n g R e p l i c a s   ( i n t 3 2 ) T o t a l   n u m b e r   o f   t e r m i n a t i n g   p o d s   t a r g e t e d   b y   t h i s   d e p l o y m e n t .   T e r m i n a t i n g   p o d s   h a v e   a   n o n - n u l l   . m e t a d a t a . d e l e t i o n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20011"
  },
  {
    "question": "What is DeploymentList?",
    "answer": "D e p l o y m e n t L i s t   i s   a   l i s t   o f   D e p l o y m e n t s .   a p i V e r s i o n :   a p p s / v 1 k i n d :   D e p l o y m e n t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a . i t e m s   ( [ ] D e p l o y m e n t ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   D e p l o y m e n t s .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   i t e m s   ( [ ] D e p l o y m e n t ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   D e p l o y m e n t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20012"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20013"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e p l o y m e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e p l o y m e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20014"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20015"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20016"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e p l o y m e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e p l o y m e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20017"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20018"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20019"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20020"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20021"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / d e p l o y m e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20022"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20023"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20024"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20025"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e p l o y m e n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e p l o y m e n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20026"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t ) :   O K   2 0 1   ( D e p l o y m e n t ) :   C r e a t e d   2 0 2   ( D e p l o y m e n t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20027"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20028"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e p l o y m e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e p l o y m e n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e p l o y m e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e p l o y m e n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20029"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t ) :   O K   2 0 1   ( D e p l o y m e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20030"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20031"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e p l o y m e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e p l o y m e n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e p l o y m e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e p l o y m e n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20032"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t ) :   O K   2 0 1   ( D e p l o y m e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20033"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20034"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e p l o y m e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e p l o y m e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20035"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t ) :   O K   2 0 1   ( D e p l o y m e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20036"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20037"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e p l o y m e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e p l o y m e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20038"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t ) :   O K   2 0 1   ( D e p l o y m e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20039"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20040"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e p l o y m e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e p l o y m e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20041"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20042"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20043"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20044"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20045"
  },
  {
    "question": "What is 1.7 - StatefulSet?",
    "answer": "a p i V e r s i o n :   a p p s / v 1   i m p o r t   \" k 8 s . i o / a p i / a p p s / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20046"
  },
  {
    "question": "What is StatefulSet?",
    "answer": "S t a t e f u l S e t   r e p r e s e n t s   a   s e t   o f   p o d s   w i t h   c o n s i s t e n t   i d e n t i t i e s .   I d e n t i t i e s   a r e   d e f i n e d   a s :   N e t w o r k :   A   s i n g l e   s t a b l e   D N S   a n d   h o s t n a m e . S t o r a g e :   A s   m a n y   V o l u m e C l a i m s   a s   r e q u e s t e d .   T h e   S t a t e f u l S e t   g u a r a n t e e s   t h a t   a   g i v e n   n e t w o r k   i d e n t i t y   w i l l   a l w a y s   m a p   t o   t h e   s a m e   s t o r a g e   i d e n t i t y .   a p i V e r s i o n :   a p p s / v 1 k i n d :   S t a t e f u l S e t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( S t a t e f u l S e t S p e c ) S p e c   d e f i n e s   t h e   d e s i r e d   i d e n t i t i e s   o f   p o d s   i n   t h i s   s e t . s t a t u s   ( S t a t e f u l S e t S t a t u s ) S t a t u s   i s   t h e   c u r r e n t   s t a t u s   o f   P o d s   i n   t h i s   S t a t e f u l S e t .   T h i s   d a t a   m a y   b e   o u t   o f   d a t e   b y   s o m e   w i n d o w   o f   t i m e .   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( S t a t e f u l S e t S p e c )   S p e c   d e f i n e s   t h e   d e s i r e d   i d e n t i t i e s   o f   p o d s   i n   t h i s   s e t .   s t a t u s   ( S t a t e f u l S e t S t a t u s )   S t a t u s   i s   t h e   c u r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20047"
  },
  {
    "question": "What is StatefulSetSpec?",
    "answer": "A   S t a t e f u l S e t S p e c   i s   t h e   s p e c i f i c a t i o n   o f   a   S t a t e f u l S e t .   s e r v i c e N a m e   ( s t r i n g ) s e r v i c e N a m e   i s   t h e   n a m e   o f   t h e   s e r v i c e   t h a t   g o v e r n s   t h i s   S t a t e f u l S e t .   T h i s   s e r v i c e   m u s t   e x i s t   b e f o r e   t h e   S t a t e f u l S e t ,   a n d   i s   r e s p o n s i b l e   f o r   t h e   n e t w o r k   i d e n t i t y   o f   t h e   s e t .   P o d s   g e t   D N S / h o s t n a m e s   t h a t   f o l l o w   t h e   p a t t e r n :   p o d - s p e c i f i c - s t r i n g . s e r v i c e N a m e . d e f a u l t . s v c . c l u s t e r . l o c a l   w h e r e   \" p o d - s p e c i f i c - s t r i n g \"   i s   m a n a g e d   b y   t h e   S t a t e f u l S e t   c o n t r o l l e r . s e l e c t o r   ( L a b e l S e l e c t o r ) ,   r e q u i r e d s e l e c t o r   i s   a   l a b e l   q u e r y   o v e r   p o d s   t h a t   s h o u l d   m a t c h   t h e   r e p l i c a   c o u n t .   I t   m u s t   m a t c h   t h e   p o d   t e m p l a t e ' s   l a b e l s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / l a b e l s / # l a b e l - s e l e c t o r s t e m p l a t e   ( P o d T e m p l a t e S p e c ) ,   r e q u i r e d t e m p l a t e   i s   t h e   o b j e c t   t h a t   d e s c r i b e s   t h e   p o d   t h a t   w i l l   b e   c r e a t e d   i f   i n s u f f i c i e n t   r e p l i c a s   a r e   d e t e c t e d .   E a c h   p o d   s t a m p e d   o u t   b y   t h e   S t a t e f u l S e t   w i l l   f u l f i l l   t h i s   T e m p l a t e ,   b u t   h a v e   a   u n i q u e   i d e n t i t y   f r o m   t h e   r e s t   o f   t h e   S t a t e f u l S e t .   E a c h   p o d   w i l l   b e   n a m e d   w i t h   t h e   f o r m a t   < s t a t e f u l s e t n a m e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20048"
  },
  {
    "question": "What is StatefulSetStatus?",
    "answer": "S t a t e f u l S e t S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t e   o f   a   S t a t e f u l S e t .   r e p l i c a s   ( i n t 3 2 ) ,   r e q u i r e d r e p l i c a s   i s   t h e   n u m b e r   o f   P o d s   c r e a t e d   b y   t h e   S t a t e f u l S e t   c o n t r o l l e r . r e a d y R e p l i c a s   ( i n t 3 2 ) r e a d y R e p l i c a s   i s   t h e   n u m b e r   o f   p o d s   c r e a t e d   f o r   t h i s   S t a t e f u l S e t   w i t h   a   R e a d y   C o n d i t i o n . c u r r e n t R e p l i c a s   ( i n t 3 2 ) c u r r e n t R e p l i c a s   i s   t h e   n u m b e r   o f   P o d s   c r e a t e d   b y   t h e   S t a t e f u l S e t   c o n t r o l l e r   f r o m   t h e   S t a t e f u l S e t   v e r s i o n   i n d i c a t e d   b y   c u r r e n t R e v i s i o n . u p d a t e d R e p l i c a s   ( i n t 3 2 ) u p d a t e d R e p l i c a s   i s   t h e   n u m b e r   o f   P o d s   c r e a t e d   b y   t h e   S t a t e f u l S e t   c o n t r o l l e r   f r o m   t h e   S t a t e f u l S e t   v e r s i o n   i n d i c a t e d   b y   u p d a t e R e v i s i o n . a v a i l a b l e R e p l i c a s   ( i n t 3 2 ) T o t a l   n u m b e r   o f   a v a i l a b l e   p o d s   ( r e a d y   f o r   a t   l e a s t   m i n R e a d y S e c o n d s )   t a r g e t e d   b y   t h i s   s t a t e f u l s e t . c o l l i s i o n C o u n t   ( i n t 3 2 ) c o l l i s i o n C o u n t   i s   t h e   c o u n t   o f   h a s h   c o l l i s i o n s   f o r   t h e   S t a t e f u l S e t .   T h e   S t a t e f u l S e t   c o n t r o l l e r   u s e s   t h i s   f i e l d   a s   a   c o l l i s i o n   a v o i d a n c e   m e c h a n i s m   w h e n   i t   n e e d s   t o   c r e a t e   t h e   n a m e   f o r   t h e   n e w e s t   C o n t r o l l e r R e v i s i o n . c o n d i t i o n s   ( [ ] S t a t e f u l S e t C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20049"
  },
  {
    "question": "What is StatefulSetList?",
    "answer": "S t a t e f u l S e t L i s t   i s   a   c o l l e c t i o n   o f   S t a t e f u l S e t s .   a p i V e r s i o n :   a p p s / v 1 k i n d :   S t a t e f u l S e t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] S t a t e f u l S e t ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   s t a t e f u l   s e t s .   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] S t a t e f u l S e t ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   s t a t e f u l   s e t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20050"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20051"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t a t e f u l S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t a t e f u l S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20052"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20053"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20054"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t a t e f u l S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t a t e f u l S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20055"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20056"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20057"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20058"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20059"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / s t a t e f u l s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20060"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20061"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20062"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20063"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S t a t e f u l S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S t a t e f u l S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20064"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t ) :   O K   2 0 1   ( S t a t e f u l S e t ) :   C r e a t e d   2 0 2   ( S t a t e f u l S e t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20065"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20066"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t a t e f u l S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S t a t e f u l S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t a t e f u l S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S t a t e f u l S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20067"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t ) :   O K   2 0 1   ( S t a t e f u l S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20068"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20069"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t a t e f u l S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S t a t e f u l S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t a t e f u l S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S t a t e f u l S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20070"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t ) :   O K   2 0 1   ( S t a t e f u l S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20071"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20072"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t a t e f u l S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t a t e f u l S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20073"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t ) :   O K   2 0 1   ( S t a t e f u l S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20074"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20075"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t a t e f u l S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t a t e f u l S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20076"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t ) :   O K   2 0 1   ( S t a t e f u l S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20077"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20078"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t a t e f u l S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t a t e f u l S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20079"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20080"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20081"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20082"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20083"
  },
  {
    "question": "What is 1.8 - ControllerRevision?",
    "answer": "a p i V e r s i o n :   a p p s / v 1   i m p o r t   \" k 8 s . i o / a p i / a p p s / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20084"
  },
  {
    "question": "What is ControllerRevision?",
    "answer": "C o n t r o l l e r R e v i s i o n   i m p l e m e n t s   a n   i m m u t a b l e   s n a p s h o t   o f   s t a t e   d a t a .   C l i e n t s   a r e   r e s p o n s i b l e   f o r   s e r i a l i z i n g   a n d   d e s e r i a l i z i n g   t h e   o b j e c t s   t h a t   c o n t a i n   t h e i r   i n t e r n a l   s t a t e .   O n c e   a   C o n t r o l l e r R e v i s i o n   h a s   b e e n   s u c c e s s f u l l y   c r e a t e d ,   i t   c a n   n o t   b e   u p d a t e d .   T h e   A P I   S e r v e r   w i l l   f a i l   v a l i d a t i o n   o f   a l l   r e q u e s t s   t h a t   a t t e m p t   t o   m u t a t e   t h e   D a t a   f i e l d .   C o n t r o l l e r R e v i s i o n s   m a y ,   h o w e v e r ,   b e   d e l e t e d .   N o t e   t h a t ,   d u e   t o   i t s   u s e   b y   b o t h   t h e   D a e m o n S e t   a n d   S t a t e f u l S e t   c o n t r o l l e r s   f o r   u p d a t e   a n d   r o l l b a c k ,   t h i s   o b j e c t   i s   b e t a .   H o w e v e r ,   i t   m a y   b e   s u b j e c t   t o   n a m e   a n d   r e p r e s e n t a t i o n   c h a n g e s   i n   f u t u r e   r e l e a s e s ,   a n d   c l i e n t s   s h o u l d   n o t   d e p e n d   o n   i t s   s t a b i l i t y .   I t   i s   p r i m a r i l y   f o r   i n t e r n a l   u s e   b y   c o n t r o l l e r s .   a p i V e r s i o n :   a p p s / v 1 k i n d :   C o n t r o l l e r R e v i s i o n m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a r e v i s i o n   ( i n t 6 4 ) ,   r e q u i r e d R e v i s i o n   i n d i c a t e s   t h e   r e v i s i o n   o f   t h e   s t a t e   r e p r e s e n t e d   b y   D a t a . d a t a   ( R a w E x t e n s i o n ) D a t a   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20085"
  },
  {
    "question": "What is ControllerRevisionList?",
    "answer": "C o n t r o l l e r R e v i s i o n L i s t   i s   a   r e s o u r c e   c o n t a i n i n g   a   l i s t   o f   C o n t r o l l e r R e v i s i o n   o b j e c t s .   a p i V e r s i o n :   a p p s / v 1 k i n d :   C o n t r o l l e r R e v i s i o n L i s t m e t a d a t a   ( L i s t M e t a ) M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] C o n t r o l l e r R e v i s i o n ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   C o n t r o l l e r R e v i s i o n s   a p i V e r s i o n :   a p p s / v 1   k i n d :   C o n t r o l l e r R e v i s i o n L i s t   m e t a d a t a   ( L i s t M e t a )   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] C o n t r o l l e r R e v i s i o n ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   C o n t r o l l e r R e v i s i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20086"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20087"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o n t r o l l e r R e v i s i o n n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o n t r o l l e r R e v i s i o n   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20088"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n t r o l l e r R e v i s i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20089"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20090"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20091"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n t r o l l e r R e v i s i o n L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20092"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / c o n t r o l l e r r e v i s i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20093"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20094"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n t r o l l e r R e v i s i o n L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20095"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20096"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C o n t r o l l e r R e v i s i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C o n t r o l l e r R e v i s i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20097"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n t r o l l e r R e v i s i o n ) :   O K   2 0 1   ( C o n t r o l l e r R e v i s i o n ) :   C r e a t e d   2 0 2   ( C o n t r o l l e r R e v i s i o n ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20098"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20099"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o n t r o l l e r R e v i s i o n n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C o n t r o l l e r R e v i s i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o n t r o l l e r R e v i s i o n   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C o n t r o l l e r R e v i s i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20100"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n t r o l l e r R e v i s i o n ) :   O K   2 0 1   ( C o n t r o l l e r R e v i s i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20101"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20102"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o n t r o l l e r R e v i s i o n n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o n t r o l l e r R e v i s i o n   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20103"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n t r o l l e r R e v i s i o n ) :   O K   2 0 1   ( C o n t r o l l e r R e v i s i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20104"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20105"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o n t r o l l e r R e v i s i o n n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o n t r o l l e r R e v i s i o n   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20106"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20107"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20108"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20109"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20110"
  },
  {
    "question": "What is 1.9 - DaemonSet?",
    "answer": "a p i V e r s i o n :   a p p s / v 1   i m p o r t   \" k 8 s . i o / a p i / a p p s / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20111"
  },
  {
    "question": "What is DaemonSet?",
    "answer": "D a e m o n S e t   r e p r e s e n t s   t h e   c o n f i g u r a t i o n   o f   a   d a e m o n   s e t .   a p i V e r s i o n :   a p p s / v 1 k i n d :   D a e m o n S e t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( D a e m o n S e t S p e c ) T h e   d e s i r e d   b e h a v i o r   o f   t h i s   d a e m o n   s e t .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( D a e m o n S e t S t a t u s ) T h e   c u r r e n t   s t a t u s   o f   t h i s   d a e m o n   s e t .   T h i s   d a t a   m a y   b e   o u t   o f   d a t e   b y   s o m e   w i n d o w   o f   t i m e .   P o p u l a t e d   b y   t h e   s y s t e m .   R e a d - o n l y .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   a p p s / v 1   k i n d :   D a e m o n S e t   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( D a e m o n S e t S p e c )   T h e   d e s i r e d   b e h a v i o r   o f   t h i s   d a e m o n   s e t .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20112"
  },
  {
    "question": "What is DaemonSetSpec?",
    "answer": "D a e m o n S e t S p e c   i s   t h e   s p e c i f i c a t i o n   o f   a   d a e m o n   s e t .   s e l e c t o r   ( L a b e l S e l e c t o r ) ,   r e q u i r e d A   l a b e l   q u e r y   o v e r   p o d s   t h a t   a r e   m a n a g e d   b y   t h e   d a e m o n   s e t .   M u s t   m a t c h   i n   o r d e r   t o   b e   c o n t r o l l e d .   I t   m u s t   m a t c h   t h e   p o d   t e m p l a t e ' s   l a b e l s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / l a b e l s / # l a b e l - s e l e c t o r s t e m p l a t e   ( P o d T e m p l a t e S p e c ) ,   r e q u i r e d A n   o b j e c t   t h a t   d e s c r i b e s   t h e   p o d   t h a t   w i l l   b e   c r e a t e d .   T h e   D a e m o n S e t   w i l l   c r e a t e   e x a c t l y   o n e   c o p y   o f   t h i s   p o d   o n   e v e r y   n o d e   t h a t   m a t c h e s   t h e   t e m p l a t e ' s   n o d e   s e l e c t o r   ( o r   o n   e v e r y   n o d e   i f   n o   n o d e   s e l e c t o r   i s   s p e c i f i e d ) .   T h e   o n l y   a l l o w e d   t e m p l a t e . s p e c . r e s t a r t P o l i c y   v a l u e   i s   \" A l w a y s \" .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a t i o n c o n t r o l l e r # p o d - t e m p l a t e m i n R e a d y S e c o n d s   ( i n t 3 2 ) T h e   m i n i m u m   n u m b e r   o f   s e c o n d s   f o r   w h i c h   a   n e w l y   c r e a t e d   D a e m o n S e t   p o d   s h o u l d   b e   r e a d y   w i t h o u t   a n y   o f   i t s   c o n t a i n e r   c r a s h i n g ,   f o r   i t   t o   b e   c o n s i d e r e d   a v a i l a b l e .   D e f a u l t s   t o   0   ( p o d   w i l l   b e   c o n s i d e r e d   a v a i l a b l e   a s   s o o n   a s   i t   i s   r e a d y ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20113"
  },
  {
    "question": "What is DaemonSetStatus?",
    "answer": "D a e m o n S e t S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t u s   o f   a   d a e m o n   s e t .   n u m b e r R e a d y   ( i n t 3 2 ) ,   r e q u i r e d n u m b e r R e a d y   i s   t h e   n u m b e r   o f   n o d e s   t h a t   s h o u l d   b e   r u n n i n g   t h e   d a e m o n   p o d   a n d   h a v e   o n e   o r   m o r e   o f   t h e   d a e m o n   p o d   r u n n i n g   w i t h   a   R e a d y   C o n d i t i o n . n u m b e r A v a i l a b l e   ( i n t 3 2 ) T h e   n u m b e r   o f   n o d e s   t h a t   s h o u l d   b e   r u n n i n g   t h e   d a e m o n   p o d   a n d   h a v e   o n e   o r   m o r e   o f   t h e   d a e m o n   p o d   r u n n i n g   a n d   a v a i l a b l e   ( r e a d y   f o r   a t   l e a s t   s p e c . m i n R e a d y S e c o n d s ) n u m b e r U n a v a i l a b l e   ( i n t 3 2 ) T h e   n u m b e r   o f   n o d e s   t h a t   s h o u l d   b e   r u n n i n g   t h e   d a e m o n   p o d   a n d   h a v e   n o n e   o f   t h e   d a e m o n   p o d   r u n n i n g   a n d   a v a i l a b l e   ( r e a d y   f o r   a t   l e a s t   s p e c . m i n R e a d y S e c o n d s ) n u m b e r M i s s c h e d u l e d   ( i n t 3 2 ) ,   r e q u i r e d T h e   n u m b e r   o f   n o d e s   t h a t   a r e   r u n n i n g   t h e   d a e m o n   p o d ,   b u t   a r e   n o t   s u p p o s e d   t o   r u n   t h e   d a e m o n   p o d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / d a e m o n s e t / d e s i r e d N u m b e r S c h e d u l e d   ( i n t 3 2 ) ,   r e q u i r e d T h e   t o t a l   n u m b e r   o f   n o d e s   t h a t   s h o u l d   b e   r u n n i n g   t h e   d a e m o n   p o d   ( i n c l u d i n g   n o d e s   c o r r e c t l y   r u n n i n g   t h e   d a e m o n   p o d ) .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20114"
  },
  {
    "question": "What is DaemonSetList?",
    "answer": "D a e m o n S e t L i s t   i s   a   c o l l e c t i o n   o f   d a e m o n   s e t s .   a p i V e r s i o n :   a p p s / v 1 k i n d :   D a e m o n S e t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] D a e m o n S e t ) ,   r e q u i r e d A   l i s t   o f   d a e m o n   s e t s .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D a e m o n S e t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] D a e m o n S e t ) ,   r e q u i r e d   A   l i s t   o f   d a e m o n   s e t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20115"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20116"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D a e m o n S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D a e m o n S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20117"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20118"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20119"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D a e m o n S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D a e m o n S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20120"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20121"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20122"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20123"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20124"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / d a e m o n s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20125"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20126"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20127"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20128"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D a e m o n S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D a e m o n S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20129"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t ) :   O K   2 0 1   ( D a e m o n S e t ) :   C r e a t e d   2 0 2   ( D a e m o n S e t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20130"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20131"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D a e m o n S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D a e m o n S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D a e m o n S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D a e m o n S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20132"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t ) :   O K   2 0 1   ( D a e m o n S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20133"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20134"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D a e m o n S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D a e m o n S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D a e m o n S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D a e m o n S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20135"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t ) :   O K   2 0 1   ( D a e m o n S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20136"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20137"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D a e m o n S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D a e m o n S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20138"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t ) :   O K   2 0 1   ( D a e m o n S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20139"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20140"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D a e m o n S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D a e m o n S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20141"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t ) :   O K   2 0 1   ( D a e m o n S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20142"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20143"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D a e m o n S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D a e m o n S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20144"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20145"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20146"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20147"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20148"
  },
  {
    "question": "What is 1.10 - Job?",
    "answer": "a p i V e r s i o n :   b a t c h / v 1   i m p o r t   \" k 8 s . i o / a p i / b a t c h / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20149"
  },
  {
    "question": "What is Job?",
    "answer": "J o b   r e p r e s e n t s   t h e   c o n f i g u r a t i o n   o f   a   s i n g l e   j o b .   a p i V e r s i o n :   b a t c h / v 1 k i n d :   J o b m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( J o b S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   a   j o b .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( J o b S t a t u s ) C u r r e n t   s t a t u s   o f   a   j o b .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( J o b S p e c )   S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   a   j o b .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   s t a t u s   ( J o b S t a t u s )   C u r r e n t   s t a t u s   o f   a   j o b .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20150"
  },
  {
    "question": "What is JobSpec?",
    "answer": "J o b S p e c   d e s c r i b e s   h o w   t h e   j o b   e x e c u t i o n   w i l l   l o o k   l i k e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20151"
  },
  {
    "question": "What is Replicas?",
    "answer": "t e m p l a t e   ( P o d T e m p l a t e S p e c ) ,   r e q u i r e d D e s c r i b e s   t h e   p o d   t h a t   w i l l   b e   c r e a t e d   w h e n   e x e c u t i n g   a   j o b .   T h e   o n l y   a l l o w e d   t e m p l a t e . s p e c . r e s t a r t P o l i c y   v a l u e s   a r e   \" N e v e r \"   o r   \" O n F a i l u r e \" .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / j o b s - r u n - t o - c o m p l e t i o n / p a r a l l e l i s m   ( i n t 3 2 ) S p e c i f i e s   t h e   m a x i m u m   d e s i r e d   n u m b e r   o f   p o d s   t h e   j o b   s h o u l d   r u n   a t   a n y   g i v e n   t i m e .   T h e   a c t u a l   n u m b e r   o f   p o d s   r u n n i n g   i n   s t e a d y   s t a t e   w i l l   b e   l e s s   t h a n   t h i s   n u m b e r   w h e n   ( ( . s p e c . c o m p l e t i o n s   -   . s t a t u s . s u c c e s s f u l )   <   . s p e c . p a r a l l e l i s m ) ,   i . e .   w h e n   t h e   w o r k   l e f t   t o   d o   i s   l e s s   t h a n   m a x   p a r a l l e l i s m .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / j o b s - r u n - t o - c o m p l e t i o n /   t e m p l a t e   ( P o d T e m p l a t e S p e c ) ,   r e q u i r e d   D e s c r i b e s   t h e   p o d   t h a t   w i l l   b e   c r e a t e d   w h e n   e x e c u t i n g   a   j o b .   T h e   o n l y   a l l o w e d   t e m p l a t e . s p e c . r e s t a r t P o l i c y   v a l u e s   a r e   \" N e v e r \"   o r   \" O n F a i l u r e \" .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / j o b s - r u n - t o - c o m p l e t i o n /   p a r a l l e l i s m   ( i n t 3 2 )   S p e c i f i e s   t h e   m a x i m u m   d e s i r e d   n u m b e r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_20152"
  },
  {
    "question": "What is Lifecycle?",
    "answer": "c o m p l e t i o n s   ( i n t 3 2 ) S p e c i f i e s   t h e   d e s i r e d   n u m b e r   o f   s u c c e s s f u l l y   f i n i s h e d   p o d s   t h e   j o b   s h o u l d   b e   r u n   w i t h .   S e t t i n g   t o   n u l l   m e a n s   t h a t   t h e   s u c c e s s   o f   a n y   p o d   s i g n a l s   t h e   s u c c e s s   o f   a l l   p o d s ,   a n d   a l l o w s   p a r a l l e l i s m   t o   h a v e   a n y   p o s i t i v e   v a l u e .   S e t t i n g   t o   1   m e a n s   t h a t   p a r a l l e l i s m   i s   l i m i t e d   t o   1   a n d   t h e   s u c c e s s   o f   t h a t   p o d   s i g n a l s   t h e   s u c c e s s   o f   t h e   j o b .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / j o b s - r u n - t o - c o m p l e t i o n / c o m p l e t i o n M o d e   ( s t r i n g ) c o m p l e t i o n M o d e   s p e c i f i e s   h o w   P o d   c o m p l e t i o n s   a r e   t r a c k e d .   I t   c a n   b e   N o n I n d e x e d   ( d e f a u l t )   o r   I n d e x e d . N o n I n d e x e d   m e a n s   t h a t   t h e   J o b   i s   c o n s i d e r e d   c o m p l e t e   w h e n   t h e r e   h a v e   b e e n   . s p e c . c o m p l e t i o n s   s u c c e s s f u l l y   c o m p l e t e d   P o d s .   E a c h   P o d   c o m p l e t i o n   i s   h o m o l o g o u s   t o   e a c h   o t h e r . I n d e x e d   m e a n s   t h a t   t h e   P o d s   o f   a   J o b   g e t   a n   a s s o c i a t e d   c o m p l e t i o n   i n d e x   f r o m   0   t o   ( . s p e c . c o m p l e t i o n s   -   1 ) ,   a v a i l a b l e   i n   t h e   a n n o t a t i o n   b a t c h . k u b e r n e t e s . i o / j o b - c o m p l e t i o n - i n d e x .   T h e   J o b   i s   c o n s i d e r e d   c o m p l e t e   w h e n   t h e r e   i s   o n e   s u c c e s s f u l l y   c o m p l e t e d   P o d   f o r   e a c h   i n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_20153"
  },
  {
    "question": "What is Selector?",
    "answer": "s e l e c t o r   ( L a b e l S e l e c t o r ) A   l a b e l   q u e r y   o v e r   p o d s   t h a t   s h o u l d   m a t c h   t h e   p o d   c o u n t .   N o r m a l l y ,   t h e   s y s t e m   s e t s   t h i s   f i e l d   f o r   y o u .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / l a b e l s / # l a b e l - s e l e c t o r s m a n u a l S e l e c t o r   ( b o o l e a n ) m a n u a l S e l e c t o r   c o n t r o l s   g e n e r a t i o n   o f   p o d   l a b e l s   a n d   p o d   s e l e c t o r s .   L e a v e   m a n u a l S e l e c t o r   u n s e t   u n l e s s   y o u   a r e   c e r t a i n   w h a t   y o u   a r e   d o i n g .   W h e n   f a l s e   o r   u n s e t ,   t h e   s y s t e m   p i c k   l a b e l s   u n i q u e   t o   t h i s   j o b   a n d   a p p e n d s   t h o s e   l a b e l s   t o   t h e   p o d   t e m p l a t e .   W h e n   t r u e ,   t h e   u s e r   i s   r e s p o n s i b l e   f o r   p i c k i n g   u n i q u e   l a b e l s   a n d   s p e c i f y i n g   t h e   s e l e c t o r .   F a i l u r e   t o   p i c k   a   u n i q u e   l a b e l   m a y   c a u s e   t h i s   a n d   o t h e r   j o b s   t o   n o t   f u n c t i o n   c o r r e c t l y .   H o w e v e r ,   Y o u   m a y   s e e   m a n u a l S e l e c t o r = t r u e   i n   j o b s   t h a t   w e r e   c r e a t e d   w i t h   t h e   o l d   e x t e n s i o n s / v 1 b e t a 1   A P I .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / j o b s - r u n - t o - c o m p l e t i o n / # s p e c i f y i n g - y o u r - o w n - p o d - s e l e c t o r   s e l e c t o r   ( L a b e l S e l e c t o r )   A   l a b e l   q u e r y   o v e r   p o d s   t h a t   s h o u l d   m a t c h   t h e   p o d   c o u n t .   N o r m a l l y ,   t h ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_20154"
  },
  {
    "question": "What is Beta level?",
    "answer": "p o d F a i l u r e P o l i c y   ( P o d F a i l u r e P o l i c y ) S p e c i f i e s   t h e   p o l i c y   o f   h a n d l i n g   f a i l e d   p o d s .   I n   p a r t i c u l a r ,   i t   a l l o w s   t o   s p e c i f y   t h e   s e t   o f   a c t i o n s   a n d   c o n d i t i o n s   w h i c h   n e e d   t o   b e   s a t i s f i e d   t o   t a k e   t h e   a s s o c i a t e d   a c t i o n .   I f   e m p t y ,   t h e   d e f a u l t   b e h a v i o u r   a p p l i e s   -   t h e   c o u n t e r   o f   f a i l e d   p o d s ,   r e p r e s e n t e d   b y   t h e   j o b s ' s   . s t a t u s . f a i l e d   f i e l d ,   i s   i n c r e m e n t e d   a n d   i t   i s   c h e c k e d   a g a i n s t   t h e   b a c k o f f L i m i t .   T h i s   f i e l d   c a n n o t   b e   u s e d   i n   c o m b i n a t i o n   w i t h   r e s t a r t P o l i c y = O n F a i l u r e . P o d F a i l u r e P o l i c y   d e s c r i b e s   h o w   f a i l e d   p o d s   i n f l u e n c e   t h e   b a c k o f f L i m i t . p o d F a i l u r e P o l i c y . r u l e s   ( [ ] P o d F a i l u r e P o l i c y R u l e ) ,   r e q u i r e d A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A   l i s t   o f   p o d   f a i l u r e   p o l i c y   r u l e s .   T h e   r u l e s   a r e   e v a l u a t e d   i n   o r d e r .   O n c e   a   r u l e   m a t c h e s   a   P o d   f a i l u r e ,   t h e   r e m a i n i n g   o f   t h e   r u l e s   a r e   i g n o r e d .   W h e n   n o   r u l e   m a t c h e s   t h e   P o d   f a i l u r e ,   t h e   d e f a u l t   h a n d l i n g   a p p l i e s   -   t h e   c o u n t e r   o f   p o d   f a i l u r e s   i s   i n c r e m e n t e d   a n d   i t   i s   c h e c k e d   a g a i n s t   t h e   b a c k o f f L i m i t .   A t   m o s t   2 0   e l e m e n t s   a r e   a l l o w e d . P o d F a i l u r e P o l i c y R u l e   d e s c r i b e s   h o w   a   p o d   f a i l ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_20155"
  },
  {
    "question": "What is Alpha level?",
    "answer": "b a c k o f f L i m i t P e r I n d e x   ( i n t 3 2 ) S p e c i f i e s   t h e   l i m i t   f o r   t h e   n u m b e r   o f   r e t r i e s   w i t h i n   a n   i n d e x   b e f o r e   m a r k i n g   t h i s   i n d e x   a s   f a i l e d .   W h e n   e n a b l e d   t h e   n u m b e r   o f   f a i l u r e s   p e r   i n d e x   i s   k e p t   i n   t h e   p o d ' s   b a t c h . k u b e r n e t e s . i o / j o b - i n d e x - f a i l u r e - c o u n t   a n n o t a t i o n .   I t   c a n   o n l y   b e   s e t   w h e n   J o b ' s   c o m p l e t i o n M o d e = I n d e x e d ,   a n d   t h e   P o d ' s   r e s t a r t   p o l i c y   i s   N e v e r .   T h e   f i e l d   i s   i m m u t a b l e . m a n a g e d B y   ( s t r i n g ) M a n a g e d B y   f i e l d   i n d i c a t e s   t h e   c o n t r o l l e r   t h a t   m a n a g e s   a   J o b .   T h e   k 8 s   J o b   c o n t r o l l e r   r e c o n c i l e s   j o b s   w h i c h   d o n ' t   h a v e   t h i s   f i e l d   a t   a l l   o r   t h e   f i e l d   v a l u e   i s   t h e   r e s e r v e d   s t r i n g   k u b e r n e t e s . i o / j o b - c o n t r o l l e r ,   b u t   s k i p s   r e c o n c i l i n g   J o b s   w i t h   a   c u s t o m   v a l u e   f o r   t h i s   f i e l d .   T h e   v a l u e   m u s t   b e   a   v a l i d   d o m a i n - p r e f i x e d   p a t h   ( e . g .   a c m e . i o / f o o )   -   a l l   c h a r a c t e r s   b e f o r e   t h e   f i r s t   \" / \"   m u s t   b e   a   v a l i d   s u b d o m a i n   a s   d e f i n e d   b y   R F C   1 1 2 3 .   A l l   c h a r a c t e r s   t r a i l i n g   t h e   f i r s t   \" / \"   m u s t   b e   v a l i d   H T T P   P a t h   c h a r a c t e r s   a s   d e f i n e d   b y   R F C   3 9 8 6 .   T h e   v a l u e   c a n n o t   e x c e e d   6 3   c h a r a c t e r s .   T h i s   f i e l d   i s   i m m u t a b l e . T h i s   f i e l d   i s   b e t a - l e v e l .   T h e   j o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_20156"
  },
  {
    "question": "What is JobStatus?",
    "answer": "J o b S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t e   o f   a   J o b .   s t a r t T i m e   ( T i m e ) R e p r e s e n t s   t i m e   w h e n   t h e   j o b   c o n t r o l l e r   s t a r t e d   p r o c e s s i n g   a   j o b .   W h e n   a   J o b   i s   c r e a t e d   i n   t h e   s u s p e n d e d   s t a t e ,   t h i s   f i e l d   i s   n o t   s e t   u n t i l   t h e   f i r s t   t i m e   i t   i s   r e s u m e d .   T h i s   f i e l d   i s   r e s e t   e v e r y   t i m e   a   J o b   i s   r e s u m e d   f r o m   s u s p e n s i o n .   I t   i s   r e p r e s e n t e d   i n   R F C 3 3 3 9   f o r m   a n d   i s   i n   U T C . O n c e   s e t ,   t h e   f i e l d   c a n   o n l y   b e   r e m o v e d   w h e n   t h e   j o b   i s   s u s p e n d e d .   T h e   f i e l d   c a n n o t   b e   m o d i f i e d   w h i l e   t h e   j o b   i s   u n s u s p e n d e d   o r   f i n i s h e d . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c o m p l e t i o n T i m e   ( T i m e ) R e p r e s e n t s   t i m e   w h e n   t h e   j o b   w a s   c o m p l e t e d .   I t   i s   n o t   g u a r a n t e e d   t o   b e   s e t   i n   h a p p e n s - b e f o r e   o r d e r   a c r o s s   s e p a r a t e   o p e r a t i o n s .   I t   i s   r e p r e s e n t e d   i n   R F C 3 3 3 9   f o r m   a n d   i s   i n   U T C .   T h e   c o m p l e t i o n   t i m e   i s   s e t   w h e n   t h e   j o b   f i n i s h e s   s u c c e s s f u l l y ,   a n d   o n l y   t h e n .   T h e   v a l u e   c a n n o t   b e   u p d a t e d   o r   r e m o v e d .   T h e   v a l u e   i n d i c a t e s   t h e   s a m e   o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20157"
  },
  {
    "question": "What is Beta level?",
    "answer": "r e a d y   ( i n t 3 2 ) T h e   n u m b e r   o f   a c t i v e   p o d s   w h i c h   h a v e   a   R e a d y   c o n d i t i o n   a n d   a r e   n o t   t e r m i n a t i n g   ( w i t h o u t   a   d e l e t i o n T i m e s t a m p ) .   r e a d y   ( i n t 3 2 )   T h e   n u m b e r   o f   a c t i v e   p o d s   w h i c h   h a v e   a   R e a d y   c o n d i t i o n   a n d   a r e   n o t   t e r m i n a t i n g   ( w i t h o u t   a   d e l e t i o n T i m e s t a m p ) .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_20158"
  },
  {
    "question": "What is Alpha level?",
    "answer": "f a i l e d I n d e x e s   ( s t r i n g ) F a i l e d I n d e x e s   h o l d s   t h e   f a i l e d   i n d e x e s   w h e n   s p e c . b a c k o f f L i m i t P e r I n d e x   i s   s e t .   T h e   i n d e x e s   a r e   r e p r e s e n t e d   i n   t h e   t e x t   f o r m a t   a n a l o g o u s   a s   f o r   t h e   c o m p l e t e d I n d e x e s   f i e l d ,   i e .   t h e y   a r e   k e p t   a s   d e c i m a l   i n t e g e r s   s e p a r a t e d   b y   c o m m a s .   T h e   n u m b e r s   a r e   l i s t e d   i n   i n c r e a s i n g   o r d e r .   T h r e e   o r   m o r e   c o n s e c u t i v e   n u m b e r s   a r e   c o m p r e s s e d   a n d   r e p r e s e n t e d   b y   t h e   f i r s t   a n d   l a s t   e l e m e n t   o f   t h e   s e r i e s ,   s e p a r a t e d   b y   a   h y p h e n .   F o r   e x a m p l e ,   i f   t h e   f a i l e d   i n d e x e s   a r e   1 ,   3 ,   4 ,   5   a n d   7 ,   t h e y   a r e   r e p r e s e n t e d   a s   \" 1 , 3 - 5 , 7 \" .   T h e   s e t   o f   f a i l e d   i n d e x e s   c a n n o t   o v e r l a p   w i t h   t h e   s e t   o f   c o m p l e t e d   i n d e x e s . t e r m i n a t i n g   ( i n t 3 2 ) T h e   n u m b e r   o f   p o d s   w h i c h   a r e   t e r m i n a t i n g   ( i n   p h a s e   P e n d i n g   o r   R u n n i n g   a n d   h a v e   a   d e l e t i o n T i m e s t a m p ) . T h i s   f i e l d   i s   b e t a - l e v e l .   T h e   j o b   c o n t r o l l e r   p o p u l a t e s   t h e   f i e l d   w h e n   t h e   f e a t u r e   g a t e   J o b P o d R e p l a c e m e n t P o l i c y   i s   e n a b l e d   ( e n a b l e d   b y   d e f a u l t ) .   f a i l e d I n d e x e s   ( s t r i n g )   F a i l e d I n d e x e s   h o l d s   t h e   f a i l e d   i n d e x e s   w h e n   s p e c . b a c k o f f L i m i t P e r I n d e x   i s   s e t .   T h e   i n d e x e s   a r e   r e p r e s e n t e d   i n   t h e   t e x t   f ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_20159"
  },
  {
    "question": "What is JobList?",
    "answer": "J o b L i s t   i s   a   c o l l e c t i o n   o f   j o b s .   a p i V e r s i o n :   b a t c h / v 1 k i n d :   J o b L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] J o b ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   J o b s .   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] J o b ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   J o b s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20160"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20161"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20162"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20163"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20164"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20165"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20166"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20167"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20168"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20169"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20170"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20171"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20172"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20173"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   J o b ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   J o b ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20174"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b ) :   O K   2 0 1   ( J o b ) :   C r e a t e d   2 0 2   ( J o b ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20175"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20176"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   J o b ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   J o b ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20177"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b ) :   O K   2 0 1   ( J o b ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20178"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20179"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   J o b ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   J o b ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20180"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b ) :   O K   2 0 1   ( J o b ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20181"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20182"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20183"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b ) :   O K   2 0 1   ( J o b ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20184"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20185"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20186"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b ) :   O K   2 0 1   ( J o b ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20187"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20188"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20189"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20190"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20191"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20192"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20193"
  },
  {
    "question": "What is 1.11 - CronJob?",
    "answer": "a p i V e r s i o n :   b a t c h / v 1   i m p o r t   \" k 8 s . i o / a p i / b a t c h / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20194"
  },
  {
    "question": "What is CronJob?",
    "answer": "C r o n J o b   r e p r e s e n t s   t h e   c o n f i g u r a t i o n   o f   a   s i n g l e   c r o n   j o b .   a p i V e r s i o n :   b a t c h / v 1 k i n d :   C r o n J o b m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( C r o n J o b S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   a   c r o n   j o b ,   i n c l u d i n g   t h e   s c h e d u l e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( C r o n J o b S t a t u s ) C u r r e n t   s t a t u s   o f   a   c r o n   j o b .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   b a t c h / v 1   k i n d :   C r o n J o b   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( C r o n J o b S p e c )   S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   a   c r o n   j o b ,   i n c l u d i n g   t h e   s c h e d u l e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20195"
  },
  {
    "question": "What is CronJobSpec?",
    "answer": "C r o n J o b S p e c   d e s c r i b e s   h o w   t h e   j o b   e x e c u t i o n   w i l l   l o o k   l i k e   a n d   w h e n   i t   w i l l   a c t u a l l y   r u n .   j o b T e m p l a t e   ( J o b T e m p l a t e S p e c ) ,   r e q u i r e d S p e c i f i e s   t h e   j o b   t h a t   w i l l   b e   c r e a t e d   w h e n   e x e c u t i n g   a   C r o n J o b . J o b T e m p l a t e S p e c   d e s c r i b e s   t h e   d a t a   a   J o b   s h o u l d   h a v e   w h e n   c r e a t e d   f r o m   a   t e m p l a t e j o b T e m p l a t e . m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a   o f   t h e   j o b s   c r e a t e d   f r o m   t h i s   t e m p l a t e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a j o b T e m p l a t e . s p e c   ( J o b S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   j o b .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s c h e d u l e   ( s t r i n g ) ,   r e q u i r e d T h e   s c h e d u l e   i n   C r o n   f o r m a t ,   s e e   h t t p s : / / e n . w i k i p e d i a . o r g / w i k i / C r o n . t i m e Z o n e   ( s t r i n g ) T h e   t i m e   z o n e   n a m e   f o r   t h e   g i v e n   s c h e d u l e ,   s e e   h t t p s : / / e n . w i k i p e d i a . o r g / w i k i / L i s t _ o f _ t z _ d a t a b a s e _ t i m e _ z o n e s .   I f   n o t   s p e c i f i e d ,   t h i s   w i l l   d e f a u l t   t o   t h e   t i m e   z o n e   o f   t h e   k u b e - c o n t r o l l e r - m a n a g e r   p r o c e s s .   T h e   s e t   o f   v a l i d   t i m e   z ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20196"
  },
  {
    "question": "What is CronJobStatus?",
    "answer": "C r o n J o b S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t e   o f   a   c r o n   j o b .   a c t i v e   ( [ ] O b j e c t R e f e r e n c e ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A   l i s t   o f   p o i n t e r s   t o   c u r r e n t l y   r u n n i n g   j o b s . l a s t S c h e d u l e T i m e   ( T i m e ) I n f o r m a t i o n   w h e n   w a s   t h e   l a s t   t i m e   t h e   j o b   w a s   s u c c e s s f u l l y   s c h e d u l e d . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . l a s t S u c c e s s f u l T i m e   ( T i m e ) I n f o r m a t i o n   w h e n   w a s   t h e   l a s t   t i m e   t h e   j o b   s u c c e s s f u l l y   c o m p l e t e d . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s .   a c t i v e   ( [ ] O b j e c t R e f e r e n c e )   A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e   A   l i s t   o f   p o i n t e r s   t o   c u r r e n t l y   r u n n i n g   j o b s .   l a s t S c h e d u l e T i m e   ( T i m e )   I n f o r m a t i o n   w h e n   w a s   t h e   l a s t   t i m e   t h e   j o b   w a s   s u c c e s s f u l l y   s c h e d u l e d .   T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20197"
  },
  {
    "question": "What is CronJobList?",
    "answer": "C r o n J o b L i s t   i s   a   c o l l e c t i o n   o f   c r o n   j o b s .   a p i V e r s i o n :   b a t c h / v 1 k i n d :   C r o n J o b L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] C r o n J o b ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   C r o n J o b s .   a p i V e r s i o n :   b a t c h / v 1   k i n d :   C r o n J o b L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] C r o n J o b ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   C r o n J o b s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20198"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20199"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C r o n J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C r o n J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20200"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20201"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20202"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C r o n J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C r o n J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20203"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20204"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20205"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20206"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20207"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / c r o n j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20208"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20209"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20210"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20211"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C r o n J o b ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C r o n J o b ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20212"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b ) :   O K   2 0 1   ( C r o n J o b ) :   C r e a t e d   2 0 2   ( C r o n J o b ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20213"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20214"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C r o n J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C r o n J o b ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C r o n J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C r o n J o b ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20215"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b ) :   O K   2 0 1   ( C r o n J o b ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20216"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20217"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C r o n J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C r o n J o b ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C r o n J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C r o n J o b ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20218"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b ) :   O K   2 0 1   ( C r o n J o b ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20219"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20220"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C r o n J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C r o n J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20221"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b ) :   O K   2 0 1   ( C r o n J o b ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20222"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20223"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C r o n J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C r o n J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20224"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b ) :   O K   2 0 1   ( C r o n J o b ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20225"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20226"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C r o n J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C r o n J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20227"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20228"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20229"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20230"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20231"
  },
  {
    "question": "What is 1.12 - HorizontalPodAutoscaler?",
    "answer": "a p i V e r s i o n :   a u t o s c a l i n g / v 1   i m p o r t   \" k 8 s . i o / a p i / a u t o s c a l i n g / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20232"
  },
  {
    "question": "What is HorizontalPodAutoscaler?",
    "answer": "c o n f i g u r a t i o n   o f   a   h o r i z o n t a l   p o d   a u t o s c a l e r .   a p i V e r s i o n :   a u t o s c a l i n g / v 1 k i n d :   H o r i z o n t a l P o d A u t o s c a l e r m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( H o r i z o n t a l P o d A u t o s c a l e r S p e c ) s p e c   d e f i n e s   t h e   b e h a v i o u r   o f   a u t o s c a l e r .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s . s t a t u s   ( H o r i z o n t a l P o d A u t o s c a l e r S t a t u s ) s t a t u s   i s   t h e   c u r r e n t   i n f o r m a t i o n   a b o u t   t h e   a u t o s c a l e r .   a p i V e r s i o n :   a u t o s c a l i n g / v 1   k i n d :   H o r i z o n t a l P o d A u t o s c a l e r   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( H o r i z o n t a l P o d A u t o s c a l e r S p e c )   s p e c   d e f i n e s   t h e   b e h a v i o u r   o f   a u t o s c a l e r .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s .   s t a t u s   ( H o r i z o n t a l P o d A u t o s c a l e r S t a t u s )   s t a t u s   i s   t h e   c u r r e n t   i n f o r m a t i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20233"
  },
  {
    "question": "What is HorizontalPodAutoscalerSpec?",
    "answer": "s p e c i f i c a t i o n   o f   a   h o r i z o n t a l   p o d   a u t o s c a l e r .   m a x R e p l i c a s   ( i n t 3 2 ) ,   r e q u i r e d m a x R e p l i c a s   i s   t h e   u p p e r   l i m i t   f o r   t h e   n u m b e r   o f   p o d s   t h a t   c a n   b e   s e t   b y   t h e   a u t o s c a l e r ;   c a n n o t   b e   s m a l l e r   t h a n   M i n R e p l i c a s . s c a l e T a r g e t R e f   ( C r o s s V e r s i o n O b j e c t R e f e r e n c e ) ,   r e q u i r e d r e f e r e n c e   t o   s c a l e d   r e s o u r c e ;   h o r i z o n t a l   p o d   a u t o s c a l e r   w i l l   l e a r n   t h e   c u r r e n t   r e s o u r c e   c o n s u m p t i o n   a n d   w i l l   s e t   t h e   d e s i r e d   n u m b e r   o f   p o d s   b y   u s i n g   i t s   S c a l e   s u b r e s o u r c e . C r o s s V e r s i o n O b j e c t R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   i d e n t i f y   t h e   r e f e r r e d   r e s o u r c e . s c a l e T a r g e t R e f . k i n d   ( s t r i n g ) ,   r e q u i r e d k i n d   i s   t h e   k i n d   o f   t h e   r e f e r e n t ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s s c a l e T a r g e t R e f . n a m e   ( s t r i n g ) ,   r e q u i r e d n a m e   i s   t h e   n a m e   o f   t h e   r e f e r e n t ;   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s / # n a m e s s c a l e T a r g e t R e f . a p i V e r s i o n   ( s t r i n g ) a p i V e r s i o n   i s   t h e   A P I   v e r s i o n   o f   t h e   r e f e r e n t m i n R e p l i c a s   ( i n t 3 2 ) m i n R e p l i c a s   i s   t h e   l o w e r   l i m i t   f o r   t h e   n u ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20234"
  },
  {
    "question": "What is HorizontalPodAutoscalerStatus?",
    "answer": "c u r r e n t   s t a t u s   o f   a   h o r i z o n t a l   p o d   a u t o s c a l e r   c u r r e n t R e p l i c a s   ( i n t 3 2 ) ,   r e q u i r e d c u r r e n t R e p l i c a s   i s   t h e   c u r r e n t   n u m b e r   o f   r e p l i c a s   o f   p o d s   m a n a g e d   b y   t h i s   a u t o s c a l e r . d e s i r e d R e p l i c a s   ( i n t 3 2 ) ,   r e q u i r e d d e s i r e d R e p l i c a s   i s   t h e   d e s i r e d   n u m b e r   o f   r e p l i c a s   o f   p o d s   m a n a g e d   b y   t h i s   a u t o s c a l e r . c u r r e n t C P U U t i l i z a t i o n P e r c e n t a g e   ( i n t 3 2 ) c u r r e n t C P U U t i l i z a t i o n P e r c e n t a g e   i s   t h e   c u r r e n t   a v e r a g e   C P U   u t i l i z a t i o n   o v e r   a l l   p o d s ,   r e p r e s e n t e d   a s   a   p e r c e n t a g e   o f   r e q u e s t e d   C P U ,   e . g .   7 0   m e a n s   t h a t   a n   a v e r a g e   p o d   i s   u s i n g   n o w   7 0 %   o f   i t s   r e q u e s t e d   C P U . l a s t S c a l e T i m e   ( T i m e ) l a s t S c a l e T i m e   i s   t h e   l a s t   t i m e   t h e   H o r i z o n t a l P o d A u t o s c a l e r   s c a l e d   t h e   n u m b e r   o f   p o d s ;   u s e d   b y   t h e   a u t o s c a l e r   t o   c o n t r o l   h o w   o f t e n   t h e   n u m b e r   o f   p o d s   i s   c h a n g e d . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . o b s e r v e d G e n e r a t i o n   ( i n t 6 4 ) o b s e r v e d G e n e r a t i o n   i s   t h e   m o s t   r e c e n t   g e n e r a t i o n   o b s e r v e d   b y   t h i s   a u t o s c a l e r .   c u r r e n t R e p l i c a s   ( i n t 3 ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20235"
  },
  {
    "question": "What is HorizontalPodAutoscalerList?",
    "answer": "l i s t   o f   h o r i z o n t a l   p o d   a u t o s c a l e r   o b j e c t s .   a p i V e r s i o n :   a u t o s c a l i n g / v 1 k i n d :   H o r i z o n t a l P o d A u t o s c a l e r L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a . i t e m s   ( [ ] H o r i z o n t a l P o d A u t o s c a l e r ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   h o r i z o n t a l   p o d   a u t o s c a l e r   o b j e c t s .   a p i V e r s i o n :   a u t o s c a l i n g / v 1   k i n d :   H o r i z o n t a l P o d A u t o s c a l e r L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   i t e m s   ( [ ] H o r i z o n t a l P o d A u t o s c a l e r ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   h o r i z o n t a l   p o d   a u t o s c a l e r   o b j e c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20236"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20237"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20238"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20239"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20240"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20241"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20242"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20243"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20244"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20245"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 1 / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20246"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20247"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20248"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20249"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20250"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   2 0 2   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20251"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20252"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20253"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20254"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20255"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20256"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20257"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20258"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20259"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20260"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20261"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20262"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20263"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20264"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20265"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20266"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20267"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20268"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20269"
  },
  {
    "question": "What is 1.13 - HorizontalPodAutoscaler?",
    "answer": "a p i V e r s i o n :   a u t o s c a l i n g / v 2   i m p o r t   \" k 8 s . i o / a p i / a u t o s c a l i n g / v 2 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20270"
  },
  {
    "question": "What is HorizontalPodAutoscaler?",
    "answer": "H o r i z o n t a l P o d A u t o s c a l e r   i s   t h e   c o n f i g u r a t i o n   f o r   a   h o r i z o n t a l   p o d   a u t o s c a l e r ,   w h i c h   a u t o m a t i c a l l y   m a n a g e s   t h e   r e p l i c a   c o u n t   o f   a n y   r e s o u r c e   i m p l e m e n t i n g   t h e   s c a l e   s u b r e s o u r c e   b a s e d   o n   t h e   m e t r i c s   s p e c i f i e d .   a p i V e r s i o n :   a u t o s c a l i n g / v 2 k i n d :   H o r i z o n t a l P o d A u t o s c a l e r m e t a d a t a   ( O b j e c t M e t a ) m e t a d a t a   i s   t h e   s t a n d a r d   o b j e c t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( H o r i z o n t a l P o d A u t o s c a l e r S p e c ) s p e c   i s   t h e   s p e c i f i c a t i o n   f o r   t h e   b e h a v i o u r   o f   t h e   a u t o s c a l e r .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s . s t a t u s   ( H o r i z o n t a l P o d A u t o s c a l e r S t a t u s ) s t a t u s   i s   t h e   c u r r e n t   i n f o r m a t i o n   a b o u t   t h e   a u t o s c a l e r .   a p i V e r s i o n :   a u t o s c a l i n g / v 2   k i n d :   H o r i z o n t a l P o d A u t o s c a l e r   m e t a d a t a   ( O b j e c t M e t a )   m e t a d a t a   i s   t h e   s t a n d a r d   o b j e c t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( H o r i z o n t a l P o d A u t o s c a l e r S p e c )   s p e c   i s   t h ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20271"
  },
  {
    "question": "What is HorizontalPodAutoscalerSpec?",
    "answer": "H o r i z o n t a l P o d A u t o s c a l e r S p e c   d e s c r i b e s   t h e   d e s i r e d   f u n c t i o n a l i t y   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r .   m a x R e p l i c a s   ( i n t 3 2 ) ,   r e q u i r e d m a x R e p l i c a s   i s   t h e   u p p e r   l i m i t   f o r   t h e   n u m b e r   o f   r e p l i c a s   t o   w h i c h   t h e   a u t o s c a l e r   c a n   s c a l e   u p .   I t   c a n n o t   b e   l e s s   t h a t   m i n R e p l i c a s . s c a l e T a r g e t R e f   ( C r o s s V e r s i o n O b j e c t R e f e r e n c e ) ,   r e q u i r e d s c a l e T a r g e t R e f   p o i n t s   t o   t h e   t a r g e t   r e s o u r c e   t o   s c a l e ,   a n d   i s   u s e d   t o   t h e   p o d s   f o r   w h i c h   m e t r i c s   s h o u l d   b e   c o l l e c t e d ,   a s   w e l l   a s   t o   a c t u a l l y   c h a n g e   t h e   r e p l i c a   c o u n t . C r o s s V e r s i o n O b j e c t R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   i d e n t i f y   t h e   r e f e r r e d   r e s o u r c e . s c a l e T a r g e t R e f . k i n d   ( s t r i n g ) ,   r e q u i r e d k i n d   i s   t h e   k i n d   o f   t h e   r e f e r e n t ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s s c a l e T a r g e t R e f . n a m e   ( s t r i n g ) ,   r e q u i r e d n a m e   i s   t h e   n a m e   o f   t h e   r e f e r e n t ;   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s / # n a m e s s c a l e T a r g e t R e f . a p i V e r s i o n   ( s t r i n g ) a p i V e r s i o n   i s   t h e   A P I   v e r s i o n   o f   t h e   r e f e r e n t m i n R e p l i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20272"
  },
  {
    "question": "What is HorizontalPodAutoscalerStatus?",
    "answer": "H o r i z o n t a l P o d A u t o s c a l e r S t a t u s   d e s c r i b e s   t h e   c u r r e n t   s t a t u s   o f   a   h o r i z o n t a l   p o d   a u t o s c a l e r .   d e s i r e d R e p l i c a s   ( i n t 3 2 ) ,   r e q u i r e d d e s i r e d R e p l i c a s   i s   t h e   d e s i r e d   n u m b e r   o f   r e p l i c a s   o f   p o d s   m a n a g e d   b y   t h i s   a u t o s c a l e r ,   a s   l a s t   c a l c u l a t e d   b y   t h e   a u t o s c a l e r . c o n d i t i o n s   ( [ ] H o r i z o n t a l P o d A u t o s c a l e r C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e c o n d i t i o n s   i s   t h e   s e t   o f   c o n d i t i o n s   r e q u i r e d   f o r   t h i s   a u t o s c a l e r   t o   s c a l e   i t s   t a r g e t ,   a n d   i n d i c a t e s   w h e t h e r   o r   n o t   t h o s e   c o n d i t i o n s   a r e   m e t . H o r i z o n t a l P o d A u t o s c a l e r C o n d i t i o n   d e s c r i b e s   t h e   s t a t e   o f   a   H o r i z o n t a l P o d A u t o s c a l e r   a t   a   c e r t a i n   p o i n t . c o n d i t i o n s . s t a t u s   ( s t r i n g ) ,   r e q u i r e d s t a t u s   i s   t h e   s t a t u s   o f   t h e   c o n d i t i o n   ( T r u e ,   F a l s e ,   U n k n o w n ) c o n d i t i o n s . t y p e   ( s t r i n g ) ,   r e q u i r e d t y p e   d e s c r i b e s   t h e   c u r r e n t   c o n d i t i o n c o n d i t i o n s . l a s t T r a n s i t i o n T i m e   ( T i m e ) l a s t T r a n s i t i o n T i m e   i s   t h e   l a s t   t i m e   t h e   c o n d i t i o n   t r a n s i t i o n e d   f r o m   o n e   s t a t u s   t o   a n o t h e r T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20273"
  },
  {
    "question": "What is HorizontalPodAutoscalerList?",
    "answer": "H o r i z o n t a l P o d A u t o s c a l e r L i s t   i s   a   l i s t   o f   h o r i z o n t a l   p o d   a u t o s c a l e r   o b j e c t s .   a p i V e r s i o n :   a u t o s c a l i n g / v 2 k i n d :   H o r i z o n t a l P o d A u t o s c a l e r L i s t m e t a d a t a   ( L i s t M e t a ) m e t a d a t a   i s   t h e   s t a n d a r d   l i s t   m e t a d a t a . i t e m s   ( [ ] H o r i z o n t a l P o d A u t o s c a l e r ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   h o r i z o n t a l   p o d   a u t o s c a l e r   o b j e c t s .   a p i V e r s i o n :   a u t o s c a l i n g / v 2   k i n d :   H o r i z o n t a l P o d A u t o s c a l e r L i s t   m e t a d a t a   ( L i s t M e t a )   m e t a d a t a   i s   t h e   s t a n d a r d   l i s t   m e t a d a t a .   i t e m s   ( [ ] H o r i z o n t a l P o d A u t o s c a l e r ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   h o r i z o n t a l   p o d   a u t o s c a l e r   o b j e c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20274"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20275"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20276"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20277"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20278"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20279"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20280"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20281"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20282"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20283"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 2 / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20284"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20285"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20286"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20287"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20288"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   2 0 2   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20289"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20290"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20291"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20292"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20293"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20294"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20295"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20296"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20297"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20298"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20299"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20300"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20301"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20302"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20303"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20304"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20305"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20306"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20307"
  },
  {
    "question": "What is 1.14 - PriorityClass?",
    "answer": "a p i V e r s i o n :   s c h e d u l i n g . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / s c h e d u l i n g / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20308"
  },
  {
    "question": "What is PriorityClass?",
    "answer": "P r i o r i t y C l a s s   d e f i n e s   m a p p i n g   f r o m   a   p r i o r i t y   c l a s s   n a m e   t o   t h e   p r i o r i t y   i n t e g e r   v a l u e .   T h e   v a l u e   c a n   b e   a n y   v a l i d   i n t e g e r .   a p i V e r s i o n :   s c h e d u l i n g . k 8 s . i o / v 1 k i n d :   P r i o r i t y C l a s s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a v a l u e   ( i n t 3 2 ) ,   r e q u i r e d v a l u e   r e p r e s e n t s   t h e   i n t e g e r   v a l u e   o f   t h i s   p r i o r i t y   c l a s s .   T h i s   i s   t h e   a c t u a l   p r i o r i t y   t h a t   p o d s   r e c e i v e   w h e n   t h e y   h a v e   t h e   n a m e   o f   t h i s   c l a s s   i n   t h e i r   p o d   s p e c . d e s c r i p t i o n   ( s t r i n g ) d e s c r i p t i o n   i s   a n   a r b i t r a r y   s t r i n g   t h a t   u s u a l l y   p r o v i d e s   g u i d e l i n e s   o n   w h e n   t h i s   p r i o r i t y   c l a s s   s h o u l d   b e   u s e d . g l o b a l D e f a u l t   ( b o o l e a n ) g l o b a l D e f a u l t   s p e c i f i e s   w h e t h e r   t h i s   P r i o r i t y C l a s s   s h o u l d   b e   c o n s i d e r e d   a s   t h e   d e f a u l t   p r i o r i t y   f o r   p o d s   t h a t   d o   n o t   h a v e   a n y   p r i o r i t y   c l a s s .   O n l y   o n e   P r i o r i t y C l a s s   c a n   b e   m a r k e d   a s   g l o b a l D e f a u l t .   H o w e v e r ,   i f   m o r e   t h a n   o n e   P r i o r i t y C l a s s e s   e x i s t s   w i t h   t h e i r   g l o b a l D e f a u l t   f i e l d   s e t   t o   t r u e ,   t h e   s m a l l e s t   v a l u e   o f   s u c h   g l o b a l   d e f a u l t   P r i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20309"
  },
  {
    "question": "What is PriorityClassList?",
    "answer": "P r i o r i t y C l a s s L i s t   i s   a   c o l l e c t i o n   o f   p r i o r i t y   c l a s s e s .   a p i V e r s i o n :   s c h e d u l i n g . k 8 s . i o / v 1 k i n d :   P r i o r i t y C l a s s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] P r i o r i t y C l a s s ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   P r i o r i t y C l a s s e s   a p i V e r s i o n :   s c h e d u l i n g . k 8 s . i o / v 1   k i n d :   P r i o r i t y C l a s s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] P r i o r i t y C l a s s ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   P r i o r i t y C l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20310"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20311"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y C l a s s p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y C l a s s   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20312"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y C l a s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20313"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20314"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20315"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y C l a s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20316"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20317"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   P r i o r i t y C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   P r i o r i t y C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20318"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y C l a s s ) :   O K   2 0 1   ( P r i o r i t y C l a s s ) :   C r e a t e d   2 0 2   ( P r i o r i t y C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20319"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20320"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y C l a s s b o d y :   P r i o r i t y C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y C l a s s   b o d y :   P r i o r i t y C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20321"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y C l a s s ) :   O K   2 0 1   ( P r i o r i t y C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20322"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20323"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y C l a s s b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y C l a s s   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20324"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y C l a s s ) :   O K   2 0 1   ( P r i o r i t y C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20325"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20326"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y C l a s s b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y C l a s s   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20327"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20328"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20329"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20330"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20331"
  },
  {
    "question": "What is 1.15 - DeviceTaintRule v1alpha3?",
    "answer": "a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 a l p h a 3   i m p o r t   \" k 8 s . i o / a p i / r e s o u r c e / v 1 a l p h a 3 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20332"
  },
  {
    "question": "What is DeviceTaintRule?",
    "answer": "D e v i c e T a i n t R u l e   a d d s   o n e   t a i n t   t o   a l l   d e v i c e s   w h i c h   m a t c h   t h e   s e l e c t o r .   T h i s   h a s   t h e   s a m e   e f f e c t   a s   i f   t h e   t a i n t   w a s   s p e c i f i e d   d i r e c t l y   i n   t h e   R e s o u r c e S l i c e   b y   t h e   D R A   d r i v e r .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 k i n d :   D e v i c e T a i n t R u l e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a s p e c   ( D e v i c e T a i n t R u l e S p e c ) ,   r e q u i r e d S p e c   s p e c i f i e s   t h e   s e l e c t o r   a n d   o n e   t a i n t . C h a n g i n g   t h e   s p e c   a u t o m a t i c a l l y   i n c r e m e n t s   t h e   m e t a d a t a . g e n e r a t i o n   n u m b e r .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 a l p h a 3   k i n d :   D e v i c e T a i n t R u l e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t   m e t a d a t a   s p e c   ( D e v i c e T a i n t R u l e S p e c ) ,   r e q u i r e d   S p e c   s p e c i f i e s   t h e   s e l e c t o r   a n d   o n e   t a i n t .   C h a n g i n g   t h e   s p e c   a u t o m a t i c a l l y   i n c r e m e n t s   t h e   m e t a d a t a . g e n e r a t i o n   n u m b e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20333"
  },
  {
    "question": "What is DeviceTaintRuleSpec?",
    "answer": "D e v i c e T a i n t R u l e S p e c   s p e c i f i e s   t h e   s e l e c t o r   a n d   o n e   t a i n t .   t a i n t   ( D e v i c e T a i n t ) ,   r e q u i r e d T h e   t a i n t   t h a t   g e t s   a p p l i e d   t o   m a t c h i n g   d e v i c e s . T h e   d e v i c e   t h i s   t a i n t   i s   a t t a c h e d   t o   h a s   t h e   \" e f f e c t \"   o n   a n y   c l a i m   w h i c h   d o e s   n o t   t o l e r a t e   t h e   t a i n t   a n d ,   t h r o u g h   t h e   c l a i m ,   t o   p o d s   u s i n g   t h e   c l a i m . t a i n t . e f f e c t   ( s t r i n g ) ,   r e q u i r e d T h e   e f f e c t   o f   t h e   t a i n t   o n   c l a i m s   t h a t   d o   n o t   t o l e r a t e   t h e   t a i n t   a n d   t h r o u g h   s u c h   c l a i m s   o n   t h e   p o d s   u s i n g   t h e m .   V a l i d   e f f e c t s   a r e   N o S c h e d u l e   a n d   N o E x e c u t e .   P r e f e r N o S c h e d u l e   a s   u s e d   f o r   n o d e s   i s   n o t   v a l i d   h e r e . t a i n t . k e y   ( s t r i n g ) ,   r e q u i r e d T h e   t a i n t   k e y   t o   b e   a p p l i e d   t o   a   d e v i c e .   M u s t   b e   a   l a b e l   n a m e . t a i n t . t i m e A d d e d   ( T i m e ) T i m e A d d e d   r e p r e s e n t s   t h e   t i m e   a t   w h i c h   t h e   t a i n t   w a s   a d d e d .   A d d e d   a u t o m a t i c a l l y   d u r i n g   c r e a t e   o r   u p d a t e   i f   n o t   s e t . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . t a i n t . v a l u e   ( s t r i n g ) T h e   t a i n t   v a l u e   c o r r e s p o n d i n g   t o   t h e   t a i n t   k e y .   M u s t   b e   a   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20334"
  },
  {
    "question": "What is DeviceTaintRuleList?",
    "answer": "D e v i c e T a i n t R u l e L i s t   i s   a   c o l l e c t i o n   o f   D e v i c e T a i n t R u l e s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 k i n d :   D e v i c e T a i n t R u l e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a i t e m s   ( [ ] D e v i c e T a i n t R u l e ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   D e v i c e T a i n t R u l e s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 a l p h a 3   k i n d :   D e v i c e T a i n t R u l e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   i t e m s   ( [ ] D e v i c e T a i n t R u l e ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   D e v i c e T a i n t R u l e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20335"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20336"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e v i c e T a i n t R u l e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e v i c e T a i n t R u l e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20337"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e T a i n t R u l e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20338"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20339"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20340"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e T a i n t R u l e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20341"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20342"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e v i c e T a i n t R u l e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   D e v i c e T a i n t R u l e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20343"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e T a i n t R u l e ) :   O K   2 0 1   ( D e v i c e T a i n t R u l e ) :   C r e a t e d   2 0 2   ( D e v i c e T a i n t R u l e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20344"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20345"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e v i c e T a i n t R u l e b o d y :   D e v i c e T a i n t R u l e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e v i c e T a i n t R u l e   b o d y :   D e v i c e T a i n t R u l e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20346"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e T a i n t R u l e ) :   O K   2 0 1   ( D e v i c e T a i n t R u l e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20347"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20348"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e v i c e T a i n t R u l e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e v i c e T a i n t R u l e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20349"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e T a i n t R u l e ) :   O K   2 0 1   ( D e v i c e T a i n t R u l e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20350"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20351"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e v i c e T a i n t R u l e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e v i c e T a i n t R u l e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20352"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e T a i n t R u l e ) :   O K   2 0 2   ( D e v i c e T a i n t R u l e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20353"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20354"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20355"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20356"
  },
  {
    "question": "What is 1.16 - ResourceClaim?",
    "answer": "a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / r e s o u r c e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20357"
  },
  {
    "question": "What is ResourceClaim?",
    "answer": "R e s o u r c e C l a i m   d e s c r i b e s   a   r e q u e s t   f o r   a c c e s s   t o   r e s o u r c e s   i n   t h e   c l u s t e r ,   f o r   u s e   b y   w o r k l o a d s .   F o r   e x a m p l e ,   i f   a   w o r k l o a d   n e e d s   a n   a c c e l e r a t o r   d e v i c e   w i t h   s p e c i f i c   p r o p e r t i e s ,   t h i s   i s   h o w   t h a t   r e q u e s t   i s   e x p r e s s e d .   T h e   s t a t u s   s t a n z a   t r a c k s   w h e t h e r   t h i s   c l a i m   h a s   b e e n   s a t i s f i e d   a n d   w h a t   s p e c i f i c   r e s o u r c e s   h a v e   b e e n   a l l o c a t e d .   T h i s   i s   a n   a l p h a   t y p e   a n d   r e q u i r e s   e n a b l i n g   t h e   D y n a m i c R e s o u r c e A l l o c a t i o n   f e a t u r e   g a t e .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 k i n d :   R e s o u r c e C l a i m m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a s p e c   ( R e s o u r c e C l a i m S p e c ) ,   r e q u i r e d S p e c   d e s c r i b e s   w h a t   i s   b e i n g   r e q u e s t e d   a n d   h o w   t o   c o n f i g u r e   i t .   T h e   s p e c   i s   i m m u t a b l e . s t a t u s   ( R e s o u r c e C l a i m S t a t u s ) S t a t u s   d e s c r i b e s   w h e t h e r   t h e   c l a i m   i s   r e a d y   t o   u s e   a n d   w h a t   h a s   b e e n   a l l o c a t e d .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   R e s o u r c e C l a i m   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t   m e t a d a t a   s p e c   ( R e s o u r c e C l a i m S p e c ) ,   r e q u i r e d   S p e c   d e s c r i b e s   w h a t   i s   b e i n g   r e q u e s t e d   a n d   h o w   t o   c o n f i g u r e   i t .   T h e   s p e c   i s   i m m u t a b l e .   s t a t u s   ( R e s o u r c e C l a i m S t a t u s )   S t a t u s   d e s c r i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20358"
  },
  {
    "question": "What is ResourceClaimSpec?",
    "answer": "R e s o u r c e C l a i m S p e c   d e f i n e s   w h a t   i s   b e i n g   r e q u e s t e d   i n   a   R e s o u r c e C l a i m   a n d   h o w   t o   c o n f i g u r e   i t .   d e v i c e s   ( D e v i c e C l a i m ) D e v i c e s   d e f i n e s   h o w   t o   r e q u e s t   d e v i c e s . D e v i c e C l a i m   d e f i n e s   h o w   t o   r e q u e s t   d e v i c e s   w i t h   a   R e s o u r c e C l a i m . d e v i c e s . c o n f i g   ( [ ] D e v i c e C l a i m C o n f i g u r a t i o n ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e T h i s   f i e l d   h o l d s   c o n f i g u r a t i o n   f o r   m u l t i p l e   p o t e n t i a l   d r i v e r s   w h i c h   c o u l d   s a t i s f y   r e q u e s t s   i n   t h i s   c l a i m .   I t   i s   i g n o r e d   w h i l e   a l l o c a t i n g   t h e   c l a i m . D e v i c e C l a i m C o n f i g u r a t i o n   i s   u s e d   f o r   c o n f i g u r a t i o n   p a r a m e t e r s   i n   D e v i c e C l a i m . d e v i c e s . c o n f i g . o p a q u e   ( O p a q u e D e v i c e C o n f i g u r a t i o n ) O p a q u e   p r o v i d e s   d r i v e r - s p e c i f i c   c o n f i g u r a t i o n   p a r a m e t e r s . O p a q u e D e v i c e C o n f i g u r a t i o n   c o n t a i n s   c o n f i g u r a t i o n   p a r a m e t e r s   f o r   a   d r i v e r   i n   a   f o r m a t   d e f i n e d   b y   t h e   d r i v e r   v e n d o r . d e v i c e s . c o n f i g . o p a q u e . d r i v e r   ( s t r i n g ) ,   r e q u i r e d D r i v e r   i s   u s e d   t o   d e t e r m i n e   w h i c h   k u b e l e t   p l u g i n   n e e d s   t o   b e   p a s s e d   t h e s e   c o n f i g u r a t i o n   p a r a m e t e r s . A n   a d m i s s i o n   p o l i c y   p r o v i d e d   b y   t h e   d r i v e r   d e v e l o p e r   c o u l d   u s e   t h i s   t o   d e c i d e   w h e t h e r   i t   n e e d s   t o   v a l i d a t e   t h e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20359"
  },
  {
    "question": "What is ResourceClaimStatus?",
    "answer": "R e s o u r c e C l a i m S t a t u s   t r a c k s   w h e t h e r   t h e   r e s o u r c e   h a s   b e e n   a l l o c a t e d   a n d   w h a t   t h e   r e s u l t   o f   t h a t   w a s .   a l l o c a t i o n   ( A l l o c a t i o n R e s u l t ) A l l o c a t i o n   i s   s e t   o n c e   t h e   c l a i m   h a s   b e e n   a l l o c a t e d   s u c c e s s f u l l y . A l l o c a t i o n R e s u l t   c o n t a i n s   a t t r i b u t e s   o f   a n   a l l o c a t e d   r e s o u r c e . a l l o c a t i o n . a l l o c a t i o n T i m e s t a m p   ( T i m e ) A l l o c a t i o n T i m e s t a m p   s t o r e s   t h e   t i m e   w h e n   t h e   r e s o u r c e s   w e r e   a l l o c a t e d .   T h i s   f i e l d   i s   n o t   g u a r a n t e e d   t o   b e   s e t ,   i n   w h i c h   c a s e   t h a t   t i m e   i s   u n k n o w n . T h i s   i s   a n   a l p h a   f i e l d   a n d   r e q u i r e s   e n a b l i n g   t h e   D R A D e v i c e B i n d i n g C o n d i t i o n s   a n d   D R A R e s o u r c e C l a i m D e v i c e S t a t u s   f e a t u r e   g a t e . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . a l l o c a t i o n . d e v i c e s   ( D e v i c e A l l o c a t i o n R e s u l t ) D e v i c e s   i s   t h e   r e s u l t   o f   a l l o c a t i n g   d e v i c e s . D e v i c e A l l o c a t i o n R e s u l t   i s   t h e   r e s u l t   o f   a l l o c a t i n g   d e v i c e s . a l l o c a t i o n . d e v i c e s . c o n f i g   ( [ ] D e v i c e A l l o c a t i o n C o n f i g u r a t i o n ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e T h i s   f i e l d   i s   a   c o m b i n a t i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20360"
  },
  {
    "question": "What is ResourceClaimList?",
    "answer": "R e s o u r c e C l a i m L i s t   i s   a   c o l l e c t i o n   o f   c l a i m s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 k i n d :   R e s o u r c e C l a i m L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a i t e m s   ( [ ] R e s o u r c e C l a i m ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   r e s o u r c e   c l a i m s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   R e s o u r c e C l a i m L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   i t e m s   ( [ ] R e s o u r c e C l a i m ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   r e s o u r c e   c l a i m s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20361"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20362"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20363"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20364"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20365"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20366"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20367"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20368"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20369"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20370"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20371"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20372"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20373"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20374"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e s o u r c e C l a i m ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e s o u r c e C l a i m ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20375"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m ) :   O K   2 0 1   ( R e s o u r c e C l a i m ) :   C r e a t e d   2 0 2   ( R e s o u r c e C l a i m ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20376"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20377"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e s o u r c e C l a i m ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e s o u r c e C l a i m ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20378"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m ) :   O K   2 0 1   ( R e s o u r c e C l a i m ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20379"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20380"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e s o u r c e C l a i m ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e s o u r c e C l a i m ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20381"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m ) :   O K   2 0 1   ( R e s o u r c e C l a i m ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20382"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20383"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20384"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m ) :   O K   2 0 1   ( R e s o u r c e C l a i m ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20385"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20386"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20387"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m ) :   O K   2 0 1   ( R e s o u r c e C l a i m ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20388"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20389"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20390"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m ) :   O K   2 0 2   ( R e s o u r c e C l a i m ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20391"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20392"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20393"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20394"
  },
  {
    "question": "What is 1.17 - ResourceClaimTemplate?",
    "answer": "a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / r e s o u r c e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20395"
  },
  {
    "question": "What is ResourceClaimTemplate?",
    "answer": "R e s o u r c e C l a i m T e m p l a t e   i s   u s e d   t o   p r o d u c e   R e s o u r c e C l a i m   o b j e c t s .   T h i s   i s   a n   a l p h a   t y p e   a n d   r e q u i r e s   e n a b l i n g   t h e   D y n a m i c R e s o u r c e A l l o c a t i o n   f e a t u r e   g a t e .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 k i n d :   R e s o u r c e C l a i m T e m p l a t e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a s p e c   ( R e s o u r c e C l a i m T e m p l a t e S p e c ) ,   r e q u i r e d D e s c r i b e s   t h e   R e s o u r c e C l a i m   t h a t   i s   t o   b e   g e n e r a t e d . T h i s   f i e l d   i s   i m m u t a b l e .   A   R e s o u r c e C l a i m   w i l l   g e t   c r e a t e d   b y   t h e   c o n t r o l   p l a n e   f o r   a   P o d   w h e n   n e e d e d   a n d   t h e n   n o t   g e t   u p d a t e d   a n y m o r e .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   R e s o u r c e C l a i m T e m p l a t e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t   m e t a d a t a   s p e c   ( R e s o u r c e C l a i m T e m p l a t e S p e c ) ,   r e q u i r e d   D e s c r i b e s   t h e   R e s o u r c e C l a i m   t h a t   i s   t o   b e   g e n e r a t e d .   T h i s   f i e l d   i s   i m m u t a b l e .   A   R e s o u r c e C l a i m   w i l l   g e t   c r e a t e d   b y   t h e   c o n t r o l   p l a n e   f o r   a   P o d   w h e n   n e e d e d   a n d   t h e n   n o t   g e t   u p d a t e d   a n y m o r e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20396"
  },
  {
    "question": "What is ResourceClaimTemplateSpec?",
    "answer": "R e s o u r c e C l a i m T e m p l a t e S p e c   c o n t a i n s   t h e   m e t a d a t a   a n d   f i e l d s   f o r   a   R e s o u r c e C l a i m .   s p e c   ( R e s o u r c e C l a i m S p e c ) ,   r e q u i r e d S p e c   f o r   t h e   R e s o u r c e C l a i m .   T h e   e n t i r e   c o n t e n t   i s   c o p i e d   u n c h a n g e d   i n t o   t h e   R e s o u r c e C l a i m   t h a t   g e t s   c r e a t e d   f r o m   t h i s   t e m p l a t e .   T h e   s a m e   f i e l d s   a s   i n   a   R e s o u r c e C l a i m   a r e   a l s o   v a l i d   h e r e . m e t a d a t a   ( O b j e c t M e t a ) O b j e c t M e t a   m a y   c o n t a i n   l a b e l s   a n d   a n n o t a t i o n s   t h a t   w i l l   b e   c o p i e d   i n t o   t h e   R e s o u r c e C l a i m   w h e n   c r e a t i n g   i t .   N o   o t h e r   f i e l d s   a r e   a l l o w e d   a n d   w i l l   b e   r e j e c t e d   d u r i n g   v a l i d a t i o n .   s p e c   ( R e s o u r c e C l a i m S p e c ) ,   r e q u i r e d   S p e c   f o r   t h e   R e s o u r c e C l a i m .   T h e   e n t i r e   c o n t e n t   i s   c o p i e d   u n c h a n g e d   i n t o   t h e   R e s o u r c e C l a i m   t h a t   g e t s   c r e a t e d   f r o m   t h i s   t e m p l a t e .   T h e   s a m e   f i e l d s   a s   i n   a   R e s o u r c e C l a i m   a r e   a l s o   v a l i d   h e r e .   m e t a d a t a   ( O b j e c t M e t a )   O b j e c t M e t a   m a y   c o n t a i n   l a b e l s   a n d   a n n o t a t i o n s   t h a t   w i l l   b e   c o p i e d   i n t o   t h e   R e s o u r c e C l a i m   w h e n   c r e a t i n g   i t .   N o   o t h e r   f i e l d s   a r e   a l l o w e d   a n d   w i l l   b e   r e j e c t e d   d u r i n g   v a l i d a t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20397"
  },
  {
    "question": "What is ResourceClaimTemplateList?",
    "answer": "R e s o u r c e C l a i m T e m p l a t e L i s t   i s   a   c o l l e c t i o n   o f   c l a i m   t e m p l a t e s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 k i n d :   R e s o u r c e C l a i m T e m p l a t e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a i t e m s   ( [ ] R e s o u r c e C l a i m T e m p l a t e ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   r e s o u r c e   c l a i m   t e m p l a t e s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   R e s o u r c e C l a i m T e m p l a t e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   i t e m s   ( [ ] R e s o u r c e C l a i m T e m p l a t e ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   r e s o u r c e   c l a i m   t e m p l a t e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20398"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20399"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m T e m p l a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m T e m p l a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20400"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m T e m p l a t e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20401"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20402"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20403"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m T e m p l a t e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20404"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20405"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20406"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m T e m p l a t e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20407"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20408"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e s o u r c e C l a i m T e m p l a t e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e s o u r c e C l a i m T e m p l a t e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20409"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m T e m p l a t e ) :   O K   2 0 1   ( R e s o u r c e C l a i m T e m p l a t e ) :   C r e a t e d   2 0 2   ( R e s o u r c e C l a i m T e m p l a t e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20410"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20411"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m T e m p l a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e s o u r c e C l a i m T e m p l a t e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m T e m p l a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e s o u r c e C l a i m T e m p l a t e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20412"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m T e m p l a t e ) :   O K   2 0 1   ( R e s o u r c e C l a i m T e m p l a t e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20413"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20414"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m T e m p l a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m T e m p l a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20415"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m T e m p l a t e ) :   O K   2 0 1   ( R e s o u r c e C l a i m T e m p l a t e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20416"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20417"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m T e m p l a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m T e m p l a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20418"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m T e m p l a t e ) :   O K   2 0 2   ( R e s o u r c e C l a i m T e m p l a t e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20419"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20420"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20421"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20422"
  },
  {
    "question": "What is 1.18 - ResourceSlice?",
    "answer": "a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / r e s o u r c e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20423"
  },
  {
    "question": "What is ResourceSlice?",
    "answer": "R e s o u r c e S l i c e   r e p r e s e n t s   o n e   o r   m o r e   r e s o u r c e s   i n   a   p o o l   o f   s i m i l a r   r e s o u r c e s ,   m a n a g e d   b y   a   c o m m o n   d r i v e r .   A   p o o l   m a y   s p a n   m o r e   t h a n   o n e   R e s o u r c e S l i c e ,   a n d   e x a c t l y   h o w   m a n y   R e s o u r c e S l i c e s   c o m p r i s e   a   p o o l   i s   d e t e r m i n e d   b y   t h e   d r i v e r .   A t   t h e   m o m e n t ,   t h e   o n l y   s u p p o r t e d   r e s o u r c e s   a r e   d e v i c e s   w i t h   a t t r i b u t e s   a n d   c a p a c i t i e s .   E a c h   d e v i c e   i n   a   g i v e n   p o o l ,   r e g a r d l e s s   o f   h o w   m a n y   R e s o u r c e S l i c e s ,   m u s t   h a v e   a   u n i q u e   n a m e .   T h e   R e s o u r c e S l i c e   i n   w h i c h   a   d e v i c e   g e t s   p u b l i s h e d   m a y   c h a n g e   o v e r   t i m e .   T h e   u n i q u e   i d e n t i f i e r   f o r   a   d e v i c e   i s   t h e   t u p l e   < d r i v e r   n a m e > ,   < p o o l   n a m e > ,   < d e v i c e   n a m e > .   W h e n e v e r   a   d r i v e r   n e e d s   t o   u p d a t e   a   p o o l ,   i t   i n c r e m e n t s   t h e   p o o l . S p e c . P o o l . G e n e r a t i o n   n u m b e r   a n d   u p d a t e s   a l l   R e s o u r c e S l i c e s   w i t h   t h a t   n e w   n u m b e r   a n d   n e w   r e s o u r c e   d e f i n i t i o n s .   A   c o n s u m e r   m u s t   o n l y   u s e   R e s o u r c e S l i c e s   w i t h   t h e   h i g h e s t   g e n e r a t i o n   n u m b e r   a n d   i g n o r e   a l l   o t h e r s .   W h e n   a l l o c a t i n g   a l l   r e s o u r c e s   i n   a   p o o l   m a t c h i n g   c e r t a i n   c r i t e r i a   o r   w h e n   l o o k i n g   f o r   t h e   b e s t   s o l u t i o n   a m o n g   s e v e r a l   d i f f e r e n t   a l t e r n a t i v e s ,   a   c o n s u ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20424"
  },
  {
    "question": "What is ResourceSliceSpec?",
    "answer": "R e s o u r c e S l i c e S p e c   c o n t a i n s   t h e   i n f o r m a t i o n   p u b l i s h e d   b y   t h e   d r i v e r   i n   o n e   R e s o u r c e S l i c e .   d r i v e r   ( s t r i n g ) ,   r e q u i r e d D r i v e r   i d e n t i f i e s   t h e   D R A   d r i v e r   p r o v i d i n g   t h e   c a p a c i t y   i n f o r m a t i o n .   A   f i e l d   s e l e c t o r   c a n   b e   u s e d   t o   l i s t   o n l y   R e s o u r c e S l i c e   o b j e c t s   w i t h   a   c e r t a i n   d r i v e r   n a m e . M u s t   b e   a   D N S   s u b d o m a i n   a n d   s h o u l d   e n d   w i t h   a   D N S   d o m a i n   o w n e d   b y   t h e   v e n d o r   o f   t h e   d r i v e r .   T h i s   f i e l d   i s   i m m u t a b l e . p o o l   ( R e s o u r c e P o o l ) ,   r e q u i r e d P o o l   d e s c r i b e s   t h e   p o o l   t h a t   t h i s   R e s o u r c e S l i c e   b e l o n g s   t o . R e s o u r c e P o o l   d e s c r i b e s   t h e   p o o l   t h a t   R e s o u r c e S l i c e s   b e l o n g   t o . p o o l . g e n e r a t i o n   ( i n t 6 4 ) ,   r e q u i r e d G e n e r a t i o n   t r a c k s   t h e   c h a n g e   i n   a   p o o l   o v e r   t i m e .   W h e n e v e r   a   d r i v e r   c h a n g e s   s o m e t h i n g   a b o u t   o n e   o r   m o r e   o f   t h e   r e s o u r c e s   i n   a   p o o l ,   i t   m u s t   c h a n g e   t h e   g e n e r a t i o n   i n   a l l   R e s o u r c e S l i c e s   w h i c h   a r e   p a r t   o f   t h a t   p o o l .   C o n s u m e r s   o f   R e s o u r c e S l i c e s   s h o u l d   o n l y   c o n s i d e r   r e s o u r c e s   f r o m   t h e   p o o l   w i t h   t h e   h i g h e s t   g e n e r a t i o n   n u m b e r .   T h e   g e n e r a t i o n   m a y   b e   r e s e t   b y   d r i v e r s ,   w h i c h   s h o u l d   b e   f i n e   f o r   c o n s u m e r s ,   a s s u m i n g   t h a t   a l l   R e s o u r c e S l i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20425"
  },
  {
    "question": "What is ResourceSliceList?",
    "answer": "R e s o u r c e S l i c e L i s t   i s   a   c o l l e c t i o n   o f   R e s o u r c e S l i c e s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 k i n d :   R e s o u r c e S l i c e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a i t e m s   ( [ ] R e s o u r c e S l i c e ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   r e s o u r c e   R e s o u r c e S l i c e s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   R e s o u r c e S l i c e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   i t e m s   ( [ ] R e s o u r c e S l i c e ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   r e s o u r c e   R e s o u r c e S l i c e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20426"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20427"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e S l i c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e S l i c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20428"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e S l i c e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20429"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20430"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20431"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e S l i c e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20432"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20433"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   R e s o u r c e S l i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   R e s o u r c e S l i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20434"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e S l i c e ) :   O K   2 0 1   ( R e s o u r c e S l i c e ) :   C r e a t e d   2 0 2   ( R e s o u r c e S l i c e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20435"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20436"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e S l i c e b o d y :   R e s o u r c e S l i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e S l i c e   b o d y :   R e s o u r c e S l i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20437"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e S l i c e ) :   O K   2 0 1   ( R e s o u r c e S l i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20438"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20439"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e S l i c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e S l i c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20440"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e S l i c e ) :   O K   2 0 1   ( R e s o u r c e S l i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20441"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20442"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e S l i c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e S l i c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20443"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e S l i c e ) :   O K   2 0 2   ( R e s o u r c e S l i c e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20444"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20445"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20446"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20447"
  },
  {
    "question": "What is 2.1 - Service?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20448"
  },
  {
    "question": "What is Service?",
    "answer": "S e r v i c e   i s   a   n a m e d   a b s t r a c t i o n   o f   s o f t w a r e   s e r v i c e   ( f o r   e x a m p l e ,   m y s q l )   c o n s i s t i n g   o f   l o c a l   p o r t   ( f o r   e x a m p l e   3 3 0 6 )   t h a t   t h e   p r o x y   l i s t e n s   o n ,   a n d   t h e   s e l e c t o r   t h a t   d e t e r m i n e s   w h i c h   p o d s   w i l l   a n s w e r   r e q u e s t s   s e n t   t h r o u g h   t h e   p r o x y .   a p i V e r s i o n :   v 1 k i n d :   S e r v i c e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( S e r v i c e S p e c ) S p e c   d e f i n e s   t h e   b e h a v i o r   o f   a   s e r v i c e .   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( S e r v i c e S t a t u s ) M o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   s e r v i c e .   P o p u l a t e d   b y   t h e   s y s t e m .   R e a d - o n l y .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( S e r v i c e S p e c )   S p e c   d e f i n e s   t h ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20449"
  },
  {
    "question": "What is ServiceSpec?",
    "answer": "S e r v i c e S p e c   d e s c r i b e s   t h e   a t t r i b u t e s   t h a t   a   u s e r   c r e a t e s   o n   a   s e r v i c e .   s e l e c t o r   ( m a p [ s t r i n g ] s t r i n g ) R o u t e   s e r v i c e   t r a f f i c   t o   p o d s   w i t h   l a b e l   k e y s   a n d   v a l u e s   m a t c h i n g   t h i s   s e l e c t o r .   I f   e m p t y   o r   n o t   p r e s e n t ,   t h e   s e r v i c e   i s   a s s u m e d   t o   h a v e   a n   e x t e r n a l   p r o c e s s   m a n a g i n g   i t s   e n d p o i n t s ,   w h i c h   K u b e r n e t e s   w i l l   n o t   m o d i f y .   O n l y   a p p l i e s   t o   t y p e s   C l u s t e r I P ,   N o d e P o r t ,   a n d   L o a d B a l a n c e r .   I g n o r e d   i f   t y p e   i s   E x t e r n a l N a m e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s e r v i c e s - n e t w o r k i n g / s e r v i c e / p o r t s   ( [ ] S e r v i c e P o r t ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   p o r t M a p :   u n i q u e   v a l u e s   o n   k e y s   p o r t ,   p r o t o c o l   w i l l   b e   k e p t   d u r i n g   a   m e r g e T h e   l i s t   o f   p o r t s   t h a t   a r e   e x p o s e d   b y   t h i s   s e r v i c e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s e r v i c e s - n e t w o r k i n g / s e r v i c e / # v i r t u a l - i p s - a n d - s e r v i c e - p r o x i e s S e r v i c e P o r t   c o n t a i n s   i n f o r m a t i o n   o n   s e r v i c e ' s   p o r t . p o r t s . p o r t   ( i n t 3 2 ) ,   r e q u i r e d T h e   p o r t   t h a t   w i l l   b e   e x p o s e d   b y   t h i s   s e r v i c e . p o r t s . t a r g e t P o r t   ( I n t O r S t r i n g ) N u m b e r   o r   n a m e   o f   t h e   p o r t   t o   a c c e s s   o n   t h e   p o d s   t a r g e t e d   b y   t h e   s e r v i c e .   N u m b e r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20450"
  },
  {
    "question": "What is ServiceStatus?",
    "answer": "S e r v i c e S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t u s   o f   a   s e r v i c e .   c o n d i t i o n s   ( [ ] C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e C u r r e n t   s e r v i c e   s t a t e C o n d i t i o n   c o n t a i n s   d e t a i l s   f o r   o n e   a s p e c t   o f   t h e   c u r r e n t   s t a t e   o f   t h i s   A P I   R e s o u r c e . c o n d i t i o n s . l a s t T r a n s i t i o n T i m e   ( T i m e ) ,   r e q u i r e d l a s t T r a n s i t i o n T i m e   i s   t h e   l a s t   t i m e   t h e   c o n d i t i o n   t r a n s i t i o n e d   f r o m   o n e   s t a t u s   t o   a n o t h e r .   T h i s   s h o u l d   b e   w h e n   t h e   u n d e r l y i n g   c o n d i t i o n   c h a n g e d .   I f   t h a t   i s   n o t   k n o w n ,   t h e n   u s i n g   t h e   t i m e   w h e n   t h e   A P I   f i e l d   c h a n g e d   i s   a c c e p t a b l e . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c o n d i t i o n s . m e s s a g e   ( s t r i n g ) ,   r e q u i r e d m e s s a g e   i s   a   h u m a n   r e a d a b l e   m e s s a g e   i n d i c a t i n g   d e t a i l s   a b o u t   t h e   t r a n s i t i o n .   T h i s   m a y   b e   a n   e m p t y   s t r i n g . c o n d i t i o n s . r e a s o n   ( s t r i n g ) ,   r e q u i r e d r e a s o n   c o n t a i n s   a   p r o g r a m m a t i c   i d e n t i f i e r   i n d i c a t i n g   t h e   r e a s o n   f o r   t h e   c o n d i t i o n ' s   l a s t   t r a n s i t i o n . ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20451"
  },
  {
    "question": "What is ServiceList?",
    "answer": "S e r v i c e L i s t   h o l d s   a   l i s t   o f   s e r v i c e s .   a p i V e r s i o n :   v 1 k i n d :   S e r v i c e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] S e r v i c e ) ,   r e q u i r e d L i s t   o f   s e r v i c e s   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] S e r v i c e ) ,   r e q u i r e d   L i s t   o f   s e r v i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20452"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20453"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20454"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20455"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20456"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20457"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20458"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20459"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20460"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20461"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / s e r v i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20462"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20463"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20464"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20465"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S e r v i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S e r v i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20466"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e ) :   O K   2 0 1   ( S e r v i c e ) :   C r e a t e d   2 0 2   ( S e r v i c e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20467"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20468"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S e r v i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S e r v i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20469"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e ) :   O K   2 0 1   ( S e r v i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20470"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20471"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S e r v i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S e r v i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20472"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e ) :   O K   2 0 1   ( S e r v i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20473"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20474"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20475"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e ) :   O K   2 0 1   ( S e r v i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20476"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20477"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20478"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e ) :   O K   2 0 1   ( S e r v i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20479"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20480"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20481"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e ) :   O K   2 0 2   ( S e r v i c e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20482"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20483"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20484"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20485"
  },
  {
    "question": "What is 2.2 - Endpoints?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20486"
  },
  {
    "question": "What is Endpoints?",
    "answer": "E n d p o i n t s   i s   a   c o l l e c t i o n   o f   e n d p o i n t s   t h a t   i m p l e m e n t   t h e   a c t u a l   s e r v i c e .   E x a m p l e :   N a m e :   \" m y s v c \" ,   S u b s e t s :   [   {   A d d r e s s e s :   [ { \" i p \" :   \" 1 0 . 1 0 . 1 . 1 \" } ,   { \" i p \" :   \" 1 0 . 1 0 . 2 . 2 \" } ] ,   P o r t s :   [ { \" n a m e \" :   \" a \" ,   \" p o r t \" :   8 6 7 5 } ,   { \" n a m e \" :   \" b \" ,   \" p o r t \" :   3 0 9 } ]   } ,   {   A d d r e s s e s :   [ { \" i p \" :   \" 1 0 . 1 0 . 3 . 3 \" } ] ,   P o r t s :   [ { \" n a m e \" :   \" a \" ,   \" p o r t \" :   9 3 } ,   { \" n a m e \" :   \" b \" ,   \" p o r t \" :   7 6 } ]   } ,   ]   E n d p o i n t s   i s   a   l e g a c y   A P I   a n d   d o e s   n o t   c o n t a i n   i n f o r m a t i o n   a b o u t   a l l   S e r v i c e   f e a t u r e s .   U s e   d i s c o v e r y v 1 . E n d p o i n t S l i c e   f o r   c o m p l e t e   i n f o r m a t i o n   a b o u t   S e r v i c e   e n d p o i n t s .   D e p r e c a t e d :   T h i s   A P I   i s   d e p r e c a t e d   i n   v 1 . 3 3 + .   U s e   d i s c o v e r y v 1 . E n d p o i n t S l i c e .   a p i V e r s i o n :   v 1 k i n d :   E n d p o i n t s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s u b s e t s   ( [ ] E n d p o i n t S u b s e t ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e T h e   s e t   o f   a l l   e n d p o i n t s   i s   t h e   u n i o n   o f   a l l   s u b s e t s .   A d d r e s s e s   a r e   p l a c e d   i n t o   s u b s e t s   a c c o r d i n g   t o   t h e   I P s   t h e y   s h a r e .   A   s i n g l e   a d d r e s s   w i t h   m u l t i p l e   p o r t s ,   s o m e   o f   w h i c h   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20487"
  },
  {
    "question": "What is EndpointsList?",
    "answer": "E n d p o i n t s L i s t   i s   a   l i s t   o f   e n d p o i n t s .   D e p r e c a t e d :   T h i s   A P I   i s   d e p r e c a t e d   i n   v 1 . 3 3 + .   a p i V e r s i o n :   v 1 k i n d :   E n d p o i n t s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] E n d p o i n t s ) ,   r e q u i r e d L i s t   o f   e n d p o i n t s .   a p i V e r s i o n :   v 1   k i n d :   E n d p o i n t s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] E n d p o i n t s ) ,   r e q u i r e d   L i s t   o f   e n d p o i n t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20488"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20489"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E n d p o i n t s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E n d p o i n t s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20490"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20491"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20492"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20493"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20494"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / e n d p o i n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20495"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20496"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20497"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20498"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   E n d p o i n t s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   E n d p o i n t s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20499"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t s ) :   O K   2 0 1   ( E n d p o i n t s ) :   C r e a t e d   2 0 2   ( E n d p o i n t s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20500"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20501"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E n d p o i n t s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   E n d p o i n t s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E n d p o i n t s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   E n d p o i n t s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20502"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t s ) :   O K   2 0 1   ( E n d p o i n t s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20503"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20504"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E n d p o i n t s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E n d p o i n t s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20505"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t s ) :   O K   2 0 1   ( E n d p o i n t s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20506"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20507"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E n d p o i n t s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E n d p o i n t s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20508"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20509"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20510"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20511"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20512"
  },
  {
    "question": "What is 2.3 - EndpointSlice?",
    "answer": "a p i V e r s i o n :   d i s c o v e r y . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / d i s c o v e r y / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20513"
  },
  {
    "question": "What is EndpointSlice?",
    "answer": "E n d p o i n t S l i c e   r e p r e s e n t s   a   s e t   o f   s e r v i c e   e n d p o i n t s .   M o s t   E n d p o i n t S l i c e s   a r e   c r e a t e d   b y   t h e   E n d p o i n t S l i c e   c o n t r o l l e r   t o   r e p r e s e n t   t h e   P o d s   s e l e c t e d   b y   S e r v i c e   o b j e c t s .   F o r   a   g i v e n   s e r v i c e   t h e r e   m a y   b e   m u l t i p l e   E n d p o i n t S l i c e   o b j e c t s   w h i c h   m u s t   b e   j o i n e d   t o   p r o d u c e   t h e   f u l l   s e t   o f   e n d p o i n t s ;   y o u   c a n   f i n d   a l l   o f   t h e   s l i c e s   f o r   a   g i v e n   s e r v i c e   b y   l i s t i n g   E n d p o i n t S l i c e s   i n   t h e   s e r v i c e ' s   n a m e s p a c e   w h o s e   k u b e r n e t e s . i o / s e r v i c e - n a m e   l a b e l   c o n t a i n s   t h e   s e r v i c e ' s   n a m e .   a p i V e r s i o n :   d i s c o v e r y . k 8 s . i o / v 1 k i n d :   E n d p o i n t S l i c e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . a d d r e s s T y p e   ( s t r i n g ) ,   r e q u i r e d a d d r e s s T y p e   s p e c i f i e s   t h e   t y p e   o f   a d d r e s s   c a r r i e d   b y   t h i s   E n d p o i n t S l i c e .   A l l   a d d r e s s e s   i n   t h i s   s l i c e   m u s t   b e   t h e   s a m e   t y p e .   T h i s   f i e l d   i s   i m m u t a b l e   a f t e r   c r e a t i o n .   T h e   f o l l o w i n g   a d d r e s s   t y p e s   a r e   c u r r e n t l y   s u p p o r t e d :   *   I P v 4 :   R e p r e s e n t s   a n   I P v 4   A d d r e s s .   *   I P v 6 :   R e p r e s e n t s   a n   I P v 6   A d d r e s s .   *   F Q D N :   R e p r e s e n t s   a   F u l l y   Q u a l i f i e d   D o m a i n   N a m e .   ( D e p r e c a t e d )   T h e   E n d p o i n t S l i c e   c o n t r o l l e r   o n l y   g e n e r a t e s ,   a n d   k u b e - p r o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20514"
  },
  {
    "question": "What is EndpointSliceList?",
    "answer": "E n d p o i n t S l i c e L i s t   r e p r e s e n t s   a   l i s t   o f   e n d p o i n t   s l i c e s   a p i V e r s i o n :   d i s c o v e r y . k 8 s . i o / v 1 k i n d :   E n d p o i n t S l i c e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a . i t e m s   ( [ ] E n d p o i n t S l i c e ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   e n d p o i n t   s l i c e s   a p i V e r s i o n :   d i s c o v e r y . k 8 s . i o / v 1   k i n d :   E n d p o i n t S l i c e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   i t e m s   ( [ ] E n d p o i n t S l i c e ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   e n d p o i n t   s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20515"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20516"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E n d p o i n t S l i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E n d p o i n t S l i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20517"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t S l i c e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20518"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20519"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20520"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t S l i c e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20521"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / e n d p o i n t s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20522"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20523"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t S l i c e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20524"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20525"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   E n d p o i n t S l i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   E n d p o i n t S l i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20526"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t S l i c e ) :   O K   2 0 1   ( E n d p o i n t S l i c e ) :   C r e a t e d   2 0 2   ( E n d p o i n t S l i c e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20527"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20528"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E n d p o i n t S l i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   E n d p o i n t S l i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E n d p o i n t S l i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   E n d p o i n t S l i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20529"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t S l i c e ) :   O K   2 0 1   ( E n d p o i n t S l i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20530"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20531"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E n d p o i n t S l i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E n d p o i n t S l i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20532"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t S l i c e ) :   O K   2 0 1   ( E n d p o i n t S l i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20533"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20534"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E n d p o i n t S l i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E n d p o i n t S l i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20535"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20536"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20537"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20538"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20539"
  },
  {
    "question": "What is 2.4 - Ingress?",
    "answer": "a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / n e t w o r k i n g / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20540"
  },
  {
    "question": "What is Ingress?",
    "answer": "I n g r e s s   i s   a   c o l l e c t i o n   o f   r u l e s   t h a t   a l l o w   i n b o u n d   c o n n e c t i o n s   t o   r e a c h   t h e   e n d p o i n t s   d e f i n e d   b y   a   b a c k e n d .   A n   I n g r e s s   c a n   b e   c o n f i g u r e d   t o   g i v e   s e r v i c e s   e x t e r n a l l y - r e a c h a b l e   u r l s ,   l o a d   b a l a n c e   t r a f f i c ,   t e r m i n a t e   S S L ,   o f f e r   n a m e   b a s e d   v i r t u a l   h o s t i n g   e t c .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   I n g r e s s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( I n g r e s s S p e c ) s p e c   i s   t h e   d e s i r e d   s t a t e   o f   t h e   I n g r e s s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( I n g r e s s S t a t u s ) s t a t u s   i s   t h e   c u r r e n t   s t a t e   o f   t h e   I n g r e s s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20541"
  },
  {
    "question": "What is IngressSpec?",
    "answer": "I n g r e s s S p e c   d e s c r i b e s   t h e   I n g r e s s   t h e   u s e r   w i s h e s   t o   e x i s t .   d e f a u l t B a c k e n d   ( I n g r e s s B a c k e n d ) d e f a u l t B a c k e n d   i s   t h e   b a c k e n d   t h a t   s h o u l d   h a n d l e   r e q u e s t s   t h a t   d o n ' t   m a t c h   a n y   r u l e .   I f   R u l e s   a r e   n o t   s p e c i f i e d ,   D e f a u l t B a c k e n d   m u s t   b e   s p e c i f i e d .   I f   D e f a u l t B a c k e n d   i s   n o t   s e t ,   t h e   h a n d l i n g   o f   r e q u e s t s   t h a t   d o   n o t   m a t c h   a n y   o f   t h e   r u l e s   w i l l   b e   u p   t o   t h e   I n g r e s s   c o n t r o l l e r . i n g r e s s C l a s s N a m e   ( s t r i n g ) i n g r e s s C l a s s N a m e   i s   t h e   n a m e   o f   a n   I n g r e s s C l a s s   c l u s t e r   r e s o u r c e .   I n g r e s s   c o n t r o l l e r   i m p l e m e n t a t i o n s   u s e   t h i s   f i e l d   t o   k n o w   w h e t h e r   t h e y   s h o u l d   b e   s e r v i n g   t h i s   I n g r e s s   r e s o u r c e ,   b y   a   t r a n s i t i v e   c o n n e c t i o n   ( c o n t r o l l e r   - >   I n g r e s s C l a s s   - >   I n g r e s s   r e s o u r c e ) .   A l t h o u g h   t h e   k u b e r n e t e s . i o / i n g r e s s . c l a s s   a n n o t a t i o n   ( s i m p l e   c o n s t a n t   n a m e )   w a s   n e v e r   f o r m a l l y   d e f i n e d ,   i t   w a s   w i d e l y   s u p p o r t e d   b y   I n g r e s s   c o n t r o l l e r s   t o   c r e a t e   a   d i r e c t   b i n d i n g   b e t w e e n   I n g r e s s   c o n t r o l l e r   a n d   I n g r e s s   r e s o u r c e s .   N e w l y   c r e a t e d   I n g r e s s   r e s o u r c e s   s h o u l d   p r e f e r   u s i n g   t h e   f i e l d .   H o w e v e r ,   e v e n   t h o u g h   t h e   a n n o t a t i o n   i s   o f f i c i a l l y   d e p r e c a t e d ,   f o r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20542"
  },
  {
    "question": "What is IngressBackend?",
    "answer": "I n g r e s s B a c k e n d   d e s c r i b e s   a l l   e n d p o i n t s   f o r   a   g i v e n   s e r v i c e   a n d   p o r t .   r e s o u r c e   ( T y p e d L o c a l O b j e c t R e f e r e n c e ) r e s o u r c e   i s   a n   O b j e c t R e f   t o   a n o t h e r   K u b e r n e t e s   r e s o u r c e   i n   t h e   n a m e s p a c e   o f   t h e   I n g r e s s   o b j e c t .   I f   r e s o u r c e   i s   s p e c i f i e d ,   a   s e r v i c e . N a m e   a n d   s e r v i c e . P o r t   m u s t   n o t   b e   s p e c i f i e d .   T h i s   i s   a   m u t u a l l y   e x c l u s i v e   s e t t i n g   w i t h   \" S e r v i c e \" . s e r v i c e   ( I n g r e s s S e r v i c e B a c k e n d ) s e r v i c e   r e f e r e n c e s   a   s e r v i c e   a s   a   b a c k e n d .   T h i s   i s   a   m u t u a l l y   e x c l u s i v e   s e t t i n g   w i t h   \" R e s o u r c e \" . I n g r e s s S e r v i c e B a c k e n d   r e f e r e n c e s   a   K u b e r n e t e s   S e r v i c e   a s   a   B a c k e n d . s e r v i c e . n a m e   ( s t r i n g ) ,   r e q u i r e d n a m e   i s   t h e   r e f e r e n c e d   s e r v i c e .   T h e   s e r v i c e   m u s t   e x i s t   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   I n g r e s s   o b j e c t . s e r v i c e . p o r t   ( S e r v i c e B a c k e n d P o r t ) p o r t   o f   t h e   r e f e r e n c e d   s e r v i c e .   A   p o r t   n a m e   o r   p o r t   n u m b e r   i s   r e q u i r e d   f o r   a   I n g r e s s S e r v i c e B a c k e n d . S e r v i c e B a c k e n d P o r t   i s   t h e   s e r v i c e   p o r t   b e i n g   r e f e r e n c e d . s e r v i c e . p o r t . n a m e   ( s t r i n g ) n a m e   i s   t h e   n a m e   o f   t h e   p o r t   o n   t h e   S e r v i c e .   T h i s   i s   a   m u t u a l l y   e x c l u s i v e   s e t t i n g   w i t h   \" N u m b e r \" . s e r v i c e . p o r t . n u m b e r   ( i n t 3 2 ) n u m b e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20543"
  },
  {
    "question": "What is IngressStatus?",
    "answer": "I n g r e s s S t a t u s   d e s c r i b e   t h e   c u r r e n t   s t a t e   o f   t h e   I n g r e s s .   l o a d B a l a n c e r   ( I n g r e s s L o a d B a l a n c e r S t a t u s ) l o a d B a l a n c e r   c o n t a i n s   t h e   c u r r e n t   s t a t u s   o f   t h e   l o a d - b a l a n c e r . I n g r e s s L o a d B a l a n c e r S t a t u s   r e p r e s e n t s   t h e   s t a t u s   o f   a   l o a d - b a l a n c e r . l o a d B a l a n c e r . i n g r e s s   ( [ ] I n g r e s s L o a d B a l a n c e r I n g r e s s ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e i n g r e s s   i s   a   l i s t   c o n t a i n i n g   i n g r e s s   p o i n t s   f o r   t h e   l o a d - b a l a n c e r . I n g r e s s L o a d B a l a n c e r I n g r e s s   r e p r e s e n t s   t h e   s t a t u s   o f   a   l o a d - b a l a n c e r   i n g r e s s   p o i n t . l o a d B a l a n c e r . i n g r e s s . h o s t n a m e   ( s t r i n g ) h o s t n a m e   i s   s e t   f o r   l o a d - b a l a n c e r   i n g r e s s   p o i n t s   t h a t   a r e   D N S   b a s e d . l o a d B a l a n c e r . i n g r e s s . i p   ( s t r i n g ) i p   i s   s e t   f o r   l o a d - b a l a n c e r   i n g r e s s   p o i n t s   t h a t   a r e   I P   b a s e d . l o a d B a l a n c e r . i n g r e s s . p o r t s   ( [ ] I n g r e s s P o r t S t a t u s ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e p o r t s   p r o v i d e s   i n f o r m a t i o n   a b o u t   t h e   p o r t s   e x p o s e d   b y   t h i s   L o a d B a l a n c e r . I n g r e s s P o r t S t a t u s   r e p r e s e n t s   t h e   e r r o r   c o n d i t i o n   o f   a   s e r v i c e   p o r t l o a d B a l a n c e r . i n g r e s s . p o r t s . p o r t   ( i n t 3 2 ) ,   r e q u i r e d p o r t   i s   t h e   p o r t   n u m b e r   o f   t h e   i n g r e s s   p o r t . l o a d B a l a n c e r . i n g r e s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20544"
  },
  {
    "question": "What is IngressList?",
    "answer": "I n g r e s s L i s t   i s   a   c o l l e c t i o n   o f   I n g r e s s .   i t e m s   ( [ ] I n g r e s s ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   I n g r e s s . a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] I n g r e s s ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   I n g r e s s .   a p i V e r s i o n   ( s t r i n g )   A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20545"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20546"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20547"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20548"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20549"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20550"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20551"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20552"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20553"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20554"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20555"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20556"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20557"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20558"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   I n g r e s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   I n g r e s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20559"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s ) :   O K   2 0 1   ( I n g r e s s ) :   C r e a t e d   2 0 2   ( I n g r e s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20560"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20561"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   I n g r e s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   I n g r e s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20562"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s ) :   O K   2 0 1   ( I n g r e s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20563"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20564"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   I n g r e s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   I n g r e s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20565"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s ) :   O K   2 0 1   ( I n g r e s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20566"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20567"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20568"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s ) :   O K   2 0 1   ( I n g r e s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20569"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20570"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20571"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s ) :   O K   2 0 1   ( I n g r e s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20572"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20573"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20574"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20575"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20576"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20577"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20578"
  },
  {
    "question": "What is 2.5 - IngressClass?",
    "answer": "a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / n e t w o r k i n g / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20579"
  },
  {
    "question": "What is IngressClass?",
    "answer": "I n g r e s s C l a s s   r e p r e s e n t s   t h e   c l a s s   o f   t h e   I n g r e s s ,   r e f e r e n c e d   b y   t h e   I n g r e s s   S p e c .   T h e   i n g r e s s c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s   a n n o t a t i o n   c a n   b e   u s e d   t o   i n d i c a t e   t h a t   a n   I n g r e s s C l a s s   s h o u l d   b e   c o n s i d e r e d   d e f a u l t .   W h e n   a   s i n g l e   I n g r e s s C l a s s   r e s o u r c e   h a s   t h i s   a n n o t a t i o n   s e t   t o   t r u e ,   n e w   I n g r e s s   r e s o u r c e s   w i t h o u t   a   c l a s s   s p e c i f i e d   w i l l   b e   a s s i g n e d   t h i s   d e f a u l t   c l a s s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   I n g r e s s C l a s s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( I n g r e s s C l a s s S p e c ) s p e c   i s   t h e   d e s i r e d   s t a t e   o f   t h e   I n g r e s s C l a s s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s C l a s s   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( I n g r e s s C l a s s S p e c )   s p e c   i s   t h e   d e s i r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20580"
  },
  {
    "question": "What is IngressClassSpec?",
    "answer": "I n g r e s s C l a s s S p e c   p r o v i d e s   i n f o r m a t i o n   a b o u t   t h e   c l a s s   o f   a n   I n g r e s s .   c o n t r o l l e r   ( s t r i n g ) c o n t r o l l e r   r e f e r s   t o   t h e   n a m e   o f   t h e   c o n t r o l l e r   t h a t   s h o u l d   h a n d l e   t h i s   c l a s s .   T h i s   a l l o w s   f o r   d i f f e r e n t   \" f l a v o r s \"   t h a t   a r e   c o n t r o l l e d   b y   t h e   s a m e   c o n t r o l l e r .   F o r   e x a m p l e ,   y o u   m a y   h a v e   d i f f e r e n t   p a r a m e t e r s   f o r   t h e   s a m e   i m p l e m e n t i n g   c o n t r o l l e r .   T h i s   s h o u l d   b e   s p e c i f i e d   a s   a   d o m a i n - p r e f i x e d   p a t h   n o   m o r e   t h a n   2 5 0   c h a r a c t e r s   i n   l e n g t h ,   e . g .   \" a c m e . i o / i n g r e s s - c o n t r o l l e r \" .   T h i s   f i e l d   i s   i m m u t a b l e . p a r a m e t e r s   ( I n g r e s s C l a s s P a r a m e t e r s R e f e r e n c e ) p a r a m e t e r s   i s   a   l i n k   t o   a   c u s t o m   r e s o u r c e   c o n t a i n i n g   a d d i t i o n a l   c o n f i g u r a t i o n   f o r   t h e   c o n t r o l l e r .   T h i s   i s   o p t i o n a l   i f   t h e   c o n t r o l l e r   d o e s   n o t   r e q u i r e   e x t r a   p a r a m e t e r s . I n g r e s s C l a s s P a r a m e t e r s R e f e r e n c e   i d e n t i f i e s   a n   A P I   o b j e c t .   T h i s   c a n   b e   u s e d   t o   s p e c i f y   a   c l u s t e r   o r   n a m e s p a c e - s c o p e d   r e s o u r c e . p a r a m e t e r s . k i n d   ( s t r i n g ) ,   r e q u i r e d k i n d   i s   t h e   t y p e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d . p a r a m e t e r s . n a m e   ( s t r i n g ) ,   r e q u i r e d n a m e   i s   t h e   n a m e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d . p a r a m e t e r s . a p i G r o u p   ( s t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20581"
  },
  {
    "question": "What is IngressClassList?",
    "answer": "I n g r e s s C l a s s L i s t   i s   a   c o l l e c t i o n   o f   I n g r e s s C l a s s e s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   I n g r e s s C l a s s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a . i t e m s   ( [ ] I n g r e s s C l a s s ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   I n g r e s s C l a s s e s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s C l a s s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   i t e m s   ( [ ] I n g r e s s C l a s s ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   I n g r e s s C l a s s e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20582"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20583"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s C l a s s p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s C l a s s   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20584"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s C l a s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20585"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20586"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20587"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s C l a s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20588"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20589"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   I n g r e s s C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   I n g r e s s C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20590"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s C l a s s ) :   O K   2 0 1   ( I n g r e s s C l a s s ) :   C r e a t e d   2 0 2   ( I n g r e s s C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20591"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20592"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s C l a s s b o d y :   I n g r e s s C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s C l a s s   b o d y :   I n g r e s s C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20593"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s C l a s s ) :   O K   2 0 1   ( I n g r e s s C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20594"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20595"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s C l a s s b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s C l a s s   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20596"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s C l a s s ) :   O K   2 0 1   ( I n g r e s s C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20597"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20598"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s C l a s s b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s C l a s s   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20599"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20600"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20601"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20602"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20603"
  },
  {
    "question": "What is 3.1 - ConfigMap?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20604"
  },
  {
    "question": "What is ConfigMap?",
    "answer": "C o n f i g M a p   h o l d s   c o n f i g u r a t i o n   d a t a   f o r   p o d s   t o   c o n s u m e .   a p i V e r s i o n :   v 1 k i n d :   C o n f i g M a p m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a b i n a r y D a t a   ( m a p [ s t r i n g ] [ ] b y t e ) B i n a r y D a t a   c o n t a i n s   t h e   b i n a r y   d a t a .   E a c h   k e y   m u s t   c o n s i s t   o f   a l p h a n u m e r i c   c h a r a c t e r s ,   ' - ' ,   ' _ '   o r   ' . ' .   B i n a r y D a t a   c a n   c o n t a i n   b y t e   s e q u e n c e s   t h a t   a r e   n o t   i n   t h e   U T F - 8   r a n g e .   T h e   k e y s   s t o r e d   i n   B i n a r y D a t a   m u s t   n o t   o v e r l a p   w i t h   t h e   o n e s   i n   t h e   D a t a   f i e l d ,   t h i s   i s   e n f o r c e d   d u r i n g   v a l i d a t i o n   p r o c e s s .   U s i n g   t h i s   f i e l d   w i l l   r e q u i r e   1 . 1 0 +   a p i s e r v e r   a n d   k u b e l e t . d a t a   ( m a p [ s t r i n g ] s t r i n g ) D a t a   c o n t a i n s   t h e   c o n f i g u r a t i o n   d a t a .   E a c h   k e y   m u s t   c o n s i s t   o f   a l p h a n u m e r i c   c h a r a c t e r s ,   ' - ' ,   ' _ '   o r   ' . ' .   V a l u e s   w i t h   n o n - U T F - 8   b y t e   s e q u e n c e s   m u s t   u s e   t h e   B i n a r y D a t a   f i e l d .   T h e   k e y s   s t o r e d   i n   D a t a   m u s t   n o t   o v e r l a p   w i t h   t h e   k e y s   i n   t h e   B i n a r y D a t a   f i e l d ,   t h i s   i s   e n f o r c e d   d u r i n g   v a l i d a t i o n   p r o c e s s . i m m u t a b l e   ( b o o l e a n ) I m m u t a b l e ,   i f   s e t   t o   t r u e ,   e n s u r e s   t h ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20605"
  },
  {
    "question": "What is ConfigMapList?",
    "answer": "C o n f i g M a p L i s t   i s   a   r e s o u r c e   c o n t a i n i n g   a   l i s t   o f   C o n f i g M a p   o b j e c t s .   a p i V e r s i o n :   v 1 k i n d :   C o n f i g M a p L i s t m e t a d a t a   ( L i s t M e t a ) M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] C o n f i g M a p ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   C o n f i g M a p s .   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p L i s t   m e t a d a t a   ( L i s t M e t a )   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] C o n f i g M a p ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   C o n f i g M a p s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20606"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20607"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o n f i g M a p n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o n f i g M a p   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20608"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n f i g M a p ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20609"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20610"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20611"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n f i g M a p L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20612"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / c o n f i g m a p s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20613"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20614"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n f i g M a p L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20615"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20616"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C o n f i g M a p ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C o n f i g M a p ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20617"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n f i g M a p ) :   O K   2 0 1   ( C o n f i g M a p ) :   C r e a t e d   2 0 2   ( C o n f i g M a p ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20618"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20619"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o n f i g M a p n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C o n f i g M a p ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o n f i g M a p   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C o n f i g M a p ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20620"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n f i g M a p ) :   O K   2 0 1   ( C o n f i g M a p ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20621"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20622"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o n f i g M a p n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o n f i g M a p   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20623"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n f i g M a p ) :   O K   2 0 1   ( C o n f i g M a p ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20624"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20625"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o n f i g M a p n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o n f i g M a p   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20626"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20627"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20628"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20629"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20630"
  },
  {
    "question": "What is 3.2 - Secret?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20631"
  },
  {
    "question": "What is Secret?",
    "answer": "S e c r e t   h o l d s   s e c r e t   d a t a   o f   a   c e r t a i n   t y p e .   T h e   t o t a l   b y t e s   o f   t h e   v a l u e s   i n   t h e   D a t a   f i e l d   m u s t   b e   l e s s   t h a n   M a x S e c r e t S i z e   b y t e s .   a p i V e r s i o n :   v 1 k i n d :   S e c r e t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a d a t a   ( m a p [ s t r i n g ] [ ] b y t e ) D a t a   c o n t a i n s   t h e   s e c r e t   d a t a .   E a c h   k e y   m u s t   c o n s i s t   o f   a l p h a n u m e r i c   c h a r a c t e r s ,   ' - ' ,   ' _ '   o r   ' . ' .   T h e   s e r i a l i z e d   f o r m   o f   t h e   s e c r e t   d a t a   i s   a   b a s e 6 4   e n c o d e d   s t r i n g ,   r e p r e s e n t i n g   t h e   a r b i t r a r y   ( p o s s i b l y   n o n - s t r i n g )   d a t a   v a l u e   h e r e .   D e s c r i b e d   i n   h t t p s : / / t o o l s . i e t f . o r g / h t m l / r f c 4 6 4 8 # s e c t i o n - 4 i m m u t a b l e   ( b o o l e a n ) I m m u t a b l e ,   i f   s e t   t o   t r u e ,   e n s u r e s   t h a t   d a t a   s t o r e d   i n   t h e   S e c r e t   c a n n o t   b e   u p d a t e d   ( o n l y   o b j e c t   m e t a d a t a   c a n   b e   m o d i f i e d ) .   I f   n o t   s e t   t o   t r u e ,   t h e   f i e l d   c a n   b e   m o d i f i e d   a t   a n y   t i m e .   D e f a u l t e d   t o   n i l . s t r i n g D a t a   ( m a p [ s t r i n g ] s t r i n g ) s t r i n g D a t a   a l l o w s   s p e c i f y i n g   n o n - b i n a r y   s e c r e t   d a t a   i n   s t r i n g   f o r m .   I t   i s   p r o v i d e d   a s   a   w r i t e - o n l y   i n p u t   f i e l d   f o r   c o n v e n i e n c e .   A ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20632"
  },
  {
    "question": "What is SecretList?",
    "answer": "S e c r e t L i s t   i s   a   l i s t   o f   S e c r e t .   a p i V e r s i o n :   v 1 k i n d :   S e c r e t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] S e c r e t ) ,   r e q u i r e d I t e m s   i s   a   l i s t   o f   s e c r e t   o b j e c t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n f i g u r a t i o n / s e c r e t   a p i V e r s i o n :   v 1   k i n d :   S e c r e t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] S e c r e t ) ,   r e q u i r e d   I t e m s   i s   a   l i s t   o f   s e c r e t   o b j e c t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n f i g u r a t i o n / s e c r e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20633"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20634"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e c r e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e c r e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20635"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e c r e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20636"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20637"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20638"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e c r e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20639"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / s e c r e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20640"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20641"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e c r e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20642"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20643"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S e c r e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S e c r e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20644"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e c r e t ) :   O K   2 0 1   ( S e c r e t ) :   C r e a t e d   2 0 2   ( S e c r e t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20645"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20646"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e c r e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S e c r e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e c r e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S e c r e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20647"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e c r e t ) :   O K   2 0 1   ( S e c r e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20648"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20649"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e c r e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e c r e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20650"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e c r e t ) :   O K   2 0 1   ( S e c r e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20651"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20652"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e c r e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e c r e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20653"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20654"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20655"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20656"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20657"
  },
  {
    "question": "What is 3.3 - CSIDriver?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / s t o r a g e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20658"
  },
  {
    "question": "What is CSIDriver?",
    "answer": "C S I D r i v e r   c a p t u r e s   i n f o r m a t i o n   a b o u t   a   C o n t a i n e r   S t o r a g e   I n t e r f a c e   ( C S I )   v o l u m e   d r i v e r   d e p l o y e d   o n   t h e   c l u s t e r .   K u b e r n e t e s   a t t a c h   d e t a c h   c o n t r o l l e r   u s e s   t h i s   o b j e c t   t o   d e t e r m i n e   w h e t h e r   a t t a c h   i s   r e q u i r e d .   K u b e l e t   u s e s   t h i s   o b j e c t   t o   d e t e r m i n e   w h e t h e r   p o d   i n f o r m a t i o n   n e e d s   t o   b e   p a s s e d   o n   m o u n t .   C S I D r i v e r   o b j e c t s   a r e   n o n - n a m e s p a c e d .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   C S I D r i v e r m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a .   m e t a d a t a . N a m e   i n d i c a t e s   t h e   n a m e   o f   t h e   C S I   d r i v e r   t h a t   t h i s   o b j e c t   r e f e r s   t o ;   i t   M U S T   b e   t h e   s a m e   n a m e   r e t u r n e d   b y   t h e   C S I   G e t P l u g i n N a m e ( )   c a l l   f o r   t h a t   d r i v e r .   T h e   d r i v e r   n a m e   m u s t   b e   6 3   c h a r a c t e r s   o r   l e s s ,   b e g i n n i n g   a n d   e n d i n g   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r   ( [ a - z 0 - 9 A - Z ] )   w i t h   d a s h e s   ( - ) ,   d o t s   ( . ) ,   a n d   a l p h a n u m e r i c s   b e t w e e n .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( C S I D r i v e r S p e c ) ,   r e q u i r e d s p e c   r e p r e s e n t s   t h e   s p e c i f i c a t i o n   o f   t h e   C S I   D r i v e r .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   C S I D r i v e r   m e t a d a t a   ( O b j ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20659"
  },
  {
    "question": "What is CSIDriverSpec?",
    "answer": "C S I D r i v e r S p e c   i s   t h e   s p e c i f i c a t i o n   o f   a   C S I D r i v e r .   a t t a c h R e q u i r e d   ( b o o l e a n ) a t t a c h R e q u i r e d   i n d i c a t e s   t h i s   C S I   v o l u m e   d r i v e r   r e q u i r e s   a n   a t t a c h   o p e r a t i o n   ( b e c a u s e   i t   i m p l e m e n t s   t h e   C S I   C o n t r o l l e r P u b l i s h V o l u m e ( )   m e t h o d ) ,   a n d   t h a t   t h e   K u b e r n e t e s   a t t a c h   d e t a c h   c o n t r o l l e r   s h o u l d   c a l l   t h e   a t t a c h   v o l u m e   i n t e r f a c e   w h i c h   c h e c k s   t h e   v o l u m e a t t a c h m e n t   s t a t u s   a n d   w a i t s   u n t i l   t h e   v o l u m e   i s   a t t a c h e d   b e f o r e   p r o c e e d i n g   t o   m o u n t i n g .   T h e   C S I   e x t e r n a l - a t t a c h e r   c o o r d i n a t e s   w i t h   C S I   v o l u m e   d r i v e r   a n d   u p d a t e s   t h e   v o l u m e a t t a c h m e n t   s t a t u s   w h e n   t h e   a t t a c h   o p e r a t i o n   i s   c o m p l e t e .   I f   t h e   v a l u e   i s   s p e c i f i e d   t o   f a l s e ,   t h e   a t t a c h   o p e r a t i o n   w i l l   b e   s k i p p e d .   O t h e r w i s e   t h e   a t t a c h   o p e r a t i o n   w i l l   b e   c a l l e d . T h i s   f i e l d   i s   i m m u t a b l e . f s G r o u p P o l i c y   ( s t r i n g ) f s G r o u p P o l i c y   d e f i n e s   i f   t h e   u n d e r l y i n g   v o l u m e   s u p p o r t s   c h a n g i n g   o w n e r s h i p   a n d   p e r m i s s i o n   o f   t h e   v o l u m e   b e f o r e   b e i n g   m o u n t e d .   R e f e r   t o   t h e   s p e c i f i c   F S G r o u p P o l i c y   v a l u e s   f o r   a d d i t i o n a l   d e t a i l s . T h i s   f i e l d   w a s   i m m u t a b l e   i n   K u b e r n e t e s   <   1 . 2 9   a n d   n o w   i s   m u t a b l e . D e f a u l t s   t o   R e a d W r i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20660"
  },
  {
    "question": "What is CSIDriverList?",
    "answer": "C S I D r i v e r L i s t   i s   a   c o l l e c t i o n   o f   C S I D r i v e r   o b j e c t s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   C S I D r i v e r L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] C S I D r i v e r ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   C S I D r i v e r   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   C S I D r i v e r L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] C S I D r i v e r ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   C S I D r i v e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20661"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20662"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I D r i v e r p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I D r i v e r   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20663"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I D r i v e r ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20664"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20665"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20666"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I D r i v e r L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20667"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20668"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   C S I D r i v e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   C S I D r i v e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20669"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I D r i v e r ) :   O K   2 0 1   ( C S I D r i v e r ) :   C r e a t e d   2 0 2   ( C S I D r i v e r ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20670"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20671"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I D r i v e r b o d y :   C S I D r i v e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I D r i v e r   b o d y :   C S I D r i v e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20672"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I D r i v e r ) :   O K   2 0 1   ( C S I D r i v e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20673"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20674"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I D r i v e r b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I D r i v e r   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20675"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I D r i v e r ) :   O K   2 0 1   ( C S I D r i v e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20676"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20677"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I D r i v e r b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I D r i v e r   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20678"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I D r i v e r ) :   O K   2 0 2   ( C S I D r i v e r ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20679"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20680"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20681"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20682"
  },
  {
    "question": "What is 3.4 - CSINode?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / s t o r a g e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20683"
  },
  {
    "question": "What is CSINode?",
    "answer": "C S I N o d e   h o l d s   i n f o r m a t i o n   a b o u t   a l l   C S I   d r i v e r s   i n s t a l l e d   o n   a   n o d e .   C S I   d r i v e r s   d o   n o t   n e e d   t o   c r e a t e   t h e   C S I N o d e   o b j e c t   d i r e c t l y .   A s   l o n g   a s   t h e y   u s e   t h e   n o d e - d r i v e r - r e g i s t r a r   s i d e c a r   c o n t a i n e r ,   t h e   k u b e l e t   w i l l   a u t o m a t i c a l l y   p o p u l a t e   t h e   C S I N o d e   o b j e c t   f o r   t h e   C S I   d r i v e r   a s   p a r t   o f   k u b e l e t   p l u g i n   r e g i s t r a t i o n .   C S I N o d e   h a s   t h e   s a m e   n a m e   a s   a   n o d e .   I f   t h e   o b j e c t   i s   m i s s i n g ,   i t   m e a n s   e i t h e r   t h e r e   a r e   n o   C S I   D r i v e r s   a v a i l a b l e   o n   t h e   n o d e ,   o r   t h e   K u b e l e t   v e r s i o n   i s   l o w   e n o u g h   t h a t   i t   d o e s n ' t   c r e a t e   t h i s   o b j e c t .   C S I N o d e   h a s   a n   O w n e r R e f e r e n c e   t h a t   p o i n t s   t o   t h e   c o r r e s p o n d i n g   n o d e   o b j e c t .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   C S I N o d e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   m e t a d a t a . n a m e   m u s t   b e   t h e   K u b e r n e t e s   n o d e   n a m e . s p e c   ( C S I N o d e S p e c ) ,   r e q u i r e d s p e c   i s   t h e   s p e c i f i c a t i o n   o f   C S I N o d e   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   C S I N o d e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   m e t a d a t a . n a m e   m u s t   b e   t h e   K u b e r n e t e s   n o d e   n a m e .   s p e c   ( C S I N o d e S p e c ) ,   r e q u i r e d   s p e c   i s   t h e   s p e c i f i c a t i o n   o f   C S I N o d ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20684"
  },
  {
    "question": "What is CSINodeSpec?",
    "answer": "C S I N o d e S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   s p e c i f i c a t i o n   o f   a l l   C S I   d r i v e r s   i n s t a l l e d   o n   a   n o d e   d r i v e r s   ( [ ] C S I N o d e D r i v e r ) ,   r e q u i r e d P a t c h   s t r a t e g y :   m e r g e   o n   k e y   n a m e M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e d r i v e r s   i s   a   l i s t   o f   i n f o r m a t i o n   o f   a l l   C S I   D r i v e r s   e x i s t i n g   o n   a   n o d e .   I f   a l l   d r i v e r s   i n   t h e   l i s t   a r e   u n i n s t a l l e d ,   t h i s   c a n   b e c o m e   e m p t y . C S I N o d e D r i v e r   h o l d s   i n f o r m a t i o n   a b o u t   t h e   s p e c i f i c a t i o n   o f   o n e   C S I   d r i v e r   i n s t a l l e d   o n   a   n o d e d r i v e r s . n a m e   ( s t r i n g ) ,   r e q u i r e d n a m e   r e p r e s e n t s   t h e   n a m e   o f   t h e   C S I   d r i v e r   t h a t   t h i s   o b j e c t   r e f e r s   t o .   T h i s   M U S T   b e   t h e   s a m e   n a m e   r e t u r n e d   b y   t h e   C S I   G e t P l u g i n N a m e ( )   c a l l   f o r   t h a t   d r i v e r . d r i v e r s . n o d e I D   ( s t r i n g ) ,   r e q u i r e d n o d e I D   o f   t h e   n o d e   f r o m   t h e   d r i v e r   p o i n t   o f   v i e w .   T h i s   f i e l d   e n a b l e s   K u b e r n e t e s   t o   c o m m u n i c a t e   w i t h   s t o r a g e   s y s t e m s   t h a t   d o   n o t   s h a r e   t h e   s a m e   n o m e n c l a t u r e   f o r   n o d e s .   F o r   e x a m p l e ,   K u b e r n e t e s   m a y   r e f e r   t o   a   g i v e n   n o d e   a s   \" n o d e 1 \" ,   b u t   t h e   s t o r a g e   s y s t e m   m a y   r e f e r   t o   t h e   s a m e   n o d e   a s   \" n o d e A \" .   W h e n   K u b e r n e t e s   i s s u e s   a   c o m m a n d   t o   t h e   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20685"
  },
  {
    "question": "What is CSINodeList?",
    "answer": "C S I N o d e L i s t   i s   a   c o l l e c t i o n   o f   C S I N o d e   o b j e c t s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   C S I N o d e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] C S I N o d e ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   C S I N o d e   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   C S I N o d e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] C S I N o d e ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   C S I N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20686"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20687"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I N o d e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I N o d e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20688"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I N o d e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20689"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20690"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20691"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I N o d e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20692"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20693"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   C S I N o d e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   C S I N o d e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20694"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I N o d e ) :   O K   2 0 1   ( C S I N o d e ) :   C r e a t e d   2 0 2   ( C S I N o d e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20695"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20696"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I N o d e b o d y :   C S I N o d e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I N o d e   b o d y :   C S I N o d e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20697"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I N o d e ) :   O K   2 0 1   ( C S I N o d e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20698"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20699"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I N o d e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I N o d e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20700"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I N o d e ) :   O K   2 0 1   ( C S I N o d e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20701"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20702"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I N o d e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I N o d e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20703"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I N o d e ) :   O K   2 0 2   ( C S I N o d e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20704"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20705"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20706"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20707"
  },
  {
    "question": "What is 3.5 - CSIStorageCapacity?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / s t o r a g e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20708"
  },
  {
    "question": "What is CSIStorageCapacity?",
    "answer": "C S I S t o r a g e C a p a c i t y   s t o r e s   t h e   r e s u l t   o f   o n e   C S I   G e t C a p a c i t y   c a l l .   F o r   a   g i v e n   S t o r a g e C l a s s ,   t h i s   d e s c r i b e s   t h e   a v a i l a b l e   c a p a c i t y   i n   a   p a r t i c u l a r   t o p o l o g y   s e g m e n t .   T h i s   c a n   b e   u s e d   w h e n   c o n s i d e r i n g   w h e r e   t o   i n s t a n t i a t e   n e w   P e r s i s t e n t V o l u m e s .   F o r   e x a m p l e   t h i s   c a n   e x p r e s s   t h i n g s   l i k e :   -   S t o r a g e C l a s s   \" s t a n d a r d \"   h a s   \" 1 2 3 4   G i B \"   a v a i l a b l e   i n   \" t o p o l o g y . k u b e r n e t e s . i o / z o n e = u s - e a s t 1 \"   -   S t o r a g e C l a s s   \" l o c a l s s d \"   h a s   \" 1 0   G i B \"   a v a i l a b l e   i n   \" k u b e r n e t e s . i o / h o s t n a m e = k n o d e - a b c 1 2 3 \"   T h e   f o l l o w i n g   t h r e e   c a s e s   a l l   i m p l y   t h a t   n o   c a p a c i t y   i s   a v a i l a b l e   f o r   a   c e r t a i n   c o m b i n a t i o n :   -   n o   o b j e c t   e x i s t s   w i t h   s u i t a b l e   t o p o l o g y   a n d   s t o r a g e   c l a s s   n a m e   -   s u c h   a n   o b j e c t   e x i s t s ,   b u t   t h e   c a p a c i t y   i s   u n s e t   -   s u c h   a n   o b j e c t   e x i s t s ,   b u t   t h e   c a p a c i t y   i s   z e r o   T h e   p r o d u c e r   o f   t h e s e   o b j e c t s   c a n   d e c i d e   w h i c h   a p p r o a c h   i s   m o r e   s u i t a b l e .   T h e y   a r e   c o n s u m e d   b y   t h e   k u b e - s c h e d u l e r   w h e n   a   C S I   d r i v e r   o p t s   i n t o   c a p a c i t y - a w a r e   s c h e d u l i n g   w i t h   C S I D r i v e r S p e c . S t o r a g e C a p a c i t y .   T h e   s c h e d u l e r   c o m p a r e s   t h e   M a x i m u m V o l u m e S i z e   a g a i n s t   t h e   r e q u e s t e d   s i z ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20709"
  },
  {
    "question": "What is CSIStorageCapacityList?",
    "answer": "C S I S t o r a g e C a p a c i t y L i s t   i s   a   c o l l e c t i o n   o f   C S I S t o r a g e C a p a c i t y   o b j e c t s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   C S I S t o r a g e C a p a c i t y L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] C S I S t o r a g e C a p a c i t y ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   C S I S t o r a g e C a p a c i t y   o b j e c t s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   C S I S t o r a g e C a p a c i t y L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] C S I S t o r a g e C a p a c i t y ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   C S I S t o r a g e C a p a c i t y   o b j e c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20710"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20711"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I S t o r a g e C a p a c i t y n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I S t o r a g e C a p a c i t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20712"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I S t o r a g e C a p a c i t y ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20713"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20714"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20715"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I S t o r a g e C a p a c i t y L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20716"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i s t o r a g e c a p a c i t i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20717"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20718"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I S t o r a g e C a p a c i t y L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20719"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20720"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C S I S t o r a g e C a p a c i t y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C S I S t o r a g e C a p a c i t y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20721"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I S t o r a g e C a p a c i t y ) :   O K   2 0 1   ( C S I S t o r a g e C a p a c i t y ) :   C r e a t e d   2 0 2   ( C S I S t o r a g e C a p a c i t y ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20722"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20723"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I S t o r a g e C a p a c i t y n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C S I S t o r a g e C a p a c i t y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I S t o r a g e C a p a c i t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C S I S t o r a g e C a p a c i t y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20724"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I S t o r a g e C a p a c i t y ) :   O K   2 0 1   ( C S I S t o r a g e C a p a c i t y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20725"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20726"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I S t o r a g e C a p a c i t y n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I S t o r a g e C a p a c i t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20727"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I S t o r a g e C a p a c i t y ) :   O K   2 0 1   ( C S I S t o r a g e C a p a c i t y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20728"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20729"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I S t o r a g e C a p a c i t y n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I S t o r a g e C a p a c i t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20730"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20731"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20732"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20733"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20734"
  },
  {
    "question": "What is 3.6 - PersistentVolumeClaim?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20735"
  },
  {
    "question": "What is PersistentVolumeClaim?",
    "answer": "P e r s i s t e n t V o l u m e C l a i m   i s   a   u s e r ' s   r e q u e s t   f o r   a n d   c l a i m   t o   a   p e r s i s t e n t   v o l u m e   a p i V e r s i o n :   v 1 k i n d :   P e r s i s t e n t V o l u m e C l a i m m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( P e r s i s t e n t V o l u m e C l a i m S p e c ) s p e c   d e f i n e s   t h e   d e s i r e d   c h a r a c t e r i s t i c s   o f   a   v o l u m e   r e q u e s t e d   b y   a   p o d   a u t h o r .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p e r s i s t e n t v o l u m e c l a i m s s t a t u s   ( P e r s i s t e n t V o l u m e C l a i m S t a t u s ) s t a t u s   r e p r e s e n t s   t h e   c u r r e n t   i n f o r m a t i o n / s t a t u s   o f   a   p e r s i s t e n t   v o l u m e   c l a i m .   R e a d - o n l y .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p e r s i s t e n t v o l u m e c l a i m s   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( P e r s i s t e n t V o l u m e C l a i m S p e c )   s p e c   d e f i n e s   t h e   d e s i r e d   c h a r a c t e r i s t i c s   o f   a   v o l u m e   r e q u e s t e d   b y   a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20736"
  },
  {
    "question": "What is PersistentVolumeClaimSpec?",
    "answer": "P e r s i s t e n t V o l u m e C l a i m S p e c   d e s c r i b e s   t h e   c o m m o n   a t t r i b u t e s   o f   s t o r a g e   d e v i c e s   a n d   a l l o w s   a   S o u r c e   f o r   p r o v i d e r - s p e c i f i c   a t t r i b u t e s   a c c e s s M o d e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e a c c e s s M o d e s   c o n t a i n s   t h e   d e s i r e d   a c c e s s   m o d e s   t h e   v o l u m e   s h o u l d   h a v e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # a c c e s s - m o d e s - 1 s e l e c t o r   ( L a b e l S e l e c t o r ) s e l e c t o r   i s   a   l a b e l   q u e r y   o v e r   v o l u m e s   t o   c o n s i d e r   f o r   b i n d i n g . r e s o u r c e s   ( V o l u m e R e s o u r c e R e q u i r e m e n t s ) r e s o u r c e s   r e p r e s e n t s   t h e   m i n i m u m   r e s o u r c e s   t h e   v o l u m e   s h o u l d   h a v e .   I f   R e c o v e r V o l u m e E x p a n s i o n F a i l u r e   f e a t u r e   i s   e n a b l e d   u s e r s   a r e   a l l o w e d   t o   s p e c i f y   r e s o u r c e   r e q u i r e m e n t s   t h a t   a r e   l o w e r   t h a n   p r e v i o u s   v a l u e   b u t   m u s t   s t i l l   b e   h i g h e r   t h a n   c a p a c i t y   r e c o r d e d   i n   t h e   s t a t u s   f i e l d   o f   t h e   c l a i m .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # r e s o u r c e s V o l u m e R e s o u r c e R e q u i r e m e n t s   d e s c r i b e s   t h e   s t o r a g e   r e s o u r c e   r e q u i r e m e n t s   f o r   a   v o l u m e . r e s o u r c e s . l i m i t s   ( m a p [ s t r i n g ] Q u a n t i t y ) L i m i t s   d e s c r i b e s   t h e   m a x i m u m   a m o u n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20737"
  },
  {
    "question": "What is Beta level?",
    "answer": "d a t a S o u r c e   ( T y p e d L o c a l O b j e c t R e f e r e n c e ) d a t a S o u r c e   f i e l d   c a n   b e   u s e d   t o   s p e c i f y   e i t h e r :   *   A n   e x i s t i n g   V o l u m e S n a p s h o t   o b j e c t   ( s n a p s h o t . s t o r a g e . k 8 s . i o / V o l u m e S n a p s h o t )   *   A n   e x i s t i n g   P V C   ( P e r s i s t e n t V o l u m e C l a i m )   I f   t h e   p r o v i s i o n e r   o r   a n   e x t e r n a l   c o n t r o l l e r   c a n   s u p p o r t   t h e   s p e c i f i e d   d a t a   s o u r c e ,   i t   w i l l   c r e a t e   a   n e w   v o l u m e   b a s e d   o n   t h e   c o n t e n t s   o f   t h e   s p e c i f i e d   d a t a   s o u r c e .   W h e n   t h e   A n y V o l u m e D a t a S o u r c e   f e a t u r e   g a t e   i s   e n a b l e d ,   d a t a S o u r c e   c o n t e n t s   w i l l   b e   c o p i e d   t o   d a t a S o u r c e R e f ,   a n d   d a t a S o u r c e R e f   c o n t e n t s   w i l l   b e   c o p i e d   t o   d a t a S o u r c e   w h e n   d a t a S o u r c e R e f . n a m e s p a c e   i s   n o t   s p e c i f i e d .   I f   t h e   n a m e s p a c e   i s   s p e c i f i e d ,   t h e n   d a t a S o u r c e R e f   w i l l   n o t   b e   c o p i e d   t o   d a t a S o u r c e . d a t a S o u r c e R e f   ( T y p e d O b j e c t R e f e r e n c e ) d a t a S o u r c e R e f   s p e c i f i e s   t h e   o b j e c t   f r o m   w h i c h   t o   p o p u l a t e   t h e   v o l u m e   w i t h   d a t a ,   i f   a   n o n - e m p t y   v o l u m e   i s   d e s i r e d .   T h i s   m a y   b e   a n y   o b j e c t   f r o m   a   n o n - e m p t y   A P I   g r o u p   ( n o n   c o r e   o b j e c t )   o r   a   P e r s i s t e n t V o l u m e C l a i m   o b j e c t .   W h e n   t h i s   f i e l d   i s   s p e c i f i e d ,   v o l u m e   b i n d i n g   w i l l   o n l y   s u c c e e d   i f   t h e   t y p e   o f   t h e   s p e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_20738"
  },
  {
    "question": "What is PersistentVolumeClaimStatus?",
    "answer": "P e r s i s t e n t V o l u m e C l a i m S t a t u s   i s   t h e   c u r r e n t   s t a t u s   o f   a   p e r s i s t e n t   v o l u m e   c l a i m .   a c c e s s M o d e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e a c c e s s M o d e s   c o n t a i n s   t h e   a c t u a l   a c c e s s   m o d e s   t h e   v o l u m e   b a c k i n g   t h e   P V C   h a s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # a c c e s s - m o d e s - 1 a l l o c a t e d R e s o u r c e S t a t u s e s   ( m a p [ s t r i n g ] s t r i n g ) a l l o c a t e d R e s o u r c e S t a t u s e s   s t o r e s   s t a t u s   o f   r e s o u r c e   b e i n g   r e s i z e d   f o r   t h e   g i v e n   P V C .   K e y   n a m e s   f o l l o w   s t a n d a r d   K u b e r n e t e s   l a b e l   s y n t a x .   V a l i d   v a l u e s   a r e   e i t h e r :   *   U n - p r e f i x e d   k e y s :   -   s t o r a g e   -   t h e   c a p a c i t y   o f   t h e   v o l u m e .   *   C u s t o m   r e s o u r c e s   m u s t   u s e   i m p l e m e n t a t i o n - d e f i n e d   p r e f i x e d   n a m e s   s u c h   a s   \" e x a m p l e . c o m / m y - c u s t o m - r e s o u r c e \"   A p a r t   f r o m   a b o v e   v a l u e s   -   k e y s   t h a t   a r e   u n p r e f i x e d   o r   h a v e   k u b e r n e t e s . i o   p r e f i x   a r e   c o n s i d e r e d   r e s e r v e d   a n d   h e n c e   m a y   n o t   b e   u s e d . C l a i m R e s o u r c e S t a t u s   c a n   b e   i n   a n y   o f   f o l l o w i n g   s t a t e s :   -   C o n t r o l l e r R e s i z e I n P r o g r e s s :   S t a t e   s e t   w h e n   r e s i z e   c o n t r o l l e r   s t a r t s   r e s i z i n g   t h e   v o l u m e   i n   c o n t r o l - p l a n e .   -   C o n t r o l l e r R e s i z e F a i l e d :   S t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20739"
  },
  {
    "question": "What is PersistentVolumeClaimList?",
    "answer": "P e r s i s t e n t V o l u m e C l a i m L i s t   i s   a   l i s t   o f   P e r s i s t e n t V o l u m e C l a i m   i t e m s .   a p i V e r s i o n :   v 1 k i n d :   P e r s i s t e n t V o l u m e C l a i m L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] P e r s i s t e n t V o l u m e C l a i m ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   p e r s i s t e n t   v o l u m e   c l a i m s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p e r s i s t e n t v o l u m e c l a i m s   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] P e r s i s t e n t V o l u m e C l a i m ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   p e r s i s t e n t   v o l u m e   c l a i m s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p e r s i s t e n t v o l u m e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20740"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20741"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20742"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20743"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20744"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20745"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20746"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20747"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20748"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20749"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / p e r s i s t e n t v o l u m e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20750"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20751"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20752"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20753"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P e r s i s t e n t V o l u m e C l a i m ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P e r s i s t e n t V o l u m e C l a i m ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20754"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e C l a i m ) :   C r e a t e d   2 0 2   ( P e r s i s t e n t V o l u m e C l a i m ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20755"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20756"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P e r s i s t e n t V o l u m e C l a i m ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P e r s i s t e n t V o l u m e C l a i m ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20757"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e C l a i m ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20758"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20759"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P e r s i s t e n t V o l u m e C l a i m ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P e r s i s t e n t V o l u m e C l a i m ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20760"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e C l a i m ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20761"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20762"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20763"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e C l a i m ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20764"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20765"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20766"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e C l a i m ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20767"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20768"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20769"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m ) :   O K   2 0 2   ( P e r s i s t e n t V o l u m e C l a i m ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20770"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20771"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20772"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20773"
  },
  {
    "question": "What is 3.7 - PersistentVolume?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20774"
  },
  {
    "question": "What is PersistentVolume?",
    "answer": "P e r s i s t e n t V o l u m e   ( P V )   i s   a   s t o r a g e   r e s o u r c e   p r o v i s i o n e d   b y   a n   a d m i n i s t r a t o r .   I t   i s   a n a l o g o u s   t o   a   n o d e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s   a p i V e r s i o n :   v 1 k i n d :   P e r s i s t e n t V o l u m e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( P e r s i s t e n t V o l u m e S p e c ) s p e c   d e f i n e s   a   s p e c i f i c a t i o n   o f   a   p e r s i s t e n t   v o l u m e   o w n e d   b y   t h e   c l u s t e r .   P r o v i s i o n e d   b y   a n   a d m i n i s t r a t o r .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p e r s i s t e n t - v o l u m e s s t a t u s   ( P e r s i s t e n t V o l u m e S t a t u s ) s t a t u s   r e p r e s e n t s   t h e   c u r r e n t   i n f o r m a t i o n / s t a t u s   f o r   t h e   p e r s i s t e n t   v o l u m e .   P o p u l a t e d   b y   t h e   s y s t e m .   R e a d - o n l y .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p e r s i s t e n t - v o l u m e s   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20775"
  },
  {
    "question": "What is PersistentVolumeSpec?",
    "answer": "P e r s i s t e n t V o l u m e S p e c   i s   t h e   s p e c i f i c a t i o n   o f   a   p e r s i s t e n t   v o l u m e .   a c c e s s M o d e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e a c c e s s M o d e s   c o n t a i n s   a l l   w a y s   t h e   v o l u m e   c a n   b e   m o u n t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # a c c e s s - m o d e s c a p a c i t y   ( m a p [ s t r i n g ] Q u a n t i t y ) c a p a c i t y   i s   t h e   d e s c r i p t i o n   o f   t h e   p e r s i s t e n t   v o l u m e ' s   r e s o u r c e s   a n d   c a p a c i t y .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # c a p a c i t y c l a i m R e f   ( O b j e c t R e f e r e n c e ) c l a i m R e f   i s   p a r t   o f   a   b i - d i r e c t i o n a l   b i n d i n g   b e t w e e n   P e r s i s t e n t V o l u m e   a n d   P e r s i s t e n t V o l u m e C l a i m .   E x p e c t e d   t o   b e   n o n - n i l   w h e n   b o u n d .   c l a i m . V o l u m e N a m e   i s   t h e   a u t h o r i t a t i v e   b i n d   b e t w e e n   P V   a n d   P V C .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # b i n d i n g m o u n t O p t i o n s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e m o u n t O p t i o n s   i s   t h e   l i s t   o f   m o u n t   o p t i o n s ,   e . g .   [ \" r o \" ,   \" s o f t \" ] .   N o t   v a l i d a t e d   -   m o u n t   w i l l   s i m p l y   f a i l   i f   o n e   i s   i n v a l i d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20776"
  },
  {
    "question": "What is Local?",
    "answer": "h o s t P a t h   ( H o s t P a t h V o l u m e S o u r c e ) h o s t P a t h   r e p r e s e n t s   a   d i r e c t o r y   o n   t h e   h o s t .   P r o v i s i o n e d   b y   a   d e v e l o p e r   o r   t e s t e r .   T h i s   i s   u s e f u l   f o r   s i n g l e - n o d e   d e v e l o p m e n t   a n d   t e s t i n g   o n l y !   O n - h o s t   s t o r a g e   i s   n o t   s u p p o r t e d   i n   a n y   w a y   a n d   W I L L   N O T   W O R K   i n   a   m u l t i - n o d e   c l u s t e r .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # h o s t p a t h R e p r e s e n t s   a   h o s t   p a t h   m a p p e d   i n t o   a   p o d .   H o s t   p a t h   v o l u m e s   d o   n o t   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   o r   S E L i n u x   r e l a b e l i n g . h o s t P a t h . p a t h   ( s t r i n g ) ,   r e q u i r e d p a t h   o f   t h e   d i r e c t o r y   o n   t h e   h o s t .   I f   t h e   p a t h   i s   a   s y m l i n k ,   i t   w i l l   f o l l o w   t h e   l i n k   t o   t h e   r e a l   p a t h .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # h o s t p a t h h o s t P a t h . t y p e   ( s t r i n g ) t y p e   f o r   H o s t P a t h   V o l u m e   D e f a u l t s   t o   \" \"   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # h o s t p a t h l o c a l   ( L o c a l V o l u m e S o u r c e ) l o c a l   r e p r e s e n t s   d i r e c t l y - a t t a c h e d   s t o r a g e   w i t h   n o d e   a f f i n i t y L o c a l   r e p r e s e n t s   d i r e c t l y - a t t a c h e d   s t o r a g e   w i t h   n o d e   a f f i n i t y l o c a l . p a t h   ( s t r i n g ) ,   r e q u i r e d p a t h   o f   t h e   f u l l   p a t h   t o   t h e   v o l u m ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_20777"
  },
  {
    "question": "What is Persistent volumes?",
    "answer": "a w s E l a s t i c B l o c k S t o r e   ( A W S E l a s t i c B l o c k S t o r e V o l u m e S o u r c e ) a w s E l a s t i c B l o c k S t o r e   r e p r e s e n t s   a n   A W S   D i s k   r e s o u r c e   t h a t   i s   a t t a c h e d   t o   a   k u b e l e t ' s   h o s t   m a c h i n e   a n d   t h e n   e x p o s e d   t o   t h e   p o d .   D e p r e c a t e d :   A W S E l a s t i c B l o c k S t o r e   i s   d e p r e c a t e d .   A l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   a w s E l a s t i c B l o c k S t o r e   t y p e   a r e   r e d i r e c t e d   t o   t h e   e b s . c s i . a w s . c o m   C S I   d r i v e r .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # a w s e l a s t i c b l o c k s t o r e * R e p r e s e n t s   a   P e r s i s t e n t   D i s k   r e s o u r c e   i n   A W S . A n   A W S   E B S   d i s k   m u s t   e x i s t   b e f o r e   m o u n t i n g   t o   a   c o n t a i n e r .   T h e   d i s k   m u s t   a l s o   b e   i n   t h e   s a m e   A W S   z o n e   a s   t h e   k u b e l e t .   A n   A W S   E B S   d i s k   c a n   o n l y   b e   m o u n t e d   a s   r e a d / w r i t e   o n c e .   A W S   E B S   v o l u m e s   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a n d   S E L i n u x   r e l a b e l i n g . * a w s E l a s t i c B l o c k S t o r e . v o l u m e I D   ( s t r i n g ) ,   r e q u i r e d v o l u m e I D   i s   u n i q u e   I D   o f   t h e   p e r s i s t e n t   d i s k   r e s o u r c e   i n   A W S   ( A m a z o n   E B S   v o l u m e ) .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # a w s e l a s t i c b l o c k s t o r e a w s E l a s t i c B l o c k S t o r e . f s T y p e   ( s t r i n g ) f s T y p e   i s   t h e   f i l e s y s t e m   t y p e   o f   t h e   v o l u m ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_20778"
  },
  {
    "question": "What is PersistentVolumeStatus?",
    "answer": "P e r s i s t e n t V o l u m e S t a t u s   i s   t h e   c u r r e n t   s t a t u s   o f   a   p e r s i s t e n t   v o l u m e .   l a s t P h a s e T r a n s i t i o n T i m e   ( T i m e ) l a s t P h a s e T r a n s i t i o n T i m e   i s   t h e   t i m e   t h e   p h a s e   t r a n s i t i o n e d   f r o m   o n e   t o   a n o t h e r   a n d   a u t o m a t i c a l l y   r e s e t s   t o   c u r r e n t   t i m e   e v e r y t i m e   a   v o l u m e   p h a s e   t r a n s i t i o n s . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . m e s s a g e   ( s t r i n g ) m e s s a g e   i s   a   h u m a n - r e a d a b l e   m e s s a g e   i n d i c a t i n g   d e t a i l s   a b o u t   w h y   t h e   v o l u m e   i s   i n   t h i s   s t a t e . p h a s e   ( s t r i n g ) p h a s e   i n d i c a t e s   i f   a   v o l u m e   i s   a v a i l a b l e ,   b o u n d   t o   a   c l a i m ,   o r   r e l e a s e d   b y   a   c l a i m .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p h a s e r e a s o n   ( s t r i n g ) r e a s o n   i s   a   b r i e f   C a m e l C a s e   s t r i n g   t h a t   d e s c r i b e s   a n y   f a i l u r e   a n d   i s   m e a n t   f o r   m a c h i n e   p a r s i n g   a n d   t i d y   d i s p l a y   i n   t h e   C L I .   l a s t P h a s e T r a n s i t i o n T i m e   ( T i m e )   l a s t P h a s e T r a n s i t i o n T i m e   i s   t h e   t i m e   t h e   p h a s e   t r a n s i t i o n e d   f r o m   o n e   t o   a n o t h e r   a n d   a u t o m a t i c a l l y   r e s e t s   t o   c u r r e n t   t i m ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20779"
  },
  {
    "question": "What is PersistentVolumeList?",
    "answer": "P e r s i s t e n t V o l u m e L i s t   i s   a   l i s t   o f   P e r s i s t e n t V o l u m e   i t e m s .   a p i V e r s i o n :   v 1 k i n d :   P e r s i s t e n t V o l u m e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] P e r s i s t e n t V o l u m e ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   p e r s i s t e n t   v o l u m e s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] P e r s i s t e n t V o l u m e ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   p e r s i s t e n t   v o l u m e s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20780"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20781"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20782"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20783"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20784"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20785"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20786"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / p e r s i s t e n t v o l u m e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20787"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20788"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20789"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / p e r s i s t e n t v o l u m e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20790"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   P e r s i s t e n t V o l u m e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   P e r s i s t e n t V o l u m e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20791"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e ) :   C r e a t e d   2 0 2   ( P e r s i s t e n t V o l u m e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20792"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20793"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e b o d y :   P e r s i s t e n t V o l u m e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   b o d y :   P e r s i s t e n t V o l u m e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20794"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20795"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20796"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e b o d y :   P e r s i s t e n t V o l u m e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   b o d y :   P e r s i s t e n t V o l u m e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20797"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20798"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20799"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20800"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20801"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20802"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20803"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20804"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20805"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20806"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   2 0 2   ( P e r s i s t e n t V o l u m e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20807"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / p e r s i s t e n t v o l u m e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20808"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20809"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20810"
  },
  {
    "question": "What is 3.8 - StorageClass?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / s t o r a g e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20811"
  },
  {
    "question": "What is StorageClass?",
    "answer": "S t o r a g e C l a s s   d e s c r i b e s   t h e   p a r a m e t e r s   f o r   a   c l a s s   o f   s t o r a g e   f o r   w h i c h   P e r s i s t e n t V o l u m e s   c a n   b e   d y n a m i c a l l y   p r o v i s i o n e d .   S t o r a g e C l a s s e s   a r e   n o n - n a m e s p a c e d ;   t h e   n a m e   o f   t h e   s t o r a g e   c l a s s   a c c o r d i n g   t o   e t c d   i s   i n   O b j e c t M e t a . N a m e .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   S t o r a g e C l a s s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a p r o v i s i o n e r   ( s t r i n g ) ,   r e q u i r e d p r o v i s i o n e r   i n d i c a t e s   t h e   t y p e   o f   t h e   p r o v i s i o n e r . a l l o w V o l u m e E x p a n s i o n   ( b o o l e a n ) a l l o w V o l u m e E x p a n s i o n   s h o w s   w h e t h e r   t h e   s t o r a g e   c l a s s   a l l o w   v o l u m e   e x p a n d . a l l o w e d T o p o l o g i e s   ( [ ] T o p o l o g y S e l e c t o r T e r m ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e a l l o w e d T o p o l o g i e s   r e s t r i c t   t h e   n o d e   t o p o l o g i e s   w h e r e   v o l u m e s   c a n   b e   d y n a m i c a l l y   p r o v i s i o n e d .   E a c h   v o l u m e   p l u g i n   d e f i n e s   i t s   o w n   s u p p o r t e d   t o p o l o g y   s p e c i f i c a t i o n s .   A n   e m p t y   T o p o l o g y S e l e c t o r T e r m   l i s t   m e a n s   t h e r e   i s   n o   t o p o l o g y   r e s t r i c t i o n .   T h i s   f i e l d   i s   o n l y   h o n o r e d   b y   s e r v e r s   t h a t   e n a b l e   t h e   V o l u m e S c h e d u l i n g   f ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20812"
  },
  {
    "question": "What is StorageClassList?",
    "answer": "S t o r a g e C l a s s L i s t   i s   a   c o l l e c t i o n   o f   s t o r a g e   c l a s s e s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   S t o r a g e C l a s s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] S t o r a g e C l a s s ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   S t o r a g e C l a s s e s   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] S t o r a g e C l a s s ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   S t o r a g e C l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20813"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20814"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e C l a s s p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e C l a s s   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20815"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e C l a s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20816"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20817"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20818"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e C l a s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20819"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20820"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   S t o r a g e C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   S t o r a g e C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20821"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e C l a s s ) :   O K   2 0 1   ( S t o r a g e C l a s s ) :   C r e a t e d   2 0 2   ( S t o r a g e C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20822"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20823"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e C l a s s b o d y :   S t o r a g e C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e C l a s s   b o d y :   S t o r a g e C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20824"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e C l a s s ) :   O K   2 0 1   ( S t o r a g e C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20825"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20826"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e C l a s s b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e C l a s s   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20827"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e C l a s s ) :   O K   2 0 1   ( S t o r a g e C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20828"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20829"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e C l a s s b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e C l a s s   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20830"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e C l a s s ) :   O K   2 0 2   ( S t o r a g e C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20831"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20832"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20833"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20834"
  },
  {
    "question": "What is 3.9 - StorageVersionMigration v1alpha1?",
    "answer": "a p i V e r s i o n :   s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1   i m p o r t   \" k 8 s . i o / a p i / s t o r a g e m i g r a t i o n / v 1 a l p h a 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20835"
  },
  {
    "question": "What is StorageVersionMigration?",
    "answer": "S t o r a g e V e r s i o n M i g r a t i o n   r e p r e s e n t s   a   m i g r a t i o n   o f   s t o r e d   d a t a   t o   t h e   l a t e s t   s t o r a g e   v e r s i o n .   a p i V e r s i o n :   s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 k i n d :   S t o r a g e V e r s i o n M i g r a t i o n m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( S t o r a g e V e r s i o n M i g r a t i o n S p e c ) S p e c i f i c a t i o n   o f   t h e   m i g r a t i o n . s t a t u s   ( S t o r a g e V e r s i o n M i g r a t i o n S t a t u s ) S t a t u s   o f   t h e   m i g r a t i o n .   a p i V e r s i o n :   s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1   k i n d :   S t o r a g e V e r s i o n M i g r a t i o n   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( S t o r a g e V e r s i o n M i g r a t i o n S p e c )   S p e c i f i c a t i o n   o f   t h e   m i g r a t i o n .   s t a t u s   ( S t o r a g e V e r s i o n M i g r a t i o n S t a t u s )   S t a t u s   o f   t h e   m i g r a t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20836"
  },
  {
    "question": "What is StorageVersionMigrationSpec?",
    "answer": "S p e c   o f   t h e   s t o r a g e   v e r s i o n   m i g r a t i o n .   c o n t i n u e T o k e n   ( s t r i n g ) T h e   t o k e n   u s e d   i n   t h e   l i s t   o p t i o n s   t o   g e t   t h e   n e x t   c h u n k   o f   o b j e c t s   t o   m i g r a t e .   W h e n   t h e   . s t a t u s . c o n d i t i o n s   i n d i c a t e s   t h e   m i g r a t i o n   i s   \" R u n n i n g \" ,   u s e r s   c a n   u s e   t h i s   t o k e n   t o   c h e c k   t h e   p r o g r e s s   o f   t h e   m i g r a t i o n . r e s o u r c e   ( G r o u p V e r s i o n R e s o u r c e ) ,   r e q u i r e d T h e   r e s o u r c e   t h a t   i s   b e i n g   m i g r a t e d .   T h e   m i g r a t o r   s e n d s   r e q u e s t s   t o   t h e   e n d p o i n t   s e r v i n g   t h e   r e s o u r c e .   I m m u t a b l e . T h e   n a m e s   o f   t h e   g r o u p ,   t h e   v e r s i o n ,   a n d   t h e   r e s o u r c e . r e s o u r c e . g r o u p   ( s t r i n g ) T h e   n a m e   o f   t h e   g r o u p . r e s o u r c e . r e s o u r c e   ( s t r i n g ) T h e   n a m e   o f   t h e   r e s o u r c e . r e s o u r c e . v e r s i o n   ( s t r i n g ) T h e   n a m e   o f   t h e   v e r s i o n .   c o n t i n u e T o k e n   ( s t r i n g )   T h e   t o k e n   u s e d   i n   t h e   l i s t   o p t i o n s   t o   g e t   t h e   n e x t   c h u n k   o f   o b j e c t s   t o   m i g r a t e .   W h e n   t h e   . s t a t u s . c o n d i t i o n s   i n d i c a t e s   t h e   m i g r a t i o n   i s   \" R u n n i n g \" ,   u s e r s   c a n   u s e   t h i s   t o k e n   t o   c h e c k   t h e   p r o g r e s s   o f   t h e   m i g r a t i o n .   r e s o u r c e   ( G r o u p V e r s i o n R e s o u r c e ) ,   r e q u i r e d   T h e   r e s o u r c e   t h a t   i s   b e i n g   m i g r a t e d .   T h e   m i g r a t o r   s e n d s   r e q u e s t s   t o   t h e   e n d p o i n t   s e r v i n g   t h e   r e s o u r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20837"
  },
  {
    "question": "What is StorageVersionMigrationStatus?",
    "answer": "S t a t u s   o f   t h e   s t o r a g e   v e r s i o n   m i g r a t i o n .   c o n d i t i o n s   ( [ ] M i g r a t i o n C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e T h e   l a t e s t   a v a i l a b l e   o b s e r v a t i o n s   o f   t h e   m i g r a t i o n ' s   c u r r e n t   s t a t e . D e s c r i b e s   t h e   s t a t e   o f   a   m i g r a t i o n   a t   a   c e r t a i n   p o i n t . c o n d i t i o n s . s t a t u s   ( s t r i n g ) ,   r e q u i r e d S t a t u s   o f   t h e   c o n d i t i o n ,   o n e   o f   T r u e ,   F a l s e ,   U n k n o w n . c o n d i t i o n s . t y p e   ( s t r i n g ) ,   r e q u i r e d T y p e   o f   t h e   c o n d i t i o n . c o n d i t i o n s . l a s t U p d a t e T i m e   ( T i m e ) T h e   l a s t   t i m e   t h i s   c o n d i t i o n   w a s   u p d a t e d . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c o n d i t i o n s . m e s s a g e   ( s t r i n g ) A   h u m a n   r e a d a b l e   m e s s a g e   i n d i c a t i n g   d e t a i l s   a b o u t   t h e   t r a n s i t i o n . c o n d i t i o n s . r e a s o n   ( s t r i n g ) T h e   r e a s o n   f o r   t h e   c o n d i t i o n ' s   l a s t   t r a n s i t i o n . r e s o u r c e V e r s i o n   ( s t r i n g ) R e s o u r c e V e r s i o n   t o   c o m p a r e   w i t h   t h e   G C   c a c h e   f o r   p e r f o r m i n g   t h e   m i g r a t i o n .   T h i s   i s   t h e   c u r r e n t   r e s o u r c e   v e r s i o n   o f   g i v e n   g r o u p ,   v e r s i o n   a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20838"
  },
  {
    "question": "What is StorageVersionMigrationList?",
    "answer": "S t o r a g e V e r s i o n M i g r a t i o n L i s t   i s   a   c o l l e c t i o n   o f   s t o r a g e   v e r s i o n   m i g r a t i o n s .   a p i V e r s i o n :   s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 k i n d :   S t o r a g e V e r s i o n M i g r a t i o n L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] S t o r a g e V e r s i o n M i g r a t i o n ) ,   r e q u i r e d P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e I t e m s   i s   t h e   l i s t   o f   S t o r a g e V e r s i o n M i g r a t i o n   a p i V e r s i o n :   s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1   k i n d :   S t o r a g e V e r s i o n M i g r a t i o n L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] S t o r a g e V e r s i o n M i g r a t i o n ) ,   r e q u i r e d   P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e   M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e   I t e m s   i s   t h e   l i s t   o f   S t o r a g e V e r s i o n M i g r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20839"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20840"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20841"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20842"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20843"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20844"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20845"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20846"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20847"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e V e r s i o n M i g r a t i o n L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20848"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20849"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   S t o r a g e V e r s i o n M i g r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   S t o r a g e V e r s i o n M i g r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20850"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   O K   2 0 1   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   C r e a t e d   2 0 2   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20851"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20852"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n b o d y :   S t o r a g e V e r s i o n M i g r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n   b o d y :   S t o r a g e V e r s i o n M i g r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20853"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   O K   2 0 1   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20854"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20855"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n b o d y :   S t o r a g e V e r s i o n M i g r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n   b o d y :   S t o r a g e V e r s i o n M i g r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20856"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   O K   2 0 1   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20857"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20858"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20859"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   O K   2 0 1   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20860"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20861"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20862"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   O K   2 0 1   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20863"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20864"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20865"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20866"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20867"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20868"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20869"
  },
  {
    "question": "What is 3.10 - Volume?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20870"
  },
  {
    "question": "What is Volume?",
    "answer": "V o l u m e   r e p r e s e n t s   a   n a m e d   v o l u m e   i n   a   p o d   t h a t   m a y   b e   a c c e s s e d   b y   a n y   c o n t a i n e r   i n   t h e   p o d .   n a m e   ( s t r i n g ) ,   r e q u i r e d n a m e   o f   t h e   v o l u m e .   M u s t   b e   a   D N S _ L A B E L   a n d   u n i q u e   w i t h i n   t h e   p o d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s / # n a m e s   n a m e   ( s t r i n g ) ,   r e q u i r e d   n a m e   o f   t h e   v o l u m e .   M u s t   b e   a   D N S _ L A B E L   a n d   u n i q u e   w i t h i n   t h e   p o d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s / # n a m e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20871"
  },
  {
    "question": "What is Exposed Persistent volumes?",
    "answer": "p e r s i s t e n t V o l u m e C l a i m   ( P e r s i s t e n t V o l u m e C l a i m V o l u m e S o u r c e ) p e r s i s t e n t V o l u m e C l a i m V o l u m e S o u r c e   r e p r e s e n t s   a   r e f e r e n c e   t o   a   P e r s i s t e n t V o l u m e C l a i m   i n   t h e   s a m e   n a m e s p a c e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p e r s i s t e n t v o l u m e c l a i m s P e r s i s t e n t V o l u m e C l a i m V o l u m e S o u r c e   r e f e r e n c e s   t h e   u s e r ' s   P V C   i n   t h e   s a m e   n a m e s p a c e .   T h i s   v o l u m e   f i n d s   t h e   b o u n d   P V   a n d   m o u n t s   t h a t   v o l u m e   f o r   t h e   p o d .   A   P e r s i s t e n t V o l u m e C l a i m V o l u m e S o u r c e   i s ,   e s s e n t i a l l y ,   a   w r a p p e r   a r o u n d   a n o t h e r   t y p e   o f   v o l u m e   t h a t   i s   o w n e d   b y   s o m e o n e   e l s e   ( t h e   s y s t e m ) . p e r s i s t e n t V o l u m e C l a i m . c l a i m N a m e   ( s t r i n g ) ,   r e q u i r e d c l a i m N a m e   i s   t h e   n a m e   o f   a   P e r s i s t e n t V o l u m e C l a i m   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   p o d   u s i n g   t h i s   v o l u m e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p e r s i s t e n t v o l u m e c l a i m s p e r s i s t e n t V o l u m e C l a i m . r e a d O n l y   ( b o o l e a n ) r e a d O n l y   W i l l   f o r c e   t h e   R e a d O n l y   s e t t i n g   i n   V o l u m e M o u n t s .   D e f a u l t   f a l s e .   p e r s i s t e n t V o l u m e C l a i m   ( P e r s i s t e n t V o l u m e C l a i m V o l u m e S o u r c e )   p e r s i s t e n t V o l u m e C l a i m V o l u m e S o u r c e   r e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_20872"
  },
  {
    "question": "What is Projections?",
    "answer": "c o n f i g M a p   ( C o n f i g M a p V o l u m e S o u r c e ) c o n f i g M a p   r e p r e s e n t s   a   c o n f i g M a p   t h a t   s h o u l d   p o p u l a t e   t h i s   v o l u m e * A d a p t s   a   C o n f i g M a p   i n t o   a   v o l u m e . T h e   c o n t e n t s   o f   t h e   t a r g e t   C o n f i g M a p ' s   D a t a   f i e l d   w i l l   b e   p r e s e n t e d   i n   a   v o l u m e   a s   f i l e s   u s i n g   t h e   k e y s   i n   t h e   D a t a   f i e l d   a s   t h e   f i l e   n a m e s ,   u n l e s s   t h e   i t e m s   e l e m e n t   i s   p o p u l a t e d   w i t h   s p e c i f i c   m a p p i n g s   o f   k e y s   t o   p a t h s .   C o n f i g M a p   v o l u m e s   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a n d   S E L i n u x   r e l a b e l i n g . * c o n f i g M a p . n a m e   ( s t r i n g ) N a m e   o f   t h e   r e f e r e n t .   T h i s   f i e l d   i s   e f f e c t i v e l y   r e q u i r e d ,   b u t   d u e   t o   b a c k w a r d s   c o m p a t i b i l i t y   i s   a l l o w e d   t o   b e   e m p t y .   I n s t a n c e s   o f   t h i s   t y p e   w i t h   a n   e m p t y   v a l u e   h e r e   a r e   a l m o s t   c e r t a i n l y   w r o n g .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s / # n a m e s c o n f i g M a p . o p t i o n a l   ( b o o l e a n ) o p t i o n a l   s p e c i f y   w h e t h e r   t h e   C o n f i g M a p   o r   i t s   k e y s   m u s t   b e   d e f i n e d c o n f i g M a p . d e f a u l t M o d e   ( i n t 3 2 ) d e f a u l t M o d e   i s   o p t i o n a l :   m o d e   b i t s   u s e d   t o   s e t   p e r m i s s i o n s   o n   c r e a t e d   f i l e s   b y   d e f a u l t .   M u s t   b e   a n   o c t a l   v a l u e   b e t w e e n   0 0 0 0   a n d   0 7 7 7   o r   a   d e c i m a l   v a l ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_20873"
  },
  {
    "question": "What is Local / Temporary Directory?",
    "answer": "e m p t y D i r   ( E m p t y D i r V o l u m e S o u r c e ) e m p t y D i r   r e p r e s e n t s   a   t e m p o r a r y   d i r e c t o r y   t h a t   s h a r e s   a   p o d ' s   l i f e t i m e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # e m p t y d i r R e p r e s e n t s   a n   e m p t y   d i r e c t o r y   f o r   a   p o d .   E m p t y   d i r e c t o r y   v o l u m e s   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a n d   S E L i n u x   r e l a b e l i n g . e m p t y D i r . m e d i u m   ( s t r i n g ) m e d i u m   r e p r e s e n t s   w h a t   t y p e   o f   s t o r a g e   m e d i u m   s h o u l d   b a c k   t h i s   d i r e c t o r y .   T h e   d e f a u l t   i s   \" \"   w h i c h   m e a n s   t o   u s e   t h e   n o d e ' s   d e f a u l t   m e d i u m .   M u s t   b e   a n   e m p t y   s t r i n g   ( d e f a u l t )   o r   M e m o r y .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # e m p t y d i r e m p t y D i r . s i z e L i m i t   ( Q u a n t i t y ) s i z e L i m i t   i s   t h e   t o t a l   a m o u n t   o f   l o c a l   s t o r a g e   r e q u i r e d   f o r   t h i s   E m p t y D i r   v o l u m e .   T h e   s i z e   l i m i t   i s   a l s o   a p p l i c a b l e   f o r   m e m o r y   m e d i u m .   T h e   m a x i m u m   u s a g e   o n   m e m o r y   m e d i u m   E m p t y D i r   w o u l d   b e   t h e   m i n i m u m   v a l u e   b e t w e e n   t h e   S i z e L i m i t   s p e c i f i e d   h e r e   a n d   t h e   s u m   o f   m e m o r y   l i m i t s   o f   a l l   c o n t a i n e r s   i n   a   p o d .   T h e   d e f a u l t   i s   n i l   w h i c h   m e a n s   t h a t   t h e   l i m i t   i s   u n d e f i n e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_20874"
  },
  {
    "question": "What is Persistent volumes?",
    "answer": "a w s E l a s t i c B l o c k S t o r e   ( A W S E l a s t i c B l o c k S t o r e V o l u m e S o u r c e ) a w s E l a s t i c B l o c k S t o r e   r e p r e s e n t s   a n   A W S   D i s k   r e s o u r c e   t h a t   i s   a t t a c h e d   t o   a   k u b e l e t ' s   h o s t   m a c h i n e   a n d   t h e n   e x p o s e d   t o   t h e   p o d .   D e p r e c a t e d :   A W S E l a s t i c B l o c k S t o r e   i s   d e p r e c a t e d .   A l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   a w s E l a s t i c B l o c k S t o r e   t y p e   a r e   r e d i r e c t e d   t o   t h e   e b s . c s i . a w s . c o m   C S I   d r i v e r .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # a w s e l a s t i c b l o c k s t o r e * R e p r e s e n t s   a   P e r s i s t e n t   D i s k   r e s o u r c e   i n   A W S . A n   A W S   E B S   d i s k   m u s t   e x i s t   b e f o r e   m o u n t i n g   t o   a   c o n t a i n e r .   T h e   d i s k   m u s t   a l s o   b e   i n   t h e   s a m e   A W S   z o n e   a s   t h e   k u b e l e t .   A n   A W S   E B S   d i s k   c a n   o n l y   b e   m o u n t e d   a s   r e a d / w r i t e   o n c e .   A W S   E B S   v o l u m e s   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a n d   S E L i n u x   r e l a b e l i n g . * a w s E l a s t i c B l o c k S t o r e . v o l u m e I D   ( s t r i n g ) ,   r e q u i r e d v o l u m e I D   i s   u n i q u e   I D   o f   t h e   p e r s i s t e n t   d i s k   r e s o u r c e   i n   A W S   ( A m a z o n   E B S   v o l u m e ) .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # a w s e l a s t i c b l o c k s t o r e a w s E l a s t i c B l o c k S t o r e . f s T y p e   ( s t r i n g ) f s T y p e   i s   t h e   f i l e s y s t e m   t y p e   o f   t h e   v o l u m ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_20875"
  },
  {
    "question": "What is Deprecated?",
    "answer": "g i t R e p o   ( G i t R e p o V o l u m e S o u r c e ) g i t R e p o   r e p r e s e n t s   a   g i t   r e p o s i t o r y   a t   a   p a r t i c u l a r   r e v i s i o n .   D e p r e c a t e d :   G i t R e p o   i s   d e p r e c a t e d .   T o   p r o v i s i o n   a   c o n t a i n e r   w i t h   a   g i t   r e p o ,   m o u n t   a n   E m p t y D i r   i n t o   a n   I n i t C o n t a i n e r   t h a t   c l o n e s   t h e   r e p o   u s i n g   g i t ,   t h e n   m o u n t   t h e   E m p t y D i r   i n t o   t h e   P o d ' s   c o n t a i n e r . * R e p r e s e n t s   a   v o l u m e   t h a t   i s   p o p u l a t e d   w i t h   t h e   c o n t e n t s   o f   a   g i t   r e p o s i t o r y .   G i t   r e p o   v o l u m e s   d o   n o t   s u p p o r t   o w n e r s h i p   m a n a g e m e n t .   G i t   r e p o   v o l u m e s   s u p p o r t   S E L i n u x   r e l a b e l i n g . D E P R E C A T E D :   G i t R e p o   i s   d e p r e c a t e d .   T o   p r o v i s i o n   a   c o n t a i n e r   w i t h   a   g i t   r e p o ,   m o u n t   a n   E m p t y D i r   i n t o   a n   I n i t C o n t a i n e r   t h a t   c l o n e s   t h e   r e p o   u s i n g   g i t ,   t h e n   m o u n t   t h e   E m p t y D i r   i n t o   t h e   P o d ' s   c o n t a i n e r . * g i t R e p o . r e p o s i t o r y   ( s t r i n g ) ,   r e q u i r e d r e p o s i t o r y   i s   t h e   U R L g i t R e p o . d i r e c t o r y   ( s t r i n g ) d i r e c t o r y   i s   t h e   t a r g e t   d i r e c t o r y   n a m e .   M u s t   n o t   c o n t a i n   o r   s t a r t   w i t h   ' . . ' .   I f   ' . '   i s   s u p p l i e d ,   t h e   v o l u m e   d i r e c t o r y   w i l l   b e   t h e   g i t   r e p o s i t o r y .   O t h e r w i s e ,   i f   s p e c i f i e d ,   t h e   v o l u m e   w i l l   c o n t a i n   t h e   g i t   r e p o s i t o r y   i n   t h e   s u b d i r e c t o r y   w i t h   t h e   g i v e n   n a m ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_20876"
  },
  {
    "question": "What is DownwardAPIVolumeFile?",
    "answer": "D o w n w a r d A P I V o l u m e F i l e   r e p r e s e n t s   i n f o r m a t i o n   t o   c r e a t e   t h e   f i l e   c o n t a i n i n g   t h e   p o d   f i e l d   p a t h   ( s t r i n g ) ,   r e q u i r e d R e q u i r e d :   P a t h   i s   t h e   r e l a t i v e   p a t h   n a m e   o f   t h e   f i l e   t o   b e   c r e a t e d .   M u s t   n o t   b e   a b s o l u t e   o r   c o n t a i n   t h e   ' . . '   p a t h .   M u s t   b e   u t f - 8   e n c o d e d .   T h e   f i r s t   i t e m   o f   t h e   r e l a t i v e   p a t h   m u s t   n o t   s t a r t   w i t h   ' . . ' f i e l d R e f   ( O b j e c t F i e l d S e l e c t o r ) R e q u i r e d :   S e l e c t s   a   f i e l d   o f   t h e   p o d :   o n l y   a n n o t a t i o n s ,   l a b e l s ,   n a m e ,   n a m e s p a c e   a n d   u i d   a r e   s u p p o r t e d . m o d e   ( i n t 3 2 ) O p t i o n a l :   m o d e   b i t s   u s e d   t o   s e t   p e r m i s s i o n s   o n   t h i s   f i l e ,   m u s t   b e   a n   o c t a l   v a l u e   b e t w e e n   0 0 0 0   a n d   0 7 7 7   o r   a   d e c i m a l   v a l u e   b e t w e e n   0   a n d   5 1 1 .   Y A M L   a c c e p t s   b o t h   o c t a l   a n d   d e c i m a l   v a l u e s ,   J S O N   r e q u i r e s   d e c i m a l   v a l u e s   f o r   m o d e   b i t s .   I f   n o t   s p e c i f i e d ,   t h e   v o l u m e   d e f a u l t M o d e   w i l l   b e   u s e d .   T h i s   m i g h t   b e   i n   c o n f l i c t   w i t h   o t h e r   o p t i o n s   t h a t   a f f e c t   t h e   f i l e   m o d e ,   l i k e   f s G r o u p ,   a n d   t h e   r e s u l t   c a n   b e   o t h e r   m o d e   b i t s   s e t . r e s o u r c e F i e l d R e f   ( R e s o u r c e F i e l d S e l e c t o r ) S e l e c t s   a   r e s o u r c e   o f   t h e   c o n t a i n e r :   o n l y   r e s o u r c e s   l i m i t s   a n d   r e q u e s t s   ( l i m i t s . c p u ,   l i m i t s . m e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20877"
  },
  {
    "question": "What is KeyToPath?",
    "answer": "M a p s   a   s t r i n g   k e y   t o   a   p a t h   w i t h i n   a   v o l u m e .   k e y   ( s t r i n g ) ,   r e q u i r e d k e y   i s   t h e   k e y   t o   p r o j e c t . p a t h   ( s t r i n g ) ,   r e q u i r e d p a t h   i s   t h e   r e l a t i v e   p a t h   o f   t h e   f i l e   t o   m a p   t h e   k e y   t o .   M a y   n o t   b e   a n   a b s o l u t e   p a t h .   M a y   n o t   c o n t a i n   t h e   p a t h   e l e m e n t   ' . . ' .   M a y   n o t   s t a r t   w i t h   t h e   s t r i n g   ' . . ' . m o d e   ( i n t 3 2 ) m o d e   i s   O p t i o n a l :   m o d e   b i t s   u s e d   t o   s e t   p e r m i s s i o n s   o n   t h i s   f i l e .   M u s t   b e   a n   o c t a l   v a l u e   b e t w e e n   0 0 0 0   a n d   0 7 7 7   o r   a   d e c i m a l   v a l u e   b e t w e e n   0   a n d   5 1 1 .   Y A M L   a c c e p t s   b o t h   o c t a l   a n d   d e c i m a l   v a l u e s ,   J S O N   r e q u i r e s   d e c i m a l   v a l u e s   f o r   m o d e   b i t s .   I f   n o t   s p e c i f i e d ,   t h e   v o l u m e   d e f a u l t M o d e   w i l l   b e   u s e d .   T h i s   m i g h t   b e   i n   c o n f l i c t   w i t h   o t h e r   o p t i o n s   t h a t   a f f e c t   t h e   f i l e   m o d e ,   l i k e   f s G r o u p ,   a n d   t h e   r e s u l t   c a n   b e   o t h e r   m o d e   b i t s   s e t .   k e y   ( s t r i n g ) ,   r e q u i r e d   k e y   i s   t h e   k e y   t o   p r o j e c t .   p a t h   ( s t r i n g ) ,   r e q u i r e d   p a t h   i s   t h e   r e l a t i v e   p a t h   o f   t h e   f i l e   t o   m a p   t h e   k e y   t o .   M a y   n o t   b e   a n   a b s o l u t e   p a t h .   M a y   n o t   c o n t a i n   t h e   p a t h   e l e m e n t   ' . . ' .   M a y   n o t   s t a r t   w i t h   t h e   s t r i n g   ' . . ' .   m o d e   ( i n t 3 2 )   m o d e   i s   O p t i o n a l :   m o d e   b i t s   u s e d   t o   s e t   p e r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20878"
  },
  {
    "question": "What is 3.11 - VolumeAttachment?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / s t o r a g e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20879"
  },
  {
    "question": "What is VolumeAttachment?",
    "answer": "V o l u m e A t t a c h m e n t   c a p t u r e s   t h e   i n t e n t   t o   a t t a c h   o r   d e t a c h   t h e   s p e c i f i e d   v o l u m e   t o / f r o m   t h e   s p e c i f i e d   n o d e .   V o l u m e A t t a c h m e n t   o b j e c t s   a r e   n o n - n a m e s p a c e d .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   V o l u m e A t t a c h m e n t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( V o l u m e A t t a c h m e n t S p e c ) ,   r e q u i r e d s p e c   r e p r e s e n t s   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   a t t a c h / d e t a c h   v o l u m e   b e h a v i o r .   P o p u l a t e d   b y   t h e   K u b e r n e t e s   s y s t e m . s t a t u s   ( V o l u m e A t t a c h m e n t S t a t u s ) s t a t u s   r e p r e s e n t s   s t a t u s   o f   t h e   V o l u m e A t t a c h m e n t   r e q u e s t .   P o p u l a t e d   b y   t h e   e n t i t y   c o m p l e t i n g   t h e   a t t a c h   o r   d e t a c h   o p e r a t i o n ,   i . e .   t h e   e x t e r n a l - a t t a c h e r .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e A t t a c h m e n t   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( V o l u m e A t t a c h m e n t S p e c ) ,   r e q u i r e d   s p e c   r e p r e s e n t s   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   a t t a c h / d e t a c h   v o l u m e   b e h a v i o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20880"
  },
  {
    "question": "What is VolumeAttachmentSpec?",
    "answer": "V o l u m e A t t a c h m e n t S p e c   i s   t h e   s p e c i f i c a t i o n   o f   a   V o l u m e A t t a c h m e n t   r e q u e s t .   a t t a c h e r   ( s t r i n g ) ,   r e q u i r e d a t t a c h e r   i n d i c a t e s   t h e   n a m e   o f   t h e   v o l u m e   d r i v e r   t h a t   M U S T   h a n d l e   t h i s   r e q u e s t .   T h i s   i s   t h e   n a m e   r e t u r n e d   b y   G e t P l u g i n N a m e ( ) . n o d e N a m e   ( s t r i n g ) ,   r e q u i r e d n o d e N a m e   r e p r e s e n t s   t h e   n o d e   t h a t   t h e   v o l u m e   s h o u l d   b e   a t t a c h e d   t o . s o u r c e   ( V o l u m e A t t a c h m e n t S o u r c e ) ,   r e q u i r e d s o u r c e   r e p r e s e n t s   t h e   v o l u m e   t h a t   s h o u l d   b e   a t t a c h e d . V o l u m e A t t a c h m e n t S o u r c e   r e p r e s e n t s   a   v o l u m e   t h a t   s h o u l d   b e   a t t a c h e d .   R i g h t   n o w   o n l y   P e r s i s t e n t V o l u m e s   c a n   b e   a t t a c h e d   v i a   e x t e r n a l   a t t a c h e r ,   i n   t h e   f u t u r e   w e   m a y   a l l o w   a l s o   i n l i n e   v o l u m e s   i n   p o d s .   E x a c t l y   o n e   m e m b e r   c a n   b e   s e t . s o u r c e . i n l i n e V o l u m e S p e c   ( P e r s i s t e n t V o l u m e S p e c ) i n l i n e V o l u m e S p e c   c o n t a i n s   a l l   t h e   i n f o r m a t i o n   n e c e s s a r y   t o   a t t a c h   a   p e r s i s t e n t   v o l u m e   d e f i n e d   b y   a   p o d ' s   i n l i n e   V o l u m e S o u r c e .   T h i s   f i e l d   i s   p o p u l a t e d   o n l y   f o r   t h e   C S I M i g r a t i o n   f e a t u r e .   I t   c o n t a i n s   t r a n s l a t e d   f i e l d s   f r o m   a   p o d ' s   i n l i n e   V o l u m e S o u r c e   t o   a   P e r s i s t e n t V o l u m e S p e c .   T h i s   f i e l d   i s   b e t a - l e v e l   a n d   i s   o n l y   h o n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20881"
  },
  {
    "question": "What is VolumeAttachmentStatus?",
    "answer": "V o l u m e A t t a c h m e n t S t a t u s   i s   t h e   s t a t u s   o f   a   V o l u m e A t t a c h m e n t   r e q u e s t .   a t t a c h e d   ( b o o l e a n ) ,   r e q u i r e d a t t a c h e d   i n d i c a t e s   t h e   v o l u m e   i s   s u c c e s s f u l l y   a t t a c h e d .   T h i s   f i e l d   m u s t   o n l y   b e   s e t   b y   t h e   e n t i t y   c o m p l e t i n g   t h e   a t t a c h   o p e r a t i o n ,   i . e .   t h e   e x t e r n a l - a t t a c h e r . a t t a c h E r r o r   ( V o l u m e E r r o r ) a t t a c h E r r o r   r e p r e s e n t s   t h e   l a s t   e r r o r   e n c o u n t e r e d   d u r i n g   a t t a c h   o p e r a t i o n ,   i f   a n y .   T h i s   f i e l d   m u s t   o n l y   b e   s e t   b y   t h e   e n t i t y   c o m p l e t i n g   t h e   a t t a c h   o p e r a t i o n ,   i . e .   t h e   e x t e r n a l - a t t a c h e r . V o l u m e E r r o r   c a p t u r e s   a n   e r r o r   e n c o u n t e r e d   d u r i n g   a   v o l u m e   o p e r a t i o n . a t t a c h E r r o r . e r r o r C o d e   ( i n t 3 2 ) e r r o r C o d e   i s   a   n u m e r i c   g R P C   c o d e   r e p r e s e n t i n g   t h e   e r r o r   e n c o u n t e r e d   d u r i n g   A t t a c h   o r   D e t a c h   o p e r a t i o n s . T h i s   i s   a n   o p t i o n a l ,   b e t a   f i e l d   t h a t   r e q u i r e s   t h e   M u t a b l e C S I N o d e A l l o c a t a b l e C o u n t   f e a t u r e   g a t e   b e i n g   e n a b l e d   t o   b e   s e t . a t t a c h E r r o r . m e s s a g e   ( s t r i n g ) m e s s a g e   r e p r e s e n t s   t h e   e r r o r   e n c o u n t e r e d   d u r i n g   A t t a c h   o r   D e t a c h   o p e r a t i o n .   T h i s   s t r i n g   m a y   b e   l o g g e d ,   s o   i t   s h o u l d   n o t   c o n t a i n   s e n s i t i v e   i n f o r m a t i o n . a t t a c h E r r o r . t i m e   ( T i m e ) t i m e   r e p r e s e n t s   t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20882"
  },
  {
    "question": "What is VolumeAttachmentList?",
    "answer": "V o l u m e A t t a c h m e n t L i s t   i s   a   c o l l e c t i o n   o f   V o l u m e A t t a c h m e n t   o b j e c t s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   V o l u m e A t t a c h m e n t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] V o l u m e A t t a c h m e n t ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   V o l u m e A t t a c h m e n t s   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e A t t a c h m e n t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] V o l u m e A t t a c h m e n t ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   V o l u m e A t t a c h m e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20883"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20884"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t a c h m e n t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t a c h m e n t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20885"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20886"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20887"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t a c h m e n t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t a c h m e n t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20888"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20889"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20890"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20891"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20892"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20893"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   V o l u m e A t t a c h m e n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   V o l u m e A t t a c h m e n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20894"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t ) :   O K   2 0 1   ( V o l u m e A t t a c h m e n t ) :   C r e a t e d   2 0 2   ( V o l u m e A t t a c h m e n t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20895"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20896"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t a c h m e n t b o d y :   V o l u m e A t t a c h m e n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t a c h m e n t   b o d y :   V o l u m e A t t a c h m e n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20897"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t ) :   O K   2 0 1   ( V o l u m e A t t a c h m e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20898"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20899"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t a c h m e n t b o d y :   V o l u m e A t t a c h m e n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t a c h m e n t   b o d y :   V o l u m e A t t a c h m e n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20900"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t ) :   O K   2 0 1   ( V o l u m e A t t a c h m e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20901"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20902"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t a c h m e n t b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t a c h m e n t   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20903"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t ) :   O K   2 0 1   ( V o l u m e A t t a c h m e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20904"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20905"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t a c h m e n t b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t a c h m e n t   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20906"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t ) :   O K   2 0 1   ( V o l u m e A t t a c h m e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20907"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20908"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t a c h m e n t b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t a c h m e n t   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20909"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t ) :   O K   2 0 2   ( V o l u m e A t t a c h m e n t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20910"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20911"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20912"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20913"
  },
  {
    "question": "What is 3.12 - VolumeAttributesClass?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / s t o r a g e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20914"
  },
  {
    "question": "What is VolumeAttributesClass?",
    "answer": "V o l u m e A t t r i b u t e s C l a s s   r e p r e s e n t s   a   s p e c i f i c a t i o n   o f   m u t a b l e   v o l u m e   a t t r i b u t e s   d e f i n e d   b y   t h e   C S I   d r i v e r .   T h e   c l a s s   c a n   b e   s p e c i f i e d   d u r i n g   d y n a m i c   p r o v i s i o n i n g   o f   P e r s i s t e n t V o l u m e C l a i m s ,   a n d   c h a n g e d   i n   t h e   P e r s i s t e n t V o l u m e C l a i m   s p e c   a f t e r   p r o v i s i o n i n g .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   V o l u m e A t t r i b u t e s C l a s s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a d r i v e r N a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   o f   t h e   C S I   d r i v e r   T h i s   f i e l d   i s   i m m u t a b l e . p a r a m e t e r s   ( m a p [ s t r i n g ] s t r i n g ) p a r a m e t e r s   h o l d   v o l u m e   a t t r i b u t e s   d e f i n e d   b y   t h e   C S I   d r i v e r .   T h e s e   v a l u e s   a r e   o p a q u e   t o   t h e   K u b e r n e t e s   a n d   a r e   p a s s e d   d i r e c t l y   t o   t h e   C S I   d r i v e r .   T h e   u n d e r l y i n g   s t o r a g e   p r o v i d e r   s u p p o r t s   c h a n g i n g   t h e s e   a t t r i b u t e s   o n   a n   e x i s t i n g   v o l u m e ,   h o w e v e r   t h e   p a r a m e t e r s   f i e l d   i t s e l f   i s   i m m u t a b l e .   T o   i n v o k e   a   v o l u m e   u p d a t e ,   a   n e w   V o l u m e A t t r i b u t e s C l a s s   s h o u l d   b e   c r e a t e d   w i t h   n e w   p a r a m e t e r s ,   a n d   t h e   P e r s i s t e n t V o l u m e C l a i m   s h o u l d   b e   u p d a t e d   t o   r e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20915"
  },
  {
    "question": "What is VolumeAttributesClassList?",
    "answer": "V o l u m e A t t r i b u t e s C l a s s L i s t   i s   a   c o l l e c t i o n   o f   V o l u m e A t t r i b u t e s C l a s s   o b j e c t s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   V o l u m e A t t r i b u t e s C l a s s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] V o l u m e A t t r i b u t e s C l a s s ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   V o l u m e A t t r i b u t e s C l a s s   o b j e c t s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e A t t r i b u t e s C l a s s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] V o l u m e A t t r i b u t e s C l a s s ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   V o l u m e A t t r i b u t e s C l a s s   o b j e c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20916"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20917"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t r i b u t e s C l a s s p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t r i b u t e s C l a s s   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20918"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t r i b u t e s C l a s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20919"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20920"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20921"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t r i b u t e s C l a s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20922"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20923"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   V o l u m e A t t r i b u t e s C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   V o l u m e A t t r i b u t e s C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20924"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t r i b u t e s C l a s s ) :   O K   2 0 1   ( V o l u m e A t t r i b u t e s C l a s s ) :   C r e a t e d   2 0 2   ( V o l u m e A t t r i b u t e s C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20925"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20926"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t r i b u t e s C l a s s b o d y :   V o l u m e A t t r i b u t e s C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t r i b u t e s C l a s s   b o d y :   V o l u m e A t t r i b u t e s C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20927"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t r i b u t e s C l a s s ) :   O K   2 0 1   ( V o l u m e A t t r i b u t e s C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20928"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20929"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t r i b u t e s C l a s s b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t r i b u t e s C l a s s   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20930"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t r i b u t e s C l a s s ) :   O K   2 0 1   ( V o l u m e A t t r i b u t e s C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20931"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20932"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t r i b u t e s C l a s s b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t r i b u t e s C l a s s   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20933"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t r i b u t e s C l a s s ) :   O K   2 0 2   ( V o l u m e A t t r i b u t e s C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20934"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20935"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20936"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20937"
  },
  {
    "question": "What is 4.1 - ServiceAccount?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20938"
  },
  {
    "question": "What is ServiceAccount?",
    "answer": "S e r v i c e A c c o u n t   b i n d s   t o g e t h e r :   *   a   n a m e ,   u n d e r s t o o d   b y   u s e r s ,   a n d   p e r h a p s   b y   p e r i p h e r a l   s y s t e m s ,   f o r   a n   i d e n t i t y   *   a   p r i n c i p a l   t h a t   c a n   b e   a u t h e n t i c a t e d   a n d   a u t h o r i z e d   *   a   s e t   o f   s e c r e t s   a p i V e r s i o n :   v 1 k i n d :   S e r v i c e A c c o u n t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a a u t o m o u n t S e r v i c e A c c o u n t T o k e n   ( b o o l e a n ) A u t o m o u n t S e r v i c e A c c o u n t T o k e n   i n d i c a t e s   w h e t h e r   p o d s   r u n n i n g   a s   t h i s   s e r v i c e   a c c o u n t   s h o u l d   h a v e   a n   A P I   t o k e n   a u t o m a t i c a l l y   m o u n t e d .   C a n   b e   o v e r r i d d e n   a t   t h e   p o d   l e v e l . i m a g e P u l l S e c r e t s   ( [ ] L o c a l O b j e c t R e f e r e n c e ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e I m a g e P u l l S e c r e t s   i s   a   l i s t   o f   r e f e r e n c e s   t o   s e c r e t s   i n   t h e   s a m e   n a m e s p a c e   t o   u s e   f o r   p u l l i n g   a n y   i m a g e s   i n   p o d s   t h a t   r e f e r e n c e   t h i s   S e r v i c e A c c o u n t .   I m a g e P u l l S e c r e t s   a r e   d i s t i n c t   f r o m   S e c r e t s   b e c a u s e   S e c r e t s   c a n   b e   m o u n t e d   i n   t h e   p o d ,   b u t   I m a g e P u l l S e c r e t s   a r e   o n l y   a c c e s s e d   b y   t h e   k u b e l e t .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20939"
  },
  {
    "question": "What is ServiceAccountList?",
    "answer": "S e r v i c e A c c o u n t L i s t   i s   a   l i s t   o f   S e r v i c e A c c o u n t   o b j e c t s   a p i V e r s i o n :   v 1 k i n d :   S e r v i c e A c c o u n t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] S e r v i c e A c c o u n t ) ,   r e q u i r e d L i s t   o f   S e r v i c e A c c o u n t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g u r e - s e r v i c e - a c c o u n t /   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] S e r v i c e A c c o u n t ) ,   r e q u i r e d   L i s t   o f   S e r v i c e A c c o u n t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g u r e - s e r v i c e - a c c o u n t /",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20940"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20941"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e A c c o u n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e A c c o u n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20942"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e A c c o u n t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20943"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20944"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20945"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e A c c o u n t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20946"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / s e r v i c e a c c o u n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20947"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20948"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e A c c o u n t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20949"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20950"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S e r v i c e A c c o u n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S e r v i c e A c c o u n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20951"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e A c c o u n t ) :   O K   2 0 1   ( S e r v i c e A c c o u n t ) :   C r e a t e d   2 0 2   ( S e r v i c e A c c o u n t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20952"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20953"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e A c c o u n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S e r v i c e A c c o u n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e A c c o u n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S e r v i c e A c c o u n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20954"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e A c c o u n t ) :   O K   2 0 1   ( S e r v i c e A c c o u n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20955"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20956"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e A c c o u n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e A c c o u n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20957"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e A c c o u n t ) :   O K   2 0 1   ( S e r v i c e A c c o u n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20958"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20959"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e A c c o u n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e A c c o u n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20960"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e A c c o u n t ) :   O K   2 0 2   ( S e r v i c e A c c o u n t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20961"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20962"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20963"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20964"
  },
  {
    "question": "What is 4.2 - TokenRequest?",
    "answer": "a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a u t h e n t i c a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20965"
  },
  {
    "question": "What is TokenRequest?",
    "answer": "T o k e n R e q u e s t   r e q u e s t s   a   t o k e n   f o r   a   g i v e n   s e r v i c e   a c c o u n t .   a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1 k i n d :   T o k e n R e q u e s t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( T o k e n R e q u e s t S p e c ) ,   r e q u i r e d S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d s t a t u s   ( T o k e n R e q u e s t S t a t u s ) S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   a n d   i n d i c a t e s   w h e t h e r   t h e   t o k e n   c a n   b e   a u t h e n t i c a t e d .   a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1   k i n d :   T o k e n R e q u e s t   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( T o k e n R e q u e s t S p e c ) ,   r e q u i r e d   S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d   s t a t u s   ( T o k e n R e q u e s t S t a t u s )   S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   a n d   i n d i c a t e s   w h e t h e r   t h e   t o k e n   c a n   b e   a u t h e n t i c a t e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20966"
  },
  {
    "question": "What is TokenRequestSpec?",
    "answer": "T o k e n R e q u e s t S p e c   c o n t a i n s   c l i e n t   p r o v i d e d   p a r a m e t e r s   o f   a   t o k e n   r e q u e s t .   a u d i e n c e s   ( [ ] s t r i n g ) ,   r e q u i r e d A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A u d i e n c e s   a r e   t h e   i n t e n d e d   a u d i e n c e s   o f   t h e   t o k e n .   A   r e c i p i e n t   o f   a   t o k e n   m u s t   i d e n t i f y   t h e m s e l f   w i t h   a n   i d e n t i f i e r   i n   t h e   l i s t   o f   a u d i e n c e s   o f   t h e   t o k e n ,   a n d   o t h e r w i s e   s h o u l d   r e j e c t   t h e   t o k e n .   A   t o k e n   i s s u e d   f o r   m u l t i p l e   a u d i e n c e s   m a y   b e   u s e d   t o   a u t h e n t i c a t e   a g a i n s t   a n y   o f   t h e   a u d i e n c e s   l i s t e d   b u t   i m p l i e s   a   h i g h   d e g r e e   o f   t r u s t   b e t w e e n   t h e   t a r g e t   a u d i e n c e s . b o u n d O b j e c t R e f   ( B o u n d O b j e c t R e f e r e n c e ) B o u n d O b j e c t R e f   i s   a   r e f e r e n c e   t o   a n   o b j e c t   t h a t   t h e   t o k e n   w i l l   b e   b o u n d   t o .   T h e   t o k e n   w i l l   o n l y   b e   v a l i d   f o r   a s   l o n g   a s   t h e   b o u n d   o b j e c t   e x i s t s .   N O T E :   T h e   A P I   s e r v e r ' s   T o k e n R e v i e w   e n d p o i n t   w i l l   v a l i d a t e   t h e   B o u n d O b j e c t R e f ,   b u t   o t h e r   a u d i e n c e s   m a y   n o t .   K e e p   E x p i r a t i o n S e c o n d s   s m a l l   i f   y o u   w a n t   p r o m p t   r e v o c a t i o n . B o u n d O b j e c t R e f e r e n c e   i s   a   r e f e r e n c e   t o   a n   o b j e c t   t h a t   a   t o k e n   i s   b o u n d   t o . b o u n d O b j e c t R e f . a p i V e r s i o n   ( s t r i n g ) A P I   v e r s i o n   o f   t h e   r e f e r e n t . b o u n d O b j e c t R e f ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20967"
  },
  {
    "question": "What is TokenRequestStatus?",
    "answer": "T o k e n R e q u e s t S t a t u s   i s   t h e   r e s u l t   o f   a   t o k e n   r e q u e s t .   e x p i r a t i o n T i m e s t a m p   ( T i m e ) ,   r e q u i r e d E x p i r a t i o n T i m e s t a m p   i s   t h e   t i m e   o f   e x p i r a t i o n   o f   t h e   r e t u r n e d   t o k e n . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . t o k e n   ( s t r i n g ) ,   r e q u i r e d T o k e n   i s   t h e   o p a q u e   b e a r e r   t o k e n .   e x p i r a t i o n T i m e s t a m p   ( T i m e ) ,   r e q u i r e d   E x p i r a t i o n T i m e s t a m p   i s   t h e   t i m e   o f   e x p i r a t i o n   o f   t h e   r e t u r n e d   t o k e n .   T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s .   t o k e n   ( s t r i n g ) ,   r e q u i r e d   T o k e n   i s   t h e   o p a q u e   b e a r e r   t o k e n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20968"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s / { n a m e } / t o k e n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20969"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   T o k e n R e q u e s t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   T o k e n R e q u e s t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   T o k e n R e q u e s t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   T o k e n R e q u e s t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20970"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( T o k e n R e q u e s t ) :   O K   2 0 1   ( T o k e n R e q u e s t ) :   C r e a t e d   2 0 2   ( T o k e n R e q u e s t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20971"
  },
  {
    "question": "What is 4.3 - TokenReview?",
    "answer": "a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a u t h e n t i c a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20972"
  },
  {
    "question": "What is TokenReview?",
    "answer": "T o k e n R e v i e w   a t t e m p t s   t o   a u t h e n t i c a t e   a   t o k e n   t o   a   k n o w n   u s e r .   N o t e :   T o k e n R e v i e w   r e q u e s t s   m a y   b e   c a c h e d   b y   t h e   w e b h o o k   t o k e n   a u t h e n t i c a t o r   p l u g i n   i n   t h e   k u b e - a p i s e r v e r .   a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1 k i n d :   T o k e n R e v i e w m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( T o k e n R e v i e w S p e c ) ,   r e q u i r e d S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d s t a t u s   ( T o k e n R e v i e w S t a t u s ) S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   a n d   i n d i c a t e s   w h e t h e r   t h e   r e q u e s t   c a n   b e   a u t h e n t i c a t e d .   a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1   k i n d :   T o k e n R e v i e w   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( T o k e n R e v i e w S p e c ) ,   r e q u i r e d   S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d   s t a t u s   ( T o k e n R e v i e w S t a t u s )   S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   a n d   i n d i c a t e s   w h e t h e r   t h e   r e q u e s t   c a n   b e   a u t h e n t i c a t e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20973"
  },
  {
    "question": "What is TokenReviewSpec?",
    "answer": "T o k e n R e v i e w S p e c   i s   a   d e s c r i p t i o n   o f   t h e   t o k e n   a u t h e n t i c a t i o n   r e q u e s t .   a u d i e n c e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A u d i e n c e s   i s   a   l i s t   o f   t h e   i d e n t i f i e r s   t h a t   t h e   r e s o u r c e   s e r v e r   p r e s e n t e d   w i t h   t h e   t o k e n   i d e n t i f i e s   a s .   A u d i e n c e - a w a r e   t o k e n   a u t h e n t i c a t o r s   w i l l   v e r i f y   t h a t   t h e   t o k e n   w a s   i n t e n d e d   f o r   a t   l e a s t   o n e   o f   t h e   a u d i e n c e s   i n   t h i s   l i s t .   I f   n o   a u d i e n c e s   a r e   p r o v i d e d ,   t h e   a u d i e n c e   w i l l   d e f a u l t   t o   t h e   a u d i e n c e   o f   t h e   K u b e r n e t e s   a p i s e r v e r . t o k e n   ( s t r i n g ) T o k e n   i s   t h e   o p a q u e   b e a r e r   t o k e n .   a u d i e n c e s   ( [ ] s t r i n g )   A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e   A u d i e n c e s   i s   a   l i s t   o f   t h e   i d e n t i f i e r s   t h a t   t h e   r e s o u r c e   s e r v e r   p r e s e n t e d   w i t h   t h e   t o k e n   i d e n t i f i e s   a s .   A u d i e n c e - a w a r e   t o k e n   a u t h e n t i c a t o r s   w i l l   v e r i f y   t h a t   t h e   t o k e n   w a s   i n t e n d e d   f o r   a t   l e a s t   o n e   o f   t h e   a u d i e n c e s   i n   t h i s   l i s t .   I f   n o   a u d i e n c e s   a r e   p r o v i d e d ,   t h e   a u d i e n c e   w i l l   d e f a u l t   t o   t h e   a u d i e n c e   o f   t h e   K u b e r n e t e s   a p i s e r v e r .   t o k e n   ( s t r i n g )   T o k e n   i s   t h e   o p a q u e   b e a r e r   t o k e n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20974"
  },
  {
    "question": "What is TokenReviewStatus?",
    "answer": "T o k e n R e v i e w S t a t u s   i s   t h e   r e s u l t   o f   t h e   t o k e n   a u t h e n t i c a t i o n   r e q u e s t .   a u d i e n c e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A u d i e n c e s   a r e   a u d i e n c e   i d e n t i f i e r s   c h o s e n   b y   t h e   a u t h e n t i c a t o r   t h a t   a r e   c o m p a t i b l e   w i t h   b o t h   t h e   T o k e n R e v i e w   a n d   t o k e n .   A n   i d e n t i f i e r   i s   a n y   i d e n t i f i e r   i n   t h e   i n t e r s e c t i o n   o f   t h e   T o k e n R e v i e w S p e c   a u d i e n c e s   a n d   t h e   t o k e n ' s   a u d i e n c e s .   A   c l i e n t   o f   t h e   T o k e n R e v i e w   A P I   t h a t   s e t s   t h e   s p e c . a u d i e n c e s   f i e l d   s h o u l d   v a l i d a t e   t h a t   a   c o m p a t i b l e   a u d i e n c e   i d e n t i f i e r   i s   r e t u r n e d   i n   t h e   s t a t u s . a u d i e n c e s   f i e l d   t o   e n s u r e   t h a t   t h e   T o k e n R e v i e w   s e r v e r   i s   a u d i e n c e   a w a r e .   I f   a   T o k e n R e v i e w   r e t u r n s   a n   e m p t y   s t a t u s . a u d i e n c e   f i e l d   w h e r e   s t a t u s . a u t h e n t i c a t e d   i s   \" t r u e \" ,   t h e   t o k e n   i s   v a l i d   a g a i n s t   t h e   a u d i e n c e   o f   t h e   K u b e r n e t e s   A P I   s e r v e r . a u t h e n t i c a t e d   ( b o o l e a n ) A u t h e n t i c a t e d   i n d i c a t e s   t h a t   t h e   t o k e n   w a s   a s s o c i a t e d   w i t h   a   k n o w n   u s e r . e r r o r   ( s t r i n g ) E r r o r   i n d i c a t e s   t h a t   t h e   t o k e n   c o u l d n ' t   b e   c h e c k e d u s e r   ( U s e r I n f o ) U s e r   i s   t h e   U s e r I n f o   a s s o c i a t e d   w i t h   t h e   p r o v i d e d   t o k e n . U s e r I n f o   h o l d s   t h e   i n f o r m a t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20975"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t h e n t i c a t i o n . k 8 s . i o / v 1 / t o k e n r e v i e w s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20976"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   T o k e n R e v i e w ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   T o k e n R e v i e w ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20977"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( T o k e n R e v i e w ) :   O K   2 0 1   ( T o k e n R e v i e w ) :   C r e a t e d   2 0 2   ( T o k e n R e v i e w ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20978"
  },
  {
    "question": "What is 4.4 - CertificateSigningRequest?",
    "answer": "a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / c e r t i f i c a t e s / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_20979"
  },
  {
    "question": "What is CertificateSigningRequest?",
    "answer": "C e r t i f i c a t e S i g n i n g R e q u e s t   o b j e c t s   p r o v i d e   a   m e c h a n i s m   t o   o b t a i n   x 5 0 9   c e r t i f i c a t e s   b y   s u b m i t t i n g   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t ,   a n d   h a v i n g   i t   a s y n c h r o n o u s l y   a p p r o v e d   a n d   i s s u e d .   K u b e l e t s   u s e   t h i s   A P I   t o   o b t a i n :   c l i e n t   c e r t i f i c a t e s   t o   a u t h e n t i c a t e   t o   k u b e - a p i s e r v e r   ( w i t h   t h e   \" k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t - k u b e l e t \"   s i g n e r N a m e ) . s e r v i n g   c e r t i f i c a t e s   f o r   T L S   e n d p o i n t s   k u b e - a p i s e r v e r   c a n   c o n n e c t   t o   s e c u r e l y   ( w i t h   t h e   \" k u b e r n e t e s . i o / k u b e l e t - s e r v i n g \"   s i g n e r N a m e ) .   T h i s   A P I   c a n   b e   u s e d   t o   r e q u e s t   c l i e n t   c e r t i f i c a t e s   t o   a u t h e n t i c a t e   t o   k u b e - a p i s e r v e r   ( w i t h   t h e   \" k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t \"   s i g n e r N a m e ) ,   o r   t o   o b t a i n   c e r t i f i c a t e s   f r o m   c u s t o m   n o n - K u b e r n e t e s   s i g n e r s .   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 k i n d :   C e r t i f i c a t e S i g n i n g R e q u e s t m e t a d a t a   ( O b j e c t M e t a ) s p e c   ( C e r t i f i c a t e S i g n i n g R e q u e s t S p e c ) ,   r e q u i r e d s p e c   c o n t a i n s   t h e   c e r t i f i c a t e   r e q u e s t ,   a n d   i s   i m m u t a b l e   a f t e r   c r e a t i o n .   O n l y   t h e   r e q u e s t ,   s i g n e r N a m e ,   e x p i r a t i o n S e c o n d s ,   a n d   u s a g e s   f i e l d s   c a n   b e   s e t   o n   c r e a t i o n .   O t h e r   f i e l d s   a r e   d e r i v e d   b y   K u b ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20980"
  },
  {
    "question": "What is CertificateSigningRequestSpec?",
    "answer": "C e r t i f i c a t e S i g n i n g R e q u e s t S p e c   c o n t a i n s   t h e   c e r t i f i c a t e   r e q u e s t .   r e q u e s t   ( [ ] b y t e ) ,   r e q u i r e d A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e r e q u e s t   c o n t a i n s   a n   x 5 0 9   c e r t i f i c a t e   s i g n i n g   r e q u e s t   e n c o d e d   i n   a   \" C E R T I F I C A T E   R E Q U E S T \"   P E M   b l o c k .   W h e n   s e r i a l i z e d   a s   J S O N   o r   Y A M L ,   t h e   d a t a   i s   a d d i t i o n a l l y   b a s e 6 4 - e n c o d e d . s i g n e r N a m e   ( s t r i n g ) ,   r e q u i r e d s i g n e r N a m e   i n d i c a t e s   t h e   r e q u e s t e d   s i g n e r ,   a n d   i s   a   q u a l i f i e d   n a m e . L i s t / w a t c h   r e q u e s t s   f o r   C e r t i f i c a t e S i g n i n g R e q u e s t s   c a n   f i l t e r   o n   t h i s   f i e l d   u s i n g   a   \" s p e c . s i g n e r N a m e = N A M E \"   f i e l d S e l e c t o r . W e l l - k n o w n   K u b e r n e t e s   s i g n e r s   a r e : \" k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t \" :   i s s u e s   c l i e n t   c e r t i f i c a t e s   t h a t   c a n   b e   u s e d   t o   a u t h e n t i c a t e   t o   k u b e - a p i s e r v e r .   R e q u e s t s   f o r   t h i s   s i g n e r   a r e   n e v e r   a u t o - a p p r o v e d   b y   k u b e - c o n t r o l l e r - m a n a g e r ,   c a n   b e   i s s u e d   b y   t h e   \" c s r s i g n i n g \"   c o n t r o l l e r   i n   k u b e - c o n t r o l l e r - m a n a g e r . \" k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t - k u b e l e t \" :   i s s u e s   c l i e n t   c e r t i f i c a t e s   t h a t   k u b e l e t s   u s e   t o   a u t h e n t i c a t e   t o   k u b e - a p i s e r v e r .   R e q u e s t s   f o r   t h i s   s i g n e r   c a n   b e   a u t o - a p p r o v e d   b y   t h e   \" ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20981"
  },
  {
    "question": "What is CertificateSigningRequestStatus?",
    "answer": "C e r t i f i c a t e S i g n i n g R e q u e s t S t a t u s   c o n t a i n s   c o n d i t i o n s   u s e d   t o   i n d i c a t e   a p p r o v e d / d e n i e d / f a i l e d   s t a t u s   o f   t h e   r e q u e s t ,   a n d   t h e   i s s u e d   c e r t i f i c a t e .   c e r t i f i c a t e   ( [ ] b y t e ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e c e r t i f i c a t e   i s   p o p u l a t e d   w i t h   a n   i s s u e d   c e r t i f i c a t e   b y   t h e   s i g n e r   a f t e r   a n   A p p r o v e d   c o n d i t i o n   i s   p r e s e n t .   T h i s   f i e l d   i s   s e t   v i a   t h e   / s t a t u s   s u b r e s o u r c e .   O n c e   p o p u l a t e d ,   t h i s   f i e l d   i s   i m m u t a b l e . I f   t h e   c e r t i f i c a t e   s i g n i n g   r e q u e s t   i s   d e n i e d ,   a   c o n d i t i o n   o f   t y p e   \" D e n i e d \"   i s   a d d e d   a n d   t h i s   f i e l d   r e m a i n s   e m p t y .   I f   t h e   s i g n e r   c a n n o t   i s s u e   t h e   c e r t i f i c a t e ,   a   c o n d i t i o n   o f   t y p e   \" F a i l e d \"   i s   a d d e d   a n d   t h i s   f i e l d   r e m a i n s   e m p t y . V a l i d a t i o n   r e q u i r e m e n t s : c e r t i f i c a t e   m u s t   c o n t a i n   o n e   o r   m o r e   P E M   b l o c k s . A l l   P E M   b l o c k s   m u s t   h a v e   t h e   \" C E R T I F I C A T E \"   l a b e l ,   c o n t a i n   n o   h e a d e r s ,   a n d   t h e   e n c o d e d   d a t a   m u s t   b e   a   B E R - e n c o d e d   A S N . 1   C e r t i f i c a t e   s t r u c t u r e   a s   d e s c r i b e d   i n   s e c t i o n   4   o f   R F C 5 2 8 0 . N o n - P E M   c o n t e n t   m a y   a p p e a r   b e f o r e   o r   a f t e r   t h e   \" C E R T I F I C A T E \"   P E M   b l o c k s   a n d   i s   u n v a l i d a t e d ,   t o   a l l o w   f o r   e x p l a n a t o r y   t e x t   a s   d e s c r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20982"
  },
  {
    "question": "What is CertificateSigningRequestList?",
    "answer": "C e r t i f i c a t e S i g n i n g R e q u e s t L i s t   i s   a   c o l l e c t i o n   o f   C e r t i f i c a t e S i g n i n g R e q u e s t   o b j e c t s   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 k i n d :   C e r t i f i c a t e S i g n i n g R e q u e s t L i s t m e t a d a t a   ( L i s t M e t a ) i t e m s   ( [ ] C e r t i f i c a t e S i g n i n g R e q u e s t ) ,   r e q u i r e d i t e m s   i s   a   c o l l e c t i o n   o f   C e r t i f i c a t e S i g n i n g R e q u e s t   o b j e c t s   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1   k i n d :   C e r t i f i c a t e S i g n i n g R e q u e s t L i s t   m e t a d a t a   ( L i s t M e t a )   i t e m s   ( [ ] C e r t i f i c a t e S i g n i n g R e q u e s t ) ,   r e q u i r e d   i t e m s   i s   a   c o l l e c t i o n   o f   C e r t i f i c a t e S i g n i n g R e q u e s t   o b j e c t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_20983"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20984"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20985"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20986"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e } / a p p r o v a l",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20987"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20988"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20989"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20990"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20991"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20992"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20993"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20994"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20995"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20996"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   C e r t i f i c a t e S i g n i n g R e q u e s t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   C e r t i f i c a t e S i g n i n g R e q u e s t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20997"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   2 0 1   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   C r e a t e d   2 0 2   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20998"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_20999"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t b o d y :   C e r t i f i c a t e S i g n i n g R e q u e s t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   b o d y :   C e r t i f i c a t e S i g n i n g R e q u e s t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21000"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   2 0 1   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21001"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e } / a p p r o v a l",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21002"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t b o d y :   C e r t i f i c a t e S i g n i n g R e q u e s t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   b o d y :   C e r t i f i c a t e S i g n i n g R e q u e s t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21003"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   2 0 1   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21004"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21005"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t b o d y :   C e r t i f i c a t e S i g n i n g R e q u e s t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   b o d y :   C e r t i f i c a t e S i g n i n g R e q u e s t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21006"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   2 0 1   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21007"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21008"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21009"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   2 0 1   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21010"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e } / a p p r o v a l",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21011"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21012"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   2 0 1   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21013"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21014"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21015"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   2 0 1   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21016"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21017"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21018"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21019"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21020"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21021"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21022"
  },
  {
    "question": "What is 4.5 - ClusterTrustBundle v1beta1?",
    "answer": "a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1   i m p o r t   \" k 8 s . i o / a p i / c e r t i f i c a t e s / v 1 b e t a 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21023"
  },
  {
    "question": "What is ClusterTrustBundle?",
    "answer": "C l u s t e r T r u s t B u n d l e   i s   a   c l u s t e r - s c o p e d   c o n t a i n e r   f o r   X . 5 0 9   t r u s t   a n c h o r s   ( r o o t   c e r t i f i c a t e s ) .   C l u s t e r T r u s t B u n d l e   o b j e c t s   a r e   c o n s i d e r e d   t o   b e   r e a d a b l e   b y   a n y   a u t h e n t i c a t e d   u s e r   i n   t h e   c l u s t e r ,   b e c a u s e   t h e y   c a n   b e   m o u n t e d   b y   p o d s   u s i n g   t h e   c l u s t e r T r u s t B u n d l e   p r o j e c t i o n .   A l l   s e r v i c e   a c c o u n t s   h a v e   r e a d   a c c e s s   t o   C l u s t e r T r u s t B u n d l e s   b y   d e f a u l t .   U s e r s   w h o   o n l y   h a v e   n a m e s p a c e - l e v e l   a c c e s s   t o   a   c l u s t e r   c a n   r e a d   C l u s t e r T r u s t B u n d l e s   b y   i m p e r s o n a t i n g   a   s e r v i c e a c c o u n t   t h a t   t h e y   h a v e   a c c e s s   t o .   I t   c a n   b e   o p t i o n a l l y   a s s o c i a t e d   w i t h   a   p a r t i c u l a r   a s s i g n e r ,   i n   w h i c h   c a s e   i t   c o n t a i n s   o n e   v a l i d   s e t   o f   t r u s t   a n c h o r s   f o r   t h a t   s i g n e r .   S i g n e r s   m a y   h a v e   m u l t i p l e   a s s o c i a t e d   C l u s t e r T r u s t B u n d l e s ;   e a c h   i s   a n   i n d e p e n d e n t   s e t   o f   t r u s t   a n c h o r s   f o r   t h a t   s i g n e r .   A d m i s s i o n   c o n t r o l   i s   u s e d   t o   e n f o r c e   t h a t   o n l y   u s e r s   w i t h   p e r m i s s i o n s   o n   t h e   s i g n e r   c a n   c r e a t e   o r   m o d i f y   t h e   c o r r e s p o n d i n g   b u n d l e .   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 k i n d :   C l u s t e r T r u s t B u n d l e m e t a d a t a   ( O b j e c t M e t a ) m e t a d a t a   c o n t a i n s   t h e   o b j e c t   m e t a d a t a . s p e c   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21024"
  },
  {
    "question": "What is ClusterTrustBundleSpec?",
    "answer": "C l u s t e r T r u s t B u n d l e S p e c   c o n t a i n s   t h e   s i g n e r   a n d   t r u s t   a n c h o r s .   t r u s t B u n d l e   ( s t r i n g ) ,   r e q u i r e d t r u s t B u n d l e   c o n t a i n s   t h e   i n d i v i d u a l   X . 5 0 9   t r u s t   a n c h o r s   f o r   t h i s   b u n d l e ,   a s   P E M   b u n d l e   o f   P E M - w r a p p e d ,   D E R - f o r m a t t e d   X . 5 0 9   c e r t i f i c a t e s . T h e   d a t a   m u s t   c o n s i s t   o n l y   o f   P E M   c e r t i f i c a t e   b l o c k s   t h a t   p a r s e   a s   v a l i d   X . 5 0 9   c e r t i f i c a t e s .   E a c h   c e r t i f i c a t e   m u s t   i n c l u d e   a   b a s i c   c o n s t r a i n t s   e x t e n s i o n   w i t h   t h e   C A   b i t   s e t .   T h e   A P I   s e r v e r   w i l l   r e j e c t   o b j e c t s   t h a t   c o n t a i n   d u p l i c a t e   c e r t i f i c a t e s ,   o r   t h a t   u s e   P E M   b l o c k   h e a d e r s . U s e r s   o f   C l u s t e r T r u s t B u n d l e s ,   i n c l u d i n g   K u b e l e t ,   a r e   f r e e   t o   r e o r d e r   a n d   d e d u p l i c a t e   c e r t i f i c a t e   b l o c k s   i n   t h i s   f i l e   a c c o r d i n g   t o   t h e i r   o w n   l o g i c ,   a s   w e l l   a s   t o   d r o p   P E M   b l o c k   h e a d e r s   a n d   i n t e r - b l o c k   d a t a . s i g n e r N a m e   ( s t r i n g ) s i g n e r N a m e   i n d i c a t e s   t h e   a s s o c i a t e d   s i g n e r ,   i f   a n y . I n   o r d e r   t o   c r e a t e   o r   u p d a t e   a   C l u s t e r T r u s t B u n d l e   t h a t   s e t s   s i g n e r N a m e ,   y o u   m u s t   h a v e   t h e   f o l l o w i n g   c l u s t e r - s c o p e d   p e r m i s s i o n :   g r o u p = c e r t i f i c a t e s . k 8 s . i o   r e s o u r c e = s i g n e r s   r e s o u r c e N a m e = < t h e   s i g n e r   n a m e >   v e r b = a t t e s t . I f   s i g n e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21025"
  },
  {
    "question": "What is ClusterTrustBundleList?",
    "answer": "C l u s t e r T r u s t B u n d l e L i s t   i s   a   c o l l e c t i o n   o f   C l u s t e r T r u s t B u n d l e   o b j e c t s   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 k i n d :   C l u s t e r T r u s t B u n d l e L i s t m e t a d a t a   ( L i s t M e t a ) m e t a d a t a   c o n t a i n s   t h e   l i s t   m e t a d a t a . i t e m s   ( [ ] C l u s t e r T r u s t B u n d l e ) ,   r e q u i r e d i t e m s   i s   a   c o l l e c t i o n   o f   C l u s t e r T r u s t B u n d l e   o b j e c t s   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1   k i n d :   C l u s t e r T r u s t B u n d l e L i s t   m e t a d a t a   ( L i s t M e t a )   m e t a d a t a   c o n t a i n s   t h e   l i s t   m e t a d a t a .   i t e m s   ( [ ] C l u s t e r T r u s t B u n d l e ) ,   r e q u i r e d   i t e m s   i s   a   c o l l e c t i o n   o f   C l u s t e r T r u s t B u n d l e   o b j e c t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21026"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21027"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r T r u s t B u n d l e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r T r u s t B u n d l e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21028"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r T r u s t B u n d l e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21029"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21030"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21031"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r T r u s t B u n d l e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21032"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21033"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   C l u s t e r T r u s t B u n d l e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   C l u s t e r T r u s t B u n d l e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21034"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r T r u s t B u n d l e ) :   O K   2 0 1   ( C l u s t e r T r u s t B u n d l e ) :   C r e a t e d   2 0 2   ( C l u s t e r T r u s t B u n d l e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21035"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21036"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r T r u s t B u n d l e b o d y :   C l u s t e r T r u s t B u n d l e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r T r u s t B u n d l e   b o d y :   C l u s t e r T r u s t B u n d l e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21037"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r T r u s t B u n d l e ) :   O K   2 0 1   ( C l u s t e r T r u s t B u n d l e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21038"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21039"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r T r u s t B u n d l e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r T r u s t B u n d l e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21040"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r T r u s t B u n d l e ) :   O K   2 0 1   ( C l u s t e r T r u s t B u n d l e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21041"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21042"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r T r u s t B u n d l e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r T r u s t B u n d l e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21043"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21044"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21045"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21046"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21047"
  },
  {
    "question": "What is 4.6 - SelfSubjectReview?",
    "answer": "a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a u t h e n t i c a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21048"
  },
  {
    "question": "What is SelfSubjectReview?",
    "answer": "S e l f S u b j e c t R e v i e w   c o n t a i n s   t h e   u s e r   i n f o r m a t i o n   t h a t   t h e   k u b e - a p i s e r v e r   h a s   a b o u t   t h e   u s e r   m a k i n g   t h i s   r e q u e s t .   W h e n   u s i n g   i m p e r s o n a t i o n ,   u s e r s   w i l l   r e c e i v e   t h e   u s e r   i n f o   o f   t h e   u s e r   b e i n g   i m p e r s o n a t e d .   I f   i m p e r s o n a t i o n   o r   r e q u e s t   h e a d e r   a u t h e n t i c a t i o n   i s   u s e d ,   a n y   e x t r a   k e y s   w i l l   h a v e   t h e i r   c a s e   i g n o r e d   a n d   r e t u r n e d   a s   l o w e r c a s e .   a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1 k i n d :   S e l f S u b j e c t R e v i e w m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s t a t u s   ( S e l f S u b j e c t R e v i e w S t a t u s ) S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   w i t h   t h e   u s e r   a t t r i b u t e s .   a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1   k i n d :   S e l f S u b j e c t R e v i e w   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s t a t u s   ( S e l f S u b j e c t R e v i e w S t a t u s )   S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   w i t h   t h e   u s e r   a t t r i b u t e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21049"
  },
  {
    "question": "What is SelfSubjectReviewStatus?",
    "answer": "S e l f S u b j e c t R e v i e w S t a t u s   i s   f i l l e d   b y   t h e   k u b e - a p i s e r v e r   a n d   s e n t   b a c k   t o   a   u s e r .   u s e r I n f o   ( U s e r I n f o ) U s e r   a t t r i b u t e s   o f   t h e   u s e r   m a k i n g   t h i s   r e q u e s t . U s e r I n f o   h o l d s   t h e   i n f o r m a t i o n   a b o u t   t h e   u s e r   n e e d e d   t o   i m p l e m e n t   t h e   u s e r . I n f o   i n t e r f a c e . u s e r I n f o . e x t r a   ( m a p [ s t r i n g ] [ ] s t r i n g ) A n y   a d d i t i o n a l   i n f o r m a t i o n   p r o v i d e d   b y   t h e   a u t h e n t i c a t o r . u s e r I n f o . g r o u p s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e T h e   n a m e s   o f   g r o u p s   t h i s   u s e r   i s   a   p a r t   o f . u s e r I n f o . u i d   ( s t r i n g ) A   u n i q u e   v a l u e   t h a t   i d e n t i f i e s   t h i s   u s e r   a c r o s s   t i m e .   I f   t h i s   u s e r   i s   d e l e t e d   a n d   a n o t h e r   u s e r   b y   t h e   s a m e   n a m e   i s   a d d e d ,   t h e y   w i l l   h a v e   d i f f e r e n t   U I D s . u s e r I n f o . u s e r n a m e   ( s t r i n g ) T h e   n a m e   t h a t   u n i q u e l y   i d e n t i f i e s   t h i s   u s e r   a m o n g   a l l   a c t i v e   u s e r s .   u s e r I n f o   ( U s e r I n f o )   U s e r   a t t r i b u t e s   o f   t h e   u s e r   m a k i n g   t h i s   r e q u e s t .   U s e r I n f o   h o l d s   t h e   i n f o r m a t i o n   a b o u t   t h e   u s e r   n e e d e d   t o   i m p l e m e n t   t h e   u s e r . I n f o   i n t e r f a c e .   u s e r I n f o . e x t r a   ( m a p [ s t r i n g ] [ ] s t r i n g ) A n y   a d d i t i o n a l   i n f o r m a t i o n   p r o v i d e d   b y   t h e   a u t h e n t i c a t o r . u s e r I n f o . g r o u p s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21050"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t h e n t i c a t i o n . k 8 s . i o / v 1 / s e l f s u b j e c t r e v i e w s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21051"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   S e l f S u b j e c t R e v i e w ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   S e l f S u b j e c t R e v i e w ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21052"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e l f S u b j e c t R e v i e w ) :   O K   2 0 1   ( S e l f S u b j e c t R e v i e w ) :   C r e a t e d   2 0 2   ( S e l f S u b j e c t R e v i e w ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21053"
  },
  {
    "question": "What is 4.7 - PodCertificateRequest v1alpha1?",
    "answer": "a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1   i m p o r t   \" k 8 s . i o / a p i / c e r t i f i c a t e s / v 1 a l p h a 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21054"
  },
  {
    "question": "What is PodCertificateRequest?",
    "answer": "P o d C e r t i f i c a t e R e q u e s t   e n c o d e s   a   p o d   r e q u e s t i n g   a   c e r t i f i c a t e   f r o m   a   g i v e n   s i g n e r .   K u b e l e t s   u s e   t h i s   A P I   t o   i m p l e m e n t   p o d C e r t i f i c a t e   p r o j e c t e d   v o l u m e s   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 k i n d :   P o d C e r t i f i c a t e R e q u e s t m e t a d a t a   ( O b j e c t M e t a ) m e t a d a t a   c o n t a i n s   t h e   o b j e c t   m e t a d a t a . s p e c   ( P o d C e r t i f i c a t e R e q u e s t S p e c ) ,   r e q u i r e d s p e c   c o n t a i n s   t h e   d e t a i l s   a b o u t   t h e   c e r t i f i c a t e   b e i n g   r e q u e s t e d . s t a t u s   ( P o d C e r t i f i c a t e R e q u e s t S t a t u s ) s t a t u s   c o n t a i n s   t h e   i s s u e d   c e r t i f i c a t e ,   a n d   a   s t a n d a r d   s e t   o f   c o n d i t i o n s .   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1   k i n d :   P o d C e r t i f i c a t e R e q u e s t   m e t a d a t a   ( O b j e c t M e t a )   m e t a d a t a   c o n t a i n s   t h e   o b j e c t   m e t a d a t a .   s p e c   ( P o d C e r t i f i c a t e R e q u e s t S p e c ) ,   r e q u i r e d   s p e c   c o n t a i n s   t h e   d e t a i l s   a b o u t   t h e   c e r t i f i c a t e   b e i n g   r e q u e s t e d .   s t a t u s   ( P o d C e r t i f i c a t e R e q u e s t S t a t u s )   s t a t u s   c o n t a i n s   t h e   i s s u e d   c e r t i f i c a t e ,   a n d   a   s t a n d a r d   s e t   o f   c o n d i t i o n s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21055"
  },
  {
    "question": "What is PodCertificateRequestSpec?",
    "answer": "P o d C e r t i f i c a t e R e q u e s t S p e c   d e s c r i b e s   t h e   c e r t i f i c a t e   r e q u e s t .   A l l   f i e l d s   a r e   i m m u t a b l e   a f t e r   c r e a t i o n .   n o d e N a m e   ( s t r i n g ) ,   r e q u i r e d n o d e N a m e   i s   t h e   n a m e   o f   t h e   n o d e   t h e   p o d   i s   a s s i g n e d   t o . n o d e U I D   ( s t r i n g ) ,   r e q u i r e d n o d e U I D   i s   t h e   U I D   o f   t h e   n o d e   t h e   p o d   i s   a s s i g n e d   t o . p k i x P u b l i c K e y   ( [ ] b y t e ) ,   r e q u i r e d p k i x P u b l i c K e y   i s   t h e   P K I X - s e r i a l i z e d   p u b l i c   k e y   t h e   s i g n e r   w i l l   i s s u e   t h e   c e r t i f i c a t e   t o . T h e   k e y   m u s t   b e   o n e   o f   R S A 3 0 7 2 ,   R S A 4 0 9 6 ,   E C D S A P 2 5 6 ,   E C D S A P 3 8 4 ,   E C D S A P 5 2 1 ,   o r   E D 2 5 5 1 9 .   N o t e   t h a t   t h i s   l i s t   m a y   b e   e x p a n d e d   i n   t h e   f u t u r e . S i g n e r   i m p l e m e n t a t i o n s   d o   n o t   n e e d   t o   s u p p o r t   a l l   k e y   t y p e s   s u p p o r t e d   b y   k u b e - a p i s e r v e r   a n d   k u b e l e t .   I f   a   s i g n e r   d o e s   n o t   s u p p o r t   t h e   k e y   t y p e   u s e d   f o r   a   g i v e n   P o d C e r t i f i c a t e R e q u e s t ,   i t   m u s t   d e n y   t h e   r e q u e s t   b y   s e t t i n g   a   s t a t u s . c o n d i t i o n s   e n t r y   w i t h   a   t y p e   o f   \" D e n i e d \"   a n d   a   r e a s o n   o f   \" U n s u p p o r t e d K e y T y p e \" .   I t   m a y   a l s o   s u g g e s t   a   k e y   t y p e   t h a t   i t   d o e s   s u p p o r t   i n   t h e   m e s s a g e   f i e l d . p o d N a m e   ( s t r i n g ) ,   r e q u i r e d p o d N a m e   i s   t h e   n a m e   o f   t h e   p o d   i n t o   w h i c h   t h e   c e r t i f i c a t e   w i l l   b e   m o u n t e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21056"
  },
  {
    "question": "What is PodCertificateRequestStatus?",
    "answer": "P o d C e r t i f i c a t e R e q u e s t S t a t u s   d e s c r i b e s   t h e   s t a t u s   o f   t h e   r e q u e s t ,   a n d   h o l d s   t h e   c e r t i f i c a t e   d a t a   i f   t h e   r e q u e s t   i s   i s s u e d .   b e g i n R e f r e s h A t   ( T i m e ) b e g i n R e f r e s h A t   i s   t h e   t i m e   a t   w h i c h   t h e   k u b e l e t   s h o u l d   b e g i n   t r y i n g   t o   r e f r e s h   t h e   c e r t i f i c a t e .   T h i s   f i e l d   i s   s e t   v i a   t h e   / s t a t u s   s u b r e s o u r c e ,   a n d   m u s t   b e   s e t   a t   t h e   s a m e   t i m e   a s   c e r t i f i c a t e C h a i n .   O n c e   p o p u l a t e d ,   t h i s   f i e l d   i s   i m m u t a b l e . T h i s   f i e l d   i s   o n l y   a   h i n t .   K u b e l e t   m a y   s t a r t   r e f r e s h i n g   b e f o r e   o r   a f t e r   t h i s   t i m e   i f   n e c e s s a r y . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c e r t i f i c a t e C h a i n   ( s t r i n g ) c e r t i f i c a t e C h a i n   i s   p o p u l a t e d   w i t h   a n   i s s u e d   c e r t i f i c a t e   b y   t h e   s i g n e r .   T h i s   f i e l d   i s   s e t   v i a   t h e   / s t a t u s   s u b r e s o u r c e .   O n c e   p o p u l a t e d ,   t h i s   f i e l d   i s   i m m u t a b l e . I f   t h e   c e r t i f i c a t e   s i g n i n g   r e q u e s t   i s   d e n i e d ,   a   c o n d i t i o n   o f   t y p e   \" D e n i e d \"   i s   a d d e d   a n d   t h i s   f i e l d   r e m a i n s   e m p t y .   I f   t h e   s i g n e r   c a n n o t   i s s u e   t h e   c e r t i f i c a t e ,   a   c o n d i t i o n   o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21057"
  },
  {
    "question": "What is PodCertificateRequestList?",
    "answer": "P o d C e r t i f i c a t e R e q u e s t L i s t   i s   a   c o l l e c t i o n   o f   P o d C e r t i f i c a t e R e q u e s t   o b j e c t s   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 k i n d :   P o d C e r t i f i c a t e R e q u e s t L i s t m e t a d a t a   ( L i s t M e t a ) m e t a d a t a   c o n t a i n s   t h e   l i s t   m e t a d a t a . i t e m s   ( [ ] P o d C e r t i f i c a t e R e q u e s t ) ,   r e q u i r e d i t e m s   i s   a   c o l l e c t i o n   o f   P o d C e r t i f i c a t e R e q u e s t   o b j e c t s   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1   k i n d :   P o d C e r t i f i c a t e R e q u e s t L i s t   m e t a d a t a   ( L i s t M e t a )   m e t a d a t a   c o n t a i n s   t h e   l i s t   m e t a d a t a .   i t e m s   ( [ ] P o d C e r t i f i c a t e R e q u e s t ) ,   r e q u i r e d   i t e m s   i s   a   c o l l e c t i o n   o f   P o d C e r t i f i c a t e R e q u e s t   o b j e c t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21058"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21059"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21060"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21061"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21062"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21063"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21064"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21065"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21066"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21067"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / p o d c e r t i f i c a t e r e q u e s t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21068"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21069"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21070"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21071"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d C e r t i f i c a t e R e q u e s t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d C e r t i f i c a t e R e q u e s t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21072"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t ) :   O K   2 0 1   ( P o d C e r t i f i c a t e R e q u e s t ) :   C r e a t e d   2 0 2   ( P o d C e r t i f i c a t e R e q u e s t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21073"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21074"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d C e r t i f i c a t e R e q u e s t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d C e r t i f i c a t e R e q u e s t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21075"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t ) :   O K   2 0 1   ( P o d C e r t i f i c a t e R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21076"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21077"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d C e r t i f i c a t e R e q u e s t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d C e r t i f i c a t e R e q u e s t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21078"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t ) :   O K   2 0 1   ( P o d C e r t i f i c a t e R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21079"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21080"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21081"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t ) :   O K   2 0 1   ( P o d C e r t i f i c a t e R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21082"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21083"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21084"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t ) :   O K   2 0 1   ( P o d C e r t i f i c a t e R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21085"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21086"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21087"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21088"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21089"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21090"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21091"
  },
  {
    "question": "What is 5.1 - LocalSubjectAccessReview?",
    "answer": "a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a u t h o r i z a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21092"
  },
  {
    "question": "What is LocalSubjectAccessReview?",
    "answer": "L o c a l S u b j e c t A c c e s s R e v i e w   c h e c k s   w h e t h e r   o r   n o t   a   u s e r   o r   g r o u p   c a n   p e r f o r m   a n   a c t i o n   i n   a   g i v e n   n a m e s p a c e .   H a v i n g   a   n a m e s p a c e   s c o p e d   r e s o u r c e   m a k e s   i t   m u c h   e a s i e r   t o   g r a n t   n a m e s p a c e   s c o p e d   p o l i c y   t h a t   i n c l u d e s   p e r m i s s i o n s   c h e c k i n g .   a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   L o c a l S u b j e c t A c c e s s R e v i e w m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( S u b j e c t A c c e s s R e v i e w S p e c ) ,   r e q u i r e d S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d .   s p e c . n a m e s p a c e   m u s t   b e   e q u a l   t o   t h e   n a m e s p a c e   y o u   m a d e   t h e   r e q u e s t   a g a i n s t .   I f   e m p t y ,   i t   i s   d e f a u l t e d . s t a t u s   ( S u b j e c t A c c e s s R e v i e w S t a t u s ) S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   a n d   i n d i c a t e s   w h e t h e r   t h e   r e q u e s t   i s   a l l o w e d   o r   n o t   a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   L o c a l S u b j e c t A c c e s s R e v i e w   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( S u b j e c t A c c e s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21093"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l o c a l s u b j e c t a c c e s s r e v i e w s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21094"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   L o c a l S u b j e c t A c c e s s R e v i e w ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   L o c a l S u b j e c t A c c e s s R e v i e w ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21095"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L o c a l S u b j e c t A c c e s s R e v i e w ) :   O K   2 0 1   ( L o c a l S u b j e c t A c c e s s R e v i e w ) :   C r e a t e d   2 0 2   ( L o c a l S u b j e c t A c c e s s R e v i e w ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21096"
  },
  {
    "question": "What is 5.2 - SelfSubjectAccessReview?",
    "answer": "a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a u t h o r i z a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21097"
  },
  {
    "question": "What is SelfSubjectAccessReview?",
    "answer": "S e l f S u b j e c t A c c e s s R e v i e w   c h e c k s   w h e t h e r   o r   t h e   c u r r e n t   u s e r   c a n   p e r f o r m   a n   a c t i o n .   N o t   f i l l i n g   i n   a   s p e c . n a m e s p a c e   m e a n s   \" i n   a l l   n a m e s p a c e s \" .   S e l f   i s   a   s p e c i a l   c a s e ,   b e c a u s e   u s e r s   s h o u l d   a l w a y s   b e   a b l e   t o   c h e c k   w h e t h e r   t h e y   c a n   p e r f o r m   a n   a c t i o n   a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   S e l f S u b j e c t A c c e s s R e v i e w m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( S e l f S u b j e c t A c c e s s R e v i e w S p e c ) ,   r e q u i r e d S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d .   u s e r   a n d   g r o u p s   m u s t   b e   e m p t y s t a t u s   ( S u b j e c t A c c e s s R e v i e w S t a t u s ) S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   a n d   i n d i c a t e s   w h e t h e r   t h e   r e q u e s t   i s   a l l o w e d   o r   n o t   a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   S e l f S u b j e c t A c c e s s R e v i e w   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( S e l f S u b j e c t A c c e s s R e v i e w S p e c ) ,   r e q u i r e d   S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21098"
  },
  {
    "question": "What is SelfSubjectAccessReviewSpec?",
    "answer": "S e l f S u b j e c t A c c e s s R e v i e w S p e c   i s   a   d e s c r i p t i o n   o f   t h e   a c c e s s   r e q u e s t .   E x a c t l y   o n e   o f   R e s o u r c e A u t h o r i z a t i o n A t t r i b u t e s   a n d   N o n R e s o u r c e A u t h o r i z a t i o n A t t r i b u t e s   m u s t   b e   s e t   n o n R e s o u r c e A t t r i b u t e s   ( N o n R e s o u r c e A t t r i b u t e s ) N o n R e s o u r c e A t t r i b u t e s   d e s c r i b e s   i n f o r m a t i o n   f o r   a   n o n - r e s o u r c e   a c c e s s   r e q u e s t N o n R e s o u r c e A t t r i b u t e s   i n c l u d e s   t h e   a u t h o r i z a t i o n   a t t r i b u t e s   a v a i l a b l e   f o r   n o n - r e s o u r c e   r e q u e s t s   t o   t h e   A u t h o r i z e r   i n t e r f a c e n o n R e s o u r c e A t t r i b u t e s . p a t h   ( s t r i n g ) P a t h   i s   t h e   U R L   p a t h   o f   t h e   r e q u e s t n o n R e s o u r c e A t t r i b u t e s . v e r b   ( s t r i n g ) V e r b   i s   t h e   s t a n d a r d   H T T P   v e r b r e s o u r c e A t t r i b u t e s   ( R e s o u r c e A t t r i b u t e s ) R e s o u r c e A u t h o r i z a t i o n A t t r i b u t e s   d e s c r i b e s   i n f o r m a t i o n   f o r   a   r e s o u r c e   a c c e s s   r e q u e s t R e s o u r c e A t t r i b u t e s   i n c l u d e s   t h e   a u t h o r i z a t i o n   a t t r i b u t e s   a v a i l a b l e   f o r   r e s o u r c e   r e q u e s t s   t o   t h e   A u t h o r i z e r   i n t e r f a c e r e s o u r c e A t t r i b u t e s . f i e l d S e l e c t o r   ( F i e l d S e l e c t o r A t t r i b u t e s ) f i e l d S e l e c t o r   d e s c r i b e s   t h e   l i m i t a t i o n   o n   a c c e s s   b a s e d   o n   f i e l d .   I t   c a n   o n l y   l i m i t   a c c e s s ,   n o t   b r o a d e n   i t . * F i e l d S e l e c t o r A t t r i b u t e s   i n d i c a t e s   a   f i e l d   l i m i t e d   a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21099"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t h o r i z a t i o n . k 8 s . i o / v 1 / s e l f s u b j e c t a c c e s s r e v i e w s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21100"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   S e l f S u b j e c t A c c e s s R e v i e w ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   S e l f S u b j e c t A c c e s s R e v i e w ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21101"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e l f S u b j e c t A c c e s s R e v i e w ) :   O K   2 0 1   ( S e l f S u b j e c t A c c e s s R e v i e w ) :   C r e a t e d   2 0 2   ( S e l f S u b j e c t A c c e s s R e v i e w ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21102"
  },
  {
    "question": "What is 5.3 - SelfSubjectRulesReview?",
    "answer": "a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a u t h o r i z a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21103"
  },
  {
    "question": "What is SelfSubjectRulesReview?",
    "answer": "S e l f S u b j e c t R u l e s R e v i e w   e n u m e r a t e s   t h e   s e t   o f   a c t i o n s   t h e   c u r r e n t   u s e r   c a n   p e r f o r m   w i t h i n   a   n a m e s p a c e .   T h e   r e t u r n e d   l i s t   o f   a c t i o n s   m a y   b e   i n c o m p l e t e   d e p e n d i n g   o n   t h e   s e r v e r ' s   a u t h o r i z a t i o n   m o d e ,   a n d   a n y   e r r o r s   e x p e r i e n c e d   d u r i n g   t h e   e v a l u a t i o n .   S e l f S u b j e c t R u l e s R e v i e w   s h o u l d   b e   u s e d   b y   U I s   t o   s h o w / h i d e   a c t i o n s ,   o r   t o   q u i c k l y   l e t   a n   e n d   u s e r   r e a s o n   a b o u t   t h e i r   p e r m i s s i o n s .   I t   s h o u l d   N O T   B e   u s e d   b y   e x t e r n a l   s y s t e m s   t o   d r i v e   a u t h o r i z a t i o n   d e c i s i o n s   a s   t h i s   r a i s e s   c o n f u s e d   d e p u t y ,   c a c h e   l i f e t i m e / r e v o c a t i o n ,   a n d   c o r r e c t n e s s   c o n c e r n s .   S u b j e c t A c c e s s R e v i e w ,   a n d   L o c a l A c c e s s R e v i e w   a r e   t h e   c o r r e c t   w a y   t o   d e f e r   a u t h o r i z a t i o n   d e c i s i o n s   t o   t h e   A P I   s e r v e r .   a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   S e l f S u b j e c t R u l e s R e v i e w m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( S e l f S u b j e c t R u l e s R e v i e w S p e c ) ,   r e q u i r e d S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d . s t a t u s   ( S u b j e c t R u l e s R e v i e w S t a t u s ) S t a t u s   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21104"
  },
  {
    "question": "What is SelfSubjectRulesReviewSpec?",
    "answer": "S e l f S u b j e c t R u l e s R e v i e w S p e c   d e f i n e s   t h e   s p e c i f i c a t i o n   f o r   S e l f S u b j e c t R u l e s R e v i e w .   n a m e s p a c e   ( s t r i n g ) N a m e s p a c e   t o   e v a l u a t e   r u l e s   f o r .   R e q u i r e d .   n a m e s p a c e   ( s t r i n g )   N a m e s p a c e   t o   e v a l u a t e   r u l e s   f o r .   R e q u i r e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21105"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t h o r i z a t i o n . k 8 s . i o / v 1 / s e l f s u b j e c t r u l e s r e v i e w s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21106"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   S e l f S u b j e c t R u l e s R e v i e w ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   S e l f S u b j e c t R u l e s R e v i e w ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21107"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e l f S u b j e c t R u l e s R e v i e w ) :   O K   2 0 1   ( S e l f S u b j e c t R u l e s R e v i e w ) :   C r e a t e d   2 0 2   ( S e l f S u b j e c t R u l e s R e v i e w ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21108"
  },
  {
    "question": "What is 5.4 - SubjectAccessReview?",
    "answer": "a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a u t h o r i z a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21109"
  },
  {
    "question": "What is SubjectAccessReview?",
    "answer": "S u b j e c t A c c e s s R e v i e w   c h e c k s   w h e t h e r   o r   n o t   a   u s e r   o r   g r o u p   c a n   p e r f o r m   a n   a c t i o n .   a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   S u b j e c t A c c e s s R e v i e w m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( S u b j e c t A c c e s s R e v i e w S p e c ) ,   r e q u i r e d S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d s t a t u s   ( S u b j e c t A c c e s s R e v i e w S t a t u s ) S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   a n d   i n d i c a t e s   w h e t h e r   t h e   r e q u e s t   i s   a l l o w e d   o r   n o t   a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   S u b j e c t A c c e s s R e v i e w   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( S u b j e c t A c c e s s R e v i e w S p e c ) ,   r e q u i r e d   S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d   s t a t u s   ( S u b j e c t A c c e s s R e v i e w S t a t u s )   S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   a n d   i n d i c a t e s   w h e t h e r   t h e   r e q u e s t   i s   a l l o w e d   o r   n o t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21110"
  },
  {
    "question": "What is SubjectAccessReviewSpec?",
    "answer": "S u b j e c t A c c e s s R e v i e w S p e c   i s   a   d e s c r i p t i o n   o f   t h e   a c c e s s   r e q u e s t .   E x a c t l y   o n e   o f   R e s o u r c e A u t h o r i z a t i o n A t t r i b u t e s   a n d   N o n R e s o u r c e A u t h o r i z a t i o n A t t r i b u t e s   m u s t   b e   s e t   e x t r a   ( m a p [ s t r i n g ] [ ] s t r i n g ) E x t r a   c o r r e s p o n d s   t o   t h e   u s e r . I n f o . G e t E x t r a ( )   m e t h o d   f r o m   t h e   a u t h e n t i c a t o r .   S i n c e   t h a t   i s   i n p u t   t o   t h e   a u t h o r i z e r   i t   n e e d s   a   r e f l e c t i o n   h e r e . g r o u p s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e G r o u p s   i s   t h e   g r o u p s   y o u ' r e   t e s t i n g   f o r . n o n R e s o u r c e A t t r i b u t e s   ( N o n R e s o u r c e A t t r i b u t e s ) N o n R e s o u r c e A t t r i b u t e s   d e s c r i b e s   i n f o r m a t i o n   f o r   a   n o n - r e s o u r c e   a c c e s s   r e q u e s t N o n R e s o u r c e A t t r i b u t e s   i n c l u d e s   t h e   a u t h o r i z a t i o n   a t t r i b u t e s   a v a i l a b l e   f o r   n o n - r e s o u r c e   r e q u e s t s   t o   t h e   A u t h o r i z e r   i n t e r f a c e n o n R e s o u r c e A t t r i b u t e s . p a t h   ( s t r i n g ) P a t h   i s   t h e   U R L   p a t h   o f   t h e   r e q u e s t n o n R e s o u r c e A t t r i b u t e s . v e r b   ( s t r i n g ) V e r b   i s   t h e   s t a n d a r d   H T T P   v e r b r e s o u r c e A t t r i b u t e s   ( R e s o u r c e A t t r i b u t e s ) R e s o u r c e A u t h o r i z a t i o n A t t r i b u t e s   d e s c r i b e s   i n f o r m a t i o n   f o r   a   r e s o u r c e   a c c e s s   r e q u e s t R e s o u r c e A t t r i b u t e s   i n c l u d e s   t h e   a u t h o r i z a t i o n   a t t r i b u t e s   a v a i l a b l e   f o r   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21111"
  },
  {
    "question": "What is SubjectAccessReviewStatus?",
    "answer": "S u b j e c t A c c e s s R e v i e w S t a t u s   a l l o w e d   ( b o o l e a n ) ,   r e q u i r e d A l l o w e d   i s   r e q u i r e d .   T r u e   i f   t h e   a c t i o n   w o u l d   b e   a l l o w e d ,   f a l s e   o t h e r w i s e . d e n i e d   ( b o o l e a n ) D e n i e d   i s   o p t i o n a l .   T r u e   i f   t h e   a c t i o n   w o u l d   b e   d e n i e d ,   o t h e r w i s e   f a l s e .   I f   b o t h   a l l o w e d   i s   f a l s e   a n d   d e n i e d   i s   f a l s e ,   t h e n   t h e   a u t h o r i z e r   h a s   n o   o p i n i o n   o n   w h e t h e r   t o   a u t h o r i z e   t h e   a c t i o n .   D e n i e d   m a y   n o t   b e   t r u e   i f   A l l o w e d   i s   t r u e . e v a l u a t i o n E r r o r   ( s t r i n g ) E v a l u a t i o n E r r o r   i s   a n   i n d i c a t i o n   t h a t   s o m e   e r r o r   o c c u r r e d   d u r i n g   t h e   a u t h o r i z a t i o n   c h e c k .   I t   i s   e n t i r e l y   p o s s i b l e   t o   g e t   a n   e r r o r   a n d   b e   a b l e   t o   c o n t i n u e   d e t e r m i n e   a u t h o r i z a t i o n   s t a t u s   i n   s p i t e   o f   i t .   F o r   i n s t a n c e ,   R B A C   c a n   b e   m i s s i n g   a   r o l e ,   b u t   e n o u g h   r o l e s   a r e   s t i l l   p r e s e n t   a n d   b o u n d   t o   r e a s o n   a b o u t   t h e   r e q u e s t . r e a s o n   ( s t r i n g ) R e a s o n   i s   o p t i o n a l .   I t   i n d i c a t e s   w h y   a   r e q u e s t   w a s   a l l o w e d   o r   d e n i e d .   a l l o w e d   ( b o o l e a n ) ,   r e q u i r e d   A l l o w e d   i s   r e q u i r e d .   T r u e   i f   t h e   a c t i o n   w o u l d   b e   a l l o w e d ,   f a l s e   o t h e r w i s e .   d e n i e d   ( b o o l e a n )   D e n i e d   i s   o p t i o n a l .   T r u e   i f   t h e   a c t i o n   w o u l d   b e   d e n i e d ,   o t h e r w i s e   f a l s e .   I f   b o t h ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21112"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t h o r i z a t i o n . k 8 s . i o / v 1 / s u b j e c t a c c e s s r e v i e w s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21113"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   S u b j e c t A c c e s s R e v i e w ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   S u b j e c t A c c e s s R e v i e w ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21114"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S u b j e c t A c c e s s R e v i e w ) :   O K   2 0 1   ( S u b j e c t A c c e s s R e v i e w ) :   C r e a t e d   2 0 2   ( S u b j e c t A c c e s s R e v i e w ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21115"
  },
  {
    "question": "What is 5.5 - ClusterRole?",
    "answer": "a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / r b a c / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21116"
  },
  {
    "question": "What is ClusterRole?",
    "answer": "C l u s t e r R o l e   i s   a   c l u s t e r   l e v e l ,   l o g i c a l   g r o u p i n g   o f   P o l i c y R u l e s   t h a t   c a n   b e   r e f e r e n c e d   a s   a   u n i t   b y   a   R o l e B i n d i n g   o r   C l u s t e r R o l e B i n d i n g .   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   C l u s t e r R o l e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . a g g r e g a t i o n R u l e   ( A g g r e g a t i o n R u l e ) A g g r e g a t i o n R u l e   i s   a n   o p t i o n a l   f i e l d   t h a t   d e s c r i b e s   h o w   t o   b u i l d   t h e   R u l e s   f o r   t h i s   C l u s t e r R o l e .   I f   A g g r e g a t i o n R u l e   i s   s e t ,   t h e n   t h e   R u l e s   a r e   c o n t r o l l e r   m a n a g e d   a n d   d i r e c t   c h a n g e s   t o   R u l e s   w i l l   b e   s t o m p e d   b y   t h e   c o n t r o l l e r . A g g r e g a t i o n R u l e   d e s c r i b e s   h o w   t o   l o c a t e   C l u s t e r R o l e s   t o   a g g r e g a t e   i n t o   t h e   C l u s t e r R o l e a g g r e g a t i o n R u l e . c l u s t e r R o l e S e l e c t o r s   ( [ ] L a b e l S e l e c t o r ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e C l u s t e r R o l e S e l e c t o r s   h o l d s   a   l i s t   o f   s e l e c t o r s   w h i c h   w i l l   b e   u s e d   t o   f i n d   C l u s t e r R o l e s   a n d   c r e a t e   t h e   r u l e s .   I f   a n y   o f   t h e   s e l e c t o r s   m a t c h ,   t h e n   t h e   C l u s t e r R o l e ' s   p e r m i s s i o n s   w i l l   b e   a d d e d r u l e s   ( [ ] P o l i c y R u l e ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e R u l e s   h o l d s   a l l   t h e   P o l i c y R u l e s   f o r   t h i s   C l u s t e r R o l e P o l i c y R u l e   h o l d s   i n f o r m ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21117"
  },
  {
    "question": "What is ClusterRoleList?",
    "answer": "C l u s t e r R o l e L i s t   i s   a   c o l l e c t i o n   o f   C l u s t e r R o l e s   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   C l u s t e r R o l e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . i t e m s   ( [ ] C l u s t e r R o l e ) ,   r e q u i r e d I t e m s   i s   a   l i s t   o f   C l u s t e r R o l e s   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   i t e m s   ( [ ] C l u s t e r R o l e ) ,   r e q u i r e d   I t e m s   i s   a   l i s t   o f   C l u s t e r R o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21118"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21119"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r R o l e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r R o l e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21120"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21121"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21122"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21123"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21124"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21125"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   C l u s t e r R o l e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   C l u s t e r R o l e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21126"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e ) :   O K   2 0 1   ( C l u s t e r R o l e ) :   C r e a t e d   2 0 2   ( C l u s t e r R o l e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21127"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21128"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r R o l e b o d y :   C l u s t e r R o l e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r R o l e   b o d y :   C l u s t e r R o l e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21129"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e ) :   O K   2 0 1   ( C l u s t e r R o l e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21130"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21131"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r R o l e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r R o l e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21132"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e ) :   O K   2 0 1   ( C l u s t e r R o l e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21133"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21134"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r R o l e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r R o l e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21135"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21136"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21137"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21138"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21139"
  },
  {
    "question": "What is 5.6 - ClusterRoleBinding?",
    "answer": "a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / r b a c / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21140"
  },
  {
    "question": "What is ClusterRoleBinding?",
    "answer": "C l u s t e r R o l e B i n d i n g   r e f e r e n c e s   a   C l u s t e r R o l e ,   b u t   n o t   c o n t a i n   i t .   I t   c a n   r e f e r e n c e   a   C l u s t e r R o l e   i n   t h e   g l o b a l   n a m e s p a c e ,   a n d   a d d s   w h o   i n f o r m a t i o n   v i a   S u b j e c t .   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   C l u s t e r R o l e B i n d i n g m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . r o l e R e f   ( R o l e R e f ) ,   r e q u i r e d R o l e R e f   c a n   o n l y   r e f e r e n c e   a   C l u s t e r R o l e   i n   t h e   g l o b a l   n a m e s p a c e .   I f   t h e   R o l e R e f   c a n n o t   b e   r e s o l v e d ,   t h e   A u t h o r i z e r   m u s t   r e t u r n   a n   e r r o r .   T h i s   f i e l d   i s   i m m u t a b l e . R o l e R e f   c o n t a i n s   i n f o r m a t i o n   t h a t   p o i n t s   t o   t h e   r o l e   b e i n g   u s e d r o l e R e f . a p i G r o u p   ( s t r i n g ) ,   r e q u i r e d A P I G r o u p   i s   t h e   g r o u p   f o r   t h e   r e s o u r c e   b e i n g   r e f e r e n c e d r o l e R e f . k i n d   ( s t r i n g ) ,   r e q u i r e d K i n d   i s   t h e   t y p e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d r o l e R e f . n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   i s   t h e   n a m e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d s u b j e c t s   ( [ ] S u b j e c t ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e S u b j e c t s   h o l d s   r e f e r e n c e s   t o   t h e   o b j e c t s   t h e   r o l e   a p p l i e s   t o . S u b j e c t   c o n t a i n s   a   r e f e r e n c e   t o   t h e   o b j e c t   o r   u s e r   i d e n t i t i e s   a   r o l e   b i n d i n g   a p p l i e s   t o .   T h i s   c a n   e i t h e r   h o l d   a   d i r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21141"
  },
  {
    "question": "What is ClusterRoleBindingList?",
    "answer": "C l u s t e r R o l e B i n d i n g L i s t   i s   a   c o l l e c t i o n   o f   C l u s t e r R o l e B i n d i n g s   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   C l u s t e r R o l e B i n d i n g L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . i t e m s   ( [ ] C l u s t e r R o l e B i n d i n g ) ,   r e q u i r e d I t e m s   i s   a   l i s t   o f   C l u s t e r R o l e B i n d i n g s   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e B i n d i n g L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   i t e m s   ( [ ] C l u s t e r R o l e B i n d i n g ) ,   r e q u i r e d   I t e m s   i s   a   l i s t   o f   C l u s t e r R o l e B i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21142"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21143"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r R o l e B i n d i n g p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r R o l e B i n d i n g   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21144"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e B i n d i n g ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21145"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21146"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21147"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e B i n d i n g L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21148"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21149"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   C l u s t e r R o l e B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   C l u s t e r R o l e B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21150"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e B i n d i n g ) :   O K   2 0 1   ( C l u s t e r R o l e B i n d i n g ) :   C r e a t e d   2 0 2   ( C l u s t e r R o l e B i n d i n g ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21151"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21152"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r R o l e B i n d i n g b o d y :   C l u s t e r R o l e B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r R o l e B i n d i n g   b o d y :   C l u s t e r R o l e B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21153"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e B i n d i n g ) :   O K   2 0 1   ( C l u s t e r R o l e B i n d i n g ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21154"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21155"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r R o l e B i n d i n g b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r R o l e B i n d i n g   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21156"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e B i n d i n g ) :   O K   2 0 1   ( C l u s t e r R o l e B i n d i n g ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21157"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21158"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r R o l e B i n d i n g b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r R o l e B i n d i n g   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21159"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21160"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21161"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21162"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21163"
  },
  {
    "question": "What is 5.7 - Role?",
    "answer": "a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / r b a c / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21164"
  },
  {
    "question": "What is Role?",
    "answer": "R o l e   i s   a   n a m e s p a c e d ,   l o g i c a l   g r o u p i n g   o f   P o l i c y R u l e s   t h a t   c a n   b e   r e f e r e n c e d   a s   a   u n i t   b y   a   R o l e B i n d i n g .   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   R o l e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . r u l e s   ( [ ] P o l i c y R u l e ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e R u l e s   h o l d s   a l l   t h e   P o l i c y R u l e s   f o r   t h i s   R o l e P o l i c y R u l e   h o l d s   i n f o r m a t i o n   t h a t   d e s c r i b e s   a   p o l i c y   r u l e ,   b u t   d o e s   n o t   c o n t a i n   i n f o r m a t i o n   a b o u t   w h o   t h e   r u l e   a p p l i e s   t o   o r   w h i c h   n a m e s p a c e   t h e   r u l e   a p p l i e s   t o . r u l e s . a p i G r o u p s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A P I G r o u p s   i s   t h e   n a m e   o f   t h e   A P I G r o u p   t h a t   c o n t a i n s   t h e   r e s o u r c e s .   I f   m u l t i p l e   A P I   g r o u p s   a r e   s p e c i f i e d ,   a n y   a c t i o n   r e q u e s t e d   a g a i n s t   o n e   o f   t h e   e n u m e r a t e d   r e s o u r c e s   i n   a n y   A P I   g r o u p   w i l l   b e   a l l o w e d .   \" \"   r e p r e s e n t s   t h e   c o r e   A P I   g r o u p   a n d   \" * \"   r e p r e s e n t s   a l l   A P I   g r o u p s . r u l e s . r e s o u r c e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e R e s o u r c e s   i s   a   l i s t   o f   r e s o u r c e s   t h i s   r u l e   a p p l i e s   t o .   ' * '   r e p r e s e n t s   a l l   r e s o u r c e s . r u l e s . v e r b s   ( [ ] s t r i n g ) ,   r e q u i r e d A t o m i c :   w i l l   b e   r e p ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21165"
  },
  {
    "question": "What is RoleList?",
    "answer": "R o l e L i s t   i s   a   c o l l e c t i o n   o f   R o l e s   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   R o l e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . i t e m s   ( [ ] R o l e ) ,   r e q u i r e d I t e m s   i s   a   l i s t   o f   R o l e s   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   R o l e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   i t e m s   ( [ ] R o l e ) ,   r e q u i r e d   I t e m s   i s   a   l i s t   o f   R o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21166"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21167"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R o l e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R o l e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21168"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21169"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21170"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21171"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21172"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / r o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21173"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21174"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21175"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21176"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R o l e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R o l e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21177"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e ) :   O K   2 0 1   ( R o l e ) :   C r e a t e d   2 0 2   ( R o l e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21178"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21179"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R o l e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R o l e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R o l e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R o l e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21180"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e ) :   O K   2 0 1   ( R o l e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21181"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21182"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R o l e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R o l e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21183"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e ) :   O K   2 0 1   ( R o l e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21184"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21185"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R o l e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R o l e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21186"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21187"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21188"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21189"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21190"
  },
  {
    "question": "What is 5.8 - RoleBinding?",
    "answer": "a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / r b a c / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21191"
  },
  {
    "question": "What is RoleBinding?",
    "answer": "R o l e B i n d i n g   r e f e r e n c e s   a   r o l e ,   b u t   d o e s   n o t   c o n t a i n   i t .   I t   c a n   r e f e r e n c e   a   R o l e   i n   t h e   s a m e   n a m e s p a c e   o r   a   C l u s t e r R o l e   i n   t h e   g l o b a l   n a m e s p a c e .   I t   a d d s   w h o   i n f o r m a t i o n   v i a   S u b j e c t s   a n d   n a m e s p a c e   i n f o r m a t i o n   b y   w h i c h   n a m e s p a c e   i t   e x i s t s   i n .   R o l e B i n d i n g s   i n   a   g i v e n   n a m e s p a c e   o n l y   h a v e   e f f e c t   i n   t h a t   n a m e s p a c e .   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   R o l e B i n d i n g m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . r o l e R e f   ( R o l e R e f ) ,   r e q u i r e d R o l e R e f   c a n   r e f e r e n c e   a   R o l e   i n   t h e   c u r r e n t   n a m e s p a c e   o r   a   C l u s t e r R o l e   i n   t h e   g l o b a l   n a m e s p a c e .   I f   t h e   R o l e R e f   c a n n o t   b e   r e s o l v e d ,   t h e   A u t h o r i z e r   m u s t   r e t u r n   a n   e r r o r .   T h i s   f i e l d   i s   i m m u t a b l e . R o l e R e f   c o n t a i n s   i n f o r m a t i o n   t h a t   p o i n t s   t o   t h e   r o l e   b e i n g   u s e d r o l e R e f . a p i G r o u p   ( s t r i n g ) ,   r e q u i r e d A P I G r o u p   i s   t h e   g r o u p   f o r   t h e   r e s o u r c e   b e i n g   r e f e r e n c e d r o l e R e f . k i n d   ( s t r i n g ) ,   r e q u i r e d K i n d   i s   t h e   t y p e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d r o l e R e f . n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   i s   t h e   n a m e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d s u b j e c t s   ( [ ] S u b j e c t ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e S u ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21192"
  },
  {
    "question": "What is RoleBindingList?",
    "answer": "R o l e B i n d i n g L i s t   i s   a   c o l l e c t i o n   o f   R o l e B i n d i n g s   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   R o l e B i n d i n g L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . i t e m s   ( [ ] R o l e B i n d i n g ) ,   r e q u i r e d I t e m s   i s   a   l i s t   o f   R o l e B i n d i n g s   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   R o l e B i n d i n g L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   i t e m s   ( [ ] R o l e B i n d i n g ) ,   r e q u i r e d   I t e m s   i s   a   l i s t   o f   R o l e B i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21193"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21194"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R o l e B i n d i n g n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R o l e B i n d i n g   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21195"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e B i n d i n g ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21196"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21197"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21198"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e B i n d i n g L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21199"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21200"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21201"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e B i n d i n g L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21202"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21203"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R o l e B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R o l e B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21204"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e B i n d i n g ) :   O K   2 0 1   ( R o l e B i n d i n g ) :   C r e a t e d   2 0 2   ( R o l e B i n d i n g ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21205"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21206"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R o l e B i n d i n g n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R o l e B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R o l e B i n d i n g   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R o l e B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21207"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e B i n d i n g ) :   O K   2 0 1   ( R o l e B i n d i n g ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21208"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21209"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R o l e B i n d i n g n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R o l e B i n d i n g   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21210"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e B i n d i n g ) :   O K   2 0 1   ( R o l e B i n d i n g ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21211"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21212"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R o l e B i n d i n g n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R o l e B i n d i n g   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21213"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21214"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21215"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21216"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21217"
  },
  {
    "question": "What is 6.1 - FlowSchema?",
    "answer": "a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / f l o w c o n t r o l / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21218"
  },
  {
    "question": "What is FlowSchema?",
    "answer": "F l o w S c h e m a   d e f i n e s   t h e   s c h e m a   o f   a   g r o u p   o f   f l o w s .   N o t e   t h a t   a   f l o w   i s   m a d e   u p   o f   a   s e t   o f   i n b o u n d   A P I   r e q u e s t s   w i t h   s i m i l a r   a t t r i b u t e s   a n d   i s   i d e n t i f i e d   b y   a   p a i r   o f   s t r i n g s :   t h e   n a m e   o f   t h e   F l o w S c h e m a   a n d   a   \" f l o w   d i s t i n g u i s h e r \" .   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 k i n d :   F l o w S c h e m a m e t a d a t a   ( O b j e c t M e t a ) m e t a d a t a   i s   t h e   s t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( F l o w S c h e m a S p e c ) s p e c   i s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   a   F l o w S c h e m a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( F l o w S c h e m a S t a t u s ) s t a t u s   i s   t h e   c u r r e n t   s t a t u s   o f   a   F l o w S c h e m a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   k i n d :   F l o w S c h e m a   m e t a d a t a   ( O b j e c t M e t a )   m e t a d a t a   i s   t h e   s t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21219"
  },
  {
    "question": "What is FlowSchemaSpec?",
    "answer": "F l o w S c h e m a S p e c   d e s c r i b e s   h o w   t h e   F l o w S c h e m a ' s   s p e c i f i c a t i o n   l o o k s   l i k e .   d i s t i n g u i s h e r M e t h o d   ( F l o w D i s t i n g u i s h e r M e t h o d ) d i s t i n g u i s h e r M e t h o d   d e f i n e s   h o w   t o   c o m p u t e   t h e   f l o w   d i s t i n g u i s h e r   f o r   r e q u e s t s   t h a t   m a t c h   t h i s   s c h e m a .   n i l   s p e c i f i e s   t h a t   t h e   d i s t i n g u i s h e r   i s   d i s a b l e d   a n d   t h u s   w i l l   a l w a y s   b e   t h e   e m p t y   s t r i n g . F l o w D i s t i n g u i s h e r M e t h o d   s p e c i f i e s   t h e   m e t h o d   o f   a   f l o w   d i s t i n g u i s h e r . d i s t i n g u i s h e r M e t h o d . t y p e   ( s t r i n g ) ,   r e q u i r e d t y p e   i s   t h e   t y p e   o f   f l o w   d i s t i n g u i s h e r   m e t h o d   T h e   s u p p o r t e d   t y p e s   a r e   \" B y U s e r \"   a n d   \" B y N a m e s p a c e \" .   R e q u i r e d . m a t c h i n g P r e c e d e n c e   ( i n t 3 2 ) m a t c h i n g P r e c e d e n c e   i s   u s e d   t o   c h o o s e   a m o n g   t h e   F l o w S c h e m a s   t h a t   m a t c h   a   g i v e n   r e q u e s t .   T h e   c h o s e n   F l o w S c h e m a   i s   a m o n g   t h o s e   w i t h   t h e   n u m e r i c a l l y   l o w e s t   ( w h i c h   w e   t a k e   t o   b e   l o g i c a l l y   h i g h e s t )   M a t c h i n g P r e c e d e n c e .   E a c h   M a t c h i n g P r e c e d e n c e   v a l u e   m u s t   b e   r a n g e d   i n   [ 1 , 1 0 0 0 0 ] .   N o t e   t h a t   i f   t h e   p r e c e d e n c e   i s   n o t   s p e c i f i e d ,   i t   w i l l   b e   s e t   t o   1 0 0 0   a s   d e f a u l t . p r i o r i t y L e v e l C o n f i g u r a t i o n   ( P r i o r i t y L e v e l C o n f i g u r a t i o n R e f e r e n c e ) ,   r e q u i r e d p r i o r i t y L e v e l C o n f i g u ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21220"
  },
  {
    "question": "What is FlowSchemaStatus?",
    "answer": "F l o w S c h e m a S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t e   o f   a   F l o w S c h e m a .   c o n d i t i o n s   ( [ ] F l o w S c h e m a C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e c o n d i t i o n s   i s   a   l i s t   o f   t h e   c u r r e n t   s t a t e s   o f   F l o w S c h e m a . F l o w S c h e m a C o n d i t i o n   d e s c r i b e s   c o n d i t i o n s   f o r   a   F l o w S c h e m a . c o n d i t i o n s . l a s t T r a n s i t i o n T i m e   ( T i m e ) l a s t T r a n s i t i o n T i m e   i s   t h e   l a s t   t i m e   t h e   c o n d i t i o n   t r a n s i t i o n e d   f r o m   o n e   s t a t u s   t o   a n o t h e r . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c o n d i t i o n s . m e s s a g e   ( s t r i n g ) m e s s a g e   i s   a   h u m a n - r e a d a b l e   m e s s a g e   i n d i c a t i n g   d e t a i l s   a b o u t   l a s t   t r a n s i t i o n . c o n d i t i o n s . r e a s o n   ( s t r i n g ) r e a s o n   i s   a   u n i q u e ,   o n e - w o r d ,   C a m e l C a s e   r e a s o n   f o r   t h e   c o n d i t i o n ' s   l a s t   t r a n s i t i o n . c o n d i t i o n s . s t a t u s   ( s t r i n g ) s t a t u s   i s   t h e   s t a t u s   o f   t h e   c o n d i t i o n .   C a n   b e   T r u e ,   F a l s e ,   U n k n o w n .   R e q u i r e d . c o n d i t i o n s . t y p e   ( s t r i n g ) t y p e   i s   t h e   t y p e   o f   t h e   c o n d i t i o n .   R e q u i r e d .   c o n d i t i o n s   ( [ ] F l ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21221"
  },
  {
    "question": "What is FlowSchemaList?",
    "answer": "F l o w S c h e m a L i s t   i s   a   l i s t   o f   F l o w S c h e m a   o b j e c t s .   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 k i n d :   F l o w S c h e m a L i s t m e t a d a t a   ( L i s t M e t a ) m e t a d a t a   i s   t h e   s t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] F l o w S c h e m a ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   F l o w S c h e m a s .   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   k i n d :   F l o w S c h e m a L i s t   m e t a d a t a   ( L i s t M e t a )   m e t a d a t a   i s   t h e   s t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] F l o w S c h e m a ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   F l o w S c h e m a s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21222"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21223"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   F l o w S c h e m a p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   F l o w S c h e m a   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21224"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( F l o w S c h e m a ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21225"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21226"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   F l o w S c h e m a p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   F l o w S c h e m a   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21227"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( F l o w S c h e m a ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21228"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21229"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21230"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( F l o w S c h e m a L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21231"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21232"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   F l o w S c h e m a ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   F l o w S c h e m a ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21233"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( F l o w S c h e m a ) :   O K   2 0 1   ( F l o w S c h e m a ) :   C r e a t e d   2 0 2   ( F l o w S c h e m a ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21234"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21235"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   F l o w S c h e m a b o d y :   F l o w S c h e m a ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   F l o w S c h e m a   b o d y :   F l o w S c h e m a ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21236"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( F l o w S c h e m a ) :   O K   2 0 1   ( F l o w S c h e m a ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21237"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21238"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   F l o w S c h e m a b o d y :   F l o w S c h e m a ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   F l o w S c h e m a   b o d y :   F l o w S c h e m a ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21239"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( F l o w S c h e m a ) :   O K   2 0 1   ( F l o w S c h e m a ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21240"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21241"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   F l o w S c h e m a b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   F l o w S c h e m a   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21242"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( F l o w S c h e m a ) :   O K   2 0 1   ( F l o w S c h e m a ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21243"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21244"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   F l o w S c h e m a b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   F l o w S c h e m a   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21245"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( F l o w S c h e m a ) :   O K   2 0 1   ( F l o w S c h e m a ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21246"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21247"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   F l o w S c h e m a b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   F l o w S c h e m a   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21248"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21249"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21250"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21251"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21252"
  },
  {
    "question": "What is 6.2 - LimitRange?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21253"
  },
  {
    "question": "What is LimitRange?",
    "answer": "L i m i t R a n g e   s e t s   r e s o u r c e   u s a g e   l i m i t s   f o r   e a c h   k i n d   o f   r e s o u r c e   i n   a   N a m e s p a c e .   a p i V e r s i o n :   v 1 k i n d :   L i m i t R a n g e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( L i m i t R a n g e S p e c ) S p e c   d e f i n e s   t h e   l i m i t s   e n f o r c e d .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   v 1   k i n d :   L i m i t R a n g e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( L i m i t R a n g e S p e c )   S p e c   d e f i n e s   t h e   l i m i t s   e n f o r c e d .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21254"
  },
  {
    "question": "What is LimitRangeSpec?",
    "answer": "L i m i t R a n g e S p e c   d e f i n e s   a   m i n / m a x   u s a g e   l i m i t   f o r   r e s o u r c e s   t h a t   m a t c h   o n   k i n d .   l i m i t s   ( [ ] L i m i t R a n g e I t e m ) ,   r e q u i r e d A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e L i m i t s   i s   t h e   l i s t   o f   L i m i t R a n g e I t e m   o b j e c t s   t h a t   a r e   e n f o r c e d . L i m i t R a n g e I t e m   d e f i n e s   a   m i n / m a x   u s a g e   l i m i t   f o r   a n y   r e s o u r c e   t h a t   m a t c h e s   o n   k i n d . l i m i t s . t y p e   ( s t r i n g ) ,   r e q u i r e d T y p e   o f   r e s o u r c e   t h a t   t h i s   l i m i t   a p p l i e s   t o . l i m i t s . d e f a u l t   ( m a p [ s t r i n g ] Q u a n t i t y ) D e f a u l t   r e s o u r c e   r e q u i r e m e n t   l i m i t   v a l u e   b y   r e s o u r c e   n a m e   i f   r e s o u r c e   l i m i t   i s   o m i t t e d . l i m i t s . d e f a u l t R e q u e s t   ( m a p [ s t r i n g ] Q u a n t i t y ) D e f a u l t R e q u e s t   i s   t h e   d e f a u l t   r e s o u r c e   r e q u i r e m e n t   r e q u e s t   v a l u e   b y   r e s o u r c e   n a m e   i f   r e s o u r c e   r e q u e s t   i s   o m i t t e d . l i m i t s . m a x   ( m a p [ s t r i n g ] Q u a n t i t y ) M a x   u s a g e   c o n s t r a i n t s   o n   t h i s   k i n d   b y   r e s o u r c e   n a m e . l i m i t s . m a x L i m i t R e q u e s t R a t i o   ( m a p [ s t r i n g ] Q u a n t i t y ) M a x L i m i t R e q u e s t R a t i o   i f   s p e c i f i e d ,   t h e   n a m e d   r e s o u r c e   m u s t   h a v e   a   r e q u e s t   a n d   l i m i t   t h a t   a r e   b o t h   n o n - z e r o   w h e r e   l i m i t   d i v i d e d   b y   r e q u e s t   i s   l e s s   t h a n   o r   e q u a l   t o   t h e   e n u m e r a t e d   v a l u e ;   t h i s   r e p r e s e n t s   t h e   m a x   b u r s t   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21255"
  },
  {
    "question": "What is LimitRangeList?",
    "answer": "L i m i t R a n g e L i s t   i s   a   l i s t   o f   L i m i t R a n g e   i t e m s .   a p i V e r s i o n :   v 1 k i n d :   L i m i t R a n g e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] L i m i t R a n g e ) ,   r e q u i r e d I t e m s   i s   a   l i s t   o f   L i m i t R a n g e   o b j e c t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n f i g u r a t i o n / m a n a g e - r e s o u r c e s - c o n t a i n e r s /   a p i V e r s i o n :   v 1   k i n d :   L i m i t R a n g e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] L i m i t R a n g e ) ,   r e q u i r e d   I t e m s   i s   a   l i s t   o f   L i m i t R a n g e   o b j e c t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n f i g u r a t i o n / m a n a g e - r e s o u r c e s - c o n t a i n e r s /",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21256"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21257"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L i m i t R a n g e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L i m i t R a n g e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21258"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L i m i t R a n g e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21259"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21260"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21261"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L i m i t R a n g e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21262"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / l i m i t r a n g e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21263"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21264"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L i m i t R a n g e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21265"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21266"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   L i m i t R a n g e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   L i m i t R a n g e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21267"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L i m i t R a n g e ) :   O K   2 0 1   ( L i m i t R a n g e ) :   C r e a t e d   2 0 2   ( L i m i t R a n g e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21268"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21269"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L i m i t R a n g e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   L i m i t R a n g e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L i m i t R a n g e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   L i m i t R a n g e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21270"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L i m i t R a n g e ) :   O K   2 0 1   ( L i m i t R a n g e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21271"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21272"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L i m i t R a n g e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L i m i t R a n g e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21273"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L i m i t R a n g e ) :   O K   2 0 1   ( L i m i t R a n g e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21274"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21275"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L i m i t R a n g e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L i m i t R a n g e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21276"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21277"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21278"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21279"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21280"
  },
  {
    "question": "What is 6.3 - ResourceQuota?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21281"
  },
  {
    "question": "What is ResourceQuota?",
    "answer": "R e s o u r c e Q u o t a   s e t s   a g g r e g a t e   q u o t a   r e s t r i c t i o n s   e n f o r c e d   p e r   n a m e s p a c e   a p i V e r s i o n :   v 1 k i n d :   R e s o u r c e Q u o t a m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( R e s o u r c e Q u o t a S p e c ) S p e c   d e f i n e s   t h e   d e s i r e d   q u o t a .   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( R e s o u r c e Q u o t a S t a t u s ) S t a t u s   d e f i n e s   t h e   a c t u a l   e n f o r c e d   q u o t a   a n d   i t s   c u r r e n t   u s a g e .   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( R e s o u r c e Q u o t a S p e c )   S p e c   d e f i n e s   t h e   d e s i r e d   q u o t a .   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   s t a t u s   ( R e s o u r c e Q u o t a S t a t u s )   S t a t u s   d e f i n e s   t h e   a c t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21282"
  },
  {
    "question": "What is ResourceQuotaSpec?",
    "answer": "R e s o u r c e Q u o t a S p e c   d e f i n e s   t h e   d e s i r e d   h a r d   l i m i t s   t o   e n f o r c e   f o r   Q u o t a .   h a r d   ( m a p [ s t r i n g ] Q u a n t i t y ) h a r d   i s   t h e   s e t   o f   d e s i r e d   h a r d   l i m i t s   f o r   e a c h   n a m e d   r e s o u r c e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / p o l i c y / r e s o u r c e - q u o t a s / s c o p e S e l e c t o r   ( S c o p e S e l e c t o r ) s c o p e S e l e c t o r   i s   a l s o   a   c o l l e c t i o n   o f   f i l t e r s   l i k e   s c o p e s   t h a t   m u s t   m a t c h   e a c h   o b j e c t   t r a c k e d   b y   a   q u o t a   b u t   e x p r e s s e d   u s i n g   S c o p e S e l e c t o r O p e r a t o r   i n   c o m b i n a t i o n   w i t h   p o s s i b l e   v a l u e s .   F o r   a   r e s o u r c e   t o   m a t c h ,   b o t h   s c o p e s   A N D   s c o p e S e l e c t o r   ( i f   s p e c i f i e d   i n   s p e c ) ,   m u s t   b e   m a t c h e d . A   s c o p e   s e l e c t o r   r e p r e s e n t s   t h e   A N D   o f   t h e   s e l e c t o r s   r e p r e s e n t e d   b y   t h e   s c o p e d - r e s o u r c e   s e l e c t o r   r e q u i r e m e n t s . s c o p e S e l e c t o r . m a t c h E x p r e s s i o n s   ( [ ] S c o p e d R e s o u r c e S e l e c t o r R e q u i r e m e n t ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A   l i s t   o f   s c o p e   s e l e c t o r   r e q u i r e m e n t s   b y   s c o p e   o f   t h e   r e s o u r c e s . A   s c o p e d - r e s o u r c e   s e l e c t o r   r e q u i r e m e n t   i s   a   s e l e c t o r   t h a t   c o n t a i n s   v a l u e s ,   a   s c o p e   n a m e ,   a n d   a n   o p e r a t o r   t h a t   r e l a t e s   t h e   s c o p e   n a m e   a n d   v a l u e s . s c o p e S e l e c t o r . m a t c h E x p r e s s i o n s . o p e r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21283"
  },
  {
    "question": "What is ResourceQuotaStatus?",
    "answer": "R e s o u r c e Q u o t a S t a t u s   d e f i n e s   t h e   e n f o r c e d   h a r d   l i m i t s   a n d   o b s e r v e d   u s e .   h a r d   ( m a p [ s t r i n g ] Q u a n t i t y ) H a r d   i s   t h e   s e t   o f   e n f o r c e d   h a r d   l i m i t s   f o r   e a c h   n a m e d   r e s o u r c e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / p o l i c y / r e s o u r c e - q u o t a s / u s e d   ( m a p [ s t r i n g ] Q u a n t i t y ) U s e d   i s   t h e   c u r r e n t   o b s e r v e d   t o t a l   u s a g e   o f   t h e   r e s o u r c e   i n   t h e   n a m e s p a c e .   h a r d   ( m a p [ s t r i n g ] Q u a n t i t y )   H a r d   i s   t h e   s e t   o f   e n f o r c e d   h a r d   l i m i t s   f o r   e a c h   n a m e d   r e s o u r c e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / p o l i c y / r e s o u r c e - q u o t a s /   u s e d   ( m a p [ s t r i n g ] Q u a n t i t y )   U s e d   i s   t h e   c u r r e n t   o b s e r v e d   t o t a l   u s a g e   o f   t h e   r e s o u r c e   i n   t h e   n a m e s p a c e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21284"
  },
  {
    "question": "What is ResourceQuotaList?",
    "answer": "R e s o u r c e Q u o t a L i s t   i s   a   l i s t   o f   R e s o u r c e Q u o t a   i t e m s .   a p i V e r s i o n :   v 1 k i n d :   R e s o u r c e Q u o t a L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] R e s o u r c e Q u o t a ) ,   r e q u i r e d I t e m s   i s   a   l i s t   o f   R e s o u r c e Q u o t a   o b j e c t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / p o l i c y / r e s o u r c e - q u o t a s /   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] R e s o u r c e Q u o t a ) ,   r e q u i r e d   I t e m s   i s   a   l i s t   o f   R e s o u r c e Q u o t a   o b j e c t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / p o l i c y / r e s o u r c e - q u o t a s /",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21285"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21286"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e Q u o t a n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e Q u o t a   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21287"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21288"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21289"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e Q u o t a n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e Q u o t a   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21290"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21291"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21292"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21293"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21294"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / r e s o u r c e q u o t a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21295"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21296"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21297"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21298"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e s o u r c e Q u o t a ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e s o u r c e Q u o t a ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21299"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a ) :   O K   2 0 1   ( R e s o u r c e Q u o t a ) :   C r e a t e d   2 0 2   ( R e s o u r c e Q u o t a ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21300"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21301"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e Q u o t a n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e s o u r c e Q u o t a ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e Q u o t a   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e s o u r c e Q u o t a ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21302"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a ) :   O K   2 0 1   ( R e s o u r c e Q u o t a ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21303"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21304"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e Q u o t a n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e s o u r c e Q u o t a ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e Q u o t a   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e s o u r c e Q u o t a ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21305"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a ) :   O K   2 0 1   ( R e s o u r c e Q u o t a ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21306"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21307"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e Q u o t a n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e Q u o t a   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21308"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a ) :   O K   2 0 1   ( R e s o u r c e Q u o t a ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21309"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21310"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e Q u o t a n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e Q u o t a   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21311"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a ) :   O K   2 0 1   ( R e s o u r c e Q u o t a ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21312"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21313"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e Q u o t a n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e Q u o t a   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21314"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a ) :   O K   2 0 2   ( R e s o u r c e Q u o t a ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21315"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21316"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21317"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21318"
  },
  {
    "question": "What is 6.4 - NetworkPolicy?",
    "answer": "a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / n e t w o r k i n g / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21319"
  },
  {
    "question": "What is NetworkPolicy?",
    "answer": "N e t w o r k P o l i c y   d e s c r i b e s   w h a t   n e t w o r k   t r a f f i c   i s   a l l o w e d   f o r   a   s e t   o f   P o d s   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   N e t w o r k P o l i c y m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( N e t w o r k P o l i c y S p e c ) s p e c   r e p r e s e n t s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   f o r   t h i s   N e t w o r k P o l i c y .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( N e t w o r k P o l i c y S p e c )   s p e c   r e p r e s e n t s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   f o r   t h i s   N e t w o r k P o l i c y .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21320"
  },
  {
    "question": "What is NetworkPolicySpec?",
    "answer": "N e t w o r k P o l i c y S p e c   p r o v i d e s   t h e   s p e c i f i c a t i o n   o f   a   N e t w o r k P o l i c y   p o d S e l e c t o r   ( L a b e l S e l e c t o r ) p o d S e l e c t o r   s e l e c t s   t h e   p o d s   t o   w h i c h   t h i s   N e t w o r k P o l i c y   o b j e c t   a p p l i e s .   T h e   a r r a y   o f   r u l e s   i s   a p p l i e d   t o   a n y   p o d s   s e l e c t e d   b y   t h i s   f i e l d .   A n   e m p t y   s e l e c t o r   m a t c h e s   a l l   p o d s   i n   t h e   p o l i c y ' s   n a m e s p a c e .   M u l t i p l e   n e t w o r k   p o l i c i e s   c a n   s e l e c t   t h e   s a m e   s e t   o f   p o d s .   I n   t h i s   c a s e ,   t h e   i n g r e s s   r u l e s   f o r   e a c h   a r e   c o m b i n e d   a d d i t i v e l y .   T h i s   f i e l d   i s   o p t i o n a l .   I f   i t   i s   n o t   s p e c i f i e d ,   i t   d e f a u l t s   t o   a n   e m p t y   s e l e c t o r . p o l i c y T y p e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e p o l i c y T y p e s   i s   a   l i s t   o f   r u l e   t y p e s   t h a t   t h e   N e t w o r k P o l i c y   r e l a t e s   t o .   V a l i d   o p t i o n s   a r e   [ \" I n g r e s s \" ] ,   [ \" E g r e s s \" ] ,   o r   [ \" I n g r e s s \" ,   \" E g r e s s \" ] .   I f   t h i s   f i e l d   i s   n o t   s p e c i f i e d ,   i t   w i l l   d e f a u l t   b a s e d   o n   t h e   e x i s t e n c e   o f   i n g r e s s   o r   e g r e s s   r u l e s ;   p o l i c i e s   t h a t   c o n t a i n   a n   e g r e s s   s e c t i o n   a r e   a s s u m e d   t o   a f f e c t   e g r e s s ,   a n d   a l l   p o l i c i e s   ( w h e t h e r   o r   n o t   t h e y   c o n t a i n   a n   i n g r e s s   s e c t i o n )   a r e   a s s u m e d   t o   a f f e c t   i n g r e s s .   I f   y o u   w a n t   t o   w r i t e   a n   e g r e s s - o n l y ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21321"
  },
  {
    "question": "What is NetworkPolicyList?",
    "answer": "N e t w o r k P o l i c y L i s t   i s   a   l i s t   o f   N e t w o r k P o l i c y   o b j e c t s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   N e t w o r k P o l i c y L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] N e t w o r k P o l i c y ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] N e t w o r k P o l i c y ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21322"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21323"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N e t w o r k P o l i c y n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N e t w o r k P o l i c y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21324"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N e t w o r k P o l i c y ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21325"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21326"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21327"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N e t w o r k P o l i c y L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21328"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n e t w o r k p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21329"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21330"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N e t w o r k P o l i c y L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21331"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21332"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   N e t w o r k P o l i c y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   N e t w o r k P o l i c y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21333"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N e t w o r k P o l i c y ) :   O K   2 0 1   ( N e t w o r k P o l i c y ) :   C r e a t e d   2 0 2   ( N e t w o r k P o l i c y ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21334"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21335"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N e t w o r k P o l i c y n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   N e t w o r k P o l i c y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N e t w o r k P o l i c y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   N e t w o r k P o l i c y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21336"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N e t w o r k P o l i c y ) :   O K   2 0 1   ( N e t w o r k P o l i c y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21337"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21338"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N e t w o r k P o l i c y n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N e t w o r k P o l i c y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21339"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N e t w o r k P o l i c y ) :   O K   2 0 1   ( N e t w o r k P o l i c y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21340"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21341"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N e t w o r k P o l i c y n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N e t w o r k P o l i c y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21342"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21343"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21344"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21345"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21346"
  },
  {
    "question": "What is 6.5 - PodDisruptionBudget?",
    "answer": "a p i V e r s i o n :   p o l i c y / v 1   i m p o r t   \" k 8 s . i o / a p i / p o l i c y / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21347"
  },
  {
    "question": "What is PodDisruptionBudget?",
    "answer": "P o d D i s r u p t i o n B u d g e t   i s   a n   o b j e c t   t o   d e f i n e   t h e   m a x   d i s r u p t i o n   t h a t   c a n   b e   c a u s e d   t o   a   c o l l e c t i o n   o f   p o d s   a p i V e r s i o n :   p o l i c y / v 1 k i n d :   P o d D i s r u p t i o n B u d g e t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( P o d D i s r u p t i o n B u d g e t S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   P o d D i s r u p t i o n B u d g e t . s t a t u s   ( P o d D i s r u p t i o n B u d g e t S t a t u s ) M o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   P o d D i s r u p t i o n B u d g e t .   a p i V e r s i o n :   p o l i c y / v 1   k i n d :   P o d D i s r u p t i o n B u d g e t   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( P o d D i s r u p t i o n B u d g e t S p e c )   S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   P o d D i s r u p t i o n B u d g e t .   s t a t u s   ( P o d D i s r u p t i o n B u d g e t S t a t u s )   M o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   P o d D i s r u p t i o n B u d g e t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21348"
  },
  {
    "question": "What is PodDisruptionBudgetSpec?",
    "answer": "P o d D i s r u p t i o n B u d g e t S p e c   i s   a   d e s c r i p t i o n   o f   a   P o d D i s r u p t i o n B u d g e t .   m a x U n a v a i l a b l e   ( I n t O r S t r i n g ) A n   e v i c t i o n   i s   a l l o w e d   i f   a t   m o s t   \" m a x U n a v a i l a b l e \"   p o d s   s e l e c t e d   b y   \" s e l e c t o r \"   a r e   u n a v a i l a b l e   a f t e r   t h e   e v i c t i o n ,   i . e .   e v e n   i n   a b s e n c e   o f   t h e   e v i c t e d   p o d .   F o r   e x a m p l e ,   o n e   c a n   p r e v e n t   a l l   v o l u n t a r y   e v i c t i o n s   b y   s p e c i f y i n g   0 .   T h i s   i s   a   m u t u a l l y   e x c l u s i v e   s e t t i n g   w i t h   \" m i n A v a i l a b l e \" . I n t O r S t r i n g   i s   a   t y p e   t h a t   c a n   h o l d   a n   i n t 3 2   o r   a   s t r i n g .   W h e n   u s e d   i n   J S O N   o r   Y A M L   m a r s h a l l i n g   a n d   u n m a r s h a l l i n g ,   i t   p r o d u c e s   o r   c o n s u m e s   t h e   i n n e r   t y p e .   T h i s   a l l o w s   y o u   t o   h a v e ,   f o r   e x a m p l e ,   a   J S O N   f i e l d   t h a t   c a n   a c c e p t   a   n a m e   o r   n u m b e r . m i n A v a i l a b l e   ( I n t O r S t r i n g ) A n   e v i c t i o n   i s   a l l o w e d   i f   a t   l e a s t   \" m i n A v a i l a b l e \"   p o d s   s e l e c t e d   b y   \" s e l e c t o r \"   w i l l   s t i l l   b e   a v a i l a b l e   a f t e r   t h e   e v i c t i o n ,   i . e .   e v e n   i n   t h e   a b s e n c e   o f   t h e   e v i c t e d   p o d .   S o   f o r   e x a m p l e   y o u   c a n   p r e v e n t   a l l   v o l u n t a r y   e v i c t i o n s   b y   s p e c i f y i n g   \" 1 0 0 % \" . I n t O r S t r i n g   i s   a   t y p e   t h a t   c a n   h o l d   a n   i n t 3 2   o r   a   s t r i n g .   W h e n   u s e d   i n   J S O N   o r   Y A M L   m a r s h a l l i n g   a n d   u n m a r s h a l l i n g , ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21349"
  },
  {
    "question": "What is PodDisruptionBudgetStatus?",
    "answer": "P o d D i s r u p t i o n B u d g e t S t a t u s   r e p r e s e n t s   i n f o r m a t i o n   a b o u t   t h e   s t a t u s   o f   a   P o d D i s r u p t i o n B u d g e t .   S t a t u s   m a y   t r a i l   t h e   a c t u a l   s t a t e   o f   a   s y s t e m .   c u r r e n t H e a l t h y   ( i n t 3 2 ) ,   r e q u i r e d c u r r e n t   n u m b e r   o f   h e a l t h y   p o d s d e s i r e d H e a l t h y   ( i n t 3 2 ) ,   r e q u i r e d m i n i m u m   d e s i r e d   n u m b e r   o f   h e a l t h y   p o d s d i s r u p t i o n s A l l o w e d   ( i n t 3 2 ) ,   r e q u i r e d N u m b e r   o f   p o d   d i s r u p t i o n s   t h a t   a r e   c u r r e n t l y   a l l o w e d . e x p e c t e d P o d s   ( i n t 3 2 ) ,   r e q u i r e d t o t a l   n u m b e r   o f   p o d s   c o u n t e d   b y   t h i s   d i s r u p t i o n   b u d g e t c o n d i t i o n s   ( [ ] C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e C o n d i t i o n s   c o n t a i n   c o n d i t i o n s   f o r   P D B .   T h e   d i s r u p t i o n   c o n t r o l l e r   s e t s   t h e   D i s r u p t i o n A l l o w e d   c o n d i t i o n .   T h e   f o l l o w i n g   a r e   k n o w n   v a l u e s   f o r   t h e   r e a s o n   f i e l d   ( a d d i t i o n a l   r e a s o n s   c o u l d   b e   a d d e d   i n   t h e   f u t u r e ) :   -   S y n c F a i l e d :   T h e   c o n t r o l l e r   e n c o u n t e r e d   a n   e r r o r   a n d   w a s n ' t   a b l e   t o   c o m p u t e   t h e   n u m b e r   o f   a l l o w e d   d i s r u p t i o n s .   T h e r e f o r e   n o   d i s r u p t i o n s   a r e   a l l o w e d   a n d   t h e   s t a t u s   o f   t h e   c o n d i t i o n   w i l l   b e   F a l s e . I n s u f f i c i e n t P o d s :   T h e   n u m b e r   o f   p o d s   a r e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21350"
  },
  {
    "question": "What is PodDisruptionBudgetList?",
    "answer": "P o d D i s r u p t i o n B u d g e t L i s t   i s   a   c o l l e c t i o n   o f   P o d D i s r u p t i o n B u d g e t s .   a p i V e r s i o n :   p o l i c y / v 1 k i n d :   P o d D i s r u p t i o n B u d g e t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] P o d D i s r u p t i o n B u d g e t ) ,   r e q u i r e d I t e m s   i s   a   l i s t   o f   P o d D i s r u p t i o n B u d g e t s   a p i V e r s i o n :   p o l i c y / v 1   k i n d :   P o d D i s r u p t i o n B u d g e t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] P o d D i s r u p t i o n B u d g e t ) ,   r e q u i r e d   I t e m s   i s   a   l i s t   o f   P o d D i s r u p t i o n B u d g e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21351"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21352"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21353"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21354"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21355"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21356"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21357"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21358"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21359"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21360"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / p o l i c y / v 1 / p o d d i s r u p t i o n b u d g e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21361"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21362"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21363"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21364"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d D i s r u p t i o n B u d g e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d D i s r u p t i o n B u d g e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21365"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t ) :   O K   2 0 1   ( P o d D i s r u p t i o n B u d g e t ) :   C r e a t e d   2 0 2   ( P o d D i s r u p t i o n B u d g e t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21366"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21367"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d D i s r u p t i o n B u d g e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d D i s r u p t i o n B u d g e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21368"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t ) :   O K   2 0 1   ( P o d D i s r u p t i o n B u d g e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21369"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21370"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d D i s r u p t i o n B u d g e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d D i s r u p t i o n B u d g e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21371"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t ) :   O K   2 0 1   ( P o d D i s r u p t i o n B u d g e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21372"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21373"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21374"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t ) :   O K   2 0 1   ( P o d D i s r u p t i o n B u d g e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21375"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21376"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21377"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t ) :   O K   2 0 1   ( P o d D i s r u p t i o n B u d g e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21378"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21379"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21380"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21381"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21382"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21383"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21384"
  },
  {
    "question": "What is 6.6 - PriorityLevelConfiguration?",
    "answer": "a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / f l o w c o n t r o l / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21385"
  },
  {
    "question": "What is PriorityLevelConfiguration?",
    "answer": "P r i o r i t y L e v e l C o n f i g u r a t i o n   r e p r e s e n t s   t h e   c o n f i g u r a t i o n   o f   a   p r i o r i t y   l e v e l .   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 k i n d :   P r i o r i t y L e v e l C o n f i g u r a t i o n m e t a d a t a   ( O b j e c t M e t a ) m e t a d a t a   i s   t h e   s t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( P r i o r i t y L e v e l C o n f i g u r a t i o n S p e c ) s p e c   i s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   a   \" r e q u e s t - p r i o r i t y \" .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( P r i o r i t y L e v e l C o n f i g u r a t i o n S t a t u s ) s t a t u s   i s   t h e   c u r r e n t   s t a t u s   o f   a   \" r e q u e s t - p r i o r i t y \" .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   k i n d :   P r i o r i t y L e v e l C o n f i g u r a t i o n   m e t a d a t a   ( O b j e c t M e t a )   m e t a d a t a   i s   t h e   s t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21386"
  },
  {
    "question": "What is PriorityLevelConfigurationSpec?",
    "answer": "P r i o r i t y L e v e l C o n f i g u r a t i o n S p e c   s p e c i f i e s   t h e   c o n f i g u r a t i o n   o f   a   p r i o r i t y   l e v e l .   e x e m p t   ( E x e m p t P r i o r i t y L e v e l C o n f i g u r a t i o n ) e x e m p t   s p e c i f i e s   h o w   r e q u e s t s   a r e   h a n d l e d   f o r   a n   e x e m p t   p r i o r i t y   l e v e l .   T h i s   f i e l d   M U S T   b e   e m p t y   i f   t y p e   i s   \" L i m i t e d \" .   T h i s   f i e l d   M A Y   b e   n o n - e m p t y   i f   t y p e   i s   \" E x e m p t \" .   I f   e m p t y   a n d   t y p e   i s   \" E x e m p t \"   t h e n   t h e   d e f a u l t   v a l u e s   f o r   E x e m p t P r i o r i t y L e v e l C o n f i g u r a t i o n   a p p l y . E x e m p t P r i o r i t y L e v e l C o n f i g u r a t i o n   d e s c r i b e s   t h e   c o n f i g u r a b l e   a s p e c t s   o f   t h e   h a n d l i n g   o f   e x e m p t   r e q u e s t s .   I n   t h e   m a n d a t o r y   e x e m p t   c o n f i g u r a t i o n   o b j e c t   t h e   v a l u e s   i n   t h e   f i e l d s   h e r e   c a n   b e   m o d i f i e d   b y   a u t h o r i z e d   u s e r s ,   u n l i k e   t h e   r e s t   o f   t h e   s p e c . e x e m p t . l e n d a b l e P e r c e n t   ( i n t 3 2 ) l e n d a b l e P e r c e n t   p r e s c r i b e s   t h e   f r a c t i o n   o f   t h e   l e v e l ' s   N o m i n a l C L   t h a t   c a n   b e   b o r r o w e d   b y   o t h e r   p r i o r i t y   l e v e l s .   T h i s   v a l u e   o f   t h i s   f i e l d   m u s t   b e   b e t w e e n   0   a n d   1 0 0 ,   i n c l u s i v e ,   a n d   i t   d e f a u l t s   t o   0 .   T h e   n u m b e r   o f   s e a t s   t h a t   o t h e r   l e v e l s   c a n   b o r r o w   f r o m   t h i s   l e v e l ,   k n o w n   a s   t h i s   l e v e l ' s   L e n d a b l e C o n c u r r e n c y L i m i t   ( L e n d a b l e C L ) ,   i s   d e f i n e d   a s   f o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21387"
  },
  {
    "question": "What is PriorityLevelConfigurationStatus?",
    "answer": "P r i o r i t y L e v e l C o n f i g u r a t i o n S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t e   o f   a   \" r e q u e s t - p r i o r i t y \" .   c o n d i t i o n s   ( [ ] P r i o r i t y L e v e l C o n f i g u r a t i o n C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e c o n d i t i o n s   i s   t h e   c u r r e n t   s t a t e   o f   \" r e q u e s t - p r i o r i t y \" . P r i o r i t y L e v e l C o n f i g u r a t i o n C o n d i t i o n   d e f i n e s   t h e   c o n d i t i o n   o f   p r i o r i t y   l e v e l . c o n d i t i o n s . l a s t T r a n s i t i o n T i m e   ( T i m e ) l a s t T r a n s i t i o n T i m e   i s   t h e   l a s t   t i m e   t h e   c o n d i t i o n   t r a n s i t i o n e d   f r o m   o n e   s t a t u s   t o   a n o t h e r . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c o n d i t i o n s . m e s s a g e   ( s t r i n g ) m e s s a g e   i s   a   h u m a n - r e a d a b l e   m e s s a g e   i n d i c a t i n g   d e t a i l s   a b o u t   l a s t   t r a n s i t i o n . c o n d i t i o n s . r e a s o n   ( s t r i n g ) r e a s o n   i s   a   u n i q u e ,   o n e - w o r d ,   C a m e l C a s e   r e a s o n   f o r   t h e   c o n d i t i o n ' s   l a s t   t r a n s i t i o n . c o n d i t i o n s . s t a t u s   ( s t r i n g ) s t a t u s   i s   t h e   s t a t u s   o f   t h e   c o n d i t i o n .   C a n   b e   T r u e ,   F a l s e ,   U n k n o w n .   R e q u i r e d . c o n d i t i o n s . t y p e   ( s t r i n g ) t y p e   i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21388"
  },
  {
    "question": "What is PriorityLevelConfigurationList?",
    "answer": "P r i o r i t y L e v e l C o n f i g u r a t i o n L i s t   i s   a   l i s t   o f   P r i o r i t y L e v e l C o n f i g u r a t i o n   o b j e c t s .   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 k i n d :   P r i o r i t y L e v e l C o n f i g u r a t i o n L i s t m e t a d a t a   ( L i s t M e t a ) m e t a d a t a   i s   t h e   s t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] P r i o r i t y L e v e l C o n f i g u r a t i o n ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   r e q u e s t - p r i o r i t i e s .   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   k i n d :   P r i o r i t y L e v e l C o n f i g u r a t i o n L i s t   m e t a d a t a   ( L i s t M e t a )   m e t a d a t a   i s   t h e   s t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] P r i o r i t y L e v e l C o n f i g u r a t i o n ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   r e q u e s t - p r i o r i t i e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21389"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21390"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21391"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21392"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21393"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21394"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21395"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21396"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21397"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y L e v e l C o n f i g u r a t i o n L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21398"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21399"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   P r i o r i t y L e v e l C o n f i g u r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   P r i o r i t y L e v e l C o n f i g u r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21400"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   O K   2 0 1   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   C r e a t e d   2 0 2   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21401"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21402"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n b o d y :   P r i o r i t y L e v e l C o n f i g u r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   b o d y :   P r i o r i t y L e v e l C o n f i g u r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21403"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   O K   2 0 1   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21404"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21405"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n b o d y :   P r i o r i t y L e v e l C o n f i g u r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   b o d y :   P r i o r i t y L e v e l C o n f i g u r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21406"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   O K   2 0 1   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21407"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21408"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21409"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   O K   2 0 1   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21410"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21411"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21412"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   O K   2 0 1   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21413"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21414"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21415"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21416"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21417"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21418"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21419"
  },
  {
    "question": "What is 6.7 - ValidatingAdmissionPolicy?",
    "answer": "a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a d m i s s i o n r e g i s t r a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21420"
  },
  {
    "question": "What is ValidatingAdmissionPolicy?",
    "answer": "V a l i d a t i n g A d m i s s i o n P o l i c y   d e s c r i b e s   t h e   d e f i n i t i o n   o f   a n   a d m i s s i o n   v a l i d a t i o n   p o l i c y   t h a t   a c c e p t s   o r   r e j e c t s   a n   o b j e c t   w i t h o u t   c h a n g i n g   i t .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a . s p e c   ( V a l i d a t i n g A d m i s s i o n P o l i c y S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y . V a l i d a t i n g A d m i s s i o n P o l i c y S p e c   i s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   A d m i s s i o n P o l i c y . s p e c . a u d i t A n n o t a t i o n s   ( [ ] A u d i t A n n o t a t i o n ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e a u d i t A n n o t a t i o n s   c o n t a i n s   C E L   e x p r e s s i o n s   w h i c h   a r e   u s e d   t o   p r o d u c e   a u d i t   a n n o t a t i o n s   f o r   t h e   a u d i t   e v e n t   o f   t h e   A P I   r e q u e s t .   v a l i d a t i o n s   a n d   a u d i t A n n o t a t i o n s   m a y   n o t   b o t h   b e   e m p t y ;   a   l e a s t   o n e   o f   v a l i d a t i o n s   o r   a u d i t A n n o t a t i o n s   i s   r e q u i r e d . A u d i t A n n o t a t i o n   d e s c r i b e s   h o w   t o   p r o d u c e   a n   a u d i t   a n n o t a t i o n   f o r   a n   A P I   r e q u e s t . s p e c . a u d i t A n n o t a t i o n s . k e y   ( s t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21421"
  },
  {
    "question": "What is ValidatingAdmissionPolicyList?",
    "answer": "V a l i d a t i n g A d m i s s i o n P o l i c y L i s t   i s   a   l i s t   o f   V a l i d a t i n g A d m i s s i o n P o l i c y .   i t e m s   ( [ ] V a l i d a t i n g A d m i s s i o n P o l i c y ) ,   r e q u i r e d L i s t   o f   V a l i d a t i n g A d m i s s i o n P o l i c y . a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] V a l i d a t i n g A d m i s s i o n P o l i c y ) ,   r e q u i r e d   L i s t   o f   V a l i d a t i n g A d m i s s i o n P o l i c y .   a p i V e r s i o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21422"
  },
  {
    "question": "What is ValidatingAdmissionPolicyBinding?",
    "answer": "V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   b i n d s   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   w i t h   p a r a m e r i z e d   r e s o u r c e s .   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   a n d   p a r a m e t e r   C R D s   t o g e t h e r   d e f i n e   h o w   c l u s t e r   a d m i n i s t r a t o r s   c o n f i g u r e   p o l i c i e s   f o r   c l u s t e r s .   F o r   a   g i v e n   a d m i s s i o n   r e q u e s t ,   e a c h   b i n d i n g   w i l l   c a u s e   i t s   p o l i c y   t o   b e   e v a l u a t e d   N   t i m e s ,   w h e r e   N   i s   1   f o r   p o l i c i e s / b i n d i n g s   t h a t   d o n ' t   u s e   p a r a m s ,   o t h e r w i s e   N   i s   t h e   n u m b e r   o f   p a r a m e t e r s   s e l e c t e d   b y   t h e   b i n d i n g .   T h e   C E L   e x p r e s s i o n s   o f   a   p o l i c y   m u s t   h a v e   a   c o m p u t e d   C E L   c o s t   b e l o w   t h e   m a x i m u m   C E L   b u d g e t .   E a c h   e v a l u a t i o n   o f   t h e   p o l i c y   i s   g i v e n   a n   i n d e p e n d e n t   C E L   c o s t   b u d g e t .   A d d i n g / r e m o v i n g   p o l i c i e s ,   b i n d i n g s ,   o r   p a r a m s   c a n   n o t   a f f e c t   w h e t h e r   a   g i v e n   ( p o l i c y ,   b i n d i n g ,   p a r a m )   c o m b i n a t i o n   i s   w i t h i n   i t s   o w n   C E L   b u d g e t .   a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21423"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21424"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21425"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21426"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21427"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21428"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21429"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21430"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21431"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21432"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21433"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21434"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   O K   2 0 1   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   C r e a t e d   2 0 2   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21435"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21436"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21437"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   O K   2 0 1   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21438"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21439"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21440"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   O K   2 0 1   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21441"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21442"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21443"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   O K   2 0 1   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21444"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21445"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21446"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   O K   2 0 1   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21447"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21448"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21449"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21450"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21451"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21452"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21453"
  },
  {
    "question": "What is 6.8 - ValidatingAdmissionPolicyBinding?",
    "answer": "a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a d m i s s i o n r e g i s t r a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21454"
  },
  {
    "question": "What is ValidatingAdmissionPolicyBinding?",
    "answer": "V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   b i n d s   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   w i t h   p a r a m e r i z e d   r e s o u r c e s .   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   a n d   p a r a m e t e r   C R D s   t o g e t h e r   d e f i n e   h o w   c l u s t e r   a d m i n i s t r a t o r s   c o n f i g u r e   p o l i c i e s   f o r   c l u s t e r s .   F o r   a   g i v e n   a d m i s s i o n   r e q u e s t ,   e a c h   b i n d i n g   w i l l   c a u s e   i t s   p o l i c y   t o   b e   e v a l u a t e d   N   t i m e s ,   w h e r e   N   i s   1   f o r   p o l i c i e s / b i n d i n g s   t h a t   d o n ' t   u s e   p a r a m s ,   o t h e r w i s e   N   i s   t h e   n u m b e r   o f   p a r a m e t e r s   s e l e c t e d   b y   t h e   b i n d i n g .   T h e   C E L   e x p r e s s i o n s   o f   a   p o l i c y   m u s t   h a v e   a   c o m p u t e d   C E L   c o s t   b e l o w   t h e   m a x i m u m   C E L   b u d g e t .   E a c h   e v a l u a t i o n   o f   t h e   p o l i c y   i s   g i v e n   a n   i n d e p e n d e n t   C E L   c o s t   b u d g e t .   A d d i n g / r e m o v i n g   p o l i c i e s ,   b i n d i n g s ,   o r   p a r a m s   c a n   n o t   a f f e c t   w h e t h e r   a   g i v e n   ( p o l i c y ,   b i n d i n g ,   p a r a m )   c o m b i n a t i o n   i s   w i t h i n   i t s   o w n   C E L   b u d g e t .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a . s p e c   ( V a l i d a t i n g A d m i s s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21455"
  },
  {
    "question": "What is ValidatingAdmissionPolicy?",
    "answer": "V a l i d a t i n g A d m i s s i o n P o l i c y   d e s c r i b e s   t h e   d e f i n i t i o n   o f   a n   a d m i s s i o n   v a l i d a t i o n   p o l i c y   t h a t   a c c e p t s   o r   r e j e c t s   a n   o b j e c t   w i t h o u t   c h a n g i n g   i t .   a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a . s p e c   ( V a l i d a t i n g A d m i s s i o n P o l i c y S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   V a l i d a t i n g A d m i s s i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21456"
  },
  {
    "question": "What is ValidatingAdmissionPolicyBindingList?",
    "answer": "V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g L i s t   i s   a   l i s t   o f   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g .   i t e m s   ( [ ] V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) ,   r e q u i r e d L i s t   o f   P o l i c y B i n d i n g . a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) ,   r e q u i r e d   L i s t   o f   P o l i c y B i n d i n g .   a p i V e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21457"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21458"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21459"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21460"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21461"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21462"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21463"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21464"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21465"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   O K   2 0 1   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   C r e a t e d   2 0 2   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21466"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21467"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21468"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   O K   2 0 1   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21469"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21470"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21471"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   O K   2 0 1   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21472"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21473"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21474"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21475"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21476"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21477"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21478"
  },
  {
    "question": "What is 6.9 - MutatingAdmissionPolicy v1beta1?",
    "answer": "a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1   i m p o r t   \" k 8 s . i o / a p i / a d m i s s i o n r e g i s t r a t i o n / v 1 b e t a 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21479"
  },
  {
    "question": "What is MutatingAdmissionPolicy?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y   d e s c r i b e s   t h e   d e f i n i t i o n   o f   a n   a d m i s s i o n   m u t a t i o n   p o l i c y   t h a t   m u t a t e s   t h e   o b j e c t   c o m i n g   i n t o   a d m i s s i o n   c h a i n .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 k i n d :   M u t a t i n g A d m i s s i o n P o l i c y m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a . s p e c   ( M u t a t i n g A d m i s s i o n P o l i c y S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y . M u t a t i n g A d m i s s i o n P o l i c y S p e c   i s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   a d m i s s i o n   p o l i c y . s p e c . f a i l u r e P o l i c y   ( s t r i n g ) f a i l u r e P o l i c y   d e f i n e s   h o w   t o   h a n d l e   f a i l u r e s   f o r   t h e   a d m i s s i o n   p o l i c y .   F a i l u r e s   c a n   o c c u r   f r o m   C E L   e x p r e s s i o n   p a r s e   e r r o r s ,   t y p e   c h e c k   e r r o r s ,   r u n t i m e   e r r o r s   a n d   i n v a l i d   o r   m i s - c o n f i g u r e d   p o l i c y   d e f i n i t i o n s   o r   b i n d i n g s . A   p o l i c y   i s   i n v a l i d   i f   p a r a m K i n d   r e f e r s   t o   a   n o n - e x i s t e n t   K i n d .   A   b i n d i n g   i s   i n v a l i d   i f   p a r a m R e f . n a m e   r e f e r s   t o   a   n o n - e x i s t e n t   r e s o u r c e . f a i l u r e P o l i c y   d o e s   n o t   d e f i n e   h o w   v a l i d a t i o n s   t h a t   e v a l u ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21480"
  },
  {
    "question": "What is MutatingAdmissionPolicyBinding?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   b i n d s   t h e   M u t a t i n g A d m i s s i o n P o l i c y   w i t h   p a r a m e t r i z e d   r e s o u r c e s .   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   a n d   t h e   o p t i o n a l   p a r a m e t e r   r e s o u r c e   t o g e t h e r   d e f i n e   h o w   c l u s t e r   a d m i n i s t r a t o r s   c o n f i g u r e   p o l i c i e s   f o r   c l u s t e r s .   F o r   a   g i v e n   a d m i s s i o n   r e q u e s t ,   e a c h   b i n d i n g   w i l l   c a u s e   i t s   p o l i c y   t o   b e   e v a l u a t e d   N   t i m e s ,   w h e r e   N   i s   1   f o r   p o l i c i e s / b i n d i n g s   t h a t   d o n ' t   u s e   p a r a m s ,   o t h e r w i s e   N   i s   t h e   n u m b e r   o f   p a r a m e t e r s   s e l e c t e d   b y   t h e   b i n d i n g .   E a c h   e v a l u a t i o n   i s   c o n s t r a i n e d   b y   a   r u n t i m e   c o s t   b u d g e t .   A d d i n g / r e m o v i n g   p o l i c i e s ,   b i n d i n g s ,   o r   p a r a m s   c a n   n o t   a f f e c t   w h e t h e r   a   g i v e n   ( p o l i c y ,   b i n d i n g ,   p a r a m )   c o m b i n a t i o n   i s   w i t h i n   i t s   o w n   C E L   b u d g e t .   a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21481"
  },
  {
    "question": "What is MutatingAdmissionPolicyList?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y L i s t   i s   a   l i s t   o f   M u t a t i n g A d m i s s i o n P o l i c y .   i t e m s   ( [ ] M u t a t i n g A d m i s s i o n P o l i c y ) ,   r e q u i r e d L i s t   o f   V a l i d a t i n g A d m i s s i o n P o l i c y . a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] M u t a t i n g A d m i s s i o n P o l i c y ) ,   r e q u i r e d   L i s t   o f   V a l i d a t i n g A d m i s s i o n P o l i c y .   a p i V e r s i o n   ( s t r i n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21482"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21483"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21484"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21485"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21486"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21487"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21488"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21489"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   M u t a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   M u t a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21490"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y ) :   O K   2 0 1   ( M u t a t i n g A d m i s s i o n P o l i c y ) :   C r e a t e d   2 0 2   ( M u t a t i n g A d m i s s i o n P o l i c y ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21491"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21492"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y b o d y :   M u t a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y   b o d y :   M u t a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21493"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y ) :   O K   2 0 1   ( M u t a t i n g A d m i s s i o n P o l i c y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21494"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21495"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21496"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y ) :   O K   2 0 1   ( M u t a t i n g A d m i s s i o n P o l i c y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21497"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21498"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21499"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21500"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21501"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21502"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21503"
  },
  {
    "question": "What is 6.10 - MutatingAdmissionPolicyBinding v1alpha1?",
    "answer": "a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1   i m p o r t   \" k 8 s . i o / a p i / a d m i s s i o n r e g i s t r a t i o n / v 1 a l p h a 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21504"
  },
  {
    "question": "What is MutatingAdmissionPolicyBinding?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   b i n d s   t h e   M u t a t i n g A d m i s s i o n P o l i c y   w i t h   p a r a m e t r i z e d   r e s o u r c e s .   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   a n d   t h e   o p t i o n a l   p a r a m e t e r   r e s o u r c e   t o g e t h e r   d e f i n e   h o w   c l u s t e r   a d m i n i s t r a t o r s   c o n f i g u r e   p o l i c i e s   f o r   c l u s t e r s .   F o r   a   g i v e n   a d m i s s i o n   r e q u e s t ,   e a c h   b i n d i n g   w i l l   c a u s e   i t s   p o l i c y   t o   b e   e v a l u a t e d   N   t i m e s ,   w h e r e   N   i s   1   f o r   p o l i c i e s / b i n d i n g s   t h a t   d o n ' t   u s e   p a r a m s ,   o t h e r w i s e   N   i s   t h e   n u m b e r   o f   p a r a m e t e r s   s e l e c t e d   b y   t h e   b i n d i n g .   E a c h   e v a l u a t i o n   i s   c o n s t r a i n e d   b y   a   r u n t i m e   c o s t   b u d g e t .   A d d i n g / r e m o v i n g   p o l i c i e s ,   b i n d i n g s ,   o r   p a r a m s   c a n   n o t   a f f e c t   w h e t h e r   a   g i v e n   ( p o l i c y ,   b i n d i n g ,   p a r a m )   c o m b i n a t i o n   i s   w i t h i n   i t s   o w n   C E L   b u d g e t .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 k i n d :   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a . s p e c   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21505"
  },
  {
    "question": "What is MutatingAdmissionPolicy?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y   d e s c r i b e s   t h e   d e f i n i t i o n   o f   a n   a d m i s s i o n   m u t a t i o n   p o l i c y   t h a t   m u t a t e s   t h e   o b j e c t   c o m i n g   i n t o   a d m i s s i o n   c h a i n .   a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a . s p e c   ( M u t a t i n g A d m i s s i o n P o l i c y S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y . M ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21506"
  },
  {
    "question": "What is MutatingAdmissionPolicyBindingList?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g L i s t   i s   a   l i s t   o f   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g .   i t e m s   ( [ ] M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) ,   r e q u i r e d L i s t   o f   P o l i c y B i n d i n g . a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) ,   r e q u i r e d   L i s t   o f   P o l i c y B i n d i n g .   a p i V e r s i o n   ( s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21507"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21508"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21509"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21510"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21511"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21512"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21513"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21514"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21515"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   O K   2 0 1   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   C r e a t e d   2 0 2   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21516"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21517"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g b o d y :   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   b o d y :   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21518"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   O K   2 0 1   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21519"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21520"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21521"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   O K   2 0 1   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21522"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21523"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21524"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21525"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21526"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21527"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21528"
  },
  {
    "question": "What is 7.1 - CustomResourceDefinition?",
    "answer": "a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i e x t e n s i o n s - a p i s e r v e r / p k g / a p i s / a p i e x t e n s i o n s / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21529"
  },
  {
    "question": "What is CustomResourceDefinition?",
    "answer": "C u s t o m R e s o u r c e D e f i n i t i o n   r e p r e s e n t s   a   r e s o u r c e   t h a t   s h o u l d   b e   e x p o s e d   o n   t h e   A P I   s e r v e r .   I t s   n a m e   M U S T   b e   i n   t h e   f o r m a t   < . s p e c . n a m e > . < . s p e c . g r o u p > .   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1 k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( C u s t o m R e s o u r c e D e f i n i t i o n S p e c ) ,   r e q u i r e d s p e c   d e s c r i b e s   h o w   t h e   u s e r   w a n t s   t h e   r e s o u r c e s   t o   a p p e a r s t a t u s   ( C u s t o m R e s o u r c e D e f i n i t i o n S t a t u s ) s t a t u s   i n d i c a t e s   t h e   a c t u a l   s t a t e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( C u s t o m R e s o u r c e D e f i n i t i o n S p e c ) ,   r e q u i r e d   s p e c   d e s c r i b e s   h o w   t h e   u s e r   w a n t s   t h e   r e s o u r c e s   t o   a p p e a r   s t a t u s   ( C u s t o m R e s o u r c e D e f i n i t i o n S t a t u s )   s t a t u s   i n d i c a t e s   t h e   a c t u a l   s t a t e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21530"
  },
  {
    "question": "What is CustomResourceDefinitionSpec?",
    "answer": "C u s t o m R e s o u r c e D e f i n i t i o n S p e c   d e s c r i b e s   h o w   a   u s e r   w a n t s   t h e i r   r e s o u r c e   t o   a p p e a r   g r o u p   ( s t r i n g ) ,   r e q u i r e d g r o u p   i s   t h e   A P I   g r o u p   o f   t h e   d e f i n e d   c u s t o m   r e s o u r c e .   T h e   c u s t o m   r e s o u r c e s   a r e   s e r v e d   u n d e r   / a p i s / \\ < g r o u p > / . . . .   M u s t   m a t c h   t h e   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   ( i n   t h e   f o r m   \\ < n a m e s . p l u r a l > . \\ < g r o u p > ) . n a m e s   ( C u s t o m R e s o u r c e D e f i n i t i o n N a m e s ) ,   r e q u i r e d n a m e s   s p e c i f y   t h e   r e s o u r c e   a n d   k i n d   n a m e s   f o r   t h e   c u s t o m   r e s o u r c e . C u s t o m R e s o u r c e D e f i n i t i o n N a m e s   i n d i c a t e s   t h e   n a m e s   t o   s e r v e   t h i s   C u s t o m R e s o u r c e D e f i n i t i o n n a m e s . k i n d   ( s t r i n g ) ,   r e q u i r e d k i n d   i s   t h e   s e r i a l i z e d   k i n d   o f   t h e   r e s o u r c e .   I t   i s   n o r m a l l y   C a m e l C a s e   a n d   s i n g u l a r .   C u s t o m   r e s o u r c e   i n s t a n c e s   w i l l   u s e   t h i s   v a l u e   a s   t h e   k i n d   a t t r i b u t e   i n   A P I   c a l l s . n a m e s . p l u r a l   ( s t r i n g ) ,   r e q u i r e d p l u r a l   i s   t h e   p l u r a l   n a m e   o f   t h e   r e s o u r c e   t o   s e r v e .   T h e   c u s t o m   r e s o u r c e s   a r e   s e r v e d   u n d e r   / a p i s / \\ < g r o u p > / \\ < v e r s i o n > / . . . / \\ < p l u r a l > .   M u s t   m a t c h   t h e   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   ( i n   t h e   f o r m   \\ < n a m e s . p l u r a l > . \\ < g r o u p > ) .   M u s t   b e   a l l   l o w e r c a s e . n a m e s . c a t e g o r i e s   ( [ ] ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21531"
  },
  {
    "question": "What is JSONSchemaProps?",
    "answer": "J S O N S c h e m a P r o p s   i s   a   J S O N - S c h e m a   f o l l o w i n g   S p e c i f i c a t i o n   D r a f t   4   ( h t t p : / / j s o n - s c h e m a . o r g / ) .   $ r e f   ( s t r i n g ) $ s c h e m a   ( s t r i n g ) a d d i t i o n a l I t e m s   ( J S O N S c h e m a P r o p s O r B o o l ) J S O N S c h e m a P r o p s O r B o o l   r e p r e s e n t s   J S O N S c h e m a P r o p s   o r   a   b o o l e a n   v a l u e .   D e f a u l t s   t o   t r u e   f o r   t h e   b o o l e a n   p r o p e r t y . a d d i t i o n a l P r o p e r t i e s   ( J S O N S c h e m a P r o p s O r B o o l ) J S O N S c h e m a P r o p s O r B o o l   r e p r e s e n t s   J S O N S c h e m a P r o p s   o r   a   b o o l e a n   v a l u e .   D e f a u l t s   t o   t r u e   f o r   t h e   b o o l e a n   p r o p e r t y . a l l O f   ( [ ] J S O N S c h e m a P r o p s ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e a n y O f   ( [ ] J S O N S c h e m a P r o p s ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e d e f a u l t   ( J S O N ) d e f a u l t   i s   a   d e f a u l t   v a l u e   f o r   u n d e f i n e d   o b j e c t   f i e l d s .   D e f a u l t i n g   i s   a   b e t a   f e a t u r e   u n d e r   t h e   C u s t o m R e s o u r c e D e f a u l t i n g   f e a t u r e   g a t e .   D e f a u l t i n g   r e q u i r e s   s p e c . p r e s e r v e U n k n o w n F i e l d s   t o   b e   f a l s e . J S O N   r e p r e s e n t s   a n y   v a l i d   J S O N   v a l u e .   T h e s e   t y p e s   a r e   s u p p o r t e d :   b o o l ,   i n t 6 4 ,   f l o a t 6 4 ,   s t r i n g ,   [ ] i n t e r f a c e { } ,   m a p [ s t r i n g ] i n t e r f a c e { }   a n d   n i l . d e f i n i t i o n s   ( m a p [ s t r i n g ] J S O N S c h e m a P r o p s ) d e p e n d e n c i e s   ( m a p [ s t r i n g ] J S O N S c h e m a P r o p s O r S t r i n g A r r a y ) J S O N ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21532"
  },
  {
    "question": "What is CustomResourceDefinitionStatus?",
    "answer": "C u s t o m R e s o u r c e D e f i n i t i o n S t a t u s   i n d i c a t e s   t h e   s t a t e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   a c c e p t e d N a m e s   ( C u s t o m R e s o u r c e D e f i n i t i o n N a m e s ) a c c e p t e d N a m e s   a r e   t h e   n a m e s   t h a t   a r e   a c t u a l l y   b e i n g   u s e d   t o   s e r v e   d i s c o v e r y .   T h e y   m a y   b e   d i f f e r e n t   t h a n   t h e   n a m e s   i n   s p e c . C u s t o m R e s o u r c e D e f i n i t i o n N a m e s   i n d i c a t e s   t h e   n a m e s   t o   s e r v e   t h i s   C u s t o m R e s o u r c e D e f i n i t i o n a c c e p t e d N a m e s . k i n d   ( s t r i n g ) ,   r e q u i r e d k i n d   i s   t h e   s e r i a l i z e d   k i n d   o f   t h e   r e s o u r c e .   I t   i s   n o r m a l l y   C a m e l C a s e   a n d   s i n g u l a r .   C u s t o m   r e s o u r c e   i n s t a n c e s   w i l l   u s e   t h i s   v a l u e   a s   t h e   k i n d   a t t r i b u t e   i n   A P I   c a l l s . a c c e p t e d N a m e s . p l u r a l   ( s t r i n g ) ,   r e q u i r e d p l u r a l   i s   t h e   p l u r a l   n a m e   o f   t h e   r e s o u r c e   t o   s e r v e .   T h e   c u s t o m   r e s o u r c e s   a r e   s e r v e d   u n d e r   / a p i s / \\ < g r o u p > / \\ < v e r s i o n > / . . . / \\ < p l u r a l > .   M u s t   m a t c h   t h e   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   ( i n   t h e   f o r m   \\ < n a m e s . p l u r a l > . \\ < g r o u p > ) .   M u s t   b e   a l l   l o w e r c a s e . a c c e p t e d N a m e s . c a t e g o r i e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e c a t e g o r i e s   i s   a   l i s t   o f   g r o u p e d   r e s o u r c e s   t h i s   c u s t o m   r e s o u r c e   b e l o n g s   t o   ( e . g .   ' a l l ' ) .   T h i s   i s   p u b l i s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21533"
  },
  {
    "question": "What is CustomResourceDefinitionList?",
    "answer": "C u s t o m R e s o u r c e D e f i n i t i o n L i s t   i s   a   l i s t   o f   C u s t o m R e s o u r c e D e f i n i t i o n   o b j e c t s .   i t e m s   ( [ ] C u s t o m R e s o u r c e D e f i n i t i o n ) ,   r e q u i r e d i t e m s   l i s t   i n d i v i d u a l   C u s t o m R e s o u r c e D e f i n i t i o n   o b j e c t s a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] C u s t o m R e s o u r c e D e f i n i t i o n ) ,   r e q u i r e d   i t e m s   l i s t   i n d i v i d u a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21534"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21535"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21536"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21537"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21538"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21539"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21540"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21541"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21542"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C u s t o m R e s o u r c e D e f i n i t i o n L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21543"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21544"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   C u s t o m R e s o u r c e D e f i n i t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   C u s t o m R e s o u r c e D e f i n i t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21545"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   O K   2 0 1   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   C r e a t e d   2 0 2   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21546"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21547"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n b o d y :   C u s t o m R e s o u r c e D e f i n i t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   b o d y :   C u s t o m R e s o u r c e D e f i n i t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21548"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   O K   2 0 1   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21549"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21550"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n b o d y :   C u s t o m R e s o u r c e D e f i n i t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   b o d y :   C u s t o m R e s o u r c e D e f i n i t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21551"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   O K   2 0 1   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21552"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21553"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21554"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   O K   2 0 1   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21555"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21556"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21557"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   O K   2 0 1   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21558"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21559"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21560"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21561"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21562"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21563"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21564"
  },
  {
    "question": "What is 7.2 - DeviceClass?",
    "answer": "a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / r e s o u r c e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21565"
  },
  {
    "question": "What is DeviceClass?",
    "answer": "D e v i c e C l a s s   i s   a   v e n d o r -   o r   a d m i n - p r o v i d e d   r e s o u r c e   t h a t   c o n t a i n s   d e v i c e   c o n f i g u r a t i o n   a n d   s e l e c t o r s .   I t   c a n   b e   r e f e r e n c e d   i n   t h e   d e v i c e   r e q u e s t s   o f   a   c l a i m   t o   a p p l y   t h e s e   p r e s e t s .   C l u s t e r   s c o p e d .   T h i s   i s   a n   a l p h a   t y p e   a n d   r e q u i r e s   e n a b l i n g   t h e   D y n a m i c R e s o u r c e A l l o c a t i o n   f e a t u r e   g a t e .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 k i n d :   D e v i c e C l a s s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a s p e c   ( D e v i c e C l a s s S p e c ) ,   r e q u i r e d S p e c   d e f i n e s   w h a t   c a n   b e   a l l o c a t e d   a n d   h o w   t o   c o n f i g u r e   i t . T h i s   i s   m u t a b l e .   C o n s u m e r s   h a v e   t o   b e   p r e p a r e d   f o r   c l a s s e s   c h a n g i n g   a t   a n y   t i m e ,   e i t h e r   b e c a u s e   t h e y   g e t   u p d a t e d   o r   r e p l a c e d .   C l a i m   a l l o c a t i o n s   a r e   d o n e   o n c e   b a s e d   o n   w h a t e v e r   w a s   s e t   i n   c l a s s e s   a t   t h e   t i m e   o f   a l l o c a t i o n . C h a n g i n g   t h e   s p e c   a u t o m a t i c a l l y   i n c r e m e n t s   t h e   m e t a d a t a . g e n e r a t i o n   n u m b e r .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   D e v i c e C l a s s   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t   m e t a d a t a   s p e c   ( D e v i c e C l a s s S p e c ) ,   r e q u i r e d   S p e c   d e f i n e s   w h a t   c a n   b e   a l l o c a t e d   a n d   h o w   t o   c o n f i g u r e   i t .   T h i s   i s   m u t a b l e .   C o n s u m e r s   h a v e   t o   b e   p r e p a r e d   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21566"
  },
  {
    "question": "What is DeviceClassSpec?",
    "answer": "D e v i c e C l a s s S p e c   i s   u s e d   i n   a   [ D e v i c e C l a s s ]   t o   d e f i n e   w h a t   c a n   b e   a l l o c a t e d   a n d   h o w   t o   c o n f i g u r e   i t .   c o n f i g   ( [ ] D e v i c e C l a s s C o n f i g u r a t i o n ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e C o n f i g   d e f i n e s   c o n f i g u r a t i o n   p a r a m e t e r s   t h a t   a p p l y   t o   e a c h   d e v i c e   t h a t   i s   c l a i m e d   v i a   t h i s   c l a s s .   S o m e   c l a s s e s   m a y   p o t e n t i a l l y   b e   s a t i s f i e d   b y   m u l t i p l e   d r i v e r s ,   s o   e a c h   i n s t a n c e   o f   a   v e n d o r   c o n f i g u r a t i o n   a p p l i e s   t o   e x a c t l y   o n e   d r i v e r . T h e y   a r e   p a s s e d   t o   t h e   d r i v e r ,   b u t   a r e   n o t   c o n s i d e r e d   w h i l e   a l l o c a t i n g   t h e   c l a i m . D e v i c e C l a s s C o n f i g u r a t i o n   i s   u s e d   i n   D e v i c e C l a s s . c o n f i g . o p a q u e   ( O p a q u e D e v i c e C o n f i g u r a t i o n ) O p a q u e   p r o v i d e s   d r i v e r - s p e c i f i c   c o n f i g u r a t i o n   p a r a m e t e r s . O p a q u e D e v i c e C o n f i g u r a t i o n   c o n t a i n s   c o n f i g u r a t i o n   p a r a m e t e r s   f o r   a   d r i v e r   i n   a   f o r m a t   d e f i n e d   b y   t h e   d r i v e r   v e n d o r . c o n f i g . o p a q u e . d r i v e r   ( s t r i n g ) ,   r e q u i r e d D r i v e r   i s   u s e d   t o   d e t e r m i n e   w h i c h   k u b e l e t   p l u g i n   n e e d s   t o   b e   p a s s e d   t h e s e   c o n f i g u r a t i o n   p a r a m e t e r s . A n   a d m i s s i o n   p o l i c y   p r o v i d e d   b y   t h e   d r i v e r   d e v e l o p e r   c o u l d   u s e   t h i s   t o   d e c i d e   w h e t h e r   i t   n e e d s   t o   v a l i d a t e   t h e m . M ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21567"
  },
  {
    "question": "What is DeviceClassList?",
    "answer": "D e v i c e C l a s s L i s t   i s   a   c o l l e c t i o n   o f   c l a s s e s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 k i n d :   D e v i c e C l a s s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a i t e m s   ( [ ] D e v i c e C l a s s ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   r e s o u r c e   c l a s s e s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   D e v i c e C l a s s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   i t e m s   ( [ ] D e v i c e C l a s s ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   r e s o u r c e   c l a s s e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21568"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21569"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e v i c e C l a s s p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e v i c e C l a s s   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21570"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e C l a s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21571"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21572"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21573"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e C l a s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21574"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21575"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e v i c e C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   D e v i c e C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21576"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e C l a s s ) :   O K   2 0 1   ( D e v i c e C l a s s ) :   C r e a t e d   2 0 2   ( D e v i c e C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21577"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21578"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e v i c e C l a s s b o d y :   D e v i c e C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e v i c e C l a s s   b o d y :   D e v i c e C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21579"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e C l a s s ) :   O K   2 0 1   ( D e v i c e C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21580"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21581"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e v i c e C l a s s b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e v i c e C l a s s   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21582"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e C l a s s ) :   O K   2 0 1   ( D e v i c e C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21583"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21584"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e v i c e C l a s s b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e v i c e C l a s s   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21585"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e C l a s s ) :   O K   2 0 2   ( D e v i c e C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21586"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21587"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21588"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21589"
  },
  {
    "question": "What is 7.3 - MutatingWebhookConfiguration?",
    "answer": "a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a d m i s s i o n r e g i s t r a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21590"
  },
  {
    "question": "What is MutatingWebhookConfiguration?",
    "answer": "M u t a t i n g W e b h o o k C o n f i g u r a t i o n   d e s c r i b e s   t h e   c o n f i g u r a t i o n   o f   a n d   a d m i s s i o n   w e b h o o k   t h a t   a c c e p t   o r   r e j e c t   a n d   m a y   c h a n g e   t h e   o b j e c t .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 k i n d :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a . w e b h o o k s   ( [ ] M u t a t i n g W e b h o o k ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   n a m e M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e W e b h o o k s   i s   a   l i s t   o f   w e b h o o k s   a n d   t h e   a f f e c t e d   r e s o u r c e s   a n d   o p e r a t i o n s . M u t a t i n g W e b h o o k   d e s c r i b e s   a n   a d m i s s i o n   w e b h o o k   a n d   t h e   r e s o u r c e s   a n d   o p e r a t i o n s   i t   a p p l i e s   t o . w e b h o o k s . a d m i s s i o n R e v i e w V e r s i o n s   ( [ ] s t r i n g ) ,   r e q u i r e d A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A d m i s s i o n R e v i e w V e r s i o n s   i s   a n   o r d e r e d   l i s t   o f   p r e f e r r e d   A d m i s s i o n R e v i e w   v e r s i o n s   t h e   W e b h o o k   e x p e c t s .   A P I   s e r v e r   w i l l   t r y   t o   u s e   f i r s t   v e r s i o n   i n   t h e   l i s t   w h i c h   i t   s u p p o r t s .   I f   n o n e   o f   t h e   v e r s i o n s   s p e c i f i e d   i n   t h i s   l i s t   s u p p o r t e d   b y   A P I   s e r v e r ,   v a l i d a t i o n   w i l l   f ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21591"
  },
  {
    "question": "What is MutatingWebhookConfigurationList?",
    "answer": "M u t a t i n g W e b h o o k C o n f i g u r a t i o n L i s t   i s   a   l i s t   o f   M u t a t i n g W e b h o o k C o n f i g u r a t i o n .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 k i n d :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) ,   r e q u i r e d L i s t   o f   M u t a t i n g W e b h o o k C o n f i g u r a t i o n .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) ,   r e q u i r e d   L i s t   o f   M u t a t i n g W e b h o o k C o n f i g u r a t i o n .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21592"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21593"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21594"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21595"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21596"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21597"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21598"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21599"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21600"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) :   O K   2 0 1   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) :   C r e a t e d   2 0 2   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21601"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21602"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n b o d y :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   b o d y :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21603"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) :   O K   2 0 1   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21604"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21605"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21606"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) :   O K   2 0 1   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21607"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21608"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21609"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21610"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21611"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21612"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21613"
  },
  {
    "question": "What is 7.4 - ValidatingWebhookConfiguration?",
    "answer": "a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a d m i s s i o n r e g i s t r a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21614"
  },
  {
    "question": "What is ValidatingWebhookConfiguration?",
    "answer": "V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   d e s c r i b e s   t h e   c o n f i g u r a t i o n   o f   a n d   a d m i s s i o n   w e b h o o k   t h a t   a c c e p t   o r   r e j e c t   a n d   o b j e c t   w i t h o u t   c h a n g i n g   i t .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 k i n d :   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a . w e b h o o k s   ( [ ] V a l i d a t i n g W e b h o o k ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   n a m e M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e W e b h o o k s   i s   a   l i s t   o f   w e b h o o k s   a n d   t h e   a f f e c t e d   r e s o u r c e s   a n d   o p e r a t i o n s . V a l i d a t i n g W e b h o o k   d e s c r i b e s   a n   a d m i s s i o n   w e b h o o k   a n d   t h e   r e s o u r c e s   a n d   o p e r a t i o n s   i t   a p p l i e s   t o . w e b h o o k s . a d m i s s i o n R e v i e w V e r s i o n s   ( [ ] s t r i n g ) ,   r e q u i r e d A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A d m i s s i o n R e v i e w V e r s i o n s   i s   a n   o r d e r e d   l i s t   o f   p r e f e r r e d   A d m i s s i o n R e v i e w   v e r s i o n s   t h e   W e b h o o k   e x p e c t s .   A P I   s e r v e r   w i l l   t r y   t o   u s e   f i r s t   v e r s i o n   i n   t h e   l i s t   w h i c h   i t   s u p p o r t s .   I f   n o n e   o f   t h e   v e r s i o n s   s p e c i f i e d   i n   t h i s   l i s t   s u p p o r t e d   b y   A P I   s e r v e r ,   v a l i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21615"
  },
  {
    "question": "What is ValidatingWebhookConfigurationList?",
    "answer": "V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n L i s t   i s   a   l i s t   o f   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n .   i t e m s   ( [ ] V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) ,   r e q u i r e d L i s t   o f   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n . a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) ,   r e q u i r e d   L i s t   o f   V a l i d a t i n g W ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21616"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21617"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21618"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21619"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21620"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21621"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21622"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21623"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21624"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) :   O K   2 0 1   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) :   C r e a t e d   2 0 2   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21625"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21626"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n b o d y :   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   b o d y :   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21627"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) :   O K   2 0 1   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21628"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21629"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21630"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) :   O K   2 0 1   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21631"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21632"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21633"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21634"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21635"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21636"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21637"
  },
  {
    "question": "What is 8.1 - APIService?",
    "answer": "a p i V e r s i o n :   a p i r e g i s t r a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / k u b e - a g g r e g a t o r / p k g / a p i s / a p i r e g i s t r a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21638"
  },
  {
    "question": "What is APIService?",
    "answer": "A P I S e r v i c e   r e p r e s e n t s   a   s e r v e r   f o r   a   p a r t i c u l a r   G r o u p V e r s i o n .   N a m e   m u s t   b e   \" v e r s i o n . g r o u p \" .   a p i V e r s i o n :   a p i r e g i s t r a t i o n . k 8 s . i o / v 1 k i n d :   A P I S e r v i c e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( A P I S e r v i c e S p e c ) S p e c   c o n t a i n s   i n f o r m a t i o n   f o r   l o c a t i n g   a n d   c o m m u n i c a t i n g   w i t h   a   s e r v e r s t a t u s   ( A P I S e r v i c e S t a t u s ) S t a t u s   c o n t a i n s   d e r i v e d   i n f o r m a t i o n   a b o u t   a n   A P I   s e r v e r   a p i V e r s i o n :   a p i r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   A P I S e r v i c e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( A P I S e r v i c e S p e c )   S p e c   c o n t a i n s   i n f o r m a t i o n   f o r   l o c a t i n g   a n d   c o m m u n i c a t i n g   w i t h   a   s e r v e r   s t a t u s   ( A P I S e r v i c e S t a t u s )   S t a t u s   c o n t a i n s   d e r i v e d   i n f o r m a t i o n   a b o u t   a n   A P I   s e r v e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21639"
  },
  {
    "question": "What is APIServiceSpec?",
    "answer": "A P I S e r v i c e S p e c   c o n t a i n s   i n f o r m a t i o n   f o r   l o c a t i n g   a n d   c o m m u n i c a t i n g   w i t h   a   s e r v e r .   O n l y   h t t p s   i s   s u p p o r t e d ,   t h o u g h   y o u   a r e   a b l e   t o   d i s a b l e   c e r t i f i c a t e   v e r i f i c a t i o n .   g r o u p P r i o r i t y M i n i m u m   ( i n t 3 2 ) ,   r e q u i r e d G r o u p P r i o r i t y M i n i m u m   i s   t h e   p r i o r i t y   t h i s   g r o u p   s h o u l d   h a v e   a t   l e a s t .   H i g h e r   p r i o r i t y   m e a n s   t h a t   t h e   g r o u p   i s   p r e f e r r e d   b y   c l i e n t s   o v e r   l o w e r   p r i o r i t y   o n e s .   N o t e   t h a t   o t h e r   v e r s i o n s   o f   t h i s   g r o u p   m i g h t   s p e c i f y   e v e n   h i g h e r   G r o u p P r i o r i t y M i n i m u m   v a l u e s   s u c h   t h a t   t h e   w h o l e   g r o u p   g e t s   a   h i g h e r   p r i o r i t y .   T h e   p r i m a r y   s o r t   i s   b a s e d   o n   G r o u p P r i o r i t y M i n i m u m ,   o r d e r e d   h i g h e s t   n u m b e r   t o   l o w e s t   ( 2 0   b e f o r e   1 0 ) .   T h e   s e c o n d a r y   s o r t   i s   b a s e d   o n   t h e   a l p h a b e t i c a l   c o m p a r i s o n   o f   t h e   n a m e   o f   t h e   o b j e c t .   ( v 1 . b a r   b e f o r e   v 1 . f o o )   W e ' d   r e c o m m e n d   s o m e t h i n g   l i k e :   * . k 8 s . i o   ( e x c e p t   e x t e n s i o n s )   a t   1 8 0 0 0   a n d   P a a S e s   ( O p e n S h i f t ,   D e i s )   a r e   r e c o m m e n d e d   t o   b e   i n   t h e   2 0 0 0 s v e r s i o n P r i o r i t y   ( i n t 3 2 ) ,   r e q u i r e d V e r s i o n P r i o r i t y   c o n t r o l s   t h e   o r d e r i n g   o f   t h i s   A P I   v e r s i o n   i n s i d e   o f   i t s   g r o u p .   M u s t   b e   g r e a t e r   t h a n   z e r o .   T h e   p r i m a r y   s o r t   i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21640"
  },
  {
    "question": "What is APIServiceStatus?",
    "answer": "A P I S e r v i c e S t a t u s   c o n t a i n s   d e r i v e d   i n f o r m a t i o n   a b o u t   a n   A P I   s e r v e r   c o n d i t i o n s   ( [ ] A P I S e r v i c e C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e C u r r e n t   s e r v i c e   s t a t e   o f   a p i S e r v i c e . A P I S e r v i c e C o n d i t i o n   d e s c r i b e s   t h e   s t a t e   o f   a n   A P I S e r v i c e   a t   a   p a r t i c u l a r   p o i n t c o n d i t i o n s . s t a t u s   ( s t r i n g ) ,   r e q u i r e d S t a t u s   i s   t h e   s t a t u s   o f   t h e   c o n d i t i o n .   C a n   b e   T r u e ,   F a l s e ,   U n k n o w n . c o n d i t i o n s . t y p e   ( s t r i n g ) ,   r e q u i r e d T y p e   i s   t h e   t y p e   o f   t h e   c o n d i t i o n . c o n d i t i o n s . l a s t T r a n s i t i o n T i m e   ( T i m e ) L a s t   t i m e   t h e   c o n d i t i o n   t r a n s i t i o n e d   f r o m   o n e   s t a t u s   t o   a n o t h e r . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c o n d i t i o n s . m e s s a g e   ( s t r i n g ) H u m a n - r e a d a b l e   m e s s a g e   i n d i c a t i n g   d e t a i l s   a b o u t   l a s t   t r a n s i t i o n . c o n d i t i o n s . r e a s o n   ( s t r i n g ) U n i q u e ,   o n e - w o r d ,   C a m e l C a s e   r e a s o n   f o r   t h e   c o n d i t i o n ' s   l a s t   t r a n s i t i o n .   c o n d i t i o n s   ( [ ] A P I S e r v i c e C o n d i t i o n )   P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21641"
  },
  {
    "question": "What is APIServiceList?",
    "answer": "A P I S e r v i c e L i s t   i s   a   l i s t   o f   A P I S e r v i c e   o b j e c t s .   a p i V e r s i o n :   a p i r e g i s t r a t i o n . k 8 s . i o / v 1 k i n d :   A P I S e r v i c e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] A P I S e r v i c e ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   A P I S e r v i c e   a p i V e r s i o n :   a p i r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   A P I S e r v i c e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] A P I S e r v i c e ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   A P I S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21642"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21643"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   A P I S e r v i c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   A P I S e r v i c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21644"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( A P I S e r v i c e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21645"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21646"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   A P I S e r v i c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   A P I S e r v i c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21647"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( A P I S e r v i c e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21648"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21649"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21650"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( A P I S e r v i c e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21651"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21652"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   A P I S e r v i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   A P I S e r v i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21653"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( A P I S e r v i c e ) :   O K   2 0 1   ( A P I S e r v i c e ) :   C r e a t e d   2 0 2   ( A P I S e r v i c e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21654"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21655"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   A P I S e r v i c e b o d y :   A P I S e r v i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   A P I S e r v i c e   b o d y :   A P I S e r v i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21656"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( A P I S e r v i c e ) :   O K   2 0 1   ( A P I S e r v i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21657"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21658"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   A P I S e r v i c e b o d y :   A P I S e r v i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   A P I S e r v i c e   b o d y :   A P I S e r v i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21659"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( A P I S e r v i c e ) :   O K   2 0 1   ( A P I S e r v i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21660"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21661"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   A P I S e r v i c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   A P I S e r v i c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21662"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( A P I S e r v i c e ) :   O K   2 0 1   ( A P I S e r v i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21663"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21664"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   A P I S e r v i c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   A P I S e r v i c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21665"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( A P I S e r v i c e ) :   O K   2 0 1   ( A P I S e r v i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21666"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21667"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   A P I S e r v i c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   A P I S e r v i c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21668"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21669"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21670"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21671"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21672"
  },
  {
    "question": "What is 8.2 - ComponentStatus?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21673"
  },
  {
    "question": "What is ComponentStatus?",
    "answer": "C o m p o n e n t S t a t u s   ( a n d   C o m p o n e n t S t a t u s L i s t )   h o l d s   t h e   c l u s t e r   v a l i d a t i o n   i n f o .   D e p r e c a t e d :   T h i s   A P I   i s   d e p r e c a t e d   i n   v 1 . 1 9 +   a p i V e r s i o n :   v 1 k i n d :   C o m p o n e n t S t a t u s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a c o n d i t i o n s   ( [ ] C o m p o n e n t C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e L i s t   o f   c o m p o n e n t   c o n d i t i o n s   o b s e r v e d I n f o r m a t i o n   a b o u t   t h e   c o n d i t i o n   o f   a   c o m p o n e n t . c o n d i t i o n s . s t a t u s   ( s t r i n g ) ,   r e q u i r e d S t a t u s   o f   t h e   c o n d i t i o n   f o r   a   c o m p o n e n t .   V a l i d   v a l u e s   f o r   \" H e a l t h y \" :   \" T r u e \" ,   \" F a l s e \" ,   o r   \" U n k n o w n \" . c o n d i t i o n s . t y p e   ( s t r i n g ) ,   r e q u i r e d T y p e   o f   c o n d i t i o n   f o r   a   c o m p o n e n t .   V a l i d   v a l u e :   \" H e a l t h y \" c o n d i t i o n s . e r r o r   ( s t r i n g ) C o n d i t i o n   e r r o r   c o d e   f o r   a   c o m p o n e n t .   F o r   e x a m p l e ,   a   h e a l t h   c h e c k   e r r o r   c o d e . c o n d i t i o n s . m e s s a g e   ( s t r i n g ) M e s s a g e   a b o u t   t h e   c o n d i t i o n   f o r   a   c o m p o n e n t .   F o r   e x a m p l e ,   i n f o r m a t i o n   a b o u t   a   h e a l t h   c h e c k .   a p i V e r s i o n :   v 1   k i n d :   C o m p o n e n t S t a t u s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21674"
  },
  {
    "question": "What is ComponentStatusList?",
    "answer": "S t a t u s   o f   a l l   t h e   c o n d i t i o n s   f o r   t h e   c o m p o n e n t   a s   a   l i s t   o f   C o m p o n e n t S t a t u s   o b j e c t s .   D e p r e c a t e d :   T h i s   A P I   i s   d e p r e c a t e d   i n   v 1 . 1 9 +   a p i V e r s i o n :   v 1 k i n d :   C o m p o n e n t S t a t u s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] C o m p o n e n t S t a t u s ) ,   r e q u i r e d L i s t   o f   C o m p o n e n t S t a t u s   o b j e c t s .   a p i V e r s i o n :   v 1   k i n d :   C o m p o n e n t S t a t u s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] C o m p o n e n t S t a t u s ) ,   r e q u i r e d   L i s t   o f   C o m p o n e n t S t a t u s   o b j e c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21675"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / c o m p o n e n t s t a t u s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21676"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o m p o n e n t S t a t u s p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o m p o n e n t S t a t u s   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21677"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o m p o n e n t S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21678"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / c o m p o n e n t s t a t u s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21679"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21680"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o m p o n e n t S t a t u s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21681"
  },
  {
    "question": "What is 8.3 - Event?",
    "answer": "a p i V e r s i o n :   e v e n t s . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / e v e n t s / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21682"
  },
  {
    "question": "What is Event?",
    "answer": "E v e n t   i s   a   r e p o r t   o f   a n   e v e n t   s o m e w h e r e   i n   t h e   c l u s t e r .   I t   g e n e r a l l y   d e n o t e s   s o m e   s t a t e   c h a n g e   i n   t h e   s y s t e m .   E v e n t s   h a v e   a   l i m i t e d   r e t e n t i o n   t i m e   a n d   t r i g g e r s   a n d   m e s s a g e s   m a y   e v o l v e   w i t h   t i m e .   E v e n t   c o n s u m e r s   s h o u l d   n o t   r e l y   o n   t h e   t i m i n g   o f   a n   e v e n t   w i t h   a   g i v e n   R e a s o n   r e f l e c t i n g   a   c o n s i s t e n t   u n d e r l y i n g   t r i g g e r ,   o r   t h e   c o n t i n u e d   e x i s t e n c e   o f   e v e n t s   w i t h   t h a t   R e a s o n .   E v e n t s   s h o u l d   b e   t r e a t e d   a s   i n f o r m a t i v e ,   b e s t - e f f o r t ,   s u p p l e m e n t a l   d a t a .   a p i V e r s i o n :   e v e n t s . k 8 s . i o / v 1 k i n d :   E v e n t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a e v e n t T i m e   ( M i c r o T i m e ) ,   r e q u i r e d e v e n t T i m e   i s   t h e   t i m e   w h e n   t h i s   E v e n t   w a s   f i r s t   o b s e r v e d .   I t   i s   r e q u i r e d . M i c r o T i m e   i s   v e r s i o n   o f   T i m e   w i t h   m i c r o s e c o n d   l e v e l   p r e c i s i o n . a c t i o n   ( s t r i n g ) a c t i o n   i s   w h a t   a c t i o n   w a s   t a k e n / f a i l e d   r e g a r d i n g   t o   t h e   r e g a r d i n g   o b j e c t .   I t   i s   m a c h i n e - r e a d a b l e .   T h i s   f i e l d   c a n n o t   b e   e m p t y   f o r   n e w   E v e n t s   a n d   i t   c a n   h a v e   a t   m o s t   1 2 8   c h a r a c t e r s . d e p r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21683"
  },
  {
    "question": "What is EventList?",
    "answer": "E v e n t L i s t   i s   a   l i s t   o f   E v e n t   o b j e c t s .   a p i V e r s i o n :   e v e n t s . k 8 s . i o / v 1 k i n d :   E v e n t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] E v e n t ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .   a p i V e r s i o n :   e v e n t s . k 8 s . i o / v 1   k i n d :   E v e n t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] E v e n t ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21684"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21685"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E v e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E v e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21686"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E v e n t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21687"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21688"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21689"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E v e n t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21690"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / e v e n t s . k 8 s . i o / v 1 / e v e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21691"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21692"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E v e n t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21693"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21694"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   E v e n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   E v e n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21695"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E v e n t ) :   O K   2 0 1   ( E v e n t ) :   C r e a t e d   2 0 2   ( E v e n t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21696"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21697"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E v e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   E v e n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E v e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   E v e n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21698"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E v e n t ) :   O K   2 0 1   ( E v e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21699"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21700"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E v e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E v e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21701"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E v e n t ) :   O K   2 0 1   ( E v e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21702"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21703"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E v e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E v e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21704"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21705"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21706"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21707"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21708"
  },
  {
    "question": "What is 8.4 - IPAddress?",
    "answer": "a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / n e t w o r k i n g / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21709"
  },
  {
    "question": "What is IPAddress?",
    "answer": "I P A d d r e s s   r e p r e s e n t s   a   s i n g l e   I P   o f   a   s i n g l e   I P   F a m i l y .   T h e   o b j e c t   i s   d e s i g n e d   t o   b e   u s e d   b y   A P I s   t h a t   o p e r a t e   o n   I P   a d d r e s s e s .   T h e   o b j e c t   i s   u s e d   b y   t h e   S e r v i c e   c o r e   A P I   f o r   a l l o c a t i o n   o f   I P   a d d r e s s e s .   A n   I P   a d d r e s s   c a n   b e   r e p r e s e n t e d   i n   d i f f e r e n t   f o r m a t s ,   t o   g u a r a n t e e   t h e   u n i q u e n e s s   o f   t h e   I P ,   t h e   n a m e   o f   t h e   o b j e c t   i s   t h e   I P   a d d r e s s   i n   c a n o n i c a l   f o r m a t ,   f o u r   d e c i m a l   d i g i t s   s e p a r a t e d   b y   d o t s   s u p p r e s s i n g   l e a d i n g   z e r o s   f o r   I P v 4   a n d   t h e   r e p r e s e n t a t i o n   d e f i n e d   b y   R F C   5 9 5 2   f o r   I P v 6 .   V a l i d :   1 9 2 . 1 6 8 . 1 . 5   o r   2 0 0 1 : d b 8 : : 1   o r   2 0 0 1 : d b 8 : a a a a : b b b b : c c c c : d d d d : e e e e : 1   I n v a l i d :   1 0 . 0 1 . 2 . 3   o r   2 0 0 1 : d b 8 : 0 : 0 : 0 : : 1   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   I P A d d r e s s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( I P A d d r e s s S p e c ) s p e c   i s   t h e   d e s i r e d   s t a t e   o f   t h e   I P A d d r e s s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21710"
  },
  {
    "question": "What is IPAddressSpec?",
    "answer": "I P A d d r e s s S p e c   d e s c r i b e   t h e   a t t r i b u t e s   i n   a n   I P   A d d r e s s .   p a r e n t R e f   ( P a r e n t R e f e r e n c e ) ,   r e q u i r e d P a r e n t R e f   r e f e r e n c e s   t h e   r e s o u r c e   t h a t   a n   I P A d d r e s s   i s   a t t a c h e d   t o .   A n   I P A d d r e s s   m u s t   r e f e r e n c e   a   p a r e n t   o b j e c t . P a r e n t R e f e r e n c e   d e s c r i b e s   a   r e f e r e n c e   t o   a   p a r e n t   o b j e c t . p a r e n t R e f . n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   i s   t h e   n a m e   o f   t h e   o b j e c t   b e i n g   r e f e r e n c e d . p a r e n t R e f . r e s o u r c e   ( s t r i n g ) ,   r e q u i r e d R e s o u r c e   i s   t h e   r e s o u r c e   o f   t h e   o b j e c t   b e i n g   r e f e r e n c e d . p a r e n t R e f . g r o u p   ( s t r i n g ) G r o u p   i s   t h e   g r o u p   o f   t h e   o b j e c t   b e i n g   r e f e r e n c e d . p a r e n t R e f . n a m e s p a c e   ( s t r i n g ) N a m e s p a c e   i s   t h e   n a m e s p a c e   o f   t h e   o b j e c t   b e i n g   r e f e r e n c e d .   p a r e n t R e f   ( P a r e n t R e f e r e n c e ) ,   r e q u i r e d   P a r e n t R e f   r e f e r e n c e s   t h e   r e s o u r c e   t h a t   a n   I P A d d r e s s   i s   a t t a c h e d   t o .   A n   I P A d d r e s s   m u s t   r e f e r e n c e   a   p a r e n t   o b j e c t .   P a r e n t R e f e r e n c e   d e s c r i b e s   a   r e f e r e n c e   t o   a   p a r e n t   o b j e c t .   p a r e n t R e f . n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   i s   t h e   n a m e   o f   t h e   o b j e c t   b e i n g   r e f e r e n c e d . p a r e n t R e f . r e s o u r c e   ( s t r i n g ) ,   r e q u i r e d R e s o u r c e   i s   t h e   r e s o u r c e   o f   t h e   o b j e c t   b e i n g   r e f e r e n c e d . p a r e n t R e f . g r o u p   ( s t r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21711"
  },
  {
    "question": "What is IPAddressList?",
    "answer": "I P A d d r e s s L i s t   c o n t a i n s   a   l i s t   o f   I P A d d r e s s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   I P A d d r e s s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] I P A d d r e s s ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   I P A d d r e s s e s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I P A d d r e s s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] I P A d d r e s s ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   I P A d d r e s s e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21712"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21713"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I P A d d r e s s p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I P A d d r e s s   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21714"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I P A d d r e s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21715"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21716"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21717"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I P A d d r e s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21718"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21719"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   I P A d d r e s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   I P A d d r e s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21720"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I P A d d r e s s ) :   O K   2 0 1   ( I P A d d r e s s ) :   C r e a t e d   2 0 2   ( I P A d d r e s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21721"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21722"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I P A d d r e s s b o d y :   I P A d d r e s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I P A d d r e s s   b o d y :   I P A d d r e s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21723"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I P A d d r e s s ) :   O K   2 0 1   ( I P A d d r e s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21724"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21725"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I P A d d r e s s b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I P A d d r e s s   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21726"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I P A d d r e s s ) :   O K   2 0 1   ( I P A d d r e s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21727"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21728"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I P A d d r e s s b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I P A d d r e s s   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21729"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21730"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21731"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21732"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21733"
  },
  {
    "question": "What is 8.5 - Lease?",
    "answer": "a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / c o o r d i n a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21734"
  },
  {
    "question": "What is Lease?",
    "answer": "L e a s e   d e f i n e s   a   l e a s e   c o n c e p t .   a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1 k i n d :   L e a s e m e t a d a t a   ( O b j e c t M e t a ) M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( L e a s e S p e c ) s p e c   c o n t a i n s   t h e   s p e c i f i c a t i o n   o f   t h e   L e a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1   k i n d :   L e a s e   m e t a d a t a   ( O b j e c t M e t a )   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( L e a s e S p e c )   s p e c   c o n t a i n s   t h e   s p e c i f i c a t i o n   o f   t h e   L e a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21735"
  },
  {
    "question": "What is LeaseSpec?",
    "answer": "L e a s e S p e c   i s   a   s p e c i f i c a t i o n   o f   a   L e a s e .   a c q u i r e T i m e   ( M i c r o T i m e ) a c q u i r e T i m e   i s   a   t i m e   w h e n   t h e   c u r r e n t   l e a s e   w a s   a c q u i r e d . M i c r o T i m e   i s   v e r s i o n   o f   T i m e   w i t h   m i c r o s e c o n d   l e v e l   p r e c i s i o n . h o l d e r I d e n t i t y   ( s t r i n g ) h o l d e r I d e n t i t y   c o n t a i n s   t h e   i d e n t i t y   o f   t h e   h o l d e r   o f   a   c u r r e n t   l e a s e .   I f   C o o r d i n a t e d   L e a d e r   E l e c t i o n   i s   u s e d ,   t h e   h o l d e r   i d e n t i t y   m u s t   b e   e q u a l   t o   t h e   e l e c t e d   L e a s e C a n d i d a t e . m e t a d a t a . n a m e   f i e l d . l e a s e D u r a t i o n S e c o n d s   ( i n t 3 2 ) l e a s e D u r a t i o n S e c o n d s   i s   a   d u r a t i o n   t h a t   c a n d i d a t e s   f o r   a   l e a s e   n e e d   t o   w a i t   t o   f o r c e   a c q u i r e   i t .   T h i s   i s   m e a s u r e d   a g a i n s t   t h e   t i m e   o f   l a s t   o b s e r v e d   r e n e w T i m e . l e a s e T r a n s i t i o n s   ( i n t 3 2 ) l e a s e T r a n s i t i o n s   i s   t h e   n u m b e r   o f   t r a n s i t i o n s   o f   a   l e a s e   b e t w e e n   h o l d e r s . p r e f e r r e d H o l d e r   ( s t r i n g ) P r e f e r r e d H o l d e r   s i g n a l s   t o   a   l e a s e   h o l d e r   t h a t   t h e   l e a s e   h a s   a   m o r e   o p t i m a l   h o l d e r   a n d   s h o u l d   b e   g i v e n   u p .   T h i s   f i e l d   c a n   o n l y   b e   s e t   i f   S t r a t e g y   i s   a l s o   s e t . r e n e w T i m e   ( M i c r o T i m e ) r e n e w T i m e   i s   a   t i m e   w h e n   t h e   c u r r e n t   h o l d e r   o f   a   l e a s e   h a s   l a s t   u p d a t e d   t h e   l e a s e . M i c r o T i m e   i s   v e r s i o n   o f   T i m e   w ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21736"
  },
  {
    "question": "What is LeaseList?",
    "answer": "L e a s e L i s t   i s   a   l i s t   o f   L e a s e   o b j e c t s .   a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1 k i n d :   L e a s e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] L e a s e ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .   a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1   k i n d :   L e a s e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] L e a s e ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21737"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21738"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L e a s e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L e a s e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21739"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21740"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21741"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21742"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21743"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / l e a s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21744"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21745"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21746"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21747"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   L e a s e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   L e a s e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21748"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e ) :   O K   2 0 1   ( L e a s e ) :   C r e a t e d   2 0 2   ( L e a s e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21749"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21750"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L e a s e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   L e a s e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L e a s e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   L e a s e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21751"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e ) :   O K   2 0 1   ( L e a s e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21752"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21753"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L e a s e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L e a s e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21754"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e ) :   O K   2 0 1   ( L e a s e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21755"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21756"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L e a s e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L e a s e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21757"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21758"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21759"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21760"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21761"
  },
  {
    "question": "What is 8.6 - LeaseCandidate v1beta1?",
    "answer": "a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1   i m p o r t   \" k 8 s . i o / a p i / c o o r d i n a t i o n / v 1 b e t a 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21762"
  },
  {
    "question": "What is LeaseCandidate?",
    "answer": "L e a s e C a n d i d a t e   d e f i n e s   a   c a n d i d a t e   f o r   a   L e a s e   o b j e c t .   C a n d i d a t e s   a r e   c r e a t e d   s u c h   t h a t   c o o r d i n a t e d   l e a d e r   e l e c t i o n   w i l l   p i c k   t h e   b e s t   l e a d e r   f r o m   t h e   l i s t   o f   c a n d i d a t e s .   a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 k i n d :   L e a s e C a n d i d a t e m e t a d a t a   ( O b j e c t M e t a ) M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( L e a s e C a n d i d a t e S p e c ) s p e c   c o n t a i n s   t h e   s p e c i f i c a t i o n   o f   t h e   L e a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1   k i n d :   L e a s e C a n d i d a t e   m e t a d a t a   ( O b j e c t M e t a )   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( L e a s e C a n d i d a t e S p e c )   s p e c   c o n t a i n s   t h e   s p e c i f i c a t i o n   o f   t h e   L e a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21763"
  },
  {
    "question": "What is LeaseCandidateSpec?",
    "answer": "L e a s e C a n d i d a t e S p e c   i s   a   s p e c i f i c a t i o n   o f   a   L e a s e .   b i n a r y V e r s i o n   ( s t r i n g ) ,   r e q u i r e d B i n a r y V e r s i o n   i s   t h e   b i n a r y   v e r s i o n .   I t   m u s t   b e   i n   a   s e m v e r   f o r m a t   w i t h o u t   l e a d i n g   v .   T h i s   f i e l d   i s   r e q u i r e d . l e a s e N a m e   ( s t r i n g ) ,   r e q u i r e d L e a s e N a m e   i s   t h e   n a m e   o f   t h e   l e a s e   f o r   w h i c h   t h i s   c a n d i d a t e   i s   c o n t e n d i n g .   T h e   l i m i t s   o n   t h i s   f i e l d   a r e   t h e   s a m e   a s   o n   L e a s e . n a m e .   M u l t i p l e   l e a s e   c a n d i d a t e s   m a y   r e f e r e n c e   t h e   s a m e   L e a s e . n a m e .   T h i s   f i e l d   i s   i m m u t a b l e . s t r a t e g y   ( s t r i n g ) ,   r e q u i r e d S t r a t e g y   i s   t h e   s t r a t e g y   t h a t   c o o r d i n a t e d   l e a d e r   e l e c t i o n   w i l l   u s e   f o r   p i c k i n g   t h e   l e a d e r .   I f   m u l t i p l e   c a n d i d a t e s   f o r   t h e   s a m e   L e a s e   r e t u r n   d i f f e r e n t   s t r a t e g i e s ,   t h e   s t r a t e g y   p r o v i d e d   b y   t h e   c a n d i d a t e   w i t h   t h e   l a t e s t   B i n a r y V e r s i o n   w i l l   b e   u s e d .   I f   t h e r e   i s   s t i l l   c o n f l i c t ,   t h i s   i s   a   u s e r   e r r o r   a n d   c o o r d i n a t e d   l e a d e r   e l e c t i o n   w i l l   n o t   o p e r a t e   t h e   L e a s e   u n t i l   r e s o l v e d . e m u l a t i o n V e r s i o n   ( s t r i n g ) E m u l a t i o n V e r s i o n   i s   t h e   e m u l a t i o n   v e r s i o n .   I t   m u s t   b e   i n   a   s e m v e r   f o r m a t   w i t h o u t   l e a d i n g   v .   E m u l a t i o n V e r s i o n   m u s t   b e   l e s s   t h a n   o r   e q u a l   t o   B i n a r y ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21764"
  },
  {
    "question": "What is LeaseCandidateList?",
    "answer": "L e a s e C a n d i d a t e L i s t   i s   a   l i s t   o f   L e a s e   o b j e c t s .   a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 k i n d :   L e a s e C a n d i d a t e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] L e a s e C a n d i d a t e ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .   a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1   k i n d :   L e a s e C a n d i d a t e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] L e a s e C a n d i d a t e ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21765"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21766"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L e a s e C a n d i d a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L e a s e C a n d i d a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21767"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e C a n d i d a t e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21768"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21769"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21770"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e C a n d i d a t e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21771"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / l e a s e c a n d i d a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21772"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21773"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e C a n d i d a t e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21774"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21775"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   L e a s e C a n d i d a t e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   L e a s e C a n d i d a t e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21776"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e C a n d i d a t e ) :   O K   2 0 1   ( L e a s e C a n d i d a t e ) :   C r e a t e d   2 0 2   ( L e a s e C a n d i d a t e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21777"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21778"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L e a s e C a n d i d a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   L e a s e C a n d i d a t e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L e a s e C a n d i d a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   L e a s e C a n d i d a t e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21779"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e C a n d i d a t e ) :   O K   2 0 1   ( L e a s e C a n d i d a t e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21780"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21781"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L e a s e C a n d i d a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L e a s e C a n d i d a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21782"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e C a n d i d a t e ) :   O K   2 0 1   ( L e a s e C a n d i d a t e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21783"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21784"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L e a s e C a n d i d a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L e a s e C a n d i d a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21785"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21786"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21787"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21788"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21789"
  },
  {
    "question": "What is 8.7 - Namespace?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21790"
  },
  {
    "question": "What is Namespace?",
    "answer": "N a m e s p a c e   p r o v i d e s   a   s c o p e   f o r   N a m e s .   U s e   o f   m u l t i p l e   n a m e s p a c e s   i s   o p t i o n a l .   a p i V e r s i o n :   v 1 k i n d :   N a m e s p a c e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( N a m e s p a c e S p e c ) S p e c   d e f i n e s   t h e   b e h a v i o r   o f   t h e   N a m e s p a c e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( N a m e s p a c e S t a t u s ) S t a t u s   d e s c r i b e s   t h e   c u r r e n t   s t a t u s   o f   a   N a m e s p a c e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   v 1   k i n d :   N a m e s p a c e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( N a m e s p a c e S p e c )   S p e c   d e f i n e s   t h e   b e h a v i o r   o f   t h e   N a m e s p a c e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   s t a t u s   ( N a m e s p a c e S t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21791"
  },
  {
    "question": "What is NamespaceSpec?",
    "answer": "N a m e s p a c e S p e c   d e s c r i b e s   t h e   a t t r i b u t e s   o n   a   N a m e s p a c e .   f i n a l i z e r s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e F i n a l i z e r s   i s   a n   o p a q u e   l i s t   o f   v a l u e s   t h a t   m u s t   b e   e m p t y   t o   p e r m a n e n t l y   r e m o v e   o b j e c t   f r o m   s t o r a g e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / a d m i n i s t e r - c l u s t e r / n a m e s p a c e s /   f i n a l i z e r s   ( [ ] s t r i n g )   A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e   F i n a l i z e r s   i s   a n   o p a q u e   l i s t   o f   v a l u e s   t h a t   m u s t   b e   e m p t y   t o   p e r m a n e n t l y   r e m o v e   o b j e c t   f r o m   s t o r a g e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / a d m i n i s t e r - c l u s t e r / n a m e s p a c e s /",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21792"
  },
  {
    "question": "What is NamespaceStatus?",
    "answer": "N a m e s p a c e S t a t u s   i s   i n f o r m a t i o n   a b o u t   t h e   c u r r e n t   s t a t u s   o f   a   N a m e s p a c e .   c o n d i t i o n s   ( [ ] N a m e s p a c e C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e R e p r e s e n t s   t h e   l a t e s t   a v a i l a b l e   o b s e r v a t i o n s   o f   a   n a m e s p a c e ' s   c u r r e n t   s t a t e . N a m e s p a c e C o n d i t i o n   c o n t a i n s   d e t a i l s   a b o u t   s t a t e   o f   n a m e s p a c e . c o n d i t i o n s . s t a t u s   ( s t r i n g ) ,   r e q u i r e d S t a t u s   o f   t h e   c o n d i t i o n ,   o n e   o f   T r u e ,   F a l s e ,   U n k n o w n . c o n d i t i o n s . t y p e   ( s t r i n g ) ,   r e q u i r e d T y p e   o f   n a m e s p a c e   c o n t r o l l e r   c o n d i t i o n . c o n d i t i o n s . l a s t T r a n s i t i o n T i m e   ( T i m e ) L a s t   t i m e   t h e   c o n d i t i o n   t r a n s i t i o n e d   f r o m   o n e   s t a t u s   t o   a n o t h e r . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c o n d i t i o n s . m e s s a g e   ( s t r i n g ) H u m a n - r e a d a b l e   m e s s a g e   i n d i c a t i n g   d e t a i l s   a b o u t   l a s t   t r a n s i t i o n . c o n d i t i o n s . r e a s o n   ( s t r i n g ) U n i q u e ,   o n e - w o r d ,   C a m e l C a s e   r e a s o n   f o r   t h e   c o n d i t i o n ' s   l a s t   t r a n s i t i o n . p h a s e   ( s t r i n g ) P h a s e   i s   t h e   c u r r e n t   l i f e c y c l e   p h ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21793"
  },
  {
    "question": "What is NamespaceList?",
    "answer": "N a m e s p a c e L i s t   i s   a   l i s t   o f   N a m e s p a c e s .   a p i V e r s i o n :   v 1 k i n d :   N a m e s p a c e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] N a m e s p a c e ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   N a m e s p a c e   o b j e c t s   i n   t h e   l i s t .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s p a c e s /   a p i V e r s i o n :   v 1   k i n d :   N a m e s p a c e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] N a m e s p a c e ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   N a m e s p a c e   o b j e c t s   i n   t h e   l i s t .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s p a c e s /",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21794"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21795"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21796"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21797"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21798"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21799"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21800"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21801"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21802"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21803"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21804"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   N a m e s p a c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   N a m e s p a c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21805"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e ) :   O K   2 0 1   ( N a m e s p a c e ) :   C r e a t e d   2 0 2   ( N a m e s p a c e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21806"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21807"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N a m e s p a c e b o d y :   N a m e s p a c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N a m e s p a c e   b o d y :   N a m e s p a c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21808"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e ) :   O K   2 0 1   ( N a m e s p a c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21809"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e } / f i n a l i z e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21810"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N a m e s p a c e b o d y :   N a m e s p a c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N a m e s p a c e   b o d y :   N a m e s p a c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21811"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e ) :   O K   2 0 1   ( N a m e s p a c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21812"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21813"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N a m e s p a c e b o d y :   N a m e s p a c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N a m e s p a c e   b o d y :   N a m e s p a c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21814"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e ) :   O K   2 0 1   ( N a m e s p a c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21815"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21816"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21817"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e ) :   O K   2 0 1   ( N a m e s p a c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21818"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21819"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21820"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e ) :   O K   2 0 1   ( N a m e s p a c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21821"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21822"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21823"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21824"
  },
  {
    "question": "What is 8.8 - Node?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21825"
  },
  {
    "question": "What is Node?",
    "answer": "N o d e   i s   a   w o r k e r   n o d e   i n   K u b e r n e t e s .   E a c h   n o d e   w i l l   h a v e   a   u n i q u e   i d e n t i f i e r   i n   t h e   c a c h e   ( i . e .   i n   e t c d ) .   a p i V e r s i o n :   v 1 k i n d :   N o d e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( N o d e S p e c ) S p e c   d e f i n e s   t h e   b e h a v i o r   o f   a   n o d e .   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( N o d e S t a t u s ) M o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   n o d e .   P o p u l a t e d   b y   t h e   s y s t e m .   R e a d - o n l y .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   v 1   k i n d :   N o d e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( N o d e S p e c )   S p e c   d e f i n e s   t h e   b e h a v i o r   o f   a   n o d e .   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   s t a t u s   ( N o d e S t a t u s )   M o s t   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21826"
  },
  {
    "question": "What is NodeSpec?",
    "answer": "N o d e S p e c   d e s c r i b e s   t h e   a t t r i b u t e s   t h a t   a   n o d e   i s   c r e a t e d   w i t h .   c o n f i g S o u r c e   ( N o d e C o n f i g S o u r c e ) D e p r e c a t e d :   P r e v i o u s l y   u s e d   t o   s p e c i f y   t h e   s o u r c e   o f   t h e   n o d e ' s   c o n f i g u r a t i o n   f o r   t h e   D y n a m i c K u b e l e t C o n f i g   f e a t u r e .   T h i s   f e a t u r e   i s   r e m o v e d . N o d e C o n f i g S o u r c e   s p e c i f i e s   a   s o u r c e   o f   n o d e   c o n f i g u r a t i o n .   E x a c t l y   o n e   s u b f i e l d   ( e x c l u d i n g   m e t a d a t a )   m u s t   b e   n o n - n i l .   T h i s   A P I   i s   d e p r e c a t e d   s i n c e   1 . 2 2 c o n f i g S o u r c e . c o n f i g M a p   ( C o n f i g M a p N o d e C o n f i g S o u r c e ) C o n f i g M a p   i s   a   r e f e r e n c e   t o   a   N o d e ' s   C o n f i g M a p C o n f i g M a p N o d e C o n f i g S o u r c e   c o n t a i n s   t h e   i n f o r m a t i o n   t o   r e f e r e n c e   a   C o n f i g M a p   a s   a   c o n f i g   s o u r c e   f o r   t h e   N o d e .   T h i s   A P I   i s   d e p r e c a t e d   s i n c e   1 . 2 2 :   h t t p s : / / g i t . k 8 s . i o / e n h a n c e m e n t s / k e p s / s i g - n o d e / 2 8 1 - d y n a m i c - k u b e l e t - c o n f i g u r a t i o n c o n f i g S o u r c e . c o n f i g M a p . k u b e l e t C o n f i g K e y   ( s t r i n g ) ,   r e q u i r e d K u b e l e t C o n f i g K e y   d e c l a r e s   w h i c h   k e y   o f   t h e   r e f e r e n c e d   C o n f i g M a p   c o r r e s p o n d s   t o   t h e   K u b e l e t C o n f i g u r a t i o n   s t r u c t u r e   T h i s   f i e l d   i s   r e q u i r e d   i n   a l l   c a s e s . c o n f i g S o u r c e . c o n f i g M a p . n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   i s   t h e   m e t a d a t a . n a m e   o f   t h e   r e f e r e n c e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21827"
  },
  {
    "question": "What is NodeStatus?",
    "answer": "N o d e S t a t u s   i s   i n f o r m a t i o n   a b o u t   t h e   c u r r e n t   s t a t u s   o f   a   n o d e .   a d d r e s s e s   ( [ ] N o d e A d d r e s s ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e L i s t   o f   a d d r e s s e s   r e a c h a b l e   t o   t h e   n o d e .   Q u e r i e d   f r o m   c l o u d   p r o v i d e r ,   i f   a v a i l a b l e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / n o d e / n o d e - s t a t u s / # a d d r e s s e s   N o t e :   T h i s   f i e l d   i s   d e c l a r e d   a s   m e r g e a b l e ,   b u t   t h e   m e r g e   k e y   i s   n o t   s u f f i c i e n t l y   u n i q u e ,   w h i c h   c a n   c a u s e   d a t a   c o r r u p t i o n   w h e n   i t   i s   m e r g e d .   C a l l e r s   s h o u l d   i n s t e a d   u s e   a   f u l l - r e p l a c e m e n t   p a t c h .   S e e   h t t p s : / / p r . k 8 s . i o / 7 9 3 9 1   f o r   a n   e x a m p l e .   C o n s u m e r s   s h o u l d   a s s u m e   t h a t   a d d r e s s e s   c a n   c h a n g e   d u r i n g   t h e   l i f e t i m e   o f   a   N o d e .   H o w e v e r ,   t h e r e   a r e   s o m e   e x c e p t i o n s   w h e r e   t h i s   m a y   n o t   b e   p o s s i b l e ,   s u c h   a s   P o d s   t h a t   i n h e r i t   a   N o d e ' s   a d d r e s s   i n   i t s   o w n   s t a t u s   o r   c o n s u m e r s   o f   t h e   d o w n w a r d   A P I   ( s t a t u s . h o s t I P ) . N o d e A d d r e s s   c o n t a i n s   i n f o r m a t i o n   f o r   t h e   n o d e ' s   a d d r e s s . a d d r e s s e s . a d d r e s s   ( s t r i n g ) ,   r e q u i r e d T h e   n o d e   a d d r e s s . a d d r e s s e s . t y p e   ( s t r i n g ) ,   r e q u i r e d N o d e   a d d r e s s   t y p e ,   o n e   o f ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21828"
  },
  {
    "question": "What is NodeList?",
    "answer": "N o d e L i s t   i s   t h e   w h o l e   l i s t   o f   a l l   N o d e s   w h i c h   h a v e   b e e n   r e g i s t e r e d   w i t h   m a s t e r .   a p i V e r s i o n :   v 1 k i n d :   N o d e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] N o d e ) ,   r e q u i r e d L i s t   o f   n o d e s   a p i V e r s i o n :   v 1   k i n d :   N o d e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] N o d e ) ,   r e q u i r e d   L i s t   o f   n o d e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21829"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21830"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N o d e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N o d e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21831"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N o d e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21832"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n o d e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21833"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N o d e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N o d e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21834"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N o d e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21835"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n o d e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21836"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21837"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N o d e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21838"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n o d e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21839"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   N o d e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   N o d e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21840"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N o d e ) :   O K   2 0 1   ( N o d e ) :   C r e a t e d   2 0 2   ( N o d e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21841"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21842"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N o d e b o d y :   N o d e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N o d e   b o d y :   N o d e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21843"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N o d e ) :   O K   2 0 1   ( N o d e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21844"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n o d e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21845"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N o d e b o d y :   N o d e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N o d e   b o d y :   N o d e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21846"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N o d e ) :   O K   2 0 1   ( N o d e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21847"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21848"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N o d e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N o d e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21849"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N o d e ) :   O K   2 0 1   ( N o d e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21850"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n o d e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21851"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N o d e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N o d e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21852"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N o d e ) :   O K   2 0 1   ( N o d e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21853"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21854"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N o d e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N o d e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21855"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21856"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n o d e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21857"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21858"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21859"
  },
  {
    "question": "What is 8.9 - RuntimeClass?",
    "answer": "a p i V e r s i o n :   n o d e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / n o d e / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21860"
  },
  {
    "question": "What is RuntimeClass?",
    "answer": "R u n t i m e C l a s s   d e f i n e s   a   c l a s s   o f   c o n t a i n e r   r u n t i m e   s u p p o r t e d   i n   t h e   c l u s t e r .   T h e   R u n t i m e C l a s s   i s   u s e d   t o   d e t e r m i n e   w h i c h   c o n t a i n e r   r u n t i m e   i s   u s e d   t o   r u n   a l l   c o n t a i n e r s   i n   a   p o d .   R u n t i m e C l a s s e s   a r e   m a n u a l l y   d e f i n e d   b y   a   u s e r   o r   c l u s t e r   p r o v i s i o n e r ,   a n d   r e f e r e n c e d   i n   t h e   P o d S p e c .   T h e   K u b e l e t   i s   r e s p o n s i b l e   f o r   r e s o l v i n g   t h e   R u n t i m e C l a s s N a m e   r e f e r e n c e   b e f o r e   r u n n i n g   t h e   p o d .   F o r   m o r e   d e t a i l s ,   s e e   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / r u n t i m e - c l a s s /   a p i V e r s i o n :   n o d e . k 8 s . i o / v 1 k i n d :   R u n t i m e C l a s s m e t a d a t a   ( O b j e c t M e t a ) M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a h a n d l e r   ( s t r i n g ) ,   r e q u i r e d h a n d l e r   s p e c i f i e s   t h e   u n d e r l y i n g   r u n t i m e   a n d   c o n f i g u r a t i o n   t h a t   t h e   C R I   i m p l e m e n t a t i o n   w i l l   u s e   t o   h a n d l e   p o d s   o f   t h i s   c l a s s .   T h e   p o s s i b l e   v a l u e s   a r e   s p e c i f i c   t o   t h e   n o d e   &   C R I   c o n f i g u r a t i o n .   I t   i s   a s s u m e d   t h a t   a l l   h a n d l e r s   a r e   a v a i l a b l e   o n   e v e r y   n o d e ,   a n d   h a n d l e r s   o f   t h e   s a m e   n a m e   a r e   e q u i v a l e n t   o n   e v e r y   n o d e .   F o r   e x a m p l e ,   a   h a n d l e r   c a l l e d   \" r u n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21861"
  },
  {
    "question": "What is RuntimeClassList?",
    "answer": "R u n t i m e C l a s s L i s t   i s   a   l i s t   o f   R u n t i m e C l a s s   o b j e c t s .   a p i V e r s i o n :   n o d e . k 8 s . i o / v 1 k i n d :   R u n t i m e C l a s s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] R u n t i m e C l a s s ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .   a p i V e r s i o n :   n o d e . k 8 s . i o / v 1   k i n d :   R u n t i m e C l a s s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] R u n t i m e C l a s s ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21862"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21863"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R u n t i m e C l a s s p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R u n t i m e C l a s s   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21864"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R u n t i m e C l a s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21865"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21866"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21867"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R u n t i m e C l a s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21868"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21869"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   R u n t i m e C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   R u n t i m e C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21870"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R u n t i m e C l a s s ) :   O K   2 0 1   ( R u n t i m e C l a s s ) :   C r e a t e d   2 0 2   ( R u n t i m e C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21871"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21872"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R u n t i m e C l a s s b o d y :   R u n t i m e C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R u n t i m e C l a s s   b o d y :   R u n t i m e C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21873"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R u n t i m e C l a s s ) :   O K   2 0 1   ( R u n t i m e C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21874"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21875"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R u n t i m e C l a s s b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R u n t i m e C l a s s   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21876"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R u n t i m e C l a s s ) :   O K   2 0 1   ( R u n t i m e C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21877"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21878"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R u n t i m e C l a s s b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R u n t i m e C l a s s   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21879"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21880"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21881"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21882"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21883"
  },
  {
    "question": "What is 8.10 - ServiceCIDR?",
    "answer": "a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / n e t w o r k i n g / v 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21884"
  },
  {
    "question": "What is ServiceCIDR?",
    "answer": "S e r v i c e C I D R   d e f i n e s   a   r a n g e   o f   I P   a d d r e s s e s   u s i n g   C I D R   f o r m a t   ( e . g .   1 9 2 . 1 6 8 . 0 . 0 / 2 4   o r   2 0 0 1 : d b 2 : : / 6 4 ) .   T h i s   r a n g e   i s   u s e d   t o   a l l o c a t e   C l u s t e r I P s   t o   S e r v i c e   o b j e c t s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   S e r v i c e C I D R m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( S e r v i c e C I D R S p e c ) s p e c   i s   t h e   d e s i r e d   s t a t e   o f   t h e   S e r v i c e C I D R .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( S e r v i c e C I D R S t a t u s ) s t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t e   o f   t h e   S e r v i c e C I D R .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   S e r v i c e C I D R   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( S e r v i c e C I D R S p e c )   s p e c   i s   t h e   d e s i r e d   s t a t e   o f   t h e   S e r ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21885"
  },
  {
    "question": "What is ServiceCIDRSpec?",
    "answer": "S e r v i c e C I D R S p e c   d e f i n e   t h e   C I D R s   t h e   u s e r   w a n t s   t o   u s e   f o r   a l l o c a t i n g   C l u s t e r I P s   f o r   S e r v i c e s .   c i d r s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e C I D R s   d e f i n e s   t h e   I P   b l o c k s   i n   C I D R   n o t a t i o n   ( e . g .   \" 1 9 2 . 1 6 8 . 0 . 0 / 2 4 \"   o r   \" 2 0 0 1 : d b 8 : : / 6 4 \" )   f r o m   w h i c h   t o   a s s i g n   s e r v i c e   c l u s t e r   I P s .   M a x   o f   t w o   C I D R s   i s   a l l o w e d ,   o n e   o f   e a c h   I P   f a m i l y .   T h i s   f i e l d   i s   i m m u t a b l e .   c i d r s   ( [ ] s t r i n g )   A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e   C I D R s   d e f i n e s   t h e   I P   b l o c k s   i n   C I D R   n o t a t i o n   ( e . g .   \" 1 9 2 . 1 6 8 . 0 . 0 / 2 4 \"   o r   \" 2 0 0 1 : d b 8 : : / 6 4 \" )   f r o m   w h i c h   t o   a s s i g n   s e r v i c e   c l u s t e r   I P s .   M a x   o f   t w o   C I D R s   i s   a l l o w e d ,   o n e   o f   e a c h   I P   f a m i l y .   T h i s   f i e l d   i s   i m m u t a b l e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21886"
  },
  {
    "question": "What is ServiceCIDRStatus?",
    "answer": "S e r v i c e C I D R S t a t u s   d e s c r i b e s   t h e   c u r r e n t   s t a t e   o f   t h e   S e r v i c e C I D R .   c o n d i t i o n s   ( [ ] C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e c o n d i t i o n s   h o l d s   a n   a r r a y   o f   m e t a v 1 . C o n d i t i o n   t h a t   d e s c r i b e   t h e   s t a t e   o f   t h e   S e r v i c e C I D R .   C u r r e n t   s e r v i c e   s t a t e C o n d i t i o n   c o n t a i n s   d e t a i l s   f o r   o n e   a s p e c t   o f   t h e   c u r r e n t   s t a t e   o f   t h i s   A P I   R e s o u r c e . c o n d i t i o n s . l a s t T r a n s i t i o n T i m e   ( T i m e ) ,   r e q u i r e d l a s t T r a n s i t i o n T i m e   i s   t h e   l a s t   t i m e   t h e   c o n d i t i o n   t r a n s i t i o n e d   f r o m   o n e   s t a t u s   t o   a n o t h e r .   T h i s   s h o u l d   b e   w h e n   t h e   u n d e r l y i n g   c o n d i t i o n   c h a n g e d .   I f   t h a t   i s   n o t   k n o w n ,   t h e n   u s i n g   t h e   t i m e   w h e n   t h e   A P I   f i e l d   c h a n g e d   i s   a c c e p t a b l e . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c o n d i t i o n s . m e s s a g e   ( s t r i n g ) ,   r e q u i r e d m e s s a g e   i s   a   h u m a n   r e a d a b l e   m e s s a g e   i n d i c a t i n g   d e t a i l s   a b o u t   t h e   t r a n s i t i o n .   T h i s   m a y   b e   a n   e m p t y   s t r i n g . c o n d i t i o n s . r e a s o n   ( s t r i n g ) ,   r e q u i r e d r e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21887"
  },
  {
    "question": "What is ServiceCIDRList?",
    "answer": "S e r v i c e C I D R L i s t   c o n t a i n s   a   l i s t   o f   S e r v i c e C I D R   o b j e c t s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   S e r v i c e C I D R L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] S e r v i c e C I D R ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   S e r v i c e C I D R s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   S e r v i c e C I D R L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] S e r v i c e C I D R ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   S e r v i c e C I D R s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21888"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21889"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e C I D R p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e C I D R   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21890"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e C I D R ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21891"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21892"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e C I D R p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e C I D R   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21893"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e C I D R ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21894"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21895"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21896"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e C I D R L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21897"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21898"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   S e r v i c e C I D R ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   S e r v i c e C I D R ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21899"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e C I D R ) :   O K   2 0 1   ( S e r v i c e C I D R ) :   C r e a t e d   2 0 2   ( S e r v i c e C I D R ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21900"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21901"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e C I D R b o d y :   S e r v i c e C I D R ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e C I D R   b o d y :   S e r v i c e C I D R ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21902"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e C I D R ) :   O K   2 0 1   ( S e r v i c e C I D R ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21903"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21904"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e C I D R b o d y :   S e r v i c e C I D R ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e C I D R   b o d y :   S e r v i c e C I D R ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21905"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e C I D R ) :   O K   2 0 1   ( S e r v i c e C I D R ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21906"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21907"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e C I D R b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e C I D R   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21908"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e C I D R ) :   O K   2 0 1   ( S e r v i c e C I D R ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21909"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21910"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e C I D R b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e C I D R   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21911"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e C I D R ) :   O K   2 0 1   ( S e r v i c e C I D R ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21912"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21913"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e C I D R b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e C I D R   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21914"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21915"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21916"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21917"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_4_21918"
  },
  {
    "question": "What is 9.1 - DeleteOptions?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i m a c h i n e r y / p k g / a p i s / m e t a / v 1 \"   D e l e t e O p t i o n s   m a y   b e   p r o v i d e d   w h e n   d e l e t i n g   a n   A P I   o b j e c t .   a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s d r y R u n   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e W h e n   p r e s e n t ,   i n d i c a t e s   t h a t   m o d i f i c a t i o n s   s h o u l d   n o t   b e   p e r s i s t e d .   A n   i n v a l i d   o r   u n r e c o g n i z e d   d r y R u n   d i r e c t i v e   w i l l   r e s u l t   i n   a n   e r r o r   r e s p o n s e   a n d   n o   f u r t h e r   p r o c e s s i n g   o f   t h e   r e q u e s t .   V a l i d   v a l u e s   a r e :   -   A l l :   a l l   d r y   r u n   s t a g e s   w i l l   b e   p r o c e s s e d g r a c e P e r i o d S e c o n d s   ( i n t 6 4 ) T h e   d u r a t i o n   i n   s e c o n d s   b e f o r e   t h e   o b j e c t   s h o u l d   b e   d e l e t e d .   V a l u e   m u s t   b e   n o n - n e g a t i v e   i n t e g e r .   T h e   v a l u e   z e r o   i n d i c a t e s   d e l e t e   i m m e d i a t e l y .   I f   t h i s   v a l u e   i s   n i l ,   t h e   d e f a u l t   g r a c e   p e r i o d   f o r   t h e   s p e c i f i e d   t y p e   w i l l   b e   u s e d .   D e f a u l t s   t o   a   p e r   o b j e c t   v a l u e   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21919"
  },
  {
    "question": "What is 9.2 - LabelSelector?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i m a c h i n e r y / p k g / a p i s / m e t a / v 1 \"   A   l a b e l   s e l e c t o r   i s   a   l a b e l   q u e r y   o v e r   a   s e t   o f   r e s o u r c e s .   T h e   r e s u l t   o f   m a t c h L a b e l s   a n d   m a t c h E x p r e s s i o n s   a r e   A N D e d .   A n   e m p t y   l a b e l   s e l e c t o r   m a t c h e s   a l l   o b j e c t s .   A   n u l l   l a b e l   s e l e c t o r   m a t c h e s   n o   o b j e c t s .   m a t c h E x p r e s s i o n s   ( [ ] L a b e l S e l e c t o r R e q u i r e m e n t ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e m a t c h E x p r e s s i o n s   i s   a   l i s t   o f   l a b e l   s e l e c t o r   r e q u i r e m e n t s .   T h e   r e q u i r e m e n t s   a r e   A N D e d . A   l a b e l   s e l e c t o r   r e q u i r e m e n t   i s   a   s e l e c t o r   t h a t   c o n t a i n s   v a l u e s ,   a   k e y ,   a n d   a n   o p e r a t o r   t h a t   r e l a t e s   t h e   k e y   a n d   v a l u e s . m a t c h E x p r e s s i o n s . k e y   ( s t r i n g ) ,   r e q u i r e d k e y   i s   t h e   l a b e l   k e y   t h a t   t h e   s e l e c t o r   a p p l i e s   t o . m a t c h E x p r e s s i o n s . o p e r a t o r   ( s t r i n g ) ,   r e q u i r e d o p e r a t o r   r e p r e s e n t s   a   k e y ' s   r e l a t i o n s h i p   t o   a   s e t   o f   v a l u e s .   V a l i d   o p e r a t o r s   a r e   I n ,   N o t I n ,   E x i s t s   a n d   D o e s N o t E x i s t . m a t c h E x p r e s s i o n s . v a l u e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e v a l u e s   i s   a n   a r r a y   o f   s t r i n g   v a l u e s .   I f   t h e   o p e r a t o r   i s   I n   o r   N o t I n ,   t h e   v a l u e s   a r r a y   m u s t   b e   n o n - e m p t y .   I f   t h e   o p e r a t o r   i s   E x i s t s   o r   D o e s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21920"
  },
  {
    "question": "What is 9.3 - ListMeta?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i m a c h i n e r y / p k g / a p i s / m e t a / v 1 \"   L i s t M e t a   d e s c r i b e s   m e t a d a t a   t h a t   s y n t h e t i c   r e s o u r c e s   m u s t   h a v e ,   i n c l u d i n g   l i s t s   a n d   v a r i o u s   s t a t u s   o b j e c t s .   A   r e s o u r c e   m a y   h a v e   o n l y   o n e   o f   { O b j e c t M e t a ,   L i s t M e t a } .   c o n t i n u e   ( s t r i n g ) c o n t i n u e   m a y   b e   s e t   i f   t h e   u s e r   s e t   a   l i m i t   o n   t h e   n u m b e r   o f   i t e m s   r e t u r n e d ,   a n d   i n d i c a t e s   t h a t   t h e   s e r v e r   h a s   m o r e   d a t a   a v a i l a b l e .   T h e   v a l u e   i s   o p a q u e   a n d   m a y   b e   u s e d   t o   i s s u e   a n o t h e r   r e q u e s t   t o   t h e   e n d p o i n t   t h a t   s e r v e d   t h i s   l i s t   t o   r e t r i e v e   t h e   n e x t   s e t   o f   a v a i l a b l e   o b j e c t s .   C o n t i n u i n g   a   c o n s i s t e n t   l i s t   m a y   n o t   b e   p o s s i b l e   i f   t h e   s e r v e r   c o n f i g u r a t i o n   h a s   c h a n g e d   o r   m o r e   t h a n   a   f e w   m i n u t e s   h a v e   p a s s e d .   T h e   r e s o u r c e V e r s i o n   f i e l d   r e t u r n e d   w h e n   u s i n g   t h i s   c o n t i n u e   v a l u e   w i l l   b e   i d e n t i c a l   t o   t h e   v a l u e   i n   t h e   f i r s t   r e s p o n s e ,   u n l e s s   y o u   h a v e   r e c e i v e d   t h i s   t o k e n   f r o m   a n   e r r o r   m e s s a g e . r e m a i n i n g I t e m C o u n t   ( i n t 6 4 ) r e m a i n i n g I t e m C o u n t   i s   t h e   n u m b e r   o f   s u b s e q u e n t   i t e m s   i n   t h e   l i s t   w h i c h   a r e   n o t   i n c l u d e d   i n   t h i s   l i s t   r e s p o n s e .   I f   t h e   l i s t   r e q u e s t   c o n t a i n e d   l a b e l   o r   f i e l d   s e l e c t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21921"
  },
  {
    "question": "What is 9.4 - LocalObjectReference?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"   L o c a l O b j e c t R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   l o c a t e   t h e   r e f e r e n c e d   o b j e c t   i n s i d e   t h e   s a m e   n a m e s p a c e .   n a m e   ( s t r i n g ) N a m e   o f   t h e   r e f e r e n t .   T h i s   f i e l d   i s   e f f e c t i v e l y   r e q u i r e d ,   b u t   d u e   t o   b a c k w a r d s   c o m p a t i b i l i t y   i s   a l l o w e d   t o   b e   e m p t y .   I n s t a n c e s   o f   t h i s   t y p e   w i t h   a n   e m p t y   v a l u e   h e r e   a r e   a l m o s t   c e r t a i n l y   w r o n g .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s / # n a m e s   n a m e   ( s t r i n g )   N a m e   o f   t h e   r e f e r e n t .   T h i s   f i e l d   i s   e f f e c t i v e l y   r e q u i r e d ,   b u t   d u e   t o   b a c k w a r d s   c o m p a t i b i l i t y   i s   a l l o w e d   t o   b e   e m p t y .   I n s t a n c e s   o f   t h i s   t y p e   w i t h   a n   e m p t y   v a l u e   h e r e   a r e   a l m o s t   c e r t a i n l y   w r o n g .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s / # n a m e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21922"
  },
  {
    "question": "What is 9.5 - NodeSelectorRequirement?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"   A   n o d e   s e l e c t o r   r e q u i r e m e n t   i s   a   s e l e c t o r   t h a t   c o n t a i n s   v a l u e s ,   a   k e y ,   a n d   a n   o p e r a t o r   t h a t   r e l a t e s   t h e   k e y   a n d   v a l u e s .   k e y   ( s t r i n g ) ,   r e q u i r e d T h e   l a b e l   k e y   t h a t   t h e   s e l e c t o r   a p p l i e s   t o . o p e r a t o r   ( s t r i n g ) ,   r e q u i r e d R e p r e s e n t s   a   k e y ' s   r e l a t i o n s h i p   t o   a   s e t   o f   v a l u e s .   V a l i d   o p e r a t o r s   a r e   I n ,   N o t I n ,   E x i s t s ,   D o e s N o t E x i s t .   G t ,   a n d   L t . v a l u e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A n   a r r a y   o f   s t r i n g   v a l u e s .   I f   t h e   o p e r a t o r   i s   I n   o r   N o t I n ,   t h e   v a l u e s   a r r a y   m u s t   b e   n o n - e m p t y .   I f   t h e   o p e r a t o r   i s   E x i s t s   o r   D o e s N o t E x i s t ,   t h e   v a l u e s   a r r a y   m u s t   b e   e m p t y .   I f   t h e   o p e r a t o r   i s   G t   o r   L t ,   t h e   v a l u e s   a r r a y   m u s t   h a v e   a   s i n g l e   e l e m e n t ,   w h i c h   w i l l   b e   i n t e r p r e t e d   a s   a n   i n t e g e r .   T h i s   a r r a y   i s   r e p l a c e d   d u r i n g   a   s t r a t e g i c   m e r g e   p a t c h .   k e y   ( s t r i n g ) ,   r e q u i r e d   T h e   l a b e l   k e y   t h a t   t h e   s e l e c t o r   a p p l i e s   t o .   o p e r a t o r   ( s t r i n g ) ,   r e q u i r e d   R e p r e s e n t s   a   k e y ' s   r e l a t i o n s h i p   t o   a   s e t   o f   v a l u e s .   V a l i d   o p e r a t o r s   a r e   I n ,   N o t I n ,   E x i s t s ,   D o e s N o t E x i s t .   G t ,   a n d   L t .   v a l u e s   ( [ ] s t r i n g )   A t o m i c :   w i l l   b e   r e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21923"
  },
  {
    "question": "What is 9.6 - ObjectFieldSelector?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"   O b j e c t F i e l d S e l e c t o r   s e l e c t s   a n   A P I V e r s i o n e d   f i e l d   o f   a n   o b j e c t .   f i e l d P a t h   ( s t r i n g ) ,   r e q u i r e d P a t h   o f   t h e   f i e l d   t o   s e l e c t   i n   t h e   s p e c i f i e d   A P I   v e r s i o n . a p i V e r s i o n   ( s t r i n g ) V e r s i o n   o f   t h e   s c h e m a   t h e   F i e l d P a t h   i s   w r i t t e n   i n   t e r m s   o f ,   d e f a u l t s   t o   \" v 1 \" .   f i e l d P a t h   ( s t r i n g ) ,   r e q u i r e d   P a t h   o f   t h e   f i e l d   t o   s e l e c t   i n   t h e   s p e c i f i e d   A P I   v e r s i o n .   a p i V e r s i o n   ( s t r i n g )   V e r s i o n   o f   t h e   s c h e m a   t h e   F i e l d P a t h   i s   w r i t t e n   i n   t e r m s   o f ,   d e f a u l t s   t o   \" v 1 \" .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21924"
  },
  {
    "question": "What is 9.7 - ObjectMeta?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i m a c h i n e r y / p k g / a p i s / m e t a / v 1 \"   O b j e c t M e t a   i s   m e t a d a t a   t h a t   a l l   p e r s i s t e d   r e s o u r c e s   m u s t   h a v e ,   w h i c h   i n c l u d e s   a l l   o b j e c t s   u s e r s   m u s t   c r e a t e .   n a m e   ( s t r i n g ) N a m e   m u s t   b e   u n i q u e   w i t h i n   a   n a m e s p a c e .   I s   r e q u i r e d   w h e n   c r e a t i n g   r e s o u r c e s ,   a l t h o u g h   s o m e   r e s o u r c e s   m a y   a l l o w   a   c l i e n t   t o   r e q u e s t   t h e   g e n e r a t i o n   o f   a n   a p p r o p r i a t e   n a m e   a u t o m a t i c a l l y .   N a m e   i s   p r i m a r i l y   i n t e n d e d   f o r   c r e a t i o n   i d e m p o t e n c e   a n d   c o n f i g u r a t i o n   d e f i n i t i o n .   C a n n o t   b e   u p d a t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s # n a m e s g e n e r a t e N a m e   ( s t r i n g ) G e n e r a t e N a m e   i s   a n   o p t i o n a l   p r e f i x ,   u s e d   b y   t h e   s e r v e r ,   t o   g e n e r a t e   a   u n i q u e   n a m e   O N L Y   I F   t h e   N a m e   f i e l d   h a s   n o t   b e e n   p r o v i d e d .   I f   t h i s   f i e l d   i s   u s e d ,   t h e   n a m e   r e t u r n e d   t o   t h e   c l i e n t   w i l l   b e   d i f f e r e n t   t h a n   t h e   n a m e   p a s s e d .   T h i s   v a l u e   w i l l   a l s o   b e   c o m b i n e d   w i t h   a   u n i q u e   s u f f i x .   T h e   p r o v i d e d   v a l u e   h a s   t h e   s a m e   v a l i d a t i o n   r u l e s   a s   t h e   N a m e   f i e l d ,   a n d   m a y   b e   t r u n c a t e d   b y   t h e   l e n g t h   o f   t h e   s u f f i x   r e q u i r e d   t o   m a k e   t h e   v a l u e   u n i q u e   o n   t h e   s e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21925"
  },
  {
    "question": "What is System?",
    "answer": "f i n a l i z e r s   ( [ ] s t r i n g ) S e t :   u n i q u e   v a l u e s   w i l l   b e   k e p t   d u r i n g   a   m e r g e M u s t   b e   e m p t y   b e f o r e   t h e   o b j e c t   i s   d e l e t e d   f r o m   t h e   r e g i s t r y .   E a c h   e n t r y   i s   a n   i d e n t i f i e r   f o r   t h e   r e s p o n s i b l e   c o m p o n e n t   t h a t   w i l l   r e m o v e   t h e   e n t r y   f r o m   t h e   l i s t .   I f   t h e   d e l e t i o n T i m e s t a m p   o f   t h e   o b j e c t   i s   n o n - n i l ,   e n t r i e s   i n   t h i s   l i s t   c a n   o n l y   b e   r e m o v e d .   F i n a l i z e r s   m a y   b e   p r o c e s s e d   a n d   r e m o v e d   i n   a n y   o r d e r .   O r d e r   i s   N O T   e n f o r c e d   b e c a u s e   i t   i n t r o d u c e s   s i g n i f i c a n t   r i s k   o f   s t u c k   f i n a l i z e r s .   f i n a l i z e r s   i s   a   s h a r e d   f i e l d ,   a n y   a c t o r   w i t h   p e r m i s s i o n   c a n   r e o r d e r   i t .   I f   t h e   f i n a l i z e r   l i s t   i s   p r o c e s s e d   i n   o r d e r ,   t h e n   t h i s   c a n   l e a d   t o   a   s i t u a t i o n   i n   w h i c h   t h e   c o m p o n e n t   r e s p o n s i b l e   f o r   t h e   f i r s t   f i n a l i z e r   i n   t h e   l i s t   i s   w a i t i n g   f o r   a   s i g n a l   ( f i e l d   v a l u e ,   e x t e r n a l   s y s t e m ,   o r   o t h e r )   p r o d u c e d   b y   a   c o m p o n e n t   r e s p o n s i b l e   f o r   a   f i n a l i z e r   l a t e r   i n   t h e   l i s t ,   r e s u l t i n g   i n   a   d e a d l o c k .   W i t h o u t   e n f o r c e d   o r d e r i n g   f i n a l i z e r s   a r e   f r e e   t o   o r d e r   a m o n g s t   t h e m s e l v e s   a n d   a r e   n o t   v u l n e r a b l e   t o   o r d e r i n g   c h a n g e s   i n   t h e   l i s t . m a n a g e d F i e l d s   ( [ ] M a n a g e d F i e l d s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_21926"
  },
  {
    "question": "What is Read-only?",
    "answer": "c r e a t i o n T i m e s t a m p   ( T i m e ) C r e a t i o n T i m e s t a m p   i s   a   t i m e s t a m p   r e p r e s e n t i n g   t h e   s e r v e r   t i m e   w h e n   t h i s   o b j e c t   w a s   c r e a t e d .   I t   i s   n o t   g u a r a n t e e d   t o   b e   s e t   i n   h a p p e n s - b e f o r e   o r d e r   a c r o s s   s e p a r a t e   o p e r a t i o n s .   C l i e n t s   m a y   n o t   s e t   t h i s   v a l u e .   I t   i s   r e p r e s e n t e d   i n   R F C 3 3 3 9   f o r m   a n d   i s   i n   U T C . P o p u l a t e d   b y   t h e   s y s t e m .   R e a d - o n l y .   N u l l   f o r   l i s t s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . d e l e t i o n G r a c e P e r i o d S e c o n d s   ( i n t 6 4 ) N u m b e r   o f   s e c o n d s   a l l o w e d   f o r   t h i s   o b j e c t   t o   g r a c e f u l l y   t e r m i n a t e   b e f o r e   i t   w i l l   b e   r e m o v e d   f r o m   t h e   s y s t e m .   O n l y   s e t   w h e n   d e l e t i o n T i m e s t a m p   i s   a l s o   s e t .   M a y   o n l y   b e   s h o r t e n e d .   R e a d - o n l y . d e l e t i o n T i m e s t a m p   ( T i m e ) D e l e t i o n T i m e s t a m p   i s   R F C   3 3 3 9   d a t e   a n d   t i m e   a t   w h i c h   t h i s   r e s o u r c e   w i l l   b e   d e l e t e d .   T h i s   f i e l d   i s   s e t   b y   t h e   s e r v e r   w h e n   a   g r a c e f u l   d e l e t i o n   i s   r e q u e s t ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_3_21927"
  },
  {
    "question": "What is 9.8 - ObjectReference?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"   O b j e c t R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   i n s p e c t   o r   m o d i f y   t h e   r e f e r r e d   o b j e c t .   a p i V e r s i o n   ( s t r i n g ) A P I   v e r s i o n   o f   t h e   r e f e r e n t . f i e l d P a t h   ( s t r i n g ) I f   r e f e r r i n g   t o   a   p i e c e   o f   a n   o b j e c t   i n s t e a d   o f   a n   e n t i r e   o b j e c t ,   t h i s   s t r i n g   s h o u l d   c o n t a i n   a   v a l i d   J S O N / G o   f i e l d   a c c e s s   s t a t e m e n t ,   s u c h   a s   d e s i r e d S t a t e . m a n i f e s t . c o n t a i n e r s [ 2 ] .   F o r   e x a m p l e ,   i f   t h e   o b j e c t   r e f e r e n c e   i s   t o   a   c o n t a i n e r   w i t h i n   a   p o d ,   t h i s   w o u l d   t a k e   o n   a   v a l u e   l i k e :   \" s p e c . c o n t a i n e r s { n a m e } \"   ( w h e r e   \" n a m e \"   r e f e r s   t o   t h e   n a m e   o f   t h e   c o n t a i n e r   t h a t   t r i g g e r e d   t h e   e v e n t )   o r   i f   n o   c o n t a i n e r   n a m e   i s   s p e c i f i e d   \" s p e c . c o n t a i n e r s [ 2 ] \"   ( c o n t a i n e r   w i t h   i n d e x   2   i n   t h i s   p o d ) .   T h i s   s y n t a x   i s   c h o s e n   o n l y   t o   h a v e   s o m e   w e l l - d e f i n e d   w a y   o f   r e f e r e n c i n g   a   p a r t   o f   a n   o b j e c t . k i n d   ( s t r i n g ) K i n d   o f   t h e   r e f e r e n t .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s n a m e   ( s t r i n g ) N a m e   o f   t h e   r e f e r e n t .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21928"
  },
  {
    "question": "What is 9.9 - Patch?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i m a c h i n e r y / p k g / a p i s / m e t a / v 1 \"   P a t c h   i s   p r o v i d e d   t o   g i v e   a   c o n c r e t e   n a m e   a n d   t y p e   t o   t h e   K u b e r n e t e s   P A T C H   r e q u e s t   b o d y .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21929"
  },
  {
    "question": "What is 9.10 - Quantity?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i m a c h i n e r y / p k g / a p i / r e s o u r c e \"   Q u a n t i t y   i s   a   f i x e d - p o i n t   r e p r e s e n t a t i o n   o f   a   n u m b e r .   I t   p r o v i d e s   c o n v e n i e n t   m a r s h a l i n g / u n m a r s h a l i n g   i n   J S O N   a n d   Y A M L ,   i n   a d d i t i o n   t o   S t r i n g ( )   a n d   A s I n t 6 4 ( )   a c c e s s o r s .   T h e   s e r i a l i z a t i o n   f o r m a t   i s :   \\ < q u a n t i t y >   : : =   \\ < s i g n e d N u m b e r > \\ < s u f f i x >   ( N o t e   t h a t   \\ < s u f f i x >   m a y   b e   e m p t y ,   f r o m   t h e   \" \"   c a s e   i n   \\ < d e c i m a l S I > . )   \\ < d i g i t >   : : =   0   |   1   |   . . .   |   9   \\ < d i g i t s >   : : =   \\ < d i g i t >   |   \\ < d i g i t > \\ < d i g i t s >   \\ < n u m b e r >   : : =   \\ < d i g i t s >   |   \\ < d i g i t s > . \\ < d i g i t s >   |   \\ < d i g i t s > .   |   . \\ < d i g i t s >   \\ < s i g n >   : : =   \" + \"   |   \" - \"   \\ < s i g n e d N u m b e r >   : : =   \\ < n u m b e r >   |   \\ < s i g n > \\ < n u m b e r >   \\ < s u f f i x >   : : =   \\ < b i n a r y S I >   |   \\ < d e c i m a l E x p o n e n t >   |   \\ < d e c i m a l S I >   \\ < b i n a r y S I >   : : =   K i   |   M i   |   G i   |   T i   |   P i   |   E i   ( I n t e r n a t i o n a l   S y s t e m   o f   u n i t s ;   S e e :   h t t p : / / p h y s i c s . n i s t . g o v / c u u / U n i t s / b i n a r y . h t m l )   \\ < d e c i m a l S I >   : : =   m   |   \" \"   |   k   |   M   |   G   |   T   |   P   |   E   ( N o t e   t h a t   1 0 2 4   =   1 K i   b u t   1 0 0 0   =   1 k ;   I   d i d n ' t   c h o o s e   t h e   c a p i t a l i z a t i o n . )   \\ < d e c i m a l E x p o n e n t >   : : =   \" e \"   \\ < s i g n e d N u m b e r >   |   \" E \"   \\ < s i g n e d N u m b e r >   N o   m a t t e r   w h i c h   o f   t h e   t h r e e   e x p o n e n t   f o r m s   i s   u s e d ,   n ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21930"
  },
  {
    "question": "What is 9.11 - ResourceFieldSelector?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"   R e s o u r c e F i e l d S e l e c t o r   r e p r e s e n t s   c o n t a i n e r   r e s o u r c e s   ( c p u ,   m e m o r y )   a n d   t h e i r   o u t p u t   f o r m a t   r e s o u r c e   ( s t r i n g ) ,   r e q u i r e d R e q u i r e d :   r e s o u r c e   t o   s e l e c t c o n t a i n e r N a m e   ( s t r i n g ) C o n t a i n e r   n a m e :   r e q u i r e d   f o r   v o l u m e s ,   o p t i o n a l   f o r   e n v   v a r s d i v i s o r   ( Q u a n t i t y ) S p e c i f i e s   t h e   o u t p u t   f o r m a t   o f   t h e   e x p o s e d   r e s o u r c e s ,   d e f a u l t s   t o   \" 1 \"   r e s o u r c e   ( s t r i n g ) ,   r e q u i r e d   R e q u i r e d :   r e s o u r c e   t o   s e l e c t   c o n t a i n e r N a m e   ( s t r i n g )   C o n t a i n e r   n a m e :   r e q u i r e d   f o r   v o l u m e s ,   o p t i o n a l   f o r   e n v   v a r s   d i v i s o r   ( Q u a n t i t y )   S p e c i f i e s   t h e   o u t p u t   f o r m a t   o f   t h e   e x p o s e d   r e s o u r c e s ,   d e f a u l t s   t o   \" 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21931"
  },
  {
    "question": "What is 9.12 - Status?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i m a c h i n e r y / p k g / a p i s / m e t a / v 1 \"   S t a t u s   i s   a   r e t u r n   v a l u e   f o r   c a l l s   t h a t   d o n ' t   r e t u r n   o t h e r   o b j e c t s .   a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s c o d e   ( i n t 3 2 ) S u g g e s t e d   H T T P   r e t u r n   c o d e   f o r   t h i s   s t a t u s ,   0   i f   n o t   s e t . d e t a i l s   ( S t a t u s D e t a i l s ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e E x t e n d e d   d a t a   a s s o c i a t e d   w i t h   t h e   r e a s o n .   E a c h   r e a s o n   m a y   d e f i n e   i t s   o w n   e x t e n d e d   d e t a i l s .   T h i s   f i e l d   i s   o p t i o n a l   a n d   t h e   d a t a   r e t u r n e d   i s   n o t   g u a r a n t e e d   t o   c o n f o r m   t o   a n y   s c h e m a   e x c e p t   t h a t   d e f i n e d   b y   t h e   r e a s o n   t y p e . S t a t u s D e t a i l s   i s   a   s e t   o f   a d d i t i o n a l   p r o p e r t i e s   t h a t   M A Y   b e   s e t   b y   t h e   s e r v e r   t o   p r o v i d e   a d d i t i o n a l   i n f o r m a t i o n   a b o u t   a   r e s p o n s e .   T h e   R e a s o n   f i e l d   o f   a   S t a t u s   o b j e c t   d e f i n e s   w h a t   a t t r i b u t e s   w i l l   b e   s e t .   C l i e n t s   m u s t   i g n o r e   f i e l d s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21932"
  },
  {
    "question": "What is 9.13 - TypedLocalObjectReference?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"   T y p e d L o c a l O b j e c t R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   l o c a t e   t h e   t y p e d   r e f e r e n c e d   o b j e c t   i n s i d e   t h e   s a m e   n a m e s p a c e .   k i n d   ( s t r i n g ) ,   r e q u i r e d K i n d   i s   t h e   t y p e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   i s   t h e   n a m e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d a p i G r o u p   ( s t r i n g ) A P I G r o u p   i s   t h e   g r o u p   f o r   t h e   r e s o u r c e   b e i n g   r e f e r e n c e d .   I f   A P I G r o u p   i s   n o t   s p e c i f i e d ,   t h e   s p e c i f i e d   K i n d   m u s t   b e   i n   t h e   c o r e   A P I   g r o u p .   F o r   a n y   o t h e r   t h i r d - p a r t y   t y p e s ,   A P I G r o u p   i s   r e q u i r e d .   k i n d   ( s t r i n g ) ,   r e q u i r e d   K i n d   i s   t h e   t y p e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d   n a m e   ( s t r i n g ) ,   r e q u i r e d   N a m e   i s   t h e   n a m e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d   a p i G r o u p   ( s t r i n g )   A P I G r o u p   i s   t h e   g r o u p   f o r   t h e   r e s o u r c e   b e i n g   r e f e r e n c e d .   I f   A P I G r o u p   i s   n o t   s p e c i f i e d ,   t h e   s p e c i f i e d   K i n d   m u s t   b e   i n   t h e   c o r e   A P I   g r o u p .   F o r   a n y   o t h e r   t h i r d - p a r t y   t y p e s ,   A P I G r o u p   i s   r e q u i r e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21933"
  },
  {
    "question": "What is 10.1 - MutatingAdmissionPolicyBindingList v1beta1?",
    "answer": "a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1   i m p o r t   \" k 8 s . i o / a p i / a d m i s s i o n r e g i s t r a t i o n / v 1 b e t a 1 \"",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_1_21934"
  },
  {
    "question": "What is allowWatchBookmarks?",
    "answer": "a l l o w W a t c h B o o k m a r k s   r e q u e s t s   w a t c h   e v e n t s   w i t h   t y p e   \" B O O K M A R K \" .   S e r v e r s   t h a t   d o   n o t   i m p l e m e n t   b o o k m a r k s   m a y   i g n o r e   t h i s   f l a g   a n d   b o o k m a r k s   a r e   s e n t   a t   t h e   s e r v e r ' s   d i s c r e t i o n .   C l i e n t s   s h o u l d   n o t   a s s u m e   b o o k m a r k s   a r e   r e t u r n e d   a t   a n y   s p e c i f i c   i n t e r v a l ,   n o r   m a y   t h e y   a s s u m e   t h e   s e r v e r   w i l l   s e n d   a n y   B O O K M A R K   e v e n t   d u r i n g   a   s e s s i o n .   I f   t h i s   i s   n o t   a   w a t c h ,   t h i s   f i e l d   i s   i g n o r e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21935"
  },
  {
    "question": "What is continue?",
    "answer": "T h e   c o n t i n u e   o p t i o n   s h o u l d   b e   s e t   w h e n   r e t r i e v i n g   m o r e   r e s u l t s   f r o m   t h e   s e r v e r .   S i n c e   t h i s   v a l u e   i s   s e r v e r   d e f i n e d ,   c l i e n t s   m a y   o n l y   u s e   t h e   c o n t i n u e   v a l u e   f r o m   a   p r e v i o u s   q u e r y   r e s u l t   w i t h   i d e n t i c a l   q u e r y   p a r a m e t e r s   ( e x c e p t   f o r   t h e   v a l u e   o f   c o n t i n u e )   a n d   t h e   s e r v e r   m a y   r e j e c t   a   c o n t i n u e   v a l u e   i t   d o e s   n o t   r e c o g n i z e .   I f   t h e   s p e c i f i e d   c o n t i n u e   v a l u e   i s   n o   l o n g e r   v a l i d   w h e t h e r   d u e   t o   e x p i r a t i o n   ( g e n e r a l l y   f i v e   t o   f i f t e e n   m i n u t e s )   o r   a   c o n f i g u r a t i o n   c h a n g e   o n   t h e   s e r v e r ,   t h e   s e r v e r   w i l l   r e s p o n d   w i t h   a   4 1 0   R e s o u r c e E x p i r e d   e r r o r   t o g e t h e r   w i t h   a   c o n t i n u e   t o k e n .   I f   t h e   c l i e n t   n e e d s   a   c o n s i s t e n t   l i s t ,   i t   m u s t   r e s t a r t   t h e i r   l i s t   w i t h o u t   t h e   c o n t i n u e   f i e l d .   O t h e r w i s e ,   t h e   c l i e n t   m a y   s e n d   a n o t h e r   l i s t   r e q u e s t   w i t h   t h e   t o k e n   r e c e i v e d   w i t h   t h e   4 1 0   e r r o r ,   t h e   s e r v e r   w i l l   r e s p o n d   w i t h   a   l i s t   s t a r t i n g   f r o m   t h e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21936"
  },
  {
    "question": "What is dryRun?",
    "answer": "W h e n   p r e s e n t ,   i n d i c a t e s   t h a t   m o d i f i c a t i o n s   s h o u l d   n o t   b e   p e r s i s t e d .   A n   i n v a l i d   o r   u n r e c o g n i z e d   d r y R u n   d i r e c t i v e   w i l l   r e s u l t   i n   a n   e r r o r   r e s p o n s e   a n d   n o   f u r t h e r   p r o c e s s i n g   o f   t h e   r e q u e s t .   V a l i d   v a l u e s   a r e :   -   A l l :   a l l   d r y   r u n   s t a g e s   w i l l   b e   p r o c e s s e d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21937"
  },
  {
    "question": "What is fieldManager?",
    "answer": "f i e l d M a n a g e r   i s   a   n a m e   a s s o c i a t e d   w i t h   t h e   a c t o r   o r   e n t i t y   t h a t   i s   m a k i n g   t h e s e   c h a n g e s .   T h e   v a l u e   m u s t   b e   l e s s   t h a n   o r   1 2 8   c h a r a c t e r s   l o n g ,   a n d   o n l y   c o n t a i n   p r i n t a b l e   c h a r a c t e r s ,   a s   d e f i n e d   b y   h t t p s : / / g o l a n g . o r g / p k g / u n i c o d e / # I s P r i n t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21938"
  },
  {
    "question": "What is fieldSelector?",
    "answer": "A   s e l e c t o r   t o   r e s t r i c t   t h e   l i s t   o f   r e t u r n e d   o b j e c t s   b y   t h e i r   f i e l d s .   D e f a u l t s   t o   e v e r y t h i n g .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21939"
  },
  {
    "question": "What is fieldValidation?",
    "answer": "f i e l d V a l i d a t i o n   i n s t r u c t s   t h e   s e r v e r   o n   h o w   t o   h a n d l e   o b j e c t s   i n   t h e   r e q u e s t   ( P O S T / P U T / P A T C H )   c o n t a i n i n g   u n k n o w n   o r   d u p l i c a t e   f i e l d s .   V a l i d   v a l u e s   a r e :   -   I g n o r e :   T h i s   w i l l   i g n o r e   a n y   u n k n o w n   f i e l d s   t h a t   a r e   s i l e n t l y   d r o p p e d   f r o m   t h e   o b j e c t ,   a n d   w i l l   i g n o r e   a l l   b u t   t h e   l a s t   d u p l i c a t e   f i e l d   t h a t   t h e   d e c o d e r   e n c o u n t e r s .   T h i s   i s   t h e   d e f a u l t   b e h a v i o r   p r i o r   t o   v 1 . 2 3 .   -   W a r n :   T h i s   w i l l   s e n d   a   w a r n i n g   v i a   t h e   s t a n d a r d   w a r n i n g   r e s p o n s e   h e a d e r   f o r   e a c h   u n k n o w n   f i e l d   t h a t   i s   d r o p p e d   f r o m   t h e   o b j e c t ,   a n d   f o r   e a c h   d u p l i c a t e   f i e l d   t h a t   i s   e n c o u n t e r e d .   T h e   r e q u e s t   w i l l   s t i l l   s u c c e e d   i f   t h e r e   a r e   n o   o t h e r   e r r o r s ,   a n d   w i l l   o n l y   p e r s i s t   t h e   l a s t   o f   a n y   d u p l i c a t e   f i e l d s .   T h i s   i s   t h e   d e f a u l t   i n   v 1 . 2 3 +   -   S t r i c t :   T h i s   w i l l   f a i l   t h e   r e q u e s t   w i t h   a   B a d R e q u e s t   e r r o r   i f   a n y   u n k n o w n   f i e l d s   w o u l d   b e   d r o p p e d   f r o m   t h e   o b j e c t ,   o r   i f   a n y   d u p l i c a t e   f i e l d s   a r e   p r e s e n t .   T h e   e r r o r   r e t u r n e d   f r o m   t h e   s e r v e r   w i l l   c o n t a i n   a l l   u n k n o w n   a n d   d u p l i c a t e   f i e l d s   e n c o u n t e r e d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21940"
  },
  {
    "question": "What is force?",
    "answer": "F o r c e   i s   g o i n g   t o   \" f o r c e \"   A p p l y   r e q u e s t s .   I t   m e a n s   u s e r   w i l l   r e - a c q u i r e   c o n f l i c t i n g   f i e l d s   o w n e d   b y   o t h e r   p e o p l e .   F o r c e   f l a g   m u s t   b e   u n s e t   f o r   n o n - a p p l y   p a t c h   r e q u e s t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21941"
  },
  {
    "question": "What is gracePeriodSeconds?",
    "answer": "T h e   d u r a t i o n   i n   s e c o n d s   b e f o r e   t h e   o b j e c t   s h o u l d   b e   d e l e t e d .   V a l u e   m u s t   b e   n o n - n e g a t i v e   i n t e g e r .   T h e   v a l u e   z e r o   i n d i c a t e s   d e l e t e   i m m e d i a t e l y .   I f   t h i s   v a l u e   i s   n i l ,   t h e   d e f a u l t   g r a c e   p e r i o d   f o r   t h e   s p e c i f i e d   t y p e   w i l l   b e   u s e d .   D e f a u l t s   t o   a   p e r   o b j e c t   v a l u e   i f   n o t   s p e c i f i e d .   z e r o   m e a n s   d e l e t e   i m m e d i a t e l y .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21942"
  },
  {
    "question": "What is ignoreStoreReadErrorWithClusterBreakingPotential?",
    "answer": "i f   s e t   t o   t r u e ,   i t   w i l l   t r i g g e r   a n   u n s a f e   d e l e t i o n   o f   t h e   r e s o u r c e   i n   c a s e   t h e   n o r m a l   d e l e t i o n   f l o w   f a i l s   w i t h   a   c o r r u p t   o b j e c t   e r r o r .   A   r e s o u r c e   i s   c o n s i d e r e d   c o r r u p t   i f   i t   c a n   n o t   b e   r e t r i e v e d   f r o m   t h e   u n d e r l y i n g   s t o r a g e   s u c c e s s f u l l y   b e c a u s e   o f   a )   i t s   d a t a   c a n   n o t   b e   t r a n s f o r m e d   e . g .   d e c r y p t i o n   f a i l u r e ,   o r   b )   i t   f a i l s   t o   d e c o d e   i n t o   a n   o b j e c t .   N O T E :   u n s a f e   d e l e t i o n   i g n o r e s   f i n a l i z e r   c o n s t r a i n t s ,   s k i p s   p r e c o n d i t i o n   c h e c k s ,   a n d   r e m o v e s   t h e   o b j e c t   f r o m   t h e   s t o r a g e .   W A R N I N G :   T h i s   m a y   p o t e n t i a l l y   b r e a k   t h e   c l u s t e r   i f   t h e   w o r k l o a d   a s s o c i a t e d   w i t h   t h e   r e s o u r c e   b e i n g   u n s a f e - d e l e t e d   r e l i e s   o n   n o r m a l   d e l e t i o n   f l o w .   U s e   o n l y   i f   y o u   R E A L L Y   k n o w   w h a t   y o u   a r e   d o i n g .   T h e   d e f a u l t   v a l u e   i s   f a l s e ,   a n d   t h e   u s e r   m u s t   o p t   i n   t o   e n a b l e   i t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21943"
  },
  {
    "question": "What is labelSelector?",
    "answer": "A   s e l e c t o r   t o   r e s t r i c t   t h e   l i s t   o f   r e t u r n e d   o b j e c t s   b y   t h e i r   l a b e l s .   D e f a u l t s   t o   e v e r y t h i n g .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21944"
  },
  {
    "question": "What is limit?",
    "answer": "l i m i t   i s   a   m a x i m u m   n u m b e r   o f   r e s p o n s e s   t o   r e t u r n   f o r   a   l i s t   c a l l .   I f   m o r e   i t e m s   e x i s t ,   t h e   s e r v e r   w i l l   s e t   t h e   c o n t i n u e   f i e l d   o n   t h e   l i s t   m e t a d a t a   t o   a   v a l u e   t h a t   c a n   b e   u s e d   w i t h   t h e   s a m e   i n i t i a l   q u e r y   t o   r e t r i e v e   t h e   n e x t   s e t   o f   r e s u l t s .   S e t t i n g   a   l i m i t   m a y   r e t u r n   f e w e r   t h a n   t h e   r e q u e s t e d   a m o u n t   o f   i t e m s   ( u p   t o   z e r o   i t e m s )   i n   t h e   e v e n t   a l l   r e q u e s t e d   o b j e c t s   a r e   f i l t e r e d   o u t   a n d   c l i e n t s   s h o u l d   o n l y   u s e   t h e   p r e s e n c e   o f   t h e   c o n t i n u e   f i e l d   t o   d e t e r m i n e   w h e t h e r   m o r e   r e s u l t s   a r e   a v a i l a b l e .   S e r v e r s   m a y   c h o o s e   n o t   t o   s u p p o r t   t h e   l i m i t   a r g u m e n t   a n d   w i l l   r e t u r n   a l l   o f   t h e   a v a i l a b l e   r e s u l t s .   I f   l i m i t   i s   s p e c i f i e d   a n d   t h e   c o n t i n u e   f i e l d   i s   e m p t y ,   c l i e n t s   m a y   a s s u m e   t h a t   n o   m o r e   r e s u l t s   a r e   a v a i l a b l e .   T h i s   f i e l d   i s   n o t   s u p p o r t e d   i f   w a t c h   i s   t r u e .   T h e   s e r v e r   g u a r a n t e e s   t h a t   t h e   o b j e c t s   r e t u r n e d   w h e n   u s i n g   c o n t i n u e   w i l l   b e   i d e n t i c a l   t o   i s s u i n g   a   s i n g l e   l i s t   c a l l   w i t h o u t   a   l i m i t   -   t h a t   i s ,   n o   o b j e c t s   c r e a t e d ,   m o d i f i e d ,   o r   d e l e t e d   a f t e r   t h e   f i r s t   r e q u e s t   i s   i s s u e d   w i l l   b e   i n c l u d e d   i n   a n y   s u b s e q u e n t   c ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21945"
  },
  {
    "question": "What is namespace?",
    "answer": "o b j e c t   n a m e   a n d   a u t h   s c o p e ,   s u c h   a s   f o r   t e a m s   a n d   p r o j e c t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21946"
  },
  {
    "question": "What is pretty?",
    "answer": "I f   ' t r u e ' ,   t h e n   t h e   o u t p u t   i s   p r e t t y   p r i n t e d .   D e f a u l t s   t o   ' f a l s e '   u n l e s s   t h e   u s e r - a g e n t   i n d i c a t e s   a   b r o w s e r   o r   c o m m a n d - l i n e   H T T P   t o o l   ( c u r l   a n d   w g e t ) .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21947"
  },
  {
    "question": "What is propagationPolicy?",
    "answer": "W h e t h e r   a n d   h o w   g a r b a g e   c o l l e c t i o n   w i l l   b e   p e r f o r m e d .   E i t h e r   t h i s   f i e l d   o r   O r p h a n D e p e n d e n t s   m a y   b e   s e t ,   b u t   n o t   b o t h .   T h e   d e f a u l t   p o l i c y   i s   d e c i d e d   b y   t h e   e x i s t i n g   f i n a l i z e r   s e t   i n   t h e   m e t a d a t a . f i n a l i z e r s   a n d   t h e   r e s o u r c e - s p e c i f i c   d e f a u l t   p o l i c y .   A c c e p t a b l e   v a l u e s   a r e :   ' O r p h a n '   -   o r p h a n   t h e   d e p e n d e n t s ;   ' B a c k g r o u n d '   -   a l l o w   t h e   g a r b a g e   c o l l e c t o r   t o   d e l e t e   t h e   d e p e n d e n t s   i n   t h e   b a c k g r o u n d ;   ' F o r e g r o u n d '   -   a   c a s c a d i n g   p o l i c y   t h a t   d e l e t e s   a l l   d e p e n d e n t s   i n   t h e   f o r e g r o u n d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21948"
  },
  {
    "question": "What is resourceVersion?",
    "answer": "r e s o u r c e V e r s i o n   s e t s   a   c o n s t r a i n t   o n   w h a t   r e s o u r c e   v e r s i o n s   a   r e q u e s t   m a y   b e   s e r v e d   f r o m .   S e e   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / u s i n g - a p i / a p i - c o n c e p t s / # r e s o u r c e - v e r s i o n s   f o r   d e t a i l s .   D e f a u l t s   t o   u n s e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21949"
  },
  {
    "question": "What is resourceVersionMatch?",
    "answer": "r e s o u r c e V e r s i o n M a t c h   d e t e r m i n e s   h o w   r e s o u r c e V e r s i o n   i s   a p p l i e d   t o   l i s t   c a l l s .   I t   i s   h i g h l y   r e c o m m e n d e d   t h a t   r e s o u r c e V e r s i o n M a t c h   b e   s e t   f o r   l i s t   c a l l s   w h e r e   r e s o u r c e V e r s i o n   i s   s e t   S e e   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / u s i n g - a p i / a p i - c o n c e p t s / # r e s o u r c e - v e r s i o n s   f o r   d e t a i l s .   D e f a u l t s   t o   u n s e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21950"
  },
  {
    "question": "What is sendInitialEvents?",
    "answer": "s e n d I n i t i a l E v e n t s = t r u e   m a y   b e   s e t   t o g e t h e r   w i t h   w a t c h = t r u e .   I n   t h a t   c a s e ,   t h e   w a t c h   s t r e a m   w i l l   b e g i n   w i t h   s y n t h e t i c   e v e n t s   t o   p r o d u c e   t h e   c u r r e n t   s t a t e   o f   o b j e c t s   i n   t h e   c o l l e c t i o n .   O n c e   a l l   s u c h   e v e n t s   h a v e   b e e n   s e n t ,   a   s y n t h e t i c   \" B o o k m a r k \"   e v e n t   w i l l   b e   s e n t .   T h e   b o o k m a r k   w i l l   r e p o r t   t h e   R e s o u r c e V e r s i o n   ( R V )   c o r r e s p o n d i n g   t o   t h e   s e t   o f   o b j e c t s ,   a n d   b e   m a r k e d   w i t h   \" k 8 s . i o / i n i t i a l - e v e n t s - e n d \" :   \" t r u e \"   a n n o t a t i o n .   A f t e r w a r d s ,   t h e   w a t c h   s t r e a m   w i l l   p r o c e e d   a s   u s u a l ,   s e n d i n g   w a t c h   e v e n t s   c o r r e s p o n d i n g   t o   c h a n g e s   ( s u b s e q u e n t   t o   t h e   R V )   t o   o b j e c t s   w a t c h e d .   W h e n   s e n d I n i t i a l E v e n t s   o p t i o n   i s   s e t ,   w e   r e q u i r e   r e s o u r c e V e r s i o n M a t c h   o p t i o n   t o   a l s o   b e   s e t .   T h e   s e m a n t i c   o f   t h e   w a t c h   r e q u e s t   i s   a s   f o l l o w i n g :   -   r e s o u r c e V e r s i o n M a t c h   =   N o t O l d e r T h a n   i s   i n t e r p r e t e d   a s   \" d a t a   a t   l e a s t   a s   n e w   a s   t h e   p r o v i d e d   r e s o u r c e V e r s i o n \"   a n d   t h e   b o o k m a r k   e v e n t   i s   s e n d   w h e n   t h e   s t a t e   i s   s y n c e d   t o   a   r e s o u r c e V e r s i o n   a t   l e a s t   a s   f r e s h   a s   t h e   o n e   p r o v i d e d   b y   t h e   L i s t O p t i o n s .   I f   r e s o u r c e V e r s i o n   i s   u n s e t ,   t h i s   i s   i n t e r p r e t e d   a s   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21951"
  },
  {
    "question": "What is timeoutSeconds?",
    "answer": "T i m e o u t   f o r   t h e   l i s t / w a t c h   c a l l .   T h i s   l i m i t s   t h e   d u r a t i o n   o f   t h e   c a l l ,   r e g a r d l e s s   o f   a n y   a c t i v i t y   o r   i n a c t i v i t y .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21952"
  },
  {
    "question": "What is watch?",
    "answer": "W a t c h   f o r   c h a n g e s   t o   t h e   d e s c r i b e d   r e s o u r c e s   a n d   r e t u r n   t h e m   a s   a   s t r e a m   o f   a d d ,   u p d a t e ,   a n d   r e m o v e   n o t i f i c a t i o n s .   S p e c i f y   r e s o u r c e V e r s i o n .   ©   2 0 2 5   T h e   K u b e r n e t e s   A u t h o r s   |   D o c u m e n t a t i o n   D i s t r i b u t e d   u n d e r   C C   B Y   4 . 0   ©   2 0 2 5   T h e   L i n u x   F o u n d a t i o n   ® .   A l l   r i g h t s   r e s e r v e d .   T h e   L i n u x   F o u n d a t i o n   h a s   r e g i s t e r e d   t r a d e m a r k s   a n d   u s e s   t r a d e m a r k s .   F o r   a   l i s t   o f   t r a d e m a r k s   o f   T h e   L i n u x   F o u n d a t i o n ,   p l e a s e   s e e   o u r   T r a d e m a r k   U s a g e   p a g e   I C P   l i c e n s e :   京 I C P 备 1 7 0 7 4 2 6 6 号 - 3",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/kubernetes-api/_print/",
    "id": "k8s_00783_section_2_21953"
  },
  {
    "question": "What is Container Runtimes?",
    "answer": "Container RuntimesNote: Dockershim has been removed from the Kubernetes project as of release 1.24. Read the Dockershim Removal FAQ for further details.You need to install a container runtime into each node in the cluster so that Pods can run there. This page outlines what is involved and describes related tasks for setting up nodes.Kubernetes 1.34 requires that you use a runtime that conforms with the Container Runtime Interface (CRI).See CRI version support for more information.This page provides an outline of how to use several common container runtimes with Kubernetes.containerdCRI-ODocker EngineMirantis Container RuntimeNote:Kubernetes releases before v1.24 included a direct integration with Docker Engine, using a component named dockershim. That special direct integration is no longer part of Kubernetes (this removal was announced as part of the v1.20 release). You can read Check whether Dockershim removal affects you to understand how this removal might affect you. To learn about migrating from using dockershim, see Migrating from dockershim.If you are running a version of Kubernetes other than v1.34, check the documentation for that version.Install and configure prerequisitesNetwork configurationBy default, the Linux kernel does not allow IPv4 packets to be routed between interfaces. Most Kubernetes cluster networking implementations will change this setting (if needed), but some might expect the administrator to do it for them. (Some might also expect other sysctl parameters to be set, kernel modules to be loaded, etc; consult the documentation for your specific network implementation.)Enable IPv4 packet forwardingTo manually enable IPv4 packet forwarding:# sysctl params required by setup, params persist across reboots cat <<EOF | sudo tee /etc/sysctl.d/k8s.conf net.ipv4.ip_forward = 1 EOF # Apply sysctl params without reboot sudo sysctl --system Verify that net.ipv4.ip_forward is set to 1 with:sysctl net.ipv4.ip_forward cgroup driversOn Linux, control groups are used to constrain resources that are allocated to processes.Both the kubelet and the underlying container runtime need to interface with control groups to enforce resource management for pods and containers and set resources such as cpu/memory requests and limits. To interface with control groups, the kubelet and the container runtime need to use a cgroup driver. It's critical that the kubelet and the container runtime use the same cgroup driver and are configured the same.There are two cgroup drivers available:cgroupfssystemdcgroupfs driverThe cgroupfs driver is the default cgroup driver in the kubelet. When the cgroupfs driver is used, the kubelet and the container runtime directly interface with the cgroup filesystem to configure cgroups.The cgroupfs driver is not recommended when systemd is the init system because systemd expects a single cgroup manager on the system. Additionally, if you use cgroup v2, use the systemd cgroup driver instead of cgroupfs.systemd cgroup driverW",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes",
    "id": "k8s_00784_qa_21954"
  },
  {
    "question": "How does Container Runtimes work?",
    "answer": "Container RuntimesNote: Dockershim has been removed from the Kubernetes project as of release 1.24. Read the Dockershim Removal FAQ for further details.You need to install a container runtime into each node in the cluster so that Pods can run there. This page outlines what is involved and describes related tasks for setting up nodes.Kubernetes 1.34 requires that you use a runtime that conforms with the Container Runtime Interface (CRI).See CRI version support for more information.This page provides an outline of how to use several common container runtimes with Kubernetes.containerdCRI-ODocker EngineMirantis Container RuntimeNote:Kubernetes releases before v1.24 included a direct integration with Docker Engine, using a component named dockershim. That special direct integration is no longer part of Kubernetes (this removal was announced as part of the v1.20 release). You can read Check whether Dockershim removal affects you to understand how this removal might affect you. To learn about migrating from using dockershim, see Migrating from dockershim.If you are running a version of Kubernetes other than v1.34, check the documentation for that version.Install and configure prerequisitesNetwork configurationBy default, the Linux kernel does not allow IPv4 packets to be routed between interfaces. Most Kubernetes cluster networking implementations will change this setting (if needed), but some might expect the administrator to do it for them. (Some might also expect other sysctl parameters to be set, kernel modules to be loaded, etc; consult the documentation for your specific network implementation.)Enable IPv4 packet forwardingTo manually enable IPv4 packet forwarding:# sysctl params required by setup, params persist across reboots cat <<EOF | sudo tee /etc/sysctl.d/k8s.conf net.ipv4.ip_forward = 1 EOF # Apply sysctl params without reboot sudo sysctl --system Verify that net.ipv4.ip_forward is set to 1 with:sysctl net.ipv4.ip_forward cgroup driversOn Linux, control groups are used to constrain resources that are allocated to processes.Both the kubelet and the underlying container runtime need to interface with control groups to enforce resource management for pods and containers and set resources such as cpu/memory requests and limits. To interface with control groups, the kubelet and the container runtime need to use a cgroup driver. It's critical that the kubelet and the container runtime use the same cgroup driver and are configured the same.There are two cgroup drivers available:cgroupfssystemdcgroupfs driverThe cgroupfs driver is the default cgroup driver in the kubelet. When the cgroupfs driver is used, the kubelet and the container runtime directly interface with the cgroup filesystem to configure cgroups.The cgroupfs driver is not recommended when systemd is the init system because systemd expects a single cgroup manager on the system. Additionally, if you use cgroup v2, use the systemd cgroup driver instead of cgroupfs.systemd cgroup driverW",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes",
    "id": "k8s_00784_qa_21955"
  },
  {
    "question": "When would you use Container Runtimes?",
    "answer": "Container RuntimesNote: Dockershim has been removed from the Kubernetes project as of release 1.24. Read the Dockershim Removal FAQ for further details.You need to install a container runtime into each node in the cluster so that Pods can run there. This page outlines what is involved and describes related tasks for setting up nodes.Kubernetes 1.34 requires that you use a runtime that conforms with the Container Runtime Interface (CRI).See CRI version support for more information.This page provides an outline of how to use several common container runtimes with Kubernetes.containerdCRI-ODocker EngineMirantis Container RuntimeNote:Kubernetes releases before v1.24 included a direct integration with Docker Engine, using a component named dockershim. That special direct integration is no longer part of Kubernetes (this removal was announced as part of the v1.20 release). You can read Check whether Dockershim removal affects you to understand how this removal might affect you. To learn about migrating from using dockershim, see Migrating from dockershim.If you are running a version of Kubernetes other than v1.34, check the documentation for that version.Install and configure prerequisitesNetwork configurationBy default, the Linux kernel does not allow IPv4 packets to be routed between interfaces. Most Kubernetes cluster networking implementations will change this setting (if needed), but some might expect the administrator to do it for them. (Some might also expect other sysctl parameters to be set, kernel modules to be loaded, etc; consult the documentation for your specific network implementation.)Enable IPv4 packet forwardingTo manually enable IPv4 packet forwarding:# sysctl params required by setup, params persist across reboots cat <<EOF | sudo tee /etc/sysctl.d/k8s.conf net.ipv4.ip_forward = 1 EOF # Apply sysctl params without reboot sudo sysctl --system Verify that net.ipv4.ip_forward is set to 1 with:sysctl net.ipv4.ip_forward cgroup driversOn Linux, control groups are used to constrain resources that are allocated to processes.Both the kubelet and the underlying container runtime need to interface with control groups to enforce resource management for pods and containers and set resources such as cpu/memory requests and limits. To interface with control groups, the kubelet and the container runtime need to use a cgroup driver. It's critical that the kubelet and the container runtime use the same cgroup driver and are configured the same.There are two cgroup drivers available:cgroupfssystemdcgroupfs driverThe cgroupfs driver is the default cgroup driver in the kubelet. When the cgroupfs driver is used, the kubelet and the container runtime directly interface with the cgroup filesystem to configure cgroups.The cgroupfs driver is not recommended when systemd is the init system because systemd expects a single cgroup manager on the system. Additionally, if you use cgroup v2, use the systemd cgroup driver instead of cgroupfs.systemd cgroup driverW",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes",
    "id": "k8s_00784_qa_21956"
  },
  {
    "question": "What are the benefits of Container Runtimes?",
    "answer": "Container RuntimesNote: Dockershim has been removed from the Kubernetes project as of release 1.24. Read the Dockershim Removal FAQ for further details.You need to install a container runtime into each node in the cluster so that Pods can run there. This page outlines what is involved and describes related tasks for setting up nodes.Kubernetes 1.34 requires that you use a runtime that conforms with the Container Runtime Interface (CRI).See CRI version support for more information.This page provides an outline of how to use several common container runtimes with Kubernetes.containerdCRI-ODocker EngineMirantis Container RuntimeNote:Kubernetes releases before v1.24 included a direct integration with Docker Engine, using a component named dockershim. That special direct integration is no longer part of Kubernetes (this removal was announced as part of the v1.20 release). You can read Check whether Dockershim removal affects you to understand how this removal might affect you. To learn about migrating from using dockershim, see Migrating from dockershim.If you are running a version of Kubernetes other than v1.34, check the documentation for that version.Install and configure prerequisitesNetwork configurationBy default, the Linux kernel does not allow IPv4 packets to be routed between interfaces. Most Kubernetes cluster networking implementations will change this setting (if needed), but some might expect the administrator to do it for them. (Some might also expect other sysctl parameters to be set, kernel modules to be loaded, etc; consult the documentation for your specific network implementation.)Enable IPv4 packet forwardingTo manually enable IPv4 packet forwarding:# sysctl params required by setup, params persist across reboots cat <<EOF | sudo tee /etc/sysctl.d/k8s.conf net.ipv4.ip_forward = 1 EOF # Apply sysctl params without reboot sudo sysctl --system Verify that net.ipv4.ip_forward is set to 1 with:sysctl net.ipv4.ip_forward cgroup driversOn Linux, control groups are used to constrain resources that are allocated to processes.Both the kubelet and the underlying container runtime need to interface with control groups to enforce resource management for pods and containers and set resources such as cpu/memory requests and limits. To interface with control groups, the kubelet and the container runtime need to use a cgroup driver. It's critical that the kubelet and the container runtime use the same cgroup driver and are configured the same.There are two cgroup drivers available:cgroupfssystemdcgroupfs driverThe cgroupfs driver is the default cgroup driver in the kubelet. When the cgroupfs driver is used, the kubelet and the container runtime directly interface with the cgroup filesystem to configure cgroups.The cgroupfs driver is not recommended when systemd is the init system because systemd expects a single cgroup manager on the system. Additionally, if you use cgroup v2, use the systemd cgroup driver instead of cgroupfs.systemd cgroup driverW",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes",
    "id": "k8s_00784_qa_21957"
  },
  {
    "question": "What is Container Runtimes?",
    "answer": "Y o u   n e e d   t o   i n s t a l l   a   c o n t a i n e r   r u n t i m e   i n t o   e a c h   n o d e   i n   t h e   c l u s t e r   s o   t h a t   P o d s   c a n   r u n   t h e r e .   T h i s   p a g e   o u t l i n e s   w h a t   i s   i n v o l v e d   a n d   d e s c r i b e s   r e l a t e d   t a s k s   f o r   s e t t i n g   u p   n o d e s .   K u b e r n e t e s   1 . 3 4   r e q u i r e s   t h a t   y o u   u s e   a   r u n t i m e   t h a t   c o n f o r m s   w i t h   t h e   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I ) .   S e e   C R I   v e r s i o n   s u p p o r t   f o r   m o r e   i n f o r m a t i o n .   T h i s   p a g e   p r o v i d e s   a n   o u t l i n e   o f   h o w   t o   u s e   s e v e r a l   c o m m o n   c o n t a i n e r   r u n t i m e s   w i t h   K u b e r n e t e s .   c o n t a i n e r d C R I - O D o c k e r   E n g i n e M i r a n t i s   C o n t a i n e r   R u n t i m e",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes",
    "id": "k8s_00784_section_1_21958"
  },
  {
    "question": "What is Note:?",
    "answer": "K u b e r n e t e s   r e l e a s e s   b e f o r e   v 1 . 2 4   i n c l u d e d   a   d i r e c t   i n t e g r a t i o n   w i t h   D o c k e r   E n g i n e ,   u s i n g   a   c o m p o n e n t   n a m e d   d o c k e r s h i m .   T h a t   s p e c i a l   d i r e c t   i n t e g r a t i o n   i s   n o   l o n g e r   p a r t   o f   K u b e r n e t e s   ( t h i s   r e m o v a l   w a s   a n n o u n c e d   a s   p a r t   o f   t h e   v 1 . 2 0   r e l e a s e ) .   Y o u   c a n   r e a d   C h e c k   w h e t h e r   D o c k e r s h i m   r e m o v a l   a f f e c t s   y o u   t o   u n d e r s t a n d   h o w   t h i s   r e m o v a l   m i g h t   a f f e c t   y o u .   T o   l e a r n   a b o u t   m i g r a t i n g   f r o m   u s i n g   d o c k e r s h i m ,   s e e   M i g r a t i n g   f r o m   d o c k e r s h i m .   I f   y o u   a r e   r u n n i n g   a   v e r s i o n   o f   K u b e r n e t e s   o t h e r   t h a n   v 1 . 3 4 ,   c h e c k   t h e   d o c u m e n t a t i o n   f o r   t h a t   v e r s i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes",
    "id": "k8s_00784_section_4_21959"
  },
  {
    "question": "What is Network configuration?",
    "answer": "B y   d e f a u l t ,   t h e   L i n u x   k e r n e l   d o e s   n o t   a l l o w   I P v 4   p a c k e t s   t o   b e   r o u t e d   b e t w e e n   i n t e r f a c e s .   M o s t   K u b e r n e t e s   c l u s t e r   n e t w o r k i n g   i m p l e m e n t a t i o n s   w i l l   c h a n g e   t h i s   s e t t i n g   ( i f   n e e d e d ) ,   b u t   s o m e   m i g h t   e x p e c t   t h e   a d m i n i s t r a t o r   t o   d o   i t   f o r   t h e m .   ( S o m e   m i g h t   a l s o   e x p e c t   o t h e r   s y s c t l   p a r a m e t e r s   t o   b e   s e t ,   k e r n e l   m o d u l e s   t o   b e   l o a d e d ,   e t c ;   c o n s u l t   t h e   d o c u m e n t a t i o n   f o r   y o u r   s p e c i f i c   n e t w o r k   i m p l e m e n t a t i o n . )",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes",
    "id": "k8s_00784_section_3_21960"
  },
  {
    "question": "What is Enable IPv4 packet forwarding?",
    "answer": "T o   m a n u a l l y   e n a b l e   I P v 4   p a c k e t   f o r w a r d i n g :   #   s y s c t l   p a r a m s   r e q u i r e d   b y   s e t u p ,   p a r a m s   p e r s i s t   a c r o s s   r e b o o t s   c a t   < < E O F   |   s u d o   t e e   / e t c / s y s c t l . d / k 8 s . c o n f   n e t . i p v 4 . i p _ f o r w a r d   =   1   E O F   #   A p p l y   s y s c t l   p a r a m s   w i t h o u t   r e b o o t   s u d o   s y s c t l   - - s y s t e m   V e r i f y   t h a t   n e t . i p v 4 . i p _ f o r w a r d   i s   s e t   t o   1   w i t h :   s y s c t l   n e t . i p v 4 . i p _ f o r w a r d",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes",
    "id": "k8s_00784_section_3_21961"
  },
  {
    "question": "What is cgroup drivers?",
    "answer": "O n   L i n u x ,   c o n t r o l   g r o u p s   a r e   u s e d   t o   c o n s t r a i n   r e s o u r c e s   t h a t   a r e   a l l o c a t e d   t o   p r o c e s s e s .   B o t h   t h e   k u b e l e t   a n d   t h e   u n d e r l y i n g   c o n t a i n e r   r u n t i m e   n e e d   t o   i n t e r f a c e   w i t h   c o n t r o l   g r o u p s   t o   e n f o r c e   r e s o u r c e   m a n a g e m e n t   f o r   p o d s   a n d   c o n t a i n e r s   a n d   s e t   r e s o u r c e s   s u c h   a s   c p u / m e m o r y   r e q u e s t s   a n d   l i m i t s .   T o   i n t e r f a c e   w i t h   c o n t r o l   g r o u p s ,   t h e   k u b e l e t   a n d   t h e   c o n t a i n e r   r u n t i m e   n e e d   t o   u s e   a   c g r o u p   d r i v e r .   I t ' s   c r i t i c a l   t h a t   t h e   k u b e l e t   a n d   t h e   c o n t a i n e r   r u n t i m e   u s e   t h e   s a m e   c g r o u p   d r i v e r   a n d   a r e   c o n f i g u r e d   t h e   s a m e .   T h e r e   a r e   t w o   c g r o u p   d r i v e r s   a v a i l a b l e :   c g r o u p f s s y s t e m d",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes",
    "id": "k8s_00784_section_2_21962"
  },
  {
    "question": "What is cgroupfs driver?",
    "answer": "T h e   c g r o u p f s   d r i v e r   i s   t h e   d e f a u l t   c g r o u p   d r i v e r   i n   t h e   k u b e l e t .   W h e n   t h e   c g r o u p f s   d r i v e r   i s   u s e d ,   t h e   k u b e l e t   a n d   t h e   c o n t a i n e r   r u n t i m e   d i r e c t l y   i n t e r f a c e   w i t h   t h e   c g r o u p   f i l e s y s t e m   t o   c o n f i g u r e   c g r o u p s .   T h e   c g r o u p f s   d r i v e r   i s   n o t   r e c o m m e n d e d   w h e n   s y s t e m d   i s   t h e   i n i t   s y s t e m   b e c a u s e   s y s t e m d   e x p e c t s   a   s i n g l e   c g r o u p   m a n a g e r   o n   t h e   s y s t e m .   A d d i t i o n a l l y ,   i f   y o u   u s e   c g r o u p   v 2 ,   u s e   t h e   s y s t e m d   c g r o u p   d r i v e r   i n s t e a d   o f   c g r o u p f s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes",
    "id": "k8s_00784_section_3_21963"
  },
  {
    "question": "What is systemd cgroup driver?",
    "answer": "W h e n   s y s t e m d   i s   c h o s e n   a s   t h e   i n i t   s y s t e m   f o r   a   L i n u x   d i s t r i b u t i o n ,   t h e   i n i t   p r o c e s s   g e n e r a t e s   a n d   c o n s u m e s   a   r o o t   c o n t r o l   g r o u p   ( c g r o u p )   a n d   a c t s   a s   a   c g r o u p   m a n a g e r .   s y s t e m d   h a s   a   t i g h t   i n t e g r a t i o n   w i t h   c g r o u p s   a n d   a l l o c a t e s   a   c g r o u p   p e r   s y s t e m d   u n i t .   A s   a   r e s u l t ,   i f   y o u   u s e   s y s t e m d   a s   t h e   i n i t   s y s t e m   w i t h   t h e   c g r o u p f s   d r i v e r ,   t h e   s y s t e m   g e t s   t w o   d i f f e r e n t   c g r o u p   m a n a g e r s .   T w o   c g r o u p   m a n a g e r s   r e s u l t   i n   t w o   v i e w s   o f   t h e   a v a i l a b l e   a n d   i n - u s e   r e s o u r c e s   i n   t h e   s y s t e m .   I n   s o m e   c a s e s ,   n o d e s   t h a t   a r e   c o n f i g u r e d   t o   u s e   c g r o u p f s   f o r   t h e   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e ,   b u t   u s e   s y s t e m d   f o r   t h e   r e s t   o f   t h e   p r o c e s s e s   b e c o m e   u n s t a b l e   u n d e r   r e s o u r c e   p r e s s u r e .   T h e   a p p r o a c h   t o   m i t i g a t e   t h i s   i n s t a b i l i t y   i s   t o   u s e   s y s t e m d   a s   t h e   c g r o u p   d r i v e r   f o r   t h e   k u b e l e t   a n d   t h e   c o n t a i n e r   r u n t i m e   w h e n   s y s t e m d   i s   t h e   s e l e c t e d   i n i t   s y s t e m .   T o   s e t   s y s t e m d   a s   t h e   c g r o u p   d r i v e r ,   e d i t   t h e   K u b e l e t C o n f i g u r a t i o n   o p t i o n   o f   c g r o u p D r i v e r   a n d   s e t   i t   t o   s y s t e m d .   F o r   e x a m p l e :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes",
    "id": "k8s_00784_section_3_21964"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   c o n f i g u r e   s y s t e m d   a s   t h e   c g r o u p   d r i v e r   f o r   t h e   k u b e l e t ,   y o u   m u s t   a l s o   c o n f i g u r e   s y s t e m d   a s   t h e   c g r o u p   d r i v e r   f o r   t h e   c o n t a i n e r   r u n t i m e .   R e f e r   t o   t h e   d o c u m e n t a t i o n   f o r   y o u r   c o n t a i n e r   r u n t i m e   f o r   i n s t r u c t i o n s .   F o r   e x a m p l e :   c o n t a i n e r d C R I - O   I n   K u b e r n e t e s   1 . 3 4 ,   w i t h   t h e   K u b e l e t C g r o u p D r i v e r F r o m C R I   f e a t u r e   g a t e   e n a b l e d   a n d   a   c o n t a i n e r   r u n t i m e   t h a t   s u p p o r t s   t h e   R u n t i m e C o n f i g   C R I   R P C ,   t h e   k u b e l e t   a u t o m a t i c a l l y   d e t e c t s   t h e   a p p r o p r i a t e   c g r o u p   d r i v e r   f r o m   t h e   r u n t i m e ,   a n d   i g n o r e s   t h e   c g r o u p D r i v e r   s e t t i n g   w i t h i n   t h e   k u b e l e t   c o n f i g u r a t i o n .   H o w e v e r ,   o l d e r   v e r s i o n s   o f   c o n t a i n e r   r u n t i m e s   ( s p e c i f i c a l l y ,   c o n t a i n e r d   1 . y   a n d   b e l o w )   d o   n o t   s u p p o r t   t h e   R u n t i m e C o n f i g   C R I   R P C ,   a n d   m a y   n o t   r e s p o n d   c o r r e c t l y   t o   t h i s   q u e r y ,   a n d   t h u s   t h e   K u b e l e t   f a l l s   b a c k   t o   u s i n g   t h e   v a l u e   i n   i t s   o w n   - - c g r o u p - d r i v e r   f l a g .   I n   K u b e r n e t e s   1 . 3 6 ,   t h i s   f a l l b a c k   b e h a v i o r   w i l l   b e   d r o p p e d ,   a n d   o l d e r   v e r s i o n s   o f   c o n t a i n e r d   w i l l   f a i l   w i t h   n e w e r   k u b e l e t s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes",
    "id": "k8s_00784_section_4_21965"
  },
  {
    "question": "What is Caution:?",
    "answer": "C h a n g i n g   t h e   c g r o u p   d r i v e r   o f   a   N o d e   t h a t   h a s   j o i n e d   a   c l u s t e r   i s   a   s e n s i t i v e   o p e r a t i o n .   I f   t h e   k u b e l e t   h a s   c r e a t e d   P o d s   u s i n g   t h e   s e m a n t i c s   o f   o n e   c g r o u p   d r i v e r ,   c h a n g i n g   t h e   c o n t a i n e r   r u n t i m e   t o   a n o t h e r   c g r o u p   d r i v e r   c a n   c a u s e   e r r o r s   w h e n   t r y i n g   t o   r e - c r e a t e   t h e   P o d   s a n d b o x   f o r   s u c h   e x i s t i n g   P o d s .   R e s t a r t i n g   t h e   k u b e l e t   m a y   n o t   s o l v e   s u c h   e r r o r s .   I f   y o u   h a v e   a u t o m a t i o n   t h a t   m a k e s   i t   f e a s i b l e ,   r e p l a c e   t h e   n o d e   w i t h   a n o t h e r   u s i n g   t h e   u p d a t e d   c o n f i g u r a t i o n ,   o r   r e i n s t a l l   i t   u s i n g   a u t o m a t i o n .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes",
    "id": "k8s_00784_section_4_21966"
  },
  {
    "question": "What is Migrating to the systemd driver in kubeadm managed clusters?",
    "answer": "I f   y o u   w i s h   t o   m i g r a t e   t o   t h e   s y s t e m d   c g r o u p   d r i v e r   i n   e x i s t i n g   k u b e a d m   m a n a g e d   c l u s t e r s ,   f o l l o w   c o n f i g u r i n g   a   c g r o u p   d r i v e r .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes",
    "id": "k8s_00784_section_3_21967"
  },
  {
    "question": "What is CRI version support?",
    "answer": "Y o u r   c o n t a i n e r   r u n t i m e   m u s t   s u p p o r t   a t   l e a s t   v 1 a l p h a 2   o f   t h e   c o n t a i n e r   r u n t i m e   i n t e r f a c e .   K u b e r n e t e s   s t a r t i n g   v 1 . 2 6   o n l y   w o r k s   w i t h   v 1   o f   t h e   C R I   A P I .   E a r l i e r   v e r s i o n s   d e f a u l t   t o   v 1   v e r s i o n ,   h o w e v e r   i f   a   c o n t a i n e r   r u n t i m e   d o e s   n o t   s u p p o r t   t h e   v 1   A P I ,   t h e   k u b e l e t   f a l l s   b a c k   t o   u s i n g   t h e   ( d e p r e c a t e d )   v 1 a l p h a 2   A P I   i n s t e a d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes",
    "id": "k8s_00784_section_2_21968"
  },
  {
    "question": "What is containerd?",
    "answer": "T h i s   s e c t i o n   o u t l i n e s   t h e   n e c e s s a r y   s t e p s   t o   u s e   c o n t a i n e r d   a s   C R I   r u n t i m e .   T o   i n s t a l l   c o n t a i n e r d   o n   y o u r   s y s t e m ,   f o l l o w   t h e   i n s t r u c t i o n s   o n   g e t t i n g   s t a r t e d   w i t h   c o n t a i n e r d .   R e t u r n   t o   t h i s   s t e p   o n c e   y o u ' v e   c r e a t e d   a   v a l i d   c o n f i g . t o m l   c o n f i g u r a t i o n   f i l e .   Y o u   c a n   f i n d   t h i s   f i l e   u n d e r   t h e   p a t h   / e t c / c o n t a i n e r d / c o n f i g . t o m l .   Y o u   c a n   f i n d   t h i s   f i l e   u n d e r   t h e   p a t h   / e t c / c o n t a i n e r d / c o n f i g . t o m l .   Y o u   c a n   f i n d   t h i s   f i l e   u n d e r   t h e   p a t h   C : \\ P r o g r a m   F i l e s \\ c o n t a i n e r d \\ c o n f i g . t o m l .   Y o u   c a n   f i n d   t h i s   f i l e   u n d e r   t h e   p a t h   C : \\ P r o g r a m   F i l e s \\ c o n t a i n e r d \\ c o n f i g . t o m l .   O n   L i n u x   t h e   d e f a u l t   C R I   s o c k e t   f o r   c o n t a i n e r d   i s   / r u n / c o n t a i n e r d / c o n t a i n e r d . s o c k .   O n   W i n d o w s   t h e   d e f a u l t   C R I   e n d p o i n t   i s   n p i p e : / / . / p i p e / c o n t a i n e r d - c o n t a i n e r d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes",
    "id": "k8s_00784_section_3_21969"
  },
  {
    "question": "What is Configuring the systemd cgroup driver?",
    "answer": "T o   u s e   t h e   s y s t e m d   c g r o u p   d r i v e r   i n   / e t c / c o n t a i n e r d / c o n f i g . t o m l   w i t h   r u n c ,   s e t   t h e   f o l l o w i n g   c o n f i g   b a s e d   o n   y o u r   C o n t a i n e r d   v e r s i o n   C o n t a i n e r d   v e r s i o n s   1 . x :   [ p l u g i n s . \" i o . c o n t a i n e r d . g r p c . v 1 . c r i \" . c o n t a i n e r d . r u n t i m e s . r u n c ]   . . .   [ p l u g i n s . \" i o . c o n t a i n e r d . g r p c . v 1 . c r i \" . c o n t a i n e r d . r u n t i m e s . r u n c . o p t i o n s ]   S y s t e m d C g r o u p   =   t r u e   C o n t a i n e r d   v e r s i o n s   2 . x :   [ p l u g i n s . ' i o . c o n t a i n e r d . c r i . v 1 . r u n t i m e ' . c o n t a i n e r d . r u n t i m e s . r u n c ]   . . .   [ p l u g i n s . ' i o . c o n t a i n e r d . c r i . v 1 . r u n t i m e ' . c o n t a i n e r d . r u n t i m e s . r u n c . o p t i o n s ]   S y s t e m d C g r o u p   =   t r u e   T h e   s y s t e m d   c g r o u p   d r i v e r   i s   r e c o m m e n d e d   i f   y o u   u s e   c g r o u p   v 2 .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes",
    "id": "k8s_00784_section_4_21970"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   i n s t a l l e d   c o n t a i n e r d   f r o m   a   p a c k a g e   ( f o r   e x a m p l e ,   R P M   o r   . d e b ) ,   y o u   m a y   f i n d   t h a t   t h e   C R I   i n t e g r a t i o n   p l u g i n   i s   d i s a b l e d   b y   d e f a u l t .   Y o u   n e e d   C R I   s u p p o r t   e n a b l e d   t o   u s e   c o n t a i n e r d   w i t h   K u b e r n e t e s .   M a k e   s u r e   t h a t   c r i   i s   n o t   i n c l u d e d   i n   t h e d i s a b l e d _ p l u g i n s   l i s t   w i t h i n   / e t c / c o n t a i n e r d / c o n f i g . t o m l ;   i f   y o u   m a d e   c h a n g e s   t o   t h a t   f i l e ,   a l s o   r e s t a r t   c o n t a i n e r d .   I f   y o u   e x p e r i e n c e   c o n t a i n e r   c r a s h   l o o p s   a f t e r   t h e   i n i t i a l   c l u s t e r   i n s t a l l a t i o n   o r   a f t e r   i n s t a l l i n g   a   C N I ,   t h e   c o n t a i n e r d   c o n f i g u r a t i o n   p r o v i d e d   w i t h   t h e   p a c k a g e   m i g h t   c o n t a i n   i n c o m p a t i b l e   c o n f i g u r a t i o n   p a r a m e t e r s .   C o n s i d e r   r e s e t t i n g   t h e   c o n t a i n e r d   c o n f i g u r a t i o n   w i t h   c o n t a i n e r d   c o n f i g   d e f a u l t   >   / e t c / c o n t a i n e r d / c o n f i g . t o m l   a s   s p e c i f i e d   i n   g e t t i n g - s t a r t e d . m d   a n d   t h e n   s e t   t h e   c o n f i g u r a t i o n   p a r a m e t e r s   s p e c i f i e d   a b o v e   a c c o r d i n g l y .   I f   y o u   a p p l y   t h i s   c h a n g e ,   m a k e   s u r e   t o   r e s t a r t   c o n t a i n e r d :   s u d o   s y s t e m c t l   r e s t a r t   c o n t a i n e r d   W h e n   u s i n g   k u b e a d m ,   m a n u a l l y   c o n f i g u r e   t h e   c g r o u p   d r i v e r   f o r   k u b e l e t .   I n   K u b e r n e t e s   v 1 . 2 8 ,   y o u   c a n   e n a b l e   a u t o m a t i c   ",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes",
    "id": "k8s_00784_section_4_21971"
  },
  {
    "question": "What is Overriding the sandbox (pause) image?",
    "answer": "I n   y o u r   c o n t a i n e r d   c o n f i g   y o u   c a n   o v e r w r i t e   t h e   s a n d b o x   i m a g e   b y   s e t t i n g   t h e   f o l l o w i n g   c o n f i g :   [ p l u g i n s . \" i o . c o n t a i n e r d . g r p c . v 1 . c r i \" ]   s a n d b o x _ i m a g e   =   \" r e g i s t r y . k 8 s . i o / p a u s e : 3 . 1 0 \"   Y o u   m i g h t   n e e d   t o   r e s t a r t   c o n t a i n e r d   a s   w e l l   o n c e   y o u ' v e   u p d a t e d   t h e   c o n f i g   f i l e :   s y s t e m c t l   r e s t a r t   c o n t a i n e r d .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes",
    "id": "k8s_00784_section_4_21972"
  },
  {
    "question": "What is CRI-O?",
    "answer": "T h i s   s e c t i o n   c o n t a i n s   t h e   n e c e s s a r y   s t e p s   t o   i n s t a l l   C R I - O   a s   a   c o n t a i n e r   r u n t i m e .   T o   i n s t a l l   C R I - O ,   f o l l o w   C R I - O   I n s t a l l   I n s t r u c t i o n s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes",
    "id": "k8s_00784_section_3_21973"
  },
  {
    "question": "What is cgroup driver?",
    "answer": "C R I - O   u s e s   t h e   s y s t e m d   c g r o u p   d r i v e r   p e r   d e f a u l t ,   w h i c h   i s   l i k e l y   t o   w o r k   f i n e   f o r   y o u .   T o   s w i t c h   t o   t h e   c g r o u p f s   c g r o u p   d r i v e r ,   e i t h e r   e d i t   / e t c / c r i o / c r i o . c o n f   o r   p l a c e   a   d r o p - i n   c o n f i g u r a t i o n   i n   / e t c / c r i o / c r i o . c o n f . d / 0 2 - c g r o u p - m a n a g e r . c o n f ,   f o r   e x a m p l e :   [ c r i o . r u n t i m e ]   c o n m o n _ c g r o u p   =   \" p o d \"   c g r o u p _ m a n a g e r   =   \" c g r o u p f s \"   Y o u   s h o u l d   a l s o   n o t e   t h e   c h a n g e d   c o n m o n _ c g r o u p ,   w h i c h   h a s   t o   b e   s e t   t o   t h e   v a l u e   p o d   w h e n   u s i n g   C R I - O   w i t h   c g r o u p f s .   I t   i s   g e n e r a l l y   n e c e s s a r y   t o   k e e p   t h e   c g r o u p   d r i v e r   c o n f i g u r a t i o n   o f   t h e   k u b e l e t   ( u s u a l l y   d o n e   v i a   k u b e a d m )   a n d   C R I - O   i n   s y n c .   I n   K u b e r n e t e s   v 1 . 2 8 ,   y o u   c a n   e n a b l e   a u t o m a t i c   d e t e c t i o n   o f   t h e   c g r o u p   d r i v e r   a s   a n   a l p h a   f e a t u r e .   S e e   s y s t e m d   c g r o u p   d r i v e r   f o r   m o r e   d e t a i l s .   F o r   C R I - O ,   t h e   C R I   s o c k e t   i s   / v a r / r u n / c r i o / c r i o . s o c k   b y   d e f a u l t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes",
    "id": "k8s_00784_section_4_21974"
  },
  {
    "question": "What is Overriding the sandbox (pause) image?",
    "answer": "I n   y o u r   C R I - O   c o n f i g   y o u   c a n   s e t   t h e   f o l l o w i n g   c o n f i g   v a l u e :   [ c r i o . i m a g e ]   p a u s e _ i m a g e = \" r e g i s t r y . k 8 s . i o / p a u s e : 3 . 1 0 \"   T h i s   c o n f i g   o p t i o n   s u p p o r t s   l i v e   c o n f i g u r a t i o n   r e l o a d   t o   a p p l y   t h i s   c h a n g e :   s y s t e m c t l   r e l o a d   c r i o   o r   b y   s e n d i n g   S I G H U P   t o   t h e   c r i o   p r o c e s s .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes",
    "id": "k8s_00784_section_4_21975"
  },
  {
    "question": "What is Note:?",
    "answer": "O n   e a c h   o f   y o u r   n o d e s ,   i n s t a l l   D o c k e r   f o r   y o u r   L i n u x   d i s t r i b u t i o n   a s   p e r   I n s t a l l   D o c k e r   E n g i n e . I n s t a l l   c r i - d o c k e r d ,   f o l l o w i n g   t h e   d i r e c t i o n s   i n   t h e   i n s t a l l   s e c t i o n   o f   t h e   d o c u m e n t a t i o n .   O n   e a c h   o f   y o u r   n o d e s ,   i n s t a l l   D o c k e r   f o r   y o u r   L i n u x   d i s t r i b u t i o n   a s   p e r   I n s t a l l   D o c k e r   E n g i n e .   I n s t a l l   c r i - d o c k e r d ,   f o l l o w i n g   t h e   d i r e c t i o n s   i n   t h e   i n s t a l l   s e c t i o n   o f   t h e   d o c u m e n t a t i o n .   F o r   c r i - d o c k e r d ,   t h e   C R I   s o c k e t   i s   / r u n / c r i - d o c k e r d . s o c k   b y   d e f a u l t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes",
    "id": "k8s_00784_section_4_21976"
  },
  {
    "question": "What is Mirantis Container Runtime?",
    "answer": "M i r a n t i s   C o n t a i n e r   R u n t i m e   ( M C R )   i s   a   c o m m e r c i a l l y   a v a i l a b l e   c o n t a i n e r   r u n t i m e   t h a t   w a s   f o r m e r l y   k n o w n   a s   D o c k e r   E n t e r p r i s e   E d i t i o n .   Y o u   c a n   u s e   M i r a n t i s   C o n t a i n e r   R u n t i m e   w i t h   K u b e r n e t e s   u s i n g   t h e   o p e n   s o u r c e   c r i - d o c k e r d   c o m p o n e n t ,   i n c l u d e d   w i t h   M C R .   T o   l e a r n   m o r e   a b o u t   h o w   t o   i n s t a l l   M i r a n t i s   C o n t a i n e r   R u n t i m e ,   v i s i t   M C R   D e p l o y m e n t   G u i d e .   C h e c k   t h e   s y s t e m d   u n i t   n a m e d   c r i - d o c k e r . s o c k e t   t o   f i n d   o u t   t h e   p a t h   t o   t h e   C R I   s o c k e t .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes",
    "id": "k8s_00784_section_3_21977"
  },
  {
    "question": "What is Overriding the sandbox (pause) image?",
    "answer": "T h e   c r i - d o c k e r d   a d a p t e r   a c c e p t s   a   c o m m a n d   l i n e   a r g u m e n t   f o r   s p e c i f y i n g   w h i c h   c o n t a i n e r   i m a g e   t o   u s e   a s   t h e   P o d   i n f r a s t r u c t u r e   c o n t a i n e r   ( “ p a u s e   i m a g e ” ) .   T h e   c o m m a n d   l i n e   a r g u m e n t   t o   u s e   i s   - - p o d - i n f r a - c o n t a i n e r - i m a g e .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes",
    "id": "k8s_00784_section_4_21978"
  },
  {
    "question": "What is What's next?",
    "answer": "A s   w e l l   a s   a   c o n t a i n e r   r u n t i m e ,   y o u r   c l u s t e r   w i l l   n e e d   a   w o r k i n g   n e t w o r k   p l u g i n .   I t e m s   o n   t h i s   p a g e   r e f e r   t o   t h i r d   p a r t y   p r o d u c t s   o r   p r o j e c t s   t h a t   p r o v i d e   f u n c t i o n a l i t y   r e q u i r e d   b y   K u b e r n e t e s .   T h e   K u b e r n e t e s   p r o j e c t   a u t h o r s   a r e n ' t   r e s p o n s i b l e   f o r   t h o s e   t h i r d - p a r t y   p r o d u c t s   o r   p r o j e c t s .   S e e   t h e   C N C F   w e b s i t e   g u i d e l i n e s   f o r   m o r e   d e t a i l s .   Y o u   s h o u l d   r e a d   t h e   c o n t e n t   g u i d e   b e f o r e   p r o p o s i n g   a   c h a n g e   t h a t   a d d s   a n   e x t r a   t h i r d - p a r t y   l i n k .",
    "category": "other",
    "subcategory": "uncategorized",
    "source": "https://kubernetes.io/docs/setup/production-environment/container-runtimes",
    "id": "k8s_00784_section_2_21979"
  },
  {
    "question": "What is Command line tool (kubectl)?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Command line tool (kubectl)1: Introduction to kubectl2: kubectl Quick Reference3: kubectl reference3.1: kubectl3.2: kubectl annotate3.3: kubectl api-resources3.4: kubectl api-versions3.5: kubectl apply3.5.1: kubectl apply edit-last-applied3.5.2: kubectl apply set-last-applied3.5.3: kubectl apply view-last-applied3.6: kubectl attach3.7: kubectl auth3.7.1: kubectl auth can-i3.7.2: kubectl auth reconcile3.7.3: kubectl auth whoami3.8: kubectl autoscale3.9: kubectl certificate3.9.1: kubectl certificate approve3.9.2: kubectl certificate deny3.10: kubectl cluster-info3.10.1: kubectl cluster-info dump3.11: kubectl completion3.12: kubectl config3.12.1: kubectl config current-context3.12.2: kubectl config delete-cluster3.12.3: kubectl config delete-context3.12.4: kubectl config delete-user3.12.5: kubectl config get-clusters3.12.6: kubectl config get-contexts3.12.7: kubectl config get-users3.12.8: kubectl config rename-context3.12.9: kubectl config set3.12.10: kubectl config set-cluster3.12.11: kubectl config set-context3.12.12: kubectl config set-credentials3.12.13: kubectl config unset3.12.14: kubectl config use-context3.12.15: kubectl config view3.13: kubectl cordon3.14: kubectl cp3.15: kubectl create3.15.1: kubectl create clusterrole3.15.2: kubectl create clusterrolebinding3.15.3: kubectl create configmap3.15.4: kubectl create cronjob3.15.5: kubectl create deployment3.15.6: kubectl create ingress3.15.7: kubectl create job3.15.8: kubectl create namespace3.15.9: kubectl create poddisruptionbudget3.15.10: kubectl create priorityclass3.15.11: kubectl create quota3.15.12: kubectl create role3.15.13: kubectl create rolebinding3.15.14: kubectl create secret3.15.15: kubectl create secret docker-registry3.15.16: kubectl create secret generic3.15.17: kubectl create secret tls3.15.18: kubectl create service3.15.19: kubectl create service clusterip3.15.20: kubectl create service externalname3.15.21: kubectl create service loadbalancer3.15.22: kubectl create service nodeport3.15.23: kubectl create serviceaccount3.15.24: kubectl create token3.16: kubectl debug3.17: kubectl delete3.18: kubectl describe3.19: kubectl diff3.20: kubectl drain3.21: kubectl edit3.22: kubectl events3.23: kubectl exec3.24: kubectl explain3.25: kubectl expose3.26: kubectl get3.27: kubectl kustomize3.28: kubectl label3.29: kubectl logs3.30: kubectl options3.31: kubectl patch3.32: kubectl plugin3.32.1: kubectl plugin list3.33: kubectl port-forward3.34: kubectl proxy3.35: kubectl replace3.36: kubectl rollout3.36.1: kubectl rollout history3.36.2: kubectl rollout pause3.36.3: kubectl rollout restart3.36.4: kubectl rollout resume3.36.5: kubectl rollout status3.36.6: kubectl rollout undo3.37: kubectl run3.38: kubectl scale3.39: kubectl set3.39.1: kubectl set env3.39.2: kubectl set image3.39.3: kubectl set resources3.39.4: kubectl set selector3.39.5: kubectl set serviceaccount3.39.6: kube",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_qa_21980"
  },
  {
    "question": "How does Command line tool (kubectl) work?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Command line tool (kubectl)1: Introduction to kubectl2: kubectl Quick Reference3: kubectl reference3.1: kubectl3.2: kubectl annotate3.3: kubectl api-resources3.4: kubectl api-versions3.5: kubectl apply3.5.1: kubectl apply edit-last-applied3.5.2: kubectl apply set-last-applied3.5.3: kubectl apply view-last-applied3.6: kubectl attach3.7: kubectl auth3.7.1: kubectl auth can-i3.7.2: kubectl auth reconcile3.7.3: kubectl auth whoami3.8: kubectl autoscale3.9: kubectl certificate3.9.1: kubectl certificate approve3.9.2: kubectl certificate deny3.10: kubectl cluster-info3.10.1: kubectl cluster-info dump3.11: kubectl completion3.12: kubectl config3.12.1: kubectl config current-context3.12.2: kubectl config delete-cluster3.12.3: kubectl config delete-context3.12.4: kubectl config delete-user3.12.5: kubectl config get-clusters3.12.6: kubectl config get-contexts3.12.7: kubectl config get-users3.12.8: kubectl config rename-context3.12.9: kubectl config set3.12.10: kubectl config set-cluster3.12.11: kubectl config set-context3.12.12: kubectl config set-credentials3.12.13: kubectl config unset3.12.14: kubectl config use-context3.12.15: kubectl config view3.13: kubectl cordon3.14: kubectl cp3.15: kubectl create3.15.1: kubectl create clusterrole3.15.2: kubectl create clusterrolebinding3.15.3: kubectl create configmap3.15.4: kubectl create cronjob3.15.5: kubectl create deployment3.15.6: kubectl create ingress3.15.7: kubectl create job3.15.8: kubectl create namespace3.15.9: kubectl create poddisruptionbudget3.15.10: kubectl create priorityclass3.15.11: kubectl create quota3.15.12: kubectl create role3.15.13: kubectl create rolebinding3.15.14: kubectl create secret3.15.15: kubectl create secret docker-registry3.15.16: kubectl create secret generic3.15.17: kubectl create secret tls3.15.18: kubectl create service3.15.19: kubectl create service clusterip3.15.20: kubectl create service externalname3.15.21: kubectl create service loadbalancer3.15.22: kubectl create service nodeport3.15.23: kubectl create serviceaccount3.15.24: kubectl create token3.16: kubectl debug3.17: kubectl delete3.18: kubectl describe3.19: kubectl diff3.20: kubectl drain3.21: kubectl edit3.22: kubectl events3.23: kubectl exec3.24: kubectl explain3.25: kubectl expose3.26: kubectl get3.27: kubectl kustomize3.28: kubectl label3.29: kubectl logs3.30: kubectl options3.31: kubectl patch3.32: kubectl plugin3.32.1: kubectl plugin list3.33: kubectl port-forward3.34: kubectl proxy3.35: kubectl replace3.36: kubectl rollout3.36.1: kubectl rollout history3.36.2: kubectl rollout pause3.36.3: kubectl rollout restart3.36.4: kubectl rollout resume3.36.5: kubectl rollout status3.36.6: kubectl rollout undo3.37: kubectl run3.38: kubectl scale3.39: kubectl set3.39.1: kubectl set env3.39.2: kubectl set image3.39.3: kubectl set resources3.39.4: kubectl set selector3.39.5: kubectl set serviceaccount3.39.6: kube",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_qa_21981"
  },
  {
    "question": "When would you use Command line tool (kubectl)?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Command line tool (kubectl)1: Introduction to kubectl2: kubectl Quick Reference3: kubectl reference3.1: kubectl3.2: kubectl annotate3.3: kubectl api-resources3.4: kubectl api-versions3.5: kubectl apply3.5.1: kubectl apply edit-last-applied3.5.2: kubectl apply set-last-applied3.5.3: kubectl apply view-last-applied3.6: kubectl attach3.7: kubectl auth3.7.1: kubectl auth can-i3.7.2: kubectl auth reconcile3.7.3: kubectl auth whoami3.8: kubectl autoscale3.9: kubectl certificate3.9.1: kubectl certificate approve3.9.2: kubectl certificate deny3.10: kubectl cluster-info3.10.1: kubectl cluster-info dump3.11: kubectl completion3.12: kubectl config3.12.1: kubectl config current-context3.12.2: kubectl config delete-cluster3.12.3: kubectl config delete-context3.12.4: kubectl config delete-user3.12.5: kubectl config get-clusters3.12.6: kubectl config get-contexts3.12.7: kubectl config get-users3.12.8: kubectl config rename-context3.12.9: kubectl config set3.12.10: kubectl config set-cluster3.12.11: kubectl config set-context3.12.12: kubectl config set-credentials3.12.13: kubectl config unset3.12.14: kubectl config use-context3.12.15: kubectl config view3.13: kubectl cordon3.14: kubectl cp3.15: kubectl create3.15.1: kubectl create clusterrole3.15.2: kubectl create clusterrolebinding3.15.3: kubectl create configmap3.15.4: kubectl create cronjob3.15.5: kubectl create deployment3.15.6: kubectl create ingress3.15.7: kubectl create job3.15.8: kubectl create namespace3.15.9: kubectl create poddisruptionbudget3.15.10: kubectl create priorityclass3.15.11: kubectl create quota3.15.12: kubectl create role3.15.13: kubectl create rolebinding3.15.14: kubectl create secret3.15.15: kubectl create secret docker-registry3.15.16: kubectl create secret generic3.15.17: kubectl create secret tls3.15.18: kubectl create service3.15.19: kubectl create service clusterip3.15.20: kubectl create service externalname3.15.21: kubectl create service loadbalancer3.15.22: kubectl create service nodeport3.15.23: kubectl create serviceaccount3.15.24: kubectl create token3.16: kubectl debug3.17: kubectl delete3.18: kubectl describe3.19: kubectl diff3.20: kubectl drain3.21: kubectl edit3.22: kubectl events3.23: kubectl exec3.24: kubectl explain3.25: kubectl expose3.26: kubectl get3.27: kubectl kustomize3.28: kubectl label3.29: kubectl logs3.30: kubectl options3.31: kubectl patch3.32: kubectl plugin3.32.1: kubectl plugin list3.33: kubectl port-forward3.34: kubectl proxy3.35: kubectl replace3.36: kubectl rollout3.36.1: kubectl rollout history3.36.2: kubectl rollout pause3.36.3: kubectl rollout restart3.36.4: kubectl rollout resume3.36.5: kubectl rollout status3.36.6: kubectl rollout undo3.37: kubectl run3.38: kubectl scale3.39: kubectl set3.39.1: kubectl set env3.39.2: kubectl set image3.39.3: kubectl set resources3.39.4: kubectl set selector3.39.5: kubectl set serviceaccount3.39.6: kube",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_qa_21982"
  },
  {
    "question": "What are the benefits of Command line tool (kubectl)?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Command line tool (kubectl)1: Introduction to kubectl2: kubectl Quick Reference3: kubectl reference3.1: kubectl3.2: kubectl annotate3.3: kubectl api-resources3.4: kubectl api-versions3.5: kubectl apply3.5.1: kubectl apply edit-last-applied3.5.2: kubectl apply set-last-applied3.5.3: kubectl apply view-last-applied3.6: kubectl attach3.7: kubectl auth3.7.1: kubectl auth can-i3.7.2: kubectl auth reconcile3.7.3: kubectl auth whoami3.8: kubectl autoscale3.9: kubectl certificate3.9.1: kubectl certificate approve3.9.2: kubectl certificate deny3.10: kubectl cluster-info3.10.1: kubectl cluster-info dump3.11: kubectl completion3.12: kubectl config3.12.1: kubectl config current-context3.12.2: kubectl config delete-cluster3.12.3: kubectl config delete-context3.12.4: kubectl config delete-user3.12.5: kubectl config get-clusters3.12.6: kubectl config get-contexts3.12.7: kubectl config get-users3.12.8: kubectl config rename-context3.12.9: kubectl config set3.12.10: kubectl config set-cluster3.12.11: kubectl config set-context3.12.12: kubectl config set-credentials3.12.13: kubectl config unset3.12.14: kubectl config use-context3.12.15: kubectl config view3.13: kubectl cordon3.14: kubectl cp3.15: kubectl create3.15.1: kubectl create clusterrole3.15.2: kubectl create clusterrolebinding3.15.3: kubectl create configmap3.15.4: kubectl create cronjob3.15.5: kubectl create deployment3.15.6: kubectl create ingress3.15.7: kubectl create job3.15.8: kubectl create namespace3.15.9: kubectl create poddisruptionbudget3.15.10: kubectl create priorityclass3.15.11: kubectl create quota3.15.12: kubectl create role3.15.13: kubectl create rolebinding3.15.14: kubectl create secret3.15.15: kubectl create secret docker-registry3.15.16: kubectl create secret generic3.15.17: kubectl create secret tls3.15.18: kubectl create service3.15.19: kubectl create service clusterip3.15.20: kubectl create service externalname3.15.21: kubectl create service loadbalancer3.15.22: kubectl create service nodeport3.15.23: kubectl create serviceaccount3.15.24: kubectl create token3.16: kubectl debug3.17: kubectl delete3.18: kubectl describe3.19: kubectl diff3.20: kubectl drain3.21: kubectl edit3.22: kubectl events3.23: kubectl exec3.24: kubectl explain3.25: kubectl expose3.26: kubectl get3.27: kubectl kustomize3.28: kubectl label3.29: kubectl logs3.30: kubectl options3.31: kubectl patch3.32: kubectl plugin3.32.1: kubectl plugin list3.33: kubectl port-forward3.34: kubectl proxy3.35: kubectl replace3.36: kubectl rollout3.36.1: kubectl rollout history3.36.2: kubectl rollout pause3.36.3: kubectl rollout restart3.36.4: kubectl rollout resume3.36.5: kubectl rollout status3.36.6: kubectl rollout undo3.37: kubectl run3.38: kubectl scale3.39: kubectl set3.39.1: kubectl set env3.39.2: kubectl set image3.39.3: kubectl set resources3.39.4: kubectl set selector3.39.5: kubectl set serviceaccount3.39.6: kube",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_qa_21983"
  },
  {
    "question": "What is Command line tool (kubectl)?",
    "answer": "1 :   I n t r o d u c t i o n   t o   k u b e c t l 2 :   k u b e c t l   Q u i c k   R e f e r e n c e 3 :   k u b e c t l   r e f e r e n c e 3 . 1 :   k u b e c t l 3 . 2 :   k u b e c t l   a n n o t a t e 3 . 3 :   k u b e c t l   a p i - r e s o u r c e s 3 . 4 :   k u b e c t l   a p i - v e r s i o n s 3 . 5 :   k u b e c t l   a p p l y 3 . 5 . 1 :   k u b e c t l   a p p l y   e d i t - l a s t - a p p l i e d 3 . 5 . 2 :   k u b e c t l   a p p l y   s e t - l a s t - a p p l i e d 3 . 5 . 3 :   k u b e c t l   a p p l y   v i e w - l a s t - a p p l i e d 3 . 6 :   k u b e c t l   a t t a c h 3 . 7 :   k u b e c t l   a u t h 3 . 7 . 1 :   k u b e c t l   a u t h   c a n - i 3 . 7 . 2 :   k u b e c t l   a u t h   r e c o n c i l e 3 . 7 . 3 :   k u b e c t l   a u t h   w h o a m i 3 . 8 :   k u b e c t l   a u t o s c a l e 3 . 9 :   k u b e c t l   c e r t i f i c a t e 3 . 9 . 1 :   k u b e c t l   c e r t i f i c a t e   a p p r o v e 3 . 9 . 2 :   k u b e c t l   c e r t i f i c a t e   d e n y 3 . 1 0 :   k u b e c t l   c l u s t e r - i n f o 3 . 1 0 . 1 :   k u b e c t l   c l u s t e r - i n f o   d u m p 3 . 1 1 :   k u b e c t l   c o m p l e t i o n 3 . 1 2 :   k u b e c t l   c o n f i g 3 . 1 2 . 1 :   k u b e c t l   c o n f i g   c u r r e n t - c o n t e x t 3 . 1 2 . 2 :   k u b e c t l   c o n f i g   d e l e t e - c l u s t e r 3 . 1 2 . 3 :   k u b e c t l   c o n f i g   d e l e t e - c o n t e x t 3 . 1 2 . 4 :   k u b e c t l   c o n f i g   d e l e t e - u s e r 3 . 1 2 . 5 :   k u b e c t l   c o n f i g   g e t - c l u s t e r s 3 . 1 2 . 6 :   k u b e c t l   c o n f i g   g e t - c o n t e x t s 3 . 1 2 . 7 :   k u b e c t l   c o n f i g   g e t - u s e r s 3 . 1 2 . 8 :   k u b e c t l   c o n f i g   r e n a m e - c o n t e x t 3 . 1 2 . 9 :   k u b e c t l   c o n f i g   s e t 3 . 1 2 . 1 0 :   k u b e c t l   c o n f i g   s e t - c l u s t e r 3 . 1 2 . 1 1 :   k u b e c t l   c o n f i g   s e t - c o n t e x t 3 . ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_1_21984"
  },
  {
    "question": "What is Syntax?",
    "answer": "U s e   t h e   f o l l o w i n g   s y n t a x   t o   r u n   k u b e c t l   c o m m a n d s   f r o m   y o u r   t e r m i n a l   w i n d o w :   k u b e c t l   [ c o m m a n d ]   [ T Y P E ]   [ N A M E ]   [ f l a g s ]   w h e r e   c o m m a n d ,   T Y P E ,   N A M E ,   a n d   f l a g s   a r e :   c o m m a n d :   S p e c i f i e s   t h e   o p e r a t i o n   t h a t   y o u   w a n t   t o   p e r f o r m   o n   o n e   o r   m o r e   r e s o u r c e s ,   f o r   e x a m p l e   c r e a t e ,   g e t ,   d e s c r i b e ,   d e l e t e . T Y P E :   S p e c i f i e s   t h e   r e s o u r c e   t y p e .   R e s o u r c e   t y p e s   a r e   c a s e - i n s e n s i t i v e   a n d   y o u   c a n   s p e c i f y   t h e   s i n g u l a r ,   p l u r a l ,   o r   a b b r e v i a t e d   f o r m s .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   c o m m a n d s   p r o d u c e   t h e   s a m e   o u t p u t : k u b e c t l   g e t   p o d   p o d 1   k u b e c t l   g e t   p o d s   p o d 1   k u b e c t l   g e t   p o   p o d 1   N A M E :   S p e c i f i e s   t h e   n a m e   o f   t h e   r e s o u r c e .   N a m e s   a r e   c a s e - s e n s i t i v e .   I f   t h e   n a m e   i s   o m i t t e d ,   d e t a i l s   f o r   a l l   r e s o u r c e s   a r e   d i s p l a y e d ,   f o r   e x a m p l e   k u b e c t l   g e t   p o d s . W h e n   p e r f o r m i n g   a n   o p e r a t i o n   o n   m u l t i p l e   r e s o u r c e s ,   y o u   c a n   s p e c i f y   e a c h   r e s o u r c e   b y   t y p e   a n d   n a m e   o r   s p e c i f y   o n e   o r   m o r e   f i l e s : T o   s p e c i f y   r e s o u r c e s   b y   t y p e   a n d   n a m e : T o   g r o u p   r e s o u r c e s   i f   t h e y   a r e   a l l   t h e   s a m e   t y p e :   T Y P E 1   n a m e 1   n a m e 2   n a m e < # > . E x a m p l e :   k u b e c t l   g e t   p o d   e x a m p l e - p o d 1   e x a m p l e - p o d 2 T o   s ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_21985"
  },
  {
    "question": "What is Caution:?",
    "answer": "I f   y o u   n e e d   h e l p ,   r u n   k u b e c t l   h e l p   f r o m   t h e   t e r m i n a l   w i n d o w .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_4_21986"
  },
  {
    "question": "What is In-cluster authentication and namespace overrides?",
    "answer": "B y   d e f a u l t   k u b e c t l   w i l l   f i r s t   d e t e r m i n e   i f   i t   i s   r u n n i n g   w i t h i n   a   p o d ,   a n d   t h u s   i n   a   c l u s t e r .   I t   s t a r t s   b y   c h e c k i n g   f o r   t h e   K U B E R N E T E S _ S E R V I C E _ H O S T   a n d   K U B E R N E T E S _ S E R V I C E _ P O R T   e n v i r o n m e n t   v a r i a b l e s   a n d   t h e   e x i s t e n c e   o f   a   s e r v i c e   a c c o u n t   t o k e n   f i l e   a t   / v a r / r u n / s e c r e t s / k u b e r n e t e s . i o / s e r v i c e a c c o u n t / t o k e n .   I f   a l l   t h r e e   a r e   f o u n d   i n - c l u s t e r   a u t h e n t i c a t i o n   i s   a s s u m e d .   T o   m a i n t a i n   b a c k w a r d s   c o m p a t i b i l i t y ,   i f   t h e   P O D _ N A M E S P A C E   e n v i r o n m e n t   v a r i a b l e   i s   s e t   d u r i n g   i n - c l u s t e r   a u t h e n t i c a t i o n   i t   w i l l   o v e r r i d e   t h e   d e f a u l t   n a m e s p a c e   f r o m   t h e   s e r v i c e   a c c o u n t   t o k e n .   A n y   m a n i f e s t s   o r   t o o l s   r e l y i n g   o n   n a m e s p a c e   d e f a u l t i n g   w i l l   b e   a f f e c t e d   b y   t h i s .   P O D _ N A M E S P A C E   e n v i r o n m e n t   v a r i a b l e   I f   t h e   P O D _ N A M E S P A C E   e n v i r o n m e n t   v a r i a b l e   i s   s e t ,   c l i   o p e r a t i o n s   o n   n a m e s p a c e d   r e s o u r c e s   w i l l   d e f a u l t   t o   t h e   v a r i a b l e   v a l u e .   F o r   e x a m p l e ,   i f   t h e   v a r i a b l e   i s   s e t   t o   s e a t t l e ,   k u b e c t l   g e t   p o d s   w o u l d   r e t u r n   p o d s   i n   t h e   s e a t t l e   n a m e s p a c e .   T h i s   i s   b e c a u s e   p o d s   a r e   a   n a m e s p a c e d   r e s o u r c e ,   a n d   n o   n a m e s p a c e   w a s   p r o v i d e d   i n   t h e   c o m m a n d .   R ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_21987"
  },
  {
    "question": "What is Operations?",
    "answer": "T h e   f o l l o w i n g   t a b l e   i n c l u d e s   s h o r t   d e s c r i p t i o n s   a n d   t h e   g e n e r a l   s y n t a x   f o r   a l l   o f   t h e   k u b e c t l   o p e r a t i o n s :   T o   l e a r n   m o r e   a b o u t   c o m m a n d   o p e r a t i o n s ,   s e e   t h e   k u b e c t l   r e f e r e n c e   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_21988"
  },
  {
    "question": "What is Resource types?",
    "answer": "T h e   f o l l o w i n g   t a b l e   i n c l u d e s   a   l i s t   o f   a l l   t h e   s u p p o r t e d   r e s o u r c e   t y p e s   a n d   t h e i r   a b b r e v i a t e d   a l i a s e s .   ( T h i s   o u t p u t   c a n   b e   r e t r i e v e d   f r o m   k u b e c t l   a p i - r e s o u r c e s ,   a n d   w a s   a c c u r a t e   a s   o f   K u b e r n e t e s   1 . 2 5 . 0 )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_21989"
  },
  {
    "question": "What is Output options?",
    "answer": "U s e   t h e   f o l l o w i n g   s e c t i o n s   f o r   i n f o r m a t i o n   a b o u t   h o w   y o u   c a n   f o r m a t   o r   s o r t   t h e   o u t p u t   o f   c e r t a i n   c o m m a n d s .   F o r   d e t a i l s   a b o u t   w h i c h   c o m m a n d s   s u p p o r t   t h e   v a r i o u s   o u t p u t   o p t i o n s ,   s e e   t h e   k u b e c t l   r e f e r e n c e   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_21990"
  },
  {
    "question": "What is Formatting output?",
    "answer": "T h e   d e f a u l t   o u t p u t   f o r m a t   f o r   a l l   k u b e c t l   c o m m a n d s   i s   t h e   h u m a n   r e a d a b l e   p l a i n - t e x t   f o r m a t .   T o   o u t p u t   d e t a i l s   t o   y o u r   t e r m i n a l   w i n d o w   i n   a   s p e c i f i c   f o r m a t ,   y o u   c a n   a d d   e i t h e r   t h e   - o   o r   - - o u t p u t   f l a g s   t o   a   s u p p o r t e d   k u b e c t l   c o m m a n d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_3_21991"
  },
  {
    "question": "What is Syntax?",
    "answer": "k u b e c t l   [ c o m m a n d ]   [ T Y P E ]   [ N A M E ]   - o   < o u t p u t _ f o r m a t >   D e p e n d i n g   o n   t h e   k u b e c t l   o p e r a t i o n ,   t h e   f o l l o w i n g   o u t p u t   f o r m a t s   a r e   s u p p o r t e d :",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_4_21992"
  },
  {
    "question": "What is Example?",
    "answer": "I n   t h i s   e x a m p l e ,   t h e   f o l l o w i n g   c o m m a n d   o u t p u t s   t h e   d e t a i l s   f o r   a   s i n g l e   p o d   a s   a   Y A M L   f o r m a t t e d   o b j e c t :   k u b e c t l   g e t   p o d   w e b - p o d - 1 3 j e 7   - o   y a m l   R e m e m b e r :   S e e   t h e   k u b e c t l   r e f e r e n c e   d o c u m e n t a t i o n   f o r   d e t a i l s   a b o u t   w h i c h   o u t p u t   f o r m a t   i s   s u p p o r t e d   b y   e a c h   c o m m a n d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_5_21993"
  },
  {
    "question": "What is Custom columns?",
    "answer": "T o   d e f i n e   c u s t o m   c o l u m n s   a n d   o u t p u t   o n l y   t h e   d e t a i l s   t h a t   y o u   w a n t   i n t o   a   t a b l e ,   y o u   c a n   u s e   t h e   c u s t o m - c o l u m n s   o p t i o n .   Y o u   c a n   c h o o s e   t o   d e f i n e   t h e   c u s t o m   c o l u m n s   i n l i n e   o r   u s e   a   t e m p l a t e   f i l e :   - o   c u s t o m - c o l u m n s = < s p e c >   o r   - o   c u s t o m - c o l u m n s - f i l e = < f i l e n a m e > .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_4_21994"
  },
  {
    "question": "What is Examples?",
    "answer": "I n l i n e :   k u b e c t l   g e t   p o d s   < p o d - n a m e >   - o   c u s t o m - c o l u m n s = N A M E : . m e t a d a t a . n a m e , R S R C : . m e t a d a t a . r e s o u r c e V e r s i o n   T e m p l a t e   f i l e :   k u b e c t l   g e t   p o d s   < p o d - n a m e >   - o   c u s t o m - c o l u m n s - f i l e = t e m p l a t e . t x t   w h e r e   t h e   t e m p l a t e . t x t   f i l e   c o n t a i n s :   N A M E   R S R C   m e t a d a t a . n a m e   m e t a d a t a . r e s o u r c e V e r s i o n   T h e   r e s u l t   o f   r u n n i n g   e i t h e r   c o m m a n d   i s   s i m i l a r   t o :   N A M E   R S R C   s u b m i t - q u e u e   6 1 0 9 9 5",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_5_21995"
  },
  {
    "question": "What is Server-side columns?",
    "answer": "k u b e c t l   s u p p o r t s   r e c e i v i n g   s p e c i f i c   c o l u m n   i n f o r m a t i o n   f r o m   t h e   s e r v e r   a b o u t   o b j e c t s .   T h i s   m e a n s   t h a t   f o r   a n y   g i v e n   r e s o u r c e ,   t h e   s e r v e r   w i l l   r e t u r n   c o l u m n s   a n d   r o w s   r e l e v a n t   t o   t h a t   r e s o u r c e ,   f o r   t h e   c l i e n t   t o   p r i n t .   T h i s   a l l o w s   f o r   c o n s i s t e n t   h u m a n - r e a d a b l e   o u t p u t   a c r o s s   c l i e n t s   u s e d   a g a i n s t   t h e   s a m e   c l u s t e r ,   b y   h a v i n g   t h e   s e r v e r   e n c a p s u l a t e   t h e   d e t a i l s   o f   p r i n t i n g .   T h i s   f e a t u r e   i s   e n a b l e d   b y   d e f a u l t .   T o   d i s a b l e   i t ,   a d d   t h e   - - s e r v e r - p r i n t = f a l s e   f l a g   t o   t h e   k u b e c t l   g e t   c o m m a n d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_4_21996"
  },
  {
    "question": "What is Examples?",
    "answer": "T o   p r i n t   i n f o r m a t i o n   a b o u t   t h e   s t a t u s   o f   a   p o d ,   u s e   a   c o m m a n d   l i k e   t h e   f o l l o w i n g :   k u b e c t l   g e t   p o d s   < p o d - n a m e >   - - s e r v e r - p r i n t = f a l s e   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   A G E   p o d - n a m e   1 m",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_5_21997"
  },
  {
    "question": "What is Sorting list objects?",
    "answer": "T o   o u t p u t   o b j e c t s   t o   a   s o r t e d   l i s t   i n   y o u r   t e r m i n a l   w i n d o w ,   y o u   c a n   a d d   t h e   - - s o r t - b y   f l a g   t o   a   s u p p o r t e d   k u b e c t l   c o m m a n d .   S o r t   y o u r   o b j e c t s   b y   s p e c i f y i n g   a n y   n u m e r i c   o r   s t r i n g   f i e l d   w i t h   t h e   - - s o r t - b y   f l a g .   T o   s p e c i f y   a   f i e l d ,   u s e   a   j s o n p a t h   e x p r e s s i o n .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_3_21998"
  },
  {
    "question": "What is Syntax?",
    "answer": "k u b e c t l   [ c o m m a n d ]   [ T Y P E ]   [ N A M E ]   - - s o r t - b y = < j s o n p a t h _ e x p >",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_4_21999"
  },
  {
    "question": "What is Example?",
    "answer": "T o   p r i n t   a   l i s t   o f   p o d s   s o r t e d   b y   n a m e ,   y o u   r u n :   k u b e c t l   g e t   p o d s   - - s o r t - b y = . m e t a d a t a . n a m e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_5_22000"
  },
  {
    "question": "What is Examples: Common operations?",
    "answer": "U s e   t h e   f o l l o w i n g   s e t   o f   e x a m p l e s   t o   h e l p   y o u   f a m i l i a r i z e   y o u r s e l f   w i t h   r u n n i n g   t h e   c o m m o n l y   u s e d   k u b e c t l   o p e r a t i o n s :   k u b e c t l   a p p l y   -   A p p l y   o r   U p d a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   s t d i n .   #   C r e a t e   a   s e r v i c e   u s i n g   t h e   d e f i n i t i o n   i n   e x a m p l e - s e r v i c e . y a m l .   k u b e c t l   a p p l y   - f   e x a m p l e - s e r v i c e . y a m l   #   C r e a t e   a   r e p l i c a t i o n   c o n t r o l l e r   u s i n g   t h e   d e f i n i t i o n   i n   e x a m p l e - c o n t r o l l e r . y a m l .   k u b e c t l   a p p l y   - f   e x a m p l e - c o n t r o l l e r . y a m l   #   C r e a t e   t h e   o b j e c t s   t h a t   a r e   d e f i n e d   i n   a n y   . y a m l ,   . y m l ,   o r   . j s o n   f i l e   w i t h i n   t h e   < d i r e c t o r y >   d i r e c t o r y .   k u b e c t l   a p p l y   - f   < d i r e c t o r y >   k u b e c t l   g e t   -   L i s t   o n e   o r   m o r e   r e s o u r c e s .   #   L i s t   a l l   p o d s   i n   p l a i n - t e x t   o u t p u t   f o r m a t .   k u b e c t l   g e t   p o d s   #   L i s t   a l l   p o d s   i n   p l a i n - t e x t   o u t p u t   f o r m a t   a n d   i n c l u d e   a d d i t i o n a l   i n f o r m a t i o n   ( s u c h   a s   n o d e   n a m e ) .   k u b e c t l   g e t   p o d s   - o   w i d e   #   L i s t   t h e   r e p l i c a t i o n   c o n t r o l l e r   w i t h   t h e   s p e c i f i e d   n a m e   i n   p l a i n - t e x t   o u t p u t   f o r m a t .   T i p :   Y o u   c a n   s h o r t e n   a n d   r e p l a c e   t h e   ' r e p l i c a t i o n c o n t r o l l e r '   r e s o u r c e   t y p e   w i t h   t h e   a l i a s   ' r c ' .   k u b e c t l   g e t   r e p l i c a t i o n c o n t r o l l e r   < r c - n a m e > ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22001"
  },
  {
    "question": "What is Note:?",
    "answer": "k u b e c t l   d e l e t e   -   D e l e t e   r e s o u r c e s   e i t h e r   f r o m   a   f i l e ,   s t d i n ,   o r   s p e c i f y i n g   l a b e l   s e l e c t o r s ,   n a m e s ,   r e s o u r c e   s e l e c t o r s ,   o r   r e s o u r c e s .   #   D e l e t e   a   p o d   u s i n g   t h e   t y p e   a n d   n a m e   s p e c i f i e d   i n   t h e   p o d . y a m l   f i l e .   k u b e c t l   d e l e t e   - f   p o d . y a m l   #   D e l e t e   a l l   t h e   p o d s   a n d   s e r v i c e s   t h a t   h a v e   t h e   l a b e l   ' < l a b e l - k e y > = < l a b e l - v a l u e > ' .   k u b e c t l   d e l e t e   p o d s , s e r v i c e s   - l   < l a b e l - k e y > = < l a b e l - v a l u e >   #   D e l e t e   a l l   p o d s ,   i n c l u d i n g   u n i n i t i a l i z e d   o n e s .   k u b e c t l   d e l e t e   p o d s   - - a l l   k u b e c t l   e x e c   -   E x e c u t e   a   c o m m a n d   a g a i n s t   a   c o n t a i n e r   i n   a   p o d .   #   G e t   o u t p u t   f r o m   r u n n i n g   ' d a t e '   f r o m   p o d   < p o d - n a m e > .   B y   d e f a u l t ,   o u t p u t   i s   f r o m   t h e   f i r s t   c o n t a i n e r .   k u b e c t l   e x e c   < p o d - n a m e >   - -   d a t e   #   G e t   o u t p u t   f r o m   r u n n i n g   ' d a t e '   i n   c o n t a i n e r   < c o n t a i n e r - n a m e >   o f   p o d   < p o d - n a m e > .   k u b e c t l   e x e c   < p o d - n a m e >   - c   < c o n t a i n e r - n a m e >   - -   d a t e   #   G e t   a n   i n t e r a c t i v e   T T Y   a n d   r u n   / b i n / b a s h   f r o m   p o d   < p o d - n a m e > .   B y   d e f a u l t ,   o u t p u t   i s   f r o m   t h e   f i r s t   c o n t a i n e r .   k u b e c t l   e x e c   - t i   < p o d - n a m e >   - -   / b i n / b a s h   k u b e c t l   l o g s   -   P r i n t   t h e   l o g s   f o r   a   c o n t a i n e r   i n   a   p o d .   #   R e t u r n   a   s ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_4_22002"
  },
  {
    "question": "What is Examples: Creating and using plugins?",
    "answer": "U s e   t h e   f o l l o w i n g   s e t   o f   e x a m p l e s   t o   h e l p   y o u   f a m i l i a r i z e   y o u r s e l f   w i t h   w r i t i n g   a n d   u s i n g   k u b e c t l   p l u g i n s :   #   c r e a t e   a   s i m p l e   p l u g i n   i n   a n y   l a n g u a g e   a n d   n a m e   t h e   r e s u l t i n g   e x e c u t a b l e   f i l e   #   s o   t h a t   i t   b e g i n s   w i t h   t h e   p r e f i x   \" k u b e c t l - \"   c a t   . / k u b e c t l - h e l l o   # ! / b i n / s h   #   t h i s   p l u g i n   p r i n t s   t h e   w o r d s   \" h e l l o   w o r l d \"   e c h o   \" h e l l o   w o r l d \"   W i t h   a   p l u g i n   w r i t t e n ,   l e t ' s   m a k e   i t   e x e c u t a b l e :   c h m o d   a + x   . / k u b e c t l - h e l l o   #   a n d   m o v e   i t   t o   a   l o c a t i o n   i n   o u r   P A T H   s u d o   m v   . / k u b e c t l - h e l l o   / u s r / l o c a l / b i n   s u d o   c h o w n   r o o t : r o o t   / u s r / l o c a l / b i n   #   Y o u   h a v e   n o w   c r e a t e d   a n d   \" i n s t a l l e d \"   a   k u b e c t l   p l u g i n .   #   Y o u   c a n   b e g i n   u s i n g   t h i s   p l u g i n   b y   i n v o k i n g   i t   f r o m   k u b e c t l   a s   i f   i t   w e r e   a   r e g u l a r   c o m m a n d   k u b e c t l   h e l l o   h e l l o   w o r l d   #   Y o u   c a n   \" u n i n s t a l l \"   a   p l u g i n ,   b y   r e m o v i n g   i t   f r o m   t h e   f o l d e r   i n   y o u r   #   $ P A T H   w h e r e   y o u   p l a c e d   i t   s u d o   r m   / u s r / l o c a l / b i n / k u b e c t l - h e l l o   I n   o r d e r   t o   v i e w   a l l   o f   t h e   p l u g i n s   t h a t   a r e   a v a i l a b l e   t o   k u b e c t l ,   u s e   t h e   k u b e c t l   p l u g i n   l i s t   s u b c o m m a n d :   k u b e c t l   p l u g i n   l i s t   T h e   o u t p u t   i s   s i m i l a r   t o :   T h e   f o l l o w i n g   k u ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22003"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   t h e   k u b e c t l   r e f e r e n c e   d o c u m e n t a t i o n : t h e   k u b e c t l   c o m m a n d   r e f e r e n c e t h e   c o m m a n d   l i n e   a r g u m e n t s   r e f e r e n c e L e a r n   a b o u t   k u b e c t l   u s a g e   c o n v e n t i o n s R e a d   a b o u t   J S O N P a t h   s u p p o r t   i n   k u b e c t l R e a d   a b o u t   h o w   t o   e x t e n d   k u b e c t l   w i t h   p l u g i n s T o   f i n d   o u t   m o r e   a b o u t   p l u g i n s ,   t a k e   a   l o o k   a t   t h e   e x a m p l e   C L I   p l u g i n .   t h e   k u b e c t l   c o m m a n d   r e f e r e n c e t h e   c o m m a n d   l i n e   a r g u m e n t s   r e f e r e n c e   T o   f i n d   o u t   m o r e   a b o u t   p l u g i n s ,   t a k e   a   l o o k   a t   t h e   e x a m p l e   C L I   p l u g i n .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22004"
  },
  {
    "question": "What is 1 - Introduction to kubectl?",
    "answer": "k u b e c t l   i s   t h e   K u b e r n e t e s   c l i   v e r s i o n   o f   a   s w i s s   a r m y   k n i f e ,   a n d   c a n   d o   m a n y   t h i n g s .   W h i l e   t h i s   B o o k   i s   f o c u s e d   o n   u s i n g   k u b e c t l   t o   d e c l a r a t i v e l y   m a n a g e   a p p l i c a t i o n s   i n   K u b e r n e t e s ,   i t   a l s o   c o v e r s   o t h e r   k u b e c t l   f u n c t i o n s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_1_22005"
  },
  {
    "question": "What is Command Families?",
    "answer": "M o s t   k u b e c t l   c o m m a n d s   t y p i c a l l y   f a l l   i n t o   o n e   o f   a   f e w   c a t e g o r i e s :",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22006"
  },
  {
    "question": "What is Declarative Application Management?",
    "answer": "T h e   p r e f e r r e d   a p p r o a c h   f o r   m a n a g i n g   r e s o u r c e s   i s   t h r o u g h   d e c l a r a t i v e   f i l e s   c a l l e d   r e s o u r c e   c o n f i g u r a t i o n   u s e d   w i t h   t h e   k u b e c t l   A p p l y   c o m m a n d .   T h i s   c o m m a n d   r e a d s   a   l o c a l   ( o r   r e m o t e )   f i l e   s t r u c t u r e   a n d   m o d i f i e s   c l u s t e r   s t a t e   t o   r e f l e c t   t h e   d e c l a r e d   i n t e n t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22007"
  },
  {
    "question": "What is Printing State about Workloads?",
    "answer": "U s e r s   w i l l   n e e d   t o   v i e w   w o r k l o a d   s t a t e .   P r i n t i n g   s u m m a r i z e   s t a t e   a n d   i n f o r m a t i o n   a b o u t   r e s o u r c e s P r i n t i n g   c o m p l e t e   s t a t e   a n d   i n f o r m a t i o n   a b o u t   r e s o u r c e s P r i n t i n g   s p e c i f i c   f i e l d s   f r o m   r e s o u r c e s Q u e r y   r e s o u r c e s   m a t c h i n g   l a b e l s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22008"
  },
  {
    "question": "What is Debugging Workloads?",
    "answer": "k u b e c t l   s u p p o r t s   d e b u g g i n g   b y   p r o v i d i n g   c o m m a n d s   f o r :   P r i n t i n g   C o n t a i n e r   l o g s P r i n t i n g   c l u s t e r   e v e n t s E x e c   o r   a t t a c h i n g   t o   a   C o n t a i n e r C o p y i n g   f i l e s   f r o m   C o n t a i n e r s   i n   t h e   c l u s t e r   t o   a   u s e r ' s   f i l e s y s t e m",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22009"
  },
  {
    "question": "What is Cluster Management?",
    "answer": "O n   o c c a s i o n ,   u s e r s   m a y   n e e d   t o   p e r f o r m   o p e r a t i o n s   t o   t h e   N o d e s   o f   c l u s t e r .   k u b e c t l   s u p p o r t s   c o m m a n d s   t o   d r a i n   w o r k l o a d s   f r o m   a   N o d e   s o   t h a t   i t   c a n   b e   d e c o m m i s s i o n e d   o r   d e b u g g e d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22010"
  },
  {
    "question": "What is Porcelain?",
    "answer": "U s e r s   m a y   f i n d   u s i n g   r e s o u r c e   c o n f i g u r a t i o n   o v e r l y   v e r b o s e   f o r   d e v e l o p m e n t   a n d   p r e f e r   t o   w o r k   w i t h   t h e   c l u s t e r   i m p e r a t i v e l y   w i t h   a   s h e l l - l i k e   w o r k f l o w .   k u b e c t l   o f f e r s   p o r c e l a i n   c o m m a n d s   f o r   g e n e r a t i n g   a n d   m o d i f y i n g   r e s o u r c e s .   G e n e r a t i n g   +   c r e a t i n g   r e s o u r c e s   s u c h   a s   D e p l o y m e n t s ,   S t a t e f u l S e t s ,   S e r v i c e s ,   C o n f i g M a p s ,   e t c . S e t t i n g   f i e l d s   o n   r e s o u r c e s E d i t i n g   ( l i v e )   r e s o u r c e s   i n   a   t e x t   e d i t o r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22011"
  },
  {
    "question": "What is 2 - kubectl Quick Reference?",
    "answer": "T h i s   p a g e   c o n t a i n s   a   l i s t   o f   c o m m o n l y   u s e d   k u b e c t l   c o m m a n d s   a n d   f l a g s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_1_22012"
  },
  {
    "question": "What is BASH?",
    "answer": "s o u r c e   < ( k u b e c t l   c o m p l e t i o n   b a s h )   #   s e t   u p   a u t o c o m p l e t e   i n   b a s h   i n t o   t h e   c u r r e n t   s h e l l ,   b a s h - c o m p l e t i o n   p a c k a g e   s h o u l d   b e   i n s t a l l e d   f i r s t .   e c h o   \" s o u r c e   < ( k u b e c t l   c o m p l e t i o n   b a s h ) \"   > >   ~ / . b a s h r c   #   a d d   a u t o c o m p l e t e   p e r m a n e n t l y   t o   y o u r   b a s h   s h e l l .   Y o u   c a n   a l s o   u s e   a   s h o r t h a n d   a l i a s   f o r   k u b e c t l   t h a t   a l s o   w o r k s   w i t h   c o m p l e t i o n :   a l i a s   k = k u b e c t l   c o m p l e t e   - o   d e f a u l t   - F   _ _ s t a r t _ k u b e c t l   k",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_3_22013"
  },
  {
    "question": "What is ZSH?",
    "answer": "s o u r c e   < ( k u b e c t l   c o m p l e t i o n   z s h )   #   s e t   u p   a u t o c o m p l e t e   i n   z s h   i n t o   t h e   c u r r e n t   s h e l l   e c h o   ' [ [   $ c o m m a n d s [ k u b e c t l ]   ] ]   & &   s o u r c e   < ( k u b e c t l   c o m p l e t i o n   z s h ) '   > >   ~ / . z s h r c   #   a d d   a u t o c o m p l e t e   p e r m a n e n t l y   t o   y o u r   z s h   s h e l l",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_3_22014"
  },
  {
    "question": "What is Note:?",
    "answer": "e c h o   ' k u b e c t l   c o m p l e t i o n   f i s h   |   s o u r c e '   >   ~ / . c o n f i g / f i s h / c o m p l e t i o n s / k u b e c t l . f i s h   & &   s o u r c e   ~ / . c o n f i g / f i s h / c o m p l e t i o n s / k u b e c t l . f i s h",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_4_22015"
  },
  {
    "question": "What is A note on --all-namespaces?",
    "answer": "A p p e n d i n g   - - a l l - n a m e s p a c e s   h a p p e n s   f r e q u e n t l y   e n o u g h   t h a t   y o u   s h o u l d   b e   a w a r e   o f   t h e   s h o r t h a n d   f o r   - - a l l - n a m e s p a c e s :   k u b e c t l   - A",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_3_22016"
  },
  {
    "question": "What is Kubectl context and configuration?",
    "answer": "S e t   w h i c h   K u b e r n e t e s   c l u s t e r   k u b e c t l   c o m m u n i c a t e s   w i t h   a n d   m o d i f i e s   c o n f i g u r a t i o n   i n f o r m a t i o n .   S e e   A u t h e n t i c a t i n g   A c r o s s   C l u s t e r s   w i t h   k u b e c o n f i g   d o c u m e n t a t i o n   f o r   d e t a i l e d   c o n f i g   f i l e   i n f o r m a t i o n .   k u b e c t l   c o n f i g   v i e w   #   S h o w   M e r g e d   k u b e c o n f i g   s e t t i n g s .   #   u s e   m u l t i p l e   k u b e c o n f i g   f i l e s   a t   t h e   s a m e   t i m e   a n d   v i e w   m e r g e d   c o n f i g   K U B E C O N F I G = ~ / . k u b e / c o n f i g : ~ / . k u b e / k u b c o n f i g 2   k u b e c t l   c o n f i g   v i e w   #   S h o w   m e r g e d   k u b e c o n f i g   s e t t i n g s   a n d   r a w   c e r t i f i c a t e   d a t a   a n d   e x p o s e d   s e c r e t s   k u b e c t l   c o n f i g   v i e w   - - r a w   #   g e t   t h e   p a s s w o r d   f o r   t h e   e 2 e   u s e r   k u b e c t l   c o n f i g   v i e w   - o   j s o n p a t h = ' { . u s e r s [ ? ( @ . n a m e   = =   \" e 2 e \" ) ] . u s e r . p a s s w o r d } '   #   g e t   t h e   c e r t i f i c a t e   f o r   t h e   e 2 e   u s e r   k u b e c t l   c o n f i g   v i e w   - - r a w   - o   j s o n p a t h = ' { . u s e r s [ ? ( . n a m e   = =   \" e 2 e \" ) ] . u s e r . c l i e n t - c e r t i f i c a t e - d a t a } '   |   b a s e 6 4   - d   k u b e c t l   c o n f i g   v i e w   - o   j s o n p a t h = ' { . u s e r s [ ] . n a m e } '   #   d i s p l a y   t h e   f i r s t   u s e r   k u b e c t l   c o n f i g   v i e w   - o   j s o n p a t h = ' { . u s e r s [ * ] . n a m e } '   #   g e t   a   l i s t   o f   u s e r s   k u b e c t l   c o n f i g   g e t - c o n t e x t s   #   d i s p l a y   l i s t   o f   c o n t e x t s   k u b e c t l   c o n f i g   g e t - c o n t e x t s   - o   n a m e   #   g e t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22017"
  },
  {
    "question": "What is Kubectl apply?",
    "answer": "a p p l y   m a n a g e s   a p p l i c a t i o n s   t h r o u g h   f i l e s   d e f i n i n g   K u b e r n e t e s   r e s o u r c e s .   I t   c r e a t e s   a n d   u p d a t e s   r e s o u r c e s   i n   a   c l u s t e r   t h r o u g h   r u n n i n g   k u b e c t l   a p p l y .   T h i s   i s   t h e   r e c o m m e n d e d   w a y   o f   m a n a g i n g   K u b e r n e t e s   a p p l i c a t i o n s   o n   p r o d u c t i o n .   S e e   K u b e c t l   B o o k .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22018"
  },
  {
    "question": "What is Creating objects?",
    "answer": "K u b e r n e t e s   m a n i f e s t s   c a n   b e   d e f i n e d   i n   Y A M L   o r   J S O N .   T h e   f i l e   e x t e n s i o n   . y a m l ,   . y m l ,   a n d   . j s o n   c a n   b e   u s e d .   k u b e c t l   a p p l y   - f   . / m y - m a n i f e s t . y a m l   #   c r e a t e   r e s o u r c e ( s )   k u b e c t l   a p p l y   - f   . / m y 1 . y a m l   - f   . / m y 2 . y a m l   #   c r e a t e   f r o m   m u l t i p l e   f i l e s   k u b e c t l   a p p l y   - f   . / d i r   #   c r e a t e   r e s o u r c e ( s )   i n   a l l   m a n i f e s t   f i l e s   i n   d i r   k u b e c t l   a p p l y   - f   h t t p s : / / e x a m p l e . c o m / m a n i f e s t . y a m l   #   c r e a t e   r e s o u r c e ( s )   f r o m   u r l   ( N o t e :   t h i s   i s   a n   e x a m p l e   d o m a i n   a n d   d o e s   n o t   c o n t a i n   a   v a l i d   m a n i f e s t )   k u b e c t l   c r e a t e   d e p l o y m e n t   n g i n x   - - i m a g e = n g i n x   #   s t a r t   a   s i n g l e   i n s t a n c e   o f   n g i n x   #   c r e a t e   a   J o b   w h i c h   p r i n t s   \" H e l l o   W o r l d \"   k u b e c t l   c r e a t e   j o b   h e l l o   - - i m a g e = b u s y b o x : 1 . 2 8   - -   e c h o   \" H e l l o   W o r l d \"   #   c r e a t e   a   C r o n J o b   t h a t   p r i n t s   \" H e l l o   W o r l d \"   e v e r y   m i n u t e   k u b e c t l   c r e a t e   c r o n j o b   h e l l o   - - i m a g e = b u s y b o x : 1 . 2 8   - - s c h e d u l e = \" * / 1   *   *   *   * \"   - -   e c h o   \" H e l l o   W o r l d \"   k u b e c t l   e x p l a i n   p o d s   #   g e t   t h e   d o c u m e n t a t i o n   f o r   p o d   m a n i f e s t s   #   C r e a t e   m u l t i p l e   Y A M L   o b j e c t s   f r o m   s t d i n   k u b e c t l   a p p l y   - f   -   < < E O F   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   b u s y b o x - s l e e p   s p e c :   c ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22019"
  },
  {
    "question": "What is Viewing and finding resources?",
    "answer": "#   G e t   c o m m a n d s   w i t h   b a s i c   o u t p u t   k u b e c t l   g e t   s e r v i c e s   #   L i s t   a l l   s e r v i c e s   i n   t h e   n a m e s p a c e   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s   #   L i s t   a l l   p o d s   i n   a l l   n a m e s p a c e s   k u b e c t l   g e t   p o d s   - o   w i d e   #   L i s t   a l l   p o d s   i n   t h e   c u r r e n t   n a m e s p a c e ,   w i t h   m o r e   d e t a i l s   k u b e c t l   g e t   d e p l o y m e n t   m y - d e p   #   L i s t   a   p a r t i c u l a r   d e p l o y m e n t   k u b e c t l   g e t   p o d s   #   L i s t   a l l   p o d s   i n   t h e   n a m e s p a c e   k u b e c t l   g e t   p o d   m y - p o d   - o   y a m l   #   G e t   a   p o d ' s   Y A M L   #   D e s c r i b e   c o m m a n d s   w i t h   v e r b o s e   o u t p u t   k u b e c t l   d e s c r i b e   n o d e s   m y - n o d e   k u b e c t l   d e s c r i b e   p o d s   m y - p o d   #   L i s t   S e r v i c e s   S o r t e d   b y   N a m e   k u b e c t l   g e t   s e r v i c e s   - - s o r t - b y = . m e t a d a t a . n a m e   #   L i s t   p o d s   S o r t e d   b y   R e s t a r t   C o u n t   k u b e c t l   g e t   p o d s   - - s o r t - b y = ' . s t a t u s . c o n t a i n e r S t a t u s e s [ 0 ] . r e s t a r t C o u n t '   #   L i s t   P e r s i s t e n t V o l u m e s   s o r t e d   b y   c a p a c i t y   k u b e c t l   g e t   p v   - - s o r t - b y = . s p e c . c a p a c i t y . s t o r a g e   #   G e t   t h e   v e r s i o n   l a b e l   o f   a l l   p o d s   w i t h   l a b e l   a p p = c a s s a n d r a   k u b e c t l   g e t   p o d s   - - s e l e c t o r = a p p = c a s s a n d r a   - o   \\   j s o n p a t h = ' { . i t e m s [ * ] . m e t a d a t a . l a b e l s . v e r s i o n } '   #   R e t r i e v e   t h e   v a l u e   o f   a   k e y   w i t h   d o t s ,   e . g .   ' c a . c r t '   k u b e c t l   g ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22020"
  },
  {
    "question": "What is Updating resources?",
    "answer": "k u b e c t l   s e t   i m a g e   d e p l o y m e n t / f r o n t e n d   w w w = i m a g e : v 2   #   R o l l i n g   u p d a t e   \" w w w \"   c o n t a i n e r s   o f   \" f r o n t e n d \"   d e p l o y m e n t ,   u p d a t i n g   t h e   i m a g e   k u b e c t l   r o l l o u t   h i s t o r y   d e p l o y m e n t / f r o n t e n d   #   C h e c k   t h e   h i s t o r y   o f   d e p l o y m e n t s   i n c l u d i n g   t h e   r e v i s i o n   k u b e c t l   r o l l o u t   u n d o   d e p l o y m e n t / f r o n t e n d   #   R o l l b a c k   t o   t h e   p r e v i o u s   d e p l o y m e n t   k u b e c t l   r o l l o u t   u n d o   d e p l o y m e n t / f r o n t e n d   - - t o - r e v i s i o n = 2   #   R o l l b a c k   t o   a   s p e c i f i c   r e v i s i o n   k u b e c t l   r o l l o u t   s t a t u s   - w   d e p l o y m e n t / f r o n t e n d   #   W a t c h   r o l l i n g   u p d a t e   s t a t u s   o f   \" f r o n t e n d \"   d e p l o y m e n t   u n t i l   c o m p l e t i o n   k u b e c t l   r o l l o u t   r e s t a r t   d e p l o y m e n t / f r o n t e n d   #   R o l l i n g   r e s t a r t   o f   t h e   \" f r o n t e n d \"   d e p l o y m e n t   c a t   p o d . j s o n   |   k u b e c t l   r e p l a c e   - f   -   #   R e p l a c e   a   p o d   b a s e d   o n   t h e   J S O N   p a s s e d   i n t o   s t d i n   #   F o r c e   r e p l a c e ,   d e l e t e   a n d   t h e n   r e - c r e a t e   t h e   r e s o u r c e .   W i l l   c a u s e   a   s e r v i c e   o u t a g e .   k u b e c t l   r e p l a c e   - - f o r c e   - f   . / p o d . j s o n   #   C r e a t e   a   s e r v i c e   f o r   a   r e p l i c a t e d   n g i n x ,   w h i c h   s e r v e s   o n   p o r t   8 0   a n d   c o n n e c t s   t o   t h e   c o n t a i n e r s   o n   p o r t   8 0 0 0   k u b e c t l   e x p o s e   r c   n g i n x   - - p o r t = 8 0   - - t a r g e t - p o r t = 8 0 0 0   #   U p d a t e   a   s i ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22021"
  },
  {
    "question": "What is Patching resources?",
    "answer": "#   P a r t i a l l y   u p d a t e   a   n o d e   k u b e c t l   p a t c h   n o d e   k 8 s - n o d e - 1   - p   ' { \" s p e c \" : { \" u n s c h e d u l a b l e \" : t r u e } } '   #   U p d a t e   a   c o n t a i n e r ' s   i m a g e ;   s p e c . c o n t a i n e r s [ * ] . n a m e   i s   r e q u i r e d   b e c a u s e   i t ' s   a   m e r g e   k e y   k u b e c t l   p a t c h   p o d   v a l i d - p o d   - p   ' { \" s p e c \" : { \" c o n t a i n e r s \" : [ { \" n a m e \" : \" k u b e r n e t e s - s e r v e - h o s t n a m e \" , \" i m a g e \" : \" n e w   i m a g e \" } ] } } '   #   U p d a t e   a   c o n t a i n e r ' s   i m a g e   u s i n g   a   j s o n   p a t c h   w i t h   p o s i t i o n a l   a r r a y s   k u b e c t l   p a t c h   p o d   v a l i d - p o d   - - t y p e = ' j s o n '   - p = ' [ { \" o p \" :   \" r e p l a c e \" ,   \" p a t h \" :   \" / s p e c / c o n t a i n e r s / 0 / i m a g e \" ,   \" v a l u e \" : \" n e w   i m a g e \" } ] '   #   D i s a b l e   a   d e p l o y m e n t   l i v e n e s s P r o b e   u s i n g   a   j s o n   p a t c h   w i t h   p o s i t i o n a l   a r r a y s   k u b e c t l   p a t c h   d e p l o y m e n t   v a l i d - d e p l o y m e n t   - - t y p e   j s o n   - p = ' [ { \" o p \" :   \" r e m o v e \" ,   \" p a t h \" :   \" / s p e c / t e m p l a t e / s p e c / c o n t a i n e r s / 0 / l i v e n e s s P r o b e \" } ] '   #   A d d   a   n e w   e l e m e n t   t o   a   p o s i t i o n a l   a r r a y   k u b e c t l   p a t c h   s a   d e f a u l t   - - t y p e = ' j s o n '   - p = ' [ { \" o p \" :   \" a d d \" ,   \" p a t h \" :   \" / s e c r e t s / 1 \" ,   \" v a l u e \" :   { \" n a m e \" :   \" w h a t e v e r \"   }   } ] '   #   U p d a t e   a   d e p l o y m e n t ' s   r e p l i c a   c o u n t   b y   p a t c h i n g   i t s   s c a l e   s u b r e s o u r c e   k u b e c t l   p a t c h   d e p l o y m e n t   n g i n x - d e p l o y m e n t   - - s u b r e s o u r c e = ' s c a l ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22022"
  },
  {
    "question": "What is Editing resources?",
    "answer": "E d i t   a n y   A P I   r e s o u r c e   i n   y o u r   p r e f e r r e d   e d i t o r .   k u b e c t l   e d i t   s v c / d o c k e r - r e g i s t r y   #   E d i t   t h e   s e r v i c e   n a m e d   d o c k e r - r e g i s t r y   K U B E _ E D I T O R = \" n a n o \"   k u b e c t l   e d i t   s v c / d o c k e r - r e g i s t r y   #   U s e   a n   a l t e r n a t i v e   e d i t o r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22023"
  },
  {
    "question": "What is Scaling resources?",
    "answer": "k u b e c t l   s c a l e   - - r e p l i c a s = 3   r s / f o o   #   S c a l e   a   r e p l i c a s e t   n a m e d   ' f o o '   t o   3   k u b e c t l   s c a l e   - - r e p l i c a s = 3   - f   f o o . y a m l   #   S c a l e   a   r e s o u r c e   s p e c i f i e d   i n   \" f o o . y a m l \"   t o   3   k u b e c t l   s c a l e   - - c u r r e n t - r e p l i c a s = 2   - - r e p l i c a s = 3   d e p l o y m e n t / m y s q l   #   I f   t h e   d e p l o y m e n t   n a m e d   m y s q l ' s   c u r r e n t   s i z e   i s   2 ,   s c a l e   m y s q l   t o   3   k u b e c t l   s c a l e   - - r e p l i c a s = 5   r c / f o o   r c / b a r   r c / b a z   #   S c a l e   m u l t i p l e   r e p l i c a t i o n   c o n t r o l l e r s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22024"
  },
  {
    "question": "What is Deleting resources?",
    "answer": "k u b e c t l   d e l e t e   - f   . / p o d . j s o n   #   D e l e t e   a   p o d   u s i n g   t h e   t y p e   a n d   n a m e   s p e c i f i e d   i n   p o d . j s o n   k u b e c t l   d e l e t e   p o d   u n w a n t e d   - - n o w   #   D e l e t e   a   p o d   w i t h   n o   g r a c e   p e r i o d   k u b e c t l   d e l e t e   p o d , s e r v i c e   b a z   f o o   #   D e l e t e   p o d s   a n d   s e r v i c e s   w i t h   s a m e   n a m e s   \" b a z \"   a n d   \" f o o \"   k u b e c t l   d e l e t e   p o d s , s e r v i c e s   - l   n a m e = m y L a b e l   #   D e l e t e   p o d s   a n d   s e r v i c e s   w i t h   l a b e l   n a m e = m y L a b e l   k u b e c t l   - n   m y - n s   d e l e t e   p o d , s v c   - - a l l   #   D e l e t e   a l l   p o d s   a n d   s e r v i c e s   i n   n a m e s p a c e   m y - n s ,   #   D e l e t e   a l l   p o d s   m a t c h i n g   t h e   a w k   p a t t e r n 1   o r   p a t t e r n 2   k u b e c t l   g e t   p o d s   - n   m y n a m e s p a c e   - - n o - h e a d e r s = t r u e   |   a w k   ' / p a t t e r n 1 | p a t t e r n 2 / { p r i n t   $ 1 } '   |   x a r g s   k u b e c t l   d e l e t e   - n   m y n a m e s p a c e   p o d",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22025"
  },
  {
    "question": "What is Interacting with running Pods?",
    "answer": "k u b e c t l   l o g s   m y - p o d   #   d u m p   p o d   l o g s   ( s t d o u t )   k u b e c t l   l o g s   - l   n a m e = m y L a b e l   #   d u m p   p o d   l o g s ,   w i t h   l a b e l   n a m e = m y L a b e l   ( s t d o u t )   k u b e c t l   l o g s   m y - p o d   - - p r e v i o u s   #   d u m p   p o d   l o g s   ( s t d o u t )   f o r   a   p r e v i o u s   i n s t a n t i a t i o n   o f   a   c o n t a i n e r   k u b e c t l   l o g s   m y - p o d   - c   m y - c o n t a i n e r   #   d u m p   p o d   c o n t a i n e r   l o g s   ( s t d o u t ,   m u l t i - c o n t a i n e r   c a s e )   k u b e c t l   l o g s   - l   n a m e = m y L a b e l   - c   m y - c o n t a i n e r   #   d u m p   p o d   c o n t a i n e r   l o g s ,   w i t h   l a b e l   n a m e = m y L a b e l   ( s t d o u t )   k u b e c t l   l o g s   m y - p o d   - c   m y - c o n t a i n e r   - - p r e v i o u s   #   d u m p   p o d   c o n t a i n e r   l o g s   ( s t d o u t ,   m u l t i - c o n t a i n e r   c a s e )   f o r   a   p r e v i o u s   i n s t a n t i a t i o n   o f   a   c o n t a i n e r   k u b e c t l   l o g s   - f   m y - p o d   #   s t r e a m   p o d   l o g s   ( s t d o u t )   k u b e c t l   l o g s   - f   m y - p o d   - c   m y - c o n t a i n e r   #   s t r e a m   p o d   c o n t a i n e r   l o g s   ( s t d o u t ,   m u l t i - c o n t a i n e r   c a s e )   k u b e c t l   l o g s   - f   - l   n a m e = m y L a b e l   - - a l l - c o n t a i n e r s   #   s t r e a m   a l l   p o d s   l o g s   w i t h   l a b e l   n a m e = m y L a b e l   ( s t d o u t )   k u b e c t l   r u n   - i   - - t t y   b u s y b o x   - - i m a g e = b u s y b o x : 1 . 2 8   - -   s h   #   R u n   p o d   a s   i n t e r a c t i v e   s h e l l   k u b e c t l   r u n   n g i n x   - - i m a g e = n g i n x   - n   m y n a m e s p a c e   #   S t a r t   a   s i n g l e   i n s t a n c e   o f   n g i n x   p o d   i n   t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22026"
  },
  {
    "question": "What is Copying files and directories to and from containers?",
    "answer": "k u b e c t l   c p   / t m p / f o o _ d i r   m y - p o d : / t m p / b a r _ d i r   #   C o p y   / t m p / f o o _ d i r   l o c a l   d i r e c t o r y   t o   / t m p / b a r _ d i r   i n   a   r e m o t e   p o d   i n   t h e   c u r r e n t   n a m e s p a c e   k u b e c t l   c p   / t m p / f o o   m y - p o d : / t m p / b a r   - c   m y - c o n t a i n e r   #   C o p y   / t m p / f o o   l o c a l   f i l e   t o   / t m p / b a r   i n   a   r e m o t e   p o d   i n   a   s p e c i f i c   c o n t a i n e r   k u b e c t l   c p   / t m p / f o o   m y - n a m e s p a c e / m y - p o d : / t m p / b a r   #   C o p y   / t m p / f o o   l o c a l   f i l e   t o   / t m p / b a r   i n   a   r e m o t e   p o d   i n   n a m e s p a c e   m y - n a m e s p a c e   k u b e c t l   c p   m y - n a m e s p a c e / m y - p o d : / t m p / f o o   / t m p / b a r   #   C o p y   / t m p / f o o   f r o m   a   r e m o t e   p o d   t o   / t m p / b a r   l o c a l l y",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22027"
  },
  {
    "question": "What is Note:?",
    "answer": "t a r   c f   -   / t m p / f o o   |   k u b e c t l   e x e c   - i   - n   m y - n a m e s p a c e   m y - p o d   - -   t a r   x f   -   - C   / t m p / b a r   #   C o p y   / t m p / f o o   l o c a l   f i l e   t o   / t m p / b a r   i n   a   r e m o t e   p o d   i n   n a m e s p a c e   m y - n a m e s p a c e   k u b e c t l   e x e c   - n   m y - n a m e s p a c e   m y - p o d   - -   t a r   c f   -   / t m p / f o o   |   t a r   x f   -   - C   / t m p / b a r   #   C o p y   / t m p / f o o   f r o m   a   r e m o t e   p o d   t o   / t m p / b a r   l o c a l l y",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_4_22028"
  },
  {
    "question": "What is Interacting with Deployments and Services?",
    "answer": "k u b e c t l   l o g s   d e p l o y / m y - d e p l o y m e n t   #   d u m p   P o d   l o g s   f o r   a   D e p l o y m e n t   ( s i n g l e - c o n t a i n e r   c a s e )   k u b e c t l   l o g s   d e p l o y / m y - d e p l o y m e n t   - c   m y - c o n t a i n e r   #   d u m p   P o d   l o g s   f o r   a   D e p l o y m e n t   ( m u l t i - c o n t a i n e r   c a s e )   k u b e c t l   p o r t - f o r w a r d   s v c / m y - s e r v i c e   5 0 0 0   #   l i s t e n   o n   l o c a l   p o r t   5 0 0 0   a n d   f o r w a r d   t o   p o r t   5 0 0 0   o n   S e r v i c e   b a c k e n d   k u b e c t l   p o r t - f o r w a r d   s v c / m y - s e r v i c e   5 0 0 0 : m y - s e r v i c e - p o r t   #   l i s t e n   o n   l o c a l   p o r t   5 0 0 0   a n d   f o r w a r d   t o   S e r v i c e   t a r g e t   p o r t   w i t h   n a m e   < m y - s e r v i c e - p o r t >   k u b e c t l   p o r t - f o r w a r d   d e p l o y / m y - d e p l o y m e n t   5 0 0 0 : 6 0 0 0   #   l i s t e n   o n   l o c a l   p o r t   5 0 0 0   a n d   f o r w a r d   t o   p o r t   6 0 0 0   o n   a   P o d   c r e a t e d   b y   < m y - d e p l o y m e n t >   k u b e c t l   e x e c   d e p l o y / m y - d e p l o y m e n t   - -   l s   #   r u n   c o m m a n d   i n   f i r s t   P o d   a n d   f i r s t   c o n t a i n e r   i n   D e p l o y m e n t   ( s i n g l e -   o r   m u l t i - c o n t a i n e r   c a s e s )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22029"
  },
  {
    "question": "What is Interacting with Nodes and cluster?",
    "answer": "k u b e c t l   c o r d o n   m y - n o d e   #   M a r k   m y - n o d e   a s   u n s c h e d u l a b l e   k u b e c t l   d r a i n   m y - n o d e   #   D r a i n   m y - n o d e   i n   p r e p a r a t i o n   f o r   m a i n t e n a n c e   k u b e c t l   u n c o r d o n   m y - n o d e   #   M a r k   m y - n o d e   a s   s c h e d u l a b l e   k u b e c t l   t o p   n o d e   #   S h o w   m e t r i c s   f o r   a l l   n o d e s   k u b e c t l   t o p   n o d e   m y - n o d e   #   S h o w   m e t r i c s   f o r   a   g i v e n   n o d e   k u b e c t l   c l u s t e r - i n f o   #   D i s p l a y   a d d r e s s e s   o f   t h e   m a s t e r   a n d   s e r v i c e s   k u b e c t l   c l u s t e r - i n f o   d u m p   #   D u m p   c u r r e n t   c l u s t e r   s t a t e   t o   s t d o u t   k u b e c t l   c l u s t e r - i n f o   d u m p   - - o u t p u t - d i r e c t o r y = / p a t h / t o / c l u s t e r - s t a t e   #   D u m p   c u r r e n t   c l u s t e r   s t a t e   t o   / p a t h / t o / c l u s t e r - s t a t e   #   V i e w   e x i s t i n g   t a i n t s   o n   w h i c h   e x i s t   o n   c u r r e n t   n o d e s .   k u b e c t l   g e t   n o d e s   - o = ' c u s t o m - c o l u m n s = N o d e N a m e : . m e t a d a t a . n a m e , T a i n t K e y : . s p e c . t a i n t s [ * ] . k e y , T a i n t V a l u e : . s p e c . t a i n t s [ * ] . v a l u e , T a i n t E f f e c t : . s p e c . t a i n t s [ * ] . e f f e c t '   #   I f   a   t a i n t   w i t h   t h a t   k e y   a n d   e f f e c t   a l r e a d y   e x i s t s ,   i t s   v a l u e   i s   r e p l a c e d   a s   s p e c i f i e d .   k u b e c t l   t a i n t   n o d e s   f o o   d e d i c a t e d = s p e c i a l - u s e r : N o S c h e d u l e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22030"
  },
  {
    "question": "What is Resource types?",
    "answer": "L i s t   a l l   s u p p o r t e d   r e s o u r c e   t y p e s   a l o n g   w i t h   t h e i r   s h o r t n a m e s ,   A P I   g r o u p ,   w h e t h e r   t h e y   a r e   n a m e s p a c e d ,   a n d   k i n d :   k u b e c t l   a p i - r e s o u r c e s   O t h e r   o p e r a t i o n s   f o r   e x p l o r i n g   A P I   r e s o u r c e s :   k u b e c t l   a p i - r e s o u r c e s   - - n a m e s p a c e d = t r u e   #   A l l   n a m e s p a c e d   r e s o u r c e s   k u b e c t l   a p i - r e s o u r c e s   - - n a m e s p a c e d = f a l s e   #   A l l   n o n - n a m e s p a c e d   r e s o u r c e s   k u b e c t l   a p i - r e s o u r c e s   - o   n a m e   #   A l l   r e s o u r c e s   w i t h   s i m p l e   o u t p u t   ( o n l y   t h e   r e s o u r c e   n a m e )   k u b e c t l   a p i - r e s o u r c e s   - o   w i d e   #   A l l   r e s o u r c e s   w i t h   e x p a n d e d   ( a k a   \" w i d e \" )   o u t p u t   k u b e c t l   a p i - r e s o u r c e s   - - v e r b s = l i s t , g e t   #   A l l   r e s o u r c e s   t h a t   s u p p o r t   t h e   \" l i s t \"   a n d   \" g e t \"   r e q u e s t   v e r b s   k u b e c t l   a p i - r e s o u r c e s   - - a p i - g r o u p = e x t e n s i o n s   #   A l l   r e s o u r c e s   i n   t h e   \" e x t e n s i o n s \"   A P I   g r o u p",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_3_22031"
  },
  {
    "question": "What is Formatting output?",
    "answer": "T o   o u t p u t   d e t a i l s   t o   y o u r   t e r m i n a l   w i n d o w   i n   a   s p e c i f i c   f o r m a t ,   a d d   t h e   - o   ( o r   - - o u t p u t )   f l a g   t o   a   s u p p o r t e d   k u b e c t l   c o m m a n d .   E x a m p l e s   u s i n g   - o = c u s t o m - c o l u m n s :   #   A l l   i m a g e s   r u n n i n g   i n   a   c l u s t e r   k u b e c t l   g e t   p o d s   - A   - o = c u s t o m - c o l u m n s = ' D A T A : s p e c . c o n t a i n e r s [ * ] . i m a g e '   #   A l l   i m a g e s   r u n n i n g   i n   n a m e s p a c e :   d e f a u l t ,   g r o u p e d   b y   P o d   k u b e c t l   g e t   p o d s   - - n a m e s p a c e   d e f a u l t   - - o u t p u t = c u s t o m - c o l u m n s = \" N A M E : . m e t a d a t a . n a m e , I M A G E : . s p e c . c o n t a i n e r s [ * ] . i m a g e \"   #   A l l   i m a g e s   e x c l u d i n g   \" r e g i s t r y . k 8 s . i o / c o r e d n s : 1 . 6 . 2 \"   k u b e c t l   g e t   p o d s   - A   - o = c u s t o m - c o l u m n s = ' D A T A : s p e c . c o n t a i n e r s [ ? ( @ . i m a g e ! = \" r e g i s t r y . k 8 s . i o / c o r e d n s : 1 . 6 . 2 \" ) ] . i m a g e '   #   A l l   f i e l d s   u n d e r   m e t a d a t a   r e g a r d l e s s   o f   n a m e   k u b e c t l   g e t   p o d s   - A   - o = c u s t o m - c o l u m n s = ' D A T A : m e t a d a t a . * '   M o r e   e x a m p l e s   i n   t h e   k u b e c t l   r e f e r e n c e   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_3_22032"
  },
  {
    "question": "What is Kubectl output verbosity and debugging?",
    "answer": "K u b e c t l   v e r b o s i t y   i s   c o n t r o l l e d   w i t h   t h e   - v   o r   - - v   f l a g s   f o l l o w e d   b y   a n   i n t e g e r   r e p r e s e n t i n g   t h e   l o g   l e v e l .   G e n e r a l   K u b e r n e t e s   l o g g i n g   c o n v e n t i o n s   a n d   t h e   a s s o c i a t e d   l o g   l e v e l s   a r e   d e s c r i b e d   h e r e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_3_22033"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   t h e   k u b e c t l   o v e r v i e w   a n d   l e a r n   a b o u t   J s o n P a t h . S e e   k u b e c t l   o p t i o n s . S e e   k u b e r c   o p t i o n s . A l s o   r e a d   k u b e c t l   U s a g e   C o n v e n t i o n s   t o   u n d e r s t a n d   h o w   t o   u s e   k u b e c t l   i n   r e u s a b l e   s c r i p t s . S e e   m o r e   c o m m u n i t y   k u b e c t l   c h e a t s h e e t s .   R e a d   t h e   k u b e c t l   o v e r v i e w   a n d   l e a r n   a b o u t   J s o n P a t h .   S e e   k u b e c t l   o p t i o n s .   S e e   k u b e r c   o p t i o n s .   A l s o   r e a d   k u b e c t l   U s a g e   C o n v e n t i o n s   t o   u n d e r s t a n d   h o w   t o   u s e   k u b e c t l   i n   r e u s a b l e   s c r i p t s .   S e e   m o r e   c o m m u n i t y   k u b e c t l   c h e a t s h e e t s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22034"
  },
  {
    "question": "What is Synopsis?",
    "answer": "k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r .   F i n d   m o r e   i n f o r m a t i o n   a t :   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / k u b e c t l /   k u b e c t l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22035"
  },
  {
    "question": "What is Options?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   h e l p   f o r   k u b e c t l   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22036"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   a n n o t a t e   -   U p d a t e   t h e   a n n o t a t i o n s   o n   a   r e s o u r c e k u b e c t l   a p i - r e s o u r c e s   -   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   o n   t h e   s e r v e r k u b e c t l   a p i - v e r s i o n s   -   P r i n t   t h e   s u p p o r t e d   A P I   v e r s i o n s   o n   t h e   s e r v e r ,   i n   t h e   f o r m   o f   \" g r o u p / v e r s i o n \" k u b e c t l   a p p l y   -   A p p l y   a   c o n f i g u r a t i o n   t o   a   r e s o u r c e   b y   f i l e   n a m e   o r   s t d i n k u b e c t l   a t t a c h   -   A t t a c h   t o   a   r u n n i n g   c o n t a i n e r k u b e c t l   a u t h   -   I n s p e c t   a u t h o r i z a t i o n k u b e c t l   a u t o s c a l e   -   A u t o - s c a l e   a   d e p l o y m e n t ,   r e p l i c a   s e t ,   s t a t e f u l   s e t ,   o r   r e p l i c a t i o n   c o n t r o l l e r k u b e c t l   c e r t i f i c a t e   -   M o d i f y   c e r t i f i c a t e   r e s o u r c e s k u b e c t l   c l u s t e r - i n f o   -   D i s p l a y   c l u s t e r   i n f o r m a t i o n k u b e c t l   c o m p l e t i o n   -   O u t p u t   s h e l l   c o m p l e t i o n   c o d e   f o r   t h e   s p e c i f i e d   s h e l l   ( b a s h ,   z s h ,   f i s h ,   o r   p o w e r s h e l l ) k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s k u b e c t l   c o r d o n   -   M a r k   n o d e   a s   u n s c h e d u l a b l e k u b e c t l   c p   -   C o p y   f i l e s   a n d   d i r e c t o r i e s   t o   a n d   f r o m   c o n t a i n e r s k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n k u b e c t l   d e b u g   -   C r e a t e   d e b u g g i n g   s e s s i o n s   f o r   t r o u b l e s h o o t i n g   w o r k l o a d s   a n d   n o d e s k u b e c t l   d e l e t e   -   D e l e t e   r e s o u ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22037"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e   t h e   a n n o t a t i o n s   o n   o n e   o r   m o r e   r e s o u r c e s .   A l l   K u b e r n e t e s   o b j e c t s   s u p p o r t   t h e   a b i l i t y   t o   s t o r e   a d d i t i o n a l   d a t a   w i t h   t h e   o b j e c t   a s   a n n o t a t i o n s .   A n n o t a t i o n s   a r e   k e y / v a l u e   p a i r s   t h a t   c a n   b e   l a r g e r   t h a n   l a b e l s   a n d   i n c l u d e   a r b i t r a r y   s t r i n g   v a l u e s   s u c h   a s   s t r u c t u r e d   J S O N .   T o o l s   a n d   s y s t e m   e x t e n s i o n s   m a y   u s e   a n n o t a t i o n s   t o   s t o r e   t h e i r   o w n   d a t a .   A t t e m p t i n g   t o   s e t   a n   a n n o t a t i o n   t h a t   a l r e a d y   e x i s t s   w i l l   f a i l   u n l e s s   - - o v e r w r i t e   i s   s e t .   I f   - - r e s o u r c e - v e r s i o n   i s   s p e c i f i e d   a n d   d o e s   n o t   m a t c h   t h e   c u r r e n t   r e s o u r c e   v e r s i o n   o n   t h e   s e r v e r   t h e   c o m m a n d   w i l l   f a i l .   U s e   \" k u b e c t l   a p i - r e s o u r c e s \"   f o r   a   c o m p l e t e   l i s t   o f   s u p p o r t e d   r e s o u r c e s .   k u b e c t l   a n n o t a t e   [ - - o v e r w r i t e ]   ( - f   F I L E N A M E   |   T Y P E   N A M E )   K E Y _ 1 = V A L _ 1   . . .   K E Y _ N = V A L _ N   [ - - r e s o u r c e - v e r s i o n = v e r s i o n ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22038"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U p d a t e   p o d   ' f o o '   w i t h   t h e   a n n o t a t i o n   ' d e s c r i p t i o n '   a n d   t h e   v a l u e   ' m y   f r o n t e n d '   #   I f   t h e   s a m e   a n n o t a t i o n   i s   s e t   m u l t i p l e   t i m e s ,   o n l y   t h e   l a s t   v a l u e   w i l l   b e   a p p l i e d   k u b e c t l   a n n o t a t e   p o d s   f o o   d e s c r i p t i o n = ' m y   f r o n t e n d '   #   U p d a t e   a   p o d   i d e n t i f i e d   b y   t y p e   a n d   n a m e   i n   \" p o d . j s o n \"   k u b e c t l   a n n o t a t e   - f   p o d . j s o n   d e s c r i p t i o n = ' m y   f r o n t e n d '   #   U p d a t e   p o d   ' f o o '   w i t h   t h e   a n n o t a t i o n   ' d e s c r i p t i o n '   a n d   t h e   v a l u e   ' m y   f r o n t e n d   r u n n i n g   n g i n x ' ,   o v e r w r i t i n g   a n y   e x i s t i n g   v a l u e   k u b e c t l   a n n o t a t e   - - o v e r w r i t e   p o d s   f o o   d e s c r i p t i o n = ' m y   f r o n t e n d   r u n n i n g   n g i n x '   #   U p d a t e   a l l   p o d s   i n   t h e   n a m e s p a c e   k u b e c t l   a n n o t a t e   p o d s   - - a l l   d e s c r i p t i o n = ' m y   f r o n t e n d   r u n n i n g   n g i n x '   #   U p d a t e   p o d   ' f o o '   o n l y   i f   t h e   r e s o u r c e   i s   u n c h a n g e d   f r o m   v e r s i o n   1   k u b e c t l   a n n o t a t e   p o d s   f o o   d e s c r i p t i o n = ' m y   f r o n t e n d   r u n n i n g   n g i n x '   - - r e s o u r c e - v e r s i o n = 1   #   U p d a t e   p o d   ' f o o '   b y   r e m o v i n g   a n   a n n o t a t i o n   n a m e d   ' d e s c r i p t i o n '   i f   i t   e x i s t s   #   D o e s   n o t   r e q u i r e   t h e   - - o v e r w r i t e   f l a g   k u b e c t l   a n n o t a t e   p o d s   f o o   d e s c r i p t i o n -",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22039"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s ,   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s .   I f   t r u e ,   c h e c k   t h e   s p e c i f i e d   a c t i o n   i n   a l l   n a m e s p a c e s .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   S e l e c t o r   ( f i e l d   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   a n d   ' ! = ' . ( e . g .   - - f i e l d - s e l e c t o r   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 ) .   T h e   s e r v e r   o n l y   s u p p o r t s   a   l i m i t e d   n u m b e r   o f   f i e l d   q u e r i e s   p e r   t y p e .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   u p d a t e   t h e   a n n o t a t i o n   h e l p   f o r   a n n o t a t e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   I f   t r u e ,   d i s p l a y   t h e   a n n o t a t i o n s   f o r   a   g i v e n   r e s o u r c e .   I f   t r u e ,   a n n o t a t i o n   w i l l   N O T   c o n t a c t   a p i - s e r v e r   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22040"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22041"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22042"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   o n   t h e   s e r v e r .   k u b e c t l   a p i - r e s o u r c e s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22043"
  },
  {
    "question": "What is Examples?",
    "answer": "#   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   k u b e c t l   a p i - r e s o u r c e s   #   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   w i t h   m o r e   i n f o r m a t i o n   k u b e c t l   a p i - r e s o u r c e s   - o   w i d e   #   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   s o r t e d   b y   a   c o l u m n   k u b e c t l   a p i - r e s o u r c e s   - - s o r t - b y = n a m e   #   P r i n t   t h e   s u p p o r t e d   n a m e s p a c e d   r e s o u r c e s   k u b e c t l   a p i - r e s o u r c e s   - - n a m e s p a c e d = t r u e   #   P r i n t   t h e   s u p p o r t e d   n o n - n a m e s p a c e d   r e s o u r c e s   k u b e c t l   a p i - r e s o u r c e s   - - n a m e s p a c e d = f a l s e   #   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   w i t h   a   s p e c i f i c   A P I G r o u p   k u b e c t l   a p i - r e s o u r c e s   - - a p i - g r o u p = r b a c . a u t h o r i z a t i o n . k 8 s . i o",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22044"
  },
  {
    "question": "What is Options?",
    "answer": "L i m i t   t o   r e s o u r c e s   i n   t h e   s p e c i f i e d   A P I   g r o u p .   U s e   t h e   c a c h e d   l i s t   o f   r e s o u r c e s   i f   a v a i l a b l e .   L i m i t   t o   r e s o u r c e s   t h a t   b e l o n g   t o   t h e   s p e c i f i e d   c a t e g o r i e s .   h e l p   f o r   a p i - r e s o u r c e s   I f   f a l s e ,   n o n - n a m e s p a c e d   r e s o u r c e s   w i l l   b e   r e t u r n e d ,   o t h e r w i s e   r e t u r n i n g   n a m e s p a c e d   r e s o u r c e s   b y   d e f a u l t .   W h e n   u s i n g   t h e   d e f a u l t   o r   c u s t o m - c o l u m n   o u t p u t   f o r m a t ,   d o n ' t   p r i n t   h e a d e r s   ( d e f a u l t   p r i n t   h e a d e r s ) .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   w i d e ) .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   I f   n o n - e m p t y ,   s o r t   l i s t   o f   r e s o u r c e s   u s i n g   s p e c i f i e d   f i e l d .   T h e   f i e l d   c a n   b e   e i t h e r   ' n a m e '   o r   ' k i n d ' .   L i m i t   t o   r e s o u r c e s   t h a t   s u p p o r t   t h e   s p e c i f i e d   v e r b s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22045"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22046"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22047"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r i n t   t h e   s u p p o r t e d   A P I   v e r s i o n s   o n   t h e   s e r v e r ,   i n   t h e   f o r m   o f   \" g r o u p / v e r s i o n \" .   k u b e c t l   a p i - v e r s i o n s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22048"
  },
  {
    "question": "What is Examples?",
    "answer": "#   P r i n t   t h e   s u p p o r t e d   A P I   v e r s i o n s   k u b e c t l   a p i - v e r s i o n s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22049"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   a p i - v e r s i o n s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22050"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22051"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22052"
  },
  {
    "question": "What is Synopsis?",
    "answer": "A p p l y   a   c o n f i g u r a t i o n   t o   a   r e s o u r c e   b y   f i l e   n a m e   o r   s t d i n .   T h e   r e s o u r c e   n a m e   m u s t   b e   s p e c i f i e d .   T h i s   r e s o u r c e   w i l l   b e   c r e a t e d   i f   i t   d o e s n ' t   e x i s t   y e t .   T o   u s e   ' a p p l y ' ,   a l w a y s   c r e a t e   t h e   r e s o u r c e   i n i t i a l l y   w i t h   e i t h e r   ' a p p l y '   o r   ' c r e a t e   - - s a v e - c o n f i g ' .   J S O N   a n d   Y A M L   f o r m a t s   a r e   a c c e p t e d .   A l p h a   D i s c l a i m e r :   t h e   - - p r u n e   f u n c t i o n a l i t y   i s   n o t   y e t   c o m p l e t e .   D o   n o t   u s e   u n l e s s   y o u   a r e   a w a r e   o f   w h a t   t h e   c u r r e n t   s t a t e   i s .   S e e   h t t p s : / / i s s u e s . k 8 s . i o / 3 4 2 7 4 .   k u b e c t l   a p p l y   ( - f   F I L E N A M E   |   - k   D I R E C T O R Y )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22053"
  },
  {
    "question": "What is Examples?",
    "answer": "#   A p p l y   t h e   c o n f i g u r a t i o n   i n   p o d . j s o n   t o   a   p o d   k u b e c t l   a p p l y   - f   . / p o d . j s o n   #   A p p l y   r e s o u r c e s   f r o m   a   d i r e c t o r y   c o n t a i n i n g   k u s t o m i z a t i o n . y a m l   -   e . g .   d i r / k u s t o m i z a t i o n . y a m l   k u b e c t l   a p p l y   - k   d i r /   #   A p p l y   t h e   J S O N   p a s s e d   i n t o   s t d i n   t o   a   p o d   c a t   p o d . j s o n   |   k u b e c t l   a p p l y   - f   -   #   A p p l y   t h e   c o n f i g u r a t i o n   f r o m   a l l   f i l e s   t h a t   e n d   w i t h   ' . j s o n '   k u b e c t l   a p p l y   - f   ' * . j s o n '   #   N o t e :   - - p r u n e   i s   s t i l l   i n   A l p h a   #   A p p l y   t h e   c o n f i g u r a t i o n   i n   m a n i f e s t . y a m l   t h a t   m a t c h e s   l a b e l   a p p = n g i n x   a n d   d e l e t e   a l l   o t h e r   r e s o u r c e s   t h a t   a r e   n o t   i n   t h e   f i l e   a n d   m a t c h   l a b e l   a p p = n g i n x   k u b e c t l   a p p l y   - - p r u n e   - f   m a n i f e s t . y a m l   - l   a p p = n g i n x   #   A p p l y   t h e   c o n f i g u r a t i o n   i n   m a n i f e s t . y a m l   a n d   d e l e t e   a l l   t h e   o t h e r   c o n f i g   m a p s   t h a t   a r e   n o t   i n   t h e   f i l e   k u b e c t l   a p p l y   - - p r u n e   - f   m a n i f e s t . y a m l   - - a l l   - - p r u n e - a l l o w l i s t = c o r e / v 1 / C o n f i g M a p",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22054"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" b a c k g r o u n d \" ,   \" o r p h a n \" ,   o r   \" f o r e g r o u n d \" .   S e l e c t s   t h e   d e l e t i o n   c a s c a d i n g   s t r a t e g y   f o r   t h e   d e p e n d e n t s   ( e . g .   P o d s   c r e a t e d   b y   a   R e p l i c a t i o n C o n t r o l l e r ) .   D e f a u l t s   t o   b a c k g r o u n d .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   T h e   f i l e s   t h a t   c o n t a i n   t h e   c o n f i g u r a t i o n s   t o   a p p l y .   I f   t r u e ,   i m m e d i a t e l y   r e m o v e   r e s o u r c e s   f r o m   A P I   a n d   b y p a s s   g r a c e f u l   d e l e t i o n .   N o t e   t h a t   i m m e d i a t e   d e l e t i o n   o f   s o m e   r e s o u r c e s   m a y   r e s u l t   i n   i n c o n s i s t e n c y   o r   d a t a   l o s s   a n d   r e q u i r e s   c o n f i r m a t i o n .   I f   t r u e ,   s e r v e r - s i d e   a p p l y   w i l l   f o r c e   t h e   c h a n g e s   a g a i n s t   c o n f l i c t s .   P e r i o d   o f   t i m e   i n   s e c o n d s   g i v e n   t o   t h e   r ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22055"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22056"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   a p p l y   e d i t - l a s t - a p p l i e d   -   E d i t   l a t e s t   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   o f   a   r e s o u r c e / o b j e c t k u b e c t l   a p p l y   s e t - l a s t - a p p l i e d   -   S e t   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   o n   a   l i v e   o b j e c t   t o   m a t c h   t h e   c o n t e n t s   o f   a   f i l e k u b e c t l   a p p l y   v i e w - l a s t - a p p l i e d   -   V i e w   t h e   l a t e s t   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   o f   a   r e s o u r c e / o b j e c t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22057"
  },
  {
    "question": "What is Synopsis?",
    "answer": "E d i t   t h e   l a t e s t   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   o f   r e s o u r c e s   f r o m   t h e   d e f a u l t   e d i t o r .   T h e   e d i t - l a s t - a p p l i e d   c o m m a n d   a l l o w s   y o u   t o   d i r e c t l y   e d i t   a n y   A P I   r e s o u r c e   y o u   c a n   r e t r i e v e   v i a   t h e   c o m m a n d - l i n e   t o o l s .   I t   w i l l   o p e n   t h e   e d i t o r   d e f i n e d   b y   y o u r   K U B E _ E D I T O R ,   o r   E D I T O R   e n v i r o n m e n t   v a r i a b l e s ,   o r   f a l l   b a c k   t o   ' v i '   f o r   L i n u x   o r   ' n o t e p a d '   f o r   W i n d o w s .   Y o u   c a n   e d i t   m u l t i p l e   o b j e c t s ,   a l t h o u g h   c h a n g e s   a r e   a p p l i e d   o n e   a t   a   t i m e .   T h e   c o m m a n d   a c c e p t s   f i l e   n a m e s   a s   w e l l   a s   c o m m a n d - l i n e   a r g u m e n t s ,   a l t h o u g h   t h e   f i l e s   y o u   p o i n t   t o   m u s t   b e   p r e v i o u s l y   s a v e d   v e r s i o n s   o f   r e s o u r c e s .   T h e   d e f a u l t   f o r m a t   i s   Y A M L .   T o   e d i t   i n   J S O N ,   s p e c i f y   \" - o   j s o n \" .   T h e   f l a g   - - w i n d o w s - l i n e - e n d i n g s   c a n   b e   u s e d   t o   f o r c e   W i n d o w s   l i n e   e n d i n g s ,   o t h e r w i s e   t h e   d e f a u l t   f o r   y o u r   o p e r a t i n g   s y s t e m   w i l l   b e   u s e d .   I n   t h e   e v e n t   a n   e r r o r   o c c u r s   w h i l e   u p d a t i n g ,   a   t e m p o r a r y   f i l e   w i l l   b e   c r e a t e d   o n   d i s k   t h a t   c o n t a i n s   y o u r   u n a p p l i e d   c h a n g e s .   T h e   m o s t   c o m m o n   e r r o r   w h e n   u p d a t i n g   a   r e s o u r c e   i s   a n o t h e r   e d i t o r   c h a n g i n g   t h e   r e s o u r c e   o n   t h e   s e r v ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22058"
  },
  {
    "question": "What is Examples?",
    "answer": "#   E d i t   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   t y p e / n a m e   i n   Y A M L   k u b e c t l   a p p l y   e d i t - l a s t - a p p l i e d   d e p l o y m e n t / n g i n x   #   E d i t   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   f i l e   i n   J S O N   k u b e c t l   a p p l y   e d i t - l a s t - a p p l i e d   - f   d e p l o y . y a m l   - o   j s o n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22059"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   t o   u s e   t o   e d i t   t h e   r e s o u r c e   h e l p   f o r   e d i t - l a s t - a p p l i e d   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t e x t / t e m p l a t e / # p k g - o v e r v i e w ] .   M u s t   b e   o n e   o f :   s t r i c t   ( o r   t r u e ) ,   w a r n ,   i g n o r e   ( o r   f a l s e ) .   \" t r u e \"   o r   \" s t r i c t \"   w i l l ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22060"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22061"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   a p p l y   -   A p p l y   a   c o n f i g u r a t i o n   t o   a   r e s o u r c e   b y   f i l e   n a m e   o r   s t d i n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22062"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S e t   t h e   l a t e s t   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   s e t t i n g   i t   t o   m a t c h   t h e   c o n t e n t s   o f   a   f i l e .   T h i s   r e s u l t s   i n   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   b e i n g   u p d a t e d   a s   t h o u g h   ' k u b e c t l   a p p l y   - f < f i l e >   '   w a s   r u n ,   w i t h o u t   u p d a t i n g   a n y   o t h e r   p a r t s   o f   t h e   o b j e c t .   k u b e c t l   a p p l y   s e t - l a s t - a p p l i e d   - f   F I L E N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22063"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   o f   a   r e s o u r c e   t o   m a t c h   t h e   c o n t e n t s   o f   a   f i l e   k u b e c t l   a p p l y   s e t - l a s t - a p p l i e d   - f   d e p l o y . y a m l   #   E x e c u t e   s e t - l a s t - a p p l i e d   a g a i n s t   e a c h   c o n f i g u r a t i o n   f i l e   i n   a   d i r e c t o r y   k u b e c t l   a p p l y   s e t - l a s t - a p p l i e d   - f   p a t h /   #   S e t   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   o f   a   r e s o u r c e   t o   m a t c h   t h e   c o n t e n t s   o f   a   f i l e ;   w i l l   c r e a t e   t h e   a n n o t a t i o n   i f   i t   d o e s   n o t   a l r e a d y   e x i s t   k u b e c t l   a p p l y   s e t - l a s t - a p p l i e d   - f   d e p l o y . y a m l   - - c r e a t e - a n n o t a t i o n = t r u e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22064"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   W i l l   c r e a t e   ' l a s t - a p p l i e d - c o n f i g u r a t i o n '   a n n o t a t i o n s   i f   c u r r e n t   o b j e c t s   d o e s n ' t   h a v e   o n e   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   t h a t   c o n t a i n s   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   h e l p   f o r   s e t - l a s t - a p p l i e d   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t e x t / t e m p l a t e / # p k g - o v e r v i e w ] .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22065"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22066"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   a p p l y   -   A p p l y   a   c o n f i g u r a t i o n   t o   a   r e s o u r c e   b y   f i l e   n a m e   o r   s t d i n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22067"
  },
  {
    "question": "What is Synopsis?",
    "answer": "V i e w   t h e   l a t e s t   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   t y p e / n a m e   o r   f i l e .   T h e   d e f a u l t   o u t p u t   w i l l   b e   p r i n t e d   t o   s t d o u t   i n   Y A M L   f o r m a t .   Y o u   c a n   u s e   t h e   - o   o p t i o n   t o   c h a n g e   t h e   o u t p u t   f o r m a t .   k u b e c t l   a p p l y   v i e w - l a s t - a p p l i e d   ( T Y P E   [ N A M E   |   - l   l a b e l ]   |   T Y P E / N A M E   |   - f   F I L E N A M E )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22068"
  },
  {
    "question": "What is Examples?",
    "answer": "#   V i e w   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   t y p e / n a m e   i n   Y A M L   k u b e c t l   a p p l y   v i e w - l a s t - a p p l i e d   d e p l o y m e n t / n g i n x   #   V i e w   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   f i l e   i n   J S O N   k u b e c t l   a p p l y   v i e w - l a s t - a p p l i e d   - f   d e p l o y . y a m l   - o   j s o n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22069"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   t h a t   c o n t a i n s   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   h e l p   f o r   v i e w - l a s t - a p p l i e d   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   M u s t   b e   o n e   o f   ( y a m l ,   j s o n )   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22070"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22071"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   a p p l y   -   A p p l y   a   c o n f i g u r a t i o n   t o   a   r e s o u r c e   b y   f i l e   n a m e   o r   s t d i n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22072"
  },
  {
    "question": "What is Synopsis?",
    "answer": "A t t a c h   t o   a   p r o c e s s   t h a t   i s   a l r e a d y   r u n n i n g   i n s i d e   a n   e x i s t i n g   c o n t a i n e r .   k u b e c t l   a t t a c h   ( P O D   |   T Y P E / N A M E )   - c   C O N T A I N E R",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22073"
  },
  {
    "question": "What is Examples?",
    "answer": "#   G e t   o u t p u t   f r o m   r u n n i n g   p o d   m y p o d ;   u s e   t h e   ' k u b e c t l . k u b e r n e t e s . i o / d e f a u l t - c o n t a i n e r '   a n n o t a t i o n   #   f o r   s e l e c t i n g   t h e   c o n t a i n e r   t o   b e   a t t a c h e d   o r   t h e   f i r s t   c o n t a i n e r   i n   t h e   p o d   w i l l   b e   c h o s e n   k u b e c t l   a t t a c h   m y p o d   #   G e t   o u t p u t   f r o m   r u b y - c o n t a i n e r   f r o m   p o d   m y p o d   k u b e c t l   a t t a c h   m y p o d   - c   r u b y - c o n t a i n e r   #   S w i t c h   t o   r a w   t e r m i n a l   m o d e ;   s e n d s   s t d i n   t o   ' b a s h '   i n   r u b y - c o n t a i n e r   f r o m   p o d   m y p o d   #   a n d   s e n d s   s t d o u t / s t d e r r   f r o m   ' b a s h '   b a c k   t o   t h e   c l i e n t   k u b e c t l   a t t a c h   m y p o d   - c   r u b y - c o n t a i n e r   - i   - t   #   G e t   o u t p u t   f r o m   t h e   f i r s t   p o d   o f   a   r e p l i c a   s e t   n a m e d   n g i n x   k u b e c t l   a t t a c h   r s / n g i n x",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22074"
  },
  {
    "question": "What is Options?",
    "answer": "C o n t a i n e r   n a m e .   I f   o m i t t e d ,   u s e   t h e   k u b e c t l . k u b e r n e t e s . i o / d e f a u l t - c o n t a i n e r   a n n o t a t i o n   f o r   s e l e c t i n g   t h e   c o n t a i n e r   t o   b e   a t t a c h e d   o r   t h e   f i r s t   c o n t a i n e r   i n   t h e   p o d   w i l l   b e   c h o s e n   h e l p   f o r   a t t a c h   T h e   l e n g t h   o f   t i m e   ( l i k e   5 s ,   2 m ,   o r   3 h ,   h i g h e r   t h a n   z e r o )   t o   w a i t   u n t i l   a t   l e a s t   o n e   p o d   i s   r u n n i n g   O n l y   p r i n t   o u t p u t   f r o m   t h e   r e m o t e   s e s s i o n   P a s s   s t d i n   t o   t h e   c o n t a i n e r   S t d i n   i s   a   T T Y",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22075"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22076"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22077"
  },
  {
    "question": "What is Synopsis?",
    "answer": "I n s p e c t   a u t h o r i z a t i o n .   k u b e c t l   a u t h   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22078"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   a u t h",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22079"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22080"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   a u t h   c a n - i   -   C h e c k   w h e t h e r   a n   a c t i o n   i s   a l l o w e d k u b e c t l   a u t h   r e c o n c i l e   -   R e c o n c i l e s   r u l e s   f o r   R B A C   r o l e ,   r o l e   b i n d i n g ,   c l u s t e r   r o l e ,   a n d   c l u s t e r   r o l e   b i n d i n g   o b j e c t s k u b e c t l   a u t h   w h o a m i   -   E x p e r i m e n t a l :   C h e c k   s e l f   s u b j e c t   a t t r i b u t e s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22081"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C h e c k   w h e t h e r   a n   a c t i o n   i s   a l l o w e d .   V E R B   i s   a   l o g i c a l   K u b e r n e t e s   A P I   v e r b   l i k e   ' g e t ' ,   ' l i s t ' ,   ' w a t c h ' ,   ' d e l e t e ' ,   e t c .   T Y P E   i s   a   K u b e r n e t e s   r e s o u r c e .   S h o r t c u t s   a n d   g r o u p s   w i l l   b e   r e s o l v e d .   N O N R E S O U R C E U R L   i s   a   p a r t i a l   U R L   t h a t   s t a r t s   w i t h   \" / \" .   N A M E   i s   t h e   n a m e   o f   a   p a r t i c u l a r   K u b e r n e t e s   r e s o u r c e .   T h i s   c o m m a n d   p a i r s   n i c e l y   w i t h   i m p e r s o n a t i o n .   S e e   - - a s   g l o b a l   f l a g .   k u b e c t l   a u t h   c a n - i   V E R B   [ T Y P E   |   T Y P E / N A M E   |   N O N R E S O U R C E U R L ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22082"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C h e c k   t o   s e e   i f   I   c a n   c r e a t e   p o d s   i n   a n y   n a m e s p a c e   k u b e c t l   a u t h   c a n - i   c r e a t e   p o d s   - - a l l - n a m e s p a c e s   #   C h e c k   t o   s e e   i f   I   c a n   l i s t   d e p l o y m e n t s   i n   m y   c u r r e n t   n a m e s p a c e   k u b e c t l   a u t h   c a n - i   l i s t   d e p l o y m e n t s . a p p s   #   C h e c k   t o   s e e   i f   s e r v i c e   a c c o u n t   \" f o o \"   o f   n a m e s p a c e   \" d e v \"   c a n   l i s t   p o d s   i n   t h e   n a m e s p a c e   \" p r o d \"   #   Y o u   m u s t   b e   a l l o w e d   t o   u s e   i m p e r s o n a t i o n   f o r   t h e   g l o b a l   o p t i o n   \" - - a s \"   k u b e c t l   a u t h   c a n - i   l i s t   p o d s   - - a s = s y s t e m : s e r v i c e a c c o u n t : d e v : f o o   - n   p r o d   #   C h e c k   t o   s e e   i f   I   c a n   d o   e v e r y t h i n g   i n   m y   c u r r e n t   n a m e s p a c e   ( \" * \"   m e a n s   a l l )   k u b e c t l   a u t h   c a n - i   ' * '   ' * '   #   C h e c k   t o   s e e   i f   I   c a n   g e t   t h e   j o b   n a m e d   \" b a r \"   i n   n a m e s p a c e   \" f o o \"   k u b e c t l   a u t h   c a n - i   l i s t   j o b s . b a t c h / b a r   - n   f o o   #   C h e c k   t o   s e e   i f   I   c a n   r e a d   p o d   l o g s   k u b e c t l   a u t h   c a n - i   g e t   p o d s   - - s u b r e s o u r c e = l o g   #   C h e c k   t o   s e e   i f   I   c a n   a c c e s s   t h e   U R L   / l o g s /   k u b e c t l   a u t h   c a n - i   g e t   / l o g s /   #   C h e c k   t o   s e e   i f   I   c a n   a p p r o v e   c e r t i f i c a t e s . k 8 s . i o   k u b e c t l   a u t h   c a n - i   a p p r o v e   c e r t i f i c a t e s . k 8 s . i o   #   L i s t   a l l   a l l o w e d   a c t i o n s   i n   n a m e s p a c e   \" f o o \"   k u b e c t l   a u t h   c a n - i   - - l i s t   - - n ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22083"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   c h e c k   t h e   s p e c i f i e d   a c t i o n   i n   a l l   n a m e s p a c e s .   h e l p   f o r   c a n - i   I f   t r u e ,   p r i n t s   a l l   a l l o w e d   a c t i o n s .   I f   t r u e ,   p r i n t s   a l l o w e d   a c t i o n s   w i t h o u t   h e a d e r s   I f   t r u e ,   s u p p r e s s   o u t p u t   a n d   j u s t   r e t u r n   t h e   e x i t   c o d e .   S u b R e s o u r c e   s u c h   a s   p o d / l o g   o r   d e p l o y m e n t / s c a l e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22084"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22085"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   a u t h   -   I n s p e c t   a u t h o r i z a t i o n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22086"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e c o n c i l e s   r u l e s   f o r   R B A C   r o l e ,   r o l e   b i n d i n g ,   c l u s t e r   r o l e ,   a n d   c l u s t e r   r o l e   b i n d i n g   o b j e c t s .   M i s s i n g   o b j e c t s   a r e   c r e a t e d ,   a n d   t h e   c o n t a i n i n g   n a m e s p a c e   i s   c r e a t e d   f o r   n a m e s p a c e d   o b j e c t s ,   i f   r e q u i r e d .   E x i s t i n g   r o l e s   a r e   u p d a t e d   t o   i n c l u d e   t h e   p e r m i s s i o n s   i n   t h e   i n p u t   o b j e c t s ,   a n d   r e m o v e   e x t r a   p e r m i s s i o n s   i f   - - r e m o v e - e x t r a - p e r m i s s i o n s   i s   s p e c i f i e d .   E x i s t i n g   b i n d i n g s   a r e   u p d a t e d   t o   i n c l u d e   t h e   s u b j e c t s   i n   t h e   i n p u t   o b j e c t s ,   a n d   r e m o v e   e x t r a   s u b j e c t s   i f   - - r e m o v e - e x t r a - s u b j e c t s   i s   s p e c i f i e d .   T h i s   i s   p r e f e r r e d   t o   ' a p p l y '   f o r   R B A C   r e s o u r c e s   s o   t h a t   s e m a n t i c a l l y - a w a r e   m e r g i n g   o f   r u l e s   a n d   s u b j e c t s   i s   d o n e .   k u b e c t l   a u t h   r e c o n c i l e   - f   F I L E N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22087"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R e c o n c i l e   R B A C   r e s o u r c e s   f r o m   a   f i l e   k u b e c t l   a u t h   r e c o n c i l e   - f   m y - r b a c - r u l e s . y a m l",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22088"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   r e c o n c i l e .   h e l p   f o r   r e c o n c i l e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   I f   t r u e ,   r e m o v e s   e x t r a   p e r m i s s i o n s   a d d e d   t o   r o l e s   I f   t r u e ,   r e m o v e s   e x t r a   s u b j e c t s   a d d e d   t o   r o l e b i n d i n g s   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22089"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22090"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   a u t h   -   I n s p e c t   a u t h o r i z a t i o n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22091"
  },
  {
    "question": "What is Synopsis?",
    "answer": "E x p e r i m e n t a l :   C h e c k   w h o   y o u   a r e   a n d   y o u r   a t t r i b u t e s   ( g r o u p s ,   e x t r a ) .   T h i s   c o m m a n d   i s   h e l p f u l   t o   g e t   y o u r s e l f   a w a r e   o f   t h e   c u r r e n t   u s e r   a t t r i b u t e s ,   e s p e c i a l l y   w h e n   d y n a m i c   a u t h e n t i c a t i o n ,   e . g . ,   t o k e n   w e b h o o k ,   a u t h   p r o x y ,   o r   O I D C   p r o v i d e r ,   i s   e n a b l e d   i n   t h e   K u b e r n e t e s   c l u s t e r .   k u b e c t l   a u t h   w h o a m i",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22092"
  },
  {
    "question": "What is Examples?",
    "answer": "#   G e t   y o u r   s u b j e c t   a t t r i b u t e s   k u b e c t l   a u t h   w h o a m i   #   G e t   y o u r   s u b j e c t   a t t r i b u t e s   i n   J S O N   f o r m a t   k u b e c t l   a u t h   w h o a m i   - o   j s o n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22093"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   h e l p   f o r   w h o a m i   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t e x t / t e m p l a t e / # p k g - o v e r v i e w ] .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22094"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22095"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   a u t h   -   I n s p e c t   a u t h o r i z a t i o n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22096"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e s   a n   a u t o s c a l e r   t h a t   a u t o m a t i c a l l y   c h o o s e s   a n d   s e t s   t h e   n u m b e r   o f   p o d s   t h a t   r u n   i n   a   K u b e r n e t e s   c l u s t e r .   T h e   c o m m a n d   w i l l   a t t e m p t   t o   u s e   t h e   a u t o s c a l i n g / v 2   A P I   f i r s t ,   i n   c a s e   o f   a n   e r r o r ,   i t   w i l l   f a l l   b a c k   t o   a u t o s c a l i n g / v 1   A P I .   L o o k s   u p   a   d e p l o y m e n t ,   r e p l i c a   s e t ,   s t a t e f u l   s e t ,   o r   r e p l i c a t i o n   c o n t r o l l e r   b y   n a m e   a n d   c r e a t e s   a n   a u t o s c a l e r   t h a t   u s e s   t h e   g i v e n   r e s o u r c e   a s   a   r e f e r e n c e .   A n   a u t o s c a l e r   c a n   a u t o m a t i c a l l y   i n c r e a s e   o r   d e c r e a s e   n u m b e r   o f   p o d s   d e p l o y e d   w i t h i n   t h e   s y s t e m   a s   n e e d e d .   k u b e c t l   a u t o s c a l e   ( - f   F I L E N A M E   |   T Y P E   N A M E   |   T Y P E / N A M E )   [ - - m i n = M I N P O D S ]   - - m a x = M A X P O D S   [ - - c p u = C P U ]   [ - - m e m o r y = M E M O R Y ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22097"
  },
  {
    "question": "What is Examples?",
    "answer": "#   A u t o   s c a l e   a   d e p l o y m e n t   \" f o o \" ,   w i t h   t h e   n u m b e r   o f   p o d s   b e t w e e n   2   a n d   1 0 ,   n o   t a r g e t   C P U   u t i l i z a t i o n   s p e c i f i e d   s o   a   d e f a u l t   a u t o s c a l i n g   p o l i c y   w i l l   b e   u s e d   k u b e c t l   a u t o s c a l e   d e p l o y m e n t   f o o   - - m i n = 2   - - m a x = 1 0   #   A u t o   s c a l e   a   r e p l i c a t i o n   c o n t r o l l e r   \" f o o \" ,   w i t h   t h e   n u m b e r   o f   p o d s   b e t w e e n   1   a n d   5 ,   t a r g e t   C P U   u t i l i z a t i o n   a t   8 0 %   k u b e c t l   a u t o s c a l e   r c   f o o   - - m a x = 5   - - c p u = 8 0 %   #   A u t o   s c a l e   a   d e p l o y m e n t   \" b a r \" ,   w i t h   t h e   n u m b e r   o f   p o d s   b e t w e e n   3   a n d   6 ,   t a r g e t   a v e r a g e   C P U   o f   5 0 0 m   a n d   m e m o r y   o f   2 0 0 M i   k u b e c t l   a u t o s c a l e   d e p l o y m e n t   b a r   - - m i n = 3   - - m a x = 6   - - c p u = 5 0 0 m   - - m e m o r y = 2 0 0 M i   #   A u t o   s c a l e   a   d e p l o y m e n t   \" b a r \" ,   w i t h   t h e   n u m b e r   o f   p o d s   b e t w e e n   2   a n d   8 ,   t a r g e t   C P U   u t i l i z a t i o n   6 0 %   a n d   m e m o r y   u t i l i z a t i o n   7 0 %   k u b e c t l   a u t o s c a l e   d e p l o y m e n t   b a r   - - m i n = 3   - - m a x = 6   - - c p u = 6 0 %   - - m e m o r y = 7 0 %",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22098"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   T a r g e t   C P U   u t i l i z a t i o n   o v e r   a l l   t h e   p o d s .   W h e n   s p e c i f i e d   a s   a   p e r c e n t a g e   ( e . g . \" 7 0 % \"   f o r   7 0 %   o f   r e q u e s t e d   C P U )   i t   w i l l   t a r g e t   a v e r a g e   u t i l i z a t i o n .   W h e n   s p e c i f i e d   a s   q u a n t i t y   ( e . g . \" 5 0 0 m \"   f o r   5 0 0   m i l l i C P U )   i t   w i l l   t a r g e t   a v e r a g e   v a l u e .   V a l u e   w i t h o u t   u n i t s   i s   t r e a t e d   a s   a   q u a n t i t y   w i t h   m i l i C P U   b e i n g   t h e   u n i t   ( e . g . \" 5 0 0 \"   i s   \" 5 0 0 m \" ) .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   a u t o s c a l e .   h e l p   f o r   a u t o s c a l e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   T h e   u p p e r   l i m i t   f o r   t h e   n u m b e r   o f   p o d s   t h a t   c a n   b e   s e t   b y   t h e   a u t o s c a l e r .   R e q u i r e d .   T a r g e t   m e m o ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22099"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22100"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22101"
  },
  {
    "question": "What is Synopsis?",
    "answer": "M o d i f y   c e r t i f i c a t e   r e s o u r c e s .   k u b e c t l   c e r t i f i c a t e   S U B C O M M A N D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22102"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c e r t i f i c a t e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22103"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22104"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   c e r t i f i c a t e   a p p r o v e   -   A p p r o v e   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t k u b e c t l   c e r t i f i c a t e   d e n y   -   D e n y   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22105"
  },
  {
    "question": "What is Synopsis?",
    "answer": "A p p r o v e   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t .   k u b e c t l   c e r t i f i c a t e   a p p r o v e   a l l o w s   a   c l u s t e r   a d m i n   t o   a p p r o v e   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t   ( C S R ) .   T h i s   a c t i o n   t e l l s   a   c e r t i f i c a t e   s i g n i n g   c o n t r o l l e r   t o   i s s u e   a   c e r t i f i c a t e   t o   t h e   r e q u e s t e r   w i t h   t h e   a t t r i b u t e s   r e q u e s t e d   i n   t h e   C S R .   S E C U R I T Y   N O T I C E :   D e p e n d i n g   o n   t h e   r e q u e s t e d   a t t r i b u t e s ,   t h e   i s s u e d   c e r t i f i c a t e   c a n   p o t e n t i a l l y   g r a n t   a   r e q u e s t e r   a c c e s s   t o   c l u s t e r   r e s o u r c e s   o r   t o   a u t h e n t i c a t e   a s   a   r e q u e s t e d   i d e n t i t y .   B e f o r e   a p p r o v i n g   a   C S R ,   e n s u r e   y o u   u n d e r s t a n d   w h a t   t h e   s i g n e d   c e r t i f i c a t e   c a n   d o .   k u b e c t l   c e r t i f i c a t e   a p p r o v e   ( - f   F I L E N A M E   |   N A M E )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22106"
  },
  {
    "question": "What is Examples?",
    "answer": "#   A p p r o v e   C S R   ' c s r - s q g z p '   k u b e c t l   c e r t i f i c a t e   a p p r o v e   c s r - s q g z p",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22107"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   u p d a t e   U p d a t e   t h e   C S R   e v e n   i f   i t   i s   a l r e a d y   a p p r o v e d .   h e l p   f o r   a p p r o v e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t e x t / t e m p l a t e / # p k g - o v e r v i e w ] .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22108"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22109"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c e r t i f i c a t e   -   M o d i f y   c e r t i f i c a t e   r e s o u r c e s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22110"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D e n y   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t .   k u b e c t l   c e r t i f i c a t e   d e n y   a l l o w s   a   c l u s t e r   a d m i n   t o   d e n y   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t   ( C S R ) .   T h i s   a c t i o n   t e l l s   a   c e r t i f i c a t e   s i g n i n g   c o n t r o l l e r   t o   n o t   t o   i s s u e   a   c e r t i f i c a t e   t o   t h e   r e q u e s t e r .   k u b e c t l   c e r t i f i c a t e   d e n y   ( - f   F I L E N A M E   |   N A M E )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22111"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D e n y   C S R   ' c s r - s q g z p '   k u b e c t l   c e r t i f i c a t e   d e n y   c s r - s q g z p",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22112"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   u p d a t e   U p d a t e   t h e   C S R   e v e n   i f   i t   i s   a l r e a d y   d e n i e d .   h e l p   f o r   d e n y   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t e x t / t e m p l a t e / # p k g - o v e r v i e w ] .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22113"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22114"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c e r t i f i c a t e   -   M o d i f y   c e r t i f i c a t e   r e s o u r c e s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22115"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   a d d r e s s e s   o f   t h e   c o n t r o l   p l a n e   a n d   s e r v i c e s   w i t h   l a b e l   k u b e r n e t e s . i o / c l u s t e r - s e r v i c e = t r u e .   T o   f u r t h e r   d e b u g   a n d   d i a g n o s e   c l u s t e r   p r o b l e m s ,   u s e   ' k u b e c t l   c l u s t e r - i n f o   d u m p ' .   k u b e c t l   c l u s t e r - i n f o   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22116"
  },
  {
    "question": "What is Examples?",
    "answer": "#   P r i n t   t h e   a d d r e s s   o f   t h e   c o n t r o l   p l a n e   a n d   c l u s t e r   s e r v i c e s   k u b e c t l   c l u s t e r - i n f o",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22117"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c l u s t e r - i n f o",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22118"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22119"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   c l u s t e r - i n f o   d u m p   -   D u m p   r e l e v a n t   i n f o r m a t i o n   f o r   d e b u g g i n g   a n d   d i a g n o s i s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22120"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D u m p   c l u s t e r   i n f o r m a t i o n   o u t   s u i t a b l e   f o r   d e b u g g i n g   a n d   d i a g n o s i n g   c l u s t e r   p r o b l e m s .   B y   d e f a u l t ,   d u m p s   e v e r y t h i n g   t o   s t d o u t .   Y o u   c a n   o p t i o n a l l y   s p e c i f y   a   d i r e c t o r y   w i t h   - - o u t p u t - d i r e c t o r y .   I f   y o u   s p e c i f y   a   d i r e c t o r y ,   K u b e r n e t e s   w i l l   b u i l d   a   s e t   o f   f i l e s   i n   t h a t   d i r e c t o r y .   B y   d e f a u l t ,   o n l y   d u m p s   t h i n g s   i n   t h e   c u r r e n t   n a m e s p a c e   a n d   ' k u b e - s y s t e m '   n a m e s p a c e ,   b u t   y o u   c a n   s w i t c h   t o   a   d i f f e r e n t   n a m e s p a c e   w i t h   t h e   - - n a m e s p a c e s   f l a g ,   o r   s p e c i f y   - - a l l - n a m e s p a c e s   t o   d u m p   a l l   n a m e s p a c e s .   T h e   c o m m a n d   a l s o   d u m p s   t h e   l o g s   o f   a l l   o f   t h e   p o d s   i n   t h e   c l u s t e r ;   t h e s e   l o g s   a r e   d u m p e d   i n t o   d i f f e r e n t   d i r e c t o r i e s   b a s e d   o n   n a m e s p a c e   a n d   p o d   n a m e .   k u b e c t l   c l u s t e r - i n f o   d u m p   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22121"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D u m p   c u r r e n t   c l u s t e r   s t a t e   t o   s t d o u t   k u b e c t l   c l u s t e r - i n f o   d u m p   #   D u m p   c u r r e n t   c l u s t e r   s t a t e   t o   / p a t h / t o / c l u s t e r - s t a t e   k u b e c t l   c l u s t e r - i n f o   d u m p   - - o u t p u t - d i r e c t o r y = / p a t h / t o / c l u s t e r - s t a t e   #   D u m p   a l l   n a m e s p a c e s   t o   s t d o u t   k u b e c t l   c l u s t e r - i n f o   d u m p   - - a l l - n a m e s p a c e s   #   D u m p   a   s e t   o f   n a m e s p a c e s   t o   / p a t h / t o / c l u s t e r - s t a t e   k u b e c t l   c l u s t e r - i n f o   d u m p   - - n a m e s p a c e s   d e f a u l t , k u b e - s y s t e m   - - o u t p u t - d i r e c t o r y = / p a t h / t o / c l u s t e r - s t a t e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22122"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   d u m p   a l l   n a m e s p a c e s .   I f   t r u e ,   - - n a m e s p a c e s   i s   i g n o r e d .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   h e l p   f o r   d u m p   A   c o m m a   s e p a r a t e d   l i s t   o f   n a m e s p a c e s   t o   d u m p .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   W h e r e   t o   o u t p u t   t h e   f i l e s .   I f   e m p t y   o r   ' - '   u s e s   s t d o u t ,   o t h e r w i s e   c r e a t e s   a   d i r e c t o r y   h i e r a r c h y   i n   t h a t   d i r e c t o r y   T h e   l e n g t h   o f   t i m e   ( l i k e   5 s ,   2 m ,   o r   3 h ,   h i g h e r   t h a n   z e r o )   t o   w a i t   u n t i l   a t   l e a s t   o n e   p o d   i s   r u n n i n g   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t e x t / t e m p l a t e / # p k g - o v e r v i e w ] .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22123"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22124"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c l u s t e r - i n f o   -   D i s p l a y   c l u s t e r   i n f o r m a t i o n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22125"
  },
  {
    "question": "What is Synopsis?",
    "answer": "O u t p u t   s h e l l   c o m p l e t i o n   c o d e   f o r   t h e   s p e c i f i e d   s h e l l   ( b a s h ,   z s h ,   f i s h ,   o r   p o w e r s h e l l ) .   T h e   s h e l l   c o d e   m u s t   b e   e v a l u a t e d   t o   p r o v i d e   i n t e r a c t i v e   c o m p l e t i o n   o f   k u b e c t l   c o m m a n d s .   T h i s   c a n   b e   d o n e   b y   s o u r c i n g   i t   f r o m   t h e   . b a s h _ p r o f i l e .   D e t a i l e d   i n s t r u c t i o n s   o n   h o w   t o   d o   t h i s   a r e   a v a i l a b l e   h e r e :   f o r   m a c O S :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / t o o l s / i n s t a l l - k u b e c t l - m a c o s / # e n a b l e - s h e l l - a u t o c o m p l e t i o n   f o r   l i n u x :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / t o o l s / i n s t a l l - k u b e c t l - l i n u x / # e n a b l e - s h e l l - a u t o c o m p l e t i o n   f o r   w i n d o w s :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / t o o l s / i n s t a l l - k u b e c t l - w i n d o w s / # e n a b l e - s h e l l - a u t o c o m p l e t i o n   N o t e   f o r   z s h   u s e r s :   [ 1 ]   z s h   c o m p l e t i o n s   a r e   o n l y   s u p p o r t e d   i n   v e r s i o n s   o f   z s h   > =   5 . 2 .   k u b e c t l   c o m p l e t i o n   S H E L L",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22126"
  },
  {
    "question": "What is Examples?",
    "answer": "#   I n s t a l l i n g   b a s h   c o m p l e t i o n   o n   m a c O S   u s i n g   h o m e b r e w   # #   I f   r u n n i n g   B a s h   3 . 2   i n c l u d e d   w i t h   m a c O S   b r e w   i n s t a l l   b a s h - c o m p l e t i o n   # #   o r ,   i f   r u n n i n g   B a s h   4 . 1 +   b r e w   i n s t a l l   b a s h - c o m p l e t i o n @ 2   # #   I f   k u b e c t l   i s   i n s t a l l e d   v i a   h o m e b r e w ,   t h i s   s h o u l d   s t a r t   w o r k i n g   i m m e d i a t e l y   # #   I f   y o u ' v e   i n s t a l l e d   v i a   o t h e r   m e a n s ,   y o u   m a y   n e e d   a d d   t h e   c o m p l e t i o n   t o   y o u r   c o m p l e t i o n   d i r e c t o r y   k u b e c t l   c o m p l e t i o n   b a s h   >   $ ( b r e w   - - p r e f i x ) / e t c / b a s h _ c o m p l e t i o n . d / k u b e c t l   #   I n s t a l l i n g   b a s h   c o m p l e t i o n   o n   L i n u x   # #   I f   b a s h - c o m p l e t i o n   i s   n o t   i n s t a l l e d   o n   L i n u x ,   i n s t a l l   t h e   ' b a s h - c o m p l e t i o n '   p a c k a g e   # #   v i a   y o u r   d i s t r i b u t i o n ' s   p a c k a g e   m a n a g e r .   # #   L o a d   t h e   k u b e c t l   c o m p l e t i o n   c o d e   f o r   b a s h   i n t o   t h e   c u r r e n t   s h e l l   s o u r c e   < ( k u b e c t l   c o m p l e t i o n   b a s h )   # #   W r i t e   b a s h   c o m p l e t i o n   c o d e   t o   a   f i l e   a n d   s o u r c e   i t   f r o m   . b a s h _ p r o f i l e   k u b e c t l   c o m p l e t i o n   b a s h   >   ~ / . k u b e / c o m p l e t i o n . b a s h . i n c   p r i n t f   \"   #   k u b e c t l   s h e l l   c o m p l e t i o n   s o u r c e   ' $ H O M E / . k u b e / c o m p l e t i o n . b a s h . i n c '   \"   > >   $ H O M E / . b a s h _ p r o f i l e   s o u r c e   $ H O M E / . b a s h _ p r o f i l e   #   L o a d   t h e   k u b e c t l   c o m p l e t i o n   c o d e   f ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22127"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c o m p l e t i o n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22128"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22129"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22130"
  },
  {
    "question": "What is Synopsis?",
    "answer": "M o d i f y   k u b e c o n f i g   f i l e s   u s i n g   s u b c o m m a n d s   l i k e   \" k u b e c t l   c o n f i g   s e t   c u r r e n t - c o n t e x t   m y - c o n t e x t \" .   T h e   l o a d i n g   o r d e r   f o l l o w s   t h e s e   r u l e s :   I f   t h e   - - k u b e c o n f i g   f l a g   i s   s e t ,   t h e n   o n l y   t h a t   f i l e   i s   l o a d e d .   T h e   f l a g   m a y   o n l y   b e   s e t   o n c e   a n d   n o   m e r g i n g   t a k e s   p l a c e . I f   $ K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   i s   s e t ,   t h e n   i t   i s   u s e d   a s   a   l i s t   o f   p a t h s   ( n o r m a l   p a t h   d e l i m i t i n g   r u l e s   f o r   y o u r   s y s t e m ) .   T h e s e   p a t h s   a r e   m e r g e d .   W h e n   a   v a l u e   i s   m o d i f i e d ,   i t   i s   m o d i f i e d   i n   t h e   f i l e   t h a t   d e f i n e s   t h e   s t a n z a .   W h e n   a   v a l u e   i s   c r e a t e d ,   i t   i s   c r e a t e d   i n   t h e   f i r s t   f i l e   t h a t   e x i s t s .   I f   n o   f i l e s   i n   t h e   c h a i n   e x i s t ,   t h e n   i t   c r e a t e s   t h e   l a s t   f i l e   i n   t h e   l i s t . O t h e r w i s e ,   $ { H O M E } / . k u b e / c o n f i g   i s   u s e d   a n d   n o   m e r g i n g   t a k e s   p l a c e .   k u b e c t l   c o n f i g   S U B C O M M A N D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22131"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c o n f i g   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22132"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e r   N a m e   o f   p r o f i l e   t o   c a p t u r e .   O n e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22133"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   c o n f i g   c u r r e n t - c o n t e x t   -   D i s p l a y   t h e   c u r r e n t - c o n t e x t k u b e c t l   c o n f i g   d e l e t e - c l u s t e r   -   D e l e t e   t h e   s p e c i f i e d   c l u s t e r   f r o m   t h e   k u b e c o n f i g k u b e c t l   c o n f i g   d e l e t e - c o n t e x t   -   D e l e t e   t h e   s p e c i f i e d   c o n t e x t   f r o m   t h e   k u b e c o n f i g k u b e c t l   c o n f i g   d e l e t e - u s e r   -   D e l e t e   t h e   s p e c i f i e d   u s e r   f r o m   t h e   k u b e c o n f i g k u b e c t l   c o n f i g   g e t - c l u s t e r s   -   D i s p l a y   c l u s t e r s   d e f i n e d   i n   t h e   k u b e c o n f i g k u b e c t l   c o n f i g   g e t - c o n t e x t s   -   D e s c r i b e   o n e   o r   m a n y   c o n t e x t s k u b e c t l   c o n f i g   g e t - u s e r s   -   D i s p l a y   u s e r s   d e f i n e d   i n   t h e   k u b e c o n f i g k u b e c t l   c o n f i g   r e n a m e - c o n t e x t   -   R e n a m e   a   c o n t e x t   f r o m   t h e   k u b e c o n f i g   f i l e k u b e c t l   c o n f i g   s e t   -   S e t   a n   i n d i v i d u a l   v a l u e   i n   a   k u b e c o n f i g   f i l e k u b e c t l   c o n f i g   s e t - c l u s t e r   -   S e t   a   c l u s t e r   e n t r y   i n   k u b e c o n f i g k u b e c t l   c o n f i g   s e t - c o n t e x t   -   S e t   a   c o n t e x t   e n t r y   i n   k u b e c o n f i g k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   -   S e t   a   u s e r   e n t r y   i n   k u b e c o n f i g k u b e c t l   c o n f i g   u n s e t   -   U n s e t   a n   i n d i v i d u a l   v a l u e   i n   a   k u b e c o n f i g   f i l e k u b e c t l   c o n f i g   u s e - c o n t e x t   -   S e t   t h e   c u r r e n t - c o n t e x t   i n   a   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22134"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   t h e   c u r r e n t - c o n t e x t .   k u b e c t l   c o n f i g   c u r r e n t - c o n t e x t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22135"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D i s p l a y   t h e   c u r r e n t - c o n t e x t   k u b e c t l   c o n f i g   c u r r e n t - c o n t e x t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22136"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c u r r e n t - c o n t e x t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22137"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22138"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22139"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D e l e t e   t h e   s p e c i f i e d   c l u s t e r   f r o m   t h e   k u b e c o n f i g .   k u b e c t l   c o n f i g   d e l e t e - c l u s t e r   N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22140"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D e l e t e   t h e   m i n i k u b e   c l u s t e r   k u b e c t l   c o n f i g   d e l e t e - c l u s t e r   m i n i k u b e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22141"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   d e l e t e - c l u s t e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22142"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22143"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22144"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D e l e t e   t h e   s p e c i f i e d   c o n t e x t   f r o m   t h e   k u b e c o n f i g .   k u b e c t l   c o n f i g   d e l e t e - c o n t e x t   N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22145"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D e l e t e   t h e   c o n t e x t   f o r   t h e   m i n i k u b e   c l u s t e r   k u b e c t l   c o n f i g   d e l e t e - c o n t e x t   m i n i k u b e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22146"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   d e l e t e - c o n t e x t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22147"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22148"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22149"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D e l e t e   t h e   s p e c i f i e d   u s e r   f r o m   t h e   k u b e c o n f i g .   k u b e c t l   c o n f i g   d e l e t e - u s e r   N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22150"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D e l e t e   t h e   m i n i k u b e   u s e r   k u b e c t l   c o n f i g   d e l e t e - u s e r   m i n i k u b e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22151"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   d e l e t e - u s e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22152"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22153"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22154"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   c l u s t e r s   d e f i n e d   i n   t h e   k u b e c o n f i g .   k u b e c t l   c o n f i g   g e t - c l u s t e r s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22155"
  },
  {
    "question": "What is Examples?",
    "answer": "#   L i s t   t h e   c l u s t e r s   t h a t   k u b e c t l   k n o w s   a b o u t   k u b e c t l   c o n f i g   g e t - c l u s t e r s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22156"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   g e t - c l u s t e r s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22157"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22158"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22159"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   o n e   o r   m a n y   c o n t e x t s   f r o m   t h e   k u b e c o n f i g   f i l e .   k u b e c t l   c o n f i g   g e t - c o n t e x t s   [ ( - o | - - o u t p u t = ) n a m e ) ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22160"
  },
  {
    "question": "What is Examples?",
    "answer": "#   L i s t   a l l   t h e   c o n t e x t s   i n   y o u r   k u b e c o n f i g   f i l e   k u b e c t l   c o n f i g   g e t - c o n t e x t s   #   D e s c r i b e   o n e   c o n t e x t   i n   y o u r   k u b e c o n f i g   f i l e   k u b e c t l   c o n f i g   g e t - c o n t e x t s   m y - c o n t e x t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22161"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   g e t - c o n t e x t s   W h e n   u s i n g   t h e   d e f a u l t   o r   c u s t o m - c o l u m n   o u t p u t   f o r m a t ,   d o n ' t   p r i n t   h e a d e r s   ( d e f a u l t   p r i n t   h e a d e r s ) .   O u t p u t   f o r m a t .   O n e   o f :   ( n a m e ) .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22162"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22163"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22164"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   u s e r s   d e f i n e d   i n   t h e   k u b e c o n f i g .   k u b e c t l   c o n f i g   g e t - u s e r s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22165"
  },
  {
    "question": "What is Examples?",
    "answer": "#   L i s t   t h e   u s e r s   t h a t   k u b e c t l   k n o w s   a b o u t   k u b e c t l   c o n f i g   g e t - u s e r s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22166"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   g e t - u s e r s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22167"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22168"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22169"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n a m e s   a   c o n t e x t   f r o m   t h e   k u b e c o n f i g   f i l e .   C O N T E X T _ N A M E   i s   t h e   c o n t e x t   n a m e   t h a t   y o u   w a n t   t o   c h a n g e .   N E W _ N A M E   i s   t h e   n e w   n a m e   y o u   w a n t   t o   s e t .   N o t e :   I f   t h e   c o n t e x t   b e i n g   r e n a m e d   i s   t h e   ' c u r r e n t - c o n t e x t ' ,   t h i s   f i e l d   w i l l   a l s o   b e   u p d a t e d .   k u b e c t l   c o n f i g   r e n a m e - c o n t e x t   C O N T E X T _ N A M E   N E W _ N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22170"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R e n a m e   t h e   c o n t e x t   ' o l d - n a m e '   t o   ' n e w - n a m e '   i n   y o u r   k u b e c o n f i g   f i l e   k u b e c t l   c o n f i g   r e n a m e - c o n t e x t   o l d - n a m e   n e w - n a m e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22171"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   r e n a m e - c o n t e x t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22172"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22173"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22174"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S e t   a n   i n d i v i d u a l   v a l u e   i n   a   k u b e c o n f i g   f i l e .   P R O P E R T Y _ N A M E   i s   a   d o t   d e l i m i t e d   n a m e   w h e r e   e a c h   t o k e n   r e p r e s e n t s   e i t h e r   a n   a t t r i b u t e   n a m e   o r   a   m a p   k e y .   M a p   k e y s   m a y   n o t   c o n t a i n   d o t s .   P R O P E R T Y _ V A L U E   i s   t h e   n e w   v a l u e   y o u   w a n t   t o   s e t .   B i n a r y   f i e l d s   s u c h   a s   ' c e r t i f i c a t e - a u t h o r i t y - d a t a '   e x p e c t   a   b a s e 6 4   e n c o d e d   s t r i n g   u n l e s s   t h e   - - s e t - r a w - b y t e s   f l a g   i s   u s e d .   S p e c i f y i n g   a n   a t t r i b u t e   n a m e   t h a t   a l r e a d y   e x i s t s   w i l l   m e r g e   n e w   f i e l d s   o n   t o p   o f   e x i s t i n g   v a l u e s .   k u b e c t l   c o n f i g   s e t   P R O P E R T Y _ N A M E   P R O P E R T Y _ V A L U E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22175"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   t h e   s e r v e r   f i e l d   o n   t h e   m y - c l u s t e r   c l u s t e r   t o   h t t p s : / / 1 . 2 . 3 . 4   k u b e c t l   c o n f i g   s e t   c l u s t e r s . m y - c l u s t e r . s e r v e r   h t t p s : / / 1 . 2 . 3 . 4   #   S e t   t h e   c e r t i f i c a t e - a u t h o r i t y - d a t a   f i e l d   o n   t h e   m y - c l u s t e r   c l u s t e r   k u b e c t l   c o n f i g   s e t   c l u s t e r s . m y - c l u s t e r . c e r t i f i c a t e - a u t h o r i t y - d a t a   $ ( e c h o   \" c e r t _ d a t a _ h e r e \"   |   b a s e 6 4   - i   - )   #   S e t   t h e   c l u s t e r   f i e l d   i n   t h e   m y - c o n t e x t   c o n t e x t   t o   m y - c l u s t e r   k u b e c t l   c o n f i g   s e t   c o n t e x t s . m y - c o n t e x t . c l u s t e r   m y - c l u s t e r   #   S e t   t h e   c l i e n t - k e y - d a t a   f i e l d   i n   t h e   c l u s t e r - a d m i n   u s e r   u s i n g   - - s e t - r a w - b y t e s   o p t i o n   k u b e c t l   c o n f i g   s e t   u s e r s . c l u s t e r - a d m i n . c l i e n t - k e y - d a t a   c e r t _ d a t a _ h e r e   - - s e t - r a w - b y t e s = t r u e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22176"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   s e t   W h e n   w r i t i n g   a   [ ] b y t e   P R O P E R T Y _ V A L U E ,   w r i t e   t h e   g i v e n   s t r i n g   d i r e c t l y   w i t h o u t   b a s e 6 4   d e c o d i n g .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22177"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22178"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22179"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S e t   a   c l u s t e r   e n t r y   i n   k u b e c o n f i g .   S p e c i f y i n g   a   n a m e   t h a t   a l r e a d y   e x i s t s   w i l l   m e r g e   n e w   f i e l d s   o n   t o p   o f   e x i s t i n g   v a l u e s   f o r   t h o s e   f i e l d s .   k u b e c t l   c o n f i g   s e t - c l u s t e r   N A M E   [ - - s e r v e r = s e r v e r ]   [ - - c e r t i f i c a t e - a u t h o r i t y = p a t h / t o / c e r t i f i c a t e / a u t h o r i t y ]   [ - - i n s e c u r e - s k i p - t l s - v e r i f y = t r u e ]   [ - - t l s - s e r v e r - n a m e = e x a m p l e . c o m ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22180"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   o n l y   t h e   s e r v e r   f i e l d   o n   t h e   e 2 e   c l u s t e r   e n t r y   w i t h o u t   t o u c h i n g   o t h e r   v a l u e s   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - s e r v e r = h t t p s : / / 1 . 2 . 3 . 4   #   E m b e d   c e r t i f i c a t e   a u t h o r i t y   d a t a   f o r   t h e   e 2 e   c l u s t e r   e n t r y   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - e m b e d - c e r t s   - - c e r t i f i c a t e - a u t h o r i t y = ~ / . k u b e / e 2 e / k u b e r n e t e s . c a . c r t   #   D i s a b l e   c e r t   c h e c k i n g   f o r   t h e   e 2 e   c l u s t e r   e n t r y   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - i n s e c u r e - s k i p - t l s - v e r i f y = t r u e   #   S e t   t h e   c u s t o m   T L S   s e r v e r   n a m e   t o   u s e   f o r   v a l i d a t i o n   f o r   t h e   e 2 e   c l u s t e r   e n t r y   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - t l s - s e r v e r - n a m e = m y - c l u s t e r - n a m e   #   S e t   t h e   p r o x y   U R L   f o r   t h e   e 2 e   c l u s t e r   e n t r y   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - p r o x y - u r l = h t t p s : / / 1 . 2 . 3 . 4",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22181"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   c e r t i f i c a t e - a u t h o r i t y   f i l e   f o r   t h e   c l u s t e r   e n t r y   i n   k u b e c o n f i g   e m b e d - c e r t s   f o r   t h e   c l u s t e r   e n t r y   i n   k u b e c o n f i g   h e l p   f o r   s e t - c l u s t e r   i n s e c u r e - s k i p - t l s - v e r i f y   f o r   t h e   c l u s t e r   e n t r y   i n   k u b e c o n f i g   p r o x y - u r l   f o r   t h e   c l u s t e r   e n t r y   i n   k u b e c o n f i g   s e r v e r   f o r   t h e   c l u s t e r   e n t r y   i n   k u b e c o n f i g   t l s - s e r v e r - n a m e   f o r   t h e   c l u s t e r   e n t r y   i n   k u b e c o n f i g",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22182"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e r   N a m e   o f   p r o f i l e   t o   c a p t u r e .   O n e   o f   ( n o n e | c p u | h e a p | g o r o u t i n e | t h r e a d c r e a t e | b l o c k | m u t e x )   N a m e   o f   t h e   f i l e   t o   w r i t e   t h e   p r o f i l e   t o   T h e   l e n g t h   o f   t i m e   t o   w a i t   b e f o r e   g i ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22183"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22184"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S e t   a   c o n t e x t   e n t r y   i n   k u b e c o n f i g .   S p e c i f y i n g   a   n a m e   t h a t   a l r e a d y   e x i s t s   w i l l   m e r g e   n e w   f i e l d s   o n   t o p   o f   e x i s t i n g   v a l u e s   f o r   t h o s e   f i e l d s .   k u b e c t l   c o n f i g   s e t - c o n t e x t   [ N A M E   |   - - c u r r e n t ]   [ - - c l u s t e r = c l u s t e r _ n i c k n a m e ]   [ - - u s e r = u s e r _ n i c k n a m e ]   [ - - n a m e s p a c e = n a m e s p a c e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22185"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   t h e   u s e r   f i e l d   o n   t h e   g c e   c o n t e x t   e n t r y   w i t h o u t   t o u c h i n g   o t h e r   v a l u e s   k u b e c t l   c o n f i g   s e t - c o n t e x t   g c e   - - u s e r = c l u s t e r - a d m i n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22186"
  },
  {
    "question": "What is Options?",
    "answer": "c l u s t e r   f o r   t h e   c o n t e x t   e n t r y   i n   k u b e c o n f i g   M o d i f y   t h e   c u r r e n t   c o n t e x t   h e l p   f o r   s e t - c o n t e x t   n a m e s p a c e   f o r   t h e   c o n t e x t   e n t r y   i n   k u b e c o n f i g   u s e r   f o r   t h e   c o n t e x t   e n t r y   i n   k u b e c o n f i g",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22187"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e r   N a m e   o f   p r o f i l e   t o   c a p t u r e .   O n e   o f   ( n o n e | c p u | h e a p | g o r o u t i n e | t h r e a d c r e a t e | b l o c k | m u t e x )   N a m e   o f ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22188"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22189"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S e t   a   u s e r   e n t r y   i n   k u b e c o n f i g .   S p e c i f y i n g   a   n a m e   t h a t   a l r e a d y   e x i s t s   w i l l   m e r g e   n e w   f i e l d s   o n   t o p   o f   e x i s t i n g   v a l u e s .   C l i e n t - c e r t i f i c a t e   f l a g s :   - - c l i e n t - c e r t i f i c a t e = c e r t f i l e   - - c l i e n t - k e y = k e y f i l e   B e a r e r   t o k e n   f l a g s :   - - t o k e n = b e a r e r _ t o k e n   B a s i c   a u t h   f l a g s :   - - u s e r n a m e = b a s i c _ u s e r   - - p a s s w o r d = b a s i c _ p a s s w o r d   B e a r e r   t o k e n   a n d   b a s i c   a u t h   a r e   m u t u a l l y   e x c l u s i v e .   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   N A M E   [ - - c l i e n t - c e r t i f i c a t e = p a t h / t o / c e r t f i l e ]   [ - - c l i e n t - k e y = p a t h / t o / k e y f i l e ]   [ - - t o k e n = b e a r e r _ t o k e n ]   [ - - u s e r n a m e = b a s i c _ u s e r ]   [ - - p a s s w o r d = b a s i c _ p a s s w o r d ]   [ - - a u t h - p r o v i d e r = p r o v i d e r _ n a m e ]   [ - - a u t h - p r o v i d e r - a r g = k e y = v a l u e ]   [ - - e x e c - c o m m a n d = e x e c _ c o m m a n d ]   [ - - e x e c - a p i - v e r s i o n = e x e c _ a p i _ v e r s i o n ]   [ - - e x e c - a r g = a r g ]   [ - - e x e c - e n v = k e y = v a l u e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22190"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   o n l y   t h e   \" c l i e n t - k e y \"   f i e l d   o n   t h e   \" c l u s t e r - a d m i n \"   #   e n t r y ,   w i t h o u t   t o u c h i n g   o t h e r   v a l u e s   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - c l i e n t - k e y = ~ / . k u b e / a d m i n . k e y   #   S e t   b a s i c   a u t h   f o r   t h e   \" c l u s t e r - a d m i n \"   e n t r y   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - u s e r n a m e = a d m i n   - - p a s s w o r d = u X F G w e U 9 l 3 5 q c i f   #   E m b e d   c l i e n t   c e r t i f i c a t e   d a t a   i n   t h e   \" c l u s t e r - a d m i n \"   e n t r y   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - c l i e n t - c e r t i f i c a t e = ~ / . k u b e / a d m i n . c r t   - - e m b e d - c e r t s = t r u e   #   E n a b l e   t h e   G o o g l e   C o m p u t e   P l a t f o r m   a u t h   p r o v i d e r   f o r   t h e   \" c l u s t e r - a d m i n \"   e n t r y   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - a u t h - p r o v i d e r = g c p   #   E n a b l e   t h e   O p e n I D   C o n n e c t   a u t h   p r o v i d e r   f o r   t h e   \" c l u s t e r - a d m i n \"   e n t r y   w i t h   a d d i t i o n a l   a r g u m e n t s   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - a u t h - p r o v i d e r = o i d c   - - a u t h - p r o v i d e r - a r g = c l i e n t - i d = f o o   - - a u t h - p r o v i d e r - a r g = c l i e n t - s e c r e t = b a r   #   R e m o v e   t h e   \" c l i e n t - s e c r e t \"   c o n f i g   v a l u e   f o r   t h e   O p e n I D   C o n n e c t   a u t h   p r o v i d e r   f o r   t h e   \" c l u s t e r - a d m i n \"   e n t r y   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22191"
  },
  {
    "question": "What is Options?",
    "answer": "A u t h   p r o v i d e r   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   ' k e y = v a l u e '   a r g u m e n t s   f o r   t h e   a u t h   p r o v i d e r   P a t h   t o   c l i e n t - c e r t i f i c a t e   f i l e   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   P a t h   t o   c l i e n t - k e y   f i l e   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   E m b e d   c l i e n t   c e r t / k e y   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   A P I   v e r s i o n   o f   t h e   e x e c   c r e d e n t i a l   p l u g i n   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   N e w   a r g u m e n t s   f o r   t h e   e x e c   c r e d e n t i a l   p l u g i n   c o m m a n d   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   C o m m a n d   f o r   t h e   e x e c   c r e d e n t i a l   p l u g i n   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   ' k e y = v a l u e '   e n v i r o n m e n t   v a l u e s   f o r   t h e   e x e c   c r e d e n t i a l   p l u g i n   I n t e r a c t i v e M o d e   o f   t h e   e x e c   c r e d e n t i a l s   p l u g i n   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   P r o v i d e C l u s t e r I n f o   o f   t h e   e x e c   c r e d e n t i a l s   p l u g i n   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   h e l p   f o r   s e t - c r e d e n t i a l s   p a s s w o r d   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   t o k e n   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   u s e r n a m e   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22192"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   N a m e   o f   p r o f i l e   t o   c a p t u r e .   O n e   o f   ( n o n e | c p u | h e a p | g o r o u t i n e | t h r e a d c r e a t e | b l o c k | m u t e x )   N a m e   o f   t h e   f i l e   t o   w r i t e   t h e   p r o f i l e   t o ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22193"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22194"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U n s e t   a n   i n d i v i d u a l   v a l u e   i n   a   k u b e c o n f i g   f i l e .   P R O P E R T Y _ N A M E   i s   a   d o t   d e l i m i t e d   n a m e   w h e r e   e a c h   t o k e n   r e p r e s e n t s   e i t h e r   a n   a t t r i b u t e   n a m e   o r   a   m a p   k e y .   M a p   k e y s   m a y   n o t   c o n t a i n   d o t s .   k u b e c t l   c o n f i g   u n s e t   P R O P E R T Y _ N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22195"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U n s e t   t h e   c u r r e n t - c o n t e x t   k u b e c t l   c o n f i g   u n s e t   c u r r e n t - c o n t e x t   #   U n s e t   n a m e s p a c e   i n   f o o   c o n t e x t   k u b e c t l   c o n f i g   u n s e t   c o n t e x t s . f o o . n a m e s p a c e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22196"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   u n s e t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22197"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22198"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22199"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S e t   t h e   c u r r e n t - c o n t e x t   i n   a   k u b e c o n f i g   f i l e .   k u b e c t l   c o n f i g   u s e - c o n t e x t   C O N T E X T _ N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22200"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U s e   t h e   c o n t e x t   f o r   t h e   m i n i k u b e   c l u s t e r   k u b e c t l   c o n f i g   u s e - c o n t e x t   m i n i k u b e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22201"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   u s e - c o n t e x t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22202"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22203"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22204"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   m e r g e d   k u b e c o n f i g   s e t t i n g s   o r   a   s p e c i f i e d   k u b e c o n f i g   f i l e .   Y o u   c a n   u s e   - - o u t p u t   j s o n p a t h = { . . . }   t o   e x t r a c t   s p e c i f i c   v a l u e s   u s i n g   a   j s o n p a t h   e x p r e s s i o n .   k u b e c t l   c o n f i g   v i e w   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22205"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S h o w   m e r g e d   k u b e c o n f i g   s e t t i n g s   k u b e c t l   c o n f i g   v i e w   #   S h o w   m e r g e d   k u b e c o n f i g   s e t t i n g s ,   r a w   c e r t i f i c a t e   d a t a ,   a n d   e x p o s e d   s e c r e t s   k u b e c t l   c o n f i g   v i e w   - - r a w   #   G e t   t h e   p a s s w o r d   f o r   t h e   e 2 e   u s e r   k u b e c t l   c o n f i g   v i e w   - o   j s o n p a t h = ' { . u s e r s [ ? ( @ . n a m e   = =   \" e 2 e \" ) ] . u s e r . p a s s w o r d } '",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22206"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   F l a t t e n   t h e   r e s u l t i n g   k u b e c o n f i g   f i l e   i n t o   s e l f - c o n t a i n e d   o u t p u t   ( u s e f u l   f o r   c r e a t i n g   p o r t a b l e   k u b e c o n f i g   f i l e s )   h e l p   f o r   v i e w   M e r g e   t h e   f u l l   h i e r a r c h y   o f   k u b e c o n f i g   f i l e s   R e m o v e   a l l   i n f o r m a t i o n   n o t   u s e d   b y   c u r r e n t - c o n t e x t   f r o m   t h e   o u t p u t   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   D i s p l a y   r a w   b y t e   d a t a   a n d   s e n s i t i v e   d a t a   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t e x t / t e m p l a t e / # p k g - o v e r v i e w ] .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22207"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22208"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22209"
  },
  {
    "question": "What is Synopsis?",
    "answer": "M a r k   n o d e   a s   u n s c h e d u l a b l e .   k u b e c t l   c o r d o n   N O D E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22210"
  },
  {
    "question": "What is Examples?",
    "answer": "#   M a r k   n o d e   \" f o o \"   a s   u n s c h e d u l a b l e   k u b e c t l   c o r d o n   f o o",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22211"
  },
  {
    "question": "What is Options?",
    "answer": "M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   h e l p   f o r   c o r d o n   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22212"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22213"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22214"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C o p y   f i l e s   a n d   d i r e c t o r i e s   t o   a n d   f r o m   c o n t a i n e r s .   k u b e c t l   c p   < f i l e - s p e c - s r c >   < f i l e - s p e c - d e s t >",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22215"
  },
  {
    "question": "What is Examples?",
    "answer": "#   ! ! ! I m p o r t a n t   N o t e ! ! !   #   R e q u i r e s   t h a t   t h e   ' t a r '   b i n a r y   i s   p r e s e n t   i n   y o u r   c o n t a i n e r   #   i m a g e .   I f   ' t a r '   i s   n o t   p r e s e n t ,   ' k u b e c t l   c p '   w i l l   f a i l .   #   #   F o r   a d v a n c e d   u s e   c a s e s ,   s u c h   a s   s y m l i n k s ,   w i l d c a r d   e x p a n s i o n   o r   #   f i l e   m o d e   p r e s e r v a t i o n ,   c o n s i d e r   u s i n g   ' k u b e c t l   e x e c ' .   #   C o p y   / t m p / f o o   l o c a l   f i l e   t o   / t m p / b a r   i n   a   r e m o t e   p o d   i n   n a m e s p a c e   < s o m e - n a m e s p a c e >   t a r   c f   -   / t m p / f o o   |   k u b e c t l   e x e c   - i   - n   < s o m e - n a m e s p a c e >   < s o m e - p o d >   - -   t a r   x f   -   - C   / t m p / b a r   #   C o p y   / t m p / f o o   f r o m   a   r e m o t e   p o d   t o   / t m p / b a r   l o c a l l y   k u b e c t l   e x e c   - n   < s o m e - n a m e s p a c e >   < s o m e - p o d >   - -   t a r   c f   -   / t m p / f o o   |   t a r   x f   -   - C   / t m p / b a r   #   C o p y   / t m p / f o o _ d i r   l o c a l   d i r e c t o r y   t o   / t m p / b a r _ d i r   i n   a   r e m o t e   p o d   i n   t h e   d e f a u l t   n a m e s p a c e   k u b e c t l   c p   / t m p / f o o _ d i r   < s o m e - p o d > : / t m p / b a r _ d i r   #   C o p y   / t m p / f o o   l o c a l   f i l e   t o   / t m p / b a r   i n   a   r e m o t e   p o d   i n   a   s p e c i f i c   c o n t a i n e r   k u b e c t l   c p   / t m p / f o o   < s o m e - p o d > : / t m p / b a r   - c   < s p e c i f i c - c o n t a i n e r >   #   C o p y   / t m p / f o o   l o c a l   f i l e   t o   / t m p / b a r   i n   a   r e m o t e   p o d   i n   n a m e s p a c e   < s o m e - n a m e s p a c e >   k u b e c t l   c p   / t m p / f o o   < s o m e - n a m e s p a c e > / < s o m e - p o ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22216"
  },
  {
    "question": "What is Options?",
    "answer": "C o n t a i n e r   n a m e .   I f   o m i t t e d ,   u s e   t h e   k u b e c t l . k u b e r n e t e s . i o / d e f a u l t - c o n t a i n e r   a n n o t a t i o n   f o r   s e l e c t i n g   t h e   c o n t a i n e r   t o   b e   a t t a c h e d   o r   t h e   f i r s t   c o n t a i n e r   i n   t h e   p o d   w i l l   b e   c h o s e n   h e l p   f o r   c p   T h e   c o p i e d   f i l e / d i r e c t o r y ' s   o w n e r s h i p   a n d   p e r m i s s i o n s   w i l l   n o t   b e   p r e s e r v e d   i n   t h e   c o n t a i n e r   S e t   n u m b e r   o f   r e t r i e s   t o   c o m p l e t e   a   c o p y   o p e r a t i o n   f r o m   a   c o n t a i n e r .   S p e c i f y   0   t o   d i s a b l e   o r   a n y   n e g a t i v e   v a l u e   f o r   i n f i n i t e   r e t r y i n g .   T h e   d e f a u l t   i s   0   ( n o   r e t r y ) .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22217"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22218"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22219"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n .   J S O N   a n d   Y A M L   f o r m a t s   a r e   a c c e p t e d .   k u b e c t l   c r e a t e   - f   F I L E N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22220"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   p o d   u s i n g   t h e   d a t a   i n   p o d . j s o n   k u b e c t l   c r e a t e   - f   . / p o d . j s o n   #   C r e a t e   a   p o d   b a s e d   o n   t h e   J S O N   p a s s e d   i n t o   s t d i n   c a t   p o d . j s o n   |   k u b e c t l   c r e a t e   - f   -   #   E d i t   t h e   d a t a   i n   r e g i s t r y . y a m l   i n   J S O N   t h e n   c r e a t e   t h e   r e s o u r c e   u s i n g   t h e   e d i t e d   d a t a   k u b e c t l   c r e a t e   - f   r e g i s t r y . y a m l   - - e d i t   - o   j s o n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22221"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   E d i t   t h e   A P I   r e s o u r c e   b e f o r e   c r e a t i n g   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   t o   u s e   t o   c r e a t e   t h e   r e s o u r c e   h e l p   f o r   c r e a t e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   R a w   U R I   t o   P O S T   t o   t h e   s e r v e r .   U s e s   t h e   t r a n s p o r t   s p e c i f i e d   b y   t h e   k u b e c o n f i g   f i l e .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22222"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22223"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   c r e a t e   c l u s t e r r o l e   -   C r e a t e   a   c l u s t e r   r o l e k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   -   C r e a t e   a   c l u s t e r   r o l e   b i n d i n g   f o r   a   p a r t i c u l a r   c l u s t e r   r o l e k u b e c t l   c r e a t e   c o n f i g m a p   -   C r e a t e   a   c o n f i g   m a p   f r o m   a   l o c a l   f i l e ,   d i r e c t o r y   o r   l i t e r a l   v a l u e k u b e c t l   c r e a t e   c r o n j o b   -   C r e a t e   a   c r o n   j o b   w i t h   t h e   s p e c i f i e d   n a m e k u b e c t l   c r e a t e   d e p l o y m e n t   -   C r e a t e   a   d e p l o y m e n t   w i t h   t h e   s p e c i f i e d   n a m e k u b e c t l   c r e a t e   i n g r e s s   -   C r e a t e   a n   i n g r e s s   w i t h   t h e   s p e c i f i e d   n a m e k u b e c t l   c r e a t e   j o b   -   C r e a t e   a   j o b   w i t h   t h e   s p e c i f i e d   n a m e k u b e c t l   c r e a t e   n a m e s p a c e   -   C r e a t e   a   n a m e s p a c e   w i t h   t h e   s p e c i f i e d   n a m e k u b e c t l   c r e a t e   p o d d i s r u p t i o n b u d g e t   -   C r e a t e   a   p o d   d i s r u p t i o n   b u d g e t   w i t h   t h e   s p e c i f i e d   n a m e k u b e c t l   c r e a t e   p r i o r i t y c l a s s   -   C r e a t e   a   p r i o r i t y   c l a s s   w i t h   t h e   s p e c i f i e d   n a m e k u b e c t l   c r e a t e   q u o t a   -   C r e a t e   a   q u o t a   w i t h   t h e   s p e c i f i e d   n a m e k u b e c t l   c r e a t e   r o l e   -   C r e a t e   a   r o l e   w i t h   s i n g l e   r u l e k u b e c t l   c r e a t e   r o l e b i n d i n g   -   C r e a t e   a   r o l e   b i n d i n g   f o r   a   p a r t i c u l a r   r o l e   o r   c l u s t e r   r o l e k u b e c t l ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22224"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   c l u s t e r   r o l e .   k u b e c t l   c r e a t e   c l u s t e r r o l e   N A M E   - - v e r b = v e r b   - - r e s o u r c e = r e s o u r c e . g r o u p   [ - - r e s o u r c e - n a m e = r e s o u r c e n a m e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22225"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   c l u s t e r   r o l e   n a m e d   \" p o d - r e a d e r \"   t h a t   a l l o w s   u s e r   t o   p e r f o r m   \" g e t \" ,   \" w a t c h \"   a n d   \" l i s t \"   o n   p o d s   k u b e c t l   c r e a t e   c l u s t e r r o l e   p o d - r e a d e r   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = p o d s   #   C r e a t e   a   c l u s t e r   r o l e   n a m e d   \" p o d - r e a d e r \"   w i t h   R e s o u r c e N a m e   s p e c i f i e d   k u b e c t l   c r e a t e   c l u s t e r r o l e   p o d - r e a d e r   - - v e r b = g e t   - - r e s o u r c e = p o d s   - - r e s o u r c e - n a m e = r e a d a b l e p o d   - - r e s o u r c e - n a m e = a n o t h e r p o d   #   C r e a t e   a   c l u s t e r   r o l e   n a m e d   \" f o o \"   w i t h   A P I   G r o u p   s p e c i f i e d   k u b e c t l   c r e a t e   c l u s t e r r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = r s . a p p s   #   C r e a t e   a   c l u s t e r   r o l e   n a m e d   \" f o o \"   w i t h   S u b R e s o u r c e   s p e c i f i e d   k u b e c t l   c r e a t e   c l u s t e r r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = p o d s , p o d s / s t a t u s   #   C r e a t e   a   c l u s t e r   r o l e   n a m e   \" f o o \"   w i t h   N o n R e s o u r c e U R L   s p e c i f i e d   k u b e c t l   c r e a t e   c l u s t e r r o l e   \" f o o \"   - - v e r b = g e t   - - n o n - r e s o u r c e - u r l = / l o g s / *   #   C r e a t e   a   c l u s t e r   r o l e   n a m e   \" m o n i t o r i n g \"   w i t h   A g g r e g a t i o n R u l e   s p e c i f i e d   k u b e c t l   c r e a t e   c l u s t e r r o l e   m o n i t o r i n g   - - a g g r e g a t i o n - r u l e = \" r b a c . e x a m p l e . c o m / a g g r e g a t e - t o - m o n i t o r i n g = t r u e \"",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22226"
  },
  {
    "question": "What is Options?",
    "answer": "A n   a g g r e g a t i o n   l a b e l   s e l e c t o r   f o r   c o m b i n i n g   C l u s t e r R o l e s .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   c l u s t e r r o l e   A   p a r t i a l   u r l   t h a t   u s e r   s h o u l d   h a v e   a c c e s s   t o .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   R e s o u r c e   t h a t   t h e   r u l e   a p p l i e s   t o   R e s o u r c e   i n   t h e   w h i t e   l i s t   t h a t   t h e   r u l e   a p p l i e s   t o ,   r e p e a t   t h i s   f l a g   f o r   m u l t i p l e   i t e m s   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22227"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22228"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22229"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   c l u s t e r   r o l e   b i n d i n g   f o r   a   p a r t i c u l a r   c l u s t e r   r o l e .   k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   N A M E   - - c l u s t e r r o l e = N A M E   [ - - u s e r = u s e r n a m e ]   [ - - g r o u p = g r o u p n a m e ]   [ - - s e r v i c e a c c o u n t = n a m e s p a c e : s e r v i c e a c c o u n t n a m e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22230"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   c l u s t e r   r o l e   b i n d i n g   f o r   u s e r 1 ,   u s e r 2 ,   a n d   g r o u p 1   u s i n g   t h e   c l u s t e r - a d m i n   c l u s t e r   r o l e   k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   c l u s t e r - a d m i n   - - c l u s t e r r o l e = c l u s t e r - a d m i n   - - u s e r = u s e r 1   - - u s e r = u s e r 2   - - g r o u p = g r o u p 1",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22231"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   C l u s t e r R o l e   t h i s   C l u s t e r R o l e B i n d i n g   s h o u l d   r e f e r e n c e   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   G r o u p s   t o   b i n d   t o   t h e   c l u s t e r r o l e .   T h e   f l a g   c a n   b e   r e p e a t e d   t o   a d d   m u l t i p l e   g r o u p s .   h e l p   f o r   c l u s t e r r o l e b i n d i n g   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   S e r v i c e   a c c o u n t s   t o   b i n d   t o   t h e   c l u s t e r r o l e ,   i n   t h e   f o r m a t   < n a m e s p a c e > : < n a m e > .   T h e   f l a ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22232"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22233"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22234"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   c o n f i g   m a p   b a s e d   o n   a   f i l e ,   d i r e c t o r y ,   o r   s p e c i f i e d   l i t e r a l   v a l u e .   A   s i n g l e   c o n f i g   m a p   m a y   p a c k a g e   o n e   o r   m o r e   k e y / v a l u e   p a i r s .   W h e n   c r e a t i n g   a   c o n f i g   m a p   b a s e d   o n   a   f i l e ,   t h e   k e y   w i l l   d e f a u l t   t o   t h e   b a s e n a m e   o f   t h e   f i l e ,   a n d   t h e   v a l u e   w i l l   d e f a u l t   t o   t h e   f i l e   c o n t e n t .   I f   t h e   b a s e n a m e   i s   a n   i n v a l i d   k e y ,   y o u   m a y   s p e c i f y   a n   a l t e r n a t e   k e y .   W h e n   c r e a t i n g   a   c o n f i g   m a p   b a s e d   o n   a   d i r e c t o r y ,   e a c h   f i l e   w h o s e   b a s e n a m e   i s   a   v a l i d   k e y   i n   t h e   d i r e c t o r y   w i l l   b e   p a c k a g e d   i n t o   t h e   c o n f i g   m a p .   A n y   d i r e c t o r y   e n t r i e s   e x c e p t   r e g u l a r   f i l e s   a r e   i g n o r e d   ( e . g .   s u b d i r e c t o r i e s ,   s y m l i n k s ,   d e v i c e s ,   p i p e s ,   e t c ) .   k u b e c t l   c r e a t e   c o n f i g m a p   N A M E   [ - - f r o m - f i l e = [ k e y = ] s o u r c e ]   [ - - f r o m - l i t e r a l = k e y 1 = v a l u e 1 ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22235"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   c o n f i g   m a p   n a m e d   m y - c o n f i g   b a s e d   o n   f o l d e r   b a r   k u b e c t l   c r e a t e   c o n f i g m a p   m y - c o n f i g   - - f r o m - f i l e = p a t h / t o / b a r   #   C r e a t e   a   n e w   c o n f i g   m a p   n a m e d   m y - c o n f i g   w i t h   s p e c i f i e d   k e y s   i n s t e a d   o f   f i l e   b a s e n a m e s   o n   d i s k   k u b e c t l   c r e a t e   c o n f i g m a p   m y - c o n f i g   - - f r o m - f i l e = k e y 1 = / p a t h / t o / b a r / f i l e 1 . t x t   - - f r o m - f i l e = k e y 2 = / p a t h / t o / b a r / f i l e 2 . t x t   #   C r e a t e   a   n e w   c o n f i g   m a p   n a m e d   m y - c o n f i g   w i t h   k e y 1 = c o n f i g 1   a n d   k e y 2 = c o n f i g 2   k u b e c t l   c r e a t e   c o n f i g m a p   m y - c o n f i g   - - f r o m - l i t e r a l = k e y 1 = c o n f i g 1   - - f r o m - l i t e r a l = k e y 2 = c o n f i g 2   #   C r e a t e   a   n e w   c o n f i g   m a p   n a m e d   m y - c o n f i g   f r o m   t h e   k e y = v a l u e   p a i r s   i n   t h e   f i l e   k u b e c t l   c r e a t e   c o n f i g m a p   m y - c o n f i g   - - f r o m - f i l e = p a t h / t o / b a r   #   C r e a t e   a   n e w   c o n f i g   m a p   n a m e d   m y - c o n f i g   f r o m   a n   e n v   f i l e   k u b e c t l   c r e a t e   c o n f i g m a p   m y - c o n f i g   - - f r o m - e n v - f i l e = p a t h / t o / f o o . e n v   - - f r o m - e n v - f i l e = p a t h / t o / b a r . e n v",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22236"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   A p p e n d   a   h a s h   o f   t h e   c o n f i g m a p   t o   i t s   n a m e .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   S p e c i f y   t h e   p a t h   t o   a   f i l e   t o   r e a d   l i n e s   o f   k e y = v a l   p a i r s   t o   c r e a t e   a   c o n f i g m a p .   K e y   f i l e   c a n   b e   s p e c i f i e d   u s i n g   i t s   f i l e   p a t h ,   i n   w h i c h   c a s e   f i l e   b a s e n a m e   w i l l   b e   u s e d   a s   c o n f i g m a p   k e y ,   o r   o p t i o n a l l y   w i t h   a   k e y   a n d   f i l e   p a t h ,   i n   w h i c h   c a s e   t h e   g i v e n   k e y   w i l l   b e   u s e d .   S p e c i f y i n g   a   d i r e c t o r y   w i l l   i t e r a t e   e a c h   n a m e d   f i l e   i n   t h e   d i r e c t o r y   w h o s e   b a s e n a m e   i s   a   v a l i d   c o n f i g m a p   k e y .   S p e c i f y   a   k e y   a n d   l i t e r a l   v a l u e   t o   i n s e r t   i n   c o n f i g m a p   ( i . e .   m y k e y = s o m e v a l u e )   h e l p   f o r   c o n f i g m a p   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22237"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22238"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22239"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   c r o n   j o b   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   c r o n j o b   N A M E   - - i m a g e = i m a g e   - - s c h e d u l e = ' 0 / 5   *   *   *   ? '   - -   [ C O M M A N D ]   [ a r g s . . . ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22240"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   c r o n   j o b   k u b e c t l   c r e a t e   c r o n j o b   m y - j o b   - - i m a g e = b u s y b o x   - - s c h e d u l e = \" * / 1   *   *   *   * \"   #   C r e a t e   a   c r o n   j o b   w i t h   a   c o m m a n d   k u b e c t l   c r e a t e   c r o n j o b   m y - j o b   - - i m a g e = b u s y b o x   - - s c h e d u l e = \" * / 1   *   *   *   * \"   - -   d a t e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22241"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   c r o n j o b   I m a g e   n a m e   t o   r u n .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   j o b ' s   r e s t a r t   p o l i c y .   s u p p o r t e d   v a l u e s :   O n F a i l u r e ,   N e v e r   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   A   s c h e d u l e   i n   t h e   C r o n   f o r m a t   t h e   j o b   s h o u l d   b e   r u n   w i t h .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22242"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22243"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22244"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   d e p l o y m e n t   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   d e p l o y m e n t   N A M E   - - i m a g e = i m a g e   - -   [ C O M M A N D ]   [ a r g s . . . ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22245"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   d e p l o y m e n t   n a m e d   m y - d e p   t h a t   r u n s   t h e   b u s y b o x   i m a g e   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - - i m a g e = b u s y b o x   #   C r e a t e   a   d e p l o y m e n t   w i t h   a   c o m m a n d   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - - i m a g e = b u s y b o x   - -   d a t e   #   C r e a t e   a   d e p l o y m e n t   n a m e d   m y - d e p   t h a t   r u n s   t h e   n g i n x   i m a g e   w i t h   3   r e p l i c a s   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - - i m a g e = n g i n x   - - r e p l i c a s = 3   #   C r e a t e   a   d e p l o y m e n t   n a m e d   m y - d e p   t h a t   r u n s   t h e   b u s y b o x   i m a g e   a n d   e x p o s e   p o r t   5 7 0 1   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - - i m a g e = b u s y b o x   - - p o r t = 5 7 0 1   #   C r e a t e   a   d e p l o y m e n t   n a m e d   m y - d e p   t h a t   r u n s   m u l t i p l e   c o n t a i n e r s   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - - i m a g e = b u s y b o x : l a t e s t   - - i m a g e = u b u n t u : l a t e s t   - - i m a g e = n g i n x",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22246"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   d e p l o y m e n t   I m a g e   n a m e s   t o   r u n .   A   d e p l o y m e n t   c a n   h a v e   m u l t i p l e   i m a g e s   s e t   f o r   m u l t i - c o n t a i n e r   p o d .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   T h e   c o n t a i n e r P o r t   t h a t   t h i s   d e p l o y m e n t   e x p o s e s .   N u m b e r   o f   r e p l i c a s   t o   c r e a t e .   D e f a u l t   i s   1 .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22247"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22248"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22249"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a n   i n g r e s s   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   i n g r e s s   N A M E   - - r u l e = h o s t / p a t h = s e r v i c e : p o r t [ , t l s [ = s e c r e t ] ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22250"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   s i n g l e   i n g r e s s   c a l l e d   ' s i m p l e '   t h a t   d i r e c t s   r e q u e s t s   t o   f o o . c o m / b a r   t o   s v c   #   s v c 1 : 8 0 8 0   w i t h   a   T L S   s e c r e t   \" m y - c e r t \"   k u b e c t l   c r e a t e   i n g r e s s   s i m p l e   - - r u l e = \" f o o . c o m / b a r = s v c 1 : 8 0 8 0 , t l s = m y - c e r t \"   #   C r e a t e   a   c a t c h   a l l   i n g r e s s   o f   \" / p a t h \"   p o i n t i n g   t o   s e r v i c e   s v c : p o r t   a n d   I n g r e s s   C l a s s   a s   \" o t h e r i n g r e s s \"   k u b e c t l   c r e a t e   i n g r e s s   c a t c h - a l l   - - c l a s s = o t h e r i n g r e s s   - - r u l e = \" / p a t h = s v c : p o r t \"   #   C r e a t e   a n   i n g r e s s   w i t h   t w o   a n n o t a t i o n s :   i n g r e s s . a n n o t a t i o n 1   a n d   i n g r e s s . a n n o t a t i o n s 2   k u b e c t l   c r e a t e   i n g r e s s   a n n o t a t e d   - - c l a s s = d e f a u l t   - - r u l e = \" f o o . c o m / b a r = s v c : p o r t \"   \\   - - a n n o t a t i o n   i n g r e s s . a n n o t a t i o n 1 = f o o   \\   - - a n n o t a t i o n   i n g r e s s . a n n o t a t i o n 2 = b l a   #   C r e a t e   a n   i n g r e s s   w i t h   t h e   s a m e   h o s t   a n d   m u l t i p l e   p a t h s   k u b e c t l   c r e a t e   i n g r e s s   m u l t i p a t h   - - c l a s s = d e f a u l t   \\   - - r u l e = \" f o o . c o m / = s v c : p o r t \"   \\   - - r u l e = \" f o o . c o m / a d m i n / = s v c a d m i n : p o r t a d m i n \"   #   C r e a t e   a n   i n g r e s s   w i t h   m u l t i p l e   h o s t s   a n d   t h e   p a t h T y p e   a s   P r e f i x   k u b e c t l   c r e a t e   i n g r e s s   i n g r e s s 1   - - c l a s s = d e f a u l t   \\   - - r u l e = \" f o o . c o m / p a t h * = s v c : 8 0 8 0 \"   \\   - - r u l e = \" b a r . c o m / a d m i n * = s v c 2 : h t t p \"   #   C r e a t e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22251"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   A n n o t a t i o n   t o   i n s e r t   i n   t h e   i n g r e s s   o b j e c t ,   i n   t h e   f o r m a t   a n n o t a t i o n = v a l u e   I n g r e s s   C l a s s   t o   b e   u s e d   D e f a u l t   s e r v i c e   f o r   b a c k e n d ,   i n   f o r m a t   o f   s v c n a m e : p o r t   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   i n g r e s s   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   R u l e   i n   f o r m a t   h o s t / p a t h = s e r v i c e : p o r t [ , t l s = s e c r e t n a m e ] .   P a t h s   c o n t a i n i n g   t h e   l e a d i n g   c h a r a c t e r   ' * '   a r e   c o n s i d e r e d   p a t h T y p e = P r e f i x .   t l s   a r g u m e n t   i s   o p t i o n a l .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22252"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22253"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22254"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   j o b   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   j o b   N A M E   - - i m a g e = i m a g e   [ - - f r o m = c r o n j o b / n a m e ]   - -   [ C O M M A N D ]   [ a r g s . . . ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22255"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   j o b   k u b e c t l   c r e a t e   j o b   m y - j o b   - - i m a g e = b u s y b o x   #   C r e a t e   a   j o b   w i t h   a   c o m m a n d   k u b e c t l   c r e a t e   j o b   m y - j o b   - - i m a g e = b u s y b o x   - -   d a t e   #   C r e a t e   a   j o b   f r o m   a   c r o n   j o b   n a m e d   \" a - c r o n j o b \"   k u b e c t l   c r e a t e   j o b   t e s t - j o b   - - f r o m = c r o n j o b / a - c r o n j o b",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22256"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   T h e   n a m e   o f   t h e   r e s o u r c e   t o   c r e a t e   a   J o b   f r o m   ( o n l y   c r o n j o b   i s   s u p p o r t e d ) .   h e l p   f o r   j o b   I m a g e   n a m e   t o   r u n .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22257"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22258"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22259"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   n a m e s p a c e   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   n a m e s p a c e   N A M E   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22260"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   n a m e s p a c e   n a m e d   m y - n a m e s p a c e   k u b e c t l   c r e a t e   n a m e s p a c e   m y - n a m e s p a c e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22261"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   n a m e s p a c e   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22262"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22263"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22264"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   p o d   d i s r u p t i o n   b u d g e t   w i t h   t h e   s p e c i f i e d   n a m e ,   s e l e c t o r ,   a n d   d e s i r e d   m i n i m u m   a v a i l a b l e   p o d s .   k u b e c t l   c r e a t e   p o d d i s r u p t i o n b u d g e t   N A M E   - - s e l e c t o r = S E L E C T O R   - - m i n - a v a i l a b l e = N   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22265"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   p o d   d i s r u p t i o n   b u d g e t   n a m e d   m y - p d b   t h a t   w i l l   s e l e c t   a l l   p o d s   w i t h   t h e   a p p = r a i l s   l a b e l   #   a n d   r e q u i r e   a t   l e a s t   o n e   o f   t h e m   b e i n g   a v a i l a b l e   a t   a n y   p o i n t   i n   t i m e   k u b e c t l   c r e a t e   p o d d i s r u p t i o n b u d g e t   m y - p d b   - - s e l e c t o r = a p p = r a i l s   - - m i n - a v a i l a b l e = 1   #   C r e a t e   a   p o d   d i s r u p t i o n   b u d g e t   n a m e d   m y - p d b   t h a t   w i l l   s e l e c t   a l l   p o d s   w i t h   t h e   a p p = n g i n x   l a b e l   #   a n d   r e q u i r e   a t   l e a s t   h a l f   o f   t h e   p o d s   s e l e c t e d   t o   b e   a v a i l a b l e   a t   a n y   p o i n t   i n   t i m e   k u b e c t l   c r e a t e   p d b   m y - p d b   - - s e l e c t o r = a p p = n g i n x   - - m i n - a v a i l a b l e = 5 0 %",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22266"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   p o d d i s r u p t i o n b u d g e t   T h e   m a x i m u m   n u m b e r   o r   p e r c e n t a g e   o f   u n a v a i l a b l e   p o d s   t h i s   b u d g e t   r e q u i r e s .   T h e   m i n i m u m   n u m b e r   o r   p e r c e n t a g e   o f   a v a i l a b l e   p o d s   t h i s   b u d g e t   r e q u i r e s .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   A   l a b e l   s e l e c t o r   t o   u s e   f o r   t h i s   b u d g e t .   O n l y   e q u a l i t y - b a s e d   s e l e c t o r   r e q u ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22267"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22268"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22269"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   p r i o r i t y   c l a s s   w i t h   t h e   s p e c i f i e d   n a m e ,   v a l u e ,   g l o b a l D e f a u l t   a n d   d e s c r i p t i o n .   k u b e c t l   c r e a t e   p r i o r i t y c l a s s   N A M E   - - v a l u e = V A L U E   - - g l o b a l - d e f a u l t = B O O L   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22270"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   p r i o r i t y   c l a s s   n a m e d   h i g h - p r i o r i t y   k u b e c t l   c r e a t e   p r i o r i t y c l a s s   h i g h - p r i o r i t y   - - v a l u e = 1 0 0 0   - - d e s c r i p t i o n = \" h i g h   p r i o r i t y \"   #   C r e a t e   a   p r i o r i t y   c l a s s   n a m e d   d e f a u l t - p r i o r i t y   t h a t   i s   c o n s i d e r e d   a s   t h e   g l o b a l   d e f a u l t   p r i o r i t y   k u b e c t l   c r e a t e   p r i o r i t y c l a s s   d e f a u l t - p r i o r i t y   - - v a l u e = 1 0 0 0   - - g l o b a l - d e f a u l t = t r u e   - - d e s c r i p t i o n = \" d e f a u l t   p r i o r i t y \"   #   C r e a t e   a   p r i o r i t y   c l a s s   n a m e d   h i g h - p r i o r i t y   t h a t   c a n n o t   p r e e m p t   p o d s   w i t h   l o w e r   p r i o r i t y   k u b e c t l   c r e a t e   p r i o r i t y c l a s s   h i g h - p r i o r i t y   - - v a l u e = 1 0 0 0   - - d e s c r i p t i o n = \" h i g h   p r i o r i t y \"   - - p r e e m p t i o n - p o l i c y = \" N e v e r \"",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22271"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   d e s c r i p t i o n   i s   a n   a r b i t r a r y   s t r i n g   t h a t   u s u a l l y   p r o v i d e s   g u i d e l i n e s   o n   w h e n   t h i s   p r i o r i t y   c l a s s   s h o u l d   b e   u s e d .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   g l o b a l - d e f a u l t   s p e c i f i e s   w h e t h e r   t h i s   P r i o r i t y C l a s s   s h o u l d   b e   c o n s i d e r e d   a s   t h e   d e f a u l t   p r i o r i t y .   h e l p   f o r   p r i o r i t y c l a s s   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   p r e e m p t i o n - p o l i c y   i s   t h e   p o l i c y   f o r   p r e e m p t i n g   p o d s   w i t h   l o w e r   p r i o r i t y .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22272"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22273"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22274"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   r e s o u r c e   q u o t a   w i t h   t h e   s p e c i f i e d   n a m e ,   h a r d   l i m i t s ,   a n d   o p t i o n a l   s c o p e s .   k u b e c t l   c r e a t e   q u o t a   N A M E   [ - - h a r d = k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 ]   [ - - s c o p e s = S c o p e 1 , S c o p e 2 ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22275"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   r e s o u r c e   q u o t a   n a m e d   m y - q u o t a   k u b e c t l   c r e a t e   q u o t a   m y - q u o t a   - - h a r d = c p u = 1 , m e m o r y = 1 G , p o d s = 2 , s e r v i c e s = 3 , r e p l i c a t i o n c o n t r o l l e r s = 2 , r e s o u r c e q u o t a s = 1 , s e c r e t s = 5 , p e r s i s t e n t v o l u m e c l a i m s = 1 0   #   C r e a t e   a   n e w   r e s o u r c e   q u o t a   n a m e d   b e s t - e f f o r t   k u b e c t l   c r e a t e   q u o t a   b e s t - e f f o r t   - - h a r d = p o d s = 1 0 0   - - s c o p e s = B e s t E f f o r t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22276"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   A   c o m m a - d e l i m i t e d   s e t   o f   r e s o u r c e = q u a n t i t y   p a i r s   t h a t   d e f i n e   a   h a r d   l i m i t .   h e l p   f o r   q u o t a   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   A   c o m m a - d e l i m i t e d   s e t   o f   q u o t a   s c o p e s   t h a t   m u s t   a l l   m a t c h   e a c h   o b j e c t   t r a c k e d   b y   t h e   q u o t a .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22277"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22278"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22279"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   r o l e   w i t h   s i n g l e   r u l e .   k u b e c t l   c r e a t e   r o l e   N A M E   - - v e r b = v e r b   - - r e s o u r c e = r e s o u r c e . g r o u p / s u b r e s o u r c e   [ - - r e s o u r c e - n a m e = r e s o u r c e n a m e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22280"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   r o l e   n a m e d   \" p o d - r e a d e r \"   t h a t   a l l o w s   u s e r   t o   p e r f o r m   \" g e t \" ,   \" w a t c h \"   a n d   \" l i s t \"   o n   p o d s   k u b e c t l   c r e a t e   r o l e   p o d - r e a d e r   - - v e r b = g e t   - - v e r b = l i s t   - - v e r b = w a t c h   - - r e s o u r c e = p o d s   #   C r e a t e   a   r o l e   n a m e d   \" p o d - r e a d e r \"   w i t h   R e s o u r c e N a m e   s p e c i f i e d   k u b e c t l   c r e a t e   r o l e   p o d - r e a d e r   - - v e r b = g e t   - - r e s o u r c e = p o d s   - - r e s o u r c e - n a m e = r e a d a b l e p o d   - - r e s o u r c e - n a m e = a n o t h e r p o d   #   C r e a t e   a   r o l e   n a m e d   \" f o o \"   w i t h   A P I   G r o u p   s p e c i f i e d   k u b e c t l   c r e a t e   r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = r s . a p p s   #   C r e a t e   a   r o l e   n a m e d   \" f o o \"   w i t h   S u b R e s o u r c e   s p e c i f i e d   k u b e c t l   c r e a t e   r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = p o d s , p o d s / s t a t u s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22281"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   r o l e   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   R e s o u r c e   t h a t   t h e   r u l e   a p p l i e s   t o   R e s o u r c e   i n   t h e   w h i t e   l i s t   t h a t   t h e   r u l e   a p p l i e s   t o ,   r e p e a t   t h i s   f l a g   f o r   m u l t i p l e   i t e m s   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22282"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22283"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22284"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   r o l e   b i n d i n g   f o r   a   p a r t i c u l a r   r o l e   o r   c l u s t e r   r o l e .   k u b e c t l   c r e a t e   r o l e b i n d i n g   N A M E   - - c l u s t e r r o l e = N A M E | - - r o l e = N A M E   [ - - u s e r = u s e r n a m e ]   [ - - g r o u p = g r o u p n a m e ]   [ - - s e r v i c e a c c o u n t = n a m e s p a c e : s e r v i c e a c c o u n t n a m e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22285"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   r o l e   b i n d i n g   f o r   u s e r 1 ,   u s e r 2 ,   a n d   g r o u p 1   u s i n g   t h e   a d m i n   c l u s t e r   r o l e   k u b e c t l   c r e a t e   r o l e b i n d i n g   a d m i n   - - c l u s t e r r o l e = a d m i n   - - u s e r = u s e r 1   - - u s e r = u s e r 2   - - g r o u p = g r o u p 1   #   C r e a t e   a   r o l e   b i n d i n g   f o r   s e r v i c e   a c c o u n t   m o n i t o r i n g : s a - d e v   u s i n g   t h e   a d m i n   r o l e   k u b e c t l   c r e a t e   r o l e b i n d i n g   a d m i n - b i n d i n g   - - r o l e = a d m i n   - - s e r v i c e a c c o u n t = m o n i t o r i n g : s a - d e v",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22286"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   C l u s t e r R o l e   t h i s   R o l e B i n d i n g   s h o u l d   r e f e r e n c e   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   G r o u p s   t o   b i n d   t o   t h e   r o l e .   T h e   f l a g   c a n   b e   r e p e a t e d   t o   a d d   m u l t i p l e   g r o u p s .   h e l p   f o r   r o l e b i n d i n g   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   R o l e   t h i s   R o l e B i n d i n g   s h o u l d   r e f e r e n c e   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   S e r v i c e   a c c o u n t s   t o   b i n d   t o   t h e   r o l e ,   i n   t h e   f o r m a t   < n a m e s p a c e > : < n a m ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22287"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22288"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22289"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   s e c r e t   w i t h   s p e c i f i e d   t y p e .   A   d o c k e r - r e g i s t r y   t y p e   s e c r e t   i s   f o r   a c c e s s i n g   a   c o n t a i n e r   r e g i s t r y .   A   g e n e r i c   t y p e   s e c r e t   i n d i c a t e   a n   O p a q u e   s e c r e t   t y p e .   A   t l s   t y p e   s e c r e t   h o l d s   T L S   c e r t i f i c a t e   a n d   i t s   a s s o c i a t e d   k e y .   k u b e c t l   c r e a t e   s e c r e t   ( d o c k e r - r e g i s t r y   |   g e n e r i c   |   t l s )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22290"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   s e c r e t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22291"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22292"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   -   C r e a t e   a   s e c r e t   f o r   u s e   w i t h   a   D o c k e r   r e g i s t r y k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   -   C r e a t e   a   s e c r e t   f r o m   a   l o c a l   f i l e ,   d i r e c t o r y ,   o r   l i t e r a l   v a l u e k u b e c t l   c r e a t e   s e c r e t   t l s   -   C r e a t e   a   T L S   s e c r e t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22293"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   n e w   s e c r e t   f o r   u s e   w i t h   D o c k e r   r e g i s t r i e s .   D o c k e r c f g   s e c r e t s   a r e   u s e d   t o   a u t h e n t i c a t e   a g a i n s t   D o c k e r   r e g i s t r i e s .   W h e n   u s i n g   t h e   D o c k e r   c o m m a n d   l i n e   t o   p u s h   i m a g e s ,   y o u   c a n   a u t h e n t i c a t e   t o   a   g i v e n   r e g i s t r y   b y   r u n n i n g :   ' $   d o c k e r   l o g i n   D O C K E R _ R E G I S T R Y _ S E R V E R   - - u s e r n a m e = D O C K E R _ U S E R   - - p a s s w o r d = D O C K E R _ P A S S W O R D   - - e m a i l = D O C K E R _ E M A I L ' .   T h a t   p r o d u c e s   a   ~ / . d o c k e r c f g   f i l e   t h a t   i s   u s e d   b y   s u b s e q u e n t   ' d o c k e r   p u s h '   a n d   ' d o c k e r   p u l l '   c o m m a n d s   t o   a u t h e n t i c a t e   t o   t h e   r e g i s t r y .   T h e   e m a i l   a d d r e s s   i s   o p t i o n a l .   W h e n   c r e a t i n g   a p p l i c a t i o n s ,   y o u   m a y   h a v e   a   D o c k e r   r e g i s t r y   t h a t   r e q u i r e s   a u t h e n t i c a t i o n .   I n   o r d e r   f o r   t h e   n o d e s   t o   p u l l   i m a g e s   o n   y o u r   b e h a l f ,   t h e y   m u s t   h a v e   t h e   c r e d e n t i a l s .   Y o u   c a n   p r o v i d e   t h i s   i n f o r m a t i o n   b y   c r e a t i n g   a   d o c k e r c f g   s e c r e t   a n d   a t t a c h i n g   i t   t o   y o u r   s e r v i c e   a c c o u n t .   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   N A M E   - - d o c k e r - u s e r n a m e = u s e r   - - d o c k e r - p a s s w o r d = p a s s w o r d   - - d o c k e r - e m a i l = e m a i l   [ - - d o c k e r - s e r v e r = s t r i n g ]   [ - - f r o m - f i l e = [ k e y = ] s o u r c e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22294"
  },
  {
    "question": "What is Examples?",
    "answer": "#   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   . d o c k e r c f g   f i l e ,   c r e a t e   a   d o c k e r c f g   s e c r e t   d i r e c t l y   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   m y - s e c r e t   - - d o c k e r - s e r v e r = D O C K E R _ R E G I S T R Y _ S E R V E R   - - d o c k e r - u s e r n a m e = D O C K E R _ U S E R   - - d o c k e r - p a s s w o r d = D O C K E R _ P A S S W O R D   - - d o c k e r - e m a i l = D O C K E R _ E M A I L   #   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   f r o m   ~ / . d o c k e r / c o n f i g . j s o n   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   m y - s e c r e t   - - f r o m - f i l e = p a t h / t o / . d o c k e r / c o n f i g . j s o n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22295"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   A p p e n d   a   h a s h   o f   t h e   s e c r e t   t o   i t s   n a m e .   E m a i l   f o r   D o c k e r   r e g i s t r y   P a s s w o r d   f o r   D o c k e r   r e g i s t r y   a u t h e n t i c a t i o n   S e r v e r   l o c a t i o n   f o r   D o c k e r   r e g i s t r y   U s e r n a m e   f o r   D o c k e r   r e g i s t r y   a u t h e n t i c a t i o n   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   K e y   f i l e s   c a n   b e   s p e c i f i e d   u s i n g   t h e i r   f i l e   p a t h ,   i n   w h i c h   c a s e   a   d e f a u l t   n a m e   o f   . d o c k e r c o n f i g j s o n   w i l l   b e   g i v e n   t o   t h e m ,   o r   o p t i o n a l l y   w i t h   a   n a m e   a n d   f i l e   p a t h ,   i n   w h i c h   c a s e   t h e   g i v e n   n a m e   w i l l   b e   u s e d .   S p e c i f y i n g   a   d i r e c t o r y   w i l l   i t e r a t e   e a c h   n a m e d   f i l e   i n   t h e   d i r e c t o r y   t h a t   i s   a   v a l i d   s e c r e t   k e y .   F o r   t h i s   c o m m a n d ,   t h e   k e y   s h o u l d   a l w a y s   b e   . d o c k e r c o n f i g j s o n .   h e l p   f o r   d o c k e r - r e g i s t r y   O u t p u t   f o r m a t .   O n e   o f : ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22296"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22297"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   s e c r e t   -   C r e a t e   a   s e c r e t   u s i n g   a   s p e c i f i e d   s u b c o m m a n d",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22298"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   s e c r e t   b a s e d   o n   a   f i l e ,   d i r e c t o r y ,   o r   s p e c i f i e d   l i t e r a l   v a l u e .   A   s i n g l e   s e c r e t   m a y   p a c k a g e   o n e   o r   m o r e   k e y / v a l u e   p a i r s .   W h e n   c r e a t i n g   a   s e c r e t   b a s e d   o n   a   f i l e ,   t h e   k e y   w i l l   d e f a u l t   t o   t h e   b a s e n a m e   o f   t h e   f i l e ,   a n d   t h e   v a l u e   w i l l   d e f a u l t   t o   t h e   f i l e   c o n t e n t .   I f   t h e   b a s e n a m e   i s   a n   i n v a l i d   k e y   o r   y o u   w i s h   t o   c h o s e   y o u r   o w n ,   y o u   m a y   s p e c i f y   a n   a l t e r n a t e   k e y .   W h e n   c r e a t i n g   a   s e c r e t   b a s e d   o n   a   d i r e c t o r y ,   e a c h   f i l e   w h o s e   b a s e n a m e   i s   a   v a l i d   k e y   i n   t h e   d i r e c t o r y   w i l l   b e   p a c k a g e d   i n t o   t h e   s e c r e t .   A n y   d i r e c t o r y   e n t r i e s   e x c e p t   r e g u l a r   f i l e s   a r e   i g n o r e d   ( e . g .   s u b d i r e c t o r i e s ,   s y m l i n k s ,   d e v i c e s ,   p i p e s ,   e t c ) .   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   N A M E   [ - - t y p e = s t r i n g ]   [ - - f r o m - f i l e = [ k e y = ] s o u r c e ]   [ - - f r o m - l i t e r a l = k e y 1 = v a l u e 1 ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22299"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   w i t h   k e y s   f o r   e a c h   f i l e   i n   f o l d e r   b a r   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - f i l e = p a t h / t o / b a r   #   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   w i t h   s p e c i f i e d   k e y s   i n s t e a d   o f   n a m e s   o n   d i s k   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - f i l e = s s h - p r i v a t e k e y = p a t h / t o / i d _ r s a   - - f r o m - f i l e = s s h - p u b l i c k e y = p a t h / t o / i d _ r s a . p u b   #   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   w i t h   k e y 1 = s u p e r s e c r e t   a n d   k e y 2 = t o p s e c r e t   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - l i t e r a l = k e y 1 = s u p e r s e c r e t   - - f r o m - l i t e r a l = k e y 2 = t o p s e c r e t   #   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   u s i n g   a   c o m b i n a t i o n   o f   a   f i l e   a n d   a   l i t e r a l   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - f i l e = s s h - p r i v a t e k e y = p a t h / t o / i d _ r s a   - - f r o m - l i t e r a l = p a s s p h r a s e = t o p s e c r e t   #   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   f r o m   e n v   f i l e s   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - e n v - f i l e = p a t h / t o / f o o . e n v   - - f r o m - e n v - f i l e = p a t h / t o / b a r . e n v",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22300"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   A p p e n d   a   h a s h   o f   t h e   s e c r e t   t o   i t s   n a m e .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   S p e c i f y   t h e   p a t h   t o   a   f i l e   t o   r e a d   l i n e s   o f   k e y = v a l   p a i r s   t o   c r e a t e   a   s e c r e t .   K e y   f i l e s   c a n   b e   s p e c i f i e d   u s i n g   t h e i r   f i l e   p a t h ,   i n   w h i c h   c a s e   a   d e f a u l t   n a m e   w i l l   b e   g i v e n   t o   t h e m ,   o r   o p t i o n a l l y   w i t h   a   n a m e   a n d   f i l e   p a t h ,   i n   w h i c h   c a s e   t h e   g i v e n   n a m e   w i l l   b e   u s e d .   S p e c i f y i n g   a   d i r e c t o r y   w i l l   i t e r a t e   e a c h   n a m e d   f i l e   i n   t h e   d i r e c t o r y   t h a t   i s   a   v a l i d   s e c r e t   k e y .   S p e c i f y   a   k e y   a n d   l i t e r a l   v a l u e   t o   i n s e r t   i n   s e c r e t   ( i . e .   m y k e y = s o m e v a l u e )   h e l p   f o r   g e n e r i c   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22301"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22302"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   s e c r e t   -   C r e a t e   a   s e c r e t   u s i n g   a   s p e c i f i e d   s u b c o m m a n d",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22303"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   T L S   s e c r e t   f r o m   t h e   g i v e n   p u b l i c / p r i v a t e   k e y   p a i r .   T h e   p u b l i c / p r i v a t e   k e y   p a i r   m u s t   e x i s t   b e f o r e h a n d .   T h e   p u b l i c   k e y   c e r t i f i c a t e   m u s t   b e   . P E M   e n c o d e d   a n d   m a t c h   t h e   g i v e n   p r i v a t e   k e y .   k u b e c t l   c r e a t e   s e c r e t   t l s   N A M E   - - c e r t = p a t h / t o / c e r t / f i l e   - - k e y = p a t h / t o / k e y / f i l e   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22304"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   T L S   s e c r e t   n a m e d   t l s - s e c r e t   w i t h   t h e   g i v e n   k e y   p a i r   k u b e c t l   c r e a t e   s e c r e t   t l s   t l s - s e c r e t   - - c e r t = p a t h / t o / t l s . c r t   - - k e y = p a t h / t o / t l s . k e y",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22305"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   A p p e n d   a   h a s h   o f   t h e   s e c r e t   t o   i t s   n a m e .   P a t h   t o   P E M   e n c o d e d   p u b l i c   k e y   c e r t i f i c a t e .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   t l s   P a t h   t o   p r i v a t e   k e y   a s s o c i a t e d   w i t h   g i v e n   c e r t i f i c a t e .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22306"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22307"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   s e c r e t   -   C r e a t e   a   s e c r e t   u s i n g   a   s p e c i f i e d   s u b c o m m a n d",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22308"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   s e r v i c e   u s i n g   a   s p e c i f i e d   s u b c o m m a n d .   k u b e c t l   c r e a t e   s e r v i c e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22309"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   s e r v i c e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22310"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22311"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   -   C r e a t e   a   C l u s t e r I P   s e r v i c e k u b e c t l   c r e a t e   s e r v i c e   e x t e r n a l n a m e   -   C r e a t e   a n   E x t e r n a l N a m e   s e r v i c e k u b e c t l   c r e a t e   s e r v i c e   l o a d b a l a n c e r   -   C r e a t e   a   L o a d B a l a n c e r   s e r v i c e k u b e c t l   c r e a t e   s e r v i c e   n o d e p o r t   -   C r e a t e   a   N o d e P o r t   s e r v i c e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22312"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   C l u s t e r I P   s e r v i c e   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   N A M E   [ - - t c p = < p o r t > : < t a r g e t P o r t > ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22313"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   C l u s t e r I P   s e r v i c e   n a m e d   m y - c s   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   m y - c s   - - t c p = 5 6 7 8 : 8 0 8 0   #   C r e a t e   a   n e w   C l u s t e r I P   s e r v i c e   n a m e d   m y - c s   ( i n   h e a d l e s s   m o d e )   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   m y - c s   - - c l u s t e r i p = \" N o n e \"",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22314"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   A s s i g n   y o u r   o w n   C l u s t e r I P   o r   s e t   t o   ' N o n e '   f o r   a   ' h e a d l e s s '   s e r v i c e   ( n o   l o a d b a l a n c i n g ) .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   c l u s t e r i p   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   P o r t   p a i r s   c a n   b e   s p e c i f i e d   a s   ' < p o r t > : < t a r g e t P o r t > ' .   T e m p l a t e   s t r ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22315"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22316"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   s e r v i c e   -   C r e a t e   a   s e r v i c e   u s i n g   a   s p e c i f i e d   s u b c o m m a n d",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22317"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a n   E x t e r n a l N a m e   s e r v i c e   w i t h   t h e   s p e c i f i e d   n a m e .   E x t e r n a l N a m e   s e r v i c e   r e f e r e n c e s   t o   a n   e x t e r n a l   D N S   a d d r e s s   i n s t e a d   o f   o n l y   p o d s ,   w h i c h   w i l l   a l l o w   a p p l i c a t i o n   a u t h o r s   t o   r e f e r e n c e   s e r v i c e s   t h a t   e x i s t   o f f   p l a t f o r m ,   o n   o t h e r   c l u s t e r s ,   o r   l o c a l l y .   k u b e c t l   c r e a t e   s e r v i c e   e x t e r n a l n a m e   N A M E   - - e x t e r n a l - n a m e   e x t e r n a l . n a m e   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22318"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   E x t e r n a l N a m e   s e r v i c e   n a m e d   m y - n s   k u b e c t l   c r e a t e   s e r v i c e   e x t e r n a l n a m e   m y - n s   - - e x t e r n a l - n a m e   b a r . c o m",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22319"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   E x t e r n a l   n a m e   o f   s e r v i c e   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   e x t e r n a l n a m e   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   P o r t   p a i r s   c a n   b e   s p e c i f i e d   a s   ' < p o r t > : < t a r g e t P o r t > ' .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22320"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22321"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   s e r v i c e   -   C r e a t e   a   s e r v i c e   u s i n g   a   s p e c i f i e d   s u b c o m m a n d",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22322"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   L o a d B a l a n c e r   s e r v i c e   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   s e r v i c e   l o a d b a l a n c e r   N A M E   [ - - t c p = p o r t : t a r g e t P o r t ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22323"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   L o a d B a l a n c e r   s e r v i c e   n a m e d   m y - l b s   k u b e c t l   c r e a t e   s e r v i c e   l o a d b a l a n c e r   m y - l b s   - - t c p = 5 6 7 8 : 8 0 8 0",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22324"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   l o a d b a l a n c e r   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   P o r t   p a i r s   c a n   b e   s p e c i f i e d   a s   ' < p o r t > : < t a r g e t P o r t > ' .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22325"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22326"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   s e r v i c e   -   C r e a t e   a   s e r v i c e   u s i n g   a   s p e c i f i e d   s u b c o m m a n d",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22327"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   N o d e P o r t   s e r v i c e   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   s e r v i c e   n o d e p o r t   N A M E   [ - - t c p = p o r t : t a r g e t P o r t ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22328"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   N o d e P o r t   s e r v i c e   n a m e d   m y - n s   k u b e c t l   c r e a t e   s e r v i c e   n o d e p o r t   m y - n s   - - t c p = 5 6 7 8 : 8 0 8 0",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22329"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   n o d e p o r t   P o r t   u s e d   t o   e x p o s e   t h e   s e r v i c e   o n   e a c h   n o d e   i n   a   c l u s t e r .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   P o r t   p a i r s   c a n   b e   s p e c i f i e d   a s   ' < p o r t > : < t a r g e t P o r t > ' .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22330"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22331"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   s e r v i c e   -   C r e a t e   a   s e r v i c e   u s i n g   a   s p e c i f i e d   s u b c o m m a n d",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22332"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   s e r v i c e   a c c o u n t   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   s e r v i c e a c c o u n t   N A M E   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22333"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   s e r v i c e   a c c o u n t   n a m e d   m y - s e r v i c e - a c c o u n t   k u b e c t l   c r e a t e   s e r v i c e a c c o u n t   m y - s e r v i c e - a c c o u n t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22334"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   s e r v i c e a c c o u n t   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22335"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22336"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22337"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e q u e s t   a   s e r v i c e   a c c o u n t   t o k e n .   k u b e c t l   c r e a t e   t o k e n   S E R V I C E _ A C C O U N T _ N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22338"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R e q u e s t   a   t o k e n   t o   a u t h e n t i c a t e   t o   t h e   k u b e - a p i s e r v e r   a s   t h e   s e r v i c e   a c c o u n t   \" m y a p p \"   i n   t h e   c u r r e n t   n a m e s p a c e   k u b e c t l   c r e a t e   t o k e n   m y a p p   #   R e q u e s t   a   t o k e n   f o r   a   s e r v i c e   a c c o u n t   i n   a   c u s t o m   n a m e s p a c e   k u b e c t l   c r e a t e   t o k e n   m y a p p   - - n a m e s p a c e   m y n s   #   R e q u e s t   a   t o k e n   w i t h   a   c u s t o m   e x p i r a t i o n   k u b e c t l   c r e a t e   t o k e n   m y a p p   - - d u r a t i o n   1 0 m   #   R e q u e s t   a   t o k e n   w i t h   a   c u s t o m   a u d i e n c e   k u b e c t l   c r e a t e   t o k e n   m y a p p   - - a u d i e n c e   h t t p s : / / e x a m p l e . c o m   #   R e q u e s t   a   t o k e n   b o u n d   t o   a n   i n s t a n c e   o f   a   S e c r e t   o b j e c t   k u b e c t l   c r e a t e   t o k e n   m y a p p   - - b o u n d - o b j e c t - k i n d   S e c r e t   - - b o u n d - o b j e c t - n a m e   m y s e c r e t   #   R e q u e s t   a   t o k e n   b o u n d   t o   a n   i n s t a n c e   o f   a   S e c r e t   o b j e c t   w i t h   a   s p e c i f i c   U I D   k u b e c t l   c r e a t e   t o k e n   m y a p p   - - b o u n d - o b j e c t - k i n d   S e c r e t   - - b o u n d - o b j e c t - n a m e   m y s e c r e t   - - b o u n d - o b j e c t - u i d   0 d 4 6 9 1 e d - 6 5 9 b - 4 9 3 5 - a 8 3 2 - 3 5 5 f 7 7 e e 4 7 c c",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22339"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   A u d i e n c e   o f   t h e   r e q u e s t e d   t o k e n .   I f   u n s e t ,   d e f a u l t s   t o   r e q u e s t i n g   a   t o k e n   f o r   u s e   w i t h   t h e   K u b e r n e t e s   A P I   s e r v e r .   M a y   b e   r e p e a t e d   t o   r e q u e s t   a   t o k e n   v a l i d   f o r   m u l t i p l e   a u d i e n c e s .   K i n d   o f   a n   o b j e c t   t o   b i n d   t h e   t o k e n   t o .   S u p p o r t e d   k i n d s   a r e   N o d e ,   P o d ,   S e c r e t .   I f   s e t ,   - - b o u n d - o b j e c t - n a m e   m u s t   b e   p r o v i d e d .   N a m e   o f   a n   o b j e c t   t o   b i n d   t h e   t o k e n   t o .   T h e   t o k e n   w i l l   e x p i r e   w h e n   t h e   o b j e c t   i s   d e l e t e d .   R e q u i r e s   - - b o u n d - o b j e c t - k i n d .   U I D   o f   a n   o b j e c t   t o   b i n d   t h e   t o k e n   t o .   R e q u i r e s   - - b o u n d - o b j e c t - k i n d   a n d   - - b o u n d - o b j e c t - n a m e .   I f   u n s e t ,   t h e   U I D   o f   t h e   e x i s t i n g   o b j e c t   i s   u s e d .   R e q u e s t e d   l i f e t i m e   o f   t h e   i s s u e d   t o k e n .   I f   n o t   s e t   o r   i f   s e t   t o   0 ,   t h e   l i f e t i m e   w i l l   b e   d e t e r m i n e d   b y   t h e   s e r v e r   a u t o m a t i c a l l y .   T h e   s e r v e r   m a y   r e t u r n   a   t o k e n   w i t h   a   l o n g e r   o r   s h o r t e r   l i f e t i m e .   h e l p   f o r   t o k e n   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22340"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22341"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22342"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D e b u g   c l u s t e r   r e s o u r c e s   u s i n g   i n t e r a c t i v e   d e b u g g i n g   c o n t a i n e r s .   ' d e b u g '   p r o v i d e s   a u t o m a t i o n   f o r   c o m m o n   d e b u g g i n g   t a s k s   f o r   c l u s t e r   o b j e c t s   i d e n t i f i e d   b y   r e s o u r c e   a n d   n a m e .   P o d s   w i l l   b e   u s e d   b y   d e f a u l t   i f   n o   r e s o u r c e   i s   s p e c i f i e d .   T h e   a c t i o n   t a k e n   b y   ' d e b u g '   v a r i e s   d e p e n d i n g   o n   w h a t   r e s o u r c e   i s   s p e c i f i e d .   S u p p o r t e d   a c t i o n s   i n c l u d e :   W o r k l o a d :   C r e a t e   a   c o p y   o f   a n   e x i s t i n g   p o d   w i t h   c e r t a i n   a t t r i b u t e s   c h a n g e d ,   f o r   e x a m p l e   c h a n g i n g   t h e   i m a g e   t a g   t o   a   n e w   v e r s i o n . W o r k l o a d :   A d d   a n   e p h e m e r a l   c o n t a i n e r   t o   a n   a l r e a d y   r u n n i n g   p o d ,   f o r   e x a m p l e   t o   a d d   d e b u g g i n g   u t i l i t i e s   w i t h o u t   r e s t a r t i n g   t h e   p o d . N o d e :   C r e a t e   a   n e w   p o d   t h a t   r u n s   i n   t h e   n o d e ' s   h o s t   n a m e s p a c e s   a n d   c a n   a c c e s s   t h e   n o d e ' s   f i l e s y s t e m .   N o t e :   W h e n   a   n o n - r o o t   u s e r   i s   c o n f i g u r e d   f o r   t h e   e n t i r e   t a r g e t   P o d ,   s o m e   c a p a b i l i t i e s   g r a n t e d   b y   d e b u g   p r o f i l e   m a y   n o t   w o r k .   k u b e c t l   d e b u g   ( P O D   |   T Y P E [ [ . V E R S I O N ] . G R O U P ] / N A M E )   [   - -   C O M M A N D   [ a r g s . . . ]   ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22343"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a n   i n t e r a c t i v e   d e b u g g i n g   s e s s i o n   i n   p o d   m y p o d   a n d   i m m e d i a t e l y   a t t a c h   t o   i t .   k u b e c t l   d e b u g   m y p o d   - i t   - - i m a g e = b u s y b o x   #   C r e a t e   a n   i n t e r a c t i v e   d e b u g g i n g   s e s s i o n   f o r   t h e   p o d   i n   t h e   f i l e   p o d . y a m l   a n d   i m m e d i a t e l y   a t t a c h   t o   i t .   #   ( r e q u i r e s   t h e   E p h e m e r a l C o n t a i n e r s   f e a t u r e   t o   b e   e n a b l e d   i n   t h e   c l u s t e r )   k u b e c t l   d e b u g   - f   p o d . y a m l   - i t   - - i m a g e = b u s y b o x   #   C r e a t e   a   d e b u g   c o n t a i n e r   n a m e d   d e b u g g e r   u s i n g   a   c u s t o m   a u t o m a t e d   d e b u g g i n g   i m a g e .   k u b e c t l   d e b u g   - - i m a g e = m y p r o j / d e b u g - t o o l s   - c   d e b u g g e r   m y p o d   #   C r e a t e   a   c o p y   o f   m y p o d   a d d i n g   a   d e b u g   c o n t a i n e r   a n d   a t t a c h   t o   i t   k u b e c t l   d e b u g   m y p o d   - i t   - - i m a g e = b u s y b o x   - - c o p y - t o = m y - d e b u g g e r   #   C r e a t e   a   c o p y   o f   m y p o d   c h a n g i n g   t h e   c o m m a n d   o f   m y c o n t a i n e r   k u b e c t l   d e b u g   m y p o d   - i t   - - c o p y - t o = m y - d e b u g g e r   - - c o n t a i n e r = m y c o n t a i n e r   - -   s h   #   C r e a t e   a   c o p y   o f   m y p o d   c h a n g i n g   a l l   c o n t a i n e r   i m a g e s   t o   b u s y b o x   k u b e c t l   d e b u g   m y p o d   - - c o p y - t o = m y - d e b u g g e r   - - s e t - i m a g e = * = b u s y b o x   #   C r e a t e   a   c o p y   o f   m y p o d   a d d i n g   a   d e b u g   c o n t a i n e r   a n d   c h a n g i n g   c o n t a i n e r   i m a g e s   k u b e c t l   d e b u g   m y p o d   - i t   - - c o p y - ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22344"
  },
  {
    "question": "What is Options?",
    "answer": "I f   s p e c i f i e d ,   e v e r y t h i n g   a f t e r   - -   w i l l   b e   p a s s e d   t o   t h e   n e w   c o n t a i n e r   a s   A r g s   i n s t e a d   o f   C o m m a n d .   I f   t r u e ,   w a i t   f o r   t h e   c o n t a i n e r   t o   s t a r t   r u n n i n g ,   a n d   t h e n   a t t a c h   a s   i f   ' k u b e c t l   a t t a c h   . . . '   w e r e   c a l l e d .   D e f a u l t   f a l s e ,   u n l e s s   ' - i / - - s t d i n '   i s   s e t ,   i n   w h i c h   c a s e   t h e   d e f a u l t   i s   t r u e .   C o n t a i n e r   n a m e   t o   u s e   f o r   d e b u g   c o n t a i n e r .   C r e a t e   a   c o p y   o f   t h e   t a r g e t   P o d   w i t h   t h i s   n a m e .   P a t h   t o   a   J S O N   o r   Y A M L   f i l e   c o n t a i n i n g   a   p a r t i a l   c o n t a i n e r   s p e c   t o   c u s t o m i z e   b u i l t - i n   d e b u g   p r o f i l e s .   E n v i r o n m e n t   v a r i a b l e s   t o   s e t   i n   t h e   c o n t a i n e r .   i d e n t i f y i n g   t h e   r e s o u r c e   t o   d e b u g   h e l p   f o r   d e b u g   C o n t a i n e r   i m a g e   t o   u s e   f o r   d e b u g   c o n t a i n e r .   T h e   i m a g e   p u l l   p o l i c y   f o r   t h e   c o n t a i n e r .   I f   l e f t   e m p t y ,   t h i s   v a l u e   w i l l   n o t   b e   s p e c i f i e d   b y   t h e   c l i e n t   a n d   d e f a u l t e d   b y   t h e   s e r v e r .   I f   t r u e ,   k e e p   t h e   o r i g i n a l   p o d   a n n o t a t i o n s . ( T h i s   f l a g   o n l y   w o r k s   w h e n   u s e d   w i t h   ' - - c o p y - t o ' )   R u n   t h e   i n i t   c o n t a i n e r s   f o r   t h e   p o d .   D e f a u l t s   t o   t r u e . ( T h i s   f l a g   o n l y   w o r k s   w h e n   u s e d   w i t h   ' - - c o p y - t o ' )   I f   t r u e ,   k e e p   t h e   o r i g i n a l   p o d   l a b e l s . ( T h i s   f l a g   o n l y   w o ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22345"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22346"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22347"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D e l e t e   r e s o u r c e s   b y   f i l e   n a m e s ,   s t d i n ,   r e s o u r c e s   a n d   n a m e s ,   o r   b y   r e s o u r c e s   a n d   l a b e l   s e l e c t o r .   J S O N   a n d   Y A M L   f o r m a t s   a r e   a c c e p t e d .   O n l y   o n e   t y p e   o f   a r g u m e n t   m a y   b e   s p e c i f i e d :   f i l e   n a m e s ,   r e s o u r c e s   a n d   n a m e s ,   o r   r e s o u r c e s   a n d   l a b e l   s e l e c t o r .   S o m e   r e s o u r c e s ,   s u c h   a s   p o d s ,   s u p p o r t   g r a c e f u l   d e l e t i o n .   T h e s e   r e s o u r c e s   d e f i n e   a   d e f a u l t   p e r i o d   b e f o r e   t h e y   a r e   f o r c i b l y   t e r m i n a t e d   ( t h e   g r a c e   p e r i o d )   b u t   y o u   m a y   o v e r r i d e   t h a t   v a l u e   w i t h   t h e   - - g r a c e - p e r i o d   f l a g ,   o r   p a s s   - - n o w   t o   s e t   a   g r a c e - p e r i o d   o f   1 .   B e c a u s e   t h e s e   r e s o u r c e s   o f t e n   r e p r e s e n t   e n t i t i e s   i n   t h e   c l u s t e r ,   d e l e t i o n   m a y   n o t   b e   a c k n o w l e d g e d   i m m e d i a t e l y .   I f   t h e   n o d e   h o s t i n g   a   p o d   i s   d o w n   o r   c a n n o t   r e a c h   t h e   A P I   s e r v e r ,   t e r m i n a t i o n   m a y   t a k e   s i g n i f i c a n t l y   l o n g e r   t h a n   t h e   g r a c e   p e r i o d .   T o   f o r c e   d e l e t e   a   r e s o u r c e ,   y o u   m u s t   s p e c i f y   t h e   - - f o r c e   f l a g .   N o t e :   o n l y   a   s u b s e t   o f   r e s o u r c e s   s u p p o r t   g r a c e f u l   d e l e t i o n .   I n   a b s e n c e   o f   t h e   s u p p o r t ,   t h e   - - g r a c e - p e r i o d   f l a g   i s   i g n o r e d .   I M P O R T A N T :   F o r c e   d e l e t i n g   p o d s   d o e s   n o t   w a i t   f o r   c o n f i r m a t i o n   t h a t   t h e   p o d ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22348"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D e l e t e   a   p o d   u s i n g   t h e   t y p e   a n d   n a m e   s p e c i f i e d   i n   p o d . j s o n   k u b e c t l   d e l e t e   - f   . / p o d . j s o n   #   D e l e t e   r e s o u r c e s   f r o m   a   d i r e c t o r y   c o n t a i n i n g   k u s t o m i z a t i o n . y a m l   -   e . g .   d i r / k u s t o m i z a t i o n . y a m l   k u b e c t l   d e l e t e   - k   d i r   #   D e l e t e   r e s o u r c e s   f r o m   a l l   f i l e s   t h a t   e n d   w i t h   ' . j s o n '   k u b e c t l   d e l e t e   - f   ' * . j s o n '   #   D e l e t e   a   p o d   b a s e d   o n   t h e   t y p e   a n d   n a m e   i n   t h e   J S O N   p a s s e d   i n t o   s t d i n   c a t   p o d . j s o n   |   k u b e c t l   d e l e t e   - f   -   #   D e l e t e   p o d s   a n d   s e r v i c e s   w i t h   s a m e   n a m e s   \" b a z \"   a n d   \" f o o \"   k u b e c t l   d e l e t e   p o d , s e r v i c e   b a z   f o o   #   D e l e t e   p o d s   a n d   s e r v i c e s   w i t h   l a b e l   n a m e = m y L a b e l   k u b e c t l   d e l e t e   p o d s , s e r v i c e s   - l   n a m e = m y L a b e l   #   D e l e t e   a   p o d   w i t h   m i n i m a l   d e l a y   k u b e c t l   d e l e t e   p o d   f o o   - - n o w   #   F o r c e   d e l e t e   a   p o d   o n   a   d e a d   n o d e   k u b e c t l   d e l e t e   p o d   f o o   - - f o r c e   #   D e l e t e   a l l   p o d s   k u b e c t l   d e l e t e   p o d s   - - a l l   #   D e l e t e   a l l   p o d s   o n l y   i f   t h e   u s e r   c o n f i r m s   t h e   d e l e t i o n   k u b e c t l   d e l e t e   p o d s   - - a l l   - - i n t e r a c t i v e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22349"
  },
  {
    "question": "What is Options?",
    "answer": "D e l e t e   a l l   r e s o u r c e s ,   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s .   I f   p r e s e n t ,   l i s t   t h e   r e q u e s t e d   o b j e c t ( s )   a c r o s s   a l l   n a m e s p a c e s .   N a m e s p a c e   i n   c u r r e n t   c o n t e x t   i s   i g n o r e d   e v e n   i f   s p e c i f i e d   w i t h   - - n a m e s p a c e .   M u s t   b e   \" b a c k g r o u n d \" ,   \" o r p h a n \" ,   o r   \" f o r e g r o u n d \" .   S e l e c t s   t h e   d e l e t i o n   c a s c a d i n g   s t r a t e g y   f o r   t h e   d e p e n d e n t s   ( e . g .   P o d s   c r e a t e d   b y   a   R e p l i c a t i o n C o n t r o l l e r ) .   D e f a u l t s   t o   b a c k g r o u n d .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   S e l e c t o r   ( f i e l d   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   a n d   ' ! = ' . ( e . g .   - - f i e l d - s e l e c t o r   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 ) .   T h e   s e r v e r   o n l y   s u p p o r t s   a   l i m i t e d   n u m b e r   o f   f i e l d   q u e r i e s   p e r   t y p e .   c o n t a i n i n g   t h e   r e s o u r c e   t o   d e l e t e .   I f   t r u e ,   i m m e d i a t e l y   r e m o v e   r e s o u r c e s   f r o m   A P I   a n d   b y p a s s   g r a c e f u l   d e l e t i o n .   N o t e   t h a t   i m m e d i a t e   d e l e t i o n   o f   s o m e   r e s o u r c e s   m a y   r e s u l t   i n   i n c o n s i s t e n c y   o r   d a t a   l o s s   a n d   r e q u i r e s   c o n f i r m a t i ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22350"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22351"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22352"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S h o w   d e t a i l s   o f   a   s p e c i f i c   r e s o u r c e   o r   g r o u p   o f   r e s o u r c e s .   P r i n t   a   d e t a i l e d   d e s c r i p t i o n   o f   t h e   s e l e c t e d   r e s o u r c e s ,   i n c l u d i n g   r e l a t e d   r e s o u r c e s   s u c h   a s   e v e n t s   o r   c o n t r o l l e r s .   Y o u   m a y   s e l e c t   a   s i n g l e   o b j e c t   b y   n a m e ,   a l l   o b j e c t s   o f   t h a t   t y p e ,   p r o v i d e   a   n a m e   p r e f i x ,   o r   l a b e l   s e l e c t o r .   F o r   e x a m p l e :   $   k u b e c t l   d e s c r i b e   T Y P E   N A M E _ P R E F I X   w i l l   f i r s t   c h e c k   f o r   a n   e x a c t   m a t c h   o n   T Y P E   a n d   N A M E _ P R E F I X .   I f   n o   s u c h   r e s o u r c e   e x i s t s ,   i t   w i l l   o u t p u t   d e t a i l s   f o r   e v e r y   r e s o u r c e   t h a t   h a s   a   n a m e   p r e f i x e d   w i t h   N A M E _ P R E F I X .   U s e   \" k u b e c t l   a p i - r e s o u r c e s \"   f o r   a   c o m p l e t e   l i s t   o f   s u p p o r t e d   r e s o u r c e s .   k u b e c t l   d e s c r i b e   ( - f   F I L E N A M E   |   T Y P E   [ N A M E _ P R E F I X   |   - l   l a b e l ]   |   T Y P E / N A M E )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22353"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D e s c r i b e   a   n o d e   k u b e c t l   d e s c r i b e   n o d e s   k u b e r n e t e s - n o d e - e m t 8 . c . m y p r o j e c t . i n t e r n a l   #   D e s c r i b e   a   p o d   k u b e c t l   d e s c r i b e   p o d s / n g i n x   #   D e s c r i b e   a   p o d   i d e n t i f i e d   b y   t y p e   a n d   n a m e   i n   \" p o d . j s o n \"   k u b e c t l   d e s c r i b e   - f   p o d . j s o n   #   D e s c r i b e   a l l   p o d s   k u b e c t l   d e s c r i b e   p o d s   #   D e s c r i b e   p o d s   b y   l a b e l   n a m e = m y L a b e l   k u b e c t l   d e s c r i b e   p o d s   - l   n a m e = m y L a b e l   #   D e s c r i b e   a l l   p o d s   m a n a g e d   b y   t h e   ' f r o n t e n d '   r e p l i c a t i o n   c o n t r o l l e r   #   ( r c - c r e a t e d   p o d s   g e t   t h e   n a m e   o f   t h e   r c   a s   a   p r e f i x   i n   t h e   p o d   n a m e )   k u b e c t l   d e s c r i b e   p o d s   f r o n t e n d",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22354"
  },
  {
    "question": "What is Options?",
    "answer": "I f   p r e s e n t ,   l i s t   t h e   r e q u e s t e d   o b j e c t ( s )   a c r o s s   a l l   n a m e s p a c e s .   N a m e s p a c e   i n   c u r r e n t   c o n t e x t   i s   i g n o r e d   e v e n   i f   s p e c i f i e d   w i t h   - - n a m e s p a c e .   R e t u r n   l a r g e   l i s t s   i n   c h u n k s   r a t h e r   t h a n   a l l   a t   o n c e .   P a s s   0   t o   d i s a b l e .   T h i s   f l a g   i s   b e t a   a n d   m a y   c h a n g e   i n   t h e   f u t u r e .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   c o n t a i n i n g   t h e   r e s o u r c e   t o   d e s c r i b e   h e l p   f o r   d e s c r i b e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   I f   t r u e ,   d i s p l a y   e v e n t s   r e l a t e d   t o   t h e   d e s c r i b e d   o b j e c t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22355"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22356"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22357"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i f f   c o n f i g u r a t i o n s   s p e c i f i e d   b y   f i l e   n a m e   o r   s t d i n   b e t w e e n   t h e   c u r r e n t   o n l i n e   c o n f i g u r a t i o n ,   a n d   t h e   c o n f i g u r a t i o n   a s   i t   w o u l d   b e   i f   a p p l i e d .   T h e   o u t p u t   i s   a l w a y s   Y A M L .   K U B E C T L _ E X T E R N A L _ D I F F   e n v i r o n m e n t   v a r i a b l e   c a n   b e   u s e d   t o   s e l e c t   y o u r   o w n   d i f f   c o m m a n d .   U s e r s   c a n   u s e   e x t e r n a l   c o m m a n d s   w i t h   p a r a m s   t o o ,   e x a m p l e :   K U B E C T L _ E X T E R N A L _ D I F F = \" c o l o r d i f f   - N   - u \"   B y   d e f a u l t ,   t h e   \" d i f f \"   c o m m a n d   a v a i l a b l e   i n   y o u r   p a t h   w i l l   b e   r u n   w i t h   t h e   \" - u \"   ( u n i f i e d   d i f f )   a n d   \" - N \"   ( t r e a t   a b s e n t   f i l e s   a s   e m p t y )   o p t i o n s .   E x i t   s t a t u s :   0   N o   d i f f e r e n c e s   w e r e   f o u n d .   1   D i f f e r e n c e s   w e r e   f o u n d .   > 1   K u b e c t l   o r   d i f f   f a i l e d   w i t h   a n   e r r o r .   N o t e :   K U B E C T L _ E X T E R N A L _ D I F F ,   i f   u s e d ,   i s   e x p e c t e d   t o   f o l l o w   t h a t   c o n v e n t i o n .   k u b e c t l   d i f f   - f   F I L E N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22358"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D i f f   r e s o u r c e s   i n c l u d e d   i n   p o d . j s o n   k u b e c t l   d i f f   - f   p o d . j s o n   #   D i f f   f i l e   r e a d   f r o m   s t d i n   c a t   s e r v i c e . y a m l   |   k u b e c t l   d i f f   - f   -",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22359"
  },
  {
    "question": "What is Options?",
    "answer": "N u m b e r   o f   o b j e c t s   t o   p r o c e s s   i n   p a r a l l e l   w h e n   d i f f i n g   a g a i n s t   t h e   l i v e   v e r s i o n .   L a r g e r   n u m b e r   =   f a s t e r ,   b u t   m o r e   m e m o r y ,   I / O   a n d   C P U   o v e r   t h a t   s h o r t e r   p e r i o d   o f   t i m e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   c o n t a i n s   t h e   c o n f i g u r a t i o n   t o   d i f f   I f   t r u e ,   s e r v e r - s i d e   a p p l y   w i l l   f o r c e   t h e   c h a n g e s   a g a i n s t   c o n f l i c t s .   h e l p   f o r   d i f f   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   I n c l u d e   r e s o u r c e s   t h a t   w o u l d   b e   d e l e t e d   b y   p r u n i n g .   C a n   b e   u s e d   w i t h   - l   a n d   d e f a u l t   s h o w s   a l l   r e s o u r c e s   w o u l d   b e   p r u n e d   O v e r w r i t e   t h e   d e f a u l t   a l l o w l i s t   w i t h   < g r o u p / v e r s i o n / k i n d >   f o r   - - p r u n e   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   I f   t r u e ,   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22360"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22361"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22362"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D r a i n   n o d e   i n   p r e p a r a t i o n   f o r   m a i n t e n a n c e .   T h e   g i v e n   n o d e   w i l l   b e   m a r k e d   u n s c h e d u l a b l e   t o   p r e v e n t   n e w   p o d s   f r o m   a r r i v i n g .   ' d r a i n '   e v i c t s   t h e   p o d s   i f   t h e   A P I   s e r v e r   s u p p o r t s   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / p o d s / d i s r u p t i o n s /   e v i c t i o n   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / p o d s / d i s r u p t i o n s /   .   O t h e r w i s e ,   i t   w i l l   u s e   n o r m a l   D E L E T E   t o   d e l e t e   t h e   p o d s .   T h e   ' d r a i n '   e v i c t s   o r   d e l e t e s   a l l   p o d s   e x c e p t   m i r r o r   p o d s   ( w h i c h   c a n n o t   b e   d e l e t e d   t h r o u g h   t h e   A P I   s e r v e r ) .   I f   t h e r e   a r e   d a e m o n   s e t - m a n a g e d   p o d s ,   d r a i n   w i l l   n o t   p r o c e e d   w i t h o u t   - - i g n o r e - d a e m o n s e t s ,   a n d   r e g a r d l e s s   i t   w i l l   n o t   d e l e t e   a n y   d a e m o n   s e t - m a n a g e d   p o d s ,   b e c a u s e   t h o s e   p o d s   w o u l d   b e   i m m e d i a t e l y   r e p l a c e d   b y   t h e   d a e m o n   s e t   c o n t r o l l e r ,   w h i c h   i g n o r e s   u n s c h e d u l a b l e   m a r k i n g s .   I f   t h e r e   a r e   a n y   p o d s   t h a t   a r e   n e i t h e r   m i r r o r   p o d s   n o r   m a n a g e d   b y   a   r e p l i c a t i o n   c o n t r o l l e r ,   r e p l i c a   s e t ,   d a e m o n   s e t ,   s t a t e f u l   s e t ,   o r   j o b ,   t h e n   d r a i n   w i l l   n o t   d e l e t e   a n y   p o d s   u n l e s s   y o u   u s e   - - f o r c e .   - - f o r c e   w i l l   a l s o   a l l o w   d e l e t i o n   t o   p r o c e e d   i f   t h e   m a n ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22363"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D r a i n   n o d e   \" f o o \" ,   e v e n   i f   t h e r e   a r e   p o d s   n o t   m a n a g e d   b y   a   r e p l i c a t i o n   c o n t r o l l e r ,   r e p l i c a   s e t ,   j o b ,   d a e m o n   s e t ,   o r   s t a t e f u l   s e t   o n   i t   k u b e c t l   d r a i n   f o o   - - f o r c e   #   A s   a b o v e ,   b u t   a b o r t   i f   t h e r e   a r e   p o d s   n o t   m a n a g e d   b y   a   r e p l i c a t i o n   c o n t r o l l e r ,   r e p l i c a   s e t ,   j o b ,   d a e m o n   s e t ,   o r   s t a t e f u l   s e t ,   a n d   u s e   a   g r a c e   p e r i o d   o f   1 5   m i n u t e s   k u b e c t l   d r a i n   f o o   - - g r a c e - p e r i o d = 9 0 0",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22364"
  },
  {
    "question": "What is Options?",
    "answer": "R e t u r n   l a r g e   l i s t s   i n   c h u n k s   r a t h e r   t h a n   a l l   a t   o n c e .   P a s s   0   t o   d i s a b l e .   T h i s   f l a g   i s   b e t a   a n d   m a y   c h a n g e   i n   t h e   f u t u r e .   C o n t i n u e   e v e n   i f   t h e r e   a r e   p o d s   u s i n g   e m p t y D i r   ( l o c a l   d a t a   t h a t   w i l l   b e   d e l e t e d   w h e n   t h e   n o d e   i s   d r a i n e d ) .   F o r c e   d r a i n   t o   u s e   d e l e t e ,   e v e n   i f   e v i c t i o n   i s   s u p p o r t e d .   T h i s   w i l l   b y p a s s   c h e c k i n g   P o d D i s r u p t i o n B u d g e t s ,   u s e   w i t h   c a u t i o n .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   C o n t i n u e   e v e n   i f   t h e r e   a r e   p o d s   t h a t   d o   n o t   d e c l a r e   a   c o n t r o l l e r .   P e r i o d   o f   t i m e   i n   s e c o n d s   g i v e n   t o   e a c h   p o d   t o   t e r m i n a t e   g r a c e f u l l y .   I f   n e g a t i v e ,   t h e   d e f a u l t   v a l u e   s p e c i f i e d   i n   t h e   p o d   w i l l   b e   u s e d .   h e l p   f o r   d r a i n   I g n o r e   D a e m o n S e t - m a n a g e d   p o d s .   L a b e l   s e l e c t o r   t o   f i l t e r   p o d s   o n   t h e   n o d e   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22365"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22366"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22367"
  },
  {
    "question": "What is Synopsis?",
    "answer": "E d i t   a   r e s o u r c e   f r o m   t h e   d e f a u l t   e d i t o r .   T h e   e d i t   c o m m a n d   a l l o w s   y o u   t o   d i r e c t l y   e d i t   a n y   A P I   r e s o u r c e   y o u   c a n   r e t r i e v e   v i a   t h e   c o m m a n d - l i n e   t o o l s .   I t   w i l l   o p e n   t h e   e d i t o r   d e f i n e d   b y   y o u r   K U B E _ E D I T O R ,   o r   E D I T O R   e n v i r o n m e n t   v a r i a b l e s ,   o r   f a l l   b a c k   t o   ' v i '   f o r   L i n u x   o r   ' n o t e p a d '   f o r   W i n d o w s .   W h e n   a t t e m p t i n g   t o   o p e n   t h e   e d i t o r ,   i t   w i l l   f i r s t   a t t e m p t   t o   u s e   t h e   s h e l l   t h a t   h a s   b e e n   d e f i n e d   i n   t h e   ' S H E L L '   e n v i r o n m e n t   v a r i a b l e .   I f   t h i s   i s   n o t   d e f i n e d ,   t h e   d e f a u l t   s h e l l   w i l l   b e   u s e d ,   w h i c h   i s   ' / b i n / b a s h '   f o r   L i n u x   o r   ' c m d '   f o r   W i n d o w s .   Y o u   c a n   e d i t   m u l t i p l e   o b j e c t s ,   a l t h o u g h   c h a n g e s   a r e   a p p l i e d   o n e   a t   a   t i m e .   T h e   c o m m a n d   a c c e p t s   f i l e   n a m e s   a s   w e l l   a s   c o m m a n d - l i n e   a r g u m e n t s ,   a l t h o u g h   t h e   f i l e s   y o u   p o i n t   t o   m u s t   b e   p r e v i o u s l y   s a v e d   v e r s i o n s   o f   r e s o u r c e s .   E d i t i n g   i s   d o n e   w i t h   t h e   A P I   v e r s i o n   u s e d   t o   f e t c h   t h e   r e s o u r c e .   T o   e d i t   u s i n g   a   s p e c i f i c   A P I   v e r s i o n ,   f u l l y - q u a l i f y   t h e   r e s o u r c e ,   v e r s i o n ,   a n d   g r o u p .   T h e   d e f a u l t   f o r m a t   i s   Y A M L .   T o   e d i t   i n   J S O N ,   s p e c i f y   \" - o   j s o n \" .   T h e   f l a g   - - w i n d o w s - l i n e - e n d i n g ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22368"
  },
  {
    "question": "What is Examples?",
    "answer": "#   E d i t   t h e   s e r v i c e   n a m e d   ' r e g i s t r y '   k u b e c t l   e d i t   s v c / r e g i s t r y   #   U s e   a n   a l t e r n a t i v e   e d i t o r   K U B E _ E D I T O R = \" n a n o \"   k u b e c t l   e d i t   s v c / r e g i s t r y   #   E d i t   t h e   j o b   ' m y j o b '   i n   J S O N   u s i n g   t h e   v 1   A P I   f o r m a t   k u b e c t l   e d i t   j o b . v 1 . b a t c h / m y j o b   - o   j s o n   #   E d i t   t h e   d e p l o y m e n t   ' m y d e p l o y m e n t '   i n   Y A M L   a n d   s a v e   t h e   m o d i f i e d   c o n f i g   i n   i t s   a n n o t a t i o n   k u b e c t l   e d i t   d e p l o y m e n t / m y d e p l o y m e n t   - o   y a m l   - - s a v e - c o n f i g   #   E d i t   t h e   ' s t a t u s '   s u b r e s o u r c e   f o r   t h e   ' m y d e p l o y m e n t '   d e p l o y m e n t   k u b e c t l   e d i t   d e p l o y m e n t   m y d e p l o y m e n t   - - s u b r e s o u r c e = ' s t a t u s '",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22369"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   t o   u s e   t o   e d i t   t h e   r e s o u r c e   h e l p   f o r   e d i t   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   O u t p u t   t h e   p a t c h   i f   t h e   r e s o u r c e   i s   e d i t e d .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   I f   s p e c i f i e d ,   e d i t   w i l ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22370"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22371"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22372"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   e v e n t s .   P r i n t s   a   t a b l e   o f   t h e   m o s t   i m p o r t a n t   i n f o r m a t i o n   a b o u t   e v e n t s .   Y o u   c a n   r e q u e s t   e v e n t s   f o r   a   n a m e s p a c e ,   f o r   a l l   n a m e s p a c e ,   o r   f i l t e r e d   t o   o n l y   t h o s e   p e r t a i n i n g   t o   a   s p e c i f i e d   r e s o u r c e .   k u b e c t l   e v e n t s   [ ( - o | - - o u t p u t = ) j s o n | y a m l | n a m e | g o - t e m p l a t e | g o - t e m p l a t e - f i l e | t e m p l a t e | t e m p l a t e f i l e | j s o n p a t h | j s o n p a t h - a s - j s o n | j s o n p a t h - f i l e ]   [ - - f o r   T Y P E / N A M E ]   [ - - w a t c h ]   [ - - t y p e s = N o r m a l , W a r n i n g ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22373"
  },
  {
    "question": "What is Examples?",
    "answer": "#   L i s t   r e c e n t   e v e n t s   i n   t h e   d e f a u l t   n a m e s p a c e   k u b e c t l   e v e n t s   #   L i s t   r e c e n t   e v e n t s   i n   a l l   n a m e s p a c e s   k u b e c t l   e v e n t s   - - a l l - n a m e s p a c e s   #   L i s t   r e c e n t   e v e n t s   f o r   t h e   s p e c i f i e d   p o d ,   t h e n   w a i t   f o r   m o r e   e v e n t s   a n d   l i s t   t h e m   a s   t h e y   a r r i v e   k u b e c t l   e v e n t s   - - f o r   p o d / w e b - p o d - 1 3 j e 7   - - w a t c h   #   L i s t   r e c e n t   e v e n t s   i n   Y A M L   f o r m a t   k u b e c t l   e v e n t s   - o y a m l   #   L i s t   r e c e n t   o n l y   e v e n t s   o f   t y p e   ' W a r n i n g '   o r   ' N o r m a l '   k u b e c t l   e v e n t s   - - t y p e s = W a r n i n g , N o r m a l",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22374"
  },
  {
    "question": "What is Options?",
    "answer": "I f   p r e s e n t ,   l i s t   t h e   r e q u e s t e d   o b j e c t ( s )   a c r o s s   a l l   n a m e s p a c e s .   N a m e s p a c e   i n   c u r r e n t   c o n t e x t   i s   i g n o r e d   e v e n   i f   s p e c i f i e d   w i t h   - - n a m e s p a c e .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   R e t u r n   l a r g e   l i s t s   i n   c h u n k s   r a t h e r   t h a n   a l l   a t   o n c e .   P a s s   0   t o   d i s a b l e .   T h i s   f l a g   i s   b e t a   a n d   m a y   c h a n g e   i n   t h e   f u t u r e .   F i l t e r   e v e n t s   t o   o n l y   t h o s e   p e r t a i n i n g   t o   t h e   s p e c i f i e d   r e s o u r c e .   h e l p   f o r   e v e n t s   W h e n   u s i n g   t h e   d e f a u l t   o u t p u t   f o r m a t ,   d o n ' t   p r i n t   h e a d e r s .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t e x t / t e m p l a t e / # p k g - o v e r v i e w ] .   O u t p u t   o n l y   e v e n t s   o f   g i v e n   t y p e s .   A f t e r   l i s t i n g   t h e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22375"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22376"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22377"
  },
  {
    "question": "What is Synopsis?",
    "answer": "E x e c u t e   a   c o m m a n d   i n   a   c o n t a i n e r .   k u b e c t l   e x e c   ( P O D   |   T Y P E / N A M E )   [ - c   C O N T A I N E R ]   [ f l a g s ]   - -   C O M M A N D   [ a r g s . . . ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22378"
  },
  {
    "question": "What is Examples?",
    "answer": "#   G e t   o u t p u t   f r o m   r u n n i n g   t h e   ' d a t e '   c o m m a n d   f r o m   p o d   m y p o d ,   u s i n g   t h e   f i r s t   c o n t a i n e r   b y   d e f a u l t   k u b e c t l   e x e c   m y p o d   - -   d a t e   #   G e t   o u t p u t   f r o m   r u n n i n g   t h e   ' d a t e '   c o m m a n d   i n   r u b y - c o n t a i n e r   f r o m   p o d   m y p o d   k u b e c t l   e x e c   m y p o d   - c   r u b y - c o n t a i n e r   - -   d a t e   #   S w i t c h   t o   r a w   t e r m i n a l   m o d e ;   s e n d s   s t d i n   t o   ' b a s h '   i n   r u b y - c o n t a i n e r   f r o m   p o d   m y p o d   #   a n d   s e n d s   s t d o u t / s t d e r r   f r o m   ' b a s h '   b a c k   t o   t h e   c l i e n t   k u b e c t l   e x e c   m y p o d   - c   r u b y - c o n t a i n e r   - i   - t   - -   b a s h   - i l   #   L i s t   c o n t e n t s   o f   / u s r   f r o m   t h e   f i r s t   c o n t a i n e r   o f   p o d   m y p o d   a n d   s o r t   b y   m o d i f i c a t i o n   t i m e   #   I f   t h e   c o m m a n d   y o u   w a n t   t o   e x e c u t e   i n   t h e   p o d   h a s   a n y   f l a g s   i n   c o m m o n   ( e . g .   - i ) ,   #   y o u   m u s t   u s e   t w o   d a s h e s   ( - - )   t o   s e p a r a t e   y o u r   c o m m a n d ' s   f l a g s / a r g u m e n t s   #   A l s o   n o t e ,   d o   n o t   s u r r o u n d   y o u r   c o m m a n d   a n d   i t s   f l a g s / a r g u m e n t s   w i t h   q u o t e s   #   u n l e s s   t h a t   i s   h o w   y o u   w o u l d   e x e c u t e   i t   n o r m a l l y   ( i . e . ,   d o   l s   - t   / u s r ,   n o t   \" l s   - t   / u s r \" )   k u b e c t l   e x e c   m y p o d   - i   - t   - -   l s   - t   / u s r   #   G e t   o u t p u t   f r o m   r u n n i n g   ' d a t e '   c o m m a n d   f r o m   t h e   f i r s t   p o d   o f   t h e   d e p l o y m e n t   m y d e p l o y m e n t ,   u s i n g ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22379"
  },
  {
    "question": "What is Options?",
    "answer": "C o n t a i n e r   n a m e .   I f   o m i t t e d ,   u s e   t h e   k u b e c t l . k u b e r n e t e s . i o / d e f a u l t - c o n t a i n e r   a n n o t a t i o n   f o r   s e l e c t i n g   t h e   c o n t a i n e r   t o   b e   a t t a c h e d   o r   t h e   f i r s t   c o n t a i n e r   i n   t h e   p o d   w i l l   b e   c h o s e n   t o   u s e   t o   e x e c   i n t o   t h e   r e s o u r c e   h e l p   f o r   e x e c   T h e   l e n g t h   o f   t i m e   ( l i k e   5 s ,   2 m ,   o r   3 h ,   h i g h e r   t h a n   z e r o )   t o   w a i t   u n t i l   a t   l e a s t   o n e   p o d   i s   r u n n i n g   O n l y   p r i n t   o u t p u t   f r o m   t h e   r e m o t e   s e s s i o n   P a s s   s t d i n   t o   t h e   c o n t a i n e r   S t d i n   i s   a   T T Y",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22380"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22381"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22382"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D e s c r i b e   f i e l d s   a n d   s t r u c t u r e   o f   v a r i o u s   r e s o u r c e s .   T h i s   c o m m a n d   d e s c r i b e s   t h e   f i e l d s   a s s o c i a t e d   w i t h   e a c h   s u p p o r t e d   A P I   r e s o u r c e .   F i e l d s   a r e   i d e n t i f i e d   v i a   a   s i m p l e   J S O N P a t h   i d e n t i f i e r :   & l t ; t y p e & g t ; . & l t ; f i e l d N a m e & g t ; [ . & l t ; f i e l d N a m e & g t ; ]   I n f o r m a t i o n   a b o u t   e a c h   f i e l d   i s   r e t r i e v e d   f r o m   t h e   s e r v e r   i n   O p e n A P I   f o r m a t .   U s e   \" k u b e c t l   a p i - r e s o u r c e s \"   f o r   a   c o m p l e t e   l i s t   o f   s u p p o r t e d   r e s o u r c e s .   k u b e c t l   e x p l a i n   T Y P E   [ - - r e c u r s i v e = F A L S E | T R U E ]   [ - - a p i - v e r s i o n = a p i - v e r s i o n - g r o u p ]   [ - o | - - o u t p u t = p l a i n t e x t | p l a i n t e x t - o p e n a p i v 2 ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22383"
  },
  {
    "question": "What is Examples?",
    "answer": "#   G e t   t h e   d o c u m e n t a t i o n   o f   t h e   r e s o u r c e   a n d   i t s   f i e l d s   k u b e c t l   e x p l a i n   p o d s   #   G e t   a l l   t h e   f i e l d s   i n   t h e   r e s o u r c e   k u b e c t l   e x p l a i n   p o d s   - - r e c u r s i v e   #   G e t   t h e   e x p l a n a t i o n   f o r   d e p l o y m e n t   i n   s u p p o r t e d   a p i   v e r s i o n s   k u b e c t l   e x p l a i n   d e p l o y m e n t s   - - a p i - v e r s i o n = a p p s / v 1   #   G e t   t h e   d o c u m e n t a t i o n   o f   a   s p e c i f i c   f i e l d   o f   a   r e s o u r c e   k u b e c t l   e x p l a i n   p o d s . s p e c . c o n t a i n e r s   #   G e t   t h e   d o c u m e n t a t i o n   o f   r e s o u r c e s   i n   d i f f e r e n t   f o r m a t   k u b e c t l   e x p l a i n   d e p l o y m e n t   - - o u t p u t = p l a i n t e x t - o p e n a p i v 2",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22384"
  },
  {
    "question": "What is Options?",
    "answer": "G e t   d i f f e r e n t   e x p l a n a t i o n s   f o r   p a r t i c u l a r   A P I   v e r s i o n   ( A P I   g r o u p / v e r s i o n )   h e l p   f o r   e x p l a i n   F o r m a t   i n   w h i c h   t o   r e n d e r   t h e   s c h e m a   ( p l a i n t e x t ,   p l a i n t e x t - o p e n a p i v 2 )   P r i n t   t h e   f i e l d s   o f   f i e l d s   ( C u r r e n t l y   o n l y   1   l e v e l   d e e p )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22385"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22386"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22387"
  },
  {
    "question": "What is Synopsis?",
    "answer": "E x p o s e   a   r e s o u r c e   a s   a   n e w   K u b e r n e t e s   s e r v i c e .   L o o k s   u p   a   d e p l o y m e n t ,   s e r v i c e ,   r e p l i c a   s e t ,   r e p l i c a t i o n   c o n t r o l l e r   o r   p o d   b y   n a m e   a n d   u s e s   t h e   s e l e c t o r   f o r   t h a t   r e s o u r c e   a s   t h e   s e l e c t o r   f o r   a   n e w   s e r v i c e   o n   t h e   s p e c i f i e d   p o r t .   A   d e p l o y m e n t   o r   r e p l i c a   s e t   w i l l   b e   e x p o s e d   a s   a   s e r v i c e   o n l y   i f   i t s   s e l e c t o r   i s   c o n v e r t i b l e   t o   a   s e l e c t o r   t h a t   s e r v i c e   s u p p o r t s ,   i . e .   w h e n   t h e   s e l e c t o r   c o n t a i n s   o n l y   t h e   m a t c h L a b e l s   c o m p o n e n t .   N o t e   t h a t   i f   n o   p o r t   i s   s p e c i f i e d   v i a   - - p o r t   a n d   t h e   e x p o s e d   r e s o u r c e   h a s   m u l t i p l e   p o r t s ,   a l l   w i l l   b e   r e - u s e d   b y   t h e   n e w   s e r v i c e .   A l s o   i f   n o   l a b e l s   a r e   s p e c i f i e d ,   t h e   n e w   s e r v i c e   w i l l   r e - u s e   t h e   l a b e l s   f r o m   t h e   r e s o u r c e   i t   e x p o s e s .   P o s s i b l e   r e s o u r c e s   i n c l u d e   ( c a s e   i n s e n s i t i v e ) :   p o d   ( p o ) ,   s e r v i c e   ( s v c ) ,   r e p l i c a t i o n c o n t r o l l e r   ( r c ) ,   d e p l o y m e n t   ( d e p l o y ) ,   r e p l i c a s e t   ( r s )   k u b e c t l   e x p o s e   ( - f   F I L E N A M E   |   T Y P E   N A M E )   [ - - p o r t = p o r t ]   [ - - p r o t o c o l = T C P | U D P | S C T P ]   [ - - t a r g e t - p o r t = n u m b e r - o r - n a m e ]   [ - - n a m e = n a m e ]   [ - - e x t e r n a l - i p = e x t e r n a l - i p - o f - s e r v i c e ]   [ - - t y p e = t y p e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22388"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   s e r v i c e   f o r   a   r e p l i c a t e d   n g i n x ,   w h i c h   s e r v e s   o n   p o r t   8 0   a n d   c o n n e c t s   t o   t h e   c o n t a i n e r s   o n   p o r t   8 0 0 0   k u b e c t l   e x p o s e   r c   n g i n x   - - p o r t = 8 0   - - t a r g e t - p o r t = 8 0 0 0   #   C r e a t e   a   s e r v i c e   f o r   a   r e p l i c a t i o n   c o n t r o l l e r   i d e n t i f i e d   b y   t y p e   a n d   n a m e   s p e c i f i e d   i n   \" n g i n x - c o n t r o l l e r . y a m l \" ,   w h i c h   s e r v e s   o n   p o r t   8 0   a n d   c o n n e c t s   t o   t h e   c o n t a i n e r s   o n   p o r t   8 0 0 0   k u b e c t l   e x p o s e   - f   n g i n x - c o n t r o l l e r . y a m l   - - p o r t = 8 0   - - t a r g e t - p o r t = 8 0 0 0   #   C r e a t e   a   s e r v i c e   f o r   a   p o d   v a l i d - p o d ,   w h i c h   s e r v e s   o n   p o r t   4 4 4   w i t h   t h e   n a m e   \" f r o n t e n d \"   k u b e c t l   e x p o s e   p o d   v a l i d - p o d   - - p o r t = 4 4 4   - - n a m e = f r o n t e n d   #   C r e a t e   a   s e c o n d   s e r v i c e   b a s e d   o n   t h e   a b o v e   s e r v i c e ,   e x p o s i n g   t h e   c o n t a i n e r   p o r t   8 4 4 3   a s   p o r t   4 4 3   w i t h   t h e   n a m e   \" n g i n x - h t t p s \"   k u b e c t l   e x p o s e   s e r v i c e   n g i n x   - - p o r t = 4 4 3   - - t a r g e t - p o r t = 8 4 4 3   - - n a m e = n g i n x - h t t p s   #   C r e a t e   a   s e r v i c e   f o r   a   r e p l i c a t e d   s t r e a m i n g   a p p l i c a t i o n   o n   p o r t   4 1 0 0   b a l a n c i n g   U D P   t r a f f i c   a n d   n a m e d   ' v i d e o - s t r e a m ' .   k u b e c t l   e x p o s e   r c   s t r e a m e r   - - p o r t = 4 1 0 0   - - p r o t o c o l = U D P   - - n a m e = v i d e o - s t r e a m   #   C r e a t e   a   s e r v i c e   f o r   a   r e p l i c a t e d   n g i n x ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22389"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   C l u s t e r I P   t o   b e   a s s i g n e d   t o   t h e   s e r v i c e .   L e a v e   e m p t y   t o   a u t o - a l l o c a t e ,   o r   s e t   t o   ' N o n e '   t o   c r e a t e   a   h e a d l e s s   s e r v i c e .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   A d d i t i o n a l   e x t e r n a l   I P   a d d r e s s   ( n o t   m a n a g e d   b y   K u b e r n e t e s )   t o   a c c e p t   f o r   t h e   s e r v i c e .   I f   t h i s   I P   i s   r o u t e d   t o   a   n o d e ,   t h e   s e r v i c e   c a n   b e   a c c e s s e d   b y   t h i s   I P   i n   a d d i t i o n   t o   i t s   g e n e r a t e d   s e r v i c e   I P .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   e x p o s e   a   s e r v i c e   h e l p   f o r   e x p o s e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   L a b e l s   t o   a p p l y   t o   t h e   s e r v i c e   c r e a t e d   b y   t h i s   c a l l .   I P   t o   a s s i g n   t o   t h e   L o a d B a l a n c e r .   I f   e m p t y ,   a n   e p h e m ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22390"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22391"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22392"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   o n e   o r   m a n y   r e s o u r c e s .   P r i n t s   a   t a b l e   o f   t h e   m o s t   i m p o r t a n t   i n f o r m a t i o n   a b o u t   t h e   s p e c i f i e d   r e s o u r c e s .   Y o u   c a n   f i l t e r   t h e   l i s t   u s i n g   a   l a b e l   s e l e c t o r   a n d   t h e   - - s e l e c t o r   f l a g .   I f   t h e   d e s i r e d   r e s o u r c e   t y p e   i s   n a m e s p a c e d   y o u   w i l l   o n l y   s e e   r e s u l t s   i n   t h e   c u r r e n t   n a m e s p a c e   i f   y o u   d o n ' t   s p e c i f y   a n y   n a m e s p a c e .   B y   s p e c i f y i n g   t h e   o u t p u t   a s   ' t e m p l a t e '   a n d   p r o v i d i n g   a   G o   t e m p l a t e   a s   t h e   v a l u e   o f   t h e   - - t e m p l a t e   f l a g ,   y o u   c a n   f i l t e r   t h e   a t t r i b u t e s   o f   t h e   f e t c h e d   r e s o u r c e s .   U s e   \" k u b e c t l   a p i - r e s o u r c e s \"   f o r   a   c o m p l e t e   l i s t   o f   s u p p o r t e d   r e s o u r c e s .   k u b e c t l   g e t   [ ( - o | - - o u t p u t = ) j s o n | y a m l | n a m e | g o - t e m p l a t e | g o - t e m p l a t e - f i l e | t e m p l a t e | t e m p l a t e f i l e | j s o n p a t h | j s o n p a t h - a s - j s o n | j s o n p a t h - f i l e | c u s t o m - c o l u m n s | c u s t o m - c o l u m n s - f i l e | w i d e ]   ( T Y P E [ . V E R S I O N ] [ . G R O U P ]   [ N A M E   |   - l   l a b e l ]   |   T Y P E [ . V E R S I O N ] [ . G R O U P ] / N A M E   . . . )   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22393"
  },
  {
    "question": "What is Examples?",
    "answer": "#   L i s t   a l l   p o d s   i n   p s   o u t p u t   f o r m a t   k u b e c t l   g e t   p o d s   #   L i s t   a l l   p o d s   i n   p s   o u t p u t   f o r m a t   w i t h   m o r e   i n f o r m a t i o n   ( s u c h   a s   n o d e   n a m e )   k u b e c t l   g e t   p o d s   - o   w i d e   #   L i s t   a   s i n g l e   r e p l i c a t i o n   c o n t r o l l e r   w i t h   s p e c i f i e d   N A M E   i n   p s   o u t p u t   f o r m a t   k u b e c t l   g e t   r e p l i c a t i o n c o n t r o l l e r   w e b   #   L i s t   d e p l o y m e n t s   i n   J S O N   o u t p u t   f o r m a t ,   i n   t h e   \" v 1 \"   v e r s i o n   o f   t h e   \" a p p s \"   A P I   g r o u p   k u b e c t l   g e t   d e p l o y m e n t s . v 1 . a p p s   - o   j s o n   #   L i s t   a   s i n g l e   p o d   i n   J S O N   o u t p u t   f o r m a t   k u b e c t l   g e t   - o   j s o n   p o d   w e b - p o d - 1 3 j e 7   #   L i s t   a   p o d   i d e n t i f i e d   b y   t y p e   a n d   n a m e   s p e c i f i e d   i n   \" p o d . y a m l \"   i n   J S O N   o u t p u t   f o r m a t   k u b e c t l   g e t   - f   p o d . y a m l   - o   j s o n   #   L i s t   r e s o u r c e s   f r o m   a   d i r e c t o r y   w i t h   k u s t o m i z a t i o n . y a m l   -   e . g .   d i r / k u s t o m i z a t i o n . y a m l   k u b e c t l   g e t   - k   d i r /   #   R e t u r n   o n l y   t h e   p h a s e   v a l u e   o f   t h e   s p e c i f i e d   p o d   k u b e c t l   g e t   - o   t e m p l a t e   p o d / w e b - p o d - 1 3 j e 7   - - t e m p l a t e = { { . s t a t u s . p h a s e } }   #   L i s t   r e s o u r c e   i n f o r m a t i o n   i n   c u s t o m   c o l u m n s   k u b e c t l   g e t   p o d   t e s t - p o d   - o   c u s t o m - c o l u m n s = C O N T A I N E R : . s p e c . c o n t a i n e r s [ 0 ] . n a m e , I M A G E : . s p e c . c o n t a i n e r s [ 0 ] . i m a g e   #   L i s t   a l l   r e p l i ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22394"
  },
  {
    "question": "What is Options?",
    "answer": "I f   p r e s e n t ,   l i s t   t h e   r e q u e s t e d   o b j e c t ( s )   a c r o s s   a l l   n a m e s p a c e s .   N a m e s p a c e   i n   c u r r e n t   c o n t e x t   i s   i g n o r e d   e v e n   i f   s p e c i f i e d   w i t h   - - n a m e s p a c e .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   R e t u r n   l a r g e   l i s t s   i n   c h u n k s   r a t h e r   t h a n   a l l   a t   o n c e .   P a s s   0   t o   d i s a b l e .   T h i s   f l a g   i s   b e t a   a n d   m a y   c h a n g e   i n   t h e   f u t u r e .   S e l e c t o r   ( f i e l d   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   a n d   ' ! = ' . ( e . g .   - - f i e l d - s e l e c t o r   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 ) .   T h e   s e r v e r   o n l y   s u p p o r t s   a   l i m i t e d   n u m b e r   o f   f i e l d   q u e r i e s   p e r   t y p e .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   g e t   I f   s e t   t o   t r u e ,   s u p p r e s s e s   N o t F o u n d   e r r o r   f o r   s p e c i f i c   o b j e c t s   t h a t   d o   n o t   e x i s t .   U s i n g   t h i s   f l a g   w i t h   c o m m a n d s   t h a t   q u e r y   f o r   c o l l e c t i o n s   o f   r e s o u r c e s   h a s   n o   e f f e c t   w h e n   n o   r e s o u r c e s   a r e   f o u n d .   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   A c c e p t s   a   c o m m a   s e p a r a t e d   l i s t   o f   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22395"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22396"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22397"
  },
  {
    "question": "What is Synopsis?",
    "answer": "B u i l d   a   s e t   o f   K R M   r e s o u r c e s   u s i n g   a   ' k u s t o m i z a t i o n . y a m l '   f i l e .   T h e   D I R   a r g u m e n t   m u s t   b e   a   p a t h   t o   a   d i r e c t o r y   c o n t a i n i n g   ' k u s t o m i z a t i o n . y a m l ' ,   o r   a   g i t   r e p o s i t o r y   U R L   w i t h   a   p a t h   s u f f i x   s p e c i f y i n g   s a m e   w i t h   r e s p e c t   t o   t h e   r e p o s i t o r y   r o o t .   I f   D I R   i s   o m i t t e d ,   ' . '   i s   a s s u m e d .   k u b e c t l   k u s t o m i z e   D I R   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22398"
  },
  {
    "question": "What is Examples?",
    "answer": "#   B u i l d   t h e   c u r r e n t   w o r k i n g   d i r e c t o r y   k u b e c t l   k u s t o m i z e   #   B u i l d   s o m e   s h a r e d   c o n f i g u r a t i o n   d i r e c t o r y   k u b e c t l   k u s t o m i z e   / h o m e / c o n f i g / p r o d u c t i o n   #   B u i l d   f r o m   g i t h u b   k u b e c t l   k u s t o m i z e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s - s i g s / k u s t o m i z e . g i t / e x a m p l e s / h e l l o W o r l d ? r e f = v 1 . 0 . 6",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22399"
  },
  {
    "question": "What is Options?",
    "answer": "u s e   t h e   u i d   a n d   g i d   o f   t h e   c o m m a n d   e x e c u t o r   t o   r u n   t h e   f u n c t i o n   i n   t h e   c o n t a i n e r   e n a b l e   k u s t o m i z e   p l u g i n s   E n a b l e   u s e   o f   t h e   H e l m   c h a r t   i n f l a t o r   g e n e r a t o r .   a   l i s t   o f   e n v i r o n m e n t   v a r i a b l e s   t o   b e   u s e d   b y   f u n c t i o n s   K u b e r n e t e s   a p i   v e r s i o n s   u s e d   b y   H e l m   f o r   C a p a b i l i t i e s . A P I V e r s i o n s   h e l m   c o m m a n d   ( p a t h   t o   e x e c u t a b l e )   E n a b l e   d e b u g   o u t p u t   f r o m   t h e   H e l m   c h a r t   i n f l a t o r   g e n e r a t o r .   K u b e r n e t e s   v e r s i o n   u s e d   b y   H e l m   f o r   C a p a b i l i t i e s . K u b e V e r s i o n   h e l p   f o r   k u s t o m i z e   i f   s e t   t o   ' L o a d R e s t r i c t i o n s N o n e ' ,   l o c a l   k u s t o m i z a t i o n s   m a y   l o a d   f i l e s   f r o m   o u t s i d e   t h e i r   r o o t .   T h i s   d o e s ,   h o w e v e r ,   b r e a k   t h e   r e l o c a t a b i l i t y   o f   t h e   k u s t o m i z a t i o n .   a   l i s t   o f   s t o r a g e   o p t i o n s   r e a d   f r o m   t h e   f i l e s y s t e m   e n a b l e   n e t w o r k   a c c e s s   f o r   f u n c t i o n s   t h a t   d e c l a r e   i t   t h e   d o c k e r   n e t w o r k   t o   r u n   t h e   c o n t a i n e r   i n   I f   s p e c i f i e d ,   w r i t e   o u t p u t   t o   t h i s   p a t h .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22400"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22401"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22402"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e   t h e   l a b e l s   o n   a   r e s o u r c e .   A   l a b e l   k e y   a n d   v a l u e   m u s t   b e g i n   w i t h   a   l e t t e r   o r   n u m b e r ,   a n d   m a y   c o n t a i n   l e t t e r s ,   n u m b e r s ,   h y p h e n s ,   d o t s ,   a n d   u n d e r s c o r e s ,   u p   t o   6 3   c h a r a c t e r s   e a c h . O p t i o n a l l y ,   t h e   k e y   c a n   b e g i n   w i t h   a   D N S   s u b d o m a i n   p r e f i x   a n d   a   s i n g l e   ' / ' ,   l i k e   e x a m p l e . c o m / m y - a p p . I f   - - o v e r w r i t e   i s   t r u e ,   t h e n   e x i s t i n g   l a b e l s   c a n   b e   o v e r w r i t t e n ,   o t h e r w i s e   a t t e m p t i n g   t o   o v e r w r i t e   a   l a b e l   w i l l   r e s u l t   i n   a n   e r r o r . I f   - - r e s o u r c e - v e r s i o n   i s   s p e c i f i e d ,   t h e n   u p d a t e s   w i l l   u s e   t h i s   r e s o u r c e   v e r s i o n ,   o t h e r w i s e   t h e   e x i s t i n g   r e s o u r c e - v e r s i o n   w i l l   b e   u s e d .   k u b e c t l   l a b e l   [ - - o v e r w r i t e ]   ( - f   F I L E N A M E   |   T Y P E   N A M E )   K E Y _ 1 = V A L _ 1   . . .   K E Y _ N = V A L _ N   [ - - r e s o u r c e - v e r s i o n = v e r s i o n ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22403"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U p d a t e   p o d   ' f o o '   w i t h   t h e   l a b e l   ' u n h e a l t h y '   a n d   t h e   v a l u e   ' t r u e '   k u b e c t l   l a b e l   p o d s   f o o   u n h e a l t h y = t r u e   #   U p d a t e   p o d   ' f o o '   w i t h   t h e   l a b e l   ' s t a t u s '   a n d   t h e   v a l u e   ' u n h e a l t h y ' ,   o v e r w r i t i n g   a n y   e x i s t i n g   v a l u e   k u b e c t l   l a b e l   - - o v e r w r i t e   p o d s   f o o   s t a t u s = u n h e a l t h y   #   U p d a t e   a l l   p o d s   i n   t h e   n a m e s p a c e   k u b e c t l   l a b e l   p o d s   - - a l l   s t a t u s = u n h e a l t h y   #   U p d a t e   a   p o d   i d e n t i f i e d   b y   t h e   t y p e   a n d   n a m e   i n   \" p o d . j s o n \"   k u b e c t l   l a b e l   - f   p o d . j s o n   s t a t u s = u n h e a l t h y   #   U p d a t e   p o d   ' f o o '   o n l y   i f   t h e   r e s o u r c e   i s   u n c h a n g e d   f r o m   v e r s i o n   1   k u b e c t l   l a b e l   p o d s   f o o   s t a t u s = u n h e a l t h y   - - r e s o u r c e - v e r s i o n = 1   #   U p d a t e   p o d   ' f o o '   b y   r e m o v i n g   a   l a b e l   n a m e d   ' b a r '   i f   i t   e x i s t s   #   D o e s   n o t   r e q u i r e   t h e   - - o v e r w r i t e   f l a g   k u b e c t l   l a b e l   p o d s   f o o   b a r -",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22404"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s ,   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   t r u e ,   c h e c k   t h e   s p e c i f i e d   a c t i o n   i n   a l l   n a m e s p a c e s .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   S e l e c t o r   ( f i e l d   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   a n d   ' ! = ' . ( e . g .   - - f i e l d - s e l e c t o r   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 ) .   T h e   s e r v e r   o n l y   s u p p o r t s   a   l i m i t e d   n u m b e r   o f   f i e l d   q u e r i e s   p e r   t y p e .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   u p d a t e   t h e   l a b e l s   h e l p   f o r   l a b e l   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   I f   t r u e ,   d i s p l a y   t h e   l a b e l s   f o r   a   g i v e n   r e s o u r c e .   I f   t r u e ,   l a b e l   w i l l   N O T   c o n t a c t   a p i - s e r v e r   b u t   r u n   l o c a l l y .   O ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22405"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22406"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22407"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r i n t   t h e   l o g s   f o r   a   c o n t a i n e r   i n   a   p o d   o r   s p e c i f i e d   r e s o u r c e .   I f   t h e   p o d   h a s   o n l y   o n e   c o n t a i n e r ,   t h e   c o n t a i n e r   n a m e   i s   o p t i o n a l .   k u b e c t l   l o g s   [ - f ]   [ - p ]   ( P O D   |   T Y P E / N A M E )   [ - c   C O N T A I N E R ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22408"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R e t u r n   s n a p s h o t   l o g s   f r o m   p o d   n g i n x   w i t h   o n l y   o n e   c o n t a i n e r   k u b e c t l   l o g s   n g i n x   #   R e t u r n   s n a p s h o t   l o g s   f r o m   p o d   n g i n x ,   p r e f i x i n g   e a c h   l i n e   w i t h   t h e   s o u r c e   p o d   a n d   c o n t a i n e r   n a m e   k u b e c t l   l o g s   n g i n x   - - p r e f i x   #   R e t u r n   s n a p s h o t   l o g s   f r o m   p o d   n g i n x ,   l i m i t i n g   o u t p u t   t o   5 0 0   b y t e s   k u b e c t l   l o g s   n g i n x   - - l i m i t - b y t e s = 5 0 0   #   R e t u r n   s n a p s h o t   l o g s   f r o m   p o d   n g i n x ,   w a i t i n g   u p   t o   2 0   s e c o n d s   f o r   i t   t o   s t a r t   r u n n i n g .   k u b e c t l   l o g s   n g i n x   - - p o d - r u n n i n g - t i m e o u t = 2 0 s   #   R e t u r n   s n a p s h o t   l o g s   f r o m   p o d   n g i n x   w i t h   m u l t i   c o n t a i n e r s   k u b e c t l   l o g s   n g i n x   - - a l l - c o n t a i n e r s = t r u e   #   R e t u r n   s n a p s h o t   l o g s   f r o m   a l l   p o d s   i n   t h e   d e p l o y m e n t   n g i n x   k u b e c t l   l o g s   d e p l o y m e n t / n g i n x   - - a l l - p o d s = t r u e   #   R e t u r n   s n a p s h o t   l o g s   f r o m   a l l   c o n t a i n e r s   i n   p o d s   d e f i n e d   b y   l a b e l   a p p = n g i n x   k u b e c t l   l o g s   - l   a p p = n g i n x   - - a l l - c o n t a i n e r s = t r u e   #   R e t u r n   s n a p s h o t   l o g s   f r o m   a l l   p o d s   d e f i n e d   b y   l a b e l   a p p = n g i n x ,   l i m i t i n g   c o n c u r r e n t   l o g   r e q u e s t s   t o   1 0   p o d s   k u b e c t l   l o g s   - l   a p p = n g i n x   - - m a x - l o g - r e q u e s t s = 1 0   #   R e t u r n   s n a p s h o t   o f   p r e v i o u s   t e r m i n a t e d   r u b y   c o n t a i n e r   l o g s   f r ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22409"
  },
  {
    "question": "What is Options?",
    "answer": "G e t   a l l   c o n t a i n e r s '   l o g s   i n   t h e   p o d ( s ) .   G e t   l o g s   f r o m   a l l   p o d ( s ) .   S e t s   p r e f i x   t o   t r u e .   P r i n t   t h e   l o g s   o f   t h i s   c o n t a i n e r   S p e c i f y   i f   t h e   l o g s   s h o u l d   b e   s t r e a m e d .   h e l p   f o r   l o g s   I f   w a t c h i n g   /   f o l l o w i n g   p o d   l o g s ,   a l l o w   f o r   a n y   e r r o r s   t h a t   o c c u r   t o   b e   n o n - f a t a l   S k i p   v e r i f y i n g   t h e   i d e n t i t y   o f   t h e   k u b e l e t   t h a t   l o g s   a r e   r e q u e s t e d   f r o m .   I n   t h e o r y ,   a n   a t t a c k e r   c o u l d   p r o v i d e   i n v a l i d   l o g   c o n t e n t   b a c k .   Y o u   m i g h t   w a n t   t o   u s e   t h i s   i f   y o u r   k u b e l e t   s e r v i n g   c e r t i f i c a t e s   h a v e   e x p i r e d .   M a x i m u m   b y t e s   o f   l o g s   t o   r e t u r n .   D e f a u l t s   t o   n o   l i m i t .   S p e c i f y   m a x i m u m   n u m b e r   o f   c o n c u r r e n t   l o g s   t o   f o l l o w   w h e n   u s i n g   b y   a   s e l e c t o r .   D e f a u l t s   t o   5 .   T h e   l e n g t h   o f   t i m e   ( l i k e   5 s ,   2 m ,   o r   3 h ,   h i g h e r   t h a n   z e r o )   t o   w a i t   u n t i l   a t   l e a s t   o n e   p o d   i s   r u n n i n g   P r e f i x   e a c h   l o g   l i n e   w i t h   t h e   l o g   s o u r c e   ( p o d   n a m e   a n d   c o n t a i n e r   n a m e )   I f   t r u e ,   p r i n t   t h e   l o g s   f o r   t h e   p r e v i o u s   i n s t a n c e   o f   t h e   c o n t a i n e r   i n   a   p o d   i f   i t   e x i s t s .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22410"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22411"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22412"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r i n t   t h e   l i s t   o f   f l a g s   i n h e r i t e d   b y   a l l   c o m m a n d s   k u b e c t l   o p t i o n s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22413"
  },
  {
    "question": "What is Examples?",
    "answer": "#   P r i n t   f l a g s   i n h e r i t e d   b y   a l l   c o m m a n d s   k u b e c t l   o p t i o n s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22414"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   o p t i o n s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22415"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22416"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22417"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e   f i e l d s   o f   a   r e s o u r c e   u s i n g   s t r a t e g i c   m e r g e   p a t c h ,   a   J S O N   m e r g e   p a t c h ,   o r   a   J S O N   p a t c h .   J S O N   a n d   Y A M L   f o r m a t s   a r e   a c c e p t e d .   N o t e :   S t r a t e g i c   m e r g e   p a t c h   i s   n o t   s u p p o r t e d   f o r   c u s t o m   r e s o u r c e s .   k u b e c t l   p a t c h   ( - f   F I L E N A M E   |   T Y P E   N A M E )   [ - p   P A T C H | - - p a t c h - f i l e   F I L E ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22418"
  },
  {
    "question": "What is Examples?",
    "answer": "#   P a r t i a l l y   u p d a t e   a   n o d e   u s i n g   a   s t r a t e g i c   m e r g e   p a t c h ,   s p e c i f y i n g   t h e   p a t c h   a s   J S O N   k u b e c t l   p a t c h   n o d e   k 8 s - n o d e - 1   - p   ' { \" s p e c \" : { \" u n s c h e d u l a b l e \" : t r u e } } '   #   P a r t i a l l y   u p d a t e   a   n o d e   u s i n g   a   s t r a t e g i c   m e r g e   p a t c h ,   s p e c i f y i n g   t h e   p a t c h   a s   Y A M L   k u b e c t l   p a t c h   n o d e   k 8 s - n o d e - 1   - p   $ ' s p e c : \\ n   u n s c h e d u l a b l e :   t r u e '   #   P a r t i a l l y   u p d a t e   a   n o d e   i d e n t i f i e d   b y   t h e   t y p e   a n d   n a m e   s p e c i f i e d   i n   \" n o d e . j s o n \"   u s i n g   s t r a t e g i c   m e r g e   p a t c h   k u b e c t l   p a t c h   - f   n o d e . j s o n   - p   ' { \" s p e c \" : { \" u n s c h e d u l a b l e \" : t r u e } } '   #   U p d a t e   a   c o n t a i n e r ' s   i m a g e ;   s p e c . c o n t a i n e r s [ * ] . n a m e   i s   r e q u i r e d   b e c a u s e   i t ' s   a   m e r g e   k e y   k u b e c t l   p a t c h   p o d   v a l i d - p o d   - p   ' { \" s p e c \" : { \" c o n t a i n e r s \" : [ { \" n a m e \" : \" k u b e r n e t e s - s e r v e - h o s t n a m e \" , \" i m a g e \" : \" n e w   i m a g e \" } ] } } '   #   U p d a t e   a   c o n t a i n e r ' s   i m a g e   u s i n g   a   J S O N   p a t c h   w i t h   p o s i t i o n a l   a r r a y s   k u b e c t l   p a t c h   p o d   v a l i d - p o d   - - t y p e = ' j s o n '   - p = ' [ { \" o p \" :   \" r e p l a c e \" ,   \" p a t h \" :   \" / s p e c / c o n t a i n e r s / 0 / i m a g e \" ,   \" v a l u e \" : \" n e w   i m a g e \" } ] '   #   U p d a t e   a   d e p l o y m e n t ' s   r e p l i c a s   t h r o u g h   t h e   ' s c a l e '   s u b r e s o u r c e   u s i n g   a   m e r g e   p a t c h   k u b e c t l   p a t c h   d e p l o y m e n t   n g i n x - d e p l ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22419"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   u p d a t e   h e l p   f o r   p a t c h   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   I f   t r u e ,   p a t c h   w i l l   o p e r a t e   o n   t h e   c o n t e n t   o f   t h e   f i l e ,   n o t   t h e   s e r v e r - s i d e   r e s o u r c e .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   T h e   p a t c h   t o   b e   a p p l i e d   t o   t h e   r e s o u r c e   J S O N   f i l e .   A   f i l e   c o n t a i n i n g   a   p a t c h   t o   b e   a p p l i e d   t o   t h e   r e s o u r c e .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22420"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22421"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22422"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r o v i d e s   u t i l i t i e s   f o r   i n t e r a c t i n g   w i t h   p l u g i n s .   P l u g i n s   p r o v i d e   e x t e n d e d   f u n c t i o n a l i t y   t h a t   i s   n o t   p a r t   o f   t h e   m a j o r   c o m m a n d - l i n e   d i s t r i b u t i o n .   P l e a s e   r e f e r   t o   t h e   d o c u m e n t a t i o n   a n d   e x a m p l e s   f o r   m o r e   i n f o r m a t i o n   a b o u t   h o w   w r i t e   y o u r   o w n   p l u g i n s .   T h e   e a s i e s t   w a y   t o   d i s c o v e r   a n d   i n s t a l l   p l u g i n s   i s   v i a   t h e   k u b e r n e t e s   s u b - p r o j e c t   k r e w :   [ k r e w . s i g s . k 8 s . i o ] .   T o   i n s t a l l   k r e w ,   v i s i t   h t t p s : / / k r e w . s i g s . k 8 s . i o / d o c s / u s e r - g u i d e / s e t u p / i n s t a l l   k u b e c t l   p l u g i n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22423"
  },
  {
    "question": "What is Examples?",
    "answer": "#   L i s t   a l l   a v a i l a b l e   p l u g i n s   k u b e c t l   p l u g i n   l i s t   #   L i s t   o n l y   b i n a r y   n a m e s   o f   a v a i l a b l e   p l u g i n s   w i t h o u t   p a t h s   k u b e c t l   p l u g i n   l i s t   - - n a m e - o n l y",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22424"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   p l u g i n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22425"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22426"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   p l u g i n   l i s t   -   L i s t   a l l   v i s i b l e   p l u g i n   e x e c u t a b l e s   o n   a   u s e r ' s   P A T H",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22427"
  },
  {
    "question": "What is Synopsis?",
    "answer": "L i s t   a l l   a v a i l a b l e   p l u g i n   f i l e s   o n   a   u s e r ' s   P A T H .   T o   s e e   p l u g i n s   b i n a r y   n a m e s   w i t h o u t   t h e   f u l l   p a t h   u s e   - - n a m e - o n l y   f l a g .   A v a i l a b l e   p l u g i n   f i l e s   a r e   t h o s e   t h a t   a r e :   -   e x e c u t a b l e   -   a n y w h e r e   o n   t h e   u s e r ' s   P A T H   -   b e g i n   w i t h   \" k u b e c t l - \"   k u b e c t l   p l u g i n   l i s t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22428"
  },
  {
    "question": "What is Examples?",
    "answer": "#   L i s t   a l l   a v a i l a b l e   p l u g i n s   k u b e c t l   p l u g i n   l i s t   #   L i s t   o n l y   b i n a r y   n a m e s   o f   a v a i l a b l e   p l u g i n s   w i t h o u t   p a t h s   k u b e c t l   p l u g i n   l i s t   - - n a m e - o n l y",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22429"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   l i s t   I f   t r u e ,   d i s p l a y   o n l y   t h e   b i n a r y   n a m e   o f   e a c h   p l u g i n ,   r a t h e r   t h a n   i t s   f u l l   p a t h",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22430"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22431"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   p l u g i n   -   P r o v i d e s   u t i l i t i e s   f o r   i n t e r a c t i n g   w i t h   p l u g i n s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22432"
  },
  {
    "question": "What is Synopsis?",
    "answer": "F o r w a r d   o n e   o r   m o r e   l o c a l   p o r t s   t o   a   p o d .   U s e   r e s o u r c e   t y p e / n a m e   s u c h   a s   d e p l o y m e n t / m y d e p l o y m e n t   t o   s e l e c t   a   p o d .   R e s o u r c e   t y p e   d e f a u l t s   t o   ' p o d '   i f   o m i t t e d .   I f   t h e r e   a r e   m u l t i p l e   p o d s   m a t c h i n g   t h e   c r i t e r i a ,   a   p o d   w i l l   b e   s e l e c t e d   a u t o m a t i c a l l y .   T h e   f o r w a r d i n g   s e s s i o n   e n d s   w h e n   t h e   s e l e c t e d   p o d   t e r m i n a t e s ,   a n d   a   r e r u n   o f   t h e   c o m m a n d   i s   n e e d e d   t o   r e s u m e   f o r w a r d i n g .   k u b e c t l   p o r t - f o r w a r d   T Y P E / N A M E   [ o p t i o n s ]   [ L O C A L _ P O R T : ] R E M O T E _ P O R T   [ . . . [ L O C A L _ P O R T _ N : ] R E M O T E _ P O R T _ N ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22433"
  },
  {
    "question": "What is Examples?",
    "answer": "#   L i s t e n   o n   p o r t s   5 0 0 0   a n d   6 0 0 0   l o c a l l y ,   f o r w a r d i n g   d a t a   t o / f r o m   p o r t s   5 0 0 0   a n d   6 0 0 0   i n   t h e   p o d   k u b e c t l   p o r t - f o r w a r d   p o d / m y p o d   5 0 0 0   6 0 0 0   #   L i s t e n   o n   p o r t s   5 0 0 0   a n d   6 0 0 0   l o c a l l y ,   f o r w a r d i n g   d a t a   t o / f r o m   p o r t s   5 0 0 0   a n d   6 0 0 0   i n   a   p o d   s e l e c t e d   b y   t h e   d e p l o y m e n t   k u b e c t l   p o r t - f o r w a r d   d e p l o y m e n t / m y d e p l o y m e n t   5 0 0 0   6 0 0 0   #   L i s t e n   o n   p o r t   8 4 4 3   l o c a l l y ,   f o r w a r d i n g   t o   t h e   t a r g e t P o r t   o f   t h e   s e r v i c e ' s   p o r t   n a m e d   \" h t t p s \"   i n   a   p o d   s e l e c t e d   b y   t h e   s e r v i c e   k u b e c t l   p o r t - f o r w a r d   s e r v i c e / m y s e r v i c e   8 4 4 3 : h t t p s   #   L i s t e n   o n   p o r t   8 8 8 8   l o c a l l y ,   f o r w a r d i n g   t o   5 0 0 0   i n   t h e   p o d   k u b e c t l   p o r t - f o r w a r d   p o d / m y p o d   8 8 8 8 : 5 0 0 0   #   L i s t e n   o n   p o r t   8 8 8 8   o n   a l l   a d d r e s s e s ,   f o r w a r d i n g   t o   5 0 0 0   i n   t h e   p o d   k u b e c t l   p o r t - f o r w a r d   - - a d d r e s s   0 . 0 . 0 . 0   p o d / m y p o d   8 8 8 8 : 5 0 0 0   #   L i s t e n   o n   p o r t   8 8 8 8   o n   l o c a l h o s t   a n d   s e l e c t e d   I P ,   f o r w a r d i n g   t o   5 0 0 0   i n   t h e   p o d   k u b e c t l   p o r t - f o r w a r d   - - a d d r e s s   l o c a l h o s t , 1 0 . 1 9 . 2 1 . 2 3   p o d / m y p o d   8 8 8 8 : 5 0 0 0   #   L i s t e n   o n   a   r a n d o m   p o r t   l o c a l l y ,   f o r w a r d i n g   t o   5 0 0 0   i n   t h e   p o d   k u b e c t l   p o r t - f o r w a r d   p o d / m y p o d   : 5 0 0 0",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22434"
  },
  {
    "question": "What is Options?",
    "answer": "A d d r e s s e s   t o   l i s t e n   o n   ( c o m m a   s e p a r a t e d ) .   O n l y   a c c e p t s   I P   a d d r e s s e s   o r   l o c a l h o s t   a s   a   v a l u e .   W h e n   l o c a l h o s t   i s   s u p p l i e d ,   k u b e c t l   w i l l   t r y   t o   b i n d   o n   b o t h   1 2 7 . 0 . 0 . 1   a n d   : : 1   a n d   w i l l   f a i l   i f   n e i t h e r   o f   t h e s e   a d d r e s s e s   a r e   a v a i l a b l e   t o   b i n d .   h e l p   f o r   p o r t - f o r w a r d   T h e   l e n g t h   o f   t i m e   ( l i k e   5 s ,   2 m ,   o r   3 h ,   h i g h e r   t h a n   z e r o )   t o   w a i t   u n t i l   a t   l e a s t   o n e   p o d   i s   r u n n i n g",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22435"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22436"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22437"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e s   a   p r o x y   s e r v e r   o r   a p p l i c a t i o n - l e v e l   g a t e w a y   b e t w e e n   l o c a l h o s t   a n d   t h e   K u b e r n e t e s   A P I   s e r v e r .   I t   a l s o   a l l o w s   s e r v i n g   s t a t i c   c o n t e n t   o v e r   s p e c i f i e d   H T T P   p a t h .   A l l   i n c o m i n g   d a t a   e n t e r s   t h r o u g h   o n e   p o r t   a n d   g e t s   f o r w a r d e d   t o   t h e   r e m o t e   K u b e r n e t e s   A P I   s e r v e r   p o r t ,   e x c e p t   f o r   t h e   p a t h   m a t c h i n g   t h e   s t a t i c   c o n t e n t   p a t h .   k u b e c t l   p r o x y   [ - - p o r t = P O R T ]   [ - - w w w = s t a t i c - d i r ]   [ - - w w w - p r e f i x = p r e f i x ]   [ - - a p i - p r e f i x = p r e f i x ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22438"
  },
  {
    "question": "What is Examples?",
    "answer": "#   T o   p r o x y   a l l   o f   t h e   K u b e r n e t e s   A P I   a n d   n o t h i n g   e l s e   k u b e c t l   p r o x y   - - a p i - p r e f i x = /   #   T o   p r o x y   o n l y   p a r t   o f   t h e   K u b e r n e t e s   A P I   a n d   a l s o   s o m e   s t a t i c   f i l e s   #   Y o u   c a n   g e t   p o d s   i n f o   w i t h   ' c u r l   l o c a l h o s t : 8 0 0 1 / a p i / v 1 / p o d s '   k u b e c t l   p r o x y   - - w w w = / m y / f i l e s   - - w w w - p r e f i x = / s t a t i c /   - - a p i - p r e f i x = / a p i /   #   T o   p r o x y   t h e   e n t i r e   K u b e r n e t e s   A P I   a t   a   d i f f e r e n t   r o o t   #   Y o u   c a n   g e t   p o d s   i n f o   w i t h   ' c u r l   l o c a l h o s t : 8 0 0 1 / c u s t o m / a p i / v 1 / p o d s '   k u b e c t l   p r o x y   - - a p i - p r e f i x = / c u s t o m /   #   R u n   a   p r o x y   t o   t h e   K u b e r n e t e s   A P I   s e r v e r   o n   p o r t   8 0 1 1 ,   s e r v i n g   s t a t i c   c o n t e n t   f r o m   . / l o c a l / w w w /   k u b e c t l   p r o x y   - - p o r t = 8 0 1 1   - - w w w = . / l o c a l / w w w /   #   R u n   a   p r o x y   t o   t h e   K u b e r n e t e s   A P I   s e r v e r   o n   a n   a r b i t r a r y   l o c a l   p o r t   #   T h e   c h o s e n   p o r t   f o r   t h e   s e r v e r   w i l l   b e   o u t p u t   t o   s t d o u t   k u b e c t l   p r o x y   - - p o r t = 0   #   R u n   a   p r o x y   t o   t h e   K u b e r n e t e s   A P I   s e r v e r ,   c h a n g i n g   t h e   A P I   p r e f i x   t o   k 8 s - a p i   #   T h i s   m a k e s   e . g .   t h e   p o d s   A P I   a v a i l a b l e   a t   l o c a l h o s t : 8 0 0 1 / k 8 s - a p i / v 1 / p o d s /   k u b e c t l   p r o x y   - - a p i - p r e f i x = / k 8 s - a p i",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22439"
  },
  {
    "question": "What is Options?",
    "answer": "R e g u l a r   e x p r e s s i o n   f o r   h o s t s   t h a t   t h e   p r o x y   s h o u l d   a c c e p t .   R e g u l a r   e x p r e s s i o n   f o r   p a t h s   t h a t   t h e   p r o x y   s h o u l d   a c c e p t .   T h e   I P   a d d r e s s   o n   w h i c h   t o   s e r v e   o n .   P r e f i x   t o   s e r v e   t h e   p r o x i e d   A P I   u n d e r .   I f   t r u e ,   e n a b l e s   a u t o m a t i c   p a t h   a p p e n d i n g   o f   t h e   k u b e   c o n t e x t   s e r v e r   p a t h   t o   e a c h   r e q u e s t .   I f   t r u e ,   d i s a b l e   r e q u e s t   f i l t e r i n g   i n   t h e   p r o x y .   T h i s   i s   d a n g e r o u s ,   a n d   c a n   l e a v e   y o u   v u l n e r a b l e   t o   X S R F   a t t a c k s ,   w h e n   u s e d   w i t h   a n   a c c e s s i b l e   p o r t .   h e l p   f o r   p r o x y   k e e p a l i v e   s p e c i f i e s   t h e   k e e p - a l i v e   p e r i o d   f o r   a n   a c t i v e   n e t w o r k   c o n n e c t i o n .   S e t   t o   0   t o   d i s a b l e   k e e p a l i v e .   T h e   p o r t   o n   w h i c h   t o   r u n   t h e   p r o x y .   S e t   t o   0   t o   p i c k   a   r a n d o m   p o r t .   R e g u l a r   e x p r e s s i o n   f o r   H T T P   m e t h o d s   t h a t   t h e   p r o x y   s h o u l d   r e j e c t   ( e x a m p l e   - - r e j e c t - m e t h o d s = ' P O S T , P U T , P A T C H ' ) .   R e g u l a r   e x p r e s s i o n   f o r   p a t h s   t h a t   t h e   p r o x y   s h o u l d   r e j e c t .   P a t h s   s p e c i f i e d   h e r e   w i l l   b e   r e j e c t e d   e v e n   a c c e p t e d   b y   - - a c c e p t - p a t h s .   U n i x   s o c k e t   o n   w h i c h   t o   r u n   t h e   p r o x y .   A l s o   s e r v e   s t a t i c   f i l e s   f r o m   t h e   g i v e n   d i r e c t o r y   u n d e r   t h e   s p e c i f i e d   p r e f i x .   P r e f i x   t o   s e r v e   s t a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22440"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22441"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22442"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e p l a c e   a   r e s o u r c e   b y   f i l e   n a m e   o r   s t d i n .   J S O N   a n d   Y A M L   f o r m a t s   a r e   a c c e p t e d .   I f   r e p l a c i n g   a n   e x i s t i n g   r e s o u r c e ,   t h e   c o m p l e t e   r e s o u r c e   s p e c   m u s t   b e   p r o v i d e d .   T h i s   c a n   b e   o b t a i n e d   b y   $   k u b e c t l   g e t   T Y P E   N A M E   - o   y a m l   k u b e c t l   r e p l a c e   - f   F I L E N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22443"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R e p l a c e   a   p o d   u s i n g   t h e   d a t a   i n   p o d . j s o n   k u b e c t l   r e p l a c e   - f   . / p o d . j s o n   #   R e p l a c e   a   p o d   b a s e d   o n   t h e   J S O N   p a s s e d   i n t o   s t d i n   c a t   p o d . j s o n   |   k u b e c t l   r e p l a c e   - f   -   #   U p d a t e   a   s i n g l e - c o n t a i n e r   p o d ' s   i m a g e   v e r s i o n   ( t a g )   t o   v 4   k u b e c t l   g e t   p o d   m y p o d   - o   y a m l   |   s e d   ' s / \\ ( i m a g e :   m y i m a g e \\ ) : . * $ / \\ 1 : v 4 / '   |   k u b e c t l   r e p l a c e   - f   -   #   F o r c e   r e p l a c e ,   d e l e t e   a n d   t h e n   r e - c r e a t e   t h e   r e s o u r c e   k u b e c t l   r e p l a c e   - - f o r c e   - f   . / p o d . j s o n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22444"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" b a c k g r o u n d \" ,   \" o r p h a n \" ,   o r   \" f o r e g r o u n d \" .   S e l e c t s   t h e   d e l e t i o n   c a s c a d i n g   s t r a t e g y   f o r   t h e   d e p e n d e n t s   ( e . g .   P o d s   c r e a t e d   b y   a   R e p l i c a t i o n C o n t r o l l e r ) .   D e f a u l t s   t o   b a c k g r o u n d .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   T h e   f i l e s   t h a t   c o n t a i n   t h e   c o n f i g u r a t i o n s   t o   r e p l a c e .   I f   t r u e ,   i m m e d i a t e l y   r e m o v e   r e s o u r c e s   f r o m   A P I   a n d   b y p a s s   g r a c e f u l   d e l e t i o n .   N o t e   t h a t   i m m e d i a t e   d e l e t i o n   o f   s o m e   r e s o u r c e s   m a y   r e s u l t   i n   i n c o n s i s t e n c y   o r   d a t a   l o s s   a n d   r e q u i r e s   c o n f i r m a t i o n .   P e r i o d   o f   t i m e   i n   s e c o n d s   g i v e n   t o   t h e   r e s o u r c e   t o   t e r m i n a t e   g r a c e f u l l y .   I g n o r e d   i f   n e g a t i v e .   S e t   t o   1   f o r   i m m e d i a t e   s h u t d o w n .   C a n   o n l y   b e   s e t   t o   0   w h e n   - - f o r c e   i s   t r u e   ( f o r c e   d e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22445"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22446"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22447"
  },
  {
    "question": "What is Synopsis?",
    "answer": "M a n a g e   t h e   r o l l o u t   o f   o n e   o r   m a n y   r e s o u r c e s .   V a l i d   r e s o u r c e   t y p e s   i n c l u d e :   d e p l o y m e n t s d a e m o n s e t s s t a t e f u l s e t s   k u b e c t l   r o l l o u t   S U B C O M M A N D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22448"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R o l l b a c k   t o   t h e   p r e v i o u s   d e p l o y m e n t   k u b e c t l   r o l l o u t   u n d o   d e p l o y m e n t / a b c   #   C h e c k   t h e   r o l l o u t   s t a t u s   o f   a   d a e m o n s e t   k u b e c t l   r o l l o u t   s t a t u s   d a e m o n s e t / f o o   #   R e s t a r t   a   d e p l o y m e n t   k u b e c t l   r o l l o u t   r e s t a r t   d e p l o y m e n t / a b c   #   R e s t a r t   d e p l o y m e n t s   w i t h   t h e   ' a p p = n g i n x '   l a b e l   k u b e c t l   r o l l o u t   r e s t a r t   d e p l o y m e n t   - - s e l e c t o r = a p p = n g i n x",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22449"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   r o l l o u t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22450"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22451"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   r o l l o u t   h i s t o r y   -   V i e w   r o l l o u t   h i s t o r y k u b e c t l   r o l l o u t   p a u s e   -   M a r k   t h e   p r o v i d e d   r e s o u r c e   a s   p a u s e d k u b e c t l   r o l l o u t   r e s t a r t   -   R e s t a r t   a   r e s o u r c e k u b e c t l   r o l l o u t   r e s u m e   -   R e s u m e   a   p a u s e d   r e s o u r c e k u b e c t l   r o l l o u t   s t a t u s   -   S h o w   t h e   s t a t u s   o f   t h e   r o l l o u t k u b e c t l   r o l l o u t   u n d o   -   U n d o   a   p r e v i o u s   r o l l o u t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22452"
  },
  {
    "question": "What is Synopsis?",
    "answer": "V i e w   p r e v i o u s   r o l l o u t   r e v i s i o n s   a n d   c o n f i g u r a t i o n s .   k u b e c t l   r o l l o u t   h i s t o r y   ( T Y P E   N A M E   |   T Y P E / N A M E )   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22453"
  },
  {
    "question": "What is Examples?",
    "answer": "#   V i e w   t h e   r o l l o u t   h i s t o r y   o f   a   d e p l o y m e n t   k u b e c t l   r o l l o u t   h i s t o r y   d e p l o y m e n t / a b c   #   V i e w   t h e   d e t a i l s   o f   d a e m o n s e t   r e v i s i o n   3   k u b e c t l   r o l l o u t   h i s t o r y   d a e m o n s e t / a b c   - - r e v i s i o n = 3",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22454"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   h i s t o r y   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   S e e   t h e   d e t a i l s ,   i n c l u d i n g   p o d T e m p l a t e   o f   t h e   r e v i s i o n   s p e c i f i e d   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22455"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22456"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   r o l l o u t   -   M a n a g e   t h e   r o l l o u t   o f   a   r e s o u r c e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22457"
  },
  {
    "question": "What is Synopsis?",
    "answer": "M a r k   t h e   p r o v i d e d   r e s o u r c e   a s   p a u s e d .   P a u s e d   r e s o u r c e s   w i l l   n o t   b e   r e c o n c i l e d   b y   a   c o n t r o l l e r .   U s e   \" k u b e c t l   r o l l o u t   r e s u m e \"   t o   r e s u m e   a   p a u s e d   r e s o u r c e .   C u r r e n t l y   o n l y   d e p l o y m e n t s   s u p p o r t   b e i n g   p a u s e d .   k u b e c t l   r o l l o u t   p a u s e   R E S O U R C E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22458"
  },
  {
    "question": "What is Examples?",
    "answer": "#   M a r k   t h e   n g i n x   d e p l o y m e n t   a s   p a u s e d   #   A n y   c u r r e n t   s t a t e   o f   t h e   d e p l o y m e n t   w i l l   c o n t i n u e   i t s   f u n c t i o n ;   n e w   u p d a t e s   #   t o   t h e   d e p l o y m e n t   w i l l   n o t   h a v e   a n   e f f e c t   a s   l o n g   a s   t h e   d e p l o y m e n t   i s   p a u s e d   k u b e c t l   r o l l o u t   p a u s e   d e p l o y m e n t / n g i n x",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22459"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   p a u s e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22460"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22461"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   r o l l o u t   -   M a n a g e   t h e   r o l l o u t   o f   a   r e s o u r c e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22462"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e s t a r t   a   r e s o u r c e .   R e s o u r c e   r o l l o u t   w i l l   b e   r e s t a r t e d .   k u b e c t l   r o l l o u t   r e s t a r t   R E S O U R C E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22463"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R e s t a r t   a l l   d e p l o y m e n t s   i n   t h e   t e s t - n a m e s p a c e   n a m e s p a c e   k u b e c t l   r o l l o u t   r e s t a r t   d e p l o y m e n t   - n   t e s t - n a m e s p a c e   #   R e s t a r t   a   d e p l o y m e n t   k u b e c t l   r o l l o u t   r e s t a r t   d e p l o y m e n t / n g i n x   #   R e s t a r t   a   d a e m o n   s e t   k u b e c t l   r o l l o u t   r e s t a r t   d a e m o n s e t / a b c   #   R e s t a r t   d e p l o y m e n t s   w i t h   t h e   a p p = n g i n x   l a b e l   k u b e c t l   r o l l o u t   r e s t a r t   d e p l o y m e n t   - - s e l e c t o r = a p p = n g i n x",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22464"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   r e s t a r t   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22465"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22466"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   r o l l o u t   -   M a n a g e   t h e   r o l l o u t   o f   a   r e s o u r c e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22467"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e s u m e   a   p a u s e d   r e s o u r c e .   P a u s e d   r e s o u r c e s   w i l l   n o t   b e   r e c o n c i l e d   b y   a   c o n t r o l l e r .   B y   r e s u m i n g   a   r e s o u r c e ,   w e   a l l o w   i t   t o   b e   r e c o n c i l e d   a g a i n .   C u r r e n t l y   o n l y   d e p l o y m e n t s   s u p p o r t   b e i n g   r e s u m e d .   k u b e c t l   r o l l o u t   r e s u m e   R E S O U R C E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22468"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R e s u m e   a n   a l r e a d y   p a u s e d   d e p l o y m e n t   k u b e c t l   r o l l o u t   r e s u m e   d e p l o y m e n t / n g i n x",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22469"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   r e s u m e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22470"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22471"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   r o l l o u t   -   M a n a g e   t h e   r o l l o u t   o f   a   r e s o u r c e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22472"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S h o w   t h e   s t a t u s   o f   t h e   r o l l o u t .   B y   d e f a u l t   ' r o l l o u t   s t a t u s '   w i l l   w a t c h   t h e   s t a t u s   o f   t h e   l a t e s t   r o l l o u t   u n t i l   i t ' s   d o n e .   I f   y o u   d o n ' t   w a n t   t o   w a i t   f o r   t h e   r o l l o u t   t o   f i n i s h   t h e n   y o u   c a n   u s e   - - w a t c h = f a l s e .   N o t e   t h a t   i f   a   n e w   r o l l o u t   s t a r t s   i n - b e t w e e n ,   t h e n   ' r o l l o u t   s t a t u s '   w i l l   c o n t i n u e   w a t c h i n g   t h e   l a t e s t   r e v i s i o n .   I f   y o u   w a n t   t o   p i n   t o   a   s p e c i f i c   r e v i s i o n   a n d   a b o r t   i f   i t   i s   r o l l e d   o v e r   b y   a n o t h e r   r e v i s i o n ,   u s e   - - r e v i s i o n = N   w h e r e   N   i s   t h e   r e v i s i o n   y o u   n e e d   t o   w a t c h   f o r .   k u b e c t l   r o l l o u t   s t a t u s   ( T Y P E   N A M E   |   T Y P E / N A M E )   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22473"
  },
  {
    "question": "What is Examples?",
    "answer": "#   W a t c h   t h e   r o l l o u t   s t a t u s   o f   a   d e p l o y m e n t   k u b e c t l   r o l l o u t   s t a t u s   d e p l o y m e n t / n g i n x",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22474"
  },
  {
    "question": "What is Options?",
    "answer": "F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   s t a t u s   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   P i n   t o   a   s p e c i f i c   r e v i s i o n   f o r   s h o w i n g   i t s   s t a t u s .   D e f a u l t s   t o   0   ( l a s t   r e v i s i o n ) .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   T h e   l e n g t h   o f   t i m e   t o   w a i t   b e f o r e   e n d i n g   w a t c h ,   z e r o   m e a n s   n e v e r .   A n y   o t h e r   v a l u e s   s h o u l d   c o n t a i n   a   c o r r e s p o n d i n g   t i m e   u n i t   ( e . g .   1 s ,   2 m ,   3 h ) .   W a t c h   t h e   s t a t u s   o f   t h e   r o l l o u t   u n t i l   i t ' s   d o n e .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22475"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22476"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   r o l l o u t   -   M a n a g e   t h e   r o l l o u t   o f   a   r e s o u r c e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22477"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R o l l   b a c k   t o   a   p r e v i o u s   r o l l o u t .   k u b e c t l   r o l l o u t   u n d o   ( T Y P E   N A M E   |   T Y P E / N A M E )   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22478"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R o l l   b a c k   t o   t h e   p r e v i o u s   d e p l o y m e n t   k u b e c t l   r o l l o u t   u n d o   d e p l o y m e n t / a b c   #   R o l l   b a c k   t o   d a e m o n s e t   r e v i s i o n   3   k u b e c t l   r o l l o u t   u n d o   d a e m o n s e t / a b c   - - t o - r e v i s i o n = 3   #   R o l l   b a c k   t o   t h e   p r e v i o u s   d e p l o y m e n t   w i t h   d r y - r u n   k u b e c t l   r o l l o u t   u n d o   - - d r y - r u n = s e r v e r   d e p l o y m e n t / a b c",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22479"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   u n d o   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22480"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22481"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   r o l l o u t   -   M a n a g e   t h e   r o l l o u t   o f   a   r e s o u r c e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22482"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a n d   r u n   a   p a r t i c u l a r   i m a g e   i n   a   p o d .   k u b e c t l   r u n   N A M E   - - i m a g e = i m a g e   [ - - e n v = \" k e y = v a l u e \" ]   [ - - p o r t = p o r t ]   [ - - d r y - r u n = s e r v e r | c l i e n t ]   [ - - o v e r r i d e s = i n l i n e - j s o n ]   [ - - c o m m a n d ]   - -   [ C O M M A N D ]   [ a r g s . . . ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22483"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S t a r t   a   n g i n x   p o d   k u b e c t l   r u n   n g i n x   - - i m a g e = n g i n x   #   S t a r t   a   h a z e l c a s t   p o d   a n d   l e t   t h e   c o n t a i n e r   e x p o s e   p o r t   5 7 0 1   k u b e c t l   r u n   h a z e l c a s t   - - i m a g e = h a z e l c a s t / h a z e l c a s t   - - p o r t = 5 7 0 1   #   S t a r t   a   h a z e l c a s t   p o d   a n d   s e t   e n v i r o n m e n t   v a r i a b l e s   \" D N S _ D O M A I N = c l u s t e r \"   a n d   \" P O D _ N A M E S P A C E = d e f a u l t \"   i n   t h e   c o n t a i n e r   k u b e c t l   r u n   h a z e l c a s t   - - i m a g e = h a z e l c a s t / h a z e l c a s t   - - e n v = \" D N S _ D O M A I N = c l u s t e r \"   - - e n v = \" P O D _ N A M E S P A C E = d e f a u l t \"   #   S t a r t   a   h a z e l c a s t   p o d   a n d   s e t   l a b e l s   \" a p p = h a z e l c a s t \"   a n d   \" e n v = p r o d \"   i n   t h e   c o n t a i n e r   k u b e c t l   r u n   h a z e l c a s t   - - i m a g e = h a z e l c a s t / h a z e l c a s t   - - l a b e l s = \" a p p = h a z e l c a s t , e n v = p r o d \"   #   D r y   r u n ;   p r i n t   t h e   c o r r e s p o n d i n g   A P I   o b j e c t s   w i t h o u t   c r e a t i n g   t h e m   k u b e c t l   r u n   n g i n x   - - i m a g e = n g i n x   - - d r y - r u n = c l i e n t   #   S t a r t   a   n g i n x   p o d ,   b u t   o v e r l o a d   t h e   s p e c   w i t h   a   p a r t i a l   s e t   o f   v a l u e s   p a r s e d   f r o m   J S O N   k u b e c t l   r u n   n g i n x   - - i m a g e = n g i n x   - - o v e r r i d e s = ' {   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" s p e c \" :   {   . . .   }   } '   #   S t a r t   a   b u s y b o x   p o d   a n d   k e e p   i t   i n   t h e   f o r e g r o u n d ,   d o n ' t   r e s t a r t   i t   i f   i t   e x i t s   k u b e c t l   r u n   - i   - t   b u s y b o x   - - i m a g e = b u s y b o x   - - r e s t a r ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22484"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   A n n o t a t i o n s   t o   a p p l y   t o   t h e   p o d .   I f   t r u e ,   w a i t   f o r   t h e   P o d   t o   s t a r t   r u n n i n g ,   a n d   t h e n   a t t a c h   t o   t h e   P o d   a s   i f   ' k u b e c t l   a t t a c h   . . . '   w e r e   c a l l e d .   D e f a u l t   f a l s e ,   u n l e s s   ' - i / - - s t d i n '   i s   s e t ,   i n   w h i c h   c a s e   t h e   d e f a u l t   i s   t r u e .   W i t h   ' - - r e s t a r t = N e v e r '   t h e   e x i t   c o d e   o f   t h e   c o n t a i n e r   p r o c e s s   i s   r e t u r n e d .   M u s t   b e   \" b a c k g r o u n d \" ,   \" o r p h a n \" ,   o r   \" f o r e g r o u n d \" .   S e l e c t s   t h e   d e l e t i o n   c a s c a d i n g   s t r a t e g y   f o r   t h e   d e p e n d e n t s   ( e . g .   P o d s   c r e a t e d   b y   a   R e p l i c a t i o n C o n t r o l l e r ) .   D e f a u l t s   t o   b a c k g r o u n d .   I f   t r u e   a n d   e x t r a   a r g u m e n t s   a r e   p r e s e n t ,   u s e   t h e m   a s   t h e   ' c o m m a n d '   f i e l d   i n   t h e   c o n t a i n e r ,   r a t h e r   t h a n   t h e   ' a r g s '   f i e l d   w h i c h   i s   t h e   d e f a u l t .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   E n v i r o n m e n t   v a r i a b l e s   t o   s e t   i n   t h e   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22485"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22486"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22487"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S e t   a   n e w   s i z e   f o r   a   d e p l o y m e n t ,   r e p l i c a   s e t ,   r e p l i c a t i o n   c o n t r o l l e r ,   o r   s t a t e f u l   s e t .   S c a l e   a l s o   a l l o w s   u s e r s   t o   s p e c i f y   o n e   o r   m o r e   p r e c o n d i t i o n s   f o r   t h e   s c a l e   a c t i o n .   I f   - - c u r r e n t - r e p l i c a s   o r   - - r e s o u r c e - v e r s i o n   i s   s p e c i f i e d ,   i t   i s   v a l i d a t e d   b e f o r e   t h e   s c a l e   i s   a t t e m p t e d ,   a n d   i t   i s   g u a r a n t e e d   t h a t   t h e   p r e c o n d i t i o n   h o l d s   t r u e   w h e n   t h e   s c a l e   i s   s e n t   t o   t h e   s e r v e r .   k u b e c t l   s c a l e   [ - - r e s o u r c e - v e r s i o n = v e r s i o n ]   [ - - c u r r e n t - r e p l i c a s = c o u n t ]   - - r e p l i c a s = C O U N T   ( - f   F I L E N A M E   |   T Y P E   N A M E )",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22488"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S c a l e   a   r e p l i c a   s e t   n a m e d   ' f o o '   t o   3   k u b e c t l   s c a l e   - - r e p l i c a s = 3   r s / f o o   #   S c a l e   a   r e s o u r c e   i d e n t i f i e d   b y   t y p e   a n d   n a m e   s p e c i f i e d   i n   \" f o o . y a m l \"   t o   3   k u b e c t l   s c a l e   - - r e p l i c a s = 3   - f   f o o . y a m l   #   I f   t h e   d e p l o y m e n t   n a m e d   m y s q l ' s   c u r r e n t   s i z e   i s   2 ,   s c a l e   m y s q l   t o   3   k u b e c t l   s c a l e   - - c u r r e n t - r e p l i c a s = 2   - - r e p l i c a s = 3   d e p l o y m e n t / m y s q l   #   S c a l e   m u l t i p l e   r e p l i c a t i o n   c o n t r o l l e r s   k u b e c t l   s c a l e   - - r e p l i c a s = 5   r c / e x a m p l e 1   r c / e x a m p l e 2   r c / e x a m p l e 3   #   S c a l e   s t a t e f u l   s e t   n a m e d   ' w e b '   t o   3   k u b e c t l   s c a l e   - - r e p l i c a s = 3   s t a t e f u l s e t / w e b",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22489"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   P r e c o n d i t i o n   f o r   c u r r e n t   s i z e .   R e q u i r e s   t h a t   t h e   c u r r e n t   s i z e   o f   t h e   r e s o u r c e   m a t c h   t h i s   v a l u e   i n   o r d e r   t o   s c a l e .   - 1   ( d e f a u l t )   f o r   n o   c o n d i t i o n .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   s e t   a   n e w   s i z e   h e l p   f o r   s c a l e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22490"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22491"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22492"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C o n f i g u r e   a p p l i c a t i o n   r e s o u r c e s .   T h e s e   c o m m a n d s   h e l p   y o u   m a k e   c h a n g e s   t o   e x i s t i n g   a p p l i c a t i o n   r e s o u r c e s .   k u b e c t l   s e t   S U B C O M M A N D",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22493"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   s e t",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22494"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22495"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   s e t   e n v   -   U p d a t e   e n v i r o n m e n t   v a r i a b l e s   o n   a   p o d   t e m p l a t e k u b e c t l   s e t   i m a g e   -   U p d a t e   t h e   i m a g e   o f   a   p o d   t e m p l a t e k u b e c t l   s e t   r e s o u r c e s   -   U p d a t e   r e s o u r c e   r e q u e s t s / l i m i t s   o n   o b j e c t s   w i t h   p o d   t e m p l a t e s k u b e c t l   s e t   s e l e c t o r   -   S e t   t h e   s e l e c t o r   o n   a   r e s o u r c e k u b e c t l   s e t   s e r v i c e a c c o u n t   -   U p d a t e   t h e   s e r v i c e   a c c o u n t   o f   a   r e s o u r c e k u b e c t l   s e t   s u b j e c t   -   U p d a t e   t h e   u s e r ,   g r o u p ,   o r   s e r v i c e   a c c o u n t   i n   a   r o l e   b i n d i n g   o r   c l u s t e r   r o l e   b i n d i n g",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22496"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e   e n v i r o n m e n t   v a r i a b l e s   o n   a   p o d   t e m p l a t e .   L i s t   e n v i r o n m e n t   v a r i a b l e   d e f i n i t i o n s   i n   o n e   o r   m o r e   p o d s ,   p o d   t e m p l a t e s .   A d d ,   u p d a t e ,   o r   r e m o v e   c o n t a i n e r   e n v i r o n m e n t   v a r i a b l e   d e f i n i t i o n s   i n   o n e   o r   m o r e   p o d   t e m p l a t e s   ( w i t h i n   r e p l i c a t i o n   c o n t r o l l e r s   o r   d e p l o y m e n t   c o n f i g u r a t i o n s ) .   V i e w   o r   m o d i f y   t h e   e n v i r o n m e n t   v a r i a b l e   d e f i n i t i o n s   o n   a l l   c o n t a i n e r s   i n   t h e   s p e c i f i e d   p o d s   o r   p o d   t e m p l a t e s ,   o r   j u s t   t h o s e   t h a t   m a t c h   a   w i l d c a r d .   I f   \" - - e n v   - \"   i s   p a s s e d ,   e n v i r o n m e n t   v a r i a b l e s   c a n   b e   r e a d   f r o m   S T D I N   u s i n g   t h e   s t a n d a r d   e n v   s y n t a x .   P o s s i b l e   r e s o u r c e s   i n c l u d e   ( c a s e   i n s e n s i t i v e ) :   p o d   ( p o ) ,   r e p l i c a t i o n c o n t r o l l e r   ( r c ) ,   d e p l o y m e n t   ( d e p l o y ) ,   d a e m o n s e t   ( d s ) ,   s t a t e f u l s e t   ( s t s ) ,   c r o n j o b   ( c j ) ,   r e p l i c a s e t   ( r s )   k u b e c t l   s e t   e n v   R E S O U R C E / N A M E   K E Y _ 1 = V A L _ 1   . . .   K E Y _ N = V A L _ N",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22497"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U p d a t e   d e p l o y m e n t   ' r e g i s t r y '   w i t h   a   n e w   e n v i r o n m e n t   v a r i a b l e   k u b e c t l   s e t   e n v   d e p l o y m e n t / r e g i s t r y   S T O R A G E _ D I R = / l o c a l   #   L i s t   t h e   e n v i r o n m e n t   v a r i a b l e s   d e f i n e d   o n   a   d e p l o y m e n t s   ' s a m p l e - b u i l d '   k u b e c t l   s e t   e n v   d e p l o y m e n t / s a m p l e - b u i l d   - - l i s t   #   L i s t   t h e   e n v i r o n m e n t   v a r i a b l e s   d e f i n e d   o n   a l l   p o d s   k u b e c t l   s e t   e n v   p o d s   - - a l l   - - l i s t   #   O u t p u t   m o d i f i e d   d e p l o y m e n t   i n   Y A M L ,   a n d   d o e s   n o t   a l t e r   t h e   o b j e c t   o n   t h e   s e r v e r   k u b e c t l   s e t   e n v   d e p l o y m e n t / s a m p l e - b u i l d   S T O R A G E _ D I R = / d a t a   - o   y a m l   #   U p d a t e   a l l   c o n t a i n e r s   i n   a l l   r e p l i c a t i o n   c o n t r o l l e r s   i n   t h e   p r o j e c t   t o   h a v e   E N V = p r o d   k u b e c t l   s e t   e n v   r c   - - a l l   E N V = p r o d   #   I m p o r t   e n v i r o n m e n t   f r o m   a   s e c r e t   k u b e c t l   s e t   e n v   - - f r o m = s e c r e t / m y s e c r e t   d e p l o y m e n t / m y a p p   #   I m p o r t   e n v i r o n m e n t   f r o m   a   c o n f i g   m a p   w i t h   a   p r e f i x   k u b e c t l   s e t   e n v   - - f r o m = c o n f i g m a p / m y c o n f i g m a p   - - p r e f i x = M Y S Q L _   d e p l o y m e n t / m y a p p   #   I m p o r t   s p e c i f i c   k e y s   f r o m   a   c o n f i g   m a p   k u b e c t l   s e t   e n v   - - k e y s = m y - e x a m p l e - k e y   - - f r o m = c o n f i g m a p / m y c o n f i g m a p   d e p l o y m e n t / m y a p p   #   R e m o v e   t h e   e n v i r o n m e n t   v a r i a b l e   E N V   f r o m   c o n t a i n e r   ' c 1 '   i ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22498"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   s e l e c t   a l l   r e s o u r c e s   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   T h e   n a m e s   o f   c o n t a i n e r s   i n   t h e   s e l e c t e d   p o d   t e m p l a t e s   t o   c h a n g e   -   m a y   u s e   w i l d c a r d s   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   S p e c i f y   a   k e y - v a l u e   p a i r   f o r   a n   e n v i r o n m e n t   v a r i a b l e   t o   s e t   i n t o   e a c h   c o n t a i n e r .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   t h e   r e s o u r c e   t o   u p d a t e   t h e   e n v   T h e   n a m e   o f   a   r e s o u r c e   f r o m   w h i c h   t o   i n j e c t   e n v i r o n m e n t   v a r i a b l e s   h e l p   f o r   e n v   C o m m a - s e p a r a t e d   l i s t   o f   k e y s   t o   i m p o r t   f r o m   s p e c i f i e d   r e s o u r c e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   I f   t r u e ,   d i s p l a y   t h e   e n v i r o n m e n t   a n d   a n y   c h a n g e s   i n   t h e   s t a n d a r d   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22499"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22500"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   s e t   -   S e t   s p e c i f i c   f e a t u r e s   o n   o b j e c t s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22501"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e   e x i s t i n g   c o n t a i n e r   i m a g e ( s )   o f   r e s o u r c e s .   P o s s i b l e   r e s o u r c e s   i n c l u d e   ( c a s e   i n s e n s i t i v e ) :   p o d   ( p o ) ,   r e p l i c a t i o n c o n t r o l l e r   ( r c ) ,   d e p l o y m e n t   ( d e p l o y ) ,   d a e m o n s e t   ( d s ) ,   s t a t e f u l s e t   ( s t s ) ,   c r o n j o b   ( c j ) ,   r e p l i c a s e t   ( r s )   k u b e c t l   s e t   i m a g e   ( - f   F I L E N A M E   |   T Y P E   N A M E )   C O N T A I N E R _ N A M E _ 1 = C O N T A I N E R _ I M A G E _ 1   . . .   C O N T A I N E R _ N A M E _ N = C O N T A I N E R _ I M A G E _ N",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22502"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   a   d e p l o y m e n t ' s   n g i n x   c o n t a i n e r   i m a g e   t o   ' n g i n x : 1 . 9 . 1 ' ,   a n d   i t s   b u s y b o x   c o n t a i n e r   i m a g e   t o   ' b u s y b o x '   k u b e c t l   s e t   i m a g e   d e p l o y m e n t / n g i n x   b u s y b o x = b u s y b o x   n g i n x = n g i n x : 1 . 9 . 1   #   U p d a t e   a l l   d e p l o y m e n t s '   a n d   r c ' s   n g i n x   c o n t a i n e r ' s   i m a g e   t o   ' n g i n x : 1 . 9 . 1 '   k u b e c t l   s e t   i m a g e   d e p l o y m e n t s , r c   n g i n x = n g i n x : 1 . 9 . 1   - - a l l   #   U p d a t e   i m a g e   o f   a l l   c o n t a i n e r s   o f   d a e m o n s e t   a b c   t o   ' n g i n x : 1 . 9 . 1 '   k u b e c t l   s e t   i m a g e   d a e m o n s e t   a b c   * = n g i n x : 1 . 9 . 1   #   P r i n t   r e s u l t   ( i n   y a m l   f o r m a t )   o f   u p d a t i n g   n g i n x   c o n t a i n e r   i m a g e   f r o m   l o c a l   f i l e ,   w i t h o u t   h i t t i n g   t h e   s e r v e r   k u b e c t l   s e t   i m a g e   - f   p a t h / t o / f i l e . y a m l   n g i n x = n g i n x : 1 . 9 . 1   - - l o c a l   - o   y a m l",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22503"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s ,   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   i m a g e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   I f   t r u e ,   s e t   i m a g e   w i l l   N O T   c o n t a c t   a p i - s e r v e r   b u t   r u n   l o c a l l y .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22504"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22505"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   s e t   -   S e t   s p e c i f i c   f e a t u r e s   o n   o b j e c t s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22506"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S p e c i f y   c o m p u t e   r e s o u r c e   r e q u i r e m e n t s   ( C P U ,   m e m o r y )   f o r   a n y   r e s o u r c e   t h a t   d e f i n e s   a   p o d   t e m p l a t e .   I f   a   p o d   i s   s u c c e s s f u l l y   s c h e d u l e d ,   i t   i s   g u a r a n t e e d   t h e   a m o u n t   o f   r e s o u r c e   r e q u e s t e d ,   b u t   m a y   b u r s t   u p   t o   i t s   s p e c i f i e d   l i m i t s .   F o r   e a c h   c o m p u t e   r e s o u r c e ,   i f   a   l i m i t   i s   s p e c i f i e d   a n d   a   r e q u e s t   i s   o m i t t e d ,   t h e   r e q u e s t   w i l l   d e f a u l t   t o   t h e   l i m i t .   P o s s i b l e   r e s o u r c e s   i n c l u d e   ( c a s e   i n s e n s i t i v e ) :   U s e   \" k u b e c t l   a p i - r e s o u r c e s \"   f o r   a   c o m p l e t e   l i s t   o f   s u p p o r t e d   r e s o u r c e s . .   k u b e c t l   s e t   r e s o u r c e s   ( - f   F I L E N A M E   |   T Y P E   N A M E )   ( [ - - l i m i t s = L I M I T S   &   - - r e q u e s t s = R E Q U E S T S ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22507"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   a   d e p l o y m e n t s   n g i n x   c o n t a i n e r   c p u   l i m i t s   t o   \" 2 0 0 m \"   a n d   m e m o r y   t o   \" 5 1 2 M i \"   k u b e c t l   s e t   r e s o u r c e s   d e p l o y m e n t   n g i n x   - c = n g i n x   - - l i m i t s = c p u = 2 0 0 m , m e m o r y = 5 1 2 M i   #   S e t   t h e   r e s o u r c e   r e q u e s t   a n d   l i m i t s   f o r   a l l   c o n t a i n e r s   i n   n g i n x   k u b e c t l   s e t   r e s o u r c e s   d e p l o y m e n t   n g i n x   - - l i m i t s = c p u = 2 0 0 m , m e m o r y = 5 1 2 M i   - - r e q u e s t s = c p u = 1 0 0 m , m e m o r y = 2 5 6 M i   #   R e m o v e   t h e   r e s o u r c e   r e q u e s t s   f o r   r e s o u r c e s   o n   c o n t a i n e r s   i n   n g i n x   k u b e c t l   s e t   r e s o u r c e s   d e p l o y m e n t   n g i n x   - - l i m i t s = c p u = 0 , m e m o r y = 0   - - r e q u e s t s = c p u = 0 , m e m o r y = 0   #   P r i n t   t h e   r e s u l t   ( i n   y a m l   f o r m a t )   o f   u p d a t i n g   n g i n x   c o n t a i n e r   l i m i t s   f r o m   a   l o c a l ,   w i t h o u t   h i t t i n g   t h e   s e r v e r   k u b e c t l   s e t   r e s o u r c e s   - f   p a t h / t o / f i l e . y a m l   - - l i m i t s = c p u = 2 0 0 m , m e m o r y = 5 1 2 M i   - - l o c a l   - o   y a m l",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22508"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s ,   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   T h e   n a m e s   o f   c o n t a i n e r s   i n   t h e   s e l e c t e d   p o d   t e m p l a t e s   t o   c h a n g e ,   a l l   c o n t a i n e r s   a r e   s e l e c t e d   b y   d e f a u l t   -   m a y   u s e   w i l d c a r d s   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   r e s o u r c e s   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   T h e   r e s o u r c e   r e q u i r e m e n t   r e q u e s t s   f o r   t h i s   c o n t a i n e r .   F o r   e x a m p l e ,   ' c p u = 1 0 0 m , m e m o r y = 2 5 6 M i ' .   N o t e   t h a t   s e r v e r   s i d e   c o m p o n e n t s   m a y   a s s i g n   r e q u e s t s   d e p e n d i n g   o n   t h e   s e r v e r   c o n f i g u r a t i o n ,   s u c h   a s   l i m i t   r a n g e s .   I f   t r u e ,   s e t   r e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22509"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22510"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   s e t   -   S e t   s p e c i f i c   f e a t u r e s   o n   o b j e c t s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22511"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S e t   t h e   s e l e c t o r   o n   a   r e s o u r c e .   N o t e   t h a t   t h e   n e w   s e l e c t o r   w i l l   o v e r w r i t e   t h e   o l d   s e l e c t o r   i f   t h e   r e s o u r c e   h a d   o n e   p r i o r   t o   t h e   i n v o c a t i o n   o f   ' s e t   s e l e c t o r ' .   A   s e l e c t o r   m u s t   b e g i n   w i t h   a   l e t t e r   o r   n u m b e r ,   a n d   m a y   c o n t a i n   l e t t e r s ,   n u m b e r s ,   h y p h e n s ,   d o t s ,   a n d   u n d e r s c o r e s ,   u p   t o   6 3   c h a r a c t e r s .   I f   - - r e s o u r c e - v e r s i o n   i s   s p e c i f i e d ,   t h e n   u p d a t e s   w i l l   u s e   t h i s   r e s o u r c e   v e r s i o n ,   o t h e r w i s e   t h e   e x i s t i n g   r e s o u r c e - v e r s i o n   w i l l   b e   u s e d .   N o t e :   c u r r e n t l y   s e l e c t o r s   c a n   o n l y   b e   s e t   o n   S e r v i c e   o b j e c t s .   k u b e c t l   s e t   s e l e c t o r   ( - f   F I L E N A M E   |   T Y P E   N A M E )   E X P R E S S I O N S   [ - - r e s o u r c e - v e r s i o n = v e r s i o n ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22512"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   t h e   l a b e l s   a n d   s e l e c t o r   b e f o r e   c r e a t i n g   a   d e p l o y m e n t / s e r v i c e   p a i r   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   m y - s v c   - - c l u s t e r i p = \" N o n e \"   - o   y a m l   - - d r y - r u n = c l i e n t   |   k u b e c t l   s e t   s e l e c t o r   - - l o c a l   - f   -   ' e n v i r o n m e n t = q a '   - o   y a m l   |   k u b e c t l   c r e a t e   - f   -   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - o   y a m l   - - d r y - r u n = c l i e n t   |   k u b e c t l   l a b e l   - - l o c a l   - f   -   e n v i r o n m e n t = q a   - o   y a m l   |   k u b e c t l   c r e a t e   - f   -",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22513"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   i d e n t i f y i n g   t h e   r e s o u r c e .   h e l p   f o r   s e l e c t o r   I f   t r u e ,   a n n o t a t i o n   w i l l   N O T   c o n t a c t   a p i - s e r v e r   b u t   r u n   l o c a l l y .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   I f   n o n - e m p t y ,   t h e   s e l e c t o r s   u p d a t e   w i l l   o n l y   s u c c e e d   i f   t h i s   i s   t h e   c u r r e n t   r e s o u r c e - v e r s i o n   f o r   t h e   o b j e c t .   O n l y   v a l i d   w h e n   s p e c i f y i n g   a   s i ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22514"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22515"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   s e t   -   S e t   s p e c i f i c   f e a t u r e s   o n   o b j e c t s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22516"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e   t h e   s e r v i c e   a c c o u n t   o f   p o d   t e m p l a t e   r e s o u r c e s .   P o s s i b l e   r e s o u r c e s   ( c a s e   i n s e n s i t i v e )   c a n   b e :   r e p l i c a t i o n c o n t r o l l e r   ( r c ) ,   d e p l o y m e n t   ( d e p l o y ) ,   d a e m o n s e t   ( d s ) ,   j o b ,   r e p l i c a s e t   ( r s ) ,   s t a t e f u l s e t   k u b e c t l   s e t   s e r v i c e a c c o u n t   ( - f   F I L E N A M E   |   T Y P E   N A M E )   S E R V I C E _ A C C O U N T",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22517"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   d e p l o y m e n t   n g i n x - d e p l o y m e n t ' s   s e r v i c e   a c c o u n t   t o   s e r v i c e a c c o u n t 1   k u b e c t l   s e t   s e r v i c e a c c o u n t   d e p l o y m e n t   n g i n x - d e p l o y m e n t   s e r v i c e a c c o u n t 1   #   P r i n t   t h e   r e s u l t   ( i n   Y A M L   f o r m a t )   o f   u p d a t e d   n g i n x   d e p l o y m e n t   w i t h   t h e   s e r v i c e   a c c o u n t   f r o m   l o c a l   f i l e ,   w i t h o u t   h i t t i n g   t h e   A P I   s e r v e r   k u b e c t l   s e t   s a   - f   n g i n x - d e p l o y m e n t . y a m l   s e r v i c e a c c o u n t 1   - - l o c a l   - - d r y - r u n = c l i e n t   - o   y a m l",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22518"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s ,   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   s e r v i c e a c c o u n t   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   I f   t r u e ,   s e t   s e r v i c e a c c o u n t   w i l l   N O T   c o n t a c t   a p i - s e r v e r   b u t   r u n   l o c a l l y .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22519"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22520"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   s e t   -   S e t   s p e c i f i c   f e a t u r e s   o n   o b j e c t s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22521"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e   t h e   u s e r ,   g r o u p ,   o r   s e r v i c e   a c c o u n t   i n   a   r o l e   b i n d i n g   o r   c l u s t e r   r o l e   b i n d i n g .   k u b e c t l   s e t   s u b j e c t   ( - f   F I L E N A M E   |   T Y P E   N A M E )   [ - - u s e r = u s e r n a m e ]   [ - - g r o u p = g r o u p n a m e ]   [ - - s e r v i c e a c c o u n t = n a m e s p a c e : s e r v i c e a c c o u n t n a m e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22522"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U p d a t e   a   c l u s t e r   r o l e   b i n d i n g   f o r   s e r v i c e a c c o u n t 1   k u b e c t l   s e t   s u b j e c t   c l u s t e r r o l e b i n d i n g   a d m i n   - - s e r v i c e a c c o u n t = n a m e s p a c e : s e r v i c e a c c o u n t 1   #   U p d a t e   a   r o l e   b i n d i n g   f o r   u s e r 1 ,   u s e r 2 ,   a n d   g r o u p 1   k u b e c t l   s e t   s u b j e c t   r o l e b i n d i n g   a d m i n   - - u s e r = u s e r 1   - - u s e r = u s e r 2   - - g r o u p = g r o u p 1   #   P r i n t   t h e   r e s u l t   ( i n   Y A M L   f o r m a t )   o f   u p d a t i n g   r o l e b i n d i n g   s u b j e c t s   f r o m   a   l o c a l ,   w i t h o u t   h i t t i n g   t h e   s e r v e r   k u b e c t l   c r e a t e   r o l e b i n d i n g   a d m i n   - - r o l e = a d m i n   - - u s e r = a d m i n   - o   y a m l   - - d r y - r u n = c l i e n t   |   k u b e c t l   s e t   s u b j e c t   - - l o c a l   - f   -   - - u s e r = f o o   - o   y a m l",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22523"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s ,   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   t h e   r e s o u r c e   t o   u p d a t e   t h e   s u b j e c t s   G r o u p s   t o   b i n d   t o   t h e   r o l e   h e l p   f o r   s u b j e c t   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   I f   t r u e ,   s e t   s u b j e c t   w i l l   N O T   c o n t a c t   a p i - s e r v e r   b u t   r u n   l o c a l l y .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22524"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22525"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   s e t   -   S e t   s p e c i f i c   f e a t u r e s   o n   o b j e c t s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22526"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e   t h e   t a i n t s   o n   o n e   o r   m o r e   n o d e s .   A   t a i n t   c o n s i s t s   o f   a   k e y ,   v a l u e ,   a n d   e f f e c t .   A s   a n   a r g u m e n t   h e r e ,   i t   i s   e x p r e s s e d   a s   k e y = v a l u e : e f f e c t . T h e   k e y   m u s t   b e g i n   w i t h   a   l e t t e r   o r   n u m b e r ,   a n d   m a y   c o n t a i n   l e t t e r s ,   n u m b e r s ,   h y p h e n s ,   d o t s ,   a n d   u n d e r s c o r e s ,   u p   t o   2 5 3   c h a r a c t e r s . O p t i o n a l l y ,   t h e   k e y   c a n   b e g i n   w i t h   a   D N S   s u b d o m a i n   p r e f i x   a n d   a   s i n g l e   ' / ' ,   l i k e   e x a m p l e . c o m / m y - a p p . T h e   v a l u e   i s   o p t i o n a l .   I f   g i v e n ,   i t   m u s t   b e g i n   w i t h   a   l e t t e r   o r   n u m b e r ,   a n d   m a y   c o n t a i n   l e t t e r s ,   n u m b e r s ,   h y p h e n s ,   d o t s ,   a n d   u n d e r s c o r e s ,   u p   t o   6 3   c h a r a c t e r s . T h e   e f f e c t   m u s t   b e   N o S c h e d u l e ,   P r e f e r N o S c h e d u l e   o r   N o E x e c u t e . C u r r e n t l y   t a i n t   c a n   o n l y   a p p l y   t o   n o d e .   k u b e c t l   t a i n t   N O D E   N A M E   K E Y _ 1 = V A L _ 1 : T A I N T _ E F F E C T _ 1   . . .   K E Y _ N = V A L _ N : T A I N T _ E F F E C T _ N",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22527"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U p d a t e   n o d e   ' f o o '   w i t h   a   t a i n t   w i t h   k e y   ' d e d i c a t e d '   a n d   v a l u e   ' s p e c i a l - u s e r '   a n d   e f f e c t   ' N o S c h e d u l e '   #   I f   a   t a i n t   w i t h   t h a t   k e y   a n d   e f f e c t   a l r e a d y   e x i s t s ,   i t s   v a l u e   i s   r e p l a c e d   a s   s p e c i f i e d   k u b e c t l   t a i n t   n o d e s   f o o   d e d i c a t e d = s p e c i a l - u s e r : N o S c h e d u l e   #   R e m o v e   f r o m   n o d e   ' f o o '   t h e   t a i n t   w i t h   k e y   ' d e d i c a t e d '   a n d   e f f e c t   ' N o S c h e d u l e '   i f   o n e   e x i s t s   k u b e c t l   t a i n t   n o d e s   f o o   d e d i c a t e d : N o S c h e d u l e -   #   R e m o v e   f r o m   n o d e   ' f o o '   a l l   t h e   t a i n t s   w i t h   k e y   ' d e d i c a t e d '   k u b e c t l   t a i n t   n o d e s   f o o   d e d i c a t e d -   #   A d d   a   t a i n t   w i t h   k e y   ' d e d i c a t e d '   o n   n o d e s   h a v i n g   l a b e l   m y L a b e l = X   k u b e c t l   t a i n t   n o d e   - l   m y L a b e l = X   d e d i c a t e d = f o o : P r e f e r N o S c h e d u l e   #   A d d   t o   n o d e   ' f o o '   a   t a i n t   w i t h   k e y   ' b a r '   a n d   n o   v a l u e   k u b e c t l   t a i n t   n o d e s   f o o   b a r : N o S c h e d u l e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22528"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   n o d e s   i n   t h e   c l u s t e r   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   t a i n t   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   a l l o w   t a i n t s   t o   b e   o v e r w r i t t e n ,   o t h e r w i s e   r e j e c t   t a i n t   u p d a t e s   t h a t   o v e r w r i t e   e x i s t i n g   t a i n t s .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22529"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22530"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22531"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   r e s o u r c e   ( C P U / m e m o r y )   u s a g e .   T h i s   c o m m a n d   p r o v i d e s   a   v i e w   o f   r e c e n t   r e s o u r c e   c o n s u m p t i o n   f o r   n o d e s   a n d   p o d s .   I t   f e t c h e s   m e t r i c s   f r o m   t h e   M e t r i c s   S e r v e r ,   w h i c h   a g g r e g a t e s   t h i s   d a t a   f r o m   t h e   k u b e l e t   o n   e a c h   n o d e .   T h e   M e t r i c s   S e r v e r   m u s t   b e   i n s t a l l e d   a n d   r u n n i n g   i n   t h e   c l u s t e r   f o r   t h i s   c o m m a n d   t o   w o r k .   T h e   m e t r i c s   s h o w n   a r e   s p e c i f i c a l l y   o p t i m i z e d   f o r   K u b e r n e t e s   a u t o s c a l i n g   d e c i s i o n s ,   s u c h   a s   t h o s e   m a d e   b y   t h e   H o r i z o n t a l   P o d   A u t o s c a l e r   ( H P A )   a n d   V e r t i c a l   P o d   A u t o s c a l e r   ( V P A ) .   B e c a u s e   o f   t h i s ,   t h e   v a l u e s   m a y   n o t   m a t c h   t h o s e   f r o m   s t a n d a r d   O S   t o o l s   l i k e   ' t o p ' ,   a s   t h e   m e t r i c s   a r e   d e s i g n e d   t o   p r o v i d e   a   s t a b l e   s i g n a l   f o r   a u t o s c a l e r s   r a t h e r   t h a n   f o r   p i n p o i n t   a c c u r a c y .   W h e n   t o   u s e   t h i s   c o m m a n d :   F o r   o n - t h e - f l y   s p o t - c h e c k s   o f   r e s o u r c e   u s a g e   ( e . g .   i d e n t i f y   w h i c h   p o d s   a r e   c o n s u m i n g   t h e   m o s t   r e s o u r c e s   a t   a   g l a n c e ,   o r   g e t   a   q u i c k   s e n s e   o f   t h e   l o a d   o n   y o u r   n o d e s ) U n d e r s t a n d   c u r r e n t   r e s o u r c e   c o n s u m p t i o n   p a t t e r n s V a l i d a t e   t h e   b e h a v i o r   o f   y o u r   H P A   o r   V P A   c o n f i g u r a t i o n s   b y   s e e i n g   t h e   m e t r i c s   t h e y   u s e   f ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22532"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   t o p",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22533"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22534"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   t o p   n o d e   -   D i s p l a y   r e s o u r c e   ( C P U / m e m o r y )   u s a g e   o f   n o d e s k u b e c t l   t o p   p o d   -   D i s p l a y   r e s o u r c e   ( C P U / m e m o r y )   u s a g e   o f   p o d s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22535"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   r e s o u r c e   ( C P U / m e m o r y )   u s a g e   o f   n o d e s .   T h e   t o p - n o d e   c o m m a n d   a l l o w s   y o u   t o   s e e   t h e   r e s o u r c e   c o n s u m p t i o n   o f   n o d e s .   k u b e c t l   t o p   n o d e   [ N A M E   |   - l   l a b e l ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22536"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S h o w   m e t r i c s   f o r   a l l   n o d e s   k u b e c t l   t o p   n o d e   #   S h o w   m e t r i c s   f o r   a   g i v e n   n o d e   k u b e c t l   t o p   n o d e   N O D E _ N A M E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22537"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   n o d e   I f   p r e s e n t ,   p r i n t   o u t p u t   w i t h o u t   h e a d e r s   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   P r i n t   n o d e   r e s o u r c e s   b a s e d   o n   C a p a c i t y   i n s t e a d   o f   A l l o c a t a b l e ( d e f a u l t )   o f   t h e   n o d e s .   P r i n t   n o d e   r e s o u r c e s   r e l a t e d   t o   s w a p   m e m o r y .   I f   n o n - e m p t y ,   s o r t   n o d e s   l i s t   u s i n g   s p e c i f i e d   f i e l d .   T h e   f i e l d   c a n   b e   e i t h e r   ' c p u '   o r   ' m e m o r y ' .   E n a b l e s   u s i n g   p r o t o c o l - b u f f e r s   t o   a c c e s s   M e t r i c s   A P I .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22538"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22539"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   t o p   -   D i s p l a y   r e s o u r c e   ( C P U / m e m o r y )   u s a g e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22540"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   r e s o u r c e   ( C P U / m e m o r y )   u s a g e   o f   p o d s .   T h e   ' t o p   p o d '   c o m m a n d   a l l o w s   y o u   t o   s e e   t h e   r e s o u r c e   c o n s u m p t i o n   o f   p o d s .   D u e   t o   t h e   m e t r i c s   p i p e l i n e   d e l a y ,   t h e y   m a y   b e   u n a v a i l a b l e   f o r   a   f e w   m i n u t e s   s i n c e   p o d   c r e a t i o n .   k u b e c t l   t o p   p o d   [ N A M E   |   - l   l a b e l ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22541"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S h o w   m e t r i c s   f o r   a l l   p o d s   i n   t h e   d e f a u l t   n a m e s p a c e   k u b e c t l   t o p   p o d   #   S h o w   m e t r i c s   f o r   a l l   p o d s   i n   t h e   g i v e n   n a m e s p a c e   k u b e c t l   t o p   p o d   - - n a m e s p a c e = N A M E S P A C E   #   S h o w   m e t r i c s   f o r   a   g i v e n   p o d   a n d   i t s   c o n t a i n e r s   k u b e c t l   t o p   p o d   P O D _ N A M E   - - c o n t a i n e r s   #   S h o w   m e t r i c s   f o r   t h e   p o d s   d e f i n e d   b y   l a b e l   n a m e = m y L a b e l   k u b e c t l   t o p   p o d   - l   n a m e = m y L a b e l",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22542"
  },
  {
    "question": "What is Options?",
    "answer": "I f   p r e s e n t ,   l i s t   t h e   r e q u e s t e d   o b j e c t ( s )   a c r o s s   a l l   n a m e s p a c e s .   N a m e s p a c e   i n   c u r r e n t   c o n t e x t   i s   i g n o r e d   e v e n   i f   s p e c i f i e d   w i t h   - - n a m e s p a c e .   I f   p r e s e n t ,   p r i n t   u s a g e   o f   c o n t a i n e r s   w i t h i n   a   p o d .   S e l e c t o r   ( f i e l d   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   a n d   ' ! = ' . ( e . g .   - - f i e l d - s e l e c t o r   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 ) .   T h e   s e r v e r   o n l y   s u p p o r t s   a   l i m i t e d   n u m b e r   o f   f i e l d   q u e r i e s   p e r   t y p e .   h e l p   f o r   p o d   I f   p r e s e n t ,   p r i n t   o u t p u t   w i t h o u t   h e a d e r s .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   P r i n t   p o d   r e s o u r c e s   r e l a t e d   t o   s w a p   m e m o r y .   I f   n o n - e m p t y ,   s o r t   p o d s   l i s t   u s i n g   s p e c i f i e d   f i e l d .   T h e   f i e l d   c a n   b e   e i t h e r   ' c p u '   o r   ' m e m o r y ' .   P r i n t   t h e   s u m   o f   t h e   r e s o u r c e   u s a g e   E n a b l e s   u s i n g   p r o t o c o l - b u f f e r s   t o   a c c e s s   M e t r i c s   A P I .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22543"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22544"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   t o p   -   D i s p l a y   r e s o u r c e   ( C P U / m e m o r y )   u s a g e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22545"
  },
  {
    "question": "What is Synopsis?",
    "answer": "M a r k   n o d e   a s   s c h e d u l a b l e .   k u b e c t l   u n c o r d o n   N O D E",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22546"
  },
  {
    "question": "What is Examples?",
    "answer": "#   M a r k   n o d e   \" f o o \"   a s   s c h e d u l a b l e   k u b e c t l   u n c o r d o n   f o o",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22547"
  },
  {
    "question": "What is Options?",
    "answer": "M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   h e l p   f o r   u n c o r d o n   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22548"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22549"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22550"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r i n t   t h e   c l i e n t   a n d   s e r v e r   v e r s i o n   i n f o r m a t i o n   f o r   t h e   c u r r e n t   c o n t e x t .   k u b e c t l   v e r s i o n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22551"
  },
  {
    "question": "What is Examples?",
    "answer": "#   P r i n t   t h e   c l i e n t   a n d   s e r v e r   v e r s i o n s   f o r   t h e   c u r r e n t   c o n t e x t   k u b e c t l   v e r s i o n",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22552"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   s h o w s   c l i e n t   v e r s i o n   o n l y   ( n o   s e r v e r   r e q u i r e d ) .   h e l p   f o r   v e r s i o n   O n e   o f   ' y a m l '   o r   ' j s o n ' .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22553"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22554"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22555"
  },
  {
    "question": "What is Synopsis?",
    "answer": "E x p e r i m e n t a l :   W a i t   f o r   a   s p e c i f i c   c o n d i t i o n   o n   o n e   o r   m a n y   r e s o u r c e s .   T h e   c o m m a n d   t a k e s   m u l t i p l e   r e s o u r c e s   a n d   w a i t s   u n t i l   t h e   s p e c i f i e d   c o n d i t i o n   i s   s e e n   i n   t h e   S t a t u s   f i e l d   o f   e v e r y   g i v e n   r e s o u r c e .   A l t e r n a t i v e l y ,   t h e   c o m m a n d   c a n   w a i t   f o r   t h e   g i v e n   s e t   o f   r e s o u r c e s   t o   b e   c r e a t e d   o r   d e l e t e d   b y   p r o v i d i n g   t h e   \" c r e a t e \"   o r   \" d e l e t e \"   k e y w o r d   a s   t h e   v a l u e   t o   t h e   - - f o r   f l a g .   A   s u c c e s s f u l   m e s s a g e   w i l l   b e   p r i n t e d   t o   s t d o u t   i n d i c a t i n g   w h e n   t h e   s p e c i f i e d   c o n d i t i o n   h a s   b e e n   m e t .   Y o u   c a n   u s e   - o   o p t i o n   t o   c h a n g e   t o   o u t p u t   d e s t i n a t i o n .   k u b e c t l   w a i t   ( [ - f   F I L E N A M E ]   |   r e s o u r c e . g r o u p / r e s o u r c e . n a m e   |   r e s o u r c e . g r o u p   [ ( - l   l a b e l   |   - - a l l ) ] )   [ - - f o r = c r e a t e | - - f o r = d e l e t e | - - f o r   c o n d i t i o n = a v a i l a b l e | - - f o r = j s o n p a t h = ' { } ' [ = v a l u e ] ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22556"
  },
  {
    "question": "What is Examples?",
    "answer": "#   W a i t   f o r   t h e   p o d   \" b u s y b o x 1 \"   t o   c o n t a i n   t h e   s t a t u s   c o n d i t i o n   o f   t y p e   \" R e a d y \"   k u b e c t l   w a i t   - - f o r = c o n d i t i o n = R e a d y   p o d / b u s y b o x 1   #   T h e   d e f a u l t   v a l u e   o f   s t a t u s   c o n d i t i o n   i s   t r u e ;   y o u   c a n   w a i t   f o r   o t h e r   t a r g e t s   a f t e r   a n   e q u a l   d e l i m i t e r   ( c o m p a r e d   a f t e r   U n i c o d e   s i m p l e   c a s e   f o l d i n g ,   w h i c h   i s   a   m o r e   g e n e r a l   f o r m   o f   c a s e - i n s e n s i t i v i t y )   k u b e c t l   w a i t   - - f o r = c o n d i t i o n = R e a d y = f a l s e   p o d / b u s y b o x 1   #   W a i t   f o r   t h e   p o d   \" b u s y b o x 1 \"   t o   c o n t a i n   t h e   s t a t u s   p h a s e   t o   b e   \" R u n n i n g \"   k u b e c t l   w a i t   - - f o r = j s o n p a t h = ' { . s t a t u s . p h a s e } ' = R u n n i n g   p o d / b u s y b o x 1   #   W a i t   f o r   p o d   \" b u s y b o x 1 \"   t o   b e   R e a d y   k u b e c t l   w a i t   - - f o r = ' j s o n p a t h = { . s t a t u s . c o n d i t i o n s [ ? ( @ . t y p e = = \" R e a d y \" ) ] . s t a t u s } = T r u e '   p o d / b u s y b o x 1   #   W a i t   f o r   t h e   s e r v i c e   \" l o a d b a l a n c e r \"   t o   h a v e   i n g r e s s   k u b e c t l   w a i t   - - f o r = j s o n p a t h = ' { . s t a t u s . l o a d B a l a n c e r . i n g r e s s } '   s e r v i c e / l o a d b a l a n c e r   #   W a i t   f o r   t h e   s e c r e t   \" b u s y b o x 1 \"   t o   b e   c r e a t e d ,   w i t h   a   t i m e o u t   o f   3 0 s   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   b u s y b o x 1   k u b e c t l   w a i t   - - f o r = c r e a t e   s e c r e t / b u s y b o x 1   - - t i m e o u t = 3 0 s   #   W a i t   f o r   t h e   p o d   \" b u s y b o x 1 \"   t o   b e   d e l e t e ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22557"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   p r e s e n t ,   l i s t   t h e   r e q u e s t e d   o b j e c t ( s )   a c r o s s   a l l   n a m e s p a c e s .   N a m e s p a c e   i n   c u r r e n t   c o n t e x t   i s   i g n o r e d   e v e n   i f   s p e c i f i e d   w i t h   - - n a m e s p a c e .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   S e l e c t o r   ( f i e l d   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   a n d   ' ! = ' . ( e . g .   - - f i e l d - s e l e c t o r   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 ) .   T h e   s e r v e r   o n l y   s u p p o r t s   a   l i m i t e d   n u m b e r   o f   f i e l d   q u e r i e s   p e r   t y p e .   i d e n t i f y i n g   t h e   r e s o u r c e .   T h e   c o n d i t i o n   t o   w a i t   o n :   [ c r e a t e | d e l e t e | c o n d i t i o n = c o n d i t i o n - n a m e [ = c o n d i t i o n - v a l u e ] | j s o n p a t h = ' { J S O N P a t h   e x p r e s s i o n } ' = [ J S O N P a t h   v a l u e ] ] .   T h e   d e f a u l t   c o n d i t i o n - v a l u e   i s   t r u e .   C o n d i t i o n   v a l u e s   a r e   c o m p a r e d   a f t e r   U n i c o d e   s i m p l e   c a s e   f o l d i n g ,   w h i c h   i s   a   m o r e   g e n e r a l   f o r m   o f   c a s e - i n s e n s i t i v i t y .   h e l p   f o r   w a i t   I f   t r u e ,   a n n o t a t i o n   w i l l   N O T   c o n t a c t   a p i - s e r v e r   b u t   r u n   l o c a l l y .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22558"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22559"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22560"
  },
  {
    "question": "What is 4 - kubectl Commands?",
    "answer": "k u b e c t l   C o m m a n d   R e f e r e n c e",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_1_22561"
  },
  {
    "question": "What is Synopsis?",
    "answer": "k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r .   F i n d   m o r e   i n f o r m a t i o n   i n   C o m m a n d   l i n e   t o o l   ( k u b e c t l ) .   k u b e c t l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22562"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   a n n o t a t e   -   U p d a t e   t h e   a n n o t a t i o n s   o n   a   r e s o u r c e k u b e c t l   a p i - r e s o u r c e s   -   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   o n   t h e   s e r v e r k u b e c t l   a p i - v e r s i o n s   -   P r i n t   t h e   s u p p o r t e d   A P I   v e r s i o n s   o n   t h e   s e r v e r ,   i n   t h e   f o r m   o f   \" g r o u p / v e r s i o n \" k u b e c t l   a p p l y   -   A p p l y   a   c o n f i g u r a t i o n   t o   a   r e s o u r c e   b y   f i l e n a m e   o r   s t d i n k u b e c t l   a t t a c h   -   A t t a c h   t o   a   r u n n i n g   c o n t a i n e r k u b e c t l   a u t h   -   I n s p e c t   a u t h o r i z a t i o n k u b e c t l   a u t o s c a l e   -   A u t o - s c a l e   a   D e p l o y m e n t ,   R e p l i c a S e t ,   o r   R e p l i c a t i o n C o n t r o l l e r k u b e c t l   c e r t i f i c a t e   -   M o d i f y   c e r t i f i c a t e   r e s o u r c e s . k u b e c t l   c l u s t e r - i n f o   -   D i s p l a y   c l u s t e r   i n f o k u b e c t l   c o m p l e t i o n   -   O u t p u t   s h e l l   c o m p l e t i o n   c o d e   f o r   t h e   s p e c i f i e d   s h e l l   ( b a s h   o r   z s h ) k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s k u b e c t l   c o r d o n   -   M a r k   n o d e   a s   u n s c h e d u l a b l e k u b e c t l   c p   -   C o p y   f i l e s   a n d   d i r e c t o r i e s   t o   a n d   f r o m   c o n t a i n e r s . k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n . k u b e c t l   d e b u g   -   C r e a t e   d e b u g g i n g   s e s s i o n s   f o r   t r o u b l e s h o o t i n g   w o r k l o a d s   a n d   n o d e s k u b e c t l   d e l e t e   -   D e l e t e   r e s o u r c e s   b y   f i l e n a m e s ,   s t d i n ,   r e s o u r c e s   a n d   ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22563"
  },
  {
    "question": "What is 6 - JSONPath Support?",
    "answer": "T h e   k u b e c t l   t o o l   s u p p o r t s   J S O N P a t h   t e m p l a t e s   a s   a n   o u t p u t   f o r m a t .   A   J S O N P a t h   t e m p l a t e   i s   c o m p o s e d   o f   J S O N P a t h   e x p r e s s i o n s   e n c l o s e d   b y   c u r l y   b r a c e s :   {   a n d   } .   K u b e c t l   u s e s   J S O N P a t h   e x p r e s s i o n s   t o   f i l t e r   o n   s p e c i f i c   f i e l d s   i n   t h e   J S O N   o b j e c t   a n d   f o r m a t   t h e   o u t p u t .   I n   a d d i t i o n   t o   t h e   o r i g i n a l   J S O N P a t h   t e m p l a t e   s y n t a x ,   t h e   f o l l o w i n g   f u n c t i o n s   a n d   s y n t a x   a r e   v a l i d :   U s e   d o u b l e   q u o t e s   t o   q u o t e   t e x t   i n s i d e   J S O N P a t h   e x p r e s s i o n s . U s e   t h e   r a n g e ,   e n d   o p e r a t o r s   t o   i t e r a t e   l i s t s . U s e   n e g a t i v e   s l i c e   i n d i c e s   t o   s t e p   b a c k w a r d s   t h r o u g h   a   l i s t . N e g a t i v e   i n d i c e s   d o   n o t   \" w r a p   a r o u n d \"   a   l i s t   a n d   a r e   v a l i d   a s   l o n g   a s   \\ (   (   -   i n d e x   +   l i s t L e n g t h   )   \\ g e   0   \\ ) .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_1_22564"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   $   o p e r a t o r   i s   o p t i o n a l   s i n c e   t h e   e x p r e s s i o n   a l w a y s   s t a r t s   f r o m   t h e   r o o t   o b j e c t   b y   d e f a u l t . T h e   r e s u l t   o b j e c t   i s   p r i n t e d   a s   i t s   S t r i n g ( )   f u n c t i o n .   T h e   $   o p e r a t o r   i s   o p t i o n a l   s i n c e   t h e   e x p r e s s i o n   a l w a y s   s t a r t s   f r o m   t h e   r o o t   o b j e c t   b y   d e f a u l t .   T h e   r e s u l t   o b j e c t   i s   p r i n t e d   a s   i t s   S t r i n g ( )   f u n c t i o n .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_4_22565"
  },
  {
    "question": "What is Functions in Kubernetes JSONPath?",
    "answer": "G i v e n   t h e   J S O N   i n p u t :   {   \" k i n d \" :   \" L i s t \" ,   \" i t e m s \" : [   {   \" k i n d \" : \" N o n e \" ,   \" m e t a d a t a \" : {   \" n a m e \" : \" 1 2 7 . 0 . 0 . 1 \" ,   \" l a b e l s \" : {   \" k u b e r n e t e s . i o / h o s t n a m e \" : \" 1 2 7 . 0 . 0 . 1 \"   }   } ,   \" s t a t u s \" : {   \" c a p a c i t y \" : { \" c p u \" : \" 4 \" } ,   \" a d d r e s s e s \" : [ { \" t y p e \" :   \" L e g a c y H o s t I P \" ,   \" a d d r e s s \" : \" 1 2 7 . 0 . 0 . 1 \" } ]   }   } ,   {   \" k i n d \" : \" N o n e \" ,   \" m e t a d a t a \" : { \" n a m e \" : \" 1 2 7 . 0 . 0 . 2 \" } ,   \" s t a t u s \" : {   \" c a p a c i t y \" : { \" c p u \" : \" 8 \" } ,   \" a d d r e s s e s \" : [   { \" t y p e \" :   \" L e g a c y H o s t I P \" ,   \" a d d r e s s \" : \" 1 2 7 . 0 . 0 . 2 \" } ,   { \" t y p e \" :   \" a n o t h e r \" ,   \" a d d r e s s \" : \" 1 2 7 . 0 . 0 . 3 \" }   ]   }   }   ] ,   \" u s e r s \" : [   {   \" n a m e \" :   \" m y s e l f \" ,   \" u s e r \" :   { }   } ,   {   \" n a m e \" :   \" e 2 e \" ,   \" u s e r \" :   { \" u s e r n a m e \" :   \" a d m i n \" ,   \" p a s s w o r d \" :   \" s e c r e t \" }   }   ]   }",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22566"
  },
  {
    "question": "What is Using JSONPath expressions with kubectl?",
    "answer": "E x a m p l e s   u s i n g   k u b e c t l   a n d   J S O N P a t h   e x p r e s s i o n s :   k u b e c t l   g e t   p o d s   - o   j s o n   k u b e c t l   g e t   p o d s   - o = j s o n p a t h = ' { @ } '   k u b e c t l   g e t   p o d s   - o = j s o n p a t h = ' { . i t e m s [ 0 ] } '   k u b e c t l   g e t   p o d s   - o = j s o n p a t h = ' { . i t e m s [ 0 ] . m e t a d a t a . n a m e } '   k u b e c t l   g e t   p o d s   - o = j s o n p a t h = \" { . i t e m s [ * ] [ ' m e t a d a t a . n a m e ' ,   ' s t a t u s . c a p a c i t y ' ] } \"   k u b e c t l   g e t   p o d s   - o = j s o n p a t h = ' { r a n g e   . i t e m s [ * ] } { . m e t a d a t a . n a m e } { \" \\ t \" } { . s t a t u s . s t a r t T i m e } { \" \\ n \" } { e n d } '   k u b e c t l   g e t   p o d s   - o = j s o n p a t h = ' { . i t e m s [ 0 ] . m e t a d a t a . l a b e l s . k u b e r n e t e s \\ . i o / h o s t n a m e } '   O r ,   w i t h   a   \" m y _ p o d \"   a n d   \" m y _ n a m e s p a c e \"   ( a d j u s t   t h e s e   n a m e s   t o   y o u r   e n v i r o n m e n t ) :   k u b e c t l   g e t   p o d / m y _ p o d   - n   m y _ n a m e s p a c e   - o = j s o n p a t h = ' { @ } '   k u b e c t l   g e t   p o d / m y _ p o d   - n   m y _ n a m e s p a c e   - o = j s o n p a t h = ' { . m e t a d a t a . n a m e } '   k u b e c t l   g e t   p o d / m y _ p o d   - n   m y _ n a m e s p a c e   - o = j s o n p a t h = ' { . s t a t u s } '",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22567"
  },
  {
    "question": "What is Note:?",
    "answer": "O n   W i n d o w s ,   y o u   m u s t   d o u b l e   q u o t e   a n y   J S O N P a t h   t e m p l a t e   t h a t   c o n t a i n s   s p a c e s   ( n o t   s i n g l e   q u o t e   a s   s h o w n   a b o v e   f o r   b a s h ) .   T h i s   i n   t u r n   m e a n s   t h a t   y o u   m u s t   u s e   a   s i n g l e   q u o t e   o r   e s c a p e d   d o u b l e   q u o t e   a r o u n d   a n y   l i t e r a l s   i n   t h e   t e m p l a t e .   F o r   e x a m p l e :   k u b e c t l   g e t   p o d s   - o = j s o n p a t h = \" { r a n g e   . i t e m s [ * ] } { . m e t a d a t a . n a m e } { ' \\ t ' } { . s t a t u s . s t a r t T i m e } { ' \\ n ' } { e n d } \"   k u b e c t l   g e t   p o d s   - o = j s o n p a t h = \" { r a n g e   . i t e m s [ * ] } { . m e t a d a t a . n a m e } { \\ \" \\ t \\ \" } { . s t a t u s . s t a r t T i m e } { \\ \" \\ n \\ \" } { e n d } \"",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_4_22568"
  },
  {
    "question": "What is Regular expressions in JSONPath?",
    "answer": "J S O N P a t h   r e g u l a r   e x p r e s s i o n s   a r e   n o t   s u p p o r t e d .   I f   y o u   w a n t   t o   m a t c h   u s i n g   r e g u l a r   e x p r e s s i o n s ,   y o u   c a n   u s e   a   t o o l   s u c h   a s   j q .   #   k u b e c t l   d o e s   n o t   s u p p o r t   r e g u l a r   e x p r e s s i o n s   f o r   J S O N p a t h   o u t p u t   #   T h e   f o l l o w i n g   c o m m a n d   d o e s   n o t   w o r k   k u b e c t l   g e t   p o d s   - o   j s o n p a t h = ' { . i t e m s [ ? ( @ . m e t a d a t a . n a m e = ~ / ^ t e s t $ / ) ] . m e t a d a t a . n a m e } '   #   T h e   f o l l o w i n g   c o m m a n d   a c h i e v e s   t h e   d e s i r e d   r e s u l t   k u b e c t l   g e t   p o d s   - o   j s o n   |   j q   - r   ' . i t e m s [ ]   |   s e l e c t ( . m e t a d a t a . n a m e   |   t e s t ( \" t e s t - \" ) ) . m e t a d a t a . n a m e '",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22569"
  },
  {
    "question": "What is 7 - kubectl for Docker Users?",
    "answer": "Y o u   c a n   u s e   t h e   K u b e r n e t e s   c o m m a n d   l i n e   t o o l   k u b e c t l   t o   i n t e r a c t   w i t h   t h e   A P I   S e r v e r .   U s i n g   k u b e c t l   i s   s t r a i g h t f o r w a r d   i f   y o u   a r e   f a m i l i a r   w i t h   t h e   D o c k e r   c o m m a n d   l i n e   t o o l .   H o w e v e r ,   t h e r e   a r e   a   f e w   d i f f e r e n c e s   b e t w e e n   t h e   D o c k e r   c o m m a n d s   a n d   t h e   k u b e c t l   c o m m a n d s .   T h e   f o l l o w i n g   s e c t i o n s   s h o w   a   D o c k e r   s u b - c o m m a n d   a n d   d e s c r i b e   t h e   e q u i v a l e n t   k u b e c t l   c o m m a n d .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_1_22570"
  },
  {
    "question": "What is docker run?",
    "answer": "T o   r u n   a n   n g i n x   D e p l o y m e n t   a n d   e x p o s e   t h e   D e p l o y m e n t ,   s e e   k u b e c t l   c r e a t e   d e p l o y m e n t .   d o c k e r :   d o c k e r   r u n   - d   - - r e s t a r t = a l w a y s   - e   D O M A I N = c l u s t e r   - - n a m e   n g i n x - a p p   - p   8 0 : 8 0   n g i n x   5 5 c 1 0 3 f a 1 2 9 6 9 2 1 5 4 a 7 6 5 2 4 9 0 2 3 6 f e e 9 b e 4 7 d 7 0 a 8 d d 5 6 2 2 8 1 a e 7 d 2 f 9 a 3 3 9 a 6 d b   d o c k e r   p s   C O N T A I N E R   I D   I M A G E   C O M M A N D   C R E A T E D   S T A T U S   P O R T S   N A M E S   5 5 c 1 0 3 f a 1 2 9 6   n g i n x   \" n g i n x   - g   ' d a e m o n   o f … \"   9   s e c o n d s   a g o   U p   9   s e c o n d s   0 . 0 . 0 . 0 : 8 0 - > 8 0 / t c p   n g i n x - a p p   k u b e c t l :   #   s t a r t   t h e   p o d   r u n n i n g   n g i n x   k u b e c t l   c r e a t e   d e p l o y m e n t   - - i m a g e = n g i n x   n g i n x - a p p   d e p l o y m e n t . a p p s / n g i n x - a p p   c r e a t e d   #   a d d   e n v   t o   n g i n x - a p p   k u b e c t l   s e t   e n v   d e p l o y m e n t / n g i n x - a p p   D O M A I N = c l u s t e r   d e p l o y m e n t . a p p s / n g i n x - a p p   e n v   u p d a t e d",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22571"
  },
  {
    "question": "What is Note:?",
    "answer": "#   e x p o s e   a   p o r t   t h r o u g h   w i t h   a   s e r v i c e   k u b e c t l   e x p o s e   d e p l o y m e n t   n g i n x - a p p   - - p o r t = 8 0   - - n a m e = n g i n x - h t t p   s e r v i c e   \" n g i n x - h t t p \"   e x p o s e d   B y   u s i n g   k u b e c t l ,   y o u   c a n   c r e a t e   a   D e p l o y m e n t   t o   e n s u r e   t h a t   N   p o d s   a r e   r u n n i n g   n g i n x ,   w h e r e   N   i s   t h e   n u m b e r   o f   r e p l i c a s   s t a t e d   i n   t h e   s p e c   a n d   d e f a u l t s   t o   1 .   Y o u   c a n   a l s o   c r e a t e   a   s e r v i c e   w i t h   a   s e l e c t o r   t h a t   m a t c h e s   t h e   p o d   l a b e l s .   F o r   m o r e   i n f o r m a t i o n ,   s e e   U s e   a   S e r v i c e   t o   A c c e s s   a n   A p p l i c a t i o n   i n   a   C l u s t e r .   B y   d e f a u l t   i m a g e s   r u n   i n   t h e   b a c k g r o u n d ,   s i m i l a r   t o   d o c k e r   r u n   - d   . . . .   T o   r u n   t h i n g s   i n   t h e   f o r e g r o u n d ,   u s e   k u b e c t l   r u n   t o   c r e a t e   p o d :   k u b e c t l   r u n   [ - i ]   [ - - t t y ]   - - a t t a c h   < n a m e >   - - i m a g e = < i m a g e >   U n l i k e   d o c k e r   r u n   . . . ,   i f   y o u   s p e c i f y   - - a t t a c h ,   t h e n   y o u   a t t a c h   s t d i n ,   s t d o u t   a n d   s t d e r r .   Y o u   c a n n o t   c o n t r o l   w h i c h   s t r e a m s   a r e   a t t a c h e d   ( d o c k e r   - a   . . . ) .   T o   d e t a c h   f r o m   t h e   c o n t a i n e r ,   y o u   c a n   t y p e   t h e   e s c a p e   s e q u e n c e   C t r l + P   f o l l o w e d   b y   C t r l + Q .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_4_22572"
  },
  {
    "question": "What is docker ps?",
    "answer": "T o   l i s t   w h a t   i s   c u r r e n t l y   r u n n i n g ,   s e e   k u b e c t l   g e t .   d o c k e r :   d o c k e r   p s   - a   C O N T A I N E R   I D   I M A G E   C O M M A N D   C R E A T E D   S T A T U S   P O R T S   N A M E S   1 4 6 3 6 2 4 1 9 3 5 f   u b u n t u : 1 6 . 0 4   \" e c h o   t e s t \"   5   s e c o n d s   a g o   E x i t e d   ( 0 )   5   s e c o n d s   a g o   c o c k y _ f e r m i   5 5 c 1 0 3 f a 1 2 9 6   n g i n x   \" n g i n x   - g   ' d a e m o n   o f … \"   A b o u t   a   m i n u t e   a g o   U p   A b o u t   a   m i n u t e   0 . 0 . 0 . 0 : 8 0 - > 8 0 / t c p   n g i n x - a p p   k u b e c t l :   k u b e c t l   g e t   p o   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   n g i n x - a p p - 8 d f 5 6 9 c b 7 - 4 g d 8 9   1 / 1   R u n n i n g   0   3 m   u b u n t u   0 / 1   C o m p l e t e d   0   2 0 s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22573"
  },
  {
    "question": "What is docker attach?",
    "answer": "T o   a t t a c h   a   p r o c e s s   t h a t   i s   a l r e a d y   r u n n i n g   i n   a   c o n t a i n e r ,   s e e   k u b e c t l   a t t a c h .   d o c k e r :   d o c k e r   p s   C O N T A I N E R   I D   I M A G E   C O M M A N D   C R E A T E D   S T A T U S   P O R T S   N A M E S   5 5 c 1 0 3 f a 1 2 9 6   n g i n x   \" n g i n x   - g   ' d a e m o n   o f … \"   5   m i n u t e s   a g o   U p   5   m i n u t e s   0 . 0 . 0 . 0 : 8 0 - > 8 0 / t c p   n g i n x - a p p   d o c k e r   a t t a c h   5 5 c 1 0 3 f a 1 2 9 6   . . .   k u b e c t l :   k u b e c t l   g e t   p o d s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   n g i n x - a p p - 5 j y v m   1 / 1   R u n n i n g   0   1 0 m   k u b e c t l   a t t a c h   - i t   n g i n x - a p p - 5 j y v m   . . .   T o   d e t a c h   f r o m   t h e   c o n t a i n e r ,   y o u   c a n   t y p e   t h e   e s c a p e   s e q u e n c e   C t r l + P   f o l l o w e d   b y   C t r l + Q .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22574"
  },
  {
    "question": "What is docker exec?",
    "answer": "T o   e x e c u t e   a   c o m m a n d   i n   a   c o n t a i n e r ,   s e e   k u b e c t l   e x e c .   d o c k e r :   d o c k e r   p s   C O N T A I N E R   I D   I M A G E   C O M M A N D   C R E A T E D   S T A T U S   P O R T S   N A M E S   5 5 c 1 0 3 f a 1 2 9 6   n g i n x   \" n g i n x   - g   ' d a e m o n   o f … \"   6   m i n u t e s   a g o   U p   6   m i n u t e s   0 . 0 . 0 . 0 : 8 0 - > 8 0 / t c p   n g i n x - a p p   d o c k e r   e x e c   5 5 c 1 0 3 f a 1 2 9 6   c a t   / e t c / h o s t n a m e   5 5 c 1 0 3 f a 1 2 9 6   k u b e c t l :   k u b e c t l   g e t   p o   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   n g i n x - a p p - 5 j y v m   1 / 1   R u n n i n g   0   1 0 m   k u b e c t l   e x e c   n g i n x - a p p - 5 j y v m   - -   c a t   / e t c / h o s t n a m e   n g i n x - a p p - 5 j y v m   T o   u s e   i n t e r a c t i v e   c o m m a n d s .   d o c k e r :   d o c k e r   e x e c   - t i   5 5 c 1 0 3 f a 1 2 9 6   / b i n / s h   #   e x i t   k u b e c t l :   k u b e c t l   e x e c   - t i   n g i n x - a p p - 5 j y v m   - -   / b i n / s h   #   e x i t   F o r   m o r e   i n f o r m a t i o n ,   s e e   G e t   a   S h e l l   t o   a   R u n n i n g   C o n t a i n e r .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22575"
  },
  {
    "question": "What is docker logs?",
    "answer": "T o   f o l l o w   s t d o u t / s t d e r r   o f   a   p r o c e s s   t h a t   i s   r u n n i n g ,   s e e   k u b e c t l   l o g s .   d o c k e r :   d o c k e r   l o g s   - f   a 9 e   1 9 2 . 1 6 8 . 9 . 1   -   -   [ 1 4 / J u l / 2 0 1 5 : 0 1 : 0 4 : 0 2   + 0 0 0 0 ]   \" G E T   /   H T T P / 1 . 1 \"   2 0 0   6 1 2   \" - \"   \" c u r l / 7 . 3 5 . 0 \"   \" - \"   1 9 2 . 1 6 8 . 9 . 1   -   -   [ 1 4 / J u l / 2 0 1 5 : 0 1 : 0 4 : 0 3   + 0 0 0 0 ]   \" G E T   /   H T T P / 1 . 1 \"   2 0 0   6 1 2   \" - \"   \" c u r l / 7 . 3 5 . 0 \"   \" - \"   k u b e c t l :   k u b e c t l   l o g s   - f   n g i n x - a p p - z i b v s   1 0 . 2 4 0 . 6 3 . 1 1 0   -   -   [ 1 4 / J u l / 2 0 1 5 : 0 1 : 0 9 : 0 1   + 0 0 0 0 ]   \" G E T   /   H T T P / 1 . 1 \"   2 0 0   6 1 2   \" - \"   \" c u r l / 7 . 2 6 . 0 \"   \" - \"   1 0 . 2 4 0 . 6 3 . 1 1 0   -   -   [ 1 4 / J u l / 2 0 1 5 : 0 1 : 0 9 : 0 2   + 0 0 0 0 ]   \" G E T   /   H T T P / 1 . 1 \"   2 0 0   6 1 2   \" - \"   \" c u r l / 7 . 2 6 . 0 \"   \" - \"   T h e r e   i s   a   s l i g h t   d i f f e r e n c e   b e t w e e n   p o d s   a n d   c o n t a i n e r s ;   b y   d e f a u l t   p o d s   d o   n o t   t e r m i n a t e   i f   t h e i r   p r o c e s s e s   e x i t .   I n s t e a d   t h e   p o d s   r e s t a r t   t h e   p r o c e s s .   T h i s   i s   s i m i l a r   t o   t h e   d o c k e r   r u n   o p t i o n   - - r e s t a r t = a l w a y s   w i t h   o n e   m a j o r   d i f f e r e n c e .   I n   d o c k e r ,   t h e   o u t p u t   f o r   e a c h   i n v o c a t i o n   o f   t h e   p r o c e s s   i s   c o n c a t e n a t e d ,   b u t   f o r   K u b e r n e t e s ,   e a c h   i n v o c a t i o n   i s   s e p a r a t e .   T o   s e e   t h e   o u t p u t   f r o m   a   p r e v i o u s   r u n   i n   K u b e r n e t e s ,   d o   t h i s :   k u b e c t l   l o g s   - - p r e v i o u s   n g i n x - a p p - z i b v s   1 0 . 2 4 0 . 6 3 . 1 1 0   -   -   [ 1 4 / J u ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22576"
  },
  {
    "question": "What is docker stop and docker rm?",
    "answer": "T o   s t o p   a n d   d e l e t e   a   r u n n i n g   p r o c e s s ,   s e e   k u b e c t l   d e l e t e .   d o c k e r :   d o c k e r   p s   C O N T A I N E R   I D   I M A G E   C O M M A N D   C R E A T E D   S T A T U S   P O R T S   N A M E S   a 9 e c 3 4 d 9 8 7 8 7   n g i n x   \" n g i n x   - g   ' d a e m o n   o f \"   2 2   h o u r s   a g o   U p   2 2   h o u r s   0 . 0 . 0 . 0 : 8 0 - > 8 0 / t c p ,   4 4 3 / t c p   n g i n x - a p p   d o c k e r   s t o p   a 9 e c 3 4 d 9 8 7 8 7   a 9 e c 3 4 d 9 8 7 8 7   d o c k e r   r m   a 9 e c 3 4 d 9 8 7 8 7   a 9 e c 3 4 d 9 8 7 8 7   k u b e c t l :   k u b e c t l   g e t   d e p l o y m e n t   n g i n x - a p p   N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   n g i n x - a p p   1 / 1   1   1   2 m   k u b e c t l   g e t   p o   - l   a p p = n g i n x - a p p   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   n g i n x - a p p - 2 8 8 3 1 6 4 6 3 3 - a k l f 7   1 / 1   R u n n i n g   0   2 m   k u b e c t l   d e l e t e   d e p l o y m e n t   n g i n x - a p p   d e p l o y m e n t   \" n g i n x - a p p \"   d e l e t e d   k u b e c t l   g e t   p o   - l   a p p = n g i n x - a p p   #   R e t u r n   n o t h i n g",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22577"
  },
  {
    "question": "What is docker login?",
    "answer": "T h e r e   i s   n o   d i r e c t   a n a l o g   o f   d o c k e r   l o g i n   i n   k u b e c t l .   I f   y o u   a r e   i n t e r e s t e d   i n   u s i n g   K u b e r n e t e s   w i t h   a   p r i v a t e   r e g i s t r y ,   s e e   U s i n g   a   P r i v a t e   R e g i s t r y .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22578"
  },
  {
    "question": "What is docker version?",
    "answer": "T o   g e t   t h e   v e r s i o n   o f   c l i e n t   a n d   s e r v e r ,   s e e   k u b e c t l   v e r s i o n .   d o c k e r :   d o c k e r   v e r s i o n   C l i e n t   v e r s i o n :   1 . 7 . 0   C l i e n t   A P I   v e r s i o n :   1 . 1 9   G o   v e r s i o n   ( c l i e n t ) :   g o 1 . 4 . 2   G i t   c o m m i t   ( c l i e n t ) :   0 b a f 6 0 9   O S / A r c h   ( c l i e n t ) :   l i n u x / a m d 6 4   S e r v e r   v e r s i o n :   1 . 7 . 0   S e r v e r   A P I   v e r s i o n :   1 . 1 9   G o   v e r s i o n   ( s e r v e r ) :   g o 1 . 4 . 2   G i t   c o m m i t   ( s e r v e r ) :   0 b a f 6 0 9   O S / A r c h   ( s e r v e r ) :   l i n u x / a m d 6 4   k u b e c t l :   k u b e c t l   v e r s i o n   C l i e n t   V e r s i o n :   v e r s i o n . I n f o { M a j o r : \" 1 \" ,   M i n o r : \" 6 \" ,   G i t V e r s i o n : \" v 1 . 6 . 9 + a 3 d 1 d f a 6 f 4 3 3 5 \" ,   G i t C o m m i t : \" 9 b 7 7 f e d 1 1 a 9 8 4 3 c e 3 7 8 0 f 7 0 d d 2 5 1 e 9 2 9 0 1 c 4 3 0 7 2 \" ,   G i t T r e e S t a t e : \" d i r t y \" ,   B u i l d D a t e : \" 2 0 1 7 - 0 8 - 2 9 T 2 0 : 3 2 : 5 8 Z \" ,   O p e n P a a s K u b e r n e t e s V e r s i o n : \" v 1 . 0 3 . 0 2 \" ,   G o V e r s i o n : \" g o 1 . 7 . 5 \" ,   C o m p i l e r : \" g c \" ,   P l a t f o r m : \" l i n u x / a m d 6 4 \" }   S e r v e r   V e r s i o n :   v e r s i o n . I n f o { M a j o r : \" 1 \" ,   M i n o r : \" 6 \" ,   G i t V e r s i o n : \" v 1 . 6 . 9 + a 3 d 1 d f a 6 f 4 3 3 5 \" ,   G i t C o m m i t : \" 9 b 7 7 f e d 1 1 a 9 8 4 3 c e 3 7 8 0 f 7 0 d d 2 5 1 e 9 2 9 0 1 c 4 3 0 7 2 \" ,   G i t T r e e S t a t e : \" d i r t y \" ,   B u i l d D a t e : \" 2 0 1 7 - 0 8 - 2 9 T 2 0 : 3 2 : 5 8 Z \" ,   O p e n P a a s K u b e r n e t e s V e r s i o n : \" v 1 . 0 3 . 0 2 \" ,   G o V e r s i o n : \" g o 1 . 7 . 5 \" ,   C o m p i l e r : \" g c \" ,   P l a t f o r m : \" l i n u x / a m d 6 4 \" }",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22579"
  },
  {
    "question": "What is docker info?",
    "answer": "T o   g e t   m i s c e l l a n e o u s   i n f o r m a t i o n   a b o u t   t h e   e n v i r o n m e n t   a n d   c o n f i g u r a t i o n ,   s e e   k u b e c t l   c l u s t e r - i n f o .   d o c k e r :   d o c k e r   i n f o   C o n t a i n e r s :   4 0   I m a g e s :   1 6 8   S t o r a g e   D r i v e r :   a u f s   R o o t   D i r :   / u s r / l o c a l / g o o g l e / d o c k e r / a u f s   B a c k i n g   F i l e s y s t e m :   e x t f s   D i r s :   2 4 8   D i r p e r m 1   S u p p o r t e d :   f a l s e   E x e c u t i o n   D r i v e r :   n a t i v e - 0 . 2   L o g g i n g   D r i v e r :   j s o n - f i l e   K e r n e l   V e r s i o n :   3 . 1 3 . 0 - 5 3 - g e n e r i c   O p e r a t i n g   S y s t e m :   U b u n t u   1 4 . 0 4 . 2   L T S   C P U s :   1 2   T o t a l   M e m o r y :   3 1 . 3 2   G i B   N a m e :   k 8 s - i s - f u n . m t v . c o r p . g o o g l e . c o m   I D :   A D U V : G C Y R : B 3 V J : H M P O : L N P Q : K D 5 S : Y K F Q : 7 6 V N : I A N Z : 7 T F V : Z B F 4 : B Y J O   W A R N I N G :   N o   s w a p   l i m i t   s u p p o r t   k u b e c t l :   k u b e c t l   c l u s t e r - i n f o   K u b e r n e t e s   m a s t e r   i s   r u n n i n g   a t   h t t p s : / / 2 0 3 . 0 . 1 1 3 . 1 4 1   K u b e D N S   i s   r u n n i n g   a t   h t t p s : / / 2 0 3 . 0 . 1 1 3 . 1 4 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / k u b e - d n s / p r o x y   k u b e r n e t e s - d a s h b o a r d   i s   r u n n i n g   a t   h t t p s : / / 2 0 3 . 0 . 1 1 3 . 1 4 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / k u b e r n e t e s - d a s h b o a r d / p r o x y   G r a f a n a   i s   r u n n i n g   a t   h t t p s : / / 2 0 3 . 0 . 1 1 3 . 1 4 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / m o n i t o r i n g - g r a f a n a / p r o x y   H e a p s t e r   i s   r u n n i n g   a t   h t t ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22580"
  },
  {
    "question": "What is 8 - kubectl Usage Conventions?",
    "answer": "R e c o m m e n d e d   u s a g e   c o n v e n t i o n s   f o r   k u b e c t l .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_1_22581"
  },
  {
    "question": "What is Using kubectl in Reusable Scripts?",
    "answer": "F o r   a   s t a b l e   o u t p u t   i n   a   s c r i p t :   R e q u e s t   o n e   o f   t h e   m a c h i n e - o r i e n t e d   o u t p u t   f o r m s ,   s u c h   a s   - o   n a m e ,   - o   j s o n ,   - o   y a m l ,   - o   g o - t e m p l a t e ,   o r   - o   j s o n p a t h . F u l l y - q u a l i f y   t h e   v e r s i o n .   F o r   e x a m p l e ,   j o b s . v 1 . b a t c h / m y j o b .   T h i s   w i l l   e n s u r e   t h a t   k u b e c t l   d o e s   n o t   u s e   i t s   d e f a u l t   v e r s i o n   t h a t   c a n   c h a n g e   o v e r   t i m e . D o n ' t   r e l y   o n   c o n t e x t ,   p r e f e r e n c e s ,   o r   o t h e r   i m p l i c i t   s t a t e s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22582"
  },
  {
    "question": "What is Subresources?",
    "answer": "Y o u   c a n   u s e   t h e   - - s u b r e s o u r c e   a r g u m e n t   f o r   k u b e c t l   s u b c o m m a n d s   s u c h   a s   g e t ,   p a t c h ,   e d i t ,   a p p l y   a n d   r e p l a c e   t o   f e t c h   a n d   u p d a t e   s u b r e s o u r c e s   f o r   a l l   r e s o u r c e s   t h a t   s u p p o r t   t h e m .   I n   K u b e r n e t e s   v e r s i o n   1 . 3 4 ,   o n l y   t h e   s t a t u s ,   s c a l e   a n d   r e s i z e   s u b r e s o u r c e s   a r e   s u p p o r t e d . F o r   k u b e c t l   e d i t ,   t h e   s c a l e   s u b r e s o u r c e   i s   n o t   s u p p o r t e d .   I f   y o u   u s e   - - s u b r e s o u r c e   w i t h   k u b e c t l   e d i t   a n d   s p e c i f y   s c a l e   a s   t h e   s u b r e s o u r c e ,   t h e   c o m m a n d   w i l l   e r r o r   o u t . T h e   A P I   c o n t r a c t   a g a i n s t   a   s u b r e s o u r c e   i s   i d e n t i c a l   t o   a   f u l l   r e s o u r c e .   W h i l e   u p d a t i n g   t h e   s t a t u s   s u b r e s o u r c e   t o   a   n e w   v a l u e ,   k e e p   i n   m i n d   t h a t   t h e   s u b r e s o u r c e   c o u l d   b e   p o t e n t i a l l y   r e c o n c i l e d   b y   a   c o n t r o l l e r   t o   a   d i f f e r e n t   v a l u e .   F o r   k u b e c t l   e d i t ,   t h e   s c a l e   s u b r e s o u r c e   i s   n o t   s u p p o r t e d .   I f   y o u   u s e   - - s u b r e s o u r c e   w i t h   k u b e c t l   e d i t   a n d   s p e c i f y   s c a l e   a s   t h e   s u b r e s o u r c e ,   t h e   c o m m a n d   w i l l   e r r o r   o u t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22583"
  },
  {
    "question": "What is kubectl run?",
    "answer": "F o r   k u b e c t l   r u n   t o   s a t i s f y   i n f r a s t r u c t u r e   a s   c o d e :   T a g   t h e   i m a g e   w i t h   a   v e r s i o n - s p e c i f i c   t a g   a n d   d o n ' t   m o v e   t h a t   t a g   t o   a   n e w   v e r s i o n .   F o r   e x a m p l e ,   u s e   : v 1 2 3 4 ,   v 1 . 2 . 3 ,   r 0 3 0 6 2 0 1 6 - 1 - 4 ,   r a t h e r   t h a n   : l a t e s t   ( F o r   m o r e   i n f o r m a t i o n ,   s e e   B e s t   P r a c t i c e s   f o r   C o n f i g u r a t i o n ) . C h e c k   i n   t h e   s c r i p t   f o r   a n   i m a g e   t h a t   i s   h e a v i l y   p a r a m e t e r i z e d . S w i t c h   t o   c o n f i g u r a t i o n   f i l e s   c h e c k e d   i n t o   s o u r c e   c o n t r o l   f o r   f e a t u r e s   t h a t   a r e   n e e d e d ,   b u t   n o t   e x p r e s s i b l e   v i a   k u b e c t l   r u n   f l a g s .   Y o u   c a n   u s e   t h e   - - d r y - r u n = c l i e n t   f l a g   t o   p r e v i e w   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t   t o   y o u r   c l u s t e r ,   w i t h o u t   r e a l l y   s u b m i t t i n g   i t .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_3_22584"
  },
  {
    "question": "What is kubectl apply?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   a p p l y   t o   c r e a t e   o r   u p d a t e   r e s o u r c e s .   F o r   m o r e   i n f o r m a t i o n   a b o u t   u s i n g   k u b e c t l   a p p l y   t o   u p d a t e   r e s o u r c e s ,   s e e   K u b e c t l   B o o k .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_3_22585"
  },
  {
    "question": "What is 9 - Kubectl user preferences (kuberc)?",
    "answer": "A   K u b e r n e t e s   k u b e r c   c o n f i g u r a t i o n   f i l e   a l l o w s   y o u   t o   d e f i n e   p r e f e r e n c e s   f o r   k u b e c t l ,   s u c h   a s   d e f a u l t   o p t i o n s   a n d   c o m m a n d   a l i a s e s .   U n l i k e   t h e   k u b e c o n f i g   f i l e ,   a   k u b e r c   c o n f i g u r a t i o n   f i l e   d o e s   n o t   c o n t a i n   c l u s t e r   d e t a i l s ,   u s e r n a m e s   o r   p a s s w o r d s .   T h e   d e f a u l t   l o c a t i o n   o f   t h i s   c o n f i g u r a t i o n   f i l e   i s   $ H O M E / . k u b e / k u b e r c .   T o   p r o v i d e   k u b e c t l   w i t h   a   p a t h   t o   a   c u s t o m   k u b e r c   f i l e ,   u s e   t h e   - - k u b e r c   c o m m a n d   l i n e   o p t i o n ,   o r   s e t   t h e   K U B E R C   e n v i r o n m e n t   v a r i a b l e .   A   k u b e r c   u s i n g   t h e   k u b e c t l . c o n f i g . k 8 s . i o / v 1 b e t a 1   f o r m a t   a l l o w s   y o u   t o   d e f i n e   t w o   t y p e s   o f   u s e r   p r e f e r e n c e s :   A l i a s e s   -   a l l o w   y o u   t o   c r e a t e   s h o r t e r   v e r s i o n s   o f   y o u r   f a v o r i t e   c o m m a n d s ,   o p t i o n a l l y   s e t t i n g   o p t i o n s   a n d   a r g u m e n t s . D e f a u l t s   -   a l l o w   y o u   t o   c o n f i g u r e   d e f a u l t   o p t i o n   v a l u e s   f o r   y o u r   f a v o r i t e   c o m m a n d s .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_1_22586"
  },
  {
    "question": "What is aliases?",
    "answer": "W i t h i n   a   k u b e r c   c o n f i g u r a t i o n ,   t h e   a l i a s e s   s e c t i o n   a l l o w s   y o u   t o   d e f i n e   c u s t o m   s h o r t c u t s   f o r   k u b e c t l   c o m m a n d s ,   o p t i o n a l l y   w i t h   p r e s e t   c o m m a n d   l i n e   a r g u m e n t s   a n d   f l a g s .   T h i s   n e x t   e x a m p l e   d e f i n e s   a   k u b e c t l   g e t n   a l i a s   f o r   t h e   k u b e c t l   g e t   s u b c o m m a n d ,   a d d i t i o n a l l y   s p e c i f y i n g   J S O N   o u t p u t   f o r m a t :   - - o u t p u t = j s o n .   a p i V e r s i o n :   k u b e c t l . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   P r e f e r e n c e   a l i a s e s :   -   n a m e :   g e t n   c o m m a n d :   g e t   o p t i o n s :   -   n a m e :   o u t p u t   d e f a u l t :   j s o n   I n   t h i s   e x a m p l e ,   t h e   f o l l o w i n g   s e t t i n g s   w e r e   u s e d :   n a m e   -   A l i a s   n a m e   m u s t   n o t   c o l l i d e   w i t h   t h e   b u i l t - i n   c o m m a n d s . c o m m a n d   -   S p e c i f y   t h e   u n d e r l y i n g   b u i l t - i n   c o m m a n d   t h a t   y o u r   a l i a s   w i l l   e x e c u t e .   T h i s   i n c l u d e s   s u p p o r t   f o r   s u b c o m m a n d s   l i k e   c r e a t e   r o l e . o p t i o n s   -   S p e c i f y   d e f a u l t   v a l u e s   f o r   o p t i o n s .   I f   y o u   e x p l i c i t l y   s p e c i f y   a n   o p t i o n   w h e n   y o u   r u n   k u b e c t l ,   t h e   v a l u e   y o u   p r o v i d e   t a k e s   p r e c e d e n c e   o v e r   t h e   d e f a u l t   o n e   d e f i n e d   i n   k u b e r c .   W i t h   t h i s   a l i a s ,   r u n n i n g   k u b e c t l   g e t n   p o d s   w i l l   d e f a u l t   J S O N   o u t p u t .   H o w e v e r ,   i f   y o u   e x e c u t e   k u b e c t l   g e t n   p o d s   - o y a m l ,   t h e   o u t p u t   w ",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22587"
  },
  {
    "question": "What is prependArgs?",
    "answer": "T h i s",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_3_22588"
  },
  {
    "question": "What is appendArgs?",
    "answer": "T h i s   n e x t   e x a m p l e ,   w i l l   i n t r o d u c e   a   m e c h a n i s m   s i m i l a r   t o   p r e p e n d i n g   a r g u m e n t s ,   t h i s   t i m e ,   t h o u g h ,   w e   w i l l   a p p e n d   a r g u m e n t s   t o   t h e   e n d   o f   t h e   k u b e c t l   c o m m a n d .   a p i V e r s i o n :   k u b e c t l . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   P r e f e r e n c e   a l i a s e s :   -   n a m e :   r u n x   c o m m a n d :   r u n   o p t i o n s :   -   n a m e :   i m a g e   d e f a u l t :   b u s y b o x   -   n a m e :   n a m e s p a c e   d e f a u l t :   t e s t - n s   a p p e n d A r g s :   -   - -   -   c u s t o m - a r g   I n   t h i s   e x a m p l e ,   t h e   f o l l o w i n g   s e t t i n g s   w e r e   u s e d :   n a m e   -   A l i a s   n a m e   m u s t   n o t   c o l l i d e   w i t h   t h e   b u i l t - i n   c o m m a n d s . c o m m a n d   -   S p e c i f y   t h e   u n d e r l y i n g   b u i l t - i n   c o m m a n d   t h a t   y o u r   a l i a s   w i l l   e x e c u t e .   T h i s   i n c l u d e s   s u p p o r t   f o r   s u b c o m m a n d s   l i k e   c r e a t e   r o l e . o p t i o n s   -   S p e c i f y   d e f a u l t   v a l u e s   f o r   o p t i o n s .   I f   y o u   e x p l i c i t l y   s p e c i f y   a n   o p t i o n   w h e n   y o u   r u n   k u b e c t l ,   t h e   v a l u e   y o u   p r o v i d e   t a k e s   p r e c e d e n c e   o v e r   t h e   d e f a u l t   o n e   d e f i n e d   i n   k u b e r c . a p p e n d A r g s   -   S p e c i f y   e x p l i c i t   a r g u m e n t s   t h a t   w i l l   b e   p l a c e d   a t   t h e   e n d   o f   t h e   c o m m a n d .   H e r e ,   t h i s   w i l l   b e   t r a n s l a t e d   t o   k u b e c t l   r u n   t e s t - p o d   - - n a m e s p a c e   t e s t - n s   - - i m a g e   b u s y b o x   - -   c u s t o m - a r g .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_3_22589"
  },
  {
    "question": "What is defaults?",
    "answer": "W i t h i n   a   k u b e r c   c o n f i g u r a t i o n ,   d e f a u l t s   s e c t i o n   l e t s   y o u   s p e c i f y   d e f a u l t   v a l u e s   f o r   c o m m a n d   l i n e   a r g u m e n t s .   T h i s   n e x t   e x a m p l e   m a k e s   t h e   i n t e r a c t i v e   r e m o v a l   t h e   d e f a u l t   m o d e   f o r   i n v o k i n g   k u b e c t l   d e l e t e :   a p i V e r s i o n :   k u b e c t l . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   P r e f e r e n c e   d e f a u l t s :   -   c o m m a n d :   d e l e t e   o p t i o n s :   -   n a m e :   i n t e r a c t i v e   d e f a u l t :   \" t r u e \"   I n   t h i s   e x a m p l e ,   t h e   f o l l o w i n g   s e t t i n g s   w e r e   u s e d :   c o m m a n d   -   B u i l t - i n   c o m m a n d ,   t h i s   i n c l u d e s   s u p p o r t   f o r   s u b c o m m a n d s   l i k e   c r e a t e   r o l e . o p t i o n s   -   S p e c i f y   d e f a u l t   v a l u e s   f o r   o p t i o n s .   I f   y o u   e x p l i c i t l y   s p e c i f y   a n   o p t i o n   w h e n   y o u   r u n   k u b e c t l ,   t h e   v a l u e   y o u   p r o v i d e   t a k e s   p r e c e d e n c e   o v e r   t h e   d e f a u l t   o n e   d e f i n e d   i n   k u b e r c .   W i t h   t h i s   s e t t i n g ,   r u n n i n g   k u b e c t l   d e l e t e   p o d / t e s t - p o d   w i l l   d e f a u l t   t o   p r o m p t i n g   f o r   c o n f i r m a t i o n .   H o w e v e r ,   k u b e c t l   d e l e t e   p o d / t e s t - p o d   - - i n t e r a c t i v e = f a l s e   w i l l   b y p a s s   t h e   c o n f i r m a t i o n .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22590"
  },
  {
    "question": "What is Suggested defaults?",
    "answer": "T h e   k u b e c t l   m a i n t a i n e r s   e n c o u r a g e   y o u   t o   a d o p t   k u b e r c   w i t h   t h e   f o l l o w i n g   d e f a u l t s :   a p i V e r s i o n :   k u b e c t l . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   P r e f e r e n c e   d e f a u l t s :   #   ( 1 )   d e f a u l t   s e r v e r - s i d e   a p p l y   -   c o m m a n d :   a p p l y   o p t i o n s :   -   n a m e :   s e r v e r - s i d e   d e f a u l t :   \" t r u e \"   #   ( 2 )   d e f a u l t   i n t e r a c t i v e   d e l e t i o n   -   c o m m a n d :   d e l e t e   o p t i o n s :   -   n a m e :   i n t e r a c t i v e   d e f a u l t :   \" t r u e \"   I n   t h i s   e x a m p l e ,   t h e   f o l l o w i n g   s e t t i n g s   a r e   e n f o r c e d :   D e f a u l t s   t o   u s i n g   S e r v e r - S i d e   A p p l y . D e f a u l t s   t o   i n t e r a c t i v e   r e m o v a l   w h e n e v e r   i n v o k i n g   k u b e c t l   d e l e t e   t o   p r e v e n t   a c c i d e n t a l   r e m o v a l   o f   r e s o u r c e s   f r o m   t h e   c l u s t e r .",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22591"
  },
  {
    "question": "What is Disable kuberc?",
    "answer": "T o   t e m p o r a r i l y   d i s a b l e   t h e   k u b e r c   f u n c t i o n a l i t y ,   s e t   ( a n d   e x p o r t )   t h e   e n v i r o n m e n t   v a r i a b l e   K U B E R C   w i t h   t h e   v a l u e   o f f :   e x p o r t   K U B E R C = o f f   o r   d i s a b l e   t h e   f e a t u r e   g a t e :   e x p o r t   K U B E C T L _ K U B E R C = f a l s e   ©   2 0 2 5   T h e   K u b e r n e t e s   A u t h o r s   |   D o c u m e n t a t i o n   D i s t r i b u t e d   u n d e r   C C   B Y   4 . 0   ©   2 0 2 5   T h e   L i n u x   F o u n d a t i o n   ® .   A l l   r i g h t s   r e s e r v e d .   T h e   L i n u x   F o u n d a t i o n   h a s   r e g i s t e r e d   t r a d e m a r k s   a n d   u s e s   t r a d e m a r k s .   F o r   a   l i s t   o f   t r a d e m a r k s   o f   T h e   L i n u x   F o u n d a t i o n ,   p l e a s e   s e e   o u r   T r a d e m a r k   U s a g e   p a g e   I C P   l i c e n s e :   京 I C P 备 1 7 0 7 4 2 6 6 号 - 3",
    "category": "reference",
    "subcategory": "cli-reference",
    "source": "https://kubernetes.io/docs/reference/kubectl/_print/",
    "id": "k8s_00785_section_2_22592"
  },
  {
    "question": "What is Storage Classes?",
    "answer": "Storage ClassesThis document describes the concept of a StorageClass in Kubernetes. Familiarity with volumes and persistent volumes is suggested.A StorageClass provides a way for administrators to describe the classes of storage they offer. Different classes might map to quality-of-service levels, or to backup policies, or to arbitrary policies determined by the cluster administrators. Kubernetes itself is unopinionated about what classes represent.The Kubernetes concept of a storage class is similar to “profiles” in some other storage system designs.StorageClass objectsEach StorageClass contains the fields provisioner, parameters, and reclaimPolicy, which are used when a PersistentVolume belonging to the class needs to be dynamically provisioned to satisfy a PersistentVolumeClaim (PVC).The name of a StorageClass object is significant, and is how users can request a particular class. Administrators set the name and other parameters of a class when first creating StorageClass objects.As an administrator, you can specify a default StorageClass that applies to any PVCs that don't request a specific class. For more details, see the PersistentVolumeClaim concept.Here's an example of a StorageClass:storage/storageclass-low-latency.yaml apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: low-latency annotations: storageclass.kubernetes.io/is-default-class: \"false\" provisioner: csi-driver.example-vendor.example reclaimPolicy: Retain # default value is Delete allowVolumeExpansion: true mountOptions: - discard # this might enable UNMAP / TRIM at the block storage layer volumeBindingMode: WaitForFirstConsumer parameters: guaranteedReadWriteLatency: \"true\" # provider-specific Default StorageClassYou can mark a StorageClass as the default for your cluster. For instructions on setting the default StorageClass, see Change the default StorageClass.When a PVC does not specify a storageClassName, the default StorageClass is used.If you set the storageclass.kubernetes.io/is-default-class annotation to true on more than one StorageClass in your cluster, and you then create a PersistentVolumeClaim with no storageClassName set, Kubernetes uses the most recently created default StorageClass.Note:You should try to only have one StorageClass in your cluster that is marked as the default. The reason that Kubernetes allows you to have multiple default StorageClasses is to allow for seamless migration.You can create a PersistentVolumeClaim without specifying a storageClassName for the new PVC, and you can do so even when no default StorageClass exists in your cluster. In this case, the new PVC creates as you defined it, and the storageClassName of that PVC remains unset until a default becomes available.You can have a cluster without any default StorageClass. If you don't mark any StorageClass as default (and one hasn't been set for you by, for example, a cloud provider), then Kubernetes cannot apply that defaulting for PersistentVolumeClaims that need it.If or",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_qa_22593"
  },
  {
    "question": "How does Storage Classes work?",
    "answer": "Storage ClassesThis document describes the concept of a StorageClass in Kubernetes. Familiarity with volumes and persistent volumes is suggested.A StorageClass provides a way for administrators to describe the classes of storage they offer. Different classes might map to quality-of-service levels, or to backup policies, or to arbitrary policies determined by the cluster administrators. Kubernetes itself is unopinionated about what classes represent.The Kubernetes concept of a storage class is similar to “profiles” in some other storage system designs.StorageClass objectsEach StorageClass contains the fields provisioner, parameters, and reclaimPolicy, which are used when a PersistentVolume belonging to the class needs to be dynamically provisioned to satisfy a PersistentVolumeClaim (PVC).The name of a StorageClass object is significant, and is how users can request a particular class. Administrators set the name and other parameters of a class when first creating StorageClass objects.As an administrator, you can specify a default StorageClass that applies to any PVCs that don't request a specific class. For more details, see the PersistentVolumeClaim concept.Here's an example of a StorageClass:storage/storageclass-low-latency.yaml apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: low-latency annotations: storageclass.kubernetes.io/is-default-class: \"false\" provisioner: csi-driver.example-vendor.example reclaimPolicy: Retain # default value is Delete allowVolumeExpansion: true mountOptions: - discard # this might enable UNMAP / TRIM at the block storage layer volumeBindingMode: WaitForFirstConsumer parameters: guaranteedReadWriteLatency: \"true\" # provider-specific Default StorageClassYou can mark a StorageClass as the default for your cluster. For instructions on setting the default StorageClass, see Change the default StorageClass.When a PVC does not specify a storageClassName, the default StorageClass is used.If you set the storageclass.kubernetes.io/is-default-class annotation to true on more than one StorageClass in your cluster, and you then create a PersistentVolumeClaim with no storageClassName set, Kubernetes uses the most recently created default StorageClass.Note:You should try to only have one StorageClass in your cluster that is marked as the default. The reason that Kubernetes allows you to have multiple default StorageClasses is to allow for seamless migration.You can create a PersistentVolumeClaim without specifying a storageClassName for the new PVC, and you can do so even when no default StorageClass exists in your cluster. In this case, the new PVC creates as you defined it, and the storageClassName of that PVC remains unset until a default becomes available.You can have a cluster without any default StorageClass. If you don't mark any StorageClass as default (and one hasn't been set for you by, for example, a cloud provider), then Kubernetes cannot apply that defaulting for PersistentVolumeClaims that need it.If or",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_qa_22594"
  },
  {
    "question": "When would you use Storage Classes?",
    "answer": "Storage ClassesThis document describes the concept of a StorageClass in Kubernetes. Familiarity with volumes and persistent volumes is suggested.A StorageClass provides a way for administrators to describe the classes of storage they offer. Different classes might map to quality-of-service levels, or to backup policies, or to arbitrary policies determined by the cluster administrators. Kubernetes itself is unopinionated about what classes represent.The Kubernetes concept of a storage class is similar to “profiles” in some other storage system designs.StorageClass objectsEach StorageClass contains the fields provisioner, parameters, and reclaimPolicy, which are used when a PersistentVolume belonging to the class needs to be dynamically provisioned to satisfy a PersistentVolumeClaim (PVC).The name of a StorageClass object is significant, and is how users can request a particular class. Administrators set the name and other parameters of a class when first creating StorageClass objects.As an administrator, you can specify a default StorageClass that applies to any PVCs that don't request a specific class. For more details, see the PersistentVolumeClaim concept.Here's an example of a StorageClass:storage/storageclass-low-latency.yaml apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: low-latency annotations: storageclass.kubernetes.io/is-default-class: \"false\" provisioner: csi-driver.example-vendor.example reclaimPolicy: Retain # default value is Delete allowVolumeExpansion: true mountOptions: - discard # this might enable UNMAP / TRIM at the block storage layer volumeBindingMode: WaitForFirstConsumer parameters: guaranteedReadWriteLatency: \"true\" # provider-specific Default StorageClassYou can mark a StorageClass as the default for your cluster. For instructions on setting the default StorageClass, see Change the default StorageClass.When a PVC does not specify a storageClassName, the default StorageClass is used.If you set the storageclass.kubernetes.io/is-default-class annotation to true on more than one StorageClass in your cluster, and you then create a PersistentVolumeClaim with no storageClassName set, Kubernetes uses the most recently created default StorageClass.Note:You should try to only have one StorageClass in your cluster that is marked as the default. The reason that Kubernetes allows you to have multiple default StorageClasses is to allow for seamless migration.You can create a PersistentVolumeClaim without specifying a storageClassName for the new PVC, and you can do so even when no default StorageClass exists in your cluster. In this case, the new PVC creates as you defined it, and the storageClassName of that PVC remains unset until a default becomes available.You can have a cluster without any default StorageClass. If you don't mark any StorageClass as default (and one hasn't been set for you by, for example, a cloud provider), then Kubernetes cannot apply that defaulting for PersistentVolumeClaims that need it.If or",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_qa_22595"
  },
  {
    "question": "What are the benefits of Storage Classes?",
    "answer": "Storage ClassesThis document describes the concept of a StorageClass in Kubernetes. Familiarity with volumes and persistent volumes is suggested.A StorageClass provides a way for administrators to describe the classes of storage they offer. Different classes might map to quality-of-service levels, or to backup policies, or to arbitrary policies determined by the cluster administrators. Kubernetes itself is unopinionated about what classes represent.The Kubernetes concept of a storage class is similar to “profiles” in some other storage system designs.StorageClass objectsEach StorageClass contains the fields provisioner, parameters, and reclaimPolicy, which are used when a PersistentVolume belonging to the class needs to be dynamically provisioned to satisfy a PersistentVolumeClaim (PVC).The name of a StorageClass object is significant, and is how users can request a particular class. Administrators set the name and other parameters of a class when first creating StorageClass objects.As an administrator, you can specify a default StorageClass that applies to any PVCs that don't request a specific class. For more details, see the PersistentVolumeClaim concept.Here's an example of a StorageClass:storage/storageclass-low-latency.yaml apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: low-latency annotations: storageclass.kubernetes.io/is-default-class: \"false\" provisioner: csi-driver.example-vendor.example reclaimPolicy: Retain # default value is Delete allowVolumeExpansion: true mountOptions: - discard # this might enable UNMAP / TRIM at the block storage layer volumeBindingMode: WaitForFirstConsumer parameters: guaranteedReadWriteLatency: \"true\" # provider-specific Default StorageClassYou can mark a StorageClass as the default for your cluster. For instructions on setting the default StorageClass, see Change the default StorageClass.When a PVC does not specify a storageClassName, the default StorageClass is used.If you set the storageclass.kubernetes.io/is-default-class annotation to true on more than one StorageClass in your cluster, and you then create a PersistentVolumeClaim with no storageClassName set, Kubernetes uses the most recently created default StorageClass.Note:You should try to only have one StorageClass in your cluster that is marked as the default. The reason that Kubernetes allows you to have multiple default StorageClasses is to allow for seamless migration.You can create a PersistentVolumeClaim without specifying a storageClassName for the new PVC, and you can do so even when no default StorageClass exists in your cluster. In this case, the new PVC creates as you defined it, and the storageClassName of that PVC remains unset until a default becomes available.You can have a cluster without any default StorageClass. If you don't mark any StorageClass as default (and one hasn't been set for you by, for example, a cloud provider), then Kubernetes cannot apply that defaulting for PersistentVolumeClaims that need it.If or",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_qa_22596"
  },
  {
    "question": "What is Storage Classes?",
    "answer": "T h i s   d o c u m e n t   d e s c r i b e s   t h e   c o n c e p t   o f   a   S t o r a g e C l a s s   i n   K u b e r n e t e s .   F a m i l i a r i t y   w i t h   v o l u m e s   a n d   p e r s i s t e n t   v o l u m e s   i s   s u g g e s t e d .   A   S t o r a g e C l a s s   p r o v i d e s   a   w a y   f o r   a d m i n i s t r a t o r s   t o   d e s c r i b e   t h e   c l a s s e s   o f   s t o r a g e   t h e y   o f f e r .   D i f f e r e n t   c l a s s e s   m i g h t   m a p   t o   q u a l i t y - o f - s e r v i c e   l e v e l s ,   o r   t o   b a c k u p   p o l i c i e s ,   o r   t o   a r b i t r a r y   p o l i c i e s   d e t e r m i n e d   b y   t h e   c l u s t e r   a d m i n i s t r a t o r s .   K u b e r n e t e s   i t s e l f   i s   u n o p i n i o n a t e d   a b o u t   w h a t   c l a s s e s   r e p r e s e n t .   T h e   K u b e r n e t e s   c o n c e p t   o f   a   s t o r a g e   c l a s s   i s   s i m i l a r   t o   “ p r o f i l e s ”   i n   s o m e   o t h e r   s t o r a g e   s y s t e m   d e s i g n s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_section_1_22597"
  },
  {
    "question": "What is StorageClass objects?",
    "answer": "E a c h   S t o r a g e C l a s s   c o n t a i n s   t h e   f i e l d s   p r o v i s i o n e r ,   p a r a m e t e r s ,   a n d   r e c l a i m P o l i c y ,   w h i c h   a r e   u s e d   w h e n   a   P e r s i s t e n t V o l u m e   b e l o n g i n g   t o   t h e   c l a s s   n e e d s   t o   b e   d y n a m i c a l l y   p r o v i s i o n e d   t o   s a t i s f y   a   P e r s i s t e n t V o l u m e C l a i m   ( P V C ) .   T h e   n a m e   o f   a   S t o r a g e C l a s s   o b j e c t   i s   s i g n i f i c a n t ,   a n d   i s   h o w   u s e r s   c a n   r e q u e s t   a   p a r t i c u l a r   c l a s s .   A d m i n i s t r a t o r s   s e t   t h e   n a m e   a n d   o t h e r   p a r a m e t e r s   o f   a   c l a s s   w h e n   f i r s t   c r e a t i n g   S t o r a g e C l a s s   o b j e c t s .   A s   a n   a d m i n i s t r a t o r ,   y o u   c a n   s p e c i f y   a   d e f a u l t   S t o r a g e C l a s s   t h a t   a p p l i e s   t o   a n y   P V C s   t h a t   d o n ' t   r e q u e s t   a   s p e c i f i c   c l a s s .   F o r   m o r e   d e t a i l s ,   s e e   t h e   P e r s i s t e n t V o l u m e C l a i m   c o n c e p t .   H e r e ' s   a n   e x a m p l e   o f   a   S t o r a g e C l a s s :   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   l o w - l a t e n c y   a n n o t a t i o n s :   s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s :   \" f a l s e \"   p r o v i s i o n e r :   c s i - d r i v e r . e x a m p l e - v e n d o r . e x a m p l e   r e c l a i m P o l i c y :   R e t a i n   #   d e f a u l t   v a l u e   i s   D e l e t e   a l l o w V o l u m e E x p a n s i o n :   t r u e   m o u n t O p t i o n s :   -   d i s c a r d   #   t h i s   m i g h t   e n a b l e   U N M A P   /   T R I M   a t   t h e   b l o c k   s t o r a g e   l a y e r   v o l u m e B i n d i n ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_section_2_22598"
  },
  {
    "question": "What is Default StorageClass?",
    "answer": "Y o u   c a n   m a r k   a   S t o r a g e C l a s s   a s   t h e   d e f a u l t   f o r   y o u r   c l u s t e r .   F o r   i n s t r u c t i o n s   o n   s e t t i n g   t h e   d e f a u l t   S t o r a g e C l a s s ,   s e e   C h a n g e   t h e   d e f a u l t   S t o r a g e C l a s s .   W h e n   a   P V C   d o e s   n o t   s p e c i f y   a   s t o r a g e C l a s s N a m e ,   t h e   d e f a u l t   S t o r a g e C l a s s   i s   u s e d .   I f   y o u   s e t   t h e   s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s   a n n o t a t i o n   t o   t r u e   o n   m o r e   t h a n   o n e   S t o r a g e C l a s s   i n   y o u r   c l u s t e r ,   a n d   y o u   t h e n   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   w i t h   n o   s t o r a g e C l a s s N a m e   s e t ,   K u b e r n e t e s   u s e s   t h e   m o s t   r e c e n t l y   c r e a t e d   d e f a u l t   S t o r a g e C l a s s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_section_2_22599"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   w i t h o u t   s p e c i f y i n g   a   s t o r a g e C l a s s N a m e   f o r   t h e   n e w   P V C ,   a n d   y o u   c a n   d o   s o   e v e n   w h e n   n o   d e f a u l t   S t o r a g e C l a s s   e x i s t s   i n   y o u r   c l u s t e r .   I n   t h i s   c a s e ,   t h e   n e w   P V C   c r e a t e s   a s   y o u   d e f i n e d   i t ,   a n d   t h e   s t o r a g e C l a s s N a m e   o f   t h a t   P V C   r e m a i n s   u n s e t   u n t i l   a   d e f a u l t   b e c o m e s   a v a i l a b l e .   Y o u   c a n   h a v e   a   c l u s t e r   w i t h o u t   a n y   d e f a u l t   S t o r a g e C l a s s .   I f   y o u   d o n ' t   m a r k   a n y   S t o r a g e C l a s s   a s   d e f a u l t   ( a n d   o n e   h a s n ' t   b e e n   s e t   f o r   y o u   b y ,   f o r   e x a m p l e ,   a   c l o u d   p r o v i d e r ) ,   t h e n   K u b e r n e t e s   c a n n o t   a p p l y   t h a t   d e f a u l t i n g   f o r   P e r s i s t e n t V o l u m e C l a i m s   t h a t   n e e d   i t .   I f   o r   w h e n   a   d e f a u l t   S t o r a g e C l a s s   b e c o m e s   a v a i l a b l e ,   t h e   c o n t r o l   p l a n e   i d e n t i f i e s   a n y   e x i s t i n g   P V C s   w i t h o u t   s t o r a g e C l a s s N a m e .   F o r   t h e   P V C s   t h a t   e i t h e r   h a v e   a n   e m p t y   v a l u e   f o r   s t o r a g e C l a s s N a m e   o r   d o   n o t   h a v e   t h i s   k e y ,   t h e   c o n t r o l   p l a n e   t h e n   u p d a t e s   t h o s e   P V C s   t o   s e t   s t o r a g e C l a s s N a m e   t o   m a t c h   t h e   n e w   d e f a u l t   S t o r a g e C l a s s .   I f   y o u   h a v e   a n   e x i s t i n g   P V C   w h e r e   t h e   s t o r a g e C l a s s N a m e   i s   \" \" ,   a n d   y o u   c o n f i g u r e   a   d e f a u l t   S t o r a g e C l a s s ,   t h e n   t h ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_section_4_22600"
  },
  {
    "question": "What is Provisioner?",
    "answer": "E a c h   S t o r a g e C l a s s   h a s   a   p r o v i s i o n e r   t h a t   d e t e r m i n e s   w h a t   v o l u m e   p l u g i n   i s   u s e d   f o r   p r o v i s i o n i n g   P V s .   T h i s   f i e l d   m u s t   b e   s p e c i f i e d .   Y o u   a r e   n o t   r e s t r i c t e d   t o   s p e c i f y i n g   t h e   \" i n t e r n a l \"   p r o v i s i o n e r s   l i s t e d   h e r e   ( w h o s e   n a m e s   a r e   p r e f i x e d   w i t h   \" k u b e r n e t e s . i o \"   a n d   s h i p p e d   a l o n g s i d e   K u b e r n e t e s ) .   Y o u   c a n   a l s o   r u n   a n d   s p e c i f y   e x t e r n a l   p r o v i s i o n e r s ,   w h i c h   a r e   i n d e p e n d e n t   p r o g r a m s   t h a t   f o l l o w   a   s p e c i f i c a t i o n   d e f i n e d   b y   K u b e r n e t e s .   A u t h o r s   o f   e x t e r n a l   p r o v i s i o n e r s   h a v e   f u l l   d i s c r e t i o n   o v e r   w h e r e   t h e i r   c o d e   l i v e s ,   h o w   t h e   p r o v i s i o n e r   i s   s h i p p e d ,   h o w   i t   n e e d s   t o   b e   r u n ,   w h a t   v o l u m e   p l u g i n   i t   u s e s   ( i n c l u d i n g   F l e x ) ,   e t c .   T h e   r e p o s i t o r y   k u b e r n e t e s - s i g s / s i g - s t o r a g e - l i b - e x t e r n a l - p r o v i s i o n e r   h o u s e s   a   l i b r a r y   f o r   w r i t i n g   e x t e r n a l   p r o v i s i o n e r s   t h a t   i m p l e m e n t s   t h e   b u l k   o f   t h e   s p e c i f i c a t i o n .   S o m e   e x t e r n a l   p r o v i s i o n e r s   a r e   l i s t e d   u n d e r   t h e   r e p o s i t o r y   k u b e r n e t e s - s i g s / s i g - s t o r a g e - l i b - e x t e r n a l - p r o v i s i o n e r .   F o r   e x a m p l e ,   N F S   d o e s n ' t   p r o v i d e   a n   i n t e r n a l   p r o v i s i o n e r ,   b u t   a n   e x t e r n a l   p r o v i s i o n e r   c a n   b e   u s e d .   T h e r e   a r e ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_section_2_22601"
  },
  {
    "question": "What is Reclaim policy?",
    "answer": "P e r s i s t e n t V o l u m e s   t h a t   a r e   d y n a m i c a l l y   c r e a t e d   b y   a   S t o r a g e C l a s s   w i l l   h a v e   t h e   r e c l a i m   p o l i c y   s p e c i f i e d   i n   t h e   r e c l a i m P o l i c y   f i e l d   o f   t h e   c l a s s ,   w h i c h   c a n   b e   e i t h e r   D e l e t e   o r   R e t a i n .   I f   n o   r e c l a i m P o l i c y   i s   s p e c i f i e d   w h e n   a   S t o r a g e C l a s s   o b j e c t   i s   c r e a t e d ,   i t   w i l l   d e f a u l t   t o   D e l e t e .   P e r s i s t e n t V o l u m e s   t h a t   a r e   c r e a t e d   m a n u a l l y   a n d   m a n a g e d   v i a   a   S t o r a g e C l a s s   w i l l   h a v e   w h a t e v e r   r e c l a i m   p o l i c y   t h e y   w e r e   a s s i g n e d   a t   c r e a t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_section_2_22602"
  },
  {
    "question": "What is Volume expansion?",
    "answer": "P e r s i s t e n t V o l u m e s   c a n   b e   c o n f i g u r e d   t o   b e   e x p a n d a b l e .   T h i s   a l l o w s   y o u   t o   r e s i z e   t h e   v o l u m e   b y   e d i t i n g   t h e   c o r r e s p o n d i n g   P V C   o b j e c t ,   r e q u e s t i n g   a   n e w   l a r g e r   a m o u n t   o f   s t o r a g e .   T h e   f o l l o w i n g   t y p e s   o f   v o l u m e s   s u p p o r t   v o l u m e   e x p a n s i o n ,   w h e n   t h e   u n d e r l y i n g   S t o r a g e C l a s s   h a s   t h e   f i e l d   a l l o w V o l u m e E x p a n s i o n   s e t   t o   t r u e .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_section_2_22603"
  },
  {
    "question": "What is Mount options?",
    "answer": "P e r s i s t e n t V o l u m e s   t h a t   a r e   d y n a m i c a l l y   c r e a t e d   b y   a   S t o r a g e C l a s s   w i l l   h a v e   t h e   m o u n t   o p t i o n s   s p e c i f i e d   i n   t h e   m o u n t O p t i o n s   f i e l d   o f   t h e   c l a s s .   I f   t h e   v o l u m e   p l u g i n   d o e s   n o t   s u p p o r t   m o u n t   o p t i o n s   b u t   m o u n t   o p t i o n s   a r e   s p e c i f i e d ,   p r o v i s i o n i n g   w i l l   f a i l .   M o u n t   o p t i o n s   a r e   n o t   v a l i d a t e d   o n   e i t h e r   t h e   c l a s s   o r   P V .   I f   a   m o u n t   o p t i o n   i s   i n v a l i d ,   t h e   P V   m o u n t   f a i l s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_section_2_22604"
  },
  {
    "question": "What is Volume binding mode?",
    "answer": "T h e   v o l u m e B i n d i n g M o d e   f i e l d   c o n t r o l s   w h e n   v o l u m e   b i n d i n g   a n d   d y n a m i c   p r o v i s i o n i n g   s h o u l d   o c c u r .   W h e n   u n s e t ,   I m m e d i a t e   m o d e   i s   u s e d   b y   d e f a u l t .   T h e   I m m e d i a t e   m o d e   i n d i c a t e s   t h a t   v o l u m e   b i n d i n g   a n d   d y n a m i c   p r o v i s i o n i n g   o c c u r s   o n c e   t h e   P e r s i s t e n t V o l u m e C l a i m   i s   c r e a t e d .   F o r   s t o r a g e   b a c k e n d s   t h a t   a r e   t o p o l o g y - c o n s t r a i n e d   a n d   n o t   g l o b a l l y   a c c e s s i b l e   f r o m   a l l   N o d e s   i n   t h e   c l u s t e r ,   P e r s i s t e n t V o l u m e s   w i l l   b e   b o u n d   o r   p r o v i s i o n e d   w i t h o u t   k n o w l e d g e   o f   t h e   P o d ' s   s c h e d u l i n g   r e q u i r e m e n t s .   T h i s   m a y   r e s u l t   i n   u n s c h e d u l a b l e   P o d s .   A   c l u s t e r   a d m i n i s t r a t o r   c a n   a d d r e s s   t h i s   i s s u e   b y   s p e c i f y i n g   t h e   W a i t F o r F i r s t C o n s u m e r   m o d e   w h i c h   w i l l   d e l a y   t h e   b i n d i n g   a n d   p r o v i s i o n i n g   o f   a   P e r s i s t e n t V o l u m e   u n t i l   a   P o d   u s i n g   t h e   P e r s i s t e n t V o l u m e C l a i m   i s   c r e a t e d .   P e r s i s t e n t V o l u m e s   w i l l   b e   s e l e c t e d   o r   p r o v i s i o n e d   c o n f o r m i n g   t o   t h e   t o p o l o g y   t h a t   i s   s p e c i f i e d   b y   t h e   P o d ' s   s c h e d u l i n g   c o n s t r a i n t s .   T h e s e   i n c l u d e ,   b u t   a r e   n o t   l i m i t e d   t o ,   r e s o u r c e   r e q u i r e m e n t s ,   n o d e   s e l e c t o r s ,   p o d   a f f i n i t y   a n d   a n t i - a f f i n i t y ,   a n d   t a i n t s   a n d   t o l e r a t i o ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_section_2_22605"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   c h o o s e   t o   u s e   W a i t F o r F i r s t C o n s u m e r ,   d o   n o t   u s e   n o d e N a m e   i n   t h e   P o d   s p e c   t o   s p e c i f y   n o d e   a f f i n i t y .   I f   n o d e N a m e   i s   u s e d   i n   t h i s   c a s e ,   t h e   s c h e d u l e r   w i l l   b e   b y p a s s e d   a n d   P V C   w i l l   r e m a i n   i n   p e n d i n g   s t a t e .   I n s t e a d ,   y o u   c a n   u s e   n o d e   s e l e c t o r   f o r   k u b e r n e t e s . i o / h o s t n a m e :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   t a s k - p v - p o d   s p e c :   n o d e S e l e c t o r :   k u b e r n e t e s . i o / h o s t n a m e :   k u b e - 0 1   v o l u m e s :   -   n a m e :   t a s k - p v - s t o r a g e   p e r s i s t e n t V o l u m e C l a i m :   c l a i m N a m e :   t a s k - p v - c l a i m   c o n t a i n e r s :   -   n a m e :   t a s k - p v - c o n t a i n e r   i m a g e :   n g i n x   p o r t s :   -   c o n t a i n e r P o r t :   8 0   n a m e :   \" h t t p - s e r v e r \"   v o l u m e M o u n t s :   -   m o u n t P a t h :   \" / u s r / s h a r e / n g i n x / h t m l \"   n a m e :   t a s k - p v - s t o r a g e",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_section_4_22606"
  },
  {
    "question": "What is Allowed topologies?",
    "answer": "W h e n   a   c l u s t e r   o p e r a t o r   s p e c i f i e s   t h e   W a i t F o r F i r s t C o n s u m e r   v o l u m e   b i n d i n g   m o d e ,   i t   i s   n o   l o n g e r   n e c e s s a r y   t o   r e s t r i c t   p r o v i s i o n i n g   t o   s p e c i f i c   t o p o l o g i e s   i n   m o s t   s i t u a t i o n s .   H o w e v e r ,   i f   s t i l l   r e q u i r e d ,   a l l o w e d T o p o l o g i e s   c a n   b e   s p e c i f i e d .   T h i s   e x a m p l e   d e m o n s t r a t e s   h o w   t o   r e s t r i c t   t h e   t o p o l o g y   o f   p r o v i s i o n e d   v o l u m e s   t o   s p e c i f i c   z o n e s   a n d   s h o u l d   b e   u s e d   a s   a   r e p l a c e m e n t   f o r   t h e   z o n e   a n d   z o n e s   p a r a m e t e r s   f o r   t h e   s u p p o r t e d   p l u g i n s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   s t a n d a r d   p r o v i s i o n e r :   e x a m p l e . c o m / e x a m p l e   p a r a m e t e r s :   t y p e :   p d - s t a n d a r d   v o l u m e B i n d i n g M o d e :   W a i t F o r F i r s t C o n s u m e r   a l l o w e d T o p o l o g i e s :   -   m a t c h L a b e l E x p r e s s i o n s :   -   k e y :   t o p o l o g y . k u b e r n e t e s . i o / z o n e   v a l u e s :   -   u s - c e n t r a l - 1 a   -   u s - c e n t r a l - 1 b",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_section_2_22607"
  },
  {
    "question": "What is Parameters?",
    "answer": "S t o r a g e C l a s s e s   h a v e   p a r a m e t e r s   t h a t   d e s c r i b e   v o l u m e s   b e l o n g i n g   t o   t h e   s t o r a g e   c l a s s .   D i f f e r e n t   p a r a m e t e r s   m a y   b e   a c c e p t e d   d e p e n d i n g   o n   t h e   p r o v i s i o n e r .   W h e n   a   p a r a m e t e r   i s   o m i t t e d ,   s o m e   d e f a u l t   i s   u s e d .   T h e r e   c a n   b e   a t   m o s t   5 1 2   p a r a m e t e r s   d e f i n e d   f o r   a   S t o r a g e C l a s s .   T h e   t o t a l   l e n g t h   o f   t h e   p a r a m e t e r s   o b j e c t   i n c l u d i n g   i t s   k e y s   a n d   v a l u e s   c a n n o t   e x c e e d   2 5 6   K i B .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_section_2_22608"
  },
  {
    "question": "What is AWS EBS?",
    "answer": "K u b e r n e t e s   1 . 3 4   d o e s   n o t   i n c l u d e   a   a w s E l a s t i c B l o c k S t o r e   v o l u m e   t y p e .   T h e   A W S E l a s t i c B l o c k S t o r e   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 1 9   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 2 7   r e l e a s e .   T h e   K u b e r n e t e s   p r o j e c t   s u g g e s t s   t h a t   y o u   u s e   t h e   A W S   E B S   o u t - o f - t r e e   s t o r a g e   d r i v e r   i n s t e a d .   H e r e   i s   a n   e x a m p l e   S t o r a g e C l a s s   f o r   t h e   A W S   E B S   C S I   d r i v e r :   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   e b s - s c   p r o v i s i o n e r :   e b s . c s i . a w s . c o m   v o l u m e B i n d i n g M o d e :   W a i t F o r F i r s t C o n s u m e r   p a r a m e t e r s :   c s i . s t o r a g e . k 8 s . i o / f s t y p e :   x f s   t y p e :   i o 1   i o p s P e r G B :   \" 5 0 \"   e n c r y p t e d :   \" t r u e \"   t a g S p e c i f i c a t i o n _ 1 :   \" k e y 1 = v a l u e 1 \"   t a g S p e c i f i c a t i o n _ 2 :   \" k e y 2 = v a l u e 2 \"   a l l o w e d T o p o l o g i e s :   -   m a t c h L a b e l E x p r e s s i o n s :   -   k e y :   t o p o l o g y . e b s . c s i . a w s . c o m / z o n e   v a l u e s :   -   u s - e a s t - 2 c   t a g S p e c i f i c a t i o n :   T a g s   w i t h   t h i s   p r e f i x   a r e   a p p l i e d   t o   d y n a m i c a l l y   p r o v i s i o n e d   E B S   v o l u m e s .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_section_3_22609"
  },
  {
    "question": "What is AWS EFS?",
    "answer": "T o   c o n f i g u r e   A W S   E F S   s t o r a g e ,   y o u   c a n   u s e   t h e   o u t - o f - t r e e   A W S _ E F S _ C S I _ D R I V E R .   k i n d :   S t o r a g e C l a s s   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   m e t a d a t a :   n a m e :   e f s - s c   p r o v i s i o n e r :   e f s . c s i . a w s . c o m   p a r a m e t e r s :   p r o v i s i o n i n g M o d e :   e f s - a p   f i l e S y s t e m I d :   f s - 9 2 1 0 7 4 1 0   d i r e c t o r y P e r m s :   \" 7 0 0 \"   p r o v i s i o n i n g M o d e :   T h e   t y p e   o f   v o l u m e   t o   b e   p r o v i s i o n e d   b y   A m a z o n   E F S .   C u r r e n t l y ,   o n l y   a c c e s s   p o i n t   b a s e d   p r o v i s i o n i n g   i s   s u p p o r t e d   ( e f s - a p ) . f i l e S y s t e m I d :   T h e   f i l e   s y s t e m   u n d e r   w h i c h   t h e   a c c e s s   p o i n t   i s   c r e a t e d . d i r e c t o r y P e r m s :   T h e   d i r e c t o r y   p e r m i s s i o n s   o f   t h e   r o o t   d i r e c t o r y   c r e a t e d   b y   t h e   a c c e s s   p o i n t .   F o r   m o r e   d e t a i l s ,   r e f e r   t o   t h e   A W S _ E F S _ C S I _ D r i v e r   D y n a m i c   P r o v i s i o n i n g   d o c u m e n t a t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_section_3_22610"
  },
  {
    "question": "What is NFS?",
    "answer": "T o   c o n f i g u r e   N F S   s t o r a g e ,   y o u   c a n   u s e   t h e   i n - t r e e   d r i v e r   o r   t h e   N F S   C S I   d r i v e r   f o r   K u b e r n e t e s   ( r e c o m m e n d e d ) .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   e x a m p l e - n f s   p r o v i s i o n e r :   e x a m p l e . c o m / e x t e r n a l - n f s   p a r a m e t e r s :   s e r v e r :   n f s - s e r v e r . e x a m p l e . c o m   p a t h :   / s h a r e   r e a d O n l y :   \" f a l s e \"   s e r v e r :   S e r v e r   i s   t h e   h o s t n a m e   o r   I P   a d d r e s s   o f   t h e   N F S   s e r v e r . p a t h :   P a t h   t h a t   i s   e x p o r t e d   b y   t h e   N F S   s e r v e r . r e a d O n l y :   A   f l a g   i n d i c a t i n g   w h e t h e r   t h e   s t o r a g e   w i l l   b e   m o u n t e d   a s   r e a d   o n l y   ( d e f a u l t   f a l s e ) .   K u b e r n e t e s   d o e s n ' t   i n c l u d e   a n   i n t e r n a l   N F S   p r o v i s i o n e r .   Y o u   n e e d   t o   u s e   a n   e x t e r n a l   p r o v i s i o n e r   t o   c r e a t e   a   S t o r a g e C l a s s   f o r   N F S .   H e r e   a r e   s o m e   e x a m p l e s :   N F S   G a n e s h a   s e r v e r   a n d   e x t e r n a l   p r o v i s i o n e r N F S   s u b d i r   e x t e r n a l   p r o v i s i o n e r",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_section_3_22611"
  },
  {
    "question": "What is vSphere?",
    "answer": "T h e r e   a r e   t w o   t y p e s   o f   p r o v i s i o n e r s   f o r   v S p h e r e   s t o r a g e   c l a s s e s :   C S I   p r o v i s i o n e r :   c s i . v s p h e r e . v m w a r e . c o m v C P   p r o v i s i o n e r :   k u b e r n e t e s . i o / v s p h e r e - v o l u m e   I n - t r e e   p r o v i s i o n e r s   a r e   d e p r e c a t e d .   F o r   m o r e   i n f o r m a t i o n   o n   t h e   C S I   p r o v i s i o n e r ,   s e e   K u b e r n e t e s   v S p h e r e   C S I   D r i v e r   a n d   v S p h e r e V o l u m e   C S I   m i g r a t i o n .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_section_3_22612"
  },
  {
    "question": "What is CSI Provisioner?",
    "answer": "T h e   v S p h e r e   C S I   S t o r a g e C l a s s   p r o v i s i o n e r   w o r k s   w i t h   T a n z u   K u b e r n e t e s   c l u s t e r s .   F o r   a n   e x a m p l e ,   r e f e r   t o   t h e   v S p h e r e   C S I   r e p o s i t o r y .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_section_4_22613"
  },
  {
    "question": "What is vCP Provisioner?",
    "answer": "T h e   f o l l o w i n g   e x a m p l e s   u s e   t h e   V M w a r e   C l o u d   P r o v i d e r   ( v C P )   S t o r a g e C l a s s   p r o v i s i o n e r .   C r e a t e   a   S t o r a g e C l a s s   w i t h   a   u s e r   s p e c i f i e d   d i s k   f o r m a t . a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   f a s t   p r o v i s i o n e r :   k u b e r n e t e s . i o / v s p h e r e - v o l u m e   p a r a m e t e r s :   d i s k f o r m a t :   z e r o e d t h i c k   d i s k f o r m a t :   t h i n ,   z e r o e d t h i c k   a n d   e a g e r z e r o e d t h i c k .   D e f a u l t :   \" t h i n \" . C r e a t e   a   S t o r a g e C l a s s   w i t h   a   d i s k   f o r m a t   o n   a   u s e r   s p e c i f i e d   d a t a s t o r e . a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   f a s t   p r o v i s i o n e r :   k u b e r n e t e s . i o / v s p h e r e - v o l u m e   p a r a m e t e r s :   d i s k f o r m a t :   z e r o e d t h i c k   d a t a s t o r e :   V S A N D a t a s t o r e   d a t a s t o r e :   T h e   u s e r   c a n   a l s o   s p e c i f y   t h e   d a t a s t o r e   i n   t h e   S t o r a g e C l a s s .   T h e   v o l u m e   w i l l   b e   c r e a t e d   o n   t h e   d a t a s t o r e   s p e c i f i e d   i n   t h e   S t o r a g e C l a s s ,   w h i c h   i n   t h i s   c a s e   i s   V S A N D a t a s t o r e .   T h i s   f i e l d   i s   o p t i o n a l .   I f   t h e   d a t a s t o r e   i s   n o t   s p e c i f i e d ,   t h e n   t h e   v o l u m e   w i l l   b e   c r e a t e d   o n   t h e   d a t a s t o r e   s p e c i f i e d   i n   t h e   v S p h e r e   c o n f i g   f i l e   u s e d   t o   i n i t i a l i z e   t h e   v S p h e r e   C l o u d   P r o v i d e r . S t o r a g e   P o l i c y   M a n a g e m e n ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_section_4_22614"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   i n t e r n a l   p r o v i s i o n e r   o f   C e p h   R B D   i s   d e p r e c a t e d .   P l e a s e   u s e   C e p h F S   R B D   C S I   d r i v e r .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   f a s t   p r o v i s i o n e r :   k u b e r n e t e s . i o / r b d   #   T h i s   p r o v i s i o n e r   i s   d e p r e c a t e d   p a r a m e t e r s :   m o n i t o r s :   1 9 8 . 1 9 . 2 5 4 . 1 0 5 : 6 7 8 9   a d m i n I d :   k u b e   a d m i n S e c r e t N a m e :   c e p h - s e c r e t   a d m i n S e c r e t N a m e s p a c e :   k u b e - s y s t e m   p o o l :   k u b e   u s e r I d :   k u b e   u s e r S e c r e t N a m e :   c e p h - s e c r e t - u s e r   u s e r S e c r e t N a m e s p a c e :   d e f a u l t   f s T y p e :   e x t 4   i m a g e F o r m a t :   \" 2 \"   i m a g e F e a t u r e s :   \" l a y e r i n g \"   m o n i t o r s :   C e p h   m o n i t o r s ,   c o m m a   d e l i m i t e d .   T h i s   p a r a m e t e r   i s   r e q u i r e d . a d m i n I d :   C e p h   c l i e n t   I D   t h a t   i s   c a p a b l e   o f   c r e a t i n g   i m a g e s   i n   t h e   p o o l .   D e f a u l t   i s   \" a d m i n \" . a d m i n S e c r e t N a m e :   S e c r e t   N a m e   f o r   a d m i n I d .   T h i s   p a r a m e t e r   i s   r e q u i r e d .   T h e   p r o v i d e d   s e c r e t   m u s t   h a v e   t y p e   \" k u b e r n e t e s . i o / r b d \" . a d m i n S e c r e t N a m e s p a c e :   T h e   n a m e s p a c e   f o r   a d m i n S e c r e t N a m e .   D e f a u l t   i s   \" d e f a u l t \" . p o o l :   C e p h   R B D   p o o l .   D e f a u l t   i s   \" r b d \" . u s e r I d :   C e p h   c l i e n t   I D   t h a t   i s   u s e d   t o   m a p   t h e   R B D   i m a g e .   D e f a u l t   i s   t h e   s a m e   a s   a d m i n I d . u s e r S e c r e t N a m e :   T h e   n a m e   o f   ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_section_4_22615"
  },
  {
    "question": "What is Azure Disk?",
    "answer": "K u b e r n e t e s   1 . 3 4   d o e s   n o t   i n c l u d e   a   a z u r e D i s k   v o l u m e   t y p e .   T h e   a z u r e D i s k   i n - t r e e   s t o r a g e   d r i v e r   w a s   d e p r e c a t e d   i n   t h e   K u b e r n e t e s   v 1 . 1 9   r e l e a s e   a n d   t h e n   r e m o v e d   e n t i r e l y   i n   t h e   v 1 . 2 7   r e l e a s e .   T h e   K u b e r n e t e s   p r o j e c t   s u g g e s t s   t h a t   y o u   u s e   t h e   A z u r e   D i s k   t h i r d   p a r t y   s t o r a g e   d r i v e r   i n s t e a d .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_section_3_22616"
  },
  {
    "question": "What is Azure File (deprecated)?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   a z u r e f i l e   p r o v i s i o n e r :   k u b e r n e t e s . i o / a z u r e - f i l e   p a r a m e t e r s :   s k u N a m e :   S t a n d a r d _ L R S   l o c a t i o n :   e a s t u s   s t o r a g e A c c o u n t :   a z u r e _ s t o r a g e _ a c c o u n t _ n a m e   #   e x a m p l e   v a l u e   s k u N a m e :   A z u r e   s t o r a g e   a c c o u n t   S K U   t i e r .   D e f a u l t   i s   e m p t y . l o c a t i o n :   A z u r e   s t o r a g e   a c c o u n t   l o c a t i o n .   D e f a u l t   i s   e m p t y . s t o r a g e A c c o u n t :   A z u r e   s t o r a g e   a c c o u n t   n a m e .   D e f a u l t   i s   e m p t y .   I f   a   s t o r a g e   a c c o u n t   i s   n o t   p r o v i d e d ,   a l l   s t o r a g e   a c c o u n t s   a s s o c i a t e d   w i t h   t h e   r e s o u r c e   g r o u p   a r e   s e a r c h e d   t o   f i n d   o n e   t h a t   m a t c h e s   s k u N a m e   a n d   l o c a t i o n .   I f   a   s t o r a g e   a c c o u n t   i s   p r o v i d e d ,   i t   m u s t   r e s i d e   i n   t h e   s a m e   r e s o u r c e   g r o u p   a s   t h e   c l u s t e r ,   a n d   s k u N a m e   a n d   l o c a t i o n   a r e   i g n o r e d . s e c r e t N a m e s p a c e :   t h e   n a m e s p a c e   o f   t h e   s e c r e t   t h a t   c o n t a i n s   t h e   A z u r e   S t o r a g e   A c c o u n t   N a m e   a n d   K e y .   D e f a u l t   i s   t h e   s a m e   a s   t h e   P o d . s e c r e t N a m e :   t h e   n a m e   o f   t h e   s e c r e t   t h a t   c o n t a i n s   t h e   A z u r e   S t o r a g e   A c c o u n t   N a m e   a n d   K e y .   D e f a u l t   i s   a z u r e - s t o r a g e - a c c o u n t - < a c c o u n t N a m e > - s e c r e t r e a d O n l y :   a   f l a g   i n d i c a t i n g   w h e t h e r   t h e   s t o ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_section_3_22617"
  },
  {
    "question": "What is Portworx volume (deprecated)?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   p o r t w o r x - i o - p r i o r i t y - h i g h   p r o v i s i o n e r :   k u b e r n e t e s . i o / p o r t w o r x - v o l u m e   #   T h i s   p r o v i s i o n e r   i s   d e p r e c a t e d   p a r a m e t e r s :   r e p l :   \" 1 \"   s n a p _ i n t e r v a l :   \" 7 0 \"   p r i o r i t y _ i o :   \" h i g h \"   f s :   f i l e s y s t e m   t o   b e   l a i d   o u t :   n o n e / x f s / e x t 4   ( d e f a u l t :   e x t 4 ) . b l o c k _ s i z e :   b l o c k   s i z e   i n   K b y t e s   ( d e f a u l t :   3 2 ) . r e p l :   n u m b e r   o f   s y n c h r o n o u s   r e p l i c a s   t o   b e   p r o v i d e d   i n   t h e   f o r m   o f   r e p l i c a t i o n   f a c t o r   1 . . 3   ( d e f a u l t :   1 )   A   s t r i n g   i s   e x p e c t e d   h e r e   i . e .   \" 1 \"   a n d   n o t   1 . p r i o r i t y _ i o :   d e t e r m i n e s   w h e t h e r   t h e   v o l u m e   w i l l   b e   c r e a t e d   f r o m   h i g h e r   p e r f o r m a n c e   o r   a   l o w e r   p r i o r i t y   s t o r a g e   h i g h / m e d i u m / l o w   ( d e f a u l t :   l o w ) . s n a p _ i n t e r v a l :   c l o c k / t i m e   i n t e r v a l   i n   m i n u t e s   f o r   w h e n   t o   t r i g g e r   s n a p s h o t s .   S n a p s h o t s   a r e   i n c r e m e n t a l   b a s e d   o n   d i f f e r e n c e   w i t h   t h e   p r i o r   s n a p s h o t ,   0   d i s a b l e s   s n a p s   ( d e f a u l t :   0 ) .   A   s t r i n g   i s   e x p e c t e d   h e r e   i . e .   \" 7 0 \"   a n d   n o t   7 0 . a g g r e g a t i o n _ l e v e l :   s p e c i f i e s   t h e   n u m b e r   o f   c h u n k s   t h e   v o l u m e   w o u l d   b e   d i s t r i b u t e d   i n t o ,   0   i n d i c a t e s   a   n o n - a g g r e g a t e d   v o l u m e   ( d e f a u l t :   0 ) .   A   s t r i n g ",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_section_3_22618"
  },
  {
    "question": "What is Local?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   l o c a l - s t o r a g e   p r o v i s i o n e r :   k u b e r n e t e s . i o / n o - p r o v i s i o n e r   #   i n d i c a t e s   t h a t   t h i s   S t o r a g e C l a s s   d o e s   n o t   s u p p o r t   a u t o m a t i c   p r o v i s i o n i n g   v o l u m e B i n d i n g M o d e :   W a i t F o r F i r s t C o n s u m e r   L o c a l   v o l u m e s   d o   n o t   s u p p o r t   d y n a m i c   p r o v i s i o n i n g   i n   K u b e r n e t e s   1 . 3 4 ;   h o w e v e r   a   S t o r a g e C l a s s   s h o u l d   s t i l l   b e   c r e a t e d   t o   d e l a y   v o l u m e   b i n d i n g   u n t i l   a   P o d   i s   a c t u a l l y   s c h e d u l e d   t o   t h e   a p p r o p r i a t e   n o d e .   T h i s   i s   s p e c i f i e d   b y   t h e   W a i t F o r F i r s t C o n s u m e r   v o l u m e   b i n d i n g   m o d e .   D e l a y i n g   v o l u m e   b i n d i n g   a l l o w s   t h e   s c h e d u l e r   t o   c o n s i d e r   a l l   o f   a   P o d ' s   s c h e d u l i n g   c o n s t r a i n t s   w h e n   c h o o s i n g   a n   a p p r o p r i a t e   P e r s i s t e n t V o l u m e   f o r   a   P e r s i s t e n t V o l u m e C l a i m .",
    "category": "concepts",
    "subcategory": "storage",
    "source": "https://kubernetes.io/docs/concepts/storage/storage-classes",
    "id": "k8s_00786_section_3_22619"
  },
  {
    "question": "What is Labels and Selectors?",
    "answer": "Labels and SelectorsLabels are key/value pairs that are attached to objects such as Pods. Labels are intended to be used to specify identifying attributes of objects that are meaningful and relevant to users, but do not directly imply semantics to the core system. Labels can be used to organize and to select subsets of objects. Labels can be attached to objects at creation time and subsequently added and modified at any time. Each object can have a set of key/value labels defined. Each Key must be unique for a given object.\"metadata\": { \"labels\": { \"key1\" : \"value1\", \"key2\" : \"value2\" } } Labels allow for efficient queries and watches and are ideal for use in UIs and CLIs. Non-identifying information should be recorded using annotations.MotivationLabels enable users to map their own organizational structures onto system objects in a loosely coupled fashion, without requiring clients to store these mappings.Service deployments and batch processing pipelines are often multi-dimensional entities (e.g., multiple partitions or deployments, multiple release tracks, multiple tiers, multiple micro-services per tier). Management often requires cross-cutting operations, which breaks encapsulation of strictly hierarchical representations, especially rigid hierarchies determined by the infrastructure rather than by users.Example labels:\"release\" : \"stable\", \"release\" : \"canary\"\"environment\" : \"dev\", \"environment\" : \"qa\", \"environment\" : \"production\"\"tier\" : \"frontend\", \"tier\" : \"backend\", \"tier\" : \"cache\"\"partition\" : \"customerA\", \"partition\" : \"customerB\"\"track\" : \"daily\", \"track\" : \"weekly\"These are examples of commonly used labels; you are free to develop your own conventions. Keep in mind that label Key must be unique for a given object.Syntax and character setLabels are key/value pairs. Valid label keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/).If the prefix is omitted, the label Key is presumed to be private to the user. Automated system components (e.g. kube-scheduler, kube-controller-manager, kube-apiserver, kubectl, or other third-party automation) which add labels to end-user objects must specify a prefix.The kubernetes.io/ and k8s.io/ prefixes are reserved for Kubernetes core components.Valid label value:must be 63 characters or less (can be empty),unless empty, must begin and end with an alphanumeric character ([a-z0-9A-Z]),could contain dashes (-), underscores (_), dots (.), and alphanumerics between.For example, here's a manifest for a Pod that has two labels environment: production and app: nginx:apiVersion: v1 kind: Pod metadata: na",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels",
    "id": "k8s_00787_qa_22620"
  },
  {
    "question": "How does Labels and Selectors work?",
    "answer": "Labels and SelectorsLabels are key/value pairs that are attached to objects such as Pods. Labels are intended to be used to specify identifying attributes of objects that are meaningful and relevant to users, but do not directly imply semantics to the core system. Labels can be used to organize and to select subsets of objects. Labels can be attached to objects at creation time and subsequently added and modified at any time. Each object can have a set of key/value labels defined. Each Key must be unique for a given object.\"metadata\": { \"labels\": { \"key1\" : \"value1\", \"key2\" : \"value2\" } } Labels allow for efficient queries and watches and are ideal for use in UIs and CLIs. Non-identifying information should be recorded using annotations.MotivationLabels enable users to map their own organizational structures onto system objects in a loosely coupled fashion, without requiring clients to store these mappings.Service deployments and batch processing pipelines are often multi-dimensional entities (e.g., multiple partitions or deployments, multiple release tracks, multiple tiers, multiple micro-services per tier). Management often requires cross-cutting operations, which breaks encapsulation of strictly hierarchical representations, especially rigid hierarchies determined by the infrastructure rather than by users.Example labels:\"release\" : \"stable\", \"release\" : \"canary\"\"environment\" : \"dev\", \"environment\" : \"qa\", \"environment\" : \"production\"\"tier\" : \"frontend\", \"tier\" : \"backend\", \"tier\" : \"cache\"\"partition\" : \"customerA\", \"partition\" : \"customerB\"\"track\" : \"daily\", \"track\" : \"weekly\"These are examples of commonly used labels; you are free to develop your own conventions. Keep in mind that label Key must be unique for a given object.Syntax and character setLabels are key/value pairs. Valid label keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/).If the prefix is omitted, the label Key is presumed to be private to the user. Automated system components (e.g. kube-scheduler, kube-controller-manager, kube-apiserver, kubectl, or other third-party automation) which add labels to end-user objects must specify a prefix.The kubernetes.io/ and k8s.io/ prefixes are reserved for Kubernetes core components.Valid label value:must be 63 characters or less (can be empty),unless empty, must begin and end with an alphanumeric character ([a-z0-9A-Z]),could contain dashes (-), underscores (_), dots (.), and alphanumerics between.For example, here's a manifest for a Pod that has two labels environment: production and app: nginx:apiVersion: v1 kind: Pod metadata: na",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels",
    "id": "k8s_00787_qa_22621"
  },
  {
    "question": "When would you use Labels and Selectors?",
    "answer": "Labels and SelectorsLabels are key/value pairs that are attached to objects such as Pods. Labels are intended to be used to specify identifying attributes of objects that are meaningful and relevant to users, but do not directly imply semantics to the core system. Labels can be used to organize and to select subsets of objects. Labels can be attached to objects at creation time and subsequently added and modified at any time. Each object can have a set of key/value labels defined. Each Key must be unique for a given object.\"metadata\": { \"labels\": { \"key1\" : \"value1\", \"key2\" : \"value2\" } } Labels allow for efficient queries and watches and are ideal for use in UIs and CLIs. Non-identifying information should be recorded using annotations.MotivationLabels enable users to map their own organizational structures onto system objects in a loosely coupled fashion, without requiring clients to store these mappings.Service deployments and batch processing pipelines are often multi-dimensional entities (e.g., multiple partitions or deployments, multiple release tracks, multiple tiers, multiple micro-services per tier). Management often requires cross-cutting operations, which breaks encapsulation of strictly hierarchical representations, especially rigid hierarchies determined by the infrastructure rather than by users.Example labels:\"release\" : \"stable\", \"release\" : \"canary\"\"environment\" : \"dev\", \"environment\" : \"qa\", \"environment\" : \"production\"\"tier\" : \"frontend\", \"tier\" : \"backend\", \"tier\" : \"cache\"\"partition\" : \"customerA\", \"partition\" : \"customerB\"\"track\" : \"daily\", \"track\" : \"weekly\"These are examples of commonly used labels; you are free to develop your own conventions. Keep in mind that label Key must be unique for a given object.Syntax and character setLabels are key/value pairs. Valid label keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/).If the prefix is omitted, the label Key is presumed to be private to the user. Automated system components (e.g. kube-scheduler, kube-controller-manager, kube-apiserver, kubectl, or other third-party automation) which add labels to end-user objects must specify a prefix.The kubernetes.io/ and k8s.io/ prefixes are reserved for Kubernetes core components.Valid label value:must be 63 characters or less (can be empty),unless empty, must begin and end with an alphanumeric character ([a-z0-9A-Z]),could contain dashes (-), underscores (_), dots (.), and alphanumerics between.For example, here's a manifest for a Pod that has two labels environment: production and app: nginx:apiVersion: v1 kind: Pod metadata: na",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels",
    "id": "k8s_00787_qa_22622"
  },
  {
    "question": "What are the benefits of Labels and Selectors?",
    "answer": "Labels and SelectorsLabels are key/value pairs that are attached to objects such as Pods. Labels are intended to be used to specify identifying attributes of objects that are meaningful and relevant to users, but do not directly imply semantics to the core system. Labels can be used to organize and to select subsets of objects. Labels can be attached to objects at creation time and subsequently added and modified at any time. Each object can have a set of key/value labels defined. Each Key must be unique for a given object.\"metadata\": { \"labels\": { \"key1\" : \"value1\", \"key2\" : \"value2\" } } Labels allow for efficient queries and watches and are ideal for use in UIs and CLIs. Non-identifying information should be recorded using annotations.MotivationLabels enable users to map their own organizational structures onto system objects in a loosely coupled fashion, without requiring clients to store these mappings.Service deployments and batch processing pipelines are often multi-dimensional entities (e.g., multiple partitions or deployments, multiple release tracks, multiple tiers, multiple micro-services per tier). Management often requires cross-cutting operations, which breaks encapsulation of strictly hierarchical representations, especially rigid hierarchies determined by the infrastructure rather than by users.Example labels:\"release\" : \"stable\", \"release\" : \"canary\"\"environment\" : \"dev\", \"environment\" : \"qa\", \"environment\" : \"production\"\"tier\" : \"frontend\", \"tier\" : \"backend\", \"tier\" : \"cache\"\"partition\" : \"customerA\", \"partition\" : \"customerB\"\"track\" : \"daily\", \"track\" : \"weekly\"These are examples of commonly used labels; you are free to develop your own conventions. Keep in mind that label Key must be unique for a given object.Syntax and character setLabels are key/value pairs. Valid label keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/).If the prefix is omitted, the label Key is presumed to be private to the user. Automated system components (e.g. kube-scheduler, kube-controller-manager, kube-apiserver, kubectl, or other third-party automation) which add labels to end-user objects must specify a prefix.The kubernetes.io/ and k8s.io/ prefixes are reserved for Kubernetes core components.Valid label value:must be 63 characters or less (can be empty),unless empty, must begin and end with an alphanumeric character ([a-z0-9A-Z]),could contain dashes (-), underscores (_), dots (.), and alphanumerics between.For example, here's a manifest for a Pod that has two labels environment: production and app: nginx:apiVersion: v1 kind: Pod metadata: na",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels",
    "id": "k8s_00787_qa_22623"
  },
  {
    "question": "What is Labels and Selectors?",
    "answer": "L a b e l s   a r e   k e y / v a l u e   p a i r s   t h a t   a r e   a t t a c h e d   t o   o b j e c t s   s u c h   a s   P o d s .   L a b e l s   a r e   i n t e n d e d   t o   b e   u s e d   t o   s p e c i f y   i d e n t i f y i n g   a t t r i b u t e s   o f   o b j e c t s   t h a t   a r e   m e a n i n g f u l   a n d   r e l e v a n t   t o   u s e r s ,   b u t   d o   n o t   d i r e c t l y   i m p l y   s e m a n t i c s   t o   t h e   c o r e   s y s t e m .   L a b e l s   c a n   b e   u s e d   t o   o r g a n i z e   a n d   t o   s e l e c t   s u b s e t s   o f   o b j e c t s .   L a b e l s   c a n   b e   a t t a c h e d   t o   o b j e c t s   a t   c r e a t i o n   t i m e   a n d   s u b s e q u e n t l y   a d d e d   a n d   m o d i f i e d   a t   a n y   t i m e .   E a c h   o b j e c t   c a n   h a v e   a   s e t   o f   k e y / v a l u e   l a b e l s   d e f i n e d .   E a c h   K e y   m u s t   b e   u n i q u e   f o r   a   g i v e n   o b j e c t .   \" m e t a d a t a \" :   {   \" l a b e l s \" :   {   \" k e y 1 \"   :   \" v a l u e 1 \" ,   \" k e y 2 \"   :   \" v a l u e 2 \"   }   }   L a b e l s   a l l o w   f o r   e f f i c i e n t   q u e r i e s   a n d   w a t c h e s   a n d   a r e   i d e a l   f o r   u s e   i n   U I s   a n d   C L I s .   N o n - i d e n t i f y i n g   i n f o r m a t i o n   s h o u l d   b e   r e c o r d e d   u s i n g   a n n o t a t i o n s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels",
    "id": "k8s_00787_section_1_22624"
  },
  {
    "question": "What is Motivation?",
    "answer": "L a b e l s   e n a b l e   u s e r s   t o   m a p   t h e i r   o w n   o r g a n i z a t i o n a l   s t r u c t u r e s   o n t o   s y s t e m   o b j e c t s   i n   a   l o o s e l y   c o u p l e d   f a s h i o n ,   w i t h o u t   r e q u i r i n g   c l i e n t s   t o   s t o r e   t h e s e   m a p p i n g s .   S e r v i c e   d e p l o y m e n t s   a n d   b a t c h   p r o c e s s i n g   p i p e l i n e s   a r e   o f t e n   m u l t i - d i m e n s i o n a l   e n t i t i e s   ( e . g . ,   m u l t i p l e   p a r t i t i o n s   o r   d e p l o y m e n t s ,   m u l t i p l e   r e l e a s e   t r a c k s ,   m u l t i p l e   t i e r s ,   m u l t i p l e   m i c r o - s e r v i c e s   p e r   t i e r ) .   M a n a g e m e n t   o f t e n   r e q u i r e s   c r o s s - c u t t i n g   o p e r a t i o n s ,   w h i c h   b r e a k s   e n c a p s u l a t i o n   o f   s t r i c t l y   h i e r a r c h i c a l   r e p r e s e n t a t i o n s ,   e s p e c i a l l y   r i g i d   h i e r a r c h i e s   d e t e r m i n e d   b y   t h e   i n f r a s t r u c t u r e   r a t h e r   t h a n   b y   u s e r s .   E x a m p l e   l a b e l s :   \" r e l e a s e \"   :   \" s t a b l e \" ,   \" r e l e a s e \"   :   \" c a n a r y \" \" e n v i r o n m e n t \"   :   \" d e v \" ,   \" e n v i r o n m e n t \"   :   \" q a \" ,   \" e n v i r o n m e n t \"   :   \" p r o d u c t i o n \" \" t i e r \"   :   \" f r o n t e n d \" ,   \" t i e r \"   :   \" b a c k e n d \" ,   \" t i e r \"   :   \" c a c h e \" \" p a r t i t i o n \"   :   \" c u s t o m e r A \" ,   \" p a r t i t i o n \"   :   \" c u s t o m e r B \" \" t r a c k \"   :   \" d a i l y \" ,   \" t r a c k \"   :   \" w e e k l y \"   T h e s e   a r e   e x a m p l e s   o f   c o m m o n l y   u s e d   l a b e l s ;   y o u   a r e   f r e e   t o   d e v e l o p   y o u r   o w n   c o n v e n t i o n s .   K e e p   i n   m i n d   t h a t   l a b e l   K e y   m u s t   b e   u n i q u e   f o r   a   g i v e n   o ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels",
    "id": "k8s_00787_section_2_22625"
  },
  {
    "question": "What is Syntax and character set?",
    "answer": "L a b e l s   a r e   k e y / v a l u e   p a i r s .   V a l i d   l a b e l   k e y s   h a v e   t w o   s e g m e n t s :   a n   o p t i o n a l   p r e f i x   a n d   n a m e ,   s e p a r a t e d   b y   a   s l a s h   ( / ) .   T h e   n a m e   s e g m e n t   i s   r e q u i r e d   a n d   m u s t   b e   6 3   c h a r a c t e r s   o r   l e s s ,   b e g i n n i n g   a n d   e n d i n g   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r   ( [ a - z 0 - 9 A - Z ] )   w i t h   d a s h e s   ( - ) ,   u n d e r s c o r e s   ( _ ) ,   d o t s   ( . ) ,   a n d   a l p h a n u m e r i c s   b e t w e e n .   T h e   p r e f i x   i s   o p t i o n a l .   I f   s p e c i f i e d ,   t h e   p r e f i x   m u s t   b e   a   D N S   s u b d o m a i n :   a   s e r i e s   o f   D N S   l a b e l s   s e p a r a t e d   b y   d o t s   ( . ) ,   n o t   l o n g e r   t h a n   2 5 3   c h a r a c t e r s   i n   t o t a l ,   f o l l o w e d   b y   a   s l a s h   ( / ) .   I f   t h e   p r e f i x   i s   o m i t t e d ,   t h e   l a b e l   K e y   i s   p r e s u m e d   t o   b e   p r i v a t e   t o   t h e   u s e r .   A u t o m a t e d   s y s t e m   c o m p o n e n t s   ( e . g .   k u b e - s c h e d u l e r ,   k u b e - c o n t r o l l e r - m a n a g e r ,   k u b e - a p i s e r v e r ,   k u b e c t l ,   o r   o t h e r   t h i r d - p a r t y   a u t o m a t i o n )   w h i c h   a d d   l a b e l s   t o   e n d - u s e r   o b j e c t s   m u s t   s p e c i f y   a   p r e f i x .   T h e   k u b e r n e t e s . i o /   a n d   k 8 s . i o /   p r e f i x e s   a r e   r e s e r v e d   f o r   K u b e r n e t e s   c o r e   c o m p o n e n t s .   V a l i d   l a b e l   v a l u e :   m u s t   b e   6 3   c h a r a c t e r s   o r   l e s s   ( c a n   b e   e m p t y ) , u n l e s s   e m p t y ,   m u s t   b e g i n   a n d   e n d   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r   ( [ a - z 0 - 9 A ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels",
    "id": "k8s_00787_section_2_22626"
  },
  {
    "question": "What is Label selectors?",
    "answer": "U n l i k e   n a m e s   a n d   U I D s ,   l a b e l s   d o   n o t   p r o v i d e   u n i q u e n e s s .   I n   g e n e r a l ,   w e   e x p e c t   m a n y   o b j e c t s   t o   c a r r y   t h e   s a m e   l a b e l ( s ) .   V i a   a   l a b e l   s e l e c t o r ,   t h e   c l i e n t / u s e r   c a n   i d e n t i f y   a   s e t   o f   o b j e c t s .   T h e   l a b e l   s e l e c t o r   i s   t h e   c o r e   g r o u p i n g   p r i m i t i v e   i n   K u b e r n e t e s .   T h e   A P I   c u r r e n t l y   s u p p o r t s   t w o   t y p e s   o f   s e l e c t o r s :   e q u a l i t y - b a s e d   a n d   s e t - b a s e d .   A   l a b e l   s e l e c t o r   c a n   b e   m a d e   o f   m u l t i p l e   r e q u i r e m e n t s   w h i c h   a r e   c o m m a - s e p a r a t e d .   I n   t h e   c a s e   o f   m u l t i p l e   r e q u i r e m e n t s ,   a l l   m u s t   b e   s a t i s f i e d   s o   t h e   c o m m a   s e p a r a t o r   a c t s   a s   a   l o g i c a l   A N D   ( & & )   o p e r a t o r .   T h e   s e m a n t i c s   o f   e m p t y   o r   n o n - s p e c i f i e d   s e l e c t o r s   a r e   d e p e n d e n t   o n   t h e   c o n t e x t ,   a n d   A P I   t y p e s   t h a t   u s e   s e l e c t o r s   s h o u l d   d o c u m e n t   t h e   v a l i d i t y   a n d   m e a n i n g   o f   t h e m .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels",
    "id": "k8s_00787_section_2_22627"
  },
  {
    "question": "What is Equality-based requirement?",
    "answer": "E q u a l i t y -   o r   i n e q u a l i t y - b a s e d   r e q u i r e m e n t s   a l l o w   f i l t e r i n g   b y   l a b e l   k e y s   a n d   v a l u e s .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s ,   t h o u g h   t h e y   m a y   h a v e   a d d i t i o n a l   l a b e l s   a s   w e l l .   T h r e e   k i n d s   o f   o p e r a t o r s   a r e   a d m i t t e d   = , = = , ! = .   T h e   f i r s t   t w o   r e p r e s e n t   e q u a l i t y   ( a n d   a r e   s y n o n y m s ) ,   w h i l e   t h e   l a t t e r   r e p r e s e n t s   i n e q u a l i t y .   F o r   e x a m p l e :   e n v i r o n m e n t   =   p r o d u c t i o n   t i e r   ! =   f r o n t e n d   T h e   f o r m e r   s e l e c t s   a l l   r e s o u r c e s   w i t h   k e y   e q u a l   t o   e n v i r o n m e n t   a n d   v a l u e   e q u a l   t o   p r o d u c t i o n .   T h e   l a t t e r   s e l e c t s   a l l   r e s o u r c e s   w i t h   k e y   e q u a l   t o   t i e r   a n d   v a l u e   d i s t i n c t   f r o m   f r o n t e n d ,   a n d   a l l   r e s o u r c e s   w i t h   n o   l a b e l s   w i t h   t h e   t i e r   k e y .   O n e   c o u l d   f i l t e r   f o r   r e s o u r c e s   i n   p r o d u c t i o n   e x c l u d i n g   f r o n t e n d   u s i n g   t h e   c o m m a   o p e r a t o r :   e n v i r o n m e n t = p r o d u c t i o n , t i e r ! = f r o n t e n d   O n e   u s a g e   s c e n a r i o   f o r   e q u a l i t y - b a s e d   l a b e l   r e q u i r e m e n t   i s   f o r   P o d s   t o   s p e c i f y   n o d e   s e l e c t i o n   c r i t e r i a .   F o r   e x a m p l e ,   t h e   s a m p l e   P o d   b e l o w   s e l e c t s   n o d e s   w h e r e   t h e   a c c e l e r a t o r   l a b e l   e x i s t s   a n d   i s   s e t   t o   n v i d i a - t e s l a - p 1 0 0 .   a p i V e r s i o n :   v 1   k i n ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels",
    "id": "k8s_00787_section_3_22628"
  },
  {
    "question": "What is Set-based requirement?",
    "answer": "S e t - b a s e d   l a b e l   r e q u i r e m e n t s   a l l o w   f i l t e r i n g   k e y s   a c c o r d i n g   t o   a   s e t   o f   v a l u e s .   T h r e e   k i n d s   o f   o p e r a t o r s   a r e   s u p p o r t e d :   i n , n o t i n   a n d   e x i s t s   ( o n l y   t h e   k e y   i d e n t i f i e r ) .   F o r   e x a m p l e :   e n v i r o n m e n t   i n   ( p r o d u c t i o n ,   q a )   t i e r   n o t i n   ( f r o n t e n d ,   b a c k e n d )   p a r t i t i o n   ! p a r t i t i o n   T h e   f i r s t   e x a m p l e   s e l e c t s   a l l   r e s o u r c e s   w i t h   k e y   e q u a l   t o   e n v i r o n m e n t   a n d   v a l u e   e q u a l   t o   p r o d u c t i o n   o r   q a . T h e   s e c o n d   e x a m p l e   s e l e c t s   a l l   r e s o u r c e s   w i t h   k e y   e q u a l   t o   t i e r   a n d   v a l u e s   o t h e r   t h a n   f r o n t e n d   a n d   b a c k e n d ,   a n d   a l l   r e s o u r c e s   w i t h   n o   l a b e l s   w i t h   t h e   t i e r   k e y . T h e   t h i r d   e x a m p l e   s e l e c t s   a l l   r e s o u r c e s   i n c l u d i n g   a   l a b e l   w i t h   k e y   p a r t i t i o n ;   n o   v a l u e s   a r e   c h e c k e d . T h e   f o u r t h   e x a m p l e   s e l e c t s   a l l   r e s o u r c e s   w i t h o u t   a   l a b e l   w i t h   k e y   p a r t i t i o n ;   n o   v a l u e s   a r e   c h e c k e d .   S i m i l a r l y   t h e   c o m m a   s e p a r a t o r   a c t s   a s   a n   A N D   o p e r a t o r .   S o   f i l t e r i n g   r e s o u r c e s   w i t h   a   p a r t i t i o n   k e y   ( n o   m a t t e r   t h e   v a l u e )   a n d   w i t h   e n v i r o n m e n t   d i f f e r e n t   t h a n   q a   c a n   b e   a c h i e v e d   u s i n g   p a r t i t i o n , e n v i r o n m e n t   n o t i n   ( q a ) .   T h e   s e t - b a s e d   l a b e l   s e l e c t o r   i s   a   g e n e r a l   f o r m   o f   e q u a l ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels",
    "id": "k8s_00787_section_3_22629"
  },
  {
    "question": "What is LIST and WATCH filtering?",
    "answer": "F o r   l i s t   a n d   w a t c h   o p e r a t i o n s ,   y o u   c a n   s p e c i f y   l a b e l   s e l e c t o r s   t o   f i l t e r   t h e   s e t s   o f   o b j e c t s   r e t u r n e d ;   y o u   s p e c i f y   t h e   f i l t e r   u s i n g   a   q u e r y   p a r a m e t e r .   ( T o   l e a r n   i n   d e t a i l   a b o u t   w a t c h e s   i n   K u b e r n e t e s ,   r e a d   e f f i c i e n t   d e t e c t i o n   o f   c h a n g e s ) .   B o t h   r e q u i r e m e n t s   a r e   p e r m i t t e d   ( p r e s e n t e d   h e r e   a s   t h e y   w o u l d   a p p e a r   i n   a   U R L   q u e r y   s t r i n g ) :   e q u a l i t y - b a s e d   r e q u i r e m e n t s :   ? l a b e l S e l e c t o r = e n v i r o n m e n t % 3 D p r o d u c t i o n , t i e r % 3 D f r o n t e n d s e t - b a s e d   r e q u i r e m e n t s :   ? l a b e l S e l e c t o r = e n v i r o n m e n t + i n + % 2 8 p r o d u c t i o n % 2 C q a % 2 9 % 2 C t i e r + i n + % 2 8 f r o n t e n d % 2 9   B o t h   l a b e l   s e l e c t o r   s t y l e s   c a n   b e   u s e d   t o   l i s t   o r   w a t c h   r e s o u r c e s   v i a   a   R E S T   c l i e n t .   F o r   e x a m p l e ,   t a r g e t i n g   a p i s e r v e r   w i t h   k u b e c t l   a n d   u s i n g   e q u a l i t y - b a s e d   o n e   m a y   w r i t e :   k u b e c t l   g e t   p o d s   - l   e n v i r o n m e n t = p r o d u c t i o n , t i e r = f r o n t e n d   o r   u s i n g   s e t - b a s e d   r e q u i r e m e n t s :   k u b e c t l   g e t   p o d s   - l   ' e n v i r o n m e n t   i n   ( p r o d u c t i o n ) , t i e r   i n   ( f r o n t e n d ) '   A s   a l r e a d y   m e n t i o n e d   s e t - b a s e d   r e q u i r e m e n t s   a r e   m o r e   e x p r e s s i v e .   F o r   i n s t a n c e ,   t h e y   c a n   i m p l e m e n t   t h e   O R   o p e r a t o r   o n   v a l u e s :   k u b e c t l   g e t   p o d s   - l   ' e n v i r o n m ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels",
    "id": "k8s_00787_section_3_22630"
  },
  {
    "question": "What is Set references in API objects?",
    "answer": "S o m e   K u b e r n e t e s   o b j e c t s ,   s u c h   a s   s e r v i c e s   a n d   r e p l i c a t i o n c o n t r o l l e r s ,   a l s o   u s e   l a b e l   s e l e c t o r s   t o   s p e c i f y   s e t s   o f   o t h e r   r e s o u r c e s ,   s u c h   a s   p o d s .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels",
    "id": "k8s_00787_section_3_22631"
  },
  {
    "question": "What is Service and ReplicationController?",
    "answer": "T h e   s e t   o f   p o d s   t h a t   a   s e r v i c e   t a r g e t s   i s   d e f i n e d   w i t h   a   l a b e l   s e l e c t o r .   S i m i l a r l y ,   t h e   p o p u l a t i o n   o f   p o d s   t h a t   a   r e p l i c a t i o n c o n t r o l l e r   s h o u l d   m a n a g e   i s   a l s o   d e f i n e d   w i t h   a   l a b e l   s e l e c t o r .   L a b e l   s e l e c t o r s   f o r   b o t h   o b j e c t s   a r e   d e f i n e d   i n   j s o n   o r   y a m l   f i l e s   u s i n g   m a p s ,   a n d   o n l y   e q u a l i t y - b a s e d   r e q u i r e m e n t   s e l e c t o r s   a r e   s u p p o r t e d :   \" s e l e c t o r \" :   {   \" c o m p o n e n t \"   :   \" r e d i s \" ,   }   o r   s e l e c t o r :   c o m p o n e n t :   r e d i s   T h i s   s e l e c t o r   ( r e s p e c t i v e l y   i n   j s o n   o r   y a m l   f o r m a t )   i s   e q u i v a l e n t   t o   c o m p o n e n t = r e d i s   o r   c o m p o n e n t   i n   ( r e d i s ) .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels",
    "id": "k8s_00787_section_4_22632"
  },
  {
    "question": "What is Resources that support set-based requirements?",
    "answer": "N e w e r   r e s o u r c e s ,   s u c h   a s   J o b ,   D e p l o y m e n t ,   R e p l i c a S e t ,   a n d   D a e m o n S e t ,   s u p p o r t   s e t - b a s e d   r e q u i r e m e n t s   a s   w e l l .   s e l e c t o r :   m a t c h L a b e l s :   c o m p o n e n t :   r e d i s   m a t c h E x p r e s s i o n s :   -   {   k e y :   t i e r ,   o p e r a t o r :   I n ,   v a l u e s :   [ c a c h e ]   }   -   {   k e y :   e n v i r o n m e n t ,   o p e r a t o r :   N o t I n ,   v a l u e s :   [ d e v ]   }   m a t c h L a b e l s   i s   a   m a p   o f   { k e y , v a l u e }   p a i r s .   A   s i n g l e   { k e y , v a l u e }   i n   t h e   m a t c h L a b e l s   m a p   i s   e q u i v a l e n t   t o   a n   e l e m e n t   o f   m a t c h E x p r e s s i o n s ,   w h o s e   k e y   f i e l d   i s   \" k e y \" ,   t h e   o p e r a t o r   i s   \" I n \" ,   a n d   t h e   v a l u e s   a r r a y   c o n t a i n s   o n l y   \" v a l u e \" .   m a t c h E x p r e s s i o n s   i s   a   l i s t   o f   p o d   s e l e c t o r   r e q u i r e m e n t s .   V a l i d   o p e r a t o r s   i n c l u d e   I n ,   N o t I n ,   E x i s t s ,   a n d   D o e s N o t E x i s t .   T h e   v a l u e s   s e t   m u s t   b e   n o n - e m p t y   i n   t h e   c a s e   o f   I n   a n d   N o t I n .   A l l   o f   t h e   r e q u i r e m e n t s ,   f r o m   b o t h   m a t c h L a b e l s   a n d   m a t c h E x p r e s s i o n s   a r e   A N D e d   t o g e t h e r   - -   t h e y   m u s t   a l l   b e   s a t i s f i e d   i n   o r d e r   t o   m a t c h .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels",
    "id": "k8s_00787_section_4_22633"
  },
  {
    "question": "What is Selecting sets of nodes?",
    "answer": "O n e   u s e   c a s e   f o r   s e l e c t i n g   o v e r   l a b e l s   i s   t o   c o n s t r a i n   t h e   s e t   o f   n o d e s   o n t o   w h i c h   a   p o d   c a n   s c h e d u l e .   S e e   t h e   d o c u m e n t a t i o n   o n   n o d e   s e l e c t i o n   f o r   m o r e   i n f o r m a t i o n .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels",
    "id": "k8s_00787_section_4_22634"
  },
  {
    "question": "What is Using labels effectively?",
    "answer": "Y o u   c a n   a p p l y   a   s i n g l e   l a b e l   t o   a n y   r e s o u r c e s ,   b u t   t h i s   i s   n o t   a l w a y s   t h e   b e s t   p r a c t i c e .   T h e r e   a r e   m a n y   s c e n a r i o s   w h e r e   m u l t i p l e   l a b e l s   s h o u l d   b e   u s e d   t o   d i s t i n g u i s h   r e s o u r c e   s e t s   f r o m   o n e   a n o t h e r .   F o r   i n s t a n c e ,   d i f f e r e n t   a p p l i c a t i o n s   w o u l d   u s e   d i f f e r e n t   v a l u e s   f o r   t h e   a p p   l a b e l ,   b u t   a   m u l t i - t i e r   a p p l i c a t i o n ,   s u c h   a s   t h e   g u e s t b o o k   e x a m p l e ,   w o u l d   a d d i t i o n a l l y   n e e d   t o   d i s t i n g u i s h   e a c h   t i e r .   T h e   f r o n t e n d   c o u l d   c a r r y   t h e   f o l l o w i n g   l a b e l s :   l a b e l s :   a p p :   g u e s t b o o k   t i e r :   f r o n t e n d   w h i l e   t h e   R e d i s   m a s t e r   a n d   r e p l i c a   w o u l d   h a v e   d i f f e r e n t   t i e r   l a b e l s ,   a n d   p e r h a p s   e v e n   a n   a d d i t i o n a l   r o l e   l a b e l :   l a b e l s :   a p p :   g u e s t b o o k   t i e r :   b a c k e n d   r o l e :   m a s t e r   a n d   l a b e l s :   a p p :   g u e s t b o o k   t i e r :   b a c k e n d   r o l e :   r e p l i c a   T h e   l a b e l s   a l l o w   f o r   s l i c i n g   a n d   d i c i n g   t h e   r e s o u r c e s   a l o n g   a n y   d i m e n s i o n   s p e c i f i e d   b y   a   l a b e l :   k u b e c t l   a p p l y   - f   e x a m p l e s / g u e s t b o o k / a l l - i n - o n e / g u e s t b o o k - a l l - i n - o n e . y a m l   k u b e c t l   g e t   p o d s   - L a p p   - L t i e r   - L r o l e   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   A P P   T I E R   R O L E   g u e s t b o o k - f e - 4 n l p b   1 / 1   R u n n i n g   0   1 m   g u e s t b o o k   f r o n t e n d   ",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels",
    "id": "k8s_00787_section_2_22635"
  },
  {
    "question": "What is Updating labels?",
    "answer": "S o m e t i m e s   y o u   m a y   w a n t   t o   r e l a b e l   e x i s t i n g   p o d s   a n d   o t h e r   r e s o u r c e s   b e f o r e   c r e a t i n g   n e w   r e s o u r c e s .   T h i s   c a n   b e   d o n e   w i t h   k u b e c t l   l a b e l .   F o r   e x a m p l e ,   i f   y o u   w a n t   t o   l a b e l   a l l   y o u r   N G I N X   P o d s   a s   f r o n t e n d   t i e r ,   r u n :   k u b e c t l   l a b e l   p o d s   - l   a p p = n g i n x   t i e r = f e   p o d / m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - j 5 f h i   l a b e l e d   p o d / m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - u 2 c 7 e   l a b e l e d   p o d / m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - u 3 t 6 x   l a b e l e d   T h i s   f i r s t   f i l t e r s   a l l   p o d s   w i t h   t h e   l a b e l   \" a p p = n g i n x \" ,   a n d   t h e n   l a b e l s   t h e m   w i t h   t h e   \" t i e r = f e \" .   T o   s e e   t h e   p o d s   y o u   l a b e l e d ,   r u n :   k u b e c t l   g e t   p o d s   - l   a p p = n g i n x   - L   t i e r   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   T I E R   m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - j 5 f h i   1 / 1   R u n n i n g   0   2 3 m   f e   m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - u 2 c 7 e   1 / 1   R u n n i n g   0   2 3 m   f e   m y - n g i n x - 2 0 3 5 3 8 4 2 1 1 - u 3 t 6 x   1 / 1   R u n n i n g   0   2 3 m   f e   T h i s   o u t p u t s   a l l   \" a p p = n g i n x \"   p o d s ,   w i t h   a n   a d d i t i o n a l   l a b e l   c o l u m n   o f   p o d s '   t i e r   ( s p e c i f i e d   w i t h   - L   o r   - - l a b e l - c o l u m n s ) .   F o r   m o r e   i n f o r m a t i o n ,   p l e a s e   s e e   k u b e c t l   l a b e l .",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels",
    "id": "k8s_00787_section_2_22636"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   h o w   t o   a d d   a   l a b e l   t o   a   n o d e F i n d   W e l l - k n o w n   l a b e l s ,   A n n o t a t i o n s   a n d   T a i n t s S e e   R e c o m m e n d e d   l a b e l s E n f o r c e   P o d   S e c u r i t y   S t a n d a r d s   w i t h   N a m e s p a c e   L a b e l s R e a d   a   b l o g   o n   W r i t i n g   a   C o n t r o l l e r   f o r   P o d   L a b e l s",
    "category": "concepts",
    "subcategory": "overview-architecture",
    "source": "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels",
    "id": "k8s_00787_section_2_22637"
  },
  {
    "question": "What is Container Runtime Interface (CRI)?",
    "answer": "Container Runtime Interface (CRI)The CRI is a plugin interface which enables the kubelet to use a wide variety of container runtimes, without having a need to recompile the cluster components.You need a working container runtime on each Node in your cluster, so that the kubelet can launch Pods and their containers.The Container Runtime Interface (CRI) is the main protocol for the communication between the kubelet and Container Runtime.The Kubernetes Container Runtime Interface (CRI) defines the main gRPC protocol for the communication between the node components kubelet and container runtime.The APIFEATURE STATE: Kubernetes v1.23 [stable]The kubelet acts as a client when connecting to the container runtime via gRPC. The runtime and image service endpoints have to be available in the container runtime, which can be configured separately within the kubelet by using the --container-runtime-endpoint command line flag.For Kubernetes v1.26 and later, the kubelet requires that the container runtime supports the v1 CRI API. If a container runtime does not support the v1 API, the kubelet will not register the node.UpgradingWhen upgrading the Kubernetes version on a node, the kubelet restarts. If the container runtime does not support the v1 CRI API, the kubelet will fail to register and report an error. If a gRPC re-dial is required because the container runtime has been upgraded, the runtime must support the v1 CRI API for the connection to succeed. This might require a restart of the kubelet after the container runtime is correctly configured.What's nextLearn more about the CRI protocol definition",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/architecture/cri",
    "id": "k8s_00788_qa_22638"
  },
  {
    "question": "How does Container Runtime Interface (CRI) work?",
    "answer": "Container Runtime Interface (CRI)The CRI is a plugin interface which enables the kubelet to use a wide variety of container runtimes, without having a need to recompile the cluster components.You need a working container runtime on each Node in your cluster, so that the kubelet can launch Pods and their containers.The Container Runtime Interface (CRI) is the main protocol for the communication between the kubelet and Container Runtime.The Kubernetes Container Runtime Interface (CRI) defines the main gRPC protocol for the communication between the node components kubelet and container runtime.The APIFEATURE STATE: Kubernetes v1.23 [stable]The kubelet acts as a client when connecting to the container runtime via gRPC. The runtime and image service endpoints have to be available in the container runtime, which can be configured separately within the kubelet by using the --container-runtime-endpoint command line flag.For Kubernetes v1.26 and later, the kubelet requires that the container runtime supports the v1 CRI API. If a container runtime does not support the v1 API, the kubelet will not register the node.UpgradingWhen upgrading the Kubernetes version on a node, the kubelet restarts. If the container runtime does not support the v1 CRI API, the kubelet will fail to register and report an error. If a gRPC re-dial is required because the container runtime has been upgraded, the runtime must support the v1 CRI API for the connection to succeed. This might require a restart of the kubelet after the container runtime is correctly configured.What's nextLearn more about the CRI protocol definition",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/architecture/cri",
    "id": "k8s_00788_qa_22639"
  },
  {
    "question": "When would you use Container Runtime Interface (CRI)?",
    "answer": "Container Runtime Interface (CRI)The CRI is a plugin interface which enables the kubelet to use a wide variety of container runtimes, without having a need to recompile the cluster components.You need a working container runtime on each Node in your cluster, so that the kubelet can launch Pods and their containers.The Container Runtime Interface (CRI) is the main protocol for the communication between the kubelet and Container Runtime.The Kubernetes Container Runtime Interface (CRI) defines the main gRPC protocol for the communication between the node components kubelet and container runtime.The APIFEATURE STATE: Kubernetes v1.23 [stable]The kubelet acts as a client when connecting to the container runtime via gRPC. The runtime and image service endpoints have to be available in the container runtime, which can be configured separately within the kubelet by using the --container-runtime-endpoint command line flag.For Kubernetes v1.26 and later, the kubelet requires that the container runtime supports the v1 CRI API. If a container runtime does not support the v1 API, the kubelet will not register the node.UpgradingWhen upgrading the Kubernetes version on a node, the kubelet restarts. If the container runtime does not support the v1 CRI API, the kubelet will fail to register and report an error. If a gRPC re-dial is required because the container runtime has been upgraded, the runtime must support the v1 CRI API for the connection to succeed. This might require a restart of the kubelet after the container runtime is correctly configured.What's nextLearn more about the CRI protocol definition",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/architecture/cri",
    "id": "k8s_00788_qa_22640"
  },
  {
    "question": "What are the benefits of Container Runtime Interface (CRI)?",
    "answer": "Container Runtime Interface (CRI)The CRI is a plugin interface which enables the kubelet to use a wide variety of container runtimes, without having a need to recompile the cluster components.You need a working container runtime on each Node in your cluster, so that the kubelet can launch Pods and their containers.The Container Runtime Interface (CRI) is the main protocol for the communication between the kubelet and Container Runtime.The Kubernetes Container Runtime Interface (CRI) defines the main gRPC protocol for the communication between the node components kubelet and container runtime.The APIFEATURE STATE: Kubernetes v1.23 [stable]The kubelet acts as a client when connecting to the container runtime via gRPC. The runtime and image service endpoints have to be available in the container runtime, which can be configured separately within the kubelet by using the --container-runtime-endpoint command line flag.For Kubernetes v1.26 and later, the kubelet requires that the container runtime supports the v1 CRI API. If a container runtime does not support the v1 API, the kubelet will not register the node.UpgradingWhen upgrading the Kubernetes version on a node, the kubelet restarts. If the container runtime does not support the v1 CRI API, the kubelet will fail to register and report an error. If a gRPC re-dial is required because the container runtime has been upgraded, the runtime must support the v1 CRI API for the connection to succeed. This might require a restart of the kubelet after the container runtime is correctly configured.What's nextLearn more about the CRI protocol definition",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/architecture/cri",
    "id": "k8s_00788_qa_22641"
  },
  {
    "question": "What is Container Runtime Interface (CRI)?",
    "answer": "T h e   C R I   i s   a   p l u g i n   i n t e r f a c e   w h i c h   e n a b l e s   t h e   k u b e l e t   t o   u s e   a   w i d e   v a r i e t y   o f   c o n t a i n e r   r u n t i m e s ,   w i t h o u t   h a v i n g   a   n e e d   t o   r e c o m p i l e   t h e   c l u s t e r   c o m p o n e n t s .   Y o u   n e e d   a   w o r k i n g   c o n t a i n e r   r u n t i m e   o n   e a c h   N o d e   i n   y o u r   c l u s t e r ,   s o   t h a t   t h e   k u b e l e t   c a n   l a u n c h   P o d s   a n d   t h e i r   c o n t a i n e r s .   T h e   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I )   i s   t h e   m a i n   p r o t o c o l   f o r   t h e   c o m m u n i c a t i o n   b e t w e e n   t h e   k u b e l e t   a n d   C o n t a i n e r   R u n t i m e .   T h e   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I )   i s   t h e   m a i n   p r o t o c o l   f o r   t h e   c o m m u n i c a t i o n   b e t w e e n   t h e   k u b e l e t   a n d   C o n t a i n e r   R u n t i m e .   T h e   K u b e r n e t e s   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I )   d e f i n e s   t h e   m a i n   g R P C   p r o t o c o l   f o r   t h e   c o m m u n i c a t i o n   b e t w e e n   t h e   n o d e   c o m p o n e n t s   k u b e l e t   a n d   c o n t a i n e r   r u n t i m e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/architecture/cri",
    "id": "k8s_00788_section_1_22642"
  },
  {
    "question": "What is The API?",
    "answer": "T h e   k u b e l e t   a c t s   a s   a   c l i e n t   w h e n   c o n n e c t i n g   t o   t h e   c o n t a i n e r   r u n t i m e   v i a   g R P C .   T h e   r u n t i m e   a n d   i m a g e   s e r v i c e   e n d p o i n t s   h a v e   t o   b e   a v a i l a b l e   i n   t h e   c o n t a i n e r   r u n t i m e ,   w h i c h   c a n   b e   c o n f i g u r e d   s e p a r a t e l y   w i t h i n   t h e   k u b e l e t   b y   u s i n g   t h e   - - c o n t a i n e r - r u n t i m e - e n d p o i n t   c o m m a n d   l i n e   f l a g .   F o r   K u b e r n e t e s   v 1 . 2 6   a n d   l a t e r ,   t h e   k u b e l e t   r e q u i r e s   t h a t   t h e   c o n t a i n e r   r u n t i m e   s u p p o r t s   t h e   v 1   C R I   A P I .   I f   a   c o n t a i n e r   r u n t i m e   d o e s   n o t   s u p p o r t   t h e   v 1   A P I ,   t h e   k u b e l e t   w i l l   n o t   r e g i s t e r   t h e   n o d e .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/architecture/cri",
    "id": "k8s_00788_section_2_22643"
  },
  {
    "question": "What is Upgrading?",
    "answer": "W h e n   u p g r a d i n g   t h e   K u b e r n e t e s   v e r s i o n   o n   a   n o d e ,   t h e   k u b e l e t   r e s t a r t s .   I f   t h e   c o n t a i n e r   r u n t i m e   d o e s   n o t   s u p p o r t   t h e   v 1   C R I   A P I ,   t h e   k u b e l e t   w i l l   f a i l   t o   r e g i s t e r   a n d   r e p o r t   a n   e r r o r .   I f   a   g R P C   r e - d i a l   i s   r e q u i r e d   b e c a u s e   t h e   c o n t a i n e r   r u n t i m e   h a s   b e e n   u p g r a d e d ,   t h e   r u n t i m e   m u s t   s u p p o r t   t h e   v 1   C R I   A P I   f o r   t h e   c o n n e c t i o n   t o   s u c c e e d .   T h i s   m i g h t   r e q u i r e   a   r e s t a r t   o f   t h e   k u b e l e t   a f t e r   t h e   c o n t a i n e r   r u n t i m e   i s   c o r r e c t l y   c o n f i g u r e d .",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/architecture/cri",
    "id": "k8s_00788_section_2_22644"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   t h e   C R I   p r o t o c o l   d e f i n i t i o n",
    "category": "concepts",
    "subcategory": "workloads-pods",
    "source": "https://kubernetes.io/docs/concepts/architecture/cri",
    "id": "k8s_00788_section_2_22645"
  },
  {
    "question": "What is Reference?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Reference1: Glossary2: API Overview2.1: Declarative API Validation2.2: Kubernetes API Concepts2.3: Server-Side Apply2.4: Client Libraries2.5: Common Expression Language in Kubernetes2.6: Kubernetes Deprecation Policy2.7: Deprecated API Migration Guide2.8: Kubernetes API health endpoints3: API Access Control3.1: Authenticating3.2: Authenticating with Bootstrap Tokens3.3: Authorization3.4: Using RBAC Authorization3.5: Using Node Authorization3.6: Webhook Mode3.7: Using ABAC Authorization3.8: Admission Control in Kubernetes3.9: Dynamic Admission Control3.10: Managing Service Accounts3.11: Certificates and Certificate Signing Requests3.12: Mapping PodSecurityPolicies to Pod Security Standards3.13: Kubelet authentication/authorization3.14: TLS bootstrapping3.15: Mutating Admission Policy3.16: Validating Admission Policy4: Well-Known Labels, Annotations and Taints4.1: Audit Annotations5: Kubernetes API5.1: Workload Resources5.1.1: Pod5.1.2: Binding5.1.3: PodTemplate5.1.4: ReplicationController5.1.5: ReplicaSet5.1.6: Deployment5.1.7: StatefulSet5.1.8: ControllerRevision5.1.9: DaemonSet5.1.10: Job5.1.11: CronJob5.1.12: HorizontalPodAutoscaler5.1.13: HorizontalPodAutoscaler5.1.14: PriorityClass5.1.15: DeviceTaintRule v1alpha35.1.16: ResourceClaim5.1.17: ResourceClaimTemplate5.1.18: ResourceSlice5.2: Service Resources5.2.1: Service5.2.2: Endpoints5.2.3: EndpointSlice5.2.4: Ingress5.2.5: IngressClass5.3: Config and Storage Resources5.3.1: ConfigMap5.3.2: Secret5.3.3: CSIDriver5.3.4: CSINode5.3.5: CSIStorageCapacity5.3.6: PersistentVolumeClaim5.3.7: PersistentVolume5.3.8: StorageClass5.3.9: StorageVersionMigration v1alpha15.3.10: Volume5.3.11: VolumeAttachment5.3.12: VolumeAttributesClass5.4: Authentication Resources5.4.1: ServiceAccount5.4.2: TokenRequest5.4.3: TokenReview5.4.4: CertificateSigningRequest5.4.5: ClusterTrustBundle v1beta15.4.6: SelfSubjectReview5.4.7: PodCertificateRequest v1alpha15.5: Authorization Resources5.5.1: LocalSubjectAccessReview5.5.2: SelfSubjectAccessReview5.5.3: SelfSubjectRulesReview5.5.4: SubjectAccessReview5.5.5: ClusterRole5.5.6: ClusterRoleBinding5.5.7: Role5.5.8: RoleBinding5.6: Policy Resources5.6.1: FlowSchema5.6.2: LimitRange5.6.3: ResourceQuota5.6.4: NetworkPolicy5.6.5: PodDisruptionBudget5.6.6: PriorityLevelConfiguration5.6.7: ValidatingAdmissionPolicy5.6.8: ValidatingAdmissionPolicyBinding5.6.9: MutatingAdmissionPolicy v1beta15.6.10: MutatingAdmissionPolicyBinding v1alpha15.7: Extend Resources5.7.1: CustomResourceDefinition5.7.2: DeviceClass5.7.3: MutatingWebhookConfiguration5.7.4: ValidatingWebhookConfiguration5.8: Cluster Resources5.8.1: APIService5.8.2: ComponentStatus5.8.3: Event5.8.4: IPAddress5.8.5: Lease5.8.6: LeaseCandidate v1beta15.8.7: Namespace5.8.8: Node5.8.9: RuntimeClass5.8.10: ServiceCIDR5.9: Common Definitions5.9.1: DeleteOptions5.9.2: LabelSelector5.9.3: ListMeta5.9.4: LocalObjectReferenc",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_qa_22646"
  },
  {
    "question": "How does Reference work?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Reference1: Glossary2: API Overview2.1: Declarative API Validation2.2: Kubernetes API Concepts2.3: Server-Side Apply2.4: Client Libraries2.5: Common Expression Language in Kubernetes2.6: Kubernetes Deprecation Policy2.7: Deprecated API Migration Guide2.8: Kubernetes API health endpoints3: API Access Control3.1: Authenticating3.2: Authenticating with Bootstrap Tokens3.3: Authorization3.4: Using RBAC Authorization3.5: Using Node Authorization3.6: Webhook Mode3.7: Using ABAC Authorization3.8: Admission Control in Kubernetes3.9: Dynamic Admission Control3.10: Managing Service Accounts3.11: Certificates and Certificate Signing Requests3.12: Mapping PodSecurityPolicies to Pod Security Standards3.13: Kubelet authentication/authorization3.14: TLS bootstrapping3.15: Mutating Admission Policy3.16: Validating Admission Policy4: Well-Known Labels, Annotations and Taints4.1: Audit Annotations5: Kubernetes API5.1: Workload Resources5.1.1: Pod5.1.2: Binding5.1.3: PodTemplate5.1.4: ReplicationController5.1.5: ReplicaSet5.1.6: Deployment5.1.7: StatefulSet5.1.8: ControllerRevision5.1.9: DaemonSet5.1.10: Job5.1.11: CronJob5.1.12: HorizontalPodAutoscaler5.1.13: HorizontalPodAutoscaler5.1.14: PriorityClass5.1.15: DeviceTaintRule v1alpha35.1.16: ResourceClaim5.1.17: ResourceClaimTemplate5.1.18: ResourceSlice5.2: Service Resources5.2.1: Service5.2.2: Endpoints5.2.3: EndpointSlice5.2.4: Ingress5.2.5: IngressClass5.3: Config and Storage Resources5.3.1: ConfigMap5.3.2: Secret5.3.3: CSIDriver5.3.4: CSINode5.3.5: CSIStorageCapacity5.3.6: PersistentVolumeClaim5.3.7: PersistentVolume5.3.8: StorageClass5.3.9: StorageVersionMigration v1alpha15.3.10: Volume5.3.11: VolumeAttachment5.3.12: VolumeAttributesClass5.4: Authentication Resources5.4.1: ServiceAccount5.4.2: TokenRequest5.4.3: TokenReview5.4.4: CertificateSigningRequest5.4.5: ClusterTrustBundle v1beta15.4.6: SelfSubjectReview5.4.7: PodCertificateRequest v1alpha15.5: Authorization Resources5.5.1: LocalSubjectAccessReview5.5.2: SelfSubjectAccessReview5.5.3: SelfSubjectRulesReview5.5.4: SubjectAccessReview5.5.5: ClusterRole5.5.6: ClusterRoleBinding5.5.7: Role5.5.8: RoleBinding5.6: Policy Resources5.6.1: FlowSchema5.6.2: LimitRange5.6.3: ResourceQuota5.6.4: NetworkPolicy5.6.5: PodDisruptionBudget5.6.6: PriorityLevelConfiguration5.6.7: ValidatingAdmissionPolicy5.6.8: ValidatingAdmissionPolicyBinding5.6.9: MutatingAdmissionPolicy v1beta15.6.10: MutatingAdmissionPolicyBinding v1alpha15.7: Extend Resources5.7.1: CustomResourceDefinition5.7.2: DeviceClass5.7.3: MutatingWebhookConfiguration5.7.4: ValidatingWebhookConfiguration5.8: Cluster Resources5.8.1: APIService5.8.2: ComponentStatus5.8.3: Event5.8.4: IPAddress5.8.5: Lease5.8.6: LeaseCandidate v1beta15.8.7: Namespace5.8.8: Node5.8.9: RuntimeClass5.8.10: ServiceCIDR5.9: Common Definitions5.9.1: DeleteOptions5.9.2: LabelSelector5.9.3: ListMeta5.9.4: LocalObjectReferenc",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_qa_22647"
  },
  {
    "question": "When would you use Reference?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Reference1: Glossary2: API Overview2.1: Declarative API Validation2.2: Kubernetes API Concepts2.3: Server-Side Apply2.4: Client Libraries2.5: Common Expression Language in Kubernetes2.6: Kubernetes Deprecation Policy2.7: Deprecated API Migration Guide2.8: Kubernetes API health endpoints3: API Access Control3.1: Authenticating3.2: Authenticating with Bootstrap Tokens3.3: Authorization3.4: Using RBAC Authorization3.5: Using Node Authorization3.6: Webhook Mode3.7: Using ABAC Authorization3.8: Admission Control in Kubernetes3.9: Dynamic Admission Control3.10: Managing Service Accounts3.11: Certificates and Certificate Signing Requests3.12: Mapping PodSecurityPolicies to Pod Security Standards3.13: Kubelet authentication/authorization3.14: TLS bootstrapping3.15: Mutating Admission Policy3.16: Validating Admission Policy4: Well-Known Labels, Annotations and Taints4.1: Audit Annotations5: Kubernetes API5.1: Workload Resources5.1.1: Pod5.1.2: Binding5.1.3: PodTemplate5.1.4: ReplicationController5.1.5: ReplicaSet5.1.6: Deployment5.1.7: StatefulSet5.1.8: ControllerRevision5.1.9: DaemonSet5.1.10: Job5.1.11: CronJob5.1.12: HorizontalPodAutoscaler5.1.13: HorizontalPodAutoscaler5.1.14: PriorityClass5.1.15: DeviceTaintRule v1alpha35.1.16: ResourceClaim5.1.17: ResourceClaimTemplate5.1.18: ResourceSlice5.2: Service Resources5.2.1: Service5.2.2: Endpoints5.2.3: EndpointSlice5.2.4: Ingress5.2.5: IngressClass5.3: Config and Storage Resources5.3.1: ConfigMap5.3.2: Secret5.3.3: CSIDriver5.3.4: CSINode5.3.5: CSIStorageCapacity5.3.6: PersistentVolumeClaim5.3.7: PersistentVolume5.3.8: StorageClass5.3.9: StorageVersionMigration v1alpha15.3.10: Volume5.3.11: VolumeAttachment5.3.12: VolumeAttributesClass5.4: Authentication Resources5.4.1: ServiceAccount5.4.2: TokenRequest5.4.3: TokenReview5.4.4: CertificateSigningRequest5.4.5: ClusterTrustBundle v1beta15.4.6: SelfSubjectReview5.4.7: PodCertificateRequest v1alpha15.5: Authorization Resources5.5.1: LocalSubjectAccessReview5.5.2: SelfSubjectAccessReview5.5.3: SelfSubjectRulesReview5.5.4: SubjectAccessReview5.5.5: ClusterRole5.5.6: ClusterRoleBinding5.5.7: Role5.5.8: RoleBinding5.6: Policy Resources5.6.1: FlowSchema5.6.2: LimitRange5.6.3: ResourceQuota5.6.4: NetworkPolicy5.6.5: PodDisruptionBudget5.6.6: PriorityLevelConfiguration5.6.7: ValidatingAdmissionPolicy5.6.8: ValidatingAdmissionPolicyBinding5.6.9: MutatingAdmissionPolicy v1beta15.6.10: MutatingAdmissionPolicyBinding v1alpha15.7: Extend Resources5.7.1: CustomResourceDefinition5.7.2: DeviceClass5.7.3: MutatingWebhookConfiguration5.7.4: ValidatingWebhookConfiguration5.8: Cluster Resources5.8.1: APIService5.8.2: ComponentStatus5.8.3: Event5.8.4: IPAddress5.8.5: Lease5.8.6: LeaseCandidate v1beta15.8.7: Namespace5.8.8: Node5.8.9: RuntimeClass5.8.10: ServiceCIDR5.9: Common Definitions5.9.1: DeleteOptions5.9.2: LabelSelector5.9.3: ListMeta5.9.4: LocalObjectReferenc",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_qa_22648"
  },
  {
    "question": "What are the benefits of Reference?",
    "answer": "This is the multi-page printable view of this section. Click here to print.Return to the regular view of this page.Reference1: Glossary2: API Overview2.1: Declarative API Validation2.2: Kubernetes API Concepts2.3: Server-Side Apply2.4: Client Libraries2.5: Common Expression Language in Kubernetes2.6: Kubernetes Deprecation Policy2.7: Deprecated API Migration Guide2.8: Kubernetes API health endpoints3: API Access Control3.1: Authenticating3.2: Authenticating with Bootstrap Tokens3.3: Authorization3.4: Using RBAC Authorization3.5: Using Node Authorization3.6: Webhook Mode3.7: Using ABAC Authorization3.8: Admission Control in Kubernetes3.9: Dynamic Admission Control3.10: Managing Service Accounts3.11: Certificates and Certificate Signing Requests3.12: Mapping PodSecurityPolicies to Pod Security Standards3.13: Kubelet authentication/authorization3.14: TLS bootstrapping3.15: Mutating Admission Policy3.16: Validating Admission Policy4: Well-Known Labels, Annotations and Taints4.1: Audit Annotations5: Kubernetes API5.1: Workload Resources5.1.1: Pod5.1.2: Binding5.1.3: PodTemplate5.1.4: ReplicationController5.1.5: ReplicaSet5.1.6: Deployment5.1.7: StatefulSet5.1.8: ControllerRevision5.1.9: DaemonSet5.1.10: Job5.1.11: CronJob5.1.12: HorizontalPodAutoscaler5.1.13: HorizontalPodAutoscaler5.1.14: PriorityClass5.1.15: DeviceTaintRule v1alpha35.1.16: ResourceClaim5.1.17: ResourceClaimTemplate5.1.18: ResourceSlice5.2: Service Resources5.2.1: Service5.2.2: Endpoints5.2.3: EndpointSlice5.2.4: Ingress5.2.5: IngressClass5.3: Config and Storage Resources5.3.1: ConfigMap5.3.2: Secret5.3.3: CSIDriver5.3.4: CSINode5.3.5: CSIStorageCapacity5.3.6: PersistentVolumeClaim5.3.7: PersistentVolume5.3.8: StorageClass5.3.9: StorageVersionMigration v1alpha15.3.10: Volume5.3.11: VolumeAttachment5.3.12: VolumeAttributesClass5.4: Authentication Resources5.4.1: ServiceAccount5.4.2: TokenRequest5.4.3: TokenReview5.4.4: CertificateSigningRequest5.4.5: ClusterTrustBundle v1beta15.4.6: SelfSubjectReview5.4.7: PodCertificateRequest v1alpha15.5: Authorization Resources5.5.1: LocalSubjectAccessReview5.5.2: SelfSubjectAccessReview5.5.3: SelfSubjectRulesReview5.5.4: SubjectAccessReview5.5.5: ClusterRole5.5.6: ClusterRoleBinding5.5.7: Role5.5.8: RoleBinding5.6: Policy Resources5.6.1: FlowSchema5.6.2: LimitRange5.6.3: ResourceQuota5.6.4: NetworkPolicy5.6.5: PodDisruptionBudget5.6.6: PriorityLevelConfiguration5.6.7: ValidatingAdmissionPolicy5.6.8: ValidatingAdmissionPolicyBinding5.6.9: MutatingAdmissionPolicy v1beta15.6.10: MutatingAdmissionPolicyBinding v1alpha15.7: Extend Resources5.7.1: CustomResourceDefinition5.7.2: DeviceClass5.7.3: MutatingWebhookConfiguration5.7.4: ValidatingWebhookConfiguration5.8: Cluster Resources5.8.1: APIService5.8.2: ComponentStatus5.8.3: Event5.8.4: IPAddress5.8.5: Lease5.8.6: LeaseCandidate v1beta15.8.7: Namespace5.8.8: Node5.8.9: RuntimeClass5.8.10: ServiceCIDR5.9: Common Definitions5.9.1: DeleteOptions5.9.2: LabelSelector5.9.3: ListMeta5.9.4: LocalObjectReferenc",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_qa_22649"
  },
  {
    "question": "What is Reference?",
    "answer": "1 :   G l o s s a r y 2 :   A P I   O v e r v i e w 2 . 1 :   D e c l a r a t i v e   A P I   V a l i d a t i o n 2 . 2 :   K u b e r n e t e s   A P I   C o n c e p t s 2 . 3 :   S e r v e r - S i d e   A p p l y 2 . 4 :   C l i e n t   L i b r a r i e s 2 . 5 :   C o m m o n   E x p r e s s i o n   L a n g u a g e   i n   K u b e r n e t e s 2 . 6 :   K u b e r n e t e s   D e p r e c a t i o n   P o l i c y 2 . 7 :   D e p r e c a t e d   A P I   M i g r a t i o n   G u i d e 2 . 8 :   K u b e r n e t e s   A P I   h e a l t h   e n d p o i n t s 3 :   A P I   A c c e s s   C o n t r o l 3 . 1 :   A u t h e n t i c a t i n g 3 . 2 :   A u t h e n t i c a t i n g   w i t h   B o o t s t r a p   T o k e n s 3 . 3 :   A u t h o r i z a t i o n 3 . 4 :   U s i n g   R B A C   A u t h o r i z a t i o n 3 . 5 :   U s i n g   N o d e   A u t h o r i z a t i o n 3 . 6 :   W e b h o o k   M o d e 3 . 7 :   U s i n g   A B A C   A u t h o r i z a t i o n 3 . 8 :   A d m i s s i o n   C o n t r o l   i n   K u b e r n e t e s 3 . 9 :   D y n a m i c   A d m i s s i o n   C o n t r o l 3 . 1 0 :   M a n a g i n g   S e r v i c e   A c c o u n t s 3 . 1 1 :   C e r t i f i c a t e s   a n d   C e r t i f i c a t e   S i g n i n g   R e q u e s t s 3 . 1 2 :   M a p p i n g   P o d S e c u r i t y P o l i c i e s   t o   P o d   S e c u r i t y   S t a n d a r d s 3 . 1 3 :   K u b e l e t   a u t h e n t i c a t i o n / a u t h o r i z a t i o n 3 . 1 4 :   T L S   b o o t s t r a p p i n g 3 . 1 5 :   M u t a t i n g   A d m i s s i o n   P o l i c y 3 . 1 6 :   V a l i d a t i n g   A d m i s s i o n   P o l i c y 4 :   W e l l - K n o w n   L a b e l s ,   A n n o t a t i o n s   a n d   T a i n t s 4 . 1 :   A u d i t   A n n o t a t i o n s 5 :   K u b e r n e t e s   A P I 5 . 1 :   W o r k l o a d   R e s o u r c e s 5 . 1 . 1 :   P o d 5 . 1 . 2 :   B i n d i n g 5 . 1 . 3 :   P o d T e m p l a t e 5 . 1 . 4 :   R e p l i c a t i o n C o n t r o l l e r 5 . 1 . 5 :   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_22650"
  },
  {
    "question": "What is API Reference?",
    "answer": "G l o s s a r y   -   a   c o m p r e h e n s i v e ,   s t a n d a r d i z e d   l i s t   o f   K u b e r n e t e s   t e r m i n o l o g y K u b e r n e t e s   A P I   R e f e r e n c e O n e - p a g e   A P I   R e f e r e n c e   f o r   K u b e r n e t e s   v 1 . 3 4 U s i n g   T h e   K u b e r n e t e s   A P I   -   o v e r v i e w   o f   t h e   A P I   f o r   K u b e r n e t e s . A P I   a c c e s s   c o n t r o l   -   d e t a i l s   o n   h o w   K u b e r n e t e s   c o n t r o l s   A P I   a c c e s s W e l l - K n o w n   L a b e l s ,   A n n o t a t i o n s   a n d   T a i n t s   G l o s s a r y   -   a   c o m p r e h e n s i v e ,   s t a n d a r d i z e d   l i s t   o f   K u b e r n e t e s   t e r m i n o l o g y   K u b e r n e t e s   A P I   R e f e r e n c e   O n e - p a g e   A P I   R e f e r e n c e   f o r   K u b e r n e t e s   v 1 . 3 4   U s i n g   T h e   K u b e r n e t e s   A P I   -   o v e r v i e w   o f   t h e   A P I   f o r   K u b e r n e t e s .   A P I   a c c e s s   c o n t r o l   -   d e t a i l s   o n   h o w   K u b e r n e t e s   c o n t r o l s   A P I   a c c e s s   W e l l - K n o w n   L a b e l s ,   A n n o t a t i o n s   a n d   T a i n t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22651"
  },
  {
    "question": "What is Officially supported client libraries?",
    "answer": "T o   c a l l   t h e   K u b e r n e t e s   A P I   f r o m   a   p r o g r a m m i n g   l a n g u a g e ,   y o u   c a n   u s e   c l i e n t   l i b r a r i e s .   O f f i c i a l l y   s u p p o r t e d   c l i e n t   l i b r a r i e s :   K u b e r n e t e s   G o   c l i e n t   l i b r a r y K u b e r n e t e s   P y t h o n   c l i e n t   l i b r a r y K u b e r n e t e s   J a v a   c l i e n t   l i b r a r y K u b e r n e t e s   J a v a S c r i p t   c l i e n t   l i b r a r y K u b e r n e t e s   C #   c l i e n t   l i b r a r y K u b e r n e t e s   H a s k e l l   c l i e n t   l i b r a r y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22652"
  },
  {
    "question": "What is CLI?",
    "answer": "k u b e c t l   -   M a i n   C L I   t o o l   f o r   r u n n i n g   c o m m a n d s   a n d   m a n a g i n g   K u b e r n e t e s   c l u s t e r s . J S O N P a t h   -   S y n t a x   g u i d e   f o r   u s i n g   J S O N P a t h   e x p r e s s i o n s   w i t h   k u b e c t l . k u b e a d m   -   C L I   t o o l   t o   e a s i l y   p r o v i s i o n   a   s e c u r e   K u b e r n e t e s   c l u s t e r .   J S O N P a t h   -   S y n t a x   g u i d e   f o r   u s i n g   J S O N P a t h   e x p r e s s i o n s   w i t h   k u b e c t l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22653"
  },
  {
    "question": "What is Components?",
    "answer": "k u b e l e t   -   T h e   p r i m a r y   a g e n t   t h a t   r u n s   o n   e a c h   n o d e .   T h e   k u b e l e t   t a k e s   a   s e t   o f   P o d S p e c s   a n d   e n s u r e s   t h a t   t h e   d e s c r i b e d   c o n t a i n e r s   a r e   r u n n i n g   a n d   h e a l t h y . k u b e - a p i s e r v e r   -   R E S T   A P I   t h a t   v a l i d a t e s   a n d   c o n f i g u r e s   d a t a   f o r   A P I   o b j e c t s   s u c h   a s   p o d s ,   s e r v i c e s ,   r e p l i c a t i o n   c o n t r o l l e r s . k u b e - c o n t r o l l e r - m a n a g e r   -   D a e m o n   t h a t   e m b e d s   t h e   c o r e   c o n t r o l   l o o p s   s h i p p e d   w i t h   K u b e r n e t e s . k u b e - p r o x y   -   C a n   d o   s i m p l e   T C P / U D P   s t r e a m   f o r w a r d i n g   o r   r o u n d - r o b i n   T C P / U D P   f o r w a r d i n g   a c r o s s   a   s e t   o f   b a c k - e n d s . k u b e - s c h e d u l e r   -   S c h e d u l e r   t h a t   m a n a g e s   a v a i l a b i l i t y ,   p e r f o r m a n c e ,   a n d   c a p a c i t y . S c h e d u l e r   P o l i c i e s S c h e d u l e r   P r o f i l e s L i s t   o f   p o r t s   a n d   p r o t o c o l s   t h a t   s h o u l d   b e   o p e n   o n   c o n t r o l   p l a n e   a n d   w o r k e r   n o d e s   k u b e l e t   -   T h e   p r i m a r y   a g e n t   t h a t   r u n s   o n   e a c h   n o d e .   T h e   k u b e l e t   t a k e s   a   s e t   o f   P o d S p e c s   a n d   e n s u r e s   t h a t   t h e   d e s c r i b e d   c o n t a i n e r s   a r e   r u n n i n g   a n d   h e a l t h y .   k u b e - a p i s e r v e r   -   R E S T   A P I   t h a t   v a l i d a t e s   a n d   c o n f i g u r e s   d a t a   f o r   A P I   o b j e c t s   s u c h   a s   p o d s ,   s e r v i c e s ,   r e p l i c a t i o n   c o n t r o l l e r s .   k u b e - c o n t r o l l e r - m a n a g e r   -   D a e m o n   t h a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22654"
  },
  {
    "question": "What is Config APIs?",
    "answer": "T h i s   s e c t i o n   h o s t s   t h e   d o c u m e n t a t i o n   f o r   \" u n p u b l i s h e d \"   A P I s   w h i c h   a r e   u s e d   t o   c o n f i g u r e   k u b e r n e t e s   c o m p o n e n t s   o r   t o o l s .   M o s t   o f   t h e s e   A P I s   a r e   n o t   e x p o s e d   b y   t h e   A P I   s e r v e r   i n   a   R E S T f u l   w a y   t h o u g h   t h e y   a r e   e s s e n t i a l   f o r   a   u s e r   o r   a n   o p e r a t o r   t o   u s e   o r   m a n a g e   a   c l u s t e r .   k u b e c o n f i g   ( v 1 ) k u b e r c   ( v 1 a l p h a 1 ) k u b e - a p i s e r v e r   a d m i s s i o n   ( v 1 ) k u b e - a p i s e r v e r   c o n f i g u r a t i o n   ( v 1 a l p h a 1 )   a n d k u b e - a p i s e r v e r   c o n f i g u r a t i o n   ( v 1 b e t a 1 )   a n d   k u b e - a p i s e r v e r   c o n f i g u r a t i o n   ( v 1 ) k u b e - a p i s e r v e r   e v e n t   r a t e   l i m i t   ( v 1 a l p h a 1 ) k u b e l e t   c o n f i g u r a t i o n   ( v 1 a l p h a 1 )   a n d   k u b e l e t   c o n f i g u r a t i o n   ( v 1 b e t a 1 )   k u b e l e t   c o n f i g u r a t i o n   ( v 1 ) k u b e l e t   c r e d e n t i a l   p r o v i d e r s   ( v 1 )   k u b e - s c h e d u l e r   c o n f i g u r a t i o n   ( v 1 ) k u b e - c o n t r o l l e r - m a n a g e r   c o n f i g u r a t i o n   ( v 1 a l p h a 1 ) k u b e - p r o x y   c o n f i g u r a t i o n   ( v 1 a l p h a 1 ) a u d i t . k 8 s . i o / v 1   A P I C l i e n t   a u t h e n t i c a t i o n   A P I   ( v 1 b e t a 1 )   a n d   C l i e n t   a u t h e n t i c a t i o n   A P I   ( v 1 ) W e b h o o k A d m i s s i o n   c o n f i g u r a t i o n   ( v 1 ) I m a g e P o l i c y   A P I   ( v 1 a l p h a 1 )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22655"
  },
  {
    "question": "What is Config API for kubeadm?",
    "answer": "v 1 b e t a 3 v 1 b e t a 4",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22656"
  },
  {
    "question": "What is External APIs?",
    "answer": "T h e s e   a r e   t h e   A P I s   d e f i n e d   b y   t h e   K u b e r n e t e s   p r o j e c t ,   b u t   a r e   n o t   i m p l e m e n t e d   b y   t h e   c o r e   p r o j e c t :   M e t r i c s   A P I   ( v 1 b e t a 1 ) C u s t o m   M e t r i c s   A P I   ( v 1 b e t a 2 ) E x t e r n a l   M e t r i c s   A P I   ( v 1 b e t a 1 )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22657"
  },
  {
    "question": "What is Design Docs?",
    "answer": "A n   a r c h i v e   o f   t h e   d e s i g n   d o c s   f o r   K u b e r n e t e s   f u n c t i o n a l i t y .   G o o d   s t a r t i n g   p o i n t s   a r e   K u b e r n e t e s   A r c h i t e c t u r e   a n d   K u b e r n e t e s   D e s i g n   O v e r v i e w .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22658"
  },
  {
    "question": "What is 2 - API Overview?",
    "answer": "T h i s   s e c t i o n   p r o v i d e s   r e f e r e n c e   i n f o r m a t i o n   f o r   t h e   K u b e r n e t e s   A P I .   T h e   R E S T   A P I   i s   t h e   f u n d a m e n t a l   f a b r i c   o f   K u b e r n e t e s .   A l l   o p e r a t i o n s   a n d   c o m m u n i c a t i o n s   b e t w e e n   c o m p o n e n t s ,   a n d   e x t e r n a l   u s e r   c o m m a n d s   a r e   R E S T   A P I   c a l l s   t h a t   t h e   A P I   S e r v e r   h a n d l e s .   C o n s e q u e n t l y ,   e v e r y t h i n g   i n   t h e   K u b e r n e t e s   p l a t f o r m   i s   t r e a t e d   a s   a n   A P I   o b j e c t   a n d   h a s   a   c o r r e s p o n d i n g   e n t r y   i n   t h e   A P I .   T h e   K u b e r n e t e s   A P I   r e f e r e n c e   l i s t s   t h e   A P I   f o r   K u b e r n e t e s   v e r s i o n   v 1 . 3 4 .   F o r   g e n e r a l   b a c k g r o u n d   i n f o r m a t i o n ,   r e a d   T h e   K u b e r n e t e s   A P I .   C o n t r o l l i n g   A c c e s s   t o   t h e   K u b e r n e t e s   A P I   d e s c r i b e s   h o w   c l i e n t s   c a n   a u t h e n t i c a t e   t o   t h e   K u b e r n e t e s   A P I   s e r v e r ,   a n d   h o w   t h e i r   r e q u e s t s   a r e   a u t h o r i z e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_22659"
  },
  {
    "question": "What is API versioning?",
    "answer": "T h e   J S O N   a n d   P r o t o b u f   s e r i a l i z a t i o n   s c h e m a s   f o l l o w   t h e   s a m e   g u i d e l i n e s   f o r   s c h e m a   c h a n g e s .   T h e   f o l l o w i n g   d e s c r i p t i o n s   c o v e r   b o t h   f o r m a t s .   T h e   A P I   v e r s i o n i n g   a n d   s o f t w a r e   v e r s i o n i n g   a r e   i n d i r e c t l y   r e l a t e d .   T h e   A P I   a n d   r e l e a s e   v e r s i o n i n g   p r o p o s a l   d e s c r i b e s   t h e   r e l a t i o n s h i p   b e t w e e n   A P I   v e r s i o n i n g   a n d   s o f t w a r e   v e r s i o n i n g .   D i f f e r e n t   A P I   v e r s i o n s   i n d i c a t e   d i f f e r e n t   l e v e l s   o f   s t a b i l i t y   a n d   s u p p o r t .   Y o u   c a n   f i n d   m o r e   i n f o r m a t i o n   a b o u t   t h e   c r i t e r i a   f o r   e a c h   l e v e l   i n   t h e   A P I   C h a n g e s   d o c u m e n t a t i o n .   H e r e ' s   a   s u m m a r y   o f   e a c h   l e v e l :   A l p h a : T h e   v e r s i o n   n a m e s   c o n t a i n   a l p h a   ( f o r   e x a m p l e ,   v 1 a l p h a 1 ) . B u i l t - i n   a l p h a   A P I   v e r s i o n s   a r e   d i s a b l e d   b y   d e f a u l t   a n d   m u s t   b e   e x p l i c i t l y   e n a b l e d   i n   t h e   k u b e - a p i s e r v e r   c o n f i g u r a t i o n   t o   b e   u s e d . T h e   s o f t w a r e   m a y   c o n t a i n   b u g s .   E n a b l i n g   a   f e a t u r e   m a y   e x p o s e   b u g s . S u p p o r t   f o r   a n   a l p h a   A P I   m a y   b e   d r o p p e d   a t   a n y   t i m e   w i t h o u t   n o t i c e . T h e   A P I   m a y   c h a n g e   i n   i n c o m p a t i b l e   w a y s   i n   a   l a t e r   s o f t w a r e   r e l e a s e   w i t h o u t   n o t i c e . T h e   s o f t w a r e   i s   r e c o m m e n d e d   f o r   u s e   o n l y   i n   s h o r t - l i v e d   t e s t i n g   c l u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22660"
  },
  {
    "question": "What is Note:?",
    "answer": "S t a b l e :   T h e   v e r s i o n   n a m e   i s   v X   w h e r e   X   i s   a n   i n t e g e r . S t a b l e   A P I   v e r s i o n s   r e m a i n   a v a i l a b l e   f o r   a l l   f u t u r e   r e l e a s e s   w i t h i n   a   K u b e r n e t e s   m a j o r   v e r s i o n ,   a n d   t h e r e   a r e   n o   c u r r e n t   p l a n s   f o r   a   m a j o r   v e r s i o n   r e v i s i o n   o f   K u b e r n e t e s   t h a t   r e m o v e s   s t a b l e   A P I s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22661"
  },
  {
    "question": "What is API groups?",
    "answer": "A P I   g r o u p s   m a k e   i t   e a s i e r   t o   e x t e n d   t h e   K u b e r n e t e s   A P I .   T h e   A P I   g r o u p   i s   s p e c i f i e d   i n   a   R E S T   p a t h   a n d   i n   t h e   a p i V e r s i o n   f i e l d   o f   a   s e r i a l i z e d   o b j e c t .   T h e r e   a r e   s e v e r a l   A P I   g r o u p s   i n   K u b e r n e t e s :   T h e   c o r e   ( a l s o   c a l l e d   l e g a c y )   g r o u p   i s   f o u n d   a t   R E S T   p a t h   / a p i / v 1 .   T h e   c o r e   g r o u p   i s   n o t   s p e c i f i e d   a s   p a r t   o f   t h e   a p i V e r s i o n   f i e l d ,   f o r   e x a m p l e ,   a p i V e r s i o n :   v 1 . T h e   n a m e d   g r o u p s   a r e   a t   R E S T   p a t h   / a p i s / $ G R O U P _ N A M E / $ V E R S I O N   a n d   u s e   a p i V e r s i o n :   $ G R O U P _ N A M E / $ V E R S I O N   ( f o r   e x a m p l e ,   a p i V e r s i o n :   b a t c h / v 1 ) .   Y o u   c a n   f i n d   t h e   f u l l   l i s t   o f   s u p p o r t e d   A P I   g r o u p s   i n   K u b e r n e t e s   A P I   r e f e r e n c e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22662"
  },
  {
    "question": "What is Enabling or disabling API groups?",
    "answer": "C e r t a i n   r e s o u r c e s   a n d   A P I   g r o u p s   a r e   e n a b l e d   b y   d e f a u l t .   Y o u   c a n   e n a b l e   o r   d i s a b l e   t h e m   b y   s e t t i n g   - - r u n t i m e - c o n f i g   o n   t h e   A P I   s e r v e r .   T h e   - - r u n t i m e - c o n f i g   f l a g   a c c e p t s   c o m m a   s e p a r a t e d   < k e y > [ = < v a l u e > ]   p a i r s   d e s c r i b i n g   t h e   r u n t i m e   c o n f i g u r a t i o n   o f   t h e   A P I   s e r v e r .   I f   t h e   = < v a l u e >   p a r t   i s   o m i t t e d ,   i t   i s   t r e a t e d   a s   i f   = t r u e   i s   s p e c i f i e d .   F o r   e x a m p l e :   t o   d i s a b l e   b a t c h / v 1 ,   s e t   - - r u n t i m e - c o n f i g = b a t c h / v 1 = f a l s e t o   e n a b l e   b a t c h / v 2 a l p h a 1 ,   s e t   - - r u n t i m e - c o n f i g = b a t c h / v 2 a l p h a 1 t o   e n a b l e   a   s p e c i f i c   v e r s i o n   o f   a n   A P I ,   s u c h   a s   s t o r a g e . k 8 s . i o / v 1 b e t a 1 / c s i s t o r a g e c a p a c i t i e s ,   s e t   - - r u n t i m e - c o n f i g = s t o r a g e . k 8 s . i o / v 1 b e t a 1 / c s i s t o r a g e c a p a c i t i e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22663"
  },
  {
    "question": "What is Persistence?",
    "answer": "K u b e r n e t e s   s t o r e s   i t s   s e r i a l i z e d   s t a t e   i n   t e r m s   o f   t h e   A P I   r e s o u r c e s   b y   w r i t i n g   t h e m   i n t o   e t c d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22664"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   m o r e   a b o u t   A P I   c o n v e n t i o n s R e a d   t h e   d e s i g n   d o c u m e n t a t i o n   f o r   a g g r e g a t o r L e a r n   a b o u t   D e c l a r a t i v e   A P I   V a l i d a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22665"
  },
  {
    "question": "What is 2.1 - Declarative API Validation?",
    "answer": "K u b e r n e t e s   1 . 3 4   i n c l u d e s   o p t i o n a l   d e c l a r a t i v e   v a l i d a t i o n   f o r   A P I s .   W h e n   e n a b l e d ,   t h e   K u b e r n e t e s   A P I   s e r v e r   c a n   u s e   t h i s   m e c h a n i s m   r a t h e r   t h a n   t h e   l e g a c y   a p p r o a c h   t h a t   r e l i e s   o n   h a n d - w r i t t e n   G o   c o d e   ( v a l i d a t i o n . g o   f i l e s )   t o   e n s u r e   t h a t   r e q u e s t s   a g a i n s t   t h e   A P I   a r e   v a l i d .   K u b e r n e t e s   d e v e l o p e r s ,   a n d   p e o p l e   e x t e n d i n g   t h e   K u b e r n e t e s   A P I ,   c a n   d e f i n e   v a l i d a t i o n   r u l e s   d i r e c t l y   a l o n g s i d e   t h e   A P I   t y p e   d e f i n i t i o n s   ( t y p e s . g o   f i l e s ) .   C o d e   a u t h o r s   d e f i n e   p e c i a l   c o m m e n t   t a g s   ( e . g . ,   + k 8 s : m i n i m u m = 0 ) .   A   c o d e   g e n e r a t o r   ( v a l i d a t i o n - g e n )   t h e n   u s e s   t h e s e   t a g s   t o   p r o d u c e   o p t i m i z e d   G o   c o d e   f o r   A P I   v a l i d a t i o n .   W h i l e   p r i m a r i l y   a   f e a t u r e   i m p a c t i n g   K u b e r n e t e s   c o n t r i b u t o r s   a n d   p o t e n t i a l l y   d e v e l o p e r s   o f   e x t e n s i o n   A P I   s e r v e r s ,   c l u s t e r   a d m i n i s t r a t o r s   s h o u l d   u n d e r s t a n d   i t s   b e h a v i o r ,   e s p e c i a l l y   d u r i n g   i t s   r o l l o u t   p h a s e s .   D e c l a r a t i v e   v a l i d a t i o n   i s   b e i n g   r o l l e d   o u t   g r a d u a l l y .   I n   K u b e r n e t e s   1 . 3 4 ,   t h e   A P I s   t h a t   u s e   d e c l a r a t i v e   v a l i d a t i o n   i n c l u d e :   R e p l i c a t i o n C o n t r o l l e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_22666"
  },
  {
    "question": "What is Note:?",
    "answer": "D e c l a r a t i v e V a l i d a t i o n :   ( B e t a ,   D e f a u l t :   t r u e )   W h e n   e n a b l e d ,   t h e   A P I   s e r v e r   r u n s   b o t h   t h e   n e w   d e c l a r a t i v e   v a l i d a t i o n   a n d   t h e   o l d   h a n d - w r i t t e n   v a l i d a t i o n   f o r   m i g r a t e d   t y p e s / f i e l d s .   T h e   r e s u l t s   a r e   c o m p a r e d   i n t e r n a l l y . D e c l a r a t i v e V a l i d a t i o n T a k e o v e r :   ( B e t a ,   D e f a u l t :   f a l s e )   T h i s   g a t e   d e t e r m i n e s   w h i c h   v a l i d a t i o n   r e s u l t   i s   a u t h o r i t a t i v e   ( i . e . ,   r e t u r n e d   t o   t h e   u s e r   a n d   u s e d   f o r   a d m i s s i o n   d e c i s i o n s ) .   D e f a u l t   B e h a v i o r   ( K u b e r n e t e s   1 . 3 4 ) :   W i t h   D e c l a r a t i v e V a l i d a t i o n = t r u e   a n d   D e c l a r a t i v e V a l i d a t i o n T a k e o v e r = f a l s e   ( t h e   d e f a u l t   v a l u e s   f o r   t h e   g a t e s ) ,   b o t h   v a l i d a t i o n   s y s t e m s   r u n . T h e   r e s u l t s   o f   t h e   h a n d - w r i t t e n   v a l i d a t i o n   a r e   u s e d .   T h e   d e c l a r a t i v e   v a l i d a t i o n   r u n s   i n   a   m i s m a t c h   m o d e   f o r   c o m p a r i s o n . M i s m a t c h e s   b e t w e e n   t h e   t w o   v a l i d a t i o n   s y s t e m s   a r e   l o g g e d   b y   t h e   A P I   s e r v e r   a n d   i n c r e m e n t   t h e   d e c l a r a t i v e _ v a l i d a t i o n _ m i s m a t c h _ t o t a l   m e t r i c .   T h i s   h e l p s   d e v e l o p e r s   i d e n t i f y   a n d   f i x   d i s c r e p a n c i e s   d u r i n g   t h e   B e t a   p h a s e . C l u s t e r   u p g r a d e s   s h o u l d   b e   s a f e   r e g a r d i n g   t h i s   f e a t u r e ,   a s   t h e   a u t h o r i t a t i v e   v a l i d a t i o n   l o g i c   d o e s n ' t   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22667"
  },
  {
    "question": "What is Disabling declarative validation?",
    "answer": "A s   a   c l u s t e r   a d m i n i s t r a t o r ,   y o u   m i g h t   c o n s i d e r   d i s a b l i n g   d e c l a r a t i v e   v a l i d a t i o n   w h i l s t   i t   i s   s t i l l   b e t a ,   u n d e r   s p e c i f i c   c i r c u m s t a n c e s :   U n e x p e c t e d   V a l i d a t i o n   B e h a v i o r :   I f   e n a b l i n g   D e c l a r a t i v e V a l i d a t i o n T a k e o v e r   l e a d s   t o   u n e x p e c t e d   v a l i d a t i o n   e r r o r s   o r   a l l o w s   o b j e c t s   t h a t   w e r e   p r e v i o u s l y   i n v a l i d . P e r f o r m a n c e   R e g r e s s i o n s :   I f   m o n i t o r i n g   i n d i c a t e s   s i g n i f i c a n t   l a t e n c y   i n c r e a s e s   ( e . g . ,   i n   a p i s e r v e r _ r e q u e s t _ d u r a t i o n _ s e c o n d s )   c o r r e l a t e d   w i t h   t h e   f e a t u r e ' s   e n a b l e m e n t . H i g h   M i s m a t c h   R a t e :   I f   t h e   d e c l a r a t i v e _ v a l i d a t i o n _ m i s m a t c h _ t o t a l   m e t r i c   s h o w s   f r e q u e n t   m i s m a t c h e s ,   s u g g e s t i n g   p o t e n t i a l   b u g s   i n   t h e   d e c l a r a t i v e   r u l e s   a f f e c t i n g   t h e   c l u s t e r ' s   w o r k l o a d s ,   e v e n   i f   D e c l a r a t i v e V a l i d a t i o n T a k e o v e r   i s   f a l s e .   T o   r e v e r t   t o   o n l y   u s i n g   h a n d - w r i t t e n   v a l i d a t i o n   ( a s   u s e d   b e f o r e   K u b e r n e t e s   v 1 . 3 3 ) ,   d i s a b l e   t h e   D e c l a r a t i v e V a l i d a t i o n   f e a t u r e   g a t e ,   f o r   e x a m p l e   v i a   c o m m a n d - l i n e   a r g u m e n t s :   ( - - f e a t u r e - g a t e s = D e c l a r a t i v e V a l i d a t i o n = f a l s e ) .   T h i s   a l s o   i m p l i c i t l y   d i s a b l e s   t h e   e f f e c t   o f   D e c l a r a t i v e V a l i d a t i o n T a k e o v e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22668"
  },
  {
    "question": "What is Considerations for downgrade and rollback?",
    "answer": "D i s a b l i n g   t h e   f e a t u r e   a c t s   a s   a   s a f e t y   m e c h a n i s m .   H o w e v e r ,   b e   a w a r e   o f   a   p o t e n t i a l   e d g e   c a s e   ( c o n s i d e r e d   u n l i k e l y   d u e   t o   e x t e n s i v e   t e s t i n g ) :   I f   a   b u g   i n   d e c l a r a t i v e   v a l i d a t i o n   ( w h e n   D e c l a r a t i v e V a l i d a t i o n T a k e o v e r = t r u e )   i n c o r r e c t l y   a l l o w e d   a n   i n v a l i d   o b j e c t   t o   b e   p e r s i s t e d ,   d i s a b l i n g   t h e   f e a t u r e   g a t e s   m i g h t   t h e n   c a u s e   s u b s e q u e n t   u p d a t e s   t o   t h a t   s p e c i f i c   o b j e c t   t o   b e   b l o c k e d   b y   t h e   n o w - a u t h o r i t a t i v e   ( a n d   c o r r e c t )   h a n d - w r i t t e n   v a l i d a t i o n .   R e s o l v i n g   t h i s   m i g h t   r e q u i r e   m a n u a l   c o r r e c t i o n   o f   t h e   s t o r e d   o b j e c t ,   p o t e n t i a l l y   v i a   d i r e c t   e t c d   m o d i f i c a t i o n   i n   r a r e   c a s e s .   F o r   d e t a i l s   o n   m a n a g i n g   f e a t u r e   g a t e s ,   s e e   F e a t u r e   G a t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22669"
  },
  {
    "question": "What is Declarative validation tag reference?",
    "answer": "T h i s   d o c u m e n t   p r o v i d e s   a   c o m p r e h e n s i v e   r e f e r e n c e   f o r   a l l   a v a i l a b l e   d e c l a r a t i v e   v a l i d a t i o n   t a g s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22670"
  },
  {
    "question": "What is +k8s:eachKey?",
    "answer": "D e s c r i p t i o n :   D e c l a r e s   a   v a l i d a t i o n   f o r   e a c h   k e y   i n   a   m a p .   P a y l o a d :   < v a l i d a t i o n - t a g > :   T h e   t a g   t o   e v a l u a t e   f o r   e a c h   k e y .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : e a c h K e y = + k 8 s : m i n i m u m = 1   M y M a p   m a p [ i n t ] s t r i n g   ` j s o n : \" m y M a p \" `   }   I n   t h i s   e x a m p l e ,   e a c h K e y   i s   u s e d   t o   s p e c i f y   t h a t   t h e   + k 8 s : m i n i m u m   t a g   s h o u l d   b e   a p p l i e d   t o   e a c h   i n t   k e y   i n   M y M a p .   T h i s   m e a n s   t h a t   a l l   k e y s   i n   t h e   m a p   m u s t   b e   > =   1 .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22671"
  },
  {
    "question": "What is +k8s:eachVal?",
    "answer": "D e s c r i p t i o n :   D e c l a r e s   a   v a l i d a t i o n   f o r   e a c h   v a l u e   i n   a   m a p   o r   l i s t .   P a y l o a d :   < v a l i d a t i o n - t a g > :   T h e   t a g   t o   e v a l u a t e   f o r   e a c h   v a l u e .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : e a c h V a l = + k 8 s : m i n i m u m = 1   M y M a p   m a p [ s t r i n g ] i n t   ` j s o n : \" m y M a p \" `   }   I n   t h i s   e x a m p l e ,   e a c h V a l   i s   u s e d   t o   s p e c i f y   t h a t   t h e   + k 8 s : m i n i m u m   t a g   s h o u l d   b e   a p p l i e d   t o   e a c h   e l e m e n t   i n   M y L i s t .   T h i s   m e a n s   t h a t   a l l   f i e l d s   i n   M y S t r u c t   m u s t   b e   > =   1 .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22672"
  },
  {
    "question": "What is +k8s:enum?",
    "answer": "D e s c r i p t i o n :   I n d i c a t e s   t h a t   a   s t r i n g   t y p e   i s   a n   e n u m .   A l l   c o n s t   v a l u e s   o f   t h i s   t y p e   a r e   c o n s i d e r e d   v a l u e s   i n   t h e   e n u m .   U s a g e   E x a m p l e :   F i r s t ,   d e f i n e   a   n e w   s t r i n g   t y p e   a n d   s o m e   c o n s t a n t s   o f   t h a t   t y p e :   / /   + k 8 s : e n u m   t y p e   M y E n u m   s t r i n g   c o n s t   (   M y E n u m A   M y E n u m   =   \" A \"   M y E n u m B   M y E n u m   =   \" B \"   )   T h e n ,   u s e   t h i s   t y p e   i n   a n o t h e r   s t r u c t :   t y p e   M y S t r u c t   s t r u c t   {   M y F i e l d   M y E n u m   ` j s o n : \" m y F i e l d \" `   }   T h e   v a l i d a t i o n   l o g i c   w i l l   e n s u r e   t h a t   M y F i e l d   i s   o n e   o f   t h e   d e f i n e d   e n u m   v a l u e s   ( \" A \"   o r   \" B \" ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22673"
  },
  {
    "question": "What is +k8s:forbidden?",
    "answer": "D e s c r i p t i o n :   I n d i c a t e s   t h a t   a   f i e l d   m a y   n o t   b e   s p e c i f i e d .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : f o r b i d d e n   M y F i e l d   s t r i n g   ` j s o n : \" m y F i e l d \" `   }   I n   t h i s   e x a m p l e ,   M y F i e l d   c a n n o t   b e   p r o v i d e d   ( i t   i s   f o r b i d d e n )   w h e n   c r e a t i n g   o r   u p d a t i n g   M y S t r u c t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22674"
  },
  {
    "question": "What is +k8s:format?",
    "answer": "D e s c r i p t i o n :   I n d i c a t e s   t h a t   a   s t r i n g   f i e l d   h a s   a   p a r t i c u l a r   f o r m a t .   P a y l o a d s :   k 8 s - i p :   T h i s   f i e l d   h o l d s   a n   I P v 4   o r   I P v 6   a d d r e s s   v a l u e .   I P v 4   o c t e t s   m a y   h a v e   l e a d i n g   z e r o s . k 8 s - l o n g - n a m e :   T h i s   f i e l d   h o l d s   a   K u b e r n e t e s   \" l o n g   n a m e \" ,   a k a   a   \" D N S   s u b d o m a i n \"   v a l u e . k 8 s - s h o r t - n a m e :   T h i s   f i e l d   h o l d s   a   K u b e r n e t e s   \" s h o r t   n a m e \" ,   a k a   a   \" D N S   l a b e l \"   v a l u e .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : f o r m a t = k 8 s - i p   I P A d d r e s s   s t r i n g   ` j s o n : \" i p A d d r e s s \" `   / /   + k 8 s : f o r m a t = k 8 s - l o n g - n a m e   S u b d o m a i n   s t r i n g   ` j s o n : \" s u b d o m a i n \" `   / /   + k 8 s : f o r m a t = k 8 s - s h o r t - n a m e   L a b e l   s t r i n g   ` j s o n : \" l a b e l \" `   }   I n   t h i s   e x a m p l e :   I P A d d r e s s   m u s t   b e   a   v a l i d   I P   a d d r e s s . S u b d o m a i n   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n . L a b e l   m u s t   b e   a   v a l i d   D N S   l a b e l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22675"
  },
  {
    "question": "What is +k8s:ifDisabled?",
    "answer": "D e s c r i p t i o n :   D e c l a r e s   a   v a l i d a t i o n   t h a t   o n l y   a p p l i e s   w h e n   a n   o p t i o n   i s   d i s a b l e d .   A r g u m e n t s :   < o p t i o n >   ( s t r i n g ,   r e q u i r e d ) :   T h e   n a m e   o f   t h e   o p t i o n .   P a y l o a d :   < v a l i d a t i o n - t a g > :   T h i s   v a l i d a t i o n   t a g   w i l l   b e   e v a l u a t e d   o n l y   i f   t h e   v a l i d a t i o n   o p t i o n   i s   d i s a b l e d .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : i f D i s a b l e d ( \" m y - f e a t u r e \" ) = + k 8 s : r e q u i r e d   M y F i e l d   s t r i n g   ` j s o n : \" m y F i e l d \" `   }   I n   t h i s   e x a m p l e ,   M y F i e l d   i s   r e q u i r e d   o n l y   i f   t h e   \" m y - f e a t u r e \"   o p t i o n   i s   d i s a b l e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22676"
  },
  {
    "question": "What is +k8s:ifEnabled?",
    "answer": "D e s c r i p t i o n :   D e c l a r e s   a   v a l i d a t i o n   t h a t   o n l y   a p p l i e s   w h e n   a n   o p t i o n   i s   e n a b l e d .   A r g u m e n t s :   < o p t i o n >   ( s t r i n g ,   r e q u i r e d ) :   T h e   n a m e   o f   t h e   o p t i o n .   P a y l o a d :   < v a l i d a t i o n - t a g > :   T h i s   v a l i d a t i o n   t a g   w i l l   b e   e v a l u a t e d   o n l y   i f   t h e   v a l i d a t i o n   o p t i o n   i s   e n a b l e d .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : i f E n a b l e d ( \" m y - f e a t u r e \" ) = + k 8 s : r e q u i r e d   M y F i e l d   s t r i n g   ` j s o n : \" m y F i e l d \" `   }   I n   t h i s   e x a m p l e ,   M y F i e l d   i s   r e q u i r e d   o n l y   i f   t h e   \" m y - f e a t u r e \"   o p t i o n   i s   e n a b l e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22677"
  },
  {
    "question": "What is +k8s:isSubresource?",
    "answer": "D e s c r i p t i o n :   T h e   + k 8 s : i s S u b r e s o u r c e   t a g   i s   a   p a c k a g e - l e v e l   c o m m e n t   t h a t   s c o p e s   t h e   v a l i d a t i o n   r u l e s   w i t h i n   t h a t   p a c k a g e   t o   a   s p e c i f i c   s u b r e s o u r c e .   I t   e s s e n t i a l l y   t e l l s   t h e   c o d e   g e n e r a t o r ,   \" T h e   v a l i d a t i o n   l o g i c   d e f i n e d   h e r e   i s   t h e   s p e c i f i c   i m p l e m e n t a t i o n   f o r   t h i s   s u b r e s o u r c e   a n d   s h o u l d   n o t   b e   a p p l i e d   t o   t h e   r o o t   o b j e c t   o r   a n y   o t h e r   s u b r e s o u r c e . \"   C R I T I C A L   D E P E N D E N C Y :   T h i s   t a g   i s   d e p e n d e n t   o n   a   c o r r e s p o n d i n g   + k 8 s : s u p p o r t s S u b r e s o u r c e   t a g   b e i n g   p r e s e n t   i n   t h e   p a c k a g e   w h e r e   t h e   m a i n   A P I   t y p e   i s   d e f i n e d .   + k 8 s : s u p p o r t s S u b r e s o u r c e   o p e n s   t h e   d o o r   b y   t e l l i n g   t h e   d i s p a t c h e r   t h a t   a   s u b r e s o u r c e   i s   v a l i d . + k 8 s : i s S u b r e s o u r c e   p r o v i d e s   t h e   s p e c i a l i z e d   v a l i d a t i o n   l o g i c   t h a t   r u n s   w h e n   a   r e q u e s t   c o m e s   t h r o u g h   t h a t   d o o r .   I f   y o u   u s e   + k 8 s : i s S u b r e s o u r c e   w i t h o u t   t h e   c o r r e s p o n d i n g   + k 8 s : s u p p o r t s S u b r e s o u r c e   d e c l a r a t i o n   o n   t h e   m a i n   t y p e ,   t h e   s p e c i a l i z e d   v a l i d a t i o n   c o d e   w i l l   b e   g e n e r a t e d   b u t   w i l l   b e   u n r e a c h a b l e .   T h e   m a i n   d i s p a t c h e r   w i l l   n o t   r e c o g n i z e   t h e   s u b r e s o u r c e   p a t h   a n d   w i l l   r e j e c t   t h e   r e q u e s t   b e f o r e   i t   c a n   b e   r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22678"
  },
  {
    "question": "What is +k8s:item?",
    "answer": "D e s c r i p t i o n :   D e c l a r e s   a   v a l i d a t i o n   f o r   a n   i t e m   o f   a   s l i c e   d e c l a r e d   a s   a   + k 8 s : l i s t T y p e = m a p .   T h e   i t e m   t o   m a t c h   i s   d e c l a r e d   b y   p r o v i d i n g   f i e l d - v a l u e   p a i r   a r g u m e n t s   w h e r e   t h e   f i e l d   i s   a   l i s t M a p K e y .   A l l   l i s t M a p K e y   k e y   f i e l d s   m u s t   b e   s p e c i f i e d .   U s a g e :   + k 8 s : i t e m ( < l i s t M a p K e y - J S O N - f i e l d - n a m e > :   < v a l u e > , . . . ) = < v a l i d a t i o n - t a g >   + k 8 s : i t e m ( s t r i n g K e y :   \" v a l u e \" ,   i n t K e y :   4 2 ,   b o o l K e y :   t r u e ) = < v a l i d a t i o n - t a g >   A r g u m e n t s   m u s t   b e   n a m e d   w i t h   t h e   J S O N   n a m e s   o f   t h e   l i s t - m a p   k e y   f i e l d s .   V a l u e s   c a n   b e   s t r i n g s ,   i n t e g e r s ,   o r   b o o l e a n s .   P a y l o a d :   < v a l i d a t i o n - t a g > :   T h e   t a g   t o   e v a l u a t e   f o r   t h e   m a t c h i n g   l i s t   i t e m .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : l i s t T y p e = m a p   / /   + k 8 s : l i s t M a p K e y = t y p e   / /   + k 8 s : i t e m ( t y p e :   \" A p p r o v e d \" ) = + k 8 s : z e r o O r O n e O f M e m b e r   / /   + k 8 s : i t e m ( t y p e :   \" D e n i e d \" ) = + k 8 s : z e r o O r O n e O f M e m b e r   M y C o n d i t i o n s   [ ] M y C o n d i t i o n   ` j s o n : \" c o n d i t i o n s \" `   }   t y p e   M y C o n d i t i o n   s t r u c t   {   T y p e   s t r i n g   ` j s o n : \" t y p e \" `   S t a t u s   s t r i n g   ` j s o n : \" s t a t u s \" `   }   I n   t h i s   e x a m p l e :   T h e   c o n d i t i o n   w i t h   t y p e   \" A p p r o v e d \"   i s   p a r t   o f   a   z e r o - o r - o n e - o f   g r o u p . T h e   c o n d i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22679"
  },
  {
    "question": "What is +k8s:listMapKey?",
    "answer": "D e s c r i p t i o n :   D e c l a r e s   a   n a m e d   s u b - f i e l d   o f   a   l i s t ' s   v a l u e - t y p e   t o   b e   p a r t   o f   t h e   l i s t - m a p   k e y .   T h i s   t a g   i s   r e q u i r e d   w h e n   + k 8 s : l i s t T y p e = m a p   i s   u s e d .   M u l t i p l e   + k 8 s : l i s t M a p K e y   t a g s   c a n   b e   u s e d   o n   a   l i s t - m a p   t o   s p e c i f y   t h a t   i t   i s   k e y e d   o f f   o f   m u l t i p l e   f i e l d s .   P a y l o a d :   < f i e l d - j s o n - n a m e > :   T h e   J S O N   n a m e   o f   t h e   f i e l d   t o   b e   u s e d   a s   t h e   k e y .   U s a g e   E x a m p l e :   / /   + k 8 s : l i s t T y p e = m a p   / /   + k 8 s : l i s t M a p K e y = k e y F i e l d O n e   / /   + k 8 s : l i s t M a p K e y = k e y F i e l d T w o   t y p e   M y L i s t   [ ] M y S t r u c t   t y p e   M y S t r u c t   s t r u c t   {   k e y F i e l d O n e   s t r i n g   ` j s o n : \" k e y F i e l d O n e \" `   k e y F i e l d T w o   s t r i n g   ` j s o n : \" k e y F i e l d T w o \" `   v a l u e F i e l d   s t r i n g   ` j s o n : \" v a l u e F i e l d \" `   }   I n   t h i s   e x a m p l e ,   l i s t M a p K e y   i s   u s e d   t o   s p e c i f y   t h a t   t h e   k e y F i e l d   o f   M y S t r u c t   s h o u l d   b e   u s e d   a s   t h e   k e y   f o r   t h e   l i s t - m a p .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22680"
  },
  {
    "question": "What is +k8s:listType?",
    "answer": "D e s c r i p t i o n :   D e c l a r e s   a   l i s t   f i e l d ' s   s e m a n t i c   t y p e .   T h i s   t a g   i s   u s e d   t o   s p e c i f y   h o w   a   l i s t   s h o u l d   b e   t r e a t e d ,   f o r   e x a m p l e ,   a s   a   m a p   o r   a   s e t .   P a y l o a d :   a t o m i c :   T h e   l i s t   i s   t r e a t e d   a s   a   s i n g l e   a t o m i c   v a l u e . m a p :   T h e   l i s t   i s   t r e a t e d   a s   a   m a p ,   w h e r e   e a c h   e l e m e n t   h a s   a   u n i q u e   k e y .   R e q u i r e s   t h e   u s e   o f   + k 8 s : l i s t M a p K e y . s e t :   T h e   l i s t   i s   t r e a t e d   a s   a   s e t ,   w h e r e   e a c h   e l e m e n t   i s   u n i q u e .   U s a g e   E x a m p l e :   / /   + k 8 s : l i s t T y p e = m a p   / /   + k 8 s : l i s t M a p K e y = k e y F i e l d   t y p e   M y L i s t   [ ] M y S t r u c t   t y p e   M y S t r u c t   s t r u c t   {   k e y F i e l d   s t r i n g   ` j s o n : \" k e y F i e l d \" `   v a l u e F i e l d   s t r i n g   ` j s o n : \" v a l u e F i e l d \" `   }   I n   t h i s   e x a m p l e ,   M y L i s t   i s   d e c l a r e d   a s   a   l i s t   o f   t y p e   m a p ,   w i t h   k e y F i e l d   a s   t h e   k e y .   T h i s   m e a n s   t h a t   t h e   v a l i d a t i o n   l o g i c   w i l l   e n s u r e   t h a t   e a c h   e l e m e n t   i n   t h e   l i s t   h a s   a   u n i q u e   k e y F i e l d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22681"
  },
  {
    "question": "What is +k8s:maxItems?",
    "answer": "D e s c r i p t i o n :   I n d i c a t e s   t h a t   a   l i s t   f i e l d   h a s   a   l i m i t   o n   i t s   s i z e .   P a y l o a d :   < n o n - n e g a t i v e   i n t e g e r > :   T h i s   f i e l d   m u s t   b e   n o   m o r e   t h a n   X   i t e m s   l o n g .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : m a x I t e m s = 5   M y L i s t   [ ] s t r i n g   ` j s o n : \" m y L i s t \" `   }   I n   t h i s   e x a m p l e ,   M y L i s t   c a n n o t   c o n t a i n   m o r e   t h a n   5   i t e m s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22682"
  },
  {
    "question": "What is +k8s:maxLength?",
    "answer": "D e s c r i p t i o n :   I n d i c a t e s   t h a t   a   s t r i n g   f i e l d   h a s   a   l i m i t   o n   i t s   l e n g t h .   P a y l o a d :   < n o n - n e g a t i v e   i n t e g e r > :   T h i s   f i e l d   m u s t   b e   n o   m o r e   t h a n   X   c h a r a c t e r s   l o n g .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : m a x L e n g t h = 1 0   M y S t r i n g   s t r i n g   ` j s o n : \" m y S t r i n g \" `   }   I n   t h i s   e x a m p l e ,   M y S t r i n g   c a n n o t   b e   l o n g e r   t h a n   1 0   c h a r a c t e r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22683"
  },
  {
    "question": "What is +k8s:minimum?",
    "answer": "D e s c r i p t i o n :   I n d i c a t e s   t h a t   a   n u m e r i c   f i e l d   h a s   a   m i n i m u m   v a l u e .   P a y l o a d :   < i n t e g e r > :   T h i s   f i e l d   m u s t   b e   g r e a t e r   t h a n   o r   e q u a l   t o   x .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : m i n i m u m = 0   M y I n t   i n t   ` j s o n : \" m y I n t \" `   }   I n   t h i s   e x a m p l e ,   M y I n t   m u s t   b e   g r e a t e r   t h a n   o r   e q u a l   t o   0 .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22684"
  },
  {
    "question": "What is +k8s:neq?",
    "answer": "D e s c r i p t i o n :   V e r i f i e s   t h e   f i e l d ' s   v a l u e   i s   n o t   e q u a l   t o   a   s p e c i f i c   d i s a l l o w e d   v a l u e .   S u p p o r t s   s t r i n g ,   i n t e g e r ,   a n d   b o o l e a n   t y p e s .   P a y l o a d :   < v a l u e > :   T h e   d i s a l l o w e d   v a l u e .   T h e   p a r s e r   w i l l   i n f e r   t h e   t y p e   ( s t r i n g ,   i n t ,   b o o l ) .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : n e q = \" d i s a l l o w e d \"   M y S t r i n g   s t r i n g   ` j s o n : \" m y S t r i n g \" `   / /   + k 8 s : n e q = 0   M y I n t   i n t   ` j s o n : \" m y I n t \" `   / /   + k 8 s : n e q = t r u e   M y B o o l   b o o l   ` j s o n : \" m y B o o l \" `   }   I n   t h i s   e x a m p l e :   M y S t r i n g   c a n n o t   b e   e q u a l   t o   \" d i s a l l o w e d \" . M y I n t   c a n n o t   b e   e q u a l   t o   0 . M y B o o l   c a n n o t   b e   e q u a l   t o   t r u e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22685"
  },
  {
    "question": "What is +k8s:opaqueType?",
    "answer": "D e s c r i p t i o n :   I n d i c a t e s   t h a t   a n y   v a l i d a t i o n s   d e c l a r e d   o n   t h e   r e f e r e n c e d   t y p e   w i l l   b e   i g n o r e d .   I f   a   r e f e r e n c e d   t y p e ' s   p a c k a g e   i s   n o t   i n c l u d e d   i n   t h e   g e n e r a t o r ' s   c u r r e n t   f l a g s ,   t h i s   t a g   m u s t   b e   s e t ,   o r   c o d e   g e n e r a t i o n   w i l l   f a i l   ( p r e v e n t i n g   s i l e n t   m i s t a k e s ) .   I f   t h e   v a l i d a t i o n s   s h o u l d   n o t   b e   i g n o r e d ,   a d d   t h e   t y p e ' s   p a c k a g e   t o   t h e   g e n e r a t o r   u s i n g   t h e   - - r e a d o n l y - p k g   f l a g .   U s a g e   E x a m p l e :   i m p o r t   \" s o m e / e x t e r n a l / p a c k a g e \"   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : o p a q u e T y p e   E x t e r n a l F i e l d   p a c k a g e . E x t e r n a l T y p e   ` j s o n : \" e x t e r n a l F i e l d \" `   }   I n   t h i s   e x a m p l e ,   a n y   v a l i d a t i o n   t a g s   o n   p a c k a g e . E x t e r n a l T y p e   w i l l   b e   i g n o r e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22686"
  },
  {
    "question": "What is +k8s:optional?",
    "answer": "D e s c r i p t i o n :   I n d i c a t e s   t h a t   a   f i e l d   i s   o p t i o n a l   t o   c l i e n t s .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : o p t i o n a l   M y F i e l d   s t r i n g   ` j s o n : \" m y F i e l d \" `   }   I n   t h i s   e x a m p l e ,   M y F i e l d   i s   n o t   r e q u i r e d   t o   b e   p r o v i d e d   w h e n   c r e a t i n g   o r   u p d a t i n g   M y S t r u c t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22687"
  },
  {
    "question": "What is +k8s:required?",
    "answer": "D e s c r i p t i o n :   I n d i c a t e s   t h a t   a   f i e l d   m u s t   b e   s p e c i f i e d   b y   c l i e n t s .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : r e q u i r e d   M y F i e l d   s t r i n g   ` j s o n : \" m y F i e l d \" `   }   I n   t h i s   e x a m p l e ,   M y F i e l d   m u s t   b e   p r o v i d e d   w h e n   c r e a t i n g   o r   u p d a t i n g   M y S t r u c t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22688"
  },
  {
    "question": "What is +k8s:subfield?",
    "answer": "D e s c r i p t i o n :   D e c l a r e s   a   v a l i d a t i o n   f o r   a   s u b f i e l d   o f   a   s t r u c t .   A r g u m e n t s :   < f i e l d - j s o n - n a m e >   ( s t r i n g ,   r e q u i r e d ) :   T h e   J S O N   n a m e   o f   t h e   s u b f i e l d .   P a y l o a d :   < v a l i d a t i o n - t a g > :   T h e   t a g   t o   e v a l u a t e   f o r   t h e   s u b f i e l d .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : s u b f i e l d ( \" m y S u b f i e l d \" ) = + k 8 s : r e q u i r e d   M y S t r u c t   M y S t r u c t   ` j s o n : \" M y S t r u c t \" `   }   t y p e   M y S t r u c t   s t r u c t   {   M y S u b f i e l d   s t r i n g   ` j s o n : \" m y S u b f i e l d \" `   }   I n   t h i s   e x a m p l e ,   M y S u b f i e l d   w i t h i n   M y S t r u c t   i s   r e q u i r e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22689"
  },
  {
    "question": "What is +k8s:supportsSubresource?",
    "answer": "D e s c r i p t i o n :   T h e   + k 8 s : s u p p o r t s S u b r e s o u r c e   t a g   i s   a   p a c k a g e - l e v e l   c o m m e n t   t a g   t h a t   d e c l a r e s   w h i c h   s u b r e s o u r c e s   a r e   v a l i d   t a r g e t s   f o r   v a l i d a t i o n   f o r   t h e   t y p e s   w i t h i n   t h a t   p a c k a g e .   T h i n k   o f   t h i s   t a g   a s   r e g i s t e r i n g   a n   e n d p o i n t ;   i t   t e l l s   t h e   v a l i d a t i o n   f r a m e w o r k   t h a t   a   s p e c i f i c   s u b r e s o u r c e   p a t h   i s   r e c o g n i z e d   a n d   s h o u l d   n o t   b e   i m m e d i a t e l y   r e j e c t e d .   W h e n   t h e   v a l i d a t i o n   c o d e   i s   g e n e r a t e d ,   t h i s   t a g   a d d s   t h e   s p e c i f i e d   s u b r e s o u r c e   p a t h   t o   t h e   m a i n   d i s p a t c h   f u n c t i o n   f o r   a   t y p e .   T h i s   a l l o w s   i n c o m i n g   r e q u e s t s   f o r   t h a t   s u b r e s o u r c e   t o   b e   r o u t e d   t o   a   v a l i d a t i o n   i m p l e m e n t a t i o n .   M u l t i p l e   t a g s   c a n   b e   u s e d   t o   d e c l a r e   s u p p o r t   f o r   s e v e r a l   s u b r e s o u r c e s .   I f   n o   + k 8 s : s u p p o r t s S u b r e s o u r c e   t a g s   a r e   p r e s e n t   i n   a   p a c k a g e ,   v a l i d a t i o n   i s   o n l y   e n a b l e d   f o r   t h e   r o o t   r e s o u r c e   ( e . g . ,   . . . / m y r e s o u r c e s / m y o b j e c t ) ,   a n d   a n y   r e q u e s t s   t o   s u b r e s o u r c e s   w i l l   f a i l   w i t h   a   \" n o   v a l i d a t i o n   f o u n d \"   e r r o r .   S t a n d a l o n e   U s a g e :   I f   y o u   u s e   + k 8 s : s u p p o r t s S u b r e s o u r c e   w i t h o u t   a   c o r r e s p o n d i n g   + k 8 s : i s S u b r e s o u r c e   t a g   f o r   a   s p e c i f i c   v a l i d a t i o n ,   t h e   v a l i d a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22690"
  },
  {
    "question": "What is +k8s:unionDiscriminator?",
    "answer": "D e s c r i p t i o n :   I n d i c a t e s   t h a t   t h i s   f i e l d   i s   t h e   d i s c r i m i n a t o r   f o r   a   u n i o n .   A r g u m e n t s :   u n i o n   ( s t r i n g ,   o p t i o n a l ) :   T h e   n a m e   o f   t h e   u n i o n ,   i f   m o r e   t h a n   o n e   e x i s t s .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   T y p e M e t a   i n t   / /   + k 8 s : u n i o n D i s c r i m i n a t o r   D   D   ` j s o n : \" d \" `   / /   + k 8 s : u n i o n M e m b e r   / /   + k 8 s : o p t i o n a l   M 1   * M 1   ` j s o n : \" m 1 \" `   / /   + k 8 s : u n i o n M e m b e r   / /   + k 8 s : o p t i o n a l   M 2   * M 2   ` j s o n : \" m 2 \" `   }   t y p e   D   s t r i n g   c o n s t   (   D M 1   D   =   \" M 1 \"   D M 2   D   =   \" M 2 \"   )   t y p e   M 1   s t r u c t { }   t y p e   M 2   s t r u c t { }   I n   t h i s   e x a m p l e ,   t h e   T y p e   f i e l d   i s   t h e   d i s c r i m i n a t o r   f o r   t h e   u n i o n .   T h e   v a l u e   o f   T y p e   w i l l   d e t e r m i n e   w h i c h   o f   t h e   u n i o n   m e m b e r s   ( M 1   o r   M 2 )   i s   e x p e c t e d   t o   b e   p r e s e n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22691"
  },
  {
    "question": "What is +k8s:unionMember?",
    "answer": "D e s c r i p t i o n :   I n d i c a t e s   t h a t   t h i s   f i e l d   i s   a   m e m b e r   o f   a   u n i o n .   A r g u m e n t s :   u n i o n   ( s t r i n g ,   o p t i o n a l ) :   T h e   n a m e   o f   t h e   u n i o n ,   i f   m o r e   t h a n   o n e   e x i s t s . m e m b e r N a m e   ( s t r i n g ,   o p t i o n a l ) :   T h e   d i s c r i m i n a t o r   v a l u e   f o r   t h i s   m e m b e r .   D e f a u l t s   t o   t h e   f i e l d ' s   n a m e .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : u n i o n M e m b e r ( u n i o n :   \" u n i o n 1 \" )   / /   + k 8 s : o p t i o n a l   M 1   * M 1   ` j s o n : \" u 1 m 1 \" `   / /   + k 8 s : u n i o n M e m b e r ( u n i o n :   \" u n i o n 1 \" )   / /   + k 8 s : o p t i o n a l   M 2   * M 2   ` j s o n : \" u 1 m 2 \" `   }   t y p e   M 1   s t r u c t { }   t y p e   M 2   s t r u c t { }   I n   t h i s   e x a m p l e ,   M 1   a n d   M 2   a r e   m e m b e r s   o f   t h e   n a m e d   u n i o n   u n i o n 1 .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22692"
  },
  {
    "question": "What is +k8s:zeroOrOneOfMember?",
    "answer": "D e s c r i p t i o n :   I n d i c a t e s   t h a t   t h i s   f i e l d   i s   a   m e m b e r   o f   a   z e r o - o r - o n e - o f   u n i o n .   A   z e r o - o r - o n e - o f   u n i o n   a l l o w s   a t   m o s t   o n e   m e m b e r   t o   b e   s e t .   U n l i k e   r e g u l a r   u n i o n s ,   h a v i n g   n o   m e m b e r s   s e t   i s   v a l i d .   A r g u m e n t s :   u n i o n   ( s t r i n g ,   o p t i o n a l ) :   T h e   n a m e   o f   t h e   u n i o n ,   i f   m o r e   t h a n   o n e   e x i s t s . m e m b e r N a m e   ( s t r i n g ,   o p t i o n a l ) :   T h e   c u s t o m   m e m b e r   n a m e   f o r   t h i s   m e m b e r .   D e f a u l t s   t o   t h e   f i e l d ' s   n a m e .   U s a g e   E x a m p l e :   t y p e   M y S t r u c t   s t r u c t   {   / /   + k 8 s : z e r o O r O n e O f M e m b e r   / /   + k 8 s : o p t i o n a l   M 1   * M 1   ` j s o n : \" m 1 \" `   / /   + k 8 s : z e r o O r O n e O f M e m b e r   / /   + k 8 s : o p t i o n a l   M 2   * M 2   ` j s o n : \" m 2 \" `   }   t y p e   M 1   s t r u c t { }   t y p e   M 2   s t r u c t { }   I n   t h i s   e x a m p l e ,   a t   m o s t   o n e   o f   A   o r   B   c a n   b e   s e t .   I t   i s   a l s o   v a l i d   f o r   n e i t h e r   t o   b e   s e t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22693"
  },
  {
    "question": "What is 2.2 - Kubernetes API Concepts?",
    "answer": "T h e   K u b e r n e t e s   A P I   i s   a   r e s o u r c e - b a s e d   ( R E S T f u l )   p r o g r a m m a t i c   i n t e r f a c e   p r o v i d e d   v i a   H T T P .   I t   s u p p o r t s   r e t r i e v i n g ,   c r e a t i n g ,   u p d a t i n g ,   a n d   d e l e t i n g   p r i m a r y   r e s o u r c e s   v i a   t h e   s t a n d a r d   H T T P   v e r b s   ( P O S T ,   P U T ,   P A T C H ,   D E L E T E ,   G E T ) .   F o r   s o m e   r e s o u r c e s ,   t h e   A P I   i n c l u d e s   a d d i t i o n a l   s u b r e s o u r c e s   t h a t   a l l o w   f i n e - g r a i n e d   a u t h o r i z a t i o n   ( s u c h   a s   s e p a r a t e   v i e w s   f o r   P o d   d e t a i l s   a n d   l o g   r e t r i e v a l s ) ,   a n d   c a n   a c c e p t   a n d   s e r v e   t h o s e   r e s o u r c e s   i n   d i f f e r e n t   r e p r e s e n t a t i o n s   f o r   c o n v e n i e n c e   o r   e f f i c i e n c y .   K u b e r n e t e s   s u p p o r t s   e f f i c i e n t   c h a n g e   n o t i f i c a t i o n s   o n   r e s o u r c e s   v i a   w a t c h e s : i n   t h e   K u b e r n e t e s   A P I ,   w a t c h   i s   a   v e r b   t h a t   i s   u s e d   t o   t r a c k   c h a n g e s   t o   a n   o b j e c t   i n   K u b e r n e t e s   a s   a   s t r e a m .   I t   i s   u s e d   f o r   t h e   e f f i c i e n t   d e t e c t i o n   o f   c h a n g e s . K u b e r n e t e s   a l s o   p r o v i d e s   c o n s i s t e n t   l i s t   o p e r a t i o n s   s o   t h a t   A P I   c l i e n t s   c a n   e f f e c t i v e l y   c a c h e ,   t r a c k ,   a n d   s y n c h r o n i z e   t h e   s t a t e   o f   r e s o u r c e s .   i n   t h e   K u b e r n e t e s   A P I ,   w a t c h   i s   a   v e r b   t h a t   i s   u s e d   t o   t r a c k   c h a n g e s   t o   a n   o b j e c t   i n   K u b e r n e t e s   a s   a   s t r e a m .   I t   i s   u s e d   f o r   t h e   e f f i c i e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_22694"
  },
  {
    "question": "What is Kubernetes API terminology?",
    "answer": "K u b e r n e t e s   g e n e r a l l y   l e v e r a g e s   c o m m o n   R E S T f u l   t e r m i n o l o g y   t o   d e s c r i b e   t h e   A P I   c o n c e p t s :   A   r e s o u r c e   t y p e   i s   t h e   n a m e   u s e d   i n   t h e   U R L   ( p o d s ,   n a m e s p a c e s ,   s e r v i c e s ) A l l   r e s o u r c e   t y p e s   h a v e   a   c o n c r e t e   r e p r e s e n t a t i o n   ( t h e i r   o b j e c t   s c h e m a )   w h i c h   i s   c a l l e d   a   k i n d A   l i s t   o f   i n s t a n c e s   o f   a   r e s o u r c e   t y p e   i s   k n o w n   a s   a   c o l l e c t i o n A   s i n g l e   i n s t a n c e   o f   a   r e s o u r c e   t y p e   i s   c a l l e d   a   r e s o u r c e ,   a n d   a l s o   u s u a l l y   r e p r e s e n t s   a n   o b j e c t F o r   s o m e   r e s o u r c e   t y p e s ,   t h e   A P I   i n c l u d e s   o n e   o r   m o r e   s u b - r e s o u r c e s ,   w h i c h   a r e   r e p r e s e n t e d   a s   U R I   p a t h s   b e l o w   t h e   r e s o u r c e   M o s t   K u b e r n e t e s   A P I   r e s o u r c e   t y p e s   a r e   o b j e c t s   –   t h e y   r e p r e s e n t   a   c o n c r e t e   i n s t a n c e   o f   a   c o n c e p t   o n   t h e   c l u s t e r ,   l i k e   a   p o d   o r   n a m e s p a c e .   A   s m a l l e r   n u m b e r   o f   A P I   r e s o u r c e   t y p e s   a r e   v i r t u a l   i n   t h a t   t h e y   o f t e n   r e p r e s e n t   o p e r a t i o n s   o n   o b j e c t s ,   r a t h e r   t h a n   o b j e c t s ,   s u c h   a s   a   p e r m i s s i o n   c h e c k   ( u s e   a   P O S T   w i t h   a   J S O N - e n c o d e d   b o d y   o f   S u b j e c t A c c e s s R e v i e w   t o   t h e   s u b j e c t a c c e s s r e v i e w s   r e s o u r c e ) ,   o r   t h e   e v i c t i o n   s u b - r e s o u r c e   o f   a   P o d   ( u s e d   t o   t r i g g e r   A P I - i n i t i a t e d   e v i c t i o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22695"
  },
  {
    "question": "What is Object names?",
    "answer": "A l l   o b j e c t s   y o u   c a n   c r e a t e   v i a   t h e   A P I   h a v e   a   u n i q u e   o b j e c t   n a m e   t o   a l l o w   i d e m p o t e n t   c r e a t i o n   a n d   r e t r i e v a l ,   e x c e p t   t h a t   v i r t u a l   r e s o u r c e   t y p e s   m a y   n o t   h a v e   u n i q u e   n a m e s   i f   t h e y   a r e   n o t   r e t r i e v a b l e ,   o r   d o   n o t   r e l y   o n   i d e m p o t e n c y .   W i t h i n   a   n a m e s p a c e ,   o n l y   o n e   o b j e c t   o f   a   g i v e n   k i n d   c a n   h a v e   a   g i v e n   n a m e   a t   a   t i m e .   H o w e v e r ,   i f   y o u   d e l e t e   t h e   o b j e c t ,   y o u   c a n   m a k e   a   n e w   o b j e c t   w i t h   t h e   s a m e   n a m e .   S o m e   o b j e c t s   a r e   n o t   n a m e s p a c e d   ( f o r   e x a m p l e :   N o d e s ) ,   a n d   s o   t h e i r   n a m e s   m u s t   b e   u n i q u e   a c r o s s   t h e   w h o l e   c l u s t e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22696"
  },
  {
    "question": "What is API verbs?",
    "answer": "A l m o s t   a l l   o b j e c t   r e s o u r c e   t y p e s   s u p p o r t   t h e   s t a n d a r d   H T T P   v e r b s   -   G E T ,   P O S T ,   P U T ,   P A T C H ,   a n d   D E L E T E .   K u b e r n e t e s   a l s o   u s e s   i t s   o w n   v e r b s ,   w h i c h   a r e   o f t e n   w r i t t e n   i n   l o w e r c a s e   t o   d i s t i n g u i s h   t h e m   f r o m   H T T P   v e r b s .   K u b e r n e t e s   u s e s   t h e   t e r m   l i s t   t o   d e s c r i b e   t h e   a c t i o n   o f   r e t u r n i n g   a   c o l l e c t i o n   o f   r e s o u r c e s ,   t o   d i s t i n g u i s h   i t   f r o m   r e t r i e v i n g   a   s i n g l e   r e s o u r c e   w h i c h   i s   u s u a l l y   c a l l e d   a   g e t .   I f   y o u   s e n t   a n   H T T P   G E T   r e q u e s t   w i t h   t h e   ? w a t c h   q u e r y   p a r a m e t e r ,   K u b e r n e t e s   c a l l s   t h i s   a   w a t c h   a n d   n o t   a   g e t   ( s e e   E f f i c i e n t   d e t e c t i o n   o f   c h a n g e s   f o r   m o r e   d e t a i l s ) .   F o r   P U T   r e q u e s t s ,   K u b e r n e t e s   i n t e r n a l l y   c l a s s i f i e s   t h e s e   a s   e i t h e r   c r e a t e   o r   u p d a t e   b a s e d   o n   t h e   s t a t e   o f   t h e   e x i s t i n g   o b j e c t .   A n   u p d a t e   i s   d i f f e r e n t   f r o m   a   p a t c h ;   t h e   H T T P   v e r b   f o r   a   p a t c h   i s   P A T C H .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22697"
  },
  {
    "question": "What is Resource URIs?",
    "answer": "A l l   r e s o u r c e   t y p e s   a r e   e i t h e r   s c o p e d   b y   t h e   c l u s t e r   ( / a p i s / G R O U P / V E R S I O N / * )   o r   t o   a   n a m e s p a c e   ( / a p i s / G R O U P / V E R S I O N / n a m e s p a c e s / N A M E S P A C E / * ) .   A   n a m e s p a c e - s c o p e d   r e s o u r c e   t y p e   w i l l   b e   d e l e t e d   w h e n   i t s   n a m e s p a c e   i s   d e l e t e d   a n d   a c c e s s   t o   t h a t   r e s o u r c e   t y p e   i s   c o n t r o l l e d   b y   a u t h o r i z a t i o n   c h e c k s   o n   t h e   n a m e s p a c e   s c o p e .   N o t e :   c o r e   r e s o u r c e s   u s e   / a p i   i n s t e a d   o f   / a p i s   a n d   o m i t   t h e   G R O U P   p a t h   s e g m e n t .   E x a m p l e s :   / a p i / v 1 / n a m e s p a c e s / a p i / v 1 / p o d s / a p i / v 1 / n a m e s p a c e s / m y - n a m e s p a c e / p o d s / a p i s / a p p s / v 1 / d e p l o y m e n t s / a p i s / a p p s / v 1 / n a m e s p a c e s / m y - n a m e s p a c e / d e p l o y m e n t s / a p i s / a p p s / v 1 / n a m e s p a c e s / m y - n a m e s p a c e / d e p l o y m e n t s / m y - d e p l o y m e n t   Y o u   c a n   a l s o   a c c e s s   c o l l e c t i o n s   o f   r e s o u r c e s   ( f o r   e x a m p l e :   l i s t i n g   a l l   N o d e s ) .   T h e   f o l l o w i n g   p a t h s   a r e   u s e d   t o   r e t r i e v e   c o l l e c t i o n s   a n d   r e s o u r c e s :   C l u s t e r - s c o p e d   r e s o u r c e s : G E T   / a p i s / G R O U P / V E R S I O N / R E S O U R C E T Y P E   -   r e t u r n   t h e   c o l l e c t i o n   o f   r e s o u r c e s   o f   t h e   r e s o u r c e   t y p e G E T   / a p i s / G R O U P / V E R S I O N / R E S O U R C E T Y P E / N A M E   -   r e t u r n   t h e   r e s o u r c e   w i t h   N A M E   u n d e r   t h e   r e s o u r c e   t y p e N a m e s p a c e - s c o p e d   r e s o u r c e s : G E ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22698"
  },
  {
    "question": "What is HTTP media types?",
    "answer": "O v e r   H T T P ,   K u b e r n e t e s   s u p p o r t s   J S O N ,   Y A M L ,   C B O R   a n d   P r o t o b u f   w i r e   e n c o d i n g s .   B y   d e f a u l t ,   K u b e r n e t e s   r e t u r n s   o b j e c t s   i n   J S O N   s e r i a l i z a t i o n ,   u s i n g   t h e   a p p l i c a t i o n / j s o n   m e d i a   t y p e .   A l t h o u g h   J S O N   i s   t h e   d e f a u l t ,   c l i e n t s   m a y   r e q u e s t   a   r e s p o n s e   i n   Y A M L ,   o r   u s e   t h e   m o r e   e f f i c i e n t   b i n a r y   P r o t o b u f   r e p r e s e n t a t i o n   f o r   b e t t e r   p e r f o r m a n c e   a t   s c a l e .   T h e   K u b e r n e t e s   A P I   i m p l e m e n t s   s t a n d a r d   H T T P   c o n t e n t   t y p e   n e g o t i a t i o n :   p a s s i n g   a n   A c c e p t   h e a d e r   w i t h   a   G E T   c a l l   w i l l   r e q u e s t   t h a t   t h e   s e r v e r   t r i e s   t o   r e t u r n   a   r e s p o n s e   i n   y o u r   p r e f e r r e d   m e d i a   t y p e .   I f   y o u   w a n t   t o   s e n d   a n   o b j e c t   i n   P r o t o b u f   t o   t h e   s e r v e r   f o r   a   P U T   o r   P O S T   r e q u e s t ,   y o u   m u s t   s e t   t h e   C o n t e n t - T y p e   r e q u e s t   h e a d e r   a p p r o p r i a t e l y .   I f   y o u   r e q u e s t   a n   a v a i l a b l e   m e d i a   t y p e ,   t h e   A P I   s e r v e r   r e t u r n s   a   r e s p o n s e   w i t h   a   s u i t a b l e   C o n t e n t - T y p e ;   i f   n o n e   o f   t h e   m e d i a   t y p e s   y o u   r e q u e s t   a r e   s u p p o r t e d ,   t h e   A P I   s e r v e r   r e t u r n s   a   4 0 6   N o t   a c c e p t a b l e   e r r o r   m e s s a g e .   A l l   b u i l t - i n   r e s o u r c e   t y p e s   s u p p o r t   t h e   a p p l i c a t i o n / j s o n   m e d i a   t y p e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22699"
  },
  {
    "question": "What is Chunked encoding of collections?",
    "answer": "F o r   J S O N   a n d   P r o t o b u f   e n c o d i n g ,   K u b e r n e t e s   i m p l e m e n t s   c u s t o m   e n c o d e r s   t h a t   w r i t e   i t e m ,   b y   i t e m .   T h e   f e a t u r e   d o e s n ' t   c h a n g e   t h e   o u t p u t ,   b u t   a l l o w s   A P I   s e r v e r   t o   a v o i d   l o a d i n g   w h o l e   L I S T   r e s p o n s e   i n t o   m e m o r y .   U s i n g   o t h e r   t y p e s   o f   e n c o d i n g   ( i n c l u d i n g   p r e t t y   r e p r e s e n t a t i o n   o f   J S O N )   s h o u l d   b e   a v o i d e d   f o r   l a r g e   c o l l e c t i o n s   o f   r e s o u r c e s   ( > 1 0 0 M B )   a s   i t   c a n   h a v e   n e g a t i v e   p e r f o r m a n c e   i m p a c t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22700"
  },
  {
    "question": "What is JSON resource encoding?",
    "answer": "T h e   K u b e r n e t e s   A P I   d e f a u l t s   t o   u s i n g   J S O N   f o r   e n c o d i n g   H T T P   m e s s a g e   b o d i e s .   F o r   e x a m p l e :   L i s t   a l l   o f   t h e   p o d s   o n   a   c l u s t e r ,   w i t h o u t   s p e c i f y i n g   a   p r e f e r r e d   f o r m a t G E T   / a p i / v 1 / p o d s   2 0 0   O K   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n   …   J S O N   e n c o d e d   c o l l e c t i o n   o f   P o d s   ( P o d L i s t   o b j e c t )   C r e a t e   a   p o d   b y   s e n d i n g   J S O N   t o   t h e   s e r v e r ,   r e q u e s t i n g   a   J S O N   r e s p o n s e . P O S T   / a p i / v 1 / n a m e s p a c e s / t e s t / p o d s   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n   A c c e p t :   a p p l i c a t i o n / j s o n   …   J S O N   e n c o d e d   P o d   o b j e c t   2 0 0   O K   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n   {   \" k i n d \" :   \" P o d \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   …   }   L i s t   a l l   o f   t h e   p o d s   o n   a   c l u s t e r ,   w i t h o u t   s p e c i f y i n g   a   p r e f e r r e d   f o r m a t   G E T   / a p i / v 1 / p o d s   2 0 0   O K   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n   …   J S O N   e n c o d e d   c o l l e c t i o n   o f   P o d s   ( P o d L i s t   o b j e c t )   C r e a t e   a   p o d   b y   s e n d i n g   J S O N   t o   t h e   s e r v e r ,   r e q u e s t i n g   a   J S O N   r e s p o n s e .   P O S T   / a p i / v 1 / n a m e s p a c e s / t e s t / p o d s   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n   A c c e p t :   a p p l i c a t i o n / j s o n   …   J S O N   e n c o d e d   P o d   o b j e c t   2 0 0   O K   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n   {   \" k i n d \" :   \" P o d \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   …   }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22701"
  },
  {
    "question": "What is YAML resource encoding?",
    "answer": "K u b e r n e t e s   a l s o   s u p p o r t s   t h e   a p p l i c a t i o n / y a m l   m e d i a   t y p e   f o r   b o t h   r e q u e s t s   a n d   r e s p o n s e s .   Y A M L   c a n   b e   u s e d   f o r   d e f i n i n g   K u b e r n e t e s   m a n i f e s t s   a n d   A P I   i n t e r a c t i o n s .   F o r   e x a m p l e :   L i s t   a l l   o f   t h e   p o d s   o n   a   c l u s t e r   i n   Y A M L   f o r m a t G E T   / a p i / v 1 / p o d s   A c c e p t :   a p p l i c a t i o n / y a m l   2 0 0   O K   C o n t e n t - T y p e :   a p p l i c a t i o n / y a m l   …   Y A M L   e n c o d e d   c o l l e c t i o n   o f   P o d s   ( P o d L i s t   o b j e c t )   C r e a t e   a   p o d   b y   s e n d i n g   Y A M L - e n c o d e d   d a t a   t o   t h e   s e r v e r ,   r e q u e s t i n g   a   Y A M L   r e s p o n s e : P O S T   / a p i / v 1 / n a m e s p a c e s / t e s t / p o d s   C o n t e n t - T y p e :   a p p l i c a t i o n / y a m l   A c c e p t :   a p p l i c a t i o n / y a m l   …   Y A M L   e n c o d e d   P o d   o b j e c t   2 0 0   O K   C o n t e n t - T y p e :   a p p l i c a t i o n / y a m l   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m y - p o d   …   L i s t   a l l   o f   t h e   p o d s   o n   a   c l u s t e r   i n   Y A M L   f o r m a t   G E T   / a p i / v 1 / p o d s   A c c e p t :   a p p l i c a t i o n / y a m l   2 0 0   O K   C o n t e n t - T y p e :   a p p l i c a t i o n / y a m l   …   Y A M L   e n c o d e d   c o l l e c t i o n   o f   P o d s   ( P o d L i s t   o b j e c t )   C r e a t e   a   p o d   b y   s e n d i n g   Y A M L - e n c o d e d   d a t a   t o   t h e   s e r v e r ,   r e q u e s t i n g   a   Y A M L   r e s p o n s e :   P O S T   / a p i / v 1 / n a m e s p a c e s / t e s t / p o d s   C o n t e n t - T y p e :   a p p l i c a t i o n / y a m l   A c c e p t :   a p p l i c a t i o n / y a m l   …   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22702"
  },
  {
    "question": "What is Kubernetes Protobuf encoding?",
    "answer": "K u b e r n e t e s   u s e s   a n   e n v e l o p e   w r a p p e r   t o   e n c o d e   P r o t o b u f   r e s p o n s e s .   T h a t   w r a p p e r   s t a r t s   w i t h   a   4   b y t e   m a g i c   n u m b e r   t o   h e l p   i d e n t i f y   c o n t e n t   i n   d i s k   o r   i n   e t c d   a s   P r o t o b u f   ( a s   o p p o s e d   t o   J S O N ) .   T h e   4   b y t e   m a g i c   n u m b e r   d a t a   i s   f o l l o w e d   b y   a   P r o t o b u f   e n c o d e d   w r a p p e r   m e s s a g e ,   w h i c h   d e s c r i b e s   t h e   e n c o d i n g   a n d   t y p e   o f   t h e   u n d e r l y i n g   o b j e c t .   W i t h i n   t h e   P r o t o b u f   w r a p p e r   m e s s a g e ,   t h e   i n n e r   o b j e c t   d a t a   i s   r e c o r d e d   u s i n g   t h e   r a w   f i e l d   o f   U n k n o w n   ( s e e   t h e   I D L   f o r   m o r e   d e t a i l ) .   F o r   e x a m p l e :   L i s t   a l l   o f   t h e   p o d s   o n   a   c l u s t e r   i n   P r o t o b u f   f o r m a t . G E T   / a p i / v 1 / p o d s   A c c e p t :   a p p l i c a t i o n / v n d . k u b e r n e t e s . p r o t o b u f   2 0 0   O K   C o n t e n t - T y p e :   a p p l i c a t i o n / v n d . k u b e r n e t e s . p r o t o b u f   …   b i n a r y   e n c o d e d   c o l l e c t i o n   o f   P o d s   ( P o d L i s t   o b j e c t )   C r e a t e   a   p o d   b y   s e n d i n g   P r o t o b u f   e n c o d e d   d a t a   t o   t h e   s e r v e r ,   b u t   r e q u e s t   a   r e s p o n s e   i n   J S O N . P O S T   / a p i / v 1 / n a m e s p a c e s / t e s t / p o d s   C o n t e n t - T y p e :   a p p l i c a t i o n / v n d . k u b e r n e t e s . p r o t o b u f   A c c e p t :   a p p l i c a t i o n / j s o n   …   b i n a r y   e n c o d e d   P o d   o b j e c t   2 0 0   O K   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n   {   \" k i n d \" :   \" P o d \" ,   \" a p i V e r s i o n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22703"
  },
  {
    "question": "What is Compatibility with Kubernetes Protobuf?",
    "answer": "N o t   a l l   A P I   r e s o u r c e   t y p e s   s u p p o r t   K u b e r n e t e s '   P r o t o b u f   e n c o d i n g ;   s p e c i f i c a l l y ,   P r o t o b u f   i s n ' t   a v a i l a b l e   f o r   r e s o u r c e s   t h a t   a r e   d e f i n e d   a s   C u s t o m R e s o u r c e D e f i n i t i o n s   o r   a r e   s e r v e d   v i a   t h e   a g g r e g a t i o n   l a y e r .   A s   a   c l i e n t ,   i f   y o u   m i g h t   n e e d   t o   w o r k   w i t h   e x t e n s i o n   t y p e s   y o u   s h o u l d   s p e c i f y   m u l t i p l e   c o n t e n t   t y p e s   i n   t h e   r e q u e s t   A c c e p t   h e a d e r   t o   s u p p o r t   f a l l b a c k   t o   J S O N .   F o r   e x a m p l e :   A c c e p t :   a p p l i c a t i o n / v n d . k u b e r n e t e s . p r o t o b u f ,   a p p l i c a t i o n / j s o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22704"
  },
  {
    "question": "What is CBOR resource encoding?",
    "answer": "W i t h   t h e   C B O R S e r v i n g A n d S t o r a g e   f e a t u r e   g a t e   e n a b l e d ,   r e q u e s t   a n d   r e s p o n s e   b o d i e s   f o r   a l l   b u i l t - i n   r e s o u r c e   t y p e s   a n d   a l l   r e s o u r c e s   d e f i n e d   b y   a   C u s t o m R e s o u r c e D e f i n i t i o n   m a y   b e   e n c o d e d   t o   t h e   C B O R   b i n a r y   d a t a   f o r m a t .   C B O R   i s   a l s o   s u p p o r t e d   a t   t h e   a g g r e g a t i o n   l a y e r   i f   i t   i s   e n a b l e d   i n   i n d i v i d u a l   a g g r e g a t e d   A P I   s e r v e r s .   C l i e n t s   s h o u l d   i n d i c a t e   t h e   I A N A   m e d i a   t y p e   a p p l i c a t i o n / c b o r   i n   t h e   C o n t e n t - T y p e   H T T P   r e q u e s t   h e a d e r   w h e n   t h e   r e q u e s t   b o d y   c o n t a i n s   a   s i n g l e   C B O R   e n c o d e d   d a t a   i t e m ,   a n d   i n   t h e   A c c e p t   H T T P   r e q u e s t   h e a d e r   w h e n   p r e p a r e d   t o   a c c e p t   a   C B O R   e n c o d e d   d a t a   i t e m   i n   t h e   r e s p o n s e .   A P I   s e r v e r s   w i l l   u s e   a p p l i c a t i o n / c b o r   i n   t h e   C o n t e n t - T y p e   H T T P   r e s p o n s e   h e a d e r   w h e n   t h e   r e s p o n s e   b o d y   c o n t a i n s   a   C B O R - e n c o d e d   o b j e c t .   I f   a n   A P I   s e r v e r   e n c o d e s   i t s   r e s p o n s e   t o   a   w a t c h   r e q u e s t   u s i n g   C B O R ,   t h e   r e s p o n s e   b o d y   w i l l   b e   a   C B O R   S e q u e n c e   a n d   t h e   C o n t e n t - T y p e   H T T P   r e s p o n s e   h e a d e r   w i l l   u s e   t h e   I A N A   m e d i a   t y p e   a p p l i c a t i o n / c b o r - s e q .   E a c h   e n t r y   o f   t h e   s e q u e n c e   ( i f   a n y )   i s   a   s i n g l e   C B O R - e n c o d e d   w a t c h   e v e n t .   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22705"
  },
  {
    "question": "What is Efficient detection of changes?",
    "answer": "T h e   K u b e r n e t e s   A P I   a l l o w s   c l i e n t s   t o   m a k e   a n   i n i t i a l   r e q u e s t   f o r   a n   o b j e c t   o r   a   c o l l e c t i o n ,   a n d   t h e n   t o   t r a c k   c h a n g e s   s i n c e   t h a t   i n i t i a l   r e q u e s t :   a   w a t c h .   C l i e n t s   c a n   s e n d   a   l i s t   o r   a   g e t   a n d   t h e n   m a k e   a   f o l l o w - u p   w a t c h   r e q u e s t .   T o   m a k e   t h i s   c h a n g e   t r a c k i n g   p o s s i b l e ,   e v e r y   K u b e r n e t e s   o b j e c t   h a s   a   r e s o u r c e V e r s i o n   f i e l d   r e p r e s e n t i n g   t h e   v e r s i o n   o f   t h a t   r e s o u r c e   a s   s t o r e d   i n   t h e   u n d e r l y i n g   p e r s i s t e n c e   l a y e r .   W h e n   r e t r i e v i n g   a   c o l l e c t i o n   o f   r e s o u r c e s   ( e i t h e r   n a m e s p a c e   o r   c l u s t e r   s c o p e d ) ,   t h e   r e s p o n s e   f r o m   t h e   A P I   s e r v e r   c o n t a i n s   a   r e s o u r c e V e r s i o n   v a l u e .   T h e   c l i e n t   c a n   u s e   t h a t   r e s o u r c e V e r s i o n   t o   i n i t i a t e   a   w a t c h   a g a i n s t   t h e   A P I   s e r v e r .   W h e n   y o u   s e n d   a   w a t c h   r e q u e s t ,   t h e   A P I   s e r v e r   r e s p o n d s   w i t h   a   s t r e a m   o f   c h a n g e s .   T h e s e   c h a n g e s   i t e m i z e   t h e   o u t c o m e   o f   o p e r a t i o n s   ( s u c h   a s   c r e a t e ,   d e l e t e ,   a n d   u p d a t e )   t h a t   o c c u r r e d   a f t e r   t h e   r e s o u r c e V e r s i o n   y o u   s p e c i f i e d   a s   a   p a r a m e t e r   t o   t h e   w a t c h   r e q u e s t .   T h e   o v e r a l l   w a t c h   m e c h a n i s m   a l l o w s   a   c l i e n t   t o   f e t c h   t h e   c u r r e n t   s t a t e   a n d   t h e n   s u b s c r i b e   t o   s u b s e q u e n t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22706"
  },
  {
    "question": "What is Watch bookmarks?",
    "answer": "T o   m i t i g a t e   t h e   i m p a c t   o f   s h o r t   h i s t o r y   w i n d o w ,   t h e   K u b e r n e t e s   A P I   p r o v i d e s   a   w a t c h   e v e n t   n a m e d   B O O K M A R K .   I t   i s   a   s p e c i a l   k i n d   o f   e v e n t   t o   m a r k   t h a t   a l l   c h a n g e s   u p   t o   a   g i v e n   r e s o u r c e V e r s i o n   t h e   c l i e n t   i s   r e q u e s t i n g   h a v e   a l r e a d y   b e e n   s e n t .   T h e   d o c u m e n t   r e p r e s e n t i n g   t h e   B O O K M A R K   e v e n t   i s   o f   t h e   t y p e   r e q u e s t e d   b y   t h e   r e q u e s t ,   b u t   o n l y   i n c l u d e s   a   . m e t a d a t a . r e s o u r c e V e r s i o n   f i e l d .   F o r   e x a m p l e :   G E T   / a p i / v 1 / n a m e s p a c e s / t e s t / p o d s ? w a t c h = 1 & r e s o u r c e V e r s i o n = 1 0 2 4 5 & a l l o w W a t c h B o o k m a r k s = t r u e   - - -   2 0 0   O K   T r a n s f e r - E n c o d i n g :   c h u n k e d   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n   {   \" t y p e \" :   \" A D D E D \" ,   \" o b j e c t \" :   { \" k i n d \" :   \" P o d \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   { \" r e s o u r c e V e r s i o n \" :   \" 1 0 5 9 6 \" ,   . . . } ,   . . . }   }   . . .   {   \" t y p e \" :   \" B O O K M A R K \" ,   \" o b j e c t \" :   { \" k i n d \" :   \" P o d \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   { \" r e s o u r c e V e r s i o n \" :   \" 1 2 7 4 6 \" }   }   }   A s   a   c l i e n t ,   y o u   c a n   r e q u e s t   B O O K M A R K   e v e n t s   b y   s e t t i n g   t h e   a l l o w W a t c h B o o k m a r k s = t r u e   q u e r y   p a r a m e t e r   t o   a   w a t c h   r e q u e s t ,   b u t   y o u   s h o u l d n ' t   a s s u m e   b o o k m a r k s   a r e   r e t u r n e d   a t   a n y   s p e c i f i c   i n t e r v a l ,   n o r   c a n   c l i e n t s   a s s u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22707"
  },
  {
    "question": "What is Streaming lists?",
    "answer": "O n   l a r g e   c l u s t e r s ,   r e t r i e v i n g   t h e   c o l l e c t i o n   o f   s o m e   r e s o u r c e   t y p e s   m a y   r e s u l t   i n   a   s i g n i f i c a n t   i n c r e a s e   o f   r e s o u r c e   u s a g e   ( p r i m a r i l y   R A M )   o n   t h e   c o n t r o l   p l a n e .   T o   a l l e v i a t e   t h e   i m p a c t   a n d   s i m p l i f y   t h e   u s e r   e x p e r i e n c e   o f   t h e   l i s t   +   w a t c h   p a t t e r n ,   K u b e r n e t e s   v 1 . 3 2   p r o m o t e s   t o   b e t a   t h e   f e a t u r e   t h a t   a l l o w s   r e q u e s t i n g   t h e   i n i t i a l   s t a t e   ( p r e v i o u s l y   r e q u e s t e d   v i a   t h e   l i s t   r e q u e s t )   a s   p a r t   o f   t h e   w a t c h   r e q u e s t .   O n   t h e   c l i e n t - s i d e   t h e   i n i t i a l   s t a t e   c a n   b e   r e q u e s t e d   b y   s p e c i f y i n g   s e n d I n i t i a l E v e n t s = t r u e   a s   q u e r y   s t r i n g   p a r a m e t e r   i n   a   w a t c h   r e q u e s t .   I f   s e t ,   t h e   A P I   s e r v e r   s t a r t s   t h e   w a t c h   s t r e a m   w i t h   s y n t h e t i c   i n i t   e v e n t s   ( o f   t y p e   A D D E D )   t o   b u i l d   t h e   w h o l e   s t a t e   o f   a l l   e x i s t i n g   o b j e c t s   f o l l o w e d   b y   a   B O O K M A R K   e v e n t   ( i f   r e q u e s t e d   v i a   a l l o w W a t c h B o o k m a r k s = t r u e   o p t i o n ) .   T h e   b o o k m a r k   e v e n t   i n c l u d e s   t h e   r e s o u r c e   v e r s i o n   t o   w h i c h   i s   s y n c e d .   A f t e r   s e n d i n g   t h e   b o o k m a r k   e v e n t ,   t h e   A P I   s e r v e r   c o n t i n u e s   a s   f o r   a n y   o t h e r   w a t c h   r e q u e s t .   W h e n   y o u   s e t   s e n d I n i t i a l E v e n t s = t r u e   i n   t h e   q u e r y   s t r i n g ,   K u b e r n e t e s   a l s o   r e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22708"
  },
  {
    "question": "What is Example?",
    "answer": "A n   e x a m p l e :   y o u   w a n t   t o   w a t c h   a   c o l l e c t i o n   o f   P o d s .   F o r   t h a t   c o l l e c t i o n ,   t h e   c u r r e n t   r e s o u r c e   v e r s i o n   i s   1 0 2 4 5   a n d   t h e r e   a r e   t w o   p o d s :   f o o   a n d   b a r .   T h e n   s e n d i n g   t h e   f o l l o w i n g   r e q u e s t   ( e x p l i c i t l y   r e q u e s t i n g   c o n s i s t e n t   r e a d   b y   s e t t i n g   e m p t y   r e s o u r c e   v e r s i o n   u s i n g   r e s o u r c e V e r s i o n = )   c o u l d   r e s u l t   i n   t h e   f o l l o w i n g   s e q u e n c e   o f   e v e n t s :   G E T   / a p i / v 1 / n a m e s p a c e s / t e s t / p o d s ? w a t c h = 1 & s e n d I n i t i a l E v e n t s = t r u e & a l l o w W a t c h B o o k m a r k s = t r u e & r e s o u r c e V e r s i o n = & r e s o u r c e V e r s i o n M a t c h = N o t O l d e r T h a n   - - -   2 0 0   O K   T r a n s f e r - E n c o d i n g :   c h u n k e d   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n   {   \" t y p e \" :   \" A D D E D \" ,   \" o b j e c t \" :   { \" k i n d \" :   \" P o d \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   { \" r e s o u r c e V e r s i o n \" :   \" 8 4 6 7 \" ,   \" n a m e \" :   \" f o o \" } ,   . . . }   }   {   \" t y p e \" :   \" A D D E D \" ,   \" o b j e c t \" :   { \" k i n d \" :   \" P o d \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   { \" r e s o u r c e V e r s i o n \" :   \" 5 7 2 6 \" ,   \" n a m e \" :   \" b a r \" } ,   . . . }   }   {   \" t y p e \" :   \" B O O K M A R K \" ,   \" o b j e c t \" :   { \" k i n d \" :   \" P o d \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   { \" r e s o u r c e V e r s i o n \" :   \" 1 0 2 4 5 \" }   }   }   . . .   < f o l l o w e d   b y   r e g u l a r   w a t c h   s t r e a m   s t a r t i n g   f r o m   r e s o u r c e V e r s i o n = \" 1 0 2 4 5 \" >",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22709"
  },
  {
    "question": "What is Response compression?",
    "answer": "A P I R e s p o n s e C o m p r e s s i o n   i s   a n   o p t i o n   t h a t   a l l o w s   t h e   A P I   s e r v e r   t o   c o m p r e s s   t h e   r e s p o n s e s   f o r   g e t   a n d   l i s t   r e q u e s t s ,   r e d u c i n g   t h e   n e t w o r k   b a n d w i d t h   a n d   i m p r o v i n g   t h e   p e r f o r m a n c e   o f   l a r g e - s c a l e   c l u s t e r s .   I t   i s   e n a b l e d   b y   d e f a u l t   s i n c e   K u b e r n e t e s   1 . 1 6   a n d   i t   c a n   b e   d i s a b l e d   b y   i n c l u d i n g   A P I R e s p o n s e C o m p r e s s i o n = f a l s e   i n   t h e   - - f e a t u r e - g a t e s   f l a g   o n   t h e   A P I   s e r v e r .   A P I   r e s p o n s e   c o m p r e s s i o n   c a n   s i g n i f i c a n t l y   r e d u c e   t h e   s i z e   o f   t h e   r e s p o n s e ,   e s p e c i a l l y   f o r   l a r g e   r e s o u r c e s   o r   c o l l e c t i o n s .   F o r   e x a m p l e ,   a   l i s t   r e q u e s t   f o r   p o d s   c a n   r e t u r n   h u n d r e d s   o f   k i l o b y t e s   o r   e v e n   m e g a b y t e s   o f   d a t a ,   d e p e n d i n g   o n   t h e   n u m b e r   o f   p o d s   a n d   t h e i r   a t t r i b u t e s .   B y   c o m p r e s s i n g   t h e   r e s p o n s e ,   t h e   n e t w o r k   b a n d w i d t h   c a n   b e   s a v e d   a n d   t h e   l a t e n c y   c a n   b e   r e d u c e d .   T o   v e r i f y   i f   A P I R e s p o n s e C o m p r e s s i o n   i s   w o r k i n g ,   y o u   c a n   s e n d   a   g e t   o r   l i s t   r e q u e s t   t o   t h e   A P I   s e r v e r   w i t h   a n   A c c e p t - E n c o d i n g   h e a d e r ,   a n d   c h e c k   t h e   r e s p o n s e   s i z e   a n d   h e a d e r s .   F o r   e x a m p l e :   G E T   / a p i / v 1 / p o d s   A c c e p t - E n c o d i n g :   g z i p   - - -   2 0 0   O K   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n   c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22710"
  },
  {
    "question": "What is Retrieving large results sets in chunks?",
    "answer": "O n   l a r g e   c l u s t e r s ,   r e t r i e v i n g   t h e   c o l l e c t i o n   o f   s o m e   r e s o u r c e   t y p e s   m a y   r e s u l t   i n   v e r y   l a r g e   r e s p o n s e s   t h a t   c a n   i m p a c t   t h e   s e r v e r   a n d   c l i e n t .   F o r   i n s t a n c e ,   a   c l u s t e r   m a y   h a v e   t e n s   o f   t h o u s a n d s   o f   P o d s ,   e a c h   o f   w h i c h   i s   e q u i v a l e n t   t o   r o u g h l y   2   K i B   o f   e n c o d e d   J S O N .   R e t r i e v i n g   a l l   p o d s   a c r o s s   a l l   n a m e s p a c e s   m a y   r e s u l t   i n   a   v e r y   l a r g e   r e s p o n s e   ( 1 0 - 2 0 M B )   a n d   c o n s u m e   a   l a r g e   a m o u n t   o f   s e r v e r   r e s o u r c e s .   T h e   K u b e r n e t e s   A P I   s e r v e r   s u p p o r t s   t h e   a b i l i t y   t o   b r e a k   a   s i n g l e   l a r g e   c o l l e c t i o n   r e q u e s t   i n t o   m a n y   s m a l l e r   c h u n k s   w h i l e   p r e s e r v i n g   t h e   c o n s i s t e n c y   o f   t h e   t o t a l   r e q u e s t .   E a c h   c h u n k   c a n   b e   r e t u r n e d   s e q u e n t i a l l y   w h i c h   r e d u c e s   b o t h   t h e   t o t a l   s i z e   o f   t h e   r e q u e s t   a n d   a l l o w s   u s e r - o r i e n t e d   c l i e n t s   t o   d i s p l a y   r e s u l t s   i n c r e m e n t a l l y   t o   i m p r o v e   r e s p o n s i v e n e s s .   Y o u   c a n   r e q u e s t   t h a t   t h e   A P I   s e r v e r   h a n d l e s   a   l i s t   b y   s e r v i n g   s i n g l e   c o l l e c t i o n   u s i n g   p a g e s   ( w h i c h   K u b e r n e t e s   c a l l s   c h u n k s ) .   T o   r e t r i e v e   a   s i n g l e   c o l l e c t i o n   i n   c h u n k s ,   t w o   q u e r y   p a r a m e t e r s   l i m i t   a n d   c o n t i n u e   a r e   s u p p o r t e d   o n   r e q u e s t s   a g a i n s t   c o l l e c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22711"
  },
  {
    "question": "What is Collections?",
    "answer": "I n   K u b e r n e t e s   t e r m i n o l o g y ,   t h e   r e s p o n s e   y o u   g e t   f r o m   a   l i s t   i s   a   c o l l e c t i o n .   H o w e v e r ,   K u b e r n e t e s   d e f i n e s   c o n c r e t e   k i n d s   f o r   c o l l e c t i o n s   o f   d i f f e r e n t   t y p e s   o f   r e s o u r c e .   C o l l e c t i o n s   h a v e   a   k i n d   n a m e d   f o r   t h e   r e s o u r c e   k i n d ,   w i t h   L i s t   a p p e n d e d .   W h e n   y o u   q u e r y   t h e   A P I   f o r   a   p a r t i c u l a r   t y p e ,   a l l   i t e m s   r e t u r n e d   b y   t h a t   q u e r y   a r e   o f   t h a t   t y p e .   F o r   e x a m p l e ,   w h e n   y o u   l i s t   S e r v i c e s ,   t h e   c o l l e c t i o n   r e s p o n s e   h a s   k i n d   s e t   t o   S e r v i c e L i s t ;   e a c h   i t e m   i n   t h a t   c o l l e c t i o n   r e p r e s e n t s   a   s i n g l e   S e r v i c e .   F o r   e x a m p l e :   G E T   / a p i / v 1 / s e r v i c e s   {   \" k i n d \" :   \" S e r v i c e L i s t \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   {   \" r e s o u r c e V e r s i o n \" :   \" 2 9 4 7 3 0 1 \"   } ,   \" i t e m s \" :   [   {   \" m e t a d a t a \" :   {   \" n a m e \" :   \" k u b e r n e t e s \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \" ,   . . .   \" m e t a d a t a \" :   {   \" n a m e \" :   \" k u b e - d n s \" ,   \" n a m e s p a c e \" :   \" k u b e - s y s t e m \" ,   . . .   T h e r e   a r e   d o z e n s   o f   c o l l e c t i o n   t y p e s   ( s u c h   a s   P o d L i s t ,   S e r v i c e L i s t ,   a n d   N o d e L i s t )   d e f i n e d   i n   t h e   K u b e r n e t e s   A P I .   Y o u   c a n   g e t   m o r e   i n f o r m a t i o n   a b o u t   e a c h   c o l l e c t i o n   t y p e   f r o m   t h e   K u b e r n e t e s   A P I   d o c u m e n t a t i o n .   S o m e   t o o l s ,   s u c h   a s   k u b e c t l ,   r e p r e s e n t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22712"
  },
  {
    "question": "What is Note:?",
    "answer": "K e e p   i n   m i n d   t h a t   t h e   K u b e r n e t e s   A P I   d o e s   n o t   h a v e   a   k i n d   n a m e d   L i s t .   k i n d :   L i s t   i s   a   c l i e n t - s i d e ,   i n t e r n a l   i m p l e m e n t a t i o n   d e t a i l   f o r   p r o c e s s i n g   c o l l e c t i o n s   t h a t   m i g h t   b e   o f   d i f f e r e n t   k i n d s   o f   o b j e c t .   A v o i d   d e p e n d i n g   o n   k i n d :   L i s t   i n   a u t o m a t i o n   o r   o t h e r   c o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22713"
  },
  {
    "question": "What is Receiving resources as Tables?",
    "answer": "W h e n   y o u   r u n   k u b e c t l   g e t ,   t h e   d e f a u l t   o u t p u t   f o r m a t   i s   a   s i m p l e   t a b u l a r   r e p r e s e n t a t i o n   o f   o n e   o r   m o r e   i n s t a n c e s   o f   a   p a r t i c u l a r   r e s o u r c e   t y p e .   I n   t h e   p a s t ,   c l i e n t s   w e r e   r e q u i r e d   t o   r e p r o d u c e   t h e   t a b u l a r   a n d   d e s c r i b e   o u t p u t   i m p l e m e n t e d   i n   k u b e c t l   t o   p e r f o r m   s i m p l e   l i s t s   o f   o b j e c t s .   A   f e w   l i m i t a t i o n s   o f   t h a t   a p p r o a c h   i n c l u d e   n o n - t r i v i a l   l o g i c   w h e n   d e a l i n g   w i t h   c e r t a i n   o b j e c t s .   A d d i t i o n a l l y ,   t y p e s   p r o v i d e d   b y   A P I   a g g r e g a t i o n   o r   t h i r d   p a r t y   r e s o u r c e s   a r e   n o t   k n o w n   a t   c o m p i l e   t i m e .   T h i s   m e a n s   t h a t   g e n e r i c   i m p l e m e n t a t i o n s   h a d   t o   b e   i n   p l a c e   f o r   t y p e s   u n r e c o g n i z e d   b y   a   c l i e n t .   I n   o r d e r   t o   a v o i d   p o t e n t i a l   l i m i t a t i o n s   a s   d e s c r i b e d   a b o v e ,   c l i e n t s   m a y   r e q u e s t   t h e   T a b l e   r e p r e s e n t a t i o n   o f   o b j e c t s ,   d e l e g a t i n g   s p e c i f i c   d e t a i l s   o f   p r i n t i n g   t o   t h e   s e r v e r .   T h e   K u b e r n e t e s   A P I   i m p l e m e n t s   s t a n d a r d   H T T P   c o n t e n t   t y p e   n e g o t i a t i o n :   p a s s i n g   a n   A c c e p t   h e a d e r   c o n t a i n i n g   a   v a l u e   o f   a p p l i c a t i o n / j s o n ; a s = T a b l e ; g = m e t a . k 8 s . i o ; v = v 1   w i t h   a   G E T   c a l l   w i l l   r e q u e s t   t h a t   t h e   s e r v e r   r e t u r n   o b j e c t s   i n   t h e   T a b l e   c o n t e n t   t y p e .   F o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22714"
  },
  {
    "question": "What is Resource deletion?",
    "answer": "W h e n   y o u   d e l e t e   a   r e s o u r c e   t h i s   t a k e s   p l a c e   i n   t w o   p h a s e s .   f i n a l i z a t i o n r e m o v a l   {   \" k i n d \" :   \" C o n f i g M a p \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   {   \" f i n a l i z e r s \" :   [ \" u r l . i o / n e a t - f i n a l i z a t i o n \" ,   \" o t h e r - u r l . i o / m y - f i n a l i z e r \" ] ,   \" d e l e t i o n T i m e s t a m p \" :   n i l ,   }   }   W h e n   a   c l i e n t   f i r s t   s e n d s   a   d e l e t e   t o   r e q u e s t   t h e   r e m o v a l   o f   a   r e s o u r c e ,   t h e   . m e t a d a t a . d e l e t i o n T i m e s t a m p   i s   s e t   t o   t h e   c u r r e n t   t i m e .   O n c e   t h e   . m e t a d a t a . d e l e t i o n T i m e s t a m p   i s   s e t ,   e x t e r n a l   c o n t r o l l e r s   t h a t   a c t   o n   f i n a l i z e r s   m a y   s t a r t   p e r f o r m i n g   t h e i r   c l e a n u p   w o r k   a t   a n y   t i m e ,   i n   a n y   o r d e r .   O r d e r   i s   n o t   e n f o r c e d   b e t w e e n   f i n a l i z e r s   b e c a u s e   i t   w o u l d   i n t r o d u c e   s i g n i f i c a n t   r i s k   o f   s t u c k   . m e t a d a t a . f i n a l i z e r s .   T h e   . m e t a d a t a . f i n a l i z e r s   f i e l d   i s   s h a r e d :   a n y   a c t o r   w i t h   p e r m i s s i o n   c a n   r e o r d e r   i t .   I f   t h e   f i n a l i z e r   l i s t   w e r e   p r o c e s s e d   i n   o r d e r ,   t h e n   t h i s   m i g h t   l e a d   t o   a   s i t u a t i o n   i n   w h i c h   t h e   c o m p o n e n t   r e s p o n s i b l e   f o r   t h e   f i r s t   f i n a l i z e r   i n   t h e   l i s t   i s   w a i t i n g   f o r   s o m e   s i g n a l   ( f i e l d   v a l u e ,   e x t e r n a l   s y s t e m ,   o r   o t h e r )   p r o d u c e d   b y   a   c o m p o n e n t   r e s p o n s i b l e   f o r   a   f i n a l i z e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22715"
  },
  {
    "question": "What is Caution:?",
    "answer": "B y   e n a b l i n g   t h e   d e l e t e   o p t i o n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l ,   t h e   u s e r   c a n   p e r f o r m   a n   u n s a f e   f o r c e   d e l e t e   o p e r a t i o n   o f   a n   u n d e c r y p t a b l e / c o r r u p t   r e s o u r c e .   T h i s   o p t i o n   i s   b e h i n d   a n   A L P H A   f e a t u r e   g a t e ,   a n d   i t   i s   d i s a b l e d   b y   d e f a u l t .   I n   o r d e r   t o   u s e   t h i s   o p t i o n ,   t h e   c l u s t e r   o p e r a t o r   m u s t   e n a b l e   t h e   f e a t u r e   b y   s e t t i n g   t h e   c o m m a n d   l i n e   o p t i o n   - - f e a t u r e - g a t e s = A l l o w U n s a f e M a l f o r m e d O b j e c t D e l e t i o n = t r u e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22716"
  },
  {
    "question": "What is Note:?",
    "answer": "A   r e s o u r c e   i s   c o n s i d e r e d   c o r r u p t   i f   i t   c a n   n o t   b e   s u c c e s s f u l l y   r e t r i e v e d   f r o m   t h e   s t o r a g e   d u e   t o :   t r a n s f o r m a t i o n   e r r o r   ( f o r   e x a m p l e :   d e c r y p t i o n   f a i l u r e ) ,   o r t h e   o b j e c t   f a i l e d   t o   d e c o d e .   T h e   A P I   s e r v e r   f i r s t   a t t e m p t s   a   n o r m a l   d e l e t i o n ,   a n d   i f   i t   f a i l s   w i t h   a   c o r r u p t   r e s o u r c e   e r r o r   t h e n   i t   t r i g g e r s   t h e   f o r c e   d e l e t e .   A   f o r c e   d e l e t e   o p e r a t i o n   i s   u n s a f e   b e c a u s e   i t   i g n o r e s   f i n a l i z e r   c o n s t r a i n t s ,   a n d   s k i p s   p r e c o n d i t i o n   c h e c k s .   T h e   d e f a u l t   v a l u e   f o r   t h i s   o p t i o n   i s   f a l s e ,   t h i s   m a i n t a i n s   b a c k w a r d   c o m p a t i b i l i t y .   F o r   a   d e l e t e   r e q u e s t   w i t h   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   s e t   t o   t r u e ,   t h e   f i e l d s   d r y R u n ,   g r a c e P e r i o d S e c o n d s ,   o r p h a n D e p e n d e n t s ,   p r e c o n d i t i o n s ,   a n d   p r o p a g a t i o n P o l i c y   m u s t   b e   l e f t   u n s e t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22717"
  },
  {
    "question": "What is Single resource API?",
    "answer": "T h e   K u b e r n e t e s   A P I   v e r b s   g e t ,   c r e a t e ,   u p d a t e ,   p a t c h ,   d e l e t e   a n d   p r o x y   s u p p o r t   s i n g l e   r e s o u r c e s   o n l y .   T h e s e   v e r b s   w i t h   s i n g l e   r e s o u r c e   s u p p o r t   h a v e   n o   s u p p o r t   f o r   s u b m i t t i n g   m u l t i p l e   r e s o u r c e s   t o g e t h e r   i n   a n   o r d e r e d   o r   u n o r d e r e d   l i s t   o r   t r a n s a c t i o n .   W h e n   c l i e n t s   ( i n c l u d i n g   k u b e c t l )   a c t   o n   a   s e t   o f   r e s o u r c e s ,   t h e   c l i e n t   m a k e s   a   s e r i e s   o f   s i n g l e - r e s o u r c e   A P I   r e q u e s t s ,   t h e n   a g g r e g a t e s   t h e   r e s p o n s e s   i f   n e e d e d .   B y   c o n t r a s t ,   t h e   K u b e r n e t e s   A P I   v e r b s   l i s t   a n d   w a t c h   a l l o w   g e t t i n g   m u l t i p l e   r e s o u r c e s ,   a n d   d e l e t e c o l l e c t i o n   a l l o w s   d e l e t i n g   m u l t i p l e   r e s o u r c e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22718"
  },
  {
    "question": "What is Field validation?",
    "answer": "K u b e r n e t e s   a l w a y s   v a l i d a t e s   t h e   t y p e   o f   f i e l d s .   F o r   e x a m p l e ,   i f   a   f i e l d   i n   t h e   A P I   i s   d e f i n e d   a s   a   n u m b e r ,   y o u   c a n n o t   s e t   t h e   f i e l d   t o   a   t e x t   v a l u e .   I f   a   f i e l d   i s   d e f i n e d   a s   a n   a r r a y   o f   s t r i n g s ,   y o u   c a n   o n l y   p r o v i d e   a n   a r r a y .   S o m e   f i e l d s   a l l o w   y o u   t o   o m i t   t h e m ,   o t h e r   f i e l d s   a r e   r e q u i r e d .   O m i t t i n g   a   r e q u i r e d   f i e l d   f r o m   a n   A P I   r e q u e s t   i s   a n   e r r o r .   I f   y o u   m a k e   a   r e q u e s t   w i t h   a n   e x t r a   f i e l d ,   o n e   t h a t   t h e   c l u s t e r ' s   c o n t r o l   p l a n e   d o e s   n o t   r e c o g n i z e ,   t h e n   t h e   b e h a v i o r   o f   t h e   A P I   s e r v e r   i s   m o r e   c o m p l i c a t e d .   B y   d e f a u l t ,   t h e   A P I   s e r v e r   d r o p s   f i e l d s   t h a t   i t   d o e s   n o t   r e c o g n i z e   f r o m   a n   i n p u t   t h a t   i t   r e c e i v e s   ( f o r   e x a m p l e ,   t h e   J S O N   b o d y   o f   a   P U T   r e q u e s t ) .   T h e r e   a r e   t w o   s i t u a t i o n s   w h e r e   t h e   A P I   s e r v e r   d r o p s   f i e l d s   t h a t   y o u   s u p p l i e d   i n   a n   H T T P   r e q u e s t .   T h e s e   s i t u a t i o n s   a r e :   T h e   f i e l d   i s   u n r e c o g n i z e d   b e c a u s e   i t   i s   n o t   i n   t h e   r e s o u r c e ' s   O p e n A P I   s c h e m a .   ( O n e   e x c e p t i o n   t o   t h i s   i s   f o r   C R D s   t h a t   e x p l i c i t l y   c h o o s e   n o t   t o   p r u n e   u n k n o w n   f i e l d s   v i a   x - k u b e r n e t e s - p r e s e r v e - u n k n o w n - f i e l d s ) . T h e   f i e l d   i s   d u p l i c a t e d   i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22719"
  },
  {
    "question": "What is Validation for unrecognized or duplicate fields?",
    "answer": "F r o m   1 . 2 5   o n w a r d ,   u n r e c o g n i z e d   o r   d u p l i c a t e   f i e l d s   i n   a n   o b j e c t   a r e   d e t e c t e d   v i a   v a l i d a t i o n   o n   t h e   s e r v e r   w h e n   y o u   u s e   H T T P   v e r b s   t h a t   c a n   s u b m i t   d a t a   ( P O S T ,   P U T ,   a n d   P A T C H ) .   P o s s i b l e   l e v e l s   o f   v a l i d a t i o n   a r e   I g n o r e ,   W a r n   ( d e f a u l t ) ,   a n d   S t r i c t .   T h e   f i e l d   v a l i d a t i o n   l e v e l   i s   s e t   b y   t h e   f i e l d V a l i d a t i o n   q u e r y   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22720"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   s u b m i t   a   r e q u e s t   t h a t   s p e c i f i e s   a n   u n r e c o g n i z e d   f i e l d ,   a n d   t h a t   i s   a l s o   i n v a l i d   f o r   a   d i f f e r e n t   r e a s o n   ( f o r   e x a m p l e ,   t h e   r e q u e s t   p r o v i d e s   a   s t r i n g   v a l u e   w h e r e   t h e   A P I   e x p e c t s   a n   i n t e g e r   f o r   a   k n o w n   f i e l d ) ,   t h e n   t h e   A P I   s e r v e r   r e s p o n d s   w i t h   a   4 0 0   B a d   R e q u e s t   e r r o r ,   b u t   w i l l   n o t   p r o v i d e   a n y   i n f o r m a t i o n   o n   u n k n o w n   o r   d u p l i c a t e   f i e l d s   ( o n l y   w h i c h   f a t a l   e r r o r   i t   e n c o u n t e r e d   f i r s t ) .   Y o u   a l w a y s   r e c e i v e   a n   e r r o r   r e s p o n s e   i n   t h i s   c a s e ,   n o   m a t t e r   w h a t   f i e l d   v a l i d a t i o n   l e v e l   y o u   r e q u e s t e d .   T o o l s   t h a t   s u b m i t   r e q u e s t s   t o   t h e   s e r v e r   ( s u c h   a s   k u b e c t l ) ,   m i g h t   s e t   t h e i r   o w n   d e f a u l t s   t h a t   a r e   d i f f e r e n t   f r o m   t h e   W a r n   v a l i d a t i o n   l e v e l   t h a t   t h e   A P I   s e r v e r   u s e s   b y   d e f a u l t .   T h e   k u b e c t l   t o o l   u s e s   t h e   - - v a l i d a t e   f l a g   t o   s e t   t h e   l e v e l   o f   f i e l d   v a l i d a t i o n .   I t   a c c e p t s   t h e   v a l u e s   i g n o r e ,   w a r n ,   a n d   s t r i c t   w h i l e   a l s o   a c c e p t i n g   t h e   v a l u e s   t r u e   ( e q u i v a l e n t   t o   s t r i c t )   a n d   f a l s e   ( e q u i v a l e n t   t o   i g n o r e ) .   T h e   d e f a u l t   v a l i d a t i o n   s e t t i n g   f o r   k u b e c t l   i s   - - v a l i d a t e = t r u e ,   w h i c h   m e a n s   s t r i c t   s e r v e r - s i d e   f i e l d   v a l i d a t i o n .   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22721"
  },
  {
    "question": "What is Note:?",
    "answer": "S t a r t i n g   f r o m   v 1 . 3 3 ,   K u b e r n e t e s   ( i n c l u d i n g   v 1 . 3 4 )   o f f e r s   a   w a y   t o   d e f i n e   f i e l d   v a l i d a t i o n s   u s i n g   d e c l a r a t i v e   t a g s .   T h i s   i s   u s e f u l   f o r   p e o p l e   c o n t r i b u t i n g   t o   K u b e r n e t e s   i t s e l f ,   a n d   i t ' s   a l s o   r e l e v a n t   i f   y o u ' r e   w r i t i n g   y o u r   o w n   A P I   u s i n g   K u b e r n e t e s   l i b r a r i e s .   T o   l e a r n   m o r e ,   s e e   D e c l a r a t i v e   A P I   V a l i d a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22722"
  },
  {
    "question": "What is Dry-run?",
    "answer": "W h e n   y o u   u s e   H T T P   v e r b s   t h a t   c a n   m o d i f y   r e s o u r c e s   ( P O S T ,   P U T ,   P A T C H ,   a n d   D E L E T E ) ,   y o u   c a n   s u b m i t   y o u r   r e q u e s t   i n   a   d r y   r u n   m o d e .   D r y   r u n   m o d e   h e l p s   t o   e v a l u a t e   a   r e q u e s t   t h r o u g h   t h e   t y p i c a l   r e q u e s t   s t a g e s   ( a d m i s s i o n   c h a i n ,   v a l i d a t i o n ,   m e r g e   c o n f l i c t s )   u p   u n t i l   p e r s i s t i n g   o b j e c t s   t o   s t o r a g e .   T h e   r e s p o n s e   b o d y   f o r   t h e   r e q u e s t   i s   a s   c l o s e   a s   p o s s i b l e   t o   a   n o n - d r y - r u n   r e s p o n s e .   K u b e r n e t e s   g u a r a n t e e s   t h a t   d r y - r u n   r e q u e s t s   w i l l   n o t   b e   p e r s i s t e d   i n   s t o r a g e   o r   h a v e   a n y   o t h e r   s i d e   e f f e c t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22723"
  },
  {
    "question": "What is Make a dry-run request?",
    "answer": "D r y - r u n   i s   t r i g g e r e d   b y   s e t t i n g   t h e   d r y R u n   q u e r y   p a r a m e t e r .   T h i s   p a r a m e t e r   i s   a   s t r i n g ,   w o r k i n g   a s   a n   e n u m ,   a n d   t h e   o n l y   a c c e p t e d   v a l u e s   a r e :   W h e n   y o u   s e t   ? d r y R u n = A l l ,   a n y   r e l e v a n t   a d m i s s i o n   c o n t r o l l e r s   a r e   r u n ,   v a l i d a t i n g   a d m i s s i o n   c o n t r o l l e r s   c h e c k   t h e   r e q u e s t   p o s t - m u t a t i o n ,   m e r g e   i s   p e r f o r m e d   o n   P A T C H ,   f i e l d s   a r e   d e f a u l t e d ,   a n d   s c h e m a   v a l i d a t i o n   o c c u r s .   T h e   c h a n g e s   a r e   n o t   p e r s i s t e d   t o   t h e   u n d e r l y i n g   s t o r a g e ,   b u t   t h e   f i n a l   o b j e c t   w h i c h   w o u l d   h a v e   b e e n   p e r s i s t e d   i s   s t i l l   r e t u r n e d   t o   t h e   u s e r ,   a l o n g   w i t h   t h e   n o r m a l   s t a t u s   c o d e .   I f   t h e   n o n - d r y - r u n   v e r s i o n   o f   a   r e q u e s t   w o u l d   t r i g g e r   a n   a d m i s s i o n   c o n t r o l l e r   t h a t   h a s   s i d e   e f f e c t s ,   t h e   r e q u e s t   w i l l   b e   f a i l e d   r a t h e r   t h a n   r i s k   a n   u n w a n t e d   s i d e   e f f e c t .   A l l   b u i l t   i n   a d m i s s i o n   c o n t r o l   p l u g i n s   s u p p o r t   d r y - r u n .   A d d i t i o n a l l y ,   a d m i s s i o n   w e b h o o k s   c a n   d e c l a r e   i n   t h e i r   c o n f i g u r a t i o n   o b j e c t   t h a t   t h e y   d o   n o t   h a v e   s i d e   e f f e c t s ,   b y   s e t t i n g   t h e i r   s i d e E f f e c t s   f i e l d   t o   N o n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22724"
  },
  {
    "question": "What is Note:?",
    "answer": "H e r e   i s   a n   e x a m p l e   d r y - r u n   r e q u e s t   t h a t   u s e s   ? d r y R u n = A l l :   P O S T   / a p i / v 1 / n a m e s p a c e s / t e s t / p o d s ? d r y R u n = A l l   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n   A c c e p t :   a p p l i c a t i o n / j s o n   T h e   r e s p o n s e   w o u l d   l o o k   t h e   s a m e   a s   f o r   n o n - d r y - r u n   r e q u e s t ,   b u t   t h e   v a l u e s   o f   s o m e   g e n e r a t e d   f i e l d s   m a y   d i f f e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22725"
  },
  {
    "question": "What is Generated values?",
    "answer": "S o m e   v a l u e s   o f   a n   o b j e c t   a r e   t y p i c a l l y   g e n e r a t e d   b e f o r e   t h e   o b j e c t   i s   p e r s i s t e d .   I t   i s   i m p o r t a n t   n o t   t o   r e l y   u p o n   t h e   v a l u e s   o f   t h e s e   f i e l d s   s e t   b y   a   d r y - r u n   r e q u e s t ,   s i n c e   t h e s e   v a l u e s   w i l l   l i k e l y   b e   d i f f e r e n t   i n   d r y - r u n   m o d e   f r o m   w h e n   t h e   r e a l   r e q u e s t   i s   m a d e .   S o m e   o f   t h e s e   f i e l d s   a r e :   n a m e :   i f   g e n e r a t e N a m e   i s   s e t ,   n a m e   w i l l   h a v e   a   u n i q u e   r a n d o m   n a m e c r e a t i o n T i m e s t a m p   /   d e l e t i o n T i m e s t a m p :   r e c o r d s   t h e   t i m e   o f   c r e a t i o n / d e l e t i o n U I D :   u n i q u e l y   i d e n t i f i e s   t h e   o b j e c t   a n d   i s   r a n d o m l y   g e n e r a t e d   ( n o n - d e t e r m i n i s t i c ) r e s o u r c e V e r s i o n :   t r a c k s   t h e   p e r s i s t e d   v e r s i o n   o f   t h e   o b j e c t A n y   f i e l d   s e t   b y   a   m u t a t i n g   a d m i s s i o n   c o n t r o l l e r F o r   t h e   S e r v i c e   r e s o u r c e :   P o r t s   o r   I P   a d d r e s s e s   t h a t   t h e   k u b e - a p i s e r v e r   a s s i g n s   t o   S e r v i c e   o b j e c t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22726"
  },
  {
    "question": "What is Dry-run authorization?",
    "answer": "A u t h o r i z a t i o n   f o r   d r y - r u n   a n d   n o n - d r y - r u n   r e q u e s t s   i s   i d e n t i c a l .   T h u s ,   t o   m a k e   a   d r y - r u n   r e q u e s t ,   y o u   m u s t   b e   a u t h o r i z e d   t o   m a k e   t h e   n o n - d r y - r u n   r e q u e s t .   F o r   e x a m p l e ,   t o   r u n   a   d r y - r u n   p a t c h   f o r   a   D e p l o y m e n t ,   y o u   m u s t   b e   a u t h o r i z e d   t o   p e r f o r m   t h a t   p a t c h .   H e r e   i s   a n   e x a m p l e   o f   a   r u l e   f o r   K u b e r n e t e s   R B A C   t h a t   a l l o w s   p a t c h i n g   D e p l o y m e n t s :   r u l e s :   -   a p i G r o u p s :   [ \" a p p s \" ]   r e s o u r c e s :   [ \" d e p l o y m e n t s \" ]   v e r b s :   [ \" p a t c h \" ]   S e e   A u t h o r i z a t i o n   O v e r v i e w .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22727"
  },
  {
    "question": "What is Updates to existing resources?",
    "answer": "K u b e r n e t e s   p r o v i d e s   s e v e r a l   w a y s   t o   u p d a t e   e x i s t i n g   o b j e c t s .   Y o u   c a n   r e a d   c h o o s i n g   a n   u p d a t e   m e c h a n i s m   t o   l e a r n   a b o u t   w h i c h   a p p r o a c h   m i g h t   b e   b e s t   f o r   y o u r   u s e   c a s e .   Y o u   c a n   o v e r w r i t e   ( u p d a t e )   a n   e x i s t i n g   r e s o u r c e   -   f o r   e x a m p l e ,   a   C o n f i g M a p   -   u s i n g   a n   H T T P   P U T .   F o r   a   P U T   r e q u e s t ,   i t   i s   t h e   c l i e n t ' s   r e s p o n s i b i l i t y   t o   s p e c i f y   t h e   r e s o u r c e V e r s i o n   ( t a k i n g   t h i s   f r o m   t h e   o b j e c t   b e i n g   u p d a t e d ) .   K u b e r n e t e s   u s e s   t h a t   r e s o u r c e V e r s i o n   i n f o r m a t i o n   s o   t h a t   t h e   A P I   s e r v e r   c a n   d e t e c t   l o s t   u p d a t e s   a n d   r e j e c t   r e q u e s t s   m a d e   b y   a   c l i e n t   t h a t   i s   o u t   o f   d a t e   w i t h   t h e   c l u s t e r .   I n   t h e   e v e n t   t h a t   t h e   r e s o u r c e   h a s   c h a n g e d   ( t h e   r e s o u r c e V e r s i o n   t h e   c l i e n t   p r o v i d e d   i s   s t a l e ) ,   t h e   A P I   s e r v e r   r e t u r n s   a   4 0 9   C o n f l i c t   e r r o r   r e s p o n s e .   I n s t e a d   o f   s e n d i n g   a   P U T   r e q u e s t ,   t h e   c l i e n t   c a n   s e n d   a n   i n s t r u c t i o n   t o   t h e   A P I   s e r v e r   t o   p a t c h   a n   e x i s t i n g   r e s o u r c e .   A   p a t c h   i s   t y p i c a l l y   a p p r o p r i a t e   i f   t h e   c h a n g e   t h a t   t h e   c l i e n t   w a n t s   t o   m a k e   i s n ' t   c o n d i t i o n a l   o n   t h e   e x i s t i n g   d a t a .   C l i e n t s   t h a t   n e e d   e f f e c t i v e   d e t e c t i o n   o f   l o s t   u p d a t e s   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22728"
  },
  {
    "question": "What is Note:?",
    "answer": "K u b e r n e t e s '   S e r v e r   S i d e   A p p l y   f e a t u r e   a l l o w s   t h e   c o n t r o l   p l a n e   t o   t r a c k   m a n a g e d   f i e l d s   f o r   n e w l y   c r e a t e d   o b j e c t s .   S e r v e r   S i d e   A p p l y   p r o v i d e s   a   c l e a r   p a t t e r n   f o r   m a n a g i n g   f i e l d   c o n f l i c t s ,   o f f e r s   s e r v e r - s i d e   a p p l y   a n d   u p d a t e   o p e r a t i o n s ,   a n d   r e p l a c e s   t h e   c l i e n t - s i d e   f u n c t i o n a l i t y   o f   k u b e c t l   a p p l y .   F o r   S e r v e r - S i d e   A p p l y ,   K u b e r n e t e s   t r e a t s   t h e   r e q u e s t   a s   a   c r e a t e   i f   t h e   o b j e c t   d o e s   n o t   y e t   e x i s t ,   a n d   a   p a t c h   o t h e r w i s e .   F o r   o t h e r   r e q u e s t s   t h a t   u s e   P A T C H   a t   t h e   H T T P   l e v e l ,   t h e   l o g i c a l   K u b e r n e t e s   o p e r a t i o n   i s   a l w a y s   p a t c h .   S e e   S e r v e r   S i d e   A p p l y   f o r   m o r e   d e t a i l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22729"
  },
  {
    "question": "What is HTTP PUT to replace existing resource?",
    "answer": "T h e   u p d a t e   ( H T T P   P U T )   o p e r a t i o n   i s   s i m p l e   t o   i m p l e m e n t   a n d   f l e x i b l e ,   b u t   h a s   d r a w b a c k s :   Y o u   n e e d   t o   h a n d l e   c o n f l i c t s   w h e r e   t h e   r e s o u r c e V e r s i o n   o f   t h e   o b j e c t   c h a n g e s   b e t w e e n   y o u r   c l i e n t   r e a d i n g   i t   a n d   t r y i n g   t o   w r i t e   i t   b a c k .   K u b e r n e t e s   a l w a y s   d e t e c t s   t h e   c o n f l i c t ,   b u t   y o u   a s   t h e   c l i e n t   a u t h o r   n e e d   t o   i m p l e m e n t   r e t r i e s . Y o u   m i g h t   a c c i d e n t a l l y   d r o p   f i e l d s   i f   y o u   d e c o d e   a n   o b j e c t   l o c a l l y   ( f o r   e x a m p l e ,   u s i n g   c l i e n t - g o ,   y o u   c o u l d   r e c e i v e   f i e l d s   t h a t   y o u r   c l i e n t   d o e s   n o t   k n o w   h o w   t o   h a n d l e   -   a n d   t h e n   d r o p   t h e m   a s   p a r t   o f   y o u r   u p d a t e . I f   t h e r e ' s   a   l o t   o f   c o n t e n t i o n   o n   t h e   o b j e c t   ( e v e n   o n   a   f i e l d ,   o r   s e t   o f   f i e l d s ,   t h a t   y o u ' r e   n o t   t r y i n g   t o   e d i t ) ,   y o u   m i g h t   h a v e   t r o u b l e   s e n d i n g   t h e   u p d a t e .   T h e   p r o b l e m   i s   w o r s e   f o r   l a r g e r   o b j e c t s   a n d   f o r   o b j e c t s   w i t h   m a n y   f i e l d s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22730"
  },
  {
    "question": "What is HTTP PATCH using JSON Patch?",
    "answer": "A   p a t c h   u p d a t e   i s   h e l p f u l ,   b e c a u s e :   A s   y o u ' r e   o n l y   s e n d i n g   d i f f e r e n c e s ,   y o u   h a v e   l e s s   d a t a   t o   s e n d   i n   t h e   P A T C H   r e q u e s t . Y o u   c a n   m a k e   c h a n g e s   t h a t   r e l y   o n   e x i s t i n g   v a l u e s ,   s u c h   a s   c o p y i n g   t h e   v a l u e   o f   a   p a r t i c u l a r   f i e l d   i n t o   a n   a n n o t a t i o n . U n l i k e   w i t h   a n   u p d a t e   ( H T T P   P U T ) ,   m a k i n g   y o u r   c h a n g e   c a n   h a p p e n   r i g h t   a w a y   e v e n   i f   t h e r e   a r e   f r e q u e n t   c h a n g e s   t o   u n r e l a t e d   f i e l d s ) :   y o u   u s u a l l y   w o u l d   n o t   n e e d   t o   r e t r y . Y o u   m i g h t   s t i l l   n e e d   t o   s p e c i f y   t h e   r e s o u r c e V e r s i o n   ( t o   m a t c h   a n   e x i s t i n g   o b j e c t )   i f   y o u   w a n t   t o   b e   e x t r a   c a r e f u l   t o   a v o i d   l o s t   u p d a t e s I t ' s   s t i l l   g o o d   p r a c t i c e   t o   w r i t e   i n   s o m e   r e t r y   l o g i c   i n   c a s e   o f   e r r o r s . Y o u   c a n   u s e   t e s t   c o n d i t i o n s   t o   c a r e f u l   c r a f t   s p e c i f i c   u p d a t e   c o n d i t i o n s .   F o r   e x a m p l e ,   y o u   c a n   i n c r e m e n t   a   c o u n t e r   w i t h o u t   r e a d i n g   i t   i f   t h e   e x i s t i n g   v a l u e   m a t c h e s   w h a t   y o u   e x p e c t .   Y o u   c a n   d o   t h i s   w i t h   n o   l o s t   u p d a t e   r i s k ,   e v e n   i f   t h e   o b j e c t   h a s   c h a n g e d   i n   o t h e r   w a y s   s i n c e   y o u   l a s t   w r o t e   t o   i t .   ( I f   t h e   t e s t   c o n d i t i o n   f a i l s ,   y o u   c a n   f a l l   b a c k   t o   r e a d i n g   t h e   c u r r e n t   v a l u e   a n d   t h e n   w r i t e   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22731"
  },
  {
    "question": "What is HTTP PATCH using Server-Side Apply?",
    "answer": "S e r v e r - S i d e   A p p l y   h a s   s o m e   c l e a r   b e n e f i t s :   A   s i n g l e   r o u n d   t r i p :   i t   r a r e l y   r e q u i r e s   m a k i n g   a   G E T   r e q u e s t   f i r s t . a n d   y o u   c a n   s t i l l   d e t e c t   c o n f l i c t s   f o r   u n e x p e c t e d   c h a n g e s y o u   h a v e   t h e   o p t i o n   t o   f o r c e   o v e r r i d e   a   c o n f l i c t ,   i f   a p p r o p r i a t e C l i e n t   i m p l e m e n t a t i o n s   a r e   e a s y   t o   m a k e . Y o u   g e t   a n   a t o m i c   c r e a t e - o r - u p d a t e   o p e r a t i o n   w i t h o u t   e x t r a   e f f o r t   ( s i m i l a r   t o   U P S E R T   i n   s o m e   S Q L   d i a l e c t s ) .   a n d   y o u   c a n   s t i l l   d e t e c t   c o n f l i c t s   f o r   u n e x p e c t e d   c h a n g e s y o u   h a v e   t h e   o p t i o n   t o   f o r c e   o v e r r i d e   a   c o n f l i c t ,   i f   a p p r o p r i a t e   H o w e v e r :   S e r v e r - S i d e   A p p l y   d o e s   n o t   w o r k   a t   a l l   f o r   f i e l d   c h a n g e s   t h a t   d e p e n d   o n   a   c u r r e n t   v a l u e   o f   t h e   o b j e c t . Y o u   c a n   o n l y   a p p l y   u p d a t e s   t o   o b j e c t s .   S o m e   r e s o u r c e s   i n   t h e   K u b e r n e t e s   H T T P   A P I   a r e   n o t   o b j e c t s   ( t h e y   d o   n o t   h a v e   a   . m e t a d a t a   f i e l d ) ,   a n d   S e r v e r - S i d e   A p p l y   i s   o n l y   r e l e v a n t   f o r   K u b e r n e t e s   o b j e c t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22732"
  },
  {
    "question": "What is Resource versions?",
    "answer": "R e s o u r c e   v e r s i o n s   a r e   s t r i n g s   t h a t   i d e n t i f y   t h e   s e r v e r ' s   i n t e r n a l   v e r s i o n   o f   a n   o b j e c t .   R e s o u r c e   v e r s i o n s   c a n   b e   u s e d   b y   c l i e n t s   t o   d e t e r m i n e   w h e n   o b j e c t s   h a v e   c h a n g e d ,   o r   t o   e x p r e s s   d a t a   c o n s i s t e n c y   r e q u i r e m e n t s   w h e n   g e t t i n g ,   l i s t i n g   a n d   w a t c h i n g   r e s o u r c e s .   R e s o u r c e   v e r s i o n s   m u s t   b e   t r e a t e d   a s   o p a q u e   b y   c l i e n t s   a n d   p a s s e d   u n m o d i f i e d   b a c k   t o   t h e   s e r v e r .   Y o u   m u s t   n o t   a s s u m e   r e s o u r c e   v e r s i o n s   a r e   n u m e r i c   o r   c o l l a t a b l e .   A P I   c l i e n t s   m a y   o n l y   c o m p a r e   t w o   r e s o u r c e   v e r s i o n s   f o r   e q u a l i t y   ( t h i s   m e a n s   t h a t   y o u   m u s t   n o t   c o m p a r e   r e s o u r c e   v e r s i o n s   f o r   g r e a t e r - t h a n   o r   l e s s - t h a n   r e l a t i o n s h i p s ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22733"
  },
  {
    "question": "What is resourceVersion fields in metadata?",
    "answer": "C l i e n t s   f i n d   r e s o u r c e   v e r s i o n s   i n   r e s o u r c e s ,   i n c l u d i n g   t h e   r e s o u r c e s   f r o m   t h e   r e s p o n s e   s t r e a m   f o r   a   w a t c h ,   o r   w h e n   u s i n g   l i s t   t o   e n u m e r a t e   r e s o u r c e s .   v 1 . m e t a / O b j e c t M e t a   -   T h e   m e t a d a t a . r e s o u r c e V e r s i o n   o f   a   r e s o u r c e   i n s t a n c e   i d e n t i f i e s   t h e   r e s o u r c e   v e r s i o n   t h e   i n s t a n c e   w a s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22734"
  },
  {
    "question": "What is resourceVersion parameters in query strings?",
    "answer": "T h e   g e t ,   l i s t ,   a n d   w a t c h   o p e r a t i o n s   s u p p o r t   t h e   r e s o u r c e V e r s i o n   p a r a m e t e r .   F r o m   v e r s i o n   v 1 . 1 9 ,   K u b e r n e t e s   A P I   s e r v e r s   a l s o   s u p p o r t   t h e   r e s o u r c e V e r s i o n M a t c h   p a r a m e t e r   o n   l i s t   r e q u e s t s .   T h e   A P I   s e r v e r   i n t e r p r e t s   t h e   r e s o u r c e V e r s i o n   p a r a m e t e r   d i f f e r e n t l y   d e p e n d i n g   o n   t h e   o p e r a t i o n   y o u   r e q u e s t ,   a n d   o n   t h e   v a l u e   o f   r e s o u r c e V e r s i o n .   I f   y o u   s e t   r e s o u r c e V e r s i o n M a t c h   t h e n   t h i s   a l s o   a f f e c t s   t h e   w a y   m a t c h i n g   h a p p e n s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22735"
  },
  {
    "question": "What is Semantics for get and list?",
    "answer": "F o r   g e t   a n d   l i s t ,   t h e   s e m a n t i c s   o f   r e s o u r c e V e r s i o n   a r e :   g e t :   l i s t :   F r o m   v e r s i o n   v 1 . 1 9 ,   K u b e r n e t e s   A P I   s e r v e r s   s u p p o r t   t h e   r e s o u r c e V e r s i o n M a t c h   p a r a m e t e r   o n   l i s t   r e q u e s t s .   I f   y o u   s e t   b o t h   r e s o u r c e V e r s i o n   a n d   r e s o u r c e V e r s i o n M a t c h ,   t h e   r e s o u r c e V e r s i o n M a t c h   p a r a m e t e r   d e t e r m i n e s   h o w   t h e   A P I   s e r v e r   i n t e r p r e t s   r e s o u r c e V e r s i o n .   Y o u   s h o u l d   a l w a y s   s e t   t h e   r e s o u r c e V e r s i o n M a t c h   p a r a m e t e r   w h e n   s e t t i n g   r e s o u r c e V e r s i o n   o n   a   l i s t   r e q u e s t .   H o w e v e r ,   b e   p r e p a r e d   t o   h a n d l e   t h e   c a s e   w h e r e   t h e   A P I   s e r v e r   t h a t   r e s p o n d s   i s   u n a w a r e   o f   r e s o u r c e V e r s i o n M a t c h   a n d   i g n o r e s   i t .   U n l e s s   y o u   h a v e   s t r o n g   c o n s i s t e n c y   r e q u i r e m e n t s ,   u s i n g   r e s o u r c e V e r s i o n M a t c h = N o t O l d e r T h a n   a n d   a   k n o w n   r e s o u r c e V e r s i o n   i s   p r e f e r a b l e   s i n c e   i t   c a n   a c h i e v e   b e t t e r   p e r f o r m a n c e   a n d   s c a l a b i l i t y   o f   y o u r   c l u s t e r   t h a n   l e a v i n g   r e s o u r c e V e r s i o n   a n d   r e s o u r c e V e r s i o n M a t c h   u n s e t ,   w h i c h   r e q u i r e s   q u o r u m   r e a d   t o   b e   s e r v e d .   S e t t i n g   t h e   r e s o u r c e V e r s i o n M a t c h   p a r a m e t e r   w i t h o u t   s e t t i n g   r e s o u r c e V e r s i o n   i s   n o t   v a l i d .   T h i s   t a b l e   e x p l a i n s   t h e   b e h a v i o r   o f   l i s t   r e q u e s t s   w i t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22736"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   m e a n i n g   o f   t h e   g e t   a n d   l i s t   s e m a n t i c s   a r e :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22737"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   u s i n g   r e s o u r c e V e r s i o n M a t c h = N o t O l d e r T h a n   a n d   l i m i t   i s   s e t ,   c l i e n t s   m u s t   h a n d l e   H T T P   4 1 0   G o n e   r e s p o n s e s .   F o r   e x a m p l e ,   t h e   c l i e n t   m i g h t   r e t r y   w i t h   a   n e w e r   r e s o u r c e V e r s i o n   o r   f a l l   b a c k   t o   r e s o u r c e V e r s i o n = \" \" .   W h e n   u s i n g   r e s o u r c e V e r s i o n M a t c h = E x a c t   a n d   l i m i t   i s   u n s e t ,   c l i e n t s   m u s t   v e r i f y   t h a t   t h e   c o l l e c t i o n ' s   . m e t a d a t a . r e s o u r c e V e r s i o n   m a t c h e s   t h e   r e q u e s t e d   r e s o u r c e V e r s i o n ,   a n d   h a n d l e   t h e   c a s e   w h e r e   i t   d o e s   n o t .   F o r   e x a m p l e ,   t h e   c l i e n t   m i g h t   f a l l   b a c k   t o   a   r e q u e s t   w i t h   l i m i t   s e t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22738"
  },
  {
    "question": "What is Semantics for watch?",
    "answer": "F o r   w a t c h ,   t h e   s e m a n t i c s   o f   r e s o u r c e   v e r s i o n   a r e :   w a t c h :   T h e   m e a n i n g   o f   t h o s e   w a t c h   s e m a n t i c s   a r e :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22739"
  },
  {
    "question": "What is \"410 Gone\" responses?",
    "answer": "S e r v e r s   a r e   n o t   r e q u i r e d   t o   s e r v e   a l l   o l d e r   r e s o u r c e   v e r s i o n s   a n d   m a y   r e t u r n   a   H T T P   4 1 0   ( G o n e )   s t a t u s   c o d e   i f   a   c l i e n t   r e q u e s t s   a   r e s o u r c e V e r s i o n   o l d e r   t h a n   t h e   s e r v e r   h a s   r e t a i n e d .   C l i e n t s   m u s t   b e   a b l e   t o   t o l e r a t e   4 1 0   ( G o n e )   r e s p o n s e s .   S e e   E f f i c i e n t   d e t e c t i o n   o f   c h a n g e s   f o r   d e t a i l s   o n   h o w   t o   h a n d l e   4 1 0   ( G o n e )   r e s p o n s e s   w h e n   w a t c h i n g   r e s o u r c e s .   I f   y o u   r e q u e s t   a   r e s o u r c e V e r s i o n   o u t s i d e   t h e   a p p l i c a b l e   l i m i t   t h e n ,   d e p e n d i n g   o n   w h e t h e r   a   r e q u e s t   i s   s e r v e d   f r o m   c a c h e   o r   n o t ,   t h e   A P I   s e r v e r   m a y   r e p l y   w i t h   a   4 1 0   G o n e   H T T P   r e s p o n s e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22740"
  },
  {
    "question": "What is Unavailable resource versions?",
    "answer": "S e r v e r s   a r e   n o t   r e q u i r e d   t o   s e r v e   u n r e c o g n i z e d   r e s o u r c e   v e r s i o n s .   I f   y o u   r e q u e s t   l i s t   o r   g e t   f o r   a   r e s o u r c e   v e r s i o n   t h a t   t h e   A P I   s e r v e r   d o e s   n o t   r e c o g n i z e ,   t h e n   t h e   A P I   s e r v e r   m a y   e i t h e r :   w a i t   b r i e f l y   f o r   t h e   r e s o u r c e   v e r s i o n   t o   b e c o m e   a v a i l a b l e ,   t h e n   t i m e o u t   w i t h   a   5 0 4   ( G a t e w a y   T i m e o u t )   i f   t h e   p r o v i d e d   r e s o u r c e   v e r s i o n s   d o e s   n o t   b e c o m e   a v a i l a b l e   i n   a   r e a s o n a b l e   a m o u n t   o f   t i m e ; r e s p o n d   w i t h   a   R e t r y - A f t e r   r e s p o n s e   h e a d e r   i n d i c a t i n g   h o w   m a n y   s e c o n d s   a   c l i e n t   s h o u l d   w a i t   b e f o r e   r e t r y i n g   t h e   r e q u e s t .   I f   y o u   r e q u e s t   a   r e s o u r c e   v e r s i o n   t h a t   a n   A P I   s e r v e r   d o e s   n o t   r e c o g n i z e ,   t h e   k u b e - a p i s e r v e r   a d d i t i o n a l l y   i d e n t i f i e s   i t s   e r r o r   r e s p o n s e s   w i t h   a   m e s s a g e   T o o   l a r g e   r e s o u r c e   v e r s i o n .   I f   y o u   m a k e   a   w a t c h   r e q u e s t   f o r   a n   u n r e c o g n i z e d   r e s o u r c e   v e r s i o n ,   t h e   A P I   s e r v e r   m a y   w a i t   i n d e f i n i t e l y   ( u n t i l   t h e   r e q u e s t   t i m e o u t )   f o r   t h e   r e s o u r c e   v e r s i o n   t o   b e c o m e   a v a i l a b l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22741"
  },
  {
    "question": "What is 2.3 - Server-Side Apply?",
    "answer": "K u b e r n e t e s   s u p p o r t s   m u l t i p l e   a p p l i e r s   c o l l a b o r a t i n g   t o   m a n a g e   t h e   f i e l d s   o f   a   s i n g l e   o b j e c t .   S e r v e r - S i d e   A p p l y   p r o v i d e s   a n   o p t i o n a l   m e c h a n i s m   f o r   y o u r   c l u s t e r ' s   c o n t r o l   p l a n e   t o   t r a c k   c h a n g e s   t o   a n   o b j e c t ' s   f i e l d s .   A t   t h e   l e v e l   o f   a   s p e c i f i c   r e s o u r c e ,   S e r v e r - S i d e   A p p l y   r e c o r d s   a n d   t r a c k s   i n f o r m a t i o n   a b o u t   c o n t r o l   o v e r   t h e   f i e l d s   o f   t h a t   o b j e c t .   S e r v e r - S i d e   A p p l y   h e l p s   u s e r s   a n d   c o n t r o l l e r s   m a n a g e   t h e i r   r e s o u r c e s   t h r o u g h   d e c l a r a t i v e   c o n f i g u r a t i o n .   C l i e n t s   c a n   c r e a t e   a n d   m o d i f y   o b j e c t s   d e c l a r a t i v e l y   b y   s u b m i t t i n g   t h e i r   f u l l y   s p e c i f i e d   i n t e n t .   A   f u l l y   s p e c i f i e d   i n t e n t   i s   a   p a r t i a l   o b j e c t   t h a t   o n l y   i n c l u d e s   t h e   f i e l d s   a n d   v a l u e s   f o r   w h i c h   t h e   u s e r   h a s   a n   o p i n i o n .   T h a t   i n t e n t   e i t h e r   c r e a t e s   a   n e w   o b j e c t   ( u s i n g   d e f a u l t   v a l u e s   f o r   u n s p e c i f i e d   f i e l d s ) ,   o r   i s   c o m b i n e d ,   b y   t h e   A P I   s e r v e r ,   w i t h   t h e   e x i s t i n g   o b j e c t .   C o m p a r i s o n   w i t h   C l i e n t - S i d e   A p p l y   e x p l a i n s   h o w   S e r v e r - S i d e   A p p l y   d i f f e r s   f r o m   t h e   o r i g i n a l ,   c l i e n t - s i d e   k u b e c t l   a p p l y   i m p l e m e n t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_22742"
  },
  {
    "question": "What is Field management?",
    "answer": "T h e   K u b e r n e t e s   A P I   s e r v e r   t r a c k s   m a n a g e d   f i e l d s   f o r   a l l   n e w l y   c r e a t e d   o b j e c t s .   W h e n   t r y i n g   t o   a p p l y   a n   o b j e c t ,   f i e l d s   t h a t   h a v e   a   d i f f e r e n t   v a l u e   a n d   a r e   o w n e d   b y   a n o t h e r   m a n a g e r   w i l l   r e s u l t   i n   a   c o n f l i c t .   T h i s   i s   d o n e   i n   o r d e r   t o   s i g n a l   t h a t   t h e   o p e r a t i o n   m i g h t   u n d o   a n o t h e r   c o l l a b o r a t o r ' s   c h a n g e s .   W r i t e s   t o   o b j e c t s   w i t h   m a n a g e d   f i e l d s   c a n   b e   f o r c e d ,   i n   w h i c h   c a s e   t h e   v a l u e   o f   a n y   c o n f l i c t e d   f i e l d   w i l l   b e   o v e r r i d d e n ,   a n d   t h e   o w n e r s h i p   w i l l   b e   t r a n s f e r r e d .   W h e n e v e r   a   f i e l d ' s   v a l u e   d o e s   c h a n g e ,   o w n e r s h i p   m o v e s   f r o m   i t s   c u r r e n t   m a n a g e r   t o   t h e   m a n a g e r   m a k i n g   t h e   c h a n g e .   A p p l y   c h e c k s   i f   t h e r e   a r e   a n y   o t h e r   f i e l d   m a n a g e r s   t h a t   a l s o   o w n   t h e   f i e l d .   I f   t h e   f i e l d   i s   n o t   o w n e d   b y   a n y   o t h e r   f i e l d   m a n a g e r s ,   t h a t   f i e l d   i s   s e t   t o   i t s   d e f a u l t   v a l u e   ( i f   t h e r e   i s   o n e ) ,   o r   o t h e r w i s e   i s   d e l e t e d   f r o m   t h e   o b j e c t .   T h e   s a m e   r u l e   a p p l i e s   t o   f i e l d s   t h a t   a r e   l i s t s ,   a s s o c i a t i v e   l i s t s ,   o r   m a p s .   F o r   a   u s e r   t o   m a n a g e   a   f i e l d ,   i n   t h e   S e r v e r - S i d e   A p p l y   s e n s e ,   m e a n s   t h a t   t h e   u s e r   r e l i e s   o n   a n d   e x p e c t s   t h e   v a l u e   o f   t h e   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22743"
  },
  {
    "question": "What is Example?",
    "answer": "A   s i m p l e   e x a m p l e   o f   a n   o b j e c t   c r e a t e d   u s i n g   S e r v e r - S i d e   A p p l y   c o u l d   l o o k   l i k e   t h i s :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22744"
  },
  {
    "question": "What is Note:?",
    "answer": "- - -   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   t e s t - c m   n a m e s p a c e :   d e f a u l t   l a b e l s :   t e s t - l a b e l :   t e s t   m a n a g e d F i e l d s :   -   m a n a g e r :   k u b e c t l   o p e r a t i o n :   A p p l y   #   n o t e   c a p i t a l i z a t i o n :   \" A p p l y \"   ( o r   \" U p d a t e \" )   a p i V e r s i o n :   v 1   t i m e :   \" 2 0 1 0 - 1 0 - 1 0 T 0 : 0 0 : 0 0 Z \"   f i e l d s T y p e :   F i e l d s V 1   f i e l d s V 1 :   f : m e t a d a t a :   f : l a b e l s :   f : t e s t - l a b e l :   { }   f : d a t a :   f : k e y :   { }   d a t a :   k e y :   s o m e   v a l u e   T h a t   e x a m p l e   C o n f i g M a p   o b j e c t   c o n t a i n s   a   s i n g l e   f i e l d   m a n a g e m e n t   r e c o r d   i n   . m e t a d a t a . m a n a g e d F i e l d s .   T h e   f i e l d   m a n a g e m e n t   r e c o r d   c o n s i s t s   o f   b a s i c   i n f o r m a t i o n   a b o u t   t h e   m a n a g i n g   e n t i t y   i t s e l f ,   p l u s   d e t a i l s   a b o u t   t h e   f i e l d s   b e i n g   m a n a g e d   a n d   t h e   r e l e v a n t   o p e r a t i o n   ( A p p l y   o r   U p d a t e ) .   I f   t h e   r e q u e s t   t h a t   l a s t   c h a n g e d   t h a t   f i e l d   w a s   a   S e r v e r - S i d e   A p p l y   p a t c h   t h e n   t h e   v a l u e   o f   o p e r a t i o n   i s   A p p l y ;   o t h e r w i s e ,   i t   i s   U p d a t e .   T h e r e   i s   a n o t h e r   p o s s i b l e   o u t c o m e .   A   c l i e n t   c o u l d   s u b m i t   a n   i n v a l i d   r e q u e s t   b o d y .   I f   t h e   f u l l y   s p e c i f i e d   i n t e n t   d o e s   n o t   p r o d u c e   a   v a l i d   o b j e c t ,   t h e   r e q u e s t   f a i l s .   I t   i s   h o w e v e r   p o s s i b l e   t o   c h a n g e   . m e t a d a t a . m a n a g e d F i e l d s   t h r o u g h   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22745"
  },
  {
    "question": "What is Conflicts?",
    "answer": "A   c o n f l i c t   i s   a   s p e c i a l   s t a t u s   e r r o r   t h a t   o c c u r s   w h e n   a n   A p p l y   o p e r a t i o n   t r i e s   t o   c h a n g e   a   f i e l d   t h a t   a n o t h e r   m a n a g e r   a l s o   c l a i m s   t o   m a n a g e .   T h i s   p r e v e n t s   a n   a p p l i e r   f r o m   u n i n t e n t i o n a l l y   o v e r w r i t i n g   t h e   v a l u e   s e t   b y   a n o t h e r   u s e r .   W h e n   t h i s   o c c u r s ,   t h e   a p p l i e r   h a s   3   o p t i o n s   t o   r e s o l v e   t h e   c o n f l i c t s :   O v e r w r i t e   v a l u e ,   b e c o m e   s o l e   m a n a g e r :   I f   o v e r w r i t i n g   t h e   v a l u e   w a s   i n t e n t i o n a l   ( o r   i f   t h e   a p p l i e r   i s   a n   a u t o m a t e d   p r o c e s s   l i k e   a   c o n t r o l l e r )   t h e   a p p l i e r   s h o u l d   s e t   t h e   f o r c e   q u e r y   p a r a m e t e r   t o   t r u e   ( f o r   k u b e c t l   a p p l y ,   y o u   u s e   t h e   - - f o r c e - c o n f l i c t s   c o m m a n d   l i n e   p a r a m e t e r ) ,   a n d   m a k e   t h e   r e q u e s t   a g a i n .   T h i s   f o r c e s   t h e   o p e r a t i o n   t o   s u c c e e d ,   c h a n g e s   t h e   v a l u e   o f   t h e   f i e l d ,   a n d   r e m o v e s   t h e   f i e l d   f r o m   a l l   o t h e r   m a n a g e r s '   e n t r i e s   i n   m a n a g e d F i e l d s . D o n ' t   o v e r w r i t e   v a l u e ,   g i v e   u p   m a n a g e m e n t   c l a i m :   I f   t h e   a p p l i e r   d o e s n ' t   c a r e   a b o u t   t h e   v a l u e   o f   t h e   f i e l d   a n y   m o r e ,   t h e   a p p l i e r   c a n   r e m o v e   i t   f r o m   t h e i r   l o c a l   m o d e l   o f   t h e   r e s o u r c e ,   a n d   m a k e   a   n e w   r e q u e s t   w i t h   t h a t   p a r t i c u l a r   f i e l d   o m i t t e d .   T h i s   l e a v e s   t h e   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22746"
  },
  {
    "question": "What is Field managers?",
    "answer": "M a n a g e r s   i d e n t i f y   d i s t i n c t   w o r k f l o w s   t h a t   a r e   m o d i f y i n g   t h e   o b j e c t   ( e s p e c i a l l y   u s e f u l   o n   c o n f l i c t s ! ) ,   a n d   c a n   b e   s p e c i f i e d   t h r o u g h   t h e   f i e l d M a n a g e r   q u e r y   p a r a m e t e r   a s   p a r t   o f   a   m o d i f y i n g   r e q u e s t .   W h e n   y o u   A p p l y   t o   a   r e s o u r c e ,   t h e   f i e l d M a n a g e r   p a r a m e t e r   i s   r e q u i r e d .   F o r   o t h e r   u p d a t e s ,   t h e   A P I   s e r v e r   i n f e r s   a   f i e l d   m a n a g e r   i d e n t i t y   f r o m   t h e   \" U s e r - A g e n t : \"   H T T P   h e a d e r   ( i f   p r e s e n t ) .   W h e n   y o u   u s e   t h e   k u b e c t l   t o o l   t o   p e r f o r m   a   S e r v e r - S i d e   A p p l y   o p e r a t i o n ,   k u b e c t l   s e t s   t h e   m a n a g e r   i d e n t i t y   t o   \" k u b e c t l \"   b y   d e f a u l t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22747"
  },
  {
    "question": "What is Serialization?",
    "answer": "A t   t h e   p r o t o c o l   l e v e l ,   K u b e r n e t e s   r e p r e s e n t s   S e r v e r - S i d e   A p p l y   m e s s a g e   b o d i e s   a s   Y A M L ,   w i t h   t h e   m e d i a   t y p e   a p p l i c a t i o n / a p p l y - p a t c h + y a m l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22748"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e t h e r   y o u   a r e   s u b m i t t i n g   J S O N   d a t a   o r   Y A M L   d a t a ,   u s e   a p p l i c a t i o n / a p p l y - p a t c h + y a m l   a s   t h e   C o n t e n t - T y p e   h e a d e r   v a l u e .   A l l   J S O N   d o c u m e n t s   a r e   v a l i d   Y A M L .   H o w e v e r ,   K u b e r n e t e s   h a s   a   b u g   w h e r e   i t   u s e s   a   Y A M L   p a r s e r   t h a t   d o e s   n o t   f u l l y   i m p l e m e n t   t h e   Y A M L   s p e c i f i c a t i o n .   S o m e   J S O N   e s c a p e s   m a y   n o t   b e   r e c o g n i z e d .   T h e   s e r i a l i z a t i o n   i s   t h e   s a m e   a s   f o r   K u b e r n e t e s   o b j e c t s ,   w i t h   t h e   e x c e p t i o n   t h a t   c l i e n t s   a r e   n o t   r e q u i r e d   t o   s e n d   a   c o m p l e t e   o b j e c t .   H e r e ' s   a n   e x a m p l e   o f   a   S e r v e r - S i d e   A p p l y   m e s s a g e   b o d y   ( f u l l y   s p e c i f i e d   i n t e n t ) :   {   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" k i n d \" :   \" C o n f i g M a p \"   }   ( t h i s   w o u l d   m a k e   a   n o - c h a n g e   u p d a t e ,   p r o v i d e d   t h a t   i t   w a s   s e n t   a s   t h e   b o d y   o f   a   p a t c h   r e q u e s t   t o   a   v a l i d   v 1 / c o n f i g m a p s   r e s o u r c e ,   a n d   w i t h   t h e   a p p r o p r i a t e   r e q u e s t   C o n t e n t - T y p e ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22749"
  },
  {
    "question": "What is Operations in scope for field management?",
    "answer": "T h e   K u b e r n e t e s   A P I   o p e r a t i o n s   w h e r e   f i e l d   m a n a g e m e n t   i s   c o n s i d e r e d   a r e :   S e r v e r - S i d e   A p p l y   ( H T T P   P A T C H ,   w i t h   c o n t e n t   t y p e   a p p l i c a t i o n / a p p l y - p a t c h + y a m l ) R e p l a c i n g   a n   e x i s t i n g   o b j e c t   ( u p d a t e   t o   K u b e r n e t e s ;   P U T   a t   t h e   H T T P   l e v e l )   B o t h   o p e r a t i o n s   u p d a t e   . m e t a d a t a . m a n a g e d F i e l d s ,   b u t   b e h a v e   a   l i t t l e   d i f f e r e n t l y .   U n l e s s   y o u   s p e c i f y   a   f o r c e d   o v e r r i d e ,   a n   a p p l y   o p e r a t i o n   t h a t   e n c o u n t e r s   f i e l d - l e v e l   c o n f l i c t s   a l w a y s   f a i l s ;   b y   c o n t r a s t ,   i f   y o u   m a k e   a   c h a n g e   u s i n g   u p d a t e   t h a t   w o u l d   a f f e c t   a   m a n a g e d   f i e l d ,   a   c o n f l i c t   n e v e r   p r o v o k e s   f a i l u r e   o f   t h e   o p e r a t i o n .   A l l   S e r v e r - S i d e   A p p l y   p a t c h   r e q u e s t s   a r e   r e q u i r e d   t o   i d e n t i f y   t h e m s e l v e s   b y   p r o v i d i n g   a   f i e l d M a n a g e r   q u e r y   p a r a m e t e r ,   w h i l e   t h e   q u e r y   p a r a m e t e r   i s   o p t i o n a l   f o r   u p d a t e   o p e r a t i o n s .   F i n a l l y ,   w h e n   u s i n g   t h e   A p p l y   o p e r a t i o n   y o u   c a n n o t   d e f i n e   m a n a g e d F i e l d s   i n   t h e   b o d y   o f   t h e   r e q u e s t   t h a t   y o u   s u b m i t .   A n   e x a m p l e   o b j e c t   w i t h   m u l t i p l e   m a n a g e r s   c o u l d   l o o k   l i k e   t h i s :   - - -   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   t e s t - c m   n a m e s p a c e :   d e f a u l t   l a b e l s :   t e s t - l a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22750"
  },
  {
    "question": "What is Merge strategy?",
    "answer": "T h e   m e r g i n g   s t r a t e g y ,   i m p l e m e n t e d   w i t h   S e r v e r - S i d e   A p p l y ,   p r o v i d e s   a   g e n e r a l l y   m o r e   s t a b l e   o b j e c t   l i f e c y c l e .   S e r v e r - S i d e   A p p l y   t r i e s   t o   m e r g e   f i e l d s   b a s e d   o n   t h e   a c t o r   w h o   m a n a g e s   t h e m   i n s t e a d   o f   o v e r r u l i n g   b a s e d   o n   v a l u e s .   T h i s   w a y   m u l t i p l e   a c t o r s   c a n   u p d a t e   t h e   s a m e   o b j e c t   w i t h o u t   c a u s i n g   u n e x p e c t e d   i n t e r f e r e n c e .   W h e n   a   u s e r   s e n d s   a   f u l l y - s p e c i f i e d   i n t e n t   o b j e c t   t o   t h e   S e r v e r - S i d e   A p p l y   e n d p o i n t ,   t h e   s e r v e r   m e r g e s   i t   w i t h   t h e   l i v e   o b j e c t   f a v o r i n g   t h e   v a l u e   f r o m   t h e   r e q u e s t   b o d y   i f   i t   i s   s p e c i f i e d   i n   b o t h   p l a c e s .   I f   t h e   s e t   o f   i t e m s   p r e s e n t   i n   t h e   a p p l i e d   c o n f i g   i s   n o t   a   s u p e r s e t   o f   t h e   i t e m s   a p p l i e d   b y   t h e   s a m e   u s e r   l a s t   t i m e ,   e a c h   m i s s i n g   i t e m   n o t   m a n a g e d   b y   a n y   o t h e r   a p p l i e r s   i s   r e m o v e d .   F o r   m o r e   i n f o r m a t i o n   a b o u t   h o w   a n   o b j e c t ' s   s c h e m a   i s   u s e d   t o   m a k e   d e c i s i o n s   w h e n   m e r g i n g ,   s e e   s i g s . k 8 s . i o / s t r u c t u r e d - m e r g e - d i f f .   T h e   K u b e r n e t e s   A P I   ( a n d   t h e   G o   c o d e   t h a t   i m p l e m e n t s   t h a t   A P I   f o r   K u b e r n e t e s )   a l l o w s   d e f i n i n g   m e r g e   s t r a t e g y   m a r k e r s .   T h e s e   m a r k e r s   d e s c r i b e   t h e   m e r g e   s t r a t e g y   s u p p o r t e d   f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22751"
  },
  {
    "question": "What is Custom resources and Server-Side Apply?",
    "answer": "B y   d e f a u l t ,   S e r v e r - S i d e   A p p l y   t r e a t s   c u s t o m   r e s o u r c e s   a s   u n s t r u c t u r e d   d a t a .   A l l   k e y s   a r e   t r e a t e d   t h e   s a m e   a s   s t r u c t   f i e l d s ,   a n d   a l l   l i s t s   a r e   c o n s i d e r e d   a t o m i c .   I f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   d e f i n e s   a   s c h e m a   t h a t   c o n t a i n s   a n n o t a t i o n s   a s   d e f i n e d   i n   t h e   p r e v i o u s   M e r g e   S t r a t e g y   s e c t i o n ,   t h e s e   a n n o t a t i o n s   w i l l   b e   u s e d   w h e n   m e r g i n g   o b j e c t s   o f   t h i s   t y p e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22752"
  },
  {
    "question": "What is Compatibility across topology changes?",
    "answer": "O n   r a r e   o c c u r r e n c e s ,   t h e   a u t h o r   f o r   a   C u s t o m R e s o u r c e D e f i n i t i o n   ( C R D )   o r   b u i l t - i n   m a y   w a n t   t o   c h a n g e   t h e   s p e c i f i c   t o p o l o g y   o f   a   f i e l d   i n   t h e i r   r e s o u r c e ,   w i t h o u t   i n c r e m e n t i n g   i t s   A P I   v e r s i o n .   C h a n g i n g   t h e   t o p o l o g y   o f   t y p e s ,   b y   u p g r a d i n g   t h e   c l u s t e r   o r   u p d a t i n g   t h e   C R D ,   h a s   d i f f e r e n t   c o n s e q u e n c e s   w h e n   u p d a t i n g   e x i s t i n g   o b j e c t s .   T h e r e   a r e   t w o   c a t e g o r i e s   o f   c h a n g e s :   w h e n   a   f i e l d   g o e s   f r o m   m a p / s e t / g r a n u l a r   t o   a t o m i c ,   a n d   t h e   o t h e r   w a y   a r o u n d .   W h e n   t h e   l i s t T y p e ,   m a p T y p e ,   o r   s t r u c t T y p e   c h a n g e s   f r o m   m a p / s e t / g r a n u l a r   t o   a t o m i c ,   t h e   w h o l e   l i s t ,   m a p ,   o r   s t r u c t   o f   e x i s t i n g   o b j e c t s   w i l l   e n d - u p   b e i n g   o w n e d   b y   a c t o r s   w h o   o w n e d   a n   e l e m e n t   o f   t h e s e   t y p e s .   T h i s   m e a n s   t h a t   a n y   f u r t h e r   c h a n g e   t o   t h e s e   o b j e c t s   w o u l d   c a u s e   a   c o n f l i c t .   W h e n   a   l i s t T y p e ,   m a p T y p e ,   o r   s t r u c t T y p e   c h a n g e s   f r o m   a t o m i c   t o   m a p / s e t / g r a n u l a r ,   t h e   A P I   s e r v e r   i s   u n a b l e   t o   i n f e r   t h e   n e w   o w n e r s h i p   o f   t h e s e   f i e l d s .   B e c a u s e   o f   t h a t ,   n o   c o n f l i c t   w i l l   b e   p r o d u c e d   w h e n   o b j e c t s   h a v e   t h e s e   f i e l d s   u p d a t e d .   F o r   t h a t   r e a s o n ,   i t   i s   n o t   r e c o m m e n d e d   t o   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22753"
  },
  {
    "question": "What is Using Server-Side Apply in a controller?",
    "answer": "A s   a   d e v e l o p e r   o f   a   c o n t r o l l e r ,   y o u   c a n   u s e   S e r v e r - S i d e   A p p l y   a s   a   w a y   t o   s i m p l i f y   t h e   u p d a t e   l o g i c   o f   y o u r   c o n t r o l l e r .   T h e   m a i n   d i f f e r e n c e s   w i t h   a   r e a d - m o d i f y - w r i t e   a n d / o r   p a t c h   a r e   t h e   f o l l o w i n g :   t h e   a p p l i e d   o b j e c t   m u s t   c o n t a i n   a l l   t h e   f i e l d s   t h a t   t h e   c o n t r o l l e r   c a r e s   a b o u t . t h e r e   i s   n o   w a y   t o   r e m o v e   f i e l d s   t h a t   h a v e n ' t   b e e n   a p p l i e d   b y   t h e   c o n t r o l l e r   b e f o r e   ( c o n t r o l l e r   c a n   s t i l l   s e n d   a   p a t c h   o r   u p d a t e   f o r   t h e s e   u s e - c a s e s ) . t h e   o b j e c t   d o e s n ' t   h a v e   t o   b e   r e a d   b e f o r e h a n d ;   r e s o u r c e V e r s i o n   d o e s n ' t   h a v e   t o   b e   s p e c i f i e d .   I t   i s   s t r o n g l y   r e c o m m e n d e d   f o r   c o n t r o l l e r s   t o   a l w a y s   f o r c e   c o n f l i c t s   o n   o b j e c t s   t h a t   t h e y   o w n   a n d   m a n a g e ,   s i n c e   t h e y   m i g h t   n o t   b e   a b l e   t o   r e s o l v e   o r   a c t   o n   t h e s e   c o n f l i c t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22754"
  },
  {
    "question": "What is Transferring ownership?",
    "answer": "I n   a d d i t i o n   t o   t h e   c o n c u r r e n c y   c o n t r o l s   p r o v i d e d   b y   c o n f l i c t   r e s o l u t i o n ,   S e r v e r - S i d e   A p p l y   p r o v i d e s   w a y s   t o   p e r f o r m   c o o r d i n a t e d   f i e l d   o w n e r s h i p   t r a n s f e r s   f r o m   u s e r s   t o   c o n t r o l l e r s .   T h i s   i s   b e s t   e x p l a i n e d   b y   e x a m p l e .   L e t ' s   l o o k   a t   h o w   t o   s a f e l y   t r a n s f e r   o w n e r s h i p   o f   t h e   r e p l i c a s   f i e l d   f r o m   a   u s e r   t o   a   c o n t r o l l e r   w h i l e   e n a b l i n g   a u t o m a t i c   h o r i z o n t a l   s c a l i n g   f o r   a   D e p l o y m e n t ,   u s i n g   t h e   H o r i z o n t a l P o d A u t o s c a l e r   r e s o u r c e   a n d   i t s   a c c o m p a n y i n g   c o n t r o l l e r .   S a y   a   u s e r   h a s   d e f i n e d   D e p l o y m e n t   w i t h   r e p l i c a s   s e t   t o   t h e   d e s i r e d   v a l u e :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   l a b e l s :   a p p :   n g i n x   s p e c :   r e p l i c a s :   3   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   A n d   t h e   u s e r   h a s   c r e a t e d   t h e   D e p l o y m e n t   u s i n g   S e r v e r - S i d e   A p p l y ,   l i k e   s o :   k u b e c t l   a p p l y   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / a p p l i c a t i o n / s s a / n g i n x - d e p l o y m e n t . y a m l   - - s e r v e r - s i d e   T h e n   l a t e r ,   a u t o m a t i c   s c a l i n g   i s   e n a b l e d   f o r   t h e   D e p l o y m e n t ;   f o r   e x a m p l e :   k u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22755"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   u s e r   a p p l i e s   t h a t   m a n i f e s t   u s i n g   a   p r i v a t e   f i e l d   m a n a g e r   n a m e .   I n   t h i s   e x a m p l e ,   t h e   u s e r   p i c k e d   h a n d o v e r - t o - h p a :   k u b e c t l   a p p l y   - f   n g i n x - d e p l o y m e n t - r e p l i c a s - o n l y . y a m l   \\   - - s e r v e r - s i d e   - - f i e l d - m a n a g e r = h a n d o v e r - t o - h p a   \\   - - v a l i d a t e = f a l s e   I f   t h e   a p p l y   r e s u l t s   i n   a   c o n f l i c t   w i t h   t h e   H P A   c o n t r o l l e r ,   t h e n   d o   n o t h i n g .   T h e   c o n f l i c t   i n d i c a t e s   t h e   c o n t r o l l e r   h a s   c l a i m e d   t h e   f i e l d   e a r l i e r   i n   t h e   p r o c e s s   t h a n   i t   s o m e t i m e s   d o e s .   A t   t h i s   p o i n t   t h e   u s e r   m a y   r e m o v e   t h e   r e p l i c a s   f i e l d   f r o m   t h e i r   m a n i f e s t :   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   l a b e l s :   a p p :   n g i n x   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   N o t e   t h a t   w h e n e v e r   t h e   H P A   c o n t r o l l e r   s e t s   t h e   r e p l i c a s   f i e l d   t o   a   n e w   v a l u e ,   t h e   t e m p o r a r y   f i e l d   m a n a g e r   w i l l   n o   l o n g e r   o w n   a n y   f i e l d s   a n d   w i l l   b e   a u t o m a t i c a l l y   d e l e t e d .   N o   f u r t h e r   c l e a n   u p   i s   r e q u i r e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22756"
  },
  {
    "question": "What is Transferring ownership between managers?",
    "answer": "F i e l d   m a n a g e r s   c a n   t r a n s f e r   o w n e r s h i p   o f   a   f i e l d   b e t w e e n   e a c h   o t h e r   b y   s e t t i n g   t h e   f i e l d   t o   t h e   s a m e   v a l u e   i n   b o t h   o f   t h e i r   a p p l i e d   c o n f i g u r a t i o n s ,   c a u s i n g   t h e m   t o   s h a r e   o w n e r s h i p   o f   t h e   f i e l d .   O n c e   t h e   m a n a g e r s   s h a r e   o w n e r s h i p   o f   t h e   f i e l d ,   o n e   o f   t h e m   c a n   r e m o v e   t h e   f i e l d   f r o m   t h e i r   a p p l i e d   c o n f i g u r a t i o n   t o   g i v e   u p   o w n e r s h i p   a n d   c o m p l e t e   t h e   t r a n s f e r   t o   t h e   o t h e r   f i e l d   m a n a g e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22757"
  },
  {
    "question": "What is Comparison with Client-Side Apply?",
    "answer": "S e r v e r - S i d e   A p p l y   i s   m e a n t   b o t h   a s   a   r e p l a c e m e n t   f o r   t h e   o r i g i n a l   c l i e n t - s i d e   i m p l e m e n t a t i o n   o f   t h e   k u b e c t l   a p p l y   s u b c o m m a n d ,   a n d   a s   s i m p l e   a n d   e f f e c t i v e   m e c h a n i s m   f o r   c o n t r o l l e r s   t o   e n a c t   t h e i r   c h a n g e s .   C o m p a r e d   t o   t h e   l a s t - a p p l i e d   a n n o t a t i o n   m a n a g e d   b y   k u b e c t l ,   S e r v e r - S i d e   A p p l y   u s e s   a   m o r e   d e c l a r a t i v e   a p p r o a c h ,   w h i c h   t r a c k s   a n   o b j e c t ' s   f i e l d   m a n a g e m e n t ,   r a t h e r   t h a n   a   u s e r ' s   l a s t   a p p l i e d   s t a t e .   T h i s   m e a n s   t h a t   a s   a   s i d e   e f f e c t   o f   u s i n g   S e r v e r - S i d e   A p p l y ,   i n f o r m a t i o n   a b o u t   w h i c h   f i e l d   m a n a g e r   m a n a g e s   e a c h   f i e l d   i n   a n   o b j e c t   a l s o   b e c o m e s   a v a i l a b l e .   A   c o n s e q u e n c e   o f   t h e   c o n f l i c t   d e t e c t i o n   a n d   r e s o l u t i o n   i m p l e m e n t e d   b y   S e r v e r - S i d e   A p p l y   i s   t h a t   a n   a p p l i e r   a l w a y s   h a s   u p   t o   d a t e   f i e l d   v a l u e s   i n   t h e i r   l o c a l   s t a t e .   I f   t h e y   d o n ' t ,   t h e y   g e t   a   c o n f l i c t   t h e   n e x t   t i m e   t h e y   a p p l y .   A n y   o f   t h e   t h r e e   o p t i o n s   t o   r e s o l v e   c o n f l i c t s   r e s u l t s   i n   t h e   a p p l i e d   c o n f i g u r a t i o n   b e i n g   a n   u p   t o   d a t e   s u b s e t   o f   t h e   o b j e c t   o n   t h e   s e r v e r ' s   f i e l d s .   T h i s   i s   d i f f e r e n t   f r o m   C l i e n t - S i d e   A p p l y ,   w h e r e   o u t d a t e d   v a l u e s   w h i c h   h a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22758"
  },
  {
    "question": "What is Upgrading from client-side apply to server-side apply?",
    "answer": "C l i e n t - s i d e   a p p l y   u s e r s   w h o   m a n a g e   a   r e s o u r c e   w i t h   k u b e c t l   a p p l y   c a n   s t a r t   u s i n g   s e r v e r - s i d e   a p p l y   w i t h   t h e   f o l l o w i n g   f l a g .   k u b e c t l   a p p l y   - - s e r v e r - s i d e   [ - - d r y - r u n = s e r v e r ]   B y   d e f a u l t ,   f i e l d   m a n a g e m e n t   o f   t h e   o b j e c t   t r a n s f e r s   f r o m   c l i e n t - s i d e   a p p l y   t o   k u b e c t l   s e r v e r - s i d e   a p p l y ,   w i t h o u t   e n c o u n t e r i n g   c o n f l i c t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22759"
  },
  {
    "question": "What is Caution:?",
    "answer": "K e e p   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   u p   t o   d a t e .   T h e   a n n o t a t i o n   i n f e r s   c l i e n t - s i d e   a p p l i e s   m a n a g e d   f i e l d s .   A n y   f i e l d s   n o t   m a n a g e d   b y   c l i e n t - s i d e   a p p l y   r a i s e   c o n f l i c t s .   F o r   e x a m p l e ,   i f   y o u   u s e d   k u b e c t l   s c a l e   t o   u p d a t e   t h e   r e p l i c a s   f i e l d   a f t e r   c l i e n t - s i d e   a p p l y ,   t h e n   t h i s   f i e l d   i s   n o t   o w n e d   b y   c l i e n t - s i d e   a p p l y   a n d   c r e a t e s   c o n f l i c t s   o n   k u b e c t l   a p p l y   - - s e r v e r - s i d e .   T h i s   b e h a v i o r   a p p l i e s   t o   s e r v e r - s i d e   a p p l y   w i t h   t h e   k u b e c t l   f i e l d   m a n a g e r .   A s   a n   e x c e p t i o n ,   y o u   c a n   o p t - o u t   o f   t h i s   b e h a v i o r   b y   s p e c i f y i n g   a   d i f f e r e n t ,   n o n - d e f a u l t   f i e l d   m a n a g e r ,   a s   s e e n   i n   t h e   f o l l o w i n g   e x a m p l e .   T h e   d e f a u l t   f i e l d   m a n a g e r   f o r   k u b e c t l   s e r v e r - s i d e   a p p l y   i s   k u b e c t l .   k u b e c t l   a p p l y   - - s e r v e r - s i d e   - - f i e l d - m a n a g e r = m y - m a n a g e r   [ - - d r y - r u n = s e r v e r ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22760"
  },
  {
    "question": "What is Downgrading from server-side apply to client-side apply?",
    "answer": "I f   y o u   m a n a g e   a   r e s o u r c e   w i t h   k u b e c t l   a p p l y   - - s e r v e r - s i d e ,   y o u   c a n   d o w n g r a d e   t o   c l i e n t - s i d e   a p p l y   d i r e c t l y   w i t h   k u b e c t l   a p p l y .   D o w n g r a d i n g   w o r k s   b e c a u s e   k u b e c t l   S e r v e r - S i d e   A p p l y   k e e p s   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   u p - t o - d a t e   i f   y o u   u s e   k u b e c t l   a p p l y .   T h i s   b e h a v i o r   a p p l i e s   t o   S e r v e r - S i d e   A p p l y   w i t h   t h e   k u b e c t l   f i e l d   m a n a g e r .   A s   a n   e x c e p t i o n ,   y o u   c a n   o p t - o u t   o f   t h i s   b e h a v i o r   b y   s p e c i f y i n g   a   d i f f e r e n t ,   n o n - d e f a u l t   f i e l d   m a n a g e r ,   a s   s e e n   i n   t h e   f o l l o w i n g   e x a m p l e .   T h e   d e f a u l t   f i e l d   m a n a g e r   f o r   k u b e c t l   s e r v e r - s i d e   a p p l y   i s   k u b e c t l .   k u b e c t l   a p p l y   - - s e r v e r - s i d e   - - f i e l d - m a n a g e r = m y - m a n a g e r   [ - - d r y - r u n = s e r v e r ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22761"
  },
  {
    "question": "What is API implementation?",
    "answer": "T h e   P A T C H   v e r b   ( f o r   a n   o b j e c t   t h a t   s u p p o r t s   S e r v e r - S i d e   A p p l y )   a c c e p t s   t h e   u n o f f i c i a l   a p p l i c a t i o n / a p p l y - p a t c h + y a m l   c o n t e n t   t y p e .   U s e r s   o f   S e r v e r - S i d e   A p p l y   c a n   s e n d   p a r t i a l l y   s p e c i f i e d   o b j e c t s   a s   Y A M L   a s   t h e   b o d y   o f   a   P A T C H   r e q u e s t   t o   t h e   U R I   o f   a   r e s o u r c e .   W h e n   a p p l y i n g   a   c o n f i g u r a t i o n ,   y o u   s h o u l d   a l w a y s   i n c l u d e   a l l   t h e   f i e l d s   t h a t   a r e   i m p o r t a n t   t o   t h e   o u t c o m e   ( s u c h   a s   a   d e s i r e d   s t a t e )   t h a t   y o u   w a n t   t o   d e f i n e .   A l l   J S O N   m e s s a g e s   a r e   v a l i d   Y A M L .   T h e r e f o r e ,   i n   a d d i t i o n   t o   u s i n g   Y A M L   r e q u e s t   b o d i e s   f o r   S e r v e r - S i d e   A p p l y   r e q u e s t s ,   y o u   c a n   a l s o   u s e   J S O N   r e q u e s t   b o d i e s ,   a s   t h e y   a r e   a l s o   v a l i d   Y A M L .   I n   e i t h e r   c a s e ,   u s e   t h e   m e d i a   t y p e   a p p l i c a t i o n / a p p l y - p a t c h + y a m l   f o r   t h e   H T T P   r e q u e s t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22762"
  },
  {
    "question": "What is Access control and permissions?",
    "answer": "S i n c e   S e r v e r - S i d e   A p p l y   i s   a   t y p e   o f   P A T C H ,   a   p r i n c i p a l   ( s u c h   a s   a   R o l e   f o r   K u b e r n e t e s   R B A C )   r e q u i r e s   t h e   p a t c h   p e r m i s s i o n   t o   e d i t   e x i s t i n g   r e s o u r c e s ,   a n d   a l s o   n e e d s   t h e   c r e a t e   v e r b   p e r m i s s i o n   i n   o r d e r   t o   c r e a t e   n e w   r e s o u r c e s   w i t h   S e r v e r - S i d e   A p p l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22763"
  },
  {
    "question": "What is Clearing managedFields?",
    "answer": "I t   i s   p o s s i b l e   t o   s t r i p   a l l   m a n a g e d F i e l d s   f r o m   a n   o b j e c t   b y   o v e r w r i t i n g   t h e m   u s i n g   a   p a t c h   ( J S O N   M e r g e   P a t c h ,   S t r a t e g i c   M e r g e   P a t c h ,   J S O N   P a t c h ) ,   o r   t h r o u g h   a n   u p d a t e   ( H T T P   P U T ) ;   i n   o t h e r   w o r d s ,   t h r o u g h   e v e r y   w r i t e   o p e r a t i o n   o t h e r   t h a n   a p p l y .   T h i s   c a n   b e   d o n e   b y   o v e r w r i t i n g   t h e   m a n a g e d F i e l d s   f i e l d   w i t h   a n   e m p t y   e n t r y .   T w o   e x a m p l e s   a r e :   P A T C H   / a p i / v 1 / n a m e s p a c e s / d e f a u l t / c o n f i g m a p s / e x a m p l e - c m   A c c e p t :   a p p l i c a t i o n / j s o n   C o n t e n t - T y p e :   a p p l i c a t i o n / m e r g e - p a t c h + j s o n   {   \" m e t a d a t a \" :   {   \" m a n a g e d F i e l d s \" :   [   { }   ]   }   }   P A T C H   / a p i / v 1 / n a m e s p a c e s / d e f a u l t / c o n f i g m a p s / e x a m p l e - c m   A c c e p t :   a p p l i c a t i o n / j s o n   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n - p a t c h + j s o n   I f - M a t c h :   1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9   [ { \" o p \" :   \" r e p l a c e \" ,   \" p a t h \" :   \" / m e t a d a t a / m a n a g e d F i e l d s \" ,   \" v a l u e \" :   [ { } ] } ]   T h i s   w i l l   o v e r w r i t e   t h e   m a n a g e d F i e l d s   w i t h   a   l i s t   c o n t a i n i n g   a   s i n g l e   e m p t y   e n t r y   t h a t   t h e n   r e s u l t s   i n   t h e   m a n a g e d F i e l d s   b e i n g   s t r i p p e d   e n t i r e l y   f r o m   t h e   o b j e c t .   N o t e   t h a t   s e t t i n g   t h e   m a n a g e d F i e l d s   t o   a n   e m p t y   l i s t   w i l l   n o t   r e s e t   t h e   f i e l d .   T h i s   i s   o n   p u r p o s e ,   s o   m a n a g e d F i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22764"
  },
  {
    "question": "What is What's next?",
    "answer": "Y o u   c a n   r e a d   a b o u t   m a n a g e d F i e l d s   w i t h i n   t h e   K u b e r n e t e s   A P I   r e f e r e n c e   f o r   t h e   m e t a d a t a   t o p   l e v e l   f i e l d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22765"
  },
  {
    "question": "What is 2.4 - Client Libraries?",
    "answer": "T h i s   p a g e   c o n t a i n s   a n   o v e r v i e w   o f   t h e   c l i e n t   l i b r a r i e s   f o r   u s i n g   t h e   K u b e r n e t e s   A P I   f r o m   v a r i o u s   p r o g r a m m i n g   l a n g u a g e s .   T o   w r i t e   a p p l i c a t i o n s   u s i n g   t h e   K u b e r n e t e s   R E S T   A P I ,   y o u   d o   n o t   n e e d   t o   i m p l e m e n t   t h e   A P I   c a l l s   a n d   r e q u e s t / r e s p o n s e   t y p e s   y o u r s e l f .   Y o u   c a n   u s e   a   c l i e n t   l i b r a r y   f o r   t h e   p r o g r a m m i n g   l a n g u a g e   y o u   a r e   u s i n g .   C l i e n t   l i b r a r i e s   o f t e n   h a n d l e   c o m m o n   t a s k s   s u c h   a s   a u t h e n t i c a t i o n   f o r   y o u .   M o s t   c l i e n t   l i b r a r i e s   c a n   d i s c o v e r   a n d   u s e   t h e   K u b e r n e t e s   S e r v i c e   A c c o u n t   t o   a u t h e n t i c a t e   i f   t h e   A P I   c l i e n t   i s   r u n n i n g   i n s i d e   t h e   K u b e r n e t e s   c l u s t e r ,   o r   c a n   u n d e r s t a n d   t h e   k u b e c o n f i g   f i l e   f o r m a t   t o   r e a d   t h e   c r e d e n t i a l s   a n d   t h e   A P I   S e r v e r   a d d r e s s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_22766"
  },
  {
    "question": "What is Officially-supported Kubernetes client libraries?",
    "answer": "T h e   f o l l o w i n g   c l i e n t   l i b r a r i e s   a r e   o f f i c i a l l y   m a i n t a i n e d   b y   K u b e r n e t e s   S I G   A P I   M a c h i n e r y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22767"
  },
  {
    "question": "What is Community-maintained client libraries?",
    "answer": "T h e   f o l l o w i n g   K u b e r n e t e s   A P I   c l i e n t   l i b r a r i e s   a r e   p r o v i d e d   a n d   m a i n t a i n e d   b y   t h e i r   a u t h o r s ,   n o t   t h e   K u b e r n e t e s   t e a m .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22768"
  },
  {
    "question": "What is 2.5 - Common Expression Language in Kubernetes?",
    "answer": "T h e   C o m m o n   E x p r e s s i o n   L a n g u a g e   ( C E L )   i s   u s e d   i n   t h e   K u b e r n e t e s   A P I   t o   d e c l a r e   v a l i d a t i o n   r u l e s ,   p o l i c y   r u l e s ,   a n d   o t h e r   c o n s t r a i n t s   o r   c o n d i t i o n s .   C E L   e x p r e s s i o n s   a r e   e v a l u a t e d   d i r e c t l y   i n   t h e   A P I   s e r v e r ,   m a k i n g   C E L   a   c o n v e n i e n t   a l t e r n a t i v e   t o   o u t - o f - p r o c e s s   m e c h a n i s m s ,   s u c h   a s   w e b h o o k s ,   f o r   m a n y   e x t e n s i b i l i t y   u s e   c a s e s .   Y o u r   C E L   e x p r e s s i o n s   c o n t i n u e   t o   e x e c u t e   s o   l o n g   a s   t h e   c o n t r o l   p l a n e ' s   A P I   s e r v e r   c o m p o n e n t   r e m a i n s   a v a i l a b l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_22769"
  },
  {
    "question": "What is Language overview?",
    "answer": "T h e   C E L   l a n g u a g e   h a s   a   s t r a i g h t f o r w a r d   s y n t a x   t h a t   i s   s i m i l a r   t o   t h e   e x p r e s s i o n s   i n   C ,   C + + ,   J a v a ,   J a v a S c r i p t   a n d   G o .   C E L   w a s   d e s i g n e d   t o   b e   e m b e d d e d   i n t o   a p p l i c a t i o n s .   E a c h   C E L   \" p r o g r a m \"   i s   a   s i n g l e   e x p r e s s i o n   t h a t   e v a l u a t e s   t o   a   s i n g l e   v a l u e .   C E L   e x p r e s s i o n s   a r e   t y p i c a l l y   s h o r t   \" o n e - l i n e r s \"   t h a t   i n l i n e   w e l l   i n t o   t h e   s t r i n g   f i e l d s   o f   K u b e r n e t e s   A P I   r e s o u r c e s .   I n p u t s   t o   a   C E L   p r o g r a m   a r e   \" v a r i a b l e s \" .   E a c h   K u b e r n e t e s   A P I   f i e l d   t h a t   c o n t a i n s   C E L   d e c l a r e s   i n   t h e   A P I   d o c u m e n t a t i o n   w h i c h   v a r i a b l e s   a r e   a v a i l a b l e   t o   u s e   f o r   t h a t   f i e l d .   F o r   e x a m p l e ,   i n   t h e   x - k u b e r n e t e s - v a l i d a t i o n s [ i ] . r u l e s   f i e l d   o f   C u s t o m R e s o u r c e D e f i n i t i o n s ,   t h e   s e l f   a n d   o l d S e l f   v a r i a b l e s   a r e   a v a i l a b l e   a n d   r e f e r   t o   t h e   p r e v i o u s   a n d   c u r r e n t   s t a t e   o f   t h e   c u s t o m   r e s o u r c e   d a t a   t o   b e   v a l i d a t e d   b y   t h e   C E L   e x p r e s s i o n .   O t h e r   K u b e r n e t e s   A P I   f i e l d s   m a y   d e c l a r e   d i f f e r e n t   v a r i a b l e s .   S e e   t h e   A P I   d o c u m e n t a t i o n   o f   t h e   A P I   f i e l d s   t o   l e a r n   w h i c h   v a r i a b l e s   a r e   a v a i l a b l e   f o r   t h a t   f i e l d .   E x a m p l e   C E L   e x p r e s s i o n s :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22770"
  },
  {
    "question": "What is CEL options, language features, and libraries?",
    "answer": "C E L   i s   c o n f i g u r e d   w i t h   t h e   f o l l o w i n g   o p t i o n s ,   l i b r a r i e s   a n d   l a n g u a g e   f e a t u r e s ,   i n t r o d u c e d   a t   t h e   s p e c i f i e d   K u b e r n e t e s   v e r s i o n s :   C E L   f u n c t i o n s ,   f e a t u r e s   a n d   l a n g u a g e   s e t t i n g s   s u p p o r t   K u b e r n e t e s   c o n t r o l   p l a n e   r o l l b a c k s .   F o r   e x a m p l e ,   C E L   O p t i o n a l   V a l u e s   w a s   i n t r o d u c e d   a t   K u b e r n e t e s   1 . 2 9   a n d   s o   o n l y   A P I   s e r v e r s   a t   t h a t   v e r s i o n   o r   n e w e r   w i l l   a c c e p t   w r i t e   r e q u e s t s   t o   C E L   e x p r e s s i o n s   t h a t   u s e   C E L   O p t i o n a l   V a l u e s .   H o w e v e r ,   w h e n   a   c l u s t e r   i s   r o l l e d   b a c k   t o   K u b e r n e t e s   1 . 2 8   C E L   e x p r e s s i o n s   u s i n g   \" C E L   O p t i o n a l   V a l u e s \"   t h a t   a r e   a l r e a d y   s t o r e d   i n   A P I   r e s o u r c e s   w i l l   c o n t i n u e   t o   e v a l u a t e   c o r r e c t l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22771"
  },
  {
    "question": "What is Kubernetes CEL libraries?",
    "answer": "I n   a d d i t i o n a l   t o   t h e   C E L   c o m m u n i t y   l i b r a r i e s ,   K u b e r n e t e s   i n c l u d e s   C E L   l i b r a r i e s   t h a t   a r e   a v a i l a b l e   e v e r y w h e r e   C E L   i s   u s e d   i n   K u b e r n e t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22772"
  },
  {
    "question": "What is Kubernetes list library?",
    "answer": "T h e   l i s t   l i b r a r y   i n c l u d e s   i n d e x O f   a n d   l a s t I n d e x O f ,   w h i c h   w o r k   s i m i l a r   t o   t h e   s t r i n g s   f u n c t i o n s   o f   t h e   s a m e   n a m e s .   T h e s e   f u n c t i o n s   e i t h e r   t h e   f i r s t   o r   l a s t   p o s i t i o n a l   i n d e x   o f   t h e   p r o v i d e d   e l e m e n t   i n   t h e   l i s t .   T h e   l i s t   l i b r a r y   a l s o   i n c l u d e s   m i n ,   m a x   a n d   s u m .   S u m   i s   s u p p o r t e d   o n   a l l   n u m b e r   t y p e s   a s   w e l l   a s   t h e   d u r a t i o n   t y p e .   M i n   a n d   m a x   a r e   s u p p o r t e d   o n   a l l   c o m p a r a b l e   t y p e s .   i s S o r t e d   i s   a l s o   p r o v i d e d   a s   a   c o n v e n i e n c e   f u n c t i o n   a n d   i s   s u p p o r t e d   o n   a l l   c o m p a r a b l e   t y p e s .   E x a m p l e s :   S e e   t h e   K u b e r n e t e s   L i s t   L i b r a r y   g o d o c   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22773"
  },
  {
    "question": "What is Kubernetes regex library?",
    "answer": "I n   a d d i t i o n   t o   t h e   m a t c h e s   f u n c t i o n   p r o v i d e d   b y   t h e   C E L   s t a n d a r d   l i b r a r y ,   t h e   r e g e x   l i b r a r y   p r o v i d e s   f i n d   a n d   f i n d A l l ,   e n a b l i n g   a   m u c h   w i d e r   r a n g e   o f   r e g e x   o p e r a t i o n s .   E x a m p l e s :   S e e   t h e   K u b e r n e t e s   r e g e x   l i b r a r y   g o d o c   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22774"
  },
  {
    "question": "What is Kubernetes URL library?",
    "answer": "T o   m a k e   i t   e a s i e r   a n d   s a f e r   t o   p r o c e s s   U R L s ,   t h e   f o l l o w i n g   f u n c t i o n s   h a v e   b e e n   a d d e d :   i s U R L ( s t r i n g )   c h e c k s   i f   a   s t r i n g   i s   a   v a l i d   U R L   a c c o r d i n g   t o   t h e   G o ' s   n e t / u r l   p a c k a g e .   T h e   s t r i n g   m u s t   b e   a n   a b s o l u t e   U R L . u r l ( s t r i n g )   U R L   c o n v e r t s   a   s t r i n g   t o   a   U R L   o r   r e s u l t s   i n   a n   e r r o r   i f   t h e   s t r i n g   i s   n o t   a   v a l i d   U R L .   O n c e   p a r s e d   v i a   t h e   u r l   f u n c t i o n ,   t h e   r e s u l t i n g   U R L   o b j e c t   h a s   g e t S c h e m e ,   g e t H o s t ,   g e t H o s t n a m e ,   g e t P o r t ,   g e t E s c a p e d P a t h   a n d   g e t Q u e r y   a c c e s s o r s .   E x a m p l e s :   S e e   t h e   K u b e r n e t e s   U R L   l i b r a r y   g o d o c   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22775"
  },
  {
    "question": "What is Kubernetes IP address library?",
    "answer": "T o   m a k e   i t   e a s i e r   a n d   s a f e r   t o   p r o c e s s   I P   a d d r e s s e s ,   t h e   f o l l o w i n g   f u n c t i o n s   h a v e   b e e n   a d d e d :   i s I P ( s t r i n g )   c h e c k s   i f   a   s t r i n g   i s   a   v a l i d   I P   a d d r e s s . i p ( s t r i n g )   I P   c o n v e r t s   a   s t r i n g   t o   a n   I P   a d d r e s s   o b j e c t   o r   r e s u l t s   i n   a n   e r r o r   i f   t h e   s t r i n g   i s   n o t   a   v a l i d   I P   a d d r e s s .   F o r   b o t h   f u n c t i o n s ,   t h e   I P   a d d r e s s   m u s t   b e   a n   I P v 4   o r   I P v 6   a d d r e s s .   I P v 4 - m a p p e d   I P v 6   a d d r e s s e s   ( e . g .   : : f f f f : 1 . 2 . 3 . 4 )   a r e   n o t   a l l o w e d .   I P   a d d r e s s e s   w i t h   z o n e s   ( e . g .   f e 8 0 : : 1 % e t h 0 )   a r e   n o t   a l l o w e d .   L e a d i n g   z e r o s   i n   I P v 4   a d d r e s s   o c t e t s   a r e   n o t   a l l o w e d .   O n c e   p a r s e d   v i a   t h e   i p   f u n c t i o n ,   t h e   r e s u l t i n g   I P   o b j e c t   h a s   t h e   f o l l o w i n g   l i b r a r y   o f   m e m b e r   f u n c t i o n s :   E x a m p l e s :   S e e   t h e   K u b e r n e t e s   I P   a d d r e s s   l i b r a r y   g o d o c   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22776"
  },
  {
    "question": "What is Kubernetes CIDR library?",
    "answer": "C I D R   p r o v i d e s   a   C E L   f u n c t i o n   l i b r a r y   e x t e n s i o n   o f   C I D R   n o t a t i o n   p a r s i n g   f u n c t i o n s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22777"
  },
  {
    "question": "What is cidr?",
    "answer": "C o n v e r t s   a   s t r i n g   i n   C I D R   n o t a t i o n   t o   a   n e t w o r k   a d d r e s s   r e p r e s e n t a t i o n   o r   r e s u l t s   i n   a n   e r r o r   i f   t h e   s t r i n g   i s   n o t   a   v a l i d   C I D R   n o t a t i o n .   T h e   C I D R   m u s t   b e   a n   I P v 4   o r   I P v 6   s u b n e t   a d d r e s s   w i t h   a   m a s k .   L e a d i n g   z e r o s   i n   I P v 4   a d d r e s s   o c t e t s   a r e   n o t   a l l o w e d .   I P v 4 - m a p p e d   I P v 6   a d d r e s s e s   ( e . g .   : : f f f f : 1 . 2 . 3 . 4 / 2 4 )   a r e   n o t   a l l o w e d .   c i d r ( < s t r i n g > )   < C I D R >   E x a m p l e s :   c i d r ( ' 1 9 2 . 1 6 8 . 0 . 0 / 1 6 ' )   / /   r e t u r n s   a n   I P v 4   a d d r e s s   w i t h   a   C I D R   m a s k   c i d r ( ' : : 1 / 1 2 8 ' )   / /   r e t u r n s   a n   I P v 6   a d d r e s s   w i t h   a   C I D R   m a s k   c i d r ( ' 1 9 2 . 1 6 8 . 0 . 0 / 3 3 ' )   / /   e r r o r   c i d r ( ' : : 1 / 1 2 9 ' )   / /   e r r o r   c i d r ( ' 1 9 2 . 1 6 8 . 0 . 1 / 1 6 ' )   / /   e r r o r ,   b e c a u s e   t h e r e   a r e   n o n - 0   b i t s   a f t e r   t h e   p r e f i x",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22778"
  },
  {
    "question": "What is isCIDR?",
    "answer": "R e t u r n s   t r u e   i f   a   s t r i n g   i s   a   v a l i d   C I D R   n o t a t i o n   r e p r e s e n t a t i o n   o f   a   s u b n e t   w i t h   m a s k .   T h e   C I D R   m u s t   b e   a n   I P v 4   o r   I P v 6   s u b n e t   a d d r e s s   w i t h   a   m a s k .   L e a d i n g   z e r o s   i n   I P v 4   a d d r e s s   o c t e t s   a r e   n o t   a l l o w e d .   I P v 4 - m a p p e d   I P v 6   a d d r e s s e s   ( e . g .   : : f f f f : 1 . 2 . 3 . 4 / 2 4 )   a r e   n o t   a l l o w e d .   i s C I D R ( < s t r i n g > )   < b o o l >   E x a m p l e s :   i s C I D R ( ' 1 9 2 . 1 6 8 . 0 . 0 / 1 6 ' )   / /   r e t u r n s   t r u e   i s C I D R ( ' : : 1 / 1 2 8 ' )   / /   r e t u r n s   t r u e   i s C I D R ( ' 1 9 2 . 1 6 8 . 0 . 0 / 3 3 ' )   / /   r e t u r n s   f a l s e   i s C I D R ( ' : : 1 / 1 2 9 ' )   / /   r e t u r n s   f a l s e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22779"
  },
  {
    "question": "What is containsIP / containsCIDR / ip / masked / prefixLength?",
    "answer": "c o n t a i n s I P :   R e t u r n s   t r u e   i f   a   t h e   C I D R   c o n t a i n s   t h e   g i v e n   I P   a d d r e s s .   T h e   I P   a d d r e s s   m u s t   b e   a n   I P v 4   o r   I P v 6   a d d r e s s .   M a y   t a k e   e i t h e r   a   s t r i n g   o r   I P   a d d r e s s   a s   a n   a r g u m e n t . c o n t a i n s C I D R :   R e t u r n s   t r u e   i f   a   t h e   C I D R   c o n t a i n s   t h e   g i v e n   C I D R .   T h e   C I D R   m u s t   b e   a n   I P v 4   o r   I P v 6   s u b n e t   a d d r e s s   w i t h   a   m a s k .   M a y   t a k e   e i t h e r   a   s t r i n g   o r   C I D R   a s   a n   a r g u m e n t . i p :   R e t u r n s   t h e   I P   a d d r e s s   r e p r e s e n t a t i o n   o f   t h e   C I D R . m a s k e d :   R e t u r n s   t h e   C I D R   r e p r e s e n t a t i o n   o f   t h e   n e t w o r k   a d d r e s s   w i t h   a   m a s k e d   p r e f i x .   T h i s   c a n   b e   u s e d   t o   r e t u r n   t h e   c a n o n i c a l   f o r m   o f   t h e   C I D R   n e t w o r k . p r e f i x L e n g t h :   R e t u r n s   t h e   p r e f i x   l e n g t h   o f   t h e   C I D R   i n   b i t s .   T h i s   i s   t h e   n u m b e r   o f   b i t s   i n   t h e   m a s k .   c o n t a i n s I P :   R e t u r n s   t r u e   i f   a   t h e   C I D R   c o n t a i n s   t h e   g i v e n   I P   a d d r e s s .   T h e   I P   a d d r e s s   m u s t   b e   a n   I P v 4   o r   I P v 6   a d d r e s s .   M a y   t a k e   e i t h e r   a   s t r i n g   o r   I P   a d d r e s s   a s   a n   a r g u m e n t .   c o n t a i n s C I D R :   R e t u r n s   t r u e   i f   a   t h e   C I D R   c o n t a i n s   t h e   g i v e n   C I D R .   T h e   C I D R   m u s t   b e   a n   I P v 4   o r   I P v 6   s u b n e t   a d d r e s s   w i t h   a   m a s k .   M a y   t a k e   e i t h e r   a   s t r i n g   o r   C I D R   a s   a n   a r g u m e n t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22780"
  },
  {
    "question": "What is Kubernetes authorizer library?",
    "answer": "F o r   C E L   e x p r e s s i o n s   i n   t h e   A P I   w h e r e   a   v a r i a b l e   o f   t y p e   A u t h o r i z e r   i s   a v a i l a b l e ,   t h e   a u t h o r i z e r   m a y   b e   u s e d   t o   p e r f o r m   a u t h o r i z a t i o n   c h e c k s   f o r   t h e   p r i n c i p a l   ( a u t h e n t i c a t e d   u s e r )   o f   t h e   r e q u e s t .   A P I   r e s o u r c e   c h e c k s   a r e   p e r f o r m e d   a s   f o l l o w s :   S p e c i f y   t h e   g r o u p   a n d   r e s o u r c e   t o   c h e c k :   A u t h o r i z e r . g r o u p ( s t r i n g ) . r e s o u r c e ( s t r i n g )   R e s o u r c e C h e c k O p t i o n a l l y   c a l l   a n y   c o m b i n a t i o n   o f   t h e   f o l l o w i n g   b u i l d e r   f u n c t i o n s   t o   f u r t h e r   n a r r o w   t h e   a u t h o r i z a t i o n   c h e c k .   N o t e   t h a t   t h e s e   f u n c t i o n s   r e t u r n   t h e   r e c e i v e r   t y p e   a n d   c a n   b e   c h a i n e d : R e s o u r c e C h e c k . s u b r e s o u r c e ( s t r i n g )   R e s o u r c e C h e c k R e s o u r c e C h e c k . n a m e s p a c e ( s t r i n g )   R e s o u r c e C h e c k R e s o u r c e C h e c k . n a m e ( s t r i n g )   R e s o u r c e C h e c k C a l l   R e s o u r c e C h e c k . c h e c k ( v e r b   s t r i n g )   D e c i s i o n   t o   p e r f o r m   t h e   a u t h o r i z a t i o n   c h e c k . C a l l   a l l o w e d ( )   b o o l   o r   r e a s o n ( )   s t r i n g   t o   i n s p e c t   t h e   r e s u l t   o f   t h e   a u t h o r i z a t i o n   c h e c k .   R e s o u r c e C h e c k . s u b r e s o u r c e ( s t r i n g )   R e s o u r c e C h e c k R e s o u r c e C h e c k . n a m e s p a c e ( s t r i n g )   R e s o u r c e C h e c k R e s o u r c e C h e c k . n a m e ( s t r i n g )   R e s o u r c e C h e c k   N o n - r e s o u r c e   a u t h o r i z a t i o n   p e r f o r m e d   a r e   u s e d   a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22781"
  },
  {
    "question": "What is Kubernetes format library?",
    "answer": "T h e   f o r m a t   l i b r a r y   p r o v i d e s   f u n c t i o n s   f o r   v a l i d a t i n g   c o m m o n   K u b e r n e t e s   s t r i n g   f o r m a t s .   T h i s   c a n   b e   u s e f u l   i n   t h e   m e s s a g e E x p r e s s i o n   o f   v a l i d a t i o n   r u l e s   t o   p r o v i d e   m o r e   s p e c i f i c   e r r o r   m e s s a g e s .   T h e   l i b r a r y   p r o v i d e s   f o r m a t ( )   f u n c t i o n s   f o r   e a c h   n a m e d   f o r m a t ,   a n d   a   g e n e r i c   f o r m a t . n a m e d ( )   f u n c t i o n .   f o r m a t . n a m e d ( s t r i n g )   →   ? F o r m a t :   R e t u r n s   t h e   F o r m a t   o b j e c t   f o r   t h e   g i v e n   f o r m a t   n a m e ,   i f   i t   e x i s t s .   O t h e r w i s e ,   r e t u r n s   o p t i o n a l . n o n e . f o r m a t . < f o r m a t N a m e > ( )   - >   F o r m a t :   C o n v e n i e n c e   f u n c t i o n s   f o r   a l l   t h e   n a m e d   f o r m a t s   a r e   a l s o   a v a i l a b l e .   F o r   e x a m p l e ,   f o r m a t . d n s 1 1 2 3 L a b e l ( )   r e t u r n s   t h e   F o r m a t   o b j e c t   f o r   D N S - 1 1 2 3   l a b e l s . < F o r m a t > . v a l i d a t e ( s t r i n g )   - >   l i s t < s t r i n g > ? :   V a l i d a t e s   t h e   g i v e n   s t r i n g   a g a i n s t   t h e   f o r m a t .   R e t u r n s   o p t i o n a l . n o n e   i f   t h e   s t r i n g   i s   v a l i d ,   o t h e r w i s e   a n   o p t i o n a l   c o n t a i n i n g   a   l i s t   o f   v a l i d a t i o n   e r r o r   s t r i n g s .   A v a i l a b l e   F o r m a t s :   T h e   f o l l o w i n g   f o r m a t   n a m e s   a r e   s u p p o r t e d :   E x a m p l e s :   S e e   t h e   K u b e r n e t e s   F o r m a t   l i b r a r y   g o d o c   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22782"
  },
  {
    "question": "What is Kubernetes quantity library?",
    "answer": "K u b e r n e t e s   1 . 2 8   a d d s   s u p p o r t   f o r   m a n i p u l a t i n g   q u a n t i t y   s t r i n g s   ( e x   1 . 5 G ,   5 1 2 k ,   2 0 M i )   i s Q u a n t i t y ( s t r i n g )   c h e c k s   i f   a   s t r i n g   i s   a   v a l i d   Q u a n t i t y   a c c o r d i n g   t o   K u b e r n e t e s '   r e s o u r c e . Q u a n t i t y . q u a n t i t y ( s t r i n g )   Q u a n t i t y   c o n v e r t s   a   s t r i n g   t o   a   Q u a n t i t y   o r   r e s u l t s   i n   a n   e r r o r   i f   t h e   s t r i n g   i s   n o t   a   v a l i d   q u a n t i t y .   O n c e   p a r s e d   v i a   t h e   q u a n t i t y   f u n c t i o n ,   t h e   r e s u l t i n g   Q u a n t i t y   o b j e c t   h a s   t h e   f o l l o w i n g   l i b r a r y   o f   m e m b e r   f u n c t i o n s :   E x a m p l e s :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22783"
  },
  {
    "question": "What is Kubernetes semver library?",
    "answer": "K u b e r n e t e s   v 1 . 3 4   a d d s   s u p p o r t   f o r   p a r s i n g   a n d   c o m p a r i n g   s t r i n g s   t h a t   f o l l o w   t h e   S e m a n t i c   V e r s i o n i n g   2 . 0 . 0   s p e c i f i c a t i o n .   R e f e r   t o   t h e   s e m v e r . o r g   d o c u m e n t a t i o n   f o r   i n f o r m a t i o n   o n   a c c e p t e d   p a t t e r n s .   i s S e m v e r ( s t r i n g )   c h e c k s   i f   a   s t r i n g   i s   a   v a l i d   s e m a n t i c   v e r s i o n . s e m v e r ( s t r i n g )   c o n v e r t s   a   s t r i n g   t o   a   S e m v e r   o b j e c t   o r   r e s u l t s   i n   a n   e r r o r .   A n   o p t i o n a l   b o o l e a n   n o r m a l i z e   a r g u m e n t   c a n   b e   p a s s e d   t o   i s S e m v e r   a n d   s e m v e r .   I f   t r u e ,   n o r m a l i z a t i o n   r e m o v e s   a n y   \" v \"   p r e f i x ,   a d d s   a   0   m i n o r   a n d   p a t c h   n u m b e r s   t o   v e r s i o n s   w i t h   o n l y   m a j o r   o r   m a j o r . m i n o r   c o m p o n e n t s   s p e c i f i e d ,   a n d   r e m o v e s   a n y   l e a d i n g   0 s .   O n c e   p a r s e d   v i a   t h e   s e m v e r   f u n c t i o n ,   t h e   r e s u l t i n g   S e m v e r   o b j e c t   h a s   t h e   f o l l o w i n g   l i b r a r y   o f   m e m b e r   f u n c t i o n s :   E x a m p l e s :   S e e   t h e   K u b e r n e t e s   S e m v e r   l i b r a r y   g o d o c   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22784"
  },
  {
    "question": "What is Type checking?",
    "answer": "C E L   i s   a   g r a d u a l l y   t y p e d   l a n g u a g e .   S o m e   K u b e r n e t e s   A P I   f i e l d s   c o n t a i n   f u l l y   t y p e   c h e c k e d   C E L   e x p r e s s i o n s .   F o r   e x a m p l e ,   C u s t o m R e s o u r c e D e f i n i t i o n s   V a l i d a t i o n   R u l e s   a r e   f u l l y   t y p e   c h e c k e d .   S o m e   K u b e r n e t e s   A P I   f i e l d s   c o n t a i n   p a r t i a l l y   t y p e   c h e c k e d   C E L   e x p r e s s i o n s .   A   p a r t i a l l y   t y p e   c h e c k e d   e x p r e s s i o n   i s   a n   e x p r e s s i o n s   w h e r e   s o m e   o f   t h e   v a r i a b l e s   a r e   s t a t i c a l l y   t y p e d   b u t   o t h e r s   a r e   d y n a m i c a l l y   t y p e d .   F o r   e x a m p l e ,   i n   t h e   C E L   e x p r e s s i o n s   o f   V a l i d a t i n g A d m i s s i o n P o l i c i e s   t h e   r e q u e s t   v a r i a b l e   i s   t y p e d ,   b u t   t h e   o b j e c t   v a r i a b l e   i s   d y n a m i c a l l y   t y p e d .   A s   a   r e s u l t ,   a n   e x p r e s s i o n   c o n t a i n i n g   r e q u e s t . n a m e x   w o u l d   f a i l   t y p e   c h e c k i n g   b e c a u s e   t h e   n a m e x   f i e l d   i s   n o t   d e f i n e d .   H o w e v e r ,   o b j e c t . n a m e x   w o u l d   p a s s   t y p e   c h e c k i n g   e v e n   w h e n   t h e   n a m e x   f i e l d   i s   n o t   d e f i n e d   f o r   t h e   r e s o u r c e   k i n d s   t h a t   o b j e c t   r e f e r s   t o ,   b e c a u s e   o b j e c t   i s   d y n a m i c a l l y   t y p e d .   T h e   h a s ( )   m a c r o   i n   C E L   m a y   b e   u s e d   i n   C E L   e x p r e s s i o n s   t o   c h e c k   i f   a   f i e l d   o f   a   d y n a m i c a l l y   t y p e d   v a r i a b l e   i s   a c c e s s i b l e   b e f o r e   a t t e m p t i n g   t o   a c c e s s   t h e   f i e l d ' s   v a l u e .   F o r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22785"
  },
  {
    "question": "What is Type system integration?",
    "answer": "A l s o   s e e :   C E L   t y p e s ,   O p e n A P I   t y p e s ,   K u b e r n e t e s   S t r u c t u r a l   S c h e m a s .   E q u a l i t y   c o m p a r i s o n   f o r   a r r a y s   w i t h   x - k u b e r n e t e s - l i s t - t y p e   o f   s e t   o r   m a p   i g n o r e s   e l e m e n t   o r d e r .   F o r   e x a m p l e   [ 1 ,   2 ]   = =   [ 2 ,   1 ]   i f   t h e   a r r a y s   r e p r e s e n t   K u b e r n e t e s   s e t   v a l u e s .   C o n c a t e n a t i o n   o n   a r r a y s   w i t h   x - k u b e r n e t e s - l i s t - t y p e   u s e   t h e   s e m a n t i c s   o f   t h e   l i s t   t y p e :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22786"
  },
  {
    "question": "What is Escaping?",
    "answer": "O n l y   K u b e r n e t e s   r e s o u r c e   p r o p e r t y   n a m e s   o f   t h e   f o r m   [ a - z A - Z _ . - / ] [ a - z A - Z 0 - 9 _ . - / ] *   a r e   a c c e s s i b l e   f r o m   C E L .   A c c e s s i b l e   p r o p e r t y   n a m e s   a r e   e s c a p e d   a c c o r d i n g   t o   t h e   f o l l o w i n g   r u l e s   w h e n   a c c e s s e d   i n   t h e   e x p r e s s i o n :   W h e n   y o u   e s c a p e   a n y   o f   C E L ' s   R E S E R V E D   k e y w o r d s   y o u   n e e d   t o   m a t c h   t h e   e x a c t   p r o p e r t y   n a m e   u s e   t h e   u n d e r s c o r e   e s c a p i n g   ( f o r   e x a m p l e ,   i n t   i n   t h e   w o r d   s p r i n t   w o u l d   n o t   b e   e s c a p e d   a n d   n o r   w o u l d   i t   n e e d   t o   b e ) .   E x a m p l e s   o n   e s c a p i n g :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22787"
  },
  {
    "question": "What is Resource constraints?",
    "answer": "C E L   i s   n o n - T u r i n g   c o m p l e t e   a n d   o f f e r s   a   v a r i e t y   o f   p r o d u c t i o n   s a f e t y   c o n t r o l s   t o   l i m i t   e x e c u t i o n   t i m e .   C E L ' s   r e s o u r c e   c o n s t r a i n t   f e a t u r e s   p r o v i d e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22788"
  },
  {
    "question": "What is Runtime cost budget?",
    "answer": "A l l   C E L   e x p r e s s i o n s   e v a l u a t e d   b y   K u b e r n e t e s   a r e   c o n s t r a i n e d   b y   a   r u n t i m e   c o s t   b u d g e t .   T h e   r u n t i m e   c o s t   b u d g e t   i s   a n   e s t i m a t e   o f   a c t u a l   C P U   u t i l i z a t i o n   c o m p u t e d   b y   i n c r e m e n t i n g   a   c o s t   u n i t   c o u n t e r   w h i l e   i n t e r p r e t i n g   a   C E L   e x p r e s s i o n .   I f   t h e   C E L   i n t e r p r e t e r   e x e c u t e s   t o o   m a n y   i n s t r u c t i o n s ,   t h e   r u n t i m e   c o s t   b u d g e t   w i l l   b e   e x c e e d e d ,   e x e c u t i o n   o f   t h e   e x p r e s s i o n s   w i l l   b e   h a l t e d ,   a n d   a n   e r r o r   w i l l   r e s u l t .   S o m e   K u b e r n e t e s   r e s o u r c e s   d e f i n e   a n   a d d i t i o n a l   r u n t i m e   c o s t   b u d g e t   t h a t   b o u n d s   t h e   e x e c u t i o n   o f   m u l t i p l e   e x p r e s s i o n s .   I f   t h e   s u m   t o t a l   o f   t h e   c o s t   o f   e x p r e s s i o n s   e x c e e d   t h e   b u d g e t ,   e x e c u t i o n   o f   t h e   e x p r e s s i o n s   w i l l   b e   h a l t e d ,   a n d   a n   e r r o r   w i l l   r e s u l t .   F o r   e x a m p l e   t h e   v a l i d a t i o n   o f   a   c u s t o m   r e s o u r c e   h a s   a   p e r - v a l i d a t i o n   r u n t i m e   c o s t   b u d g e t   f o r   a l l   V a l i d a t i o n   R u l e s   e v a l u a t e d   t o   v a l i d a t e   t h e   c u s t o m   r e s o u r c e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22789"
  },
  {
    "question": "What is Estimated cost limits?",
    "answer": "F o r   s o m e   K u b e r n e t e s   r e s o u r c e s ,   t h e   A P I   s e r v e r   m a y   a l s o   c h e c k   i f   w o r s t   c a s e   e s t i m a t e d   r u n n i n g   t i m e   o f   C E L   e x p r e s s i o n s   w o u l d   b e   p r o h i b i t i v e l y   e x p e n s i v e   t o   e x e c u t e .   I f   s o ,   t h e   A P I   s e r v e r   p r e v e n t   t h e   C E L   e x p r e s s i o n   f r o m   b e i n g   w r i t t e n   t o   A P I   r e s o u r c e s   b y   r e j e c t i n g   c r e a t e   o r   u p d a t e   o p e r a t i o n s   c o n t a i n i n g   t h e   C E L   e x p r e s s i o n   t o   t h e   A P I   r e s o u r c e s .   T h i s   f e a t u r e   o f f e r s   a   s t r o n g e r   a s s u r a n c e   t h a t   C E L   e x p r e s s i o n s   w r i t t e n   t o   t h e   A P I   r e s o u r c e   w i l l   b e   e v a l u a t e d   a t   r u n t i m e   w i t h o u t   e x c e e d i n g   t h e   r u n t i m e   c o s t   b u d g e t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22790"
  },
  {
    "question": "What is 2.6 - Kubernetes Deprecation Policy?",
    "answer": "T h i s   d o c u m e n t   d e t a i l s   t h e   d e p r e c a t i o n   p o l i c y   f o r   v a r i o u s   f a c e t s   o f   t h e   s y s t e m .   K u b e r n e t e s   i s   a   l a r g e   s y s t e m   w i t h   m a n y   c o m p o n e n t s   a n d   m a n y   c o n t r i b u t o r s .   A s   w i t h   a n y   s u c h   s o f t w a r e ,   t h e   f e a t u r e   s e t   n a t u r a l l y   e v o l v e s   o v e r   t i m e ,   a n d   s o m e t i m e s   a   f e a t u r e   m a y   n e e d   t o   b e   r e m o v e d .   T h i s   c o u l d   i n c l u d e   a n   A P I ,   a   f l a g ,   o r   e v e n   a n   e n t i r e   f e a t u r e .   T o   a v o i d   b r e a k i n g   e x i s t i n g   u s e r s ,   K u b e r n e t e s   f o l l o w s   a   d e p r e c a t i o n   p o l i c y   f o r   a s p e c t s   o f   t h e   s y s t e m   t h a t   a r e   s l a t e d   t o   b e   r e m o v e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_22791"
  },
  {
    "question": "What is Deprecating parts of the API?",
    "answer": "S i n c e   K u b e r n e t e s   i s   a n   A P I - d r i v e n   s y s t e m ,   t h e   A P I   h a s   e v o l v e d   o v e r   t i m e   t o   r e f l e c t   t h e   e v o l v i n g   u n d e r s t a n d i n g   o f   t h e   p r o b l e m   s p a c e .   T h e   K u b e r n e t e s   A P I   i s   a c t u a l l y   a   s e t   o f   A P I s ,   c a l l e d   \" A P I   g r o u p s \" ,   a n d   e a c h   A P I   g r o u p   i s   i n d e p e n d e n t l y   v e r s i o n e d .   A P I   v e r s i o n s   f a l l   i n t o   3   m a i n   t r a c k s ,   e a c h   o f   w h i c h   h a s   d i f f e r e n t   p o l i c i e s   f o r   d e p r e c a t i o n :   A   g i v e n   r e l e a s e   o f   K u b e r n e t e s   c a n   s u p p o r t   a n y   n u m b e r   o f   A P I   g r o u p s   a n d   a n y   n u m b e r   o f   v e r s i o n s   o f   e a c h .   T h e   f o l l o w i n g   r u l e s   g o v e r n   t h e   d e p r e c a t i o n   o f   e l e m e n t s   o f   t h e   A P I .   T h i s   i n c l u d e s :   R E S T   r e s o u r c e s   ( a k a   A P I   o b j e c t s ) F i e l d s   o f   R E S T   r e s o u r c e s A n n o t a t i o n s   o n   R E S T   r e s o u r c e s ,   i n c l u d i n g   \" b e t a \"   a n n o t a t i o n s   b u t   n o t   i n c l u d i n g   \" a l p h a \"   a n n o t a t i o n s . E n u m e r a t e d   o r   c o n s t a n t   v a l u e s C o m p o n e n t   c o n f i g   s t r u c t u r e s   T h e s e   r u l e s   a r e   e n f o r c e d   b e t w e e n   o f f i c i a l   r e l e a s e s ,   n o t   b e t w e e n   a r b i t r a r y   c o m m i t s   t o   m a s t e r   o r   r e l e a s e   b r a n c h e s .   R u l e   # 1 :   A P I   e l e m e n t s   m a y   o n l y   b e   r e m o v e d   b y   i n c r e m e n t i n g   t h e   v e r s i o n   o f   t h e   A P I   g r o u p .   O n c e   a n   A P I   e l e m e n t   h a s   b e e n   a d d e d   t o   a n   A P I   g r o u p   a t   a   p a r t i c u l a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22792"
  },
  {
    "question": "What is Note:?",
    "answer": "R u l e   # 2 :   A P I   o b j e c t s   m u s t   b e   a b l e   t o   r o u n d - t r i p   b e t w e e n   A P I   v e r s i o n s   i n   a   g i v e n   r e l e a s e   w i t h o u t   i n f o r m a t i o n   l o s s ,   w i t h   t h e   e x c e p t i o n   o f   w h o l e   R E S T   r e s o u r c e s   t h a t   d o   n o t   e x i s t   i n   s o m e   v e r s i o n s .   F o r   e x a m p l e ,   a n   o b j e c t   c a n   b e   w r i t t e n   a s   v 1   a n d   t h e n   r e a d   b a c k   a s   v 2   a n d   c o n v e r t e d   t o   v 1 ,   a n d   t h e   r e s u l t i n g   v 1   r e s o u r c e   w i l l   b e   i d e n t i c a l   t o   t h e   o r i g i n a l .   T h e   r e p r e s e n t a t i o n   i n   v 2   m i g h t   b e   d i f f e r e n t   f r o m   v 1 ,   b u t   t h e   s y s t e m   k n o w s   h o w   t o   c o n v e r t   b e t w e e n   t h e m   i n   b o t h   d i r e c t i o n s .   A d d i t i o n a l l y ,   a n y   n e w   f i e l d   a d d e d   i n   v 2   m u s t   b e   a b l e   t o   r o u n d - t r i p   t o   v 1   a n d   b a c k ,   w h i c h   m e a n s   v 1   m i g h t   h a v e   t o   a d d   a n   e q u i v a l e n t   f i e l d   o r   r e p r e s e n t   i t   a s   a n   a n n o t a t i o n .   R u l e   # 3 :   A n   A P I   v e r s i o n   i n   a   g i v e n   t r a c k   m a y   n o t   b e   d e p r e c a t e d   i n   f a v o r   o f   a   l e s s   s t a b l e   A P I   v e r s i o n .   G A   A P I   v e r s i o n s   c a n   r e p l a c e   b e t a   a n d   a l p h a   A P I   v e r s i o n s . B e t a   A P I   v e r s i o n s   c a n   r e p l a c e   e a r l i e r   b e t a   a n d   a l p h a   A P I   v e r s i o n s ,   b u t   m a y   n o t   r e p l a c e   G A   A P I   v e r s i o n s . A l p h a   A P I   v e r s i o n s   c a n   r e p l a c e   e a r l i e r   a l p h a   A P I   v e r s i o n s ,   b u t   m a y   n o t   r e p l a c e   G A   o r   b e t a   A P I   v e r s i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22793"
  },
  {
    "question": "What is Note:?",
    "answer": "R u l e   # 4 b :   T h e   \" p r e f e r r e d \"   A P I   v e r s i o n   a n d   t h e   \" s t o r a g e   v e r s i o n \"   f o r   a   g i v e n   g r o u p   m a y   n o t   a d v a n c e   u n t i l   a f t e r   a   r e l e a s e   h a s   b e e n   m a d e   t h a t   s u p p o r t s   b o t h   t h e   n e w   v e r s i o n   a n d   t h e   p r e v i o u s   v e r s i o n   U s e r s   m u s t   b e   a b l e   t o   u p g r a d e   t o   a   n e w   r e l e a s e   o f   K u b e r n e t e s   a n d   t h e n   r o l l   b a c k   t o   a   p r e v i o u s   r e l e a s e ,   w i t h o u t   c o n v e r t i n g   a n y t h i n g   t o   t h e   n e w   A P I   v e r s i o n   o r   s u f f e r i n g   b r e a k a g e s   ( u n l e s s   t h e y   e x p l i c i t l y   u s e d   f e a t u r e s   o n l y   a v a i l a b l e   i n   t h e   n e w e r   v e r s i o n ) .   T h i s   i s   p a r t i c u l a r l y   e v i d e n t   i n   t h e   s t o r e d   r e p r e s e n t a t i o n   o f   o b j e c t s .   A l l   o f   t h i s   i s   b e s t   i l l u s t r a t e d   b y   e x a m p l e s .   I m a g i n e   a   K u b e r n e t e s   r e l e a s e ,   v e r s i o n   X ,   w h i c h   i n t r o d u c e s   a   n e w   A P I   g r o u p .   A   n e w   K u b e r n e t e s   r e l e a s e   i s   m a d e   e v e r y   a p p r o x i m a t e l y   4   m o n t h s   ( 3   p e r   y e a r ) .   T h e   f o l l o w i n g   t a b l e   d e s c r i b e s   w h i c h   A P I   v e r s i o n s   a r e   s u p p o r t e d   i n   a   s e r i e s   o f   s u b s e q u e n t   r e l e a s e s .   v 1 a l p h a 1   i s   r e m o v e d .   S e e   r e l e a s e   n o t e s   f o r   r e q u i r e d   a c t i o n s .   v 1 a l p h a 2   i s   r e m o v e d .   S e e   r e l e a s e   n o t e s   f o r   r e q u i r e d   a c t i o n s .   v 1 b e t a 1   i s   d e p r e c a t e d .   S e e   r e l e a s e   n o t e s   f o r   r e q u i r e d   a c t i o n s .   v 1 b ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22794"
  },
  {
    "question": "What is REST resources (aka API objects)?",
    "answer": "C o n s i d e r   a   h y p o t h e t i c a l   R E S T   r e s o u r c e   n a m e d   W i d g e t ,   w h i c h   w a s   p r e s e n t   i n   A P I   v 1   i n   t h e   a b o v e   t i m e l i n e ,   a n d   w h i c h   n e e d s   t o   b e   d e p r e c a t e d .   W e   d o c u m e n t   a n d   a n n o u n c e   t h e   d e p r e c a t i o n   i n   s y n c   w i t h   r e l e a s e   X + 1 .   T h e   W i d g e t   r e s o u r c e   s t i l l   e x i s t s   i n   A P I   v e r s i o n   v 1   ( d e p r e c a t e d )   b u t   n o t   i n   v 2 a l p h a 1 .   T h e   W i d g e t   r e s o u r c e   c o n t i n u e s   t o   e x i s t   a n d   f u n c t i o n   i n   r e l e a s e s   u p   t o   a n d   i n c l u d i n g   X + 8 .   O n l y   i n   r e l e a s e   X + 9 ,   w h e n   A P I   v 1   h a s   a g e d   o u t ,   d o e s   t h e   W i d g e t   r e s o u r c e   c e a s e   t o   e x i s t ,   a n d   t h e   b e h a v i o r   g e t   r e m o v e d .   S t a r t i n g   i n   K u b e r n e t e s   v 1 . 1 9 ,   m a k i n g   a n   A P I   r e q u e s t   t o   a   d e p r e c a t e d   R E S T   A P I   e n d p o i n t :   R e t u r n s   a   W a r n i n g   h e a d e r   ( a s   d e f i n e d   i n   R F C 7 2 3 4 ,   S e c t i o n   5 . 5 )   i n   t h e   A P I   r e s p o n s e . A d d s   a   \" k 8 s . i o / d e p r e c a t e d \" : \" t r u e \"   a n n o t a t i o n   t o   t h e   a u d i t   e v e n t   r e c o r d e d   f o r   t h e   r e q u e s t . S e t s   a n   a p i s e r v e r _ r e q u e s t e d _ d e p r e c a t e d _ a p i s   g a u g e   m e t r i c   t o   1   i n   t h e   k u b e - a p i s e r v e r   p r o c e s s .   T h e   m e t r i c   h a s   l a b e l s   f o r   g r o u p ,   v e r s i o n ,   r e s o u r c e ,   s u b r e s o u r c e   t h a t   c a n   b e   j o i n e d   t o   t h e   a p i s e r v e r _ r e q u e s t _ t o t a l   m e t r i c ,   a n d   a   r e m o v e d _ r e l e a s e   l a b e l   t h a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22795"
  },
  {
    "question": "What is Fields of REST resources?",
    "answer": "A s   w i t h   w h o l e   R E S T   r e s o u r c e s ,   a n   i n d i v i d u a l   f i e l d   w h i c h   w a s   p r e s e n t   i n   A P I   v 1   m u s t   e x i s t   a n d   f u n c t i o n   u n t i l   A P I   v 1   i s   r e m o v e d .   U n l i k e   w h o l e   r e s o u r c e s ,   t h e   v 2   A P I s   m a y   c h o o s e   a   d i f f e r e n t   r e p r e s e n t a t i o n   f o r   t h e   f i e l d ,   a s   l o n g   a s   i t   c a n   b e   r o u n d - t r i p p e d .   F o r   e x a m p l e   a   v 1   f i e l d   n a m e d   \" m a g n i t u d e \"   w h i c h   w a s   d e p r e c a t e d   m i g h t   b e   n a m e d   \" d e p r e c a t e d M a g n i t u d e \"   i n   A P I   v 2 .   W h e n   v 1   i s   e v e n t u a l l y   r e m o v e d ,   t h e   d e p r e c a t e d   f i e l d   c a n   b e   r e m o v e d   f r o m   v 2 .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22796"
  },
  {
    "question": "What is Enumerated or constant values?",
    "answer": "A s   w i t h   w h o l e   R E S T   r e s o u r c e s   a n d   f i e l d s   t h e r e o f ,   a   c o n s t a n t   v a l u e   w h i c h   w a s   s u p p o r t e d   i n   A P I   v 1   m u s t   e x i s t   a n d   f u n c t i o n   u n t i l   A P I   v 1   i s   r e m o v e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22797"
  },
  {
    "question": "What is Component config structures?",
    "answer": "C o m p o n e n t   c o n f i g s   a r e   v e r s i o n e d   a n d   m a n a g e d   s i m i l a r   t o   R E S T   r e s o u r c e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22798"
  },
  {
    "question": "What is Future work?",
    "answer": "O v e r   t i m e ,   K u b e r n e t e s   w i l l   i n t r o d u c e   m o r e   f i n e - g r a i n e d   A P I   v e r s i o n s ,   a t   w h i c h   p o i n t   t h e s e   r u l e s   w i l l   b e   a d j u s t e d   a s   n e e d e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22799"
  },
  {
    "question": "What is Deprecating a flag or CLI?",
    "answer": "T h e   K u b e r n e t e s   s y s t e m   i s   c o m p r i s e d   o f   s e v e r a l   d i f f e r e n t   p r o g r a m s   c o o p e r a t i n g .   S o m e t i m e s ,   a   K u b e r n e t e s   r e l e a s e   m i g h t   r e m o v e   f l a g s   o r   C L I   c o m m a n d s   ( c o l l e c t i v e l y   \" C L I   e l e m e n t s \" )   i n   t h e s e   p r o g r a m s .   T h e   i n d i v i d u a l   p r o g r a m s   n a t u r a l l y   s o r t   i n t o   t w o   m a i n   g r o u p s   -   u s e r - f a c i n g   a n d   a d m i n - f a c i n g   p r o g r a m s ,   w h i c h   v a r y   s l i g h t l y   i n   t h e i r   d e p r e c a t i o n   p o l i c i e s .   U n l e s s   a   f l a g   i s   e x p l i c i t l y   p r e f i x e d   o r   d o c u m e n t e d   a s   \" a l p h a \"   o r   \" b e t a \" ,   i t   i s   c o n s i d e r e d   G A .   C L I   e l e m e n t s   a r e   e f f e c t i v e l y   p a r t   o f   t h e   A P I   t o   t h e   s y s t e m ,   b u t   s i n c e   t h e y   a r e   n o t   v e r s i o n e d   i n   t h e   s a m e   w a y   a s   t h e   R E S T   A P I ,   t h e   r u l e s   f o r   d e p r e c a t i o n   a r e   a s   f o l l o w s :   R u l e   # 5 a :   C L I   e l e m e n t s   o f   u s e r - f a c i n g   c o m p o n e n t s   ( e . g .   k u b e c t l )   m u s t   f u n c t i o n   a f t e r   t h e i r   a n n o u n c e d   d e p r e c a t i o n   f o r   n o   l e s s   t h a n :   G A :   1 2   m o n t h s   o r   2   r e l e a s e s   ( w h i c h e v e r   i s   l o n g e r ) B e t a :   3   m o n t h s   o r   1   r e l e a s e   ( w h i c h e v e r   i s   l o n g e r ) A l p h a :   0   r e l e a s e s   R u l e   # 5 b :   C L I   e l e m e n t s   o f   a d m i n - f a c i n g   c o m p o n e n t s   ( e . g .   k u b e l e t )   m u s t   f u n c t i o n   a f t e r   t h e i r   a n n o u n c e d   d e p r e c a t i o n   f o r   n o   l e s s   t h a n :   G A :   6   m o n t h s   o r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22800"
  },
  {
    "question": "What is Deprecating a feature or behavior?",
    "answer": "O c c a s i o n a l l y   a   K u b e r n e t e s   r e l e a s e   n e e d s   t o   d e p r e c a t e   s o m e   f e a t u r e   o r   b e h a v i o r   o f   t h e   s y s t e m   t h a t   i s   n o t   c o n t r o l l e d   b y   t h e   A P I   o r   C L I .   I n   t h i s   c a s e ,   t h e   r u l e s   f o r   d e p r e c a t i o n   a r e   a s   f o l l o w s :   R u l e   # 7 :   D e p r e c a t e d   b e h a v i o r s   m u s t   f u n c t i o n   f o r   n o   l e s s   t h a n   1   y e a r   a f t e r   t h e i r   a n n o u n c e d   d e p r e c a t i o n .   I f   t h e   f e a t u r e   o r   b e h a v i o r   i s   b e i n g   r e p l a c e d   w i t h   a n   a l t e r n a t i v e   i m p l e m e n t a t i o n   t h a t   r e q u i r e s   w o r k   t o   a d o p t   t h e   c h a n g e ,   t h e r e   s h o u l d   b e   a n   e f f o r t   t o   s i m p l i f y   t h e   t r a n s i t i o n   w h e n e v e r   p o s s i b l e .   I f   a n   a l t e r n a t i v e   i m p l e m e n t a t i o n   i s   u n d e r   K u b e r n e t e s   o r g a n i z a t i o n   c o n t r o l ,   t h e   f o l l o w i n g   r u l e s   a p p l y :   R u l e   # 8 :   T h e   f e a t u r e   o f   b e h a v i o r   m u s t   n o t   b e   d e p r e c a t e d   i n   f a v o r   o f   a n   a l t e r n a t i v e   i m p l e m e n t a t i o n   t h a t   i s   l e s s   s t a b l e   F o r   e x a m p l e ,   a   g e n e r a l l y   a v a i l a b l e   f e a t u r e   c a n n o t   b e   d e p r e c a t e d   i n   f a v o r   o f   a   B e t a   r e p l a c e m e n t .   T h e   K u b e r n e t e s   p r o j e c t   d o e s ,   h o w e v e r ,   e n c o u r a g e   u s e r s   t o   a d o p t   a n d   t r a n s i t i o n s   t o   a l t e r n a t i v e   i m p l e m e n t a t i o n s   e v e n   b e f o r e   t h e y   r e a c h   t h e   s a m e   m a t u r i t y   l e v e l .   T h i s   i s   p a r t i c u l a r l y   i m p o r t a n t   f o r   e x p l o r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22801"
  },
  {
    "question": "What is Deprecation?",
    "answer": "F e a t u r e s   c a n   b e   r e m o v e d   a t   a n y   p o i n t   i n   t h e   l i f e   c y c l e   p r i o r   t o   G A .   W h e n   f e a t u r e s   a r e   r e m o v e d   p r i o r   t o   G A ,   t h e i r   a s s o c i a t e d   f e a t u r e   g a t e s   a r e   a l s o   d e p r e c a t e d .   W h e n   a n   i n v o c a t i o n   t r i e s   t o   d i s a b l e   a   n o n - o p e r a t i o n a l   f e a t u r e   g a t e ,   t h e   c a l l   f a i l s   i n   o r d e r   t o   a v o i d   u n s u p p o r t e d   s c e n a r i o s   t h a t   m i g h t   o t h e r w i s e   r u n   s i l e n t l y .   I n   s o m e   c a s e s ,   r e m o v i n g   p r e - G A   f e a t u r e s   r e q u i r e s   c o n s i d e r a b l e   t i m e .   F e a t u r e   g a t e s   c a n   r e m a i n   o p e r a t i o n a l   u n t i l   t h e i r   a s s o c i a t e d   f e a t u r e   i s   f u l l y   r e m o v e d ,   a t   w h i c h   p o i n t   t h e   f e a t u r e   g a t e   i t s e l f   c a n   b e   d e p r e c a t e d .   W h e n   r e m o v i n g   a   f e a t u r e   g a t e   f o r   a   G A   f e a t u r e   a l s o   r e q u i r e s   c o n s i d e r a b l e   t i m e ,   c a l l s   t o   f e a t u r e   g a t e s   m a y   r e m a i n   o p e r a t i o n a l   i f   t h e   f e a t u r e   g a t e   h a s   n o   e f f e c t   o n   t h e   f e a t u r e ,   a n d   i f   t h e   f e a t u r e   g a t e   c a u s e s   n o   e r r o r s .   F e a t u r e s   i n t e n d e d   t o   b e   d i s a b l e d   b y   u s e r s   s h o u l d   i n c l u d e   a   m e c h a n i s m   f o r   d i s a b l i n g   t h e   f e a t u r e   i n   t h e   a s s o c i a t e d   f e a t u r e   g a t e .   V e r s i o n i n g   f o r   f e a t u r e   g a t e s   i s   d i f f e r e n t   f r o m   t h e   p r e v i o u s l y   d i s c u s s e d   c o m p o n e n t s ,   t h e r e f o r e   t h e   r u l e s   f o r   d e p r e c a t i o n   a r e   a s   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22802"
  },
  {
    "question": "What is Deprecating a metric?",
    "answer": "E a c h   c o m p o n e n t   o f   t h e   K u b e r n e t e s   c o n t r o l - p l a n e   e x p o s e s   m e t r i c s   ( u s u a l l y   t h e   / m e t r i c s   e n d p o i n t ) ,   w h i c h   a r e   t y p i c a l l y   i n g e s t e d   b y   c l u s t e r   a d m i n i s t r a t o r s .   N o t   a l l   m e t r i c s   a r e   t h e   s a m e :   s o m e   m e t r i c s   a r e   c o m m o n l y   u s e d   a s   S L I s   o r   u s e d   t o   d e t e r m i n e   S L O s ,   t h e s e   t e n d   t o   h a v e   g r e a t e r   i m p o r t .   O t h e r   m e t r i c s   a r e   m o r e   e x p e r i m e n t a l   i n   n a t u r e   o r   a r e   u s e d   p r i m a r i l y   i n   t h e   K u b e r n e t e s   d e v e l o p m e n t   p r o c e s s .   A c c o r d i n g l y ,   m e t r i c s   f a l l   u n d e r   t h r e e   s t a b i l i t y   c l a s s e s   ( A L P H A ,   B E T A   S T A B L E ) ;   t h i s   i m p a c t s   r e m o v a l   o f   a   m e t r i c   d u r i n g   a   K u b e r n e t e s   r e l e a s e .   T h e s e   c l a s s e s   a r e   d e t e r m i n e d   b y   t h e   p e r c e i v e d   i m p o r t a n c e   o f   t h e   m e t r i c .   T h e   r u l e s   f o r   d e p r e c a t i n g   a n d   r e m o v i n g   a   m e t r i c   a r e   a s   f o l l o w s :   R u l e   # 1 1 a :   M e t r i c s ,   f o r   t h e   c o r r e s p o n d i n g   s t a b i l i t y   c l a s s ,   m u s t   f u n c t i o n   f o r   n o   l e s s   t h a n :   S T A B L E :   4   r e l e a s e s   o r   1 2   m o n t h s   ( w h i c h e v e r   i s   l o n g e r ) B E T A :   2   r e l e a s e s   o r   8   m o n t h s   ( w h i c h e v e r   i s   l o n g e r ) A L P H A :   0   r e l e a s e s   R u l e   # 1 1 b :   M e t r i c s ,   a f t e r   t h e i r   a n n o u n c e d   d e p r e c a t i o n ,   m u s t   f u n c t i o n   f o r   n o   l e s s   t h a n :   S T A B L E :   3   r e l e a s e s   o r   9   m o n t h s   ( w h i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22803"
  },
  {
    "question": "What is Exceptions?",
    "answer": "N o   p o l i c y   c a n   c o v e r   e v e r y   p o s s i b l e   s i t u a t i o n .   T h i s   p o l i c y   i s   a   l i v i n g   d o c u m e n t ,   a n d   w i l l   e v o l v e   o v e r   t i m e .   I n   p r a c t i c e ,   t h e r e   w i l l   b e   s i t u a t i o n s   t h a t   d o   n o t   f i t   n e a t l y   i n t o   t h i s   p o l i c y ,   o r   f o r   w h i c h   t h i s   p o l i c y   b e c o m e s   a   s e r i o u s   i m p e d i m e n t .   S u c h   s i t u a t i o n s   s h o u l d   b e   d i s c u s s e d   w i t h   S I G s   a n d   p r o j e c t   l e a d e r s   t o   f i n d   t h e   b e s t   s o l u t i o n s   f o r   t h o s e   s p e c i f i c   c a s e s ,   a l w a y s   b e a r i n g   i n   m i n d   t h a t   K u b e r n e t e s   i s   c o m m i t t e d   t o   b e i n g   a   s t a b l e   s y s t e m   t h a t ,   a s   m u c h   a s   p o s s i b l e ,   n e v e r   b r e a k s   u s e r s .   E x c e p t i o n s   w i l l   a l w a y s   b e   a n n o u n c e d   i n   a l l   r e l e v a n t   r e l e a s e   n o t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22804"
  },
  {
    "question": "What is 2.7 - Deprecated API Migration Guide?",
    "answer": "A s   t h e   K u b e r n e t e s   A P I   e v o l v e s ,   A P I s   a r e   p e r i o d i c a l l y   r e o r g a n i z e d   o r   u p g r a d e d .   W h e n   A P I s   e v o l v e ,   t h e   o l d   A P I   i s   d e p r e c a t e d   a n d   e v e n t u a l l y   r e m o v e d .   T h i s   p a g e   c o n t a i n s   i n f o r m a t i o n   y o u   n e e d   t o   k n o w   w h e n   m i g r a t i n g   f r o m   d e p r e c a t e d   A P I   v e r s i o n s   t o   n e w e r   a n d   m o r e   s t a b l e   A P I   v e r s i o n s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_22805"
  },
  {
    "question": "What is v1.32?",
    "answer": "T h e   v 1 . 3 2   r e l e a s e   s t o p p e d   s e r v i n g   t h e   f o l l o w i n g   d e p r e c a t e d   A P I   v e r s i o n s :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22806"
  },
  {
    "question": "What is Flow control resources?",
    "answer": "T h e   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 b e t a 3   A P I   v e r s i o n   o f   F l o w S c h e m a   a n d   P r i o r i t y L e v e l C o n f i g u r a t i o n   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 3 2 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 2 9 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s   i n   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 : T h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   s p e c . l i m i t e d . n o m i n a l C o n c u r r e n c y S h a r e s   f i e l d   o n l y   d e f a u l t s   t o   3 0   w h e n   u n s p e c i f i e d ,   a n d   a n   e x p l i c i t   v a l u e   o f   0   i s   n o t   c h a n g e d   t o   3 0 .   T h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   s p e c . l i m i t e d . n o m i n a l C o n c u r r e n c y S h a r e s   f i e l d   o n l y   d e f a u l t s   t o   3 0   w h e n   u n s p e c i f i e d ,   a n d   a n   e x p l i c i t   v a l u e   o f   0   i s   n o t   c h a n g e d   t o   3 0 .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22807"
  },
  {
    "question": "What is v1.29?",
    "answer": "T h e   v 1 . 2 9   r e l e a s e   s t o p p e d   s e r v i n g   t h e   f o l l o w i n g   d e p r e c a t e d   A P I   v e r s i o n s :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22808"
  },
  {
    "question": "What is Flow control resources?",
    "answer": "T h e   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 b e t a 2   A P I   v e r s i o n   o f   F l o w S c h e m a   a n d   P r i o r i t y L e v e l C o n f i g u r a t i o n   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 9 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 2 9 ,   o r   t h e   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 b e t a 3   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 2 6 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s   i n   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 : T h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   s p e c . l i m i t e d . a s s u r e d C o n c u r r e n c y S h a r e s   f i e l d   i s   r e n a m e d   t o   s p e c . l i m i t e d . n o m i n a l C o n c u r r e n c y S h a r e s   a n d   o n l y   d e f a u l t s   t o   3 0   w h e n   u n s p e c i f i e d ,   a n d   a n   e x p l i c i t   v a l u e   o f   0   i s   n o t   c h a n g e d   t o   3 0 . N o t a b l e   c h a n g e s   i n   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 b e t a 3 : T h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   s p e c . l i m i t e d . a s s u r e d C o n c u r r e n c y S h a r e s   f i e l d   i s   r e n a m e d   t o   s p e c . l i m i t e d . n o m i n a l C o n c u r r e n c y S h a r e s   T h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   s p e c . l i m i t e d . a s s u r e d C o n c u r r e n c y S h a r e s   f i e l d   i s   r e n a m e d   t o   s p e c . l i m i t e d . n o m i n a l C o n c u r r e n c y S h a r e s   a n d   o n l y   d e f a u l t s   t o   3 0   w h e n   u n s p e c i f i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22809"
  },
  {
    "question": "What is v1.27?",
    "answer": "T h e   v 1 . 2 7   r e l e a s e   s t o p p e d   s e r v i n g   t h e   f o l l o w i n g   d e p r e c a t e d   A P I   v e r s i o n s :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22810"
  },
  {
    "question": "What is CSIStorageCapacity?",
    "answer": "T h e   s t o r a g e . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   C S I S t o r a g e C a p a c i t y   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 7 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   s t o r a g e . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 2 4 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o   n o t a b l e   c h a n g e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22811"
  },
  {
    "question": "What is v1.26?",
    "answer": "T h e   v 1 . 2 6   r e l e a s e   s t o p p e d   s e r v i n g   t h e   f o l l o w i n g   d e p r e c a t e d   A P I   v e r s i o n s :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22812"
  },
  {
    "question": "What is Flow control resources?",
    "answer": "T h e   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   F l o w S c h e m a   a n d   P r i o r i t y L e v e l C o n f i g u r a t i o n   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 6 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 b e t a 2   A P I   v e r s i o n . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o   n o t a b l e   c h a n g e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22813"
  },
  {
    "question": "What is HorizontalPodAutoscaler?",
    "answer": "T h e   a u t o s c a l i n g / v 2 b e t a 2   A P I   v e r s i o n   o f   H o r i z o n t a l P o d A u t o s c a l e r   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 6 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   a u t o s c a l i n g / v 2   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 2 3 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s : t a r g e t A v e r a g e U t i l i z a t i o n   i s   r e p l a c e d   w i t h   t a r g e t . a v e r a g e U t i l i z a t i o n   a n d   t a r g e t . t y p e :   U t i l i z a t i o n .   S e e   A u t o s c a l i n g   o n   m u l t i p l e   m e t r i c s   a n d   c u s t o m   m e t r i c s .   t a r g e t A v e r a g e U t i l i z a t i o n   i s   r e p l a c e d   w i t h   t a r g e t . a v e r a g e U t i l i z a t i o n   a n d   t a r g e t . t y p e :   U t i l i z a t i o n .   S e e   A u t o s c a l i n g   o n   m u l t i p l e   m e t r i c s   a n d   c u s t o m   m e t r i c s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22814"
  },
  {
    "question": "What is v1.25?",
    "answer": "T h e   v 1 . 2 5   r e l e a s e   s t o p p e d   s e r v i n g   t h e   f o l l o w i n g   d e p r e c a t e d   A P I   v e r s i o n s :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22815"
  },
  {
    "question": "What is CronJob?",
    "answer": "T h e   b a t c h / v 1 b e t a 1   A P I   v e r s i o n   o f   C r o n J o b   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 5 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   b a t c h / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 2 1 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o   n o t a b l e   c h a n g e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22816"
  },
  {
    "question": "What is EndpointSlice?",
    "answer": "T h e   d i s c o v e r y . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   E n d p o i n t S l i c e   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 5 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   d i s c o v e r y . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 2 1 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s   i n   d i s c o v e r y . k 8 s . i o / v 1 : u s e   p e r   E n d p o i n t   n o d e N a m e   f i e l d   i n s t e a d   o f   d e p r e c a t e d   t o p o l o g y [ \" k u b e r n e t e s . i o / h o s t n a m e \" ]   f i e l d u s e   p e r   E n d p o i n t   z o n e   f i e l d   i n s t e a d   o f   d e p r e c a t e d   t o p o l o g y [ \" t o p o l o g y . k u b e r n e t e s . i o / z o n e \" ]   f i e l d t o p o l o g y   i s   r e p l a c e d   w i t h   t h e   d e p r e c a t e d T o p o l o g y   f i e l d   w h i c h   i s   n o t   w r i t a b l e   i n   v 1   u s e   p e r   E n d p o i n t   n o d e N a m e   f i e l d   i n s t e a d   o f   d e p r e c a t e d   t o p o l o g y [ \" k u b e r n e t e s . i o / h o s t n a m e \" ]   f i e l d u s e   p e r   E n d p o i n t   z o n e   f i e l d   i n s t e a d   o f   d e p r e c a t e d   t o p o l o g y [ \" t o p o l o g y . k u b e r n e t e s . i o / z o n e \" ]   f i e l d t o p o l o g y   i s   r e p l a c e d   w i t h   t h e   d e p r e c a t e d T o p o l o g y   f i e l d   w h i c h   i s   n o t   w r i t a b l e   i n   v 1",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22817"
  },
  {
    "question": "What is Event?",
    "answer": "T h e   e v e n t s . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   E v e n t   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 5 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   e v e n t s . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 1 9 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s   i n   e v e n t s . k 8 s . i o / v 1 : t y p e   i s   l i m i t e d   t o   N o r m a l   a n d   W a r n i n g i n v o l v e d O b j e c t   i s   r e n a m e d   t o   r e g a r d i n g a c t i o n ,   r e a s o n ,   r e p o r t i n g C o n t r o l l e r ,   a n d   r e p o r t i n g I n s t a n c e   a r e   r e q u i r e d   w h e n   c r e a t i n g   n e w   e v e n t s . k 8 s . i o / v 1   E v e n t s u s e   e v e n t T i m e   i n s t e a d   o f   t h e   d e p r e c a t e d   f i r s t T i m e s t a m p   f i e l d   ( w h i c h   i s   r e n a m e d   t o   d e p r e c a t e d F i r s t T i m e s t a m p   a n d   n o t   p e r m i t t e d   i n   n e w   e v e n t s . k 8 s . i o / v 1   E v e n t s ) u s e   s e r i e s . l a s t O b s e r v e d T i m e   i n s t e a d   o f   t h e   d e p r e c a t e d   l a s t T i m e s t a m p   f i e l d   ( w h i c h   i s   r e n a m e d   t o   d e p r e c a t e d L a s t T i m e s t a m p   a n d   n o t   p e r m i t t e d   i n   n e w   e v e n t s . k 8 s . i o / v 1   E v e n t s ) u s e   s e r i e s . c o u n t   i n s t e a d   o f   t h e   d e p r e c a t e d   c o u n t   f i e l d   ( w h i c h   i s   r e n a m e d   t o   d e p r e c a t e d C o u n t   a n d   n o t   p e r m i t t e d   i n   n e w   e v e n t s . k 8 s . i o / v 1   E v e n t s ) u s e   r e p o r t i n g C o n t r o l l e r   i n s t e a d   o f   t h e   d e p r e c a t e d   s o u r c e . c o m p o n e n t   f i e l d   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22818"
  },
  {
    "question": "What is HorizontalPodAutoscaler?",
    "answer": "T h e   a u t o s c a l i n g / v 2 b e t a 1   A P I   v e r s i o n   o f   H o r i z o n t a l P o d A u t o s c a l e r   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 5 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   a u t o s c a l i n g / v 2   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 2 3 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s : t a r g e t A v e r a g e U t i l i z a t i o n   i s   r e p l a c e d   w i t h   t a r g e t . a v e r a g e U t i l i z a t i o n   a n d   t a r g e t . t y p e :   U t i l i z a t i o n .   S e e   A u t o s c a l i n g   o n   m u l t i p l e   m e t r i c s   a n d   c u s t o m   m e t r i c s .   t a r g e t A v e r a g e U t i l i z a t i o n   i s   r e p l a c e d   w i t h   t a r g e t . a v e r a g e U t i l i z a t i o n   a n d   t a r g e t . t y p e :   U t i l i z a t i o n .   S e e   A u t o s c a l i n g   o n   m u l t i p l e   m e t r i c s   a n d   c u s t o m   m e t r i c s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22819"
  },
  {
    "question": "What is PodDisruptionBudget?",
    "answer": "T h e   p o l i c y / v 1 b e t a 1   A P I   v e r s i o n   o f   P o d D i s r u p t i o n B u d g e t   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 5 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   p o l i c y / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 2 1 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s   i n   p o l i c y / v 1 : a n   e m p t y   s p e c . s e l e c t o r   ( { } )   w r i t t e n   t o   a   p o l i c y / v 1   P o d D i s r u p t i o n B u d g e t   s e l e c t s   a l l   p o d s   i n   t h e   n a m e s p a c e   ( i n   p o l i c y / v 1 b e t a 1   a n   e m p t y   s p e c . s e l e c t o r   s e l e c t e d   n o   p o d s ) .   A n   u n s e t   s p e c . s e l e c t o r   s e l e c t s   n o   p o d s   i n   e i t h e r   A P I   v e r s i o n .   a n   e m p t y   s p e c . s e l e c t o r   ( { } )   w r i t t e n   t o   a   p o l i c y / v 1   P o d D i s r u p t i o n B u d g e t   s e l e c t s   a l l   p o d s   i n   t h e   n a m e s p a c e   ( i n   p o l i c y / v 1 b e t a 1   a n   e m p t y   s p e c . s e l e c t o r   s e l e c t e d   n o   p o d s ) .   A n   u n s e t   s p e c . s e l e c t o r   s e l e c t s   n o   p o d s   i n   e i t h e r   A P I   v e r s i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22820"
  },
  {
    "question": "What is PodSecurityPolicy?",
    "answer": "P o d S e c u r i t y P o l i c y   i n   t h e   p o l i c y / v 1 b e t a 1   A P I   v e r s i o n   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 5 ,   a n d   t h e   P o d S e c u r i t y P o l i c y   a d m i s s i o n   c o n t r o l l e r   w i l l   b e   r e m o v e d .   M i g r a t e   t o   P o d   S e c u r i t y   A d m i s s i o n   o r   a   3 r d   p a r t y   a d m i s s i o n   w e b h o o k .   F o r   a   m i g r a t i o n   g u i d e ,   s e e   M i g r a t e   f r o m   P o d S e c u r i t y P o l i c y   t o   t h e   B u i l t - I n   P o d S e c u r i t y   A d m i s s i o n   C o n t r o l l e r .   F o r   m o r e   i n f o r m a t i o n   o n   t h e   d e p r e c a t i o n ,   s e e   P o d S e c u r i t y P o l i c y   D e p r e c a t i o n :   P a s t ,   P r e s e n t ,   a n d   F u t u r e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22821"
  },
  {
    "question": "What is RuntimeClass?",
    "answer": "R u n t i m e C l a s s   i n   t h e   n o d e . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 5 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   n o d e . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 2 0 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o   n o t a b l e   c h a n g e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22822"
  },
  {
    "question": "What is v1.22?",
    "answer": "T h e   v 1 . 2 2   r e l e a s e   s t o p p e d   s e r v i n g   t h e   f o l l o w i n g   d e p r e c a t e d   A P I   v e r s i o n s :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22823"
  },
  {
    "question": "What is Webhook resources?",
    "answer": "T h e   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   a n d   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 2 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 1 6 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I s N o t a b l e   c h a n g e s : w e b h o o k s [ * ] . f a i l u r e P o l i c y   d e f a u l t   c h a n g e d   f r o m   I g n o r e   t o   F a i l   f o r   v 1 w e b h o o k s [ * ] . m a t c h P o l i c y   d e f a u l t   c h a n g e d   f r o m   E x a c t   t o   E q u i v a l e n t   f o r   v 1 w e b h o o k s [ * ] . t i m e o u t S e c o n d s   d e f a u l t   c h a n g e d   f r o m   3 0 s   t o   1 0 s   f o r   v 1 w e b h o o k s [ * ] . s i d e E f f e c t s   d e f a u l t   v a l u e   i s   r e m o v e d ,   a n d   t h e   f i e l d   m a d e   r e q u i r e d ,   a n d   o n l y   N o n e   a n d   N o n e O n D r y R u n   a r e   p e r m i t t e d   f o r   v 1 w e b h o o k s [ * ] . a d m i s s i o n R e v i e w V e r s i o n s   d e f a u l t   v a l u e   i s   r e m o v e d   a n d   t h e   f i e l d   m a d e   r e q u i r e d   f o r   v 1   ( s u p p o r t e d   v e r s i o n s   f o r   A d m i s s i o n R e v i e w   a r e   v 1   a n d   v 1 b e t a 1 ) w e b h o o k s [ * ] . n a m e   m u s t   b e   u n i q u e   i n   t h e   l i s t   f o r   o b j e c t s   c r e a t e d   v i a   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   w e b h o o k s [ * ] . f a i l u r e P o l i c y   d e f a u l t   c h a n g e d   f r o m   I g n o r e   t o   F a i l   f o r   v 1 ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22824"
  },
  {
    "question": "What is CustomResourceDefinition?",
    "answer": "T h e   a p i e x t e n s i o n s . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   C u s t o m R e s o u r c e D e f i n i t i o n   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 2 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   a p i e x t e n s i o n s . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 1 6 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s : s p e c . s c o p e   i s   n o   l o n g e r   d e f a u l t e d   t o   N a m e s p a c e d   a n d   m u s t   b e   e x p l i c i t l y   s p e c i f i e d s p e c . v e r s i o n   i s   r e m o v e d   i n   v 1 ;   u s e   s p e c . v e r s i o n s   i n s t e a d s p e c . v a l i d a t i o n   i s   r e m o v e d   i n   v 1 ;   u s e   s p e c . v e r s i o n s [ * ] . s c h e m a   i n s t e a d s p e c . s u b r e s o u r c e s   i s   r e m o v e d   i n   v 1 ;   u s e   s p e c . v e r s i o n s [ * ] . s u b r e s o u r c e s   i n s t e a d s p e c . a d d i t i o n a l P r i n t e r C o l u m n s   i s   r e m o v e d   i n   v 1 ;   u s e   s p e c . v e r s i o n s [ * ] . a d d i t i o n a l P r i n t e r C o l u m n s   i n s t e a d s p e c . c o n v e r s i o n . w e b h o o k C l i e n t C o n f i g   i s   m o v e d   t o   s p e c . c o n v e r s i o n . w e b h o o k . c l i e n t C o n f i g   i n   v 1 s p e c . c o n v e r s i o n . c o n v e r s i o n R e v i e w V e r s i o n s   i s   m o v e d   t o   s p e c . c o n v e r s i o n . w e b h o o k . c o n v e r s i o n R e v i e w V e r s i o n s   i n   v 1 s p e c . v e r s i o n s [ * ] . s c h e m a . o p e n A P I V 3 S c h e m a   i s   n o w   r e q u i r e d   w h e n   c r e a t i n g   v 1   C u s t o m R e s o u r c e D e f i n i t i o n   o b j e c t s ,   a n d   m u s t   b e   a   s t r u c t u r a l   s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22825"
  },
  {
    "question": "What is APIService?",
    "answer": "T h e   a p i r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   A P I S e r v i c e   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 2 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   a p i r e g i s t r a t i o n . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 1 0 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o   n o t a b l e   c h a n g e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22826"
  },
  {
    "question": "What is TokenReview?",
    "answer": "T h e   a u t h e n t i c a t i o n . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   T o k e n R e v i e w   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 2 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   a u t h e n t i c a t i o n . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 6 . N o   n o t a b l e   c h a n g e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22827"
  },
  {
    "question": "What is SubjectAccessReview resources?",
    "answer": "T h e   a u t h o r i z a t i o n . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   L o c a l S u b j e c t A c c e s s R e v i e w ,   S e l f S u b j e c t A c c e s s R e v i e w ,   S u b j e c t A c c e s s R e v i e w ,   a n d   S e l f S u b j e c t R u l e s R e v i e w   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 2 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   a u t h o r i z a t i o n . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 6 . N o t a b l e   c h a n g e s : s p e c . g r o u p   w a s   r e n a m e d   t o   s p e c . g r o u p s   i n   v 1   ( f i x e s   # 3 2 7 0 9 )   s p e c . g r o u p   w a s   r e n a m e d   t o   s p e c . g r o u p s   i n   v 1   ( f i x e s   # 3 2 7 0 9 )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22828"
  },
  {
    "question": "What is CertificateSigningRequest?",
    "answer": "T h e   c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   C e r t i f i c a t e S i g n i n g R e q u e s t   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 2 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   c e r t i f i c a t e s . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 1 9 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s   i n   c e r t i f i c a t e s . k 8 s . i o / v 1 : F o r   A P I   c l i e n t s   r e q u e s t i n g   c e r t i f i c a t e s : s p e c . s i g n e r N a m e   i s   n o w   r e q u i r e d   ( s e e   k n o w n   K u b e r n e t e s   s i g n e r s ) ,   a n d   r e q u e s t s   f o r   k u b e r n e t e s . i o / l e g a c y - u n k n o w n   a r e   n o t   a l l o w e d   t o   b e   c r e a t e d   v i a   t h e   c e r t i f i c a t e s . k 8 s . i o / v 1   A P I s p e c . u s a g e s   i s   n o w   r e q u i r e d ,   m a y   n o t   c o n t a i n   d u p l i c a t e   v a l u e s ,   a n d   m u s t   o n l y   c o n t a i n   k n o w n   u s a g e s F o r   A P I   c l i e n t s   a p p r o v i n g   o r   s i g n i n g   c e r t i f i c a t e s : s t a t u s . c o n d i t i o n s   m a y   n o t   c o n t a i n   d u p l i c a t e   t y p e s s t a t u s . c o n d i t i o n s [ * ] . s t a t u s   i s   n o w   r e q u i r e d s t a t u s . c e r t i f i c a t e   m u s t   b e   P E M - e n c o d e d ,   a n d   c o n t a i n   o n l y   C E R T I F I C A T E   b l o c k s   F o r   A P I   c l i e n t s   r e q u e s t i n g   c e r t i f i c a t e s : s p e c . s i g n e r N a m e   i s   n o w   r e q u i r e d   ( s e e   k n o w n   K u b e r n e t e s   s i g n e r s ) ,   a n d   r e q u e s t s   f o r   k u b e r n e t e s . i o / l e g a c y - u n k n o w n   a r e   n o t   a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22829"
  },
  {
    "question": "What is Lease?",
    "answer": "T h e   c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   L e a s e   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 2 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   c o o r d i n a t i o n . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 1 4 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o   n o t a b l e   c h a n g e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22830"
  },
  {
    "question": "What is Ingress?",
    "answer": "T h e   e x t e n s i o n s / v 1 b e t a 1   a n d   n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n s   o f   I n g r e s s   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 2 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   n e t w o r k i n g . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 1 9 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s : s p e c . b a c k e n d   i s   r e n a m e d   t o   s p e c . d e f a u l t B a c k e n d T h e   b a c k e n d   s e r v i c e N a m e   f i e l d   i s   r e n a m e d   t o   s e r v i c e . n a m e N u m e r i c   b a c k e n d   s e r v i c e P o r t   f i e l d s   a r e   r e n a m e d   t o   s e r v i c e . p o r t . n u m b e r S t r i n g   b a c k e n d   s e r v i c e P o r t   f i e l d s   a r e   r e n a m e d   t o   s e r v i c e . p o r t . n a m e p a t h T y p e   i s   n o w   r e q u i r e d   f o r   e a c h   s p e c i f i e d   p a t h .   O p t i o n s   a r e   P r e f i x ,   E x a c t ,   a n d   I m p l e m e n t a t i o n S p e c i f i c .   T o   m a t c h   t h e   u n d e f i n e d   v 1 b e t a 1   b e h a v i o r ,   u s e   I m p l e m e n t a t i o n S p e c i f i c .   s p e c . b a c k e n d   i s   r e n a m e d   t o   s p e c . d e f a u l t B a c k e n d T h e   b a c k e n d   s e r v i c e N a m e   f i e l d   i s   r e n a m e d   t o   s e r v i c e . n a m e N u m e r i c   b a c k e n d   s e r v i c e P o r t   f i e l d s   a r e   r e n a m e d   t o   s e r v i c e . p o r t . n u m b e r S t r i n g   b a c k e n d   s e r v i c e P o r t   f i e l d s   a r e   r e n a m e d   t o   s e r v i c e . p o r t . n a m e p a t h T y p e   i s   n o w   r e q u i r e d   f o r   e a c h   s p e c i f i e d   p a t h .   O p t i o n s   a r e   P r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22831"
  },
  {
    "question": "What is IngressClass?",
    "answer": "T h e   n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   I n g r e s s C l a s s   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 2 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   n e t w o r k i n g . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 1 9 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o   n o t a b l e   c h a n g e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22832"
  },
  {
    "question": "What is RBAC resources?",
    "answer": "T h e   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   C l u s t e r R o l e ,   C l u s t e r R o l e B i n d i n g ,   R o l e ,   a n d   R o l e B i n d i n g   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 2 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 8 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I s N o   n o t a b l e   c h a n g e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22833"
  },
  {
    "question": "What is PriorityClass?",
    "answer": "T h e   s c h e d u l i n g . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   P r i o r i t y C l a s s   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 2 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   s c h e d u l i n g . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 1 4 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o   n o t a b l e   c h a n g e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22834"
  },
  {
    "question": "What is Storage resources?",
    "answer": "T h e   s t o r a g e . k 8 s . i o / v 1 b e t a 1   A P I   v e r s i o n   o f   C S I D r i v e r ,   C S I N o d e ,   S t o r a g e C l a s s ,   a n d   V o l u m e A t t a c h m e n t   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 2 2 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   s t o r a g e . k 8 s . i o / v 1   A P I   v e r s i o n C S I D r i v e r   i s   a v a i l a b l e   i n   s t o r a g e . k 8 s . i o / v 1   s i n c e   v 1 . 1 9 . C S I N o d e   i s   a v a i l a b l e   i n   s t o r a g e . k 8 s . i o / v 1   s i n c e   v 1 . 1 7 S t o r a g e C l a s s   i s   a v a i l a b l e   i n   s t o r a g e . k 8 s . i o / v 1   s i n c e   v 1 . 6 V o l u m e A t t a c h m e n t   i s   a v a i l a b l e   i n   s t o r a g e . k 8 s . i o / v 1   v 1 . 1 3 A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I s N o   n o t a b l e   c h a n g e s   C S I D r i v e r   i s   a v a i l a b l e   i n   s t o r a g e . k 8 s . i o / v 1   s i n c e   v 1 . 1 9 . C S I N o d e   i s   a v a i l a b l e   i n   s t o r a g e . k 8 s . i o / v 1   s i n c e   v 1 . 1 7 S t o r a g e C l a s s   i s   a v a i l a b l e   i n   s t o r a g e . k 8 s . i o / v 1   s i n c e   v 1 . 6 V o l u m e A t t a c h m e n t   i s   a v a i l a b l e   i n   s t o r a g e . k 8 s . i o / v 1   v 1 . 1 3",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22835"
  },
  {
    "question": "What is v1.16?",
    "answer": "T h e   v 1 . 1 6   r e l e a s e   s t o p p e d   s e r v i n g   t h e   f o l l o w i n g   d e p r e c a t e d   A P I   v e r s i o n s :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22836"
  },
  {
    "question": "What is NetworkPolicy?",
    "answer": "T h e   e x t e n s i o n s / v 1 b e t a 1   A P I   v e r s i o n   o f   N e t w o r k P o l i c y   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 1 6 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   n e t w o r k i n g . k 8 s . i o / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 8 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22837"
  },
  {
    "question": "What is DaemonSet?",
    "answer": "T h e   e x t e n s i o n s / v 1 b e t a 1   a n d   a p p s / v 1 b e t a 2   A P I   v e r s i o n s   o f   D a e m o n S e t   a r e   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 1 6 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   a p p s / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 9 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s : s p e c . t e m p l a t e G e n e r a t i o n   i s   r e m o v e d s p e c . s e l e c t o r   i s   n o w   r e q u i r e d   a n d   i m m u t a b l e   a f t e r   c r e a t i o n ;   u s e   t h e   e x i s t i n g   t e m p l a t e   l a b e l s   a s   t h e   s e l e c t o r   f o r   s e a m l e s s   u p g r a d e s s p e c . u p d a t e S t r a t e g y . t y p e   n o w   d e f a u l t s   t o   R o l l i n g U p d a t e   ( t h e   d e f a u l t   i n   e x t e n s i o n s / v 1 b e t a 1   w a s   O n D e l e t e )   s p e c . t e m p l a t e G e n e r a t i o n   i s   r e m o v e d s p e c . s e l e c t o r   i s   n o w   r e q u i r e d   a n d   i m m u t a b l e   a f t e r   c r e a t i o n ;   u s e   t h e   e x i s t i n g   t e m p l a t e   l a b e l s   a s   t h e   s e l e c t o r   f o r   s e a m l e s s   u p g r a d e s s p e c . u p d a t e S t r a t e g y . t y p e   n o w   d e f a u l t s   t o   R o l l i n g U p d a t e   ( t h e   d e f a u l t   i n   e x t e n s i o n s / v 1 b e t a 1   w a s   O n D e l e t e )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22838"
  },
  {
    "question": "What is Deployment?",
    "answer": "T h e   e x t e n s i o n s / v 1 b e t a 1 ,   a p p s / v 1 b e t a 1 ,   a n d   a p p s / v 1 b e t a 2   A P I   v e r s i o n s   o f   D e p l o y m e n t   a r e   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 1 6 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   a p p s / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 9 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s : s p e c . r o l l b a c k T o   i s   r e m o v e d s p e c . s e l e c t o r   i s   n o w   r e q u i r e d   a n d   i m m u t a b l e   a f t e r   c r e a t i o n ;   u s e   t h e   e x i s t i n g   t e m p l a t e   l a b e l s   a s   t h e   s e l e c t o r   f o r   s e a m l e s s   u p g r a d e s s p e c . p r o g r e s s D e a d l i n e S e c o n d s   n o w   d e f a u l t s   t o   6 0 0   s e c o n d s   ( t h e   d e f a u l t   i n   e x t e n s i o n s / v 1 b e t a 1   w a s   n o   d e a d l i n e ) s p e c . r e v i s i o n H i s t o r y L i m i t   n o w   d e f a u l t s   t o   1 0   ( t h e   d e f a u l t   i n   a p p s / v 1 b e t a 1   w a s   2 ,   t h e   d e f a u l t   i n   e x t e n s i o n s / v 1 b e t a 1   w a s   t o   r e t a i n   a l l ) m a x S u r g e   a n d   m a x U n a v a i l a b l e   n o w   d e f a u l t   t o   2 5 %   ( t h e   d e f a u l t   i n   e x t e n s i o n s / v 1 b e t a 1   w a s   1 )   s p e c . r o l l b a c k T o   i s   r e m o v e d s p e c . s e l e c t o r   i s   n o w   r e q u i r e d   a n d   i m m u t a b l e   a f t e r   c r e a t i o n ;   u s e   t h e   e x i s t i n g   t e m p l a t e   l a b e l s   a s   t h e   s e l e c t o r   f o r   s e a m l e s s   u p g r a d e s s p e c . p r o g r e s s D e a d l i n e S e c o n d s   n o w   d e f a u l t s   t o   6 0 0   s e c o n d s   ( t h e   d e f a u l t   i n   e x t e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22839"
  },
  {
    "question": "What is StatefulSet?",
    "answer": "T h e   a p p s / v 1 b e t a 1   a n d   a p p s / v 1 b e t a 2   A P I   v e r s i o n s   o f   S t a t e f u l S e t   a r e   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 1 6 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   a p p s / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 9 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s : s p e c . s e l e c t o r   i s   n o w   r e q u i r e d   a n d   i m m u t a b l e   a f t e r   c r e a t i o n ;   u s e   t h e   e x i s t i n g   t e m p l a t e   l a b e l s   a s   t h e   s e l e c t o r   f o r   s e a m l e s s   u p g r a d e s s p e c . u p d a t e S t r a t e g y . t y p e   n o w   d e f a u l t s   t o   R o l l i n g U p d a t e   ( t h e   d e f a u l t   i n   a p p s / v 1 b e t a 1   w a s   O n D e l e t e )   s p e c . s e l e c t o r   i s   n o w   r e q u i r e d   a n d   i m m u t a b l e   a f t e r   c r e a t i o n ;   u s e   t h e   e x i s t i n g   t e m p l a t e   l a b e l s   a s   t h e   s e l e c t o r   f o r   s e a m l e s s   u p g r a d e s s p e c . u p d a t e S t r a t e g y . t y p e   n o w   d e f a u l t s   t o   R o l l i n g U p d a t e   ( t h e   d e f a u l t   i n   a p p s / v 1 b e t a 1   w a s   O n D e l e t e )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22840"
  },
  {
    "question": "What is ReplicaSet?",
    "answer": "T h e   e x t e n s i o n s / v 1 b e t a 1 ,   a p p s / v 1 b e t a 1 ,   a n d   a p p s / v 1 b e t a 2   A P I   v e r s i o n s   o f   R e p l i c a S e t   a r e   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 1 6 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t s   t o   u s e   t h e   a p p s / v 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 9 . A l l   e x i s t i n g   p e r s i s t e d   o b j e c t s   a r e   a c c e s s i b l e   v i a   t h e   n e w   A P I N o t a b l e   c h a n g e s : s p e c . s e l e c t o r   i s   n o w   r e q u i r e d   a n d   i m m u t a b l e   a f t e r   c r e a t i o n ;   u s e   t h e   e x i s t i n g   t e m p l a t e   l a b e l s   a s   t h e   s e l e c t o r   f o r   s e a m l e s s   u p g r a d e s   s p e c . s e l e c t o r   i s   n o w   r e q u i r e d   a n d   i m m u t a b l e   a f t e r   c r e a t i o n ;   u s e   t h e   e x i s t i n g   t e m p l a t e   l a b e l s   a s   t h e   s e l e c t o r   f o r   s e a m l e s s   u p g r a d e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22841"
  },
  {
    "question": "What is PodSecurityPolicy?",
    "answer": "T h e   e x t e n s i o n s / v 1 b e t a 1   A P I   v e r s i o n   o f   P o d S e c u r i t y P o l i c y   i s   n o   l o n g e r   s e r v e d   a s   o f   v 1 . 1 6 .   M i g r a t e   m a n i f e s t s   a n d   A P I   c l i e n t   t o   u s e   t h e   p o l i c y / v 1 b e t a 1   A P I   v e r s i o n ,   a v a i l a b l e   s i n c e   v 1 . 1 0 . N o t e   t h a t   t h e   p o l i c y / v 1 b e t a 1   A P I   v e r s i o n   o f   P o d S e c u r i t y P o l i c y   w i l l   b e   r e m o v e d   i n   v 1 . 2 5 .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22842"
  },
  {
    "question": "What is Test with deprecated APIs disabled?",
    "answer": "Y o u   c a n   t e s t   y o u r   c l u s t e r s   b y   s t a r t i n g   a n   A P I   s e r v e r   w i t h   s p e c i f i c   A P I   v e r s i o n s   d i s a b l e d   t o   s i m u l a t e   u p c o m i n g   r e m o v a l s .   A d d   t h e   f o l l o w i n g   f l a g   t o   t h e   A P I   s e r v e r   s t a r t u p   a r g u m e n t s :   - - r u n t i m e - c o n f i g = < g r o u p > / < v e r s i o n > = f a l s e   F o r   e x a m p l e :   - - r u n t i m e - c o n f i g = a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 = f a l s e , a p i e x t e n s i o n s . k 8 s . i o / v 1 b e t a 1 , . . .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22843"
  },
  {
    "question": "What is Locate use of deprecated APIs?",
    "answer": "U s e   c l i e n t   w a r n i n g s ,   m e t r i c s ,   a n d   a u d i t   i n f o r m a t i o n   a v a i l a b l e   i n   1 . 1 9 +   t o   l o c a t e   u s e   o f   d e p r e c a t e d   A P I s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22844"
  },
  {
    "question": "What is Migrate to non-deprecated APIs?",
    "answer": "U p d a t e   c u s t o m   i n t e g r a t i o n s   a n d   c o n t r o l l e r s   t o   c a l l   t h e   n o n - d e p r e c a t e d   A P I s C h a n g e   Y A M L   f i l e s   t o   r e f e r e n c e   t h e   n o n - d e p r e c a t e d   A P I s Y o u   c a n   u s e   t h e   k u b e c t l   c o n v e r t   c o m m a n d   t o   a u t o m a t i c a l l y   c o n v e r t   a n   e x i s t i n g   o b j e c t : k u b e c t l   c o n v e r t   - f   < f i l e >   - - o u t p u t - v e r s i o n   < g r o u p > / < v e r s i o n > . F o r   e x a m p l e ,   t o   c o n v e r t   a n   o l d e r   D e p l o y m e n t   t o   a p p s / v 1 ,   y o u   c a n   r u n : k u b e c t l   c o n v e r t   - f   . / m y - d e p l o y m e n t . y a m l   - - o u t p u t - v e r s i o n   a p p s / v 1 T h i s   c o n v e r s i o n   m a y   u s e   n o n - i d e a l   d e f a u l t   v a l u e s .   T o   l e a r n   m o r e   a b o u t   a   s p e c i f i c   r e s o u r c e ,   c h e c k   t h e   K u b e r n e t e s   A P I   r e f e r e n c e . N o t e : T h e   k u b e c t l   c o n v e r t   t o o l   i s   n o t   i n s t a l l e d   b y   d e f a u l t ,   a l t h o u g h   i n   f a c t   i t   o n c e   w a s   p a r t   o f   k u b e c t l   i t s e l f .   F o r   m o r e   d e t a i l s ,   y o u   c a n   r e a d   t h e   d e p r e c a t i o n   a n d   r e m o v a l   i s s u e   f o r   t h e   b u i l t - i n   s u b c o m m a n d . T o   l e a r n   h o w   t o   s e t   u p   k u b e c t l   c o n v e r t   o n   y o u r   c o m p u t e r ,   v i s i t   t h e   p a g e   t h a t   i s   r i g h t   f o r   y o u r   o p e r a t i n g   s y s t e m :   L i n u x ,   m a c O S ,   o r   W i n d o w s .   U p d a t e   c u s t o m   i n t e g r a t i o n s   a n d   c o n t r o l l e r s   t o   c a l l   t h e   n o n - d e p r e c a t e d   A P I s   C h a n g e   Y A M L   f i l e s   t o   r e f e r e n c e   t h e   n o n - d e p r e c a t e d   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22845"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   k u b e c t l   c o n v e r t   t o o l   i s   n o t   i n s t a l l e d   b y   d e f a u l t ,   a l t h o u g h   i n   f a c t   i t   o n c e   w a s   p a r t   o f   k u b e c t l   i t s e l f .   F o r   m o r e   d e t a i l s ,   y o u   c a n   r e a d   t h e   d e p r e c a t i o n   a n d   r e m o v a l   i s s u e   f o r   t h e   b u i l t - i n   s u b c o m m a n d .   T o   l e a r n   h o w   t o   s e t   u p   k u b e c t l   c o n v e r t   o n   y o u r   c o m p u t e r ,   v i s i t   t h e   p a g e   t h a t   i s   r i g h t   f o r   y o u r   o p e r a t i n g   s y s t e m :   L i n u x ,   m a c O S ,   o r   W i n d o w s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22846"
  },
  {
    "question": "What is 2.8 - Kubernetes API health endpoints?",
    "answer": "T h e   K u b e r n e t e s   A P I   s e r v e r   p r o v i d e s   A P I   e n d p o i n t s   t o   i n d i c a t e   t h e   c u r r e n t   s t a t u s   o f   t h e   A P I   s e r v e r .   T h i s   p a g e   d e s c r i b e s   t h e s e   A P I   e n d p o i n t s   a n d   e x p l a i n s   h o w   y o u   c a n   u s e   t h e m .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_22847"
  },
  {
    "question": "What is API endpoints for health?",
    "answer": "T h e   K u b e r n e t e s   A P I   s e r v e r   p r o v i d e s   3   A P I   e n d p o i n t s   ( h e a l t h z ,   l i v e z   a n d   r e a d y z )   t o   i n d i c a t e   t h e   c u r r e n t   s t a t u s   o f   t h e   A P I   s e r v e r .   T h e   h e a l t h z   e n d p o i n t   i s   d e p r e c a t e d   ( s i n c e   K u b e r n e t e s   v 1 . 1 6 ) ,   a n d   y o u   s h o u l d   u s e   t h e   m o r e   s p e c i f i c   l i v e z   a n d   r e a d y z   e n d p o i n t s   i n s t e a d .   T h e   l i v e z   e n d p o i n t   c a n   b e   u s e d   w i t h   t h e   - - l i v e z - g r a c e - p e r i o d   f l a g   t o   s p e c i f y   t h e   s t a r t u p   d u r a t i o n .   F o r   a   g r a c e f u l   s h u t d o w n   y o u   c a n   s p e c i f y   t h e   - - s h u t d o w n - d e l a y - d u r a t i o n   f l a g   w i t h   t h e   / r e a d y z   e n d p o i n t .   M a c h i n e s   t h a t   c h e c k   t h e   h e a l t h z / l i v e z / r e a d y z   o f   t h e   A P I   s e r v e r   s h o u l d   r e l y   o n   t h e   H T T P   s t a t u s   c o d e .   A   s t a t u s   c o d e   2 0 0   i n d i c a t e s   t h e   A P I   s e r v e r   i s   h e a l t h y / l i v e / r e a d y ,   d e p e n d i n g   o n   t h e   c a l l e d   e n d p o i n t .   T h e   m o r e   v e r b o s e   o p t i o n s   s h o w n   b e l o w   a r e   i n t e n d e d   t o   b e   u s e d   b y   h u m a n   o p e r a t o r s   t o   d e b u g   t h e i r   c l u s t e r   o r   u n d e r s t a n d   t h e   s t a t e   o f   t h e   A P I   s e r v e r .   T h e   f o l l o w i n g   e x a m p l e s   w i l l   s h o w   h o w   y o u   c a n   i n t e r a c t   w i t h   t h e   h e a l t h   A P I   e n d p o i n t s .   F o r   a l l   e n d p o i n t s ,   y o u   c a n   u s e   t h e   v e r b o s e   p a r a m e t e r   t o   p r i n t   o u t   t h e   c h e c k s   a n d   t h e i r   s t a t u s .   T h i s   c a n   b ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22848"
  },
  {
    "question": "What is Individual health checks?",
    "answer": "E a c h   i n d i v i d u a l   h e a l t h   c h e c k   e x p o s e s   a n   H T T P   e n d p o i n t   a n d   c a n   b e   c h e c k e d   i n d i v i d u a l l y .   T h e   s c h e m a   f o r   t h e   i n d i v i d u a l   h e a l t h   c h e c k s   i s   / l i v e z / < h e a l t h c h e c k - n a m e >   o r   / r e a d y z / < h e a l t h c h e c k - n a m e > ,   w h e r e   l i v e z   a n d   r e a d y z   c a n   b e   u s e d   t o   i n d i c a t e   i f   y o u   w a n t   t o   c h e c k   t h e   l i v e n e s s   o r   t h e   r e a d i n e s s   o f   t h e   A P I   s e r v e r ,   r e s p e c t i v e l y .   T h e   < h e a l t h c h e c k - n a m e >   p a t h   c a n   b e   d i s c o v e r e d   u s i n g   t h e   v e r b o s e   f l a g   f r o m   a b o v e   a n d   t a k e   t h e   p a t h   b e t w e e n   [ + ]   a n d   o k .   T h e s e   i n d i v i d u a l   h e a l t h   c h e c k s   s h o u l d   n o t   b e   c o n s u m e d   b y   m a c h i n e s   b u t   c a n   b e   h e l p f u l   f o r   a   h u m a n   o p e r a t o r   t o   d e b u g   a   s y s t e m :   c u r l   - k   h t t p s : / / l o c a l h o s t : 6 4 4 3 / l i v e z / e t c d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22849"
  },
  {
    "question": "What is 3 - API Access Control?",
    "answer": "F o r   a n   i n t r o d u c t i o n   t o   h o w   K u b e r n e t e s   i m p l e m e n t s   a n d   c o n t r o l s   A P I   a c c e s s ,   r e a d   C o n t r o l l i n g   A c c e s s   t o   t h e   K u b e r n e t e s   A P I .   R e f e r e n c e   d o c u m e n t a t i o n :   A u t h e n t i c a t i n g A u t h e n t i c a t i n g   w i t h   B o o t s t r a p   T o k e n s A d m i s s i o n   C o n t r o l l e r s D y n a m i c   A d m i s s i o n   C o n t r o l A u t h o r i z a t i o n R o l e   B a s e d   A c c e s s   C o n t r o l A t t r i b u t e   B a s e d   A c c e s s   C o n t r o l N o d e   A u t h o r i z a t i o n W e b h o o k   A u t h o r i z a t i o n C e r t i f i c a t e   S i g n i n g   R e q u e s t s i n c l u d i n g   C S R   a p p r o v a l   a n d   c e r t i f i c a t e   s i g n i n g S e r v i c e   a c c o u n t s D e v e l o p e r   g u i d e A d m i n i s t r a t i o n K u b e l e t   A u t h e n t i c a t i o n   &   A u t h o r i z a t i o n i n c l u d i n g   k u b e l e t   T L S   b o o t s t r a p p i n g   A u t h e n t i c a t i n g   w i t h   B o o t s t r a p   T o k e n s   D y n a m i c   A d m i s s i o n   C o n t r o l   R o l e   B a s e d   A c c e s s   C o n t r o l A t t r i b u t e   B a s e d   A c c e s s   C o n t r o l N o d e   A u t h o r i z a t i o n W e b h o o k   A u t h o r i z a t i o n   i n c l u d i n g   C S R   a p p r o v a l   a n d   c e r t i f i c a t e   s i g n i n g   D e v e l o p e r   g u i d e A d m i n i s t r a t i o n   i n c l u d i n g   k u b e l e t   T L S   b o o t s t r a p p i n g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_22850"
  },
  {
    "question": "What is 3.1 - Authenticating?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   o f   a u t h e n t i c a t i o n   i n   K u b e r n e t e s ,   w i t h   a   f o c u s   o n   a u t h e n t i c a t i o n   t o   t h e   K u b e r n e t e s   A P I .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_22851"
  },
  {
    "question": "What is Users in Kubernetes?",
    "answer": "A l l   K u b e r n e t e s   c l u s t e r s   h a v e   t w o   c a t e g o r i e s   o f   u s e r s :   s e r v i c e   a c c o u n t s   m a n a g e d   b y   K u b e r n e t e s ,   a n d   n o r m a l   u s e r s .   I t   i s   a s s u m e d   t h a t   a   c l u s t e r - i n d e p e n d e n t   s e r v i c e   m a n a g e s   n o r m a l   u s e r s   i n   t h e   f o l l o w i n g   w a y s :   a n   a d m i n i s t r a t o r   d i s t r i b u t i n g   p r i v a t e   k e y s a   u s e r   s t o r e   l i k e   K e y s t o n e   o r   G o o g l e   A c c o u n t s a   f i l e   w i t h   a   l i s t   o f   u s e r n a m e s   a n d   p a s s w o r d s   I n   t h i s   r e g a r d ,   K u b e r n e t e s   d o e s   n o t   h a v e   o b j e c t s   w h i c h   r e p r e s e n t   n o r m a l   u s e r   a c c o u n t s .   N o r m a l   u s e r s   c a n n o t   b e   a d d e d   t o   a   c l u s t e r   t h r o u g h   a n   A P I   c a l l .   E v e n   t h o u g h   a   n o r m a l   u s e r   c a n n o t   b e   a d d e d   v i a   a n   A P I   c a l l ,   a n y   u s e r   t h a t   p r e s e n t s   a   v a l i d   c e r t i f i c a t e   s i g n e d   b y   t h e   c l u s t e r ' s   c e r t i f i c a t e   a u t h o r i t y   ( C A )   i s   c o n s i d e r e d   a u t h e n t i c a t e d .   I n   t h i s   c o n f i g u r a t i o n ,   K u b e r n e t e s   d e t e r m i n e s   t h e   u s e r n a m e   f r o m   t h e   c o m m o n   n a m e   f i e l d   i n   t h e   ' s u b j e c t '   o f   t h e   c e r t   ( e . g . ,   \" / C N = b o b \" ) .   F r o m   t h e r e ,   t h e   r o l e   b a s e d   a c c e s s   c o n t r o l   ( R B A C )   s u b - s y s t e m   w o u l d   d e t e r m i n e   w h e t h e r   t h e   u s e r   i s   a u t h o r i z e d   t o   p e r f o r m   a   s p e c i f i c   o p e r a t i o n   o n   a   r e s o u r c e .   I n   c o n t r a s t ,   s e r v i c e   a c c o u n t s   a r e   u s e r s   m a n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22852"
  },
  {
    "question": "What is Authentication strategies?",
    "answer": "K u b e r n e t e s   u s e s   c l i e n t   c e r t i f i c a t e s ,   b e a r e r   t o k e n s ,   o r   a n   a u t h e n t i c a t i n g   p r o x y   t o   a u t h e n t i c a t e   A P I   r e q u e s t s   t h r o u g h   a u t h e n t i c a t i o n   p l u g i n s .   A s   H T T P   r e q u e s t s   a r e   m a d e   t o   t h e   A P I   s e r v e r ,   p l u g i n s   a t t e m p t   t o   a s s o c i a t e   t h e   f o l l o w i n g   a t t r i b u t e s   w i t h   t h e   r e q u e s t :   U s e r n a m e :   a   s t r i n g   w h i c h   i d e n t i f i e s   t h e   e n d   u s e r .   C o m m o n   v a l u e s   m i g h t   b e   k u b e - a d m i n   o r   j a n e @ e x a m p l e . c o m . U I D :   a   s t r i n g   w h i c h   i d e n t i f i e s   t h e   e n d   u s e r   a n d   a t t e m p t s   t o   b e   m o r e   c o n s i s t e n t   a n d   u n i q u e   t h a n   u s e r n a m e . G r o u p s :   a   s e t   o f   s t r i n g s ,   e a c h   o f   w h i c h   i n d i c a t e s   t h e   u s e r ' s   m e m b e r s h i p   i n   a   n a m e d   l o g i c a l   c o l l e c t i o n   o f   u s e r s .   C o m m o n   v a l u e s   m i g h t   b e   s y s t e m : m a s t e r s   o r   d e v o p s - t e a m . E x t r a   f i e l d s :   a   m a p   o f   s t r i n g s   t o   l i s t   o f   s t r i n g s   w h i c h   h o l d s   a d d i t i o n a l   i n f o r m a t i o n   a u t h o r i z e r s   m a y   f i n d   u s e f u l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22853"
  },
  {
    "question": "What is Authentication methods?",
    "answer": "Y o u   c a n   e n a b l e   m u l t i p l e   a u t h e n t i c a t i o n   m e t h o d s   a t   o n c e .   Y o u   s h o u l d   u s u a l l y   u s e   a t   l e a s t   t w o   m e t h o d s :   s e r v i c e   a c c o u n t   t o k e n s   f o r   s e r v i c e   a c c o u n t s a t   l e a s t   o n e   o t h e r   m e t h o d   f o r   u s e r   a u t h e n t i c a t i o n .   W h e n   m u l t i p l e   a u t h e n t i c a t o r   m o d u l e s   a r e   e n a b l e d ,   t h e   f i r s t   m o d u l e   t o   s u c c e s s f u l l y   a u t h e n t i c a t e   t h e   r e q u e s t   s h o r t - c i r c u i t s   e v a l u a t i o n .   T h e   A P I   s e r v e r   d o e s   n o t   g u a r a n t e e   t h e   o r d e r   a u t h e n t i c a t o r s   r u n   i n .   T h e   s y s t e m : a u t h e n t i c a t e d   g r o u p   i s   i n c l u d e d   i n   t h e   l i s t   o f   g r o u p s   f o r   a l l   a u t h e n t i c a t e d   u s e r s .   I n t e g r a t i o n s   w i t h   o t h e r   a u t h e n t i c a t i o n   p r o t o c o l s   ( L D A P ,   S A M L ,   K e r b e r o s ,   a l t e r n a t e   x 5 0 9   s c h e m e s ,   e t c )   a r e   a v a i l a b l e ;   f o r   e x a m p l e   u s i n g   a n   a u t h e n t i c a t i n g   p r o x y   o r   t h e   a u t h e n t i c a t i o n   w e b h o o k .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22854"
  },
  {
    "question": "What is X.509 client certificates?",
    "answer": "C l i e n t   c e r t i f i c a t e   a u t h e n t i c a t i o n   i s   e n a b l e d   b y   p a s s i n g   t h e   - - c l i e n t - c a - f i l e = S O M E F I L E   o p t i o n   t o   A P I   s e r v e r .   T h e   r e f e r e n c e d   f i l e   m u s t   c o n t a i n   o n e   o r   m o r e   c e r t i f i c a t e   a u t h o r i t i e s   t o   u s e   t o   v a l i d a t e   c l i e n t   c e r t i f i c a t e s   p r e s e n t e d   t o   t h e   A P I   s e r v e r .   I f   a   c l i e n t   c e r t i f i c a t e   i s   p r e s e n t e d   a n d   v e r i f i e d ,   t h e   c o m m o n   n a m e   o f   t h e   s u b j e c t   i s   u s e d   a s   t h e   u s e r   n a m e   f o r   t h e   r e q u e s t .   A s   o f   K u b e r n e t e s   1 . 4 ,   c l i e n t   c e r t i f i c a t e s   c a n   a l s o   i n d i c a t e   a   u s e r ' s   g r o u p   m e m b e r s h i p s   u s i n g   t h e   c e r t i f i c a t e ' s   o r g a n i z a t i o n   f i e l d s .   T o   i n c l u d e   m u l t i p l e   g r o u p   m e m b e r s h i p s   f o r   a   u s e r ,   i n c l u d e   m u l t i p l e   o r g a n i z a t i o n   f i e l d s   i n   t h e   c e r t i f i c a t e .   F o r   e x a m p l e ,   u s i n g   t h e   o p e n s s l   c o m m a n d   l i n e   t o o l   t o   g e n e r a t e   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t :   o p e n s s l   r e q   - n e w   - k e y   j b e d a . p e m   - o u t   j b e d a - c s r . p e m   - s u b j   \" / C N = j b e d a / O = a p p 1 / O = a p p 2 \"   T h i s   w o u l d   c r e a t e   a   C S R   f o r   t h e   u s e r n a m e   \" j b e d a \" ,   b e l o n g i n g   t o   t w o   g r o u p s ,   \" a p p 1 \"   a n d   \" a p p 2 \" .   S e e   M a n a g i n g   C e r t i f i c a t e s   f o r   h o w   t o   g e n e r a t e   a   c l i e n t   c e r t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22855"
  },
  {
    "question": "What is Putting a bearer token in a request?",
    "answer": "W h e n   u s i n g   b e a r e r   t o k e n   a u t h e n t i c a t i o n   f r o m   a n   h t t p   c l i e n t ,   t h e   A P I   s e r v e r   e x p e c t s   a n   A u t h o r i z a t i o n   h e a d e r   w i t h   a   v a l u e   o f   B e a r e r   < t o k e n > .   T h e   b e a r e r   t o k e n   m u s t   b e   a   c h a r a c t e r   s e q u e n c e   t h a t   c a n   b e   p u t   i n   a n   H T T P   h e a d e r   v a l u e   u s i n g   n o   m o r e   t h a n   t h e   e n c o d i n g   a n d   q u o t i n g   f a c i l i t i e s   o f   H T T P .   F o r   e x a m p l e :   i f   t h e   b e a r e r   t o k e n   i s   3 1 a d a 4 f d - a d e c - 4 6 0 c - 8 0 9 a - 9 e 5 6 c e b 7 5 2 6 9   t h e n   i t   w o u l d   a p p e a r   i n   a n   H T T P   h e a d e r   a s   s h o w n   b e l o w .   A u t h o r i z a t i o n :   B e a r e r   3 1 a d a 4 f d - a d e c - 4 6 0 c - 8 0 9 a - 9 e 5 6 c e b 7 5 2 6 9",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22856"
  },
  {
    "question": "What is Bootstrap tokens?",
    "answer": "T o   a l l o w   f o r   s t r e a m l i n e d   b o o t s t r a p p i n g   f o r   n e w   c l u s t e r s ,   K u b e r n e t e s   i n c l u d e s   a   d y n a m i c a l l y - m a n a g e d   B e a r e r   t o k e n   t y p e   c a l l e d   a   B o o t s t r a p   T o k e n .   T h e s e   t o k e n s   a r e   s t o r e d   a s   S e c r e t s   i n   t h e   k u b e - s y s t e m   n a m e s p a c e ,   w h e r e   t h e y   c a n   b e   d y n a m i c a l l y   m a n a g e d   a n d   c r e a t e d .   C o n t r o l l e r   M a n a g e r   c o n t a i n s   a   T o k e n C l e a n e r   c o n t r o l l e r   t h a t   d e l e t e s   b o o t s t r a p   t o k e n s   a s   t h e y   e x p i r e .   T h e   t o k e n s   a r e   o f   t h e   f o r m   [ a - z 0 - 9 ] { 6 } . [ a - z 0 - 9 ] { 1 6 } .   T h e   f i r s t   c o m p o n e n t   i s   a   T o k e n   I D   a n d   t h e   s e c o n d   c o m p o n e n t   i s   t h e   T o k e n   S e c r e t .   Y o u   s p e c i f y   t h e   t o k e n   i n   a n   H T T P   h e a d e r   a s   f o l l o w s :   A u t h o r i z a t i o n :   B e a r e r   7 8 1 2 9 2 . d b 7 b c 3 a 5 8 f c 5 f 0 7 e   Y o u   m u s t   e n a b l e   t h e   B o o t s t r a p   T o k e n   A u t h e n t i c a t o r   w i t h   t h e   - - e n a b l e - b o o t s t r a p - t o k e n - a u t h   f l a g   o n   t h e   A P I   S e r v e r .   Y o u   m u s t   e n a b l e   t h e   T o k e n C l e a n e r   c o n t r o l l e r   v i a   t h e   - - c o n t r o l l e r s   c o m m a n d   l i n e   a r g u m e n t   f o r   k u b e - c o n t r o l l e r - m a n a g e r .   T h i s   i s   d o n e   w i t h   s o m e t h i n g   l i k e   - - c o n t r o l l e r s = * , t o k e n c l e a n e r .   T h e   k u b e a d m   t o o l   w i l l   d o   t h i s   f o r   y o u   i f   y o u   a r e   u s i n g   i t   t o   b o o t s t r a p   a   c l u s t e r .   T h e   a u t h e n t i c a t o r   a u t h e n t i c a t e s   a s   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22857"
  },
  {
    "question": "What is Service account tokens?",
    "answer": "A   s e r v i c e   a c c o u n t   i s   a n   a u t o m a t i c a l l y   e n a b l e d   a u t h e n t i c a t o r   t h a t   u s e s   s i g n e d   b e a r e r   t o k e n s   t o   v e r i f y   r e q u e s t s .   T h e   p l u g i n   t a k e s   t w o   o p t i o n a l   f l a g s :   - - s e r v i c e - a c c o u n t - k e y - f i l e   F i l e   c o n t a i n i n g   P E M - e n c o d e d   x 5 0 9   R S A   o r   E C D S A   p r i v a t e   o r   p u b l i c   k e y s ,   u s e d   t o   v e r i f y   S e r v i c e A c c o u n t   t o k e n s .   T h e   s p e c i f i e d   f i l e   c a n   c o n t a i n   m u l t i p l e   k e y s ,   a n d   t h e   f l a g   c a n   b e   s p e c i f i e d   m u l t i p l e   t i m e s   w i t h   d i f f e r e n t   f i l e s .   I f   u n s p e c i f i e d ,   - - t l s - p r i v a t e - k e y - f i l e   i s   u s e d . - - s e r v i c e - a c c o u n t - l o o k u p   I f   e n a b l e d ,   t o k e n s   w h i c h   a r e   d e l e t e d   f r o m   t h e   A P I   w i l l   b e   r e v o k e d .   S e r v i c e   a c c o u n t s   a r e   u s u a l l y   c r e a t e d   a u t o m a t i c a l l y   b y   t h e   A P I   s e r v e r   a n d   a s s o c i a t e d   w i t h   p o d s   r u n n i n g   i n   t h e   c l u s t e r   t h r o u g h   t h e   S e r v i c e A c c o u n t   A d m i s s i o n   C o n t r o l l e r .   B e a r e r   t o k e n s   a r e   m o u n t e d   i n t o   p o d s   a t   w e l l - k n o w n   l o c a t i o n s ,   a n d   a l l o w   i n - c l u s t e r   p r o c e s s e s   t o   t a l k   t o   t h e   A P I   s e r v e r .   A c c o u n t s   m a y   b e   e x p l i c i t l y   a s s o c i a t e d   w i t h   p o d s   u s i n g   t h e   s e r v i c e A c c o u n t N a m e   f i e l d   o f   a   P o d S p e c .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22858"
  },
  {
    "question": "What is Note:?",
    "answer": "a p i V e r s i o n :   a p p s / v 1   #   t h i s   a p i V e r s i o n   i s   r e l e v a n t   a s   o f   K u b e r n e t e s   1 . 9   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   n g i n x - d e p l o y m e n t   n a m e s p a c e :   d e f a u l t   s p e c :   r e p l i c a s :   3   t e m p l a t e :   m e t a d a t a :   #   . . .   s p e c :   s e r v i c e A c c o u n t N a m e :   b o b - t h e - b o t   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4 . 2   S e r v i c e   a c c o u n t   b e a r e r   t o k e n s   a r e   p e r f e c t l y   v a l i d   t o   u s e   o u t s i d e   t h e   c l u s t e r   a n d   c a n   b e   u s e d   t o   c r e a t e   i d e n t i t i e s   f o r   l o n g   s t a n d i n g   j o b s   t h a t   w i s h   t o   t a l k   t o   t h e   K u b e r n e t e s   A P I .   T o   m a n u a l l y   c r e a t e   a   s e r v i c e   a c c o u n t ,   u s e   t h e   k u b e c t l   c r e a t e   s e r v i c e a c c o u n t   ( N A M E )   c o m m a n d .   T h i s   c r e a t e s   a   s e r v i c e   a c c o u n t   i n   t h e   c u r r e n t   n a m e s p a c e .   k u b e c t l   c r e a t e   s e r v i c e a c c o u n t   j e n k i n s   s e r v i c e a c c o u n t / j e n k i n s   c r e a t e d   Y o u   c a n   m a n u a l l y   c r e a t e   a n   a s s o c i a t e d   t o k e n :   k u b e c t l   c r e a t e   t o k e n   j e n k i n s   e y J h b G c i O i J S U z I 1 N i I s I m t p . . .   T h e   c r e a t e d   t o k e n   i s   a   s i g n e d   J S O N   W e b   T o k e n   ( J W T ) .   T h e   s i g n e d   J W T   c a n   b e   u s e d   a s   a   b e a r e r   t o k e n   t o   a u t h e n t i c a t e   a s   t h e   g i v e n   s e r v i c e   a c c o u n t .   S e e   a b o v e   f o r   h o w   t h e   t o k e n   i s   i n c l u d e d   i n   a   r e q u e s t .   N o r m a l l y   t h e s e   t o k e n s   a r e   m o u n t e d   i n t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22859"
  },
  {
    "question": "What is External integrations?",
    "answer": "K u b e r n e t e s   h a s   n a t i v e   s u p p o r t   f o r   O p e n I D   C o n n e c t   ( O I D C ) ;   s e e   O p e n I D   C o n n e c t   t o k e n s .   I n t e g r a t i o n s   w i t h   o t h e r   a u t h e n t i c a t i o n   p r o t o c o l s   ( f o r   e x a m p l e :   L D A P ,   S A M L ,   K e r b e r o s ,   a l t e r n a t e   X . 5 0 9   s c h e m e s )   c a n   b e   a c c o m p l i s h e d   u s i n g   a n   a u t h e n t i c a t i n g   p r o x y   o r   b y   i n t e g r a t i n g   w i t h   a n   a u t h e n t i c a t i o n   w e b h o o k .   Y o u   c a n   a l s o   u s e   a n y   c u s t o m   m e t h o d   t h a t   i s s u e s   c l i e n t   X . 5 0 9   c e r t i f i c a t e s   t o   c l i e n t s ,   p r o v i d e d   t h a t   t h e   A P I   s e r v e r   w i l l   t r u s t   t h e   v a l i d   c e r t i f i c a t e s .   R e a d   X . 5 0 9   c l i e n t   c e r t i f i c a t e s   t o   l e a r n   a b o u t   h o w   t o   g e n e r a t e   a   c e r t i f i c a t e .   I f   y o u   d o   i s s u e   c e r t i f i c a t e s   t o   c l i e n t s ,   i t   i s   u p   t o   y o u   ( a s   a   c l o u d   p l a t f o r m   a d m i n i s t r a t o r )   t o   m a k e   s u r e   t h a t   t h e   c e r t i f i c a t e   v a l i d i t y   p e r i o d ,   a n d   o t h e r   d e s i g n   c h o i c e s   y o u   m a k e ,   p r o v i d e   a   s u i t a b l e   l e v e l   o f   s e c u r i t y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22860"
  },
  {
    "question": "What is OpenID Connect tokens?",
    "answer": "O p e n I D   C o n n e c t   i s   a   f l a v o r   o f   O A u t h 2   s u p p o r t e d   b y   s o m e   O A u t h 2   p r o v i d e r s ,   n o t a b l y   M i c r o s o f t   E n t r a   I D ,   S a l e s f o r c e ,   a n d   G o o g l e .   T h e   p r o t o c o l ' s   m a i n   e x t e n s i o n   o f   O A u t h 2   i s   a n   a d d i t i o n a l   f i e l d   r e t u r n e d   w i t h   t h e   a c c e s s   t o k e n   c a l l e d   a n   I D   T o k e n .   T h i s   t o k e n   i s   a   J S O N   W e b   T o k e n   ( J W T )   w i t h   w e l l   k n o w n   f i e l d s ,   s u c h   a s   a   u s e r ' s   e m a i l ,   s i g n e d   b y   t h e   s e r v e r .   T o   i d e n t i f y   t h e   u s e r ,   t h e   a u t h e n t i c a t o r   u s e s   t h e   i d _ t o k e n   ( n o t   t h e   a c c e s s _ t o k e n )   f r o m   t h e   O A u t h 2   t o k e n   r e s p o n s e   a s   a   b e a r e r   t o k e n .   S e e   a b o v e   f o r   h o w   t h e   t o k e n   i s   i n c l u d e d   i n   a   r e q u e s t .   L o g   i n   t o   y o u r   i d e n t i t y   p r o v i d e r Y o u r   i d e n t i t y   p r o v i d e r   w i l l   p r o v i d e   y o u   w i t h   a n   a c c e s s _ t o k e n ,   i d _ t o k e n   a n d   a   r e f r e s h _ t o k e n W h e n   u s i n g   k u b e c t l ,   u s e   y o u r   i d _ t o k e n   w i t h   t h e   - - t o k e n   c o m m a n d   l i n e   a r g u m e n t   o r   a d d   i t   d i r e c t l y   t o   y o u r   k u b e c o n f i g k u b e c t l   s e n d s   y o u r   i d _ t o k e n   i n   a   h e a d e r   c a l l e d   A u t h o r i z a t i o n   t o   t h e   A P I   s e r v e r T h e   A P I   s e r v e r   w i l l   m a k e   s u r e   t h e   J W T   s i g n a t u r e   i s   v a l i d C h e c k   t o   m a k e   s u r e   t h e   i d _ t o k e n   h a s n ' t   e x p i r e d P e r f o r m   c l a i m   a n d / o r   u s e r   v a l i d a t i o n   i f   C E L   e x p r e s s i o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22861"
  },
  {
    "question": "What is Using command line arguments?",
    "answer": "T o   e n a b l e   t h e   p l u g i n ,   c o n f i g u r e   t h e   f o l l o w i n g   c o m m a n d   l i n e   a r g u m e n t s   f o r   t h e   A P I   s e r v e r :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_5_22862"
  },
  {
    "question": "What is Authentication configuration from a file?",
    "answer": "J W T   A u t h e n t i c a t o r   i s   a n   a u t h e n t i c a t o r   t o   a u t h e n t i c a t e   K u b e r n e t e s   u s e r s   u s i n g   J W T   c o m p l i a n t   t o k e n s .   T h e   a u t h e n t i c a t o r   w i l l   a t t e m p t   t o   p a r s e   a   r a w   I D   t o k e n ,   v e r i f y   i t ' s   b e e n   s i g n e d   b y   t h e   c o n f i g u r e d   i s s u e r .   T h e   p u b l i c   k e y   t o   v e r i f y   t h e   s i g n a t u r e   i s   d i s c o v e r e d   f r o m   t h e   i s s u e r ' s   p u b l i c   e n d p o i n t   u s i n g   O I D C   d i s c o v e r y .   T h e   m i n i m u m   v a l i d   J W T   p a y l o a d   m u s t   c o n t a i n   t h e   f o l l o w i n g   c l a i m s :   {   \" i s s \" :   \" h t t p s : / / e x a m p l e . c o m \" ,   / /   m u s t   m a t c h   t h e   i s s u e r . u r l   \" a u d \" :   [ \" m y - a p p \" ] ,   / /   a t   l e a s t   o n e   o f   t h e   e n t r i e s   i n   i s s u e r . a u d i e n c e s   m u s t   m a t c h   t h e   \" a u d \"   c l a i m   i n   p r e s e n t e d   J W T s .   \" e x p \" :   1 2 3 4 5 6 7 8 9 0 ,   / /   t o k e n   e x p i r a t i o n   a s   U n i x   t i m e   ( t h e   n u m b e r   o f   s e c o n d s   e l a p s e d   s i n c e   J a n u a r y   1 ,   1 9 7 0   U T C )   \" < u s e r n a m e - c l a i m > \" :   \" u s e r \"   / /   t h i s   i s   t h e   u s e r n a m e   c l a i m   c o n f i g u r e d   i n   t h e   c l a i m M a p p i n g s . u s e r n a m e . c l a i m   o r   c l a i m M a p p i n g s . u s e r n a m e . e x p r e s s i o n   }   T h e   c o n f i g u r a t i o n   f i l e   a p p r o a c h   a l l o w s   y o u   t o   c o n f i g u r e   m u l t i p l e   J W T   a u t h e n t i c a t o r s ,   e a c h   w i t h   a   u n i q u e   i s s u e r . u r l   a n d   i s s u e r . d i s c o v e r y U R L .   T h e   c o n f i g u r a t i o n   f i l e   e v e n   a l l o w s   y o u   t o   s p e c i f y   C ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_5_22863"
  },
  {
    "question": "What is Note:?",
    "answer": "- - -   #   #   C A U T I O N :   t h i s   i s   a n   e x a m p l e   c o n f i g u r a t i o n .   #   D o   n o t   u s e   t h i s   f o r   y o u r   o w n   c l u s t e r !   #   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   A u t h e n t i c a t i o n C o n f i g u r a t i o n   #   l i s t   o f   a u t h e n t i c a t o r s   t o   a u t h e n t i c a t e   K u b e r n e t e s   u s e r s   u s i n g   J W T   c o m p l i a n t   t o k e n s .   #   t h e   m a x i m u m   n u m b e r   o f   a l l o w e d   a u t h e n t i c a t o r s   i s   6 4 .   j w t :   -   i s s u e r :   #   u r l   m u s t   b e   u n i q u e   a c r o s s   a l l   a u t h e n t i c a t o r s .   #   u r l   m u s t   n o t   c o n f l i c t   w i t h   i s s u e r   c o n f i g u r e d   i n   - - s e r v i c e - a c c o u n t - i s s u e r .   u r l :   h t t p s : / / e x a m p l e . c o m   #   S a m e   a s   - - o i d c - i s s u e r - u r l .   #   d i s c o v e r y U R L ,   i f   s p e c i f i e d ,   o v e r r i d e s   t h e   U R L   u s e d   t o   f e t c h   d i s c o v e r y   #   i n f o r m a t i o n   i n s t e a d   o f   u s i n g   \" { u r l } / . w e l l - k n o w n / o p e n i d - c o n f i g u r a t i o n \" .   #   T h e   e x a c t   v a l u e   s p e c i f i e d   i s   u s e d ,   s o   \" / . w e l l - k n o w n / o p e n i d - c o n f i g u r a t i o n \"   #   m u s t   b e   i n c l u d e d   i n   d i s c o v e r y U R L   i f   n e e d e d .   #   #   T h e   \" i s s u e r \"   f i e l d   i n   t h e   f e t c h e d   d i s c o v e r y   i n f o r m a t i o n   m u s t   m a t c h   t h e   \" i s s u e r . u r l \"   f i e l d   #   i n   t h e   A u t h e n t i c a t i o n C o n f i g u r a t i o n   a n d   w i l l   b e   u s e d   t o   v a l i d a t e   t h e   \" i s s \"   c l a i m   i n   t h e   p r e s e n t e d   J W T .   #   T h i s   i s   f o r   s c e n a r i o s   w h e r e   t h e   w e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22864"
  },
  {
    "question": "What is JWT egress selector type?",
    "answer": "T h e   e g r e s s S e l e c t o r T y p e   f i e l d   i n   t h e   J W T   i s s u e r   c o n f i g u r a t i o n   a l l o w s   y o u   t o   s p e c i f y   w h i c h   e g r e s s   s e l e c t o r   s h o u l d   b e   u s e d   f o r   s e n d i n g   a l l   t r a f f i c   r e l a t e d   t o   t h e   i s s u e r   ( d i s c o v e r y ,   J W K S ,   d i s t r i b u t e d   c l a i m s ,   e t c ) .   T h i s   f e a t u r e   r e q u i r e s   t h e   S t r u c t u r e d A u t h e n t i c a t i o n C o n f i g u r a t i o n E g r e s s S e l e c t o r   f e a t u r e   g a t e   t o   b e   e n a b l e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_5_22865"
  },
  {
    "question": "What is Limitations?",
    "answer": "D i s t r i b u t e d   c l a i m s   d o   n o t   w o r k   v i a   C E L   e x p r e s s i o n s .   K u b e r n e t e s   d o e s   n o t   p r o v i d e   a n   O p e n I D   C o n n e c t   I d e n t i t y   P r o v i d e r .   Y o u   c a n   u s e   a n   e x i s t i n g   p u b l i c   O p e n I D   C o n n e c t   I d e n t i t y   P r o v i d e r   o r   r u n   y o u r   o w n   I d e n t i t y   P r o v i d e r   t h a t   s u p p o r t s   t h e   O p e n I D   C o n n e c t   p r o t o c o l .   F o r   a n   i d e n t i t y   p r o v i d e r   t o   w o r k   w i t h   K u b e r n e t e s   i t   m u s t :   S u p p o r t   O p e n I D   c o n n e c t   d i s c o v e r y T h e   p u b l i c   k e y   t o   v e r i f y   t h e   s i g n a t u r e   i s   d i s c o v e r e d   f r o m   t h e   i s s u e r ' s   p u b l i c   e n d p o i n t   u s i n g   O I D C   d i s c o v e r y .   I f   y o u ' r e   u s i n g   t h e   a u t h e n t i c a t i o n   c o n f i g u r a t i o n   f i l e ,   t h e   i d e n t i t y   p r o v i d e r   d o e s n ' t   n e e d   t o   p u b l i c l y   e x p o s e   t h e   d i s c o v e r y   e n d p o i n t .   Y o u   c a n   h o s t   t h e   d i s c o v e r y   e n d p o i n t   a t   a   d i f f e r e n t   l o c a t i o n   t h a n   t h e   i s s u e r   ( s u c h   a s   l o c a l l y   i n   t h e   c l u s t e r )   a n d   s p e c i f y   t h e   i s s u e r . d i s c o v e r y U R L   i n   t h e   c o n f i g u r a t i o n   f i l e . R u n   i n   T L S   w i t h   n o n - o b s o l e t e   c i p h e r s H a v e   a   C A   s i g n e d   c e r t i f i c a t e   ( e v e n   i f   t h e   C A   i s   n o t   a   c o m m e r c i a l   C A   o r   i s   s e l f   s i g n e d )   S u p p o r t   O p e n I D   c o n n e c t   d i s c o v e r y   T h e   p u b l i c   k e y   t o   v e r i f y   t h e   s i g n a t u r e   i s   d i s c o v e r e d   f r o m   t h e   i s s u e r ' s   p u b l i c   e n d p o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_5_22866"
  },
  {
    "question": "What is Option 1 - OIDC authenticator?",
    "answer": "T h e   f i r s t   o p t i o n   i s   t o   u s e   t h e   k u b e c t l   o i d c   a u t h e n t i c a t o r ,   w h i c h   s e t s   t h e   i d _ t o k e n   a s   a   b e a r e r   t o k e n   f o r   a l l   r e q u e s t s   a n d   r e f r e s h e s   t h e   t o k e n   o n c e   i t   e x p i r e s .   A f t e r   y o u ' v e   l o g g e d   i n t o   y o u r   p r o v i d e r ,   u s e   k u b e c t l   t o   a d d   y o u r   i d _ t o k e n ,   r e f r e s h _ t o k e n ,   c l i e n t _ i d ,   a n d   c l i e n t _ s e c r e t   t o   c o n f i g u r e   t h e   p l u g i n .   P r o v i d e r s   t h a t   d o n ' t   r e t u r n   a n   i d _ t o k e n   a s   p a r t   o f   t h e i r   r e f r e s h   t o k e n   r e s p o n s e   a r e n ' t   s u p p o r t e d   b y   t h i s   p l u g i n   a n d   s h o u l d   u s e   O p t i o n   2   ( s p e c i f y i n g   - - t o k e n ) .   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   U S E R _ N A M E   \\   - - a u t h - p r o v i d e r = o i d c   \\   - - a u t h - p r o v i d e r - a r g = i d p - i s s u e r - u r l = (   i s s u e r   u r l   )   \\   - - a u t h - p r o v i d e r - a r g = c l i e n t - i d = (   y o u r   c l i e n t   i d   )   \\   - - a u t h - p r o v i d e r - a r g = c l i e n t - s e c r e t = (   y o u r   c l i e n t   s e c r e t   )   \\   - - a u t h - p r o v i d e r - a r g = r e f r e s h - t o k e n = (   y o u r   r e f r e s h   t o k e n   )   \\   - - a u t h - p r o v i d e r - a r g = i d p - c e r t i f i c a t e - a u t h o r i t y = (   p a t h   t o   y o u r   c a   c e r t i f i c a t e   )   \\   - - a u t h - p r o v i d e r - a r g = i d - t o k e n = (   y o u r   i d _ t o k e n   )   A s   a n   e x a m p l e ,   r u n n i n g   t h e   b e l o w   c o m m a n d   a f t e r   a u t h e n t i c a t i n g   t o   y o u r   i d e n t i t y   p r o v i d e r :   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   m m o s l e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_5_22867"
  },
  {
    "question": "What is Option 2 - Use the --token command line argument?",
    "answer": "T h e   k u b e c t l   c o m m a n d   l e t s   y o u   p a s s   i n   a   t o k e n   u s i n g   t h e   - - t o k e n   c o m m a n d   l i n e   a r g u m e n t .   C o p y   a n d   p a s t e   t h e   i d _ t o k e n   i n t o   t h i s   o p t i o n :   k u b e c t l   - - t o k e n = e y J h b G c i O i J S U z I 1 N i J 9 . e y J p c 3 M i O i J o d H R w c z o v L 2 1 s Y i 5 0 c m V t b 2 x v L m x h b j o 4 M D Q z L 2 F 1 d G g v a W R w L 2 9 p Z G M i L C J h d W Q i O i J r d W J l c m 5 l d G V z I i w i Z X h w I j o x N D c 0 N T k 2 N j Y 5 L C J q d G k i O i I 2 R D U z N X o x U E p F N j J O R 3 Q x a W V y Y m 9 R I i w i a W F 0 I j o x N D c 0 N T k 2 M z Y 5 L C J u Y m Y i O j E 0 N z Q 1 O T Y y N D k s I n N 1 Y i I 6 I m 1 3 a W 5 k d S I s I n V z Z X J f c m 9 s Z S I 6 W y J 1 c 2 V y c y I s I m 5 l d y 1 u Y W 1 l c 3 B h Y 2 U t d m l l d 2 V y I l 0 s I m V t Y W l s I j o i b X d p b m R 1 Q G 5 v b W 9 y Z W p l Z G k u Y 2 9 t I n 0 . f 2 A s 5 7 9 n 9 V N o a K z o F - d O Q G m X k F K f 1 F M y N V 0 - v a _ B 6 3 j n - _ n 9 L G S C c a _ 6 I V M P 8 p O - Z b 4 K v R q G y T P 0 r 3 H k H x Y y 5 c 8 1 A n I h 8 i j a r r u c z l - T K _ y F 5 a k j S T H F Z D - 0 g R z l e v B D i H 8 Q 7 9 N A r - k y 0 P 4 i I X S 8 l Y 9 V n j c h 5 M F 7 4 Z x 0 c 3 a l K J H J U n n p j I A C B y f F 2 S C a Y z b W F M U N a t - K 1 P a U k 5 - u j M B G 7 y Y n r 9 5 x D - 6 3 n 8 C O 8 t e G U A A E M x 6 z R j z f h n h b z X - a j w Z L G w G U B T 4 W q j M s 7 0 - 6 a 7 _ 8 g Z m L Z b 2 a z 1 c Z y n k F R j 2 B a C k V T 3 A 2 R r j e E w Z E t G X l M q K J 1 _ I 2 u l r O V s Y x 0 1 _ y D 3 5 - r w   g e t   n o d e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_5_22868"
  },
  {
    "question": "What is Webhook token authentication?",
    "answer": "K u b e r n e t e s   w e b h o o k   a u t h e n t i c a t i o n   i s   a   m e c h a n i s m   t o   m a k e   a n   H T T P   c a l l o u t   f o r   v e r i f y i n g   b e a r e r   t o k e n s .   I n   t e r m s   o f   h o w   y o u   c o n f i g u r e   t h e   A P I   s e r v e r :   - - a u t h e n t i c a t i o n - t o k e n - w e b h o o k - c o n f i g - f i l e   a   c o n f i g u r a t i o n   f i l e   d e s c r i b i n g   h o w   t o   a c c e s s   t h e   r e m o t e   w e b h o o k   s e r v i c e . - - a u t h e n t i c a t i o n - t o k e n - w e b h o o k - c a c h e - t t l   h o w   l o n g   t o   c a c h e   a u t h e n t i c a t i o n   d e c i s i o n s .   D e f a u l t s   t o   t w o   m i n u t e s . - - a u t h e n t i c a t i o n - t o k e n - w e b h o o k - v e r s i o n   d e t e r m i n e s   w h e t h e r   t o   u s e   a u t h e n t i c a t i o n . k 8 s . i o / v 1 b e t a 1   o r   a u t h e n t i c a t i o n . k 8 s . i o / v 1   T o k e n R e v i e w   o b j e c t s   t o   s e n d / r e c e i v e   i n f o r m a t i o n   f r o m   t h e   w e b h o o k .   D e f a u l t s   t o   v 1 b e t a 1 .   T h e   c o n f i g u r a t i o n   f i l e   u s e s   t h e   k u b e c o n f i g   f i l e   f o r m a t .   W i t h i n   t h e   f i l e ,   c l u s t e r s   r e f e r s   t o   t h e   r e m o t e   s e r v i c e   a n d   u s e r s   r e f e r s   t o   t h e   A P I   s e r v e r   w e b h o o k .   A n   e x a m p l e   w o u l d   b e :   #   K u b e r n e t e s   A P I   v e r s i o n   a p i V e r s i o n :   v 1   #   k i n d   o f   t h e   A P I   o b j e c t   k i n d :   C o n f i g   #   c l u s t e r s   r e f e r s   t o   t h e   r e m o t e   s e r v i c e .   c l u s t e r s :   -   n a m e :   n a m e - o f - r e m o t e - a u t h n - s e r v i c e   c l u s t e r :   c e r t i f i c a t e - a u t h o r i t y :   / p a t h / t o / c a . p e m   #   C A   f o r   v e r i f y i n g   t h e   r e m o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22869"
  },
  {
    "question": "What is Note:?",
    "answer": "{   \" a p i V e r s i o n \" :   \" a u t h e n t i c a t i o n . k 8 s . i o / v 1 \" ,   \" k i n d \" :   \" T o k e n R e v i e w \" ,   \" s p e c \" :   {   #   O p a q u e   b e a r e r   t o k e n   s e n t   t o   t h e   A P I   s e r v e r   \" t o k e n \" :   \" 0 1 4 f b f f 9 a 0 7 c . . . \" ,   #   O p t i o n a l   l i s t   o f   t h e   a u d i e n c e   i d e n t i f i e r s   f o r   t h e   s e r v e r   t h e   t o k e n   w a s   p r e s e n t e d   t o .   #   A u d i e n c e - a w a r e   t o k e n   a u t h e n t i c a t o r s   ( f o r   e x a m p l e ,   O I D C   t o k e n   a u t h e n t i c a t o r s )   #   s h o u l d   v e r i f y   t h e   t o k e n   w a s   i n t e n d e d   f o r   a t   l e a s t   o n e   o f   t h e   a u d i e n c e s   i n   t h i s   l i s t ,   #   a n d   r e t u r n   t h e   i n t e r s e c t i o n   o f   t h i s   l i s t   a n d   t h e   v a l i d   a u d i e n c e s   f o r   t h e   t o k e n   i n   t h e   r e s p o n s e   s t a t u s .   #   T h i s   e n s u r e s   t h e   t o k e n   i s   v a l i d   t o   a u t h e n t i c a t e   t o   t h e   s e r v e r   i t   w a s   p r e s e n t e d   t o .   #   I f   n o   a u d i e n c e s   a r e   p r o v i d e d ,   t h e   t o k e n   s h o u l d   b e   v a l i d a t e d   t o   a u t h e n t i c a t e   t o   t h e   K u b e r n e t e s   A P I   s e r v e r .   \" a u d i e n c e s \" :   [ \" h t t p s : / / m y s e r v e r . e x a m p l e . c o m \" ,   \" h t t p s : / / m y s e r v e r . i n t e r n a l . e x a m p l e . c o m \" ]   }   }   {   \" a p i V e r s i o n \" :   \" a u t h e n t i c a t i o n . k 8 s . i o / v 1 b e t a 1 \" ,   \" k i n d \" :   \" T o k e n R e v i e w \" ,   \" s p e c \" :   {   #   O p a q u e   b e a r e r   t o k e n   s e n t   t o   t h e   A P I   s e r v e r   \" t o k e n \" :   \" 0 1 4 f b f f 9 a 0 7 c . . . \" ,   #   O p t i o n a l   l i s t   o f   t h e   a u d i e n c e   i d e n t i f i e r s   f o r   t h e   s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22870"
  },
  {
    "question": "What is Warning:?",
    "answer": "T h e   A P I   s e r v e r   c a n   b e   c o n f i g u r e d   t o   i d e n t i f y   u s e r s   f r o m   r e q u e s t   h e a d e r   v a l u e s ,   s u c h   a s   X - R e m o t e - U s e r .   I t   i s   d e s i g n e d   f o r   u s e   i n   c o m b i n a t i o n   w i t h   a n   a u t h e n t i c a t i n g   p r o x y   t h a t   s e t s   t h e s e   h e a d e r s .   T h e   c o m m a n d   l i n e   a r g u m e n t s   t o   c o n f i g u r e   t h i s   m o d e   a r e :   F o r   e x a m p l e ,   w i t h   t h i s   c o n f i g u r a t i o n :   - - r e q u e s t h e a d e r - u s e r n a m e - h e a d e r s = X - R e m o t e - U s e r   - - r e q u e s t h e a d e r - g r o u p - h e a d e r s = X - R e m o t e - G r o u p   - - r e q u e s t h e a d e r - e x t r a - h e a d e r s - p r e f i x = X - R e m o t e - E x t r a -   t h i s   r e q u e s t :   G E T   /   H T T P / 1 . 1   X - R e m o t e - U s e r :   f i d o   X - R e m o t e - G r o u p :   d o g s   X - R e m o t e - G r o u p :   d a c h s h u n d s   X - R e m o t e - E x t r a - A c m e . c o m % 2 F p r o j e c t :   s o m e - p r o j e c t   X - R e m o t e - E x t r a - S c o p e s :   o p e n i d   X - R e m o t e - E x t r a - S c o p e s :   p r o f i l e   w o u l d   r e s u l t   i n   t h i s   u s e r   i n f o :   n a m e :   f i d o   g r o u p s :   -   d o g s   -   d a c h s h u n d s   e x t r a :   a c m e . c o m / p r o j e c t :   -   s o m e - p r o j e c t   s c o p e s :   -   o p e n i d   -   p r o f i l e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22871"
  },
  {
    "question": "What is Client certificate?",
    "answer": "I n   o r d e r   t o   p r e v e n t   h e a d e r   s p o o f i n g ,   t h e   a u t h e n t i c a t i n g   p r o x y   i s   r e q u i r e d   t o   p r e s e n t   a   v a l i d   c l i e n t   c e r t i f i c a t e   t o   t h e   A P I   s e r v e r   f o r   v a l i d a t i o n   a g a i n s t   t h e   s p e c i f i e d   C A   b e f o r e   t h e   r e q u e s t   h e a d e r s   a r e   c h e c k e d .   D o   n o t   r e u s e   a   C A   t h a t   i s   u s e d   i n   a   d i f f e r e n t   c o n t e x t   u n l e s s   y o u   u n d e r s t a n d   t h e   r i s k s   a n d   t h e   m e c h a n i s m s   t o   p r o t e c t   t h e   C A ' s   u s a g e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22872"
  },
  {
    "question": "What is Static token file integration?",
    "answer": "T h e   A P I   s e r v e r   r e a d s   s t a t i c   b e a r e r   t o k e n s   f r o m   a   f i l e   w h e n   g i v e n   t h e   - - t o k e n - a u t h - f i l e = < S O M E F I L E >   o p t i o n   o n   t h e   c o m m a n d   l i n e .   I n   K u b e r n e t e s   1 . 3 4 ,   t o k e n s   l a s t   i n d e f i n i t e l y ,   a n d   t h e   t o k e n   l i s t   c a n n o t   b e   c h a n g e d   w i t h o u t   r e s t a r t i n g   t h e   A P I   s e r v e r .   T h e   t o k e n   f i l e   i s   a   C S V   f i l e   w i t h   a   m i n i m u m   o f   3   c o l u m n s :   t o k e n ,   u s e r   n a m e ,   u s e r   u i d ,   f o l l o w e d   b y   a   c o m m a - s e p a r a t e d   l i s t   o f   o p t i o n a l   g r o u p   n a m e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22873"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   y o u   h a v e   m o r e   t h a n   o n e   g r o u p ,   t h e   c o l u m n   m u s t   b e   d o u b l e   q u o t e d   e . g .   t o k e n , u s e r , u i d , \" g r o u p 1 , g r o u p 2 , g r o u p 3 \"   U s i n g   a   s t a t i c   t o k e n   f i l e   i s   a p p r o p r i a t e   f o r   t o k e n s   t h a t   b y   t h e i r   n a t u r e   a r e   l o n g - l i v e d ,   s t a t i c ,   a n d   p e r h a p s   m a y   n e v e r   b e   r o t a t e d .   I t   i s   a l s o   u s e f u l   w h e n   t h e   c l i e n t   i s   l o c a l   t o   a   p a r t i c u l a r   A P I   s e r v e r   w i t h i n   t h e   c o n t r o l   p l a n e ,   s u c h   a s   a   m o n i t o r i n g   a g e n t .   I f   y o u   u s e   t h i s   m e t h o d   d u r i n g   c l u s t e r   p r o v i s i o n i n g ,   a n d   t h e n   t r a n s i t i o n   t o   a   d i f f e r e n t   a u t h e n t i c a t i o n   m e t h o d   t h a t   w i l l   b e   u s e d   l o n g e r   t e r m ,   y o u   s h o u l d   d e a c t i v a t e   t h e   t o k e n   t h a t   w a s   u s e d   f o r   b o o t s t r a p p i n g   ( t h i s   r e q u i r e s   a   r e s t a r t   o f   e a c h   A P I   s e r v e r .   F o r   o t h e r   c i r c u m s t a n c e s ,   a n d   e s p e c i a l l y   w h e r e   v e r y   p r o m p t   t o k e n   r o t a t i o n   i s   i m p o r t a n t ,   t h e   K u b e r n e t e s   p r o j e c t   r e c o m m e n d s   u s i n g   a   w e b h o o k   t o k e n   a u t h e n t i c a t o r   i n s t e a d   o f   t h i s   m e c h a n i s m .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22874"
  },
  {
    "question": "What is Anonymous requests?",
    "answer": "W h e n   e n a b l e d ,   r e q u e s t s   t h a t   a r e   n o t   r e j e c t e d   b y   o t h e r   c o n f i g u r e d   a u t h e n t i c a t i o n   m e t h o d s   a r e   t r e a t e d   a s   a n o n y m o u s   r e q u e s t s ,   a n d   g i v e n   a   u s e r n a m e   o f   s y s t e m : a n o n y m o u s   a n d   a   g r o u p   o f   s y s t e m : u n a u t h e n t i c a t e d .   F o r   e x a m p l e ,   o n   a   s e r v e r   w i t h   t o k e n   a u t h e n t i c a t i o n   c o n f i g u r e d ,   a n d   a n o n y m o u s   a c c e s s   e n a b l e d ,   a   r e q u e s t   p r o v i d i n g   a n   i n v a l i d   b e a r e r   t o k e n   w o u l d   r e c e i v e   a   4 0 1   U n a u t h o r i z e d   e r r o r .   A   r e q u e s t   p r o v i d i n g   n o   b e a r e r   t o k e n   w o u l d   b e   t r e a t e d   a s   a n   a n o n y m o u s   r e q u e s t .   I n   1 . 5 . 1 - 1 . 5 . x ,   a n o n y m o u s   a c c e s s   i s   d i s a b l e d   b y   d e f a u l t ,   a n d   c a n   b e   e n a b l e d   b y   p a s s i n g   t h e   - - a n o n y m o u s - a u t h = t r u e   o p t i o n   t o   t h e   A P I   s e r v e r .   I n   1 . 6 + ,   a n o n y m o u s   a c c e s s   i s   e n a b l e d   b y   d e f a u l t   i f   a n   a u t h o r i z a t i o n   m o d e   o t h e r   t h a n   A l w a y s A l l o w   i s   u s e d ,   a n d   c a n   b e   d i s a b l e d   b y   p a s s i n g   t h e   - - a n o n y m o u s - a u t h = f a l s e   o p t i o n   t o   t h e   A P I   s e r v e r .   S t a r t i n g   i n   1 . 6 ,   t h e   A B A C   a n d   R B A C   a u t h o r i z e r s   r e q u i r e   e x p l i c i t   a u t h o r i z a t i o n   o f   t h e   s y s t e m : a n o n y m o u s   u s e r   o r   t h e   s y s t e m : u n a u t h e n t i c a t e d   g r o u p ,   s o   l e g a c y   p o l i c y   r u l e s   t h a t   g r a n t   a c c e s s   t o   t h e   *   u s e r   o r   *   g r o u p   d o   n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22875"
  },
  {
    "question": "What is Anonymous Authenticator Configuration?",
    "answer": "T h e   A u t h e n t i c a t i o n C o n f i g u r a t i o n   c a n   b e   u s e d   t o   c o n f i g u r e   t h e   a n o n y m o u s   a u t h e n t i c a t o r .   I f   y o u   s e t   t h e   a n o n y m o u s   f i e l d   i n   t h e   A u t h e n t i c a t i o n C o n f i g u r a t i o n   f i l e   t h e n   y o u   c a n n o t   s e t   t h e   - - a n o n y m o u s - a u t h   f l a g .   T h e   m a i n   a d v a n t a g e   o f   c o n f i g u r i n g   a n o n y m o u s   a u t h e n t i c a t o r   u s i n g   t h e   a u t h e n t i c a t i o n   c o n f i g u r a t i o n   f i l e   i s   t h a t   i n   a d d i t i o n   t o   e n a b l i n g   a n d   d i s a b l i n g   a n o n y m o u s   a u t h e n t i c a t i o n   y o u   c a n   a l s o   c o n f i g u r e   w h i c h   e n d p o i n t s   s u p p o r t   a n o n y m o u s   a u t h e n t i c a t i o n .   A   s a m p l e   a u t h e n t i c a t i o n   c o n f i g u r a t i o n   f i l e   i s   b e l o w :   - - -   #   #   C A U T I O N :   t h i s   i s   a n   e x a m p l e   c o n f i g u r a t i o n .   #   D o   n o t   u s e   t h i s   f o r   y o u r   o w n   c l u s t e r !   #   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   A u t h e n t i c a t i o n C o n f i g u r a t i o n   a n o n y m o u s :   e n a b l e d :   t r u e   c o n d i t i o n s :   -   p a t h :   / l i v e z   -   p a t h :   / r e a d y z   -   p a t h :   / h e a l t h z   I n   t h e   c o n f i g u r a t i o n   a b o v e   o n l y   t h e   / l i v e z ,   / r e a d y z   a n d   / h e a l t h z   e n d p o i n t s   a r e   r e a c h a b l e   b y   a n o n y m o u s   r e q u e s t s .   A n y   o t h e r   e n d p o i n t s   w i l l   n o t   b e   r e a c h a b l e   e v e n   i f   i t   i s   a l l o w e d   b y   R B A C   c o n f i g u r a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22876"
  },
  {
    "question": "What is User impersonation?",
    "answer": "A   u s e r   c a n   a c t   a s   a n o t h e r   u s e r   t h r o u g h   i m p e r s o n a t i o n   h e a d e r s .   T h e s e   l e t   r e q u e s t s   m a n u a l l y   o v e r r i d e   t h e   u s e r   i n f o   a   r e q u e s t   a u t h e n t i c a t e s   a s .   F o r   e x a m p l e ,   a n   a d m i n   c o u l d   u s e   t h i s   f e a t u r e   t o   d e b u g   a n   a u t h o r i z a t i o n   p o l i c y   b y   t e m p o r a r i l y   i m p e r s o n a t i n g   a n o t h e r   u s e r   a n d   s e e i n g   i f   a   r e q u e s t   w a s   d e n i e d .   I m p e r s o n a t i o n   r e q u e s t s   f i r s t   a u t h e n t i c a t e   a s   t h e   r e q u e s t i n g   u s e r ,   t h e n   s w i t c h   t o   t h e   i m p e r s o n a t e d   u s e r   i n f o .   A   u s e r   m a k e s   a n   A P I   c a l l   w i t h   t h e i r   c r e d e n t i a l s   a n d   i m p e r s o n a t i o n   h e a d e r s . A P I   s e r v e r   a u t h e n t i c a t e s   t h e   u s e r . A P I   s e r v e r   e n s u r e s   t h e   a u t h e n t i c a t e d   u s e r s   h a v e   i m p e r s o n a t i o n   p r i v i l e g e s . R e q u e s t   u s e r   i n f o   i s   r e p l a c e d   w i t h   i m p e r s o n a t i o n   v a l u e s . R e q u e s t   i s   e v a l u a t e d ,   a u t h o r i z a t i o n   a c t s   o n   i m p e r s o n a t e d   u s e r   i n f o .   T h e   f o l l o w i n g   H T T P   h e a d e r s   c a n   b e   u s e d   t o   p e r f o r m i n g   a n   i m p e r s o n a t i o n   r e q u e s t :   I m p e r s o n a t e - U s e r :   T h e   u s e r n a m e   t o   a c t   a s . I m p e r s o n a t e - G r o u p :   A   g r o u p   n a m e   t o   a c t   a s .   C a n   b e   p r o v i d e d   m u l t i p l e   t i m e s   t o   s e t   m u l t i p l e   g r o u p s .   O p t i o n a l .   R e q u i r e s   \" I m p e r s o n a t e - U s e r \" . I m p e r s o n a t e - E x t r a - (   e x t r a   n a m e   ) : ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22877"
  },
  {
    "question": "What is Note:?",
    "answer": "A n   e x a m p l e   o f   t h e   i m p e r s o n a t i o n   h e a d e r s   u s e d   w h e n   i m p e r s o n a t i n g   a   u s e r   w i t h   g r o u p s :   I m p e r s o n a t e - U s e r :   j a n e . d o e @ e x a m p l e . c o m   I m p e r s o n a t e - G r o u p :   d e v e l o p e r s   I m p e r s o n a t e - G r o u p :   a d m i n s   A n   e x a m p l e   o f   t h e   i m p e r s o n a t i o n   h e a d e r s   u s e d   w h e n   i m p e r s o n a t i n g   a   u s e r   w i t h   a   U I D   a n d   e x t r a   f i e l d s :   I m p e r s o n a t e - U s e r :   j a n e . d o e @ e x a m p l e . c o m   I m p e r s o n a t e - E x t r a - d n :   c n = j a n e , o u = e n g i n e e r s , d c = e x a m p l e , d c = c o m   I m p e r s o n a t e - E x t r a - a c m e . c o m % 2 F p r o j e c t :   s o m e - p r o j e c t   I m p e r s o n a t e - E x t r a - s c o p e s :   v i e w   I m p e r s o n a t e - E x t r a - s c o p e s :   d e v e l o p m e n t   I m p e r s o n a t e - U i d :   0 6 f 6 c e 9 7 - e 2 c 5 - 4 a b 8 - 7 b a 5 - 7 6 5 4 d d 0 8 d 5 2 b   W h e n   u s i n g   k u b e c t l   s e t   t h e   - - a s   c o m m a n d   l i n e   a r g u m e n t   t o   c o n f i g u r e   t h e   I m p e r s o n a t e - U s e r   h e a d e r ,   y o u   c a n   a l s o   s e t   t h e   - - a s - g r o u p   f l a g   t o   c o n f i g u r e   t h e   I m p e r s o n a t e - G r o u p   h e a d e r .   k u b e c t l   d r a i n   m y n o d e   E r r o r   f r o m   s e r v e r   ( F o r b i d d e n ) :   U s e r   \" c l a r k \"   c a n n o t   g e t   n o d e s   a t   t h e   c l u s t e r   s c o p e .   ( g e t   n o d e s   m y n o d e )   S e t   t h e   - - a s   a n d   - - a s - g r o u p   f l a g :   k u b e c t l   d r a i n   m y n o d e   - - a s = s u p e r m a n   - - a s - g r o u p = s y s t e m : m a s t e r s   n o d e / m y n o d e   c o r d o n e d   n o d e / m y n o d e   d r a i n e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22878"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   i m p e r s o n a t e   a   u s e r ,   g r o u p ,   u s e r   i d e n t i f i e r   ( U I D )   o r   e x t r a   f i e l d s ,   t h e   i m p e r s o n a t i n g   u s e r   m u s t   h a v e   t h e   a b i l i t y   t o   p e r f o r m   t h e   i m p e r s o n a t e   v e r b   o n   t h e   k i n d   o f   a t t r i b u t e   b e i n g   i m p e r s o n a t e d   ( \" u s e r \" ,   \" g r o u p \" ,   \" u i d \" ,   e t c . ) .   F o r   c l u s t e r s   t h a t   e n a b l e   t h e   R B A C   a u t h o r i z a t i o n   p l u g i n ,   t h e   f o l l o w i n g   C l u s t e r R o l e   e n c o m p a s s e s   t h e   r u l e s   n e e d e d   t o   s e t   u s e r   a n d   g r o u p   i m p e r s o n a t i o n   h e a d e r s :   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   n a m e :   i m p e r s o n a t o r   r u l e s :   -   a p i G r o u p s :   [ \" \" ]   r e s o u r c e s :   [ \" u s e r s \" ,   \" g r o u p s \" ,   \" s e r v i c e a c c o u n t s \" ]   v e r b s :   [ \" i m p e r s o n a t e \" ]   F o r   i m p e r s o n a t i o n ,   e x t r a   f i e l d s   a n d   i m p e r s o n a t e d   U I D s   a r e   b o t h   u n d e r   t h e   \" a u t h e n t i c a t i o n . k 8 s . i o \"   a p i G r o u p .   E x t r a   f i e l d s   a r e   e v a l u a t e d   a s   s u b - r e s o u r c e s   o f   t h e   r e s o u r c e   \" u s e r e x t r a s \" .   T o   a l l o w   a   u s e r   t o   u s e   i m p e r s o n a t i o n   h e a d e r s   f o r   t h e   e x t r a   f i e l d   s c o p e s   a n d   f o r   U I D s ,   a   u s e r   s h o u l d   b e   g r a n t e d   t h e   f o l l o w i n g   r o l e :   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   n a m e :   s c o p e s - a n d - u i d - i m p e r s o n a t o r   r u l e s :   #   C a n   s e t   \" I m p ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22879"
  },
  {
    "question": "What is client-go credential plugins?",
    "answer": "k 8 s . i o / c l i e n t - g o   a n d   t o o l s   u s i n g   i t   s u c h   a s   k u b e c t l   a n d   k u b e l e t   a r e   a b l e   t o   e x e c u t e   a n   e x t e r n a l   c o m m a n d   t o   r e c e i v e   u s e r   c r e d e n t i a l s .   T h i s   f e a t u r e   i s   i n t e n d e d   f o r   c l i e n t   s i d e   i n t e g r a t i o n s   w i t h   a u t h e n t i c a t i o n   p r o t o c o l s   n o t   n a t i v e l y   s u p p o r t e d   b y   k 8 s . i o / c l i e n t - g o   ( L D A P ,   K e r b e r o s ,   O A u t h 2 ,   S A M L ,   e t c . ) .   T h e   p l u g i n   i m p l e m e n t s   t h e   p r o t o c o l   s p e c i f i c   l o g i c ,   t h e n   r e t u r n s   o p a q u e   c r e d e n t i a l s   t o   u s e .   A l m o s t   a l l   c r e d e n t i a l   p l u g i n   u s e   c a s e s   r e q u i r e   a   s e r v e r   s i d e   c o m p o n e n t   w i t h   s u p p o r t   f o r   t h e   w e b h o o k   t o k e n   a u t h e n t i c a t o r   t o   i n t e r p r e t   t h e   c r e d e n t i a l   f o r m a t   p r o d u c e d   b y   t h e   c l i e n t   p l u g i n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22880"
  },
  {
    "question": "What is Example use case?",
    "answer": "I n   a   h y p o t h e t i c a l   u s e   c a s e ,   a n   o r g a n i z a t i o n   w o u l d   r u n   a n   e x t e r n a l   s e r v i c e   t h a t   e x c h a n g e s   L D A P   c r e d e n t i a l s   f o r   u s e r   s p e c i f i c ,   s i g n e d   t o k e n s .   T h e   s e r v i c e   w o u l d   a l s o   b e   c a p a b l e   o f   r e s p o n d i n g   t o   w e b h o o k   t o k e n   a u t h e n t i c a t o r   r e q u e s t s   t o   v a l i d a t e   t h e   t o k e n s .   U s e r s   w o u l d   b e   r e q u i r e d   t o   i n s t a l l   a   c r e d e n t i a l   p l u g i n   o n   t h e i r   w o r k s t a t i o n .   T o   a u t h e n t i c a t e   a g a i n s t   t h e   A P I :   T h e   u s e r   i s s u e s   a   k u b e c t l   c o m m a n d . C r e d e n t i a l   p l u g i n   p r o m p t s   t h e   u s e r   f o r   L D A P   c r e d e n t i a l s ,   e x c h a n g e s   c r e d e n t i a l s   w i t h   e x t e r n a l   s e r v i c e   f o r   a   t o k e n . C r e d e n t i a l   p l u g i n   r e t u r n s   t o k e n   t o   c l i e n t - g o ,   w h i c h   u s e s   i t   a s   a   b e a r e r   t o k e n   a g a i n s t   t h e   A P I   s e r v e r . A P I   s e r v e r   u s e s   t h e   w e b h o o k   t o k e n   a u t h e n t i c a t o r   t o   s u b m i t   a   T o k e n R e v i e w   t o   t h e   e x t e r n a l   s e r v i c e . E x t e r n a l   s e r v i c e   v e r i f i e s   t h e   s i g n a t u r e   o n   t h e   t o k e n   a n d   r e t u r n s   t h e   u s e r ' s   u s e r n a m e   a n d   g r o u p s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22881"
  },
  {
    "question": "What is Configuration?",
    "answer": "C r e d e n t i a l   p l u g i n s   a r e   c o n f i g u r e d   t h r o u g h   k u b e c t l   c o n f i g   f i l e s   a s   p a r t   o f   t h e   u s e r   f i e l d s .   a p i V e r s i o n :   v 1   k i n d :   C o n f i g   u s e r s :   -   n a m e :   m y - u s e r   u s e r :   e x e c :   #   C o m m a n d   t o   e x e c u t e .   R e q u i r e d .   c o m m a n d :   \" e x a m p l e - c l i e n t - g o - e x e c - p l u g i n \"   #   A P I   v e r s i o n   t o   u s e   w h e n   d e c o d i n g   t h e   E x e c C r e d e n t i a l s   r e s o u r c e .   R e q u i r e d .   #   #   T h e   A P I   v e r s i o n   r e t u r n e d   b y   t h e   p l u g i n   M U S T   m a t c h   t h e   v e r s i o n   l i s t e d   h e r e .   #   #   T o   i n t e g r a t e   w i t h   t o o l s   t h a t   s u p p o r t   m u l t i p l e   v e r s i o n s   ( s u c h   a s   c l i e n t . a u t h e n t i c a t i o n . k 8 s . i o / v 1 b e t a 1 ) ,   #   s e t   a n   e n v i r o n m e n t   v a r i a b l e ,   p a s s   a n   a r g u m e n t   t o   t h e   t o o l   t h a t   i n d i c a t e s   w h i c h   v e r s i o n   t h e   e x e c   p l u g i n   e x p e c t s ,   #   o r   r e a d   t h e   v e r s i o n   f r o m   t h e   E x e c C r e d e n t i a l   o b j e c t   i n   t h e   K U B E R N E T E S _ E X E C _ I N F O   e n v i r o n m e n t   v a r i a b l e .   a p i V e r s i o n :   \" c l i e n t . a u t h e n t i c a t i o n . k 8 s . i o / v 1 \"   #   E n v i r o n m e n t   v a r i a b l e s   t o   s e t   w h e n   e x e c u t i n g   t h e   p l u g i n .   O p t i o n a l .   e n v :   -   n a m e :   \" F O O \"   v a l u e :   \" b a r \"   #   A r g u m e n t s   t o   p a s s   w h e n   e x e c u t i n g   t h e   p l u g i n .   O p t i o n a l .   a r g s :   -   \" a r g 1 \"   -   \" a r g 2 \"   #   T e x t   s h o w n   t o   t h e   u s e r   w h e n   t h e   e x e c u t a b l e   d o e s n ' t   s e e m   t o   b e   p r e s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22882"
  },
  {
    "question": "What is Input and output formats?",
    "answer": "T h e   e x e c u t e d   c o m m a n d   p r i n t s   a n   E x e c C r e d e n t i a l   o b j e c t   t o   s t d o u t .   k 8 s . i o / c l i e n t - g o   a u t h e n t i c a t e s   a g a i n s t   t h e   K u b e r n e t e s   A P I   u s i n g   t h e   r e t u r n e d   c r e d e n t i a l s   i n   t h e   s t a t u s .   T h e   e x e c u t e d   c o m m a n d   i s   p a s s e d   a n   E x e c C r e d e n t i a l   o b j e c t   a s   i n p u t   v i a   t h e   K U B E R N E T E S _ E X E C _ I N F O   e n v i r o n m e n t   v a r i a b l e .   T h i s   i n p u t   c o n t a i n s   h e l p f u l   i n f o r m a t i o n   l i k e   t h e   e x p e c t e d   A P I   v e r s i o n   o f   t h e   r e t u r n e d   E x e c C r e d e n t i a l   o b j e c t   a n d   w h e t h e r   o r   n o t   t h e   p l u g i n   c a n   u s e   s t d i n   t o   i n t e r a c t   w i t h   t h e   u s e r .   W h e n   r u n   f r o m   a n   i n t e r a c t i v e   s e s s i o n   ( i . e . ,   a   t e r m i n a l ) ,   s t d i n   c a n   b e   e x p o s e d   d i r e c t l y   t o   t h e   p l u g i n .   P l u g i n s   s h o u l d   u s e   t h e   s p e c . i n t e r a c t i v e   f i e l d   o f   t h e   i n p u t   E x e c C r e d e n t i a l   o b j e c t   f r o m   t h e   K U B E R N E T E S _ E X E C _ I N F O   e n v i r o n m e n t   v a r i a b l e   i n   o r d e r   t o   d e t e r m i n e   i f   s t d i n   h a s   b e e n   p r o v i d e d .   A   p l u g i n ' s   s t d i n   r e q u i r e m e n t s   ( i . e . ,   w h e t h e r   s t d i n   i s   o p t i o n a l ,   s t r i c t l y   r e q u i r e d ,   o r   n e v e r   u s e d   i n   o r d e r   f o r   t h e   p l u g i n   t o   r u n   s u c c e s s f u l l y )   i s   d e c l a r e d   v i a   t h e   u s e r . e x e c . i n t e r a c t i v e M o d e   f i e l d   i n   t h e   k u b e c o n f i g   ( s e e   t a b l e   b e l o w   f o r   v a l i d   v a l u e s ) .   T h e   u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22883"
  },
  {
    "question": "What is API access to authentication information for a client?",
    "answer": "I f   y o u r   c l u s t e r   h a s   t h e   A P I   e n a b l e d ,   y o u   c a n   u s e   t h e   S e l f S u b j e c t R e v i e w   A P I   t o   f i n d   o u t   h o w   y o u r   K u b e r n e t e s   c l u s t e r   m a p s   y o u r   a u t h e n t i c a t i o n   i n f o r m a t i o n   t o   i d e n t i f y   y o u   a s   a   c l i e n t .   T h i s   w o r k s   w h e t h e r   y o u   a r e   a u t h e n t i c a t i n g   a s   a   u s e r   ( t y p i c a l l y   r e p r e s e n t i n g   a   r e a l   p e r s o n )   o r   a s   a   S e r v i c e A c c o u n t .   S e l f S u b j e c t R e v i e w   o b j e c t s   d o   n o t   h a v e   a n y   c o n f i g u r a b l e   f i e l d s .   O n   r e c e i v i n g   a   r e q u e s t ,   t h e   K u b e r n e t e s   A P I   s e r v e r   f i l l s   t h e   s t a t u s   w i t h   t h e   u s e r   a t t r i b u t e s   a n d   r e t u r n s   i t   t o   t h e   u s e r .   R e q u e s t   e x a m p l e   ( t h e   b o d y   w o u l d   b e   a   S e l f S u b j e c t R e v i e w ) :   P O S T   / a p i s / a u t h e n t i c a t i o n . k 8 s . i o / v 1 / s e l f s u b j e c t r e v i e w s   {   \" a p i V e r s i o n \" :   \" a u t h e n t i c a t i o n . k 8 s . i o / v 1 \" ,   \" k i n d \" :   \" S e l f S u b j e c t R e v i e w \"   }   R e s p o n s e   e x a m p l e :   {   \" a p i V e r s i o n \" :   \" a u t h e n t i c a t i o n . k 8 s . i o / v 1 \" ,   \" k i n d \" :   \" S e l f S u b j e c t R e v i e w \" ,   \" s t a t u s \" :   {   \" u s e r I n f o \" :   {   \" n a m e \" :   \" j a n e . d o e \" ,   \" u i d \" :   \" b 6 c 7 c f d 4 - f 1 6 6 - 1 1 e c - 8 e a 0 - 0 2 4 2 a c 1 2 0 0 0 2 \" ,   \" g r o u p s \" :   [   \" v i e w e r s \" ,   \" e d i t o r s \" ,   \" s y s t e m : a u t h e n t i c a t e d \"   ] ,   \" e x t r a \" :   {   \" p r o v i d e r _ i d \" :   [ \" t o k e n . c o m p a n y . e x a m p l e \" ]   }   }   }   }   F o r   c o n v e n i e n c e ,   t h e   k u b e c t l   a u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22884"
  },
  {
    "question": "What is Note:?",
    "answer": "B y   d e f a u l t ,   a l l   a u t h e n t i c a t e d   u s e r s   c a n   c r e a t e   S e l f S u b j e c t R e v i e w   o b j e c t s   w h e n   t h e   A P I S e l f S u b j e c t R e v i e w   f e a t u r e   i s   e n a b l e d .   I t   i s   a l l o w e d   b y   t h e   s y s t e m : b a s i c - u s e r   c l u s t e r   r o l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22885"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   o n l y   m a k e   S e l f S u b j e c t R e v i e w   r e q u e s t s   i f :   t h e   A P I S e l f S u b j e c t R e v i e w   f e a t u r e   g a t e   i s   e n a b l e d   f o r   y o u r   c l u s t e r   ( n o t   n e e d e d   f o r   K u b e r n e t e s   1 . 3 4 ,   b u t   o l d e r   K u b e r n e t e s   v e r s i o n s   m i g h t   n o t   o f f e r   t h i s   f e a t u r e   g a t e ,   o r   m i g h t   d e f a u l t   i t   t o   b e   o f f ) ( i f   y o u   a r e   r u n n i n g   a   v e r s i o n   o f   K u b e r n e t e s   o l d e r   t h a n   v 1 . 2 8 )   t h e   A P I   s e r v e r   f o r   y o u r   c l u s t e r   h a s   t h e   a u t h e n t i c a t i o n . k 8 s . i o / v 1 a l p h a 1   o r   a u t h e n t i c a t i o n . k 8 s . i o / v 1 b e t a 1   A P I   g r o u p   e n a b l e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22886"
  },
  {
    "question": "What is What's next?",
    "answer": "T o   l e a r n   a b o u t   i s s u i n g   c e r t i f i c a t e s   f o r   u s e r s ,   r e a d   I s s u e   a   C e r t i f i c a t e   f o r   a   K u b e r n e t e s   A P I   C l i e n t   U s i n g   A   C e r t i f i c a t e S i g n i n g R e q u e s t R e a d   t h e   c l i e n t   a u t h e n t i c a t i o n   r e f e r e n c e   ( v 1 ) R e a d   t h e   c l i e n t   a u t h e n t i c a t i o n   r e f e r e n c e   ( v 1 b e t a 1 )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22887"
  },
  {
    "question": "What is 3.2 - Authenticating with Bootstrap Tokens?",
    "answer": "B o o t s t r a p   t o k e n s   a r e   a   s i m p l e   b e a r e r   t o k e n   t h a t   i s   m e a n t   t o   b e   u s e d   w h e n   c r e a t i n g   n e w   c l u s t e r s   o r   j o i n i n g   n e w   n o d e s   t o   a n   e x i s t i n g   c l u s t e r .   I t   w a s   b u i l t   t o   s u p p o r t   k u b e a d m ,   b u t   c a n   b e   u s e d   i n   o t h e r   c o n t e x t s   f o r   u s e r s   t h a t   w i s h   t o   s t a r t   c l u s t e r s   w i t h o u t   k u b e a d m .   I t   i s   a l s o   b u i l t   t o   w o r k ,   v i a   R B A C   p o l i c y ,   w i t h   t h e   k u b e l e t   T L S   B o o t s t r a p p i n g   s y s t e m .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_22888"
  },
  {
    "question": "What is Bootstrap Tokens Overview?",
    "answer": "B o o t s t r a p   T o k e n s   a r e   d e f i n e d   w i t h   a   s p e c i f i c   t y p e   ( b o o t s t r a p . k u b e r n e t e s . i o / t o k e n )   o f   s e c r e t s   t h a t   l i v e s   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   T h e s e   S e c r e t s   a r e   t h e n   r e a d   b y   t h e   B o o t s t r a p   A u t h e n t i c a t o r   i n   t h e   A P I   S e r v e r .   E x p i r e d   t o k e n s   a r e   r e m o v e d   w i t h   t h e   T o k e n C l e a n e r   c o n t r o l l e r   i n   t h e   C o n t r o l l e r   M a n a g e r .   T h e   t o k e n s   a r e   a l s o   u s e d   t o   c r e a t e   a   s i g n a t u r e   f o r   a   s p e c i f i c   C o n f i g M a p   u s e d   i n   a   \" d i s c o v e r y \"   p r o c e s s   t h r o u g h   a   B o o t s t r a p S i g n e r   c o n t r o l l e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22889"
  },
  {
    "question": "What is Token Format?",
    "answer": "B o o t s t r a p   T o k e n s   t a k e   t h e   f o r m   o f   a b c d e f . 0 1 2 3 4 5 6 7 8 9 a b c d e f .   M o r e   f o r m a l l y ,   t h e y   m u s t   m a t c h   t h e   r e g u l a r   e x p r e s s i o n   [ a - z 0 - 9 ] { 6 } \\ . [ a - z 0 - 9 ] { 1 6 } .   T h e   f i r s t   p a r t   o f   t h e   t o k e n   i s   t h e   \" T o k e n   I D \"   a n d   i s   c o n s i d e r e d   p u b l i c   i n f o r m a t i o n .   I t   i s   u s e d   w h e n   r e f e r r i n g   t o   a   t o k e n   w i t h o u t   l e a k i n g   t h e   s e c r e t   p a r t   u s e d   f o r   a u t h e n t i c a t i o n .   T h e   s e c o n d   p a r t   i s   t h e   \" T o k e n   S e c r e t \"   a n d   s h o u l d   o n l y   b e   s h a r e d   w i t h   t r u s t e d   p a r t i e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22890"
  },
  {
    "question": "What is Enabling Bootstrap Token Authentication?",
    "answer": "T h e   B o o t s t r a p   T o k e n   a u t h e n t i c a t o r   c a n   b e   e n a b l e d   u s i n g   t h e   f o l l o w i n g   f l a g   o n   t h e   A P I   s e r v e r :   - - e n a b l e - b o o t s t r a p - t o k e n - a u t h   W h e n   e n a b l e d ,   b o o t s t r a p p i n g   t o k e n s   c a n   b e   u s e d   a s   b e a r e r   t o k e n   c r e d e n t i a l s   t o   a u t h e n t i c a t e   r e q u e s t s   a g a i n s t   t h e   A P I   s e r v e r .   A u t h o r i z a t i o n :   B e a r e r   0 7 4 0 1 b . f 3 9 5 a c c d 2 4 6 a e 5 2 d   T o k e n s   a u t h e n t i c a t e   a s   t h e   u s e r n a m e   s y s t e m : b o o t s t r a p : < t o k e n   i d >   a n d   a r e   m e m b e r s   o f   t h e   g r o u p   s y s t e m : b o o t s t r a p p e r s .   A d d i t i o n a l   g r o u p s   m a y   b e   s p e c i f i e d   i n   t h e   t o k e n ' s   S e c r e t .   E x p i r e d   t o k e n s   c a n   b e   d e l e t e d   a u t o m a t i c a l l y   b y   e n a b l i n g   t h e   t o k e n c l e a n e r   c o n t r o l l e r   o n   t h e   c o n t r o l l e r   m a n a g e r .   - - c o n t r o l l e r s = * , t o k e n c l e a n e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22891"
  },
  {
    "question": "What is Bootstrap Token Secret Format?",
    "answer": "E a c h   v a l i d   t o k e n   i s   b a c k e d   b y   a   s e c r e t   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   Y o u   c a n   f i n d   t h e   f u l l   d e s i g n   d o c   h e r e .   H e r e   i s   w h a t   t h e   s e c r e t   l o o k s   l i k e .   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   m e t a d a t a :   #   N a m e   M U S T   b e   o f   f o r m   \" b o o t s t r a p - t o k e n - < t o k e n   i d > \"   n a m e :   b o o t s t r a p - t o k e n - 0 7 4 0 1 b   n a m e s p a c e :   k u b e - s y s t e m   #   T y p e   M U S T   b e   ' b o o t s t r a p . k u b e r n e t e s . i o / t o k e n '   t y p e :   b o o t s t r a p . k u b e r n e t e s . i o / t o k e n   s t r i n g D a t a :   #   H u m a n   r e a d a b l e   d e s c r i p t i o n .   O p t i o n a l .   d e s c r i p t i o n :   \" T h e   d e f a u l t   b o o t s t r a p   t o k e n   g e n e r a t e d   b y   ' k u b e a d m   i n i t ' . \"   #   T o k e n   I D   a n d   s e c r e t .   R e q u i r e d .   t o k e n - i d :   0 7 4 0 1 b   t o k e n - s e c r e t :   f 3 9 5 a c c d 2 4 6 a e 5 2 d   #   E x p i r a t i o n .   O p t i o n a l .   e x p i r a t i o n :   2 0 1 7 - 0 3 - 1 0 T 0 3 : 2 2 : 1 1 Z   #   A l l o w e d   u s a g e s .   u s a g e - b o o t s t r a p - a u t h e n t i c a t i o n :   \" t r u e \"   u s a g e - b o o t s t r a p - s i g n i n g :   \" t r u e \"   #   E x t r a   g r o u p s   t o   a u t h e n t i c a t e   t h e   t o k e n   a s .   M u s t   s t a r t   w i t h   \" s y s t e m : b o o t s t r a p p e r s : \"   a u t h - e x t r a - g r o u p s :   s y s t e m : b o o t s t r a p p e r s : w o r k e r , s y s t e m : b o o t s t r a p p e r s : i n g r e s s   T h e   t y p e   o f   t h e   s e c r e t   m u s t   b e   b o o t s t r a p . k u b e r n e t e s . i o / t o k e n   a n d   t h e   n a m e   m u s t   b e   b o o t s t r a p - t o k e n - < t o k e n   i d > .   I t   m u s t   a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22892"
  },
  {
    "question": "What is Token Management with kubeadm?",
    "answer": "Y o u   c a n   u s e   t h e   k u b e a d m   t o o l   t o   m a n a g e   t o k e n s   o n   a   r u n n i n g   c l u s t e r .   S e e   t h e   k u b e a d m   t o k e n   d o c s   f o r   d e t a i l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22893"
  },
  {
    "question": "What is ConfigMap Signing?",
    "answer": "I n   a d d i t i o n   t o   a u t h e n t i c a t i o n ,   t h e   t o k e n s   c a n   b e   u s e d   t o   s i g n   a   C o n f i g M a p .   T h i s   i s   u s e d   e a r l y   i n   a   c l u s t e r   b o o t s t r a p   p r o c e s s   b e f o r e   t h e   c l i e n t   t r u s t s   t h e   A P I   s e r v e r .   T h e   s i g n e d   C o n f i g M a p   c a n   b e   a u t h e n t i c a t e d   b y   t h e   s h a r e d   t o k e n .   E n a b l e   C o n f i g M a p   s i g n i n g   b y   e n a b l i n g   t h e   b o o t s t r a p s i g n e r   c o n t r o l l e r   o n   t h e   C o n t r o l l e r   M a n a g e r .   - - c o n t r o l l e r s = * , b o o t s t r a p s i g n e r   T h e   C o n f i g M a p   t h a t   i s   s i g n e d   i s   c l u s t e r - i n f o   i n   t h e   k u b e - p u b l i c   n a m e s p a c e .   T h e   t y p i c a l   f l o w   i s   t h a t   a   c l i e n t   r e a d s   t h i s   C o n f i g M a p   w h i l e   u n a u t h e n t i c a t e d   a n d   i g n o r i n g   T L S   e r r o r s .   I t   t h e n   v a l i d a t e s   t h e   p a y l o a d   o f   t h e   C o n f i g M a p   b y   l o o k i n g   a t   a   s i g n a t u r e   e m b e d d e d   i n   t h e   C o n f i g M a p .   T h e   C o n f i g M a p   m a y   l o o k   l i k e   t h i s :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p   m e t a d a t a :   n a m e :   c l u s t e r - i n f o   n a m e s p a c e :   k u b e - p u b l i c   d a t a :   j w s - k u b e c o n f i g - 0 7 4 0 1 b :   e y J h b G c i O i J I U z I 1 N i I s I m t p Z C I 6 I j A 3 N D A x Y i J 9 . . t Y E f b o 6 z D N o 4 0 M Q E 0 7 a Z c Q X 2 m 3 E B 2 r O 3 N u X t x V M Y m 9 U   k u b e c o n f i g :   |   a p i V e r s i o n :   v 1   c l u s t e r s :   -   c l u s t e r :   c e r t i f i c a t e - a u t h o r i t y - d a t a :   < r e a l l y   l o n g   c e r t i f i c a t e   d a t a >   s e r v e r :   h t t p s : / / 1 0 . 1 3 8 . 0 . 2 ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22894"
  },
  {
    "question": "What is Warning:?",
    "answer": "C o n s u l t   t h e   k u b e a d m   i m p l e m e n t a t i o n   d e t a i l s   s e c t i o n   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22895"
  },
  {
    "question": "What is 3.3 - Authorization?",
    "answer": "K u b e r n e t e s   a u t h o r i z a t i o n   t a k e s   p l a c e   f o l l o w i n g   a u t h e n t i c a t i o n .   U s u a l l y ,   a   c l i e n t   m a k i n g   a   r e q u e s t   m u s t   b e   a u t h e n t i c a t e d   ( l o g g e d   i n )   b e f o r e   i t s   r e q u e s t   c a n   b e   a l l o w e d ;   h o w e v e r ,   K u b e r n e t e s   a l s o   a l l o w s   a n o n y m o u s   r e q u e s t s   i n   s o m e   c i r c u m s t a n c e s .   F o r   a n   o v e r v i e w   o f   h o w   a u t h o r i z a t i o n   f i t s   i n t o   t h e   w i d e r   c o n t e x t   o f   A P I   a c c e s s   c o n t r o l ,   r e a d   C o n t r o l l i n g   A c c e s s   t o   t h e   K u b e r n e t e s   A P I .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_22896"
  },
  {
    "question": "What is Authorization verdicts?",
    "answer": "K u b e r n e t e s   a u t h o r i z a t i o n   o f   A P I   r e q u e s t s   t a k e s   p l a c e   w i t h i n   t h e   A P I   s e r v e r .   T h e   A P I   s e r v e r   e v a l u a t e s   a l l   o f   t h e   r e q u e s t   a t t r i b u t e s   a g a i n s t   a l l   p o l i c i e s ,   p o t e n t i a l l y   a l s o   c o n s u l t i n g   e x t e r n a l   s e r v i c e s ,   a n d   t h e n   a l l o w s   o r   d e n i e s   t h e   r e q u e s t .   A l l   p a r t s   o f   a n   A P I   r e q u e s t   m u s t   b e   a l l o w e d   b y   s o m e   a u t h o r i z a t i o n   m e c h a n i s m   i n   o r d e r   t o   p r o c e e d .   I n   o t h e r   w o r d s :   a c c e s s   i s   d e n i e d   b y   d e f a u l t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22897"
  },
  {
    "question": "What is Note:?",
    "answer": "A c c e s s   c o n t r o l s   a n d   p o l i c i e s   t h a t   d e p e n d   o n   s p e c i f i c   f i e l d s   o f   s p e c i f i c   k i n d s   o f   o b j e c t s   a r e   h a n d l e d   b y   a d m i s s i o n   c o n t r o l l e r s .   K u b e r n e t e s   a d m i s s i o n   c o n t r o l   h a p p e n s   a f t e r   a u t h o r i z a t i o n   h a s   c o m p l e t e d   ( a n d ,   t h e r e f o r e ,   o n l y   w h e n   t h e   a u t h o r i z a t i o n   d e c i s i o n   w a s   t o   a l l o w   t h e   r e q u e s t ) .   W h e n   m u l t i p l e   a u t h o r i z a t i o n   m o d u l e s   a r e   c o n f i g u r e d ,   e a c h   i s   c h e c k e d   i n   s e q u e n c e .   I f   a n y   a u t h o r i z e r   a p p r o v e s   o r   d e n i e s   a   r e q u e s t ,   t h a t   d e c i s i o n   i s   i m m e d i a t e l y   r e t u r n e d   a n d   n o   o t h e r   a u t h o r i z e r   i s   c o n s u l t e d .   I f   a l l   m o d u l e s   h a v e   n o   o p i n i o n   o n   t h e   r e q u e s t ,   t h e n   t h e   r e q u e s t   i s   d e n i e d .   A n   o v e r a l l   d e n y   v e r d i c t   m e a n s   t h a t   t h e   A P I   s e r v e r   r e j e c t s   t h e   r e q u e s t   a n d   r e s p o n d s   w i t h   a n   H T T P   4 0 3   ( F o r b i d d e n )   s t a t u s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22898"
  },
  {
    "question": "What is Request attributes used in authorization?",
    "answer": "K u b e r n e t e s   r e v i e w s   o n l y   t h e   f o l l o w i n g   A P I   r e q u e s t   a t t r i b u t e s :   u s e r   -   T h e   u s e r   s t r i n g   p r o v i d e d   d u r i n g   a u t h e n t i c a t i o n . g r o u p   -   T h e   l i s t   o f   g r o u p   n a m e s   t o   w h i c h   t h e   a u t h e n t i c a t e d   u s e r   b e l o n g s . e x t r a   -   A   m a p   o f   a r b i t r a r y   s t r i n g   k e y s   t o   s t r i n g   v a l u e s ,   p r o v i d e d   b y   t h e   a u t h e n t i c a t i o n   l a y e r . A P I   -   I n d i c a t e s   w h e t h e r   t h e   r e q u e s t   i s   f o r   a n   A P I   r e s o u r c e . R e q u e s t   p a t h   -   P a t h   t o   m i s c e l l a n e o u s   n o n - r e s o u r c e   e n d p o i n t s   l i k e   / a p i   o r   / h e a l t h z . A P I   r e q u e s t   v e r b   -   A P I   v e r b s   l i k e   g e t ,   l i s t ,   c r e a t e ,   u p d a t e ,   p a t c h ,   w a t c h ,   d e l e t e ,   a n d   d e l e t e c o l l e c t i o n   a r e   u s e d   f o r   r e s o u r c e   r e q u e s t s .   T o   d e t e r m i n e   t h e   r e q u e s t   v e r b   f o r   a   r e s o u r c e   A P I   e n d p o i n t ,   s e e   r e q u e s t   v e r b s   a n d   a u t h o r i z a t i o n . H T T P   r e q u e s t   v e r b   -   L o w e r c a s e d   H T T P   m e t h o d s   l i k e   g e t ,   p o s t ,   p u t ,   a n d   d e l e t e   a r e   u s e d   f o r   n o n - r e s o u r c e   r e q u e s t s . R e s o u r c e   -   T h e   I D   o r   n a m e   o f   t h e   r e s o u r c e   t h a t   i s   b e i n g   a c c e s s e d   ( f o r   r e s o u r c e   r e q u e s t s   o n l y )   - -   F o r   r e s o u r c e   r e q u e s t s   u s i n g   g e t ,   u p d a t e ,   p a t c h ,   a n d   d e l e t e   v e r b s ,   y o u   m u s t   p r o v i d e   t h e   r e s o u r c e   n a m e . S u b r e s o u r c e   -   T h e   s u b r e s o u r c e   t h a t   i s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22899"
  },
  {
    "question": "What is Non-resource requests?",
    "answer": "R e q u e s t s   t o   e n d p o i n t s   o t h e r   t h a n   / a p i / v 1 / . . .   o r   / a p i s / < g r o u p > / < v e r s i o n > / . . .   a r e   c o n s i d e r e d   n o n - r e s o u r c e   r e q u e s t s ,   a n d   u s e   t h e   l o w e r - c a s e d   H T T P   m e t h o d   o f   t h e   r e q u e s t   a s   t h e   v e r b .   F o r   e x a m p l e ,   m a k i n g   a   G E T   r e q u e s t   u s i n g   H T T P   t o   e n d p o i n t s   s u c h   a s   / a p i   o r   / h e a l t h z   w o u l d   u s e   g e t   a s   t h e   v e r b .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22900"
  },
  {
    "question": "What is Resource requests?",
    "answer": "T o   d e t e r m i n e   t h e   r e q u e s t   v e r b   f o r   a   r e s o u r c e   A P I   e n d p o i n t ,   K u b e r n e t e s   m a p s   t h e   H T T P   v e r b   u s e d   a n d   c o n s i d e r s   w h e t h e r   o r   n o t   t h e   r e q u e s t   a c t s   o n   a n   i n d i v i d u a l   r e s o u r c e   o r   o n   a   c o l l e c t i o n   o f   r e s o u r c e s :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22901"
  },
  {
    "question": "What is Caution:?",
    "answer": "K u b e r n e t e s   s o m e t i m e s   c h e c k s   a u t h o r i z a t i o n   f o r   a d d i t i o n a l   p e r m i s s i o n s   u s i n g   s p e c i a l i z e d   v e r b s .   F o r   e x a m p l e :   S p e c i a l   c a s e s   o f   a u t h e n t i c a t i o n i m p e r s o n a t e   v e r b   o n   u s e r s ,   g r o u p s ,   a n d   s e r v i c e a c c o u n t s   i n   t h e   c o r e   A P I   g r o u p ,   a n d   t h e   u s e r e x t r a s   i n   t h e   a u t h e n t i c a t i o n . k 8 s . i o   A P I   g r o u p . A u t h o r i z a t i o n   o f   C e r t i f i c a t e S i g n i n g R e q u e s t s a p p r o v e   v e r b   f o r   C e r t i f i c a t e S i g n i n g R e q u e s t s ,   a n d   u p d a t e   f o r   r e v i s i o n s   t o   e x i s t i n g   a p p r o v a l s R B A C b i n d   a n d   e s c a l a t e   v e r b s   o n   r o l e s   a n d   c l u s t e r r o l e s   r e s o u r c e s   i n   t h e   r b a c . a u t h o r i z a t i o n . k 8 s . i o   A P I   g r o u p .   i m p e r s o n a t e   v e r b   o n   u s e r s ,   g r o u p s ,   a n d   s e r v i c e a c c o u n t s   i n   t h e   c o r e   A P I   g r o u p ,   a n d   t h e   u s e r e x t r a s   i n   t h e   a u t h e n t i c a t i o n . k 8 s . i o   A P I   g r o u p .   a p p r o v e   v e r b   f o r   C e r t i f i c a t e S i g n i n g R e q u e s t s ,   a n d   u p d a t e   f o r   r e v i s i o n s   t o   e x i s t i n g   a p p r o v a l s   b i n d   a n d   e s c a l a t e   v e r b s   o n   r o l e s   a n d   c l u s t e r r o l e s   r e s o u r c e s   i n   t h e   r b a c . a u t h o r i z a t i o n . k 8 s . i o   A P I   g r o u p .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22902"
  },
  {
    "question": "What is Authorization context?",
    "answer": "K u b e r n e t e s   e x p e c t s   a t t r i b u t e s   t h a t   a r e   c o m m o n   t o   R E S T   A P I   r e q u e s t s .   T h i s   m e a n s   t h a t   K u b e r n e t e s   a u t h o r i z a t i o n   w o r k s   w i t h   e x i s t i n g   o r g a n i z a t i o n - w i d e   o r   c l o u d - p r o v i d e r - w i d e   a c c e s s   c o n t r o l   s y s t e m s   w h i c h   m a y   h a n d l e   o t h e r   A P I s   b e s i d e s   t h e   K u b e r n e t e s   A P I .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22903"
  },
  {
    "question": "What is Authorization modes?",
    "answer": "T h e   K u b e r n e t e s   A P I   s e r v e r   m a y   a u t h o r i z e   a   r e q u e s t   u s i n g   o n e   o f   s e v e r a l   a u t h o r i z a t i o n   m o d e s :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22904"
  },
  {
    "question": "What is Warning:?",
    "answer": "E n a b l i n g   t h e   A l w a y s A l l o w   m o d e   b y p a s s e s   a u t h o r i z a t i o n ;   d o   n o t   u s e   t h i s   o n   a   c l u s t e r   w h e r e   y o u   d o   n o t   t r u s t   a l l   p o t e n t i a l   A P I   c l i e n t s ,   i n c l u d i n g   t h e   w o r k l o a d s   t h a t   y o u   r u n .   A u t h o r i z a t i o n   m e c h a n i s m s   t y p i c a l l y   r e t u r n   e i t h e r   a   d e n y   o r   n o   o p i n i o n   r e s u l t ;   s e e   a u t h o r i z a t i o n   v e r d i c t s   f o r   m o r e   o n   t h i s .   A c t i v a t i n g   t h e   A l w a y s A l l o w   m e a n s   t h a t   i f   a l l   o t h e r   a u t h o r i z e r s   r e t u r n   “ n o   o p i n i o n ” ,   t h e   r e q u e s t   i s   a l l o w e d .   F o r   e x a m p l e ,   - - a u t h o r i z a t i o n - m o d e = A l w a y s A l l o w , R B A C   h a s   t h e   s a m e   e f f e c t   a s   - - a u t h o r i z a t i o n - m o d e = A l w a y s A l l o w   b e c a u s e   K u b e r n e t e s   R B A C   d o e s   n o t   p r o v i d e   n e g a t i v e   ( d e n y )   a c c e s s   r u l e s .   Y o u   s h o u l d   n o t   u s e   t h e   A l w a y s A l l o w   m o d e   o n   a   K u b e r n e t e s   c l u s t e r   w h e r e   t h e   A P I   s e r v e r   i s   r e a c h a b l e   f r o m   t h e   p u b l i c   i n t e r n e t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22905"
  },
  {
    "question": "What is The system:masters group?",
    "answer": "T h e   s y s t e m : m a s t e r s   g r o u p   i s   a   b u i l t - i n   K u b e r n e t e s   g r o u p   t h a t   g r a n t s   u n r e s t r i c t e d   a c c e s s   t o   t h e   A P I   s e r v e r .   A n y   u s e r   a s s i g n e d   t o   t h i s   g r o u p   h a s   f u l l   c l u s t e r   a d m i n i s t r a t o r   p r i v i l e g e s ,   b y p a s s i n g   a n y   a u t h o r i z a t i o n   r e s t r i c t i o n s   i m p o s e d   b y   t h e   R B A C   o r   W e b h o o k   m e c h a n i s m s .   A v o i d   a d d i n g   u s e r s   t o   t h i s   g r o u p .   I f   y o u   d o   n e e d   t o   g r a n t   a   u s e r   c l u s t e r - a d m i n   r i g h t s ,   y o u   c a n   c r e a t e   a   C l u s t e r R o l e B i n d i n g   t o   t h e   b u i l t - i n   c l u s t e r - a d m i n   C l u s t e r R o l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22906"
  },
  {
    "question": "What is Authorization mode configuration?",
    "answer": "Y o u   c a n   c o n f i g u r e   t h e   K u b e r n e t e s   A P I   s e r v e r ' s   a u t h o r i z e r   c h a i n   u s i n g   e i t h e r   a   c o n f i g u r a t i o n   f i l e   o n l y   o r   c o m m a n d   l i n e   a r g u m e n t s .   Y o u   h a v e   t o   p i c k   o n e   o f   t h e   t w o   c o n f i g u r a t i o n   a p p r o a c h e s ;   s e t t i n g   b o t h   - - a u t h o r i z a t i o n - c o n f i g   p a t h   a n d   c o n f i g u r i n g   a n   a u t h o r i z a t i o n   w e b h o o k   u s i n g   t h e   - - a u t h o r i z a t i o n - m o d e   a n d   - - a u t h o r i z a t i o n - w e b h o o k - *   c o m m a n d   l i n e   a r g u m e n t s   i s   n o t   a l l o w e d .   I f   y o u   t r y   t h i s ,   t h e   A P I   s e r v e r   r e p o r t s   a n   e r r o r   m e s s a g e   d u r i n g   s t a r t u p ,   t h e n   e x i t s   i m m e d i a t e l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22907"
  },
  {
    "question": "What is Configuring the API Server using an authorization config file?",
    "answer": "K u b e r n e t e s   l e t s   y o u   c o n f i g u r e   a u t h o r i z a t i o n   c h a i n s   t h a t   c a n   i n c l u d e   m u l t i p l e   w e b h o o k s .   T h e   a u t h o r i z a t i o n   i t e m s   i n   t h a t   c h a i n   c a n   h a v e   w e l l - d e f i n e d   p a r a m e t e r s   t h a t   v a l i d a t e   r e q u e s t s   i n   a   p a r t i c u l a r   o r d e r ,   o f f e r i n g   y o u   f i n e - g r a i n e d   c o n t r o l ,   s u c h   a s   e x p l i c i t   D e n y   o n   f a i l u r e s .   T h e   c o n f i g u r a t i o n   f i l e   a p p r o a c h   e v e n   a l l o w s   y o u   t o   s p e c i f y   C E L   r u l e s   t o   p r e - f i l t e r   r e q u e s t s   b e f o r e   t h e y   a r e   d i s p a t c h e d   t o   w e b h o o k s ,   h e l p i n g   y o u   t o   p r e v e n t   u n n e c e s s a r y   i n v o c a t i o n s .   T h e   A P I   s e r v e r   a l s o   a u t o m a t i c a l l y   r e l o a d s   t h e   a u t h o r i z e r   c h a i n   w h e n   t h e   c o n f i g u r a t i o n   f i l e   i s   m o d i f i e d .   Y o u   s p e c i f y   t h e   p a t h   t o   t h e   a u t h o r i z a t i o n   c o n f i g u r a t i o n   u s i n g   t h e   - - a u t h o r i z a t i o n - c o n f i g   c o m m a n d   l i n e   a r g u m e n t .   I f   y o u   w a n t   t o   u s e   c o m m a n d   l i n e   a r g u m e n t s   i n s t e a d   o f   a   c o n f i g u r a t i o n   f i l e ,   t h a t ' s   a l s o   a   v a l i d   a n d   s u p p o r t e d   a p p r o a c h .   S o m e   a u t h o r i z a t i o n   c a p a b i l i t i e s   ( f o r   e x a m p l e :   m u l t i p l e   w e b h o o k s ,   w e b h o o k   f a i l u r e   p o l i c y ,   a n d   p r e - f i l t e r   r u l e s )   a r e   o n l y   a v a i l a b l e   i f   y o u   u s e   a n   a u t h o r i z a t i o n   c o n f i g u r a t i o n   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22908"
  },
  {
    "question": "What is Example configuration?",
    "answer": "- - -   #   #   D O   N O T   U S E   T H E   C O N F I G   A S   I S .   T H I S   I S   A N   E X A M P L E .   #   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   A u t h o r i z a t i o n C o n f i g u r a t i o n   a u t h o r i z e r s :   -   t y p e :   W e b h o o k   #   N a m e   u s e d   t o   d e s c r i b e   t h e   a u t h o r i z e r   #   T h i s   i s   e x p l i c i t l y   u s e d   i n   m o n i t o r i n g   m a c h i n e r y   f o r   m e t r i c s   #   N o t e :   #   -   V a l i d a t i o n   f o r   t h i s   f i e l d   i s   s i m i l a r   t o   h o w   K 8 s   l a b e l s   a r e   v a l i d a t e d   t o d a y .   #   R e q u i r e d ,   w i t h   n o   d e f a u l t   n a m e :   w e b h o o k   w e b h o o k :   #   T h e   d u r a t i o n   t o   c a c h e   ' a u t h o r i z e d '   r e s p o n s e s   f r o m   t h e   w e b h o o k   #   a u t h o r i z e r .   #   S a m e   a s   s e t t i n g   ` - - a u t h o r i z a t i o n - w e b h o o k - c a c h e - a u t h o r i z e d - t t l `   f l a g   #   D e f a u l t :   5 m 0 s   a u t h o r i z e d T T L :   3 0 s   #   I f   s e t   t o   f a l s e ,   ' a u t h o r i z e d '   r e s p o n s e s   f r o m   t h e   w e b h o o k   a r e   n o t   c a c h e d   #   a n d   t h e   s p e c i f i e d   a u t h o r i z e d T T L   i s   i g n o r e d / h a s   n o   e f f e c t .   #   S a m e   a s   s e t t i n g   ` - - a u t h o r i z a t i o n - w e b h o o k - c a c h e - a u t h o r i z e d - t t l `   f l a g   t o   ` 0 ` .   #   N o t e :   S e t t i n g   a u t h o r i z e d T T L   t o   ` 0 `   r e s u l t s   i n   i t s   d e f a u l t   v a l u e   b e i n g   u s e d .   #   D e f a u l t :   t r u e   c a c h e A u t h o r i z e d R e q u e s t s :   t r u e   #   T h e   d u r a t i o n   t o   c a c h e   ' u n a u t h o r i z e d '   r e s p o n s e s   f r o m   t h e   w e b h o o k   #   a u t h o r i z e r .   # ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22909"
  },
  {
    "question": "What is Authorization configuration and reloads?",
    "answer": "K u b e r n e t e s   r e l o a d s   t h e   a u t h o r i z a t i o n   c o n f i g u r a t i o n   f i l e   w h e n   t h e   A P I   s e r v e r   o b s e r v e s   a   c h a n g e   t o   t h e   f i l e ,   a n d   a l s o   o n   a   6 0   s e c o n d   s c h e d u l e   i f   n o   c h a n g e   e v e n t s   w e r e   o b s e r v e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22910"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   m u s t   e n s u r e   t h a t   a l l   n o n - w e b h o o k   a u t h o r i z e r   t y p e s   r e m a i n   u n c h a n g e d   i n   t h e   f i l e   o n   r e l o a d .   A   r e l o a d   m u s t   n o t   a d d   o r   r e m o v e   N o d e   o r   R B A C   a u t h o r i z e r s   ( t h e y   c a n   b e   r e o r d e r e d ,   b u t   c a n n o t   b e   a d d e d   o r   r e m o v e d ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22911"
  },
  {
    "question": "What is Command line authorization mode configuration?",
    "answer": "Y o u   c a n   u s e   t h e   f o l l o w i n g   m o d e s :   - - a u t h o r i z a t i o n - m o d e = A B A C   ( A t t r i b u t e - b a s e d   a c c e s s   c o n t r o l   m o d e ) - - a u t h o r i z a t i o n - m o d e = R B A C   ( R o l e - b a s e d   a c c e s s   c o n t r o l   m o d e ) - - a u t h o r i z a t i o n - m o d e = N o d e   ( N o d e   a u t h o r i z e r ) - - a u t h o r i z a t i o n - m o d e = W e b h o o k   ( W e b h o o k   a u t h o r i z a t i o n   m o d e ) - - a u t h o r i z a t i o n - m o d e = A l w a y s A l l o w   ( a l w a y s   a l l o w s   r e q u e s t s ;   c a r r i e s   s e c u r i t y   r i s k s ) - - a u t h o r i z a t i o n - m o d e = A l w a y s D e n y   ( a l w a y s   d e n i e s   r e q u e s t s )   Y o u   c a n   c h o o s e   m o r e   t h a n   o n e   a u t h o r i z a t i o n   m o d e ;   f o r   e x a m p l e :   - - a u t h o r i z a t i o n - m o d e = N o d e , R B A C , W e b h o o k   K u b e r n e t e s   c h e c k s   a u t h o r i z a t i o n   m o d u l e s   b a s e d   o n   t h e   o r d e r   t h a t   y o u   s p e c i f y   t h e m   o n   t h e   A P I   s e r v e r ' s   c o m m a n d   l i n e ,   s o   a n   e a r l i e r   m o d u l e   h a s   h i g h e r   p r i o r i t y   t o   a l l o w   o r   d e n y   a   r e q u e s t .   Y o u   c a n n o t   c o m b i n e   t h e   - - a u t h o r i z a t i o n - m o d e   c o m m a n d   l i n e   a r g u m e n t   w i t h   t h e   - - a u t h o r i z a t i o n - c o n f i g   c o m m a n d   l i n e   a r g u m e n t   u s e d   f o r   c o n f i g u r i n g   a u t h o r i z a t i o n   u s i n g   a   l o c a l   f i l e .   F o r   m o r e   i n f o r m a t i o n   o n   c o m m a n d   l i n e   a r g u m e n t s   t o   t h e   A P I   s e r v e r ,   r e a d   t h e   k u b e - a p i s e r v e r   r e f e r e n c e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22912"
  },
  {
    "question": "What is Privilege escalation via workload creation or edits?",
    "answer": "U s e r s   w h o   c a n   c r e a t e / e d i t   p o d s   i n   a   n a m e s p a c e ,   e i t h e r   d i r e c t l y   o r   t h r o u g h   a n   o b j e c t   t h a t   e n a b l e s   i n d i r e c t   w o r k l o a d   m a n a g e m e n t ,   m a y   b e   a b l e   t o   e s c a l a t e   t h e i r   p r i v i l e g e s   i n   t h a t   n a m e s p a c e .   T h e   p o t e n t i a l   r o u t e s   t o   p r i v i l e g e   e s c a l a t i o n   i n c l u d e   K u b e r n e t e s   A P I   e x t e n s i o n s   a n d   t h e i r   a s s o c i a t e d   c o n t r o l l e r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22913"
  },
  {
    "question": "What is Escalation paths?",
    "answer": "T h e r e   a r e   d i f f e r e n t   w a y s   t h a t   a n   a t t a c k e r   o r   u n t r u s t w o r t h y   u s e r   c o u l d   g a i n   a d d i t i o n a l   p r i v i l e g e   w i t h i n   a   n a m e s p a c e ,   i f   y o u   a l l o w   t h e m   t o   r u n   a r b i t r a r y   P o d s   i n   t h a t   n a m e s p a c e :   M o u n t i n g   a r b i t r a r y   S e c r e t s   i n   t h a t   n a m e s p a c e C a n   b e   u s e d   t o   a c c e s s   c o n f i d e n t i a l   i n f o r m a t i o n   m e a n t   f o r   o t h e r   w o r k l o a d s C a n   b e   u s e d   t o   o b t a i n   a   m o r e   p r i v i l e g e d   S e r v i c e A c c o u n t ' s   s e r v i c e   a c c o u n t   t o k e n U s i n g   a r b i t r a r y   S e r v i c e A c c o u n t s   i n   t h a t   n a m e s p a c e C a n   p e r f o r m   K u b e r n e t e s   A P I   a c t i o n s   a s   a n o t h e r   w o r k l o a d   ( i m p e r s o n a t i o n ) C a n   p e r f o r m   a n y   p r i v i l e g e d   a c t i o n s   t h a t   S e r v i c e A c c o u n t   h a s M o u n t i n g   o r   u s i n g   C o n f i g M a p s   m e a n t   f o r   o t h e r   w o r k l o a d s   i n   t h a t   n a m e s p a c e C a n   b e   u s e d   t o   o b t a i n   i n f o r m a t i o n   m e a n t   f o r   o t h e r   w o r k l o a d s ,   s u c h   a s   d a t a b a s e   h o s t   n a m e s . M o u n t i n g   v o l u m e s   m e a n t   f o r   o t h e r   w o r k l o a d s   i n   t h a t   n a m e s p a c e C a n   b e   u s e d   t o   o b t a i n   i n f o r m a t i o n   m e a n t   f o r   o t h e r   w o r k l o a d s ,   a n d   c h a n g e   i t .   C a n   b e   u s e d   t o   a c c e s s   c o n f i d e n t i a l   i n f o r m a t i o n   m e a n t   f o r   o t h e r   w o r k l o a d s C a n   b e   u s e d   t o   o b t a i n   a   m o r e   p r i v i l e g e d   S e r v i c e A c c o u n t ' s   s e r v i c e   a c c o u n t   t o k e n   C a n   p e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22914"
  },
  {
    "question": "What is Checking API access?",
    "answer": "k u b e c t l   p r o v i d e s   t h e   a u t h   c a n - i   s u b c o m m a n d   f o r   q u i c k l y   q u e r y i n g   t h e   A P I   a u t h o r i z a t i o n   l a y e r .   T h e   c o m m a n d   u s e s   t h e   S e l f S u b j e c t A c c e s s R e v i e w   A P I   t o   d e t e r m i n e   i f   t h e   c u r r e n t   u s e r   c a n   p e r f o r m   a   g i v e n   a c t i o n ,   a n d   w o r k s   r e g a r d l e s s   o f   t h e   a u t h o r i z a t i o n   m o d e   u s e d .   k u b e c t l   a u t h   c a n - i   c r e a t e   d e p l o y m e n t s   - - n a m e s p a c e   d e v   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   y e s   k u b e c t l   a u t h   c a n - i   c r e a t e   d e p l o y m e n t s   - - n a m e s p a c e   p r o d   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   n o   A d m i n i s t r a t o r s   c a n   c o m b i n e   t h i s   w i t h   u s e r   i m p e r s o n a t i o n   t o   d e t e r m i n e   w h a t   a c t i o n   o t h e r   u s e r s   c a n   p e r f o r m .   k u b e c t l   a u t h   c a n - i   l i s t   s e c r e t s   - - n a m e s p a c e   d e v   - - a s   d a v e   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   n o   S i m i l a r l y ,   t o   c h e c k   w h e t h e r   a   S e r v i c e A c c o u n t   n a m e d   d e v - s a   i n   N a m e s p a c e   d e v   c a n   l i s t   P o d s   i n   t h e   N a m e s p a c e   t a r g e t :   k u b e c t l   a u t h   c a n - i   l i s t   p o d s   \\   - - n a m e s p a c e   t a r g e t   \\   - - a s   s y s t e m : s e r v i c e a c c o u n t : d e v : d e v - s a   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   y e s   S e l f S u b j e c t A c c e s s R e v i e w   i s   p a r t   o f   t h e   a u t h o r i z a t i o n . k 8 s . i o   A P I   g r o u p ,   w h i c h   e x p o s e s   t h e   A P I   s e r v e r   a u t h o r i z a t i o n   t o   e x t e r n a l   s e r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22915"
  },
  {
    "question": "What is What's next?",
    "answer": "T o   l e a r n   m o r e   a b o u t   A u t h e n t i c a t i o n ,   s e e   A u t h e n t i c a t i o n . F o r   a n   o v e r v i e w ,   r e a d   C o n t r o l l i n g   A c c e s s   t o   t h e   K u b e r n e t e s   A P I . T o   l e a r n   m o r e   a b o u t   A d m i s s i o n   C o n t r o l ,   s e e   U s i n g   A d m i s s i o n   C o n t r o l l e r s . R e a d   m o r e   a b o u t   C o m m o n   E x p r e s s i o n   L a n g u a g e   i n   K u b e r n e t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22916"
  },
  {
    "question": "What is 3.4 - Using RBAC Authorization?",
    "answer": "R o l e - b a s e d   a c c e s s   c o n t r o l   ( R B A C )   i s   a   m e t h o d   o f   r e g u l a t i n g   a c c e s s   t o   c o m p u t e r   o r   n e t w o r k   r e s o u r c e s   b a s e d   o n   t h e   r o l e s   o f   i n d i v i d u a l   u s e r s   w i t h i n   y o u r   o r g a n i z a t i o n .   R B A C   a u t h o r i z a t i o n   u s e s   t h e   r b a c . a u t h o r i z a t i o n . k 8 s . i o   A P I   g r o u p   t o   d r i v e   a u t h o r i z a t i o n   d e c i s i o n s ,   a l l o w i n g   y o u   t o   d y n a m i c a l l y   c o n f i g u r e   p o l i c i e s   t h r o u g h   t h e   K u b e r n e t e s   A P I .   T o   e n a b l e   R B A C ,   s t a r t   t h e   A P I   s e r v e r   w i t h   t h e   - - a u t h o r i z a t i o n - c o n f i g   f l a g   s e t   t o   a   f i l e   t h a t   i n c l u d e s   t h e   R B A C   a u t h o r i z e r ;   f o r   e x a m p l e :   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   A u t h o r i z a t i o n C o n f i g u r a t i o n   a u t h o r i z e r s :   . . .   -   t y p e :   R B A C   . . .   O r ,   s t a r t   t h e   A P I   s e r v e r   w i t h   t h e   - - a u t h o r i z a t i o n - m o d e   f l a g   s e t   t o   a   c o m m a - s e p a r a t e d   l i s t   t h a t   i n c l u d e s   R B A C ;   f o r   e x a m p l e :   k u b e - a p i s e r v e r   - - a u t h o r i z a t i o n - m o d e = . . . , R B A C   - - o t h e r - o p t i o n s   - - m o r e - o p t i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_22917"
  },
  {
    "question": "What is API objects?",
    "answer": "T h e   R B A C   A P I   d e c l a r e s   f o u r   k i n d s   o f   K u b e r n e t e s   o b j e c t :   R o l e ,   C l u s t e r R o l e ,   R o l e B i n d i n g   a n d   C l u s t e r R o l e B i n d i n g .   Y o u   c a n   d e s c r i b e   o r   a m e n d   t h e   R B A C   o b j e c t s   u s i n g   t o o l s   s u c h   a s   k u b e c t l ,   j u s t   l i k e   a n y   o t h e r   K u b e r n e t e s   o b j e c t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22918"
  },
  {
    "question": "What is Role and ClusterRole?",
    "answer": "A n   R B A C   R o l e   o r   C l u s t e r R o l e   c o n t a i n s   r u l e s   t h a t   r e p r e s e n t   a   s e t   o f   p e r m i s s i o n s .   P e r m i s s i o n s   a r e   p u r e l y   a d d i t i v e   ( t h e r e   a r e   n o   \" d e n y \"   r u l e s ) .   A   R o l e   a l w a y s   s e t s   p e r m i s s i o n s   w i t h i n   a   p a r t i c u l a r   n a m e s p a c e ;   w h e n   y o u   c r e a t e   a   R o l e ,   y o u   h a v e   t o   s p e c i f y   t h e   n a m e s p a c e   i t   b e l o n g s   i n .   C l u s t e r R o l e ,   b y   c o n t r a s t ,   i s   a   n o n - n a m e s p a c e d   r e s o u r c e .   T h e   r e s o u r c e s   h a v e   d i f f e r e n t   n a m e s   ( R o l e   a n d   C l u s t e r R o l e )   b e c a u s e   a   K u b e r n e t e s   o b j e c t   a l w a y s   h a s   t o   b e   e i t h e r   n a m e s p a c e d   o r   n o t   n a m e s p a c e d ;   i t   c a n ' t   b e   b o t h .   C l u s t e r R o l e s   h a v e   s e v e r a l   u s e s .   Y o u   c a n   u s e   a   C l u s t e r R o l e   t o :   d e f i n e   p e r m i s s i o n s   o n   n a m e s p a c e d   r e s o u r c e s   a n d   b e   g r a n t e d   a c c e s s   w i t h i n   i n d i v i d u a l   n a m e s p a c e ( s ) d e f i n e   p e r m i s s i o n s   o n   n a m e s p a c e d   r e s o u r c e s   a n d   b e   g r a n t e d   a c c e s s   a c r o s s   a l l   n a m e s p a c e s d e f i n e   p e r m i s s i o n s   o n   c l u s t e r - s c o p e d   r e s o u r c e s   I f   y o u   w a n t   t o   d e f i n e   a   r o l e   w i t h i n   a   n a m e s p a c e ,   u s e   a   R o l e ;   i f   y o u   w a n t   t o   d e f i n e   a   r o l e   c l u s t e r - w i d e ,   u s e   a   C l u s t e r R o l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22919"
  },
  {
    "question": "What is Role example?",
    "answer": "H e r e ' s   a n   e x a m p l e   R o l e   i n   t h e   \" d e f a u l t \"   n a m e s p a c e   t h a t   c a n   b e   u s e d   t o   g r a n t   r e a d   a c c e s s   t o   p o d s :   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   R o l e   m e t a d a t a :   n a m e s p a c e :   d e f a u l t   n a m e :   p o d - r e a d e r   r u l e s :   -   a p i G r o u p s :   [ \" \" ]   #   \" \"   i n d i c a t e s   t h e   c o r e   A P I   g r o u p   r e s o u r c e s :   [ \" p o d s \" ]   v e r b s :   [ \" g e t \" ,   \" w a t c h \" ,   \" l i s t \" ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22920"
  },
  {
    "question": "What is ClusterRole example?",
    "answer": "A   C l u s t e r R o l e   c a n   b e   u s e d   t o   g r a n t   t h e   s a m e   p e r m i s s i o n s   a s   a   R o l e .   B e c a u s e   C l u s t e r R o l e s   a r e   c l u s t e r - s c o p e d ,   y o u   c a n   a l s o   u s e   t h e m   t o   g r a n t   a c c e s s   t o :   c l u s t e r - s c o p e d   r e s o u r c e s   ( l i k e   n o d e s ) n o n - r e s o u r c e   e n d p o i n t s   ( l i k e   / h e a l t h z ) n a m e s p a c e d   r e s o u r c e s   ( l i k e   P o d s ) ,   a c r o s s   a l l   n a m e s p a c e s F o r   e x a m p l e :   y o u   c a n   u s e   a   C l u s t e r R o l e   t o   a l l o w   a   p a r t i c u l a r   u s e r   t o   r u n   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s   c l u s t e r - s c o p e d   r e s o u r c e s   ( l i k e   n o d e s )   n o n - r e s o u r c e   e n d p o i n t s   ( l i k e   / h e a l t h z )   n a m e s p a c e d   r e s o u r c e s   ( l i k e   P o d s ) ,   a c r o s s   a l l   n a m e s p a c e s   F o r   e x a m p l e :   y o u   c a n   u s e   a   C l u s t e r R o l e   t o   a l l o w   a   p a r t i c u l a r   u s e r   t o   r u n   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s   H e r e   i s   a n   e x a m p l e   o f   a   C l u s t e r R o l e   t h a t   c a n   b e   u s e d   t o   g r a n t   r e a d   a c c e s s   t o   s e c r e t s   i n   a n y   p a r t i c u l a r   n a m e s p a c e ,   o r   a c r o s s   a l l   n a m e s p a c e s   ( d e p e n d i n g   o n   h o w   i t   i s   b o u n d ) :   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   #   \" n a m e s p a c e \"   o m i t t e d   s i n c e   C l u s t e r R o l e s   a r e   n o t   n a m e s p a c e d   n a m e :   s e c r e t - r e a d e r   r u l e s :   -   a p i G r o u p s :   [ \" \" ]   #   #   a t   t h e   H T T P   l e v e l ,   t h e   n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22921"
  },
  {
    "question": "What is RoleBinding and ClusterRoleBinding?",
    "answer": "A   r o l e   b i n d i n g   g r a n t s   t h e   p e r m i s s i o n s   d e f i n e d   i n   a   r o l e   t o   a   u s e r   o r   s e t   o f   u s e r s .   I t   h o l d s   a   l i s t   o f   s u b j e c t s   ( u s e r s ,   g r o u p s ,   o r   s e r v i c e   a c c o u n t s ) ,   a n d   a   r e f e r e n c e   t o   t h e   r o l e   b e i n g   g r a n t e d .   A   R o l e B i n d i n g   g r a n t s   p e r m i s s i o n s   w i t h i n   a   s p e c i f i c   n a m e s p a c e   w h e r e a s   a   C l u s t e r R o l e B i n d i n g   g r a n t s   t h a t   a c c e s s   c l u s t e r - w i d e .   A   R o l e B i n d i n g   m a y   r e f e r e n c e   a n y   R o l e   i n   t h e   s a m e   n a m e s p a c e .   A l t e r n a t i v e l y ,   a   R o l e B i n d i n g   c a n   r e f e r e n c e   a   C l u s t e r R o l e   a n d   b i n d   t h a t   C l u s t e r R o l e   t o   t h e   n a m e s p a c e   o f   t h e   R o l e B i n d i n g .   I f   y o u   w a n t   t o   b i n d   a   C l u s t e r R o l e   t o   a l l   t h e   n a m e s p a c e s   i n   y o u r   c l u s t e r ,   y o u   u s e   a   C l u s t e r R o l e B i n d i n g .   T h e   n a m e   o f   a   R o l e B i n d i n g   o r   C l u s t e r R o l e B i n d i n g   o b j e c t   m u s t   b e   a   v a l i d   p a t h   s e g m e n t   n a m e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22922"
  },
  {
    "question": "What is RoleBinding examples?",
    "answer": "H e r e   i s   a n   e x a m p l e   o f   a   R o l e B i n d i n g   t h a t   g r a n t s   t h e   \" p o d - r e a d e r \"   R o l e   t o   t h e   u s e r   \" j a n e \"   w i t h i n   t h e   \" d e f a u l t \"   n a m e s p a c e .   T h i s   a l l o w s   \" j a n e \"   t o   r e a d   p o d s   i n   t h e   \" d e f a u l t \"   n a m e s p a c e .   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   #   T h i s   r o l e   b i n d i n g   a l l o w s   \" j a n e \"   t o   r e a d   p o d s   i n   t h e   \" d e f a u l t \"   n a m e s p a c e .   #   Y o u   n e e d   t o   a l r e a d y   h a v e   a   R o l e   n a m e d   \" p o d - r e a d e r \"   i n   t h a t   n a m e s p a c e .   k i n d :   R o l e B i n d i n g   m e t a d a t a :   n a m e :   r e a d - p o d s   n a m e s p a c e :   d e f a u l t   s u b j e c t s :   #   Y o u   c a n   s p e c i f y   m o r e   t h a n   o n e   \" s u b j e c t \"   -   k i n d :   U s e r   n a m e :   j a n e   #   \" n a m e \"   i s   c a s e   s e n s i t i v e   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o   r o l e R e f :   #   \" r o l e R e f \"   s p e c i f i e s   t h e   b i n d i n g   t o   a   R o l e   /   C l u s t e r R o l e   k i n d :   R o l e   # t h i s   m u s t   b e   R o l e   o r   C l u s t e r R o l e   n a m e :   p o d - r e a d e r   #   t h i s   m u s t   m a t c h   t h e   n a m e   o f   t h e   R o l e   o r   C l u s t e r R o l e   y o u   w i s h   t o   b i n d   t o   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o   A   R o l e B i n d i n g   c a n   a l s o   r e f e r e n c e   a   C l u s t e r R o l e   t o   g r a n t   t h e   p e r m i s s i o n s   d e f i n e d   i n   t h a t   C l u s t e r R o l e   t o   r e s o u r c e s   i n s i d e   t h e   R o l e B i n d i n g ' s   n a m e s p a c e .   T h i s   k i n d   o f   r e f e r e n c e   l e t s   y o u   d e f i n e   a   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22923"
  },
  {
    "question": "What is ClusterRoleBinding example?",
    "answer": "T o   g r a n t   p e r m i s s i o n s   a c r o s s   a   w h o l e   c l u s t e r ,   y o u   c a n   u s e   a   C l u s t e r R o l e B i n d i n g .   T h e   f o l l o w i n g   C l u s t e r R o l e B i n d i n g   a l l o w s   a n y   u s e r   i n   t h e   g r o u p   \" m a n a g e r \"   t o   r e a d   s e c r e t s   i n   a n y   n a m e s p a c e .   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   #   T h i s   c l u s t e r   r o l e   b i n d i n g   a l l o w s   a n y o n e   i n   t h e   \" m a n a g e r \"   g r o u p   t o   r e a d   s e c r e t s   i n   a n y   n a m e s p a c e .   k i n d :   C l u s t e r R o l e B i n d i n g   m e t a d a t a :   n a m e :   r e a d - s e c r e t s - g l o b a l   s u b j e c t s :   -   k i n d :   G r o u p   n a m e :   m a n a g e r   #   N a m e   i s   c a s e   s e n s i t i v e   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o   r o l e R e f :   k i n d :   C l u s t e r R o l e   n a m e :   s e c r e t - r e a d e r   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o   A f t e r   y o u   c r e a t e   a   b i n d i n g ,   y o u   c a n n o t   c h a n g e   t h e   R o l e   o r   C l u s t e r R o l e   t h a t   i t   r e f e r s   t o .   I f   y o u   t r y   t o   c h a n g e   a   b i n d i n g ' s   r o l e R e f ,   y o u   g e t   a   v a l i d a t i o n   e r r o r .   I f   y o u   d o   w a n t   t o   c h a n g e   t h e   r o l e R e f   f o r   a   b i n d i n g ,   y o u   n e e d   t o   r e m o v e   t h e   b i n d i n g   o b j e c t   a n d   c r e a t e   a   r e p l a c e m e n t .   T h e r e   a r e   t w o   r e a s o n s   f o r   t h i s   r e s t r i c t i o n :   M a k i n g   r o l e R e f   i m m u t a b l e   a l l o w s   g r a n t i n g   s o m e o n e   u p d a t e   p e r m i s s i o n   o n   a n   e x i s t i n g   b i n d i n g   o b j e c t ,   s o   t h a t   t h e y   c a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22924"
  },
  {
    "question": "What is Referring to resources?",
    "answer": "I n   t h e   K u b e r n e t e s   A P I ,   m o s t   r e s o u r c e s   a r e   r e p r e s e n t e d   a n d   a c c e s s e d   u s i n g   a   s t r i n g   r e p r e s e n t a t i o n   o f   t h e i r   o b j e c t   n a m e ,   s u c h   a s   p o d s   f o r   a   P o d .   R B A C   r e f e r s   t o   r e s o u r c e s   u s i n g   e x a c t l y   t h e   s a m e   n a m e   t h a t   a p p e a r s   i n   t h e   U R L   f o r   t h e   r e l e v a n t   A P I   e n d p o i n t .   S o m e   K u b e r n e t e s   A P I s   i n v o l v e   a   s u b r e s o u r c e ,   s u c h   a s   t h e   l o g s   f o r   a   P o d .   A   r e q u e s t   f o r   a   P o d ' s   l o g s   l o o k s   l i k e :   G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / l o g   I n   t h i s   c a s e ,   p o d s   i s   t h e   n a m e s p a c e d   r e s o u r c e   f o r   P o d   r e s o u r c e s ,   a n d   l o g   i s   a   s u b r e s o u r c e   o f   p o d s .   T o   r e p r e s e n t   t h i s   i n   a n   R B A C   r o l e ,   u s e   a   s l a s h   ( / )   t o   d e l i m i t   t h e   r e s o u r c e   a n d   s u b r e s o u r c e .   T o   a l l o w   a   s u b j e c t   t o   r e a d   p o d s   a n d   a l s o   a c c e s s   t h e   l o g   s u b r e s o u r c e   f o r   e a c h   o f   t h o s e   P o d s ,   y o u   w r i t e :   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   R o l e   m e t a d a t a :   n a m e s p a c e :   d e f a u l t   n a m e :   p o d - a n d - p o d - l o g s - r e a d e r   r u l e s :   -   a p i G r o u p s :   [ \" \" ]   r e s o u r c e s :   [ \" p o d s \" ,   \" p o d s / l o g \" ]   v e r b s :   [ \" g e t \" ,   \" l i s t \" ]   Y o u   c a n   a l s o   r e f e r   t o   r e s o u r c e s   b y   n a m e   f o r   c e r t a i n   r e q u e s t s   t h r o u g h   t h e   r e s o u r c e N a m e s   l i s t .   W h e n   s p e c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22925"
  },
  {
    "question": "What is Note:?",
    "answer": "R a t h e r   t h a n   r e f e r r i n g   t o   i n d i v i d u a l   r e s o u r c e s ,   a p i G r o u p s ,   a n d   v e r b s ,   y o u   c a n   u s e   t h e   w i l d c a r d   *   s y m b o l   t o   r e f e r   t o   a l l   s u c h   o b j e c t s .   F o r   n o n R e s o u r c e U R L s ,   y o u   c a n   u s e   t h e   w i l d c a r d   *   a s   a   s u f f i x   g l o b   m a t c h .   F o r   r e s o u r c e N a m e s ,   a n   e m p t y   s e t   m e a n s   t h a t   e v e r y t h i n g   i s   a l l o w e d .   H e r e   i s   a n   e x a m p l e   t h a t   a l l o w s   a c c e s s   t o   p e r f o r m   a n y   c u r r e n t   a n d   f u t u r e   a c t i o n   o n   a l l   c u r r e n t   a n d   f u t u r e   r e s o u r c e s   i n   t h e   e x a m p l e . c o m   A P I   g r o u p .   T h i s   i s   s i m i l a r   t o   t h e   b u i l t - i n   c l u s t e r - a d m i n   r o l e .   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   R o l e   m e t a d a t a :   n a m e s p a c e :   d e f a u l t   n a m e :   e x a m p l e . c o m - s u p e r u s e r   #   D O   N O T   U S E   T H I S   R O L E ,   I T   I S   J U S T   A N   E X A M P L E   r u l e s :   -   a p i G r o u p s :   [ \" e x a m p l e . c o m \" ]   r e s o u r c e s :   [ \" * \" ]   v e r b s :   [ \" * \" ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22926"
  },
  {
    "question": "What is Aggregated ClusterRoles?",
    "answer": "Y o u   c a n   a g g r e g a t e   s e v e r a l   C l u s t e r R o l e s   i n t o   o n e   c o m b i n e d   C l u s t e r R o l e .   A   c o n t r o l l e r ,   r u n n i n g   a s   p a r t   o f   t h e   c l u s t e r   c o n t r o l   p l a n e ,   w a t c h e s   f o r   C l u s t e r R o l e   o b j e c t s   w i t h   a n   a g g r e g a t i o n R u l e   s e t .   T h e   a g g r e g a t i o n R u l e   d e f i n e s   a   l a b e l   s e l e c t o r   t h a t   t h e   c o n t r o l l e r   u s e s   t o   m a t c h   o t h e r   C l u s t e r R o l e   o b j e c t s   t h a t   s h o u l d   b e   c o m b i n e d   i n t o   t h e   r u l e s   f i e l d   o f   t h i s   o n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22927"
  },
  {
    "question": "What is Caution:?",
    "answer": "H e r e   i s   a n   e x a m p l e   a g g r e g a t e d   C l u s t e r R o l e :   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   n a m e :   m o n i t o r i n g   a g g r e g a t i o n R u l e :   c l u s t e r R o l e S e l e c t o r s :   -   m a t c h L a b e l s :   r b a c . e x a m p l e . c o m / a g g r e g a t e - t o - m o n i t o r i n g :   \" t r u e \"   r u l e s :   [ ]   #   T h e   c o n t r o l   p l a n e   a u t o m a t i c a l l y   f i l l s   i n   t h e   r u l e s   I f   y o u   c r e a t e   a   n e w   C l u s t e r R o l e   t h a t   m a t c h e s   t h e   l a b e l   s e l e c t o r   o f   a n   e x i s t i n g   a g g r e g a t e d   C l u s t e r R o l e ,   t h a t   c h a n g e   t r i g g e r s   a d d i n g   t h e   n e w   r u l e s   i n t o   t h e   a g g r e g a t e d   C l u s t e r R o l e .   H e r e   i s   a n   e x a m p l e   t h a t   a d d s   r u l e s   t o   t h e   \" m o n i t o r i n g \"   C l u s t e r R o l e ,   b y   c r e a t i n g   a n o t h e r   C l u s t e r R o l e   l a b e l e d   r b a c . e x a m p l e . c o m / a g g r e g a t e - t o - m o n i t o r i n g :   t r u e .   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   n a m e :   m o n i t o r i n g - e n d p o i n t s   l a b e l s :   r b a c . e x a m p l e . c o m / a g g r e g a t e - t o - m o n i t o r i n g :   \" t r u e \"   #   W h e n   y o u   c r e a t e   t h e   \" m o n i t o r i n g - e n d p o i n t s \"   C l u s t e r R o l e ,   #   t h e   r u l e s   b e l o w   w i l l   b e   a d d e d   t o   t h e   \" m o n i t o r i n g \"   C l u s t e r R o l e .   r u l e s :   -   a p i G r o u p s :   [ \" \" ]   r e s o u r c e s :   [ \" s e r v i c e s \" ,   \" e n d p o i n t s l i c e s \" ,   \" p o d s \" ]   v e r b s :   [ \" g e t \" ,   \" l i s t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22928"
  },
  {
    "question": "What is Role examples?",
    "answer": "T h e   f o l l o w i n g   e x a m p l e s   a r e   e x c e r p t s   f r o m   R o l e   o r   C l u s t e r R o l e   o b j e c t s ,   s h o w i n g   o n l y   t h e   r u l e s   s e c t i o n .   A l l o w   r e a d i n g   \" p o d s \"   r e s o u r c e s   i n   t h e   c o r e   A P I   G r o u p :   r u l e s :   -   a p i G r o u p s :   [ \" \" ]   #   #   a t   t h e   H T T P   l e v e l ,   t h e   n a m e   o f   t h e   r e s o u r c e   f o r   a c c e s s i n g   P o d   #   o b j e c t s   i s   \" p o d s \"   r e s o u r c e s :   [ \" p o d s \" ]   v e r b s :   [ \" g e t \" ,   \" l i s t \" ,   \" w a t c h \" ]   A l l o w   r e a d i n g / w r i t i n g   D e p l o y m e n t s   ( a t   t h e   H T T P   l e v e l :   o b j e c t s   w i t h   \" d e p l o y m e n t s \"   i n   t h e   r e s o u r c e   p a r t   o f   t h e i r   U R L )   i n   t h e   \" a p p s \"   A P I   g r o u p s :   r u l e s :   -   a p i G r o u p s :   [ \" a p p s \" ]   #   #   a t   t h e   H T T P   l e v e l ,   t h e   n a m e   o f   t h e   r e s o u r c e   f o r   a c c e s s i n g   D e p l o y m e n t   #   o b j e c t s   i s   \" d e p l o y m e n t s \"   r e s o u r c e s :   [ \" d e p l o y m e n t s \" ]   v e r b s :   [ \" g e t \" ,   \" l i s t \" ,   \" w a t c h \" ,   \" c r e a t e \" ,   \" u p d a t e \" ,   \" p a t c h \" ,   \" d e l e t e \" ]   A l l o w   r e a d i n g   P o d s   i n   t h e   c o r e   A P I   g r o u p ,   a s   w e l l   a s   r e a d i n g   o r   w r i t i n g   J o b   r e s o u r c e s   i n   t h e   \" b a t c h \"   A P I   g r o u p :   r u l e s :   -   a p i G r o u p s :   [ \" \" ]   #   #   a t   t h e   H T T P   l e v e l ,   t h e   n a m e   o f   t h e   r e s o u r c e   f o r   a c c e s s i n g   P o d   #   o b j e c t s   i s   \" p o d s \"   r e s o u r c e s :   [ \" p o d s \" ]   v e r b s :   [ \" g e t \" ,   \" l i s t \" ,   \" w a t c h \" ]   -   a p i G r o u p s :   [ \" b a t c h \" ]   #   #   a t   t h e   H T T ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22929"
  },
  {
    "question": "What is Referring to subjects?",
    "answer": "A   R o l e B i n d i n g   o r   C l u s t e r R o l e B i n d i n g   b i n d s   a   r o l e   t o   s u b j e c t s .   S u b j e c t s   c a n   b e   g r o u p s ,   u s e r s   o r   S e r v i c e A c c o u n t s .   K u b e r n e t e s   r e p r e s e n t s   u s e r n a m e s   a s   s t r i n g s .   T h e s e   c a n   b e :   p l a i n   n a m e s ,   s u c h   a s   \" a l i c e \" ;   e m a i l - s t y l e   n a m e s ,   l i k e   \" b o b @ e x a m p l e . c o m \" ;   o r   n u m e r i c   u s e r   I D s   r e p r e s e n t e d   a s   a   s t r i n g .   I t   i s   u p   t o   y o u   a s   a   c l u s t e r   a d m i n i s t r a t o r   t o   c o n f i g u r e   t h e   a u t h e n t i c a t i o n   m o d u l e s   s o   t h a t   a u t h e n t i c a t i o n   p r o d u c e s   u s e r n a m e s   i n   t h e   f o r m a t   y o u   w a n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22930"
  },
  {
    "question": "What is Caution:?",
    "answer": "I n   K u b e r n e t e s ,   A u t h e n t i c a t o r   m o d u l e s   p r o v i d e   g r o u p   i n f o r m a t i o n .   G r o u p s ,   l i k e   u s e r s ,   a r e   r e p r e s e n t e d   a s   s t r i n g s ,   a n d   t h a t   s t r i n g   h a s   n o   f o r m a t   r e q u i r e m e n t s ,   o t h e r   t h a n   t h a t   t h e   p r e f i x   s y s t e m :   i s   r e s e r v e d .   S e r v i c e A c c o u n t s   h a v e   n a m e s   p r e f i x e d   w i t h   s y s t e m : s e r v i c e a c c o u n t : ,   a n d   b e l o n g   t o   g r o u p s   t h a t   h a v e   n a m e s   p r e f i x e d   w i t h   s y s t e m : s e r v i c e a c c o u n t s : .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22931"
  },
  {
    "question": "What is Note:?",
    "answer": "s y s t e m : s e r v i c e a c c o u n t :   ( s i n g u l a r )   i s   t h e   p r e f i x   f o r   s e r v i c e   a c c o u n t   u s e r n a m e s . s y s t e m : s e r v i c e a c c o u n t s :   ( p l u r a l )   i s   t h e   p r e f i x   f o r   s e r v i c e   a c c o u n t   g r o u p s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22932"
  },
  {
    "question": "What is RoleBinding examples?",
    "answer": "T h e   f o l l o w i n g   e x a m p l e s   a r e   R o l e B i n d i n g   e x c e r p t s   t h a t   o n l y   s h o w   t h e   s u b j e c t s   s e c t i o n .   F o r   a   u s e r   n a m e d   a l i c e @ e x a m p l e . c o m :   s u b j e c t s :   -   k i n d :   U s e r   n a m e :   \" a l i c e @ e x a m p l e . c o m \"   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o   F o r   a   g r o u p   n a m e d   f r o n t e n d - a d m i n s :   s u b j e c t s :   -   k i n d :   G r o u p   n a m e :   \" f r o n t e n d - a d m i n s \"   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o   F o r   t h e   d e f a u l t   s e r v i c e   a c c o u n t   i n   t h e   \" k u b e - s y s t e m \"   n a m e s p a c e :   s u b j e c t s :   -   k i n d :   S e r v i c e A c c o u n t   n a m e :   d e f a u l t   n a m e s p a c e :   k u b e - s y s t e m   F o r   a l l   s e r v i c e   a c c o u n t s   i n   t h e   \" q a \"   n a m e s p a c e :   s u b j e c t s :   -   k i n d :   G r o u p   n a m e :   s y s t e m : s e r v i c e a c c o u n t s : q a   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o   F o r   a l l   s e r v i c e   a c c o u n t s   i n   a n y   n a m e s p a c e :   s u b j e c t s :   -   k i n d :   G r o u p   n a m e :   s y s t e m : s e r v i c e a c c o u n t s   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o   F o r   a l l   a u t h e n t i c a t e d   u s e r s :   s u b j e c t s :   -   k i n d :   G r o u p   n a m e :   s y s t e m : a u t h e n t i c a t e d   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o   F o r   a l l   u n a u t h e n t i c a t e d   u s e r s :   s u b j e c t s :   -   k i n d :   G r o u p   n a m e :   s y s t e m : u n a u t h e n t i c a t e d   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o   F o r   a l l   u s e r s :   s u b j e c t s :   -   k i n d :   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22933"
  },
  {
    "question": "What is Default roles and role bindings?",
    "answer": "A P I   s e r v e r s   c r e a t e   a   s e t   o f   d e f a u l t   C l u s t e r R o l e   a n d   C l u s t e r R o l e B i n d i n g   o b j e c t s .   M a n y   o f   t h e s e   a r e   s y s t e m :   p r e f i x e d ,   w h i c h   i n d i c a t e s   t h a t   t h e   r e s o u r c e   i s   d i r e c t l y   m a n a g e d   b y   t h e   c l u s t e r   c o n t r o l   p l a n e .   A l l   o f   t h e   d e f a u l t   C l u s t e r R o l e s   a n d   C l u s t e r R o l e B i n d i n g s   a r e   l a b e l e d   w i t h   k u b e r n e t e s . i o / b o o t s t r a p p i n g = r b a c - d e f a u l t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22934"
  },
  {
    "question": "What is Auto-reconciliation?",
    "answer": "A t   e a c h   s t a r t - u p ,   t h e   A P I   s e r v e r   u p d a t e s   d e f a u l t   c l u s t e r   r o l e s   w i t h   a n y   m i s s i n g   p e r m i s s i o n s ,   a n d   u p d a t e s   d e f a u l t   c l u s t e r   r o l e   b i n d i n g s   w i t h   a n y   m i s s i n g   s u b j e c t s .   T h i s   a l l o w s   t h e   c l u s t e r   t o   r e p a i r   a c c i d e n t a l   m o d i f i c a t i o n s ,   a n d   h e l p s   t o   k e e p   r o l e s   a n d   r o l e   b i n d i n g s   u p - t o - d a t e   a s   p e r m i s s i o n s   a n d   s u b j e c t s   c h a n g e   i n   n e w   K u b e r n e t e s   r e l e a s e s .   T o   o p t   o u t   o f   t h i s   r e c o n c i l i a t i o n ,   s e t   t h e   r b a c . a u t h o r i z a t i o n . k u b e r n e t e s . i o / a u t o u p d a t e   a n n o t a t i o n   o n   a   d e f a u l t   c l u s t e r   r o l e   o r   d e f a u l t   c l u s t e r   R o l e B i n d i n g   t o   f a l s e .   B e   a w a r e   t h a t   m i s s i n g   d e f a u l t   p e r m i s s i o n s   a n d   s u b j e c t s   c a n   r e s u l t   i n   n o n - f u n c t i o n a l   c l u s t e r s .   A u t o - r e c o n c i l i a t i o n   i s   e n a b l e d   b y   d e f a u l t   i f   t h e   R B A C   a u t h o r i z e r   i s   a c t i v e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22935"
  },
  {
    "question": "What is API discovery roles?",
    "answer": "D e f a u l t   c l u s t e r   r o l e   b i n d i n g s   a u t h o r i z e   u n a u t h e n t i c a t e d   a n d   a u t h e n t i c a t e d   u s e r s   t o   r e a d   A P I   i n f o r m a t i o n   t h a t   i s   d e e m e d   s a f e   t o   b e   p u b l i c l y   a c c e s s i b l e   ( i n c l u d i n g   C u s t o m R e s o u r c e D e f i n i t i o n s ) .   T o   d i s a b l e   a n o n y m o u s   u n a u t h e n t i c a t e d   a c c e s s ,   a d d   - - a n o n y m o u s - a u t h = f a l s e   f l a g   t o   t h e   A P I   s e r v e r   c o n f i g u r a t i o n .   T o   v i e w   t h e   c o n f i g u r a t i o n   o f   t h e s e   r o l e s   v i a   k u b e c t l   r u n :   k u b e c t l   g e t   c l u s t e r r o l e s   s y s t e m : d i s c o v e r y   - o   y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22936"
  },
  {
    "question": "What is User-facing roles?",
    "answer": "S o m e   o f   t h e   d e f a u l t   C l u s t e r R o l e s   a r e   n o t   s y s t e m :   p r e f i x e d .   T h e s e   a r e   i n t e n d e d   t o   b e   u s e r - f a c i n g   r o l e s .   T h e y   i n c l u d e   s u p e r - u s e r   r o l e s   ( c l u s t e r - a d m i n ) ,   r o l e s   i n t e n d e d   t o   b e   g r a n t e d   c l u s t e r - w i d e   u s i n g   C l u s t e r R o l e B i n d i n g s ,   a n d   r o l e s   i n t e n d e d   t o   b e   g r a n t e d   w i t h i n   p a r t i c u l a r   n a m e s p a c e s   u s i n g   R o l e B i n d i n g s   ( a d m i n ,   e d i t ,   v i e w ) .   U s e r - f a c i n g   C l u s t e r R o l e s   u s e   C l u s t e r R o l e   a g g r e g a t i o n   t o   a l l o w   a d m i n s   t o   i n c l u d e   r u l e s   f o r   c u s t o m   r e s o u r c e s   o n   t h e s e   C l u s t e r R o l e s .   T o   a d d   r u l e s   t o   t h e   a d m i n ,   e d i t ,   o r   v i e w   r o l e s ,   c r e a t e   a   C l u s t e r R o l e   w i t h   o n e   o r   m o r e   o f   t h e   f o l l o w i n g   l a b e l s :   m e t a d a t a :   l a b e l s :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / a g g r e g a t e - t o - a d m i n :   \" t r u e \"   r b a c . a u t h o r i z a t i o n . k 8 s . i o / a g g r e g a t e - t o - e d i t :   \" t r u e \"   r b a c . a u t h o r i z a t i o n . k 8 s . i o / a g g r e g a t e - t o - v i e w :   \" t r u e \"   I f   u s e d   i n   a   R o l e B i n d i n g ,   a l l o w s   r e a d / w r i t e   a c c e s s   t o   m o s t   r e s o u r c e s   i n   a   n a m e s p a c e ,   i n c l u d i n g   t h e   a b i l i t y   t o   c r e a t e   r o l e s   a n d   r o l e   b i n d i n g s   w i t h i n   t h e   n a m e s p a c e .   T h i s   r o l e   d o e s   n o t   a l l o w   w r i t e   a c c e s s   t o   r e s o u r c e   q u o t a   o r   t o   t h e   n a m e s p a c e   i t s e l f .   T h i s   r o l e   a l s o   d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22937"
  },
  {
    "question": "What is Core component roles?",
    "answer": "Y o u   s h o u l d   u s e   t h e   N o d e   a u t h o r i z e r   a n d   N o d e R e s t r i c t i o n   a d m i s s i o n   p l u g i n   i n s t e a d   o f   t h e   s y s t e m : n o d e   r o l e ,   a n d   a l l o w   g r a n t i n g   A P I   a c c e s s   t o   k u b e l e t s   b a s e d   o n   t h e   P o d s   s c h e d u l e d   t o   r u n   o n   t h e m .   T h e   s y s t e m : n o d e   r o l e   o n l y   e x i s t s   f o r   c o m p a t i b i l i t y   w i t h   K u b e r n e t e s   c l u s t e r s   u p g r a d e d   f r o m   v e r s i o n s   p r i o r   t o   v 1 . 8 .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22938"
  },
  {
    "question": "What is Roles for built-in controllers?",
    "answer": "T h e   K u b e r n e t e s   c o n t r o l l e r   m a n a g e r   r u n s   c o n t r o l l e r s   t h a t   a r e   b u i l t   i n   t o   t h e   K u b e r n e t e s   c o n t r o l   p l a n e .   W h e n   i n v o k e d   w i t h   - - u s e - s e r v i c e - a c c o u n t - c r e d e n t i a l s ,   k u b e - c o n t r o l l e r - m a n a g e r   s t a r t s   e a c h   c o n t r o l l e r   u s i n g   a   s e p a r a t e   s e r v i c e   a c c o u n t .   C o r r e s p o n d i n g   r o l e s   e x i s t   f o r   e a c h   b u i l t - i n   c o n t r o l l e r ,   p r e f i x e d   w i t h   s y s t e m : c o n t r o l l e r : .   I f   t h e   c o n t r o l l e r   m a n a g e r   i s   n o t   s t a r t e d   w i t h   - - u s e - s e r v i c e - a c c o u n t - c r e d e n t i a l s ,   i t   r u n s   a l l   c o n t r o l   l o o p s   u s i n g   i t s   o w n   c r e d e n t i a l ,   w h i c h   m u s t   b e   g r a n t e d   a l l   t h e   r e l e v a n t   r o l e s .   T h e s e   r o l e s   i n c l u d e :   s y s t e m : c o n t r o l l e r : a t t a c h d e t a c h - c o n t r o l l e r s y s t e m : c o n t r o l l e r : c e r t i f i c a t e - c o n t r o l l e r s y s t e m : c o n t r o l l e r : c l u s t e r r o l e - a g g r e g a t i o n - c o n t r o l l e r s y s t e m : c o n t r o l l e r : c r o n j o b - c o n t r o l l e r s y s t e m : c o n t r o l l e r : d a e m o n - s e t - c o n t r o l l e r s y s t e m : c o n t r o l l e r : d e p l o y m e n t - c o n t r o l l e r s y s t e m : c o n t r o l l e r : d i s r u p t i o n - c o n t r o l l e r s y s t e m : c o n t r o l l e r : e n d p o i n t - c o n t r o l l e r s y s t e m : c o n t r o l l e r : e x p a n d - c o n t r o l l e r s y s t e m : c o n t r o l l e r : g e n e r i c - g a r b a g e - c o l l e c t o r s y s t e m : c o n t r o l l e r : h o r i z o n t a l - p o d - a u t o s c a l e r s y s t e m : c o n t r o l l e r : j o b - c o n t r o l l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22939"
  },
  {
    "question": "What is Privilege escalation prevention and bootstrapping?",
    "answer": "T h e   R B A C   A P I   p r e v e n t s   u s e r s   f r o m   e s c a l a t i n g   p r i v i l e g e s   b y   e d i t i n g   r o l e s   o r   r o l e   b i n d i n g s .   B e c a u s e   t h i s   i s   e n f o r c e d   a t   t h e   A P I   l e v e l ,   i t   a p p l i e s   e v e n   w h e n   t h e   R B A C   a u t h o r i z e r   i s   n o t   i n   u s e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22940"
  },
  {
    "question": "What is Restrictions on role creation or update?",
    "answer": "Y o u   c a n   o n l y   c r e a t e / u p d a t e   a   r o l e   i f   a t   l e a s t   o n e   o f   t h e   f o l l o w i n g   t h i n g s   i s   t r u e :   Y o u   a l r e a d y   h a v e   a l l   t h e   p e r m i s s i o n s   c o n t a i n e d   i n   t h e   r o l e ,   a t   t h e   s a m e   s c o p e   a s   t h e   o b j e c t   b e i n g   m o d i f i e d   ( c l u s t e r - w i d e   f o r   a   C l u s t e r R o l e ,   w i t h i n   t h e   s a m e   n a m e s p a c e   o r   c l u s t e r - w i d e   f o r   a   R o l e ) . Y o u   a r e   g r a n t e d   e x p l i c i t   p e r m i s s i o n   t o   p e r f o r m   t h e   e s c a l a t e   v e r b   o n   t h e   r o l e s   o r   c l u s t e r r o l e s   r e s o u r c e   i n   t h e   r b a c . a u t h o r i z a t i o n . k 8 s . i o   A P I   g r o u p .   F o r   e x a m p l e ,   i f   u s e r - 1   d o e s   n o t   h a v e   t h e   a b i l i t y   t o   l i s t   S e c r e t s   c l u s t e r - w i d e ,   t h e y   c a n n o t   c r e a t e   a   C l u s t e r R o l e   c o n t a i n i n g   t h a t   p e r m i s s i o n .   T o   a l l o w   a   u s e r   t o   c r e a t e / u p d a t e   r o l e s :   G r a n t   t h e m   a   r o l e   t h a t   a l l o w s   t h e m   t o   c r e a t e / u p d a t e   R o l e   o r   C l u s t e r R o l e   o b j e c t s ,   a s   d e s i r e d . G r a n t   t h e m   p e r m i s s i o n   t o   i n c l u d e   s p e c i f i c   p e r m i s s i o n s   i n   t h e   r o l e s   t h e y   c r e a t e / u p d a t e : i m p l i c i t l y ,   b y   g i v i n g   t h e m   t h o s e   p e r m i s s i o n s   ( i f   t h e y   a t t e m p t   t o   c r e a t e   o r   m o d i f y   a   R o l e   o r   C l u s t e r R o l e   w i t h   p e r m i s s i o n s   t h e y   t h e m s e l v e s   h a v e   n o t   b e e n   g r a n t e d ,   t h e   A P I   r e q u e s t   w i l l   b e   f o r b i d d e n ) o r   e x p l i c i t l y   a l l o w   s p e c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22941"
  },
  {
    "question": "What is Restrictions on role binding creation or update?",
    "answer": "Y o u   c a n   o n l y   c r e a t e / u p d a t e   a   r o l e   b i n d i n g   i f   y o u   a l r e a d y   h a v e   a l l   t h e   p e r m i s s i o n s   c o n t a i n e d   i n   t h e   r e f e r e n c e d   r o l e   ( a t   t h e   s a m e   s c o p e   a s   t h e   r o l e   b i n d i n g )   o r   i f   y o u   h a v e   b e e n   a u t h o r i z e d   t o   p e r f o r m   t h e   b i n d   v e r b   o n   t h e   r e f e r e n c e d   r o l e .   F o r   e x a m p l e ,   i f   u s e r - 1   d o e s   n o t   h a v e   t h e   a b i l i t y   t o   l i s t   S e c r e t s   c l u s t e r - w i d e ,   t h e y   c a n n o t   c r e a t e   a   C l u s t e r R o l e B i n d i n g   t o   a   r o l e   t h a t   g r a n t s   t h a t   p e r m i s s i o n .   T o   a l l o w   a   u s e r   t o   c r e a t e / u p d a t e   r o l e   b i n d i n g s :   G r a n t   t h e m   a   r o l e   t h a t   a l l o w s   t h e m   t o   c r e a t e / u p d a t e   R o l e B i n d i n g   o r   C l u s t e r R o l e B i n d i n g   o b j e c t s ,   a s   d e s i r e d . G r a n t   t h e m   p e r m i s s i o n s   n e e d e d   t o   b i n d   a   p a r t i c u l a r   r o l e : i m p l i c i t l y ,   b y   g i v i n g   t h e m   t h e   p e r m i s s i o n s   c o n t a i n e d   i n   t h e   r o l e . e x p l i c i t l y ,   b y   g i v i n g   t h e m   p e r m i s s i o n   t o   p e r f o r m   t h e   b i n d   v e r b   o n   t h e   p a r t i c u l a r   R o l e   ( o r   C l u s t e r R o l e ) .   i m p l i c i t l y ,   b y   g i v i n g   t h e m   t h e   p e r m i s s i o n s   c o n t a i n e d   i n   t h e   r o l e . e x p l i c i t l y ,   b y   g i v i n g   t h e m   p e r m i s s i o n   t o   p e r f o r m   t h e   b i n d   v e r b   o n   t h e   p a r t i c u l a r   R o l e   ( o r   C l u s t e r R o l e ) .   F o r   e x a m p l e ,   t h i s   C l u s t e r R o l e   a n d   R o l e B i n d i n g   w o u l d   a l l o w   u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22942"
  },
  {
    "question": "What is kubectl create role?",
    "answer": "C r e a t e s   a   R o l e   o b j e c t   d e f i n i n g   p e r m i s s i o n s   w i t h i n   a   s i n g l e   n a m e s p a c e .   E x a m p l e s :   C r e a t e   a   R o l e   n a m e d   \" p o d - r e a d e r \"   t h a t   a l l o w s   u s e r s   t o   p e r f o r m   g e t ,   w a t c h   a n d   l i s t   o n   p o d s : k u b e c t l   c r e a t e   r o l e   p o d - r e a d e r   - - v e r b = g e t   - - v e r b = l i s t   - - v e r b = w a t c h   - - r e s o u r c e = p o d s   C r e a t e   a   R o l e   n a m e d   \" p o d - r e a d e r \"   w i t h   r e s o u r c e N a m e s   s p e c i f i e d : k u b e c t l   c r e a t e   r o l e   p o d - r e a d e r   - - v e r b = g e t   - - r e s o u r c e = p o d s   - - r e s o u r c e - n a m e = r e a d a b l e p o d   - - r e s o u r c e - n a m e = a n o t h e r p o d   C r e a t e   a   R o l e   n a m e d   \" f o o \"   w i t h   a p i G r o u p s   s p e c i f i e d : k u b e c t l   c r e a t e   r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = r e p l i c a s e t s . a p p s   C r e a t e   a   R o l e   n a m e d   \" f o o \"   w i t h   s u b r e s o u r c e   p e r m i s s i o n s : k u b e c t l   c r e a t e   r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = p o d s , p o d s / s t a t u s   C r e a t e   a   R o l e   n a m e d   \" m y - c o m p o n e n t - l e a s e - h o l d e r \"   w i t h   p e r m i s s i o n s   t o   g e t / u p d a t e   a   r e s o u r c e   w i t h   a   s p e c i f i c   n a m e : k u b e c t l   c r e a t e   r o l e   m y - c o m p o n e n t - l e a s e - h o l d e r   - - v e r b = g e t , l i s t , w a t c h , u p d a t e   - - r e s o u r c e = l e a s e   - - r e s o u r c e - n a m e = m y - c o m p o n e n t   C r e a t e   a   R o l e   n a m e d   \" p o d - r e a d e r \"   t h a t   a l l o w s   u s e r s   t o   p e r f o r m   g e t ,   w a t c h   a n d   l i s t   o n   p ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22943"
  },
  {
    "question": "What is kubectl create clusterrole?",
    "answer": "C r e a t e s   a   C l u s t e r R o l e .   E x a m p l e s :   C r e a t e   a   C l u s t e r R o l e   n a m e d   \" p o d - r e a d e r \"   t h a t   a l l o w s   u s e r   t o   p e r f o r m   g e t ,   w a t c h   a n d   l i s t   o n   p o d s : k u b e c t l   c r e a t e   c l u s t e r r o l e   p o d - r e a d e r   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = p o d s   C r e a t e   a   C l u s t e r R o l e   n a m e d   \" p o d - r e a d e r \"   w i t h   r e s o u r c e N a m e s   s p e c i f i e d : k u b e c t l   c r e a t e   c l u s t e r r o l e   p o d - r e a d e r   - - v e r b = g e t   - - r e s o u r c e = p o d s   - - r e s o u r c e - n a m e = r e a d a b l e p o d   - - r e s o u r c e - n a m e = a n o t h e r p o d   C r e a t e   a   C l u s t e r R o l e   n a m e d   \" f o o \"   w i t h   a p i G r o u p s   s p e c i f i e d : k u b e c t l   c r e a t e   c l u s t e r r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = r e p l i c a s e t s . a p p s   C r e a t e   a   C l u s t e r R o l e   n a m e d   \" f o o \"   w i t h   s u b r e s o u r c e   p e r m i s s i o n s : k u b e c t l   c r e a t e   c l u s t e r r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = p o d s , p o d s / s t a t u s   C r e a t e   a   C l u s t e r R o l e   n a m e d   \" f o o \"   w i t h   n o n R e s o u r c e U R L   s p e c i f i e d : k u b e c t l   c r e a t e   c l u s t e r r o l e   \" f o o \"   - - v e r b = g e t   - - n o n - r e s o u r c e - u r l = / l o g s / *   C r e a t e   a   C l u s t e r R o l e   n a m e d   \" m o n i t o r i n g \"   w i t h   a n   a g g r e g a t i o n R u l e   s p e c i f i e d : k u b e c t l   c r e a t e   c l u s t e r r o l e   m o n i t o r i n g   - - a g g r e g a t i o n - r u l e = \" r b a c . e x a m p l e . c o m / a g g r e g a t e - t o - m o n i t o r i n g = t r u e \"   C r e a t e   a   C l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22944"
  },
  {
    "question": "What is kubectl create rolebinding?",
    "answer": "G r a n t s   a   R o l e   o r   C l u s t e r R o l e   w i t h i n   a   s p e c i f i c   n a m e s p a c e .   E x a m p l e s :   W i t h i n   t h e   n a m e s p a c e   \" a c m e \" ,   g r a n t   t h e   p e r m i s s i o n s   i n   t h e   \" a d m i n \"   C l u s t e r R o l e   t o   a   u s e r   n a m e d   \" b o b \" : k u b e c t l   c r e a t e   r o l e b i n d i n g   b o b - a d m i n - b i n d i n g   - - c l u s t e r r o l e = a d m i n   - - u s e r = b o b   - - n a m e s p a c e = a c m e   W i t h i n   t h e   n a m e s p a c e   \" a c m e \" ,   g r a n t   t h e   p e r m i s s i o n s   i n   t h e   \" v i e w \"   C l u s t e r R o l e   t o   t h e   s e r v i c e   a c c o u n t   i n   t h e   n a m e s p a c e   \" a c m e \"   n a m e d   \" m y a p p \" : k u b e c t l   c r e a t e   r o l e b i n d i n g   m y a p p - v i e w - b i n d i n g   - - c l u s t e r r o l e = v i e w   - - s e r v i c e a c c o u n t = a c m e : m y a p p   - - n a m e s p a c e = a c m e   W i t h i n   t h e   n a m e s p a c e   \" a c m e \" ,   g r a n t   t h e   p e r m i s s i o n s   i n   t h e   \" v i e w \"   C l u s t e r R o l e   t o   a   s e r v i c e   a c c o u n t   i n   t h e   n a m e s p a c e   \" m y a p p n a m e s p a c e \"   n a m e d   \" m y a p p \" : k u b e c t l   c r e a t e   r o l e b i n d i n g   m y a p p n a m e s p a c e - m y a p p - v i e w - b i n d i n g   - - c l u s t e r r o l e = v i e w   - - s e r v i c e a c c o u n t = m y a p p n a m e s p a c e : m y a p p   - - n a m e s p a c e = a c m e   W i t h i n   t h e   n a m e s p a c e   \" a c m e \" ,   g r a n t   t h e   p e r m i s s i o n s   i n   t h e   \" a d m i n \"   C l u s t e r R o l e   t o   a   u s e r   n a m e d   \" b o b \" :   k u b e c t l   c r e a t e   r o l e b i n d i n g   b o b - a d m i n - b i n d i n g   - - c l u s t e r r o l e = a d m i n   - - u s e r = b o b   - - n a m e s p a c e = a c m e   W i t h i n   t h e   n a m e s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22945"
  },
  {
    "question": "What is kubectl create clusterrolebinding?",
    "answer": "G r a n t s   a   C l u s t e r R o l e   a c r o s s   t h e   e n t i r e   c l u s t e r   ( a l l   n a m e s p a c e s ) .   E x a m p l e s :   A c r o s s   t h e   e n t i r e   c l u s t e r ,   g r a n t   t h e   p e r m i s s i o n s   i n   t h e   \" c l u s t e r - a d m i n \"   C l u s t e r R o l e   t o   a   u s e r   n a m e d   \" r o o t \" : k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   r o o t - c l u s t e r - a d m i n - b i n d i n g   - - c l u s t e r r o l e = c l u s t e r - a d m i n   - - u s e r = r o o t   A c r o s s   t h e   e n t i r e   c l u s t e r ,   g r a n t   t h e   p e r m i s s i o n s   i n   t h e   \" s y s t e m : n o d e - p r o x i e r \"   C l u s t e r R o l e   t o   a   u s e r   n a m e d   \" s y s t e m : k u b e - p r o x y \" : k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   k u b e - p r o x y - b i n d i n g   - - c l u s t e r r o l e = s y s t e m : n o d e - p r o x i e r   - - u s e r = s y s t e m : k u b e - p r o x y   A c r o s s   t h e   e n t i r e   c l u s t e r ,   g r a n t   t h e   p e r m i s s i o n s   i n   t h e   \" v i e w \"   C l u s t e r R o l e   t o   a   s e r v i c e   a c c o u n t   n a m e d   \" m y a p p \"   i n   t h e   n a m e s p a c e   \" a c m e \" : k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   m y a p p - v i e w - b i n d i n g   - - c l u s t e r r o l e = v i e w   - - s e r v i c e a c c o u n t = a c m e : m y a p p   A c r o s s   t h e   e n t i r e   c l u s t e r ,   g r a n t   t h e   p e r m i s s i o n s   i n   t h e   \" c l u s t e r - a d m i n \"   C l u s t e r R o l e   t o   a   u s e r   n a m e d   \" r o o t \" :   k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   r o o t - c l u s t e r - a d m i n - b i n d i n g   - - c l u s t e r r o l e = c l u s t e r - a d m i n   - - u s e r = r o o t   A c r o s s   t h e   e n t i r e   c l u s t e r ,   g r a n t   t h e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22946"
  },
  {
    "question": "What is kubectl auth reconcile?",
    "answer": "C r e a t e s   o r   u p d a t e s   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   A P I   o b j e c t s   f r o m   a   m a n i f e s t   f i l e .   M i s s i n g   o b j e c t s   a r e   c r e a t e d ,   a n d   t h e   c o n t a i n i n g   n a m e s p a c e   i s   c r e a t e d   f o r   n a m e s p a c e d   o b j e c t s ,   i f   r e q u i r e d .   E x i s t i n g   r o l e s   a r e   u p d a t e d   t o   i n c l u d e   t h e   p e r m i s s i o n s   i n   t h e   i n p u t   o b j e c t s ,   a n d   r e m o v e   e x t r a   p e r m i s s i o n s   i f   - - r e m o v e - e x t r a - p e r m i s s i o n s   i s   s p e c i f i e d .   E x i s t i n g   b i n d i n g s   a r e   u p d a t e d   t o   i n c l u d e   t h e   s u b j e c t s   i n   t h e   i n p u t   o b j e c t s ,   a n d   r e m o v e   e x t r a   s u b j e c t s   i f   - - r e m o v e - e x t r a - s u b j e c t s   i s   s p e c i f i e d .   E x a m p l e s :   T e s t   a p p l y i n g   a   m a n i f e s t   f i l e   o f   R B A C   o b j e c t s ,   d i s p l a y i n g   c h a n g e s   t h a t   w o u l d   b e   m a d e : k u b e c t l   a u t h   r e c o n c i l e   - f   m y - r b a c - r u l e s . y a m l   - - d r y - r u n = c l i e n t   A p p l y   a   m a n i f e s t   f i l e   o f   R B A C   o b j e c t s ,   p r e s e r v i n g   a n y   e x t r a   p e r m i s s i o n s   ( i n   r o l e s )   a n d   a n y   e x t r a   s u b j e c t s   ( i n   b i n d i n g s ) : k u b e c t l   a u t h   r e c o n c i l e   - f   m y - r b a c - r u l e s . y a m l   A p p l y   a   m a n i f e s t   f i l e   o f   R B A C   o b j e c t s ,   r e m o v i n g   a n y   e x t r a   p e r m i s s i o n s   ( i n   r o l e s )   a n d   a n y   e x t r a   s u b j e c t s   ( i n   b i n d i n g s ) : k u b e c t l   a u t h   r e c o n c i l e   - f   m y - r b a c - r u l e s . y a m l   - - r e m o v e - e x t r a - s u b j e c t s   - - r e m o v e - e x ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22947"
  },
  {
    "question": "What is ServiceAccount permissions?",
    "answer": "D e f a u l t   R B A C   p o l i c i e s   g r a n t   s c o p e d   p e r m i s s i o n s   t o   c o n t r o l - p l a n e   c o m p o n e n t s ,   n o d e s ,   a n d   c o n t r o l l e r s ,   b u t   g r a n t   n o   p e r m i s s i o n s   t o   s e r v i c e   a c c o u n t s   o u t s i d e   t h e   k u b e - s y s t e m   n a m e s p a c e   ( b e y o n d   t h e   p e r m i s s i o n s   g i v e n   b y   A P I   d i s c o v e r y   r o l e s ) .   T h i s   a l l o w s   y o u   t o   g r a n t   p a r t i c u l a r   r o l e s   t o   p a r t i c u l a r   S e r v i c e A c c o u n t s   a s   n e e d e d .   F i n e - g r a i n e d   r o l e   b i n d i n g s   p r o v i d e   g r e a t e r   s e c u r i t y ,   b u t   r e q u i r e   m o r e   e f f o r t   t o   a d m i n i s t r a t e .   B r o a d e r   g r a n t s   c a n   g i v e   u n n e c e s s a r y   ( a n d   p o t e n t i a l l y   e s c a l a t i n g )   A P I   a c c e s s   t o   S e r v i c e A c c o u n t s ,   b u t   a r e   e a s i e r   t o   a d m i n i s t r a t e .   I n   o r d e r   f r o m   m o s t   s e c u r e   t o   l e a s t   s e c u r e ,   t h e   a p p r o a c h e s   a r e :   G r a n t   a   r o l e   t o   a n   a p p l i c a t i o n - s p e c i f i c   s e r v i c e   a c c o u n t   ( b e s t   p r a c t i c e ) T h i s   r e q u i r e s   t h e   a p p l i c a t i o n   t o   s p e c i f y   a   s e r v i c e A c c o u n t N a m e   i n   i t s   p o d   s p e c ,   a n d   f o r   t h e   s e r v i c e   a c c o u n t   t o   b e   c r e a t e d   ( v i a   t h e   A P I ,   a p p l i c a t i o n   m a n i f e s t ,   k u b e c t l   c r e a t e   s e r v i c e a c c o u n t ,   e t c . ) . F o r   e x a m p l e ,   g r a n t   r e a d - o n l y   p e r m i s s i o n   w i t h i n   \" m y - n a m e s p a c e \"   t o   t h e   \" m y - s a \"   s e r v i c e   a c c o u n t : k u b e c t l   c r e a t e   r o l e b i n d i n g   m y - s a - v i e w   \\   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22948"
  },
  {
    "question": "What is Note:?",
    "answer": "F o r   e x a m p l e ,   g r a n t   r e a d - o n l y   p e r m i s s i o n   w i t h i n   \" m y - n a m e s p a c e \"   t o   t h e   \" d e f a u l t \"   s e r v i c e   a c c o u n t :   k u b e c t l   c r e a t e   r o l e b i n d i n g   d e f a u l t - v i e w   \\   - - c l u s t e r r o l e = v i e w   \\   - - s e r v i c e a c c o u n t = m y - n a m e s p a c e : d e f a u l t   \\   - - n a m e s p a c e = m y - n a m e s p a c e   M a n y   a d d - o n s   r u n   a s   t h e   \" d e f a u l t \"   s e r v i c e   a c c o u n t   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   T o   a l l o w   t h o s e   a d d - o n s   t o   r u n   w i t h   s u p e r - u s e r   a c c e s s ,   g r a n t   c l u s t e r - a d m i n   p e r m i s s i o n s   t o   t h e   \" d e f a u l t \"   s e r v i c e   a c c o u n t   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22949"
  },
  {
    "question": "What is Caution:?",
    "answer": "k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   a d d - o n - c l u s t e r - a d m i n   \\   - - c l u s t e r r o l e = c l u s t e r - a d m i n   \\   - - s e r v i c e a c c o u n t = k u b e - s y s t e m : d e f a u l t   G r a n t   a   r o l e   t o   a l l   s e r v i c e   a c c o u n t s   i n   a   n a m e s p a c e   I f   y o u   w a n t   a l l   a p p l i c a t i o n s   i n   a   n a m e s p a c e   t o   h a v e   a   r o l e ,   n o   m a t t e r   w h a t   s e r v i c e   a c c o u n t   t h e y   u s e ,   y o u   c a n   g r a n t   a   r o l e   t o   t h e   s e r v i c e   a c c o u n t   g r o u p   f o r   t h a t   n a m e s p a c e .   F o r   e x a m p l e ,   g r a n t   r e a d - o n l y   p e r m i s s i o n   w i t h i n   \" m y - n a m e s p a c e \"   t o   a l l   s e r v i c e   a c c o u n t s   i n   t h a t   n a m e s p a c e :   k u b e c t l   c r e a t e   r o l e b i n d i n g   s e r v i c e a c c o u n t s - v i e w   \\   - - c l u s t e r r o l e = v i e w   \\   - - g r o u p = s y s t e m : s e r v i c e a c c o u n t s : m y - n a m e s p a c e   \\   - - n a m e s p a c e = m y - n a m e s p a c e   G r a n t   a   l i m i t e d   r o l e   t o   a l l   s e r v i c e   a c c o u n t s   c l u s t e r - w i d e   ( d i s c o u r a g e d )   I f   y o u   d o n ' t   w a n t   t o   m a n a g e   p e r m i s s i o n s   p e r - n a m e s p a c e ,   y o u   c a n   g r a n t   a   c l u s t e r - w i d e   r o l e   t o   a l l   s e r v i c e   a c c o u n t s .   F o r   e x a m p l e ,   g r a n t   r e a d - o n l y   p e r m i s s i o n   a c r o s s   a l l   n a m e s p a c e s   t o   a l l   s e r v i c e   a c c o u n t s   i n   t h e   c l u s t e r :   k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   s e r v i c e a c c o u n t s - v i e w   \\   - - c l u s t e r r o l e = v i e w   \\   - - g r o u p = s y s t e m : s e r v i c e a c c o u n t s   G r a n t   s u p ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22950"
  },
  {
    "question": "What is Warning:?",
    "answer": "k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   s e r v i c e a c c o u n t s - c l u s t e r - a d m i n   \\   - - c l u s t e r r o l e = c l u s t e r - a d m i n   \\   - - g r o u p = s y s t e m : s e r v i c e a c c o u n t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22951"
  },
  {
    "question": "What is Write access for EndpointSlices?",
    "answer": "K u b e r n e t e s   c l u s t e r s   c r e a t e d   b e f o r e   K u b e r n e t e s   v 1 . 2 2   i n c l u d e   w r i t e   a c c e s s   t o   E n d p o i n t S l i c e s   ( a n d   t h e   n o w - d e p r e c a t e d   E n d p o i n t s   A P I )   i n   t h e   a g g r e g a t e d   \" e d i t \"   a n d   \" a d m i n \"   r o l e s .   A s   a   m i t i g a t i o n   f o r   C V E - 2 0 2 1 - 2 5 7 4 0 ,   t h i s   a c c e s s   i s   n o t   p a r t   o f   t h e   a g g r e g a t e d   r o l e s   i n   c l u s t e r s   t h a t   y o u   c r e a t e   u s i n g   K u b e r n e t e s   v 1 . 2 2   o r   l a t e r .   E x i s t i n g   c l u s t e r s   t h a t   h a v e   b e e n   u p g r a d e d   t o   K u b e r n e t e s   v 1 . 2 2   w i l l   n o t   b e   s u b j e c t   t o   t h i s   c h a n g e .   T h e   C V E   a n n o u n c e m e n t   i n c l u d e s   g u i d a n c e   f o r   r e s t r i c t i n g   t h i s   a c c e s s   i n   e x i s t i n g   c l u s t e r s .   I f   y o u   w a n t   n e w   c l u s t e r s   t o   r e t a i n   t h i s   l e v e l   o f   a c c e s s   i n   t h e   a g g r e g a t e d   r o l e s ,   y o u   c a n   c r e a t e   t h e   f o l l o w i n g   C l u s t e r R o l e :   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   a n n o t a t i o n s :   k u b e r n e t e s . i o / d e s c r i p t i o n :   | -   A d d   e n d p o i n t s   w r i t e   p e r m i s s i o n s   t o   t h e   e d i t   a n d   a d m i n   r o l e s .   T h i s   w a s   r e m o v e d   b y   d e f a u l t   i n   1 . 2 2   b e c a u s e   o f   C V E - 2 0 2 1 - 2 5 7 4 0 .   S e e   h t t p s : / / i s s u e . k 8 s . i o / 1 0 3 6 7 5 .   T h i s   c a n   a l l o w   w r i t e r s   t o   d i r e c t   L o a d B a l a n c e r   o r   I n g r e s s   i m p l e m e n t a t i o n s   t o   e x p o s e   b a c k e n d   I P s   t h a t   w o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22952"
  },
  {
    "question": "What is Upgrading from ABAC?",
    "answer": "C l u s t e r s   t h a t   o r i g i n a l l y   r a n   o l d e r   K u b e r n e t e s   v e r s i o n s   o f t e n   u s e d   p e r m i s s i v e   A B A C   p o l i c i e s ,   i n c l u d i n g   g r a n t i n g   f u l l   A P I   a c c e s s   t o   a l l   s e r v i c e   a c c o u n t s .   D e f a u l t   R B A C   p o l i c i e s   g r a n t   s c o p e d   p e r m i s s i o n s   t o   c o n t r o l - p l a n e   c o m p o n e n t s ,   n o d e s ,   a n d   c o n t r o l l e r s ,   b u t   g r a n t   n o   p e r m i s s i o n s   t o   s e r v i c e   a c c o u n t s   o u t s i d e   t h e   k u b e - s y s t e m   n a m e s p a c e   ( b e y o n d   t h e   p e r m i s s i o n s   g i v e n   b y   A P I   d i s c o v e r y   r o l e s ) .   W h i l e   f a r   m o r e   s e c u r e ,   t h i s   c a n   b e   d i s r u p t i v e   t o   e x i s t i n g   w o r k l o a d s   e x p e c t i n g   t o   a u t o m a t i c a l l y   r e c e i v e   A P I   p e r m i s s i o n s .   H e r e   a r e   t w o   a p p r o a c h e s   f o r   m a n a g i n g   t h i s   t r a n s i t i o n :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22953"
  },
  {
    "question": "What is Parallel authorizers?",
    "answer": "R u n   b o t h   t h e   R B A C   a n d   A B A C   a u t h o r i z e r s ,   a n d   s p e c i f y   a   p o l i c y   f i l e   t h a t   c o n t a i n s   t h e   l e g a c y   A B A C   p o l i c y :   - - a u t h o r i z a t i o n - m o d e = . . . , R B A C , A B A C   - - a u t h o r i z a t i o n - p o l i c y - f i l e = m y p o l i c y . j s o n   T o   e x p l a i n   t h a t   f i r s t   c o m m a n d   l i n e   o p t i o n   i n   d e t a i l :   i f   e a r l i e r   a u t h o r i z e r s ,   s u c h   a s   N o d e ,   d e n y   a   r e q u e s t ,   t h e n   t h e   R B A C   a u t h o r i z e r   a t t e m p t s   t o   a u t h o r i z e   t h e   A P I   r e q u e s t .   I f   R B A C   a l s o   d e n i e s   t h a t   A P I   r e q u e s t ,   t h e   A B A C   a u t h o r i z e r   i s   t h e n   r u n .   T h i s   m e a n s   t h a t   a n y   r e q u e s t   a l l o w e d   b y   e i t h e r   t h e   R B A C   o r   A B A C   p o l i c i e s   i s   a l l o w e d .   W h e n   t h e   k u b e - a p i s e r v e r   i s   r u n   w i t h   a   l o g   l e v e l   o f   5   o r   h i g h e r   f o r   t h e   R B A C   c o m p o n e n t   ( - - v m o d u l e = r b a c * = 5   o r   - - v = 5 ) ,   y o u   c a n   s e e   R B A C   d e n i a l s   i n   t h e   A P I   s e r v e r   l o g   ( p r e f i x e d   w i t h   R B A C ) .   Y o u   c a n   u s e   t h a t   i n f o r m a t i o n   t o   d e t e r m i n e   w h i c h   r o l e s   n e e d   t o   b e   g r a n t e d   t o   w h i c h   u s e r s ,   g r o u p s ,   o r   s e r v i c e   a c c o u n t s .   O n c e   y o u   h a v e   g r a n t e d   r o l e s   t o   s e r v i c e   a c c o u n t s   a n d   w o r k l o a d s   a r e   r u n n i n g   w i t h   n o   R B A C   d e n i a l   m e s s a g e s   i n   t h e   s e r v e r   l o g s ,   y o u   c a n   r e m o v e   t h e   A B A C   a u t h o r i z e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22954"
  },
  {
    "question": "What is Permissive RBAC permissions?",
    "answer": "Y o u   c a n   r e p l i c a t e   a   p e r m i s s i v e   A B A C   p o l i c y   u s i n g   R B A C   r o l e   b i n d i n g s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22955"
  },
  {
    "question": "What is Warning:?",
    "answer": "T h e   f o l l o w i n g   p o l i c y   a l l o w s   A L L   s e r v i c e   a c c o u n t s   t o   a c t   a s   c l u s t e r   a d m i n i s t r a t o r s .   A n y   a p p l i c a t i o n   r u n n i n g   i n   a   c o n t a i n e r   r e c e i v e s   s e r v i c e   a c c o u n t   c r e d e n t i a l s   a u t o m a t i c a l l y ,   a n d   c o u l d   p e r f o r m   a n y   a c t i o n   a g a i n s t   t h e   A P I ,   i n c l u d i n g   v i e w i n g   s e c r e t s   a n d   m o d i f y i n g   p e r m i s s i o n s .   T h i s   i s   n o t   a   r e c o m m e n d e d   p o l i c y .   k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   p e r m i s s i v e - b i n d i n g   \\   - - c l u s t e r r o l e = c l u s t e r - a d m i n   \\   - - u s e r = a d m i n   \\   - - u s e r = k u b e l e t   \\   - - g r o u p = s y s t e m : s e r v i c e a c c o u n t s   A f t e r   y o u   h a v e   t r a n s i t i o n e d   t o   u s e   R B A C ,   y o u   s h o u l d   a d j u s t   t h e   a c c e s s   c o n t r o l s   f o r   y o u r   c l u s t e r   t o   e n s u r e   t h a t   t h e s e   m e e t   y o u r   i n f o r m a t i o n   s e c u r i t y   n e e d s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22956"
  },
  {
    "question": "What is 3.5 - Using Node Authorization?",
    "answer": "N o d e   a u t h o r i z a t i o n   i s   a   s p e c i a l - p u r p o s e   a u t h o r i z a t i o n   m o d e   t h a t   s p e c i f i c a l l y   a u t h o r i z e s   A P I   r e q u e s t s   m a d e   b y   k u b e l e t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_22957"
  },
  {
    "question": "What is Overview?",
    "answer": "T h e   N o d e   a u t h o r i z e r   a l l o w s   a   k u b e l e t   t o   p e r f o r m   A P I   o p e r a t i o n s .   T h i s   i n c l u d e s :   R e a d   o p e r a t i o n s :   s e r v i c e s e n d p o i n t s n o d e s p o d s s e c r e t s ,   c o n f i g m a p s ,   p e r s i s t e n t   v o l u m e   c l a i m s   a n d   p e r s i s t e n t   v o l u m e s   r e l a t e d   t o   p o d s   b o u n d   t o   t h e   k u b e l e t ' s   n o d e   K u b e l e t s   a r e   l i m i t e d   t o   r e a d i n g   t h e i r   o w n   N o d e   o b j e c t s ,   a n d   o n l y   r e a d i n g   p o d s   b o u n d   t o   t h e i r   n o d e .   W r i t e   o p e r a t i o n s :   n o d e s   a n d   n o d e   s t a t u s   ( e n a b l e   t h e   N o d e R e s t r i c t i o n   a d m i s s i o n   p l u g i n   t o   l i m i t   a   k u b e l e t   t o   m o d i f y   i t s   o w n   n o d e ) p o d s   a n d   p o d   s t a t u s   ( e n a b l e   t h e   N o d e R e s t r i c t i o n   a d m i s s i o n   p l u g i n   t o   l i m i t   a   k u b e l e t   t o   m o d i f y   p o d s   b o u n d   t o   i t s e l f ) e v e n t s   A u t h - r e l a t e d   o p e r a t i o n s :   r e a d / w r i t e   a c c e s s   t o   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t s   A P I   f o r   T L S   b o o t s t r a p p i n g t h e   a b i l i t y   t o   c r e a t e   T o k e n R e v i e w s   a n d   S u b j e c t A c c e s s R e v i e w s   f o r   d e l e g a t e d   a u t h e n t i c a t i o n / a u t h o r i z a t i o n   c h e c k s   I n   f u t u r e   r e l e a s e s ,   t h e   n o d e   a u t h o r i z e r   m a y   a d d   o r   r e m o v e   p e r m i s s i o n s   t o   e n s u r e   k u b e l e t s   h a v e   t h e   m i n i m a l   s e t   o f   p e r m i s s i o n s   r e q u i r e d   t o   o p e r a t e   c o r r e c t l y .   I n   o r d e r   t o   b e   a u t h o r i z e d   b y   t h e   N o d e   a u t h o r i z e r , ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22958"
  },
  {
    "question": "What is Kubelets outside the system:nodes group?",
    "answer": "K u b e l e t s   o u t s i d e   t h e   s y s t e m : n o d e s   g r o u p   w o u l d   n o t   b e   a u t h o r i z e d   b y   t h e   N o d e   a u t h o r i z a t i o n   m o d e ,   a n d   w o u l d   n e e d   t o   c o n t i n u e   t o   b e   a u t h o r i z e d   v i a   w h a t e v e r   m e c h a n i s m   c u r r e n t l y   a u t h o r i z e s   t h e m .   T h e   n o d e   a d m i s s i o n   p l u g i n   w o u l d   n o t   r e s t r i c t   r e q u e s t s   f r o m   t h e s e   k u b e l e t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22959"
  },
  {
    "question": "What is Kubelets with undifferentiated usernames?",
    "answer": "I n   s o m e   d e p l o y m e n t s ,   k u b e l e t s   h a v e   c r e d e n t i a l s   t h a t   p l a c e   t h e m   i n   t h e   s y s t e m : n o d e s   g r o u p ,   b u t   d o   n o t   i d e n t i f y   t h e   p a r t i c u l a r   n o d e   t h e y   a r e   a s s o c i a t e d   w i t h ,   b e c a u s e   t h e y   d o   n o t   h a v e   a   u s e r n a m e   i n   t h e   s y s t e m : n o d e : . . .   f o r m a t .   T h e s e   k u b e l e t s   w o u l d   n o t   b e   a u t h o r i z e d   b y   t h e   N o d e   a u t h o r i z a t i o n   m o d e ,   a n d   w o u l d   n e e d   t o   c o n t i n u e   t o   b e   a u t h o r i z e d   v i a   w h a t e v e r   m e c h a n i s m   c u r r e n t l y   a u t h o r i z e s   t h e m .   T h e   N o d e R e s t r i c t i o n   a d m i s s i o n   p l u g i n   w o u l d   i g n o r e   r e q u e s t s   f r o m   t h e s e   k u b e l e t s ,   s i n c e   t h e   d e f a u l t   n o d e   i d e n t i f i e r   i m p l e m e n t a t i o n   w o u l d   n o t   c o n s i d e r   t h a t   a   n o d e   i d e n t i t y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22960"
  },
  {
    "question": "What is 3.6 - Webhook Mode?",
    "answer": "A   W e b H o o k   i s   a n   H T T P   c a l l b a c k :   a n   H T T P   P O S T   t h a t   o c c u r s   w h e n   s o m e t h i n g   h a p p e n s ;   a   s i m p l e   e v e n t - n o t i f i c a t i o n   v i a   H T T P   P O S T .   A   w e b   a p p l i c a t i o n   i m p l e m e n t i n g   W e b H o o k s   w i l l   P O S T   a   m e s s a g e   t o   a   U R L   w h e n   c e r t a i n   t h i n g s   h a p p e n .   W h e n   s p e c i f i e d ,   m o d e   W e b h o o k   c a u s e s   K u b e r n e t e s   t o   q u e r y   a n   o u t s i d e   R E S T   s e r v i c e   w h e n   d e t e r m i n i n g   u s e r   p r i v i l e g e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_22961"
  },
  {
    "question": "What is Configuration File Format?",
    "answer": "M o d e   W e b h o o k   r e q u i r e s   a   f i l e   f o r   H T T P   c o n f i g u r a t i o n ,   s p e c i f y   b y   t h e   - - a u t h o r i z a t i o n - w e b h o o k - c o n f i g - f i l e = S O M E _ F I L E N A M E   f l a g .   T h e   c o n f i g u r a t i o n   f i l e   u s e s   t h e   k u b e c o n f i g   f i l e   f o r m a t .   W i t h i n   t h e   f i l e   \" u s e r s \"   r e f e r s   t o   t h e   A P I   S e r v e r   w e b h o o k   a n d   \" c l u s t e r s \"   r e f e r s   t o   t h e   r e m o t e   s e r v i c e .   A   c o n f i g u r a t i o n   e x a m p l e   w h i c h   u s e s   H T T P S   c l i e n t   a u t h :   #   K u b e r n e t e s   A P I   v e r s i o n   a p i V e r s i o n :   v 1   #   k i n d   o f   t h e   A P I   o b j e c t   k i n d :   C o n f i g   #   c l u s t e r s   r e f e r s   t o   t h e   r e m o t e   s e r v i c e .   c l u s t e r s :   -   n a m e :   n a m e - o f - r e m o t e - a u t h z - s e r v i c e   c l u s t e r :   #   C A   f o r   v e r i f y i n g   t h e   r e m o t e   s e r v i c e .   c e r t i f i c a t e - a u t h o r i t y :   / p a t h / t o / c a . p e m   #   U R L   o f   r e m o t e   s e r v i c e   t o   q u e r y .   M u s t   u s e   ' h t t p s ' .   M a y   n o t   i n c l u d e   p a r a m e t e r s .   s e r v e r :   h t t p s : / / a u t h z . e x a m p l e . c o m / a u t h o r i z e   #   u s e r s   r e f e r s   t o   t h e   A P I   S e r v e r ' s   w e b h o o k   c o n f i g u r a t i o n .   u s e r s :   -   n a m e :   n a m e - o f - a p i - s e r v e r   u s e r :   c l i e n t - c e r t i f i c a t e :   / p a t h / t o / c e r t . p e m   #   c e r t   f o r   t h e   w e b h o o k   p l u g i n   t o   u s e   c l i e n t - k e y :   / p a t h / t o / k e y . p e m   #   k e y   m a t c h i n g   t h e   c e r t   #   k u b e c o n f i g   f i l e s   r e q u i r e   a   c o n t e x t .   P r o v i d e   o n e   f o r   t h e   A P I ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22962"
  },
  {
    "question": "What is Request Payloads?",
    "answer": "W h e n   f a c e d   w i t h   a n   a u t h o r i z a t i o n   d e c i s i o n ,   t h e   A P I   S e r v e r   P O S T s   a   J S O N -   s e r i a l i z e d   a u t h o r i z a t i o n . k 8 s . i o / v 1 b e t a 1   S u b j e c t A c c e s s R e v i e w   o b j e c t   d e s c r i b i n g   t h e   a c t i o n .   T h i s   o b j e c t   c o n t a i n s   f i e l d s   d e s c r i b i n g   t h e   u s e r   a t t e m p t i n g   t o   m a k e   t h e   r e q u e s t ,   a n d   e i t h e r   d e t a i l s   a b o u t   t h e   r e s o u r c e   b e i n g   a c c e s s e d   o r   r e q u e s t s   a t t r i b u t e s .   N o t e   t h a t   w e b h o o k   A P I   o b j e c t s   a r e   s u b j e c t   t o   t h e   s a m e   v e r s i o n i n g   c o m p a t i b i l i t y   r u l e s   a s   o t h e r   K u b e r n e t e s   A P I   o b j e c t s .   I m p l e m e n t e r s   s h o u l d   b e   a w a r e   o f   l o o s e r   c o m p a t i b i l i t y   p r o m i s e s   f o r   b e t a   o b j e c t s   a n d   c h e c k   t h e   \" a p i V e r s i o n \"   f i e l d   o f   t h e   r e q u e s t   t o   e n s u r e   c o r r e c t   d e s e r i a l i z a t i o n .   A d d i t i o n a l l y ,   t h e   A P I   S e r v e r   m u s t   e n a b l e   t h e   a u t h o r i z a t i o n . k 8 s . i o / v 1 b e t a 1   A P I   e x t e n s i o n s   g r o u p   ( - - r u n t i m e - c o n f i g = a u t h o r i z a t i o n . k 8 s . i o / v 1 b e t a 1 = t r u e ) .   A n   e x a m p l e   r e q u e s t   b o d y :   {   \" a p i V e r s i o n \" :   \" a u t h o r i z a t i o n . k 8 s . i o / v 1 b e t a 1 \" ,   \" k i n d \" :   \" S u b j e c t A c c e s s R e v i e w \" ,   \" s p e c \" :   {   \" r e s o u r c e A t t r i b u t e s \" :   {   \" n a m e s p a c e \" :   \" k i t t e n s a n d p o n i e s \" ,   \" v e r b \" :   \" g e t \" ,   \" g r o u p \" :   \" u n i c o r n . e x a m p l e . o r g \" ,   \" r e s o u r c e \" :   \" p o d s \"   } ,   \" u s e r \" :   \" j a n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22963"
  },
  {
    "question": "What is 3.7 - Using ABAC Authorization?",
    "answer": "A t t r i b u t e - b a s e d   a c c e s s   c o n t r o l   ( A B A C )   d e f i n e s   a n   a c c e s s   c o n t r o l   p a r a d i g m   w h e r e b y   a c c e s s   r i g h t s   a r e   g r a n t e d   t o   u s e r s   t h r o u g h   t h e   u s e   o f   p o l i c i e s   w h i c h   c o m b i n e   a t t r i b u t e s   t o g e t h e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_22964"
  },
  {
    "question": "What is Policy File Format?",
    "answer": "T o   e n a b l e   A B A C   m o d e ,   s p e c i f y   - - a u t h o r i z a t i o n - p o l i c y - f i l e = S O M E _ F I L E N A M E   a n d   - - a u t h o r i z a t i o n - m o d e = A B A C   o n   s t a r t u p .   T h e   f i l e   f o r m a t   i s   o n e   J S O N   o b j e c t   p e r   l i n e .   T h e r e   s h o u l d   b e   n o   e n c l o s i n g   l i s t   o r   m a p ,   o n l y   o n e   m a p   p e r   l i n e .   E a c h   l i n e   i s   a   \" p o l i c y   o b j e c t \" ,   w h e r e   e a c h   s u c h   o b j e c t   i s   a   m a p   w i t h   t h e   f o l l o w i n g   p r o p e r t i e s :   V e r s i o n i n g   p r o p e r t i e s : a p i V e r s i o n ,   t y p e   s t r i n g ;   v a l i d   v a l u e s   a r e   \" a b a c . a u t h o r i z a t i o n . k u b e r n e t e s . i o / v 1 b e t a 1 \" .   A l l o w s   v e r s i o n i n g   a n d   c o n v e r s i o n   o f   t h e   p o l i c y   f o r m a t . k i n d ,   t y p e   s t r i n g :   v a l i d   v a l u e s   a r e   \" P o l i c y \" .   A l l o w s   v e r s i o n i n g   a n d   c o n v e r s i o n   o f   t h e   p o l i c y   f o r m a t . s p e c   p r o p e r t y   s e t   t o   a   m a p   w i t h   t h e   f o l l o w i n g   p r o p e r t i e s : S u b j e c t - m a t c h i n g   p r o p e r t i e s : u s e r ,   t y p e   s t r i n g ;   t h e   u s e r - s t r i n g   f r o m   - - t o k e n - a u t h - f i l e .   I f   y o u   s p e c i f y   u s e r ,   i t   m u s t   m a t c h   t h e   u s e r n a m e   o f   t h e   a u t h e n t i c a t e d   u s e r . g r o u p ,   t y p e   s t r i n g ;   i f   y o u   s p e c i f y   g r o u p ,   i t   m u s t   m a t c h   o n e   o f   t h e   g r o u p s   o f   t h e   a u t h e n t i c a t e d   u s e r .   s y s t e m : a u t h e n t i c a t e d   m a t c h e s   a l l   a u t h e n t i c a t e d   r e q u e s t s .   s y s t e m : u n a u t h e n t i c a t e d   m a t c h e s   a l l   u n a u t h e n t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22965"
  },
  {
    "question": "What is Note:?",
    "answer": "A n   u n s e t   p r o p e r t y   i s   t h e   s a m e   a s   a   p r o p e r t y   s e t   t o   t h e   z e r o   v a l u e   f o r   i t s   t y p e   ( e . g .   e m p t y   s t r i n g ,   0 ,   f a l s e ) .   H o w e v e r ,   u n s e t   s h o u l d   b e   p r e f e r r e d   f o r   r e a d a b i l i t y .   I n   t h e   f u t u r e ,   p o l i c i e s   m a y   b e   e x p r e s s e d   i n   a   J S O N   f o r m a t ,   a n d   m a n a g e d   v i a   a   R E S T   i n t e r f a c e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22966"
  },
  {
    "question": "What is Authorization Algorithm?",
    "answer": "A   r e q u e s t   h a s   a t t r i b u t e s   w h i c h   c o r r e s p o n d   t o   t h e   p r o p e r t i e s   o f   a   p o l i c y   o b j e c t .   W h e n   a   r e q u e s t   i s   r e c e i v e d ,   t h e   a t t r i b u t e s   a r e   d e t e r m i n e d .   U n k n o w n   a t t r i b u t e s   a r e   s e t   t o   t h e   z e r o   v a l u e   o f   i t s   t y p e   ( e . g .   e m p t y   s t r i n g ,   0 ,   f a l s e ) .   A   p r o p e r t y   s e t   t o   \" * \"   w i l l   m a t c h   a n y   v a l u e   o f   t h e   c o r r e s p o n d i n g   a t t r i b u t e .   T h e   t u p l e   o f   a t t r i b u t e s   i s   c h e c k e d   f o r   a   m a t c h   a g a i n s t   e v e r y   p o l i c y   i n   t h e   p o l i c y   f i l e .   I f   a t   l e a s t   o n e   l i n e   m a t c h e s   t h e   r e q u e s t   a t t r i b u t e s ,   t h e n   t h e   r e q u e s t   i s   a u t h o r i z e d   ( b u t   m a y   f a i l   l a t e r   v a l i d a t i o n ) .   T o   p e r m i t   a n y   a u t h e n t i c a t e d   u s e r   t o   d o   s o m e t h i n g ,   w r i t e   a   p o l i c y   w i t h   t h e   g r o u p   p r o p e r t y   s e t   t o   \" s y s t e m : a u t h e n t i c a t e d \" .   T o   p e r m i t   a n y   u n a u t h e n t i c a t e d   u s e r   t o   d o   s o m e t h i n g ,   w r i t e   a   p o l i c y   w i t h   t h e   g r o u p   p r o p e r t y   s e t   t o   \" s y s t e m : u n a u t h e n t i c a t e d \" .   T o   p e r m i t   a   u s e r   t o   d o   a n y t h i n g ,   w r i t e   a   p o l i c y   w i t h   t h e   a p i G r o u p ,   n a m e s p a c e ,   r e s o u r c e ,   a n d   n o n R e s o u r c e P a t h   p r o p e r t i e s   s e t   t o   \" * \" .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22967"
  },
  {
    "question": "What is Kubectl?",
    "answer": "K u b e c t l   u s e s   t h e   / a p i   a n d   / a p i s   e n d p o i n t s   o f   a p i s e r v e r   t o   d i s c o v e r   s e r v e d   r e s o u r c e   t y p e s ,   a n d   v a l i d a t e s   o b j e c t s   s e n t   t o   t h e   A P I   b y   c r e a t e / u p d a t e   o p e r a t i o n s   u s i n g   s c h e m a   i n f o r m a t i o n   l o c a t e d   a t   / o p e n a p i / v 2 .   W h e n   u s i n g   A B A C   a u t h o r i z a t i o n ,   t h o s e   s p e c i a l   r e s o u r c e s   h a v e   t o   b e   e x p l i c i t l y   e x p o s e d   v i a   t h e   n o n R e s o u r c e P a t h   p r o p e r t y   i n   a   p o l i c y   ( s e e   e x a m p l e s   b e l o w ) :   / a p i ,   / a p i / * ,   / a p i s ,   a n d   / a p i s / *   f o r   A P I   v e r s i o n   n e g o t i a t i o n . / v e r s i o n   f o r   r e t r i e v i n g   t h e   s e r v e r   v e r s i o n   v i a   k u b e c t l   v e r s i o n . / s w a g g e r a p i / *   f o r   c r e a t e / u p d a t e   o p e r a t i o n s .   T o   i n s p e c t   t h e   H T T P   c a l l s   i n v o l v e d   i n   a   s p e c i f i c   k u b e c t l   o p e r a t i o n   y o u   c a n   t u r n   u p   t h e   v e r b o s i t y :   k u b e c t l   - - v = 8   v e r s i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22968"
  },
  {
    "question": "What is Examples?",
    "answer": "A l i c e   c a n   d o   a n y t h i n g   t o   a l l   r e s o u r c e s : { \" a p i V e r s i o n \" :   \" a b a c . a u t h o r i z a t i o n . k u b e r n e t e s . i o / v 1 b e t a 1 \" ,   \" k i n d \" :   \" P o l i c y \" ,   \" s p e c \" :   { \" u s e r \" :   \" a l i c e \" ,   \" n a m e s p a c e \" :   \" * \" ,   \" r e s o u r c e \" :   \" * \" ,   \" a p i G r o u p \" :   \" * \" } }   T h e   k u b e l e t   c a n   r e a d   a n y   p o d s : { \" a p i V e r s i o n \" :   \" a b a c . a u t h o r i z a t i o n . k u b e r n e t e s . i o / v 1 b e t a 1 \" ,   \" k i n d \" :   \" P o l i c y \" ,   \" s p e c \" :   { \" u s e r \" :   \" k u b e l e t \" ,   \" n a m e s p a c e \" :   \" * \" ,   \" r e s o u r c e \" :   \" p o d s \" ,   \" r e a d o n l y \" :   t r u e } }   T h e   k u b e l e t   c a n   r e a d   a n d   w r i t e   e v e n t s : { \" a p i V e r s i o n \" :   \" a b a c . a u t h o r i z a t i o n . k u b e r n e t e s . i o / v 1 b e t a 1 \" ,   \" k i n d \" :   \" P o l i c y \" ,   \" s p e c \" :   { \" u s e r \" :   \" k u b e l e t \" ,   \" n a m e s p a c e \" :   \" * \" ,   \" r e s o u r c e \" :   \" e v e n t s \" } }   B o b   c a n   j u s t   r e a d   p o d s   i n   n a m e s p a c e   \" p r o j e c t C a r i b o u \" : { \" a p i V e r s i o n \" :   \" a b a c . a u t h o r i z a t i o n . k u b e r n e t e s . i o / v 1 b e t a 1 \" ,   \" k i n d \" :   \" P o l i c y \" ,   \" s p e c \" :   { \" u s e r \" :   \" b o b \" ,   \" n a m e s p a c e \" :   \" p r o j e c t C a r i b o u \" ,   \" r e s o u r c e \" :   \" p o d s \" ,   \" r e a d o n l y \" :   t r u e } }   A n y o n e   c a n   m a k e   r e a d - o n l y   r e q u e s t s   t o   a l l   n o n - r e s o u r c e   p a t h s : { \" a p i V e r s i o n \" :   \" a b a c . a u t h o r i z a t i o n . k u b e r n e t e s . i o / v 1 b e t a 1 \" ,   \" k i n d \" :   \" P o l i c y \" ,   \" s p e c \" :   { \" g r o u p \" :   \" s y s t e m : a u t h e n t i c a t e d \" ,   \" r e a d o n l y \" :   t r u e ,   \" n o n R e s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22969"
  },
  {
    "question": "What is A quick note on service accounts?",
    "answer": "E v e r y   s e r v i c e   a c c o u n t   h a s   a   c o r r e s p o n d i n g   A B A C   u s e r n a m e ,   a n d   t h a t   s e r v i c e   a c c o u n t ' s   u s e r n a m e   i s   g e n e r a t e d   a c c o r d i n g   t o   t h e   n a m i n g   c o n v e n t i o n :   s y s t e m : s e r v i c e a c c o u n t : < n a m e s p a c e > : < s e r v i c e a c c o u n t n a m e >   C r e a t i n g   a   n e w   n a m e s p a c e   l e a d s   t o   t h e   c r e a t i o n   o f   a   n e w   s e r v i c e   a c c o u n t   i n   t h e   f o l l o w i n g   f o r m a t :   s y s t e m : s e r v i c e a c c o u n t : < n a m e s p a c e > : d e f a u l t   F o r   e x a m p l e ,   i f   y o u   w a n t e d   t o   g r a n t   t h e   d e f a u l t   s e r v i c e   a c c o u n t   ( i n   t h e   k u b e - s y s t e m   n a m e s p a c e )   f u l l   p r i v i l e g e   t o   t h e   A P I   u s i n g   A B A C ,   y o u   w o u l d   a d d   t h i s   l i n e   t o   y o u r   p o l i c y   f i l e :   { \" a p i V e r s i o n \" : \" a b a c . a u t h o r i z a t i o n . k u b e r n e t e s . i o / v 1 b e t a 1 \" , \" k i n d \" : \" P o l i c y \" , \" s p e c \" : { \" u s e r \" : \" s y s t e m : s e r v i c e a c c o u n t : k u b e - s y s t e m : d e f a u l t \" , \" n a m e s p a c e \" : \" * \" , \" r e s o u r c e \" : \" * \" , \" a p i G r o u p \" : \" * \" } }   T h e   a p i s e r v e r   w i l l   n e e d   t o   b e   r e s t a r t e d   t o   p i c k   u p   t h e   n e w   p o l i c y   l i n e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22970"
  },
  {
    "question": "What is 3.8 - Admission Control in Kubernetes?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   o f   a d m i s s i o n   c o n t r o l l e r s .   A n   a d m i s s i o n   c o n t r o l l e r   i s   a   p i e c e   o f   c o d e   t h a t   i n t e r c e p t s   r e q u e s t s   t o   t h e   K u b e r n e t e s   A P I   s e r v e r   p r i o r   t o   p e r s i s t e n c e   o f   t h e   r e s o u r c e ,   b u t   a f t e r   t h e   r e q u e s t   i s   a u t h e n t i c a t e d   a n d   a u t h o r i z e d .   S e v e r a l   i m p o r t a n t   f e a t u r e s   o f   K u b e r n e t e s   r e q u i r e   a n   a d m i s s i o n   c o n t r o l l e r   t o   b e   e n a b l e d   i n   o r d e r   t o   p r o p e r l y   s u p p o r t   t h e   f e a t u r e .   A s   a   r e s u l t ,   a   K u b e r n e t e s   A P I   s e r v e r   t h a t   i s   n o t   p r o p e r l y   c o n f i g u r e d   w i t h   t h e   r i g h t   s e t   o f   a d m i s s i o n   c o n t r o l l e r s   i s   a n   i n c o m p l e t e   s e r v e r   t h a t   w i l l   n o t   s u p p o r t   a l l   t h e   f e a t u r e s   y o u   e x p e c t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_22971"
  },
  {
    "question": "What is What are they??",
    "answer": "A d m i s s i o n   c o n t r o l l e r s   a r e   c o d e   w i t h i n   t h e   K u b e r n e t e s   A P I   s e r v e r   t h a t   c h e c k   t h e   d a t a   a r r i v i n g   i n   a   r e q u e s t   t o   m o d i f y   a   r e s o u r c e .   A d m i s s i o n   c o n t r o l l e r s   a p p l y   t o   r e q u e s t s   t h a t   c r e a t e ,   d e l e t e ,   o r   m o d i f y   o b j e c t s .   A d m i s s i o n   c o n t r o l l e r s   c a n   a l s o   b l o c k   c u s t o m   v e r b s ,   s u c h   a s   a   r e q u e s t   t o   c o n n e c t   t o   a   p o d   v i a   a n   A P I   s e r v e r   p r o x y .   A d m i s s i o n   c o n t r o l l e r s   d o   n o t   ( a n d   c a n n o t )   b l o c k   r e q u e s t s   t o   r e a d   ( g e t ,   w a t c h   o r   l i s t )   o b j e c t s ,   b e c a u s e   r e a d s   b y p a s s   t h e   a d m i s s i o n   c o n t r o l   l a y e r .   A d m i s s i o n   c o n t r o l   m e c h a n i s m s   m a y   b e   v a l i d a t i n g ,   m u t a t i n g ,   o r   b o t h .   M u t a t i n g   c o n t r o l l e r s   m a y   m o d i f y   t h e   d a t a   f o r   t h e   r e s o u r c e   b e i n g   m o d i f i e d ;   v a l i d a t i n g   c o n t r o l l e r s   m a y   n o t .   T h e   a d m i s s i o n   c o n t r o l l e r s   i n   K u b e r n e t e s   1 . 3 4   c o n s i s t   o f   t h e   l i s t   b e l o w ,   a r e   c o m p i l e d   i n t o   t h e   k u b e - a p i s e r v e r   b i n a r y ,   a n d   m a y   o n l y   b e   c o n f i g u r e d   b y   t h e   c l u s t e r   a d m i n i s t r a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22972"
  },
  {
    "question": "What is Admission control extension points?",
    "answer": "W i t h i n   t h e   f u l l   l i s t ,   t h e r e   a r e   t h r e e   s p e c i a l   c o n t r o l l e r s :   M u t a t i n g A d m i s s i o n W e b h o o k ,   V a l i d a t i n g A d m i s s i o n W e b h o o k ,   a n d   V a l i d a t i n g A d m i s s i o n P o l i c y .   T h e   t w o   w e b h o o k   c o n t r o l l e r s   e x e c u t e   t h e   m u t a t i n g   a n d   v a l i d a t i n g   ( r e s p e c t i v e l y )   a d m i s s i o n   c o n t r o l   w e b h o o k s   w h i c h   a r e   c o n f i g u r e d   i n   t h e   A P I .   V a l i d a t i n g A d m i s s i o n P o l i c y   p r o v i d e s   a   w a y   t o   e m b e d   d e c l a r a t i v e   v a l i d a t i o n   c o d e   w i t h i n   t h e   A P I ,   w i t h o u t   r e l y i n g   o n   a n y   e x t e r n a l   H T T P   c a l l o u t s .   Y o u   c a n   u s e   t h e s e   t h r e e   a d m i s s i o n   c o n t r o l l e r s   t o   c u s t o m i z e   c l u s t e r   b e h a v i o r   a t   a d m i s s i o n   t i m e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22973"
  },
  {
    "question": "What is Admission control phases?",
    "answer": "T h e   a d m i s s i o n   c o n t r o l   p r o c e s s   p r o c e e d s   i n   t w o   p h a s e s .   I n   t h e   f i r s t   p h a s e ,   m u t a t i n g   a d m i s s i o n   c o n t r o l l e r s   a r e   r u n .   I n   t h e   s e c o n d   p h a s e ,   v a l i d a t i n g   a d m i s s i o n   c o n t r o l l e r s   a r e   r u n .   N o t e   a g a i n   t h a t   s o m e   o f   t h e   c o n t r o l l e r s   a r e   b o t h .   I f   a n y   o f   t h e   c o n t r o l l e r s   i n   e i t h e r   p h a s e   r e j e c t   t h e   r e q u e s t ,   t h e   e n t i r e   r e q u e s t   i s   r e j e c t e d   i m m e d i a t e l y   a n d   a n   e r r o r   i s   r e t u r n e d   t o   t h e   e n d - u s e r .   F i n a l l y ,   i n   a d d i t i o n   t o   s o m e t i m e s   m u t a t i n g   t h e   o b j e c t   i n   q u e s t i o n ,   a d m i s s i o n   c o n t r o l l e r s   m a y   s o m e t i m e s   h a v e   s i d e   e f f e c t s ,   t h a t   i s ,   m u t a t e   r e l a t e d   r e s o u r c e s   a s   p a r t   o f   r e q u e s t   p r o c e s s i n g .   I n c r e m e n t i n g   q u o t a   u s a g e   i s   t h e   c a n o n i c a l   e x a m p l e   o f   w h y   t h i s   i s   n e c e s s a r y .   A n y   s u c h   s i d e - e f f e c t   n e e d s   a   c o r r e s p o n d i n g   r e c l a m a t i o n   o r   r e c o n c i l i a t i o n   p r o c e s s ,   a s   a   g i v e n   a d m i s s i o n   c o n t r o l l e r   d o e s   n o t   k n o w   f o r   s u r e   t h a t   a   g i v e n   r e q u e s t   w i l l   p a s s   a l l   o f   t h e   o t h e r   a d m i s s i o n   c o n t r o l l e r s .   T h e   o r d e r i n g   o f   t h e s e   c a l l s   c a n   b e   s e e n   b e l o w .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22974"
  },
  {
    "question": "What is Why do I need them??",
    "answer": "S e v e r a l   i m p o r t a n t   f e a t u r e s   o f   K u b e r n e t e s   r e q u i r e   a n   a d m i s s i o n   c o n t r o l l e r   t o   b e   e n a b l e d   i n   o r d e r   t o   p r o p e r l y   s u p p o r t   t h e   f e a t u r e .   A s   a   r e s u l t ,   a   K u b e r n e t e s   A P I   s e r v e r   t h a t   i s   n o t   p r o p e r l y   c o n f i g u r e d   w i t h   t h e   r i g h t   s e t   o f   a d m i s s i o n   c o n t r o l l e r s   i s   a n   i n c o m p l e t e   s e r v e r   a n d   w i l l   n o t   s u p p o r t   a l l   t h e   f e a t u r e s   y o u   e x p e c t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22975"
  },
  {
    "question": "What is How do I turn on an admission controller??",
    "answer": "T h e   K u b e r n e t e s   A P I   s e r v e r   f l a g   e n a b l e - a d m i s s i o n - p l u g i n s   t a k e s   a   c o m m a - d e l i m i t e d   l i s t   o f   a d m i s s i o n   c o n t r o l   p l u g i n s   t o   i n v o k e   p r i o r   t o   m o d i f y i n g   o b j e c t s   i n   t h e   c l u s t e r .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   c o m m a n d   l i n e   e n a b l e s   t h e   N a m e s p a c e L i f e c y c l e   a n d   t h e   L i m i t R a n g e r   a d m i s s i o n   c o n t r o l   p l u g i n s :   k u b e - a p i s e r v e r   - - e n a b l e - a d m i s s i o n - p l u g i n s = N a m e s p a c e L i f e c y c l e , L i m i t R a n g e r   . . .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22976"
  },
  {
    "question": "What is How do I turn off an admission controller??",
    "answer": "T h e   K u b e r n e t e s   A P I   s e r v e r   f l a g   d i s a b l e - a d m i s s i o n - p l u g i n s   t a k e s   a   c o m m a - d e l i m i t e d   l i s t   o f   a d m i s s i o n   c o n t r o l   p l u g i n s   t o   b e   d i s a b l e d ,   e v e n   i f   t h e y   a r e   i n   t h e   l i s t   o f   p l u g i n s   e n a b l e d   b y   d e f a u l t .   k u b e - a p i s e r v e r   - - d i s a b l e - a d m i s s i o n - p l u g i n s = P o d N o d e S e l e c t o r , A l w a y s D e n y   . . .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22977"
  },
  {
    "question": "What is Which plugins are enabled by default??",
    "answer": "T o   s e e   w h i c h   a d m i s s i o n   p l u g i n s   a r e   e n a b l e d :   k u b e - a p i s e r v e r   - h   |   g r e p   e n a b l e - a d m i s s i o n - p l u g i n s   I n   K u b e r n e t e s   1 . 3 4 ,   t h e   d e f a u l t   o n e s   a r e :   C e r t i f i c a t e A p p r o v a l ,   C e r t i f i c a t e S i g n i n g ,   C e r t i f i c a t e S u b j e c t R e s t r i c t i o n ,   D e f a u l t I n g r e s s C l a s s ,   D e f a u l t S t o r a g e C l a s s ,   D e f a u l t T o l e r a t i o n S e c o n d s ,   L i m i t R a n g e r ,   M u t a t i n g A d m i s s i o n W e b h o o k ,   N a m e s p a c e L i f e c y c l e ,   P e r s i s t e n t V o l u m e C l a i m R e s i z e ,   P o d S e c u r i t y ,   P r i o r i t y ,   R e s o u r c e Q u o t a ,   R u n t i m e C l a s s ,   S e r v i c e A c c o u n t ,   S t o r a g e O b j e c t I n U s e P r o t e c t i o n ,   T a i n t N o d e s B y C o n d i t i o n ,   V a l i d a t i n g A d m i s s i o n P o l i c y ,   V a l i d a t i n g A d m i s s i o n W e b h o o k",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_22978"
  },
  {
    "question": "What is AlwaysAdmit?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   a l l o w s   a l l   p o d s   i n t o   t h e   c l u s t e r .   I t   i s   d e p r e c a t e d   b e c a u s e   i t s   b e h a v i o r   i s   t h e   s a m e   a s   i f   t h e r e   w e r e   n o   a d m i s s i o n   c o n t r o l l e r   a t   a l l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22979"
  },
  {
    "question": "What is AlwaysDeny?",
    "answer": "T y p e :   V a l i d a t i n g .   R e j e c t s   a l l   r e q u e s t s .   A l w a y s D e n y   i s   d e p r e c a t e d   a s   i t   h a s   n o   r e a l   m e a n i n g .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22980"
  },
  {
    "question": "What is AlwaysPullImages?",
    "answer": "T y p e :   M u t a t i n g   a n d   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   m o d i f i e s   e v e r y   n e w   P o d   t o   f o r c e   t h e   i m a g e   p u l l   p o l i c y   t o   A l w a y s .   T h i s   i s   u s e f u l   i n   a   m u l t i t e n a n t   c l u s t e r   s o   t h a t   u s e r s   c a n   b e   a s s u r e d   t h a t   t h e i r   p r i v a t e   i m a g e s   c a n   o n l y   b e   u s e d   b y   t h o s e   w h o   h a v e   t h e   c r e d e n t i a l s   t o   p u l l   t h e m .   W i t h o u t   t h i s   a d m i s s i o n   c o n t r o l l e r ,   o n c e   a n   i m a g e   h a s   b e e n   p u l l e d   t o   a   n o d e ,   a n y   p o d   f r o m   a n y   u s e r   c a n   u s e   i t   b y   k n o w i n g   t h e   i m a g e ' s   n a m e   ( a s s u m i n g   t h e   P o d   i s   s c h e d u l e d   o n t o   t h e   r i g h t   n o d e ) ,   w i t h o u t   a n y   a u t h o r i z a t i o n   c h e c k   a g a i n s t   t h e   i m a g e .   W h e n   t h i s   a d m i s s i o n   c o n t r o l l e r   i s   e n a b l e d ,   i m a g e s   a r e   a l w a y s   p u l l e d   p r i o r   t o   s t a r t i n g   c o n t a i n e r s ,   w h i c h   m e a n s   v a l i d   c r e d e n t i a l s   a r e   r e q u i r e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22981"
  },
  {
    "question": "What is CertificateApproval?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   o b s e r v e s   r e q u e s t s   t o   a p p r o v e   C e r t i f i c a t e S i g n i n g R e q u e s t   r e s o u r c e s   a n d   p e r f o r m s   a d d i t i o n a l   a u t h o r i z a t i o n   c h e c k s   t o   e n s u r e   t h e   a p p r o v i n g   u s e r   h a s   p e r m i s s i o n   t o   a p p r o v e   c e r t i f i c a t e   r e q u e s t s   w i t h   t h e   s p e c . s i g n e r N a m e   r e q u e s t e d   o n   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   r e s o u r c e .   S e e   C e r t i f i c a t e   S i g n i n g   R e q u e s t s   f o r   m o r e   i n f o r m a t i o n   o n   t h e   p e r m i s s i o n s   r e q u i r e d   t o   p e r f o r m   d i f f e r e n t   a c t i o n s   o n   C e r t i f i c a t e S i g n i n g R e q u e s t   r e s o u r c e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22982"
  },
  {
    "question": "What is CertificateSigning?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   o b s e r v e s   u p d a t e s   t o   t h e   s t a t u s . c e r t i f i c a t e   f i e l d   o f   C e r t i f i c a t e S i g n i n g R e q u e s t   r e s o u r c e s   a n d   p e r f o r m s   a n   a d d i t i o n a l   a u t h o r i z a t i o n   c h e c k s   t o   e n s u r e   t h e   s i g n i n g   u s e r   h a s   p e r m i s s i o n   t o   s i g n   c e r t i f i c a t e   r e q u e s t s   w i t h   t h e   s p e c . s i g n e r N a m e   r e q u e s t e d   o n   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   r e s o u r c e .   S e e   C e r t i f i c a t e   S i g n i n g   R e q u e s t s   f o r   m o r e   i n f o r m a t i o n   o n   t h e   p e r m i s s i o n s   r e q u i r e d   t o   p e r f o r m   d i f f e r e n t   a c t i o n s   o n   C e r t i f i c a t e S i g n i n g R e q u e s t   r e s o u r c e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22983"
  },
  {
    "question": "What is CertificateSubjectRestriction?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   o b s e r v e s   c r e a t i o n   o f   C e r t i f i c a t e S i g n i n g R e q u e s t   r e s o u r c e s   t h a t   h a v e   a   s p e c . s i g n e r N a m e   o f   k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t .   I t   r e j e c t s   a n y   r e q u e s t   t h a t   s p e c i f i e s   a   ' g r o u p '   ( o r   ' o r g a n i z a t i o n   a t t r i b u t e ' )   o f   s y s t e m : m a s t e r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22984"
  },
  {
    "question": "What is DefaultIngressClass?",
    "answer": "T y p e :   M u t a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   o b s e r v e s   c r e a t i o n   o f   I n g r e s s   o b j e c t s   t h a t   d o   n o t   r e q u e s t   a n y   s p e c i f i c   i n g r e s s   c l a s s   a n d   a u t o m a t i c a l l y   a d d s   a   d e f a u l t   i n g r e s s   c l a s s   t o   t h e m .   T h i s   w a y ,   u s e r s   t h a t   d o   n o t   r e q u e s t   a n y   s p e c i a l   i n g r e s s   c l a s s   d o   n o t   n e e d   t o   c a r e   a b o u t   t h e m   a t   a l l   a n d   t h e y   w i l l   g e t   t h e   d e f a u l t   o n e .   T h i s   a d m i s s i o n   c o n t r o l l e r   d o e s   n o t   d o   a n y t h i n g   w h e n   n o   d e f a u l t   i n g r e s s   c l a s s   i s   c o n f i g u r e d .   W h e n   m o r e   t h a n   o n e   i n g r e s s   c l a s s   i s   m a r k e d   a s   d e f a u l t ,   i t   r e j e c t s   a n y   c r e a t i o n   o f   I n g r e s s   w i t h   a n   e r r o r   a n d   a n   a d m i n i s t r a t o r   m u s t   r e v i s i t   t h e i r   I n g r e s s C l a s s   o b j e c t s   a n d   m a r k   o n l y   o n e   a s   d e f a u l t   ( w i t h   t h e   a n n o t a t i o n   \" i n g r e s s c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s \" ) .   T h i s   a d m i s s i o n   c o n t r o l l e r   i g n o r e s   a n y   I n g r e s s   u p d a t e s ;   i t   a c t s   o n l y   o n   c r e a t i o n .   S e e   t h e   I n g r e s s   d o c u m e n t a t i o n   f o r   m o r e   a b o u t   i n g r e s s   c l a s s e s   a n d   h o w   t o   m a r k   o n e   a s   d e f a u l t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22985"
  },
  {
    "question": "What is DefaultStorageClass?",
    "answer": "T y p e :   M u t a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   o b s e r v e s   c r e a t i o n   o f   P e r s i s t e n t V o l u m e C l a i m   o b j e c t s   t h a t   d o   n o t   r e q u e s t   a n y   s p e c i f i c   s t o r a g e   c l a s s   a n d   a u t o m a t i c a l l y   a d d s   a   d e f a u l t   s t o r a g e   c l a s s   t o   t h e m .   T h i s   w a y ,   u s e r s   t h a t   d o   n o t   r e q u e s t   a n y   s p e c i a l   s t o r a g e   c l a s s   d o   n o t   n e e d   t o   c a r e   a b o u t   t h e m   a t   a l l   a n d   t h e y   w i l l   g e t   t h e   d e f a u l t   o n e .   T h i s   a d m i s s i o n   c o n t r o l l e r   d o e s   n o t h i n g   w h e n   n o   d e f a u l t   S t o r a g e C l a s s   e x i s t s .   W h e n   m o r e   t h a n   o n e   s t o r a g e   c l a s s   i s   m a r k e d   a s   d e f a u l t ,   a n d   y o u   t h e n   c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m   w i t h   n o   s t o r a g e C l a s s N a m e   s e t ,   K u b e r n e t e s   u s e s   t h e   m o s t   r e c e n t l y   c r e a t e d   d e f a u l t   S t o r a g e C l a s s .   W h e n   a   P e r s i s t e n t V o l u m e C l a i m   i s   c r e a t e d   w i t h   a   s p e c i f i e d   v o l u m e N a m e ,   i t   r e m a i n s   i n   a   p e n d i n g   s t a t e   i f   t h e   s t a t i c   v o l u m e ' s   s t o r a g e C l a s s N a m e   d o e s   n o t   m a t c h   t h e   s t o r a g e C l a s s N a m e   o n   t h e   P e r s i s t e n t V o l u m e C l a i m   a f t e r   a n y   d e f a u l t   S t o r a g e C l a s s   i s   a p p l i e d   t o   i t .   T h i s   a d m i s s i o n   c o n t r o l l e r   i g n o r e s   a n y   P e r s i s t e n t V o l u m e C l a i m   u p d a t e s ;   i t   a c t s   o n l y   o n   c r e a t i o n .   S e e   p e r s i s t e n t   v o l u m e   d o c u m e n t a t i o n   a b o u t   p e r s i s t e n t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22986"
  },
  {
    "question": "What is DefaultTolerationSeconds?",
    "answer": "T y p e :   M u t a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   s e t s   t h e   d e f a u l t   f o r g i v e n e s s   t o l e r a t i o n   f o r   p o d s   t o   t o l e r a t e   t h e   t a i n t s   n o t r e a d y : N o E x e c u t e   a n d   u n r e a c h a b l e : N o E x e c u t e   b a s e d   o n   t h e   k 8 s - a p i s e r v e r   i n p u t   p a r a m e t e r s   d e f a u l t - n o t - r e a d y - t o l e r a t i o n - s e c o n d s   a n d   d e f a u l t - u n r e a c h a b l e - t o l e r a t i o n - s e c o n d s   i f   t h e   p o d s   d o n ' t   a l r e a d y   h a v e   t o l e r a t i o n   f o r   t a i n t s   n o d e . k u b e r n e t e s . i o / n o t - r e a d y : N o E x e c u t e   o r   n o d e . k u b e r n e t e s . i o / u n r e a c h a b l e : N o E x e c u t e .   T h e   d e f a u l t   v a l u e   f o r   d e f a u l t - n o t - r e a d y - t o l e r a t i o n - s e c o n d s   a n d   d e f a u l t - u n r e a c h a b l e - t o l e r a t i o n - s e c o n d s   i s   5   m i n u t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22987"
  },
  {
    "question": "What is DenyServiceExternalIPs?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   r e j e c t s   a l l   n e t - n e w   u s a g e   o f   t h e   S e r v i c e   f i e l d   e x t e r n a l I P s .   T h i s   f e a t u r e   i s   v e r y   p o w e r f u l   ( a l l o w s   n e t w o r k   t r a f f i c   i n t e r c e p t i o n )   a n d   n o t   w e l l   c o n t r o l l e d   b y   p o l i c y .   W h e n   e n a b l e d ,   u s e r s   o f   t h e   c l u s t e r   m a y   n o t   c r e a t e   n e w   S e r v i c e s   w h i c h   u s e   e x t e r n a l I P s   a n d   m a y   n o t   a d d   n e w   v a l u e s   t o   e x t e r n a l I P s   o n   e x i s t i n g   S e r v i c e   o b j e c t s .   E x i s t i n g   u s e s   o f   e x t e r n a l I P s   a r e   n o t   a f f e c t e d ,   a n d   u s e r s   m a y   r e m o v e   v a l u e s   f r o m   e x t e r n a l I P s   o n   e x i s t i n g   S e r v i c e   o b j e c t s .   M o s t   u s e r s   d o   n o t   n e e d   t h i s   f e a t u r e   a t   a l l ,   a n d   c l u s t e r   a d m i n s   s h o u l d   c o n s i d e r   d i s a b l i n g   i t .   C l u s t e r s   t h a t   d o   n e e d   t o   u s e   t h i s   f e a t u r e   s h o u l d   c o n s i d e r   u s i n g   s o m e   c u s t o m   p o l i c y   t o   m a n a g e   u s a g e   o f   i t .   T h i s   a d m i s s i o n   c o n t r o l l e r   i s   d i s a b l e d   b y   d e f a u l t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22988"
  },
  {
    "question": "What is EventRateLimit?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   m i t i g a t e s   t h e   p r o b l e m   w h e r e   t h e   A P I   s e r v e r   g e t s   f l o o d e d   b y   r e q u e s t s   t o   s t o r e   n e w   E v e n t s .   T h e   c l u s t e r   a d m i n   c a n   s p e c i f y   e v e n t   r a t e   l i m i t s   b y :   E n a b l i n g   t h e   E v e n t R a t e L i m i t   a d m i s s i o n   c o n t r o l l e r ; R e f e r e n c i n g   a n   E v e n t R a t e L i m i t   c o n f i g u r a t i o n   f i l e   f r o m   t h e   f i l e   p r o v i d e d   t o   t h e   A P I   s e r v e r ' s   c o m m a n d   l i n e   f l a g   - - a d m i s s i o n - c o n t r o l - c o n f i g - f i l e :   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   A d m i s s i o n C o n f i g u r a t i o n   p l u g i n s :   -   n a m e :   E v e n t R a t e L i m i t   p a t h :   e v e n t c o n f i g . y a m l   . . .   T h e r e   a r e   f o u r   t y p e s   o f   l i m i t s   t h a t   c a n   b e   s p e c i f i e d   i n   t h e   c o n f i g u r a t i o n :   S e r v e r :   A l l   E v e n t   r e q u e s t s   ( c r e a t i o n   o r   m o d i f i c a t i o n s )   r e c e i v e d   b y   t h e   A P I   s e r v e r   s h a r e   a   s i n g l e   b u c k e t . N a m e s p a c e :   E a c h   n a m e s p a c e   h a s   a   d e d i c a t e d   b u c k e t . U s e r :   E a c h   u s e r   i s   a l l o c a t e d   a   b u c k e t . S o u r c e A n d O b j e c t :   A   b u c k e t   i s   a s s i g n e d   b y   e a c h   c o m b i n a t i o n   o f   s o u r c e   a n d   i n v o l v e d   o b j e c t   o f   t h e   e v e n t .   B e l o w   i s   a   s a m p l e   e v e n t c o n f i g . y a m l   f o r   s u c h   a   c o n f i g u r a t i o n :   a p i V e r s i o n :   e v e n t r a t e l i m i t . a d m i s s i o n . k 8 s . i o / v 1 a l p h a 1   k i n d :   C o n f i g u r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22989"
  },
  {
    "question": "What is ExtendedResourceToleration?",
    "answer": "T y p e :   M u t a t i n g .   T h i s   p l u g - i n   f a c i l i t a t e s   c r e a t i o n   o f   d e d i c a t e d   n o d e s   w i t h   e x t e n d e d   r e s o u r c e s .   I f   o p e r a t o r s   w a n t   t o   c r e a t e   d e d i c a t e d   n o d e s   w i t h   e x t e n d e d   r e s o u r c e s   ( l i k e   G P U s ,   F P G A s   e t c . ) ,   t h e y   a r e   e x p e c t e d   t o   t a i n t   t h e   n o d e   w i t h   t h e   e x t e n d e d   r e s o u r c e   n a m e   a s   t h e   k e y .   T h i s   a d m i s s i o n   c o n t r o l l e r ,   i f   e n a b l e d ,   a u t o m a t i c a l l y   a d d s   t o l e r a t i o n s   f o r   s u c h   t a i n t s   t o   p o d s   r e q u e s t i n g   e x t e n d e d   r e s o u r c e s ,   s o   u s e r s   d o n ' t   h a v e   t o   m a n u a l l y   a d d   t h e s e   t o l e r a t i o n s .   T h i s   a d m i s s i o n   c o n t r o l l e r   i s   d i s a b l e d   b y   d e f a u l t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22990"
  },
  {
    "question": "What is ImagePolicyWebhook?",
    "answer": "T y p e :   V a l i d a t i n g .   T h e   I m a g e P o l i c y W e b h o o k   a d m i s s i o n   c o n t r o l l e r   a l l o w s   a   b a c k e n d   w e b h o o k   t o   m a k e   a d m i s s i o n   d e c i s i o n s .   T h i s   a d m i s s i o n   c o n t r o l l e r   i s   d i s a b l e d   b y   d e f a u l t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22991"
  },
  {
    "question": "What is Configuration file format?",
    "answer": "I m a g e P o l i c y W e b h o o k   u s e s   a   c o n f i g u r a t i o n   f i l e   t o   s e t   o p t i o n s   f o r   t h e   b e h a v i o r   o f   t h e   b a c k e n d .   T h i s   f i l e   m a y   b e   j s o n   o r   y a m l   a n d   h a s   t h e   f o l l o w i n g   f o r m a t :   i m a g e P o l i c y :   k u b e C o n f i g F i l e :   / p a t h / t o / k u b e c o n f i g / f o r / b a c k e n d   #   t i m e   i n   s   t o   c a c h e   a p p r o v a l   a l l o w T T L :   5 0   #   t i m e   i n   s   t o   c a c h e   d e n i a l   d e n y T T L :   5 0   #   t i m e   i n   m s   t o   w a i t   b e t w e e n   r e t r i e s   r e t r y B a c k o f f :   5 0 0   #   d e t e r m i n e s   b e h a v i o r   i f   t h e   w e b h o o k   b a c k e n d   f a i l s   d e f a u l t A l l o w :   t r u e   R e f e r e n c e   t h e   I m a g e P o l i c y W e b h o o k   c o n f i g u r a t i o n   f i l e   f r o m   t h e   f i l e   p r o v i d e d   t o   t h e   A P I   s e r v e r ' s   c o m m a n d   l i n e   f l a g   - - a d m i s s i o n - c o n t r o l - c o n f i g - f i l e :   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   A d m i s s i o n C o n f i g u r a t i o n   p l u g i n s :   -   n a m e :   I m a g e P o l i c y W e b h o o k   p a t h :   i m a g e p o l i c y c o n f i g . y a m l   . . .   A l t e r n a t i v e l y ,   y o u   c a n   e m b e d   t h e   c o n f i g u r a t i o n   d i r e c t l y   i n   t h e   f i l e :   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   A d m i s s i o n C o n f i g u r a t i o n   p l u g i n s :   -   n a m e :   I m a g e P o l i c y W e b h o o k   c o n f i g u r a t i o n :   i m a g e P o l i c y :   k u b e C o n f i g F i l e :   < p a t h - t o - k u b e c o n f i g - f i l e >   a l l o w T T L :   5 0   d e n y T T L :   5 0   r e t r y B a c k o f f :   5 0 0   d e f a u l t A l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22992"
  },
  {
    "question": "What is Request payloads?",
    "answer": "W h e n   f a c e d   w i t h   a n   a d m i s s i o n   d e c i s i o n ,   t h e   A P I   S e r v e r   P O S T s   a   J S O N   s e r i a l i z e d   i m a g e p o l i c y . k 8 s . i o / v 1 a l p h a 1   I m a g e R e v i e w   o b j e c t   d e s c r i b i n g   t h e   a c t i o n .   T h i s   o b j e c t   c o n t a i n s   f i e l d s   d e s c r i b i n g   t h e   c o n t a i n e r s   b e i n g   a d m i t t e d ,   a s   w e l l   a s   a n y   p o d   a n n o t a t i o n s   t h a t   m a t c h   * . i m a g e - p o l i c y . k 8 s . i o / * .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22993"
  },
  {
    "question": "What is Note:?",
    "answer": "A n   e x a m p l e   r e q u e s t   b o d y :   {   \" a p i V e r s i o n \" :   \" i m a g e p o l i c y . k 8 s . i o / v 1 a l p h a 1 \" ,   \" k i n d \" :   \" I m a g e R e v i e w \" ,   \" s p e c \" :   {   \" c o n t a i n e r s \" :   [   {   \" i m a g e \" :   \" m y r e p o / m y i m a g e : v 1 \"   } ,   {   \" i m a g e \" :   \" m y r e p o / m y i m a g e @ s h a 2 5 6 : b e b 6 b d 6 a 6 8 f 1 1 4 c 1 d c 2 e a 4 b 2 8 d b 8 1 b d f 9 1 d e 2 0 2 a 9 0 1 4 9 7 2 b e c 5 e 4 d 9 1 7 1 d 9 0 e d \"   }   ] ,   \" a n n o t a t i o n s \" :   {   \" m y c l u s t e r . i m a g e - p o l i c y . k 8 s . i o / t i c k e t - 1 2 3 4 \" :   \" b r e a k - g l a s s \"   } ,   \" n a m e s p a c e \" :   \" m y n a m e s p a c e \"   }   }   T h e   r e m o t e   s e r v i c e   i s   e x p e c t e d   t o   f i l l   t h e   s t a t u s   f i e l d   o f   t h e   r e q u e s t   a n d   r e s p o n d   t o   e i t h e r   a l l o w   o r   d i s a l l o w   a c c e s s .   T h e   r e s p o n s e   b o d y ' s   s p e c   f i e l d   i s   i g n o r e d ,   a n d   m a y   b e   o m i t t e d .   A   p e r m i s s i v e   r e s p o n s e   w o u l d   r e t u r n :   {   \" a p i V e r s i o n \" :   \" i m a g e p o l i c y . k 8 s . i o / v 1 a l p h a 1 \" ,   \" k i n d \" :   \" I m a g e R e v i e w \" ,   \" s t a t u s \" :   {   \" a l l o w e d \" :   t r u e   }   }   T o   d i s a l l o w   a c c e s s ,   t h e   s e r v i c e   w o u l d   r e t u r n :   {   \" a p i V e r s i o n \" :   \" i m a g e p o l i c y . k 8 s . i o / v 1 a l p h a 1 \" ,   \" k i n d \" :   \" I m a g e R e v i e w \" ,   \" s t a t u s \" :   {   \" a l l o w e d \" :   f a l s e ,   \" r e a s o n \" :   \" i m a g e   c u r r e n t l y   b l a c k l i s t e d \"   }   }   F o r   f u r t h e r   d o c u m e n t a t i o n   r e f e r   t o   t h e   i m a g e p o l i c y . v 1 a l p h a 1   A P I .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22994"
  },
  {
    "question": "What is Extending with Annotations?",
    "answer": "A l l   a n n o t a t i o n s   o n   a   P o d   t h a t   m a t c h   * . i m a g e - p o l i c y . k 8 s . i o / *   a r e   s e n t   t o   t h e   w e b h o o k .   S e n d i n g   a n n o t a t i o n s   a l l o w s   u s e r s   w h o   a r e   a w a r e   o f   t h e   i m a g e   p o l i c y   b a c k e n d   t o   s e n d   e x t r a   i n f o r m a t i o n   t o   i t ,   a n d   f o r   d i f f e r e n t   b a c k e n d s   i m p l e m e n t a t i o n s   t o   a c c e p t   d i f f e r e n t   i n f o r m a t i o n .   E x a m p l e s   o f   i n f o r m a t i o n   y o u   m i g h t   p u t   h e r e   a r e :   r e q u e s t   t o   \" b r e a k   g l a s s \"   t o   o v e r r i d e   a   p o l i c y ,   i n   c a s e   o f   e m e r g e n c y . a   t i c k e t   n u m b e r   f r o m   a   t i c k e t   s y s t e m   t h a t   d o c u m e n t s   t h e   b r e a k - g l a s s   r e q u e s t p r o v i d e   a   h i n t   t o   t h e   p o l i c y   s e r v e r   a s   t o   t h e   i m a g e I D   o f   t h e   i m a g e   b e i n g   p r o v i d e d ,   t o   s a v e   i t   a   l o o k u p   I n   a n y   c a s e ,   t h e   a n n o t a t i o n s   a r e   p r o v i d e d   b y   t h e   u s e r   a n d   a r e   n o t   v a l i d a t e d   b y   K u b e r n e t e s   i n   a n y   w a y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22995"
  },
  {
    "question": "What is LimitPodHardAntiAffinityTopology?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   d e n i e s   a n y   p o d   t h a t   d e f i n e s   A n t i A f f i n i t y   t o p o l o g y   k e y   o t h e r   t h a n   k u b e r n e t e s . i o / h o s t n a m e   i n   r e q u i r e d D u r i n g S c h e d u l i n g R e q u i r e d D u r i n g E x e c u t i o n .   T h i s   a d m i s s i o n   c o n t r o l l e r   i s   d i s a b l e d   b y   d e f a u l t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22996"
  },
  {
    "question": "What is LimitRanger?",
    "answer": "T y p e :   M u t a t i n g   a n d   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   w i l l   o b s e r v e   t h e   i n c o m i n g   r e q u e s t   a n d   e n s u r e   t h a t   i t   d o e s   n o t   v i o l a t e   a n y   o f   t h e   c o n s t r a i n t s   e n u m e r a t e d   i n   t h e   L i m i t R a n g e   o b j e c t   i n   a   N a m e s p a c e .   I f   y o u   a r e   u s i n g   L i m i t R a n g e   o b j e c t s   i n   y o u r   K u b e r n e t e s   d e p l o y m e n t ,   y o u   M U S T   u s e   t h i s   a d m i s s i o n   c o n t r o l l e r   t o   e n f o r c e   t h o s e   c o n s t r a i n t s .   L i m i t R a n g e r   c a n   a l s o   b e   u s e d   t o   a p p l y   d e f a u l t   r e s o u r c e   r e q u e s t s   t o   P o d s   t h a t   d o n ' t   s p e c i f y   a n y ;   c u r r e n t l y ,   t h e   d e f a u l t   L i m i t R a n g e r   a p p l i e s   a   0 . 1   C P U   r e q u i r e m e n t   t o   a l l   P o d s   i n   t h e   d e f a u l t   n a m e s p a c e .   S e e   t h e   L i m i t R a n g e   A P I   r e f e r e n c e   a n d   t h e   e x a m p l e   o f   L i m i t R a n g e   f o r   m o r e   d e t a i l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22997"
  },
  {
    "question": "What is MutatingAdmissionWebhook?",
    "answer": "T y p e :   M u t a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   c a l l s   a n y   m u t a t i n g   w e b h o o k s   w h i c h   m a t c h   t h e   r e q u e s t .   M a t c h i n g   w e b h o o k s   a r e   c a l l e d   i n   s e r i a l ;   e a c h   o n e   m a y   m o d i f y   t h e   o b j e c t   i f   i t   d e s i r e s .   T h i s   a d m i s s i o n   c o n t r o l l e r   ( a s   i m p l i e d   b y   t h e   n a m e )   o n l y   r u n s   i n   t h e   m u t a t i n g   p h a s e .   I f   a   w e b h o o k   c a l l e d   b y   t h i s   h a s   s i d e   e f f e c t s   ( f o r   e x a m p l e ,   d e c r e m e n t i n g   q u o t a )   i t   m u s t   h a v e   a   r e c o n c i l i a t i o n   s y s t e m ,   a s   i t   i s   n o t   g u a r a n t e e d   t h a t   s u b s e q u e n t   w e b h o o k s   o r   v a l i d a t i n g   a d m i s s i o n   c o n t r o l l e r s   w i l l   p e r m i t   t h e   r e q u e s t   t o   f i n i s h .   I f   y o u   d i s a b l e   t h e   M u t a t i n g A d m i s s i o n W e b h o o k ,   y o u   m u s t   a l s o   d i s a b l e   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   o b j e c t   i n   t h e   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   g r o u p / v e r s i o n   v i a   t h e   - - r u n t i m e - c o n f i g   f l a g ,   b o t h   a r e   o n   b y   d e f a u l t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_22998"
  },
  {
    "question": "What is Use caution when authoring and installing mutating webhooks?",
    "answer": "U s e r s   m a y   b e   c o n f u s e d   w h e n   t h e   o b j e c t s   t h e y   t r y   t o   c r e a t e   a r e   d i f f e r e n t   f r o m   w h a t   t h e y   g e t   b a c k . B u i l t   i n   c o n t r o l   l o o p s   m a y   b r e a k   w h e n   t h e   o b j e c t s   t h e y   t r y   t o   c r e a t e   a r e   d i f f e r e n t   w h e n   r e a d   b a c k . S e t t i n g   o r i g i n a l l y   u n s e t   f i e l d s   i s   l e s s   l i k e l y   t o   c a u s e   p r o b l e m s   t h a n   o v e r w r i t i n g   f i e l d s   s e t   i n   t h e   o r i g i n a l   r e q u e s t .   A v o i d   d o i n g   t h e   l a t t e r . F u t u r e   c h a n g e s   t o   c o n t r o l   l o o p s   f o r   b u i l t - i n   r e s o u r c e s   o r   t h i r d - p a r t y   r e s o u r c e s   m a y   b r e a k   w e b h o o k s   t h a t   w o r k   w e l l   t o d a y .   E v e n   w h e n   t h e   w e b h o o k   i n s t a l l a t i o n   A P I   i s   f i n a l i z e d ,   n o t   a l l   p o s s i b l e   w e b h o o k   b e h a v i o r s   w i l l   b e   g u a r a n t e e d   t o   b e   s u p p o r t e d   i n d e f i n i t e l y .   S e t t i n g   o r i g i n a l l y   u n s e t   f i e l d s   i s   l e s s   l i k e l y   t o   c a u s e   p r o b l e m s   t h a n   o v e r w r i t i n g   f i e l d s   s e t   i n   t h e   o r i g i n a l   r e q u e s t .   A v o i d   d o i n g   t h e   l a t t e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_22999"
  },
  {
    "question": "What is NamespaceAutoProvision?",
    "answer": "T y p e :   M u t a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   e x a m i n e s   a l l   i n c o m i n g   r e q u e s t s   o n   n a m e s p a c e d   r e s o u r c e s   a n d   c h e c k s   i f   t h e   r e f e r e n c e d   n a m e s p a c e   d o e s   e x i s t .   I t   c r e a t e s   a   n a m e s p a c e   i f   i t   c a n n o t   b e   f o u n d .   T h i s   a d m i s s i o n   c o n t r o l l e r   i s   u s e f u l   i n   d e p l o y m e n t s   t h a t   d o   n o t   w a n t   t o   r e s t r i c t   c r e a t i o n   o f   a   n a m e s p a c e   p r i o r   t o   i t s   u s a g e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23000"
  },
  {
    "question": "What is NamespaceExists?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   c h e c k s   a l l   r e q u e s t s   o n   n a m e s p a c e d   r e s o u r c e s   o t h e r   t h a n   N a m e s p a c e   i t s e l f .   I f   t h e   n a m e s p a c e   r e f e r e n c e d   f r o m   a   r e q u e s t   d o e s n ' t   e x i s t ,   t h e   r e q u e s t   i s   r e j e c t e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23001"
  },
  {
    "question": "What is NamespaceLifecycle?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   e n f o r c e s   t h a t   a   N a m e s p a c e   t h a t   i s   u n d e r g o i n g   t e r m i n a t i o n   c a n n o t   h a v e   n e w   o b j e c t s   c r e a t e d   i n   i t ,   a n d   e n s u r e s   t h a t   r e q u e s t s   i n   a   n o n - e x i s t e n t   N a m e s p a c e   a r e   r e j e c t e d .   T h i s   a d m i s s i o n   c o n t r o l l e r   a l s o   p r e v e n t s   d e l e t i o n   o f   t h r e e   s y s t e m   r e s e r v e d   n a m e s p a c e s   d e f a u l t ,   k u b e - s y s t e m ,   k u b e - p u b l i c .   A   N a m e s p a c e   d e l e t i o n   k i c k s   o f f   a   s e q u e n c e   o f   o p e r a t i o n s   t h a t   r e m o v e   a l l   o b j e c t s   ( p o d s ,   s e r v i c e s ,   e t c . )   i n   t h a t   n a m e s p a c e .   I n   o r d e r   t o   e n f o r c e   i n t e g r i t y   o f   t h a t   p r o c e s s ,   w e   s t r o n g l y   r e c o m m e n d   r u n n i n g   t h i s   a d m i s s i o n   c o n t r o l l e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23002"
  },
  {
    "question": "What is NodeRestriction?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   l i m i t s   t h e   N o d e   a n d   P o d   o b j e c t s   a   k u b e l e t   c a n   m o d i f y .   I n   o r d e r   t o   b e   l i m i t e d   b y   t h i s   a d m i s s i o n   c o n t r o l l e r ,   k u b e l e t s   m u s t   u s e   c r e d e n t i a l s   i n   t h e   s y s t e m : n o d e s   g r o u p ,   w i t h   a   u s e r n a m e   i n   t h e   f o r m   s y s t e m : n o d e : < n o d e N a m e > .   S u c h   k u b e l e t s   w i l l   o n l y   b e   a l l o w e d   t o   m o d i f y   t h e i r   o w n   N o d e   A P I   o b j e c t ,   a n d   o n l y   m o d i f y   P o d   A P I   o b j e c t s   t h a t   a r e   b o u n d   t o   t h e i r   n o d e .   k u b e l e t s   a r e   n o t   a l l o w e d   t o   u p d a t e   o r   r e m o v e   t a i n t s   f r o m   t h e i r   N o d e   A P I   o b j e c t .   T h e   N o d e R e s t r i c t i o n   a d m i s s i o n   p l u g i n   p r e v e n t s   k u b e l e t s   f r o m   d e l e t i n g   t h e i r   N o d e   A P I   o b j e c t ,   a n d   e n f o r c e s   k u b e l e t   m o d i f i c a t i o n   o f   l a b e l s   u n d e r   t h e   k u b e r n e t e s . i o /   o r   k 8 s . i o /   p r e f i x e s   a s   f o l l o w s :   P r e v e n t s   k u b e l e t s   f r o m   a d d i n g / r e m o v i n g / u p d a t i n g   l a b e l s   w i t h   a   n o d e - r e s t r i c t i o n . k u b e r n e t e s . i o /   p r e f i x .   T h i s   l a b e l   p r e f i x   i s   r e s e r v e d   f o r   a d m i n i s t r a t o r s   t o   l a b e l   t h e i r   N o d e   o b j e c t s   f o r   w o r k l o a d   i s o l a t i o n   p u r p o s e s ,   a n d   k u b e l e t s   w i l l   n o t   b e   a l l o w e d   t o   m o d i f y   l a b e l s   w i t h   t h a t   p r e f i x . A l l o w s   k u b e l e t s   t o   a d d / r e m o v e / u p d a t e   t h e s e   l a b e l s   a n d   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23003"
  },
  {
    "question": "What is OwnerReferencesPermissionEnforcement?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   p r o t e c t s   t h e   a c c e s s   t o   t h e   m e t a d a t a . o w n e r R e f e r e n c e s   o f   a n   o b j e c t   s o   t h a t   o n l y   u s e r s   w i t h   d e l e t e   p e r m i s s i o n   t o   t h e   o b j e c t   c a n   c h a n g e   i t .   T h i s   a d m i s s i o n   c o n t r o l l e r   a l s o   p r o t e c t s   t h e   a c c e s s   t o   m e t a d a t a . o w n e r R e f e r e n c e s [ x ] . b l o c k O w n e r D e l e t i o n   o f   a n   o b j e c t ,   s o   t h a t   o n l y   u s e r s   w i t h   u p d a t e   p e r m i s s i o n   t o   t h e   f i n a l i z e r s   s u b r e s o u r c e   o f   t h e   r e f e r e n c e d   o w n e r   c a n   c h a n g e   i t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23004"
  },
  {
    "question": "What is PersistentVolumeClaimResize?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   i m p l e m e n t s   a d d i t i o n a l   v a l i d a t i o n s   f o r   c h e c k i n g   i n c o m i n g   P e r s i s t e n t V o l u m e C l a i m   r e s i z e   r e q u e s t s .   E n a b l i n g   t h e   P e r s i s t e n t V o l u m e C l a i m R e s i z e   a d m i s s i o n   c o n t r o l l e r   i s   r e c o m m e n d e d .   T h i s   a d m i s s i o n   c o n t r o l l e r   p r e v e n t s   r e s i z i n g   o f   a l l   c l a i m s   b y   d e f a u l t   u n l e s s   a   c l a i m ' s   S t o r a g e C l a s s   e x p l i c i t l y   e n a b l e s   r e s i z i n g   b y   s e t t i n g   a l l o w V o l u m e E x p a n s i o n   t o   t r u e .   F o r   e x a m p l e :   a l l   P e r s i s t e n t V o l u m e C l a i m s   c r e a t e d   f r o m   t h e   f o l l o w i n g   S t o r a g e C l a s s   s u p p o r t   v o l u m e   e x p a n s i o n :   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s   m e t a d a t a :   n a m e :   g l u s t e r - v o l - d e f a u l t   p r o v i s i o n e r :   k u b e r n e t e s . i o / g l u s t e r f s   p a r a m e t e r s :   r e s t u r l :   \" h t t p : / / 1 9 2 . 1 6 8 . 1 0 . 1 0 0 : 8 0 8 0 \"   r e s t u s e r :   \" \"   s e c r e t N a m e s p a c e :   \" \"   s e c r e t N a m e :   \" \"   a l l o w V o l u m e E x p a n s i o n :   t r u e   F o r   m o r e   i n f o r m a t i o n   a b o u t   p e r s i s t e n t   v o l u m e   c l a i m s ,   s e e   P e r s i s t e n t V o l u m e C l a i m s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23005"
  },
  {
    "question": "What is PodNodeSelector?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   d e f a u l t s   a n d   l i m i t s   w h a t   n o d e   s e l e c t o r s   m a y   b e   u s e d   w i t h i n   a   n a m e s p a c e   b y   r e a d i n g   a   n a m e s p a c e   a n n o t a t i o n   a n d   a   g l o b a l   c o n f i g u r a t i o n .   T h i s   a d m i s s i o n   c o n t r o l l e r   i s   d i s a b l e d   b y   d e f a u l t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23006"
  },
  {
    "question": "What is Configuration file format?",
    "answer": "P o d N o d e S e l e c t o r   u s e s   a   c o n f i g u r a t i o n   f i l e   t o   s e t   o p t i o n s   f o r   t h e   b e h a v i o r   o f   t h e   b a c k e n d .   N o t e   t h a t   t h e   c o n f i g u r a t i o n   f i l e   f o r m a t   w i l l   m o v e   t o   a   v e r s i o n e d   f i l e   i n   a   f u t u r e   r e l e a s e .   T h i s   f i l e   m a y   b e   j s o n   o r   y a m l   a n d   h a s   t h e   f o l l o w i n g   f o r m a t :   p o d N o d e S e l e c t o r P l u g i n C o n f i g :   c l u s t e r D e f a u l t N o d e S e l e c t o r :   n a m e - o f - n o d e - s e l e c t o r   n a m e s p a c e 1 :   n a m e - o f - n o d e - s e l e c t o r   n a m e s p a c e 2 :   n a m e - o f - n o d e - s e l e c t o r   R e f e r e n c e   t h e   P o d N o d e S e l e c t o r   c o n f i g u r a t i o n   f i l e   f r o m   t h e   f i l e   p r o v i d e d   t o   t h e   A P I   s e r v e r ' s   c o m m a n d   l i n e   f l a g   - - a d m i s s i o n - c o n t r o l - c o n f i g - f i l e :   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   k i n d :   A d m i s s i o n C o n f i g u r a t i o n   p l u g i n s :   -   n a m e :   P o d N o d e S e l e c t o r   p a t h :   p o d n o d e s e l e c t o r . y a m l   . . .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23007"
  },
  {
    "question": "What is Configuration Annotation Format?",
    "answer": "P o d N o d e S e l e c t o r   u s e s   t h e   a n n o t a t i o n   k e y   s c h e d u l e r . a l p h a . k u b e r n e t e s . i o / n o d e - s e l e c t o r   t o   a s s i g n   n o d e   s e l e c t o r s   t o   n a m e s p a c e s .   a p i V e r s i o n :   v 1   k i n d :   N a m e s p a c e   m e t a d a t a :   a n n o t a t i o n s :   s c h e d u l e r . a l p h a . k u b e r n e t e s . i o / n o d e - s e l e c t o r :   n a m e - o f - n o d e - s e l e c t o r   n a m e :   n a m e s p a c e 3",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23008"
  },
  {
    "question": "What is Internal Behavior?",
    "answer": "T h i s   a d m i s s i o n   c o n t r o l l e r   h a s   t h e   f o l l o w i n g   b e h a v i o r :   I f   t h e   N a m e s p a c e   h a s   a n   a n n o t a t i o n   w i t h   a   k e y   s c h e d u l e r . a l p h a . k u b e r n e t e s . i o / n o d e - s e l e c t o r ,   u s e   i t s   v a l u e   a s   t h e   n o d e   s e l e c t o r . I f   t h e   n a m e s p a c e   l a c k s   s u c h   a n   a n n o t a t i o n ,   u s e   t h e   c l u s t e r D e f a u l t N o d e S e l e c t o r   d e f i n e d   i n   t h e   P o d N o d e S e l e c t o r   p l u g i n   c o n f i g u r a t i o n   f i l e   a s   t h e   n o d e   s e l e c t o r . E v a l u a t e   t h e   p o d ' s   n o d e   s e l e c t o r   a g a i n s t   t h e   n a m e s p a c e   n o d e   s e l e c t o r   f o r   c o n f l i c t s .   C o n f l i c t s   r e s u l t   i n   r e j e c t i o n . E v a l u a t e   t h e   p o d ' s   n o d e   s e l e c t o r   a g a i n s t   t h e   n a m e s p a c e - s p e c i f i c   a l l o w e d   s e l e c t o r   d e f i n e d   t h e   p l u g i n   c o n f i g u r a t i o n   f i l e .   C o n f l i c t s   r e s u l t   i n   r e j e c t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23009"
  },
  {
    "question": "What is PodSecurity?",
    "answer": "T y p e :   V a l i d a t i n g .   T h e   P o d S e c u r i t y   a d m i s s i o n   c o n t r o l l e r   c h e c k s   n e w   P o d s   b e f o r e   t h e y   a r e   a d m i t t e d ,   d e t e r m i n e s   i f   i t   s h o u l d   b e   a d m i t t e d   b a s e d   o n   t h e   r e q u e s t e d   s e c u r i t y   c o n t e x t   a n d   t h e   r e s t r i c t i o n s   o n   p e r m i t t e d   P o d   S e c u r i t y   S t a n d a r d s   f o r   t h e   n a m e s p a c e   t h a t   t h e   P o d   w o u l d   b e   i n .   S e e   t h e   P o d   S e c u r i t y   A d m i s s i o n   d o c u m e n t a t i o n   f o r   m o r e   i n f o r m a t i o n .   P o d S e c u r i t y   r e p l a c e d   a n   o l d e r   a d m i s s i o n   c o n t r o l l e r   n a m e d   P o d S e c u r i t y P o l i c y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23010"
  },
  {
    "question": "What is PodTolerationRestriction?",
    "answer": "T y p e :   M u t a t i n g   a n d   V a l i d a t i n g .   T h e   P o d T o l e r a t i o n R e s t r i c t i o n   a d m i s s i o n   c o n t r o l l e r   v e r i f i e s   a n y   c o n f l i c t   b e t w e e n   t o l e r a t i o n s   o f   a   p o d   a n d   t h e   t o l e r a t i o n s   o f   i t s   n a m e s p a c e .   I t   r e j e c t s   t h e   p o d   r e q u e s t   i f   t h e r e   i s   a   c o n f l i c t .   I t   t h e n   m e r g e s   t h e   t o l e r a t i o n s   a n n o t a t e d   o n   t h e   n a m e s p a c e   i n t o   t h e   t o l e r a t i o n s   o f   t h e   p o d .   T h e   r e s u l t i n g   t o l e r a t i o n s   a r e   c h e c k e d   a g a i n s t   a   l i s t   o f   a l l o w e d   t o l e r a t i o n s   a n n o t a t e d   t o   t h e   n a m e s p a c e .   I f   t h e   c h e c k   s u c c e e d s ,   t h e   p o d   r e q u e s t   i s   a d m i t t e d   o t h e r w i s e   i t   i s   r e j e c t e d .   I f   t h e   n a m e s p a c e   o f   t h e   p o d   d o e s   n o t   h a v e   a n y   a s s o c i a t e d   d e f a u l t   t o l e r a t i o n s   o r   a l l o w e d   t o l e r a t i o n s   a n n o t a t e d ,   t h e   c l u s t e r - l e v e l   d e f a u l t   t o l e r a t i o n s   o r   c l u s t e r - l e v e l   l i s t   o f   a l l o w e d   t o l e r a t i o n s   a r e   u s e d   i n s t e a d   i f   t h e y   a r e   s p e c i f i e d .   T o l e r a t i o n s   t o   a   n a m e s p a c e   a r e   a s s i g n e d   v i a   t h e   s c h e d u l e r . a l p h a . k u b e r n e t e s . i o / d e f a u l t T o l e r a t i o n s   a n n o t a t i o n   k e y .   T h e   l i s t   o f   a l l o w e d   t o l e r a t i o n s   c a n   b e   a d d e d   v i a   t h e   s c h e d u l e r . a l p h a . k u b e r n e t e s . i o / t o l e r a t i o n s W h i t e l i s t   a n n o t a t i o n   k e y .   E x a m p l e   f o r   n a m e s p a c e   a n n o t a t i o n s :   a p i V e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23011"
  },
  {
    "question": "What is PodTopologyLabels?",
    "answer": "T y p e :   M u t a t i n g   T h e   P o d T o p o l o g y L a b e l s   a d m i s s i o n   c o n t r o l l e r   m u t a t e s   t h e   p o d s / b i n d i n g   s u b r e s o u r c e s   f o r   a l l   p o d s   b o u n d   t o   a   N o d e ,   a d d i n g   t o p o l o g y   l a b e l s   m a t c h i n g   t h o s e   o f   t h e   b o u n d   N o d e .   T h i s   a l l o w s   N o d e   t o p o l o g y   l a b e l s   t o   b e   a v a i l a b l e   a s   p o d   l a b e l s ,   w h i c h   c a n   b e   s u r f a c e d   t o   r u n n i n g   c o n t a i n e r s   u s i n g   t h e   D o w n w a r d   A P I .   T h e   l a b e l s   a v a i l a b l e   a s   a   r e s u l t   o f   t h i s   c o n t r o l l e r   a r e   t h e   t o p o l o g y . k u b e r n e t e s . i o / r e g i o n   a n d   t o p o l o g y . k u b e r e n t e s . i o / z o n e   l a b e l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23012"
  },
  {
    "question": "What is Note:?",
    "answer": "T h i s   a d m i s s i o n   c o n t r o l l e r   i s   e n a b l e d   w h e n   t h e   P o d T o p o l o g y L a b e l s A d m i s s i o n   f e a t u r e   g a t e   i s   e n a b l e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23013"
  },
  {
    "question": "What is Priority?",
    "answer": "T y p e :   M u t a t i n g   a n d   V a l i d a t i n g .   T h e   p r i o r i t y   a d m i s s i o n   c o n t r o l l e r   u s e s   t h e   p r i o r i t y C l a s s N a m e   f i e l d   a n d   p o p u l a t e s   t h e   i n t e g e r   v a l u e   o f   t h e   p r i o r i t y .   I f   t h e   p r i o r i t y   c l a s s   i s   n o t   f o u n d ,   t h e   P o d   i s   r e j e c t e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23014"
  },
  {
    "question": "What is ResourceQuota?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   w i l l   o b s e r v e   t h e   i n c o m i n g   r e q u e s t   a n d   e n s u r e   t h a t   i t   d o e s   n o t   v i o l a t e   a n y   o f   t h e   c o n s t r a i n t s   e n u m e r a t e d   i n   t h e   R e s o u r c e Q u o t a   o b j e c t   i n   a   N a m e s p a c e .   I f   y o u   a r e   u s i n g   R e s o u r c e Q u o t a   o b j e c t s   i n   y o u r   K u b e r n e t e s   d e p l o y m e n t ,   y o u   M U S T   u s e   t h i s   a d m i s s i o n   c o n t r o l l e r   t o   e n f o r c e   q u o t a   c o n s t r a i n t s .   S e e   t h e   R e s o u r c e Q u o t a   A P I   r e f e r e n c e   a n d   t h e   e x a m p l e   o f   R e s o u r c e   Q u o t a   f o r   m o r e   d e t a i l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23015"
  },
  {
    "question": "What is RuntimeClass?",
    "answer": "T y p e :   M u t a t i n g   a n d   V a l i d a t i n g .   I f   y o u   d e f i n e   a   R u n t i m e C l a s s   w i t h   P o d   o v e r h e a d   c o n f i g u r e d ,   t h i s   a d m i s s i o n   c o n t r o l l e r   c h e c k s   i n c o m i n g   P o d s .   W h e n   e n a b l e d ,   t h i s   a d m i s s i o n   c o n t r o l l e r   r e j e c t s   a n y   P o d   c r e a t e   r e q u e s t s   t h a t   h a v e   t h e   o v e r h e a d   a l r e a d y   s e t .   F o r   P o d s   t h a t   h a v e   a   R u n t i m e C l a s s   c o n f i g u r e d   a n d   s e l e c t e d   i n   t h e i r   . s p e c ,   t h i s   a d m i s s i o n   c o n t r o l l e r   s e t s   . s p e c . o v e r h e a d   i n   t h e   P o d   b a s e d   o n   t h e   v a l u e   d e f i n e d   i n   t h e   c o r r e s p o n d i n g   R u n t i m e C l a s s .   S e e   a l s o   P o d   O v e r h e a d   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23016"
  },
  {
    "question": "What is ServiceAccount?",
    "answer": "T y p e :   M u t a t i n g   a n d   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   i m p l e m e n t s   a u t o m a t i o n   f o r   s e r v i c e A c c o u n t s .   T h e   K u b e r n e t e s   p r o j e c t   s t r o n g l y   r e c o m m e n d s   e n a b l i n g   t h i s   a d m i s s i o n   c o n t r o l l e r .   Y o u   s h o u l d   e n a b l e   t h i s   a d m i s s i o n   c o n t r o l l e r   i f   y o u   i n t e n d   t o   m a k e   a n y   u s e   o f   K u b e r n e t e s   S e r v i c e A c c o u n t   o b j e c t s .   T o   e n h a n c e   t h e   s e c u r i t y   m e a s u r e s   a r o u n d   S e c r e t s ,   u s e   s e p a r a t e   n a m e s p a c e s   t o   i s o l a t e   a c c e s s   t o   m o u n t e d   s e c r e t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23017"
  },
  {
    "question": "What is StorageObjectInUseProtection?",
    "answer": "T y p e :   M u t a t i n g .   T h e   S t o r a g e O b j e c t I n U s e P r o t e c t i o n   p l u g i n   a d d s   t h e   k u b e r n e t e s . i o / p v c - p r o t e c t i o n   o r   k u b e r n e t e s . i o / p v - p r o t e c t i o n   f i n a l i z e r s   t o   n e w l y   c r e a t e d   P e r s i s t e n t   V o l u m e   C l a i m s   ( P V C s )   o r   P e r s i s t e n t   V o l u m e s   ( P V ) .   I n   c a s e   a   u s e r   d e l e t e s   a   P V C   o r   P V   t h e   P V C   o r   P V   i s   n o t   r e m o v e d   u n t i l   t h e   f i n a l i z e r   i s   r e m o v e d   f r o m   t h e   P V C   o r   P V   b y   P V C   o r   P V   P r o t e c t i o n   C o n t r o l l e r .   R e f e r   t o   t h e   S t o r a g e   O b j e c t   i n   U s e   P r o t e c t i o n   f o r   m o r e   d e t a i l e d   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23018"
  },
  {
    "question": "What is TaintNodesByCondition?",
    "answer": "T y p e :   M u t a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   t a i n t s   n e w l y   c r e a t e d   N o d e s   a s   N o t R e a d y   a n d   N o S c h e d u l e .   T h a t   t a i n t i n g   a v o i d s   a   r a c e   c o n d i t i o n   t h a t   c o u l d   c a u s e   P o d s   t o   b e   s c h e d u l e d   o n   n e w   N o d e s   b e f o r e   t h e i r   t a i n t s   w e r e   u p d a t e d   t o   a c c u r a t e l y   r e f l e c t   t h e i r   r e p o r t e d   c o n d i t i o n s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23019"
  },
  {
    "question": "What is ValidatingAdmissionPolicy?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   i m p l e m e n t s   t h e   C E L   v a l i d a t i o n   f o r   i n c o m i n g   m a t c h e d   r e q u e s t s .   I t   i s   e n a b l e d   w h e n   b o t h   f e a t u r e   g a t e   v a l i d a t i n g a d m i s s i o n p o l i c y   a n d   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1   g r o u p / v e r s i o n   a r e   e n a b l e d .   I f   a n y   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   f a i l s ,   t h e   r e q u e s t   f a i l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23020"
  },
  {
    "question": "What is ValidatingAdmissionWebhook?",
    "answer": "T y p e :   V a l i d a t i n g .   T h i s   a d m i s s i o n   c o n t r o l l e r   c a l l s   a n y   v a l i d a t i n g   w e b h o o k s   w h i c h   m a t c h   t h e   r e q u e s t .   M a t c h i n g   w e b h o o k s   a r e   c a l l e d   i n   p a r a l l e l ;   i f   a n y   o f   t h e m   r e j e c t s   t h e   r e q u e s t ,   t h e   r e q u e s t   f a i l s .   T h i s   a d m i s s i o n   c o n t r o l l e r   o n l y   r u n s   i n   t h e   v a l i d a t i o n   p h a s e ;   t h e   w e b h o o k s   i t   c a l l s   m a y   n o t   m u t a t e   t h e   o b j e c t ,   a s   o p p o s e d   t o   t h e   w e b h o o k s   c a l l e d   b y   t h e   M u t a t i n g A d m i s s i o n W e b h o o k   a d m i s s i o n   c o n t r o l l e r .   I f   a   w e b h o o k   c a l l e d   b y   t h i s   h a s   s i d e   e f f e c t s   ( f o r   e x a m p l e ,   d e c r e m e n t i n g   q u o t a )   i t   m u s t   h a v e   a   r e c o n c i l i a t i o n   s y s t e m ,   a s   i t   i s   n o t   g u a r a n t e e d   t h a t   s u b s e q u e n t   w e b h o o k s   o r   o t h e r   v a l i d a t i n g   a d m i s s i o n   c o n t r o l l e r s   w i l l   p e r m i t   t h e   r e q u e s t   t o   f i n i s h .   I f   y o u   d i s a b l e   t h e   V a l i d a t i n g A d m i s s i o n W e b h o o k ,   y o u   m u s t   a l s o   d i s a b l e   t h e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   o b j e c t   i n   t h e   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   g r o u p / v e r s i o n   v i a   t h e   - - r u n t i m e - c o n f i g   f l a g .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23021"
  },
  {
    "question": "What is Is there a recommended set of admission controllers to use??",
    "answer": "Y e s .   T h e   r e c o m m e n d e d   a d m i s s i o n   c o n t r o l l e r s   a r e   e n a b l e d   b y   d e f a u l t   ( s h o w n   h e r e ) ,   s o   y o u   d o   n o t   n e e d   t o   e x p l i c i t l y   s p e c i f y   t h e m .   Y o u   c a n   e n a b l e   a d d i t i o n a l   a d m i s s i o n   c o n t r o l l e r s   b e y o n d   t h e   d e f a u l t   s e t   u s i n g   t h e   - - e n a b l e - a d m i s s i o n - p l u g i n s   f l a g   ( o r d e r   d o e s n ' t   m a t t e r ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23022"
  },
  {
    "question": "What is 3.9 - Dynamic Admission Control?",
    "answer": "I n   a d d i t i o n   t o   c o m p i l e d - i n   a d m i s s i o n   p l u g i n s ,   a d m i s s i o n   p l u g i n s   c a n   b e   d e v e l o p e d   a s   e x t e n s i o n s   a n d   r u n   a s   w e b h o o k s   c o n f i g u r e d   a t   r u n t i m e .   T h i s   p a g e   d e s c r i b e s   h o w   t o   b u i l d ,   c o n f i g u r e ,   u s e ,   a n d   m o n i t o r   a d m i s s i o n   w e b h o o k s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23023"
  },
  {
    "question": "What is What are admission webhooks??",
    "answer": "A d m i s s i o n   w e b h o o k s   a r e   H T T P   c a l l b a c k s   t h a t   r e c e i v e   a d m i s s i o n   r e q u e s t s   a n d   d o   s o m e t h i n g   w i t h   t h e m .   Y o u   c a n   d e f i n e   t w o   t y p e s   o f   a d m i s s i o n   w e b h o o k s ,   v a l i d a t i n g   a d m i s s i o n   w e b h o o k   a n d   m u t a t i n g   a d m i s s i o n   w e b h o o k .   M u t a t i n g   a d m i s s i o n   w e b h o o k s   a r e   i n v o k e d   f i r s t ,   a n d   c a n   m o d i f y   o b j e c t s   s e n t   t o   t h e   A P I   s e r v e r   t o   e n f o r c e   c u s t o m   d e f a u l t s .   A f t e r   a l l   o b j e c t   m o d i f i c a t i o n s   a r e   c o m p l e t e ,   a n d   a f t e r   t h e   i n c o m i n g   o b j e c t   i s   v a l i d a t e d   b y   t h e   A P I   s e r v e r ,   v a l i d a t i n g   a d m i s s i o n   w e b h o o k s   a r e   i n v o k e d   a n d   c a n   r e j e c t   r e q u e s t s   t o   e n f o r c e   c u s t o m   p o l i c i e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23024"
  },
  {
    "question": "What is Experimenting with admission webhooks?",
    "answer": "A d m i s s i o n   w e b h o o k s   a r e   e s s e n t i a l l y   p a r t   o f   t h e   c l u s t e r   c o n t r o l - p l a n e .   Y o u   s h o u l d   w r i t e   a n d   d e p l o y   t h e m   w i t h   g r e a t   c a u t i o n .   P l e a s e   r e a d   t h e   u s e r   g u i d e s   f o r   i n s t r u c t i o n s   i f   y o u   i n t e n d   t o   w r i t e / d e p l o y   p r o d u c t i o n - g r a d e   a d m i s s i o n   w e b h o o k s .   I n   t h e   f o l l o w i n g ,   w e   d e s c r i b e   h o w   t o   q u i c k l y   e x p e r i m e n t   w i t h   a d m i s s i o n   w e b h o o k s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23025"
  },
  {
    "question": "What is Prerequisites?",
    "answer": "E n s u r e   t h a t   M u t a t i n g A d m i s s i o n W e b h o o k   a n d   V a l i d a t i n g A d m i s s i o n W e b h o o k   a d m i s s i o n   c o n t r o l l e r s   a r e   e n a b l e d .   H e r e   i s   a   r e c o m m e n d e d   s e t   o f   a d m i s s i o n   c o n t r o l l e r s   t o   e n a b l e   i n   g e n e r a l . E n s u r e   t h a t   t h e   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   A P I   i s   e n a b l e d .   E n s u r e   t h a t   M u t a t i n g A d m i s s i o n W e b h o o k   a n d   V a l i d a t i n g A d m i s s i o n W e b h o o k   a d m i s s i o n   c o n t r o l l e r s   a r e   e n a b l e d .   H e r e   i s   a   r e c o m m e n d e d   s e t   o f   a d m i s s i o n   c o n t r o l l e r s   t o   e n a b l e   i n   g e n e r a l .   E n s u r e   t h a t   t h e   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   A P I   i s   e n a b l e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23026"
  },
  {
    "question": "What is Write an admission webhook server?",
    "answer": "P l e a s e   r e f e r   t o   t h e   i m p l e m e n t a t i o n   o f   t h e   a d m i s s i o n   w e b h o o k   s e r v e r   t h a t   i s   v a l i d a t e d   i n   a   K u b e r n e t e s   e 2 e   t e s t .   T h e   w e b h o o k   h a n d l e s   t h e   A d m i s s i o n R e v i e w   r e q u e s t   s e n t   b y   t h e   A P I   s e r v e r s ,   a n d   s e n d s   b a c k   i t s   d e c i s i o n   a s   a n   A d m i s s i o n R e v i e w   o b j e c t   i n   t h e   s a m e   v e r s i o n   i t   r e c e i v e d .   S e e   t h e   w e b h o o k   r e q u e s t   s e c t i o n   f o r   d e t a i l s   o n   t h e   d a t a   s e n t   t o   w e b h o o k s .   S e e   t h e   w e b h o o k   r e s p o n s e   s e c t i o n   f o r   t h e   d a t a   e x p e c t e d   f r o m   w e b h o o k s .   T h e   e x a m p l e   a d m i s s i o n   w e b h o o k   s e r v e r   l e a v e s   t h e   C l i e n t A u t h   f i e l d   e m p t y ,   w h i c h   d e f a u l t s   t o   N o C l i e n t C e r t .   T h i s   m e a n s   t h a t   t h e   w e b h o o k   s e r v e r   d o e s   n o t   a u t h e n t i c a t e   t h e   i d e n t i t y   o f   t h e   c l i e n t s ,   s u p p o s e d l y   A P I   s e r v e r s .   I f   y o u   n e e d   m u t u a l   T L S   o r   o t h e r   w a y s   t o   a u t h e n t i c a t e   t h e   c l i e n t s ,   s e e   h o w   t o   a u t h e n t i c a t e   A P I   s e r v e r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23027"
  },
  {
    "question": "What is Deploy the admission webhook service?",
    "answer": "T h e   w e b h o o k   s e r v e r   i n   t h e   e 2 e   t e s t   i s   d e p l o y e d   i n   t h e   K u b e r n e t e s   c l u s t e r ,   v i a   t h e   d e p l o y m e n t   A P I .   T h e   t e s t   a l s o   c r e a t e s   a   s e r v i c e   a s   t h e   f r o n t - e n d   o f   t h e   w e b h o o k   s e r v e r .   S e e   c o d e .   Y o u   m a y   a l s o   d e p l o y   y o u r   w e b h o o k s   o u t s i d e   o f   t h e   c l u s t e r .   Y o u   w i l l   n e e d   t o   u p d a t e   y o u r   w e b h o o k   c o n f i g u r a t i o n s   a c c o r d i n g l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23028"
  },
  {
    "question": "What is Configure admission webhooks on the fly?",
    "answer": "Y o u   c a n   d y n a m i c a l l y   c o n f i g u r e   w h a t   r e s o u r c e s   a r e   s u b j e c t   t o   w h a t   a d m i s s i o n   w e b h o o k s   v i a   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   o r   M u t a t i n g W e b h o o k C o n f i g u r a t i o n .   T h e   f o l l o w i n g   i s   a n   e x a m p l e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ,   a   m u t a t i n g   w e b h o o k   c o n f i g u r a t i o n   i s   s i m i l a r .   S e e   t h e   w e b h o o k   c o n f i g u r a t i o n   s e c t i o n   f o r   d e t a i l s   a b o u t   e a c h   c o n f i g   f i e l d .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   m e t a d a t a :   n a m e :   \" p o d - p o l i c y . e x a m p l e . c o m \"   w e b h o o k s :   -   n a m e :   \" p o d - p o l i c y . e x a m p l e . c o m \"   r u l e s :   -   a p i G r o u p s :   [ \" \" ]   a p i V e r s i o n s :   [ \" v 1 \" ]   o p e r a t i o n s :   [ \" C R E A T E \" ]   r e s o u r c e s :   [ \" p o d s \" ]   s c o p e :   \" N a m e s p a c e d \"   c l i e n t C o n f i g :   s e r v i c e :   n a m e s p a c e :   \" e x a m p l e - n a m e s p a c e \"   n a m e :   \" e x a m p l e - s e r v i c e \"   c a B u n d l e :   < C A _ B U N D L E >   a d m i s s i o n R e v i e w V e r s i o n s :   [ \" v 1 \" ]   s i d e E f f e c t s :   N o n e   t i m e o u t S e c o n d s :   5",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23029"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   s c o p e   f i e l d   s p e c i f i e s   i f   o n l y   c l u s t e r - s c o p e d   r e s o u r c e s   ( \" C l u s t e r \" )   o r   n a m e s p a c e - s c o p e d   r e s o u r c e s   ( \" N a m e s p a c e d \" )   w i l l   m a t c h   t h i s   r u l e .   \" ∗ \"   m e a n s   t h a t   t h e r e   a r e   n o   s c o p e   r e s t r i c t i o n s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23030"
  },
  {
    "question": "What is Note:?",
    "answer": "W h e n   a n   A P I   s e r v e r   r e c e i v e s   a   r e q u e s t   t h a t   m a t c h e s   o n e   o f   t h e   r u l e s ,   t h e   A P I   s e r v e r   s e n d s   a n   a d m i s s i o n R e v i e w   r e q u e s t   t o   w e b h o o k   a s   s p e c i f i e d   i n   t h e   c l i e n t C o n f i g .   A f t e r   y o u   c r e a t e   t h e   w e b h o o k   c o n f i g u r a t i o n ,   t h e   s y s t e m   w i l l   t a k e   a   f e w   s e c o n d s   t o   h o n o r   t h e   n e w   c o n f i g u r a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23031"
  },
  {
    "question": "What is Authenticate API servers?",
    "answer": "I f   y o u r   a d m i s s i o n   w e b h o o k s   r e q u i r e   a u t h e n t i c a t i o n ,   y o u   c a n   c o n f i g u r e   t h e   A P I   s e r v e r s   t o   u s e   b a s i c   a u t h ,   b e a r e r   t o k e n ,   o r   a   c e r t   t o   a u t h e n t i c a t e   i t s e l f   t o   t h e   w e b h o o k s .   T h e r e   a r e   t h r e e   s t e p s   t o   c o m p l e t e   t h e   c o n f i g u r a t i o n .   W h e n   s t a r t i n g   t h e   A P I   s e r v e r ,   s p e c i f y   t h e   l o c a t i o n   o f   t h e   a d m i s s i o n   c o n t r o l   c o n f i g u r a t i o n   f i l e   v i a   t h e   - - a d m i s s i o n - c o n t r o l - c o n f i g - f i l e   f l a g . I n   t h e   a d m i s s i o n   c o n t r o l   c o n f i g u r a t i o n   f i l e ,   s p e c i f y   w h e r e   t h e   M u t a t i n g A d m i s s i o n W e b h o o k   c o n t r o l l e r   a n d   V a l i d a t i n g A d m i s s i o n W e b h o o k   c o n t r o l l e r   s h o u l d   r e a d   t h e   c r e d e n t i a l s .   T h e   c r e d e n t i a l s   a r e   s t o r e d   i n   k u b e C o n f i g   f i l e s   ( y e s ,   t h e   s a m e   s c h e m a   t h a t ' s   u s e d   b y   k u b e c t l ) ,   s o   t h e   f i e l d   n a m e   i s   k u b e C o n f i g F i l e .   H e r e   i s   a n   e x a m p l e   a d m i s s i o n   c o n t r o l   c o n f i g u r a t i o n   f i l e :   W h e n   s t a r t i n g   t h e   A P I   s e r v e r ,   s p e c i f y   t h e   l o c a t i o n   o f   t h e   a d m i s s i o n   c o n t r o l   c o n f i g u r a t i o n   f i l e   v i a   t h e   - - a d m i s s i o n - c o n t r o l - c o n f i g - f i l e   f l a g .   I n   t h e   a d m i s s i o n   c o n t r o l   c o n f i g u r a t i o n   f i l e ,   s p e c i f y   w h e r e   t h e   M u t a t i n g A d m i s s i o n W e b h o o k   c o n t r o l l e r   a n d   V a l i d a t i n g A d m i s s i o n W e b h o o k   c o n t r o l l e r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23032"
  },
  {
    "question": "What is Request?",
    "answer": "W e b h o o k s   a r e   s e n t   a s   P O S T   r e q u e s t s ,   w i t h   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n ,   w i t h   a n   A d m i s s i o n R e v i e w   A P I   o b j e c t   i n   t h e   a d m i s s i o n . k 8 s . i o   A P I   g r o u p   s e r i a l i z e d   t o   J S O N   a s   t h e   b o d y .   W e b h o o k s   c a n   s p e c i f y   w h a t   v e r s i o n s   o f   A d m i s s i o n R e v i e w   o b j e c t s   t h e y   a c c e p t   w i t h   t h e   a d m i s s i o n R e v i e w V e r s i o n s   f i e l d   i n   t h e i r   c o n f i g u r a t i o n :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   w e b h o o k s :   -   n a m e :   m y - w e b h o o k . e x a m p l e . c o m   a d m i s s i o n R e v i e w V e r s i o n s :   [ \" v 1 \" ,   \" v 1 b e t a 1 \" ]   a d m i s s i o n R e v i e w V e r s i o n s   i s   a   r e q u i r e d   f i e l d   w h e n   c r e a t i n g   w e b h o o k   c o n f i g u r a t i o n s .   W e b h o o k s   a r e   r e q u i r e d   t o   s u p p o r t   a t   l e a s t   o n e   A d m i s s i o n R e v i e w   v e r s i o n   u n d e r s t o o d   b y   t h e   c u r r e n t   a n d   p r e v i o u s   A P I   s e r v e r .   A P I   s e r v e r s   s e n d   t h e   f i r s t   A d m i s s i o n R e v i e w   v e r s i o n   i n   t h e   a d m i s s i o n R e v i e w V e r s i o n s   l i s t   t h e y   s u p p o r t .   I f   n o n e   o f   t h e   v e r s i o n s   i n   t h e   l i s t   a r e   s u p p o r t e d   b y   t h e   A P I   s e r v e r ,   t h e   c o n f i g u r a t i o n   w i l l   n o t   b e   a l l o w e d   t o   b e   c r e a t e d .   I f   a n   A P I   s e r v e r   e n c o u n t e r s   a   w e b h o o k   c o n f i g u r a t i o n   t h a t   w a s   p r e v i o u s l y   c r e a t e d   a n d   d o e s   n o t   s u p p o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23033"
  },
  {
    "question": "What is Response?",
    "answer": "W e b h o o k s   r e s p o n d   w i t h   a   2 0 0   H T T P   s t a t u s   c o d e ,   C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n ,   a n d   a   b o d y   c o n t a i n i n g   a n   A d m i s s i o n R e v i e w   o b j e c t   ( i n   t h e   s a m e   v e r s i o n   t h e y   w e r e   s e n t ) ,   w i t h   t h e   r e s p o n s e   s t a n z a   p o p u l a t e d ,   s e r i a l i z e d   t o   J S O N .   A t   a   m i n i m u m ,   t h e   r e s p o n s e   s t a n z a   m u s t   c o n t a i n   t h e   f o l l o w i n g   f i e l d s :   u i d ,   c o p i e d   f r o m   t h e   r e q u e s t . u i d   s e n t   t o   t h e   w e b h o o k a l l o w e d ,   e i t h e r   s e t   t o   t r u e   o r   f a l s e   E x a m p l e   o f   a   m i n i m a l   r e s p o n s e   f r o m   a   w e b h o o k   t o   a l l o w   a   r e q u e s t :   {   \" a p i V e r s i o n \" :   \" a d m i s s i o n . k 8 s . i o / v 1 \" ,   \" k i n d \" :   \" A d m i s s i o n R e v i e w \" ,   \" r e s p o n s e \" :   {   \" u i d \" :   \" < v a l u e   f r o m   r e q u e s t . u i d > \" ,   \" a l l o w e d \" :   t r u e   }   }   E x a m p l e   o f   a   m i n i m a l   r e s p o n s e   f r o m   a   w e b h o o k   t o   f o r b i d   a   r e q u e s t :   {   \" a p i V e r s i o n \" :   \" a d m i s s i o n . k 8 s . i o / v 1 \" ,   \" k i n d \" :   \" A d m i s s i o n R e v i e w \" ,   \" r e s p o n s e \" :   {   \" u i d \" :   \" < v a l u e   f r o m   r e q u e s t . u i d > \" ,   \" a l l o w e d \" :   f a l s e   }   }   W h e n   r e j e c t i n g   a   r e q u e s t ,   t h e   w e b h o o k   c a n   c u s t o m i z e   t h e   h t t p   c o d e   a n d   m e s s a g e   r e t u r n e d   t o   t h e   u s e r   u s i n g   t h e   s t a t u s   f i e l d .   T h e   s p e c i f i e d   s t a t u s   o b j e c t   i s   r e t u r n e d   t o   t h e   u s e r .   S e e   t h e   A P I   d o c u m e n t a t i o n   f o r   d e t a i l s   a b o u t   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23034"
  },
  {
    "question": "What is Caution:?",
    "answer": "{   \" a p i V e r s i o n \" :   \" a d m i s s i o n . k 8 s . i o / v 1 \" ,   \" k i n d \" :   \" A d m i s s i o n R e v i e w \" ,   \" r e s p o n s e \" :   {   \" u i d \" :   \" < v a l u e   f r o m   r e q u e s t . u i d > \" ,   \" a l l o w e d \" :   t r u e ,   \" w a r n i n g s \" :   [   \" d u p l i c a t e   e n v v a r   e n t r i e s   s p e c i f i e d   w i t h   n a m e   M Y _ E N V \" ,   \" m e m o r y   r e q u e s t   l e s s   t h a n   4 M B   s p e c i f i e d   f o r   c o n t a i n e r   m y c o n t a i n e r ,   w h i c h   w i l l   n o t   s t a r t   s u c c e s s f u l l y \"   ]   }   }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23035"
  },
  {
    "question": "What is Webhook configuration?",
    "answer": "T o   r e g i s t e r   a d m i s s i o n   w e b h o o k s ,   c r e a t e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   o r   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   A P I   o b j e c t s .   T h e   n a m e   o f   a   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   o r   a   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   o b j e c t   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   n a m e .   E a c h   c o n f i g u r a t i o n   c a n   c o n t a i n   o n e   o r   m o r e   w e b h o o k s .   I f   m u l t i p l e   w e b h o o k s   a r e   s p e c i f i e d   i n   a   s i n g l e   c o n f i g u r a t i o n ,   e a c h   m u s t   b e   g i v e n   a   u n i q u e   n a m e .   T h i s   i s   r e q u i r e d   i n   o r d e r   t o   m a k e   r e s u l t i n g   a u d i t   l o g s   a n d   m e t r i c s   e a s i e r   t o   m a t c h   u p   t o   a c t i v e   c o n f i g u r a t i o n s .   E a c h   w e b h o o k   d e f i n e s   t h e   f o l l o w i n g   t h i n g s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23036"
  },
  {
    "question": "What is Matching requests: rules?",
    "answer": "E a c h   w e b h o o k   m u s t   s p e c i f y   a   l i s t   o f   r u l e s   u s e d   t o   d e t e r m i n e   i f   a   r e q u e s t   t o   t h e   A P I   s e r v e r   s h o u l d   b e   s e n t   t o   t h e   w e b h o o k .   E a c h   r u l e   s p e c i f i e s   o n e   o r   m o r e   o p e r a t i o n s ,   a p i G r o u p s ,   a p i V e r s i o n s ,   a n d   r e s o u r c e s ,   a n d   a   r e s o u r c e   s c o p e :   o p e r a t i o n s   l i s t s   o n e   o r   m o r e   o p e r a t i o n s   t o   m a t c h .   C a n   b e   \" C R E A T E \" ,   \" U P D A T E \" ,   \" D E L E T E \" ,   \" C O N N E C T \" ,   o r   \" * \"   t o   m a t c h   a l l . a p i G r o u p s   l i s t s   o n e   o r   m o r e   A P I   g r o u p s   t o   m a t c h .   \" \"   i s   t h e   c o r e   A P I   g r o u p .   \" * \"   m a t c h e s   a l l   A P I   g r o u p s . a p i V e r s i o n s   l i s t s   o n e   o r   m o r e   A P I   v e r s i o n s   t o   m a t c h .   \" * \"   m a t c h e s   a l l   A P I   v e r s i o n s . r e s o u r c e s   l i s t s   o n e   o r   m o r e   r e s o u r c e s   t o   m a t c h . \" * \"   m a t c h e s   a l l   r e s o u r c e s ,   b u t   n o t   s u b r e s o u r c e s . \" * / * \"   m a t c h e s   a l l   r e s o u r c e s   a n d   s u b r e s o u r c e s . \" p o d s / * \"   m a t c h e s   a l l   s u b r e s o u r c e s   o f   p o d s . \" * / s t a t u s \"   m a t c h e s   a l l   s t a t u s   s u b r e s o u r c e s . s c o p e   s p e c i f i e s   a   s c o p e   t o   m a t c h .   V a l i d   v a l u e s   a r e   \" C l u s t e r \" ,   \" N a m e s p a c e d \" ,   a n d   \" * \" .   S u b r e s o u r c e s   m a t c h   t h e   s c o p e   o f   t h e i r   p a r e n t   r e s o u r c e .   D e f a u l t   i s   \" * \" . \" C l u s t e r \"   m e a n s   t h a t   o n l y   c l u s t e r - s c o p e d   r e s o u r c e s   w i l l   m a t c h   t h i s   r u l e   ( N a m e s p a c e   A P I   o b j e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23037"
  },
  {
    "question": "What is Matching requests: objectSelector?",
    "answer": "W e b h o o k s   m a y   o p t i o n a l l y   l i m i t   w h i c h   r e q u e s t s   a r e   i n t e r c e p t e d   b a s e d   o n   t h e   l a b e l s   o f   t h e   o b j e c t s   t h e y   w o u l d   b e   s e n t ,   b y   s p e c i f y i n g   a n   o b j e c t S e l e c t o r .   I f   s p e c i f i e d ,   t h e   o b j e c t S e l e c t o r   i s   e v a l u a t e d   a g a i n s t   b o t h   t h e   o b j e c t   a n d   o l d O b j e c t   t h a t   w o u l d   b e   s e n t   t o   t h e   w e b h o o k ,   a n d   i s   c o n s i d e r e d   t o   m a t c h   i f   e i t h e r   o b j e c t   m a t c h e s   t h e   s e l e c t o r .   A   n u l l   o b j e c t   ( o l d O b j e c t   i n   t h e   c a s e   o f   c r e a t e ,   o r   n e w O b j e c t   i n   t h e   c a s e   o f   d e l e t e ) ,   o r   a n   o b j e c t   t h a t   c a n n o t   h a v e   l a b e l s   ( l i k e   a   D e p l o y m e n t R o l l b a c k   o r   a   P o d P r o x y O p t i o n s   o b j e c t )   i s   n o t   c o n s i d e r e d   t o   m a t c h .   U s e   t h e   o b j e c t   s e l e c t o r   o n l y   i f   t h e   w e b h o o k   i s   o p t - i n ,   b e c a u s e   e n d   u s e r s   m a y   s k i p   t h e   a d m i s s i o n   w e b h o o k   b y   s e t t i n g   t h e   l a b e l s .   T h i s   e x a m p l e   s h o w s   a   m u t a t i n g   w e b h o o k   t h a t   w o u l d   m a t c h   a   C R E A T E   o f   a n y   r e s o u r c e   ( b u t   n o t   s u b r e s o u r c e s )   w i t h   t h e   l a b e l   f o o :   b a r :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   w e b h o o k s :   -   n a m e :   m y - w e b h o o k . e x a m p l e . c o m   o b j e c t S e l e c t o r :   m a t c h L a b e l s :   f o o :   b a r   r u l e s :   -   o p e r a t i o n s :   [ \" C R E A T E \" ]   a p i G r o u p s :   [ \" * \" ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23038"
  },
  {
    "question": "What is Matching requests: namespaceSelector?",
    "answer": "W e b h o o k s   m a y   o p t i o n a l l y   l i m i t   w h i c h   r e q u e s t s   f o r   n a m e s p a c e d   r e s o u r c e s   a r e   i n t e r c e p t e d ,   b a s e d   o n   t h e   l a b e l s   o f   t h e   c o n t a i n i n g   n a m e s p a c e ,   b y   s p e c i f y i n g   a   n a m e s p a c e S e l e c t o r .   T h e   n a m e s p a c e S e l e c t o r   d e c i d e s   w h e t h e r   t o   r u n   t h e   w e b h o o k   o n   a   r e q u e s t   f o r   a   n a m e s p a c e d   r e s o u r c e   ( o r   a   N a m e s p a c e   o b j e c t ) ,   b a s e d   o n   w h e t h e r   t h e   n a m e s p a c e ' s   l a b e l s   m a t c h   t h e   s e l e c t o r .   I f   t h e   o b j e c t   i t s e l f   i s   a   n a m e s p a c e ,   t h e   m a t c h i n g   i s   p e r f o r m e d   o n   o b j e c t . m e t a d a t a . l a b e l s .   I f   t h e   o b j e c t   i s   a   c l u s t e r   s c o p e d   r e s o u r c e   o t h e r   t h a n   a   N a m e s p a c e ,   n a m e s p a c e S e l e c t o r   h a s   n o   e f f e c t .   T h i s   e x a m p l e   s h o w s   a   m u t a t i n g   w e b h o o k   t h a t   m a t c h e s   a   C R E A T E   o f   a n y   n a m e s p a c e d   r e s o u r c e   i n s i d e   a   n a m e s p a c e   t h a t   d o e s   n o t   h a v e   a   \" r u n l e v e l \"   l a b e l   o f   \" 0 \"   o r   \" 1 \" :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   w e b h o o k s :   -   n a m e :   m y - w e b h o o k . e x a m p l e . c o m   n a m e s p a c e S e l e c t o r :   m a t c h E x p r e s s i o n s :   -   k e y :   r u n l e v e l   o p e r a t o r :   N o t I n   v a l u e s :   [ \" 0 \" , \" 1 \" ]   r u l e s :   -   o p e r a t i o n s :   [ \" C R E A T E \" ]   a p i G r o u p s :   [ \" * \" ]   a p i V e r s i o n s :   [ \" * \" ]   r e s o u r c e s :   [ \" * \" ]   s c o p e :   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23039"
  },
  {
    "question": "What is Matching requests: matchPolicy?",
    "answer": "A P I   s e r v e r s   c a n   m a k e   o b j e c t s   a v a i l a b l e   v i a   m u l t i p l e   A P I   g r o u p s   o r   v e r s i o n s .   F o r   e x a m p l e ,   i f   a   w e b h o o k   o n l y   s p e c i f i e d   a   r u l e   f o r   s o m e   A P I   g r o u p s / v e r s i o n s   ( l i k e   a p i G r o u p s : [ \" a p p s \" ] ,   a p i V e r s i o n s : [ \" v 1 \" , \" v 1 b e t a 1 \" ] ) ,   a n d   a   r e q u e s t   w a s   m a d e   t o   m o d i f y   t h e   r e s o u r c e   v i a   a n o t h e r   A P I   g r o u p / v e r s i o n   ( l i k e   e x t e n s i o n s / v 1 b e t a 1 ) ,   t h e   r e q u e s t   w o u l d   n o t   b e   s e n t   t o   t h e   w e b h o o k .   T h e   m a t c h P o l i c y   l e t s   a   w e b h o o k   d e f i n e   h o w   i t s   r u l e s   a r e   u s e d   t o   m a t c h   i n c o m i n g   r e q u e s t s .   A l l o w e d   v a l u e s   a r e   E x a c t   o r   E q u i v a l e n t .   E x a c t   m e a n s   a   r e q u e s t   s h o u l d   b e   i n t e r c e p t e d   o n l y   i f   i t   e x a c t l y   m a t c h e s   a   s p e c i f i e d   r u l e . E q u i v a l e n t   m e a n s   a   r e q u e s t   s h o u l d   b e   i n t e r c e p t e d   i f   i t   m o d i f i e s   a   r e s o u r c e   l i s t e d   i n   r u l e s ,   e v e n   v i a   a n o t h e r   A P I   g r o u p   o r   v e r s i o n .   I n   t h e   e x a m p l e   g i v e n   a b o v e ,   t h e   w e b h o o k   t h a t   o n l y   r e g i s t e r e d   f o r   a p p s / v 1   c o u l d   u s e   m a t c h P o l i c y :   m a t c h P o l i c y :   E x a c t   w o u l d   m e a n   t h e   e x t e n s i o n s / v 1 b e t a 1   r e q u e s t   w o u l d   n o t   b e   s e n t   t o   t h e   w e b h o o k m a t c h P o l i c y :   E q u i v a l e n t   m e a n s   t h e   e x t e n s i o n s / v 1 b e t a 1   r e q u e s t   w o u l d   b e   s e n t   t o   t h e   w e b h o o k   ( w i t h   t h e   o b j e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23040"
  },
  {
    "question": "What is Matching requests: matchConditions?",
    "answer": "Y o u   c a n   d e f i n e   m a t c h   c o n d i t i o n s   f o r   w e b h o o k s   i f   y o u   n e e d   f i n e - g r a i n e d   r e q u e s t   f i l t e r i n g .   T h e s e   c o n d i t i o n s   a r e   u s e f u l   i f   y o u   f i n d   t h a t   m a t c h   r u l e s ,   o b j e c t S e l e c t o r s   a n d   n a m e s p a c e S e l e c t o r s   s t i l l   d o e s n ' t   p r o v i d e   t h e   f i l t e r i n g   y o u   w a n t   o v e r   w h e n   t o   c a l l   o u t   o v e r   H T T P .   M a t c h   c o n d i t i o n s   a r e   C E L   e x p r e s s i o n s .   A l l   m a t c h   c o n d i t i o n s   m u s t   e v a l u a t e   t o   t r u e   f o r   t h e   w e b h o o k   t o   b e   c a l l e d .   H e r e   i s   a n   e x a m p l e   i l l u s t r a t i n g   a   f e w   d i f f e r e n t   u s e s   f o r   m a t c h   c o n d i t i o n s :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   w e b h o o k s :   -   n a m e :   m y - w e b h o o k . e x a m p l e . c o m   m a t c h P o l i c y :   E q u i v a l e n t   r u l e s :   -   o p e r a t i o n s :   [ ' C R E A T E ' , ' U P D A T E ' ]   a p i G r o u p s :   [ ' * ' ]   a p i V e r s i o n s :   [ ' * ' ]   r e s o u r c e s :   [ ' * ' ]   f a i l u r e P o l i c y :   ' I g n o r e '   #   F a i l - o p e n   ( o p t i o n a l )   s i d e E f f e c t s :   N o n e   c l i e n t C o n f i g :   s e r v i c e :   n a m e s p a c e :   m y - n a m e s p a c e   n a m e :   m y - w e b h o o k   c a B u n d l e :   ' < o m i t t e d > '   #   Y o u   c a n   h a v e   u p   t o   6 4   m a t c h C o n d i t i o n s   p e r   w e b h o o k   m a t c h C o n d i t i o n s :   -   n a m e :   ' e x c l u d e - l e a s e s '   #   E a c h   m a t c h   c o n d i t i o n   m u s t   h a v e   a   u n i q u e   n a m e   e x p r e s s i o n :   ' ! ( r e q ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23041"
  },
  {
    "question": "What is Note:?",
    "answer": "M a t c h   c o n d i t i o n s   h a v e   a c c e s s   t o   t h e   f o l l o w i n g   C E L   v a r i a b l e s :   o b j e c t   -   T h e   o b j e c t   f r o m   t h e   i n c o m i n g   r e q u e s t .   T h e   v a l u e   i s   n u l l   f o r   D E L E T E   r e q u e s t s .   T h e   o b j e c t   v e r s i o n   m a y   b e   c o n v e r t e d   b a s e d   o n   t h e   m a t c h P o l i c y . o l d O b j e c t   -   T h e   e x i s t i n g   o b j e c t .   T h e   v a l u e   i s   n u l l   f o r   C R E A T E   r e q u e s t s . r e q u e s t   -   T h e   r e q u e s t   p o r t i o n   o f   t h e   A d m i s s i o n R e v i e w ,   e x c l u d i n g   o b j e c t   a n d   o l d O b j e c t . a u t h o r i z e r   -   A   C E L   A u t h o r i z e r .   M a y   b e   u s e d   t o   p e r f o r m   a u t h o r i z a t i o n   c h e c k s   f o r   t h e   p r i n c i p a l   ( a u t h e n t i c a t e d   u s e r )   o f   t h e   r e q u e s t .   S e e   A u t h z   i n   t h e   K u b e r n e t e s   C E L   l i b r a r y   d o c u m e n t a t i o n   f o r   m o r e   d e t a i l s . a u t h o r i z e r . r e q u e s t R e s o u r c e   -   A   s h o r t c u t   f o r   a n   a u t h o r i z a t i o n   c h e c k   c o n f i g u r e d   w i t h   t h e   r e q u e s t   r e s o u r c e   ( g r o u p ,   r e s o u r c e ,   ( s u b r e s o u r c e ) ,   n a m e s p a c e ,   n a m e ) .   F o r   m o r e   i n f o r m a t i o n   o n   C E L   e x p r e s s i o n s ,   r e f e r   t o   t h e   C o m m o n   E x p r e s s i o n   L a n g u a g e   i n   K u b e r n e t e s   r e f e r e n c e .   I n   t h e   e v e n t   o f   a n   e r r o r   e v a l u a t i n g   a   m a t c h   c o n d i t i o n   t h e   w e b h o o k   i s   n e v e r   c a l l e d .   W h e t h e r   t o   r e j e c t   t h e   r e q u e s t   i s   d e t e r m i n e d   a s   f o l l o w s :   I f   a n y   m a t c h   c o n d i t i o n   e v a l u a t e d   t o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23042"
  },
  {
    "question": "What is Contacting the webhook?",
    "answer": "O n c e   t h e   A P I   s e r v e r   h a s   d e t e r m i n e d   a   r e q u e s t   s h o u l d   b e   s e n t   t o   a   w e b h o o k ,   i t   n e e d s   t o   k n o w   h o w   t o   c o n t a c t   t h e   w e b h o o k .   T h i s   i s   s p e c i f i e d   i n   t h e   c l i e n t C o n f i g   s t a n z a   o f   t h e   w e b h o o k   c o n f i g u r a t i o n .   W e b h o o k s   c a n   e i t h e r   b e   c a l l e d   v i a   a   U R L   o r   a   s e r v i c e   r e f e r e n c e ,   a n d   c a n   o p t i o n a l l y   i n c l u d e   a   c u s t o m   C A   b u n d l e   t o   u s e   t o   v e r i f y   t h e   T L S   c o n n e c t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23043"
  },
  {
    "question": "What is URL?",
    "answer": "u r l   g i v e s   t h e   l o c a t i o n   o f   t h e   w e b h o o k ,   i n   s t a n d a r d   U R L   f o r m   ( s c h e m e : / / h o s t : p o r t / p a t h ) .   T h e   h o s t   s h o u l d   n o t   r e f e r   t o   a   s e r v i c e   r u n n i n g   i n   t h e   c l u s t e r ;   u s e   a   s e r v i c e   r e f e r e n c e   b y   s p e c i f y i n g   t h e   s e r v i c e   f i e l d   i n s t e a d .   T h e   h o s t   m i g h t   b e   r e s o l v e d   v i a   e x t e r n a l   D N S   i n   s o m e   A P I   s e r v e r s   ( e . g . ,   k u b e - a p i s e r v e r   c a n n o t   r e s o l v e   i n - c l u s t e r   D N S   a s   t h a t   w o u l d   b e   a   l a y e r i n g   v i o l a t i o n ) .   h o s t   m a y   a l s o   b e   a n   I P   a d d r e s s .   P l e a s e   n o t e   t h a t   u s i n g   l o c a l h o s t   o r   1 2 7 . 0 . 0 . 1   a s   a   h o s t   i s   r i s k y   u n l e s s   y o u   t a k e   g r e a t   c a r e   t o   r u n   t h i s   w e b h o o k   o n   a l l   h o s t s   w h i c h   r u n   a n   A P I   s e r v e r   w h i c h   m i g h t   n e e d   t o   m a k e   c a l l s   t o   t h i s   w e b h o o k .   S u c h   i n s t a l l a t i o n s   a r e   l i k e l y   t o   b e   n o n - p o r t a b l e   o r   n o t   r e a d i l y   r u n   i n   a   n e w   c l u s t e r .   T h e   s c h e m e   m u s t   b e   \" h t t p s \" ;   t h e   U R L   m u s t   b e g i n   w i t h   \" h t t p s : / / \" .   A t t e m p t i n g   t o   u s e   a   u s e r   o r   b a s i c   a u t h   ( f o r   e x a m p l e   u s e r : p a s s w o r d @ )   i s   n o t   a l l o w e d .   F r a g m e n t s   ( # . . . )   a n d   q u e r y   p a r a m e t e r s   ( ? . . . )   a r e   a l s o   n o t   a l l o w e d .   H e r e   i s   a n   e x a m p l e   o f   a   m u t a t i n g   w e b h o o k   c o n f i g u r e d   t o   c a l l   a   U R L   ( a n d   e x p e c t s   t h e   T L S   c e r t i f i c a t e   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23044"
  },
  {
    "question": "What is Service reference?",
    "answer": "T h e   s e r v i c e   s t a n z a   i n s i d e   c l i e n t C o n f i g   i s   a   r e f e r e n c e   t o   t h e   s e r v i c e   f o r   t h i s   w e b h o o k .   I f   t h e   w e b h o o k   i s   r u n n i n g   w i t h i n   t h e   c l u s t e r ,   t h e n   y o u   s h o u l d   u s e   s e r v i c e   i n s t e a d   o f   u r l .   T h e   s e r v i c e   n a m e s p a c e   a n d   n a m e   a r e   r e q u i r e d .   T h e   p o r t   i s   o p t i o n a l   a n d   d e f a u l t s   t o   4 4 3 .   T h e   p a t h   i s   o p t i o n a l   a n d   d e f a u l t s   t o   \" / \" .   H e r e   i s   a n   e x a m p l e   o f   a   m u t a t i n g   w e b h o o k   c o n f i g u r e d   t o   c a l l   a   s e r v i c e   o n   p o r t   \" 1 2 3 4 \"   a t   t h e   s u b p a t h   \" / m y - p a t h \" ,   a n d   t o   v e r i f y   t h e   T L S   c o n n e c t i o n   a g a i n s t   t h e   S e r v e r N a m e   m y - s e r v i c e - n a m e . m y - s e r v i c e - n a m e s p a c e . s v c   u s i n g   a   c u s t o m   C A   b u n d l e :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   w e b h o o k s :   -   n a m e :   m y - w e b h o o k . e x a m p l e . c o m   c l i e n t C o n f i g :   c a B u n d l e :   < C A _ B U N D L E >   s e r v i c e :   n a m e s p a c e :   m y - s e r v i c e - n a m e s p a c e   n a m e :   m y - s e r v i c e - n a m e   p a t h :   / m y - p a t h   p o r t :   1 2 3 4",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23045"
  },
  {
    "question": "What is Side effects?",
    "answer": "W e b h o o k s   t y p i c a l l y   o p e r a t e   o n l y   o n   t h e   c o n t e n t   o f   t h e   A d m i s s i o n R e v i e w   s e n t   t o   t h e m .   S o m e   w e b h o o k s ,   h o w e v e r ,   m a k e   o u t - o f - b a n d   c h a n g e s   a s   p a r t   o f   p r o c e s s i n g   a d m i s s i o n   r e q u e s t s .   W e b h o o k s   t h a t   m a k e   o u t - o f - b a n d   c h a n g e s   ( \" s i d e   e f f e c t s \" )   m u s t   a l s o   h a v e   a   r e c o n c i l i a t i o n   m e c h a n i s m   ( l i k e   a   c o n t r o l l e r )   t h a t   p e r i o d i c a l l y   d e t e r m i n e s   t h e   a c t u a l   s t a t e   o f   t h e   w o r l d ,   a n d   a d j u s t s   t h e   o u t - o f - b a n d   d a t a   m o d i f i e d   b y   t h e   a d m i s s i o n   w e b h o o k   t o   r e f l e c t   r e a l i t y .   T h i s   i s   b e c a u s e   a   c a l l   t o   a n   a d m i s s i o n   w e b h o o k   d o e s   n o t   g u a r a n t e e   t h e   a d m i t t e d   o b j e c t   w i l l   b e   p e r s i s t e d   a s   i s ,   o r   a t   a l l .   L a t e r   w e b h o o k s   c a n   m o d i f y   t h e   c o n t e n t   o f   t h e   o b j e c t ,   a   c o n f l i c t   c o u l d   b e   e n c o u n t e r e d   w h i l e   w r i t i n g   t o   s t o r a g e ,   o r   t h e   s e r v e r   c o u l d   p o w e r   o f f   b e f o r e   p e r s i s t i n g   t h e   o b j e c t .   A d d i t i o n a l l y ,   w e b h o o k s   w i t h   s i d e   e f f e c t s   m u s t   s k i p   t h o s e   s i d e - e f f e c t s   w h e n   d r y R u n :   t r u e   a d m i s s i o n   r e q u e s t s   a r e   h a n d l e d .   A   w e b h o o k   m u s t   e x p l i c i t l y   i n d i c a t e   t h a t   i t   w i l l   n o t   h a v e   s i d e - e f f e c t s   w h e n   r u n   w i t h   d r y R u n ,   o r   t h e   d r y - r u n   r e q u e s t   w i l l   n o t   b e   s e n t   t o   t h e   w e b h o o k   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23046"
  },
  {
    "question": "What is Timeouts?",
    "answer": "B e c a u s e   w e b h o o k s   a d d   t o   A P I   r e q u e s t   l a t e n c y ,   t h e y   s h o u l d   e v a l u a t e   a s   q u i c k l y   a s   p o s s i b l e .   t i m e o u t S e c o n d s   a l l o w s   c o n f i g u r i n g   h o w   l o n g   t h e   A P I   s e r v e r   s h o u l d   w a i t   f o r   a   w e b h o o k   t o   r e s p o n d   b e f o r e   t r e a t i n g   t h e   c a l l   a s   a   f a i l u r e .   I f   t h e   t i m e o u t   e x p i r e s   b e f o r e   t h e   w e b h o o k   r e s p o n d s ,   t h e   w e b h o o k   c a l l   w i l l   b e   i g n o r e d   o r   t h e   A P I   c a l l   w i l l   b e   r e j e c t e d   b a s e d   o n   t h e   f a i l u r e   p o l i c y .   T h e   t i m e o u t   v a l u e   m u s t   b e   b e t w e e n   1   a n d   3 0   s e c o n d s .   H e r e   i s   a n   e x a m p l e   o f   a   v a l i d a t i n g   w e b h o o k   w i t h   a   c u s t o m   t i m e o u t   o f   2   s e c o n d s :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   w e b h o o k s :   -   n a m e :   m y - w e b h o o k . e x a m p l e . c o m   t i m e o u t S e c o n d s :   2   T h e   t i m e o u t   f o r   a n   a d m i s s i o n   w e b h o o k   d e f a u l t s   t o   1 0   s e c o n d s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23047"
  },
  {
    "question": "What is Reinvocation policy?",
    "answer": "A   s i n g l e   o r d e r i n g   o f   m u t a t i n g   a d m i s s i o n s   p l u g i n s   ( i n c l u d i n g   w e b h o o k s )   d o e s   n o t   w o r k   f o r   a l l   c a s e s   ( s e e   h t t p s : / / i s s u e . k 8 s . i o / 6 4 3 3 3   a s   a n   e x a m p l e ) .   A   m u t a t i n g   w e b h o o k   c a n   a d d   a   n e w   s u b - s t r u c t u r e   t o   t h e   o b j e c t   ( l i k e   a d d i n g   a   c o n t a i n e r   t o   a   p o d ) ,   a n d   o t h e r   m u t a t i n g   p l u g i n s   w h i c h   h a v e   a l r e a d y   r u n   m a y   h a v e   o p i n i o n s   o n   t h o s e   n e w   s t r u c t u r e s   ( l i k e   s e t t i n g   a n   i m a g e P u l l P o l i c y   o n   a l l   c o n t a i n e r s ) .   T o   a l l o w   m u t a t i n g   a d m i s s i o n   p l u g i n s   t o   o b s e r v e   c h a n g e s   m a d e   b y   o t h e r   p l u g i n s ,   b u i l t - i n   m u t a t i n g   a d m i s s i o n   p l u g i n s   a r e   r e - r u n   i f   a   m u t a t i n g   w e b h o o k   m o d i f i e s   a n   o b j e c t ,   a n d   m u t a t i n g   w e b h o o k s   c a n   s p e c i f y   a   r e i n v o c a t i o n P o l i c y   t o   c o n t r o l   w h e t h e r   t h e y   a r e   r e i n v o k e d   a s   w e l l .   r e i n v o c a t i o n P o l i c y   m a y   b e   s e t   t o   N e v e r   o r   I f N e e d e d .   I t   d e f a u l t s   t o   N e v e r .   N e v e r :   t h e   w e b h o o k   m u s t   n o t   b e   c a l l e d   m o r e   t h a n   o n c e   i n   a   s i n g l e   a d m i s s i o n   e v a l u a t i o n . I f N e e d e d :   t h e   w e b h o o k   m a y   b e   c a l l e d   a g a i n   a s   p a r t   o f   t h e   a d m i s s i o n   e v a l u a t i o n   i f   t h e   o b j e c t   b e i n g   a d m i t t e d   i s   m o d i f i e d   b y   o t h e r   a d m i s s i o n   p l u g i n s   a f t e r   t h e   i n i t i a l   w e b h o o k   c a l l .   T h e   i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23048"
  },
  {
    "question": "What is Failure policy?",
    "answer": "f a i l u r e P o l i c y   d e f i n e s   h o w   u n r e c o g n i z e d   e r r o r s   a n d   t i m e o u t   e r r o r s   f r o m   t h e   a d m i s s i o n   w e b h o o k   a r e   h a n d l e d .   A l l o w e d   v a l u e s   a r e   I g n o r e   o r   F a i l .   I g n o r e   m e a n s   t h a t   a n   e r r o r   c a l l i n g   t h e   w e b h o o k   i s   i g n o r e d   a n d   t h e   A P I   r e q u e s t   i s   a l l o w e d   t o   c o n t i n u e . F a i l   m e a n s   t h a t   a n   e r r o r   c a l l i n g   t h e   w e b h o o k   c a u s e s   t h e   a d m i s s i o n   t o   f a i l   a n d   t h e   A P I   r e q u e s t   t o   b e   r e j e c t e d .   H e r e   i s   a   m u t a t i n g   w e b h o o k   c o n f i g u r e d   t o   r e j e c t   a n   A P I   r e q u e s t   i f   e r r o r s   a r e   e n c o u n t e r e d   c a l l i n g   t h e   a d m i s s i o n   w e b h o o k :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   w e b h o o k s :   -   n a m e :   m y - w e b h o o k . e x a m p l e . c o m   f a i l u r e P o l i c y :   F a i l   T h e   d e f a u l t   f a i l u r e P o l i c y   f o r   a n   a d m i s s i o n   w e b h o o k s   i s   F a i l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23049"
  },
  {
    "question": "What is Monitoring admission webhooks?",
    "answer": "T h e   A P I   s e r v e r   p r o v i d e s   w a y s   t o   m o n i t o r   a d m i s s i o n   w e b h o o k   b e h a v i o r s .   T h e s e   m o n i t o r i n g   m e c h a n i s m s   h e l p   c l u s t e r   a d m i n s   t o   a n s w e r   q u e s t i o n s   l i k e :   W h i c h   m u t a t i n g   w e b h o o k   m u t a t e d   t h e   o b j e c t   i n   a   A P I   r e q u e s t ? W h a t   c h a n g e   d i d   t h e   m u t a t i n g   w e b h o o k   a p p l i e d   t o   t h e   o b j e c t ? W h i c h   w e b h o o k s   a r e   f r e q u e n t l y   r e j e c t i n g   A P I   r e q u e s t s ?   W h a t ' s   t h e   r e a s o n   f o r   a   r e j e c t i o n ?   W h i c h   m u t a t i n g   w e b h o o k   m u t a t e d   t h e   o b j e c t   i n   a   A P I   r e q u e s t ?   W h a t   c h a n g e   d i d   t h e   m u t a t i n g   w e b h o o k   a p p l i e d   t o   t h e   o b j e c t ?   W h i c h   w e b h o o k s   a r e   f r e q u e n t l y   r e j e c t i n g   A P I   r e q u e s t s ?   W h a t ' s   t h e   r e a s o n   f o r   a   r e j e c t i o n ?",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23050"
  },
  {
    "question": "What is Mutating webhook auditing annotations?",
    "answer": "S o m e t i m e s   i t ' s   u s e f u l   t o   k n o w   w h i c h   m u t a t i n g   w e b h o o k   m u t a t e d   t h e   o b j e c t   i n   a   A P I   r e q u e s t ,   a n d   w h a t   c h a n g e   d i d   t h e   w e b h o o k   a p p l y .   T h e   K u b e r n e t e s   A P I   s e r v e r   p e r f o r m s   a u d i t i n g   o n   e a c h   m u t a t i n g   w e b h o o k   i n v o c a t i o n .   E a c h   i n v o c a t i o n   g e n e r a t e s   a n   a u d i t i n g   a n n o t a t i o n   c a p t u r i n g   i f   a   r e q u e s t   o b j e c t   i s   m u t a t e d   b y   t h e   i n v o c a t i o n ,   a n d   o p t i o n a l l y   g e n e r a t e s   a n   a n n o t a t i o n   c a p t u r i n g   t h e   a p p l i e d   p a t c h   f r o m   t h e   w e b h o o k   a d m i s s i o n   r e s p o n s e .   T h e   a n n o t a t i o n s   a r e   s e t   i n   t h e   a u d i t   e v e n t   f o r   g i v e n   r e q u e s t   o n   g i v e n   s t a g e   o f   i t s   e x e c u t i o n ,   w h i c h   i s   t h e n   p r e - p r o c e s s e d   a c c o r d i n g   t o   a   c e r t a i n   p o l i c y   a n d   w r i t t e n   t o   a   b a c k e n d .   T h e   a u d i t   l e v e l   o f   a   e v e n t   d e t e r m i n e s   w h i c h   a n n o t a t i o n s   g e t   r e c o r d e d :   A t   M e t a d a t a   a u d i t   l e v e l   o r   h i g h e r ,   a n   a n n o t a t i o n   w i t h   k e y   m u t a t i o n . w e b h o o k . a d m i s s i o n . k 8 s . i o / r o u n d _ { r o u n d   i d x } _ i n d e x _ { o r d e r   i d x }   g e t s   l o g g e d   w i t h   J S O N   p a y l o a d   i n d i c a t i n g   a   w e b h o o k   g e t s   i n v o k e d   f o r   g i v e n   r e q u e s t   a n d   w h e t h e r   i t   m u t a t e d   t h e   o b j e c t   o r   n o t . F o r   e x a m p l e ,   t h e   f o l l o w i n g   a n n o t a t i o n   g e t s   r e c o r d e d   f o r   a   w e b h o o k   b e i n g   r e i n v o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23051"
  },
  {
    "question": "What is Admission webhook metrics?",
    "answer": "T h e   A P I   s e r v e r   e x p o s e s   P r o m e t h e u s   m e t r i c s   f r o m   t h e   / m e t r i c s   e n d p o i n t ,   w h i c h   c a n   b e   u s e d   f o r   m o n i t o r i n g   a n d   d i a g n o s i n g   A P I   s e r v e r   s t a t u s .   T h e   f o l l o w i n g   m e t r i c s   r e c o r d   s t a t u s   r e l a t e d   t o   a d m i s s i o n   w e b h o o k s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23052"
  },
  {
    "question": "What is API server admission webhook rejection count?",
    "answer": "S o m e t i m e s   i t ' s   u s e f u l   t o   k n o w   w h i c h   a d m i s s i o n   w e b h o o k s   a r e   f r e q u e n t l y   r e j e c t i n g   A P I   r e q u e s t s ,   a n d   t h e   r e a s o n   f o r   a   r e j e c t i o n .   T h e   A P I   s e r v e r   e x p o s e s   a   P r o m e t h e u s   c o u n t e r   m e t r i c   r e c o r d i n g   a d m i s s i o n   w e b h o o k   r e j e c t i o n s .   T h e   m e t r i c s   a r e   l a b e l l e d   t o   i d e n t i f y   t h e   c a u s e s   o f   w e b h o o k   r e j e c t i o n ( s ) :   n a m e :   t h e   n a m e   o f   t h e   w e b h o o k   t h a t   r e j e c t e d   a   r e q u e s t . o p e r a t i o n :   t h e   o p e r a t i o n   t y p e   o f   t h e   r e q u e s t ,   c a n   b e   o n e   o f   C R E A T E ,   U P D A T E ,   D E L E T E   a n d   C O N N E C T . t y p e :   t h e   a d m i s s i o n   w e b h o o k   t y p e ,   c a n   b e   o n e   o f   a d m i t   a n d   v a l i d a t i n g . e r r o r _ t y p e :   i d e n t i f i e s   i f   a n   e r r o r   o c c u r r e d   d u r i n g   t h e   w e b h o o k   i n v o c a t i o n   t h a t   c a u s e d   t h e   r e j e c t i o n .   I t s   v a l u e   c a n   b e   o n e   o f : c a l l i n g _ w e b h o o k _ e r r o r :   u n r e c o g n i z e d   e r r o r s   o r   t i m e o u t   e r r o r s   f r o m   t h e   a d m i s s i o n   w e b h o o k   h a p p e n e d   a n d   t h e   w e b h o o k ' s   F a i l u r e   p o l i c y   i s   s e t   t o   F a i l . n o _ e r r o r :   n o   e r r o r   o c c u r r e d .   T h e   w e b h o o k   r e j e c t e d   t h e   r e q u e s t   w i t h   a l l o w e d :   f a l s e   i n   t h e   a d m i s s i o n   r e s p o n s e .   T h e   m e t r i c s   l a b e l   r e j e c t i o n _ c o d e   r e c o r d s   t h e   . s t a t u s . c o d e   s e t   i n   t h e   a d m i s s i o n   r e s p o n s e . a p i s e r v e r _ i n t e r n a l _ e r r o r : ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23053"
  },
  {
    "question": "What is Best practices and warnings?",
    "answer": "F o r   r e c o m m e n d a t i o n s   a n d   c o n s i d e r a t i o n s   w h e n   w r i t i n g   m u t a t i n g   a d m i s s i o n   w e b h o o k s ,   s e e   A d m i s s i o n   W e b h o o k s   G o o d   P r a c t i c e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23054"
  },
  {
    "question": "What is 3.10 - Managing Service Accounts?",
    "answer": "A   S e r v i c e A c c o u n t   p r o v i d e s   a n   i d e n t i t y   f o r   p r o c e s s e s   t h a t   r u n   i n   a   P o d .   A   p r o c e s s   i n s i d e   a   P o d   c a n   u s e   t h e   i d e n t i t y   o f   i t s   a s s o c i a t e d   s e r v i c e   a c c o u n t   t o   a u t h e n t i c a t e   t o   t h e   c l u s t e r ' s   A P I   s e r v e r .   F o r   a n   i n t r o d u c t i o n   t o   s e r v i c e   a c c o u n t s ,   r e a d   c o n f i g u r e   s e r v i c e   a c c o u n t s .   T h i s   t a s k   g u i d e   e x p l a i n s   s o m e   o f   t h e   c o n c e p t s   b e h i n d   S e r v i c e A c c o u n t s .   T h e   g u i d e   a l s o   e x p l a i n s   h o w   t o   o b t a i n   o r   r e v o k e   t o k e n s   t h a t   r e p r e s e n t   S e r v i c e A c c o u n t s ,   a n d   h o w   t o   ( o p t i o n a l l y )   b i n d   a   S e r v i c e A c c o u n t ' s   v a l i d i t y   t o   t h e   l i f e t i m e   o f   a n   A P I   o b j e c t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23055"
  },
  {
    "question": "What is Before you begin?",
    "answer": "Y o u   n e e d   t o   h a v e   a   K u b e r n e t e s   c l u s t e r ,   a n d   t h e   k u b e c t l   c o m m a n d - l i n e   t o o l   m u s t   b e   c o n f i g u r e d   t o   c o m m u n i c a t e   w i t h   y o u r   c l u s t e r .   I t   i s   r e c o m m e n d e d   t o   r u n   t h i s   t u t o r i a l   o n   a   c l u s t e r   w i t h   a t   l e a s t   t w o   n o d e s   t h a t   a r e   n o t   a c t i n g   a s   c o n t r o l   p l a n e   h o s t s .   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   c l u s t e r ,   y o u   c a n   c r e a t e   o n e   b y   u s i n g   m i n i k u b e   o r   y o u   c a n   u s e   o n e   o f   t h e s e   K u b e r n e t e s   p l a y g r o u n d s :   i x i m i u z   L a b s K i l l e r c o d a K o d e K l o u d P l a y   w i t h   K u b e r n e t e s   T o   b e   a b l e   t o   f o l l o w   t h e s e   s t e p s   e x a c t l y ,   e n s u r e   y o u   h a v e   a   n a m e s p a c e   n a m e d   e x a m p l e n s .   I f   y o u   d o n ' t ,   c r e a t e   o n e   b y   r u n n i n g :   k u b e c t l   c r e a t e   n a m e s p a c e   e x a m p l e n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23056"
  },
  {
    "question": "What is User accounts versus service accounts?",
    "answer": "K u b e r n e t e s   d i s t i n g u i s h e s   b e t w e e n   t h e   c o n c e p t   o f   a   u s e r   a c c o u n t   a n d   a   s e r v i c e   a c c o u n t   f o r   a   n u m b e r   o f   r e a s o n s :   U s e r   a c c o u n t s   a r e   f o r   h u m a n s .   S e r v i c e   a c c o u n t s   a r e   f o r   a p p l i c a t i o n   p r o c e s s e s ,   w h i c h   ( f o r   K u b e r n e t e s )   r u n   i n   c o n t a i n e r s   t h a t   a r e   p a r t   o f   p o d s . U s e r   a c c o u n t s   a r e   i n t e n d e d   t o   b e   g l o b a l :   n a m e s   m u s t   b e   u n i q u e   a c r o s s   a l l   n a m e s p a c e s   o f   a   c l u s t e r .   N o   m a t t e r   w h a t   n a m e s p a c e   y o u   l o o k   a t ,   a   p a r t i c u l a r   u s e r n a m e   t h a t   r e p r e s e n t s   a   u s e r   r e p r e s e n t s   t h e   s a m e   u s e r .   I n   K u b e r n e t e s ,   s e r v i c e   a c c o u n t s   a r e   n a m e s p a c e d :   t w o   d i f f e r e n t   n a m e s p a c e s   c a n   c o n t a i n   S e r v i c e A c c o u n t s   t h a t   h a v e   i d e n t i c a l   n a m e s . T y p i c a l l y ,   a   c l u s t e r ' s   u s e r   a c c o u n t s   m i g h t   b e   s y n c h r o n i s e d   f r o m   a   c o r p o r a t e   d a t a b a s e ,   w h e r e   n e w   u s e r   a c c o u n t   c r e a t i o n   r e q u i r e s   s p e c i a l   p r i v i l e g e s   a n d   i s   t i e d   t o   c o m p l e x   b u s i n e s s   p r o c e s s e s .   B y   c o n t r a s t ,   s e r v i c e   a c c o u n t   c r e a t i o n   i s   i n t e n d e d   t o   b e   m o r e   l i g h t w e i g h t ,   a l l o w i n g   c l u s t e r   u s e r s   t o   c r e a t e   s e r v i c e   a c c o u n t s   f o r   s p e c i f i c   t a s k s   o n   d e m a n d .   S e p a r a t i n g   S e r v i c e A c c o u n t   c r e a t i o n   f r o m   t h e   s t e p s   t o   o n b o a r d   h u m a n   u s e r s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23057"
  },
  {
    "question": "What is Bound service account tokens?",
    "answer": "S e r v i c e A c c o u n t   t o k e n s   c a n   b e   b o u n d   t o   A P I   o b j e c t s   t h a t   e x i s t   i n   t h e   k u b e - a p i s e r v e r .   T h i s   c a n   b e   u s e d   t o   t i e   t h e   v a l i d i t y   o f   a   t o k e n   t o   t h e   e x i s t e n c e   o f   a n o t h e r   A P I   o b j e c t .   S u p p o r t e d   o b j e c t   t y p e s   a r e   a s   f o l l o w s :   P o d   ( u s e d   f o r   p r o j e c t e d   v o l u m e   m o u n t s ,   s e e   b e l o w ) S e c r e t   ( c a n   b e   u s e d   t o   a l l o w   r e v o k i n g   a   t o k e n   b y   d e l e t i n g   t h e   S e c r e t ) N o d e   ( c a n   b e   u s e d   t o   a u t o - r e v o k e   a   t o k e n   w h e n   i t s   N o d e   i s   d e l e t e d ;   c r e a t i n g   n e w   n o d e - b o u n d   t o k e n s   i s   G A   i n   v 1 . 3 3 + )   W h e n   a   t o k e n   i s   b o u n d   t o   a n   o b j e c t ,   t h e   o b j e c t ' s   m e t a d a t a . n a m e   a n d   m e t a d a t a . u i d   a r e   s t o r e d   a s   e x t r a   ' p r i v a t e   c l a i m s '   i n   t h e   i s s u e d   J W T .   W h e n   a   b o u n d   t o k e n   i s   p r e s e n t e d   t o   t h e   k u b e - a p i s e r v e r ,   t h e   s e r v i c e   a c c o u n t   a u t h e n t i c a t o r   w i l l   e x t r a c t   a n d   v e r i f y   t h e s e   c l a i m s .   I f   t h e   r e f e r e n c e d   o b j e c t   o r   t h e   S e r v i c e A c c o u n t   i s   p e n d i n g   d e l e t i o n   ( f o r   e x a m p l e ,   d u e   t o   f i n a l i z e r s ) ,   t h e n   f o r   a n y   i n s t a n t   t h a t   i s   6 0   s e c o n d s   ( o r   m o r e )   a f t e r   t h e   . m e t a d a t a . d e l e t i o n T i m e s t a m p   d a t e ,   a u t h e n t i c a t i o n   w i t h   t h a t   t o k e n   w o u l d   f a i l .   I f   t h e   r e f e r e n c e d   o b j e c t   n o   l o n g e r   e x i s t s   ( o r   i t s   m e t a d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23058"
  },
  {
    "question": "What is Additional metadata in Pod bound tokens?",
    "answer": "W h e n   a   s e r v i c e   a c c o u n t   t o k e n   i s   b o u n d   t o   a   P o d   o b j e c t ,   a d d i t i o n a l   m e t a d a t a   i s   a l s o   e m b e d d e d   i n t o   t h e   t o k e n   t h a t   i n d i c a t e s   t h e   v a l u e   o f   t h e   b o u n d   p o d ' s   s p e c . n o d e N a m e   f i e l d ,   a n d   t h e   u i d   o f   t h a t   N o d e ,   i f   a v a i l a b l e .   T h i s   n o d e   i n f o r m a t i o n   i s   n o t   v e r i f i e d   b y   t h e   k u b e - a p i s e r v e r   w h e n   t h e   t o k e n   i s   u s e d   f o r   a u t h e n t i c a t i o n .   I t   i s   i n c l u d e d   s o   i n t e g r a t o r s   d o   n o t   h a v e   t o   f e t c h   P o d   o r   N o d e   A P I   o b j e c t s   t o   c h e c k   t h e   a s s o c i a t e d   N o d e   n a m e   a n d   u i d   w h e n   i n s p e c t i n g   a   J W T .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23059"
  },
  {
    "question": "What is Verifying and inspecting private claims?",
    "answer": "T h e   T o k e n R e v i e w   A P I   c a n   b e   u s e d   t o   v e r i f y   a n d   e x t r a c t   p r i v a t e   c l a i m s   f r o m   a   t o k e n :   F i r s t ,   a s s u m e   y o u   h a v e   a   p o d   n a m e d   t e s t - p o d   a n d   a   s e r v i c e   a c c o u n t   n a m e d   m y - s a . C r e a t e   a   t o k e n   t h a t   i s   b o u n d   t o   t h i s   P o d : k u b e c t l   c r e a t e   t o k e n   m y - s a   - - b o u n d - o b j e c t - k i n d = \" P o d \"   - - b o u n d - o b j e c t - n a m e = \" t e s t - p o d \"   C o p y   t h i s   t o k e n   i n t o   a   n e w   f i l e   n a m e d   t o k e n r e v i e w . y a m l : a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1   k i n d :   T o k e n R e v i e w   s p e c :   t o k e n :   < t o k e n   f r o m   s t e p   2 >   S u b m i t   t h i s   r e s o u r c e   t o   t h e   a p i s e r v e r   f o r   r e v i e w : #   u s e   ' - o   y a m l '   t o   i n s p e c t   t h e   o u t p u t   k u b e c t l   c r e a t e   - o   y a m l   - f   t o k e n r e v i e w . y a m l   Y o u   s h o u l d   s e e   a n   o u t p u t   l i k e   b e l o w : a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1   k i n d :   T o k e n R e v i e w   m e t a d a t a :   c r e a t i o n T i m e s t a m p :   n u l l   s p e c :   t o k e n :   < t o k e n >   s t a t u s :   a u d i e n c e s :   -   h t t p s : / / k u b e r n e t e s . d e f a u l t . s v c . c l u s t e r . l o c a l   a u t h e n t i c a t e d :   t r u e   u s e r :   e x t r a :   a u t h e n t i c a t i o n . k u b e r n e t e s . i o / c r e d e n t i a l - i d :   -   J T I = 7 e e 5 2 b e 0 - 9 0 4 5 - 4 6 5 3 - a a 5 e - 0 d a 5 7 b 8 d c c d c   a u t h e n t i c a t i o n . k u b e r n e t e s . i o / n o d e - n a m e :   -   k i n d - c o n t r o l - p l a n e   a u t h e n t i c a t i o n . k u b e r n e t e s . i o / n o d e - u i d :   -   4 9 7 e 9 d 9 ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23060"
  },
  {
    "question": "What is Schema for service account private claims?",
    "answer": "T h e   s c h e m a   f o r   t h e   K u b e r n e t e s - s p e c i f i c   c l a i m s   w i t h i n   J W T   t o k e n s   i s   n o t   c u r r e n t l y   d o c u m e n t e d ,   h o w e v e r   t h e   r e l e v a n t   c o d e   a r e a   c a n   b e   f o u n d   i n   t h e   s e r v i c e a c c o u n t   p a c k a g e   i n   t h e   K u b e r n e t e s   c o d e b a s e .   Y o u   c a n   i n s p e c t   a   J W T   u s i n g   s t a n d a r d   J W T   d e c o d i n g   t o o l .   B e l o w   i s   a n   e x a m p l e   o f   a   J W T   f o r   t h e   m y - s e r v i c e a c c o u n t   S e r v i c e A c c o u n t ,   b o u n d   t o   a   P o d   o b j e c t   n a m e d   m y - p o d   w h i c h   i s   s c h e d u l e d   t o   t h e   N o d e   m y - n o d e ,   i n   t h e   m y - n a m e s p a c e   n a m e s p a c e :   {   \" a u d \" :   [   \" h t t p s : / / m y - a u d i e n c e . e x a m p l e . c o m \"   ] ,   \" e x p \" :   1 7 2 9 6 0 5 2 4 0 ,   \" i a t \" :   1 7 2 9 6 0 1 6 4 0 ,   \" i s s \" :   \" h t t p s : / / m y - c l u s t e r . e x a m p l e . c o m \" ,   \" j t i \" :   \" a e d 3 4 9 5 4 - b 3 3 a - 4 1 4 2 - b 1 e c - 3 8 9 d 6 b b b 4 9 3 6 \" ,   \" k u b e r n e t e s . i o \" :   {   \" n a m e s p a c e \" :   \" m y - n a m e s p a c e \" ,   \" n o d e \" :   {   \" n a m e \" :   \" m y - n o d e \" ,   \" u i d \" :   \" 6 4 6 e 7 c 5 e - 3 2 d 6 - 4 d 4 2 - 9 d b d - e 5 0 4 e 6 c b e 6 b 1 \"   } ,   \" p o d \" :   {   \" n a m e \" :   \" m y - p o d \" ,   \" u i d \" :   \" 5 e 0 b d 4 9 b - f 0 4 0 - 4 3 b 0 - 9 9 b 7 - 2 2 7 6 5 a 5 3 f 7 f 3 \"   } ,   \" s e r v i c e a c c o u n t \" :   {   \" n a m e \" :   \" m y - s e r v i c e a c c o u n t \" ,   \" u i d \" :   \" 1 4 e e 3 f a 4 - a 7 e 2 - 4 2 0 f - 9 f 9 a - d b c 4 5 0 7 c 3 7 9 8 \"   }   } ,   \" n b f \" :   1 7 2 9 6 0 1 6 4 0 ,   \" s u b \" :   \" s y s t e m : s e r v i c e a c c o u n t : m y - n a m e s p a c e : m y - s e r v i c e a c c o u n t \"   }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23061"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   a u d   a n d   i s s   f i e l d s   i n   t h i s   J W T   m a y   d i f f e r   b e t w e e n   d i f f e r e n t   K u b e r n e t e s   c l u s t e r s   d e p e n d i n g   o n   y o u r   c o n f i g u r a t i o n .   T h e   p r e s e n c e   o f   b o t h   t h e   p o d   a n d   n o d e   c l a i m   i m p l i e s   t h a t   t h i s   t o k e n   i s   b o u n d   t o   a   P o d   o b j e c t .   W h e n   v e r i f y i n g   P o d   b o u n d   S e r v i c e A c c o u n t   t o k e n s ,   t h e   A P I   s e r v e r   d o e s   n o t   v e r i f y   t h e   e x i s t e n c e   o f   t h e   r e f e r e n c e d   N o d e   o b j e c t .   S e r v i c e s   t h a t   r u n   o u t s i d e   o f   K u b e r n e t e s   a n d   w a n t   t o   p e r f o r m   o f f l i n e   v a l i d a t i o n   o f   J W T s   m a y   u s e   t h i s   s c h e m a ,   a l o n g   w i t h   a   c o m p l i a n t   J W T   v a l i d a t o r   c o n f i g u r e d   w i t h   O p e n I D   D i s c o v e r y   i n f o r m a t i o n   f r o m   t h e   A P I   s e r v e r ,   t o   v e r i f y   p r e s e n t e d   J W T s   w i t h o u t   r e q u i r i n g   u s e   o f   t h e   T o k e n R e v i e w   A P I .   S e r v i c e s   t h a t   v e r i f y   J W T s   i n   t h i s   w a y   d o   n o t   v e r i f y   t h e   c l a i m s   e m b e d d e d   i n   t h e   J W T   t o k e n   t o   b e   c u r r e n t   a n d   s t i l l   v a l i d .   T h i s   m e a n s   i f   t h e   t o k e n   i s   b o u n d   t o   a n   o b j e c t ,   a n d   t h a t   o b j e c t   n o   l o n g e r   e x i s t s ,   t h e   t o k e n   w i l l   s t i l l   b e   c o n s i d e r e d   v a l i d   ( u n t i l   t h e   c o n f i g u r e d   t o k e n   e x p i r e s ) .   C l i e n t s   t h a t   r e q u i r e   a s s u r a n c e   t h a t   a   t o k e n ' s   b o u n d   c l a i m s   a r e   s t i l l   v a l i d   M U S T   u s e   t h e   T o k e n R e v i e w   A P I ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23062"
  },
  {
    "question": "What is Bound service account token volume mechanism?",
    "answer": "B y   d e f a u l t ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   ( s p e c i f i c a l l y ,   t h e   S e r v i c e A c c o u n t   a d m i s s i o n   c o n t r o l l e r )   a d d s   a   p r o j e c t e d   v o l u m e   t o   P o d s ,   a n d   t h i s   v o l u m e   i n c l u d e s   a   t o k e n   f o r   K u b e r n e t e s   A P I   a c c e s s .   H e r e ' s   a n   e x a m p l e   o f   h o w   t h a t   l o o k s   f o r   a   l a u n c h e d   P o d :   . . .   -   n a m e :   k u b e - a p i - a c c e s s - < r a n d o m - s u f f i x >   p r o j e c t e d :   s o u r c e s :   -   s e r v i c e A c c o u n t T o k e n :   p a t h :   t o k e n   #   m u s t   m a t c h   t h e   p a t h   t h e   a p p   e x p e c t s   -   c o n f i g M a p :   i t e m s :   -   k e y :   c a . c r t   p a t h :   c a . c r t   n a m e :   k u b e - r o o t - c a . c r t   -   d o w n w a r d A P I :   i t e m s :   -   f i e l d R e f :   a p i V e r s i o n :   v 1   f i e l d P a t h :   m e t a d a t a . n a m e s p a c e   p a t h :   n a m e s p a c e   T h a t   m a n i f e s t   s n i p p e t   d e f i n e s   a   p r o j e c t e d   v o l u m e   t h a t   c o n s i s t s   o f   t h r e e   s o u r c e s .   I n   t h i s   c a s e ,   e a c h   s o u r c e   a l s o   r e p r e s e n t s   a   s i n g l e   p a t h   w i t h i n   t h a t   v o l u m e .   T h e   t h r e e   s o u r c e s   a r e :   A   s e r v i c e A c c o u n t T o k e n   s o u r c e ,   t h a t   c o n t a i n s   a   t o k e n   t h a t   t h e   k u b e l e t   a c q u i r e s   f r o m   k u b e - a p i s e r v e r .   T h e   k u b e l e t   f e t c h e s   t i m e - b o u n d   t o k e n s   u s i n g   t h e   T o k e n R e q u e s t   A P I .   A   t o k e n   s e r v e d   f o r   a   T o k e n R e q u e s t   e x p i r e s   e i t h e r   w h e n   t h e   p o d   i s   d e l e t e d   o r   a f t e r   a   d e f i n e d   l i f e s p a n   ( b y   d e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23063"
  },
  {
    "question": "What is Manual Secret management for ServiceAccounts?",
    "answer": "V e r s i o n s   o f   K u b e r n e t e s   b e f o r e   v 1 . 2 2   a u t o m a t i c a l l y   c r e a t e d   c r e d e n t i a l s   f o r   a c c e s s i n g   t h e   K u b e r n e t e s   A P I .   T h i s   o l d e r   m e c h a n i s m   w a s   b a s e d   o n   c r e a t i n g   t o k e n   S e c r e t s   t h a t   c o u l d   t h e n   b e   m o u n t e d   i n t o   r u n n i n g   P o d s .   I n   m o r e   r e c e n t   v e r s i o n s ,   i n c l u d i n g   K u b e r n e t e s   v 1 . 3 4 ,   A P I   c r e d e n t i a l s   a r e   o b t a i n e d   d i r e c t l y   u s i n g   t h e   T o k e n R e q u e s t   A P I ,   a n d   a r e   m o u n t e d   i n t o   P o d s   u s i n g   a   p r o j e c t e d   v o l u m e .   T h e   t o k e n s   o b t a i n e d   u s i n g   t h i s   m e t h o d   h a v e   b o u n d e d   l i f e t i m e s ,   a n d   a r e   a u t o m a t i c a l l y   i n v a l i d a t e d   w h e n   t h e   P o d   t h e y   a r e   m o u n t e d   i n t o   i s   d e l e t e d .   Y o u   c a n   s t i l l   m a n u a l l y   c r e a t e   a   S e c r e t   t o   h o l d   a   s e r v i c e   a c c o u n t   t o k e n ;   f o r   e x a m p l e ,   i f   y o u   n e e d   a   t o k e n   t h a t   n e v e r   e x p i r e s .   O n c e   y o u   m a n u a l l y   c r e a t e   a   S e c r e t   a n d   l i n k   i t   t o   a   S e r v i c e A c c o u n t ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   a u t o m a t i c a l l y   p o p u l a t e s   t h e   t o k e n   i n t o   t h a t   S e c r e t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23064"
  },
  {
    "question": "What is Auto-generated legacy ServiceAccount token clean up?",
    "answer": "B e f o r e   v e r s i o n   1 . 2 4 ,   K u b e r n e t e s   a u t o m a t i c a l l y   g e n e r a t e d   S e c r e t - b a s e d   t o k e n s   f o r   S e r v i c e A c c o u n t s .   T o   d i s t i n g u i s h   b e t w e e n   a u t o m a t i c a l l y   g e n e r a t e d   t o k e n s   a n d   m a n u a l l y   c r e a t e d   o n e s ,   K u b e r n e t e s   c h e c k s   f o r   a   r e f e r e n c e   f r o m   t h e   S e r v i c e A c c o u n t ' s   s e c r e t s   f i e l d .   I f   t h e   S e c r e t   i s   r e f e r e n c e d   i n   t h e   s e c r e t s   f i e l d ,   i t   i s   c o n s i d e r e d   a n   a u t o - g e n e r a t e d   l e g a c y   t o k e n .   O t h e r w i s e ,   i t   i s   c o n s i d e r e d   a   m a n u a l l y   c r e a t e d   l e g a c y   t o k e n .   F o r   e x a m p l e :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   n a m e :   b u i l d - r o b o t   n a m e s p a c e :   d e f a u l t   s e c r e t s :   -   n a m e :   b u i l d - r o b o t - s e c r e t   #   u s u a l l y   N O T   p r e s e n t   f o r   a   m a n u a l l y   g e n e r a t e d   t o k e n   B e g i n n i n g   f r o m   v e r s i o n   1 . 2 9 ,   l e g a c y   S e r v i c e A c c o u n t   t o k e n s   t h a t   w e r e   g e n e r a t e d   a u t o m a t i c a l l y   w i l l   b e   m a r k e d   a s   i n v a l i d   i f   t h e y   r e m a i n   u n u s e d   f o r   a   c e r t a i n   p e r i o d   o f   t i m e   ( s e t   t o   d e f a u l t   a t   o n e   y e a r ) .   T o k e n s   t h a t   c o n t i n u e   t o   b e   u n u s e d   f o r   t h i s   d e f i n e d   p e r i o d   ( a g a i n ,   b y   d e f a u l t ,   o n e   y e a r )   w i l l   s u b s e q u e n t l y   b e   p u r g e d   b y   t h e   c o n t r o l   p l a n e .   I f   u s e r s   u s e   a n   i n v a l i d a t e d   a u t o - g e n e r a t e d   t o k e n ,   t h e   t o k e n   v a l i d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23065"
  },
  {
    "question": "What is ServiceAccount controller?",
    "answer": "A   S e r v i c e A c c o u n t   c o n t r o l l e r   m a n a g e s   t h e   S e r v i c e A c c o u n t s   i n s i d e   n a m e s p a c e s ,   a n d   e n s u r e s   a   S e r v i c e A c c o u n t   n a m e d   \" d e f a u l t \"   e x i s t s   i n   e v e r y   a c t i v e   n a m e s p a c e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23066"
  },
  {
    "question": "What is Token controller?",
    "answer": "T h e   s e r v i c e   a c c o u n t   t o k e n   c o n t r o l l e r   r u n s   a s   p a r t   o f   k u b e - c o n t r o l l e r - m a n a g e r .   T h i s   c o n t r o l l e r   a c t s   a s y n c h r o n o u s l y .   I t :   w a t c h e s   f o r   S e r v i c e A c c o u n t   d e l e t i o n   a n d   d e l e t e s   a l l   c o r r e s p o n d i n g   S e r v i c e A c c o u n t   t o k e n   S e c r e t s . w a t c h e s   f o r   S e r v i c e A c c o u n t   t o k e n   S e c r e t   a d d i t i o n ,   a n d   e n s u r e s   t h e   r e f e r e n c e d   S e r v i c e A c c o u n t   e x i s t s ,   a n d   a d d s   a   t o k e n   t o   t h e   S e c r e t   i f   n e e d e d . w a t c h e s   f o r   S e c r e t   d e l e t i o n   a n d   r e m o v e s   a   r e f e r e n c e   f r o m   t h e   c o r r e s p o n d i n g   S e r v i c e A c c o u n t   i f   n e e d e d .   Y o u   m u s t   p a s s   a   s e r v i c e   a c c o u n t   p r i v a t e   k e y   f i l e   t o   t h e   t o k e n   c o n t r o l l e r   i n   t h e   k u b e - c o n t r o l l e r - m a n a g e r   u s i n g   t h e   - - s e r v i c e - a c c o u n t - p r i v a t e - k e y - f i l e   f l a g .   T h e   p r i v a t e   k e y   i s   u s e d   t o   s i g n   g e n e r a t e d   s e r v i c e   a c c o u n t   t o k e n s .   S i m i l a r l y ,   y o u   m u s t   p a s s   t h e   c o r r e s p o n d i n g   p u b l i c   k e y   t o   t h e   k u b e - a p i s e r v e r   u s i n g   t h e   - - s e r v i c e - a c c o u n t - k e y - f i l e   f l a g .   T h e   p u b l i c   k e y   w i l l   b e   u s e d   t o   v e r i f y   t h e   t o k e n s   d u r i n g   a u t h e n t i c a t i o n .   A n   a l t e r n a t e   s e t u p   t o   s e t t i n g   - - s e r v i c e - a c c o u n t - p r i v a t e - k e y - f i l e   a n d   - - s e r v i c e - a c c o u n t - k e y - f i l e   f l a g s   i s   t o   c o n f i g u r e   a n   e x t e r n a l   J W ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23067"
  },
  {
    "question": "What is ServiceAccount admission controller?",
    "answer": "T h e   m o d i f i c a t i o n   o f   p o d s   i s   i m p l e m e n t e d   v i a   a   p l u g i n   c a l l e d   a n   A d m i s s i o n   C o n t r o l l e r .   I t   i s   p a r t   o f   t h e   A P I   s e r v e r .   T h i s   a d m i s s i o n   c o n t r o l l e r   a c t s   s y n c h r o n o u s l y   t o   m o d i f y   p o d s   a s   t h e y   a r e   c r e a t e d .   W h e n   t h i s   p l u g i n   i s   a c t i v e   ( a n d   i t   i s   b y   d e f a u l t   o n   m o s t   d i s t r i b u t i o n s ) ,   t h e n   i t   d o e s   t h e   f o l l o w i n g   w h e n   a   P o d   i s   c r e a t e d :   I f   t h e   p o d   d o e s   n o t   h a v e   a   . s p e c . s e r v i c e A c c o u n t N a m e   s e t ,   t h e   a d m i s s i o n   c o n t r o l l e r   s e t s   t h e   n a m e   o f   t h e   S e r v i c e A c c o u n t   f o r   t h i s   i n c o m i n g   P o d   t o   d e f a u l t . T h e   a d m i s s i o n   c o n t r o l l e r   e n s u r e s   t h a t   t h e   S e r v i c e A c c o u n t   r e f e r e n c e d   b y   t h e   i n c o m i n g   P o d   e x i s t s .   I f   t h e r e   i s   n o   S e r v i c e A c c o u n t   w i t h   a   m a t c h i n g   n a m e ,   t h e   a d m i s s i o n   c o n t r o l l e r   r e j e c t s   t h e   i n c o m i n g   P o d .   T h a t   c h e c k   a p p l i e s   e v e n   f o r   t h e   d e f a u l t   S e r v i c e A c c o u n t . P r o v i d e d   t h a t   n e i t h e r   t h e   S e r v i c e A c c o u n t ' s   a u t o m o u n t S e r v i c e A c c o u n t T o k e n   f i e l d   n o r   t h e   P o d ' s   a u t o m o u n t S e r v i c e A c c o u n t T o k e n   f i e l d   i s   s e t   t o   f a l s e : t h e   a d m i s s i o n   c o n t r o l l e r   m u t a t e s   t h e   i n c o m i n g   P o d ,   a d d i n g   a n   e x t r a   v o l u m e   t h a t   c o n t a i n s   a   t o k e n   f o r   A P I   a c c e s s . t h e   a d m i s s i o n   c o n t r o l l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23068"
  },
  {
    "question": "What is Legacy ServiceAccount token tracking controller?",
    "answer": "T h i s   c o n t r o l l e r   g e n e r a t e s   a   C o n f i g M a p   c a l l e d   k u b e - s y s t e m / k u b e - a p i s e r v e r - l e g a c y - s e r v i c e - a c c o u n t - t o k e n - t r a c k i n g   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   T h e   C o n f i g M a p   r e c o r d s   t h e   t i m e s t a m p   w h e n   l e g a c y   s e r v i c e   a c c o u n t   t o k e n s   b e g a n   t o   b e   m o n i t o r e d   b y   t h e   s y s t e m .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23069"
  },
  {
    "question": "What is Legacy ServiceAccount token cleaner?",
    "answer": "T h e   l e g a c y   S e r v i c e A c c o u n t   t o k e n   c l e a n e r   r u n s   a s   p a r t   o f   t h e   k u b e - c o n t r o l l e r - m a n a g e r   a n d   c h e c k s   e v e r y   2 4   h o u r s   t o   s e e   i f   a n y   a u t o - g e n e r a t e d   l e g a c y   S e r v i c e A c c o u n t   t o k e n   h a s   n o t   b e e n   u s e d   i n   a   s p e c i f i e d   a m o u n t   o f   t i m e .   I f   s o ,   t h e   c l e a n e r   m a r k s   t h o s e   t o k e n s   a s   i n v a l i d .   T h e   c l e a n e r   w o r k s   b y   f i r s t   c h e c k i n g   t h e   C o n f i g M a p   c r e a t e d   b y   t h e   c o n t r o l   p l a n e   ( p r o v i d e d   t h a t   L e g a c y S e r v i c e A c c o u n t T o k e n T r a c k i n g   i s   e n a b l e d ) .   I f   t h e   c u r r e n t   t i m e   i s   a   s p e c i f i e d   a m o u n t   o f   t i m e   a f t e r   t h e   d a t e   i n   t h e   C o n f i g M a p ,   t h e   c l e a n e r   t h e n   l o o p s   t h r o u g h   t h e   l i s t   o f   S e c r e t s   i n   t h e   c l u s t e r   a n d   e v a l u a t e s   e a c h   S e c r e t   t h a t   h a s   t h e   t y p e   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n .   I f   a   S e c r e t   m e e t s   a l l   o f   t h e   f o l l o w i n g   c o n d i t i o n s ,   t h e   c l e a n e r   m a r k s   i t   a s   i n v a l i d :   T h e   S e c r e t   i s   a u t o - g e n e r a t e d ,   m e a n i n g   t h a t   i t   i s   b i - d i r e c t i o n a l l y   r e f e r e n c e d   b y   a   S e r v i c e A c c o u n t . T h e   S e c r e t   i s   n o t   c u r r e n t l y   m o u n t e d   b y   a n y   p o d s . T h e   S e c r e t   h a s   n o t   b e e n   u s e d   i n   a   s p e c i f i e d   a m o u n t   o f   t i m e   s i n c e   i t   w a s   c r e a t e d   o r   s i n c e   i t   w a s   l a s t   u s e d .   T h e   c l e a n e r   m a r k s   a   S e c r e t   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23070"
  },
  {
    "question": "What is TokenRequest API?",
    "answer": "Y o u   u s e   t h e   T o k e n R e q u e s t   s u b r e s o u r c e   o f   a   S e r v i c e A c c o u n t   t o   o b t a i n   a   t i m e - b o u n d   t o k e n   f o r   t h a t   S e r v i c e A c c o u n t .   Y o u   d o n ' t   n e e d   t o   c a l l   t h i s   t o   o b t a i n   a n   A P I   t o k e n   f o r   u s e   w i t h i n   a   c o n t a i n e r ,   s i n c e   t h e   k u b e l e t   s e t s   t h i s   u p   f o r   y o u   u s i n g   a   p r o j e c t e d   v o l u m e .   I f   y o u   w a n t   t o   u s e   t h e   T o k e n R e q u e s t   A P I   f r o m   k u b e c t l ,   s e e   M a n u a l l y   c r e a t e   a n   A P I   t o k e n   f o r   a   S e r v i c e A c c o u n t .   T h e   K u b e r n e t e s   c o n t r o l   p l a n e   ( s p e c i f i c a l l y ,   t h e   S e r v i c e A c c o u n t   a d m i s s i o n   c o n t r o l l e r )   a d d s   a   p r o j e c t e d   v o l u m e   t o   P o d s ,   a n d   t h e   k u b e l e t   e n s u r e s   t h a t   t h i s   v o l u m e   c o n t a i n s   a   t o k e n   t h a t   l e t s   c o n t a i n e r s   a u t h e n t i c a t e   a s   t h e   r i g h t   S e r v i c e A c c o u n t .   ( T h i s   m e c h a n i s m   s u p e r s e d e d   a n   e a r l i e r   m e c h a n i s m   t h a t   a d d e d   a   v o l u m e   b a s e d   o n   a   S e c r e t ,   w h e r e   t h e   S e c r e t   r e p r e s e n t e d   t h e   S e r v i c e A c c o u n t   f o r   t h e   P o d   b u t   d i d   n o t   e x p i r e . )   H e r e ' s   a n   e x a m p l e   o f   h o w   t h a t   l o o k s   f o r   a   l a u n c h e d   P o d :   . . .   -   n a m e :   k u b e - a p i - a c c e s s - < r a n d o m - s u f f i x >   p r o j e c t e d :   d e f a u l t M o d e :   4 2 0   #   d e c i m a l   e q u i v a l e n t   o f   o c t a l   0 6 4 4   s o u r c e s :   -   s e r v i c e A c c o u n t T o k e n :   e x p i r a t i o n S e c o n d s :   3 6 0 7   p a t h :   t o k e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23071"
  },
  {
    "question": "What is Caution:?",
    "answer": "T o   c r e a t e   a   n o n - e x p i r i n g ,   p e r s i s t e d   A P I   t o k e n   f o r   a   S e r v i c e A c c o u n t ,   c r e a t e   a   S e c r e t   o f   t y p e   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n   w i t h   a n   a n n o t a t i o n   r e f e r e n c i n g   t h e   S e r v i c e A c c o u n t .   T h e   c o n t r o l   p l a n e   t h e n   g e n e r a t e s   a   l o n g - l i v e d   t o k e n   a n d   u p d a t e s   t h a t   S e c r e t   w i t h   t h a t   g e n e r a t e d   t o k e n   d a t a .   H e r e   i s   a   s a m p l e   m a n i f e s t   f o r   s u c h   a   S e c r e t :   a p i V e r s i o n :   v 1   k i n d :   S e c r e t   t y p e :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n   m e t a d a t a :   n a m e :   m y s e c r e t n a m e   a n n o t a t i o n s :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . n a m e :   m y s e r v i c e a c c o u n t   T o   c r e a t e   a   S e c r e t   b a s e d   o n   t h i s   e x a m p l e ,   r u n :   k u b e c t l   - n   e x a m p l e n s   c r e a t e   - f   h t t p s : / / k 8 s . i o / e x a m p l e s / s e c r e t / s e r v i c e a c c o u n t / m y s e c r e t n a m e . y a m l   T o   s e e   t h e   d e t a i l s   f o r   t h a t   S e c r e t ,   r u n :   k u b e c t l   - n   e x a m p l e n s   d e s c r i b e   s e c r e t   m y s e c r e t n a m e   T h e   o u t p u t   i s   s i m i l a r   t o :   N a m e :   m y s e c r e t n a m e   N a m e s p a c e :   e x a m p l e n s   L a b e l s :   < n o n e >   A n n o t a t i o n s :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . n a m e = m y s e r v i c e a c c o u n t   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . u i d = 8 a 8 5 c 4 c 4 - 8 4 8 3 - 1 1 e 9 - b c 4 2 - 5 2 6 a f 7 7 6 4 f 6 4   T y p e :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n   D a t a   = = = =   c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23072"
  },
  {
    "question": "What is Delete/invalidate a long-lived/legacy ServiceAccount token?",
    "answer": "I f   y o u   k n o w   t h e   n a m e   o f   t h e   S e c r e t   t h a t   c o n t a i n s   t h e   t o k e n   y o u   w a n t   t o   r e m o v e :   k u b e c t l   d e l e t e   s e c r e t   n a m e - o f - s e c r e t   O t h e r w i s e ,   f i r s t   f i n d   t h e   S e c r e t   f o r   t h e   S e r v i c e A c c o u n t .   #   T h i s   a s s u m e s   t h a t   y o u   a l r e a d y   h a v e   a   n a m e s p a c e   n a m e d   ' e x a m p l e n s '   k u b e c t l   - n   e x a m p l e n s   g e t   s e r v i c e a c c o u n t / e x a m p l e - a u t o m a t e d - t h i n g   - o   y a m l   T h e   o u t p u t   i s   s i m i l a r   t o :   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t   m e t a d a t a :   a n n o t a t i o n s :   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n :   |   { \" a p i V e r s i o n \" : \" v 1 \" , \" k i n d \" : \" S e r v i c e A c c o u n t \" , \" m e t a d a t a \" : { \" a n n o t a t i o n s \" : { } , \" n a m e \" : \" e x a m p l e - a u t o m a t e d - t h i n g \" , \" n a m e s p a c e \" : \" e x a m p l e n s \" } }   c r e a t i o n T i m e s t a m p :   \" 2 0 1 9 - 0 7 - 2 1 T 0 7 : 0 7 : 0 7 Z \"   n a m e :   e x a m p l e - a u t o m a t e d - t h i n g   n a m e s p a c e :   e x a m p l e n s   r e s o u r c e V e r s i o n :   \" 7 7 7 \"   s e l f L i n k :   / a p i / v 1 / n a m e s p a c e s / e x a m p l e n s / s e r v i c e a c c o u n t s / e x a m p l e - a u t o m a t e d - t h i n g   u i d :   f 2 3 f d 1 7 0 - 6 6 f 2 - 4 6 9 7 - b 0 4 9 - e 1 e 2 6 6 b 7 f 8 3 5   s e c r e t s :   -   n a m e :   e x a m p l e - a u t o m a t e d - t h i n g - t o k e n - z y x w v   T h e n ,   d e l e t e   t h e   S e c r e t   y o u   n o w   k n o w   t h e   n a m e   o f :   k u b e c t l   - n   e x a m p l e n s   d e l e t e   s e c r e t / e x a m p l e - a u t o m a t e d - t h i n g - t o k e n - z y x w v",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23073"
  },
  {
    "question": "What is Delete/invalidate a short-lived ServiceAccount token?",
    "answer": "S h o r t   l i v e d   S e r v i c e A c c o u n t   t o k e n s   a u t o m a t i c a l l y   e x p i r e   a f t e r   t h e   t i m e - l i m i t   s p e c i f i e d   d u r i n g   t h e i r   c r e a t i o n .   T h e r e   i s   n o   c e n t r a l   r e c o r d   o f   t o k e n s   i s s u e d ,   s o   t h e r e   i s   n o   w a y   t o   r e v o k e   i n d i v i d u a l   t o k e n s .   I f   y o u   h a v e   t o   r e v o k e   a   s h o r t - l i v e d   t o k e n   b e f o r e   i t s   e x p i r a t i o n ,   y o u   c a n   d e l e t e   a n d   r e - c r e a t e   t h e   S e r v i c e A c c o u n t   i t   i s   a s s o c i a t e d   t o .   T h i s   w i l l   c h a n g e   i t s   U I D   a n d   h e n c e   i n v a l i d a t e   a l l   S e r v i c e A c c o u n t   t o k e n s   t h a t   w e r e   c r e a t e d   f o r   i t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23074"
  },
  {
    "question": "What is External ServiceAccount token signing and key management?",
    "answer": "T h e   k u b e - a p i s e r v e r   c a n   b e   c o n f i g u r e d   t o   u s e   e x t e r n a l   s i g n e r   f o r   t o k e n   s i g n i n g   a n d   t o k e n   v e r i f y i n g   k e y   m a n a g e m e n t .   T h i s   f e a t u r e   e n a b l e s   k u b e r n e t e s   d i s t r i b u t i o n s   t o   i n t e g r a t e   w i t h   k e y   m a n a g e m e n t   s o l u t i o n s   o f   t h e i r   c h o i c e   ( f o r   e x a m p l e ,   H S M s ,   c l o u d   K M S e s )   f o r   s e r v i c e   a c c o u n t   c r e d e n t i a l   s i g n i n g   a n d   v e r i f i c a t i o n .   T o   c o n f i g u r e   k u b e - a p i s e r v e r   t o   u s e   e x t e r n a l - j w t - s i g n e r   s e t   t h e   - - s e r v i c e - a c c o u n t - s i g n i n g - e n d p o i n t   f l a g   t o   t h e   l o c a t i o n   o f   a   U n i x   d o m a i n   s o c k e t   ( U D S )   o n   a   f i l e s y s t e m ,   o r   b e   p r e f i x e d   w i t h   a n   @   s y m b o l   a n d   n a m e   a   U D S   i n   t h e   a b s t r a c t   s o c k e t   n a m e s p a c e .   A t   t h e   c o n f i g u r e d   U D S   s h a l l   b e   a n   R P C   s e r v e r   w h i c h   i m p l e m e n t s   a n   E x t e r n a l J W T S i g n e r   g R P C   s e r v i c e .   T h e   e x t e r n a l - j w t - s i g n e r   m u s t   b e   h e a l t h y   a n d   b e   r e a d y   t o   s e r v e   s u p p o r t e d   s e r v i c e   a c c o u n t   k e y s   f o r   t h e   k u b e - a p i s e r v e r   t o   s t a r t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23075"
  },
  {
    "question": "What is Note:?",
    "answer": "A n   e x t e r n a l   s i g n e r   p r o v i d e s   a   v 1 . E x t e r n a l J W T S i g n e r   g R P C   s e r v i c e   t h a t   i m p l e m e n t s   3   m e t h o d s :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23076"
  },
  {
    "question": "What is Metadata?",
    "answer": "M e t a d a t a   i s   m e a n t   t o   b e   c a l l e d   o n c e   b y   k u b e - a p i s e r v e r   o n   s t a r t u p .   T h i s   e n a b l e s   t h e   e x t e r n a l   s i g n e r   t o   s h a r e   m e t a d a t a   w i t h   k u b e - a p i s e r v e r ,   l i k e   t h e   m a x   t o k e n   l i f e t i m e   t h a t   s i g n e r   s u p p o r t s .   r p c   M e t a d a t a ( M e t a d a t a R e q u e s t )   r e t u r n s   ( M e t a d a t a R e s p o n s e )   { }   m e s s a g e   M e t a d a t a R e q u e s t   { }   m e s s a g e   M e t a d a t a R e s p o n s e   {   / /   u s e d   b y   k u b e - a p i s e r v e r   f o r   d e f a u l t i n g / v a l i d a t i o n   o f   J W T   l i f e t i m e   w h i l e   a c c o u n t i n g   f o r   c o n f i g u r a t i o n   f l a g   v a l u e s :   / /   1 .   ` - - s e r v i c e - a c c o u n t - m a x - t o k e n - e x p i r a t i o n `   / /   2 .   ` - - s e r v i c e - a c c o u n t - e x t e n d - t o k e n - e x p i r a t i o n `   / /   / /   *   I f   ` - - s e r v i c e - a c c o u n t - m a x - t o k e n - e x p i r a t i o n `   i s   g r e a t e r   t h a n   ` m a x _ t o k e n _ e x p i r a t i o n _ s e c o n d s ` ,   k u b e - a p i s e r v e r   t r e a t s   t h a t   a s   m i s c o n f i g u r a t i o n   a n d   e x i t s .   / /   *   I f   ` - - s e r v i c e - a c c o u n t - m a x - t o k e n - e x p i r a t i o n `   i s   n o t   e x p l i c i t l y   s e t ,   k u b e - a p i s e r v e r   d e f a u l t s   t o   ` m a x _ t o k e n _ e x p i r a t i o n _ s e c o n d s ` .   / /   *   I f   ` - - s e r v i c e - a c c o u n t - e x t e n d - t o k e n - e x p i r a t i o n `   i s   t r u e ,   t h e   e x t e n d e d   e x p i r a t i o n   i s   ` m i n ( 1   y e a r ,   m a x _ t o k e n _ e x p i r a t i o n _ s e c o n d s ) ` .   / /   / /   ` m a x _ t o k e n _ e x p i r a t i o n _ s e c o n d s `   m u s t   b e   a t   l e a s t   6 0 0 s .   i n t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23077"
  },
  {
    "question": "What is FetchKeys?",
    "answer": "F e t c h K e y s   r e t u r n s   t h e   s e t   o f   p u b l i c   k e y s   t h a t   a r e   t r u s t e d   t o   s i g n   K u b e r n e t e s   s e r v i c e   a c c o u n t   t o k e n s .   K u b e - a p i s e r v e r   w i l l   c a l l   t h i s   R P C :   E v e r y   t i m e   i t   t r i e s   t o   v a l i d a t e   a   J W T   f r o m   t h e   s e r v i c e   a c c o u n t   i s s u e r   w i t h   a n   u n k n o w n   k e y   I D ,   a n d P e r i o d i c a l l y ,   s o   i t   c a n   s e r v e   r e a s o n a b l y - u p - t o - d a t e   k e y s   f r o m   t h e   O I D C   J W K s   e n d p o i n t .   r p c   F e t c h K e y s ( F e t c h K e y s R e q u e s t )   r e t u r n s   ( F e t c h K e y s R e s p o n s e )   { }   m e s s a g e   F e t c h K e y s R e q u e s t   { }   m e s s a g e   F e t c h K e y s R e s p o n s e   {   r e p e a t e d   K e y   k e y s   =   1 ;   / /   T h e   t i m e s t a m p   w h e n   t h i s   d a t a   w a s   p u l l e d   f r o m   t h e   a u t h o r i t a t i v e   s o u r c e   o f   / /   t r u t h   f o r   v e r i f i c a t i o n   k e y s .   / /   k u b e - a p i s e r v e r   c a n   e x p o r t   t h i s   f r o m   m e t r i c s ,   t o   e n a b l e   e n d - t o - e n d   S L O s .   g o o g l e . p r o t o b u f . T i m e s t a m p   d a t a _ t i m e s t a m p   =   2 ;   / /   r e f r e s h   i n t e r v a l   f o r   v e r i f i c a t i o n   k e y s   t o   p i c k   c h a n g e s   i f   a n y .   / /   a n y   v a l u e   < =   0   i s   c o n s i d e r e d   a   m i s c o n f i g u r a t i o n .   i n t 6 4   r e f r e s h _ h i n t _ s e c o n d s   =   3 ;   }   m e s s a g e   K e y   {   / /   A   u n i q u e   i d e n t i f i e r   f o r   t h i s   k e y .   / /   L e n g t h   m u s t   b e   < = 1 0 2 4 .   s t r i n g   k e y _ i d   =   1 ;   / /   T h e   p u b l i c   k e y ,   P K I X - s e r i a l i z e d .   / /   m u s t   b e   a   p u b l i c   k e y   s u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23078"
  },
  {
    "question": "What is Sign?",
    "answer": "S i g n   t a k e s   a   s e r i a l i z e d   J W T   p a y l o a d ,   a n d   r e t u r n s   t h e   s e r i a l i z e d   h e a d e r   a n d   s i g n a t u r e .   k u b e - a p i s e r v e r   t h e n   a s s e m b l e s   t h e   J W T   f r o m   t h e   h e a d e r ,   p a y l o a d ,   a n d   s i g n a t u r e .   r p c   S i g n ( S i g n J W T R e q u e s t )   r e t u r n s   ( S i g n J W T R e s p o n s e )   { }   m e s s a g e   S i g n J W T R e q u e s t   {   / /   U R L - s a f e   b a s e 6 4   w r a p p e d   p a y l o a d   t o   b e   s i g n e d .   / /   E x a c t l y   a s   i t   a p p e a r s   i n   t h e   s e c o n d   s e g m e n t   o f   t h e   J W T   s t r i n g   c l a i m s   =   1 ;   }   m e s s a g e   S i g n J W T R e s p o n s e   {   / /   h e a d e r   m u s t   c o n t a i n   o n l y   a l g ,   k i d ,   t y p   c l a i m s .   / /   t y p   m u s t   b e   “ J W T ” .   / /   k i d   m u s t   b e   n o n - e m p t y ,   < = 1 0 2 4   c h a r a c t e r s ,   a n d   i t s   c o r r e s p o n d i n g   p u b l i c   k e y   s h o u l d   n o t   b e   e x c l u d e d   f r o m   O I D C   d i s c o v e r y .   / /   a l g   m u s t   b e   o n e   o f   t h e   a l g o r i t h m s   s u p p o r t e d   b y   k u b e - a p i s e r v e r   ( c u r r e n t l y   R S 2 5 6 ,   E S 2 5 6 ,   E S 3 8 4 ,   E S 5 1 2 ) .   / /   h e a d e r   c a n n o t   h a v e   a n y   a d d i t i o n a l   d a t a   t h a t   k u b e - a p i s e r v e r   d o e s   n o t   r e c o g n i z e .   / /   A l r e a d y   w r a p p e d   i n   U R L - s a f e   b a s e 6 4 ,   e x a c t l y   a s   i t   a p p e a r s   i n   t h e   f i r s t   s e g m e n t   o f   t h e   J W T .   s t r i n g   h e a d e r   =   1 ;   / /   T h e   s i g n a t u r e   f o r   t h e   J W T .   / /   A l r e a d y   w r a p p e d   i n   U R L - s a f e   b a s e 6 4 ,   e x a c t l y   a s   i t   a p p e a r s   i n   t h e   f i n a l   s e g m ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23079"
  },
  {
    "question": "What is Clean up?",
    "answer": "I f   y o u   c r e a t e d   a   n a m e s p a c e   e x a m p l e n s   t o   e x p e r i m e n t   w i t h ,   y o u   c a n   r e m o v e   i t :   k u b e c t l   d e l e t e   n a m e s p a c e   e x a m p l e n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23080"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   m o r e   d e t a i l s   a b o u t   p r o j e c t e d   v o l u m e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23081"
  },
  {
    "question": "What is 3.11 - Certificates and Certificate Signing Requests?",
    "answer": "K u b e r n e t e s   c e r t i f i c a t e   a n d   t r u s t   b u n d l e   A P I s   e n a b l e   a u t o m a t i o n   o f   X . 5 0 9   c r e d e n t i a l   p r o v i s i o n i n g   b y   p r o v i d i n g   a   p r o g r a m m a t i c   i n t e r f a c e   f o r   c l i e n t s   o f   t h e   K u b e r n e t e s   A P I   t o   r e q u e s t   a n d   o b t a i n   X . 5 0 9   c e r t i f i c a t e s   f r o m   a   C e r t i f i c a t e   A u t h o r i t y   ( C A ) .   T h e r e   i s   a l s o   e x p e r i m e n t a l   ( a l p h a )   s u p p o r t   f o r   d i s t r i b u t i n g   t r u s t   b u n d l e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23082"
  },
  {
    "question": "What is Certificate signing requests?",
    "answer": "A   C e r t i f i c a t e S i g n i n g R e q u e s t   ( C S R )   r e s o u r c e   i s   u s e d   t o   r e q u e s t   t h a t   a   c e r t i f i c a t e   b e   s i g n e d   b y   a   d e n o t e d   s i g n e r ,   a f t e r   w h i c h   t h e   r e q u e s t   m a y   b e   a p p r o v e d   o r   d e n i e d   b e f o r e   f i n a l l y   b e i n g   s i g n e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23083"
  },
  {
    "question": "What is Request signing process?",
    "answer": "T h e   C e r t i f i c a t e S i g n i n g R e q u e s t   r e s o u r c e   t y p e   a l l o w s   a   c l i e n t   t o   a s k   f o r   a n   X . 5 0 9   c e r t i f i c a t e   b e   i s s u e d ,   b a s e d   o n   a   s i g n i n g   r e q u e s t .   T h e   C e r t i f i c a t e S i g n i n g R e q u e s t   o b j e c t   i n c l u d e s   a   P E M - e n c o d e d   P K C S # 1 0   s i g n i n g   r e q u e s t   i n   t h e   s p e c . r e q u e s t   f i e l d .   T h e   C e r t i f i c a t e S i g n i n g R e q u e s t   d e n o t e s   t h e   s i g n e r   ( t h e   r e c i p i e n t   t h a t   t h e   r e q u e s t   i s   b e i n g   m a d e   t o )   u s i n g   t h e   s p e c . s i g n e r N a m e   f i e l d .   N o t e   t h a t   s p e c . s i g n e r N a m e   i s   a   r e q u i r e d   k e y   a f t e r   A P I   v e r s i o n   c e r t i f i c a t e s . k 8 s . i o / v 1 .   I n   K u b e r n e t e s   v 1 . 2 2   a n d   l a t e r ,   c l i e n t s   m a y   o p t i o n a l l y   s e t   t h e   s p e c . e x p i r a t i o n S e c o n d s   f i e l d   t o   r e q u e s t   a   p a r t i c u l a r   l i f e t i m e   f o r   t h e   i s s u e d   c e r t i f i c a t e .   T h e   m i n i m u m   v a l i d   v a l u e   f o r   t h i s   f i e l d   i s   6 0 0 ,   i . e .   t e n   m i n u t e s .   O n c e   c r e a t e d ,   a   C e r t i f i c a t e S i g n i n g R e q u e s t   m u s t   b e   a p p r o v e d   b e f o r e   i t   c a n   b e   s i g n e d .   D e p e n d i n g   o n   t h e   s i g n e r   s e l e c t e d ,   a   C e r t i f i c a t e S i g n i n g R e q u e s t   m a y   b e   a u t o m a t i c a l l y   a p p r o v e d   b y   a   c o n t r o l l e r .   O t h e r w i s e ,   a   C e r t i f i c a t e S i g n i n g R e q u e s t   m u s t   b e   m a n u a l l y   a p p r o v e d   e i t h e r   v i a   t h e   R E S T   A P I   ( o r   c l i e n t - g o )   o r   b y   r u n n i n g   k u b e c t l   c e r t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23084"
  },
  {
    "question": "What is Certificate signing authorization?",
    "answer": "T o   a l l o w   c r e a t i n g   a   C e r t i f i c a t e S i g n i n g R e q u e s t   a n d   r e t r i e v i n g   a n y   C e r t i f i c a t e S i g n i n g R e q u e s t :   V e r b s :   c r e a t e ,   g e t ,   l i s t ,   w a t c h ,   g r o u p :   c e r t i f i c a t e s . k 8 s . i o ,   r e s o u r c e :   c e r t i f i c a t e s i g n i n g r e q u e s t s   F o r   e x a m p l e :   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   n a m e :   c s r - c r e a t o r   r u l e s :   -   a p i G r o u p s :   -   c e r t i f i c a t e s . k 8 s . i o   r e s o u r c e s :   -   c e r t i f i c a t e s i g n i n g r e q u e s t s   v e r b s :   -   c r e a t e   -   g e t   -   l i s t   -   w a t c h   T o   a l l o w   a p p r o v i n g   a   C e r t i f i c a t e S i g n i n g R e q u e s t :   V e r b s :   g e t ,   l i s t ,   w a t c h ,   g r o u p :   c e r t i f i c a t e s . k 8 s . i o ,   r e s o u r c e :   c e r t i f i c a t e s i g n i n g r e q u e s t s V e r b s :   u p d a t e ,   g r o u p :   c e r t i f i c a t e s . k 8 s . i o ,   r e s o u r c e :   c e r t i f i c a t e s i g n i n g r e q u e s t s / a p p r o v a l V e r b s :   a p p r o v e ,   g r o u p :   c e r t i f i c a t e s . k 8 s . i o ,   r e s o u r c e :   s i g n e r s ,   r e s o u r c e N a m e :   < s i g n e r N a m e D o m a i n > / < s i g n e r N a m e P a t h >   o r   < s i g n e r N a m e D o m a i n > / *   F o r   e x a m p l e :   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e   m e t a d a t a :   n a m e :   c s r - a p p r o v e r   r u l e s :   -   a p i G r o u p s :   -   c e r t i f i c a t e s . k 8 s . i o   r e s o u r c e s :   -   c e r t i f i c a t e s i g n i n g r e q u e s t s   v e r b s :   -   g e t   -   l i s t   -   w a t c h   -   a p i G r o u p s :   -   c e r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23085"
  },
  {
    "question": "What is Signers?",
    "answer": "S i g n e r s   a b s t r a c t l y   r e p r e s e n t   t h e   e n t i t y   o r   e n t i t i e s   t h a t   m i g h t   s i g n ,   o r   h a v e   s i g n e d ,   a   s e c u r i t y   c e r t i f i c a t e .   A n y   s i g n e r   t h a t   i s   m a d e   a v a i l a b l e   f o r   o u t s i d e   a   p a r t i c u l a r   c l u s t e r   s h o u l d   p r o v i d e   i n f o r m a t i o n   a b o u t   h o w   t h e   s i g n e r   w o r k s ,   s o   t h a t   c o n s u m e r s   c a n   u n d e r s t a n d   w h a t   t h a t   m e a n s   f o r   C e r t i f i c a t e S i g n i n g R e q u e s t s   a n d   ( i f   e n a b l e d )   C l u s t e r T r u s t B u n d l e s .   T h i s   i n c l u d e s :   T r u s t   d i s t r i b u t i o n :   h o w   t r u s t   a n c h o r s   ( C A   c e r t i f i c a t e s   o r   c e r t i f i c a t e   b u n d l e s )   a r e   d i s t r i b u t e d . P e r m i t t e d   s u b j e c t s :   a n y   r e s t r i c t i o n s   o n   a n d   b e h a v i o r   w h e n   a   d i s a l l o w e d   s u b j e c t   i s   r e q u e s t e d . P e r m i t t e d   x 5 0 9   e x t e n s i o n s :   i n c l u d i n g   I P   s u b j e c t A l t N a m e s ,   D N S   s u b j e c t A l t N a m e s ,   E m a i l   s u b j e c t A l t N a m e s ,   U R I   s u b j e c t A l t N a m e s   e t c ,   a n d   b e h a v i o r   w h e n   a   d i s a l l o w e d   e x t e n s i o n   i s   r e q u e s t e d . P e r m i t t e d   k e y   u s a g e s   /   e x t e n d e d   k e y   u s a g e s :   a n y   r e s t r i c t i o n s   o n   a n d   b e h a v i o r   w h e n   u s a g e s   d i f f e r e n t   t h a n   t h e   s i g n e r - d e t e r m i n e d   u s a g e s   a r e   s p e c i f i e d   i n   t h e   C S R . E x p i r a t i o n / c e r t i f i c a t e   l i f e t i m e :   w h e t h e r   i t   i s   f i x e d   b y   t h e   s i g n e r ,   c o n f i g u r a b l e   b y   t h e   a d m i n ,   d e t e r m i n e d   b y   t h ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23086"
  },
  {
    "question": "What is Kubernetes signers?",
    "answer": "K u b e r n e t e s   p r o v i d e s   b u i l t - i n   s i g n e r s   t h a t   e a c h   h a v e   a   w e l l - k n o w n   s i g n e r N a m e :   k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t :   s i g n s   c e r t i f i c a t e s   t h a t   w i l l   b e   h o n o r e d   a s   c l i e n t   c e r t i f i c a t e s   b y   t h e   A P I   s e r v e r .   N e v e r   a u t o - a p p r o v e d   b y   k u b e - c o n t r o l l e r - m a n a g e r . T r u s t   d i s t r i b u t i o n :   s i g n e d   c e r t i f i c a t e s   m u s t   b e   h o n o r e d   a s   c l i e n t   c e r t i f i c a t e s   b y   t h e   A P I   s e r v e r .   T h e   C A   b u n d l e   i s   n o t   d i s t r i b u t e d   b y   a n y   o t h e r   m e a n s . P e r m i t t e d   s u b j e c t s   -   n o   s u b j e c t   r e s t r i c t i o n s ,   b u t   a p p r o v e r s   a n d   s i g n e r s   m a y   c h o o s e   n o t   t o   a p p r o v e   o r   s i g n .   C e r t a i n   s u b j e c t s   l i k e   c l u s t e r - a d m i n   l e v e l   u s e r s   o r   g r o u p s   v a r y   b e t w e e n   d i s t r i b u t i o n s   a n d   i n s t a l l a t i o n s ,   b u t   d e s e r v e   a d d i t i o n a l   s c r u t i n y   b e f o r e   a p p r o v a l   a n d   s i g n i n g .   T h e   C e r t i f i c a t e S u b j e c t R e s t r i c t i o n   a d m i s s i o n   p l u g i n   i s   e n a b l e d   b y   d e f a u l t   t o   r e s t r i c t   s y s t e m : m a s t e r s ,   b u t   i t   i s   o f t e n   n o t   t h e   o n l y   c l u s t e r - a d m i n   s u b j e c t   i n   a   c l u s t e r . P e r m i t t e d   x 5 0 9   e x t e n s i o n s   -   h o n o r s   s u b j e c t A l t N a m e   a n d   k e y   u s a g e   e x t e n s i o n s   a n d   d i s c a r d s   o t h e r   e x t e n s i o n s . P e r m i t t e d   k e y   u s a g e s   -   m u s t   i n c l u d e   [ \" c l i e n t   a u t h \" ] .   M u s t   n o t   i n c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23087"
  },
  {
    "question": "What is Note:?",
    "answer": "D i s t r i b u t i o n   o f   t r u s t   h a p p e n s   o u t   o f   b a n d   f o r   t h e s e   s i g n e r s .   A n y   t r u s t   o u t s i d e   o f   t h o s e   d e s c r i b e d   a b o v e   a r e   s t r i c t l y   c o i n c i d e n t a l .   F o r   i n s t a n c e ,   s o m e   d i s t r i b u t i o n s   m a y   h o n o r   k u b e r n e t e s . i o / l e g a c y - u n k n o w n   a s   c l i e n t   c e r t i f i c a t e s   f o r   t h e   k u b e - a p i s e r v e r ,   b u t   t h i s   i s   n o t   a   s t a n d a r d .   N o n e   o f   t h e s e   u s a g e s   a r e   r e l a t e d   t o   S e r v i c e A c c o u n t   t o k e n   s e c r e t s   . d a t a [ c a . c r t ]   i n   a n y   w a y .   T h a t   C A   b u n d l e   i s   o n l y   g u a r a n t e e d   t o   v e r i f y   a   c o n n e c t i o n   t o   t h e   A P I   s e r v e r   u s i n g   t h e   d e f a u l t   s e r v i c e   ( k u b e r n e t e s . d e f a u l t . s v c ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23088"
  },
  {
    "question": "What is Custom signers?",
    "answer": "Y o u   c a n   a l s o   i n t r o d u c e   y o u r   o w n   c u s t o m   s i g n e r ,   w h i c h   s h o u l d   h a v e   a   s i m i l a r   p r e f i x e d   n a m e   b u t   u s i n g   y o u r   o w n   d o m a i n   n a m e .   F o r   e x a m p l e ,   i f   y o u   r e p r e s e n t   a n   o p e n   s o u r c e   p r o j e c t   t h a t   u s e s   t h e   d o m a i n   o p e n - f i c t i o n a l . e x a m p l e   t h e n   y o u   m i g h t   u s e   i s s u e r . o p e n - f i c t i o n a l . e x a m p l e / s e r v i c e - m e s h   a s   a   s i g n e r   n a m e .   A   c u s t o m   s i g n e r   u s e s   t h e   K u b e r n e t e s   A P I   t o   i s s u e   a   c e r t i f i c a t e .   S e e   A P I - b a s e d   s i g n e r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23089"
  },
  {
    "question": "What is Control plane signer?",
    "answer": "T h e   K u b e r n e t e s   c o n t r o l   p l a n e   i m p l e m e n t s   e a c h   o f   t h e   K u b e r n e t e s   s i g n e r s ,   a s   p a r t   o f   t h e   k u b e - c o n t r o l l e r - m a n a g e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23090"
  },
  {
    "question": "What is API-based signers?",
    "answer": "U s e r s   o f   t h e   R E S T   A P I   c a n   s i g n   C S R s   b y   s u b m i t t i n g   a n   U P D A T E   r e q u e s t   t o   t h e   s t a t u s   s u b r e s o u r c e   o f   t h e   C S R   t o   b e   s i g n e d .   A s   p a r t   o f   t h i s   r e q u e s t ,   t h e   s t a t u s . c e r t i f i c a t e   f i e l d   s h o u l d   b e   s e t   t o   c o n t a i n   t h e   s i g n e d   c e r t i f i c a t e .   T h i s   f i e l d   c o n t a i n s   o n e   o r   m o r e   P E M - e n c o d e d   c e r t i f i c a t e s .   A l l   P E M   b l o c k s   m u s t   h a v e   t h e   \" C E R T I F I C A T E \"   l a b e l ,   c o n t a i n   n o   h e a d e r s ,   a n d   t h e   e n c o d e d   d a t a   m u s t   b e   a   B E R - e n c o d e d   A S N . 1   C e r t i f i c a t e   s t r u c t u r e   a s   d e s c r i b e d   i n   s e c t i o n   4   o f   R F C 5 2 8 0 .   E x a m p l e   c e r t i f i c a t e   c o n t e n t :   - - - - - B E G I N   C E R T I F I C A T E - - - - -   M I I D g j C C A m q g A w I B A g I U C 1 N 1 E J 4 Q n s d 3 2 2 B h D P R w m g 3 b / o A w D Q Y J K o Z I h v c N A Q E L   B Q A w X D E L M A k G A 1 U E B h M C e H g x C j A I B g N V B A g M A X g x C j A I B g N V B A c M A X g x C j A I B g N V   B A o M A X g x C j A I B g N V B A s M A X g x C z A J B g N V B A M M A m N h M R A w D g Y J K o Z I h v c N A Q k B F g F 4   M B 4 X D T I w M D c w N j I y M D c w M F o X D T I 1 M D c w N T I y M D c w M F o w N z E V M B M G A 1 U E C h M M c 3 l z   d G V t O m 5 v Z G V z M R 4 w H A Y D V Q Q D E x V z e X N 0 Z W 0 6 b m 9 k Z T o x M j c u M C 4 w L j E w g g E i M A 0 G   C S q G S I b 3 D Q E B A Q U A A 4 I B D w A w g g E K A o I B A Q D n e 5 X 2 e Q 1 J c L Z k K v h z C R 4 H x l 9 + Z m U 3   + e 1 z f O y w L d o Q x r P i + o 4 h V s U H 3 q 0 y 5 2 B M a 7 u 1 y e h H D R S a q 9 u 6 2 c m i 5 e k g X h X H z G m m   k m W 5 n 0 i t R E C v 3 S F s S m 2 D S g h R K f 0 m m ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23091"
  },
  {
    "question": "What is Approval or rejection?",
    "answer": "B e f o r e   a   s i g n e r   i s s u e s   a   c e r t i f i c a t e   b a s e d   o n   a   C e r t i f i c a t e S i g n i n g R e q u e s t ,   t h e   s i g n e r   t y p i c a l l y   c h e c k s   t h a t   t h e   i s s u a n c e   f o r   t h a t   C S R   h a s   b e e n   a p p r o v e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23092"
  },
  {
    "question": "What is Control plane automated approval?",
    "answer": "T h e   k u b e - c o n t r o l l e r - m a n a g e r   s h i p s   w i t h   a   b u i l t - i n   a p p r o v e r   f o r   c e r t i f i c a t e s   w i t h   a   s i g n e r N a m e   o f   k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t - k u b e l e t   t h a t   d e l e g a t e s   v a r i o u s   p e r m i s s i o n s   o n   C S R s   f o r   n o d e   c r e d e n t i a l s   t o   a u t h o r i z a t i o n .   T h e   k u b e - c o n t r o l l e r - m a n a g e r   P O S T s   S u b j e c t A c c e s s R e v i e w   r e s o u r c e s   t o   t h e   A P I   s e r v e r   i n   o r d e r   t o   c h e c k   a u t h o r i z a t i o n   f o r   c e r t i f i c a t e   a p p r o v a l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23093"
  },
  {
    "question": "What is Approval or rejection using kubectl?",
    "answer": "A   K u b e r n e t e s   a d m i n i s t r a t o r   ( w i t h   a p p r o p r i a t e   p e r m i s s i o n s )   c a n   m a n u a l l y   a p p r o v e   ( o r   d e n y )   C e r t i f i c a t e S i g n i n g R e q u e s t s   b y   u s i n g   t h e   k u b e c t l   c e r t i f i c a t e   a p p r o v e   a n d   k u b e c t l   c e r t i f i c a t e   d e n y   c o m m a n d s .   T o   a p p r o v e   a   C S R   w i t h   k u b e c t l :   k u b e c t l   c e r t i f i c a t e   a p p r o v e   < c e r t i f i c a t e - s i g n i n g - r e q u e s t - n a m e >   L i k e w i s e ,   t o   d e n y   a   C S R :   k u b e c t l   c e r t i f i c a t e   d e n y   < c e r t i f i c a t e - s i g n i n g - r e q u e s t - n a m e >",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23094"
  },
  {
    "question": "What is Approval or rejection using the Kubernetes API?",
    "answer": "U s e r s   o f   t h e   R E S T   A P I   c a n   a p p r o v e   C S R s   b y   s u b m i t t i n g   a n   U P D A T E   r e q u e s t   t o   t h e   a p p r o v a l   s u b r e s o u r c e   o f   t h e   C S R   t o   b e   a p p r o v e d .   F o r   e x a m p l e ,   y o u   c o u l d   w r i t e   a n   o p e r a t o r   t h a t   w a t c h e s   f o r   a   p a r t i c u l a r   k i n d   o f   C S R   a n d   t h e n   s e n d s   a n   U P D A T E   t o   a p p r o v e   t h e m .   W h e n   y o u   m a k e   a n   a p p r o v a l   o r   r e j e c t i o n   r e q u e s t ,   s e t   e i t h e r   t h e   A p p r o v e d   o r   D e n i e d   s t a t u s   c o n d i t i o n   b a s e d   o n   t h e   s t a t e   y o u   d e t e r m i n e :   F o r   A p p r o v e d   C S R s :   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1   k i n d :   C e r t i f i c a t e S i g n i n g R e q u e s t   . . .   s t a t u s :   c o n d i t i o n s :   -   l a s t U p d a t e T i m e :   \" 2 0 2 0 - 0 2 - 0 8 T 1 1 : 3 7 : 3 5 Z \"   l a s t T r a n s i t i o n T i m e :   \" 2 0 2 0 - 0 2 - 0 8 T 1 1 : 3 7 : 3 5 Z \"   m e s s a g e :   A p p r o v e d   b y   m y   c u s t o m   a p p r o v e r   c o n t r o l l e r   r e a s o n :   A p p r o v e d B y M y P o l i c y   #   Y o u   c a n   s e t   t h i s   t o   a n y   s t r i n g   t y p e :   A p p r o v e d   F o r   D e n i e d   C S R s :   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1   k i n d :   C e r t i f i c a t e S i g n i n g R e q u e s t   . . .   s t a t u s :   c o n d i t i o n s :   -   l a s t U p d a t e T i m e :   \" 2 0 2 0 - 0 2 - 0 8 T 1 1 : 3 7 : 3 5 Z \"   l a s t T r a n s i t i o n T i m e :   \" 2 0 2 0 - 0 2 - 0 8 T 1 1 : 3 7 : 3 5 Z \"   m e s s a g e :   D e n i e d   b y   m y   c u s t o m   a p p r o v e r   c o n t r o l l e r   r e a s o n :   D e n i e d B y M y P o l i c y   #   Y o u   c a n   s e t   t h i s   t o   a n y   s t r i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23095"
  },
  {
    "question": "What is Note:?",
    "answer": "P o d C e r t i f i c a t e R e q u e s t s   a r e   A P I   o b j e c t s   t a i l o r e d   t o   p r o v i s i o n i n g   c e r t i f i c a t e s   t o   w o r k l o a d s   r u n n i n g   a s   P o d s   w i t h i n   a   c l u s t e r .   T h e   u s e r   t y p i c a l l y   d o e s   n o t   i n t e r a c t   w i t h   P o d C e r t i f i c a t e R e q u e s t s   d i r e c t l y ,   b u t   u s e s   p o d C e r t i f i c a t e   p r o j e c t e d   v o l u m e   s o u r c e s ,   w h i c h   a r e   a   k u b e l e t   f e a t u r e   t h a t   h a n d l e s   s e c u r e   k e y   p r o v i s i o n i n g   a n d   a u t o m a t i c   c e r t i f i c a t e   r e f r e s h .   T h e   a p p l i c a t i o n   i n s i d e   t h e   p o d   o n l y   n e e d s   t o   k n o w   h o w   t o   r e a d   t h e   c e r t i f i c a t e s   f r o m   t h e   f i l e s y s t e m .   P o d C e r t i f i c a t e R e q u e s t s   a r e   s i m i l a r   t o   C e r t i f i c a t e S i g n i n g R e q u e s t s ,   b u t   h a v e   a   s i m p l e r   f o r m a t   e n a b l e d   b y   t h e i r   n a r r o w e r   u s e   c a s e .   A   P o d C e r t i f i c a t e R e q u e s t   h a s   t h e   f o l l o w i n g   s p e c   f i e l d s :   s i g n e r N a m e :   T h e   s i g n e r   t o   w h i c h   t h i s   r e q u e s t   i s   a d d r e s s e d . p o d N a m e   a n d   p o d U I D :   T h e   P o d   t h a t   K u b e l e t   i s   r e q u e s t i n g   a   c e r t i f i c a t e   f o r . s e r v i c e A c c o u n t N a m e   a n d   s e r v i c e A c c o u n t U I D :   T h e   S e r v i c e A c c o u n t   c o r r e s p o n d i n g   t o   t h e   P o d . n o d e N a m e   a n d   n o d e U I D :   T h e   N o d e   c o r r e s p o n d i n g   t o   t h e   P o d . m a x E x p i r a t i o n S e c o n d s :   T h e   m a x i m u m   l i f e t i m e   t h a t   t h e   w o r k l o a d   a u t h o r   w i l l   a c c e p t   f o r   t h i s   c e r t i f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23096"
  },
  {
    "question": "What is Note:?",
    "answer": "A   C l u s t e r T r u s t B u n d l e s   i s   a   c l u s t e r - s c o p e d   o b j e c t   f o r   d i s t r i b u t i n g   X . 5 0 9   t r u s t   a n c h o r s   ( r o o t   c e r t i f i c a t e s )   t o   w o r k l o a d s   w i t h i n   t h e   c l u s t e r .   T h e y ' r e   d e s i g n e d   t o   w o r k   w e l l   w i t h   t h e   s i g n e r   c o n c e p t   f r o m   C e r t i f i c a t e S i g n i n g R e q u e s t s .   C l u s t e r T r u s t B u n d l e s   c a n   b e   u s e d   i n   t w o   m o d e s :   s i g n e r - l i n k e d   a n d   s i g n e r - u n l i n k e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23097"
  },
  {
    "question": "What is Common properties and validation?",
    "answer": "A l l   C l u s t e r T r u s t B u n d l e   o b j e c t s   h a v e   s t r o n g   v a l i d a t i o n   o n   t h e   c o n t e n t s   o f   t h e i r   t r u s t B u n d l e   f i e l d .   T h a t   f i e l d   m u s t   c o n t a i n   o n e   o r   m o r e   X . 5 0 9   c e r t i f i c a t e s ,   D E R - s e r i a l i z e d ,   e a c h   w r a p p e d   i n   a   P E M   C E R T I F I C A T E   b l o c k .   T h e   c e r t i f i c a t e s   m u s t   p a r s e   a s   v a l i d   X . 5 0 9   c e r t i f i c a t e s .   E s o t e r i c   P E M   f e a t u r e s   l i k e   i n t e r - b l o c k   d a t a   a n d   i n t r a - b l o c k   h e a d e r s   a r e   e i t h e r   r e j e c t e d   d u r i n g   o b j e c t   v a l i d a t i o n ,   o r   c a n   b e   i g n o r e d   b y   c o n s u m e r s   o f   t h e   o b j e c t .   A d d i t i o n a l l y ,   c o n s u m e r s   a r e   a l l o w e d   t o   r e o r d e r   t h e   c e r t i f i c a t e s   i n   t h e   b u n d l e   w i t h   t h e i r   o w n   a r b i t r a r y   b u t   s t a b l e   o r d e r i n g .   C l u s t e r T r u s t B u n d l e   o b j e c t s   s h o u l d   b e   c o n s i d e r e d   w o r l d - r e a d a b l e   w i t h i n   t h e   c l u s t e r .   I f   y o u r   c l u s t e r   u s e s   R B A C   a u t h o r i z a t i o n ,   a l l   S e r v i c e A c c o u n t s   h a v e   a   d e f a u l t   g r a n t   t h a t   a l l o w s   t h e m   t o   g e t ,   l i s t ,   a n d   w a t c h   a l l   C l u s t e r T r u s t B u n d l e   o b j e c t s .   I f   y o u   u s e   y o u r   o w n   a u t h o r i z a t i o n   m e c h a n i s m   a n d   y o u   h a v e   e n a b l e d   C l u s t e r T r u s t B u n d l e s   i n   y o u r   c l u s t e r ,   y o u   s h o u l d   s e t   u p   a n   e q u i v a l e n t   r u l e   t o   m a k e   t h e s e   o b j e c t s   p u b l i c   w i t h i n   t h e   c l u s t e r ,   s o   t h a t   t h e y   w o r k   a s   i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23098"
  },
  {
    "question": "What is Signer-linked ClusterTrustBundles?",
    "answer": "S i g n e r - l i n k e d   C l u s t e r T r u s t B u n d l e s   a r e   a s s o c i a t e d   w i t h   a   s i g n e r   n a m e ,   l i k e   t h i s :   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1   k i n d :   C l u s t e r T r u s t B u n d l e   m e t a d a t a :   n a m e :   e x a m p l e . c o m : m y s i g n e r : f o o   s p e c :   s i g n e r N a m e :   e x a m p l e . c o m / m y s i g n e r   t r u s t B u n d l e :   \" < . . .   P E M   d a t a   . . . > \"   T h e s e   C l u s t e r T r u s t B u n d l e s   a r e   i n t e n d e d   t o   b e   m a i n t a i n e d   b y   a   s i g n e r - s p e c i f i c   c o n t r o l l e r   i n   t h e   c l u s t e r ,   s o   t h e y   h a v e   s e v e r a l   s e c u r i t y   f e a t u r e s :   T o   c r e a t e   o r   u p d a t e   a   s i g n e r - l i n k e d   C l u s t e r T r u s t B u n d l e ,   y o u   m u s t   b e   p e r m i t t e d   t o   a t t e s t   o n   t h e   s i g n e r   ( c u s t o m   a u t h o r i z a t i o n   v e r b   a t t e s t ,   A P I   g r o u p   c e r t i f i c a t e s . k 8 s . i o ;   r e s o u r c e   p a t h   s i g n e r s ) .   Y o u   c a n   c o n f i g u r e   a u t h o r i z a t i o n   f o r   t h e   s p e c i f i c   r e s o u r c e   n a m e   < s i g n e r N a m e D o m a i n > / < s i g n e r N a m e P a t h >   o r   m a t c h   a   p a t t e r n   s u c h   a s   < s i g n e r N a m e D o m a i n > / * . S i g n e r - l i n k e d   C l u s t e r T r u s t B u n d l e s   m u s t   b e   n a m e d   w i t h   a   p r e f i x   d e r i v e d   f r o m   t h e i r   s p e c . s i g n e r N a m e   f i e l d .   S l a s h e s   ( / )   a r e   r e p l a c e d   w i t h   c o l o n s   ( : ) ,   a n d   a   f i n a l   c o l o n   i s   a p p e n d e d .   T h i s   i s   f o l l o w e d   b y   a n   a r b i t r a r y   n a m e .   F o r   e x a m p l e ,   t h e   s i g n e r   e x a m p l e . c o m / m y s i g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23099"
  },
  {
    "question": "What is Signer-unlinked ClusterTrustBundles?",
    "answer": "S i g n e r - u n l i n k e d   C l u s t e r T r u s t B u n d l e s   h a v e   a n   e m p t y   s p e c . s i g n e r N a m e   f i e l d ,   l i k e   t h i s :   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1   k i n d :   C l u s t e r T r u s t B u n d l e   m e t a d a t a :   n a m e :   f o o   s p e c :   #   n o   s i g n e r N a m e   s p e c i f i e d ,   s o   t h e   f i e l d   i s   b l a n k   t r u s t B u n d l e :   \" < . . .   P E M   d a t a   . . . > \"   T h e y   a r e   p r i m a r i l y   i n t e n d e d   f o r   c l u s t e r   c o n f i g u r a t i o n   u s e   c a s e s .   E a c h   s i g n e r - u n l i n k e d   C l u s t e r T r u s t B u n d l e   i s   a n   i n d e p e n d e n t   o b j e c t ,   i n   c o n t r a s t   t o   t h e   c u s t o m a r y   g r o u p i n g   b e h a v i o r   o f   s i g n e r - l i n k e d   C l u s t e r T r u s t B u n d l e s .   S i g n e r - u n l i n k e d   C l u s t e r T r u s t B u n d l e s   h a v e   n o   a t t e s t   v e r b   r e q u i r e m e n t .   I n s t e a d ,   y o u   c o n t r o l   a c c e s s   t o   t h e m   d i r e c t l y   u s i n g   t h e   u s u a l   m e c h a n i s m s ,   s u c h   a s   r o l e - b a s e d   a c c e s s   c o n t r o l .   T o   d i s t i n g u i s h   t h e m   f r o m   s i g n e r - l i n k e d   C l u s t e r T r u s t B u n d l e s ,   t h e   n a m e s   o f   s i g n e r - u n l i n k e d   C l u s t e r T r u s t B u n d l e s   m u s t   n o t   c o n t a i n   a   c o l o n   ( : ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23100"
  },
  {
    "question": "What is Accessing ClusterTrustBundles from pods?",
    "answer": "T h e   c o n t e n t s   o f   C l u s t e r T r u s t B u n d l e s   c a n   b e   i n j e c t e d   i n t o   t h e   c o n t a i n e r   f i l e s y s t e m ,   s i m i l a r   t o   C o n f i g M a p s   a n d   S e c r e t s .   S e e   t h e   c l u s t e r T r u s t B u n d l e   p r o j e c t e d   v o l u m e   s o u r c e   f o r   m o r e   d e t a i l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23101"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   M a n a g e   T L S   C e r t i f i c a t e s   i n   a   C l u s t e r R e a d   I s s u e   a   C e r t i f i c a t e   f o r   a   K u b e r n e t e s   A P I   C l i e n t   U s i n g   A   C e r t i f i c a t e S i g n i n g R e q u e s t V i e w   t h e   s o u r c e   c o d e   f o r   t h e   k u b e - c o n t r o l l e r - m a n a g e r   b u i l t   i n   s i g n e r V i e w   t h e   s o u r c e   c o d e   f o r   t h e   k u b e - c o n t r o l l e r - m a n a g e r   b u i l t   i n   a p p r o v e r F o r   d e t a i l s   o f   X . 5 0 9   i t s e l f ,   r e f e r   t o   R F C   5 2 8 0   s e c t i o n   3 . 1 F o r   i n f o r m a t i o n   o n   t h e   s y n t a x   o f   P K C S # 1 0   c e r t i f i c a t e   s i g n i n g   r e q u e s t s ,   r e f e r   t o   R F C   2 9 8 6 R e a d   a b o u t   t h e   C l u s t e r T r u s t B u n d l e   A P I : % ! s ( )   % ! s ( )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23102"
  },
  {
    "question": "What is 3.12 - Mapping PodSecurityPolicies to Pod Security Standards?",
    "answer": "T h e   t a b l e s   b e l o w   e n u m e r a t e   t h e   c o n f i g u r a t i o n   p a r a m e t e r s   o n   P o d S e c u r i t y P o l i c y   o b j e c t s ,   w h e t h e r   t h e   f i e l d   m u t a t e s   a n d / o r   v a l i d a t e s   p o d s ,   a n d   h o w   t h e   c o n f i g u r a t i o n   v a l u e s   m a p   t o   t h e   P o d   S e c u r i t y   S t a n d a r d s .   F o r   e a c h   a p p l i c a b l e   p a r a m e t e r ,   t h e   a l l o w e d   v a l u e s   f o r   t h e   B a s e l i n e   a n d   R e s t r i c t e d   p r o f i l e s   a r e   l i s t e d .   A n y t h i n g   o u t s i d e   t h e   a l l o w e d   v a l u e s   f o r   t h o s e   p r o f i l e s   w o u l d   f a l l   u n d e r   t h e   P r i v i l e g e d   p r o f i l e .   \" N o   o p i n i o n \"   m e a n s   a l l   v a l u e s   a r e   a l l o w e d   u n d e r   a l l   P o d   S e c u r i t y   S t a n d a r d s .   F o r   a   s t e p - b y - s t e p   m i g r a t i o n   g u i d e ,   s e e   M i g r a t e   f r o m   P o d S e c u r i t y P o l i c y   t o   t h e   B u i l t - I n   P o d S e c u r i t y   A d m i s s i o n   C o n t r o l l e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23103"
  },
  {
    "question": "What is PodSecurityPolicy Spec?",
    "answer": "T h e   f i e l d s   e n u m e r a t e d   i n   t h i s   t a b l e   a r e   p a r t   o f   t h e   P o d S e c u r i t y P o l i c y S p e c ,   w h i c h   i s   s p e c i f i e d   u n d e r   t h e   . s p e c   f i e l d   p a t h .   B a s e l i n e :   s u b s e t   o f   A U D I T _ W R I T E C H O W N D A C _ O V E R R I D E F O W N E R F S E T I D K I L L M K N O D N E T _ B I N D _ S E R V I C E S E T F C A P S E T G I D S E T P C A P S E T U I D S Y S _ C H R O O T   R e s t r i c t e d :   e m p t y   /   u n d e f i n e d   /   n i l   O R   a   l i s t   c o n t a i n i n g   o n l y   N E T _ B I N D _ S E R V I C E   B a s e l i n e :   n o   o p i n i o n   R e s t r i c t e d :   m u s t   i n c l u d e   A L L   B a s e l i n e :   a n y t h i n g   e x c e p t   h o s t P a t h *   R e s t r i c t e d :   s u b s e t   o f   c o n f i g M a p c s i d o w n w a r d A P I e m p t y D i r e p h e m e r a l p e r s i s t e n t V o l u m e C l a i m p r o j e c t e d s e c r e t   B a s e l i n e   &   R e s t r i c t e d :   s e L i n u x . r u l e   i s   M u s t R u n A s ,   w i t h   t h e   f o l l o w i n g   o p t i o n s   u s e r   i s   u n s e t   ( \" \"   /   u n d e f i n e d   /   n i l ) r o l e   i s   u n s e t   ( \" \"   /   u n d e f i n e d   /   n i l ) t y p e   i s   u n s e t   o r   o n e   o f :   c o n t a i n e r _ t ,   c o n t a i n e r _ i n i t _ t ,   c o n t a i n e r _ k v m _ t ,   c o n t a i n e r _ e n g i n e _ t l e v e l   i s   a n y t h i n g   B a s e l i n e :   A n y t h i n g   R e s t r i c t e d :   r u l e   i s   M u s t R u n A s N o n R o o t   O n l y   m u t a t i n g   i f   s e t   t o   f a l s e   B a s e l i n e :   N o   o p i n i o n   R e s t r i c t e d :   f a l s e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23104"
  },
  {
    "question": "What is PodSecurityPolicy annotations?",
    "answer": "T h e   a n n o t a t i o n s   e n u m e r a t e d   i n   t h i s   t a b l e   c a n   b e   s p e c i f i e d   u n d e r   . m e t a d a t a . a n n o t a t i o n s   o n   t h e   P o d S e c u r i t y P o l i c y   o b j e c t .   B a s e l i n e :   \" r u n t i m e / d e f a u l t , \"   ( T r a i l i n g   c o m m a   t o   a l l o w   u n s e t )   R e s t r i c t e d :   \" r u n t i m e / d e f a u l t \"   ( N o   t r a i l i n g   c o m m a )   l o c a l h o s t / *   v a l u e s   a r e   a l s o   p e r m i t t e d   f o r   b o t h   B a s e l i n e   &   R e s t r i c t e d .   B a s e l i n e :   \" r u n t i m e / d e f a u l t , \"   ( T r a i l i n g   c o m m a   t o   a l l o w   u n s e t )   R e s t r i c t e d :   \" r u n t i m e / d e f a u l t \"   ( N o   t r a i l i n g   c o m m a )   l o c a l h o s t / *   v a l u e s   a r e   a l s o   p e r m i t t e d   f o r   b o t h   B a s e l i n e   &   R e s t r i c t e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23105"
  },
  {
    "question": "What is Overview?",
    "answer": "A   k u b e l e t ' s   H T T P S   e n d p o i n t   e x p o s e s   A P I s   w h i c h   g i v e   a c c e s s   t o   d a t a   o f   v a r y i n g   s e n s i t i v i t y ,   a n d   a l l o w   y o u   t o   p e r f o r m   o p e r a t i o n s   w i t h   v a r y i n g   l e v e l s   o f   p o w e r   o n   t h e   n o d e   a n d   w i t h i n   c o n t a i n e r s .   T h i s   d o c u m e n t   d e s c r i b e s   h o w   t o   a u t h e n t i c a t e   a n d   a u t h o r i z e   a c c e s s   t o   t h e   k u b e l e t ' s   H T T P S   e n d p o i n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23106"
  },
  {
    "question": "What is Kubelet authentication?",
    "answer": "B y   d e f a u l t ,   r e q u e s t s   t o   t h e   k u b e l e t ' s   H T T P S   e n d p o i n t   t h a t   a r e   n o t   r e j e c t e d   b y   o t h e r   c o n f i g u r e d   a u t h e n t i c a t i o n   m e t h o d s   a r e   t r e a t e d   a s   a n o n y m o u s   r e q u e s t s ,   a n d   g i v e n   a   u s e r n a m e   o f   s y s t e m : a n o n y m o u s   a n d   a   g r o u p   o f   s y s t e m : u n a u t h e n t i c a t e d .   T o   d i s a b l e   a n o n y m o u s   a c c e s s   a n d   s e n d   4 0 1   U n a u t h o r i z e d   r e s p o n s e s   t o   u n a u t h e n t i c a t e d   r e q u e s t s :   s t a r t   t h e   k u b e l e t   w i t h   t h e   - - a n o n y m o u s - a u t h = f a l s e   f l a g   T o   e n a b l e   X 5 0 9   c l i e n t   c e r t i f i c a t e   a u t h e n t i c a t i o n   t o   t h e   k u b e l e t ' s   H T T P S   e n d p o i n t :   s t a r t   t h e   k u b e l e t   w i t h   t h e   - - c l i e n t - c a - f i l e   f l a g ,   p r o v i d i n g   a   C A   b u n d l e   t o   v e r i f y   c l i e n t   c e r t i f i c a t e s   w i t h s t a r t   t h e   a p i s e r v e r   w i t h   - - k u b e l e t - c l i e n t - c e r t i f i c a t e   a n d   - - k u b e l e t - c l i e n t - k e y   f l a g s s e e   t h e   a p i s e r v e r   a u t h e n t i c a t i o n   d o c u m e n t a t i o n   f o r   m o r e   d e t a i l s   T o   e n a b l e   A P I   b e a r e r   t o k e n s   ( i n c l u d i n g   s e r v i c e   a c c o u n t   t o k e n s )   t o   b e   u s e d   t o   a u t h e n t i c a t e   t o   t h e   k u b e l e t ' s   H T T P S   e n d p o i n t :   e n s u r e   t h e   a u t h e n t i c a t i o n . k 8 s . i o / v 1 b e t a 1   A P I   g r o u p   i s   e n a b l e d   i n   t h e   A P I   s e r v e r s t a r t   t h e   k u b e l e t   w i t h   t h e   - - a u t h e n t i c a t i o n - t o k e n - w e b h o o k   a n d   - - k u b e c o n f i g   f l a g s t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23107"
  },
  {
    "question": "What is Kubelet authorization?",
    "answer": "A n y   r e q u e s t   t h a t   i s   s u c c e s s f u l l y   a u t h e n t i c a t e d   ( i n c l u d i n g   a n   a n o n y m o u s   r e q u e s t )   i s   t h e n   a u t h o r i z e d .   T h e   d e f a u l t   a u t h o r i z a t i o n   m o d e   i s   A l w a y s A l l o w ,   w h i c h   a l l o w s   a l l   r e q u e s t s .   T h e r e   a r e   m a n y   p o s s i b l e   r e a s o n s   t o   s u b d i v i d e   a c c e s s   t o   t h e   k u b e l e t   A P I :   a n o n y m o u s   a u t h   i s   e n a b l e d ,   b u t   a n o n y m o u s   u s e r s '   a b i l i t y   t o   c a l l   t h e   k u b e l e t   A P I   s h o u l d   b e   l i m i t e d b e a r e r   t o k e n   a u t h   i s   e n a b l e d ,   b u t   a r b i t r a r y   A P I   u s e r s '   ( l i k e   s e r v i c e   a c c o u n t s )   a b i l i t y   t o   c a l l   t h e   k u b e l e t   A P I   s h o u l d   b e   l i m i t e d c l i e n t   c e r t i f i c a t e   a u t h   i s   e n a b l e d ,   b u t   o n l y   s o m e   o f   t h e   c l i e n t   c e r t i f i c a t e s   s i g n e d   b y   t h e   c o n f i g u r e d   C A   s h o u l d   b e   a l l o w e d   t o   u s e   t h e   k u b e l e t   A P I   T o   s u b d i v i d e   a c c e s s   t o   t h e   k u b e l e t   A P I ,   d e l e g a t e   a u t h o r i z a t i o n   t o   t h e   A P I   s e r v e r :   e n s u r e   t h e   a u t h o r i z a t i o n . k 8 s . i o / v 1 b e t a 1   A P I   g r o u p   i s   e n a b l e d   i n   t h e   A P I   s e r v e r s t a r t   t h e   k u b e l e t   w i t h   t h e   - - a u t h o r i z a t i o n - m o d e = W e b h o o k   a n d   t h e   - - k u b e c o n f i g   f l a g s t h e   k u b e l e t   c a l l s   t h e   S u b j e c t A c c e s s R e v i e w   A P I   o n   t h e   c o n f i g u r e d   A P I   s e r v e r   t o   d e t e r m i n e   w h e t h e r   e a c h   r e q u e s t   i s   a u t h o r i z e d   T h e   k u b e l e t   a u t h o r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23108"
  },
  {
    "question": "What is Fine-grained authorization?",
    "answer": "W h e n   t h e   f e a t u r e   g a t e   K u b e l e t F i n e G r a i n e d A u t h z   i s   e n a b l e d   k u b e l e t   p e r f o r m s   a   f i n e - g r a i n e d   c h e c k   b e f o r e   f a l l i n g   b a c k   t o   t h e   p r o x y   s u b r e s o u r c e   f o r   t h e   / p o d s ,   / r u n n i n g P o d s ,   / c o n f i g z   a n d   / h e a l t h z   e n d p o i n t s .   T h e   r e s o u r c e   a n d   s u b r e s o u r c e   a r e   d e t e r m i n e d   f r o m   t h e   i n c o m i n g   r e q u e s t ' s   p a t h :   W h e n   t h e   f e a t u r e - g a t e   K u b e l e t F i n e G r a i n e d A u t h z   i s   e n a b l e d ,   e n s u r e   t h e   u s e r   i d e n t i f i e d   b y   t h e   - - k u b e l e t - c l i e n t - c e r t i f i c a t e   a n d   - - k u b e l e t - c l i e n t - k e y   f l a g s   p a s s e d   t o   t h e   A P I   s e r v e r   i s   a u t h o r i z e d   f o r   t h e   f o l l o w i n g   a t t r i b u t e s :   v e r b = * ,   r e s o u r c e = n o d e s ,   s u b r e s o u r c e = p r o x y v e r b = * ,   r e s o u r c e = n o d e s ,   s u b r e s o u r c e = s t a t s v e r b = * ,   r e s o u r c e = n o d e s ,   s u b r e s o u r c e = l o g v e r b = * ,   r e s o u r c e = n o d e s ,   s u b r e s o u r c e = m e t r i c s v e r b = * ,   r e s o u r c e = n o d e s ,   s u b r e s o u r c e = c o n f i g z v e r b = * ,   r e s o u r c e = n o d e s ,   s u b r e s o u r c e = h e a l t h z v e r b = * ,   r e s o u r c e = n o d e s ,   s u b r e s o u r c e = p o d s   I f   R B A C   a u t h o r i z a t i o n   i s   u s e d ,   e n a b l i n g   t h i s   g a t e   a l s o   e n s u r e   t h a t   t h e   b u i l t i n   s y s t e m : k u b e l e t - a p i - a d m i n   C l u s t e r R o l e   i s   u p d a t e d   w i t h   p e r m i s s i o n s   t o   a c c e s s   a l l   t h e   a b o v e   m e n t i o n e d   s u b r e s o u r c e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23109"
  },
  {
    "question": "What is 3.14 - TLS bootstrapping?",
    "answer": "I n   a   K u b e r n e t e s   c l u s t e r ,   t h e   c o m p o n e n t s   o n   t h e   w o r k e r   n o d e s   -   k u b e l e t   a n d   k u b e - p r o x y   -   n e e d   t o   c o m m u n i c a t e   w i t h   K u b e r n e t e s   c o n t r o l   p l a n e   c o m p o n e n t s ,   s p e c i f i c a l l y   k u b e - a p i s e r v e r .   I n   o r d e r   t o   e n s u r e   t h a t   c o m m u n i c a t i o n   i s   k e p t   p r i v a t e ,   n o t   i n t e r f e r e d   w i t h ,   a n d   e n s u r e   t h a t   e a c h   c o m p o n e n t   o f   t h e   c l u s t e r   i s   t a l k i n g   t o   a n o t h e r   t r u s t e d   c o m p o n e n t ,   w e   s t r o n g l y   r e c o m m e n d   u s i n g   c l i e n t   T L S   c e r t i f i c a t e s   o n   n o d e s .   T h e   n o r m a l   p r o c e s s   o f   b o o t s t r a p p i n g   t h e s e   c o m p o n e n t s ,   e s p e c i a l l y   w o r k e r   n o d e s   t h a t   n e e d   c e r t i f i c a t e s   s o   t h e y   c a n   c o m m u n i c a t e   s a f e l y   w i t h   k u b e - a p i s e r v e r ,   c a n   b e   a   c h a l l e n g i n g   p r o c e s s   a s   i t   i s   o f t e n   o u t s i d e   o f   t h e   s c o p e   o f   K u b e r n e t e s   a n d   r e q u i r e s   s i g n i f i c a n t   a d d i t i o n a l   w o r k .   T h i s   i n   t u r n ,   c a n   m a k e   i t   c h a l l e n g i n g   t o   i n i t i a l i z e   o r   s c a l e   a   c l u s t e r .   I n   o r d e r   t o   s i m p l i f y   t h e   p r o c e s s ,   b e g i n n i n g   i n   v e r s i o n   1 . 4 ,   K u b e r n e t e s   i n t r o d u c e d   a   c e r t i f i c a t e   r e q u e s t   a n d   s i g n i n g   A P I .   T h e   p r o p o s a l   c a n   b e   f o u n d   h e r e .   T h i s   d o c u m e n t   d e s c r i b e s   t h e   p r o c e s s   o f   n o d e   i n i t i a l i z a t i o n ,   h o w   t o   s e t   u p   T L S   c l i e n t   c e r t i f i c a t e   b ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23110"
  },
  {
    "question": "What is Initialization process?",
    "answer": "W h e n   a   w o r k e r   n o d e   s t a r t s   u p ,   t h e   k u b e l e t   d o e s   t h e   f o l l o w i n g :   L o o k   f o r   i t s   k u b e c o n f i g   f i l e R e t r i e v e   t h e   U R L   o f   t h e   A P I   s e r v e r   a n d   c r e d e n t i a l s ,   n o r m a l l y   a   T L S   k e y   a n d   s i g n e d   c e r t i f i c a t e   f r o m   t h e   k u b e c o n f i g   f i l e A t t e m p t   t o   c o m m u n i c a t e   w i t h   t h e   A P I   s e r v e r   u s i n g   t h e   c r e d e n t i a l s .   A s s u m i n g   t h a t   t h e   k u b e - a p i s e r v e r   s u c c e s s f u l l y   v a l i d a t e s   t h e   k u b e l e t ' s   c r e d e n t i a l s ,   i t   w i l l   t r e a t   t h e   k u b e l e t   a s   a   v a l i d   n o d e ,   a n d   b e g i n   t o   a s s i g n   p o d s   t o   i t .   N o t e   t h a t   t h e   a b o v e   p r o c e s s   d e p e n d s   u p o n :   E x i s t e n c e   o f   a   k e y   a n d   c e r t i f i c a t e   o n   t h e   l o c a l   h o s t   i n   t h e   k u b e c o n f i g T h e   c e r t i f i c a t e   h a v i n g   b e e n   s i g n e d   b y   a   C e r t i f i c a t e   A u t h o r i t y   ( C A )   t r u s t e d   b y   t h e   k u b e - a p i s e r v e r   A l l   o f   t h e   f o l l o w i n g   a r e   r e s p o n s i b i l i t i e s   o f   w h o e v e r   s e t s   u p   a n d   m a n a g e s   t h e   c l u s t e r :   C r e a t i n g   t h e   C A   k e y   a n d   c e r t i f i c a t e D i s t r i b u t i n g   t h e   C A   c e r t i f i c a t e   t o   t h e   c o n t r o l   p l a n e   n o d e s ,   w h e r e   k u b e - a p i s e r v e r   i s   r u n n i n g C r e a t i n g   a   k e y   a n d   c e r t i f i c a t e   f o r   e a c h   k u b e l e t ;   s t r o n g l y   r e c o m m e n d e d   t o   h a v e   a   u n i q u e   o n e ,   w i t h   a   u n i q u e   C N ,   f o r   e a c h   k u b e l e t S i g n i n g   t h e   k u b e l e t   c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23111"
  },
  {
    "question": "What is Bootstrap initialization?",
    "answer": "I n   t h e   b o o t s t r a p   i n i t i a l i z a t i o n   p r o c e s s ,   t h e   f o l l o w i n g   o c c u r s :   k u b e l e t   b e g i n s k u b e l e t   s e e s   t h a t   i t   d o e s   n o t   h a v e   a   k u b e c o n f i g   f i l e k u b e l e t   s e a r c h e s   f o r   a n d   f i n d s   a   b o o t s t r a p - k u b e c o n f i g   f i l e k u b e l e t   r e a d s   i t s   b o o t s t r a p   f i l e ,   r e t r i e v i n g   t h e   U R L   o f   t h e   A P I   s e r v e r   a n d   a   l i m i t e d   u s a g e   \" t o k e n \" k u b e l e t   c o n n e c t s   t o   t h e   A P I   s e r v e r ,   a u t h e n t i c a t e s   u s i n g   t h e   t o k e n k u b e l e t   n o w   h a s   l i m i t e d   c r e d e n t i a l s   t o   c r e a t e   a n d   r e t r i e v e   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t   ( C S R ) k u b e l e t   c r e a t e s   a   C S R   f o r   i t s e l f   w i t h   t h e   s i g n e r N a m e   s e t   t o   k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t - k u b e l e t C S R   i s   a p p r o v e d   i n   o n e   o f   t w o   w a y s : I f   c o n f i g u r e d ,   k u b e - c o n t r o l l e r - m a n a g e r   a u t o m a t i c a l l y   a p p r o v e s   t h e   C S R I f   c o n f i g u r e d ,   a n   o u t s i d e   p r o c e s s ,   p o s s i b l y   a   p e r s o n ,   a p p r o v e s   t h e   C S R   u s i n g   t h e   K u b e r n e t e s   A P I   o r   v i a   k u b e c t l C e r t i f i c a t e   i s   c r e a t e d   f o r   t h e   k u b e l e t C e r t i f i c a t e   i s   i s s u e d   t o   t h e   k u b e l e t k u b e l e t   r e t r i e v e s   t h e   c e r t i f i c a t e k u b e l e t   c r e a t e s   a   p r o p e r   k u b e c o n f i g   w i t h   t h e   k e y   a n d   s i g n e d   c e r t i f i c a t e k u b e l e t   b e g i n s   n o r m a l   o p e r a t i o n O p t i o n a l :   i f   c o n f i g u r e d ,   k u b e l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23112"
  },
  {
    "question": "What is Configuration?",
    "answer": "T o   c o n f i g u r e   f o r   T L S   b o o t s t r a p p i n g   a n d   o p t i o n a l   a u t o m a t i c   a p p r o v a l ,   y o u   m u s t   c o n f i g u r e   o p t i o n s   o n   t h e   f o l l o w i n g   c o m p o n e n t s :   k u b e - a p i s e r v e r k u b e - c o n t r o l l e r - m a n a g e r k u b e l e t i n - c l u s t e r   r e s o u r c e s :   C l u s t e r R o l e B i n d i n g   a n d   p o t e n t i a l l y   C l u s t e r R o l e   I n   a d d i t i o n ,   y o u   n e e d   y o u r   K u b e r n e t e s   C e r t i f i c a t e   A u t h o r i t y   ( C A ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23113"
  },
  {
    "question": "What is Certificate Authority?",
    "answer": "A s   w i t h o u t   b o o t s t r a p p i n g ,   y o u   w i l l   n e e d   a   C e r t i f i c a t e   A u t h o r i t y   ( C A )   k e y   a n d   c e r t i f i c a t e .   A s   w i t h o u t   b o o t s t r a p p i n g ,   t h e s e   w i l l   b e   u s e d   t o   s i g n   t h e   k u b e l e t   c e r t i f i c a t e .   A s   b e f o r e ,   i t   i s   y o u r   r e s p o n s i b i l i t y   t o   d i s t r i b u t e   t h e m   t o   c o n t r o l   p l a n e   n o d e s .   F o r   t h e   p u r p o s e s   o f   t h i s   d o c u m e n t ,   w e   w i l l   a s s u m e   t h e s e   h a v e   b e e n   d i s t r i b u t e d   t o   c o n t r o l   p l a n e   n o d e s   a t   / v a r / l i b / k u b e r n e t e s / c a . p e m   ( c e r t i f i c a t e )   a n d   / v a r / l i b / k u b e r n e t e s / c a - k e y . p e m   ( k e y ) .   W e   w i l l   r e f e r   t o   t h e s e   a s   \" K u b e r n e t e s   C A   c e r t i f i c a t e   a n d   k e y \" .   A l l   K u b e r n e t e s   c o m p o n e n t s   t h a t   u s e   t h e s e   c e r t i f i c a t e s   -   k u b e l e t ,   k u b e - a p i s e r v e r ,   k u b e - c o n t r o l l e r - m a n a g e r   -   a s s u m e   t h e   k e y   a n d   c e r t i f i c a t e   t o   b e   P E M - e n c o d e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23114"
  },
  {
    "question": "What is kube-apiserver configuration?",
    "answer": "T h e   k u b e - a p i s e r v e r   h a s   s e v e r a l   r e q u i r e m e n t s   t o   e n a b l e   T L S   b o o t s t r a p p i n g :   R e c o g n i z i n g   C A   t h a t   s i g n s   t h e   c l i e n t   c e r t i f i c a t e A u t h e n t i c a t i n g   t h e   b o o t s t r a p p i n g   k u b e l e t   t o   t h e   s y s t e m : b o o t s t r a p p e r s   g r o u p A u t h o r i z e   t h e   b o o t s t r a p p i n g   k u b e l e t   t o   c r e a t e   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t   ( C S R )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23115"
  },
  {
    "question": "What is Recognizing client certificates?",
    "answer": "T h i s   i s   n o r m a l   f o r   a l l   c l i e n t   c e r t i f i c a t e   a u t h e n t i c a t i o n .   I f   n o t   a l r e a d y   s e t ,   a d d   t h e   - - c l i e n t - c a - f i l e = F I L E N A M E   f l a g   t o   t h e   k u b e - a p i s e r v e r   c o m m a n d   t o   e n a b l e   c l i e n t   c e r t i f i c a t e   a u t h e n t i c a t i o n ,   r e f e r e n c i n g   a   c e r t i f i c a t e   a u t h o r i t y   b u n d l e   c o n t a i n i n g   t h e   s i g n i n g   c e r t i f i c a t e ,   f o r   e x a m p l e   - - c l i e n t - c a - f i l e = / v a r / l i b / k u b e r n e t e s / c a . p e m .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23116"
  },
  {
    "question": "What is Initial bootstrap authentication?",
    "answer": "I n   o r d e r   f o r   t h e   b o o t s t r a p p i n g   k u b e l e t   t o   c o n n e c t   t o   k u b e - a p i s e r v e r   a n d   r e q u e s t   a   c e r t i f i c a t e ,   i t   m u s t   f i r s t   a u t h e n t i c a t e   t o   t h e   s e r v e r .   Y o u   c a n   u s e   a n y   a u t h e n t i c a t o r   t h a t   c a n   a u t h e n t i c a t e   t h e   k u b e l e t .   W h i l e   a n y   a u t h e n t i c a t i o n   s t r a t e g y   c a n   b e   u s e d   f o r   t h e   k u b e l e t ' s   i n i t i a l   b o o t s t r a p   c r e d e n t i a l s ,   t h e   f o l l o w i n g   t w o   a u t h e n t i c a t o r s   a r e   r e c o m m e n d e d   f o r   e a s e   o f   p r o v i s i o n i n g .   B o o t s t r a p   T o k e n s T o k e n   a u t h e n t i c a t i o n   f i l e   U s i n g   b o o t s t r a p   t o k e n s   i s   a   s i m p l e r   a n d   m o r e   e a s i l y   m a n a g e d   m e t h o d   t o   a u t h e n t i c a t e   k u b e l e t s ,   a n d   d o e s   n o t   r e q u i r e   a n y   a d d i t i o n a l   f l a g s   w h e n   s t a r t i n g   k u b e - a p i s e r v e r .   W h i c h e v e r   m e t h o d   y o u   c h o o s e ,   t h e   r e q u i r e m e n t   i s   t h a t   t h e   k u b e l e t   b e   a b l e   t o   a u t h e n t i c a t e   a s   a   u s e r   w i t h   t h e   r i g h t s   t o :   c r e a t e   a n d   r e t r i e v e   C S R s b e   a u t o m a t i c a l l y   a p p r o v e d   t o   r e q u e s t   n o d e   c l i e n t   c e r t i f i c a t e s ,   i f   a u t o m a t i c   a p p r o v a l   i s   e n a b l e d .   A   k u b e l e t   a u t h e n t i c a t i n g   u s i n g   b o o t s t r a p   t o k e n s   i s   a u t h e n t i c a t e d   a s   a   u s e r   i n   t h e   g r o u p   s y s t e m : b o o t s t r a p p e r s ,   w h i c h   i s   t h e   s t a n d a r d   m e t h o d   t o   u s e .   A s   t h i s   f e a t u r e   m a t u r e s ,   y o u   s h o u l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23117"
  },
  {
    "question": "What is Bootstrap tokens?",
    "answer": "B o o t s t r a p   t o k e n s   a r e   d e s c r i b e d   i n   d e t a i l   h e r e .   T h e s e   a r e   t o k e n s   t h a t   a r e   s t o r e d   a s   s e c r e t s   i n   t h e   K u b e r n e t e s   c l u s t e r ,   a n d   t h e n   i s s u e d   t o   t h e   i n d i v i d u a l   k u b e l e t .   Y o u   c a n   u s e   a   s i n g l e   t o k e n   f o r   a n   e n t i r e   c l u s t e r ,   o r   i s s u e   o n e   p e r   w o r k e r   n o d e .   T h e   p r o c e s s   i s   t w o - f o l d :   C r e a t e   a   K u b e r n e t e s   s e c r e t   w i t h   t h e   t o k e n   I D ,   s e c r e t   a n d   s c o p e ( s ) . I s s u e   t h e   t o k e n   t o   t h e   k u b e l e t   F r o m   t h e   k u b e l e t ' s   p e r s p e c t i v e ,   o n e   t o k e n   i s   l i k e   a n o t h e r   a n d   h a s   n o   s p e c i a l   m e a n i n g .   F r o m   t h e   k u b e - a p i s e r v e r ' s   p e r s p e c t i v e ,   h o w e v e r ,   t h e   b o o t s t r a p   t o k e n   i s   s p e c i a l .   D u e   t o   i t s   t y p e ,   n a m e s p a c e   a n d   n a m e ,   k u b e - a p i s e r v e r   r e c o g n i z e s   i t   a s   a   s p e c i a l   t o k e n ,   a n d   g r a n t s   a n y o n e   a u t h e n t i c a t i n g   w i t h   t h a t   t o k e n   s p e c i a l   b o o t s t r a p   r i g h t s ,   n o t a b l y   t r e a t i n g   t h e m   a s   a   m e m b e r   o f   t h e   s y s t e m : b o o t s t r a p p e r s   g r o u p .   T h i s   f u l f i l l s   a   b a s i c   r e q u i r e m e n t   f o r   T L S   b o o t s t r a p p i n g .   T h e   d e t a i l s   f o r   c r e a t i n g   t h e   s e c r e t   a r e   a v a i l a b l e   h e r e .   I f   y o u   w a n t   t o   u s e   b o o t s t r a p   t o k e n s ,   y o u   m u s t   e n a b l e   i t   o n   k u b e - a p i s e r v e r   w i t h   t h e   f l a g :   - - e n a b l e - b o o t s t r a p - t o k e n - a u t h = t r u e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23118"
  },
  {
    "question": "What is Token authentication file?",
    "answer": "k u b e - a p i s e r v e r   h a s   t h e   a b i l i t y   t o   a c c e p t   t o k e n s   a s   a u t h e n t i c a t i o n .   T h e s e   t o k e n s   a r e   a r b i t r a r y   b u t   s h o u l d   r e p r e s e n t   a t   l e a s t   1 2 8   b i t s   o f   e n t r o p y   d e r i v e d   f r o m   a   s e c u r e   r a n d o m   n u m b e r   g e n e r a t o r   ( s u c h   a s   / d e v / u r a n d o m   o n   m o s t   m o d e r n   L i n u x   s y s t e m s ) .   T h e r e   a r e   m u l t i p l e   w a y s   y o u   c a n   g e n e r a t e   a   t o k e n .   F o r   e x a m p l e :   h e a d   - c   1 6   / d e v / u r a n d o m   |   o d   - A n   - t   x   |   t r   - d   '   '   T h i s   w i l l   g e n e r a t e   t o k e n s   t h a t   l o o k   l i k e   0 2 b 5 0 b 0 5 2 8 3 e 9 8 d d 0 f d 7 1 d b 4 9 6 e f 0 1 e 8 .   T h e   t o k e n   f i l e   s h o u l d   l o o k   l i k e   t h e   f o l l o w i n g   e x a m p l e ,   w h e r e   t h e   f i r s t   t h r e e   v a l u e s   c a n   b e   a n y t h i n g   a n d   t h e   q u o t e d   g r o u p   n a m e   s h o u l d   b e   a s   d e p i c t e d :   0 2 b 5 0 b 0 5 2 8 3 e 9 8 d d 0 f d 7 1 d b 4 9 6 e f 0 1 e 8 , k u b e l e t - b o o t s t r a p , 1 0 0 0 1 , \" s y s t e m : b o o t s t r a p p e r s \"   A d d   t h e   - - t o k e n - a u t h - f i l e = F I L E N A M E   f l a g   t o   t h e   k u b e - a p i s e r v e r   c o m m a n d   ( i n   y o u r   s y s t e m d   u n i t   f i l e   p e r h a p s )   t o   e n a b l e   t h e   t o k e n   f i l e .   S e e   d o c s   h e r e   f o r   f u r t h e r   d e t a i l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23119"
  },
  {
    "question": "What is Authorize kubelet to create CSR?",
    "answer": "N o w   t h a t   t h e   b o o t s t r a p p i n g   n o d e   i s   a u t h e n t i c a t e d   a s   p a r t   o f   t h e   s y s t e m : b o o t s t r a p p e r s   g r o u p ,   i t   n e e d s   t o   b e   a u t h o r i z e d   t o   c r e a t e   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t   ( C S R )   a s   w e l l   a s   r e t r i e v e   i t   w h e n   d o n e .   F o r t u n a t e l y ,   K u b e r n e t e s   s h i p s   w i t h   a   C l u s t e r R o l e   w i t h   p r e c i s e l y   t h e s e   ( a n d   o n l y   t h e s e )   p e r m i s s i o n s ,   s y s t e m : n o d e - b o o t s t r a p p e r .   T o   d o   t h i s ,   y o u   o n l y   n e e d   t o   c r e a t e   a   C l u s t e r R o l e B i n d i n g   t h a t   b i n d s   t h e   s y s t e m : b o o t s t r a p p e r s   g r o u p   t o   t h e   c l u s t e r   r o l e   s y s t e m : n o d e - b o o t s t r a p p e r .   #   e n a b l e   b o o t s t r a p p i n g   n o d e s   t o   c r e a t e   C S R   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e B i n d i n g   m e t a d a t a :   n a m e :   c r e a t e - c s r s - f o r - b o o t s t r a p p i n g   s u b j e c t s :   -   k i n d :   G r o u p   n a m e :   s y s t e m : b o o t s t r a p p e r s   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o   r o l e R e f :   k i n d :   C l u s t e r R o l e   n a m e :   s y s t e m : n o d e - b o o t s t r a p p e r   a p i G r o u p :   r b a c . a u t h o r i z a t i o n . k 8 s . i o",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23120"
  },
  {
    "question": "What is kube-controller-manager configuration?",
    "answer": "W h i l e   t h e   a p i s e r v e r   r e c e i v e s   t h e   r e q u e s t s   f o r   c e r t i f i c a t e s   f r o m   t h e   k u b e l e t   a n d   a u t h e n t i c a t e s   t h o s e   r e q u e s t s ,   t h e   c o n t r o l l e r - m a n a g e r   i s   r e s p o n s i b l e   f o r   i s s u i n g   a c t u a l   s i g n e d   c e r t i f i c a t e s .   T h e   c o n t r o l l e r - m a n a g e r   p e r f o r m s   t h i s   f u n c t i o n   v i a   a   c e r t i f i c a t e - i s s u i n g   c o n t r o l   l o o p .   T h i s   t a k e s   t h e   f o r m   o f   a   c f s s l   l o c a l   s i g n e r   u s i n g   a s s e t s   o n   d i s k .   C u r r e n t l y ,   a l l   c e r t i f i c a t e s   i s s u e d   h a v e   o n e   y e a r   v a l i d i t y   a n d   a   d e f a u l t   s e t   o f   k e y   u s a g e s .   I n   o r d e r   f o r   t h e   c o n t r o l l e r - m a n a g e r   t o   s i g n   c e r t i f i c a t e s ,   i t   n e e d s   t h e   f o l l o w i n g :   a c c e s s   t o   t h e   \" K u b e r n e t e s   C A   k e y   a n d   c e r t i f i c a t e \"   t h a t   y o u   c r e a t e d   a n d   d i s t r i b u t e d e n a b l i n g   C S R   s i g n i n g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23121"
  },
  {
    "question": "What is Access to key and certificate?",
    "answer": "A s   d e s c r i b e d   e a r l i e r ,   y o u   n e e d   t o   c r e a t e   a   K u b e r n e t e s   C A   k e y   a n d   c e r t i f i c a t e ,   a n d   d i s t r i b u t e   i t   t o   t h e   c o n t r o l   p l a n e   n o d e s .   T h e s e   w i l l   b e   u s e d   b y   t h e   c o n t r o l l e r - m a n a g e r   t o   s i g n   t h e   k u b e l e t   c e r t i f i c a t e s .   S i n c e   t h e s e   s i g n e d   c e r t i f i c a t e s   w i l l ,   i n   t u r n ,   b e   u s e d   b y   t h e   k u b e l e t   t o   a u t h e n t i c a t e   a s   a   r e g u l a r   k u b e l e t   t o   k u b e - a p i s e r v e r ,   i t   i s   i m p o r t a n t   t h a t   t h e   C A   p r o v i d e d   t o   t h e   c o n t r o l l e r - m a n a g e r   a t   t h i s   s t a g e   a l s o   b e   t r u s t e d   b y   k u b e - a p i s e r v e r   f o r   a u t h e n t i c a t i o n .   T h i s   i s   p r o v i d e d   t o   k u b e - a p i s e r v e r   w i t h   t h e   f l a g   - - c l i e n t - c a - f i l e = F I L E N A M E   ( f o r   e x a m p l e ,   - - c l i e n t - c a - f i l e = / v a r / l i b / k u b e r n e t e s / c a . p e m ) ,   a s   d e s c r i b e d   i n   t h e   k u b e - a p i s e r v e r   c o n f i g u r a t i o n   s e c t i o n .   T o   p r o v i d e   t h e   K u b e r n e t e s   C A   k e y   a n d   c e r t i f i c a t e   t o   k u b e - c o n t r o l l e r - m a n a g e r ,   u s e   t h e   f o l l o w i n g   f l a g s :   - - c l u s t e r - s i g n i n g - c e r t - f i l e = \" / e t c / p a t h / t o / k u b e r n e t e s / c a / c a . c r t \"   - - c l u s t e r - s i g n i n g - k e y - f i l e = \" / e t c / p a t h / t o / k u b e r n e t e s / c a / c a . k e y \"   F o r   e x a m p l e :   - - c l u s t e r - s i g n i n g - c e r t - f i l e = \" / v a r / l i b / k u b e r n e t e s / c a . p e m \"   - - c l u s t e r - s i g n i n g - k e y - f i l e = \" / v a r / l i b / k u b e r n e t e s / ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23122"
  },
  {
    "question": "What is Approval?",
    "answer": "I n   o r d e r   t o   a p p r o v e   C S R s ,   y o u   n e e d   t o   t e l l   t h e   c o n t r o l l e r - m a n a g e r   t h a t   i t   i s   a c c e p t a b l e   t o   a p p r o v e   t h e m .   T h i s   i s   d o n e   b y   g r a n t i n g   R B A C   p e r m i s s i o n s   t o   t h e   c o r r e c t   g r o u p .   T h e r e   a r e   t w o   d i s t i n c t   s e t s   o f   p e r m i s s i o n s :   n o d e c l i e n t :   I f   a   n o d e   i s   c r e a t i n g   a   n e w   c e r t i f i c a t e   f o r   a   n o d e ,   t h e n   i t   d o e s   n o t   h a v e   a   c e r t i f i c a t e   y e t .   I t   i s   a u t h e n t i c a t i n g   u s i n g   o n e   o f   t h e   t o k e n s   l i s t e d   a b o v e ,   a n d   t h u s   i s   p a r t   o f   t h e   g r o u p   s y s t e m : b o o t s t r a p p e r s . s e l f n o d e c l i e n t :   I f   a   n o d e   i s   r e n e w i n g   i t s   c e r t i f i c a t e ,   t h e n   i t   a l r e a d y   h a s   a   c e r t i f i c a t e   ( b y   d e f i n i t i o n ) ,   w h i c h   i t   u s e s   c o n t i n u o u s l y   t o   a u t h e n t i c a t e   a s   p a r t   o f   t h e   g r o u p   s y s t e m : n o d e s .   T o   e n a b l e   t h e   k u b e l e t   t o   r e q u e s t   a n d   r e c e i v e   a   n e w   c e r t i f i c a t e ,   c r e a t e   a   C l u s t e r R o l e B i n d i n g   t h a t   b i n d s   t h e   g r o u p   i n   w h i c h   t h e   b o o t s t r a p p i n g   n o d e   i s   a   m e m b e r   s y s t e m : b o o t s t r a p p e r s   t o   t h e   C l u s t e r R o l e   t h a t   g r a n t s   i t   p e r m i s s i o n ,   s y s t e m : c e r t i f i c a t e s . k 8 s . i o : c e r t i f i c a t e s i g n i n g r e q u e s t s : n o d e c l i e n t :   #   A p p r o v e   a l l   C S R s   f o r   t h e   g r o u p   \" s y s t e m : b o o t s t r a p p e r s \"   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23123"
  },
  {
    "question": "What is kubelet configuration?",
    "answer": "F i n a l l y ,   w i t h   t h e   c o n t r o l   p l a n e   n o d e s   p r o p e r l y   s e t   u p   a n d   a l l   o f   t h e   n e c e s s a r y   a u t h e n t i c a t i o n   a n d   a u t h o r i z a t i o n   i n   p l a c e ,   w e   c a n   c o n f i g u r e   t h e   k u b e l e t .   T h e   k u b e l e t   r e q u i r e s   t h e   f o l l o w i n g   c o n f i g u r a t i o n   t o   b o o t s t r a p :   A   p a t h   t o   s t o r e   t h e   k e y   a n d   c e r t i f i c a t e   i t   g e n e r a t e s   ( o p t i o n a l ,   c a n   u s e   d e f a u l t ) A   p a t h   t o   a   k u b e c o n f i g   f i l e   t h a t   d o e s   n o t   y e t   e x i s t ;   i t   w i l l   p l a c e   t h e   b o o t s t r a p p e d   c o n f i g   f i l e   h e r e A   p a t h   t o   a   b o o t s t r a p   k u b e c o n f i g   f i l e   t o   p r o v i d e   t h e   U R L   f o r   t h e   s e r v e r   a n d   b o o t s t r a p   c r e d e n t i a l s ,   e . g .   a   b o o t s t r a p   t o k e n O p t i o n a l :   i n s t r u c t i o n s   t o   r o t a t e   c e r t i f i c a t e s   T h e   b o o t s t r a p   k u b e c o n f i g   s h o u l d   b e   i n   a   p a t h   a v a i l a b l e   t o   t h e   k u b e l e t ,   f o r   e x a m p l e   / v a r / l i b / k u b e l e t / b o o t s t r a p - k u b e c o n f i g .   I t s   f o r m a t   i s   i d e n t i c a l   t o   a   n o r m a l   k u b e c o n f i g   f i l e .   A   s a m p l e   f i l e   m i g h t   l o o k   a s   f o l l o w s :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g   c l u s t e r s :   -   c l u s t e r :   c e r t i f i c a t e - a u t h o r i t y :   / v a r / l i b / k u b e r n e t e s / c a . p e m   s e r v e r :   h t t p s : / / m y . s e r v e r . e x a m p l e . c o m : 6 4 4 3   n a m e :   b o o t s t r a p   c o n t e x t s :   -   c o n t e x t :   c l u s t e r :   b o o t s t r a p   u s e r :   k u b e l e t - b o o t s t r a p   n a m e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23124"
  },
  {
    "question": "What is Client and serving certificates?",
    "answer": "A l l   o f   t h e   a b o v e   r e l a t e   t o   k u b e l e t   c l i e n t   c e r t i f i c a t e s ,   s p e c i f i c a l l y ,   t h e   c e r t i f i c a t e s   a   k u b e l e t   u s e s   t o   a u t h e n t i c a t e   t o   k u b e - a p i s e r v e r .   A   k u b e l e t   a l s o   c a n   u s e   s e r v i n g   c e r t i f i c a t e s .   T h e   k u b e l e t   i t s e l f   e x p o s e s   a n   h t t p s   e n d p o i n t   f o r   c e r t a i n   f e a t u r e s .   T o   s e c u r e   t h e s e ,   t h e   k u b e l e t   c a n   d o   o n e   o f :   u s e   p r o v i d e d   k e y   a n d   c e r t i f i c a t e ,   v i a   t h e   - - t l s - p r i v a t e - k e y - f i l e   a n d   - - t l s - c e r t - f i l e   f l a g s c r e a t e   s e l f - s i g n e d   k e y   a n d   c e r t i f i c a t e ,   i f   a   k e y   a n d   c e r t i f i c a t e   a r e   n o t   p r o v i d e d r e q u e s t   s e r v i n g   c e r t i f i c a t e s   f r o m   t h e   c l u s t e r   s e r v e r ,   v i a   t h e   C S R   A P I   T h e   c l i e n t   c e r t i f i c a t e   p r o v i d e d   b y   T L S   b o o t s t r a p p i n g   i s   s i g n e d ,   b y   d e f a u l t ,   f o r   c l i e n t   a u t h   o n l y ,   a n d   t h u s   c a n n o t   b e   u s e d   a s   s e r v i n g   c e r t i f i c a t e s ,   o r   s e r v e r   a u t h .   H o w e v e r ,   y o u   c a n   e n a b l e   i t s   s e r v e r   c e r t i f i c a t e ,   a t   l e a s t   p a r t i a l l y ,   v i a   c e r t i f i c a t e   r o t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23125"
  },
  {
    "question": "What is Certificate rotation?",
    "answer": "K u b e r n e t e s   v 1 . 8   a n d   h i g h e r   k u b e l e t   i m p l e m e n t s   f e a t u r e s   f o r   e n a b l i n g   r o t a t i o n   o f   i t s   c l i e n t   a n d / o r   s e r v i n g   c e r t i f i c a t e s .   N o t e ,   r o t a t i o n   o f   s e r v i n g   c e r t i f i c a t e   i s   a   b e t a   f e a t u r e   a n d   r e q u i r e s   t h e   R o t a t e K u b e l e t S e r v e r C e r t i f i c a t e   f e a t u r e   f l a g   o n   t h e   k u b e l e t   ( e n a b l e d   b y   d e f a u l t ) .   Y o u   c a n   c o n f i g u r e   t h e   k u b e l e t   t o   r o t a t e   i t s   c l i e n t   c e r t i f i c a t e s   b y   c r e a t i n g   n e w   C S R s   a s   i t s   e x i s t i n g   c r e d e n t i a l s   e x p i r e .   T o   e n a b l e   t h i s   f e a t u r e ,   u s e   t h e   r o t a t e C e r t i f i c a t e s   f i e l d   o f   k u b e l e t   c o n f i g u r a t i o n   f i l e   o r   p a s s   t h e   f o l l o w i n g   c o m m a n d   l i n e   a r g u m e n t   t o   t h e   k u b e l e t   ( d e p r e c a t e d ) :   - - r o t a t e - c e r t i f i c a t e s   E n a b l i n g   R o t a t e K u b e l e t S e r v e r C e r t i f i c a t e   c a u s e s   t h e   k u b e l e t   b o t h   t o   r e q u e s t   a   s e r v i n g   c e r t i f i c a t e   a f t e r   b o o t s t r a p p i n g   i t s   c l i e n t   c r e d e n t i a l s   a n d   t o   r o t a t e   t h a t   c e r t i f i c a t e .   T o   e n a b l e   t h i s   b e h a v i o r ,   u s e   t h e   f i e l d   s e r v e r T L S B o o t s t r a p   o f   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e   o r   p a s s   t h e   f o l l o w i n g   c o m m a n d   l i n e   a r g u m e n t   t o   t h e   k u b e l e t   ( d e p r e c a t e d ) :   - - r o t a t e - s e r v e r - c e r t i f i c a t e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23126"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   C S R   a p p r o v i n g   c o n t r o l l e r s   i m p l e m e n t e d   i n   c o r e   K u b e r n e t e s   d o   n o t   a p p r o v e   n o d e   s e r v i n g   c e r t i f i c a t e s   f o r   s e c u r i t y   r e a s o n s .   T o   u s e   R o t a t e K u b e l e t S e r v e r C e r t i f i c a t e   o p e r a t o r s   n e e d   t o   r u n   a   c u s t o m   a p p r o v i n g   c o n t r o l l e r ,   o r   m a n u a l l y   a p p r o v e   t h e   s e r v i n g   c e r t i f i c a t e   r e q u e s t s .   A   d e p l o y m e n t - s p e c i f i c   a p p r o v a l   p r o c e s s   f o r   k u b e l e t   s e r v i n g   c e r t i f i c a t e s   s h o u l d   t y p i c a l l y   o n l y   a p p r o v e   C S R s   w h i c h :   a r e   r e q u e s t e d   b y   n o d e s   ( e n s u r e   t h e   s p e c . u s e r n a m e   f i e l d   i s   o f   t h e   f o r m   s y s t e m : n o d e : < n o d e N a m e >   a n d   s p e c . g r o u p s   c o n t a i n s   s y s t e m : n o d e s ) r e q u e s t   u s a g e s   f o r   a   s e r v i n g   c e r t i f i c a t e   ( e n s u r e   s p e c . u s a g e s   c o n t a i n s   s e r v e r   a u t h ,   o p t i o n a l l y   c o n t a i n s   d i g i t a l   s i g n a t u r e   a n d   k e y   e n c i p h e r m e n t ,   a n d   c o n t a i n s   n o   o t h e r   u s a g e s ) o n l y   h a v e   I P   a n d   D N S   s u b j e c t A l t N a m e s   t h a t   b e l o n g   t o   t h e   r e q u e s t i n g   n o d e ,   a n d   h a v e   n o   U R I   a n d   E m a i l   s u b j e c t A l t N a m e s   ( p a r s e   t h e   x 5 0 9   C e r t i f i c a t e   S i g n i n g   R e q u e s t   i n   s p e c . r e q u e s t   t o   v e r i f y   s u b j e c t A l t N a m e s )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23127"
  },
  {
    "question": "What is Other authenticating components?",
    "answer": "A l l   o f   T L S   b o o t s t r a p p i n g   d e s c r i b e d   i n   t h i s   d o c u m e n t   r e l a t e s   t o   t h e   k u b e l e t .   H o w e v e r ,   o t h e r   c o m p o n e n t s   m a y   n e e d   t o   c o m m u n i c a t e   d i r e c t l y   w i t h   k u b e - a p i s e r v e r .   N o t a b l e   i s   k u b e - p r o x y ,   w h i c h   i s   p a r t   o f   t h e   K u b e r n e t e s   n o d e   c o m p o n e n t s   a n d   r u n s   o n   e v e r y   n o d e ,   b u t   m a y   a l s o   i n c l u d e   o t h e r   c o m p o n e n t s   s u c h   a s   m o n i t o r i n g   o r   n e t w o r k i n g .   L i k e   t h e   k u b e l e t ,   t h e s e   o t h e r   c o m p o n e n t s   a l s o   r e q u i r e   a   m e t h o d   o f   a u t h e n t i c a t i n g   t o   k u b e - a p i s e r v e r .   Y o u   h a v e   s e v e r a l   o p t i o n s   f o r   g e n e r a t i n g   t h e s e   c r e d e n t i a l s :   T h e   o l d   w a y :   C r e a t e   a n d   d i s t r i b u t e   c e r t i f i c a t e s   t h e   s a m e   w a y   y o u   d i d   f o r   k u b e l e t   b e f o r e   T L S   b o o t s t r a p p i n g D a e m o n S e t :   S i n c e   t h e   k u b e l e t   i t s e l f   i s   l o a d e d   o n   e a c h   n o d e ,   a n d   i s   s u f f i c i e n t   t o   s t a r t   b a s e   s e r v i c e s ,   y o u   c a n   r u n   k u b e - p r o x y   a n d   o t h e r   n o d e - s p e c i f i c   s e r v i c e s   n o t   a s   a   s t a n d a l o n e   p r o c e s s ,   b u t   r a t h e r   a s   a   d a e m o n s e t   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   S i n c e   i t   w i l l   b e   i n - c l u s t e r ,   y o u   c a n   g i v e   i t   a   p r o p e r   s e r v i c e   a c c o u n t   w i t h   a p p r o p r i a t e   p e r m i s s i o n s   t o   p e r f o r m   i t s   a c t i v i t i e s .   T h i s   m a y   b e   t h e   s i m p l e s t   w a y   t o   c o n f i g u r e   s u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23128"
  },
  {
    "question": "What is kubectl approval?",
    "answer": "C S R s   c a n   b e   a p p r o v e d   o u t s i d e   o f   t h e   a p p r o v a l   f l o w s   b u i l t   i n t o   t h e   c o n t r o l l e r   m a n a g e r .   T h e   s i g n i n g   c o n t r o l l e r   d o e s   n o t   i m m e d i a t e l y   s i g n   a l l   c e r t i f i c a t e   r e q u e s t s .   I n s t e a d ,   i t   w a i t s   u n t i l   t h e y   h a v e   b e e n   f l a g g e d   w i t h   a n   \" A p p r o v e d \"   s t a t u s   b y   a n   a p p r o p r i a t e l y - p r i v i l e g e d   u s e r .   T h i s   f l o w   i s   i n t e n d e d   t o   a l l o w   f o r   a u t o m a t e d   a p p r o v a l   h a n d l e d   b y   a n   e x t e r n a l   a p p r o v a l   c o n t r o l l e r   o r   t h e   a p p r o v a l   c o n t r o l l e r   i m p l e m e n t e d   i n   t h e   c o r e   c o n t r o l l e r - m a n a g e r .   H o w e v e r   c l u s t e r   a d m i n i s t r a t o r s   c a n   a l s o   m a n u a l l y   a p p r o v e   c e r t i f i c a t e   r e q u e s t s   u s i n g   k u b e c t l .   A n   a d m i n i s t r a t o r   c a n   l i s t   C S R s   w i t h   k u b e c t l   g e t   c s r   a n d   d e s c r i b e   o n e   i n   d e t a i l   w i t h   k u b e c t l   d e s c r i b e   c s r   < n a m e > .   A n   a d m i n i s t r a t o r   c a n   a p p r o v e   o r   d e n y   a   C S R   w i t h   k u b e c t l   c e r t i f i c a t e   a p p r o v e   < n a m e >   a n d   k u b e c t l   c e r t i f i c a t e   d e n y   < n a m e > .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23129"
  },
  {
    "question": "What is 3.15 - Mutating Admission Policy?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   o f   M u t a t i n g A d m i s s i o n P o l i c i e s .   M u t a t i n g A d m i s s i o n P o l i c i e s   a l l o w   y o u   c h a n g e   w h a t   h a p p e n s   w h e n   s o m e o n e   w r i t e s   a   c h a n g e   t o   t h e   K u b e r n e t e s   A P I .   I f   y o u   w a n t   t o   u s e   d e c l a r a t i v e   p o l i c i e s   j u s t   t o   p r e v e n t   a   p a r t i c u l a r   k i n d   o f   c h a n g e   t o   r e s o u r c e s   ( f o r   e x a m p l e :   p r o t e c t i n g   p l a t f o r m   n a m e s p a c e s   f r o m   d e l e t i o n ) ,   V a l i d a t i n g A d m i s s i o n P o l i c y   i s   a   s i m p l e r   a n d   m o r e   e f f e c t i v e   a l t e r n a t i v e .   T o   u s e   t h e   f e a t u r e ,   e n a b l e   t h e   M u t a t i n g A d m i s s i o n P o l i c y   f e a t u r e   g a t e   ( w h i c h   i s   o f f   b y   d e f a u l t )   a n d   s e t   - - r u n t i m e - c o n f i g = a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 = t r u e   o n   t h e   k u b e - a p i s e r v e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23130"
  },
  {
    "question": "What is What are MutatingAdmissionPolicies??",
    "answer": "M u t a t i n g   a d m i s s i o n   p o l i c i e s   o f f e r   a   d e c l a r a t i v e ,   i n - p r o c e s s   a l t e r n a t i v e   t o   m u t a t i n g   a d m i s s i o n   w e b h o o k s .   M u t a t i n g   a d m i s s i o n   p o l i c i e s   u s e   t h e   C o m m o n   E x p r e s s i o n   L a n g u a g e   ( C E L )   t o   d e c l a r e   m u t a t i o n s   t o   r e s o u r c e s .   M u t a t i o n s   c a n   b e   d e f i n e d   e i t h e r   w i t h   a n   a p p l y   c o n f i g u r a t i o n   t h a t   i s   m e r g e d   u s i n g   t h e   s e r v e r   s i d e   a p p l y   m e r g e   s t r a t e g y ,   o r   a   J S O N   p a t c h .   M u t a t i n g   a d m i s s i o n   p o l i c i e s   a r e   h i g h l y   c o n f i g u r a b l e ,   e n a b l i n g   p o l i c y   a u t h o r s   t o   d e f i n e   p o l i c i e s   t h a t   c a n   b e   p a r a m e t e r i z e d   a n d   s c o p e d   t o   r e s o u r c e s   a s   n e e d e d   b y   c l u s t e r   a d m i n i s t r a t o r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23131"
  },
  {
    "question": "What is What resources make a policy?",
    "answer": "A   p o l i c y   i s   g e n e r a l l y   m a d e   u p   o f   t h r e e   r e s o u r c e s :   T h e   M u t a t i n g A d m i s s i o n P o l i c y   d e s c r i b e s   t h e   a b s t r a c t   l o g i c   o f   a   p o l i c y   ( t h i n k :   \" t h i s   p o l i c y   s e t s   a   p a r t i c u l a r   l a b e l   t o   a   p a r t i c u l a r   v a l u e \" ) . A   p a r a m e t e r   r e s o u r c e   p r o v i d e s   i n f o r m a t i o n   t o   a   M u t a t i n g A d m i s s i o n P o l i c y   t o   m a k e   i t   a   c o n c r e t e   s t a t e m e n t   ( t h i n k   \" s e t   t h e   o w n e r   l a b e l   t o   s o m e t h i n g   l i k e   c o m p a n y . e x a m p l e . c o m \" ) .   P a r a m e t e r   r e s o u r c e s   r e f e r   t o   K u b e r n e t e s   r e s o u r c e s ,   a v a i l a b l e   i n   t h e   K u b e r n e t e s   A P I .   T h e y   c a n   b e   b u i l t - i n   t y p e s   o r   e x t e n s i o n s ,   s u c h   a s   a   C u s t o m R e s o u r c e D e f i n i t i o n   ( C R D ) .   F o r   e x a m p l e ,   y o u   c a n   u s e   a   C o n f i g M a p   a s   a   p a r a m e t e r . A   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   l i n k s   t h e   a b o v e   ( M u t a t i n g A d m i s s i o n P o l i c y   a n d   p a r a m e t e r )   r e s o u r c e s   t o g e t h e r   a n d   p r o v i d e s   s c o p i n g .   I f   y o u   o n l y   w a n t   t o   s e t   a n   o w n e r   l a b e l   f o r   P o d s ,   a n d   n o t   o t h e r   A P I   k i n d s ,   t h e   b i n d i n g   i s   w h e r e   y o u   s p e c i f y   t h i s   m u t a t i o n .   T h e   M u t a t i n g A d m i s s i o n P o l i c y   d e s c r i b e s   t h e   a b s t r a c t   l o g i c   o f   a   p o l i c y   ( t h i n k :   \" t h i s   p o l i c y   s e t s   a   p a r t i c u l a r   l a b e l   t o   a   p a r t i c u l a r   v a l u e \" ) .   A   p a r a m e t e r   r e s o u r c e   p r o v i d e s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23132"
  },
  {
    "question": "What is Getting Started with MutatingAdmissionPolicies?",
    "answer": "M u t a t i n g   a d m i s s i o n   p o l i c y   i s   p a r t   o f   t h e   c l u s t e r   c o n t r o l - p l a n e .   Y o u   s h o u l d   w r i t e   a n d   d e p l o y   t h e m   w i t h   g r e a t   c a u t i o n .   T h e   f o l l o w i n g   d e s c r i b e s   h o w   t o   q u i c k l y   e x p e r i m e n t   w i t h   M u t a t i n g   a d m i s s i o n   p o l i c y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23133"
  },
  {
    "question": "What is Create a MutatingAdmissionPolicy?",
    "answer": "T h e   f o l l o w i n g   i s   a n   e x a m p l e   o f   a   M u t a t i n g A d m i s s i o n P o l i c y .   T h i s   p o l i c y   m u t a t e s   n e w l y   c r e a t e d   P o d s   t o   h a v e   a   s i d e c a r   c o n t a i n e r   i f   i t   d o e s   n o t   e x i s t .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1   k i n d :   M u t a t i n g A d m i s s i o n P o l i c y   m e t a d a t a :   n a m e :   \" s i d e c a r - p o l i c y . e x a m p l e . c o m \"   s p e c :   p a r a m K i n d :   k i n d :   S i d e c a r   a p i V e r s i o n :   m u t a t i o n s . e x a m p l e . c o m / v 1   m a t c h C o n s t r a i n t s :   r e s o u r c e R u l e s :   -   a p i G r o u p s :   [ \" \" ]   a p i V e r s i o n s :   [ \" v 1 \" ]   o p e r a t i o n s :   [ \" C R E A T E \" ]   r e s o u r c e s :   [ \" p o d s \" ]   m a t c h C o n d i t i o n s :   -   n a m e :   d o e s - n o t - a l r e a d y - h a v e - s i d e c a r   e x p r e s s i o n :   \" ! o b j e c t . s p e c . i n i t C o n t a i n e r s . e x i s t s ( i c ,   i c . n a m e   = =   \\ \" m e s h - p r o x y \\ \" ) \"   f a i l u r e P o l i c y :   F a i l   r e i n v o c a t i o n P o l i c y :   I f N e e d e d   m u t a t i o n s :   -   p a t c h T y p e :   \" A p p l y C o n f i g u r a t i o n \"   a p p l y C o n f i g u r a t i o n :   e x p r e s s i o n :   >   O b j e c t {   s p e c :   O b j e c t . s p e c {   i n i t C o n t a i n e r s :   [   O b j e c t . s p e c . i n i t C o n t a i n e r s {   n a m e :   \" m e s h - p r o x y \" ,   i m a g e :   \" m e s h / p r o x y : v 1 . 0 . 0 \" ,   a r g s :   [ \" p r o x y \" ,   \" s i d e c a r \" ] ,   r e s t a r t P o l i c y :   \" A l w a y s \"   }   ]   }   }   T h e   . s p e c . m u t a t i o n s   f i e l d   c o n s i s t s   o f   a   l i s t   o f   e x p r e s s i o n s   t h a t   e v a l u a t e   t o   r e s o u r c e   p a t c h e s .   T h e   e m i t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23134"
  },
  {
    "question": "What is Parameter resources?",
    "answer": "P a r a m e t e r   r e s o u r c e s   a l l o w   a   p o l i c y   c o n f i g u r a t i o n   t o   b e   s e p a r a t e   f r o m   i t s   d e f i n i t i o n .   A   p o l i c y   c a n   d e f i n e   p a r a m K i n d ,   w h i c h   o u t l i n e s   G V K   o f   t h e   p a r a m e t e r   r e s o u r c e ,   a n d   t h e n   a   p o l i c y   b i n d i n g   t i e s   a   p o l i c y   b y   n a m e   ( v i a   p o l i c y N a m e )   t o   a   p a r t i c u l a r   p a r a m e t e r   r e s o u r c e   v i a   p a r a m R e f .   P l e a s e   r e f e r   t o   p a r a m e t e r   r e s o u r c e s   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23135"
  },
  {
    "question": "What is ApplyConfiguration?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y   e x p r e s s i o n s   a r e   a l w a y s   C E L .   E a c h   a p p l y   c o n f i g u r a t i o n   e x p r e s s i o n   m u s t   e v a l u a t e   t o   a   C E L   o b j e c t   ( d e c l a r e d   u s i n g   O b j e c t ( )   i n i t i a l i z a t i o n ) .   A p p l y   c o n f i g u r a t i o n s   m a y   n o t   m o d i f y   a t o m i c   s t r u c t s ,   m a p s   o r   a r r a y s   d u e   t o   t h e   r i s k   o f   a c c i d e n t a l   d e l e t i o n   o f   v a l u e s   n o t   i n c l u d e d   i n   t h e   a p p l y   c o n f i g u r a t i o n .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   o b j e c t   t y p e s   n e e d e d   t o   c r e a t e   a p p l y   c o n f i g u r a t i o n s :   O b j e c t   -   C E L   t y p e   o f   t h e   r e s o u r c e   o b j e c t . O b j e c t . < f i e l d N a m e >   -   C E L   t y p e   o f   o b j e c t   f i e l d   ( s u c h   a s   O b j e c t . s p e c ) O b j e c t . < f i e l d N a m e 1 > . < f i e l d N a m e 2 > . . . < f i e l d N a m e N >   -   C E L   t y p e   o f   n e s t e d   f i e l d   ( s u c h   a s   O b j e c t . s p e c . c o n t a i n e r s )   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   t h e   A P I   r e q u e s t ,   o r g a n i z e d   i n t o   C E L   v a r i a b l e s   a s   w e l l   a s   s o m e   o t h e r   u s e f u l   v a r i a b l e s :   o b j e c t   -   T h e   o b j e c t   f r o m   t h e   i n c o m i n g   r e q u e s t .   T h e   v a l u e   i s   n u l l   f o r   D E L E T E   r e q u e s t s . o l d O b j e c t   -   T h e   e x i s t i n g   o b j e c t .   T h e   v a l u e   i s   n u l l   f o r   C R E A T E   r e q u e s t s . r e q u e s t   -   A t t r i b u t e s   o f   t h e   A P I   r e q u e s t . p a r a m s   -   P a r a m e t e r   r e s o u r c e   r e f e r r e d   t o   b y   t h e   p o l i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23136"
  },
  {
    "question": "What is JSONPatch?",
    "answer": "T h e   s a m e   m u t a t i o n   c a n   b e   w r i t t e n   a s   a   J S O N   P a t c h   a s   f o l l o w s :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1   k i n d :   M u t a t i n g A d m i s s i o n P o l i c y   m e t a d a t a :   n a m e :   \" s i d e c a r - p o l i c y . e x a m p l e . c o m \"   s p e c :   p a r a m K i n d :   k i n d :   S i d e c a r   a p i V e r s i o n :   m u t a t i o n s . e x a m p l e . c o m / v 1   m a t c h C o n s t r a i n t s :   r e s o u r c e R u l e s :   -   a p i G r o u p s :   [ \" \" ]   a p i V e r s i o n s :   [ \" v 1 \" ]   o p e r a t i o n s :   [ \" C R E A T E \" ]   r e s o u r c e s :   [ \" p o d s \" ]   m a t c h C o n d i t i o n s :   -   n a m e :   d o e s - n o t - a l r e a d y - h a v e - s i d e c a r   e x p r e s s i o n :   \" ! o b j e c t . s p e c . i n i t C o n t a i n e r s . e x i s t s ( i c ,   i c . n a m e   = =   \\ \" m e s h - p r o x y \\ \" ) \"   f a i l u r e P o l i c y :   F a i l   r e i n v o c a t i o n P o l i c y :   I f N e e d e d   m u t a t i o n s :   -   p a t c h T y p e :   \" J S O N P a t c h \"   j s o n P a t c h :   e x p r e s s i o n :   >   [   J S O N P a t c h {   o p :   \" a d d \" ,   p a t h :   \" / s p e c / i n i t C o n t a i n e r s / - \" ,   v a l u e :   O b j e c t . s p e c . i n i t C o n t a i n e r s {   n a m e :   \" m e s h - p r o x y \" ,   i m a g e :   \" m e s h - p r o x y / v 1 . 0 . 0 \" ,   r e s t a r t P o l i c y :   \" A l w a y s \"   }   }   ]   T h e   e x p r e s s i o n   w i l l   b e   e v a l u a t e d   b y   C E L   t o   c r e a t e   a   J S O N   p a t c h .   r e f :   h t t p s : / / g i t h u b . c o m / g o o g l e / c e l - s p e c   E a c h   e v a l u a t e d   e x p r e s s i o n   m u s t   r e t u r n   a n   a r r a y   o f   J S O N P a t c h   v a l u e s .   T h e J S O N P a t c h   t y p e   r e p r e s e n t s   o n e   o p e r a t i o n   f r o m ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23137"
  },
  {
    "question": "What is API kinds exempt from mutating admission?",
    "answer": "T h e r e   a r e   c e r t a i n   A P I   k i n d s   t h a t   a r e   e x e m p t   f r o m   a d m i s s i o n - t i m e   m u t a t i o n .   F o r   e x a m p l e ,   y o u   c a n ' t   c r e a t e   a   M u t a t i n g A d m i s s i o n P o l i c y   t h a t   c h a n g e s   a   M u t a t i n g A d m i s s i o n P o l i c y .   T h e   l i s t   o f   e x e m p t   A P I   k i n d s   i s :   V a l i d a t i n g A d m i s s i o n P o l i c i e s V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g s M u t a t i n g A d m i s s i o n P o l i c i e s M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g s T o k e n R e v i e w s L o c a l S u b j e c t A c c e s s R e v i e w s S e l f S u b j e c t A c c e s s R e v i e w s S e l f S u b j e c t R e v i e w s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23138"
  },
  {
    "question": "What is 3.16 - Validating Admission Policy?",
    "answer": "T h i s   p a g e   p r o v i d e s   a n   o v e r v i e w   o f   V a l i d a t i n g   A d m i s s i o n   P o l i c y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23139"
  },
  {
    "question": "What is What is Validating Admission Policy??",
    "answer": "V a l i d a t i n g   a d m i s s i o n   p o l i c i e s   o f f e r   a   d e c l a r a t i v e ,   i n - p r o c e s s   a l t e r n a t i v e   t o   v a l i d a t i n g   a d m i s s i o n   w e b h o o k s .   V a l i d a t i n g   a d m i s s i o n   p o l i c i e s   u s e   t h e   C o m m o n   E x p r e s s i o n   L a n g u a g e   ( C E L )   t o   d e c l a r e   t h e   v a l i d a t i o n   r u l e s   o f   a   p o l i c y .   V a l i d a t i o n   a d m i s s i o n   p o l i c i e s   a r e   h i g h l y   c o n f i g u r a b l e ,   e n a b l i n g   p o l i c y   a u t h o r s   t o   d e f i n e   p o l i c i e s   t h a t   c a n   b e   p a r a m e t e r i z e d   a n d   s c o p e d   t o   r e s o u r c e s   a s   n e e d e d   b y   c l u s t e r   a d m i n i s t r a t o r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23140"
  },
  {
    "question": "What is What Resources Make a Policy?",
    "answer": "A   p o l i c y   i s   g e n e r a l l y   m a d e   u p   o f   t h r e e   r e s o u r c e s :   T h e   V a l i d a t i n g A d m i s s i o n P o l i c y   d e s c r i b e s   t h e   a b s t r a c t   l o g i c   o f   a   p o l i c y   ( t h i n k :   \" t h i s   p o l i c y   m a k e s   s u r e   a   p a r t i c u l a r   l a b e l   i s   s e t   t o   a   p a r t i c u l a r   v a l u e \" ) . A   p a r a m e t e r   r e s o u r c e   p r o v i d e s   i n f o r m a t i o n   t o   a   V a l i d a t i n g A d m i s s i o n P o l i c y   t o   m a k e   i t   a   c o n c r e t e   s t a t e m e n t   ( t h i n k   \" t h e   o w n e r   l a b e l   m u s t   b e   s e t   t o   s o m e t h i n g   t h a t   e n d s   i n   . c o m p a n y . c o m \" ) .   A   n a t i v e   t y p e   s u c h   a s   C o n f i g M a p   o r   a   C R D   d e f i n e s   t h e   s c h e m a   o f   a   p a r a m e t e r   r e s o u r c e .   V a l i d a t i n g A d m i s s i o n P o l i c y   o b j e c t s   s p e c i f y   w h a t   K i n d   t h e y   a r e   e x p e c t i n g   f o r   t h e i r   p a r a m e t e r   r e s o u r c e . A   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   l i n k s   t h e   a b o v e   r e s o u r c e s   t o g e t h e r   a n d   p r o v i d e s   s c o p i n g .   I f   y o u   o n l y   w a n t   t o   r e q u i r e   a n   o w n e r   l a b e l   t o   b e   s e t   f o r   P o d s ,   t h e   b i n d i n g   i s   w h e r e   y o u   w o u l d   s p e c i f y   t h i s   r e s t r i c t i o n .   T h e   V a l i d a t i n g A d m i s s i o n P o l i c y   d e s c r i b e s   t h e   a b s t r a c t   l o g i c   o f   a   p o l i c y   ( t h i n k :   \" t h i s   p o l i c y   m a k e s   s u r e   a   p a r t i c u l a r   l a b e l   i s   s e t   t o   a   p a r t i c u l a r   v a l u e \" ) .   A   p a r a m e t e r   r e s o u r c e   p r o v i d e s   i n f o r m a t i o n   t o   a   V a l i d a t i n g A d m i s s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23141"
  },
  {
    "question": "What is Getting Started with Validating Admission Policy?",
    "answer": "V a l i d a t i n g   A d m i s s i o n   P o l i c y   i s   p a r t   o f   t h e   c l u s t e r   c o n t r o l - p l a n e .   Y o u   s h o u l d   w r i t e   a n d   d e p l o y   t h e m   w i t h   g r e a t   c a u t i o n .   T h e   f o l l o w i n g   d e s c r i b e s   h o w   t o   q u i c k l y   e x p e r i m e n t   w i t h   V a l i d a t i n g   A d m i s s i o n   P o l i c y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23142"
  },
  {
    "question": "What is Creating a ValidatingAdmissionPolicy?",
    "answer": "T h e   f o l l o w i n g   i s   a n   e x a m p l e   o f   a   V a l i d a t i n g A d m i s s i o n P o l i c y .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y   m e t a d a t a :   n a m e :   \" d e m o - p o l i c y . e x a m p l e . c o m \"   s p e c :   f a i l u r e P o l i c y :   F a i l   m a t c h C o n s t r a i n t s :   r e s o u r c e R u l e s :   -   a p i G r o u p s :   [ \" a p p s \" ]   a p i V e r s i o n s :   [ \" v 1 \" ]   o p e r a t i o n s :   [ \" C R E A T E \" ,   \" U P D A T E \" ]   r e s o u r c e s :   [ \" d e p l o y m e n t s \" ]   v a l i d a t i o n s :   -   e x p r e s s i o n :   \" o b j e c t . s p e c . r e p l i c a s   < =   5 \"   s p e c . v a l i d a t i o n s   c o n t a i n s   C E L   e x p r e s s i o n s   w h i c h   u s e   t h e   C o m m o n   E x p r e s s i o n   L a n g u a g e   ( C E L )   t o   v a l i d a t e   t h e   r e q u e s t .   I f   a n   e x p r e s s i o n   e v a l u a t e s   t o   f a l s e ,   t h e   v a l i d a t i o n   c h e c k   i s   e n f o r c e d   a c c o r d i n g   t o   t h e   s p e c . f a i l u r e P o l i c y   f i e l d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23143"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   c o n f i g u r e   a   v a l i d a t i n g   a d m i s s i o n   p o l i c y   f o r   u s e   i n   a   c l u s t e r ,   a   b i n d i n g   i s   r e q u i r e d .   T h e   f o l l o w i n g   i s   a n   e x a m p l e   o f   a   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g . :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   m e t a d a t a :   n a m e :   \" d e m o - b i n d i n g - t e s t . e x a m p l e . c o m \"   s p e c :   p o l i c y N a m e :   \" d e m o - p o l i c y . e x a m p l e . c o m \"   v a l i d a t i o n A c t i o n s :   [ D e n y ]   m a t c h R e s o u r c e s :   n a m e s p a c e S e l e c t o r :   m a t c h L a b e l s :   e n v i r o n m e n t :   t e s t   W h e n   t r y i n g   t o   c r e a t e   a   d e p l o y m e n t   w i t h   r e p l i c a s   s e t   n o t   s a t i s f y i n g   t h e   v a l i d a t i o n   e x p r e s s i o n ,   a n   e r r o r   w i l l   r e t u r n   c o n t a i n i n g   m e s s a g e :   V a l i d a t i n g A d m i s s i o n P o l i c y   ' d e m o - p o l i c y . e x a m p l e . c o m '   w i t h   b i n d i n g   ' d e m o - b i n d i n g - t e s t . e x a m p l e . c o m '   d e n i e d   r e q u e s t :   f a i l e d   e x p r e s s i o n :   o b j e c t . s p e c . r e p l i c a s   < =   5   T h e   a b o v e   p r o v i d e s   a   s i m p l e   e x a m p l e   o f   u s i n g   V a l i d a t i n g A d m i s s i o n P o l i c y   w i t h o u t   a   p a r a m e t e r   c o n f i g u r e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23144"
  },
  {
    "question": "What is Validation actions?",
    "answer": "E a c h   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   m u s t   s p e c i f y   o n e   o r   m o r e   v a l i d a t i o n A c t i o n s   t o   d e c l a r e   h o w   v a l i d a t i o n s   o f   a   p o l i c y   a r e   e n f o r c e d .   T h e   s u p p o r t e d   v a l i d a t i o n A c t i o n s   a r e :   D e n y :   V a l i d a t i o n   f a i l u r e   r e s u l t s   i n   a   d e n i e d   r e q u e s t . W a r n :   V a l i d a t i o n   f a i l u r e   i s   r e p o r t e d   t o   t h e   r e q u e s t   c l i e n t   a s   a   w a r n i n g . A u d i t :   V a l i d a t i o n   f a i l u r e   i s   i n c l u d e d   i n   t h e   a u d i t   e v e n t   f o r   t h e   A P I   r e q u e s t .   F o r   e x a m p l e ,   t o   b o t h   w a r n   c l i e n t s   a b o u t   a   v a l i d a t i o n   f a i l u r e   a n d   t o   a u d i t   t h e   v a l i d a t i o n   f a i l u r e s ,   u s e :   v a l i d a t i o n A c t i o n s :   [ W a r n ,   A u d i t ]   D e n y   a n d   W a r n   m a y   n o t   b e   u s e d   t o g e t h e r   s i n c e   t h i s   c o m b i n a t i o n   n e e d l e s s l y   d u p l i c a t e s   t h e   v a l i d a t i o n   f a i l u r e   b o t h   i n   t h e   A P I   r e s p o n s e   b o d y   a n d   t h e   H T T P   w a r n i n g   h e a d e r s .   A   v a l i d a t i o n   t h a t   e v a l u a t e s   t o   f a l s e   i s   a l w a y s   e n f o r c e d   a c c o r d i n g   t o   t h e s e   a c t i o n s .   F a i l u r e s   d e f i n e d   b y   t h e   f a i l u r e P o l i c y   a r e   e n f o r c e d   a c c o r d i n g   t o   t h e s e   a c t i o n s   o n l y   i f   t h e   f a i l u r e P o l i c y   i s   s e t   t o   F a i l   ( o r   n o t   s p e c i f i e d ) ,   o t h e r w i s e   t h e   f a i l u r e s   a r e   i g n o r e d .   S e e   A u d i t   A n n o t a t i o n s :   v a l i d a t i o n   f a i l u r e s   f o r   m o r e   d e t a i l s   a b o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23145"
  },
  {
    "question": "What is Parameter resources?",
    "answer": "P a r a m e t e r   r e s o u r c e s   a l l o w   a   p o l i c y   c o n f i g u r a t i o n   t o   b e   s e p a r a t e   f r o m   i t s   d e f i n i t i o n .   A   p o l i c y   c a n   d e f i n e   p a r a m K i n d ,   w h i c h   o u t l i n e s   G V K   o f   t h e   p a r a m e t e r   r e s o u r c e ,   a n d   t h e n   a   p o l i c y   b i n d i n g   t i e s   a   p o l i c y   b y   n a m e   ( v i a   p o l i c y N a m e )   t o   a   p a r t i c u l a r   p a r a m e t e r   r e s o u r c e   v i a   p a r a m R e f .   I f   p a r a m e t e r   c o n f i g u r a t i o n   i s   n e e d e d ,   t h e   f o l l o w i n g   i s   a n   e x a m p l e   o f   a   V a l i d a t i n g A d m i s s i o n P o l i c y   w i t h   p a r a m e t e r   c o n f i g u r a t i o n .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y   m e t a d a t a :   n a m e :   \" r e p l i c a l i m i t - p o l i c y . e x a m p l e . c o m \"   s p e c :   f a i l u r e P o l i c y :   F a i l   p a r a m K i n d :   a p i V e r s i o n :   r u l e s . e x a m p l e . c o m / v 1   k i n d :   R e p l i c a L i m i t   m a t c h C o n s t r a i n t s :   r e s o u r c e R u l e s :   -   a p i G r o u p s :   [ \" a p p s \" ]   a p i V e r s i o n s :   [ \" v 1 \" ]   o p e r a t i o n s :   [ \" C R E A T E \" ,   \" U P D A T E \" ]   r e s o u r c e s :   [ \" d e p l o y m e n t s \" ]   v a l i d a t i o n s :   -   e x p r e s s i o n :   \" o b j e c t . s p e c . r e p l i c a s   < =   p a r a m s . m a x R e p l i c a s \"   r e a s o n :   I n v a l i d   T h e   s p e c . p a r a m K i n d   f i e l d   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   s p e c i f i e s   t h e   k i n d   o f   r e s o u r c e s   u s e d   t o   p a r a m e t e r i z e   t h i s   p o l i c y .   F o r   t h i s   e x a m p l e ,   i t   i s   c o n f i g u r e d   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23146"
  },
  {
    "question": "What is Optional parameters?",
    "answer": "I t   c a n   b e   c o n v e n i e n t   t o   b e   a b l e   t o   h a v e   o p t i o n a l   p a r a m e t e r s   a s   p a r t   o f   a   p a r a m e t e r   r e s o u r c e ,   a n d   o n l y   v a l i d a t e   t h e m   i f   p r e s e n t .   C E L   p r o v i d e s   h a s ( ) ,   w h i c h   c h e c k s   i f   t h e   k e y   p a s s e d   t o   i t   e x i s t s .   C E L   a l s o   i m p l e m e n t s   B o o l e a n   s h o r t - c i r c u i t i n g .   I f   t h e   f i r s t   h a l f   o f   a   l o g i c a l   O R   e v a l u a t e s   t o   t r u e ,   i t   w o n ’ t   e v a l u a t e   t h e   o t h e r   h a l f   ( s i n c e   t h e   r e s u l t   o f   t h e   e n t i r e   O R   w i l l   b e   t r u e   r e g a r d l e s s ) .   C o m b i n i n g   t h e   t w o ,   w e   c a n   p r o v i d e   a   w a y   t o   v a l i d a t e   o p t i o n a l   p a r a m e t e r s :   ! h a s ( p a r a m s . o p t i o n a l N u m b e r )   | |   ( p a r a m s . o p t i o n a l N u m b e r   > =   5   & &   p a r a m s . o p t i o n a l N u m b e r   < =   1 0 )   H e r e ,   w e   f i r s t   c h e c k   t h a t   t h e   o p t i o n a l   p a r a m e t e r   i s   p r e s e n t   w i t h   ! h a s ( p a r a m s . o p t i o n a l N u m b e r ) .   I f   o p t i o n a l N u m b e r   h a s n ’ t   b e e n   d e f i n e d ,   t h e n   t h e   e x p r e s s i o n   s h o r t - c i r c u i t s   s i n c e   ! h a s ( p a r a m s . o p t i o n a l N u m b e r )   w i l l   e v a l u a t e   t o   t r u e . I f   o p t i o n a l N u m b e r   h a s   b e e n   d e f i n e d ,   t h e n   t h e   l a t t e r   h a l f   o f   t h e   C E L   e x p r e s s i o n   w i l l   b e   e v a l u a t e d ,   a n d   o p t i o n a l N u m b e r   w i l l   b e   c h e c k e d   t o   e n s u r e   t h a t   i t   c o n t a i n s   a   v a l u e   b e t w e e n   5   a n d   1 0   i n c l u s i v e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23147"
  },
  {
    "question": "What is Per-namespace Parameters?",
    "answer": "A s   t h e   a u t h o r   o f   a   V a l i d a t i n g A d m i s s i o n P o l i c y   a n d   i t s   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   y o u   c a n   c h o o s e   t o   s p e c i f y   c l u s t e r - w i d e ,   o r   p e r - n a m e s p a c e   p a r a m e t e r s .   I f   y o u   s p e c i f y   a   n a m e s p a c e   f o r   t h e   b i n d i n g ' s   p a r a m R e f ,   t h e   c o n t r o l   p l a n e   o n l y   s e a r c h e s   f o r   p a r a m e t e r s   i n   t h a t   n a m e s p a c e .   H o w e v e r ,   i f   n a m e s p a c e   i s   n o t   s p e c i f i e d   i n   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   t h e   A P I   s e r v e r   c a n   s e a r c h   f o r   r e l e v a n t   p a r a m e t e r s   i n   t h e   n a m e s p a c e   t h a t   a   r e q u e s t   i s   a g a i n s t .   F o r   e x a m p l e ,   i f   y o u   m a k e   a   r e q u e s t   t o   m o d i f y   a   C o n f i g M a p   i n   t h e   d e f a u l t   n a m e s p a c e   a n d   t h e r e   i s   a   r e l e v a n t   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   w i t h   n o   n a m e s p a c e   s e t ,   t h e n   t h e   A P I   s e r v e r   l o o k s   f o r   a   p a r a m e t e r   o b j e c t   i n   d e f a u l t .   T h i s   d e s i g n   e n a b l e s   p o l i c y   c o n f i g u r a t i o n   t h a t   d e p e n d s   o n   t h e   n a m e s p a c e   o f   t h e   r e s o u r c e   b e i n g   m a n i p u l a t e d ,   f o r   m o r e   f i n e - t u n e d   c o n t r o l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23148"
  },
  {
    "question": "What is Parameter selector?",
    "answer": "I n   a d d i t i o n   t o   s p e c i f y   a   p a r a m e t e r   i n   a   b i n d i n g   b y   n a m e ,   y o u   m a y   c h o o s e   i n s t e a d   t o   s p e c i f y   l a b e l   s e l e c t o r ,   s u c h   t h a t   a l l   r e s o u r c e s   o f   t h e   p o l i c y ' s   p a r a m K i n d ,   a n d   t h e   p a r a m ' s   n a m e s p a c e   ( i f   a p p l i c a b l e )   t h a t   m a t c h   t h e   l a b e l   s e l e c t o r   a r e   s e l e c t e d   f o r   e v a l u a t i o n .   S e e   s e l e c t o r   f o r   m o r e   i n f o r m a t i o n   o n   h o w   l a b e l   s e l e c t o r s   m a t c h   r e s o u r c e s .   I f   m u l t i p l e   p a r a m e t e r s   a r e   f o u n d   t o   m e e t   t h e   c o n d i t i o n ,   t h e   p o l i c y ' s   r u l e s   a r e   e v a l u a t e d   f o r   e a c h   p a r a m e t e r   f o u n d   a n d   t h e   r e s u l t s   w i l l   b e   A N D e d   t o g e t h e r .   I f   n a m e s p a c e   i s   p r o v i d e d ,   o n l y   o b j e c t s   o f   t h e   p a r a m K i n d   i n   t h e   p r o v i d e d   n a m e s p a c e   a r e   e l i g i b l e   f o r   s e l e c t i o n .   O t h e r w i s e ,   w h e n   n a m e s p a c e   i s   e m p t y   a n d   p a r a m K i n d   i s   n a m e s p a c e - s c o p e d ,   t h e   n a m e s p a c e   u s e d   i n   t h e   r e q u e s t   b e i n g   a d m i t t e d   w i l l   b e   u s e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23149"
  },
  {
    "question": "What is Authorization checks?",
    "answer": "W e   i n t r o d u c e d   t h e   a u t h o r i z a t i o n   c h e c k   f o r   p a r a m e t e r   r e s o u r c e s .   U s e r   i s   e x p e c t e d   t o   h a v e   r e a d   a c c e s s   t o   t h e   r e s o u r c e s   r e f e r e n c e d   b y   p a r a m K i n d   i n   V a l i d a t i n g A d m i s s i o n P o l i c y   a n d   p a r a m R e f   i n   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g .   N o t e   t h a t   i f   a   r e s o u r c e   i n   p a r a m K i n d   f a i l s   r e s o l v i n g   v i a   t h e   r e s t m a p p e r ,   r e a d   a c c e s s   t o   a l l   r e s o u r c e s   o f   g r o u p s   i s   r e q u i r e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23150"
  },
  {
    "question": "What is paramRef?",
    "answer": "T h e   p a r a m R e f   f i e l d   s p e c i f i e s   t h e   p a r a m e t e r   r e s o u r c e   u s e d   b y   t h e   p o l i c y .   I t   h a s   t h e   f o l l o w i n g   f i e l d s :   n a m e :   T h e   n a m e   o f   t h e   p a r a m e t e r   r e s o u r c e . n a m e s p a c e :   T h e   n a m e s p a c e   o f   t h e   p a r a m e t e r   r e s o u r c e . s e l e c t o r :   A   l a b e l   s e l e c t o r   t o   m a t c h   m u l t i p l e   p a r a m e t e r   r e s o u r c e s . p a r a m e t e r N o t F o u n d A c t i o n :   ( R e q u i r e d )   C o n t r o l s   t h e   b e h a v i o r   w h e n   t h e   s p e c i f i e d   p a r a m e t e r s   a r e   n o t   f o u n d . A l l o w e d   V a l u e s : A l l o w :   T h e   a b s e n c e   o f   m a t c h e d   p a r a m e t e r s   i s   t r e a t e d   a s   a   s u c c e s s f u l   v a l i d a t i o n   b y   t h e   b i n d i n g . D e n y :   T h e   a b s e n c e   o f   m a t c h e d   p a r a m e t e r s   i s   s u b j e c t   t o   t h e   f a i l u r e P o l i c y   o f   t h e   p o l i c y .   n a m e :   T h e   n a m e   o f   t h e   p a r a m e t e r   r e s o u r c e .   n a m e s p a c e :   T h e   n a m e s p a c e   o f   t h e   p a r a m e t e r   r e s o u r c e .   s e l e c t o r :   A   l a b e l   s e l e c t o r   t o   m a t c h   m u l t i p l e   p a r a m e t e r   r e s o u r c e s .   p a r a m e t e r N o t F o u n d A c t i o n :   ( R e q u i r e d )   C o n t r o l s   t h e   b e h a v i o r   w h e n   t h e   s p e c i f i e d   p a r a m e t e r s   a r e   n o t   f o u n d .   A l l o w e d   V a l u e s : A l l o w :   T h e   a b s e n c e   o f   m a t c h e d   p a r a m e t e r s   i s   t r e a t e d   a s   a   s u c c e s s f u l   v a l i d a t i o n   b y   t h e   b i n d i n g . D e n y :   T h e   a b s e n c e   o f   m a t c h e d   p a r a m e t e r s   i s   s u b j e c t   t o   t h e   f a i l u r e P o l i c y   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23151"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   p a r a m e t e r N o t F o u n d A c t i o n   f i e l d   i n   p a r a m R e f   i s   r e q u i r e d .   I t   s p e c i f i e s   t h e   a c t i o n   t o   t a k e   w h e n   n o   p a r a m e t e r s   a r e   f o u n d   m a t c h i n g   t h e   p a r a m R e f .   I f   n o t   s p e c i f i e d ,   t h e   p o l i c y   b i n d i n g   m a y   b e   c o n s i d e r e d   i n v a l i d   a n d   w i l l   b e   i g n o r e d   o r   c o u l d   l e a d   t o   u n e x p e c t e d   b e h a v i o r .   A l l o w :   I f   s e t   t o   A l l o w ,   a n d   n o   p a r a m e t e r s   a r e   f o u n d ,   t h e   b i n d i n g   t r e a t s   t h e   a b s e n c e   o f   p a r a m e t e r s   a s   a   s u c c e s s f u l   v a l i d a t i o n ,   a n d   t h e   p o l i c y   i s   c o n s i d e r e d   t o   h a v e   p a s s e d . D e n y :   I f   s e t   t o   D e n y ,   a n d   n o   p a r a m e t e r s   a r e   f o u n d ,   t h e   b i n d i n g   e n f o r c e s   t h e   f a i l u r e P o l i c y   o f   t h e   p o l i c y .   I f   t h e   f a i l u r e P o l i c y   i s   F a i l ,   t h e   r e q u e s t   i s   r e j e c t e d .   M a k e   s u r e   t o   s e t   p a r a m e t e r N o t F o u n d A c t i o n   a c c o r d i n g   t o   t h e   d e s i r e d   b e h a v i o r   w h e n   p a r a m e t e r s   a r e   m i s s i n g .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23152"
  },
  {
    "question": "What is Handling Missing Parameters with parameterNotFoundAction?",
    "answer": "W h e n   u s i n g   p a r a m R e f   w i t h   a   s e l e c t o r ,   i t ' s   p o s s i b l e   t h a t   n o   p a r a m e t e r s   m a t c h   t h e   s e l e c t o r .   T h e   p a r a m e t e r N o t F o u n d A c t i o n   f i e l d   d e t e r m i n e s   h o w   t h e   b i n d i n g   b e h a v e s   i n   t h i s   s c e n a r i o .   E x a m p l e :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1   k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   m e t a d a t a :   n a m e :   e x a m p l e - b i n d i n g   s p e c :   p o l i c y N a m e :   e x a m p l e - p o l i c y   p a r a m R e f :   s e l e c t o r :   m a t c h L a b e l s :   e n v i r o n m e n t :   t e s t   p a r a m e t e r N o t F o u n d A c t i o n :   A l l o w   v a l i d a t i o n A c t i o n s :   -   D e n y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23153"
  },
  {
    "question": "What is Failure Policy?",
    "answer": "f a i l u r e P o l i c y   d e f i n e s   h o w   m i s - c o n f i g u r a t i o n s   a n d   C E L   e x p r e s s i o n s   e v a l u a t i n g   t o   e r r o r   f r o m   t h e   a d m i s s i o n   p o l i c y   a r e   h a n d l e d .   A l l o w e d   v a l u e s   a r e   I g n o r e   o r   F a i l .   I g n o r e   m e a n s   t h a t   a n   e r r o r   c a l l i n g   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   i s   i g n o r e d   a n d   t h e   A P I   r e q u e s t   i s   a l l o w e d   t o   c o n t i n u e . F a i l   m e a n s   t h a t   a n   e r r o r   c a l l i n g   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   c a u s e s   t h e   a d m i s s i o n   t o   f a i l   a n d   t h e   A P I   r e q u e s t   t o   b e   r e j e c t e d .   N o t e   t h a t   t h e   f a i l u r e P o l i c y   i s   d e f i n e d   i n s i d e   V a l i d a t i n g A d m i s s i o n P o l i c y :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y   s p e c :   . . .   f a i l u r e P o l i c y :   I g n o r e   #   T h e   d e f a u l t   i s   \" F a i l \"   v a l i d a t i o n s :   -   e x p r e s s i o n :   \" o b j e c t . s p e c . x y z   = =   p a r a m s . x \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23154"
  },
  {
    "question": "What is Validation Expression?",
    "answer": "s p e c . v a l i d a t i o n s [ i ] . e x p r e s s i o n   r e p r e s e n t s   t h e   e x p r e s s i o n   w h i c h   w i l l   b e   e v a l u a t e d   b y   C E L .   T o   l e a r n   m o r e ,   s e e   t h e   C E L   l a n g u a g e   s p e c i f i c a t i o n   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   t h e   A d m i s s i o n   r e q u e s t / r e s p o n s e ,   o r g a n i z e d   i n t o   C E L   v a r i a b l e s   a s   w e l l   a s   s o m e   o t h e r   u s e f u l   v a r i a b l e s :   ' o b j e c t '   -   T h e   o b j e c t   f r o m   t h e   i n c o m i n g   r e q u e s t .   T h e   v a l u e   i s   n u l l   f o r   D E L E T E   r e q u e s t s . ' o l d O b j e c t '   -   T h e   e x i s t i n g   o b j e c t .   T h e   v a l u e   i s   n u l l   f o r   C R E A T E   r e q u e s t s . ' r e q u e s t '   -   A t t r i b u t e s   o f   t h e   a d m i s s i o n   r e q u e s t . ' p a r a m s '   -   P a r a m e t e r   r e s o u r c e   r e f e r r e d   t o   b y   t h e   p o l i c y   b i n d i n g   b e i n g   e v a l u a t e d .   T h e   v a l u e   i s   n u l l   i f   P a r a m K i n d   i s   n o t   s p e c i f i e d . n a m e s p a c e O b j e c t   -   T h e   n a m e s p a c e ,   a s   a   K u b e r n e t e s   r e s o u r c e ,   t h a t   t h e   i n c o m i n g   o b j e c t   b e l o n g s   t o .   T h e   v a l u e   i s   n u l l   i f   t h e   i n c o m i n g   o b j e c t   i s   c l u s t e r - s c o p e d . a u t h o r i z e r   -   A   C E L   A u t h o r i z e r .   M a y   b e   u s e d   t o   p e r f o r m   a u t h o r i z a t i o n   c h e c k s   f o r   t h e   p r i n c i p a l   ( a u t h e n t i c a t e d   u s e r )   o f   t h e   r e q u e s t .   S e e   A u t h z S e l e c t o r s   a n d   A u t h z   i n   t h e   K u b e r n e t e s   C E L   l i b r a r y   d o c u m e n t a t i o n   f o r   m o r e   d e t a i l s . a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23155"
  },
  {
    "question": "What is Validation expression examples?",
    "answer": "R e a d   S u p p o r t e d   e v a l u a t i o n   o n   C E L   f o r   m o r e   i n f o r m a t i o n   a b o u t   C E L   r u l e s .   s p e c . v a l i d a t i o n [ i ] . r e a s o n   r e p r e s e n t s   a   m a c h i n e - r e a d a b l e   d e s c r i p t i o n   o f   w h y   t h i s   v a l i d a t i o n   f a i l e d .   I f   t h i s   i s   t h e   f i r s t   v a l i d a t i o n   i n   t h e   l i s t   t o   f a i l ,   t h i s   r e a s o n ,   a s   w e l l   a s   t h e   c o r r e s p o n d i n g   H T T P   r e s p o n s e   c o d e ,   a r e   u s e d   i n   t h e   H T T P   r e s p o n s e   t o   t h e   c l i e n t .   T h e   c u r r e n t l y   s u p p o r t e d   r e a s o n s   a r e :   U n a u t h o r i z e d ,   F o r b i d d e n ,   I n v a l i d ,   R e q u e s t E n t i t y T o o L a r g e .   I f   n o t   s e t ,   S t a t u s R e a s o n I n v a l i d   i s   u s e d   i n   t h e   r e s p o n s e   t o   t h e   c l i e n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23156"
  },
  {
    "question": "What is Matching requests: matchConditions?",
    "answer": "Y o u   c a n   d e f i n e   m a t c h   c o n d i t i o n s   f o r   a   V a l i d a t i n g A d m i s s i o n P o l i c y   i f   y o u   n e e d   f i n e - g r a i n e d   r e q u e s t   f i l t e r i n g .   T h e s e   c o n d i t i o n s   a r e   u s e f u l   i f   y o u   f i n d   t h a t   m a t c h   r u l e s ,   o b j e c t S e l e c t o r s   a n d   n a m e s p a c e S e l e c t o r s   s t i l l   d o e s n ' t   p r o v i d e   t h e   f i l t e r i n g   y o u   w a n t .   M a t c h   c o n d i t i o n s   a r e   C E L   e x p r e s s i o n s .   A l l   m a t c h   c o n d i t i o n s   m u s t   e v a l u a t e   t o   t r u e   f o r   t h e   r e s o u r c e   t o   b e   e v a l u a t e d .   H e r e   i s   a n   e x a m p l e   i l l u s t r a t i n g   a   f e w   d i f f e r e n t   u s e s   f o r   m a t c h   c o n d i t i o n s :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y   m e t a d a t a :   n a m e :   \" d e m o - p o l i c y . e x a m p l e . c o m \"   s p e c :   f a i l u r e P o l i c y :   F a i l   m a t c h C o n s t r a i n t s :   r e s o u r c e R u l e s :   -   a p i G r o u p s :   [ \" * \" ]   a p i V e r s i o n s :   [ \" * \" ]   o p e r a t i o n s :   [ \" C R E A T E \" ,   \" U P D A T E \" ]   r e s o u r c e s :   [ \" * \" ]   m a t c h C o n d i t i o n s :   -   n a m e :   ' e x c l u d e - l e a s e s '   #   E a c h   m a t c h   c o n d i t i o n   m u s t   h a v e   a   u n i q u e   n a m e   e x p r e s s i o n :   ' ! ( r e q u e s t . r e s o u r c e . g r o u p   = =   \" c o o r d i n a t i o n . k 8 s . i o \"   & &   r e q u e s t . r e s o u r c e . r e s o u r c e   = =   \" l e a s e s \" ) '   #   M a t c h   n o n - l e a s e   r e s o u r c e s .   -   n a m e :   ' e x c l u d e - k u b e l e t - r e q u e s t s '   e x p r e s s i o n :   ' ! ( \" s y s t e m : n o d e s \"   i n   r e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23157"
  },
  {
    "question": "What is Audit annotations?",
    "answer": "a u d i t A n n o t a t i o n s   m a y   b e   u s e d   t o   i n c l u d e   a u d i t   a n n o t a t i o n s   i n   t h e   a u d i t   e v e n t   o f   t h e   A P I   r e q u e s t .   F o r   e x a m p l e ,   h e r e   i s   a n   a d m i s s i o n   p o l i c y   w i t h   a n   a u d i t   a n n o t a t i o n :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y   m e t a d a t a :   n a m e :   \" d e m o - p o l i c y . e x a m p l e . c o m \"   s p e c :   f a i l u r e P o l i c y :   F a i l   m a t c h C o n s t r a i n t s :   r e s o u r c e R u l e s :   -   a p i G r o u p s :   [ \" a p p s \" ]   a p i V e r s i o n s :   [ \" v 1 \" ]   o p e r a t i o n s :   [ \" C R E A T E \" ,   \" U P D A T E \" ]   r e s o u r c e s :   [ \" d e p l o y m e n t s \" ]   v a l i d a t i o n s :   -   e x p r e s s i o n :   \" o b j e c t . s p e c . r e p l i c a s   >   5 0 \"   m e s s a g e E x p r e s s i o n :   \" ' D e p l o y m e n t   s p e c . r e p l i c a s   s e t   t o   '   +   s t r i n g ( o b j e c t . s p e c . r e p l i c a s ) \"   a u d i t A n n o t a t i o n s :   -   k e y :   \" h i g h - r e p l i c a - c o u n t \"   v a l u e E x p r e s s i o n :   \" ' D e p l o y m e n t   s p e c . r e p l i c a s   s e t   t o   '   +   s t r i n g ( o b j e c t . s p e c . r e p l i c a s ) \"   W h e n   a n   A P I   r e q u e s t   i s   v a l i d a t e d   w i t h   t h i s   a d m i s s i o n   p o l i c y ,   t h e   r e s u l t i n g   a u d i t   e v e n t   w i l l   l o o k   l i k e :   #   t h e   a u d i t   e v e n t   r e c o r d e d   {   \" k i n d \" :   \" E v e n t \" ,   \" a p i V e r s i o n \" :   \" a u d i t . k 8 s . i o / v 1 \" ,   \" a n n o t a t i o n s \" :   {   \" d e m o - p o l i c y . e x a m p l e . c o m / h i g h - r e p l i c a - c o u n t \" :   \" D e p l o y m e n t   s p e c . r e p l i c a s   s e t   t o   1 2 8 \"   # ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23158"
  },
  {
    "question": "What is Message expression?",
    "answer": "T o   r e t u r n   a   m o r e   f r i e n d l y   m e s s a g e   w h e n   t h e   p o l i c y   r e j e c t s   a   r e q u e s t ,   w e   c a n   u s e   a   C E L   e x p r e s s i o n   t o   c o m p o s i t e   a   m e s s a g e   w i t h   s p e c . v a l i d a t i o n s [ i ] . m e s s a g e E x p r e s s i o n .   S i m i l a r   t o   t h e   v a l i d a t i o n   e x p r e s s i o n ,   a   m e s s a g e   e x p r e s s i o n   h a s   a c c e s s   t o   o b j e c t ,   o l d O b j e c t ,   r e q u e s t ,   p a r a m s ,   a n d   n a m e s p a c e O b j e c t .   U n l i k e   v a l i d a t i o n s ,   m e s s a g e   e x p r e s s i o n   m u s t   e v a l u a t e   t o   a   s t r i n g .   F o r   e x a m p l e ,   t o   b e t t e r   i n f o r m   t h e   u s e r   o f   t h e   r e a s o n   o f   d e n i a l   w h e n   t h e   p o l i c y   r e f e r s   t o   a   p a r a m e t e r ,   w e   c a n   h a v e   t h e   f o l l o w i n g   v a l i d a t i o n :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y   m e t a d a t a :   n a m e :   \" d e p l o y - r e p l i c a - p o l i c y . e x a m p l e . c o m \"   s p e c :   p a r a m K i n d :   a p i V e r s i o n :   r u l e s . e x a m p l e . c o m / v 1   k i n d :   R e p l i c a L i m i t   m a t c h C o n s t r a i n t s :   r e s o u r c e R u l e s :   -   a p i G r o u p s :   [ \" a p p s \" ]   a p i V e r s i o n s :   [ \" v 1 \" ]   o p e r a t i o n s :   [ \" C R E A T E \" ,   \" U P D A T E \" ]   r e s o u r c e s :   [ \" d e p l o y m e n t s \" ]   v a l i d a t i o n s :   -   e x p r e s s i o n :   \" o b j e c t . s p e c . r e p l i c a s   < =   p a r a m s . m a x R e p l i c a s \"   m e s s a g e E x p r e s s i o n :   \" ' o b j e c t . s p e c . r e p l i c a s   m u s t   b e   n o   g r e a t e r   t h a n   '   +   s t r i n g ( p a r a m s . m a x R e p l i c a s ) ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23159"
  },
  {
    "question": "What is Type checking?",
    "answer": "W h e n   a   p o l i c y   d e f i n i t i o n   i s   c r e a t e d   o r   u p d a t e d ,   t h e   v a l i d a t i o n   p r o c e s s   p a r s e s   t h e   e x p r e s s i o n s   i t   c o n t a i n s   a n d   r e p o r t s   a n y   s y n t a x   e r r o r s ,   r e j e c t i n g   t h e   d e f i n i t i o n   i f   a n y   e r r o r s   a r e   f o u n d .   A f t e r w a r d ,   t h e   r e f e r r e d   v a r i a b l e s   a r e   c h e c k e d   f o r   t y p e   e r r o r s ,   i n c l u d i n g   m i s s i n g   f i e l d s   a n d   t y p e   c o n f u s i o n ,   a g a i n s t   t h e   m a t c h e d   t y p e s   o f   s p e c . m a t c h C o n s t r a i n t s .   T h e   r e s u l t   o f   t y p e   c h e c k i n g   c a n   b e   r e t r i e v e d   f r o m   s t a t u s . t y p e C h e c k i n g .   T h e   p r e s e n c e   o f   s t a t u s . t y p e C h e c k i n g   i n d i c a t e s   t h e   c o m p l e t i o n   o f   t y p e   c h e c k i n g ,   a n d   a n   e m p t y   s t a t u s . t y p e C h e c k i n g   m e a n s   t h a t   n o   e r r o r s   w e r e   d e t e c t e d .   F o r   e x a m p l e ,   g i v e n   t h e   f o l l o w i n g   p o l i c y   d e f i n i t i o n :   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y   m e t a d a t a :   n a m e :   \" d e p l o y - r e p l i c a - p o l i c y . e x a m p l e . c o m \"   s p e c :   m a t c h C o n s t r a i n t s :   r e s o u r c e R u l e s :   -   a p i G r o u p s :   [ \" a p p s \" ]   a p i V e r s i o n s :   [ \" v 1 \" ]   o p e r a t i o n s :   [ \" C R E A T E \" ,   \" U P D A T E \" ]   r e s o u r c e s :   [ \" d e p l o y m e n t s \" ]   v a l i d a t i o n s :   -   e x p r e s s i o n :   \" o b j e c t . r e p l i c a s   >   1 \"   #   s h o u l d   b e   \" o b j e c t . s p e c . r e p l i c a s   >   1 \"   m e s s a g e :   \" m u s t   b e   r e p l i c a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23160"
  },
  {
    "question": "What is Variable composition?",
    "answer": "I f   a n   e x p r e s s i o n   g r o w s   t o o   c o m p l i c a t e d ,   o r   p a r t   o f   t h e   e x p r e s s i o n   i s   r e u s a b l e   a n d   c o m p u t a t i o n a l l y   e x p e n s i v e   t o   e v a l u a t e ,   y o u   c a n   e x t r a c t   s o m e   p a r t   o f   t h e   e x p r e s s i o n s   i n t o   v a r i a b l e s .   A   v a r i a b l e   i s   a   n a m e d   e x p r e s s i o n   t h a t   c a n   b e   r e f e r r e d   l a t e r   i n   v a r i a b l e s   i n   o t h e r   e x p r e s s i o n s .   s p e c :   v a r i a b l e s :   -   n a m e :   f o o   e x p r e s s i o n :   \" ' f o o '   i n   o b j e c t . s p e c . m e t a d a t a . l a b e l s   ?   o b j e c t . s p e c . m e t a d a t a . l a b e l s [ ' f o o ' ]   :   ' d e f a u l t ' \"   v a l i d a t i o n s :   -   e x p r e s s i o n :   v a r i a b l e s . f o o   = =   ' b a r '   A   v a r i a b l e   i s   l a z i l y   e v a l u a t e d   w h e n   i t   i s   f i r s t   r e f e r r e d .   A n y   e r r o r   t h a t   o c c u r s   d u r i n g   t h e   e v a l u a t i o n   w i l l   b e   r e p o r t e d   d u r i n g   t h e   e v a l u a t i o n   o f   t h e   r e f e r r i n g   e x p r e s s i o n .   B o t h   t h e   r e s u l t   a n d   p o t e n t i a l   e r r o r   a r e   m e m o r i z e d   a n d   c o u n t   o n l y   o n c e   t o w a r d s   t h e   r u n t i m e   c o s t .   T h e   o r d e r   o f   v a r i a b l e s   a r e   i m p o r t a n t   b e c a u s e   a   v a r i a b l e   c a n   r e f e r   t o   o t h e r   v a r i a b l e s   t h a t   a r e   d e f i n e d   b e f o r e   i t .   T h i s   o r d e r i n g   p r e v e n t s   c i r c u l a r   r e f e r e n c e s .   T h e   f o l l o w i n g   i s   a   m o r e   c o m p l e x   e x a m p l e   o f   e n f o r c i n g   t h a t   i m a g e   r e p o   n a m e s   m a t c h   t h e   e n v i r o n m e n t   d e f i n e d   i n   i t s   n a m e s p a c e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23161"
  },
  {
    "question": "What is API kinds exempt from admission validation?",
    "answer": "T h e r e   a r e   c e r t a i n   A P I   k i n d s   t h a t   a r e   e x e m p t   f r o m   a d m i s s i o n - t i m e   v a l i d a t i o n   c h e c k s .   F o r   e x a m p l e ,   y o u   c a n ' t   c r e a t e   a   V a l i d a t i n g A d m i s s i o n P o l i c y   t h a t   p r e v e n t s   c h a n g e s   t o   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g s .   T h e   l i s t   o f   e x e m p t   A P I   k i n d s   i s :   V a l i d a t i n g A d m i s s i o n P o l i c i e s V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g s M u t a t i n g A d m i s s i o n P o l i c i e s M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g s T o k e n R e v i e w s L o c a l S u b j e c t A c c e s s R e v i e w s S e l f S u b j e c t A c c e s s R e v i e w s S e l f S u b j e c t R e v i e w s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23162"
  },
  {
    "question": "What is 4 - Well-Known Labels, Annotations and Taints?",
    "answer": "K u b e r n e t e s   r e s e r v e s   a l l   l a b e l s ,   a n n o t a t i o n s   a n d   t a i n t s   i n   t h e   k u b e r n e t e s . i o   a n d   k 8 s . i o   n a m e s p a c e s .   T h i s   d o c u m e n t   s e r v e s   b o t h   a s   a   r e f e r e n c e   t o   t h e   v a l u e s   a n d   a s   a   c o o r d i n a t i o n   p o i n t   f o r   a s s i g n i n g   v a l u e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23163"
  },
  {
    "question": "What is apf.kubernetes.io/autoupdate-spec?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   a p f . k u b e r n e t e s . i o / a u t o u p d a t e - s p e c :   \" t r u e \"   U s e d   o n :   F l o w S c h e m a   a n d   P r i o r i t y L e v e l C o n f i g u r a t i o n   O b j e c t s   I f   t h i s   a n n o t a t i o n   i s   s e t   t o   t r u e   o n   a   F l o w S c h e m a   o r   P r i o r i t y L e v e l C o n f i g u r a t i o n ,   t h e   s p e c   f o r   t h a t   o b j e c t   i s   m a n a g e d   b y   t h e   k u b e - a p i s e r v e r .   I f   t h e   A P I   s e r v e r   d o e s   n o t   r e c o g n i z e   a n   A P F   o b j e c t ,   a n d   y o u   a n n o t a t e   i t   f o r   a u t o m a t i c   u p d a t e ,   t h e   A P I   s e r v e r   d e l e t e s   t h e   e n t i r e   o b j e c t .   O t h e r w i s e ,   t h e   A P I   s e r v e r   d o e s   n o t   m a n a g e   t h e   o b j e c t   s p e c .   F o r   m o r e   d e t a i l s ,   r e a d   M a i n t e n a n c e   o f   t h e   M a n d a t o r y   a n d   S u g g e s t e d   C o n f i g u r a t i o n   O b j e c t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23164"
  },
  {
    "question": "What is app.kubernetes.io/component?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   a p p . k u b e r n e t e s . i o / c o m p o n e n t :   \" d a t a b a s e \"   U s e d   o n :   A l l   O b j e c t s   ( t y p i c a l l y   u s e d   o n   w o r k l o a d   r e s o u r c e s ) .   T h e   c o m p o n e n t   w i t h i n   t h e   a p p l i c a t i o n   a r c h i t e c t u r e .   O n e   o f   t h e   r e c o m m e n d e d   l a b e l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23165"
  },
  {
    "question": "What is app.kubernetes.io/created-by (deprecated)?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   a p p . k u b e r n e t e s . i o / c r e a t e d - b y :   \" c o n t r o l l e r - m a n a g e r \"   U s e d   o n :   A l l   O b j e c t s   ( t y p i c a l l y   u s e d   o n   w o r k l o a d   r e s o u r c e s ) .   T h e   c o n t r o l l e r / u s e r   w h o   c r e a t e d   t h i s   r e s o u r c e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23166"
  },
  {
    "question": "What is app.kubernetes.io/instance?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   a p p . k u b e r n e t e s . i o / i n s t a n c e :   \" m y s q l - a b c x y z \"   U s e d   o n :   A l l   O b j e c t s   ( t y p i c a l l y   u s e d   o n   w o r k l o a d   r e s o u r c e s ) .   A   u n i q u e   n a m e   i d e n t i f y i n g   t h e   i n s t a n c e   o f   a n   a p p l i c a t i o n .   T o   a s s i g n   a   n o n - u n i q u e   n a m e ,   u s e   a p p . k u b e r n e t e s . i o / n a m e .   O n e   o f   t h e   r e c o m m e n d e d   l a b e l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23167"
  },
  {
    "question": "What is app.kubernetes.io/managed-by?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   a p p . k u b e r n e t e s . i o / m a n a g e d - b y :   \" h e l m \"   U s e d   o n :   A l l   O b j e c t s   ( t y p i c a l l y   u s e d   o n   w o r k l o a d   r e s o u r c e s ) .   T h e   t o o l   b e i n g   u s e d   t o   m a n a g e   t h e   o p e r a t i o n   o f   a n   a p p l i c a t i o n .   O n e   o f   t h e   r e c o m m e n d e d   l a b e l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23168"
  },
  {
    "question": "What is app.kubernetes.io/name?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   a p p . k u b e r n e t e s . i o / n a m e :   \" m y s q l \"   U s e d   o n :   A l l   O b j e c t s   ( t y p i c a l l y   u s e d   o n   w o r k l o a d   r e s o u r c e s ) .   T h e   n a m e   o f   t h e   a p p l i c a t i o n .   O n e   o f   t h e   r e c o m m e n d e d   l a b e l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23169"
  },
  {
    "question": "What is app.kubernetes.io/part-of?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   a p p . k u b e r n e t e s . i o / p a r t - o f :   \" w o r d p r e s s \"   U s e d   o n :   A l l   O b j e c t s   ( t y p i c a l l y   u s e d   o n   w o r k l o a d   r e s o u r c e s ) .   T h e   n a m e   o f   a   h i g h e r - l e v e l   a p p l i c a t i o n   t h i s   o b j e c t   i s   p a r t   o f .   O n e   o f   t h e   r e c o m m e n d e d   l a b e l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23170"
  },
  {
    "question": "What is app.kubernetes.io/version?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   a p p . k u b e r n e t e s . i o / v e r s i o n :   \" 5 . 7 . 2 1 \"   U s e d   o n :   A l l   O b j e c t s   ( t y p i c a l l y   u s e d   o n   w o r k l o a d   r e s o u r c e s ) .   T h e   c u r r e n t   v e r s i o n   o f   t h e   a p p l i c a t i o n .   C o m m o n   f o r m s   o f   v a l u e s   i n c l u d e :   s e m a n t i c   v e r s i o n t h e   G i t   r e v i s i o n   h a s h   f o r   t h e   s o u r c e   c o d e .   O n e   o f   t h e   r e c o m m e n d e d   l a b e l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23171"
  },
  {
    "question": "What is applyset.kubernetes.io/additional-namespaces (alpha)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   a p p l y s e t . k u b e r n e t e s . i o / a d d i t i o n a l - n a m e s p a c e s :   \" n a m e s p a c e 1 , n a m e s p a c e 2 \"   U s e d   o n :   O b j e c t s   b e i n g   u s e d   a s   A p p l y S e t   p a r e n t s .   U s e   o f   t h i s   a n n o t a t i o n   i s   A l p h a .   F o r   K u b e r n e t e s   v e r s i o n   1 . 3 4 ,   y o u   c a n   u s e   t h i s   a n n o t a t i o n   o n   S e c r e t s ,   C o n f i g M a p s ,   o r   c u s t o m   r e s o u r c e s   i f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   d e f i n i n g   t h e m   h a s   t h e   a p p l y s e t . k u b e r n e t e s . i o / i s - p a r e n t - t y p e   l a b e l .   P a r t   o f   t h e   s p e c i f i c a t i o n   u s e d   t o   i m p l e m e n t   A p p l y S e t - b a s e d   p r u n i n g   i n   k u b e c t l .   T h i s   a n n o t a t i o n   i s   a p p l i e d   t o   t h e   p a r e n t   o b j e c t   u s e d   t o   t r a c k   a n   A p p l y S e t   t o   e x t e n d   t h e   s c o p e   o f   t h e   A p p l y S e t   b e y o n d   t h e   p a r e n t   o b j e c t ' s   o w n   n a m e s p a c e   ( i f   a n y ) .   T h e   v a l u e   i s   a   c o m m a - s e p a r a t e d   l i s t   o f   t h e   n a m e s   o f   n a m e s p a c e s   o t h e r   t h a n   t h e   p a r e n t ' s   n a m e s p a c e   i n   w h i c h   o b j e c t s   a r e   f o u n d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23172"
  },
  {
    "question": "What is applyset.kubernetes.io/contains-group-kinds (alpha)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   a p p l y s e t . k u b e r n e t e s . i o / c o n t a i n s - g r o u p - k i n d s :   \" c e r t i f i c a t e s . c e r t - m a n a g e r . i o , c o n f i g m a p s , d e p l o y m e n t s . a p p s , s e c r e t s , s e r v i c e s \"   U s e d   o n :   O b j e c t s   b e i n g   u s e d   a s   A p p l y S e t   p a r e n t s .   U s e   o f   t h i s   a n n o t a t i o n   i s   A l p h a .   F o r   K u b e r n e t e s   v e r s i o n   1 . 3 4 ,   y o u   c a n   u s e   t h i s   a n n o t a t i o n   o n   S e c r e t s ,   C o n f i g M a p s ,   o r   c u s t o m   r e s o u r c e s   i f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   d e f i n i n g   t h e m   h a s   t h e   a p p l y s e t . k u b e r n e t e s . i o / i s - p a r e n t - t y p e   l a b e l .   P a r t   o f   t h e   s p e c i f i c a t i o n   u s e d   t o   i m p l e m e n t   A p p l y S e t - b a s e d   p r u n i n g   i n   k u b e c t l .   T h i s   a n n o t a t i o n   i s   a p p l i e d   t o   t h e   p a r e n t   o b j e c t   u s e d   t o   t r a c k   a n   A p p l y S e t   t o   o p t i m i z e   l i s t i n g   o f   A p p l y S e t   m e m b e r   o b j e c t s .   I t   i s   o p t i o n a l   i n   t h e   A p p l y S e t   s p e c i f i c a t i o n ,   a s   t o o l s   c a n   p e r f o r m   d i s c o v e r y   o r   u s e   a   d i f f e r e n t   o p t i m i z a t i o n .   H o w e v e r ,   a s   o f   K u b e r n e t e s   v e r s i o n   1 . 3 4 ,   i t   i s   r e q u i r e d   b y   k u b e c t l .   W h e n   p r e s e n t ,   t h e   v a l u e   o f   t h i s   a n n o t a t i o n   m u s t   b e   a   c o m m a   s e p a r a t e d   l i s t   o f   t h e   g r o u p - k i n d s ,   i n   t h e   f u l l y - q u a l i f i e d   n a m e   f o r m a t ,   i . e .   < r e s o u r c e > . < g r o u p > .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23173"
  },
  {
    "question": "What is applyset.kubernetes.io/contains-group-resources (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   a p p l y s e t . k u b e r n e t e s . i o / c o n t a i n s - g r o u p - r e s o u r c e s :   \" c e r t i f i c a t e s . c e r t - m a n a g e r . i o , c o n f i g m a p s , d e p l o y m e n t s . a p p s , s e c r e t s , s e r v i c e s \"   U s e d   o n :   O b j e c t s   b e i n g   u s e d   a s   A p p l y S e t   p a r e n t s .   F o r   K u b e r n e t e s   v e r s i o n   1 . 3 4 ,   y o u   c a n   u s e   t h i s   a n n o t a t i o n   o n   S e c r e t s ,   C o n f i g M a p s ,   o r   c u s t o m   r e s o u r c e s   i f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   d e f i n i n g   t h e m   h a s   t h e   a p p l y s e t . k u b e r n e t e s . i o / i s - p a r e n t - t y p e   l a b e l .   P a r t   o f   t h e   s p e c i f i c a t i o n   u s e d   t o   i m p l e m e n t   A p p l y S e t - b a s e d   p r u n i n g   i n   k u b e c t l .   T h i s   a n n o t a t i o n   i s   a p p l i e d   t o   t h e   p a r e n t   o b j e c t   u s e d   t o   t r a c k   a n   A p p l y S e t   t o   o p t i m i z e   l i s t i n g   o f   A p p l y S e t   m e m b e r   o b j e c t s .   I t   i s   o p t i o n a l   i n   t h e   A p p l y S e t   s p e c i f i c a t i o n ,   a s   t o o l s   c a n   p e r f o r m   d i s c o v e r y   o r   u s e   a   d i f f e r e n t   o p t i m i z a t i o n .   H o w e v e r ,   i n   K u b e r n e t e s   v e r s i o n   1 . 3 4 ,   i t   i s   r e q u i r e d   b y   k u b e c t l .   W h e n   p r e s e n t ,   t h e   v a l u e   o f   t h i s   a n n o t a t i o n   m u s t   b e   a   c o m m a   s e p a r a t e d   l i s t   o f   t h e   g r o u p - k i n d s ,   i n   t h e   f u l l y - q u a l i f i e d   n a m e   f o r m a t ,   i . e .   < r e s o u r c e > . < g r o u p > .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23174"
  },
  {
    "question": "What is applyset.kubernetes.io/id (alpha)?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   a p p l y s e t . k u b e r n e t e s . i o / i d :   \" a p p l y s e t - 0 e F H V 8 y S q p 7 X o S h s G v y W F Q D 3 s 9 6 y q w H m z c 4 e 0 H R 1 d s Y - v 1 \"   U s e d   o n :   O b j e c t s   b e i n g   u s e d   a s   A p p l y S e t   p a r e n t s .   U s e   o f   t h i s   l a b e l   i s   A l p h a .   F o r   K u b e r n e t e s   v e r s i o n   1 . 3 4 ,   y o u   c a n   u s e   t h i s   l a b e l   o n   S e c r e t s ,   C o n f i g M a p s ,   o r   c u s t o m   r e s o u r c e s   i f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   d e f i n i n g   t h e m   h a s   t h e   a p p l y s e t . k u b e r n e t e s . i o / i s - p a r e n t - t y p e   l a b e l .   P a r t   o f   t h e   s p e c i f i c a t i o n   u s e d   t o   i m p l e m e n t   A p p l y S e t - b a s e d   p r u n i n g   i n   k u b e c t l .   T h i s   l a b e l   i s   w h a t   m a k e s   a n   o b j e c t   a n   A p p l y S e t   p a r e n t   o b j e c t .   I t s   v a l u e   i s   t h e   u n i q u e   I D   o f   t h e   A p p l y S e t ,   w h i c h   i s   d e r i v e d   f r o m   t h e   i d e n t i t y   o f   t h e   p a r e n t   o b j e c t   i t s e l f .   T h i s   I D   m u s t   b e   t h e   b a s e 6 4   e n c o d i n g   ( u s i n g   t h e   U R L   s a f e   e n c o d i n g   o f   R F C 4 6 4 8 )   o f   t h e   h a s h   o f   t h e   g r o u p - k i n d - n a m e - n a m e s p a c e   o f   t h e   o b j e c t   i t   i s   o n ,   i n   t h e   f o r m :   < b a s e 6 4 ( s h a 2 5 6 ( < n a m e > . < n a m e s p a c e > . < k i n d > . < g r o u p > ) ) > .   T h e r e   i s   n o   r e l a t i o n   b e t w e e n   t h e   v a l u e   o f   t h i s   l a b e l   a n d   o b j e c t   U I D .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23175"
  },
  {
    "question": "What is applyset.kubernetes.io/is-parent-type (alpha)?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   a p p l y s e t . k u b e r n e t e s . i o / i s - p a r e n t - t y p e :   \" t r u e \"   U s e d   o n :   C u s t o m   R e s o u r c e   D e f i n i t i o n   ( C R D )   U s e   o f   t h i s   l a b e l   i s   A l p h a .   P a r t   o f   t h e   s p e c i f i c a t i o n   u s e d   t o   i m p l e m e n t   A p p l y S e t - b a s e d   p r u n i n g   i n   k u b e c t l .   Y o u   c a n   s e t   t h i s   l a b e l   o n   a   C u s t o m R e s o u r c e D e f i n i t i o n   ( C R D )   t o   i d e n t i f y   t h e   c u s t o m   r e s o u r c e   t y p e   i t   d e f i n e s   ( n o t   t h e   C R D   i t s e l f )   a s   a n   a l l o w e d   p a r e n t   f o r   a n   A p p l y S e t .   T h e   o n l y   p e r m i t t e d   v a l u e   f o r   t h i s   l a b e l   i s   \" t r u e \" ;   i f   y o u   w a n t   t o   m a r k   a   C R D   a s   n o t   b e i n g   a   v a l i d   p a r e n t   f o r   A p p l y S e t s ,   o m i t   t h i s   l a b e l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23176"
  },
  {
    "question": "What is applyset.kubernetes.io/part-of (alpha)?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   a p p l y s e t . k u b e r n e t e s . i o / p a r t - o f :   \" a p p l y s e t - 0 e F H V 8 y S q p 7 X o S h s G v y W F Q D 3 s 9 6 y q w H m z c 4 e 0 H R 1 d s Y - v 1 \"   U s e d   o n :   A l l   o b j e c t s .   U s e   o f   t h i s   l a b e l   i s   A l p h a .   P a r t   o f   t h e   s p e c i f i c a t i o n   u s e d   t o   i m p l e m e n t   A p p l y S e t - b a s e d   p r u n i n g   i n   k u b e c t l .   T h i s   l a b e l   i s   w h a t   m a k e s   a n   o b j e c t   a   m e m b e r   o f   a n   A p p l y S e t .   T h e   v a l u e   o f   t h e   l a b e l   m u s t   m a t c h   t h e   v a l u e   o f   t h e   a p p l y s e t . k u b e r n e t e s . i o / i d   l a b e l   o n   t h e   p a r e n t   o b j e c t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23177"
  },
  {
    "question": "What is applyset.kubernetes.io/tooling (alpha)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   a p p l y s e t . k u b e r n e t e s . i o / t o o l i n g :   \" k u b e c t l / v 1 . 3 4 \"   U s e d   o n :   O b j e c t s   b e i n g   u s e d   a s   A p p l y S e t   p a r e n t s .   U s e   o f   t h i s   a n n o t a t i o n   i s   A l p h a .   F o r   K u b e r n e t e s   v e r s i o n   1 . 3 4 ,   y o u   c a n   u s e   t h i s   a n n o t a t i o n   o n   S e c r e t s ,   C o n f i g M a p s ,   o r   c u s t o m   r e s o u r c e s   i f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n d e f i n i n g   t h e m   h a s   t h e   a p p l y s e t . k u b e r n e t e s . i o / i s - p a r e n t - t y p e   l a b e l .   P a r t   o f   t h e   s p e c i f i c a t i o n   u s e d   t o   i m p l e m e n t   A p p l y S e t - b a s e d   p r u n i n g   i n   k u b e c t l .   T h i s   a n n o t a t i o n   i s   a p p l i e d   t o   t h e   p a r e n t   o b j e c t   u s e d   t o   t r a c k   a n   A p p l y S e t   t o   i n d i c a t e   w h i c h   t o o l i n g   m a n a g e s   t h a t   A p p l y S e t .   T o o l i n g   s h o u l d   r e f u s e   t o   m u t a t e   A p p l y S e t s   b e l o n g i n g   t o   o t h e r   t o o l s .   T h e   v a l u e   m u s t   b e   i n   t h e   f o r m a t   < t o o l n a m e > / < s e m v e r > .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23178"
  },
  {
    "question": "What is apps.kubernetes.io/pod-index (beta)?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   a p p s . k u b e r n e t e s . i o / p o d - i n d e x :   \" 0 \"   U s e d   o n :   P o d   W h e n   a   S t a t e f u l S e t   c o n t r o l l e r   c r e a t e s   a   P o d   f o r   t h e   S t a t e f u l S e t ,   i t   s e t s   t h i s   l a b e l   o n   t h a t   P o d .   T h e   v a l u e   o f   t h e   l a b e l   i s   t h e   o r d i n a l   i n d e x   o f   t h e   p o d   b e i n g   c r e a t e d .   S e e   P o d   I n d e x   L a b e l   i n   t h e   S t a t e f u l S e t   t o p i c   f o r   m o r e   d e t a i l s .   N o t e   t h e   P o d I n d e x L a b e l   f e a t u r e   g a t e   m u s t   b e   e n a b l e d   f o r   t h i s   l a b e l   t o   b e   a d d e d   t o   p o d s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23179"
  },
  {
    "question": "What is resource.kubernetes.io/pod-claim-name?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   r e s o u r c e . k u b e r n e t e s . i o / p o d - c l a i m - n a m e :   \" m y - p o d - c l a i m \"   U s e d   o n :   R e s o u r c e C l a i m   T h i s   a n n o t a t i o n   i s   a s s i g n e d   t o   g e n e r a t e d   R e s o u r c e C l a i m s .   I t s   v a l u e   c o r r e s p o n d s   t o   t h e   n a m e   o f   t h e   r e s o u r c e   c l a i m   i n   t h e   . s p e c   o f   a n y   P o d ( s )   f o r   w h i c h   t h e   R e s o u r c e C l a i m   w a s   c r e a t e d .   T h i s   a n n o t a t i o n   i s   a n   i n t e r n a l   i m p l e m e n t a t i o n   d e t a i l   o f   d y n a m i c   r e s o u r c e   a l l o c a t i o n .   Y o u   s h o u l d   n o t   n e e d   t o   r e a d   o r   m o d i f y   t h e   v a l u e   o f   t h i s   a n n o t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23180"
  },
  {
    "question": "What is cluster-autoscaler.kubernetes.io/safe-to-evict?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   c l u s t e r - a u t o s c a l e r . k u b e r n e t e s . i o / s a f e - t o - e v i c t :   \" t r u e \"   U s e d   o n :   P o d   W h e n   t h i s   a n n o t a t i o n   i s   s e t   t o   \" t r u e \" ,   t h e   c l u s t e r   a u t o s c a l e r   i s   a l l o w e d   t o   e v i c t   a   P o d   e v e n   i f   o t h e r   r u l e s   w o u l d   n o r m a l l y   p r e v e n t   t h a t .   T h e   c l u s t e r   a u t o s c a l e r   n e v e r   e v i c t s   P o d s   t h a t   h a v e   t h i s   a n n o t a t i o n   e x p l i c i t l y   s e t   t o   \" f a l s e \" ;   y o u   c o u l d   s e t   t h a t   o n   a n   i m p o r t a n t   P o d   t h a t   y o u   w a n t   t o   k e e p   r u n n i n g .   I f   t h i s   a n n o t a t i o n   i s   n o t   s e t   t h e n   t h e   c l u s t e r   a u t o s c a l e r   f o l l o w s   i t s   P o d - l e v e l   b e h a v i o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23181"
  },
  {
    "question": "What is config.kubernetes.io/local-config?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   c o n f i g . k u b e r n e t e s . i o / l o c a l - c o n f i g :   \" t r u e \"   U s e d   o n :   A l l   o b j e c t s   T h i s   a n n o t a t i o n   i s   u s e d   i n   m a n i f e s t s   t o   m a r k   a n   o b j e c t   a s   l o c a l   c o n f i g u r a t i o n   t h a t   s h o u l d   n o t   b e   s u b m i t t e d   t o   t h e   K u b e r n e t e s   A P I .   A   v a l u e   o f   \" t r u e \"   f o r   t h i s   a n n o t a t i o n   d e c l a r e s   t h a t   t h e   o b j e c t   i s   o n l y   c o n s u m e d   b y   c l i e n t - s i d e   t o o l i n g   a n d   s h o u l d   n o t   b e   s u b m i t t e d   t o   t h e   A P I   s e r v e r .   A   v a l u e   o f   \" f a l s e \"   c a n   b e   u s e d   t o   d e c l a r e   t h a t   t h e   o b j e c t   s h o u l d   b e   s u b m i t t e d   t o   t h e   A P I   s e r v e r   e v e n   w h e n   i t   w o u l d   o t h e r w i s e   b e   a s s u m e d   t o   b e   l o c a l .   T h i s   a n n o t a t i o n   i s   p a r t   o f   t h e   K u b e r n e t e s   R e s o u r c e   M o d e l   ( K R M )   F u n c t i o n s   S p e c i f i c a t i o n ,   w h i c h   i s   u s e d   b y   K u s t o m i z e   a n d   s i m i l a r   t h i r d - p a r t y   t o o l s .   F o r   e x a m p l e ,   K u s t o m i z e   r e m o v e s   o b j e c t s   w i t h   t h i s   a n n o t a t i o n   f r o m   i t s   f i n a l   b u i l d   o u t p u t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23182"
  },
  {
    "question": "What is container.apparmor.security.beta.kubernetes.io/* (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   c o n t a i n e r . a p p a r m o r . s e c u r i t y . b e t a . k u b e r n e t e s . i o / m y - c o n t a i n e r :   m y - c u s t o m - p r o f i l e   U s e d   o n :   P o d s   T h i s   a n n o t a t i o n   a l l o w s   y o u   t o   s p e c i f y   t h e   A p p A r m o r   s e c u r i t y   p r o f i l e   f o r   a   c o n t a i n e r   w i t h i n   a   K u b e r n e t e s   p o d .   A s   o f   K u b e r n e t e s   v 1 . 3 0 ,   t h i s   s h o u l d   b e   s e t   w i t h   t h e   a p p A r m o r P r o f i l e   f i e l d   i n s t e a d .   T o   l e a r n   m o r e ,   s e e   t h e   A p p A r m o r   t u t o r i a l .   T h e   t u t o r i a l   i l l u s t r a t e s   u s i n g   A p p A r m o r   t o   r e s t r i c t   a   c o n t a i n e r ' s   a b i l i t i e s   a n d   a c c e s s .   T h e   p r o f i l e   s p e c i f i e d   d i c t a t e s   t h e   s e t   o f   r u l e s   a n d   r e s t r i c t i o n s   t h a t   t h e   c o n t a i n e r i z e d   p r o c e s s   m u s t   a d h e r e   t o .   T h i s   h e l p s   e n f o r c e   s e c u r i t y   p o l i c i e s   a n d   i s o l a t i o n   f o r   y o u r   c o n t a i n e r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23183"
  },
  {
    "question": "What is internal.config.kubernetes.io/* (reserved prefix)?",
    "answer": "T y p e :   A n n o t a t i o n   U s e d   o n :   A l l   o b j e c t s   T h i s   p r e f i x   i s   r e s e r v e d   f o r   i n t e r n a l   u s e   b y   t o o l s   t h a t   a c t   a s   o r c h e s t r a t o r s   i n   a c c o r d a n c e   w i t h   t h e   K u b e r n e t e s   R e s o u r c e   M o d e l   ( K R M )   F u n c t i o n s   S p e c i f i c a t i o n .   A n n o t a t i o n s   w i t h   t h i s   p r e f i x   a r e   i n t e r n a l   t o   t h e   o r c h e s t r a t i o n   p r o c e s s   a n d   a r e   n o t   p e r s i s t e d   t o   t h e   m a n i f e s t s   o n   t h e   f i l e s y s t e m .   I n   o t h e r   w o r d s ,   t h e   o r c h e s t r a t o r   t o o l   s h o u l d   s e t   t h e s e   a n n o t a t i o n s   w h e n   r e a d i n g   f i l e s   f r o m   t h e   l o c a l   f i l e s y s t e m   a n d   r e m o v e   t h e m   w h e n   w r i t i n g   t h e   o u t p u t   o f   f u n c t i o n s   b a c k   t o   t h e   f i l e s y s t e m .   A   K R M   f u n c t i o n   m u s t   n o t   m o d i f y   a n n o t a t i o n s   w i t h   t h i s   p r e f i x ,   u n l e s s   o t h e r w i s e   s p e c i f i e d   f o r   a   g i v e n   a n n o t a t i o n .   T h i s   e n a b l e s   o r c h e s t r a t o r   t o o l s   t o   a d d   a d d i t i o n a l   i n t e r n a l   a n n o t a t i o n s ,   w i t h o u t   r e q u i r i n g   c h a n g e s   t o   e x i s t i n g   f u n c t i o n s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23184"
  },
  {
    "question": "What is internal.config.kubernetes.io/path?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   i n t e r n a l . c o n f i g . k u b e r n e t e s . i o / p a t h :   \" r e l a t i v e / f i l e / p a t h . y a m l \"   U s e d   o n :   A l l   o b j e c t s   T h i s   a n n o t a t i o n   r e c o r d s   t h e   s l a s h - d e l i m i t e d ,   O S - a g n o s t i c ,   r e l a t i v e   p a t h   t o   t h e   m a n i f e s t   f i l e   t h e   o b j e c t   w a s   l o a d e d   f r o m .   T h e   p a t h   i s   r e l a t i v e   t o   a   f i x e d   l o c a t i o n   o n   t h e   f i l e s y s t e m ,   d e t e r m i n e d   b y   t h e   o r c h e s t r a t o r   t o o l .   T h i s   a n n o t a t i o n   i s   p a r t   o f   t h e   K u b e r n e t e s   R e s o u r c e   M o d e l   ( K R M )   F u n c t i o n s   S p e c i f i c a t i o n ,   w h i c h   i s   u s e d   b y   K u s t o m i z e   a n d   s i m i l a r   t h i r d - p a r t y   t o o l s .   A   K R M   F u n c t i o n   s h o u l d   n o t   m o d i f y   t h i s   a n n o t a t i o n   o n   i n p u t   o b j e c t s   u n l e s s   i t   i s   m o d i f y i n g   t h e   r e f e r e n c e d   f i l e s .   A   K R M   F u n c t i o n   m a y   i n c l u d e   t h i s   a n n o t a t i o n   o n   o b j e c t s   i t   g e n e r a t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23185"
  },
  {
    "question": "What is internal.config.kubernetes.io/index?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   i n t e r n a l . c o n f i g . k u b e r n e t e s . i o / i n d e x :   \" 2 \"   U s e d   o n :   A l l   o b j e c t s   T h i s   a n n o t a t i o n   r e c o r d s   t h e   z e r o - i n d e x e d   p o s i t i o n   o f   t h e   Y A M L   d o c u m e n t   t h a t   c o n t a i n s   t h e   o b j e c t   w i t h i n   t h e   m a n i f e s t   f i l e   t h e   o b j e c t   w a s   l o a d e d   f r o m .   N o t e   t h a t   Y A M L   d o c u m e n t s   a r e   s e p a r a t e d   b y   t h r e e   d a s h e s   ( - - - )   a n d   c a n   e a c h   c o n t a i n   o n e   o b j e c t .   W h e n   t h i s   a n n o t a t i o n   i s   n o t   s p e c i f i e d ,   a   v a l u e   o f   0   i s   i m p l i e d .   T h i s   a n n o t a t i o n   i s   p a r t   o f   t h e   K u b e r n e t e s   R e s o u r c e   M o d e l   ( K R M )   F u n c t i o n s   S p e c i f i c a t i o n ,   w h i c h   i s   u s e d   b y   K u s t o m i z e   a n d   s i m i l a r   t h i r d - p a r t y   t o o l s .   A   K R M   F u n c t i o n   s h o u l d   n o t   m o d i f y   t h i s   a n n o t a t i o n   o n   i n p u t   o b j e c t s   u n l e s s   i t   i s   m o d i f y i n g   t h e   r e f e r e n c e d   f i l e s .   A   K R M   F u n c t i o n   m a y   i n c l u d e   t h i s   a n n o t a t i o n   o n   o b j e c t s   i t   g e n e r a t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23186"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/bind-result?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / b i n d - r e s u l t :   ' { \" D e f a u l t B i n d e r \" : \" s u c c e s s \" } '   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   t h e   r e s u l t   o f   b i n d   s c h e d u l e r   p l u g i n s ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m u l a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23187"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/filter-result?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / f i l t e r - r e s u l t :   > -   { \" n o d e - 2 8 2 x 7 \" : { \" A z u r e D i s k L i m i t s \" : \" p a s s e d \" , \" E B S L i m i t s \" : \" p a s s e d \" , \" G C E P D L i m i t s \" : \" p a s s e d \" , \" I n t e r P o d A f f i n i t y \" : \" p a s s e d \" , \" N o d e A f f i n i t y \" : \" p a s s e d \" , \" N o d e N a m e \" : \" p a s s e d \" , \" N o d e P o r t s \" : \" p a s s e d \" , \" N o d e R e s o u r c e s F i t \" : \" p a s s e d \" , \" N o d e U n s c h e d u l a b l e \" : \" p a s s e d \" , \" N o d e V o l u m e L i m i t s \" : \" p a s s e d \" , \" P o d T o p o l o g y S p r e a d \" : \" p a s s e d \" , \" T a i n t T o l e r a t i o n \" : \" p a s s e d \" , \" V o l u m e B i n d i n g \" : \" p a s s e d \" , \" V o l u m e R e s t r i c t i o n s \" : \" p a s s e d \" , \" V o l u m e Z o n e \" : \" p a s s e d \" } , \" n o d e - g p 9 t 4 \" : { \" A z u r e D i s k L i m i t s \" : \" p a s s e d \" , \" E B S L i m i t s \" : \" p a s s e d \" , \" G C E P D L i m i t s \" : \" p a s s e d \" , \" I n t e r P o d A f f i n i t y \" : \" p a s s e d \" , \" N o d e A f f i n i t y \" : \" p a s s e d \" , \" N o d e N a m e \" : \" p a s s e d \" , \" N o d e P o r t s \" : \" p a s s e d \" , \" N o d e R e s o u r c e s F i t \" : \" p a s s e d \" , \" N o d e U n s c h e d u l a b l e \" : \" p a s s e d \" , \" N o d e V o l u m e L i m i t s \" : \" p a s s e d \" , \" P o d T o p o l o g y S p r e a d \" : \" p a s s e d \" , \" T a i n t T o l e r a t i o n \" : \" p a s s e d \" , \" V o l u m e B i n d i n g \" : \" p a s s e d \" , \" V o l u m e R e s t r i c t i o n s \" : \" p a s s e d \" , \" V o l u m e Z o n e \" : \" p a s s e d \" } }   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   t h e   r e s u l t   o f   f i l t e r   s c h e d u l e r   p l u g i n s ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23188"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/finalscore-result?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / f i n a l s c o r e - r e s u l t :   > -   { \" n o d e - 2 8 2 x 7 \" : { \" I m a g e L o c a l i t y \" : \" 0 \" , \" I n t e r P o d A f f i n i t y \" : \" 0 \" , \" N o d e A f f i n i t y \" : \" 0 \" , \" N o d e N u m b e r \" : \" 0 \" , \" N o d e R e s o u r c e s B a l a n c e d A l l o c a t i o n \" : \" 7 6 \" , \" N o d e R e s o u r c e s F i t \" : \" 7 3 \" , \" P o d T o p o l o g y S p r e a d \" : \" 2 0 0 \" , \" T a i n t T o l e r a t i o n \" : \" 3 0 0 \" , \" V o l u m e B i n d i n g \" : \" 0 \" } , \" n o d e - g p 9 t 4 \" : { \" I m a g e L o c a l i t y \" : \" 0 \" , \" I n t e r P o d A f f i n i t y \" : \" 0 \" , \" N o d e A f f i n i t y \" : \" 0 \" , \" N o d e N u m b e r \" : \" 0 \" , \" N o d e R e s o u r c e s B a l a n c e d A l l o c a t i o n \" : \" 7 6 \" , \" N o d e R e s o u r c e s F i t \" : \" 7 3 \" , \" P o d T o p o l o g y S p r e a d \" : \" 2 0 0 \" , \" T a i n t T o l e r a t i o n \" : \" 3 0 0 \" , \" V o l u m e B i n d i n g \" : \" 0 \" } }   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   t h e   f i n a l   s c o r e s   t h a t   t h e   s c h e d u l e r   c a l c u l a t e s   f r o m   t h e   s c o r e s   f r o m   s c o r e   s c h e d u l e r   p l u g i n s ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m u l a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23189"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/permit-result?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / p e r m i t - r e s u l t :   ' { \" C u s t o m P e r m i t P l u g i n \" : \" s u c c e s s \" } '   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   t h e   r e s u l t   o f   p e r m i t   s c h e d u l e r   p l u g i n s ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m u l a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23190"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/permit-result-timeout?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / p e r m i t - r e s u l t - t i m e o u t :   ' { \" C u s t o m P e r m i t P l u g i n \" : \" 1 0 s \" } '   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   t h e   t i m e o u t s   r e t u r n e d   f r o m   p e r m i t   s c h e d u l e r   p l u g i n s ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m u l a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23191"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/postfilter-result?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / p o s t f i l t e r - r e s u l t :   ' { \" D e f a u l t P r e e m p t i o n \" : \" s u c c e s s \" } '   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   t h e   r e s u l t   o f   p o s t f i l t e r   s c h e d u l e r   p l u g i n s ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m u l a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23192"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/prebind-result?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / p r e b i n d - r e s u l t :   ' { \" V o l u m e B i n d i n g \" : \" s u c c e s s \" } '   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   t h e   r e s u l t   o f   p r e b i n d   s c h e d u l e r   p l u g i n s ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m u l a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23193"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/prefilter-result?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / p r e b i n d - r e s u l t :   ' { \" N o d e A f f i n i t y \" : \" [ \\ \" n o d e - \\ a \" ] \" } '   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   t h e   P r e F i l t e r   r e s u l t   o f   p r e f i l t e r   s c h e d u l e r   p l u g i n s ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m u l a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23194"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/prefilter-result-status?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / p r e f i l t e r - r e s u l t - s t a t u s :   > -   { \" I n t e r P o d A f f i n i t y \" : \" s u c c e s s \" , \" N o d e A f f i n i t y \" : \" s u c c e s s \" , \" N o d e P o r t s \" : \" s u c c e s s \" , \" N o d e R e s o u r c e s F i t \" : \" s u c c e s s \" , \" P o d T o p o l o g y S p r e a d \" : \" s u c c e s s \" , \" V o l u m e B i n d i n g \" : \" s u c c e s s \" , \" V o l u m e R e s t r i c t i o n s \" : \" s u c c e s s \" }   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   t h e   r e s u l t   o f   p r e f i l t e r   s c h e d u l e r   p l u g i n s ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m u l a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23195"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/prescore-result?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / p r e s c o r e - r e s u l t :   > -   { \" I n t e r P o d A f f i n i t y \" : \" s u c c e s s \" , \" N o d e A f f i n i t y \" : \" s u c c e s s \" , \" N o d e N u m b e r \" : \" s u c c e s s \" , \" P o d T o p o l o g y S p r e a d \" : \" s u c c e s s \" , \" T a i n t T o l e r a t i o n \" : \" s u c c e s s \" }   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   t h e   r e s u l t   o f   p r e f i l t e r   s c h e d u l e r   p l u g i n s ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m u l a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23196"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/reserve-result?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / r e s e r v e - r e s u l t :   ' { \" V o l u m e B i n d i n g \" : \" s u c c e s s \" } '   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   t h e   r e s u l t   o f   r e s e r v e   s c h e d u l e r   p l u g i n s ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m u l a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23197"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/result-history?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / r e s u l t - h i s t o r y :   ' [ ] '   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   a l l   t h e   p a s t   s c h e d u l i n g   r e s u l t s   f r o m   s c h e d u l e r   p l u g i n s ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m u l a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23198"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/score-result?",
    "answer": "T y p e :   A n n o t a t i o n   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / s c o r e - r e s u l t :   > -   { \" n o d e - 2 8 2 x 7 \" : { \" I m a g e L o c a l i t y \" : \" 0 \" , \" I n t e r P o d A f f i n i t y \" : \" 0 \" , \" N o d e A f f i n i t y \" : \" 0 \" , \" N o d e N u m b e r \" : \" 0 \" , \" N o d e R e s o u r c e s B a l a n c e d A l l o c a t i o n \" : \" 7 6 \" , \" N o d e R e s o u r c e s F i t \" : \" 7 3 \" , \" P o d T o p o l o g y S p r e a d \" : \" 0 \" , \" T a i n t T o l e r a t i o n \" : \" 0 \" , \" V o l u m e B i n d i n g \" : \" 0 \" } , \" n o d e - g p 9 t 4 \" : { \" I m a g e L o c a l i t y \" : \" 0 \" , \" I n t e r P o d A f f i n i t y \" : \" 0 \" , \" N o d e A f f i n i t y \" : \" 0 \" , \" N o d e N u m b e r \" : \" 0 \" , \" N o d e R e s o u r c e s B a l a n c e d A l l o c a t i o n \" : \" 7 6 \" , \" N o d e R e s o u r c e s F i t \" : \" 7 3 \" , \" P o d T o p o l o g y S p r e a d \" : \" 0 \" , \" T a i n t T o l e r a t i o n \" : \" 0 \" , \" V o l u m e B i n d i n g \" : \" 0 \" } }   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   t h e   r e s u l t   o f   s c o r e   s c h e d u l e r   p l u g i n s ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m u l a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23199"
  },
  {
    "question": "What is kube-scheduler-simulator.sigs.k8s.io/selected-node?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e - s c h e d u l e r - s i m u l a t o r . s i g s . k 8 s . i o / s e l e c t e d - n o d e :   n o d e - 2 8 2 x 7   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   r e c o r d s   t h e   n o d e   t h a t   i s   s e l e c t e d   b y   t h e   s c h e d u l i n g   c y c l e ,   u s e d   b y   h t t p s : / / s i g s . k 8 s . i o / k u b e - s c h e d u l e r - s i m u l a t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23200"
  },
  {
    "question": "What is kubernetes.io/arch?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   k u b e r n e t e s . i o / a r c h :   \" a m d 6 4 \"   U s e d   o n :   N o d e   T h e   K u b e l e t   p o p u l a t e s   t h i s   w i t h   r u n t i m e . G O A R C H   a s   d e f i n e d   b y   G o .   T h i s   c a n   b e   h a n d y   i f   y o u   a r e   m i x i n g   A R M   a n d   x 8 6   n o d e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23201"
  },
  {
    "question": "What is kubernetes.io/os?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   k u b e r n e t e s . i o / o s :   \" l i n u x \"   U s e d   o n :   N o d e ,   P o d   F o r   n o d e s ,   t h e   k u b e l e t   p o p u l a t e s   t h i s   w i t h   r u n t i m e . G O O S   a s   d e f i n e d   b y   G o .   T h i s   c a n   b e   h a n d y   i f   y o u   a r e   m i x i n g   o p e r a t i n g   s y s t e m s   i n   y o u r   c l u s t e r   ( f o r   e x a m p l e :   m i x i n g   L i n u x   a n d   W i n d o w s   n o d e s ) .   Y o u   c a n   a l s o   s e t   t h i s   l a b e l   o n   a   P o d .   K u b e r n e t e s   a l l o w s   y o u   t o   s e t   a n y   v a l u e   f o r   t h i s   l a b e l ;   i f   y o u   u s e   t h i s   l a b e l ,   y o u   s h o u l d   n e v e r t h e l e s s   s e t   i t   t o   t h e   G o   r u n t i m e . G O O S   s t r i n g   f o r   t h e   o p e r a t i n g   s y s t e m   t h a t   t h i s   P o d   a c t u a l l y   w o r k s   w i t h .   W h e n   t h e   k u b e r n e t e s . i o / o s   l a b e l   v a l u e   f o r   a   P o d   d o e s   n o t   m a t c h   t h e   l a b e l   v a l u e   o n   a   N o d e ,   t h e   k u b e l e t   o n   t h e   n o d e   w i l l   n o t   a d m i t   t h e   P o d .   H o w e v e r ,   t h i s   i s   n o t   t a k e n   i n t o   a c c o u n t   b y   t h e   k u b e - s c h e d u l e r .   A l t e r n a t i v e l y ,   t h e   k u b e l e t   r e f u s e s   t o   r u n   a   P o d   w h e r e   y o u   h a v e   s p e c i f i e d   a   P o d   O S ,   i f   t h i s   i s n ' t   t h e   s a m e   a s   t h e   o p e r a t i n g   s y s t e m   f o r   t h e   n o d e   w h e r e   t h a t   k u b e l e t   i s   r u n n i n g .   J u s t   l o o k   f o r   P o d s   O S   f o r   m o r e   d e t a i l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23202"
  },
  {
    "question": "What is kubernetes.io/metadata.name?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   k u b e r n e t e s . i o / m e t a d a t a . n a m e :   \" m y n a m e s p a c e \"   U s e d   o n :   N a m e s p a c e s   T h e   K u b e r n e t e s   A P I   s e r v e r   ( p a r t   o f   t h e   c o n t r o l   p l a n e )   s e t s   t h i s   l a b e l   o n   a l l   n a m e s p a c e s .   T h e   l a b e l   v a l u e   i s   s e t   t o   t h e   n a m e   o f   t h e   n a m e s p a c e .   Y o u   c a n ' t   c h a n g e   t h i s   l a b e l ' s   v a l u e .   T h i s   i s   u s e f u l   i f   y o u   w a n t   t o   t a r g e t   a   s p e c i f i c   n a m e s p a c e   w i t h   a   l a b e l   s e l e c t o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23203"
  },
  {
    "question": "What is kubernetes.io/limit-ranger?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e r n e t e s . i o / l i m i t - r a n g e r :   \" L i m i t R a n g e r   p l u g i n   s e t :   c p u ,   m e m o r y   r e q u e s t   f o r   c o n t a i n e r   n g i n x ;   c p u ,   m e m o r y   l i m i t   f o r   c o n t a i n e r   n g i n x \"   U s e d   o n :   P o d   K u b e r n e t e s   b y   d e f a u l t   d o e s n ' t   p r o v i d e   a n y   r e s o u r c e   l i m i t ,   t h a t   m e a n s   u n l e s s   y o u   e x p l i c i t l y   d e f i n e   l i m i t s ,   y o u r   c o n t a i n e r   c a n   c o n s u m e   u n l i m i t e d   C P U   a n d   m e m o r y .   Y o u   c a n   d e f i n e   a   d e f a u l t   r e q u e s t   o r   d e f a u l t   l i m i t   f o r   p o d s .   Y o u   d o   t h i s   b y   c r e a t i n g   a   L i m i t R a n g e   i n   t h e   r e l e v a n t   n a m e s p a c e .   P o d s   d e p l o y e d   a f t e r   y o u   d e f i n e   a   L i m i t R a n g e   w i l l   h a v e   t h e s e   l i m i t s   a p p l i e d   t o   t h e m .   T h e   a n n o t a t i o n   k u b e r n e t e s . i o / l i m i t - r a n g e r   r e c o r d s   t h a t   r e s o u r c e   d e f a u l t s   w e r e   s p e c i f i e d   f o r   t h e   P o d ,   a n d   t h e y   w e r e   a p p l i e d   s u c c e s s f u l l y .   F o r   m o r e   d e t a i l s ,   r e a d   a b o u t   L i m i t R a n g e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23204"
  },
  {
    "question": "What is kubernetes.io/config.hash?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e r n e t e s . i o / c o n f i g . h a s h :   \" d f 7 c c 4 7 f 8 4 7 7 b 6 b 1 2 2 6 d 7 d 2 3 a 9 0 4 8 6 7 b \"   U s e d   o n :   P o d   W h e n   t h e   k u b e l e t   c r e a t e s   a   s t a t i c   P o d   b a s e d   o n   a   g i v e n   m a n i f e s t ,   i t   a t t a c h e s   t h i s   a n n o t a t i o n   t o   t h e   s t a t i c   P o d .   T h e   v a l u e   o f   t h e   a n n o t a t i o n   i s   t h e   U I D   o f   t h e   P o d .   N o t e   t h a t   t h e   k u b e l e t   a l s o   s e t s   t h e   . s p e c . n o d e N a m e   t o   t h e   c u r r e n t   n o d e   n a m e   a s   i f   t h e   P o d   w a s   s c h e d u l e d   t o   t h e   n o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23205"
  },
  {
    "question": "What is kubernetes.io/config.mirror?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e r n e t e s . i o / c o n f i g . m i r r o r :   \" d f 7 c c 4 7 f 8 4 7 7 b 6 b 1 2 2 6 d 7 d 2 3 a 9 0 4 8 6 7 b \"   U s e d   o n :   P o d   F o r   a   s t a t i c   P o d   c r e a t e d   b y   t h e   k u b e l e t   o n   a   n o d e ,   a   m i r r o r   P o d   i s   c r e a t e d   o n   t h e   A P I   s e r v e r .   T h e   k u b e l e t   a d d s   a n   a n n o t a t i o n   t o   i n d i c a t e   t h a t   t h i s   P o d   i s   a c t u a l l y   a   m i r r o r   P o d .   T h e   a n n o t a t i o n   v a l u e   i s   c o p i e d   f r o m   t h e   k u b e r n e t e s . i o / c o n f i g . h a s h   a n n o t a t i o n ,   w h i c h   i s   t h e   U I D   o f   t h e   P o d .   W h e n   u p d a t i n g   a   P o d   w i t h   t h i s   a n n o t a t i o n   s e t ,   t h e   a n n o t a t i o n   c a n n o t   b e   c h a n g e d   o r   r e m o v e d .   I f   a   P o d   d o e s n ' t   h a v e   t h i s   a n n o t a t i o n ,   i t   c a n n o t   b e   a d d e d   d u r i n g   a   P o d   u p d a t e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23206"
  },
  {
    "question": "What is kubernetes.io/config.source?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e r n e t e s . i o / c o n f i g . s o u r c e :   \" f i l e \"   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   i s   a d d e d   b y   t h e   k u b e l e t   t o   i n d i c a t e   w h e r e   t h e   P o d   c o m e s   f r o m .   F o r   s t a t i c   P o d s ,   t h e   a n n o t a t i o n   v a l u e   c o u l d   b e   o n e   o f   f i l e   o r   h t t p   d e p e n d i n g   o n   w h e r e   t h e   P o d   m a n i f e s t   i s   l o c a t e d .   F o r   a   P o d   c r e a t e d   o n   t h e   A P I   s e r v e r   a n d   t h e n   s c h e d u l e d   t o   t h e   c u r r e n t   n o d e ,   t h e   a n n o t a t i o n   v a l u e   i s   a p i .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23207"
  },
  {
    "question": "What is kubernetes.io/config.seen?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e r n e t e s . i o / c o n f i g . s e e n :   \" 2 0 2 3 - 1 0 - 2 7 T 0 4 : 0 4 : 5 6 . 0 1 1 3 1 4 4 8 8 Z \"   U s e d   o n :   P o d   W h e n   t h e   k u b e l e t   s e e s   a   P o d   f o r   t h e   f i r s t   t i m e ,   i t   m a y   a d d   t h i s   a n n o t a t i o n   t o   t h e   P o d   w i t h   a   v a l u e   o f   c u r r e n t   t i m e s t a m p   i n   t h e   R F C 3 3 3 9   f o r m a t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23208"
  },
  {
    "question": "What is addonmanager.kubernetes.io/mode?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   a d d o n m a n a g e r . k u b e r n e t e s . i o / m o d e :   \" R e c o n c i l e \"   U s e d   o n :   A l l   o b j e c t s   T o   s p e c i f y   h o w   a n   a d d - o n   s h o u l d   b e   m a n a g e d ,   y o u   c a n   u s e   t h e   a d d o n m a n a g e r . k u b e r n e t e s . i o / m o d e   l a b e l .   T h i s   l a b e l   c a n   h a v e   o n e   o f   t h r e e   v a l u e s :   R e c o n c i l e ,   E n s u r e E x i s t s ,   o r   I g n o r e .   R e c o n c i l e :   A d d o n   r e s o u r c e s   w i l l   b e   p e r i o d i c a l l y   r e c o n c i l e d   w i t h   t h e   e x p e c t e d   s t a t e .   I f   t h e r e   a r e   a n y   d i f f e r e n c e s ,   t h e   a d d - o n   m a n a g e r   w i l l   r e c r e a t e ,   r e c o n f i g u r e   o r   d e l e t e   t h e   r e s o u r c e s   a s   n e e d e d .   T h i s   i s   t h e   d e f a u l t   m o d e   i f   n o   l a b e l   i s   s p e c i f i e d . E n s u r e E x i s t s :   A d d o n   r e s o u r c e s   w i l l   b e   c h e c k e d   f o r   e x i s t e n c e   o n l y   b u t   w i l l   n o t   b e   m o d i f i e d   a f t e r   c r e a t i o n .   T h e   a d d - o n   m a n a g e r   w i l l   c r e a t e   o r   r e - c r e a t e   t h e   r e s o u r c e s   w h e n   t h e r e   i s   n o   i n s t a n c e   o f   t h e   r e s o u r c e   w i t h   t h a t   n a m e . I g n o r e :   A d d o n   r e s o u r c e s   w i l l   b e   i g n o r e d .   T h i s   m o d e   i s   u s e f u l   f o r   a d d - o n s   t h a t   a r e   n o t   c o m p a t i b l e   w i t h   t h e   a d d - o n   m a n a g e r   o r   t h a t   a r e   m a n a g e d   b y   a n o t h e r   c o n t r o l l e r .   F o r   m o r e   d e t a i l s ,   s e e   A d d o n - m a n a g e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23209"
  },
  {
    "question": "What is beta.kubernetes.io/arch (deprecated)?",
    "answer": "T y p e :   L a b e l   T h i s   l a b e l   h a s   b e e n   d e p r e c a t e d .   P l e a s e   u s e   k u b e r n e t e s . i o / a r c h   i n s t e a d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23210"
  },
  {
    "question": "What is beta.kubernetes.io/os (deprecated)?",
    "answer": "T y p e :   L a b e l   T h i s   l a b e l   h a s   b e e n   d e p r e c a t e d .   P l e a s e   u s e   k u b e r n e t e s . i o / o s   i n s t e a d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23211"
  },
  {
    "question": "What is kube-aggregator.kubernetes.io/automanaged?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   k u b e - a g g r e g a t o r . k u b e r n e t e s . i o / a u t o m a n a g e d :   \" o n s t a r t \"   U s e d   o n :   A P I S e r v i c e   T h e   k u b e - a p i s e r v e r   s e t s   t h i s   l a b e l   o n   a n y   A P I S e r v i c e   o b j e c t   t h a t   t h e   A P I   s e r v e r   h a s   c r e a t e d   a u t o m a t i c a l l y .   T h e   l a b e l   m a r k s   h o w   t h e   c o n t r o l   p l a n e   s h o u l d   m a n a g e   t h a t   A P I S e r v i c e .   Y o u   s h o u l d   n o t   a d d ,   m o d i f y ,   o r   r e m o v e   t h i s   l a b e l   b y   y o u r s e l f .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23212"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e r e   a r e   t w o   p o s s i b l e   v a l u e s :   o n s t a r t :   T h e   A P I S e r v i c e   s h o u l d   b e   r e c o n c i l e d   w h e n   a n   A P I   s e r v e r   s t a r t s   u p ,   b u t   n o t   o t h e r w i s e . t r u e :   T h e   A P I   s e r v e r   s h o u l d   r e c o n c i l e   t h i s   A P I S e r v i c e   c o n t i n u o u s l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23213"
  },
  {
    "question": "What is service.alpha.kubernetes.io/tolerate-unready-endpoints (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   U s e d   o n :   S t a t e f u l S e t   T h i s   a n n o t a t i o n   o n   a   S e r v i c e   d e n o t e s   i f   t h e   E n d p o i n t s   c o n t r o l l e r   s h o u l d   g o   a h e a d   a n d   c r e a t e   E n d p o i n t s   f o r   u n r e a d y   P o d s .   E n d p o i n t s   o f   t h e s e   S e r v i c e s   r e t a i n   t h e i r   D N S   r e c o r d s   a n d   c o n t i n u e   r e c e i v i n g   t r a f f i c   f o r   t h e   S e r v i c e   f r o m   t h e   m o m e n t   t h e   k u b e l e t   s t a r t s   a l l   c o n t a i n e r s   i n   t h e   p o d   a n d   m a r k s   i t   R u n n i n g ,   t i l   t h e   k u b e l e t   s t o p s   a l l   c o n t a i n e r s   a n d   d e l e t e s   t h e   p o d   f r o m   t h e   A P I   s e r v e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23214"
  },
  {
    "question": "What is autoscaling.alpha.kubernetes.io/behavior (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   U s e d   o n :   H o r i z o n t a l P o d A u t o s c a l e r   T h i s   a n n o t a t i o n   w a s   u s e d   t o   c o n f i g u r e   t h e   s c a l i n g   b e h a v i o r   f o r   a   H o r i z o n t a l P o d A u t o s c a l e r   ( H P A )   i n   e a r l i e r   K u b e r n e t e s   v e r s i o n s .   I t   a l l o w e d   y o u   t o   s p e c i f y   h o w   t h e   H P A   s h o u l d   s c a l e   p o d s   u p   o r   d o w n ,   i n c l u d i n g   s e t t i n g   s t a b i l i z a t i o n   w i n d o w s   a n d   s c a l i n g   p o l i c i e s .   S e t t i n g   t h i s   a n n o t a t i o n   h a s   n o   e f f e c t   i n   a n y   s u p p o r t e d   r e l e a s e   o f   K u b e r n e t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23215"
  },
  {
    "question": "What is kubernetes.io/hostname?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   k u b e r n e t e s . i o / h o s t n a m e :   \" i p - 1 7 2 - 2 0 - 1 1 4 - 1 9 9 . e c 2 . i n t e r n a l \"   U s e d   o n :   N o d e   T h e   K u b e l e t   p o p u l a t e s   t h i s   l a b e l   w i t h   t h e   h o s t n a m e   o f   t h e   n o d e .   N o t e   t h a t   t h e   h o s t n a m e   c a n   b e   c h a n g e d   f r o m   t h e   \" a c t u a l \"   h o s t n a m e   b y   p a s s i n g   t h e   - - h o s t n a m e - o v e r r i d e   f l a g   t o   t h e   k u b e l e t .   T h i s   l a b e l   i s   a l s o   u s e d   a s   p a r t   o f   t h e   t o p o l o g y   h i e r a r c h y .   S e e   t o p o l o g y . k u b e r n e t e s . i o / z o n e   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23216"
  },
  {
    "question": "What is kubernetes.io/change-cause?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e r n e t e s . i o / c h a n g e - c a u s e :   \" k u b e c t l   e d i t   - - r e c o r d   d e p l o y m e n t   f o o \"   U s e d   o n :   A l l   O b j e c t s   T h i s   a n n o t a t i o n   i s   a   b e s t   g u e s s   a t   w h y   s o m e t h i n g   w a s   c h a n g e d .   I t   i s   p o p u l a t e d   w h e n   a d d i n g   - - r e c o r d   t o   a   k u b e c t l   c o m m a n d   t h a t   m a y   c h a n g e   a n   o b j e c t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23217"
  },
  {
    "question": "What is kubernetes.io/description?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e r n e t e s . i o / d e s c r i p t i o n :   \" D e s c r i p t i o n   o f   K 8 s   o b j e c t . \"   U s e d   o n :   A l l   O b j e c t s   T h i s   a n n o t a t i o n   i s   u s e d   f o r   d e s c r i b i n g   s p e c i f i c   b e h a v i o u r   o f   g i v e n   o b j e c t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23218"
  },
  {
    "question": "What is kubernetes.io/enforce-mountable-secrets (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e r n e t e s . i o / e n f o r c e - m o u n t a b l e - s e c r e t s :   \" t r u e \"   U s e d   o n :   S e r v i c e A c c o u n t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23219"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   v a l u e   f o r   t h i s   a n n o t a t i o n   m u s t   b e   t r u e   t o   t a k e   e f f e c t .   W h e n   y o u   s e t   t h i s   a n n o t a t i o n   t o   \" t r u e \" ,   K u b e r n e t e s   e n f o r c e s   t h e   f o l l o w i n g   r u l e s   f o r   P o d s   r u n n i n g   a s   t h i s   S e r v i c e A c c o u n t :   S e c r e t s   m o u n t e d   a s   v o l u m e s   m u s t   b e   l i s t e d   i n   t h e   S e r v i c e A c c o u n t ' s   s e c r e t s   f i e l d . S e c r e t s   r e f e r e n c e d   i n   e n v F r o m   f o r   c o n t a i n e r s   ( i n c l u d i n g   s i d e c a r   c o n t a i n e r s   a n d   i n i t   c o n t a i n e r s )   m u s t   a l s o   b e   l i s t e d   i n   t h e   S e r v i c e A c c o u n t ' s   s e c r e t s   f i e l d .   I f   a n y   c o n t a i n e r   i n   a   P o d   r e f e r e n c e s   a   S e c r e t   n o t   l i s t e d   i n   t h e   S e r v i c e A c c o u n t ' s   s e c r e t s   f i e l d   ( a n d   e v e n   i f   t h e   r e f e r e n c e   i s   m a r k e d   a s   o p t i o n a l ) ,   t h e n   t h e   P o d   w i l l   f a i l   t o   s t a r t ,   a n d   a n   e r r o r   i n d i c a t i n g   t h e   n o n - c o m p l i a n t   s e c r e t   r e f e r e n c e   w i l l   b e   g e n e r a t e d . S e c r e t s   r e f e r e n c e d   i n   a   P o d ' s   i m a g e P u l l S e c r e t s   m u s t   b e   p r e s e n t   i n   t h e   S e r v i c e A c c o u n t ' s   i m a g e P u l l S e c r e t s   f i e l d ,   t h e   P o d   w i l l   f a i l   t o   s t a r t ,   a n d   a n   e r r o r   i n d i c a t i n g   t h e   n o n - c o m p l i a n t   i m a g e   p u l l   s e c r e t   r e f e r e n c e   w i l l   b e   g e n e r a t e d .   W h e n   y o u   c r e a t e   o r   u p d a t e   a   P o d ,   t h e s e   r u l e s   a r e   c h e c k e d .   I f   a   P o d   d o e s n ' t   f o l l o w   t h e m ,   i t   w o n ' t   s t a r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23220"
  },
  {
    "question": "What is node.kubernetes.io/exclude-from-external-load-balancers?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   n o d e . k u b e r n e t e s . i o / e x c l u d e - f r o m - e x t e r n a l - l o a d - b a l a n c e r s   U s e d   o n :   N o d e   Y o u   c a n   a d d   l a b e l s   t o   p a r t i c u l a r   w o r k e r   n o d e s   t o   e x c l u d e   t h e m   f r o m   t h e   l i s t   o f   b a c k e n d   s e r v e r s   u s e d   b y   e x t e r n a l   l o a d   b a l a n c e r s .   T h e   f o l l o w i n g   c o m m a n d   c a n   b e   u s e d   t o   e x c l u d e   a   w o r k e r   n o d e   f r o m   t h e   l i s t   o f   b a c k e n d   s e r v e r s   i n   a   b a c k e n d   s e t :   k u b e c t l   l a b e l   n o d e s   < n o d e - n a m e >   n o d e . k u b e r n e t e s . i o / e x c l u d e - f r o m - e x t e r n a l - l o a d - b a l a n c e r s = t r u e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23221"
  },
  {
    "question": "What is controller.kubernetes.io/pod-deletion-cost?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   c o n t r o l l e r . k u b e r n e t e s . i o / p o d - d e l e t i o n - c o s t :   \" 1 0 \"   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   i s   u s e d   t o   s e t   P o d   D e l e t i o n   C o s t   w h i c h   a l l o w s   u s e r s   t o   i n f l u e n c e   R e p l i c a S e t   d o w n s c a l i n g   o r d e r .   T h e   a n n o t a t i o n   v a l u e   p a r s e s   i n t o   a n   i n t 3 2   t y p e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23222"
  },
  {
    "question": "What is cluster-autoscaler.kubernetes.io/enable-ds-eviction?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   c l u s t e r - a u t o s c a l e r . k u b e r n e t e s . i o / e n a b l e - d s - e v i c t i o n :   \" t r u e \"   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   c o n t r o l s   w h e t h e r   a   D a e m o n S e t   p o d   s h o u l d   b e   e v i c t e d   b y   a   C l u s t e r A u t o s c a l e r .   T h i s   a n n o t a t i o n   n e e d s   t o   b e   s p e c i f i e d   o n   D a e m o n S e t   p o d s   i n   a   D a e m o n S e t   m a n i f e s t .   W h e n   t h i s   a n n o t a t i o n   i s   s e t   t o   \" t r u e \" ,   t h e   C l u s t e r A u t o s c a l e r   i s   a l l o w e d   t o   e v i c t   a   D a e m o n S e t   P o d ,   e v e n   i f   o t h e r   r u l e s   w o u l d   n o r m a l l y   p r e v e n t   t h a t .   T o   d i s a l l o w   t h e   C l u s t e r A u t o s c a l e r   f r o m   e v i c t i n g   D a e m o n S e t   p o d s ,   y o u   c a n   s e t   t h i s   a n n o t a t i o n   t o   \" f a l s e \"   f o r   i m p o r t a n t   D a e m o n S e t   p o d s .   I f   t h i s   a n n o t a t i o n   i s   n o t   s e t ,   t h e n   t h e   C l u s t e r A u t o s c a l e r   f o l l o w s   i t s   o v e r a l l   b e h a v i o r   ( i . e   e v i c t   t h e   D a e m o n S e t s   b a s e d   o n   i t s   c o n f i g u r a t i o n ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23223"
  },
  {
    "question": "What is kubernetes.io/ingress-bandwidth?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e r n e t e s . i o / i n g r e s s - b a n d w i d t h :   1 0 M   U s e d   o n :   P o d   Y o u   c a n   a p p l y   q u a l i t y - o f - s e r v i c e   t r a f f i c   s h a p i n g   t o   a   p o d   a n d   e f f e c t i v e l y   l i m i t   i t s   a v a i l a b l e   b a n d w i d t h .   I n g r e s s   t r a f f i c   t o   a   P o d   i s   h a n d l e d   b y   s h a p i n g   q u e u e d   p a c k e t s   t o   e f f e c t i v e l y   h a n d l e   d a t a .   T o   l i m i t   t h e   b a n d w i d t h   o n   a   P o d ,   w r i t e   a n   o b j e c t   d e f i n i t i o n   J S O N   f i l e   a n d   s p e c i f y   t h e   d a t a   t r a f f i c   s p e e d   u s i n g   k u b e r n e t e s . i o / i n g r e s s - b a n d w i d t h   a n n o t a t i o n .   T h e   u n i t   u s e d   f o r   s p e c i f y i n g   i n g r e s s   r a t e   i s   b i t s   p e r   s e c o n d ,   a s   a   Q u a n t i t y .   F o r   e x a m p l e ,   1 0 M   m e a n s   1 0   m e g a b i t s   p e r   s e c o n d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23224"
  },
  {
    "question": "What is kubernetes.io/egress-bandwidth?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e r n e t e s . i o / e g r e s s - b a n d w i d t h :   1 0 M   U s e d   o n :   P o d   E g r e s s   t r a f f i c   f r o m   a   P o d   i s   h a n d l e d   b y   p o l i c i n g ,   w h i c h   s i m p l y   d r o p s   p a c k e t s   i n   e x c e s s   o f   t h e   c o n f i g u r e d   r a t e .   T h e   l i m i t s   y o u   p l a c e   o n   a   P o d   d o   n o t   a f f e c t   t h e   b a n d w i d t h   o f   o t h e r   P o d s .   T o   l i m i t   t h e   b a n d w i d t h   o n   a   P o d ,   w r i t e   a n   o b j e c t   d e f i n i t i o n   J S O N   f i l e   a n d   s p e c i f y   t h e   d a t a   t r a f f i c   s p e e d   u s i n g   k u b e r n e t e s . i o / e g r e s s - b a n d w i d t h   a n n o t a t i o n .   T h e   u n i t   u s e d   f o r   s p e c i f y i n g   e g r e s s   r a t e   i s   b i t s   p e r   s e c o n d ,   a s   a   Q u a n t i t y .   F o r   e x a m p l e ,   1 0 M   m e a n s   1 0   m e g a b i t s   p e r   s e c o n d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23225"
  },
  {
    "question": "What is beta.kubernetes.io/instance-type (deprecated)?",
    "answer": "T y p e :   L a b e l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23226"
  },
  {
    "question": "What is node.kubernetes.io/instance-type?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   n o d e . k u b e r n e t e s . i o / i n s t a n c e - t y p e :   \" m 3 . m e d i u m \"   U s e d   o n :   N o d e   T h e   K u b e l e t   p o p u l a t e s   t h i s   w i t h   t h e   i n s t a n c e   t y p e   a s   d e f i n e d   b y   t h e   c l o u d   p r o v i d e r .   T h i s   w i l l   b e   s e t   o n l y   i f   y o u   a r e   u s i n g   a   c l o u d   p r o v i d e r .   T h i s   s e t t i n g   i s   h a n d y   i f   y o u   w a n t   t o   t a r g e t   c e r t a i n   w o r k l o a d s   t o   c e r t a i n   i n s t a n c e   t y p e s ,   b u t   t y p i c a l l y   y o u   w a n t   t o   r e l y   o n   t h e   K u b e r n e t e s   s c h e d u l e r   t o   p e r f o r m   r e s o u r c e - b a s e d   s c h e d u l i n g .   Y o u   s h o u l d   a i m   t o   s c h e d u l e   b a s e d   o n   p r o p e r t i e s   r a t h e r   t h a n   o n   i n s t a n c e   t y p e s   ( f o r   e x a m p l e :   r e q u i r e   a   G P U ,   i n s t e a d   o f   r e q u i r i n g   a   g 2 . 2 x l a r g e ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23227"
  },
  {
    "question": "What is failure-domain.beta.kubernetes.io/region (deprecated)?",
    "answer": "T y p e :   L a b e l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23228"
  },
  {
    "question": "What is failure-domain.beta.kubernetes.io/zone (deprecated)?",
    "answer": "T y p e :   L a b e l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23229"
  },
  {
    "question": "What is pv.kubernetes.io/bind-completed?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   p v . k u b e r n e t e s . i o / b i n d - c o m p l e t e d :   \" y e s \"   U s e d   o n :   P e r s i s t e n t V o l u m e C l a i m   W h e n   t h i s   a n n o t a t i o n   i s   s e t   o n   a   P e r s i s t e n t V o l u m e C l a i m   ( P V C ) ,   t h a t   i n d i c a t e s   t h a t   t h e   l i f e c y c l e   o f   t h e   P V C   h a s   p a s s e d   t h r o u g h   i n i t i a l   b i n d i n g   s e t u p .   W h e n   p r e s e n t ,   t h a t   i n f o r m a t i o n   c h a n g e s   h o w   t h e   c o n t r o l   p l a n e   i n t e r p r e t s   t h e   s t a t e   o f   P V C   o b j e c t s .   T h e   v a l u e   o f   t h i s   a n n o t a t i o n   d o e s   n o t   m a t t e r   t o   K u b e r n e t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23230"
  },
  {
    "question": "What is pv.kubernetes.io/bound-by-controller?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   p v . k u b e r n e t e s . i o / b o u n d - b y - c o n t r o l l e r :   \" y e s \"   U s e d   o n :   P e r s i s t e n t V o l u m e ,   P e r s i s t e n t V o l u m e C l a i m   I f   t h i s   a n n o t a t i o n   i s   s e t   o n   a   P e r s i s t e n t V o l u m e   o r   P e r s i s t e n t V o l u m e C l a i m ,   i t   i n d i c a t e s   t h a t   a   s t o r a g e   b i n d i n g   ( P e r s i s t e n t V o l u m e   →   P e r s i s t e n t V o l u m e C l a i m ,   o r   P e r s i s t e n t V o l u m e C l a i m   →   P e r s i s t e n t V o l u m e )   w a s   i n s t a l l e d   b y   t h e   c o n t r o l l e r .   I f   t h e   a n n o t a t i o n   i s n ' t   s e t ,   a n d   t h e r e   i s   a   s t o r a g e   b i n d i n g   i n   p l a c e ,   t h e   a b s e n c e   o f   t h a t   a n n o t a t i o n   m e a n s   t h a t   t h e   b i n d i n g   w a s   d o n e   m a n u a l l y .   T h e   v a l u e   o f   t h i s   a n n o t a t i o n   d o e s   n o t   m a t t e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23231"
  },
  {
    "question": "What is pv.kubernetes.io/provisioned-by?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   p v . k u b e r n e t e s . i o / p r o v i s i o n e d - b y :   \" k u b e r n e t e s . i o / r b d \"   U s e d   o n :   P e r s i s t e n t V o l u m e   T h i s   a n n o t a t i o n   i s   a d d e d   t o   a   P e r s i s t e n t V o l u m e ( P V )   t h a t   h a s   b e e n   d y n a m i c a l l y   p r o v i s i o n e d   b y   K u b e r n e t e s .   I t s   v a l u e   i s   t h e   n a m e   o f   v o l u m e   p l u g i n   t h a t   c r e a t e d   t h e   v o l u m e .   I t   s e r v e s   b o t h   u s e r s   ( t o   s h o w   w h e r e   a   P V   c o m e s   f r o m )   a n d   K u b e r n e t e s   ( t o   r e c o g n i z e   d y n a m i c a l l y   p r o v i s i o n e d   P V s   i n   i t s   d e c i s i o n s ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23232"
  },
  {
    "question": "What is pv.kubernetes.io/migrated-to?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   p v . k u b e r n e t e s . i o / m i g r a t e d - t o :   p d . c s i . s t o r a g e . g k e . i o   U s e d   o n :   P e r s i s t e n t V o l u m e ,   P e r s i s t e n t V o l u m e C l a i m   I t   i s   a d d e d   t o   a   P e r s i s t e n t V o l u m e ( P V )   a n d   P e r s i s t e n t V o l u m e C l a i m ( P V C )   t h a t   i s   s u p p o s e d   t o   b e   d y n a m i c a l l y   p r o v i s i o n e d / d e l e t e d   b y   i t s   c o r r e s p o n d i n g   C S I   d r i v e r   t h r o u g h   t h e   C S I M i g r a t i o n   f e a t u r e   g a t e .   W h e n   t h i s   a n n o t a t i o n   i s   s e t ,   t h e   K u b e r n e t e s   c o m p o n e n t s   w i l l   \" s t a n d - d o w n \"   a n d   t h e   e x t e r n a l - p r o v i s i o n e r   w i l l   a c t   o n   t h e   o b j e c t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23233"
  },
  {
    "question": "What is statefulset.kubernetes.io/pod-name?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   s t a t e f u l s e t . k u b e r n e t e s . i o / p o d - n a m e :   \" m y s t a t e f u l s e t - 7 \"   U s e d   o n :   P o d   W h e n   a   S t a t e f u l S e t   c o n t r o l l e r   c r e a t e s   a   P o d   f o r   t h e   S t a t e f u l S e t ,   t h e   c o n t r o l   p l a n e   s e t s   t h i s   l a b e l   o n   t h a t   P o d .   T h e   v a l u e   o f   t h e   l a b e l   i s   t h e   n a m e   o f   t h e   P o d   b e i n g   c r e a t e d .   S e e   P o d   N a m e   L a b e l   i n   t h e   S t a t e f u l S e t   t o p i c   f o r   m o r e   d e t a i l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23234"
  },
  {
    "question": "What is scheduler.alpha.kubernetes.io/node-selector?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   s c h e d u l e r . a l p h a . k u b e r n e t e s . i o / n o d e - s e l e c t o r :   \" n a m e - o f - n o d e - s e l e c t o r \"   U s e d   o n :   N a m e s p a c e   T h e   P o d N o d e S e l e c t o r   u s e s   t h i s   a n n o t a t i o n   k e y   t o   a s s i g n   n o d e   s e l e c t o r s   t o   p o d s   i n   n a m e s p a c e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23235"
  },
  {
    "question": "What is topology.kubernetes.io/region?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   t o p o l o g y . k u b e r n e t e s . i o / r e g i o n :   \" u s - e a s t - 1 \"   U s e d   o n :   N o d e ,   P e r s i s t e n t V o l u m e   S e e   t o p o l o g y . k u b e r n e t e s . i o / z o n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23236"
  },
  {
    "question": "What is topology.kubernetes.io/zone?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   t o p o l o g y . k u b e r n e t e s . i o / z o n e :   \" u s - e a s t - 1 c \"   U s e d   o n :   N o d e ,   P e r s i s t e n t V o l u m e   O n   N o d e :   T h e   k u b e l e t   o r   t h e   e x t e r n a l   c l o u d - c o n t r o l l e r - m a n a g e r   p o p u l a t e s   t h i s   w i t h   t h e   i n f o r m a t i o n   f r o m   t h e   c l o u d   p r o v i d e r .   T h i s   w i l l   b e   s e t   o n l y   i f   y o u   a r e   u s i n g   a   c l o u d   p r o v i d e r .   H o w e v e r ,   y o u   c a n   c o n s i d e r   s e t t i n g   t h i s   o n   n o d e s   i f   i t   m a k e s   s e n s e   i n   y o u r   t o p o l o g y .   O n   P e r s i s t e n t V o l u m e :   t o p o l o g y - a w a r e   v o l u m e   p r o v i s i o n e r s   w i l l   a u t o m a t i c a l l y   s e t   n o d e   a f f i n i t y   c o n s t r a i n t s   o n   a   P e r s i s t e n t V o l u m e .   A   z o n e   r e p r e s e n t s   a   l o g i c a l   f a i l u r e   d o m a i n .   I t   i s   c o m m o n   f o r   K u b e r n e t e s   c l u s t e r s   t o   s p a n   m u l t i p l e   z o n e s   f o r   i n c r e a s e d   a v a i l a b i l i t y .   W h i l e   t h e   e x a c t   d e f i n i t i o n   o f   a   z o n e   i s   l e f t   t o   i n f r a s t r u c t u r e   i m p l e m e n t a t i o n s ,   c o m m o n   p r o p e r t i e s   o f   a   z o n e   i n c l u d e   v e r y   l o w   n e t w o r k   l a t e n c y   w i t h i n   a   z o n e ,   n o - c o s t   n e t w o r k   t r a f f i c   w i t h i n   a   z o n e ,   a n d   f a i l u r e   i n d e p e n d e n c e   f r o m   o t h e r   z o n e s .   F o r   e x a m p l e ,   n o d e s   w i t h i n   a   z o n e   m i g h t   s h a r e   a   n e t w o r k   s w i t c h ,   b u t   n o d e s   i n   d i f f e r e n t   z o n e s   s h o u l d   n o t .   A   r e g i o n   r e p r e s e n t s   a   l a r g e r   d o m a i n ,   m a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23237"
  },
  {
    "question": "What is volume.beta.kubernetes.io/storage-provisioner (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   v o l u m e . b e t a . k u b e r n e t e s . i o / s t o r a g e - p r o v i s i o n e r :   \" k 8 s . i o / m i n i k u b e - h o s t p a t h \"   U s e d   o n :   P e r s i s t e n t V o l u m e C l a i m   T h i s   a n n o t a t i o n   h a s   b e e n   d e p r e c a t e d   s i n c e   v 1 . 2 3 .   S e e   v o l u m e . k u b e r n e t e s . i o / s t o r a g e - p r o v i s i o n e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23238"
  },
  {
    "question": "What is volume.beta.kubernetes.io/storage-class (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   v o l u m e . b e t a . k u b e r n e t e s . i o / s t o r a g e - c l a s s :   \" e x a m p l e - c l a s s \"   U s e d   o n :   P e r s i s t e n t V o l u m e ,   P e r s i s t e n t V o l u m e C l a i m   T h i s   a n n o t a t i o n   c a n   b e   u s e d   f o r   P e r s i s t e n t V o l u m e ( P V )   o r   P e r s i s t e n t V o l u m e C l a i m ( P V C )   t o   s p e c i f y   t h e   n a m e   o f   S t o r a g e C l a s s .   W h e n   b o t h   t h e   s t o r a g e C l a s s N a m e   a t t r i b u t e   a n d   t h e   v o l u m e . b e t a . k u b e r n e t e s . i o / s t o r a g e - c l a s s   a n n o t a t i o n   a r e   s p e c i f i e d ,   t h e   a n n o t a t i o n   v o l u m e . b e t a . k u b e r n e t e s . i o / s t o r a g e - c l a s s   t a k e s   p r e c e d e n c e   o v e r   t h e   s t o r a g e C l a s s N a m e   a t t r i b u t e .   T h i s   a n n o t a t i o n   h a s   b e e n   d e p r e c a t e d .   I n s t e a d ,   s e t   t h e   s t o r a g e C l a s s N a m e   f i e l d   f o r   t h e   P e r s i s t e n t V o l u m e C l a i m   o r   P e r s i s t e n t V o l u m e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23239"
  },
  {
    "question": "What is volume.beta.kubernetes.io/mount-options (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e   :   v o l u m e . b e t a . k u b e r n e t e s . i o / m o u n t - o p t i o n s :   \" r o , s o f t \"   U s e d   o n :   P e r s i s t e n t V o l u m e   A   K u b e r n e t e s   a d m i n i s t r a t o r   c a n   s p e c i f y   a d d i t i o n a l   m o u n t   o p t i o n s   f o r   w h e n   a   P e r s i s t e n t V o l u m e   i s   m o u n t e d   o n   a   n o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23240"
  },
  {
    "question": "What is volume.kubernetes.io/storage-provisioner?",
    "answer": "T y p e :   A n n o t a t i o n   U s e d   o n :   P e r s i s t e n t V o l u m e C l a i m   T h i s   a n n o t a t i o n   i s   a d d e d   t o   a   P V C   t h a t   i s   s u p p o s e d   t o   b e   d y n a m i c a l l y   p r o v i s i o n e d .   I t s   v a l u e   i s   t h e   n a m e   o f   a   v o l u m e   p l u g i n   t h a t   i s   s u p p o s e d   t o   p r o v i s i o n   a   v o l u m e   f o r   t h i s   P V C .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23241"
  },
  {
    "question": "What is volume.kubernetes.io/selected-node?",
    "answer": "T y p e :   A n n o t a t i o n   U s e d   o n :   P e r s i s t e n t V o l u m e C l a i m   T h i s   a n n o t a t i o n   i s   a d d e d   t o   a   P V C   t h a t   i s   t r i g g e r e d   b y   a   s c h e d u l e r   t o   b e   d y n a m i c a l l y   p r o v i s i o n e d .   I t s   v a l u e   i s   t h e   n a m e   o f   t h e   s e l e c t e d   n o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23242"
  },
  {
    "question": "What is volumes.kubernetes.io/controller-managed-attach-detach?",
    "answer": "T y p e :   A n n o t a t i o n   U s e d   o n :   N o d e   I f   a   n o d e   h a s   t h e   a n n o t a t i o n   v o l u m e s . k u b e r n e t e s . i o / c o n t r o l l e r - m a n a g e d - a t t a c h - d e t a c h ,   i t s   s t o r a g e   a t t a c h   a n d   d e t a c h   o p e r a t i o n s   a r e   b e i n g   m a n a g e d   b y   t h e   v o l u m e   a t t a c h / d e t a c h   c o n t r o l l e r .   T h e   v a l u e   o f   t h e   a n n o t a t i o n   i s n ' t   i m p o r t a n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23243"
  },
  {
    "question": "What is node.kubernetes.io/windows-build?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   n o d e . k u b e r n e t e s . i o / w i n d o w s - b u i l d :   \" 1 0 . 0 . 1 7 7 6 3 \"   U s e d   o n :   N o d e   W h e n   t h e   k u b e l e t   i s   r u n n i n g   o n   M i c r o s o f t   W i n d o w s ,   i t   a u t o m a t i c a l l y   l a b e l s   i t s   N o d e   t o   r e c o r d   t h e   v e r s i o n   o f   W i n d o w s   S e r v e r   i n   u s e .   T h e   l a b e l ' s   v a l u e   i s   i n   t h e   f o r m a t   \" M a j o r V e r s i o n . M i n o r V e r s i o n . B u i l d N u m b e r \" .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23244"
  },
  {
    "question": "What is storage.alpha.kubernetes.io/migrated-plugins?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e : s t o r a g e . a l p h a . k u b e r n e t e s . i o / m i g r a t e d - p l u g i n s :   \" k u b e r n e t e s . i o / c i n d e r \"   U s e d   o n :   C S I N o d e   ( a n   e x t e n s i o n   A P I )   T h i s   a n n o t a t i o n   i s   a u t o m a t i c a l l y   a d d e d   f o r   t h e   C S I N o d e   o b j e c t   t h a t   m a p s   t o   a   n o d e   t h a t   i n s t a l l s   C S I D r i v e r .   T h i s   a n n o t a t i o n   s h o w s   t h e   i n - t r e e   p l u g i n   n a m e   o f   t h e   m i g r a t e d   p l u g i n .   I t s   v a l u e   d e p e n d s   o n   y o u r   c l u s t e r ' s   i n - t r e e   c l o u d   p r o v i d e r   s t o r a g e   t y p e .   F o r   e x a m p l e ,   i f   t h e   i n - t r e e   c l o u d   p r o v i d e r   s t o r a g e   t y p e   i s   C S I M i g r a t i o n v S p h e r e ,   t h e   C S I N o d e s   i n s t a n c e   f o r   t h e   n o d e   s h o u l d   b e   u p d a t e d   w i t h :   s t o r a g e . a l p h a . k u b e r n e t e s . i o / m i g r a t e d - p l u g i n s :   \" k u b e r n e t e s . i o / v s p h e r e - v o l u m e \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23245"
  },
  {
    "question": "What is service.kubernetes.io/headless?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   s e r v i c e . k u b e r n e t e s . i o / h e a d l e s s :   \" \"   U s e d   o n :   E n d p o i n t s   T h e   c o n t r o l   p l a n e   a d d s   t h i s   l a b e l   t o   a n   E n d p o i n t s   o b j e c t   w h e n   t h e   o w n i n g   S e r v i c e   i s   h e a d l e s s .   T o   l e a r n   m o r e ,   r e a d   H e a d l e s s   S e r v i c e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23246"
  },
  {
    "question": "What is service.kubernetes.io/topology-aware-hints (deprecated)?",
    "answer": "E x a m p l e :   s e r v i c e . k u b e r n e t e s . i o / t o p o l o g y - a w a r e - h i n t s :   \" A u t o \"   U s e d   o n :   S e r v i c e   T h i s   a n n o t a t i o n   w a s   u s e d   f o r   e n a b l i n g   t o p o l o g y   a w a r e   h i n t s   o n   S e r v i c e s .   T o p o l o g y   a w a r e   h i n t s   h a v e   s i n c e   b e e n   r e n a m e d :   t h e   c o n c e p t   i s   n o w   c a l l e d   t o p o l o g y   a w a r e   r o u t i n g .   S e t t i n g   t h e   a n n o t a t i o n   t o   A u t o ,   o n   a   S e r v i c e ,   c o n f i g u r e d   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   t o   a d d   t o p o l o g y   h i n t s   o n   E n d p o i n t S l i c e s   a s s o c i a t e d   w i t h   t h a t   S e r v i c e .   Y o u   c a n   a l s o   e x p l i c i t l y   s e t   t h e   a n n o t a t i o n   t o   D i s a b l e d .   I f   y o u   a r e   r u n n i n g   a   v e r s i o n   o f   K u b e r n e t e s   o l d e r   t h a n   1 . 3 4 ,   c h e c k   t h e   d o c u m e n t a t i o n   f o r   t h a t   K u b e r n e t e s   v e r s i o n   t o   s e e   h o w   t o p o l o g y   a w a r e   r o u t i n g   w o r k s   i n   t h a t   r e l e a s e .   T h e r e   a r e   n o   o t h e r   v a l i d   v a l u e s   f o r   t h i s   a n n o t a t i o n .   I f   y o u   d o n ' t   w a n t   t o p o l o g y   a w a r e   h i n t s   f o r   a   S e r v i c e ,   d o n ' t   a d d   t h i s   a n n o t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23247"
  },
  {
    "question": "What is service.kubernetes.io/topology-mode?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   s e r v i c e . k u b e r n e t e s . i o / t o p o l o g y - m o d e :   A u t o   U s e d   o n :   S e r v i c e   T h i s   a n n o t a t i o n   p r o v i d e s   a   w a y   t o   d e f i n e   h o w   S e r v i c e s   h a n d l e   n e t w o r k   t o p o l o g y ;   f o r   e x a m p l e ,   y o u   c a n   c o n f i g u r e   a   S e r v i c e   s o   t h a t   K u b e r n e t e s   p r e f e r s   k e e p i n g   t r a f f i c   b e t w e e n   a   c l i e n t   a n d   s e r v e r   w i t h i n   a   s i n g l e   t o p o l o g y   z o n e .   I n   s o m e   c a s e s   t h i s   c a n   h e l p   r e d u c e   c o s t s   o r   i m p r o v e   n e t w o r k   p e r f o r m a n c e .   S e e   T o p o l o g y   A w a r e   R o u t i n g   f o r   m o r e   d e t a i l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23248"
  },
  {
    "question": "What is kubernetes.io/service-name?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   k u b e r n e t e s . i o / s e r v i c e - n a m e :   \" m y - w e b s i t e \"   U s e d   o n :   E n d p o i n t S l i c e   K u b e r n e t e s   a s s o c i a t e s   E n d p o i n t S l i c e s   w i t h   S e r v i c e s   u s i n g   t h i s   l a b e l .   T h i s   l a b e l   r e c o r d s   t h e   n a m e   o f   t h e   S e r v i c e   t h a t   t h e   E n d p o i n t S l i c e   i s   b a c k i n g .   A l l   E n d p o i n t S l i c e s   s h o u l d   h a v e   t h i s   l a b e l   s e t   t o   t h e   n a m e   o f   t h e i r   a s s o c i a t e d   S e r v i c e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23249"
  },
  {
    "question": "What is kubernetes.io/service-account.name?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . n a m e :   \" s a - n a m e \"   U s e d   o n :   S e c r e t   T h i s   a n n o t a t i o n   r e c o r d s   t h e   n a m e   o f   t h e   S e r v i c e A c c o u n t   t h a t   t h e   t o k e n   ( s t o r e d   i n   t h e   S e c r e t   o f   t y p e   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n )   r e p r e s e n t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23250"
  },
  {
    "question": "What is kubernetes.io/service-account.uid?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t . u i d :   d a 6 8 f 9 c 6 - 9 d 2 6 - 1 1 e 7 - b 8 4 e - 0 0 2 d c 5 2 8 0 0 d a   U s e d   o n :   S e c r e t   T h i s   a n n o t a t i o n   r e c o r d s   t h e   u n i q u e   I D   o f   t h e   S e r v i c e A c c o u n t   t h a t   t h e   t o k e n   ( s t o r e d   i n   t h e   S e c r e t   o f   t y p e   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n )   r e p r e s e n t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23251"
  },
  {
    "question": "What is kubernetes.io/legacy-token-last-used?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   k u b e r n e t e s . i o / l e g a c y - t o k e n - l a s t - u s e d :   2 0 2 2 - 1 0 - 2 4   U s e d   o n :   S e c r e t   T h e   c o n t r o l   p l a n e   o n l y   a d d s   t h i s   l a b e l   t o   S e c r e t s   t h a t   h a v e   t h e   t y p e   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n .   T h e   v a l u e   o f   t h i s   l a b e l   r e c o r d s   t h e   d a t e   ( I S O   8 6 0 1   f o r m a t ,   U T C   t i m e   z o n e )   w h e n   t h e   c o n t r o l   p l a n e   l a s t   s a w   a   r e q u e s t   w h e r e   t h e   c l i e n t   a u t h e n t i c a t e d   u s i n g   t h e   s e r v i c e   a c c o u n t   t o k e n .   I f   a   l e g a c y   t o k e n   w a s   l a s t   u s e d   b e f o r e   t h e   c l u s t e r   g a i n e d   t h e   f e a t u r e   ( a d d e d   i n   K u b e r n e t e s   v 1 . 2 6 ) ,   t h e n   t h e   l a b e l   i s n ' t   s e t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23252"
  },
  {
    "question": "What is kubernetes.io/legacy-token-invalid-since?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   k u b e r n e t e s . i o / l e g a c y - t o k e n - i n v a l i d - s i n c e :   2 0 2 3 - 1 0 - 2 7   U s e d   o n :   S e c r e t   T h e   c o n t r o l   p l a n e   a u t o m a t i c a l l y   a d d s   t h i s   l a b e l   t o   a u t o - g e n e r a t e d   S e c r e t s   t h a t   h a v e   t h e   t y p e   k u b e r n e t e s . i o / s e r v i c e - a c c o u n t - t o k e n .   T h i s   l a b e l   m a r k s   t h e   S e c r e t - b a s e d   t o k e n   a s   i n v a l i d   f o r   a u t h e n t i c a t i o n .   T h e   v a l u e   o f   t h i s   l a b e l   r e c o r d s   t h e   d a t e   ( I S O   8 6 0 1   f o r m a t ,   U T C   t i m e   z o n e )   w h e n   t h e   c o n t r o l   p l a n e   d e t e c t s   t h a t   t h e   a u t o - g e n e r a t e d   S e c r e t   h a s   n o t   b e e n   u s e d   f o r   a   s p e c i f i e d   d u r a t i o n   ( d e f a u l t s   t o   o n e   y e a r ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23253"
  },
  {
    "question": "What is endpoints.kubernetes.io/managed-by (deprecated)?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   e n d p o i n t s . k u b e r n e t e s . i o / m a n a g e d - b y :   e n d p o i n t - c o n t r o l l e r   U s e d   o n :   E n d p o i n t s   T h i s   l a b e l   i s   u s e d   i n t e r n a l l y   t o   m a r k   E n d p o i n t s   o b j e c t s   t h a t   w e r e   c r e a t e d   b y   K u b e r n e t e s   ( a s   o p p o s e d   t o   E n d p o i n t s   c r e a t e d   b y   u s e r s   o r   e x t e r n a l   c o n t r o l l e r s ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23254"
  },
  {
    "question": "What is endpointslice.kubernetes.io/managed-by?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   e n d p o i n t s l i c e . k u b e r n e t e s . i o / m a n a g e d - b y :   e n d p o i n t s l i c e - c o n t r o l l e r . k 8 s . i o   U s e d   o n :   E n d p o i n t S l i c e s   T h e   l a b e l   i s   u s e d   t o   i n d i c a t e   t h e   c o n t r o l l e r   o r   e n t i t y   t h a t   m a n a g e s   t h e   E n d p o i n t S l i c e .   T h i s   l a b e l   a i m s   t o   e n a b l e   d i f f e r e n t   E n d p o i n t S l i c e   o b j e c t s   t o   b e   m a n a g e d   b y   d i f f e r e n t   c o n t r o l l e r s   o r   e n t i t i e s   w i t h i n   t h e   s a m e   c l u s t e r .   T h e   v a l u e   e n d p o i n t s l i c e - c o n t r o l l e r . k 8 s . i o   i n d i c a t e s   a n   E n d p o i n t S l i c e   o b j e c t   t h a t   w a s   c r e a t e d   a u t o m a t i c a l l y   b y   K u b e r n e t e s   f o r   a   S e r v i c e   w i t h   a   s e l e c t o r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23255"
  },
  {
    "question": "What is endpointslice.kubernetes.io/skip-mirror?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   e n d p o i n t s l i c e . k u b e r n e t e s . i o / s k i p - m i r r o r :   \" t r u e \"   U s e d   o n :   E n d p o i n t s   T h e   l a b e l   c a n   b e   s e t   t o   \" t r u e \"   o n   a n   E n d p o i n t s   r e s o u r c e   t o   i n d i c a t e   t h a t   t h e   E n d p o i n t S l i c e M i r r o r i n g   c o n t r o l l e r   s h o u l d   n o t   m i r r o r   t h i s   r e s o u r c e   w i t h   E n d p o i n t S l i c e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23256"
  },
  {
    "question": "What is service.kubernetes.io/service-proxy-name?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   s e r v i c e . k u b e r n e t e s . i o / s e r v i c e - p r o x y - n a m e :   \" f o o - b a r \"   U s e d   o n :   S e r v i c e   S e t t i n g   a   v a l u e   f o r   t h i s   l a b e l   t e l l s   k u b e - p r o x y   t o   i g n o r e   t h i s   s e r v i c e   f o r   p r o x y i n g   p u r p o s e s .   T h i s   a l l o w s   f o r   u s e   o f   a l t e r n a t i v e   p r o x y   i m p l e m e n t a t i o n s   f o r   t h i s   s e r v i c e   ( e . g .   r u n n i n g   a   D a e m o n S e t   t h a t   m a n a g e s   n f t a b l e s   i t s   o w n   w a y ) .   M u l t i p l e   a l t e r n a t i v e   p r o x y   i m p l e m e n t a t i o n s   c o u l d   b e   a c t i v e   s i m u l t a n e o u s l y   u s i n g   t h i s   f i e l d ,   e . g .   b y   h a v i n g   a   v a l u e   u n i q u e   t o   e a c h   a l t e r n a t i v e   p r o x y   i m p l e m e n t a t i o n   t o   b e   r e s p o n s i b l e   f o r   t h e i r   r e s p e c t i v e   s e r v i c e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23257"
  },
  {
    "question": "What is experimental.windows.kubernetes.io/isolation-type (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   e x p e r i m e n t a l . w i n d o w s . k u b e r n e t e s . i o / i s o l a t i o n - t y p e :   \" h y p e r v \"   U s e d   o n :   P o d   T h e   a n n o t a t i o n   i s   u s e d   t o   r u n   W i n d o w s   c o n t a i n e r s   w i t h   H y p e r - V   i s o l a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23258"
  },
  {
    "question": "What is ingressclass.kubernetes.io/is-default-class?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   i n g r e s s c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s :   \" t r u e \"   U s e d   o n :   I n g r e s s C l a s s   W h e n   a   I n g r e s s C l a s s   r e s o u r c e   h a s   t h i s   a n n o t a t i o n   s e t   t o   \" t r u e \" ,   n e w   I n g r e s s   r e s o u r c e   w i t h o u t   a   c l a s s   s p e c i f i e d   w i l l   b e   a s s i g n e d   t h i s   d e f a u l t   c l a s s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23259"
  },
  {
    "question": "What is nginx.ingress.kubernetes.io/configuration-snippet?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   n g i n x . i n g r e s s . k u b e r n e t e s . i o / c o n f i g u r a t i o n - s n i p p e t :   \"   m o r e _ s e t _ h e a d e r s   \\ \" R e q u e s t - I d :   $ r e q _ i d \\ \" ; \\ n m o r e _ s e t _ h e a d e r s   \\ \" E x a m p l e :   4 2 \\ \" ; \\ n \"   U s e d   o n :   I n g r e s s   Y o u   c a n   u s e   t h i s   a n n o t a t i o n   t o   s e t   e x t r a   c o n f i g u r a t i o n   o n   a n   I n g r e s s   t h a t   u s e s   t h e   N G I N X   I n g r e s s   C o n t r o l l e r .   T h e   c o n f i g u r a t i o n - s n i p p e t   a n n o t a t i o n   i s   i g n o r e d   b y   d e f a u l t   s i n c e   v e r s i o n   1 . 9 . 0   o f   t h e   i n g r e s s   c o n t r o l l e r .   T h e   N G I N X   i n g r e s s   c o n t r o l l e r   s e t t i n g   a l l o w - s n i p p e t - a n n o t a t i o n s .   h a s   t o   b e   e x p l i c i t l y   e n a b l e d   t o   u s e   t h i s   a n n o t a t i o n .   E n a b l i n g   t h e   a n n o t a t i o n   c a n   b e   d a n g e r o u s   i n   a   m u l t i - t e n a n t   c l u s t e r ,   a s   i t   c a n   l e a d   p e o p l e   w i t h   o t h e r w i s e   l i m i t e d   p e r m i s s i o n s   b e i n g   a b l e   t o   r e t r i e v e   a l l   S e c r e t s   i n   t h e   c l u s t e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23260"
  },
  {
    "question": "What is kubernetes.io/ingress.class (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   U s e d   o n :   I n g r e s s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23261"
  },
  {
    "question": "What is kubernetes.io/cluster-service (deprecated)?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   k u b e r n e t e s . i o / c l u s t e r - s e r v i c e :   \" t r u e \"   U s e d   o n :   S e r v i c e   T h i s   l a b e l   i n d i c a t e s   t h a t   t h e   S e r v i c e   p r o v i d e s   a   s e r v i c e   t o   t h e   c l u s t e r ,   i f   t h e   v a l u e   i s   s e t   t o   t r u e .   W h e n   y o u   r u n   k u b e c t l   c l u s t e r - i n f o ,   t h e   t o o l   q u e r i e s   f o r   S e r v i c e s   w i t h   t h i s   l a b e l   s e t   t o   t r u e .   H o w e v e r ,   s e t t i n g   t h i s   l a b e l   o n   a n y   S e r v i c e   i s   d e p r e c a t e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23262"
  },
  {
    "question": "What is storageclass.kubernetes.io/is-default-class?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   s t o r a g e c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s :   \" t r u e \"   U s e d   o n :   S t o r a g e C l a s s   W h e n   a   s i n g l e   S t o r a g e C l a s s   r e s o u r c e   h a s   t h i s   a n n o t a t i o n   s e t   t o   \" t r u e \" ,   n e w   P e r s i s t e n t V o l u m e C l a i m   r e s o u r c e   w i t h o u t   a   c l a s s   s p e c i f i e d   w i l l   b e   a s s i g n e d   t h i s   d e f a u l t   c l a s s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23263"
  },
  {
    "question": "What is alpha.kubernetes.io/provided-node-ip (alpha)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   a l p h a . k u b e r n e t e s . i o / p r o v i d e d - n o d e - i p :   \" 1 0 . 0 . 0 . 1 \"   U s e d   o n :   N o d e   T h e   k u b e l e t   c a n   s e t   t h i s   a n n o t a t i o n   o n   a   N o d e   t o   d e n o t e   i t s   c o n f i g u r e d   I P v 4   a n d / o r   I P v 6   a d d r e s s .   W h e n   k u b e l e t   i s   s t a r t e d   w i t h   t h e   - - c l o u d - p r o v i d e r   f l a g   s e t   t o   a n y   v a l u e   ( i n c l u d e s   b o t h   e x t e r n a l   a n d   l e g a c y   i n - t r e e   c l o u d   p r o v i d e r s ) ,   i t   s e t s   t h i s   a n n o t a t i o n   o n   t h e   N o d e   t o   d e n o t e   a n   I P   a d d r e s s   s e t   f r o m   t h e   c o m m a n d   l i n e   f l a g   ( - - n o d e - i p ) .   T h i s   I P   i s   v e r i f i e d   w i t h   t h e   c l o u d   p r o v i d e r   a s   v a l i d   b y   t h e   c l o u d - c o n t r o l l e r - m a n a g e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23264"
  },
  {
    "question": "What is batch.kubernetes.io/job-completion-index?",
    "answer": "T y p e :   A n n o t a t i o n ,   L a b e l   E x a m p l e :   b a t c h . k u b e r n e t e s . i o / j o b - c o m p l e t i o n - i n d e x :   \" 3 \"   U s e d   o n :   P o d   T h e   J o b   c o n t r o l l e r   i n   t h e   k u b e - c o n t r o l l e r - m a n a g e r   s e t s   t h i s   a s   a   l a b e l   a n d   a n n o t a t i o n   f o r   P o d s   c r e a t e d   w i t h   I n d e x e d   c o m p l e t i o n   m o d e .   N o t e   t h e   P o d I n d e x L a b e l   f e a t u r e   g a t e   m u s t   b e   e n a b l e d   f o r   t h i s   t o   b e   a d d e d   a s   a   p o d   l a b e l ,   o t h e r w i s e   i t   w i l l   j u s t   b e   a n   a n n o t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23265"
  },
  {
    "question": "What is batch.kubernetes.io/cronjob-scheduled-timestamp?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   b a t c h . k u b e r n e t e s . i o / c r o n j o b - s c h e d u l e d - t i m e s t a m p :   \" 2 0 1 6 - 0 5 - 1 9 T 0 3 : 0 0 : 0 0 - 0 7 : 0 0 \"   U s e d   o n :   J o b s   a n d   P o d s   c o n t r o l l e d   b y   C r o n J o b s   T h i s   a n n o t a t i o n   i s   u s e d   t o   r e c o r d   t h e   o r i g i n a l   ( e x p e c t e d )   c r e a t i o n   t i m e s t a m p   f o r   a   J o b ,   w h e n   t h a t   J o b   i s   p a r t   o f   a   C r o n J o b .   T h e   c o n t r o l   p l a n e   s e t s   t h e   v a l u e   t o   t h a t   t i m e s t a m p   i n   R F C 3 3 3 9   f o r m a t .   I f   t h e   J o b   b e l o n g s   t o   a   C r o n J o b   w i t h   a   t i m e z o n e   s p e c i f i e d ,   t h e n   t h e   t i m e s t a m p   i s   i n   t h a t   t i m e z o n e .   O t h e r w i s e ,   t h e   t i m e s t a m p   i s   i n   c o n t r o l l e r - m a n a g e r ' s   l o c a l   t i m e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23266"
  },
  {
    "question": "What is kubectl.kubernetes.io/default-container?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e c t l . k u b e r n e t e s . i o / d e f a u l t - c o n t a i n e r :   \" f r o n t - e n d - a p p \"   T h e   v a l u e   o f   t h e   a n n o t a t i o n   i s   t h e   c o n t a i n e r   n a m e   t h a t   i s   d e f a u l t   f o r   t h i s   P o d .   F o r   e x a m p l e ,   k u b e c t l   l o g s   o r   k u b e c t l   e x e c   w i t h o u t   - c   o r   - - c o n t a i n e r   f l a g   w i l l   u s e   t h i s   d e f a u l t   c o n t a i n e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23267"
  },
  {
    "question": "What is kubectl.kubernetes.io/default-logs-container (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e c t l . k u b e r n e t e s . i o / d e f a u l t - l o g s - c o n t a i n e r :   \" f r o n t - e n d - a p p \"   T h e   v a l u e   o f   t h e   a n n o t a t i o n   i s   t h e   c o n t a i n e r   n a m e   t h a t   i s   t h e   d e f a u l t   l o g g i n g   c o n t a i n e r   f o r   t h i s   P o d .   F o r   e x a m p l e ,   k u b e c t l   l o g s   w i t h o u t   - c   o r   - - c o n t a i n e r   f l a g   w i l l   u s e   t h i s   d e f a u l t   c o n t a i n e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23268"
  },
  {
    "question": "What is kubectl.kubernetes.io/last-applied-configuration?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   s e e   f o l l o w i n g   s n i p p e t   k u b e c t l . k u b e r n e t e s . i o / l a s t - a p p l i e d - c o n f i g u r a t i o n :   >   { \" a p i V e r s i o n \" : \" a p p s / v 1 \" , \" k i n d \" : \" D e p l o y m e n t \" , \" m e t a d a t a \" : { \" a n n o t a t i o n s \" : { } , \" n a m e \" : \" e x a m p l e \" , \" n a m e s p a c e \" : \" d e f a u l t \" } , \" s p e c \" : { \" s e l e c t o r \" : { \" m a t c h L a b e l s \" : { \" a p p . k u b e r n e t e s . i o / n a m e \" : f o o } } , \" t e m p l a t e \" : { \" m e t a d a t a \" : { \" l a b e l s \" : { \" a p p . k u b e r n e t e s . i o / n a m e \" : \" f o o \" } } , \" s p e c \" : { \" c o n t a i n e r s \" : [ { \" i m a g e \" : \" c o n t a i n e r - r e g i s t r y . e x a m p l e / f o o - b a r : 1 . 4 2 \" , \" n a m e \" : \" f o o - b a r \" , \" p o r t s \" : [ { \" c o n t a i n e r P o r t \" : 4 2 } ] } ] } } } }   U s e d   o n :   a l l   o b j e c t s   T h e   k u b e c t l   c o m m a n d   l i n e   t o o l   u s e s   t h i s   a n n o t a t i o n   a s   a   l e g a c y   m e c h a n i s m   t o   t r a c k   c h a n g e s .   T h a t   m e c h a n i s m   h a s   b e e n   s u p e r s e d e d   b y   S e r v e r - s i d e   a p p l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23269"
  },
  {
    "question": "What is kubectl.kubernetes.io/restartedAt?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e c t l . k u b e r n e t e s . i o / r e s t a r t e d A t :   \" 2 0 2 4 - 0 6 - 2 1 T 1 7 : 2 7 : 4 1 Z \"   U s e d   o n :   D e p l o y m e n t ,   R e p l i c a S e t ,   S t a t e f u l S e t ,   D a e m o n S e t ,   P o d   T h i s   a n n o t a t i o n   c o n t a i n s   t h e   l a t e s t   r e s t a r t   t i m e   o f   a   r e s o u r c e   ( D e p l o y m e n t ,   R e p l i c a S e t ,   S t a t e f u l S e t   o r   D a e m o n S e t ) ,   w h e r e   k u b e c t l   t r i g g e r e d   a   r o l l o u t   i n   o r d e r   t o   f o r c e   c r e a t i o n   o f   n e w   P o d s .   T h e   c o m m a n d   k u b e c t l   r o l l o u t   r e s t a r t   < R E S O U R C E >   t r i g g e r s   a   r e s t a r t   b y   p a t c h i n g   t h e   t e m p l a t e   m e t a d a t a   o f   a l l   t h e   p o d s   o f   r e s o u r c e   w i t h   t h i s   a n n o t a t i o n .   I n   a b o v e   e x a m p l e   t h e   l a t e s t   r e s t a r t   t i m e   i s   s h o w n   a s   2 1 s t   J u n e   2 0 2 4   a t   1 7 : 2 7 : 4 1   U T C .   Y o u   s h o u l d   n o t   a s s u m e   t h a t   t h i s   a n n o t a t i o n   r e p r e s e n t s   t h e   d a t e   /   t i m e   o f   t h e   m o s t   r e c e n t   u p d a t e ;   a   s e p a r a t e   c h a n g e   c o u l d   h a v e   b e e n   m a d e   s i n c e   t h e   l a s t   m a n u a l l y   t r i g g e r e d   r o l l o u t .   I f   y o u   m a n u a l l y   s e t   t h i s   a n n o t a t i o n   o n   a   P o d ,   n o t h i n g   h a p p e n s .   T h e   r e s t a r t i n g   s i d e   e f f e c t   c o m e s   f r o m   h o w   w o r k l o a d   m a n a g e m e n t   a n d   P o d   t e m p l a t i n g   w o r k s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23270"
  },
  {
    "question": "What is endpoints.kubernetes.io/over-capacity?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   e n d p o i n t s . k u b e r n e t e s . i o / o v e r - c a p a c i t y : t r u n c a t e d   U s e d   o n :   E n d p o i n t s   T h e   c o n t r o l   p l a n e   a d d s   t h i s   a n n o t a t i o n   t o   a n   E n d p o i n t s   o b j e c t   i f   t h e   a s s o c i a t e d   S e r v i c e   h a s   m o r e   t h a n   1 0 0 0   b a c k i n g   e n d p o i n t s .   T h e   a n n o t a t i o n   i n d i c a t e s   t h a t   t h e   E n d p o i n t s   o b j e c t   i s   o v e r   c a p a c i t y   a n d   t h e   n u m b e r   o f   e n d p o i n t s   h a s   b e e n   t r u n c a t e d   t o   1 0 0 0 .   I f   t h e   n u m b e r   o f   b a c k e n d   e n d p o i n t s   f a l l s   b e l o w   1 0 0 0 ,   t h e   c o n t r o l   p l a n e   r e m o v e s   t h i s   a n n o t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23271"
  },
  {
    "question": "What is endpoints.kubernetes.io/last-change-trigger-time?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   e n d p o i n t s . k u b e r n e t e s . i o / l a s t - c h a n g e - t r i g g e r - t i m e :   \" 2 0 2 3 - 0 7 - 2 0 T 0 4 : 4 5 : 2 1 Z \"   U s e d   o n :   E n d p o i n t s   T h i s   a n n o t a t i o n   s e t   t o   a n   E n d p o i n t s   o b j e c t   t h a t   r e p r e s e n t s   t h e   t i m e s t a m p   ( T h e   t i m e s t a m p   i s   s t o r e d   i n   R F C   3 3 3 9   d a t e - t i m e   s t r i n g   f o r m a t .   F o r   e x a m p l e ,   ' 2 0 1 8 - 1 0 - 2 2 T 1 9 : 3 2 : 5 2 . 1 Z ' ) .   T h i s   i s   t i m e s t a m p   o f   t h e   l a s t   c h a n g e   i n   s o m e   P o d   o r   S e r v i c e   o b j e c t ,   t h a t   t r i g g e r e d   t h e   c h a n g e   t o   t h e   E n d p o i n t s   o b j e c t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23272"
  },
  {
    "question": "What is control-plane.alpha.kubernetes.io/leader (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   c o n t r o l - p l a n e . a l p h a . k u b e r n e t e s . i o / l e a d e r = { \" h o l d e r I d e n t i t y \" : \" c o n t r o l l e r - 0 \" , \" l e a s e D u r a t i o n S e c o n d s \" : 1 5 , \" a c q u i r e T i m e \" : \" 2 0 2 3 - 0 1 - 1 9 T 1 3 : 1 2 : 5 7 Z \" , \" r e n e w T i m e \" : \" 2 0 2 3 - 0 1 - 1 9 T 1 3 : 1 3 : 5 4 Z \" , \" l e a d e r T r a n s i t i o n s \" : 1 }   U s e d   o n :   E n d p o i n t s   T h e   c o n t r o l   p l a n e   p r e v i o u s l y   s e t   a n n o t a t i o n   o n   a n   E n d p o i n t s   o b j e c t .   T h i s   a n n o t a t i o n   p r o v i d e d   t h e   f o l l o w i n g   d e t a i l :   W h o   i s   t h e   c u r r e n t   l e a d e r . T h e   t i m e   w h e n   t h e   c u r r e n t   l e a d e r s h i p   w a s   a c q u i r e d . T h e   d u r a t i o n   o f   t h e   l e a s e   ( o f   t h e   l e a d e r s h i p )   i n   s e c o n d s . T h e   t i m e   t h e   c u r r e n t   l e a s e   ( t h e   c u r r e n t   l e a d e r s h i p )   s h o u l d   b e   r e n e w e d . T h e   n u m b e r   o f   l e a d e r s h i p   t r a n s i t i o n s   t h a t   h a p p e n e d   i n   t h e   p a s t .   K u b e r n e t e s   n o w   u s e s   L e a s e s   t o   m a n a g e   l e a d e r   a s s i g n m e n t   f o r   t h e   K u b e r n e t e s   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23273"
  },
  {
    "question": "What is batch.kubernetes.io/job-tracking (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   b a t c h . k u b e r n e t e s . i o / j o b - t r a c k i n g :   \" \"   U s e d   o n :   J o b s   T h e   p r e s e n c e   o f   t h i s   a n n o t a t i o n   o n   a   J o b   u s e d   t o   i n d i c a t e   t h a t   t h e   c o n t r o l   p l a n e   i s   t r a c k i n g   t h e   J o b   s t a t u s   u s i n g   f i n a l i z e r s .   A d d i n g   o r   r e m o v i n g   t h i s   a n n o t a t i o n   n o   l o n g e r   h a s   a n   e f f e c t   ( K u b e r n e t e s   v 1 . 2 7   a n d   l a t e r )   A l l   J o b s   a r e   t r a c k e d   w i t h   f i n a l i z e r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23274"
  },
  {
    "question": "What is job-name (deprecated)?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   j o b - n a m e :   \" p i \"   U s e d   o n :   J o b s   a n d   P o d s   c o n t r o l l e d   b y   J o b s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23275"
  },
  {
    "question": "What is controller-uid (deprecated)?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   c o n t r o l l e r - u i d :   \" $ U I D \"   U s e d   o n :   J o b s   a n d   P o d s   c o n t r o l l e d   b y   J o b s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23276"
  },
  {
    "question": "What is batch.kubernetes.io/job-name?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   b a t c h . k u b e r n e t e s . i o / j o b - n a m e :   \" p i \"   U s e d   o n :   J o b s   a n d   P o d s   c o n t r o l l e d   b y   J o b s   T h i s   l a b e l   i s   u s e d   a s   a   u s e r - f r i e n d l y   w a y   t o   g e t   P o d s   c o r r e s p o n d i n g   t o   a   J o b .   T h e   j o b - n a m e   c o m e s   f r o m   t h e   n a m e   o f   t h e   J o b   a n d   a l l o w s   f o r   a n   e a s y   w a y   t o   g e t   P o d s   c o r r e s p o n d i n g   t o   t h e   J o b .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23277"
  },
  {
    "question": "What is batch.kubernetes.io/controller-uid?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   b a t c h . k u b e r n e t e s . i o / c o n t r o l l e r - u i d :   \" $ U I D \"   U s e d   o n :   J o b s   a n d   P o d s   c o n t r o l l e d   b y   J o b s   T h i s   l a b e l   i s   u s e d   a s   a   p r o g r a m m a t i c   w a y   t o   g e t   a l l   P o d s   c o r r e s p o n d i n g   t o   a   J o b . T h e   c o n t r o l l e r - u i d   i s   a   u n i q u e   i d e n t i f i e r   t h a t   g e t s   s e t   i n   t h e   s e l e c t o r   f i e l d   s o   t h e   J o b   c o n t r o l l e r   c a n   g e t   a l l   t h e   c o r r e s p o n d i n g   P o d s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23278"
  },
  {
    "question": "What is scheduler.alpha.kubernetes.io/defaultTolerations?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   s c h e d u l e r . a l p h a . k u b e r n e t e s . i o / d e f a u l t T o l e r a t i o n s :   ' [ { \" o p e r a t o r \" :   \" E q u a l \" ,   \" v a l u e \" :   \" v a l u e 1 \" ,   \" e f f e c t \" :   \" N o S c h e d u l e \" ,   \" k e y \" :   \" d e d i c a t e d - n o d e \" } ] '   U s e d   o n :   N a m e s p a c e   T h i s   a n n o t a t i o n   r e q u i r e s   t h e   P o d T o l e r a t i o n R e s t r i c t i o n   a d m i s s i o n   c o n t r o l l e r   t o   b e   e n a b l e d .   T h i s   a n n o t a t i o n   k e y   a l l o w s   a s s i g n i n g   t o l e r a t i o n s   t o   a   n a m e s p a c e   a n d   a n y   n e w   p o d s   c r e a t e d   i n   t h i s   n a m e s p a c e   w o u l d   g e t   t h e s e   t o l e r a t i o n s   a d d e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23279"
  },
  {
    "question": "What is scheduler.alpha.kubernetes.io/tolerationsWhitelist?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   s c h e d u l e r . a l p h a . k u b e r n e t e s . i o / t o l e r a t i o n s W h i t e l i s t :   ' [ { \" o p e r a t o r \" :   \" E x i s t s \" ,   \" e f f e c t \" :   \" N o S c h e d u l e \" ,   \" k e y \" :   \" d e d i c a t e d - n o d e \" } ] '   U s e d   o n :   N a m e s p a c e   T h i s   a n n o t a t i o n   i s   o n l y   u s e f u l   w h e n   t h e   ( A l p h a )   P o d T o l e r a t i o n R e s t r i c t i o n   a d m i s s i o n   c o n t r o l l e r   i s   e n a b l e d .   T h e   a n n o t a t i o n   v a l u e   i s   a   J S O N   d o c u m e n t   t h a t   d e f i n e s   a   l i s t   o f   a l l o w e d   t o l e r a t i o n s   f o r   t h e   n a m e s p a c e   i t   a n n o t a t e s .   W h e n   y o u   c r e a t e   a   P o d   o r   m o d i f y   i t s   t o l e r a t i o n s ,   t h e   A P I   s e r v e r   c h e c k s   t h e   t o l e r a t i o n s   t o   s e e   i f   t h e y   a r e   m e n t i o n e d   i n   t h e   a l l o w   l i s t .   T h e   p o d   i s   a d m i t t e d   o n l y   i f   t h e   c h e c k   s u c c e e d s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23280"
  },
  {
    "question": "What is scheduler.alpha.kubernetes.io/preferAvoidPods (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   U s e d   o n :   N o d e   T h i s   a n n o t a t i o n   r e q u i r e s   t h e   N o d e P r e f e r A v o i d P o d s   s c h e d u l i n g   p l u g i n   t o   b e   e n a b l e d .   T h e   p l u g i n   i s   d e p r e c a t e d   s i n c e   K u b e r n e t e s   1 . 2 2 .   U s e   T a i n t s   a n d   T o l e r a t i o n s   i n s t e a d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23281"
  },
  {
    "question": "What is node.kubernetes.io/not-ready?",
    "answer": "T y p e :   T a i n t   E x a m p l e :   n o d e . k u b e r n e t e s . i o / n o t - r e a d y :   \" N o E x e c u t e \"   U s e d   o n :   N o d e   T h e   N o d e   c o n t r o l l e r   d e t e c t s   w h e t h e r   a   N o d e   i s   r e a d y   b y   m o n i t o r i n g   i t s   h e a l t h   a n d   a d d s   o r   r e m o v e s   t h i s   t a i n t   a c c o r d i n g l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23282"
  },
  {
    "question": "What is node.kubernetes.io/unreachable?",
    "answer": "T y p e :   T a i n t   E x a m p l e :   n o d e . k u b e r n e t e s . i o / u n r e a c h a b l e :   \" N o E x e c u t e \"   U s e d   o n :   N o d e   T h e   N o d e   c o n t r o l l e r   a d d s   t h e   t a i n t   t o   a   N o d e   c o r r e s p o n d i n g   t o   t h e   N o d e C o n d i t i o n   R e a d y   b e i n g   U n k n o w n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23283"
  },
  {
    "question": "What is node.kubernetes.io/unschedulable?",
    "answer": "T y p e :   T a i n t   E x a m p l e :   n o d e . k u b e r n e t e s . i o / u n s c h e d u l a b l e :   \" N o S c h e d u l e \"   U s e d   o n :   N o d e   T h e   t a i n t   w i l l   b e   a d d e d   t o   a   n o d e   w h e n   i n i t i a l i z i n g   t h e   n o d e   t o   a v o i d   r a c e   c o n d i t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23284"
  },
  {
    "question": "What is node.kubernetes.io/memory-pressure?",
    "answer": "T y p e :   T a i n t   E x a m p l e :   n o d e . k u b e r n e t e s . i o / m e m o r y - p r e s s u r e :   \" N o S c h e d u l e \"   U s e d   o n :   N o d e   T h e   k u b e l e t   d e t e c t s   m e m o r y   p r e s s u r e   b a s e d   o n   m e m o r y . a v a i l a b l e   a n d   a l l o c a t a b l e M e m o r y . a v a i l a b l e   o b s e r v e d   o n   a   N o d e .   T h e   o b s e r v e d   v a l u e s   a r e   t h e n   c o m p a r e d   t o   t h e   c o r r e s p o n d i n g   t h r e s h o l d s   t h a t   c a n   b e   s e t   o n   t h e   k u b e l e t   t o   d e t e r m i n e   i f   t h e   N o d e   c o n d i t i o n   a n d   t a i n t   s h o u l d   b e   a d d e d / r e m o v e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23285"
  },
  {
    "question": "What is node.kubernetes.io/disk-pressure?",
    "answer": "T y p e :   T a i n t   E x a m p l e :   n o d e . k u b e r n e t e s . i o / d i s k - p r e s s u r e   : \" N o S c h e d u l e \"   U s e d   o n :   N o d e   T h e   k u b e l e t   d e t e c t s   d i s k   p r e s s u r e   b a s e d   o n   i m a g e f s . a v a i l a b l e ,   i m a g e f s . i n o d e s F r e e ,   n o d e f s . a v a i l a b l e   a n d   n o d e f s . i n o d e s F r e e ( L i n u x   o n l y )   o b s e r v e d   o n   a   N o d e .   T h e   o b s e r v e d   v a l u e s   a r e   t h e n   c o m p a r e d   t o   t h e   c o r r e s p o n d i n g   t h r e s h o l d s   t h a t   c a n   b e   s e t   o n   t h e   k u b e l e t   t o   d e t e r m i n e   i f   t h e   N o d e   c o n d i t i o n   a n d   t a i n t   s h o u l d   b e   a d d e d / r e m o v e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23286"
  },
  {
    "question": "What is node.kubernetes.io/network-unavailable?",
    "answer": "T y p e :   T a i n t   E x a m p l e :   n o d e . k u b e r n e t e s . i o / n e t w o r k - u n a v a i l a b l e :   \" N o S c h e d u l e \"   U s e d   o n :   N o d e   T h i s   i s   i n i t i a l l y   s e t   b y   t h e   k u b e l e t   w h e n   t h e   c l o u d   p r o v i d e r   u s e d   i n d i c a t e s   a   r e q u i r e m e n t   f o r   a d d i t i o n a l   n e t w o r k   c o n f i g u r a t i o n .   O n l y   w h e n   t h e   r o u t e   o n   t h e   c l o u d   i s   c o n f i g u r e d   p r o p e r l y   w i l l   t h e   t a i n t   b e   r e m o v e d   b y   t h e   c l o u d   p r o v i d e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23287"
  },
  {
    "question": "What is node.kubernetes.io/pid-pressure?",
    "answer": "T y p e :   T a i n t   E x a m p l e :   n o d e . k u b e r n e t e s . i o / p i d - p r e s s u r e :   \" N o S c h e d u l e \"   U s e d   o n :   N o d e   T h e   k u b e l e t   c h e c k s   D - v a l u e   o f   t h e   s i z e   o f   / p r o c / s y s / k e r n e l / p i d _ m a x   a n d   t h e   P I D s   c o n s u m e d   b y   K u b e r n e t e s   o n   a   n o d e   t o   g e t   t h e   n u m b e r   o f   a v a i l a b l e   P I D s   t h a t   r e f e r r e d   t o   a s   t h e   p i d . a v a i l a b l e   m e t r i c .   T h e   m e t r i c   i s   t h e n   c o m p a r e d   t o   t h e   c o r r e s p o n d i n g   t h r e s h o l d   t h a t   c a n   b e   s e t   o n   t h e   k u b e l e t   t o   d e t e r m i n e   i f   t h e   n o d e   c o n d i t i o n   a n d   t a i n t   s h o u l d   b e   a d d e d / r e m o v e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23288"
  },
  {
    "question": "What is node.kubernetes.io/out-of-service?",
    "answer": "T y p e :   T a i n t   E x a m p l e :   n o d e . k u b e r n e t e s . i o / o u t - o f - s e r v i c e : N o E x e c u t e   U s e d   o n :   N o d e   A   u s e r   c a n   m a n u a l l y   a d d   t h e   t a i n t   t o   a   N o d e   m a r k i n g   i t   o u t - o f - s e r v i c e .   I f   a   N o d e   i s   m a r k e d   o u t - o f - s e r v i c e   w i t h   t h i s   t a i n t ,   t h e   P o d s   o n   t h e   n o d e   w i l l   b e   f o r c e f u l l y   d e l e t e d   i f   t h e r e   a r e   n o   m a t c h i n g   t o l e r a t i o n s   o n   i t   a n d   v o l u m e   d e t a c h   o p e r a t i o n s   f o r   t h e   P o d s   t e r m i n a t i n g   o n   t h e   n o d e   w i l l   h a p p e n   i m m e d i a t e l y .   T h i s   a l l o w s   t h e   P o d s   o n   t h e   o u t - o f - s e r v i c e   n o d e   t o   r e c o v e r   q u i c k l y   o n   a   d i f f e r e n t   n o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23289"
  },
  {
    "question": "What is node.cloudprovider.kubernetes.io/uninitialized?",
    "answer": "T y p e :   T a i n t   E x a m p l e :   n o d e . c l o u d p r o v i d e r . k u b e r n e t e s . i o / u n i n i t i a l i z e d :   \" N o S c h e d u l e \"   U s e d   o n :   N o d e   S e t s   t h i s   t a i n t   o n   a   N o d e   t o   m a r k   i t   a s   u n u s a b l e ,   w h e n   k u b e l e t   i s   s t a r t e d   w i t h   t h e   \" e x t e r n a l \"   c l o u d   p r o v i d e r ,   u n t i l   a   c o n t r o l l e r   f r o m   t h e   c l o u d - c o n t r o l l e r - m a n a g e r   i n i t i a l i z e s   t h i s   N o d e ,   a n d   t h e n   r e m o v e s   t h e   t a i n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23290"
  },
  {
    "question": "What is node.cloudprovider.kubernetes.io/shutdown?",
    "answer": "T y p e :   T a i n t   E x a m p l e :   n o d e . c l o u d p r o v i d e r . k u b e r n e t e s . i o / s h u t d o w n :   \" N o S c h e d u l e \"   U s e d   o n :   N o d e   I f   a   N o d e   i s   i n   a   c l o u d   p r o v i d e r   s p e c i f i e d   s h u t d o w n   s t a t e ,   t h e   N o d e   g e t s   t a i n t e d   a c c o r d i n g l y   w i t h   n o d e . c l o u d p r o v i d e r . k u b e r n e t e s . i o / s h u t d o w n   a n d   t h e   t a i n t   e f f e c t   o f   N o S c h e d u l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23291"
  },
  {
    "question": "What is feature.node.kubernetes.io/*?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   f e a t u r e . n o d e . k u b e r n e t e s . i o / n e t w o r k - s r i o v . c a p a b l e :   \" t r u e \"   U s e d   o n :   N o d e   T h e s e   l a b e l s   a r e   u s e d   b y   t h e   N o d e   F e a t u r e   D i s c o v e r y   ( N F D )   c o m p o n e n t   t o   a d v e r t i s e   f e a t u r e s   o n   a   n o d e .   A l l   b u i l t - i n   l a b e l s   u s e   t h e   f e a t u r e . n o d e . k u b e r n e t e s . i o   l a b e l   n a m e s p a c e   a n d   h a v e   t h e   f o r m a t   f e a t u r e . n o d e . k u b e r n e t e s . i o / < f e a t u r e - n a m e > :   \" t r u e \" .   N F D   h a s   m a n y   e x t e n s i o n   p o i n t s   f o r   c r e a t i n g   v e n d o r   a n d   a p p l i c a t i o n - s p e c i f i c   l a b e l s .   F o r   d e t a i l s ,   s e e   t h e   c u s t o m i z a t i o n   g u i d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23292"
  },
  {
    "question": "What is nfd.node.kubernetes.io/master.version?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   n f d . n o d e . k u b e r n e t e s . i o / m a s t e r . v e r s i o n :   \" v 0 . 6 . 0 \"   U s e d   o n :   N o d e   F o r   n o d e ( s )   w h e r e   t h e   N o d e   F e a t u r e   D i s c o v e r y   ( N F D )   m a s t e r   i s   s c h e d u l e d ,   t h i s   a n n o t a t i o n   r e c o r d s   t h e   v e r s i o n   o f   t h e   N F D   m a s t e r .   I t   i s   u s e d   f o r   i n f o r m a t i v e   u s e   o n l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23293"
  },
  {
    "question": "What is nfd.node.kubernetes.io/worker.version?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   n f d . n o d e . k u b e r n e t e s . i o / w o r k e r . v e r s i o n :   \" v 0 . 4 . 0 \"   U s e d   o n :   N o d e s   T h i s   a n n o t a t i o n   r e c o r d s   t h e   v e r s i o n   f o r   a   N o d e   F e a t u r e   D i s c o v e r y ' s   w o r k e r   i f   t h e r e   i s   o n e   r u n n i n g   o n   a   n o d e .   I t ' s   u s e d   f o r   i n f o r m a t i v e   u s e   o n l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23294"
  },
  {
    "question": "What is nfd.node.kubernetes.io/feature-labels?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   n f d . n o d e . k u b e r n e t e s . i o / f e a t u r e - l a b e l s :   \" c p u - c p u i d . A D X , c p u - c p u i d . A E S N I , c p u - h a r d w a r e _ m u l t i t h r e a d i n g , k e r n e l - v e r s i o n . f u l l \"   U s e d   o n :   N o d e s   T h i s   a n n o t a t i o n   r e c o r d s   a   c o m m a - s e p a r a t e d   l i s t   o f   n o d e   f e a t u r e   l a b e l s   m a n a g e d   b y   N o d e   F e a t u r e   D i s c o v e r y   ( N F D ) .   N F D   u s e s   t h i s   f o r   a n   i n t e r n a l   m e c h a n i s m .   Y o u   s h o u l d   n o t   e d i t   t h i s   a n n o t a t i o n   y o u r s e l f .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23295"
  },
  {
    "question": "What is nfd.node.kubernetes.io/extended-resources?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   n f d . n o d e . k u b e r n e t e s . i o / e x t e n d e d - r e s o u r c e s :   \" a c c e l e r a t o r . a c m e . e x a m p l e / q 5 0 0 , e x a m p l e . c o m / c o p r o c e s s o r - f x 5 \"   U s e d   o n :   N o d e s   T h i s   a n n o t a t i o n   r e c o r d s   a   c o m m a - s e p a r a t e d   l i s t   o f   e x t e n d e d   r e s o u r c e s   m a n a g e d   b y   N o d e   F e a t u r e   D i s c o v e r y   ( N F D ) .   N F D   u s e s   t h i s   f o r   a n   i n t e r n a l   m e c h a n i s m .   Y o u   s h o u l d   n o t   e d i t   t h i s   a n n o t a t i o n   y o u r s e l f .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23296"
  },
  {
    "question": "What is nfd.node.kubernetes.io/node-name?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   n f d . n o d e . k u b e r n e t e s . i o / n o d e - n a m e :   n o d e - 1   U s e d   o n :   N o d e s   I t   s p e c i f i e s   w h i c h   n o d e   t h e   N o d e F e a t u r e   o b j e c t   i s   t a r g e t i n g .   C r e a t o r s   o f   N o d e F e a t u r e   o b j e c t s   m u s t   s e t   t h i s   l a b e l   a n d   c o n s u m e r s   o f   t h e   o b j e c t s   a r e   s u p p o s e d   t o   u s e   t h e   l a b e l   f o r   f i l t e r i n g   f e a t u r e s   d e s i g n a t e d   f o r   a   c e r t a i n   n o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23297"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-access-log-emit-interval (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - a c c e s s - l o g - e m i t - i n t e r v a l :   \" 5 \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   t h e   l o a d   b a l a n c e r   f o r   a   S e r v i c e   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   v a l u e   d e t e r m i n e s   h o w   o f t e n   t h e   l o a d   b a l a n c e r   w r i t e s   l o g   e n t r i e s .   F o r   e x a m p l e ,   i f   y o u   s e t   t h e   v a l u e   t o   5 ,   t h e   l o g   w r i t e s   o c c u r   5   s e c o n d s   a p a r t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23298"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-access-log-enabled (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - a c c e s s - l o g - e n a b l e d :   \" f a l s e \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   t h e   l o a d   b a l a n c e r   f o r   a   S e r v i c e   b a s e d   o n   t h i s   a n n o t a t i o n .   A c c e s s   l o g g i n g   i s   e n a b l e d   i f   y o u   s e t   t h e   a n n o t a t i o n   t o   \" t r u e \" .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23299"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-access-log-s3-bucket-name (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - a c c e s s - l o g - e n a b l e d :   e x a m p l e   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   t h e   l o a d   b a l a n c e r   f o r   a   S e r v i c e   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   l o a d   b a l a n c e r   w r i t e s   l o g s   t o   a n   S 3   b u c k e t   w i t h   t h e   n a m e   y o u   s p e c i f y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23300"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-access-log-s3-bucket-prefix (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - a c c e s s - l o g - e n a b l e d :   \" / e x a m p l e \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   t h e   l o a d   b a l a n c e r   f o r   a   S e r v i c e   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   l o a d   b a l a n c e r   w r i t e s   l o g   o b j e c t s   w i t h   t h e   p r e f i x   t h a t   y o u   s p e c i f y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23301"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-additional-resource-tags (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - a d d i t i o n a l - r e s o u r c e - t a g s :   \" E n v i r o n m e n t = d e m o , P r o j e c t = e x a m p l e \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   t a g s   ( a n   A W S   c o n c e p t )   f o r   a   l o a d   b a l a n c e r   b a s e d   o n   t h e   c o m m a - s e p a r a t e d   k e y / v a l u e   p a i r s   i n   t h e   v a l u e   o f   t h i s   a n n o t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23302"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-alpn-policy (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - a l p n - p o l i c y :   H T T P 2 O p t i o n a l   U s e d   o n :   S e r v i c e   T h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   u s e s   t h i s   a n n o t a t i o n .   S e e   a n n o t a t i o n s   i n   t h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23303"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-attributes (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - a t t r i b u t e s :   \" d e l e t i o n _ p r o t e c t i o n . e n a b l e d = t r u e \"   U s e d   o n :   S e r v i c e   T h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   u s e s   t h i s   a n n o t a t i o n .   S e e   a n n o t a t i o n s   i n   t h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23304"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-backend-protocol (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - b a c k e n d - p r o t o c o l :   t c p   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   t h e   l o a d   b a l a n c e r   l i s t e n e r   b a s e d   o n   t h e   v a l u e   o f   t h i s   a n n o t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23305"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-connection-draining-enabled (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - c o n n e c t i o n - d r a i n i n g - e n a b l e d :   \" f a l s e \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   t h e   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   l o a d   b a l a n c e r ' s   c o n n e c t i o n   d r a i n i n g   s e t t i n g   d e p e n d s   o n   t h e   v a l u e   y o u   s e t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23306"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-connection-draining-timeout (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - c o n n e c t i o n - d r a i n i n g - t i m e o u t :   \" 6 0 \"   U s e d   o n :   S e r v i c e   I f   y o u   c o n f i g u r e   c o n n e c t i o n   d r a i n i n g   f o r   a   S e r v i c e   o f   t y p e :   L o a d B a l a n c e r ,   a n d   y o u   u s e   t h e   A W S   c l o u d ,   t h e   i n t e g r a t i o n   c o n f i g u r e s   t h e   d r a i n i n g   p e r i o d   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   v a l u e   y o u   s e t   d e t e r m i n e s   t h e   d r a i n i n g   t i m e o u t   i n   s e c o n d s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23307"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-ip-address-type (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - i p - a d d r e s s - t y p e :   i p v 4   U s e d   o n :   S e r v i c e   T h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   u s e s   t h i s   a n n o t a t i o n .   S e e   a n n o t a t i o n s   i n   t h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23308"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - c o n n e c t i o n - i d l e - t i m e o u t :   \" 6 0 \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   a   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   l o a d   b a l a n c e r   h a s   a   c o n f i g u r e d   i d l e   t i m e o u t   p e r i o d   ( i n   s e c o n d s )   t h a t   a p p l i e s   t o   i t s   c o n n e c t i o n s .   I f   n o   d a t a   h a s   b e e n   s e n t   o r   r e c e i v e d   b y   t h e   t i m e   t h a t   t h e   i d l e   t i m e o u t   p e r i o d   e l a p s e s ,   t h e   l o a d   b a l a n c e r   c l o s e s   t h e   c o n n e c t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23309"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-cross-zone-load-balancing-enabled (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - c r o s s - z o n e - l o a d - b a l a n c i n g - e n a b l e d :   \" t r u e \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   a   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   I f   y o u   s e t   t h i s   a n n o t a t i o n   t o   \" t r u e \" ,   e a c h   l o a d   b a l a n c e r   n o d e   d i s t r i b u t e s   r e q u e s t s   e v e n l y   a c r o s s   t h e   r e g i s t e r e d   t a r g e t s   i n   a l l   e n a b l e d   a v a i l a b i l i t y   z o n e s .   I f   y o u   d i s a b l e   c r o s s - z o n e   l o a d   b a l a n c i n g ,   e a c h   l o a d   b a l a n c e r   n o d e   d i s t r i b u t e s   r e q u e s t s   e v e n l y   a c r o s s   t h e   r e g i s t e r e d   t a r g e t s   i n   i t s   a v a i l a b i l i t y   z o n e   o n l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23310"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-eip-allocations (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - e i p - a l l o c a t i o n s :   \" e i p a l l o c - 0 1 b c d e f 2 3 b c d e f 4 5 6 , e i p a l l o c - d e f 1 2 3 4 a b c 4 5 6 7 8 9 0 \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   a   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   v a l u e   i s   a   c o m m a - s e p a r a t e d   l i s t   o f   e l a s t i c   I P   a d d r e s s   a l l o c a t i o n   I D s .   T h i s   a n n o t a t i o n   i s   o n l y   r e l e v a n t   f o r   S e r v i c e s   o f   t y p e :   L o a d B a l a n c e r ,   w h e r e   t h e   l o a d   b a l a n c e r   i s   a n   A W S   N e t w o r k   L o a d   B a l a n c e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23311"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-extra-security-groups (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - e x t r a - s e c u r i t y - g r o u p s :   \" s g - 1 2 a b c d 3 4 5 6 , s g - 3 4 d c b a 6 5 4 3 \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   a   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   a n n o t a t i o n   v a l u e   i s   a   c o m m a - s e p a r a t e d   l i s t   o f   e x t r a   A W S   V P C   s e c u r i t y   g r o u p s   t o   c o n f i g u r e   f o r   t h e   l o a d   b a l a n c e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23312"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-healthcheck-healthy-threshold (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - h e a l t h c h e c k - h e a l t h y - t h r e s h o l d :   \" 3 \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   a   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   a n n o t a t i o n   v a l u e   s p e c i f i e s   t h e   n u m b e r   o f   s u c c e s s i v e   s u c c e s s f u l   h e a l t h   c h e c k s   r e q u i r e d   f o r   a   b a c k e n d   t o   b e   c o n s i d e r e d   h e a l t h y   f o r   t r a f f i c .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23313"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-healthcheck-interval (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - h e a l t h c h e c k - i n t e r v a l :   \" 3 0 \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   a   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   a n n o t a t i o n   v a l u e   s p e c i f i e s   t h e   i n t e r v a l ,   i n   s e c o n d s ,   b e t w e e n   h e a l t h   c h e c k   p r o b e s   m a d e   b y   t h e   l o a d   b a l a n c e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23314"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-healthcheck-path (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - h e a l t h c h e c k - p a t h :   / h e a l t h c h e c k   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   a   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   a n n o t a t i o n   v a l u e   d e t e r m i n e s   t h e   p a t h   p a r t   o f   t h e   U R L   t h a t   i s   u s e d   f o r   H T T P   h e a l t h   c h e c k s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23315"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-healthcheck-port (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - h e a l t h c h e c k - p o r t :   \" 2 4 \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   a   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   a n n o t a t i o n   v a l u e   d e t e r m i n e s   w h i c h   p o r t   t h e   l o a d   b a l a n c e r   c o n n e c t s   t o   w h e n   p e r f o r m i n g   h e a l t h   c h e c k s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23316"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-healthcheck-protocol (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - h e a l t h c h e c k - p r o t o c o l :   T C P   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   a   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   a n n o t a t i o n   v a l u e   d e t e r m i n e s   h o w   t h e   l o a d   b a l a n c e r   c h e c k s   t h e   h e a l t h   o f   b a c k e n d   t a r g e t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23317"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-healthcheck-timeout (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - h e a l t h c h e c k - t i m e o u t :   \" 3 \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   a   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   a n n o t a t i o n   v a l u e   s p e c i f i e s   t h e   n u m b e r   o f   s e c o n d s   b e f o r e   a   p r o b e   t h a t   h a s n ' t   y e t   s u c c e e d e d   i s   a u t o m a t i c a l l y   t r e a t e d   a s   h a v i n g   f a i l e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23318"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-healthcheck-unhealthy-threshold (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - h e a l t h c h e c k - u n h e a l t h y - t h r e s h o l d :   \" 3 \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   a   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   a n n o t a t i o n   v a l u e   s p e c i f i e s   t h e   n u m b e r   o f   s u c c e s s i v e   u n s u c c e s s f u l   h e a l t h   c h e c k s   r e q u i r e d   f o r   a   b a c k e n d   t o   b e   c o n s i d e r e d   u n h e a l t h y   f o r   t r a f f i c .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23319"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-internal (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - i n t e r n a l :   \" t r u e \"   U s e d   o n :   S e r v i c e   T h e   c l o u d   c o n t r o l l e r   m a n a g e r   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   a   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   W h e n   y o u   s e t   t h i s   a n n o t a t i o n   t o   \" t r u e \" ,   t h e   i n t e g r a t i o n   c o n f i g u r e s   a n   i n t e r n a l   l o a d   b a l a n c e r .   I f   y o u   u s e   t h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r ,   s e e   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - s c h e m e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23320"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-manage-backend-security-group-rules (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - m a n a g e - b a c k e n d - s e c u r i t y - g r o u p - r u l e s :   \" t r u e \"   U s e d   o n :   S e r v i c e   T h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   u s e s   t h i s   a n n o t a t i o n .   S e e   a n n o t a t i o n s   i n   t h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23321"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-name (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - n a m e :   m y - e l b   U s e d   o n :   S e r v i c e   I f   y o u   s e t   t h i s   a n n o t a t i o n   o n   a   S e r v i c e ,   a n d   y o u   a l s o   a n n o t a t e   t h a t   S e r v i c e   w i t h   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - t y p e :   \" e x t e r n a l \" ,   a n d   y o u   u s e   t h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   i n   y o u r   c l u s t e r ,   t h e n   t h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   s e t s   t h e   n a m e   o f   t h a t   l o a d   b a l a n c e r   t o   t h e   v a l u e   y o u   s e t   f o r   t h i s   a n n o t a t i o n .   S e e   a n n o t a t i o n s   i n   t h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23322"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-nlb-target-type (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - n l b - t a r g e t - t y p e :   \" t r u e \"   U s e d   o n :   S e r v i c e   T h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   u s e s   t h i s   a n n o t a t i o n .   S e e   a n n o t a t i o n s   i n   t h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23323"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-private-ipv4-addresses (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - p r i v a t e - i p v 4 - a d d r e s s e s :   \" 1 9 8 . 5 1 . 1 0 0 . 0 , 1 9 8 . 5 1 . 1 0 0 . 6 4 \"   U s e d   o n :   S e r v i c e   T h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   u s e s   t h i s   a n n o t a t i o n .   S e e   a n n o t a t i o n s   i n   t h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23324"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-proxy-protocol (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - p r o x y - p r o t o c o l :   \" * \"   U s e d   o n :   S e r v i c e   T h e   o f f i c i a l   K u b e r n e t e s   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   a   l o a d   b a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   o n l y   p e r m i t t e d   v a l u e   i s   \" * \" ,   w h i c h   i n d i c a t e s   t h a t   t h e   l o a d   b a l a n c e r   s h o u l d   w r a p   T C P   c o n n e c t i o n s   t o   t h e   b a c k e n d   P o d   w i t h   t h e   P R O X Y   p r o t o c o l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23325"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-scheme (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - s c h e m e :   i n t e r n a l   U s e d   o n :   S e r v i c e   T h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   u s e s   t h i s   a n n o t a t i o n .   S e e   a n n o t a t i o n s   i n   t h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23326"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-security-groups (deprecated)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - s e c u r i t y - g r o u p s :   \" s g - 5 3 f a e 9 3 f , s g - 8 7 2 5 g r 6 2 r \"   U s e d   o n :   S e r v i c e   T h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   u s e s   t h i s   a n n o t a t i o n   t o   s p e c i f y   a   c o m m a   s e p a r a t e d   l i s t   o f   s e c u r i t y   g r o u p s   y o u   w a n t   t o   a t t a c h   t o   a n   A W S   l o a d   b a l a n c e r .   B o t h   n a m e   a n d   I D   o f   s e c u r i t y   a r e   s u p p o r t e d   w h e r e   n a m e   m a t c h e s   a   N a m e   t a g ,   n o t   t h e   g r o u p N a m e   a t t r i b u t e .   W h e n   t h i s   a n n o t a t i o n   i s   a d d e d   t o   a   S e r v i c e ,   t h e   l o a d - b a l a n c e r   c o n t r o l l e r   a t t a c h e s   t h e   s e c u r i t y   g r o u p s   r e f e r e n c e d   b y   t h e   a n n o t a t i o n   t o   t h e   l o a d   b a l a n c e r .   I f   y o u   o m i t   t h i s   a n n o t a t i o n ,   t h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   a u t o m a t i c a l l y   c r e a t e s   a   n e w   s e c u r i t y   g r o u p   a n d   a t t a c h e s   i t   t o   t h e   l o a d   b a l a n c e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23327"
  },
  {
    "question": "What is service.beta.kubernetes.io/load-balancer-source-ranges (deprecated)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / l o a d - b a l a n c e r - s o u r c e - r a n g e s :   \" 1 9 2 . 0 . 2 . 0 / 2 5 \"   U s e d   o n :   S e r v i c e   T h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   u s e s   t h i s   a n n o t a t i o n .   Y o u   s h o u l d   s e t   . s p e c . l o a d B a l a n c e r S o u r c e R a n g e s   f o r   t h e   S e r v i c e   i n s t e a d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23328"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-ssl-cert (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - s s l - c e r t :   \" a r n : a w s : a c m : u s - e a s t - 1 : 1 2 3 4 5 6 7 8 9 0 1 2 : c e r t i f i c a t e / 1 2 3 4 5 6 7 8 - 1 2 3 4 - 1 2 3 4 - 1 2 3 4 - 1 2 3 4 5 6 7 8 9 0 1 2 \"   U s e d   o n :   S e r v i c e   T h e   o f f i c i a l   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   T L S   f o r   a   S e r v i c e   o f   t y p e :   L o a d B a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   v a l u e   o f   t h e   a n n o t a t i o n   i s   t h e   A W S   R e s o u r c e   N a m e   ( A R N )   o f   t h e   X . 5 0 9   c e r t i f i c a t e   t h a t   t h e   l o a d   b a l a n c e r   l i s t e n e r   s h o u l d   u s e .   ( T h e   T L S   p r o t o c o l   i s   b a s e d   o n   a n   o l d e r   t e c h n o l o g y   t h a t   a b b r e v i a t e s   t o   S S L . )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23329"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-ssl-negotiation-policy (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - s s l - n e g o t i a t i o n - p o l i c y :   E L B S e c u r i t y P o l i c y - T L S - 1 - 2 - 2 0 1 7 - 0 1   T h e   o f f i c i a l   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   T L S   f o r   a   S e r v i c e   o f   t y p e :   L o a d B a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   v a l u e   o f   t h e   a n n o t a t i o n   i s   t h e   n a m e   o f   a n   A W S   p o l i c y   f o r   n e g o t i a t i n g   T L S   w i t h   a   c l i e n t   p e e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23330"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-ssl-ports (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - s s l - p o r t s :   \" * \"   T h e   o f f i c i a l   i n t e g r a t i o n   w i t h   A W S   e l a s t i c   l o a d   b a l a n c i n g   c o n f i g u r e s   T L S   f o r   a   S e r v i c e   o f   t y p e :   L o a d B a l a n c e r   b a s e d   o n   t h i s   a n n o t a t i o n .   T h e   v a l u e   o f   t h e   a n n o t a t i o n   i s   e i t h e r   \" * \" ,   w h i c h   m e a n s   t h a t   a l l   t h e   l o a d   b a l a n c e r ' s   p o r t s   s h o u l d   u s e   T L S ,   o r   i t   i s   a   c o m m a   s e p a r a t e d   l i s t   o f   p o r t   n u m b e r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23331"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-subnets (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - s u b n e t s :   \" p r i v a t e - a , p r i v a t e - b \"   K u b e r n e t e s '   o f f i c i a l   i n t e g r a t i o n   w i t h   A W S   u s e s   t h i s   a n n o t a t i o n   t o   c o n f i g u r e   a   l o a d   b a l a n c e r   a n d   d e t e r m i n e   i n   w h i c h   A W S   a v a i l a b i l i t y   z o n e s   t o   d e p l o y   t h e   m a n a g e d   l o a d   b a l a n c i n g   s e r v i c e .   T h e   v a l u e   i s   e i t h e r   a   c o m m a   s e p a r a t e d   l i s t   o f   s u b n e t   n a m e s ,   o r   a   c o m m a   s e p a r a t e d   l i s t   o f   s u b n e t   I D s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23332"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-target-group-attributes (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - t a r g e t - g r o u p - a t t r i b u t e s :   \" s t i c k i n e s s . e n a b l e d = t r u e , s t i c k i n e s s . t y p e = s o u r c e _ i p \"   U s e d   o n :   S e r v i c e   T h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   u s e s   t h i s   a n n o t a t i o n .   S e e   a n n o t a t i o n s   i n   t h e   A W S   l o a d   b a l a n c e r   c o n t r o l l e r   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23333"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-target-node-labels (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - t a r g e t - n o d e - l a b e l s :   \" k u b e r n e t e s . i o / o s = L i n u x , t o p o l o g y . k u b e r n e t e s . i o / r e g i o n = u s - e a s t - 2 \"   K u b e r n e t e s '   o f f i c i a l   i n t e g r a t i o n   w i t h   A W S   u s e s   t h i s   a n n o t a t i o n   t o   d e t e r m i n e   w h i c h   n o d e s   i n   y o u r   c l u s t e r   s h o u l d   b e   c o n s i d e r e d   a s   v a l i d   t a r g e t s   f o r   t h e   l o a d   b a l a n c e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23334"
  },
  {
    "question": "What is service.beta.kubernetes.io/aws-load-balancer-type (beta)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - t y p e :   e x t e r n a l   K u b e r n e t e s '   o f f i c i a l   i n t e g r a t i o n s   w i t h   A W S   u s e   t h i s   a n n o t a t i o n   t o   d e t e r m i n e   w h e t h e r   t h e   A W S   c l o u d   p r o v i d e r   i n t e g r a t i o n   s h o u l d   m a n a g e   a   S e r v i c e   o f   t y p e :   L o a d B a l a n c e r .   T h e r e   a r e   t w o   p e r m i t t e d   v a l u e s :   I f   y o u   d e p l o y   a   S e r v i c e   o f   t y p e :   L o a d B a l a n c e r   o n   A W S ,   a n d   y o u   d o n ' t   s e t   a n y   s e r v i c e . b e t a . k u b e r n e t e s . i o / a w s - l o a d - b a l a n c e r - t y p e   a n n o t a t i o n ,   t h e   A W S   i n t e g r a t i o n   d e p l o y s   a   c l a s s i c   E l a s t i c   L o a d   B a l a n c e r .   T h i s   b e h a v i o r ,   w i t h   n o   a n n o t a t i o n   p r e s e n t ,   i s   t h e   d e f a u l t   u n l e s s   y o u   s p e c i f y   o t h e r w i s e .   W h e n   y o u   s e t   t h i s   a n n o t a t i o n   t o   e x t e r n a l   o n   a   S e r v i c e   o f   t y p e :   L o a d B a l a n c e r ,   a n d   y o u r   c l u s t e r   h a s   a   w o r k i n g   d e p l o y m e n t   o f   t h e   A W S   L o a d   B a l a n c e r   c o n t r o l l e r ,   t h e n   t h e   A W S   L o a d   B a l a n c e r   c o n t r o l l e r   a t t e m p t s   t o   d e p l o y   a   l o a d   b a l a n c e r   b a s e d   o n   t h e   S e r v i c e   s p e c i f i c a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23335"
  },
  {
    "question": "What is service.beta.kubernetes.io/azure-load-balancer-disable-tcp-reset (deprecated)?",
    "answer": "E x a m p l e :   s e r v i c e . b e t a . k u b e r n e t e s . i o / a z u r e - l o a d - b a l a n c e r - d i s a b l e - t c p - r e s e t :   \" f a l s e \"   U s e d   o n :   S e r v i c e   T h i s   a n n o t a t i o n   o n l y   w o r k s   f o r   A z u r e   s t a n d a r d   l o a d   b a l a n c e r   b a c k e d   s e r v i c e .   T h i s   a n n o t a t i o n   i s   u s e d   o n   t h e   S e r v i c e   t o   s p e c i f y   w h e t h e r   t h e   l o a d   b a l a n c e r   s h o u l d   d i s a b l e   o r   e n a b l e   T C P   r e s e t   o n   i d l e   t i m e o u t .   I f   e n a b l e d ,   i t   h e l p s   a p p l i c a t i o n s   t o   b e h a v e   m o r e   p r e d i c t a b l y ,   t o   d e t e c t   t h e   t e r m i n a t i o n   o f   a   c o n n e c t i o n ,   r e m o v e   e x p i r e d   c o n n e c t i o n s   a n d   i n i t i a t e   n e w   c o n n e c t i o n s .   Y o u   c a n   s e t   t h e   v a l u e   t o   b e   e i t h e r   t r u e   o r   f a l s e .   S e e   L o a d   B a l a n c e r   T C P   R e s e t   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23336"
  },
  {
    "question": "What is pod-security.kubernetes.io/enforce?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e :   \" b a s e l i n e \"   U s e d   o n :   N a m e s p a c e   V a l u e   m u s t   b e   o n e   o f   p r i v i l e g e d ,   b a s e l i n e ,   o r   r e s t r i c t e d   w h i c h   c o r r e s p o n d   t o   P o d   S e c u r i t y   S t a n d a r d   l e v e l s .   S p e c i f i c a l l y ,   t h e   e n f o r c e   l a b e l   p r o h i b i t s   t h e   c r e a t i o n   o f   a n y   P o d   i n   t h e   l a b e l e d   N a m e s p a c e   w h i c h   d o e s   n o t   m e e t   t h e   r e q u i r e m e n t s   o u t l i n e d   i n   t h e   i n d i c a t e d   l e v e l .   S e e   E n f o r c i n g   P o d   S e c u r i t y   a t   t h e   N a m e s p a c e   L e v e l   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23337"
  },
  {
    "question": "What is pod-security.kubernetes.io/enforce-version?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e - v e r s i o n :   \" 1 . 3 4 \"   U s e d   o n :   N a m e s p a c e   V a l u e   m u s t   b e   l a t e s t   o r   a   v a l i d   K u b e r n e t e s   v e r s i o n   i n   t h e   f o r m a t   v < m a j o r > . < m i n o r > .   T h i s   d e t e r m i n e s   t h e   v e r s i o n   o f   t h e   P o d   S e c u r i t y   S t a n d a r d   p o l i c i e s   t o   a p p l y   w h e n   v a l i d a t i n g   a   P o d .   S e e   E n f o r c i n g   P o d   S e c u r i t y   a t   t h e   N a m e s p a c e   L e v e l   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23338"
  },
  {
    "question": "What is pod-security.kubernetes.io/audit?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   p o d - s e c u r i t y . k u b e r n e t e s . i o / a u d i t :   \" b a s e l i n e \"   U s e d   o n :   N a m e s p a c e   V a l u e   m u s t   b e   o n e   o f   p r i v i l e g e d ,   b a s e l i n e ,   o r   r e s t r i c t e d   w h i c h   c o r r e s p o n d   t o   P o d   S e c u r i t y   S t a n d a r d   l e v e l s .   S p e c i f i c a l l y ,   t h e   a u d i t   l a b e l   d o e s   n o t   p r e v e n t   t h e   c r e a t i o n   o f   a   P o d   i n   t h e   l a b e l e d   N a m e s p a c e   w h i c h   d o e s   n o t   m e e t   t h e   r e q u i r e m e n t s   o u t l i n e d   i n   t h e   i n d i c a t e d   l e v e l ,   b u t   a d d s   a n   t h i s   a n n o t a t i o n   t o   t h e   P o d .   S e e   E n f o r c i n g   P o d   S e c u r i t y   a t   t h e   N a m e s p a c e   L e v e l   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23339"
  },
  {
    "question": "What is pod-security.kubernetes.io/audit-version?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   p o d - s e c u r i t y . k u b e r n e t e s . i o / a u d i t - v e r s i o n :   \" 1 . 3 4 \"   U s e d   o n :   N a m e s p a c e   V a l u e   m u s t   b e   l a t e s t   o r   a   v a l i d   K u b e r n e t e s   v e r s i o n   i n   t h e   f o r m a t   v < m a j o r > . < m i n o r > .   T h i s   d e t e r m i n e s   t h e   v e r s i o n   o f   t h e   P o d   S e c u r i t y   S t a n d a r d   p o l i c i e s   t o   a p p l y   w h e n   v a l i d a t i n g   a   P o d .   S e e   E n f o r c i n g   P o d   S e c u r i t y   a t   t h e   N a m e s p a c e   L e v e l   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23340"
  },
  {
    "question": "What is pod-security.kubernetes.io/warn?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   p o d - s e c u r i t y . k u b e r n e t e s . i o / w a r n :   \" b a s e l i n e \"   U s e d   o n :   N a m e s p a c e   V a l u e   m u s t   b e   o n e   o f   p r i v i l e g e d ,   b a s e l i n e ,   o r   r e s t r i c t e d   w h i c h   c o r r e s p o n d   t o   P o d   S e c u r i t y   S t a n d a r d   l e v e l s .   S p e c i f i c a l l y ,   t h e   w a r n   l a b e l   d o e s   n o t   p r e v e n t   t h e   c r e a t i o n   o f   a   P o d   i n   t h e   l a b e l e d   N a m e s p a c e   w h i c h   d o e s   n o t   m e e t   t h e   r e q u i r e m e n t s   o u t l i n e d   i n   t h e   i n d i c a t e d   l e v e l ,   b u t   r e t u r n s   a   w a r n i n g   t o   t h e   u s e r   a f t e r   d o i n g   s o .   N o t e   t h a t   w a r n i n g s   a r e   a l s o   d i s p l a y e d   w h e n   c r e a t i n g   o r   u p d a t i n g   o b j e c t s   t h a t   c o n t a i n   P o d   t e m p l a t e s ,   s u c h   a s   D e p l o y m e n t s ,   J o b s ,   S t a t e f u l S e t s ,   e t c .   S e e   E n f o r c i n g   P o d   S e c u r i t y   a t   t h e   N a m e s p a c e   L e v e l   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23341"
  },
  {
    "question": "What is pod-security.kubernetes.io/warn-version?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   p o d - s e c u r i t y . k u b e r n e t e s . i o / w a r n - v e r s i o n :   \" 1 . 3 4 \"   U s e d   o n :   N a m e s p a c e   V a l u e   m u s t   b e   l a t e s t   o r   a   v a l i d   K u b e r n e t e s   v e r s i o n   i n   t h e   f o r m a t   v < m a j o r > . < m i n o r > .   T h i s   d e t e r m i n e s   t h e   v e r s i o n   o f   t h e   P o d   S e c u r i t y   S t a n d a r d   p o l i c i e s   t o   a p p l y   w h e n   v a l i d a t i n g   a   s u b m i t t e d   P o d .   N o t e   t h a t   w a r n i n g s   a r e   a l s o   d i s p l a y e d   w h e n   c r e a t i n g   o r   u p d a t i n g   o b j e c t s   t h a t   c o n t a i n   P o d   t e m p l a t e s ,   s u c h   a s   D e p l o y m e n t s ,   J o b s ,   S t a t e f u l S e t s ,   e t c .   S e e   E n f o r c i n g   P o d   S e c u r i t y   a t   t h e   N a m e s p a c e   L e v e l   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23342"
  },
  {
    "question": "What is rbac.authorization.kubernetes.io/autoupdate?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   r b a c . a u t h o r i z a t i o n . k u b e r n e t e s . i o / a u t o u p d a t e :   \" f a l s e \"   U s e d   o n :   C l u s t e r R o l e ,   C l u s t e r R o l e B i n d i n g ,   R o l e ,   R o l e B i n d i n g   W h e n   t h i s   a n n o t a t i o n   i s   s e t   t o   \" t r u e \"   o n   d e f a u l t   R B A C   o b j e c t s   c r e a t e d   b y   t h e   A P I   s e r v e r ,   t h e y   a r e   a u t o m a t i c a l l y   u p d a t e d   a t   s e r v e r   s t a r t   t o   a d d   m i s s i n g   p e r m i s s i o n s   a n d   s u b j e c t s   ( e x t r a   p e r m i s s i o n s   a n d   s u b j e c t s   a r e   l e f t   i n   p l a c e ) .   T o   p r e v e n t   a u t o u p d a t i n g   a   p a r t i c u l a r   r o l e   o r   r o l e b i n d i n g ,   s e t   t h i s   a n n o t a t i o n   t o   \" f a l s e \" .   I f   y o u   c r e a t e   y o u r   o w n   R B A C   o b j e c t s   a n d   s e t   t h i s   a n n o t a t i o n   t o   \" f a l s e \" ,   k u b e c t l   a u t h   r e c o n c i l e   ( w h i c h   a l l o w s   r e c o n c i l i n g   a r b i t r a r y   R B A C   o b j e c t s   i n   a   m a n i f e s t )   r e s p e c t s   t h i s   a n n o t a t i o n   a n d   d o e s   n o t   a u t o m a t i c a l l y   a d d   m i s s i n g   p e r m i s s i o n s   a n d   s u b j e c t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23343"
  },
  {
    "question": "What is kubernetes.io/psp (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e r n e t e s . i o / p s p :   r e s t r i c t e d   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   w a s   o n l y   r e l e v a n t   i f   y o u   w e r e   u s i n g   P o d S e c u r i t y P o l i c y   o b j e c t s .   K u b e r n e t e s   v 1 . 3 4   d o e s   n o t   s u p p o r t   t h e   P o d S e c u r i t y P o l i c y   A P I .   W h e n   t h e   P o d S e c u r i t y P o l i c y   a d m i s s i o n   c o n t r o l l e r   a d m i t t e d   a   P o d ,   t h e   a d m i s s i o n   c o n t r o l l e r   m o d i f i e d   t h e   P o d   t o   h a v e   t h i s   a n n o t a t i o n .   T h e   v a l u e   o f   t h e   a n n o t a t i o n   w a s   t h e   n a m e   o f   t h e   P o d S e c u r i t y P o l i c y   t h a t   w a s   u s e d   f o r   v a l i d a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23344"
  },
  {
    "question": "What is seccomp.security.alpha.kubernetes.io/pod (non-functional)?",
    "answer": "T y p e :   A n n o t a t i o n   U s e d   o n :   P o d   K u b e r n e t e s   b e f o r e   v 1 . 2 5   a l l o w e d   y o u   t o   c o n f i g u r e   s e c c o m p   b e h a v i o r   u s i n g   t h i s   a n n o t a t i o n .   S e e   R e s t r i c t   a   C o n t a i n e r ' s   S y s c a l l s   w i t h   s e c c o m p   t o   l e a r n   t h e   s u p p o r t e d   w a y   t o   s p e c i f y   s e c c o m p   r e s t r i c t i o n s   f o r   a   P o d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23345"
  },
  {
    "question": "What is container.seccomp.security.alpha.kubernetes.io/[NAME] (non-functional)?",
    "answer": "T y p e :   A n n o t a t i o n   U s e d   o n :   P o d   K u b e r n e t e s   b e f o r e   v 1 . 2 5   a l l o w e d   y o u   t o   c o n f i g u r e   s e c c o m p   b e h a v i o r   u s i n g   t h i s   a n n o t a t i o n .   S e e   R e s t r i c t   a   C o n t a i n e r ' s   S y s c a l l s   w i t h   s e c c o m p   t o   l e a r n   t h e   s u p p o r t e d   w a y   t o   s p e c i f y   s e c c o m p   r e s t r i c t i o n s   f o r   a   P o d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23346"
  },
  {
    "question": "What is snapshot.storage.kubernetes.io/allow-volume-mode-change?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   s n a p s h o t . s t o r a g e . k u b e r n e t e s . i o / a l l o w - v o l u m e - m o d e - c h a n g e :   \" t r u e \"   U s e d   o n :   V o l u m e S n a p s h o t C o n t e n t   V a l u e   c a n   e i t h e r   b e   t r u e   o r   f a l s e .   T h i s   d e t e r m i n e s   w h e t h e r   a   u s e r   c a n   m o d i f y   t h e   m o d e   o f   t h e   s o u r c e   v o l u m e   w h e n   a   P e r s i s t e n t V o l u m e C l a i m   i s   b e i n g   c r e a t e d   f r o m   a   V o l u m e S n a p s h o t .   R e f e r   t o   C o n v e r t i n g   t h e   v o l u m e   m o d e   o f   a   S n a p s h o t   a n d   t h e   K u b e r n e t e s   C S I   D e v e l o p e r   D o c u m e n t a t i o n   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23347"
  },
  {
    "question": "What is scheduler.alpha.kubernetes.io/critical-pod (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   s c h e d u l e r . a l p h a . k u b e r n e t e s . i o / c r i t i c a l - p o d :   \" \"   U s e d   o n :   P o d   T h i s   a n n o t a t i o n   l e t s   K u b e r n e t e s   c o n t r o l   p l a n e   k n o w   a b o u t   a   P o d   b e i n g   a   c r i t i c a l   P o d   s o   t h a t   t h e   d e s c h e d u l e r   w i l l   n o t   r e m o v e   t h i s   P o d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23348"
  },
  {
    "question": "What is jobset.sigs.k8s.io/jobset-name?",
    "answer": "T y p e :   L a b e l ,   A n n o t a t i o n   E x a m p l e :   j o b s e t . s i g s . k 8 s . i o / j o b s e t - n a m e :   \" m y - j o b s e t \"   U s e d   o n :   J o b s ,   P o d s   T h i s   l a b e l / a n n o t a t i o n   i s   u s e d   t o   s t o r e   t h e   n a m e   o f   t h e   J o b S e t   t h a t   a   J o b   o r   P o d   b e l o n g s   t o .   J o b S e t   i s   a n   e x t e n s i o n   A P I   t h a t   y o u   c a n   d e p l o y   i n t o   y o u r   K u b e r n e t e s   c l u s t e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23349"
  },
  {
    "question": "What is jobset.sigs.k8s.io/replicatedjob-replicas?",
    "answer": "T y p e :   L a b e l ,   A n n o t a t i o n   E x a m p l e :   j o b s e t . s i g s . k 8 s . i o / r e p l i c a t e d j o b - r e p l i c a s :   \" 5 \"   U s e d   o n :   J o b s ,   P o d s   T h i s   l a b e l / a n n o t a t i o n   s p e c i f i e s   t h e   n u m b e r   o f   r e p l i c a s   f o r   a   R e p l i c a t e d J o b .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23350"
  },
  {
    "question": "What is jobset.sigs.k8s.io/replicatedjob-name?",
    "answer": "T y p e :   L a b e l ,   A n n o t a t i o n   E x a m p l e :   j o b s e t . s i g s . k 8 s . i o / r e p l i c a t e d j o b - n a m e :   \" m y - r e p l i c a t e d j o b \"   U s e d   o n :   J o b s ,   P o d s   T h i s   l a b e l   o r   a n n o t a t i o n   s t o r e s   t h e   n a m e   o f   t h e   r e p l i c a t e d   j o b   t h a t   t h i s   J o b   o r   P o d   i s   p a r t   o f .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23351"
  },
  {
    "question": "What is jobset.sigs.k8s.io/job-index?",
    "answer": "T y p e :   L a b e l ,   A n n o t a t i o n   E x a m p l e :   j o b s e t . s i g s . k 8 s . i o / j o b - i n d e x :   \" 0 \"   U s e d   o n :   J o b s ,   P o d s   T h i s   l a b e l / a n n o t a t i o n   i s   s e t   b y   t h e   J o b S e t   c o n t r o l l e r   o n   c h i l d   J o b s   a n d   P o d s .   I t   c o n t a i n s   t h e   i n d e x   o f   t h e   J o b   r e p l i c a   w i t h i n   i t s   p a r e n t   R e p l i c a t e d J o b .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23352"
  },
  {
    "question": "What is jobset.sigs.k8s.io/job-key?",
    "answer": "T y p e :   L a b e l ,   A n n o t a t i o n   E x a m p l e :   j o b s e t . s i g s . k 8 s . i o / j o b - k e y :   \" 0 f 1 e 9 3 8 9 3 c 4 c b 3 7 2 0 8 0 8 0 4 d d b 9 1 5 3 0 9 3 c b 0 d 2 0 c e f d d 3 7 f 6 5 3 e 7 3 9 c 2 3 2 d 3 6 3 f e b \"   U s e d   o n :   J o b s ,   P o d s   T h e   J o b S e t   c o n t r o l l e r   s e t s   t h i s   l a b e l   ( a n d   a l s o   a n   a n n o t a t i o n   w i t h   t h e   s a m e   k e y )   o n   c h i l d   J o b s   a n d   P o d s   o f   a   J o b S e t .   T h e   v a l u e   i s   t h e   S H A 2 5 6   h a s h   o f   t h e   n a m e s p a c e d   J o b   n a m e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23353"
  },
  {
    "question": "What is alpha.jobset.sigs.k8s.io/exclusive-topology?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   a l p h a . j o b s e t . s i g s . k 8 s . i o / e x c l u s i v e - t o p o l o g y :   \" z o n e \"   U s e d   o n :   J o b S e t s ,   J o b s   Y o u   c a n   s e t   t h i s   l a b e l / a n n o t a t i o n   o n   a   J o b S e t   t o   e n s u r e   e x c l u s i v e   J o b   p l a c e m e n t   p e r   t o p o l o g y   g r o u p .   Y o u   c a n   a l s o   d e f i n e   t h i s   l a b e l   o r   a n n o t a t i o n   o n   a   r e p l i c a t e d   j o b   t e m p l a t e .   R e a d   t h e   d o c u m e n t a t i o n   f o r   J o b S e t   t o   l e a r n   m o r e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23354"
  },
  {
    "question": "What is alpha.jobset.sigs.k8s.io/node-selector?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   a l p h a . j o b s e t . s i g s . k 8 s . i o / n o d e - s e l e c t o r :   \" t r u e \"   U s e d   o n :   J o b s ,   P o d s   T h i s   l a b e l / a n n o t a t i o n   c a n   b e   a p p l i e d   t o   a   J o b S e t .   W h e n   i t ' s   s e t ,   t h e   J o b S e t   c o n t r o l l e r   m o d i f i e s   t h e   J o b s   a n d   t h e i r   c o r r e s p o n d i n g   P o d s   b y   a d d i n g   n o d e   s e l e c t o r s   a n d   t o l e r a t i o n s .   T h i s   e n s u r e s   e x c l u s i v e   j o b   p l a c e m e n t   p e r   t o p o l o g y   d o m a i n ,   r e s t r i c t i n g   t h e   s c h e d u l i n g   o f   t h e s e   P o d s   t o   s p e c i f i c   n o d e s   b a s e d   o n   t h e   s t r a t e g y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23355"
  },
  {
    "question": "What is alpha.jobset.sigs.k8s.io/namespaced-job?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   a l p h a . j o b s e t . s i g s . k 8 s . i o / n a m e s p a c e d - j o b :   \" d e f a u l t _ m y j o b s e t - r e p l i c a t e d j o b - 0 \"   U s e d   o n :   N o d e s   T h i s   l a b e l   i s   e i t h e r   s e t   m a n u a l l y   o r   a u t o m a t i c a l l y   ( f o r   e x a m p l e ,   a   c l u s t e r   a u t o s c a l e r )   o n   t h e   n o d e s .   W h e n   a l p h a . j o b s e t . s i g s . k 8 s . i o / n o d e - s e l e c t o r   i s   s e t   t o   \" t r u e \" ,   t h e   J o b S e t   c o n t r o l l e r   a d d s   a   n o d e S e l e c t o r   t o   t h i s   n o d e   l a b e l   ( a l o n g   w i t h   t h e   t o l e r a t i o n   t o   t h e   t a i n t   a l p h a . j o b s e t . s i g s . k 8 s . i o / n o - s c h e d u l e   d i s c u s s e d   n e x t ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23356"
  },
  {
    "question": "What is alpha.jobset.sigs.k8s.io/no-schedule?",
    "answer": "T y p e :   T a i n t   E x a m p l e :   a l p h a . j o b s e t . s i g s . k 8 s . i o / n o - s c h e d u l e :   \" N o S c h e d u l e \"   U s e d   o n :   N o d e s   T h i s   t a i n t   i s   e i t h e r   s e t   m a n u a l l y   o r   a u t o m a t i c a l l y   ( f o r   e x a m p l e ,   a   c l u s t e r   a u t o s c a l e r )   o n   t h e   n o d e s .   W h e n   a l p h a . j o b s e t . s i g s . k 8 s . i o / n o d e - s e l e c t o r   i s   s e t   t o   \" t r u e \" ,   t h e   J o b S e t   c o n t r o l l e r   a d d s   a   t o l e r a t i o n   t o   t h i s   n o d e   t a i n t   ( a l o n g   w i t h   t h e   n o d e   s e l e c t o r   t o   t h e   l a b e l   a l p h a . j o b s e t . s i g s . k 8 s . i o / n a m e s p a c e d - j o b   d i s c u s s e d   p r e v i o u s l y ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23357"
  },
  {
    "question": "What is jobset.sigs.k8s.io/coordinator?",
    "answer": "T y p e :   A n n o t a t i o n ,   L a b e l   E x a m p l e :   j o b s e t . s i g s . k 8 s . i o / c o o r d i n a t o r :   \" m y j o b s e t - w o r k e r s - 0 - 0 . h e a d l e s s - s v c \"   U s e d   o n :   J o b s ,   P o d s   T h i s   a n n o t a t i o n / l a b e l   i s   u s e d   o n   J o b s   a n d   P o d s   t o   s t o r e   a   s t a b l e   n e t w o r k   e n d p o i n t   w h e r e   t h e   c o o r d i n a t o r   p o d   c a n   b e   r e a c h e d   i f   t h e   J o b S e t   s p e c   d e f i n e s   t h e   . s p e c . c o o r d i n a t o r   f i e l d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23358"
  },
  {
    "question": "What is Annotations used for audit?",
    "answer": "a u t h o r i z a t i o n . k 8 s . i o / d e c i s i o n a u t h o r i z a t i o n . k 8 s . i o / r e a s o n i n s e c u r e - s h a 1 . i n v a l i d - c e r t . k u b e r n e t e s . i o / $ h o s t n a m e m i s s i n g - s a n . i n v a l i d - c e r t . k u b e r n e t e s . i o / $ h o s t n a m e p o d - s e c u r i t y . k u b e r n e t e s . i o / a u d i t - v i o l a t i o n s p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e - p o l i c y p o d - s e c u r i t y . k u b e r n e t e s . i o / e x e m p t v a l i d a t i o n . p o l i c y . a d m i s s i o n . k 8 s . i o / v a l i d a t i o n _ f a i l u r e   S e e   m o r e   d e t a i l s   o n   A u d i t   A n n o t a t i o n s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23359"
  },
  {
    "question": "What is kubeadm.alpha.kubernetes.io/cri-socket (deprecated)?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e a d m . a l p h a . k u b e r n e t e s . i o / c r i - s o c k e t :   u n i x : / / / r u n / c o n t a i n e r d / c o n t a i n e r . s o c k   U s e d   o n :   N o d e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23360"
  },
  {
    "question": "What is kubeadm.kubernetes.io/etcd.advertise-client-urls?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e a d m . k u b e r n e t e s . i o / e t c d . a d v e r t i s e - c l i e n t - u r l s :   h t t p s : / / 1 7 2 . 1 7 . 0 . 1 8 : 2 3 7 9   U s e d   o n :   P o d   A n n o t a t i o n   t h a t   k u b e a d m   p l a c e s   o n   l o c a l l y   m a n a g e d   e t c d   P o d s   t o   k e e p   t r a c k   o f   a   l i s t   o f   U R L s   w h e r e   e t c d   c l i e n t s   s h o u l d   c o n n e c t   t o .   T h i s   i s   u s e d   m a i n l y   f o r   e t c d   c l u s t e r   h e a l t h   c h e c k   p u r p o s e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23361"
  },
  {
    "question": "What is kubeadm.kubernetes.io/kube-apiserver.advertise-address.endpoint?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e a d m . k u b e r n e t e s . i o / k u b e - a p i s e r v e r . a d v e r t i s e - a d d r e s s . e n d p o i n t :   h t t p s : / / 1 7 2 . 1 7 . 0 . 1 8 : 6 4 4 3   U s e d   o n :   P o d   A n n o t a t i o n   t h a t   k u b e a d m   p l a c e s   o n   l o c a l l y   m a n a g e d   k u b e - a p i s e r v e r   P o d s   t o   k e e p   t r a c k   o f   t h e   e x p o s e d   a d v e r t i s e   a d d r e s s / p o r t   e n d p o i n t   f o r   t h a t   A P I   s e r v e r   i n s t a n c e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23362"
  },
  {
    "question": "What is kubeadm.kubernetes.io/component-config.hash?",
    "answer": "T y p e :   A n n o t a t i o n   E x a m p l e :   k u b e a d m . k u b e r n e t e s . i o / c o m p o n e n t - c o n f i g . h a s h :   2 c 2 6 b 4 6 b 6 8 f f c 6 8 f f 9 9 b 4 5 3 c 1 d 3 0 4 1 3 4 1 3 4 2 2 d 7 0 6 4 8 3 b f a 0 f 9 8 a 5 e 8 8 6 2 6 6 e 7 a e   U s e d   o n :   C o n f i g M a p   A n n o t a t i o n   t h a t   k u b e a d m   p l a c e s   o n   C o n f i g M a p s   t h a t   i t   m a n a g e s   f o r   c o n f i g u r i n g   c o m p o n e n t s .   I t   c o n t a i n s   a   h a s h   ( S H A - 2 5 6 )   u s e d   t o   d e t e r m i n e   i f   t h e   u s e r   h a s   a p p l i e d   s e t t i n g s   d i f f e r e n t   f r o m   t h e   k u b e a d m   d e f a u l t s   f o r   a   p a r t i c u l a r   c o m p o n e n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23363"
  },
  {
    "question": "What is node-role.kubernetes.io/control-plane?",
    "answer": "T y p e :   L a b e l   U s e d   o n :   N o d e   A   m a r k e r   l a b e l   t o   i n d i c a t e   t h a t   t h e   n o d e   i s   u s e d   t o   r u n   c o n t r o l   p l a n e   c o m p o n e n t s .   T h e   k u b e a d m   t o o l   a p p l i e s   t h i s   l a b e l   t o   t h e   c o n t r o l   p l a n e   n o d e s   t h a t   i t   m a n a g e s .   O t h e r   c l u s t e r   m a n a g e m e n t   t o o l s   t y p i c a l l y   a l s o   s e t   t h i s   t a i n t .   Y o u   c a n   l a b e l   c o n t r o l   p l a n e   n o d e s   w i t h   t h i s   l a b e l   t o   m a k e   i t   e a s i e r   t o   s c h e d u l e   P o d s   o n l y   o n t o   t h e s e   n o d e s ,   o r   t o   a v o i d   r u n n i n g   P o d s   o n   t h e   c o n t r o l   p l a n e .   I f   t h i s   l a b e l   i s   s e t ,   t h e   E n d p o i n t S l i c e   c o n t r o l l e r   i g n o r e s   t h a t   n o d e   w h i l e   c a l c u l a t i n g   T o p o l o g y   A w a r e   H i n t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23364"
  },
  {
    "question": "What is node-role.kubernetes.io/*?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   n o d e - r o l e . k u b e r n e t e s . i o / g p u :   g p u   U s e d   o n :   N o d e   T h i s   o p t i o n a l   l a b e l   i s   a p p l i e d   t o   a   n o d e   w h e n   y o u   w a n t   t o   m a r k   a   n o d e   r o l e .   T h e   n o d e   r o l e   ( t e x t   f o l l o w i n g   /   i n   t h e   l a b e l   k e y )   c a n   b e   s e t ,   a s   l o n g   a s   t h e   o v e r a l l   k e y   f o l l o w s   t h e   s y n t a x   r u l e s   f o r   o b j e c t   l a b e l s .   K u b e r n e t e s   d e f i n e s   o n e   s p e c i f i c   n o d e   r o l e ,   c o n t r o l - p l a n e .   A   l a b e l   y o u   c a n   u s e   t o   m a r k   t h a t   n o d e   r o l e   i s   n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23365"
  },
  {
    "question": "What is node-role.kubernetes.io/control-plane?",
    "answer": "T y p e :   T a i n t   E x a m p l e :   n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e : N o S c h e d u l e   U s e d   o n :   N o d e   T a i n t   t h a t   k u b e a d m   a p p l i e s   o n   c o n t r o l   p l a n e   n o d e s   t o   r e s t r i c t   p l a c i n g   P o d s   a n d   a l l o w   o n l y   s p e c i f i c   p o d s   t o   s c h e d u l e   o n   t h e m .   I f   t h i s   T a i n t   i s   a p p l i e d ,   c o n t r o l   p l a n e   n o d e s   a l l o w   o n l y   c r i t i c a l   w o r k l o a d s   t o   b e   s c h e d u l e d   o n t o   t h e m .   Y o u   c a n   m a n u a l l y   r e m o v e   t h i s   t a i n t   w i t h   t h e   f o l l o w i n g   c o m m a n d   o n   a   s p e c i f i c   n o d e .   k u b e c t l   t a i n t   n o d e s   < n o d e - n a m e >   n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e : N o S c h e d u l e -",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23366"
  },
  {
    "question": "What is node-role.kubernetes.io/master (deprecated)?",
    "answer": "T y p e :   T a i n t   U s e d   o n :   N o d e   E x a m p l e :   n o d e - r o l e . k u b e r n e t e s . i o / m a s t e r : N o S c h e d u l e   T a i n t   t h a t   k u b e a d m   p r e v i o u s l y   a p p l i e d   o n   c o n t r o l   p l a n e   n o d e s   t o   a l l o w   o n l y   c r i t i c a l   w o r k l o a d s   t o   s c h e d u l e   o n   t h e m .   R e p l a c e d   b y   t h e   n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e   t a i n t .   k u b e a d m   n o   l o n g e r   s e t s   o r   u s e s   t h i s   d e p r e c a t e d   t a i n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23367"
  },
  {
    "question": "What is resource.kubernetes.io/admin-access {resource-kubernetes-io-admin-access}?",
    "answer": "T y p e :   L a b e l   E x a m p l e :   r e s o u r c e . k u b e r n e t e s . i o / a d m i n - a c c e s s :   \" t r u e \"   U s e d   o n :   N a m e s p a c e   U s e d   t o   g r a n t   a d m i n i s t r a t i v e   a c c e s s   t o   c e r t a i n   r e s o u r c e . k 8 s . i o   A P I   t y p e s   w i t h i n   a   n a m e s p a c e .   W h e n   t h i s   l a b e l   i s   s e t   o n   a   n a m e s p a c e   w i t h   t h e   v a l u e   \" t r u e \"   ( c a s e - s e n s i t i v e ) ,   i t   a l l o w s   t h e   u s e   o f   a d m i n A c c e s s :   t r u e   i n   a n y   n a m e s p a c e d   r e s o u r c e . k 8 s . i o   A P I   t y p e s .   C u r r e n t l y ,   t h i s   p e r m i s s i o n   a p p l i e s   t o   R e s o u r c e C l a i m   a n d   R e s o u r c e C l a i m T e m p l a t e   o b j e c t s .   S e e   D y n a m i c   R e s o u r c e   A l l o c a t i o n   A d m i n   a c c e s s   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23368"
  },
  {
    "question": "What is 4.1 - Audit Annotations?",
    "answer": "T h i s   p a g e   s e r v e s   a s   a   r e f e r e n c e   f o r   t h e   a u d i t   a n n o t a t i o n s   o f   t h e   k u b e r n e t e s . i o   n a m e s p a c e .   T h e s e   a n n o t a t i o n s   a p p l y   t o   E v e n t   o b j e c t   f r o m   A P I   g r o u p   a u d i t . k 8 s . i o .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23369"
  },
  {
    "question": "What is k8s.io/deprecated?",
    "answer": "E x a m p l e :   k 8 s . i o / d e p r e c a t e d :   \" t r u e \"   V a l u e   m u s t   b e   \" t r u e \"   o r   \" f a l s e \" .   T h e   v a l u e   \" t r u e \"   i n d i c a t e s   t h a t   t h e   r e q u e s t   u s e d   a   d e p r e c a t e d   A P I   v e r s i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23370"
  },
  {
    "question": "What is k8s.io/removed-release?",
    "answer": "E x a m p l e :   k 8 s . i o / r e m o v e d - r e l e a s e :   \" 1 . 2 2 \"   V a l u e   m u s t   b e   i n   t h e   f o r m a t   \" < M A J O R > . < M I N O R > \" .   I t   i s   s e t   t o   t a r g e t   t h e   r e m o v a l   r e l e a s e   o n   r e q u e s t s   m a d e   t o   d e p r e c a t e d   A P I   v e r s i o n s   w i t h   a   t a r g e t   r e m o v a l   r e l e a s e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23371"
  },
  {
    "question": "What is pod-security.kubernetes.io/exempt?",
    "answer": "E x a m p l e :   p o d - s e c u r i t y . k u b e r n e t e s . i o / e x e m p t :   n a m e s p a c e   V a l u e   m u s t   b e   o n e   o f   u s e r ,   n a m e s p a c e ,   o r   r u n t i m e C l a s s   w h i c h   c o r r e s p o n d   t o   P o d   S e c u r i t y   E x e m p t i o n   d i m e n s i o n s .   T h i s   a n n o t a t i o n   i n d i c a t e s   o n   w h i c h   d i m e n s i o n   w a s   b a s e d   t h e   e x e m p t i o n   f r o m   t h e   P o d S e c u r i t y   e n f o r c e m e n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23372"
  },
  {
    "question": "What is pod-security.kubernetes.io/enforce-policy?",
    "answer": "E x a m p l e :   p o d - s e c u r i t y . k u b e r n e t e s . i o / e n f o r c e - p o l i c y :   r e s t r i c t e d : l a t e s t   V a l u e   m u s t   b e   p r i v i l e g e d : < v e r s i o n > ,   b a s e l i n e : < v e r s i o n > ,   r e s t r i c t e d : < v e r s i o n >   w h i c h   c o r r e s p o n d   t o   P o d   S e c u r i t y   S t a n d a r d   l e v e l s   a c c o m p a n i e d   b y   a   v e r s i o n   w h i c h   m u s t   b e   l a t e s t   o r   a   v a l i d   K u b e r n e t e s   v e r s i o n   i n   t h e   f o r m a t   v < M A J O R > . < M I N O R > .   T h i s   a n n o t a t i o n s   i n f o r m s   a b o u t   t h e   e n f o r c e m e n t   l e v e l   t h a t   a l l o w e d   o r   d e n i e d   t h e   p o d   d u r i n g   P o d S e c u r i t y   a d m i s s i o n .   S e e   P o d   S e c u r i t y   S t a n d a r d s   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23373"
  },
  {
    "question": "What is pod-security.kubernetes.io/audit-violations?",
    "answer": "E x a m p l e :   p o d - s e c u r i t y . k u b e r n e t e s . i o / a u d i t - v i o l a t i o n s :   w o u l d   v i o l a t e   P o d S e c u r i t y   \" r e s t r i c t e d : l a t e s t \" :   a l l o w P r i v i l e g e E s c a l a t i o n   ! =   f a l s e   ( c o n t a i n e r   \" e x a m p l e \"   m u s t   s e t   s e c u r i t y C o n t e x t . a l l o w P r i v i l e g e E s c a l a t i o n = f a l s e ) ,   . . .   V a l u e   d e t a i l s   a n   a u d i t   p o l i c y   v i o l a t i o n ,   i t   c o n t a i n s   t h e   P o d   S e c u r i t y   S t a n d a r d   l e v e l   t h a t   w a s   t r a n s g r e s s e d   a s   w e l l   a s   t h e   s p e c i f i c   p o l i c i e s   o n   t h e   f i e l d s   t h a t   w e r e   v i o l a t e d   f r o m   t h e   P o d S e c u r i t y   e n f o r c e m e n t .   S e e   P o d   S e c u r i t y   S t a n d a r d s   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23374"
  },
  {
    "question": "What is apiserver.latency.k8s.io/etcd?",
    "answer": "E x a m p l e :   a p i s e r v e r . l a t e n c y . k 8 s . i o / e t c d :   \" 4 . 7 3 0 6 6 1 7 5 7 s \"   T h i s   a n n o t a t i o n   i n d i a c t e s   t h e   m e a s u r e   o f   l a t e n c y   i n c u r r e d   i n s i d e   t h e   s t o r a g e   l a y e r ,   i t   a c c o u n t s   f o r   t h e   t i m e   i t   t a k e s   t o   s e n d   d a t a   t o   t h e   e t c d   a n d   g e t   t h e   c o m p l e t e   r e s p o n s e   b a c k .   T h e   v a l u e   o f   t h i s   a u d i t   a n n o t a t i o n   d o e s   n o t   i n c l u d e   t h e   t i m e   i n c u r r e d   i n   a d m i s s i o n ,   o r   v a l i d a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23375"
  },
  {
    "question": "What is apiserver.latency.k8s.io/decode-response-object?",
    "answer": "E x a m p l e :   a p i s e r v e r . l a t e n c y . k 8 s . i o / d e c o d e - r e s p o n s e - o b j e c t :   \" 4 5 0 . 6 6 4 9 n s \"   T h i s   a n n o t a t i o n   r e c o r d s   t h e   t i m e   t a k e n   t o   d e c o d e   t h e   r e s p o n s e   r e c e i v e d   f r o m   t h e   s t o r a g e   l a y e r   ( e t c d )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23376"
  },
  {
    "question": "What is apiserver.latency.k8s.io/apf-queue-wait?",
    "answer": "E x a m p l e :   a p i s e r v e r . l a t e n c y . k 8 s . i o / a p f - q u e u e - w a i t :   \" 1 0 0 n s \"   T h i s   a n n o t a t i o n   r e c o r d s   t h e   t i m e   t h a t   a   r e q u e s t   s p e n t   q u e u e d   d u e   t o   A P I   s e r v e r   p r i o r i t i e s .   S e e   A P I   P r i o r i t y   a n d   F a i r n e s s   ( A P F )   f o r   m o r e   i n f o r m a t i o n   a b o u t   t h i s   m e c h a n i s m .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23377"
  },
  {
    "question": "What is authorization.k8s.io/decision?",
    "answer": "E x a m p l e :   a u t h o r i z a t i o n . k 8 s . i o / d e c i s i o n :   \" f o r b i d \"   V a l u e   m u s t   b e   f o r b i d   o r   a l l o w .   T h i s   a n n o t a t i o n   i n d i c a t e s   w h e t h e r   o r   n o t   a   r e q u e s t   w a s   a u t h o r i z e d   i n   K u b e r n e t e s   a u d i t   l o g s .   S e e   A u d i t i n g   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23378"
  },
  {
    "question": "What is authorization.k8s.io/reason?",
    "answer": "E x a m p l e :   a u t h o r i z a t i o n . k 8 s . i o / r e a s o n :   \" H u m a n - r e a d a b l e   r e a s o n   f o r   t h e   d e c i s i o n \"   T h i s   a n n o t a t i o n   g i v e s   r e a s o n   f o r   t h e   d e c i s i o n   i n   K u b e r n e t e s   a u d i t   l o g s .   S e e   A u d i t i n g   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23379"
  },
  {
    "question": "What is missing-san.invalid-cert.kubernetes.io/$hostname?",
    "answer": "E x a m p l e :   m i s s i n g - s a n . i n v a l i d - c e r t . k u b e r n e t e s . i o / e x a m p l e - s v c . e x a m p l e - n a m e s p a c e . s v c :   \" r e l i e s   o n   a   l e g a c y   C o m m o n   N a m e   f i e l d   i n s t e a d   o f   t h e   S A N   e x t e n s i o n   f o r   s u b j e c t   v a l i d a t i o n \"   U s e d   b y   K u b e r n e t e s   v e r s i o n   v 1 . 2 4   a n d   l a t e r   T h i s   a n n o t a t i o n   i n d i c a t e s   a   w e b h o o k   o r   a g g r e g a t e d   A P I   s e r v e r   i s   u s i n g   a n   i n v a l i d   c e r t i f i c a t e   t h a t   i s   m i s s i n g   s u b j e c t A l t N a m e s .   S u p p o r t   f o r   t h e s e   c e r t i f i c a t e s   w a s   d i s a b l e d   b y   d e f a u l t   i n   K u b e r n e t e s   1 . 1 9 ,   a n d   r e m o v e d   i n   K u b e r n e t e s   1 . 2 3 .   R e q u e s t s   t o   e n d p o i n t s   u s i n g   t h e s e   c e r t i f i c a t e s   w i l l   f a i l .   S e r v i c e s   u s i n g   t h e s e   c e r t i f i c a t e s   s h o u l d   r e p l a c e   t h e m   a s   s o o n   a s   p o s s i b l e   t o   a v o i d   d i s r u p t i o n   w h e n   r u n n i n g   i n   K u b e r n e t e s   1 . 2 3 +   e n v i r o n m e n t s .   T h e r e ' s   m o r e   i n f o r m a t i o n   a b o u t   t h i s   i n   t h e   G o   d o c u m e n t a t i o n :   X . 5 0 9   C o m m o n N a m e   d e p r e c a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23380"
  },
  {
    "question": "What is insecure-sha1.invalid-cert.kubernetes.io/$hostname?",
    "answer": "E x a m p l e :   i n s e c u r e - s h a 1 . i n v a l i d - c e r t . k u b e r n e t e s . i o / e x a m p l e - s v c . e x a m p l e - n a m e s p a c e . s v c :   \" u s e s   a n   i n s e c u r e   S H A - 1   s i g n a t u r e \"   U s e d   b y   K u b e r n e t e s   v e r s i o n   v 1 . 2 4   a n d   l a t e r   T h i s   a n n o t a t i o n   i n d i c a t e s   a   w e b h o o k   o r   a g g r e g a t e d   A P I   s e r v e r   i s   u s i n g   a n   i n s e c u r e   c e r t i f i c a t e   s i g n e d   w i t h   a   S H A - 1   h a s h .   S u p p o r t   f o r   t h e s e   i n s e c u r e   c e r t i f i c a t e s   i s   d i s a b l e d   b y   d e f a u l t   i n   K u b e r n e t e s   1 . 2 4 ,   a n d   w i l l   b e   r e m o v e d   i n   a   f u t u r e   r e l e a s e .   S e r v i c e s   u s i n g   t h e s e   c e r t i f i c a t e s   s h o u l d   r e p l a c e   t h e m   a s   s o o n   a s   p o s s i b l e ,   t o   e n s u r e   c o n n e c t i o n s   a r e   s e c u r e d   p r o p e r l y   a n d   t o   a v o i d   d i s r u p t i o n   i n   f u t u r e   r e l e a s e s .   T h e r e ' s   m o r e   i n f o r m a t i o n   a b o u t   t h i s   i n   t h e   G o   d o c u m e n t a t i o n :   R e j e c t i n g   S H A - 1   c e r t i f i c a t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23381"
  },
  {
    "question": "What is validation.policy.admission.k8s.io/validation_failure?",
    "answer": "E x a m p l e :   v a l i d a t i o n . p o l i c y . a d m i s s i o n . k 8 s . i o / v a l i d a t i o n _ f a i l u r e :   ' [ { \" m e s s a g e \" :   \" I n v a l i d   v a l u e \" ,   { \" p o l i c y \" :   \" p o l i c y . e x a m p l e . c o m \" ,   { \" b i n d i n g \" :   \" p o l i c y b i n d i n g . e x a m p l e . c o m \" ,   { \" e x p r e s s i o n I n d e x \" :   \" 1 \" ,   { \" v a l i d a t i o n A c t i o n s \" :   [ \" A u d i t \" ] } ] '   U s e d   b y   K u b e r n e t e s   v e r s i o n   v 1 . 2 7   a n d   l a t e r .   T h i s   a n n o t a t i o n   i n d i c a t e s   t h a t   a   a d m i s s i o n   p o l i c y   v a l i d a t i o n   e v a l u a t e d   t o   f a l s e   f o r   a n   A P I   r e q u e s t ,   o r   t h a t   t h e   v a l i d a t i o n   r e s u l t e d   i n   a n   e r r o r   w h i l e   t h e   p o l i c y   w a s   c o n f i g u r e d   w i t h   f a i l u r e P o l i c y :   F a i l .   T h e   v a l u e   o f   t h e   a n n o t a t i o n   i s   a   J S O N   o b j e c t .   T h e   m e s s a g e   i n   t h e   J S O N   p r o v i d e s   t h e   m e s s a g e   a b o u t   t h e   v a l i d a t i o n   f a i l u r e .   T h e   p o l i c y ,   b i n d i n g   a n d   e x p r e s s i o n I n d e x   i n   t h e   J S O N   i d e n t i f i e s   t h e   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y ,   t h e   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   a n d   t h e   i n d e x   i n   t h e   p o l i c y   v a l i d a t i o n s   o f   t h e   C E L   e x p r e s s i o n s   t h a t   f a i l e d ,   r e s p e c t i v e l y .   T h e   v a l i d a t i o n A c t i o n s   s h o w s   w h a t   a c t i o n s   w e r e   t a k e n   f o r   t h i s   v a l i d a t i o n   f a i l u r e .   S e e   V a l i d a t i n g   A d m i s s i o n   P o l i c y   f o r   m o r e   d e t a i l s   a b o u t   v a l i d a t i o n A c t i o n s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23382"
  },
  {
    "question": "What is 5 - Kubernetes API?",
    "answer": "K u b e r n e t e s '   A P I   i s   t h e   a p p l i c a t i o n   t h a t   s e r v e s   K u b e r n e t e s   f u n c t i o n a l i t y   t h r o u g h   a   R E S T f u l   i n t e r f a c e   a n d   s t o r e s   t h e   s t a t e   o f   t h e   c l u s t e r .   K u b e r n e t e s '   A P I   i s   t h e   a p p l i c a t i o n   t h a t   s e r v e s   K u b e r n e t e s   f u n c t i o n a l i t y   t h r o u g h   a   R E S T f u l   i n t e r f a c e   a n d   s t o r e s   t h e   s t a t e   o f   t h e   c l u s t e r .   K u b e r n e t e s   r e s o u r c e s   a n d   \" r e c o r d s   o f   i n t e n t \"   a r e   a l l   s t o r e d   a s   A P I   o b j e c t s ,   a n d   m o d i f i e d   v i a   R E S T f u l   c a l l s   t o   t h e   A P I .   T h e   A P I   a l l o w s   c o n f i g u r a t i o n   t o   b e   m a n a g e d   i n   a   d e c l a r a t i v e   w a y .   U s e r s   c a n   i n t e r a c t   w i t h   t h e   K u b e r n e t e s   A P I   d i r e c t l y ,   o r   v i a   t o o l s   l i k e   k u b e c t l .   T h e   c o r e   K u b e r n e t e s   A P I   i s   f l e x i b l e   a n d   c a n   a l s o   b e   e x t e n d e d   t o   s u p p o r t   c u s t o m   r e s o u r c e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23383"
  },
  {
    "question": "What is 5.1.1 - Pod?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23384"
  },
  {
    "question": "What is Pod?",
    "answer": "P o d   i s   a   c o l l e c t i o n   o f   c o n t a i n e r s   t h a t   c a n   r u n   o n   a   h o s t .   T h i s   r e s o u r c e   i s   c r e a t e d   b y   c l i e n t s   a n d   s c h e d u l e d   o n t o   h o s t s .   a p i V e r s i o n :   v 1 k i n d :   P o d m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( P o d S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   p o d .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( P o d S t a t u s ) M o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   p o d .   T h i s   d a t a   m a y   n o t   b e   u p   t o   d a t e .   P o p u l a t e d   b y   t h e   s y s t e m .   R e a d - o n l y .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( P o d S p e c )   S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   p o d .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23385"
  },
  {
    "question": "What is PodSpec?",
    "answer": "P o d S p e c   i s   a   d e s c r i p t i o n   o f   a   p o d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23386"
  },
  {
    "question": "What is Containers?",
    "answer": "c o n t a i n e r s   ( [ ] C o n t a i n e r ) ,   r e q u i r e d P a t c h   s t r a t e g y :   m e r g e   o n   k e y   n a m e M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e L i s t   o f   c o n t a i n e r s   b e l o n g i n g   t o   t h e   p o d .   C o n t a i n e r s   c a n n o t   c u r r e n t l y   b e   a d d e d   o r   r e m o v e d .   T h e r e   m u s t   b e   a t   l e a s t   o n e   c o n t a i n e r   i n   a   P o d .   C a n n o t   b e   u p d a t e d . i n i t C o n t a i n e r s   ( [ ] C o n t a i n e r ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   n a m e M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e L i s t   o f   i n i t i a l i z a t i o n   c o n t a i n e r s   b e l o n g i n g   t o   t h e   p o d .   I n i t   c o n t a i n e r s   a r e   e x e c u t e d   i n   o r d e r   p r i o r   t o   c o n t a i n e r s   b e i n g   s t a r t e d .   I f   a n y   i n i t   c o n t a i n e r   f a i l s ,   t h e   p o d   i s   c o n s i d e r e d   t o   h a v e   f a i l e d   a n d   i s   h a n d l e d   a c c o r d i n g   t o   i t s   r e s t a r t P o l i c y .   T h e   n a m e   f o r   a n   i n i t   c o n t a i n e r   o r   n o r m a l   c o n t a i n e r   m u s t   b e   u n i q u e   a m o n g   a l l   c o n t a i n e r s .   I n i t   c o n t a i n e r s   m a y   n o t   h a v e   L i f e c y c l e   a c t i o n s ,   R e a d i n e s s   p r o b e s ,   L i v e n e s s   p r o b e s ,   o r   S t a r t u p   p r o b e s .   T h e   r e s o u r c e R e q u i r e m e n t s   o f   a n   i n i t   c o n t a i n e r   a r e   t a k e n   i n t o   a c c o u n t   d u r i n g   s c h e d u l i n g   b y   f i n d i n g   t h e   h i g h e s t   r e q u e s t / l i m i t   f o r   e a c h   r e s o u r c e   t y p e ,   a n d   t h e n   u s i n g   t h e   m a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23387"
  },
  {
    "question": "What is Volumes?",
    "answer": "v o l u m e s   ( [ ] V o l u m e ) P a t c h   s t r a t e g i e s :   r e t a i n K e y s ,   m e r g e   o n   k e y   n a m e M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e L i s t   o f   v o l u m e s   t h a t   c a n   b e   m o u n t e d   b y   c o n t a i n e r s   b e l o n g i n g   t o   t h e   p o d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s   v o l u m e s   ( [ ] V o l u m e )   P a t c h   s t r a t e g i e s :   r e t a i n K e y s ,   m e r g e   o n   k e y   n a m e   M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e   L i s t   o f   v o l u m e s   t h a t   c a n   b e   m o u n t e d   b y   c o n t a i n e r s   b e l o n g i n g   t o   t h e   p o d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23388"
  },
  {
    "question": "What is Scheduling?",
    "answer": "n o d e S e l e c t o r   ( m a p [ s t r i n g ] s t r i n g ) N o d e S e l e c t o r   i s   a   s e l e c t o r   w h i c h   m u s t   b e   t r u e   f o r   t h e   p o d   t o   f i t   o n   a   n o d e .   S e l e c t o r   w h i c h   m u s t   m a t c h   a   n o d e ' s   l a b e l s   f o r   t h e   p o d   t o   b e   s c h e d u l e d   o n   t h a t   n o d e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n f i g u r a t i o n / a s s i g n - p o d - n o d e / n o d e N a m e   ( s t r i n g ) N o d e N a m e   i n d i c a t e s   i n   w h i c h   n o d e   t h i s   p o d   i s   s c h e d u l e d .   I f   e m p t y ,   t h i s   p o d   i s   a   c a n d i d a t e   f o r   s c h e d u l i n g   b y   t h e   s c h e d u l e r   d e f i n e d   i n   s c h e d u l e r N a m e .   O n c e   t h i s   f i e l d   i s   s e t ,   t h e   k u b e l e t   f o r   t h i s   n o d e   b e c o m e s   r e s p o n s i b l e   f o r   t h e   l i f e c y c l e   o f   t h i s   p o d .   T h i s   f i e l d   s h o u l d   n o t   b e   u s e d   t o   e x p r e s s   a   d e s i r e   f o r   t h e   p o d   t o   b e   s c h e d u l e d   o n   a   s p e c i f i c   n o d e .   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s c h e d u l i n g - e v i c t i o n / a s s i g n - p o d - n o d e / # n o d e n a m e a f f i n i t y   ( A f f i n i t y ) I f   s p e c i f i e d ,   t h e   p o d ' s   s c h e d u l i n g   c o n s t r a i n t s A f f i n i t y   i s   a   g r o u p   o f   a f f i n i t y   s c h e d u l i n g   r u l e s . a f f i n i t y . n o d e A f f i n i t y   ( N o d e A f f i n i t y ) D e s c r i b e s   n o d e   a f f i n i t y   s c h e d u l i n g   r u l e s   f o r   t h e   p o d . a f f i n i t y . p o d A f f i n i t y   ( P o d A f f i n i t y ) D e s c r i b e s   p o d   a f f i n i t y   s c h e d u l i n g   r u l e s   ( e . g .   c o - ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23389"
  },
  {
    "question": "What is Lifecycle?",
    "answer": "r e s t a r t P o l i c y   ( s t r i n g ) R e s t a r t   p o l i c y   f o r   a l l   c o n t a i n e r s   w i t h i n   t h e   p o d .   O n e   o f   A l w a y s ,   O n F a i l u r e ,   N e v e r .   I n   s o m e   c o n t e x t s ,   o n l y   a   s u b s e t   o f   t h o s e   v a l u e s   m a y   b e   p e r m i t t e d .   D e f a u l t   t o   A l w a y s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / p o d s / p o d - l i f e c y c l e / # r e s t a r t - p o l i c y t e r m i n a t i o n G r a c e P e r i o d S e c o n d s   ( i n t 6 4 ) O p t i o n a l   d u r a t i o n   i n   s e c o n d s   t h e   p o d   n e e d s   t o   t e r m i n a t e   g r a c e f u l l y .   M a y   b e   d e c r e a s e d   i n   d e l e t e   r e q u e s t .   V a l u e   m u s t   b e   n o n - n e g a t i v e   i n t e g e r .   T h e   v a l u e   z e r o   i n d i c a t e s   s t o p   i m m e d i a t e l y   v i a   t h e   k i l l   s i g n a l   ( n o   o p p o r t u n i t y   t o   s h u t   d o w n ) .   I f   t h i s   v a l u e   i s   n i l ,   t h e   d e f a u l t   g r a c e   p e r i o d   w i l l   b e   u s e d   i n s t e a d .   T h e   g r a c e   p e r i o d   i s   t h e   d u r a t i o n   i n   s e c o n d s   a f t e r   t h e   p r o c e s s e s   r u n n i n g   i n   t h e   p o d   a r e   s e n t   a   t e r m i n a t i o n   s i g n a l   a n d   t h e   t i m e   w h e n   t h e   p r o c e s s e s   a r e   f o r c i b l y   h a l t e d   w i t h   a   k i l l   s i g n a l .   S e t   t h i s   v a l u e   l o n g e r   t h a n   t h e   e x p e c t e d   c l e a n u p   t i m e   f o r   y o u r   p r o c e s s .   D e f a u l t s   t o   3 0   s e c o n d s . a c t i v e D e a d l i n e S e c o n d s   ( i n t 6 4 ) O p t i o n a l   d u r a t i o n   i n   s e c o n d s   t h e   p o d   m a y   b e   a c t i v e   o n   t h e   n o d e   r e l a t i v e   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23390"
  },
  {
    "question": "What is Hostname and Name resolution?",
    "answer": "h o s t n a m e   ( s t r i n g ) S p e c i f i e s   t h e   h o s t n a m e   o f   t h e   P o d   I f   n o t   s p e c i f i e d ,   t h e   p o d ' s   h o s t n a m e   w i l l   b e   s e t   t o   a   s y s t e m - d e f i n e d   v a l u e . h o s t n a m e O v e r r i d e   ( s t r i n g ) H o s t n a m e O v e r r i d e   s p e c i f i e s   a n   e x p l i c i t   o v e r r i d e   f o r   t h e   p o d ' s   h o s t n a m e   a s   p e r c e i v e d   b y   t h e   p o d .   T h i s   f i e l d   o n l y   s p e c i f i e s   t h e   p o d ' s   h o s t n a m e   a n d   d o e s   n o t   a f f e c t   i t s   D N S   r e c o r d s .   W h e n   t h i s   f i e l d   i s   s e t   t o   a   n o n - e m p t y   s t r i n g :   -   I t   t a k e s   p r e c e d e n c e   o v e r   t h e   v a l u e s   s e t   i n   h o s t n a m e   a n d   s u b d o m a i n .   -   T h e   P o d ' s   h o s t n a m e   w i l l   b e   s e t   t o   t h i s   v a l u e .   -   s e t H o s t n a m e A s F Q D N   m u s t   b e   n i l   o r   s e t   t o   f a l s e .   -   h o s t N e t w o r k   m u s t   b e   s e t   t o   f a l s e . T h i s   f i e l d   m u s t   b e   a   v a l i d   D N S   s u b d o m a i n   a s   d e f i n e d   i n   R F C   1 1 2 3   a n d   c o n t a i n   a t   m o s t   6 4   c h a r a c t e r s .   R e q u i r e s   t h e   H o s t n a m e O v e r r i d e   f e a t u r e   g a t e   t o   b e   e n a b l e d . s e t H o s t n a m e A s F Q D N   ( b o o l e a n ) I f   t r u e   t h e   p o d ' s   h o s t n a m e   w i l l   b e   c o n f i g u r e d   a s   t h e   p o d ' s   F Q D N ,   r a t h e r   t h a n   t h e   l e a f   n a m e   ( t h e   d e f a u l t ) .   I n   L i n u x   c o n t a i n e r s ,   t h i s   m e a n s   s e t t i n g   t h e   F Q D N   i n   t h e   h o s t n a m e   f i e l d   o f   t h e   k e r n e l   ( t h e   n o d e n a m e   f i e l d   o f   s t r u c t   u t s n a m e ) .   I n   W i n d o w s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23391"
  },
  {
    "question": "What is Hosts namespaces?",
    "answer": "h o s t N e t w o r k   ( b o o l e a n ) H o s t   n e t w o r k i n g   r e q u e s t e d   f o r   t h i s   p o d .   U s e   t h e   h o s t ' s   n e t w o r k   n a m e s p a c e .   W h e n   u s i n g   H o s t N e t w o r k   y o u   s h o u l d   s p e c i f y   p o r t s   s o   t h e   s c h e d u l e r   i s   a w a r e .   W h e n   h o s t N e t w o r k   i s   t r u e ,   s p e c i f i e d   h o s t P o r t   f i e l d s   i n   p o r t   d e f i n i t i o n s   m u s t   m a t c h   c o n t a i n e r P o r t ,   a n d   u n s p e c i f i e d   h o s t P o r t   f i e l d s   i n   p o r t   d e f i n i t i o n s   a r e   d e f a u l t e d   t o   m a t c h   c o n t a i n e r P o r t .   D e f a u l t   t o   f a l s e . h o s t P I D   ( b o o l e a n ) U s e   t h e   h o s t ' s   p i d   n a m e s p a c e .   O p t i o n a l :   D e f a u l t   t o   f a l s e . h o s t I P C   ( b o o l e a n ) U s e   t h e   h o s t ' s   i p c   n a m e s p a c e .   O p t i o n a l :   D e f a u l t   t o   f a l s e . s h a r e P r o c e s s N a m e s p a c e   ( b o o l e a n ) S h a r e   a   s i n g l e   p r o c e s s   n a m e s p a c e   b e t w e e n   a l l   o f   t h e   c o n t a i n e r s   i n   a   p o d .   W h e n   t h i s   i s   s e t   c o n t a i n e r s   w i l l   b e   a b l e   t o   v i e w   a n d   s i g n a l   p r o c e s s e s   f r o m   o t h e r   c o n t a i n e r s   i n   t h e   s a m e   p o d ,   a n d   t h e   f i r s t   p r o c e s s   i n   e a c h   c o n t a i n e r   w i l l   n o t   b e   a s s i g n e d   P I D   1 .   H o s t P I D   a n d   S h a r e P r o c e s s N a m e s p a c e   c a n n o t   b o t h   b e   s e t .   O p t i o n a l :   D e f a u l t   t o   f a l s e .   h o s t N e t w o r k   ( b o o l e a n )   H o s t   n e t w o r k i n g   r e q u e s t e d   f o r   t h i s   p o d .   U s e   t h e   h o s t ' s   n e t w o r k   n a m e s p a c e .   W h e n   u s i n g   H o s t N e t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23392"
  },
  {
    "question": "What is Service account?",
    "answer": "s e r v i c e A c c o u n t N a m e   ( s t r i n g ) S e r v i c e A c c o u n t N a m e   i s   t h e   n a m e   o f   t h e   S e r v i c e A c c o u n t   t o   u s e   t o   r u n   t h i s   p o d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g u r e - s e r v i c e - a c c o u n t / a u t o m o u n t S e r v i c e A c c o u n t T o k e n   ( b o o l e a n ) A u t o m o u n t S e r v i c e A c c o u n t T o k e n   i n d i c a t e s   w h e t h e r   a   s e r v i c e   a c c o u n t   t o k e n   s h o u l d   b e   a u t o m a t i c a l l y   m o u n t e d .   s e r v i c e A c c o u n t N a m e   ( s t r i n g )   S e r v i c e A c c o u n t N a m e   i s   t h e   n a m e   o f   t h e   S e r v i c e A c c o u n t   t o   u s e   t o   r u n   t h i s   p o d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g u r e - s e r v i c e - a c c o u n t /   a u t o m o u n t S e r v i c e A c c o u n t T o k e n   ( b o o l e a n )   A u t o m o u n t S e r v i c e A c c o u n t T o k e n   i n d i c a t e s   w h e t h e r   a   s e r v i c e   a c c o u n t   t o k e n   s h o u l d   b e   a u t o m a t i c a l l y   m o u n t e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23393"
  },
  {
    "question": "What is Security context?",
    "answer": "s e c u r i t y C o n t e x t   ( P o d S e c u r i t y C o n t e x t ) S e c u r i t y C o n t e x t   h o l d s   p o d - l e v e l   s e c u r i t y   a t t r i b u t e s   a n d   c o m m o n   c o n t a i n e r   s e t t i n g s .   O p t i o n a l :   D e f a u l t s   t o   e m p t y .   S e e   t y p e   d e s c r i p t i o n   f o r   d e f a u l t   v a l u e s   o f   e a c h   f i e l d . P o d S e c u r i t y C o n t e x t   h o l d s   p o d - l e v e l   s e c u r i t y   a t t r i b u t e s   a n d   c o m m o n   c o n t a i n e r   s e t t i n g s .   S o m e   f i e l d s   a r e   a l s o   p r e s e n t   i n   c o n t a i n e r . s e c u r i t y C o n t e x t .   F i e l d   v a l u e s   o f   c o n t a i n e r . s e c u r i t y C o n t e x t   t a k e   p r e c e d e n c e   o v e r   f i e l d   v a l u e s   o f   P o d S e c u r i t y C o n t e x t . s e c u r i t y C o n t e x t . a p p A r m o r P r o f i l e   ( A p p A r m o r P r o f i l e ) a p p A r m o r P r o f i l e   i s   t h e   A p p A r m o r   o p t i o n s   t o   u s e   b y   t h e   c o n t a i n e r s   i n   t h i s   p o d .   N o t e   t h a t   t h i s   f i e l d   c a n n o t   b e   s e t   w h e n   s p e c . o s . n a m e   i s   w i n d o w s . A p p A r m o r P r o f i l e   d e f i n e s   a   p o d   o r   c o n t a i n e r ' s   A p p A r m o r   s e t t i n g s . s e c u r i t y C o n t e x t . a p p A r m o r P r o f i l e . t y p e   ( s t r i n g ) ,   r e q u i r e d t y p e   i n d i c a t e s   w h i c h   k i n d   o f   A p p A r m o r   p r o f i l e   w i l l   b e   a p p l i e d .   V a l i d   o p t i o n s   a r e :   L o c a l h o s t   -   a   p r o f i l e   p r e - l o a d e d   o n   t h e   n o d e .   R u n t i m e D e f a u l t   -   t h e   c o n t a i n e r   r u n t i m e ' s   d e f a u l t   p r o f i l e .   U n c o n f i n e d   -   n o   A p p A r m o r   e n f o r c e m e n t . s e c u r i t y C o n t e x t . a p p A r m o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23394"
  },
  {
    "question": "What is Alpha level?",
    "answer": "h o s t U s e r s   ( b o o l e a n ) U s e   t h e   h o s t ' s   u s e r   n a m e s p a c e .   O p t i o n a l :   D e f a u l t   t o   t r u e .   I f   s e t   t o   t r u e   o r   n o t   p r e s e n t ,   t h e   p o d   w i l l   b e   r u n   i n   t h e   h o s t   u s e r   n a m e s p a c e ,   u s e f u l   f o r   w h e n   t h e   p o d   n e e d s   a   f e a t u r e   o n l y   a v a i l a b l e   t o   t h e   h o s t   u s e r   n a m e s p a c e ,   s u c h   a s   l o a d i n g   a   k e r n e l   m o d u l e   w i t h   C A P _ S Y S _ M O D U L E .   W h e n   s e t   t o   f a l s e ,   a   n e w   u s e r n s   i s   c r e a t e d   f o r   t h e   p o d .   S e t t i n g   f a l s e   i s   u s e f u l   f o r   m i t i g a t i n g   c o n t a i n e r   b r e a k o u t   v u l n e r a b i l i t i e s   e v e n   a l l o w i n g   u s e r s   t o   r u n   t h e i r   c o n t a i n e r s   a s   r o o t   w i t h o u t   a c t u a l l y   h a v i n g   r o o t   p r i v i l e g e s   o n   t h e   h o s t .   T h i s   f i e l d   i s   a l p h a - l e v e l   a n d   i s   o n l y   h o n o r e d   b y   s e r v e r s   t h a t   e n a b l e   t h e   U s e r N a m e s p a c e s S u p p o r t   f e a t u r e . r e s o u r c e s   ( R e s o u r c e R e q u i r e m e n t s ) R e s o u r c e s   i s   t h e   t o t a l   a m o u n t   o f   C P U   a n d   M e m o r y   r e s o u r c e s   r e q u i r e d   b y   a l l   c o n t a i n e r s   i n   t h e   p o d .   I t   s u p p o r t s   s p e c i f y i n g   R e q u e s t s   a n d   L i m i t s   f o r   \" c p u \" ,   \" m e m o r y \"   a n d   \" h u g e p a g e s - \"   r e s o u r c e   n a m e s   o n l y .   R e s o u r c e C l a i m s   a r e   n o t   s u p p o r t e d . T h i s   f i e l d   e n a b l e s   f i n e - g r a i n e d   c o n t r o l   o v e r   r e s o u r c e   a l l o c a t i o n   f o r   t h e   e n t i r e   p o d ,   a l l o w i n g   r e s o u r c e   s h a r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23395"
  },
  {
    "question": "What is Deprecated?",
    "answer": "s e r v i c e A c c o u n t   ( s t r i n g ) D e p r e c a t e d S e r v i c e A c c o u n t   i s   a   d e p r e c a t e d   a l i a s   f o r   S e r v i c e A c c o u n t N a m e .   D e p r e c a t e d :   U s e   s e r v i c e A c c o u n t N a m e   i n s t e a d .   s e r v i c e A c c o u n t   ( s t r i n g )   D e p r e c a t e d S e r v i c e A c c o u n t   i s   a   d e p r e c a t e d   a l i a s   f o r   S e r v i c e A c c o u n t N a m e .   D e p r e c a t e d :   U s e   s e r v i c e A c c o u n t N a m e   i n s t e a d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23396"
  },
  {
    "question": "What is Container?",
    "answer": "A   s i n g l e   a p p l i c a t i o n   c o n t a i n e r   t h a t   y o u   w a n t   t o   r u n   w i t h i n   a   p o d .   n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   o f   t h e   c o n t a i n e r   s p e c i f i e d   a s   a   D N S _ L A B E L .   E a c h   c o n t a i n e r   i n   a   p o d   m u s t   h a v e   a   u n i q u e   n a m e   ( D N S _ L A B E L ) .   C a n n o t   b e   u p d a t e d .   n a m e   ( s t r i n g ) ,   r e q u i r e d   N a m e   o f   t h e   c o n t a i n e r   s p e c i f i e d   a s   a   D N S _ L A B E L .   E a c h   c o n t a i n e r   i n   a   p o d   m u s t   h a v e   a   u n i q u e   n a m e   ( D N S _ L A B E L ) .   C a n n o t   b e   u p d a t e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23397"
  },
  {
    "question": "What is Image?",
    "answer": "i m a g e   ( s t r i n g ) C o n t a i n e r   i m a g e   n a m e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / i m a g e s   T h i s   f i e l d   i s   o p t i o n a l   t o   a l l o w   h i g h e r   l e v e l   c o n f i g   m a n a g e m e n t   t o   d e f a u l t   o r   o v e r r i d e   c o n t a i n e r   i m a g e s   i n   w o r k l o a d   c o n t r o l l e r s   l i k e   D e p l o y m e n t s   a n d   S t a t e f u l S e t s . i m a g e P u l l P o l i c y   ( s t r i n g ) I m a g e   p u l l   p o l i c y .   O n e   o f   A l w a y s ,   N e v e r ,   I f N o t P r e s e n t .   D e f a u l t s   t o   A l w a y s   i f   : l a t e s t   t a g   i s   s p e c i f i e d ,   o r   I f N o t P r e s e n t   o t h e r w i s e .   C a n n o t   b e   u p d a t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / i m a g e s # u p d a t i n g - i m a g e s   i m a g e   ( s t r i n g )   C o n t a i n e r   i m a g e   n a m e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / i m a g e s   T h i s   f i e l d   i s   o p t i o n a l   t o   a l l o w   h i g h e r   l e v e l   c o n f i g   m a n a g e m e n t   t o   d e f a u l t   o r   o v e r r i d e   c o n t a i n e r   i m a g e s   i n   w o r k l o a d   c o n t r o l l e r s   l i k e   D e p l o y m e n t s   a n d   S t a t e f u l S e t s .   i m a g e P u l l P o l i c y   ( s t r i n g )   I m a g e   p u l l   p o l i c y .   O n e   o f   A l w a y s ,   N e v e r ,   I f N o t P r e s e n t .   D e f a u l t s   t o   A l w a y s   i f   : l a t e s t   t a g   i s   s p e c i f i e d ,   o r   I f N o t P r e s e n t   o t h e r w i s e .   C a n n o t   b e   u p d a t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23398"
  },
  {
    "question": "What is Entrypoint?",
    "answer": "c o m m a n d   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e E n t r y p o i n t   a r r a y .   N o t   e x e c u t e d   w i t h i n   a   s h e l l .   T h e   c o n t a i n e r   i m a g e ' s   E N T R Y P O I N T   i s   u s e d   i f   t h i s   i s   n o t   p r o v i d e d .   V a r i a b l e   r e f e r e n c e s   $ ( V A R _ N A M E )   a r e   e x p a n d e d   u s i n g   t h e   c o n t a i n e r ' s   e n v i r o n m e n t .   I f   a   v a r i a b l e   c a n n o t   b e   r e s o l v e d ,   t h e   r e f e r e n c e   i n   t h e   i n p u t   s t r i n g   w i l l   b e   u n c h a n g e d .   D o u b l e   $ $   a r e   r e d u c e d   t o   a   s i n g l e   $ ,   w h i c h   a l l o w s   f o r   e s c a p i n g   t h e   $ ( V A R _ N A M E )   s y n t a x :   i . e .   \" $ $ ( V A R _ N A M E ) \"   w i l l   p r o d u c e   t h e   s t r i n g   l i t e r a l   \" $ ( V A R _ N A M E ) \" .   E s c a p e d   r e f e r e n c e s   w i l l   n e v e r   b e   e x p a n d e d ,   r e g a r d l e s s   o f   w h e t h e r   t h e   v a r i a b l e   e x i s t s   o r   n o t .   C a n n o t   b e   u p d a t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / i n j e c t - d a t a - a p p l i c a t i o n / d e f i n e - c o m m a n d - a r g u m e n t - c o n t a i n e r / # r u n n i n g - a - c o m m a n d - i n - a - s h e l l a r g s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A r g u m e n t s   t o   t h e   e n t r y p o i n t .   T h e   c o n t a i n e r   i m a g e ' s   C M D   i s   u s e d   i f   t h i s   i s   n o t   p r o v i d e d .   V a r i a b l e   r e f e r e n c e s   $ ( V A R _ N A M E )   a r e   e x p a n d e d   u s i n g   t h e   c o n t a i n e r ' s   e n v i r o n m e n t .   I f   a   v a r i a b l e   c a n n o t   b e   r e s o l v e d ,   t h e   r e f e r e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23399"
  },
  {
    "question": "What is Ports?",
    "answer": "p o r t s   ( [ ] C o n t a i n e r P o r t ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   c o n t a i n e r P o r t M a p :   u n i q u e   v a l u e s   o n   k e y s   c o n t a i n e r P o r t ,   p r o t o c o l   w i l l   b e   k e p t   d u r i n g   a   m e r g e L i s t   o f   p o r t s   t o   e x p o s e   f r o m   t h e   c o n t a i n e r .   N o t   s p e c i f y i n g   a   p o r t   h e r e   D O E S   N O T   p r e v e n t   t h a t   p o r t   f r o m   b e i n g   e x p o s e d .   A n y   p o r t   w h i c h   i s   l i s t e n i n g   o n   t h e   d e f a u l t   \" 0 . 0 . 0 . 0 \"   a d d r e s s   i n s i d e   a   c o n t a i n e r   w i l l   b e   a c c e s s i b l e   f r o m   t h e   n e t w o r k .   M o d i f y i n g   t h i s   a r r a y   w i t h   s t r a t e g i c   m e r g e   p a t c h   m a y   c o r r u p t   t h e   d a t a .   F o r   m o r e   i n f o r m a t i o n   S e e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / k u b e r n e t e s / i s s u e s / 1 0 8 2 5 5 .   C a n n o t   b e   u p d a t e d . C o n t a i n e r P o r t   r e p r e s e n t s   a   n e t w o r k   p o r t   i n   a   s i n g l e   c o n t a i n e r . p o r t s . c o n t a i n e r P o r t   ( i n t 3 2 ) ,   r e q u i r e d N u m b e r   o f   p o r t   t o   e x p o s e   o n   t h e   p o d ' s   I P   a d d r e s s .   T h i s   m u s t   b e   a   v a l i d   p o r t   n u m b e r ,   0   <   x   <   6 5 5 3 6 . p o r t s . h o s t I P   ( s t r i n g ) W h a t   h o s t   I P   t o   b i n d   t h e   e x t e r n a l   p o r t   t o . p o r t s . h o s t P o r t   ( i n t 3 2 ) N u m b e r   o f   p o r t   t o   e x p o s e   o n   t h e   h o s t .   I f   s p e c i f i e d ,   t h i s   m u s t   b e   a   v a l i d   p o r t   n u m b e r ,   0   <   x   <   6 5 5 3 6 .   I f   H o s t N e t w o r k   i s   s p e c i f i e d ,   t h i s   m u s t   m a t c h   C o n t a i n e r P o r t .   M o s t   c o n t a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23400"
  },
  {
    "question": "What is Environment variables?",
    "answer": "e n v   ( [ ] E n v V a r ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   n a m e M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e L i s t   o f   e n v i r o n m e n t   v a r i a b l e s   t o   s e t   i n   t h e   c o n t a i n e r .   C a n n o t   b e   u p d a t e d . E n v V a r   r e p r e s e n t s   a n   e n v i r o n m e n t   v a r i a b l e   p r e s e n t   i n   a   C o n t a i n e r . e n v . n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   o f   t h e   e n v i r o n m e n t   v a r i a b l e .   M a y   c o n s i s t   o f   a n y   p r i n t a b l e   A S C I I   c h a r a c t e r s   e x c e p t   ' = ' . e n v . v a l u e   ( s t r i n g ) V a r i a b l e   r e f e r e n c e s   $ ( V A R _ N A M E )   a r e   e x p a n d e d   u s i n g   t h e   p r e v i o u s l y   d e f i n e d   e n v i r o n m e n t   v a r i a b l e s   i n   t h e   c o n t a i n e r   a n d   a n y   s e r v i c e   e n v i r o n m e n t   v a r i a b l e s .   I f   a   v a r i a b l e   c a n n o t   b e   r e s o l v e d ,   t h e   r e f e r e n c e   i n   t h e   i n p u t   s t r i n g   w i l l   b e   u n c h a n g e d .   D o u b l e   $ $   a r e   r e d u c e d   t o   a   s i n g l e   $ ,   w h i c h   a l l o w s   f o r   e s c a p i n g   t h e   $ ( V A R _ N A M E )   s y n t a x :   i . e .   \" $ $ ( V A R _ N A M E ) \"   w i l l   p r o d u c e   t h e   s t r i n g   l i t e r a l   \" $ ( V A R _ N A M E ) \" .   E s c a p e d   r e f e r e n c e s   w i l l   n e v e r   b e   e x p a n d e d ,   r e g a r d l e s s   o f   w h e t h e r   t h e   v a r i a b l e   e x i s t s   o r   n o t .   D e f a u l t s   t o   \" \" . e n v . v a l u e F r o m   ( E n v V a r S o u r c e ) S o u r c e   f o r   t h e   e n v i r o n m e n t   v a r i a b l e ' s   v a l u e .   C a n n o t   b e   u s e d   i f   v a l u e   i s   n o t   e m p t y . E n v V a r S o u r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23401"
  },
  {
    "question": "What is Volumes?",
    "answer": "v o l u m e M o u n t s   ( [ ] V o l u m e M o u n t ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   m o u n t P a t h M a p :   u n i q u e   v a l u e s   o n   k e y   m o u n t P a t h   w i l l   b e   k e p t   d u r i n g   a   m e r g e P o d   v o l u m e s   t o   m o u n t   i n t o   t h e   c o n t a i n e r ' s   f i l e s y s t e m .   C a n n o t   b e   u p d a t e d . V o l u m e M o u n t   d e s c r i b e s   a   m o u n t i n g   o f   a   V o l u m e   w i t h i n   a   c o n t a i n e r . v o l u m e M o u n t s . m o u n t P a t h   ( s t r i n g ) ,   r e q u i r e d P a t h   w i t h i n   t h e   c o n t a i n e r   a t   w h i c h   t h e   v o l u m e   s h o u l d   b e   m o u n t e d .   M u s t   n o t   c o n t a i n   ' : ' . v o l u m e M o u n t s . n a m e   ( s t r i n g ) ,   r e q u i r e d T h i s   m u s t   m a t c h   t h e   N a m e   o f   a   V o l u m e . v o l u m e M o u n t s . m o u n t P r o p a g a t i o n   ( s t r i n g ) m o u n t P r o p a g a t i o n   d e t e r m i n e s   h o w   m o u n t s   a r e   p r o p a g a t e d   f r o m   t h e   h o s t   t o   c o n t a i n e r   a n d   t h e   o t h e r   w a y   a r o u n d .   W h e n   n o t   s e t ,   M o u n t P r o p a g a t i o n N o n e   i s   u s e d .   T h i s   f i e l d   i s   b e t a   i n   1 . 1 0 .   W h e n   R e c u r s i v e R e a d O n l y   i s   s e t   t o   I f P o s s i b l e   o r   t o   E n a b l e d ,   M o u n t P r o p a g a t i o n   m u s t   b e   N o n e   o r   u n s p e c i f i e d   ( w h i c h   d e f a u l t s   t o   N o n e ) . v o l u m e M o u n t s . r e a d O n l y   ( b o o l e a n ) M o u n t e d   r e a d - o n l y   i f   t r u e ,   r e a d - w r i t e   o t h e r w i s e   ( f a l s e   o r   u n s p e c i f i e d ) .   D e f a u l t s   t o   f a l s e . v o l u m e M o u n t s . r e c u r s i v e R e a d O n l y   ( s t r i n g ) R e c u r s i v e R e a d O n l y   s p e c i f i e s   w ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23402"
  },
  {
    "question": "What is Resources?",
    "answer": "r e s o u r c e s   ( R e s o u r c e R e q u i r e m e n t s ) C o m p u t e   R e s o u r c e s   r e q u i r e d   b y   t h i s   c o n t a i n e r .   C a n n o t   b e   u p d a t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n f i g u r a t i o n / m a n a g e - r e s o u r c e s - c o n t a i n e r s / R e s o u r c e R e q u i r e m e n t s   d e s c r i b e s   t h e   c o m p u t e   r e s o u r c e   r e q u i r e m e n t s . r e s o u r c e s . c l a i m s   ( [ ] R e s o u r c e C l a i m ) M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e C l a i m s   l i s t s   t h e   n a m e s   o f   r e s o u r c e s ,   d e f i n e d   i n   s p e c . r e s o u r c e C l a i m s ,   t h a t   a r e   u s e d   b y   t h i s   c o n t a i n e r . T h i s   f i e l d   d e p e n d s   o n   t h e   D y n a m i c R e s o u r c e A l l o c a t i o n   f e a t u r e   g a t e . T h i s   f i e l d   i s   i m m u t a b l e .   I t   c a n   o n l y   b e   s e t   f o r   c o n t a i n e r s . R e s o u r c e C l a i m   r e f e r e n c e s   o n e   e n t r y   i n   P o d S p e c . R e s o u r c e C l a i m s . r e s o u r c e s . c l a i m s . n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   m u s t   m a t c h   t h e   n a m e   o f   o n e   e n t r y   i n   p o d . s p e c . r e s o u r c e C l a i m s   o f   t h e   P o d   w h e r e   t h i s   f i e l d   i s   u s e d .   I t   m a k e s   t h a t   r e s o u r c e   a v a i l a b l e   i n s i d e   a   c o n t a i n e r . r e s o u r c e s . c l a i m s . r e q u e s t   ( s t r i n g ) R e q u e s t   i s   t h e   n a m e   c h o s e n   f o r   a   r e q u e s t   i n   t h e   r e f e r e n c e d   c l a i m .   I f   e m p t y ,   e v e r y t h i n g   f r o m   t h e   c l a i m   i s   m a d e   a v a i l a b l e ,   o t h e r w i s e   o n l y   t h e   r e s u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23403"
  },
  {
    "question": "What is Lifecycle?",
    "answer": "l i f e c y c l e   ( L i f e c y c l e ) A c t i o n s   t h a t   t h e   m a n a g e m e n t   s y s t e m   s h o u l d   t a k e   i n   r e s p o n s e   t o   c o n t a i n e r   l i f e c y c l e   e v e n t s .   C a n n o t   b e   u p d a t e d . L i f e c y c l e   d e s c r i b e s   a c t i o n s   t h a t   t h e   m a n a g e m e n t   s y s t e m   s h o u l d   t a k e   i n   r e s p o n s e   t o   c o n t a i n e r   l i f e c y c l e   e v e n t s .   F o r   t h e   P o s t S t a r t   a n d   P r e S t o p   l i f e c y c l e   h a n d l e r s ,   m a n a g e m e n t   o f   t h e   c o n t a i n e r   b l o c k s   u n t i l   t h e   a c t i o n   i s   c o m p l e t e ,   u n l e s s   t h e   c o n t a i n e r   p r o c e s s   f a i l s ,   i n   w h i c h   c a s e   t h e   h a n d l e r   i s   a b o r t e d . l i f e c y c l e . p o s t S t a r t   ( L i f e c y c l e H a n d l e r ) P o s t S t a r t   i s   c a l l e d   i m m e d i a t e l y   a f t e r   a   c o n t a i n e r   i s   c r e a t e d .   I f   t h e   h a n d l e r   f a i l s ,   t h e   c o n t a i n e r   i s   t e r m i n a t e d   a n d   r e s t a r t e d   a c c o r d i n g   t o   i t s   r e s t a r t   p o l i c y .   O t h e r   m a n a g e m e n t   o f   t h e   c o n t a i n e r   b l o c k s   u n t i l   t h e   h o o k   c o m p l e t e s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / c o n t a i n e r - l i f e c y c l e - h o o k s / # c o n t a i n e r - h o o k s l i f e c y c l e . p r e S t o p   ( L i f e c y c l e H a n d l e r ) P r e S t o p   i s   c a l l e d   i m m e d i a t e l y   b e f o r e   a   c o n t a i n e r   i s   t e r m i n a t e d   d u e   t o   a n   A P I   r e q u e s t   o r   m a n a g e m e n t   e v e n t   s u c h   a s   l i v e n e s s / s t a r t u p   p r o b e   f a i l u r e ,   p r e e m p t i o n ,   r e s o u r c e   c o n t e n t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23404"
  },
  {
    "question": "What is Security Context?",
    "answer": "s e c u r i t y C o n t e x t   ( S e c u r i t y C o n t e x t ) S e c u r i t y C o n t e x t   d e f i n e s   t h e   s e c u r i t y   o p t i o n s   t h e   c o n t a i n e r   s h o u l d   b e   r u n   w i t h .   I f   s e t ,   t h e   f i e l d s   o f   S e c u r i t y C o n t e x t   o v e r r i d e   t h e   e q u i v a l e n t   f i e l d s   o f   P o d S e c u r i t y C o n t e x t .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / c o n f i g u r e - p o d - c o n t a i n e r / s e c u r i t y - c o n t e x t / S e c u r i t y C o n t e x t   h o l d s   s e c u r i t y   c o n f i g u r a t i o n   t h a t   w i l l   b e   a p p l i e d   t o   a   c o n t a i n e r .   S o m e   f i e l d s   a r e   p r e s e n t   i n   b o t h   S e c u r i t y C o n t e x t   a n d   P o d S e c u r i t y C o n t e x t .   W h e n   b o t h   a r e   s e t ,   t h e   v a l u e s   i n   S e c u r i t y C o n t e x t   t a k e   p r e c e d e n c e . s e c u r i t y C o n t e x t . a l l o w P r i v i l e g e E s c a l a t i o n   ( b o o l e a n ) A l l o w P r i v i l e g e E s c a l a t i o n   c o n t r o l s   w h e t h e r   a   p r o c e s s   c a n   g a i n   m o r e   p r i v i l e g e s   t h a n   i t s   p a r e n t   p r o c e s s .   T h i s   b o o l   d i r e c t l y   c o n t r o l s   i f   t h e   n o _ n e w _ p r i v s   f l a g   w i l l   b e   s e t   o n   t h e   c o n t a i n e r   p r o c e s s .   A l l o w P r i v i l e g e E s c a l a t i o n   i s   t r u e   a l w a y s   w h e n   t h e   c o n t a i n e r   i s :   1 )   r u n   a s   P r i v i l e g e d   2 )   h a s   C A P _ S Y S _ A D M I N   N o t e   t h a t   t h i s   f i e l d   c a n n o t   b e   s e t   w h e n   s p e c . o s . n a m e   i s   w i n d o w s . s e c u r i t y C o n t e x t . a p p A r m o r P r o f i l e   ( A p p A r m o r P r o f i l e ) a p p A r m o r P r o f i l e   i s   t h e   A p p A r m o r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23405"
  },
  {
    "question": "What is Debugging?",
    "answer": "s t d i n   ( b o o l e a n ) W h e t h e r   t h i s   c o n t a i n e r   s h o u l d   a l l o c a t e   a   b u f f e r   f o r   s t d i n   i n   t h e   c o n t a i n e r   r u n t i m e .   I f   t h i s   i s   n o t   s e t ,   r e a d s   f r o m   s t d i n   i n   t h e   c o n t a i n e r   w i l l   a l w a y s   r e s u l t   i n   E O F .   D e f a u l t   i s   f a l s e . s t d i n O n c e   ( b o o l e a n ) W h e t h e r   t h e   c o n t a i n e r   r u n t i m e   s h o u l d   c l o s e   t h e   s t d i n   c h a n n e l   a f t e r   i t   h a s   b e e n   o p e n e d   b y   a   s i n g l e   a t t a c h .   W h e n   s t d i n   i s   t r u e   t h e   s t d i n   s t r e a m   w i l l   r e m a i n   o p e n   a c r o s s   m u l t i p l e   a t t a c h   s e s s i o n s .   I f   s t d i n O n c e   i s   s e t   t o   t r u e ,   s t d i n   i s   o p e n e d   o n   c o n t a i n e r   s t a r t ,   i s   e m p t y   u n t i l   t h e   f i r s t   c l i e n t   a t t a c h e s   t o   s t d i n ,   a n d   t h e n   r e m a i n s   o p e n   a n d   a c c e p t s   d a t a   u n t i l   t h e   c l i e n t   d i s c o n n e c t s ,   a t   w h i c h   t i m e   s t d i n   i s   c l o s e d   a n d   r e m a i n s   c l o s e d   u n t i l   t h e   c o n t a i n e r   i s   r e s t a r t e d .   I f   t h i s   f l a g   i s   f a l s e ,   a   c o n t a i n e r   p r o c e s s e s   t h a t   r e a d s   f r o m   s t d i n   w i l l   n e v e r   r e c e i v e   a n   E O F .   D e f a u l t   i s   f a l s e t t y   ( b o o l e a n ) W h e t h e r   t h i s   c o n t a i n e r   s h o u l d   a l l o c a t e   a   T T Y   f o r   i t s e l f ,   a l s o   r e q u i r e s   ' s t d i n '   t o   b e   t r u e .   D e f a u l t   i s   f a l s e .   s t d i n   ( b o o l e a n )   W h e t h e r   t h i s   c o n t a i n e r   s h o u l d   a l l o c a t e   a   b u f f e r   f o r   s t d i n   i n   t h e   c o n t a i n e r   r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23406"
  },
  {
    "question": "What is EphemeralContainer?",
    "answer": "A n   E p h e m e r a l C o n t a i n e r   i s   a   t e m p o r a r y   c o n t a i n e r   t h a t   y o u   m a y   a d d   t o   a n   e x i s t i n g   P o d   f o r   u s e r - i n i t i a t e d   a c t i v i t i e s   s u c h   a s   d e b u g g i n g .   E p h e m e r a l   c o n t a i n e r s   h a v e   n o   r e s o u r c e   o r   s c h e d u l i n g   g u a r a n t e e s ,   a n d   t h e y   w i l l   n o t   b e   r e s t a r t e d   w h e n   t h e y   e x i t   o r   w h e n   a   P o d   i s   r e m o v e d   o r   r e s t a r t e d .   T h e   k u b e l e t   m a y   e v i c t   a   P o d   i f   a n   e p h e m e r a l   c o n t a i n e r   c a u s e s   t h e   P o d   t o   e x c e e d   i t s   r e s o u r c e   a l l o c a t i o n .   T o   a d d   a n   e p h e m e r a l   c o n t a i n e r ,   u s e   t h e   e p h e m e r a l c o n t a i n e r s   s u b r e s o u r c e   o f   a n   e x i s t i n g   P o d .   E p h e m e r a l   c o n t a i n e r s   m a y   n o t   b e   r e m o v e d   o r   r e s t a r t e d .   n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   o f   t h e   e p h e m e r a l   c o n t a i n e r   s p e c i f i e d   a s   a   D N S _ L A B E L .   T h i s   n a m e   m u s t   b e   u n i q u e   a m o n g   a l l   c o n t a i n e r s ,   i n i t   c o n t a i n e r s   a n d   e p h e m e r a l   c o n t a i n e r s . t a r g e t C o n t a i n e r N a m e   ( s t r i n g ) I f   s e t ,   t h e   n a m e   o f   t h e   c o n t a i n e r   f r o m   P o d S p e c   t h a t   t h i s   e p h e m e r a l   c o n t a i n e r   t a r g e t s .   T h e   e p h e m e r a l   c o n t a i n e r   w i l l   b e   r u n   i n   t h e   n a m e s p a c e s   ( I P C ,   P I D ,   e t c )   o f   t h i s   c o n t a i n e r .   I f   n o t   s e t   t h e n   t h e   e p h e m e r a l   c o n t a i n e r   u s e s   t h e   n a m e s p a c e s   c o n f i g u r e d   i n   t h e   P o d   s p e c . T h e   c o n t a i n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23407"
  },
  {
    "question": "What is Image?",
    "answer": "i m a g e   ( s t r i n g ) C o n t a i n e r   i m a g e   n a m e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / i m a g e s i m a g e P u l l P o l i c y   ( s t r i n g ) I m a g e   p u l l   p o l i c y .   O n e   o f   A l w a y s ,   N e v e r ,   I f N o t P r e s e n t .   D e f a u l t s   t o   A l w a y s   i f   : l a t e s t   t a g   i s   s p e c i f i e d ,   o r   I f N o t P r e s e n t   o t h e r w i s e .   C a n n o t   b e   u p d a t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / i m a g e s # u p d a t i n g - i m a g e s   i m a g e   ( s t r i n g )   C o n t a i n e r   i m a g e   n a m e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / i m a g e s   i m a g e P u l l P o l i c y   ( s t r i n g )   I m a g e   p u l l   p o l i c y .   O n e   o f   A l w a y s ,   N e v e r ,   I f N o t P r e s e n t .   D e f a u l t s   t o   A l w a y s   i f   : l a t e s t   t a g   i s   s p e c i f i e d ,   o r   I f N o t P r e s e n t   o t h e r w i s e .   C a n n o t   b e   u p d a t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / i m a g e s # u p d a t i n g - i m a g e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23408"
  },
  {
    "question": "What is Entrypoint?",
    "answer": "c o m m a n d   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e E n t r y p o i n t   a r r a y .   N o t   e x e c u t e d   w i t h i n   a   s h e l l .   T h e   i m a g e ' s   E N T R Y P O I N T   i s   u s e d   i f   t h i s   i s   n o t   p r o v i d e d .   V a r i a b l e   r e f e r e n c e s   $ ( V A R _ N A M E )   a r e   e x p a n d e d   u s i n g   t h e   c o n t a i n e r ' s   e n v i r o n m e n t .   I f   a   v a r i a b l e   c a n n o t   b e   r e s o l v e d ,   t h e   r e f e r e n c e   i n   t h e   i n p u t   s t r i n g   w i l l   b e   u n c h a n g e d .   D o u b l e   $ $   a r e   r e d u c e d   t o   a   s i n g l e   $ ,   w h i c h   a l l o w s   f o r   e s c a p i n g   t h e   $ ( V A R _ N A M E )   s y n t a x :   i . e .   \" $ $ ( V A R _ N A M E ) \"   w i l l   p r o d u c e   t h e   s t r i n g   l i t e r a l   \" $ ( V A R _ N A M E ) \" .   E s c a p e d   r e f e r e n c e s   w i l l   n e v e r   b e   e x p a n d e d ,   r e g a r d l e s s   o f   w h e t h e r   t h e   v a r i a b l e   e x i s t s   o r   n o t .   C a n n o t   b e   u p d a t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / i n j e c t - d a t a - a p p l i c a t i o n / d e f i n e - c o m m a n d - a r g u m e n t - c o n t a i n e r / # r u n n i n g - a - c o m m a n d - i n - a - s h e l l a r g s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A r g u m e n t s   t o   t h e   e n t r y p o i n t .   T h e   i m a g e ' s   C M D   i s   u s e d   i f   t h i s   i s   n o t   p r o v i d e d .   V a r i a b l e   r e f e r e n c e s   $ ( V A R _ N A M E )   a r e   e x p a n d e d   u s i n g   t h e   c o n t a i n e r ' s   e n v i r o n m e n t .   I f   a   v a r i a b l e   c a n n o t   b e   r e s o l v e d ,   t h e   r e f e r e n c e   i n   t h e   i n p u t   s t r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23409"
  },
  {
    "question": "What is Environment variables?",
    "answer": "e n v   ( [ ] E n v V a r ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   n a m e M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e L i s t   o f   e n v i r o n m e n t   v a r i a b l e s   t o   s e t   i n   t h e   c o n t a i n e r .   C a n n o t   b e   u p d a t e d . E n v V a r   r e p r e s e n t s   a n   e n v i r o n m e n t   v a r i a b l e   p r e s e n t   i n   a   C o n t a i n e r . e n v . n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   o f   t h e   e n v i r o n m e n t   v a r i a b l e .   M a y   c o n s i s t   o f   a n y   p r i n t a b l e   A S C I I   c h a r a c t e r s   e x c e p t   ' = ' . e n v . v a l u e   ( s t r i n g ) V a r i a b l e   r e f e r e n c e s   $ ( V A R _ N A M E )   a r e   e x p a n d e d   u s i n g   t h e   p r e v i o u s l y   d e f i n e d   e n v i r o n m e n t   v a r i a b l e s   i n   t h e   c o n t a i n e r   a n d   a n y   s e r v i c e   e n v i r o n m e n t   v a r i a b l e s .   I f   a   v a r i a b l e   c a n n o t   b e   r e s o l v e d ,   t h e   r e f e r e n c e   i n   t h e   i n p u t   s t r i n g   w i l l   b e   u n c h a n g e d .   D o u b l e   $ $   a r e   r e d u c e d   t o   a   s i n g l e   $ ,   w h i c h   a l l o w s   f o r   e s c a p i n g   t h e   $ ( V A R _ N A M E )   s y n t a x :   i . e .   \" $ $ ( V A R _ N A M E ) \"   w i l l   p r o d u c e   t h e   s t r i n g   l i t e r a l   \" $ ( V A R _ N A M E ) \" .   E s c a p e d   r e f e r e n c e s   w i l l   n e v e r   b e   e x p a n d e d ,   r e g a r d l e s s   o f   w h e t h e r   t h e   v a r i a b l e   e x i s t s   o r   n o t .   D e f a u l t s   t o   \" \" . e n v . v a l u e F r o m   ( E n v V a r S o u r c e ) S o u r c e   f o r   t h e   e n v i r o n m e n t   v a r i a b l e ' s   v a l u e .   C a n n o t   b e   u s e d   i f   v a l u e   i s   n o t   e m p t y . E n v V a r S o u r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23410"
  },
  {
    "question": "What is Volumes?",
    "answer": "v o l u m e M o u n t s   ( [ ] V o l u m e M o u n t ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   m o u n t P a t h M a p :   u n i q u e   v a l u e s   o n   k e y   m o u n t P a t h   w i l l   b e   k e p t   d u r i n g   a   m e r g e P o d   v o l u m e s   t o   m o u n t   i n t o   t h e   c o n t a i n e r ' s   f i l e s y s t e m .   S u b p a t h   m o u n t s   a r e   n o t   a l l o w e d   f o r   e p h e m e r a l   c o n t a i n e r s .   C a n n o t   b e   u p d a t e d . V o l u m e M o u n t   d e s c r i b e s   a   m o u n t i n g   o f   a   V o l u m e   w i t h i n   a   c o n t a i n e r . v o l u m e M o u n t s . m o u n t P a t h   ( s t r i n g ) ,   r e q u i r e d P a t h   w i t h i n   t h e   c o n t a i n e r   a t   w h i c h   t h e   v o l u m e   s h o u l d   b e   m o u n t e d .   M u s t   n o t   c o n t a i n   ' : ' . v o l u m e M o u n t s . n a m e   ( s t r i n g ) ,   r e q u i r e d T h i s   m u s t   m a t c h   t h e   N a m e   o f   a   V o l u m e . v o l u m e M o u n t s . m o u n t P r o p a g a t i o n   ( s t r i n g ) m o u n t P r o p a g a t i o n   d e t e r m i n e s   h o w   m o u n t s   a r e   p r o p a g a t e d   f r o m   t h e   h o s t   t o   c o n t a i n e r   a n d   t h e   o t h e r   w a y   a r o u n d .   W h e n   n o t   s e t ,   M o u n t P r o p a g a t i o n N o n e   i s   u s e d .   T h i s   f i e l d   i s   b e t a   i n   1 . 1 0 .   W h e n   R e c u r s i v e R e a d O n l y   i s   s e t   t o   I f P o s s i b l e   o r   t o   E n a b l e d ,   M o u n t P r o p a g a t i o n   m u s t   b e   N o n e   o r   u n s p e c i f i e d   ( w h i c h   d e f a u l t s   t o   N o n e ) . v o l u m e M o u n t s . r e a d O n l y   ( b o o l e a n ) M o u n t e d   r e a d - o n l y   i f   t r u e ,   r e a d - w r i t e   o t h e r w i s e   ( f a l s e   o r   u n s p e c i f i e d ) .   D e f a u l t s   t o   f a l s e . v o l u m e M o u n t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23411"
  },
  {
    "question": "What is Resources?",
    "answer": "r e s i z e P o l i c y   ( [ ] C o n t a i n e r R e s i z e P o l i c y ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e R e s o u r c e s   r e s i z e   p o l i c y   f o r   t h e   c o n t a i n e r . C o n t a i n e r R e s i z e P o l i c y   r e p r e s e n t s   r e s o u r c e   r e s i z e   p o l i c y   f o r   t h e   c o n t a i n e r . r e s i z e P o l i c y . r e s o u r c e N a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   o f   t h e   r e s o u r c e   t o   w h i c h   t h i s   r e s o u r c e   r e s i z e   p o l i c y   a p p l i e s .   S u p p o r t e d   v a l u e s :   c p u ,   m e m o r y . r e s i z e P o l i c y . r e s t a r t P o l i c y   ( s t r i n g ) ,   r e q u i r e d R e s t a r t   p o l i c y   t o   a p p l y   w h e n   s p e c i f i e d   r e s o u r c e   i s   r e s i z e d .   I f   n o t   s p e c i f i e d ,   i t   d e f a u l t s   t o   N o t R e q u i r e d .   r e s i z e P o l i c y   ( [ ] C o n t a i n e r R e s i z e P o l i c y )   A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e   R e s o u r c e s   r e s i z e   p o l i c y   f o r   t h e   c o n t a i n e r .   C o n t a i n e r R e s i z e P o l i c y   r e p r e s e n t s   r e s o u r c e   r e s i z e   p o l i c y   f o r   t h e   c o n t a i n e r .   r e s i z e P o l i c y . r e s o u r c e N a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   o f   t h e   r e s o u r c e   t o   w h i c h   t h i s   r e s o u r c e   r e s i z e   p o l i c y   a p p l i e s .   S u p p o r t e d   v a l u e s :   c p u ,   m e m o r y . r e s i z e P o l i c y . r e s t a r t P o l i c y   ( s t r i n g ) ,   r e q u i r e d R e s t a r t   p o l i c y   t o   a p p l y   w h e n   s p e c i f i e d   r e s o u r c e   i s   r e s i z e d .   I f   n o t   s p e c i f i e d ,   i t   d e f a u l t s   t o   N o t R e q u i r e d .   r e s i z e P o l i c y . r e s o u r c e N a m e   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23412"
  },
  {
    "question": "What is Lifecycle?",
    "answer": "t e r m i n a t i o n M e s s a g e P a t h   ( s t r i n g ) O p t i o n a l :   P a t h   a t   w h i c h   t h e   f i l e   t o   w h i c h   t h e   c o n t a i n e r ' s   t e r m i n a t i o n   m e s s a g e   w i l l   b e   w r i t t e n   i s   m o u n t e d   i n t o   t h e   c o n t a i n e r ' s   f i l e s y s t e m .   M e s s a g e   w r i t t e n   i s   i n t e n d e d   t o   b e   b r i e f   f i n a l   s t a t u s ,   s u c h   a s   a n   a s s e r t i o n   f a i l u r e   m e s s a g e .   W i l l   b e   t r u n c a t e d   b y   t h e   n o d e   i f   g r e a t e r   t h a n   4 0 9 6   b y t e s .   T h e   t o t a l   m e s s a g e   l e n g t h   a c r o s s   a l l   c o n t a i n e r s   w i l l   b e   l i m i t e d   t o   1 2 k b .   D e f a u l t s   t o   / d e v / t e r m i n a t i o n - l o g .   C a n n o t   b e   u p d a t e d . t e r m i n a t i o n M e s s a g e P o l i c y   ( s t r i n g ) I n d i c a t e   h o w   t h e   t e r m i n a t i o n   m e s s a g e   s h o u l d   b e   p o p u l a t e d .   F i l e   w i l l   u s e   t h e   c o n t e n t s   o f   t e r m i n a t i o n M e s s a g e P a t h   t o   p o p u l a t e   t h e   c o n t a i n e r   s t a t u s   m e s s a g e   o n   b o t h   s u c c e s s   a n d   f a i l u r e .   F a l l b a c k T o L o g s O n E r r o r   w i l l   u s e   t h e   l a s t   c h u n k   o f   c o n t a i n e r   l o g   o u t p u t   i f   t h e   t e r m i n a t i o n   m e s s a g e   f i l e   i s   e m p t y   a n d   t h e   c o n t a i n e r   e x i t e d   w i t h   a n   e r r o r .   T h e   l o g   o u t p u t   i s   l i m i t e d   t o   2 0 4 8   b y t e s   o r   8 0   l i n e s ,   w h i c h e v e r   i s   s m a l l e r .   D e f a u l t s   t o   F i l e .   C a n n o t   b e   u p d a t e d . r e s t a r t P o l i c y   ( s t r i n g ) R e s t a r t   p o l i c y   f o r   t h e   c o n t a i n e r   t o   m a n a g e   t h e   r e s t a r t   b e h a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23413"
  },
  {
    "question": "What is Debugging?",
    "answer": "s t d i n   ( b o o l e a n ) W h e t h e r   t h i s   c o n t a i n e r   s h o u l d   a l l o c a t e   a   b u f f e r   f o r   s t d i n   i n   t h e   c o n t a i n e r   r u n t i m e .   I f   t h i s   i s   n o t   s e t ,   r e a d s   f r o m   s t d i n   i n   t h e   c o n t a i n e r   w i l l   a l w a y s   r e s u l t   i n   E O F .   D e f a u l t   i s   f a l s e . s t d i n O n c e   ( b o o l e a n ) W h e t h e r   t h e   c o n t a i n e r   r u n t i m e   s h o u l d   c l o s e   t h e   s t d i n   c h a n n e l   a f t e r   i t   h a s   b e e n   o p e n e d   b y   a   s i n g l e   a t t a c h .   W h e n   s t d i n   i s   t r u e   t h e   s t d i n   s t r e a m   w i l l   r e m a i n   o p e n   a c r o s s   m u l t i p l e   a t t a c h   s e s s i o n s .   I f   s t d i n O n c e   i s   s e t   t o   t r u e ,   s t d i n   i s   o p e n e d   o n   c o n t a i n e r   s t a r t ,   i s   e m p t y   u n t i l   t h e   f i r s t   c l i e n t   a t t a c h e s   t o   s t d i n ,   a n d   t h e n   r e m a i n s   o p e n   a n d   a c c e p t s   d a t a   u n t i l   t h e   c l i e n t   d i s c o n n e c t s ,   a t   w h i c h   t i m e   s t d i n   i s   c l o s e d   a n d   r e m a i n s   c l o s e d   u n t i l   t h e   c o n t a i n e r   i s   r e s t a r t e d .   I f   t h i s   f l a g   i s   f a l s e ,   a   c o n t a i n e r   p r o c e s s e s   t h a t   r e a d s   f r o m   s t d i n   w i l l   n e v e r   r e c e i v e   a n   E O F .   D e f a u l t   i s   f a l s e t t y   ( b o o l e a n ) W h e t h e r   t h i s   c o n t a i n e r   s h o u l d   a l l o c a t e   a   T T Y   f o r   i t s e l f ,   a l s o   r e q u i r e s   ' s t d i n '   t o   b e   t r u e .   D e f a u l t   i s   f a l s e .   s t d i n   ( b o o l e a n )   W h e t h e r   t h i s   c o n t a i n e r   s h o u l d   a l l o c a t e   a   b u f f e r   f o r   s t d i n   i n   t h e   c o n t a i n e r   r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23414"
  },
  {
    "question": "What is Security context?",
    "answer": "s e c u r i t y C o n t e x t   ( S e c u r i t y C o n t e x t ) O p t i o n a l :   S e c u r i t y C o n t e x t   d e f i n e s   t h e   s e c u r i t y   o p t i o n s   t h e   e p h e m e r a l   c o n t a i n e r   s h o u l d   b e   r u n   w i t h .   I f   s e t ,   t h e   f i e l d s   o f   S e c u r i t y C o n t e x t   o v e r r i d e   t h e   e q u i v a l e n t   f i e l d s   o f   P o d S e c u r i t y C o n t e x t . S e c u r i t y C o n t e x t   h o l d s   s e c u r i t y   c o n f i g u r a t i o n   t h a t   w i l l   b e   a p p l i e d   t o   a   c o n t a i n e r .   S o m e   f i e l d s   a r e   p r e s e n t   i n   b o t h   S e c u r i t y C o n t e x t   a n d   P o d S e c u r i t y C o n t e x t .   W h e n   b o t h   a r e   s e t ,   t h e   v a l u e s   i n   S e c u r i t y C o n t e x t   t a k e   p r e c e d e n c e . s e c u r i t y C o n t e x t . a l l o w P r i v i l e g e E s c a l a t i o n   ( b o o l e a n ) A l l o w P r i v i l e g e E s c a l a t i o n   c o n t r o l s   w h e t h e r   a   p r o c e s s   c a n   g a i n   m o r e   p r i v i l e g e s   t h a n   i t s   p a r e n t   p r o c e s s .   T h i s   b o o l   d i r e c t l y   c o n t r o l s   i f   t h e   n o _ n e w _ p r i v s   f l a g   w i l l   b e   s e t   o n   t h e   c o n t a i n e r   p r o c e s s .   A l l o w P r i v i l e g e E s c a l a t i o n   i s   t r u e   a l w a y s   w h e n   t h e   c o n t a i n e r   i s :   1 )   r u n   a s   P r i v i l e g e d   2 )   h a s   C A P _ S Y S _ A D M I N   N o t e   t h a t   t h i s   f i e l d   c a n n o t   b e   s e t   w h e n   s p e c . o s . n a m e   i s   w i n d o w s . s e c u r i t y C o n t e x t . a p p A r m o r P r o f i l e   ( A p p A r m o r P r o f i l e ) a p p A r m o r P r o f i l e   i s   t h e   A p p A r m o r   o p t i o n s   t o   u s e   b y   t h i s   c o n t a i n e r .   I f   s e t ,   t h i s   p r o f i l e   o v e r r i d e s   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23415"
  },
  {
    "question": "What is Not allowed?",
    "answer": "p o r t s   ( [ ] C o n t a i n e r P o r t ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   c o n t a i n e r P o r t M a p :   u n i q u e   v a l u e s   o n   k e y s   c o n t a i n e r P o r t ,   p r o t o c o l   w i l l   b e   k e p t   d u r i n g   a   m e r g e P o r t s   a r e   n o t   a l l o w e d   f o r   e p h e m e r a l   c o n t a i n e r s . C o n t a i n e r P o r t   r e p r e s e n t s   a   n e t w o r k   p o r t   i n   a   s i n g l e   c o n t a i n e r . p o r t s . c o n t a i n e r P o r t   ( i n t 3 2 ) ,   r e q u i r e d N u m b e r   o f   p o r t   t o   e x p o s e   o n   t h e   p o d ' s   I P   a d d r e s s .   T h i s   m u s t   b e   a   v a l i d   p o r t   n u m b e r ,   0   <   x   <   6 5 5 3 6 . p o r t s . h o s t I P   ( s t r i n g ) W h a t   h o s t   I P   t o   b i n d   t h e   e x t e r n a l   p o r t   t o . p o r t s . h o s t P o r t   ( i n t 3 2 ) N u m b e r   o f   p o r t   t o   e x p o s e   o n   t h e   h o s t .   I f   s p e c i f i e d ,   t h i s   m u s t   b e   a   v a l i d   p o r t   n u m b e r ,   0   <   x   <   6 5 5 3 6 .   I f   H o s t N e t w o r k   i s   s p e c i f i e d ,   t h i s   m u s t   m a t c h   C o n t a i n e r P o r t .   M o s t   c o n t a i n e r s   d o   n o t   n e e d   t h i s . p o r t s . n a m e   ( s t r i n g ) I f   s p e c i f i e d ,   t h i s   m u s t   b e   a n   I A N A _ S V C _ N A M E   a n d   u n i q u e   w i t h i n   t h e   p o d .   E a c h   n a m e d   p o r t   i n   a   p o d   m u s t   h a v e   a   u n i q u e   n a m e .   N a m e   f o r   t h e   p o r t   t h a t   c a n   b e   r e f e r r e d   t o   b y   s e r v i c e s . p o r t s . p r o t o c o l   ( s t r i n g ) P r o t o c o l   f o r   p o r t .   M u s t   b e   U D P ,   T C P ,   o r   S C T P .   D e f a u l t s   t o   \" T C P \" . r e s o u r c e s   ( R e s o u r c e R e q u i r e m e n t s ) R e s o u r c e s   a r e   n o t   a l l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23416"
  },
  {
    "question": "What is LifecycleHandler?",
    "answer": "L i f e c y c l e H a n d l e r   d e f i n e s   a   s p e c i f i c   a c t i o n   t h a t   s h o u l d   b e   t a k e n   i n   a   l i f e c y c l e   h o o k .   O n e   a n d   o n l y   o n e   o f   t h e   f i e l d s ,   e x c e p t   T C P S o c k e t   m u s t   b e   s p e c i f i e d .   e x e c   ( E x e c A c t i o n ) E x e c   s p e c i f i e s   a   c o m m a n d   t o   e x e c u t e   i n   t h e   c o n t a i n e r . E x e c A c t i o n   d e s c r i b e s   a   \" r u n   i n   c o n t a i n e r \"   a c t i o n . e x e c . c o m m a n d   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e C o m m a n d   i s   t h e   c o m m a n d   l i n e   t o   e x e c u t e   i n s i d e   t h e   c o n t a i n e r ,   t h e   w o r k i n g   d i r e c t o r y   f o r   t h e   c o m m a n d   i s   r o o t   ( ' / ' )   i n   t h e   c o n t a i n e r ' s   f i l e s y s t e m .   T h e   c o m m a n d   i s   s i m p l y   e x e c ' d ,   i t   i s   n o t   r u n   i n s i d e   a   s h e l l ,   s o   t r a d i t i o n a l   s h e l l   i n s t r u c t i o n s   ( ' | ' ,   e t c )   w o n ' t   w o r k .   T o   u s e   a   s h e l l ,   y o u   n e e d   t o   e x p l i c i t l y   c a l l   o u t   t o   t h a t   s h e l l .   E x i t   s t a t u s   o f   0   i s   t r e a t e d   a s   l i v e / h e a l t h y   a n d   n o n - z e r o   i s   u n h e a l t h y . h t t p G e t   ( H T T P G e t A c t i o n ) H T T P G e t   s p e c i f i e s   a n   H T T P   G E T   r e q u e s t   t o   p e r f o r m . H T T P G e t A c t i o n   d e s c r i b e s   a n   a c t i o n   b a s e d   o n   H T T P   G e t   r e q u e s t s . h t t p G e t . p o r t   ( I n t O r S t r i n g ) ,   r e q u i r e d N a m e   o r   n u m b e r   o f   t h e   p o r t   t o   a c c e s s   o n   t h e   c o n t a i n e r .   N u m b e r   m u s t   b e   i n   t h e   r a n g e   1   t o   6 5 5 3 5 .   N a m e   m u s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23417"
  },
  {
    "question": "What is NodeAffinity?",
    "answer": "N o d e   a f f i n i t y   i s   a   g r o u p   o f   n o d e   a f f i n i t y   s c h e d u l i n g   r u l e s .   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   ( [ ] P r e f e r r e d S c h e d u l i n g T e r m ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e T h e   s c h e d u l e r   w i l l   p r e f e r   t o   s c h e d u l e   p o d s   t o   n o d e s   t h a t   s a t i s f y   t h e   a f f i n i t y   e x p r e s s i o n s   s p e c i f i e d   b y   t h i s   f i e l d ,   b u t   i t   m a y   c h o o s e   a   n o d e   t h a t   v i o l a t e s   o n e   o r   m o r e   o f   t h e   e x p r e s s i o n s .   T h e   n o d e   t h a t   i s   m o s t   p r e f e r r e d   i s   t h e   o n e   w i t h   t h e   g r e a t e s t   s u m   o f   w e i g h t s ,   i . e .   f o r   e a c h   n o d e   t h a t   m e e t s   a l l   o f   t h e   s c h e d u l i n g   r e q u i r e m e n t s   ( r e s o u r c e   r e q u e s t ,   r e q u i r e d D u r i n g S c h e d u l i n g   a f f i n i t y   e x p r e s s i o n s ,   e t c . ) ,   c o m p u t e   a   s u m   b y   i t e r a t i n g   t h r o u g h   t h e   e l e m e n t s   o f   t h i s   f i e l d   a n d   a d d i n g   \" w e i g h t \"   t o   t h e   s u m   i f   t h e   n o d e   m a t c h e s   t h e   c o r r e s p o n d i n g   m a t c h E x p r e s s i o n s ;   t h e   n o d e ( s )   w i t h   t h e   h i g h e s t   s u m   a r e   t h e   m o s t   p r e f e r r e d . A n   e m p t y   p r e f e r r e d   s c h e d u l i n g   t e r m   m a t c h e s   a l l   o b j e c t s   w i t h   i m p l i c i t   w e i g h t   0   ( i . e .   i t ' s   a   n o - o p ) .   A   n u l l   p r e f e r r e d   s c h e d u l i n g   t e r m   m a t c h e s   n o   o b j e c t s   ( i . e .   i s   a l s o   a   n o - o p ) . p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23418"
  },
  {
    "question": "What is PodAffinity?",
    "answer": "P o d   a f f i n i t y   i s   a   g r o u p   o f   i n t e r   p o d   a f f i n i t y   s c h e d u l i n g   r u l e s .   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   ( [ ] W e i g h t e d P o d A f f i n i t y T e r m ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e T h e   s c h e d u l e r   w i l l   p r e f e r   t o   s c h e d u l e   p o d s   t o   n o d e s   t h a t   s a t i s f y   t h e   a f f i n i t y   e x p r e s s i o n s   s p e c i f i e d   b y   t h i s   f i e l d ,   b u t   i t   m a y   c h o o s e   a   n o d e   t h a t   v i o l a t e s   o n e   o r   m o r e   o f   t h e   e x p r e s s i o n s .   T h e   n o d e   t h a t   i s   m o s t   p r e f e r r e d   i s   t h e   o n e   w i t h   t h e   g r e a t e s t   s u m   o f   w e i g h t s ,   i . e .   f o r   e a c h   n o d e   t h a t   m e e t s   a l l   o f   t h e   s c h e d u l i n g   r e q u i r e m e n t s   ( r e s o u r c e   r e q u e s t ,   r e q u i r e d D u r i n g S c h e d u l i n g   a f f i n i t y   e x p r e s s i o n s ,   e t c . ) ,   c o m p u t e   a   s u m   b y   i t e r a t i n g   t h r o u g h   t h e   e l e m e n t s   o f   t h i s   f i e l d   a n d   a d d i n g   \" w e i g h t \"   t o   t h e   s u m   i f   t h e   n o d e   h a s   p o d s   w h i c h   m a t c h e s   t h e   c o r r e s p o n d i n g   p o d A f f i n i t y T e r m ;   t h e   n o d e ( s )   w i t h   t h e   h i g h e s t   s u m   a r e   t h e   m o s t   p r e f e r r e d . T h e   w e i g h t s   o f   a l l   o f   t h e   m a t c h e d   W e i g h t e d P o d A f f i n i t y T e r m   f i e l d s   a r e   a d d e d   p e r - n o d e   t o   f i n d   t h e   m o s t   p r e f e r r e d   n o d e ( s ) p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n . p o d A f f i n i t y T e r m   ( P o d A f f i n i t y T e r m ) ,   r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23419"
  },
  {
    "question": "What is PodAntiAffinity?",
    "answer": "P o d   a n t i   a f f i n i t y   i s   a   g r o u p   o f   i n t e r   p o d   a n t i   a f f i n i t y   s c h e d u l i n g   r u l e s .   p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n   ( [ ] W e i g h t e d P o d A f f i n i t y T e r m ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e T h e   s c h e d u l e r   w i l l   p r e f e r   t o   s c h e d u l e   p o d s   t o   n o d e s   t h a t   s a t i s f y   t h e   a n t i - a f f i n i t y   e x p r e s s i o n s   s p e c i f i e d   b y   t h i s   f i e l d ,   b u t   i t   m a y   c h o o s e   a   n o d e   t h a t   v i o l a t e s   o n e   o r   m o r e   o f   t h e   e x p r e s s i o n s .   T h e   n o d e   t h a t   i s   m o s t   p r e f e r r e d   i s   t h e   o n e   w i t h   t h e   g r e a t e s t   s u m   o f   w e i g h t s ,   i . e .   f o r   e a c h   n o d e   t h a t   m e e t s   a l l   o f   t h e   s c h e d u l i n g   r e q u i r e m e n t s   ( r e s o u r c e   r e q u e s t ,   r e q u i r e d D u r i n g S c h e d u l i n g   a n t i - a f f i n i t y   e x p r e s s i o n s ,   e t c . ) ,   c o m p u t e   a   s u m   b y   i t e r a t i n g   t h r o u g h   t h e   e l e m e n t s   o f   t h i s   f i e l d   a n d   s u b t r a c t i n g   \" w e i g h t \"   f r o m   t h e   s u m   i f   t h e   n o d e   h a s   p o d s   w h i c h   m a t c h e s   t h e   c o r r e s p o n d i n g   p o d A f f i n i t y T e r m ;   t h e   n o d e ( s )   w i t h   t h e   h i g h e s t   s u m   a r e   t h e   m o s t   p r e f e r r e d . T h e   w e i g h t s   o f   a l l   o f   t h e   m a t c h e d   W e i g h t e d P o d A f f i n i t y T e r m   f i e l d s   a r e   a d d e d   p e r - n o d e   t o   f i n d   t h e   m o s t   p r e f e r r e d   n o d e ( s ) p r e f e r r e d D u r i n g S c h e d u l i n g I g n o r e d D u r i n g E x e c u t i o n . p o d A f f i n i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23420"
  },
  {
    "question": "What is Probe?",
    "answer": "P r o b e   d e s c r i b e s   a   h e a l t h   c h e c k   t o   b e   p e r f o r m e d   a g a i n s t   a   c o n t a i n e r   t o   d e t e r m i n e   w h e t h e r   i t   i s   a l i v e   o r   r e a d y   t o   r e c e i v e   t r a f f i c .   e x e c   ( E x e c A c t i o n ) E x e c   s p e c i f i e s   a   c o m m a n d   t o   e x e c u t e   i n   t h e   c o n t a i n e r . E x e c A c t i o n   d e s c r i b e s   a   \" r u n   i n   c o n t a i n e r \"   a c t i o n . e x e c . c o m m a n d   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e C o m m a n d   i s   t h e   c o m m a n d   l i n e   t o   e x e c u t e   i n s i d e   t h e   c o n t a i n e r ,   t h e   w o r k i n g   d i r e c t o r y   f o r   t h e   c o m m a n d   i s   r o o t   ( ' / ' )   i n   t h e   c o n t a i n e r ' s   f i l e s y s t e m .   T h e   c o m m a n d   i s   s i m p l y   e x e c ' d ,   i t   i s   n o t   r u n   i n s i d e   a   s h e l l ,   s o   t r a d i t i o n a l   s h e l l   i n s t r u c t i o n s   ( ' | ' ,   e t c )   w o n ' t   w o r k .   T o   u s e   a   s h e l l ,   y o u   n e e d   t o   e x p l i c i t l y   c a l l   o u t   t o   t h a t   s h e l l .   E x i t   s t a t u s   o f   0   i s   t r e a t e d   a s   l i v e / h e a l t h y   a n d   n o n - z e r o   i s   u n h e a l t h y . h t t p G e t   ( H T T P G e t A c t i o n ) H T T P G e t   s p e c i f i e s   a n   H T T P   G E T   r e q u e s t   t o   p e r f o r m . H T T P G e t A c t i o n   d e s c r i b e s   a n   a c t i o n   b a s e d   o n   H T T P   G e t   r e q u e s t s . h t t p G e t . p o r t   ( I n t O r S t r i n g ) ,   r e q u i r e d N a m e   o r   n u m b e r   o f   t h e   p o r t   t o   a c c e s s   o n   t h e   c o n t a i n e r .   N u m b e r   m u s t   b e   i n   t h e   r a n g e   1   t o   6 5 5 3 5 .   N a m e   m u s t   b e   a n   I A N A _ S V C _ N A M E . I n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23421"
  },
  {
    "question": "What is PodStatus?",
    "answer": "P o d S t a t u s   r e p r e s e n t s   i n f o r m a t i o n   a b o u t   t h e   s t a t u s   o f   a   p o d .   S t a t u s   m a y   t r a i l   t h e   a c t u a l   s t a t e   o f   a   s y s t e m ,   e s p e c i a l l y   i f   t h e   n o d e   t h a t   h o s t s   t h e   p o d   c a n n o t   c o n t a c t   t h e   c o n t r o l   p l a n e .   n o m i n a t e d N o d e N a m e   ( s t r i n g ) n o m i n a t e d N o d e N a m e   i s   s e t   o n l y   w h e n   t h i s   p o d   p r e e m p t s   o t h e r   p o d s   o n   t h e   n o d e ,   b u t   i t   c a n n o t   b e   s c h e d u l e d   r i g h t   a w a y   a s   p r e e m p t i o n   v i c t i m s   r e c e i v e   t h e i r   g r a c e f u l   t e r m i n a t i o n   p e r i o d s .   T h i s   f i e l d   d o e s   n o t   g u a r a n t e e   t h a t   t h e   p o d   w i l l   b e   s c h e d u l e d   o n   t h i s   n o d e .   S c h e d u l e r   m a y   d e c i d e   t o   p l a c e   t h e   p o d   e l s e w h e r e   i f   o t h e r   n o d e s   b e c o m e   a v a i l a b l e   s o o n e r .   S c h e d u l e r   m a y   a l s o   d e c i d e   t o   g i v e   t h e   r e s o u r c e s   o n   t h i s   n o d e   t o   a   h i g h e r   p r i o r i t y   p o d   t h a t   i s   c r e a t e d   a f t e r   p r e e m p t i o n .   A s   a   r e s u l t ,   t h i s   f i e l d   m a y   b e   d i f f e r e n t   t h a n   P o d S p e c . n o d e N a m e   w h e n   t h e   p o d   i s   s c h e d u l e d . h o s t I P   ( s t r i n g ) h o s t I P   h o l d s   t h e   I P   a d d r e s s   o f   t h e   h o s t   t o   w h i c h   t h e   p o d   i s   a s s i g n e d .   E m p t y   i f   t h e   p o d   h a s   n o t   s t a r t e d   y e t .   A   p o d   c a n   b e   a s s i g n e d   t o   a   n o d e   t h a t   h a s   a   p r o b l e m   i n   k u b e l e t   w h i c h   i n   t u r n s   m e a n   t h a t   H o s t I P   w i l l   n o t   b e   u p d a t e d   e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23422"
  },
  {
    "question": "What is PodList?",
    "answer": "P o d L i s t   i s   a   l i s t   o f   P o d s .   i t e m s   ( [ ] P o d ) ,   r e q u i r e d L i s t   o f   p o d s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] P o d ) ,   r e q u i r e d   L i s t   o f   p o d s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23423"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23424"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23425"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23426"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / e p h e m e r a l c o n t a i n e r s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23427"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23428"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23429"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / l o g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23430"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e c o n t a i n e r   ( i n   q u e r y ) :   s t r i n g T h e   c o n t a i n e r   f o r   w h i c h   t o   s t r e a m   l o g s .   D e f a u l t s   t o   o n l y   c o n t a i n e r   i f   t h e r e   i s   o n e   c o n t a i n e r   i n   t h e   p o d . f o l l o w   ( i n   q u e r y ) :   b o o l e a n F o l l o w   t h e   l o g   s t r e a m   o f   t h e   p o d .   D e f a u l t s   t o   f a l s e . i n s e c u r e S k i p T L S V e r i f y B a c k e n d   ( i n   q u e r y ) :   b o o l e a n i n s e c u r e S k i p T L S V e r i f y B a c k e n d   i n d i c a t e s   t h a t   t h e   a p i s e r v e r   s h o u l d   n o t   c o n f i r m   t h e   v a l i d i t y   o f   t h e   s e r v i n g   c e r t i f i c a t e   o f   t h e   b a c k e n d   i t   i s   c o n n e c t i n g   t o .   T h i s   w i l l   m a k e   t h e   H T T P S   c o n n e c t i o n   b e t w e e n   t h e   a p i s e r v e r   a n d   t h e   b a c k e n d   i n s e c u r e .   T h i s   m e a n s   t h e   a p i s e r v e r   c a n n o t   v e r i f y   t h e   l o g   d a t a   i t   i s   r e c e i v i n g   c a m e   f r o m   t h e   r e a l   k u b e l e t .   I f   t h e   k u b e l e t   i s   c o n f i g u r e d   t o   v e r i f y   t h e   a p i s e r v e r ' s   T L S   c r e d e n t i a l s ,   i t   d o e s   n o t   m e a n   t h e   c o n n e c t i o n   t o   t h e   r e a l   k u b e l e t   i s   v u l n e r a b l e   t o   a   m a n   i n   t h e   m i d d l e   a t t a c k   ( e . g .   a n   a t t a c k e r   c o u l d   n o t   i n t e r c e p t   t h e   a c t u a l   l o g   d a t a   c o m i n g   f r o m   t h e   r e a l   k u b e l e t ) . l i m i t B y t e s   ( i n   q u e r y ) :   i n t e g e r I f   s e t ,   t h e   n u m b e r   o f   b y t e s   t o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23431"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( s t r i n g ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23432"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / r e s i z e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23433"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23434"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23435"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23436"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23437"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23438"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23439"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23440"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23441"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / p o d s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23442"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23443"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23444"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23445"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23446"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   2 0 2   ( P o d ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23447"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23448"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23449"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23450"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / e p h e m e r a l c o n t a i n e r s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23451"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23452"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23453"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / r e s i z e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23454"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23455"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23456"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23457"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23458"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23459"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23460"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23461"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23462"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / e p h e m e r a l c o n t a i n e r s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23463"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23464"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23465"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / r e s i z e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23466"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23467"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23468"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23469"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23470"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 1   ( P o d ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23471"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23472"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23473"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d ) :   O K   2 0 2   ( P o d ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23474"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23475"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23476"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23477"
  },
  {
    "question": "What is 5.1.2 - Binding?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23478"
  },
  {
    "question": "What is Binding?",
    "answer": "B i n d i n g   t i e s   o n e   o b j e c t   t o   a n o t h e r ;   f o r   e x a m p l e ,   a   p o d   i s   b o u n d   t o   a   n o d e   b y   a   s c h e d u l e r .   a p i V e r s i o n :   v 1 k i n d :   B i n d i n g m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a t a r g e t   ( O b j e c t R e f e r e n c e ) ,   r e q u i r e d T h e   t a r g e t   o b j e c t   t h a t   y o u   w a n t   t o   b i n d   t o   t h e   s t a n d a r d   o b j e c t .   a p i V e r s i o n :   v 1   k i n d :   B i n d i n g   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   t a r g e t   ( O b j e c t R e f e r e n c e ) ,   r e q u i r e d   T h e   t a r g e t   o b j e c t   t h a t   y o u   w a n t   t o   b i n d   t o   t h e   s t a n d a r d   o b j e c t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23479"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / b i n d i n g s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23480"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23481"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( B i n d i n g ) :   O K   2 0 1   ( B i n d i n g ) :   C r e a t e d   2 0 2   ( B i n d i n g ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23482"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / b i n d i n g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23483"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   B i n d i n g n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   B i n d i n g   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23484"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( B i n d i n g ) :   O K   2 0 1   ( B i n d i n g ) :   C r e a t e d   2 0 2   ( B i n d i n g ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23485"
  },
  {
    "question": "What is 5.1.3 - PodTemplate?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23486"
  },
  {
    "question": "What is PodTemplate?",
    "answer": "P o d T e m p l a t e   d e s c r i b e s   a   t e m p l a t e   f o r   c r e a t i n g   c o p i e s   o f   a   p r e d e f i n e d   p o d .   a p i V e r s i o n :   v 1 k i n d :   P o d T e m p l a t e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a t e m p l a t e   ( P o d T e m p l a t e S p e c ) T e m p l a t e   d e f i n e s   t h e   p o d s   t h a t   w i l l   b e   c r e a t e d   f r o m   t h i s   p o d   t e m p l a t e .   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   v 1   k i n d :   P o d T e m p l a t e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   t e m p l a t e   ( P o d T e m p l a t e S p e c )   T e m p l a t e   d e f i n e s   t h e   p o d s   t h a t   w i l l   b e   c r e a t e d   f r o m   t h i s   p o d   t e m p l a t e .   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23487"
  },
  {
    "question": "What is PodTemplateSpec?",
    "answer": "P o d T e m p l a t e S p e c   d e s c r i b e s   t h e   d a t a   a   p o d   s h o u l d   h a v e   w h e n   c r e a t e d   f r o m   a   t e m p l a t e   m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( P o d S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   p o d .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( P o d S p e c )   S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   p o d .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23488"
  },
  {
    "question": "What is PodTemplateList?",
    "answer": "P o d T e m p l a t e L i s t   i s   a   l i s t   o f   P o d T e m p l a t e s .   a p i V e r s i o n :   v 1 k i n d :   P o d T e m p l a t e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] P o d T e m p l a t e ) ,   r e q u i r e d L i s t   o f   p o d   t e m p l a t e s   a p i V e r s i o n :   v 1   k i n d :   P o d T e m p l a t e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] P o d T e m p l a t e ) ,   r e q u i r e d   L i s t   o f   p o d   t e m p l a t e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23489"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23490"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d T e m p l a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d T e m p l a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23491"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d T e m p l a t e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23492"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23493"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23494"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d T e m p l a t e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23495"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / p o d t e m p l a t e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23496"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23497"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d T e m p l a t e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23498"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23499"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d T e m p l a t e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d T e m p l a t e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23500"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d T e m p l a t e ) :   O K   2 0 1   ( P o d T e m p l a t e ) :   C r e a t e d   2 0 2   ( P o d T e m p l a t e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23501"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23502"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d T e m p l a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d T e m p l a t e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d T e m p l a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d T e m p l a t e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23503"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d T e m p l a t e ) :   O K   2 0 1   ( P o d T e m p l a t e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23504"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23505"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d T e m p l a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d T e m p l a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23506"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d T e m p l a t e ) :   O K   2 0 1   ( P o d T e m p l a t e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23507"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23508"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d T e m p l a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d T e m p l a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23509"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d T e m p l a t e ) :   O K   2 0 2   ( P o d T e m p l a t e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23510"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23511"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23512"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23513"
  },
  {
    "question": "What is 5.1.4 - ReplicationController?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23514"
  },
  {
    "question": "What is ReplicationController?",
    "answer": "R e p l i c a t i o n C o n t r o l l e r   r e p r e s e n t s   t h e   c o n f i g u r a t i o n   o f   a   r e p l i c a t i o n   c o n t r o l l e r .   a p i V e r s i o n :   v 1 k i n d :   R e p l i c a t i o n C o n t r o l l e r m e t a d a t a   ( O b j e c t M e t a ) I f   t h e   L a b e l s   o f   a   R e p l i c a t i o n C o n t r o l l e r   a r e   e m p t y ,   t h e y   a r e   d e f a u l t e d   t o   b e   t h e   s a m e   a s   t h e   P o d ( s )   t h a t   t h e   r e p l i c a t i o n   c o n t r o l l e r   m a n a g e s .   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( R e p l i c a t i o n C o n t r o l l e r S p e c ) S p e c   d e f i n e s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   r e p l i c a t i o n   c o n t r o l l e r .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( R e p l i c a t i o n C o n t r o l l e r S t a t u s ) S t a t u s   i s   t h e   m o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   r e p l i c a t i o n   c o n t r o l l e r .   T h i s   d a t a   m a y   b e   o u t   o f   d a t e   b y   s o m e   w i n d o w   o f   t i m e .   P o p u l a t e d   b y   t h e   s y s t e m .   R e a d - o n l y .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   v 1   k i n d :   R e p l i c a t i o n C o n t r o l l e r   m e t a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23515"
  },
  {
    "question": "What is ReplicationControllerSpec?",
    "answer": "R e p l i c a t i o n C o n t r o l l e r S p e c   i s   t h e   s p e c i f i c a t i o n   o f   a   r e p l i c a t i o n   c o n t r o l l e r .   s e l e c t o r   ( m a p [ s t r i n g ] s t r i n g ) S e l e c t o r   i s   a   l a b e l   q u e r y   o v e r   p o d s   t h a t   s h o u l d   m a t c h   t h e   R e p l i c a s   c o u n t .   I f   S e l e c t o r   i s   e m p t y ,   i t   i s   d e f a u l t e d   t o   t h e   l a b e l s   p r e s e n t   o n   t h e   P o d   t e m p l a t e .   L a b e l   k e y s   a n d   v a l u e s   t h a t   m u s t   m a t c h   i n   o r d e r   t o   b e   c o n t r o l l e d   b y   t h i s   r e p l i c a t i o n   c o n t r o l l e r ,   i f   e m p t y   d e f a u l t e d   t o   l a b e l s   o n   P o d   t e m p l a t e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / l a b e l s / # l a b e l - s e l e c t o r s t e m p l a t e   ( P o d T e m p l a t e S p e c ) T e m p l a t e   i s   t h e   o b j e c t   t h a t   d e s c r i b e s   t h e   p o d   t h a t   w i l l   b e   c r e a t e d   i f   i n s u f f i c i e n t   r e p l i c a s   a r e   d e t e c t e d .   T h i s   t a k e s   p r e c e d e n c e   o v e r   a   T e m p l a t e R e f .   T h e   o n l y   a l l o w e d   t e m p l a t e . s p e c . r e s t a r t P o l i c y   v a l u e   i s   \" A l w a y s \" .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a t i o n c o n t r o l l e r # p o d - t e m p l a t e r e p l i c a s   ( i n t 3 2 ) R e p l i c a s   i s   t h e   n u m b e r   o f   d e s i r e d   r e p l i c a s .   T h i s   i s   a   p o i n t e r   t o   d i s t i n g u i s h   b e t w e e n   e x p l i c i t   z e r o   a n d   u n s p e c i f i e d .   D e f a u l t s   t o   1 .   M o r e   i n f o :   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23516"
  },
  {
    "question": "What is ReplicationControllerStatus?",
    "answer": "R e p l i c a t i o n C o n t r o l l e r S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t u s   o f   a   r e p l i c a t i o n   c o n t r o l l e r .   r e p l i c a s   ( i n t 3 2 ) ,   r e q u i r e d R e p l i c a s   i s   t h e   m o s t   r e c e n t l y   o b s e r v e d   n u m b e r   o f   r e p l i c a s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a t i o n c o n t r o l l e r # w h a t - i s - a - r e p l i c a t i o n c o n t r o l l e r a v a i l a b l e R e p l i c a s   ( i n t 3 2 ) T h e   n u m b e r   o f   a v a i l a b l e   r e p l i c a s   ( r e a d y   f o r   a t   l e a s t   m i n R e a d y S e c o n d s )   f o r   t h i s   r e p l i c a t i o n   c o n t r o l l e r . r e a d y R e p l i c a s   ( i n t 3 2 ) T h e   n u m b e r   o f   r e a d y   r e p l i c a s   f o r   t h i s   r e p l i c a t i o n   c o n t r o l l e r . f u l l y L a b e l e d R e p l i c a s   ( i n t 3 2 ) T h e   n u m b e r   o f   p o d s   t h a t   h a v e   l a b e l s   m a t c h i n g   t h e   l a b e l s   o f   t h e   p o d   t e m p l a t e   o f   t h e   r e p l i c a t i o n   c o n t r o l l e r . c o n d i t i o n s   ( [ ] R e p l i c a t i o n C o n t r o l l e r C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e R e p r e s e n t s   t h e   l a t e s t   a v a i l a b l e   o b s e r v a t i o n s   o f   a   r e p l i c a t i o n   c o n t r o l l e r ' s   c u r r e n t   s t a t e . R e p l i c a t i o n C o n t r o l l e r C o n d i t i o n   d e s c r i b e s   t h e   s t a t e   o f   a   r e p l i c a t i o n   c o n t r o l l e r   a t   a   c e r t a i n   p o i n t . c o n d i t i o n s . s t a t u s   ( s t r i n g ) ,   r e q u i r e d S t a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23517"
  },
  {
    "question": "What is ReplicationControllerList?",
    "answer": "R e p l i c a t i o n C o n t r o l l e r L i s t   i s   a   c o l l e c t i o n   o f   r e p l i c a t i o n   c o n t r o l l e r s .   a p i V e r s i o n :   v 1 k i n d :   R e p l i c a t i o n C o n t r o l l e r L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] R e p l i c a t i o n C o n t r o l l e r ) ,   r e q u i r e d L i s t   o f   r e p l i c a t i o n   c o n t r o l l e r s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a t i o n c o n t r o l l e r   a p i V e r s i o n :   v 1   k i n d :   R e p l i c a t i o n C o n t r o l l e r L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] R e p l i c a t i o n C o n t r o l l e r ) ,   r e q u i r e d   L i s t   o f   r e p l i c a t i o n   c o n t r o l l e r s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a t i o n c o n t r o l l e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23518"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23519"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23520"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23521"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23522"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23523"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23524"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23525"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23526"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23527"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / r e p l i c a t i o n c o n t r o l l e r s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23528"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23529"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23530"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23531"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e p l i c a t i o n C o n t r o l l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e p l i c a t i o n C o n t r o l l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23532"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r ) :   O K   2 0 1   ( R e p l i c a t i o n C o n t r o l l e r ) :   C r e a t e d   2 0 2   ( R e p l i c a t i o n C o n t r o l l e r ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23533"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23534"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e p l i c a t i o n C o n t r o l l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e p l i c a t i o n C o n t r o l l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23535"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r ) :   O K   2 0 1   ( R e p l i c a t i o n C o n t r o l l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23536"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23537"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e p l i c a t i o n C o n t r o l l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e p l i c a t i o n C o n t r o l l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23538"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r ) :   O K   2 0 1   ( R e p l i c a t i o n C o n t r o l l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23539"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23540"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23541"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r ) :   O K   2 0 1   ( R e p l i c a t i o n C o n t r o l l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23542"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23543"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23544"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a t i o n C o n t r o l l e r ) :   O K   2 0 1   ( R e p l i c a t i o n C o n t r o l l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23545"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23546"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23547"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23548"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23549"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23550"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23551"
  },
  {
    "question": "What is 5.1.5 - ReplicaSet?",
    "answer": "a p i V e r s i o n :   a p p s / v 1   i m p o r t   \" k 8 s . i o / a p i / a p p s / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23552"
  },
  {
    "question": "What is ReplicaSet?",
    "answer": "R e p l i c a S e t   e n s u r e s   t h a t   a   s p e c i f i e d   n u m b e r   o f   p o d   r e p l i c a s   a r e   r u n n i n g   a t   a n y   g i v e n   t i m e .   a p i V e r s i o n :   a p p s / v 1 k i n d :   R e p l i c a S e t m e t a d a t a   ( O b j e c t M e t a ) I f   t h e   L a b e l s   o f   a   R e p l i c a S e t   a r e   e m p t y ,   t h e y   a r e   d e f a u l t e d   t o   b e   t h e   s a m e   a s   t h e   P o d ( s )   t h a t   t h e   R e p l i c a S e t   m a n a g e s .   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( R e p l i c a S e t S p e c ) S p e c   d e f i n e s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   R e p l i c a S e t .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( R e p l i c a S e t S t a t u s ) S t a t u s   i s   t h e   m o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   R e p l i c a S e t .   T h i s   d a t a   m a y   b e   o u t   o f   d a t e   b y   s o m e   w i n d o w   o f   t i m e .   P o p u l a t e d   b y   t h e   s y s t e m .   R e a d - o n l y .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   a p p s / v 1   k i n d :   R e p l i c a S e t   m e t a d a t a   ( O b j e c t M e t a )   I f   t h e   L a b e l s   o f   a   R e p l i c a S e t   a r e   e m p t y ,   t h e y   a r e   d e f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23553"
  },
  {
    "question": "What is ReplicaSetSpec?",
    "answer": "R e p l i c a S e t S p e c   i s   t h e   s p e c i f i c a t i o n   o f   a   R e p l i c a S e t .   s e l e c t o r   ( L a b e l S e l e c t o r ) ,   r e q u i r e d S e l e c t o r   i s   a   l a b e l   q u e r y   o v e r   p o d s   t h a t   s h o u l d   m a t c h   t h e   r e p l i c a   c o u n t .   L a b e l   k e y s   a n d   v a l u e s   t h a t   m u s t   m a t c h   i n   o r d e r   t o   b e   c o n t r o l l e d   b y   t h i s   r e p l i c a   s e t .   I t   m u s t   m a t c h   t h e   p o d   t e m p l a t e ' s   l a b e l s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / l a b e l s / # l a b e l - s e l e c t o r s t e m p l a t e   ( P o d T e m p l a t e S p e c ) T e m p l a t e   i s   t h e   o b j e c t   t h a t   d e s c r i b e s   t h e   p o d   t h a t   w i l l   b e   c r e a t e d   i f   i n s u f f i c i e n t   r e p l i c a s   a r e   d e t e c t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a s e t / # p o d - t e m p l a t e r e p l i c a s   ( i n t 3 2 ) R e p l i c a s   i s   t h e   n u m b e r   o f   d e s i r e d   p o d s .   T h i s   i s   a   p o i n t e r   t o   d i s t i n g u i s h   b e t w e e n   e x p l i c i t   z e r o   a n d   u n s p e c i f i e d .   D e f a u l t s   t o   1 .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a s e t m i n R e a d y S e c o n d s   ( i n t 3 2 ) M i n i m u m   n u m b e r   o f   s e c o n d s   f o r   w h i c h   a   n e w l y   c r e a t e d   p o d   s h o u l d   b e   r e a d y   w i t h o u t   a n y   o f   i t s   c o n t a i n e r   c r a s h i n g ,   f o r   i t   t o   b e   c o n s i d e r e d   a v a i l a b l e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23554"
  },
  {
    "question": "What is ReplicaSetStatus?",
    "answer": "R e p l i c a S e t S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t u s   o f   a   R e p l i c a S e t .   r e p l i c a s   ( i n t 3 2 ) ,   r e q u i r e d R e p l i c a s   i s   t h e   m o s t   r e c e n t l y   o b s e r v e d   n u m b e r   o f   n o n - t e r m i n a t i n g   p o d s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a s e t a v a i l a b l e R e p l i c a s   ( i n t 3 2 ) T h e   n u m b e r   o f   a v a i l a b l e   n o n - t e r m i n a t i n g   p o d s   ( r e a d y   f o r   a t   l e a s t   m i n R e a d y S e c o n d s )   f o r   t h i s   r e p l i c a   s e t . r e a d y R e p l i c a s   ( i n t 3 2 ) T h e   n u m b e r   o f   n o n - t e r m i n a t i n g   p o d s   t a r g e t e d   b y   t h i s   R e p l i c a S e t   w i t h   a   R e a d y   C o n d i t i o n . t e r m i n a t i n g R e p l i c a s   ( i n t 3 2 ) T h e   n u m b e r   o f   t e r m i n a t i n g   p o d s   f o r   t h i s   r e p l i c a   s e t .   T e r m i n a t i n g   p o d s   h a v e   a   n o n - n u l l   . m e t a d a t a . d e l e t i o n T i m e s t a m p   a n d   h a v e   n o t   y e t   r e a c h e d   t h e   F a i l e d   o r   S u c c e e d e d   . s t a t u s . p h a s e . T h i s   i s   a n   a l p h a   f i e l d .   E n a b l e   D e p l o y m e n t R e p l i c a S e t T e r m i n a t i n g R e p l i c a s   t o   b e   a b l e   t o   u s e   t h i s   f i e l d . f u l l y L a b e l e d R e p l i c a s   ( i n t 3 2 ) T h e   n u m b e r   o f   n o n - t e r m i n a t i n g   p o d s   t h a t   h a v e   l a b e l s   m a t c h i n g   t h e   l a b e l s   o f   t h e   p o d   t e m p l a t e   o f   t h e   r e p l i c a s e t . c o n d i t i o n s   ( [ ] R e p l i c a S e t C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23555"
  },
  {
    "question": "What is ReplicaSetList?",
    "answer": "R e p l i c a S e t L i s t   i s   a   c o l l e c t i o n   o f   R e p l i c a S e t s .   a p i V e r s i o n :   a p p s / v 1 k i n d :   R e p l i c a S e t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] R e p l i c a S e t ) ,   r e q u i r e d L i s t   o f   R e p l i c a S e t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a s e t   a p i V e r s i o n :   a p p s / v 1   k i n d :   R e p l i c a S e t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] R e p l i c a S e t ) ,   r e q u i r e d   L i s t   o f   R e p l i c a S e t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a s e t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23556"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23557"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23558"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23559"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23560"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23561"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23562"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23563"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23564"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23565"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / r e p l i c a s e t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23566"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23567"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23568"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23569"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e p l i c a S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e p l i c a S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23570"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t ) :   O K   2 0 1   ( R e p l i c a S e t ) :   C r e a t e d   2 0 2   ( R e p l i c a S e t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23571"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23572"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e p l i c a S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e p l i c a S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23573"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t ) :   O K   2 0 1   ( R e p l i c a S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23574"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23575"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e p l i c a S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e p l i c a S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23576"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t ) :   O K   2 0 1   ( R e p l i c a S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23577"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23578"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23579"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t ) :   O K   2 0 1   ( R e p l i c a S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23580"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23581"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23582"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e p l i c a S e t ) :   O K   2 0 1   ( R e p l i c a S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23583"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23584"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e p l i c a S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e p l i c a S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23585"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23586"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23587"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23588"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23589"
  },
  {
    "question": "What is 5.1.6 - Deployment?",
    "answer": "a p i V e r s i o n :   a p p s / v 1   i m p o r t   \" k 8 s . i o / a p i / a p p s / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23590"
  },
  {
    "question": "What is Deployment?",
    "answer": "D e p l o y m e n t   e n a b l e s   d e c l a r a t i v e   u p d a t e s   f o r   P o d s   a n d   R e p l i c a S e t s .   a p i V e r s i o n :   a p p s / v 1 k i n d :   D e p l o y m e n t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( D e p l o y m e n t S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   D e p l o y m e n t . s t a t u s   ( D e p l o y m e n t S t a t u s ) M o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   D e p l o y m e n t .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( D e p l o y m e n t S p e c )   S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   D e p l o y m e n t .   s t a t u s   ( D e p l o y m e n t S t a t u s )   M o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   D e p l o y m e n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23591"
  },
  {
    "question": "What is DeploymentSpec?",
    "answer": "D e p l o y m e n t S p e c   i s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   D e p l o y m e n t .   s e l e c t o r   ( L a b e l S e l e c t o r ) ,   r e q u i r e d L a b e l   s e l e c t o r   f o r   p o d s .   E x i s t i n g   R e p l i c a S e t s   w h o s e   p o d s   a r e   s e l e c t e d   b y   t h i s   w i l l   b e   t h e   o n e s   a f f e c t e d   b y   t h i s   d e p l o y m e n t .   I t   m u s t   m a t c h   t h e   p o d   t e m p l a t e ' s   l a b e l s . t e m p l a t e   ( P o d T e m p l a t e S p e c ) ,   r e q u i r e d T e m p l a t e   d e s c r i b e s   t h e   p o d s   t h a t   w i l l   b e   c r e a t e d .   T h e   o n l y   a l l o w e d   t e m p l a t e . s p e c . r e s t a r t P o l i c y   v a l u e   i s   \" A l w a y s \" . r e p l i c a s   ( i n t 3 2 ) N u m b e r   o f   d e s i r e d   p o d s .   T h i s   i s   a   p o i n t e r   t o   d i s t i n g u i s h   b e t w e e n   e x p l i c i t   z e r o   a n d   n o t   s p e c i f i e d .   D e f a u l t s   t o   1 . m i n R e a d y S e c o n d s   ( i n t 3 2 ) M i n i m u m   n u m b e r   o f   s e c o n d s   f o r   w h i c h   a   n e w l y   c r e a t e d   p o d   s h o u l d   b e   r e a d y   w i t h o u t   a n y   o f   i t s   c o n t a i n e r   c r a s h i n g ,   f o r   i t   t o   b e   c o n s i d e r e d   a v a i l a b l e .   D e f a u l t s   t o   0   ( p o d   w i l l   b e   c o n s i d e r e d   a v a i l a b l e   a s   s o o n   a s   i t   i s   r e a d y ) s t r a t e g y   ( D e p l o y m e n t S t r a t e g y ) P a t c h   s t r a t e g y :   r e t a i n K e y s T h e   d e p l o y m e n t   s t r a t e g y   t o   u s e   t o   r e p l a c e   e x i s t i n g   p o d s   w i t h   n e w   o n e s . D e p l o y m e n t S t r a t e g y   d e s c r i b e s   h o w   t o   r e p l a c e   e x i s t i n g   p o d s   w i t h   n e w   o n e s . s t r a t e g y . ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23592"
  },
  {
    "question": "What is DeploymentStatus?",
    "answer": "D e p l o y m e n t S t a t u s   i s   t h e   m o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   D e p l o y m e n t .   r e p l i c a s   ( i n t 3 2 ) T o t a l   n u m b e r   o f   n o n - t e r m i n a t i n g   p o d s   t a r g e t e d   b y   t h i s   d e p l o y m e n t   ( t h e i r   l a b e l s   m a t c h   t h e   s e l e c t o r ) . a v a i l a b l e R e p l i c a s   ( i n t 3 2 ) T o t a l   n u m b e r   o f   a v a i l a b l e   n o n - t e r m i n a t i n g   p o d s   ( r e a d y   f o r   a t   l e a s t   m i n R e a d y S e c o n d s )   t a r g e t e d   b y   t h i s   d e p l o y m e n t . r e a d y R e p l i c a s   ( i n t 3 2 ) T o t a l   n u m b e r   o f   n o n - t e r m i n a t i n g   p o d s   t a r g e t e d   b y   t h i s   D e p l o y m e n t   w i t h   a   R e a d y   C o n d i t i o n . u n a v a i l a b l e R e p l i c a s   ( i n t 3 2 ) T o t a l   n u m b e r   o f   u n a v a i l a b l e   p o d s   t a r g e t e d   b y   t h i s   d e p l o y m e n t .   T h i s   i s   t h e   t o t a l   n u m b e r   o f   p o d s   t h a t   a r e   s t i l l   r e q u i r e d   f o r   t h e   d e p l o y m e n t   t o   h a v e   1 0 0 %   a v a i l a b l e   c a p a c i t y .   T h e y   m a y   e i t h e r   b e   p o d s   t h a t   a r e   r u n n i n g   b u t   n o t   y e t   a v a i l a b l e   o r   p o d s   t h a t   s t i l l   h a v e   n o t   b e e n   c r e a t e d . u p d a t e d R e p l i c a s   ( i n t 3 2 ) T o t a l   n u m b e r   o f   n o n - t e r m i n a t i n g   p o d s   t a r g e t e d   b y   t h i s   d e p l o y m e n t   t h a t   h a v e   t h e   d e s i r e d   t e m p l a t e   s p e c . t e r m i n a t i n g R e p l i c a s   ( i n t 3 2 ) T o t a l   n u m b e r   o f   t e r m i n a t i n g   p o d s   t a r g e t e d   b y   t h i s   d e p l o y m e n t .   T e r m i n a t i n g   p o d s   h a v e   a   n o n - n u l l   . m e t a d a t a . d e l e t i o n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23593"
  },
  {
    "question": "What is DeploymentList?",
    "answer": "D e p l o y m e n t L i s t   i s   a   l i s t   o f   D e p l o y m e n t s .   a p i V e r s i o n :   a p p s / v 1 k i n d :   D e p l o y m e n t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a . i t e m s   ( [ ] D e p l o y m e n t ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   D e p l o y m e n t s .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   i t e m s   ( [ ] D e p l o y m e n t ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   D e p l o y m e n t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23594"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23595"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e p l o y m e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e p l o y m e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23596"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23597"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23598"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e p l o y m e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e p l o y m e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23599"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23600"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23601"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23602"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23603"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / d e p l o y m e n t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23604"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23605"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23606"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23607"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e p l o y m e n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e p l o y m e n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23608"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t ) :   O K   2 0 1   ( D e p l o y m e n t ) :   C r e a t e d   2 0 2   ( D e p l o y m e n t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23609"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23610"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e p l o y m e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e p l o y m e n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e p l o y m e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e p l o y m e n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23611"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t ) :   O K   2 0 1   ( D e p l o y m e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23612"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23613"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e p l o y m e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e p l o y m e n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e p l o y m e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e p l o y m e n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23614"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t ) :   O K   2 0 1   ( D e p l o y m e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23615"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23616"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e p l o y m e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e p l o y m e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23617"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t ) :   O K   2 0 1   ( D e p l o y m e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23618"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23619"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e p l o y m e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e p l o y m e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23620"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e p l o y m e n t ) :   O K   2 0 1   ( D e p l o y m e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23621"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23622"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e p l o y m e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e p l o y m e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23623"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23624"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23625"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23626"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23627"
  },
  {
    "question": "What is 5.1.7 - StatefulSet?",
    "answer": "a p i V e r s i o n :   a p p s / v 1   i m p o r t   \" k 8 s . i o / a p i / a p p s / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23628"
  },
  {
    "question": "What is StatefulSet?",
    "answer": "S t a t e f u l S e t   r e p r e s e n t s   a   s e t   o f   p o d s   w i t h   c o n s i s t e n t   i d e n t i t i e s .   I d e n t i t i e s   a r e   d e f i n e d   a s :   N e t w o r k :   A   s i n g l e   s t a b l e   D N S   a n d   h o s t n a m e . S t o r a g e :   A s   m a n y   V o l u m e C l a i m s   a s   r e q u e s t e d .   T h e   S t a t e f u l S e t   g u a r a n t e e s   t h a t   a   g i v e n   n e t w o r k   i d e n t i t y   w i l l   a l w a y s   m a p   t o   t h e   s a m e   s t o r a g e   i d e n t i t y .   a p i V e r s i o n :   a p p s / v 1 k i n d :   S t a t e f u l S e t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( S t a t e f u l S e t S p e c ) S p e c   d e f i n e s   t h e   d e s i r e d   i d e n t i t i e s   o f   p o d s   i n   t h i s   s e t . s t a t u s   ( S t a t e f u l S e t S t a t u s ) S t a t u s   i s   t h e   c u r r e n t   s t a t u s   o f   P o d s   i n   t h i s   S t a t e f u l S e t .   T h i s   d a t a   m a y   b e   o u t   o f   d a t e   b y   s o m e   w i n d o w   o f   t i m e .   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( S t a t e f u l S e t S p e c )   S p e c   d e f i n e s   t h e   d e s i r e d   i d e n t i t i e s   o f   p o d s   i n   t h i s   s e t .   s t a t u s   ( S t a t e f u l S e t S t a t u s )   S t a t u s   i s   t h e   c u r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23629"
  },
  {
    "question": "What is StatefulSetSpec?",
    "answer": "A   S t a t e f u l S e t S p e c   i s   t h e   s p e c i f i c a t i o n   o f   a   S t a t e f u l S e t .   s e r v i c e N a m e   ( s t r i n g ) s e r v i c e N a m e   i s   t h e   n a m e   o f   t h e   s e r v i c e   t h a t   g o v e r n s   t h i s   S t a t e f u l S e t .   T h i s   s e r v i c e   m u s t   e x i s t   b e f o r e   t h e   S t a t e f u l S e t ,   a n d   i s   r e s p o n s i b l e   f o r   t h e   n e t w o r k   i d e n t i t y   o f   t h e   s e t .   P o d s   g e t   D N S / h o s t n a m e s   t h a t   f o l l o w   t h e   p a t t e r n :   p o d - s p e c i f i c - s t r i n g . s e r v i c e N a m e . d e f a u l t . s v c . c l u s t e r . l o c a l   w h e r e   \" p o d - s p e c i f i c - s t r i n g \"   i s   m a n a g e d   b y   t h e   S t a t e f u l S e t   c o n t r o l l e r . s e l e c t o r   ( L a b e l S e l e c t o r ) ,   r e q u i r e d s e l e c t o r   i s   a   l a b e l   q u e r y   o v e r   p o d s   t h a t   s h o u l d   m a t c h   t h e   r e p l i c a   c o u n t .   I t   m u s t   m a t c h   t h e   p o d   t e m p l a t e ' s   l a b e l s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / l a b e l s / # l a b e l - s e l e c t o r s t e m p l a t e   ( P o d T e m p l a t e S p e c ) ,   r e q u i r e d t e m p l a t e   i s   t h e   o b j e c t   t h a t   d e s c r i b e s   t h e   p o d   t h a t   w i l l   b e   c r e a t e d   i f   i n s u f f i c i e n t   r e p l i c a s   a r e   d e t e c t e d .   E a c h   p o d   s t a m p e d   o u t   b y   t h e   S t a t e f u l S e t   w i l l   f u l f i l l   t h i s   T e m p l a t e ,   b u t   h a v e   a   u n i q u e   i d e n t i t y   f r o m   t h e   r e s t   o f   t h e   S t a t e f u l S e t .   E a c h   p o d   w i l l   b e   n a m e d   w i t h   t h e   f o r m a t   < s t a t e f u l s e t n a m e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23630"
  },
  {
    "question": "What is StatefulSetStatus?",
    "answer": "S t a t e f u l S e t S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t e   o f   a   S t a t e f u l S e t .   r e p l i c a s   ( i n t 3 2 ) ,   r e q u i r e d r e p l i c a s   i s   t h e   n u m b e r   o f   P o d s   c r e a t e d   b y   t h e   S t a t e f u l S e t   c o n t r o l l e r . r e a d y R e p l i c a s   ( i n t 3 2 ) r e a d y R e p l i c a s   i s   t h e   n u m b e r   o f   p o d s   c r e a t e d   f o r   t h i s   S t a t e f u l S e t   w i t h   a   R e a d y   C o n d i t i o n . c u r r e n t R e p l i c a s   ( i n t 3 2 ) c u r r e n t R e p l i c a s   i s   t h e   n u m b e r   o f   P o d s   c r e a t e d   b y   t h e   S t a t e f u l S e t   c o n t r o l l e r   f r o m   t h e   S t a t e f u l S e t   v e r s i o n   i n d i c a t e d   b y   c u r r e n t R e v i s i o n . u p d a t e d R e p l i c a s   ( i n t 3 2 ) u p d a t e d R e p l i c a s   i s   t h e   n u m b e r   o f   P o d s   c r e a t e d   b y   t h e   S t a t e f u l S e t   c o n t r o l l e r   f r o m   t h e   S t a t e f u l S e t   v e r s i o n   i n d i c a t e d   b y   u p d a t e R e v i s i o n . a v a i l a b l e R e p l i c a s   ( i n t 3 2 ) T o t a l   n u m b e r   o f   a v a i l a b l e   p o d s   ( r e a d y   f o r   a t   l e a s t   m i n R e a d y S e c o n d s )   t a r g e t e d   b y   t h i s   s t a t e f u l s e t . c o l l i s i o n C o u n t   ( i n t 3 2 ) c o l l i s i o n C o u n t   i s   t h e   c o u n t   o f   h a s h   c o l l i s i o n s   f o r   t h e   S t a t e f u l S e t .   T h e   S t a t e f u l S e t   c o n t r o l l e r   u s e s   t h i s   f i e l d   a s   a   c o l l i s i o n   a v o i d a n c e   m e c h a n i s m   w h e n   i t   n e e d s   t o   c r e a t e   t h e   n a m e   f o r   t h e   n e w e s t   C o n t r o l l e r R e v i s i o n . c o n d i t i o n s   ( [ ] S t a t e f u l S e t C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23631"
  },
  {
    "question": "What is StatefulSetList?",
    "answer": "S t a t e f u l S e t L i s t   i s   a   c o l l e c t i o n   o f   S t a t e f u l S e t s .   a p i V e r s i o n :   a p p s / v 1 k i n d :   S t a t e f u l S e t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] S t a t e f u l S e t ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   s t a t e f u l   s e t s .   a p i V e r s i o n :   a p p s / v 1   k i n d :   S t a t e f u l S e t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] S t a t e f u l S e t ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   s t a t e f u l   s e t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23632"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23633"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t a t e f u l S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t a t e f u l S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23634"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23635"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23636"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t a t e f u l S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t a t e f u l S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23637"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23638"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23639"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23640"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23641"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / s t a t e f u l s e t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23642"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23643"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23644"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23645"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S t a t e f u l S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S t a t e f u l S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23646"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t ) :   O K   2 0 1   ( S t a t e f u l S e t ) :   C r e a t e d   2 0 2   ( S t a t e f u l S e t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23647"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23648"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t a t e f u l S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S t a t e f u l S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t a t e f u l S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S t a t e f u l S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23649"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t ) :   O K   2 0 1   ( S t a t e f u l S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23650"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23651"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t a t e f u l S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S t a t e f u l S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t a t e f u l S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S t a t e f u l S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23652"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t ) :   O K   2 0 1   ( S t a t e f u l S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23653"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23654"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t a t e f u l S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t a t e f u l S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23655"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t ) :   O K   2 0 1   ( S t a t e f u l S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23656"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23657"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t a t e f u l S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t a t e f u l S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23658"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t e f u l S e t ) :   O K   2 0 1   ( S t a t e f u l S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23659"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23660"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t a t e f u l S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t a t e f u l S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23661"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23662"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23663"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23664"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23665"
  },
  {
    "question": "What is 5.1.8 - ControllerRevision?",
    "answer": "a p i V e r s i o n :   a p p s / v 1   i m p o r t   \" k 8 s . i o / a p i / a p p s / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23666"
  },
  {
    "question": "What is ControllerRevision?",
    "answer": "C o n t r o l l e r R e v i s i o n   i m p l e m e n t s   a n   i m m u t a b l e   s n a p s h o t   o f   s t a t e   d a t a .   C l i e n t s   a r e   r e s p o n s i b l e   f o r   s e r i a l i z i n g   a n d   d e s e r i a l i z i n g   t h e   o b j e c t s   t h a t   c o n t a i n   t h e i r   i n t e r n a l   s t a t e .   O n c e   a   C o n t r o l l e r R e v i s i o n   h a s   b e e n   s u c c e s s f u l l y   c r e a t e d ,   i t   c a n   n o t   b e   u p d a t e d .   T h e   A P I   S e r v e r   w i l l   f a i l   v a l i d a t i o n   o f   a l l   r e q u e s t s   t h a t   a t t e m p t   t o   m u t a t e   t h e   D a t a   f i e l d .   C o n t r o l l e r R e v i s i o n s   m a y ,   h o w e v e r ,   b e   d e l e t e d .   N o t e   t h a t ,   d u e   t o   i t s   u s e   b y   b o t h   t h e   D a e m o n S e t   a n d   S t a t e f u l S e t   c o n t r o l l e r s   f o r   u p d a t e   a n d   r o l l b a c k ,   t h i s   o b j e c t   i s   b e t a .   H o w e v e r ,   i t   m a y   b e   s u b j e c t   t o   n a m e   a n d   r e p r e s e n t a t i o n   c h a n g e s   i n   f u t u r e   r e l e a s e s ,   a n d   c l i e n t s   s h o u l d   n o t   d e p e n d   o n   i t s   s t a b i l i t y .   I t   i s   p r i m a r i l y   f o r   i n t e r n a l   u s e   b y   c o n t r o l l e r s .   a p i V e r s i o n :   a p p s / v 1 k i n d :   C o n t r o l l e r R e v i s i o n m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a r e v i s i o n   ( i n t 6 4 ) ,   r e q u i r e d R e v i s i o n   i n d i c a t e s   t h e   r e v i s i o n   o f   t h e   s t a t e   r e p r e s e n t e d   b y   D a t a . d a t a   ( R a w E x t e n s i o n ) D a t a   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23667"
  },
  {
    "question": "What is ControllerRevisionList?",
    "answer": "C o n t r o l l e r R e v i s i o n L i s t   i s   a   r e s o u r c e   c o n t a i n i n g   a   l i s t   o f   C o n t r o l l e r R e v i s i o n   o b j e c t s .   a p i V e r s i o n :   a p p s / v 1 k i n d :   C o n t r o l l e r R e v i s i o n L i s t m e t a d a t a   ( L i s t M e t a ) M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] C o n t r o l l e r R e v i s i o n ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   C o n t r o l l e r R e v i s i o n s   a p i V e r s i o n :   a p p s / v 1   k i n d :   C o n t r o l l e r R e v i s i o n L i s t   m e t a d a t a   ( L i s t M e t a )   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] C o n t r o l l e r R e v i s i o n ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   C o n t r o l l e r R e v i s i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23668"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23669"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o n t r o l l e r R e v i s i o n n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o n t r o l l e r R e v i s i o n   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23670"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n t r o l l e r R e v i s i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23671"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23672"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23673"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n t r o l l e r R e v i s i o n L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23674"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / c o n t r o l l e r r e v i s i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23675"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23676"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n t r o l l e r R e v i s i o n L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23677"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23678"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C o n t r o l l e r R e v i s i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C o n t r o l l e r R e v i s i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23679"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n t r o l l e r R e v i s i o n ) :   O K   2 0 1   ( C o n t r o l l e r R e v i s i o n ) :   C r e a t e d   2 0 2   ( C o n t r o l l e r R e v i s i o n ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23680"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23681"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o n t r o l l e r R e v i s i o n n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C o n t r o l l e r R e v i s i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o n t r o l l e r R e v i s i o n   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C o n t r o l l e r R e v i s i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23682"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n t r o l l e r R e v i s i o n ) :   O K   2 0 1   ( C o n t r o l l e r R e v i s i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23683"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23684"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o n t r o l l e r R e v i s i o n n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o n t r o l l e r R e v i s i o n   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23685"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n t r o l l e r R e v i s i o n ) :   O K   2 0 1   ( C o n t r o l l e r R e v i s i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23686"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23687"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o n t r o l l e r R e v i s i o n n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o n t r o l l e r R e v i s i o n   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23688"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23689"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23690"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23691"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23692"
  },
  {
    "question": "What is 5.1.9 - DaemonSet?",
    "answer": "a p i V e r s i o n :   a p p s / v 1   i m p o r t   \" k 8 s . i o / a p i / a p p s / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23693"
  },
  {
    "question": "What is DaemonSet?",
    "answer": "D a e m o n S e t   r e p r e s e n t s   t h e   c o n f i g u r a t i o n   o f   a   d a e m o n   s e t .   a p i V e r s i o n :   a p p s / v 1 k i n d :   D a e m o n S e t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( D a e m o n S e t S p e c ) T h e   d e s i r e d   b e h a v i o r   o f   t h i s   d a e m o n   s e t .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( D a e m o n S e t S t a t u s ) T h e   c u r r e n t   s t a t u s   o f   t h i s   d a e m o n   s e t .   T h i s   d a t a   m a y   b e   o u t   o f   d a t e   b y   s o m e   w i n d o w   o f   t i m e .   P o p u l a t e d   b y   t h e   s y s t e m .   R e a d - o n l y .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   a p p s / v 1   k i n d :   D a e m o n S e t   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( D a e m o n S e t S p e c )   T h e   d e s i r e d   b e h a v i o r   o f   t h i s   d a e m o n   s e t .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23694"
  },
  {
    "question": "What is DaemonSetSpec?",
    "answer": "D a e m o n S e t S p e c   i s   t h e   s p e c i f i c a t i o n   o f   a   d a e m o n   s e t .   s e l e c t o r   ( L a b e l S e l e c t o r ) ,   r e q u i r e d A   l a b e l   q u e r y   o v e r   p o d s   t h a t   a r e   m a n a g e d   b y   t h e   d a e m o n   s e t .   M u s t   m a t c h   i n   o r d e r   t o   b e   c o n t r o l l e d .   I t   m u s t   m a t c h   t h e   p o d   t e m p l a t e ' s   l a b e l s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / l a b e l s / # l a b e l - s e l e c t o r s t e m p l a t e   ( P o d T e m p l a t e S p e c ) ,   r e q u i r e d A n   o b j e c t   t h a t   d e s c r i b e s   t h e   p o d   t h a t   w i l l   b e   c r e a t e d .   T h e   D a e m o n S e t   w i l l   c r e a t e   e x a c t l y   o n e   c o p y   o f   t h i s   p o d   o n   e v e r y   n o d e   t h a t   m a t c h e s   t h e   t e m p l a t e ' s   n o d e   s e l e c t o r   ( o r   o n   e v e r y   n o d e   i f   n o   n o d e   s e l e c t o r   i s   s p e c i f i e d ) .   T h e   o n l y   a l l o w e d   t e m p l a t e . s p e c . r e s t a r t P o l i c y   v a l u e   i s   \" A l w a y s \" .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / r e p l i c a t i o n c o n t r o l l e r # p o d - t e m p l a t e m i n R e a d y S e c o n d s   ( i n t 3 2 ) T h e   m i n i m u m   n u m b e r   o f   s e c o n d s   f o r   w h i c h   a   n e w l y   c r e a t e d   D a e m o n S e t   p o d   s h o u l d   b e   r e a d y   w i t h o u t   a n y   o f   i t s   c o n t a i n e r   c r a s h i n g ,   f o r   i t   t o   b e   c o n s i d e r e d   a v a i l a b l e .   D e f a u l t s   t o   0   ( p o d   w i l l   b e   c o n s i d e r e d   a v a i l a b l e   a s   s o o n   a s   i t   i s   r e a d y ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23695"
  },
  {
    "question": "What is DaemonSetStatus?",
    "answer": "D a e m o n S e t S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t u s   o f   a   d a e m o n   s e t .   n u m b e r R e a d y   ( i n t 3 2 ) ,   r e q u i r e d n u m b e r R e a d y   i s   t h e   n u m b e r   o f   n o d e s   t h a t   s h o u l d   b e   r u n n i n g   t h e   d a e m o n   p o d   a n d   h a v e   o n e   o r   m o r e   o f   t h e   d a e m o n   p o d   r u n n i n g   w i t h   a   R e a d y   C o n d i t i o n . n u m b e r A v a i l a b l e   ( i n t 3 2 ) T h e   n u m b e r   o f   n o d e s   t h a t   s h o u l d   b e   r u n n i n g   t h e   d a e m o n   p o d   a n d   h a v e   o n e   o r   m o r e   o f   t h e   d a e m o n   p o d   r u n n i n g   a n d   a v a i l a b l e   ( r e a d y   f o r   a t   l e a s t   s p e c . m i n R e a d y S e c o n d s ) n u m b e r U n a v a i l a b l e   ( i n t 3 2 ) T h e   n u m b e r   o f   n o d e s   t h a t   s h o u l d   b e   r u n n i n g   t h e   d a e m o n   p o d   a n d   h a v e   n o n e   o f   t h e   d a e m o n   p o d   r u n n i n g   a n d   a v a i l a b l e   ( r e a d y   f o r   a t   l e a s t   s p e c . m i n R e a d y S e c o n d s ) n u m b e r M i s s c h e d u l e d   ( i n t 3 2 ) ,   r e q u i r e d T h e   n u m b e r   o f   n o d e s   t h a t   a r e   r u n n i n g   t h e   d a e m o n   p o d ,   b u t   a r e   n o t   s u p p o s e d   t o   r u n   t h e   d a e m o n   p o d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / d a e m o n s e t / d e s i r e d N u m b e r S c h e d u l e d   ( i n t 3 2 ) ,   r e q u i r e d T h e   t o t a l   n u m b e r   o f   n o d e s   t h a t   s h o u l d   b e   r u n n i n g   t h e   d a e m o n   p o d   ( i n c l u d i n g   n o d e s   c o r r e c t l y   r u n n i n g   t h e   d a e m o n   p o d ) .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23696"
  },
  {
    "question": "What is DaemonSetList?",
    "answer": "D a e m o n S e t L i s t   i s   a   c o l l e c t i o n   o f   d a e m o n   s e t s .   a p i V e r s i o n :   a p p s / v 1 k i n d :   D a e m o n S e t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] D a e m o n S e t ) ,   r e q u i r e d A   l i s t   o f   d a e m o n   s e t s .   a p i V e r s i o n :   a p p s / v 1   k i n d :   D a e m o n S e t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] D a e m o n S e t ) ,   r e q u i r e d   A   l i s t   o f   d a e m o n   s e t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23697"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23698"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D a e m o n S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D a e m o n S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23699"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23700"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23701"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D a e m o n S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D a e m o n S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23702"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23703"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23704"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23705"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23706"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / d a e m o n s e t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23707"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23708"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23709"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23710"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D a e m o n S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D a e m o n S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23711"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t ) :   O K   2 0 1   ( D a e m o n S e t ) :   C r e a t e d   2 0 2   ( D a e m o n S e t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23712"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23713"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D a e m o n S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D a e m o n S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D a e m o n S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D a e m o n S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23714"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t ) :   O K   2 0 1   ( D a e m o n S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23715"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23716"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D a e m o n S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D a e m o n S e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D a e m o n S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D a e m o n S e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23717"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t ) :   O K   2 0 1   ( D a e m o n S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23718"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23719"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D a e m o n S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D a e m o n S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23720"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t ) :   O K   2 0 1   ( D a e m o n S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23721"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23722"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D a e m o n S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D a e m o n S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23723"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D a e m o n S e t ) :   O K   2 0 1   ( D a e m o n S e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23724"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23725"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D a e m o n S e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D a e m o n S e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23726"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23727"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23728"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23729"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23730"
  },
  {
    "question": "What is 5.1.10 - Job?",
    "answer": "a p i V e r s i o n :   b a t c h / v 1   i m p o r t   \" k 8 s . i o / a p i / b a t c h / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23731"
  },
  {
    "question": "What is Job?",
    "answer": "J o b   r e p r e s e n t s   t h e   c o n f i g u r a t i o n   o f   a   s i n g l e   j o b .   a p i V e r s i o n :   b a t c h / v 1 k i n d :   J o b m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( J o b S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   a   j o b .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( J o b S t a t u s ) C u r r e n t   s t a t u s   o f   a   j o b .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( J o b S p e c )   S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   a   j o b .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   s t a t u s   ( J o b S t a t u s )   C u r r e n t   s t a t u s   o f   a   j o b .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23732"
  },
  {
    "question": "What is JobSpec?",
    "answer": "J o b S p e c   d e s c r i b e s   h o w   t h e   j o b   e x e c u t i o n   w i l l   l o o k   l i k e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23733"
  },
  {
    "question": "What is Replicas?",
    "answer": "t e m p l a t e   ( P o d T e m p l a t e S p e c ) ,   r e q u i r e d D e s c r i b e s   t h e   p o d   t h a t   w i l l   b e   c r e a t e d   w h e n   e x e c u t i n g   a   j o b .   T h e   o n l y   a l l o w e d   t e m p l a t e . s p e c . r e s t a r t P o l i c y   v a l u e s   a r e   \" N e v e r \"   o r   \" O n F a i l u r e \" .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / j o b s - r u n - t o - c o m p l e t i o n / p a r a l l e l i s m   ( i n t 3 2 ) S p e c i f i e s   t h e   m a x i m u m   d e s i r e d   n u m b e r   o f   p o d s   t h e   j o b   s h o u l d   r u n   a t   a n y   g i v e n   t i m e .   T h e   a c t u a l   n u m b e r   o f   p o d s   r u n n i n g   i n   s t e a d y   s t a t e   w i l l   b e   l e s s   t h a n   t h i s   n u m b e r   w h e n   ( ( . s p e c . c o m p l e t i o n s   -   . s t a t u s . s u c c e s s f u l )   <   . s p e c . p a r a l l e l i s m ) ,   i . e .   w h e n   t h e   w o r k   l e f t   t o   d o   i s   l e s s   t h a n   m a x   p a r a l l e l i s m .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / j o b s - r u n - t o - c o m p l e t i o n /   t e m p l a t e   ( P o d T e m p l a t e S p e c ) ,   r e q u i r e d   D e s c r i b e s   t h e   p o d   t h a t   w i l l   b e   c r e a t e d   w h e n   e x e c u t i n g   a   j o b .   T h e   o n l y   a l l o w e d   t e m p l a t e . s p e c . r e s t a r t P o l i c y   v a l u e s   a r e   \" N e v e r \"   o r   \" O n F a i l u r e \" .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / j o b s - r u n - t o - c o m p l e t i o n /   p a r a l l e l i s m   ( i n t 3 2 )   S p e c i f i e s   t h e   m a x i m u m   d e s i r e d   n u m b e r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23734"
  },
  {
    "question": "What is Lifecycle?",
    "answer": "c o m p l e t i o n s   ( i n t 3 2 ) S p e c i f i e s   t h e   d e s i r e d   n u m b e r   o f   s u c c e s s f u l l y   f i n i s h e d   p o d s   t h e   j o b   s h o u l d   b e   r u n   w i t h .   S e t t i n g   t o   n u l l   m e a n s   t h a t   t h e   s u c c e s s   o f   a n y   p o d   s i g n a l s   t h e   s u c c e s s   o f   a l l   p o d s ,   a n d   a l l o w s   p a r a l l e l i s m   t o   h a v e   a n y   p o s i t i v e   v a l u e .   S e t t i n g   t o   1   m e a n s   t h a t   p a r a l l e l i s m   i s   l i m i t e d   t o   1   a n d   t h e   s u c c e s s   o f   t h a t   p o d   s i g n a l s   t h e   s u c c e s s   o f   t h e   j o b .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / j o b s - r u n - t o - c o m p l e t i o n / c o m p l e t i o n M o d e   ( s t r i n g ) c o m p l e t i o n M o d e   s p e c i f i e s   h o w   P o d   c o m p l e t i o n s   a r e   t r a c k e d .   I t   c a n   b e   N o n I n d e x e d   ( d e f a u l t )   o r   I n d e x e d . N o n I n d e x e d   m e a n s   t h a t   t h e   J o b   i s   c o n s i d e r e d   c o m p l e t e   w h e n   t h e r e   h a v e   b e e n   . s p e c . c o m p l e t i o n s   s u c c e s s f u l l y   c o m p l e t e d   P o d s .   E a c h   P o d   c o m p l e t i o n   i s   h o m o l o g o u s   t o   e a c h   o t h e r . I n d e x e d   m e a n s   t h a t   t h e   P o d s   o f   a   J o b   g e t   a n   a s s o c i a t e d   c o m p l e t i o n   i n d e x   f r o m   0   t o   ( . s p e c . c o m p l e t i o n s   -   1 ) ,   a v a i l a b l e   i n   t h e   a n n o t a t i o n   b a t c h . k u b e r n e t e s . i o / j o b - c o m p l e t i o n - i n d e x .   T h e   J o b   i s   c o n s i d e r e d   c o m p l e t e   w h e n   t h e r e   i s   o n e   s u c c e s s f u l l y   c o m p l e t e d   P o d   f o r   e a c h   i n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23735"
  },
  {
    "question": "What is Selector?",
    "answer": "s e l e c t o r   ( L a b e l S e l e c t o r ) A   l a b e l   q u e r y   o v e r   p o d s   t h a t   s h o u l d   m a t c h   t h e   p o d   c o u n t .   N o r m a l l y ,   t h e   s y s t e m   s e t s   t h i s   f i e l d   f o r   y o u .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / l a b e l s / # l a b e l - s e l e c t o r s m a n u a l S e l e c t o r   ( b o o l e a n ) m a n u a l S e l e c t o r   c o n t r o l s   g e n e r a t i o n   o f   p o d   l a b e l s   a n d   p o d   s e l e c t o r s .   L e a v e   m a n u a l S e l e c t o r   u n s e t   u n l e s s   y o u   a r e   c e r t a i n   w h a t   y o u   a r e   d o i n g .   W h e n   f a l s e   o r   u n s e t ,   t h e   s y s t e m   p i c k   l a b e l s   u n i q u e   t o   t h i s   j o b   a n d   a p p e n d s   t h o s e   l a b e l s   t o   t h e   p o d   t e m p l a t e .   W h e n   t r u e ,   t h e   u s e r   i s   r e s p o n s i b l e   f o r   p i c k i n g   u n i q u e   l a b e l s   a n d   s p e c i f y i n g   t h e   s e l e c t o r .   F a i l u r e   t o   p i c k   a   u n i q u e   l a b e l   m a y   c a u s e   t h i s   a n d   o t h e r   j o b s   t o   n o t   f u n c t i o n   c o r r e c t l y .   H o w e v e r ,   Y o u   m a y   s e e   m a n u a l S e l e c t o r = t r u e   i n   j o b s   t h a t   w e r e   c r e a t e d   w i t h   t h e   o l d   e x t e n s i o n s / v 1 b e t a 1   A P I .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / c o n t r o l l e r s / j o b s - r u n - t o - c o m p l e t i o n / # s p e c i f y i n g - y o u r - o w n - p o d - s e l e c t o r   s e l e c t o r   ( L a b e l S e l e c t o r )   A   l a b e l   q u e r y   o v e r   p o d s   t h a t   s h o u l d   m a t c h   t h e   p o d   c o u n t .   N o r m a l l y ,   t h ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23736"
  },
  {
    "question": "What is Beta level?",
    "answer": "p o d F a i l u r e P o l i c y   ( P o d F a i l u r e P o l i c y ) S p e c i f i e s   t h e   p o l i c y   o f   h a n d l i n g   f a i l e d   p o d s .   I n   p a r t i c u l a r ,   i t   a l l o w s   t o   s p e c i f y   t h e   s e t   o f   a c t i o n s   a n d   c o n d i t i o n s   w h i c h   n e e d   t o   b e   s a t i s f i e d   t o   t a k e   t h e   a s s o c i a t e d   a c t i o n .   I f   e m p t y ,   t h e   d e f a u l t   b e h a v i o u r   a p p l i e s   -   t h e   c o u n t e r   o f   f a i l e d   p o d s ,   r e p r e s e n t e d   b y   t h e   j o b s ' s   . s t a t u s . f a i l e d   f i e l d ,   i s   i n c r e m e n t e d   a n d   i t   i s   c h e c k e d   a g a i n s t   t h e   b a c k o f f L i m i t .   T h i s   f i e l d   c a n n o t   b e   u s e d   i n   c o m b i n a t i o n   w i t h   r e s t a r t P o l i c y = O n F a i l u r e . P o d F a i l u r e P o l i c y   d e s c r i b e s   h o w   f a i l e d   p o d s   i n f l u e n c e   t h e   b a c k o f f L i m i t . p o d F a i l u r e P o l i c y . r u l e s   ( [ ] P o d F a i l u r e P o l i c y R u l e ) ,   r e q u i r e d A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A   l i s t   o f   p o d   f a i l u r e   p o l i c y   r u l e s .   T h e   r u l e s   a r e   e v a l u a t e d   i n   o r d e r .   O n c e   a   r u l e   m a t c h e s   a   P o d   f a i l u r e ,   t h e   r e m a i n i n g   o f   t h e   r u l e s   a r e   i g n o r e d .   W h e n   n o   r u l e   m a t c h e s   t h e   P o d   f a i l u r e ,   t h e   d e f a u l t   h a n d l i n g   a p p l i e s   -   t h e   c o u n t e r   o f   p o d   f a i l u r e s   i s   i n c r e m e n t e d   a n d   i t   i s   c h e c k e d   a g a i n s t   t h e   b a c k o f f L i m i t .   A t   m o s t   2 0   e l e m e n t s   a r e   a l l o w e d . P o d F a i l u r e P o l i c y R u l e   d e s c r i b e s   h o w   a   p o d   f a i l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23737"
  },
  {
    "question": "What is Alpha level?",
    "answer": "b a c k o f f L i m i t P e r I n d e x   ( i n t 3 2 ) S p e c i f i e s   t h e   l i m i t   f o r   t h e   n u m b e r   o f   r e t r i e s   w i t h i n   a n   i n d e x   b e f o r e   m a r k i n g   t h i s   i n d e x   a s   f a i l e d .   W h e n   e n a b l e d   t h e   n u m b e r   o f   f a i l u r e s   p e r   i n d e x   i s   k e p t   i n   t h e   p o d ' s   b a t c h . k u b e r n e t e s . i o / j o b - i n d e x - f a i l u r e - c o u n t   a n n o t a t i o n .   I t   c a n   o n l y   b e   s e t   w h e n   J o b ' s   c o m p l e t i o n M o d e = I n d e x e d ,   a n d   t h e   P o d ' s   r e s t a r t   p o l i c y   i s   N e v e r .   T h e   f i e l d   i s   i m m u t a b l e . m a n a g e d B y   ( s t r i n g ) M a n a g e d B y   f i e l d   i n d i c a t e s   t h e   c o n t r o l l e r   t h a t   m a n a g e s   a   J o b .   T h e   k 8 s   J o b   c o n t r o l l e r   r e c o n c i l e s   j o b s   w h i c h   d o n ' t   h a v e   t h i s   f i e l d   a t   a l l   o r   t h e   f i e l d   v a l u e   i s   t h e   r e s e r v e d   s t r i n g   k u b e r n e t e s . i o / j o b - c o n t r o l l e r ,   b u t   s k i p s   r e c o n c i l i n g   J o b s   w i t h   a   c u s t o m   v a l u e   f o r   t h i s   f i e l d .   T h e   v a l u e   m u s t   b e   a   v a l i d   d o m a i n - p r e f i x e d   p a t h   ( e . g .   a c m e . i o / f o o )   -   a l l   c h a r a c t e r s   b e f o r e   t h e   f i r s t   \" / \"   m u s t   b e   a   v a l i d   s u b d o m a i n   a s   d e f i n e d   b y   R F C   1 1 2 3 .   A l l   c h a r a c t e r s   t r a i l i n g   t h e   f i r s t   \" / \"   m u s t   b e   v a l i d   H T T P   P a t h   c h a r a c t e r s   a s   d e f i n e d   b y   R F C   3 9 8 6 .   T h e   v a l u e   c a n n o t   e x c e e d   6 3   c h a r a c t e r s .   T h i s   f i e l d   i s   i m m u t a b l e . T h i s   f i e l d   i s   b e t a - l e v e l .   T h e   j o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23738"
  },
  {
    "question": "What is JobStatus?",
    "answer": "J o b S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t e   o f   a   J o b .   s t a r t T i m e   ( T i m e ) R e p r e s e n t s   t i m e   w h e n   t h e   j o b   c o n t r o l l e r   s t a r t e d   p r o c e s s i n g   a   j o b .   W h e n   a   J o b   i s   c r e a t e d   i n   t h e   s u s p e n d e d   s t a t e ,   t h i s   f i e l d   i s   n o t   s e t   u n t i l   t h e   f i r s t   t i m e   i t   i s   r e s u m e d .   T h i s   f i e l d   i s   r e s e t   e v e r y   t i m e   a   J o b   i s   r e s u m e d   f r o m   s u s p e n s i o n .   I t   i s   r e p r e s e n t e d   i n   R F C 3 3 3 9   f o r m   a n d   i s   i n   U T C . O n c e   s e t ,   t h e   f i e l d   c a n   o n l y   b e   r e m o v e d   w h e n   t h e   j o b   i s   s u s p e n d e d .   T h e   f i e l d   c a n n o t   b e   m o d i f i e d   w h i l e   t h e   j o b   i s   u n s u s p e n d e d   o r   f i n i s h e d . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c o m p l e t i o n T i m e   ( T i m e ) R e p r e s e n t s   t i m e   w h e n   t h e   j o b   w a s   c o m p l e t e d .   I t   i s   n o t   g u a r a n t e e d   t o   b e   s e t   i n   h a p p e n s - b e f o r e   o r d e r   a c r o s s   s e p a r a t e   o p e r a t i o n s .   I t   i s   r e p r e s e n t e d   i n   R F C 3 3 3 9   f o r m   a n d   i s   i n   U T C .   T h e   c o m p l e t i o n   t i m e   i s   s e t   w h e n   t h e   j o b   f i n i s h e s   s u c c e s s f u l l y ,   a n d   o n l y   t h e n .   T h e   v a l u e   c a n n o t   b e   u p d a t e d   o r   r e m o v e d .   T h e   v a l u e   i n d i c a t e s   t h e   s a m e   o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23739"
  },
  {
    "question": "What is Beta level?",
    "answer": "r e a d y   ( i n t 3 2 ) T h e   n u m b e r   o f   a c t i v e   p o d s   w h i c h   h a v e   a   R e a d y   c o n d i t i o n   a n d   a r e   n o t   t e r m i n a t i n g   ( w i t h o u t   a   d e l e t i o n T i m e s t a m p ) .   r e a d y   ( i n t 3 2 )   T h e   n u m b e r   o f   a c t i v e   p o d s   w h i c h   h a v e   a   R e a d y   c o n d i t i o n   a n d   a r e   n o t   t e r m i n a t i n g   ( w i t h o u t   a   d e l e t i o n T i m e s t a m p ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23740"
  },
  {
    "question": "What is Alpha level?",
    "answer": "f a i l e d I n d e x e s   ( s t r i n g ) F a i l e d I n d e x e s   h o l d s   t h e   f a i l e d   i n d e x e s   w h e n   s p e c . b a c k o f f L i m i t P e r I n d e x   i s   s e t .   T h e   i n d e x e s   a r e   r e p r e s e n t e d   i n   t h e   t e x t   f o r m a t   a n a l o g o u s   a s   f o r   t h e   c o m p l e t e d I n d e x e s   f i e l d ,   i e .   t h e y   a r e   k e p t   a s   d e c i m a l   i n t e g e r s   s e p a r a t e d   b y   c o m m a s .   T h e   n u m b e r s   a r e   l i s t e d   i n   i n c r e a s i n g   o r d e r .   T h r e e   o r   m o r e   c o n s e c u t i v e   n u m b e r s   a r e   c o m p r e s s e d   a n d   r e p r e s e n t e d   b y   t h e   f i r s t   a n d   l a s t   e l e m e n t   o f   t h e   s e r i e s ,   s e p a r a t e d   b y   a   h y p h e n .   F o r   e x a m p l e ,   i f   t h e   f a i l e d   i n d e x e s   a r e   1 ,   3 ,   4 ,   5   a n d   7 ,   t h e y   a r e   r e p r e s e n t e d   a s   \" 1 , 3 - 5 , 7 \" .   T h e   s e t   o f   f a i l e d   i n d e x e s   c a n n o t   o v e r l a p   w i t h   t h e   s e t   o f   c o m p l e t e d   i n d e x e s . t e r m i n a t i n g   ( i n t 3 2 ) T h e   n u m b e r   o f   p o d s   w h i c h   a r e   t e r m i n a t i n g   ( i n   p h a s e   P e n d i n g   o r   R u n n i n g   a n d   h a v e   a   d e l e t i o n T i m e s t a m p ) . T h i s   f i e l d   i s   b e t a - l e v e l .   T h e   j o b   c o n t r o l l e r   p o p u l a t e s   t h e   f i e l d   w h e n   t h e   f e a t u r e   g a t e   J o b P o d R e p l a c e m e n t P o l i c y   i s   e n a b l e d   ( e n a b l e d   b y   d e f a u l t ) .   f a i l e d I n d e x e s   ( s t r i n g )   F a i l e d I n d e x e s   h o l d s   t h e   f a i l e d   i n d e x e s   w h e n   s p e c . b a c k o f f L i m i t P e r I n d e x   i s   s e t .   T h e   i n d e x e s   a r e   r e p r e s e n t e d   i n   t h e   t e x t   f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_23741"
  },
  {
    "question": "What is JobList?",
    "answer": "J o b L i s t   i s   a   c o l l e c t i o n   o f   j o b s .   a p i V e r s i o n :   b a t c h / v 1 k i n d :   J o b L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] J o b ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   J o b s .   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] J o b ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   J o b s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23742"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23743"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23744"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23745"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23746"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23747"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23748"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23749"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23750"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23751"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / j o b s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23752"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23753"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23754"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23755"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   J o b ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   J o b ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23756"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b ) :   O K   2 0 1   ( J o b ) :   C r e a t e d   2 0 2   ( J o b ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23757"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23758"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   J o b ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   J o b ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23759"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b ) :   O K   2 0 1   ( J o b ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23760"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23761"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   J o b ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   J o b ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23762"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b ) :   O K   2 0 1   ( J o b ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23763"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23764"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23765"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b ) :   O K   2 0 1   ( J o b ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23766"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23767"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23768"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( J o b ) :   O K   2 0 1   ( J o b ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23769"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23770"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23771"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23772"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23773"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23774"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23775"
  },
  {
    "question": "What is 5.1.11 - CronJob?",
    "answer": "a p i V e r s i o n :   b a t c h / v 1   i m p o r t   \" k 8 s . i o / a p i / b a t c h / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23776"
  },
  {
    "question": "What is CronJob?",
    "answer": "C r o n J o b   r e p r e s e n t s   t h e   c o n f i g u r a t i o n   o f   a   s i n g l e   c r o n   j o b .   a p i V e r s i o n :   b a t c h / v 1 k i n d :   C r o n J o b m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( C r o n J o b S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   a   c r o n   j o b ,   i n c l u d i n g   t h e   s c h e d u l e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( C r o n J o b S t a t u s ) C u r r e n t   s t a t u s   o f   a   c r o n   j o b .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   b a t c h / v 1   k i n d :   C r o n J o b   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( C r o n J o b S p e c )   S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   a   c r o n   j o b ,   i n c l u d i n g   t h e   s c h e d u l e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23777"
  },
  {
    "question": "What is CronJobSpec?",
    "answer": "C r o n J o b S p e c   d e s c r i b e s   h o w   t h e   j o b   e x e c u t i o n   w i l l   l o o k   l i k e   a n d   w h e n   i t   w i l l   a c t u a l l y   r u n .   j o b T e m p l a t e   ( J o b T e m p l a t e S p e c ) ,   r e q u i r e d S p e c i f i e s   t h e   j o b   t h a t   w i l l   b e   c r e a t e d   w h e n   e x e c u t i n g   a   C r o n J o b . J o b T e m p l a t e S p e c   d e s c r i b e s   t h e   d a t a   a   J o b   s h o u l d   h a v e   w h e n   c r e a t e d   f r o m   a   t e m p l a t e j o b T e m p l a t e . m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a   o f   t h e   j o b s   c r e a t e d   f r o m   t h i s   t e m p l a t e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a j o b T e m p l a t e . s p e c   ( J o b S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   j o b .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s c h e d u l e   ( s t r i n g ) ,   r e q u i r e d T h e   s c h e d u l e   i n   C r o n   f o r m a t ,   s e e   h t t p s : / / e n . w i k i p e d i a . o r g / w i k i / C r o n . t i m e Z o n e   ( s t r i n g ) T h e   t i m e   z o n e   n a m e   f o r   t h e   g i v e n   s c h e d u l e ,   s e e   h t t p s : / / e n . w i k i p e d i a . o r g / w i k i / L i s t _ o f _ t z _ d a t a b a s e _ t i m e _ z o n e s .   I f   n o t   s p e c i f i e d ,   t h i s   w i l l   d e f a u l t   t o   t h e   t i m e   z o n e   o f   t h e   k u b e - c o n t r o l l e r - m a n a g e r   p r o c e s s .   T h e   s e t   o f   v a l i d   t i m e   z ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23778"
  },
  {
    "question": "What is CronJobStatus?",
    "answer": "C r o n J o b S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t e   o f   a   c r o n   j o b .   a c t i v e   ( [ ] O b j e c t R e f e r e n c e ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A   l i s t   o f   p o i n t e r s   t o   c u r r e n t l y   r u n n i n g   j o b s . l a s t S c h e d u l e T i m e   ( T i m e ) I n f o r m a t i o n   w h e n   w a s   t h e   l a s t   t i m e   t h e   j o b   w a s   s u c c e s s f u l l y   s c h e d u l e d . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . l a s t S u c c e s s f u l T i m e   ( T i m e ) I n f o r m a t i o n   w h e n   w a s   t h e   l a s t   t i m e   t h e   j o b   s u c c e s s f u l l y   c o m p l e t e d . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s .   a c t i v e   ( [ ] O b j e c t R e f e r e n c e )   A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e   A   l i s t   o f   p o i n t e r s   t o   c u r r e n t l y   r u n n i n g   j o b s .   l a s t S c h e d u l e T i m e   ( T i m e )   I n f o r m a t i o n   w h e n   w a s   t h e   l a s t   t i m e   t h e   j o b   w a s   s u c c e s s f u l l y   s c h e d u l e d .   T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23779"
  },
  {
    "question": "What is CronJobList?",
    "answer": "C r o n J o b L i s t   i s   a   c o l l e c t i o n   o f   c r o n   j o b s .   a p i V e r s i o n :   b a t c h / v 1 k i n d :   C r o n J o b L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] C r o n J o b ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   C r o n J o b s .   a p i V e r s i o n :   b a t c h / v 1   k i n d :   C r o n J o b L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] C r o n J o b ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   C r o n J o b s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23780"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23781"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C r o n J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C r o n J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23782"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23783"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23784"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C r o n J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C r o n J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23785"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23786"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23787"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23788"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23789"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / c r o n j o b s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23790"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23791"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23792"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23793"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C r o n J o b ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C r o n J o b ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23794"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b ) :   O K   2 0 1   ( C r o n J o b ) :   C r e a t e d   2 0 2   ( C r o n J o b ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23795"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23796"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C r o n J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C r o n J o b ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C r o n J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C r o n J o b ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23797"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b ) :   O K   2 0 1   ( C r o n J o b ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23798"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23799"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C r o n J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C r o n J o b ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C r o n J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C r o n J o b ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23800"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b ) :   O K   2 0 1   ( C r o n J o b ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23801"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23802"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C r o n J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C r o n J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23803"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b ) :   O K   2 0 1   ( C r o n J o b ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23804"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23805"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C r o n J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C r o n J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23806"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C r o n J o b ) :   O K   2 0 1   ( C r o n J o b ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23807"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23808"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C r o n J o b n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C r o n J o b   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23809"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23810"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23811"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23812"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23813"
  },
  {
    "question": "What is 5.1.12 - HorizontalPodAutoscaler?",
    "answer": "a p i V e r s i o n :   a u t o s c a l i n g / v 1   i m p o r t   \" k 8 s . i o / a p i / a u t o s c a l i n g / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23814"
  },
  {
    "question": "What is HorizontalPodAutoscaler?",
    "answer": "c o n f i g u r a t i o n   o f   a   h o r i z o n t a l   p o d   a u t o s c a l e r .   a p i V e r s i o n :   a u t o s c a l i n g / v 1 k i n d :   H o r i z o n t a l P o d A u t o s c a l e r m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( H o r i z o n t a l P o d A u t o s c a l e r S p e c ) s p e c   d e f i n e s   t h e   b e h a v i o u r   o f   a u t o s c a l e r .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s . s t a t u s   ( H o r i z o n t a l P o d A u t o s c a l e r S t a t u s ) s t a t u s   i s   t h e   c u r r e n t   i n f o r m a t i o n   a b o u t   t h e   a u t o s c a l e r .   a p i V e r s i o n :   a u t o s c a l i n g / v 1   k i n d :   H o r i z o n t a l P o d A u t o s c a l e r   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( H o r i z o n t a l P o d A u t o s c a l e r S p e c )   s p e c   d e f i n e s   t h e   b e h a v i o u r   o f   a u t o s c a l e r .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s .   s t a t u s   ( H o r i z o n t a l P o d A u t o s c a l e r S t a t u s )   s t a t u s   i s   t h e   c u r r e n t   i n f o r m a t i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23815"
  },
  {
    "question": "What is HorizontalPodAutoscalerSpec?",
    "answer": "s p e c i f i c a t i o n   o f   a   h o r i z o n t a l   p o d   a u t o s c a l e r .   m a x R e p l i c a s   ( i n t 3 2 ) ,   r e q u i r e d m a x R e p l i c a s   i s   t h e   u p p e r   l i m i t   f o r   t h e   n u m b e r   o f   p o d s   t h a t   c a n   b e   s e t   b y   t h e   a u t o s c a l e r ;   c a n n o t   b e   s m a l l e r   t h a n   M i n R e p l i c a s . s c a l e T a r g e t R e f   ( C r o s s V e r s i o n O b j e c t R e f e r e n c e ) ,   r e q u i r e d r e f e r e n c e   t o   s c a l e d   r e s o u r c e ;   h o r i z o n t a l   p o d   a u t o s c a l e r   w i l l   l e a r n   t h e   c u r r e n t   r e s o u r c e   c o n s u m p t i o n   a n d   w i l l   s e t   t h e   d e s i r e d   n u m b e r   o f   p o d s   b y   u s i n g   i t s   S c a l e   s u b r e s o u r c e . C r o s s V e r s i o n O b j e c t R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   i d e n t i f y   t h e   r e f e r r e d   r e s o u r c e . s c a l e T a r g e t R e f . k i n d   ( s t r i n g ) ,   r e q u i r e d k i n d   i s   t h e   k i n d   o f   t h e   r e f e r e n t ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s s c a l e T a r g e t R e f . n a m e   ( s t r i n g ) ,   r e q u i r e d n a m e   i s   t h e   n a m e   o f   t h e   r e f e r e n t ;   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s / # n a m e s s c a l e T a r g e t R e f . a p i V e r s i o n   ( s t r i n g ) a p i V e r s i o n   i s   t h e   A P I   v e r s i o n   o f   t h e   r e f e r e n t m i n R e p l i c a s   ( i n t 3 2 ) m i n R e p l i c a s   i s   t h e   l o w e r   l i m i t   f o r   t h e   n u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23816"
  },
  {
    "question": "What is HorizontalPodAutoscalerStatus?",
    "answer": "c u r r e n t   s t a t u s   o f   a   h o r i z o n t a l   p o d   a u t o s c a l e r   c u r r e n t R e p l i c a s   ( i n t 3 2 ) ,   r e q u i r e d c u r r e n t R e p l i c a s   i s   t h e   c u r r e n t   n u m b e r   o f   r e p l i c a s   o f   p o d s   m a n a g e d   b y   t h i s   a u t o s c a l e r . d e s i r e d R e p l i c a s   ( i n t 3 2 ) ,   r e q u i r e d d e s i r e d R e p l i c a s   i s   t h e   d e s i r e d   n u m b e r   o f   r e p l i c a s   o f   p o d s   m a n a g e d   b y   t h i s   a u t o s c a l e r . c u r r e n t C P U U t i l i z a t i o n P e r c e n t a g e   ( i n t 3 2 ) c u r r e n t C P U U t i l i z a t i o n P e r c e n t a g e   i s   t h e   c u r r e n t   a v e r a g e   C P U   u t i l i z a t i o n   o v e r   a l l   p o d s ,   r e p r e s e n t e d   a s   a   p e r c e n t a g e   o f   r e q u e s t e d   C P U ,   e . g .   7 0   m e a n s   t h a t   a n   a v e r a g e   p o d   i s   u s i n g   n o w   7 0 %   o f   i t s   r e q u e s t e d   C P U . l a s t S c a l e T i m e   ( T i m e ) l a s t S c a l e T i m e   i s   t h e   l a s t   t i m e   t h e   H o r i z o n t a l P o d A u t o s c a l e r   s c a l e d   t h e   n u m b e r   o f   p o d s ;   u s e d   b y   t h e   a u t o s c a l e r   t o   c o n t r o l   h o w   o f t e n   t h e   n u m b e r   o f   p o d s   i s   c h a n g e d . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . o b s e r v e d G e n e r a t i o n   ( i n t 6 4 ) o b s e r v e d G e n e r a t i o n   i s   t h e   m o s t   r e c e n t   g e n e r a t i o n   o b s e r v e d   b y   t h i s   a u t o s c a l e r .   c u r r e n t R e p l i c a s   ( i n t 3 ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23817"
  },
  {
    "question": "What is HorizontalPodAutoscalerList?",
    "answer": "l i s t   o f   h o r i z o n t a l   p o d   a u t o s c a l e r   o b j e c t s .   a p i V e r s i o n :   a u t o s c a l i n g / v 1 k i n d :   H o r i z o n t a l P o d A u t o s c a l e r L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a . i t e m s   ( [ ] H o r i z o n t a l P o d A u t o s c a l e r ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   h o r i z o n t a l   p o d   a u t o s c a l e r   o b j e c t s .   a p i V e r s i o n :   a u t o s c a l i n g / v 1   k i n d :   H o r i z o n t a l P o d A u t o s c a l e r L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   i t e m s   ( [ ] H o r i z o n t a l P o d A u t o s c a l e r ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   h o r i z o n t a l   p o d   a u t o s c a l e r   o b j e c t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23818"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23819"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23820"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23821"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23822"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23823"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23824"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23825"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23826"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23827"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 1 / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23828"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23829"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23830"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23831"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23832"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   2 0 2   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23833"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23834"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23835"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23836"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23837"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23838"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23839"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23840"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23841"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23842"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23843"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23844"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23845"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23846"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23847"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23848"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23849"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23850"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23851"
  },
  {
    "question": "What is 5.1.13 - HorizontalPodAutoscaler?",
    "answer": "a p i V e r s i o n :   a u t o s c a l i n g / v 2   i m p o r t   \" k 8 s . i o / a p i / a u t o s c a l i n g / v 2 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23852"
  },
  {
    "question": "What is HorizontalPodAutoscaler?",
    "answer": "H o r i z o n t a l P o d A u t o s c a l e r   i s   t h e   c o n f i g u r a t i o n   f o r   a   h o r i z o n t a l   p o d   a u t o s c a l e r ,   w h i c h   a u t o m a t i c a l l y   m a n a g e s   t h e   r e p l i c a   c o u n t   o f   a n y   r e s o u r c e   i m p l e m e n t i n g   t h e   s c a l e   s u b r e s o u r c e   b a s e d   o n   t h e   m e t r i c s   s p e c i f i e d .   a p i V e r s i o n :   a u t o s c a l i n g / v 2 k i n d :   H o r i z o n t a l P o d A u t o s c a l e r m e t a d a t a   ( O b j e c t M e t a ) m e t a d a t a   i s   t h e   s t a n d a r d   o b j e c t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( H o r i z o n t a l P o d A u t o s c a l e r S p e c ) s p e c   i s   t h e   s p e c i f i c a t i o n   f o r   t h e   b e h a v i o u r   o f   t h e   a u t o s c a l e r .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s . s t a t u s   ( H o r i z o n t a l P o d A u t o s c a l e r S t a t u s ) s t a t u s   i s   t h e   c u r r e n t   i n f o r m a t i o n   a b o u t   t h e   a u t o s c a l e r .   a p i V e r s i o n :   a u t o s c a l i n g / v 2   k i n d :   H o r i z o n t a l P o d A u t o s c a l e r   m e t a d a t a   ( O b j e c t M e t a )   m e t a d a t a   i s   t h e   s t a n d a r d   o b j e c t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( H o r i z o n t a l P o d A u t o s c a l e r S p e c )   s p e c   i s   t h ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23853"
  },
  {
    "question": "What is HorizontalPodAutoscalerSpec?",
    "answer": "H o r i z o n t a l P o d A u t o s c a l e r S p e c   d e s c r i b e s   t h e   d e s i r e d   f u n c t i o n a l i t y   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r .   m a x R e p l i c a s   ( i n t 3 2 ) ,   r e q u i r e d m a x R e p l i c a s   i s   t h e   u p p e r   l i m i t   f o r   t h e   n u m b e r   o f   r e p l i c a s   t o   w h i c h   t h e   a u t o s c a l e r   c a n   s c a l e   u p .   I t   c a n n o t   b e   l e s s   t h a t   m i n R e p l i c a s . s c a l e T a r g e t R e f   ( C r o s s V e r s i o n O b j e c t R e f e r e n c e ) ,   r e q u i r e d s c a l e T a r g e t R e f   p o i n t s   t o   t h e   t a r g e t   r e s o u r c e   t o   s c a l e ,   a n d   i s   u s e d   t o   t h e   p o d s   f o r   w h i c h   m e t r i c s   s h o u l d   b e   c o l l e c t e d ,   a s   w e l l   a s   t o   a c t u a l l y   c h a n g e   t h e   r e p l i c a   c o u n t . C r o s s V e r s i o n O b j e c t R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   i d e n t i f y   t h e   r e f e r r e d   r e s o u r c e . s c a l e T a r g e t R e f . k i n d   ( s t r i n g ) ,   r e q u i r e d k i n d   i s   t h e   k i n d   o f   t h e   r e f e r e n t ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s s c a l e T a r g e t R e f . n a m e   ( s t r i n g ) ,   r e q u i r e d n a m e   i s   t h e   n a m e   o f   t h e   r e f e r e n t ;   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s / # n a m e s s c a l e T a r g e t R e f . a p i V e r s i o n   ( s t r i n g ) a p i V e r s i o n   i s   t h e   A P I   v e r s i o n   o f   t h e   r e f e r e n t m i n R e p l i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23854"
  },
  {
    "question": "What is HorizontalPodAutoscalerStatus?",
    "answer": "H o r i z o n t a l P o d A u t o s c a l e r S t a t u s   d e s c r i b e s   t h e   c u r r e n t   s t a t u s   o f   a   h o r i z o n t a l   p o d   a u t o s c a l e r .   d e s i r e d R e p l i c a s   ( i n t 3 2 ) ,   r e q u i r e d d e s i r e d R e p l i c a s   i s   t h e   d e s i r e d   n u m b e r   o f   r e p l i c a s   o f   p o d s   m a n a g e d   b y   t h i s   a u t o s c a l e r ,   a s   l a s t   c a l c u l a t e d   b y   t h e   a u t o s c a l e r . c o n d i t i o n s   ( [ ] H o r i z o n t a l P o d A u t o s c a l e r C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e c o n d i t i o n s   i s   t h e   s e t   o f   c o n d i t i o n s   r e q u i r e d   f o r   t h i s   a u t o s c a l e r   t o   s c a l e   i t s   t a r g e t ,   a n d   i n d i c a t e s   w h e t h e r   o r   n o t   t h o s e   c o n d i t i o n s   a r e   m e t . H o r i z o n t a l P o d A u t o s c a l e r C o n d i t i o n   d e s c r i b e s   t h e   s t a t e   o f   a   H o r i z o n t a l P o d A u t o s c a l e r   a t   a   c e r t a i n   p o i n t . c o n d i t i o n s . s t a t u s   ( s t r i n g ) ,   r e q u i r e d s t a t u s   i s   t h e   s t a t u s   o f   t h e   c o n d i t i o n   ( T r u e ,   F a l s e ,   U n k n o w n ) c o n d i t i o n s . t y p e   ( s t r i n g ) ,   r e q u i r e d t y p e   d e s c r i b e s   t h e   c u r r e n t   c o n d i t i o n c o n d i t i o n s . l a s t T r a n s i t i o n T i m e   ( T i m e ) l a s t T r a n s i t i o n T i m e   i s   t h e   l a s t   t i m e   t h e   c o n d i t i o n   t r a n s i t i o n e d   f r o m   o n e   s t a t u s   t o   a n o t h e r T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23855"
  },
  {
    "question": "What is HorizontalPodAutoscalerList?",
    "answer": "H o r i z o n t a l P o d A u t o s c a l e r L i s t   i s   a   l i s t   o f   h o r i z o n t a l   p o d   a u t o s c a l e r   o b j e c t s .   a p i V e r s i o n :   a u t o s c a l i n g / v 2 k i n d :   H o r i z o n t a l P o d A u t o s c a l e r L i s t m e t a d a t a   ( L i s t M e t a ) m e t a d a t a   i s   t h e   s t a n d a r d   l i s t   m e t a d a t a . i t e m s   ( [ ] H o r i z o n t a l P o d A u t o s c a l e r ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   h o r i z o n t a l   p o d   a u t o s c a l e r   o b j e c t s .   a p i V e r s i o n :   a u t o s c a l i n g / v 2   k i n d :   H o r i z o n t a l P o d A u t o s c a l e r L i s t   m e t a d a t a   ( L i s t M e t a )   m e t a d a t a   i s   t h e   s t a n d a r d   l i s t   m e t a d a t a .   i t e m s   ( [ ] H o r i z o n t a l P o d A u t o s c a l e r ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   h o r i z o n t a l   p o d   a u t o s c a l e r   o b j e c t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23856"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23857"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23858"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23859"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23860"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23861"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23862"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23863"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23864"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23865"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 2 / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23866"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23867"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23868"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23869"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23870"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   2 0 2   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23871"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23872"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23873"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23874"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23875"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   H o r i z o n t a l P o d A u t o s c a l e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23876"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23877"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23878"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23879"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23880"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23881"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23882"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   O K   2 0 1   ( H o r i z o n t a l P o d A u t o s c a l e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23883"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23884"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   H o r i z o n t a l P o d A u t o s c a l e r   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23885"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23886"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23887"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23888"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23889"
  },
  {
    "question": "What is 5.1.14 - PriorityClass?",
    "answer": "a p i V e r s i o n :   s c h e d u l i n g . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / s c h e d u l i n g / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23890"
  },
  {
    "question": "What is PriorityClass?",
    "answer": "P r i o r i t y C l a s s   d e f i n e s   m a p p i n g   f r o m   a   p r i o r i t y   c l a s s   n a m e   t o   t h e   p r i o r i t y   i n t e g e r   v a l u e .   T h e   v a l u e   c a n   b e   a n y   v a l i d   i n t e g e r .   a p i V e r s i o n :   s c h e d u l i n g . k 8 s . i o / v 1 k i n d :   P r i o r i t y C l a s s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a v a l u e   ( i n t 3 2 ) ,   r e q u i r e d v a l u e   r e p r e s e n t s   t h e   i n t e g e r   v a l u e   o f   t h i s   p r i o r i t y   c l a s s .   T h i s   i s   t h e   a c t u a l   p r i o r i t y   t h a t   p o d s   r e c e i v e   w h e n   t h e y   h a v e   t h e   n a m e   o f   t h i s   c l a s s   i n   t h e i r   p o d   s p e c . d e s c r i p t i o n   ( s t r i n g ) d e s c r i p t i o n   i s   a n   a r b i t r a r y   s t r i n g   t h a t   u s u a l l y   p r o v i d e s   g u i d e l i n e s   o n   w h e n   t h i s   p r i o r i t y   c l a s s   s h o u l d   b e   u s e d . g l o b a l D e f a u l t   ( b o o l e a n ) g l o b a l D e f a u l t   s p e c i f i e s   w h e t h e r   t h i s   P r i o r i t y C l a s s   s h o u l d   b e   c o n s i d e r e d   a s   t h e   d e f a u l t   p r i o r i t y   f o r   p o d s   t h a t   d o   n o t   h a v e   a n y   p r i o r i t y   c l a s s .   O n l y   o n e   P r i o r i t y C l a s s   c a n   b e   m a r k e d   a s   g l o b a l D e f a u l t .   H o w e v e r ,   i f   m o r e   t h a n   o n e   P r i o r i t y C l a s s e s   e x i s t s   w i t h   t h e i r   g l o b a l D e f a u l t   f i e l d   s e t   t o   t r u e ,   t h e   s m a l l e s t   v a l u e   o f   s u c h   g l o b a l   d e f a u l t   P r i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23891"
  },
  {
    "question": "What is PriorityClassList?",
    "answer": "P r i o r i t y C l a s s L i s t   i s   a   c o l l e c t i o n   o f   p r i o r i t y   c l a s s e s .   a p i V e r s i o n :   s c h e d u l i n g . k 8 s . i o / v 1 k i n d :   P r i o r i t y C l a s s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] P r i o r i t y C l a s s ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   P r i o r i t y C l a s s e s   a p i V e r s i o n :   s c h e d u l i n g . k 8 s . i o / v 1   k i n d :   P r i o r i t y C l a s s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] P r i o r i t y C l a s s ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   P r i o r i t y C l a s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23892"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23893"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y C l a s s p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y C l a s s   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23894"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y C l a s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23895"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23896"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23897"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y C l a s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23898"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23899"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   P r i o r i t y C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   P r i o r i t y C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23900"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y C l a s s ) :   O K   2 0 1   ( P r i o r i t y C l a s s ) :   C r e a t e d   2 0 2   ( P r i o r i t y C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23901"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23902"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y C l a s s b o d y :   P r i o r i t y C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y C l a s s   b o d y :   P r i o r i t y C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23903"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y C l a s s ) :   O K   2 0 1   ( P r i o r i t y C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23904"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23905"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y C l a s s b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y C l a s s   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23906"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y C l a s s ) :   O K   2 0 1   ( P r i o r i t y C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23907"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23908"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y C l a s s b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y C l a s s   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23909"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23910"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23911"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23912"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23913"
  },
  {
    "question": "What is 5.1.15 - DeviceTaintRule v1alpha3?",
    "answer": "a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 a l p h a 3   i m p o r t   \" k 8 s . i o / a p i / r e s o u r c e / v 1 a l p h a 3 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23914"
  },
  {
    "question": "What is DeviceTaintRule?",
    "answer": "D e v i c e T a i n t R u l e   a d d s   o n e   t a i n t   t o   a l l   d e v i c e s   w h i c h   m a t c h   t h e   s e l e c t o r .   T h i s   h a s   t h e   s a m e   e f f e c t   a s   i f   t h e   t a i n t   w a s   s p e c i f i e d   d i r e c t l y   i n   t h e   R e s o u r c e S l i c e   b y   t h e   D R A   d r i v e r .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 k i n d :   D e v i c e T a i n t R u l e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a s p e c   ( D e v i c e T a i n t R u l e S p e c ) ,   r e q u i r e d S p e c   s p e c i f i e s   t h e   s e l e c t o r   a n d   o n e   t a i n t . C h a n g i n g   t h e   s p e c   a u t o m a t i c a l l y   i n c r e m e n t s   t h e   m e t a d a t a . g e n e r a t i o n   n u m b e r .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 a l p h a 3   k i n d :   D e v i c e T a i n t R u l e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t   m e t a d a t a   s p e c   ( D e v i c e T a i n t R u l e S p e c ) ,   r e q u i r e d   S p e c   s p e c i f i e s   t h e   s e l e c t o r   a n d   o n e   t a i n t .   C h a n g i n g   t h e   s p e c   a u t o m a t i c a l l y   i n c r e m e n t s   t h e   m e t a d a t a . g e n e r a t i o n   n u m b e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23915"
  },
  {
    "question": "What is DeviceTaintRuleSpec?",
    "answer": "D e v i c e T a i n t R u l e S p e c   s p e c i f i e s   t h e   s e l e c t o r   a n d   o n e   t a i n t .   t a i n t   ( D e v i c e T a i n t ) ,   r e q u i r e d T h e   t a i n t   t h a t   g e t s   a p p l i e d   t o   m a t c h i n g   d e v i c e s . T h e   d e v i c e   t h i s   t a i n t   i s   a t t a c h e d   t o   h a s   t h e   \" e f f e c t \"   o n   a n y   c l a i m   w h i c h   d o e s   n o t   t o l e r a t e   t h e   t a i n t   a n d ,   t h r o u g h   t h e   c l a i m ,   t o   p o d s   u s i n g   t h e   c l a i m . t a i n t . e f f e c t   ( s t r i n g ) ,   r e q u i r e d T h e   e f f e c t   o f   t h e   t a i n t   o n   c l a i m s   t h a t   d o   n o t   t o l e r a t e   t h e   t a i n t   a n d   t h r o u g h   s u c h   c l a i m s   o n   t h e   p o d s   u s i n g   t h e m .   V a l i d   e f f e c t s   a r e   N o S c h e d u l e   a n d   N o E x e c u t e .   P r e f e r N o S c h e d u l e   a s   u s e d   f o r   n o d e s   i s   n o t   v a l i d   h e r e . t a i n t . k e y   ( s t r i n g ) ,   r e q u i r e d T h e   t a i n t   k e y   t o   b e   a p p l i e d   t o   a   d e v i c e .   M u s t   b e   a   l a b e l   n a m e . t a i n t . t i m e A d d e d   ( T i m e ) T i m e A d d e d   r e p r e s e n t s   t h e   t i m e   a t   w h i c h   t h e   t a i n t   w a s   a d d e d .   A d d e d   a u t o m a t i c a l l y   d u r i n g   c r e a t e   o r   u p d a t e   i f   n o t   s e t . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . t a i n t . v a l u e   ( s t r i n g ) T h e   t a i n t   v a l u e   c o r r e s p o n d i n g   t o   t h e   t a i n t   k e y .   M u s t   b e   a   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23916"
  },
  {
    "question": "What is DeviceTaintRuleList?",
    "answer": "D e v i c e T a i n t R u l e L i s t   i s   a   c o l l e c t i o n   o f   D e v i c e T a i n t R u l e s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 k i n d :   D e v i c e T a i n t R u l e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a i t e m s   ( [ ] D e v i c e T a i n t R u l e ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   D e v i c e T a i n t R u l e s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 a l p h a 3   k i n d :   D e v i c e T a i n t R u l e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   i t e m s   ( [ ] D e v i c e T a i n t R u l e ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   D e v i c e T a i n t R u l e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23917"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23918"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e v i c e T a i n t R u l e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e v i c e T a i n t R u l e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23919"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e T a i n t R u l e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23920"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23921"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23922"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e T a i n t R u l e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23923"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23924"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e v i c e T a i n t R u l e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   D e v i c e T a i n t R u l e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23925"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e T a i n t R u l e ) :   O K   2 0 1   ( D e v i c e T a i n t R u l e ) :   C r e a t e d   2 0 2   ( D e v i c e T a i n t R u l e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23926"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23927"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e v i c e T a i n t R u l e b o d y :   D e v i c e T a i n t R u l e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e v i c e T a i n t R u l e   b o d y :   D e v i c e T a i n t R u l e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23928"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e T a i n t R u l e ) :   O K   2 0 1   ( D e v i c e T a i n t R u l e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23929"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23930"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e v i c e T a i n t R u l e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e v i c e T a i n t R u l e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23931"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e T a i n t R u l e ) :   O K   2 0 1   ( D e v i c e T a i n t R u l e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23932"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23933"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e v i c e T a i n t R u l e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e v i c e T a i n t R u l e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23934"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e T a i n t R u l e ) :   O K   2 0 2   ( D e v i c e T a i n t R u l e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23935"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23936"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23937"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23938"
  },
  {
    "question": "What is 5.1.16 - ResourceClaim?",
    "answer": "a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / r e s o u r c e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23939"
  },
  {
    "question": "What is ResourceClaim?",
    "answer": "R e s o u r c e C l a i m   d e s c r i b e s   a   r e q u e s t   f o r   a c c e s s   t o   r e s o u r c e s   i n   t h e   c l u s t e r ,   f o r   u s e   b y   w o r k l o a d s .   F o r   e x a m p l e ,   i f   a   w o r k l o a d   n e e d s   a n   a c c e l e r a t o r   d e v i c e   w i t h   s p e c i f i c   p r o p e r t i e s ,   t h i s   i s   h o w   t h a t   r e q u e s t   i s   e x p r e s s e d .   T h e   s t a t u s   s t a n z a   t r a c k s   w h e t h e r   t h i s   c l a i m   h a s   b e e n   s a t i s f i e d   a n d   w h a t   s p e c i f i c   r e s o u r c e s   h a v e   b e e n   a l l o c a t e d .   T h i s   i s   a n   a l p h a   t y p e   a n d   r e q u i r e s   e n a b l i n g   t h e   D y n a m i c R e s o u r c e A l l o c a t i o n   f e a t u r e   g a t e .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 k i n d :   R e s o u r c e C l a i m m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a s p e c   ( R e s o u r c e C l a i m S p e c ) ,   r e q u i r e d S p e c   d e s c r i b e s   w h a t   i s   b e i n g   r e q u e s t e d   a n d   h o w   t o   c o n f i g u r e   i t .   T h e   s p e c   i s   i m m u t a b l e . s t a t u s   ( R e s o u r c e C l a i m S t a t u s ) S t a t u s   d e s c r i b e s   w h e t h e r   t h e   c l a i m   i s   r e a d y   t o   u s e   a n d   w h a t   h a s   b e e n   a l l o c a t e d .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   R e s o u r c e C l a i m   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t   m e t a d a t a   s p e c   ( R e s o u r c e C l a i m S p e c ) ,   r e q u i r e d   S p e c   d e s c r i b e s   w h a t   i s   b e i n g   r e q u e s t e d   a n d   h o w   t o   c o n f i g u r e   i t .   T h e   s p e c   i s   i m m u t a b l e .   s t a t u s   ( R e s o u r c e C l a i m S t a t u s )   S t a t u s   d e s c r i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23940"
  },
  {
    "question": "What is ResourceClaimSpec?",
    "answer": "R e s o u r c e C l a i m S p e c   d e f i n e s   w h a t   i s   b e i n g   r e q u e s t e d   i n   a   R e s o u r c e C l a i m   a n d   h o w   t o   c o n f i g u r e   i t .   d e v i c e s   ( D e v i c e C l a i m ) D e v i c e s   d e f i n e s   h o w   t o   r e q u e s t   d e v i c e s . D e v i c e C l a i m   d e f i n e s   h o w   t o   r e q u e s t   d e v i c e s   w i t h   a   R e s o u r c e C l a i m . d e v i c e s . c o n f i g   ( [ ] D e v i c e C l a i m C o n f i g u r a t i o n ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e T h i s   f i e l d   h o l d s   c o n f i g u r a t i o n   f o r   m u l t i p l e   p o t e n t i a l   d r i v e r s   w h i c h   c o u l d   s a t i s f y   r e q u e s t s   i n   t h i s   c l a i m .   I t   i s   i g n o r e d   w h i l e   a l l o c a t i n g   t h e   c l a i m . D e v i c e C l a i m C o n f i g u r a t i o n   i s   u s e d   f o r   c o n f i g u r a t i o n   p a r a m e t e r s   i n   D e v i c e C l a i m . d e v i c e s . c o n f i g . o p a q u e   ( O p a q u e D e v i c e C o n f i g u r a t i o n ) O p a q u e   p r o v i d e s   d r i v e r - s p e c i f i c   c o n f i g u r a t i o n   p a r a m e t e r s . O p a q u e D e v i c e C o n f i g u r a t i o n   c o n t a i n s   c o n f i g u r a t i o n   p a r a m e t e r s   f o r   a   d r i v e r   i n   a   f o r m a t   d e f i n e d   b y   t h e   d r i v e r   v e n d o r . d e v i c e s . c o n f i g . o p a q u e . d r i v e r   ( s t r i n g ) ,   r e q u i r e d D r i v e r   i s   u s e d   t o   d e t e r m i n e   w h i c h   k u b e l e t   p l u g i n   n e e d s   t o   b e   p a s s e d   t h e s e   c o n f i g u r a t i o n   p a r a m e t e r s . A n   a d m i s s i o n   p o l i c y   p r o v i d e d   b y   t h e   d r i v e r   d e v e l o p e r   c o u l d   u s e   t h i s   t o   d e c i d e   w h e t h e r   i t   n e e d s   t o   v a l i d a t e   t h e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23941"
  },
  {
    "question": "What is ResourceClaimStatus?",
    "answer": "R e s o u r c e C l a i m S t a t u s   t r a c k s   w h e t h e r   t h e   r e s o u r c e   h a s   b e e n   a l l o c a t e d   a n d   w h a t   t h e   r e s u l t   o f   t h a t   w a s .   a l l o c a t i o n   ( A l l o c a t i o n R e s u l t ) A l l o c a t i o n   i s   s e t   o n c e   t h e   c l a i m   h a s   b e e n   a l l o c a t e d   s u c c e s s f u l l y . A l l o c a t i o n R e s u l t   c o n t a i n s   a t t r i b u t e s   o f   a n   a l l o c a t e d   r e s o u r c e . a l l o c a t i o n . a l l o c a t i o n T i m e s t a m p   ( T i m e ) A l l o c a t i o n T i m e s t a m p   s t o r e s   t h e   t i m e   w h e n   t h e   r e s o u r c e s   w e r e   a l l o c a t e d .   T h i s   f i e l d   i s   n o t   g u a r a n t e e d   t o   b e   s e t ,   i n   w h i c h   c a s e   t h a t   t i m e   i s   u n k n o w n . T h i s   i s   a n   a l p h a   f i e l d   a n d   r e q u i r e s   e n a b l i n g   t h e   D R A D e v i c e B i n d i n g C o n d i t i o n s   a n d   D R A R e s o u r c e C l a i m D e v i c e S t a t u s   f e a t u r e   g a t e . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . a l l o c a t i o n . d e v i c e s   ( D e v i c e A l l o c a t i o n R e s u l t ) D e v i c e s   i s   t h e   r e s u l t   o f   a l l o c a t i n g   d e v i c e s . D e v i c e A l l o c a t i o n R e s u l t   i s   t h e   r e s u l t   o f   a l l o c a t i n g   d e v i c e s . a l l o c a t i o n . d e v i c e s . c o n f i g   ( [ ] D e v i c e A l l o c a t i o n C o n f i g u r a t i o n ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e T h i s   f i e l d   i s   a   c o m b i n a t i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23942"
  },
  {
    "question": "What is ResourceClaimList?",
    "answer": "R e s o u r c e C l a i m L i s t   i s   a   c o l l e c t i o n   o f   c l a i m s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 k i n d :   R e s o u r c e C l a i m L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a i t e m s   ( [ ] R e s o u r c e C l a i m ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   r e s o u r c e   c l a i m s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   R e s o u r c e C l a i m L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   i t e m s   ( [ ] R e s o u r c e C l a i m ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   r e s o u r c e   c l a i m s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23943"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23944"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23945"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23946"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23947"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23948"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23949"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23950"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23951"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23952"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23953"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23954"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23955"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23956"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e s o u r c e C l a i m ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e s o u r c e C l a i m ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23957"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m ) :   O K   2 0 1   ( R e s o u r c e C l a i m ) :   C r e a t e d   2 0 2   ( R e s o u r c e C l a i m ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23958"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23959"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e s o u r c e C l a i m ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e s o u r c e C l a i m ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23960"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m ) :   O K   2 0 1   ( R e s o u r c e C l a i m ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23961"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23962"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e s o u r c e C l a i m ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e s o u r c e C l a i m ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23963"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m ) :   O K   2 0 1   ( R e s o u r c e C l a i m ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23964"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23965"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23966"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m ) :   O K   2 0 1   ( R e s o u r c e C l a i m ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23967"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23968"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23969"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m ) :   O K   2 0 1   ( R e s o u r c e C l a i m ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23970"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23971"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23972"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m ) :   O K   2 0 2   ( R e s o u r c e C l a i m ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23973"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23974"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23975"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23976"
  },
  {
    "question": "What is 5.1.17 - ResourceClaimTemplate?",
    "answer": "a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / r e s o u r c e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_23977"
  },
  {
    "question": "What is ResourceClaimTemplate?",
    "answer": "R e s o u r c e C l a i m T e m p l a t e   i s   u s e d   t o   p r o d u c e   R e s o u r c e C l a i m   o b j e c t s .   T h i s   i s   a n   a l p h a   t y p e   a n d   r e q u i r e s   e n a b l i n g   t h e   D y n a m i c R e s o u r c e A l l o c a t i o n   f e a t u r e   g a t e .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 k i n d :   R e s o u r c e C l a i m T e m p l a t e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a s p e c   ( R e s o u r c e C l a i m T e m p l a t e S p e c ) ,   r e q u i r e d D e s c r i b e s   t h e   R e s o u r c e C l a i m   t h a t   i s   t o   b e   g e n e r a t e d . T h i s   f i e l d   i s   i m m u t a b l e .   A   R e s o u r c e C l a i m   w i l l   g e t   c r e a t e d   b y   t h e   c o n t r o l   p l a n e   f o r   a   P o d   w h e n   n e e d e d   a n d   t h e n   n o t   g e t   u p d a t e d   a n y m o r e .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   R e s o u r c e C l a i m T e m p l a t e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t   m e t a d a t a   s p e c   ( R e s o u r c e C l a i m T e m p l a t e S p e c ) ,   r e q u i r e d   D e s c r i b e s   t h e   R e s o u r c e C l a i m   t h a t   i s   t o   b e   g e n e r a t e d .   T h i s   f i e l d   i s   i m m u t a b l e .   A   R e s o u r c e C l a i m   w i l l   g e t   c r e a t e d   b y   t h e   c o n t r o l   p l a n e   f o r   a   P o d   w h e n   n e e d e d   a n d   t h e n   n o t   g e t   u p d a t e d   a n y m o r e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23978"
  },
  {
    "question": "What is ResourceClaimTemplateSpec?",
    "answer": "R e s o u r c e C l a i m T e m p l a t e S p e c   c o n t a i n s   t h e   m e t a d a t a   a n d   f i e l d s   f o r   a   R e s o u r c e C l a i m .   s p e c   ( R e s o u r c e C l a i m S p e c ) ,   r e q u i r e d S p e c   f o r   t h e   R e s o u r c e C l a i m .   T h e   e n t i r e   c o n t e n t   i s   c o p i e d   u n c h a n g e d   i n t o   t h e   R e s o u r c e C l a i m   t h a t   g e t s   c r e a t e d   f r o m   t h i s   t e m p l a t e .   T h e   s a m e   f i e l d s   a s   i n   a   R e s o u r c e C l a i m   a r e   a l s o   v a l i d   h e r e . m e t a d a t a   ( O b j e c t M e t a ) O b j e c t M e t a   m a y   c o n t a i n   l a b e l s   a n d   a n n o t a t i o n s   t h a t   w i l l   b e   c o p i e d   i n t o   t h e   R e s o u r c e C l a i m   w h e n   c r e a t i n g   i t .   N o   o t h e r   f i e l d s   a r e   a l l o w e d   a n d   w i l l   b e   r e j e c t e d   d u r i n g   v a l i d a t i o n .   s p e c   ( R e s o u r c e C l a i m S p e c ) ,   r e q u i r e d   S p e c   f o r   t h e   R e s o u r c e C l a i m .   T h e   e n t i r e   c o n t e n t   i s   c o p i e d   u n c h a n g e d   i n t o   t h e   R e s o u r c e C l a i m   t h a t   g e t s   c r e a t e d   f r o m   t h i s   t e m p l a t e .   T h e   s a m e   f i e l d s   a s   i n   a   R e s o u r c e C l a i m   a r e   a l s o   v a l i d   h e r e .   m e t a d a t a   ( O b j e c t M e t a )   O b j e c t M e t a   m a y   c o n t a i n   l a b e l s   a n d   a n n o t a t i o n s   t h a t   w i l l   b e   c o p i e d   i n t o   t h e   R e s o u r c e C l a i m   w h e n   c r e a t i n g   i t .   N o   o t h e r   f i e l d s   a r e   a l l o w e d   a n d   w i l l   b e   r e j e c t e d   d u r i n g   v a l i d a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23979"
  },
  {
    "question": "What is ResourceClaimTemplateList?",
    "answer": "R e s o u r c e C l a i m T e m p l a t e L i s t   i s   a   c o l l e c t i o n   o f   c l a i m   t e m p l a t e s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 k i n d :   R e s o u r c e C l a i m T e m p l a t e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a i t e m s   ( [ ] R e s o u r c e C l a i m T e m p l a t e ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   r e s o u r c e   c l a i m   t e m p l a t e s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   R e s o u r c e C l a i m T e m p l a t e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   i t e m s   ( [ ] R e s o u r c e C l a i m T e m p l a t e ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   r e s o u r c e   c l a i m   t e m p l a t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_23980"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23981"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m T e m p l a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m T e m p l a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23982"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m T e m p l a t e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23983"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23984"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23985"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m T e m p l a t e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23986"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23987"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23988"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m T e m p l a t e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23989"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23990"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e s o u r c e C l a i m T e m p l a t e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e s o u r c e C l a i m T e m p l a t e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23991"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m T e m p l a t e ) :   O K   2 0 1   ( R e s o u r c e C l a i m T e m p l a t e ) :   C r e a t e d   2 0 2   ( R e s o u r c e C l a i m T e m p l a t e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23992"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23993"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m T e m p l a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e s o u r c e C l a i m T e m p l a t e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m T e m p l a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e s o u r c e C l a i m T e m p l a t e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23994"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m T e m p l a t e ) :   O K   2 0 1   ( R e s o u r c e C l a i m T e m p l a t e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23995"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23996"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m T e m p l a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m T e m p l a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23997"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m T e m p l a t e ) :   O K   2 0 1   ( R e s o u r c e C l a i m T e m p l a t e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23998"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_23999"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e C l a i m T e m p l a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e C l a i m T e m p l a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24000"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e C l a i m T e m p l a t e ) :   O K   2 0 2   ( R e s o u r c e C l a i m T e m p l a t e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24001"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24002"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24003"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24004"
  },
  {
    "question": "What is 5.1.18 - ResourceSlice?",
    "answer": "a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / r e s o u r c e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24005"
  },
  {
    "question": "What is ResourceSlice?",
    "answer": "R e s o u r c e S l i c e   r e p r e s e n t s   o n e   o r   m o r e   r e s o u r c e s   i n   a   p o o l   o f   s i m i l a r   r e s o u r c e s ,   m a n a g e d   b y   a   c o m m o n   d r i v e r .   A   p o o l   m a y   s p a n   m o r e   t h a n   o n e   R e s o u r c e S l i c e ,   a n d   e x a c t l y   h o w   m a n y   R e s o u r c e S l i c e s   c o m p r i s e   a   p o o l   i s   d e t e r m i n e d   b y   t h e   d r i v e r .   A t   t h e   m o m e n t ,   t h e   o n l y   s u p p o r t e d   r e s o u r c e s   a r e   d e v i c e s   w i t h   a t t r i b u t e s   a n d   c a p a c i t i e s .   E a c h   d e v i c e   i n   a   g i v e n   p o o l ,   r e g a r d l e s s   o f   h o w   m a n y   R e s o u r c e S l i c e s ,   m u s t   h a v e   a   u n i q u e   n a m e .   T h e   R e s o u r c e S l i c e   i n   w h i c h   a   d e v i c e   g e t s   p u b l i s h e d   m a y   c h a n g e   o v e r   t i m e .   T h e   u n i q u e   i d e n t i f i e r   f o r   a   d e v i c e   i s   t h e   t u p l e   < d r i v e r   n a m e > ,   < p o o l   n a m e > ,   < d e v i c e   n a m e > .   W h e n e v e r   a   d r i v e r   n e e d s   t o   u p d a t e   a   p o o l ,   i t   i n c r e m e n t s   t h e   p o o l . S p e c . P o o l . G e n e r a t i o n   n u m b e r   a n d   u p d a t e s   a l l   R e s o u r c e S l i c e s   w i t h   t h a t   n e w   n u m b e r   a n d   n e w   r e s o u r c e   d e f i n i t i o n s .   A   c o n s u m e r   m u s t   o n l y   u s e   R e s o u r c e S l i c e s   w i t h   t h e   h i g h e s t   g e n e r a t i o n   n u m b e r   a n d   i g n o r e   a l l   o t h e r s .   W h e n   a l l o c a t i n g   a l l   r e s o u r c e s   i n   a   p o o l   m a t c h i n g   c e r t a i n   c r i t e r i a   o r   w h e n   l o o k i n g   f o r   t h e   b e s t   s o l u t i o n   a m o n g   s e v e r a l   d i f f e r e n t   a l t e r n a t i v e s ,   a   c o n s u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24006"
  },
  {
    "question": "What is ResourceSliceSpec?",
    "answer": "R e s o u r c e S l i c e S p e c   c o n t a i n s   t h e   i n f o r m a t i o n   p u b l i s h e d   b y   t h e   d r i v e r   i n   o n e   R e s o u r c e S l i c e .   d r i v e r   ( s t r i n g ) ,   r e q u i r e d D r i v e r   i d e n t i f i e s   t h e   D R A   d r i v e r   p r o v i d i n g   t h e   c a p a c i t y   i n f o r m a t i o n .   A   f i e l d   s e l e c t o r   c a n   b e   u s e d   t o   l i s t   o n l y   R e s o u r c e S l i c e   o b j e c t s   w i t h   a   c e r t a i n   d r i v e r   n a m e . M u s t   b e   a   D N S   s u b d o m a i n   a n d   s h o u l d   e n d   w i t h   a   D N S   d o m a i n   o w n e d   b y   t h e   v e n d o r   o f   t h e   d r i v e r .   T h i s   f i e l d   i s   i m m u t a b l e . p o o l   ( R e s o u r c e P o o l ) ,   r e q u i r e d P o o l   d e s c r i b e s   t h e   p o o l   t h a t   t h i s   R e s o u r c e S l i c e   b e l o n g s   t o . R e s o u r c e P o o l   d e s c r i b e s   t h e   p o o l   t h a t   R e s o u r c e S l i c e s   b e l o n g   t o . p o o l . g e n e r a t i o n   ( i n t 6 4 ) ,   r e q u i r e d G e n e r a t i o n   t r a c k s   t h e   c h a n g e   i n   a   p o o l   o v e r   t i m e .   W h e n e v e r   a   d r i v e r   c h a n g e s   s o m e t h i n g   a b o u t   o n e   o r   m o r e   o f   t h e   r e s o u r c e s   i n   a   p o o l ,   i t   m u s t   c h a n g e   t h e   g e n e r a t i o n   i n   a l l   R e s o u r c e S l i c e s   w h i c h   a r e   p a r t   o f   t h a t   p o o l .   C o n s u m e r s   o f   R e s o u r c e S l i c e s   s h o u l d   o n l y   c o n s i d e r   r e s o u r c e s   f r o m   t h e   p o o l   w i t h   t h e   h i g h e s t   g e n e r a t i o n   n u m b e r .   T h e   g e n e r a t i o n   m a y   b e   r e s e t   b y   d r i v e r s ,   w h i c h   s h o u l d   b e   f i n e   f o r   c o n s u m e r s ,   a s s u m i n g   t h a t   a l l   R e s o u r c e S l i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24007"
  },
  {
    "question": "What is ResourceSliceList?",
    "answer": "R e s o u r c e S l i c e L i s t   i s   a   c o l l e c t i o n   o f   R e s o u r c e S l i c e s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 k i n d :   R e s o u r c e S l i c e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a i t e m s   ( [ ] R e s o u r c e S l i c e ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   r e s o u r c e   R e s o u r c e S l i c e s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   R e s o u r c e S l i c e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   i t e m s   ( [ ] R e s o u r c e S l i c e ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   r e s o u r c e   R e s o u r c e S l i c e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24008"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24009"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e S l i c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e S l i c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24010"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e S l i c e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24011"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24012"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24013"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e S l i c e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24014"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24015"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   R e s o u r c e S l i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   R e s o u r c e S l i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24016"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e S l i c e ) :   O K   2 0 1   ( R e s o u r c e S l i c e ) :   C r e a t e d   2 0 2   ( R e s o u r c e S l i c e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24017"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24018"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e S l i c e b o d y :   R e s o u r c e S l i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e S l i c e   b o d y :   R e s o u r c e S l i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24019"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e S l i c e ) :   O K   2 0 1   ( R e s o u r c e S l i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24020"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24021"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e S l i c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e S l i c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24022"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e S l i c e ) :   O K   2 0 1   ( R e s o u r c e S l i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24023"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24024"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e S l i c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e S l i c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24025"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e S l i c e ) :   O K   2 0 2   ( R e s o u r c e S l i c e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24026"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24027"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24028"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24029"
  },
  {
    "question": "What is 5.2.1 - Service?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24030"
  },
  {
    "question": "What is Service?",
    "answer": "S e r v i c e   i s   a   n a m e d   a b s t r a c t i o n   o f   s o f t w a r e   s e r v i c e   ( f o r   e x a m p l e ,   m y s q l )   c o n s i s t i n g   o f   l o c a l   p o r t   ( f o r   e x a m p l e   3 3 0 6 )   t h a t   t h e   p r o x y   l i s t e n s   o n ,   a n d   t h e   s e l e c t o r   t h a t   d e t e r m i n e s   w h i c h   p o d s   w i l l   a n s w e r   r e q u e s t s   s e n t   t h r o u g h   t h e   p r o x y .   a p i V e r s i o n :   v 1 k i n d :   S e r v i c e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( S e r v i c e S p e c ) S p e c   d e f i n e s   t h e   b e h a v i o r   o f   a   s e r v i c e .   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( S e r v i c e S t a t u s ) M o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   s e r v i c e .   P o p u l a t e d   b y   t h e   s y s t e m .   R e a d - o n l y .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( S e r v i c e S p e c )   S p e c   d e f i n e s   t h ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24031"
  },
  {
    "question": "What is ServiceSpec?",
    "answer": "S e r v i c e S p e c   d e s c r i b e s   t h e   a t t r i b u t e s   t h a t   a   u s e r   c r e a t e s   o n   a   s e r v i c e .   s e l e c t o r   ( m a p [ s t r i n g ] s t r i n g ) R o u t e   s e r v i c e   t r a f f i c   t o   p o d s   w i t h   l a b e l   k e y s   a n d   v a l u e s   m a t c h i n g   t h i s   s e l e c t o r .   I f   e m p t y   o r   n o t   p r e s e n t ,   t h e   s e r v i c e   i s   a s s u m e d   t o   h a v e   a n   e x t e r n a l   p r o c e s s   m a n a g i n g   i t s   e n d p o i n t s ,   w h i c h   K u b e r n e t e s   w i l l   n o t   m o d i f y .   O n l y   a p p l i e s   t o   t y p e s   C l u s t e r I P ,   N o d e P o r t ,   a n d   L o a d B a l a n c e r .   I g n o r e d   i f   t y p e   i s   E x t e r n a l N a m e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s e r v i c e s - n e t w o r k i n g / s e r v i c e / p o r t s   ( [ ] S e r v i c e P o r t ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   p o r t M a p :   u n i q u e   v a l u e s   o n   k e y s   p o r t ,   p r o t o c o l   w i l l   b e   k e p t   d u r i n g   a   m e r g e T h e   l i s t   o f   p o r t s   t h a t   a r e   e x p o s e d   b y   t h i s   s e r v i c e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s e r v i c e s - n e t w o r k i n g / s e r v i c e / # v i r t u a l - i p s - a n d - s e r v i c e - p r o x i e s S e r v i c e P o r t   c o n t a i n s   i n f o r m a t i o n   o n   s e r v i c e ' s   p o r t . p o r t s . p o r t   ( i n t 3 2 ) ,   r e q u i r e d T h e   p o r t   t h a t   w i l l   b e   e x p o s e d   b y   t h i s   s e r v i c e . p o r t s . t a r g e t P o r t   ( I n t O r S t r i n g ) N u m b e r   o r   n a m e   o f   t h e   p o r t   t o   a c c e s s   o n   t h e   p o d s   t a r g e t e d   b y   t h e   s e r v i c e .   N u m b e r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24032"
  },
  {
    "question": "What is ServiceStatus?",
    "answer": "S e r v i c e S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t u s   o f   a   s e r v i c e .   c o n d i t i o n s   ( [ ] C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e C u r r e n t   s e r v i c e   s t a t e C o n d i t i o n   c o n t a i n s   d e t a i l s   f o r   o n e   a s p e c t   o f   t h e   c u r r e n t   s t a t e   o f   t h i s   A P I   R e s o u r c e . c o n d i t i o n s . l a s t T r a n s i t i o n T i m e   ( T i m e ) ,   r e q u i r e d l a s t T r a n s i t i o n T i m e   i s   t h e   l a s t   t i m e   t h e   c o n d i t i o n   t r a n s i t i o n e d   f r o m   o n e   s t a t u s   t o   a n o t h e r .   T h i s   s h o u l d   b e   w h e n   t h e   u n d e r l y i n g   c o n d i t i o n   c h a n g e d .   I f   t h a t   i s   n o t   k n o w n ,   t h e n   u s i n g   t h e   t i m e   w h e n   t h e   A P I   f i e l d   c h a n g e d   i s   a c c e p t a b l e . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c o n d i t i o n s . m e s s a g e   ( s t r i n g ) ,   r e q u i r e d m e s s a g e   i s   a   h u m a n   r e a d a b l e   m e s s a g e   i n d i c a t i n g   d e t a i l s   a b o u t   t h e   t r a n s i t i o n .   T h i s   m a y   b e   a n   e m p t y   s t r i n g . c o n d i t i o n s . r e a s o n   ( s t r i n g ) ,   r e q u i r e d r e a s o n   c o n t a i n s   a   p r o g r a m m a t i c   i d e n t i f i e r   i n d i c a t i n g   t h e   r e a s o n   f o r   t h e   c o n d i t i o n ' s   l a s t   t r a n s i t i o n . ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24033"
  },
  {
    "question": "What is ServiceList?",
    "answer": "S e r v i c e L i s t   h o l d s   a   l i s t   o f   s e r v i c e s .   a p i V e r s i o n :   v 1 k i n d :   S e r v i c e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] S e r v i c e ) ,   r e q u i r e d L i s t   o f   s e r v i c e s   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] S e r v i c e ) ,   r e q u i r e d   L i s t   o f   s e r v i c e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24034"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24035"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24036"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24037"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24038"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24039"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24040"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24041"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24042"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24043"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / s e r v i c e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24044"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24045"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24046"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24047"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S e r v i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S e r v i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24048"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e ) :   O K   2 0 1   ( S e r v i c e ) :   C r e a t e d   2 0 2   ( S e r v i c e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24049"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24050"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S e r v i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S e r v i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24051"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e ) :   O K   2 0 1   ( S e r v i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24052"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24053"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S e r v i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S e r v i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24054"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e ) :   O K   2 0 1   ( S e r v i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24055"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24056"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24057"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e ) :   O K   2 0 1   ( S e r v i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24058"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24059"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24060"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e ) :   O K   2 0 1   ( S e r v i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24061"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24062"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24063"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e ) :   O K   2 0 2   ( S e r v i c e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24064"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24065"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24066"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24067"
  },
  {
    "question": "What is 5.2.2 - Endpoints?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24068"
  },
  {
    "question": "What is Endpoints?",
    "answer": "E n d p o i n t s   i s   a   c o l l e c t i o n   o f   e n d p o i n t s   t h a t   i m p l e m e n t   t h e   a c t u a l   s e r v i c e .   E x a m p l e :   N a m e :   \" m y s v c \" ,   S u b s e t s :   [   {   A d d r e s s e s :   [ { \" i p \" :   \" 1 0 . 1 0 . 1 . 1 \" } ,   { \" i p \" :   \" 1 0 . 1 0 . 2 . 2 \" } ] ,   P o r t s :   [ { \" n a m e \" :   \" a \" ,   \" p o r t \" :   8 6 7 5 } ,   { \" n a m e \" :   \" b \" ,   \" p o r t \" :   3 0 9 } ]   } ,   {   A d d r e s s e s :   [ { \" i p \" :   \" 1 0 . 1 0 . 3 . 3 \" } ] ,   P o r t s :   [ { \" n a m e \" :   \" a \" ,   \" p o r t \" :   9 3 } ,   { \" n a m e \" :   \" b \" ,   \" p o r t \" :   7 6 } ]   } ,   ]   E n d p o i n t s   i s   a   l e g a c y   A P I   a n d   d o e s   n o t   c o n t a i n   i n f o r m a t i o n   a b o u t   a l l   S e r v i c e   f e a t u r e s .   U s e   d i s c o v e r y v 1 . E n d p o i n t S l i c e   f o r   c o m p l e t e   i n f o r m a t i o n   a b o u t   S e r v i c e   e n d p o i n t s .   D e p r e c a t e d :   T h i s   A P I   i s   d e p r e c a t e d   i n   v 1 . 3 3 + .   U s e   d i s c o v e r y v 1 . E n d p o i n t S l i c e .   a p i V e r s i o n :   v 1 k i n d :   E n d p o i n t s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s u b s e t s   ( [ ] E n d p o i n t S u b s e t ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e T h e   s e t   o f   a l l   e n d p o i n t s   i s   t h e   u n i o n   o f   a l l   s u b s e t s .   A d d r e s s e s   a r e   p l a c e d   i n t o   s u b s e t s   a c c o r d i n g   t o   t h e   I P s   t h e y   s h a r e .   A   s i n g l e   a d d r e s s   w i t h   m u l t i p l e   p o r t s ,   s o m e   o f   w h i c h   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24069"
  },
  {
    "question": "What is EndpointsList?",
    "answer": "E n d p o i n t s L i s t   i s   a   l i s t   o f   e n d p o i n t s .   D e p r e c a t e d :   T h i s   A P I   i s   d e p r e c a t e d   i n   v 1 . 3 3 + .   a p i V e r s i o n :   v 1 k i n d :   E n d p o i n t s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] E n d p o i n t s ) ,   r e q u i r e d L i s t   o f   e n d p o i n t s .   a p i V e r s i o n :   v 1   k i n d :   E n d p o i n t s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] E n d p o i n t s ) ,   r e q u i r e d   L i s t   o f   e n d p o i n t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24070"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24071"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E n d p o i n t s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E n d p o i n t s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24072"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24073"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24074"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24075"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24076"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / e n d p o i n t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24077"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24078"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24079"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24080"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   E n d p o i n t s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   E n d p o i n t s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24081"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t s ) :   O K   2 0 1   ( E n d p o i n t s ) :   C r e a t e d   2 0 2   ( E n d p o i n t s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24082"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24083"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E n d p o i n t s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   E n d p o i n t s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E n d p o i n t s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   E n d p o i n t s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24084"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t s ) :   O K   2 0 1   ( E n d p o i n t s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24085"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24086"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E n d p o i n t s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E n d p o i n t s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24087"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t s ) :   O K   2 0 1   ( E n d p o i n t s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24088"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24089"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E n d p o i n t s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E n d p o i n t s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24090"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24091"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24092"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24093"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24094"
  },
  {
    "question": "What is 5.2.3 - EndpointSlice?",
    "answer": "a p i V e r s i o n :   d i s c o v e r y . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / d i s c o v e r y / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24095"
  },
  {
    "question": "What is EndpointSlice?",
    "answer": "E n d p o i n t S l i c e   r e p r e s e n t s   a   s e t   o f   s e r v i c e   e n d p o i n t s .   M o s t   E n d p o i n t S l i c e s   a r e   c r e a t e d   b y   t h e   E n d p o i n t S l i c e   c o n t r o l l e r   t o   r e p r e s e n t   t h e   P o d s   s e l e c t e d   b y   S e r v i c e   o b j e c t s .   F o r   a   g i v e n   s e r v i c e   t h e r e   m a y   b e   m u l t i p l e   E n d p o i n t S l i c e   o b j e c t s   w h i c h   m u s t   b e   j o i n e d   t o   p r o d u c e   t h e   f u l l   s e t   o f   e n d p o i n t s ;   y o u   c a n   f i n d   a l l   o f   t h e   s l i c e s   f o r   a   g i v e n   s e r v i c e   b y   l i s t i n g   E n d p o i n t S l i c e s   i n   t h e   s e r v i c e ' s   n a m e s p a c e   w h o s e   k u b e r n e t e s . i o / s e r v i c e - n a m e   l a b e l   c o n t a i n s   t h e   s e r v i c e ' s   n a m e .   a p i V e r s i o n :   d i s c o v e r y . k 8 s . i o / v 1 k i n d :   E n d p o i n t S l i c e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . a d d r e s s T y p e   ( s t r i n g ) ,   r e q u i r e d a d d r e s s T y p e   s p e c i f i e s   t h e   t y p e   o f   a d d r e s s   c a r r i e d   b y   t h i s   E n d p o i n t S l i c e .   A l l   a d d r e s s e s   i n   t h i s   s l i c e   m u s t   b e   t h e   s a m e   t y p e .   T h i s   f i e l d   i s   i m m u t a b l e   a f t e r   c r e a t i o n .   T h e   f o l l o w i n g   a d d r e s s   t y p e s   a r e   c u r r e n t l y   s u p p o r t e d :   *   I P v 4 :   R e p r e s e n t s   a n   I P v 4   A d d r e s s .   *   I P v 6 :   R e p r e s e n t s   a n   I P v 6   A d d r e s s .   *   F Q D N :   R e p r e s e n t s   a   F u l l y   Q u a l i f i e d   D o m a i n   N a m e .   ( D e p r e c a t e d )   T h e   E n d p o i n t S l i c e   c o n t r o l l e r   o n l y   g e n e r a t e s ,   a n d   k u b e - p r o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24096"
  },
  {
    "question": "What is EndpointSliceList?",
    "answer": "E n d p o i n t S l i c e L i s t   r e p r e s e n t s   a   l i s t   o f   e n d p o i n t   s l i c e s   a p i V e r s i o n :   d i s c o v e r y . k 8 s . i o / v 1 k i n d :   E n d p o i n t S l i c e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a . i t e m s   ( [ ] E n d p o i n t S l i c e ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   e n d p o i n t   s l i c e s   a p i V e r s i o n :   d i s c o v e r y . k 8 s . i o / v 1   k i n d :   E n d p o i n t S l i c e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   i t e m s   ( [ ] E n d p o i n t S l i c e ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   e n d p o i n t   s l i c e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24097"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24098"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E n d p o i n t S l i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E n d p o i n t S l i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24099"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t S l i c e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24100"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24101"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24102"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t S l i c e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24103"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / e n d p o i n t s l i c e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24104"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24105"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t S l i c e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24106"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24107"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   E n d p o i n t S l i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   E n d p o i n t S l i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24108"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t S l i c e ) :   O K   2 0 1   ( E n d p o i n t S l i c e ) :   C r e a t e d   2 0 2   ( E n d p o i n t S l i c e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24109"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24110"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E n d p o i n t S l i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   E n d p o i n t S l i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E n d p o i n t S l i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   E n d p o i n t S l i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24111"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t S l i c e ) :   O K   2 0 1   ( E n d p o i n t S l i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24112"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24113"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E n d p o i n t S l i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E n d p o i n t S l i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24114"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E n d p o i n t S l i c e ) :   O K   2 0 1   ( E n d p o i n t S l i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24115"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24116"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E n d p o i n t S l i c e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E n d p o i n t S l i c e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24117"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24118"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24119"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24120"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24121"
  },
  {
    "question": "What is 5.2.4 - Ingress?",
    "answer": "a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / n e t w o r k i n g / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24122"
  },
  {
    "question": "What is Ingress?",
    "answer": "I n g r e s s   i s   a   c o l l e c t i o n   o f   r u l e s   t h a t   a l l o w   i n b o u n d   c o n n e c t i o n s   t o   r e a c h   t h e   e n d p o i n t s   d e f i n e d   b y   a   b a c k e n d .   A n   I n g r e s s   c a n   b e   c o n f i g u r e d   t o   g i v e   s e r v i c e s   e x t e r n a l l y - r e a c h a b l e   u r l s ,   l o a d   b a l a n c e   t r a f f i c ,   t e r m i n a t e   S S L ,   o f f e r   n a m e   b a s e d   v i r t u a l   h o s t i n g   e t c .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   I n g r e s s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( I n g r e s s S p e c ) s p e c   i s   t h e   d e s i r e d   s t a t e   o f   t h e   I n g r e s s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( I n g r e s s S t a t u s ) s t a t u s   i s   t h e   c u r r e n t   s t a t e   o f   t h e   I n g r e s s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24123"
  },
  {
    "question": "What is IngressSpec?",
    "answer": "I n g r e s s S p e c   d e s c r i b e s   t h e   I n g r e s s   t h e   u s e r   w i s h e s   t o   e x i s t .   d e f a u l t B a c k e n d   ( I n g r e s s B a c k e n d ) d e f a u l t B a c k e n d   i s   t h e   b a c k e n d   t h a t   s h o u l d   h a n d l e   r e q u e s t s   t h a t   d o n ' t   m a t c h   a n y   r u l e .   I f   R u l e s   a r e   n o t   s p e c i f i e d ,   D e f a u l t B a c k e n d   m u s t   b e   s p e c i f i e d .   I f   D e f a u l t B a c k e n d   i s   n o t   s e t ,   t h e   h a n d l i n g   o f   r e q u e s t s   t h a t   d o   n o t   m a t c h   a n y   o f   t h e   r u l e s   w i l l   b e   u p   t o   t h e   I n g r e s s   c o n t r o l l e r . i n g r e s s C l a s s N a m e   ( s t r i n g ) i n g r e s s C l a s s N a m e   i s   t h e   n a m e   o f   a n   I n g r e s s C l a s s   c l u s t e r   r e s o u r c e .   I n g r e s s   c o n t r o l l e r   i m p l e m e n t a t i o n s   u s e   t h i s   f i e l d   t o   k n o w   w h e t h e r   t h e y   s h o u l d   b e   s e r v i n g   t h i s   I n g r e s s   r e s o u r c e ,   b y   a   t r a n s i t i v e   c o n n e c t i o n   ( c o n t r o l l e r   - >   I n g r e s s C l a s s   - >   I n g r e s s   r e s o u r c e ) .   A l t h o u g h   t h e   k u b e r n e t e s . i o / i n g r e s s . c l a s s   a n n o t a t i o n   ( s i m p l e   c o n s t a n t   n a m e )   w a s   n e v e r   f o r m a l l y   d e f i n e d ,   i t   w a s   w i d e l y   s u p p o r t e d   b y   I n g r e s s   c o n t r o l l e r s   t o   c r e a t e   a   d i r e c t   b i n d i n g   b e t w e e n   I n g r e s s   c o n t r o l l e r   a n d   I n g r e s s   r e s o u r c e s .   N e w l y   c r e a t e d   I n g r e s s   r e s o u r c e s   s h o u l d   p r e f e r   u s i n g   t h e   f i e l d .   H o w e v e r ,   e v e n   t h o u g h   t h e   a n n o t a t i o n   i s   o f f i c i a l l y   d e p r e c a t e d ,   f o r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24124"
  },
  {
    "question": "What is IngressBackend?",
    "answer": "I n g r e s s B a c k e n d   d e s c r i b e s   a l l   e n d p o i n t s   f o r   a   g i v e n   s e r v i c e   a n d   p o r t .   r e s o u r c e   ( T y p e d L o c a l O b j e c t R e f e r e n c e ) r e s o u r c e   i s   a n   O b j e c t R e f   t o   a n o t h e r   K u b e r n e t e s   r e s o u r c e   i n   t h e   n a m e s p a c e   o f   t h e   I n g r e s s   o b j e c t .   I f   r e s o u r c e   i s   s p e c i f i e d ,   a   s e r v i c e . N a m e   a n d   s e r v i c e . P o r t   m u s t   n o t   b e   s p e c i f i e d .   T h i s   i s   a   m u t u a l l y   e x c l u s i v e   s e t t i n g   w i t h   \" S e r v i c e \" . s e r v i c e   ( I n g r e s s S e r v i c e B a c k e n d ) s e r v i c e   r e f e r e n c e s   a   s e r v i c e   a s   a   b a c k e n d .   T h i s   i s   a   m u t u a l l y   e x c l u s i v e   s e t t i n g   w i t h   \" R e s o u r c e \" . I n g r e s s S e r v i c e B a c k e n d   r e f e r e n c e s   a   K u b e r n e t e s   S e r v i c e   a s   a   B a c k e n d . s e r v i c e . n a m e   ( s t r i n g ) ,   r e q u i r e d n a m e   i s   t h e   r e f e r e n c e d   s e r v i c e .   T h e   s e r v i c e   m u s t   e x i s t   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   I n g r e s s   o b j e c t . s e r v i c e . p o r t   ( S e r v i c e B a c k e n d P o r t ) p o r t   o f   t h e   r e f e r e n c e d   s e r v i c e .   A   p o r t   n a m e   o r   p o r t   n u m b e r   i s   r e q u i r e d   f o r   a   I n g r e s s S e r v i c e B a c k e n d . S e r v i c e B a c k e n d P o r t   i s   t h e   s e r v i c e   p o r t   b e i n g   r e f e r e n c e d . s e r v i c e . p o r t . n a m e   ( s t r i n g ) n a m e   i s   t h e   n a m e   o f   t h e   p o r t   o n   t h e   S e r v i c e .   T h i s   i s   a   m u t u a l l y   e x c l u s i v e   s e t t i n g   w i t h   \" N u m b e r \" . s e r v i c e . p o r t . n u m b e r   ( i n t 3 2 ) n u m b e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24125"
  },
  {
    "question": "What is IngressStatus?",
    "answer": "I n g r e s s S t a t u s   d e s c r i b e   t h e   c u r r e n t   s t a t e   o f   t h e   I n g r e s s .   l o a d B a l a n c e r   ( I n g r e s s L o a d B a l a n c e r S t a t u s ) l o a d B a l a n c e r   c o n t a i n s   t h e   c u r r e n t   s t a t u s   o f   t h e   l o a d - b a l a n c e r . I n g r e s s L o a d B a l a n c e r S t a t u s   r e p r e s e n t s   t h e   s t a t u s   o f   a   l o a d - b a l a n c e r . l o a d B a l a n c e r . i n g r e s s   ( [ ] I n g r e s s L o a d B a l a n c e r I n g r e s s ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e i n g r e s s   i s   a   l i s t   c o n t a i n i n g   i n g r e s s   p o i n t s   f o r   t h e   l o a d - b a l a n c e r . I n g r e s s L o a d B a l a n c e r I n g r e s s   r e p r e s e n t s   t h e   s t a t u s   o f   a   l o a d - b a l a n c e r   i n g r e s s   p o i n t . l o a d B a l a n c e r . i n g r e s s . h o s t n a m e   ( s t r i n g ) h o s t n a m e   i s   s e t   f o r   l o a d - b a l a n c e r   i n g r e s s   p o i n t s   t h a t   a r e   D N S   b a s e d . l o a d B a l a n c e r . i n g r e s s . i p   ( s t r i n g ) i p   i s   s e t   f o r   l o a d - b a l a n c e r   i n g r e s s   p o i n t s   t h a t   a r e   I P   b a s e d . l o a d B a l a n c e r . i n g r e s s . p o r t s   ( [ ] I n g r e s s P o r t S t a t u s ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e p o r t s   p r o v i d e s   i n f o r m a t i o n   a b o u t   t h e   p o r t s   e x p o s e d   b y   t h i s   L o a d B a l a n c e r . I n g r e s s P o r t S t a t u s   r e p r e s e n t s   t h e   e r r o r   c o n d i t i o n   o f   a   s e r v i c e   p o r t l o a d B a l a n c e r . i n g r e s s . p o r t s . p o r t   ( i n t 3 2 ) ,   r e q u i r e d p o r t   i s   t h e   p o r t   n u m b e r   o f   t h e   i n g r e s s   p o r t . l o a d B a l a n c e r . i n g r e s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24126"
  },
  {
    "question": "What is IngressList?",
    "answer": "I n g r e s s L i s t   i s   a   c o l l e c t i o n   o f   I n g r e s s .   i t e m s   ( [ ] I n g r e s s ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   I n g r e s s . a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] I n g r e s s ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   I n g r e s s .   a p i V e r s i o n   ( s t r i n g )   A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24127"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24128"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24129"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24130"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24131"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24132"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24133"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24134"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24135"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24136"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24137"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24138"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24139"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24140"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   I n g r e s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   I n g r e s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24141"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s ) :   O K   2 0 1   ( I n g r e s s ) :   C r e a t e d   2 0 2   ( I n g r e s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24142"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24143"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   I n g r e s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   I n g r e s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24144"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s ) :   O K   2 0 1   ( I n g r e s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24145"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24146"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   I n g r e s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   I n g r e s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24147"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s ) :   O K   2 0 1   ( I n g r e s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24148"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24149"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24150"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s ) :   O K   2 0 1   ( I n g r e s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24151"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24152"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24153"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s ) :   O K   2 0 1   ( I n g r e s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24154"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24155"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24156"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24157"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24158"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24159"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24160"
  },
  {
    "question": "What is 5.2.5 - IngressClass?",
    "answer": "a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / n e t w o r k i n g / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24161"
  },
  {
    "question": "What is IngressClass?",
    "answer": "I n g r e s s C l a s s   r e p r e s e n t s   t h e   c l a s s   o f   t h e   I n g r e s s ,   r e f e r e n c e d   b y   t h e   I n g r e s s   S p e c .   T h e   i n g r e s s c l a s s . k u b e r n e t e s . i o / i s - d e f a u l t - c l a s s   a n n o t a t i o n   c a n   b e   u s e d   t o   i n d i c a t e   t h a t   a n   I n g r e s s C l a s s   s h o u l d   b e   c o n s i d e r e d   d e f a u l t .   W h e n   a   s i n g l e   I n g r e s s C l a s s   r e s o u r c e   h a s   t h i s   a n n o t a t i o n   s e t   t o   t r u e ,   n e w   I n g r e s s   r e s o u r c e s   w i t h o u t   a   c l a s s   s p e c i f i e d   w i l l   b e   a s s i g n e d   t h i s   d e f a u l t   c l a s s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   I n g r e s s C l a s s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( I n g r e s s C l a s s S p e c ) s p e c   i s   t h e   d e s i r e d   s t a t e   o f   t h e   I n g r e s s C l a s s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s C l a s s   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( I n g r e s s C l a s s S p e c )   s p e c   i s   t h e   d e s i r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24162"
  },
  {
    "question": "What is IngressClassSpec?",
    "answer": "I n g r e s s C l a s s S p e c   p r o v i d e s   i n f o r m a t i o n   a b o u t   t h e   c l a s s   o f   a n   I n g r e s s .   c o n t r o l l e r   ( s t r i n g ) c o n t r o l l e r   r e f e r s   t o   t h e   n a m e   o f   t h e   c o n t r o l l e r   t h a t   s h o u l d   h a n d l e   t h i s   c l a s s .   T h i s   a l l o w s   f o r   d i f f e r e n t   \" f l a v o r s \"   t h a t   a r e   c o n t r o l l e d   b y   t h e   s a m e   c o n t r o l l e r .   F o r   e x a m p l e ,   y o u   m a y   h a v e   d i f f e r e n t   p a r a m e t e r s   f o r   t h e   s a m e   i m p l e m e n t i n g   c o n t r o l l e r .   T h i s   s h o u l d   b e   s p e c i f i e d   a s   a   d o m a i n - p r e f i x e d   p a t h   n o   m o r e   t h a n   2 5 0   c h a r a c t e r s   i n   l e n g t h ,   e . g .   \" a c m e . i o / i n g r e s s - c o n t r o l l e r \" .   T h i s   f i e l d   i s   i m m u t a b l e . p a r a m e t e r s   ( I n g r e s s C l a s s P a r a m e t e r s R e f e r e n c e ) p a r a m e t e r s   i s   a   l i n k   t o   a   c u s t o m   r e s o u r c e   c o n t a i n i n g   a d d i t i o n a l   c o n f i g u r a t i o n   f o r   t h e   c o n t r o l l e r .   T h i s   i s   o p t i o n a l   i f   t h e   c o n t r o l l e r   d o e s   n o t   r e q u i r e   e x t r a   p a r a m e t e r s . I n g r e s s C l a s s P a r a m e t e r s R e f e r e n c e   i d e n t i f i e s   a n   A P I   o b j e c t .   T h i s   c a n   b e   u s e d   t o   s p e c i f y   a   c l u s t e r   o r   n a m e s p a c e - s c o p e d   r e s o u r c e . p a r a m e t e r s . k i n d   ( s t r i n g ) ,   r e q u i r e d k i n d   i s   t h e   t y p e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d . p a r a m e t e r s . n a m e   ( s t r i n g ) ,   r e q u i r e d n a m e   i s   t h e   n a m e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d . p a r a m e t e r s . a p i G r o u p   ( s t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24163"
  },
  {
    "question": "What is IngressClassList?",
    "answer": "I n g r e s s C l a s s L i s t   i s   a   c o l l e c t i o n   o f   I n g r e s s C l a s s e s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   I n g r e s s C l a s s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a . i t e m s   ( [ ] I n g r e s s C l a s s ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   I n g r e s s C l a s s e s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I n g r e s s C l a s s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   i t e m s   ( [ ] I n g r e s s C l a s s ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   I n g r e s s C l a s s e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24164"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24165"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s C l a s s p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s C l a s s   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24166"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s C l a s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24167"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24168"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24169"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s C l a s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24170"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24171"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   I n g r e s s C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   I n g r e s s C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24172"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s C l a s s ) :   O K   2 0 1   ( I n g r e s s C l a s s ) :   C r e a t e d   2 0 2   ( I n g r e s s C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24173"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24174"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s C l a s s b o d y :   I n g r e s s C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s C l a s s   b o d y :   I n g r e s s C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24175"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s C l a s s ) :   O K   2 0 1   ( I n g r e s s C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24176"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24177"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s C l a s s b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s C l a s s   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24178"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I n g r e s s C l a s s ) :   O K   2 0 1   ( I n g r e s s C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24179"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24180"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I n g r e s s C l a s s b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I n g r e s s C l a s s   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24181"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24182"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24183"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24184"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24185"
  },
  {
    "question": "What is 5.3.1 - ConfigMap?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24186"
  },
  {
    "question": "What is ConfigMap?",
    "answer": "C o n f i g M a p   h o l d s   c o n f i g u r a t i o n   d a t a   f o r   p o d s   t o   c o n s u m e .   a p i V e r s i o n :   v 1 k i n d :   C o n f i g M a p m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a b i n a r y D a t a   ( m a p [ s t r i n g ] [ ] b y t e ) B i n a r y D a t a   c o n t a i n s   t h e   b i n a r y   d a t a .   E a c h   k e y   m u s t   c o n s i s t   o f   a l p h a n u m e r i c   c h a r a c t e r s ,   ' - ' ,   ' _ '   o r   ' . ' .   B i n a r y D a t a   c a n   c o n t a i n   b y t e   s e q u e n c e s   t h a t   a r e   n o t   i n   t h e   U T F - 8   r a n g e .   T h e   k e y s   s t o r e d   i n   B i n a r y D a t a   m u s t   n o t   o v e r l a p   w i t h   t h e   o n e s   i n   t h e   D a t a   f i e l d ,   t h i s   i s   e n f o r c e d   d u r i n g   v a l i d a t i o n   p r o c e s s .   U s i n g   t h i s   f i e l d   w i l l   r e q u i r e   1 . 1 0 +   a p i s e r v e r   a n d   k u b e l e t . d a t a   ( m a p [ s t r i n g ] s t r i n g ) D a t a   c o n t a i n s   t h e   c o n f i g u r a t i o n   d a t a .   E a c h   k e y   m u s t   c o n s i s t   o f   a l p h a n u m e r i c   c h a r a c t e r s ,   ' - ' ,   ' _ '   o r   ' . ' .   V a l u e s   w i t h   n o n - U T F - 8   b y t e   s e q u e n c e s   m u s t   u s e   t h e   B i n a r y D a t a   f i e l d .   T h e   k e y s   s t o r e d   i n   D a t a   m u s t   n o t   o v e r l a p   w i t h   t h e   k e y s   i n   t h e   B i n a r y D a t a   f i e l d ,   t h i s   i s   e n f o r c e d   d u r i n g   v a l i d a t i o n   p r o c e s s . i m m u t a b l e   ( b o o l e a n ) I m m u t a b l e ,   i f   s e t   t o   t r u e ,   e n s u r e s   t h ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24187"
  },
  {
    "question": "What is ConfigMapList?",
    "answer": "C o n f i g M a p L i s t   i s   a   r e s o u r c e   c o n t a i n i n g   a   l i s t   o f   C o n f i g M a p   o b j e c t s .   a p i V e r s i o n :   v 1 k i n d :   C o n f i g M a p L i s t m e t a d a t a   ( L i s t M e t a ) M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] C o n f i g M a p ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   C o n f i g M a p s .   a p i V e r s i o n :   v 1   k i n d :   C o n f i g M a p L i s t   m e t a d a t a   ( L i s t M e t a )   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] C o n f i g M a p ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   C o n f i g M a p s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24188"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24189"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o n f i g M a p n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o n f i g M a p   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24190"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n f i g M a p ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24191"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24192"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24193"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n f i g M a p L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24194"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / c o n f i g m a p s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24195"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24196"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n f i g M a p L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24197"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24198"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C o n f i g M a p ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C o n f i g M a p ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24199"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n f i g M a p ) :   O K   2 0 1   ( C o n f i g M a p ) :   C r e a t e d   2 0 2   ( C o n f i g M a p ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24200"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24201"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o n f i g M a p n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C o n f i g M a p ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o n f i g M a p   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C o n f i g M a p ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24202"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n f i g M a p ) :   O K   2 0 1   ( C o n f i g M a p ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24203"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24204"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o n f i g M a p n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o n f i g M a p   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24205"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o n f i g M a p ) :   O K   2 0 1   ( C o n f i g M a p ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24206"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24207"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o n f i g M a p n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o n f i g M a p   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24208"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24209"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24210"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24211"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24212"
  },
  {
    "question": "What is 5.3.2 - Secret?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24213"
  },
  {
    "question": "What is Secret?",
    "answer": "S e c r e t   h o l d s   s e c r e t   d a t a   o f   a   c e r t a i n   t y p e .   T h e   t o t a l   b y t e s   o f   t h e   v a l u e s   i n   t h e   D a t a   f i e l d   m u s t   b e   l e s s   t h a n   M a x S e c r e t S i z e   b y t e s .   a p i V e r s i o n :   v 1 k i n d :   S e c r e t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a d a t a   ( m a p [ s t r i n g ] [ ] b y t e ) D a t a   c o n t a i n s   t h e   s e c r e t   d a t a .   E a c h   k e y   m u s t   c o n s i s t   o f   a l p h a n u m e r i c   c h a r a c t e r s ,   ' - ' ,   ' _ '   o r   ' . ' .   T h e   s e r i a l i z e d   f o r m   o f   t h e   s e c r e t   d a t a   i s   a   b a s e 6 4   e n c o d e d   s t r i n g ,   r e p r e s e n t i n g   t h e   a r b i t r a r y   ( p o s s i b l y   n o n - s t r i n g )   d a t a   v a l u e   h e r e .   D e s c r i b e d   i n   h t t p s : / / t o o l s . i e t f . o r g / h t m l / r f c 4 6 4 8 # s e c t i o n - 4 i m m u t a b l e   ( b o o l e a n ) I m m u t a b l e ,   i f   s e t   t o   t r u e ,   e n s u r e s   t h a t   d a t a   s t o r e d   i n   t h e   S e c r e t   c a n n o t   b e   u p d a t e d   ( o n l y   o b j e c t   m e t a d a t a   c a n   b e   m o d i f i e d ) .   I f   n o t   s e t   t o   t r u e ,   t h e   f i e l d   c a n   b e   m o d i f i e d   a t   a n y   t i m e .   D e f a u l t e d   t o   n i l . s t r i n g D a t a   ( m a p [ s t r i n g ] s t r i n g ) s t r i n g D a t a   a l l o w s   s p e c i f y i n g   n o n - b i n a r y   s e c r e t   d a t a   i n   s t r i n g   f o r m .   I t   i s   p r o v i d e d   a s   a   w r i t e - o n l y   i n p u t   f i e l d   f o r   c o n v e n i e n c e .   A ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24214"
  },
  {
    "question": "What is SecretList?",
    "answer": "S e c r e t L i s t   i s   a   l i s t   o f   S e c r e t .   a p i V e r s i o n :   v 1 k i n d :   S e c r e t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] S e c r e t ) ,   r e q u i r e d I t e m s   i s   a   l i s t   o f   s e c r e t   o b j e c t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n f i g u r a t i o n / s e c r e t   a p i V e r s i o n :   v 1   k i n d :   S e c r e t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] S e c r e t ) ,   r e q u i r e d   I t e m s   i s   a   l i s t   o f   s e c r e t   o b j e c t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n f i g u r a t i o n / s e c r e t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24215"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24216"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e c r e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e c r e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24217"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e c r e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24218"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24219"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24220"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e c r e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24221"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / s e c r e t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24222"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24223"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e c r e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24224"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24225"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S e c r e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S e c r e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24226"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e c r e t ) :   O K   2 0 1   ( S e c r e t ) :   C r e a t e d   2 0 2   ( S e c r e t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24227"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24228"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e c r e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S e c r e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e c r e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S e c r e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24229"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e c r e t ) :   O K   2 0 1   ( S e c r e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24230"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24231"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e c r e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e c r e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24232"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e c r e t ) :   O K   2 0 1   ( S e c r e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24233"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24234"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e c r e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e c r e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24235"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24236"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24237"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24238"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24239"
  },
  {
    "question": "What is 5.3.3 - CSIDriver?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / s t o r a g e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24240"
  },
  {
    "question": "What is CSIDriver?",
    "answer": "C S I D r i v e r   c a p t u r e s   i n f o r m a t i o n   a b o u t   a   C o n t a i n e r   S t o r a g e   I n t e r f a c e   ( C S I )   v o l u m e   d r i v e r   d e p l o y e d   o n   t h e   c l u s t e r .   K u b e r n e t e s   a t t a c h   d e t a c h   c o n t r o l l e r   u s e s   t h i s   o b j e c t   t o   d e t e r m i n e   w h e t h e r   a t t a c h   i s   r e q u i r e d .   K u b e l e t   u s e s   t h i s   o b j e c t   t o   d e t e r m i n e   w h e t h e r   p o d   i n f o r m a t i o n   n e e d s   t o   b e   p a s s e d   o n   m o u n t .   C S I D r i v e r   o b j e c t s   a r e   n o n - n a m e s p a c e d .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   C S I D r i v e r m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a .   m e t a d a t a . N a m e   i n d i c a t e s   t h e   n a m e   o f   t h e   C S I   d r i v e r   t h a t   t h i s   o b j e c t   r e f e r s   t o ;   i t   M U S T   b e   t h e   s a m e   n a m e   r e t u r n e d   b y   t h e   C S I   G e t P l u g i n N a m e ( )   c a l l   f o r   t h a t   d r i v e r .   T h e   d r i v e r   n a m e   m u s t   b e   6 3   c h a r a c t e r s   o r   l e s s ,   b e g i n n i n g   a n d   e n d i n g   w i t h   a n   a l p h a n u m e r i c   c h a r a c t e r   ( [ a - z 0 - 9 A - Z ] )   w i t h   d a s h e s   ( - ) ,   d o t s   ( . ) ,   a n d   a l p h a n u m e r i c s   b e t w e e n .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( C S I D r i v e r S p e c ) ,   r e q u i r e d s p e c   r e p r e s e n t s   t h e   s p e c i f i c a t i o n   o f   t h e   C S I   D r i v e r .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   C S I D r i v e r   m e t a d a t a   ( O b j ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24241"
  },
  {
    "question": "What is CSIDriverSpec?",
    "answer": "C S I D r i v e r S p e c   i s   t h e   s p e c i f i c a t i o n   o f   a   C S I D r i v e r .   a t t a c h R e q u i r e d   ( b o o l e a n ) a t t a c h R e q u i r e d   i n d i c a t e s   t h i s   C S I   v o l u m e   d r i v e r   r e q u i r e s   a n   a t t a c h   o p e r a t i o n   ( b e c a u s e   i t   i m p l e m e n t s   t h e   C S I   C o n t r o l l e r P u b l i s h V o l u m e ( )   m e t h o d ) ,   a n d   t h a t   t h e   K u b e r n e t e s   a t t a c h   d e t a c h   c o n t r o l l e r   s h o u l d   c a l l   t h e   a t t a c h   v o l u m e   i n t e r f a c e   w h i c h   c h e c k s   t h e   v o l u m e a t t a c h m e n t   s t a t u s   a n d   w a i t s   u n t i l   t h e   v o l u m e   i s   a t t a c h e d   b e f o r e   p r o c e e d i n g   t o   m o u n t i n g .   T h e   C S I   e x t e r n a l - a t t a c h e r   c o o r d i n a t e s   w i t h   C S I   v o l u m e   d r i v e r   a n d   u p d a t e s   t h e   v o l u m e a t t a c h m e n t   s t a t u s   w h e n   t h e   a t t a c h   o p e r a t i o n   i s   c o m p l e t e .   I f   t h e   v a l u e   i s   s p e c i f i e d   t o   f a l s e ,   t h e   a t t a c h   o p e r a t i o n   w i l l   b e   s k i p p e d .   O t h e r w i s e   t h e   a t t a c h   o p e r a t i o n   w i l l   b e   c a l l e d . T h i s   f i e l d   i s   i m m u t a b l e . f s G r o u p P o l i c y   ( s t r i n g ) f s G r o u p P o l i c y   d e f i n e s   i f   t h e   u n d e r l y i n g   v o l u m e   s u p p o r t s   c h a n g i n g   o w n e r s h i p   a n d   p e r m i s s i o n   o f   t h e   v o l u m e   b e f o r e   b e i n g   m o u n t e d .   R e f e r   t o   t h e   s p e c i f i c   F S G r o u p P o l i c y   v a l u e s   f o r   a d d i t i o n a l   d e t a i l s . T h i s   f i e l d   w a s   i m m u t a b l e   i n   K u b e r n e t e s   <   1 . 2 9   a n d   n o w   i s   m u t a b l e . D e f a u l t s   t o   R e a d W r i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24242"
  },
  {
    "question": "What is CSIDriverList?",
    "answer": "C S I D r i v e r L i s t   i s   a   c o l l e c t i o n   o f   C S I D r i v e r   o b j e c t s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   C S I D r i v e r L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] C S I D r i v e r ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   C S I D r i v e r   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   C S I D r i v e r L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] C S I D r i v e r ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   C S I D r i v e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24243"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24244"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I D r i v e r p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I D r i v e r   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24245"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I D r i v e r ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24246"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24247"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24248"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I D r i v e r L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24249"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24250"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   C S I D r i v e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   C S I D r i v e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24251"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I D r i v e r ) :   O K   2 0 1   ( C S I D r i v e r ) :   C r e a t e d   2 0 2   ( C S I D r i v e r ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24252"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24253"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I D r i v e r b o d y :   C S I D r i v e r ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I D r i v e r   b o d y :   C S I D r i v e r ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24254"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I D r i v e r ) :   O K   2 0 1   ( C S I D r i v e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24255"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24256"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I D r i v e r b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I D r i v e r   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24257"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I D r i v e r ) :   O K   2 0 1   ( C S I D r i v e r ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24258"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24259"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I D r i v e r b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I D r i v e r   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24260"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I D r i v e r ) :   O K   2 0 2   ( C S I D r i v e r ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24261"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24262"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24263"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24264"
  },
  {
    "question": "What is 5.3.4 - CSINode?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / s t o r a g e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24265"
  },
  {
    "question": "What is CSINode?",
    "answer": "C S I N o d e   h o l d s   i n f o r m a t i o n   a b o u t   a l l   C S I   d r i v e r s   i n s t a l l e d   o n   a   n o d e .   C S I   d r i v e r s   d o   n o t   n e e d   t o   c r e a t e   t h e   C S I N o d e   o b j e c t   d i r e c t l y .   A s   l o n g   a s   t h e y   u s e   t h e   n o d e - d r i v e r - r e g i s t r a r   s i d e c a r   c o n t a i n e r ,   t h e   k u b e l e t   w i l l   a u t o m a t i c a l l y   p o p u l a t e   t h e   C S I N o d e   o b j e c t   f o r   t h e   C S I   d r i v e r   a s   p a r t   o f   k u b e l e t   p l u g i n   r e g i s t r a t i o n .   C S I N o d e   h a s   t h e   s a m e   n a m e   a s   a   n o d e .   I f   t h e   o b j e c t   i s   m i s s i n g ,   i t   m e a n s   e i t h e r   t h e r e   a r e   n o   C S I   D r i v e r s   a v a i l a b l e   o n   t h e   n o d e ,   o r   t h e   K u b e l e t   v e r s i o n   i s   l o w   e n o u g h   t h a t   i t   d o e s n ' t   c r e a t e   t h i s   o b j e c t .   C S I N o d e   h a s   a n   O w n e r R e f e r e n c e   t h a t   p o i n t s   t o   t h e   c o r r e s p o n d i n g   n o d e   o b j e c t .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   C S I N o d e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   m e t a d a t a . n a m e   m u s t   b e   t h e   K u b e r n e t e s   n o d e   n a m e . s p e c   ( C S I N o d e S p e c ) ,   r e q u i r e d s p e c   i s   t h e   s p e c i f i c a t i o n   o f   C S I N o d e   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   C S I N o d e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   m e t a d a t a . n a m e   m u s t   b e   t h e   K u b e r n e t e s   n o d e   n a m e .   s p e c   ( C S I N o d e S p e c ) ,   r e q u i r e d   s p e c   i s   t h e   s p e c i f i c a t i o n   o f   C S I N o d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24266"
  },
  {
    "question": "What is CSINodeSpec?",
    "answer": "C S I N o d e S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   s p e c i f i c a t i o n   o f   a l l   C S I   d r i v e r s   i n s t a l l e d   o n   a   n o d e   d r i v e r s   ( [ ] C S I N o d e D r i v e r ) ,   r e q u i r e d P a t c h   s t r a t e g y :   m e r g e   o n   k e y   n a m e M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e d r i v e r s   i s   a   l i s t   o f   i n f o r m a t i o n   o f   a l l   C S I   D r i v e r s   e x i s t i n g   o n   a   n o d e .   I f   a l l   d r i v e r s   i n   t h e   l i s t   a r e   u n i n s t a l l e d ,   t h i s   c a n   b e c o m e   e m p t y . C S I N o d e D r i v e r   h o l d s   i n f o r m a t i o n   a b o u t   t h e   s p e c i f i c a t i o n   o f   o n e   C S I   d r i v e r   i n s t a l l e d   o n   a   n o d e d r i v e r s . n a m e   ( s t r i n g ) ,   r e q u i r e d n a m e   r e p r e s e n t s   t h e   n a m e   o f   t h e   C S I   d r i v e r   t h a t   t h i s   o b j e c t   r e f e r s   t o .   T h i s   M U S T   b e   t h e   s a m e   n a m e   r e t u r n e d   b y   t h e   C S I   G e t P l u g i n N a m e ( )   c a l l   f o r   t h a t   d r i v e r . d r i v e r s . n o d e I D   ( s t r i n g ) ,   r e q u i r e d n o d e I D   o f   t h e   n o d e   f r o m   t h e   d r i v e r   p o i n t   o f   v i e w .   T h i s   f i e l d   e n a b l e s   K u b e r n e t e s   t o   c o m m u n i c a t e   w i t h   s t o r a g e   s y s t e m s   t h a t   d o   n o t   s h a r e   t h e   s a m e   n o m e n c l a t u r e   f o r   n o d e s .   F o r   e x a m p l e ,   K u b e r n e t e s   m a y   r e f e r   t o   a   g i v e n   n o d e   a s   \" n o d e 1 \" ,   b u t   t h e   s t o r a g e   s y s t e m   m a y   r e f e r   t o   t h e   s a m e   n o d e   a s   \" n o d e A \" .   W h e n   K u b e r n e t e s   i s s u e s   a   c o m m a n d   t o   t h e   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24267"
  },
  {
    "question": "What is CSINodeList?",
    "answer": "C S I N o d e L i s t   i s   a   c o l l e c t i o n   o f   C S I N o d e   o b j e c t s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   C S I N o d e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] C S I N o d e ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   C S I N o d e   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   C S I N o d e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] C S I N o d e ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   C S I N o d e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24268"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24269"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I N o d e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I N o d e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24270"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I N o d e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24271"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24272"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24273"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I N o d e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24274"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24275"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   C S I N o d e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   C S I N o d e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24276"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I N o d e ) :   O K   2 0 1   ( C S I N o d e ) :   C r e a t e d   2 0 2   ( C S I N o d e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24277"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24278"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I N o d e b o d y :   C S I N o d e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I N o d e   b o d y :   C S I N o d e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24279"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I N o d e ) :   O K   2 0 1   ( C S I N o d e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24280"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24281"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I N o d e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I N o d e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24282"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I N o d e ) :   O K   2 0 1   ( C S I N o d e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24283"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24284"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I N o d e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I N o d e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24285"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I N o d e ) :   O K   2 0 2   ( C S I N o d e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24286"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24287"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24288"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24289"
  },
  {
    "question": "What is 5.3.5 - CSIStorageCapacity?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / s t o r a g e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24290"
  },
  {
    "question": "What is CSIStorageCapacity?",
    "answer": "C S I S t o r a g e C a p a c i t y   s t o r e s   t h e   r e s u l t   o f   o n e   C S I   G e t C a p a c i t y   c a l l .   F o r   a   g i v e n   S t o r a g e C l a s s ,   t h i s   d e s c r i b e s   t h e   a v a i l a b l e   c a p a c i t y   i n   a   p a r t i c u l a r   t o p o l o g y   s e g m e n t .   T h i s   c a n   b e   u s e d   w h e n   c o n s i d e r i n g   w h e r e   t o   i n s t a n t i a t e   n e w   P e r s i s t e n t V o l u m e s .   F o r   e x a m p l e   t h i s   c a n   e x p r e s s   t h i n g s   l i k e :   -   S t o r a g e C l a s s   \" s t a n d a r d \"   h a s   \" 1 2 3 4   G i B \"   a v a i l a b l e   i n   \" t o p o l o g y . k u b e r n e t e s . i o / z o n e = u s - e a s t 1 \"   -   S t o r a g e C l a s s   \" l o c a l s s d \"   h a s   \" 1 0   G i B \"   a v a i l a b l e   i n   \" k u b e r n e t e s . i o / h o s t n a m e = k n o d e - a b c 1 2 3 \"   T h e   f o l l o w i n g   t h r e e   c a s e s   a l l   i m p l y   t h a t   n o   c a p a c i t y   i s   a v a i l a b l e   f o r   a   c e r t a i n   c o m b i n a t i o n :   -   n o   o b j e c t   e x i s t s   w i t h   s u i t a b l e   t o p o l o g y   a n d   s t o r a g e   c l a s s   n a m e   -   s u c h   a n   o b j e c t   e x i s t s ,   b u t   t h e   c a p a c i t y   i s   u n s e t   -   s u c h   a n   o b j e c t   e x i s t s ,   b u t   t h e   c a p a c i t y   i s   z e r o   T h e   p r o d u c e r   o f   t h e s e   o b j e c t s   c a n   d e c i d e   w h i c h   a p p r o a c h   i s   m o r e   s u i t a b l e .   T h e y   a r e   c o n s u m e d   b y   t h e   k u b e - s c h e d u l e r   w h e n   a   C S I   d r i v e r   o p t s   i n t o   c a p a c i t y - a w a r e   s c h e d u l i n g   w i t h   C S I D r i v e r S p e c . S t o r a g e C a p a c i t y .   T h e   s c h e d u l e r   c o m p a r e s   t h e   M a x i m u m V o l u m e S i z e   a g a i n s t   t h e   r e q u e s t e d   s i z ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24291"
  },
  {
    "question": "What is CSIStorageCapacityList?",
    "answer": "C S I S t o r a g e C a p a c i t y L i s t   i s   a   c o l l e c t i o n   o f   C S I S t o r a g e C a p a c i t y   o b j e c t s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   C S I S t o r a g e C a p a c i t y L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] C S I S t o r a g e C a p a c i t y ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   C S I S t o r a g e C a p a c i t y   o b j e c t s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   C S I S t o r a g e C a p a c i t y L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] C S I S t o r a g e C a p a c i t y ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   C S I S t o r a g e C a p a c i t y   o b j e c t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24292"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24293"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I S t o r a g e C a p a c i t y n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I S t o r a g e C a p a c i t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24294"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I S t o r a g e C a p a c i t y ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24295"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24296"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24297"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I S t o r a g e C a p a c i t y L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24298"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i s t o r a g e c a p a c i t i e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24299"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24300"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I S t o r a g e C a p a c i t y L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24301"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24302"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C S I S t o r a g e C a p a c i t y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C S I S t o r a g e C a p a c i t y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24303"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I S t o r a g e C a p a c i t y ) :   O K   2 0 1   ( C S I S t o r a g e C a p a c i t y ) :   C r e a t e d   2 0 2   ( C S I S t o r a g e C a p a c i t y ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24304"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24305"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I S t o r a g e C a p a c i t y n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   C S I S t o r a g e C a p a c i t y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I S t o r a g e C a p a c i t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   C S I S t o r a g e C a p a c i t y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24306"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I S t o r a g e C a p a c i t y ) :   O K   2 0 1   ( C S I S t o r a g e C a p a c i t y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24307"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24308"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I S t o r a g e C a p a c i t y n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I S t o r a g e C a p a c i t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24309"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C S I S t o r a g e C a p a c i t y ) :   O K   2 0 1   ( C S I S t o r a g e C a p a c i t y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24310"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24311"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C S I S t o r a g e C a p a c i t y n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C S I S t o r a g e C a p a c i t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24312"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24313"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24314"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24315"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24316"
  },
  {
    "question": "What is 5.3.6 - PersistentVolumeClaim?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24317"
  },
  {
    "question": "What is PersistentVolumeClaim?",
    "answer": "P e r s i s t e n t V o l u m e C l a i m   i s   a   u s e r ' s   r e q u e s t   f o r   a n d   c l a i m   t o   a   p e r s i s t e n t   v o l u m e   a p i V e r s i o n :   v 1 k i n d :   P e r s i s t e n t V o l u m e C l a i m m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( P e r s i s t e n t V o l u m e C l a i m S p e c ) s p e c   d e f i n e s   t h e   d e s i r e d   c h a r a c t e r i s t i c s   o f   a   v o l u m e   r e q u e s t e d   b y   a   p o d   a u t h o r .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p e r s i s t e n t v o l u m e c l a i m s s t a t u s   ( P e r s i s t e n t V o l u m e C l a i m S t a t u s ) s t a t u s   r e p r e s e n t s   t h e   c u r r e n t   i n f o r m a t i o n / s t a t u s   o f   a   p e r s i s t e n t   v o l u m e   c l a i m .   R e a d - o n l y .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p e r s i s t e n t v o l u m e c l a i m s   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( P e r s i s t e n t V o l u m e C l a i m S p e c )   s p e c   d e f i n e s   t h e   d e s i r e d   c h a r a c t e r i s t i c s   o f   a   v o l u m e   r e q u e s t e d   b y   a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24318"
  },
  {
    "question": "What is PersistentVolumeClaimSpec?",
    "answer": "P e r s i s t e n t V o l u m e C l a i m S p e c   d e s c r i b e s   t h e   c o m m o n   a t t r i b u t e s   o f   s t o r a g e   d e v i c e s   a n d   a l l o w s   a   S o u r c e   f o r   p r o v i d e r - s p e c i f i c   a t t r i b u t e s   a c c e s s M o d e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e a c c e s s M o d e s   c o n t a i n s   t h e   d e s i r e d   a c c e s s   m o d e s   t h e   v o l u m e   s h o u l d   h a v e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # a c c e s s - m o d e s - 1 s e l e c t o r   ( L a b e l S e l e c t o r ) s e l e c t o r   i s   a   l a b e l   q u e r y   o v e r   v o l u m e s   t o   c o n s i d e r   f o r   b i n d i n g . r e s o u r c e s   ( V o l u m e R e s o u r c e R e q u i r e m e n t s ) r e s o u r c e s   r e p r e s e n t s   t h e   m i n i m u m   r e s o u r c e s   t h e   v o l u m e   s h o u l d   h a v e .   I f   R e c o v e r V o l u m e E x p a n s i o n F a i l u r e   f e a t u r e   i s   e n a b l e d   u s e r s   a r e   a l l o w e d   t o   s p e c i f y   r e s o u r c e   r e q u i r e m e n t s   t h a t   a r e   l o w e r   t h a n   p r e v i o u s   v a l u e   b u t   m u s t   s t i l l   b e   h i g h e r   t h a n   c a p a c i t y   r e c o r d e d   i n   t h e   s t a t u s   f i e l d   o f   t h e   c l a i m .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # r e s o u r c e s V o l u m e R e s o u r c e R e q u i r e m e n t s   d e s c r i b e s   t h e   s t o r a g e   r e s o u r c e   r e q u i r e m e n t s   f o r   a   v o l u m e . r e s o u r c e s . l i m i t s   ( m a p [ s t r i n g ] Q u a n t i t y ) L i m i t s   d e s c r i b e s   t h e   m a x i m u m   a m o u n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24319"
  },
  {
    "question": "What is Beta level?",
    "answer": "d a t a S o u r c e   ( T y p e d L o c a l O b j e c t R e f e r e n c e ) d a t a S o u r c e   f i e l d   c a n   b e   u s e d   t o   s p e c i f y   e i t h e r :   *   A n   e x i s t i n g   V o l u m e S n a p s h o t   o b j e c t   ( s n a p s h o t . s t o r a g e . k 8 s . i o / V o l u m e S n a p s h o t )   *   A n   e x i s t i n g   P V C   ( P e r s i s t e n t V o l u m e C l a i m )   I f   t h e   p r o v i s i o n e r   o r   a n   e x t e r n a l   c o n t r o l l e r   c a n   s u p p o r t   t h e   s p e c i f i e d   d a t a   s o u r c e ,   i t   w i l l   c r e a t e   a   n e w   v o l u m e   b a s e d   o n   t h e   c o n t e n t s   o f   t h e   s p e c i f i e d   d a t a   s o u r c e .   W h e n   t h e   A n y V o l u m e D a t a S o u r c e   f e a t u r e   g a t e   i s   e n a b l e d ,   d a t a S o u r c e   c o n t e n t s   w i l l   b e   c o p i e d   t o   d a t a S o u r c e R e f ,   a n d   d a t a S o u r c e R e f   c o n t e n t s   w i l l   b e   c o p i e d   t o   d a t a S o u r c e   w h e n   d a t a S o u r c e R e f . n a m e s p a c e   i s   n o t   s p e c i f i e d .   I f   t h e   n a m e s p a c e   i s   s p e c i f i e d ,   t h e n   d a t a S o u r c e R e f   w i l l   n o t   b e   c o p i e d   t o   d a t a S o u r c e . d a t a S o u r c e R e f   ( T y p e d O b j e c t R e f e r e n c e ) d a t a S o u r c e R e f   s p e c i f i e s   t h e   o b j e c t   f r o m   w h i c h   t o   p o p u l a t e   t h e   v o l u m e   w i t h   d a t a ,   i f   a   n o n - e m p t y   v o l u m e   i s   d e s i r e d .   T h i s   m a y   b e   a n y   o b j e c t   f r o m   a   n o n - e m p t y   A P I   g r o u p   ( n o n   c o r e   o b j e c t )   o r   a   P e r s i s t e n t V o l u m e C l a i m   o b j e c t .   W h e n   t h i s   f i e l d   i s   s p e c i f i e d ,   v o l u m e   b i n d i n g   w i l l   o n l y   s u c c e e d   i f   t h e   t y p e   o f   t h e   s p e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_24320"
  },
  {
    "question": "What is PersistentVolumeClaimStatus?",
    "answer": "P e r s i s t e n t V o l u m e C l a i m S t a t u s   i s   t h e   c u r r e n t   s t a t u s   o f   a   p e r s i s t e n t   v o l u m e   c l a i m .   a c c e s s M o d e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e a c c e s s M o d e s   c o n t a i n s   t h e   a c t u a l   a c c e s s   m o d e s   t h e   v o l u m e   b a c k i n g   t h e   P V C   h a s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # a c c e s s - m o d e s - 1 a l l o c a t e d R e s o u r c e S t a t u s e s   ( m a p [ s t r i n g ] s t r i n g ) a l l o c a t e d R e s o u r c e S t a t u s e s   s t o r e s   s t a t u s   o f   r e s o u r c e   b e i n g   r e s i z e d   f o r   t h e   g i v e n   P V C .   K e y   n a m e s   f o l l o w   s t a n d a r d   K u b e r n e t e s   l a b e l   s y n t a x .   V a l i d   v a l u e s   a r e   e i t h e r :   *   U n - p r e f i x e d   k e y s :   -   s t o r a g e   -   t h e   c a p a c i t y   o f   t h e   v o l u m e .   *   C u s t o m   r e s o u r c e s   m u s t   u s e   i m p l e m e n t a t i o n - d e f i n e d   p r e f i x e d   n a m e s   s u c h   a s   \" e x a m p l e . c o m / m y - c u s t o m - r e s o u r c e \"   A p a r t   f r o m   a b o v e   v a l u e s   -   k e y s   t h a t   a r e   u n p r e f i x e d   o r   h a v e   k u b e r n e t e s . i o   p r e f i x   a r e   c o n s i d e r e d   r e s e r v e d   a n d   h e n c e   m a y   n o t   b e   u s e d . C l a i m R e s o u r c e S t a t u s   c a n   b e   i n   a n y   o f   f o l l o w i n g   s t a t e s :   -   C o n t r o l l e r R e s i z e I n P r o g r e s s :   S t a t e   s e t   w h e n   r e s i z e   c o n t r o l l e r   s t a r t s   r e s i z i n g   t h e   v o l u m e   i n   c o n t r o l - p l a n e .   -   C o n t r o l l e r R e s i z e F a i l e d :   S t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24321"
  },
  {
    "question": "What is PersistentVolumeClaimList?",
    "answer": "P e r s i s t e n t V o l u m e C l a i m L i s t   i s   a   l i s t   o f   P e r s i s t e n t V o l u m e C l a i m   i t e m s .   a p i V e r s i o n :   v 1 k i n d :   P e r s i s t e n t V o l u m e C l a i m L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] P e r s i s t e n t V o l u m e C l a i m ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   p e r s i s t e n t   v o l u m e   c l a i m s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p e r s i s t e n t v o l u m e c l a i m s   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e C l a i m L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] P e r s i s t e n t V o l u m e C l a i m ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   p e r s i s t e n t   v o l u m e   c l a i m s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p e r s i s t e n t v o l u m e c l a i m s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24322"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24323"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24324"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24325"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24326"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24327"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24328"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24329"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24330"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24331"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / p e r s i s t e n t v o l u m e c l a i m s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24332"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24333"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24334"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24335"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P e r s i s t e n t V o l u m e C l a i m ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P e r s i s t e n t V o l u m e C l a i m ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24336"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e C l a i m ) :   C r e a t e d   2 0 2   ( P e r s i s t e n t V o l u m e C l a i m ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24337"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24338"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P e r s i s t e n t V o l u m e C l a i m ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P e r s i s t e n t V o l u m e C l a i m ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24339"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e C l a i m ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24340"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24341"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P e r s i s t e n t V o l u m e C l a i m ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P e r s i s t e n t V o l u m e C l a i m ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24342"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e C l a i m ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24343"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24344"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24345"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e C l a i m ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24346"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24347"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24348"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e C l a i m ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24349"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24350"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e C l a i m   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24351"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e C l a i m ) :   O K   2 0 2   ( P e r s i s t e n t V o l u m e C l a i m ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24352"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24353"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24354"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24355"
  },
  {
    "question": "What is 5.3.7 - PersistentVolume?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24356"
  },
  {
    "question": "What is PersistentVolume?",
    "answer": "P e r s i s t e n t V o l u m e   ( P V )   i s   a   s t o r a g e   r e s o u r c e   p r o v i s i o n e d   b y   a n   a d m i n i s t r a t o r .   I t   i s   a n a l o g o u s   t o   a   n o d e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s   a p i V e r s i o n :   v 1 k i n d :   P e r s i s t e n t V o l u m e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( P e r s i s t e n t V o l u m e S p e c ) s p e c   d e f i n e s   a   s p e c i f i c a t i o n   o f   a   p e r s i s t e n t   v o l u m e   o w n e d   b y   t h e   c l u s t e r .   P r o v i s i o n e d   b y   a n   a d m i n i s t r a t o r .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p e r s i s t e n t - v o l u m e s s t a t u s   ( P e r s i s t e n t V o l u m e S t a t u s ) s t a t u s   r e p r e s e n t s   t h e   c u r r e n t   i n f o r m a t i o n / s t a t u s   f o r   t h e   p e r s i s t e n t   v o l u m e .   P o p u l a t e d   b y   t h e   s y s t e m .   R e a d - o n l y .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p e r s i s t e n t - v o l u m e s   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24357"
  },
  {
    "question": "What is PersistentVolumeSpec?",
    "answer": "P e r s i s t e n t V o l u m e S p e c   i s   t h e   s p e c i f i c a t i o n   o f   a   p e r s i s t e n t   v o l u m e .   a c c e s s M o d e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e a c c e s s M o d e s   c o n t a i n s   a l l   w a y s   t h e   v o l u m e   c a n   b e   m o u n t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # a c c e s s - m o d e s c a p a c i t y   ( m a p [ s t r i n g ] Q u a n t i t y ) c a p a c i t y   i s   t h e   d e s c r i p t i o n   o f   t h e   p e r s i s t e n t   v o l u m e ' s   r e s o u r c e s   a n d   c a p a c i t y .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # c a p a c i t y c l a i m R e f   ( O b j e c t R e f e r e n c e ) c l a i m R e f   i s   p a r t   o f   a   b i - d i r e c t i o n a l   b i n d i n g   b e t w e e n   P e r s i s t e n t V o l u m e   a n d   P e r s i s t e n t V o l u m e C l a i m .   E x p e c t e d   t o   b e   n o n - n i l   w h e n   b o u n d .   c l a i m . V o l u m e N a m e   i s   t h e   a u t h o r i t a t i v e   b i n d   b e t w e e n   P V   a n d   P V C .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # b i n d i n g m o u n t O p t i o n s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e m o u n t O p t i o n s   i s   t h e   l i s t   o f   m o u n t   o p t i o n s ,   e . g .   [ \" r o \" ,   \" s o f t \" ] .   N o t   v a l i d a t e d   -   m o u n t   w i l l   s i m p l y   f a i l   i f   o n e   i s   i n v a l i d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24358"
  },
  {
    "question": "What is Local?",
    "answer": "h o s t P a t h   ( H o s t P a t h V o l u m e S o u r c e ) h o s t P a t h   r e p r e s e n t s   a   d i r e c t o r y   o n   t h e   h o s t .   P r o v i s i o n e d   b y   a   d e v e l o p e r   o r   t e s t e r .   T h i s   i s   u s e f u l   f o r   s i n g l e - n o d e   d e v e l o p m e n t   a n d   t e s t i n g   o n l y !   O n - h o s t   s t o r a g e   i s   n o t   s u p p o r t e d   i n   a n y   w a y   a n d   W I L L   N O T   W O R K   i n   a   m u l t i - n o d e   c l u s t e r .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # h o s t p a t h R e p r e s e n t s   a   h o s t   p a t h   m a p p e d   i n t o   a   p o d .   H o s t   p a t h   v o l u m e s   d o   n o t   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   o r   S E L i n u x   r e l a b e l i n g . h o s t P a t h . p a t h   ( s t r i n g ) ,   r e q u i r e d p a t h   o f   t h e   d i r e c t o r y   o n   t h e   h o s t .   I f   t h e   p a t h   i s   a   s y m l i n k ,   i t   w i l l   f o l l o w   t h e   l i n k   t o   t h e   r e a l   p a t h .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # h o s t p a t h h o s t P a t h . t y p e   ( s t r i n g ) t y p e   f o r   H o s t P a t h   V o l u m e   D e f a u l t s   t o   \" \"   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # h o s t p a t h l o c a l   ( L o c a l V o l u m e S o u r c e ) l o c a l   r e p r e s e n t s   d i r e c t l y - a t t a c h e d   s t o r a g e   w i t h   n o d e   a f f i n i t y L o c a l   r e p r e s e n t s   d i r e c t l y - a t t a c h e d   s t o r a g e   w i t h   n o d e   a f f i n i t y l o c a l . p a t h   ( s t r i n g ) ,   r e q u i r e d p a t h   o f   t h e   f u l l   p a t h   t o   t h e   v o l u m ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_24359"
  },
  {
    "question": "What is Persistent volumes?",
    "answer": "a w s E l a s t i c B l o c k S t o r e   ( A W S E l a s t i c B l o c k S t o r e V o l u m e S o u r c e ) a w s E l a s t i c B l o c k S t o r e   r e p r e s e n t s   a n   A W S   D i s k   r e s o u r c e   t h a t   i s   a t t a c h e d   t o   a   k u b e l e t ' s   h o s t   m a c h i n e   a n d   t h e n   e x p o s e d   t o   t h e   p o d .   D e p r e c a t e d :   A W S E l a s t i c B l o c k S t o r e   i s   d e p r e c a t e d .   A l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   a w s E l a s t i c B l o c k S t o r e   t y p e   a r e   r e d i r e c t e d   t o   t h e   e b s . c s i . a w s . c o m   C S I   d r i v e r .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # a w s e l a s t i c b l o c k s t o r e * R e p r e s e n t s   a   P e r s i s t e n t   D i s k   r e s o u r c e   i n   A W S . A n   A W S   E B S   d i s k   m u s t   e x i s t   b e f o r e   m o u n t i n g   t o   a   c o n t a i n e r .   T h e   d i s k   m u s t   a l s o   b e   i n   t h e   s a m e   A W S   z o n e   a s   t h e   k u b e l e t .   A n   A W S   E B S   d i s k   c a n   o n l y   b e   m o u n t e d   a s   r e a d / w r i t e   o n c e .   A W S   E B S   v o l u m e s   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a n d   S E L i n u x   r e l a b e l i n g . * a w s E l a s t i c B l o c k S t o r e . v o l u m e I D   ( s t r i n g ) ,   r e q u i r e d v o l u m e I D   i s   u n i q u e   I D   o f   t h e   p e r s i s t e n t   d i s k   r e s o u r c e   i n   A W S   ( A m a z o n   E B S   v o l u m e ) .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # a w s e l a s t i c b l o c k s t o r e a w s E l a s t i c B l o c k S t o r e . f s T y p e   ( s t r i n g ) f s T y p e   i s   t h e   f i l e s y s t e m   t y p e   o f   t h e   v o l u m ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_24360"
  },
  {
    "question": "What is PersistentVolumeStatus?",
    "answer": "P e r s i s t e n t V o l u m e S t a t u s   i s   t h e   c u r r e n t   s t a t u s   o f   a   p e r s i s t e n t   v o l u m e .   l a s t P h a s e T r a n s i t i o n T i m e   ( T i m e ) l a s t P h a s e T r a n s i t i o n T i m e   i s   t h e   t i m e   t h e   p h a s e   t r a n s i t i o n e d   f r o m   o n e   t o   a n o t h e r   a n d   a u t o m a t i c a l l y   r e s e t s   t o   c u r r e n t   t i m e   e v e r y t i m e   a   v o l u m e   p h a s e   t r a n s i t i o n s . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . m e s s a g e   ( s t r i n g ) m e s s a g e   i s   a   h u m a n - r e a d a b l e   m e s s a g e   i n d i c a t i n g   d e t a i l s   a b o u t   w h y   t h e   v o l u m e   i s   i n   t h i s   s t a t e . p h a s e   ( s t r i n g ) p h a s e   i n d i c a t e s   i f   a   v o l u m e   i s   a v a i l a b l e ,   b o u n d   t o   a   c l a i m ,   o r   r e l e a s e d   b y   a   c l a i m .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p h a s e r e a s o n   ( s t r i n g ) r e a s o n   i s   a   b r i e f   C a m e l C a s e   s t r i n g   t h a t   d e s c r i b e s   a n y   f a i l u r e   a n d   i s   m e a n t   f o r   m a c h i n e   p a r s i n g   a n d   t i d y   d i s p l a y   i n   t h e   C L I .   l a s t P h a s e T r a n s i t i o n T i m e   ( T i m e )   l a s t P h a s e T r a n s i t i o n T i m e   i s   t h e   t i m e   t h e   p h a s e   t r a n s i t i o n e d   f r o m   o n e   t o   a n o t h e r   a n d   a u t o m a t i c a l l y   r e s e t s   t o   c u r r e n t   t i m ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24361"
  },
  {
    "question": "What is PersistentVolumeList?",
    "answer": "P e r s i s t e n t V o l u m e L i s t   i s   a   l i s t   o f   P e r s i s t e n t V o l u m e   i t e m s .   a p i V e r s i o n :   v 1 k i n d :   P e r s i s t e n t V o l u m e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] P e r s i s t e n t V o l u m e ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   p e r s i s t e n t   v o l u m e s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s   a p i V e r s i o n :   v 1   k i n d :   P e r s i s t e n t V o l u m e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] P e r s i s t e n t V o l u m e ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   p e r s i s t e n t   v o l u m e s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24362"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24363"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24364"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24365"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24366"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24367"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24368"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / p e r s i s t e n t v o l u m e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24369"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24370"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24371"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / p e r s i s t e n t v o l u m e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24372"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   P e r s i s t e n t V o l u m e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   P e r s i s t e n t V o l u m e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24373"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e ) :   C r e a t e d   2 0 2   ( P e r s i s t e n t V o l u m e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24374"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24375"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e b o d y :   P e r s i s t e n t V o l u m e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   b o d y :   P e r s i s t e n t V o l u m e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24376"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24377"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24378"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e b o d y :   P e r s i s t e n t V o l u m e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   b o d y :   P e r s i s t e n t V o l u m e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24379"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24380"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24381"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24382"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24383"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24384"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24385"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   2 0 1   ( P e r s i s t e n t V o l u m e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24386"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24387"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P e r s i s t e n t V o l u m e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P e r s i s t e n t V o l u m e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24388"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P e r s i s t e n t V o l u m e ) :   O K   2 0 2   ( P e r s i s t e n t V o l u m e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24389"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / p e r s i s t e n t v o l u m e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24390"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24391"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24392"
  },
  {
    "question": "What is 5.3.8 - StorageClass?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / s t o r a g e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24393"
  },
  {
    "question": "What is StorageClass?",
    "answer": "S t o r a g e C l a s s   d e s c r i b e s   t h e   p a r a m e t e r s   f o r   a   c l a s s   o f   s t o r a g e   f o r   w h i c h   P e r s i s t e n t V o l u m e s   c a n   b e   d y n a m i c a l l y   p r o v i s i o n e d .   S t o r a g e C l a s s e s   a r e   n o n - n a m e s p a c e d ;   t h e   n a m e   o f   t h e   s t o r a g e   c l a s s   a c c o r d i n g   t o   e t c d   i s   i n   O b j e c t M e t a . N a m e .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   S t o r a g e C l a s s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a p r o v i s i o n e r   ( s t r i n g ) ,   r e q u i r e d p r o v i s i o n e r   i n d i c a t e s   t h e   t y p e   o f   t h e   p r o v i s i o n e r . a l l o w V o l u m e E x p a n s i o n   ( b o o l e a n ) a l l o w V o l u m e E x p a n s i o n   s h o w s   w h e t h e r   t h e   s t o r a g e   c l a s s   a l l o w   v o l u m e   e x p a n d . a l l o w e d T o p o l o g i e s   ( [ ] T o p o l o g y S e l e c t o r T e r m ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e a l l o w e d T o p o l o g i e s   r e s t r i c t   t h e   n o d e   t o p o l o g i e s   w h e r e   v o l u m e s   c a n   b e   d y n a m i c a l l y   p r o v i s i o n e d .   E a c h   v o l u m e   p l u g i n   d e f i n e s   i t s   o w n   s u p p o r t e d   t o p o l o g y   s p e c i f i c a t i o n s .   A n   e m p t y   T o p o l o g y S e l e c t o r T e r m   l i s t   m e a n s   t h e r e   i s   n o   t o p o l o g y   r e s t r i c t i o n .   T h i s   f i e l d   i s   o n l y   h o n o r e d   b y   s e r v e r s   t h a t   e n a b l e   t h e   V o l u m e S c h e d u l i n g   f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24394"
  },
  {
    "question": "What is StorageClassList?",
    "answer": "S t o r a g e C l a s s L i s t   i s   a   c o l l e c t i o n   o f   s t o r a g e   c l a s s e s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   S t o r a g e C l a s s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] S t o r a g e C l a s s ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   S t o r a g e C l a s s e s   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   S t o r a g e C l a s s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] S t o r a g e C l a s s ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   S t o r a g e C l a s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24395"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24396"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e C l a s s p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e C l a s s   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24397"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e C l a s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24398"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24399"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24400"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e C l a s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24401"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24402"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   S t o r a g e C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   S t o r a g e C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24403"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e C l a s s ) :   O K   2 0 1   ( S t o r a g e C l a s s ) :   C r e a t e d   2 0 2   ( S t o r a g e C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24404"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24405"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e C l a s s b o d y :   S t o r a g e C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e C l a s s   b o d y :   S t o r a g e C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24406"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e C l a s s ) :   O K   2 0 1   ( S t o r a g e C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24407"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24408"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e C l a s s b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e C l a s s   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24409"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e C l a s s ) :   O K   2 0 1   ( S t o r a g e C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24410"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24411"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e C l a s s b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e C l a s s   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24412"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e C l a s s ) :   O K   2 0 2   ( S t o r a g e C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24413"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24414"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24415"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24416"
  },
  {
    "question": "What is 5.3.9 - StorageVersionMigration v1alpha1?",
    "answer": "a p i V e r s i o n :   s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1   i m p o r t   \" k 8 s . i o / a p i / s t o r a g e m i g r a t i o n / v 1 a l p h a 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24417"
  },
  {
    "question": "What is StorageVersionMigration?",
    "answer": "S t o r a g e V e r s i o n M i g r a t i o n   r e p r e s e n t s   a   m i g r a t i o n   o f   s t o r e d   d a t a   t o   t h e   l a t e s t   s t o r a g e   v e r s i o n .   a p i V e r s i o n :   s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 k i n d :   S t o r a g e V e r s i o n M i g r a t i o n m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( S t o r a g e V e r s i o n M i g r a t i o n S p e c ) S p e c i f i c a t i o n   o f   t h e   m i g r a t i o n . s t a t u s   ( S t o r a g e V e r s i o n M i g r a t i o n S t a t u s ) S t a t u s   o f   t h e   m i g r a t i o n .   a p i V e r s i o n :   s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1   k i n d :   S t o r a g e V e r s i o n M i g r a t i o n   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( S t o r a g e V e r s i o n M i g r a t i o n S p e c )   S p e c i f i c a t i o n   o f   t h e   m i g r a t i o n .   s t a t u s   ( S t o r a g e V e r s i o n M i g r a t i o n S t a t u s )   S t a t u s   o f   t h e   m i g r a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24418"
  },
  {
    "question": "What is StorageVersionMigrationSpec?",
    "answer": "S p e c   o f   t h e   s t o r a g e   v e r s i o n   m i g r a t i o n .   c o n t i n u e T o k e n   ( s t r i n g ) T h e   t o k e n   u s e d   i n   t h e   l i s t   o p t i o n s   t o   g e t   t h e   n e x t   c h u n k   o f   o b j e c t s   t o   m i g r a t e .   W h e n   t h e   . s t a t u s . c o n d i t i o n s   i n d i c a t e s   t h e   m i g r a t i o n   i s   \" R u n n i n g \" ,   u s e r s   c a n   u s e   t h i s   t o k e n   t o   c h e c k   t h e   p r o g r e s s   o f   t h e   m i g r a t i o n . r e s o u r c e   ( G r o u p V e r s i o n R e s o u r c e ) ,   r e q u i r e d T h e   r e s o u r c e   t h a t   i s   b e i n g   m i g r a t e d .   T h e   m i g r a t o r   s e n d s   r e q u e s t s   t o   t h e   e n d p o i n t   s e r v i n g   t h e   r e s o u r c e .   I m m u t a b l e . T h e   n a m e s   o f   t h e   g r o u p ,   t h e   v e r s i o n ,   a n d   t h e   r e s o u r c e . r e s o u r c e . g r o u p   ( s t r i n g ) T h e   n a m e   o f   t h e   g r o u p . r e s o u r c e . r e s o u r c e   ( s t r i n g ) T h e   n a m e   o f   t h e   r e s o u r c e . r e s o u r c e . v e r s i o n   ( s t r i n g ) T h e   n a m e   o f   t h e   v e r s i o n .   c o n t i n u e T o k e n   ( s t r i n g )   T h e   t o k e n   u s e d   i n   t h e   l i s t   o p t i o n s   t o   g e t   t h e   n e x t   c h u n k   o f   o b j e c t s   t o   m i g r a t e .   W h e n   t h e   . s t a t u s . c o n d i t i o n s   i n d i c a t e s   t h e   m i g r a t i o n   i s   \" R u n n i n g \" ,   u s e r s   c a n   u s e   t h i s   t o k e n   t o   c h e c k   t h e   p r o g r e s s   o f   t h e   m i g r a t i o n .   r e s o u r c e   ( G r o u p V e r s i o n R e s o u r c e ) ,   r e q u i r e d   T h e   r e s o u r c e   t h a t   i s   b e i n g   m i g r a t e d .   T h e   m i g r a t o r   s e n d s   r e q u e s t s   t o   t h e   e n d p o i n t   s e r v i n g   t h e   r e s o u r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24419"
  },
  {
    "question": "What is StorageVersionMigrationStatus?",
    "answer": "S t a t u s   o f   t h e   s t o r a g e   v e r s i o n   m i g r a t i o n .   c o n d i t i o n s   ( [ ] M i g r a t i o n C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e T h e   l a t e s t   a v a i l a b l e   o b s e r v a t i o n s   o f   t h e   m i g r a t i o n ' s   c u r r e n t   s t a t e . D e s c r i b e s   t h e   s t a t e   o f   a   m i g r a t i o n   a t   a   c e r t a i n   p o i n t . c o n d i t i o n s . s t a t u s   ( s t r i n g ) ,   r e q u i r e d S t a t u s   o f   t h e   c o n d i t i o n ,   o n e   o f   T r u e ,   F a l s e ,   U n k n o w n . c o n d i t i o n s . t y p e   ( s t r i n g ) ,   r e q u i r e d T y p e   o f   t h e   c o n d i t i o n . c o n d i t i o n s . l a s t U p d a t e T i m e   ( T i m e ) T h e   l a s t   t i m e   t h i s   c o n d i t i o n   w a s   u p d a t e d . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c o n d i t i o n s . m e s s a g e   ( s t r i n g ) A   h u m a n   r e a d a b l e   m e s s a g e   i n d i c a t i n g   d e t a i l s   a b o u t   t h e   t r a n s i t i o n . c o n d i t i o n s . r e a s o n   ( s t r i n g ) T h e   r e a s o n   f o r   t h e   c o n d i t i o n ' s   l a s t   t r a n s i t i o n . r e s o u r c e V e r s i o n   ( s t r i n g ) R e s o u r c e V e r s i o n   t o   c o m p a r e   w i t h   t h e   G C   c a c h e   f o r   p e r f o r m i n g   t h e   m i g r a t i o n .   T h i s   i s   t h e   c u r r e n t   r e s o u r c e   v e r s i o n   o f   g i v e n   g r o u p ,   v e r s i o n   a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24420"
  },
  {
    "question": "What is StorageVersionMigrationList?",
    "answer": "S t o r a g e V e r s i o n M i g r a t i o n L i s t   i s   a   c o l l e c t i o n   o f   s t o r a g e   v e r s i o n   m i g r a t i o n s .   a p i V e r s i o n :   s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 k i n d :   S t o r a g e V e r s i o n M i g r a t i o n L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] S t o r a g e V e r s i o n M i g r a t i o n ) ,   r e q u i r e d P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e I t e m s   i s   t h e   l i s t   o f   S t o r a g e V e r s i o n M i g r a t i o n   a p i V e r s i o n :   s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1   k i n d :   S t o r a g e V e r s i o n M i g r a t i o n L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] S t o r a g e V e r s i o n M i g r a t i o n ) ,   r e q u i r e d   P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e   M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e   I t e m s   i s   t h e   l i s t   o f   S t o r a g e V e r s i o n M i g r a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24421"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24422"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24423"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24424"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24425"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24426"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24427"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24428"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24429"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e V e r s i o n M i g r a t i o n L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24430"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24431"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   S t o r a g e V e r s i o n M i g r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   S t o r a g e V e r s i o n M i g r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24432"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   O K   2 0 1   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   C r e a t e d   2 0 2   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24433"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24434"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n b o d y :   S t o r a g e V e r s i o n M i g r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n   b o d y :   S t o r a g e V e r s i o n M i g r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24435"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   O K   2 0 1   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24436"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24437"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n b o d y :   S t o r a g e V e r s i o n M i g r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n   b o d y :   S t o r a g e V e r s i o n M i g r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24438"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   O K   2 0 1   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24439"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24440"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24441"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   O K   2 0 1   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24442"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24443"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24444"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   O K   2 0 1   ( S t o r a g e V e r s i o n M i g r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24445"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24446"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S t o r a g e V e r s i o n M i g r a t i o n   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24447"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24448"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24449"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24450"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24451"
  },
  {
    "question": "What is 5.3.10 - Volume?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24452"
  },
  {
    "question": "What is Volume?",
    "answer": "V o l u m e   r e p r e s e n t s   a   n a m e d   v o l u m e   i n   a   p o d   t h a t   m a y   b e   a c c e s s e d   b y   a n y   c o n t a i n e r   i n   t h e   p o d .   n a m e   ( s t r i n g ) ,   r e q u i r e d n a m e   o f   t h e   v o l u m e .   M u s t   b e   a   D N S _ L A B E L   a n d   u n i q u e   w i t h i n   t h e   p o d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s / # n a m e s   n a m e   ( s t r i n g ) ,   r e q u i r e d   n a m e   o f   t h e   v o l u m e .   M u s t   b e   a   D N S _ L A B E L   a n d   u n i q u e   w i t h i n   t h e   p o d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s / # n a m e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24453"
  },
  {
    "question": "What is Exposed Persistent volumes?",
    "answer": "p e r s i s t e n t V o l u m e C l a i m   ( P e r s i s t e n t V o l u m e C l a i m V o l u m e S o u r c e ) p e r s i s t e n t V o l u m e C l a i m V o l u m e S o u r c e   r e p r e s e n t s   a   r e f e r e n c e   t o   a   P e r s i s t e n t V o l u m e C l a i m   i n   t h e   s a m e   n a m e s p a c e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p e r s i s t e n t v o l u m e c l a i m s P e r s i s t e n t V o l u m e C l a i m V o l u m e S o u r c e   r e f e r e n c e s   t h e   u s e r ' s   P V C   i n   t h e   s a m e   n a m e s p a c e .   T h i s   v o l u m e   f i n d s   t h e   b o u n d   P V   a n d   m o u n t s   t h a t   v o l u m e   f o r   t h e   p o d .   A   P e r s i s t e n t V o l u m e C l a i m V o l u m e S o u r c e   i s ,   e s s e n t i a l l y ,   a   w r a p p e r   a r o u n d   a n o t h e r   t y p e   o f   v o l u m e   t h a t   i s   o w n e d   b y   s o m e o n e   e l s e   ( t h e   s y s t e m ) . p e r s i s t e n t V o l u m e C l a i m . c l a i m N a m e   ( s t r i n g ) ,   r e q u i r e d c l a i m N a m e   i s   t h e   n a m e   o f   a   P e r s i s t e n t V o l u m e C l a i m   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   p o d   u s i n g   t h i s   v o l u m e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / p e r s i s t e n t - v o l u m e s # p e r s i s t e n t v o l u m e c l a i m s p e r s i s t e n t V o l u m e C l a i m . r e a d O n l y   ( b o o l e a n ) r e a d O n l y   W i l l   f o r c e   t h e   R e a d O n l y   s e t t i n g   i n   V o l u m e M o u n t s .   D e f a u l t   f a l s e .   p e r s i s t e n t V o l u m e C l a i m   ( P e r s i s t e n t V o l u m e C l a i m V o l u m e S o u r c e )   p e r s i s t e n t V o l u m e C l a i m V o l u m e S o u r c e   r e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_24454"
  },
  {
    "question": "What is Projections?",
    "answer": "c o n f i g M a p   ( C o n f i g M a p V o l u m e S o u r c e ) c o n f i g M a p   r e p r e s e n t s   a   c o n f i g M a p   t h a t   s h o u l d   p o p u l a t e   t h i s   v o l u m e * A d a p t s   a   C o n f i g M a p   i n t o   a   v o l u m e . T h e   c o n t e n t s   o f   t h e   t a r g e t   C o n f i g M a p ' s   D a t a   f i e l d   w i l l   b e   p r e s e n t e d   i n   a   v o l u m e   a s   f i l e s   u s i n g   t h e   k e y s   i n   t h e   D a t a   f i e l d   a s   t h e   f i l e   n a m e s ,   u n l e s s   t h e   i t e m s   e l e m e n t   i s   p o p u l a t e d   w i t h   s p e c i f i c   m a p p i n g s   o f   k e y s   t o   p a t h s .   C o n f i g M a p   v o l u m e s   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a n d   S E L i n u x   r e l a b e l i n g . * c o n f i g M a p . n a m e   ( s t r i n g ) N a m e   o f   t h e   r e f e r e n t .   T h i s   f i e l d   i s   e f f e c t i v e l y   r e q u i r e d ,   b u t   d u e   t o   b a c k w a r d s   c o m p a t i b i l i t y   i s   a l l o w e d   t o   b e   e m p t y .   I n s t a n c e s   o f   t h i s   t y p e   w i t h   a n   e m p t y   v a l u e   h e r e   a r e   a l m o s t   c e r t a i n l y   w r o n g .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s / # n a m e s c o n f i g M a p . o p t i o n a l   ( b o o l e a n ) o p t i o n a l   s p e c i f y   w h e t h e r   t h e   C o n f i g M a p   o r   i t s   k e y s   m u s t   b e   d e f i n e d c o n f i g M a p . d e f a u l t M o d e   ( i n t 3 2 ) d e f a u l t M o d e   i s   o p t i o n a l :   m o d e   b i t s   u s e d   t o   s e t   p e r m i s s i o n s   o n   c r e a t e d   f i l e s   b y   d e f a u l t .   M u s t   b e   a n   o c t a l   v a l u e   b e t w e e n   0 0 0 0   a n d   0 7 7 7   o r   a   d e c i m a l   v a l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_24455"
  },
  {
    "question": "What is Local / Temporary Directory?",
    "answer": "e m p t y D i r   ( E m p t y D i r V o l u m e S o u r c e ) e m p t y D i r   r e p r e s e n t s   a   t e m p o r a r y   d i r e c t o r y   t h a t   s h a r e s   a   p o d ' s   l i f e t i m e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # e m p t y d i r R e p r e s e n t s   a n   e m p t y   d i r e c t o r y   f o r   a   p o d .   E m p t y   d i r e c t o r y   v o l u m e s   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a n d   S E L i n u x   r e l a b e l i n g . e m p t y D i r . m e d i u m   ( s t r i n g ) m e d i u m   r e p r e s e n t s   w h a t   t y p e   o f   s t o r a g e   m e d i u m   s h o u l d   b a c k   t h i s   d i r e c t o r y .   T h e   d e f a u l t   i s   \" \"   w h i c h   m e a n s   t o   u s e   t h e   n o d e ' s   d e f a u l t   m e d i u m .   M u s t   b e   a n   e m p t y   s t r i n g   ( d e f a u l t )   o r   M e m o r y .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # e m p t y d i r e m p t y D i r . s i z e L i m i t   ( Q u a n t i t y ) s i z e L i m i t   i s   t h e   t o t a l   a m o u n t   o f   l o c a l   s t o r a g e   r e q u i r e d   f o r   t h i s   E m p t y D i r   v o l u m e .   T h e   s i z e   l i m i t   i s   a l s o   a p p l i c a b l e   f o r   m e m o r y   m e d i u m .   T h e   m a x i m u m   u s a g e   o n   m e m o r y   m e d i u m   E m p t y D i r   w o u l d   b e   t h e   m i n i m u m   v a l u e   b e t w e e n   t h e   S i z e L i m i t   s p e c i f i e d   h e r e   a n d   t h e   s u m   o f   m e m o r y   l i m i t s   o f   a l l   c o n t a i n e r s   i n   a   p o d .   T h e   d e f a u l t   i s   n i l   w h i c h   m e a n s   t h a t   t h e   l i m i t   i s   u n d e f i n e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_24456"
  },
  {
    "question": "What is Persistent volumes?",
    "answer": "a w s E l a s t i c B l o c k S t o r e   ( A W S E l a s t i c B l o c k S t o r e V o l u m e S o u r c e ) a w s E l a s t i c B l o c k S t o r e   r e p r e s e n t s   a n   A W S   D i s k   r e s o u r c e   t h a t   i s   a t t a c h e d   t o   a   k u b e l e t ' s   h o s t   m a c h i n e   a n d   t h e n   e x p o s e d   t o   t h e   p o d .   D e p r e c a t e d :   A W S E l a s t i c B l o c k S t o r e   i s   d e p r e c a t e d .   A l l   o p e r a t i o n s   f o r   t h e   i n - t r e e   a w s E l a s t i c B l o c k S t o r e   t y p e   a r e   r e d i r e c t e d   t o   t h e   e b s . c s i . a w s . c o m   C S I   d r i v e r .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # a w s e l a s t i c b l o c k s t o r e * R e p r e s e n t s   a   P e r s i s t e n t   D i s k   r e s o u r c e   i n   A W S . A n   A W S   E B S   d i s k   m u s t   e x i s t   b e f o r e   m o u n t i n g   t o   a   c o n t a i n e r .   T h e   d i s k   m u s t   a l s o   b e   i n   t h e   s a m e   A W S   z o n e   a s   t h e   k u b e l e t .   A n   A W S   E B S   d i s k   c a n   o n l y   b e   m o u n t e d   a s   r e a d / w r i t e   o n c e .   A W S   E B S   v o l u m e s   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a n d   S E L i n u x   r e l a b e l i n g . * a w s E l a s t i c B l o c k S t o r e . v o l u m e I D   ( s t r i n g ) ,   r e q u i r e d v o l u m e I D   i s   u n i q u e   I D   o f   t h e   p e r s i s t e n t   d i s k   r e s o u r c e   i n   A W S   ( A m a z o n   E B S   v o l u m e ) .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / s t o r a g e / v o l u m e s # a w s e l a s t i c b l o c k s t o r e a w s E l a s t i c B l o c k S t o r e . f s T y p e   ( s t r i n g ) f s T y p e   i s   t h e   f i l e s y s t e m   t y p e   o f   t h e   v o l u m ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_24457"
  },
  {
    "question": "What is Deprecated?",
    "answer": "g i t R e p o   ( G i t R e p o V o l u m e S o u r c e ) g i t R e p o   r e p r e s e n t s   a   g i t   r e p o s i t o r y   a t   a   p a r t i c u l a r   r e v i s i o n .   D e p r e c a t e d :   G i t R e p o   i s   d e p r e c a t e d .   T o   p r o v i s i o n   a   c o n t a i n e r   w i t h   a   g i t   r e p o ,   m o u n t   a n   E m p t y D i r   i n t o   a n   I n i t C o n t a i n e r   t h a t   c l o n e s   t h e   r e p o   u s i n g   g i t ,   t h e n   m o u n t   t h e   E m p t y D i r   i n t o   t h e   P o d ' s   c o n t a i n e r . * R e p r e s e n t s   a   v o l u m e   t h a t   i s   p o p u l a t e d   w i t h   t h e   c o n t e n t s   o f   a   g i t   r e p o s i t o r y .   G i t   r e p o   v o l u m e s   d o   n o t   s u p p o r t   o w n e r s h i p   m a n a g e m e n t .   G i t   r e p o   v o l u m e s   s u p p o r t   S E L i n u x   r e l a b e l i n g . D E P R E C A T E D :   G i t R e p o   i s   d e p r e c a t e d .   T o   p r o v i s i o n   a   c o n t a i n e r   w i t h   a   g i t   r e p o ,   m o u n t   a n   E m p t y D i r   i n t o   a n   I n i t C o n t a i n e r   t h a t   c l o n e s   t h e   r e p o   u s i n g   g i t ,   t h e n   m o u n t   t h e   E m p t y D i r   i n t o   t h e   P o d ' s   c o n t a i n e r . * g i t R e p o . r e p o s i t o r y   ( s t r i n g ) ,   r e q u i r e d r e p o s i t o r y   i s   t h e   U R L g i t R e p o . d i r e c t o r y   ( s t r i n g ) d i r e c t o r y   i s   t h e   t a r g e t   d i r e c t o r y   n a m e .   M u s t   n o t   c o n t a i n   o r   s t a r t   w i t h   ' . . ' .   I f   ' . '   i s   s u p p l i e d ,   t h e   v o l u m e   d i r e c t o r y   w i l l   b e   t h e   g i t   r e p o s i t o r y .   O t h e r w i s e ,   i f   s p e c i f i e d ,   t h e   v o l u m e   w i l l   c o n t a i n   t h e   g i t   r e p o s i t o r y   i n   t h e   s u b d i r e c t o r y   w i t h   t h e   g i v e n   n a m ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_24458"
  },
  {
    "question": "What is DownwardAPIVolumeFile?",
    "answer": "D o w n w a r d A P I V o l u m e F i l e   r e p r e s e n t s   i n f o r m a t i o n   t o   c r e a t e   t h e   f i l e   c o n t a i n i n g   t h e   p o d   f i e l d   p a t h   ( s t r i n g ) ,   r e q u i r e d R e q u i r e d :   P a t h   i s   t h e   r e l a t i v e   p a t h   n a m e   o f   t h e   f i l e   t o   b e   c r e a t e d .   M u s t   n o t   b e   a b s o l u t e   o r   c o n t a i n   t h e   ' . . '   p a t h .   M u s t   b e   u t f - 8   e n c o d e d .   T h e   f i r s t   i t e m   o f   t h e   r e l a t i v e   p a t h   m u s t   n o t   s t a r t   w i t h   ' . . ' f i e l d R e f   ( O b j e c t F i e l d S e l e c t o r ) R e q u i r e d :   S e l e c t s   a   f i e l d   o f   t h e   p o d :   o n l y   a n n o t a t i o n s ,   l a b e l s ,   n a m e ,   n a m e s p a c e   a n d   u i d   a r e   s u p p o r t e d . m o d e   ( i n t 3 2 ) O p t i o n a l :   m o d e   b i t s   u s e d   t o   s e t   p e r m i s s i o n s   o n   t h i s   f i l e ,   m u s t   b e   a n   o c t a l   v a l u e   b e t w e e n   0 0 0 0   a n d   0 7 7 7   o r   a   d e c i m a l   v a l u e   b e t w e e n   0   a n d   5 1 1 .   Y A M L   a c c e p t s   b o t h   o c t a l   a n d   d e c i m a l   v a l u e s ,   J S O N   r e q u i r e s   d e c i m a l   v a l u e s   f o r   m o d e   b i t s .   I f   n o t   s p e c i f i e d ,   t h e   v o l u m e   d e f a u l t M o d e   w i l l   b e   u s e d .   T h i s   m i g h t   b e   i n   c o n f l i c t   w i t h   o t h e r   o p t i o n s   t h a t   a f f e c t   t h e   f i l e   m o d e ,   l i k e   f s G r o u p ,   a n d   t h e   r e s u l t   c a n   b e   o t h e r   m o d e   b i t s   s e t . r e s o u r c e F i e l d R e f   ( R e s o u r c e F i e l d S e l e c t o r ) S e l e c t s   a   r e s o u r c e   o f   t h e   c o n t a i n e r :   o n l y   r e s o u r c e s   l i m i t s   a n d   r e q u e s t s   ( l i m i t s . c p u ,   l i m i t s . m e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24459"
  },
  {
    "question": "What is KeyToPath?",
    "answer": "M a p s   a   s t r i n g   k e y   t o   a   p a t h   w i t h i n   a   v o l u m e .   k e y   ( s t r i n g ) ,   r e q u i r e d k e y   i s   t h e   k e y   t o   p r o j e c t . p a t h   ( s t r i n g ) ,   r e q u i r e d p a t h   i s   t h e   r e l a t i v e   p a t h   o f   t h e   f i l e   t o   m a p   t h e   k e y   t o .   M a y   n o t   b e   a n   a b s o l u t e   p a t h .   M a y   n o t   c o n t a i n   t h e   p a t h   e l e m e n t   ' . . ' .   M a y   n o t   s t a r t   w i t h   t h e   s t r i n g   ' . . ' . m o d e   ( i n t 3 2 ) m o d e   i s   O p t i o n a l :   m o d e   b i t s   u s e d   t o   s e t   p e r m i s s i o n s   o n   t h i s   f i l e .   M u s t   b e   a n   o c t a l   v a l u e   b e t w e e n   0 0 0 0   a n d   0 7 7 7   o r   a   d e c i m a l   v a l u e   b e t w e e n   0   a n d   5 1 1 .   Y A M L   a c c e p t s   b o t h   o c t a l   a n d   d e c i m a l   v a l u e s ,   J S O N   r e q u i r e s   d e c i m a l   v a l u e s   f o r   m o d e   b i t s .   I f   n o t   s p e c i f i e d ,   t h e   v o l u m e   d e f a u l t M o d e   w i l l   b e   u s e d .   T h i s   m i g h t   b e   i n   c o n f l i c t   w i t h   o t h e r   o p t i o n s   t h a t   a f f e c t   t h e   f i l e   m o d e ,   l i k e   f s G r o u p ,   a n d   t h e   r e s u l t   c a n   b e   o t h e r   m o d e   b i t s   s e t .   k e y   ( s t r i n g ) ,   r e q u i r e d   k e y   i s   t h e   k e y   t o   p r o j e c t .   p a t h   ( s t r i n g ) ,   r e q u i r e d   p a t h   i s   t h e   r e l a t i v e   p a t h   o f   t h e   f i l e   t o   m a p   t h e   k e y   t o .   M a y   n o t   b e   a n   a b s o l u t e   p a t h .   M a y   n o t   c o n t a i n   t h e   p a t h   e l e m e n t   ' . . ' .   M a y   n o t   s t a r t   w i t h   t h e   s t r i n g   ' . . ' .   m o d e   ( i n t 3 2 )   m o d e   i s   O p t i o n a l :   m o d e   b i t s   u s e d   t o   s e t   p e r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24460"
  },
  {
    "question": "What is 5.3.11 - VolumeAttachment?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / s t o r a g e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24461"
  },
  {
    "question": "What is VolumeAttachment?",
    "answer": "V o l u m e A t t a c h m e n t   c a p t u r e s   t h e   i n t e n t   t o   a t t a c h   o r   d e t a c h   t h e   s p e c i f i e d   v o l u m e   t o / f r o m   t h e   s p e c i f i e d   n o d e .   V o l u m e A t t a c h m e n t   o b j e c t s   a r e   n o n - n a m e s p a c e d .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   V o l u m e A t t a c h m e n t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( V o l u m e A t t a c h m e n t S p e c ) ,   r e q u i r e d s p e c   r e p r e s e n t s   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   a t t a c h / d e t a c h   v o l u m e   b e h a v i o r .   P o p u l a t e d   b y   t h e   K u b e r n e t e s   s y s t e m . s t a t u s   ( V o l u m e A t t a c h m e n t S t a t u s ) s t a t u s   r e p r e s e n t s   s t a t u s   o f   t h e   V o l u m e A t t a c h m e n t   r e q u e s t .   P o p u l a t e d   b y   t h e   e n t i t y   c o m p l e t i n g   t h e   a t t a c h   o r   d e t a c h   o p e r a t i o n ,   i . e .   t h e   e x t e r n a l - a t t a c h e r .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e A t t a c h m e n t   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( V o l u m e A t t a c h m e n t S p e c ) ,   r e q u i r e d   s p e c   r e p r e s e n t s   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   a t t a c h / d e t a c h   v o l u m e   b e h a v i o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24462"
  },
  {
    "question": "What is VolumeAttachmentSpec?",
    "answer": "V o l u m e A t t a c h m e n t S p e c   i s   t h e   s p e c i f i c a t i o n   o f   a   V o l u m e A t t a c h m e n t   r e q u e s t .   a t t a c h e r   ( s t r i n g ) ,   r e q u i r e d a t t a c h e r   i n d i c a t e s   t h e   n a m e   o f   t h e   v o l u m e   d r i v e r   t h a t   M U S T   h a n d l e   t h i s   r e q u e s t .   T h i s   i s   t h e   n a m e   r e t u r n e d   b y   G e t P l u g i n N a m e ( ) . n o d e N a m e   ( s t r i n g ) ,   r e q u i r e d n o d e N a m e   r e p r e s e n t s   t h e   n o d e   t h a t   t h e   v o l u m e   s h o u l d   b e   a t t a c h e d   t o . s o u r c e   ( V o l u m e A t t a c h m e n t S o u r c e ) ,   r e q u i r e d s o u r c e   r e p r e s e n t s   t h e   v o l u m e   t h a t   s h o u l d   b e   a t t a c h e d . V o l u m e A t t a c h m e n t S o u r c e   r e p r e s e n t s   a   v o l u m e   t h a t   s h o u l d   b e   a t t a c h e d .   R i g h t   n o w   o n l y   P e r s i s t e n t V o l u m e s   c a n   b e   a t t a c h e d   v i a   e x t e r n a l   a t t a c h e r ,   i n   t h e   f u t u r e   w e   m a y   a l l o w   a l s o   i n l i n e   v o l u m e s   i n   p o d s .   E x a c t l y   o n e   m e m b e r   c a n   b e   s e t . s o u r c e . i n l i n e V o l u m e S p e c   ( P e r s i s t e n t V o l u m e S p e c ) i n l i n e V o l u m e S p e c   c o n t a i n s   a l l   t h e   i n f o r m a t i o n   n e c e s s a r y   t o   a t t a c h   a   p e r s i s t e n t   v o l u m e   d e f i n e d   b y   a   p o d ' s   i n l i n e   V o l u m e S o u r c e .   T h i s   f i e l d   i s   p o p u l a t e d   o n l y   f o r   t h e   C S I M i g r a t i o n   f e a t u r e .   I t   c o n t a i n s   t r a n s l a t e d   f i e l d s   f r o m   a   p o d ' s   i n l i n e   V o l u m e S o u r c e   t o   a   P e r s i s t e n t V o l u m e S p e c .   T h i s   f i e l d   i s   b e t a - l e v e l   a n d   i s   o n l y   h o n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24463"
  },
  {
    "question": "What is VolumeAttachmentStatus?",
    "answer": "V o l u m e A t t a c h m e n t S t a t u s   i s   t h e   s t a t u s   o f   a   V o l u m e A t t a c h m e n t   r e q u e s t .   a t t a c h e d   ( b o o l e a n ) ,   r e q u i r e d a t t a c h e d   i n d i c a t e s   t h e   v o l u m e   i s   s u c c e s s f u l l y   a t t a c h e d .   T h i s   f i e l d   m u s t   o n l y   b e   s e t   b y   t h e   e n t i t y   c o m p l e t i n g   t h e   a t t a c h   o p e r a t i o n ,   i . e .   t h e   e x t e r n a l - a t t a c h e r . a t t a c h E r r o r   ( V o l u m e E r r o r ) a t t a c h E r r o r   r e p r e s e n t s   t h e   l a s t   e r r o r   e n c o u n t e r e d   d u r i n g   a t t a c h   o p e r a t i o n ,   i f   a n y .   T h i s   f i e l d   m u s t   o n l y   b e   s e t   b y   t h e   e n t i t y   c o m p l e t i n g   t h e   a t t a c h   o p e r a t i o n ,   i . e .   t h e   e x t e r n a l - a t t a c h e r . V o l u m e E r r o r   c a p t u r e s   a n   e r r o r   e n c o u n t e r e d   d u r i n g   a   v o l u m e   o p e r a t i o n . a t t a c h E r r o r . e r r o r C o d e   ( i n t 3 2 ) e r r o r C o d e   i s   a   n u m e r i c   g R P C   c o d e   r e p r e s e n t i n g   t h e   e r r o r   e n c o u n t e r e d   d u r i n g   A t t a c h   o r   D e t a c h   o p e r a t i o n s . T h i s   i s   a n   o p t i o n a l ,   b e t a   f i e l d   t h a t   r e q u i r e s   t h e   M u t a b l e C S I N o d e A l l o c a t a b l e C o u n t   f e a t u r e   g a t e   b e i n g   e n a b l e d   t o   b e   s e t . a t t a c h E r r o r . m e s s a g e   ( s t r i n g ) m e s s a g e   r e p r e s e n t s   t h e   e r r o r   e n c o u n t e r e d   d u r i n g   A t t a c h   o r   D e t a c h   o p e r a t i o n .   T h i s   s t r i n g   m a y   b e   l o g g e d ,   s o   i t   s h o u l d   n o t   c o n t a i n   s e n s i t i v e   i n f o r m a t i o n . a t t a c h E r r o r . t i m e   ( T i m e ) t i m e   r e p r e s e n t s   t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24464"
  },
  {
    "question": "What is VolumeAttachmentList?",
    "answer": "V o l u m e A t t a c h m e n t L i s t   i s   a   c o l l e c t i o n   o f   V o l u m e A t t a c h m e n t   o b j e c t s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   V o l u m e A t t a c h m e n t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] V o l u m e A t t a c h m e n t ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   V o l u m e A t t a c h m e n t s   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e A t t a c h m e n t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] V o l u m e A t t a c h m e n t ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   V o l u m e A t t a c h m e n t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24465"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24466"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t a c h m e n t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t a c h m e n t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24467"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24468"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24469"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t a c h m e n t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t a c h m e n t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24470"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24471"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24472"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24473"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24474"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24475"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   V o l u m e A t t a c h m e n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   V o l u m e A t t a c h m e n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24476"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t ) :   O K   2 0 1   ( V o l u m e A t t a c h m e n t ) :   C r e a t e d   2 0 2   ( V o l u m e A t t a c h m e n t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24477"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24478"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t a c h m e n t b o d y :   V o l u m e A t t a c h m e n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t a c h m e n t   b o d y :   V o l u m e A t t a c h m e n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24479"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t ) :   O K   2 0 1   ( V o l u m e A t t a c h m e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24480"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24481"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t a c h m e n t b o d y :   V o l u m e A t t a c h m e n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t a c h m e n t   b o d y :   V o l u m e A t t a c h m e n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24482"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t ) :   O K   2 0 1   ( V o l u m e A t t a c h m e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24483"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24484"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t a c h m e n t b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t a c h m e n t   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24485"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t ) :   O K   2 0 1   ( V o l u m e A t t a c h m e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24486"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24487"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t a c h m e n t b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t a c h m e n t   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24488"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t ) :   O K   2 0 1   ( V o l u m e A t t a c h m e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24489"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24490"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t a c h m e n t b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t a c h m e n t   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24491"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t a c h m e n t ) :   O K   2 0 2   ( V o l u m e A t t a c h m e n t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24492"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24493"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24494"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24495"
  },
  {
    "question": "What is 5.3.12 - VolumeAttributesClass?",
    "answer": "a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / s t o r a g e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24496"
  },
  {
    "question": "What is VolumeAttributesClass?",
    "answer": "V o l u m e A t t r i b u t e s C l a s s   r e p r e s e n t s   a   s p e c i f i c a t i o n   o f   m u t a b l e   v o l u m e   a t t r i b u t e s   d e f i n e d   b y   t h e   C S I   d r i v e r .   T h e   c l a s s   c a n   b e   s p e c i f i e d   d u r i n g   d y n a m i c   p r o v i s i o n i n g   o f   P e r s i s t e n t V o l u m e C l a i m s ,   a n d   c h a n g e d   i n   t h e   P e r s i s t e n t V o l u m e C l a i m   s p e c   a f t e r   p r o v i s i o n i n g .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   V o l u m e A t t r i b u t e s C l a s s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a d r i v e r N a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   o f   t h e   C S I   d r i v e r   T h i s   f i e l d   i s   i m m u t a b l e . p a r a m e t e r s   ( m a p [ s t r i n g ] s t r i n g ) p a r a m e t e r s   h o l d   v o l u m e   a t t r i b u t e s   d e f i n e d   b y   t h e   C S I   d r i v e r .   T h e s e   v a l u e s   a r e   o p a q u e   t o   t h e   K u b e r n e t e s   a n d   a r e   p a s s e d   d i r e c t l y   t o   t h e   C S I   d r i v e r .   T h e   u n d e r l y i n g   s t o r a g e   p r o v i d e r   s u p p o r t s   c h a n g i n g   t h e s e   a t t r i b u t e s   o n   a n   e x i s t i n g   v o l u m e ,   h o w e v e r   t h e   p a r a m e t e r s   f i e l d   i t s e l f   i s   i m m u t a b l e .   T o   i n v o k e   a   v o l u m e   u p d a t e ,   a   n e w   V o l u m e A t t r i b u t e s C l a s s   s h o u l d   b e   c r e a t e d   w i t h   n e w   p a r a m e t e r s ,   a n d   t h e   P e r s i s t e n t V o l u m e C l a i m   s h o u l d   b e   u p d a t e d   t o   r e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24497"
  },
  {
    "question": "What is VolumeAttributesClassList?",
    "answer": "V o l u m e A t t r i b u t e s C l a s s L i s t   i s   a   c o l l e c t i o n   o f   V o l u m e A t t r i b u t e s C l a s s   o b j e c t s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1 k i n d :   V o l u m e A t t r i b u t e s C l a s s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] V o l u m e A t t r i b u t e s C l a s s ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   V o l u m e A t t r i b u t e s C l a s s   o b j e c t s .   a p i V e r s i o n :   s t o r a g e . k 8 s . i o / v 1   k i n d :   V o l u m e A t t r i b u t e s C l a s s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] V o l u m e A t t r i b u t e s C l a s s ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   V o l u m e A t t r i b u t e s C l a s s   o b j e c t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24498"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24499"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t r i b u t e s C l a s s p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t r i b u t e s C l a s s   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24500"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t r i b u t e s C l a s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24501"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24502"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24503"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t r i b u t e s C l a s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24504"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24505"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   V o l u m e A t t r i b u t e s C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   V o l u m e A t t r i b u t e s C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24506"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t r i b u t e s C l a s s ) :   O K   2 0 1   ( V o l u m e A t t r i b u t e s C l a s s ) :   C r e a t e d   2 0 2   ( V o l u m e A t t r i b u t e s C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24507"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24508"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t r i b u t e s C l a s s b o d y :   V o l u m e A t t r i b u t e s C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t r i b u t e s C l a s s   b o d y :   V o l u m e A t t r i b u t e s C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24509"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t r i b u t e s C l a s s ) :   O K   2 0 1   ( V o l u m e A t t r i b u t e s C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24510"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24511"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t r i b u t e s C l a s s b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t r i b u t e s C l a s s   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24512"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t r i b u t e s C l a s s ) :   O K   2 0 1   ( V o l u m e A t t r i b u t e s C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24513"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24514"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V o l u m e A t t r i b u t e s C l a s s b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V o l u m e A t t r i b u t e s C l a s s   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24515"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V o l u m e A t t r i b u t e s C l a s s ) :   O K   2 0 2   ( V o l u m e A t t r i b u t e s C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24516"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24517"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24518"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24519"
  },
  {
    "question": "What is 5.4.1 - ServiceAccount?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24520"
  },
  {
    "question": "What is ServiceAccount?",
    "answer": "S e r v i c e A c c o u n t   b i n d s   t o g e t h e r :   *   a   n a m e ,   u n d e r s t o o d   b y   u s e r s ,   a n d   p e r h a p s   b y   p e r i p h e r a l   s y s t e m s ,   f o r   a n   i d e n t i t y   *   a   p r i n c i p a l   t h a t   c a n   b e   a u t h e n t i c a t e d   a n d   a u t h o r i z e d   *   a   s e t   o f   s e c r e t s   a p i V e r s i o n :   v 1 k i n d :   S e r v i c e A c c o u n t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a a u t o m o u n t S e r v i c e A c c o u n t T o k e n   ( b o o l e a n ) A u t o m o u n t S e r v i c e A c c o u n t T o k e n   i n d i c a t e s   w h e t h e r   p o d s   r u n n i n g   a s   t h i s   s e r v i c e   a c c o u n t   s h o u l d   h a v e   a n   A P I   t o k e n   a u t o m a t i c a l l y   m o u n t e d .   C a n   b e   o v e r r i d d e n   a t   t h e   p o d   l e v e l . i m a g e P u l l S e c r e t s   ( [ ] L o c a l O b j e c t R e f e r e n c e ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e I m a g e P u l l S e c r e t s   i s   a   l i s t   o f   r e f e r e n c e s   t o   s e c r e t s   i n   t h e   s a m e   n a m e s p a c e   t o   u s e   f o r   p u l l i n g   a n y   i m a g e s   i n   p o d s   t h a t   r e f e r e n c e   t h i s   S e r v i c e A c c o u n t .   I m a g e P u l l S e c r e t s   a r e   d i s t i n c t   f r o m   S e c r e t s   b e c a u s e   S e c r e t s   c a n   b e   m o u n t e d   i n   t h e   p o d ,   b u t   I m a g e P u l l S e c r e t s   a r e   o n l y   a c c e s s e d   b y   t h e   k u b e l e t .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24521"
  },
  {
    "question": "What is ServiceAccountList?",
    "answer": "S e r v i c e A c c o u n t L i s t   i s   a   l i s t   o f   S e r v i c e A c c o u n t   o b j e c t s   a p i V e r s i o n :   v 1 k i n d :   S e r v i c e A c c o u n t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] S e r v i c e A c c o u n t ) ,   r e q u i r e d L i s t   o f   S e r v i c e A c c o u n t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g u r e - s e r v i c e - a c c o u n t /   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e A c c o u n t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] S e r v i c e A c c o u n t ) ,   r e q u i r e d   L i s t   o f   S e r v i c e A c c o u n t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / c o n f i g u r e - p o d - c o n t a i n e r / c o n f i g u r e - s e r v i c e - a c c o u n t /",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24522"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24523"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e A c c o u n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e A c c o u n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24524"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e A c c o u n t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24525"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24526"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24527"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e A c c o u n t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24528"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / s e r v i c e a c c o u n t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24529"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24530"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e A c c o u n t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24531"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24532"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S e r v i c e A c c o u n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S e r v i c e A c c o u n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24533"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e A c c o u n t ) :   O K   2 0 1   ( S e r v i c e A c c o u n t ) :   C r e a t e d   2 0 2   ( S e r v i c e A c c o u n t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24534"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24535"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e A c c o u n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   S e r v i c e A c c o u n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e A c c o u n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   S e r v i c e A c c o u n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24536"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e A c c o u n t ) :   O K   2 0 1   ( S e r v i c e A c c o u n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24537"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24538"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e A c c o u n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e A c c o u n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24539"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e A c c o u n t ) :   O K   2 0 1   ( S e r v i c e A c c o u n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24540"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24541"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e A c c o u n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e A c c o u n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24542"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e A c c o u n t ) :   O K   2 0 2   ( S e r v i c e A c c o u n t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24543"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24544"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24545"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24546"
  },
  {
    "question": "What is 5.4.2 - TokenRequest?",
    "answer": "a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a u t h e n t i c a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24547"
  },
  {
    "question": "What is TokenRequest?",
    "answer": "T o k e n R e q u e s t   r e q u e s t s   a   t o k e n   f o r   a   g i v e n   s e r v i c e   a c c o u n t .   a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1 k i n d :   T o k e n R e q u e s t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( T o k e n R e q u e s t S p e c ) ,   r e q u i r e d S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d s t a t u s   ( T o k e n R e q u e s t S t a t u s ) S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   a n d   i n d i c a t e s   w h e t h e r   t h e   t o k e n   c a n   b e   a u t h e n t i c a t e d .   a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1   k i n d :   T o k e n R e q u e s t   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( T o k e n R e q u e s t S p e c ) ,   r e q u i r e d   S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d   s t a t u s   ( T o k e n R e q u e s t S t a t u s )   S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   a n d   i n d i c a t e s   w h e t h e r   t h e   t o k e n   c a n   b e   a u t h e n t i c a t e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24548"
  },
  {
    "question": "What is TokenRequestSpec?",
    "answer": "T o k e n R e q u e s t S p e c   c o n t a i n s   c l i e n t   p r o v i d e d   p a r a m e t e r s   o f   a   t o k e n   r e q u e s t .   a u d i e n c e s   ( [ ] s t r i n g ) ,   r e q u i r e d A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A u d i e n c e s   a r e   t h e   i n t e n d e d   a u d i e n c e s   o f   t h e   t o k e n .   A   r e c i p i e n t   o f   a   t o k e n   m u s t   i d e n t i f y   t h e m s e l f   w i t h   a n   i d e n t i f i e r   i n   t h e   l i s t   o f   a u d i e n c e s   o f   t h e   t o k e n ,   a n d   o t h e r w i s e   s h o u l d   r e j e c t   t h e   t o k e n .   A   t o k e n   i s s u e d   f o r   m u l t i p l e   a u d i e n c e s   m a y   b e   u s e d   t o   a u t h e n t i c a t e   a g a i n s t   a n y   o f   t h e   a u d i e n c e s   l i s t e d   b u t   i m p l i e s   a   h i g h   d e g r e e   o f   t r u s t   b e t w e e n   t h e   t a r g e t   a u d i e n c e s . b o u n d O b j e c t R e f   ( B o u n d O b j e c t R e f e r e n c e ) B o u n d O b j e c t R e f   i s   a   r e f e r e n c e   t o   a n   o b j e c t   t h a t   t h e   t o k e n   w i l l   b e   b o u n d   t o .   T h e   t o k e n   w i l l   o n l y   b e   v a l i d   f o r   a s   l o n g   a s   t h e   b o u n d   o b j e c t   e x i s t s .   N O T E :   T h e   A P I   s e r v e r ' s   T o k e n R e v i e w   e n d p o i n t   w i l l   v a l i d a t e   t h e   B o u n d O b j e c t R e f ,   b u t   o t h e r   a u d i e n c e s   m a y   n o t .   K e e p   E x p i r a t i o n S e c o n d s   s m a l l   i f   y o u   w a n t   p r o m p t   r e v o c a t i o n . B o u n d O b j e c t R e f e r e n c e   i s   a   r e f e r e n c e   t o   a n   o b j e c t   t h a t   a   t o k e n   i s   b o u n d   t o . b o u n d O b j e c t R e f . a p i V e r s i o n   ( s t r i n g ) A P I   v e r s i o n   o f   t h e   r e f e r e n t . b o u n d O b j e c t R e f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24549"
  },
  {
    "question": "What is TokenRequestStatus?",
    "answer": "T o k e n R e q u e s t S t a t u s   i s   t h e   r e s u l t   o f   a   t o k e n   r e q u e s t .   e x p i r a t i o n T i m e s t a m p   ( T i m e ) ,   r e q u i r e d E x p i r a t i o n T i m e s t a m p   i s   t h e   t i m e   o f   e x p i r a t i o n   o f   t h e   r e t u r n e d   t o k e n . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . t o k e n   ( s t r i n g ) ,   r e q u i r e d T o k e n   i s   t h e   o p a q u e   b e a r e r   t o k e n .   e x p i r a t i o n T i m e s t a m p   ( T i m e ) ,   r e q u i r e d   E x p i r a t i o n T i m e s t a m p   i s   t h e   t i m e   o f   e x p i r a t i o n   o f   t h e   r e t u r n e d   t o k e n .   T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s .   t o k e n   ( s t r i n g ) ,   r e q u i r e d   T o k e n   i s   t h e   o p a q u e   b e a r e r   t o k e n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24550"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s / { n a m e } / t o k e n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24551"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   T o k e n R e q u e s t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   T o k e n R e q u e s t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   T o k e n R e q u e s t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   T o k e n R e q u e s t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24552"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( T o k e n R e q u e s t ) :   O K   2 0 1   ( T o k e n R e q u e s t ) :   C r e a t e d   2 0 2   ( T o k e n R e q u e s t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24553"
  },
  {
    "question": "What is 5.4.3 - TokenReview?",
    "answer": "a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a u t h e n t i c a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24554"
  },
  {
    "question": "What is TokenReview?",
    "answer": "T o k e n R e v i e w   a t t e m p t s   t o   a u t h e n t i c a t e   a   t o k e n   t o   a   k n o w n   u s e r .   N o t e :   T o k e n R e v i e w   r e q u e s t s   m a y   b e   c a c h e d   b y   t h e   w e b h o o k   t o k e n   a u t h e n t i c a t o r   p l u g i n   i n   t h e   k u b e - a p i s e r v e r .   a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1 k i n d :   T o k e n R e v i e w m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( T o k e n R e v i e w S p e c ) ,   r e q u i r e d S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d s t a t u s   ( T o k e n R e v i e w S t a t u s ) S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   a n d   i n d i c a t e s   w h e t h e r   t h e   r e q u e s t   c a n   b e   a u t h e n t i c a t e d .   a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1   k i n d :   T o k e n R e v i e w   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( T o k e n R e v i e w S p e c ) ,   r e q u i r e d   S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d   s t a t u s   ( T o k e n R e v i e w S t a t u s )   S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   a n d   i n d i c a t e s   w h e t h e r   t h e   r e q u e s t   c a n   b e   a u t h e n t i c a t e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24555"
  },
  {
    "question": "What is TokenReviewSpec?",
    "answer": "T o k e n R e v i e w S p e c   i s   a   d e s c r i p t i o n   o f   t h e   t o k e n   a u t h e n t i c a t i o n   r e q u e s t .   a u d i e n c e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A u d i e n c e s   i s   a   l i s t   o f   t h e   i d e n t i f i e r s   t h a t   t h e   r e s o u r c e   s e r v e r   p r e s e n t e d   w i t h   t h e   t o k e n   i d e n t i f i e s   a s .   A u d i e n c e - a w a r e   t o k e n   a u t h e n t i c a t o r s   w i l l   v e r i f y   t h a t   t h e   t o k e n   w a s   i n t e n d e d   f o r   a t   l e a s t   o n e   o f   t h e   a u d i e n c e s   i n   t h i s   l i s t .   I f   n o   a u d i e n c e s   a r e   p r o v i d e d ,   t h e   a u d i e n c e   w i l l   d e f a u l t   t o   t h e   a u d i e n c e   o f   t h e   K u b e r n e t e s   a p i s e r v e r . t o k e n   ( s t r i n g ) T o k e n   i s   t h e   o p a q u e   b e a r e r   t o k e n .   a u d i e n c e s   ( [ ] s t r i n g )   A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e   A u d i e n c e s   i s   a   l i s t   o f   t h e   i d e n t i f i e r s   t h a t   t h e   r e s o u r c e   s e r v e r   p r e s e n t e d   w i t h   t h e   t o k e n   i d e n t i f i e s   a s .   A u d i e n c e - a w a r e   t o k e n   a u t h e n t i c a t o r s   w i l l   v e r i f y   t h a t   t h e   t o k e n   w a s   i n t e n d e d   f o r   a t   l e a s t   o n e   o f   t h e   a u d i e n c e s   i n   t h i s   l i s t .   I f   n o   a u d i e n c e s   a r e   p r o v i d e d ,   t h e   a u d i e n c e   w i l l   d e f a u l t   t o   t h e   a u d i e n c e   o f   t h e   K u b e r n e t e s   a p i s e r v e r .   t o k e n   ( s t r i n g )   T o k e n   i s   t h e   o p a q u e   b e a r e r   t o k e n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24556"
  },
  {
    "question": "What is TokenReviewStatus?",
    "answer": "T o k e n R e v i e w S t a t u s   i s   t h e   r e s u l t   o f   t h e   t o k e n   a u t h e n t i c a t i o n   r e q u e s t .   a u d i e n c e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A u d i e n c e s   a r e   a u d i e n c e   i d e n t i f i e r s   c h o s e n   b y   t h e   a u t h e n t i c a t o r   t h a t   a r e   c o m p a t i b l e   w i t h   b o t h   t h e   T o k e n R e v i e w   a n d   t o k e n .   A n   i d e n t i f i e r   i s   a n y   i d e n t i f i e r   i n   t h e   i n t e r s e c t i o n   o f   t h e   T o k e n R e v i e w S p e c   a u d i e n c e s   a n d   t h e   t o k e n ' s   a u d i e n c e s .   A   c l i e n t   o f   t h e   T o k e n R e v i e w   A P I   t h a t   s e t s   t h e   s p e c . a u d i e n c e s   f i e l d   s h o u l d   v a l i d a t e   t h a t   a   c o m p a t i b l e   a u d i e n c e   i d e n t i f i e r   i s   r e t u r n e d   i n   t h e   s t a t u s . a u d i e n c e s   f i e l d   t o   e n s u r e   t h a t   t h e   T o k e n R e v i e w   s e r v e r   i s   a u d i e n c e   a w a r e .   I f   a   T o k e n R e v i e w   r e t u r n s   a n   e m p t y   s t a t u s . a u d i e n c e   f i e l d   w h e r e   s t a t u s . a u t h e n t i c a t e d   i s   \" t r u e \" ,   t h e   t o k e n   i s   v a l i d   a g a i n s t   t h e   a u d i e n c e   o f   t h e   K u b e r n e t e s   A P I   s e r v e r . a u t h e n t i c a t e d   ( b o o l e a n ) A u t h e n t i c a t e d   i n d i c a t e s   t h a t   t h e   t o k e n   w a s   a s s o c i a t e d   w i t h   a   k n o w n   u s e r . e r r o r   ( s t r i n g ) E r r o r   i n d i c a t e s   t h a t   t h e   t o k e n   c o u l d n ' t   b e   c h e c k e d u s e r   ( U s e r I n f o ) U s e r   i s   t h e   U s e r I n f o   a s s o c i a t e d   w i t h   t h e   p r o v i d e d   t o k e n . U s e r I n f o   h o l d s   t h e   i n f o r m a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24557"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t h e n t i c a t i o n . k 8 s . i o / v 1 / t o k e n r e v i e w s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24558"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   T o k e n R e v i e w ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   T o k e n R e v i e w ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24559"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( T o k e n R e v i e w ) :   O K   2 0 1   ( T o k e n R e v i e w ) :   C r e a t e d   2 0 2   ( T o k e n R e v i e w ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24560"
  },
  {
    "question": "What is 5.4.4 - CertificateSigningRequest?",
    "answer": "a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / c e r t i f i c a t e s / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24561"
  },
  {
    "question": "What is CertificateSigningRequest?",
    "answer": "C e r t i f i c a t e S i g n i n g R e q u e s t   o b j e c t s   p r o v i d e   a   m e c h a n i s m   t o   o b t a i n   x 5 0 9   c e r t i f i c a t e s   b y   s u b m i t t i n g   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t ,   a n d   h a v i n g   i t   a s y n c h r o n o u s l y   a p p r o v e d   a n d   i s s u e d .   K u b e l e t s   u s e   t h i s   A P I   t o   o b t a i n :   c l i e n t   c e r t i f i c a t e s   t o   a u t h e n t i c a t e   t o   k u b e - a p i s e r v e r   ( w i t h   t h e   \" k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t - k u b e l e t \"   s i g n e r N a m e ) . s e r v i n g   c e r t i f i c a t e s   f o r   T L S   e n d p o i n t s   k u b e - a p i s e r v e r   c a n   c o n n e c t   t o   s e c u r e l y   ( w i t h   t h e   \" k u b e r n e t e s . i o / k u b e l e t - s e r v i n g \"   s i g n e r N a m e ) .   T h i s   A P I   c a n   b e   u s e d   t o   r e q u e s t   c l i e n t   c e r t i f i c a t e s   t o   a u t h e n t i c a t e   t o   k u b e - a p i s e r v e r   ( w i t h   t h e   \" k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t \"   s i g n e r N a m e ) ,   o r   t o   o b t a i n   c e r t i f i c a t e s   f r o m   c u s t o m   n o n - K u b e r n e t e s   s i g n e r s .   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 k i n d :   C e r t i f i c a t e S i g n i n g R e q u e s t m e t a d a t a   ( O b j e c t M e t a ) s p e c   ( C e r t i f i c a t e S i g n i n g R e q u e s t S p e c ) ,   r e q u i r e d s p e c   c o n t a i n s   t h e   c e r t i f i c a t e   r e q u e s t ,   a n d   i s   i m m u t a b l e   a f t e r   c r e a t i o n .   O n l y   t h e   r e q u e s t ,   s i g n e r N a m e ,   e x p i r a t i o n S e c o n d s ,   a n d   u s a g e s   f i e l d s   c a n   b e   s e t   o n   c r e a t i o n .   O t h e r   f i e l d s   a r e   d e r i v e d   b y   K u b ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24562"
  },
  {
    "question": "What is CertificateSigningRequestSpec?",
    "answer": "C e r t i f i c a t e S i g n i n g R e q u e s t S p e c   c o n t a i n s   t h e   c e r t i f i c a t e   r e q u e s t .   r e q u e s t   ( [ ] b y t e ) ,   r e q u i r e d A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e r e q u e s t   c o n t a i n s   a n   x 5 0 9   c e r t i f i c a t e   s i g n i n g   r e q u e s t   e n c o d e d   i n   a   \" C E R T I F I C A T E   R E Q U E S T \"   P E M   b l o c k .   W h e n   s e r i a l i z e d   a s   J S O N   o r   Y A M L ,   t h e   d a t a   i s   a d d i t i o n a l l y   b a s e 6 4 - e n c o d e d . s i g n e r N a m e   ( s t r i n g ) ,   r e q u i r e d s i g n e r N a m e   i n d i c a t e s   t h e   r e q u e s t e d   s i g n e r ,   a n d   i s   a   q u a l i f i e d   n a m e . L i s t / w a t c h   r e q u e s t s   f o r   C e r t i f i c a t e S i g n i n g R e q u e s t s   c a n   f i l t e r   o n   t h i s   f i e l d   u s i n g   a   \" s p e c . s i g n e r N a m e = N A M E \"   f i e l d S e l e c t o r . W e l l - k n o w n   K u b e r n e t e s   s i g n e r s   a r e : \" k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t \" :   i s s u e s   c l i e n t   c e r t i f i c a t e s   t h a t   c a n   b e   u s e d   t o   a u t h e n t i c a t e   t o   k u b e - a p i s e r v e r .   R e q u e s t s   f o r   t h i s   s i g n e r   a r e   n e v e r   a u t o - a p p r o v e d   b y   k u b e - c o n t r o l l e r - m a n a g e r ,   c a n   b e   i s s u e d   b y   t h e   \" c s r s i g n i n g \"   c o n t r o l l e r   i n   k u b e - c o n t r o l l e r - m a n a g e r . \" k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t - k u b e l e t \" :   i s s u e s   c l i e n t   c e r t i f i c a t e s   t h a t   k u b e l e t s   u s e   t o   a u t h e n t i c a t e   t o   k u b e - a p i s e r v e r .   R e q u e s t s   f o r   t h i s   s i g n e r   c a n   b e   a u t o - a p p r o v e d   b y   t h e   \" ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24563"
  },
  {
    "question": "What is CertificateSigningRequestStatus?",
    "answer": "C e r t i f i c a t e S i g n i n g R e q u e s t S t a t u s   c o n t a i n s   c o n d i t i o n s   u s e d   t o   i n d i c a t e   a p p r o v e d / d e n i e d / f a i l e d   s t a t u s   o f   t h e   r e q u e s t ,   a n d   t h e   i s s u e d   c e r t i f i c a t e .   c e r t i f i c a t e   ( [ ] b y t e ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e c e r t i f i c a t e   i s   p o p u l a t e d   w i t h   a n   i s s u e d   c e r t i f i c a t e   b y   t h e   s i g n e r   a f t e r   a n   A p p r o v e d   c o n d i t i o n   i s   p r e s e n t .   T h i s   f i e l d   i s   s e t   v i a   t h e   / s t a t u s   s u b r e s o u r c e .   O n c e   p o p u l a t e d ,   t h i s   f i e l d   i s   i m m u t a b l e . I f   t h e   c e r t i f i c a t e   s i g n i n g   r e q u e s t   i s   d e n i e d ,   a   c o n d i t i o n   o f   t y p e   \" D e n i e d \"   i s   a d d e d   a n d   t h i s   f i e l d   r e m a i n s   e m p t y .   I f   t h e   s i g n e r   c a n n o t   i s s u e   t h e   c e r t i f i c a t e ,   a   c o n d i t i o n   o f   t y p e   \" F a i l e d \"   i s   a d d e d   a n d   t h i s   f i e l d   r e m a i n s   e m p t y . V a l i d a t i o n   r e q u i r e m e n t s : c e r t i f i c a t e   m u s t   c o n t a i n   o n e   o r   m o r e   P E M   b l o c k s . A l l   P E M   b l o c k s   m u s t   h a v e   t h e   \" C E R T I F I C A T E \"   l a b e l ,   c o n t a i n   n o   h e a d e r s ,   a n d   t h e   e n c o d e d   d a t a   m u s t   b e   a   B E R - e n c o d e d   A S N . 1   C e r t i f i c a t e   s t r u c t u r e   a s   d e s c r i b e d   i n   s e c t i o n   4   o f   R F C 5 2 8 0 . N o n - P E M   c o n t e n t   m a y   a p p e a r   b e f o r e   o r   a f t e r   t h e   \" C E R T I F I C A T E \"   P E M   b l o c k s   a n d   i s   u n v a l i d a t e d ,   t o   a l l o w   f o r   e x p l a n a t o r y   t e x t   a s   d e s c r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24564"
  },
  {
    "question": "What is CertificateSigningRequestList?",
    "answer": "C e r t i f i c a t e S i g n i n g R e q u e s t L i s t   i s   a   c o l l e c t i o n   o f   C e r t i f i c a t e S i g n i n g R e q u e s t   o b j e c t s   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 k i n d :   C e r t i f i c a t e S i g n i n g R e q u e s t L i s t m e t a d a t a   ( L i s t M e t a ) i t e m s   ( [ ] C e r t i f i c a t e S i g n i n g R e q u e s t ) ,   r e q u i r e d i t e m s   i s   a   c o l l e c t i o n   o f   C e r t i f i c a t e S i g n i n g R e q u e s t   o b j e c t s   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1   k i n d :   C e r t i f i c a t e S i g n i n g R e q u e s t L i s t   m e t a d a t a   ( L i s t M e t a )   i t e m s   ( [ ] C e r t i f i c a t e S i g n i n g R e q u e s t ) ,   r e q u i r e d   i t e m s   i s   a   c o l l e c t i o n   o f   C e r t i f i c a t e S i g n i n g R e q u e s t   o b j e c t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24565"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24566"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24567"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24568"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e } / a p p r o v a l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24569"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24570"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24571"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24572"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24573"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24574"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24575"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24576"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24577"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24578"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   C e r t i f i c a t e S i g n i n g R e q u e s t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   C e r t i f i c a t e S i g n i n g R e q u e s t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24579"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   2 0 1   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   C r e a t e d   2 0 2   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24580"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24581"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t b o d y :   C e r t i f i c a t e S i g n i n g R e q u e s t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   b o d y :   C e r t i f i c a t e S i g n i n g R e q u e s t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24582"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   2 0 1   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24583"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e } / a p p r o v a l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24584"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t b o d y :   C e r t i f i c a t e S i g n i n g R e q u e s t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   b o d y :   C e r t i f i c a t e S i g n i n g R e q u e s t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24585"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   2 0 1   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24586"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24587"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t b o d y :   C e r t i f i c a t e S i g n i n g R e q u e s t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   b o d y :   C e r t i f i c a t e S i g n i n g R e q u e s t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24588"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   2 0 1   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24589"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24590"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24591"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   2 0 1   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24592"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e } / a p p r o v a l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24593"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24594"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   2 0 1   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24595"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24596"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24597"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   O K   2 0 1   ( C e r t i f i c a t e S i g n i n g R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24598"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24599"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C e r t i f i c a t e S i g n i n g R e q u e s t   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24600"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24601"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24602"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24603"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24604"
  },
  {
    "question": "What is 5.4.5 - ClusterTrustBundle v1beta1?",
    "answer": "a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1   i m p o r t   \" k 8 s . i o / a p i / c e r t i f i c a t e s / v 1 b e t a 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24605"
  },
  {
    "question": "What is ClusterTrustBundle?",
    "answer": "C l u s t e r T r u s t B u n d l e   i s   a   c l u s t e r - s c o p e d   c o n t a i n e r   f o r   X . 5 0 9   t r u s t   a n c h o r s   ( r o o t   c e r t i f i c a t e s ) .   C l u s t e r T r u s t B u n d l e   o b j e c t s   a r e   c o n s i d e r e d   t o   b e   r e a d a b l e   b y   a n y   a u t h e n t i c a t e d   u s e r   i n   t h e   c l u s t e r ,   b e c a u s e   t h e y   c a n   b e   m o u n t e d   b y   p o d s   u s i n g   t h e   c l u s t e r T r u s t B u n d l e   p r o j e c t i o n .   A l l   s e r v i c e   a c c o u n t s   h a v e   r e a d   a c c e s s   t o   C l u s t e r T r u s t B u n d l e s   b y   d e f a u l t .   U s e r s   w h o   o n l y   h a v e   n a m e s p a c e - l e v e l   a c c e s s   t o   a   c l u s t e r   c a n   r e a d   C l u s t e r T r u s t B u n d l e s   b y   i m p e r s o n a t i n g   a   s e r v i c e a c c o u n t   t h a t   t h e y   h a v e   a c c e s s   t o .   I t   c a n   b e   o p t i o n a l l y   a s s o c i a t e d   w i t h   a   p a r t i c u l a r   a s s i g n e r ,   i n   w h i c h   c a s e   i t   c o n t a i n s   o n e   v a l i d   s e t   o f   t r u s t   a n c h o r s   f o r   t h a t   s i g n e r .   S i g n e r s   m a y   h a v e   m u l t i p l e   a s s o c i a t e d   C l u s t e r T r u s t B u n d l e s ;   e a c h   i s   a n   i n d e p e n d e n t   s e t   o f   t r u s t   a n c h o r s   f o r   t h a t   s i g n e r .   A d m i s s i o n   c o n t r o l   i s   u s e d   t o   e n f o r c e   t h a t   o n l y   u s e r s   w i t h   p e r m i s s i o n s   o n   t h e   s i g n e r   c a n   c r e a t e   o r   m o d i f y   t h e   c o r r e s p o n d i n g   b u n d l e .   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 k i n d :   C l u s t e r T r u s t B u n d l e m e t a d a t a   ( O b j e c t M e t a ) m e t a d a t a   c o n t a i n s   t h e   o b j e c t   m e t a d a t a . s p e c   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24606"
  },
  {
    "question": "What is ClusterTrustBundleSpec?",
    "answer": "C l u s t e r T r u s t B u n d l e S p e c   c o n t a i n s   t h e   s i g n e r   a n d   t r u s t   a n c h o r s .   t r u s t B u n d l e   ( s t r i n g ) ,   r e q u i r e d t r u s t B u n d l e   c o n t a i n s   t h e   i n d i v i d u a l   X . 5 0 9   t r u s t   a n c h o r s   f o r   t h i s   b u n d l e ,   a s   P E M   b u n d l e   o f   P E M - w r a p p e d ,   D E R - f o r m a t t e d   X . 5 0 9   c e r t i f i c a t e s . T h e   d a t a   m u s t   c o n s i s t   o n l y   o f   P E M   c e r t i f i c a t e   b l o c k s   t h a t   p a r s e   a s   v a l i d   X . 5 0 9   c e r t i f i c a t e s .   E a c h   c e r t i f i c a t e   m u s t   i n c l u d e   a   b a s i c   c o n s t r a i n t s   e x t e n s i o n   w i t h   t h e   C A   b i t   s e t .   T h e   A P I   s e r v e r   w i l l   r e j e c t   o b j e c t s   t h a t   c o n t a i n   d u p l i c a t e   c e r t i f i c a t e s ,   o r   t h a t   u s e   P E M   b l o c k   h e a d e r s . U s e r s   o f   C l u s t e r T r u s t B u n d l e s ,   i n c l u d i n g   K u b e l e t ,   a r e   f r e e   t o   r e o r d e r   a n d   d e d u p l i c a t e   c e r t i f i c a t e   b l o c k s   i n   t h i s   f i l e   a c c o r d i n g   t o   t h e i r   o w n   l o g i c ,   a s   w e l l   a s   t o   d r o p   P E M   b l o c k   h e a d e r s   a n d   i n t e r - b l o c k   d a t a . s i g n e r N a m e   ( s t r i n g ) s i g n e r N a m e   i n d i c a t e s   t h e   a s s o c i a t e d   s i g n e r ,   i f   a n y . I n   o r d e r   t o   c r e a t e   o r   u p d a t e   a   C l u s t e r T r u s t B u n d l e   t h a t   s e t s   s i g n e r N a m e ,   y o u   m u s t   h a v e   t h e   f o l l o w i n g   c l u s t e r - s c o p e d   p e r m i s s i o n :   g r o u p = c e r t i f i c a t e s . k 8 s . i o   r e s o u r c e = s i g n e r s   r e s o u r c e N a m e = < t h e   s i g n e r   n a m e >   v e r b = a t t e s t . I f   s i g n e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24607"
  },
  {
    "question": "What is ClusterTrustBundleList?",
    "answer": "C l u s t e r T r u s t B u n d l e L i s t   i s   a   c o l l e c t i o n   o f   C l u s t e r T r u s t B u n d l e   o b j e c t s   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 k i n d :   C l u s t e r T r u s t B u n d l e L i s t m e t a d a t a   ( L i s t M e t a ) m e t a d a t a   c o n t a i n s   t h e   l i s t   m e t a d a t a . i t e m s   ( [ ] C l u s t e r T r u s t B u n d l e ) ,   r e q u i r e d i t e m s   i s   a   c o l l e c t i o n   o f   C l u s t e r T r u s t B u n d l e   o b j e c t s   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1   k i n d :   C l u s t e r T r u s t B u n d l e L i s t   m e t a d a t a   ( L i s t M e t a )   m e t a d a t a   c o n t a i n s   t h e   l i s t   m e t a d a t a .   i t e m s   ( [ ] C l u s t e r T r u s t B u n d l e ) ,   r e q u i r e d   i t e m s   i s   a   c o l l e c t i o n   o f   C l u s t e r T r u s t B u n d l e   o b j e c t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24608"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24609"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r T r u s t B u n d l e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r T r u s t B u n d l e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24610"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r T r u s t B u n d l e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24611"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24612"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24613"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r T r u s t B u n d l e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24614"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24615"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   C l u s t e r T r u s t B u n d l e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   C l u s t e r T r u s t B u n d l e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24616"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r T r u s t B u n d l e ) :   O K   2 0 1   ( C l u s t e r T r u s t B u n d l e ) :   C r e a t e d   2 0 2   ( C l u s t e r T r u s t B u n d l e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24617"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24618"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r T r u s t B u n d l e b o d y :   C l u s t e r T r u s t B u n d l e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r T r u s t B u n d l e   b o d y :   C l u s t e r T r u s t B u n d l e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24619"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r T r u s t B u n d l e ) :   O K   2 0 1   ( C l u s t e r T r u s t B u n d l e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24620"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24621"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r T r u s t B u n d l e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r T r u s t B u n d l e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24622"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r T r u s t B u n d l e ) :   O K   2 0 1   ( C l u s t e r T r u s t B u n d l e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24623"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24624"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r T r u s t B u n d l e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r T r u s t B u n d l e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24625"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24626"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24627"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24628"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24629"
  },
  {
    "question": "What is 5.4.6 - SelfSubjectReview?",
    "answer": "a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a u t h e n t i c a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24630"
  },
  {
    "question": "What is SelfSubjectReview?",
    "answer": "S e l f S u b j e c t R e v i e w   c o n t a i n s   t h e   u s e r   i n f o r m a t i o n   t h a t   t h e   k u b e - a p i s e r v e r   h a s   a b o u t   t h e   u s e r   m a k i n g   t h i s   r e q u e s t .   W h e n   u s i n g   i m p e r s o n a t i o n ,   u s e r s   w i l l   r e c e i v e   t h e   u s e r   i n f o   o f   t h e   u s e r   b e i n g   i m p e r s o n a t e d .   I f   i m p e r s o n a t i o n   o r   r e q u e s t   h e a d e r   a u t h e n t i c a t i o n   i s   u s e d ,   a n y   e x t r a   k e y s   w i l l   h a v e   t h e i r   c a s e   i g n o r e d   a n d   r e t u r n e d   a s   l o w e r c a s e .   a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1 k i n d :   S e l f S u b j e c t R e v i e w m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s t a t u s   ( S e l f S u b j e c t R e v i e w S t a t u s ) S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   w i t h   t h e   u s e r   a t t r i b u t e s .   a p i V e r s i o n :   a u t h e n t i c a t i o n . k 8 s . i o / v 1   k i n d :   S e l f S u b j e c t R e v i e w   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s t a t u s   ( S e l f S u b j e c t R e v i e w S t a t u s )   S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   w i t h   t h e   u s e r   a t t r i b u t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24631"
  },
  {
    "question": "What is SelfSubjectReviewStatus?",
    "answer": "S e l f S u b j e c t R e v i e w S t a t u s   i s   f i l l e d   b y   t h e   k u b e - a p i s e r v e r   a n d   s e n t   b a c k   t o   a   u s e r .   u s e r I n f o   ( U s e r I n f o ) U s e r   a t t r i b u t e s   o f   t h e   u s e r   m a k i n g   t h i s   r e q u e s t . U s e r I n f o   h o l d s   t h e   i n f o r m a t i o n   a b o u t   t h e   u s e r   n e e d e d   t o   i m p l e m e n t   t h e   u s e r . I n f o   i n t e r f a c e . u s e r I n f o . e x t r a   ( m a p [ s t r i n g ] [ ] s t r i n g ) A n y   a d d i t i o n a l   i n f o r m a t i o n   p r o v i d e d   b y   t h e   a u t h e n t i c a t o r . u s e r I n f o . g r o u p s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e T h e   n a m e s   o f   g r o u p s   t h i s   u s e r   i s   a   p a r t   o f . u s e r I n f o . u i d   ( s t r i n g ) A   u n i q u e   v a l u e   t h a t   i d e n t i f i e s   t h i s   u s e r   a c r o s s   t i m e .   I f   t h i s   u s e r   i s   d e l e t e d   a n d   a n o t h e r   u s e r   b y   t h e   s a m e   n a m e   i s   a d d e d ,   t h e y   w i l l   h a v e   d i f f e r e n t   U I D s . u s e r I n f o . u s e r n a m e   ( s t r i n g ) T h e   n a m e   t h a t   u n i q u e l y   i d e n t i f i e s   t h i s   u s e r   a m o n g   a l l   a c t i v e   u s e r s .   u s e r I n f o   ( U s e r I n f o )   U s e r   a t t r i b u t e s   o f   t h e   u s e r   m a k i n g   t h i s   r e q u e s t .   U s e r I n f o   h o l d s   t h e   i n f o r m a t i o n   a b o u t   t h e   u s e r   n e e d e d   t o   i m p l e m e n t   t h e   u s e r . I n f o   i n t e r f a c e .   u s e r I n f o . e x t r a   ( m a p [ s t r i n g ] [ ] s t r i n g ) A n y   a d d i t i o n a l   i n f o r m a t i o n   p r o v i d e d   b y   t h e   a u t h e n t i c a t o r . u s e r I n f o . g r o u p s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24632"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t h e n t i c a t i o n . k 8 s . i o / v 1 / s e l f s u b j e c t r e v i e w s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24633"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   S e l f S u b j e c t R e v i e w ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   S e l f S u b j e c t R e v i e w ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24634"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e l f S u b j e c t R e v i e w ) :   O K   2 0 1   ( S e l f S u b j e c t R e v i e w ) :   C r e a t e d   2 0 2   ( S e l f S u b j e c t R e v i e w ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24635"
  },
  {
    "question": "What is 5.4.7 - PodCertificateRequest v1alpha1?",
    "answer": "a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1   i m p o r t   \" k 8 s . i o / a p i / c e r t i f i c a t e s / v 1 a l p h a 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24636"
  },
  {
    "question": "What is PodCertificateRequest?",
    "answer": "P o d C e r t i f i c a t e R e q u e s t   e n c o d e s   a   p o d   r e q u e s t i n g   a   c e r t i f i c a t e   f r o m   a   g i v e n   s i g n e r .   K u b e l e t s   u s e   t h i s   A P I   t o   i m p l e m e n t   p o d C e r t i f i c a t e   p r o j e c t e d   v o l u m e s   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 k i n d :   P o d C e r t i f i c a t e R e q u e s t m e t a d a t a   ( O b j e c t M e t a ) m e t a d a t a   c o n t a i n s   t h e   o b j e c t   m e t a d a t a . s p e c   ( P o d C e r t i f i c a t e R e q u e s t S p e c ) ,   r e q u i r e d s p e c   c o n t a i n s   t h e   d e t a i l s   a b o u t   t h e   c e r t i f i c a t e   b e i n g   r e q u e s t e d . s t a t u s   ( P o d C e r t i f i c a t e R e q u e s t S t a t u s ) s t a t u s   c o n t a i n s   t h e   i s s u e d   c e r t i f i c a t e ,   a n d   a   s t a n d a r d   s e t   o f   c o n d i t i o n s .   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1   k i n d :   P o d C e r t i f i c a t e R e q u e s t   m e t a d a t a   ( O b j e c t M e t a )   m e t a d a t a   c o n t a i n s   t h e   o b j e c t   m e t a d a t a .   s p e c   ( P o d C e r t i f i c a t e R e q u e s t S p e c ) ,   r e q u i r e d   s p e c   c o n t a i n s   t h e   d e t a i l s   a b o u t   t h e   c e r t i f i c a t e   b e i n g   r e q u e s t e d .   s t a t u s   ( P o d C e r t i f i c a t e R e q u e s t S t a t u s )   s t a t u s   c o n t a i n s   t h e   i s s u e d   c e r t i f i c a t e ,   a n d   a   s t a n d a r d   s e t   o f   c o n d i t i o n s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24637"
  },
  {
    "question": "What is PodCertificateRequestSpec?",
    "answer": "P o d C e r t i f i c a t e R e q u e s t S p e c   d e s c r i b e s   t h e   c e r t i f i c a t e   r e q u e s t .   A l l   f i e l d s   a r e   i m m u t a b l e   a f t e r   c r e a t i o n .   n o d e N a m e   ( s t r i n g ) ,   r e q u i r e d n o d e N a m e   i s   t h e   n a m e   o f   t h e   n o d e   t h e   p o d   i s   a s s i g n e d   t o . n o d e U I D   ( s t r i n g ) ,   r e q u i r e d n o d e U I D   i s   t h e   U I D   o f   t h e   n o d e   t h e   p o d   i s   a s s i g n e d   t o . p k i x P u b l i c K e y   ( [ ] b y t e ) ,   r e q u i r e d p k i x P u b l i c K e y   i s   t h e   P K I X - s e r i a l i z e d   p u b l i c   k e y   t h e   s i g n e r   w i l l   i s s u e   t h e   c e r t i f i c a t e   t o . T h e   k e y   m u s t   b e   o n e   o f   R S A 3 0 7 2 ,   R S A 4 0 9 6 ,   E C D S A P 2 5 6 ,   E C D S A P 3 8 4 ,   E C D S A P 5 2 1 ,   o r   E D 2 5 5 1 9 .   N o t e   t h a t   t h i s   l i s t   m a y   b e   e x p a n d e d   i n   t h e   f u t u r e . S i g n e r   i m p l e m e n t a t i o n s   d o   n o t   n e e d   t o   s u p p o r t   a l l   k e y   t y p e s   s u p p o r t e d   b y   k u b e - a p i s e r v e r   a n d   k u b e l e t .   I f   a   s i g n e r   d o e s   n o t   s u p p o r t   t h e   k e y   t y p e   u s e d   f o r   a   g i v e n   P o d C e r t i f i c a t e R e q u e s t ,   i t   m u s t   d e n y   t h e   r e q u e s t   b y   s e t t i n g   a   s t a t u s . c o n d i t i o n s   e n t r y   w i t h   a   t y p e   o f   \" D e n i e d \"   a n d   a   r e a s o n   o f   \" U n s u p p o r t e d K e y T y p e \" .   I t   m a y   a l s o   s u g g e s t   a   k e y   t y p e   t h a t   i t   d o e s   s u p p o r t   i n   t h e   m e s s a g e   f i e l d . p o d N a m e   ( s t r i n g ) ,   r e q u i r e d p o d N a m e   i s   t h e   n a m e   o f   t h e   p o d   i n t o   w h i c h   t h e   c e r t i f i c a t e   w i l l   b e   m o u n t e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24638"
  },
  {
    "question": "What is PodCertificateRequestStatus?",
    "answer": "P o d C e r t i f i c a t e R e q u e s t S t a t u s   d e s c r i b e s   t h e   s t a t u s   o f   t h e   r e q u e s t ,   a n d   h o l d s   t h e   c e r t i f i c a t e   d a t a   i f   t h e   r e q u e s t   i s   i s s u e d .   b e g i n R e f r e s h A t   ( T i m e ) b e g i n R e f r e s h A t   i s   t h e   t i m e   a t   w h i c h   t h e   k u b e l e t   s h o u l d   b e g i n   t r y i n g   t o   r e f r e s h   t h e   c e r t i f i c a t e .   T h i s   f i e l d   i s   s e t   v i a   t h e   / s t a t u s   s u b r e s o u r c e ,   a n d   m u s t   b e   s e t   a t   t h e   s a m e   t i m e   a s   c e r t i f i c a t e C h a i n .   O n c e   p o p u l a t e d ,   t h i s   f i e l d   i s   i m m u t a b l e . T h i s   f i e l d   i s   o n l y   a   h i n t .   K u b e l e t   m a y   s t a r t   r e f r e s h i n g   b e f o r e   o r   a f t e r   t h i s   t i m e   i f   n e c e s s a r y . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c e r t i f i c a t e C h a i n   ( s t r i n g ) c e r t i f i c a t e C h a i n   i s   p o p u l a t e d   w i t h   a n   i s s u e d   c e r t i f i c a t e   b y   t h e   s i g n e r .   T h i s   f i e l d   i s   s e t   v i a   t h e   / s t a t u s   s u b r e s o u r c e .   O n c e   p o p u l a t e d ,   t h i s   f i e l d   i s   i m m u t a b l e . I f   t h e   c e r t i f i c a t e   s i g n i n g   r e q u e s t   i s   d e n i e d ,   a   c o n d i t i o n   o f   t y p e   \" D e n i e d \"   i s   a d d e d   a n d   t h i s   f i e l d   r e m a i n s   e m p t y .   I f   t h e   s i g n e r   c a n n o t   i s s u e   t h e   c e r t i f i c a t e ,   a   c o n d i t i o n   o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24639"
  },
  {
    "question": "What is PodCertificateRequestList?",
    "answer": "P o d C e r t i f i c a t e R e q u e s t L i s t   i s   a   c o l l e c t i o n   o f   P o d C e r t i f i c a t e R e q u e s t   o b j e c t s   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 k i n d :   P o d C e r t i f i c a t e R e q u e s t L i s t m e t a d a t a   ( L i s t M e t a ) m e t a d a t a   c o n t a i n s   t h e   l i s t   m e t a d a t a . i t e m s   ( [ ] P o d C e r t i f i c a t e R e q u e s t ) ,   r e q u i r e d i t e m s   i s   a   c o l l e c t i o n   o f   P o d C e r t i f i c a t e R e q u e s t   o b j e c t s   a p i V e r s i o n :   c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1   k i n d :   P o d C e r t i f i c a t e R e q u e s t L i s t   m e t a d a t a   ( L i s t M e t a )   m e t a d a t a   c o n t a i n s   t h e   l i s t   m e t a d a t a .   i t e m s   ( [ ] P o d C e r t i f i c a t e R e q u e s t ) ,   r e q u i r e d   i t e m s   i s   a   c o l l e c t i o n   o f   P o d C e r t i f i c a t e R e q u e s t   o b j e c t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24640"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24641"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24642"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24643"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24644"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24645"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24646"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24647"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24648"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24649"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / p o d c e r t i f i c a t e r e q u e s t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24650"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24651"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24652"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24653"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d C e r t i f i c a t e R e q u e s t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d C e r t i f i c a t e R e q u e s t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24654"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t ) :   O K   2 0 1   ( P o d C e r t i f i c a t e R e q u e s t ) :   C r e a t e d   2 0 2   ( P o d C e r t i f i c a t e R e q u e s t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24655"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24656"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d C e r t i f i c a t e R e q u e s t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d C e r t i f i c a t e R e q u e s t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24657"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t ) :   O K   2 0 1   ( P o d C e r t i f i c a t e R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24658"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24659"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d C e r t i f i c a t e R e q u e s t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d C e r t i f i c a t e R e q u e s t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24660"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t ) :   O K   2 0 1   ( P o d C e r t i f i c a t e R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24661"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24662"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24663"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t ) :   O K   2 0 1   ( P o d C e r t i f i c a t e R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24664"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24665"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24666"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d C e r t i f i c a t e R e q u e s t ) :   O K   2 0 1   ( P o d C e r t i f i c a t e R e q u e s t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24667"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24668"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d C e r t i f i c a t e R e q u e s t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24669"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24670"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24671"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24672"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24673"
  },
  {
    "question": "What is 5.5.1 - LocalSubjectAccessReview?",
    "answer": "a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a u t h o r i z a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24674"
  },
  {
    "question": "What is LocalSubjectAccessReview?",
    "answer": "L o c a l S u b j e c t A c c e s s R e v i e w   c h e c k s   w h e t h e r   o r   n o t   a   u s e r   o r   g r o u p   c a n   p e r f o r m   a n   a c t i o n   i n   a   g i v e n   n a m e s p a c e .   H a v i n g   a   n a m e s p a c e   s c o p e d   r e s o u r c e   m a k e s   i t   m u c h   e a s i e r   t o   g r a n t   n a m e s p a c e   s c o p e d   p o l i c y   t h a t   i n c l u d e s   p e r m i s s i o n s   c h e c k i n g .   a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   L o c a l S u b j e c t A c c e s s R e v i e w m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( S u b j e c t A c c e s s R e v i e w S p e c ) ,   r e q u i r e d S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d .   s p e c . n a m e s p a c e   m u s t   b e   e q u a l   t o   t h e   n a m e s p a c e   y o u   m a d e   t h e   r e q u e s t   a g a i n s t .   I f   e m p t y ,   i t   i s   d e f a u l t e d . s t a t u s   ( S u b j e c t A c c e s s R e v i e w S t a t u s ) S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   a n d   i n d i c a t e s   w h e t h e r   t h e   r e q u e s t   i s   a l l o w e d   o r   n o t   a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   L o c a l S u b j e c t A c c e s s R e v i e w   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( S u b j e c t A c c e s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24675"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l o c a l s u b j e c t a c c e s s r e v i e w s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24676"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   L o c a l S u b j e c t A c c e s s R e v i e w ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   L o c a l S u b j e c t A c c e s s R e v i e w ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24677"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L o c a l S u b j e c t A c c e s s R e v i e w ) :   O K   2 0 1   ( L o c a l S u b j e c t A c c e s s R e v i e w ) :   C r e a t e d   2 0 2   ( L o c a l S u b j e c t A c c e s s R e v i e w ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24678"
  },
  {
    "question": "What is 5.5.2 - SelfSubjectAccessReview?",
    "answer": "a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a u t h o r i z a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24679"
  },
  {
    "question": "What is SelfSubjectAccessReview?",
    "answer": "S e l f S u b j e c t A c c e s s R e v i e w   c h e c k s   w h e t h e r   o r   t h e   c u r r e n t   u s e r   c a n   p e r f o r m   a n   a c t i o n .   N o t   f i l l i n g   i n   a   s p e c . n a m e s p a c e   m e a n s   \" i n   a l l   n a m e s p a c e s \" .   S e l f   i s   a   s p e c i a l   c a s e ,   b e c a u s e   u s e r s   s h o u l d   a l w a y s   b e   a b l e   t o   c h e c k   w h e t h e r   t h e y   c a n   p e r f o r m   a n   a c t i o n   a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   S e l f S u b j e c t A c c e s s R e v i e w m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( S e l f S u b j e c t A c c e s s R e v i e w S p e c ) ,   r e q u i r e d S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d .   u s e r   a n d   g r o u p s   m u s t   b e   e m p t y s t a t u s   ( S u b j e c t A c c e s s R e v i e w S t a t u s ) S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   a n d   i n d i c a t e s   w h e t h e r   t h e   r e q u e s t   i s   a l l o w e d   o r   n o t   a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   S e l f S u b j e c t A c c e s s R e v i e w   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( S e l f S u b j e c t A c c e s s R e v i e w S p e c ) ,   r e q u i r e d   S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24680"
  },
  {
    "question": "What is SelfSubjectAccessReviewSpec?",
    "answer": "S e l f S u b j e c t A c c e s s R e v i e w S p e c   i s   a   d e s c r i p t i o n   o f   t h e   a c c e s s   r e q u e s t .   E x a c t l y   o n e   o f   R e s o u r c e A u t h o r i z a t i o n A t t r i b u t e s   a n d   N o n R e s o u r c e A u t h o r i z a t i o n A t t r i b u t e s   m u s t   b e   s e t   n o n R e s o u r c e A t t r i b u t e s   ( N o n R e s o u r c e A t t r i b u t e s ) N o n R e s o u r c e A t t r i b u t e s   d e s c r i b e s   i n f o r m a t i o n   f o r   a   n o n - r e s o u r c e   a c c e s s   r e q u e s t N o n R e s o u r c e A t t r i b u t e s   i n c l u d e s   t h e   a u t h o r i z a t i o n   a t t r i b u t e s   a v a i l a b l e   f o r   n o n - r e s o u r c e   r e q u e s t s   t o   t h e   A u t h o r i z e r   i n t e r f a c e n o n R e s o u r c e A t t r i b u t e s . p a t h   ( s t r i n g ) P a t h   i s   t h e   U R L   p a t h   o f   t h e   r e q u e s t n o n R e s o u r c e A t t r i b u t e s . v e r b   ( s t r i n g ) V e r b   i s   t h e   s t a n d a r d   H T T P   v e r b r e s o u r c e A t t r i b u t e s   ( R e s o u r c e A t t r i b u t e s ) R e s o u r c e A u t h o r i z a t i o n A t t r i b u t e s   d e s c r i b e s   i n f o r m a t i o n   f o r   a   r e s o u r c e   a c c e s s   r e q u e s t R e s o u r c e A t t r i b u t e s   i n c l u d e s   t h e   a u t h o r i z a t i o n   a t t r i b u t e s   a v a i l a b l e   f o r   r e s o u r c e   r e q u e s t s   t o   t h e   A u t h o r i z e r   i n t e r f a c e r e s o u r c e A t t r i b u t e s . f i e l d S e l e c t o r   ( F i e l d S e l e c t o r A t t r i b u t e s ) f i e l d S e l e c t o r   d e s c r i b e s   t h e   l i m i t a t i o n   o n   a c c e s s   b a s e d   o n   f i e l d .   I t   c a n   o n l y   l i m i t   a c c e s s ,   n o t   b r o a d e n   i t . * F i e l d S e l e c t o r A t t r i b u t e s   i n d i c a t e s   a   f i e l d   l i m i t e d   a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24681"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t h o r i z a t i o n . k 8 s . i o / v 1 / s e l f s u b j e c t a c c e s s r e v i e w s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24682"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   S e l f S u b j e c t A c c e s s R e v i e w ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   S e l f S u b j e c t A c c e s s R e v i e w ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24683"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e l f S u b j e c t A c c e s s R e v i e w ) :   O K   2 0 1   ( S e l f S u b j e c t A c c e s s R e v i e w ) :   C r e a t e d   2 0 2   ( S e l f S u b j e c t A c c e s s R e v i e w ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24684"
  },
  {
    "question": "What is 5.5.3 - SelfSubjectRulesReview?",
    "answer": "a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a u t h o r i z a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24685"
  },
  {
    "question": "What is SelfSubjectRulesReview?",
    "answer": "S e l f S u b j e c t R u l e s R e v i e w   e n u m e r a t e s   t h e   s e t   o f   a c t i o n s   t h e   c u r r e n t   u s e r   c a n   p e r f o r m   w i t h i n   a   n a m e s p a c e .   T h e   r e t u r n e d   l i s t   o f   a c t i o n s   m a y   b e   i n c o m p l e t e   d e p e n d i n g   o n   t h e   s e r v e r ' s   a u t h o r i z a t i o n   m o d e ,   a n d   a n y   e r r o r s   e x p e r i e n c e d   d u r i n g   t h e   e v a l u a t i o n .   S e l f S u b j e c t R u l e s R e v i e w   s h o u l d   b e   u s e d   b y   U I s   t o   s h o w / h i d e   a c t i o n s ,   o r   t o   q u i c k l y   l e t   a n   e n d   u s e r   r e a s o n   a b o u t   t h e i r   p e r m i s s i o n s .   I t   s h o u l d   N O T   B e   u s e d   b y   e x t e r n a l   s y s t e m s   t o   d r i v e   a u t h o r i z a t i o n   d e c i s i o n s   a s   t h i s   r a i s e s   c o n f u s e d   d e p u t y ,   c a c h e   l i f e t i m e / r e v o c a t i o n ,   a n d   c o r r e c t n e s s   c o n c e r n s .   S u b j e c t A c c e s s R e v i e w ,   a n d   L o c a l A c c e s s R e v i e w   a r e   t h e   c o r r e c t   w a y   t o   d e f e r   a u t h o r i z a t i o n   d e c i s i o n s   t o   t h e   A P I   s e r v e r .   a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   S e l f S u b j e c t R u l e s R e v i e w m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( S e l f S u b j e c t R u l e s R e v i e w S p e c ) ,   r e q u i r e d S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d . s t a t u s   ( S u b j e c t R u l e s R e v i e w S t a t u s ) S t a t u s   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24686"
  },
  {
    "question": "What is SelfSubjectRulesReviewSpec?",
    "answer": "S e l f S u b j e c t R u l e s R e v i e w S p e c   d e f i n e s   t h e   s p e c i f i c a t i o n   f o r   S e l f S u b j e c t R u l e s R e v i e w .   n a m e s p a c e   ( s t r i n g ) N a m e s p a c e   t o   e v a l u a t e   r u l e s   f o r .   R e q u i r e d .   n a m e s p a c e   ( s t r i n g )   N a m e s p a c e   t o   e v a l u a t e   r u l e s   f o r .   R e q u i r e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24687"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t h o r i z a t i o n . k 8 s . i o / v 1 / s e l f s u b j e c t r u l e s r e v i e w s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24688"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   S e l f S u b j e c t R u l e s R e v i e w ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   S e l f S u b j e c t R u l e s R e v i e w ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24689"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e l f S u b j e c t R u l e s R e v i e w ) :   O K   2 0 1   ( S e l f S u b j e c t R u l e s R e v i e w ) :   C r e a t e d   2 0 2   ( S e l f S u b j e c t R u l e s R e v i e w ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24690"
  },
  {
    "question": "What is 5.5.4 - SubjectAccessReview?",
    "answer": "a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a u t h o r i z a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24691"
  },
  {
    "question": "What is SubjectAccessReview?",
    "answer": "S u b j e c t A c c e s s R e v i e w   c h e c k s   w h e t h e r   o r   n o t   a   u s e r   o r   g r o u p   c a n   p e r f o r m   a n   a c t i o n .   a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   S u b j e c t A c c e s s R e v i e w m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( S u b j e c t A c c e s s R e v i e w S p e c ) ,   r e q u i r e d S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d s t a t u s   ( S u b j e c t A c c e s s R e v i e w S t a t u s ) S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   a n d   i n d i c a t e s   w h e t h e r   t h e   r e q u e s t   i s   a l l o w e d   o r   n o t   a p i V e r s i o n :   a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   S u b j e c t A c c e s s R e v i e w   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( S u b j e c t A c c e s s R e v i e w S p e c ) ,   r e q u i r e d   S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   r e q u e s t   b e i n g   e v a l u a t e d   s t a t u s   ( S u b j e c t A c c e s s R e v i e w S t a t u s )   S t a t u s   i s   f i l l e d   i n   b y   t h e   s e r v e r   a n d   i n d i c a t e s   w h e t h e r   t h e   r e q u e s t   i s   a l l o w e d   o r   n o t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24692"
  },
  {
    "question": "What is SubjectAccessReviewSpec?",
    "answer": "S u b j e c t A c c e s s R e v i e w S p e c   i s   a   d e s c r i p t i o n   o f   t h e   a c c e s s   r e q u e s t .   E x a c t l y   o n e   o f   R e s o u r c e A u t h o r i z a t i o n A t t r i b u t e s   a n d   N o n R e s o u r c e A u t h o r i z a t i o n A t t r i b u t e s   m u s t   b e   s e t   e x t r a   ( m a p [ s t r i n g ] [ ] s t r i n g ) E x t r a   c o r r e s p o n d s   t o   t h e   u s e r . I n f o . G e t E x t r a ( )   m e t h o d   f r o m   t h e   a u t h e n t i c a t o r .   S i n c e   t h a t   i s   i n p u t   t o   t h e   a u t h o r i z e r   i t   n e e d s   a   r e f l e c t i o n   h e r e . g r o u p s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e G r o u p s   i s   t h e   g r o u p s   y o u ' r e   t e s t i n g   f o r . n o n R e s o u r c e A t t r i b u t e s   ( N o n R e s o u r c e A t t r i b u t e s ) N o n R e s o u r c e A t t r i b u t e s   d e s c r i b e s   i n f o r m a t i o n   f o r   a   n o n - r e s o u r c e   a c c e s s   r e q u e s t N o n R e s o u r c e A t t r i b u t e s   i n c l u d e s   t h e   a u t h o r i z a t i o n   a t t r i b u t e s   a v a i l a b l e   f o r   n o n - r e s o u r c e   r e q u e s t s   t o   t h e   A u t h o r i z e r   i n t e r f a c e n o n R e s o u r c e A t t r i b u t e s . p a t h   ( s t r i n g ) P a t h   i s   t h e   U R L   p a t h   o f   t h e   r e q u e s t n o n R e s o u r c e A t t r i b u t e s . v e r b   ( s t r i n g ) V e r b   i s   t h e   s t a n d a r d   H T T P   v e r b r e s o u r c e A t t r i b u t e s   ( R e s o u r c e A t t r i b u t e s ) R e s o u r c e A u t h o r i z a t i o n A t t r i b u t e s   d e s c r i b e s   i n f o r m a t i o n   f o r   a   r e s o u r c e   a c c e s s   r e q u e s t R e s o u r c e A t t r i b u t e s   i n c l u d e s   t h e   a u t h o r i z a t i o n   a t t r i b u t e s   a v a i l a b l e   f o r   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24693"
  },
  {
    "question": "What is SubjectAccessReviewStatus?",
    "answer": "S u b j e c t A c c e s s R e v i e w S t a t u s   a l l o w e d   ( b o o l e a n ) ,   r e q u i r e d A l l o w e d   i s   r e q u i r e d .   T r u e   i f   t h e   a c t i o n   w o u l d   b e   a l l o w e d ,   f a l s e   o t h e r w i s e . d e n i e d   ( b o o l e a n ) D e n i e d   i s   o p t i o n a l .   T r u e   i f   t h e   a c t i o n   w o u l d   b e   d e n i e d ,   o t h e r w i s e   f a l s e .   I f   b o t h   a l l o w e d   i s   f a l s e   a n d   d e n i e d   i s   f a l s e ,   t h e n   t h e   a u t h o r i z e r   h a s   n o   o p i n i o n   o n   w h e t h e r   t o   a u t h o r i z e   t h e   a c t i o n .   D e n i e d   m a y   n o t   b e   t r u e   i f   A l l o w e d   i s   t r u e . e v a l u a t i o n E r r o r   ( s t r i n g ) E v a l u a t i o n E r r o r   i s   a n   i n d i c a t i o n   t h a t   s o m e   e r r o r   o c c u r r e d   d u r i n g   t h e   a u t h o r i z a t i o n   c h e c k .   I t   i s   e n t i r e l y   p o s s i b l e   t o   g e t   a n   e r r o r   a n d   b e   a b l e   t o   c o n t i n u e   d e t e r m i n e   a u t h o r i z a t i o n   s t a t u s   i n   s p i t e   o f   i t .   F o r   i n s t a n c e ,   R B A C   c a n   b e   m i s s i n g   a   r o l e ,   b u t   e n o u g h   r o l e s   a r e   s t i l l   p r e s e n t   a n d   b o u n d   t o   r e a s o n   a b o u t   t h e   r e q u e s t . r e a s o n   ( s t r i n g ) R e a s o n   i s   o p t i o n a l .   I t   i n d i c a t e s   w h y   a   r e q u e s t   w a s   a l l o w e d   o r   d e n i e d .   a l l o w e d   ( b o o l e a n ) ,   r e q u i r e d   A l l o w e d   i s   r e q u i r e d .   T r u e   i f   t h e   a c t i o n   w o u l d   b e   a l l o w e d ,   f a l s e   o t h e r w i s e .   d e n i e d   ( b o o l e a n )   D e n i e d   i s   o p t i o n a l .   T r u e   i f   t h e   a c t i o n   w o u l d   b e   d e n i e d ,   o t h e r w i s e   f a l s e .   I f   b o t h ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24694"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t h o r i z a t i o n . k 8 s . i o / v 1 / s u b j e c t a c c e s s r e v i e w s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24695"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   S u b j e c t A c c e s s R e v i e w ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   S u b j e c t A c c e s s R e v i e w ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24696"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S u b j e c t A c c e s s R e v i e w ) :   O K   2 0 1   ( S u b j e c t A c c e s s R e v i e w ) :   C r e a t e d   2 0 2   ( S u b j e c t A c c e s s R e v i e w ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24697"
  },
  {
    "question": "What is 5.5.5 - ClusterRole?",
    "answer": "a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / r b a c / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24698"
  },
  {
    "question": "What is ClusterRole?",
    "answer": "C l u s t e r R o l e   i s   a   c l u s t e r   l e v e l ,   l o g i c a l   g r o u p i n g   o f   P o l i c y R u l e s   t h a t   c a n   b e   r e f e r e n c e d   a s   a   u n i t   b y   a   R o l e B i n d i n g   o r   C l u s t e r R o l e B i n d i n g .   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   C l u s t e r R o l e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . a g g r e g a t i o n R u l e   ( A g g r e g a t i o n R u l e ) A g g r e g a t i o n R u l e   i s   a n   o p t i o n a l   f i e l d   t h a t   d e s c r i b e s   h o w   t o   b u i l d   t h e   R u l e s   f o r   t h i s   C l u s t e r R o l e .   I f   A g g r e g a t i o n R u l e   i s   s e t ,   t h e n   t h e   R u l e s   a r e   c o n t r o l l e r   m a n a g e d   a n d   d i r e c t   c h a n g e s   t o   R u l e s   w i l l   b e   s t o m p e d   b y   t h e   c o n t r o l l e r . A g g r e g a t i o n R u l e   d e s c r i b e s   h o w   t o   l o c a t e   C l u s t e r R o l e s   t o   a g g r e g a t e   i n t o   t h e   C l u s t e r R o l e a g g r e g a t i o n R u l e . c l u s t e r R o l e S e l e c t o r s   ( [ ] L a b e l S e l e c t o r ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e C l u s t e r R o l e S e l e c t o r s   h o l d s   a   l i s t   o f   s e l e c t o r s   w h i c h   w i l l   b e   u s e d   t o   f i n d   C l u s t e r R o l e s   a n d   c r e a t e   t h e   r u l e s .   I f   a n y   o f   t h e   s e l e c t o r s   m a t c h ,   t h e n   t h e   C l u s t e r R o l e ' s   p e r m i s s i o n s   w i l l   b e   a d d e d r u l e s   ( [ ] P o l i c y R u l e ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e R u l e s   h o l d s   a l l   t h e   P o l i c y R u l e s   f o r   t h i s   C l u s t e r R o l e P o l i c y R u l e   h o l d s   i n f o r m ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24699"
  },
  {
    "question": "What is ClusterRoleList?",
    "answer": "C l u s t e r R o l e L i s t   i s   a   c o l l e c t i o n   o f   C l u s t e r R o l e s   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   C l u s t e r R o l e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . i t e m s   ( [ ] C l u s t e r R o l e ) ,   r e q u i r e d I t e m s   i s   a   l i s t   o f   C l u s t e r R o l e s   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   i t e m s   ( [ ] C l u s t e r R o l e ) ,   r e q u i r e d   I t e m s   i s   a   l i s t   o f   C l u s t e r R o l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24700"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24701"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r R o l e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r R o l e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24702"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24703"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24704"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24705"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24706"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24707"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   C l u s t e r R o l e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   C l u s t e r R o l e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24708"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e ) :   O K   2 0 1   ( C l u s t e r R o l e ) :   C r e a t e d   2 0 2   ( C l u s t e r R o l e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24709"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24710"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r R o l e b o d y :   C l u s t e r R o l e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r R o l e   b o d y :   C l u s t e r R o l e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24711"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e ) :   O K   2 0 1   ( C l u s t e r R o l e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24712"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24713"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r R o l e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r R o l e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24714"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e ) :   O K   2 0 1   ( C l u s t e r R o l e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24715"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24716"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r R o l e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r R o l e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24717"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24718"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24719"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24720"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24721"
  },
  {
    "question": "What is 5.5.6 - ClusterRoleBinding?",
    "answer": "a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / r b a c / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24722"
  },
  {
    "question": "What is ClusterRoleBinding?",
    "answer": "C l u s t e r R o l e B i n d i n g   r e f e r e n c e s   a   C l u s t e r R o l e ,   b u t   n o t   c o n t a i n   i t .   I t   c a n   r e f e r e n c e   a   C l u s t e r R o l e   i n   t h e   g l o b a l   n a m e s p a c e ,   a n d   a d d s   w h o   i n f o r m a t i o n   v i a   S u b j e c t .   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   C l u s t e r R o l e B i n d i n g m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . r o l e R e f   ( R o l e R e f ) ,   r e q u i r e d R o l e R e f   c a n   o n l y   r e f e r e n c e   a   C l u s t e r R o l e   i n   t h e   g l o b a l   n a m e s p a c e .   I f   t h e   R o l e R e f   c a n n o t   b e   r e s o l v e d ,   t h e   A u t h o r i z e r   m u s t   r e t u r n   a n   e r r o r .   T h i s   f i e l d   i s   i m m u t a b l e . R o l e R e f   c o n t a i n s   i n f o r m a t i o n   t h a t   p o i n t s   t o   t h e   r o l e   b e i n g   u s e d r o l e R e f . a p i G r o u p   ( s t r i n g ) ,   r e q u i r e d A P I G r o u p   i s   t h e   g r o u p   f o r   t h e   r e s o u r c e   b e i n g   r e f e r e n c e d r o l e R e f . k i n d   ( s t r i n g ) ,   r e q u i r e d K i n d   i s   t h e   t y p e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d r o l e R e f . n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   i s   t h e   n a m e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d s u b j e c t s   ( [ ] S u b j e c t ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e S u b j e c t s   h o l d s   r e f e r e n c e s   t o   t h e   o b j e c t s   t h e   r o l e   a p p l i e s   t o . S u b j e c t   c o n t a i n s   a   r e f e r e n c e   t o   t h e   o b j e c t   o r   u s e r   i d e n t i t i e s   a   r o l e   b i n d i n g   a p p l i e s   t o .   T h i s   c a n   e i t h e r   h o l d   a   d i r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24723"
  },
  {
    "question": "What is ClusterRoleBindingList?",
    "answer": "C l u s t e r R o l e B i n d i n g L i s t   i s   a   c o l l e c t i o n   o f   C l u s t e r R o l e B i n d i n g s   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   C l u s t e r R o l e B i n d i n g L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . i t e m s   ( [ ] C l u s t e r R o l e B i n d i n g ) ,   r e q u i r e d I t e m s   i s   a   l i s t   o f   C l u s t e r R o l e B i n d i n g s   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   C l u s t e r R o l e B i n d i n g L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   i t e m s   ( [ ] C l u s t e r R o l e B i n d i n g ) ,   r e q u i r e d   I t e m s   i s   a   l i s t   o f   C l u s t e r R o l e B i n d i n g s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24724"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24725"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r R o l e B i n d i n g p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r R o l e B i n d i n g   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24726"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e B i n d i n g ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24727"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24728"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24729"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e B i n d i n g L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24730"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24731"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   C l u s t e r R o l e B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   C l u s t e r R o l e B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24732"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e B i n d i n g ) :   O K   2 0 1   ( C l u s t e r R o l e B i n d i n g ) :   C r e a t e d   2 0 2   ( C l u s t e r R o l e B i n d i n g ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24733"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24734"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r R o l e B i n d i n g b o d y :   C l u s t e r R o l e B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r R o l e B i n d i n g   b o d y :   C l u s t e r R o l e B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24735"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e B i n d i n g ) :   O K   2 0 1   ( C l u s t e r R o l e B i n d i n g ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24736"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24737"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r R o l e B i n d i n g b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r R o l e B i n d i n g   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24738"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C l u s t e r R o l e B i n d i n g ) :   O K   2 0 1   ( C l u s t e r R o l e B i n d i n g ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24739"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24740"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C l u s t e r R o l e B i n d i n g b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C l u s t e r R o l e B i n d i n g   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24741"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24742"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24743"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24744"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24745"
  },
  {
    "question": "What is 5.5.7 - Role?",
    "answer": "a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / r b a c / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24746"
  },
  {
    "question": "What is Role?",
    "answer": "R o l e   i s   a   n a m e s p a c e d ,   l o g i c a l   g r o u p i n g   o f   P o l i c y R u l e s   t h a t   c a n   b e   r e f e r e n c e d   a s   a   u n i t   b y   a   R o l e B i n d i n g .   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   R o l e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . r u l e s   ( [ ] P o l i c y R u l e ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e R u l e s   h o l d s   a l l   t h e   P o l i c y R u l e s   f o r   t h i s   R o l e P o l i c y R u l e   h o l d s   i n f o r m a t i o n   t h a t   d e s c r i b e s   a   p o l i c y   r u l e ,   b u t   d o e s   n o t   c o n t a i n   i n f o r m a t i o n   a b o u t   w h o   t h e   r u l e   a p p l i e s   t o   o r   w h i c h   n a m e s p a c e   t h e   r u l e   a p p l i e s   t o . r u l e s . a p i G r o u p s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A P I G r o u p s   i s   t h e   n a m e   o f   t h e   A P I G r o u p   t h a t   c o n t a i n s   t h e   r e s o u r c e s .   I f   m u l t i p l e   A P I   g r o u p s   a r e   s p e c i f i e d ,   a n y   a c t i o n   r e q u e s t e d   a g a i n s t   o n e   o f   t h e   e n u m e r a t e d   r e s o u r c e s   i n   a n y   A P I   g r o u p   w i l l   b e   a l l o w e d .   \" \"   r e p r e s e n t s   t h e   c o r e   A P I   g r o u p   a n d   \" * \"   r e p r e s e n t s   a l l   A P I   g r o u p s . r u l e s . r e s o u r c e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e R e s o u r c e s   i s   a   l i s t   o f   r e s o u r c e s   t h i s   r u l e   a p p l i e s   t o .   ' * '   r e p r e s e n t s   a l l   r e s o u r c e s . r u l e s . v e r b s   ( [ ] s t r i n g ) ,   r e q u i r e d A t o m i c :   w i l l   b e   r e p ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24747"
  },
  {
    "question": "What is RoleList?",
    "answer": "R o l e L i s t   i s   a   c o l l e c t i o n   o f   R o l e s   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   R o l e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . i t e m s   ( [ ] R o l e ) ,   r e q u i r e d I t e m s   i s   a   l i s t   o f   R o l e s   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   R o l e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   i t e m s   ( [ ] R o l e ) ,   r e q u i r e d   I t e m s   i s   a   l i s t   o f   R o l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24748"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24749"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R o l e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R o l e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24750"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24751"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24752"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24753"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24754"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / r o l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24755"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24756"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24757"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24758"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R o l e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R o l e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24759"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e ) :   O K   2 0 1   ( R o l e ) :   C r e a t e d   2 0 2   ( R o l e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24760"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24761"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R o l e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R o l e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R o l e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R o l e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24762"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e ) :   O K   2 0 1   ( R o l e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24763"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24764"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R o l e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R o l e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24765"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e ) :   O K   2 0 1   ( R o l e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24766"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24767"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R o l e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R o l e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24768"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24769"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24770"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24771"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24772"
  },
  {
    "question": "What is 5.5.8 - RoleBinding?",
    "answer": "a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / r b a c / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24773"
  },
  {
    "question": "What is RoleBinding?",
    "answer": "R o l e B i n d i n g   r e f e r e n c e s   a   r o l e ,   b u t   d o e s   n o t   c o n t a i n   i t .   I t   c a n   r e f e r e n c e   a   R o l e   i n   t h e   s a m e   n a m e s p a c e   o r   a   C l u s t e r R o l e   i n   t h e   g l o b a l   n a m e s p a c e .   I t   a d d s   w h o   i n f o r m a t i o n   v i a   S u b j e c t s   a n d   n a m e s p a c e   i n f o r m a t i o n   b y   w h i c h   n a m e s p a c e   i t   e x i s t s   i n .   R o l e B i n d i n g s   i n   a   g i v e n   n a m e s p a c e   o n l y   h a v e   e f f e c t   i n   t h a t   n a m e s p a c e .   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   R o l e B i n d i n g m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . r o l e R e f   ( R o l e R e f ) ,   r e q u i r e d R o l e R e f   c a n   r e f e r e n c e   a   R o l e   i n   t h e   c u r r e n t   n a m e s p a c e   o r   a   C l u s t e r R o l e   i n   t h e   g l o b a l   n a m e s p a c e .   I f   t h e   R o l e R e f   c a n n o t   b e   r e s o l v e d ,   t h e   A u t h o r i z e r   m u s t   r e t u r n   a n   e r r o r .   T h i s   f i e l d   i s   i m m u t a b l e . R o l e R e f   c o n t a i n s   i n f o r m a t i o n   t h a t   p o i n t s   t o   t h e   r o l e   b e i n g   u s e d r o l e R e f . a p i G r o u p   ( s t r i n g ) ,   r e q u i r e d A P I G r o u p   i s   t h e   g r o u p   f o r   t h e   r e s o u r c e   b e i n g   r e f e r e n c e d r o l e R e f . k i n d   ( s t r i n g ) ,   r e q u i r e d K i n d   i s   t h e   t y p e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d r o l e R e f . n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   i s   t h e   n a m e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d s u b j e c t s   ( [ ] S u b j e c t ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e S u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24774"
  },
  {
    "question": "What is RoleBindingList?",
    "answer": "R o l e B i n d i n g L i s t   i s   a   c o l l e c t i o n   o f   R o l e B i n d i n g s   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 k i n d :   R o l e B i n d i n g L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a . i t e m s   ( [ ] R o l e B i n d i n g ) ,   r e q u i r e d I t e m s   i s   a   l i s t   o f   R o l e B i n d i n g s   a p i V e r s i o n :   r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1   k i n d :   R o l e B i n d i n g L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   i t e m s   ( [ ] R o l e B i n d i n g ) ,   r e q u i r e d   I t e m s   i s   a   l i s t   o f   R o l e B i n d i n g s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24775"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24776"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R o l e B i n d i n g n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R o l e B i n d i n g   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24777"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e B i n d i n g ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24778"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24779"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24780"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e B i n d i n g L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24781"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24782"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24783"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e B i n d i n g L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24784"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24785"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R o l e B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R o l e B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24786"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e B i n d i n g ) :   O K   2 0 1   ( R o l e B i n d i n g ) :   C r e a t e d   2 0 2   ( R o l e B i n d i n g ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24787"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24788"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R o l e B i n d i n g n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R o l e B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R o l e B i n d i n g   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R o l e B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24789"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e B i n d i n g ) :   O K   2 0 1   ( R o l e B i n d i n g ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24790"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24791"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R o l e B i n d i n g n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R o l e B i n d i n g   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24792"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R o l e B i n d i n g ) :   O K   2 0 1   ( R o l e B i n d i n g ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24793"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24794"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R o l e B i n d i n g n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R o l e B i n d i n g   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24795"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24796"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24797"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24798"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24799"
  },
  {
    "question": "What is 5.6.1 - FlowSchema?",
    "answer": "a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / f l o w c o n t r o l / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24800"
  },
  {
    "question": "What is FlowSchema?",
    "answer": "F l o w S c h e m a   d e f i n e s   t h e   s c h e m a   o f   a   g r o u p   o f   f l o w s .   N o t e   t h a t   a   f l o w   i s   m a d e   u p   o f   a   s e t   o f   i n b o u n d   A P I   r e q u e s t s   w i t h   s i m i l a r   a t t r i b u t e s   a n d   i s   i d e n t i f i e d   b y   a   p a i r   o f   s t r i n g s :   t h e   n a m e   o f   t h e   F l o w S c h e m a   a n d   a   \" f l o w   d i s t i n g u i s h e r \" .   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 k i n d :   F l o w S c h e m a m e t a d a t a   ( O b j e c t M e t a ) m e t a d a t a   i s   t h e   s t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( F l o w S c h e m a S p e c ) s p e c   i s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   a   F l o w S c h e m a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( F l o w S c h e m a S t a t u s ) s t a t u s   i s   t h e   c u r r e n t   s t a t u s   o f   a   F l o w S c h e m a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   k i n d :   F l o w S c h e m a   m e t a d a t a   ( O b j e c t M e t a )   m e t a d a t a   i s   t h e   s t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24801"
  },
  {
    "question": "What is FlowSchemaSpec?",
    "answer": "F l o w S c h e m a S p e c   d e s c r i b e s   h o w   t h e   F l o w S c h e m a ' s   s p e c i f i c a t i o n   l o o k s   l i k e .   d i s t i n g u i s h e r M e t h o d   ( F l o w D i s t i n g u i s h e r M e t h o d ) d i s t i n g u i s h e r M e t h o d   d e f i n e s   h o w   t o   c o m p u t e   t h e   f l o w   d i s t i n g u i s h e r   f o r   r e q u e s t s   t h a t   m a t c h   t h i s   s c h e m a .   n i l   s p e c i f i e s   t h a t   t h e   d i s t i n g u i s h e r   i s   d i s a b l e d   a n d   t h u s   w i l l   a l w a y s   b e   t h e   e m p t y   s t r i n g . F l o w D i s t i n g u i s h e r M e t h o d   s p e c i f i e s   t h e   m e t h o d   o f   a   f l o w   d i s t i n g u i s h e r . d i s t i n g u i s h e r M e t h o d . t y p e   ( s t r i n g ) ,   r e q u i r e d t y p e   i s   t h e   t y p e   o f   f l o w   d i s t i n g u i s h e r   m e t h o d   T h e   s u p p o r t e d   t y p e s   a r e   \" B y U s e r \"   a n d   \" B y N a m e s p a c e \" .   R e q u i r e d . m a t c h i n g P r e c e d e n c e   ( i n t 3 2 ) m a t c h i n g P r e c e d e n c e   i s   u s e d   t o   c h o o s e   a m o n g   t h e   F l o w S c h e m a s   t h a t   m a t c h   a   g i v e n   r e q u e s t .   T h e   c h o s e n   F l o w S c h e m a   i s   a m o n g   t h o s e   w i t h   t h e   n u m e r i c a l l y   l o w e s t   ( w h i c h   w e   t a k e   t o   b e   l o g i c a l l y   h i g h e s t )   M a t c h i n g P r e c e d e n c e .   E a c h   M a t c h i n g P r e c e d e n c e   v a l u e   m u s t   b e   r a n g e d   i n   [ 1 , 1 0 0 0 0 ] .   N o t e   t h a t   i f   t h e   p r e c e d e n c e   i s   n o t   s p e c i f i e d ,   i t   w i l l   b e   s e t   t o   1 0 0 0   a s   d e f a u l t . p r i o r i t y L e v e l C o n f i g u r a t i o n   ( P r i o r i t y L e v e l C o n f i g u r a t i o n R e f e r e n c e ) ,   r e q u i r e d p r i o r i t y L e v e l C o n f i g u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24802"
  },
  {
    "question": "What is FlowSchemaStatus?",
    "answer": "F l o w S c h e m a S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t e   o f   a   F l o w S c h e m a .   c o n d i t i o n s   ( [ ] F l o w S c h e m a C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e c o n d i t i o n s   i s   a   l i s t   o f   t h e   c u r r e n t   s t a t e s   o f   F l o w S c h e m a . F l o w S c h e m a C o n d i t i o n   d e s c r i b e s   c o n d i t i o n s   f o r   a   F l o w S c h e m a . c o n d i t i o n s . l a s t T r a n s i t i o n T i m e   ( T i m e ) l a s t T r a n s i t i o n T i m e   i s   t h e   l a s t   t i m e   t h e   c o n d i t i o n   t r a n s i t i o n e d   f r o m   o n e   s t a t u s   t o   a n o t h e r . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c o n d i t i o n s . m e s s a g e   ( s t r i n g ) m e s s a g e   i s   a   h u m a n - r e a d a b l e   m e s s a g e   i n d i c a t i n g   d e t a i l s   a b o u t   l a s t   t r a n s i t i o n . c o n d i t i o n s . r e a s o n   ( s t r i n g ) r e a s o n   i s   a   u n i q u e ,   o n e - w o r d ,   C a m e l C a s e   r e a s o n   f o r   t h e   c o n d i t i o n ' s   l a s t   t r a n s i t i o n . c o n d i t i o n s . s t a t u s   ( s t r i n g ) s t a t u s   i s   t h e   s t a t u s   o f   t h e   c o n d i t i o n .   C a n   b e   T r u e ,   F a l s e ,   U n k n o w n .   R e q u i r e d . c o n d i t i o n s . t y p e   ( s t r i n g ) t y p e   i s   t h e   t y p e   o f   t h e   c o n d i t i o n .   R e q u i r e d .   c o n d i t i o n s   ( [ ] F l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24803"
  },
  {
    "question": "What is FlowSchemaList?",
    "answer": "F l o w S c h e m a L i s t   i s   a   l i s t   o f   F l o w S c h e m a   o b j e c t s .   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 k i n d :   F l o w S c h e m a L i s t m e t a d a t a   ( L i s t M e t a ) m e t a d a t a   i s   t h e   s t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] F l o w S c h e m a ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   F l o w S c h e m a s .   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   k i n d :   F l o w S c h e m a L i s t   m e t a d a t a   ( L i s t M e t a )   m e t a d a t a   i s   t h e   s t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] F l o w S c h e m a ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   F l o w S c h e m a s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24804"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24805"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   F l o w S c h e m a p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   F l o w S c h e m a   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24806"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( F l o w S c h e m a ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24807"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24808"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   F l o w S c h e m a p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   F l o w S c h e m a   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24809"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( F l o w S c h e m a ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24810"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24811"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24812"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( F l o w S c h e m a L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24813"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24814"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   F l o w S c h e m a ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   F l o w S c h e m a ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24815"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( F l o w S c h e m a ) :   O K   2 0 1   ( F l o w S c h e m a ) :   C r e a t e d   2 0 2   ( F l o w S c h e m a ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24816"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24817"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   F l o w S c h e m a b o d y :   F l o w S c h e m a ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   F l o w S c h e m a   b o d y :   F l o w S c h e m a ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24818"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( F l o w S c h e m a ) :   O K   2 0 1   ( F l o w S c h e m a ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24819"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24820"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   F l o w S c h e m a b o d y :   F l o w S c h e m a ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   F l o w S c h e m a   b o d y :   F l o w S c h e m a ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24821"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( F l o w S c h e m a ) :   O K   2 0 1   ( F l o w S c h e m a ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24822"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24823"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   F l o w S c h e m a b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   F l o w S c h e m a   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24824"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( F l o w S c h e m a ) :   O K   2 0 1   ( F l o w S c h e m a ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24825"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24826"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   F l o w S c h e m a b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   F l o w S c h e m a   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24827"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( F l o w S c h e m a ) :   O K   2 0 1   ( F l o w S c h e m a ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24828"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24829"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   F l o w S c h e m a b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   F l o w S c h e m a   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24830"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24831"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24832"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24833"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24834"
  },
  {
    "question": "What is 5.6.2 - LimitRange?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24835"
  },
  {
    "question": "What is LimitRange?",
    "answer": "L i m i t R a n g e   s e t s   r e s o u r c e   u s a g e   l i m i t s   f o r   e a c h   k i n d   o f   r e s o u r c e   i n   a   N a m e s p a c e .   a p i V e r s i o n :   v 1 k i n d :   L i m i t R a n g e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( L i m i t R a n g e S p e c ) S p e c   d e f i n e s   t h e   l i m i t s   e n f o r c e d .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   v 1   k i n d :   L i m i t R a n g e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( L i m i t R a n g e S p e c )   S p e c   d e f i n e s   t h e   l i m i t s   e n f o r c e d .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24836"
  },
  {
    "question": "What is LimitRangeSpec?",
    "answer": "L i m i t R a n g e S p e c   d e f i n e s   a   m i n / m a x   u s a g e   l i m i t   f o r   r e s o u r c e s   t h a t   m a t c h   o n   k i n d .   l i m i t s   ( [ ] L i m i t R a n g e I t e m ) ,   r e q u i r e d A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e L i m i t s   i s   t h e   l i s t   o f   L i m i t R a n g e I t e m   o b j e c t s   t h a t   a r e   e n f o r c e d . L i m i t R a n g e I t e m   d e f i n e s   a   m i n / m a x   u s a g e   l i m i t   f o r   a n y   r e s o u r c e   t h a t   m a t c h e s   o n   k i n d . l i m i t s . t y p e   ( s t r i n g ) ,   r e q u i r e d T y p e   o f   r e s o u r c e   t h a t   t h i s   l i m i t   a p p l i e s   t o . l i m i t s . d e f a u l t   ( m a p [ s t r i n g ] Q u a n t i t y ) D e f a u l t   r e s o u r c e   r e q u i r e m e n t   l i m i t   v a l u e   b y   r e s o u r c e   n a m e   i f   r e s o u r c e   l i m i t   i s   o m i t t e d . l i m i t s . d e f a u l t R e q u e s t   ( m a p [ s t r i n g ] Q u a n t i t y ) D e f a u l t R e q u e s t   i s   t h e   d e f a u l t   r e s o u r c e   r e q u i r e m e n t   r e q u e s t   v a l u e   b y   r e s o u r c e   n a m e   i f   r e s o u r c e   r e q u e s t   i s   o m i t t e d . l i m i t s . m a x   ( m a p [ s t r i n g ] Q u a n t i t y ) M a x   u s a g e   c o n s t r a i n t s   o n   t h i s   k i n d   b y   r e s o u r c e   n a m e . l i m i t s . m a x L i m i t R e q u e s t R a t i o   ( m a p [ s t r i n g ] Q u a n t i t y ) M a x L i m i t R e q u e s t R a t i o   i f   s p e c i f i e d ,   t h e   n a m e d   r e s o u r c e   m u s t   h a v e   a   r e q u e s t   a n d   l i m i t   t h a t   a r e   b o t h   n o n - z e r o   w h e r e   l i m i t   d i v i d e d   b y   r e q u e s t   i s   l e s s   t h a n   o r   e q u a l   t o   t h e   e n u m e r a t e d   v a l u e ;   t h i s   r e p r e s e n t s   t h e   m a x   b u r s t   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24837"
  },
  {
    "question": "What is LimitRangeList?",
    "answer": "L i m i t R a n g e L i s t   i s   a   l i s t   o f   L i m i t R a n g e   i t e m s .   a p i V e r s i o n :   v 1 k i n d :   L i m i t R a n g e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] L i m i t R a n g e ) ,   r e q u i r e d I t e m s   i s   a   l i s t   o f   L i m i t R a n g e   o b j e c t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n f i g u r a t i o n / m a n a g e - r e s o u r c e s - c o n t a i n e r s /   a p i V e r s i o n :   v 1   k i n d :   L i m i t R a n g e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] L i m i t R a n g e ) ,   r e q u i r e d   I t e m s   i s   a   l i s t   o f   L i m i t R a n g e   o b j e c t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n f i g u r a t i o n / m a n a g e - r e s o u r c e s - c o n t a i n e r s /",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24838"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24839"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L i m i t R a n g e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L i m i t R a n g e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24840"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L i m i t R a n g e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24841"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24842"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24843"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L i m i t R a n g e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24844"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / l i m i t r a n g e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24845"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24846"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L i m i t R a n g e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24847"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24848"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   L i m i t R a n g e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   L i m i t R a n g e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24849"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L i m i t R a n g e ) :   O K   2 0 1   ( L i m i t R a n g e ) :   C r e a t e d   2 0 2   ( L i m i t R a n g e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24850"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24851"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L i m i t R a n g e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   L i m i t R a n g e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L i m i t R a n g e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   L i m i t R a n g e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24852"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L i m i t R a n g e ) :   O K   2 0 1   ( L i m i t R a n g e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24853"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24854"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L i m i t R a n g e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L i m i t R a n g e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24855"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L i m i t R a n g e ) :   O K   2 0 1   ( L i m i t R a n g e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24856"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24857"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L i m i t R a n g e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L i m i t R a n g e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24858"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24859"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24860"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24861"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24862"
  },
  {
    "question": "What is 5.6.3 - ResourceQuota?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24863"
  },
  {
    "question": "What is ResourceQuota?",
    "answer": "R e s o u r c e Q u o t a   s e t s   a g g r e g a t e   q u o t a   r e s t r i c t i o n s   e n f o r c e d   p e r   n a m e s p a c e   a p i V e r s i o n :   v 1 k i n d :   R e s o u r c e Q u o t a m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( R e s o u r c e Q u o t a S p e c ) S p e c   d e f i n e s   t h e   d e s i r e d   q u o t a .   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( R e s o u r c e Q u o t a S t a t u s ) S t a t u s   d e f i n e s   t h e   a c t u a l   e n f o r c e d   q u o t a   a n d   i t s   c u r r e n t   u s a g e .   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( R e s o u r c e Q u o t a S p e c )   S p e c   d e f i n e s   t h e   d e s i r e d   q u o t a .   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   s t a t u s   ( R e s o u r c e Q u o t a S t a t u s )   S t a t u s   d e f i n e s   t h e   a c t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24864"
  },
  {
    "question": "What is ResourceQuotaSpec?",
    "answer": "R e s o u r c e Q u o t a S p e c   d e f i n e s   t h e   d e s i r e d   h a r d   l i m i t s   t o   e n f o r c e   f o r   Q u o t a .   h a r d   ( m a p [ s t r i n g ] Q u a n t i t y ) h a r d   i s   t h e   s e t   o f   d e s i r e d   h a r d   l i m i t s   f o r   e a c h   n a m e d   r e s o u r c e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / p o l i c y / r e s o u r c e - q u o t a s / s c o p e S e l e c t o r   ( S c o p e S e l e c t o r ) s c o p e S e l e c t o r   i s   a l s o   a   c o l l e c t i o n   o f   f i l t e r s   l i k e   s c o p e s   t h a t   m u s t   m a t c h   e a c h   o b j e c t   t r a c k e d   b y   a   q u o t a   b u t   e x p r e s s e d   u s i n g   S c o p e S e l e c t o r O p e r a t o r   i n   c o m b i n a t i o n   w i t h   p o s s i b l e   v a l u e s .   F o r   a   r e s o u r c e   t o   m a t c h ,   b o t h   s c o p e s   A N D   s c o p e S e l e c t o r   ( i f   s p e c i f i e d   i n   s p e c ) ,   m u s t   b e   m a t c h e d . A   s c o p e   s e l e c t o r   r e p r e s e n t s   t h e   A N D   o f   t h e   s e l e c t o r s   r e p r e s e n t e d   b y   t h e   s c o p e d - r e s o u r c e   s e l e c t o r   r e q u i r e m e n t s . s c o p e S e l e c t o r . m a t c h E x p r e s s i o n s   ( [ ] S c o p e d R e s o u r c e S e l e c t o r R e q u i r e m e n t ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A   l i s t   o f   s c o p e   s e l e c t o r   r e q u i r e m e n t s   b y   s c o p e   o f   t h e   r e s o u r c e s . A   s c o p e d - r e s o u r c e   s e l e c t o r   r e q u i r e m e n t   i s   a   s e l e c t o r   t h a t   c o n t a i n s   v a l u e s ,   a   s c o p e   n a m e ,   a n d   a n   o p e r a t o r   t h a t   r e l a t e s   t h e   s c o p e   n a m e   a n d   v a l u e s . s c o p e S e l e c t o r . m a t c h E x p r e s s i o n s . o p e r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24865"
  },
  {
    "question": "What is ResourceQuotaStatus?",
    "answer": "R e s o u r c e Q u o t a S t a t u s   d e f i n e s   t h e   e n f o r c e d   h a r d   l i m i t s   a n d   o b s e r v e d   u s e .   h a r d   ( m a p [ s t r i n g ] Q u a n t i t y ) H a r d   i s   t h e   s e t   o f   e n f o r c e d   h a r d   l i m i t s   f o r   e a c h   n a m e d   r e s o u r c e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / p o l i c y / r e s o u r c e - q u o t a s / u s e d   ( m a p [ s t r i n g ] Q u a n t i t y ) U s e d   i s   t h e   c u r r e n t   o b s e r v e d   t o t a l   u s a g e   o f   t h e   r e s o u r c e   i n   t h e   n a m e s p a c e .   h a r d   ( m a p [ s t r i n g ] Q u a n t i t y )   H a r d   i s   t h e   s e t   o f   e n f o r c e d   h a r d   l i m i t s   f o r   e a c h   n a m e d   r e s o u r c e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / p o l i c y / r e s o u r c e - q u o t a s /   u s e d   ( m a p [ s t r i n g ] Q u a n t i t y )   U s e d   i s   t h e   c u r r e n t   o b s e r v e d   t o t a l   u s a g e   o f   t h e   r e s o u r c e   i n   t h e   n a m e s p a c e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24866"
  },
  {
    "question": "What is ResourceQuotaList?",
    "answer": "R e s o u r c e Q u o t a L i s t   i s   a   l i s t   o f   R e s o u r c e Q u o t a   i t e m s .   a p i V e r s i o n :   v 1 k i n d :   R e s o u r c e Q u o t a L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] R e s o u r c e Q u o t a ) ,   r e q u i r e d I t e m s   i s   a   l i s t   o f   R e s o u r c e Q u o t a   o b j e c t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / p o l i c y / r e s o u r c e - q u o t a s /   a p i V e r s i o n :   v 1   k i n d :   R e s o u r c e Q u o t a L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] R e s o u r c e Q u o t a ) ,   r e q u i r e d   I t e m s   i s   a   l i s t   o f   R e s o u r c e Q u o t a   o b j e c t s .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / p o l i c y / r e s o u r c e - q u o t a s /",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24867"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24868"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e Q u o t a n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e Q u o t a   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24869"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24870"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24871"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e Q u o t a n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e Q u o t a   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24872"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24873"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24874"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24875"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24876"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / r e s o u r c e q u o t a s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24877"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24878"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24879"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24880"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e s o u r c e Q u o t a ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e s o u r c e Q u o t a ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24881"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a ) :   O K   2 0 1   ( R e s o u r c e Q u o t a ) :   C r e a t e d   2 0 2   ( R e s o u r c e Q u o t a ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24882"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24883"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e Q u o t a n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e s o u r c e Q u o t a ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e Q u o t a   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e s o u r c e Q u o t a ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24884"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a ) :   O K   2 0 1   ( R e s o u r c e Q u o t a ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24885"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24886"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e Q u o t a n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   R e s o u r c e Q u o t a ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e Q u o t a   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   R e s o u r c e Q u o t a ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24887"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a ) :   O K   2 0 1   ( R e s o u r c e Q u o t a ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24888"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24889"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e Q u o t a n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e Q u o t a   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24890"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a ) :   O K   2 0 1   ( R e s o u r c e Q u o t a ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24891"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24892"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e Q u o t a n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e Q u o t a   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24893"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a ) :   O K   2 0 1   ( R e s o u r c e Q u o t a ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24894"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24895"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R e s o u r c e Q u o t a n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R e s o u r c e Q u o t a   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24896"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R e s o u r c e Q u o t a ) :   O K   2 0 2   ( R e s o u r c e Q u o t a ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24897"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24898"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24899"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24900"
  },
  {
    "question": "What is 5.6.4 - NetworkPolicy?",
    "answer": "a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / n e t w o r k i n g / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24901"
  },
  {
    "question": "What is NetworkPolicy?",
    "answer": "N e t w o r k P o l i c y   d e s c r i b e s   w h a t   n e t w o r k   t r a f f i c   i s   a l l o w e d   f o r   a   s e t   o f   P o d s   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   N e t w o r k P o l i c y m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( N e t w o r k P o l i c y S p e c ) s p e c   r e p r e s e n t s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   f o r   t h i s   N e t w o r k P o l i c y .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( N e t w o r k P o l i c y S p e c )   s p e c   r e p r e s e n t s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   f o r   t h i s   N e t w o r k P o l i c y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24902"
  },
  {
    "question": "What is NetworkPolicySpec?",
    "answer": "N e t w o r k P o l i c y S p e c   p r o v i d e s   t h e   s p e c i f i c a t i o n   o f   a   N e t w o r k P o l i c y   p o d S e l e c t o r   ( L a b e l S e l e c t o r ) p o d S e l e c t o r   s e l e c t s   t h e   p o d s   t o   w h i c h   t h i s   N e t w o r k P o l i c y   o b j e c t   a p p l i e s .   T h e   a r r a y   o f   r u l e s   i s   a p p l i e d   t o   a n y   p o d s   s e l e c t e d   b y   t h i s   f i e l d .   A n   e m p t y   s e l e c t o r   m a t c h e s   a l l   p o d s   i n   t h e   p o l i c y ' s   n a m e s p a c e .   M u l t i p l e   n e t w o r k   p o l i c i e s   c a n   s e l e c t   t h e   s a m e   s e t   o f   p o d s .   I n   t h i s   c a s e ,   t h e   i n g r e s s   r u l e s   f o r   e a c h   a r e   c o m b i n e d   a d d i t i v e l y .   T h i s   f i e l d   i s   o p t i o n a l .   I f   i t   i s   n o t   s p e c i f i e d ,   i t   d e f a u l t s   t o   a n   e m p t y   s e l e c t o r . p o l i c y T y p e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e p o l i c y T y p e s   i s   a   l i s t   o f   r u l e   t y p e s   t h a t   t h e   N e t w o r k P o l i c y   r e l a t e s   t o .   V a l i d   o p t i o n s   a r e   [ \" I n g r e s s \" ] ,   [ \" E g r e s s \" ] ,   o r   [ \" I n g r e s s \" ,   \" E g r e s s \" ] .   I f   t h i s   f i e l d   i s   n o t   s p e c i f i e d ,   i t   w i l l   d e f a u l t   b a s e d   o n   t h e   e x i s t e n c e   o f   i n g r e s s   o r   e g r e s s   r u l e s ;   p o l i c i e s   t h a t   c o n t a i n   a n   e g r e s s   s e c t i o n   a r e   a s s u m e d   t o   a f f e c t   e g r e s s ,   a n d   a l l   p o l i c i e s   ( w h e t h e r   o r   n o t   t h e y   c o n t a i n   a n   i n g r e s s   s e c t i o n )   a r e   a s s u m e d   t o   a f f e c t   i n g r e s s .   I f   y o u   w a n t   t o   w r i t e   a n   e g r e s s - o n l y ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24903"
  },
  {
    "question": "What is NetworkPolicyList?",
    "answer": "N e t w o r k P o l i c y L i s t   i s   a   l i s t   o f   N e t w o r k P o l i c y   o b j e c t s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   N e t w o r k P o l i c y L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] N e t w o r k P o l i c y ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   N e t w o r k P o l i c y L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] N e t w o r k P o l i c y ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24904"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24905"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N e t w o r k P o l i c y n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N e t w o r k P o l i c y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24906"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N e t w o r k P o l i c y ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24907"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24908"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24909"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N e t w o r k P o l i c y L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24910"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n e t w o r k p o l i c i e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24911"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24912"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N e t w o r k P o l i c y L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24913"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24914"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   N e t w o r k P o l i c y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   N e t w o r k P o l i c y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24915"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N e t w o r k P o l i c y ) :   O K   2 0 1   ( N e t w o r k P o l i c y ) :   C r e a t e d   2 0 2   ( N e t w o r k P o l i c y ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24916"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24917"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N e t w o r k P o l i c y n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   N e t w o r k P o l i c y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N e t w o r k P o l i c y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   N e t w o r k P o l i c y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24918"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N e t w o r k P o l i c y ) :   O K   2 0 1   ( N e t w o r k P o l i c y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24919"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24920"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N e t w o r k P o l i c y n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N e t w o r k P o l i c y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24921"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N e t w o r k P o l i c y ) :   O K   2 0 1   ( N e t w o r k P o l i c y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24922"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24923"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N e t w o r k P o l i c y n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N e t w o r k P o l i c y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24924"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24925"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24926"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24927"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24928"
  },
  {
    "question": "What is 5.6.5 - PodDisruptionBudget?",
    "answer": "a p i V e r s i o n :   p o l i c y / v 1   i m p o r t   \" k 8 s . i o / a p i / p o l i c y / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24929"
  },
  {
    "question": "What is PodDisruptionBudget?",
    "answer": "P o d D i s r u p t i o n B u d g e t   i s   a n   o b j e c t   t o   d e f i n e   t h e   m a x   d i s r u p t i o n   t h a t   c a n   b e   c a u s e d   t o   a   c o l l e c t i o n   o f   p o d s   a p i V e r s i o n :   p o l i c y / v 1 k i n d :   P o d D i s r u p t i o n B u d g e t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( P o d D i s r u p t i o n B u d g e t S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   P o d D i s r u p t i o n B u d g e t . s t a t u s   ( P o d D i s r u p t i o n B u d g e t S t a t u s ) M o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   P o d D i s r u p t i o n B u d g e t .   a p i V e r s i o n :   p o l i c y / v 1   k i n d :   P o d D i s r u p t i o n B u d g e t   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( P o d D i s r u p t i o n B u d g e t S p e c )   S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   P o d D i s r u p t i o n B u d g e t .   s t a t u s   ( P o d D i s r u p t i o n B u d g e t S t a t u s )   M o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   P o d D i s r u p t i o n B u d g e t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24930"
  },
  {
    "question": "What is PodDisruptionBudgetSpec?",
    "answer": "P o d D i s r u p t i o n B u d g e t S p e c   i s   a   d e s c r i p t i o n   o f   a   P o d D i s r u p t i o n B u d g e t .   m a x U n a v a i l a b l e   ( I n t O r S t r i n g ) A n   e v i c t i o n   i s   a l l o w e d   i f   a t   m o s t   \" m a x U n a v a i l a b l e \"   p o d s   s e l e c t e d   b y   \" s e l e c t o r \"   a r e   u n a v a i l a b l e   a f t e r   t h e   e v i c t i o n ,   i . e .   e v e n   i n   a b s e n c e   o f   t h e   e v i c t e d   p o d .   F o r   e x a m p l e ,   o n e   c a n   p r e v e n t   a l l   v o l u n t a r y   e v i c t i o n s   b y   s p e c i f y i n g   0 .   T h i s   i s   a   m u t u a l l y   e x c l u s i v e   s e t t i n g   w i t h   \" m i n A v a i l a b l e \" . I n t O r S t r i n g   i s   a   t y p e   t h a t   c a n   h o l d   a n   i n t 3 2   o r   a   s t r i n g .   W h e n   u s e d   i n   J S O N   o r   Y A M L   m a r s h a l l i n g   a n d   u n m a r s h a l l i n g ,   i t   p r o d u c e s   o r   c o n s u m e s   t h e   i n n e r   t y p e .   T h i s   a l l o w s   y o u   t o   h a v e ,   f o r   e x a m p l e ,   a   J S O N   f i e l d   t h a t   c a n   a c c e p t   a   n a m e   o r   n u m b e r . m i n A v a i l a b l e   ( I n t O r S t r i n g ) A n   e v i c t i o n   i s   a l l o w e d   i f   a t   l e a s t   \" m i n A v a i l a b l e \"   p o d s   s e l e c t e d   b y   \" s e l e c t o r \"   w i l l   s t i l l   b e   a v a i l a b l e   a f t e r   t h e   e v i c t i o n ,   i . e .   e v e n   i n   t h e   a b s e n c e   o f   t h e   e v i c t e d   p o d .   S o   f o r   e x a m p l e   y o u   c a n   p r e v e n t   a l l   v o l u n t a r y   e v i c t i o n s   b y   s p e c i f y i n g   \" 1 0 0 % \" . I n t O r S t r i n g   i s   a   t y p e   t h a t   c a n   h o l d   a n   i n t 3 2   o r   a   s t r i n g .   W h e n   u s e d   i n   J S O N   o r   Y A M L   m a r s h a l l i n g   a n d   u n m a r s h a l l i n g , ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24931"
  },
  {
    "question": "What is PodDisruptionBudgetStatus?",
    "answer": "P o d D i s r u p t i o n B u d g e t S t a t u s   r e p r e s e n t s   i n f o r m a t i o n   a b o u t   t h e   s t a t u s   o f   a   P o d D i s r u p t i o n B u d g e t .   S t a t u s   m a y   t r a i l   t h e   a c t u a l   s t a t e   o f   a   s y s t e m .   c u r r e n t H e a l t h y   ( i n t 3 2 ) ,   r e q u i r e d c u r r e n t   n u m b e r   o f   h e a l t h y   p o d s d e s i r e d H e a l t h y   ( i n t 3 2 ) ,   r e q u i r e d m i n i m u m   d e s i r e d   n u m b e r   o f   h e a l t h y   p o d s d i s r u p t i o n s A l l o w e d   ( i n t 3 2 ) ,   r e q u i r e d N u m b e r   o f   p o d   d i s r u p t i o n s   t h a t   a r e   c u r r e n t l y   a l l o w e d . e x p e c t e d P o d s   ( i n t 3 2 ) ,   r e q u i r e d t o t a l   n u m b e r   o f   p o d s   c o u n t e d   b y   t h i s   d i s r u p t i o n   b u d g e t c o n d i t i o n s   ( [ ] C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e C o n d i t i o n s   c o n t a i n   c o n d i t i o n s   f o r   P D B .   T h e   d i s r u p t i o n   c o n t r o l l e r   s e t s   t h e   D i s r u p t i o n A l l o w e d   c o n d i t i o n .   T h e   f o l l o w i n g   a r e   k n o w n   v a l u e s   f o r   t h e   r e a s o n   f i e l d   ( a d d i t i o n a l   r e a s o n s   c o u l d   b e   a d d e d   i n   t h e   f u t u r e ) :   -   S y n c F a i l e d :   T h e   c o n t r o l l e r   e n c o u n t e r e d   a n   e r r o r   a n d   w a s n ' t   a b l e   t o   c o m p u t e   t h e   n u m b e r   o f   a l l o w e d   d i s r u p t i o n s .   T h e r e f o r e   n o   d i s r u p t i o n s   a r e   a l l o w e d   a n d   t h e   s t a t u s   o f   t h e   c o n d i t i o n   w i l l   b e   F a l s e . I n s u f f i c i e n t P o d s :   T h e   n u m b e r   o f   p o d s   a r e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24932"
  },
  {
    "question": "What is PodDisruptionBudgetList?",
    "answer": "P o d D i s r u p t i o n B u d g e t L i s t   i s   a   c o l l e c t i o n   o f   P o d D i s r u p t i o n B u d g e t s .   a p i V e r s i o n :   p o l i c y / v 1 k i n d :   P o d D i s r u p t i o n B u d g e t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] P o d D i s r u p t i o n B u d g e t ) ,   r e q u i r e d I t e m s   i s   a   l i s t   o f   P o d D i s r u p t i o n B u d g e t s   a p i V e r s i o n :   p o l i c y / v 1   k i n d :   P o d D i s r u p t i o n B u d g e t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] P o d D i s r u p t i o n B u d g e t ) ,   r e q u i r e d   I t e m s   i s   a   l i s t   o f   P o d D i s r u p t i o n B u d g e t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24933"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24934"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24935"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24936"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24937"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24938"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24939"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24940"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24941"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24942"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / p o l i c y / v 1 / p o d d i s r u p t i o n b u d g e t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24943"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24944"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24945"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24946"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d D i s r u p t i o n B u d g e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d D i s r u p t i o n B u d g e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24947"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t ) :   O K   2 0 1   ( P o d D i s r u p t i o n B u d g e t ) :   C r e a t e d   2 0 2   ( P o d D i s r u p t i o n B u d g e t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24948"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24949"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d D i s r u p t i o n B u d g e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d D i s r u p t i o n B u d g e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24950"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t ) :   O K   2 0 1   ( P o d D i s r u p t i o n B u d g e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24951"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24952"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P o d D i s r u p t i o n B u d g e t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P o d D i s r u p t i o n B u d g e t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24953"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t ) :   O K   2 0 1   ( P o d D i s r u p t i o n B u d g e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24954"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24955"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24956"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t ) :   O K   2 0 1   ( P o d D i s r u p t i o n B u d g e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24957"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24958"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24959"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P o d D i s r u p t i o n B u d g e t ) :   O K   2 0 1   ( P o d D i s r u p t i o n B u d g e t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24960"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24961"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P o d D i s r u p t i o n B u d g e t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24962"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24963"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24964"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24965"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24966"
  },
  {
    "question": "What is 5.6.6 - PriorityLevelConfiguration?",
    "answer": "a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / f l o w c o n t r o l / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_24967"
  },
  {
    "question": "What is PriorityLevelConfiguration?",
    "answer": "P r i o r i t y L e v e l C o n f i g u r a t i o n   r e p r e s e n t s   t h e   c o n f i g u r a t i o n   o f   a   p r i o r i t y   l e v e l .   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 k i n d :   P r i o r i t y L e v e l C o n f i g u r a t i o n m e t a d a t a   ( O b j e c t M e t a ) m e t a d a t a   i s   t h e   s t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( P r i o r i t y L e v e l C o n f i g u r a t i o n S p e c ) s p e c   i s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   a   \" r e q u e s t - p r i o r i t y \" .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( P r i o r i t y L e v e l C o n f i g u r a t i o n S t a t u s ) s t a t u s   i s   t h e   c u r r e n t   s t a t u s   o f   a   \" r e q u e s t - p r i o r i t y \" .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   k i n d :   P r i o r i t y L e v e l C o n f i g u r a t i o n   m e t a d a t a   ( O b j e c t M e t a )   m e t a d a t a   i s   t h e   s t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24968"
  },
  {
    "question": "What is PriorityLevelConfigurationSpec?",
    "answer": "P r i o r i t y L e v e l C o n f i g u r a t i o n S p e c   s p e c i f i e s   t h e   c o n f i g u r a t i o n   o f   a   p r i o r i t y   l e v e l .   e x e m p t   ( E x e m p t P r i o r i t y L e v e l C o n f i g u r a t i o n ) e x e m p t   s p e c i f i e s   h o w   r e q u e s t s   a r e   h a n d l e d   f o r   a n   e x e m p t   p r i o r i t y   l e v e l .   T h i s   f i e l d   M U S T   b e   e m p t y   i f   t y p e   i s   \" L i m i t e d \" .   T h i s   f i e l d   M A Y   b e   n o n - e m p t y   i f   t y p e   i s   \" E x e m p t \" .   I f   e m p t y   a n d   t y p e   i s   \" E x e m p t \"   t h e n   t h e   d e f a u l t   v a l u e s   f o r   E x e m p t P r i o r i t y L e v e l C o n f i g u r a t i o n   a p p l y . E x e m p t P r i o r i t y L e v e l C o n f i g u r a t i o n   d e s c r i b e s   t h e   c o n f i g u r a b l e   a s p e c t s   o f   t h e   h a n d l i n g   o f   e x e m p t   r e q u e s t s .   I n   t h e   m a n d a t o r y   e x e m p t   c o n f i g u r a t i o n   o b j e c t   t h e   v a l u e s   i n   t h e   f i e l d s   h e r e   c a n   b e   m o d i f i e d   b y   a u t h o r i z e d   u s e r s ,   u n l i k e   t h e   r e s t   o f   t h e   s p e c . e x e m p t . l e n d a b l e P e r c e n t   ( i n t 3 2 ) l e n d a b l e P e r c e n t   p r e s c r i b e s   t h e   f r a c t i o n   o f   t h e   l e v e l ' s   N o m i n a l C L   t h a t   c a n   b e   b o r r o w e d   b y   o t h e r   p r i o r i t y   l e v e l s .   T h i s   v a l u e   o f   t h i s   f i e l d   m u s t   b e   b e t w e e n   0   a n d   1 0 0 ,   i n c l u s i v e ,   a n d   i t   d e f a u l t s   t o   0 .   T h e   n u m b e r   o f   s e a t s   t h a t   o t h e r   l e v e l s   c a n   b o r r o w   f r o m   t h i s   l e v e l ,   k n o w n   a s   t h i s   l e v e l ' s   L e n d a b l e C o n c u r r e n c y L i m i t   ( L e n d a b l e C L ) ,   i s   d e f i n e d   a s   f o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24969"
  },
  {
    "question": "What is PriorityLevelConfigurationStatus?",
    "answer": "P r i o r i t y L e v e l C o n f i g u r a t i o n S t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t e   o f   a   \" r e q u e s t - p r i o r i t y \" .   c o n d i t i o n s   ( [ ] P r i o r i t y L e v e l C o n f i g u r a t i o n C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e c o n d i t i o n s   i s   t h e   c u r r e n t   s t a t e   o f   \" r e q u e s t - p r i o r i t y \" . P r i o r i t y L e v e l C o n f i g u r a t i o n C o n d i t i o n   d e f i n e s   t h e   c o n d i t i o n   o f   p r i o r i t y   l e v e l . c o n d i t i o n s . l a s t T r a n s i t i o n T i m e   ( T i m e ) l a s t T r a n s i t i o n T i m e   i s   t h e   l a s t   t i m e   t h e   c o n d i t i o n   t r a n s i t i o n e d   f r o m   o n e   s t a t u s   t o   a n o t h e r . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c o n d i t i o n s . m e s s a g e   ( s t r i n g ) m e s s a g e   i s   a   h u m a n - r e a d a b l e   m e s s a g e   i n d i c a t i n g   d e t a i l s   a b o u t   l a s t   t r a n s i t i o n . c o n d i t i o n s . r e a s o n   ( s t r i n g ) r e a s o n   i s   a   u n i q u e ,   o n e - w o r d ,   C a m e l C a s e   r e a s o n   f o r   t h e   c o n d i t i o n ' s   l a s t   t r a n s i t i o n . c o n d i t i o n s . s t a t u s   ( s t r i n g ) s t a t u s   i s   t h e   s t a t u s   o f   t h e   c o n d i t i o n .   C a n   b e   T r u e ,   F a l s e ,   U n k n o w n .   R e q u i r e d . c o n d i t i o n s . t y p e   ( s t r i n g ) t y p e   i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24970"
  },
  {
    "question": "What is PriorityLevelConfigurationList?",
    "answer": "P r i o r i t y L e v e l C o n f i g u r a t i o n L i s t   i s   a   l i s t   o f   P r i o r i t y L e v e l C o n f i g u r a t i o n   o b j e c t s .   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 k i n d :   P r i o r i t y L e v e l C o n f i g u r a t i o n L i s t m e t a d a t a   ( L i s t M e t a ) m e t a d a t a   i s   t h e   s t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] P r i o r i t y L e v e l C o n f i g u r a t i o n ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   r e q u e s t - p r i o r i t i e s .   a p i V e r s i o n :   f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1   k i n d :   P r i o r i t y L e v e l C o n f i g u r a t i o n L i s t   m e t a d a t a   ( L i s t M e t a )   m e t a d a t a   i s   t h e   s t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] P r i o r i t y L e v e l C o n f i g u r a t i o n ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   r e q u e s t - p r i o r i t i e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_24971"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24972"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24973"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24974"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24975"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24976"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24977"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24978"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24979"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y L e v e l C o n f i g u r a t i o n L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24980"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24981"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   P r i o r i t y L e v e l C o n f i g u r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   P r i o r i t y L e v e l C o n f i g u r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24982"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   O K   2 0 1   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   C r e a t e d   2 0 2   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24983"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24984"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n b o d y :   P r i o r i t y L e v e l C o n f i g u r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   b o d y :   P r i o r i t y L e v e l C o n f i g u r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24985"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   O K   2 0 1   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24986"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24987"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n b o d y :   P r i o r i t y L e v e l C o n f i g u r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   b o d y :   P r i o r i t y L e v e l C o n f i g u r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24988"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   O K   2 0 1   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24989"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24990"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24991"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   O K   2 0 1   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24992"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24993"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24994"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   O K   2 0 1   ( P r i o r i t y L e v e l C o n f i g u r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24995"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24996"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24997"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24998"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_24999"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25000"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25001"
  },
  {
    "question": "What is 5.6.7 - ValidatingAdmissionPolicy?",
    "answer": "a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a d m i s s i o n r e g i s t r a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25002"
  },
  {
    "question": "What is ValidatingAdmissionPolicy?",
    "answer": "V a l i d a t i n g A d m i s s i o n P o l i c y   d e s c r i b e s   t h e   d e f i n i t i o n   o f   a n   a d m i s s i o n   v a l i d a t i o n   p o l i c y   t h a t   a c c e p t s   o r   r e j e c t s   a n   o b j e c t   w i t h o u t   c h a n g i n g   i t .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a . s p e c   ( V a l i d a t i n g A d m i s s i o n P o l i c y S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y . V a l i d a t i n g A d m i s s i o n P o l i c y S p e c   i s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   A d m i s s i o n P o l i c y . s p e c . a u d i t A n n o t a t i o n s   ( [ ] A u d i t A n n o t a t i o n ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e a u d i t A n n o t a t i o n s   c o n t a i n s   C E L   e x p r e s s i o n s   w h i c h   a r e   u s e d   t o   p r o d u c e   a u d i t   a n n o t a t i o n s   f o r   t h e   a u d i t   e v e n t   o f   t h e   A P I   r e q u e s t .   v a l i d a t i o n s   a n d   a u d i t A n n o t a t i o n s   m a y   n o t   b o t h   b e   e m p t y ;   a   l e a s t   o n e   o f   v a l i d a t i o n s   o r   a u d i t A n n o t a t i o n s   i s   r e q u i r e d . A u d i t A n n o t a t i o n   d e s c r i b e s   h o w   t o   p r o d u c e   a n   a u d i t   a n n o t a t i o n   f o r   a n   A P I   r e q u e s t . s p e c . a u d i t A n n o t a t i o n s . k e y   ( s t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25003"
  },
  {
    "question": "What is ValidatingAdmissionPolicyList?",
    "answer": "V a l i d a t i n g A d m i s s i o n P o l i c y L i s t   i s   a   l i s t   o f   V a l i d a t i n g A d m i s s i o n P o l i c y .   i t e m s   ( [ ] V a l i d a t i n g A d m i s s i o n P o l i c y ) ,   r e q u i r e d L i s t   o f   V a l i d a t i n g A d m i s s i o n P o l i c y . a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] V a l i d a t i n g A d m i s s i o n P o l i c y ) ,   r e q u i r e d   L i s t   o f   V a l i d a t i n g A d m i s s i o n P o l i c y .   a p i V e r s i o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25004"
  },
  {
    "question": "What is ValidatingAdmissionPolicyBinding?",
    "answer": "V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   b i n d s   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   w i t h   p a r a m e r i z e d   r e s o u r c e s .   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   a n d   p a r a m e t e r   C R D s   t o g e t h e r   d e f i n e   h o w   c l u s t e r   a d m i n i s t r a t o r s   c o n f i g u r e   p o l i c i e s   f o r   c l u s t e r s .   F o r   a   g i v e n   a d m i s s i o n   r e q u e s t ,   e a c h   b i n d i n g   w i l l   c a u s e   i t s   p o l i c y   t o   b e   e v a l u a t e d   N   t i m e s ,   w h e r e   N   i s   1   f o r   p o l i c i e s / b i n d i n g s   t h a t   d o n ' t   u s e   p a r a m s ,   o t h e r w i s e   N   i s   t h e   n u m b e r   o f   p a r a m e t e r s   s e l e c t e d   b y   t h e   b i n d i n g .   T h e   C E L   e x p r e s s i o n s   o f   a   p o l i c y   m u s t   h a v e   a   c o m p u t e d   C E L   c o s t   b e l o w   t h e   m a x i m u m   C E L   b u d g e t .   E a c h   e v a l u a t i o n   o f   t h e   p o l i c y   i s   g i v e n   a n   i n d e p e n d e n t   C E L   c o s t   b u d g e t .   A d d i n g / r e m o v i n g   p o l i c i e s ,   b i n d i n g s ,   o r   p a r a m s   c a n   n o t   a f f e c t   w h e t h e r   a   g i v e n   ( p o l i c y ,   b i n d i n g ,   p a r a m )   c o m b i n a t i o n   i s   w i t h i n   i t s   o w n   C E L   b u d g e t .   a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25005"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25006"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25007"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25008"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25009"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25010"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25011"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25012"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25013"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25014"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25015"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25016"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   O K   2 0 1   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   C r e a t e d   2 0 2   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25017"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25018"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25019"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   O K   2 0 1   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25020"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25021"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25022"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   O K   2 0 1   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25023"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25024"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25025"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   O K   2 0 1   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25026"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25027"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25028"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   O K   2 0 1   ( V a l i d a t i n g A d m i s s i o n P o l i c y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25029"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25030"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25031"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25032"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25033"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25034"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25035"
  },
  {
    "question": "What is 5.6.8 - ValidatingAdmissionPolicyBinding?",
    "answer": "a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a d m i s s i o n r e g i s t r a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25036"
  },
  {
    "question": "What is ValidatingAdmissionPolicyBinding?",
    "answer": "V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   b i n d s   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   w i t h   p a r a m e r i z e d   r e s o u r c e s .   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   a n d   p a r a m e t e r   C R D s   t o g e t h e r   d e f i n e   h o w   c l u s t e r   a d m i n i s t r a t o r s   c o n f i g u r e   p o l i c i e s   f o r   c l u s t e r s .   F o r   a   g i v e n   a d m i s s i o n   r e q u e s t ,   e a c h   b i n d i n g   w i l l   c a u s e   i t s   p o l i c y   t o   b e   e v a l u a t e d   N   t i m e s ,   w h e r e   N   i s   1   f o r   p o l i c i e s / b i n d i n g s   t h a t   d o n ' t   u s e   p a r a m s ,   o t h e r w i s e   N   i s   t h e   n u m b e r   o f   p a r a m e t e r s   s e l e c t e d   b y   t h e   b i n d i n g .   T h e   C E L   e x p r e s s i o n s   o f   a   p o l i c y   m u s t   h a v e   a   c o m p u t e d   C E L   c o s t   b e l o w   t h e   m a x i m u m   C E L   b u d g e t .   E a c h   e v a l u a t i o n   o f   t h e   p o l i c y   i s   g i v e n   a n   i n d e p e n d e n t   C E L   c o s t   b u d g e t .   A d d i n g / r e m o v i n g   p o l i c i e s ,   b i n d i n g s ,   o r   p a r a m s   c a n   n o t   a f f e c t   w h e t h e r   a   g i v e n   ( p o l i c y ,   b i n d i n g ,   p a r a m )   c o m b i n a t i o n   i s   w i t h i n   i t s   o w n   C E L   b u d g e t .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 k i n d :   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a . s p e c   ( V a l i d a t i n g A d m i s s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25037"
  },
  {
    "question": "What is ValidatingAdmissionPolicy?",
    "answer": "V a l i d a t i n g A d m i s s i o n P o l i c y   d e s c r i b e s   t h e   d e f i n i t i o n   o f   a n   a d m i s s i o n   v a l i d a t i o n   p o l i c y   t h a t   a c c e p t s   o r   r e j e c t s   a n   o b j e c t   w i t h o u t   c h a n g i n g   i t .   a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a . s p e c   ( V a l i d a t i n g A d m i s s i o n P o l i c y S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   V a l i d a t i n g A d m i s s i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25038"
  },
  {
    "question": "What is ValidatingAdmissionPolicyBindingList?",
    "answer": "V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g L i s t   i s   a   l i s t   o f   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g .   i t e m s   ( [ ] V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) ,   r e q u i r e d L i s t   o f   P o l i c y B i n d i n g . a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) ,   r e q u i r e d   L i s t   o f   P o l i c y B i n d i n g .   a p i V e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25039"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25040"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25041"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25042"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25043"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25044"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25045"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25046"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25047"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   O K   2 0 1   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   C r e a t e d   2 0 2   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25048"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25049"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   b o d y :   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25050"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   O K   2 0 1   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25051"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25052"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25053"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   O K   2 0 1   ( V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25054"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25055"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25056"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25057"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25058"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25059"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25060"
  },
  {
    "question": "What is 5.6.9 - MutatingAdmissionPolicy v1beta1?",
    "answer": "a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1   i m p o r t   \" k 8 s . i o / a p i / a d m i s s i o n r e g i s t r a t i o n / v 1 b e t a 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25061"
  },
  {
    "question": "What is MutatingAdmissionPolicy?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y   d e s c r i b e s   t h e   d e f i n i t i o n   o f   a n   a d m i s s i o n   m u t a t i o n   p o l i c y   t h a t   m u t a t e s   t h e   o b j e c t   c o m i n g   i n t o   a d m i s s i o n   c h a i n .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 k i n d :   M u t a t i n g A d m i s s i o n P o l i c y m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a . s p e c   ( M u t a t i n g A d m i s s i o n P o l i c y S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y . M u t a t i n g A d m i s s i o n P o l i c y S p e c   i s   t h e   s p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   a d m i s s i o n   p o l i c y . s p e c . f a i l u r e P o l i c y   ( s t r i n g ) f a i l u r e P o l i c y   d e f i n e s   h o w   t o   h a n d l e   f a i l u r e s   f o r   t h e   a d m i s s i o n   p o l i c y .   F a i l u r e s   c a n   o c c u r   f r o m   C E L   e x p r e s s i o n   p a r s e   e r r o r s ,   t y p e   c h e c k   e r r o r s ,   r u n t i m e   e r r o r s   a n d   i n v a l i d   o r   m i s - c o n f i g u r e d   p o l i c y   d e f i n i t i o n s   o r   b i n d i n g s . A   p o l i c y   i s   i n v a l i d   i f   p a r a m K i n d   r e f e r s   t o   a   n o n - e x i s t e n t   K i n d .   A   b i n d i n g   i s   i n v a l i d   i f   p a r a m R e f . n a m e   r e f e r s   t o   a   n o n - e x i s t e n t   r e s o u r c e . f a i l u r e P o l i c y   d o e s   n o t   d e f i n e   h o w   v a l i d a t i o n s   t h a t   e v a l u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25062"
  },
  {
    "question": "What is MutatingAdmissionPolicyBinding?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   b i n d s   t h e   M u t a t i n g A d m i s s i o n P o l i c y   w i t h   p a r a m e t r i z e d   r e s o u r c e s .   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   a n d   t h e   o p t i o n a l   p a r a m e t e r   r e s o u r c e   t o g e t h e r   d e f i n e   h o w   c l u s t e r   a d m i n i s t r a t o r s   c o n f i g u r e   p o l i c i e s   f o r   c l u s t e r s .   F o r   a   g i v e n   a d m i s s i o n   r e q u e s t ,   e a c h   b i n d i n g   w i l l   c a u s e   i t s   p o l i c y   t o   b e   e v a l u a t e d   N   t i m e s ,   w h e r e   N   i s   1   f o r   p o l i c i e s / b i n d i n g s   t h a t   d o n ' t   u s e   p a r a m s ,   o t h e r w i s e   N   i s   t h e   n u m b e r   o f   p a r a m e t e r s   s e l e c t e d   b y   t h e   b i n d i n g .   E a c h   e v a l u a t i o n   i s   c o n s t r a i n e d   b y   a   r u n t i m e   c o s t   b u d g e t .   A d d i n g / r e m o v i n g   p o l i c i e s ,   b i n d i n g s ,   o r   p a r a m s   c a n   n o t   a f f e c t   w h e t h e r   a   g i v e n   ( p o l i c y ,   b i n d i n g ,   p a r a m )   c o m b i n a t i o n   i s   w i t h i n   i t s   o w n   C E L   b u d g e t .   a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25063"
  },
  {
    "question": "What is MutatingAdmissionPolicyList?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y L i s t   i s   a   l i s t   o f   M u t a t i n g A d m i s s i o n P o l i c y .   i t e m s   ( [ ] M u t a t i n g A d m i s s i o n P o l i c y ) ,   r e q u i r e d L i s t   o f   V a l i d a t i n g A d m i s s i o n P o l i c y . a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] M u t a t i n g A d m i s s i o n P o l i c y ) ,   r e q u i r e d   L i s t   o f   V a l i d a t i n g A d m i s s i o n P o l i c y .   a p i V e r s i o n   ( s t r i n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25064"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25065"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25066"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25067"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25068"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25069"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25070"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25071"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   M u t a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   M u t a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25072"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y ) :   O K   2 0 1   ( M u t a t i n g A d m i s s i o n P o l i c y ) :   C r e a t e d   2 0 2   ( M u t a t i n g A d m i s s i o n P o l i c y ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25073"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25074"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y b o d y :   M u t a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y   b o d y :   M u t a t i n g A d m i s s i o n P o l i c y ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25075"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y ) :   O K   2 0 1   ( M u t a t i n g A d m i s s i o n P o l i c y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25076"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25077"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25078"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y ) :   O K   2 0 1   ( M u t a t i n g A d m i s s i o n P o l i c y ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25079"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25080"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25081"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25082"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25083"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25084"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25085"
  },
  {
    "question": "What is 5.6.10 - MutatingAdmissionPolicyBinding v1alpha1?",
    "answer": "a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1   i m p o r t   \" k 8 s . i o / a p i / a d m i s s i o n r e g i s t r a t i o n / v 1 a l p h a 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25086"
  },
  {
    "question": "What is MutatingAdmissionPolicyBinding?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   b i n d s   t h e   M u t a t i n g A d m i s s i o n P o l i c y   w i t h   p a r a m e t r i z e d   r e s o u r c e s .   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   a n d   t h e   o p t i o n a l   p a r a m e t e r   r e s o u r c e   t o g e t h e r   d e f i n e   h o w   c l u s t e r   a d m i n i s t r a t o r s   c o n f i g u r e   p o l i c i e s   f o r   c l u s t e r s .   F o r   a   g i v e n   a d m i s s i o n   r e q u e s t ,   e a c h   b i n d i n g   w i l l   c a u s e   i t s   p o l i c y   t o   b e   e v a l u a t e d   N   t i m e s ,   w h e r e   N   i s   1   f o r   p o l i c i e s / b i n d i n g s   t h a t   d o n ' t   u s e   p a r a m s ,   o t h e r w i s e   N   i s   t h e   n u m b e r   o f   p a r a m e t e r s   s e l e c t e d   b y   t h e   b i n d i n g .   E a c h   e v a l u a t i o n   i s   c o n s t r a i n e d   b y   a   r u n t i m e   c o s t   b u d g e t .   A d d i n g / r e m o v i n g   p o l i c i e s ,   b i n d i n g s ,   o r   p a r a m s   c a n   n o t   a f f e c t   w h e t h e r   a   g i v e n   ( p o l i c y ,   b i n d i n g ,   p a r a m )   c o m b i n a t i o n   i s   w i t h i n   i t s   o w n   C E L   b u d g e t .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 k i n d :   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a . s p e c   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25087"
  },
  {
    "question": "What is MutatingAdmissionPolicy?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y   d e s c r i b e s   t h e   d e f i n i t i o n   o f   a n   a d m i s s i o n   m u t a t i o n   p o l i c y   t h a t   m u t a t e s   t h e   o b j e c t   c o m i n g   i n t o   a d m i s s i o n   c h a i n .   a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a . s p e c   ( M u t a t i n g A d m i s s i o n P o l i c y S p e c ) S p e c i f i c a t i o n   o f   t h e   d e s i r e d   b e h a v i o r   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y . M ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25088"
  },
  {
    "question": "What is MutatingAdmissionPolicyBindingList?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g L i s t   i s   a   l i s t   o f   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g .   i t e m s   ( [ ] M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) ,   r e q u i r e d L i s t   o f   P o l i c y B i n d i n g . a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) ,   r e q u i r e d   L i s t   o f   P o l i c y B i n d i n g .   a p i V e r s i o n   ( s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25089"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25090"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25091"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25092"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25093"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25094"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25095"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25096"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25097"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   O K   2 0 1   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   C r e a t e d   2 0 2   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25098"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25099"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g b o d y :   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   b o d y :   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25100"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   O K   2 0 1   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25101"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25102"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25103"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   O K   2 0 1   ( M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25104"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25105"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25106"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25107"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25108"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25109"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25110"
  },
  {
    "question": "What is 5.7.1 - CustomResourceDefinition?",
    "answer": "a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i e x t e n s i o n s - a p i s e r v e r / p k g / a p i s / a p i e x t e n s i o n s / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25111"
  },
  {
    "question": "What is CustomResourceDefinition?",
    "answer": "C u s t o m R e s o u r c e D e f i n i t i o n   r e p r e s e n t s   a   r e s o u r c e   t h a t   s h o u l d   b e   e x p o s e d   o n   t h e   A P I   s e r v e r .   I t s   n a m e   M U S T   b e   i n   t h e   f o r m a t   < . s p e c . n a m e > . < . s p e c . g r o u p > .   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1 k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( C u s t o m R e s o u r c e D e f i n i t i o n S p e c ) ,   r e q u i r e d s p e c   d e s c r i b e s   h o w   t h e   u s e r   w a n t s   t h e   r e s o u r c e s   t o   a p p e a r s t a t u s   ( C u s t o m R e s o u r c e D e f i n i t i o n S t a t u s ) s t a t u s   i n d i c a t e s   t h e   a c t u a l   s t a t e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   a p i V e r s i o n :   a p i e x t e n s i o n s . k 8 s . i o / v 1   k i n d :   C u s t o m R e s o u r c e D e f i n i t i o n   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( C u s t o m R e s o u r c e D e f i n i t i o n S p e c ) ,   r e q u i r e d   s p e c   d e s c r i b e s   h o w   t h e   u s e r   w a n t s   t h e   r e s o u r c e s   t o   a p p e a r   s t a t u s   ( C u s t o m R e s o u r c e D e f i n i t i o n S t a t u s )   s t a t u s   i n d i c a t e s   t h e   a c t u a l   s t a t e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25112"
  },
  {
    "question": "What is CustomResourceDefinitionSpec?",
    "answer": "C u s t o m R e s o u r c e D e f i n i t i o n S p e c   d e s c r i b e s   h o w   a   u s e r   w a n t s   t h e i r   r e s o u r c e   t o   a p p e a r   g r o u p   ( s t r i n g ) ,   r e q u i r e d g r o u p   i s   t h e   A P I   g r o u p   o f   t h e   d e f i n e d   c u s t o m   r e s o u r c e .   T h e   c u s t o m   r e s o u r c e s   a r e   s e r v e d   u n d e r   / a p i s / \\ < g r o u p > / . . . .   M u s t   m a t c h   t h e   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   ( i n   t h e   f o r m   \\ < n a m e s . p l u r a l > . \\ < g r o u p > ) . n a m e s   ( C u s t o m R e s o u r c e D e f i n i t i o n N a m e s ) ,   r e q u i r e d n a m e s   s p e c i f y   t h e   r e s o u r c e   a n d   k i n d   n a m e s   f o r   t h e   c u s t o m   r e s o u r c e . C u s t o m R e s o u r c e D e f i n i t i o n N a m e s   i n d i c a t e s   t h e   n a m e s   t o   s e r v e   t h i s   C u s t o m R e s o u r c e D e f i n i t i o n n a m e s . k i n d   ( s t r i n g ) ,   r e q u i r e d k i n d   i s   t h e   s e r i a l i z e d   k i n d   o f   t h e   r e s o u r c e .   I t   i s   n o r m a l l y   C a m e l C a s e   a n d   s i n g u l a r .   C u s t o m   r e s o u r c e   i n s t a n c e s   w i l l   u s e   t h i s   v a l u e   a s   t h e   k i n d   a t t r i b u t e   i n   A P I   c a l l s . n a m e s . p l u r a l   ( s t r i n g ) ,   r e q u i r e d p l u r a l   i s   t h e   p l u r a l   n a m e   o f   t h e   r e s o u r c e   t o   s e r v e .   T h e   c u s t o m   r e s o u r c e s   a r e   s e r v e d   u n d e r   / a p i s / \\ < g r o u p > / \\ < v e r s i o n > / . . . / \\ < p l u r a l > .   M u s t   m a t c h   t h e   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   ( i n   t h e   f o r m   \\ < n a m e s . p l u r a l > . \\ < g r o u p > ) .   M u s t   b e   a l l   l o w e r c a s e . n a m e s . c a t e g o r i e s   ( [ ] ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25113"
  },
  {
    "question": "What is JSONSchemaProps?",
    "answer": "J S O N S c h e m a P r o p s   i s   a   J S O N - S c h e m a   f o l l o w i n g   S p e c i f i c a t i o n   D r a f t   4   ( h t t p : / / j s o n - s c h e m a . o r g / ) .   $ r e f   ( s t r i n g ) $ s c h e m a   ( s t r i n g ) a d d i t i o n a l I t e m s   ( J S O N S c h e m a P r o p s O r B o o l ) J S O N S c h e m a P r o p s O r B o o l   r e p r e s e n t s   J S O N S c h e m a P r o p s   o r   a   b o o l e a n   v a l u e .   D e f a u l t s   t o   t r u e   f o r   t h e   b o o l e a n   p r o p e r t y . a d d i t i o n a l P r o p e r t i e s   ( J S O N S c h e m a P r o p s O r B o o l ) J S O N S c h e m a P r o p s O r B o o l   r e p r e s e n t s   J S O N S c h e m a P r o p s   o r   a   b o o l e a n   v a l u e .   D e f a u l t s   t o   t r u e   f o r   t h e   b o o l e a n   p r o p e r t y . a l l O f   ( [ ] J S O N S c h e m a P r o p s ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e a n y O f   ( [ ] J S O N S c h e m a P r o p s ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e d e f a u l t   ( J S O N ) d e f a u l t   i s   a   d e f a u l t   v a l u e   f o r   u n d e f i n e d   o b j e c t   f i e l d s .   D e f a u l t i n g   i s   a   b e t a   f e a t u r e   u n d e r   t h e   C u s t o m R e s o u r c e D e f a u l t i n g   f e a t u r e   g a t e .   D e f a u l t i n g   r e q u i r e s   s p e c . p r e s e r v e U n k n o w n F i e l d s   t o   b e   f a l s e . J S O N   r e p r e s e n t s   a n y   v a l i d   J S O N   v a l u e .   T h e s e   t y p e s   a r e   s u p p o r t e d :   b o o l ,   i n t 6 4 ,   f l o a t 6 4 ,   s t r i n g ,   [ ] i n t e r f a c e { } ,   m a p [ s t r i n g ] i n t e r f a c e { }   a n d   n i l . d e f i n i t i o n s   ( m a p [ s t r i n g ] J S O N S c h e m a P r o p s ) d e p e n d e n c i e s   ( m a p [ s t r i n g ] J S O N S c h e m a P r o p s O r S t r i n g A r r a y ) J S O N ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25114"
  },
  {
    "question": "What is CustomResourceDefinitionStatus?",
    "answer": "C u s t o m R e s o u r c e D e f i n i t i o n S t a t u s   i n d i c a t e s   t h e   s t a t e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   a c c e p t e d N a m e s   ( C u s t o m R e s o u r c e D e f i n i t i o n N a m e s ) a c c e p t e d N a m e s   a r e   t h e   n a m e s   t h a t   a r e   a c t u a l l y   b e i n g   u s e d   t o   s e r v e   d i s c o v e r y .   T h e y   m a y   b e   d i f f e r e n t   t h a n   t h e   n a m e s   i n   s p e c . C u s t o m R e s o u r c e D e f i n i t i o n N a m e s   i n d i c a t e s   t h e   n a m e s   t o   s e r v e   t h i s   C u s t o m R e s o u r c e D e f i n i t i o n a c c e p t e d N a m e s . k i n d   ( s t r i n g ) ,   r e q u i r e d k i n d   i s   t h e   s e r i a l i z e d   k i n d   o f   t h e   r e s o u r c e .   I t   i s   n o r m a l l y   C a m e l C a s e   a n d   s i n g u l a r .   C u s t o m   r e s o u r c e   i n s t a n c e s   w i l l   u s e   t h i s   v a l u e   a s   t h e   k i n d   a t t r i b u t e   i n   A P I   c a l l s . a c c e p t e d N a m e s . p l u r a l   ( s t r i n g ) ,   r e q u i r e d p l u r a l   i s   t h e   p l u r a l   n a m e   o f   t h e   r e s o u r c e   t o   s e r v e .   T h e   c u s t o m   r e s o u r c e s   a r e   s e r v e d   u n d e r   / a p i s / \\ < g r o u p > / \\ < v e r s i o n > / . . . / \\ < p l u r a l > .   M u s t   m a t c h   t h e   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   ( i n   t h e   f o r m   \\ < n a m e s . p l u r a l > . \\ < g r o u p > ) .   M u s t   b e   a l l   l o w e r c a s e . a c c e p t e d N a m e s . c a t e g o r i e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e c a t e g o r i e s   i s   a   l i s t   o f   g r o u p e d   r e s o u r c e s   t h i s   c u s t o m   r e s o u r c e   b e l o n g s   t o   ( e . g .   ' a l l ' ) .   T h i s   i s   p u b l i s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25115"
  },
  {
    "question": "What is CustomResourceDefinitionList?",
    "answer": "C u s t o m R e s o u r c e D e f i n i t i o n L i s t   i s   a   l i s t   o f   C u s t o m R e s o u r c e D e f i n i t i o n   o b j e c t s .   i t e m s   ( [ ] C u s t o m R e s o u r c e D e f i n i t i o n ) ,   r e q u i r e d i t e m s   l i s t   i n d i v i d u a l   C u s t o m R e s o u r c e D e f i n i t i o n   o b j e c t s a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] C u s t o m R e s o u r c e D e f i n i t i o n ) ,   r e q u i r e d   i t e m s   l i s t   i n d i v i d u a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25116"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25117"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25118"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25119"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25120"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25121"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25122"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25123"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25124"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C u s t o m R e s o u r c e D e f i n i t i o n L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25125"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25126"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   C u s t o m R e s o u r c e D e f i n i t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   C u s t o m R e s o u r c e D e f i n i t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25127"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   O K   2 0 1   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   C r e a t e d   2 0 2   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25128"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25129"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n b o d y :   C u s t o m R e s o u r c e D e f i n i t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   b o d y :   C u s t o m R e s o u r c e D e f i n i t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25130"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   O K   2 0 1   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25131"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25132"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n b o d y :   C u s t o m R e s o u r c e D e f i n i t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   b o d y :   C u s t o m R e s o u r c e D e f i n i t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25133"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   O K   2 0 1   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25134"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25135"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25136"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   O K   2 0 1   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25137"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25138"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25139"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   O K   2 0 1   ( C u s t o m R e s o u r c e D e f i n i t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25140"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25141"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C u s t o m R e s o u r c e D e f i n i t i o n   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25142"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25143"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25144"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25145"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25146"
  },
  {
    "question": "What is 5.7.2 - DeviceClass?",
    "answer": "a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / r e s o u r c e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25147"
  },
  {
    "question": "What is DeviceClass?",
    "answer": "D e v i c e C l a s s   i s   a   v e n d o r -   o r   a d m i n - p r o v i d e d   r e s o u r c e   t h a t   c o n t a i n s   d e v i c e   c o n f i g u r a t i o n   a n d   s e l e c t o r s .   I t   c a n   b e   r e f e r e n c e d   i n   t h e   d e v i c e   r e q u e s t s   o f   a   c l a i m   t o   a p p l y   t h e s e   p r e s e t s .   C l u s t e r   s c o p e d .   T h i s   i s   a n   a l p h a   t y p e   a n d   r e q u i r e s   e n a b l i n g   t h e   D y n a m i c R e s o u r c e A l l o c a t i o n   f e a t u r e   g a t e .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 k i n d :   D e v i c e C l a s s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a s p e c   ( D e v i c e C l a s s S p e c ) ,   r e q u i r e d S p e c   d e f i n e s   w h a t   c a n   b e   a l l o c a t e d   a n d   h o w   t o   c o n f i g u r e   i t . T h i s   i s   m u t a b l e .   C o n s u m e r s   h a v e   t o   b e   p r e p a r e d   f o r   c l a s s e s   c h a n g i n g   a t   a n y   t i m e ,   e i t h e r   b e c a u s e   t h e y   g e t   u p d a t e d   o r   r e p l a c e d .   C l a i m   a l l o c a t i o n s   a r e   d o n e   o n c e   b a s e d   o n   w h a t e v e r   w a s   s e t   i n   c l a s s e s   a t   t h e   t i m e   o f   a l l o c a t i o n . C h a n g i n g   t h e   s p e c   a u t o m a t i c a l l y   i n c r e m e n t s   t h e   m e t a d a t a . g e n e r a t i o n   n u m b e r .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   D e v i c e C l a s s   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t   m e t a d a t a   s p e c   ( D e v i c e C l a s s S p e c ) ,   r e q u i r e d   S p e c   d e f i n e s   w h a t   c a n   b e   a l l o c a t e d   a n d   h o w   t o   c o n f i g u r e   i t .   T h i s   i s   m u t a b l e .   C o n s u m e r s   h a v e   t o   b e   p r e p a r e d   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25148"
  },
  {
    "question": "What is DeviceClassSpec?",
    "answer": "D e v i c e C l a s s S p e c   i s   u s e d   i n   a   [ D e v i c e C l a s s ]   t o   d e f i n e   w h a t   c a n   b e   a l l o c a t e d   a n d   h o w   t o   c o n f i g u r e   i t .   c o n f i g   ( [ ] D e v i c e C l a s s C o n f i g u r a t i o n ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e C o n f i g   d e f i n e s   c o n f i g u r a t i o n   p a r a m e t e r s   t h a t   a p p l y   t o   e a c h   d e v i c e   t h a t   i s   c l a i m e d   v i a   t h i s   c l a s s .   S o m e   c l a s s e s   m a y   p o t e n t i a l l y   b e   s a t i s f i e d   b y   m u l t i p l e   d r i v e r s ,   s o   e a c h   i n s t a n c e   o f   a   v e n d o r   c o n f i g u r a t i o n   a p p l i e s   t o   e x a c t l y   o n e   d r i v e r . T h e y   a r e   p a s s e d   t o   t h e   d r i v e r ,   b u t   a r e   n o t   c o n s i d e r e d   w h i l e   a l l o c a t i n g   t h e   c l a i m . D e v i c e C l a s s C o n f i g u r a t i o n   i s   u s e d   i n   D e v i c e C l a s s . c o n f i g . o p a q u e   ( O p a q u e D e v i c e C o n f i g u r a t i o n ) O p a q u e   p r o v i d e s   d r i v e r - s p e c i f i c   c o n f i g u r a t i o n   p a r a m e t e r s . O p a q u e D e v i c e C o n f i g u r a t i o n   c o n t a i n s   c o n f i g u r a t i o n   p a r a m e t e r s   f o r   a   d r i v e r   i n   a   f o r m a t   d e f i n e d   b y   t h e   d r i v e r   v e n d o r . c o n f i g . o p a q u e . d r i v e r   ( s t r i n g ) ,   r e q u i r e d D r i v e r   i s   u s e d   t o   d e t e r m i n e   w h i c h   k u b e l e t   p l u g i n   n e e d s   t o   b e   p a s s e d   t h e s e   c o n f i g u r a t i o n   p a r a m e t e r s . A n   a d m i s s i o n   p o l i c y   p r o v i d e d   b y   t h e   d r i v e r   d e v e l o p e r   c o u l d   u s e   t h i s   t o   d e c i d e   w h e t h e r   i t   n e e d s   t o   v a l i d a t e   t h e m . M ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25149"
  },
  {
    "question": "What is DeviceClassList?",
    "answer": "D e v i c e C l a s s L i s t   i s   a   c o l l e c t i o n   o f   c l a s s e s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1 k i n d :   D e v i c e C l a s s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a i t e m s   ( [ ] D e v i c e C l a s s ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   r e s o u r c e   c l a s s e s .   a p i V e r s i o n :   r e s o u r c e . k 8 s . i o / v 1   k i n d :   D e v i c e C l a s s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   i t e m s   ( [ ] D e v i c e C l a s s ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   r e s o u r c e   c l a s s e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25150"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25151"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e v i c e C l a s s p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e v i c e C l a s s   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25152"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e C l a s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25153"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25154"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25155"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e C l a s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25156"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25157"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e v i c e C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   D e v i c e C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25158"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e C l a s s ) :   O K   2 0 1   ( D e v i c e C l a s s ) :   C r e a t e d   2 0 2   ( D e v i c e C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25159"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25160"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e v i c e C l a s s b o d y :   D e v i c e C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e v i c e C l a s s   b o d y :   D e v i c e C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25161"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e C l a s s ) :   O K   2 0 1   ( D e v i c e C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25162"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25163"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e v i c e C l a s s b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e v i c e C l a s s   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25164"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e C l a s s ) :   O K   2 0 1   ( D e v i c e C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25165"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25166"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   D e v i c e C l a s s b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   D e v i c e C l a s s   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25167"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( D e v i c e C l a s s ) :   O K   2 0 2   ( D e v i c e C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25168"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25169"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25170"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25171"
  },
  {
    "question": "What is 5.7.3 - MutatingWebhookConfiguration?",
    "answer": "a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a d m i s s i o n r e g i s t r a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25172"
  },
  {
    "question": "What is MutatingWebhookConfiguration?",
    "answer": "M u t a t i n g W e b h o o k C o n f i g u r a t i o n   d e s c r i b e s   t h e   c o n f i g u r a t i o n   o f   a n d   a d m i s s i o n   w e b h o o k   t h a t   a c c e p t   o r   r e j e c t   a n d   m a y   c h a n g e   t h e   o b j e c t .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 k i n d :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a . w e b h o o k s   ( [ ] M u t a t i n g W e b h o o k ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   n a m e M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e W e b h o o k s   i s   a   l i s t   o f   w e b h o o k s   a n d   t h e   a f f e c t e d   r e s o u r c e s   a n d   o p e r a t i o n s . M u t a t i n g W e b h o o k   d e s c r i b e s   a n   a d m i s s i o n   w e b h o o k   a n d   t h e   r e s o u r c e s   a n d   o p e r a t i o n s   i t   a p p l i e s   t o . w e b h o o k s . a d m i s s i o n R e v i e w V e r s i o n s   ( [ ] s t r i n g ) ,   r e q u i r e d A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A d m i s s i o n R e v i e w V e r s i o n s   i s   a n   o r d e r e d   l i s t   o f   p r e f e r r e d   A d m i s s i o n R e v i e w   v e r s i o n s   t h e   W e b h o o k   e x p e c t s .   A P I   s e r v e r   w i l l   t r y   t o   u s e   f i r s t   v e r s i o n   i n   t h e   l i s t   w h i c h   i t   s u p p o r t s .   I f   n o n e   o f   t h e   v e r s i o n s   s p e c i f i e d   i n   t h i s   l i s t   s u p p o r t e d   b y   A P I   s e r v e r ,   v a l i d a t i o n   w i l l   f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25173"
  },
  {
    "question": "What is MutatingWebhookConfigurationList?",
    "answer": "M u t a t i n g W e b h o o k C o n f i g u r a t i o n L i s t   i s   a   l i s t   o f   M u t a t i n g W e b h o o k C o n f i g u r a t i o n .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 k i n d :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) ,   r e q u i r e d L i s t   o f   M u t a t i n g W e b h o o k C o n f i g u r a t i o n .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) ,   r e q u i r e d   L i s t   o f   M u t a t i n g W e b h o o k C o n f i g u r a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25174"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25175"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25176"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25177"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25178"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25179"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25180"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25181"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25182"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) :   O K   2 0 1   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) :   C r e a t e d   2 0 2   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25183"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25184"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n b o d y :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   b o d y :   M u t a t i n g W e b h o o k C o n f i g u r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25185"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) :   O K   2 0 1   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25186"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25187"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25188"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) :   O K   2 0 1   ( M u t a t i n g W e b h o o k C o n f i g u r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25189"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25190"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25191"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25192"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25193"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25194"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25195"
  },
  {
    "question": "What is 5.7.4 - ValidatingWebhookConfiguration?",
    "answer": "a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / a d m i s s i o n r e g i s t r a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25196"
  },
  {
    "question": "What is ValidatingWebhookConfiguration?",
    "answer": "V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   d e s c r i b e s   t h e   c o n f i g u r a t i o n   o f   a n d   a d m i s s i o n   w e b h o o k   t h a t   a c c e p t   o r   r e j e c t   a n d   o b j e c t   w i t h o u t   c h a n g i n g   i t .   a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 k i n d :   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t   m e t a d a t a ;   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a . w e b h o o k s   ( [ ] V a l i d a t i n g W e b h o o k ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   n a m e M a p :   u n i q u e   v a l u e s   o n   k e y   n a m e   w i l l   b e   k e p t   d u r i n g   a   m e r g e W e b h o o k s   i s   a   l i s t   o f   w e b h o o k s   a n d   t h e   a f f e c t e d   r e s o u r c e s   a n d   o p e r a t i o n s . V a l i d a t i n g W e b h o o k   d e s c r i b e s   a n   a d m i s s i o n   w e b h o o k   a n d   t h e   r e s o u r c e s   a n d   o p e r a t i o n s   i t   a p p l i e s   t o . w e b h o o k s . a d m i s s i o n R e v i e w V e r s i o n s   ( [ ] s t r i n g ) ,   r e q u i r e d A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A d m i s s i o n R e v i e w V e r s i o n s   i s   a n   o r d e r e d   l i s t   o f   p r e f e r r e d   A d m i s s i o n R e v i e w   v e r s i o n s   t h e   W e b h o o k   e x p e c t s .   A P I   s e r v e r   w i l l   t r y   t o   u s e   f i r s t   v e r s i o n   i n   t h e   l i s t   w h i c h   i t   s u p p o r t s .   I f   n o n e   o f   t h e   v e r s i o n s   s p e c i f i e d   i n   t h i s   l i s t   s u p p o r t e d   b y   A P I   s e r v e r ,   v a l i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25197"
  },
  {
    "question": "What is ValidatingWebhookConfigurationList?",
    "answer": "V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n L i s t   i s   a   l i s t   o f   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n .   i t e m s   ( [ ] V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) ,   r e q u i r e d L i s t   o f   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n . a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s k i n d   ( s t r i n g ) K i n d   i s   a   s t r i n g   v a l u e   r e p r e s e n t i n g   t h e   R E S T   r e s o u r c e   t h i s   o b j e c t   r e p r e s e n t s .   S e r v e r s   m a y   i n f e r   t h i s   f r o m   t h e   e n d p o i n t   t h e   c l i e n t   s u b m i t s   r e q u e s t s   t o .   C a n n o t   b e   u p d a t e d .   I n   C a m e l C a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) ,   r e q u i r e d   L i s t   o f   V a l i d a t i n g W ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25198"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25199"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25200"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25201"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25202"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25203"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25204"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25205"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25206"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) :   O K   2 0 1   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) :   C r e a t e d   2 0 2   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25207"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25208"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n b o d y :   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   b o d y :   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25209"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) :   O K   2 0 1   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25210"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25211"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25212"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) :   O K   2 0 1   ( V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25213"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25214"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25215"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25216"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25217"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25218"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25219"
  },
  {
    "question": "What is 5.8.1 - APIService?",
    "answer": "a p i V e r s i o n :   a p i r e g i s t r a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / k u b e - a g g r e g a t o r / p k g / a p i s / a p i r e g i s t r a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25220"
  },
  {
    "question": "What is APIService?",
    "answer": "A P I S e r v i c e   r e p r e s e n t s   a   s e r v e r   f o r   a   p a r t i c u l a r   G r o u p V e r s i o n .   N a m e   m u s t   b e   \" v e r s i o n . g r o u p \" .   a p i V e r s i o n :   a p i r e g i s t r a t i o n . k 8 s . i o / v 1 k i n d :   A P I S e r v i c e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( A P I S e r v i c e S p e c ) S p e c   c o n t a i n s   i n f o r m a t i o n   f o r   l o c a t i n g   a n d   c o m m u n i c a t i n g   w i t h   a   s e r v e r s t a t u s   ( A P I S e r v i c e S t a t u s ) S t a t u s   c o n t a i n s   d e r i v e d   i n f o r m a t i o n   a b o u t   a n   A P I   s e r v e r   a p i V e r s i o n :   a p i r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   A P I S e r v i c e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( A P I S e r v i c e S p e c )   S p e c   c o n t a i n s   i n f o r m a t i o n   f o r   l o c a t i n g   a n d   c o m m u n i c a t i n g   w i t h   a   s e r v e r   s t a t u s   ( A P I S e r v i c e S t a t u s )   S t a t u s   c o n t a i n s   d e r i v e d   i n f o r m a t i o n   a b o u t   a n   A P I   s e r v e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25221"
  },
  {
    "question": "What is APIServiceSpec?",
    "answer": "A P I S e r v i c e S p e c   c o n t a i n s   i n f o r m a t i o n   f o r   l o c a t i n g   a n d   c o m m u n i c a t i n g   w i t h   a   s e r v e r .   O n l y   h t t p s   i s   s u p p o r t e d ,   t h o u g h   y o u   a r e   a b l e   t o   d i s a b l e   c e r t i f i c a t e   v e r i f i c a t i o n .   g r o u p P r i o r i t y M i n i m u m   ( i n t 3 2 ) ,   r e q u i r e d G r o u p P r i o r i t y M i n i m u m   i s   t h e   p r i o r i t y   t h i s   g r o u p   s h o u l d   h a v e   a t   l e a s t .   H i g h e r   p r i o r i t y   m e a n s   t h a t   t h e   g r o u p   i s   p r e f e r r e d   b y   c l i e n t s   o v e r   l o w e r   p r i o r i t y   o n e s .   N o t e   t h a t   o t h e r   v e r s i o n s   o f   t h i s   g r o u p   m i g h t   s p e c i f y   e v e n   h i g h e r   G r o u p P r i o r i t y M i n i m u m   v a l u e s   s u c h   t h a t   t h e   w h o l e   g r o u p   g e t s   a   h i g h e r   p r i o r i t y .   T h e   p r i m a r y   s o r t   i s   b a s e d   o n   G r o u p P r i o r i t y M i n i m u m ,   o r d e r e d   h i g h e s t   n u m b e r   t o   l o w e s t   ( 2 0   b e f o r e   1 0 ) .   T h e   s e c o n d a r y   s o r t   i s   b a s e d   o n   t h e   a l p h a b e t i c a l   c o m p a r i s o n   o f   t h e   n a m e   o f   t h e   o b j e c t .   ( v 1 . b a r   b e f o r e   v 1 . f o o )   W e ' d   r e c o m m e n d   s o m e t h i n g   l i k e :   * . k 8 s . i o   ( e x c e p t   e x t e n s i o n s )   a t   1 8 0 0 0   a n d   P a a S e s   ( O p e n S h i f t ,   D e i s )   a r e   r e c o m m e n d e d   t o   b e   i n   t h e   2 0 0 0 s v e r s i o n P r i o r i t y   ( i n t 3 2 ) ,   r e q u i r e d V e r s i o n P r i o r i t y   c o n t r o l s   t h e   o r d e r i n g   o f   t h i s   A P I   v e r s i o n   i n s i d e   o f   i t s   g r o u p .   M u s t   b e   g r e a t e r   t h a n   z e r o .   T h e   p r i m a r y   s o r t   i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25222"
  },
  {
    "question": "What is APIServiceStatus?",
    "answer": "A P I S e r v i c e S t a t u s   c o n t a i n s   d e r i v e d   i n f o r m a t i o n   a b o u t   a n   A P I   s e r v e r   c o n d i t i o n s   ( [ ] A P I S e r v i c e C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e C u r r e n t   s e r v i c e   s t a t e   o f   a p i S e r v i c e . A P I S e r v i c e C o n d i t i o n   d e s c r i b e s   t h e   s t a t e   o f   a n   A P I S e r v i c e   a t   a   p a r t i c u l a r   p o i n t c o n d i t i o n s . s t a t u s   ( s t r i n g ) ,   r e q u i r e d S t a t u s   i s   t h e   s t a t u s   o f   t h e   c o n d i t i o n .   C a n   b e   T r u e ,   F a l s e ,   U n k n o w n . c o n d i t i o n s . t y p e   ( s t r i n g ) ,   r e q u i r e d T y p e   i s   t h e   t y p e   o f   t h e   c o n d i t i o n . c o n d i t i o n s . l a s t T r a n s i t i o n T i m e   ( T i m e ) L a s t   t i m e   t h e   c o n d i t i o n   t r a n s i t i o n e d   f r o m   o n e   s t a t u s   t o   a n o t h e r . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c o n d i t i o n s . m e s s a g e   ( s t r i n g ) H u m a n - r e a d a b l e   m e s s a g e   i n d i c a t i n g   d e t a i l s   a b o u t   l a s t   t r a n s i t i o n . c o n d i t i o n s . r e a s o n   ( s t r i n g ) U n i q u e ,   o n e - w o r d ,   C a m e l C a s e   r e a s o n   f o r   t h e   c o n d i t i o n ' s   l a s t   t r a n s i t i o n .   c o n d i t i o n s   ( [ ] A P I S e r v i c e C o n d i t i o n )   P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25223"
  },
  {
    "question": "What is APIServiceList?",
    "answer": "A P I S e r v i c e L i s t   i s   a   l i s t   o f   A P I S e r v i c e   o b j e c t s .   a p i V e r s i o n :   a p i r e g i s t r a t i o n . k 8 s . i o / v 1 k i n d :   A P I S e r v i c e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] A P I S e r v i c e ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   A P I S e r v i c e   a p i V e r s i o n :   a p i r e g i s t r a t i o n . k 8 s . i o / v 1   k i n d :   A P I S e r v i c e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] A P I S e r v i c e ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   A P I S e r v i c e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25224"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25225"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   A P I S e r v i c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   A P I S e r v i c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25226"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( A P I S e r v i c e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25227"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25228"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   A P I S e r v i c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   A P I S e r v i c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25229"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( A P I S e r v i c e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25230"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25231"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25232"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( A P I S e r v i c e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25233"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25234"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   A P I S e r v i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   A P I S e r v i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25235"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( A P I S e r v i c e ) :   O K   2 0 1   ( A P I S e r v i c e ) :   C r e a t e d   2 0 2   ( A P I S e r v i c e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25236"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25237"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   A P I S e r v i c e b o d y :   A P I S e r v i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   A P I S e r v i c e   b o d y :   A P I S e r v i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25238"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( A P I S e r v i c e ) :   O K   2 0 1   ( A P I S e r v i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25239"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25240"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   A P I S e r v i c e b o d y :   A P I S e r v i c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   A P I S e r v i c e   b o d y :   A P I S e r v i c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25241"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( A P I S e r v i c e ) :   O K   2 0 1   ( A P I S e r v i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25242"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25243"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   A P I S e r v i c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   A P I S e r v i c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25244"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( A P I S e r v i c e ) :   O K   2 0 1   ( A P I S e r v i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25245"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25246"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   A P I S e r v i c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   A P I S e r v i c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25247"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( A P I S e r v i c e ) :   O K   2 0 1   ( A P I S e r v i c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25248"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25249"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   A P I S e r v i c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   A P I S e r v i c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25250"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25251"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25252"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25253"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25254"
  },
  {
    "question": "What is 5.8.2 - ComponentStatus?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25255"
  },
  {
    "question": "What is ComponentStatus?",
    "answer": "C o m p o n e n t S t a t u s   ( a n d   C o m p o n e n t S t a t u s L i s t )   h o l d s   t h e   c l u s t e r   v a l i d a t i o n   i n f o .   D e p r e c a t e d :   T h i s   A P I   i s   d e p r e c a t e d   i n   v 1 . 1 9 +   a p i V e r s i o n :   v 1 k i n d :   C o m p o n e n t S t a t u s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a c o n d i t i o n s   ( [ ] C o m p o n e n t C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e L i s t   o f   c o m p o n e n t   c o n d i t i o n s   o b s e r v e d I n f o r m a t i o n   a b o u t   t h e   c o n d i t i o n   o f   a   c o m p o n e n t . c o n d i t i o n s . s t a t u s   ( s t r i n g ) ,   r e q u i r e d S t a t u s   o f   t h e   c o n d i t i o n   f o r   a   c o m p o n e n t .   V a l i d   v a l u e s   f o r   \" H e a l t h y \" :   \" T r u e \" ,   \" F a l s e \" ,   o r   \" U n k n o w n \" . c o n d i t i o n s . t y p e   ( s t r i n g ) ,   r e q u i r e d T y p e   o f   c o n d i t i o n   f o r   a   c o m p o n e n t .   V a l i d   v a l u e :   \" H e a l t h y \" c o n d i t i o n s . e r r o r   ( s t r i n g ) C o n d i t i o n   e r r o r   c o d e   f o r   a   c o m p o n e n t .   F o r   e x a m p l e ,   a   h e a l t h   c h e c k   e r r o r   c o d e . c o n d i t i o n s . m e s s a g e   ( s t r i n g ) M e s s a g e   a b o u t   t h e   c o n d i t i o n   f o r   a   c o m p o n e n t .   F o r   e x a m p l e ,   i n f o r m a t i o n   a b o u t   a   h e a l t h   c h e c k .   a p i V e r s i o n :   v 1   k i n d :   C o m p o n e n t S t a t u s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25256"
  },
  {
    "question": "What is ComponentStatusList?",
    "answer": "S t a t u s   o f   a l l   t h e   c o n d i t i o n s   f o r   t h e   c o m p o n e n t   a s   a   l i s t   o f   C o m p o n e n t S t a t u s   o b j e c t s .   D e p r e c a t e d :   T h i s   A P I   i s   d e p r e c a t e d   i n   v 1 . 1 9 +   a p i V e r s i o n :   v 1 k i n d :   C o m p o n e n t S t a t u s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] C o m p o n e n t S t a t u s ) ,   r e q u i r e d L i s t   o f   C o m p o n e n t S t a t u s   o b j e c t s .   a p i V e r s i o n :   v 1   k i n d :   C o m p o n e n t S t a t u s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] C o m p o n e n t S t a t u s ) ,   r e q u i r e d   L i s t   o f   C o m p o n e n t S t a t u s   o b j e c t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25257"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / c o m p o n e n t s t a t u s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25258"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   C o m p o n e n t S t a t u s p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   C o m p o n e n t S t a t u s   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25259"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o m p o n e n t S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25260"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / c o m p o n e n t s t a t u s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25261"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25262"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( C o m p o n e n t S t a t u s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25263"
  },
  {
    "question": "What is 5.8.3 - Event?",
    "answer": "a p i V e r s i o n :   e v e n t s . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / e v e n t s / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25264"
  },
  {
    "question": "What is Event?",
    "answer": "E v e n t   i s   a   r e p o r t   o f   a n   e v e n t   s o m e w h e r e   i n   t h e   c l u s t e r .   I t   g e n e r a l l y   d e n o t e s   s o m e   s t a t e   c h a n g e   i n   t h e   s y s t e m .   E v e n t s   h a v e   a   l i m i t e d   r e t e n t i o n   t i m e   a n d   t r i g g e r s   a n d   m e s s a g e s   m a y   e v o l v e   w i t h   t i m e .   E v e n t   c o n s u m e r s   s h o u l d   n o t   r e l y   o n   t h e   t i m i n g   o f   a n   e v e n t   w i t h   a   g i v e n   R e a s o n   r e f l e c t i n g   a   c o n s i s t e n t   u n d e r l y i n g   t r i g g e r ,   o r   t h e   c o n t i n u e d   e x i s t e n c e   o f   e v e n t s   w i t h   t h a t   R e a s o n .   E v e n t s   s h o u l d   b e   t r e a t e d   a s   i n f o r m a t i v e ,   b e s t - e f f o r t ,   s u p p l e m e n t a l   d a t a .   a p i V e r s i o n :   e v e n t s . k 8 s . i o / v 1 k i n d :   E v e n t m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a e v e n t T i m e   ( M i c r o T i m e ) ,   r e q u i r e d e v e n t T i m e   i s   t h e   t i m e   w h e n   t h i s   E v e n t   w a s   f i r s t   o b s e r v e d .   I t   i s   r e q u i r e d . M i c r o T i m e   i s   v e r s i o n   o f   T i m e   w i t h   m i c r o s e c o n d   l e v e l   p r e c i s i o n . a c t i o n   ( s t r i n g ) a c t i o n   i s   w h a t   a c t i o n   w a s   t a k e n / f a i l e d   r e g a r d i n g   t o   t h e   r e g a r d i n g   o b j e c t .   I t   i s   m a c h i n e - r e a d a b l e .   T h i s   f i e l d   c a n n o t   b e   e m p t y   f o r   n e w   E v e n t s   a n d   i t   c a n   h a v e   a t   m o s t   1 2 8   c h a r a c t e r s . d e p r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25265"
  },
  {
    "question": "What is EventList?",
    "answer": "E v e n t L i s t   i s   a   l i s t   o f   E v e n t   o b j e c t s .   a p i V e r s i o n :   e v e n t s . k 8 s . i o / v 1 k i n d :   E v e n t L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] E v e n t ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .   a p i V e r s i o n :   e v e n t s . k 8 s . i o / v 1   k i n d :   E v e n t L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] E v e n t ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25266"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25267"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E v e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E v e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25268"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E v e n t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25269"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25270"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25271"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E v e n t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25272"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / e v e n t s . k 8 s . i o / v 1 / e v e n t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25273"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25274"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E v e n t L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25275"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25276"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   E v e n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   E v e n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25277"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E v e n t ) :   O K   2 0 1   ( E v e n t ) :   C r e a t e d   2 0 2   ( E v e n t ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25278"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25279"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E v e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   E v e n t ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E v e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   E v e n t ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25280"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E v e n t ) :   O K   2 0 1   ( E v e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25281"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25282"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E v e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E v e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25283"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( E v e n t ) :   O K   2 0 1   ( E v e n t ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25284"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25285"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   E v e n t n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   E v e n t   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25286"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25287"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25288"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25289"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25290"
  },
  {
    "question": "What is 5.8.4 - IPAddress?",
    "answer": "a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / n e t w o r k i n g / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25291"
  },
  {
    "question": "What is IPAddress?",
    "answer": "I P A d d r e s s   r e p r e s e n t s   a   s i n g l e   I P   o f   a   s i n g l e   I P   F a m i l y .   T h e   o b j e c t   i s   d e s i g n e d   t o   b e   u s e d   b y   A P I s   t h a t   o p e r a t e   o n   I P   a d d r e s s e s .   T h e   o b j e c t   i s   u s e d   b y   t h e   S e r v i c e   c o r e   A P I   f o r   a l l o c a t i o n   o f   I P   a d d r e s s e s .   A n   I P   a d d r e s s   c a n   b e   r e p r e s e n t e d   i n   d i f f e r e n t   f o r m a t s ,   t o   g u a r a n t e e   t h e   u n i q u e n e s s   o f   t h e   I P ,   t h e   n a m e   o f   t h e   o b j e c t   i s   t h e   I P   a d d r e s s   i n   c a n o n i c a l   f o r m a t ,   f o u r   d e c i m a l   d i g i t s   s e p a r a t e d   b y   d o t s   s u p p r e s s i n g   l e a d i n g   z e r o s   f o r   I P v 4   a n d   t h e   r e p r e s e n t a t i o n   d e f i n e d   b y   R F C   5 9 5 2   f o r   I P v 6 .   V a l i d :   1 9 2 . 1 6 8 . 1 . 5   o r   2 0 0 1 : d b 8 : : 1   o r   2 0 0 1 : d b 8 : a a a a : b b b b : c c c c : d d d d : e e e e : 1   I n v a l i d :   1 0 . 0 1 . 2 . 3   o r   2 0 0 1 : d b 8 : 0 : 0 : 0 : : 1   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   I P A d d r e s s m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( I P A d d r e s s S p e c ) s p e c   i s   t h e   d e s i r e d   s t a t e   o f   t h e   I P A d d r e s s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25292"
  },
  {
    "question": "What is IPAddressSpec?",
    "answer": "I P A d d r e s s S p e c   d e s c r i b e   t h e   a t t r i b u t e s   i n   a n   I P   A d d r e s s .   p a r e n t R e f   ( P a r e n t R e f e r e n c e ) ,   r e q u i r e d P a r e n t R e f   r e f e r e n c e s   t h e   r e s o u r c e   t h a t   a n   I P A d d r e s s   i s   a t t a c h e d   t o .   A n   I P A d d r e s s   m u s t   r e f e r e n c e   a   p a r e n t   o b j e c t . P a r e n t R e f e r e n c e   d e s c r i b e s   a   r e f e r e n c e   t o   a   p a r e n t   o b j e c t . p a r e n t R e f . n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   i s   t h e   n a m e   o f   t h e   o b j e c t   b e i n g   r e f e r e n c e d . p a r e n t R e f . r e s o u r c e   ( s t r i n g ) ,   r e q u i r e d R e s o u r c e   i s   t h e   r e s o u r c e   o f   t h e   o b j e c t   b e i n g   r e f e r e n c e d . p a r e n t R e f . g r o u p   ( s t r i n g ) G r o u p   i s   t h e   g r o u p   o f   t h e   o b j e c t   b e i n g   r e f e r e n c e d . p a r e n t R e f . n a m e s p a c e   ( s t r i n g ) N a m e s p a c e   i s   t h e   n a m e s p a c e   o f   t h e   o b j e c t   b e i n g   r e f e r e n c e d .   p a r e n t R e f   ( P a r e n t R e f e r e n c e ) ,   r e q u i r e d   P a r e n t R e f   r e f e r e n c e s   t h e   r e s o u r c e   t h a t   a n   I P A d d r e s s   i s   a t t a c h e d   t o .   A n   I P A d d r e s s   m u s t   r e f e r e n c e   a   p a r e n t   o b j e c t .   P a r e n t R e f e r e n c e   d e s c r i b e s   a   r e f e r e n c e   t o   a   p a r e n t   o b j e c t .   p a r e n t R e f . n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   i s   t h e   n a m e   o f   t h e   o b j e c t   b e i n g   r e f e r e n c e d . p a r e n t R e f . r e s o u r c e   ( s t r i n g ) ,   r e q u i r e d R e s o u r c e   i s   t h e   r e s o u r c e   o f   t h e   o b j e c t   b e i n g   r e f e r e n c e d . p a r e n t R e f . g r o u p   ( s t r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25293"
  },
  {
    "question": "What is IPAddressList?",
    "answer": "I P A d d r e s s L i s t   c o n t a i n s   a   l i s t   o f   I P A d d r e s s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   I P A d d r e s s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] I P A d d r e s s ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   I P A d d r e s s e s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   I P A d d r e s s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] I P A d d r e s s ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   I P A d d r e s s e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25294"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25295"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I P A d d r e s s p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I P A d d r e s s   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25296"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I P A d d r e s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25297"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25298"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25299"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I P A d d r e s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25300"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25301"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   I P A d d r e s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   I P A d d r e s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25302"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I P A d d r e s s ) :   O K   2 0 1   ( I P A d d r e s s ) :   C r e a t e d   2 0 2   ( I P A d d r e s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25303"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25304"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I P A d d r e s s b o d y :   I P A d d r e s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I P A d d r e s s   b o d y :   I P A d d r e s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25305"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I P A d d r e s s ) :   O K   2 0 1   ( I P A d d r e s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25306"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25307"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I P A d d r e s s b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I P A d d r e s s   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25308"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( I P A d d r e s s ) :   O K   2 0 1   ( I P A d d r e s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25309"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25310"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   I P A d d r e s s b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   I P A d d r e s s   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25311"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25312"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25313"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25314"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25315"
  },
  {
    "question": "What is 5.8.5 - Lease?",
    "answer": "a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / c o o r d i n a t i o n / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25316"
  },
  {
    "question": "What is Lease?",
    "answer": "L e a s e   d e f i n e s   a   l e a s e   c o n c e p t .   a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1 k i n d :   L e a s e m e t a d a t a   ( O b j e c t M e t a ) M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( L e a s e S p e c ) s p e c   c o n t a i n s   t h e   s p e c i f i c a t i o n   o f   t h e   L e a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1   k i n d :   L e a s e   m e t a d a t a   ( O b j e c t M e t a )   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( L e a s e S p e c )   s p e c   c o n t a i n s   t h e   s p e c i f i c a t i o n   o f   t h e   L e a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25317"
  },
  {
    "question": "What is LeaseSpec?",
    "answer": "L e a s e S p e c   i s   a   s p e c i f i c a t i o n   o f   a   L e a s e .   a c q u i r e T i m e   ( M i c r o T i m e ) a c q u i r e T i m e   i s   a   t i m e   w h e n   t h e   c u r r e n t   l e a s e   w a s   a c q u i r e d . M i c r o T i m e   i s   v e r s i o n   o f   T i m e   w i t h   m i c r o s e c o n d   l e v e l   p r e c i s i o n . h o l d e r I d e n t i t y   ( s t r i n g ) h o l d e r I d e n t i t y   c o n t a i n s   t h e   i d e n t i t y   o f   t h e   h o l d e r   o f   a   c u r r e n t   l e a s e .   I f   C o o r d i n a t e d   L e a d e r   E l e c t i o n   i s   u s e d ,   t h e   h o l d e r   i d e n t i t y   m u s t   b e   e q u a l   t o   t h e   e l e c t e d   L e a s e C a n d i d a t e . m e t a d a t a . n a m e   f i e l d . l e a s e D u r a t i o n S e c o n d s   ( i n t 3 2 ) l e a s e D u r a t i o n S e c o n d s   i s   a   d u r a t i o n   t h a t   c a n d i d a t e s   f o r   a   l e a s e   n e e d   t o   w a i t   t o   f o r c e   a c q u i r e   i t .   T h i s   i s   m e a s u r e d   a g a i n s t   t h e   t i m e   o f   l a s t   o b s e r v e d   r e n e w T i m e . l e a s e T r a n s i t i o n s   ( i n t 3 2 ) l e a s e T r a n s i t i o n s   i s   t h e   n u m b e r   o f   t r a n s i t i o n s   o f   a   l e a s e   b e t w e e n   h o l d e r s . p r e f e r r e d H o l d e r   ( s t r i n g ) P r e f e r r e d H o l d e r   s i g n a l s   t o   a   l e a s e   h o l d e r   t h a t   t h e   l e a s e   h a s   a   m o r e   o p t i m a l   h o l d e r   a n d   s h o u l d   b e   g i v e n   u p .   T h i s   f i e l d   c a n   o n l y   b e   s e t   i f   S t r a t e g y   i s   a l s o   s e t . r e n e w T i m e   ( M i c r o T i m e ) r e n e w T i m e   i s   a   t i m e   w h e n   t h e   c u r r e n t   h o l d e r   o f   a   l e a s e   h a s   l a s t   u p d a t e d   t h e   l e a s e . M i c r o T i m e   i s   v e r s i o n   o f   T i m e   w ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25318"
  },
  {
    "question": "What is LeaseList?",
    "answer": "L e a s e L i s t   i s   a   l i s t   o f   L e a s e   o b j e c t s .   a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1 k i n d :   L e a s e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] L e a s e ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .   a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1   k i n d :   L e a s e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] L e a s e ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25319"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25320"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L e a s e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L e a s e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25321"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25322"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25323"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25324"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25325"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / l e a s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25326"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25327"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25328"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25329"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   L e a s e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   L e a s e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25330"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e ) :   O K   2 0 1   ( L e a s e ) :   C r e a t e d   2 0 2   ( L e a s e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25331"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25332"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L e a s e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   L e a s e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L e a s e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   L e a s e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25333"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e ) :   O K   2 0 1   ( L e a s e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25334"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25335"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L e a s e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L e a s e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25336"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e ) :   O K   2 0 1   ( L e a s e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25337"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25338"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L e a s e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L e a s e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25339"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25340"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25341"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25342"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25343"
  },
  {
    "question": "What is 5.8.6 - LeaseCandidate v1beta1?",
    "answer": "a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1   i m p o r t   \" k 8 s . i o / a p i / c o o r d i n a t i o n / v 1 b e t a 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25344"
  },
  {
    "question": "What is LeaseCandidate?",
    "answer": "L e a s e C a n d i d a t e   d e f i n e s   a   c a n d i d a t e   f o r   a   L e a s e   o b j e c t .   C a n d i d a t e s   a r e   c r e a t e d   s u c h   t h a t   c o o r d i n a t e d   l e a d e r   e l e c t i o n   w i l l   p i c k   t h e   b e s t   l e a d e r   f r o m   t h e   l i s t   o f   c a n d i d a t e s .   a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 k i n d :   L e a s e C a n d i d a t e m e t a d a t a   ( O b j e c t M e t a ) M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( L e a s e C a n d i d a t e S p e c ) s p e c   c o n t a i n s   t h e   s p e c i f i c a t i o n   o f   t h e   L e a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1   k i n d :   L e a s e C a n d i d a t e   m e t a d a t a   ( O b j e c t M e t a )   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( L e a s e C a n d i d a t e S p e c )   s p e c   c o n t a i n s   t h e   s p e c i f i c a t i o n   o f   t h e   L e a s e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25345"
  },
  {
    "question": "What is LeaseCandidateSpec?",
    "answer": "L e a s e C a n d i d a t e S p e c   i s   a   s p e c i f i c a t i o n   o f   a   L e a s e .   b i n a r y V e r s i o n   ( s t r i n g ) ,   r e q u i r e d B i n a r y V e r s i o n   i s   t h e   b i n a r y   v e r s i o n .   I t   m u s t   b e   i n   a   s e m v e r   f o r m a t   w i t h o u t   l e a d i n g   v .   T h i s   f i e l d   i s   r e q u i r e d . l e a s e N a m e   ( s t r i n g ) ,   r e q u i r e d L e a s e N a m e   i s   t h e   n a m e   o f   t h e   l e a s e   f o r   w h i c h   t h i s   c a n d i d a t e   i s   c o n t e n d i n g .   T h e   l i m i t s   o n   t h i s   f i e l d   a r e   t h e   s a m e   a s   o n   L e a s e . n a m e .   M u l t i p l e   l e a s e   c a n d i d a t e s   m a y   r e f e r e n c e   t h e   s a m e   L e a s e . n a m e .   T h i s   f i e l d   i s   i m m u t a b l e . s t r a t e g y   ( s t r i n g ) ,   r e q u i r e d S t r a t e g y   i s   t h e   s t r a t e g y   t h a t   c o o r d i n a t e d   l e a d e r   e l e c t i o n   w i l l   u s e   f o r   p i c k i n g   t h e   l e a d e r .   I f   m u l t i p l e   c a n d i d a t e s   f o r   t h e   s a m e   L e a s e   r e t u r n   d i f f e r e n t   s t r a t e g i e s ,   t h e   s t r a t e g y   p r o v i d e d   b y   t h e   c a n d i d a t e   w i t h   t h e   l a t e s t   B i n a r y V e r s i o n   w i l l   b e   u s e d .   I f   t h e r e   i s   s t i l l   c o n f l i c t ,   t h i s   i s   a   u s e r   e r r o r   a n d   c o o r d i n a t e d   l e a d e r   e l e c t i o n   w i l l   n o t   o p e r a t e   t h e   L e a s e   u n t i l   r e s o l v e d . e m u l a t i o n V e r s i o n   ( s t r i n g ) E m u l a t i o n V e r s i o n   i s   t h e   e m u l a t i o n   v e r s i o n .   I t   m u s t   b e   i n   a   s e m v e r   f o r m a t   w i t h o u t   l e a d i n g   v .   E m u l a t i o n V e r s i o n   m u s t   b e   l e s s   t h a n   o r   e q u a l   t o   B i n a r y ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25346"
  },
  {
    "question": "What is LeaseCandidateList?",
    "answer": "L e a s e C a n d i d a t e L i s t   i s   a   l i s t   o f   L e a s e   o b j e c t s .   a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 k i n d :   L e a s e C a n d i d a t e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] L e a s e C a n d i d a t e ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .   a p i V e r s i o n :   c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1   k i n d :   L e a s e C a n d i d a t e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] L e a s e C a n d i d a t e ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25347"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25348"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L e a s e C a n d i d a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L e a s e C a n d i d a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25349"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e C a n d i d a t e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25350"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25351"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25352"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e C a n d i d a t e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25353"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / l e a s e c a n d i d a t e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25354"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25355"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e C a n d i d a t e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25356"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25357"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   L e a s e C a n d i d a t e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   L e a s e C a n d i d a t e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25358"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e C a n d i d a t e ) :   O K   2 0 1   ( L e a s e C a n d i d a t e ) :   C r e a t e d   2 0 2   ( L e a s e C a n d i d a t e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25359"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25360"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L e a s e C a n d i d a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   L e a s e C a n d i d a t e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L e a s e C a n d i d a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   L e a s e C a n d i d a t e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25361"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e C a n d i d a t e ) :   O K   2 0 1   ( L e a s e C a n d i d a t e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25362"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25363"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L e a s e C a n d i d a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L e a s e C a n d i d a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25364"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( L e a s e C a n d i d a t e ) :   O K   2 0 1   ( L e a s e C a n d i d a t e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25365"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25366"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   L e a s e C a n d i d a t e n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   L e a s e C a n d i d a t e   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25367"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25368"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25369"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e s p a c e b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e s p a c e   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25370"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25371"
  },
  {
    "question": "What is 5.8.7 - Namespace?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25372"
  },
  {
    "question": "What is Namespace?",
    "answer": "N a m e s p a c e   p r o v i d e s   a   s c o p e   f o r   N a m e s .   U s e   o f   m u l t i p l e   n a m e s p a c e s   i s   o p t i o n a l .   a p i V e r s i o n :   v 1 k i n d :   N a m e s p a c e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( N a m e s p a c e S p e c ) S p e c   d e f i n e s   t h e   b e h a v i o r   o f   t h e   N a m e s p a c e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( N a m e s p a c e S t a t u s ) S t a t u s   d e s c r i b e s   t h e   c u r r e n t   s t a t u s   o f   a   N a m e s p a c e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   v 1   k i n d :   N a m e s p a c e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( N a m e s p a c e S p e c )   S p e c   d e f i n e s   t h e   b e h a v i o r   o f   t h e   N a m e s p a c e .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   s t a t u s   ( N a m e s p a c e S t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25373"
  },
  {
    "question": "What is NamespaceSpec?",
    "answer": "N a m e s p a c e S p e c   d e s c r i b e s   t h e   a t t r i b u t e s   o n   a   N a m e s p a c e .   f i n a l i z e r s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e F i n a l i z e r s   i s   a n   o p a q u e   l i s t   o f   v a l u e s   t h a t   m u s t   b e   e m p t y   t o   p e r m a n e n t l y   r e m o v e   o b j e c t   f r o m   s t o r a g e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / a d m i n i s t e r - c l u s t e r / n a m e s p a c e s /   f i n a l i z e r s   ( [ ] s t r i n g )   A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e   F i n a l i z e r s   i s   a n   o p a q u e   l i s t   o f   v a l u e s   t h a t   m u s t   b e   e m p t y   t o   p e r m a n e n t l y   r e m o v e   o b j e c t   f r o m   s t o r a g e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / a d m i n i s t e r - c l u s t e r / n a m e s p a c e s /",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25374"
  },
  {
    "question": "What is NamespaceStatus?",
    "answer": "N a m e s p a c e S t a t u s   i s   i n f o r m a t i o n   a b o u t   t h e   c u r r e n t   s t a t u s   o f   a   N a m e s p a c e .   c o n d i t i o n s   ( [ ] N a m e s p a c e C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e R e p r e s e n t s   t h e   l a t e s t   a v a i l a b l e   o b s e r v a t i o n s   o f   a   n a m e s p a c e ' s   c u r r e n t   s t a t e . N a m e s p a c e C o n d i t i o n   c o n t a i n s   d e t a i l s   a b o u t   s t a t e   o f   n a m e s p a c e . c o n d i t i o n s . s t a t u s   ( s t r i n g ) ,   r e q u i r e d S t a t u s   o f   t h e   c o n d i t i o n ,   o n e   o f   T r u e ,   F a l s e ,   U n k n o w n . c o n d i t i o n s . t y p e   ( s t r i n g ) ,   r e q u i r e d T y p e   o f   n a m e s p a c e   c o n t r o l l e r   c o n d i t i o n . c o n d i t i o n s . l a s t T r a n s i t i o n T i m e   ( T i m e ) L a s t   t i m e   t h e   c o n d i t i o n   t r a n s i t i o n e d   f r o m   o n e   s t a t u s   t o   a n o t h e r . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c o n d i t i o n s . m e s s a g e   ( s t r i n g ) H u m a n - r e a d a b l e   m e s s a g e   i n d i c a t i n g   d e t a i l s   a b o u t   l a s t   t r a n s i t i o n . c o n d i t i o n s . r e a s o n   ( s t r i n g ) U n i q u e ,   o n e - w o r d ,   C a m e l C a s e   r e a s o n   f o r   t h e   c o n d i t i o n ' s   l a s t   t r a n s i t i o n . p h a s e   ( s t r i n g ) P h a s e   i s   t h e   c u r r e n t   l i f e c y c l e   p h ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25375"
  },
  {
    "question": "What is NamespaceList?",
    "answer": "N a m e s p a c e L i s t   i s   a   l i s t   o f   N a m e s p a c e s .   a p i V e r s i o n :   v 1 k i n d :   N a m e s p a c e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] N a m e s p a c e ) ,   r e q u i r e d I t e m s   i s   t h e   l i s t   o f   N a m e s p a c e   o b j e c t s   i n   t h e   l i s t .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s p a c e s /   a p i V e r s i o n :   v 1   k i n d :   N a m e s p a c e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] N a m e s p a c e ) ,   r e q u i r e d   I t e m s   i s   t h e   l i s t   o f   N a m e s p a c e   o b j e c t s   i n   t h e   l i s t .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s p a c e s /",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25376"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25377"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25378"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25379"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25380"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N a m e s p a c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N a m e s p a c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25381"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25382"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25383"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25384"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25385"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25386"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   N a m e s p a c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   N a m e s p a c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25387"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e ) :   O K   2 0 1   ( N a m e s p a c e ) :   C r e a t e d   2 0 2   ( N a m e s p a c e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25388"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25389"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N a m e s p a c e b o d y :   N a m e s p a c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N a m e s p a c e   b o d y :   N a m e s p a c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25390"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e ) :   O K   2 0 1   ( N a m e s p a c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25391"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e } / f i n a l i z e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25392"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N a m e s p a c e b o d y :   N a m e s p a c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N a m e s p a c e   b o d y :   N a m e s p a c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25393"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e ) :   O K   2 0 1   ( N a m e s p a c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25394"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25395"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N a m e s p a c e b o d y :   N a m e s p a c e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N a m e s p a c e   b o d y :   N a m e s p a c e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25396"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e ) :   O K   2 0 1   ( N a m e s p a c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25397"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25398"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25399"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e ) :   O K   2 0 1   ( N a m e s p a c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25400"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25401"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N a m e s p a c e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N a m e s p a c e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25402"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N a m e s p a c e ) :   O K   2 0 1   ( N a m e s p a c e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25403"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25404"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N a m e s p a c e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N a m e s p a c e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25405"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25406"
  },
  {
    "question": "What is 5.8.8 - Node?",
    "answer": "a p i V e r s i o n :   v 1   i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25407"
  },
  {
    "question": "What is Node?",
    "answer": "N o d e   i s   a   w o r k e r   n o d e   i n   K u b e r n e t e s .   E a c h   n o d e   w i l l   h a v e   a   u n i q u e   i d e n t i f i e r   i n   t h e   c a c h e   ( i . e .   i n   e t c d ) .   a p i V e r s i o n :   v 1 k i n d :   N o d e m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( N o d e S p e c ) S p e c   d e f i n e s   t h e   b e h a v i o r   o f   a   n o d e .   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( N o d e S t a t u s ) M o s t   r e c e n t l y   o b s e r v e d   s t a t u s   o f   t h e   n o d e .   P o p u l a t e d   b y   t h e   s y s t e m .   R e a d - o n l y .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   v 1   k i n d :   N o d e   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( N o d e S p e c )   S p e c   d e f i n e s   t h e   b e h a v i o r   o f   a   n o d e .   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   s t a t u s   ( N o d e S t a t u s )   M o s t   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25408"
  },
  {
    "question": "What is NodeSpec?",
    "answer": "N o d e S p e c   d e s c r i b e s   t h e   a t t r i b u t e s   t h a t   a   n o d e   i s   c r e a t e d   w i t h .   c o n f i g S o u r c e   ( N o d e C o n f i g S o u r c e ) D e p r e c a t e d :   P r e v i o u s l y   u s e d   t o   s p e c i f y   t h e   s o u r c e   o f   t h e   n o d e ' s   c o n f i g u r a t i o n   f o r   t h e   D y n a m i c K u b e l e t C o n f i g   f e a t u r e .   T h i s   f e a t u r e   i s   r e m o v e d . N o d e C o n f i g S o u r c e   s p e c i f i e s   a   s o u r c e   o f   n o d e   c o n f i g u r a t i o n .   E x a c t l y   o n e   s u b f i e l d   ( e x c l u d i n g   m e t a d a t a )   m u s t   b e   n o n - n i l .   T h i s   A P I   i s   d e p r e c a t e d   s i n c e   1 . 2 2 c o n f i g S o u r c e . c o n f i g M a p   ( C o n f i g M a p N o d e C o n f i g S o u r c e ) C o n f i g M a p   i s   a   r e f e r e n c e   t o   a   N o d e ' s   C o n f i g M a p C o n f i g M a p N o d e C o n f i g S o u r c e   c o n t a i n s   t h e   i n f o r m a t i o n   t o   r e f e r e n c e   a   C o n f i g M a p   a s   a   c o n f i g   s o u r c e   f o r   t h e   N o d e .   T h i s   A P I   i s   d e p r e c a t e d   s i n c e   1 . 2 2 :   h t t p s : / / g i t . k 8 s . i o / e n h a n c e m e n t s / k e p s / s i g - n o d e / 2 8 1 - d y n a m i c - k u b e l e t - c o n f i g u r a t i o n c o n f i g S o u r c e . c o n f i g M a p . k u b e l e t C o n f i g K e y   ( s t r i n g ) ,   r e q u i r e d K u b e l e t C o n f i g K e y   d e c l a r e s   w h i c h   k e y   o f   t h e   r e f e r e n c e d   C o n f i g M a p   c o r r e s p o n d s   t o   t h e   K u b e l e t C o n f i g u r a t i o n   s t r u c t u r e   T h i s   f i e l d   i s   r e q u i r e d   i n   a l l   c a s e s . c o n f i g S o u r c e . c o n f i g M a p . n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   i s   t h e   m e t a d a t a . n a m e   o f   t h e   r e f e r e n c e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25409"
  },
  {
    "question": "What is NodeStatus?",
    "answer": "N o d e S t a t u s   i s   i n f o r m a t i o n   a b o u t   t h e   c u r r e n t   s t a t u s   o f   a   n o d e .   a d d r e s s e s   ( [ ] N o d e A d d r e s s ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e L i s t   o f   a d d r e s s e s   r e a c h a b l e   t o   t h e   n o d e .   Q u e r i e d   f r o m   c l o u d   p r o v i d e r ,   i f   a v a i l a b l e .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / n o d e / n o d e - s t a t u s / # a d d r e s s e s   N o t e :   T h i s   f i e l d   i s   d e c l a r e d   a s   m e r g e a b l e ,   b u t   t h e   m e r g e   k e y   i s   n o t   s u f f i c i e n t l y   u n i q u e ,   w h i c h   c a n   c a u s e   d a t a   c o r r u p t i o n   w h e n   i t   i s   m e r g e d .   C a l l e r s   s h o u l d   i n s t e a d   u s e   a   f u l l - r e p l a c e m e n t   p a t c h .   S e e   h t t p s : / / p r . k 8 s . i o / 7 9 3 9 1   f o r   a n   e x a m p l e .   C o n s u m e r s   s h o u l d   a s s u m e   t h a t   a d d r e s s e s   c a n   c h a n g e   d u r i n g   t h e   l i f e t i m e   o f   a   N o d e .   H o w e v e r ,   t h e r e   a r e   s o m e   e x c e p t i o n s   w h e r e   t h i s   m a y   n o t   b e   p o s s i b l e ,   s u c h   a s   P o d s   t h a t   i n h e r i t   a   N o d e ' s   a d d r e s s   i n   i t s   o w n   s t a t u s   o r   c o n s u m e r s   o f   t h e   d o w n w a r d   A P I   ( s t a t u s . h o s t I P ) . N o d e A d d r e s s   c o n t a i n s   i n f o r m a t i o n   f o r   t h e   n o d e ' s   a d d r e s s . a d d r e s s e s . a d d r e s s   ( s t r i n g ) ,   r e q u i r e d T h e   n o d e   a d d r e s s . a d d r e s s e s . t y p e   ( s t r i n g ) ,   r e q u i r e d N o d e   a d d r e s s   t y p e ,   o n e   o f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25410"
  },
  {
    "question": "What is NodeList?",
    "answer": "N o d e L i s t   i s   t h e   w h o l e   l i s t   o f   a l l   N o d e s   w h i c h   h a v e   b e e n   r e g i s t e r e d   w i t h   m a s t e r .   a p i V e r s i o n :   v 1 k i n d :   N o d e L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s i t e m s   ( [ ] N o d e ) ,   r e q u i r e d L i s t   o f   n o d e s   a p i V e r s i o n :   v 1   k i n d :   N o d e L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   i t e m s   ( [ ] N o d e ) ,   r e q u i r e d   L i s t   o f   n o d e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25411"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25412"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N o d e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N o d e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25413"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N o d e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25414"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n o d e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25415"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N o d e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N o d e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25416"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N o d e ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25417"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n o d e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25418"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25419"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N o d e L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25420"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n o d e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25421"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   N o d e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   N o d e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25422"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N o d e ) :   O K   2 0 1   ( N o d e ) :   C r e a t e d   2 0 2   ( N o d e ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25423"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25424"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N o d e b o d y :   N o d e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N o d e   b o d y :   N o d e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25425"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N o d e ) :   O K   2 0 1   ( N o d e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25426"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n o d e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25427"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N o d e b o d y :   N o d e ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N o d e   b o d y :   N o d e ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25428"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N o d e ) :   O K   2 0 1   ( N o d e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25429"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25430"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N o d e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N o d e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25431"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N o d e ) :   O K   2 0 1   ( N o d e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25432"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n o d e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25433"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N o d e b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N o d e   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25434"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( N o d e ) :   O K   2 0 1   ( N o d e ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25435"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25436"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   N o d e b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   N o d e   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25437"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25438"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n o d e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25439"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25440"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25441"
  },
  {
    "question": "What is 5.8.9 - RuntimeClass?",
    "answer": "a p i V e r s i o n :   n o d e . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / n o d e / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25442"
  },
  {
    "question": "What is RuntimeClass?",
    "answer": "R u n t i m e C l a s s   d e f i n e s   a   c l a s s   o f   c o n t a i n e r   r u n t i m e   s u p p o r t e d   i n   t h e   c l u s t e r .   T h e   R u n t i m e C l a s s   i s   u s e d   t o   d e t e r m i n e   w h i c h   c o n t a i n e r   r u n t i m e   i s   u s e d   t o   r u n   a l l   c o n t a i n e r s   i n   a   p o d .   R u n t i m e C l a s s e s   a r e   m a n u a l l y   d e f i n e d   b y   a   u s e r   o r   c l u s t e r   p r o v i s i o n e r ,   a n d   r e f e r e n c e d   i n   t h e   P o d S p e c .   T h e   K u b e l e t   i s   r e s p o n s i b l e   f o r   r e s o l v i n g   t h e   R u n t i m e C l a s s N a m e   r e f e r e n c e   b e f o r e   r u n n i n g   t h e   p o d .   F o r   m o r e   d e t a i l s ,   s e e   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / c o n t a i n e r s / r u n t i m e - c l a s s /   a p i V e r s i o n :   n o d e . k 8 s . i o / v 1 k i n d :   R u n t i m e C l a s s m e t a d a t a   ( O b j e c t M e t a ) M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a h a n d l e r   ( s t r i n g ) ,   r e q u i r e d h a n d l e r   s p e c i f i e s   t h e   u n d e r l y i n g   r u n t i m e   a n d   c o n f i g u r a t i o n   t h a t   t h e   C R I   i m p l e m e n t a t i o n   w i l l   u s e   t o   h a n d l e   p o d s   o f   t h i s   c l a s s .   T h e   p o s s i b l e   v a l u e s   a r e   s p e c i f i c   t o   t h e   n o d e   &   C R I   c o n f i g u r a t i o n .   I t   i s   a s s u m e d   t h a t   a l l   h a n d l e r s   a r e   a v a i l a b l e   o n   e v e r y   n o d e ,   a n d   h a n d l e r s   o f   t h e   s a m e   n a m e   a r e   e q u i v a l e n t   o n   e v e r y   n o d e .   F o r   e x a m p l e ,   a   h a n d l e r   c a l l e d   \" r u n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25443"
  },
  {
    "question": "What is RuntimeClassList?",
    "answer": "R u n t i m e C l a s s L i s t   i s   a   l i s t   o f   R u n t i m e C l a s s   o b j e c t s .   a p i V e r s i o n :   n o d e . k 8 s . i o / v 1 k i n d :   R u n t i m e C l a s s L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] R u n t i m e C l a s s ) ,   r e q u i r e d i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .   a p i V e r s i o n :   n o d e . k 8 s . i o / v 1   k i n d :   R u n t i m e C l a s s L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] R u n t i m e C l a s s ) ,   r e q u i r e d   i t e m s   i s   a   l i s t   o f   s c h e m a   o b j e c t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25444"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25445"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R u n t i m e C l a s s p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R u n t i m e C l a s s   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25446"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R u n t i m e C l a s s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25447"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25448"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25449"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R u n t i m e C l a s s L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25450"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25451"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   R u n t i m e C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   R u n t i m e C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25452"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R u n t i m e C l a s s ) :   O K   2 0 1   ( R u n t i m e C l a s s ) :   C r e a t e d   2 0 2   ( R u n t i m e C l a s s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25453"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25454"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R u n t i m e C l a s s b o d y :   R u n t i m e C l a s s ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R u n t i m e C l a s s   b o d y :   R u n t i m e C l a s s ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25455"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R u n t i m e C l a s s ) :   O K   2 0 1   ( R u n t i m e C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25456"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25457"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R u n t i m e C l a s s b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R u n t i m e C l a s s   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25458"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( R u n t i m e C l a s s ) :   O K   2 0 1   ( R u n t i m e C l a s s ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25459"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25460"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   R u n t i m e C l a s s b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   R u n t i m e C l a s s   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25461"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25462"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25463"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25464"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25465"
  },
  {
    "question": "What is 5.8.10 - ServiceCIDR?",
    "answer": "a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   i m p o r t   \" k 8 s . i o / a p i / n e t w o r k i n g / v 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25466"
  },
  {
    "question": "What is ServiceCIDR?",
    "answer": "S e r v i c e C I D R   d e f i n e s   a   r a n g e   o f   I P   a d d r e s s e s   u s i n g   C I D R   f o r m a t   ( e . g .   1 9 2 . 1 6 8 . 0 . 0 / 2 4   o r   2 0 0 1 : d b 2 : : / 6 4 ) .   T h i s   r a n g e   i s   u s e d   t o   a l l o c a t e   C l u s t e r I P s   t o   S e r v i c e   o b j e c t s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   S e r v i c e C I D R m e t a d a t a   ( O b j e c t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a s p e c   ( S e r v i c e C I D R S p e c ) s p e c   i s   t h e   d e s i r e d   s t a t e   o f   t h e   S e r v i c e C I D R .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s s t a t u s   ( S e r v i c e C I D R S t a t u s ) s t a t u s   r e p r e s e n t s   t h e   c u r r e n t   s t a t e   o f   t h e   S e r v i c e C I D R .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # s p e c - a n d - s t a t u s   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   S e r v i c e C I D R   m e t a d a t a   ( O b j e c t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   s p e c   ( S e r v i c e C I D R S p e c )   s p e c   i s   t h e   d e s i r e d   s t a t e   o f   t h e   S e r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25467"
  },
  {
    "question": "What is ServiceCIDRSpec?",
    "answer": "S e r v i c e C I D R S p e c   d e f i n e   t h e   C I D R s   t h e   u s e r   w a n t s   t o   u s e   f o r   a l l o c a t i n g   C l u s t e r I P s   f o r   S e r v i c e s .   c i d r s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e C I D R s   d e f i n e s   t h e   I P   b l o c k s   i n   C I D R   n o t a t i o n   ( e . g .   \" 1 9 2 . 1 6 8 . 0 . 0 / 2 4 \"   o r   \" 2 0 0 1 : d b 8 : : / 6 4 \" )   f r o m   w h i c h   t o   a s s i g n   s e r v i c e   c l u s t e r   I P s .   M a x   o f   t w o   C I D R s   i s   a l l o w e d ,   o n e   o f   e a c h   I P   f a m i l y .   T h i s   f i e l d   i s   i m m u t a b l e .   c i d r s   ( [ ] s t r i n g )   A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e   C I D R s   d e f i n e s   t h e   I P   b l o c k s   i n   C I D R   n o t a t i o n   ( e . g .   \" 1 9 2 . 1 6 8 . 0 . 0 / 2 4 \"   o r   \" 2 0 0 1 : d b 8 : : / 6 4 \" )   f r o m   w h i c h   t o   a s s i g n   s e r v i c e   c l u s t e r   I P s .   M a x   o f   t w o   C I D R s   i s   a l l o w e d ,   o n e   o f   e a c h   I P   f a m i l y .   T h i s   f i e l d   i s   i m m u t a b l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25468"
  },
  {
    "question": "What is ServiceCIDRStatus?",
    "answer": "S e r v i c e C I D R S t a t u s   d e s c r i b e s   t h e   c u r r e n t   s t a t e   o f   t h e   S e r v i c e C I D R .   c o n d i t i o n s   ( [ ] C o n d i t i o n ) P a t c h   s t r a t e g y :   m e r g e   o n   k e y   t y p e M a p :   u n i q u e   v a l u e s   o n   k e y   t y p e   w i l l   b e   k e p t   d u r i n g   a   m e r g e c o n d i t i o n s   h o l d s   a n   a r r a y   o f   m e t a v 1 . C o n d i t i o n   t h a t   d e s c r i b e   t h e   s t a t e   o f   t h e   S e r v i c e C I D R .   C u r r e n t   s e r v i c e   s t a t e C o n d i t i o n   c o n t a i n s   d e t a i l s   f o r   o n e   a s p e c t   o f   t h e   c u r r e n t   s t a t e   o f   t h i s   A P I   R e s o u r c e . c o n d i t i o n s . l a s t T r a n s i t i o n T i m e   ( T i m e ) ,   r e q u i r e d l a s t T r a n s i t i o n T i m e   i s   t h e   l a s t   t i m e   t h e   c o n d i t i o n   t r a n s i t i o n e d   f r o m   o n e   s t a t u s   t o   a n o t h e r .   T h i s   s h o u l d   b e   w h e n   t h e   u n d e r l y i n g   c o n d i t i o n   c h a n g e d .   I f   t h a t   i s   n o t   k n o w n ,   t h e n   u s i n g   t h e   t i m e   w h e n   t h e   A P I   f i e l d   c h a n g e d   i s   a c c e p t a b l e . T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . c o n d i t i o n s . m e s s a g e   ( s t r i n g ) ,   r e q u i r e d m e s s a g e   i s   a   h u m a n   r e a d a b l e   m e s s a g e   i n d i c a t i n g   d e t a i l s   a b o u t   t h e   t r a n s i t i o n .   T h i s   m a y   b e   a n   e m p t y   s t r i n g . c o n d i t i o n s . r e a s o n   ( s t r i n g ) ,   r e q u i r e d r e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25469"
  },
  {
    "question": "What is ServiceCIDRList?",
    "answer": "S e r v i c e C I D R L i s t   c o n t a i n s   a   l i s t   o f   S e r v i c e C I D R   o b j e c t s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1 k i n d :   S e r v i c e C I D R L i s t m e t a d a t a   ( L i s t M e t a ) S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a i t e m s   ( [ ] S e r v i c e C I D R ) ,   r e q u i r e d i t e m s   i s   t h e   l i s t   o f   S e r v i c e C I D R s .   a p i V e r s i o n :   n e t w o r k i n g . k 8 s . i o / v 1   k i n d :   S e r v i c e C I D R L i s t   m e t a d a t a   ( L i s t M e t a )   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   i t e m s   ( [ ] S e r v i c e C I D R ) ,   r e q u i r e d   i t e m s   i s   t h e   l i s t   o f   S e r v i c e C I D R s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25470"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25471"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e C I D R p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e C I D R   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25472"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e C I D R ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25473"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25474"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e C I D R p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e C I D R   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25475"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e C I D R ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25476"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25477"
  },
  {
    "question": "What is Parameters?",
    "answer": "a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n a l l o w W a t c h B o o k m a r k s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s w a t c h   ( i n   q u e r y ) :   b o o l e a n w a t c h   a l l o w W a t c h B o o k m a r k s   ( i n   q u e r y ) :   b o o l e a n   a l l o w W a t c h B o o k m a r k s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   l a b e l S e l e c t o r   l i m i t   ( i n   q u e r y ) :   i n t e g e r   l i m i t   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n   r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g   r e s o u r c e V e r s i o n M a t c h   s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n   s e n d I n i t i a l E v e n t s   t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   t i m e o u t S e c o n d s   w a t c h   ( i n   q u e r y ) :   b o o l e a n   w a t c h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25478"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e C I D R L i s t ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25479"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25480"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   S e r v i c e C I D R ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   b o d y :   S e r v i c e C I D R ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25481"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e C I D R ) :   O K   2 0 1   ( S e r v i c e C I D R ) :   C r e a t e d   2 0 2   ( S e r v i c e C I D R ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25482"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25483"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e C I D R b o d y :   S e r v i c e C I D R ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e C I D R   b o d y :   S e r v i c e C I D R ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25484"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e C I D R ) :   O K   2 0 1   ( S e r v i c e C I D R ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25485"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25486"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e C I D R b o d y :   S e r v i c e C I D R ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e C I D R   b o d y :   S e r v i c e C I D R ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25487"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e C I D R ) :   O K   2 0 1   ( S e r v i c e C I D R ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25488"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25489"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e C I D R b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e C I D R   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25490"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e C I D R ) :   O K   2 0 1   ( S e r v i c e C I D R ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25491"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25492"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e C I D R b o d y :   P a t c h ,   r e q u i r e d d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g f i e l d M a n a g e r f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g f i e l d V a l i d a t i o n f o r c e   ( i n   q u e r y ) :   b o o l e a n f o r c e p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e C I D R   b o d y :   P a t c h ,   r e q u i r e d   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d M a n a g e r   ( i n   q u e r y ) :   s t r i n g   f i e l d M a n a g e r   f i e l d V a l i d a t i o n   ( i n   q u e r y ) :   s t r i n g   f i e l d V a l i d a t i o n   f o r c e   ( i n   q u e r y ) :   b o o l e a n   f o r c e   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25493"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S e r v i c e C I D R ) :   O K   2 0 1   ( S e r v i c e C I D R ) :   C r e a t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25494"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25495"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d n a m e   o f   t h e   S e r v i c e C I D R b o d y :   D e l e t e O p t i o n s d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y   n a m e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   n a m e   o f   t h e   S e r v i c e C I D R   b o d y :   D e l e t e O p t i o n s   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   p r e t t y   ( i n   q u e r y ) :   s t r i n g   p r e t t y   p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g   p r o p a g a t i o n P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25496"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   2 0 2   ( S t a t u s ) :   A c c e p t e d   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25497"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25498"
  },
  {
    "question": "What is Parameters?",
    "answer": "b o d y :   D e l e t e O p t i o n s c o n t i n u e   ( i n   q u e r y ) :   s t r i n g c o n t i n u e d r y R u n   ( i n   q u e r y ) :   s t r i n g d r y R u n f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g f i e l d S e l e c t o r g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r g r a c e P e r i o d S e c o n d s i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l l a b e l S e l e c t o r   ( i n   q u e r y ) :   s t r i n g l a b e l S e l e c t o r l i m i t   ( i n   q u e r y ) :   i n t e g e r l i m i t p r e t t y   ( i n   q u e r y ) :   s t r i n g p r e t t y p r o p a g a t i o n P o l i c y   ( i n   q u e r y ) :   s t r i n g p r o p a g a t i o n P o l i c y r e s o u r c e V e r s i o n   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n r e s o u r c e V e r s i o n M a t c h   ( i n   q u e r y ) :   s t r i n g r e s o u r c e V e r s i o n M a t c h s e n d I n i t i a l E v e n t s   ( i n   q u e r y ) :   b o o l e a n s e n d I n i t i a l E v e n t s t i m e o u t S e c o n d s   ( i n   q u e r y ) :   i n t e g e r t i m e o u t S e c o n d s   b o d y :   D e l e t e O p t i o n s   c o n t i n u e   ( i n   q u e r y ) :   s t r i n g   c o n t i n u e   d r y R u n   ( i n   q u e r y ) :   s t r i n g   d r y R u n   f i e l d S e l e c t o r   ( i n   q u e r y ) :   s t r i n g   f i e l d S e l e c t o r   g r a c e P e r i o d S e c o n d s   ( i n   q u e r y ) :   i n t e g e r   g r a c e P e r i o d S e c o n d s   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   ( i n   q u e r y ) :   b o o l e a n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   l a b e l S e l e c t o r   ( ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25499"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0   ( S t a t u s ) :   O K   4 0 1 :   U n a u t h o r i z e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25500"
  },
  {
    "question": "What is 5.9.1 - DeleteOptions?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i m a c h i n e r y / p k g / a p i s / m e t a / v 1 \"   D e l e t e O p t i o n s   m a y   b e   p r o v i d e d   w h e n   d e l e t i n g   a n   A P I   o b j e c t .   a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s d r y R u n   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e W h e n   p r e s e n t ,   i n d i c a t e s   t h a t   m o d i f i c a t i o n s   s h o u l d   n o t   b e   p e r s i s t e d .   A n   i n v a l i d   o r   u n r e c o g n i z e d   d r y R u n   d i r e c t i v e   w i l l   r e s u l t   i n   a n   e r r o r   r e s p o n s e   a n d   n o   f u r t h e r   p r o c e s s i n g   o f   t h e   r e q u e s t .   V a l i d   v a l u e s   a r e :   -   A l l :   a l l   d r y   r u n   s t a g e s   w i l l   b e   p r o c e s s e d g r a c e P e r i o d S e c o n d s   ( i n t 6 4 ) T h e   d u r a t i o n   i n   s e c o n d s   b e f o r e   t h e   o b j e c t   s h o u l d   b e   d e l e t e d .   V a l u e   m u s t   b e   n o n - n e g a t i v e   i n t e g e r .   T h e   v a l u e   z e r o   i n d i c a t e s   d e l e t e   i m m e d i a t e l y .   I f   t h i s   v a l u e   i s   n i l ,   t h e   d e f a u l t   g r a c e   p e r i o d   f o r   t h e   s p e c i f i e d   t y p e   w i l l   b e   u s e d .   D e f a u l t s   t o   a   p e r   o b j e c t   v a l u e   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25501"
  },
  {
    "question": "What is 5.9.2 - LabelSelector?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i m a c h i n e r y / p k g / a p i s / m e t a / v 1 \"   A   l a b e l   s e l e c t o r   i s   a   l a b e l   q u e r y   o v e r   a   s e t   o f   r e s o u r c e s .   T h e   r e s u l t   o f   m a t c h L a b e l s   a n d   m a t c h E x p r e s s i o n s   a r e   A N D e d .   A n   e m p t y   l a b e l   s e l e c t o r   m a t c h e s   a l l   o b j e c t s .   A   n u l l   l a b e l   s e l e c t o r   m a t c h e s   n o   o b j e c t s .   m a t c h E x p r e s s i o n s   ( [ ] L a b e l S e l e c t o r R e q u i r e m e n t ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e m a t c h E x p r e s s i o n s   i s   a   l i s t   o f   l a b e l   s e l e c t o r   r e q u i r e m e n t s .   T h e   r e q u i r e m e n t s   a r e   A N D e d . A   l a b e l   s e l e c t o r   r e q u i r e m e n t   i s   a   s e l e c t o r   t h a t   c o n t a i n s   v a l u e s ,   a   k e y ,   a n d   a n   o p e r a t o r   t h a t   r e l a t e s   t h e   k e y   a n d   v a l u e s . m a t c h E x p r e s s i o n s . k e y   ( s t r i n g ) ,   r e q u i r e d k e y   i s   t h e   l a b e l   k e y   t h a t   t h e   s e l e c t o r   a p p l i e s   t o . m a t c h E x p r e s s i o n s . o p e r a t o r   ( s t r i n g ) ,   r e q u i r e d o p e r a t o r   r e p r e s e n t s   a   k e y ' s   r e l a t i o n s h i p   t o   a   s e t   o f   v a l u e s .   V a l i d   o p e r a t o r s   a r e   I n ,   N o t I n ,   E x i s t s   a n d   D o e s N o t E x i s t . m a t c h E x p r e s s i o n s . v a l u e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e v a l u e s   i s   a n   a r r a y   o f   s t r i n g   v a l u e s .   I f   t h e   o p e r a t o r   i s   I n   o r   N o t I n ,   t h e   v a l u e s   a r r a y   m u s t   b e   n o n - e m p t y .   I f   t h e   o p e r a t o r   i s   E x i s t s   o r   D o e s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25502"
  },
  {
    "question": "What is 5.9.3 - ListMeta?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i m a c h i n e r y / p k g / a p i s / m e t a / v 1 \"   L i s t M e t a   d e s c r i b e s   m e t a d a t a   t h a t   s y n t h e t i c   r e s o u r c e s   m u s t   h a v e ,   i n c l u d i n g   l i s t s   a n d   v a r i o u s   s t a t u s   o b j e c t s .   A   r e s o u r c e   m a y   h a v e   o n l y   o n e   o f   { O b j e c t M e t a ,   L i s t M e t a } .   c o n t i n u e   ( s t r i n g ) c o n t i n u e   m a y   b e   s e t   i f   t h e   u s e r   s e t   a   l i m i t   o n   t h e   n u m b e r   o f   i t e m s   r e t u r n e d ,   a n d   i n d i c a t e s   t h a t   t h e   s e r v e r   h a s   m o r e   d a t a   a v a i l a b l e .   T h e   v a l u e   i s   o p a q u e   a n d   m a y   b e   u s e d   t o   i s s u e   a n o t h e r   r e q u e s t   t o   t h e   e n d p o i n t   t h a t   s e r v e d   t h i s   l i s t   t o   r e t r i e v e   t h e   n e x t   s e t   o f   a v a i l a b l e   o b j e c t s .   C o n t i n u i n g   a   c o n s i s t e n t   l i s t   m a y   n o t   b e   p o s s i b l e   i f   t h e   s e r v e r   c o n f i g u r a t i o n   h a s   c h a n g e d   o r   m o r e   t h a n   a   f e w   m i n u t e s   h a v e   p a s s e d .   T h e   r e s o u r c e V e r s i o n   f i e l d   r e t u r n e d   w h e n   u s i n g   t h i s   c o n t i n u e   v a l u e   w i l l   b e   i d e n t i c a l   t o   t h e   v a l u e   i n   t h e   f i r s t   r e s p o n s e ,   u n l e s s   y o u   h a v e   r e c e i v e d   t h i s   t o k e n   f r o m   a n   e r r o r   m e s s a g e . r e m a i n i n g I t e m C o u n t   ( i n t 6 4 ) r e m a i n i n g I t e m C o u n t   i s   t h e   n u m b e r   o f   s u b s e q u e n t   i t e m s   i n   t h e   l i s t   w h i c h   a r e   n o t   i n c l u d e d   i n   t h i s   l i s t   r e s p o n s e .   I f   t h e   l i s t   r e q u e s t   c o n t a i n e d   l a b e l   o r   f i e l d   s e l e c t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25503"
  },
  {
    "question": "What is 5.9.4 - LocalObjectReference?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"   L o c a l O b j e c t R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   l o c a t e   t h e   r e f e r e n c e d   o b j e c t   i n s i d e   t h e   s a m e   n a m e s p a c e .   n a m e   ( s t r i n g ) N a m e   o f   t h e   r e f e r e n t .   T h i s   f i e l d   i s   e f f e c t i v e l y   r e q u i r e d ,   b u t   d u e   t o   b a c k w a r d s   c o m p a t i b i l i t y   i s   a l l o w e d   t o   b e   e m p t y .   I n s t a n c e s   o f   t h i s   t y p e   w i t h   a n   e m p t y   v a l u e   h e r e   a r e   a l m o s t   c e r t a i n l y   w r o n g .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s / # n a m e s   n a m e   ( s t r i n g )   N a m e   o f   t h e   r e f e r e n t .   T h i s   f i e l d   i s   e f f e c t i v e l y   r e q u i r e d ,   b u t   d u e   t o   b a c k w a r d s   c o m p a t i b i l i t y   i s   a l l o w e d   t o   b e   e m p t y .   I n s t a n c e s   o f   t h i s   t y p e   w i t h   a n   e m p t y   v a l u e   h e r e   a r e   a l m o s t   c e r t a i n l y   w r o n g .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s / # n a m e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25504"
  },
  {
    "question": "What is 5.9.5 - NodeSelectorRequirement?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"   A   n o d e   s e l e c t o r   r e q u i r e m e n t   i s   a   s e l e c t o r   t h a t   c o n t a i n s   v a l u e s ,   a   k e y ,   a n d   a n   o p e r a t o r   t h a t   r e l a t e s   t h e   k e y   a n d   v a l u e s .   k e y   ( s t r i n g ) ,   r e q u i r e d T h e   l a b e l   k e y   t h a t   t h e   s e l e c t o r   a p p l i e s   t o . o p e r a t o r   ( s t r i n g ) ,   r e q u i r e d R e p r e s e n t s   a   k e y ' s   r e l a t i o n s h i p   t o   a   s e t   o f   v a l u e s .   V a l i d   o p e r a t o r s   a r e   I n ,   N o t I n ,   E x i s t s ,   D o e s N o t E x i s t .   G t ,   a n d   L t . v a l u e s   ( [ ] s t r i n g ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e A n   a r r a y   o f   s t r i n g   v a l u e s .   I f   t h e   o p e r a t o r   i s   I n   o r   N o t I n ,   t h e   v a l u e s   a r r a y   m u s t   b e   n o n - e m p t y .   I f   t h e   o p e r a t o r   i s   E x i s t s   o r   D o e s N o t E x i s t ,   t h e   v a l u e s   a r r a y   m u s t   b e   e m p t y .   I f   t h e   o p e r a t o r   i s   G t   o r   L t ,   t h e   v a l u e s   a r r a y   m u s t   h a v e   a   s i n g l e   e l e m e n t ,   w h i c h   w i l l   b e   i n t e r p r e t e d   a s   a n   i n t e g e r .   T h i s   a r r a y   i s   r e p l a c e d   d u r i n g   a   s t r a t e g i c   m e r g e   p a t c h .   k e y   ( s t r i n g ) ,   r e q u i r e d   T h e   l a b e l   k e y   t h a t   t h e   s e l e c t o r   a p p l i e s   t o .   o p e r a t o r   ( s t r i n g ) ,   r e q u i r e d   R e p r e s e n t s   a   k e y ' s   r e l a t i o n s h i p   t o   a   s e t   o f   v a l u e s .   V a l i d   o p e r a t o r s   a r e   I n ,   N o t I n ,   E x i s t s ,   D o e s N o t E x i s t .   G t ,   a n d   L t .   v a l u e s   ( [ ] s t r i n g )   A t o m i c :   w i l l   b e   r e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25505"
  },
  {
    "question": "What is 5.9.6 - ObjectFieldSelector?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"   O b j e c t F i e l d S e l e c t o r   s e l e c t s   a n   A P I V e r s i o n e d   f i e l d   o f   a n   o b j e c t .   f i e l d P a t h   ( s t r i n g ) ,   r e q u i r e d P a t h   o f   t h e   f i e l d   t o   s e l e c t   i n   t h e   s p e c i f i e d   A P I   v e r s i o n . a p i V e r s i o n   ( s t r i n g ) V e r s i o n   o f   t h e   s c h e m a   t h e   F i e l d P a t h   i s   w r i t t e n   i n   t e r m s   o f ,   d e f a u l t s   t o   \" v 1 \" .   f i e l d P a t h   ( s t r i n g ) ,   r e q u i r e d   P a t h   o f   t h e   f i e l d   t o   s e l e c t   i n   t h e   s p e c i f i e d   A P I   v e r s i o n .   a p i V e r s i o n   ( s t r i n g )   V e r s i o n   o f   t h e   s c h e m a   t h e   F i e l d P a t h   i s   w r i t t e n   i n   t e r m s   o f ,   d e f a u l t s   t o   \" v 1 \" .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25506"
  },
  {
    "question": "What is 5.9.7 - ObjectMeta?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i m a c h i n e r y / p k g / a p i s / m e t a / v 1 \"   O b j e c t M e t a   i s   m e t a d a t a   t h a t   a l l   p e r s i s t e d   r e s o u r c e s   m u s t   h a v e ,   w h i c h   i n c l u d e s   a l l   o b j e c t s   u s e r s   m u s t   c r e a t e .   n a m e   ( s t r i n g ) N a m e   m u s t   b e   u n i q u e   w i t h i n   a   n a m e s p a c e .   I s   r e q u i r e d   w h e n   c r e a t i n g   r e s o u r c e s ,   a l t h o u g h   s o m e   r e s o u r c e s   m a y   a l l o w   a   c l i e n t   t o   r e q u e s t   t h e   g e n e r a t i o n   o f   a n   a p p r o p r i a t e   n a m e   a u t o m a t i c a l l y .   N a m e   i s   p r i m a r i l y   i n t e n d e d   f o r   c r e a t i o n   i d e m p o t e n c e   a n d   c o n f i g u r a t i o n   d e f i n i t i o n .   C a n n o t   b e   u p d a t e d .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - o b j e c t s / n a m e s # n a m e s g e n e r a t e N a m e   ( s t r i n g ) G e n e r a t e N a m e   i s   a n   o p t i o n a l   p r e f i x ,   u s e d   b y   t h e   s e r v e r ,   t o   g e n e r a t e   a   u n i q u e   n a m e   O N L Y   I F   t h e   N a m e   f i e l d   h a s   n o t   b e e n   p r o v i d e d .   I f   t h i s   f i e l d   i s   u s e d ,   t h e   n a m e   r e t u r n e d   t o   t h e   c l i e n t   w i l l   b e   d i f f e r e n t   t h a n   t h e   n a m e   p a s s e d .   T h i s   v a l u e   w i l l   a l s o   b e   c o m b i n e d   w i t h   a   u n i q u e   s u f f i x .   T h e   p r o v i d e d   v a l u e   h a s   t h e   s a m e   v a l i d a t i o n   r u l e s   a s   t h e   N a m e   f i e l d ,   a n d   m a y   b e   t r u n c a t e d   b y   t h e   l e n g t h   o f   t h e   s u f f i x   r e q u i r e d   t o   m a k e   t h e   v a l u e   u n i q u e   o n   t h e   s e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25507"
  },
  {
    "question": "What is System?",
    "answer": "f i n a l i z e r s   ( [ ] s t r i n g ) S e t :   u n i q u e   v a l u e s   w i l l   b e   k e p t   d u r i n g   a   m e r g e M u s t   b e   e m p t y   b e f o r e   t h e   o b j e c t   i s   d e l e t e d   f r o m   t h e   r e g i s t r y .   E a c h   e n t r y   i s   a n   i d e n t i f i e r   f o r   t h e   r e s p o n s i b l e   c o m p o n e n t   t h a t   w i l l   r e m o v e   t h e   e n t r y   f r o m   t h e   l i s t .   I f   t h e   d e l e t i o n T i m e s t a m p   o f   t h e   o b j e c t   i s   n o n - n i l ,   e n t r i e s   i n   t h i s   l i s t   c a n   o n l y   b e   r e m o v e d .   F i n a l i z e r s   m a y   b e   p r o c e s s e d   a n d   r e m o v e d   i n   a n y   o r d e r .   O r d e r   i s   N O T   e n f o r c e d   b e c a u s e   i t   i n t r o d u c e s   s i g n i f i c a n t   r i s k   o f   s t u c k   f i n a l i z e r s .   f i n a l i z e r s   i s   a   s h a r e d   f i e l d ,   a n y   a c t o r   w i t h   p e r m i s s i o n   c a n   r e o r d e r   i t .   I f   t h e   f i n a l i z e r   l i s t   i s   p r o c e s s e d   i n   o r d e r ,   t h e n   t h i s   c a n   l e a d   t o   a   s i t u a t i o n   i n   w h i c h   t h e   c o m p o n e n t   r e s p o n s i b l e   f o r   t h e   f i r s t   f i n a l i z e r   i n   t h e   l i s t   i s   w a i t i n g   f o r   a   s i g n a l   ( f i e l d   v a l u e ,   e x t e r n a l   s y s t e m ,   o r   o t h e r )   p r o d u c e d   b y   a   c o m p o n e n t   r e s p o n s i b l e   f o r   a   f i n a l i z e r   l a t e r   i n   t h e   l i s t ,   r e s u l t i n g   i n   a   d e a d l o c k .   W i t h o u t   e n f o r c e d   o r d e r i n g   f i n a l i z e r s   a r e   f r e e   t o   o r d e r   a m o n g s t   t h e m s e l v e s   a n d   a r e   n o t   v u l n e r a b l e   t o   o r d e r i n g   c h a n g e s   i n   t h e   l i s t . m a n a g e d F i e l d s   ( [ ] M a n a g e d F i e l d s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25508"
  },
  {
    "question": "What is Read-only?",
    "answer": "c r e a t i o n T i m e s t a m p   ( T i m e ) C r e a t i o n T i m e s t a m p   i s   a   t i m e s t a m p   r e p r e s e n t i n g   t h e   s e r v e r   t i m e   w h e n   t h i s   o b j e c t   w a s   c r e a t e d .   I t   i s   n o t   g u a r a n t e e d   t o   b e   s e t   i n   h a p p e n s - b e f o r e   o r d e r   a c r o s s   s e p a r a t e   o p e r a t i o n s .   C l i e n t s   m a y   n o t   s e t   t h i s   v a l u e .   I t   i s   r e p r e s e n t e d   i n   R F C 3 3 3 9   f o r m   a n d   i s   i n   U T C . P o p u l a t e d   b y   t h e   s y s t e m .   R e a d - o n l y .   N u l l   f o r   l i s t s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s . d e l e t i o n G r a c e P e r i o d S e c o n d s   ( i n t 6 4 ) N u m b e r   o f   s e c o n d s   a l l o w e d   f o r   t h i s   o b j e c t   t o   g r a c e f u l l y   t e r m i n a t e   b e f o r e   i t   w i l l   b e   r e m o v e d   f r o m   t h e   s y s t e m .   O n l y   s e t   w h e n   d e l e t i o n T i m e s t a m p   i s   a l s o   s e t .   M a y   o n l y   b e   s h o r t e n e d .   R e a d - o n l y . d e l e t i o n T i m e s t a m p   ( T i m e ) D e l e t i o n T i m e s t a m p   i s   R F C   3 3 3 9   d a t e   a n d   t i m e   a t   w h i c h   t h i s   r e s o u r c e   w i l l   b e   d e l e t e d .   T h i s   f i e l d   i s   s e t   b y   t h e   s e r v e r   w h e n   a   g r a c e f u l   d e l e t i o n   i s   r e q u e s t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25509"
  },
  {
    "question": "What is 5.9.8 - ObjectReference?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"   O b j e c t R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   i n s p e c t   o r   m o d i f y   t h e   r e f e r r e d   o b j e c t .   a p i V e r s i o n   ( s t r i n g ) A P I   v e r s i o n   o f   t h e   r e f e r e n t . f i e l d P a t h   ( s t r i n g ) I f   r e f e r r i n g   t o   a   p i e c e   o f   a n   o b j e c t   i n s t e a d   o f   a n   e n t i r e   o b j e c t ,   t h i s   s t r i n g   s h o u l d   c o n t a i n   a   v a l i d   J S O N / G o   f i e l d   a c c e s s   s t a t e m e n t ,   s u c h   a s   d e s i r e d S t a t e . m a n i f e s t . c o n t a i n e r s [ 2 ] .   F o r   e x a m p l e ,   i f   t h e   o b j e c t   r e f e r e n c e   i s   t o   a   c o n t a i n e r   w i t h i n   a   p o d ,   t h i s   w o u l d   t a k e   o n   a   v a l u e   l i k e :   \" s p e c . c o n t a i n e r s { n a m e } \"   ( w h e r e   \" n a m e \"   r e f e r s   t o   t h e   n a m e   o f   t h e   c o n t a i n e r   t h a t   t r i g g e r e d   t h e   e v e n t )   o r   i f   n o   c o n t a i n e r   n a m e   i s   s p e c i f i e d   \" s p e c . c o n t a i n e r s [ 2 ] \"   ( c o n t a i n e r   w i t h   i n d e x   2   i n   t h i s   p o d ) .   T h i s   s y n t a x   i s   c h o s e n   o n l y   t o   h a v e   s o m e   w e l l - d e f i n e d   w a y   o f   r e f e r e n c i n g   a   p a r t   o f   a n   o b j e c t . k i n d   ( s t r i n g ) K i n d   o f   t h e   r e f e r e n t .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s n a m e   ( s t r i n g ) N a m e   o f   t h e   r e f e r e n t .   M o r e   i n f o :   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / o v e r v i e w / w o r k i n g - w i t h - ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25510"
  },
  {
    "question": "What is 5.9.9 - Patch?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i m a c h i n e r y / p k g / a p i s / m e t a / v 1 \"   P a t c h   i s   p r o v i d e d   t o   g i v e   a   c o n c r e t e   n a m e   a n d   t y p e   t o   t h e   K u b e r n e t e s   P A T C H   r e q u e s t   b o d y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25511"
  },
  {
    "question": "What is 5.9.10 - Quantity?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i m a c h i n e r y / p k g / a p i / r e s o u r c e \"   Q u a n t i t y   i s   a   f i x e d - p o i n t   r e p r e s e n t a t i o n   o f   a   n u m b e r .   I t   p r o v i d e s   c o n v e n i e n t   m a r s h a l i n g / u n m a r s h a l i n g   i n   J S O N   a n d   Y A M L ,   i n   a d d i t i o n   t o   S t r i n g ( )   a n d   A s I n t 6 4 ( )   a c c e s s o r s .   T h e   s e r i a l i z a t i o n   f o r m a t   i s :   \\ < q u a n t i t y >   : : =   \\ < s i g n e d N u m b e r > \\ < s u f f i x >   ( N o t e   t h a t   \\ < s u f f i x >   m a y   b e   e m p t y ,   f r o m   t h e   \" \"   c a s e   i n   \\ < d e c i m a l S I > . )   \\ < d i g i t >   : : =   0   |   1   |   . . .   |   9   \\ < d i g i t s >   : : =   \\ < d i g i t >   |   \\ < d i g i t > \\ < d i g i t s >   \\ < n u m b e r >   : : =   \\ < d i g i t s >   |   \\ < d i g i t s > . \\ < d i g i t s >   |   \\ < d i g i t s > .   |   . \\ < d i g i t s >   \\ < s i g n >   : : =   \" + \"   |   \" - \"   \\ < s i g n e d N u m b e r >   : : =   \\ < n u m b e r >   |   \\ < s i g n > \\ < n u m b e r >   \\ < s u f f i x >   : : =   \\ < b i n a r y S I >   |   \\ < d e c i m a l E x p o n e n t >   |   \\ < d e c i m a l S I >   \\ < b i n a r y S I >   : : =   K i   |   M i   |   G i   |   T i   |   P i   |   E i   ( I n t e r n a t i o n a l   S y s t e m   o f   u n i t s ;   S e e :   h t t p : / / p h y s i c s . n i s t . g o v / c u u / U n i t s / b i n a r y . h t m l )   \\ < d e c i m a l S I >   : : =   m   |   \" \"   |   k   |   M   |   G   |   T   |   P   |   E   ( N o t e   t h a t   1 0 2 4   =   1 K i   b u t   1 0 0 0   =   1 k ;   I   d i d n ' t   c h o o s e   t h e   c a p i t a l i z a t i o n . )   \\ < d e c i m a l E x p o n e n t >   : : =   \" e \"   \\ < s i g n e d N u m b e r >   |   \" E \"   \\ < s i g n e d N u m b e r >   N o   m a t t e r   w h i c h   o f   t h e   t h r e e   e x p o n e n t   f o r m s   i s   u s e d ,   n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25512"
  },
  {
    "question": "What is 5.9.11 - ResourceFieldSelector?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"   R e s o u r c e F i e l d S e l e c t o r   r e p r e s e n t s   c o n t a i n e r   r e s o u r c e s   ( c p u ,   m e m o r y )   a n d   t h e i r   o u t p u t   f o r m a t   r e s o u r c e   ( s t r i n g ) ,   r e q u i r e d R e q u i r e d :   r e s o u r c e   t o   s e l e c t c o n t a i n e r N a m e   ( s t r i n g ) C o n t a i n e r   n a m e :   r e q u i r e d   f o r   v o l u m e s ,   o p t i o n a l   f o r   e n v   v a r s d i v i s o r   ( Q u a n t i t y ) S p e c i f i e s   t h e   o u t p u t   f o r m a t   o f   t h e   e x p o s e d   r e s o u r c e s ,   d e f a u l t s   t o   \" 1 \"   r e s o u r c e   ( s t r i n g ) ,   r e q u i r e d   R e q u i r e d :   r e s o u r c e   t o   s e l e c t   c o n t a i n e r N a m e   ( s t r i n g )   C o n t a i n e r   n a m e :   r e q u i r e d   f o r   v o l u m e s ,   o p t i o n a l   f o r   e n v   v a r s   d i v i s o r   ( Q u a n t i t y )   S p e c i f i e s   t h e   o u t p u t   f o r m a t   o f   t h e   e x p o s e d   r e s o u r c e s ,   d e f a u l t s   t o   \" 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25513"
  },
  {
    "question": "What is 5.9.12 - Status?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i m a c h i n e r y / p k g / a p i s / m e t a / v 1 \"   S t a t u s   i s   a   r e t u r n   v a l u e   f o r   c a l l s   t h a t   d o n ' t   r e t u r n   o t h e r   o b j e c t s .   a p i V e r s i o n   ( s t r i n g ) A P I V e r s i o n   d e f i n e s   t h e   v e r s i o n e d   s c h e m a   o f   t h i s   r e p r e s e n t a t i o n   o f   a n   o b j e c t .   S e r v e r s   s h o u l d   c o n v e r t   r e c o g n i z e d   s c h e m a s   t o   t h e   l a t e s t   i n t e r n a l   v a l u e ,   a n d   m a y   r e j e c t   u n r e c o g n i z e d   v a l u e s .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # r e s o u r c e s c o d e   ( i n t 3 2 ) S u g g e s t e d   H T T P   r e t u r n   c o d e   f o r   t h i s   s t a t u s ,   0   i f   n o t   s e t . d e t a i l s   ( S t a t u s D e t a i l s ) A t o m i c :   w i l l   b e   r e p l a c e d   d u r i n g   a   m e r g e E x t e n d e d   d a t a   a s s o c i a t e d   w i t h   t h e   r e a s o n .   E a c h   r e a s o n   m a y   d e f i n e   i t s   o w n   e x t e n d e d   d e t a i l s .   T h i s   f i e l d   i s   o p t i o n a l   a n d   t h e   d a t a   r e t u r n e d   i s   n o t   g u a r a n t e e d   t o   c o n f o r m   t o   a n y   s c h e m a   e x c e p t   t h a t   d e f i n e d   b y   t h e   r e a s o n   t y p e . S t a t u s D e t a i l s   i s   a   s e t   o f   a d d i t i o n a l   p r o p e r t i e s   t h a t   M A Y   b e   s e t   b y   t h e   s e r v e r   t o   p r o v i d e   a d d i t i o n a l   i n f o r m a t i o n   a b o u t   a   r e s p o n s e .   T h e   R e a s o n   f i e l d   o f   a   S t a t u s   o b j e c t   d e f i n e s   w h a t   a t t r i b u t e s   w i l l   b e   s e t .   C l i e n t s   m u s t   i g n o r e   f i e l d s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25514"
  },
  {
    "question": "What is 5.9.13 - TypedLocalObjectReference?",
    "answer": "i m p o r t   \" k 8 s . i o / a p i / c o r e / v 1 \"   T y p e d L o c a l O b j e c t R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   l o c a t e   t h e   t y p e d   r e f e r e n c e d   o b j e c t   i n s i d e   t h e   s a m e   n a m e s p a c e .   k i n d   ( s t r i n g ) ,   r e q u i r e d K i n d   i s   t h e   t y p e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d n a m e   ( s t r i n g ) ,   r e q u i r e d N a m e   i s   t h e   n a m e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d a p i G r o u p   ( s t r i n g ) A P I G r o u p   i s   t h e   g r o u p   f o r   t h e   r e s o u r c e   b e i n g   r e f e r e n c e d .   I f   A P I G r o u p   i s   n o t   s p e c i f i e d ,   t h e   s p e c i f i e d   K i n d   m u s t   b e   i n   t h e   c o r e   A P I   g r o u p .   F o r   a n y   o t h e r   t h i r d - p a r t y   t y p e s ,   A P I G r o u p   i s   r e q u i r e d .   k i n d   ( s t r i n g ) ,   r e q u i r e d   K i n d   i s   t h e   t y p e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d   n a m e   ( s t r i n g ) ,   r e q u i r e d   N a m e   i s   t h e   n a m e   o f   r e s o u r c e   b e i n g   r e f e r e n c e d   a p i G r o u p   ( s t r i n g )   A P I G r o u p   i s   t h e   g r o u p   f o r   t h e   r e s o u r c e   b e i n g   r e f e r e n c e d .   I f   A P I G r o u p   i s   n o t   s p e c i f i e d ,   t h e   s p e c i f i e d   K i n d   m u s t   b e   i n   t h e   c o r e   A P I   g r o u p .   F o r   a n y   o t h e r   t h i r d - p a r t y   t y p e s ,   A P I G r o u p   i s   r e q u i r e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25515"
  },
  {
    "question": "What is 5.10.1 - MutatingAdmissionPolicyBindingList v1beta1?",
    "answer": "a p i V e r s i o n :   a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1   i m p o r t   \" k 8 s . i o / a p i / a d m i s s i o n r e g i s t r a t i o n / v 1 b e t a 1 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25516"
  },
  {
    "question": "What is allowWatchBookmarks?",
    "answer": "a l l o w W a t c h B o o k m a r k s   r e q u e s t s   w a t c h   e v e n t s   w i t h   t y p e   \" B O O K M A R K \" .   S e r v e r s   t h a t   d o   n o t   i m p l e m e n t   b o o k m a r k s   m a y   i g n o r e   t h i s   f l a g   a n d   b o o k m a r k s   a r e   s e n t   a t   t h e   s e r v e r ' s   d i s c r e t i o n .   C l i e n t s   s h o u l d   n o t   a s s u m e   b o o k m a r k s   a r e   r e t u r n e d   a t   a n y   s p e c i f i c   i n t e r v a l ,   n o r   m a y   t h e y   a s s u m e   t h e   s e r v e r   w i l l   s e n d   a n y   B O O K M A R K   e v e n t   d u r i n g   a   s e s s i o n .   I f   t h i s   i s   n o t   a   w a t c h ,   t h i s   f i e l d   i s   i g n o r e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25517"
  },
  {
    "question": "What is continue?",
    "answer": "T h e   c o n t i n u e   o p t i o n   s h o u l d   b e   s e t   w h e n   r e t r i e v i n g   m o r e   r e s u l t s   f r o m   t h e   s e r v e r .   S i n c e   t h i s   v a l u e   i s   s e r v e r   d e f i n e d ,   c l i e n t s   m a y   o n l y   u s e   t h e   c o n t i n u e   v a l u e   f r o m   a   p r e v i o u s   q u e r y   r e s u l t   w i t h   i d e n t i c a l   q u e r y   p a r a m e t e r s   ( e x c e p t   f o r   t h e   v a l u e   o f   c o n t i n u e )   a n d   t h e   s e r v e r   m a y   r e j e c t   a   c o n t i n u e   v a l u e   i t   d o e s   n o t   r e c o g n i z e .   I f   t h e   s p e c i f i e d   c o n t i n u e   v a l u e   i s   n o   l o n g e r   v a l i d   w h e t h e r   d u e   t o   e x p i r a t i o n   ( g e n e r a l l y   f i v e   t o   f i f t e e n   m i n u t e s )   o r   a   c o n f i g u r a t i o n   c h a n g e   o n   t h e   s e r v e r ,   t h e   s e r v e r   w i l l   r e s p o n d   w i t h   a   4 1 0   R e s o u r c e E x p i r e d   e r r o r   t o g e t h e r   w i t h   a   c o n t i n u e   t o k e n .   I f   t h e   c l i e n t   n e e d s   a   c o n s i s t e n t   l i s t ,   i t   m u s t   r e s t a r t   t h e i r   l i s t   w i t h o u t   t h e   c o n t i n u e   f i e l d .   O t h e r w i s e ,   t h e   c l i e n t   m a y   s e n d   a n o t h e r   l i s t   r e q u e s t   w i t h   t h e   t o k e n   r e c e i v e d   w i t h   t h e   4 1 0   e r r o r ,   t h e   s e r v e r   w i l l   r e s p o n d   w i t h   a   l i s t   s t a r t i n g   f r o m   t h e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25518"
  },
  {
    "question": "What is dryRun?",
    "answer": "W h e n   p r e s e n t ,   i n d i c a t e s   t h a t   m o d i f i c a t i o n s   s h o u l d   n o t   b e   p e r s i s t e d .   A n   i n v a l i d   o r   u n r e c o g n i z e d   d r y R u n   d i r e c t i v e   w i l l   r e s u l t   i n   a n   e r r o r   r e s p o n s e   a n d   n o   f u r t h e r   p r o c e s s i n g   o f   t h e   r e q u e s t .   V a l i d   v a l u e s   a r e :   -   A l l :   a l l   d r y   r u n   s t a g e s   w i l l   b e   p r o c e s s e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25519"
  },
  {
    "question": "What is fieldManager?",
    "answer": "f i e l d M a n a g e r   i s   a   n a m e   a s s o c i a t e d   w i t h   t h e   a c t o r   o r   e n t i t y   t h a t   i s   m a k i n g   t h e s e   c h a n g e s .   T h e   v a l u e   m u s t   b e   l e s s   t h a n   o r   1 2 8   c h a r a c t e r s   l o n g ,   a n d   o n l y   c o n t a i n   p r i n t a b l e   c h a r a c t e r s ,   a s   d e f i n e d   b y   h t t p s : / / g o l a n g . o r g / p k g / u n i c o d e / # I s P r i n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25520"
  },
  {
    "question": "What is fieldSelector?",
    "answer": "A   s e l e c t o r   t o   r e s t r i c t   t h e   l i s t   o f   r e t u r n e d   o b j e c t s   b y   t h e i r   f i e l d s .   D e f a u l t s   t o   e v e r y t h i n g .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25521"
  },
  {
    "question": "What is fieldValidation?",
    "answer": "f i e l d V a l i d a t i o n   i n s t r u c t s   t h e   s e r v e r   o n   h o w   t o   h a n d l e   o b j e c t s   i n   t h e   r e q u e s t   ( P O S T / P U T / P A T C H )   c o n t a i n i n g   u n k n o w n   o r   d u p l i c a t e   f i e l d s .   V a l i d   v a l u e s   a r e :   -   I g n o r e :   T h i s   w i l l   i g n o r e   a n y   u n k n o w n   f i e l d s   t h a t   a r e   s i l e n t l y   d r o p p e d   f r o m   t h e   o b j e c t ,   a n d   w i l l   i g n o r e   a l l   b u t   t h e   l a s t   d u p l i c a t e   f i e l d   t h a t   t h e   d e c o d e r   e n c o u n t e r s .   T h i s   i s   t h e   d e f a u l t   b e h a v i o r   p r i o r   t o   v 1 . 2 3 .   -   W a r n :   T h i s   w i l l   s e n d   a   w a r n i n g   v i a   t h e   s t a n d a r d   w a r n i n g   r e s p o n s e   h e a d e r   f o r   e a c h   u n k n o w n   f i e l d   t h a t   i s   d r o p p e d   f r o m   t h e   o b j e c t ,   a n d   f o r   e a c h   d u p l i c a t e   f i e l d   t h a t   i s   e n c o u n t e r e d .   T h e   r e q u e s t   w i l l   s t i l l   s u c c e e d   i f   t h e r e   a r e   n o   o t h e r   e r r o r s ,   a n d   w i l l   o n l y   p e r s i s t   t h e   l a s t   o f   a n y   d u p l i c a t e   f i e l d s .   T h i s   i s   t h e   d e f a u l t   i n   v 1 . 2 3 +   -   S t r i c t :   T h i s   w i l l   f a i l   t h e   r e q u e s t   w i t h   a   B a d R e q u e s t   e r r o r   i f   a n y   u n k n o w n   f i e l d s   w o u l d   b e   d r o p p e d   f r o m   t h e   o b j e c t ,   o r   i f   a n y   d u p l i c a t e   f i e l d s   a r e   p r e s e n t .   T h e   e r r o r   r e t u r n e d   f r o m   t h e   s e r v e r   w i l l   c o n t a i n   a l l   u n k n o w n   a n d   d u p l i c a t e   f i e l d s   e n c o u n t e r e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25522"
  },
  {
    "question": "What is force?",
    "answer": "F o r c e   i s   g o i n g   t o   \" f o r c e \"   A p p l y   r e q u e s t s .   I t   m e a n s   u s e r   w i l l   r e - a c q u i r e   c o n f l i c t i n g   f i e l d s   o w n e d   b y   o t h e r   p e o p l e .   F o r c e   f l a g   m u s t   b e   u n s e t   f o r   n o n - a p p l y   p a t c h   r e q u e s t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25523"
  },
  {
    "question": "What is gracePeriodSeconds?",
    "answer": "T h e   d u r a t i o n   i n   s e c o n d s   b e f o r e   t h e   o b j e c t   s h o u l d   b e   d e l e t e d .   V a l u e   m u s t   b e   n o n - n e g a t i v e   i n t e g e r .   T h e   v a l u e   z e r o   i n d i c a t e s   d e l e t e   i m m e d i a t e l y .   I f   t h i s   v a l u e   i s   n i l ,   t h e   d e f a u l t   g r a c e   p e r i o d   f o r   t h e   s p e c i f i e d   t y p e   w i l l   b e   u s e d .   D e f a u l t s   t o   a   p e r   o b j e c t   v a l u e   i f   n o t   s p e c i f i e d .   z e r o   m e a n s   d e l e t e   i m m e d i a t e l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25524"
  },
  {
    "question": "What is ignoreStoreReadErrorWithClusterBreakingPotential?",
    "answer": "i f   s e t   t o   t r u e ,   i t   w i l l   t r i g g e r   a n   u n s a f e   d e l e t i o n   o f   t h e   r e s o u r c e   i n   c a s e   t h e   n o r m a l   d e l e t i o n   f l o w   f a i l s   w i t h   a   c o r r u p t   o b j e c t   e r r o r .   A   r e s o u r c e   i s   c o n s i d e r e d   c o r r u p t   i f   i t   c a n   n o t   b e   r e t r i e v e d   f r o m   t h e   u n d e r l y i n g   s t o r a g e   s u c c e s s f u l l y   b e c a u s e   o f   a )   i t s   d a t a   c a n   n o t   b e   t r a n s f o r m e d   e . g .   d e c r y p t i o n   f a i l u r e ,   o r   b )   i t   f a i l s   t o   d e c o d e   i n t o   a n   o b j e c t .   N O T E :   u n s a f e   d e l e t i o n   i g n o r e s   f i n a l i z e r   c o n s t r a i n t s ,   s k i p s   p r e c o n d i t i o n   c h e c k s ,   a n d   r e m o v e s   t h e   o b j e c t   f r o m   t h e   s t o r a g e .   W A R N I N G :   T h i s   m a y   p o t e n t i a l l y   b r e a k   t h e   c l u s t e r   i f   t h e   w o r k l o a d   a s s o c i a t e d   w i t h   t h e   r e s o u r c e   b e i n g   u n s a f e - d e l e t e d   r e l i e s   o n   n o r m a l   d e l e t i o n   f l o w .   U s e   o n l y   i f   y o u   R E A L L Y   k n o w   w h a t   y o u   a r e   d o i n g .   T h e   d e f a u l t   v a l u e   i s   f a l s e ,   a n d   t h e   u s e r   m u s t   o p t   i n   t o   e n a b l e   i t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25525"
  },
  {
    "question": "What is labelSelector?",
    "answer": "A   s e l e c t o r   t o   r e s t r i c t   t h e   l i s t   o f   r e t u r n e d   o b j e c t s   b y   t h e i r   l a b e l s .   D e f a u l t s   t o   e v e r y t h i n g .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25526"
  },
  {
    "question": "What is limit?",
    "answer": "l i m i t   i s   a   m a x i m u m   n u m b e r   o f   r e s p o n s e s   t o   r e t u r n   f o r   a   l i s t   c a l l .   I f   m o r e   i t e m s   e x i s t ,   t h e   s e r v e r   w i l l   s e t   t h e   c o n t i n u e   f i e l d   o n   t h e   l i s t   m e t a d a t a   t o   a   v a l u e   t h a t   c a n   b e   u s e d   w i t h   t h e   s a m e   i n i t i a l   q u e r y   t o   r e t r i e v e   t h e   n e x t   s e t   o f   r e s u l t s .   S e t t i n g   a   l i m i t   m a y   r e t u r n   f e w e r   t h a n   t h e   r e q u e s t e d   a m o u n t   o f   i t e m s   ( u p   t o   z e r o   i t e m s )   i n   t h e   e v e n t   a l l   r e q u e s t e d   o b j e c t s   a r e   f i l t e r e d   o u t   a n d   c l i e n t s   s h o u l d   o n l y   u s e   t h e   p r e s e n c e   o f   t h e   c o n t i n u e   f i e l d   t o   d e t e r m i n e   w h e t h e r   m o r e   r e s u l t s   a r e   a v a i l a b l e .   S e r v e r s   m a y   c h o o s e   n o t   t o   s u p p o r t   t h e   l i m i t   a r g u m e n t   a n d   w i l l   r e t u r n   a l l   o f   t h e   a v a i l a b l e   r e s u l t s .   I f   l i m i t   i s   s p e c i f i e d   a n d   t h e   c o n t i n u e   f i e l d   i s   e m p t y ,   c l i e n t s   m a y   a s s u m e   t h a t   n o   m o r e   r e s u l t s   a r e   a v a i l a b l e .   T h i s   f i e l d   i s   n o t   s u p p o r t e d   i f   w a t c h   i s   t r u e .   T h e   s e r v e r   g u a r a n t e e s   t h a t   t h e   o b j e c t s   r e t u r n e d   w h e n   u s i n g   c o n t i n u e   w i l l   b e   i d e n t i c a l   t o   i s s u i n g   a   s i n g l e   l i s t   c a l l   w i t h o u t   a   l i m i t   -   t h a t   i s ,   n o   o b j e c t s   c r e a t e d ,   m o d i f i e d ,   o r   d e l e t e d   a f t e r   t h e   f i r s t   r e q u e s t   i s   i s s u e d   w i l l   b e   i n c l u d e d   i n   a n y   s u b s e q u e n t   c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25527"
  },
  {
    "question": "What is namespace?",
    "answer": "o b j e c t   n a m e   a n d   a u t h   s c o p e ,   s u c h   a s   f o r   t e a m s   a n d   p r o j e c t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25528"
  },
  {
    "question": "What is pretty?",
    "answer": "I f   ' t r u e ' ,   t h e n   t h e   o u t p u t   i s   p r e t t y   p r i n t e d .   D e f a u l t s   t o   ' f a l s e '   u n l e s s   t h e   u s e r - a g e n t   i n d i c a t e s   a   b r o w s e r   o r   c o m m a n d - l i n e   H T T P   t o o l   ( c u r l   a n d   w g e t ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25529"
  },
  {
    "question": "What is propagationPolicy?",
    "answer": "W h e t h e r   a n d   h o w   g a r b a g e   c o l l e c t i o n   w i l l   b e   p e r f o r m e d .   E i t h e r   t h i s   f i e l d   o r   O r p h a n D e p e n d e n t s   m a y   b e   s e t ,   b u t   n o t   b o t h .   T h e   d e f a u l t   p o l i c y   i s   d e c i d e d   b y   t h e   e x i s t i n g   f i n a l i z e r   s e t   i n   t h e   m e t a d a t a . f i n a l i z e r s   a n d   t h e   r e s o u r c e - s p e c i f i c   d e f a u l t   p o l i c y .   A c c e p t a b l e   v a l u e s   a r e :   ' O r p h a n '   -   o r p h a n   t h e   d e p e n d e n t s ;   ' B a c k g r o u n d '   -   a l l o w   t h e   g a r b a g e   c o l l e c t o r   t o   d e l e t e   t h e   d e p e n d e n t s   i n   t h e   b a c k g r o u n d ;   ' F o r e g r o u n d '   -   a   c a s c a d i n g   p o l i c y   t h a t   d e l e t e s   a l l   d e p e n d e n t s   i n   t h e   f o r e g r o u n d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25530"
  },
  {
    "question": "What is resourceVersion?",
    "answer": "r e s o u r c e V e r s i o n   s e t s   a   c o n s t r a i n t   o n   w h a t   r e s o u r c e   v e r s i o n s   a   r e q u e s t   m a y   b e   s e r v e d   f r o m .   S e e   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / u s i n g - a p i / a p i - c o n c e p t s / # r e s o u r c e - v e r s i o n s   f o r   d e t a i l s .   D e f a u l t s   t o   u n s e t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25531"
  },
  {
    "question": "What is resourceVersionMatch?",
    "answer": "r e s o u r c e V e r s i o n M a t c h   d e t e r m i n e s   h o w   r e s o u r c e V e r s i o n   i s   a p p l i e d   t o   l i s t   c a l l s .   I t   i s   h i g h l y   r e c o m m e n d e d   t h a t   r e s o u r c e V e r s i o n M a t c h   b e   s e t   f o r   l i s t   c a l l s   w h e r e   r e s o u r c e V e r s i o n   i s   s e t   S e e   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / u s i n g - a p i / a p i - c o n c e p t s / # r e s o u r c e - v e r s i o n s   f o r   d e t a i l s .   D e f a u l t s   t o   u n s e t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25532"
  },
  {
    "question": "What is sendInitialEvents?",
    "answer": "s e n d I n i t i a l E v e n t s = t r u e   m a y   b e   s e t   t o g e t h e r   w i t h   w a t c h = t r u e .   I n   t h a t   c a s e ,   t h e   w a t c h   s t r e a m   w i l l   b e g i n   w i t h   s y n t h e t i c   e v e n t s   t o   p r o d u c e   t h e   c u r r e n t   s t a t e   o f   o b j e c t s   i n   t h e   c o l l e c t i o n .   O n c e   a l l   s u c h   e v e n t s   h a v e   b e e n   s e n t ,   a   s y n t h e t i c   \" B o o k m a r k \"   e v e n t   w i l l   b e   s e n t .   T h e   b o o k m a r k   w i l l   r e p o r t   t h e   R e s o u r c e V e r s i o n   ( R V )   c o r r e s p o n d i n g   t o   t h e   s e t   o f   o b j e c t s ,   a n d   b e   m a r k e d   w i t h   \" k 8 s . i o / i n i t i a l - e v e n t s - e n d \" :   \" t r u e \"   a n n o t a t i o n .   A f t e r w a r d s ,   t h e   w a t c h   s t r e a m   w i l l   p r o c e e d   a s   u s u a l ,   s e n d i n g   w a t c h   e v e n t s   c o r r e s p o n d i n g   t o   c h a n g e s   ( s u b s e q u e n t   t o   t h e   R V )   t o   o b j e c t s   w a t c h e d .   W h e n   s e n d I n i t i a l E v e n t s   o p t i o n   i s   s e t ,   w e   r e q u i r e   r e s o u r c e V e r s i o n M a t c h   o p t i o n   t o   a l s o   b e   s e t .   T h e   s e m a n t i c   o f   t h e   w a t c h   r e q u e s t   i s   a s   f o l l o w i n g :   -   r e s o u r c e V e r s i o n M a t c h   =   N o t O l d e r T h a n   i s   i n t e r p r e t e d   a s   \" d a t a   a t   l e a s t   a s   n e w   a s   t h e   p r o v i d e d   r e s o u r c e V e r s i o n \"   a n d   t h e   b o o k m a r k   e v e n t   i s   s e n d   w h e n   t h e   s t a t e   i s   s y n c e d   t o   a   r e s o u r c e V e r s i o n   a t   l e a s t   a s   f r e s h   a s   t h e   o n e   p r o v i d e d   b y   t h e   L i s t O p t i o n s .   I f   r e s o u r c e V e r s i o n   i s   u n s e t ,   t h i s   i s   i n t e r p r e t e d   a s   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25533"
  },
  {
    "question": "What is timeoutSeconds?",
    "answer": "T i m e o u t   f o r   t h e   l i s t / w a t c h   c a l l .   T h i s   l i m i t s   t h e   d u r a t i o n   o f   t h e   c a l l ,   r e g a r d l e s s   o f   a n y   a c t i v i t y   o r   i n a c t i v i t y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25534"
  },
  {
    "question": "What is watch?",
    "answer": "W a t c h   f o r   c h a n g e s   t o   t h e   d e s c r i b e d   r e s o u r c e s   a n d   r e t u r n   t h e m   a s   a   s t r e a m   o f   a d d ,   u p d a t e ,   a n d   r e m o v e   n o t i f i c a t i o n s .   S p e c i f y   r e s o u r c e V e r s i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25535"
  },
  {
    "question": "What is 6.1 - Kubernetes Component SLI Metrics?",
    "answer": "B y   d e f a u l t ,   K u b e r n e t e s   1 . 3 4   p u b l i s h e s   S e r v i c e   L e v e l   I n d i c a t o r   ( S L I )   m e t r i c s   f o r   e a c h   K u b e r n e t e s   c o m p o n e n t   b i n a r y .   T h i s   m e t r i c   e n d p o i n t   i s   e x p o s e d   o n   t h e   s e r v i n g   H T T P S   p o r t   o f   e a c h   c o m p o n e n t ,   a t   t h e   p a t h   / m e t r i c s / s l i s .   T h e   C o m p o n e n t S L I s   f e a t u r e   g a t e   d e f a u l t s   t o   e n a b l e d   f o r   e a c h   K u b e r n e t e s   c o m p o n e n t   a s   o f   v 1 . 2 7 .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25536"
  },
  {
    "question": "What is SLI Metrics?",
    "answer": "W i t h   S L I   m e t r i c s   e n a b l e d ,   e a c h   K u b e r n e t e s   c o m p o n e n t   e x p o s e s   t w o   m e t r i c s ,   l a b e l e d   p e r   h e a l t h c h e c k :   a   g a u g e   ( w h i c h   r e p r e s e n t s   t h e   c u r r e n t   s t a t e   o f   t h e   h e a l t h c h e c k ) a   c o u n t e r   ( w h i c h   r e c o r d s   t h e   c u m u l a t i v e   c o u n t s   o b s e r v e d   f o r   e a c h   h e a l t h c h e c k   s t a t e )   Y o u   c a n   u s e   t h e   m e t r i c   i n f o r m a t i o n   t o   c a l c u l a t e   p e r - c o m p o n e n t   a v a i l a b i l i t y   s t a t i s t i c s .   F o r   e x a m p l e ,   t h e   A P I   s e r v e r   c h e c k s   t h e   h e a l t h   o f   e t c d .   Y o u   c a n   w o r k   o u t   a n d   r e p o r t   h o w   a v a i l a b l e   o r   u n a v a i l a b l e   e t c d   h a s   b e e n   -   a s   r e p o r t e d   b y   i t s   c l i e n t ,   t h e   A P I   s e r v e r .   T h e   p r o m e t h e u s   g a u g e   d a t a   l o o k s   l i k e   t h i s :   #   H E L P   k u b e r n e t e s _ h e a l t h c h e c k   [ A L P H A ]   T h i s   m e t r i c   r e c o r d s   t h e   r e s u l t   o f   a   s i n g l e   h e a l t h c h e c k .   #   T Y P E   k u b e r n e t e s _ h e a l t h c h e c k   g a u g e   k u b e r n e t e s _ h e a l t h c h e c k { n a m e = \" a u t o r e g i s t e r - c o m p l e t i o n \" , t y p e = \" h e a l t h z \" }   1   k u b e r n e t e s _ h e a l t h c h e c k { n a m e = \" a u t o r e g i s t e r - c o m p l e t i o n \" , t y p e = \" r e a d y z \" }   1   k u b e r n e t e s _ h e a l t h c h e c k { n a m e = \" e t c d \" , t y p e = \" h e a l t h z \" }   1   k u b e r n e t e s _ h e a l t h c h e c k { n a m e = \" e t c d \" , t y p e = \" r e a d y z \" }   1   k u b e r n e t e s _ h e a l t h c h e c k { n a m e = \" e t c d - r e a d i n e s s \" , t y p e = \" r e a d y z \" }   1   k u b e r n e t e s _ h e a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25537"
  },
  {
    "question": "What is Using this data?",
    "answer": "T h e   c o m p o n e n t   S L I s   m e t r i c s   e n d p o i n t   i s   i n t e n d e d   t o   b e   s c r a p e d   a t   a   h i g h   f r e q u e n c y .   S c r a p i n g   a t   a   h i g h   f r e q u e n c y   m e a n s   t h a t   y o u   e n d   u p   w i t h   g r e a t e r   g r a n u l a r i t y   o f   t h e   g a u g e ' s   s i g n a l ,   w h i c h   c a n   b e   t h e n   u s e d   t o   c a l c u l a t e   S L O s .   T h e   / m e t r i c s / s l i s   e n d p o i n t   p r o v i d e s   t h e   r a w   d a t a   n e c e s s a r y   t o   c a l c u l a t e   a n   a v a i l a b i l i t y   S L O   f o r   t h e   r e s p e c t i v e   K u b e r n e t e s   c o m p o n e n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25538"
  },
  {
    "question": "What is 6.2 - CRI Pod & Container Metrics?",
    "answer": "T h e   k u b e l e t   c o l l e c t s   p o d   a n d   c o n t a i n e r   m e t r i c s   v i a   c A d v i s o r .   A s   a n   a l p h a   f e a t u r e ,   K u b e r n e t e s   l e t s   y o u   c o n f i g u r e   t h e   c o l l e c t i o n   o f   p o d   a n d   c o n t a i n e r   m e t r i c s   v i a   t h e   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I ) .   Y o u   m u s t   e n a b l e   t h e   P o d A n d C o n t a i n e r S t a t s F r o m C R I   f e a t u r e   g a t e   a n d   u s e   a   c o m p a t i b l e   C R I   i m p l e m e n t a t i o n   ( c o n t a i n e r d   > =   1 . 6 . 0 ,   C R I - O   > =   1 . 2 3 . 0 )   t o   u s e   t h e   C R I   b a s e d   c o l l e c t i o n   m e c h a n i s m .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25539"
  },
  {
    "question": "What is CRI Pod & Container Metrics?",
    "answer": "W i t h   P o d A n d C o n t a i n e r S t a t s F r o m C R I   e n a b l e d ,   t h e   k u b e l e t   p o l l s   t h e   u n d e r l y i n g   c o n t a i n e r   r u n t i m e   f o r   p o d   a n d   c o n t a i n e r   s t a t s   i n s t e a d   o f   i n s p e c t i n g   t h e   h o s t   s y s t e m   d i r e c t l y   u s i n g   c A d v i s o r .   T h e   b e n e f i t s   o f   r e l y i n g   o n   t h e   c o n t a i n e r   r u n t i m e   f o r   t h i s   i n f o r m a t i o n   a s   o p p o s e d   t o   d i r e c t   c o l l e c t i o n   w i t h   c A d v i s o r   i n c l u d e :   P o t e n t i a l   i m p r o v e d   p e r f o r m a n c e   i f   t h e   c o n t a i n e r   r u n t i m e   a l r e a d y   c o l l e c t s   t h i s   i n f o r m a t i o n   d u r i n g   n o r m a l   o p e r a t i o n s .   I n   t h i s   c a s e ,   t h e   d a t a   c a n   b e   r e - u s e d   i n s t e a d   o f   b e i n g   a g g r e g a t e d   a g a i n   b y   t h e   k u b e l e t . I t   f u r t h e r   d e c o u p l e s   t h e   k u b e l e t   a n d   t h e   c o n t a i n e r   r u n t i m e   a l l o w i n g   c o l l e c t i o n   o f   m e t r i c s   f o r   c o n t a i n e r   r u n t i m e s   t h a t   d o n ' t   r u n   p r o c e s s e s   d i r e c t l y   o n   t h e   h o s t   w i t h   k u b e l e t   w h e r e   t h e y   a r e   o b s e r v a b l e   b y   c A d v i s o r   ( f o r   e x a m p l e :   c o n t a i n e r   r u n t i m e s   t h a t   u s e   v i r t u a l i z a t i o n ) .   P o t e n t i a l   i m p r o v e d   p e r f o r m a n c e   i f   t h e   c o n t a i n e r   r u n t i m e   a l r e a d y   c o l l e c t s   t h i s   i n f o r m a t i o n   d u r i n g   n o r m a l   o p e r a t i o n s .   I n   t h i s   c a s e ,   t h e   d a t a   c a n   b e   r e - u s e d   i n s t e a d   o f   b e i n g   a g g r e g a t e d   a g a i n   b y   t h e   k u b e l e t .   I t   f u r t h e r   d e c o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25540"
  },
  {
    "question": "What is 6.3 - Node metrics data?",
    "answer": "T h e   k u b e l e t   g a t h e r s   m e t r i c   s t a t i s t i c s   a t   t h e   n o d e ,   v o l u m e ,   p o d   a n d   c o n t a i n e r   l e v e l ,   a n d   e m i t s   t h i s   i n f o r m a t i o n   i n   t h e   S u m m a r y   A P I .   Y o u   c a n   s e n d   a   p r o x i e d   r e q u e s t   t o   t h e   s t a t s   s u m m a r y   A P I   v i a   t h e   K u b e r n e t e s   A P I   s e r v e r .   H e r e   i s   a n   e x a m p l e   o f   a   S u m m a r y   A P I   r e q u e s t   f o r   a   n o d e   n a m e d   m i n i k u b e :   k u b e c t l   g e t   - - r a w   \" / a p i / v 1 / n o d e s / m i n i k u b e / p r o x y / s t a t s / s u m m a r y \"   H e r e   i s   t h e   s a m e   A P I   c a l l   u s i n g   c u r l :   #   Y o u   n e e d   t o   r u n   \" k u b e c t l   p r o x y \"   f i r s t   #   C h a n g e   8 0 8 0   t o   t h e   p o r t   t h a t   \" k u b e c t l   p r o x y \"   a s s i g n s   c u r l   h t t p : / / l o c a l h o s t : 8 0 8 0 / a p i / v 1 / n o d e s / m i n i k u b e / p r o x y / s t a t s / s u m m a r y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25541"
  },
  {
    "question": "What is Summary metrics API source?",
    "answer": "B y   d e f a u l t ,   K u b e r n e t e s   f e t c h e s   n o d e   s u m m a r y   m e t r i c s   d a t a   u s i n g   a n   e m b e d d e d   c A d v i s o r   t h a t   r u n s   w i t h i n   t h e   k u b e l e t .   I f   y o u   e n a b l e   t h e   P o d A n d C o n t a i n e r S t a t s F r o m C R I   f e a t u r e   g a t e   i n   y o u r   c l u s t e r ,   a n d   y o u   u s e   a   c o n t a i n e r   r u n t i m e   t h a t   s u p p o r t s   s t a t i s t i c s   a c c e s s   v i a   C o n t a i n e r   R u n t i m e   I n t e r f a c e   ( C R I ) ,   t h e n   t h e   k u b e l e t   f e t c h e s   P o d -   a n d   c o n t a i n e r - l e v e l   m e t r i c   d a t a   u s i n g   C R I ,   a n d   n o t   v i a   c A d v i s o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25542"
  },
  {
    "question": "What is Pressure Stall Information (PSI)?",
    "answer": "A s   a   b e t a   f e a t u r e ,   K u b e r n e t e s   l e t s   y o u   c o n f i g u r e   k u b e l e t   t o   c o l l e c t   L i n u x   k e r n e l   P r e s s u r e   S t a l l   I n f o r m a t i o n   ( P S I )   f o r   C P U ,   m e m o r y ,   a n d   I / O   u s a g e .   T h e   i n f o r m a t i o n   i s   c o l l e c t e d   a t   n o d e ,   p o d   a n d   c o n t a i n e r   l e v e l .   S e e   S u m m a r y   A P I   f o r   d e t a i l e d   s c h e m a .   T h i s   f e a t u r e   i s   e n a b l e d   b y   d e f a u l t ,   b y   s e t t i n g   t h e   K u b e l e t P S I   f e a t u r e   g a t e .   T h e   i n f o r m a t i o n   i s   a l s o   e x p o s e d   i n   P r o m e t h e u s   m e t r i c s .   Y o u   c a n   l e a r n   h o w   t o   i n t e r p r e t   t h e   P S I   m e t r i c s   i n   U n d e r s t a n d   P S I   M e t r i c s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25543"
  },
  {
    "question": "What is Requirements?",
    "answer": "P r e s s u r e   S t a l l   I n f o r m a t i o n   r e q u i r e s :   L i n u x   k e r n e l   v e r s i o n s   4 . 2 0   o r   l a t e r . c g r o u p   v 2",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25544"
  },
  {
    "question": "What is What's next?",
    "answer": "T h e   t a s k   p a g e s   f o r   T r o u b l e s h o o t i n g   C l u s t e r s   d i s c u s s   h o w   t o   u s e   a   m e t r i c s   p i p e l i n e   t h a t   r e l y   o n   t h e s e   d a t a .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25545"
  },
  {
    "question": "What is 6.4 - Understand Pressure Stall Information (PSI) Metrics?",
    "answer": "A s   a   b e t a   f e a t u r e ,   K u b e r n e t e s   l e t s   y o u   c o n f i g u r e   t h e   k u b e l e t   t o   c o l l e c t   L i n u x   k e r n e l   P r e s s u r e   S t a l l   I n f o r m a t i o n   ( P S I )   f o r   C P U ,   m e m o r y ,   a n d   I / O   u s a g e .   T h e   i n f o r m a t i o n   i s   c o l l e c t e d   a t   n o d e ,   p o d   a n d   c o n t a i n e r   l e v e l .   T h i s   f e a t u r e   i s   e n a b l e d   b y   d e f a u l t   b y   s e t t i n g   t h e   K u b e l e t P S I   f e a t u r e   g a t e .   P S I   m e t r i c s   a r e   e x p o s e d   t h r o u g h   t w o   d i f f e r e n t   s o u r c e s :   T h e   k u b e l e t ' s   S u m m a r y   A P I ,   w h i c h   p r o v i d e s   P S I   d a t a   a t   t h e   n o d e ,   p o d ,   a n d   c o n t a i n e r   l e v e l . T h e   / m e t r i c s / c a d v i s o r   e n d p o i n t   o n   t h e   k u b e l e t ,   w h i c h   e x p o s e s   P S I   m e t r i c s   i n   t h e   P r o m e t h e u s   f o r m a t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25546"
  },
  {
    "question": "What is Requirements?",
    "answer": "P r e s s u r e   S t a l l   I n f o r m a t i o n   r e q u i r e s   t h e   f o l l o w i n g   o n   y o u r   L i n u x   n o d e s :   T h e   L i n u x   k e r n e l   m u s t   b e   v e r s i o n   4 . 2 0   o r   n e w e r . T h e   k e r n e l   m u s t   b e   c o m p i l e d   w i t h   t h e   C O N F I G _ P S I = y   o p t i o n .   M o s t   m o d e r n   d i s t r i b u t i o n s   e n a b l e   t h i s   b y   d e f a u l t .   Y o u   c a n   c h e c k   y o u r   k e r n e l ' s   c o n f i g u r a t i o n   b y   r u n n i n g   z g r e p   C O N F I G _ P S I   / p r o c / c o n f i g . g z . S o m e   L i n u x   d i s t r i b u t i o n s   m a y   c o m p i l e   P S I   i n t o   t h e   k e r n e l   b u t   d i s a b l e   i t   b y   d e f a u l t .   I f   s o ,   y o u   n e e d   t o   e n a b l e   i t   a t   b o o t   t i m e   b y   a d d i n g   t h e   p s i = 1   p a r a m e t e r   t o   t h e   k e r n e l   c o m m a n d   l i n e . T h e   n o d e   m u s t   b e   u s i n g   c g r o u p   v 2 .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25547"
  },
  {
    "question": "What is Understanding PSI Metrics?",
    "answer": "P r e s s u r e   S t a l l   I n f o r m a t i o n   ( P S I )   m e t r i c s   a r e   p r o v i d e d   f o r   t h r e e   r e s o u r c e s :   C P U ,   m e m o r y ,   a n d   I / O .   T h e y   a r e   c a t e g o r i z e d   i n t o   t w o   m a i n   t y p e s   o f   p r e s s u r e :   s o m e   a n d   f u l l .   s o m e :   T h i s   v a l u e   i n d i c a t e s   t h a t   s o m e   t a s k s   ( o n e   o r   m o r e )   a r e   s t a l l e d   o n   a   r e s o u r c e .   F o r   e x a m p l e ,   i f   s o m e   t a s k s   a r e   w a i t i n g   f o r   I / O ,   t h i s   m e t r i c   w i l l   i n c r e a s e .   T h i s   c a n   b e   a n   e a r l y   i n d i c a t o r   o f   r e s o u r c e   c o n t e n t i o n . f u l l :   T h i s   v a l u e   i n d i c a t e s   t h a t   a l l   n o n - i d l e   t a s k s   a r e   s t a l l e d   o n   a   r e s o u r c e   s i m u l t a n e o u s l y .   T h i s   s i g n i f i e s   a   m o r e   s e v e r e   r e s o u r c e   s h o r t a g e ,   w h e r e   t h e   e n t i r e   s y s t e m   i s   u n a b l e   t o   m a k e   p r o g r e s s .   E a c h   p r e s s u r e   t y p e   p r o v i d e s   f o u r   m e t r i c s :   a v g 1 0 ,   a v g 6 0 ,   a v g 3 0 0 ,   a n d   t o t a l .   T h e   a v g   v a l u e s   r e p r e s e n t   t h e   p e r c e n t a g e   o f   w a l l - c l o c k   t i m e   t h a t   t a s k s   w e r e   s t a l l e d   o v e r   1 0 - s e c o n d ,   6 0 - s e c o n d ,   a n d   3 - m i n u t e   m o v i n g   a v e r a g e s .   T h e   t o t a l   v a l u e   i s   a   c u m u l a t i v e   c o u n t e r   i n   m i c r o s e c o n d s   s h o w i n g   t h e   t o t a l   t i m e   t a s k s   h a v e   b e e n   s t a l l e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25548"
  },
  {
    "question": "What is Example Scenarios?",
    "answer": "Y o u   c a n   u s e   a   s i m p l e   P o d   w i t h   a   s t r e s s - t e s t i n g   t o o l   t o   g e n e r a t e   r e s o u r c e   p r e s s u r e   a n d   o b s e r v e   t h e   P S I   m e t r i c s .   T h e   f o l l o w i n g   e x a m p l e s   u s e   t h e   a g n h o s t   c o n t a i n e r   i m a g e ,   w h i c h   i n c l u d e s   t h e   s t r e s s   t o o l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25549"
  },
  {
    "question": "What is Generating CPU Pressure?",
    "answer": "C r e a t e   a   P o d   t h a t   g e n e r a t e s   C P U   p r e s s u r e   u s i n g   t h e   s t r e s s   u t i l i t y .   T h i s   w o r k l o a d   w i l l   p u t   a   h e a v y   l o a d   o n   o n e   C P U   c o r e .   C r e a t e   a   f i l e   n a m e d   c p u - p r e s s u r e - p o d . y a m l :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   c p u - p r e s s u r e - p o d   s p e c :   r e s t a r t P o l i c y :   N e v e r   c o n t a i n e r s :   -   n a m e :   c p u - s t r e s s   i m a g e :   r e g i s t r y . k 8 s . i o / e 2 e - t e s t - i m a g e s / a g n h o s t : 2 . 4 7   a r g s :   -   \" s t r e s s \"   -   \" - - c p u s \"   -   \" 1 \"   r e s o u r c e s :   l i m i t s :   c p u :   \" 5 0 0 m \"   r e q u e s t s :   c p u :   \" 5 0 0 m \"   A p p l y   i t   t o   y o u r   c l u s t e r :   k u b e c t l   a p p l y   - f   c p u - p r e s s u r e - p o d . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25550"
  },
  {
    "question": "What is Observing CPU Pressure?",
    "answer": "A f t e r   t h e   P o d   i s   r u n n i n g ,   y o u   c a n   o b s e r v e   t h e   C P U   p r e s s u r e   t h r o u g h   e i t h e r   t h e   S u m m a r y   A P I   o r   t h e   P r o m e t h e u s   m e t r i c s   e n d p o i n t .   U s i n g   t h e   S u m m a r y   A P I :   W a t c h   t h e   s u m m a r y   s t a t s   f o r   y o u r   n o d e .   I n   a   s e p a r a t e   t e r m i n a l ,   r u n :   #   R e p l a c e   < n o d e - n a m e >   w i t h   t h e   n a m e   o f   a   n o d e   i n   y o u r   c l u s t e r   k u b e c t l   g e t   - - r a w   \" / a p i / v 1 / n o d e s / < n o d e - n a m e > / p r o x y / s t a t s / s u m m a r y \"   |   j q   ' . p o d s [ ]   |   s e l e c t ( . p o d R e f . n a m e   |   c o n t a i n s ( \" c p u - p r e s s u r e - p o d \" ) ) '   Y o u   w i l l   s e e   t h e   s o m e   P S I   m e t r i c s   f o r   C P U   i n c r e a s e   i n   t h e   s u m m a r y   A P I   o u t p u t .   T h e   a v g 1 0   v a l u e   f o r   s o m e   p r e s s u r e   s h o u l d   r i s e   a b o v e   z e r o ,   i n d i c a t i n g   t h a t   t a s k s   a r e   s p e n d i n g   t i m e   s t a l l e d   o n   t h e   C P U .   U s i n g   t h e   P r o m e t h e u s   m e t r i c s   e n d p o i n t :   Q u e r y   t h e   / m e t r i c s / c a d v i s o r   e n d p o i n t   t o   s e e   t h e   c o n t a i n e r _ p r e s s u r e _ c p u _ w a i t i n g _ s e c o n d s _ t o t a l   m e t r i c .   #   R e p l a c e   < n o d e - n a m e >   w i t h   t h e   n a m e   o f   t h e   n o d e   w h e r e   t h e   p o d   i s   r u n n i n g   k u b e c t l   g e t   - - r a w   \" / a p i / v 1 / n o d e s / < n o d e - n a m e > / p r o x y / m e t r i c s / c a d v i s o r \"   |   \\   g r e p   ' c o n t a i n e r _ p r e s s u r e _ c p u _ w a i t i n g _ s e c o n d s _ t o t a l { c o n t a i n e r = \" c p u - s t r e s s \" '   T h e   o u t p u t   s h o u l d   s h o w   a n   i n c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25551"
  },
  {
    "question": "What is Cleanup?",
    "answer": "C l e a n   u p   t h e   P o d   w h e n   y o u   a r e   f i n i s h e d :   k u b e c t l   d e l e t e   p o d   c p u - p r e s s u r e - p o d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25552"
  },
  {
    "question": "What is Generating Memory Pressure?",
    "answer": "T h i s   e x a m p l e   c r e a t e s   a   P o d   t h a t   c o n t i n u o u s l y   w r i t e s   t o   f i l e s   i n   t h e   c o n t a i n e r ' s   w r i t a b l e   l a y e r ,   c a u s i n g   t h e   k e r n e l ' s   p a g e   c a c h e   t o   g r o w   a n d   f o r c i n g   m e m o r y   r e c l a m a t i o n ,   w h i c h   g e n e r a t e s   p r e s s u r e .   C r e a t e   a   f i l e   n a m e d   m e m o r y - p r e s s u r e - p o d . y a m l :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   m e m o r y - p r e s s u r e - p o d   s p e c :   r e s t a r t P o l i c y :   N e v e r   c o n t a i n e r s :   -   n a m e :   m e m o r y - s t r e s s   i m a g e :   r e g i s t r y . k 8 s . i o / e 2 e - t e s t - i m a g e s / a g n h o s t : 2 . 4 7   c o m m a n d :   [ \" / b i n / s h \" ,   \" - c \" ]   a r g s :   -   \" i = 0 ;   w h i l e   t r u e ;   d o   d d   i f = / d e v / z e r o   o f = t e s t f i l e . $ i   b s = 1 M   c o u n t = 5 0   & > / d e v / n u l l ;   i = $ ( ( ( i + 1 ) % 5 ) ) ;   s l e e p   0 . 1 ;   d o n e \"   r e s o u r c e s :   l i m i t s :   m e m o r y :   \" 2 0 0 M \"   r e q u e s t s :   m e m o r y :   \" 2 0 0 M \"   A p p l y   i t   t o   y o u r   c l u s t e r :   k u b e c t l   a p p l y   - f   m e m o r y - p r e s s u r e - p o d . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25553"
  },
  {
    "question": "What is Observing Memory Pressure?",
    "answer": "U s i n g   t h e   S u m m a r y   A P I :   I n   t h e   s u m m a r y   o u t p u t ,   y o u   w i l l   o b s e r v e   a n   i n c r e a s e   i n   t h e   f u l l   P S I   m e t r i c s   f o r   m e m o r y ,   i n d i c a t i n g   t h a t   t h e   s y s t e m   i s   u n d e r   s i g n i f i c a n t   m e m o r y   p r e s s u r e .   #   R e p l a c e   < n o d e - n a m e >   w i t h   t h e   n a m e   o f   a   n o d e   i n   y o u r   c l u s t e r   k u b e c t l   g e t   - - r a w   \" / a p i / v 1 / n o d e s / < n o d e - n a m e > / p r o x y / s t a t s / s u m m a r y \"   |   j q   ' . p o d s [ ]   |   s e l e c t ( . p o d R e f . n a m e   |   c o n t a i n s ( \" m e m o r y - p r e s s u r e - p o d \" ) ) '   U s i n g   t h e   P r o m e t h e u s   m e t r i c s   e n d p o i n t :   Q u e r y   t h e   / m e t r i c s / c a d v i s o r   e n d p o i n t   t o   s e e   t h e   c o n t a i n e r _ p r e s s u r e _ m e m o r y _ w a i t i n g _ s e c o n d s _ t o t a l   m e t r i c .   #   R e p l a c e   < n o d e - n a m e >   w i t h   t h e   n a m e   o f   t h e   n o d e   w h e r e   t h e   p o d   i s   r u n n i n g   k u b e c t l   g e t   - - r a w   \" / a p i / v 1 / n o d e s / < n o d e - n a m e > / p r o x y / m e t r i c s / c a d v i s o r \"   |   \\   g r e p   ' c o n t a i n e r _ p r e s s u r e _ m e m o r y _ w a i t i n g _ s e c o n d s _ t o t a l { c o n t a i n e r = \" m e m o r y - s t r e s s \" '   I n   t h e   o u t p u t ,   y o u   w i l l   o b s e r v e   a n   i n c r e a s i n g   v a l u e   f o r   t h e   m e t r i c ,   i n d i c a t i n g   t h a t   t h e   s y s t e m   i s   u n d e r   s i g n i f i c a n t   m e m o r y   p r e s s u r e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25554"
  },
  {
    "question": "What is Cleanup?",
    "answer": "C l e a n   u p   t h e   P o d   w h e n   y o u   a r e   f i n i s h e d :   k u b e c t l   d e l e t e   p o d   m e m o r y - p r e s s u r e - p o d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25555"
  },
  {
    "question": "What is Generating I/O Pressure?",
    "answer": "T h i s   P o d   g e n e r a t e s   I / O   p r e s s u r e   b y   r e p e a t e d l y   w r i t i n g   a   f i l e   t o   d i s k   a n d   u s i n g   s y n c   t o   f l u s h   t h e   d a t a   f r o m   m e m o r y ,   w h i c h   c r e a t e s   I / O   s t a l l s .   C r e a t e   a   f i l e   n a m e d   i o - p r e s s u r e - p o d . y a m l :   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   i o - p r e s s u r e - p o d   s p e c :   r e s t a r t P o l i c y :   N e v e r   c o n t a i n e r s :   -   n a m e :   i o - s t r e s s   i m a g e :   r e g i s t r y . k 8 s . i o / e 2 e - t e s t - i m a g e s / a g n h o s t : 2 . 4 7   c o m m a n d :   [ \" / b i n / s h \" ,   \" - c \" ]   a r g s :   -   \" w h i l e   t r u e ;   d o   d d   i f = / d e v / z e r o   o f = t e s t f i l e   b s = 1 M   c o u n t = 1 2 8   & > / d e v / n u l l ;   s y n c ;   r m   t e s t f i l e   & > / d e v / n u l l ;   d o n e \"   A p p l y   t h i s   t o   y o u r   c l u s t e r :   k u b e c t l   a p p l y   - f   i o - p r e s s u r e - p o d . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25556"
  },
  {
    "question": "What is Observing I/O Pressure?",
    "answer": "U s i n g   t h e   S u m m a r y   A P I :   Y o u   w i l l   s e e   t h e   s o m e   P S I   m e t r i c s   f o r   I / O   i n c r e a s e   a s   t h e   P o d   c o n t i n u o u s l y   w r i t e s   t o   d i s k .   #   R e p l a c e   < n o d e - n a m e >   w i t h   t h e   n a m e   o f   a   n o d e   i n   y o u r   c l u s t e r   k u b e c t l   g e t   - - r a w   \" / a p i / v 1 / n o d e s / < n o d e - n a m e > / p r o x y / s t a t s / s u m m a r y \"   |   j q   ' . p o d s [ ]   |   s e l e c t ( . p o d R e f . n a m e   |   c o n t a i n s ( \" i o - p r e s s u r e - p o d \" ) ) '   U s i n g   t h e   P r o m e t h e u s   m e t r i c s   e n d p o i n t :   Q u e r y   t h e   / m e t r i c s / c a d v i s o r   e n d p o i n t   t o   s e e   t h e   c o n t a i n e r _ p r e s s u r e _ i o _ w a i t i n g _ s e c o n d s _ t o t a l   m e t r i c .   #   R e p l a c e   < n o d e - n a m e >   w i t h   t h e   n a m e   o f   t h e   n o d e   w h e r e   t h e   p o d   i s   r u n n i n g   k u b e c t l   g e t   - - r a w   \" / a p i / v 1 / n o d e s / < n o d e - n a m e > / p r o x y / m e t r i c s / c a d v i s o r \"   |   \\   g r e p   ' c o n t a i n e r _ p r e s s u r e _ i o _ w a i t i n g _ s e c o n d s _ t o t a l { c o n t a i n e r = \" i o - s t r e s s \" '   Y o u   w i l l   s e e   t h e   m e t r i c ' s   v a l u e   i n c r e a s e   a s   t h e   P o d   c o n t i n u o u s l y   w r i t e s   t o   d i s k .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25557"
  },
  {
    "question": "What is Cleanup?",
    "answer": "C l e a n   u p   t h e   P o d   w h e n   y o u   a r e   f i n i s h e d :   k u b e c t l   d e l e t e   p o d   i o - p r e s s u r e - p o d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25558"
  },
  {
    "question": "What is What's next?",
    "answer": "T h e   t a s k   p a g e s   f o r   T r o u b l e s h o o t i n g   C l u s t e r s   d i s c u s s   h o w   t o   u s e   a   m e t r i c s   p i p e l i n e   t h a t   r e l y   o n   t h e s e   d a t a .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25559"
  },
  {
    "question": "What is 6.5 - Kubernetes z-pages?",
    "answer": "K u b e r n e t e s   c o r e   c o m p o n e n t s   c a n   e x p o s e   a   s u i t e   o f   z - e n d p o i n t s   t o   m a k e   i t   e a s i e r   f o r   u s e r s   t o   d e b u g   t h e i r   c l u s t e r   a n d   i t s   c o m p o n e n t s .   T h e s e   e n d p o i n t s   a r e   s t r i c t l y   t o   b e   u s e d   f o r   h u m a n   i n s p e c t i o n   t o   g a i n   r e a l   t i m e   d e b u g g i n g   i n f o r m a t i o n   o f   a   c o m p o n e n t   b i n a r y .   A v o i d   a u t o m a t e d   s c r a p i n g   o f   d a t a   r e t u r n e d   b y   t h e s e   e n d p o i n t s ;   i n   K u b e r n e t e s   1 . 3 4   t h e s e   a r e   a n   a l p h a   f e a t u r e   a n d   t h e   r e s p o n s e   f o r m a t   m a y   c h a n g e   i n   f u t u r e   r e l e a s e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25560"
  },
  {
    "question": "What is z-pages?",
    "answer": "K u b e r n e t e s   v 1 . 3 4   a l l o w s   y o u   t o   e n a b l e   z - p a g e s   t o   h e l p   y o u   t r o u b l e s h o o t   p r o b l e m s   w i t h   i t s   c o r e   c o n t r o l   p l a n e   c o m p o n e n t s .   T h e s e   s p e c i a l   d e b u g g i n g   e n d p o i n t s   p r o v i d e   i n t e r n a l   i n f o r m a t i o n   a b o u t   r u n n i n g   c o m p o n e n t s .   F o r   K u b e r n e t e s   1 . 3 4 ,   c o m p o n e n t s   s e r v e   t h e   f o l l o w i n g   e n d p o i n t s   ( w h e n   e n a b l e d ) :   z - p a g e s s t a t u s z f l a g z   s t a t u s z f l a g z",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25561"
  },
  {
    "question": "What is statusz?",
    "answer": "E n a b l e d   u s i n g   t h e   C o m p o n e n t S t a t u s z   f e a t u r e   g a t e ,   t h e   / s t a t u s z   e n d p o i n t   d i s p l a y s   h i g h   l e v e l   i n f o r m a t i o n   a b o u t   t h e   c o m p o n e n t   s u c h   a s   i t s   K u b e r n e t e s   v e r s i o n ,   e m u l a t i o n   v e r s i o n ,   s t a r t   t i m e   a n d   m o r e .   T h e   / s t a t u s z   r e s p o n s e   f r o m   t h e   A P I   s e r v e r   i s   s i m i l a r   t o :   k u b e - a p i s e r v e r   s t a t u s z   W a r n i n g :   T h i s   e n d p o i n t   i s   n o t   m e a n t   t o   b e   m a c h i n e   p a r s e a b l e ,   h a s   n o   f o r m a t t i n g   c o m p a t i b i l i t y   g u a r a n t e e s   a n d   i s   f o r   d e b u g g i n g   p u r p o s e s   o n l y .   S t a r t e d :   W e d   O c t   1 6   2 1 : 0 3 : 4 3   U T C   2 0 2 4   U p :   0   h r   0 0   m i n   1 6   s e c   G o   v e r s i o n :   g o 1 . 2 3 . 2   B i n a r y   v e r s i o n :   1 . 3 2 . 0 - a l p h a . 0 . 1 4 8 4 & # 4 3 ; 5 e e a c 4 f 2 1 a 4 9 1 b - d i r t y   E m u l a t i o n   v e r s i o n :   1 . 3 2 . 0 - a l p h a . 0 . 1 4 8 4",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25562"
  },
  {
    "question": "What is flagz?",
    "answer": "E n a b l e d   u s i n g   t h e   C o m p o n e n t F l a g z   f e a t u r e   g a t e ,   t h e   / f l a g z   e n d p o i n t   s h o w s   y o u   t h e   c o m m a n d   l i n e   a r g u m e n t s   t h a t   w e r e   u s e d   t o   s t a r t   a   c o m p o n e n t .   T h e   / f l a g z   d a t a   f o r   t h e   A P I   s e r v e r   l o o k s   s o m e t h i n g   l i k e :   k u b e - a p i s e r v e r   f l a g s   W a r n i n g :   T h i s   e n d p o i n t   i s   n o t   m e a n t   t o   b e   m a c h i n e   p a r s e a b l e ,   h a s   n o   f o r m a t t i n g   c o m p a t i b i l i t y   g u a r a n t e e s   a n d   i s   f o r   d e b u g g i n g   p u r p o s e s   o n l y .   a d v e r t i s e - a d d r e s s = 1 9 2 . 1 6 8 . 8 . 2   c o n t e n t i o n - p r o f i l i n g = f a l s e   e n a b l e - p r i o r i t y - a n d - f a i r n e s s = t r u e   p r o f i l i n g = t r u e   a u t h o r i z a t i o n - m o d e = [ N o d e , R B A C ]   a u t h o r i z a t i o n - w e b h o o k - c a c h e - a u t h o r i z e d - t t l = 5 m 0 s   a u t h o r i z a t i o n - w e b h o o k - c a c h e - u n a u t h o r i z e d - t t l = 3 0 s   a u t h o r i z a t i o n - w e b h o o k - v e r s i o n = v 1 b e t a 1   d e f a u l t - w a t c h - c a c h e - s i z e = 1 0 0",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25563"
  },
  {
    "question": "What is Metrics (v1.34)?",
    "answer": "T h i s   p a g e   d e t a i l s   t h e   m e t r i c s   t h a t   d i f f e r e n t   K u b e r n e t e s   c o m p o n e n t s   e x p o r t .   Y o u   c a n   q u e r y   t h e   m e t r i c s   e n d p o i n t   f o r   t h e s e   c o m p o n e n t s   u s i n g   a n   H T T P   s c r a p e ,   a n d   f e t c h   t h e   c u r r e n t   m e t r i c s   d a t a   i n   P r o m e t h e u s   f o r m a t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25564"
  },
  {
    "question": "What is List of Stable Kubernetes Metrics?",
    "answer": "S t a b l e   m e t r i c s   o b s e r v e   s t r i c t   A P I   c o n t r a c t s   a n d   n o   l a b e l s   c a n   b e   a d d e d   o r   r e m o v e d   f r o m   s t a b l e   m e t r i c s   d u r i n g   t h e i r   l i f e t i m e .   S t a b i l i t y   L e v e l : S T A B L E T y p e :   H i s t o g r a m L a b e l s : n a m e o p e r a t i o n r e j e c t e d t y p e   S t a b i l i t y   L e v e l : S T A B L E T y p e :   H i s t o g r a m L a b e l s : o p e r a t i o n r e j e c t e d t y p e   S t a b i l i t y   L e v e l : S T A B L E T y p e :   H i s t o g r a m L a b e l s : n a m e o p e r a t i o n r e j e c t e d t y p e   S t a b i l i t y   L e v e l : S T A B L E T y p e :   G a u g e L a b e l s : r e q u e s t _ k i n d   S t a b i l i t y   L e v e l : S T A B L E T y p e :   G a u g e L a b e l s : c o m p o n e n t g r o u p r e s o u r c e s c o p e s u b r e s o u r c e v e r b v e r s i o n   S t a b i l i t y   L e v e l : S T A B L E T y p e :   H i s t o g r a m L a b e l s : c o m p o n e n t d r y _ r u n g r o u p r e s o u r c e s c o p e s u b r e s o u r c e v e r b v e r s i o n   S t a b i l i t y   L e v e l : S T A B L E T y p e :   C o u n t e r L a b e l s : c o d e c o m p o n e n t d r y _ r u n g r o u p r e s o u r c e s c o p e s u b r e s o u r c e v e r b v e r s i o n   S t a b i l i t y   L e v e l : S T A B L E T y p e :   G a u g e L a b e l s : g r o u p r e m o v e d _ r e l e a s e r e s o u r c e s u b r e s o u r c e v e r s i o n   S t a b i l i t y   L e v e l : S T A B L E T y p e :   H i s t o g r a m L a b e l s : c o m p o n e n t g r o u p r e s o u r c e s c o p e s u b r e s o u r c e v e r b v e r s i o n   S t a b i l i t y   L e v e l : S T A B L E T y p e :   G a u g e L a b e l s : r e s o u r c e D e p r e c a t e d   V e r s i o n s : 1 . 3 4 . 0   S t a b i l i t y   L e v e l : S T A B L E T y p e :   C u s t o m L a b e l s : s t o r a g e _ c l u s t e r _ i d   S t a b i l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25565"
  },
  {
    "question": "What is List of Beta Kubernetes Metrics?",
    "answer": "B e t a   m e t r i c s   o b s e r v e   a   l o o s e r   A P I   c o n t r a c t   t h a n   i t s   s t a b l e   c o u n t e r p a r t s .   N o   l a b e l s   c a n   b e   r e m o v e d   f r o m   b e t a   m e t r i c s   d u r i n g   t h e i r   l i f e t i m e ,   h o w e v e r ,   l a b e l s   c a n   b e   a d d e d   w h i l e   t h e   m e t r i c   i s   i n   t h e   b e t a   s t a g e .   T h i s   o f f e r s   t h e   a s s u r a n c e   t h a t   b e t a   m e t r i c s   w i l l   h o n o r   e x i s t i n g   d a s h b o a r d s   a n d   a l e r t s ,   w h i l e   a l l o w i n g   f o r   a m e n d m e n t s   i n   t h e   f u t u r e .   S t a b i l i t y   L e v e l : B E T A T y p e :   G a u g e L a b e l s : a p i s e r v e r _ i d _ h a s h s t a t u s   S t a b i l i t y   L e v e l : B E T A T y p e :   C o u n t e r L a b e l s : a p i s e r v e r _ i d _ h a s h s t a t u s   S t a b i l i t y   L e v e l : B E T A T y p e :   G a u g e L a b e l s : a p i s e r v e r _ i d _ h a s h s t a t u s   S t a b i l i t y   L e v e l : B E T A T y p e :   C o u n t e r L a b e l s : a p i s e r v e r _ i d _ h a s h s t a t u s   S t a b i l i t y   L e v e l : B E T A T y p e :   H i s t o g r a m   S t a b i l i t y   L e v e l : B E T A T y p e :   H i s t o g r a m   S t a b i l i t y   L e v e l : B E T A T y p e :   G a u g e L a b e l s : f l o w _ s c h e m a p r i o r i t y _ l e v e l   S t a b i l i t y   L e v e l : B E T A T y p e :   G a u g e L a b e l s : f l o w _ s c h e m a p r i o r i t y _ l e v e l   S t a b i l i t y   L e v e l : B E T A T y p e :   G a u g e L a b e l s : f l o w _ s c h e m a p r i o r i t y _ l e v e l   S t a b i l i t y   L e v e l : B E T A T y p e :   C o u n t e r L a b e l s : f l o w _ s c h e m a p r i o r i t y _ l e v e l   S t a b i l i t y   L e v e l : B E T A T y p e :   G a u g e L a b e l s : p r i o r i t y _ l e v e l   S t a b i l i t y   L e v e l : B E T A T y p e :   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25566"
  },
  {
    "question": "What is List of Alpha Kubernetes Metrics?",
    "answer": "A l p h a   m e t r i c s   d o   n o t   h a v e   a n y   A P I   g u a r a n t e e s .   T h e s e   m e t r i c s   m u s t   b e   u s e d   a t   y o u r   o w n   r i s k ,   s u b s e q u e n t   v e r s i o n s   o f   K u b e r n e t e s   m a y   r e m o v e   t h e s e   m e t r i c s   a l t o g e t h e r ,   o r   m u t a t e   t h e   A P I   i n   s u c h   a   w a y   t h a t   b r e a k s   e x i s t i n g   d a s h b o a r d s   a n d   a l e r t s .   S t a b i l i t y   L e v e l : A L P H A T y p e :   C o u n t e r   S t a b i l i t y   L e v e l : A L P H A T y p e :   C o u n t e r L a b e l s : a p i s e r v i c e r e a s o n   S t a b i l i t y   L e v e l : A L P H A T y p e :   G a u g e L a b e l s : r e a s o n   S t a b i l i t y   L e v e l : A L P H A T y p e :   C u s t o m L a b e l s : n a m e   S t a b i l i t y   L e v e l : A L P H A T y p e :   C o u n t e r L a b e l s : n a m e r e a s o n   S t a b i l i t y   L e v e l : A L P H A T y p e :   H i s t o g r a m   S t a b i l i t y   L e v e l : A L P H A T y p e :   C o u n t e r L a b e l s : c r d r e a s o n   S t a b i l i t y   L e v e l : A L P H A T y p e :   C o u n t e r L a b e l s : c r d g r o u p r e a s o n v e r s i o n   S t a b i l i t y   L e v e l : A L P H A T y p e :   C o u n t e r L a b e l s : k i n d n a m e o p e r a t i o n t y p e   S t a b i l i t y   L e v e l : A L P H A T y p e :   H i s t o g r a m L a b e l s : k i n d n a m e o p e r a t i o n t y p e   S t a b i l i t y   L e v e l : A L P H A T y p e :   C o u n t e r L a b e l s : k i n d n a m e o p e r a t i o n t y p e   S t a b i l i t y   L e v e l : A L P H A T y p e :   S u m m a r y L a b e l s : o p e r a t i o n r e j e c t e d t y p e   S t a b i l i t y   L e v e l : A L P H A T y p e :   C o u n t e r L a b e l s : n a m e t y p e   S t a b i l i t y   L e v e l : A L P H A T y p e :   C o u n t e r L a b e l s : e r r o r _ t y p e n a m e o p e r a t i o n r e j e c t i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25567"
  },
  {
    "question": "What is 7.1 - Kubernetes Issue Tracker?",
    "answer": "T o   r e p o r t   a   s e c u r i t y   i s s u e ,   p l e a s e   f o l l o w   t h e   K u b e r n e t e s   s e c u r i t y   d i s c l o s u r e   p r o c e s s .   W o r k   o n   K u b e r n e t e s   c o d e   a n d   p u b l i c   i s s u e s   a r e   t r a c k e d   u s i n g   G i t H u b   I s s u e s .   O f f i c i a l   l i s t   o f   k n o w n   C V E s   ( s e c u r i t y   v u l n e r a b i l i t i e s )   t h a t   h a v e   b e e n   a n n o u n c e d   b y   t h e   S e c u r i t y   R e s p o n s e   C o m m i t t e e C V E - r e l a t e d   G i t H u b   i s s u e s   S e c u r i t y - r e l a t e d   a n n o u n c e m e n t s   a r e   s e n t   t o   t h e   k u b e r n e t e s - s e c u r i t y - a n n o u n c e @ g o o g l e g r o u p s . c o m   m a i l i n g   l i s t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25568"
  },
  {
    "question": "What is 7.2 - Kubernetes Security and Disclosure Information?",
    "answer": "T h i s   p a g e   d e s c r i b e s   K u b e r n e t e s   s e c u r i t y   a n d   d i s c l o s u r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25569"
  },
  {
    "question": "What is Security Announcements?",
    "answer": "J o i n   t h e   k u b e r n e t e s - s e c u r i t y - a n n o u n c e   g r o u p   f o r   e m a i l s   a b o u t   s e c u r i t y   a n d   m a j o r   A P I   a n n o u n c e m e n t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25570"
  },
  {
    "question": "What is Report a Vulnerability?",
    "answer": "W e ' r e   e x t r e m e l y   g r a t e f u l   f o r   s e c u r i t y   r e s e a r c h e r s   a n d   u s e r s   t h a t   r e p o r t   v u l n e r a b i l i t i e s   t o   t h e   K u b e r n e t e s   O p e n   S o u r c e   C o m m u n i t y .   A l l   r e p o r t s   a r e   t h o r o u g h l y   i n v e s t i g a t e d   b y   a   s e t   o f   c o m m u n i t y   v o l u n t e e r s .   T o   m a k e   a   r e p o r t ,   s u b m i t   y o u r   v u l n e r a b i l i t y   t o   t h e   K u b e r n e t e s   b u g   b o u n t y   p r o g r a m .   T h i s   a l l o w s   t r i a g e   a n d   h a n d l i n g   o f   t h e   v u l n e r a b i l i t y   w i t h   s t a n d a r d i z e d   r e s p o n s e   t i m e s .   Y o u   c a n   a l s o   e m a i l   t h e   p r i v a t e   s e c u r i t y @ k u b e r n e t e s . i o   l i s t   w i t h   t h e   s e c u r i t y   d e t a i l s   a n d   t h e   d e t a i l s   e x p e c t e d   f o r   a l l   K u b e r n e t e s   b u g   r e p o r t s .   Y o u   m a y   e n c r y p t   y o u r   e m a i l   t o   t h i s   l i s t   u s i n g   t h e   G P G   k e y s   o f   t h e   S e c u r i t y   R e s p o n s e   C o m m i t t e e   m e m b e r s .   E n c r y p t i o n   u s i n g   G P G   i s   N O T   r e q u i r e d   t o   m a k e   a   d i s c l o s u r e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25571"
  },
  {
    "question": "What is When Should I Report a Vulnerability??",
    "answer": "Y o u   t h i n k   y o u   d i s c o v e r e d   a   p o t e n t i a l   s e c u r i t y   v u l n e r a b i l i t y   i n   K u b e r n e t e s Y o u   a r e   u n s u r e   h o w   a   v u l n e r a b i l i t y   a f f e c t s   K u b e r n e t e s Y o u   t h i n k   y o u   d i s c o v e r e d   a   v u l n e r a b i l i t y   i n   a n o t h e r   p r o j e c t   t h a t   K u b e r n e t e s   d e p e n d s   o n F o r   p r o j e c t s   w i t h   t h e i r   o w n   v u l n e r a b i l i t y   r e p o r t i n g   a n d   d i s c l o s u r e   p r o c e s s ,   p l e a s e   r e p o r t   i t   d i r e c t l y   t h e r e   F o r   p r o j e c t s   w i t h   t h e i r   o w n   v u l n e r a b i l i t y   r e p o r t i n g   a n d   d i s c l o s u r e   p r o c e s s ,   p l e a s e   r e p o r t   i t   d i r e c t l y   t h e r e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25572"
  },
  {
    "question": "What is When Should I NOT Report a Vulnerability??",
    "answer": "Y o u   n e e d   h e l p   t u n i n g   K u b e r n e t e s   c o m p o n e n t s   f o r   s e c u r i t y Y o u   n e e d   h e l p   a p p l y i n g   s e c u r i t y   r e l a t e d   u p d a t e s Y o u r   i s s u e   i s   n o t   s e c u r i t y   r e l a t e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25573"
  },
  {
    "question": "What is Security Vulnerability Response?",
    "answer": "E a c h   r e p o r t   i s   a c k n o w l e d g e d   a n d   a n a l y z e d   b y   S e c u r i t y   R e s p o n s e   C o m m i t t e e   m e m b e r s   w i t h i n   3   w o r k i n g   d a y s .   T h i s   w i l l   s e t   o f f   t h e   S e c u r i t y   R e l e a s e   P r o c e s s .   A n y   v u l n e r a b i l i t y   i n f o r m a t i o n   s h a r e d   w i t h   S e c u r i t y   R e s p o n s e   C o m m i t t e e   s t a y s   w i t h i n   K u b e r n e t e s   p r o j e c t   a n d   w i l l   n o t   b e   d i s s e m i n a t e d   t o   o t h e r   p r o j e c t s   u n l e s s   i t   i s   n e c e s s a r y   t o   g e t   t h e   i s s u e   f i x e d .   A s   t h e   s e c u r i t y   i s s u e   m o v e s   f r o m   t r i a g e ,   t o   i d e n t i f i e d   f i x ,   t o   r e l e a s e   p l a n n i n g   w e   w i l l   k e e p   t h e   r e p o r t e r   u p d a t e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25574"
  },
  {
    "question": "What is Public Disclosure Timing?",
    "answer": "A   p u b l i c   d i s c l o s u r e   d a t e   i s   n e g o t i a t e d   b y   t h e   K u b e r n e t e s   S e c u r i t y   R e s p o n s e   C o m m i t t e e   a n d   t h e   b u g   s u b m i t t e r .   W e   p r e f e r   t o   f u l l y   d i s c l o s e   t h e   b u g   a s   s o o n   a s   p o s s i b l e   o n c e   a   u s e r   m i t i g a t i o n   i s   a v a i l a b l e .   I t   i s   r e a s o n a b l e   t o   d e l a y   d i s c l o s u r e   w h e n   t h e   b u g   o r   t h e   f i x   i s   n o t   y e t   f u l l y   u n d e r s t o o d ,   t h e   s o l u t i o n   i s   n o t   w e l l - t e s t e d ,   o r   f o r   v e n d o r   c o o r d i n a t i o n .   T h e   t i m e f r a m e   f o r   d i s c l o s u r e   i s   f r o m   i m m e d i a t e   ( e s p e c i a l l y   i f   i t ' s   a l r e a d y   p u b l i c l y   k n o w n )   t o   a   f e w   w e e k s .   F o r   a   v u l n e r a b i l i t y   w i t h   a   s t r a i g h t f o r w a r d   m i t i g a t i o n ,   w e   e x p e c t   r e p o r t   d a t e   t o   d i s c l o s u r e   d a t e   t o   b e   o n   t h e   o r d e r   o f   7   d a y s .   T h e   K u b e r n e t e s   S e c u r i t y   R e s p o n s e   C o m m i t t e e   h o l d s   t h e   f i n a l   s a y   w h e n   s e t t i n g   a   d i s c l o s u r e   d a t e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25575"
  },
  {
    "question": "What is 7.3 - Official CVE Feed?",
    "answer": "T h i s   i s   a   c o m m u n i t y   m a i n t a i n e d   l i s t   o f   o f f i c i a l   C V E s   a n n o u n c e d   b y   t h e   K u b e r n e t e s   S e c u r i t y   R e s p o n s e   C o m m i t t e e .   S e e   K u b e r n e t e s   S e c u r i t y   a n d   D i s c l o s u r e   I n f o r m a t i o n   f o r   m o r e   d e t a i l s .   T h e   K u b e r n e t e s   p r o j e c t   p u b l i s h e s   a   p r o g r a m m a t i c a l l y   a c c e s s i b l e   f e e d   o f   p u b l i s h e d   s e c u r i t y   i s s u e s   i n   J S O N   f e e d   a n d   R S S   f e e d   f o r m a t s .   Y o u   c a n   a c c e s s   i t   b y   e x e c u t i n g   t h e   f o l l o w i n g   c o m m a n d s :   L i n k   t o   J S O N   f o r m a t c u r l   - L v   h t t p s : / / k 8 s . i o / d o c s / r e f e r e n c e / i s s u e s - s e c u r i t y / o f f i c i a l - c v e - f e e d / i n d e x . j s o n   L i n k   t o   J S O N   f o r m a t   c u r l   - L v   h t t p s : / / k 8 s . i o / d o c s / r e f e r e n c e / i s s u e s - s e c u r i t y / o f f i c i a l - c v e - f e e d / i n d e x . j s o n   L i n k   t o   R S S   f o r m a t c u r l   - L v   h t t p s : / / k 8 s . i o / d o c s / r e f e r e n c e / i s s u e s - s e c u r i t y / o f f i c i a l - c v e - f e e d / f e e d . x m l   L i n k   t o   R S S   f o r m a t   c u r l   - L v   h t t p s : / / k 8 s . i o / d o c s / r e f e r e n c e / i s s u e s - s e c u r i t y / o f f i c i a l - c v e - f e e d / f e e d . x m l   T h i s   f e e d   i s   a u t o - r e f r e s h i n g   w i t h   a   n o t i c e a b l e   b u t   s m a l l   l a g   ( m i n u t e s   t o   h o u r s )   f r o m   t h e   t i m e   a   C V E   i s   a n n o u n c e d   t o   t h e   t i m e   i t   i s   a c c e s s i b l e   i n   t h i s   f e e d .   T h e   s o u r c e   o f   t r u t h   o f   t h i s   f e e d   i s   a   s e t   o f   G i t H u b   I s s u e s ,   f i l t e r e d   b ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25576"
  },
  {
    "question": "What is 8 - Node Reference Information?",
    "answer": "T h i s   s e c t i o n   c o n t a i n s   t h e   f o l l o w i n g   r e f e r e n c e   t o p i c s   a b o u t   n o d e s :   t h e   k u b e l e t ' s   c h e c k p o i n t   A P I a   l i s t   o f   A r t i c l e s   o n   d o c k e r s h i m   R e m o v a l   a n d   o n   U s i n g   C R I - c o m p a t i b l e   R u n t i m e s K u b e l e t   D e v i c e   M a n a g e r   A P I   V e r s i o n s N o d e   L a b e l s   P o p u l a t e d   B y   T h e   K u b e l e t L o c a l   F i l e s   A n d   P a t h s   U s e d   B y   T h e   K u b e l e t N o d e   . s t a t u s   i n f o r m a t i o n L i n u x   N o d e   S w a p   B e h a v i o r s S e c c o m p   i n f o r m a t i o n   t h e   k u b e l e t ' s   c h e c k p o i n t   A P I   a   l i s t   o f   A r t i c l e s   o n   d o c k e r s h i m   R e m o v a l   a n d   o n   U s i n g   C R I - c o m p a t i b l e   R u n t i m e s   K u b e l e t   D e v i c e   M a n a g e r   A P I   V e r s i o n s   N o d e   L a b e l s   P o p u l a t e d   B y   T h e   K u b e l e t   L o c a l   F i l e s   A n d   P a t h s   U s e d   B y   T h e   K u b e l e t   N o d e   . s t a t u s   i n f o r m a t i o n   L i n u x   N o d e   S w a p   B e h a v i o r s   S e c c o m p   i n f o r m a t i o n   Y o u   c a n   a l s o   r e a d   n o d e   r e f e r e n c e   d e t a i l s   f r o m   e l s e w h e r e   i n   t h e   K u b e r n e t e s   d o c u m e n t a t i o n ,   i n c l u d i n g :   N o d e   M e t r i c s   D a t a . C R I   P o d   &   C o n t a i n e r   M e t r i c s . U n d e r s t a n d   P r e s s u r e   S t a l l   I n f o r m a t i o n   ( P S I )   M e t r i c s .   N o d e   M e t r i c s   D a t a .   C R I   P o d   &   C o n t a i n e r   M e t r i c s .   U n d e r s t a n d   P r e s s u r e   S t a l l   I n f o r m a t i o n   ( P S I )   M e t r i c s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25577"
  },
  {
    "question": "What is 8.1 - Kubelet Checkpoint API?",
    "answer": "C h e c k p o i n t i n g   a   c o n t a i n e r   i s   t h e   f u n c t i o n a l i t y   t o   c r e a t e   a   s t a t e f u l   c o p y   o f   a   r u n n i n g   c o n t a i n e r .   O n c e   y o u   h a v e   a   s t a t e f u l   c o p y   o f   a   c o n t a i n e r ,   y o u   c o u l d   m o v e   i t   t o   a   d i f f e r e n t   c o m p u t e r   f o r   d e b u g g i n g   o r   s i m i l a r   p u r p o s e s .   I f   y o u   m o v e   t h e   c h e c k p o i n t e d   c o n t a i n e r   d a t a   t o   a   c o m p u t e r   t h a t ' s   a b l e   t o   r e s t o r e   i t ,   t h a t   r e s t o r e d   c o n t a i n e r   c o n t i n u e s   t o   r u n   a t   e x a c t l y   t h e   s a m e   p o i n t   i t   w a s   c h e c k p o i n t e d .   Y o u   c a n   a l s o   i n s p e c t   t h e   s a v e d   d a t a ,   p r o v i d e d   t h a t   y o u   h a v e   s u i t a b l e   t o o l s   f o r   d o i n g   s o .   C r e a t i n g   a   c h e c k p o i n t   o f   a   c o n t a i n e r   m i g h t   h a v e   s e c u r i t y   i m p l i c a t i o n s .   T y p i c a l l y   a   c h e c k p o i n t   c o n t a i n s   a l l   m e m o r y   p a g e s   o f   a l l   p r o c e s s e s   i n   t h e   c h e c k p o i n t e d   c o n t a i n e r .   T h i s   m e a n s   t h a t   e v e r y t h i n g   t h a t   u s e d   t o   b e   i n   m e m o r y   i s   n o w   a v a i l a b l e   o n   t h e   l o c a l   d i s k .   T h i s   i n c l u d e s   a l l   p r i v a t e   d a t a   a n d   p o s s i b l y   k e y s   u s e d   f o r   e n c r y p t i o n .   T h e   u n d e r l y i n g   C R I   i m p l e m e n t a t i o n s   ( t h e   c o n t a i n e r   r u n t i m e   o n   t h a t   n o d e )   s h o u l d   c r e a t e   t h e   c h e c k p o i n t   a r c h i v e   t o   b e   o n l y   a c c e s s i b l e   b y   t h e   r o o t   u s e r .   I t   i s   s t i l l   i m p o r t a n t   t o   r e m e m b e r   i f   t h e   c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25578"
  },
  {
    "question": "What is post checkpoint the specified container?",
    "answer": "T e l l   t h e   k u b e l e t   t o   c h e c k p o i n t   a   s p e c i f i c   c o n t a i n e r   f r o m   t h e   s p e c i f i e d   P o d .   C o n s u l t   t h e   K u b e l e t   a u t h e n t i c a t i o n / a u t h o r i z a t i o n   r e f e r e n c e   f o r   m o r e   i n f o r m a t i o n   a b o u t   h o w   a c c e s s   t o   t h e   k u b e l e t   c h e c k p o i n t   i n t e r f a c e   i s   c o n t r o l l e d .   T h e   k u b e l e t   w i l l   r e q u e s t   a   c h e c k p o i n t   f r o m   t h e   u n d e r l y i n g   C R I   i m p l e m e n t a t i o n .   I n   t h e   c h e c k p o i n t   r e q u e s t   t h e   k u b e l e t   w i l l   s p e c i f y   t h e   n a m e   o f   t h e   c h e c k p o i n t   a r c h i v e   a s   c h e c k p o i n t - < p o d F u l l N a m e > - < c o n t a i n e r N a m e > - < t i m e s t a m p > . t a r   a n d   a l s o   r e q u e s t   t o   s t o r e   t h e   c h e c k p o i n t   a r c h i v e   i n   t h e   c h e c k p o i n t s   d i r e c t o r y   b e l o w   i t s   r o o t   d i r e c t o r y   ( a s   d e f i n e d   b y   - - r o o t - d i r ) .   T h i s   d e f a u l t s   t o   / v a r / l i b / k u b e l e t / c h e c k p o i n t s .   T h e   c h e c k p o i n t   a r c h i v e   i s   i n   t a r   f o r m a t ,   a n d   c o u l d   b e   l i s t e d   u s i n g   a n   i m p l e m e n t a t i o n   o f   t a r .   T h e   c o n t e n t s   o f   t h e   a r c h i v e   d e p e n d   o n   t h e   u n d e r l y i n g   C R I   i m p l e m e n t a t i o n   ( t h e   c o n t a i n e r   r u n t i m e   o n   t h a t   n o d e ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25579"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / c h e c k p o i n t / { n a m e s p a c e } / { p o d } / { c o n t a i n e r }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25580"
  },
  {
    "question": "What is Parameters?",
    "answer": "n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d N a m e s p a c e p o d   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d P o d c o n t a i n e r   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d C o n t a i n e r t i m e o u t   ( i n   q u e r y ) :   i n t e g e r T i m e o u t   i n   s e c o n d s   t o   w a i t   u n t i l   t h e   c h e c k p o i n t   c r e a t i o n   i s   f i n i s h e d .   I f   z e r o   o r   n o   t i m e o u t   i s   s p e c i f i e d   t h e   d e f a u l t   C R I   t i m e o u t   v a l u e   w i l l   b e   u s e d .   C h e c k p o i n t   c r e a t i o n   t i m e   d e p e n d s   d i r e c t l y   o n   t h e   u s e d   m e m o r y   o f   t h e   c o n t a i n e r .   T h e   m o r e   m e m o r y   a   c o n t a i n e r   u s e s   t h e   m o r e   t i m e   i s   r e q u i r e d   t o   c r e a t e   t h e   c o r r e s p o n d i n g   c h e c k p o i n t .   n a m e s p a c e   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   p o d   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   c o n t a i n e r   ( i n   p a t h ) :   s t r i n g ,   r e q u i r e d   t i m e o u t   ( i n   q u e r y ) :   i n t e g e r   T i m e o u t   i n   s e c o n d s   t o   w a i t   u n t i l   t h e   c h e c k p o i n t   c r e a t i o n   i s   f i n i s h e d .   I f   z e r o   o r   n o   t i m e o u t   i s   s p e c i f i e d   t h e   d e f a u l t   C R I   t i m e o u t   v a l u e   w i l l   b e   u s e d .   C h e c k p o i n t   c r e a t i o n   t i m e   d e p e n d s   d i r e c t l y   o n   t h e   u s e d   m e m o r y   o f   t h e   c o n t a i n e r .   T h e   m o r e   m e m o r y   a   c o n t a i n e r   u s e s   t h e   m o r e   t i m e   i s   r e q u i r e d   t o   c r e a t e   t h e   c o r r e s p o n d i n g   c h e c k p o i n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25581"
  },
  {
    "question": "What is Response?",
    "answer": "2 0 0 :   O K   4 0 1 :   U n a u t h o r i z e d   4 0 4 :   N o t   F o u n d   ( i f   t h e   C o n t a i n e r C h e c k p o i n t   f e a t u r e   g a t e   i s   d i s a b l e d )   4 0 4 :   N o t   F o u n d   ( i f   t h e   s p e c i f i e d   n a m e s p a c e ,   p o d   o r   c o n t a i n e r   c a n n o t   b e   f o u n d )   5 0 0 :   I n t e r n a l   S e r v e r   E r r o r   ( i f   t h e   C R I   i m p l e m e n t a t i o n   e n c o u n t e r   a n   e r r o r   d u r i n g   c h e c k p o i n t i n g   ( s e e   e r r o r   m e s s a g e   f o r   f u r t h e r   d e t a i l s ) )   5 0 0 :   I n t e r n a l   S e r v e r   E r r o r   ( i f   t h e   C R I   i m p l e m e n t a t i o n   d o e s   n o t   i m p l e m e n t   t h e   c h e c k p o i n t   C R I   A P I   ( s e e   e r r o r   m e s s a g e   f o r   f u r t h e r   d e t a i l s ) )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25582"
  },
  {
    "question": "What is 8.2 - Linux Kernel Version Requirements?",
    "answer": "M a n y   f e a t u r e s   r e l y   o n   s p e c i f i c   k e r n e l   f u n c t i o n a l i t i e s   a n d   h a v e   m i n i m u m   k e r n e l   v e r s i o n   r e q u i r e m e n t s .   H o w e v e r ,   r e l y i n g   s o l e l y   o n   k e r n e l   v e r s i o n   n u m b e r s   m a y   n o t   b e   s u f f i c i e n t   f o r   c e r t a i n   o p e r a t i n g   s y s t e m   d i s t r i b u t i o n s ,   a s   m a i n t a i n e r s   f o r   d i s t r i b u t i o n s   s u c h   a s   R H E L ,   U b u n t u   a n d   S U S E   o f t e n   b a c k p o r t   s e l e c t e d   f e a t u r e s   t o   o l d e r   k e r n e l   r e l e a s e s   ( r e t a i n i n g   t h e   o l d e r   k e r n e l   v e r s i o n ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25583"
  },
  {
    "question": "What is Pod sysctls?",
    "answer": "O n   L i n u x ,   t h e   s y s c t l ( )   s y s t e m   c a l l   c o n f i g u r e s   k e r n e l   p a r a m e t e r s   a t   r u n   t i m e .   T h e r e   i s   a   c o m m a n d   l i n e   t o o l   n a m e d   s y s c t l   t h a t   y o u   c a n   u s e   t o   c o n f i g u r e   t h e s e   p a r a m e t e r s ,   a n d   m a n y   a r e   e x p o s e d   v i a   t h e   p r o c   f i l e s y s t e m .   S o m e   s y s c t l s   a r e   o n l y   a v a i l a b l e   i f   y o u   h a v e   a   m o d e r n   e n o u g h   k e r n e l .   T h e   f o l l o w i n g   s y s c t l s   h a v e   a   m i n i m a l   k e r n e l   v e r s i o n   r e q u i r e m e n t ,   a n d   a r e   s u p p o r t e d   i n   t h e   s a f e   s e t :   n e t . i p v 4 . i p _ l o c a l _ r e s e r v e d _ p o r t s   ( s i n c e   K u b e r n e t e s   1 . 2 7 ,   n e e d s   k e r n e l   3 . 1 6 + ) ; n e t . i p v 4 . t c p _ k e e p a l i v e _ t i m e   ( s i n c e   K u b e r n e t e s   1 . 2 9 ,   n e e d s   k e r n e l   4 . 5 + ) ; n e t . i p v 4 . t c p _ f i n _ t i m e o u t   ( s i n c e   K u b e r n e t e s   1 . 2 9 ,   n e e d s   k e r n e l   4 . 6 + ) ; n e t . i p v 4 . t c p _ k e e p a l i v e _ i n t v l   ( s i n c e   K u b e r n e t e s   1 . 2 9 ,   n e e d s   k e r n e l   4 . 5 + ) ; n e t . i p v 4 . t c p _ k e e p a l i v e _ p r o b e s   ( s i n c e   K u b e r n e t e s   1 . 2 9 ,   n e e d s   k e r n e l   4 . 5 + ) ; n e t . i p v 4 . t c p _ s y n c o o k i e s   ( n a m e s p a c e d   s i n c e   k e r n e l   4 . 6 + ) . n e t . i p v 4 . t c p _ r m e m   ( s i n c e   K u b e r n e t e s   1 . 3 2 ,   n e e d s   k e r n e l   4 . 1 5 + ) . n e t . i p v 4 . t c p _ w m e m   ( s i n c e   K u b e r n e t e s   1 . 3 2 ,   n e e d s   k e r n e l   4 . 1 5 + ) . n e t . i p v 4 . v s . c o n n _ r e u s e _ m o d e   ( u s e d   i n   i p v s   p r o x y   m o d e ,   n e e d s   k e r n e l   4 . 1 + ) ;",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25584"
  },
  {
    "question": "What is kube proxy nftables proxy mode?",
    "answer": "F o r   K u b e r n e t e s   1 . 3 4 ,   t h e   n f t a b l e s   m o d e   o f   k u b e - p r o x y   r e q u i r e s   v e r s i o n   1 . 0 . 1   o r   l a t e r   o f   t h e   n f t   c o m m a n d - l i n e   t o o l ,   a s   w e l l   a s   k e r n e l   5 . 1 3   o r   l a t e r .   F o r   t e s t i n g / d e v e l o p m e n t   p u r p o s e s ,   y o u   c a n   u s e   o l d e r   k e r n e l s ,   a s   f a r   b a c k   a s   5 . 4   i f   y o u   s e t   t h e   n f t a b l e s . s k i p K e r n e l V e r s i o n C h e c k   o p t i o n   i n   t h e   k u b e - p r o x y   c o n f i g .   B u t   t h i s   i s   n o t   r e c o m m e n d e d   i n   p r o d u c t i o n   s i n c e   i t   m a y   c a u s e   p r o b l e m s   w i t h   o t h e r   n f t a b l e s   u s e r s   o n   t h e   s y s t e m .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25585"
  },
  {
    "question": "What is Version 2 control groups?",
    "answer": "K u b e r n e t e s   c g r o u p   v 1   s u p p o r t   i s   i n   m a i n t a i n e d   m o d e   s t a r t i n g   f r o m   K u b e r n e t e s   v 1 . 3 1 ;   u s i n g   c g r o u p   v 2   i s   r e c o m m e n d e d .   I n   L i n u x   5 . 8 ,   t h e   s y s t e m - l e v e l   c p u . s t a t   f i l e   w a s   a d d e d   t o   t h e   r o o t   c g r o u p   f o r   c o n v e n i e n c e .   I n   r u n c   d o c u m e n t ,   K e r n e l   o l d e r   t h a n   5 . 2   i s   n o t   r e c o m m e n d e d   d u e   t o   l a c k   o f   f r e e z e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25586"
  },
  {
    "question": "What is Pressure Stall Information (PSI)?",
    "answer": "P r e s s u r e   S t a l l   I n f o r m a t i o n   i s   s u p p o r t e d   i n   L i n u x   k e r n e l   v e r s i o n s   4 . 2 0   a n d   u p ,   b u t   r e q u i r e s   t h e   f o l l o w i n g   c o n f i g u r a t i o n :   T h e   k e r n e l   m u s t   b e   c o m p i l e d   w i t h   t h e   C O N F I G _ P S I = y   o p t i o n .   M o s t   m o d e r n   d i s t r i b u t i o n s   e n a b l e   t h i s   b y   d e f a u l t .   Y o u   c a n   c h e c k   y o u r   k e r n e l ' s   c o n f i g u r a t i o n   b y   r u n n i n g   z g r e p   C O N F I G _ P S I   / p r o c / c o n f i g . g z . S o m e   L i n u x   d i s t r i b u t i o n s   m a y   c o m p i l e   P S I   i n t o   t h e   k e r n e l   b u t   d i s a b l e   i t   b y   d e f a u l t .   I f   s o ,   y o u   n e e d   t o   e n a b l e   i t   a t   b o o t   t i m e   b y   a d d i n g   t h e   p s i = 1   p a r a m e t e r   t o   t h e   k e r n e l   c o m m a n d   l i n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25587"
  },
  {
    "question": "What is Other kernel requirements?",
    "answer": "S o m e   f e a t u r e s   m a y   d e p e n d   o n   n e w   k e r n e l   f u n c t i o n a l i t i e s   a n d   h a v e   s p e c i f i c   k e r n e l   r e q u i r e m e n t s :   R e c u r s i v e   r e a d   o n l y   m o u n t :   T h i s   i s   i m p l e m e n t e d   b y   a p p l y i n g   t h e   M O U N T _ A T T R _ R D O N L Y   a t t r i b u t e   w i t h   t h e   A T _ R E C U R S I V E   f l a g   u s i n g   m o u n t _ s e t a t t r ( 2 )   a d d e d   i n   L i n u x   k e r n e l   v 5 . 1 2 . P o d   u s e r   n a m e s p a c e   s u p p o r t   r e q u i r e s   m i n i m a l   k e r n e l   v e r s i o n   6 . 5 + ,   a c c o r d i n g   t o   K E P - 1 2 7 . F o r   n o d e   s y s t e m   s w a p ,   t m p f s   s e t   t o   n o s w a p   i s   n o t   s u p p o r t e d   u n t i l   k e r n e l   6 . 3 .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25588"
  },
  {
    "question": "What is Linux kernel long term maintenance?",
    "answer": "A c t i v e   k e r n e l   r e l e a s e s   c a n   b e   f o u n d   i n   k e r n e l . o r g .   T h e r e   a r e   u s u a l l y   s e v e r a l   l o n g   t e r m   m a i n t e n a n c e   k e r n e l   r e l e a s e s   p r o v i d e d   f o r   t h e   p u r p o s e s   o f   b a c k p o r t i n g   b u g   f i x e s   f o r   o l d e r   k e r n e l   t r e e s .   O n l y   i m p o r t a n t   b u g   f i x e s   a r e   a p p l i e d   t o   s u c h   k e r n e l s   a n d   t h e y   d o n ' t   u s u a l l y   s e e   v e r y   f r e q u e n t   r e l e a s e s ,   e s p e c i a l l y   f o r   o l d e r   t r e e s .   S e e   t h e   L i n u x   k e r n e l   w e b s i t e   f o r   t h e   l i s t   o f   r e l e a s e s   i n   t h e   L o n g t e r m   c a t e g o r y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25589"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   s y s c t l s   f o r   m o r e   d e t a i l s . A l l o w   r u n n i n g   k u b e - p r o x y   w i t h   i n   n f t a b l e s   m o d e . R e a d   m o r e   i n f o r m a t i o n   i n   c g r o u p s   v 2 .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25590"
  },
  {
    "question": "What is 8.3 - Articles on dockershim Removal and on Using CRI-compatible Runtimes?",
    "answer": "T h i s   i s   a   l i s t   o f   a r t i c l e s   a n d   o t h e r   p a g e s   t h a t   a r e   e i t h e r   a b o u t   t h e   K u b e r n e t e s '   d e p r e c a t i o n   a n d   r e m o v a l   o f   d o c k e r s h i m ,   o r   a b o u t   u s i n g   C R I - c o m p a t i b l e   c o n t a i n e r   r u n t i m e s ,   i n   c o n n e c t i o n   w i t h   t h a t   r e m o v a l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25591"
  },
  {
    "question": "What is Kubernetes project?",
    "answer": "K u b e r n e t e s   b l o g :   D o c k e r s h i m   R e m o v a l   F A Q   ( o r i g i n a l l y   p u b l i s h e d   2 0 2 0 / 1 2 / 0 2 ) K u b e r n e t e s   b l o g :   U p d a t e d :   D o c k e r s h i m   R e m o v a l   F A Q   ( u p d a t e d   p u b l i s h e d   2 0 2 2 / 0 2 / 1 7 ) K u b e r n e t e s   b l o g :   K u b e r n e t e s   i s   M o v i n g   o n   F r o m   D o c k e r s h i m :   C o m m i t m e n t s   a n d   N e x t   S t e p s   ( p u b l i s h e d   2 0 2 2 / 0 1 / 0 7 ) K u b e r n e t e s   b l o g :   D o c k e r s h i m   r e m o v a l   i s   c o m i n g .   A r e   y o u   r e a d y ?   ( p u b l i s h e d   2 0 2 1 / 1 1 / 1 2 ) K u b e r n e t e s   d o c u m e n t a t i o n :   M i g r a t i n g   f r o m   d o c k e r s h i m K u b e r n e t e s   d o c u m e n t a t i o n :   C o n t a i n e r   R u n t i m e s K u b e r n e t e s   e n h a n c e m e n t   p r o p o s a l :   K E P - 2 2 2 1 :   R e m o v i n g   d o c k e r s h i m   f r o m   k u b e l e t K u b e r n e t e s   e n h a n c e m e n t   p r o p o s a l   i s s u e :   R e m o v i n g   d o c k e r s h i m   f r o m   k u b e l e t   ( k / e n h a n c e m e n t s # 2 2 2 1 )   K u b e r n e t e s   b l o g :   D o c k e r s h i m   R e m o v a l   F A Q   ( o r i g i n a l l y   p u b l i s h e d   2 0 2 0 / 1 2 / 0 2 )   K u b e r n e t e s   b l o g :   U p d a t e d :   D o c k e r s h i m   R e m o v a l   F A Q   ( u p d a t e d   p u b l i s h e d   2 0 2 2 / 0 2 / 1 7 )   K u b e r n e t e s   b l o g :   K u b e r n e t e s   i s   M o v i n g   o n   F r o m   D o c k e r s h i m :   C o m m i t m e n t s   a n d   N e x t   S t e p s   ( p u b l i s h e d   2 0 2 2 / 0 1 / 0 7 )   K u b e r n e t e s   b l o g :   D o c k e r s h i m   r e m o v a l   i s   c o m i n g .   A r e   y o u   r e a d y ?   ( p u b l i s h e d   2 0 2 1 / 1 1 / 1 2 )   K u b e r n e t e s   d o c u m e n t a t i o n :   M i g r a t i n g   f r o m   d o c k e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25592"
  },
  {
    "question": "What is External sources?",
    "answer": "A m a z o n   W e b   S e r v i c e s   E K S   d o c u m e n t a t i o n :   A m a z o n   E K S   i s   e n d i n g   s u p p o r t   f o r   D o c k e r s h i m C N C F   c o n f e r e n c e   v i d e o :   L e s s o n s   L e a r n e d   M i g r a t i n g   K u b e r n e t e s   f r o m   D o c k e r   t o   c o n t a i n e r d   R u n t i m e   ( A n a   C a y l i n ,   a t   K u b e C o n   E u r o p e   2 0 1 9 ) D o c k e r . c o m   b l o g :   W h a t   d e v e l o p e r s   n e e d   t o   k n o w   a b o u t   D o c k e r ,   D o c k e r   E n g i n e ,   a n d   K u b e r n e t e s   v 1 . 2 0   ( p u b l i s h e d   2 0 2 0 / 1 2 / 0 4 ) \" G o o g l e   O p e n   S o u r c e \"   c h a n n e l   o n   Y o u T u b e :   L e a r n   K u b e r n e t e s   w i t h   G o o g l e   -   M i g r a t i n g   f r o m   D o c k e r s h i m   t o   C o n t a i n e r d M i c r o s o f t   A p p s   o n   A z u r e   b l o g :   D o c k e r s h i m   d e p r e c a t i o n   a n d   A K S   ( p u b l i s h e d   2 0 2 2 / 0 1 / 2 1 ) M i r a n t i s   b l o g :   T h e   F u t u r e   o f   D o c k e r s h i m   i s   c r i - d o c k e r d   ( p u b l i s h e d   2 0 2 1 / 0 4 / 2 1 ) M i r a n t i s :   M i r a n t i s / c r i - d o c k e r d   O f f i c i a l   D o c u m e n t a t i o n T r i p w i r e :   H o w   D o c k e r s h i m ’ s   F o r t h c o m i n g   D e p r e c a t i o n   A f f e c t s   Y o u r   K u b e r n e t e s   ( p u b l i s h e d   2 0 2 1 / 0 7 / 0 1 )   A m a z o n   W e b   S e r v i c e s   E K S   d o c u m e n t a t i o n :   A m a z o n   E K S   i s   e n d i n g   s u p p o r t   f o r   D o c k e r s h i m   C N C F   c o n f e r e n c e   v i d e o :   L e s s o n s   L e a r n e d   M i g r a t i n g   K u b e r n e t e s   f r o m   D o c k e r   t o   c o n t a i n e r d   R u n t i m e   ( A n a   C a y l i n ,   a t   K u b e C o n   E u r o p e   2 0 1 9 )   D o c k e r . c o m   b l o g :   W h a t   d e v e l o p e r s   n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25593"
  },
  {
    "question": "What is 8.4 - Node Labels Populated By The Kubelet?",
    "answer": "K u b e r n e t e s   n o d e s   c o m e   p r e - p o p u l a t e d   w i t h   a   s t a n d a r d   s e t   o f   l a b e l s .   Y o u   c a n   a l s o   s e t   y o u r   o w n   l a b e l s   o n   n o d e s ,   e i t h e r   t h r o u g h   t h e   k u b e l e t   c o n f i g u r a t i o n   o r   u s i n g   t h e   K u b e r n e t e s   A P I .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25594"
  },
  {
    "question": "What is Preset labels?",
    "answer": "T h e   p r e s e t   l a b e l s   t h a t   K u b e r n e t e s   s e t s   o n   n o d e s   a r e :   k u b e r n e t e s . i o / a r c h k u b e r n e t e s . i o / h o s t n a m e k u b e r n e t e s . i o / o s n o d e . k u b e r n e t e s . i o / i n s t a n c e - t y p e   ( i f   k n o w n   t o   t h e   k u b e l e t   –   K u b e r n e t e s   m a y   n o t   h a v e   t h i s   i n f o r m a t i o n   t o   s e t   t h e   l a b e l ) t o p o l o g y . k u b e r n e t e s . i o / r e g i o n   ( i f   k n o w n   t o   t h e   k u b e l e t   –   K u b e r n e t e s   m a y   n o t   h a v e   t h i s   i n f o r m a t i o n   t o   s e t   t h e   l a b e l ) t o p o l o g y . k u b e r n e t e s . i o / z o n e   ( i f   k n o w n   t o   t h e   k u b e l e t   –   K u b e r n e t e s   m a y   n o t   h a v e   t h i s   i n f o r m a t i o n   t o   s e t   t h e   l a b e l )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25595"
  },
  {
    "question": "What is What's next?",
    "answer": "S e e   W e l l - K n o w n   L a b e l s ,   A n n o t a t i o n s   a n d   T a i n t s   f o r   a   l i s t   o f   c o m m o n   l a b e l s . L e a r n   h o w   t o   a d d   a   l a b e l   t o   a   n o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25596"
  },
  {
    "question": "What is 8.5 - Local Files And Paths Used By The Kubelet?",
    "answer": "T h e   k u b e l e t   i s   m o s t l y   a   s t a t e l e s s   p r o c e s s   r u n n i n g   o n   a   K u b e r n e t e s   n o d e .   T h i s   d o c u m e n t   o u t l i n e s   f i l e s   t h a t   k u b e l e t   r e a d s   a n d   w r i t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25597"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   k u b e l e t   t y p i c a l l y   u s e s   t h e   c o n t r o l   p l a n e   a s   t h e   s o u r c e   o f   t r u t h   o n   w h a t   n e e d s   t o   r u n   o n   t h e   N o d e ,   a n d   t h e   c o n t a i n e r   r u n t i m e   t o   r e t r i e v e   t h e   c u r r e n t   s t a t e   o f   c o n t a i n e r s .   S o   l o n g   a s   y o u   p r o v i d e   a   k u b e c o n f i g   ( A P I   c l i e n t   c o n f i g u r a t i o n )   t o   t h e   k u b e l e t ,   t h e   k u b e l e t   d o e s   c o n n e c t   t o   y o u r   c o n t r o l   p l a n e ;   o t h e r w i s e   t h e   n o d e   o p e r a t e s   i n   s t a n d a l o n e   m o d e .   O n   L i n u x   n o d e s ,   t h e   k u b e l e t   a l s o   r e l i e s   o n   r e a d i n g   c g r o u p s   a n d   v a r i o u s   s y s t e m   f i l e s   t o   c o l l e c t   m e t r i c s .   O n   W i n d o w s   n o d e s ,   t h e   k u b e l e t   c o l l e c t s   m e t r i c s   v i a   a   d i f f e r e n t   m e c h a n i s m   t h a t   d o e s   n o t   r e l y   o n   p a t h s .   T h e r e   a r e   a l s o   a   f e w   o t h e r   f i l e s   t h a t   a r e   u s e d   b y   t h e   k u b e l e t   a s   w e l l ,   a s   k u b e l e t   c o m m u n i c a t e s   u s i n g   l o c a l   U n i x - d o m a i n   s o c k e t s .   S o m e   a r e   s o c k e t s   t h a t   t h e   k u b e l e t   l i s t e n s   o n ,   a n d   f o r   o t h e r   s o c k e t s   t h e   k u b e l e t   d i s c o v e r s   t h e m   a n d   t h e n   c o n n e c t s   a s   a   c l i e n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25598"
  },
  {
    "question": "What is Kubelet configuration files?",
    "answer": "T h e   p a t h   t o   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e   c a n   b e   c o n f i g u r e d   u s i n g   t h e   c o m m a n d   l i n e   a r g u m e n t   - - c o n f i g .   T h e   k u b e l e t   a l s o   s u p p o r t s   d r o p - i n   c o n f i g u r a t i o n   f i l e s   t o   e n h a n c e   c o n f i g u r a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25599"
  },
  {
    "question": "What is Certificates?",
    "answer": "C e r t i f i c a t e s   a n d   p r i v a t e   k e y s   a r e   t y p i c a l l y   l o c a t e d   a t   / v a r / l i b / k u b e l e t / p k i ,   b u t   c a n   b e   c o n f i g u r e d   u s i n g   t h e   - - c e r t - d i r   k u b e l e t   c o m m a n d   l i n e   a r g u m e n t .   N a m e s   o f   c e r t i f i c a t e   f i l e s   a r e   a l s o   c o n f i g u r a b l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25600"
  },
  {
    "question": "What is Manifests?",
    "answer": "M a n i f e s t s   f o r   s t a t i c   p o d s   a r e   t y p i c a l l y   l o c a t e d   i n   / e t c / k u b e r n e t e s / m a n i f e s t s .   L o c a t i o n   c a n   b e   c o n f i g u r e d   u s i n g   t h e   s t a t i c P o d P a t h   k u b e l e t   c o n f i g u r a t i o n   o p t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25601"
  },
  {
    "question": "What is Systemd unit settings?",
    "answer": "W h e n   k u b e l e t   i s   r u n n i n g   a s   a   s y s t e m d   u n i t ,   s o m e   k u b e l e t   c o n f i g u r a t i o n   m a y   b e   d e c l a r e d   i n   s y s t e m d   u n i t   s e t t i n g s   f i l e .   T y p i c a l l y   i t   i n c l u d e s :   c o m m a n d   l i n e   a r g u m e n t s   t o   r u n   k u b e l e t e n v i r o n m e n t   v a r i a b l e s ,   u s e d   b y   k u b e l e t   o r   c o n f i g u r i n g   g o l a n g   r u n t i m e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25602"
  },
  {
    "question": "What is Checkpoint files for resource managers?",
    "answer": "A l l   r e s o u r c e   m a n a g e r s   k e e p   t h e   m a p p i n g   o f   P o d s   t o   a l l o c a t e d   r e s o u r c e s   i n   s t a t e   f i l e s .   S t a t e   f i l e s   a r e   l o c a t e d   i n   t h e   k u b e l e t ' s   b a s e   d i r e c t o r y ,   a l s o   t e r m e d   t h e   r o o t   d i r e c t o r y   ( b u t   n o t   t h e   s a m e   a s   / ,   t h e   n o d e   r o o t   d i r e c t o r y ) .   Y o u   c a n   c o n f i g u r e   t h e   b a s e   d i r e c t o r y   f o r   t h e   k u b e l e t   u s i n g   t h e   k u b e l e t   c o m m a n d   l i n e   a r g u m e n t   - - r o o t - d i r .   N a m e s   o f   f i l e s :   m e m o r y _ m a n a g e r _ s t a t e   f o r   t h e   M e m o r y   M a n a g e r c p u _ m a n a g e r _ s t a t e   f o r   t h e   C P U   M a n a g e r d r a _ m a n a g e r _ s t a t e   f o r   D R A",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25603"
  },
  {
    "question": "What is Checkpoint file for device manager?",
    "answer": "D e v i c e   m a n a g e r   c r e a t e s   c h e c k p o i n t s   i n   t h e   s a m e   d i r e c t o r y   w i t h   s o c k e t   f i l e s :   / v a r / l i b / k u b e l e t / d e v i c e - p l u g i n s / .   T h e   n a m e   o f   a   c h e c k p o i n t   f i l e   i s   k u b e l e t _ i n t e r n a l _ c h e c k p o i n t   f o r   D e v i c e   M a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25604"
  },
  {
    "question": "What is Pod resource checkpoints?",
    "answer": "I f   a   n o d e   h a s   e n a b l e d   t h e   I n P l a c e P o d V e r t i c a l S c a l i n g f e a t u r e   g a t e ,   t h e   k u b e l e t   s t o r e s   a   l o c a l   r e c o r d   o f   a l l o c a t e d   a n d   a c t u a t e d   P o d   r e s o u r c e s .   S e e   R e s i z e   C P U   a n d   M e m o r y   R e s o u r c e s   a s s i g n e d   t o   C o n t a i n e r s   f o r   m o r e   d e t a i l s   o n   h o w   t h e s e   r e c o r d s   a r e   u s e d .   N a m e s   o f   f i l e s :   a l l o c a t e d _ p o d s _ s t a t e   r e c o r d s   t h e   r e s o u r c e s   a l l o c a t e d   t o   e a c h   p o d   r u n n i n g   o n   t h e   n o d e a c t u a t e d _ p o d s _ s t a t e   r e c o r d s   t h e   r e s o u r c e s   t h a t   h a v e   b e e n   a c c e p t e d   b y   t h e   r u n t i m e   f o r   e a c h   p o d   p o d   r u n n i n g   o n   t h e   n o d e   T h e   f i l e s   a r e   l o c a t e d   w i t h i n   t h e   k u b e l e t   b a s e   d i r e c t o r y   ( / v a r / l i b / k u b e l e t   b y   d e f a u l t   o n   L i n u x ;   c o n f i g u r a b l e   u s i n g   - - r o o t - d i r ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25605"
  },
  {
    "question": "What is Container runtime?",
    "answer": "K u b e l e t   c o m m u n i c a t e s   w i t h   t h e   c o n t a i n e r   r u n t i m e   u s i n g   s o c k e t   c o n f i g u r e d   v i a   t h e   c o n f i g u r a t i o n   p a r a m e t e r s :   c o n t a i n e r R u n t i m e E n d p o i n t   f o r   r u n t i m e   o p e r a t i o n s i m a g e S e r v i c e E n d p o i n t   f o r   i m a g e   m a n a g e m e n t   o p e r a t i o n s   T h e   a c t u a l   v a l u e s   o f   t h o s e   e n d p o i n t s   d e p e n d   o n   t h e   c o n t a i n e r   r u n t i m e   b e i n g   u s e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25606"
  },
  {
    "question": "What is Device plugins?",
    "answer": "T h e   k u b e l e t   e x p o s e s   a   s o c k e t   a t   t h e   p a t h   / v a r / l i b / k u b e l e t / d e v i c e - p l u g i n s / k u b e l e t . s o c k   f o r   v a r i o u s   D e v i c e   P l u g i n s   t o   r e g i s t e r .   W h e n   a   d e v i c e   p l u g i n   r e g i s t e r s   i t s e l f ,   i t   p r o v i d e s   i t s   s o c k e t   p a t h   f o r   t h e   k u b e l e t   t o   c o n n e c t .   T h e   d e v i c e   p l u g i n   s o c k e t   s h o u l d   b e   i n   t h e   d i r e c t o r y   d e v i c e - p l u g i n s   w i t h i n   t h e   k u b e l e t   b a s e   d i r e c t o r y .   O n   a   t y p i c a l   L i n u x   n o d e ,   t h i s   m e a n s   / v a r / l i b / k u b e l e t / d e v i c e - p l u g i n s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25607"
  },
  {
    "question": "What is Pod resources API?",
    "answer": "P o d   R e s o u r c e s   A P I   w i l l   b e   e x p o s e d   a t   t h e   p a t h   / v a r / l i b / k u b e l e t / p o d - r e s o u r c e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25608"
  },
  {
    "question": "What is DRA, CSI, and Device plugins?",
    "answer": "T h e   k u b e l e t   l o o k s   f o r   s o c k e t   f i l e s   c r e a t e d   b y   d e v i c e   p l u g i n s   m a n a g e d   v i a   D R A ,   d e v i c e   m a n a g e r ,   o r   s t o r a g e   p l u g i n s ,   a n d   t h e n   a t t e m p t s   t o   c o n n e c t   t o   t h e s e   s o c k e t s .   T h e   d i r e c t o r y   t h a t   t h e   k u b e l e t   l o o k s   i n   i s   p l u g i n s _ r e g i s t r y   w i t h i n   t h e   k u b e l e t   b a s e   d i r e c t o r y ,   s o   o n   a   t y p i c a l   L i n u x   n o d e   t h i s   m e a n s   / v a r / l i b / k u b e l e t / p l u g i n s _ r e g i s t r y .   N o t e ,   f o r   t h e   d e v i c e   p l u g i n s   t h e r e   a r e   t w o   a l t e r n a t i v e   r e g i s t r a t i o n   m e c h a n i s m s   O n l y   o n e   s h o u l d   b e   u s e d   f o r   a   g i v e n   p l u g i n .   T h e   t y p e s   o f   p l u g i n s   t h a t   c a n   p l a c e   s o c k e t   f i l e s   i n t o   t h a t   d i r e c t o r y   a r e :   C S I   p l u g i n s D R A   p l u g i n s D e v i c e   M a n a g e r   p l u g i n s   ( t y p i c a l l y   / v a r / l i b / k u b e l e t / p l u g i n s _ r e g i s t r y ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25609"
  },
  {
    "question": "What is Graceful node shutdown?",
    "answer": "G r a c e f u l   n o d e   s h u t d o w n   s t o r e s   s t a t e   l o c a l l y   a t   / v a r / l i b / k u b e l e t / g r a c e f u l _ n o d e _ s h u t d o w n _ s t a t e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25610"
  },
  {
    "question": "What is Image Pull Records?",
    "answer": "T h e   k u b e l e t   s t o r e s   r e c o r d s   o f   a t t e m p t e d   a n d   s u c c e s s f u l   i m a g e   p u l l s ,   a n d   u s e s   i t   t o   v e r i f y   t h a t   t h e   i m a g e   w a s   p r e v i o u s l y   s u c c e s s f u l l y   p u l l e d   w i t h   t h e   s a m e   c r e d e n t i a l s .   T h e s e   r e c o r d s   a r e   c a c h e d   a s   f i l e s   i n   t h e   i m a g e _ r e g i s t r y   d i r e c t o r y   w i t h i n   t h e   k u b e l e t   b a s e   d i r e c t o r y .   O n   a   t y p i c a l   L i n u x   n o d e ,   t h i s   m e a n s   / v a r / l i b / k u b e l e t / i m a g e _ m a n a g e r .   T h e r e   a r e   t w o   s u b d i r e c t o r i e s   t o   i m a g e _ m a n a g e r :   p u l l i n g   -   s t o r e s   r e c o r d s   a b o u t   i m a g e s   t h e   K u b e l e t   i s   a t t e m p t i n g   t o   p u l l . p u l l e d   -   s t o r e s   r e c o r d s   a b o u t   i m a g e s   t h a t   w e r e   s u c c e s s f u l l y   p u l l e d   b y   t h e   K u b e l e t ,   a l o n g   w i t h   m e t a d a t a   a b o u t   t h e   c r e d e n t i a l s   u s e d   f o r   t h e   p u l l s .   S e e   E n s u r e   I m a g e   P u l l   C r e d e n t i a l   V e r i f i c a t i o n   f o r   d e t a i l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25611"
  },
  {
    "question": "What is Seccomp?",
    "answer": "S e c c o m p   p r o f i l e   f i l e s   r e f e r e n c e d   f r o m   P o d s   s h o u l d   b e   p l a c e d   i n   / v a r / l i b / k u b e l e t / s e c c o m p .   S e e   t h e   s e c c o m p   r e f e r e n c e   f o r   d e t a i l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25612"
  },
  {
    "question": "What is AppArmor?",
    "answer": "T h e   k u b e l e t   d o e s   n o t   l o a d   o r   r e f e r   t o   A p p A r m o r   p r o f i l e s   b y   a   K u b e r n e t e s - s p e c i f i c   p a t h .   A p p A r m o r   p r o f i l e s   a r e   l o a d e d   v i a   t h e   n o d e   o p e r a t i n g   s y s t e m   r a t h e r   t h e n   r e f e r e n c e d   b y   t h e i r   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25613"
  },
  {
    "question": "What is Locking?",
    "answer": "A   l o c k   f i l e   f o r   t h e   k u b e l e t ;   t y p i c a l l y   / v a r / r u n / k u b e l e t . l o c k .   T h e   k u b e l e t   u s e s   t h i s   t o   e n s u r e   t h a t   t w o   d i f f e r e n t   k u b e l e t s   d o n ' t   t r y   t o   r u n   i n   c o n f l i c t   w i t h   e a c h   o t h e r .   Y o u   c a n   c o n f i g u r e   t h e   p a t h   t o   t h e   l o c k   f i l e   u s i n g   t h e   t h e   - - l o c k - f i l e   k u b e l e t   c o m m a n d   l i n e   a r g u m e n t .   I f   t w o   k u b e l e t s   o n   t h e   s a m e   n o d e   u s e   a   d i f f e r e n t   v a l u e   f o r   t h e   l o c k   f i l e   p a t h ,   t h e y   w i l l   n o t   b e   a b l e   t o   d e t e c t   a   c o n f l i c t   w h e n   b o t h   a r e   r u n n i n g .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25614"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   t h e   k u b e l e t   c o m m a n d   l i n e   a r g u m e n t s . R e v i e w   t h e   K u b e l e t   C o n f i g u r a t i o n   ( v 1 b e t a 1 )   r e f e r e n c e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25615"
  },
  {
    "question": "What is 8.6 - Kubelet Configuration Directory Merging?",
    "answer": "W h e n   u s i n g   t h e   k u b e l e t ' s   - - c o n f i g - d i r   f l a g   t o   s p e c i f y   a   d r o p - i n   d i r e c t o r y   f o r   c o n f i g u r a t i o n ,   t h e r e   i s   s o m e   s p e c i f i c   b e h a v i o r   o n   h o w   d i f f e r e n t   t y p e s   a r e   m e r g e d .   H e r e   a r e   s o m e   e x a m p l e s   o f   h o w   d i f f e r e n t   d a t a   t y p e s   b e h a v e   d u r i n g   c o n f i g u r a t i o n   m e r g i n g :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25616"
  },
  {
    "question": "What is Structure Fields?",
    "answer": "T h e r e   a r e   t w o   t y p e s   o f   s t r u c t u r e   f i e l d s   i n   a   Y A M L   s t r u c t u r e :   s i n g u l a r   ( o r   a   s c a l a r   t y p e )   a n d   e m b e d d e d   ( s t r u c t u r e s   t h a t   c o n t a i n   s c a l a r   t y p e s ) .   T h e   c o n f i g u r a t i o n   m e r g i n g   p r o c e s s   h a n d l e s   t h e   o v e r r i d i n g   o f   s i n g u l a r   a n d   e m b e d d e d   s t r u c t   f i e l d s   t o   c r e a t e   a   r e s u l t i n g   k u b e l e t   c o n f i g u r a t i o n .   F o r   i n s t a n c e ,   y o u   m a y   w a n t   a   b a s e l i n e   k u b e l e t   c o n f i g u r a t i o n   f o r   a l l   n o d e s ,   b u t   y o u   m a y   w a n t   t o   c u s t o m i z e   t h e   a d d r e s s   a n d   a u t h o r i z a t i o n   f i e l d s .   T h i s   c a n   b e   d o n e   a s   f o l l o w s :   M a i n   k u b e l e t   c o n f i g u r a t i o n   f i l e   c o n t e n t s :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   p o r t :   2 0 2 5 0   a u t h o r i z a t i o n :   m o d e :   W e b h o o k   w e b h o o k :   c a c h e A u t h o r i z e d T T L :   \" 5 m \"   c a c h e U n a u t h o r i z e d T T L :   \" 3 0 s \"   s e r i a l i z e I m a g e P u l l s :   f a l s e   a d d r e s s :   \" 1 9 2 . 1 6 8 . 0 . 1 \"   C o n t e n t s   o f   a   f i l e   i n   - - c o n f i g - d i r   d i r e c t o r y :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   a u t h o r i z a t i o n :   m o d e :   A l w a y s A l l o w   w e b h o o k :   c a c h e A u t h o r i z e d T T L :   \" 8 m \"   c a c h e U n a u t h o r i z e d T T L :   \" 4 5 s \"   a d d r e s s :   \" 1 9 2 . 1 6 8 . 0 . 8 \"   T h e   r e s u l t i n g   c o n f i g u r a t i o n   w i l l   b e   a s   f o l l o w s :   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25617"
  },
  {
    "question": "What is Lists?",
    "answer": "Y o u   c a n   o v e r r i d e   t h e   s l i c e s / l i s t s   v a l u e s   o f   t h e   k u b e l e t   c o n f i g u r a t i o n .   H o w e v e r ,   t h e   e n t i r e   l i s t   g e t s   o v e r r i d d e n   d u r i n g   t h e   m e r g i n g   p r o c e s s .   F o r   e x a m p l e ,   y o u   c a n   o v e r r i d e   t h e   c l u s t e r D N S   l i s t   a s   f o l l o w s :   M a i n   k u b e l e t   c o n f i g u r a t i o n   f i l e   c o n t e n t s :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   p o r t :   2 0 2 5 0   s e r i a l i z e I m a g e P u l l s :   f a l s e   c l u s t e r D N S :   -   \" 1 9 2 . 1 6 8 . 0 . 9 \"   -   \" 1 9 2 . 1 6 8 . 0 . 8 \"   C o n t e n t s   o f   a   f i l e   i n   - - c o n f i g - d i r   d i r e c t o r y :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   c l u s t e r D N S :   -   \" 1 9 2 . 1 6 8 . 0 . 2 \"   -   \" 1 9 2 . 1 6 8 . 0 . 3 \"   -   \" 1 9 2 . 1 6 8 . 0 . 5 \"   T h e   r e s u l t i n g   c o n f i g u r a t i o n   w i l l   b e   a s   f o l l o w s :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   p o r t :   2 0 2 5 0   s e r i a l i z e I m a g e P u l l s :   f a l s e   c l u s t e r D N S :   -   \" 1 9 2 . 1 6 8 . 0 . 2 \"   -   \" 1 9 2 . 1 6 8 . 0 . 3 \"   -   \" 1 9 2 . 1 6 8 . 0 . 5 \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25618"
  },
  {
    "question": "What is Maps, including Nested Structures?",
    "answer": "I n d i v i d u a l   f i e l d s   i n   m a p s ,   r e g a r d l e s s   o f   t h e i r   v a l u e   t y p e s   ( b o o l e a n ,   s t r i n g ,   e t c . ) ,   c a n   b e   s e l e c t i v e l y   o v e r r i d d e n .   H o w e v e r ,   f o r   m a p [ s t r i n g ] [ ] s t r i n g ,   t h e   e n t i r e   l i s t   a s s o c i a t e d   w i t h   a   s p e c i f i c   f i e l d   g e t s   o v e r r i d d e n .   L e t ' s   u n d e r s t a n d   t h i s   b e t t e r   w i t h   a n   e x a m p l e ,   p a r t i c u l a r l y   o n   f i e l d s   l i k e   f e a t u r e G a t e s   a n d   s t a t i c P o d U R L H e a d e r :   M a i n   k u b e l e t   c o n f i g u r a t i o n   f i l e   c o n t e n t s :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   p o r t :   2 0 2 5 0   s e r i a l i z e I m a g e P u l l s :   f a l s e   f e a t u r e G a t e s :   A l l A l p h a :   f a l s e   M e m o r y Q o S :   t r u e   s t a t i c P o d U R L H e a d e r :   k u b e l e t - a p i - s u p p o r t :   -   \" A u t h o r i z a t i o n :   2 3 4 A P S D F A \"   -   \" X - C u s t o m - H e a d e r :   1 2 3 \"   c u s t o m - s t a t i c - p o d :   -   \" A u t h o r i z a t i o n :   2 2 3 E W R W E R \"   -   \" X - C u s t o m - H e a d e r :   4 5 6 \"   C o n t e n t s   o f   a   f i l e   i n   - - c o n f i g - d i r   d i r e c t o r y :   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   f e a t u r e G a t e s :   M e m o r y Q o S :   f a l s e   K u b e l e t T r a c i n g :   t r u e   D y n a m i c R e s o u r c e A l l o c a t i o n :   t r u e   s t a t i c P o d U R L H e a d e r :   c u s t o m - s t a t i c - p o d :   -   \" A u t h o r i z a t i o n :   2 2 3 E W R W E R \"   -   \" X - C u s t o m - H e a d e r :   3 4 5 \"   T h e   r e s u l t i n g   c o n f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25619"
  },
  {
    "question": "What is 8.7 - Kubelet Device Manager API Versions?",
    "answer": "T h i s   p a g e   p r o v i d e s   d e t a i l s   o f   v e r s i o n   c o m p a t i b i l i t y   b e t w e e n   t h e   K u b e r n e t e s   d e v i c e   p l u g i n   A P I ,   a n d   d i f f e r e n t   v e r s i o n s   o f   K u b e r n e t e s   i t s e l f .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25620"
  },
  {
    "question": "What is Compatibility matrix?",
    "answer": "K e y :   ✓   E x a c t l y   t h e   s a m e   f e a t u r e s   /   A P I   o b j e c t s   i n   b o t h   d e v i c e   p l u g i n   A P I   a n d   t h e   K u b e r n e t e s   v e r s i o n . +   T h e   d e v i c e   p l u g i n   A P I   h a s   f e a t u r e s   o r   A P I   o b j e c t s   t h a t   m a y   n o t   b e   p r e s e n t   i n   t h e   K u b e r n e t e s   c l u s t e r ,   e i t h e r   b e c a u s e   t h e   d e v i c e   p l u g i n   A P I   h a s   a d d e d   a d d i t i o n a l   n e w   A P I   c a l l s ,   o r   t h a t   t h e   s e r v e r   h a s   r e m o v e d   a n   o l d   A P I   c a l l .   H o w e v e r ,   e v e r y t h i n g   t h e y   h a v e   i n   c o m m o n   ( m o s t   o t h e r   A P I s )   w i l l   w o r k .   N o t e   t h a t   a l p h a   A P I s   m a y   v a n i s h   o r   c h a n g e   s i g n i f i c a n t l y   b e t w e e n   o n e   m i n o r   r e l e a s e   a n d   t h e   n e x t . -   T h e   K u b e r n e t e s   c l u s t e r   h a s   f e a t u r e s   t h e   d e v i c e   p l u g i n   A P I   c a n ' t   u s e ,   e i t h e r   b e c a u s e   s e r v e r   h a s   a d d e d   a d d i t i o n a l   A P I   c a l l s ,   o r   t h a t   d e v i c e   p l u g i n   A P I   h a s   r e m o v e d   a n   o l d   A P I   c a l l .   H o w e v e r ,   e v e r y t h i n g   t h e y   s h a r e   i n   c o m m o n   ( m o s t   A P I s )   w i l l   w o r k .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25621"
  },
  {
    "question": "What is 8.8 - Kubelet Systemd Watchdog?",
    "answer": "O n   L i n u x   n o d e s ,   K u b e r n e t e s   1 . 3 4   s u p p o r t s   i n t e g r a t i n g   w i t h   s y s t e m d   t o   a l l o w   t h e   o p e r a t i n g   s y s t e m   s u p e r v i s o r   t o   r e c o v e r   a   f a i l e d   k u b e l e t .   T h i s   i n t e g r a t i o n   i s   n o t   e n a b l e d   b y   d e f a u l t .   I t   c a n   b e   u s e d   a s   a n   a l t e r n a t i v e   t o   p e r i o d i c a l l y   r e q u e s t i n g   t h e   k u b e l e t ' s   / h e a l t h z   e n d p o i n t   f o r   h e a l t h   c h e c k s .   I f   t h e   k u b e l e t   d o e s   n o t   r e s p o n d   t o   t h e   w a t c h d o g   w i t h i n   t h e   t i m e o u t   p e r i o d ,   t h e   w a t c h d o g   w i l l   k i l l   t h e   k u b e l e t .   T h e   s y s t e m d   w a t c h d o g   w o r k s   b y   r e q u i r i n g   t h e   s e r v i c e   t o   p e r i o d i c a l l y   s e n d   a   k e e p - a l i v e   s i g n a l   t o   t h e   s y s t e m d   p r o c e s s .   I f   t h e   s i g n a l   i s   n o t   r e c e i v e d   w i t h i n   a   s p e c i f i e d   t i m e o u t   p e r i o d ,   t h e   s e r v i c e   i s   c o n s i d e r e d   u n r e s p o n s i v e   a n d   i s   t e r m i n a t e d .   T h e   s e r v i c e   c a n   t h e n   b e   r e s t a r t e d   a c c o r d i n g   t o   t h e   c o n f i g u r a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25622"
  },
  {
    "question": "What is Configuration?",
    "answer": "U s i n g   t h e   s y s t e m d   w a t c h d o g   r e q u i r e s   c o n f i g u r i n g   t h e   W a t c h d o g S e c   p a r a m e t e r   i n   t h e   [ S e r v i c e ]   s e c t i o n   o f   t h e   k u b e l e t   s e r v i c e   u n i t   f i l e :   [ S e r v i c e ]   W a t c h d o g S e c = 3 0 s   S e t t i n g   W a t c h d o g S e c = 3 0 s   i n d i c a t e s   a   s e r v i c e   w a t c h d o g   t i m e o u t   o f   3 0   s e c o n d s .   W i t h i n   t h e   k u b e l e t ,   t h e   s d _ n o t i f y ( )   f u n c t i o n   i s   i n v o k e d ,   a t   i n t e r v a l s   o f   \\ (   W a t c h d o g S e c   \\ d i v   2 \\ ) .   t o   s e n d   W A T C H D O G = 1   ( a   k e e p - a l i v e   m e s s a g e ) .   I f   t h e   w a t c h d o g   i s   n o t   f e d   w i t h i n   t h e   t i m e o u t   p e r i o d ,   t h e   k u b e l e t   w i l l   b e   k i l l e d .   S e t t i n g   R e s t a r t   t o   \" a l w a y s \" ,   \" o n - f a i l u r e \" ,   \" o n - w a t c h d o g \" ,   o r   \" o n - a b n o r m a l \"   w i l l   e n s u r e   t h a t   t h e   s e r v i c e   i s   a u t o m a t i c a l l y   r e s t a r t e d .   S o m e   d e t a i l s   a b o u t   t h e   s y s t e m d   c o n f i g u r a t i o n :   I f   y o u   s e t   t h e   s y s t e m d   v a l u e   f o r   W a t c h d o g S e c   t o   0 ,   o r   o m i t   s e t t i n g   i t ,   t h e   s y s t e m d   w a t c h d o g   i s   n o t   e n a b l e d   f o r   t h i s   u n i t . T h e   k u b e l e t   s u p p o r t s   a   m i n i m u m   w a t c h d o g   p e r i o d   o f   1 . 0   s e c o n d s ;   t h i s   i s   t o   p r e v e n t   t h e   k u b e l e t   f r o m   b e i n g   k i l l e d   u n e x p e c t e d l y .   Y o u   c a n   s e t   t h e   v a l u e   o f   W a t c h d o g S e c   i n   a   s y s t e m d   u n i t   d e f i n i t i o n   t o   a   p e r i o d   s h o r t e r   t h a n   1   s e c o n d ,   b u t   K u b e r n e t e s   d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25623"
  },
  {
    "question": "What is Example Configuration?",
    "answer": "[ U n i t ]   D e s c r i p t i o n = k u b e l e t :   T h e   K u b e r n e t e s   N o d e   A g e n t   D o c u m e n t a t i o n = h t t p s : / / k u b e r n e t e s . i o / d o c s / h o m e /   W a n t s = n e t w o r k - o n l i n e . t a r g e t   A f t e r = n e t w o r k - o n l i n e . t a r g e t   [ S e r v i c e ]   E x e c S t a r t = / u s r / b i n / k u b e l e t   #   C o n f i g u r e s   t h e   w a t c h d o g   t i m e o u t   W a t c h d o g S e c = 3 0 s   R e s t a r t = o n - f a i l u r e   S t a r t L i m i t I n t e r v a l = 0   R e s t a r t S e c = 1 0   [ I n s t a l l ]   W a n t e d B y = m u l t i - u s e r . t a r g e t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25624"
  },
  {
    "question": "What is What's next?",
    "answer": "F o r   m o r e   d e t a i l s   a b o u t   s y s t e m d   c o n f i g u r a t i o n ,   r e f e r   t o   t h e   s y s t e m d   d o c u m e n t a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25625"
  },
  {
    "question": "What is 8.9 - Node Status?",
    "answer": "T h e   s t a t u s   o f   a   n o d e   i n   K u b e r n e t e s   i s   a   c r i t i c a l   a s p e c t   o f   m a n a g i n g   a   K u b e r n e t e s   c l u s t e r .   I n   t h i s   a r t i c l e ,   w e ' l l   c o v e r   t h e   b a s i c s   o f   m o n i t o r i n g   a n d   m a i n t a i n i n g   n o d e   s t a t u s   t o   e n s u r e   a   h e a l t h y   a n d   s t a b l e   c l u s t e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25626"
  },
  {
    "question": "What is Node status fields?",
    "answer": "A   N o d e ' s   s t a t u s   c o n t a i n s   t h e   f o l l o w i n g   i n f o r m a t i o n :   A d d r e s s e s C o n d i t i o n s C a p a c i t y   a n d   A l l o c a t a b l e I n f o   Y o u   c a n   u s e   k u b e c t l   t o   v i e w   a   N o d e ' s   s t a t u s   a n d   o t h e r   d e t a i l s :   k u b e c t l   d e s c r i b e   n o d e   < i n s e r t - n o d e - n a m e - h e r e >   E a c h   s e c t i o n   o f   t h e   o u t p u t   i s   d e s c r i b e d   b e l o w .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25627"
  },
  {
    "question": "What is Addresses?",
    "answer": "T h e   u s a g e   o f   t h e s e   f i e l d s   v a r i e s   d e p e n d i n g   o n   y o u r   c l o u d   p r o v i d e r   o r   b a r e   m e t a l   c o n f i g u r a t i o n .   H o s t N a m e :   T h e   h o s t n a m e   a s   r e p o r t e d   b y   t h e   n o d e ' s   k e r n e l .   C a n   b e   o v e r r i d d e n   v i a   t h e   k u b e l e t   - - h o s t n a m e - o v e r r i d e   p a r a m e t e r . E x t e r n a l I P :   T y p i c a l l y   t h e   I P   a d d r e s s   o f   t h e   n o d e   t h a t   i s   e x t e r n a l l y   r o u t a b l e   ( a v a i l a b l e   f r o m   o u t s i d e   t h e   c l u s t e r ) . I n t e r n a l I P :   T y p i c a l l y   t h e   I P   a d d r e s s   o f   t h e   n o d e   t h a t   i s   r o u t a b l e   o n l y   w i t h i n   t h e   c l u s t e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25628"
  },
  {
    "question": "What is Conditions?",
    "answer": "T h e   c o n d i t i o n s   f i e l d   d e s c r i b e s   t h e   s t a t u s   o f   a l l   R u n n i n g   n o d e s .   E x a m p l e s   o f   c o n d i t i o n s   i n c l u d e :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25629"
  },
  {
    "question": "What is Note:?",
    "answer": "I n   t h e   K u b e r n e t e s   A P I ,   a   n o d e ' s   c o n d i t i o n   i s   r e p r e s e n t e d   a s   p a r t   o f   t h e   . s t a t u s   o f   t h e   N o d e   r e s o u r c e .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   J S O N   s t r u c t u r e   d e s c r i b e s   a   h e a l t h y   n o d e :   \" c o n d i t i o n s \" :   [   {   \" t y p e \" :   \" R e a d y \" ,   \" s t a t u s \" :   \" T r u e \" ,   \" r e a s o n \" :   \" K u b e l e t R e a d y \" ,   \" m e s s a g e \" :   \" k u b e l e t   i s   p o s t i n g   r e a d y   s t a t u s \" ,   \" l a s t H e a r t b e a t T i m e \" :   \" 2 0 1 9 - 0 6 - 0 5 T 1 8 : 3 8 : 3 5 Z \" ,   \" l a s t T r a n s i t i o n T i m e \" :   \" 2 0 1 9 - 0 6 - 0 5 T 1 1 : 4 1 : 2 7 Z \"   }   ]   W h e n   p r o b l e m s   o c c u r   o n   n o d e s ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   a u t o m a t i c a l l y   c r e a t e s   t a i n t s   t h a t   m a t c h   t h e   c o n d i t i o n s   a f f e c t i n g   t h e   n o d e .   A n   e x a m p l e   o f   t h i s   i s   w h e n   t h e   s t a t u s   o f   t h e   R e a d y   c o n d i t i o n   r e m a i n s   U n k n o w n   o r   F a l s e   f o r   l o n g e r   t h a n   t h e   k u b e - c o n t r o l l e r - m a n a g e r ' s   N o d e M o n i t o r G r a c e P e r i o d ,   w h i c h   d e f a u l t s   t o   5 0   s e c o n d s .   T h i s   w i l l   c a u s e   e i t h e r   a n   n o d e . k u b e r n e t e s . i o / u n r e a c h a b l e   t a i n t ,   f o r   a n   U n k n o w n   s t a t u s ,   o r   a   n o d e . k u b e r n e t e s . i o / n o t - r e a d y   t a i n t ,   f o r   a   F a l s e   s t a t u s ,   t o   b e   a d d e d   t o   t h e   N o d e .   T h e s e   t a i n t s   a f f e c t   p e n d i n g   p o d s   a s   t h e   s c h e d u l e r   t a k e s   t h e   N o d e ' s   t a i n t s   i n t o   c o n s i d e r a t i o n   w h e n   a s s i g n i n g   a   p o d   t o   a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25630"
  },
  {
    "question": "What is Capacity and Allocatable?",
    "answer": "D e s c r i b e s   t h e   r e s o u r c e s   a v a i l a b l e   o n   t h e   n o d e :   C P U ,   m e m o r y ,   a n d   t h e   m a x i m u m   n u m b e r   o f   p o d s   t h a t   c a n   b e   s c h e d u l e d   o n t o   t h e   n o d e .   T h e   f i e l d s   i n   t h e   c a p a c i t y   b l o c k   i n d i c a t e   t h e   t o t a l   a m o u n t   o f   r e s o u r c e s   t h a t   a   N o d e   h a s .   T h e   a l l o c a t a b l e   b l o c k   i n d i c a t e s   t h e   a m o u n t   o f   r e s o u r c e s   o n   a   N o d e   t h a t   i s   a v a i l a b l e   t o   b e   c o n s u m e d   b y   n o r m a l   P o d s .   Y o u   m a y   r e a d   m o r e   a b o u t   c a p a c i t y   a n d   a l l o c a t a b l e   r e s o u r c e s   w h i l e   l e a r n i n g   h o w   t o   r e s e r v e   c o m p u t e   r e s o u r c e s   o n   a   N o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25631"
  },
  {
    "question": "What is Info?",
    "answer": "D e s c r i b e s   g e n e r a l   i n f o r m a t i o n   a b o u t   t h e   n o d e ,   s u c h   a s   k e r n e l   v e r s i o n ,   K u b e r n e t e s   v e r s i o n   ( k u b e l e t   a n d   k u b e - p r o x y   v e r s i o n ) ,   c o n t a i n e r   r u n t i m e   d e t a i l s ,   a n d   w h i c h   o p e r a t i n g   s y s t e m   t h e   n o d e   u s e s .   T h e   k u b e l e t   g a t h e r s   t h i s   i n f o r m a t i o n   f r o m   t h e   n o d e   a n d   p u b l i s h e s   i t   i n t o   t h e   K u b e r n e t e s   A P I .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25632"
  },
  {
    "question": "What is Heartbeats?",
    "answer": "H e a r t b e a t s ,   s e n t   b y   K u b e r n e t e s   n o d e s ,   h e l p   y o u r   c l u s t e r   d e t e r m i n e   t h e   a v a i l a b i l i t y   o f   e a c h   n o d e ,   a n d   t o   t a k e   a c t i o n   w h e n   f a i l u r e s   a r e   d e t e c t e d .   F o r   n o d e s   t h e r e   a r e   t w o   f o r m s   o f   h e a r t b e a t s :   u p d a t e s   t o   t h e   . s t a t u s   o f   a   N o d e L e a s e   o b j e c t s   w i t h i n   t h e   k u b e - n o d e - l e a s e   n a m e s p a c e .   E a c h   N o d e   h a s   a n   a s s o c i a t e d   L e a s e   o b j e c t .   C o m p a r e d   t o   u p d a t e s   t o   . s t a t u s   o f   a   N o d e ,   a   L e a s e   i s   a   l i g h t w e i g h t   r e s o u r c e .   U s i n g   L e a s e s   f o r   h e a r t b e a t s   r e d u c e s   t h e   p e r f o r m a n c e   i m p a c t   o f   t h e s e   u p d a t e s   f o r   l a r g e   c l u s t e r s .   T h e   k u b e l e t   i s   r e s p o n s i b l e   f o r   c r e a t i n g   a n d   u p d a t i n g   t h e   . s t a t u s   o f   N o d e s ,   a n d   f o r   u p d a t i n g   t h e i r   r e l a t e d   L e a s e s .   T h e   k u b e l e t   u p d a t e s   t h e   n o d e ' s   . s t a t u s   e i t h e r   w h e n   t h e r e   i s   c h a n g e   i n   s t a t u s   o r   i f   t h e r e   h a s   b e e n   n o   u p d a t e   f o r   a   c o n f i g u r e d   i n t e r v a l .   T h e   d e f a u l t   i n t e r v a l   f o r   . s t a t u s   u p d a t e s   t o   N o d e s   i s   5   m i n u t e s ,   w h i c h   i s   m u c h   l o n g e r   t h a n   t h e   4 0   s e c o n d   d e f a u l t   t i m e o u t   f o r   u n r e a c h a b l e   n o d e s . T h e   k u b e l e t   c r e a t e s   a n d   t h e n   u p d a t e s   i t s   L e a s e   o b j e c t   e v e r y   1 0   s e c o n d s   ( t h e   d e f a u l t   u p d a t e   i n t e r v a l ) .   L e a s e   u p d a t e s   o c c u r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25633"
  },
  {
    "question": "What is 8.10 - Seccomp and Kubernetes?",
    "answer": "S e c c o m p   s t a n d s   f o r   s e c u r e   c o m p u t i n g   m o d e   a n d   h a s   b e e n   a   f e a t u r e   o f   t h e   L i n u x   k e r n e l   s i n c e   v e r s i o n   2 . 6 . 1 2 .   I t   c a n   b e   u s e d   t o   s a n d b o x   t h e   p r i v i l e g e s   o f   a   p r o c e s s ,   r e s t r i c t i n g   t h e   c a l l s   i t   i s   a b l e   t o   m a k e   f r o m   u s e r s p a c e   i n t o   t h e   k e r n e l .   K u b e r n e t e s   l e t s   y o u   a u t o m a t i c a l l y   a p p l y   s e c c o m p   p r o f i l e s   l o a d e d   o n t o   a   n o d e   t o   y o u r   P o d s   a n d   c o n t a i n e r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25634"
  },
  {
    "question": "What is Seccomp fields?",
    "answer": "T h e r e   a r e   f o u r   w a y s   t o   s p e c i f y   a   s e c c o m p   p r o f i l e   f o r   a   p o d :   f o r   t h e   w h o l e   P o d   u s i n g   s p e c . s e c u r i t y C o n t e x t . s e c c o m p P r o f i l e f o r   a   s i n g l e   c o n t a i n e r   u s i n g   s p e c . c o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . s e c c o m p P r o f i l e f o r   a n   ( r e s t a r t a b l e   /   s i d e c a r )   i n i t   c o n t a i n e r   u s i n g   s p e c . i n i t C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . s e c c o m p P r o f i l e f o r   a n   e p h e m e r a l   c o n t a i n e r   u s i n g   s p e c . e p h e m e r a l C o n t a i n e r s [ * ] . s e c u r i t y C o n t e x t . s e c c o m p P r o f i l e   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p o d   s p e c :   s e c u r i t y C o n t e x t :   s e c c o m p P r o f i l e :   t y p e :   U n c o n f i n e d   e p h e m e r a l C o n t a i n e r s :   -   n a m e :   e p h e m e r a l - c o n t a i n e r   i m a g e :   d e b i a n   s e c u r i t y C o n t e x t :   s e c c o m p P r o f i l e :   t y p e :   R u n t i m e D e f a u l t   i n i t C o n t a i n e r s :   -   n a m e :   i n i t - c o n t a i n e r   i m a g e :   d e b i a n   s e c u r i t y C o n t e x t :   s e c c o m p P r o f i l e :   t y p e :   R u n t i m e D e f a u l t   c o n t a i n e r s :   -   n a m e :   c o n t a i n e r   i m a g e :   d o c k e r . i o / l i b r a r y / d e b i a n : s t a b l e   s e c u r i t y C o n t e x t :   s e c c o m p P r o f i l e :   t y p e :   L o c a l h o s t   l o c a l h o s t P r o f i l e :   m y - p r o f i l e . j s o n   T h e   P o d   i n   t h e   e x a m p l e   a b o v e   r u n s   a s   U n c o n f i n e d ,   w h i l e   t h e   e p h e m e r a l - c o n t a i n e r   a n d   i n i t - c o n t a i n e r   s p e c i f i c a l l y   d e f i n e s   R u n t i m e D e f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25635"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   f o l l o w i n g   v a l u e s   a r e   p o s s i b l e   f o r   t h e   s e c c o m p P r o f i l e . t y p e :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25636"
  },
  {
    "question": "What is Localhost profiles?",
    "answer": "S e c c o m p   p r o f i l e s   a r e   J S O N   f i l e s   f o l l o w i n g   t h e   s c h e m e   d e f i n e d   b y   t h e   O C I   r u n t i m e   s p e c i f i c a t i o n .   A   p r o f i l e   b a s i c a l l y   d e f i n e s   a c t i o n s   b a s e d   o n   m a t c h e d   s y s c a l l s ,   b u t   a l s o   a l l o w s   t o   p a s s   s p e c i f i c   v a l u e s   a s   a r g u m e n t s   t o   s y s c a l l s .   F o r   e x a m p l e :   {   \" d e f a u l t A c t i o n \" :   \" S C M P _ A C T _ E R R N O \" ,   \" d e f a u l t E r r n o R e t \" :   3 8 ,   \" s y s c a l l s \" :   [   {   \" n a m e s \" :   [   \" a d j t i m e x \" ,   \" a l a r m \" ,   \" b i n d \" ,   \" w a i t i d \" ,   \" w a i t p i d \" ,   \" w r i t e \" ,   \" w r i t e v \"   ] ,   \" a c t i o n \" :   \" S C M P _ A C T _ A L L O W \"   }   ]   }   T h e   d e f a u l t A c t i o n   i n   t h e   p r o f i l e   a b o v e   i s   d e f i n e d   a s   S C M P _ A C T _ E R R N O   a n d   w i l l   r e t u r n   a s   f a l l b a c k   t o   t h e   a c t i o n s   d e f i n e d   i n   s y s c a l l s .   T h e   e r r o r   i s   d e f i n e d   a s   c o d e   3 8   v i a   t h e   d e f a u l t E r r n o R e t   f i e l d .   T h e   f o l l o w i n g   a c t i o n s   a r e   g e n e r a l l y   p o s s i b l e :   S o m e   a c t i o n s   l i k e   S C M P _ A C T _ N O T I F Y   o r   S E C C O M P _ R E T _ U S E R _ N O T I F   m a y   b e   n o t   s u p p o r t e d   d e p e n d i n g   o n   t h e   c o n t a i n e r   r u n t i m e ,   O C I   r u n t i m e   o r   L i n u x   k e r n e l   v e r s i o n   b e i n g   u s e d .   T h e r e   m a y   b e   a l s o   f u r t h e r   l i m i t a t i o n s ,   f o r   e x a m p l e   t h a t   S C M P _ A C T _ N O T I F Y   c a n n o t   b e   u s e d   a s   d e f a u l t A c t i o n   o r   f o r   c e r t a i n   s y s c a l l s   l i k e   w r i t e .   A l l   t h o s e   l i m i t a t i o n s   a r e   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25637"
  },
  {
    "question": "What is Further reading?",
    "answer": "R e s t r i c t   a   C o n t a i n e r ' s   S y s c a l l s   w i t h   s e c c o m p P o d   S e c u r i t y   S t a n d a r d s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25638"
  },
  {
    "question": "What is 8.11 - Linux Node Swap Behaviors?",
    "answer": "T o   a l l o w   K u b e r n e t e s   w o r k l o a d s   t o   u s e   s w a p ,   o n   a   L i n u x   n o d e ,   y o u   m u s t   d i s a b l e   t h e   k u b e l e t ' s   d e f a u l t   b e h a v i o r   o f   f a i l i n g   w h e n   s w a p   i s   d e t e c t e d ,   a n d   s p e c i f y   m e m o r y - s w a p   b e h a v i o r   a s   L i m i t e d S w a p :   T h e   a v a i l a b l e   c h o i c e s   f o r   s w a p   b e h a v i o r   a r e :   T o   l e a r n   m o r e ,   r e a d   s w a p   m e m o r y   m a n a g e m e n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25639"
  },
  {
    "question": "What is 9 - Networking Reference?",
    "answer": "T h i s   s e c t i o n   o f   t h e   K u b e r n e t e s   d o c u m e n t a t i o n   p r o v i d e s   r e f e r e n c e   d e t a i l s   o f   K u b e r n e t e s   n e t w o r k i n g .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25640"
  },
  {
    "question": "What is 9.1 - Protocols for Services?",
    "answer": "I f   y o u   c o n f i g u r e   a   S e r v i c e ,   y o u   c a n   s e l e c t   f r o m   a n y   n e t w o r k   p r o t o c o l   t h a t   K u b e r n e t e s   s u p p o r t s .   K u b e r n e t e s   s u p p o r t s   t h e   f o l l o w i n g   p r o t o c o l s   w i t h   S e r v i c e s :   S C T P T C P   ( t h e   d e f a u l t ) U D P   W h e n   y o u   d e f i n e   a   S e r v i c e ,   y o u   c a n   a l s o   s p e c i f y   t h e   a p p l i c a t i o n   p r o t o c o l   t h a t   i t   u s e s .   T h i s   d o c u m e n t   d e t a i l s   s o m e   s p e c i a l   c a s e s ,   a l l   o f   t h e m   t y p i c a l l y   u s i n g   T C P   a s   a   t r a n s p o r t   p r o t o c o l :   H T T P   a n d   H T T P S P R O X Y   p r o t o c o l T L S   t e r m i n a t i o n   a t   t h e   l o a d   b a l a n c e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25641"
  },
  {
    "question": "What is Supported protocols?",
    "answer": "T h e r e   a r e   3   v a l i d   v a l u e s   f o r   t h e   p r o t o c o l   o f   a   p o r t   f o r   a   S e r v i c e :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25642"
  },
  {
    "question": "What is SCTP?",
    "answer": "W h e n   u s i n g   a   n e t w o r k   p l u g i n   t h a t   s u p p o r t s   S C T P   t r a f f i c ,   y o u   c a n   u s e   S C T P   f o r   m o s t   S e r v i c e s .   F o r   t y p e :   L o a d B a l a n c e r   S e r v i c e s ,   S C T P   s u p p o r t   d e p e n d s   o n   t h e   c l o u d   p r o v i d e r   o f f e r i n g   t h i s   f a c i l i t y .   ( M o s t   d o   n o t ) .   S C T P   i s   n o t   s u p p o r t e d   o n   n o d e s   t h a t   r u n   W i n d o w s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25643"
  },
  {
    "question": "What is Support for multihomed SCTP associations?",
    "answer": "T h e   s u p p o r t   o f   m u l t i h o m e d   S C T P   a s s o c i a t i o n s   r e q u i r e s   t h a t   t h e   C N I   p l u g i n   c a n   s u p p o r t   t h e   a s s i g n m e n t   o f   m u l t i p l e   i n t e r f a c e s   a n d   I P   a d d r e s s e s   t o   a   P o d .   N A T   f o r   m u l t i h o m e d   S C T P   a s s o c i a t i o n s   r e q u i r e s   s p e c i a l   l o g i c   i n   t h e   c o r r e s p o n d i n g   k e r n e l   m o d u l e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25644"
  },
  {
    "question": "What is TCP?",
    "answer": "Y o u   c a n   u s e   T C P   f o r   a n y   k i n d   o f   S e r v i c e ,   a n d   i t ' s   t h e   d e f a u l t   n e t w o r k   p r o t o c o l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25645"
  },
  {
    "question": "What is UDP?",
    "answer": "Y o u   c a n   u s e   U D P   f o r   m o s t   S e r v i c e s .   F o r   t y p e :   L o a d B a l a n c e r   S e r v i c e s ,   U D P   s u p p o r t   d e p e n d s   o n   t h e   c l o u d   p r o v i d e r   o f f e r i n g   t h i s   f a c i l i t y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25646"
  },
  {
    "question": "What is HTTP?",
    "answer": "I f   y o u r   c l o u d   p r o v i d e r   s u p p o r t s   i t ,   y o u   c a n   u s e   a   S e r v i c e   i n   L o a d B a l a n c e r   m o d e   t o   c o n f i g u r e   a   l o a d   b a l a n c e r   o u t s i d e   o f   y o u r   K u b e r n e t e s   c l u s t e r ,   i n   a   s p e c i a l   m o d e   w h e r e   y o u r   c l o u d   p r o v i d e r ' s   l o a d   b a l a n c e r   i m p l e m e n t s   H T T P   /   H T T P S   r e v e r s e   p r o x y i n g ,   w i t h   t r a f f i c   f o r w a r d e d   t o   t h e   b a c k e n d   e n d p o i n t s   f o r   t h a t   S e r v i c e .   T y p i c a l l y ,   y o u   s e t   t h e   p r o t o c o l   f o r   t h e   S e r v i c e   t o   T C P   a n d   a d d   a n   a n n o t a t i o n   ( u s u a l l y   s p e c i f i c   t o   y o u r   c l o u d   p r o v i d e r )   t h a t   c o n f i g u r e s   t h e   l o a d   b a l a n c e r   t o   h a n d l e   t r a f f i c   a t   t h e   H T T P   l e v e l .   T h i s   c o n f i g u r a t i o n   m i g h t   a l s o   i n c l u d e   s e r v i n g   H T T P S   ( H T T P   o v e r   T L S )   a n d   r e v e r s e - p r o x y i n g   p l a i n   H T T P   t o   y o u r   w o r k l o a d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25647"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   m i g h t   a d d i t i o n a l l y   w a n t   t o   s p e c i f y   t h a t   t h e   a p p l i c a t i o n   p r o t o c o l   o f   t h e   c o n n e c t i o n   i s   h t t p   o r   h t t p s .   U s e   h t t p   i f   t h e   s e s s i o n   f r o m   t h e   l o a d   b a l a n c e r   t o   y o u r   w o r k l o a d   i s   H T T P   w i t h o u t   T L S ,   a n d   u s e   h t t p s   i f   t h e   s e s s i o n   f r o m   t h e   l o a d   b a l a n c e r   t o   y o u r   w o r k l o a d   u s e s   T L S   e n c r y p t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25648"
  },
  {
    "question": "What is PROXY protocol?",
    "answer": "I f   y o u r   c l o u d   p r o v i d e r   s u p p o r t s   i t ,   y o u   c a n   u s e   a   S e r v i c e   s e t   t o   t y p e :   L o a d B a l a n c e r   t o   c o n f i g u r e   a   l o a d   b a l a n c e r   o u t s i d e   o f   K u b e r n e t e s   i t s e l f ,   t h a t   w i l l   f o r w a r d   c o n n e c t i o n s   w r a p p e d   w i t h   t h e   P R O X Y   p r o t o c o l .   T h e   l o a d   b a l a n c e r   t h e n   s e n d s   a n   i n i t i a l   s e r i e s   o f   o c t e t s   d e s c r i b i n g   t h e   i n c o m i n g   c o n n e c t i o n ,   s i m i l a r   t o   t h i s   e x a m p l e   ( P R O X Y   p r o t o c o l   v 1 ) :   P R O X Y   T C P 4   1 9 2 . 0 . 2 . 2 0 2   1 0 . 0 . 4 2 . 7   1 2 3 4 5   7 \\ r \\ n   T h e   d a t a   a f t e r   t h e   p r o x y   p r o t o c o l   p r e a m b l e   a r e   t h e   o r i g i n a l   d a t a   f r o m   t h e   c l i e n t .   W h e n   e i t h e r   s i d e   c l o s e s   t h e   c o n n e c t i o n ,   t h e   l o a d   b a l a n c e r   a l s o   t r i g g e r s   a   c o n n e c t i o n   c l o s e   a n d   s e n d s   a n y   r e m a i n i n g   d a t a   w h e r e   f e a s i b l e .   T y p i c a l l y ,   y o u   d e f i n e   a   S e r v i c e   w i t h   t h e   p r o t o c o l   t o   T C P .   Y o u   a l s o   s e t   a n   a n n o t a t i o n ,   s p e c i f i c   t o   y o u r   c l o u d   p r o v i d e r ,   t h a t   c o n f i g u r e s   t h e   l o a d   b a l a n c e r   t o   w r a p   e a c h   i n c o m i n g   c o n n e c t i o n   i n   t h e   P R O X Y   p r o t o c o l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25649"
  },
  {
    "question": "What is TLS?",
    "answer": "I f   y o u r   c l o u d   p r o v i d e r   s u p p o r t s   i t ,   y o u   c a n   u s e   a   S e r v i c e   s e t   t o   t y p e :   L o a d B a l a n c e r   a s   a   w a y   t o   s e t   u p   e x t e r n a l   r e v e r s e   p r o x y i n g ,   w h e r e   t h e   c o n n e c t i o n   f r o m   c l i e n t   t o   l o a d   b a l a n c e r   i s   T L S   e n c r y p t e d   a n d   t h e   l o a d   b a l a n c e r   i s   t h e   T L S   s e r v e r   p e e r .   T h e   c o n n e c t i o n   f r o m   t h e   l o a d   b a l a n c e r   t o   y o u r   w o r k l o a d   c a n   a l s o   b e   T L S ,   o r   m i g h t   b e   p l a i n   t e x t .   T h e   e x a c t   o p t i o n s   a v a i l a b l e   t o   y o u   d e p e n d   o n   y o u r   c l o u d   p r o v i d e r   o r   c u s t o m   S e r v i c e   i m p l e m e n t a t i o n .   T y p i c a l l y ,   y o u   s e t   t h e   p r o t o c o l   t o   T C P   a n d   s e t   a n   a n n o t a t i o n   ( u s u a l l y   s p e c i f i c   t o   y o u r   c l o u d   p r o v i d e r )   t h a t   c o n f i g u r e s   t h e   l o a d   b a l a n c e r   t o   a c t   a s   a   T L S   s e r v e r .   Y o u   w o u l d   c o n f i g u r e   t h e   T L S   i d e n t i t y   ( a s   s e r v e r ,   a n d   p o s s i b l y   a l s o   a s   a   c l i e n t   t h a t   c o n n e c t s   t o   y o u r   w o r k l o a d )   u s i n g   m e c h a n i s m s   t h a t   a r e   s p e c i f i c   t o   y o u r   c l o u d   p r o v i d e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25650"
  },
  {
    "question": "What is 9.2 - Ports and Protocols?",
    "answer": "W h e n   r u n n i n g   K u b e r n e t e s   i n   a n   e n v i r o n m e n t   w i t h   s t r i c t   n e t w o r k   b o u n d a r i e s ,   s u c h   a s   o n - p r e m i s e s   d a t a c e n t e r   w i t h   p h y s i c a l   n e t w o r k   f i r e w a l l s   o r   V i r t u a l   N e t w o r k s   i n   P u b l i c   C l o u d ,   i t   i s   u s e f u l   t o   b e   a w a r e   o f   t h e   p o r t s   a n d   p r o t o c o l s   u s e d   b y   K u b e r n e t e s   c o m p o n e n t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25651"
  },
  {
    "question": "What is Control plane?",
    "answer": "A l t h o u g h   e t c d   p o r t s   a r e   i n c l u d e d   i n   c o n t r o l   p l a n e   s e c t i o n ,   y o u   c a n   a l s o   h o s t   y o u r   o w n   e t c d   c l u s t e r   e x t e r n a l l y   o r   o n   c u s t o m   p o r t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25652"
  },
  {
    "question": "What is Worker node(s)?",
    "answer": "†   D e f a u l t   p o r t   r a n g e   f o r   N o d e P o r t   S e r v i c e s .   A l l   d e f a u l t   p o r t   n u m b e r s   c a n   b e   o v e r r i d d e n .   W h e n   c u s t o m   p o r t s   a r e   u s e d   t h o s e   p o r t s   n e e d   t o   b e   o p e n   i n s t e a d   o f   d e f a u l t s   m e n t i o n e d   h e r e .   O n e   c o m m o n   e x a m p l e   i s   A P I   s e r v e r   p o r t   t h a t   i s   s o m e t i m e s   s w i t c h e d   t o   4 4 3 .   A l t e r n a t i v e l y ,   t h e   d e f a u l t   p o r t   i s   k e p t   a s   i s   a n d   A P I   s e r v e r   i s   p u t   b e h i n d   a   l o a d   b a l a n c e r   t h a t   l i s t e n s   o n   4 4 3   a n d   r o u t e s   t h e   r e q u e s t s   t o   A P I   s e r v e r   o n   t h e   d e f a u l t   p o r t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25653"
  },
  {
    "question": "What is 9.3 - Virtual IPs and Service Proxies?",
    "answer": "E v e r y   n o d e   i n   a   K u b e r n e t e s   c l u s t e r   r u n s   a   k u b e - p r o x y   ( u n l e s s   y o u   h a v e   d e p l o y e d   y o u r   o w n   a l t e r n a t i v e   c o m p o n e n t   i n   p l a c e   o f   k u b e - p r o x y ) .   T h e   k u b e - p r o x y   c o m p o n e n t   i s   r e s p o n s i b l e   f o r   i m p l e m e n t i n g   a   v i r t u a l   I P   m e c h a n i s m   f o r   S e r v i c e s   o f   t y p e   o t h e r   t h a n   E x t e r n a l N a m e .   E a c h   i n s t a n c e   o f   k u b e - p r o x y   w a t c h e s   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   f o r   t h e   a d d i t i o n   a n d   r e m o v a l   o f   S e r v i c e   a n d   E n d p o i n t S l i c e   o b j e c t s .   F o r   e a c h   S e r v i c e ,   k u b e - p r o x y   c a l l s   a p p r o p r i a t e   A P I s   ( d e p e n d i n g   o n   t h e   k u b e - p r o x y   m o d e )   t o   c o n f i g u r e   t h e   n o d e   t o   c a p t u r e   t r a f f i c   t o   t h e   S e r v i c e ' s   c l u s t e r I P   a n d   p o r t ,   a n d   r e d i r e c t   t h a t   t r a f f i c   t o   o n e   o f   t h e   S e r v i c e ' s   e n d p o i n t s   ( u s u a l l y   a   P o d ,   b u t   p o s s i b l y   a n   a r b i t r a r y   u s e r - p r o v i d e d   I P   a d d r e s s ) .   A   c o n t r o l   l o o p   e n s u r e s   t h a t   t h e   r u l e s   o n   e a c h   n o d e   a r e   r e l i a b l y   s y n c h r o n i z e d   w i t h   t h e   S e r v i c e   a n d   E n d p o i n t S l i c e   s t a t e   a s   i n d i c a t e d   b y   t h e   A P I   s e r v e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25654"
  },
  {
    "question": "What is Virtual IP mechanism for Services, using iptables mode?",
    "answer": "A   q u e s t i o n   t h a t   p o p s   u p   e v e r y   n o w   a n d   t h e n   i s   w h y   K u b e r n e t e s   r e l i e s   o n   p r o x y i n g   t o   f o r w a r d   i n b o u n d   t r a f f i c   t o   b a c k e n d s .   W h a t   a b o u t   o t h e r   a p p r o a c h e s ?   F o r   e x a m p l e ,   w o u l d   i t   b e   p o s s i b l e   t o   c o n f i g u r e   D N S   r e c o r d s   t h a t   h a v e   m u l t i p l e   A   v a l u e s   ( o r   A A A A   f o r   I P v 6 ) ,   a n d   r e l y   o n   r o u n d - r o b i n   n a m e   r e s o l u t i o n ?   T h e r e   a r e   a   f e w   r e a s o n s   f o r   u s i n g   p r o x y i n g   f o r   S e r v i c e s :   T h e r e   i s   a   l o n g   h i s t o r y   o f   D N S   i m p l e m e n t a t i o n s   n o t   r e s p e c t i n g   r e c o r d   T T L s ,   a n d   c a c h i n g   t h e   r e s u l t s   o f   n a m e   l o o k u p s   a f t e r   t h e y   s h o u l d   h a v e   e x p i r e d . S o m e   a p p s   d o   D N S   l o o k u p s   o n l y   o n c e   a n d   c a c h e   t h e   r e s u l t s   i n d e f i n i t e l y . E v e n   i f   a p p s   a n d   l i b r a r i e s   d i d   p r o p e r   r e - r e s o l u t i o n ,   t h e   l o w   o r   z e r o   T T L s   o n   t h e   D N S   r e c o r d s   c o u l d   i m p o s e   a   h i g h   l o a d   o n   D N S   t h a t   t h e n   b e c o m e s   d i f f i c u l t   t o   m a n a g e .   L a t e r   i n   t h i s   p a g e   y o u   c a n   r e a d   a b o u t   h o w   v a r i o u s   k u b e - p r o x y   i m p l e m e n t a t i o n s   w o r k .   O v e r a l l ,   y o u   s h o u l d   n o t e   t h a t ,   w h e n   r u n n i n g   k u b e - p r o x y ,   k e r n e l   l e v e l   r u l e s   m a y   b e   m o d i f i e d   ( f o r   e x a m p l e ,   i p t a b l e s   r u l e s   m i g h t   g e t   c r e a t e d ) ,   w h i c h   w o n ' t   g e t   c l e a n e d   u p ,   i n   s o m e   c a s e s   u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25655"
  },
  {
    "question": "What is Proxy modes?",
    "answer": "T h e   k u b e - p r o x y   s t a r t s   u p   i n   d i f f e r e n t   m o d e s ,   w h i c h   a r e   d e t e r m i n e d   b y   i t s   c o n f i g u r a t i o n .   O n   L i n u x   n o d e s ,   t h e   a v a i l a b l e   m o d e s   f o r   k u b e - p r o x y   a r e :   T h e r e   i s   o n l y   o n e   m o d e   a v a i l a b l e   f o r   k u b e - p r o x y   o n   W i n d o w s :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25656"
  },
  {
    "question": "What is iptables proxy mode?",
    "answer": "T h i s   p r o x y   m o d e   i s   o n l y   a v a i l a b l e   o n   L i n u x   n o d e s .   I n   t h i s   m o d e ,   k u b e - p r o x y   c o n f i g u r e s   p a c k e t   f o r w a r d i n g   r u l e s   u s i n g   t h e   i p t a b l e s   A P I   o f   t h e   k e r n e l   n e t f i l t e r   s u b s y s t e m .   F o r   e a c h   e n d p o i n t ,   i t   i n s t a l l s   i p t a b l e s   r u l e s   w h i c h ,   b y   d e f a u l t ,   s e l e c t   a   b a c k e n d   P o d   a t   r a n d o m .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25657"
  },
  {
    "question": "What is Example?",
    "answer": "A s   a n   e x a m p l e ,   c o n s i d e r   t h e   i m a g e   p r o c e s s i n g   a p p l i c a t i o n   d e s c r i b e d   e a r l i e r   i n   t h e   p a g e .   W h e n   t h e   b a c k e n d   S e r v i c e   i s   c r e a t e d ,   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   a s s i g n s   a   v i r t u a l   I P   a d d r e s s ,   f o r   e x a m p l e   1 0 . 0 . 0 . 1 .   F o r   t h i s   e x a m p l e ,   a s s u m e   t h a t   t h e   S e r v i c e   p o r t   i s   1 2 3 4 .   A l l   o f   t h e   k u b e - p r o x y   i n s t a n c e s   i n   t h e   c l u s t e r   o b s e r v e   t h e   c r e a t i o n   o f   t h e   n e w   S e r v i c e .   W h e n   k u b e - p r o x y   o n   a   n o d e   s e e s   a   n e w   S e r v i c e ,   i t   i n s t a l l s   a   s e r i e s   o f   i p t a b l e s   r u l e s   w h i c h   r e d i r e c t   f r o m   t h e   v i r t u a l   I P   a d d r e s s   t o   m o r e   i p t a b l e s   r u l e s ,   d e f i n e d   p e r   S e r v i c e .   T h e   p e r - S e r v i c e   r u l e s   l i n k   t o   f u r t h e r   r u l e s   f o r   e a c h   b a c k e n d   e n d p o i n t ,   a n d   t h e   p e r -   e n d p o i n t   r u l e s   r e d i r e c t   t r a f f i c   ( u s i n g   d e s t i n a t i o n   N A T )   t o   t h e   b a c k e n d s .   W h e n   a   c l i e n t   c o n n e c t s   t o   t h e   S e r v i c e ' s   v i r t u a l   I P   a d d r e s s   t h e   i p t a b l e s   r u l e   k i c k s   i n .   A   b a c k e n d   i s   c h o s e n   ( e i t h e r   b a s e d   o n   s e s s i o n   a f f i n i t y   o r   r a n d o m l y )   a n d   p a c k e t s   a r e   r e d i r e c t e d   t o   t h e   b a c k e n d   w i t h o u t   r e w r i t i n g   t h e   c l i e n t   I P   a d d r e s s .   T h i s   s a m e   b a s i c   f l o w   e x e c u t e s   w h e n   t r a f f i c   c o m e s   i n   t h r o u g h   a   t y p e :   N o d e P o r t   S e r v i c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25658"
  },
  {
    "question": "What is Optimizing iptables mode performance?",
    "answer": "I n   i p t a b l e s   m o d e ,   k u b e - p r o x y   c r e a t e s   a   f e w   i p t a b l e s   r u l e s   f o r   e v e r y   S e r v i c e ,   a n d   a   f e w   i p t a b l e s   r u l e s   f o r   e a c h   e n d p o i n t   I P   a d d r e s s .   I n   c l u s t e r s   w i t h   t e n s   o f   t h o u s a n d s   o f   P o d s   a n d   S e r v i c e s ,   t h i s   m e a n s   t e n s   o f   t h o u s a n d s   o f   i p t a b l e s   r u l e s ,   a n d   k u b e - p r o x y   m a y   t a k e   a   l o n g   t i m e   t o   u p d a t e   t h e   r u l e s   i n   t h e   k e r n e l   w h e n   S e r v i c e s   ( o r   t h e i r   E n d p o i n t S l i c e s )   c h a n g e .   Y o u   c a n   a d j u s t   t h e   s y n c i n g   b e h a v i o r   o f   k u b e - p r o x y   v i a   o p t i o n s   i n   t h e   i p t a b l e s   s e c t i o n   o f   t h e   k u b e - p r o x y   c o n f i g u r a t i o n   f i l e   ( w h i c h   y o u   s p e c i f y   v i a   k u b e - p r o x y   - - c o n f i g   < p a t h > ) :   . . .   i p t a b l e s :   m i n S y n c P e r i o d :   1 s   s y n c P e r i o d :   3 0 s   . . .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25659"
  },
  {
    "question": "What is minSyncPeriod?",
    "answer": "T h e   m i n S y n c P e r i o d   p a r a m e t e r   s e t s   t h e   m i n i m u m   d u r a t i o n   b e t w e e n   a t t e m p t s   t o   r e s y n c h r o n i z e   i p t a b l e s   r u l e s   w i t h   t h e   k e r n e l .   I f   i t   i s   0 s ,   t h e n   k u b e - p r o x y   w i l l   a l w a y s   i m m e d i a t e l y   s y n c h r o n i z e   t h e   r u l e s   e v e r y   t i m e   a n y   S e r v i c e   o r   E n d p o i n t S l i c e   c h a n g e s .   T h i s   w o r k s   f i n e   i n   v e r y   s m a l l   c l u s t e r s ,   b u t   i t   r e s u l t s   i n   a   l o t   o f   r e d u n d a n t   w o r k   w h e n   l o t s   o f   t h i n g s   c h a n g e   i n   a   s m a l l   t i m e   p e r i o d .   F o r   e x a m p l e ,   i f   y o u   h a v e   a   S e r v i c e   b a c k e d   b y   a   D e p l o y m e n t   w i t h   1 0 0   p o d s ,   a n d   y o u   d e l e t e   t h e   D e p l o y m e n t ,   t h e n   w i t h   m i n S y n c P e r i o d :   0 s ,   k u b e - p r o x y   w o u l d   e n d   u p   r e m o v i n g   t h e   S e r v i c e ' s   e n d p o i n t s   f r o m   t h e   i p t a b l e s   r u l e s   o n e   b y   o n e ,   r e s u l t i n g   i n   a   t o t a l   o f   1 0 0   u p d a t e s .   W i t h   a   l a r g e r   m i n S y n c P e r i o d ,   m u l t i p l e   P o d   d e l e t i o n   e v e n t s   w o u l d   g e t   a g g r e g a t e d   t o g e t h e r ,   s o   k u b e - p r o x y   m i g h t   i n s t e a d   e n d   u p   m a k i n g ,   s a y ,   5   u p d a t e s ,   e a c h   r e m o v i n g   2 0   e n d p o i n t s ,   w h i c h   w i l l   b e   m u c h   m o r e   e f f i c i e n t   i n   t e r m s   o f   C P U ,   a n d   r e s u l t   i n   t h e   f u l l   s e t   o f   c h a n g e s   b e i n g   s y n c h r o n i z e d   f a s t e r .   T h e   l a r g e r   t h e   v a l u e   o f   m i n S y n c P e r i o d ,   t h e   m o r e   w o r k   t h a t   c a n   b e   a g g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_5_25660"
  },
  {
    "question": "What is Updating legacy minSyncPeriod configuration?",
    "answer": "O l d e r   v e r s i o n s   o f   k u b e - p r o x y   u p d a t e d   a l l   t h e   r u l e s   f o r   a l l   S e r v i c e s   o n   e v e r y   s y n c ;   t h i s   l e d   t o   p e r f o r m a n c e   i s s u e s   ( u p d a t e   l a g )   i n   l a r g e   c l u s t e r s ,   a n d   t h e   r e c o m m e n d e d   s o l u t i o n   w a s   t o   s e t   a   l a r g e r   m i n S y n c P e r i o d .   S i n c e   K u b e r n e t e s   v 1 . 2 8 ,   t h e   i p t a b l e s   m o d e   o f   k u b e - p r o x y   u s e s   a   m o r e   m i n i m a l   a p p r o a c h ,   o n l y   m a k i n g   u p d a t e s   w h e r e   S e r v i c e s   o r   E n d p o i n t S l i c e s   h a v e   a c t u a l l y   c h a n g e d .   I f   y o u   w e r e   p r e v i o u s l y   o v e r r i d i n g   m i n S y n c P e r i o d ,   y o u   s h o u l d   t r y   r e m o v i n g   t h a t   o v e r r i d e   a n d   l e t t i n g   k u b e - p r o x y   u s e   t h e   d e f a u l t   v a l u e   ( 1 s )   o r   a t   l e a s t   a   s m a l l e r   v a l u e   t h a n   y o u   w e r e   u s i n g   b e f o r e   u p g r a d i n g .   I f   y o u   a r e   n o t   r u n n i n g   k u b e - p r o x y   f r o m   K u b e r n e t e s   1 . 3 4 ,   c h e c k   t h e   b e h a v i o r   a n d   a s s o c i a t e d   a d v i c e   f o r   t h e   v e r s i o n   t h a t   y o u   a r e   a c t u a l l y   r u n n i n g .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_5_25661"
  },
  {
    "question": "What is syncPeriod?",
    "answer": "T h e   s y n c P e r i o d   p a r a m e t e r   c o n t r o l s   a   h a n d f u l   o f   s y n c h r o n i z a t i o n   o p e r a t i o n s   t h a t   a r e   n o t   d i r e c t l y   r e l a t e d   t o   c h a n g e s   i n   i n d i v i d u a l   S e r v i c e s   a n d   E n d p o i n t S l i c e s .   I n   p a r t i c u l a r ,   i t   c o n t r o l s   h o w   q u i c k l y   k u b e - p r o x y   n o t i c e s   i f   a n   e x t e r n a l   c o m p o n e n t   h a s   i n t e r f e r e d   w i t h   k u b e - p r o x y ' s   i p t a b l e s   r u l e s .   I n   l a r g e   c l u s t e r s ,   k u b e - p r o x y   a l s o   o n l y   p e r f o r m s   c e r t a i n   c l e a n u p   o p e r a t i o n s   o n c e   e v e r y   s y n c P e r i o d   t o   a v o i d   u n n e c e s s a r y   w o r k .   F o r   t h e   m o s t   p a r t ,   i n c r e a s i n g   s y n c P e r i o d   i s   n o t   e x p e c t e d   t o   h a v e   m u c h   i m p a c t   o n   p e r f o r m a n c e ,   b u t   i n   t h e   p a s t ,   i t   w a s   s o m e t i m e s   u s e f u l   t o   s e t   i t   t o   a   v e r y   l a r g e   v a l u e   ( e g ,   1 h ) .   T h i s   i s   n o   l o n g e r   r e c o m m e n d e d ,   a n d   i s   l i k e l y   t o   h u r t   f u n c t i o n a l i t y   m o r e   t h a n   i t   i m p r o v e s   p e r f o r m a n c e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_5_25662"
  },
  {
    "question": "What is IPVS proxy mode?",
    "answer": "T h i s   p r o x y   m o d e   i s   o n l y   a v a i l a b l e   o n   L i n u x   n o d e s .   I n   i p v s   m o d e ,   k u b e - p r o x y   u s e s   t h e   k e r n e l   I P V S   a n d   i p t a b l e s   A P I s   t o   c r e a t e   r u l e s   t o   r e d i r e c t   t r a f f i c   f r o m   S e r v i c e   I P s   t o   e n d p o i n t   I P s .   T h e   I P V S   p r o x y   m o d e   i s   b a s e d   o n   n e t f i l t e r   h o o k   f u n c t i o n   t h a t   i s   s i m i l a r   t o   i p t a b l e s   m o d e ,   b u t   u s e s   a   h a s h   t a b l e   a s   t h e   u n d e r l y i n g   d a t a   s t r u c t u r e   a n d   w o r k s   i n   t h e   k e r n e l   s p a c e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25663"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   i p v s   p r o x y   m o d e   w a s   a n   e x p e r i m e n t   i n   p r o v i d i n g   a   L i n u x   k u b e - p r o x y   b a c k e n d   w i t h   b e t t e r   r u l e - s y n c h r o n i z i n g   p e r f o r m a n c e   a n d   h i g h e r   n e t w o r k - t r a f f i c   t h r o u g h p u t   t h a n   t h e   i p t a b l e s   m o d e .   W h i l e   i t   s u c c e e d e d   i n   t h o s e   g o a l s ,   t h e   k e r n e l   I P V S   A P I   t u r n e d   o u t   t o   b e   a   b a d   m a t c h   f o r   t h e   K u b e r n e t e s   S e r v i c e s   A P I ,   a n d   t h e   i p v s   b a c k e n d   w a s   n e v e r   a b l e   t o   i m p l e m e n t   a l l   o f   t h e   e d g e   c a s e s   o f   K u b e r n e t e s   S e r v i c e   f u n c t i o n a l i t y   c o r r e c t l y .   A t   s o m e   p o i n t   i n   t h e   f u t u r e ,   i t   i s   e x p e c t e d   t o   b e   f o r m a l l y   d e p r e c a t e d   a s   a   f e a t u r e .   T h e   n f t a b l e s   p r o x y   m o d e   ( d e s c r i b e d   b e l o w )   i s   e s s e n t i a l l y   a   r e p l a c e m e n t   f o r   b o t h   t h e   i p t a b l e s   a n d   i p v s   m o d e s ,   w i t h   b e t t e r   p e r f o r m a n c e   t h a n   e i t h e r   o f   t h e m ,   a n d   i s   r e c o m m e n d e d   a s   a   r e p l a c e m e n t   f o r   i p v s .   I f   y o u   a r e   d e p l o y i n g   o n t o   L i n u x   s y s t e m s   t h a t   a r e   t o o   o l d   t o   r u n   t h e   n f t a b l e s   p r o x y   m o d e ,   y o u   s h o u l d   a l s o   c o n s i d e r   t r y i n g   t h e   i p t a b l e s   m o d e   r a t h e r   t h a n   i p v s ,   s i n c e   t h e   p e r f o r m a n c e   o f   i p t a b l e s   m o d e   h a s   i m p r o v e d   g r e a t l y   s i n c e   t h e   i p v s   m o d e   w a s   f i r s t   i n t r o d u c e d .   I P V S   p r o v i d e s   m o r e   o p t i o n s   f o r   b a l a n c i n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25664"
  },
  {
    "question": "What is Note:?",
    "answer": "T o   r u n   k u b e - p r o x y   i n   I P V S   m o d e ,   y o u   m u s t   m a k e   I P V S   a v a i l a b l e   o n   t h e   n o d e   b e f o r e   s t a r t i n g   k u b e - p r o x y .   W h e n   k u b e - p r o x y   s t a r t s   i n   I P V S   p r o x y   m o d e ,   i t   v e r i f i e s   w h e t h e r   I P V S   k e r n e l   m o d u l e s   a r e   a v a i l a b l e .   I f   t h e   I P V S   k e r n e l   m o d u l e s   a r e   n o t   d e t e c t e d ,   t h e n   k u b e - p r o x y   e x i t s   w i t h   a n   e r r o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25665"
  },
  {
    "question": "What is nftables proxy mode?",
    "answer": "T h i s   p r o x y   m o d e   i s   o n l y   a v a i l a b l e   o n   L i n u x   n o d e s ,   a n d   r e q u i r e s   k e r n e l   5 . 1 3   o r   l a t e r .   I n   t h i s   m o d e ,   k u b e - p r o x y   c o n f i g u r e s   p a c k e t   f o r w a r d i n g   r u l e s   u s i n g   t h e   n f t a b l e s   A P I   o f   t h e   k e r n e l   n e t f i l t e r   s u b s y s t e m .   F o r   e a c h   e n d p o i n t ,   i t   i n s t a l l s   n f t a b l e s   r u l e s   w h i c h ,   b y   d e f a u l t ,   s e l e c t   a   b a c k e n d   P o d   a t   r a n d o m .   T h e   n f t a b l e s   A P I   i s   t h e   s u c c e s s o r   t o   t h e   i p t a b l e s   A P I   a n d   i s   d e s i g n e d   t o   p r o v i d e   b e t t e r   p e r f o r m a n c e   a n d   s c a l a b i l i t y   t h a n   i p t a b l e s .   T h e   n f t a b l e s   p r o x y   m o d e   i s   a b l e   t o   p r o c e s s   c h a n g e s   t o   s e r v i c e   e n d p o i n t s   f a s t e r   a n d   m o r e   e f f i c i e n t l y   t h a n   t h e   i p t a b l e s   m o d e ,   a n d   i s   a l s o   a b l e   t o   m o r e   e f f i c i e n t l y   p r o c e s s   p a c k e t s   i n   t h e   k e r n e l   ( t h o u g h   t h i s   o n l y   b e c o m e s   n o t i c e a b l e   i n   c l u s t e r s   w i t h   t e n s   o f   t h o u s a n d s   o f   s e r v i c e s ) .   A s   o f   K u b e r n e t e s   1 . 3 4 ,   t h e   n f t a b l e s   m o d e   i s   s t i l l   r e l a t i v e l y   n e w ,   a n d   m a y   n o t   b e   c o m p a t i b l e   w i t h   a l l   n e t w o r k   p l u g i n s ;   c o n s u l t   t h e   d o c u m e n t a t i o n   f o r   y o u r   n e t w o r k   p l u g i n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25666"
  },
  {
    "question": "What is Migrating from iptables mode to nftables?",
    "answer": "U s e r s   w h o   w a n t   t o   s w i t c h   f r o m   t h e   d e f a u l t   i p t a b l e s   m o d e   t o   t h e   n f t a b l e s   m o d e   s h o u l d   b e   a w a r e   t h a t   s o m e   f e a t u r e s   w o r k   s l i g h t l y   d i f f e r e n t l y   t h e   n f t a b l e s   m o d e :   N o d e P o r t   i n t e r f a c e s :   I n   i p t a b l e s   m o d e ,   b y   d e f a u l t ,   N o d e P o r t   s e r v i c e s   a r e   r e a c h a b l e   o n   a l l   l o c a l   I P   a d d r e s s e s .   T h i s   i s   u s u a l l y   n o t   w h a t   u s e r s   w a n t ,   s o   t h e   n f t a b l e s   m o d e   d e f a u l t s   t o   - - n o d e p o r t - a d d r e s s e s   p r i m a r y ,   m e a n i n g   S e r v i c e s   u s i n g   t y p e :   N o d e P o r t   a r e   o n l y   r e a c h a b l e   o n   t h e   n o d e ' s   p r i m a r y   I P v 4   a n d / o r   I P v 6   a d d r e s s e s .   Y o u   c a n   o v e r r i d e   t h i s   b y   s p e c i f y i n g   a n   e x p l i c i t   v a l u e   f o r   t h a t   o p t i o n :   e . g . ,   - - n o d e p o r t - a d d r e s s e s   0 . 0 . 0 . 0 / 0   t o   l i s t e n   o n   a l l   ( l o c a l )   I P v 4   I P s . t y p e :   N o d e P o r t   S e r v i c e s   o n   1 2 7 . 0 . 0 . 1 :   I n   i p t a b l e s   m o d e ,   i f   t h e   - - n o d e p o r t - a d d r e s s e s   r a n g e   i n c l u d e s   1 2 7 . 0 . 0 . 1   ( a n d   t h e   o p t i o n   - - i p t a b l e s - l o c a l h o s t - n o d e p o r t s   f a l s e   o p t i o n   i s   n o t   p a s s e d ) ,   t h e n   S e r v i c e s   o f   t y p e :   N o d e P o r t   a r e   r e a c h a b l e   e v e n   o n   \" l o c a l h o s t \"   ( 1 2 7 . 0 . 0 . 1 ) .   I n   n f t a b l e s   m o d e   ( a n d   i p v s   m o d e ) ,   t h i s   w i l l   n o t   w o r k .   I f   y o u   a r e   n o t   s u r e   i f   y o u   a r e   d e p e n d i n g   o n   t h i s   f u n c t i o n a l i t y ,   y o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25667"
  },
  {
    "question": "What is kernelspace proxy mode?",
    "answer": "T h i s   p r o x y   m o d e   i s   o n l y   a v a i l a b l e   o n   W i n d o w s   n o d e s .   T h e   k u b e - p r o x y   c o n f i g u r e s   p a c k e t   f i l t e r i n g   r u l e s   i n   t h e   W i n d o w s   V i r t u a l   F i l t e r i n g   P l a t f o r m   ( V F P ) ,   a n   e x t e n s i o n   t o   W i n d o w s   v S w i t c h .   T h e s e   r u l e s   p r o c e s s   e n c a p s u l a t e d   p a c k e t s   w i t h i n   t h e   n o d e - l e v e l   v i r t u a l   n e t w o r k s ,   a n d   r e w r i t e   p a c k e t s   s o   t h a t   t h e   d e s t i n a t i o n   I P   a d d r e s s   ( a n d   l a y e r   2   i n f o r m a t i o n )   i s   c o r r e c t   f o r   g e t t i n g   t h e   p a c k e t   r o u t e d   t o   t h e   c o r r e c t   d e s t i n a t i o n .   T h e   W i n d o w s   V F P   i s   a n a l o g o u s   t o   t o o l s   s u c h   a s   L i n u x   n f t a b l e s   o r   i p t a b l e s .   T h e   W i n d o w s   V F P   e x t e n d s   t h e   H y p e r - V   S w i t c h ,   w h i c h   w a s   i n i t i a l l y   i m p l e m e n t e d   t o   s u p p o r t   v i r t u a l   m a c h i n e   n e t w o r k i n g .   W h e n   a   P o d   o n   a   n o d e   s e n d s   t r a f f i c   t o   a   v i r t u a l   I P   a d d r e s s ,   a n d   t h e   k u b e - p r o x y   s e l e c t s   a   P o d   o n   a   d i f f e r e n t   n o d e   a s   t h e   l o a d   b a l a n c i n g   t a r g e t ,   t h e   k e r n e l s p a c e   p r o x y   m o d e   r e w r i t e s   t h a t   p a c k e t   t o   b e   d e s t i n e d   t o   t h e   t a r g e t   b a c k e n d   P o d .   T h e   W i n d o w s   H o s t   N e t w o r k i n g   S e r v i c e   ( H N S )   e n s u r e s   t h a t   p a c k e t   r e w r i t i n g   r u l e s   a r e   c o n f i g u r e d   s o   t h a t   t h e   r e t u r n   t r a f f i c   a p p e a r s   t o   c o m e   f r o m   t h e   v i r t u a l   I P   a d d r e s s   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25668"
  },
  {
    "question": "What is Direct server return for kernelspace mode?",
    "answer": "A s   a n   a l t e r n a t i v e   t o   t h e   b a s i c   o p e r a t i o n ,   a   n o d e   t h a t   h o s t s   t h e   b a c k e n d   P o d   f o r   a   S e r v i c e   c a n   a p p l y   t h e   p a c k e t   r e w r i t i n g   d i r e c t l y ,   r a t h e r   t h a n   p l a c i n g   t h i s   b u r d e n   o n   t h e   n o d e   w h e r e   t h e   c l i e n t   P o d   i s   r u n n i n g .   T h i s   i s   c a l l e d   d i r e c t   s e r v e r   r e t u r n .   T o   u s e   t h i s ,   y o u   m u s t   r u n   k u b e - p r o x y   w i t h   t h e   - - e n a b l e - d s r   c o m m a n d   l i n e   a r g u m e n t   a n d   e n a b l e   t h e   W i n D S R   f e a t u r e   g a t e .   D i r e c t   s e r v e r   r e t u r n   a l s o   o p t i m i z e s   t h e   c a s e   f o r   P o d   r e t u r n   t r a f f i c   e v e n   w h e n   b o t h   P o d s   a r e   r u n n i n g   o n   t h e   s a m e   n o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25669"
  },
  {
    "question": "What is Session affinity?",
    "answer": "I n   t h e s e   p r o x y   m o d e l s ,   t h e   t r a f f i c   b o u n d   f o r   t h e   S e r v i c e ' s   I P : P o r t   i s   p r o x i e d   t o   a n   a p p r o p r i a t e   b a c k e n d   w i t h o u t   t h e   c l i e n t s   k n o w i n g   a n y t h i n g   a b o u t   K u b e r n e t e s   o r   S e r v i c e s   o r   P o d s .   I f   y o u   w a n t   t o   m a k e   s u r e   t h a t   c o n n e c t i o n s   f r o m   a   p a r t i c u l a r   c l i e n t   a r e   p a s s e d   t o   t h e   s a m e   P o d   e a c h   t i m e ,   y o u   c a n   s e l e c t   t h e   s e s s i o n   a f f i n i t y   b a s e d   o n   t h e   c l i e n t ' s   I P   a d d r e s s e s   b y   s e t t i n g   . s p e c . s e s s i o n A f f i n i t y   t o   C l i e n t I P   f o r   a   S e r v i c e   ( t h e   d e f a u l t   i s   N o n e ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25670"
  },
  {
    "question": "What is Session stickiness timeout?",
    "answer": "Y o u   c a n   a l s o   s e t   t h e   m a x i m u m   s e s s i o n   s t i c k y   t i m e   b y   s e t t i n g   . s p e c . s e s s i o n A f f i n i t y C o n f i g . c l i e n t I P . t i m e o u t S e c o n d s   a p p r o p r i a t e l y   f o r   a   S e r v i c e .   ( t h e   d e f a u l t   v a l u e   i s   1 0 8 0 0 ,   w h i c h   w o r k s   o u t   t o   b e   3   h o u r s ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25671"
  },
  {
    "question": "What is IP address assignment to Services?",
    "answer": "U n l i k e   P o d   I P   a d d r e s s e s ,   w h i c h   a c t u a l l y   r o u t e   t o   a   f i x e d   d e s t i n a t i o n ,   S e r v i c e   I P s   a r e   n o t   a c t u a l l y   a n s w e r e d   b y   a   s i n g l e   h o s t .   I n s t e a d ,   k u b e - p r o x y   u s e s   p a c k e t   p r o c e s s i n g   l o g i c   ( s u c h   a s   L i n u x   i p t a b l e s )   t o   d e f i n e   v i r t u a l   I P   a d d r e s s e s   w h i c h   a r e   t r a n s p a r e n t l y   r e d i r e c t e d   a s   n e e d e d .   W h e n   c l i e n t s   c o n n e c t   t o   t h e   V I P ,   t h e i r   t r a f f i c   i s   a u t o m a t i c a l l y   t r a n s p o r t e d   t o   a n   a p p r o p r i a t e   e n d p o i n t .   T h e   e n v i r o n m e n t   v a r i a b l e s   a n d   D N S   f o r   S e r v i c e s   a r e   a c t u a l l y   p o p u l a t e d   i n   t e r m s   o f   t h e   S e r v i c e ' s   v i r t u a l   I P   a d d r e s s   ( a n d   p o r t ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25672"
  },
  {
    "question": "What is Avoiding collisions?",
    "answer": "O n e   o f   t h e   p r i m a r y   p h i l o s o p h i e s   o f   K u b e r n e t e s   i s   t h a t   y o u   s h o u l d   n o t   b e   e x p o s e d   t o   s i t u a t i o n s   t h a t   c o u l d   c a u s e   y o u r   a c t i o n s   t o   f a i l   t h r o u g h   n o   f a u l t   o f   y o u r   o w n .   F o r   t h e   d e s i g n   o f   t h e   S e r v i c e   r e s o u r c e ,   t h i s   m e a n s   n o t   m a k i n g   y o u   c h o o s e   y o u r   o w n   I P   a d d r e s s   i f   t h a t   c h o i c e   m i g h t   c o l l i d e   w i t h   s o m e o n e   e l s e ' s   c h o i c e .   T h a t   i s   a n   i s o l a t i o n   f a i l u r e .   I n   o r d e r   t o   a l l o w   y o u   t o   c h o o s e   a n   I P   a d d r e s s   f o r   y o u r   S e r v i c e s ,   w e   m u s t   e n s u r e   t h a t   n o   t w o   S e r v i c e s   c a n   c o l l i d e .   K u b e r n e t e s   d o e s   t h a t   b y   a l l o c a t i n g   e a c h   S e r v i c e   i t s   o w n   I P   a d d r e s s   f r o m   w i t h i n   t h e   s e r v i c e - c l u s t e r - i p - r a n g e   C I D R   r a n g e   t h a t   i s   c o n f i g u r e d   f o r   t h e   A P I   S e r v e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25673"
  },
  {
    "question": "What is IP address allocation tracking?",
    "answer": "T o   e n s u r e   e a c h   S e r v i c e   r e c e i v e s   a   u n i q u e   I P   a d d r e s s ,   a n   i n t e r n a l   a l l o c a t o r   a t o m i c a l l y   u p d a t e s   a   g l o b a l   a l l o c a t i o n   m a p   i n   e t c d   p r i o r   t o   c r e a t i n g   e a c h   S e r v i c e .   T h e   m a p   o b j e c t   m u s t   e x i s t   i n   t h e   r e g i s t r y   f o r   S e r v i c e s   t o   g e t   I P   a d d r e s s   a s s i g n m e n t s ,   o t h e r w i s e   c r e a t i o n s   w i l l   f a i l   w i t h   a   m e s s a g e   i n d i c a t i n g   a n   I P   a d d r e s s   c o u l d   n o t   b e   a l l o c a t e d .   I n   t h e   c o n t r o l   p l a n e ,   a   b a c k g r o u n d   c o n t r o l l e r   i s   r e s p o n s i b l e   f o r   c r e a t i n g   t h a t   m a p   ( n e e d e d   t o   s u p p o r t   m i g r a t i n g   f r o m   o l d e r   v e r s i o n s   o f   K u b e r n e t e s   t h a t   u s e d   i n - m e m o r y   l o c k i n g ) .   K u b e r n e t e s   a l s o   u s e s   c o n t r o l l e r s   t o   c h e c k   f o r   i n v a l i d   a s s i g n m e n t s   ( f o r   e x a m p l e :   d u e   t o   a d m i n i s t r a t o r   i n t e r v e n t i o n )   a n d   f o r   c l e a n i n g   u p   a l l o c a t e d   I P   a d d r e s s e s   t h a t   a r e   n o   l o n g e r   u s e d   b y   a n y   S e r v i c e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25674"
  },
  {
    "question": "What is IP address allocation tracking using the Kubernetes API?",
    "answer": "T h e   c o n t r o l   p l a n e   r e p l a c e s   t h e   e x i s t i n g   e t c d   a l l o c a t o r   w i t h   a   r e v i s e d   i m p l e m e n t a t i o n   t h a t   u s e s   I P A d d r e s s   a n d   S e r v i c e C I D R   o b j e c t s   i n s t e a d   o f   a n   i n t e r n a l   g l o b a l   a l l o c a t i o n   m a p .   E a c h   c l u s t e r   I P   a d d r e s s   a s s o c i a t e d   t o   a   S e r v i c e   t h e n   r e f e r e n c e s   a n   I P A d d r e s s   o b j e c t .   E n a b l i n g   t h e   f e a t u r e   g a t e   a l s o   r e p l a c e s   a   b a c k g r o u n d   c o n t r o l l e r   w i t h   a n   a l t e r n a t i v e   t h a t   h a n d l e s   t h e   I P A d d r e s s   o b j e c t s   a n d   s u p p o r t s   m i g r a t i o n   f r o m   t h e   o l d   a l l o c a t o r   m o d e l .   K u b e r n e t e s   1 . 3 4   d o e s   n o t   s u p p o r t   m i g r a t i n g   f r o m   I P A d d r e s s   o b j e c t s   t o   t h e   i n t e r n a l   a l l o c a t i o n   m a p .   O n e   o f   t h e   m a i n   b e n e f i t s   o f   t h e   r e v i s e d   a l l o c a t o r   i s   t h a t   i t   r e m o v e s   t h e   s i z e   l i m i t a t i o n s   f o r   t h e   I P   a d d r e s s   r a n g e   t h a t   c a n   b e   u s e d   f o r   t h e   c l u s t e r   I P   a d d r e s s   o f   S e r v i c e s .   W i t h   M u l t i C I D R S e r v i c e A l l o c a t o r   e n a b l e d ,   t h e r e   a r e   n o   l i m i t a t i o n s   f o r   I P v 4 ,   a n d   f o r   I P v 6   y o u   c a n   u s e   I P   a d d r e s s   n e t m a s k s   t h a t   a r e   a   / 6 4   o r   s m a l l e r   ( a s   o p p o s e d   t o   / 1 0 8   w i t h   t h e   l e g a c y   i m p l e m e n t a t i o n ) .   M a k i n g   I P   a d d r e s s   a l l o c a t i o n s   a v a i l a b l e   v i a   t h e   A P I   m e a n s   t h a t   y o u   a s   a   c l u s t e r   a d m i n i s t r a t o r   c a n   a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_25675"
  },
  {
    "question": "What is IP address ranges for Service virtual IP addresses?",
    "answer": "K u b e r n e t e s   d i v i d e s   t h e   C l u s t e r I P   r a n g e   i n t o   t w o   b a n d s ,   b a s e d   o n   t h e   s i z e   o f   t h e   c o n f i g u r e d   s e r v i c e - c l u s t e r - i p - r a n g e   b y   u s i n g   t h e   f o l l o w i n g   f o r m u l a   m i n ( m a x ( 1 6 ,   c i d r S i z e   /   1 6 ) ,   2 5 6 ) .   T h a t   f o r m u l a   m e a n s   t h e   r e s u l t   i s   n e v e r   l e s s   t h a n   1 6   o r   m o r e   t h a n   2 5 6 ,   w i t h   a   g r a d u a t e d   s t e p   f u n c t i o n   b e t w e e n   t h e m .   K u b e r n e t e s   p r e f e r s   t o   a l l o c a t e   d y n a m i c   I P   a d d r e s s e s   t o   S e r v i c e s   b y   c h o o s i n g   f r o m   t h e   u p p e r   b a n d ,   w h i c h   m e a n s   t h a t   i f   y o u   w a n t   t o   a s s i g n   a   s p e c i f i c   I P   a d d r e s s   t o   a   t y p e :   C l u s t e r I P   S e r v i c e ,   y o u   s h o u l d   m a n u a l l y   a s s i g n   a n   I P   a d d r e s s   f r o m   t h e   l o w e r   b a n d .   T h a t   a p p r o a c h   r e d u c e s   t h e   r i s k   o f   a   c o n f l i c t   o v e r   a l l o c a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25676"
  },
  {
    "question": "What is Traffic policies?",
    "answer": "Y o u   c a n   s e t   t h e   . s p e c . i n t e r n a l T r a f f i c P o l i c y   a n d   . s p e c . e x t e r n a l T r a f f i c P o l i c y   f i e l d s   t o   c o n t r o l   h o w   K u b e r n e t e s   r o u t e s   t r a f f i c   t o   h e a l t h y   ( “ r e a d y ” )   b a c k e n d s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25677"
  },
  {
    "question": "What is Internal traffic policy?",
    "answer": "Y o u   c a n   s e t   t h e   . s p e c . i n t e r n a l T r a f f i c P o l i c y   f i e l d   t o   c o n t r o l   h o w   t r a f f i c   f r o m   i n t e r n a l   s o u r c e s   i s   r o u t e d .   V a l i d   v a l u e s   a r e   C l u s t e r   a n d   L o c a l .   S e t   t h e   f i e l d   t o   C l u s t e r   t o   r o u t e   i n t e r n a l   t r a f f i c   t o   a l l   r e a d y   e n d p o i n t s   a n d   L o c a l   t o   o n l y   r o u t e   t o   r e a d y   n o d e - l o c a l   e n d p o i n t s .   I f   t h e   t r a f f i c   p o l i c y   i s   L o c a l   a n d   t h e r e   a r e   n o   n o d e - l o c a l   e n d p o i n t s ,   t r a f f i c   i s   d r o p p e d   b y   k u b e - p r o x y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25678"
  },
  {
    "question": "What is External traffic policy?",
    "answer": "Y o u   c a n   s e t   t h e   . s p e c . e x t e r n a l T r a f f i c P o l i c y   f i e l d   t o   c o n t r o l   h o w   t r a f f i c   f r o m   e x t e r n a l   s o u r c e s   i s   r o u t e d .   V a l i d   v a l u e s   a r e   C l u s t e r   a n d   L o c a l .   S e t   t h e   f i e l d   t o   C l u s t e r   t o   r o u t e   e x t e r n a l   t r a f f i c   t o   a l l   r e a d y   e n d p o i n t s   a n d   L o c a l   t o   o n l y   r o u t e   t o   r e a d y   n o d e - l o c a l   e n d p o i n t s .   I f   t h e   t r a f f i c   p o l i c y   i s   L o c a l   a n d   t h e r e   a r e   n o   n o d e - l o c a l   e n d p o i n t s ,   t h e   k u b e - p r o x y   d o e s   n o t   f o r w a r d   a n y   t r a f f i c   f o r   t h e   r e l e v a n t   S e r v i c e .   I f   C l u s t e r   i s   s p e c i f i e d ,   a l l   n o d e s   a r e   e l i g i b l e   l o a d   b a l a n c i n g   t a r g e t s   a s   l o n g   a s   t h e   n o d e   i s   n o t   b e i n g   d e l e t e d   a n d   k u b e - p r o x y   i s   h e a l t h y .   I n   t h i s   m o d e :   l o a d   b a l a n c e r   h e a l t h   c h e c k s   a r e   c o n f i g u r e d   t o   t a r g e t   t h e   s e r v i c e   p r o x y ' s   r e a d i n e s s   p o r t   a n d   p a t h .   I n   t h e   c a s e   o f   k u b e - p r o x y   t h i s   e v a l u a t e s   t o :   $ { N O D E _ I P } : 1 0 2 5 6 / h e a l t h z .   k u b e - p r o x y   w i l l   r e t u r n   e i t h e r   a n   H T T P   c o d e   2 0 0   o r   5 0 3 .   k u b e - p r o x y ' s   l o a d   b a l a n c e r   h e a l t h   c h e c k   e n d p o i n t   r e t u r n s   2 0 0   i f :   k u b e - p r o x y   i s   h e a l t h y ,   m e a n i n g : i t ' s   a b l e   t o   p r o g r e s s   p r o g r a m m i n g   t h e   n e t w o r k   a n d   i s n ' t   t i m i n g   o u t   w h i l e   d o i n g   s o   ( t h e   t i m e o u t   i s   d e f i n e d   t o   b e :   2   × ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25679"
  },
  {
    "question": "What is Traffic to terminating endpoints?",
    "answer": "I f   t h e   P r o x y T e r m i n a t i n g E n d p o i n t s   f e a t u r e   g a t e   i s   e n a b l e d   i n   k u b e - p r o x y   a n d   t h e   t r a f f i c   p o l i c y   i s   L o c a l ,   t h a t   n o d e ' s   k u b e - p r o x y   u s e s   a   m o r e   c o m p l i c a t e d   a l g o r i t h m   t o   s e l e c t   e n d p o i n t s   f o r   a   S e r v i c e .   W i t h   t h e   f e a t u r e   e n a b l e d ,   k u b e - p r o x y   c h e c k s   i f   t h e   n o d e   h a s   l o c a l   e n d p o i n t s   a n d   w h e t h e r   o r   n o t   a l l   t h e   l o c a l   e n d p o i n t s   a r e   m a r k e d   a s   t e r m i n a t i n g .   I f   t h e r e   a r e   l o c a l   e n d p o i n t s   a n d   a l l   o f   t h e m   a r e   t e r m i n a t i n g ,   t h e n   k u b e - p r o x y   w i l l   f o r w a r d   t r a f f i c   t o   t h o s e   t e r m i n a t i n g   e n d p o i n t s .   O t h e r w i s e ,   k u b e - p r o x y   w i l l   a l w a y s   p r e f e r   f o r w a r d i n g   t r a f f i c   t o   e n d p o i n t s   t h a t   a r e   n o t   t e r m i n a t i n g .   T h i s   f o r w a r d i n g   b e h a v i o r   f o r   t e r m i n a t i n g   e n d p o i n t s   e x i s t s   t o   a l l o w   N o d e P o r t   a n d   L o a d B a l a n c e r   S e r v i c e s   t o   g r a c e f u l l y   d r a i n   c o n n e c t i o n s   w h e n   u s i n g   e x t e r n a l T r a f f i c P o l i c y :   L o c a l .   A s   a   d e p l o y m e n t   g o e s   t h r o u g h   a   r o l l i n g   u p d a t e ,   n o d e s   b a c k i n g   a   l o a d   b a l a n c e r   m a y   t r a n s i t i o n   f r o m   N   t o   0   r e p l i c a s   o f   t h a t   d e p l o y m e n t .   I n   s o m e   c a s e s ,   e x t e r n a l   l o a d   b a l a n c e r s   c a n   s e n d   t r a f f i c   t o   a   n o d e   w i t h   0   r e p l i c a s   i n   b e t w e e n   h e a l t h   c h e c k   p r o b e s .   R o u t i n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25680"
  },
  {
    "question": "What is Traffic Distribution?",
    "answer": "T h e   s p e c . t r a f f i c D i s t r i b u t i o n   f i e l d   w i t h i n   a   K u b e r n e t e s   S e r v i c e   a l l o w s   y o u   t o   e x p r e s s   p r e f e r e n c e s   f o r   h o w   t r a f f i c   s h o u l d   b e   r o u t e d   t o   S e r v i c e   e n d p o i n t s .   I n   K u b e r n e t e s   1 . 3 4 ,   t w o   a d d i t i o n a l   v a l u e s   a r e   a v a i l a b l e   ( u n l e s s   t h e   P r e f e r S a m e T r a f f i c D i s t r i b u t i o n   f e a t u r e   g a t e   i s   d i s a b l e d ) :   I n   t h e   a b s e n c e   o f   a n y   v a l u e   f o r   t r a f f i c D i s t r i b u t i o n ,   t h e   d e f a u l t   s t r a t e g y   i s   t o   d i s t r i b u t e   t r a f f i c   e v e n l y   t o   a l l   e n d p o i n t s   i n   t h e   c l u s t e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25681"
  },
  {
    "question": "What is Comparison with service.kubernetes.io/topology-mode: Auto?",
    "answer": "T h e   t r a f f i c D i s t r i b u t i o n   f i e l d   w i t h   P r e f e r C l o s e / P r e f e r S a m e Z o n e ,   a n d   t h e   o l d e r   \" T o p o l o g y - A w a r e   R o u t i n g \"   f e a t u r e   u s i n g   t h e   s e r v i c e . k u b e r n e t e s . i o / t o p o l o g y - m o d e :   A u t o   a n n o t a t i o n   b o t h   a i m   t o   p r i o r i t i z e   s a m e - z o n e   t r a f f i c .   H o w e v e r ,   t h e r e   i s   a   k e y   d i f f e r e n c e   i n   t h e i r   a p p r o a c h e s :   s e r v i c e . k u b e r n e t e s . i o / t o p o l o g y - m o d e :   A u t o   a t t e m p t s   t o   d i s t r i b u t e   t r a f f i c   p r o p o r t i o n a l l y   a c r o s s   z o n e s   b a s e d   o n   a l l o c a t a b l e   C P U   r e s o u r c e s .   T h i s   h e u r i s t i c   i n c l u d e s   s a f e g u a r d s   ( s u c h   a s   t h e   f a l l b a c k   b e h a v i o r   f o r   s m a l l   n u m b e r s   o f   e n d p o i n t s ) ,   s a c r i f i c i n g   s o m e   p r e d i c t a b i l i t y   i n   f a v o r   o f   p o t e n t i a l l y   b e t t e r   l o a d   b a l a n c i n g . t r a f f i c D i s t r i b u t i o n :   P r e f e r C l o s e   a i m s   t o   b e   s i m p l e r   a n d   m o r e   p r e d i c t a b l e :   \" I f   t h e r e   a r e   e n d p o i n t s   i n   t h e   z o n e ,   t h e y   w i l l   r e c e i v e   a l l   t r a f f i c   f o r   t h a t   z o n e ,   i f   t h e r e   a r e   n o   e n d p o i n t s   i n   a   z o n e ,   t h e   t r a f f i c   w i l l   b e   d i s t r i b u t e d   t o   o t h e r   z o n e s \" .   T h i s   a p p r o a c h   o f f e r s   m o r e   p r e d i c t a b i l i t y ,   b u t   i t   m e a n s   t h a t   y o u   a r e   r e s p o n s i b l e   f o r   a v o i d i n g   e n d p o i n t   o v e r l o a d .   s e r v i c e . k u b e r n e t e s . i o / t o p o l o g y - m o d e :   A u t o   a t t e m p t s   t o   d i s t r i b ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25682"
  },
  {
    "question": "What is Interaction with Traffic Policies?",
    "answer": "W h e n   c o m p a r e d   t o   t h e   t r a f f i c D i s t r i b u t i o n   f i e l d ,   t h e   t r a f f i c   p o l i c y   f i e l d s   ( e x t e r n a l T r a f f i c P o l i c y   a n d   i n t e r n a l T r a f f i c P o l i c y )   a r e   m e a n t   t o   o f f e r   a   s t r i c t e r   t r a f f i c   l o c a l i t y   r e q u i r e m e n t s .   H e r e ' s   h o w   t r a f f i c D i s t r i b u t i o n   i n t e r a c t s   w i t h   t h e m :   P r e c e d e n c e   o f   T r a f f i c   P o l i c i e s :   F o r   a   g i v e n   S e r v i c e ,   i f   a   t r a f f i c   p o l i c y   ( e x t e r n a l T r a f f i c P o l i c y   o r   i n t e r n a l T r a f f i c P o l i c y )   i s   s e t   t o   L o c a l ,   i t   t a k e s   p r e c e d e n c e   o v e r   t r a f f i c D i s t r i b u t i o n   f o r   t h e   c o r r e s p o n d i n g   t r a f f i c   t y p e   ( e x t e r n a l   o r   i n t e r n a l ,   r e s p e c t i v e l y ) . t r a f f i c D i s t r i b u t i o n   I n f l u e n c e :   F o r   a   g i v e n   S e r v i c e ,   i f   a   t r a f f i c   p o l i c y   ( e x t e r n a l T r a f f i c P o l i c y   o r   i n t e r n a l T r a f f i c P o l i c y )   i s   s e t   t o   C l u s t e r   ( t h e   d e f a u l t ) ,   o r   i f   t h e   f i e l d s   a r e   n o t   s e t ,   t h e n   t r a f f i c D i s t r i b u t i o n   g u i d e s   t h e   r o u t i n g   b e h a v i o r   f o r   t h e   c o r r e s p o n d i n g   t r a f f i c   t y p e   ( e x t e r n a l   o r   i n t e r n a l ,   r e s p e c t i v e l y ) .   T h i s   m e a n s   t h a t   a n   a t t e m p t   w i l l   b e   m a d e   t o   r o u t e   t r a f f i c   t o   a n   e n d p o i n t   t h a t   i s   i n   t h e   s a m e   z o n e   a s   t h e   c l i e n t .   P r e c e d e n c e   o f   T r a f f i c   P o l i c i e s :   F o r   a   g i v e n   S e r v i c e ,   i f   a   t r a f f i c   p o l i c y   ( e x t e r n a l T r a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25683"
  },
  {
    "question": "What is Considerations for using traffic distribution control?",
    "answer": "A   S e r v i c e   u s i n g   t r a f f i c D i s t r i b u t i o n   w i l l   a t t e m p t   t o   r o u t e   t r a f f i c   t o   ( h e a l t h y )   e n d p o i n t s   w i t h i n   t h e   a p p r o p r i a t e   t o p o l o g y ,   e v e n   i f   t h i s   m e a n s   t h a t   s o m e   e n d p o i n t s   r e c e i v e   m u c h   m o r e   t r a f f i c   t h a n   o t h e r   e n d p o i n t s .   I f   y o u   d o   n o t   h a v e   a   s u f f i c i e n t   n u m b e r   o f   e n d p o i n t s   w i t h i n   t h e   s a m e   t o p o l o g y   ( \" s a m e   z o n e \" ,   \" s a m e   n o d e \" ,   e t c . )   a s   t h e   c l i e n t s ,   t h e n   e n d p o i n t s   m a y   b e c o m e   o v e r l o a d e d .   T h i s   i s   e s p e c i a l l y   l i k e l y   i f   i n c o m i n g   t r a f f i c   i s   n o t   p r o p o r t i o n a l l y   d i s t r i b u t e d   a c r o s s   t h e   t o p o l o g y .   T o   m i t i g a t e   t h i s ,   c o n s i d e r   t h e   f o l l o w i n g   s t r a t e g i e s :   P o d   T o p o l o g y   S p r e a d   C o n s t r a i n t s :   U s e   P o d   T o p o l o g y   S p r e a d   C o n s t r a i n t s   t o   d i s t r i b u t e   y o u r   p o d s   e v e n l y   a c r o s s   z o n e s   o r   n o d e s . Z o n e - s p e c i f i c   D e p l o y m e n t s :   I f   y o u   a r e   u s i n g   \" s a m e   z o n e \"   t r a f f i c   d i s t r i b u t i o n ,   b u t   e x p e c t   t o   s e e   d i f f e r e n t   t r a f f i c   p a t t e r n s   i n   d i f f e r e n t   z o n e s ,   y o u   c a n   c r e a t e   a   s e p a r a t e   D e p l o y m e n t   f o r   e a c h   z o n e .   T h i s   a p p r o a c h   a l l o w s   t h e   s e p a r a t e   w o r k l o a d s   t o   s c a l e   i n d e p e n d e n t l y .   T h e r e   a r e   a l s o   w o r k l o a d   m a n a g e m e n t   a d d o n s   a v a i l a b l e   f r o m   t h e   e c o s y s t e m ,   o u t s i d e   t h e   K u b e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25684"
  },
  {
    "question": "What is What's next?",
    "answer": "T o   l e a r n   m o r e   a b o u t   S e r v i c e s ,   r e a d   C o n n e c t i n g   A p p l i c a t i o n s   w i t h   S e r v i c e s .   Y o u   c a n   a l s o :   R e a d   a b o u t   S e r v i c e s   a s   a   c o n c e p t R e a d   a b o u t   I n g r e s s e s   a s   a   c o n c e p t R e a d   t h e   A P I   r e f e r e n c e   f o r   t h e   S e r v i c e   A P I",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25685"
  },
  {
    "question": "What is 10.1 - Kubeadm?",
    "answer": "K u b e a d m   i s   a   t o o l   b u i l t   t o   p r o v i d e   k u b e a d m   i n i t   a n d   k u b e a d m   j o i n   a s   b e s t - p r a c t i c e   \" f a s t   p a t h s \"   f o r   c r e a t i n g   K u b e r n e t e s   c l u s t e r s .   k u b e a d m   p e r f o r m s   t h e   a c t i o n s   n e c e s s a r y   t o   g e t   a   m i n i m u m   v i a b l e   c l u s t e r   u p   a n d   r u n n i n g .   B y   d e s i g n ,   i t   c a r e s   o n l y   a b o u t   b o o t s t r a p p i n g ,   n o t   a b o u t   p r o v i s i o n i n g   m a c h i n e s .   L i k e w i s e ,   i n s t a l l i n g   v a r i o u s   n i c e - t o - h a v e   a d d o n s ,   l i k e   t h e   K u b e r n e t e s   D a s h b o a r d ,   m o n i t o r i n g   s o l u t i o n s ,   a n d   c l o u d - s p e c i f i c   a d d o n s ,   i s   n o t   i n   s c o p e .   I n s t e a d ,   w e   e x p e c t   h i g h e r - l e v e l   a n d   m o r e   t a i l o r e d   t o o l i n g   t o   b e   b u i l t   o n   t o p   o f   k u b e a d m ,   a n d   i d e a l l y ,   u s i n g   k u b e a d m   a s   t h e   b a s i s   o f   a l l   d e p l o y m e n t s   w i l l   m a k e   i t   e a s i e r   t o   c r e a t e   c o n f o r m a n t   c l u s t e r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25686"
  },
  {
    "question": "What is How to install?",
    "answer": "T o   i n s t a l l   k u b e a d m ,   s e e   t h e   i n s t a l l a t i o n   g u i d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25687"
  },
  {
    "question": "What is What's next?",
    "answer": "k u b e a d m   i n i t   t o   b o o t s t r a p   a   K u b e r n e t e s   c o n t r o l - p l a n e   n o d e k u b e a d m   j o i n   t o   b o o t s t r a p   a   K u b e r n e t e s   w o r k e r   n o d e   a n d   j o i n   i t   t o   t h e   c l u s t e r k u b e a d m   u p g r a d e   t o   u p g r a d e   a   K u b e r n e t e s   c l u s t e r   t o   a   n e w e r   v e r s i o n k u b e a d m   c o n f i g   i f   y o u   i n i t i a l i z e d   y o u r   c l u s t e r   u s i n g   k u b e a d m   v 1 . 7 . x   o r   l o w e r ,   t o   c o n f i g u r e   y o u r   c l u s t e r   f o r   k u b e a d m   u p g r a d e k u b e a d m   t o k e n   t o   m a n a g e   t o k e n s   f o r   k u b e a d m   j o i n k u b e a d m   r e s e t   t o   r e v e r t   a n y   c h a n g e s   m a d e   t o   t h i s   h o s t   b y   k u b e a d m   i n i t   o r   k u b e a d m   j o i n k u b e a d m   c e r t s   t o   m a n a g e   K u b e r n e t e s   c e r t i f i c a t e s k u b e a d m   k u b e c o n f i g   t o   m a n a g e   k u b e c o n f i g   f i l e s k u b e a d m   v e r s i o n   t o   p r i n t   t h e   k u b e a d m   v e r s i o n k u b e a d m   a l p h a   t o   p r e v i e w   a   s e t   o f   f e a t u r e s   m a d e   a v a i l a b l e   f o r   g a t h e r i n g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_25688"
  },
  {
    "question": "What is 10.1.1.1 -?",
    "answer": "k u b e a d m :   e a s i l y   b o o t s t r a p   a   s e c u r e   K u b e r n e t e s   c l u s t e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25689"
  },
  {
    "question": "What is Synopsis?",
    "answer": "┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐   │   K U B E A D M   │   │   E a s i l y   b o o t s t r a p   a   s e c u r e   K u b e r n e t e s   c l u s t e r   │   │   │   │   P l e a s e   g i v e   u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25690"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   k u b e a d m   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25691"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C o m m a n d s   r e l a t e d   t o   h a n d l i n g   K u b e r n e t e s   c e r t i f i c a t e s   k u b e a d m   c e r t s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25692"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c e r t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25693"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25694"
  },
  {
    "question": "What is 10.1.1.2.1 -?",
    "answer": "G e n e r a t e   c e r t i f i c a t e   k e y s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25695"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   w i l l   p r i n t   o u t   a   s e c u r e   r a n d o m l y - g e n e r a t e d   c e r t i f i c a t e   k e y   t h a t   c a n   b e   u s e d   w i t h   t h e   \" i n i t \"   c o m m a n d .   Y o u   c a n   a l s o   u s e   \" k u b e a d m   i n i t   - - u p l o a d - c e r t s \"   w i t h o u t   s p e c i f y i n g   a   c e r t i f i c a t e   k e y   a n d   i t   w i l l   g e n e r a t e   a n d   p r i n t   o n e   f o r   y o u .   k u b e a d m   c e r t s   c e r t i f i c a t e - k e y   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25696"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c e r t i f i c a t e - k e y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25697"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25698"
  },
  {
    "question": "What is 10.1.1.2.2 -?",
    "answer": "C h e c k   c e r t i f i c a t e s   e x p i r a t i o n   f o r   a   K u b e r n e t e s   c l u s t e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25699"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C h e c k s   e x p i r a t i o n   f o r   t h e   c e r t i f i c a t e s   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m .   k u b e a d m   c e r t s   c h e c k - e x p i r a t i o n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25700"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   c h e c k - e x p i r a t i o n   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   O u t p u t   f o r m a t .   O n e   o f :   t e x t | j s o n | y a m l | g o - t e m p l a t e | g o - t e m p l a t e - f i l e | t e m p l a t e | t e m p l a t e f i l e | j s o n p a t h | j s o n p a t h - a s - j s o n | j s o n p a t h - f i l e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25701"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25702"
  },
  {
    "question": "What is 10.1.1.2.3 -?",
    "answer": "G e n e r a t e   k e y s   a n d   c e r t i f i c a t e   s i g n i n g   r e q u e s t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25703"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e s   k e y s   a n d   c e r t i f i c a t e   s i g n i n g   r e q u e s t s   ( C S R s )   f o r   a l l   t h e   c e r t i f i c a t e s   r e q u i r e d   t o   r u n   t h e   c o n t r o l   p l a n e .   T h i s   c o m m a n d   a l s o   g e n e r a t e s   p a r t i a l   k u b e c o n f i g   f i l e s   w i t h   p r i v a t e   k e y   d a t a   i n   t h e   \" u s e r s   >   u s e r   >   c l i e n t - k e y - d a t a \"   f i e l d ,   a n d   f o r   e a c h   k u b e c o n f i g   f i l e   a n   a c c o m p a n y i n g   \" . c s r \"   f i l e   i s   c r e a t e d .   T h i s   c o m m a n d   i s   d e s i g n e d   f o r   u s e   i n   K u b e a d m   E x t e r n a l   C A   M o d e .   I t   g e n e r a t e s   C S R s   w h i c h   y o u   c a n   t h e n   s u b m i t   t o   y o u r   e x t e r n a l   c e r t i f i c a t e   a u t h o r i t y   f o r   s i g n i n g .   T h e   P E M   e n c o d e d   s i g n e d   c e r t i f i c a t e s   s h o u l d   t h e n   b e   s a v e d   a l o n g s i d e   t h e   k e y   f i l e s ,   u s i n g   \" . c r t \"   a s   t h e   f i l e   e x t e n s i o n ,   o r   i n   t h e   c a s e   o f   k u b e c o n f i g   f i l e s ,   t h e   P E M   e n c o d e d   s i g n e d   c e r t i f i c a t e   s h o u l d   b e   b a s e 6 4   e n c o d e d   a n d   a d d e d   t o   t h e   k u b e c o n f i g   f i l e   i n   t h e   \" u s e r s   >   u s e r   >   c l i e n t - c e r t i f i c a t e - d a t a \"   f i e l d .   k u b e a d m   c e r t s   g e n e r a t e - c s r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25704"
  },
  {
    "question": "What is Examples?",
    "answer": "#   T h e   f o l l o w i n g   c o m m a n d   w i l l   g e n e r a t e   k e y s   a n d   C S R s   f o r   a l l   c o n t r o l - p l a n e   c e r t i f i c a t e s   a n d   k u b e c o n f i g   f i l e s :   k u b e a d m   c e r t s   g e n e r a t e - c s r   - - k u b e c o n f i g - d i r   / t m p / e t c - k 8 s   - - c e r t - d i r   / t m p / e t c - k 8 s / p k i",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25705"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   g e n e r a t e - c s r   T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25706"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25707"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   c e r t i f i c a t e s   f o r   a   K u b e r n e t e s   c l u s t e r   k u b e a d m   c e r t s   r e n e w   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25708"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   r e n e w",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25709"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25710"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   e m b e d d e d   i n   t h e   k u b e c o n f i g   f i l e   f o r   t h e   a d m i n   t o   u s e   a n d   f o r   k u b e a d m   i t s e l f .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   a d m i n . c o n f   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25711"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   a d m i n . c o n f   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25712"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25713"
  },
  {
    "question": "What is 10.1.1.2.6 -?",
    "answer": "R e n e w   a l l   a v a i l a b l e   c e r t i f i c a t e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25714"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   a l l   k n o w n   c e r t i f i c a t e s   n e c e s s a r y   t o   r u n   t h e   c o n t r o l   p l a n e .   R e n e w a l s   a r e   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   e x p i r a t i o n   d a t e .   R e n e w a l s   c a n   a l s o   b e   r u n   i n d i v i d u a l l y   f o r   m o r e   c o n t r o l .   k u b e a d m   c e r t s   r e n e w   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25715"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   a l l   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25716"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25717"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   t h e   a p i s e r v e r   u s e s   t o   a c c e s s   e t c d .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   a p i s e r v e r - e t c d - c l i e n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25718"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   a p i s e r v e r - e t c d - c l i e n t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25719"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25720"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   f o r   t h e   A P I   s e r v e r   t o   c o n n e c t   t o   k u b e l e t .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   a p i s e r v e r - k u b e l e t - c l i e n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25721"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   a p i s e r v e r - k u b e l e t - c l i e n t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25722"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25723"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   f o r   s e r v i n g   t h e   K u b e r n e t e s   A P I .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   a p i s e r v e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25724"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   a p i s e r v e r   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25725"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25726"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   e m b e d d e d   i n   t h e   k u b e c o n f i g   f i l e   f o r   t h e   c o n t r o l l e r   m a n a g e r   t o   u s e .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   c o n t r o l l e r - m a n a g e r . c o n f   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25727"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   c o n t r o l l e r - m a n a g e r . c o n f   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25728"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25729"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   f o r   l i v e n e s s   p r o b e s   t o   h e a l t h c h e c k   e t c d .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   e t c d - h e a l t h c h e c k - c l i e n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25730"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   e t c d - h e a l t h c h e c k - c l i e n t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25731"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25732"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   f o r   e t c d   n o d e s   t o   c o m m u n i c a t e   w i t h   e a c h   o t h e r .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   e t c d - p e e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25733"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   e t c d - p e e r   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25734"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25735"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   f o r   s e r v i n g   e t c d .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   e t c d - s e r v e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25736"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   e t c d - s e r v e r   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25737"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25738"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   f o r   t h e   f r o n t   p r o x y   c l i e n t .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   f r o n t - p r o x y - c l i e n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25739"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   f r o n t - p r o x y - c l i e n t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25740"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25741"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   e m b e d d e d   i n   t h e   k u b e c o n f i g   f i l e   f o r   t h e   s c h e d u l e r   m a n a g e r   t o   u s e .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   s c h e d u l e r . c o n f   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25742"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   s c h e d u l e r . c o n f   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25743"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25744"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   e m b e d d e d   i n   t h e   k u b e c o n f i g   f i l e   f o r   t h e   s u p e r - a d m i n .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   s u p e r - a d m i n . c o n f   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25745"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   s u p e r - a d m i n . c o n f   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25746"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25747"
  },
  {
    "question": "What is Synopsis?",
    "answer": "O u t p u t   s h e l l   c o m p l e t i o n   c o d e   f o r   t h e   s p e c i f i e d   s h e l l   ( b a s h   o r   z s h ) .   T h e   s h e l l   c o d e   m u s t   b e   e v a l u a t e d   t o   p r o v i d e   i n t e r a c t i v e   c o m p l e t i o n   o f   k u b e a d m   c o m m a n d s .   T h i s   c a n   b e   d o n e   b y   s o u r c i n g   i t   f r o m   t h e   . b a s h _ p r o f i l e .   N o t e :   t h i s   r e q u i r e s   t h e   b a s h - c o m p l e t i o n   f r a m e w o r k .   T o   i n s t a l l   i t   o n   M a c   u s e   h o m e b r e w :   $   b r e w   i n s t a l l   b a s h - c o m p l e t i o n   O n c e   i n s t a l l e d ,   b a s h _ c o m p l e t i o n   m u s t   b e   e v a l u a t e d .   T h i s   c a n   b e   d o n e   b y   a d d i n g   t h e   f o l l o w i n g   l i n e   t o   t h e   . b a s h _ p r o f i l e   $   s o u r c e   $ ( b r e w   - - p r e f i x ) / e t c / b a s h _ c o m p l e t i o n   I f   b a s h - c o m p l e t i o n   i s   n o t   i n s t a l l e d   o n   L i n u x ,   p l e a s e   i n s t a l l   t h e   ' b a s h - c o m p l e t i o n '   p a c k a g e   v i a   y o u r   d i s t r i b u t i o n ' s   p a c k a g e   m a n a g e r .   N o t e   f o r   z s h   u s e r s :   [ 1 ]   z s h   c o m p l e t i o n s   a r e   o n l y   s u p p o r t e d   i n   v e r s i o n s   o f   z s h   > =   5 . 2   k u b e a d m   c o m p l e t i o n   S H E L L   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25748"
  },
  {
    "question": "What is Examples?",
    "answer": "#   I n s t a l l   b a s h   c o m p l e t i o n   o n   a   M a c   u s i n g   h o m e b r e w   b r e w   i n s t a l l   b a s h - c o m p l e t i o n   p r i n t f   \" \\ n #   B a s h   c o m p l e t i o n   s u p p o r t \\ n s o u r c e   $ ( b r e w   - - p r e f i x ) / e t c / b a s h _ c o m p l e t i o n \\ n \"   > >   $ H O M E / . b a s h _ p r o f i l e   s o u r c e   $ H O M E / . b a s h _ p r o f i l e   #   L o a d   t h e   k u b e a d m   c o m p l e t i o n   c o d e   f o r   b a s h   i n t o   t h e   c u r r e n t   s h e l l   s o u r c e   < ( k u b e a d m   c o m p l e t i o n   b a s h )   #   W r i t e   b a s h   c o m p l e t i o n   c o d e   t o   a   f i l e   a n d   s o u r c e   i t   f r o m   . b a s h _ p r o f i l e   k u b e a d m   c o m p l e t i o n   b a s h   >   ~ / . k u b e / k u b e a d m _ c o m p l e t i o n . b a s h . i n c   p r i n t f   \" \\ n #   K u b e a d m   s h e l l   c o m p l e t i o n \\ n s o u r c e   ' $ H O M E / . k u b e / k u b e a d m _ c o m p l e t i o n . b a s h . i n c ' \\ n \"   > >   $ H O M E / . b a s h _ p r o f i l e   s o u r c e   $ H O M E / . b a s h _ p r o f i l e   #   L o a d   t h e   k u b e a d m   c o m p l e t i o n   c o d e   f o r   z s h [ 1 ]   i n t o   t h e   c u r r e n t   s h e l l   s o u r c e   < ( k u b e a d m   c o m p l e t i o n   z s h )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25749"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c o m p l e t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25750"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25751"
  },
  {
    "question": "What is 10.1.1.4 -?",
    "answer": "M a n a g e   c o n f i g u r a t i o n   f o r   a   k u b e a d m   c l u s t e r   p e r s i s t e d   i n   a   C o n f i g M a p   i n   t h e   c l u s t e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25752"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h e r e   i s   a   C o n f i g M a p   i n   t h e   k u b e - s y s t e m   n a m e s p a c e   c a l l e d   \" k u b e a d m - c o n f i g \"   t h a t   k u b e a d m   u s e s   t o   s t o r e   i n t e r n a l   c o n f i g u r a t i o n   a b o u t   t h e   c l u s t e r .   k u b e a d m   C L I   v 1 . 8 . 0 +   a u t o m a t i c a l l y   c r e a t e s   t h i s   C o n f i g M a p   w i t h   t h e   c o n f i g   u s e d   w i t h   ' k u b e a d m   i n i t ' ,   b u t   i f   y o u   i n i t i a l i z e d   y o u r   c l u s t e r   u s i n g   k u b e a d m   v 1 . 7 . x   o r   l o w e r ,   y o u   m u s t   u s e   t h e   ' k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g '   c o m m a n d   t o   c r e a t e   t h i s   C o n f i g M a p .   T h i s   i s   r e q u i r e d   s o   t h a t   ' k u b e a d m   u p g r a d e '   c a n   c o n f i g u r e   y o u r   u p g r a d e d   c l u s t e r   c o r r e c t l y .   k u b e a d m   c o n f i g   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25753"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c o n f i g   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25754"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25755"
  },
  {
    "question": "What is Synopsis?",
    "answer": "I n t e r a c t   w i t h   c o n t a i n e r   i m a g e s   u s e d   b y   k u b e a d m   k u b e a d m   c o n f i g   i m a g e s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25756"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   i m a g e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25757"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25758"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r i n t   a   l i s t   o f   i m a g e s   k u b e a d m   w i l l   u s e .   T h e   c o n f i g u r a t i o n   f i l e   i s   u s e d   i n   c a s e   a n y   i m a g e s   o r   i m a g e   r e p o s i t o r i e s   a r e   c u s t o m i z e d   k u b e a d m   c o n f i g   i m a g e s   l i s t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25759"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d e L o c a l C R I S o c k e t = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) P u b l i c K e y s E C D S A = t r u e | f a l s e   ( D E P R E C A T E D   -   d e f a u l t = f a l s e ) R o o t l e s s C o n t r o l P l a n e = t r u e | f a l s e   ( A L P H A   -   d e f a u l t = f a l s e ) W a i t F o r A l l C o n t r o l P l a n e C o m p o n e n t s = t r u e | f a l s e   ( d e f a u l t = t r u e )   h e l p   f o r   l i s t   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   O u t p u t   f o r m a t .   O n e   o f :   t e x t | j s o n | y a m l | g o - t e m p l a t e | g o - t e m p l a t e - f i l e | t e m p l a t e | t e m p l a t e f i l e | j s o n p a t h | j s o n p a t h - a s - j s o n | j s o n p a t h - f i l e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25760"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25761"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P u l l   i m a g e s   u s e d   b y   k u b e a d m   k u b e a d m   c o n f i g   i m a g e s   p u l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25762"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d e L o c a l C R I S o c k e t = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) P u b l i c K e y s E C D S A = t r u e | f a l s e   ( D E P R E C A T E D   -   d e f a u l t = f a l s e ) R o o t l e s s C o n t r o l P l a n e = t r u e | f a l s e   ( A L P H A   -   d e f a u l t = f a l s e ) W a i t F o r A l l C o n t r o l P l a n e C o m p o n e n t s = t r u e | f a l s e   ( d e f a u l t = t r u e )   h e l p   f o r   p u l l   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25763"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25764"
  },
  {
    "question": "What is 10.1.1.4.4 -?",
    "answer": "R e a d   a n   o l d e r   v e r s i o n   o f   t h e   k u b e a d m   c o n f i g u r a t i o n   A P I   t y p e s   f r o m   a   f i l e ,   a n d   o u t p u t   t h e   s i m i l a r   c o n f i g   o b j e c t   f o r   t h e   n e w e r   v e r s i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25765"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   l e t s   y o u   c o n v e r t   c o n f i g u r a t i o n   o b j e c t s   o f   o l d e r   v e r s i o n s   t o   t h e   l a t e s t   s u p p o r t e d   v e r s i o n ,   l o c a l l y   i n   t h e   C L I   t o o l   w i t h o u t   e v e r   t o u c h i n g   a n y t h i n g   i n   t h e   c l u s t e r .   I n   t h i s   v e r s i o n   o f   k u b e a d m ,   t h e   f o l l o w i n g   A P I   v e r s i o n s   a r e   s u p p o r t e d :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   F u r t h e r ,   k u b e a d m   c a n   o n l y   w r i t e   o u t   c o n f i g   o f   v e r s i o n   \" k u b e a d m . k 8 s . i o / v 1 b e t a 4 \" ,   b u t   r e a d   b o t h   t y p e s .   S o   r e g a r d l e s s   o f   w h a t   v e r s i o n   y o u   p a s s   t o   t h e   - - o l d - c o n f i g   p a r a m e t e r   h e r e ,   t h e   A P I   o b j e c t   w i l l   b e   r e a d ,   d e s e r i a l i z e d ,   d e f a u l t e d ,   c o n v e r t e d ,   v a l i d a t e d ,   a n d   r e - s e r i a l i z e d   w h e n   w r i t t e n   t o   s t d o u t   o r   - - n e w - c o n f i g   i f   s p e c i f i e d .   I n   o t h e r   w o r d s ,   t h e   o u t p u t   o f   t h i s   c o m m a n d   i s   w h a t   k u b e a d m   a c t u a l l y   w o u l d   r e a d   i n t e r n a l l y   i f   y o u   s u b m i t t e d   t h i s   f i l e   t o   \" k u b e a d m   i n i t \"   k u b e a d m   c o n f i g   m i g r a t e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25766"
  },
  {
    "question": "What is Options?",
    "answer": "A l l o w   m i g r a t i o n   t o   e x p e r i m e n t a l ,   u n r e l e a s e d   A P I s .   h e l p   f o r   m i g r a t e   P a t h   t o   t h e   r e s u l t i n g   e q u i v a l e n t   k u b e a d m   c o n f i g   f i l e   u s i n g   t h e   n e w   A P I   v e r s i o n .   O p t i o n a l ,   i f   n o t   s p e c i f i e d   o u t p u t   w i l l   b e   s e n t   t o   S T D O U T .   P a t h   t o   t h e   k u b e a d m   c o n f i g   f i l e   t h a t   i s   u s i n g   a n   o l d   A P I   v e r s i o n   a n d   s h o u l d   b e   c o n v e r t e d .   T h i s   f l a g   i s   m a n d a t o r y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25767"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25768"
  },
  {
    "question": "What is 10.1.1.4.5 -?",
    "answer": "P r i n t   c o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25769"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   p r i n t s   c o n f i g u r a t i o n s   f o r   s u b c o m m a n d s   p r o v i d e d .   F o r   d e t a i l s ,   s e e :   h t t p s : / / p k g . g o . d e v / k 8 s . i o / k u b e r n e t e s / c m d / k u b e a d m / a p p / a p i s / k u b e a d m # s e c t i o n - d i r e c t o r i e s   k u b e a d m   c o n f i g   p r i n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25770"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   p r i n t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25771"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25772"
  },
  {
    "question": "What is 10.1.1.4.6 -?",
    "answer": "P r i n t   d e f a u l t   i n i t   c o n f i g u r a t i o n ,   t h a t   c a n   b e   u s e d   f o r   ' k u b e a d m   i n i t '",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25773"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   p r i n t s   o b j e c t s   s u c h   a s   t h e   d e f a u l t   i n i t   c o n f i g u r a t i o n   t h a t   i s   u s e d   f o r   ' k u b e a d m   i n i t ' .   N o t e   t h a t   s e n s i t i v e   v a l u e s   l i k e   t h e   B o o t s t r a p   T o k e n   f i e l d s   a r e   r e p l a c e d   w i t h   p l a c e h o l d e r   v a l u e s   l i k e   \" a b c d e f . 0 1 2 3 4 5 6 7 8 9 a b c d e f \"   i n   o r d e r   t o   p a s s   v a l i d a t i o n   b u t   n o t   p e r f o r m   t h e   r e a l   c o m p u t a t i o n   f o r   c r e a t i n g   a   t o k e n .   k u b e a d m   c o n f i g   p r i n t   i n i t - d e f a u l t s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25774"
  },
  {
    "question": "What is Options?",
    "answer": "A   c o m m a - s e p a r a t e d   l i s t   f o r   c o m p o n e n t   c o n f i g   A P I   o b j e c t s   t o   p r i n t   t h e   d e f a u l t   v a l u e s   f o r .   A v a i l a b l e   v a l u e s :   [ K u b e P r o x y C o n f i g u r a t i o n   K u b e l e t C o n f i g u r a t i o n ] .   I f   t h i s   f l a g   i s   n o t   s e t ,   n o   c o m p o n e n t   c o n f i g s   w i l l   b e   p r i n t e d .   h e l p   f o r   i n i t - d e f a u l t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25775"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25776"
  },
  {
    "question": "What is 10.1.1.4.7 -?",
    "answer": "P r i n t   d e f a u l t   j o i n   c o n f i g u r a t i o n ,   t h a t   c a n   b e   u s e d   f o r   ' k u b e a d m   j o i n '",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25777"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   p r i n t s   o b j e c t s   s u c h   a s   t h e   d e f a u l t   j o i n   c o n f i g u r a t i o n   t h a t   i s   u s e d   f o r   ' k u b e a d m   j o i n ' .   N o t e   t h a t   s e n s i t i v e   v a l u e s   l i k e   t h e   B o o t s t r a p   T o k e n   f i e l d s   a r e   r e p l a c e d   w i t h   p l a c e h o l d e r   v a l u e s   l i k e   \" a b c d e f . 0 1 2 3 4 5 6 7 8 9 a b c d e f \"   i n   o r d e r   t o   p a s s   v a l i d a t i o n   b u t   n o t   p e r f o r m   t h e   r e a l   c o m p u t a t i o n   f o r   c r e a t i n g   a   t o k e n .   k u b e a d m   c o n f i g   p r i n t   j o i n - d e f a u l t s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25778"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   j o i n - d e f a u l t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25779"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25780"
  },
  {
    "question": "What is 10.1.1.4.8 -?",
    "answer": "P r i n t   d e f a u l t   r e s e t   c o n f i g u r a t i o n ,   t h a t   c a n   b e   u s e d   f o r   ' k u b e a d m   r e s e t '",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25781"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   p r i n t s   o b j e c t s   s u c h   a s   t h e   d e f a u l t   r e s e t   c o n f i g u r a t i o n   t h a t   i s   u s e d   f o r   ' k u b e a d m   r e s e t ' .   N o t e   t h a t   s e n s i t i v e   v a l u e s   l i k e   t h e   B o o t s t r a p   T o k e n   f i e l d s   a r e   r e p l a c e d   w i t h   p l a c e h o l d e r   v a l u e s   l i k e   \" a b c d e f . 0 1 2 3 4 5 6 7 8 9 a b c d e f \"   i n   o r d e r   t o   p a s s   v a l i d a t i o n   b u t   n o t   p e r f o r m   t h e   r e a l   c o m p u t a t i o n   f o r   c r e a t i n g   a   t o k e n .   k u b e a d m   c o n f i g   p r i n t   r e s e t - d e f a u l t s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25782"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   r e s e t - d e f a u l t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25783"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25784"
  },
  {
    "question": "What is 10.1.1.4.9 -?",
    "answer": "P r i n t   d e f a u l t   u p g r a d e   c o n f i g u r a t i o n ,   t h a t   c a n   b e   u s e d   f o r   ' k u b e a d m   u p g r a d e '",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25785"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   p r i n t s   o b j e c t s   s u c h   a s   t h e   d e f a u l t   u p g r a d e   c o n f i g u r a t i o n   t h a t   i s   u s e d   f o r   ' k u b e a d m   u p g r a d e ' .   N o t e   t h a t   s e n s i t i v e   v a l u e s   l i k e   t h e   B o o t s t r a p   T o k e n   f i e l d s   a r e   r e p l a c e d   w i t h   p l a c e h o l d e r   v a l u e s   l i k e   \" a b c d e f . 0 1 2 3 4 5 6 7 8 9 a b c d e f \"   i n   o r d e r   t o   p a s s   v a l i d a t i o n   b u t   n o t   p e r f o r m   t h e   r e a l   c o m p u t a t i o n   f o r   c r e a t i n g   a   t o k e n .   k u b e a d m   c o n f i g   p r i n t   u p g r a d e - d e f a u l t s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25786"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   u p g r a d e - d e f a u l t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25787"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25788"
  },
  {
    "question": "What is 10.1.1.4.10 -?",
    "answer": "R e a d   a   f i l e   c o n t a i n i n g   t h e   k u b e a d m   c o n f i g u r a t i o n   A P I   a n d   r e p o r t   a n y   v a l i d a t i o n   p r o b l e m s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25789"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   l e t s   y o u   v a l i d a t e   a   k u b e a d m   c o n f i g u r a t i o n   A P I   f i l e   a n d   r e p o r t   a n y   w a r n i n g s   a n d   e r r o r s .   I f   t h e r e   a r e   n o   e r r o r s   t h e   e x i t   s t a t u s   w i l l   b e   z e r o ,   o t h e r w i s e   i t   w i l l   b e   n o n - z e r o .   A n y   u n m a r s h a l i n g   p r o b l e m s   s u c h   a s   u n k n o w n   A P I   f i e l d s   w i l l   t r i g g e r   e r r o r s .   U n k n o w n   A P I   v e r s i o n s   a n d   f i e l d s   w i t h   i n v a l i d   v a l u e s   w i l l   a l s o   t r i g g e r   e r r o r s .   A n y   o t h e r   e r r o r s   o r   w a r n i n g s   m a y   b e   r e p o r t e d   d e p e n d i n g   o n   c o n t e n t s   o f   t h e   i n p u t   f i l e .   I n   t h i s   v e r s i o n   o f   k u b e a d m ,   t h e   f o l l o w i n g   A P I   v e r s i o n s   a r e   s u p p o r t e d :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k u b e a d m   c o n f i g   v a l i d a t e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25790"
  },
  {
    "question": "What is Options?",
    "answer": "A l l o w   v a l i d a t i o n   o f   e x p e r i m e n t a l ,   u n r e l e a s e d   A P I s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   v a l i d a t e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25791"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25792"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   t h i s   c o m m a n d   i n   o r d e r   t o   s e t   u p   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   T h e   \" i n i t \"   c o m m a n d   e x e c u t e s   t h e   f o l l o w i n g   p h a s e s :   p r e f l i g h t   R u n   p r e - f l i g h t   c h e c k s   c e r t s   C e r t i f i c a t e   g e n e r a t i o n   / c a   G e n e r a t e   t h e   s e l f - s i g n e d   K u b e r n e t e s   C A   t o   p r o v i s i o n   i d e n t i t i e s   f o r   o t h e r   K u b e r n e t e s   c o m p o n e n t s   / a p i s e r v e r   G e n e r a t e   t h e   c e r t i f i c a t e   f o r   s e r v i n g   t h e   K u b e r n e t e s   A P I   / a p i s e r v e r - k u b e l e t - c l i e n t   G e n e r a t e   t h e   c e r t i f i c a t e   f o r   t h e   A P I   s e r v e r   t o   c o n n e c t   t o   k u b e l e t   / f r o n t - p r o x y - c a   G e n e r a t e   t h e   s e l f - s i g n e d   C A   t o   p r o v i s i o n   i d e n t i t i e s   f o r   f r o n t   p r o x y   / f r o n t - p r o x y - c l i e n t   G e n e r a t e   t h e   c e r t i f i c a t e   f o r   t h e   f r o n t   p r o x y   c l i e n t   / e t c d - c a   G e n e r a t e   t h e   s e l f - s i g n e d   C A   t o   p r o v i s i o n   i d e n t i t i e s   f o r   e t c d   / e t c d - s e r v e r   G e n e r a t e   t h e   c e r t i f i c a t e   f o r   s e r v i n g   e t c d   / e t c d - p e e r   G e n e r a t e   t h e   c e r t i f i c a t e   f o r   e t c d   n o d e s   t o   c o m m u n i c a t e   w i t h   e a c h   o t h e r   / e t c d - h e a l t h c h e c k - c l i e n t   G e n e r a t e   t h e   c e r t i f i c a t e   f o r   l i v e n e s s   p r o b e s   t o   h e a l t h c h e c k   e t c d   / a p i s e r v e r - e t c d - c l i e n t   G e n e r a t e   t h e   c e r t i f i c a t e   t h e   a p i s e r v e r   u s e s   t o   a c c e s s   e t c d   / s a   G e n e r a t e   a   p r i v a t e   k e y   f o r   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25793"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   O p t i o n a l   e x t r a   S u b j e c t   A l t e r n a t i v e   N a m e s   ( S A N s )   t o   u s e   f o r   t h e   A P I   S e r v e r   s e r v i n g   c e r t i f i c a t e .   C a n   b e   b o t h   I P   a d d r e s s e s   a n d   D N S   n a m e s .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   K e y   u s e d   t o   e n c r y p t   t h e   c o n t r o l - p l a n e   c e r t i f i c a t e s   i n   t h e   k u b e a d m - c e r t s   S e c r e t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25794"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25795"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U s e   t h i s   c o m m a n d   t o   i n v o k e   s i n g l e   p h a s e   o f   t h e   \" i n i t \"   w o r k f l o w   k u b e a d m   i n i t   p h a s e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25796"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   p h a s e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25797"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25798"
  },
  {
    "question": "What is Synopsis?",
    "answer": "I n s t a l l   r e q u i r e d   a d d o n s   f o r   p a s s i n g   c o n f o r m a n c e   t e s t s   k u b e a d m   i n i t   p h a s e   a d d o n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25799"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   a d d o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25800"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25801"
  },
  {
    "question": "What is Synopsis?",
    "answer": "I n s t a l l   a l l   t h e   a d d o n s   k u b e a d m   i n i t   p h a s e   a d d o n   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25802"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d e L o c a l C R I S o c k e t = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) P u b l i c K e y s E C D S A = t r u e | f a l s e   ( D E P R E C A T E D   -   d e f a u l t = f a l s e ) R o o t l e s s C o n t r o l P l a n e = t r u e | f a l s e   ( A L P H A   -   d e f a u l t = f a l s e ) W a i t F o r A l l C o n t r o l P l a n e C o m p o n e n t s = t r u e | f a l s e   ( d e f a u l t = t r u e )   h e l p   f o r   a l l   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   S p e c i f y   r a n g e   o f   I P   a d d r e s s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25803"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25804"
  },
  {
    "question": "What is 10.1.1.5.4 -?",
    "answer": "I n s t a l l   t h e   C o r e D N S   a d d o n   t o   a   K u b e r n e t e s   c l u s t e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25805"
  },
  {
    "question": "What is Synopsis?",
    "answer": "I n s t a l l   t h e   C o r e D N S   a d d o n   c o m p o n e n t s   v i a   t h e   A P I   s e r v e r .   P l e a s e   n o t e   t h a t   a l t h o u g h   t h e   D N S   s e r v e r   i s   d e p l o y e d ,   i t   w i l l   n o t   b e   s c h e d u l e d   u n t i l   C N I   i s   i n s t a l l e d .   k u b e a d m   i n i t   p h a s e   a d d o n   c o r e d n s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25806"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d e L o c a l C R I S o c k e t = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) P u b l i c K e y s E C D S A = t r u e | f a l s e   ( D E P R E C A T E D   -   d e f a u l t = f a l s e ) R o o t l e s s C o n t r o l P l a n e = t r u e | f a l s e   ( A L P H A   -   d e f a u l t = f a l s e ) W a i t F o r A l l C o n t r o l P l a n e C o m p o n e n t s = t r u e | f a l s e   ( d e f a u l t = t r u e )   h e l p   f o r   c o r e d n s   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   P r i n t   t h e   a d d o n   m a n i f e s t s   t o   S T D O U T   i n s t e a d   o f   i n s t a l l i n g   t h e m   U s e   a l t e r n a t i v e   r a n g e   o f   I P   a d d r e s s   f o r   s e r v i c e   V I P s .   U s e   a l t e r n a t i v e   d o m a i n   f o r   s e r v i c e s ,   e . g .   \" m y o r g . i n t e r n a l \" .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25807"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25808"
  },
  {
    "question": "What is 10.1.1.5.5 -?",
    "answer": "I n s t a l l   t h e   k u b e - p r o x y   a d d o n   t o   a   K u b e r n e t e s   c l u s t e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25809"
  },
  {
    "question": "What is Synopsis?",
    "answer": "I n s t a l l   t h e   k u b e - p r o x y   a d d o n   c o m p o n e n t s   v i a   t h e   A P I   s e r v e r .   k u b e a d m   i n i t   p h a s e   a d d o n   k u b e - p r o x y   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25810"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   k u b e - p r o x y   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   S p e c i f y   r a n g e   o f   I P   a d d r e s s e s   f o r   t h e   p o d   n e t w o r k .   I f   s e t ,   t h e   c o n t r o l   p l a n e   w i l l   a u t o m a t i c a l l y   a l l o c a t e   C I D R s   f o r   e v e r y   n o d e .   P r i n t   t h e   a d d o n   m a n i f e s t s   t o   S T D O U T   i n s t e a d   o f   i n s t a l l i n g   t h e m",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25811"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25812"
  },
  {
    "question": "What is 10.1.1.5.6 -?",
    "answer": "G e n e r a t e s   b o o t s t r a p   t o k e n s   u s e d   t o   j o i n   a   n o d e   t o   a   c l u s t e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25813"
  },
  {
    "question": "What is Synopsis?",
    "answer": "B o o t s t r a p   t o k e n s   a r e   u s e d   f o r   e s t a b l i s h i n g   b i d i r e c t i o n a l   t r u s t   b e t w e e n   a   n o d e   j o i n i n g   t h e   c l u s t e r   a n d   a   c o n t r o l - p l a n e   n o d e .   T h i s   c o m m a n d   m a k e s   a l l   t h e   c o n f i g u r a t i o n s   r e q u i r e d   t o   m a k e   b o o t s t r a p   t o k e n s   w o r k s   a n d   t h e n   c r e a t e s   a n   i n i t i a l   t o k e n .   k u b e a d m   i n i t   p h a s e   b o o t s t r a p - t o k e n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25814"
  },
  {
    "question": "What is Examples?",
    "answer": "#   M a k e   a l l   t h e   b o o t s t r a p   t o k e n   c o n f i g u r a t i o n s   a n d   c r e a t e   a n   i n i t i a l   t o k e n ,   f u n c t i o n a l l y   #   e q u i v a l e n t   t o   w h a t   g e n e r a t e d   b y   k u b e a d m   i n i t .   k u b e a d m   i n i t   p h a s e   b o o t s t r a p - t o k e n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25815"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   b o o t s t r a p - t o k e n   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   S k i p   p r i n t i n g   o f   t h e   d e f a u l t   b o o t s t r a p   t o k e n   g e n e r a t e d   b y   ' k u b e a d m   i n i t ' .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25816"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25817"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C e r t i f i c a t e   g e n e r a t i o n   k u b e a d m   i n i t   p h a s e   c e r t s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25818"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c e r t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25819"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25820"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   a l l   c e r t i f i c a t e s   k u b e a d m   i n i t   p h a s e   c e r t s   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25821"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   O p t i o n a l   e x t r a   S u b j e c t   A l t e r n a t i v e   N a m e s   ( S A N s )   t o   u s e   f o r   t h e   A P I   S e r v e r   s e r v i n g   c e r t i f i c a t e .   C a n   b e   b o t h   I P   a d d r e s s e s   a n d   D N S   n a m e s .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a l l   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   U s e   a l t e r n a t i v e   r a n g e   o f   I P   a d d r e s s   f o r   s e r v i c e   V I P s .   U s e   a l t e r n a t i v e   d o m a i n   f o r   s e r v i c e s ,   e . g .   \" m y o r g . i n t e r n a l \" .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25822"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25823"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   c e r t i f i c a t e   t h e   a p i s e r v e r   u s e s   t o   a c c e s s   e t c d ,   a n d   s a v e   t h e m   i n t o   a p i s e r v e r - e t c d - c l i e n t . c r t   a n d   a p i s e r v e r - e t c d - c l i e n t . k e y   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   a p i s e r v e r - e t c d - c l i e n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25824"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a p i s e r v e r - e t c d - c l i e n t   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25825"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25826"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   c e r t i f i c a t e   f o r   t h e   A P I   s e r v e r   t o   c o n n e c t   t o   k u b e l e t ,   a n d   s a v e   t h e m   i n t o   a p i s e r v e r - k u b e l e t - c l i e n t . c r t   a n d   a p i s e r v e r - k u b e l e t - c l i e n t . k e y   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   a p i s e r v e r - k u b e l e t - c l i e n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25827"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a p i s e r v e r - k u b e l e t - c l i e n t   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25828"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25829"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   c e r t i f i c a t e   f o r   s e r v i n g   t h e   K u b e r n e t e s   A P I ,   a n d   s a v e   t h e m   i n t o   a p i s e r v e r . c r t   a n d   a p i s e r v e r . k e y   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   a p i s e r v e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25830"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   O p t i o n a l   e x t r a   S u b j e c t   A l t e r n a t i v e   N a m e s   ( S A N s )   t o   u s e   f o r   t h e   A P I   S e r v e r   s e r v i n g   c e r t i f i c a t e .   C a n   b e   b o t h   I P   a d d r e s s e s   a n d   D N S   n a m e s .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a p i s e r v e r   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   U s e   a l t e r n a t i v e   r a n g e   o f   I P   a d d r e s s   f o r   s e r v i c e   V I P s .   U s e   a l t e r n a t i v e   d o m a i n   f o r   s e r v i c e s ,   e . g .   \" m y o r g . i n t e r n a l \" .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25831"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25832"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   s e l f - s i g n e d   K u b e r n e t e s   C A   t o   p r o v i s i o n   i d e n t i t i e s   f o r   o t h e r   K u b e r n e t e s   c o m p o n e n t s ,   a n d   s a v e   t h e m   i n t o   c a . c r t   a n d   c a . k e y   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   c a   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25833"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   c a   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25834"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25835"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   s e l f - s i g n e d   C A   t o   p r o v i s i o n   i d e n t i t i e s   f o r   e t c d ,   a n d   s a v e   t h e m   i n t o   e t c d / c a . c r t   a n d   e t c d / c a . k e y   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   e t c d - c a   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25836"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   e t c d - c a   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25837"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25838"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   c e r t i f i c a t e   f o r   l i v e n e s s   p r o b e s   t o   h e a l t h c h e c k   e t c d ,   a n d   s a v e   t h e m   i n t o   e t c d / h e a l t h c h e c k - c l i e n t . c r t   a n d   e t c d / h e a l t h c h e c k - c l i e n t . k e y   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   e t c d - h e a l t h c h e c k - c l i e n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25839"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   e t c d - h e a l t h c h e c k - c l i e n t   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25840"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25841"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   c e r t i f i c a t e   f o r   e t c d   n o d e s   t o   c o m m u n i c a t e   w i t h   e a c h   o t h e r ,   a n d   s a v e   t h e m   i n t o   e t c d / p e e r . c r t   a n d   e t c d / p e e r . k e y   f i l e s .   D e f a u l t   S A N s   a r e   l o c a l h o s t ,   1 2 7 . 0 . 0 . 1 ,   1 2 7 . 0 . 0 . 1 ,   : : 1   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   e t c d - p e e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25842"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   e t c d - p e e r   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25843"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25844"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   c e r t i f i c a t e   f o r   s e r v i n g   e t c d ,   a n d   s a v e   t h e m   i n t o   e t c d / s e r v e r . c r t   a n d   e t c d / s e r v e r . k e y   f i l e s .   D e f a u l t   S A N s   a r e   l o c a l h o s t ,   1 2 7 . 0 . 0 . 1 ,   1 2 7 . 0 . 0 . 1 ,   : : 1   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   e t c d - s e r v e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25845"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   e t c d - s e r v e r   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25846"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25847"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   s e l f - s i g n e d   C A   t o   p r o v i s i o n   i d e n t i t i e s   f o r   f r o n t   p r o x y ,   a n d   s a v e   t h e m   i n t o   f r o n t - p r o x y - c a . c r t   a n d   f r o n t - p r o x y - c a . k e y   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   f r o n t - p r o x y - c a   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25848"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   f r o n t - p r o x y - c a   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25849"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25850"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   c e r t i f i c a t e   f o r   t h e   f r o n t   p r o x y   c l i e n t ,   a n d   s a v e   t h e m   i n t o   f r o n t - p r o x y - c l i e n t . c r t   a n d   f r o n t - p r o x y - c l i e n t . k e y   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   f r o n t - p r o x y - c l i e n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25851"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   f r o n t - p r o x y - c l i e n t   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25852"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25853"
  },
  {
    "question": "What is 10.1.1.5.19 -?",
    "answer": "G e n e r a t e   a   p r i v a t e   k e y   f o r   s i g n i n g   s e r v i c e   a c c o u n t   t o k e n s   a l o n g   w i t h   i t s   p u b l i c   k e y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25854"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   p r i v a t e   k e y   f o r   s i g n i n g   s e r v i c e   a c c o u n t   t o k e n s   a l o n g   w i t h   i t s   p u b l i c   k e y ,   a n d   s a v e   t h e m   i n t o   s a . k e y   a n d   s a . p u b   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   s a   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25855"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   s a   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25856"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25857"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   a l l   s t a t i c   P o d   m a n i f e s t   f i l e s   n e c e s s a r y   t o   e s t a b l i s h   t h e   c o n t r o l   p l a n e   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25858"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c o n t r o l - p l a n e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25859"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25860"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   a l l   s t a t i c   P o d   m a n i f e s t   f i l e s   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25861"
  },
  {
    "question": "What is Examples?",
    "answer": "#   G e n e r a t e s   a l l   s t a t i c   P o d   m a n i f e s t   f i l e s   f o r   c o n t r o l   p l a n e   c o m p o n e n t s ,   #   f u n c t i o n a l l y   e q u i v a l e n t   t o   w h a t   i s   g e n e r a t e d   b y   k u b e a d m   i n i t .   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   a l l   #   G e n e r a t e s   a l l   s t a t i c   P o d   m a n i f e s t   f i l e s   u s i n g   o p t i o n s   r e a d   f r o m   a   c o n f i g u r a t i o n   f i l e .   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   a l l   - - c o n f i g   c o n f i g . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25862"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d e L o c a l C R I S o c k e t = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) P u b l i c K e y s E C D S A = t r u e | f a l s e   ( D E P R E C A T E D   -   d e f a u l t = f a l s e ) R o o t l e s s C o n t r o l P l a n e = t r u e | f a l s e   ( A L P H A   -   d e f a u l t = f a l s e ) W a i t F o r A l l C o n t r o l P l a n e C o m p o n e n t s = t r u e | f a l s e   ( d e f a u l t = t r u e )   h e l p   f o r   a l l   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25863"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25864"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e s   t h e   k u b e - a p i s e r v e r   s t a t i c   P o d   m a n i f e s t   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   a p i s e r v e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25865"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d e L o c a l C R I S o c k e t = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) P u b l i c K e y s E C D S A = t r u e | f a l s e   ( D E P R E C A T E D   -   d e f a u l t = f a l s e ) R o o t l e s s C o n t r o l P l a n e = t r u e | f a l s e   ( A L P H A   -   d e f a u l t = f a l s e ) W a i t F o r A l l C o n t r o l P l a n e C o m p o n e n t s = t r u e | f a l s e   ( d e f a u l t = t r u e )   h e l p   f o r   a p i s e r v e r   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \" ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25866"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25867"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e s   t h e   k u b e - c o n t r o l l e r - m a n a g e r   s t a t i c   P o d   m a n i f e s t   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   c o n t r o l l e r - m a n a g e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25868"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   c o n t r o l l e r - m a n a g e r   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .   S p e c i f y   r a n g e   o f   I P   a d d r e s s e s   f o r   t h e   p o d   n e t w o r k .   I f   s e t ,   t h e   c o n t r o l   p l a n e   w i l l   a u t o m a t i c a l l y   a l l o c a t e   C I ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25869"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25870"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e s   t h e   k u b e - s c h e d u l e r   s t a t i c   P o d   m a n i f e s t   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   s c h e d u l e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25871"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   s c h e d u l e r   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25872"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25873"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   s t a t i c   P o d   m a n i f e s t   f i l e   f o r   l o c a l   e t c d   k u b e a d m   i n i t   p h a s e   e t c d   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25874"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   e t c d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25875"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25876"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   s t a t i c   P o d   m a n i f e s t   f i l e   f o r   a   l o c a l ,   s i n g l e - n o d e   l o c a l   e t c d   i n s t a n c e   k u b e a d m   i n i t   p h a s e   e t c d   l o c a l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25877"
  },
  {
    "question": "What is Examples?",
    "answer": "#   G e n e r a t e s   t h e   s t a t i c   P o d   m a n i f e s t   f i l e   f o r   e t c d ,   f u n c t i o n a l l y   #   e q u i v a l e n t   t o   w h a t   i s   g e n e r a t e d   b y   k u b e a d m   i n i t .   k u b e a d m   i n i t   p h a s e   e t c d   l o c a l   #   G e n e r a t e s   t h e   s t a t i c   P o d   m a n i f e s t   f i l e   f o r   e t c d   u s i n g   o p t i o n s   #   r e a d   f r o m   a   c o n f i g u r a t i o n   f i l e .   k u b e a d m   i n i t   p h a s e   e t c d   l o c a l   - - c o n f i g   c o n f i g . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25878"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   l o c a l   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25879"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25880"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   a l l   k u b e c o n f i g   f i l e s   n e c e s s a r y   t o   e s t a b l i s h   t h e   c o n t r o l   p l a n e   a n d   t h e   a d m i n   k u b e c o n f i g   f i l e   k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25881"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   k u b e c o n f i g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25882"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25883"
  },
  {
    "question": "What is 10.1.1.5.28 -?",
    "answer": "G e n e r a t e   a   k u b e c o n f i g   f i l e   f o r   t h e   a d m i n   t o   u s e   a n d   f o r   k u b e a d m   i t s e l f",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25884"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   k u b e c o n f i g   f i l e   f o r   t h e   a d m i n   a n d   f o r   k u b e a d m   i t s e l f ,   a n d   s a v e   i t   t o   a d m i n . c o n f   f i l e .   k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   a d m i n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25885"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a d m i n   T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25886"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25887"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   a l l   k u b e c o n f i g   f i l e s   k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25888"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a l l   T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   S p e c i f y   t h e   n o d e   n a m e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25889"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25890"
  },
  {
    "question": "What is 10.1.1.5.30 -?",
    "answer": "G e n e r a t e   a   k u b e c o n f i g   f i l e   f o r   t h e   c o n t r o l l e r   m a n a g e r   t o   u s e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25891"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   k u b e c o n f i g   f i l e   f o r   t h e   c o n t r o l l e r   m a n a g e r   t o   u s e   a n d   s a v e   i t   t o   c o n t r o l l e r - m a n a g e r . c o n f   f i l e   k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   c o n t r o l l e r - m a n a g e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25892"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   c o n t r o l l e r - m a n a g e r   T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25893"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25894"
  },
  {
    "question": "What is 10.1.1.5.31 -?",
    "answer": "G e n e r a t e   a   k u b e c o n f i g   f i l e   f o r   t h e   k u b e l e t   t o   u s e   o n l y   f o r   c l u s t e r   b o o t s t r a p p i n g   p u r p o s e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25895"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   k u b e c o n f i g   f i l e   f o r   t h e   k u b e l e t   t o   u s e   a n d   s a v e   i t   t o   k u b e l e t . c o n f   f i l e .   P l e a s e   n o t e   t h a t   t h i s   s h o u l d   o n l y   b e   u s e d   f o r   c l u s t e r   b o o t s t r a p p i n g   p u r p o s e s .   A f t e r   y o u r   c o n t r o l   p l a n e   i s   u p ,   y o u   s h o u l d   r e q u e s t   a l l   k u b e l e t   c r e d e n t i a l s   f r o m   t h e   C S R   A P I .   k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   k u b e l e t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25896"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   k u b e l e t   T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   S p e c i f y   t h e   n o d e   n a m e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25897"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25898"
  },
  {
    "question": "What is 10.1.1.5.32 -?",
    "answer": "G e n e r a t e   a   k u b e c o n f i g   f i l e   f o r   t h e   s c h e d u l e r   t o   u s e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25899"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   k u b e c o n f i g   f i l e   f o r   t h e   s c h e d u l e r   t o   u s e   a n d   s a v e   i t   t o   s c h e d u l e r . c o n f   f i l e .   k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   s c h e d u l e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25900"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   s c h e d u l e r   T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25901"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25902"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   a   k u b e c o n f i g   f i l e   f o r   t h e   s u p e r - a d m i n ,   a n d   s a v e   i t   t o   s u p e r - a d m i n . c o n f   f i l e .   k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   s u p e r - a d m i n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25903"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   s u p e r - a d m i n   T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25904"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25905"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e s   s e t t i n g s   r e l e v a n t   t o   t h e   k u b e l e t   a f t e r   T L S   b o o t s t r a p   k u b e a d m   i n i t   p h a s e   k u b e l e t - f i n a l i z e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25906"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U p d a t e s   s e t t i n g s   r e l e v a n t   t o   t h e   k u b e l e t   a f t e r   T L S   b o o t s t r a p \"   k u b e a d m   i n i t   p h a s e   k u b e l e t - f i n a l i z e   a l l   - - c o n f i g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25907"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   k u b e l e t - f i n a l i z e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25908"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25909"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   a l l   k u b e l e t - f i n a l i z e   p h a s e s   k u b e a d m   i n i t   p h a s e   k u b e l e t - f i n a l i z e   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25910"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U p d a t e s   s e t t i n g s   r e l e v a n t   t o   t h e   k u b e l e t   a f t e r   T L S   b o o t s t r a p \"   k u b e a d m   i n i t   p h a s e   k u b e l e t - f i n a l i z e   a l l   - - c o n f i g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25911"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a l l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25912"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25913"
  },
  {
    "question": "What is Synopsis?",
    "answer": "E n a b l e   k u b e l e t   c l i e n t   c e r t i f i c a t e   r o t a t i o n   k u b e a d m   i n i t   p h a s e   k u b e l e t - f i n a l i z e   e n a b l e - c l i e n t - c e r t - r o t a t i o n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25914"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   e n a b l e - c l i e n t - c e r t - r o t a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25915"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25916"
  },
  {
    "question": "What is 10.1.1.5.37 -?",
    "answer": "W r i t e   k u b e l e t   s e t t i n g s   a n d   ( r e ) s t a r t   t h e   k u b e l e t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25917"
  },
  {
    "question": "What is Synopsis?",
    "answer": "W r i t e   a   f i l e   w i t h   K u b e l e t C o n f i g u r a t i o n   a n d   a n   e n v i r o n m e n t   f i l e   w i t h   n o d e   s p e c i f i c   k u b e l e t   s e t t i n g s ,   a n d   t h e n   ( r e ) s t a r t   k u b e l e t .   k u b e a d m   i n i t   p h a s e   k u b e l e t - s t a r t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25918"
  },
  {
    "question": "What is Examples?",
    "answer": "#   W r i t e s   a   d y n a m i c   e n v i r o n m e n t   f i l e   w i t h   k u b e l e t   f l a g s   f r o m   a   I n i t C o n f i g u r a t i o n   f i l e .   k u b e a d m   i n i t   p h a s e   k u b e l e t - s t a r t   - - c o n f i g   c o n f i g . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25919"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   k u b e l e t - s t a r t   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   S p e c i f y   t h e   n o d e   n a m e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25920"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25921"
  },
  {
    "question": "What is Synopsis?",
    "answer": "M a r k   a   n o d e   a s   a   c o n t r o l - p l a n e   k u b e a d m   i n i t   p h a s e   m a r k - c o n t r o l - p l a n e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25922"
  },
  {
    "question": "What is Examples?",
    "answer": "#   A p p l i e s   c o n t r o l - p l a n e   l a b e l   a n d   t a i n t   t o   t h e   c u r r e n t   n o d e ,   f u n c t i o n a l l y   e q u i v a l e n t   t o   w h a t   e x e c u t e d   b y   k u b e a d m   i n i t .   k u b e a d m   i n i t   p h a s e   m a r k - c o n t r o l - p l a n e   - - c o n f i g   c o n f i g . y a m l   #   A p p l i e s   c o n t r o l - p l a n e   l a b e l   a n d   t a i n t   t o   a   s p e c i f i c   n o d e   k u b e a d m   i n i t   p h a s e   m a r k - c o n t r o l - p l a n e   - - n o d e - n a m e   m y N o d e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25923"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   m a r k - c o n t r o l - p l a n e   S p e c i f y   t h e   n o d e   n a m e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25924"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25925"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   p r e - f l i g h t   c h e c k s   f o r   k u b e a d m   i n i t .   k u b e a d m   i n i t   p h a s e   p r e f l i g h t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25926"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R u n   p r e - f l i g h t   c h e c k s   f o r   k u b e a d m   i n i t   u s i n g   a   c o n f i g   f i l e .   k u b e a d m   i n i t   p h a s e   p r e f l i g h t   - - c o n f i g   k u b e a d m - c o n f i g . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25927"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   p r e f l i g h t   A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25928"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25929"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S h o w   t h e   j o i n   c o m m a n d   f o r   c o n t r o l - p l a n e   a n d   w o r k e r   n o d e   k u b e a d m   i n i t   p h a s e   s h o w - j o i n - c o m m a n d   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25930"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   s h o w - j o i n - c o m m a n d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25931"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25932"
  },
  {
    "question": "What is 10.1.1.5.41 -?",
    "answer": "U p l o a d   c e r t i f i c a t e s   t o   k u b e a d m - c e r t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25933"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p l o a d   c o n t r o l   p l a n e   c e r t i f i c a t e s   t o   t h e   k u b e a d m - c e r t s   S e c r e t   k u b e a d m   i n i t   p h a s e   u p l o a d - c e r t s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25934"
  },
  {
    "question": "What is Options?",
    "answer": "K e y   u s e d   t o   e n c r y p t   t h e   c o n t r o l - p l a n e   c e r t i f i c a t e s   i n   t h e   k u b e a d m - c e r t s   S e c r e t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   u p l o a d - c e r t s   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   D o n ' t   p r i n t   t h e   k e y   u s e d   t o   e n c r y p t   t h e   c o n t r o l - p l a n e   c e r t i f i c a t e s .   U p l o a d   c o n t r o l - p l a n e   c e r t i f i c a t e s   t o   t h e   k u b e a d m - c e r t s   S e c r e t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25935"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25936"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p l o a d   t h e   k u b e a d m   a n d   k u b e l e t   c o n f i g u r a t i o n   t o   a   C o n f i g M a p   k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25937"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   u p l o a d - c o n f i g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25938"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25939"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p l o a d   a l l   c o n f i g u r a t i o n   t o   a   c o n f i g   m a p   k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25940"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a l l   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25941"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25942"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p l o a d   t h e   k u b e a d m   C l u s t e r C o n f i g u r a t i o n   t o   a   C o n f i g M a p   c a l l e d   k u b e a d m - c o n f i g   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   T h i s   e n a b l e s   c o r r e c t   c o n f i g u r a t i o n   o f   s y s t e m   c o m p o n e n t s   a n d   a   s e a m l e s s   u s e r   e x p e r i e n c e   w h e n   u p g r a d i n g .   A l t e r n a t i v e l y ,   y o u   c a n   u s e   k u b e a d m   c o n f i g .   k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   k u b e a d m   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25943"
  },
  {
    "question": "What is Examples?",
    "answer": "#   u p l o a d   t h e   c o n f i g u r a t i o n   o f   y o u r   c l u s t e r   k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   k u b e a d m   - - c o n f i g = m y C o n f i g . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25944"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   k u b e a d m   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25945"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25946"
  },
  {
    "question": "What is 10.1.1.5.45 -?",
    "answer": "U p l o a d   t h e   k u b e l e t   c o m p o n e n t   c o n f i g   t o   a   C o n f i g M a p",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25947"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p l o a d   t h e   k u b e l e t   c o n f i g u r a t i o n   e x t r a c t e d   f r o m   t h e   k u b e a d m   I n i t C o n f i g u r a t i o n   o b j e c t   t o   a   k u b e l e t - c o n f i g   C o n f i g M a p   i n   t h e   c l u s t e r   k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   k u b e l e t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25948"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U p l o a d   t h e   k u b e l e t   c o n f i g u r a t i o n   f r o m   t h e   k u b e a d m   C o n f i g   f i l e   t o   a   C o n f i g M a p   i n   t h e   c l u s t e r .   k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   k u b e l e t   - - c o n f i g   k u b e a d m . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25949"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   k u b e l e t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25950"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25951"
  },
  {
    "question": "What is Synopsis?",
    "answer": "W a i t   f o r   t h e   c o n t r o l   p l a n e   t o   s t a r t   k u b e a d m   i n i t   p h a s e   w a i t - c o n t r o l - p l a n e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25952"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   w a i t - c o n t r o l - p l a n e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25953"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25954"
  },
  {
    "question": "What is 10.1.1.6 -?",
    "answer": "R u n   t h i s   o n   a n y   m a c h i n e   y o u   w i s h   t o   j o i n   a n   e x i s t i n g   c l u s t e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25955"
  },
  {
    "question": "What is Synopsis?",
    "answer": "W h e n   j o i n i n g   a   k u b e a d m   i n i t i a l i z e d   c l u s t e r ,   w e   n e e d   t o   e s t a b l i s h   b i d i r e c t i o n a l   t r u s t .   T h i s   i s   s p l i t   i n t o   d i s c o v e r y   ( h a v i n g   t h e   N o d e   t r u s t   t h e   K u b e r n e t e s   C o n t r o l   P l a n e )   a n d   T L S   b o o t s t r a p   ( h a v i n g   t h e   K u b e r n e t e s   C o n t r o l   P l a n e   t r u s t   t h e   N o d e ) .   T h e r e   a r e   2   m a i n   s c h e m e s   f o r   d i s c o v e r y .   T h e   f i r s t   i s   t o   u s e   a   s h a r e d   t o k e n   a l o n g   w i t h   t h e   I P   a d d r e s s   o f   t h e   A P I   s e r v e r .   T h e   s e c o n d   i s   t o   p r o v i d e   a   f i l e   -   a   s u b s e t   o f   t h e   s t a n d a r d   k u b e c o n f i g   f i l e .   T h e   d i s c o v e r y / k u b e c o n f i g   f i l e   s u p p o r t s   t o k e n ,   c l i e n t - g o   a u t h e n t i c a t i o n   p l u g i n s   ( \" e x e c \" ) ,   \" t o k e n F i l e \" ,   a n d   \" a u t h P r o v i d e r \" .   T h i s   f i l e   c a n   b e   a   l o c a l   f i l e   o r   d o w n l o a d e d   v i a   a n   H T T P S   U R L .   T h e   f o r m s   a r e   k u b e a d m   j o i n   - - d i s c o v e r y - t o k e n   a b c d e f . 1 2 3 4 5 6 7 8 9 0 a b c d e f   1 . 2 . 3 . 4 : 6 4 4 3 ,   k u b e a d m   j o i n   - - d i s c o v e r y - f i l e   p a t h / t o / f i l e . c o n f ,   o r   k u b e a d m   j o i n   - - d i s c o v e r y - f i l e   h t t p s : / / u r l / f i l e . c o n f .   O n l y   o n e   f o r m   c a n   b e   u s e d .   I f   t h e   d i s c o v e r y   i n f o r m a t i o n   i s   l o a d e d   f r o m   a   U R L ,   H T T P S   m u s t   b e   u s e d .   A l s o ,   i n   t h a t   c a s e   t h e   h o s t   i n s t a l l e d   C A   b u n d l e   i s   u s e d   t o   v e r i f y   t h e   c o n n e c t i o n .   I f   y o u   u s e   a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25956"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   p o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   U s e   t h i s   k e y   t o   d e c r y p t   t h e   c e r t i f i c a t e   s e c r e t s   u p l o a d e d   b y   i n i t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) .   F o r   t o k e n - b a s e d   d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25957"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25958"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U s e   t h i s   c o m m a n d   t o   i n v o k e   s i n g l e   p h a s e   o f   t h e   \" j o i n \"   w o r k f l o w   k u b e a d m   j o i n   p h a s e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25959"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   p h a s e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25960"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25961"
  },
  {
    "question": "What is Synopsis?",
    "answer": "J o i n   a   m a c h i n e   a s   a   c o n t r o l   p l a n e   i n s t a n c e   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - j o i n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25962"
  },
  {
    "question": "What is Examples?",
    "answer": "#   J o i n s   a   m a c h i n e   a s   a   c o n t r o l   p l a n e   i n s t a n c e   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - j o i n   a l l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25963"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c o n t r o l - p l a n e - j o i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25964"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25965"
  },
  {
    "question": "What is Synopsis?",
    "answer": "J o i n   a   m a c h i n e   a s   a   c o n t r o l   p l a n e   i n s t a n c e   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - j o i n   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25966"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a l l   S p e c i f y   t h e   n o d e   n a m e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25967"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25968"
  },
  {
    "question": "What is Synopsis?",
    "answer": "A d d   a   n e w   l o c a l   e t c d   m e m b e r   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - j o i n   e t c d   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25969"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   e t c d   S p e c i f y   t h e   n o d e   n a m e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25970"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25971"
  },
  {
    "question": "What is Synopsis?",
    "answer": "M a r k   a   n o d e   a s   a   c o n t r o l - p l a n e   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - j o i n   m a r k - c o n t r o l - p l a n e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25972"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   m a r k - c o n t r o l - p l a n e   S p e c i f y   t h e   n o d e   n a m e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25973"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25974"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r e p a r e   t h e   m a c h i n e   f o r   s e r v i n g   a   c o n t r o l   p l a n e   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25975"
  },
  {
    "question": "What is Examples?",
    "answer": "#   P r e p a r e s   t h e   m a c h i n e   f o r   s e r v i n g   a   c o n t r o l   p l a n e   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   a l l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25976"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c o n t r o l - p l a n e - p r e p a r e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25977"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25978"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r e p a r e   t h e   m a c h i n e   f o r   s e r v i n g   a   c o n t r o l   p l a n e   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   a l l   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25979"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   p o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   U s e   t h i s   k e y   t o   d e c r y p t   t h e   c e r t i f i c a t e   s e c r e t s   u p l o a d e d   b y   i n i t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   a l l o w   j o i n i n g   w i t h o u t   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   p i n n i n g .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a l l   S p e c i f y   t h e   n o d e   n a m e .   P a t h   t o   a   d i r e c t o r y   t h a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25980"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25981"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   c e r t i f i c a t e s   f o r   t h e   n e w   c o n t r o l   p l a n e   c o m p o n e n t s   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   c e r t s   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25982"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   a l l o w   j o i n i n g   w i t h o u t   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   p i n n i n g .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   c e r t s   S p e c i f y   t h e   n o d e   n a m e .   S p e c i f y   t h e   t o k e n   u s e d   t o   t e m p o r a r i l y   a u t h e n t i c a t e   w i t h   t h e   K u b e r n e t e s   C o n t r o l   P l a n e   w h i l e   j o i n i n g   t h e   n o d e .   U s e   t h i s   t o k e n   f o r   b o t h   d i s c o v e r y - t o k e n   a n d   t l s - b o o t s t r a p - t o k e n   w h e n   t h o s e   v a l u e s   a r e   n o t   p r o v i d e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25983"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25984"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   m a n i f e s t s   f o r   t h e   n e w   c o n t r o l   p l a n e   c o m p o n e n t s   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   c o n t r o l - p l a n e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25985"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   p o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   c o n t r o l - p l a n e   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25986"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25987"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D o w n l o a d   c e r t i f i c a t e s   s h a r e d   a m o n g   c o n t r o l - p l a n e   n o d e s   f r o m   t h e   k u b e a d m - c e r t s   S e c r e t   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   d o w n l o a d - c e r t s   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25988"
  },
  {
    "question": "What is Options?",
    "answer": "U s e   t h i s   k e y   t o   d e c r y p t   t h e   c e r t i f i c a t e   s e c r e t s   u p l o a d e d   b y   i n i t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   a l l o w   j o i n i n g   w i t h o u t   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   p i n n i n g .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   d o w n l o a d - c e r t s   S p e c i f y   t h e   t o k e n   u s e d   t o   t e m p o r a r i l y   a u t h e n t i c a t e   w i t h   t h e   K u b e r n e t e s   C o n t r o l   P l a n e   w h i l e   j o i n i n g   t h e   n o d e .   U s e   t h i s   t o k e n   f o r   b o t h   d i s c o v e r y - t o k e n   a n d   t l s - b o o t s t r a p - t o k e n   w h e n   t h o s e   v a l u e s   a r e   n o t   p r o v i d e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25989"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25990"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   k u b e c o n f i g   f o r   t h e   n e w   c o n t r o l   p l a n e   c o m p o n e n t s   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   k u b e c o n f i g   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25991"
  },
  {
    "question": "What is Options?",
    "answer": "U s e   t h i s   k e y   t o   d e c r y p t   t h e   c e r t i f i c a t e   s e c r e t s   u p l o a d e d   b y   i n i t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   a l l o w   j o i n i n g   w i t h o u t   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   p i n n i n g .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   k u b e c o n f i g   S p e c i f y   t h e   t o k e n   u s e d   t o   t e m p o r a r i l y   a u t h e n t i c a t e   w i t h   t h e   K u b e r n e t e s   C o n t r o l   P l a n e   w h i l e   j o i n i n g   t h e   n o d e .   U s e   t h i s   t o k e n   f o r   b o t h   d i s c o v e r y - t o k e n   a n d   t l s - b o o t s t r a p - t o k e n   w h e n   t h o s e   v a l u e s   a r e   n o t   p r o v i d e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25992"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25993"
  },
  {
    "question": "What is 10.1.1.6.12 -?",
    "answer": "W r i t e   k u b e l e t   s e t t i n g s ,   c e r t i f i c a t e s   a n d   ( r e ) s t a r t   t h e   k u b e l e t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25994"
  },
  {
    "question": "What is Synopsis?",
    "answer": "W r i t e   a   f i l e   w i t h   K u b e l e t C o n f i g u r a t i o n   a n d   a n   e n v i r o n m e n t   f i l e   w i t h   n o d e   s p e c i f i c   k u b e l e t   s e t t i n g s ,   a n d   t h e n   ( r e ) s t a r t   k u b e l e t .   k u b e a d m   j o i n   p h a s e   k u b e l e t - s t a r t   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25995"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   a l l o w   j o i n i n g   w i t h o u t   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   p i n n i n g .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   k u b e l e t - s t a r t   S p e c i f y   t h e   n o d e   n a m e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25996"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25997"
  },
  {
    "question": "What is 10.1.1.6.13 -?",
    "answer": "R u n   j o i n   p r e - f l i g h t   c h e c k s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_25998"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   p r e - f l i g h t   c h e c k s   f o r   k u b e a d m   j o i n .   k u b e a d m   j o i n   p h a s e   p r e f l i g h t   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_25999"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R u n   j o i n   p r e - f l i g h t   c h e c k s   u s i n g   a   c o n f i g   f i l e .   k u b e a d m   j o i n   p h a s e   p r e f l i g h t   - - c o n f i g   k u b e a d m - c o n f i g . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26000"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   p o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   U s e   t h i s   k e y   t o   d e c r y p t   t h e   c e r t i f i c a t e   s e c r e t s   u p l o a d e d   b y   i n i t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) .   F o r   t o k e n - b a s e d   d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26001"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26002"
  },
  {
    "question": "What is Synopsis?",
    "answer": "W a i t   f o r   t h e   c o n t r o l   p l a n e   t o   s t a r t   k u b e a d m   j o i n   p h a s e   w a i t - c o n t r o l - p l a n e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26003"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   w a i t - c o n t r o l - p l a n e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26004"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26005"
  },
  {
    "question": "What is Synopsis?",
    "answer": "K u b e c o n f i g   f i l e   u t i l i t i e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26006"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   k u b e c o n f i g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26007"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26008"
  },
  {
    "question": "What is Synopsis?",
    "answer": "O u t p u t   a   k u b e c o n f i g   f i l e   f o r   a n   a d d i t i o n a l   u s e r .   k u b e a d m   k u b e c o n f i g   u s e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26009"
  },
  {
    "question": "What is Examples?",
    "answer": "#   O u t p u t   a   k u b e c o n f i g   f i l e   f o r   a n   a d d i t i o n a l   u s e r   n a m e d   f o o   k u b e a d m   k u b e c o n f i g   u s e r   - - c l i e n t - n a m e = f o o   #   O u t p u t   a   k u b e c o n f i g   f i l e   f o r   a n   a d d i t i o n a l   u s e r   n a m e d   f o o   u s i n g   a   k u b e a d m   c o n f i g   f i l e   b a r   k u b e a d m   k u b e c o n f i g   u s e r   - - c l i e n t - n a m e = f o o   - - c o n f i g = b a r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26010"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   n a m e   o f   u s e r .   I t   w i l l   b e   u s e d   a s   t h e   C N   i f   c l i e n t   c e r t i f i c a t e s   a r e   c r e a t e d   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   u s e r   T h e   o r g a n i z a t i o n s   o f   t h e   c l i e n t   c e r t i f i c a t e .   I t   w i l l   b e   u s e d   a s   t h e   O   i f   c l i e n t   c e r t i f i c a t e s   a r e   c r e a t e d   T h e   t o k e n   t h a t   s h o u l d   b e   u s e d   a s   t h e   a u t h e n t i c a t i o n   m e c h a n i s m   f o r   t h i s   k u b e c o n f i g ,   i n s t e a d   o f   c l i e n t   c e r t i f i c a t e s   T h e   v a l i d i t y   p e r i o d   o f   t h e   c l i e n t   c e r t i f i c a t e .   I t   i s   a n   o f f s e t   f r o m   t h e   c u r r e n t   t i m e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26011"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26012"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P e r f o r m s   a   b e s t   e f f o r t   r e v e r t   o f   c h a n g e s   m a d e   t o   t h i s   h o s t   b y   ' k u b e a d m   i n i t '   o r   ' k u b e a d m   j o i n '   T h e   \" r e s e t \"   c o m m a n d   e x e c u t e s   t h e   f o l l o w i n g   p h a s e s :   p r e f l i g h t   R u n   r e s e t   p r e - f l i g h t   c h e c k s   r e m o v e - e t c d - m e m b e r   R e m o v e   a   l o c a l   e t c d   m e m b e r .   c l e a n u p - n o d e   R u n   c l e a n u p   n o d e .   k u b e a d m   r e s e t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26013"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   t o   t h e   d i r e c t o r y   w h e r e   t h e   c e r t i f i c a t e s   a r e   s t o r e d .   I f   s p e c i f i e d ,   c l e a n   t h i s   d i r e c t o r y .   C l e a n u p   t h e   \" / e t c / k u b e r n e t e s / t m p \"   d i r e c t o r y   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   R e s e t   t h e   n o d e   w i t h o u t   p r o m p t i n g   f o r   c o n f i r m a t i o n .   h e l p   f o r   r e s e t   A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   L i s t   o f   p h a s e s   t o   b e   s k i p p e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26014"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26015"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U s e   t h i s   c o m m a n d   t o   i n v o k e   s i n g l e   p h a s e   o f   t h e   \" r e s e t \"   w o r k f l o w   k u b e a d m   r e s e t   p h a s e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26016"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   p h a s e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26017"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26018"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   c l e a n u p   n o d e .   k u b e a d m   r e s e t   p h a s e   c l e a n u p - n o d e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26019"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   t o   t h e   d i r e c t o r y   w h e r e   t h e   c e r t i f i c a t e s   a r e   s t o r e d .   I f   s p e c i f i e d ,   c l e a n   t h i s   d i r e c t o r y .   C l e a n u p   t h e   \" / e t c / k u b e r n e t e s / t m p \"   d i r e c t o r y   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   c l e a n u p - n o d e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26020"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26021"
  },
  {
    "question": "What is 10.1.1.8.3 -?",
    "answer": "R u n   r e s e t   p r e - f l i g h t   c h e c k s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_26022"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   p r e - f l i g h t   c h e c k s   f o r   k u b e a d m   r e s e t .   k u b e a d m   r e s e t   p h a s e   p r e f l i g h t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26023"
  },
  {
    "question": "What is Options?",
    "answer": "D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   R e s e t   t h e   n o d e   w i t h o u t   p r o m p t i n g   f o r   c o n f i r m a t i o n .   h e l p   f o r   p r e f l i g h t   A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26024"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26025"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e m o v e   a   l o c a l   e t c d   m e m b e r   f o r   a   c o n t r o l   p l a n e   n o d e .   k u b e a d m   r e s e t   p h a s e   r e m o v e - e t c d - m e m b e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26026"
  },
  {
    "question": "What is Options?",
    "answer": "D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   r e m o v e - e t c d - m e m b e r   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26027"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26028"
  },
  {
    "question": "What is 10.1.1.9 -?",
    "answer": "M a n a g e   b o o t s t r a p   t o k e n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_26029"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   m a n a g e s   b o o t s t r a p   t o k e n s .   I t   i s   o p t i o n a l   a n d   n e e d e d   o n l y   f o r   a d v a n c e d   u s e   c a s e s .   I n   s h o r t ,   b o o t s t r a p   t o k e n s   a r e   u s e d   f o r   e s t a b l i s h i n g   b i d i r e c t i o n a l   t r u s t   b e t w e e n   a   c l i e n t   a n d   a   s e r v e r .   A   b o o t s t r a p   t o k e n   c a n   b e   u s e d   w h e n   a   c l i e n t   ( f o r   e x a m p l e   a   n o d e   t h a t   i s   a b o u t   t o   j o i n   t h e   c l u s t e r )   n e e d s   t o   t r u s t   t h e   s e r v e r   i t   i s   t a l k i n g   t o .   T h e n   a   b o o t s t r a p   t o k e n   w i t h   t h e   \" s i g n i n g \"   u s a g e   c a n   b e   u s e d .   b o o t s t r a p   t o k e n s   c a n   a l s o   f u n c t i o n   a s   a   w a y   t o   a l l o w   s h o r t - l i v e d   a u t h e n t i c a t i o n   t o   t h e   A P I   S e r v e r   ( t h e   t o k e n   s e r v e s   a s   a   w a y   f o r   t h e   A P I   S e r v e r   t o   t r u s t   t h e   c l i e n t ) ,   f o r   e x a m p l e   f o r   d o i n g   t h e   T L S   B o o t s t r a p .   W h a t   i s   a   b o o t s t r a p   t o k e n   m o r e   e x a c t l y ?   I t   i s   a   S e c r e t   i n   t h e   k u b e - s y s t e m   n a m e s p a c e   o f   t y p e   \" b o o t s t r a p . k u b e r n e t e s . i o / t o k e n \" . A   b o o t s t r a p   t o k e n   m u s t   b e   o f   t h e   f o r m   \" [ a - z 0 - 9 ] { 6 } . [ a - z 0 - 9 ] { 1 6 } \" .   T h e   f o r m e r   p a r t   i s   t h e   p u b l i c   t o k e n   I D ,   w h i l e   t h e   l a t t e r   i s   t h e   T o k e n   S e c r e t   a n d   i t   m u s t   b e   k e p t   p r i v a t e   a t   a l l   c i r c u m s t a n c e s ! T h e   n a m e   o f   t h e   S e c r e t   m u s t   b e   n a m e d   \" b o o t s t r a p - t o k e n - ( t o k e n - i d ) \" .   Y o u   c a n   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26030"
  },
  {
    "question": "What is Options?",
    "answer": "W h e t h e r   t o   e n a b l e   d r y - r u n   m o d e   o r   n o t   h e l p   f o r   t o k e n   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26031"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26032"
  },
  {
    "question": "What is 10.1.1.9.1 -?",
    "answer": "C r e a t e   b o o t s t r a p   t o k e n s   o n   t h e   s e r v e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_26033"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   w i l l   c r e a t e   a   b o o t s t r a p   t o k e n   f o r   y o u .   Y o u   c a n   s p e c i f y   t h e   u s a g e s   f o r   t h i s   t o k e n ,   t h e   \" t i m e   t o   l i v e \"   a n d   a n   o p t i o n a l   h u m a n   f r i e n d l y   d e s c r i p t i o n .   T h e   [ t o k e n ]   i s   t h e   a c t u a l   t o k e n   t o   w r i t e .   T h i s   s h o u l d   b e   a   s e c u r e l y   g e n e r a t e d   r a n d o m   t o k e n   o f   t h e   f o r m   \" [ a - z 0 - 9 ] { 6 } . [ a - z 0 - 9 ] { 1 6 } \" .   I f   n o   [ t o k e n ]   i s   g i v e n ,   k u b e a d m   w i l l   g e n e r a t e   a   r a n d o m   t o k e n   i n s t e a d .   k u b e a d m   t o k e n   c r e a t e   [ t o k e n ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26034"
  },
  {
    "question": "What is Options?",
    "answer": "W h e n   u s e d   t o g e t h e r   w i t h   ' - - p r i n t - j o i n - c o m m a n d ' ,   p r i n t   t h e   f u l l   ' k u b e a d m   j o i n '   f l a g   n e e d e d   t o   j o i n   t h e   c l u s t e r   a s   a   c o n t r o l - p l a n e .   T o   c r e a t e   a   n e w   c e r t i f i c a t e   k e y   y o u   m u s t   u s e   ' k u b e a d m   i n i t   p h a s e   u p l o a d - c e r t s   - - u p l o a d - c e r t s ' .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   A   h u m a n   f r i e n d l y   d e s c r i p t i o n   o f   h o w   t h i s   t o k e n   i s   u s e d .   E x t r a   g r o u p s   t h a t   t h i s   t o k e n   w i l l   a u t h e n t i c a t e   a s   w h e n   u s e d   f o r   a u t h e n t i c a t i o n .   M u s t   m a t c h   \" \\ A s y s t e m : b o o t s t r a p p e r s : [ a - z 0 - 9 : - ] { 0 , 2 5 5 } [ a - z 0 - 9 ] \\ z \"   h e l p   f o r   c r e a t e   I n s t e a d   o f   p r i n t i n g   o n l y   t h e   t o k e n ,   p r i n t   t h e   f u l l   ' k u b e a d m   j o i n '   f l a g   n e e d e d   t o   j o i n   t h e   c l u s t e r   u s i n g   t h e   t o k e n .   T h e   d u r a t i o n   b e f o r e   t h e   t o k e n   i s   a u t o m a t i c a l l y   d e l e t e d   ( e . g .   1 s ,   2 m ,   3 h ) .   I f   s e t   t o   ' 0 ' ,   t h e   t o k e n   w i l l   n e v e r   e x p i r e   D e s c r i b e s   t h e   w a y s   i n   w h i c h   t h i s   t o k e n   c a n   b e   u s e d .   Y o u   c a n   p a s s   - - u s a g e s   m u l t i p l e   t i m e s   o r   p r o v i d e   a   c o m m a   s e p a r a t e d   l i s t   o f   o p t i o n s .   V a l i d   o p t i o n s :   [ s i g n i n g , a u t h e n t i c a t i o n ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26035"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "W h e t h e r   t o   e n a b l e   d r y - r u n   m o d e   o r   n o t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26036"
  },
  {
    "question": "What is 10.1.1.9.2 -?",
    "answer": "D e l e t e   b o o t s t r a p   t o k e n s   o n   t h e   s e r v e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_26037"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   w i l l   d e l e t e   a   l i s t   o f   b o o t s t r a p   t o k e n s   f o r   y o u .   T h e   [ t o k e n - v a l u e ]   i s   t h e   f u l l   T o k e n   o f   t h e   f o r m   \" [ a - z 0 - 9 ] { 6 } . [ a - z 0 - 9 ] { 1 6 } \"   o r   t h e   T o k e n   I D   o f   t h e   f o r m   \" [ a - z 0 - 9 ] { 6 } \"   t o   d e l e t e .   k u b e a d m   t o k e n   d e l e t e   [ t o k e n - v a l u e ]   . . .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26038"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   d e l e t e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26039"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "W h e t h e r   t o   e n a b l e   d r y - r u n   m o d e   o r   n o t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26040"
  },
  {
    "question": "What is 10.1.1.9.3 -?",
    "answer": "G e n e r a t e   a n d   p r i n t   a   b o o t s t r a p   t o k e n ,   b u t   d o   n o t   c r e a t e   i t   o n   t h e   s e r v e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_26041"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   w i l l   p r i n t   o u t   a   r a n d o m l y - g e n e r a t e d   b o o t s t r a p   t o k e n   t h a t   c a n   b e   u s e d   w i t h   t h e   \" i n i t \"   a n d   \" j o i n \"   c o m m a n d s .   Y o u   d o n ' t   h a v e   t o   u s e   t h i s   c o m m a n d   i n   o r d e r   t o   g e n e r a t e   a   t o k e n .   Y o u   c a n   d o   s o   y o u r s e l f   a s   l o n g   a s   i t   i s   i n   t h e   f o r m a t   \" [ a - z 0 - 9 ] { 6 } . [ a - z 0 - 9 ] { 1 6 } \" .   T h i s   c o m m a n d   i s   p r o v i d e d   f o r   c o n v e n i e n c e   t o   g e n e r a t e   t o k e n s   i n   t h e   g i v e n   f o r m a t .   Y o u   c a n   a l s o   u s e   \" k u b e a d m   i n i t \"   w i t h o u t   s p e c i f y i n g   a   t o k e n   a n d   i t   w i l l   g e n e r a t e   a n d   p r i n t   o n e   f o r   y o u .   k u b e a d m   t o k e n   g e n e r a t e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26042"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   g e n e r a t e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26043"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "W h e t h e r   t o   e n a b l e   d r y - r u n   m o d e   o r   n o t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26044"
  },
  {
    "question": "What is 10.1.1.9.4 -?",
    "answer": "L i s t   b o o t s t r a p   t o k e n s   o n   t h e   s e r v e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_26045"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   w i l l   l i s t   a l l   b o o t s t r a p   t o k e n s   f o r   y o u .   k u b e a d m   t o k e n   l i s t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26046"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   h e l p   f o r   l i s t   O u t p u t   f o r m a t .   O n e   o f :   t e x t | j s o n | y a m l | g o - t e m p l a t e | g o - t e m p l a t e - f i l e | t e m p l a t e | t e m p l a t e f i l e | j s o n p a t h | j s o n p a t h - a s - j s o n | j s o n p a t h - f i l e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26047"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "W h e t h e r   t o   e n a b l e   d r y - r u n   m o d e   o r   n o t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26048"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   y o u r   c l u s t e r   s m o o t h l y   t o   a   n e w e r   v e r s i o n   w i t h   t h i s   c o m m a n d   k u b e a d m   u p g r a d e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26049"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   u p g r a d e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26050"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26051"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   y o u r   K u b e r n e t e s   c l u s t e r   t o   t h e   s p e c i f i e d   v e r s i o n   T h e   \" a p p l y   [ v e r s i o n ] \"   c o m m a n d   e x e c u t e s   t h e   f o l l o w i n g   p h a s e s :   p r e f l i g h t   R u n   p r e f l i g h t   c h e c k s   b e f o r e   u p g r a d e   c o n t r o l - p l a n e   U p g r a d e   t h e   c o n t r o l   p l a n e   u p l o a d - c o n f i g   U p l o a d   t h e   k u b e a d m   a n d   k u b e l e t   c o n f i g u r a t i o n s   t o   C o n f i g M a p s   / k u b e a d m   U p l o a d   t h e   k u b e a d m   C l u s t e r C o n f i g u r a t i o n   t o   a   C o n f i g M a p   / k u b e l e t   U p l o a d   t h e   k u b e l e t   c o n f i g u r a t i o n   t o   a   C o n f i g M a p   k u b e l e t - c o n f i g   U p g r a d e   t h e   k u b e l e t   c o n f i g u r a t i o n   f o r   t h i s   n o d e   b o o t s t r a p - t o k e n   C o n f i g u r e s   b o o t s t r a p   t o k e n   a n d   c l u s t e r - i n f o   R B A C   r u l e s   a d d o n   U p g r a d e   t h e   d e f a u l t   k u b e a d m   a d d o n s   / c o r e d n s   U p g r a d e   t h e   C o r e D N S   a d d o n   / k u b e - p r o x y   U p g r a d e   t h e   k u b e - p r o x y   a d d o n   p o s t - u p g r a d e   R u n   p o s t   u p g r a d e   t a s k s   k u b e a d m   u p g r a d e   a p p l y   [ v e r s i o n ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26052"
  },
  {
    "question": "What is Options?",
    "answer": "S h o w   u n s t a b l e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w   u p g r a d i n g   t o   a n   a l p h a / b e t a / r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s .   S h o w   r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w   u p g r a d i n g   t o   a   r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s .   P e r f o r m   t h e   r e n e w a l   o f   c e r t i f i c a t e s   u s e d   b y   c o m p o n e n t   c h a n g e d   d u r i n g   u p g r a d e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d .   P e r f o r m   t h e   u p g r a d e   o f   e t c d .   F o r c e   u p g r a d i n g   a l t h o u g h   s o m e   r e q u i r e m e n t s   m i g h t   n o t   b e   m e t .   T h i s   a l s o   i m p l i e s   n o n - i n t e r a c t i v e   m o d e .   h e l p   f o r   a p p l y   A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26053"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26054"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U s e   t h i s   c o m m a n d   t o   i n v o k e   s i n g l e   p h a s e   o f   t h e   \" a p p l y \"   w o r k f l o w   k u b e a d m   u p g r a d e   a p p l y   p h a s e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26055"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   p h a s e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26056"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26057"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   t h e   d e f a u l t   k u b e a d m   a d d o n s   k u b e a d m   u p g r a d e   a p p l y   p h a s e   a d d o n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26058"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   a d d o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26059"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26060"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   a l l   t h e   a d d o n s   k u b e a d m   u p g r a d e   a p p l y   p h a s e   a d d o n   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26061"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d .   h e l p   f o r   a l l   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26062"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26063"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   t h e   C o r e D N S   a d d o n   k u b e a d m   u p g r a d e   a p p l y   p h a s e   a d d o n   c o r e d n s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26064"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d .   h e l p   f o r   c o r e d n s   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26065"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26066"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   t h e   k u b e - p r o x y   a d d o n   k u b e a d m   u p g r a d e   a p p l y   p h a s e   a d d o n   k u b e - p r o x y   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26067"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d .   h e l p   f o r   k u b e - p r o x y   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26068"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26069"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C o n f i g u r e s   b o o t s t r a p   t o k e n   a n d   c l u s t e r - i n f o   R B A C   r u l e s   k u b e a d m   u p g r a d e   a p p l y   p h a s e   b o o t s t r a p - t o k e n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26070"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d .   h e l p   f o r   b o o t s t r a p - t o k e n   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26071"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26072"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   t h e   c o n t r o l   p l a n e   k u b e a d m   u p g r a d e   a p p l y   p h a s e   c o n t r o l - p l a n e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26073"
  },
  {
    "question": "What is Options?",
    "answer": "P e r f o r m   t h e   r e n e w a l   o f   c e r t i f i c a t e s   u s e d   b y   c o m p o n e n t   c h a n g e d   d u r i n g   u p g r a d e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d .   P e r f o r m   t h e   u p g r a d e   o f   e t c d .   h e l p   f o r   c o n t r o l - p l a n e   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26074"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26075"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   t h e   k u b e l e t   c o n f i g u r a t i o n   f o r   t h i s   n o d e   b y   d o w n l o a d i n g   i t   f r o m   t h e   k u b e l e t - c o n f i g   C o n f i g M a p   s t o r e d   i n   t h e   c l u s t e r   k u b e a d m   u p g r a d e   a p p l y   p h a s e   k u b e l e t - c o n f i g   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26076"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d .   h e l p   f o r   k u b e l e t - c o n f i g   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26077"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26078"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   p o s t   u p g r a d e   t a s k s   k u b e a d m   u p g r a d e   a p p l y   p h a s e   p o s t - u p g r a d e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26079"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d .   h e l p   f o r   p o s t - u p g r a d e   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26080"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26081"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   p r e f l i g h t   c h e c k s   b e f o r e   u p g r a d e   k u b e a d m   u p g r a d e   a p p l y   p h a s e   p r e f l i g h t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26082"
  },
  {
    "question": "What is Options?",
    "answer": "S h o w   u n s t a b l e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w   u p g r a d i n g   t o   a n   a l p h a / b e t a / r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s .   S h o w   r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w   u p g r a d i n g   t o   a   r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d .   F o r c e   u p g r a d i n g   a l t h o u g h   s o m e   r e q u i r e m e n t s   m i g h t   n o t   b e   m e t .   T h i s   a l s o   i m p l i e s   n o n - i n t e r a c t i v e   m o d e .   h e l p   f o r   p r e f l i g h t   A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   P e r f o r m   t h e   u p g r a d e   a n d   d o   n o t   p r o m p t   f o r   c o n f i r m a t i o n   ( n o n - i n t e r a c t i v e   m o d e ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26083"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26084"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p l o a d   t h e   k u b e a d m   a n d   k u b e l e t   c o n f i g u r a t i o n s   t o   C o n f i g M a p s   k u b e a d m   u p g r a d e   a p p l y   p h a s e   u p l o a d - c o n f i g   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26085"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   u p l o a d - c o n f i g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26086"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26087"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p l o a d   a l l   t h e   c o n f i g u r a t i o n s   t o   C o n f i g M a p s   k u b e a d m   u p g r a d e   a p p l y   p h a s e   u p l o a d - c o n f i g   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26088"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d .   h e l p   f o r   a l l   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26089"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26090"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p l o a d   t h e   k u b e a d m   C l u s t e r C o n f i g u r a t i o n   t o   a   C o n f i g M a p   k u b e a d m   u p g r a d e   a p p l y   p h a s e   u p l o a d - c o n f i g   k u b e a d m   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26091"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d .   h e l p   f o r   k u b e a d m   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26092"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26093"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p l o a d   t h e   k u b e l e t   c o n f i g u r a t i o n   t o   a   C o n f i g M a p   k u b e a d m   u p g r a d e   a p p l y   p h a s e   u p l o a d - c o n f i g   k u b e l e t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26094"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d .   h e l p   f o r   k u b e l e t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26095"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26096"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S h o w   w h a t   d i f f e r e n c e s   w o u l d   b e   a p p l i e d   t o   e x i s t i n g   s t a t i c   p o d   m a n i f e s t s .   S e e   a l s o :   k u b e a d m   u p g r a d e   a p p l y   - - d r y - r u n   k u b e a d m   u p g r a d e   d i f f   [ v e r s i o n ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26097"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   H o w   m a n y   l i n e s   o f   c o n t e x t   i n   t h e   d i f f   h e l p   f o r   d i f f   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26098"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26099"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   c o m m a n d s   f o r   a   n o d e   i n   t h e   c l u s t e r   T h e   \" n o d e \"   c o m m a n d   e x e c u t e s   t h e   f o l l o w i n g   p h a s e s :   p r e f l i g h t   R u n   u p g r a d e   n o d e   p r e - f l i g h t   c h e c k s   c o n t r o l - p l a n e   U p g r a d e   t h e   c o n t r o l   p l a n e   i n s t a n c e   d e p l o y e d   o n   t h i s   n o d e ,   i f   a n y   k u b e l e t - c o n f i g   U p g r a d e   t h e   k u b e l e t   c o n f i g u r a t i o n   f o r   t h i s   n o d e   a d d o n   U p g r a d e   t h e   d e f a u l t   k u b e a d m   a d d o n s   / c o r e d n s   U p g r a d e   t h e   C o r e D N S   a d d o n   / k u b e - p r o x y   U p g r a d e   t h e   k u b e - p r o x y   a d d o n   p o s t - u p g r a d e   R u n   p o s t   u p g r a d e   t a s k s   k u b e a d m   u p g r a d e   n o d e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26100"
  },
  {
    "question": "What is Options?",
    "answer": "P e r f o r m   t h e   r e n e w a l   o f   c e r t i f i c a t e s   u s e d   b y   c o m p o n e n t   c h a n g e d   d u r i n g   u p g r a d e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   t h e   a c t i o n s   t h a t   w o u l d   b e   p e r f o r m e d .   P e r f o r m   t h e   u p g r a d e   o f   e t c d .   h e l p   f o r   n o d e   A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26101"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26102"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U s e   t h i s   c o m m a n d   t o   i n v o k e   s i n g l e   p h a s e   o f   t h e   \" n o d e \"   w o r k f l o w   k u b e a d m   u p g r a d e   n o d e   p h a s e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26103"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   p h a s e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26104"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26105"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   t h e   d e f a u l t   k u b e a d m   a d d o n s   k u b e a d m   u p g r a d e   n o d e   p h a s e   a d d o n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26106"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   a d d o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26107"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26108"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   a l l   t h e   a d d o n s   k u b e a d m   u p g r a d e   n o d e   p h a s e   a d d o n   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26109"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   t h e   a c t i o n s   t h a t   w o u l d   b e   p e r f o r m e d .   h e l p   f o r   a l l   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26110"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26111"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   t h e   C o r e D N S   a d d o n   k u b e a d m   u p g r a d e   n o d e   p h a s e   a d d o n   c o r e d n s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26112"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   t h e   a c t i o n s   t h a t   w o u l d   b e   p e r f o r m e d .   h e l p   f o r   c o r e d n s   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26113"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26114"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   t h e   k u b e - p r o x y   a d d o n   k u b e a d m   u p g r a d e   n o d e   p h a s e   a d d o n   k u b e - p r o x y   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26115"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   t h e   a c t i o n s   t h a t   w o u l d   b e   p e r f o r m e d .   h e l p   f o r   k u b e - p r o x y   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26116"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26117"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   t h e   c o n t r o l   p l a n e   i n s t a n c e   d e p l o y e d   o n   t h i s   n o d e ,   i f   a n y   k u b e a d m   u p g r a d e   n o d e   p h a s e   c o n t r o l - p l a n e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26118"
  },
  {
    "question": "What is Options?",
    "answer": "P e r f o r m   t h e   r e n e w a l   o f   c e r t i f i c a t e s   u s e d   b y   c o m p o n e n t   c h a n g e d   d u r i n g   u p g r a d e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   t h e   a c t i o n s   t h a t   w o u l d   b e   p e r f o r m e d .   P e r f o r m   t h e   u p g r a d e   o f   e t c d .   h e l p   f o r   c o n t r o l - p l a n e   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26119"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26120"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   t h e   k u b e l e t   c o n f i g u r a t i o n   f o r   t h i s   n o d e   b y   d o w n l o a d i n g   i t   f r o m   t h e   k u b e l e t - c o n f i g   C o n f i g M a p   s t o r e d   i n   t h e   c l u s t e r   k u b e a d m   u p g r a d e   n o d e   p h a s e   k u b e l e t - c o n f i g   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26121"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   t h e   a c t i o n s   t h a t   w o u l d   b e   p e r f o r m e d .   h e l p   f o r   k u b e l e t - c o n f i g   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26122"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26123"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   p o s t   u p g r a d e   t a s k s   k u b e a d m   u p g r a d e   n o d e   p h a s e   p o s t - u p g r a d e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26124"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   t h e   a c t i o n s   t h a t   w o u l d   b e   p e r f o r m e d .   h e l p   f o r   p o s t - u p g r a d e   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26125"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26126"
  },
  {
    "question": "What is 10.1.1.10.26 -?",
    "answer": "R u n   u p g r a d e   n o d e   p r e - f l i g h t   c h e c k s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_26127"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   p r e - f l i g h t   c h e c k s   f o r   k u b e a d m   u p g r a d e   n o d e .   k u b e a d m   u p g r a d e   n o d e   p h a s e   p r e f l i g h t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26128"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   p r e f l i g h t   A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26129"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26130"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C h e c k   w h i c h   v e r s i o n s   a r e   a v a i l a b l e   t o   u p g r a d e   t o   a n d   v a l i d a t e   w h e t h e r   y o u r   c u r r e n t   c l u s t e r   i s   u p g r a d e a b l e .   T h i s   c o m m a n d   c a n   o n l y   r u n   o n   t h e   c o n t r o l   p l a n e   n o d e s   w h e r e   t h e   k u b e c o n f i g   f i l e   \" a d m i n . c o n f \"   e x i s t s .   T o   s k i p   t h e   i n t e r n e t   c h e c k ,   p a s s   i n   t h e   o p t i o n a l   [ v e r s i o n ]   p a r a m e t e r .   k u b e a d m   u p g r a d e   p l a n   [ v e r s i o n ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26131"
  },
  {
    "question": "What is Options?",
    "answer": "S h o w   u n s t a b l e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w   u p g r a d i n g   t o   a n   a l p h a / b e t a / r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   S h o w   r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w   u p g r a d i n g   t o   a   r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P e r f o r m   t h e   u p g r a d e   o f   e t c d .   h e l p   f o r   p l a n   A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   O u t p u t   f o r m a t .   O n e   o f :   t e x t | j s o n | y a m l | g o - t e m p l a t e | g o - t e m p l a t e - f i l e | t e m p l a t e | t e m p l a t e f i l e | j s o n p a t h | j s o n p a t h - a s - j s o n | j s o n p a t h - f i l e .   S p e c i f i e s   w h e t h e r   t h e   c o n f i g u r a t i o n   f i l e   t h a t   w i l l   b e   u s e d   i n   t h e   u p g r a d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26132"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26133"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r i n t   t h e   v e r s i o n   o f   k u b e a d m   k u b e a d m   v e r s i o n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26134"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   v e r s i o n   O u t p u t   f o r m a t ;   a v a i l a b l e   o p t i o n s   a r e   ' y a m l ' ,   ' j s o n '   a n d   ' s h o r t '",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26135"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26136"
  },
  {
    "question": "What is 10.1.1.12 -?",
    "answer": "A l l   f i l e s   i n   t h i s   d i r e c t o r y   a r e   a u t o - g e n e r a t e d   f r o m   o t h e r   r e p o s .   D o   n o t   e d i t   t h e m   m a n u a l l y .   Y o u   m u s t   e d i t   t h e m   i n   t h e i r   u p s t r e a m   r e p o .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_26137"
  },
  {
    "question": "What is 10.1.2 - kubeadm init?",
    "answer": "T h i s   c o m m a n d   i n i t i a l i z e s   a   K u b e r n e t e s   c o n t r o l   p l a n e   n o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_26138"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   t h i s   c o m m a n d   i n   o r d e r   t o   s e t   u p   t h e   K u b e r n e t e s   c o n t r o l   p l a n e   T h e   \" i n i t \"   c o m m a n d   e x e c u t e s   t h e   f o l l o w i n g   p h a s e s :   p r e f l i g h t   R u n   p r e - f l i g h t   c h e c k s   c e r t s   C e r t i f i c a t e   g e n e r a t i o n   / c a   G e n e r a t e   t h e   s e l f - s i g n e d   K u b e r n e t e s   C A   t o   p r o v i s i o n   i d e n t i t i e s   f o r   o t h e r   K u b e r n e t e s   c o m p o n e n t s   / a p i s e r v e r   G e n e r a t e   t h e   c e r t i f i c a t e   f o r   s e r v i n g   t h e   K u b e r n e t e s   A P I   / a p i s e r v e r - k u b e l e t - c l i e n t   G e n e r a t e   t h e   c e r t i f i c a t e   f o r   t h e   A P I   s e r v e r   t o   c o n n e c t   t o   k u b e l e t   / f r o n t - p r o x y - c a   G e n e r a t e   t h e   s e l f - s i g n e d   C A   t o   p r o v i s i o n   i d e n t i t i e s   f o r   f r o n t   p r o x y   / f r o n t - p r o x y - c l i e n t   G e n e r a t e   t h e   c e r t i f i c a t e   f o r   t h e   f r o n t   p r o x y   c l i e n t   / e t c d - c a   G e n e r a t e   t h e   s e l f - s i g n e d   C A   t o   p r o v i s i o n   i d e n t i t i e s   f o r   e t c d   / e t c d - s e r v e r   G e n e r a t e   t h e   c e r t i f i c a t e   f o r   s e r v i n g   e t c d   / e t c d - p e e r   G e n e r a t e   t h e   c e r t i f i c a t e   f o r   e t c d   n o d e s   t o   c o m m u n i c a t e   w i t h   e a c h   o t h e r   / e t c d - h e a l t h c h e c k - c l i e n t   G e n e r a t e   t h e   c e r t i f i c a t e   f o r   l i v e n e s s   p r o b e s   t o   h e a l t h c h e c k   e t c d   / a p i s e r v e r - e t c d - c l i e n t   G e n e r a t e   t h e   c e r t i f i c a t e   t h e   a p i s e r v e r   u s e s   t o   a c c e s s   e t c d   / s a   G e n e r a t e   a   p r i v a t e   k e y   f o r   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26139"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   O p t i o n a l   e x t r a   S u b j e c t   A l t e r n a t i v e   N a m e s   ( S A N s )   t o   u s e   f o r   t h e   A P I   S e r v e r   s e r v i n g   c e r t i f i c a t e .   C a n   b e   b o t h   I P   a d d r e s s e s   a n d   D N S   n a m e s .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   K e y   u s e d   t o   e n c r y p t   t h e   c o n t r o l - p l a n e   c e r t i f i c a t e s   i n   t h e   k u b e a d m - c e r t s   S e c r e t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26140"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26141"
  },
  {
    "question": "What is Init workflow?",
    "answer": "k u b e a d m   i n i t   b o o t s t r a p s   a   K u b e r n e t e s   c o n t r o l   p l a n e   n o d e   b y   e x e c u t i n g   t h e   f o l l o w i n g   s t e p s :   R u n s   a   s e r i e s   o f   p r e - f l i g h t   c h e c k s   t o   v a l i d a t e   t h e   s y s t e m   s t a t e   b e f o r e   m a k i n g   c h a n g e s .   S o m e   c h e c k s   o n l y   t r i g g e r   w a r n i n g s ,   o t h e r s   a r e   c o n s i d e r e d   e r r o r s   a n d   w i l l   e x i t   k u b e a d m   u n t i l   t h e   p r o b l e m   i s   c o r r e c t e d   o r   t h e   u s e r   s p e c i f i e s   - - i g n o r e - p r e f l i g h t - e r r o r s = < l i s t - o f - e r r o r s > . G e n e r a t e s   a   s e l f - s i g n e d   C A   t o   s e t   u p   i d e n t i t i e s   f o r   e a c h   c o m p o n e n t   i n   t h e   c l u s t e r .   T h e   u s e r   c a n   p r o v i d e   t h e i r   o w n   C A   c e r t   a n d / o r   k e y   b y   d r o p p i n g   i t   i n   t h e   c e r t   d i r e c t o r y   c o n f i g u r e d   v i a   - - c e r t - d i r   ( / e t c / k u b e r n e t e s / p k i   b y   d e f a u l t ) .   T h e   A P I   s e r v e r   c e r t s   w i l l   h a v e   a d d i t i o n a l   S A N   e n t r i e s   f o r   a n y   - - a p i s e r v e r - c e r t - e x t r a - s a n s   a r g u m e n t s ,   l o w e r c a s e d   i f   n e c e s s a r y . W r i t e s   k u b e c o n f i g   f i l e s   i n   / e t c / k u b e r n e t e s /   f o r   t h e   k u b e l e t ,   t h e   c o n t r o l l e r - m a n a g e r ,   a n d   t h e   s c h e d u l e r   t o   c o n n e c t   t o   t h e   A P I   s e r v e r ,   e a c h   w i t h   i t s   o w n   i d e n t i t y .   A l s o   a d d i t i o n a l   k u b e c o n f i g   f i l e s   a r e   w r i t t e n ,   f o r   k u b e a d m   a s   a d m i n i s t r a t i v e   e n t i t y   ( a d m i n . c o n f )   a n d   f o r   a   s u p e r   a d m i n   u s e r   t h ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26142"
  },
  {
    "question": "What is Using init phases with kubeadm?",
    "answer": "k u b e a d m   a l l o w s   y o u   t o   c r e a t e   a   c o n t r o l   p l a n e   n o d e   i n   p h a s e s   u s i n g   t h e   k u b e a d m   i n i t   p h a s e   c o m m a n d .   T o   v i e w   t h e   o r d e r e d   l i s t   o f   p h a s e s   a n d   s u b - p h a s e s   y o u   c a n   c a l l   k u b e a d m   i n i t   - - h e l p .   T h e   l i s t   w i l l   b e   l o c a t e d   a t   t h e   t o p   o f   t h e   h e l p   s c r e e n   a n d   e a c h   p h a s e   w i l l   h a v e   a   d e s c r i p t i o n   n e x t   t o   i t .   N o t e   t h a t   b y   c a l l i n g   k u b e a d m   i n i t   a l l   o f   t h e   p h a s e s   a n d   s u b - p h a s e s   w i l l   b e   e x e c u t e d   i n   t h i s   e x a c t   o r d e r .   S o m e   p h a s e s   h a v e   u n i q u e   f l a g s ,   s o   i f   y o u   w a n t   t o   h a v e   a   l o o k   a t   t h e   l i s t   o f   a v a i l a b l e   o p t i o n s   a d d   - - h e l p ,   f o r   e x a m p l e :   s u d o   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   c o n t r o l l e r - m a n a g e r   - - h e l p   Y o u   c a n   a l s o   u s e   - - h e l p   t o   s e e   t h e   l i s t   o f   s u b - p h a s e s   f o r   a   c e r t a i n   p a r e n t   p h a s e :   s u d o   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   - - h e l p   k u b e a d m   i n i t   a l s o   e x p o s e s   a   f l a g   c a l l e d   - - s k i p - p h a s e s   t h a t   c a n   b e   u s e d   t o   s k i p   c e r t a i n   p h a s e s .   T h e   f l a g   a c c e p t s   a   l i s t   o f   p h a s e   n a m e s   a n d   t h e   n a m e s   c a n   b e   t a k e n   f r o m   t h e   a b o v e   o r d e r e d   l i s t .   A n   e x a m p l e :   s u d o   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   a l l   - - c o n f i g = c o n f i g f i l e . y a m l   s u d o   k u b e a d m   i n i t   p h a s e   e t c d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26143"
  },
  {
    "question": "What is Caution:?",
    "answer": "I t ' s   p o s s i b l e   t o   c o n f i g u r e   k u b e a d m   i n i t   w i t h   a   c o n f i g u r a t i o n   f i l e   i n s t e a d   o f   c o m m a n d   l i n e   f l a g s ,   a n d   s o m e   m o r e   a d v a n c e d   f e a t u r e s   m a y   o n l y   b e   a v a i l a b l e   a s   c o n f i g u r a t i o n   f i l e   o p t i o n s .   T h i s   f i l e   i s   p a s s e d   u s i n g   t h e   - - c o n f i g   f l a g   a n d   i t   m u s t   c o n t a i n   a   C l u s t e r C o n f i g u r a t i o n   s t r u c t u r e   a n d   o p t i o n a l l y   m o r e   s t r u c t u r e s   s e p a r a t e d   b y   - - - \\ n .   M i x i n g   - - c o n f i g   w i t h   o t h e r s   f l a g s   m a y   n o t   b e   a l l o w e d   i n   s o m e   c a s e s .   T h e   d e f a u l t   c o n f i g u r a t i o n   c a n   b e   p r i n t e d   o u t   u s i n g   t h e   k u b e a d m   c o n f i g   p r i n t   c o m m a n d .   I f   y o u r   c o n f i g u r a t i o n   i s   n o t   u s i n g   t h e   l a t e s t   v e r s i o n   i t   i s   r e c o m m e n d e d   t h a t   y o u   m i g r a t e   u s i n g   t h e   k u b e a d m   c o n f i g   m i g r a t e   c o m m a n d .   F o r   m o r e   i n f o r m a t i o n   o n   t h e   f i e l d s   a n d   u s a g e   o f   t h e   c o n f i g u r a t i o n   y o u   c a n   n a v i g a t e   t o   o u r   A P I   r e f e r e n c e   p a g e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26144"
  },
  {
    "question": "What is Using kubeadm init with feature gates?",
    "answer": "k u b e a d m   s u p p o r t s   a   s e t   o f   f e a t u r e   g a t e s   t h a t   a r e   u n i q u e   t o   k u b e a d m   a n d   c a n   o n l y   b e   a p p l i e d   d u r i n g   c l u s t e r   c r e a t i o n   w i t h   k u b e a d m   i n i t .   T h e s e   f e a t u r e s   c a n   c o n t r o l   t h e   b e h a v i o r   o f   t h e   c l u s t e r .   F e a t u r e   g a t e s   a r e   r e m o v e d   a f t e r   a   f e a t u r e   g r a d u a t e s   t o   G A .   T o   p a s s   a   f e a t u r e   g a t e   y o u   c a n   e i t h e r   u s e   t h e   - - f e a t u r e - g a t e s   f l a g   f o r   k u b e a d m   i n i t ,   o r   y o u   c a n   a d d   i t e m s   i n t o   t h e   f e a t u r e G a t e s   f i e l d   w h e n   y o u   p a s s   a   c o n f i g u r a t i o n   f i l e   u s i n g   - - c o n f i g .   P a s s i n g   f e a t u r e   g a t e s   f o r   c o r e   K u b e r n e t e s   c o m p o n e n t s   d i r e c t l y   t o   k u b e a d m   i s   n o t   s u p p o r t e d .   I n s t e a d ,   i t   i s   p o s s i b l e   t o   p a s s   t h e m   b y   C u s t o m i z i n g   c o m p o n e n t s   w i t h   t h e   k u b e a d m   A P I .   L i s t   o f   f e a t u r e   g a t e s :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26145"
  },
  {
    "question": "What is Note:?",
    "answer": "F e a t u r e   g a t e   d e s c r i p t i o n s :   P O R T   i s   t a k e n   f r o m   - - s e c u r e - p o r t   o f   a   c o m p o n e n t . A D D R E S S   i s   - - a d v e r t i s e - a d d r e s s   f o r   k u b e - a p i s e r v e r   a n d   - - b i n d - a d d r e s s   f o r   t h e   k u b e - c o n t r o l l e r - m a n a g e r   a n d   k u b e - s c h e d u l e r . E N D P O I N T   i s   o n l y   / h e a l t h z   f o r   k u b e - c o n t r o l l e r - m a n a g e r   u n t i l   i t   s u p p o r t s   / l i v e z   a s   w e l l .   I f   y o u   s p e c i f y   c u s t o m   A D D R E S S   o r   P O R T   i n   t h e   k u b e a d m   c o n f i g u r a t i o n   t h e y   w i l l   b e   r e s p e c t e d .   W i t h o u t   t h e   f e a t u r e   g a t e   e n a b l e d ,   k u b e a d m   w i l l   o n l y   w a i t   f o r   t h e   k u b e - a p i s e r v e r   o n   a   c o n t r o l   p l a n e   n o d e   t o   b e c o m e   r e a d y .   T h e   w a i t   p r o c e s s   s t a r t s   r i g h t   a f t e r   t h e   k u b e l e t   o n   t h e   h o s t   i s   s t a r t e d   b y   k u b e a d m .   Y o u   a r e   a d v i s e d   t o   e n a b l e   t h i s   f e a t u r e   g a t e   i n   c a s e   y o u   w i s h   t o   o b s e r v e   a   r e a d y   s t a t e   f r o m   a l l   c o n t r o l   p l a n e   c o m p o n e n t s   d u r i n g   t h e   k u b e a d m   i n i t   o r   k u b e a d m   j o i n   c o m m a n d   e x e c u t i o n .   L i s t   o f   d e p r e c a t e d   f e a t u r e   g a t e s :   F e a t u r e   g a t e   d e s c r i p t i o n s :   L i s t   o f   r e m o v e d   f e a t u r e   g a t e s :   F e a t u r e   g a t e   d e s c r i p t i o n s :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26146"
  },
  {
    "question": "What is Adding kube-proxy parameters?",
    "answer": "F o r   i n f o r m a t i o n   a b o u t   k u b e - p r o x y   p a r a m e t e r s   i n   t h e   k u b e a d m   c o n f i g u r a t i o n   s e e :   k u b e - p r o x y   r e f e r e n c e   F o r   i n f o r m a t i o n   a b o u t   e n a b l i n g   I P V S   m o d e   w i t h   k u b e a d m   s e e :   I P V S",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26147"
  },
  {
    "question": "What is Passing custom flags to control plane components?",
    "answer": "F o r   i n f o r m a t i o n   a b o u t   p a s s i n g   f l a g s   t o   c o n t r o l   p l a n e   c o m p o n e n t s   s e e :   c o n t r o l - p l a n e - f l a g s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26148"
  },
  {
    "question": "What is Running kubeadm without an Internet connection?",
    "answer": "F o r   r u n n i n g   k u b e a d m   w i t h o u t   a n   I n t e r n e t   c o n n e c t i o n   y o u   h a v e   t o   p r e - p u l l   t h e   r e q u i r e d   c o n t r o l   p l a n e   i m a g e s .   Y o u   c a n   l i s t   a n d   p u l l   t h e   i m a g e s   u s i n g   t h e   k u b e a d m   c o n f i g   i m a g e s   s u b - c o m m a n d :   k u b e a d m   c o n f i g   i m a g e s   l i s t   k u b e a d m   c o n f i g   i m a g e s   p u l l   Y o u   c a n   p a s s   - - c o n f i g   t o   t h e   a b o v e   c o m m a n d s   w i t h   a   k u b e a d m   c o n f i g u r a t i o n   f i l e   t o   c o n t r o l   t h e   k u b e r n e t e s V e r s i o n   a n d   i m a g e R e p o s i t o r y   f i e l d s .   A l l   d e f a u l t   r e g i s t r y . k 8 s . i o   i m a g e s   t h a t   k u b e a d m   r e q u i r e s   s u p p o r t   m u l t i p l e   a r c h i t e c t u r e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26149"
  },
  {
    "question": "What is Using custom images?",
    "answer": "B y   d e f a u l t ,   k u b e a d m   p u l l s   i m a g e s   f r o m   r e g i s t r y . k 8 s . i o .   I f   t h e   r e q u e s t e d   K u b e r n e t e s   v e r s i o n   i s   a   C I   l a b e l   ( s u c h   a s   c i / l a t e s t )   g c r . i o / k 8 s - s t a g i n g - c i - i m a g e s   i s   u s e d .   Y o u   c a n   o v e r r i d e   t h i s   b e h a v i o r   b y   u s i n g   k u b e a d m   w i t h   a   c o n f i g u r a t i o n   f i l e .   A l l o w e d   c u s t o m i z a t i o n   a r e :   T o   p r o v i d e   k u b e r n e t e s V e r s i o n   w h i c h   a f f e c t s   t h e   v e r s i o n   o f   t h e   i m a g e s . T o   p r o v i d e   a n   a l t e r n a t i v e   i m a g e R e p o s i t o r y   t o   b e   u s e d   i n s t e a d   o f   r e g i s t r y . k 8 s . i o . T o   p r o v i d e   a   s p e c i f i c   i m a g e R e p o s i t o r y   a n d   i m a g e T a g   f o r   e t c d   o r   C o r e D N S .   I m a g e   p a t h s   b e t w e e n   t h e   d e f a u l t   r e g i s t r y . k 8 s . i o   a n d   a   c u s t o m   r e p o s i t o r y   s p e c i f i e d   u s i n g   i m a g e R e p o s i t o r y   m a y   d i f f e r   f o r   b a c k w a r d s   c o m p a t i b i l i t y   r e a s o n s .   F o r   e x a m p l e ,   o n e   i m a g e   m i g h t   h a v e   a   s u b p a t h   a t   r e g i s t r y . k 8 s . i o / s u b p a t h / i m a g e ,   b u t   b e   d e f a u l t e d   t o   m y . c u s t o m r e p o s i t o r y . i o / i m a g e   w h e n   u s i n g   a   c u s t o m   r e p o s i t o r y .   T o   e n s u r e   y o u   p u s h   t h e   i m a g e s   t o   y o u r   c u s t o m   r e p o s i t o r y   i n   p a t h s   t h a t   k u b e a d m   c a n   c o n s u m e ,   y o u   m u s t :   P u l l   i m a g e s   f r o m   t h e   d e f a u l t s   p a t h s   a t   r e g i s t r y . k 8 s . i o   u s i n g   k u b e a d m   c o n f i g   i m a g e s   { l i s t | p u l l } . P u s h   i m ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26150"
  },
  {
    "question": "What is Custom sandbox (pause) images?",
    "answer": "T o   s e t   a   c u s t o m   i m a g e   f o r   t h e s e   y o u   n e e d   t o   c o n f i g u r e   t h i s   i n   y o u r   c o n t a i n e r   r u n t i m e   t o   u s e   t h e   i m a g e .   C o n s u l t   t h e   d o c u m e n t a t i o n   f o r   y o u r   c o n t a i n e r   r u n t i m e   t o   f i n d   o u t   h o w   t o   c h a n g e   t h i s   s e t t i n g ;   f o r   s e l e c t e d   c o n t a i n e r   r u n t i m e s ,   y o u   c a n   a l s o   f i n d   a d v i c e   w i t h i n   t h e   C o n t a i n e r   R u n t i m e s   t o p i c .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26151"
  },
  {
    "question": "What is Uploading control plane certificates to the cluster?",
    "answer": "B y   a d d i n g   t h e   f l a g   - - u p l o a d - c e r t s   t o   k u b e a d m   i n i t   y o u   c a n   t e m p o r a r y   u p l o a d   t h e   c o n t r o l   p l a n e   c e r t i f i c a t e s   t o   a   S e c r e t   i n   t h e   c l u s t e r .   P l e a s e   n o t e   t h a t   t h i s   S e c r e t   w i l l   e x p i r e   a u t o m a t i c a l l y   a f t e r   2   h o u r s .   T h e   c e r t i f i c a t e s   a r e   e n c r y p t e d   u s i n g   a   3 2 b y t e   k e y   t h a t   c a n   b e   s p e c i f i e d   u s i n g   - - c e r t i f i c a t e - k e y .   T h e   s a m e   k e y   c a n   b e   u s e d   t o   d o w n l o a d   t h e   c e r t i f i c a t e s   w h e n   a d d i t i o n a l   c o n t r o l   p l a n e   n o d e s   a r e   j o i n i n g ,   b y   p a s s i n g   - - c o n t r o l - p l a n e   a n d   - - c e r t i f i c a t e - k e y   t o   k u b e a d m   j o i n .   T h e   f o l l o w i n g   p h a s e   c o m m a n d   c a n   b e   u s e d   t o   r e - u p l o a d   t h e   c e r t i f i c a t e s   a f t e r   e x p i r a t i o n :   k u b e a d m   i n i t   p h a s e   u p l o a d - c e r t s   - - u p l o a d - c e r t s   - - c o n f i g = S O M E _ Y A M L _ F I L E",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26152"
  },
  {
    "question": "What is Note:?",
    "answer": "I f   a   p r e d e f i n e d   c e r t i f i c a t e   k e y   i s   n o t   p a s s e d   t o   k u b e a d m   i n i t   a n d   k u b e a d m   i n i t   p h a s e   u p l o a d - c e r t s   a   n e w   k e y   w i l l   b e   g e n e r a t e d   a u t o m a t i c a l l y .   T h e   f o l l o w i n g   c o m m a n d   c a n   b e   u s e d   t o   g e n e r a t e   a   n e w   k e y   o n   d e m a n d :   k u b e a d m   c e r t s   c e r t i f i c a t e - k e y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26153"
  },
  {
    "question": "What is Certificate management with kubeadm?",
    "answer": "F o r   d e t a i l e d   i n f o r m a t i o n   o n   c e r t i f i c a t e   m a n a g e m e n t   w i t h   k u b e a d m   s e e   C e r t i f i c a t e   M a n a g e m e n t   w i t h   k u b e a d m .   T h e   d o c u m e n t   i n c l u d e s   i n f o r m a t i o n   a b o u t   u s i n g   e x t e r n a l   C A ,   c u s t o m   c e r t i f i c a t e s   a n d   c e r t i f i c a t e   r e n e w a l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26154"
  },
  {
    "question": "What is Managing the kubeadm drop-in file for the kubelet?",
    "answer": "T h e   k u b e a d m   p a c k a g e   s h i p s   w i t h   a   c o n f i g u r a t i o n   f i l e   f o r   r u n n i n g   t h e   k u b e l e t   b y   s y s t e m d .   N o t e   t h a t   t h e   k u b e a d m   C L I   n e v e r   t o u c h e s   t h i s   d r o p - i n   f i l e .   T h i s   d r o p - i n   f i l e   i s   p a r t   o f   t h e   k u b e a d m   D E B / R P M   p a c k a g e .   F o r   f u r t h e r   i n f o r m a t i o n ,   s e e   M a n a g i n g   t h e   k u b e a d m   d r o p - i n   f i l e   f o r   s y s t e m d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26155"
  },
  {
    "question": "What is Use kubeadm with CRI runtimes?",
    "answer": "B y   d e f a u l t ,   k u b e a d m   a t t e m p t s   t o   d e t e c t   y o u r   c o n t a i n e r   r u n t i m e .   F o r   m o r e   d e t a i l s   o n   t h i s   d e t e c t i o n ,   s e e   t h e   k u b e a d m   C R I   i n s t a l l a t i o n   g u i d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26156"
  },
  {
    "question": "What is Setting the node name?",
    "answer": "B y   d e f a u l t ,   k u b e a d m   a s s i g n s   a   n o d e   n a m e   b a s e d   o n   a   m a c h i n e ' s   h o s t   a d d r e s s .   Y o u   c a n   o v e r r i d e   t h i s   s e t t i n g   w i t h   t h e   - - n o d e - n a m e   f l a g .   T h e   f l a g   p a s s e s   t h e   a p p r o p r i a t e   - - h o s t n a m e - o v e r r i d e   v a l u e   t o   t h e   k u b e l e t .   B e   a w a r e   t h a t   o v e r r i d i n g   t h e   h o s t n a m e   c a n   i n t e r f e r e   w i t h   c l o u d   p r o v i d e r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26157"
  },
  {
    "question": "What is Automating kubeadm?",
    "answer": "R a t h e r   t h a n   c o p y i n g   t h e   t o k e n   y o u   o b t a i n e d   f r o m   k u b e a d m   i n i t   t o   e a c h   n o d e ,   a s   i n   t h e   b a s i c   k u b e a d m   t u t o r i a l ,   y o u   c a n   p a r a l l e l i z e   t h e   t o k e n   d i s t r i b u t i o n   f o r   e a s i e r   a u t o m a t i o n .   T o   i m p l e m e n t   t h i s   a u t o m a t i o n ,   y o u   m u s t   k n o w   t h e   I P   a d d r e s s   t h a t   t h e   c o n t r o l   p l a n e   n o d e   w i l l   h a v e   a f t e r   i t   i s   s t a r t e d ,   o r   u s e   a   D N S   n a m e   o r   a n   a d d r e s s   o f   a   l o a d   b a l a n c e r .   G e n e r a t e   a   t o k e n .   T h i s   t o k e n   m u s t   h a v e   t h e   f o r m   < 6   c h a r a c t e r   s t r i n g > . < 1 6   c h a r a c t e r   s t r i n g > .   M o r e   f o r m a l l y ,   i t   m u s t   m a t c h   t h e   r e g e x :   [ a - z 0 - 9 ] { 6 } \\ . [ a - z 0 - 9 ] { 1 6 } . k u b e a d m   c a n   g e n e r a t e   a   t o k e n   f o r   y o u : k u b e a d m   t o k e n   g e n e r a t e   S t a r t   b o t h   t h e   c o n t r o l   p l a n e   n o d e   a n d   t h e   w o r k e r   n o d e s   c o n c u r r e n t l y   w i t h   t h i s   t o k e n .   A s   t h e y   c o m e   u p   t h e y   s h o u l d   f i n d   e a c h   o t h e r   a n d   f o r m   t h e   c l u s t e r .   T h e   s a m e   - - t o k e n   a r g u m e n t   c a n   b e   u s e d   o n   b o t h   k u b e a d m   i n i t   a n d   k u b e a d m   j o i n . S i m i l a r   c a n   b e   d o n e   f o r   - - c e r t i f i c a t e - k e y   w h e n   j o i n i n g   a d d i t i o n a l   c o n t r o l   p l a n e   n o d e s .   T h e   k e y   c a n   b e   g e n e r a t e d   u s i n g : k u b e a d m   c e r t s   c e r t i f i c a t e - k e y   G e n e r a t e   a   t o k e n .   T h i s   t o k e n   m u s t   h a v e   t h e   f o r m   < 6   c h a r a c t e r   s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26158"
  },
  {
    "question": "What is What's next?",
    "answer": "k u b e a d m   i n i t   p h a s e   t o   u n d e r s t a n d   m o r e   a b o u t   k u b e a d m   i n i t   p h a s e s k u b e a d m   j o i n   t o   b o o t s t r a p   a   K u b e r n e t e s   w o r k e r   n o d e   a n d   j o i n   i t   t o   t h e   c l u s t e r k u b e a d m   u p g r a d e   t o   u p g r a d e   a   K u b e r n e t e s   c l u s t e r   t o   a   n e w e r   v e r s i o n k u b e a d m   r e s e t   t o   r e v e r t   a n y   c h a n g e s   m a d e   t o   t h i s   h o s t   b y   k u b e a d m   i n i t   o r   k u b e a d m   j o i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26159"
  },
  {
    "question": "What is 10.1.3 - kubeadm join?",
    "answer": "T h i s   c o m m a n d   i n i t i a l i z e s   a   n e w   K u b e r n e t e s   n o d e   a n d   j o i n s   i t   t o   t h e   e x i s t i n g   c l u s t e r .   R u n   t h i s   o n   a n y   m a c h i n e   y o u   w i s h   t o   j o i n   a n   e x i s t i n g   c l u s t e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_26160"
  },
  {
    "question": "What is Synopsis?",
    "answer": "W h e n   j o i n i n g   a   k u b e a d m   i n i t i a l i z e d   c l u s t e r ,   w e   n e e d   t o   e s t a b l i s h   b i d i r e c t i o n a l   t r u s t .   T h i s   i s   s p l i t   i n t o   d i s c o v e r y   ( h a v i n g   t h e   N o d e   t r u s t   t h e   K u b e r n e t e s   C o n t r o l   P l a n e )   a n d   T L S   b o o t s t r a p   ( h a v i n g   t h e   K u b e r n e t e s   C o n t r o l   P l a n e   t r u s t   t h e   N o d e ) .   T h e r e   a r e   2   m a i n   s c h e m e s   f o r   d i s c o v e r y .   T h e   f i r s t   i s   t o   u s e   a   s h a r e d   t o k e n   a l o n g   w i t h   t h e   I P   a d d r e s s   o f   t h e   A P I   s e r v e r .   T h e   s e c o n d   i s   t o   p r o v i d e   a   f i l e   -   a   s u b s e t   o f   t h e   s t a n d a r d   k u b e c o n f i g   f i l e .   T h e   d i s c o v e r y / k u b e c o n f i g   f i l e   s u p p o r t s   t o k e n ,   c l i e n t - g o   a u t h e n t i c a t i o n   p l u g i n s   ( \" e x e c \" ) ,   \" t o k e n F i l e \" ,   a n d   \" a u t h P r o v i d e r \" .   T h i s   f i l e   c a n   b e   a   l o c a l   f i l e   o r   d o w n l o a d e d   v i a   a n   H T T P S   U R L .   T h e   f o r m s   a r e   k u b e a d m   j o i n   - - d i s c o v e r y - t o k e n   a b c d e f . 1 2 3 4 5 6 7 8 9 0 a b c d e f   1 . 2 . 3 . 4 : 6 4 4 3 ,   k u b e a d m   j o i n   - - d i s c o v e r y - f i l e   p a t h / t o / f i l e . c o n f ,   o r   k u b e a d m   j o i n   - - d i s c o v e r y - f i l e   h t t p s : / / u r l / f i l e . c o n f .   O n l y   o n e   f o r m   c a n   b e   u s e d .   I f   t h e   d i s c o v e r y   i n f o r m a t i o n   i s   l o a d e d   f r o m   a   U R L ,   H T T P S   m u s t   b e   u s e d .   A l s o ,   i n   t h a t   c a s e   t h e   h o s t   i n s t a l l e d   C A   b u n d l e   i s   u s e d   t o   v e r i f y   t h e   c o n n e c t i o n .   I f   y o u   u s e   a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26161"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   p o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   U s e   t h i s   k e y   t o   d e c r y p t   t h e   c e r t i f i c a t e   s e c r e t s   u p l o a d e d   b y   i n i t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) .   F o r   t o k e n - b a s e d   d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26162"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26163"
  },
  {
    "question": "What is The join workflow?",
    "answer": "k u b e a d m   j o i n   b o o t s t r a p s   a   K u b e r n e t e s   w o r k e r   n o d e   o r   a   c o n t r o l - p l a n e   n o d e   a n d   a d d s   i t   t o   t h e   c l u s t e r .   T h i s   a c t i o n   c o n s i s t s   o f   t h e   f o l l o w i n g   s t e p s   f o r   w o r k e r   n o d e s :   k u b e a d m   d o w n l o a d s   n e c e s s a r y   c l u s t e r   i n f o r m a t i o n   f r o m   t h e   A P I   s e r v e r .   B y   d e f a u l t ,   i t   u s e s   t h e   b o o t s t r a p   t o k e n   a n d   t h e   C A   k e y   h a s h   t o   v e r i f y   t h e   a u t h e n t i c i t y   o f   t h a t   d a t a .   T h e   r o o t   C A   c a n   a l s o   b e   d i s c o v e r e d   d i r e c t l y   v i a   a   f i l e   o r   U R L . O n c e   t h e   c l u s t e r   i n f o r m a t i o n   i s   k n o w n ,   k u b e l e t   c a n   s t a r t   t h e   T L S   b o o t s t r a p p i n g   p r o c e s s . T h e   T L S   b o o t s t r a p   u s e s   t h e   s h a r e d   t o k e n   t o   t e m p o r a r i l y   a u t h e n t i c a t e   w i t h   t h e   K u b e r n e t e s   A P I   s e r v e r   t o   s u b m i t   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t   ( C S R ) ;   b y   d e f a u l t   t h e   c o n t r o l   p l a n e   s i g n s   t h i s   C S R   r e q u e s t   a u t o m a t i c a l l y . F i n a l l y ,   k u b e a d m   c o n f i g u r e s   t h e   l o c a l   k u b e l e t   t o   c o n n e c t   t o   t h e   A P I   s e r v e r   w i t h   t h e   d e f i n i t i v e   i d e n t i t y   a s s i g n e d   t o   t h e   n o d e .   k u b e a d m   d o w n l o a d s   n e c e s s a r y   c l u s t e r   i n f o r m a t i o n   f r o m   t h e   A P I   s e r v e r .   B y   d e f a u l t ,   i t   u s e s   t h e   b o o t s t r a p   t o k e n   a n d   t h e   C A   k e y   h a s h   t o   v e r i f y   t h e   a u t h e n t i c i t y   o f   t h a t   d a t a .   T h e   r o o t   C ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26164"
  },
  {
    "question": "What is Using join phases with kubeadm?",
    "answer": "K u b e a d m   a l l o w s   y o u   j o i n   a   n o d e   t o   t h e   c l u s t e r   i n   p h a s e s   u s i n g   k u b e a d m   j o i n   p h a s e .   T o   v i e w   t h e   o r d e r e d   l i s t   o f   p h a s e s   a n d   s u b - p h a s e s   y o u   c a n   c a l l   k u b e a d m   j o i n   - - h e l p .   T h e   l i s t   w i l l   b e   l o c a t e d   a t   t h e   t o p   o f   t h e   h e l p   s c r e e n   a n d   e a c h   p h a s e   w i l l   h a v e   a   d e s c r i p t i o n   n e x t   t o   i t .   N o t e   t h a t   b y   c a l l i n g   k u b e a d m   j o i n   a l l   o f   t h e   p h a s e s   a n d   s u b - p h a s e s   w i l l   b e   e x e c u t e d   i n   t h i s   e x a c t   o r d e r .   S o m e   p h a s e s   h a v e   u n i q u e   f l a g s ,   s o   i f   y o u   w a n t   t o   h a v e   a   l o o k   a t   t h e   l i s t   o f   a v a i l a b l e   o p t i o n s   a d d   - - h e l p ,   f o r   e x a m p l e :   k u b e a d m   j o i n   p h a s e   k u b e l e t - s t a r t   - - h e l p   S i m i l a r   t o   t h e   k u b e a d m   i n i t   p h a s e   c o m m a n d ,   k u b e a d m   j o i n   p h a s e   a l l o w s   y o u   t o   s k i p   a   l i s t   o f   p h a s e s   u s i n g   t h e   - - s k i p - p h a s e s   f l a g .   F o r   e x a m p l e :   s u d o   k u b e a d m   j o i n   - - s k i p - p h a s e s = p r e f l i g h t   - - c o n f i g = c o n f i g . y a m l   A l t e r n a t i v e l y ,   y o u   c a n   u s e   t h e   s k i p P h a s e s   f i e l d   i n   J o i n C o n f i g u r a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26165"
  },
  {
    "question": "What is Discovering what cluster CA to trust?",
    "answer": "T h e   k u b e a d m   d i s c o v e r y   h a s   s e v e r a l   o p t i o n s ,   e a c h   w i t h   s e c u r i t y   t r a d e o f f s .   T h e   r i g h t   m e t h o d   f o r   y o u r   e n v i r o n m e n t   d e p e n d s   o n   h o w   y o u   p r o v i s i o n   n o d e s   a n d   t h e   s e c u r i t y   e x p e c t a t i o n s   y o u   h a v e   a b o u t   y o u r   n e t w o r k   a n d   n o d e   l i f e c y c l e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26166"
  },
  {
    "question": "What is Token-based discovery with CA pinning?",
    "answer": "T h i s   i s   t h e   d e f a u l t   m o d e   i n   k u b e a d m .   I n   t h i s   m o d e ,   k u b e a d m   d o w n l o a d s   t h e   c l u s t e r   c o n f i g u r a t i o n   ( i n c l u d i n g   r o o t   C A )   a n d   v a l i d a t e s   i t   u s i n g   t h e   t o k e n   a s   w e l l   a s   v a l i d a t i n g   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h e   p r o v i d e d   h a s h   a n d   t h a t   t h e   A P I   s e r v e r   c e r t i f i c a t e   i s   v a l i d   u n d e r   t h e   r o o t   C A .   T h e   C A   k e y   h a s h   h a s   t h e   f o r m a t   s h a 2 5 6 : < h e x _ e n c o d e d _ h a s h > .   B y   d e f a u l t ,   t h e   h a s h   v a l u e   i s   p r i n t e d   a t   t h e   e n d   o f   t h e   k u b e a d m   i n i t   c o m m a n d   o r   i n   t h e   o u t p u t   f r o m   t h e   k u b e a d m   t o k e n   c r e a t e   - - p r i n t - j o i n - c o m m a n d   c o m m a n d .   I t   i s   i n   a   s t a n d a r d   f o r m a t   ( s e e   R F C 7 4 6 9 )   a n d   c a n   a l s o   b e   c a l c u l a t e d   b y   3 r d   p a r t y   t o o l s   o r   p r o v i s i o n i n g   s y s t e m s .   F o r   e x a m p l e ,   u s i n g   t h e   O p e n S S L   C L I :   o p e n s s l   x 5 0 9   - p u b k e y   - i n   / e t c / k u b e r n e t e s / p k i / c a . c r t   |   o p e n s s l   r s a   - p u b i n   - o u t f o r m   d e r   2 > / d e v / n u l l   |   o p e n s s l   d g s t   - s h a 2 5 6   - h e x   |   s e d   ' s / ^ . *   / / '   E x a m p l e   k u b e a d m   j o i n   c o m m a n d s :   F o r   w o r k e r   n o d e s :   k u b e a d m   j o i n   - - d i s c o v e r y - t o k e n   a b c d e f . 1 2 3 4 5 6 7 8 9 0 a b c d e f   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   s h a 2 5 6 : 1 2 3 4 . . c d e f   1 . 2 . 3 . 4 : 6 4 4 3   F o r   c o n t r o l - p l a n e   n o d e s :   k u b e a d m   j o i n   - - d i s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26167"
  },
  {
    "question": "What is Token-based discovery without CA pinning?",
    "answer": "T h i s   m o d e   r e l i e s   o n l y   o n   t h e   s y m m e t r i c   t o k e n   t o   s i g n   ( H M A C - S H A 2 5 6 )   t h e   d i s c o v e r y   i n f o r m a t i o n   t h a t   e s t a b l i s h e s   t h e   r o o t   o f   t r u s t   f o r   t h e   c o n t r o l - p l a n e .   T o   u s e   t h e   m o d e   t h e   j o i n i n g   n o d e s   m u s t   s k i p   t h e   h a s h   v a l i d a t i o n   o f   t h e   C A   p u b l i c   k e y ,   u s i n g   - - d i s c o v e r y - t o k e n - u n s a f e - s k i p - c a - v e r i f i c a t i o n .   Y o u   s h o u l d   c o n s i d e r   u s i n g   o n e   o f   t h e   o t h e r   m o d e s   i f   p o s s i b l e .   E x a m p l e   k u b e a d m   j o i n   c o m m a n d :   k u b e a d m   j o i n   - - t o k e n   a b c d e f . 1 2 3 4 5 6 7 8 9 0 a b c d e f   - - d i s c o v e r y - t o k e n - u n s a f e - s k i p - c a - v e r i f i c a t i o n   1 . 2 . 3 . 4 : 6 4 4 3   A d v a n t a g e s :   S t i l l   p r o t e c t s   a g a i n s t   m a n y   n e t w o r k - l e v e l   a t t a c k s . T h e   t o k e n   c a n   b e   g e n e r a t e d   a h e a d   o f   t i m e   a n d   s h a r e d   w i t h   t h e   c o n t r o l - p l a n e   n o d e   a n d   w o r k e r   n o d e s ,   w h i c h   c a n   t h e n   b o o t s t r a p   i n   p a r a l l e l   w i t h o u t   c o o r d i n a t i o n .   T h i s   a l l o w s   i t   t o   b e   u s e d   i n   m a n y   p r o v i s i o n i n g   s c e n a r i o s .   S t i l l   p r o t e c t s   a g a i n s t   m a n y   n e t w o r k - l e v e l   a t t a c k s .   T h e   t o k e n   c a n   b e   g e n e r a t e d   a h e a d   o f   t i m e   a n d   s h a r e d   w i t h   t h e   c o n t r o l - p l a n e   n o d e   a n d   w o r k e r   n o d e s ,   w h i c h   c a n   t h e n   b o o t s t r a p   i n   p a r a l l e l   w i t h o u t   c o o r d i n a t i o n .   T h i s   a l l o w s   i t   t o   b e   u s e d   i n   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26168"
  },
  {
    "question": "What is File or HTTPS-based discovery?",
    "answer": "T h i s   p r o v i d e s   a n   o u t - o f - b a n d   w a y   t o   e s t a b l i s h   a   r o o t   o f   t r u s t   b e t w e e n   t h e   c o n t r o l - p l a n e   n o d e   a n d   b o o t s t r a p p i n g   n o d e s .   C o n s i d e r   u s i n g   t h i s   m o d e   i f   y o u   a r e   b u i l d i n g   a u t o m a t e d   p r o v i s i o n i n g   u s i n g   k u b e a d m .   T h e   f o r m a t   o f   t h e   d i s c o v e r y   f i l e   i s   a   r e g u l a r   K u b e r n e t e s   k u b e c o n f i g   f i l e .   I n   c a s e   t h e   d i s c o v e r y   f i l e   d o e s   n o t   c o n t a i n   c r e d e n t i a l s ,   t h e   T L S   d i s c o v e r y   t o k e n   w i l l   b e   u s e d .   E x a m p l e   k u b e a d m   j o i n   c o m m a n d s :   k u b e a d m   j o i n   - - d i s c o v e r y - f i l e   p a t h / t o / f i l e . c o n f   ( l o c a l   f i l e ) k u b e a d m   j o i n   - - d i s c o v e r y - f i l e   h t t p s : / / u r l / f i l e . c o n f   ( r e m o t e   H T T P S   U R L )   k u b e a d m   j o i n   - - d i s c o v e r y - f i l e   p a t h / t o / f i l e . c o n f   ( l o c a l   f i l e )   k u b e a d m   j o i n   - - d i s c o v e r y - f i l e   h t t p s : / / u r l / f i l e . c o n f   ( r e m o t e   H T T P S   U R L )   A d v a n t a g e s :   A l l o w s   b o o t s t r a p p i n g   n o d e s   t o   s e c u r e l y   d i s c o v e r   a   r o o t   o f   t r u s t   f o r   t h e   c o n t r o l - p l a n e   n o d e   e v e n   i f   t h e   n e t w o r k   o r   o t h e r   w o r k e r   n o d e s   a r e   c o m p r o m i s e d .   D i s a d v a n t a g e s :   R e q u i r e s   t h a t   y o u   h a v e   s o m e   w a y   t o   c a r r y   t h e   d i s c o v e r y   i n f o r m a t i o n   f r o m   t h e   c o n t r o l - p l a n e   n o d e   t o   t h e   b o o t s t r a p p i n g   n o d e s .   I f   t h e   d i s c o v e r y   f i l e   c o n t a i n s   c r e d e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26169"
  },
  {
    "question": "What is Use of custom kubelet credentials with kubeadm join?",
    "answer": "T o   a l l o w   k u b e a d m   j o i n   t o   u s e   p r e d e f i n e d   k u b e l e t   c r e d e n t i a l s   a n d   s k i p   c l i e n t   T L S   b o o t s t r a p   a n d   C S R   a p p r o v a l   f o r   a   n e w   n o d e :   F r o m   a   w o r k i n g   c o n t r o l   p l a n e   n o d e   i n   t h e   c l u s t e r   t h a t   h a s   / e t c / k u b e r n e t e s / p k i / c a . k e y   e x e c u t e   k u b e a d m   k u b e c o n f i g   u s e r   - - o r g   s y s t e m : n o d e s   - - c l i e n t - n a m e   s y s t e m : n o d e : $ N O D E   >   k u b e l e t . c o n f .   $ N O D E   m u s t   b e   s e t   t o   t h e   n a m e   o f   t h e   n e w   n o d e . M o d i f y   t h e   r e s u l t e d   k u b e l e t . c o n f   m a n u a l l y   t o   a d j u s t   t h e   c l u s t e r   n a m e   a n d   t h e   s e r v e r   e n d p o i n t ,   o r   r u n   k u b e a d m   k u b e c o n f i g   u s e r   - - c o n f i g   ( i t   a c c e p t s   I n i t C o n f i g u r a t i o n ) .   I f   y o u r   c l u s t e r   d o e s   n o t   h a v e   t h e   c a . k e y   f i l e ,   y o u   m u s t   s i g n   t h e   e m b e d d e d   c e r t i f i c a t e s   i n   t h e   k u b e l e t . c o n f   e x t e r n a l l y .   F o r   a d d i t i o n a l   i n f o r m a t i o n ,   s e e   P K I   c e r t i f i c a t e s   a n d   r e q u i r e m e n t s   a n d   C e r t i f i c a t e   M a n a g e m e n t   w i t h   k u b e a d m .   C o p y   t h e   r e s u l t i n g   k u b e l e t . c o n f   t o   / e t c / k u b e r n e t e s / k u b e l e t . c o n f   o n   t h e   n e w   n o d e . E x e c u t e   k u b e a d m   j o i n   w i t h   t h e   f l a g   - - i g n o r e - p r e f l i g h t - e r r o r s = F i l e A v a i l a b l e - - e t c - k u b e r n e t e s - k u b e l e t . c o n f   o n   t h e   n e w   n o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26170"
  },
  {
    "question": "What is Securing your installation even more?",
    "answer": "T h e   d e f a u l t s   f o r   k u b e a d m   m a y   n o t   w o r k   f o r   e v e r y o n e .   T h i s   s e c t i o n   d o c u m e n t s   h o w   t o   t i g h t e n   u p   a   k u b e a d m   i n s t a l l a t i o n   a t   t h e   c o s t   o f   s o m e   u s a b i l i t y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26171"
  },
  {
    "question": "What is Turning off auto-approval of node client certificates?",
    "answer": "B y   d e f a u l t ,   t h e r e   i s   a   C S R   a u t o - a p p r o v e r   e n a b l e d   t h a t   b a s i c a l l y   a p p r o v e s   a n y   c l i e n t   c e r t i f i c a t e   r e q u e s t   f o r   a   k u b e l e t   w h e n   a   B o o t s t r a p   T o k e n   w a s   u s e d   w h e n   a u t h e n t i c a t i n g .   I f   y o u   d o n ' t   w a n t   t h e   c l u s t e r   t o   a u t o m a t i c a l l y   a p p r o v e   k u b e l e t   c l i e n t   c e r t s ,   y o u   c a n   t u r n   i t   o f f   b y   e x e c u t i n g   t h i s   c o m m a n d :   k u b e c t l   d e l e t e   c l u s t e r r o l e b i n d i n g   k u b e a d m : n o d e - a u t o a p p r o v e - b o o t s t r a p   A f t e r   t h a t ,   k u b e a d m   j o i n   w i l l   b l o c k   u n t i l   t h e   a d m i n   h a s   m a n u a l l y   a p p r o v e d   t h e   C S R   i n   f l i g h t :   U s i n g   k u b e c t l   g e t   c s r ,   y o u   c a n   s e e   t h a t   t h e   o r i g i n a l   C S R   i s   i n   t h e   P e n d i n g   s t a t e . k u b e c t l   g e t   c s r   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s : N A M E   A G E   R E Q U E S T O R   C O N D I T I O N   n o d e - c s r - c 6 9 H X e 7 a Y c q k S 1 b K m H 4 f a E n H A W x n 6 i 2 b H Z 2 m D 0 4 j Z y Q   1 8 s   s y s t e m : b o o t s t r a p : 8 7 8 f 0 7   P e n d i n g   k u b e c t l   c e r t i f i c a t e   a p p r o v e   a l l o w s   t h e   a d m i n   t o   a p p r o v e   C S R . T h i s   a c t i o n   t e l l s   a   c e r t i f i c a t e   s i g n i n g   c o n t r o l l e r   t o   i s s u e   a   c e r t i f i c a t e   t o   t h e   r e q u e s t o r   w i t h   t h e   a t t r i b u t e s   r e q u e s t e d   i n   t h e   C S R . k u b e c t l   c e r t i f i c a t e   a p p r o v e   n o d e - c s r - c 6 9 H X e 7 a Y c q k S 1 b K m H 4 f a E n H A W x n 6 i 2 b H Z 2 m D 0 4 j Z y Q   T h e   o u t p u t   i s   s i m i l a r   t o   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26172"
  },
  {
    "question": "What is Turning off public access to the cluster-info ConfigMap?",
    "answer": "I n   o r d e r   t o   a c h i e v e   t h e   j o i n i n g   f l o w   u s i n g   t h e   t o k e n   a s   t h e   o n l y   p i e c e   o f   v a l i d a t i o n   i n f o r m a t i o n ,   a   C o n f i g M a p   w i t h   s o m e   d a t a   n e e d e d   f o r   v a l i d a t i o n   o f   t h e   c o n t r o l - p l a n e   n o d e ' s   i d e n t i t y   i s   e x p o s e d   p u b l i c l y   b y   d e f a u l t .   W h i l e   t h e r e   i s   n o   p r i v a t e   d a t a   i n   t h i s   C o n f i g M a p ,   s o m e   u s e r s   m i g h t   w i s h   t o   t u r n   i t   o f f   r e g a r d l e s s .   D o i n g   s o   w i l l   d i s a b l e   t h e   a b i l i t y   t o   u s e   t h e   - - d i s c o v e r y - t o k e n   f l a g   o f   t h e   k u b e a d m   j o i n   f l o w .   H e r e   a r e   t h e   s t e p s   t o   d o   s o :   F e t c h   t h e   c l u s t e r - i n f o   f i l e   f r o m   t h e   A P I   S e r v e r :   k u b e c t l   - n   k u b e - p u b l i c   g e t   c m   c l u s t e r - i n f o   - o   j s o n p a t h = ' { . d a t a . k u b e c o n f i g } '   |   t e e   c l u s t e r - i n f o . y a m l   T h e   o u t p u t   i s   s i m i l a r   t o   t h i s :   a p i V e r s i o n :   v 1   k i n d :   C o n f i g   c l u s t e r s :   -   c l u s t e r :   c e r t i f i c a t e - a u t h o r i t y - d a t a :   < c a - c e r t >   s e r v e r :   h t t p s : / / < i p > : < p o r t >   n a m e :   \" \"   c o n t e x t s :   [ ]   c u r r e n t - c o n t e x t :   \" \"   p r e f e r e n c e s :   { }   u s e r s :   [ ]   U s e   t h e   c l u s t e r - i n f o . y a m l   f i l e   a s   a n   a r g u m e n t   t o   k u b e a d m   j o i n   - - d i s c o v e r y - f i l e . T u r n   o f f   p u b l i c   a c c e s s   t o   t h e   c l u s t e r - i n f o   C o n f i g M a p :   U s e   t h e   c l u s t e r - i n f o . y a m l   f i l e   a s   a n   a r g u m e n t   t o   k u b e a d m   j o i n   - - d i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26173"
  },
  {
    "question": "What is Caution:?",
    "answer": "I t ' s   p o s s i b l e   t o   c o n f i g u r e   k u b e a d m   j o i n   w i t h   a   c o n f i g u r a t i o n   f i l e   i n s t e a d   o f   c o m m a n d   l i n e   f l a g s ,   a n d   s o m e   m o r e   a d v a n c e d   f e a t u r e s   m a y   o n l y   b e   a v a i l a b l e   a s   c o n f i g u r a t i o n   f i l e   o p t i o n s .   T h i s   f i l e   i s   p a s s e d   u s i n g   t h e   - - c o n f i g   f l a g   a n d   i t   m u s t   c o n t a i n   a   J o i n C o n f i g u r a t i o n   s t r u c t u r e .   M i x i n g   - - c o n f i g   w i t h   o t h e r s   f l a g s   m a y   n o t   b e   a l l o w e d   i n   s o m e   c a s e s .   T h e   d e f a u l t   c o n f i g u r a t i o n   c a n   b e   p r i n t e d   o u t   u s i n g   t h e   k u b e a d m   c o n f i g   p r i n t   c o m m a n d .   I f   y o u r   c o n f i g u r a t i o n   i s   n o t   u s i n g   t h e   l a t e s t   v e r s i o n   i t   i s   r e c o m m e n d e d   t h a t   y o u   m i g r a t e   u s i n g   t h e   k u b e a d m   c o n f i g   m i g r a t e   c o m m a n d .   F o r   m o r e   i n f o r m a t i o n   o n   t h e   f i e l d s   a n d   u s a g e   o f   t h e   c o n f i g u r a t i o n   y o u   c a n   n a v i g a t e   t o   o u r   A P I   r e f e r e n c e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26174"
  },
  {
    "question": "What is What's next?",
    "answer": "k u b e a d m   i n i t   t o   b o o t s t r a p   a   K u b e r n e t e s   c o n t r o l - p l a n e   n o d e . k u b e a d m   t o k e n   t o   m a n a g e   t o k e n s   f o r   k u b e a d m   j o i n . k u b e a d m   r e s e t   t o   r e v e r t   a n y   c h a n g e s   m a d e   t o   t h i s   h o s t   b y   k u b e a d m   i n i t   o r   k u b e a d m   j o i n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26175"
  },
  {
    "question": "What is 10.1.4 - kubeadm upgrade?",
    "answer": "k u b e a d m   u p g r a d e   i s   a   u s e r - f r i e n d l y   c o m m a n d   t h a t   w r a p s   c o m p l e x   u p g r a d i n g   l o g i c   b e h i n d   o n e   c o m m a n d ,   w i t h   s u p p o r t   f o r   b o t h   p l a n n i n g   a n   u p g r a d e   a n d   a c t u a l l y   p e r f o r m i n g   i t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_26176"
  },
  {
    "question": "What is kubeadm upgrade guidance?",
    "answer": "T h e   s t e p s   f o r   p e r f o r m i n g   a n   u p g r a d e   u s i n g   k u b e a d m   a r e   o u t l i n e d   i n   t h i s   d o c u m e n t .   F o r   o l d e r   v e r s i o n s   o f   k u b e a d m ,   p l e a s e   r e f e r   t o   o l d e r   d o c u m e n t a t i o n   s e t s   o f   t h e   K u b e r n e t e s   w e b s i t e .   Y o u   c a n   u s e   k u b e a d m   u p g r a d e   d i f f   t o   s e e   t h e   c h a n g e s   t h a t   w o u l d   b e   a p p l i e d   t o   s t a t i c   p o d   m a n i f e s t s .   I n   K u b e r n e t e s   v 1 . 1 5 . 0   a n d   l a t e r ,   k u b e a d m   u p g r a d e   a p p l y   a n d   k u b e a d m   u p g r a d e   n o d e   w i l l   a l s o   a u t o m a t i c a l l y   r e n e w   t h e   k u b e a d m   m a n a g e d   c e r t i f i c a t e s   o n   t h i s   n o d e ,   i n c l u d i n g   t h o s e   s t o r e d   i n   k u b e c o n f i g   f i l e s .   T o   o p t - o u t ,   i t   i s   p o s s i b l e   t o   p a s s   t h e   f l a g   - - c e r t i f i c a t e - r e n e w a l = f a l s e .   F o r   m o r e   d e t a i l s   a b o u t   c e r t i f i c a t e   r e n e w a l   s e e   t h e   c e r t i f i c a t e   m a n a g e m e n t   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26177"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C h e c k   w h i c h   v e r s i o n s   a r e   a v a i l a b l e   t o   u p g r a d e   t o   a n d   v a l i d a t e   w h e t h e r   y o u r   c u r r e n t   c l u s t e r   i s   u p g r a d e a b l e .   T h i s   c o m m a n d   c a n   o n l y   r u n   o n   t h e   c o n t r o l   p l a n e   n o d e s   w h e r e   t h e   k u b e c o n f i g   f i l e   \" a d m i n . c o n f \"   e x i s t s .   T o   s k i p   t h e   i n t e r n e t   c h e c k ,   p a s s   i n   t h e   o p t i o n a l   [ v e r s i o n ]   p a r a m e t e r .   k u b e a d m   u p g r a d e   p l a n   [ v e r s i o n ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26178"
  },
  {
    "question": "What is Options?",
    "answer": "S h o w   u n s t a b l e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w   u p g r a d i n g   t o   a n   a l p h a / b e t a / r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   S h o w   r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w   u p g r a d i n g   t o   a   r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P e r f o r m   t h e   u p g r a d e   o f   e t c d .   h e l p   f o r   p l a n   A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   O u t p u t   f o r m a t .   O n e   o f :   t e x t | j s o n | y a m l | g o - t e m p l a t e | g o - t e m p l a t e - f i l e | t e m p l a t e | t e m p l a t e f i l e | j s o n p a t h | j s o n p a t h - a s - j s o n | j s o n p a t h - f i l e .   S p e c i f i e s   w h e t h e r   t h e   c o n f i g u r a t i o n   f i l e   t h a t   w i l l   b e   u s e d   i n   t h e   u p g r a d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26179"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26180"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   y o u r   K u b e r n e t e s   c l u s t e r   t o   t h e   s p e c i f i e d   v e r s i o n   T h e   \" a p p l y   [ v e r s i o n ] \"   c o m m a n d   e x e c u t e s   t h e   f o l l o w i n g   p h a s e s :   p r e f l i g h t   R u n   p r e f l i g h t   c h e c k s   b e f o r e   u p g r a d e   c o n t r o l - p l a n e   U p g r a d e   t h e   c o n t r o l   p l a n e   u p l o a d - c o n f i g   U p l o a d   t h e   k u b e a d m   a n d   k u b e l e t   c o n f i g u r a t i o n s   t o   C o n f i g M a p s   / k u b e a d m   U p l o a d   t h e   k u b e a d m   C l u s t e r C o n f i g u r a t i o n   t o   a   C o n f i g M a p   / k u b e l e t   U p l o a d   t h e   k u b e l e t   c o n f i g u r a t i o n   t o   a   C o n f i g M a p   k u b e l e t - c o n f i g   U p g r a d e   t h e   k u b e l e t   c o n f i g u r a t i o n   f o r   t h i s   n o d e   b o o t s t r a p - t o k e n   C o n f i g u r e s   b o o t s t r a p   t o k e n   a n d   c l u s t e r - i n f o   R B A C   r u l e s   a d d o n   U p g r a d e   t h e   d e f a u l t   k u b e a d m   a d d o n s   / c o r e d n s   U p g r a d e   t h e   C o r e D N S   a d d o n   / k u b e - p r o x y   U p g r a d e   t h e   k u b e - p r o x y   a d d o n   p o s t - u p g r a d e   R u n   p o s t   u p g r a d e   t a s k s   k u b e a d m   u p g r a d e   a p p l y   [ v e r s i o n ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26181"
  },
  {
    "question": "What is Options?",
    "answer": "S h o w   u n s t a b l e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w   u p g r a d i n g   t o   a n   a l p h a / b e t a / r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s .   S h o w   r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w   u p g r a d i n g   t o   a   r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s .   P e r f o r m   t h e   r e n e w a l   o f   c e r t i f i c a t e s   u s e d   b y   c o m p o n e n t   c h a n g e d   d u r i n g   u p g r a d e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d .   P e r f o r m   t h e   u p g r a d e   o f   e t c d .   F o r c e   u p g r a d i n g   a l t h o u g h   s o m e   r e q u i r e m e n t s   m i g h t   n o t   b e   m e t .   T h i s   a l s o   i m p l i e s   n o n - i n t e r a c t i v e   m o d e .   h e l p   f o r   a p p l y   A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26182"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26183"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S h o w   w h a t   d i f f e r e n c e s   w o u l d   b e   a p p l i e d   t o   e x i s t i n g   s t a t i c   p o d   m a n i f e s t s .   S e e   a l s o :   k u b e a d m   u p g r a d e   a p p l y   - - d r y - r u n   k u b e a d m   u p g r a d e   d i f f   [ v e r s i o n ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26184"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   H o w   m a n y   l i n e s   o f   c o n t e x t   i n   t h e   d i f f   h e l p   f o r   d i f f   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26185"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26186"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   c o m m a n d s   f o r   a   n o d e   i n   t h e   c l u s t e r   T h e   \" n o d e \"   c o m m a n d   e x e c u t e s   t h e   f o l l o w i n g   p h a s e s :   p r e f l i g h t   R u n   u p g r a d e   n o d e   p r e - f l i g h t   c h e c k s   c o n t r o l - p l a n e   U p g r a d e   t h e   c o n t r o l   p l a n e   i n s t a n c e   d e p l o y e d   o n   t h i s   n o d e ,   i f   a n y   k u b e l e t - c o n f i g   U p g r a d e   t h e   k u b e l e t   c o n f i g u r a t i o n   f o r   t h i s   n o d e   a d d o n   U p g r a d e   t h e   d e f a u l t   k u b e a d m   a d d o n s   / c o r e d n s   U p g r a d e   t h e   C o r e D N S   a d d o n   / k u b e - p r o x y   U p g r a d e   t h e   k u b e - p r o x y   a d d o n   p o s t - u p g r a d e   R u n   p o s t   u p g r a d e   t a s k s   k u b e a d m   u p g r a d e   n o d e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26187"
  },
  {
    "question": "What is Options?",
    "answer": "P e r f o r m   t h e   r e n e w a l   o f   c e r t i f i c a t e s   u s e d   b y   c o m p o n e n t   c h a n g e d   d u r i n g   u p g r a d e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   t h e   a c t i o n s   t h a t   w o u l d   b e   p e r f o r m e d .   P e r f o r m   t h e   u p g r a d e   o f   e t c d .   h e l p   f o r   n o d e   A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26188"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26189"
  },
  {
    "question": "What is What's next?",
    "answer": "k u b e a d m   c o n f i g   i f   y o u   i n i t i a l i z e d   y o u r   c l u s t e r   u s i n g   k u b e a d m   v 1 . 7 . x   o r   l o w e r ,   t o   c o n f i g u r e   y o u r   c l u s t e r   f o r   k u b e a d m   u p g r a d e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26190"
  },
  {
    "question": "What is kubeadm upgrade apply phase?",
    "answer": "U s i n g   t h e   p h a s e s   o f   k u b e a d m   u p g r a d e   a p p l y ,   y o u   c a n   c h o o s e   t o   e x e c u t e   t h e   s e p a r a t e   s t e p s   o f   t h e   i n i t i a l   u p g r a d e   o f   a   c o n t r o l   p l a n e   n o d e .   S y n o p s i s U s e   t h i s   c o m m a n d   t o   i n v o k e   s i n g l e   p h a s e   o f   t h e   \" a p p l y \"   w o r k f l o w k u b e a d m   u p g r a d e   a p p l y   p h a s e   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   p h a s e O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26191"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U s e   t h i s   c o m m a n d   t o   i n v o k e   s i n g l e   p h a s e   o f   t h e   \" a p p l y \"   w o r k f l o w   k u b e a d m   u p g r a d e   a p p l y   p h a s e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26192"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   p h a s e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26193"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R u n   p r e f l i g h t   c h e c k s   b e f o r e   u p g r a d e k u b e a d m   u p g r a d e   a p p l y   p h a s e   p r e f l i g h t   [ f l a g s ]   O p t i o n s - - a l l o w - e x p e r i m e n t a l - u p g r a d e s S h o w   u n s t a b l e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w   u p g r a d i n g   t o   a n   a l p h a / b e t a / r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s . - - a l l o w - r e l e a s e - c a n d i d a t e - u p g r a d e s S h o w   r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w   u p g r a d i n g   t o   a   r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d . - f ,   - - f o r c e F o r c e   u p g r a d i n g   a l t h o u g h   s o m e   r e q u i r e m e n t s   m i g h t   n o t   b e   m e t .   T h i s   a l s o   i m p l i e s   n o n - i n t e r a c t i v e   m o d e . - h ,   - - h e l p h e l p   f o r   p r e f l i g h t - - i g n o r e - p r e f l i g h t - e r r o r s   s t r i n g s A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s . - - k u b e c o n f i g   s t r i n g   D e f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26194"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   p r e f l i g h t   c h e c k s   b e f o r e   u p g r a d e   k u b e a d m   u p g r a d e   a p p l y   p h a s e   p r e f l i g h t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26195"
  },
  {
    "question": "What is Options?",
    "answer": "S h o w   u n s t a b l e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w   u p g r a d i n g   t o   a n   a l p h a / b e t a / r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s .   S h o w   r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w   u p g r a d i n g   t o   a   r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d .   F o r c e   u p g r a d i n g   a l t h o u g h   s o m e   r e q u i r e m e n t s   m i g h t   n o t   b e   m e t .   T h i s   a l s o   i m p l i e s   n o n - i n t e r a c t i v e   m o d e .   h e l p   f o r   p r e f l i g h t   A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   P e r f o r m   t h e   u p g r a d e   a n d   d o   n o t   p r o m p t   f o r   c o n f i r m a t i o n   ( n o n - i n t e r a c t i v e   m o d e ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26196"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s U p g r a d e   t h e   c o n t r o l   p l a n e k u b e a d m   u p g r a d e   a p p l y   p h a s e   c o n t r o l - p l a n e   [ f l a g s ]   O p t i o n s - - c e r t i f i c a t e - r e n e w a l   D e f a u l t :   t r u e P e r f o r m   t h e   r e n e w a l   o f   c e r t i f i c a t e s   u s e d   b y   c o m p o n e n t   c h a n g e d   d u r i n g   u p g r a d e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d . - - e t c d - u p g r a d e   D e f a u l t :   t r u e P e r f o r m   t h e   u p g r a d e   o f   e t c d . - h ,   - - h e l p h e l p   f o r   c o n t r o l - p l a n e - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e . - - p a t c h e s   s t r i n g P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26197"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   t h e   c o n t r o l   p l a n e   k u b e a d m   u p g r a d e   a p p l y   p h a s e   c o n t r o l - p l a n e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26198"
  },
  {
    "question": "What is Options?",
    "answer": "P e r f o r m   t h e   r e n e w a l   o f   c e r t i f i c a t e s   u s e d   b y   c o m p o n e n t   c h a n g e d   d u r i n g   u p g r a d e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d .   P e r f o r m   t h e   u p g r a d e   o f   e t c d .   h e l p   f o r   c o n t r o l - p l a n e   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26199"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s U p l o a d   t h e   k u b e a d m   a n d   k u b e l e t   c o n f i g u r a t i o n s   t o   C o n f i g M a p s k u b e a d m   u p g r a d e   a p p l y   p h a s e   u p l o a d - c o n f i g   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   u p l o a d - c o n f i g O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26200"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p l o a d   t h e   k u b e a d m   a n d   k u b e l e t   c o n f i g u r a t i o n s   t o   C o n f i g M a p s   k u b e a d m   u p g r a d e   a p p l y   p h a s e   u p l o a d - c o n f i g   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26201"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   u p l o a d - c o n f i g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26202"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s U p g r a d e   t h e   k u b e l e t   c o n f i g u r a t i o n   f o r   t h i s   n o d e   b y   d o w n l o a d i n g   i t   f r o m   t h e   k u b e l e t - c o n f i g   C o n f i g M a p   s t o r e d   i n   t h e   c l u s t e r k u b e a d m   u p g r a d e   a p p l y   p h a s e   k u b e l e t - c o n f i g   [ f l a g s ]   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d . - h ,   - - h e l p h e l p   f o r   k u b e l e t - c o n f i g - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e . - - p a t c h e s   s t r i n g P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26203"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   t h e   k u b e l e t   c o n f i g u r a t i o n   f o r   t h i s   n o d e   b y   d o w n l o a d i n g   i t   f r o m   t h e   k u b e l e t - c o n f i g   C o n f i g M a p   s t o r e d   i n   t h e   c l u s t e r   k u b e a d m   u p g r a d e   a p p l y   p h a s e   k u b e l e t - c o n f i g   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26204"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d .   h e l p   f o r   k u b e l e t - c o n f i g   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26205"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s C o n f i g u r e s   b o o t s t r a p   t o k e n   a n d   c l u s t e r - i n f o   R B A C   r u l e s k u b e a d m   u p g r a d e   a p p l y   p h a s e   b o o t s t r a p - t o k e n   [ f l a g s ]   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d . - h ,   - - h e l p h e l p   f o r   b o o t s t r a p - t o k e n - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26206"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C o n f i g u r e s   b o o t s t r a p   t o k e n   a n d   c l u s t e r - i n f o   R B A C   r u l e s   k u b e a d m   u p g r a d e   a p p l y   p h a s e   b o o t s t r a p - t o k e n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26207"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d .   h e l p   f o r   b o o t s t r a p - t o k e n   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26208"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s U p g r a d e   t h e   d e f a u l t   k u b e a d m   a d d o n s k u b e a d m   u p g r a d e   a p p l y   p h a s e   a d d o n   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   a d d o n O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26209"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   t h e   d e f a u l t   k u b e a d m   a d d o n s   k u b e a d m   u p g r a d e   a p p l y   p h a s e   a d d o n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26210"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   a d d o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26211"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R u n   p o s t   u p g r a d e   t a s k s k u b e a d m   u p g r a d e   a p p l y   p h a s e   p o s t - u p g r a d e   [ f l a g s ]   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d . - h ,   - - h e l p h e l p   f o r   p o s t - u p g r a d e - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26212"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   p o s t   u p g r a d e   t a s k s   k u b e a d m   u p g r a d e   a p p l y   p h a s e   p o s t - u p g r a d e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26213"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   w h a t   a c t i o n s   w o u l d   b e   p e r f o r m e d .   h e l p   f o r   p o s t - u p g r a d e   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26214"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26215"
  },
  {
    "question": "What is kubeadm upgrade node phase?",
    "answer": "U s i n g   t h e   p h a s e s   o f   k u b e a d m   u p g r a d e   n o d e   y o u   c a n   c h o o s e   t o   e x e c u t e   t h e   s e p a r a t e   s t e p s   o f   t h e   u p g r a d e   o f   s e c o n d a r y   c o n t r o l - p l a n e   o r   w o r k e r   n o d e s .   S y n o p s i s U s e   t h i s   c o m m a n d   t o   i n v o k e   s i n g l e   p h a s e   o f   t h e   \" n o d e \"   w o r k f l o w k u b e a d m   u p g r a d e   n o d e   p h a s e   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   p h a s e O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26216"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U s e   t h i s   c o m m a n d   t o   i n v o k e   s i n g l e   p h a s e   o f   t h e   \" n o d e \"   w o r k f l o w   k u b e a d m   u p g r a d e   n o d e   p h a s e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26217"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   p h a s e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26218"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   R u n   u p g r a d e   n o d e   p r e - f l i g h t   c h e c k s S y n o p s i s R u n   p r e - f l i g h t   c h e c k s   f o r   k u b e a d m   u p g r a d e   n o d e . k u b e a d m   u p g r a d e   n o d e   p h a s e   p r e f l i g h t   [ f l a g s ]   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l p h e l p   f o r   p r e f l i g h t - - i g n o r e - p r e f l i g h t - e r r o r s   s t r i n g s A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   R u n   u p g r a d e   n o d e   p r e - f l i g h t   c h e c k s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26219"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   p r e - f l i g h t   c h e c k s   f o r   k u b e a d m   u p g r a d e   n o d e .   k u b e a d m   u p g r a d e   n o d e   p h a s e   p r e f l i g h t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26220"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   p r e f l i g h t   A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26221"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s U p g r a d e   t h e   c o n t r o l   p l a n e   i n s t a n c e   d e p l o y e d   o n   t h i s   n o d e ,   i f   a n y k u b e a d m   u p g r a d e   n o d e   p h a s e   c o n t r o l - p l a n e   [ f l a g s ]   O p t i o n s - - c e r t i f i c a t e - r e n e w a l   D e f a u l t :   t r u e P e r f o r m   t h e   r e n e w a l   o f   c e r t i f i c a t e s   u s e d   b y   c o m p o n e n t   c h a n g e d   d u r i n g   u p g r a d e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   t h e   a c t i o n s   t h a t   w o u l d   b e   p e r f o r m e d . - - e t c d - u p g r a d e   D e f a u l t :   t r u e P e r f o r m   t h e   u p g r a d e   o f   e t c d . - h ,   - - h e l p h e l p   f o r   c o n t r o l - p l a n e - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e . - - p a t c h e s   s t r i n g P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26222"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   t h e   c o n t r o l   p l a n e   i n s t a n c e   d e p l o y e d   o n   t h i s   n o d e ,   i f   a n y   k u b e a d m   u p g r a d e   n o d e   p h a s e   c o n t r o l - p l a n e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26223"
  },
  {
    "question": "What is Options?",
    "answer": "P e r f o r m   t h e   r e n e w a l   o f   c e r t i f i c a t e s   u s e d   b y   c o m p o n e n t   c h a n g e d   d u r i n g   u p g r a d e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   t h e   a c t i o n s   t h a t   w o u l d   b e   p e r f o r m e d .   P e r f o r m   t h e   u p g r a d e   o f   e t c d .   h e l p   f o r   c o n t r o l - p l a n e   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26224"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s U p g r a d e   t h e   k u b e l e t   c o n f i g u r a t i o n   f o r   t h i s   n o d e   b y   d o w n l o a d i n g   i t   f r o m   t h e   k u b e l e t - c o n f i g   C o n f i g M a p   s t o r e d   i n   t h e   c l u s t e r k u b e a d m   u p g r a d e   n o d e   p h a s e   k u b e l e t - c o n f i g   [ f l a g s ]   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   t h e   a c t i o n s   t h a t   w o u l d   b e   p e r f o r m e d . - h ,   - - h e l p h e l p   f o r   k u b e l e t - c o n f i g - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e . - - p a t c h e s   s t r i n g P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26225"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   t h e   k u b e l e t   c o n f i g u r a t i o n   f o r   t h i s   n o d e   b y   d o w n l o a d i n g   i t   f r o m   t h e   k u b e l e t - c o n f i g   C o n f i g M a p   s t o r e d   i n   t h e   c l u s t e r   k u b e a d m   u p g r a d e   n o d e   p h a s e   k u b e l e t - c o n f i g   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26226"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   t h e   a c t i o n s   t h a t   w o u l d   b e   p e r f o r m e d .   h e l p   f o r   k u b e l e t - c o n f i g   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26227"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s U p g r a d e   t h e   d e f a u l t   k u b e a d m   a d d o n s k u b e a d m   u p g r a d e   n o d e   p h a s e   a d d o n   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   a d d o n O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26228"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p g r a d e   t h e   d e f a u l t   k u b e a d m   a d d o n s   k u b e a d m   u p g r a d e   n o d e   p h a s e   a d d o n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26229"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   a d d o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26230"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R u n   p o s t   u p g r a d e   t a s k s k u b e a d m   u p g r a d e   n o d e   p h a s e   p o s t - u p g r a d e   [ f l a g s ]   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   t h e   a c t i o n s   t h a t   w o u l d   b e   p e r f o r m e d . - h ,   - - h e l p h e l p   f o r   p o s t - u p g r a d e - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26231"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   p o s t   u p g r a d e   t a s k s   k u b e a d m   u p g r a d e   n o d e   p h a s e   p o s t - u p g r a d e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26232"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o   n o t   c h a n g e   a n y   s t a t e ,   j u s t   o u t p u t   t h e   a c t i o n s   t h a t   w o u l d   b e   p e r f o r m e d .   h e l p   f o r   p o s t - u p g r a d e   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26233"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26234"
  },
  {
    "question": "What is What's next?",
    "answer": "k u b e a d m   i n i t   t o   b o o t s t r a p   a   K u b e r n e t e s   c o n t r o l - p l a n e   n o d e k u b e a d m   j o i n   t o   c o n n e c t   a   n o d e   t o   t h e   c l u s t e r k u b e a d m   r e s e t   t o   r e v e r t   a n y   c h a n g e s   m a d e   t o   t h i s   h o s t   b y   k u b e a d m   i n i t   o r   k u b e a d m   j o i n k u b e a d m   u p g r a d e   t o   u p g r a d e   a   k u b e a d m   n o d e k u b e a d m   a l p h a   t o   t r y   e x p e r i m e n t a l   f u n c t i o n a l i t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26235"
  },
  {
    "question": "What is 10.1.6 - kubeadm config?",
    "answer": "D u r i n g   k u b e a d m   i n i t ,   k u b e a d m   u p l o a d s   t h e   C l u s t e r C o n f i g u r a t i o n   o b j e c t   t o   y o u r   c l u s t e r   i n   a   C o n f i g M a p   c a l l e d   k u b e a d m - c o n f i g   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   T h i s   c o n f i g u r a t i o n   i s   t h e n   r e a d   d u r i n g   k u b e a d m   j o i n ,   k u b e a d m   r e s e t   a n d   k u b e a d m   u p g r a d e .   Y o u   c a n   u s e   k u b e a d m   c o n f i g   p r i n t   t o   p r i n t   t h e   d e f a u l t   s t a t i c   c o n f i g u r a t i o n   t h a t   k u b e a d m   u s e s   f o r   k u b e a d m   i n i t   a n d   k u b e a d m   j o i n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_26236"
  },
  {
    "question": "What is Note:?",
    "answer": "F o r   m o r e   i n f o r m a t i o n   o n   i n i t   a n d   j o i n   n a v i g a t e   t o   U s i n g   k u b e a d m   i n i t   w i t h   a   c o n f i g u r a t i o n   f i l e   o r   U s i n g   k u b e a d m   j o i n   w i t h   a   c o n f i g u r a t i o n   f i l e .   F o r   m o r e   i n f o r m a t i o n   o n   u s i n g   t h e   k u b e a d m   c o n f i g u r a t i o n   A P I   n a v i g a t e   t o   C u s t o m i z i n g   c o m p o n e n t s   w i t h   t h e   k u b e a d m   A P I .   Y o u   c a n   u s e   k u b e a d m   c o n f i g   m i g r a t e   t o   c o n v e r t   y o u r   o l d   c o n f i g u r a t i o n   f i l e s   t h a t   c o n t a i n   a   d e p r e c a t e d   A P I   v e r s i o n   t o   a   n e w e r ,   s u p p o r t e d   A P I   v e r s i o n .   k u b e a d m   c o n f i g   v a l i d a t e   c a n   b e   u s e d   f o r   v a l i d a t i n g   a   c o n f i g u r a t i o n   f i l e .   k u b e a d m   c o n f i g   i m a g e s   l i s t   a n d   k u b e a d m   c o n f i g   i m a g e s   p u l l   c a n   b e   u s e d   t o   l i s t   a n d   p u l l   t h e   i m a g e s   t h a t   k u b e a d m   r e q u i r e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26237"
  },
  {
    "question": "What is kubeadm config print?",
    "answer": "P r i n t   c o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26238"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   p r i n t s   c o n f i g u r a t i o n s   f o r   s u b c o m m a n d s   p r o v i d e d .   F o r   d e t a i l s ,   s e e :   h t t p s : / / p k g . g o . d e v / k 8 s . i o / k u b e r n e t e s / c m d / k u b e a d m / a p p / a p i s / k u b e a d m # s e c t i o n - d i r e c t o r i e s   k u b e a d m   c o n f i g   p r i n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26239"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   p r i n t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26240"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26241"
  },
  {
    "question": "What is kubeadm config print init-defaults?",
    "answer": "P r i n t   d e f a u l t   i n i t   c o n f i g u r a t i o n ,   t h a t   c a n   b e   u s e d   f o r   ' k u b e a d m   i n i t '",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26242"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   p r i n t s   o b j e c t s   s u c h   a s   t h e   d e f a u l t   i n i t   c o n f i g u r a t i o n   t h a t   i s   u s e d   f o r   ' k u b e a d m   i n i t ' .   N o t e   t h a t   s e n s i t i v e   v a l u e s   l i k e   t h e   B o o t s t r a p   T o k e n   f i e l d s   a r e   r e p l a c e d   w i t h   p l a c e h o l d e r   v a l u e s   l i k e   \" a b c d e f . 0 1 2 3 4 5 6 7 8 9 a b c d e f \"   i n   o r d e r   t o   p a s s   v a l i d a t i o n   b u t   n o t   p e r f o r m   t h e   r e a l   c o m p u t a t i o n   f o r   c r e a t i n g   a   t o k e n .   k u b e a d m   c o n f i g   p r i n t   i n i t - d e f a u l t s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26243"
  },
  {
    "question": "What is Options?",
    "answer": "A   c o m m a - s e p a r a t e d   l i s t   f o r   c o m p o n e n t   c o n f i g   A P I   o b j e c t s   t o   p r i n t   t h e   d e f a u l t   v a l u e s   f o r .   A v a i l a b l e   v a l u e s :   [ K u b e P r o x y C o n f i g u r a t i o n   K u b e l e t C o n f i g u r a t i o n ] .   I f   t h i s   f l a g   i s   n o t   s e t ,   n o   c o m p o n e n t   c o n f i g s   w i l l   b e   p r i n t e d .   h e l p   f o r   i n i t - d e f a u l t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26244"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26245"
  },
  {
    "question": "What is kubeadm config print join-defaults?",
    "answer": "P r i n t   d e f a u l t   j o i n   c o n f i g u r a t i o n ,   t h a t   c a n   b e   u s e d   f o r   ' k u b e a d m   j o i n '",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26246"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   p r i n t s   o b j e c t s   s u c h   a s   t h e   d e f a u l t   j o i n   c o n f i g u r a t i o n   t h a t   i s   u s e d   f o r   ' k u b e a d m   j o i n ' .   N o t e   t h a t   s e n s i t i v e   v a l u e s   l i k e   t h e   B o o t s t r a p   T o k e n   f i e l d s   a r e   r e p l a c e d   w i t h   p l a c e h o l d e r   v a l u e s   l i k e   \" a b c d e f . 0 1 2 3 4 5 6 7 8 9 a b c d e f \"   i n   o r d e r   t o   p a s s   v a l i d a t i o n   b u t   n o t   p e r f o r m   t h e   r e a l   c o m p u t a t i o n   f o r   c r e a t i n g   a   t o k e n .   k u b e a d m   c o n f i g   p r i n t   j o i n - d e f a u l t s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26247"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   j o i n - d e f a u l t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26248"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26249"
  },
  {
    "question": "What is kubeadm config migrate?",
    "answer": "R e a d   a n   o l d e r   v e r s i o n   o f   t h e   k u b e a d m   c o n f i g u r a t i o n   A P I   t y p e s   f r o m   a   f i l e ,   a n d   o u t p u t   t h e   s i m i l a r   c o n f i g   o b j e c t   f o r   t h e   n e w e r   v e r s i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26250"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   l e t s   y o u   c o n v e r t   c o n f i g u r a t i o n   o b j e c t s   o f   o l d e r   v e r s i o n s   t o   t h e   l a t e s t   s u p p o r t e d   v e r s i o n ,   l o c a l l y   i n   t h e   C L I   t o o l   w i t h o u t   e v e r   t o u c h i n g   a n y t h i n g   i n   t h e   c l u s t e r .   I n   t h i s   v e r s i o n   o f   k u b e a d m ,   t h e   f o l l o w i n g   A P I   v e r s i o n s   a r e   s u p p o r t e d :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   F u r t h e r ,   k u b e a d m   c a n   o n l y   w r i t e   o u t   c o n f i g   o f   v e r s i o n   \" k u b e a d m . k 8 s . i o / v 1 b e t a 4 \" ,   b u t   r e a d   b o t h   t y p e s .   S o   r e g a r d l e s s   o f   w h a t   v e r s i o n   y o u   p a s s   t o   t h e   - - o l d - c o n f i g   p a r a m e t e r   h e r e ,   t h e   A P I   o b j e c t   w i l l   b e   r e a d ,   d e s e r i a l i z e d ,   d e f a u l t e d ,   c o n v e r t e d ,   v a l i d a t e d ,   a n d   r e - s e r i a l i z e d   w h e n   w r i t t e n   t o   s t d o u t   o r   - - n e w - c o n f i g   i f   s p e c i f i e d .   I n   o t h e r   w o r d s ,   t h e   o u t p u t   o f   t h i s   c o m m a n d   i s   w h a t   k u b e a d m   a c t u a l l y   w o u l d   r e a d   i n t e r n a l l y   i f   y o u   s u b m i t t e d   t h i s   f i l e   t o   \" k u b e a d m   i n i t \"   k u b e a d m   c o n f i g   m i g r a t e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26251"
  },
  {
    "question": "What is Options?",
    "answer": "A l l o w   m i g r a t i o n   t o   e x p e r i m e n t a l ,   u n r e l e a s e d   A P I s .   h e l p   f o r   m i g r a t e   P a t h   t o   t h e   r e s u l t i n g   e q u i v a l e n t   k u b e a d m   c o n f i g   f i l e   u s i n g   t h e   n e w   A P I   v e r s i o n .   O p t i o n a l ,   i f   n o t   s p e c i f i e d   o u t p u t   w i l l   b e   s e n t   t o   S T D O U T .   P a t h   t o   t h e   k u b e a d m   c o n f i g   f i l e   t h a t   i s   u s i n g   a n   o l d   A P I   v e r s i o n   a n d   s h o u l d   b e   c o n v e r t e d .   T h i s   f l a g   i s   m a n d a t o r y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26252"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26253"
  },
  {
    "question": "What is kubeadm config validate?",
    "answer": "R e a d   a   f i l e   c o n t a i n i n g   t h e   k u b e a d m   c o n f i g u r a t i o n   A P I   a n d   r e p o r t   a n y   v a l i d a t i o n   p r o b l e m s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26254"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   l e t s   y o u   v a l i d a t e   a   k u b e a d m   c o n f i g u r a t i o n   A P I   f i l e   a n d   r e p o r t   a n y   w a r n i n g s   a n d   e r r o r s .   I f   t h e r e   a r e   n o   e r r o r s   t h e   e x i t   s t a t u s   w i l l   b e   z e r o ,   o t h e r w i s e   i t   w i l l   b e   n o n - z e r o .   A n y   u n m a r s h a l i n g   p r o b l e m s   s u c h   a s   u n k n o w n   A P I   f i e l d s   w i l l   t r i g g e r   e r r o r s .   U n k n o w n   A P I   v e r s i o n s   a n d   f i e l d s   w i t h   i n v a l i d   v a l u e s   w i l l   a l s o   t r i g g e r   e r r o r s .   A n y   o t h e r   e r r o r s   o r   w a r n i n g s   m a y   b e   r e p o r t e d   d e p e n d i n g   o n   c o n t e n t s   o f   t h e   i n p u t   f i l e .   I n   t h i s   v e r s i o n   o f   k u b e a d m ,   t h e   f o l l o w i n g   A P I   v e r s i o n s   a r e   s u p p o r t e d :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k u b e a d m   c o n f i g   v a l i d a t e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26255"
  },
  {
    "question": "What is Options?",
    "answer": "A l l o w   v a l i d a t i o n   o f   e x p e r i m e n t a l ,   u n r e l e a s e d   A P I s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   v a l i d a t e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26256"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26257"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r i n t   a   l i s t   o f   i m a g e s   k u b e a d m   w i l l   u s e .   T h e   c o n f i g u r a t i o n   f i l e   i s   u s e d   i n   c a s e   a n y   i m a g e s   o r   i m a g e   r e p o s i t o r i e s   a r e   c u s t o m i z e d   k u b e a d m   c o n f i g   i m a g e s   l i s t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26258"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d e L o c a l C R I S o c k e t = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) P u b l i c K e y s E C D S A = t r u e | f a l s e   ( D E P R E C A T E D   -   d e f a u l t = f a l s e ) R o o t l e s s C o n t r o l P l a n e = t r u e | f a l s e   ( A L P H A   -   d e f a u l t = f a l s e ) W a i t F o r A l l C o n t r o l P l a n e C o m p o n e n t s = t r u e | f a l s e   ( d e f a u l t = t r u e )   h e l p   f o r   l i s t   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   O u t p u t   f o r m a t .   O n e   o f :   t e x t | j s o n | y a m l | g o - t e m p l a t e | g o - t e m p l a t e - f i l e | t e m p l a t e | t e m p l a t e f i l e | j s o n p a t h | j s o n p a t h - a s - j s o n | j s o n p a t h - f i l e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26259"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26260"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P u l l   i m a g e s   u s e d   b y   k u b e a d m   k u b e a d m   c o n f i g   i m a g e s   p u l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26261"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d e L o c a l C R I S o c k e t = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) P u b l i c K e y s E C D S A = t r u e | f a l s e   ( D E P R E C A T E D   -   d e f a u l t = f a l s e ) R o o t l e s s C o n t r o l P l a n e = t r u e | f a l s e   ( A L P H A   -   d e f a u l t = f a l s e ) W a i t F o r A l l C o n t r o l P l a n e C o m p o n e n t s = t r u e | f a l s e   ( d e f a u l t = t r u e )   h e l p   f o r   p u l l   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26262"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26263"
  },
  {
    "question": "What is What's next?",
    "answer": "k u b e a d m   u p g r a d e   t o   u p g r a d e   a   K u b e r n e t e s   c l u s t e r   t o   a   n e w e r   v e r s i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26264"
  },
  {
    "question": "What is 10.1.7 - kubeadm reset?",
    "answer": "P e r f o r m s   a   b e s t   e f f o r t   r e v e r t   o f   c h a n g e s   m a d e   b y   k u b e a d m   i n i t   o r   k u b e a d m   j o i n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_26265"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P e r f o r m s   a   b e s t   e f f o r t   r e v e r t   o f   c h a n g e s   m a d e   t o   t h i s   h o s t   b y   ' k u b e a d m   i n i t '   o r   ' k u b e a d m   j o i n '   T h e   \" r e s e t \"   c o m m a n d   e x e c u t e s   t h e   f o l l o w i n g   p h a s e s :   p r e f l i g h t   R u n   r e s e t   p r e - f l i g h t   c h e c k s   r e m o v e - e t c d - m e m b e r   R e m o v e   a   l o c a l   e t c d   m e m b e r .   c l e a n u p - n o d e   R u n   c l e a n u p   n o d e .   k u b e a d m   r e s e t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26266"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   t o   t h e   d i r e c t o r y   w h e r e   t h e   c e r t i f i c a t e s   a r e   s t o r e d .   I f   s p e c i f i e d ,   c l e a n   t h i s   d i r e c t o r y .   C l e a n u p   t h e   \" / e t c / k u b e r n e t e s / t m p \"   d i r e c t o r y   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   R e s e t   t h e   n o d e   w i t h o u t   p r o m p t i n g   f o r   c o n f i r m a t i o n .   h e l p   f o r   r e s e t   A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   L i s t   o f   p h a s e s   t o   b e   s k i p p e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26267"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26268"
  },
  {
    "question": "What is Reset workflow?",
    "answer": "k u b e a d m   r e s e t   i s   r e s p o n s i b l e   f o r   c l e a n i n g   u p   a   n o d e   l o c a l   f i l e   s y s t e m   f r o m   f i l e s   t h a t   w e r e   c r e a t e d   u s i n g   t h e   k u b e a d m   i n i t   o r   k u b e a d m   j o i n   c o m m a n d s .   F o r   c o n t r o l - p l a n e   n o d e s   r e s e t   a l s o   r e m o v e s   t h e   l o c a l   s t a c k e d   e t c d   m e m b e r   o f   t h i s   n o d e   f r o m   t h e   e t c d   c l u s t e r .   k u b e a d m   r e s e t   p h a s e   c a n   b e   u s e d   t o   e x e c u t e   t h e   s e p a r a t e   p h a s e s   o f   t h e   a b o v e   w o r k f l o w .   T o   s k i p   a   l i s t   o f   p h a s e s   y o u   c a n   u s e   t h e   - - s k i p - p h a s e s   f l a g ,   w h i c h   w o r k s   i n   a   s i m i l a r   w a y   t o   t h e   k u b e a d m   j o i n   a n d   k u b e a d m   i n i t   p h a s e   r u n n e r s .   k u b e a d m   r e s e t   a l s o   s u p p o r t s   t h e   - - c o n f i g   f l a g   f o r   p a s s i n g   a   R e s e t C o n f i g u r a t i o n   s t r u c t u r e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26269"
  },
  {
    "question": "What is Cleanup of external etcd members?",
    "answer": "k u b e a d m   r e s e t   w i l l   n o t   d e l e t e   a n y   e t c d   d a t a   i f   e x t e r n a l   e t c d   i s   u s e d .   T h i s   m e a n s   t h a t   i f   y o u   r u n   k u b e a d m   i n i t   a g a i n   u s i n g   t h e   s a m e   e t c d   e n d p o i n t s ,   y o u   w i l l   s e e   s t a t e   f r o m   p r e v i o u s   c l u s t e r s .   T o   w i p e   e t c d   d a t a   i t   i s   r e c o m m e n d e d   y o u   u s e   a   c l i e n t   l i k e   e t c d c t l ,   s u c h   a s :   e t c d c t l   d e l   \" \"   - - p r e f i x   S e e   t h e   e t c d   d o c u m e n t a t i o n   f o r   m o r e   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26270"
  },
  {
    "question": "What is Cleanup of CNI configuration?",
    "answer": "C N I   p l u g i n s   u s e   t h e   d i r e c t o r y   / e t c / c n i / n e t . d   t o   s t o r e   t h e i r   c o n f i g u r a t i o n .   T h e   k u b e a d m   r e s e t   c o m m a n d   d o e s   n o t   c l e a n u p   t h a t   d i r e c t o r y .   L e a v i n g   t h e   c o n f i g u r a t i o n   o f   a   C N I   p l u g i n   o n   a   h o s t   c a n   b e   p r o b l e m a t i c   i f   t h e   s a m e   h o s t   i s   l a t e r   u s e d   a s   a   n e w   K u b e r n e t e s   n o d e   a n d   a   d i f f e r e n t   C N I   p l u g i n   h a p p e n s   t o   b e   d e p l o y e d   i n   t h a t   c l u s t e r .   I t   c a n   r e s u l t   i n   a   c o n f i g u r a t i o n   c o n f l i c t   b e t w e e n   C N I   p l u g i n s .   T o   c l e a n u p   t h e   d i r e c t o r y ,   b a c k u p   i t s   c o n t e n t s   i f   n e e d e d   a n d   t h e n   e x e c u t e   t h e   f o l l o w i n g   c o m m a n d :   s u d o   r m   - r f   / e t c / c n i / n e t . d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26271"
  },
  {
    "question": "What is Cleanup of network traffic rules?",
    "answer": "T h e   k u b e a d m   r e s e t   c o m m a n d   d o e s   n o t   c l e a n   a n y   i p t a b l e s ,   n f t a b l e s   o r   I P V S   r u l e s   a p p l i e d   t o   t h e   h o s t   b y   k u b e - p r o x y .   A   c o n t r o l   l o o p   i n   k u b e - p r o x y   e n s u r e s   t h a t   t h e   r u l e s   o n   e a c h   n o d e   h o s t   a r e   s y n c h r o n i z e d .   F o r   a d d i t i o n a l   d e t a i l s   p l e a s e   s e e   V i r t u a l   I P s   a n d   S e r v i c e   P r o x i e s .   L e a v i n g   t h e   r u l e s   w i t h o u t   c l e a n u p   s h o u l d   n o t   c a u s e   a n y   i s s u e s   i f   t h e   h o s t   i s   l a t e r   r e u s e d   a s   a   K u b e r n e t e s   n o d e   o r   i f   i t   w i l l   s e r v e   a   d i f f e r e n t   p u r p o s e .   I f   y o u   w i s h   t o   p e r f o r m   t h i s   c l e a n u p ,   y o u   c a n   u s e   t h e   s a m e   k u b e - p r o x y   c o n t a i n e r   w h i c h   w a s   u s e d   i n   y o u r   c l u s t e r   a n d   t h e   - - c l e a n u p   f l a g   o f   t h e   k u b e - p r o x y   b i n a r y :   d o c k e r   r u n   - - p r i v i l e g e d   - - r m   r e g i s t r y . k 8 s . i o / k u b e - p r o x y : v 1 . 3 4 . 0   s h   - c   \" k u b e - p r o x y   - - c l e a n u p   & &   e c h o   D O N E \"   T h e   o u t p u t   o f   t h e   a b o v e   c o m m a n d   s h o u l d   p r i n t   D O N E   a t   t h e   e n d .   I n s t e a d   o f   D o c k e r ,   y o u   c a n   u s e   y o u r   p r e f e r r e d   c o n t a i n e r   r u n t i m e   t o   s t a r t   t h e   c o n t a i n e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26272"
  },
  {
    "question": "What is Cleanup of $HOME/.kube?",
    "answer": "T h e   $ H O M E / . k u b e   d i r e c t o r y   t y p i c a l l y   c o n t a i n s   c o n f i g u r a t i o n   f i l e s   a n d   k u b e c t l   c a c h e .   W h i l e   n o t   c l e a n i n g   t h e   c o n t e n t s   o f   $ H O M E / . k u b e / c a c h e   i s   n o t   a n   i s s u e ,   t h e r e   i s   o n e   i m p o r t a n t   f i l e   i n   t h e   d i r e c t o r y .   T h a t   i s   $ H O M E / . k u b e / c o n f i g   a n d   i t   i s   u s e d   b y   k u b e c t l   t o   a u t h e n t i c a t e   t o   t h e   K u b e r n e t e s   A P I   s e r v e r .   A f t e r   k u b e a d m   i n i t   f i n i s h e s ,   t h e   u s e r   i s   i n s t r u c t e d   t o   c o p y   t h e   / e t c / k u b e r n e t e s / a d m i n . c o n f   f i l e   t o   t h e   $ H O M E / . k u b e / c o n f i g   l o c a t i o n   a n d   g r a n t   t h e   c u r r e n t   u s e r   a c c e s s   t o   i t .   T h e   k u b e a d m   r e s e t   c o m m a n d   d o e s   n o t   c l e a n   a n y   o f   t h e   c o n t e n t s   o f   t h e   $ H O M E / . k u b e   d i r e c t o r y .   L e a v i n g   t h e   $ H O M E / . k u b e / c o n f i g   f i l e   w i t h o u t   d e l e t i n g   i t ,   c a n   b e   p r o b l e m a t i c   d e p e n d i n g   o n   w h o   w i l l   h a v e   a c c e s s   t o   t h i s   h o s t   a f t e r   k u b e a d m   r e s e t   w a s   c a l l e d .   I f   t h e   s a m e   c l u s t e r   c o n t i n u e s   t o   e x i s t ,   i t   i s   h i g h l y   r e c o m m e n d e d   t o   d e l e t e   t h e   f i l e ,   a s   t h e   a d m i n   c r e d e n t i a l s   s t o r e d   i n   i t   w i l l   c o n t i n u e   t o   b e   v a l i d .   T o   c l e a n u p   t h e   d i r e c t o r y ,   e x a m i n e   i t s   c o n t e n t s ,   p e r f o r m   b a c k u p   i f   n e e d e d   a n d   e x e c u t e   t h e   f o l l o w i n g   c o m m a n d :   r m   - r f   $ H O M E / . k u b e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26273"
  },
  {
    "question": "What is Graceful kube-apiserver shutdown?",
    "answer": "I f   y o u   h a v e   y o u r   k u b e - a p i s e r v e r   c o n f i g u r e d   w i t h   t h e   - - s h u t d o w n - d e l a y - d u r a t i o n   f l a g ,   y o u   c a n   r u n   t h e   f o l l o w i n g   c o m m a n d s   t o   a t t e m p t   a   g r a c e f u l   s h u t d o w n   f o r   t h e   r u n n i n g   A P I   s e r v e r   P o d ,   b e f o r e   y o u   r u n   k u b e a d m   r e s e t :   y q   e v a l   - i   ' . s p e c . c o n t a i n e r s [ 0 ] . c o m m a n d   =   [ ] '   / e t c / k u b e r n e t e s / m a n i f e s t s / k u b e - a p i s e r v e r . y a m l   t i m e o u t   6 0   s h   - c   ' w h i l e   p g r e p   k u b e - a p i s e r v e r   > / d e v / n u l l ;   d o   s l e e p   1 ;   d o n e '   | |   t r u e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26274"
  },
  {
    "question": "What is What's next?",
    "answer": "k u b e a d m   i n i t   t o   b o o t s t r a p   a   K u b e r n e t e s   c o n t r o l - p l a n e   n o d e k u b e a d m   j o i n   t o   b o o t s t r a p   a   K u b e r n e t e s   w o r k e r   n o d e   a n d   j o i n   i t   t o   t h e   c l u s t e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26275"
  },
  {
    "question": "What is 10.1.8 - kubeadm token?",
    "answer": "B o o t s t r a p   t o k e n s   a r e   u s e d   f o r   e s t a b l i s h i n g   b i d i r e c t i o n a l   t r u s t   b e t w e e n   a   n o d e   j o i n i n g   t h e   c l u s t e r   a n d   a   c o n t r o l - p l a n e   n o d e ,   a s   d e s c r i b e d   i n   a u t h e n t i c a t i n g   w i t h   b o o t s t r a p   t o k e n s .   k u b e a d m   i n i t   c r e a t e s   a n   i n i t i a l   t o k e n   w i t h   a   2 4 - h o u r   T T L .   T h e   f o l l o w i n g   c o m m a n d s   a l l o w   y o u   t o   m a n a g e   s u c h   a   t o k e n   a n d   a l s o   t o   c r e a t e   a n d   m a n a g e   n e w   o n e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_26276"
  },
  {
    "question": "What is kubeadm token create?",
    "answer": "C r e a t e   b o o t s t r a p   t o k e n s   o n   t h e   s e r v e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26277"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   w i l l   c r e a t e   a   b o o t s t r a p   t o k e n   f o r   y o u .   Y o u   c a n   s p e c i f y   t h e   u s a g e s   f o r   t h i s   t o k e n ,   t h e   \" t i m e   t o   l i v e \"   a n d   a n   o p t i o n a l   h u m a n   f r i e n d l y   d e s c r i p t i o n .   T h e   [ t o k e n ]   i s   t h e   a c t u a l   t o k e n   t o   w r i t e .   T h i s   s h o u l d   b e   a   s e c u r e l y   g e n e r a t e d   r a n d o m   t o k e n   o f   t h e   f o r m   \" [ a - z 0 - 9 ] { 6 } . [ a - z 0 - 9 ] { 1 6 } \" .   I f   n o   [ t o k e n ]   i s   g i v e n ,   k u b e a d m   w i l l   g e n e r a t e   a   r a n d o m   t o k e n   i n s t e a d .   k u b e a d m   t o k e n   c r e a t e   [ t o k e n ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26278"
  },
  {
    "question": "What is Options?",
    "answer": "W h e n   u s e d   t o g e t h e r   w i t h   ' - - p r i n t - j o i n - c o m m a n d ' ,   p r i n t   t h e   f u l l   ' k u b e a d m   j o i n '   f l a g   n e e d e d   t o   j o i n   t h e   c l u s t e r   a s   a   c o n t r o l - p l a n e .   T o   c r e a t e   a   n e w   c e r t i f i c a t e   k e y   y o u   m u s t   u s e   ' k u b e a d m   i n i t   p h a s e   u p l o a d - c e r t s   - - u p l o a d - c e r t s ' .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   A   h u m a n   f r i e n d l y   d e s c r i p t i o n   o f   h o w   t h i s   t o k e n   i s   u s e d .   E x t r a   g r o u p s   t h a t   t h i s   t o k e n   w i l l   a u t h e n t i c a t e   a s   w h e n   u s e d   f o r   a u t h e n t i c a t i o n .   M u s t   m a t c h   \" \\ A s y s t e m : b o o t s t r a p p e r s : [ a - z 0 - 9 : - ] { 0 , 2 5 5 } [ a - z 0 - 9 ] \\ z \"   h e l p   f o r   c r e a t e   I n s t e a d   o f   p r i n t i n g   o n l y   t h e   t o k e n ,   p r i n t   t h e   f u l l   ' k u b e a d m   j o i n '   f l a g   n e e d e d   t o   j o i n   t h e   c l u s t e r   u s i n g   t h e   t o k e n .   T h e   d u r a t i o n   b e f o r e   t h e   t o k e n   i s   a u t o m a t i c a l l y   d e l e t e d   ( e . g .   1 s ,   2 m ,   3 h ) .   I f   s e t   t o   ' 0 ' ,   t h e   t o k e n   w i l l   n e v e r   e x p i r e   D e s c r i b e s   t h e   w a y s   i n   w h i c h   t h i s   t o k e n   c a n   b e   u s e d .   Y o u   c a n   p a s s   - - u s a g e s   m u l t i p l e   t i m e s   o r   p r o v i d e   a   c o m m a   s e p a r a t e d   l i s t   o f   o p t i o n s .   V a l i d   o p t i o n s :   [ s i g n i n g , a u t h e n t i c a t i o n ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26279"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "W h e t h e r   t o   e n a b l e   d r y - r u n   m o d e   o r   n o t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26280"
  },
  {
    "question": "What is kubeadm token delete?",
    "answer": "D e l e t e   b o o t s t r a p   t o k e n s   o n   t h e   s e r v e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26281"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   w i l l   d e l e t e   a   l i s t   o f   b o o t s t r a p   t o k e n s   f o r   y o u .   T h e   [ t o k e n - v a l u e ]   i s   t h e   f u l l   T o k e n   o f   t h e   f o r m   \" [ a - z 0 - 9 ] { 6 } . [ a - z 0 - 9 ] { 1 6 } \"   o r   t h e   T o k e n   I D   o f   t h e   f o r m   \" [ a - z 0 - 9 ] { 6 } \"   t o   d e l e t e .   k u b e a d m   t o k e n   d e l e t e   [ t o k e n - v a l u e ]   . . .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26282"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   d e l e t e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26283"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "W h e t h e r   t o   e n a b l e   d r y - r u n   m o d e   o r   n o t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26284"
  },
  {
    "question": "What is kubeadm token generate?",
    "answer": "G e n e r a t e   a n d   p r i n t   a   b o o t s t r a p   t o k e n ,   b u t   d o   n o t   c r e a t e   i t   o n   t h e   s e r v e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26285"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   w i l l   p r i n t   o u t   a   r a n d o m l y - g e n e r a t e d   b o o t s t r a p   t o k e n   t h a t   c a n   b e   u s e d   w i t h   t h e   \" i n i t \"   a n d   \" j o i n \"   c o m m a n d s .   Y o u   d o n ' t   h a v e   t o   u s e   t h i s   c o m m a n d   i n   o r d e r   t o   g e n e r a t e   a   t o k e n .   Y o u   c a n   d o   s o   y o u r s e l f   a s   l o n g   a s   i t   i s   i n   t h e   f o r m a t   \" [ a - z 0 - 9 ] { 6 } . [ a - z 0 - 9 ] { 1 6 } \" .   T h i s   c o m m a n d   i s   p r o v i d e d   f o r   c o n v e n i e n c e   t o   g e n e r a t e   t o k e n s   i n   t h e   g i v e n   f o r m a t .   Y o u   c a n   a l s o   u s e   \" k u b e a d m   i n i t \"   w i t h o u t   s p e c i f y i n g   a   t o k e n   a n d   i t   w i l l   g e n e r a t e   a n d   p r i n t   o n e   f o r   y o u .   k u b e a d m   t o k e n   g e n e r a t e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26286"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   g e n e r a t e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26287"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "W h e t h e r   t o   e n a b l e   d r y - r u n   m o d e   o r   n o t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26288"
  },
  {
    "question": "What is kubeadm token list?",
    "answer": "L i s t   b o o t s t r a p   t o k e n s   o n   t h e   s e r v e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26289"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   w i l l   l i s t   a l l   b o o t s t r a p   t o k e n s   f o r   y o u .   k u b e a d m   t o k e n   l i s t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26290"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   h e l p   f o r   l i s t   O u t p u t   f o r m a t .   O n e   o f :   t e x t | j s o n | y a m l | g o - t e m p l a t e | g o - t e m p l a t e - f i l e | t e m p l a t e | t e m p l a t e f i l e | j s o n p a t h | j s o n p a t h - a s - j s o n | j s o n p a t h - f i l e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26291"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "W h e t h e r   t o   e n a b l e   d r y - r u n   m o d e   o r   n o t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26292"
  },
  {
    "question": "What is What's next?",
    "answer": "k u b e a d m   j o i n   t o   b o o t s t r a p   a   K u b e r n e t e s   w o r k e r   n o d e   a n d   j o i n   i t   t o   t h e   c l u s t e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26293"
  },
  {
    "question": "What is 10.1.9 - kubeadm version?",
    "answer": "T h i s   c o m m a n d   p r i n t s   t h e   v e r s i o n   o f   k u b e a d m .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_26294"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r i n t   t h e   v e r s i o n   o f   k u b e a d m   k u b e a d m   v e r s i o n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26295"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   v e r s i o n   O u t p u t   f o r m a t ;   a v a i l a b l e   o p t i o n s   a r e   ' y a m l ' ,   ' j s o n '   a n d   ' s h o r t '",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26296"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26297"
  },
  {
    "question": "What is Caution:?",
    "answer": "C u r r e n t l y   t h e r e   a r e   n o   e x p e r i m e n t a l   c o m m a n d s   u n d e r   k u b e a d m   a l p h a .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26298"
  },
  {
    "question": "What is What's next?",
    "answer": "k u b e a d m   i n i t   t o   b o o t s t r a p   a   K u b e r n e t e s   c o n t r o l - p l a n e   n o d e k u b e a d m   j o i n   t o   c o n n e c t   a   n o d e   t o   t h e   c l u s t e r k u b e a d m   r e s e t   t o   r e v e r t   a n y   c h a n g e s   m a d e   t o   t h i s   h o s t   b y   k u b e a d m   i n i t   o r   k u b e a d m   j o i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26299"
  },
  {
    "question": "What is 10.1.11 - kubeadm certs?",
    "answer": "k u b e a d m   c e r t s   p r o v i d e s   u t i l i t i e s   f o r   m a n a g i n g   c e r t i f i c a t e s .   F o r   m o r e   d e t a i l s   o n   h o w   t h e s e   c o m m a n d s   c a n   b e   u s e d ,   s e e   C e r t i f i c a t e   M a n a g e m e n t   w i t h   k u b e a d m .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_26300"
  },
  {
    "question": "What is kubeadm certs?",
    "answer": "A   c o l l e c t i o n   o f   o p e r a t i o n s   f o r   o p e r a t i n g   K u b e r n e t e s   c e r t i f i c a t e s .   S y n o p s i s C o m m a n d s   r e l a t e d   t o   h a n d l i n g   K u b e r n e t e s   c e r t i f i c a t e s k u b e a d m   c e r t s   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   c e r t s O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26301"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C o m m a n d s   r e l a t e d   t o   h a n d l i n g   K u b e r n e t e s   c e r t i f i c a t e s   k u b e a d m   c e r t s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26302"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c e r t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26303"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26304"
  },
  {
    "question": "What is kubeadm certs renew?",
    "answer": "Y o u   c a n   r e n e w   a l l   K u b e r n e t e s   c e r t i f i c a t e s   u s i n g   t h e   a l l   s u b c o m m a n d   o r   r e n e w   t h e m   s e l e c t i v e l y .   F o r   m o r e   d e t a i l s   s e e   M a n u a l   c e r t i f i c a t e   r e n e w a l .   S y n o p s i s R e n e w   c e r t i f i c a t e s   f o r   a   K u b e r n e t e s   c l u s t e r k u b e a d m   c e r t s   r e n e w   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   r e n e w O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26305"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   c e r t i f i c a t e s   f o r   a   K u b e r n e t e s   c l u s t e r   k u b e a d m   c e r t s   r e n e w   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26306"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   r e n e w",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26307"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   R e n e w   a l l   a v a i l a b l e   c e r t i f i c a t e s S y n o p s i s R e n e w   a l l   k n o w n   c e r t i f i c a t e s   n e c e s s a r y   t o   r u n   t h e   c o n t r o l   p l a n e .   R e n e w a l s   a r e   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   e x p i r a t i o n   d a t e .   R e n e w a l s   c a n   a l s o   b e   r u n   i n d i v i d u a l l y   f o r   m o r e   c o n t r o l . k u b e a d m   c e r t s   r e n e w   a l l   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l p h e l p   f o r   a l l - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   R e n e w   a l l   a v a i l a b l e   c e r t i f i c a t e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26308"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   a l l   k n o w n   c e r t i f i c a t e s   n e c e s s a r y   t o   r u n   t h e   c o n t r o l   p l a n e .   R e n e w a l s   a r e   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   e x p i r a t i o n   d a t e .   R e n e w a l s   c a n   a l s o   b e   r u n   i n d i v i d u a l l y   f o r   m o r e   c o n t r o l .   k u b e a d m   c e r t s   r e n e w   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26309"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   a l l   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26310"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R e n e w   t h e   c e r t i f i c a t e   e m b e d d e d   i n   t h e   k u b e c o n f i g   f i l e   f o r   t h e   a d m i n   t o   u s e   a n d   f o r   k u b e a d m   i t s e l f . R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m . R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t . A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e . k u b e a d m   c e r t s   r e n e w   a d m i n . c o n f   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26311"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   e m b e d d e d   i n   t h e   k u b e c o n f i g   f i l e   f o r   t h e   a d m i n   t o   u s e   a n d   f o r   k u b e a d m   i t s e l f .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   a d m i n . c o n f   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26312"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   a d m i n . c o n f   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26313"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R e n e w   t h e   c e r t i f i c a t e   t h e   a p i s e r v e r   u s e s   t o   a c c e s s   e t c d . R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m . R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t . A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e . k u b e a d m   c e r t s   r e n e w   a p i s e r v e r - e t c d - c l i e n t   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l p h e l p   f o r   a p i s e r v e r - e t c d - c l i e n t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26314"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   t h e   a p i s e r v e r   u s e s   t o   a c c e s s   e t c d .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   a p i s e r v e r - e t c d - c l i e n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26315"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   a p i s e r v e r - e t c d - c l i e n t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26316"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R e n e w   t h e   c e r t i f i c a t e   f o r   t h e   A P I   s e r v e r   t o   c o n n e c t   t o   k u b e l e t . R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m . R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t . A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e . k u b e a d m   c e r t s   r e n e w   a p i s e r v e r - k u b e l e t - c l i e n t   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l p h e l p   f o r   a p i s e r v e r - k ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26317"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   f o r   t h e   A P I   s e r v e r   t o   c o n n e c t   t o   k u b e l e t .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   a p i s e r v e r - k u b e l e t - c l i e n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26318"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   a p i s e r v e r - k u b e l e t - c l i e n t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26319"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R e n e w   t h e   c e r t i f i c a t e   f o r   s e r v i n g   t h e   K u b e r n e t e s   A P I . R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m . R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t . A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e . k u b e a d m   c e r t s   r e n e w   a p i s e r v e r   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l p h e l p   f o r   a p i s e r v e r - - k u b e c o n f i g   s t r i n g   D e f a u l t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26320"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   f o r   s e r v i n g   t h e   K u b e r n e t e s   A P I .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   a p i s e r v e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26321"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   a p i s e r v e r   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26322"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R e n e w   t h e   c e r t i f i c a t e   e m b e d d e d   i n   t h e   k u b e c o n f i g   f i l e   f o r   t h e   c o n t r o l l e r   m a n a g e r   t o   u s e . R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m . R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t . A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e . k u b e a d m   c e r t s   r e n e w   c o n t r o l l e r - m a n a g e r . c o n f   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26323"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   e m b e d d e d   i n   t h e   k u b e c o n f i g   f i l e   f o r   t h e   c o n t r o l l e r   m a n a g e r   t o   u s e .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   c o n t r o l l e r - m a n a g e r . c o n f   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26324"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   c o n t r o l l e r - m a n a g e r . c o n f   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26325"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R e n e w   t h e   c e r t i f i c a t e   f o r   l i v e n e s s   p r o b e s   t o   h e a l t h c h e c k   e t c d . R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m . R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t . A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e . k u b e a d m   c e r t s   r e n e w   e t c d - h e a l t h c h e c k - c l i e n t   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l p h e l p   f o r   e t c d - h e a l t h c h ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26326"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   f o r   l i v e n e s s   p r o b e s   t o   h e a l t h c h e c k   e t c d .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   e t c d - h e a l t h c h e c k - c l i e n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26327"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   e t c d - h e a l t h c h e c k - c l i e n t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26328"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R e n e w   t h e   c e r t i f i c a t e   f o r   e t c d   n o d e s   t o   c o m m u n i c a t e   w i t h   e a c h   o t h e r . R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m . R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t . A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e . k u b e a d m   c e r t s   r e n e w   e t c d - p e e r   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l p h e l p   f o r   e t c d - p e e r - - k u b e c o n f i g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26329"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   f o r   e t c d   n o d e s   t o   c o m m u n i c a t e   w i t h   e a c h   o t h e r .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   e t c d - p e e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26330"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   e t c d - p e e r   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26331"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R e n e w   t h e   c e r t i f i c a t e   f o r   s e r v i n g   e t c d . R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m . R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t . A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e . k u b e a d m   c e r t s   r e n e w   e t c d - s e r v e r   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l p h e l p   f o r   e t c d - s e r v e r - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26332"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   f o r   s e r v i n g   e t c d .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   e t c d - s e r v e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26333"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   e t c d - s e r v e r   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26334"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R e n e w   t h e   c e r t i f i c a t e   f o r   t h e   f r o n t   p r o x y   c l i e n t . R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m . R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t . A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e . k u b e a d m   c e r t s   r e n e w   f r o n t - p r o x y - c l i e n t   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l p h e l p   f o r   f r o n t - p r o x y - c l i e n t - - k u b e c o n f i g   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26335"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   f o r   t h e   f r o n t   p r o x y   c l i e n t .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   f r o n t - p r o x y - c l i e n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26336"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   f r o n t - p r o x y - c l i e n t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26337"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R e n e w   t h e   c e r t i f i c a t e   e m b e d d e d   i n   t h e   k u b e c o n f i g   f i l e   f o r   t h e   s c h e d u l e r   m a n a g e r   t o   u s e . R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m . R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t . A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e . k u b e a d m   c e r t s   r e n e w   s c h e d u l e r . c o n f   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l p h e l p   f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26338"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   e m b e d d e d   i n   t h e   k u b e c o n f i g   f i l e   f o r   t h e   s c h e d u l e r   m a n a g e r   t o   u s e .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   s c h e d u l e r . c o n f   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26339"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   s c h e d u l e r . c o n f   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26340"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R e n e w   t h e   c e r t i f i c a t e   e m b e d d e d   i n   t h e   k u b e c o n f i g   f i l e   f o r   t h e   s u p e r - a d m i n . R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m . R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t . A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e . k u b e a d m   c e r t s   r e n e w   s u p e r - a d m i n . c o n f   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l p h e l p   f o r   s u p e r - a d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26341"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n e w   t h e   c e r t i f i c a t e   e m b e d d e d   i n   t h e   k u b e c o n f i g   f i l e   f o r   t h e   s u p e r - a d m i n .   R e n e w a l s   r u n   u n c o n d i t i o n a l l y ,   r e g a r d l e s s   o f   c e r t i f i c a t e   e x p i r a t i o n   d a t e ;   e x t r a   a t t r i b u t e s   s u c h   a s   S A N s   w i l l   b e   b a s e d   o n   t h e   e x i s t i n g   f i l e / c e r t i f i c a t e s ,   t h e r e   i s   n o   n e e d   t o   r e s u p p l y   t h e m .   R e n e w a l   b y   d e f a u l t   t r i e s   t o   u s e   t h e   c e r t i f i c a t e   a u t h o r i t y   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m ;   a s   a l t e r n a t i v e   i t   i s   p o s s i b l e   t o   u s e   K 8 s   c e r t i f i c a t e   A P I   f o r   c e r t i f i c a t e   r e n e w a l ,   o r   a s   a   l a s t   o p t i o n ,   t o   g e n e r a t e   a   C S R   r e q u e s t .   A f t e r   r e n e w a l ,   i n   o r d e r   t o   m a k e   c h a n g e s   e f f e c t i v e ,   i s   r e q u i r e d   t o   r e s t a r t   c o n t r o l - p l a n e   c o m p o n e n t s   a n d   e v e n t u a l l y   r e - d i s t r i b u t e   t h e   r e n e w e d   c e r t i f i c a t e   i n   c a s e   t h e   f i l e   i s   u s e d   e l s e w h e r e .   k u b e a d m   c e r t s   r e n e w   s u p e r - a d m i n . c o n f   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26342"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   s u p e r - a d m i n . c o n f   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26343"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26344"
  },
  {
    "question": "What is kubeadm certs certificate-key?",
    "answer": "T h i s   c o m m a n d   c a n   b e   u s e d   t o   g e n e r a t e   a   n e w   c o n t r o l - p l a n e   c e r t i f i c a t e   k e y .   T h e   k e y   c a n   b e   p a s s e d   a s   - - c e r t i f i c a t e - k e y   t o   k u b e a d m   i n i t   a n d   k u b e a d m   j o i n   t o   e n a b l e   t h e   a u t o m a t i c   c o p y   o f   c e r t i f i c a t e s   w h e n   j o i n i n g   a d d i t i o n a l   c o n t r o l - p l a n e   n o d e s .   G e n e r a t e   c e r t i f i c a t e   k e y s S y n o p s i s T h i s   c o m m a n d   w i l l   p r i n t   o u t   a   s e c u r e   r a n d o m l y - g e n e r a t e d   c e r t i f i c a t e   k e y   t h a t   c a n   b e   u s e d   w i t h   t h e   \" i n i t \"   c o m m a n d . Y o u   c a n   a l s o   u s e   \" k u b e a d m   i n i t   - - u p l o a d - c e r t s \"   w i t h o u t   s p e c i f y i n g   a   c e r t i f i c a t e   k e y   a n d   i t   w i l l   g e n e r a t e   a n d   p r i n t   o n e   f o r   y o u . k u b e a d m   c e r t s   c e r t i f i c a t e - k e y   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   c e r t i f i c a t e - k e y O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   G e n e r a t e   c e r t i f i c a t e   k e y s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26345"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h i s   c o m m a n d   w i l l   p r i n t   o u t   a   s e c u r e   r a n d o m l y - g e n e r a t e d   c e r t i f i c a t e   k e y   t h a t   c a n   b e   u s e d   w i t h   t h e   \" i n i t \"   c o m m a n d .   Y o u   c a n   a l s o   u s e   \" k u b e a d m   i n i t   - - u p l o a d - c e r t s \"   w i t h o u t   s p e c i f y i n g   a   c e r t i f i c a t e   k e y   a n d   i t   w i l l   g e n e r a t e   a n d   p r i n t   o n e   f o r   y o u .   k u b e a d m   c e r t s   c e r t i f i c a t e - k e y   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26346"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c e r t i f i c a t e - k e y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26347"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26348"
  },
  {
    "question": "What is kubeadm certs check-expiration?",
    "answer": "T h i s   c o m m a n d   c h e c k s   e x p i r a t i o n   f o r   t h e   c e r t i f i c a t e s   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m .   F o r   m o r e   d e t a i l s   s e e   C h e c k   c e r t i f i c a t e   e x p i r a t i o n .   C h e c k   c e r t i f i c a t e s   e x p i r a t i o n   f o r   a   K u b e r n e t e s   c l u s t e r S y n o p s i s C h e c k s   e x p i r a t i o n   f o r   t h e   c e r t i f i c a t e s   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m . k u b e a d m   c e r t s   c h e c k - e x p i r a t i o n   [ f l a g s ]   O p t i o n s - - a l l o w - m i s s i n g - t e m p l a t e - k e y s   D e f a u l t :   t r u e I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s . - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l p h e l p   f o r   c h e c k - e x p i r a t i o n - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e . - o ,   - - o u t p u t   s t r i n g   D e f a u l t :   \" t e x t \" O u t p u t   f o r m a t .   O n e   o f :   t e x t | j s o n | y a m l | g o - t e m p l a t e | g o - t e m p l a t e - f i l e | t e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26349"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C h e c k s   e x p i r a t i o n   f o r   t h e   c e r t i f i c a t e s   i n   t h e   l o c a l   P K I   m a n a g e d   b y   k u b e a d m .   k u b e a d m   c e r t s   c h e c k - e x p i r a t i o n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26350"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   c h e c k - e x p i r a t i o n   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   O u t p u t   f o r m a t .   O n e   o f :   t e x t | j s o n | y a m l | g o - t e m p l a t e | g o - t e m p l a t e - f i l e | t e m p l a t e | t e m p l a t e f i l e | j s o n p a t h | j s o n p a t h - a s - j s o n | j s o n p a t h - f i l e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26351"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26352"
  },
  {
    "question": "What is kubeadm certs generate-csr?",
    "answer": "T h i s   c o m m a n d   c a n   b e   u s e d   t o   g e n e r a t e   k e y s   a n d   C S R s   f o r   a l l   c o n t r o l - p l a n e   c e r t i f i c a t e s   a n d   k u b e c o n f i g   f i l e s .   T h e   u s e r   c a n   t h e n   s i g n   t h e   C S R s   w i t h   a   C A   o f   t h e i r   c h o i c e .   T o   r e a d   m o r e   i n f o r m a t i o n   o n   h o w   t o   u s e   t h e   c o m m a n d   s e e   S i g n i n g   c e r t i f i c a t e   s i g n i n g   r e q u e s t s   ( C S R )   g e n e r a t e d   b y   k u b e a d m .   G e n e r a t e   k e y s   a n d   c e r t i f i c a t e   s i g n i n g   r e q u e s t s S y n o p s i s G e n e r a t e s   k e y s   a n d   c e r t i f i c a t e   s i g n i n g   r e q u e s t s   ( C S R s )   f o r   a l l   t h e   c e r t i f i c a t e s   r e q u i r e d   t o   r u n   t h e   c o n t r o l   p l a n e .   T h i s   c o m m a n d   a l s o   g e n e r a t e s   p a r t i a l   k u b e c o n f i g   f i l e s   w i t h   p r i v a t e   k e y   d a t a   i n   t h e   \" u s e r s   >   u s e r   >   c l i e n t - k e y - d a t a \"   f i e l d ,   a n d   f o r   e a c h   k u b e c o n f i g   f i l e   a n   a c c o m p a n y i n g   \" . c s r \"   f i l e   i s   c r e a t e d . T h i s   c o m m a n d   i s   d e s i g n e d   f o r   u s e   i n   K u b e a d m   E x t e r n a l   C A   M o d e .   I t   g e n e r a t e s   C S R s   w h i c h   y o u   c a n   t h e n   s u b m i t   t o   y o u r   e x t e r n a l   c e r t i f i c a t e   a u t h o r i t y   f o r   s i g n i n g . T h e   P E M   e n c o d e d   s i g n e d   c e r t i f i c a t e s   s h o u l d   t h e n   b e   s a v e d   a l o n g s i d e   t h e   k e y   f i l e s ,   u s i n g   \" . c r t \"   a s   t h e   f i l e   e x t e n s i o n ,   o r   i n   t h e   c a s e   o f   k u b e c o n f i g   f i l e s ,   t h e   P E M   e n c o d e d   s i g n e d   c e r t i f i c a t e   s h o u l d   b ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26353"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e s   k e y s   a n d   c e r t i f i c a t e   s i g n i n g   r e q u e s t s   ( C S R s )   f o r   a l l   t h e   c e r t i f i c a t e s   r e q u i r e d   t o   r u n   t h e   c o n t r o l   p l a n e .   T h i s   c o m m a n d   a l s o   g e n e r a t e s   p a r t i a l   k u b e c o n f i g   f i l e s   w i t h   p r i v a t e   k e y   d a t a   i n   t h e   \" u s e r s   >   u s e r   >   c l i e n t - k e y - d a t a \"   f i e l d ,   a n d   f o r   e a c h   k u b e c o n f i g   f i l e   a n   a c c o m p a n y i n g   \" . c s r \"   f i l e   i s   c r e a t e d .   T h i s   c o m m a n d   i s   d e s i g n e d   f o r   u s e   i n   K u b e a d m   E x t e r n a l   C A   M o d e .   I t   g e n e r a t e s   C S R s   w h i c h   y o u   c a n   t h e n   s u b m i t   t o   y o u r   e x t e r n a l   c e r t i f i c a t e   a u t h o r i t y   f o r   s i g n i n g .   T h e   P E M   e n c o d e d   s i g n e d   c e r t i f i c a t e s   s h o u l d   t h e n   b e   s a v e d   a l o n g s i d e   t h e   k e y   f i l e s ,   u s i n g   \" . c r t \"   a s   t h e   f i l e   e x t e n s i o n ,   o r   i n   t h e   c a s e   o f   k u b e c o n f i g   f i l e s ,   t h e   P E M   e n c o d e d   s i g n e d   c e r t i f i c a t e   s h o u l d   b e   b a s e 6 4   e n c o d e d   a n d   a d d e d   t o   t h e   k u b e c o n f i g   f i l e   i n   t h e   \" u s e r s   >   u s e r   >   c l i e n t - c e r t i f i c a t e - d a t a \"   f i e l d .   k u b e a d m   c e r t s   g e n e r a t e - c s r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26354"
  },
  {
    "question": "What is Examples?",
    "answer": "#   T h e   f o l l o w i n g   c o m m a n d   w i l l   g e n e r a t e   k e y s   a n d   C S R s   f o r   a l l   c o n t r o l - p l a n e   c e r t i f i c a t e s   a n d   k u b e c o n f i g   f i l e s :   k u b e a d m   c e r t s   g e n e r a t e - c s r   - - k u b e c o n f i g - d i r   / t m p / e t c - k 8 s   - - c e r t - d i r   / t m p / e t c - k 8 s / p k i",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26355"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   t h e   c e r t i f i c a t e s   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   g e n e r a t e - c s r   T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26356"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26357"
  },
  {
    "question": "What is What's next?",
    "answer": "k u b e a d m   i n i t   t o   b o o t s t r a p   a   K u b e r n e t e s   c o n t r o l - p l a n e   n o d e k u b e a d m   j o i n   t o   c o n n e c t   a   n o d e   t o   t h e   c l u s t e r k u b e a d m   r e s e t   t o   r e v e r t   a n y   c h a n g e s   m a d e   t o   t h i s   h o s t   b y   k u b e a d m   i n i t   o r   k u b e a d m   j o i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26358"
  },
  {
    "question": "What is 10.1.12 - kubeadm init phase?",
    "answer": "k u b e a d m   i n i t   p h a s e   e n a b l e s   y o u   t o   i n v o k e   a t o m i c   s t e p s   o f   t h e   b o o t s t r a p   p r o c e s s .   H e n c e ,   y o u   c a n   l e t   k u b e a d m   d o   s o m e   o f   t h e   w o r k   a n d   y o u   c a n   f i l l   i n   t h e   g a p s   i f   y o u   w i s h   t o   a p p l y   c u s t o m i z a t i o n .   k u b e a d m   i n i t   p h a s e   i s   c o n s i s t e n t   w i t h   t h e   k u b e a d m   i n i t   w o r k f l o w ,   a n d   b e h i n d   t h e   s c e n e   b o t h   u s e   t h e   s a m e   c o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_26359"
  },
  {
    "question": "What is kubeadm init phase preflight?",
    "answer": "U s i n g   t h i s   c o m m a n d   y o u   c a n   e x e c u t e   p r e f l i g h t   c h e c k s   o n   a   c o n t r o l - p l a n e   n o d e .   S y n o p s i s R u n   p r e - f l i g h t   c h e c k s   f o r   k u b e a d m   i n i t . k u b e a d m   i n i t   p h a s e   p r e f l i g h t   [ f l a g s ]   E x a m p l e s   #   R u n   p r e - f l i g h t   c h e c k s   f o r   k u b e a d m   i n i t   u s i n g   a   c o n f i g   f i l e .   k u b e a d m   i n i t   p h a s e   p r e f l i g h t   - - c o n f i g   k u b e a d m - c o n f i g . y a m l   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c r i - s o c k e t   s t r i n g P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   p r e f l i g h t - - i g n o r e - p r e f l i g h t - e r r o r s   s t r i n g s A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s . - - i m a g e - r e p o s i t o r y   s t r i n g   D e f a u l t :   \" r e g i s t r y . k 8 s . i o \" C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26360"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   p r e - f l i g h t   c h e c k s   f o r   k u b e a d m   i n i t .   k u b e a d m   i n i t   p h a s e   p r e f l i g h t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26361"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R u n   p r e - f l i g h t   c h e c k s   f o r   k u b e a d m   i n i t   u s i n g   a   c o n f i g   f i l e .   k u b e a d m   i n i t   p h a s e   p r e f l i g h t   - - c o n f i g   k u b e a d m - c o n f i g . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26362"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   p r e f l i g h t   A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26363"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26364"
  },
  {
    "question": "What is kubeadm init phase kubelet-start?",
    "answer": "T h i s   p h a s e   w i l l   w r i t e   t h e   k u b e l e t   c o n f i g u r a t i o n   f i l e   a n d   e n v i r o n m e n t   f i l e   a n d   t h e n   s t a r t   t h e   k u b e l e t .   W r i t e   k u b e l e t   s e t t i n g s   a n d   ( r e ) s t a r t   t h e   k u b e l e t S y n o p s i s W r i t e   a   f i l e   w i t h   K u b e l e t C o n f i g u r a t i o n   a n d   a n   e n v i r o n m e n t   f i l e   w i t h   n o d e   s p e c i f i c   k u b e l e t   s e t t i n g s ,   a n d   t h e n   ( r e ) s t a r t   k u b e l e t . k u b e a d m   i n i t   p h a s e   k u b e l e t - s t a r t   [ f l a g s ]   E x a m p l e s   #   W r i t e s   a   d y n a m i c   e n v i r o n m e n t   f i l e   w i t h   k u b e l e t   f l a g s   f r o m   a   I n i t C o n f i g u r a t i o n   f i l e .   k u b e a d m   i n i t   p h a s e   k u b e l e t - s t a r t   - - c o n f i g   c o n f i g . y a m l   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c r i - s o c k e t   s t r i n g P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   k u b e l e t - s t a r t - - i m a g e - r e p o s i t o r y   s t r i n g   D e f a u l t :   \" r e g i s t r y . k 8 s . i o \" C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m - - n o d e - n a m e   s t r i n g S p e c i f y   t h e   n o d e   n a m e . - - p a t c h e s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26365"
  },
  {
    "question": "What is Synopsis?",
    "answer": "W r i t e   a   f i l e   w i t h   K u b e l e t C o n f i g u r a t i o n   a n d   a n   e n v i r o n m e n t   f i l e   w i t h   n o d e   s p e c i f i c   k u b e l e t   s e t t i n g s ,   a n d   t h e n   ( r e ) s t a r t   k u b e l e t .   k u b e a d m   i n i t   p h a s e   k u b e l e t - s t a r t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26366"
  },
  {
    "question": "What is Examples?",
    "answer": "#   W r i t e s   a   d y n a m i c   e n v i r o n m e n t   f i l e   w i t h   k u b e l e t   f l a g s   f r o m   a   I n i t C o n f i g u r a t i o n   f i l e .   k u b e a d m   i n i t   p h a s e   k u b e l e t - s t a r t   - - c o n f i g   c o n f i g . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26367"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   k u b e l e t - s t a r t   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   S p e c i f y   t h e   n o d e   n a m e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26368"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26369"
  },
  {
    "question": "What is kubeadm init phase certs?",
    "answer": "C a n   b e   u s e d   t o   c r e a t e   a l l   r e q u i r e d   c e r t i f i c a t e s   b y   k u b e a d m .   S y n o p s i s C e r t i f i c a t e   g e n e r a t i o n k u b e a d m   i n i t   p h a s e   c e r t s   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   c e r t s O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26370"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C e r t i f i c a t e   g e n e r a t i o n   k u b e a d m   i n i t   p h a s e   c e r t s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26371"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c e r t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26372"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   a l l   c e r t i f i c a t e s k u b e a d m   i n i t   p h a s e   c e r t s   a l l   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - c e r t - e x t r a - s a n s   s t r i n g s O p t i o n a l   e x t r a   S u b j e c t   A l t e r n a t i v e   N a m e s   ( S A N s )   t o   u s e   f o r   t h e   A P I   S e r v e r   s e r v i n g   c e r t i f i c a t e .   C a n   b e   b o t h   I P   a d d r e s s e s   a n d   D N S   n a m e s . - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e - e n d p o i n t   s t r i n g S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   a l l - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . - - s e r v i c e - c i d r   s t r i n g   D e f a u l t :   \" 1 0 . 9 6 . 0 . 0 / 1 2 \" U s e   a l t e r n a t i v e   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26373"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   a l l   c e r t i f i c a t e s   k u b e a d m   i n i t   p h a s e   c e r t s   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26374"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   O p t i o n a l   e x t r a   S u b j e c t   A l t e r n a t i v e   N a m e s   ( S A N s )   t o   u s e   f o r   t h e   A P I   S e r v e r   s e r v i n g   c e r t i f i c a t e .   C a n   b e   b o t h   I P   a d d r e s s e s   a n d   D N S   n a m e s .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a l l   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   U s e   a l t e r n a t i v e   r a n g e   o f   I P   a d d r e s s   f o r   s e r v i c e   V I P s .   U s e   a l t e r n a t i v e   d o m a i n   f o r   s e r v i c e s ,   e . g .   \" m y o r g . i n t e r n a l \" .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26375"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   s e l f - s i g n e d   K u b e r n e t e s   C A   t o   p r o v i s i o n   i d e n t i t i e s   f o r   o t h e r   K u b e r n e t e s   c o m p o n e n t s ,   a n d   s a v e   t h e m   i n t o   c a . c r t   a n d   c a . k e y   f i l e s . I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d . k u b e a d m   i n i t   p h a s e   c e r t s   c a   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   c a - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26376"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   s e l f - s i g n e d   K u b e r n e t e s   C A   t o   p r o v i s i o n   i d e n t i t i e s   f o r   o t h e r   K u b e r n e t e s   c o m p o n e n t s ,   a n d   s a v e   t h e m   i n t o   c a . c r t   a n d   c a . k e y   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   c a   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26377"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   c a   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26378"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   c e r t i f i c a t e   f o r   s e r v i n g   t h e   K u b e r n e t e s   A P I ,   a n d   s a v e   t h e m   i n t o   a p i s e r v e r . c r t   a n d   a p i s e r v e r . k e y   f i l e s . I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d . k u b e a d m   i n i t   p h a s e   c e r t s   a p i s e r v e r   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - c e r t - e x t r a - s a n s   s t r i n g s O p t i o n a l   e x t r a   S u b j e c t   A l t e r n a t i v e   N a m e s   ( S A N s )   t o   u s e   f o r   t h e   A P I   S e r v e r   s e r v i n g   c e r t i f i c a t e .   C a n   b e   b o t h   I P   a d d r e s s e s   a n d   D N S   n a m e s . - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e - e n d p o i n t   s t r i n g S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26379"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   c e r t i f i c a t e   f o r   s e r v i n g   t h e   K u b e r n e t e s   A P I ,   a n d   s a v e   t h e m   i n t o   a p i s e r v e r . c r t   a n d   a p i s e r v e r . k e y   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   a p i s e r v e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26380"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   O p t i o n a l   e x t r a   S u b j e c t   A l t e r n a t i v e   N a m e s   ( S A N s )   t o   u s e   f o r   t h e   A P I   S e r v e r   s e r v i n g   c e r t i f i c a t e .   C a n   b e   b o t h   I P   a d d r e s s e s   a n d   D N S   n a m e s .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a p i s e r v e r   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   U s e   a l t e r n a t i v e   r a n g e   o f   I P   a d d r e s s   f o r   s e r v i c e   V I P s .   U s e   a l t e r n a t i v e   d o m a i n   f o r   s e r v i c e s ,   e . g .   \" m y o r g . i n t e r n a l \" .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26381"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   c e r t i f i c a t e   f o r   t h e   A P I   s e r v e r   t o   c o n n e c t   t o   k u b e l e t ,   a n d   s a v e   t h e m   i n t o   a p i s e r v e r - k u b e l e t - c l i e n t . c r t   a n d   a p i s e r v e r - k u b e l e t - c l i e n t . k e y   f i l e s . I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d . k u b e a d m   i n i t   p h a s e   c e r t s   a p i s e r v e r - k u b e l e t - c l i e n t   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   a p i s e r v e r - k u b e l e t - c l i e n t - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26382"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   c e r t i f i c a t e   f o r   t h e   A P I   s e r v e r   t o   c o n n e c t   t o   k u b e l e t ,   a n d   s a v e   t h e m   i n t o   a p i s e r v e r - k u b e l e t - c l i e n t . c r t   a n d   a p i s e r v e r - k u b e l e t - c l i e n t . k e y   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   a p i s e r v e r - k u b e l e t - c l i e n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26383"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a p i s e r v e r - k u b e l e t - c l i e n t   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26384"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   s e l f - s i g n e d   C A   t o   p r o v i s i o n   i d e n t i t i e s   f o r   f r o n t   p r o x y ,   a n d   s a v e   t h e m   i n t o   f r o n t - p r o x y - c a . c r t   a n d   f r o n t - p r o x y - c a . k e y   f i l e s . I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d . k u b e a d m   i n i t   p h a s e   c e r t s   f r o n t - p r o x y - c a   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   f r o n t - p r o x y - c a - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26385"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   s e l f - s i g n e d   C A   t o   p r o v i s i o n   i d e n t i t i e s   f o r   f r o n t   p r o x y ,   a n d   s a v e   t h e m   i n t o   f r o n t - p r o x y - c a . c r t   a n d   f r o n t - p r o x y - c a . k e y   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   f r o n t - p r o x y - c a   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26386"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   f r o n t - p r o x y - c a   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26387"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   c e r t i f i c a t e   f o r   t h e   f r o n t   p r o x y   c l i e n t ,   a n d   s a v e   t h e m   i n t o   f r o n t - p r o x y - c l i e n t . c r t   a n d   f r o n t - p r o x y - c l i e n t . k e y   f i l e s . I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d . k u b e a d m   i n i t   p h a s e   c e r t s   f r o n t - p r o x y - c l i e n t   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   f r o n t - p r o x y - c l i e n t - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26388"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   c e r t i f i c a t e   f o r   t h e   f r o n t   p r o x y   c l i e n t ,   a n d   s a v e   t h e m   i n t o   f r o n t - p r o x y - c l i e n t . c r t   a n d   f r o n t - p r o x y - c l i e n t . k e y   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   f r o n t - p r o x y - c l i e n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26389"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   f r o n t - p r o x y - c l i e n t   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26390"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   s e l f - s i g n e d   C A   t o   p r o v i s i o n   i d e n t i t i e s   f o r   e t c d ,   a n d   s a v e   t h e m   i n t o   e t c d / c a . c r t   a n d   e t c d / c a . k e y   f i l e s . I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d . k u b e a d m   i n i t   p h a s e   c e r t s   e t c d - c a   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   e t c d - c a - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26391"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   s e l f - s i g n e d   C A   t o   p r o v i s i o n   i d e n t i t i e s   f o r   e t c d ,   a n d   s a v e   t h e m   i n t o   e t c d / c a . c r t   a n d   e t c d / c a . k e y   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   e t c d - c a   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26392"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   e t c d - c a   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26393"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   c e r t i f i c a t e   f o r   s e r v i n g   e t c d ,   a n d   s a v e   t h e m   i n t o   e t c d / s e r v e r . c r t   a n d   e t c d / s e r v e r . k e y   f i l e s . D e f a u l t   S A N s   a r e   l o c a l h o s t ,   1 2 7 . 0 . 0 . 1 ,   1 2 7 . 0 . 0 . 1 ,   : : 1 I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d . k u b e a d m   i n i t   p h a s e   c e r t s   e t c d - s e r v e r   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   e t c d - s e r v e r - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26394"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   c e r t i f i c a t e   f o r   s e r v i n g   e t c d ,   a n d   s a v e   t h e m   i n t o   e t c d / s e r v e r . c r t   a n d   e t c d / s e r v e r . k e y   f i l e s .   D e f a u l t   S A N s   a r e   l o c a l h o s t ,   1 2 7 . 0 . 0 . 1 ,   1 2 7 . 0 . 0 . 1 ,   : : 1   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   e t c d - s e r v e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26395"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   e t c d - s e r v e r   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26396"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   c e r t i f i c a t e   f o r   e t c d   n o d e s   t o   c o m m u n i c a t e   w i t h   e a c h   o t h e r ,   a n d   s a v e   t h e m   i n t o   e t c d / p e e r . c r t   a n d   e t c d / p e e r . k e y   f i l e s . D e f a u l t   S A N s   a r e   l o c a l h o s t ,   1 2 7 . 0 . 0 . 1 ,   1 2 7 . 0 . 0 . 1 ,   : : 1 I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d . k u b e a d m   i n i t   p h a s e   c e r t s   e t c d - p e e r   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   e t c d - p e e r - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26397"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   c e r t i f i c a t e   f o r   e t c d   n o d e s   t o   c o m m u n i c a t e   w i t h   e a c h   o t h e r ,   a n d   s a v e   t h e m   i n t o   e t c d / p e e r . c r t   a n d   e t c d / p e e r . k e y   f i l e s .   D e f a u l t   S A N s   a r e   l o c a l h o s t ,   1 2 7 . 0 . 0 . 1 ,   1 2 7 . 0 . 0 . 1 ,   : : 1   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   e t c d - p e e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26398"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   e t c d - p e e r   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26399"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   c e r t i f i c a t e   f o r   l i v e n e s s   p r o b e s   t o   h e a l t h c h e c k   e t c d ,   a n d   s a v e   t h e m   i n t o   e t c d / h e a l t h c h e c k - c l i e n t . c r t   a n d   e t c d / h e a l t h c h e c k - c l i e n t . k e y   f i l e s . I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d . k u b e a d m   i n i t   p h a s e   c e r t s   e t c d - h e a l t h c h e c k - c l i e n t   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   e t c d - h e a l t h c h e c k - c l i e n t - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26400"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   c e r t i f i c a t e   f o r   l i v e n e s s   p r o b e s   t o   h e a l t h c h e c k   e t c d ,   a n d   s a v e   t h e m   i n t o   e t c d / h e a l t h c h e c k - c l i e n t . c r t   a n d   e t c d / h e a l t h c h e c k - c l i e n t . k e y   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   e t c d - h e a l t h c h e c k - c l i e n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26401"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   e t c d - h e a l t h c h e c k - c l i e n t   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26402"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   c e r t i f i c a t e   t h e   a p i s e r v e r   u s e s   t o   a c c e s s   e t c d ,   a n d   s a v e   t h e m   i n t o   a p i s e r v e r - e t c d - c l i e n t . c r t   a n d   a p i s e r v e r - e t c d - c l i e n t . k e y   f i l e s . I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d . k u b e a d m   i n i t   p h a s e   c e r t s   a p i s e r v e r - e t c d - c l i e n t   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   a p i s e r v e r - e t c d - c l i e n t - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26403"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   c e r t i f i c a t e   t h e   a p i s e r v e r   u s e s   t o   a c c e s s   e t c d ,   a n d   s a v e   t h e m   i n t o   a p i s e r v e r - e t c d - c l i e n t . c r t   a n d   a p i s e r v e r - e t c d - c l i e n t . k e y   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   a p i s e r v e r - e t c d - c l i e n t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26404"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a p i s e r v e r - e t c d - c l i e n t   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26405"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   G e n e r a t e   a   p r i v a t e   k e y   f o r   s i g n i n g   s e r v i c e   a c c o u n t   t o k e n s   a l o n g   w i t h   i t s   p u b l i c   k e y S y n o p s i s G e n e r a t e   t h e   p r i v a t e   k e y   f o r   s i g n i n g   s e r v i c e   a c c o u n t   t o k e n s   a l o n g   w i t h   i t s   p u b l i c   k e y ,   a n d   s a v e   t h e m   i n t o   s a . k e y   a n d   s a . p u b   f i l e s . I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d . k u b e a d m   i n i t   p h a s e   c e r t s   s a   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   s a - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   G e n e r a t e   a   p r i v a t e   k e y   f o r   s i g n i n g   s e r v i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26406"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   p r i v a t e   k e y   f o r   s i g n i n g   s e r v i c e   a c c o u n t   t o k e n s   a l o n g   w i t h   i t s   p u b l i c   k e y ,   a n d   s a v e   t h e m   i n t o   s a . k e y   a n d   s a . p u b   f i l e s .   I f   b o t h   f i l e s   a l r e a d y   e x i s t ,   k u b e a d m   s k i p s   t h e   g e n e r a t i o n   s t e p   a n d   e x i s t i n g   f i l e s   w i l l   b e   u s e d .   k u b e a d m   i n i t   p h a s e   c e r t s   s a   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26407"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   s a   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26408"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26409"
  },
  {
    "question": "What is kubeadm init phase kubeconfig?",
    "answer": "Y o u   c a n   c r e a t e   a l l   r e q u i r e d   k u b e c o n f i g   f i l e s   b y   c a l l i n g   t h e   a l l   s u b c o m m a n d   o r   c a l l   t h e m   i n d i v i d u a l l y .   S y n o p s i s G e n e r a t e   a l l   k u b e c o n f i g   f i l e s   n e c e s s a r y   t o   e s t a b l i s h   t h e   c o n t r o l   p l a n e   a n d   t h e   a d m i n   k u b e c o n f i g   f i l e k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   k u b e c o n f i g O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26410"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   a l l   k u b e c o n f i g   f i l e s   n e c e s s a r y   t o   e s t a b l i s h   t h e   c o n t r o l   p l a n e   a n d   t h e   a d m i n   k u b e c o n f i g   f i l e   k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26411"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   k u b e c o n f i g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26412"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   a l l   k u b e c o n f i g   f i l e s k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   a l l   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - b i n d - p o r t   i n t 3 2   D e f a u l t :   6 4 4 3 P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o . - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e - e n d p o i n t   s t r i n g S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   a l l - - k u b e c o n f i g - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s \" T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e . - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . - - n o d e - n a m e   s t r i n g S p e c i f y   t h e   n o d e   n a m e . O p t i o n s   i n h e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26413"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   a l l   k u b e c o n f i g   f i l e s   k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26414"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a l l   T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   S p e c i f y   t h e   n o d e   n a m e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26415"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   G e n e r a t e   a   k u b e c o n f i g   f i l e   f o r   t h e   a d m i n   t o   u s e   a n d   f o r   k u b e a d m   i t s e l f S y n o p s i s G e n e r a t e   t h e   k u b e c o n f i g   f i l e   f o r   t h e   a d m i n   a n d   f o r   k u b e a d m   i t s e l f ,   a n d   s a v e   i t   t o   a d m i n . c o n f   f i l e . k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   a d m i n   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - b i n d - p o r t   i n t 3 2   D e f a u l t :   6 4 4 3 P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o . - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e - e n d p o i n t   s t r i n g S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   a d m i n - - k u b e c o n f i g - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s \" T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e . - - k u b e r n e t e s - v e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26416"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   k u b e c o n f i g   f i l e   f o r   t h e   a d m i n   a n d   f o r   k u b e a d m   i t s e l f ,   a n d   s a v e   i t   t o   a d m i n . c o n f   f i l e .   k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   a d m i n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26417"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a d m i n   T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26418"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   G e n e r a t e   a   k u b e c o n f i g   f i l e   f o r   t h e   k u b e l e t   t o   u s e   o n l y   f o r   c l u s t e r   b o o t s t r a p p i n g   p u r p o s e s S y n o p s i s G e n e r a t e   t h e   k u b e c o n f i g   f i l e   f o r   t h e   k u b e l e t   t o   u s e   a n d   s a v e   i t   t o   k u b e l e t . c o n f   f i l e . P l e a s e   n o t e   t h a t   t h i s   s h o u l d   o n l y   b e   u s e d   f o r   c l u s t e r   b o o t s t r a p p i n g   p u r p o s e s .   A f t e r   y o u r   c o n t r o l   p l a n e   i s   u p ,   y o u   s h o u l d   r e q u e s t   a l l   k u b e l e t   c r e d e n t i a l s   f r o m   t h e   C S R   A P I . k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   k u b e l e t   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - b i n d - p o r t   i n t 3 2   D e f a u l t :   6 4 4 3 P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o . - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e - e n d p o i n t   s t r i n g S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e . - - d r y - r u n D o n ' t   a p p l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26419"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   k u b e c o n f i g   f i l e   f o r   t h e   k u b e l e t   t o   u s e   a n d   s a v e   i t   t o   k u b e l e t . c o n f   f i l e .   P l e a s e   n o t e   t h a t   t h i s   s h o u l d   o n l y   b e   u s e d   f o r   c l u s t e r   b o o t s t r a p p i n g   p u r p o s e s .   A f t e r   y o u r   c o n t r o l   p l a n e   i s   u p ,   y o u   s h o u l d   r e q u e s t   a l l   k u b e l e t   c r e d e n t i a l s   f r o m   t h e   C S R   A P I .   k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   k u b e l e t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26420"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   k u b e l e t   T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   S p e c i f y   t h e   n o d e   n a m e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26421"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   G e n e r a t e   a   k u b e c o n f i g   f i l e   f o r   t h e   c o n t r o l l e r   m a n a g e r   t o   u s e S y n o p s i s G e n e r a t e   t h e   k u b e c o n f i g   f i l e   f o r   t h e   c o n t r o l l e r   m a n a g e r   t o   u s e   a n d   s a v e   i t   t o   c o n t r o l l e r - m a n a g e r . c o n f   f i l e k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   c o n t r o l l e r - m a n a g e r   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - b i n d - p o r t   i n t 3 2   D e f a u l t :   6 4 4 3 P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o . - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e - e n d p o i n t   s t r i n g S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   c o n t r o l l e r - m a n a g e r - - k u b e c o n f i g - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s \" T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26422"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   k u b e c o n f i g   f i l e   f o r   t h e   c o n t r o l l e r   m a n a g e r   t o   u s e   a n d   s a v e   i t   t o   c o n t r o l l e r - m a n a g e r . c o n f   f i l e   k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   c o n t r o l l e r - m a n a g e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26423"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   c o n t r o l l e r - m a n a g e r   T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26424"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   G e n e r a t e   a   k u b e c o n f i g   f i l e   f o r   t h e   s c h e d u l e r   t o   u s e S y n o p s i s G e n e r a t e   t h e   k u b e c o n f i g   f i l e   f o r   t h e   s c h e d u l e r   t o   u s e   a n d   s a v e   i t   t o   s c h e d u l e r . c o n f   f i l e . k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   s c h e d u l e r   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - b i n d - p o r t   i n t 3 2   D e f a u l t :   6 4 4 3 P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o . - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e - e n d p o i n t   s t r i n g S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   s c h e d u l e r - - k u b e c o n f i g - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s \" T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e . - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26425"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   k u b e c o n f i g   f i l e   f o r   t h e   s c h e d u l e r   t o   u s e   a n d   s a v e   i t   t o   s c h e d u l e r . c o n f   f i l e .   k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   s c h e d u l e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26426"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   s c h e d u l e r   T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26427"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   a   k u b e c o n f i g   f i l e   f o r   t h e   s u p e r - a d m i n ,   a n d   s a v e   i t   t o   s u p e r - a d m i n . c o n f   f i l e . k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   s u p e r - a d m i n   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - b i n d - p o r t   i n t 3 2   D e f a u l t :   6 4 4 3 P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o . - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e - e n d p o i n t   s t r i n g S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   s u p e r - a d m i n - - k u b e c o n f i g - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s \" T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e . - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26428"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   a   k u b e c o n f i g   f i l e   f o r   t h e   s u p e r - a d m i n ,   a n d   s a v e   i t   t o   s u p e r - a d m i n . c o n f   f i l e .   k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   s u p e r - a d m i n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26429"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   s u p e r - a d m i n   T h e   p a t h   w h e r e   t o   s a v e   t h e   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26430"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26431"
  },
  {
    "question": "What is kubeadm init phase control-plane?",
    "answer": "U s i n g   t h i s   p h a s e   y o u   c a n   c r e a t e   a l l   r e q u i r e d   s t a t i c   P o d   f i l e s   f o r   t h e   c o n t r o l   p l a n e   c o m p o n e n t s .   S y n o p s i s G e n e r a t e   a l l   s t a t i c   P o d   m a n i f e s t   f i l e s   n e c e s s a r y   t o   e s t a b l i s h   t h e   c o n t r o l   p l a n e k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   c o n t r o l - p l a n e O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26432"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   a l l   s t a t i c   P o d   m a n i f e s t   f i l e s   n e c e s s a r y   t o   e s t a b l i s h   t h e   c o n t r o l   p l a n e   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26433"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c o n t r o l - p l a n e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26434"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   a l l   s t a t i c   P o d   m a n i f e s t   f i l e s k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   a l l   [ f l a g s ]   E x a m p l e s   #   G e n e r a t e s   a l l   s t a t i c   P o d   m a n i f e s t   f i l e s   f o r   c o n t r o l   p l a n e   c o m p o n e n t s ,   #   f u n c t i o n a l l y   e q u i v a l e n t   t o   w h a t   i s   g e n e r a t e d   b y   k u b e a d m   i n i t .   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   a l l   #   G e n e r a t e s   a l l   s t a t i c   P o d   m a n i f e s t   f i l e s   u s i n g   o p t i o n s   r e a d   f r o m   a   c o n f i g u r a t i o n   f i l e .   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   a l l   - - c o n f i g   c o n f i g . y a m l   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - b i n d - p o r t   i n t 3 2   D e f a u l t :   6 4 4 3 P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o . - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e - e n d p o i n t   s t r i n g S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26435"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   a l l   s t a t i c   P o d   m a n i f e s t   f i l e s   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26436"
  },
  {
    "question": "What is Examples?",
    "answer": "#   G e n e r a t e s   a l l   s t a t i c   P o d   m a n i f e s t   f i l e s   f o r   c o n t r o l   p l a n e   c o m p o n e n t s ,   #   f u n c t i o n a l l y   e q u i v a l e n t   t o   w h a t   i s   g e n e r a t e d   b y   k u b e a d m   i n i t .   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   a l l   #   G e n e r a t e s   a l l   s t a t i c   P o d   m a n i f e s t   f i l e s   u s i n g   o p t i o n s   r e a d   f r o m   a   c o n f i g u r a t i o n   f i l e .   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   a l l   - - c o n f i g   c o n f i g . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26437"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d e L o c a l C R I S o c k e t = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) P u b l i c K e y s E C D S A = t r u e | f a l s e   ( D E P R E C A T E D   -   d e f a u l t = f a l s e ) R o o t l e s s C o n t r o l P l a n e = t r u e | f a l s e   ( A L P H A   -   d e f a u l t = f a l s e ) W a i t F o r A l l C o n t r o l P l a n e C o m p o n e n t s = t r u e | f a l s e   ( d e f a u l t = t r u e )   h e l p   f o r   a l l   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26438"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e s   t h e   k u b e - a p i s e r v e r   s t a t i c   P o d   m a n i f e s t k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   a p i s e r v e r   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - b i n d - p o r t   i n t 3 2   D e f a u l t :   6 4 4 3 P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o . - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e - e n d p o i n t   s t r i n g S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - - f e a t u r e - g a t e s   s t r i n g A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d e L o c a l C R I S o c k e t = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) P u b l i c K e y s E C D S A = t r u e | f a l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26439"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e s   t h e   k u b e - a p i s e r v e r   s t a t i c   P o d   m a n i f e s t   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   a p i s e r v e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26440"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d e L o c a l C R I S o c k e t = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) P u b l i c K e y s E C D S A = t r u e | f a l s e   ( D E P R E C A T E D   -   d e f a u l t = f a l s e ) R o o t l e s s C o n t r o l P l a n e = t r u e | f a l s e   ( A L P H A   -   d e f a u l t = f a l s e ) W a i t F o r A l l C o n t r o l P l a n e C o m p o n e n t s = t r u e | f a l s e   ( d e f a u l t = t r u e )   h e l p   f o r   a p i s e r v e r   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \" ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26441"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e s   t h e   k u b e - c o n t r o l l e r - m a n a g e r   s t a t i c   P o d   m a n i f e s t k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   c o n t r o l l e r - m a n a g e r   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   c o n t r o l l e r - m a n a g e r - - i m a g e - r e p o s i t o r y   s t r i n g   D e f a u l t :   \" r e g i s t r y . k 8 s . i o \" C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . - - p a t c h e s   s t r i n g P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26442"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e s   t h e   k u b e - c o n t r o l l e r - m a n a g e r   s t a t i c   P o d   m a n i f e s t   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   c o n t r o l l e r - m a n a g e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26443"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   c o n t r o l l e r - m a n a g e r   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .   S p e c i f y   r a n g e   o f   I P   a d d r e s s e s   f o r   t h e   p o d   n e t w o r k .   I f   s e t ,   t h e   c o n t r o l   p l a n e   w i l l   a u t o m a t i c a l l y   a l l o c a t e   C I ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26444"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e s   t h e   k u b e - s c h e d u l e r   s t a t i c   P o d   m a n i f e s t k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   s c h e d u l e r   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   s c h e d u l e r - - i m a g e - r e p o s i t o r y   s t r i n g   D e f a u l t :   \" r e g i s t r y . k 8 s . i o \" C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m - - k u b e r n e t e s - v e r s i o n   s t r i n g   D e f a u l t :   \" s t a b l e - 1 \" C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e . - - p a t c h e s   s t r i n g P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26445"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e s   t h e   k u b e - s c h e d u l e r   s t a t i c   P o d   m a n i f e s t   k u b e a d m   i n i t   p h a s e   c o n t r o l - p l a n e   s c h e d u l e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26446"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   s c h e d u l e r   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26447"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26448"
  },
  {
    "question": "What is kubeadm init phase etcd?",
    "answer": "U s e   t h e   f o l l o w i n g   p h a s e   t o   c r e a t e   a   l o c a l   e t c d   i n s t a n c e   b a s e d   o n   a   s t a t i c   P o d   f i l e .   S y n o p s i s G e n e r a t e   s t a t i c   P o d   m a n i f e s t   f i l e   f o r   l o c a l   e t c d k u b e a d m   i n i t   p h a s e   e t c d   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   e t c d O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26449"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   s t a t i c   P o d   m a n i f e s t   f i l e   f o r   l o c a l   e t c d   k u b e a d m   i n i t   p h a s e   e t c d   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26450"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   e t c d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26451"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   s t a t i c   P o d   m a n i f e s t   f i l e   f o r   a   l o c a l ,   s i n g l e - n o d e   l o c a l   e t c d   i n s t a n c e k u b e a d m   i n i t   p h a s e   e t c d   l o c a l   [ f l a g s ]   E x a m p l e s   #   G e n e r a t e s   t h e   s t a t i c   P o d   m a n i f e s t   f i l e   f o r   e t c d ,   f u n c t i o n a l l y   #   e q u i v a l e n t   t o   w h a t   i s   g e n e r a t e d   b y   k u b e a d m   i n i t .   k u b e a d m   i n i t   p h a s e   e t c d   l o c a l   #   G e n e r a t e s   t h e   s t a t i c   P o d   m a n i f e s t   f i l e   f o r   e t c d   u s i n g   o p t i o n s   #   r e a d   f r o m   a   c o n f i g u r a t i o n   f i l e .   k u b e a d m   i n i t   p h a s e   e t c d   l o c a l   - - c o n f i g   c o n f i g . y a m l   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   l o c a l - - i m a g e - r e p o s i t o r y   s t r i n g   D e f a u l t :   \" r e g i s t r y . k 8 s . i o \" C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m - - p a t c h e s   s t r i n g P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26452"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   s t a t i c   P o d   m a n i f e s t   f i l e   f o r   a   l o c a l ,   s i n g l e - n o d e   l o c a l   e t c d   i n s t a n c e   k u b e a d m   i n i t   p h a s e   e t c d   l o c a l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26453"
  },
  {
    "question": "What is Examples?",
    "answer": "#   G e n e r a t e s   t h e   s t a t i c   P o d   m a n i f e s t   f i l e   f o r   e t c d ,   f u n c t i o n a l l y   #   e q u i v a l e n t   t o   w h a t   i s   g e n e r a t e d   b y   k u b e a d m   i n i t .   k u b e a d m   i n i t   p h a s e   e t c d   l o c a l   #   G e n e r a t e s   t h e   s t a t i c   P o d   m a n i f e s t   f i l e   f o r   e t c d   u s i n g   o p t i o n s   #   r e a d   f r o m   a   c o n f i g u r a t i o n   f i l e .   k u b e a d m   i n i t   p h a s e   e t c d   l o c a l   - - c o n f i g   c o n f i g . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26454"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   l o c a l   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26455"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26456"
  },
  {
    "question": "What is kubeadm init phase upload-config?",
    "answer": "Y o u   c a n   u s e   t h i s   c o m m a n d   t o   u p l o a d   t h e   k u b e a d m   c o n f i g u r a t i o n   t o   y o u r   c l u s t e r .   A l t e r n a t i v e l y ,   y o u   c a n   u s e   k u b e a d m   c o n f i g .   S y n o p s i s U p l o a d   t h e   k u b e a d m   a n d   k u b e l e t   c o n f i g u r a t i o n   t o   a   C o n f i g M a p k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   u p l o a d - c o n f i g O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26457"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p l o a d   t h e   k u b e a d m   a n d   k u b e l e t   c o n f i g u r a t i o n   t o   a   C o n f i g M a p   k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26458"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   u p l o a d - c o n f i g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26459"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s U p l o a d   a l l   c o n f i g u r a t i o n   t o   a   c o n f i g   m a p k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   a l l   [ f l a g s ]   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c r i - s o c k e t   s t r i n g P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   a l l - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26460"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p l o a d   a l l   c o n f i g u r a t i o n   t o   a   c o n f i g   m a p   k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26461"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a l l   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26462"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s U p l o a d   t h e   k u b e a d m   C l u s t e r C o n f i g u r a t i o n   t o   a   C o n f i g M a p   c a l l e d   k u b e a d m - c o n f i g   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   T h i s   e n a b l e s   c o r r e c t   c o n f i g u r a t i o n   o f   s y s t e m   c o m p o n e n t s   a n d   a   s e a m l e s s   u s e r   e x p e r i e n c e   w h e n   u p g r a d i n g . A l t e r n a t i v e l y ,   y o u   c a n   u s e   k u b e a d m   c o n f i g . k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   k u b e a d m   [ f l a g s ]   E x a m p l e s   #   u p l o a d   t h e   c o n f i g u r a t i o n   o f   y o u r   c l u s t e r   k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   k u b e a d m   - - c o n f i g = m y C o n f i g . y a m l   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c r i - s o c k e t   s t r i n g P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   k u b e a d m - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26463"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p l o a d   t h e   k u b e a d m   C l u s t e r C o n f i g u r a t i o n   t o   a   C o n f i g M a p   c a l l e d   k u b e a d m - c o n f i g   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   T h i s   e n a b l e s   c o r r e c t   c o n f i g u r a t i o n   o f   s y s t e m   c o m p o n e n t s   a n d   a   s e a m l e s s   u s e r   e x p e r i e n c e   w h e n   u p g r a d i n g .   A l t e r n a t i v e l y ,   y o u   c a n   u s e   k u b e a d m   c o n f i g .   k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   k u b e a d m   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26464"
  },
  {
    "question": "What is Examples?",
    "answer": "#   u p l o a d   t h e   c o n f i g u r a t i o n   o f   y o u r   c l u s t e r   k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   k u b e a d m   - - c o n f i g = m y C o n f i g . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26465"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   k u b e a d m   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26466"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   U p l o a d   t h e   k u b e l e t   c o m p o n e n t   c o n f i g   t o   a   C o n f i g M a p S y n o p s i s U p l o a d   t h e   k u b e l e t   c o n f i g u r a t i o n   e x t r a c t e d   f r o m   t h e   k u b e a d m   I n i t C o n f i g u r a t i o n   o b j e c t   t o   a   k u b e l e t - c o n f i g   C o n f i g M a p   i n   t h e   c l u s t e r k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   k u b e l e t   [ f l a g s ]   E x a m p l e s   #   U p l o a d   t h e   k u b e l e t   c o n f i g u r a t i o n   f r o m   t h e   k u b e a d m   C o n f i g   f i l e   t o   a   C o n f i g M a p   i n   t h e   c l u s t e r .   k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   k u b e l e t   - - c o n f i g   k u b e a d m . y a m l   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c r i - s o c k e t   s t r i n g P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   k u b e l e t - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26467"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p l o a d   t h e   k u b e l e t   c o n f i g u r a t i o n   e x t r a c t e d   f r o m   t h e   k u b e a d m   I n i t C o n f i g u r a t i o n   o b j e c t   t o   a   k u b e l e t - c o n f i g   C o n f i g M a p   i n   t h e   c l u s t e r   k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   k u b e l e t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26468"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U p l o a d   t h e   k u b e l e t   c o n f i g u r a t i o n   f r o m   t h e   k u b e a d m   C o n f i g   f i l e   t o   a   C o n f i g M a p   i n   t h e   c l u s t e r .   k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g   k u b e l e t   - - c o n f i g   k u b e a d m . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26469"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   k u b e l e t   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26470"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26471"
  },
  {
    "question": "What is kubeadm init phase upload-certs?",
    "answer": "U s e   t h e   f o l l o w i n g   p h a s e   t o   u p l o a d   c o n t r o l - p l a n e   c e r t i f i c a t e s   t o   t h e   c l u s t e r .   B y   d e f a u l t   t h e   c e r t s   a n d   e n c r y p t i o n   k e y   e x p i r e   a f t e r   t w o   h o u r s .   U p l o a d   c e r t i f i c a t e s   t o   k u b e a d m - c e r t s S y n o p s i s U p l o a d   c o n t r o l   p l a n e   c e r t i f i c a t e s   t o   t h e   k u b e a d m - c e r t s   S e c r e t k u b e a d m   i n i t   p h a s e   u p l o a d - c e r t s   [ f l a g s ]   O p t i o n s - - c e r t i f i c a t e - k e y   s t r i n g K e y   u s e d   t o   e n c r y p t   t h e   c o n t r o l - p l a n e   c e r t i f i c a t e s   i n   t h e   k u b e a d m - c e r t s   S e c r e t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   u p l o a d - c e r t s - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e . - - s k i p - c e r t i f i c a t e - k e y - p r i n t D o n ' t   p r i n t   t h e   k e y   u s e d   t o   e n c r y p t   t h e   c o n t r o l - p l a n e   c e r t i f i c a t e s . - - u p l o a d - c e r t s U p l o a d   c o n t r o l - p l a n e   c e r t i f i c a t e s   t o   t h e   k u b e a d m - c e r t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26472"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p l o a d   c o n t r o l   p l a n e   c e r t i f i c a t e s   t o   t h e   k u b e a d m - c e r t s   S e c r e t   k u b e a d m   i n i t   p h a s e   u p l o a d - c e r t s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26473"
  },
  {
    "question": "What is Options?",
    "answer": "K e y   u s e d   t o   e n c r y p t   t h e   c o n t r o l - p l a n e   c e r t i f i c a t e s   i n   t h e   k u b e a d m - c e r t s   S e c r e t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   u p l o a d - c e r t s   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   D o n ' t   p r i n t   t h e   k e y   u s e d   t o   e n c r y p t   t h e   c o n t r o l - p l a n e   c e r t i f i c a t e s .   U p l o a d   c o n t r o l - p l a n e   c e r t i f i c a t e s   t o   t h e   k u b e a d m - c e r t s   S e c r e t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26474"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26475"
  },
  {
    "question": "What is kubeadm init phase mark-control-plane?",
    "answer": "U s e   t h e   f o l l o w i n g   p h a s e   t o   l a b e l   a n d   t a i n t   t h e   n o d e   a s   a   c o n t r o l   p l a n e   n o d e .   S y n o p s i s M a r k   a   n o d e   a s   a   c o n t r o l - p l a n e k u b e a d m   i n i t   p h a s e   m a r k - c o n t r o l - p l a n e   [ f l a g s ]   E x a m p l e s   #   A p p l i e s   c o n t r o l - p l a n e   l a b e l   a n d   t a i n t   t o   t h e   c u r r e n t   n o d e ,   f u n c t i o n a l l y   e q u i v a l e n t   t o   w h a t   e x e c u t e d   b y   k u b e a d m   i n i t .   k u b e a d m   i n i t   p h a s e   m a r k - c o n t r o l - p l a n e   - - c o n f i g   c o n f i g . y a m l   #   A p p l i e s   c o n t r o l - p l a n e   l a b e l   a n d   t a i n t   t o   a   s p e c i f i c   n o d e   k u b e a d m   i n i t   p h a s e   m a r k - c o n t r o l - p l a n e   - - n o d e - n a m e   m y N o d e   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   m a r k - c o n t r o l - p l a n e - - n o d e - n a m e   s t r i n g S p e c i f y   t h e   n o d e   n a m e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26476"
  },
  {
    "question": "What is Synopsis?",
    "answer": "M a r k   a   n o d e   a s   a   c o n t r o l - p l a n e   k u b e a d m   i n i t   p h a s e   m a r k - c o n t r o l - p l a n e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26477"
  },
  {
    "question": "What is Examples?",
    "answer": "#   A p p l i e s   c o n t r o l - p l a n e   l a b e l   a n d   t a i n t   t o   t h e   c u r r e n t   n o d e ,   f u n c t i o n a l l y   e q u i v a l e n t   t o   w h a t   e x e c u t e d   b y   k u b e a d m   i n i t .   k u b e a d m   i n i t   p h a s e   m a r k - c o n t r o l - p l a n e   - - c o n f i g   c o n f i g . y a m l   #   A p p l i e s   c o n t r o l - p l a n e   l a b e l   a n d   t a i n t   t o   a   s p e c i f i c   n o d e   k u b e a d m   i n i t   p h a s e   m a r k - c o n t r o l - p l a n e   - - n o d e - n a m e   m y N o d e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26478"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   m a r k - c o n t r o l - p l a n e   S p e c i f y   t h e   n o d e   n a m e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26479"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26480"
  },
  {
    "question": "What is kubeadm init phase bootstrap-token?",
    "answer": "U s e   t h e   f o l l o w i n g   p h a s e   t o   c o n f i g u r e   b o o t s t r a p   t o k e n s .   G e n e r a t e s   b o o t s t r a p   t o k e n s   u s e d   t o   j o i n   a   n o d e   t o   a   c l u s t e r S y n o p s i s B o o t s t r a p   t o k e n s   a r e   u s e d   f o r   e s t a b l i s h i n g   b i d i r e c t i o n a l   t r u s t   b e t w e e n   a   n o d e   j o i n i n g   t h e   c l u s t e r   a n d   a   c o n t r o l - p l a n e   n o d e . T h i s   c o m m a n d   m a k e s   a l l   t h e   c o n f i g u r a t i o n s   r e q u i r e d   t o   m a k e   b o o t s t r a p   t o k e n s   w o r k s   a n d   t h e n   c r e a t e s   a n   i n i t i a l   t o k e n . k u b e a d m   i n i t   p h a s e   b o o t s t r a p - t o k e n   [ f l a g s ]   E x a m p l e s   #   M a k e   a l l   t h e   b o o t s t r a p   t o k e n   c o n f i g u r a t i o n s   a n d   c r e a t e   a n   i n i t i a l   t o k e n ,   f u n c t i o n a l l y   #   e q u i v a l e n t   t o   w h a t   g e n e r a t e d   b y   k u b e a d m   i n i t .   k u b e a d m   i n i t   p h a s e   b o o t s t r a p - t o k e n   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   b o o t s t r a p - t o k e n - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e . - - s k i p - t o k e n - p r i n t S k i p   p r i n t i n g   o f   t h e   d e f a u l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26481"
  },
  {
    "question": "What is Synopsis?",
    "answer": "B o o t s t r a p   t o k e n s   a r e   u s e d   f o r   e s t a b l i s h i n g   b i d i r e c t i o n a l   t r u s t   b e t w e e n   a   n o d e   j o i n i n g   t h e   c l u s t e r   a n d   a   c o n t r o l - p l a n e   n o d e .   T h i s   c o m m a n d   m a k e s   a l l   t h e   c o n f i g u r a t i o n s   r e q u i r e d   t o   m a k e   b o o t s t r a p   t o k e n s   w o r k s   a n d   t h e n   c r e a t e s   a n   i n i t i a l   t o k e n .   k u b e a d m   i n i t   p h a s e   b o o t s t r a p - t o k e n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26482"
  },
  {
    "question": "What is Examples?",
    "answer": "#   M a k e   a l l   t h e   b o o t s t r a p   t o k e n   c o n f i g u r a t i o n s   a n d   c r e a t e   a n   i n i t i a l   t o k e n ,   f u n c t i o n a l l y   #   e q u i v a l e n t   t o   w h a t   g e n e r a t e d   b y   k u b e a d m   i n i t .   k u b e a d m   i n i t   p h a s e   b o o t s t r a p - t o k e n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26483"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   b o o t s t r a p - t o k e n   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   S k i p   p r i n t i n g   o f   t h e   d e f a u l t   b o o t s t r a p   t o k e n   g e n e r a t e d   b y   ' k u b e a d m   i n i t ' .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26484"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26485"
  },
  {
    "question": "What is kubeadm init phase kubelet-finalize?",
    "answer": "U s e   t h e   f o l l o w i n g   p h a s e   t o   u p d a t e   s e t t i n g s   r e l e v a n t   t o   t h e   k u b e l e t   a f t e r   T L S   b o o t s t r a p .   Y o u   c a n   u s e   t h e   a l l   s u b c o m m a n d   t o   r u n   a l l   k u b e l e t - f i n a l i z e   p h a s e s .   S y n o p s i s U p d a t e s   s e t t i n g s   r e l e v a n t   t o   t h e   k u b e l e t   a f t e r   T L S   b o o t s t r a p k u b e a d m   i n i t   p h a s e   k u b e l e t - f i n a l i z e   [ f l a g s ]   E x a m p l e s   #   U p d a t e s   s e t t i n g s   r e l e v a n t   t o   t h e   k u b e l e t   a f t e r   T L S   b o o t s t r a p \"   k u b e a d m   i n i t   p h a s e   k u b e l e t - f i n a l i z e   a l l   - - c o n f i g   O p t i o n s - h ,   - - h e l p h e l p   f o r   k u b e l e t - f i n a l i z e O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26486"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e s   s e t t i n g s   r e l e v a n t   t o   t h e   k u b e l e t   a f t e r   T L S   b o o t s t r a p   k u b e a d m   i n i t   p h a s e   k u b e l e t - f i n a l i z e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26487"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U p d a t e s   s e t t i n g s   r e l e v a n t   t o   t h e   k u b e l e t   a f t e r   T L S   b o o t s t r a p \"   k u b e a d m   i n i t   p h a s e   k u b e l e t - f i n a l i z e   a l l   - - c o n f i g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26488"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   k u b e l e t - f i n a l i z e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26489"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s R u n   a l l   k u b e l e t - f i n a l i z e   p h a s e s k u b e a d m   i n i t   p h a s e   k u b e l e t - f i n a l i z e   a l l   [ f l a g s ]   E x a m p l e s   #   U p d a t e s   s e t t i n g s   r e l e v a n t   t o   t h e   k u b e l e t   a f t e r   T L S   b o o t s t r a p \"   k u b e a d m   i n i t   p h a s e   k u b e l e t - f i n a l i z e   a l l   - - c o n f i g   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   a l l O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26490"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   a l l   k u b e l e t - f i n a l i z e   p h a s e s   k u b e a d m   i n i t   p h a s e   k u b e l e t - f i n a l i z e   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26491"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U p d a t e s   s e t t i n g s   r e l e v a n t   t o   t h e   k u b e l e t   a f t e r   T L S   b o o t s t r a p \"   k u b e a d m   i n i t   p h a s e   k u b e l e t - f i n a l i z e   a l l   - - c o n f i g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26492"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a l l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26493"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s E n a b l e   k u b e l e t   c l i e n t   c e r t i f i c a t e   r o t a t i o n k u b e a d m   i n i t   p h a s e   k u b e l e t - f i n a l i z e   e n a b l e - c l i e n t - c e r t - r o t a t i o n   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   e n a b l e - c l i e n t - c e r t - r o t a t i o n O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26494"
  },
  {
    "question": "What is Synopsis?",
    "answer": "E n a b l e   k u b e l e t   c l i e n t   c e r t i f i c a t e   r o t a t i o n   k u b e a d m   i n i t   p h a s e   k u b e l e t - f i n a l i z e   e n a b l e - c l i e n t - c e r t - r o t a t i o n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26495"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   w h e r e   t o   s a v e   a n d   s t o r e   t h e   c e r t i f i c a t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   e n a b l e - c l i e n t - c e r t - r o t a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26496"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26497"
  },
  {
    "question": "What is kubeadm init phase addon?",
    "answer": "Y o u   c a n   i n s t a l l   a l l   t h e   a v a i l a b l e   a d d o n s   w i t h   t h e   a l l   s u b c o m m a n d ,   o r   i n s t a l l   t h e m   s e l e c t i v e l y .   S y n o p s i s I n s t a l l   r e q u i r e d   a d d o n s   f o r   p a s s i n g   c o n f o r m a n c e   t e s t s k u b e a d m   i n i t   p h a s e   a d d o n   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   a d d o n O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26498"
  },
  {
    "question": "What is Synopsis?",
    "answer": "I n s t a l l   r e q u i r e d   a d d o n s   f o r   p a s s i n g   c o n f o r m a n c e   t e s t s   k u b e a d m   i n i t   p h a s e   a d d o n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26499"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   a d d o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26500"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s I n s t a l l   a l l   t h e   a d d o n s k u b e a d m   i n i t   p h a s e   a d d o n   a l l   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - b i n d - p o r t   i n t 3 2   D e f a u l t :   6 4 4 3 P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e - e n d p o i n t   s t r i n g S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - - f e a t u r e - g a t e s   s t r i n g A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d e L o c a l C R I S o c k e t = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) P u b l i c K e y s E C D S A = t r u e | f a l s e   ( D E P R E C A T E D   -   d e f a u l t = f a l s e ) R o o t l e s s C o n t r o l P l a n e = t r u e | f a l s e   ( A L P H A   -   d e f a u l t = f a l s e ) W a i t F o r A l l C o n t r o l P l a n e C o m p o n e n t s = t r u e | f a l s e   ( d e f a u l t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26501"
  },
  {
    "question": "What is Synopsis?",
    "answer": "I n s t a l l   a l l   t h e   a d d o n s   k u b e a d m   i n i t   p h a s e   a d d o n   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26502"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d e L o c a l C R I S o c k e t = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) P u b l i c K e y s E C D S A = t r u e | f a l s e   ( D E P R E C A T E D   -   d e f a u l t = f a l s e ) R o o t l e s s C o n t r o l P l a n e = t r u e | f a l s e   ( A L P H A   -   d e f a u l t = f a l s e ) W a i t F o r A l l C o n t r o l P l a n e C o m p o n e n t s = t r u e | f a l s e   ( d e f a u l t = t r u e )   h e l p   f o r   a l l   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   S p e c i f y   r a n g e   o f   I P   a d d r e s s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26503"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   I n s t a l l   t h e   C o r e D N S   a d d o n   t o   a   K u b e r n e t e s   c l u s t e r S y n o p s i s I n s t a l l   t h e   C o r e D N S   a d d o n   c o m p o n e n t s   v i a   t h e   A P I   s e r v e r .   P l e a s e   n o t e   t h a t   a l t h o u g h   t h e   D N S   s e r v e r   i s   d e p l o y e d ,   i t   w i l l   n o t   b e   s c h e d u l e d   u n t i l   C N I   i s   i n s t a l l e d . k u b e a d m   i n i t   p h a s e   a d d o n   c o r e d n s   [ f l a g s ]   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - - f e a t u r e - g a t e s   s t r i n g A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d e L o c a l C R I S o c k e t = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) P u b l i c K e y s E C D S A = t r u e | f a l s e   ( D E P R E C A T E D   -   d e f a u l t = f a l s e ) R o o t l e s s C o n t r o l P l a n e = t r u e | f a l s e   ( A L P H A   -   d e f a u l t = f a l s e ) W a i t F o r A l l C o n t r o l P l a n e C o m p o n e n t s = t r u e | f a l s e   ( d e f a u l t = t r u e ) - h ,   - - h e l p h e l p   f o r   c o r e d n s - - i m a g e - r e p o s i t o r y   s t r i n g   D e f a u l t :   \" r e g i s t r y . k 8 s . i o \" C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26504"
  },
  {
    "question": "What is Synopsis?",
    "answer": "I n s t a l l   t h e   C o r e D N S   a d d o n   c o m p o n e n t s   v i a   t h e   A P I   s e r v e r .   P l e a s e   n o t e   t h a t   a l t h o u g h   t h e   D N S   s e r v e r   i s   d e p l o y e d ,   i t   w i l l   n o t   b e   s c h e d u l e d   u n t i l   C N I   i s   i n s t a l l e d .   k u b e a d m   i n i t   p h a s e   a d d o n   c o r e d n s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26505"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   A   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   f e a t u r e   g a t e s   f o r   v a r i o u s   f e a t u r e s .   O p t i o n s   a r e : C o n t r o l P l a n e K u b e l e t L o c a l M o d e = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) N o d e L o c a l C R I S o c k e t = t r u e | f a l s e   ( B E T A   -   d e f a u l t = t r u e ) P u b l i c K e y s E C D S A = t r u e | f a l s e   ( D E P R E C A T E D   -   d e f a u l t = f a l s e ) R o o t l e s s C o n t r o l P l a n e = t r u e | f a l s e   ( A L P H A   -   d e f a u l t = f a l s e ) W a i t F o r A l l C o n t r o l P l a n e C o m p o n e n t s = t r u e | f a l s e   ( d e f a u l t = t r u e )   h e l p   f o r   c o r e d n s   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   P r i n t   t h e   a d d o n   m a n i f e s t s   t o   S T D O U T   i n s t e a d   o f   i n s t a l l i n g   t h e m   U s e   a l t e r n a t i v e   r a n g e   o f   I P   a d d r e s s   f o r   s e r v i c e   V I P s .   U s e   a l t e r n a t i v e   d o m a i n   f o r   s e r v i c e s ,   e . g .   \" m y o r g . i n t e r n a l \" .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26506"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   I n s t a l l   t h e   k u b e - p r o x y   a d d o n   t o   a   K u b e r n e t e s   c l u s t e r S y n o p s i s I n s t a l l   t h e   k u b e - p r o x y   a d d o n   c o m p o n e n t s   v i a   t h e   A P I   s e r v e r . k u b e a d m   i n i t   p h a s e   a d d o n   k u b e - p r o x y   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - b i n d - p o r t   i n t 3 2   D e f a u l t :   6 4 4 3 P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e - e n d p o i n t   s t r i n g S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   k u b e - p r o x y - - i m a g e - r e p o s i t o r y   s t r i n g   D e f a u l t :   \" r e g i s t r y . k 8 s . i o \" C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26507"
  },
  {
    "question": "What is Synopsis?",
    "answer": "I n s t a l l   t h e   k u b e - p r o x y   a d d o n   c o m p o n e n t s   v i a   t h e   A P I   s e r v e r .   k u b e a d m   i n i t   p h a s e   a d d o n   k u b e - p r o x y   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26508"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   S p e c i f y   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   k u b e - p r o x y   C h o o s e   a   c o n t a i n e r   r e g i s t r y   t o   p u l l   c o n t r o l   p l a n e   i m a g e s   f r o m   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .   C h o o s e   a   s p e c i f i c   K u b e r n e t e s   v e r s i o n   f o r   t h e   c o n t r o l   p l a n e .   S p e c i f y   r a n g e   o f   I P   a d d r e s s e s   f o r   t h e   p o d   n e t w o r k .   I f   s e t ,   t h e   c o n t r o l   p l a n e   w i l l   a u t o m a t i c a l l y   a l l o c a t e   C I D R s   f o r   e v e r y   n o d e .   P r i n t   t h e   a d d o n   m a n i f e s t s   t o   S T D O U T   i n s t e a d   o f   i n s t a l l i n g   t h e m",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26509"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   F o r   m o r e   d e t a i l s   o n   e a c h   f i e l d   i n   t h e   v 1 b e t a 4   c o n f i g u r a t i o n   y o u   c a n   n a v i g a t e   t o   o u r   A P I   r e f e r e n c e   p a g e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26510"
  },
  {
    "question": "What is What's next?",
    "answer": "k u b e a d m   i n i t   t o   b o o t s t r a p   a   K u b e r n e t e s   c o n t r o l - p l a n e   n o d e k u b e a d m   j o i n   t o   c o n n e c t   a   n o d e   t o   t h e   c l u s t e r k u b e a d m   r e s e t   t o   r e v e r t   a n y   c h a n g e s   m a d e   t o   t h i s   h o s t   b y   k u b e a d m   i n i t   o r   k u b e a d m   j o i n k u b e a d m   a l p h a   t o   t r y   e x p e r i m e n t a l   f u n c t i o n a l i t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26511"
  },
  {
    "question": "What is 10.1.13 - kubeadm join phase?",
    "answer": "k u b e a d m   j o i n   p h a s e   e n a b l e s   y o u   t o   i n v o k e   a t o m i c   s t e p s   o f   t h e   j o i n   p r o c e s s .   H e n c e ,   y o u   c a n   l e t   k u b e a d m   d o   s o m e   o f   t h e   w o r k   a n d   y o u   c a n   f i l l   i n   t h e   g a p s   i f   y o u   w i s h   t o   a p p l y   c u s t o m i z a t i o n .   k u b e a d m   j o i n   p h a s e   i s   c o n s i s t e n t   w i t h   t h e   k u b e a d m   j o i n   w o r k f l o w ,   a n d   b e h i n d   t h e   s c e n e   b o t h   u s e   t h e   s a m e   c o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_26512"
  },
  {
    "question": "What is kubeadm join phase?",
    "answer": "S y n o p s i s U s e   t h i s   c o m m a n d   t o   i n v o k e   s i n g l e   p h a s e   o f   t h e   \" j o i n \"   w o r k f l o w k u b e a d m   j o i n   p h a s e   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   p h a s e O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26513"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U s e   t h i s   c o m m a n d   t o   i n v o k e   s i n g l e   p h a s e   o f   t h e   \" j o i n \"   w o r k f l o w   k u b e a d m   j o i n   p h a s e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26514"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   p h a s e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26515"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26516"
  },
  {
    "question": "What is kubeadm join phase preflight?",
    "answer": "U s i n g   t h i s   p h a s e   y o u   c a n   e x e c u t e   p r e f l i g h t   c h e c k s   o n   a   j o i n i n g   n o d e .   R u n   j o i n   p r e - f l i g h t   c h e c k s S y n o p s i s R u n   p r e - f l i g h t   c h e c k s   f o r   k u b e a d m   j o i n . k u b e a d m   j o i n   p h a s e   p r e f l i g h t   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]   E x a m p l e s   #   R u n   j o i n   p r e - f l i g h t   c h e c k s   u s i n g   a   c o n f i g   f i l e .   k u b e a d m   j o i n   p h a s e   p r e f l i g h t   - - c o n f i g   k u b e a d m - c o n f i g . y a m l   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - b i n d - p o r t   i n t 3 2   D e f a u l t :   6 4 4 3 I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   p o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o . - - c e r t i f i c a t e - k e y   s t r i n g U s e   t h i s   k e y   t o   d e c r y p t   t h e   c e r t i f i c a t e   s e c r e t s   u p l o a d e d   b y   i n i t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e - - c r i - s o c k e t   s t r i n g P a t h   t o   t h e   C R I   s o c k e t   t o   c o n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26517"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   p r e - f l i g h t   c h e c k s   f o r   k u b e a d m   j o i n .   k u b e a d m   j o i n   p h a s e   p r e f l i g h t   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26518"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R u n   j o i n   p r e - f l i g h t   c h e c k s   u s i n g   a   c o n f i g   f i l e .   k u b e a d m   j o i n   p h a s e   p r e f l i g h t   - - c o n f i g   k u b e a d m - c o n f i g . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26519"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   p o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   U s e   t h i s   k e y   t o   d e c r y p t   t h e   c e r t i f i c a t e   s e c r e t s   u p l o a d e d   b y   i n i t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) .   F o r   t o k e n - b a s e d   d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26520"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26521"
  },
  {
    "question": "What is kubeadm join phase control-plane-prepare?",
    "answer": "U s i n g   t h i s   p h a s e   y o u   c a n   p r e p a r e   a   n o d e   f o r   s e r v i n g   a   c o n t r o l - p l a n e .   S y n o p s i s P r e p a r e   t h e   m a c h i n e   f o r   s e r v i n g   a   c o n t r o l   p l a n e k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   [ f l a g s ]   E x a m p l e s   #   P r e p a r e s   t h e   m a c h i n e   f o r   s e r v i n g   a   c o n t r o l   p l a n e   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   a l l   O p t i o n s - h ,   - - h e l p h e l p   f o r   c o n t r o l - p l a n e - p r e p a r e O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26522"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r e p a r e   t h e   m a c h i n e   f o r   s e r v i n g   a   c o n t r o l   p l a n e   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26523"
  },
  {
    "question": "What is Examples?",
    "answer": "#   P r e p a r e s   t h e   m a c h i n e   f o r   s e r v i n g   a   c o n t r o l   p l a n e   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   a l l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26524"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c o n t r o l - p l a n e - p r e p a r e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26525"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s P r e p a r e   t h e   m a c h i n e   f o r   s e r v i n g   a   c o n t r o l   p l a n e k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   a l l   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - b i n d - p o r t   i n t 3 2   D e f a u l t :   6 4 4 3 I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   p o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o . - - c e r t i f i c a t e - k e y   s t r i n g U s e   t h i s   k e y   t o   d e c r y p t   t h e   c e r t i f i c a t e   s e c r e t s   u p l o a d e d   b y   i n i t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e - - d i s c o v e r y - f i l e   s t r i n g F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n . - - d i s c o v e r y - t o k e n   s t r i n g F o r   t o k ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26526"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r e p a r e   t h e   m a c h i n e   f o r   s e r v i n g   a   c o n t r o l   p l a n e   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   a l l   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26527"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   p o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   U s e   t h i s   k e y   t o   d e c r y p t   t h e   c e r t i f i c a t e   s e c r e t s   u p l o a d e d   b y   i n i t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   a l l o w   j o i n i n g   w i t h o u t   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   p i n n i n g .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a l l   S p e c i f y   t h e   n o d e   n a m e .   P a t h   t o   a   d i r e c t o r y   t h a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26528"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s D o w n l o a d   c e r t i f i c a t e s   s h a r e d   a m o n g   c o n t r o l - p l a n e   n o d e s   f r o m   t h e   k u b e a d m - c e r t s   S e c r e t k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   d o w n l o a d - c e r t s   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]   O p t i o n s - - c e r t i f i c a t e - k e y   s t r i n g U s e   t h i s   k e y   t o   d e c r y p t   t h e   c e r t i f i c a t e   s e c r e t s   u p l o a d e d   b y   i n i t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e - - d i s c o v e r y - f i l e   s t r i n g F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n . - - d i s c o v e r y - t o k e n   s t r i n g F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r . - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   s t r i n g s F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) . - - d i s c o v e r y - t o k e n - u n s a f e - s k i p - c a - v e r i f i c a t i o n F o r   t o k ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26529"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D o w n l o a d   c e r t i f i c a t e s   s h a r e d   a m o n g   c o n t r o l - p l a n e   n o d e s   f r o m   t h e   k u b e a d m - c e r t s   S e c r e t   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   d o w n l o a d - c e r t s   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26530"
  },
  {
    "question": "What is Options?",
    "answer": "U s e   t h i s   k e y   t o   d e c r y p t   t h e   c e r t i f i c a t e   s e c r e t s   u p l o a d e d   b y   i n i t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   a l l o w   j o i n i n g   w i t h o u t   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   p i n n i n g .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   d o w n l o a d - c e r t s   S p e c i f y   t h e   t o k e n   u s e d   t o   t e m p o r a r i l y   a u t h e n t i c a t e   w i t h   t h e   K u b e r n e t e s   C o n t r o l   P l a n e   w h i l e   j o i n i n g   t h e   n o d e .   U s e   t h i s   t o k e n   f o r   b o t h   d i s c o v e r y - t o k e n   a n d   t l s - b o o t s t r a p - t o k e n   w h e n   t h o s e   v a l u e s   a r e   n o t   p r o v i d e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26531"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   c e r t i f i c a t e s   f o r   t h e   n e w   c o n t r o l   p l a n e   c o m p o n e n t s k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   c e r t s   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e - - d i s c o v e r y - f i l e   s t r i n g F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n . - - d i s c o v e r y - t o k e n   s t r i n g F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r . - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   s t r i n g s F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) . - - d i s c o v e r y - t o k e n - u n s a f e - s k i p - c a - v e r i f i c a t i o n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26532"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   c e r t i f i c a t e s   f o r   t h e   n e w   c o n t r o l   p l a n e   c o m p o n e n t s   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   c e r t s   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26533"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   a l l o w   j o i n i n g   w i t h o u t   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   p i n n i n g .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   c e r t s   S p e c i f y   t h e   n o d e   n a m e .   S p e c i f y   t h e   t o k e n   u s e d   t o   t e m p o r a r i l y   a u t h e n t i c a t e   w i t h   t h e   K u b e r n e t e s   C o n t r o l   P l a n e   w h i l e   j o i n i n g   t h e   n o d e .   U s e   t h i s   t o k e n   f o r   b o t h   d i s c o v e r y - t o k e n   a n d   t l s - b o o t s t r a p - t o k e n   w h e n   t h o s e   v a l u e s   a r e   n o t   p r o v i d e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26534"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   k u b e c o n f i g   f o r   t h e   n e w   c o n t r o l   p l a n e   c o m p o n e n t s k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   k u b e c o n f i g   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]   O p t i o n s - - c e r t i f i c a t e - k e y   s t r i n g U s e   t h i s   k e y   t o   d e c r y p t   t h e   c e r t i f i c a t e   s e c r e t s   u p l o a d e d   b y   i n i t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e - - d i s c o v e r y - f i l e   s t r i n g F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n . - - d i s c o v e r y - t o k e n   s t r i n g F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r . - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   s t r i n g s F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) . - - d i s c o v e r y - t o k e n - u n s a f e - s k i p - c a - v e r i f i c a t i o n F o r   t o k e n - b a s e d   d i s c o v e r y ,   a l l o w   j o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26535"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   k u b e c o n f i g   f o r   t h e   n e w   c o n t r o l   p l a n e   c o m p o n e n t s   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   k u b e c o n f i g   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26536"
  },
  {
    "question": "What is Options?",
    "answer": "U s e   t h i s   k e y   t o   d e c r y p t   t h e   c e r t i f i c a t e   s e c r e t s   u p l o a d e d   b y   i n i t .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   a l l o w   j o i n i n g   w i t h o u t   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   p i n n i n g .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   k u b e c o n f i g   S p e c i f y   t h e   t o k e n   u s e d   t o   t e m p o r a r i l y   a u t h e n t i c a t e   w i t h   t h e   K u b e r n e t e s   C o n t r o l   P l a n e   w h i l e   j o i n i n g   t h e   n o d e .   U s e   t h i s   t o k e n   f o r   b o t h   d i s c o v e r y - t o k e n   a n d   t l s - b o o t s t r a p - t o k e n   w h e n   t h o s e   v a l u e s   a r e   n o t   p r o v i d e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26537"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s G e n e r a t e   t h e   m a n i f e s t s   f o r   t h e   n e w   c o n t r o l   p l a n e   c o m p o n e n t s k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   c o n t r o l - p l a n e   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - a p i s e r v e r - b i n d - p o r t   i n t 3 2   D e f a u l t :   6 4 4 3 I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   p o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   c o n t r o l - p l a n e - - p a t c h e s   s t r i n g P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26538"
  },
  {
    "question": "What is Synopsis?",
    "answer": "G e n e r a t e   t h e   m a n i f e s t s   f o r   t h e   n e w   c o n t r o l   p l a n e   c o m p o n e n t s   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - p r e p a r e   c o n t r o l - p l a n e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26539"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   p o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   c o n t r o l - p l a n e   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26540"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26541"
  },
  {
    "question": "What is kubeadm join phase kubelet-start?",
    "answer": "U s i n g   t h i s   p h a s e   y o u   c a n   w r i t e   t h e   k u b e l e t   s e t t i n g s ,   c e r t i f i c a t e s   a n d   ( r e ) s t a r t   t h e   k u b e l e t .   W r i t e   k u b e l e t   s e t t i n g s ,   c e r t i f i c a t e s   a n d   ( r e ) s t a r t   t h e   k u b e l e t S y n o p s i s W r i t e   a   f i l e   w i t h   K u b e l e t C o n f i g u r a t i o n   a n d   a n   e n v i r o n m e n t   f i l e   w i t h   n o d e   s p e c i f i c   k u b e l e t   s e t t i n g s ,   a n d   t h e n   ( r e ) s t a r t   k u b e l e t . k u b e a d m   j o i n   p h a s e   k u b e l e t - s t a r t   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c r i - s o c k e t   s t r i n g P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t . - - d i s c o v e r y - f i l e   s t r i n g F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n . - - d i s c o v e r y - t o k e n   s t r i n g F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r . - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   s t r i n g s F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) . - - d i s c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26542"
  },
  {
    "question": "What is Synopsis?",
    "answer": "W r i t e   a   f i l e   w i t h   K u b e l e t C o n f i g u r a t i o n   a n d   a n   e n v i r o n m e n t   f i l e   w i t h   n o d e   s p e c i f i c   k u b e l e t   s e t t i n g s ,   a n d   t h e n   ( r e ) s t a r t   k u b e l e t .   k u b e a d m   j o i n   p h a s e   k u b e l e t - s t a r t   [ a p i - s e r v e r - e n d p o i n t ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26543"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   F o r   f i l e - b a s e d   d i s c o v e r y ,   a   f i l e   o r   U R L   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   t h e   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   A P I   s e r v e r .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   v a l i d a t e   t h a t   t h e   r o o t   C A   p u b l i c   k e y   m a t c h e s   t h i s   h a s h   ( f o r m a t :   \" < t y p e > : < v a l u e > \" ) .   F o r   t o k e n - b a s e d   d i s c o v e r y ,   a l l o w   j o i n i n g   w i t h o u t   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   p i n n i n g .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   k u b e l e t - s t a r t   S p e c i f y   t h e   n o d e   n a m e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26544"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26545"
  },
  {
    "question": "What is kubeadm join phase control-plane-join?",
    "answer": "U s i n g   t h i s   p h a s e   y o u   c a n   j o i n   a   n o d e   a s   a   c o n t r o l - p l a n e   i n s t a n c e .   S y n o p s i s J o i n   a   m a c h i n e   a s   a   c o n t r o l   p l a n e   i n s t a n c e k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - j o i n   [ f l a g s ]   E x a m p l e s   #   J o i n s   a   m a c h i n e   a s   a   c o n t r o l   p l a n e   i n s t a n c e   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - j o i n   a l l   O p t i o n s - h ,   - - h e l p h e l p   f o r   c o n t r o l - p l a n e - j o i n O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26546"
  },
  {
    "question": "What is Synopsis?",
    "answer": "J o i n   a   m a c h i n e   a s   a   c o n t r o l   p l a n e   i n s t a n c e   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - j o i n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26547"
  },
  {
    "question": "What is Examples?",
    "answer": "#   J o i n s   a   m a c h i n e   a s   a   c o n t r o l   p l a n e   i n s t a n c e   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - j o i n   a l l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26548"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c o n t r o l - p l a n e - j o i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26549"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s J o i n   a   m a c h i n e   a s   a   c o n t r o l   p l a n e   i n s t a n c e k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - j o i n   a l l   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   a l l - - n o d e - n a m e   s t r i n g S p e c i f y   t h e   n o d e   n a m e . - - p a t c h e s   s t r i n g P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26550"
  },
  {
    "question": "What is Synopsis?",
    "answer": "J o i n   a   m a c h i n e   a s   a   c o n t r o l   p l a n e   i n s t a n c e   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - j o i n   a l l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26551"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   a l l   S p e c i f y   t h e   n o d e   n a m e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26552"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s A d d   a   n e w   l o c a l   e t c d   m e m b e r k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - j o i n   e t c d   [ f l a g s ]   O p t i o n s - - a p i s e r v e r - a d v e r t i s e - a d d r e s s   s t r i n g I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d . - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   e t c d - - n o d e - n a m e   s t r i n g S p e c i f y   t h e   n o d e   n a m e . - - p a t c h e s   s t r i n g P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26553"
  },
  {
    "question": "What is Synopsis?",
    "answer": "A d d   a   n e w   l o c a l   e t c d   m e m b e r   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - j o i n   e t c d   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26554"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t h e   n o d e   s h o u l d   h o s t   a   n e w   c o n t r o l   p l a n e   i n s t a n c e ,   t h e   I P   a d d r e s s   t h e   A P I   S e r v e r   w i l l   a d v e r t i s e   i t ' s   l i s t e n i n g   o n .   I f   n o t   s e t   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   w i l l   b e   u s e d .   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   e t c d   S p e c i f y   t h e   n o d e   n a m e .   P a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26555"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   S y n o p s i s M a r k   a   n o d e   a s   a   c o n t r o l - p l a n e k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - j o i n   m a r k - c o n t r o l - p l a n e   [ f l a g s ]   O p t i o n s - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - - c o n t r o l - p l a n e C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   m a r k - c o n t r o l - p l a n e - - n o d e - n a m e   s t r i n g S p e c i f y   t h e   n o d e   n a m e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26556"
  },
  {
    "question": "What is Synopsis?",
    "answer": "M a r k   a   n o d e   a s   a   c o n t r o l - p l a n e   k u b e a d m   j o i n   p h a s e   c o n t r o l - p l a n e - j o i n   m a r k - c o n t r o l - p l a n e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26557"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   C r e a t e   a   n e w   c o n t r o l   p l a n e   i n s t a n c e   o n   t h i s   n o d e   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   m a r k - c o n t r o l - p l a n e   S p e c i f y   t h e   n o d e   n a m e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26558"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26559"
  },
  {
    "question": "What is What's next?",
    "answer": "k u b e a d m   i n i t   t o   b o o t s t r a p   a   K u b e r n e t e s   c o n t r o l - p l a n e   n o d e k u b e a d m   j o i n   t o   c o n n e c t   a   n o d e   t o   t h e   c l u s t e r k u b e a d m   r e s e t   t o   r e v e r t   a n y   c h a n g e s   m a d e   t o   t h i s   h o s t   b y   k u b e a d m   i n i t   o r   k u b e a d m   j o i n k u b e a d m   a l p h a   t o   t r y   e x p e r i m e n t a l   f u n c t i o n a l i t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26560"
  },
  {
    "question": "What is 10.1.14 - kubeadm kubeconfig?",
    "answer": "k u b e a d m   k u b e c o n f i g   p r o v i d e s   u t i l i t i e s   f o r   m a n a g i n g   k u b e c o n f i g   f i l e s .   F o r   e x a m p l e s   o n   h o w   t o   u s e   k u b e a d m   k u b e c o n f i g   u s e r   s e e   G e n e r a t i n g   k u b e c o n f i g   f i l e s   f o r   a d d i t i o n a l   u s e r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_26561"
  },
  {
    "question": "What is kubeadm kubeconfig?",
    "answer": "S y n o p s i s K u b e c o n f i g   f i l e   u t i l i t i e s . O p t i o n s - h ,   - - h e l p h e l p   f o r   k u b e c o n f i g O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26562"
  },
  {
    "question": "What is Synopsis?",
    "answer": "K u b e c o n f i g   f i l e   u t i l i t i e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26563"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   k u b e c o n f i g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26564"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26565"
  },
  {
    "question": "What is kubeadm kubeconfig user?",
    "answer": "T h i s   c o m m a n d   c a n   b e   u s e d   t o   o u t p u t   a   k u b e c o n f i g   f i l e   f o r   a n   a d d i t i o n a l   u s e r .   S y n o p s i s O u t p u t   a   k u b e c o n f i g   f i l e   f o r   a n   a d d i t i o n a l   u s e r . k u b e a d m   k u b e c o n f i g   u s e r   [ f l a g s ]   E x a m p l e s   #   O u t p u t   a   k u b e c o n f i g   f i l e   f o r   a n   a d d i t i o n a l   u s e r   n a m e d   f o o   k u b e a d m   k u b e c o n f i g   u s e r   - - c l i e n t - n a m e = f o o   #   O u t p u t   a   k u b e c o n f i g   f i l e   f o r   a n   a d d i t i o n a l   u s e r   n a m e d   f o o   u s i n g   a   k u b e a d m   c o n f i g   f i l e   b a r   k u b e a d m   k u b e c o n f i g   u s e r   - - c l i e n t - n a m e = f o o   - - c o n f i g = b a r   O p t i o n s - - c l i e n t - n a m e   s t r i n g T h e   n a m e   o f   u s e r .   I t   w i l l   b e   u s e d   a s   t h e   C N   i f   c l i e n t   c e r t i f i c a t e s   a r e   c r e a t e d - - c o n f i g   s t r i n g P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e . - h ,   - - h e l p h e l p   f o r   u s e r - - o r g   s t r i n g s T h e   o r g a n i z a t i o n s   o f   t h e   c l i e n t   c e r t i f i c a t e .   I t   w i l l   b e   u s e d   a s   t h e   O   i f   c l i e n t   c e r t i f i c a t e s   a r e   c r e a t e d - - t o k e n   s t r i n g T h e   t o k e n   t h a t   s h o u l d   b e   u s e d   a s   t h e   a u t h e n t i c a t i o n   m e c h a n i s m   f o r   t h i s   k u b e c o n f i g ,   i n s t e a d   o f   c l i e n t   c e r t i f i c a t e s - - v a l i d i t y - p e r i o d   d u r a t i o n   D e f a u l t :   8 7 6 0 h 0 m 0 s T h e   v a l i d i t y   p e r i o d   o f   t h e   c l i e n t   c e r t i f i c a t e .   I t   i s   a n   o f f s e t   f r o m   t h e   c u r r e n t   t i m e . O p t i o n s   i n h e r i t e d   f r o m   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26566"
  },
  {
    "question": "What is Synopsis?",
    "answer": "O u t p u t   a   k u b e c o n f i g   f i l e   f o r   a n   a d d i t i o n a l   u s e r .   k u b e a d m   k u b e c o n f i g   u s e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26567"
  },
  {
    "question": "What is Examples?",
    "answer": "#   O u t p u t   a   k u b e c o n f i g   f i l e   f o r   a n   a d d i t i o n a l   u s e r   n a m e d   f o o   k u b e a d m   k u b e c o n f i g   u s e r   - - c l i e n t - n a m e = f o o   #   O u t p u t   a   k u b e c o n f i g   f i l e   f o r   a n   a d d i t i o n a l   u s e r   n a m e d   f o o   u s i n g   a   k u b e a d m   c o n f i g   f i l e   b a r   k u b e a d m   k u b e c o n f i g   u s e r   - - c l i e n t - n a m e = f o o   - - c o n f i g = b a r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26568"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   n a m e   o f   u s e r .   I t   w i l l   b e   u s e d   a s   t h e   C N   i f   c l i e n t   c e r t i f i c a t e s   a r e   c r e a t e d   P a t h   t o   a   k u b e a d m   c o n f i g u r a t i o n   f i l e .   h e l p   f o r   u s e r   T h e   o r g a n i z a t i o n s   o f   t h e   c l i e n t   c e r t i f i c a t e .   I t   w i l l   b e   u s e d   a s   t h e   O   i f   c l i e n t   c e r t i f i c a t e s   a r e   c r e a t e d   T h e   t o k e n   t h a t   s h o u l d   b e   u s e d   a s   t h e   a u t h e n t i c a t i o n   m e c h a n i s m   f o r   t h i s   k u b e c o n f i g ,   i n s t e a d   o f   c l i e n t   c e r t i f i c a t e s   T h e   v a l i d i t y   p e r i o d   o f   t h e   c l i e n t   c e r t i f i c a t e .   I t   i s   a n   o f f s e t   f r o m   t h e   c u r r e n t   t i m e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26569"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26570"
  },
  {
    "question": "What is 10.1.15 - kubeadm reset phase?",
    "answer": "k u b e a d m   r e s e t   p h a s e   e n a b l e s   y o u   t o   i n v o k e   a t o m i c   s t e p s   o f   t h e   n o d e   r e s e t   p r o c e s s .   H e n c e ,   y o u   c a n   l e t   k u b e a d m   d o   s o m e   o f   t h e   w o r k   a n d   y o u   c a n   f i l l   i n   t h e   g a p s   i f   y o u   w i s h   t o   a p p l y   c u s t o m i z a t i o n .   k u b e a d m   r e s e t   p h a s e   i s   c o n s i s t e n t   w i t h   t h e   k u b e a d m   r e s e t   w o r k f l o w ,   a n d   b e h i n d   t h e   s c e n e   b o t h   u s e   t h e   s a m e   c o d e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_26571"
  },
  {
    "question": "What is kubeadm reset phase?",
    "answer": "S y n o p s i s U s e   t h i s   c o m m a n d   t o   i n v o k e   s i n g l e   p h a s e   o f   t h e   \" r e s e t \"   w o r k f l o w k u b e a d m   r e s e t   p h a s e   [ f l a g s ]   O p t i o n s - h ,   - - h e l p h e l p   f o r   p h a s e O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26572"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U s e   t h i s   c o m m a n d   t o   i n v o k e   s i n g l e   p h a s e   o f   t h e   \" r e s e t \"   w o r k f l o w   k u b e a d m   r e s e t   p h a s e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26573"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   p h a s e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26574"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26575"
  },
  {
    "question": "What is kubeadm reset phase preflight?",
    "answer": "U s i n g   t h i s   p h a s e   y o u   c a n   e x e c u t e   p r e f l i g h t   c h e c k s   o n   a   n o d e   t h a t   i s   b e i n g   r e s e t .   R u n   r e s e t   p r e - f l i g h t   c h e c k s S y n o p s i s R u n   p r e - f l i g h t   c h e c k s   f o r   k u b e a d m   r e s e t . k u b e a d m   r e s e t   p h a s e   p r e f l i g h t   [ f l a g s ]   O p t i o n s - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - f ,   - - f o r c e R e s e t   t h e   n o d e   w i t h o u t   p r o m p t i n g   f o r   c o n f i r m a t i o n . - h ,   - - h e l p h e l p   f o r   p r e f l i g h t - - i g n o r e - p r e f l i g h t - e r r o r s   s t r i n g s A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .   R u n   r e s e t   p r e - f l i g h t   c h e c k s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26576"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   p r e - f l i g h t   c h e c k s   f o r   k u b e a d m   r e s e t .   k u b e a d m   r e s e t   p h a s e   p r e f l i g h t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26577"
  },
  {
    "question": "What is Options?",
    "answer": "D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   R e s e t   t h e   n o d e   w i t h o u t   p r o m p t i n g   f o r   c o n f i r m a t i o n .   h e l p   f o r   p r e f l i g h t   A   l i s t   o f   c h e c k s   w h o s e   e r r o r s   w i l l   b e   s h o w n   a s   w a r n i n g s .   E x a m p l e :   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26578"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26579"
  },
  {
    "question": "What is kubeadm reset phase remove-etcd-member?",
    "answer": "U s i n g   t h i s   p h a s e   y o u   c a n   r e m o v e   t h i s   c o n t r o l - p l a n e   n o d e ' s   e t c d   m e m b e r   f r o m   t h e   e t c d   c l u s t e r .   S y n o p s i s R e m o v e   a   l o c a l   e t c d   m e m b e r   f o r   a   c o n t r o l   p l a n e   n o d e . k u b e a d m   r e s e t   p h a s e   r e m o v e - e t c d - m e m b e r   [ f l a g s ]   O p t i o n s - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   r e m o v e - e t c d - m e m b e r - - k u b e c o n f i g   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / a d m i n . c o n f \" T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e . O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26580"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e m o v e   a   l o c a l   e t c d   m e m b e r   f o r   a   c o n t r o l   p l a n e   n o d e .   k u b e a d m   r e s e t   p h a s e   r e m o v e - e t c d - m e m b e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26581"
  },
  {
    "question": "What is Options?",
    "answer": "D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   r e m o v e - e t c d - m e m b e r   T h e   k u b e c o n f i g   f i l e   t o   u s e   w h e n   t a l k i n g   t o   t h e   c l u s t e r .   I f   t h e   f l a g   i s   n o t   s e t ,   a   s e t   o f   s t a n d a r d   l o c a t i o n s   c a n   b e   s e a r c h e d   f o r   a n   e x i s t i n g   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26582"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26583"
  },
  {
    "question": "What is kubeadm reset phase cleanup-node?",
    "answer": "U s i n g   t h i s   p h a s e   y o u   c a n   p e r f o r m   c l e a n u p   o n   t h i s   n o d e .   S y n o p s i s R u n   c l e a n u p   n o d e . k u b e a d m   r e s e t   p h a s e   c l e a n u p - n o d e   [ f l a g s ]   O p t i o n s - - c e r t - d i r   s t r i n g   D e f a u l t :   \" / e t c / k u b e r n e t e s / p k i \" T h e   p a t h   t o   t h e   d i r e c t o r y   w h e r e   t h e   c e r t i f i c a t e s   a r e   s t o r e d .   I f   s p e c i f i e d ,   c l e a n   t h i s   d i r e c t o r y . - - c l e a n u p - t m p - d i r C l e a n u p   t h e   \" / e t c / k u b e r n e t e s / t m p \"   d i r e c t o r y - - c r i - s o c k e t   s t r i n g P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t . - - d r y - r u n D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e . - h ,   - - h e l p h e l p   f o r   c l e a n u p - n o d e O p t i o n s   i n h e r i t e d   f r o m   p a r e n t   c o m m a n d s - - r o o t f s   s t r i n g T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26584"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R u n   c l e a n u p   n o d e .   k u b e a d m   r e s e t   p h a s e   c l e a n u p - n o d e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26585"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   p a t h   t o   t h e   d i r e c t o r y   w h e r e   t h e   c e r t i f i c a t e s   a r e   s t o r e d .   I f   s p e c i f i e d ,   c l e a n   t h i s   d i r e c t o r y .   C l e a n u p   t h e   \" / e t c / k u b e r n e t e s / t m p \"   d i r e c t o r y   P a t h   t o   t h e   C R I   s o c k e t   t o   c o n n e c t .   I f   e m p t y   k u b e a d m   w i l l   t r y   t o   a u t o - d e t e c t   t h i s   v a l u e ;   u s e   t h i s   o p t i o n   o n l y   i f   y o u   h a v e   m o r e   t h a n   o n e   C R I   i n s t a l l e d   o r   i f   y o u   h a v e   n o n - s t a n d a r d   C R I   s o c k e t .   D o n ' t   a p p l y   a n y   c h a n g e s ;   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   h e l p   f o r   c l e a n u p - n o d e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26586"
  },
  {
    "question": "What is Options inherited from parent commands?",
    "answer": "T h e   p a t h   t o   t h e   ' r e a l '   h o s t   r o o t   f i l e s y s t e m .   T h i s   w i l l   c a u s e   k u b e a d m   t o   c h r o o t   i n t o   t h e   p r o v i d e d   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26587"
  },
  {
    "question": "What is What's next?",
    "answer": "k u b e a d m   i n i t   t o   b o o t s t r a p   a   K u b e r n e t e s   c o n t r o l - p l a n e   n o d e k u b e a d m   j o i n   t o   c o n n e c t   a   n o d e   t o   t h e   c l u s t e r k u b e a d m   r e s e t   t o   r e v e r t   a n y   c h a n g e s   m a d e   t o   t h i s   h o s t   b y   k u b e a d m   i n i t   o r   k u b e a d m   j o i n k u b e a d m   a l p h a   t o   t r y   e x p e r i m e n t a l   f u n c t i o n a l i t y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26588"
  },
  {
    "question": "What is 10.1.16 - Implementation details?",
    "answer": "k u b e a d m   i n i t   a n d   k u b e a d m   j o i n   t o g e t h e r   p r o v i d e   a   n i c e   u s e r   e x p e r i e n c e   f o r   c r e a t i n g   a   b a r e   K u b e r n e t e s   c l u s t e r   f r o m   s c r a t c h ,   t h a t   a l i g n s   w i t h   t h e   b e s t - p r a c t i c e s .   H o w e v e r ,   i t   m i g h t   n o t   b e   o b v i o u s   h o w   k u b e a d m   d o e s   t h a t .   T h i s   d o c u m e n t   p r o v i d e s   a d d i t i o n a l   d e t a i l s   o n   w h a t   h a p p e n s   u n d e r   t h e   h o o d ,   w i t h   t h e   a i m   o f   s h a r i n g   k n o w l e d g e   o n   t h e   b e s t   p r a c t i c e s   f o r   a   K u b e r n e t e s   c l u s t e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_26589"
  },
  {
    "question": "What is Core design principles?",
    "answer": "T h e   c l u s t e r   t h a t   k u b e a d m   i n i t   a n d   k u b e a d m   j o i n   s e t   u p   s h o u l d   b e :   S e c u r e :   I t   s h o u l d   a d o p t   l a t e s t   b e s t - p r a c t i c e s   l i k e : e n f o r c i n g   R B A C u s i n g   t h e   N o d e   A u t h o r i z e r u s i n g   s e c u r e   c o m m u n i c a t i o n   b e t w e e n   t h e   c o n t r o l   p l a n e   c o m p o n e n t s u s i n g   s e c u r e   c o m m u n i c a t i o n   b e t w e e n   t h e   A P I   s e r v e r   a n d   t h e   k u b e l e t s l o c k - d o w n   t h e   k u b e l e t   A P I l o c k i n g   d o w n   a c c e s s   t o   t h e   A P I   f o r   s y s t e m   c o m p o n e n t s   l i k e   t h e   k u b e - p r o x y   a n d   C o r e D N S l o c k i n g   d o w n   w h a t   a   B o o t s t r a p   T o k e n   c a n   a c c e s s U s e r - f r i e n d l y :   T h e   u s e r   s h o u l d   n o t   h a v e   t o   r u n   a n y t h i n g   m o r e   t h a n   a   c o u p l e   o f   c o m m a n d s : k u b e a d m   i n i t e x p o r t   K U B E C O N F I G = / e t c / k u b e r n e t e s / a d m i n . c o n f k u b e c t l   a p p l y   - f   < n e t w o r k - p l u g i n - o f - c h o i c e . y a m l > k u b e a d m   j o i n   - - t o k e n   < t o k e n >   < e n d p o i n t > : < p o r t > E x t e n d a b l e : I t   s h o u l d   n o t   f a v o r   a n y   p a r t i c u l a r   n e t w o r k   p r o v i d e r .   C o n f i g u r i n g   t h e   c l u s t e r   n e t w o r k   i s   o u t - o f - s c o p e I t   s h o u l d   p r o v i d e   t h e   p o s s i b i l i t y   t o   u s e   a   c o n f i g   f i l e   f o r   c u s t o m i z i n g   v a r i o u s   p a r a m e t e r s   e n f o r c i n g   R B A C u s i n g   t h e   N o d e   A u t h o r i z e r u s i n g   s e c u r e   c o m m u n i c a t i o n   b e t w e e n   t h e   c o n t r o l   p l a n e   c o m p o n e n t s u s i n g   s e c u r e   c o m m u n i c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26590"
  },
  {
    "question": "What is Constants and well-known values and paths?",
    "answer": "I n   o r d e r   t o   r e d u c e   c o m p l e x i t y   a n d   t o   s i m p l i f y   d e v e l o p m e n t   o f   h i g h e r   l e v e l   t o o l s   t h a t   b u i l d   o n   t o p   o f   k u b e a d m ,   i t   u s e s   a   l i m i t e d   s e t   o f   c o n s t a n t   v a l u e s   f o r   w e l l - k n o w n   p a t h s   a n d   f i l e   n a m e s .   T h e   K u b e r n e t e s   d i r e c t o r y   / e t c / k u b e r n e t e s   i s   a   c o n s t a n t   i n   t h e   a p p l i c a t i o n ,   s i n c e   i t   i s   c l e a r l y   t h e   g i v e n   p a t h   i n   a   m a j o r i t y   o f   c a s e s ,   a n d   t h e   m o s t   i n t u i t i v e   l o c a t i o n ;   o t h e r   c o n s t a n t   p a t h s   a n d   f i l e   n a m e s   a r e :   / e t c / k u b e r n e t e s / m a n i f e s t s   a s   t h e   p a t h   w h e r e   t h e   k u b e l e t   s h o u l d   l o o k   f o r   s t a t i c   P o d   m a n i f e s t s .   N a m e s   o f   s t a t i c   P o d   m a n i f e s t s   a r e : e t c d . y a m l k u b e - a p i s e r v e r . y a m l k u b e - c o n t r o l l e r - m a n a g e r . y a m l k u b e - s c h e d u l e r . y a m l / e t c / k u b e r n e t e s /   a s   t h e   p a t h   w h e r e   k u b e c o n f i g   f i l e s   w i t h   i d e n t i t i e s   f o r   c o n t r o l   p l a n e   c o m p o n e n t s   a r e   s t o r e d .   N a m e s   o f   k u b e c o n f i g   f i l e s   a r e : k u b e l e t . c o n f   ( b o o t s t r a p - k u b e l e t . c o n f   d u r i n g   T L S   b o o t s t r a p ) c o n t r o l l e r - m a n a g e r . c o n f s c h e d u l e r . c o n f a d m i n . c o n f   f o r   t h e   c l u s t e r   a d m i n   a n d   k u b e a d m   i t s e l f s u p e r - a d m i n . c o n f   f o r   t h e   c l u s t e r   s u p e r - a d m i n   t h a t   c a n   b y p a s s   R B A C N a m e s   o f   c e r t i f i c a t e s   a n d   k e y   f i l e s : c a . c r t ,   c a . k e y   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26591"
  },
  {
    "question": "What is The kubeadm configuration file format?",
    "answer": "M o s t   k u b e a d m   c o m m a n d s   s u p p o r t   a   - - c o n f i g   f l a g   w h i c h   a l l o w s   p a s s i n g   a   c o n f i g u r a t i o n   f i l e   f r o m   d i s k .   T h e   c o n f i g u r a t i o n   f i l e   f o r m a t   f o l l o w s   t h e   c o m m o n   K u b e r n e t e s   A P I   a p i V e r s i o n   /   k i n d   s c h e m e ,   b u t   i s   c o n s i d e r e d   a   c o m p o n e n t   c o n f i g u r a t i o n   f o r m a t .   S e v e r a l   K u b e r n e t e s   c o m p o n e n t s ,   s u c h   a s   t h e   k u b e l e t ,   a l s o   s u p p o r t   f i l e - b a s e d   c o n f i g u r a t i o n .   D i f f e r e n t   k u b e a d m   s u b c o m m a n d s   r e q u i r e   a   d i f f e r e n t   k i n d   o f   c o n f i g u r a t i o n   f i l e .   F o r   e x a m p l e ,   I n i t C o n f i g u r a t i o n   f o r   k u b e a d m   i n i t ,   J o i n C o n f i g u r a t i o n   f o r   k u b e a d m   j o i n ,   U p g r a d e C o n f i g u r a t i o n   f o r   k u b e a d m   u p g r a d e   a n d   R e s e t C o n f i g u r a t i o n   f o r   k u b e a d m   r e s e t .   T h e   c o m m a n d   k u b e a d m   c o n f i g   m i g r a t e   c a n   b e   u s e d   t o   m i g r a t e   a n   o l d e r   f o r m a t   c o n f i g u r a t i o n   f i l e   t o   a   n e w e r   ( c u r r e n t )   c o n f i g u r a t i o n   f o r m a t .   T h e   k u b e a d m   t o o l   o n l y   s u p p o r t s   m i g r a t i n g   f r o m   d e p r e c a t e d   c o n f i g u r a t i o n   f o r m a t s   t o   t h e   c u r r e n t   f o r m a t .   S e e   t h e   k u b e a d m   c o n f i g u r a t i o n   r e f e r e n c e   p a g e   f o r   m o r e   d e t a i l s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26592"
  },
  {
    "question": "What is kubeadm init workflow internal design?",
    "answer": "T h e   k u b e a d m   i n i t   c o n s i s t s   o f   a   s e q u e n c e   o f   a t o m i c   w o r k   t a s k s   t o   p e r f o r m ,   a s   d e s c r i b e d   i n   t h e   k u b e a d m   i n i t   i n t e r n a l   w o r k f l o w .   T h e   k u b e a d m   i n i t   p h a s e   c o m m a n d   a l l o w s   u s e r s   t o   i n v o k e   e a c h   t a s k   i n d i v i d u a l l y ,   a n d   u l t i m a t e l y   o f f e r s   a   r e u s a b l e   a n d   c o m p o s a b l e   A P I / t o o l b o x   t h a t   c a n   b e   u s e d   b y   o t h e r   K u b e r n e t e s   b o o t s t r a p   t o o l s ,   b y   a n y   I T   a u t o m a t i o n   t o o l   o r   b y   a n   a d v a n c e d   u s e r   f o r   c r e a t i n g   c u s t o m   c l u s t e r s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26593"
  },
  {
    "question": "What is Preflight checks?",
    "answer": "K u b e a d m   e x e c u t e s   a   s e t   o f   p r e f l i g h t   c h e c k s   b e f o r e   s t a r t i n g   t h e   i n i t ,   w i t h   t h e   a i m   t o   v e r i f y   p r e c o n d i t i o n s   a n d   a v o i d   c o m m o n   c l u s t e r   s t a r t u p   p r o b l e m s .   T h e   u s e r   c a n   s k i p   s p e c i f i c   p r e f l i g h t   c h e c k s   o r   a l l   o f   t h e m   w i t h   t h e   - - i g n o r e - p r e f l i g h t - e r r o r s   o p t i o n .   [ W a r n i n g ]   i f   t h e   K u b e r n e t e s   v e r s i o n   t o   u s e   ( s p e c i f i e d   w i t h   t h e   - - k u b e r n e t e s - v e r s i o n   f l a g )   i s   a t   l e a s t   o n e   m i n o r   v e r s i o n   h i g h e r   t h a n   t h e   k u b e a d m   C L I   v e r s i o n . K u b e r n e t e s   s y s t e m   r e q u i r e m e n t s : i f   r u n n i n g   o n   l i n u x : [ E r r o r ]   i f   K e r n e l   i s   o l d e r   t h a n   t h e   m i n i m u m   r e q u i r e d   v e r s i o n [ E r r o r ]   i f   r e q u i r e d   c g r o u p s   s u b s y s t e m   a r e n ' t   s e t   u p [ E r r o r ]   i f   t h e   C R I   e n d p o i n t   d o e s   n o t   a n s w e r [ E r r o r ]   i f   u s e r   i s   n o t   r o o t [ E r r o r ]   i f   t h e   m a c h i n e   h o s t n a m e   i s   n o t   a   v a l i d   D N S   s u b d o m a i n [ W a r n i n g ]   i f   t h e   h o s t   n a m e   c a n n o t   b e   r e a c h e d   v i a   n e t w o r k   l o o k u p [ E r r o r ]   i f   k u b e l e t   v e r s i o n   i s   l o w e r   t h a t   t h e   m i n i m u m   k u b e l e t   v e r s i o n   s u p p o r t e d   b y   k u b e a d m   ( c u r r e n t   m i n o r   - 1 ) [ E r r o r ]   i f   k u b e l e t   v e r s i o n   i s   a t   l e a s t   o n e   m i n o r   h i g h e r   t h a n   t h e   r e q u i r e d   c o n t r o l p l a n e   v e r s i o n   ( u n s u p p o r t e d   v e r s i o n   s k e w ) [ W a r n i n g ] ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26594"
  },
  {
    "question": "What is Generate the necessary certificates?",
    "answer": "K u b e a d m   g e n e r a t e s   c e r t i f i c a t e   a n d   p r i v a t e   k e y   p a i r s   f o r   d i f f e r e n t   p u r p o s e s :   A   s e l f   s i g n e d   c e r t i f i c a t e   a u t h o r i t y   f o r   t h e   K u b e r n e t e s   c l u s t e r   s a v e d   i n t o   c a . c r t   f i l e   a n d   c a . k e y   p r i v a t e   k e y   f i l e A   s e r v i n g   c e r t i f i c a t e   f o r   t h e   A P I   s e r v e r ,   g e n e r a t e d   u s i n g   c a . c r t   a s   t h e   C A ,   a n d   s a v e d   i n t o   a p i s e r v e r . c r t   f i l e   w i t h   i t s   p r i v a t e   k e y   a p i s e r v e r . k e y .   T h i s   c e r t i f i c a t e   s h o u l d   c o n t a i n   t h e   f o l l o w i n g   a l t e r n a t i v e   n a m e s : T h e   K u b e r n e t e s   s e r v i c e ' s   i n t e r n a l   c l u s t e r I P   ( t h e   f i r s t   a d d r e s s   i n   t h e   s e r v i c e s   C I D R ,   e . g .   1 0 . 9 6 . 0 . 1   i f   s e r v i c e   s u b n e t   i s   1 0 . 9 6 . 0 . 0 / 1 2 ) K u b e r n e t e s   D N S   n a m e s ,   e . g .   k u b e r n e t e s . d e f a u l t . s v c . c l u s t e r . l o c a l   i f   - - s e r v i c e - d n s - d o m a i n   f l a g   v a l u e   i s   c l u s t e r . l o c a l ,   p l u s   d e f a u l t   D N S   n a m e s   k u b e r n e t e s . d e f a u l t . s v c ,   k u b e r n e t e s . d e f a u l t ,   k u b e r n e t e s T h e   n o d e - n a m e T h e   - - a p i s e r v e r - a d v e r t i s e - a d d r e s s A d d i t i o n a l   a l t e r n a t i v e   n a m e s   s p e c i f i e d   b y   t h e   u s e r A   c l i e n t   c e r t i f i c a t e   f o r   t h e   A P I   s e r v e r   t o   c o n n e c t   t o   t h e   k u b e l e t s   s e c u r e l y ,   g e n e r a t e d   u s i n g   c a . c r t   a s   t h e   C A   a n d   s a v e d   i n t o   a p i s e r v e r - k u b e l e t - c l i e n t . c r t   f i l e   w i t h   i t s   p r i v a t e   k ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26595"
  },
  {
    "question": "What is Generate kubeconfig files for control plane components?",
    "answer": "K u b e a d m   g e n e r a t e s   k u b e c o n f i g   f i l e s   w i t h   i d e n t i t i e s   f o r   c o n t r o l   p l a n e   c o m p o n e n t s :   A   k u b e c o n f i g   f i l e   f o r   t h e   k u b e l e t   t o   u s e   d u r i n g   T L S   b o o t s t r a p   -   / e t c / k u b e r n e t e s / b o o t s t r a p - k u b e l e t . c o n f .   I n s i d e   t h i s   f i l e ,   t h e r e   i s   a   b o o t s t r a p - t o k e n   o r   e m b e d d e d   c l i e n t   c e r t i f i c a t e s   f o r   a u t h e n t i c a t i n g   t h i s   n o d e   w i t h   t h e   c l u s t e r . T h i s   c l i e n t   c e r t i f i c a t e   s h o u l d : B e   i n   t h e   s y s t e m : n o d e s   o r g a n i z a t i o n ,   a s   r e q u i r e d   b y   t h e   N o d e   A u t h o r i z a t i o n   m o d u l e H a v e   t h e   C o m m o n   N a m e   ( C N )   s y s t e m : n o d e : < h o s t n a m e - l o w e r c a s e d > A   k u b e c o n f i g   f i l e   f o r   c o n t r o l l e r - m a n a g e r ,   / e t c / k u b e r n e t e s / c o n t r o l l e r - m a n a g e r . c o n f ;   i n s i d e   t h i s   f i l e   i s   e m b e d d e d   a   c l i e n t   c e r t i f i c a t e   w i t h   c o n t r o l l e r - m a n a g e r   i d e n t i t y .   T h i s   c l i e n t   c e r t i f i c a t e   s h o u l d   h a v e   t h e   C N   s y s t e m : k u b e - c o n t r o l l e r - m a n a g e r ,   a s   d e f i n e d   b y   d e f a u l t   R B A C   c o r e   c o m p o n e n t s   r o l e s A   k u b e c o n f i g   f i l e   f o r   s c h e d u l e r ,   / e t c / k u b e r n e t e s / s c h e d u l e r . c o n f ;   i n s i d e   t h i s   f i l e   i s   e m b e d d e d   a   c l i e n t   c e r t i f i c a t e   w i t h   s c h e d u l e r   i d e n t i t y .   T h i s   c l i e n t   c e r t i f i c a t e   s h o u l d   h a v e   t h e   C N   s y s t e m : k u b e - s c h e d u l e r ,   a s   d e f i n e d   b y   d e f a u l t   R B A ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26596"
  },
  {
    "question": "What is Caution:?",
    "answer": "A l s o   n o t e   t h a t :   c a . c r t   c e r t i f i c a t e   i s   e m b e d d e d   i n   a l l   t h e   k u b e c o n f i g   f i l e s . I f   a   g i v e n   k u b e c o n f i g   f i l e   e x i s t s ,   a n d   i t s   c o n t e n t   i s   e v a l u a t e d   a s   c o m p l i a n t   w i t h   t h e   a b o v e   s p e c s ,   t h e   e x i s t i n g   f i l e   w i l l   b e   u s e d   a n d   t h e   g e n e r a t i o n   p h a s e   f o r   t h e   g i v e n   k u b e c o n f i g   w i l l   b e   s k i p p e d I f   k u b e a d m   i s   r u n n i n g   i n   E x t e r n a l C A   m o d e ,   a l l   t h e   r e q u i r e d   k u b e c o n f i g   m u s t   b e   p r o v i d e d   b y   t h e   u s e r   a s   w e l l ,   b e c a u s e   k u b e a d m   c a n n o t   g e n e r a t e   a n y   o f   t h e m   b y   i t s e l f I n   c a s e   k u b e a d m   i s   e x e c u t e d   i n   t h e   - - d r y - r u n   m o d e ,   k u b e c o n f i g   f i l e s   a r e   w r i t t e n   i n   a   t e m p o r a r y   f o l d e r G e n e r a t i o n   o f   k u b e c o n f i g   f i l e s   c a n   b e   i n v o k e d   i n d i v i d u a l l y   w i t h   t h e   k u b e a d m   i n i t   p h a s e   k u b e c o n f i g   a l l   c o m m a n d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26597"
  },
  {
    "question": "What is Generate static Pod manifests for control plane components?",
    "answer": "K u b e a d m   w r i t e s   s t a t i c   P o d   m a n i f e s t   f i l e s   f o r   c o n t r o l   p l a n e   c o m p o n e n t s   t o   / e t c / k u b e r n e t e s / m a n i f e s t s .   T h e   k u b e l e t   w a t c h e s   t h i s   d i r e c t o r y   f o r   P o d s   t o   b e   c r e a t e d   o n   s t a r t u p .   S t a t i c   P o d   m a n i f e s t s   s h a r e   a   s e t   o f   c o m m o n   p r o p e r t i e s :   A l l   s t a t i c   P o d s   a r e   d e p l o y e d   o n   k u b e - s y s t e m   n a m e s p a c e A l l   s t a t i c   P o d s   g e t   t i e r : c o n t r o l - p l a n e   a n d   c o m p o n e n t : { c o m p o n e n t - n a m e }   l a b e l s A l l   s t a t i c   P o d s   u s e   t h e   s y s t e m - n o d e - c r i t i c a l   p r i o r i t y   c l a s s h o s t N e t w o r k :   t r u e   i s   s e t   o n   a l l   s t a t i c   P o d s   t o   a l l o w   c o n t r o l   p l a n e   s t a r t u p   b e f o r e   a   n e t w o r k   i s   c o n f i g u r e d ;   a s   a   c o n s e q u e n c e : T h e   a d d r e s s   t h a t   t h e   c o n t r o l l e r - m a n a g e r   a n d   t h e   s c h e d u l e r   u s e   t o   r e f e r   t o   t h e   A P I   s e r v e r   i s   1 2 7 . 0 . 0 . 1 I f   t h e   e t c d   s e r v e r   i s   s e t   u p   l o c a l l y ,   t h e   e t c d - s e r v e r   a d d r e s s   w i l l   b e   s e t   t o   1 2 7 . 0 . 0 . 1 : 2 3 7 9 L e a d e r   e l e c t i o n   i s   e n a b l e d   f o r   b o t h   t h e   c o n t r o l l e r - m a n a g e r   a n d   t h e   s c h e d u l e r C o n t r o l l e r - m a n a g e r   a n d   t h e   s c h e d u l e r   w i l l   r e f e r e n c e   k u b e c o n f i g   f i l e s   w i t h   t h e i r   r e s p e c t i v e ,   u n i q u e   i d e n t i t i e s A l l   s t a t i c   P o d s   g e t   a n y   e x t r a   f l a g s   o r   p a t c h e s   t h a t   y o u   s p e c i f y ,   a s   d e s c r i b e d   i n   p a s s i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26598"
  },
  {
    "question": "What is API server?",
    "answer": "T h e   s t a t i c   P o d   m a n i f e s t   f o r   t h e   A P I   s e r v e r   i s   a f f e c t e d   b y   t h e   f o l l o w i n g   p a r a m e t e r s   p r o v i d e d   b y   t h e   u s e r s :   T h e   a p i s e r v e r - a d v e r t i s e - a d d r e s s   a n d   a p i s e r v e r - b i n d - p o r t   t o   b i n d   t o ;   i f   n o t   p r o v i d e d ,   t h o s e   v a l u e s   d e f a u l t   t o   t h e   I P   a d d r e s s   o f   t h e   d e f a u l t   n e t w o r k   i n t e r f a c e   o n   t h e   m a c h i n e   a n d   p o r t   6 4 4 3 T h e   s e r v i c e - c l u s t e r - i p - r a n g e   t o   u s e   f o r   s e r v i c e s I f   a n   e x t e r n a l   e t c d   s e r v e r   i s   s p e c i f i e d ,   t h e   e t c d - s e r v e r s   a d d r e s s   a n d   r e l a t e d   T L S   s e t t i n g s   ( e t c d - c a f i l e ,   e t c d - c e r t f i l e ,   e t c d - k e y f i l e ) ;   i f   a n   e x t e r n a l   e t c d   s e r v e r   i s   n o t   p r o v i d e d ,   a   l o c a l   e t c d   w i l l   b e   u s e d   ( v i a   h o s t   n e t w o r k ) I f   a   c l o u d   p r o v i d e r   i s   s p e c i f i e d ,   t h e   c o r r e s p o n d i n g   - - c l o u d - p r o v i d e r   p a r a m e t e r   i s   c o n f i g u r e d   t o g e t h e r   w i t h   t h e   - - c l o u d - c o n f i g   p a t h   i f   s u c h   f i l e   e x i s t s   ( t h i s   i s   e x p e r i m e n t a l ,   a l p h a   a n d   w i l l   b e   r e m o v e d   i n   a   f u t u r e   v e r s i o n )   O t h e r   A P I   s e r v e r   f l a g s   t h a t   a r e   s e t   u n c o n d i t i o n a l l y   a r e :   - - i n s e c u r e - p o r t = 0   t o   a v o i d   i n s e c u r e   c o n n e c t i o n s   t o   t h e   a p i   s e r v e r - - e n a b l e - b o o t s t r a p - t o k e n - a u t h = t r u e   t o   e n a b l e   t h e   B o o t s t r a p T o k e n A u t h e n t i c a t o r   a u t h e n t i c a t i o n   m o d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26599"
  },
  {
    "question": "What is Controller manager?",
    "answer": "T h e   s t a t i c   P o d   m a n i f e s t   f o r   t h e   c o n t r o l l e r   m a n a g e r   i s   a f f e c t e d   b y   f o l l o w i n g   p a r a m e t e r s   p r o v i d e d   b y   t h e   u s e r s :   I f   k u b e a d m   i s   i n v o k e d   s p e c i f y i n g   a   - - p o d - n e t w o r k - c i d r ,   t h e   s u b n e t   m a n a g e r   f e a t u r e   r e q u i r e d   f o r   s o m e   C N I   n e t w o r k   p l u g i n s   i s   e n a b l e d   b y   s e t t i n g : - - a l l o c a t e - n o d e - c i d r s = t r u e - - c l u s t e r - c i d r   a n d   - - n o d e - c i d r - m a s k - s i z e   f l a g s   a c c o r d i n g   t o   t h e   g i v e n   C I D R   I f   k u b e a d m   i s   i n v o k e d   s p e c i f y i n g   a   - - p o d - n e t w o r k - c i d r ,   t h e   s u b n e t   m a n a g e r   f e a t u r e   r e q u i r e d   f o r   s o m e   C N I   n e t w o r k   p l u g i n s   i s   e n a b l e d   b y   s e t t i n g :   - - a l l o c a t e - n o d e - c i d r s = t r u e - - c l u s t e r - c i d r   a n d   - - n o d e - c i d r - m a s k - s i z e   f l a g s   a c c o r d i n g   t o   t h e   g i v e n   C I D R   O t h e r   f l a g s   t h a t   a r e   s e t   u n c o n d i t i o n a l l y   a r e :   - - c o n t r o l l e r s   e n a b l i n g   a l l   t h e   d e f a u l t   c o n t r o l l e r s   p l u s   B o o t s t r a p S i g n e r   a n d   T o k e n C l e a n e r   c o n t r o l l e r s   f o r   T L S   b o o t s t r a p .   S e e   T L S   B o o t s t r a p p i n g   f o r   m o r e   d e t a i l s . - - u s e - s e r v i c e - a c c o u n t - c r e d e n t i a l s   t o   t r u e F l a g s   f o r   u s i n g   c e r t i f i c a t e s   g e n e r a t e d   i n   p r e v i o u s   s t e p s : - - r o o t - c a - f i l e   t o   c a . c r t - - c l u s t e r - s i g n i n g - c e r t - f i l e   t o   c a . c r t ,   i f   E x t e r n a l   C A   m o d e   i s   d i s a b l e d ,   o t h e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26600"
  },
  {
    "question": "What is Scheduler?",
    "answer": "T h e   s t a t i c   P o d   m a n i f e s t   f o r   t h e   s c h e d u l e r   i s   n o t   a f f e c t e d   b y   p a r a m e t e r s   p r o v i d e d   b y   t h e   u s e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26601"
  },
  {
    "question": "What is Generate static Pod manifest for local etcd?",
    "answer": "I f   y o u   s p e c i f i e d   a n   e x t e r n a l   e t c d ,   t h i s   s t e p   w i l l   b e   s k i p p e d ,   o t h e r w i s e   k u b e a d m   g e n e r a t e s   a   s t a t i c   P o d   m a n i f e s t   f i l e   f o r   c r e a t i n g   a   l o c a l   e t c d   i n s t a n c e   r u n n i n g   i n   a   P o d   w i t h   f o l l o w i n g   a t t r i b u t e s :   l i s t e n   o n   l o c a l h o s t : 2 3 7 9   a n d   u s e   H o s t N e t w o r k = t r u e m a k e   a   h o s t P a t h   m o u n t   o u t   f r o m   t h e   d a t a D i r   t o   t h e   h o s t ' s   f i l e s y s t e m A n y   e x t r a   f l a g s   s p e c i f i e d   b y   t h e   u s e r   P l e a s e   n o t e   t h a t :   T h e   e t c d   c o n t a i n e r   i m a g e   w i l l   b e   p u l l e d   f r o m   r e g i s t r y . g c r . i o   b y   d e f a u l t .   S e e   u s i n g   c u s t o m   i m a g e s   f o r   c u s t o m i z i n g   t h e   i m a g e   r e p o s i t o r y . I f   y o u   r u n   k u b e a d m   i n   - - d r y - r u n   m o d e ,   t h e   e t c d   s t a t i c   P o d   m a n i f e s t   i s   w r i t t e n   i n t o   a   t e m p o r a r y   f o l d e r . Y o u   c a n   d i r e c t l y   i n v o k e   s t a t i c   P o d   m a n i f e s t   g e n e r a t i o n   f o r   l o c a l   e t c d ,   u s i n g   t h e   k u b e a d m   i n i t   p h a s e   e t c d   l o c a l   c o m m a n d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26602"
  },
  {
    "question": "What is Wait for the control plane to come up?",
    "answer": "O n   c o n t r o l   p l a n e   n o d e s ,   k u b e a d m   w a i t s   u p   t o   4   m i n u t e s   f o r   t h e   c o n t r o l   p l a n e   c o m p o n e n t s   a n d   t h e   k u b e l e t   t o   b e   a v a i l a b l e .   I t   d o e s   t h a t   b y   p e r f o r m i n g   a   h e a l t h   c h e c k   o n   t h e   r e s p e c t i v e   c o m p o n e n t   / h e a l t h z   o r   / l i v e z   e n d p o i n t s .   A f t e r   t h e   c o n t r o l   p l a n e   i s   u p ,   k u b e a d m   c o m p l e t e s   t h e   t a s k s   d e s c r i b e d   i n   f o l l o w i n g   p a r a g r a p h s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26603"
  },
  {
    "question": "What is Save the kubeadm ClusterConfiguration in a ConfigMap for later reference?",
    "answer": "k u b e a d m   s a v e s   t h e   c o n f i g u r a t i o n   p a s s e d   t o   k u b e a d m   i n i t   i n   a   C o n f i g M a p   n a m e d   k u b e a d m - c o n f i g   u n d e r   k u b e - s y s t e m   n a m e s p a c e .   T h i s   w i l l   e n s u r e   t h a t   k u b e a d m   a c t i o n s   e x e c u t e d   i n   f u t u r e   ( e . g   k u b e a d m   u p g r a d e )   w i l l   b e   a b l e   t o   d e t e r m i n e   t h e   a c t u a l / c u r r e n t   c l u s t e r   s t a t e   a n d   m a k e   n e w   d e c i s i o n s   b a s e d   o n   t h a t   d a t a .   P l e a s e   n o t e   t h a t :   B e f o r e   s a v i n g   t h e   C l u s t e r C o n f i g u r a t i o n ,   s e n s i t i v e   i n f o r m a t i o n   l i k e   t h e   t o k e n   i s   s t r i p p e d   f r o m   t h e   c o n f i g u r a t i o n U p l o a d   o f   c o n t r o l   p l a n e   n o d e   c o n f i g u r a t i o n   c a n   b e   i n v o k e d   i n d i v i d u a l l y   w i t h   t h e   c o m m a n d   k u b e a d m   i n i t   p h a s e   u p l o a d - c o n f i g .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26604"
  },
  {
    "question": "What is Mark the node as control-plane?",
    "answer": "A s   s o o n   a s   t h e   c o n t r o l   p l a n e   i s   a v a i l a b l e ,   k u b e a d m   e x e c u t e s   t h e   f o l l o w i n g   a c t i o n s :   L a b e l s   t h e   n o d e   a s   c o n t r o l - p l a n e   w i t h   n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e = \" \" T a i n t s   t h e   n o d e   w i t h   n o d e - r o l e . k u b e r n e t e s . i o / c o n t r o l - p l a n e : N o S c h e d u l e   P l e a s e   n o t e   t h a t   t h e   p h a s e   t o   m a r k   t h e   c o n t r o l - p l a n e   p h a s e   c a n   b e   i n v o k e d   i n d i v i d u a l l y   w i t h   t h e   k u b e a d m   i n i t   p h a s e   m a r k - c o n t r o l - p l a n e   c o m m a n d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26605"
  },
  {
    "question": "What is Configure TLS-Bootstrapping for node joining?",
    "answer": "K u b e a d m   u s e s   A u t h e n t i c a t i n g   w i t h   B o o t s t r a p   T o k e n s   f o r   j o i n i n g   n e w   n o d e s   t o   a n   e x i s t i n g   c l u s t e r ;   f o r   m o r e   d e t a i l s   s e e   a l s o   d e s i g n   p r o p o s a l .   k u b e a d m   i n i t   e n s u r e s   t h a t   e v e r y t h i n g   i s   p r o p e r l y   c o n f i g u r e d   f o r   t h i s   p r o c e s s ,   a n d   t h i s   i n c l u d e s   f o l l o w i n g   s t e p s   a s   w e l l   a s   s e t t i n g   A P I   s e r v e r   a n d   c o n t r o l l e r   f l a g s   a s   a l r e a d y   d e s c r i b e d   i n   p r e v i o u s   p a r a g r a p h s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26606"
  },
  {
    "question": "What is Create a bootstrap token?",
    "answer": "k u b e a d m   i n i t   c r e a t e s   a   f i r s t   b o o t s t r a p   t o k e n ,   e i t h e r   g e n e r a t e d   a u t o m a t i c a l l y   o r   p r o v i d e d   b y   t h e   u s e r   w i t h   t h e   - - t o k e n   f l a g ;   a s   d o c u m e n t e d   i n   b o o t s t r a p   t o k e n   s p e c i f i c a t i o n ,   t o k e n   s h o u l d   b e   s a v e d   a s   a   s e c r e t   w i t h   n a m e   b o o t s t r a p - t o k e n - < t o k e n - i d >   u n d e r   k u b e - s y s t e m   n a m e s p a c e .   P l e a s e   n o t e   t h a t :   T h e   d e f a u l t   t o k e n   c r e a t e d   b y   k u b e a d m   i n i t   w i l l   b e   u s e d   t o   v a l i d a t e   t e m p o r a r y   u s e r   d u r i n g   T L S   b o o t s t r a p   p r o c e s s ;   t h o s e   u s e r s   w i l l   b e   m e m b e r   o f   s y s t e m : b o o t s t r a p p e r s : k u b e a d m : d e f a u l t - n o d e - t o k e n   g r o u p T h e   t o k e n   h a s   a   l i m i t e d   v a l i d i t y ,   d e f a u l t   2 4   h o u r s   ( t h e   i n t e r v a l   m a y   b e   c h a n g e d   w i t h   t h e   — t o k e n - t t l   f l a g ) A d d i t i o n a l   t o k e n s   c a n   b e   c r e a t e d   w i t h   t h e   k u b e a d m   t o k e n   c o m m a n d ,   t h a t   p r o v i d e   o t h e r   u s e f u l   f u n c t i o n s   f o r   t o k e n   m a n a g e m e n t   a s   w e l l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26607"
  },
  {
    "question": "What is Allow joining nodes to call CSR API?",
    "answer": "K u b e a d m   e n s u r e s   t h a t   u s e r s   i n   s y s t e m : b o o t s t r a p p e r s : k u b e a d m : d e f a u l t - n o d e - t o k e n   g r o u p   a r e   a b l e   t o   a c c e s s   t h e   c e r t i f i c a t e   s i g n i n g   A P I .   T h i s   i s   i m p l e m e n t e d   b y   c r e a t i n g   a   C l u s t e r R o l e B i n d i n g   n a m e d   k u b e a d m : k u b e l e t - b o o t s t r a p   b e t w e e n   t h e   g r o u p   a b o v e   a n d   t h e   d e f a u l t   R B A C   r o l e   s y s t e m : n o d e - b o o t s t r a p p e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26608"
  },
  {
    "question": "What is Set up auto approval for new bootstrap tokens?",
    "answer": "K u b e a d m   e n s u r e s   t h a t   t h e   B o o t s t r a p   T o k e n   w i l l   g e t   i t s   C S R   r e q u e s t   a u t o m a t i c a l l y   a p p r o v e d   b y   t h e   c s r a p p r o v e r   c o n t r o l l e r .   T h i s   i s   i m p l e m e n t e d   b y   c r e a t i n g   C l u s t e r R o l e B i n d i n g   n a m e d   k u b e a d m : n o d e - a u t o a p p r o v e - b o o t s t r a p   b e t w e e n   t h e   s y s t e m : b o o t s t r a p p e r s : k u b e a d m : d e f a u l t - n o d e - t o k e n   g r o u p   a n d   t h e   d e f a u l t   r o l e   s y s t e m : c e r t i f i c a t e s . k 8 s . i o : c e r t i f i c a t e s i g n i n g r e q u e s t s : n o d e c l i e n t .   T h e   r o l e   s y s t e m : c e r t i f i c a t e s . k 8 s . i o : c e r t i f i c a t e s i g n i n g r e q u e s t s : n o d e c l i e n t   s h o u l d   b e   c r e a t e d   a s   w e l l ,   g r a n t i n g   P O S T   p e r m i s s i o n   t o   / a p i s / c e r t i f i c a t e s . k 8 s . i o / c e r t i f i c a t e s i g n i n g r e q u e s t s / n o d e c l i e n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26609"
  },
  {
    "question": "What is Set up nodes certificate rotation with auto approval?",
    "answer": "K u b e a d m   e n s u r e s   t h a t   c e r t i f i c a t e   r o t a t i o n   i s   e n a b l e d   f o r   n o d e s ,   a n d   t h a t   a   n e w   c e r t i f i c a t e   r e q u e s t   f o r   n o d e s   w i l l   g e t   i t s   C S R   r e q u e s t   a u t o m a t i c a l l y   a p p r o v e d   b y   t h e   c s r a p p r o v e r   c o n t r o l l e r .   T h i s   i s   i m p l e m e n t e d   b y   c r e a t i n g   C l u s t e r R o l e B i n d i n g   n a m e d   k u b e a d m : n o d e - a u t o a p p r o v e - c e r t i f i c a t e - r o t a t i o n   b e t w e e n   t h e   s y s t e m : n o d e s   g r o u p   a n d   t h e   d e f a u l t   r o l e   s y s t e m : c e r t i f i c a t e s . k 8 s . i o : c e r t i f i c a t e s i g n i n g r e q u e s t s : s e l f n o d e c l i e n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26610"
  },
  {
    "question": "What is Create the public cluster-info ConfigMap?",
    "answer": "T h i s   p h a s e   c r e a t e s   t h e   c l u s t e r - i n f o   C o n f i g M a p   i n   t h e   k u b e - p u b l i c   n a m e s p a c e .   A d d i t i o n a l l y ,   i t   c r e a t e s   a   R o l e   a n d   a   R o l e B i n d i n g   g r a n t i n g   a c c e s s   t o   t h e   C o n f i g M a p   f o r   u n a u t h e n t i c a t e d   u s e r s   ( i . e .   u s e r s   i n   R B A C   g r o u p   s y s t e m : u n a u t h e n t i c a t e d ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26611"
  },
  {
    "question": "What is Install addons?",
    "answer": "K u b e a d m   i n s t a l l s   t h e   i n t e r n a l   D N S   s e r v e r   a n d   t h e   k u b e - p r o x y   a d d o n   c o m p o n e n t s   v i a   t h e   A P I   s e r v e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26612"
  },
  {
    "question": "What is proxy?",
    "answer": "A   S e r v i c e A c c o u n t   f o r   k u b e - p r o x y   i s   c r e a t e d   i n   t h e   k u b e - s y s t e m   n a m e s p a c e ;   t h e n   k u b e - p r o x y   i s   d e p l o y e d   a s   a   D a e m o n S e t :   T h e   c r e d e n t i a l s   ( c a . c r t   a n d   t o k e n )   t o   t h e   c o n t r o l   p l a n e   c o m e   f r o m   t h e   S e r v i c e A c c o u n t T h e   l o c a t i o n   ( U R L )   o f   t h e   A P I   s e r v e r   c o m e s   f r o m   a   C o n f i g M a p T h e   k u b e - p r o x y   S e r v i c e A c c o u n t   i s   b o u n d   t o   t h e   p r i v i l e g e s   i n   t h e   s y s t e m : n o d e - p r o x i e r   C l u s t e r R o l e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26613"
  },
  {
    "question": "What is DNS?",
    "answer": "T h e   C o r e D N S   s e r v i c e   i s   n a m e d   k u b e - d n s   f o r   c o m p a t i b i l i t y   r e a s o n s   w i t h   t h e   l e g a c y   k u b e - d n s   a d d o n . A   S e r v i c e A c c o u n t   f o r   C o r e D N S   i s   c r e a t e d   i n   t h e   k u b e - s y s t e m   n a m e s p a c e . T h e   c o r e d n s   S e r v i c e A c c o u n t   i s   b o u n d   t o   t h e   p r i v i l e g e s   i n   t h e   s y s t e m : c o r e d n s   C l u s t e r R o l e   T h e   C o r e D N S   s e r v i c e   i s   n a m e d   k u b e - d n s   f o r   c o m p a t i b i l i t y   r e a s o n s   w i t h   t h e   l e g a c y   k u b e - d n s   a d d o n .   A   S e r v i c e A c c o u n t   f o r   C o r e D N S   i s   c r e a t e d   i n   t h e   k u b e - s y s t e m   n a m e s p a c e .   T h e   c o r e d n s   S e r v i c e A c c o u n t   i s   b o u n d   t o   t h e   p r i v i l e g e s   i n   t h e   s y s t e m : c o r e d n s   C l u s t e r R o l e   I n   K u b e r n e t e s   v e r s i o n   1 . 2 1 ,   s u p p o r t   f o r   u s i n g   k u b e - d n s   w i t h   k u b e a d m   w a s   r e m o v e d .   Y o u   c a n   u s e   C o r e D N S   w i t h   k u b e a d m   e v e n   w h e n   t h e   r e l a t e d   S e r v i c e   i s   n a m e d   k u b e - d n s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26614"
  },
  {
    "question": "What is kubeadm join phases internal design?",
    "answer": "S i m i l a r l y   t o   k u b e a d m   i n i t ,   a l s o   k u b e a d m   j o i n   i n t e r n a l   w o r k f l o w   c o n s i s t s   o f   a   s e q u e n c e   o f   a t o m i c   w o r k   t a s k s   t o   p e r f o r m .   T h i s   i s   s p l i t   i n t o   d i s c o v e r y   ( h a v i n g   t h e   N o d e   t r u s t   t h e   K u b e r n e t e s   A P I   S e r v e r )   a n d   T L S   b o o t s t r a p   ( h a v i n g   t h e   K u b e r n e t e s   A P I   S e r v e r   t r u s t   t h e   N o d e ) .   s e e   A u t h e n t i c a t i n g   w i t h   B o o t s t r a p   T o k e n s   o r   t h e   c o r r e s p o n d i n g   d e s i g n   p r o p o s a l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26615"
  },
  {
    "question": "What is Preflight checks?",
    "answer": "k u b e a d m   e x e c u t e s   a   s e t   o f   p r e f l i g h t   c h e c k s   b e f o r e   s t a r t i n g   t h e   j o i n ,   w i t h   t h e   a i m   t o   v e r i f y   p r e c o n d i t i o n s   a n d   a v o i d   c o m m o n   c l u s t e r   s t a r t u p   p r o b l e m s .   A l s o   n o t e   t h a t :   k u b e a d m   j o i n   p r e f l i g h t   c h e c k s   a r e   b a s i c a l l y   a   s u b s e t   o f   k u b e a d m   i n i t   p r e f l i g h t   c h e c k s I f   y o u   a r e   j o i n i n g   a   W i n d o w s   n o d e ,   L i n u x   s p e c i f i c   c o n t r o l s   a r e   s k i p p e d . I n   a n y   c a s e   t h e   u s e r   c a n   s k i p   s p e c i f i c   p r e f l i g h t   c h e c k s   ( o r   e v e n t u a l l y   a l l   p r e f l i g h t   c h e c k s )   w i t h   t h e   - - i g n o r e - p r e f l i g h t - e r r o r s   o p t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26616"
  },
  {
    "question": "What is Discovery cluster-info?",
    "answer": "T h e r e   a r e   2   m a i n   s c h e m e s   f o r   d i s c o v e r y .   T h e   f i r s t   i s   t o   u s e   a   s h a r e d   t o k e n   a l o n g   w i t h   t h e   I P   a d d r e s s   o f   t h e   A P I   s e r v e r .   T h e   s e c o n d   i s   t o   p r o v i d e   a   f i l e   ( t h a t   i s   a   s u b s e t   o f   t h e   s t a n d a r d   k u b e c o n f i g   f i l e ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26617"
  },
  {
    "question": "What is Shared token discovery?",
    "answer": "I f   k u b e a d m   j o i n   i s   i n v o k e d   w i t h   - - d i s c o v e r y - t o k e n ,   t o k e n   d i s c o v e r y   i s   u s e d ;   i n   t h i s   c a s e   t h e   n o d e   b a s i c a l l y   r e t r i e v e s   t h e   c l u s t e r   C A   c e r t i f i c a t e s   f r o m   t h e   c l u s t e r - i n f o   C o n f i g M a p   i n   t h e   k u b e - p u b l i c   n a m e s p a c e .   I n   o r d e r   t o   p r e v e n t   \" m a n   i n   t h e   m i d d l e \"   a t t a c k s ,   s e v e r a l   s t e p s   a r e   t a k e n :   F i r s t ,   t h e   C A   c e r t i f i c a t e   i s   r e t r i e v e d   v i a   i n s e c u r e   c o n n e c t i o n   ( t h i s   i s   p o s s i b l e   b e c a u s e   k u b e a d m   i n i t   i s   g r a n t e d   a c c e s s   t o   c l u s t e r - i n f o   u s e r s   f o r   s y s t e m : u n a u t h e n t i c a t e d ) T h e n   t h e   C A   c e r t i f i c a t e   g o e s   t h r o u g h   f o l l o w i n g   v a l i d a t i o n   s t e p s : B a s i c   v a l i d a t i o n :   u s i n g   t h e   t o k e n   I D   a g a i n s t   a   J W T   s i g n a t u r e P u b   k e y   v a l i d a t i o n :   u s i n g   p r o v i d e d   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h .   T h i s   v a l u e   i s   a v a i l a b l e   i n   t h e   o u t p u t   o f   k u b e a d m   i n i t   o r   c a n   b e   c a l c u l a t e d   u s i n g   s t a n d a r d   t o o l s   ( t h e   h a s h   i s   c a l c u l a t e d   o v e r   t h e   b y t e s   o f   t h e   S u b j e c t   P u b l i c   K e y   I n f o   ( S P K I )   o b j e c t   a s   i n   R F C 7 4 6 9 ) .   T h e   - - d i s c o v e r y - t o k e n - c a - c e r t - h a s h   f l a g   m a y   b e   r e p e a t e d   m u l t i p l e   t i m e s   t o   a l l o w   m o r e   t h a n   o n e   p u b l i c   k e y . A s   a n   a d d i t i o n a l   v a l i d a t i o n ,   t h e   C A   c e r t i f i c a t e   i s   r e t r i e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26618"
  },
  {
    "question": "What is File/https discovery?",
    "answer": "I f   k u b e a d m   j o i n   i s   i n v o k e d   w i t h   - - d i s c o v e r y - f i l e ,   f i l e   d i s c o v e r y   i s   u s e d ;   t h i s   f i l e   c a n   b e   a   l o c a l   f i l e   o r   d o w n l o a d e d   v i a   a n   H T T P S   U R L ;   i n   c a s e   o f   H T T P S ,   t h e   h o s t   i n s t a l l e d   C A   b u n d l e   i s   u s e d   t o   v e r i f y   t h e   c o n n e c t i o n .   W i t h   f i l e   d i s c o v e r y ,   t h e   c l u s t e r   C A   c e r t i f i c a t e   i s   p r o v i d e d   i n t o   t h e   f i l e   i t s e l f ;   i n   f a c t ,   t h e   d i s c o v e r y   f i l e   i s   a   k u b e c o n f i g   f i l e   w i t h   o n l y   s e r v e r   a n d   c e r t i f i c a t e - a u t h o r i t y - d a t a   a t t r i b u t e s   s e t ,   a s   d e s c r i b e d   i n   t h e   k u b e a d m   j o i n   r e f e r e n c e   d o c ;   w h e n   t h e   c o n n e c t i o n   w i t h   t h e   c l u s t e r   i s   e s t a b l i s h e d ,   k u b e a d m   t r i e s   t o   a c c e s s   t h e   c l u s t e r - i n f o   C o n f i g M a p ,   a n d   i f   a v a i l a b l e ,   u s e s   i t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26619"
  },
  {
    "question": "What is TLS Bootstrap?",
    "answer": "O n c e   t h e   c l u s t e r   i n f o   i s   k n o w n ,   t h e   f i l e   b o o t s t r a p - k u b e l e t . c o n f   i s   w r i t t e n ,   t h u s   a l l o w i n g   k u b e l e t   t o   d o   T L S   B o o t s t r a p p i n g .   T h e   T L S   b o o t s t r a p   m e c h a n i s m   u s e s   t h e   s h a r e d   t o k e n   t o   t e m p o r a r i l y   a u t h e n t i c a t e   w i t h   t h e   K u b e r n e t e s   A P I   s e r v e r   t o   s u b m i t   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t   ( C S R )   f o r   a   l o c a l l y   c r e a t e d   k e y   p a i r .   T h e   r e q u e s t   i s   t h e n   a u t o m a t i c a l l y   a p p r o v e d   a n d   t h e   o p e r a t i o n   c o m p l e t e s   s a v i n g   c a . c r t   f i l e   a n d   k u b e l e t . c o n f   f i l e   t o   b e   u s e d   b y   t h e   k u b e l e t   f o r   j o i n i n g   t h e   c l u s t e r ,   w h i l e   b o o t s t r a p - k u b e l e t . c o n f   i s   d e l e t e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26620"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   t e m p o r a r y   a u t h e n t i c a t i o n   i s   v a l i d a t e d   a g a i n s t   t h e   t o k e n   s a v e d   d u r i n g   t h e   k u b e a d m   i n i t   p r o c e s s   ( o r   w i t h   a d d i t i o n a l   t o k e n s   c r e a t e d   w i t h   k u b e a d m   t o k e n   c o m m a n d ) T h e   t e m p o r a r y   a u t h e n t i c a t i o n   r e s o l v e s   t o   a   u s e r   m e m b e r   o f   s y s t e m : b o o t s t r a p p e r s : k u b e a d m : d e f a u l t - n o d e - t o k e n   g r o u p   w h i c h   w a s   g r a n t e d   a c c e s s   t o   t h e   C S R   a p i   d u r i n g   t h e   k u b e a d m   i n i t   p r o c e s s T h e   a u t o m a t i c   C S R   a p p r o v a l   i s   m a n a g e d   b y   t h e   c s r a p p r o v e r   c o n t r o l l e r ,   a c c o r d i n g   t o   t h e   c o n f i g u r a t i o n   p r e s e n t   i n   t h e   k u b e a d m   i n i t   p r o c e s s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26621"
  },
  {
    "question": "What is kubeadm upgrade workflow internal design?",
    "answer": "k u b e a d m   u p g r a d e   h a s   s u b - c o m m a n d s   f o r   h a n d l i n g   t h e   u p g r a d e   o f   t h e   K u b e r n e t e s   c l u s t e r   c r e a t e d   b y   k u b e a d m .   Y o u   m u s t   r u n   k u b e a d m   u p g r a d e   a p p l y   o n   a   c o n t r o l   p l a n e   n o d e   ( y o u   c a n   c h o o s e   w h i c h   o n e ) ;   t h i s   s t a r t s   t h e   u p g r a d e   p r o c e s s .   Y o u   t h e n   r u n   k u b e a d m   u p g r a d e   n o d e   o n   a l l   r e m a i n i n g   n o d e s   ( b o t h   w o r k e r   n o d e s   a n d   c o n t r o l   p l a n e   n o d e s ) .   B o t h   k u b e a d m   u p g r a d e   a p p l y   a n d   k u b e a d m   u p g r a d e   n o d e   h a v e   a   p h a s e   s u b c o m m a n d   w h i c h   p r o v i d e s   a c c e s s   t o   t h e   i n t e r n a l   p h a s e s   o f   t h e   u p g r a d e   p r o c e s s .   S e e   k u b e a d m   u p g r a d e   p h a s e   f o r   m o r e   d e t a i l s .   A d d i t i o n a l   u t i l i t y   u p g r a d e   c o m m a n d s   a r e   k u b e a d m   u p g r a d e   p l a n   a n d   k u b e a d m   u p g r a d e   d i f f .   A l l   u p g r a d e   s u b - c o m m a n d s   s u p p o r t   p a s s i n g   a   c o n f i g u r a t i o n   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26622"
  },
  {
    "question": "What is kubeadm upgrade plan?",
    "answer": "Y o u   c a n   o p t i o n a l l y   r u n   k u b e a d m   u p g r a d e   p l a n   b e f o r e   y o u   r u n   k u b e a d m   u p g r a d e   a p p l y .   T h e   p l a n   s u b c o m m a n d   c h e c k s   w h i c h   v e r s i o n s   a r e   a v a i l a b l e   t o   u p g r a d e   t o   a n d   v a l i d a t e s   w h e t h e r   y o u r   c u r r e n t   c l u s t e r   i s   u p g r a d e a b l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26623"
  },
  {
    "question": "What is kubeadm upgrade diff?",
    "answer": "T h i s   s h o w s   w h a t   d i f f e r e n c e s   w o u l d   b e   a p p l i e d   t o   e x i s t i n g   s t a t i c   p o d   m a n i f e s t s   f o r   c o n t r o l   p l a n e   n o d e s .   A   m o r e   v e r b o s e   w a y   t o   d o   t h e   s a m e   t h i n g   i s   r u n n i n g   k u b e a d m   u p g r a d e   a p p l y   - - d r y - r u n   o r   k u b e a d m   u p g r a d e   n o d e   - - d r y - r u n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26624"
  },
  {
    "question": "What is kubeadm upgrade apply?",
    "answer": "k u b e a d m   u p g r a d e   a p p l y   p r e p a r e s   t h e   c l u s t e r   f o r   t h e   u p g r a d e   o f   a l l   n o d e s ,   a n d   a l s o   u p g r a d e s   t h e   c o n t r o l   p l a n e   n o d e   w h e r e   i t ' s   r u n .   T h e   s t e p s   i t   p e r f o r m s   a r e :   R u n s   p r e f l i g h t   c h e c k s   s i m i l a r l y   t o   k u b e a d m   i n i t   a n d   k u b e a d m   j o i n ,   e n s u r i n g   c o n t a i n e r   i m a g e s   a r e   d o w n l o a d e d   a n d   t h e   c l u s t e r   i s   i n   a   g o o d   s t a t e   t o   b e   u p g r a d e d . U p g r a d e s   t h e   c o n t r o l   p l a n e   m a n i f e s t   f i l e s   o n   d i s k   i n   / e t c / k u b e r n e t e s / m a n i f e s t s   a n d   w a i t s   f o r   t h e   k u b e l e t   t o   r e s t a r t   t h e   c o m p o n e n t s   i f   t h e   f i l e s   h a v e   c h a n g e d . U p l o a d s   t h e   u p d a t e d   k u b e a d m   a n d   k u b e l e t   c o n f i g u r a t i o n s   t o   t h e   c l u s t e r   i n   t h e   k u b e a d m - c o n f i g   a n d   t h e   k u b e l e t - c o n f i g   C o n f i g M a p s   ( b o t h   i n   t h e   k u b e - s y s t e m   n a m e s p a c e ) . W r i t e s   u p d a t e d   k u b e l e t   c o n f i g u r a t i o n   f o r   t h i s   n o d e   i n   / v a r / l i b / k u b e l e t / c o n f i g . y a m l ,   a n d   r e a d   t h e   n o d e ' s   / v a r / l i b / k u b e l e t / i n s t a n c e - c o n f i g . y a m l   f i l e   a n d   p a t c h   f i e l d s   l i k e   c o n t a i n e r R u n t i m e E n d p o i n t   f r o m   t h i s   i n s t a n c e   c o n f i g u r a t i o n   i n t o   / v a r / l i b / k u b e l e t / c o n f i g . y a m l . C o n f i g u r e s   b o o t s t r a p   t o k e n   a n d   t h e   c l u s t e r - i n f o   C o n f i g M a p   f o r   R B A C   r u l e s .   T h i s   i s   t h e   s a m e   a s   i n   t h e   k u b e a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26625"
  },
  {
    "question": "What is kubeadm upgrade node?",
    "answer": "k u b e a d m   u p g r a d e   n o d e   u p g r a d e s   a   s i n g l e   c o n t r o l   p l a n e   o r   w o r k e r   n o d e   a f t e r   t h e   c l u s t e r   u p g r a d e   h a s   s t a r t e d   ( b y   r u n n i n g   k u b e a d m   u p g r a d e   a p p l y ) .   T h e   c o m m a n d   d e t e c t s   i f   t h e   n o d e   i s   a   c o n t r o l   p l a n e   n o d e   b y   c h e c k i n g   i f   t h e   f i l e   / e t c / k u b e r n e t e s / m a n i f e s t s / k u b e - a p i s e r v e r . y a m l   e x i s t s .   O n   f i n d i n g   t h a t   f i l e ,   t h e   k u b e a d m   t o o l   i n f e r s   t h a t   t h e r e   i s   a   r u n n i n g   k u b e - a p i s e r v e r   P o d   o n   t h i s   n o d e .   R u n s   p r e f l i g h t   c h e c k s   s i m i l a r l y   t o   k u b e a d m   u p g r a d e   a p p l y . F o r   c o n t r o l   p l a n e   n o d e s ,   u p g r a d e s   t h e   c o n t r o l   p l a n e   m a n i f e s t   f i l e s   o n   d i s k   i n   / e t c / k u b e r n e t e s / m a n i f e s t s   a n d   w a i t s   f o r   t h e   k u b e l e t   t o   r e s t a r t   t h e   c o m p o n e n t s   i f   t h e   f i l e s   h a v e   c h a n g e d . W r i t e s   u p d a t e d   k u b e l e t   c o n f i g u r a t i o n   f o r   t h i s   n o d e   i n   / v a r / l i b / k u b e l e t / c o n f i g . y a m l ,   a n d   r e a d   t h e   n o d e ' s   / v a r / l i b / k u b e l e t / i n s t a n c e - c o n f i g . y a m l   f i l e   a n d   p a t c h   f i e l d s   l i k e   c o n t a i n e r R u n t i m e E n d p o i n t   f r o m   t h i s   i n s t a n c e   c o n f i g u r a t i o n   i n t o   / v a r / l i b / k u b e l e t / c o n f i g . y a m l . ( F o r   c o n t r o l   p l a n e   n o d e s )   u p g r a d e s   t h e   k u b e - p r o x y   a n d   C o r e D N S   a d d o n s   c o n d i t i o n a l l y ,   p r o v i d e d   t h a t   a l l   e x i s t i n g   A P I   s e r v e r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26626"
  },
  {
    "question": "What is kubeadm reset workflow internal design?",
    "answer": "Y o u   c a n   u s e   t h e   k u b e a d m   r e s e t   s u b c o m m a n d   o n   a   n o d e   w h e r e   k u b e a d m   c o m m a n d s   p r e v i o u s l y   e x e c u t e d .   T h i s   s u b c o m m a n d   p e r f o r m s   a   b e s t - e f f o r t   c l e a n u p   o f   t h e   n o d e .   I f   c e r t a i n   a c t i o n s   f a i l   y o u   m u s t   i n t e r v e n e   a n d   p e r f o r m   m a n u a l   c l e a n u p .   T h e   c o m m a n d   s u p p o r t s   p h a s e s .   S e e   k u b e a d m   r e s e t   p h a s e   f o r   m o r e   d e t a i l s .   T h e   c o m m a n d   s u p p o r t s   a   c o n f i g u r a t i o n   f i l e .   A d d i t i o n a l l y :   I P V S ,   i p t a b l e s   a n d   n f t a b l e s   r u l e s   a r e   n o t   c l e a n e d   u p . C N I   ( n e t w o r k   p l u g i n )   c o n f i g u r a t i o n   i s   n o t   c l e a n e d   u p . . k u b e /   i n   t h e   u s e r ' s   h o m e   d i r e c t o r y   i s   n o t   c l e a n e d   u p .   T h e   c o m m a n d   h a s   t h e   f o l l o w i n g   s t a g e s :   R u n s   p r e f l i g h t   c h e c k s   o n   t h e   n o d e   t o   d e t e r m i n e   i f   i t s   h e a l t h y . F o r   c o n t r o l   p l a n e   n o d e s ,   r e m o v e s   a n y   l o c a l   e t c d   m e m b e r   d a t a . S t o p s   t h e   k u b e l e t . S t o p s   r u n n i n g   c o n t a i n e r s . U n m o u n t s   a n y   m o u n t e d   d i r e c t o r i e s   i n   / v a r / l i b / k u b e l e t . D e l e t e s   a n y   f i l e s   a n d   d i r e c t o r i e s   m a n a g e d   b y   k u b e a d m   i n   / v a r / l i b / k u b e l e t   a n d   / e t c / k u b e r n e t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26627"
  },
  {
    "question": "What is 11 - Command line tool (kubectl)?",
    "answer": "K u b e r n e t e s   p r o v i d e s   a   c o m m a n d   l i n e   t o o l   f o r   c o m m u n i c a t i n g   w i t h   a   K u b e r n e t e s   c l u s t e r ' s   c o n t r o l   p l a n e ,   u s i n g   t h e   K u b e r n e t e s   A P I .   T h i s   t o o l   i s   n a m e d   k u b e c t l .   F o r   c o n f i g u r a t i o n ,   k u b e c t l   l o o k s   f o r   a   f i l e   n a m e d   c o n f i g   i n   t h e   $ H O M E / . k u b e   d i r e c t o r y .   Y o u   c a n   s p e c i f y   o t h e r   k u b e c o n f i g   f i l e s   b y   s e t t i n g   t h e   K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   o r   b y   s e t t i n g   t h e   - - k u b e c o n f i g   f l a g .   T h i s   o v e r v i e w   c o v e r s   k u b e c t l   s y n t a x ,   d e s c r i b e s   t h e   c o m m a n d   o p e r a t i o n s ,   a n d   p r o v i d e s   c o m m o n   e x a m p l e s .   F o r   d e t a i l s   a b o u t   e a c h   c o m m a n d ,   i n c l u d i n g   a l l   t h e   s u p p o r t e d   f l a g s   a n d   s u b c o m m a n d s ,   s e e   t h e   k u b e c t l   r e f e r e n c e   d o c u m e n t a t i o n .   F o r   i n s t a l l a t i o n   i n s t r u c t i o n s ,   s e e   I n s t a l l i n g   k u b e c t l ;   f o r   a   q u i c k   g u i d e ,   s e e   t h e   c h e a t   s h e e t .   I f   y o u ' r e   u s e d   t o   u s i n g   t h e   d o c k e r   c o m m a n d - l i n e   t o o l ,   k u b e c t l   f o r   D o c k e r   U s e r s   e x p l a i n s   s o m e   e q u i v a l e n t   c o m m a n d s   f o r   K u b e r n e t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_26628"
  },
  {
    "question": "What is Syntax?",
    "answer": "U s e   t h e   f o l l o w i n g   s y n t a x   t o   r u n   k u b e c t l   c o m m a n d s   f r o m   y o u r   t e r m i n a l   w i n d o w :   k u b e c t l   [ c o m m a n d ]   [ T Y P E ]   [ N A M E ]   [ f l a g s ]   w h e r e   c o m m a n d ,   T Y P E ,   N A M E ,   a n d   f l a g s   a r e :   c o m m a n d :   S p e c i f i e s   t h e   o p e r a t i o n   t h a t   y o u   w a n t   t o   p e r f o r m   o n   o n e   o r   m o r e   r e s o u r c e s ,   f o r   e x a m p l e   c r e a t e ,   g e t ,   d e s c r i b e ,   d e l e t e . T Y P E :   S p e c i f i e s   t h e   r e s o u r c e   t y p e .   R e s o u r c e   t y p e s   a r e   c a s e - i n s e n s i t i v e   a n d   y o u   c a n   s p e c i f y   t h e   s i n g u l a r ,   p l u r a l ,   o r   a b b r e v i a t e d   f o r m s .   F o r   e x a m p l e ,   t h e   f o l l o w i n g   c o m m a n d s   p r o d u c e   t h e   s a m e   o u t p u t : k u b e c t l   g e t   p o d   p o d 1   k u b e c t l   g e t   p o d s   p o d 1   k u b e c t l   g e t   p o   p o d 1   N A M E :   S p e c i f i e s   t h e   n a m e   o f   t h e   r e s o u r c e .   N a m e s   a r e   c a s e - s e n s i t i v e .   I f   t h e   n a m e   i s   o m i t t e d ,   d e t a i l s   f o r   a l l   r e s o u r c e s   a r e   d i s p l a y e d ,   f o r   e x a m p l e   k u b e c t l   g e t   p o d s . W h e n   p e r f o r m i n g   a n   o p e r a t i o n   o n   m u l t i p l e   r e s o u r c e s ,   y o u   c a n   s p e c i f y   e a c h   r e s o u r c e   b y   t y p e   a n d   n a m e   o r   s p e c i f y   o n e   o r   m o r e   f i l e s : T o   s p e c i f y   r e s o u r c e s   b y   t y p e   a n d   n a m e : T o   g r o u p   r e s o u r c e s   i f   t h e y   a r e   a l l   t h e   s a m e   t y p e :   T Y P E 1   n a m e 1   n a m e 2   n a m e < # > . E x a m p l e :   k u b e c t l   g e t   p o d   e x a m p l e - p o d 1   e x a m p l e - p o d 2 T o   s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26629"
  },
  {
    "question": "What is Caution:?",
    "answer": "I f   y o u   n e e d   h e l p ,   r u n   k u b e c t l   h e l p   f r o m   t h e   t e r m i n a l   w i n d o w .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26630"
  },
  {
    "question": "What is In-cluster authentication and namespace overrides?",
    "answer": "B y   d e f a u l t   k u b e c t l   w i l l   f i r s t   d e t e r m i n e   i f   i t   i s   r u n n i n g   w i t h i n   a   p o d ,   a n d   t h u s   i n   a   c l u s t e r .   I t   s t a r t s   b y   c h e c k i n g   f o r   t h e   K U B E R N E T E S _ S E R V I C E _ H O S T   a n d   K U B E R N E T E S _ S E R V I C E _ P O R T   e n v i r o n m e n t   v a r i a b l e s   a n d   t h e   e x i s t e n c e   o f   a   s e r v i c e   a c c o u n t   t o k e n   f i l e   a t   / v a r / r u n / s e c r e t s / k u b e r n e t e s . i o / s e r v i c e a c c o u n t / t o k e n .   I f   a l l   t h r e e   a r e   f o u n d   i n - c l u s t e r   a u t h e n t i c a t i o n   i s   a s s u m e d .   T o   m a i n t a i n   b a c k w a r d s   c o m p a t i b i l i t y ,   i f   t h e   P O D _ N A M E S P A C E   e n v i r o n m e n t   v a r i a b l e   i s   s e t   d u r i n g   i n - c l u s t e r   a u t h e n t i c a t i o n   i t   w i l l   o v e r r i d e   t h e   d e f a u l t   n a m e s p a c e   f r o m   t h e   s e r v i c e   a c c o u n t   t o k e n .   A n y   m a n i f e s t s   o r   t o o l s   r e l y i n g   o n   n a m e s p a c e   d e f a u l t i n g   w i l l   b e   a f f e c t e d   b y   t h i s .   P O D _ N A M E S P A C E   e n v i r o n m e n t   v a r i a b l e   I f   t h e   P O D _ N A M E S P A C E   e n v i r o n m e n t   v a r i a b l e   i s   s e t ,   c l i   o p e r a t i o n s   o n   n a m e s p a c e d   r e s o u r c e s   w i l l   d e f a u l t   t o   t h e   v a r i a b l e   v a l u e .   F o r   e x a m p l e ,   i f   t h e   v a r i a b l e   i s   s e t   t o   s e a t t l e ,   k u b e c t l   g e t   p o d s   w o u l d   r e t u r n   p o d s   i n   t h e   s e a t t l e   n a m e s p a c e .   T h i s   i s   b e c a u s e   p o d s   a r e   a   n a m e s p a c e d   r e s o u r c e ,   a n d   n o   n a m e s p a c e   w a s   p r o v i d e d   i n   t h e   c o m m a n d .   R ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26631"
  },
  {
    "question": "What is Operations?",
    "answer": "T h e   f o l l o w i n g   t a b l e   i n c l u d e s   s h o r t   d e s c r i p t i o n s   a n d   t h e   g e n e r a l   s y n t a x   f o r   a l l   o f   t h e   k u b e c t l   o p e r a t i o n s :   T o   l e a r n   m o r e   a b o u t   c o m m a n d   o p e r a t i o n s ,   s e e   t h e   k u b e c t l   r e f e r e n c e   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26632"
  },
  {
    "question": "What is Resource types?",
    "answer": "T h e   f o l l o w i n g   t a b l e   i n c l u d e s   a   l i s t   o f   a l l   t h e   s u p p o r t e d   r e s o u r c e   t y p e s   a n d   t h e i r   a b b r e v i a t e d   a l i a s e s .   ( T h i s   o u t p u t   c a n   b e   r e t r i e v e d   f r o m   k u b e c t l   a p i - r e s o u r c e s ,   a n d   w a s   a c c u r a t e   a s   o f   K u b e r n e t e s   1 . 2 5 . 0 )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26633"
  },
  {
    "question": "What is Output options?",
    "answer": "U s e   t h e   f o l l o w i n g   s e c t i o n s   f o r   i n f o r m a t i o n   a b o u t   h o w   y o u   c a n   f o r m a t   o r   s o r t   t h e   o u t p u t   o f   c e r t a i n   c o m m a n d s .   F o r   d e t a i l s   a b o u t   w h i c h   c o m m a n d s   s u p p o r t   t h e   v a r i o u s   o u t p u t   o p t i o n s ,   s e e   t h e   k u b e c t l   r e f e r e n c e   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26634"
  },
  {
    "question": "What is Formatting output?",
    "answer": "T h e   d e f a u l t   o u t p u t   f o r m a t   f o r   a l l   k u b e c t l   c o m m a n d s   i s   t h e   h u m a n   r e a d a b l e   p l a i n - t e x t   f o r m a t .   T o   o u t p u t   d e t a i l s   t o   y o u r   t e r m i n a l   w i n d o w   i n   a   s p e c i f i c   f o r m a t ,   y o u   c a n   a d d   e i t h e r   t h e   - o   o r   - - o u t p u t   f l a g s   t o   a   s u p p o r t e d   k u b e c t l   c o m m a n d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26635"
  },
  {
    "question": "What is Syntax?",
    "answer": "k u b e c t l   [ c o m m a n d ]   [ T Y P E ]   [ N A M E ]   - o   < o u t p u t _ f o r m a t >   D e p e n d i n g   o n   t h e   k u b e c t l   o p e r a t i o n ,   t h e   f o l l o w i n g   o u t p u t   f o r m a t s   a r e   s u p p o r t e d :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26636"
  },
  {
    "question": "What is Example?",
    "answer": "I n   t h i s   e x a m p l e ,   t h e   f o l l o w i n g   c o m m a n d   o u t p u t s   t h e   d e t a i l s   f o r   a   s i n g l e   p o d   a s   a   Y A M L   f o r m a t t e d   o b j e c t :   k u b e c t l   g e t   p o d   w e b - p o d - 1 3 j e 7   - o   y a m l   R e m e m b e r :   S e e   t h e   k u b e c t l   r e f e r e n c e   d o c u m e n t a t i o n   f o r   d e t a i l s   a b o u t   w h i c h   o u t p u t   f o r m a t   i s   s u p p o r t e d   b y   e a c h   c o m m a n d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_5_26637"
  },
  {
    "question": "What is Custom columns?",
    "answer": "T o   d e f i n e   c u s t o m   c o l u m n s   a n d   o u t p u t   o n l y   t h e   d e t a i l s   t h a t   y o u   w a n t   i n t o   a   t a b l e ,   y o u   c a n   u s e   t h e   c u s t o m - c o l u m n s   o p t i o n .   Y o u   c a n   c h o o s e   t o   d e f i n e   t h e   c u s t o m   c o l u m n s   i n l i n e   o r   u s e   a   t e m p l a t e   f i l e :   - o   c u s t o m - c o l u m n s = < s p e c >   o r   - o   c u s t o m - c o l u m n s - f i l e = < f i l e n a m e > .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26638"
  },
  {
    "question": "What is Examples?",
    "answer": "I n l i n e :   k u b e c t l   g e t   p o d s   < p o d - n a m e >   - o   c u s t o m - c o l u m n s = N A M E : . m e t a d a t a . n a m e , R S R C : . m e t a d a t a . r e s o u r c e V e r s i o n   T e m p l a t e   f i l e :   k u b e c t l   g e t   p o d s   < p o d - n a m e >   - o   c u s t o m - c o l u m n s - f i l e = t e m p l a t e . t x t   w h e r e   t h e   t e m p l a t e . t x t   f i l e   c o n t a i n s :   N A M E   R S R C   m e t a d a t a . n a m e   m e t a d a t a . r e s o u r c e V e r s i o n   T h e   r e s u l t   o f   r u n n i n g   e i t h e r   c o m m a n d   i s   s i m i l a r   t o :   N A M E   R S R C   s u b m i t - q u e u e   6 1 0 9 9 5",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_5_26639"
  },
  {
    "question": "What is Server-side columns?",
    "answer": "k u b e c t l   s u p p o r t s   r e c e i v i n g   s p e c i f i c   c o l u m n   i n f o r m a t i o n   f r o m   t h e   s e r v e r   a b o u t   o b j e c t s .   T h i s   m e a n s   t h a t   f o r   a n y   g i v e n   r e s o u r c e ,   t h e   s e r v e r   w i l l   r e t u r n   c o l u m n s   a n d   r o w s   r e l e v a n t   t o   t h a t   r e s o u r c e ,   f o r   t h e   c l i e n t   t o   p r i n t .   T h i s   a l l o w s   f o r   c o n s i s t e n t   h u m a n - r e a d a b l e   o u t p u t   a c r o s s   c l i e n t s   u s e d   a g a i n s t   t h e   s a m e   c l u s t e r ,   b y   h a v i n g   t h e   s e r v e r   e n c a p s u l a t e   t h e   d e t a i l s   o f   p r i n t i n g .   T h i s   f e a t u r e   i s   e n a b l e d   b y   d e f a u l t .   T o   d i s a b l e   i t ,   a d d   t h e   - - s e r v e r - p r i n t = f a l s e   f l a g   t o   t h e   k u b e c t l   g e t   c o m m a n d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26640"
  },
  {
    "question": "What is Examples?",
    "answer": "T o   p r i n t   i n f o r m a t i o n   a b o u t   t h e   s t a t u s   o f   a   p o d ,   u s e   a   c o m m a n d   l i k e   t h e   f o l l o w i n g :   k u b e c t l   g e t   p o d s   < p o d - n a m e >   - - s e r v e r - p r i n t = f a l s e   T h e   o u t p u t   i s   s i m i l a r   t o :   N A M E   A G E   p o d - n a m e   1 m",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_5_26641"
  },
  {
    "question": "What is Sorting list objects?",
    "answer": "T o   o u t p u t   o b j e c t s   t o   a   s o r t e d   l i s t   i n   y o u r   t e r m i n a l   w i n d o w ,   y o u   c a n   a d d   t h e   - - s o r t - b y   f l a g   t o   a   s u p p o r t e d   k u b e c t l   c o m m a n d .   S o r t   y o u r   o b j e c t s   b y   s p e c i f y i n g   a n y   n u m e r i c   o r   s t r i n g   f i e l d   w i t h   t h e   - - s o r t - b y   f l a g .   T o   s p e c i f y   a   f i e l d ,   u s e   a   j s o n p a t h   e x p r e s s i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26642"
  },
  {
    "question": "What is Syntax?",
    "answer": "k u b e c t l   [ c o m m a n d ]   [ T Y P E ]   [ N A M E ]   - - s o r t - b y = < j s o n p a t h _ e x p >",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26643"
  },
  {
    "question": "What is Example?",
    "answer": "T o   p r i n t   a   l i s t   o f   p o d s   s o r t e d   b y   n a m e ,   y o u   r u n :   k u b e c t l   g e t   p o d s   - - s o r t - b y = . m e t a d a t a . n a m e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_5_26644"
  },
  {
    "question": "What is Examples: Common operations?",
    "answer": "U s e   t h e   f o l l o w i n g   s e t   o f   e x a m p l e s   t o   h e l p   y o u   f a m i l i a r i z e   y o u r s e l f   w i t h   r u n n i n g   t h e   c o m m o n l y   u s e d   k u b e c t l   o p e r a t i o n s :   k u b e c t l   a p p l y   -   A p p l y   o r   U p d a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   s t d i n .   #   C r e a t e   a   s e r v i c e   u s i n g   t h e   d e f i n i t i o n   i n   e x a m p l e - s e r v i c e . y a m l .   k u b e c t l   a p p l y   - f   e x a m p l e - s e r v i c e . y a m l   #   C r e a t e   a   r e p l i c a t i o n   c o n t r o l l e r   u s i n g   t h e   d e f i n i t i o n   i n   e x a m p l e - c o n t r o l l e r . y a m l .   k u b e c t l   a p p l y   - f   e x a m p l e - c o n t r o l l e r . y a m l   #   C r e a t e   t h e   o b j e c t s   t h a t   a r e   d e f i n e d   i n   a n y   . y a m l ,   . y m l ,   o r   . j s o n   f i l e   w i t h i n   t h e   < d i r e c t o r y >   d i r e c t o r y .   k u b e c t l   a p p l y   - f   < d i r e c t o r y >   k u b e c t l   g e t   -   L i s t   o n e   o r   m o r e   r e s o u r c e s .   #   L i s t   a l l   p o d s   i n   p l a i n - t e x t   o u t p u t   f o r m a t .   k u b e c t l   g e t   p o d s   #   L i s t   a l l   p o d s   i n   p l a i n - t e x t   o u t p u t   f o r m a t   a n d   i n c l u d e   a d d i t i o n a l   i n f o r m a t i o n   ( s u c h   a s   n o d e   n a m e ) .   k u b e c t l   g e t   p o d s   - o   w i d e   #   L i s t   t h e   r e p l i c a t i o n   c o n t r o l l e r   w i t h   t h e   s p e c i f i e d   n a m e   i n   p l a i n - t e x t   o u t p u t   f o r m a t .   T i p :   Y o u   c a n   s h o r t e n   a n d   r e p l a c e   t h e   ' r e p l i c a t i o n c o n t r o l l e r '   r e s o u r c e   t y p e   w i t h   t h e   a l i a s   ' r c ' .   k u b e c t l   g e t   r e p l i c a t i o n c o n t r o l l e r   < r c - n a m e > ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26645"
  },
  {
    "question": "What is Note:?",
    "answer": "k u b e c t l   d e l e t e   -   D e l e t e   r e s o u r c e s   e i t h e r   f r o m   a   f i l e ,   s t d i n ,   o r   s p e c i f y i n g   l a b e l   s e l e c t o r s ,   n a m e s ,   r e s o u r c e   s e l e c t o r s ,   o r   r e s o u r c e s .   #   D e l e t e   a   p o d   u s i n g   t h e   t y p e   a n d   n a m e   s p e c i f i e d   i n   t h e   p o d . y a m l   f i l e .   k u b e c t l   d e l e t e   - f   p o d . y a m l   #   D e l e t e   a l l   t h e   p o d s   a n d   s e r v i c e s   t h a t   h a v e   t h e   l a b e l   ' < l a b e l - k e y > = < l a b e l - v a l u e > ' .   k u b e c t l   d e l e t e   p o d s , s e r v i c e s   - l   < l a b e l - k e y > = < l a b e l - v a l u e >   #   D e l e t e   a l l   p o d s ,   i n c l u d i n g   u n i n i t i a l i z e d   o n e s .   k u b e c t l   d e l e t e   p o d s   - - a l l   k u b e c t l   e x e c   -   E x e c u t e   a   c o m m a n d   a g a i n s t   a   c o n t a i n e r   i n   a   p o d .   #   G e t   o u t p u t   f r o m   r u n n i n g   ' d a t e '   f r o m   p o d   < p o d - n a m e > .   B y   d e f a u l t ,   o u t p u t   i s   f r o m   t h e   f i r s t   c o n t a i n e r .   k u b e c t l   e x e c   < p o d - n a m e >   - -   d a t e   #   G e t   o u t p u t   f r o m   r u n n i n g   ' d a t e '   i n   c o n t a i n e r   < c o n t a i n e r - n a m e >   o f   p o d   < p o d - n a m e > .   k u b e c t l   e x e c   < p o d - n a m e >   - c   < c o n t a i n e r - n a m e >   - -   d a t e   #   G e t   a n   i n t e r a c t i v e   T T Y   a n d   r u n   / b i n / b a s h   f r o m   p o d   < p o d - n a m e > .   B y   d e f a u l t ,   o u t p u t   i s   f r o m   t h e   f i r s t   c o n t a i n e r .   k u b e c t l   e x e c   - t i   < p o d - n a m e >   - -   / b i n / b a s h   k u b e c t l   l o g s   -   P r i n t   t h e   l o g s   f o r   a   c o n t a i n e r   i n   a   p o d .   #   R e t u r n   a   s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26646"
  },
  {
    "question": "What is Examples: Creating and using plugins?",
    "answer": "U s e   t h e   f o l l o w i n g   s e t   o f   e x a m p l e s   t o   h e l p   y o u   f a m i l i a r i z e   y o u r s e l f   w i t h   w r i t i n g   a n d   u s i n g   k u b e c t l   p l u g i n s :   #   c r e a t e   a   s i m p l e   p l u g i n   i n   a n y   l a n g u a g e   a n d   n a m e   t h e   r e s u l t i n g   e x e c u t a b l e   f i l e   #   s o   t h a t   i t   b e g i n s   w i t h   t h e   p r e f i x   \" k u b e c t l - \"   c a t   . / k u b e c t l - h e l l o   # ! / b i n / s h   #   t h i s   p l u g i n   p r i n t s   t h e   w o r d s   \" h e l l o   w o r l d \"   e c h o   \" h e l l o   w o r l d \"   W i t h   a   p l u g i n   w r i t t e n ,   l e t ' s   m a k e   i t   e x e c u t a b l e :   c h m o d   a + x   . / k u b e c t l - h e l l o   #   a n d   m o v e   i t   t o   a   l o c a t i o n   i n   o u r   P A T H   s u d o   m v   . / k u b e c t l - h e l l o   / u s r / l o c a l / b i n   s u d o   c h o w n   r o o t : r o o t   / u s r / l o c a l / b i n   #   Y o u   h a v e   n o w   c r e a t e d   a n d   \" i n s t a l l e d \"   a   k u b e c t l   p l u g i n .   #   Y o u   c a n   b e g i n   u s i n g   t h i s   p l u g i n   b y   i n v o k i n g   i t   f r o m   k u b e c t l   a s   i f   i t   w e r e   a   r e g u l a r   c o m m a n d   k u b e c t l   h e l l o   h e l l o   w o r l d   #   Y o u   c a n   \" u n i n s t a l l \"   a   p l u g i n ,   b y   r e m o v i n g   i t   f r o m   t h e   f o l d e r   i n   y o u r   #   $ P A T H   w h e r e   y o u   p l a c e d   i t   s u d o   r m   / u s r / l o c a l / b i n / k u b e c t l - h e l l o   I n   o r d e r   t o   v i e w   a l l   o f   t h e   p l u g i n s   t h a t   a r e   a v a i l a b l e   t o   k u b e c t l ,   u s e   t h e   k u b e c t l   p l u g i n   l i s t   s u b c o m m a n d :   k u b e c t l   p l u g i n   l i s t   T h e   o u t p u t   i s   s i m i l a r   t o :   T h e   f o l l o w i n g   k u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26647"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   t h e   k u b e c t l   r e f e r e n c e   d o c u m e n t a t i o n : t h e   k u b e c t l   c o m m a n d   r e f e r e n c e t h e   c o m m a n d   l i n e   a r g u m e n t s   r e f e r e n c e L e a r n   a b o u t   k u b e c t l   u s a g e   c o n v e n t i o n s R e a d   a b o u t   J S O N P a t h   s u p p o r t   i n   k u b e c t l R e a d   a b o u t   h o w   t o   e x t e n d   k u b e c t l   w i t h   p l u g i n s T o   f i n d   o u t   m o r e   a b o u t   p l u g i n s ,   t a k e   a   l o o k   a t   t h e   e x a m p l e   C L I   p l u g i n .   t h e   k u b e c t l   c o m m a n d   r e f e r e n c e t h e   c o m m a n d   l i n e   a r g u m e n t s   r e f e r e n c e   T o   f i n d   o u t   m o r e   a b o u t   p l u g i n s ,   t a k e   a   l o o k   a t   t h e   e x a m p l e   C L I   p l u g i n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26648"
  },
  {
    "question": "What is 11.1 - Introduction to kubectl?",
    "answer": "k u b e c t l   i s   t h e   K u b e r n e t e s   c l i   v e r s i o n   o f   a   s w i s s   a r m y   k n i f e ,   a n d   c a n   d o   m a n y   t h i n g s .   W h i l e   t h i s   B o o k   i s   f o c u s e d   o n   u s i n g   k u b e c t l   t o   d e c l a r a t i v e l y   m a n a g e   a p p l i c a t i o n s   i n   K u b e r n e t e s ,   i t   a l s o   c o v e r s   o t h e r   k u b e c t l   f u n c t i o n s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_26649"
  },
  {
    "question": "What is Command Families?",
    "answer": "M o s t   k u b e c t l   c o m m a n d s   t y p i c a l l y   f a l l   i n t o   o n e   o f   a   f e w   c a t e g o r i e s :",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26650"
  },
  {
    "question": "What is Declarative Application Management?",
    "answer": "T h e   p r e f e r r e d   a p p r o a c h   f o r   m a n a g i n g   r e s o u r c e s   i s   t h r o u g h   d e c l a r a t i v e   f i l e s   c a l l e d   r e s o u r c e   c o n f i g u r a t i o n   u s e d   w i t h   t h e   k u b e c t l   A p p l y   c o m m a n d .   T h i s   c o m m a n d   r e a d s   a   l o c a l   ( o r   r e m o t e )   f i l e   s t r u c t u r e   a n d   m o d i f i e s   c l u s t e r   s t a t e   t o   r e f l e c t   t h e   d e c l a r e d   i n t e n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26651"
  },
  {
    "question": "What is Printing State about Workloads?",
    "answer": "U s e r s   w i l l   n e e d   t o   v i e w   w o r k l o a d   s t a t e .   P r i n t i n g   s u m m a r i z e   s t a t e   a n d   i n f o r m a t i o n   a b o u t   r e s o u r c e s P r i n t i n g   c o m p l e t e   s t a t e   a n d   i n f o r m a t i o n   a b o u t   r e s o u r c e s P r i n t i n g   s p e c i f i c   f i e l d s   f r o m   r e s o u r c e s Q u e r y   r e s o u r c e s   m a t c h i n g   l a b e l s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26652"
  },
  {
    "question": "What is Debugging Workloads?",
    "answer": "k u b e c t l   s u p p o r t s   d e b u g g i n g   b y   p r o v i d i n g   c o m m a n d s   f o r :   P r i n t i n g   C o n t a i n e r   l o g s P r i n t i n g   c l u s t e r   e v e n t s E x e c   o r   a t t a c h i n g   t o   a   C o n t a i n e r C o p y i n g   f i l e s   f r o m   C o n t a i n e r s   i n   t h e   c l u s t e r   t o   a   u s e r ' s   f i l e s y s t e m",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26653"
  },
  {
    "question": "What is Cluster Management?",
    "answer": "O n   o c c a s i o n ,   u s e r s   m a y   n e e d   t o   p e r f o r m   o p e r a t i o n s   t o   t h e   N o d e s   o f   c l u s t e r .   k u b e c t l   s u p p o r t s   c o m m a n d s   t o   d r a i n   w o r k l o a d s   f r o m   a   N o d e   s o   t h a t   i t   c a n   b e   d e c o m m i s s i o n e d   o r   d e b u g g e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26654"
  },
  {
    "question": "What is Porcelain?",
    "answer": "U s e r s   m a y   f i n d   u s i n g   r e s o u r c e   c o n f i g u r a t i o n   o v e r l y   v e r b o s e   f o r   d e v e l o p m e n t   a n d   p r e f e r   t o   w o r k   w i t h   t h e   c l u s t e r   i m p e r a t i v e l y   w i t h   a   s h e l l - l i k e   w o r k f l o w .   k u b e c t l   o f f e r s   p o r c e l a i n   c o m m a n d s   f o r   g e n e r a t i n g   a n d   m o d i f y i n g   r e s o u r c e s .   G e n e r a t i n g   +   c r e a t i n g   r e s o u r c e s   s u c h   a s   D e p l o y m e n t s ,   S t a t e f u l S e t s ,   S e r v i c e s ,   C o n f i g M a p s ,   e t c . S e t t i n g   f i e l d s   o n   r e s o u r c e s E d i t i n g   ( l i v e )   r e s o u r c e s   i n   a   t e x t   e d i t o r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26655"
  },
  {
    "question": "What is 11.2 - kubectl Quick Reference?",
    "answer": "T h i s   p a g e   c o n t a i n s   a   l i s t   o f   c o m m o n l y   u s e d   k u b e c t l   c o m m a n d s   a n d   f l a g s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_26656"
  },
  {
    "question": "What is BASH?",
    "answer": "s o u r c e   < ( k u b e c t l   c o m p l e t i o n   b a s h )   #   s e t   u p   a u t o c o m p l e t e   i n   b a s h   i n t o   t h e   c u r r e n t   s h e l l ,   b a s h - c o m p l e t i o n   p a c k a g e   s h o u l d   b e   i n s t a l l e d   f i r s t .   e c h o   \" s o u r c e   < ( k u b e c t l   c o m p l e t i o n   b a s h ) \"   > >   ~ / . b a s h r c   #   a d d   a u t o c o m p l e t e   p e r m a n e n t l y   t o   y o u r   b a s h   s h e l l .   Y o u   c a n   a l s o   u s e   a   s h o r t h a n d   a l i a s   f o r   k u b e c t l   t h a t   a l s o   w o r k s   w i t h   c o m p l e t i o n :   a l i a s   k = k u b e c t l   c o m p l e t e   - o   d e f a u l t   - F   _ _ s t a r t _ k u b e c t l   k",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26657"
  },
  {
    "question": "What is ZSH?",
    "answer": "s o u r c e   < ( k u b e c t l   c o m p l e t i o n   z s h )   #   s e t   u p   a u t o c o m p l e t e   i n   z s h   i n t o   t h e   c u r r e n t   s h e l l   e c h o   ' [ [   $ c o m m a n d s [ k u b e c t l ]   ] ]   & &   s o u r c e   < ( k u b e c t l   c o m p l e t i o n   z s h ) '   > >   ~ / . z s h r c   #   a d d   a u t o c o m p l e t e   p e r m a n e n t l y   t o   y o u r   z s h   s h e l l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26658"
  },
  {
    "question": "What is Note:?",
    "answer": "e c h o   ' k u b e c t l   c o m p l e t i o n   f i s h   |   s o u r c e '   >   ~ / . c o n f i g / f i s h / c o m p l e t i o n s / k u b e c t l . f i s h   & &   s o u r c e   ~ / . c o n f i g / f i s h / c o m p l e t i o n s / k u b e c t l . f i s h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26659"
  },
  {
    "question": "What is A note on --all-namespaces?",
    "answer": "A p p e n d i n g   - - a l l - n a m e s p a c e s   h a p p e n s   f r e q u e n t l y   e n o u g h   t h a t   y o u   s h o u l d   b e   a w a r e   o f   t h e   s h o r t h a n d   f o r   - - a l l - n a m e s p a c e s :   k u b e c t l   - A",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26660"
  },
  {
    "question": "What is Kubectl context and configuration?",
    "answer": "S e t   w h i c h   K u b e r n e t e s   c l u s t e r   k u b e c t l   c o m m u n i c a t e s   w i t h   a n d   m o d i f i e s   c o n f i g u r a t i o n   i n f o r m a t i o n .   S e e   A u t h e n t i c a t i n g   A c r o s s   C l u s t e r s   w i t h   k u b e c o n f i g   d o c u m e n t a t i o n   f o r   d e t a i l e d   c o n f i g   f i l e   i n f o r m a t i o n .   k u b e c t l   c o n f i g   v i e w   #   S h o w   M e r g e d   k u b e c o n f i g   s e t t i n g s .   #   u s e   m u l t i p l e   k u b e c o n f i g   f i l e s   a t   t h e   s a m e   t i m e   a n d   v i e w   m e r g e d   c o n f i g   K U B E C O N F I G = ~ / . k u b e / c o n f i g : ~ / . k u b e / k u b c o n f i g 2   k u b e c t l   c o n f i g   v i e w   #   S h o w   m e r g e d   k u b e c o n f i g   s e t t i n g s   a n d   r a w   c e r t i f i c a t e   d a t a   a n d   e x p o s e d   s e c r e t s   k u b e c t l   c o n f i g   v i e w   - - r a w   #   g e t   t h e   p a s s w o r d   f o r   t h e   e 2 e   u s e r   k u b e c t l   c o n f i g   v i e w   - o   j s o n p a t h = ' { . u s e r s [ ? ( @ . n a m e   = =   \" e 2 e \" ) ] . u s e r . p a s s w o r d } '   #   g e t   t h e   c e r t i f i c a t e   f o r   t h e   e 2 e   u s e r   k u b e c t l   c o n f i g   v i e w   - - r a w   - o   j s o n p a t h = ' { . u s e r s [ ? ( . n a m e   = =   \" e 2 e \" ) ] . u s e r . c l i e n t - c e r t i f i c a t e - d a t a } '   |   b a s e 6 4   - d   k u b e c t l   c o n f i g   v i e w   - o   j s o n p a t h = ' { . u s e r s [ ] . n a m e } '   #   d i s p l a y   t h e   f i r s t   u s e r   k u b e c t l   c o n f i g   v i e w   - o   j s o n p a t h = ' { . u s e r s [ * ] . n a m e } '   #   g e t   a   l i s t   o f   u s e r s   k u b e c t l   c o n f i g   g e t - c o n t e x t s   #   d i s p l a y   l i s t   o f   c o n t e x t s   k u b e c t l   c o n f i g   g e t - c o n t e x t s   - o   n a m e   #   g e t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26661"
  },
  {
    "question": "What is Kubectl apply?",
    "answer": "a p p l y   m a n a g e s   a p p l i c a t i o n s   t h r o u g h   f i l e s   d e f i n i n g   K u b e r n e t e s   r e s o u r c e s .   I t   c r e a t e s   a n d   u p d a t e s   r e s o u r c e s   i n   a   c l u s t e r   t h r o u g h   r u n n i n g   k u b e c t l   a p p l y .   T h i s   i s   t h e   r e c o m m e n d e d   w a y   o f   m a n a g i n g   K u b e r n e t e s   a p p l i c a t i o n s   o n   p r o d u c t i o n .   S e e   K u b e c t l   B o o k .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26662"
  },
  {
    "question": "What is Creating objects?",
    "answer": "K u b e r n e t e s   m a n i f e s t s   c a n   b e   d e f i n e d   i n   Y A M L   o r   J S O N .   T h e   f i l e   e x t e n s i o n   . y a m l ,   . y m l ,   a n d   . j s o n   c a n   b e   u s e d .   k u b e c t l   a p p l y   - f   . / m y - m a n i f e s t . y a m l   #   c r e a t e   r e s o u r c e ( s )   k u b e c t l   a p p l y   - f   . / m y 1 . y a m l   - f   . / m y 2 . y a m l   #   c r e a t e   f r o m   m u l t i p l e   f i l e s   k u b e c t l   a p p l y   - f   . / d i r   #   c r e a t e   r e s o u r c e ( s )   i n   a l l   m a n i f e s t   f i l e s   i n   d i r   k u b e c t l   a p p l y   - f   h t t p s : / / e x a m p l e . c o m / m a n i f e s t . y a m l   #   c r e a t e   r e s o u r c e ( s )   f r o m   u r l   ( N o t e :   t h i s   i s   a n   e x a m p l e   d o m a i n   a n d   d o e s   n o t   c o n t a i n   a   v a l i d   m a n i f e s t )   k u b e c t l   c r e a t e   d e p l o y m e n t   n g i n x   - - i m a g e = n g i n x   #   s t a r t   a   s i n g l e   i n s t a n c e   o f   n g i n x   #   c r e a t e   a   J o b   w h i c h   p r i n t s   \" H e l l o   W o r l d \"   k u b e c t l   c r e a t e   j o b   h e l l o   - - i m a g e = b u s y b o x : 1 . 2 8   - -   e c h o   \" H e l l o   W o r l d \"   #   c r e a t e   a   C r o n J o b   t h a t   p r i n t s   \" H e l l o   W o r l d \"   e v e r y   m i n u t e   k u b e c t l   c r e a t e   c r o n j o b   h e l l o   - - i m a g e = b u s y b o x : 1 . 2 8   - - s c h e d u l e = \" * / 1   *   *   *   * \"   - -   e c h o   \" H e l l o   W o r l d \"   k u b e c t l   e x p l a i n   p o d s   #   g e t   t h e   d o c u m e n t a t i o n   f o r   p o d   m a n i f e s t s   #   C r e a t e   m u l t i p l e   Y A M L   o b j e c t s   f r o m   s t d i n   k u b e c t l   a p p l y   - f   -   < < E O F   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   b u s y b o x - s l e e p   s p e c :   c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26663"
  },
  {
    "question": "What is Viewing and finding resources?",
    "answer": "#   G e t   c o m m a n d s   w i t h   b a s i c   o u t p u t   k u b e c t l   g e t   s e r v i c e s   #   L i s t   a l l   s e r v i c e s   i n   t h e   n a m e s p a c e   k u b e c t l   g e t   p o d s   - - a l l - n a m e s p a c e s   #   L i s t   a l l   p o d s   i n   a l l   n a m e s p a c e s   k u b e c t l   g e t   p o d s   - o   w i d e   #   L i s t   a l l   p o d s   i n   t h e   c u r r e n t   n a m e s p a c e ,   w i t h   m o r e   d e t a i l s   k u b e c t l   g e t   d e p l o y m e n t   m y - d e p   #   L i s t   a   p a r t i c u l a r   d e p l o y m e n t   k u b e c t l   g e t   p o d s   #   L i s t   a l l   p o d s   i n   t h e   n a m e s p a c e   k u b e c t l   g e t   p o d   m y - p o d   - o   y a m l   #   G e t   a   p o d ' s   Y A M L   #   D e s c r i b e   c o m m a n d s   w i t h   v e r b o s e   o u t p u t   k u b e c t l   d e s c r i b e   n o d e s   m y - n o d e   k u b e c t l   d e s c r i b e   p o d s   m y - p o d   #   L i s t   S e r v i c e s   S o r t e d   b y   N a m e   k u b e c t l   g e t   s e r v i c e s   - - s o r t - b y = . m e t a d a t a . n a m e   #   L i s t   p o d s   S o r t e d   b y   R e s t a r t   C o u n t   k u b e c t l   g e t   p o d s   - - s o r t - b y = ' . s t a t u s . c o n t a i n e r S t a t u s e s [ 0 ] . r e s t a r t C o u n t '   #   L i s t   P e r s i s t e n t V o l u m e s   s o r t e d   b y   c a p a c i t y   k u b e c t l   g e t   p v   - - s o r t - b y = . s p e c . c a p a c i t y . s t o r a g e   #   G e t   t h e   v e r s i o n   l a b e l   o f   a l l   p o d s   w i t h   l a b e l   a p p = c a s s a n d r a   k u b e c t l   g e t   p o d s   - - s e l e c t o r = a p p = c a s s a n d r a   - o   \\   j s o n p a t h = ' { . i t e m s [ * ] . m e t a d a t a . l a b e l s . v e r s i o n } '   #   R e t r i e v e   t h e   v a l u e   o f   a   k e y   w i t h   d o t s ,   e . g .   ' c a . c r t '   k u b e c t l   g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26664"
  },
  {
    "question": "What is Updating resources?",
    "answer": "k u b e c t l   s e t   i m a g e   d e p l o y m e n t / f r o n t e n d   w w w = i m a g e : v 2   #   R o l l i n g   u p d a t e   \" w w w \"   c o n t a i n e r s   o f   \" f r o n t e n d \"   d e p l o y m e n t ,   u p d a t i n g   t h e   i m a g e   k u b e c t l   r o l l o u t   h i s t o r y   d e p l o y m e n t / f r o n t e n d   #   C h e c k   t h e   h i s t o r y   o f   d e p l o y m e n t s   i n c l u d i n g   t h e   r e v i s i o n   k u b e c t l   r o l l o u t   u n d o   d e p l o y m e n t / f r o n t e n d   #   R o l l b a c k   t o   t h e   p r e v i o u s   d e p l o y m e n t   k u b e c t l   r o l l o u t   u n d o   d e p l o y m e n t / f r o n t e n d   - - t o - r e v i s i o n = 2   #   R o l l b a c k   t o   a   s p e c i f i c   r e v i s i o n   k u b e c t l   r o l l o u t   s t a t u s   - w   d e p l o y m e n t / f r o n t e n d   #   W a t c h   r o l l i n g   u p d a t e   s t a t u s   o f   \" f r o n t e n d \"   d e p l o y m e n t   u n t i l   c o m p l e t i o n   k u b e c t l   r o l l o u t   r e s t a r t   d e p l o y m e n t / f r o n t e n d   #   R o l l i n g   r e s t a r t   o f   t h e   \" f r o n t e n d \"   d e p l o y m e n t   c a t   p o d . j s o n   |   k u b e c t l   r e p l a c e   - f   -   #   R e p l a c e   a   p o d   b a s e d   o n   t h e   J S O N   p a s s e d   i n t o   s t d i n   #   F o r c e   r e p l a c e ,   d e l e t e   a n d   t h e n   r e - c r e a t e   t h e   r e s o u r c e .   W i l l   c a u s e   a   s e r v i c e   o u t a g e .   k u b e c t l   r e p l a c e   - - f o r c e   - f   . / p o d . j s o n   #   C r e a t e   a   s e r v i c e   f o r   a   r e p l i c a t e d   n g i n x ,   w h i c h   s e r v e s   o n   p o r t   8 0   a n d   c o n n e c t s   t o   t h e   c o n t a i n e r s   o n   p o r t   8 0 0 0   k u b e c t l   e x p o s e   r c   n g i n x   - - p o r t = 8 0   - - t a r g e t - p o r t = 8 0 0 0   #   U p d a t e   a   s i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26665"
  },
  {
    "question": "What is Patching resources?",
    "answer": "#   P a r t i a l l y   u p d a t e   a   n o d e   k u b e c t l   p a t c h   n o d e   k 8 s - n o d e - 1   - p   ' { \" s p e c \" : { \" u n s c h e d u l a b l e \" : t r u e } } '   #   U p d a t e   a   c o n t a i n e r ' s   i m a g e ;   s p e c . c o n t a i n e r s [ * ] . n a m e   i s   r e q u i r e d   b e c a u s e   i t ' s   a   m e r g e   k e y   k u b e c t l   p a t c h   p o d   v a l i d - p o d   - p   ' { \" s p e c \" : { \" c o n t a i n e r s \" : [ { \" n a m e \" : \" k u b e r n e t e s - s e r v e - h o s t n a m e \" , \" i m a g e \" : \" n e w   i m a g e \" } ] } } '   #   U p d a t e   a   c o n t a i n e r ' s   i m a g e   u s i n g   a   j s o n   p a t c h   w i t h   p o s i t i o n a l   a r r a y s   k u b e c t l   p a t c h   p o d   v a l i d - p o d   - - t y p e = ' j s o n '   - p = ' [ { \" o p \" :   \" r e p l a c e \" ,   \" p a t h \" :   \" / s p e c / c o n t a i n e r s / 0 / i m a g e \" ,   \" v a l u e \" : \" n e w   i m a g e \" } ] '   #   D i s a b l e   a   d e p l o y m e n t   l i v e n e s s P r o b e   u s i n g   a   j s o n   p a t c h   w i t h   p o s i t i o n a l   a r r a y s   k u b e c t l   p a t c h   d e p l o y m e n t   v a l i d - d e p l o y m e n t   - - t y p e   j s o n   - p = ' [ { \" o p \" :   \" r e m o v e \" ,   \" p a t h \" :   \" / s p e c / t e m p l a t e / s p e c / c o n t a i n e r s / 0 / l i v e n e s s P r o b e \" } ] '   #   A d d   a   n e w   e l e m e n t   t o   a   p o s i t i o n a l   a r r a y   k u b e c t l   p a t c h   s a   d e f a u l t   - - t y p e = ' j s o n '   - p = ' [ { \" o p \" :   \" a d d \" ,   \" p a t h \" :   \" / s e c r e t s / 1 \" ,   \" v a l u e \" :   { \" n a m e \" :   \" w h a t e v e r \"   }   } ] '   #   U p d a t e   a   d e p l o y m e n t ' s   r e p l i c a   c o u n t   b y   p a t c h i n g   i t s   s c a l e   s u b r e s o u r c e   k u b e c t l   p a t c h   d e p l o y m e n t   n g i n x - d e p l o y m e n t   - - s u b r e s o u r c e = ' s c a l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26666"
  },
  {
    "question": "What is Editing resources?",
    "answer": "E d i t   a n y   A P I   r e s o u r c e   i n   y o u r   p r e f e r r e d   e d i t o r .   k u b e c t l   e d i t   s v c / d o c k e r - r e g i s t r y   #   E d i t   t h e   s e r v i c e   n a m e d   d o c k e r - r e g i s t r y   K U B E _ E D I T O R = \" n a n o \"   k u b e c t l   e d i t   s v c / d o c k e r - r e g i s t r y   #   U s e   a n   a l t e r n a t i v e   e d i t o r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26667"
  },
  {
    "question": "What is Scaling resources?",
    "answer": "k u b e c t l   s c a l e   - - r e p l i c a s = 3   r s / f o o   #   S c a l e   a   r e p l i c a s e t   n a m e d   ' f o o '   t o   3   k u b e c t l   s c a l e   - - r e p l i c a s = 3   - f   f o o . y a m l   #   S c a l e   a   r e s o u r c e   s p e c i f i e d   i n   \" f o o . y a m l \"   t o   3   k u b e c t l   s c a l e   - - c u r r e n t - r e p l i c a s = 2   - - r e p l i c a s = 3   d e p l o y m e n t / m y s q l   #   I f   t h e   d e p l o y m e n t   n a m e d   m y s q l ' s   c u r r e n t   s i z e   i s   2 ,   s c a l e   m y s q l   t o   3   k u b e c t l   s c a l e   - - r e p l i c a s = 5   r c / f o o   r c / b a r   r c / b a z   #   S c a l e   m u l t i p l e   r e p l i c a t i o n   c o n t r o l l e r s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26668"
  },
  {
    "question": "What is Deleting resources?",
    "answer": "k u b e c t l   d e l e t e   - f   . / p o d . j s o n   #   D e l e t e   a   p o d   u s i n g   t h e   t y p e   a n d   n a m e   s p e c i f i e d   i n   p o d . j s o n   k u b e c t l   d e l e t e   p o d   u n w a n t e d   - - n o w   #   D e l e t e   a   p o d   w i t h   n o   g r a c e   p e r i o d   k u b e c t l   d e l e t e   p o d , s e r v i c e   b a z   f o o   #   D e l e t e   p o d s   a n d   s e r v i c e s   w i t h   s a m e   n a m e s   \" b a z \"   a n d   \" f o o \"   k u b e c t l   d e l e t e   p o d s , s e r v i c e s   - l   n a m e = m y L a b e l   #   D e l e t e   p o d s   a n d   s e r v i c e s   w i t h   l a b e l   n a m e = m y L a b e l   k u b e c t l   - n   m y - n s   d e l e t e   p o d , s v c   - - a l l   #   D e l e t e   a l l   p o d s   a n d   s e r v i c e s   i n   n a m e s p a c e   m y - n s ,   #   D e l e t e   a l l   p o d s   m a t c h i n g   t h e   a w k   p a t t e r n 1   o r   p a t t e r n 2   k u b e c t l   g e t   p o d s   - n   m y n a m e s p a c e   - - n o - h e a d e r s = t r u e   |   a w k   ' / p a t t e r n 1 | p a t t e r n 2 / { p r i n t   $ 1 } '   |   x a r g s   k u b e c t l   d e l e t e   - n   m y n a m e s p a c e   p o d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26669"
  },
  {
    "question": "What is Interacting with running Pods?",
    "answer": "k u b e c t l   l o g s   m y - p o d   #   d u m p   p o d   l o g s   ( s t d o u t )   k u b e c t l   l o g s   - l   n a m e = m y L a b e l   #   d u m p   p o d   l o g s ,   w i t h   l a b e l   n a m e = m y L a b e l   ( s t d o u t )   k u b e c t l   l o g s   m y - p o d   - - p r e v i o u s   #   d u m p   p o d   l o g s   ( s t d o u t )   f o r   a   p r e v i o u s   i n s t a n t i a t i o n   o f   a   c o n t a i n e r   k u b e c t l   l o g s   m y - p o d   - c   m y - c o n t a i n e r   #   d u m p   p o d   c o n t a i n e r   l o g s   ( s t d o u t ,   m u l t i - c o n t a i n e r   c a s e )   k u b e c t l   l o g s   - l   n a m e = m y L a b e l   - c   m y - c o n t a i n e r   #   d u m p   p o d   c o n t a i n e r   l o g s ,   w i t h   l a b e l   n a m e = m y L a b e l   ( s t d o u t )   k u b e c t l   l o g s   m y - p o d   - c   m y - c o n t a i n e r   - - p r e v i o u s   #   d u m p   p o d   c o n t a i n e r   l o g s   ( s t d o u t ,   m u l t i - c o n t a i n e r   c a s e )   f o r   a   p r e v i o u s   i n s t a n t i a t i o n   o f   a   c o n t a i n e r   k u b e c t l   l o g s   - f   m y - p o d   #   s t r e a m   p o d   l o g s   ( s t d o u t )   k u b e c t l   l o g s   - f   m y - p o d   - c   m y - c o n t a i n e r   #   s t r e a m   p o d   c o n t a i n e r   l o g s   ( s t d o u t ,   m u l t i - c o n t a i n e r   c a s e )   k u b e c t l   l o g s   - f   - l   n a m e = m y L a b e l   - - a l l - c o n t a i n e r s   #   s t r e a m   a l l   p o d s   l o g s   w i t h   l a b e l   n a m e = m y L a b e l   ( s t d o u t )   k u b e c t l   r u n   - i   - - t t y   b u s y b o x   - - i m a g e = b u s y b o x : 1 . 2 8   - -   s h   #   R u n   p o d   a s   i n t e r a c t i v e   s h e l l   k u b e c t l   r u n   n g i n x   - - i m a g e = n g i n x   - n   m y n a m e s p a c e   #   S t a r t   a   s i n g l e   i n s t a n c e   o f   n g i n x   p o d   i n   t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26670"
  },
  {
    "question": "What is Copying files and directories to and from containers?",
    "answer": "k u b e c t l   c p   / t m p / f o o _ d i r   m y - p o d : / t m p / b a r _ d i r   #   C o p y   / t m p / f o o _ d i r   l o c a l   d i r e c t o r y   t o   / t m p / b a r _ d i r   i n   a   r e m o t e   p o d   i n   t h e   c u r r e n t   n a m e s p a c e   k u b e c t l   c p   / t m p / f o o   m y - p o d : / t m p / b a r   - c   m y - c o n t a i n e r   #   C o p y   / t m p / f o o   l o c a l   f i l e   t o   / t m p / b a r   i n   a   r e m o t e   p o d   i n   a   s p e c i f i c   c o n t a i n e r   k u b e c t l   c p   / t m p / f o o   m y - n a m e s p a c e / m y - p o d : / t m p / b a r   #   C o p y   / t m p / f o o   l o c a l   f i l e   t o   / t m p / b a r   i n   a   r e m o t e   p o d   i n   n a m e s p a c e   m y - n a m e s p a c e   k u b e c t l   c p   m y - n a m e s p a c e / m y - p o d : / t m p / f o o   / t m p / b a r   #   C o p y   / t m p / f o o   f r o m   a   r e m o t e   p o d   t o   / t m p / b a r   l o c a l l y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26671"
  },
  {
    "question": "What is Note:?",
    "answer": "t a r   c f   -   / t m p / f o o   |   k u b e c t l   e x e c   - i   - n   m y - n a m e s p a c e   m y - p o d   - -   t a r   x f   -   - C   / t m p / b a r   #   C o p y   / t m p / f o o   l o c a l   f i l e   t o   / t m p / b a r   i n   a   r e m o t e   p o d   i n   n a m e s p a c e   m y - n a m e s p a c e   k u b e c t l   e x e c   - n   m y - n a m e s p a c e   m y - p o d   - -   t a r   c f   -   / t m p / f o o   |   t a r   x f   -   - C   / t m p / b a r   #   C o p y   / t m p / f o o   f r o m   a   r e m o t e   p o d   t o   / t m p / b a r   l o c a l l y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_26672"
  },
  {
    "question": "What is Interacting with Deployments and Services?",
    "answer": "k u b e c t l   l o g s   d e p l o y / m y - d e p l o y m e n t   #   d u m p   P o d   l o g s   f o r   a   D e p l o y m e n t   ( s i n g l e - c o n t a i n e r   c a s e )   k u b e c t l   l o g s   d e p l o y / m y - d e p l o y m e n t   - c   m y - c o n t a i n e r   #   d u m p   P o d   l o g s   f o r   a   D e p l o y m e n t   ( m u l t i - c o n t a i n e r   c a s e )   k u b e c t l   p o r t - f o r w a r d   s v c / m y - s e r v i c e   5 0 0 0   #   l i s t e n   o n   l o c a l   p o r t   5 0 0 0   a n d   f o r w a r d   t o   p o r t   5 0 0 0   o n   S e r v i c e   b a c k e n d   k u b e c t l   p o r t - f o r w a r d   s v c / m y - s e r v i c e   5 0 0 0 : m y - s e r v i c e - p o r t   #   l i s t e n   o n   l o c a l   p o r t   5 0 0 0   a n d   f o r w a r d   t o   S e r v i c e   t a r g e t   p o r t   w i t h   n a m e   < m y - s e r v i c e - p o r t >   k u b e c t l   p o r t - f o r w a r d   d e p l o y / m y - d e p l o y m e n t   5 0 0 0 : 6 0 0 0   #   l i s t e n   o n   l o c a l   p o r t   5 0 0 0   a n d   f o r w a r d   t o   p o r t   6 0 0 0   o n   a   P o d   c r e a t e d   b y   < m y - d e p l o y m e n t >   k u b e c t l   e x e c   d e p l o y / m y - d e p l o y m e n t   - -   l s   #   r u n   c o m m a n d   i n   f i r s t   P o d   a n d   f i r s t   c o n t a i n e r   i n   D e p l o y m e n t   ( s i n g l e -   o r   m u l t i - c o n t a i n e r   c a s e s )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26673"
  },
  {
    "question": "What is Interacting with Nodes and cluster?",
    "answer": "k u b e c t l   c o r d o n   m y - n o d e   #   M a r k   m y - n o d e   a s   u n s c h e d u l a b l e   k u b e c t l   d r a i n   m y - n o d e   #   D r a i n   m y - n o d e   i n   p r e p a r a t i o n   f o r   m a i n t e n a n c e   k u b e c t l   u n c o r d o n   m y - n o d e   #   M a r k   m y - n o d e   a s   s c h e d u l a b l e   k u b e c t l   t o p   n o d e   #   S h o w   m e t r i c s   f o r   a l l   n o d e s   k u b e c t l   t o p   n o d e   m y - n o d e   #   S h o w   m e t r i c s   f o r   a   g i v e n   n o d e   k u b e c t l   c l u s t e r - i n f o   #   D i s p l a y   a d d r e s s e s   o f   t h e   m a s t e r   a n d   s e r v i c e s   k u b e c t l   c l u s t e r - i n f o   d u m p   #   D u m p   c u r r e n t   c l u s t e r   s t a t e   t o   s t d o u t   k u b e c t l   c l u s t e r - i n f o   d u m p   - - o u t p u t - d i r e c t o r y = / p a t h / t o / c l u s t e r - s t a t e   #   D u m p   c u r r e n t   c l u s t e r   s t a t e   t o   / p a t h / t o / c l u s t e r - s t a t e   #   V i e w   e x i s t i n g   t a i n t s   o n   w h i c h   e x i s t   o n   c u r r e n t   n o d e s .   k u b e c t l   g e t   n o d e s   - o = ' c u s t o m - c o l u m n s = N o d e N a m e : . m e t a d a t a . n a m e , T a i n t K e y : . s p e c . t a i n t s [ * ] . k e y , T a i n t V a l u e : . s p e c . t a i n t s [ * ] . v a l u e , T a i n t E f f e c t : . s p e c . t a i n t s [ * ] . e f f e c t '   #   I f   a   t a i n t   w i t h   t h a t   k e y   a n d   e f f e c t   a l r e a d y   e x i s t s ,   i t s   v a l u e   i s   r e p l a c e d   a s   s p e c i f i e d .   k u b e c t l   t a i n t   n o d e s   f o o   d e d i c a t e d = s p e c i a l - u s e r : N o S c h e d u l e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26674"
  },
  {
    "question": "What is Resource types?",
    "answer": "L i s t   a l l   s u p p o r t e d   r e s o u r c e   t y p e s   a l o n g   w i t h   t h e i r   s h o r t n a m e s ,   A P I   g r o u p ,   w h e t h e r   t h e y   a r e   n a m e s p a c e d ,   a n d   k i n d :   k u b e c t l   a p i - r e s o u r c e s   O t h e r   o p e r a t i o n s   f o r   e x p l o r i n g   A P I   r e s o u r c e s :   k u b e c t l   a p i - r e s o u r c e s   - - n a m e s p a c e d = t r u e   #   A l l   n a m e s p a c e d   r e s o u r c e s   k u b e c t l   a p i - r e s o u r c e s   - - n a m e s p a c e d = f a l s e   #   A l l   n o n - n a m e s p a c e d   r e s o u r c e s   k u b e c t l   a p i - r e s o u r c e s   - o   n a m e   #   A l l   r e s o u r c e s   w i t h   s i m p l e   o u t p u t   ( o n l y   t h e   r e s o u r c e   n a m e )   k u b e c t l   a p i - r e s o u r c e s   - o   w i d e   #   A l l   r e s o u r c e s   w i t h   e x p a n d e d   ( a k a   \" w i d e \" )   o u t p u t   k u b e c t l   a p i - r e s o u r c e s   - - v e r b s = l i s t , g e t   #   A l l   r e s o u r c e s   t h a t   s u p p o r t   t h e   \" l i s t \"   a n d   \" g e t \"   r e q u e s t   v e r b s   k u b e c t l   a p i - r e s o u r c e s   - - a p i - g r o u p = e x t e n s i o n s   #   A l l   r e s o u r c e s   i n   t h e   \" e x t e n s i o n s \"   A P I   g r o u p",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26675"
  },
  {
    "question": "What is Formatting output?",
    "answer": "T o   o u t p u t   d e t a i l s   t o   y o u r   t e r m i n a l   w i n d o w   i n   a   s p e c i f i c   f o r m a t ,   a d d   t h e   - o   ( o r   - - o u t p u t )   f l a g   t o   a   s u p p o r t e d   k u b e c t l   c o m m a n d .   E x a m p l e s   u s i n g   - o = c u s t o m - c o l u m n s :   #   A l l   i m a g e s   r u n n i n g   i n   a   c l u s t e r   k u b e c t l   g e t   p o d s   - A   - o = c u s t o m - c o l u m n s = ' D A T A : s p e c . c o n t a i n e r s [ * ] . i m a g e '   #   A l l   i m a g e s   r u n n i n g   i n   n a m e s p a c e :   d e f a u l t ,   g r o u p e d   b y   P o d   k u b e c t l   g e t   p o d s   - - n a m e s p a c e   d e f a u l t   - - o u t p u t = c u s t o m - c o l u m n s = \" N A M E : . m e t a d a t a . n a m e , I M A G E : . s p e c . c o n t a i n e r s [ * ] . i m a g e \"   #   A l l   i m a g e s   e x c l u d i n g   \" r e g i s t r y . k 8 s . i o / c o r e d n s : 1 . 6 . 2 \"   k u b e c t l   g e t   p o d s   - A   - o = c u s t o m - c o l u m n s = ' D A T A : s p e c . c o n t a i n e r s [ ? ( @ . i m a g e ! = \" r e g i s t r y . k 8 s . i o / c o r e d n s : 1 . 6 . 2 \" ) ] . i m a g e '   #   A l l   f i e l d s   u n d e r   m e t a d a t a   r e g a r d l e s s   o f   n a m e   k u b e c t l   g e t   p o d s   - A   - o = c u s t o m - c o l u m n s = ' D A T A : m e t a d a t a . * '   M o r e   e x a m p l e s   i n   t h e   k u b e c t l   r e f e r e n c e   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26676"
  },
  {
    "question": "What is Kubectl output verbosity and debugging?",
    "answer": "K u b e c t l   v e r b o s i t y   i s   c o n t r o l l e d   w i t h   t h e   - v   o r   - - v   f l a g s   f o l l o w e d   b y   a n   i n t e g e r   r e p r e s e n t i n g   t h e   l o g   l e v e l .   G e n e r a l   K u b e r n e t e s   l o g g i n g   c o n v e n t i o n s   a n d   t h e   a s s o c i a t e d   l o g   l e v e l s   a r e   d e s c r i b e d   h e r e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_26677"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   t h e   k u b e c t l   o v e r v i e w   a n d   l e a r n   a b o u t   J s o n P a t h . S e e   k u b e c t l   o p t i o n s . S e e   k u b e r c   o p t i o n s . A l s o   r e a d   k u b e c t l   U s a g e   C o n v e n t i o n s   t o   u n d e r s t a n d   h o w   t o   u s e   k u b e c t l   i n   r e u s a b l e   s c r i p t s . S e e   m o r e   c o m m u n i t y   k u b e c t l   c h e a t s h e e t s .   R e a d   t h e   k u b e c t l   o v e r v i e w   a n d   l e a r n   a b o u t   J s o n P a t h .   S e e   k u b e c t l   o p t i o n s .   S e e   k u b e r c   o p t i o n s .   A l s o   r e a d   k u b e c t l   U s a g e   C o n v e n t i o n s   t o   u n d e r s t a n d   h o w   t o   u s e   k u b e c t l   i n   r e u s a b l e   s c r i p t s .   S e e   m o r e   c o m m u n i t y   k u b e c t l   c h e a t s h e e t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26678"
  },
  {
    "question": "What is Synopsis?",
    "answer": "k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r .   F i n d   m o r e   i n f o r m a t i o n   a t :   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / k u b e c t l /   k u b e c t l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26679"
  },
  {
    "question": "What is Options?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   h e l p   f o r   k u b e c t l   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26680"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   a n n o t a t e   -   U p d a t e   t h e   a n n o t a t i o n s   o n   a   r e s o u r c e k u b e c t l   a p i - r e s o u r c e s   -   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   o n   t h e   s e r v e r k u b e c t l   a p i - v e r s i o n s   -   P r i n t   t h e   s u p p o r t e d   A P I   v e r s i o n s   o n   t h e   s e r v e r ,   i n   t h e   f o r m   o f   \" g r o u p / v e r s i o n \" k u b e c t l   a p p l y   -   A p p l y   a   c o n f i g u r a t i o n   t o   a   r e s o u r c e   b y   f i l e   n a m e   o r   s t d i n k u b e c t l   a t t a c h   -   A t t a c h   t o   a   r u n n i n g   c o n t a i n e r k u b e c t l   a u t h   -   I n s p e c t   a u t h o r i z a t i o n k u b e c t l   a u t o s c a l e   -   A u t o - s c a l e   a   d e p l o y m e n t ,   r e p l i c a   s e t ,   s t a t e f u l   s e t ,   o r   r e p l i c a t i o n   c o n t r o l l e r k u b e c t l   c e r t i f i c a t e   -   M o d i f y   c e r t i f i c a t e   r e s o u r c e s k u b e c t l   c l u s t e r - i n f o   -   D i s p l a y   c l u s t e r   i n f o r m a t i o n k u b e c t l   c o m p l e t i o n   -   O u t p u t   s h e l l   c o m p l e t i o n   c o d e   f o r   t h e   s p e c i f i e d   s h e l l   ( b a s h ,   z s h ,   f i s h ,   o r   p o w e r s h e l l ) k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s k u b e c t l   c o r d o n   -   M a r k   n o d e   a s   u n s c h e d u l a b l e k u b e c t l   c p   -   C o p y   f i l e s   a n d   d i r e c t o r i e s   t o   a n d   f r o m   c o n t a i n e r s k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n k u b e c t l   d e b u g   -   C r e a t e   d e b u g g i n g   s e s s i o n s   f o r   t r o u b l e s h o o t i n g   w o r k l o a d s   a n d   n o d e s k u b e c t l   d e l e t e   -   D e l e t e   r e s o u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26681"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e   t h e   a n n o t a t i o n s   o n   o n e   o r   m o r e   r e s o u r c e s .   A l l   K u b e r n e t e s   o b j e c t s   s u p p o r t   t h e   a b i l i t y   t o   s t o r e   a d d i t i o n a l   d a t a   w i t h   t h e   o b j e c t   a s   a n n o t a t i o n s .   A n n o t a t i o n s   a r e   k e y / v a l u e   p a i r s   t h a t   c a n   b e   l a r g e r   t h a n   l a b e l s   a n d   i n c l u d e   a r b i t r a r y   s t r i n g   v a l u e s   s u c h   a s   s t r u c t u r e d   J S O N .   T o o l s   a n d   s y s t e m   e x t e n s i o n s   m a y   u s e   a n n o t a t i o n s   t o   s t o r e   t h e i r   o w n   d a t a .   A t t e m p t i n g   t o   s e t   a n   a n n o t a t i o n   t h a t   a l r e a d y   e x i s t s   w i l l   f a i l   u n l e s s   - - o v e r w r i t e   i s   s e t .   I f   - - r e s o u r c e - v e r s i o n   i s   s p e c i f i e d   a n d   d o e s   n o t   m a t c h   t h e   c u r r e n t   r e s o u r c e   v e r s i o n   o n   t h e   s e r v e r   t h e   c o m m a n d   w i l l   f a i l .   U s e   \" k u b e c t l   a p i - r e s o u r c e s \"   f o r   a   c o m p l e t e   l i s t   o f   s u p p o r t e d   r e s o u r c e s .   k u b e c t l   a n n o t a t e   [ - - o v e r w r i t e ]   ( - f   F I L E N A M E   |   T Y P E   N A M E )   K E Y _ 1 = V A L _ 1   . . .   K E Y _ N = V A L _ N   [ - - r e s o u r c e - v e r s i o n = v e r s i o n ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26682"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U p d a t e   p o d   ' f o o '   w i t h   t h e   a n n o t a t i o n   ' d e s c r i p t i o n '   a n d   t h e   v a l u e   ' m y   f r o n t e n d '   #   I f   t h e   s a m e   a n n o t a t i o n   i s   s e t   m u l t i p l e   t i m e s ,   o n l y   t h e   l a s t   v a l u e   w i l l   b e   a p p l i e d   k u b e c t l   a n n o t a t e   p o d s   f o o   d e s c r i p t i o n = ' m y   f r o n t e n d '   #   U p d a t e   a   p o d   i d e n t i f i e d   b y   t y p e   a n d   n a m e   i n   \" p o d . j s o n \"   k u b e c t l   a n n o t a t e   - f   p o d . j s o n   d e s c r i p t i o n = ' m y   f r o n t e n d '   #   U p d a t e   p o d   ' f o o '   w i t h   t h e   a n n o t a t i o n   ' d e s c r i p t i o n '   a n d   t h e   v a l u e   ' m y   f r o n t e n d   r u n n i n g   n g i n x ' ,   o v e r w r i t i n g   a n y   e x i s t i n g   v a l u e   k u b e c t l   a n n o t a t e   - - o v e r w r i t e   p o d s   f o o   d e s c r i p t i o n = ' m y   f r o n t e n d   r u n n i n g   n g i n x '   #   U p d a t e   a l l   p o d s   i n   t h e   n a m e s p a c e   k u b e c t l   a n n o t a t e   p o d s   - - a l l   d e s c r i p t i o n = ' m y   f r o n t e n d   r u n n i n g   n g i n x '   #   U p d a t e   p o d   ' f o o '   o n l y   i f   t h e   r e s o u r c e   i s   u n c h a n g e d   f r o m   v e r s i o n   1   k u b e c t l   a n n o t a t e   p o d s   f o o   d e s c r i p t i o n = ' m y   f r o n t e n d   r u n n i n g   n g i n x '   - - r e s o u r c e - v e r s i o n = 1   #   U p d a t e   p o d   ' f o o '   b y   r e m o v i n g   a n   a n n o t a t i o n   n a m e d   ' d e s c r i p t i o n '   i f   i t   e x i s t s   #   D o e s   n o t   r e q u i r e   t h e   - - o v e r w r i t e   f l a g   k u b e c t l   a n n o t a t e   p o d s   f o o   d e s c r i p t i o n -",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26683"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s ,   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s .   I f   t r u e ,   c h e c k   t h e   s p e c i f i e d   a c t i o n   i n   a l l   n a m e s p a c e s .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   S e l e c t o r   ( f i e l d   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   a n d   ' ! = ' . ( e . g .   - - f i e l d - s e l e c t o r   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 ) .   T h e   s e r v e r   o n l y   s u p p o r t s   a   l i m i t e d   n u m b e r   o f   f i e l d   q u e r i e s   p e r   t y p e .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   u p d a t e   t h e   a n n o t a t i o n   h e l p   f o r   a n n o t a t e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   I f   t r u e ,   d i s p l a y   t h e   a n n o t a t i o n s   f o r   a   g i v e n   r e s o u r c e .   I f   t r u e ,   a n n o t a t i o n   w i l l   N O T   c o n t a c t   a p i - s e r v e r   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26684"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26685"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26686"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   o n   t h e   s e r v e r .   k u b e c t l   a p i - r e s o u r c e s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26687"
  },
  {
    "question": "What is Examples?",
    "answer": "#   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   k u b e c t l   a p i - r e s o u r c e s   #   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   w i t h   m o r e   i n f o r m a t i o n   k u b e c t l   a p i - r e s o u r c e s   - o   w i d e   #   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   s o r t e d   b y   a   c o l u m n   k u b e c t l   a p i - r e s o u r c e s   - - s o r t - b y = n a m e   #   P r i n t   t h e   s u p p o r t e d   n a m e s p a c e d   r e s o u r c e s   k u b e c t l   a p i - r e s o u r c e s   - - n a m e s p a c e d = t r u e   #   P r i n t   t h e   s u p p o r t e d   n o n - n a m e s p a c e d   r e s o u r c e s   k u b e c t l   a p i - r e s o u r c e s   - - n a m e s p a c e d = f a l s e   #   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   w i t h   a   s p e c i f i c   A P I G r o u p   k u b e c t l   a p i - r e s o u r c e s   - - a p i - g r o u p = r b a c . a u t h o r i z a t i o n . k 8 s . i o",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26688"
  },
  {
    "question": "What is Options?",
    "answer": "L i m i t   t o   r e s o u r c e s   i n   t h e   s p e c i f i e d   A P I   g r o u p .   U s e   t h e   c a c h e d   l i s t   o f   r e s o u r c e s   i f   a v a i l a b l e .   L i m i t   t o   r e s o u r c e s   t h a t   b e l o n g   t o   t h e   s p e c i f i e d   c a t e g o r i e s .   h e l p   f o r   a p i - r e s o u r c e s   I f   f a l s e ,   n o n - n a m e s p a c e d   r e s o u r c e s   w i l l   b e   r e t u r n e d ,   o t h e r w i s e   r e t u r n i n g   n a m e s p a c e d   r e s o u r c e s   b y   d e f a u l t .   W h e n   u s i n g   t h e   d e f a u l t   o r   c u s t o m - c o l u m n   o u t p u t   f o r m a t ,   d o n ' t   p r i n t   h e a d e r s   ( d e f a u l t   p r i n t   h e a d e r s ) .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   w i d e ) .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   I f   n o n - e m p t y ,   s o r t   l i s t   o f   r e s o u r c e s   u s i n g   s p e c i f i e d   f i e l d .   T h e   f i e l d   c a n   b e   e i t h e r   ' n a m e '   o r   ' k i n d ' .   L i m i t   t o   r e s o u r c e s   t h a t   s u p p o r t   t h e   s p e c i f i e d   v e r b s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26689"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26690"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26691"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r i n t   t h e   s u p p o r t e d   A P I   v e r s i o n s   o n   t h e   s e r v e r ,   i n   t h e   f o r m   o f   \" g r o u p / v e r s i o n \" .   k u b e c t l   a p i - v e r s i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26692"
  },
  {
    "question": "What is Examples?",
    "answer": "#   P r i n t   t h e   s u p p o r t e d   A P I   v e r s i o n s   k u b e c t l   a p i - v e r s i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26693"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   a p i - v e r s i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26694"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26695"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26696"
  },
  {
    "question": "What is Synopsis?",
    "answer": "A p p l y   a   c o n f i g u r a t i o n   t o   a   r e s o u r c e   b y   f i l e   n a m e   o r   s t d i n .   T h e   r e s o u r c e   n a m e   m u s t   b e   s p e c i f i e d .   T h i s   r e s o u r c e   w i l l   b e   c r e a t e d   i f   i t   d o e s n ' t   e x i s t   y e t .   T o   u s e   ' a p p l y ' ,   a l w a y s   c r e a t e   t h e   r e s o u r c e   i n i t i a l l y   w i t h   e i t h e r   ' a p p l y '   o r   ' c r e a t e   - - s a v e - c o n f i g ' .   J S O N   a n d   Y A M L   f o r m a t s   a r e   a c c e p t e d .   A l p h a   D i s c l a i m e r :   t h e   - - p r u n e   f u n c t i o n a l i t y   i s   n o t   y e t   c o m p l e t e .   D o   n o t   u s e   u n l e s s   y o u   a r e   a w a r e   o f   w h a t   t h e   c u r r e n t   s t a t e   i s .   S e e   h t t p s : / / i s s u e s . k 8 s . i o / 3 4 2 7 4 .   k u b e c t l   a p p l y   ( - f   F I L E N A M E   |   - k   D I R E C T O R Y )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26697"
  },
  {
    "question": "What is Examples?",
    "answer": "#   A p p l y   t h e   c o n f i g u r a t i o n   i n   p o d . j s o n   t o   a   p o d   k u b e c t l   a p p l y   - f   . / p o d . j s o n   #   A p p l y   r e s o u r c e s   f r o m   a   d i r e c t o r y   c o n t a i n i n g   k u s t o m i z a t i o n . y a m l   -   e . g .   d i r / k u s t o m i z a t i o n . y a m l   k u b e c t l   a p p l y   - k   d i r /   #   A p p l y   t h e   J S O N   p a s s e d   i n t o   s t d i n   t o   a   p o d   c a t   p o d . j s o n   |   k u b e c t l   a p p l y   - f   -   #   A p p l y   t h e   c o n f i g u r a t i o n   f r o m   a l l   f i l e s   t h a t   e n d   w i t h   ' . j s o n '   k u b e c t l   a p p l y   - f   ' * . j s o n '   #   N o t e :   - - p r u n e   i s   s t i l l   i n   A l p h a   #   A p p l y   t h e   c o n f i g u r a t i o n   i n   m a n i f e s t . y a m l   t h a t   m a t c h e s   l a b e l   a p p = n g i n x   a n d   d e l e t e   a l l   o t h e r   r e s o u r c e s   t h a t   a r e   n o t   i n   t h e   f i l e   a n d   m a t c h   l a b e l   a p p = n g i n x   k u b e c t l   a p p l y   - - p r u n e   - f   m a n i f e s t . y a m l   - l   a p p = n g i n x   #   A p p l y   t h e   c o n f i g u r a t i o n   i n   m a n i f e s t . y a m l   a n d   d e l e t e   a l l   t h e   o t h e r   c o n f i g   m a p s   t h a t   a r e   n o t   i n   t h e   f i l e   k u b e c t l   a p p l y   - - p r u n e   - f   m a n i f e s t . y a m l   - - a l l   - - p r u n e - a l l o w l i s t = c o r e / v 1 / C o n f i g M a p",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26698"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" b a c k g r o u n d \" ,   \" o r p h a n \" ,   o r   \" f o r e g r o u n d \" .   S e l e c t s   t h e   d e l e t i o n   c a s c a d i n g   s t r a t e g y   f o r   t h e   d e p e n d e n t s   ( e . g .   P o d s   c r e a t e d   b y   a   R e p l i c a t i o n C o n t r o l l e r ) .   D e f a u l t s   t o   b a c k g r o u n d .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   T h e   f i l e s   t h a t   c o n t a i n   t h e   c o n f i g u r a t i o n s   t o   a p p l y .   I f   t r u e ,   i m m e d i a t e l y   r e m o v e   r e s o u r c e s   f r o m   A P I   a n d   b y p a s s   g r a c e f u l   d e l e t i o n .   N o t e   t h a t   i m m e d i a t e   d e l e t i o n   o f   s o m e   r e s o u r c e s   m a y   r e s u l t   i n   i n c o n s i s t e n c y   o r   d a t a   l o s s   a n d   r e q u i r e s   c o n f i r m a t i o n .   I f   t r u e ,   s e r v e r - s i d e   a p p l y   w i l l   f o r c e   t h e   c h a n g e s   a g a i n s t   c o n f l i c t s .   P e r i o d   o f   t i m e   i n   s e c o n d s   g i v e n   t o   t h e   r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26699"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26700"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   a p p l y   e d i t - l a s t - a p p l i e d   -   E d i t   l a t e s t   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   o f   a   r e s o u r c e / o b j e c t k u b e c t l   a p p l y   s e t - l a s t - a p p l i e d   -   S e t   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n   o n   a   l i v e   o b j e c t   t o   m a t c h   t h e   c o n t e n t s   o f   a   f i l e k u b e c t l   a p p l y   v i e w - l a s t - a p p l i e d   -   V i e w   t h e   l a t e s t   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   o f   a   r e s o u r c e / o b j e c t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26701"
  },
  {
    "question": "What is Synopsis?",
    "answer": "E d i t   t h e   l a t e s t   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   o f   r e s o u r c e s   f r o m   t h e   d e f a u l t   e d i t o r .   T h e   e d i t - l a s t - a p p l i e d   c o m m a n d   a l l o w s   y o u   t o   d i r e c t l y   e d i t   a n y   A P I   r e s o u r c e   y o u   c a n   r e t r i e v e   v i a   t h e   c o m m a n d - l i n e   t o o l s .   I t   w i l l   o p e n   t h e   e d i t o r   d e f i n e d   b y   y o u r   K U B E _ E D I T O R ,   o r   E D I T O R   e n v i r o n m e n t   v a r i a b l e s ,   o r   f a l l   b a c k   t o   ' v i '   f o r   L i n u x   o r   ' n o t e p a d '   f o r   W i n d o w s .   Y o u   c a n   e d i t   m u l t i p l e   o b j e c t s ,   a l t h o u g h   c h a n g e s   a r e   a p p l i e d   o n e   a t   a   t i m e .   T h e   c o m m a n d   a c c e p t s   f i l e   n a m e s   a s   w e l l   a s   c o m m a n d - l i n e   a r g u m e n t s ,   a l t h o u g h   t h e   f i l e s   y o u   p o i n t   t o   m u s t   b e   p r e v i o u s l y   s a v e d   v e r s i o n s   o f   r e s o u r c e s .   T h e   d e f a u l t   f o r m a t   i s   Y A M L .   T o   e d i t   i n   J S O N ,   s p e c i f y   \" - o   j s o n \" .   T h e   f l a g   - - w i n d o w s - l i n e - e n d i n g s   c a n   b e   u s e d   t o   f o r c e   W i n d o w s   l i n e   e n d i n g s ,   o t h e r w i s e   t h e   d e f a u l t   f o r   y o u r   o p e r a t i n g   s y s t e m   w i l l   b e   u s e d .   I n   t h e   e v e n t   a n   e r r o r   o c c u r s   w h i l e   u p d a t i n g ,   a   t e m p o r a r y   f i l e   w i l l   b e   c r e a t e d   o n   d i s k   t h a t   c o n t a i n s   y o u r   u n a p p l i e d   c h a n g e s .   T h e   m o s t   c o m m o n   e r r o r   w h e n   u p d a t i n g   a   r e s o u r c e   i s   a n o t h e r   e d i t o r   c h a n g i n g   t h e   r e s o u r c e   o n   t h e   s e r v ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26702"
  },
  {
    "question": "What is Examples?",
    "answer": "#   E d i t   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   t y p e / n a m e   i n   Y A M L   k u b e c t l   a p p l y   e d i t - l a s t - a p p l i e d   d e p l o y m e n t / n g i n x   #   E d i t   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   f i l e   i n   J S O N   k u b e c t l   a p p l y   e d i t - l a s t - a p p l i e d   - f   d e p l o y . y a m l   - o   j s o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26703"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   t o   u s e   t o   e d i t   t h e   r e s o u r c e   h e l p   f o r   e d i t - l a s t - a p p l i e d   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t e x t / t e m p l a t e / # p k g - o v e r v i e w ] .   M u s t   b e   o n e   o f :   s t r i c t   ( o r   t r u e ) ,   w a r n ,   i g n o r e   ( o r   f a l s e ) .   \" t r u e \"   o r   \" s t r i c t \"   w i l l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26704"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26705"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   a p p l y   -   A p p l y   a   c o n f i g u r a t i o n   t o   a   r e s o u r c e   b y   f i l e   n a m e   o r   s t d i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26706"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S e t   t h e   l a t e s t   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   s e t t i n g   i t   t o   m a t c h   t h e   c o n t e n t s   o f   a   f i l e .   T h i s   r e s u l t s   i n   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   b e i n g   u p d a t e d   a s   t h o u g h   ' k u b e c t l   a p p l y   - f < f i l e >   '   w a s   r u n ,   w i t h o u t   u p d a t i n g   a n y   o t h e r   p a r t s   o f   t h e   o b j e c t .   k u b e c t l   a p p l y   s e t - l a s t - a p p l i e d   - f   F I L E N A M E",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26707"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   o f   a   r e s o u r c e   t o   m a t c h   t h e   c o n t e n t s   o f   a   f i l e   k u b e c t l   a p p l y   s e t - l a s t - a p p l i e d   - f   d e p l o y . y a m l   #   E x e c u t e   s e t - l a s t - a p p l i e d   a g a i n s t   e a c h   c o n f i g u r a t i o n   f i l e   i n   a   d i r e c t o r y   k u b e c t l   a p p l y   s e t - l a s t - a p p l i e d   - f   p a t h /   #   S e t   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   o f   a   r e s o u r c e   t o   m a t c h   t h e   c o n t e n t s   o f   a   f i l e ;   w i l l   c r e a t e   t h e   a n n o t a t i o n   i f   i t   d o e s   n o t   a l r e a d y   e x i s t   k u b e c t l   a p p l y   s e t - l a s t - a p p l i e d   - f   d e p l o y . y a m l   - - c r e a t e - a n n o t a t i o n = t r u e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26708"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   W i l l   c r e a t e   ' l a s t - a p p l i e d - c o n f i g u r a t i o n '   a n n o t a t i o n s   i f   c u r r e n t   o b j e c t s   d o e s n ' t   h a v e   o n e   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   t h a t   c o n t a i n s   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   h e l p   f o r   s e t - l a s t - a p p l i e d   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t e x t / t e m p l a t e / # p k g - o v e r v i e w ] .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26709"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26710"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   a p p l y   -   A p p l y   a   c o n f i g u r a t i o n   t o   a   r e s o u r c e   b y   f i l e   n a m e   o r   s t d i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26711"
  },
  {
    "question": "What is Synopsis?",
    "answer": "V i e w   t h e   l a t e s t   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   t y p e / n a m e   o r   f i l e .   T h e   d e f a u l t   o u t p u t   w i l l   b e   p r i n t e d   t o   s t d o u t   i n   Y A M L   f o r m a t .   Y o u   c a n   u s e   t h e   - o   o p t i o n   t o   c h a n g e   t h e   o u t p u t   f o r m a t .   k u b e c t l   a p p l y   v i e w - l a s t - a p p l i e d   ( T Y P E   [ N A M E   |   - l   l a b e l ]   |   T Y P E / N A M E   |   - f   F I L E N A M E )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26712"
  },
  {
    "question": "What is Examples?",
    "answer": "#   V i e w   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   t y p e / n a m e   i n   Y A M L   k u b e c t l   a p p l y   v i e w - l a s t - a p p l i e d   d e p l o y m e n t / n g i n x   #   V i e w   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   b y   f i l e   i n   J S O N   k u b e c t l   a p p l y   v i e w - l a s t - a p p l i e d   - f   d e p l o y . y a m l   - o   j s o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26713"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   t h a t   c o n t a i n s   t h e   l a s t - a p p l i e d - c o n f i g u r a t i o n   a n n o t a t i o n s   h e l p   f o r   v i e w - l a s t - a p p l i e d   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   M u s t   b e   o n e   o f   ( y a m l ,   j s o n )   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26714"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26715"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   a p p l y   -   A p p l y   a   c o n f i g u r a t i o n   t o   a   r e s o u r c e   b y   f i l e   n a m e   o r   s t d i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26716"
  },
  {
    "question": "What is Synopsis?",
    "answer": "A t t a c h   t o   a   p r o c e s s   t h a t   i s   a l r e a d y   r u n n i n g   i n s i d e   a n   e x i s t i n g   c o n t a i n e r .   k u b e c t l   a t t a c h   ( P O D   |   T Y P E / N A M E )   - c   C O N T A I N E R",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26717"
  },
  {
    "question": "What is Examples?",
    "answer": "#   G e t   o u t p u t   f r o m   r u n n i n g   p o d   m y p o d ;   u s e   t h e   ' k u b e c t l . k u b e r n e t e s . i o / d e f a u l t - c o n t a i n e r '   a n n o t a t i o n   #   f o r   s e l e c t i n g   t h e   c o n t a i n e r   t o   b e   a t t a c h e d   o r   t h e   f i r s t   c o n t a i n e r   i n   t h e   p o d   w i l l   b e   c h o s e n   k u b e c t l   a t t a c h   m y p o d   #   G e t   o u t p u t   f r o m   r u b y - c o n t a i n e r   f r o m   p o d   m y p o d   k u b e c t l   a t t a c h   m y p o d   - c   r u b y - c o n t a i n e r   #   S w i t c h   t o   r a w   t e r m i n a l   m o d e ;   s e n d s   s t d i n   t o   ' b a s h '   i n   r u b y - c o n t a i n e r   f r o m   p o d   m y p o d   #   a n d   s e n d s   s t d o u t / s t d e r r   f r o m   ' b a s h '   b a c k   t o   t h e   c l i e n t   k u b e c t l   a t t a c h   m y p o d   - c   r u b y - c o n t a i n e r   - i   - t   #   G e t   o u t p u t   f r o m   t h e   f i r s t   p o d   o f   a   r e p l i c a   s e t   n a m e d   n g i n x   k u b e c t l   a t t a c h   r s / n g i n x",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26718"
  },
  {
    "question": "What is Options?",
    "answer": "C o n t a i n e r   n a m e .   I f   o m i t t e d ,   u s e   t h e   k u b e c t l . k u b e r n e t e s . i o / d e f a u l t - c o n t a i n e r   a n n o t a t i o n   f o r   s e l e c t i n g   t h e   c o n t a i n e r   t o   b e   a t t a c h e d   o r   t h e   f i r s t   c o n t a i n e r   i n   t h e   p o d   w i l l   b e   c h o s e n   h e l p   f o r   a t t a c h   T h e   l e n g t h   o f   t i m e   ( l i k e   5 s ,   2 m ,   o r   3 h ,   h i g h e r   t h a n   z e r o )   t o   w a i t   u n t i l   a t   l e a s t   o n e   p o d   i s   r u n n i n g   O n l y   p r i n t   o u t p u t   f r o m   t h e   r e m o t e   s e s s i o n   P a s s   s t d i n   t o   t h e   c o n t a i n e r   S t d i n   i s   a   T T Y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26719"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26720"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26721"
  },
  {
    "question": "What is Synopsis?",
    "answer": "I n s p e c t   a u t h o r i z a t i o n .   k u b e c t l   a u t h   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26722"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   a u t h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26723"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26724"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   a u t h   c a n - i   -   C h e c k   w h e t h e r   a n   a c t i o n   i s   a l l o w e d k u b e c t l   a u t h   r e c o n c i l e   -   R e c o n c i l e s   r u l e s   f o r   R B A C   r o l e ,   r o l e   b i n d i n g ,   c l u s t e r   r o l e ,   a n d   c l u s t e r   r o l e   b i n d i n g   o b j e c t s k u b e c t l   a u t h   w h o a m i   -   E x p e r i m e n t a l :   C h e c k   s e l f   s u b j e c t   a t t r i b u t e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26725"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C h e c k   w h e t h e r   a n   a c t i o n   i s   a l l o w e d .   V E R B   i s   a   l o g i c a l   K u b e r n e t e s   A P I   v e r b   l i k e   ' g e t ' ,   ' l i s t ' ,   ' w a t c h ' ,   ' d e l e t e ' ,   e t c .   T Y P E   i s   a   K u b e r n e t e s   r e s o u r c e .   S h o r t c u t s   a n d   g r o u p s   w i l l   b e   r e s o l v e d .   N O N R E S O U R C E U R L   i s   a   p a r t i a l   U R L   t h a t   s t a r t s   w i t h   \" / \" .   N A M E   i s   t h e   n a m e   o f   a   p a r t i c u l a r   K u b e r n e t e s   r e s o u r c e .   T h i s   c o m m a n d   p a i r s   n i c e l y   w i t h   i m p e r s o n a t i o n .   S e e   - - a s   g l o b a l   f l a g .   k u b e c t l   a u t h   c a n - i   V E R B   [ T Y P E   |   T Y P E / N A M E   |   N O N R E S O U R C E U R L ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26726"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C h e c k   t o   s e e   i f   I   c a n   c r e a t e   p o d s   i n   a n y   n a m e s p a c e   k u b e c t l   a u t h   c a n - i   c r e a t e   p o d s   - - a l l - n a m e s p a c e s   #   C h e c k   t o   s e e   i f   I   c a n   l i s t   d e p l o y m e n t s   i n   m y   c u r r e n t   n a m e s p a c e   k u b e c t l   a u t h   c a n - i   l i s t   d e p l o y m e n t s . a p p s   #   C h e c k   t o   s e e   i f   s e r v i c e   a c c o u n t   \" f o o \"   o f   n a m e s p a c e   \" d e v \"   c a n   l i s t   p o d s   i n   t h e   n a m e s p a c e   \" p r o d \"   #   Y o u   m u s t   b e   a l l o w e d   t o   u s e   i m p e r s o n a t i o n   f o r   t h e   g l o b a l   o p t i o n   \" - - a s \"   k u b e c t l   a u t h   c a n - i   l i s t   p o d s   - - a s = s y s t e m : s e r v i c e a c c o u n t : d e v : f o o   - n   p r o d   #   C h e c k   t o   s e e   i f   I   c a n   d o   e v e r y t h i n g   i n   m y   c u r r e n t   n a m e s p a c e   ( \" * \"   m e a n s   a l l )   k u b e c t l   a u t h   c a n - i   ' * '   ' * '   #   C h e c k   t o   s e e   i f   I   c a n   g e t   t h e   j o b   n a m e d   \" b a r \"   i n   n a m e s p a c e   \" f o o \"   k u b e c t l   a u t h   c a n - i   l i s t   j o b s . b a t c h / b a r   - n   f o o   #   C h e c k   t o   s e e   i f   I   c a n   r e a d   p o d   l o g s   k u b e c t l   a u t h   c a n - i   g e t   p o d s   - - s u b r e s o u r c e = l o g   #   C h e c k   t o   s e e   i f   I   c a n   a c c e s s   t h e   U R L   / l o g s /   k u b e c t l   a u t h   c a n - i   g e t   / l o g s /   #   C h e c k   t o   s e e   i f   I   c a n   a p p r o v e   c e r t i f i c a t e s . k 8 s . i o   k u b e c t l   a u t h   c a n - i   a p p r o v e   c e r t i f i c a t e s . k 8 s . i o   #   L i s t   a l l   a l l o w e d   a c t i o n s   i n   n a m e s p a c e   \" f o o \"   k u b e c t l   a u t h   c a n - i   - - l i s t   - - n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26727"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   c h e c k   t h e   s p e c i f i e d   a c t i o n   i n   a l l   n a m e s p a c e s .   h e l p   f o r   c a n - i   I f   t r u e ,   p r i n t s   a l l   a l l o w e d   a c t i o n s .   I f   t r u e ,   p r i n t s   a l l o w e d   a c t i o n s   w i t h o u t   h e a d e r s   I f   t r u e ,   s u p p r e s s   o u t p u t   a n d   j u s t   r e t u r n   t h e   e x i t   c o d e .   S u b R e s o u r c e   s u c h   a s   p o d / l o g   o r   d e p l o y m e n t / s c a l e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26728"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26729"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   a u t h   -   I n s p e c t   a u t h o r i z a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26730"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e c o n c i l e s   r u l e s   f o r   R B A C   r o l e ,   r o l e   b i n d i n g ,   c l u s t e r   r o l e ,   a n d   c l u s t e r   r o l e   b i n d i n g   o b j e c t s .   M i s s i n g   o b j e c t s   a r e   c r e a t e d ,   a n d   t h e   c o n t a i n i n g   n a m e s p a c e   i s   c r e a t e d   f o r   n a m e s p a c e d   o b j e c t s ,   i f   r e q u i r e d .   E x i s t i n g   r o l e s   a r e   u p d a t e d   t o   i n c l u d e   t h e   p e r m i s s i o n s   i n   t h e   i n p u t   o b j e c t s ,   a n d   r e m o v e   e x t r a   p e r m i s s i o n s   i f   - - r e m o v e - e x t r a - p e r m i s s i o n s   i s   s p e c i f i e d .   E x i s t i n g   b i n d i n g s   a r e   u p d a t e d   t o   i n c l u d e   t h e   s u b j e c t s   i n   t h e   i n p u t   o b j e c t s ,   a n d   r e m o v e   e x t r a   s u b j e c t s   i f   - - r e m o v e - e x t r a - s u b j e c t s   i s   s p e c i f i e d .   T h i s   i s   p r e f e r r e d   t o   ' a p p l y '   f o r   R B A C   r e s o u r c e s   s o   t h a t   s e m a n t i c a l l y - a w a r e   m e r g i n g   o f   r u l e s   a n d   s u b j e c t s   i s   d o n e .   k u b e c t l   a u t h   r e c o n c i l e   - f   F I L E N A M E",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26731"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R e c o n c i l e   R B A C   r e s o u r c e s   f r o m   a   f i l e   k u b e c t l   a u t h   r e c o n c i l e   - f   m y - r b a c - r u l e s . y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26732"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   r e c o n c i l e .   h e l p   f o r   r e c o n c i l e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   I f   t r u e ,   r e m o v e s   e x t r a   p e r m i s s i o n s   a d d e d   t o   r o l e s   I f   t r u e ,   r e m o v e s   e x t r a   s u b j e c t s   a d d e d   t o   r o l e b i n d i n g s   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26733"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26734"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   a u t h   -   I n s p e c t   a u t h o r i z a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26735"
  },
  {
    "question": "What is Synopsis?",
    "answer": "E x p e r i m e n t a l :   C h e c k   w h o   y o u   a r e   a n d   y o u r   a t t r i b u t e s   ( g r o u p s ,   e x t r a ) .   T h i s   c o m m a n d   i s   h e l p f u l   t o   g e t   y o u r s e l f   a w a r e   o f   t h e   c u r r e n t   u s e r   a t t r i b u t e s ,   e s p e c i a l l y   w h e n   d y n a m i c   a u t h e n t i c a t i o n ,   e . g . ,   t o k e n   w e b h o o k ,   a u t h   p r o x y ,   o r   O I D C   p r o v i d e r ,   i s   e n a b l e d   i n   t h e   K u b e r n e t e s   c l u s t e r .   k u b e c t l   a u t h   w h o a m i",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26736"
  },
  {
    "question": "What is Examples?",
    "answer": "#   G e t   y o u r   s u b j e c t   a t t r i b u t e s   k u b e c t l   a u t h   w h o a m i   #   G e t   y o u r   s u b j e c t   a t t r i b u t e s   i n   J S O N   f o r m a t   k u b e c t l   a u t h   w h o a m i   - o   j s o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26737"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   h e l p   f o r   w h o a m i   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t e x t / t e m p l a t e / # p k g - o v e r v i e w ] .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26738"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26739"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   a u t h   -   I n s p e c t   a u t h o r i z a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26740"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e s   a n   a u t o s c a l e r   t h a t   a u t o m a t i c a l l y   c h o o s e s   a n d   s e t s   t h e   n u m b e r   o f   p o d s   t h a t   r u n   i n   a   K u b e r n e t e s   c l u s t e r .   T h e   c o m m a n d   w i l l   a t t e m p t   t o   u s e   t h e   a u t o s c a l i n g / v 2   A P I   f i r s t ,   i n   c a s e   o f   a n   e r r o r ,   i t   w i l l   f a l l   b a c k   t o   a u t o s c a l i n g / v 1   A P I .   L o o k s   u p   a   d e p l o y m e n t ,   r e p l i c a   s e t ,   s t a t e f u l   s e t ,   o r   r e p l i c a t i o n   c o n t r o l l e r   b y   n a m e   a n d   c r e a t e s   a n   a u t o s c a l e r   t h a t   u s e s   t h e   g i v e n   r e s o u r c e   a s   a   r e f e r e n c e .   A n   a u t o s c a l e r   c a n   a u t o m a t i c a l l y   i n c r e a s e   o r   d e c r e a s e   n u m b e r   o f   p o d s   d e p l o y e d   w i t h i n   t h e   s y s t e m   a s   n e e d e d .   k u b e c t l   a u t o s c a l e   ( - f   F I L E N A M E   |   T Y P E   N A M E   |   T Y P E / N A M E )   [ - - m i n = M I N P O D S ]   - - m a x = M A X P O D S   [ - - c p u = C P U ]   [ - - m e m o r y = M E M O R Y ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26741"
  },
  {
    "question": "What is Examples?",
    "answer": "#   A u t o   s c a l e   a   d e p l o y m e n t   \" f o o \" ,   w i t h   t h e   n u m b e r   o f   p o d s   b e t w e e n   2   a n d   1 0 ,   n o   t a r g e t   C P U   u t i l i z a t i o n   s p e c i f i e d   s o   a   d e f a u l t   a u t o s c a l i n g   p o l i c y   w i l l   b e   u s e d   k u b e c t l   a u t o s c a l e   d e p l o y m e n t   f o o   - - m i n = 2   - - m a x = 1 0   #   A u t o   s c a l e   a   r e p l i c a t i o n   c o n t r o l l e r   \" f o o \" ,   w i t h   t h e   n u m b e r   o f   p o d s   b e t w e e n   1   a n d   5 ,   t a r g e t   C P U   u t i l i z a t i o n   a t   8 0 %   k u b e c t l   a u t o s c a l e   r c   f o o   - - m a x = 5   - - c p u = 8 0 %   #   A u t o   s c a l e   a   d e p l o y m e n t   \" b a r \" ,   w i t h   t h e   n u m b e r   o f   p o d s   b e t w e e n   3   a n d   6 ,   t a r g e t   a v e r a g e   C P U   o f   5 0 0 m   a n d   m e m o r y   o f   2 0 0 M i   k u b e c t l   a u t o s c a l e   d e p l o y m e n t   b a r   - - m i n = 3   - - m a x = 6   - - c p u = 5 0 0 m   - - m e m o r y = 2 0 0 M i   #   A u t o   s c a l e   a   d e p l o y m e n t   \" b a r \" ,   w i t h   t h e   n u m b e r   o f   p o d s   b e t w e e n   2   a n d   8 ,   t a r g e t   C P U   u t i l i z a t i o n   6 0 %   a n d   m e m o r y   u t i l i z a t i o n   7 0 %   k u b e c t l   a u t o s c a l e   d e p l o y m e n t   b a r   - - m i n = 3   - - m a x = 6   - - c p u = 6 0 %   - - m e m o r y = 7 0 %",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26742"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   T a r g e t   C P U   u t i l i z a t i o n   o v e r   a l l   t h e   p o d s .   W h e n   s p e c i f i e d   a s   a   p e r c e n t a g e   ( e . g . \" 7 0 % \"   f o r   7 0 %   o f   r e q u e s t e d   C P U )   i t   w i l l   t a r g e t   a v e r a g e   u t i l i z a t i o n .   W h e n   s p e c i f i e d   a s   q u a n t i t y   ( e . g . \" 5 0 0 m \"   f o r   5 0 0   m i l l i C P U )   i t   w i l l   t a r g e t   a v e r a g e   v a l u e .   V a l u e   w i t h o u t   u n i t s   i s   t r e a t e d   a s   a   q u a n t i t y   w i t h   m i l i C P U   b e i n g   t h e   u n i t   ( e . g . \" 5 0 0 \"   i s   \" 5 0 0 m \" ) .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   a u t o s c a l e .   h e l p   f o r   a u t o s c a l e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   T h e   u p p e r   l i m i t   f o r   t h e   n u m b e r   o f   p o d s   t h a t   c a n   b e   s e t   b y   t h e   a u t o s c a l e r .   R e q u i r e d .   T a r g e t   m e m o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26743"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26744"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26745"
  },
  {
    "question": "What is Synopsis?",
    "answer": "M o d i f y   c e r t i f i c a t e   r e s o u r c e s .   k u b e c t l   c e r t i f i c a t e   S U B C O M M A N D",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26746"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c e r t i f i c a t e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26747"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26748"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   c e r t i f i c a t e   a p p r o v e   -   A p p r o v e   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t k u b e c t l   c e r t i f i c a t e   d e n y   -   D e n y   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26749"
  },
  {
    "question": "What is Synopsis?",
    "answer": "A p p r o v e   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t .   k u b e c t l   c e r t i f i c a t e   a p p r o v e   a l l o w s   a   c l u s t e r   a d m i n   t o   a p p r o v e   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t   ( C S R ) .   T h i s   a c t i o n   t e l l s   a   c e r t i f i c a t e   s i g n i n g   c o n t r o l l e r   t o   i s s u e   a   c e r t i f i c a t e   t o   t h e   r e q u e s t e r   w i t h   t h e   a t t r i b u t e s   r e q u e s t e d   i n   t h e   C S R .   S E C U R I T Y   N O T I C E :   D e p e n d i n g   o n   t h e   r e q u e s t e d   a t t r i b u t e s ,   t h e   i s s u e d   c e r t i f i c a t e   c a n   p o t e n t i a l l y   g r a n t   a   r e q u e s t e r   a c c e s s   t o   c l u s t e r   r e s o u r c e s   o r   t o   a u t h e n t i c a t e   a s   a   r e q u e s t e d   i d e n t i t y .   B e f o r e   a p p r o v i n g   a   C S R ,   e n s u r e   y o u   u n d e r s t a n d   w h a t   t h e   s i g n e d   c e r t i f i c a t e   c a n   d o .   k u b e c t l   c e r t i f i c a t e   a p p r o v e   ( - f   F I L E N A M E   |   N A M E )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26750"
  },
  {
    "question": "What is Examples?",
    "answer": "#   A p p r o v e   C S R   ' c s r - s q g z p '   k u b e c t l   c e r t i f i c a t e   a p p r o v e   c s r - s q g z p",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26751"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   u p d a t e   U p d a t e   t h e   C S R   e v e n   i f   i t   i s   a l r e a d y   a p p r o v e d .   h e l p   f o r   a p p r o v e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t e x t / t e m p l a t e / # p k g - o v e r v i e w ] .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26752"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26753"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c e r t i f i c a t e   -   M o d i f y   c e r t i f i c a t e   r e s o u r c e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26754"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D e n y   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t .   k u b e c t l   c e r t i f i c a t e   d e n y   a l l o w s   a   c l u s t e r   a d m i n   t o   d e n y   a   c e r t i f i c a t e   s i g n i n g   r e q u e s t   ( C S R ) .   T h i s   a c t i o n   t e l l s   a   c e r t i f i c a t e   s i g n i n g   c o n t r o l l e r   t o   n o t   t o   i s s u e   a   c e r t i f i c a t e   t o   t h e   r e q u e s t e r .   k u b e c t l   c e r t i f i c a t e   d e n y   ( - f   F I L E N A M E   |   N A M E )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26755"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D e n y   C S R   ' c s r - s q g z p '   k u b e c t l   c e r t i f i c a t e   d e n y   c s r - s q g z p",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26756"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   u p d a t e   U p d a t e   t h e   C S R   e v e n   i f   i t   i s   a l r e a d y   d e n i e d .   h e l p   f o r   d e n y   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t e x t / t e m p l a t e / # p k g - o v e r v i e w ] .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26757"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26758"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c e r t i f i c a t e   -   M o d i f y   c e r t i f i c a t e   r e s o u r c e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26759"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   a d d r e s s e s   o f   t h e   c o n t r o l   p l a n e   a n d   s e r v i c e s   w i t h   l a b e l   k u b e r n e t e s . i o / c l u s t e r - s e r v i c e = t r u e .   T o   f u r t h e r   d e b u g   a n d   d i a g n o s e   c l u s t e r   p r o b l e m s ,   u s e   ' k u b e c t l   c l u s t e r - i n f o   d u m p ' .   k u b e c t l   c l u s t e r - i n f o   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26760"
  },
  {
    "question": "What is Examples?",
    "answer": "#   P r i n t   t h e   a d d r e s s   o f   t h e   c o n t r o l   p l a n e   a n d   c l u s t e r   s e r v i c e s   k u b e c t l   c l u s t e r - i n f o",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26761"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c l u s t e r - i n f o",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26762"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26763"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   c l u s t e r - i n f o   d u m p   -   D u m p   r e l e v a n t   i n f o r m a t i o n   f o r   d e b u g g i n g   a n d   d i a g n o s i s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26764"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D u m p   c l u s t e r   i n f o r m a t i o n   o u t   s u i t a b l e   f o r   d e b u g g i n g   a n d   d i a g n o s i n g   c l u s t e r   p r o b l e m s .   B y   d e f a u l t ,   d u m p s   e v e r y t h i n g   t o   s t d o u t .   Y o u   c a n   o p t i o n a l l y   s p e c i f y   a   d i r e c t o r y   w i t h   - - o u t p u t - d i r e c t o r y .   I f   y o u   s p e c i f y   a   d i r e c t o r y ,   K u b e r n e t e s   w i l l   b u i l d   a   s e t   o f   f i l e s   i n   t h a t   d i r e c t o r y .   B y   d e f a u l t ,   o n l y   d u m p s   t h i n g s   i n   t h e   c u r r e n t   n a m e s p a c e   a n d   ' k u b e - s y s t e m '   n a m e s p a c e ,   b u t   y o u   c a n   s w i t c h   t o   a   d i f f e r e n t   n a m e s p a c e   w i t h   t h e   - - n a m e s p a c e s   f l a g ,   o r   s p e c i f y   - - a l l - n a m e s p a c e s   t o   d u m p   a l l   n a m e s p a c e s .   T h e   c o m m a n d   a l s o   d u m p s   t h e   l o g s   o f   a l l   o f   t h e   p o d s   i n   t h e   c l u s t e r ;   t h e s e   l o g s   a r e   d u m p e d   i n t o   d i f f e r e n t   d i r e c t o r i e s   b a s e d   o n   n a m e s p a c e   a n d   p o d   n a m e .   k u b e c t l   c l u s t e r - i n f o   d u m p   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26765"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D u m p   c u r r e n t   c l u s t e r   s t a t e   t o   s t d o u t   k u b e c t l   c l u s t e r - i n f o   d u m p   #   D u m p   c u r r e n t   c l u s t e r   s t a t e   t o   / p a t h / t o / c l u s t e r - s t a t e   k u b e c t l   c l u s t e r - i n f o   d u m p   - - o u t p u t - d i r e c t o r y = / p a t h / t o / c l u s t e r - s t a t e   #   D u m p   a l l   n a m e s p a c e s   t o   s t d o u t   k u b e c t l   c l u s t e r - i n f o   d u m p   - - a l l - n a m e s p a c e s   #   D u m p   a   s e t   o f   n a m e s p a c e s   t o   / p a t h / t o / c l u s t e r - s t a t e   k u b e c t l   c l u s t e r - i n f o   d u m p   - - n a m e s p a c e s   d e f a u l t , k u b e - s y s t e m   - - o u t p u t - d i r e c t o r y = / p a t h / t o / c l u s t e r - s t a t e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26766"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   d u m p   a l l   n a m e s p a c e s .   I f   t r u e ,   - - n a m e s p a c e s   i s   i g n o r e d .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   h e l p   f o r   d u m p   A   c o m m a   s e p a r a t e d   l i s t   o f   n a m e s p a c e s   t o   d u m p .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   W h e r e   t o   o u t p u t   t h e   f i l e s .   I f   e m p t y   o r   ' - '   u s e s   s t d o u t ,   o t h e r w i s e   c r e a t e s   a   d i r e c t o r y   h i e r a r c h y   i n   t h a t   d i r e c t o r y   T h e   l e n g t h   o f   t i m e   ( l i k e   5 s ,   2 m ,   o r   3 h ,   h i g h e r   t h a n   z e r o )   t o   w a i t   u n t i l   a t   l e a s t   o n e   p o d   i s   r u n n i n g   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t e x t / t e m p l a t e / # p k g - o v e r v i e w ] .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26767"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26768"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c l u s t e r - i n f o   -   D i s p l a y   c l u s t e r   i n f o r m a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26769"
  },
  {
    "question": "What is Synopsis?",
    "answer": "O u t p u t   s h e l l   c o m p l e t i o n   c o d e   f o r   t h e   s p e c i f i e d   s h e l l   ( b a s h ,   z s h ,   f i s h ,   o r   p o w e r s h e l l ) .   T h e   s h e l l   c o d e   m u s t   b e   e v a l u a t e d   t o   p r o v i d e   i n t e r a c t i v e   c o m p l e t i o n   o f   k u b e c t l   c o m m a n d s .   T h i s   c a n   b e   d o n e   b y   s o u r c i n g   i t   f r o m   t h e   . b a s h _ p r o f i l e .   D e t a i l e d   i n s t r u c t i o n s   o n   h o w   t o   d o   t h i s   a r e   a v a i l a b l e   h e r e :   f o r   m a c O S :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / t o o l s / i n s t a l l - k u b e c t l - m a c o s / # e n a b l e - s h e l l - a u t o c o m p l e t i o n   f o r   l i n u x :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / t o o l s / i n s t a l l - k u b e c t l - l i n u x / # e n a b l e - s h e l l - a u t o c o m p l e t i o n   f o r   w i n d o w s :   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / t o o l s / i n s t a l l - k u b e c t l - w i n d o w s / # e n a b l e - s h e l l - a u t o c o m p l e t i o n   N o t e   f o r   z s h   u s e r s :   [ 1 ]   z s h   c o m p l e t i o n s   a r e   o n l y   s u p p o r t e d   i n   v e r s i o n s   o f   z s h   > =   5 . 2 .   k u b e c t l   c o m p l e t i o n   S H E L L",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26770"
  },
  {
    "question": "What is Examples?",
    "answer": "#   I n s t a l l i n g   b a s h   c o m p l e t i o n   o n   m a c O S   u s i n g   h o m e b r e w   # #   I f   r u n n i n g   B a s h   3 . 2   i n c l u d e d   w i t h   m a c O S   b r e w   i n s t a l l   b a s h - c o m p l e t i o n   # #   o r ,   i f   r u n n i n g   B a s h   4 . 1 +   b r e w   i n s t a l l   b a s h - c o m p l e t i o n @ 2   # #   I f   k u b e c t l   i s   i n s t a l l e d   v i a   h o m e b r e w ,   t h i s   s h o u l d   s t a r t   w o r k i n g   i m m e d i a t e l y   # #   I f   y o u ' v e   i n s t a l l e d   v i a   o t h e r   m e a n s ,   y o u   m a y   n e e d   a d d   t h e   c o m p l e t i o n   t o   y o u r   c o m p l e t i o n   d i r e c t o r y   k u b e c t l   c o m p l e t i o n   b a s h   >   $ ( b r e w   - - p r e f i x ) / e t c / b a s h _ c o m p l e t i o n . d / k u b e c t l   #   I n s t a l l i n g   b a s h   c o m p l e t i o n   o n   L i n u x   # #   I f   b a s h - c o m p l e t i o n   i s   n o t   i n s t a l l e d   o n   L i n u x ,   i n s t a l l   t h e   ' b a s h - c o m p l e t i o n '   p a c k a g e   # #   v i a   y o u r   d i s t r i b u t i o n ' s   p a c k a g e   m a n a g e r .   # #   L o a d   t h e   k u b e c t l   c o m p l e t i o n   c o d e   f o r   b a s h   i n t o   t h e   c u r r e n t   s h e l l   s o u r c e   < ( k u b e c t l   c o m p l e t i o n   b a s h )   # #   W r i t e   b a s h   c o m p l e t i o n   c o d e   t o   a   f i l e   a n d   s o u r c e   i t   f r o m   . b a s h _ p r o f i l e   k u b e c t l   c o m p l e t i o n   b a s h   >   ~ / . k u b e / c o m p l e t i o n . b a s h . i n c   p r i n t f   \"   #   k u b e c t l   s h e l l   c o m p l e t i o n   s o u r c e   ' $ H O M E / . k u b e / c o m p l e t i o n . b a s h . i n c '   \"   > >   $ H O M E / . b a s h _ p r o f i l e   s o u r c e   $ H O M E / . b a s h _ p r o f i l e   #   L o a d   t h e   k u b e c t l   c o m p l e t i o n   c o d e   f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26771"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c o m p l e t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26772"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26773"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26774"
  },
  {
    "question": "What is Synopsis?",
    "answer": "M o d i f y   k u b e c o n f i g   f i l e s   u s i n g   s u b c o m m a n d s   l i k e   \" k u b e c t l   c o n f i g   s e t   c u r r e n t - c o n t e x t   m y - c o n t e x t \" .   T h e   l o a d i n g   o r d e r   f o l l o w s   t h e s e   r u l e s :   I f   t h e   - - k u b e c o n f i g   f l a g   i s   s e t ,   t h e n   o n l y   t h a t   f i l e   i s   l o a d e d .   T h e   f l a g   m a y   o n l y   b e   s e t   o n c e   a n d   n o   m e r g i n g   t a k e s   p l a c e . I f   $ K U B E C O N F I G   e n v i r o n m e n t   v a r i a b l e   i s   s e t ,   t h e n   i t   i s   u s e d   a s   a   l i s t   o f   p a t h s   ( n o r m a l   p a t h   d e l i m i t i n g   r u l e s   f o r   y o u r   s y s t e m ) .   T h e s e   p a t h s   a r e   m e r g e d .   W h e n   a   v a l u e   i s   m o d i f i e d ,   i t   i s   m o d i f i e d   i n   t h e   f i l e   t h a t   d e f i n e s   t h e   s t a n z a .   W h e n   a   v a l u e   i s   c r e a t e d ,   i t   i s   c r e a t e d   i n   t h e   f i r s t   f i l e   t h a t   e x i s t s .   I f   n o   f i l e s   i n   t h e   c h a i n   e x i s t ,   t h e n   i t   c r e a t e s   t h e   l a s t   f i l e   i n   t h e   l i s t . O t h e r w i s e ,   $ { H O M E } / . k u b e / c o n f i g   i s   u s e d   a n d   n o   m e r g i n g   t a k e s   p l a c e .   k u b e c t l   c o n f i g   S U B C O M M A N D",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26775"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c o n f i g   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26776"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e r   N a m e   o f   p r o f i l e   t o   c a p t u r e .   O n e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26777"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   c o n f i g   c u r r e n t - c o n t e x t   -   D i s p l a y   t h e   c u r r e n t - c o n t e x t k u b e c t l   c o n f i g   d e l e t e - c l u s t e r   -   D e l e t e   t h e   s p e c i f i e d   c l u s t e r   f r o m   t h e   k u b e c o n f i g k u b e c t l   c o n f i g   d e l e t e - c o n t e x t   -   D e l e t e   t h e   s p e c i f i e d   c o n t e x t   f r o m   t h e   k u b e c o n f i g k u b e c t l   c o n f i g   d e l e t e - u s e r   -   D e l e t e   t h e   s p e c i f i e d   u s e r   f r o m   t h e   k u b e c o n f i g k u b e c t l   c o n f i g   g e t - c l u s t e r s   -   D i s p l a y   c l u s t e r s   d e f i n e d   i n   t h e   k u b e c o n f i g k u b e c t l   c o n f i g   g e t - c o n t e x t s   -   D e s c r i b e   o n e   o r   m a n y   c o n t e x t s k u b e c t l   c o n f i g   g e t - u s e r s   -   D i s p l a y   u s e r s   d e f i n e d   i n   t h e   k u b e c o n f i g k u b e c t l   c o n f i g   r e n a m e - c o n t e x t   -   R e n a m e   a   c o n t e x t   f r o m   t h e   k u b e c o n f i g   f i l e k u b e c t l   c o n f i g   s e t   -   S e t   a n   i n d i v i d u a l   v a l u e   i n   a   k u b e c o n f i g   f i l e k u b e c t l   c o n f i g   s e t - c l u s t e r   -   S e t   a   c l u s t e r   e n t r y   i n   k u b e c o n f i g k u b e c t l   c o n f i g   s e t - c o n t e x t   -   S e t   a   c o n t e x t   e n t r y   i n   k u b e c o n f i g k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   -   S e t   a   u s e r   e n t r y   i n   k u b e c o n f i g k u b e c t l   c o n f i g   u n s e t   -   U n s e t   a n   i n d i v i d u a l   v a l u e   i n   a   k u b e c o n f i g   f i l e k u b e c t l   c o n f i g   u s e - c o n t e x t   -   S e t   t h e   c u r r e n t - c o n t e x t   i n   a   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26778"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   t h e   c u r r e n t - c o n t e x t .   k u b e c t l   c o n f i g   c u r r e n t - c o n t e x t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26779"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D i s p l a y   t h e   c u r r e n t - c o n t e x t   k u b e c t l   c o n f i g   c u r r e n t - c o n t e x t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26780"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   c u r r e n t - c o n t e x t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26781"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26782"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26783"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D e l e t e   t h e   s p e c i f i e d   c l u s t e r   f r o m   t h e   k u b e c o n f i g .   k u b e c t l   c o n f i g   d e l e t e - c l u s t e r   N A M E",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26784"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D e l e t e   t h e   m i n i k u b e   c l u s t e r   k u b e c t l   c o n f i g   d e l e t e - c l u s t e r   m i n i k u b e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26785"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   d e l e t e - c l u s t e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26786"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26787"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26788"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D e l e t e   t h e   s p e c i f i e d   c o n t e x t   f r o m   t h e   k u b e c o n f i g .   k u b e c t l   c o n f i g   d e l e t e - c o n t e x t   N A M E",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26789"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D e l e t e   t h e   c o n t e x t   f o r   t h e   m i n i k u b e   c l u s t e r   k u b e c t l   c o n f i g   d e l e t e - c o n t e x t   m i n i k u b e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26790"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   d e l e t e - c o n t e x t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26791"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26792"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26793"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D e l e t e   t h e   s p e c i f i e d   u s e r   f r o m   t h e   k u b e c o n f i g .   k u b e c t l   c o n f i g   d e l e t e - u s e r   N A M E",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26794"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D e l e t e   t h e   m i n i k u b e   u s e r   k u b e c t l   c o n f i g   d e l e t e - u s e r   m i n i k u b e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26795"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   d e l e t e - u s e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26796"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26797"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26798"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   c l u s t e r s   d e f i n e d   i n   t h e   k u b e c o n f i g .   k u b e c t l   c o n f i g   g e t - c l u s t e r s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26799"
  },
  {
    "question": "What is Examples?",
    "answer": "#   L i s t   t h e   c l u s t e r s   t h a t   k u b e c t l   k n o w s   a b o u t   k u b e c t l   c o n f i g   g e t - c l u s t e r s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26800"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   g e t - c l u s t e r s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26801"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26802"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26803"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   o n e   o r   m a n y   c o n t e x t s   f r o m   t h e   k u b e c o n f i g   f i l e .   k u b e c t l   c o n f i g   g e t - c o n t e x t s   [ ( - o | - - o u t p u t = ) n a m e ) ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26804"
  },
  {
    "question": "What is Examples?",
    "answer": "#   L i s t   a l l   t h e   c o n t e x t s   i n   y o u r   k u b e c o n f i g   f i l e   k u b e c t l   c o n f i g   g e t - c o n t e x t s   #   D e s c r i b e   o n e   c o n t e x t   i n   y o u r   k u b e c o n f i g   f i l e   k u b e c t l   c o n f i g   g e t - c o n t e x t s   m y - c o n t e x t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26805"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   g e t - c o n t e x t s   W h e n   u s i n g   t h e   d e f a u l t   o r   c u s t o m - c o l u m n   o u t p u t   f o r m a t ,   d o n ' t   p r i n t   h e a d e r s   ( d e f a u l t   p r i n t   h e a d e r s ) .   O u t p u t   f o r m a t .   O n e   o f :   ( n a m e ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26806"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26807"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26808"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   u s e r s   d e f i n e d   i n   t h e   k u b e c o n f i g .   k u b e c t l   c o n f i g   g e t - u s e r s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26809"
  },
  {
    "question": "What is Examples?",
    "answer": "#   L i s t   t h e   u s e r s   t h a t   k u b e c t l   k n o w s   a b o u t   k u b e c t l   c o n f i g   g e t - u s e r s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26810"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   g e t - u s e r s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26811"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26812"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26813"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e n a m e s   a   c o n t e x t   f r o m   t h e   k u b e c o n f i g   f i l e .   C O N T E X T _ N A M E   i s   t h e   c o n t e x t   n a m e   t h a t   y o u   w a n t   t o   c h a n g e .   N E W _ N A M E   i s   t h e   n e w   n a m e   y o u   w a n t   t o   s e t .   N o t e :   I f   t h e   c o n t e x t   b e i n g   r e n a m e d   i s   t h e   ' c u r r e n t - c o n t e x t ' ,   t h i s   f i e l d   w i l l   a l s o   b e   u p d a t e d .   k u b e c t l   c o n f i g   r e n a m e - c o n t e x t   C O N T E X T _ N A M E   N E W _ N A M E",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26814"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R e n a m e   t h e   c o n t e x t   ' o l d - n a m e '   t o   ' n e w - n a m e '   i n   y o u r   k u b e c o n f i g   f i l e   k u b e c t l   c o n f i g   r e n a m e - c o n t e x t   o l d - n a m e   n e w - n a m e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26815"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   r e n a m e - c o n t e x t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26816"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26817"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26818"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S e t   a n   i n d i v i d u a l   v a l u e   i n   a   k u b e c o n f i g   f i l e .   P R O P E R T Y _ N A M E   i s   a   d o t   d e l i m i t e d   n a m e   w h e r e   e a c h   t o k e n   r e p r e s e n t s   e i t h e r   a n   a t t r i b u t e   n a m e   o r   a   m a p   k e y .   M a p   k e y s   m a y   n o t   c o n t a i n   d o t s .   P R O P E R T Y _ V A L U E   i s   t h e   n e w   v a l u e   y o u   w a n t   t o   s e t .   B i n a r y   f i e l d s   s u c h   a s   ' c e r t i f i c a t e - a u t h o r i t y - d a t a '   e x p e c t   a   b a s e 6 4   e n c o d e d   s t r i n g   u n l e s s   t h e   - - s e t - r a w - b y t e s   f l a g   i s   u s e d .   S p e c i f y i n g   a n   a t t r i b u t e   n a m e   t h a t   a l r e a d y   e x i s t s   w i l l   m e r g e   n e w   f i e l d s   o n   t o p   o f   e x i s t i n g   v a l u e s .   k u b e c t l   c o n f i g   s e t   P R O P E R T Y _ N A M E   P R O P E R T Y _ V A L U E",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26819"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   t h e   s e r v e r   f i e l d   o n   t h e   m y - c l u s t e r   c l u s t e r   t o   h t t p s : / / 1 . 2 . 3 . 4   k u b e c t l   c o n f i g   s e t   c l u s t e r s . m y - c l u s t e r . s e r v e r   h t t p s : / / 1 . 2 . 3 . 4   #   S e t   t h e   c e r t i f i c a t e - a u t h o r i t y - d a t a   f i e l d   o n   t h e   m y - c l u s t e r   c l u s t e r   k u b e c t l   c o n f i g   s e t   c l u s t e r s . m y - c l u s t e r . c e r t i f i c a t e - a u t h o r i t y - d a t a   $ ( e c h o   \" c e r t _ d a t a _ h e r e \"   |   b a s e 6 4   - i   - )   #   S e t   t h e   c l u s t e r   f i e l d   i n   t h e   m y - c o n t e x t   c o n t e x t   t o   m y - c l u s t e r   k u b e c t l   c o n f i g   s e t   c o n t e x t s . m y - c o n t e x t . c l u s t e r   m y - c l u s t e r   #   S e t   t h e   c l i e n t - k e y - d a t a   f i e l d   i n   t h e   c l u s t e r - a d m i n   u s e r   u s i n g   - - s e t - r a w - b y t e s   o p t i o n   k u b e c t l   c o n f i g   s e t   u s e r s . c l u s t e r - a d m i n . c l i e n t - k e y - d a t a   c e r t _ d a t a _ h e r e   - - s e t - r a w - b y t e s = t r u e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26820"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   s e t   W h e n   w r i t i n g   a   [ ] b y t e   P R O P E R T Y _ V A L U E ,   w r i t e   t h e   g i v e n   s t r i n g   d i r e c t l y   w i t h o u t   b a s e 6 4   d e c o d i n g .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26821"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26822"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26823"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S e t   a   c l u s t e r   e n t r y   i n   k u b e c o n f i g .   S p e c i f y i n g   a   n a m e   t h a t   a l r e a d y   e x i s t s   w i l l   m e r g e   n e w   f i e l d s   o n   t o p   o f   e x i s t i n g   v a l u e s   f o r   t h o s e   f i e l d s .   k u b e c t l   c o n f i g   s e t - c l u s t e r   N A M E   [ - - s e r v e r = s e r v e r ]   [ - - c e r t i f i c a t e - a u t h o r i t y = p a t h / t o / c e r t i f i c a t e / a u t h o r i t y ]   [ - - i n s e c u r e - s k i p - t l s - v e r i f y = t r u e ]   [ - - t l s - s e r v e r - n a m e = e x a m p l e . c o m ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26824"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   o n l y   t h e   s e r v e r   f i e l d   o n   t h e   e 2 e   c l u s t e r   e n t r y   w i t h o u t   t o u c h i n g   o t h e r   v a l u e s   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - s e r v e r = h t t p s : / / 1 . 2 . 3 . 4   #   E m b e d   c e r t i f i c a t e   a u t h o r i t y   d a t a   f o r   t h e   e 2 e   c l u s t e r   e n t r y   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - e m b e d - c e r t s   - - c e r t i f i c a t e - a u t h o r i t y = ~ / . k u b e / e 2 e / k u b e r n e t e s . c a . c r t   #   D i s a b l e   c e r t   c h e c k i n g   f o r   t h e   e 2 e   c l u s t e r   e n t r y   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - i n s e c u r e - s k i p - t l s - v e r i f y = t r u e   #   S e t   t h e   c u s t o m   T L S   s e r v e r   n a m e   t o   u s e   f o r   v a l i d a t i o n   f o r   t h e   e 2 e   c l u s t e r   e n t r y   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - t l s - s e r v e r - n a m e = m y - c l u s t e r - n a m e   #   S e t   t h e   p r o x y   U R L   f o r   t h e   e 2 e   c l u s t e r   e n t r y   k u b e c t l   c o n f i g   s e t - c l u s t e r   e 2 e   - - p r o x y - u r l = h t t p s : / / 1 . 2 . 3 . 4",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26825"
  },
  {
    "question": "What is Options?",
    "answer": "P a t h   t o   c e r t i f i c a t e - a u t h o r i t y   f i l e   f o r   t h e   c l u s t e r   e n t r y   i n   k u b e c o n f i g   e m b e d - c e r t s   f o r   t h e   c l u s t e r   e n t r y   i n   k u b e c o n f i g   h e l p   f o r   s e t - c l u s t e r   i n s e c u r e - s k i p - t l s - v e r i f y   f o r   t h e   c l u s t e r   e n t r y   i n   k u b e c o n f i g   p r o x y - u r l   f o r   t h e   c l u s t e r   e n t r y   i n   k u b e c o n f i g   s e r v e r   f o r   t h e   c l u s t e r   e n t r y   i n   k u b e c o n f i g   t l s - s e r v e r - n a m e   f o r   t h e   c l u s t e r   e n t r y   i n   k u b e c o n f i g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26826"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e r   N a m e   o f   p r o f i l e   t o   c a p t u r e .   O n e   o f   ( n o n e | c p u | h e a p | g o r o u t i n e | t h r e a d c r e a t e | b l o c k | m u t e x )   N a m e   o f   t h e   f i l e   t o   w r i t e   t h e   p r o f i l e   t o   T h e   l e n g t h   o f   t i m e   t o   w a i t   b e f o r e   g i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26827"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26828"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S e t   a   c o n t e x t   e n t r y   i n   k u b e c o n f i g .   S p e c i f y i n g   a   n a m e   t h a t   a l r e a d y   e x i s t s   w i l l   m e r g e   n e w   f i e l d s   o n   t o p   o f   e x i s t i n g   v a l u e s   f o r   t h o s e   f i e l d s .   k u b e c t l   c o n f i g   s e t - c o n t e x t   [ N A M E   |   - - c u r r e n t ]   [ - - c l u s t e r = c l u s t e r _ n i c k n a m e ]   [ - - u s e r = u s e r _ n i c k n a m e ]   [ - - n a m e s p a c e = n a m e s p a c e ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26829"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   t h e   u s e r   f i e l d   o n   t h e   g c e   c o n t e x t   e n t r y   w i t h o u t   t o u c h i n g   o t h e r   v a l u e s   k u b e c t l   c o n f i g   s e t - c o n t e x t   g c e   - - u s e r = c l u s t e r - a d m i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26830"
  },
  {
    "question": "What is Options?",
    "answer": "c l u s t e r   f o r   t h e   c o n t e x t   e n t r y   i n   k u b e c o n f i g   M o d i f y   t h e   c u r r e n t   c o n t e x t   h e l p   f o r   s e t - c o n t e x t   n a m e s p a c e   f o r   t h e   c o n t e x t   e n t r y   i n   k u b e c o n f i g   u s e r   f o r   t h e   c o n t e x t   e n t r y   i n   k u b e c o n f i g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26831"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e r   N a m e   o f   p r o f i l e   t o   c a p t u r e .   O n e   o f   ( n o n e | c p u | h e a p | g o r o u t i n e | t h r e a d c r e a t e | b l o c k | m u t e x )   N a m e   o f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26832"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26833"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S e t   a   u s e r   e n t r y   i n   k u b e c o n f i g .   S p e c i f y i n g   a   n a m e   t h a t   a l r e a d y   e x i s t s   w i l l   m e r g e   n e w   f i e l d s   o n   t o p   o f   e x i s t i n g   v a l u e s .   C l i e n t - c e r t i f i c a t e   f l a g s :   - - c l i e n t - c e r t i f i c a t e = c e r t f i l e   - - c l i e n t - k e y = k e y f i l e   B e a r e r   t o k e n   f l a g s :   - - t o k e n = b e a r e r _ t o k e n   B a s i c   a u t h   f l a g s :   - - u s e r n a m e = b a s i c _ u s e r   - - p a s s w o r d = b a s i c _ p a s s w o r d   B e a r e r   t o k e n   a n d   b a s i c   a u t h   a r e   m u t u a l l y   e x c l u s i v e .   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   N A M E   [ - - c l i e n t - c e r t i f i c a t e = p a t h / t o / c e r t f i l e ]   [ - - c l i e n t - k e y = p a t h / t o / k e y f i l e ]   [ - - t o k e n = b e a r e r _ t o k e n ]   [ - - u s e r n a m e = b a s i c _ u s e r ]   [ - - p a s s w o r d = b a s i c _ p a s s w o r d ]   [ - - a u t h - p r o v i d e r = p r o v i d e r _ n a m e ]   [ - - a u t h - p r o v i d e r - a r g = k e y = v a l u e ]   [ - - e x e c - c o m m a n d = e x e c _ c o m m a n d ]   [ - - e x e c - a p i - v e r s i o n = e x e c _ a p i _ v e r s i o n ]   [ - - e x e c - a r g = a r g ]   [ - - e x e c - e n v = k e y = v a l u e ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26834"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   o n l y   t h e   \" c l i e n t - k e y \"   f i e l d   o n   t h e   \" c l u s t e r - a d m i n \"   #   e n t r y ,   w i t h o u t   t o u c h i n g   o t h e r   v a l u e s   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - c l i e n t - k e y = ~ / . k u b e / a d m i n . k e y   #   S e t   b a s i c   a u t h   f o r   t h e   \" c l u s t e r - a d m i n \"   e n t r y   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - u s e r n a m e = a d m i n   - - p a s s w o r d = u X F G w e U 9 l 3 5 q c i f   #   E m b e d   c l i e n t   c e r t i f i c a t e   d a t a   i n   t h e   \" c l u s t e r - a d m i n \"   e n t r y   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - c l i e n t - c e r t i f i c a t e = ~ / . k u b e / a d m i n . c r t   - - e m b e d - c e r t s = t r u e   #   E n a b l e   t h e   G o o g l e   C o m p u t e   P l a t f o r m   a u t h   p r o v i d e r   f o r   t h e   \" c l u s t e r - a d m i n \"   e n t r y   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - a u t h - p r o v i d e r = g c p   #   E n a b l e   t h e   O p e n I D   C o n n e c t   a u t h   p r o v i d e r   f o r   t h e   \" c l u s t e r - a d m i n \"   e n t r y   w i t h   a d d i t i o n a l   a r g u m e n t s   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e r - a d m i n   - - a u t h - p r o v i d e r = o i d c   - - a u t h - p r o v i d e r - a r g = c l i e n t - i d = f o o   - - a u t h - p r o v i d e r - a r g = c l i e n t - s e c r e t = b a r   #   R e m o v e   t h e   \" c l i e n t - s e c r e t \"   c o n f i g   v a l u e   f o r   t h e   O p e n I D   C o n n e c t   a u t h   p r o v i d e r   f o r   t h e   \" c l u s t e r - a d m i n \"   e n t r y   k u b e c t l   c o n f i g   s e t - c r e d e n t i a l s   c l u s t e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26835"
  },
  {
    "question": "What is Options?",
    "answer": "A u t h   p r o v i d e r   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   ' k e y = v a l u e '   a r g u m e n t s   f o r   t h e   a u t h   p r o v i d e r   P a t h   t o   c l i e n t - c e r t i f i c a t e   f i l e   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   P a t h   t o   c l i e n t - k e y   f i l e   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   E m b e d   c l i e n t   c e r t / k e y   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   A P I   v e r s i o n   o f   t h e   e x e c   c r e d e n t i a l   p l u g i n   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   N e w   a r g u m e n t s   f o r   t h e   e x e c   c r e d e n t i a l   p l u g i n   c o m m a n d   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   C o m m a n d   f o r   t h e   e x e c   c r e d e n t i a l   p l u g i n   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   ' k e y = v a l u e '   e n v i r o n m e n t   v a l u e s   f o r   t h e   e x e c   c r e d e n t i a l   p l u g i n   I n t e r a c t i v e M o d e   o f   t h e   e x e c   c r e d e n t i a l s   p l u g i n   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   P r o v i d e C l u s t e r I n f o   o f   t h e   e x e c   c r e d e n t i a l s   p l u g i n   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   h e l p   f o r   s e t - c r e d e n t i a l s   p a s s w o r d   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   t o k e n   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g   u s e r n a m e   f o r   t h e   u s e r   e n t r y   i n   k u b e c o n f i g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26836"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   N a m e   o f   p r o f i l e   t o   c a p t u r e .   O n e   o f   ( n o n e | c p u | h e a p | g o r o u t i n e | t h r e a d c r e a t e | b l o c k | m u t e x )   N a m e   o f   t h e   f i l e   t o   w r i t e   t h e   p r o f i l e   t o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26837"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26838"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U n s e t   a n   i n d i v i d u a l   v a l u e   i n   a   k u b e c o n f i g   f i l e .   P R O P E R T Y _ N A M E   i s   a   d o t   d e l i m i t e d   n a m e   w h e r e   e a c h   t o k e n   r e p r e s e n t s   e i t h e r   a n   a t t r i b u t e   n a m e   o r   a   m a p   k e y .   M a p   k e y s   m a y   n o t   c o n t a i n   d o t s .   k u b e c t l   c o n f i g   u n s e t   P R O P E R T Y _ N A M E",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26839"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U n s e t   t h e   c u r r e n t - c o n t e x t   k u b e c t l   c o n f i g   u n s e t   c u r r e n t - c o n t e x t   #   U n s e t   n a m e s p a c e   i n   f o o   c o n t e x t   k u b e c t l   c o n f i g   u n s e t   c o n t e x t s . f o o . n a m e s p a c e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26840"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   u n s e t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26841"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26842"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26843"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S e t   t h e   c u r r e n t - c o n t e x t   i n   a   k u b e c o n f i g   f i l e .   k u b e c t l   c o n f i g   u s e - c o n t e x t   C O N T E X T _ N A M E",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26844"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U s e   t h e   c o n t e x t   f o r   t h e   m i n i k u b e   c l u s t e r   k u b e c t l   c o n f i g   u s e - c o n t e x t   m i n i k u b e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26845"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   u s e - c o n t e x t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26846"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26847"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26848"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   m e r g e d   k u b e c o n f i g   s e t t i n g s   o r   a   s p e c i f i e d   k u b e c o n f i g   f i l e .   Y o u   c a n   u s e   - - o u t p u t   j s o n p a t h = { . . . }   t o   e x t r a c t   s p e c i f i c   v a l u e s   u s i n g   a   j s o n p a t h   e x p r e s s i o n .   k u b e c t l   c o n f i g   v i e w   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26849"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S h o w   m e r g e d   k u b e c o n f i g   s e t t i n g s   k u b e c t l   c o n f i g   v i e w   #   S h o w   m e r g e d   k u b e c o n f i g   s e t t i n g s ,   r a w   c e r t i f i c a t e   d a t a ,   a n d   e x p o s e d   s e c r e t s   k u b e c t l   c o n f i g   v i e w   - - r a w   #   G e t   t h e   p a s s w o r d   f o r   t h e   e 2 e   u s e r   k u b e c t l   c o n f i g   v i e w   - o   j s o n p a t h = ' { . u s e r s [ ? ( @ . n a m e   = =   \" e 2 e \" ) ] . u s e r . p a s s w o r d } '",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26850"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   F l a t t e n   t h e   r e s u l t i n g   k u b e c o n f i g   f i l e   i n t o   s e l f - c o n t a i n e d   o u t p u t   ( u s e f u l   f o r   c r e a t i n g   p o r t a b l e   k u b e c o n f i g   f i l e s )   h e l p   f o r   v i e w   M e r g e   t h e   f u l l   h i e r a r c h y   o f   k u b e c o n f i g   f i l e s   R e m o v e   a l l   i n f o r m a t i o n   n o t   u s e d   b y   c u r r e n t - c o n t e x t   f r o m   t h e   o u t p u t   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   D i s p l a y   r a w   b y t e   d a t a   a n d   s e n s i t i v e   d a t a   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t e x t / t e m p l a t e / # p k g - o v e r v i e w ] .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26851"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   u s e   a   p a r t i c u l a r   k u b e c o n f i g   f i l e   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   A P I   s e r v e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26852"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26853"
  },
  {
    "question": "What is Synopsis?",
    "answer": "M a r k   n o d e   a s   u n s c h e d u l a b l e .   k u b e c t l   c o r d o n   N O D E",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26854"
  },
  {
    "question": "What is Examples?",
    "answer": "#   M a r k   n o d e   \" f o o \"   a s   u n s c h e d u l a b l e   k u b e c t l   c o r d o n   f o o",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26855"
  },
  {
    "question": "What is Options?",
    "answer": "M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   h e l p   f o r   c o r d o n   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26856"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26857"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26858"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C o p y   f i l e s   a n d   d i r e c t o r i e s   t o   a n d   f r o m   c o n t a i n e r s .   k u b e c t l   c p   < f i l e - s p e c - s r c >   < f i l e - s p e c - d e s t >",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26859"
  },
  {
    "question": "What is Examples?",
    "answer": "#   ! ! ! I m p o r t a n t   N o t e ! ! !   #   R e q u i r e s   t h a t   t h e   ' t a r '   b i n a r y   i s   p r e s e n t   i n   y o u r   c o n t a i n e r   #   i m a g e .   I f   ' t a r '   i s   n o t   p r e s e n t ,   ' k u b e c t l   c p '   w i l l   f a i l .   #   #   F o r   a d v a n c e d   u s e   c a s e s ,   s u c h   a s   s y m l i n k s ,   w i l d c a r d   e x p a n s i o n   o r   #   f i l e   m o d e   p r e s e r v a t i o n ,   c o n s i d e r   u s i n g   ' k u b e c t l   e x e c ' .   #   C o p y   / t m p / f o o   l o c a l   f i l e   t o   / t m p / b a r   i n   a   r e m o t e   p o d   i n   n a m e s p a c e   < s o m e - n a m e s p a c e >   t a r   c f   -   / t m p / f o o   |   k u b e c t l   e x e c   - i   - n   < s o m e - n a m e s p a c e >   < s o m e - p o d >   - -   t a r   x f   -   - C   / t m p / b a r   #   C o p y   / t m p / f o o   f r o m   a   r e m o t e   p o d   t o   / t m p / b a r   l o c a l l y   k u b e c t l   e x e c   - n   < s o m e - n a m e s p a c e >   < s o m e - p o d >   - -   t a r   c f   -   / t m p / f o o   |   t a r   x f   -   - C   / t m p / b a r   #   C o p y   / t m p / f o o _ d i r   l o c a l   d i r e c t o r y   t o   / t m p / b a r _ d i r   i n   a   r e m o t e   p o d   i n   t h e   d e f a u l t   n a m e s p a c e   k u b e c t l   c p   / t m p / f o o _ d i r   < s o m e - p o d > : / t m p / b a r _ d i r   #   C o p y   / t m p / f o o   l o c a l   f i l e   t o   / t m p / b a r   i n   a   r e m o t e   p o d   i n   a   s p e c i f i c   c o n t a i n e r   k u b e c t l   c p   / t m p / f o o   < s o m e - p o d > : / t m p / b a r   - c   < s p e c i f i c - c o n t a i n e r >   #   C o p y   / t m p / f o o   l o c a l   f i l e   t o   / t m p / b a r   i n   a   r e m o t e   p o d   i n   n a m e s p a c e   < s o m e - n a m e s p a c e >   k u b e c t l   c p   / t m p / f o o   < s o m e - n a m e s p a c e > / < s o m e - p o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26860"
  },
  {
    "question": "What is Options?",
    "answer": "C o n t a i n e r   n a m e .   I f   o m i t t e d ,   u s e   t h e   k u b e c t l . k u b e r n e t e s . i o / d e f a u l t - c o n t a i n e r   a n n o t a t i o n   f o r   s e l e c t i n g   t h e   c o n t a i n e r   t o   b e   a t t a c h e d   o r   t h e   f i r s t   c o n t a i n e r   i n   t h e   p o d   w i l l   b e   c h o s e n   h e l p   f o r   c p   T h e   c o p i e d   f i l e / d i r e c t o r y ' s   o w n e r s h i p   a n d   p e r m i s s i o n s   w i l l   n o t   b e   p r e s e r v e d   i n   t h e   c o n t a i n e r   S e t   n u m b e r   o f   r e t r i e s   t o   c o m p l e t e   a   c o p y   o p e r a t i o n   f r o m   a   c o n t a i n e r .   S p e c i f y   0   t o   d i s a b l e   o r   a n y   n e g a t i v e   v a l u e   f o r   i n f i n i t e   r e t r y i n g .   T h e   d e f a u l t   i s   0   ( n o   r e t r y ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26861"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26862"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26863"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n .   J S O N   a n d   Y A M L   f o r m a t s   a r e   a c c e p t e d .   k u b e c t l   c r e a t e   - f   F I L E N A M E",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26864"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   p o d   u s i n g   t h e   d a t a   i n   p o d . j s o n   k u b e c t l   c r e a t e   - f   . / p o d . j s o n   #   C r e a t e   a   p o d   b a s e d   o n   t h e   J S O N   p a s s e d   i n t o   s t d i n   c a t   p o d . j s o n   |   k u b e c t l   c r e a t e   - f   -   #   E d i t   t h e   d a t a   i n   r e g i s t r y . y a m l   i n   J S O N   t h e n   c r e a t e   t h e   r e s o u r c e   u s i n g   t h e   e d i t e d   d a t a   k u b e c t l   c r e a t e   - f   r e g i s t r y . y a m l   - - e d i t   - o   j s o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26865"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   E d i t   t h e   A P I   r e s o u r c e   b e f o r e   c r e a t i n g   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   t o   u s e   t o   c r e a t e   t h e   r e s o u r c e   h e l p   f o r   c r e a t e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   R a w   U R I   t o   P O S T   t o   t h e   s e r v e r .   U s e s   t h e   t r a n s p o r t   s p e c i f i e d   b y   t h e   k u b e c o n f i g   f i l e .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26866"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26867"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   c r e a t e   c l u s t e r r o l e   -   C r e a t e   a   c l u s t e r   r o l e k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   -   C r e a t e   a   c l u s t e r   r o l e   b i n d i n g   f o r   a   p a r t i c u l a r   c l u s t e r   r o l e k u b e c t l   c r e a t e   c o n f i g m a p   -   C r e a t e   a   c o n f i g   m a p   f r o m   a   l o c a l   f i l e ,   d i r e c t o r y   o r   l i t e r a l   v a l u e k u b e c t l   c r e a t e   c r o n j o b   -   C r e a t e   a   c r o n   j o b   w i t h   t h e   s p e c i f i e d   n a m e k u b e c t l   c r e a t e   d e p l o y m e n t   -   C r e a t e   a   d e p l o y m e n t   w i t h   t h e   s p e c i f i e d   n a m e k u b e c t l   c r e a t e   i n g r e s s   -   C r e a t e   a n   i n g r e s s   w i t h   t h e   s p e c i f i e d   n a m e k u b e c t l   c r e a t e   j o b   -   C r e a t e   a   j o b   w i t h   t h e   s p e c i f i e d   n a m e k u b e c t l   c r e a t e   n a m e s p a c e   -   C r e a t e   a   n a m e s p a c e   w i t h   t h e   s p e c i f i e d   n a m e k u b e c t l   c r e a t e   p o d d i s r u p t i o n b u d g e t   -   C r e a t e   a   p o d   d i s r u p t i o n   b u d g e t   w i t h   t h e   s p e c i f i e d   n a m e k u b e c t l   c r e a t e   p r i o r i t y c l a s s   -   C r e a t e   a   p r i o r i t y   c l a s s   w i t h   t h e   s p e c i f i e d   n a m e k u b e c t l   c r e a t e   q u o t a   -   C r e a t e   a   q u o t a   w i t h   t h e   s p e c i f i e d   n a m e k u b e c t l   c r e a t e   r o l e   -   C r e a t e   a   r o l e   w i t h   s i n g l e   r u l e k u b e c t l   c r e a t e   r o l e b i n d i n g   -   C r e a t e   a   r o l e   b i n d i n g   f o r   a   p a r t i c u l a r   r o l e   o r   c l u s t e r   r o l e k u b e c t l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26868"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   c l u s t e r   r o l e .   k u b e c t l   c r e a t e   c l u s t e r r o l e   N A M E   - - v e r b = v e r b   - - r e s o u r c e = r e s o u r c e . g r o u p   [ - - r e s o u r c e - n a m e = r e s o u r c e n a m e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26869"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   c l u s t e r   r o l e   n a m e d   \" p o d - r e a d e r \"   t h a t   a l l o w s   u s e r   t o   p e r f o r m   \" g e t \" ,   \" w a t c h \"   a n d   \" l i s t \"   o n   p o d s   k u b e c t l   c r e a t e   c l u s t e r r o l e   p o d - r e a d e r   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = p o d s   #   C r e a t e   a   c l u s t e r   r o l e   n a m e d   \" p o d - r e a d e r \"   w i t h   R e s o u r c e N a m e   s p e c i f i e d   k u b e c t l   c r e a t e   c l u s t e r r o l e   p o d - r e a d e r   - - v e r b = g e t   - - r e s o u r c e = p o d s   - - r e s o u r c e - n a m e = r e a d a b l e p o d   - - r e s o u r c e - n a m e = a n o t h e r p o d   #   C r e a t e   a   c l u s t e r   r o l e   n a m e d   \" f o o \"   w i t h   A P I   G r o u p   s p e c i f i e d   k u b e c t l   c r e a t e   c l u s t e r r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = r s . a p p s   #   C r e a t e   a   c l u s t e r   r o l e   n a m e d   \" f o o \"   w i t h   S u b R e s o u r c e   s p e c i f i e d   k u b e c t l   c r e a t e   c l u s t e r r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = p o d s , p o d s / s t a t u s   #   C r e a t e   a   c l u s t e r   r o l e   n a m e   \" f o o \"   w i t h   N o n R e s o u r c e U R L   s p e c i f i e d   k u b e c t l   c r e a t e   c l u s t e r r o l e   \" f o o \"   - - v e r b = g e t   - - n o n - r e s o u r c e - u r l = / l o g s / *   #   C r e a t e   a   c l u s t e r   r o l e   n a m e   \" m o n i t o r i n g \"   w i t h   A g g r e g a t i o n R u l e   s p e c i f i e d   k u b e c t l   c r e a t e   c l u s t e r r o l e   m o n i t o r i n g   - - a g g r e g a t i o n - r u l e = \" r b a c . e x a m p l e . c o m / a g g r e g a t e - t o - m o n i t o r i n g = t r u e \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26870"
  },
  {
    "question": "What is Options?",
    "answer": "A n   a g g r e g a t i o n   l a b e l   s e l e c t o r   f o r   c o m b i n i n g   C l u s t e r R o l e s .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   c l u s t e r r o l e   A   p a r t i a l   u r l   t h a t   u s e r   s h o u l d   h a v e   a c c e s s   t o .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   R e s o u r c e   t h a t   t h e   r u l e   a p p l i e s   t o   R e s o u r c e   i n   t h e   w h i t e   l i s t   t h a t   t h e   r u l e   a p p l i e s   t o ,   r e p e a t   t h i s   f l a g   f o r   m u l t i p l e   i t e m s   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26871"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26872"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26873"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   c l u s t e r   r o l e   b i n d i n g   f o r   a   p a r t i c u l a r   c l u s t e r   r o l e .   k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   N A M E   - - c l u s t e r r o l e = N A M E   [ - - u s e r = u s e r n a m e ]   [ - - g r o u p = g r o u p n a m e ]   [ - - s e r v i c e a c c o u n t = n a m e s p a c e : s e r v i c e a c c o u n t n a m e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26874"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   c l u s t e r   r o l e   b i n d i n g   f o r   u s e r 1 ,   u s e r 2 ,   a n d   g r o u p 1   u s i n g   t h e   c l u s t e r - a d m i n   c l u s t e r   r o l e   k u b e c t l   c r e a t e   c l u s t e r r o l e b i n d i n g   c l u s t e r - a d m i n   - - c l u s t e r r o l e = c l u s t e r - a d m i n   - - u s e r = u s e r 1   - - u s e r = u s e r 2   - - g r o u p = g r o u p 1",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26875"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   C l u s t e r R o l e   t h i s   C l u s t e r R o l e B i n d i n g   s h o u l d   r e f e r e n c e   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   G r o u p s   t o   b i n d   t o   t h e   c l u s t e r r o l e .   T h e   f l a g   c a n   b e   r e p e a t e d   t o   a d d   m u l t i p l e   g r o u p s .   h e l p   f o r   c l u s t e r r o l e b i n d i n g   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   S e r v i c e   a c c o u n t s   t o   b i n d   t o   t h e   c l u s t e r r o l e ,   i n   t h e   f o r m a t   < n a m e s p a c e > : < n a m e > .   T h e   f l a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26876"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26877"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26878"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   c o n f i g   m a p   b a s e d   o n   a   f i l e ,   d i r e c t o r y ,   o r   s p e c i f i e d   l i t e r a l   v a l u e .   A   s i n g l e   c o n f i g   m a p   m a y   p a c k a g e   o n e   o r   m o r e   k e y / v a l u e   p a i r s .   W h e n   c r e a t i n g   a   c o n f i g   m a p   b a s e d   o n   a   f i l e ,   t h e   k e y   w i l l   d e f a u l t   t o   t h e   b a s e n a m e   o f   t h e   f i l e ,   a n d   t h e   v a l u e   w i l l   d e f a u l t   t o   t h e   f i l e   c o n t e n t .   I f   t h e   b a s e n a m e   i s   a n   i n v a l i d   k e y ,   y o u   m a y   s p e c i f y   a n   a l t e r n a t e   k e y .   W h e n   c r e a t i n g   a   c o n f i g   m a p   b a s e d   o n   a   d i r e c t o r y ,   e a c h   f i l e   w h o s e   b a s e n a m e   i s   a   v a l i d   k e y   i n   t h e   d i r e c t o r y   w i l l   b e   p a c k a g e d   i n t o   t h e   c o n f i g   m a p .   A n y   d i r e c t o r y   e n t r i e s   e x c e p t   r e g u l a r   f i l e s   a r e   i g n o r e d   ( e . g .   s u b d i r e c t o r i e s ,   s y m l i n k s ,   d e v i c e s ,   p i p e s ,   e t c ) .   k u b e c t l   c r e a t e   c o n f i g m a p   N A M E   [ - - f r o m - f i l e = [ k e y = ] s o u r c e ]   [ - - f r o m - l i t e r a l = k e y 1 = v a l u e 1 ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26879"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   c o n f i g   m a p   n a m e d   m y - c o n f i g   b a s e d   o n   f o l d e r   b a r   k u b e c t l   c r e a t e   c o n f i g m a p   m y - c o n f i g   - - f r o m - f i l e = p a t h / t o / b a r   #   C r e a t e   a   n e w   c o n f i g   m a p   n a m e d   m y - c o n f i g   w i t h   s p e c i f i e d   k e y s   i n s t e a d   o f   f i l e   b a s e n a m e s   o n   d i s k   k u b e c t l   c r e a t e   c o n f i g m a p   m y - c o n f i g   - - f r o m - f i l e = k e y 1 = / p a t h / t o / b a r / f i l e 1 . t x t   - - f r o m - f i l e = k e y 2 = / p a t h / t o / b a r / f i l e 2 . t x t   #   C r e a t e   a   n e w   c o n f i g   m a p   n a m e d   m y - c o n f i g   w i t h   k e y 1 = c o n f i g 1   a n d   k e y 2 = c o n f i g 2   k u b e c t l   c r e a t e   c o n f i g m a p   m y - c o n f i g   - - f r o m - l i t e r a l = k e y 1 = c o n f i g 1   - - f r o m - l i t e r a l = k e y 2 = c o n f i g 2   #   C r e a t e   a   n e w   c o n f i g   m a p   n a m e d   m y - c o n f i g   f r o m   t h e   k e y = v a l u e   p a i r s   i n   t h e   f i l e   k u b e c t l   c r e a t e   c o n f i g m a p   m y - c o n f i g   - - f r o m - f i l e = p a t h / t o / b a r   #   C r e a t e   a   n e w   c o n f i g   m a p   n a m e d   m y - c o n f i g   f r o m   a n   e n v   f i l e   k u b e c t l   c r e a t e   c o n f i g m a p   m y - c o n f i g   - - f r o m - e n v - f i l e = p a t h / t o / f o o . e n v   - - f r o m - e n v - f i l e = p a t h / t o / b a r . e n v",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26880"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   A p p e n d   a   h a s h   o f   t h e   c o n f i g m a p   t o   i t s   n a m e .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   S p e c i f y   t h e   p a t h   t o   a   f i l e   t o   r e a d   l i n e s   o f   k e y = v a l   p a i r s   t o   c r e a t e   a   c o n f i g m a p .   K e y   f i l e   c a n   b e   s p e c i f i e d   u s i n g   i t s   f i l e   p a t h ,   i n   w h i c h   c a s e   f i l e   b a s e n a m e   w i l l   b e   u s e d   a s   c o n f i g m a p   k e y ,   o r   o p t i o n a l l y   w i t h   a   k e y   a n d   f i l e   p a t h ,   i n   w h i c h   c a s e   t h e   g i v e n   k e y   w i l l   b e   u s e d .   S p e c i f y i n g   a   d i r e c t o r y   w i l l   i t e r a t e   e a c h   n a m e d   f i l e   i n   t h e   d i r e c t o r y   w h o s e   b a s e n a m e   i s   a   v a l i d   c o n f i g m a p   k e y .   S p e c i f y   a   k e y   a n d   l i t e r a l   v a l u e   t o   i n s e r t   i n   c o n f i g m a p   ( i . e .   m y k e y = s o m e v a l u e )   h e l p   f o r   c o n f i g m a p   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26881"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26882"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26883"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   c r o n   j o b   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   c r o n j o b   N A M E   - - i m a g e = i m a g e   - - s c h e d u l e = ' 0 / 5   *   *   *   ? '   - -   [ C O M M A N D ]   [ a r g s . . . ]   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26884"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   c r o n   j o b   k u b e c t l   c r e a t e   c r o n j o b   m y - j o b   - - i m a g e = b u s y b o x   - - s c h e d u l e = \" * / 1   *   *   *   * \"   #   C r e a t e   a   c r o n   j o b   w i t h   a   c o m m a n d   k u b e c t l   c r e a t e   c r o n j o b   m y - j o b   - - i m a g e = b u s y b o x   - - s c h e d u l e = \" * / 1   *   *   *   * \"   - -   d a t e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26885"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   c r o n j o b   I m a g e   n a m e   t o   r u n .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   j o b ' s   r e s t a r t   p o l i c y .   s u p p o r t e d   v a l u e s :   O n F a i l u r e ,   N e v e r   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   A   s c h e d u l e   i n   t h e   C r o n   f o r m a t   t h e   j o b   s h o u l d   b e   r u n   w i t h .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26886"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26887"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26888"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   d e p l o y m e n t   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   d e p l o y m e n t   N A M E   - - i m a g e = i m a g e   - -   [ C O M M A N D ]   [ a r g s . . . ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26889"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   d e p l o y m e n t   n a m e d   m y - d e p   t h a t   r u n s   t h e   b u s y b o x   i m a g e   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - - i m a g e = b u s y b o x   #   C r e a t e   a   d e p l o y m e n t   w i t h   a   c o m m a n d   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - - i m a g e = b u s y b o x   - -   d a t e   #   C r e a t e   a   d e p l o y m e n t   n a m e d   m y - d e p   t h a t   r u n s   t h e   n g i n x   i m a g e   w i t h   3   r e p l i c a s   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - - i m a g e = n g i n x   - - r e p l i c a s = 3   #   C r e a t e   a   d e p l o y m e n t   n a m e d   m y - d e p   t h a t   r u n s   t h e   b u s y b o x   i m a g e   a n d   e x p o s e   p o r t   5 7 0 1   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - - i m a g e = b u s y b o x   - - p o r t = 5 7 0 1   #   C r e a t e   a   d e p l o y m e n t   n a m e d   m y - d e p   t h a t   r u n s   m u l t i p l e   c o n t a i n e r s   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - - i m a g e = b u s y b o x : l a t e s t   - - i m a g e = u b u n t u : l a t e s t   - - i m a g e = n g i n x",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26890"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   d e p l o y m e n t   I m a g e   n a m e s   t o   r u n .   A   d e p l o y m e n t   c a n   h a v e   m u l t i p l e   i m a g e s   s e t   f o r   m u l t i - c o n t a i n e r   p o d .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   T h e   c o n t a i n e r P o r t   t h a t   t h i s   d e p l o y m e n t   e x p o s e s .   N u m b e r   o f   r e p l i c a s   t o   c r e a t e .   D e f a u l t   i s   1 .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26891"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26892"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26893"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a n   i n g r e s s   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   i n g r e s s   N A M E   - - r u l e = h o s t / p a t h = s e r v i c e : p o r t [ , t l s [ = s e c r e t ] ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26894"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   s i n g l e   i n g r e s s   c a l l e d   ' s i m p l e '   t h a t   d i r e c t s   r e q u e s t s   t o   f o o . c o m / b a r   t o   s v c   #   s v c 1 : 8 0 8 0   w i t h   a   T L S   s e c r e t   \" m y - c e r t \"   k u b e c t l   c r e a t e   i n g r e s s   s i m p l e   - - r u l e = \" f o o . c o m / b a r = s v c 1 : 8 0 8 0 , t l s = m y - c e r t \"   #   C r e a t e   a   c a t c h   a l l   i n g r e s s   o f   \" / p a t h \"   p o i n t i n g   t o   s e r v i c e   s v c : p o r t   a n d   I n g r e s s   C l a s s   a s   \" o t h e r i n g r e s s \"   k u b e c t l   c r e a t e   i n g r e s s   c a t c h - a l l   - - c l a s s = o t h e r i n g r e s s   - - r u l e = \" / p a t h = s v c : p o r t \"   #   C r e a t e   a n   i n g r e s s   w i t h   t w o   a n n o t a t i o n s :   i n g r e s s . a n n o t a t i o n 1   a n d   i n g r e s s . a n n o t a t i o n s 2   k u b e c t l   c r e a t e   i n g r e s s   a n n o t a t e d   - - c l a s s = d e f a u l t   - - r u l e = \" f o o . c o m / b a r = s v c : p o r t \"   \\   - - a n n o t a t i o n   i n g r e s s . a n n o t a t i o n 1 = f o o   \\   - - a n n o t a t i o n   i n g r e s s . a n n o t a t i o n 2 = b l a   #   C r e a t e   a n   i n g r e s s   w i t h   t h e   s a m e   h o s t   a n d   m u l t i p l e   p a t h s   k u b e c t l   c r e a t e   i n g r e s s   m u l t i p a t h   - - c l a s s = d e f a u l t   \\   - - r u l e = \" f o o . c o m / = s v c : p o r t \"   \\   - - r u l e = \" f o o . c o m / a d m i n / = s v c a d m i n : p o r t a d m i n \"   #   C r e a t e   a n   i n g r e s s   w i t h   m u l t i p l e   h o s t s   a n d   t h e   p a t h T y p e   a s   P r e f i x   k u b e c t l   c r e a t e   i n g r e s s   i n g r e s s 1   - - c l a s s = d e f a u l t   \\   - - r u l e = \" f o o . c o m / p a t h * = s v c : 8 0 8 0 \"   \\   - - r u l e = \" b a r . c o m / a d m i n * = s v c 2 : h t t p \"   #   C r e a t e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26895"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   A n n o t a t i o n   t o   i n s e r t   i n   t h e   i n g r e s s   o b j e c t ,   i n   t h e   f o r m a t   a n n o t a t i o n = v a l u e   I n g r e s s   C l a s s   t o   b e   u s e d   D e f a u l t   s e r v i c e   f o r   b a c k e n d ,   i n   f o r m a t   o f   s v c n a m e : p o r t   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   i n g r e s s   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   R u l e   i n   f o r m a t   h o s t / p a t h = s e r v i c e : p o r t [ , t l s = s e c r e t n a m e ] .   P a t h s   c o n t a i n i n g   t h e   l e a d i n g   c h a r a c t e r   ' * '   a r e   c o n s i d e r e d   p a t h T y p e = P r e f i x .   t l s   a r g u m e n t   i s   o p t i o n a l .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26896"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26897"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26898"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   j o b   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   j o b   N A M E   - - i m a g e = i m a g e   [ - - f r o m = c r o n j o b / n a m e ]   - -   [ C O M M A N D ]   [ a r g s . . . ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26899"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   j o b   k u b e c t l   c r e a t e   j o b   m y - j o b   - - i m a g e = b u s y b o x   #   C r e a t e   a   j o b   w i t h   a   c o m m a n d   k u b e c t l   c r e a t e   j o b   m y - j o b   - - i m a g e = b u s y b o x   - -   d a t e   #   C r e a t e   a   j o b   f r o m   a   c r o n   j o b   n a m e d   \" a - c r o n j o b \"   k u b e c t l   c r e a t e   j o b   t e s t - j o b   - - f r o m = c r o n j o b / a - c r o n j o b",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26900"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   T h e   n a m e   o f   t h e   r e s o u r c e   t o   c r e a t e   a   J o b   f r o m   ( o n l y   c r o n j o b   i s   s u p p o r t e d ) .   h e l p   f o r   j o b   I m a g e   n a m e   t o   r u n .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26901"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26902"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26903"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   n a m e s p a c e   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   n a m e s p a c e   N A M E   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26904"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   n a m e s p a c e   n a m e d   m y - n a m e s p a c e   k u b e c t l   c r e a t e   n a m e s p a c e   m y - n a m e s p a c e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26905"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   n a m e s p a c e   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26906"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26907"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26908"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   p o d   d i s r u p t i o n   b u d g e t   w i t h   t h e   s p e c i f i e d   n a m e ,   s e l e c t o r ,   a n d   d e s i r e d   m i n i m u m   a v a i l a b l e   p o d s .   k u b e c t l   c r e a t e   p o d d i s r u p t i o n b u d g e t   N A M E   - - s e l e c t o r = S E L E C T O R   - - m i n - a v a i l a b l e = N   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26909"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   p o d   d i s r u p t i o n   b u d g e t   n a m e d   m y - p d b   t h a t   w i l l   s e l e c t   a l l   p o d s   w i t h   t h e   a p p = r a i l s   l a b e l   #   a n d   r e q u i r e   a t   l e a s t   o n e   o f   t h e m   b e i n g   a v a i l a b l e   a t   a n y   p o i n t   i n   t i m e   k u b e c t l   c r e a t e   p o d d i s r u p t i o n b u d g e t   m y - p d b   - - s e l e c t o r = a p p = r a i l s   - - m i n - a v a i l a b l e = 1   #   C r e a t e   a   p o d   d i s r u p t i o n   b u d g e t   n a m e d   m y - p d b   t h a t   w i l l   s e l e c t   a l l   p o d s   w i t h   t h e   a p p = n g i n x   l a b e l   #   a n d   r e q u i r e   a t   l e a s t   h a l f   o f   t h e   p o d s   s e l e c t e d   t o   b e   a v a i l a b l e   a t   a n y   p o i n t   i n   t i m e   k u b e c t l   c r e a t e   p d b   m y - p d b   - - s e l e c t o r = a p p = n g i n x   - - m i n - a v a i l a b l e = 5 0 %",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26910"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   p o d d i s r u p t i o n b u d g e t   T h e   m a x i m u m   n u m b e r   o r   p e r c e n t a g e   o f   u n a v a i l a b l e   p o d s   t h i s   b u d g e t   r e q u i r e s .   T h e   m i n i m u m   n u m b e r   o r   p e r c e n t a g e   o f   a v a i l a b l e   p o d s   t h i s   b u d g e t   r e q u i r e s .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   A   l a b e l   s e l e c t o r   t o   u s e   f o r   t h i s   b u d g e t .   O n l y   e q u a l i t y - b a s e d   s e l e c t o r   r e q u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26911"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26912"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26913"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   p r i o r i t y   c l a s s   w i t h   t h e   s p e c i f i e d   n a m e ,   v a l u e ,   g l o b a l D e f a u l t   a n d   d e s c r i p t i o n .   k u b e c t l   c r e a t e   p r i o r i t y c l a s s   N A M E   - - v a l u e = V A L U E   - - g l o b a l - d e f a u l t = B O O L   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26914"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   p r i o r i t y   c l a s s   n a m e d   h i g h - p r i o r i t y   k u b e c t l   c r e a t e   p r i o r i t y c l a s s   h i g h - p r i o r i t y   - - v a l u e = 1 0 0 0   - - d e s c r i p t i o n = \" h i g h   p r i o r i t y \"   #   C r e a t e   a   p r i o r i t y   c l a s s   n a m e d   d e f a u l t - p r i o r i t y   t h a t   i s   c o n s i d e r e d   a s   t h e   g l o b a l   d e f a u l t   p r i o r i t y   k u b e c t l   c r e a t e   p r i o r i t y c l a s s   d e f a u l t - p r i o r i t y   - - v a l u e = 1 0 0 0   - - g l o b a l - d e f a u l t = t r u e   - - d e s c r i p t i o n = \" d e f a u l t   p r i o r i t y \"   #   C r e a t e   a   p r i o r i t y   c l a s s   n a m e d   h i g h - p r i o r i t y   t h a t   c a n n o t   p r e e m p t   p o d s   w i t h   l o w e r   p r i o r i t y   k u b e c t l   c r e a t e   p r i o r i t y c l a s s   h i g h - p r i o r i t y   - - v a l u e = 1 0 0 0   - - d e s c r i p t i o n = \" h i g h   p r i o r i t y \"   - - p r e e m p t i o n - p o l i c y = \" N e v e r \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26915"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   d e s c r i p t i o n   i s   a n   a r b i t r a r y   s t r i n g   t h a t   u s u a l l y   p r o v i d e s   g u i d e l i n e s   o n   w h e n   t h i s   p r i o r i t y   c l a s s   s h o u l d   b e   u s e d .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   g l o b a l - d e f a u l t   s p e c i f i e s   w h e t h e r   t h i s   P r i o r i t y C l a s s   s h o u l d   b e   c o n s i d e r e d   a s   t h e   d e f a u l t   p r i o r i t y .   h e l p   f o r   p r i o r i t y c l a s s   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   p r e e m p t i o n - p o l i c y   i s   t h e   p o l i c y   f o r   p r e e m p t i n g   p o d s   w i t h   l o w e r   p r i o r i t y .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26916"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26917"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26918"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   r e s o u r c e   q u o t a   w i t h   t h e   s p e c i f i e d   n a m e ,   h a r d   l i m i t s ,   a n d   o p t i o n a l   s c o p e s .   k u b e c t l   c r e a t e   q u o t a   N A M E   [ - - h a r d = k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 ]   [ - - s c o p e s = S c o p e 1 , S c o p e 2 ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26919"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   r e s o u r c e   q u o t a   n a m e d   m y - q u o t a   k u b e c t l   c r e a t e   q u o t a   m y - q u o t a   - - h a r d = c p u = 1 , m e m o r y = 1 G , p o d s = 2 , s e r v i c e s = 3 , r e p l i c a t i o n c o n t r o l l e r s = 2 , r e s o u r c e q u o t a s = 1 , s e c r e t s = 5 , p e r s i s t e n t v o l u m e c l a i m s = 1 0   #   C r e a t e   a   n e w   r e s o u r c e   q u o t a   n a m e d   b e s t - e f f o r t   k u b e c t l   c r e a t e   q u o t a   b e s t - e f f o r t   - - h a r d = p o d s = 1 0 0   - - s c o p e s = B e s t E f f o r t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26920"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   A   c o m m a - d e l i m i t e d   s e t   o f   r e s o u r c e = q u a n t i t y   p a i r s   t h a t   d e f i n e   a   h a r d   l i m i t .   h e l p   f o r   q u o t a   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   A   c o m m a - d e l i m i t e d   s e t   o f   q u o t a   s c o p e s   t h a t   m u s t   a l l   m a t c h   e a c h   o b j e c t   t r a c k e d   b y   t h e   q u o t a .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26921"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26922"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26923"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   r o l e   w i t h   s i n g l e   r u l e .   k u b e c t l   c r e a t e   r o l e   N A M E   - - v e r b = v e r b   - - r e s o u r c e = r e s o u r c e . g r o u p / s u b r e s o u r c e   [ - - r e s o u r c e - n a m e = r e s o u r c e n a m e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26924"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   r o l e   n a m e d   \" p o d - r e a d e r \"   t h a t   a l l o w s   u s e r   t o   p e r f o r m   \" g e t \" ,   \" w a t c h \"   a n d   \" l i s t \"   o n   p o d s   k u b e c t l   c r e a t e   r o l e   p o d - r e a d e r   - - v e r b = g e t   - - v e r b = l i s t   - - v e r b = w a t c h   - - r e s o u r c e = p o d s   #   C r e a t e   a   r o l e   n a m e d   \" p o d - r e a d e r \"   w i t h   R e s o u r c e N a m e   s p e c i f i e d   k u b e c t l   c r e a t e   r o l e   p o d - r e a d e r   - - v e r b = g e t   - - r e s o u r c e = p o d s   - - r e s o u r c e - n a m e = r e a d a b l e p o d   - - r e s o u r c e - n a m e = a n o t h e r p o d   #   C r e a t e   a   r o l e   n a m e d   \" f o o \"   w i t h   A P I   G r o u p   s p e c i f i e d   k u b e c t l   c r e a t e   r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = r s . a p p s   #   C r e a t e   a   r o l e   n a m e d   \" f o o \"   w i t h   S u b R e s o u r c e   s p e c i f i e d   k u b e c t l   c r e a t e   r o l e   f o o   - - v e r b = g e t , l i s t , w a t c h   - - r e s o u r c e = p o d s , p o d s / s t a t u s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26925"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   r o l e   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   R e s o u r c e   t h a t   t h e   r u l e   a p p l i e s   t o   R e s o u r c e   i n   t h e   w h i t e   l i s t   t h a t   t h e   r u l e   a p p l i e s   t o ,   r e p e a t   t h i s   f l a g   f o r   m u l t i p l e   i t e m s   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26926"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26927"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26928"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   r o l e   b i n d i n g   f o r   a   p a r t i c u l a r   r o l e   o r   c l u s t e r   r o l e .   k u b e c t l   c r e a t e   r o l e b i n d i n g   N A M E   - - c l u s t e r r o l e = N A M E | - - r o l e = N A M E   [ - - u s e r = u s e r n a m e ]   [ - - g r o u p = g r o u p n a m e ]   [ - - s e r v i c e a c c o u n t = n a m e s p a c e : s e r v i c e a c c o u n t n a m e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26929"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   r o l e   b i n d i n g   f o r   u s e r 1 ,   u s e r 2 ,   a n d   g r o u p 1   u s i n g   t h e   a d m i n   c l u s t e r   r o l e   k u b e c t l   c r e a t e   r o l e b i n d i n g   a d m i n   - - c l u s t e r r o l e = a d m i n   - - u s e r = u s e r 1   - - u s e r = u s e r 2   - - g r o u p = g r o u p 1   #   C r e a t e   a   r o l e   b i n d i n g   f o r   s e r v i c e   a c c o u n t   m o n i t o r i n g : s a - d e v   u s i n g   t h e   a d m i n   r o l e   k u b e c t l   c r e a t e   r o l e b i n d i n g   a d m i n - b i n d i n g   - - r o l e = a d m i n   - - s e r v i c e a c c o u n t = m o n i t o r i n g : s a - d e v",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26930"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   C l u s t e r R o l e   t h i s   R o l e B i n d i n g   s h o u l d   r e f e r e n c e   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   G r o u p s   t o   b i n d   t o   t h e   r o l e .   T h e   f l a g   c a n   b e   r e p e a t e d   t o   a d d   m u l t i p l e   g r o u p s .   h e l p   f o r   r o l e b i n d i n g   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   R o l e   t h i s   R o l e B i n d i n g   s h o u l d   r e f e r e n c e   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   S e r v i c e   a c c o u n t s   t o   b i n d   t o   t h e   r o l e ,   i n   t h e   f o r m a t   < n a m e s p a c e > : < n a m ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26931"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26932"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26933"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   s e c r e t   w i t h   s p e c i f i e d   t y p e .   A   d o c k e r - r e g i s t r y   t y p e   s e c r e t   i s   f o r   a c c e s s i n g   a   c o n t a i n e r   r e g i s t r y .   A   g e n e r i c   t y p e   s e c r e t   i n d i c a t e   a n   O p a q u e   s e c r e t   t y p e .   A   t l s   t y p e   s e c r e t   h o l d s   T L S   c e r t i f i c a t e   a n d   i t s   a s s o c i a t e d   k e y .   k u b e c t l   c r e a t e   s e c r e t   ( d o c k e r - r e g i s t r y   |   g e n e r i c   |   t l s )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26934"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   s e c r e t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26935"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26936"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   -   C r e a t e   a   s e c r e t   f o r   u s e   w i t h   a   D o c k e r   r e g i s t r y k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   -   C r e a t e   a   s e c r e t   f r o m   a   l o c a l   f i l e ,   d i r e c t o r y ,   o r   l i t e r a l   v a l u e k u b e c t l   c r e a t e   s e c r e t   t l s   -   C r e a t e   a   T L S   s e c r e t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26937"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   n e w   s e c r e t   f o r   u s e   w i t h   D o c k e r   r e g i s t r i e s .   D o c k e r c f g   s e c r e t s   a r e   u s e d   t o   a u t h e n t i c a t e   a g a i n s t   D o c k e r   r e g i s t r i e s .   W h e n   u s i n g   t h e   D o c k e r   c o m m a n d   l i n e   t o   p u s h   i m a g e s ,   y o u   c a n   a u t h e n t i c a t e   t o   a   g i v e n   r e g i s t r y   b y   r u n n i n g :   ' $   d o c k e r   l o g i n   D O C K E R _ R E G I S T R Y _ S E R V E R   - - u s e r n a m e = D O C K E R _ U S E R   - - p a s s w o r d = D O C K E R _ P A S S W O R D   - - e m a i l = D O C K E R _ E M A I L ' .   T h a t   p r o d u c e s   a   ~ / . d o c k e r c f g   f i l e   t h a t   i s   u s e d   b y   s u b s e q u e n t   ' d o c k e r   p u s h '   a n d   ' d o c k e r   p u l l '   c o m m a n d s   t o   a u t h e n t i c a t e   t o   t h e   r e g i s t r y .   T h e   e m a i l   a d d r e s s   i s   o p t i o n a l .   W h e n   c r e a t i n g   a p p l i c a t i o n s ,   y o u   m a y   h a v e   a   D o c k e r   r e g i s t r y   t h a t   r e q u i r e s   a u t h e n t i c a t i o n .   I n   o r d e r   f o r   t h e   n o d e s   t o   p u l l   i m a g e s   o n   y o u r   b e h a l f ,   t h e y   m u s t   h a v e   t h e   c r e d e n t i a l s .   Y o u   c a n   p r o v i d e   t h i s   i n f o r m a t i o n   b y   c r e a t i n g   a   d o c k e r c f g   s e c r e t   a n d   a t t a c h i n g   i t   t o   y o u r   s e r v i c e   a c c o u n t .   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   N A M E   - - d o c k e r - u s e r n a m e = u s e r   - - d o c k e r - p a s s w o r d = p a s s w o r d   - - d o c k e r - e m a i l = e m a i l   [ - - d o c k e r - s e r v e r = s t r i n g ]   [ - - f r o m - f i l e = [ k e y = ] s o u r c e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26938"
  },
  {
    "question": "What is Examples?",
    "answer": "#   I f   y o u   d o   n o t   a l r e a d y   h a v e   a   . d o c k e r c f g   f i l e ,   c r e a t e   a   d o c k e r c f g   s e c r e t   d i r e c t l y   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   m y - s e c r e t   - - d o c k e r - s e r v e r = D O C K E R _ R E G I S T R Y _ S E R V E R   - - d o c k e r - u s e r n a m e = D O C K E R _ U S E R   - - d o c k e r - p a s s w o r d = D O C K E R _ P A S S W O R D   - - d o c k e r - e m a i l = D O C K E R _ E M A I L   #   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   f r o m   ~ / . d o c k e r / c o n f i g . j s o n   k u b e c t l   c r e a t e   s e c r e t   d o c k e r - r e g i s t r y   m y - s e c r e t   - - f r o m - f i l e = p a t h / t o / . d o c k e r / c o n f i g . j s o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26939"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   A p p e n d   a   h a s h   o f   t h e   s e c r e t   t o   i t s   n a m e .   E m a i l   f o r   D o c k e r   r e g i s t r y   P a s s w o r d   f o r   D o c k e r   r e g i s t r y   a u t h e n t i c a t i o n   S e r v e r   l o c a t i o n   f o r   D o c k e r   r e g i s t r y   U s e r n a m e   f o r   D o c k e r   r e g i s t r y   a u t h e n t i c a t i o n   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   K e y   f i l e s   c a n   b e   s p e c i f i e d   u s i n g   t h e i r   f i l e   p a t h ,   i n   w h i c h   c a s e   a   d e f a u l t   n a m e   o f   . d o c k e r c o n f i g j s o n   w i l l   b e   g i v e n   t o   t h e m ,   o r   o p t i o n a l l y   w i t h   a   n a m e   a n d   f i l e   p a t h ,   i n   w h i c h   c a s e   t h e   g i v e n   n a m e   w i l l   b e   u s e d .   S p e c i f y i n g   a   d i r e c t o r y   w i l l   i t e r a t e   e a c h   n a m e d   f i l e   i n   t h e   d i r e c t o r y   t h a t   i s   a   v a l i d   s e c r e t   k e y .   F o r   t h i s   c o m m a n d ,   t h e   k e y   s h o u l d   a l w a y s   b e   . d o c k e r c o n f i g j s o n .   h e l p   f o r   d o c k e r - r e g i s t r y   O u t p u t   f o r m a t .   O n e   o f : ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26940"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26941"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   s e c r e t   -   C r e a t e   a   s e c r e t   u s i n g   a   s p e c i f i e d   s u b c o m m a n d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26942"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   s e c r e t   b a s e d   o n   a   f i l e ,   d i r e c t o r y ,   o r   s p e c i f i e d   l i t e r a l   v a l u e .   A   s i n g l e   s e c r e t   m a y   p a c k a g e   o n e   o r   m o r e   k e y / v a l u e   p a i r s .   W h e n   c r e a t i n g   a   s e c r e t   b a s e d   o n   a   f i l e ,   t h e   k e y   w i l l   d e f a u l t   t o   t h e   b a s e n a m e   o f   t h e   f i l e ,   a n d   t h e   v a l u e   w i l l   d e f a u l t   t o   t h e   f i l e   c o n t e n t .   I f   t h e   b a s e n a m e   i s   a n   i n v a l i d   k e y   o r   y o u   w i s h   t o   c h o s e   y o u r   o w n ,   y o u   m a y   s p e c i f y   a n   a l t e r n a t e   k e y .   W h e n   c r e a t i n g   a   s e c r e t   b a s e d   o n   a   d i r e c t o r y ,   e a c h   f i l e   w h o s e   b a s e n a m e   i s   a   v a l i d   k e y   i n   t h e   d i r e c t o r y   w i l l   b e   p a c k a g e d   i n t o   t h e   s e c r e t .   A n y   d i r e c t o r y   e n t r i e s   e x c e p t   r e g u l a r   f i l e s   a r e   i g n o r e d   ( e . g .   s u b d i r e c t o r i e s ,   s y m l i n k s ,   d e v i c e s ,   p i p e s ,   e t c ) .   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   N A M E   [ - - t y p e = s t r i n g ]   [ - - f r o m - f i l e = [ k e y = ] s o u r c e ]   [ - - f r o m - l i t e r a l = k e y 1 = v a l u e 1 ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26943"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   w i t h   k e y s   f o r   e a c h   f i l e   i n   f o l d e r   b a r   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - f i l e = p a t h / t o / b a r   #   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   w i t h   s p e c i f i e d   k e y s   i n s t e a d   o f   n a m e s   o n   d i s k   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - f i l e = s s h - p r i v a t e k e y = p a t h / t o / i d _ r s a   - - f r o m - f i l e = s s h - p u b l i c k e y = p a t h / t o / i d _ r s a . p u b   #   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   w i t h   k e y 1 = s u p e r s e c r e t   a n d   k e y 2 = t o p s e c r e t   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - l i t e r a l = k e y 1 = s u p e r s e c r e t   - - f r o m - l i t e r a l = k e y 2 = t o p s e c r e t   #   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   u s i n g   a   c o m b i n a t i o n   o f   a   f i l e   a n d   a   l i t e r a l   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - f i l e = s s h - p r i v a t e k e y = p a t h / t o / i d _ r s a   - - f r o m - l i t e r a l = p a s s p h r a s e = t o p s e c r e t   #   C r e a t e   a   n e w   s e c r e t   n a m e d   m y - s e c r e t   f r o m   e n v   f i l e s   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   m y - s e c r e t   - - f r o m - e n v - f i l e = p a t h / t o / f o o . e n v   - - f r o m - e n v - f i l e = p a t h / t o / b a r . e n v",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26944"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   A p p e n d   a   h a s h   o f   t h e   s e c r e t   t o   i t s   n a m e .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   S p e c i f y   t h e   p a t h   t o   a   f i l e   t o   r e a d   l i n e s   o f   k e y = v a l   p a i r s   t o   c r e a t e   a   s e c r e t .   K e y   f i l e s   c a n   b e   s p e c i f i e d   u s i n g   t h e i r   f i l e   p a t h ,   i n   w h i c h   c a s e   a   d e f a u l t   n a m e   w i l l   b e   g i v e n   t o   t h e m ,   o r   o p t i o n a l l y   w i t h   a   n a m e   a n d   f i l e   p a t h ,   i n   w h i c h   c a s e   t h e   g i v e n   n a m e   w i l l   b e   u s e d .   S p e c i f y i n g   a   d i r e c t o r y   w i l l   i t e r a t e   e a c h   n a m e d   f i l e   i n   t h e   d i r e c t o r y   t h a t   i s   a   v a l i d   s e c r e t   k e y .   S p e c i f y   a   k e y   a n d   l i t e r a l   v a l u e   t o   i n s e r t   i n   s e c r e t   ( i . e .   m y k e y = s o m e v a l u e )   h e l p   f o r   g e n e r i c   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26945"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26946"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   s e c r e t   -   C r e a t e   a   s e c r e t   u s i n g   a   s p e c i f i e d   s u b c o m m a n d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26947"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   T L S   s e c r e t   f r o m   t h e   g i v e n   p u b l i c / p r i v a t e   k e y   p a i r .   T h e   p u b l i c / p r i v a t e   k e y   p a i r   m u s t   e x i s t   b e f o r e h a n d .   T h e   p u b l i c   k e y   c e r t i f i c a t e   m u s t   b e   . P E M   e n c o d e d   a n d   m a t c h   t h e   g i v e n   p r i v a t e   k e y .   k u b e c t l   c r e a t e   s e c r e t   t l s   N A M E   - - c e r t = p a t h / t o / c e r t / f i l e   - - k e y = p a t h / t o / k e y / f i l e   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26948"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   T L S   s e c r e t   n a m e d   t l s - s e c r e t   w i t h   t h e   g i v e n   k e y   p a i r   k u b e c t l   c r e a t e   s e c r e t   t l s   t l s - s e c r e t   - - c e r t = p a t h / t o / t l s . c r t   - - k e y = p a t h / t o / t l s . k e y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26949"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   A p p e n d   a   h a s h   o f   t h e   s e c r e t   t o   i t s   n a m e .   P a t h   t o   P E M   e n c o d e d   p u b l i c   k e y   c e r t i f i c a t e .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   t l s   P a t h   t o   p r i v a t e   k e y   a s s o c i a t e d   w i t h   g i v e n   c e r t i f i c a t e .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26950"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26951"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   s e c r e t   -   C r e a t e   a   s e c r e t   u s i n g   a   s p e c i f i e d   s u b c o m m a n d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26952"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   s e r v i c e   u s i n g   a   s p e c i f i e d   s u b c o m m a n d .   k u b e c t l   c r e a t e   s e r v i c e   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26953"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   s e r v i c e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26954"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26955"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   -   C r e a t e   a   C l u s t e r I P   s e r v i c e k u b e c t l   c r e a t e   s e r v i c e   e x t e r n a l n a m e   -   C r e a t e   a n   E x t e r n a l N a m e   s e r v i c e k u b e c t l   c r e a t e   s e r v i c e   l o a d b a l a n c e r   -   C r e a t e   a   L o a d B a l a n c e r   s e r v i c e k u b e c t l   c r e a t e   s e r v i c e   n o d e p o r t   -   C r e a t e   a   N o d e P o r t   s e r v i c e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26956"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   C l u s t e r I P   s e r v i c e   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   N A M E   [ - - t c p = < p o r t > : < t a r g e t P o r t > ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26957"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   C l u s t e r I P   s e r v i c e   n a m e d   m y - c s   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   m y - c s   - - t c p = 5 6 7 8 : 8 0 8 0   #   C r e a t e   a   n e w   C l u s t e r I P   s e r v i c e   n a m e d   m y - c s   ( i n   h e a d l e s s   m o d e )   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   m y - c s   - - c l u s t e r i p = \" N o n e \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26958"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   A s s i g n   y o u r   o w n   C l u s t e r I P   o r   s e t   t o   ' N o n e '   f o r   a   ' h e a d l e s s '   s e r v i c e   ( n o   l o a d b a l a n c i n g ) .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   c l u s t e r i p   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   P o r t   p a i r s   c a n   b e   s p e c i f i e d   a s   ' < p o r t > : < t a r g e t P o r t > ' .   T e m p l a t e   s t r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26959"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26960"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   s e r v i c e   -   C r e a t e   a   s e r v i c e   u s i n g   a   s p e c i f i e d   s u b c o m m a n d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26961"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a n   E x t e r n a l N a m e   s e r v i c e   w i t h   t h e   s p e c i f i e d   n a m e .   E x t e r n a l N a m e   s e r v i c e   r e f e r e n c e s   t o   a n   e x t e r n a l   D N S   a d d r e s s   i n s t e a d   o f   o n l y   p o d s ,   w h i c h   w i l l   a l l o w   a p p l i c a t i o n   a u t h o r s   t o   r e f e r e n c e   s e r v i c e s   t h a t   e x i s t   o f f   p l a t f o r m ,   o n   o t h e r   c l u s t e r s ,   o r   l o c a l l y .   k u b e c t l   c r e a t e   s e r v i c e   e x t e r n a l n a m e   N A M E   - - e x t e r n a l - n a m e   e x t e r n a l . n a m e   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26962"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   E x t e r n a l N a m e   s e r v i c e   n a m e d   m y - n s   k u b e c t l   c r e a t e   s e r v i c e   e x t e r n a l n a m e   m y - n s   - - e x t e r n a l - n a m e   b a r . c o m",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26963"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   E x t e r n a l   n a m e   o f   s e r v i c e   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   e x t e r n a l n a m e   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   P o r t   p a i r s   c a n   b e   s p e c i f i e d   a s   ' < p o r t > : < t a r g e t P o r t > ' .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26964"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26965"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   s e r v i c e   -   C r e a t e   a   s e r v i c e   u s i n g   a   s p e c i f i e d   s u b c o m m a n d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26966"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   L o a d B a l a n c e r   s e r v i c e   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   s e r v i c e   l o a d b a l a n c e r   N A M E   [ - - t c p = p o r t : t a r g e t P o r t ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26967"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   L o a d B a l a n c e r   s e r v i c e   n a m e d   m y - l b s   k u b e c t l   c r e a t e   s e r v i c e   l o a d b a l a n c e r   m y - l b s   - - t c p = 5 6 7 8 : 8 0 8 0",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26968"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   l o a d b a l a n c e r   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   P o r t   p a i r s   c a n   b e   s p e c i f i e d   a s   ' < p o r t > : < t a r g e t P o r t > ' .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26969"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26970"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   s e r v i c e   -   C r e a t e   a   s e r v i c e   u s i n g   a   s p e c i f i e d   s u b c o m m a n d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26971"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   N o d e P o r t   s e r v i c e   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   s e r v i c e   n o d e p o r t   N A M E   [ - - t c p = p o r t : t a r g e t P o r t ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26972"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   N o d e P o r t   s e r v i c e   n a m e d   m y - n s   k u b e c t l   c r e a t e   s e r v i c e   n o d e p o r t   m y - n s   - - t c p = 5 6 7 8 : 8 0 8 0",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26973"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   n o d e p o r t   P o r t   u s e d   t o   e x p o s e   t h e   s e r v i c e   o n   e a c h   n o d e   i n   a   c l u s t e r .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   P o r t   p a i r s   c a n   b e   s p e c i f i e d   a s   ' < p o r t > : < t a r g e t P o r t > ' .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26974"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26975"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   s e r v i c e   -   C r e a t e   a   s e r v i c e   u s i n g   a   s p e c i f i e d   s u b c o m m a n d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26976"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a   s e r v i c e   a c c o u n t   w i t h   t h e   s p e c i f i e d   n a m e .   k u b e c t l   c r e a t e   s e r v i c e a c c o u n t   N A M E   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26977"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   n e w   s e r v i c e   a c c o u n t   n a m e d   m y - s e r v i c e - a c c o u n t   k u b e c t l   c r e a t e   s e r v i c e a c c o u n t   m y - s e r v i c e - a c c o u n t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26978"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   s e r v i c e a c c o u n t   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26979"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26980"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26981"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e q u e s t   a   s e r v i c e   a c c o u n t   t o k e n .   k u b e c t l   c r e a t e   t o k e n   S E R V I C E _ A C C O U N T _ N A M E",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26982"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R e q u e s t   a   t o k e n   t o   a u t h e n t i c a t e   t o   t h e   k u b e - a p i s e r v e r   a s   t h e   s e r v i c e   a c c o u n t   \" m y a p p \"   i n   t h e   c u r r e n t   n a m e s p a c e   k u b e c t l   c r e a t e   t o k e n   m y a p p   #   R e q u e s t   a   t o k e n   f o r   a   s e r v i c e   a c c o u n t   i n   a   c u s t o m   n a m e s p a c e   k u b e c t l   c r e a t e   t o k e n   m y a p p   - - n a m e s p a c e   m y n s   #   R e q u e s t   a   t o k e n   w i t h   a   c u s t o m   e x p i r a t i o n   k u b e c t l   c r e a t e   t o k e n   m y a p p   - - d u r a t i o n   1 0 m   #   R e q u e s t   a   t o k e n   w i t h   a   c u s t o m   a u d i e n c e   k u b e c t l   c r e a t e   t o k e n   m y a p p   - - a u d i e n c e   h t t p s : / / e x a m p l e . c o m   #   R e q u e s t   a   t o k e n   b o u n d   t o   a n   i n s t a n c e   o f   a   S e c r e t   o b j e c t   k u b e c t l   c r e a t e   t o k e n   m y a p p   - - b o u n d - o b j e c t - k i n d   S e c r e t   - - b o u n d - o b j e c t - n a m e   m y s e c r e t   #   R e q u e s t   a   t o k e n   b o u n d   t o   a n   i n s t a n c e   o f   a   S e c r e t   o b j e c t   w i t h   a   s p e c i f i c   U I D   k u b e c t l   c r e a t e   t o k e n   m y a p p   - - b o u n d - o b j e c t - k i n d   S e c r e t   - - b o u n d - o b j e c t - n a m e   m y s e c r e t   - - b o u n d - o b j e c t - u i d   0 d 4 6 9 1 e d - 6 5 9 b - 4 9 3 5 - a 8 3 2 - 3 5 5 f 7 7 e e 4 7 c c",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26983"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   A u d i e n c e   o f   t h e   r e q u e s t e d   t o k e n .   I f   u n s e t ,   d e f a u l t s   t o   r e q u e s t i n g   a   t o k e n   f o r   u s e   w i t h   t h e   K u b e r n e t e s   A P I   s e r v e r .   M a y   b e   r e p e a t e d   t o   r e q u e s t   a   t o k e n   v a l i d   f o r   m u l t i p l e   a u d i e n c e s .   K i n d   o f   a n   o b j e c t   t o   b i n d   t h e   t o k e n   t o .   S u p p o r t e d   k i n d s   a r e   N o d e ,   P o d ,   S e c r e t .   I f   s e t ,   - - b o u n d - o b j e c t - n a m e   m u s t   b e   p r o v i d e d .   N a m e   o f   a n   o b j e c t   t o   b i n d   t h e   t o k e n   t o .   T h e   t o k e n   w i l l   e x p i r e   w h e n   t h e   o b j e c t   i s   d e l e t e d .   R e q u i r e s   - - b o u n d - o b j e c t - k i n d .   U I D   o f   a n   o b j e c t   t o   b i n d   t h e   t o k e n   t o .   R e q u i r e s   - - b o u n d - o b j e c t - k i n d   a n d   - - b o u n d - o b j e c t - n a m e .   I f   u n s e t ,   t h e   U I D   o f   t h e   e x i s t i n g   o b j e c t   i s   u s e d .   R e q u e s t e d   l i f e t i m e   o f   t h e   i s s u e d   t o k e n .   I f   n o t   s e t   o r   i f   s e t   t o   0 ,   t h e   l i f e t i m e   w i l l   b e   d e t e r m i n e d   b y   t h e   s e r v e r   a u t o m a t i c a l l y .   T h e   s e r v e r   m a y   r e t u r n   a   t o k e n   w i t h   a   l o n g e r   o r   s h o r t e r   l i f e t i m e .   h e l p   f o r   t o k e n   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26984"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26985"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26986"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D e b u g   c l u s t e r   r e s o u r c e s   u s i n g   i n t e r a c t i v e   d e b u g g i n g   c o n t a i n e r s .   ' d e b u g '   p r o v i d e s   a u t o m a t i o n   f o r   c o m m o n   d e b u g g i n g   t a s k s   f o r   c l u s t e r   o b j e c t s   i d e n t i f i e d   b y   r e s o u r c e   a n d   n a m e .   P o d s   w i l l   b e   u s e d   b y   d e f a u l t   i f   n o   r e s o u r c e   i s   s p e c i f i e d .   T h e   a c t i o n   t a k e n   b y   ' d e b u g '   v a r i e s   d e p e n d i n g   o n   w h a t   r e s o u r c e   i s   s p e c i f i e d .   S u p p o r t e d   a c t i o n s   i n c l u d e :   W o r k l o a d :   C r e a t e   a   c o p y   o f   a n   e x i s t i n g   p o d   w i t h   c e r t a i n   a t t r i b u t e s   c h a n g e d ,   f o r   e x a m p l e   c h a n g i n g   t h e   i m a g e   t a g   t o   a   n e w   v e r s i o n . W o r k l o a d :   A d d   a n   e p h e m e r a l   c o n t a i n e r   t o   a n   a l r e a d y   r u n n i n g   p o d ,   f o r   e x a m p l e   t o   a d d   d e b u g g i n g   u t i l i t i e s   w i t h o u t   r e s t a r t i n g   t h e   p o d . N o d e :   C r e a t e   a   n e w   p o d   t h a t   r u n s   i n   t h e   n o d e ' s   h o s t   n a m e s p a c e s   a n d   c a n   a c c e s s   t h e   n o d e ' s   f i l e s y s t e m .   N o t e :   W h e n   a   n o n - r o o t   u s e r   i s   c o n f i g u r e d   f o r   t h e   e n t i r e   t a r g e t   P o d ,   s o m e   c a p a b i l i t i e s   g r a n t e d   b y   d e b u g   p r o f i l e   m a y   n o t   w o r k .   k u b e c t l   d e b u g   ( P O D   |   T Y P E [ [ . V E R S I O N ] . G R O U P ] / N A M E )   [   - -   C O M M A N D   [ a r g s . . . ]   ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26987"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a n   i n t e r a c t i v e   d e b u g g i n g   s e s s i o n   i n   p o d   m y p o d   a n d   i m m e d i a t e l y   a t t a c h   t o   i t .   k u b e c t l   d e b u g   m y p o d   - i t   - - i m a g e = b u s y b o x   #   C r e a t e   a n   i n t e r a c t i v e   d e b u g g i n g   s e s s i o n   f o r   t h e   p o d   i n   t h e   f i l e   p o d . y a m l   a n d   i m m e d i a t e l y   a t t a c h   t o   i t .   #   ( r e q u i r e s   t h e   E p h e m e r a l C o n t a i n e r s   f e a t u r e   t o   b e   e n a b l e d   i n   t h e   c l u s t e r )   k u b e c t l   d e b u g   - f   p o d . y a m l   - i t   - - i m a g e = b u s y b o x   #   C r e a t e   a   d e b u g   c o n t a i n e r   n a m e d   d e b u g g e r   u s i n g   a   c u s t o m   a u t o m a t e d   d e b u g g i n g   i m a g e .   k u b e c t l   d e b u g   - - i m a g e = m y p r o j / d e b u g - t o o l s   - c   d e b u g g e r   m y p o d   #   C r e a t e   a   c o p y   o f   m y p o d   a d d i n g   a   d e b u g   c o n t a i n e r   a n d   a t t a c h   t o   i t   k u b e c t l   d e b u g   m y p o d   - i t   - - i m a g e = b u s y b o x   - - c o p y - t o = m y - d e b u g g e r   #   C r e a t e   a   c o p y   o f   m y p o d   c h a n g i n g   t h e   c o m m a n d   o f   m y c o n t a i n e r   k u b e c t l   d e b u g   m y p o d   - i t   - - c o p y - t o = m y - d e b u g g e r   - - c o n t a i n e r = m y c o n t a i n e r   - -   s h   #   C r e a t e   a   c o p y   o f   m y p o d   c h a n g i n g   a l l   c o n t a i n e r   i m a g e s   t o   b u s y b o x   k u b e c t l   d e b u g   m y p o d   - - c o p y - t o = m y - d e b u g g e r   - - s e t - i m a g e = * = b u s y b o x   #   C r e a t e   a   c o p y   o f   m y p o d   a d d i n g   a   d e b u g   c o n t a i n e r   a n d   c h a n g i n g   c o n t a i n e r   i m a g e s   k u b e c t l   d e b u g   m y p o d   - i t   - - c o p y - ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26988"
  },
  {
    "question": "What is Options?",
    "answer": "I f   s p e c i f i e d ,   e v e r y t h i n g   a f t e r   - -   w i l l   b e   p a s s e d   t o   t h e   n e w   c o n t a i n e r   a s   A r g s   i n s t e a d   o f   C o m m a n d .   I f   t r u e ,   w a i t   f o r   t h e   c o n t a i n e r   t o   s t a r t   r u n n i n g ,   a n d   t h e n   a t t a c h   a s   i f   ' k u b e c t l   a t t a c h   . . . '   w e r e   c a l l e d .   D e f a u l t   f a l s e ,   u n l e s s   ' - i / - - s t d i n '   i s   s e t ,   i n   w h i c h   c a s e   t h e   d e f a u l t   i s   t r u e .   C o n t a i n e r   n a m e   t o   u s e   f o r   d e b u g   c o n t a i n e r .   C r e a t e   a   c o p y   o f   t h e   t a r g e t   P o d   w i t h   t h i s   n a m e .   P a t h   t o   a   J S O N   o r   Y A M L   f i l e   c o n t a i n i n g   a   p a r t i a l   c o n t a i n e r   s p e c   t o   c u s t o m i z e   b u i l t - i n   d e b u g   p r o f i l e s .   E n v i r o n m e n t   v a r i a b l e s   t o   s e t   i n   t h e   c o n t a i n e r .   i d e n t i f y i n g   t h e   r e s o u r c e   t o   d e b u g   h e l p   f o r   d e b u g   C o n t a i n e r   i m a g e   t o   u s e   f o r   d e b u g   c o n t a i n e r .   T h e   i m a g e   p u l l   p o l i c y   f o r   t h e   c o n t a i n e r .   I f   l e f t   e m p t y ,   t h i s   v a l u e   w i l l   n o t   b e   s p e c i f i e d   b y   t h e   c l i e n t   a n d   d e f a u l t e d   b y   t h e   s e r v e r .   I f   t r u e ,   k e e p   t h e   o r i g i n a l   p o d   a n n o t a t i o n s . ( T h i s   f l a g   o n l y   w o r k s   w h e n   u s e d   w i t h   ' - - c o p y - t o ' )   R u n   t h e   i n i t   c o n t a i n e r s   f o r   t h e   p o d .   D e f a u l t s   t o   t r u e . ( T h i s   f l a g   o n l y   w o r k s   w h e n   u s e d   w i t h   ' - - c o p y - t o ' )   I f   t r u e ,   k e e p   t h e   o r i g i n a l   p o d   l a b e l s . ( T h i s   f l a g   o n l y   w o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26989"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26990"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26991"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D e l e t e   r e s o u r c e s   b y   f i l e   n a m e s ,   s t d i n ,   r e s o u r c e s   a n d   n a m e s ,   o r   b y   r e s o u r c e s   a n d   l a b e l   s e l e c t o r .   J S O N   a n d   Y A M L   f o r m a t s   a r e   a c c e p t e d .   O n l y   o n e   t y p e   o f   a r g u m e n t   m a y   b e   s p e c i f i e d :   f i l e   n a m e s ,   r e s o u r c e s   a n d   n a m e s ,   o r   r e s o u r c e s   a n d   l a b e l   s e l e c t o r .   S o m e   r e s o u r c e s ,   s u c h   a s   p o d s ,   s u p p o r t   g r a c e f u l   d e l e t i o n .   T h e s e   r e s o u r c e s   d e f i n e   a   d e f a u l t   p e r i o d   b e f o r e   t h e y   a r e   f o r c i b l y   t e r m i n a t e d   ( t h e   g r a c e   p e r i o d )   b u t   y o u   m a y   o v e r r i d e   t h a t   v a l u e   w i t h   t h e   - - g r a c e - p e r i o d   f l a g ,   o r   p a s s   - - n o w   t o   s e t   a   g r a c e - p e r i o d   o f   1 .   B e c a u s e   t h e s e   r e s o u r c e s   o f t e n   r e p r e s e n t   e n t i t i e s   i n   t h e   c l u s t e r ,   d e l e t i o n   m a y   n o t   b e   a c k n o w l e d g e d   i m m e d i a t e l y .   I f   t h e   n o d e   h o s t i n g   a   p o d   i s   d o w n   o r   c a n n o t   r e a c h   t h e   A P I   s e r v e r ,   t e r m i n a t i o n   m a y   t a k e   s i g n i f i c a n t l y   l o n g e r   t h a n   t h e   g r a c e   p e r i o d .   T o   f o r c e   d e l e t e   a   r e s o u r c e ,   y o u   m u s t   s p e c i f y   t h e   - - f o r c e   f l a g .   N o t e :   o n l y   a   s u b s e t   o f   r e s o u r c e s   s u p p o r t   g r a c e f u l   d e l e t i o n .   I n   a b s e n c e   o f   t h e   s u p p o r t ,   t h e   - - g r a c e - p e r i o d   f l a g   i s   i g n o r e d .   I M P O R T A N T :   F o r c e   d e l e t i n g   p o d s   d o e s   n o t   w a i t   f o r   c o n f i r m a t i o n   t h a t   t h e   p o d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26992"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D e l e t e   a   p o d   u s i n g   t h e   t y p e   a n d   n a m e   s p e c i f i e d   i n   p o d . j s o n   k u b e c t l   d e l e t e   - f   . / p o d . j s o n   #   D e l e t e   r e s o u r c e s   f r o m   a   d i r e c t o r y   c o n t a i n i n g   k u s t o m i z a t i o n . y a m l   -   e . g .   d i r / k u s t o m i z a t i o n . y a m l   k u b e c t l   d e l e t e   - k   d i r   #   D e l e t e   r e s o u r c e s   f r o m   a l l   f i l e s   t h a t   e n d   w i t h   ' . j s o n '   k u b e c t l   d e l e t e   - f   ' * . j s o n '   #   D e l e t e   a   p o d   b a s e d   o n   t h e   t y p e   a n d   n a m e   i n   t h e   J S O N   p a s s e d   i n t o   s t d i n   c a t   p o d . j s o n   |   k u b e c t l   d e l e t e   - f   -   #   D e l e t e   p o d s   a n d   s e r v i c e s   w i t h   s a m e   n a m e s   \" b a z \"   a n d   \" f o o \"   k u b e c t l   d e l e t e   p o d , s e r v i c e   b a z   f o o   #   D e l e t e   p o d s   a n d   s e r v i c e s   w i t h   l a b e l   n a m e = m y L a b e l   k u b e c t l   d e l e t e   p o d s , s e r v i c e s   - l   n a m e = m y L a b e l   #   D e l e t e   a   p o d   w i t h   m i n i m a l   d e l a y   k u b e c t l   d e l e t e   p o d   f o o   - - n o w   #   F o r c e   d e l e t e   a   p o d   o n   a   d e a d   n o d e   k u b e c t l   d e l e t e   p o d   f o o   - - f o r c e   #   D e l e t e   a l l   p o d s   k u b e c t l   d e l e t e   p o d s   - - a l l   #   D e l e t e   a l l   p o d s   o n l y   i f   t h e   u s e r   c o n f i r m s   t h e   d e l e t i o n   k u b e c t l   d e l e t e   p o d s   - - a l l   - - i n t e r a c t i v e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26993"
  },
  {
    "question": "What is Options?",
    "answer": "D e l e t e   a l l   r e s o u r c e s ,   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s .   I f   p r e s e n t ,   l i s t   t h e   r e q u e s t e d   o b j e c t ( s )   a c r o s s   a l l   n a m e s p a c e s .   N a m e s p a c e   i n   c u r r e n t   c o n t e x t   i s   i g n o r e d   e v e n   i f   s p e c i f i e d   w i t h   - - n a m e s p a c e .   M u s t   b e   \" b a c k g r o u n d \" ,   \" o r p h a n \" ,   o r   \" f o r e g r o u n d \" .   S e l e c t s   t h e   d e l e t i o n   c a s c a d i n g   s t r a t e g y   f o r   t h e   d e p e n d e n t s   ( e . g .   P o d s   c r e a t e d   b y   a   R e p l i c a t i o n C o n t r o l l e r ) .   D e f a u l t s   t o   b a c k g r o u n d .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   S e l e c t o r   ( f i e l d   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   a n d   ' ! = ' . ( e . g .   - - f i e l d - s e l e c t o r   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 ) .   T h e   s e r v e r   o n l y   s u p p o r t s   a   l i m i t e d   n u m b e r   o f   f i e l d   q u e r i e s   p e r   t y p e .   c o n t a i n i n g   t h e   r e s o u r c e   t o   d e l e t e .   I f   t r u e ,   i m m e d i a t e l y   r e m o v e   r e s o u r c e s   f r o m   A P I   a n d   b y p a s s   g r a c e f u l   d e l e t i o n .   N o t e   t h a t   i m m e d i a t e   d e l e t i o n   o f   s o m e   r e s o u r c e s   m a y   r e s u l t   i n   i n c o n s i s t e n c y   o r   d a t a   l o s s   a n d   r e q u i r e s   c o n f i r m a t i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26994"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26995"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26996"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S h o w   d e t a i l s   o f   a   s p e c i f i c   r e s o u r c e   o r   g r o u p   o f   r e s o u r c e s .   P r i n t   a   d e t a i l e d   d e s c r i p t i o n   o f   t h e   s e l e c t e d   r e s o u r c e s ,   i n c l u d i n g   r e l a t e d   r e s o u r c e s   s u c h   a s   e v e n t s   o r   c o n t r o l l e r s .   Y o u   m a y   s e l e c t   a   s i n g l e   o b j e c t   b y   n a m e ,   a l l   o b j e c t s   o f   t h a t   t y p e ,   p r o v i d e   a   n a m e   p r e f i x ,   o r   l a b e l   s e l e c t o r .   F o r   e x a m p l e :   $   k u b e c t l   d e s c r i b e   T Y P E   N A M E _ P R E F I X   w i l l   f i r s t   c h e c k   f o r   a n   e x a c t   m a t c h   o n   T Y P E   a n d   N A M E _ P R E F I X .   I f   n o   s u c h   r e s o u r c e   e x i s t s ,   i t   w i l l   o u t p u t   d e t a i l s   f o r   e v e r y   r e s o u r c e   t h a t   h a s   a   n a m e   p r e f i x e d   w i t h   N A M E _ P R E F I X .   U s e   \" k u b e c t l   a p i - r e s o u r c e s \"   f o r   a   c o m p l e t e   l i s t   o f   s u p p o r t e d   r e s o u r c e s .   k u b e c t l   d e s c r i b e   ( - f   F I L E N A M E   |   T Y P E   [ N A M E _ P R E F I X   |   - l   l a b e l ]   |   T Y P E / N A M E )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26997"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D e s c r i b e   a   n o d e   k u b e c t l   d e s c r i b e   n o d e s   k u b e r n e t e s - n o d e - e m t 8 . c . m y p r o j e c t . i n t e r n a l   #   D e s c r i b e   a   p o d   k u b e c t l   d e s c r i b e   p o d s / n g i n x   #   D e s c r i b e   a   p o d   i d e n t i f i e d   b y   t y p e   a n d   n a m e   i n   \" p o d . j s o n \"   k u b e c t l   d e s c r i b e   - f   p o d . j s o n   #   D e s c r i b e   a l l   p o d s   k u b e c t l   d e s c r i b e   p o d s   #   D e s c r i b e   p o d s   b y   l a b e l   n a m e = m y L a b e l   k u b e c t l   d e s c r i b e   p o d s   - l   n a m e = m y L a b e l   #   D e s c r i b e   a l l   p o d s   m a n a g e d   b y   t h e   ' f r o n t e n d '   r e p l i c a t i o n   c o n t r o l l e r   #   ( r c - c r e a t e d   p o d s   g e t   t h e   n a m e   o f   t h e   r c   a s   a   p r e f i x   i n   t h e   p o d   n a m e )   k u b e c t l   d e s c r i b e   p o d s   f r o n t e n d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26998"
  },
  {
    "question": "What is Options?",
    "answer": "I f   p r e s e n t ,   l i s t   t h e   r e q u e s t e d   o b j e c t ( s )   a c r o s s   a l l   n a m e s p a c e s .   N a m e s p a c e   i n   c u r r e n t   c o n t e x t   i s   i g n o r e d   e v e n   i f   s p e c i f i e d   w i t h   - - n a m e s p a c e .   R e t u r n   l a r g e   l i s t s   i n   c h u n k s   r a t h e r   t h a n   a l l   a t   o n c e .   P a s s   0   t o   d i s a b l e .   T h i s   f l a g   i s   b e t a   a n d   m a y   c h a n g e   i n   t h e   f u t u r e .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   c o n t a i n i n g   t h e   r e s o u r c e   t o   d e s c r i b e   h e l p   f o r   d e s c r i b e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   I f   t r u e ,   d i s p l a y   e v e n t s   r e l a t e d   t o   t h e   d e s c r i b e d   o b j e c t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_26999"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27000"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27001"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i f f   c o n f i g u r a t i o n s   s p e c i f i e d   b y   f i l e   n a m e   o r   s t d i n   b e t w e e n   t h e   c u r r e n t   o n l i n e   c o n f i g u r a t i o n ,   a n d   t h e   c o n f i g u r a t i o n   a s   i t   w o u l d   b e   i f   a p p l i e d .   T h e   o u t p u t   i s   a l w a y s   Y A M L .   K U B E C T L _ E X T E R N A L _ D I F F   e n v i r o n m e n t   v a r i a b l e   c a n   b e   u s e d   t o   s e l e c t   y o u r   o w n   d i f f   c o m m a n d .   U s e r s   c a n   u s e   e x t e r n a l   c o m m a n d s   w i t h   p a r a m s   t o o ,   e x a m p l e :   K U B E C T L _ E X T E R N A L _ D I F F = \" c o l o r d i f f   - N   - u \"   B y   d e f a u l t ,   t h e   \" d i f f \"   c o m m a n d   a v a i l a b l e   i n   y o u r   p a t h   w i l l   b e   r u n   w i t h   t h e   \" - u \"   ( u n i f i e d   d i f f )   a n d   \" - N \"   ( t r e a t   a b s e n t   f i l e s   a s   e m p t y )   o p t i o n s .   E x i t   s t a t u s :   0   N o   d i f f e r e n c e s   w e r e   f o u n d .   1   D i f f e r e n c e s   w e r e   f o u n d .   > 1   K u b e c t l   o r   d i f f   f a i l e d   w i t h   a n   e r r o r .   N o t e :   K U B E C T L _ E X T E R N A L _ D I F F ,   i f   u s e d ,   i s   e x p e c t e d   t o   f o l l o w   t h a t   c o n v e n t i o n .   k u b e c t l   d i f f   - f   F I L E N A M E",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27002"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D i f f   r e s o u r c e s   i n c l u d e d   i n   p o d . j s o n   k u b e c t l   d i f f   - f   p o d . j s o n   #   D i f f   f i l e   r e a d   f r o m   s t d i n   c a t   s e r v i c e . y a m l   |   k u b e c t l   d i f f   - f   -",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27003"
  },
  {
    "question": "What is Options?",
    "answer": "N u m b e r   o f   o b j e c t s   t o   p r o c e s s   i n   p a r a l l e l   w h e n   d i f f i n g   a g a i n s t   t h e   l i v e   v e r s i o n .   L a r g e r   n u m b e r   =   f a s t e r ,   b u t   m o r e   m e m o r y ,   I / O   a n d   C P U   o v e r   t h a t   s h o r t e r   p e r i o d   o f   t i m e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   c o n t a i n s   t h e   c o n f i g u r a t i o n   t o   d i f f   I f   t r u e ,   s e r v e r - s i d e   a p p l y   w i l l   f o r c e   t h e   c h a n g e s   a g a i n s t   c o n f l i c t s .   h e l p   f o r   d i f f   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   I n c l u d e   r e s o u r c e s   t h a t   w o u l d   b e   d e l e t e d   b y   p r u n i n g .   C a n   b e   u s e d   w i t h   - l   a n d   d e f a u l t   s h o w s   a l l   r e s o u r c e s   w o u l d   b e   p r u n e d   O v e r w r i t e   t h e   d e f a u l t   a l l o w l i s t   w i t h   < g r o u p / v e r s i o n / k i n d >   f o r   - - p r u n e   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   I f   t r u e ,   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27004"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27005"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27006"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D r a i n   n o d e   i n   p r e p a r a t i o n   f o r   m a i n t e n a n c e .   T h e   g i v e n   n o d e   w i l l   b e   m a r k e d   u n s c h e d u l a b l e   t o   p r e v e n t   n e w   p o d s   f r o m   a r r i v i n g .   ' d r a i n '   e v i c t s   t h e   p o d s   i f   t h e   A P I   s e r v e r   s u p p o r t s   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / p o d s / d i s r u p t i o n s /   e v i c t i o n   h t t p s : / / k u b e r n e t e s . i o / d o c s / c o n c e p t s / w o r k l o a d s / p o d s / d i s r u p t i o n s /   .   O t h e r w i s e ,   i t   w i l l   u s e   n o r m a l   D E L E T E   t o   d e l e t e   t h e   p o d s .   T h e   ' d r a i n '   e v i c t s   o r   d e l e t e s   a l l   p o d s   e x c e p t   m i r r o r   p o d s   ( w h i c h   c a n n o t   b e   d e l e t e d   t h r o u g h   t h e   A P I   s e r v e r ) .   I f   t h e r e   a r e   d a e m o n   s e t - m a n a g e d   p o d s ,   d r a i n   w i l l   n o t   p r o c e e d   w i t h o u t   - - i g n o r e - d a e m o n s e t s ,   a n d   r e g a r d l e s s   i t   w i l l   n o t   d e l e t e   a n y   d a e m o n   s e t - m a n a g e d   p o d s ,   b e c a u s e   t h o s e   p o d s   w o u l d   b e   i m m e d i a t e l y   r e p l a c e d   b y   t h e   d a e m o n   s e t   c o n t r o l l e r ,   w h i c h   i g n o r e s   u n s c h e d u l a b l e   m a r k i n g s .   I f   t h e r e   a r e   a n y   p o d s   t h a t   a r e   n e i t h e r   m i r r o r   p o d s   n o r   m a n a g e d   b y   a   r e p l i c a t i o n   c o n t r o l l e r ,   r e p l i c a   s e t ,   d a e m o n   s e t ,   s t a t e f u l   s e t ,   o r   j o b ,   t h e n   d r a i n   w i l l   n o t   d e l e t e   a n y   p o d s   u n l e s s   y o u   u s e   - - f o r c e .   - - f o r c e   w i l l   a l s o   a l l o w   d e l e t i o n   t o   p r o c e e d   i f   t h e   m a n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27007"
  },
  {
    "question": "What is Examples?",
    "answer": "#   D r a i n   n o d e   \" f o o \" ,   e v e n   i f   t h e r e   a r e   p o d s   n o t   m a n a g e d   b y   a   r e p l i c a t i o n   c o n t r o l l e r ,   r e p l i c a   s e t ,   j o b ,   d a e m o n   s e t ,   o r   s t a t e f u l   s e t   o n   i t   k u b e c t l   d r a i n   f o o   - - f o r c e   #   A s   a b o v e ,   b u t   a b o r t   i f   t h e r e   a r e   p o d s   n o t   m a n a g e d   b y   a   r e p l i c a t i o n   c o n t r o l l e r ,   r e p l i c a   s e t ,   j o b ,   d a e m o n   s e t ,   o r   s t a t e f u l   s e t ,   a n d   u s e   a   g r a c e   p e r i o d   o f   1 5   m i n u t e s   k u b e c t l   d r a i n   f o o   - - g r a c e - p e r i o d = 9 0 0",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27008"
  },
  {
    "question": "What is Options?",
    "answer": "R e t u r n   l a r g e   l i s t s   i n   c h u n k s   r a t h e r   t h a n   a l l   a t   o n c e .   P a s s   0   t o   d i s a b l e .   T h i s   f l a g   i s   b e t a   a n d   m a y   c h a n g e   i n   t h e   f u t u r e .   C o n t i n u e   e v e n   i f   t h e r e   a r e   p o d s   u s i n g   e m p t y D i r   ( l o c a l   d a t a   t h a t   w i l l   b e   d e l e t e d   w h e n   t h e   n o d e   i s   d r a i n e d ) .   F o r c e   d r a i n   t o   u s e   d e l e t e ,   e v e n   i f   e v i c t i o n   i s   s u p p o r t e d .   T h i s   w i l l   b y p a s s   c h e c k i n g   P o d D i s r u p t i o n B u d g e t s ,   u s e   w i t h   c a u t i o n .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   C o n t i n u e   e v e n   i f   t h e r e   a r e   p o d s   t h a t   d o   n o t   d e c l a r e   a   c o n t r o l l e r .   P e r i o d   o f   t i m e   i n   s e c o n d s   g i v e n   t o   e a c h   p o d   t o   t e r m i n a t e   g r a c e f u l l y .   I f   n e g a t i v e ,   t h e   d e f a u l t   v a l u e   s p e c i f i e d   i n   t h e   p o d   w i l l   b e   u s e d .   h e l p   f o r   d r a i n   I g n o r e   D a e m o n S e t - m a n a g e d   p o d s .   L a b e l   s e l e c t o r   t o   f i l t e r   p o d s   o n   t h e   n o d e   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27009"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27010"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27011"
  },
  {
    "question": "What is Synopsis?",
    "answer": "E d i t   a   r e s o u r c e   f r o m   t h e   d e f a u l t   e d i t o r .   T h e   e d i t   c o m m a n d   a l l o w s   y o u   t o   d i r e c t l y   e d i t   a n y   A P I   r e s o u r c e   y o u   c a n   r e t r i e v e   v i a   t h e   c o m m a n d - l i n e   t o o l s .   I t   w i l l   o p e n   t h e   e d i t o r   d e f i n e d   b y   y o u r   K U B E _ E D I T O R ,   o r   E D I T O R   e n v i r o n m e n t   v a r i a b l e s ,   o r   f a l l   b a c k   t o   ' v i '   f o r   L i n u x   o r   ' n o t e p a d '   f o r   W i n d o w s .   W h e n   a t t e m p t i n g   t o   o p e n   t h e   e d i t o r ,   i t   w i l l   f i r s t   a t t e m p t   t o   u s e   t h e   s h e l l   t h a t   h a s   b e e n   d e f i n e d   i n   t h e   ' S H E L L '   e n v i r o n m e n t   v a r i a b l e .   I f   t h i s   i s   n o t   d e f i n e d ,   t h e   d e f a u l t   s h e l l   w i l l   b e   u s e d ,   w h i c h   i s   ' / b i n / b a s h '   f o r   L i n u x   o r   ' c m d '   f o r   W i n d o w s .   Y o u   c a n   e d i t   m u l t i p l e   o b j e c t s ,   a l t h o u g h   c h a n g e s   a r e   a p p l i e d   o n e   a t   a   t i m e .   T h e   c o m m a n d   a c c e p t s   f i l e   n a m e s   a s   w e l l   a s   c o m m a n d - l i n e   a r g u m e n t s ,   a l t h o u g h   t h e   f i l e s   y o u   p o i n t   t o   m u s t   b e   p r e v i o u s l y   s a v e d   v e r s i o n s   o f   r e s o u r c e s .   E d i t i n g   i s   d o n e   w i t h   t h e   A P I   v e r s i o n   u s e d   t o   f e t c h   t h e   r e s o u r c e .   T o   e d i t   u s i n g   a   s p e c i f i c   A P I   v e r s i o n ,   f u l l y - q u a l i f y   t h e   r e s o u r c e ,   v e r s i o n ,   a n d   g r o u p .   T h e   d e f a u l t   f o r m a t   i s   Y A M L .   T o   e d i t   i n   J S O N ,   s p e c i f y   \" - o   j s o n \" .   T h e   f l a g   - - w i n d o w s - l i n e - e n d i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27012"
  },
  {
    "question": "What is Examples?",
    "answer": "#   E d i t   t h e   s e r v i c e   n a m e d   ' r e g i s t r y '   k u b e c t l   e d i t   s v c / r e g i s t r y   #   U s e   a n   a l t e r n a t i v e   e d i t o r   K U B E _ E D I T O R = \" n a n o \"   k u b e c t l   e d i t   s v c / r e g i s t r y   #   E d i t   t h e   j o b   ' m y j o b '   i n   J S O N   u s i n g   t h e   v 1   A P I   f o r m a t   k u b e c t l   e d i t   j o b . v 1 . b a t c h / m y j o b   - o   j s o n   #   E d i t   t h e   d e p l o y m e n t   ' m y d e p l o y m e n t '   i n   Y A M L   a n d   s a v e   t h e   m o d i f i e d   c o n f i g   i n   i t s   a n n o t a t i o n   k u b e c t l   e d i t   d e p l o y m e n t / m y d e p l o y m e n t   - o   y a m l   - - s a v e - c o n f i g   #   E d i t   t h e   ' s t a t u s '   s u b r e s o u r c e   f o r   t h e   ' m y d e p l o y m e n t '   d e p l o y m e n t   k u b e c t l   e d i t   d e p l o y m e n t   m y d e p l o y m e n t   - - s u b r e s o u r c e = ' s t a t u s '",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27013"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   t o   u s e   t o   e d i t   t h e   r e s o u r c e   h e l p   f o r   e d i t   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   O u t p u t   t h e   p a t c h   i f   t h e   r e s o u r c e   i s   e d i t e d .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   I f   t r u e ,   t h e   c o n f i g u r a t i o n   o f   c u r r e n t   o b j e c t   w i l l   b e   s a v e d   i n   i t s   a n n o t a t i o n .   O t h e r w i s e ,   t h e   a n n o t a t i o n   w i l l   b e   u n c h a n g e d .   T h i s   f l a g   i s   u s e f u l   w h e n   y o u   w a n t   t o   p e r f o r m   k u b e c t l   a p p l y   o n   t h i s   o b j e c t   i n   t h e   f u t u r e .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   I f   s p e c i f i e d ,   e d i t   w i l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27014"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27015"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27016"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   e v e n t s .   P r i n t s   a   t a b l e   o f   t h e   m o s t   i m p o r t a n t   i n f o r m a t i o n   a b o u t   e v e n t s .   Y o u   c a n   r e q u e s t   e v e n t s   f o r   a   n a m e s p a c e ,   f o r   a l l   n a m e s p a c e ,   o r   f i l t e r e d   t o   o n l y   t h o s e   p e r t a i n i n g   t o   a   s p e c i f i e d   r e s o u r c e .   k u b e c t l   e v e n t s   [ ( - o | - - o u t p u t = ) j s o n | y a m l | n a m e | g o - t e m p l a t e | g o - t e m p l a t e - f i l e | t e m p l a t e | t e m p l a t e f i l e | j s o n p a t h | j s o n p a t h - a s - j s o n | j s o n p a t h - f i l e ]   [ - - f o r   T Y P E / N A M E ]   [ - - w a t c h ]   [ - - t y p e s = N o r m a l , W a r n i n g ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27017"
  },
  {
    "question": "What is Examples?",
    "answer": "#   L i s t   r e c e n t   e v e n t s   i n   t h e   d e f a u l t   n a m e s p a c e   k u b e c t l   e v e n t s   #   L i s t   r e c e n t   e v e n t s   i n   a l l   n a m e s p a c e s   k u b e c t l   e v e n t s   - - a l l - n a m e s p a c e s   #   L i s t   r e c e n t   e v e n t s   f o r   t h e   s p e c i f i e d   p o d ,   t h e n   w a i t   f o r   m o r e   e v e n t s   a n d   l i s t   t h e m   a s   t h e y   a r r i v e   k u b e c t l   e v e n t s   - - f o r   p o d / w e b - p o d - 1 3 j e 7   - - w a t c h   #   L i s t   r e c e n t   e v e n t s   i n   Y A M L   f o r m a t   k u b e c t l   e v e n t s   - o y a m l   #   L i s t   r e c e n t   o n l y   e v e n t s   o f   t y p e   ' W a r n i n g '   o r   ' N o r m a l '   k u b e c t l   e v e n t s   - - t y p e s = W a r n i n g , N o r m a l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27018"
  },
  {
    "question": "What is Options?",
    "answer": "I f   p r e s e n t ,   l i s t   t h e   r e q u e s t e d   o b j e c t ( s )   a c r o s s   a l l   n a m e s p a c e s .   N a m e s p a c e   i n   c u r r e n t   c o n t e x t   i s   i g n o r e d   e v e n   i f   s p e c i f i e d   w i t h   - - n a m e s p a c e .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   R e t u r n   l a r g e   l i s t s   i n   c h u n k s   r a t h e r   t h a n   a l l   a t   o n c e .   P a s s   0   t o   d i s a b l e .   T h i s   f l a g   i s   b e t a   a n d   m a y   c h a n g e   i n   t h e   f u t u r e .   F i l t e r   e v e n t s   t o   o n l y   t h o s e   p e r t a i n i n g   t o   t h e   s p e c i f i e d   r e s o u r c e .   h e l p   f o r   e v e n t s   W h e n   u s i n g   t h e   d e f a u l t   o u t p u t   f o r m a t ,   d o n ' t   p r i n t   h e a d e r s .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - t e m p l a t e ,   - o = g o - t e m p l a t e - f i l e .   T h e   t e m p l a t e   f o r m a t   i s   g o l a n g   t e m p l a t e s   [ h t t p : / / g o l a n g . o r g / p k g / t e x t / t e m p l a t e / # p k g - o v e r v i e w ] .   O u t p u t   o n l y   e v e n t s   o f   g i v e n   t y p e s .   A f t e r   l i s t i n g   t h e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27019"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27020"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27021"
  },
  {
    "question": "What is Synopsis?",
    "answer": "E x e c u t e   a   c o m m a n d   i n   a   c o n t a i n e r .   k u b e c t l   e x e c   ( P O D   |   T Y P E / N A M E )   [ - c   C O N T A I N E R ]   [ f l a g s ]   - -   C O M M A N D   [ a r g s . . . ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27022"
  },
  {
    "question": "What is Examples?",
    "answer": "#   G e t   o u t p u t   f r o m   r u n n i n g   t h e   ' d a t e '   c o m m a n d   f r o m   p o d   m y p o d ,   u s i n g   t h e   f i r s t   c o n t a i n e r   b y   d e f a u l t   k u b e c t l   e x e c   m y p o d   - -   d a t e   #   G e t   o u t p u t   f r o m   r u n n i n g   t h e   ' d a t e '   c o m m a n d   i n   r u b y - c o n t a i n e r   f r o m   p o d   m y p o d   k u b e c t l   e x e c   m y p o d   - c   r u b y - c o n t a i n e r   - -   d a t e   #   S w i t c h   t o   r a w   t e r m i n a l   m o d e ;   s e n d s   s t d i n   t o   ' b a s h '   i n   r u b y - c o n t a i n e r   f r o m   p o d   m y p o d   #   a n d   s e n d s   s t d o u t / s t d e r r   f r o m   ' b a s h '   b a c k   t o   t h e   c l i e n t   k u b e c t l   e x e c   m y p o d   - c   r u b y - c o n t a i n e r   - i   - t   - -   b a s h   - i l   #   L i s t   c o n t e n t s   o f   / u s r   f r o m   t h e   f i r s t   c o n t a i n e r   o f   p o d   m y p o d   a n d   s o r t   b y   m o d i f i c a t i o n   t i m e   #   I f   t h e   c o m m a n d   y o u   w a n t   t o   e x e c u t e   i n   t h e   p o d   h a s   a n y   f l a g s   i n   c o m m o n   ( e . g .   - i ) ,   #   y o u   m u s t   u s e   t w o   d a s h e s   ( - - )   t o   s e p a r a t e   y o u r   c o m m a n d ' s   f l a g s / a r g u m e n t s   #   A l s o   n o t e ,   d o   n o t   s u r r o u n d   y o u r   c o m m a n d   a n d   i t s   f l a g s / a r g u m e n t s   w i t h   q u o t e s   #   u n l e s s   t h a t   i s   h o w   y o u   w o u l d   e x e c u t e   i t   n o r m a l l y   ( i . e . ,   d o   l s   - t   / u s r ,   n o t   \" l s   - t   / u s r \" )   k u b e c t l   e x e c   m y p o d   - i   - t   - -   l s   - t   / u s r   #   G e t   o u t p u t   f r o m   r u n n i n g   ' d a t e '   c o m m a n d   f r o m   t h e   f i r s t   p o d   o f   t h e   d e p l o y m e n t   m y d e p l o y m e n t ,   u s i n g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27023"
  },
  {
    "question": "What is Options?",
    "answer": "C o n t a i n e r   n a m e .   I f   o m i t t e d ,   u s e   t h e   k u b e c t l . k u b e r n e t e s . i o / d e f a u l t - c o n t a i n e r   a n n o t a t i o n   f o r   s e l e c t i n g   t h e   c o n t a i n e r   t o   b e   a t t a c h e d   o r   t h e   f i r s t   c o n t a i n e r   i n   t h e   p o d   w i l l   b e   c h o s e n   t o   u s e   t o   e x e c   i n t o   t h e   r e s o u r c e   h e l p   f o r   e x e c   T h e   l e n g t h   o f   t i m e   ( l i k e   5 s ,   2 m ,   o r   3 h ,   h i g h e r   t h a n   z e r o )   t o   w a i t   u n t i l   a t   l e a s t   o n e   p o d   i s   r u n n i n g   O n l y   p r i n t   o u t p u t   f r o m   t h e   r e m o t e   s e s s i o n   P a s s   s t d i n   t o   t h e   c o n t a i n e r   S t d i n   i s   a   T T Y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27024"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27025"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27026"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D e s c r i b e   f i e l d s   a n d   s t r u c t u r e   o f   v a r i o u s   r e s o u r c e s .   T h i s   c o m m a n d   d e s c r i b e s   t h e   f i e l d s   a s s o c i a t e d   w i t h   e a c h   s u p p o r t e d   A P I   r e s o u r c e .   F i e l d s   a r e   i d e n t i f i e d   v i a   a   s i m p l e   J S O N P a t h   i d e n t i f i e r :   & l t ; t y p e & g t ; . & l t ; f i e l d N a m e & g t ; [ . & l t ; f i e l d N a m e & g t ; ]   I n f o r m a t i o n   a b o u t   e a c h   f i e l d   i s   r e t r i e v e d   f r o m   t h e   s e r v e r   i n   O p e n A P I   f o r m a t .   U s e   \" k u b e c t l   a p i - r e s o u r c e s \"   f o r   a   c o m p l e t e   l i s t   o f   s u p p o r t e d   r e s o u r c e s .   k u b e c t l   e x p l a i n   T Y P E   [ - - r e c u r s i v e = F A L S E | T R U E ]   [ - - a p i - v e r s i o n = a p i - v e r s i o n - g r o u p ]   [ - o | - - o u t p u t = p l a i n t e x t | p l a i n t e x t - o p e n a p i v 2 ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27027"
  },
  {
    "question": "What is Examples?",
    "answer": "#   G e t   t h e   d o c u m e n t a t i o n   o f   t h e   r e s o u r c e   a n d   i t s   f i e l d s   k u b e c t l   e x p l a i n   p o d s   #   G e t   a l l   t h e   f i e l d s   i n   t h e   r e s o u r c e   k u b e c t l   e x p l a i n   p o d s   - - r e c u r s i v e   #   G e t   t h e   e x p l a n a t i o n   f o r   d e p l o y m e n t   i n   s u p p o r t e d   a p i   v e r s i o n s   k u b e c t l   e x p l a i n   d e p l o y m e n t s   - - a p i - v e r s i o n = a p p s / v 1   #   G e t   t h e   d o c u m e n t a t i o n   o f   a   s p e c i f i c   f i e l d   o f   a   r e s o u r c e   k u b e c t l   e x p l a i n   p o d s . s p e c . c o n t a i n e r s   #   G e t   t h e   d o c u m e n t a t i o n   o f   r e s o u r c e s   i n   d i f f e r e n t   f o r m a t   k u b e c t l   e x p l a i n   d e p l o y m e n t   - - o u t p u t = p l a i n t e x t - o p e n a p i v 2",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27028"
  },
  {
    "question": "What is Options?",
    "answer": "G e t   d i f f e r e n t   e x p l a n a t i o n s   f o r   p a r t i c u l a r   A P I   v e r s i o n   ( A P I   g r o u p / v e r s i o n )   h e l p   f o r   e x p l a i n   F o r m a t   i n   w h i c h   t o   r e n d e r   t h e   s c h e m a   ( p l a i n t e x t ,   p l a i n t e x t - o p e n a p i v 2 )   P r i n t   t h e   f i e l d s   o f   f i e l d s   ( C u r r e n t l y   o n l y   1   l e v e l   d e e p )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27029"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27030"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27031"
  },
  {
    "question": "What is Synopsis?",
    "answer": "E x p o s e   a   r e s o u r c e   a s   a   n e w   K u b e r n e t e s   s e r v i c e .   L o o k s   u p   a   d e p l o y m e n t ,   s e r v i c e ,   r e p l i c a   s e t ,   r e p l i c a t i o n   c o n t r o l l e r   o r   p o d   b y   n a m e   a n d   u s e s   t h e   s e l e c t o r   f o r   t h a t   r e s o u r c e   a s   t h e   s e l e c t o r   f o r   a   n e w   s e r v i c e   o n   t h e   s p e c i f i e d   p o r t .   A   d e p l o y m e n t   o r   r e p l i c a   s e t   w i l l   b e   e x p o s e d   a s   a   s e r v i c e   o n l y   i f   i t s   s e l e c t o r   i s   c o n v e r t i b l e   t o   a   s e l e c t o r   t h a t   s e r v i c e   s u p p o r t s ,   i . e .   w h e n   t h e   s e l e c t o r   c o n t a i n s   o n l y   t h e   m a t c h L a b e l s   c o m p o n e n t .   N o t e   t h a t   i f   n o   p o r t   i s   s p e c i f i e d   v i a   - - p o r t   a n d   t h e   e x p o s e d   r e s o u r c e   h a s   m u l t i p l e   p o r t s ,   a l l   w i l l   b e   r e - u s e d   b y   t h e   n e w   s e r v i c e .   A l s o   i f   n o   l a b e l s   a r e   s p e c i f i e d ,   t h e   n e w   s e r v i c e   w i l l   r e - u s e   t h e   l a b e l s   f r o m   t h e   r e s o u r c e   i t   e x p o s e s .   P o s s i b l e   r e s o u r c e s   i n c l u d e   ( c a s e   i n s e n s i t i v e ) :   p o d   ( p o ) ,   s e r v i c e   ( s v c ) ,   r e p l i c a t i o n c o n t r o l l e r   ( r c ) ,   d e p l o y m e n t   ( d e p l o y ) ,   r e p l i c a s e t   ( r s )   k u b e c t l   e x p o s e   ( - f   F I L E N A M E   |   T Y P E   N A M E )   [ - - p o r t = p o r t ]   [ - - p r o t o c o l = T C P | U D P | S C T P ]   [ - - t a r g e t - p o r t = n u m b e r - o r - n a m e ]   [ - - n a m e = n a m e ]   [ - - e x t e r n a l - i p = e x t e r n a l - i p - o f - s e r v i c e ]   [ - - t y p e = t y p e ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27032"
  },
  {
    "question": "What is Examples?",
    "answer": "#   C r e a t e   a   s e r v i c e   f o r   a   r e p l i c a t e d   n g i n x ,   w h i c h   s e r v e s   o n   p o r t   8 0   a n d   c o n n e c t s   t o   t h e   c o n t a i n e r s   o n   p o r t   8 0 0 0   k u b e c t l   e x p o s e   r c   n g i n x   - - p o r t = 8 0   - - t a r g e t - p o r t = 8 0 0 0   #   C r e a t e   a   s e r v i c e   f o r   a   r e p l i c a t i o n   c o n t r o l l e r   i d e n t i f i e d   b y   t y p e   a n d   n a m e   s p e c i f i e d   i n   \" n g i n x - c o n t r o l l e r . y a m l \" ,   w h i c h   s e r v e s   o n   p o r t   8 0   a n d   c o n n e c t s   t o   t h e   c o n t a i n e r s   o n   p o r t   8 0 0 0   k u b e c t l   e x p o s e   - f   n g i n x - c o n t r o l l e r . y a m l   - - p o r t = 8 0   - - t a r g e t - p o r t = 8 0 0 0   #   C r e a t e   a   s e r v i c e   f o r   a   p o d   v a l i d - p o d ,   w h i c h   s e r v e s   o n   p o r t   4 4 4   w i t h   t h e   n a m e   \" f r o n t e n d \"   k u b e c t l   e x p o s e   p o d   v a l i d - p o d   - - p o r t = 4 4 4   - - n a m e = f r o n t e n d   #   C r e a t e   a   s e c o n d   s e r v i c e   b a s e d   o n   t h e   a b o v e   s e r v i c e ,   e x p o s i n g   t h e   c o n t a i n e r   p o r t   8 4 4 3   a s   p o r t   4 4 3   w i t h   t h e   n a m e   \" n g i n x - h t t p s \"   k u b e c t l   e x p o s e   s e r v i c e   n g i n x   - - p o r t = 4 4 3   - - t a r g e t - p o r t = 8 4 4 3   - - n a m e = n g i n x - h t t p s   #   C r e a t e   a   s e r v i c e   f o r   a   r e p l i c a t e d   s t r e a m i n g   a p p l i c a t i o n   o n   p o r t   4 1 0 0   b a l a n c i n g   U D P   t r a f f i c   a n d   n a m e d   ' v i d e o - s t r e a m ' .   k u b e c t l   e x p o s e   r c   s t r e a m e r   - - p o r t = 4 1 0 0   - - p r o t o c o l = U D P   - - n a m e = v i d e o - s t r e a m   #   C r e a t e   a   s e r v i c e   f o r   a   r e p l i c a t e d   n g i n x ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27033"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   C l u s t e r I P   t o   b e   a s s i g n e d   t o   t h e   s e r v i c e .   L e a v e   e m p t y   t o   a u t o - a l l o c a t e ,   o r   s e t   t o   ' N o n e '   t o   c r e a t e   a   h e a d l e s s   s e r v i c e .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   A d d i t i o n a l   e x t e r n a l   I P   a d d r e s s   ( n o t   m a n a g e d   b y   K u b e r n e t e s )   t o   a c c e p t   f o r   t h e   s e r v i c e .   I f   t h i s   I P   i s   r o u t e d   t o   a   n o d e ,   t h e   s e r v i c e   c a n   b e   a c c e s s e d   b y   t h i s   I P   i n   a d d i t i o n   t o   i t s   g e n e r a t e d   s e r v i c e   I P .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   e x p o s e   a   s e r v i c e   h e l p   f o r   e x p o s e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   L a b e l s   t o   a p p l y   t o   t h e   s e r v i c e   c r e a t e d   b y   t h i s   c a l l .   I P   t o   a s s i g n   t o   t h e   L o a d B a l a n c e r .   I f   e m p t y ,   a n   e p h e m ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27034"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27035"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27036"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   o n e   o r   m a n y   r e s o u r c e s .   P r i n t s   a   t a b l e   o f   t h e   m o s t   i m p o r t a n t   i n f o r m a t i o n   a b o u t   t h e   s p e c i f i e d   r e s o u r c e s .   Y o u   c a n   f i l t e r   t h e   l i s t   u s i n g   a   l a b e l   s e l e c t o r   a n d   t h e   - - s e l e c t o r   f l a g .   I f   t h e   d e s i r e d   r e s o u r c e   t y p e   i s   n a m e s p a c e d   y o u   w i l l   o n l y   s e e   r e s u l t s   i n   t h e   c u r r e n t   n a m e s p a c e   i f   y o u   d o n ' t   s p e c i f y   a n y   n a m e s p a c e .   B y   s p e c i f y i n g   t h e   o u t p u t   a s   ' t e m p l a t e '   a n d   p r o v i d i n g   a   G o   t e m p l a t e   a s   t h e   v a l u e   o f   t h e   - - t e m p l a t e   f l a g ,   y o u   c a n   f i l t e r   t h e   a t t r i b u t e s   o f   t h e   f e t c h e d   r e s o u r c e s .   U s e   \" k u b e c t l   a p i - r e s o u r c e s \"   f o r   a   c o m p l e t e   l i s t   o f   s u p p o r t e d   r e s o u r c e s .   k u b e c t l   g e t   [ ( - o | - - o u t p u t = ) j s o n | y a m l | n a m e | g o - t e m p l a t e | g o - t e m p l a t e - f i l e | t e m p l a t e | t e m p l a t e f i l e | j s o n p a t h | j s o n p a t h - a s - j s o n | j s o n p a t h - f i l e | c u s t o m - c o l u m n s | c u s t o m - c o l u m n s - f i l e | w i d e ]   ( T Y P E [ . V E R S I O N ] [ . G R O U P ]   [ N A M E   |   - l   l a b e l ]   |   T Y P E [ . V E R S I O N ] [ . G R O U P ] / N A M E   . . . )   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27037"
  },
  {
    "question": "What is Examples?",
    "answer": "#   L i s t   a l l   p o d s   i n   p s   o u t p u t   f o r m a t   k u b e c t l   g e t   p o d s   #   L i s t   a l l   p o d s   i n   p s   o u t p u t   f o r m a t   w i t h   m o r e   i n f o r m a t i o n   ( s u c h   a s   n o d e   n a m e )   k u b e c t l   g e t   p o d s   - o   w i d e   #   L i s t   a   s i n g l e   r e p l i c a t i o n   c o n t r o l l e r   w i t h   s p e c i f i e d   N A M E   i n   p s   o u t p u t   f o r m a t   k u b e c t l   g e t   r e p l i c a t i o n c o n t r o l l e r   w e b   #   L i s t   d e p l o y m e n t s   i n   J S O N   o u t p u t   f o r m a t ,   i n   t h e   \" v 1 \"   v e r s i o n   o f   t h e   \" a p p s \"   A P I   g r o u p   k u b e c t l   g e t   d e p l o y m e n t s . v 1 . a p p s   - o   j s o n   #   L i s t   a   s i n g l e   p o d   i n   J S O N   o u t p u t   f o r m a t   k u b e c t l   g e t   - o   j s o n   p o d   w e b - p o d - 1 3 j e 7   #   L i s t   a   p o d   i d e n t i f i e d   b y   t y p e   a n d   n a m e   s p e c i f i e d   i n   \" p o d . y a m l \"   i n   J S O N   o u t p u t   f o r m a t   k u b e c t l   g e t   - f   p o d . y a m l   - o   j s o n   #   L i s t   r e s o u r c e s   f r o m   a   d i r e c t o r y   w i t h   k u s t o m i z a t i o n . y a m l   -   e . g .   d i r / k u s t o m i z a t i o n . y a m l   k u b e c t l   g e t   - k   d i r /   #   R e t u r n   o n l y   t h e   p h a s e   v a l u e   o f   t h e   s p e c i f i e d   p o d   k u b e c t l   g e t   - o   t e m p l a t e   p o d / w e b - p o d - 1 3 j e 7   - - t e m p l a t e = { { . s t a t u s . p h a s e } }   #   L i s t   r e s o u r c e   i n f o r m a t i o n   i n   c u s t o m   c o l u m n s   k u b e c t l   g e t   p o d   t e s t - p o d   - o   c u s t o m - c o l u m n s = C O N T A I N E R : . s p e c . c o n t a i n e r s [ 0 ] . n a m e , I M A G E : . s p e c . c o n t a i n e r s [ 0 ] . i m a g e   #   L i s t   a l l   r e p l i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27038"
  },
  {
    "question": "What is Options?",
    "answer": "I f   p r e s e n t ,   l i s t   t h e   r e q u e s t e d   o b j e c t ( s )   a c r o s s   a l l   n a m e s p a c e s .   N a m e s p a c e   i n   c u r r e n t   c o n t e x t   i s   i g n o r e d   e v e n   i f   s p e c i f i e d   w i t h   - - n a m e s p a c e .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   R e t u r n   l a r g e   l i s t s   i n   c h u n k s   r a t h e r   t h a n   a l l   a t   o n c e .   P a s s   0   t o   d i s a b l e .   T h i s   f l a g   i s   b e t a   a n d   m a y   c h a n g e   i n   t h e   f u t u r e .   S e l e c t o r   ( f i e l d   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   a n d   ' ! = ' . ( e . g .   - - f i e l d - s e l e c t o r   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 ) .   T h e   s e r v e r   o n l y   s u p p o r t s   a   l i m i t e d   n u m b e r   o f   f i e l d   q u e r i e s   p e r   t y p e .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   g e t   I f   s e t   t o   t r u e ,   s u p p r e s s e s   N o t F o u n d   e r r o r   f o r   s p e c i f i c   o b j e c t s   t h a t   d o   n o t   e x i s t .   U s i n g   t h i s   f l a g   w i t h   c o m m a n d s   t h a t   q u e r y   f o r   c o l l e c t i o n s   o f   r e s o u r c e s   h a s   n o   e f f e c t   w h e n   n o   r e s o u r c e s   a r e   f o u n d .   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   A c c e p t s   a   c o m m a   s e p a r a t e d   l i s t   o f   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27039"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27040"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27041"
  },
  {
    "question": "What is Synopsis?",
    "answer": "B u i l d   a   s e t   o f   K R M   r e s o u r c e s   u s i n g   a   ' k u s t o m i z a t i o n . y a m l '   f i l e .   T h e   D I R   a r g u m e n t   m u s t   b e   a   p a t h   t o   a   d i r e c t o r y   c o n t a i n i n g   ' k u s t o m i z a t i o n . y a m l ' ,   o r   a   g i t   r e p o s i t o r y   U R L   w i t h   a   p a t h   s u f f i x   s p e c i f y i n g   s a m e   w i t h   r e s p e c t   t o   t h e   r e p o s i t o r y   r o o t .   I f   D I R   i s   o m i t t e d ,   ' . '   i s   a s s u m e d .   k u b e c t l   k u s t o m i z e   D I R   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27042"
  },
  {
    "question": "What is Examples?",
    "answer": "#   B u i l d   t h e   c u r r e n t   w o r k i n g   d i r e c t o r y   k u b e c t l   k u s t o m i z e   #   B u i l d   s o m e   s h a r e d   c o n f i g u r a t i o n   d i r e c t o r y   k u b e c t l   k u s t o m i z e   / h o m e / c o n f i g / p r o d u c t i o n   #   B u i l d   f r o m   g i t h u b   k u b e c t l   k u s t o m i z e   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s - s i g s / k u s t o m i z e . g i t / e x a m p l e s / h e l l o W o r l d ? r e f = v 1 . 0 . 6",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27043"
  },
  {
    "question": "What is Options?",
    "answer": "u s e   t h e   u i d   a n d   g i d   o f   t h e   c o m m a n d   e x e c u t o r   t o   r u n   t h e   f u n c t i o n   i n   t h e   c o n t a i n e r   e n a b l e   k u s t o m i z e   p l u g i n s   E n a b l e   u s e   o f   t h e   H e l m   c h a r t   i n f l a t o r   g e n e r a t o r .   a   l i s t   o f   e n v i r o n m e n t   v a r i a b l e s   t o   b e   u s e d   b y   f u n c t i o n s   K u b e r n e t e s   a p i   v e r s i o n s   u s e d   b y   H e l m   f o r   C a p a b i l i t i e s . A P I V e r s i o n s   h e l m   c o m m a n d   ( p a t h   t o   e x e c u t a b l e )   E n a b l e   d e b u g   o u t p u t   f r o m   t h e   H e l m   c h a r t   i n f l a t o r   g e n e r a t o r .   K u b e r n e t e s   v e r s i o n   u s e d   b y   H e l m   f o r   C a p a b i l i t i e s . K u b e V e r s i o n   h e l p   f o r   k u s t o m i z e   i f   s e t   t o   ' L o a d R e s t r i c t i o n s N o n e ' ,   l o c a l   k u s t o m i z a t i o n s   m a y   l o a d   f i l e s   f r o m   o u t s i d e   t h e i r   r o o t .   T h i s   d o e s ,   h o w e v e r ,   b r e a k   t h e   r e l o c a t a b i l i t y   o f   t h e   k u s t o m i z a t i o n .   a   l i s t   o f   s t o r a g e   o p t i o n s   r e a d   f r o m   t h e   f i l e s y s t e m   e n a b l e   n e t w o r k   a c c e s s   f o r   f u n c t i o n s   t h a t   d e c l a r e   i t   t h e   d o c k e r   n e t w o r k   t o   r u n   t h e   c o n t a i n e r   i n   I f   s p e c i f i e d ,   w r i t e   o u t p u t   t o   t h i s   p a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27044"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27045"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27046"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e   t h e   l a b e l s   o n   a   r e s o u r c e .   A   l a b e l   k e y   a n d   v a l u e   m u s t   b e g i n   w i t h   a   l e t t e r   o r   n u m b e r ,   a n d   m a y   c o n t a i n   l e t t e r s ,   n u m b e r s ,   h y p h e n s ,   d o t s ,   a n d   u n d e r s c o r e s ,   u p   t o   6 3   c h a r a c t e r s   e a c h . O p t i o n a l l y ,   t h e   k e y   c a n   b e g i n   w i t h   a   D N S   s u b d o m a i n   p r e f i x   a n d   a   s i n g l e   ' / ' ,   l i k e   e x a m p l e . c o m / m y - a p p . I f   - - o v e r w r i t e   i s   t r u e ,   t h e n   e x i s t i n g   l a b e l s   c a n   b e   o v e r w r i t t e n ,   o t h e r w i s e   a t t e m p t i n g   t o   o v e r w r i t e   a   l a b e l   w i l l   r e s u l t   i n   a n   e r r o r . I f   - - r e s o u r c e - v e r s i o n   i s   s p e c i f i e d ,   t h e n   u p d a t e s   w i l l   u s e   t h i s   r e s o u r c e   v e r s i o n ,   o t h e r w i s e   t h e   e x i s t i n g   r e s o u r c e - v e r s i o n   w i l l   b e   u s e d .   k u b e c t l   l a b e l   [ - - o v e r w r i t e ]   ( - f   F I L E N A M E   |   T Y P E   N A M E )   K E Y _ 1 = V A L _ 1   . . .   K E Y _ N = V A L _ N   [ - - r e s o u r c e - v e r s i o n = v e r s i o n ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27047"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U p d a t e   p o d   ' f o o '   w i t h   t h e   l a b e l   ' u n h e a l t h y '   a n d   t h e   v a l u e   ' t r u e '   k u b e c t l   l a b e l   p o d s   f o o   u n h e a l t h y = t r u e   #   U p d a t e   p o d   ' f o o '   w i t h   t h e   l a b e l   ' s t a t u s '   a n d   t h e   v a l u e   ' u n h e a l t h y ' ,   o v e r w r i t i n g   a n y   e x i s t i n g   v a l u e   k u b e c t l   l a b e l   - - o v e r w r i t e   p o d s   f o o   s t a t u s = u n h e a l t h y   #   U p d a t e   a l l   p o d s   i n   t h e   n a m e s p a c e   k u b e c t l   l a b e l   p o d s   - - a l l   s t a t u s = u n h e a l t h y   #   U p d a t e   a   p o d   i d e n t i f i e d   b y   t h e   t y p e   a n d   n a m e   i n   \" p o d . j s o n \"   k u b e c t l   l a b e l   - f   p o d . j s o n   s t a t u s = u n h e a l t h y   #   U p d a t e   p o d   ' f o o '   o n l y   i f   t h e   r e s o u r c e   i s   u n c h a n g e d   f r o m   v e r s i o n   1   k u b e c t l   l a b e l   p o d s   f o o   s t a t u s = u n h e a l t h y   - - r e s o u r c e - v e r s i o n = 1   #   U p d a t e   p o d   ' f o o '   b y   r e m o v i n g   a   l a b e l   n a m e d   ' b a r '   i f   i t   e x i s t s   #   D o e s   n o t   r e q u i r e   t h e   - - o v e r w r i t e   f l a g   k u b e c t l   l a b e l   p o d s   f o o   b a r -",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27048"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s ,   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   t r u e ,   c h e c k   t h e   s p e c i f i e d   a c t i o n   i n   a l l   n a m e s p a c e s .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   S e l e c t o r   ( f i e l d   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   a n d   ' ! = ' . ( e . g .   - - f i e l d - s e l e c t o r   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 ) .   T h e   s e r v e r   o n l y   s u p p o r t s   a   l i m i t e d   n u m b e r   o f   f i e l d   q u e r i e s   p e r   t y p e .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   u p d a t e   t h e   l a b e l s   h e l p   f o r   l a b e l   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   I f   t r u e ,   d i s p l a y   t h e   l a b e l s   f o r   a   g i v e n   r e s o u r c e .   I f   t r u e ,   l a b e l   w i l l   N O T   c o n t a c t   a p i - s e r v e r   b u t   r u n   l o c a l l y .   O ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27049"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27050"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27051"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r i n t   t h e   l o g s   f o r   a   c o n t a i n e r   i n   a   p o d   o r   s p e c i f i e d   r e s o u r c e .   I f   t h e   p o d   h a s   o n l y   o n e   c o n t a i n e r ,   t h e   c o n t a i n e r   n a m e   i s   o p t i o n a l .   k u b e c t l   l o g s   [ - f ]   [ - p ]   ( P O D   |   T Y P E / N A M E )   [ - c   C O N T A I N E R ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27052"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R e t u r n   s n a p s h o t   l o g s   f r o m   p o d   n g i n x   w i t h   o n l y   o n e   c o n t a i n e r   k u b e c t l   l o g s   n g i n x   #   R e t u r n   s n a p s h o t   l o g s   f r o m   p o d   n g i n x ,   p r e f i x i n g   e a c h   l i n e   w i t h   t h e   s o u r c e   p o d   a n d   c o n t a i n e r   n a m e   k u b e c t l   l o g s   n g i n x   - - p r e f i x   #   R e t u r n   s n a p s h o t   l o g s   f r o m   p o d   n g i n x ,   l i m i t i n g   o u t p u t   t o   5 0 0   b y t e s   k u b e c t l   l o g s   n g i n x   - - l i m i t - b y t e s = 5 0 0   #   R e t u r n   s n a p s h o t   l o g s   f r o m   p o d   n g i n x ,   w a i t i n g   u p   t o   2 0   s e c o n d s   f o r   i t   t o   s t a r t   r u n n i n g .   k u b e c t l   l o g s   n g i n x   - - p o d - r u n n i n g - t i m e o u t = 2 0 s   #   R e t u r n   s n a p s h o t   l o g s   f r o m   p o d   n g i n x   w i t h   m u l t i   c o n t a i n e r s   k u b e c t l   l o g s   n g i n x   - - a l l - c o n t a i n e r s = t r u e   #   R e t u r n   s n a p s h o t   l o g s   f r o m   a l l   p o d s   i n   t h e   d e p l o y m e n t   n g i n x   k u b e c t l   l o g s   d e p l o y m e n t / n g i n x   - - a l l - p o d s = t r u e   #   R e t u r n   s n a p s h o t   l o g s   f r o m   a l l   c o n t a i n e r s   i n   p o d s   d e f i n e d   b y   l a b e l   a p p = n g i n x   k u b e c t l   l o g s   - l   a p p = n g i n x   - - a l l - c o n t a i n e r s = t r u e   #   R e t u r n   s n a p s h o t   l o g s   f r o m   a l l   p o d s   d e f i n e d   b y   l a b e l   a p p = n g i n x ,   l i m i t i n g   c o n c u r r e n t   l o g   r e q u e s t s   t o   1 0   p o d s   k u b e c t l   l o g s   - l   a p p = n g i n x   - - m a x - l o g - r e q u e s t s = 1 0   #   R e t u r n   s n a p s h o t   o f   p r e v i o u s   t e r m i n a t e d   r u b y   c o n t a i n e r   l o g s   f r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27053"
  },
  {
    "question": "What is Options?",
    "answer": "G e t   a l l   c o n t a i n e r s '   l o g s   i n   t h e   p o d ( s ) .   G e t   l o g s   f r o m   a l l   p o d ( s ) .   S e t s   p r e f i x   t o   t r u e .   P r i n t   t h e   l o g s   o f   t h i s   c o n t a i n e r   S p e c i f y   i f   t h e   l o g s   s h o u l d   b e   s t r e a m e d .   h e l p   f o r   l o g s   I f   w a t c h i n g   /   f o l l o w i n g   p o d   l o g s ,   a l l o w   f o r   a n y   e r r o r s   t h a t   o c c u r   t o   b e   n o n - f a t a l   S k i p   v e r i f y i n g   t h e   i d e n t i t y   o f   t h e   k u b e l e t   t h a t   l o g s   a r e   r e q u e s t e d   f r o m .   I n   t h e o r y ,   a n   a t t a c k e r   c o u l d   p r o v i d e   i n v a l i d   l o g   c o n t e n t   b a c k .   Y o u   m i g h t   w a n t   t o   u s e   t h i s   i f   y o u r   k u b e l e t   s e r v i n g   c e r t i f i c a t e s   h a v e   e x p i r e d .   M a x i m u m   b y t e s   o f   l o g s   t o   r e t u r n .   D e f a u l t s   t o   n o   l i m i t .   S p e c i f y   m a x i m u m   n u m b e r   o f   c o n c u r r e n t   l o g s   t o   f o l l o w   w h e n   u s i n g   b y   a   s e l e c t o r .   D e f a u l t s   t o   5 .   T h e   l e n g t h   o f   t i m e   ( l i k e   5 s ,   2 m ,   o r   3 h ,   h i g h e r   t h a n   z e r o )   t o   w a i t   u n t i l   a t   l e a s t   o n e   p o d   i s   r u n n i n g   P r e f i x   e a c h   l o g   l i n e   w i t h   t h e   l o g   s o u r c e   ( p o d   n a m e   a n d   c o n t a i n e r   n a m e )   I f   t r u e ,   p r i n t   t h e   l o g s   f o r   t h e   p r e v i o u s   i n s t a n c e   o f   t h e   c o n t a i n e r   i n   a   p o d   i f   i t   e x i s t s .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27054"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27055"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27056"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r i n t   t h e   l i s t   o f   f l a g s   i n h e r i t e d   b y   a l l   c o m m a n d s   k u b e c t l   o p t i o n s   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27057"
  },
  {
    "question": "What is Examples?",
    "answer": "#   P r i n t   f l a g s   i n h e r i t e d   b y   a l l   c o m m a n d s   k u b e c t l   o p t i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27058"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   o p t i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27059"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27060"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27061"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e   f i e l d s   o f   a   r e s o u r c e   u s i n g   s t r a t e g i c   m e r g e   p a t c h ,   a   J S O N   m e r g e   p a t c h ,   o r   a   J S O N   p a t c h .   J S O N   a n d   Y A M L   f o r m a t s   a r e   a c c e p t e d .   N o t e :   S t r a t e g i c   m e r g e   p a t c h   i s   n o t   s u p p o r t e d   f o r   c u s t o m   r e s o u r c e s .   k u b e c t l   p a t c h   ( - f   F I L E N A M E   |   T Y P E   N A M E )   [ - p   P A T C H | - - p a t c h - f i l e   F I L E ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27062"
  },
  {
    "question": "What is Examples?",
    "answer": "#   P a r t i a l l y   u p d a t e   a   n o d e   u s i n g   a   s t r a t e g i c   m e r g e   p a t c h ,   s p e c i f y i n g   t h e   p a t c h   a s   J S O N   k u b e c t l   p a t c h   n o d e   k 8 s - n o d e - 1   - p   ' { \" s p e c \" : { \" u n s c h e d u l a b l e \" : t r u e } } '   #   P a r t i a l l y   u p d a t e   a   n o d e   u s i n g   a   s t r a t e g i c   m e r g e   p a t c h ,   s p e c i f y i n g   t h e   p a t c h   a s   Y A M L   k u b e c t l   p a t c h   n o d e   k 8 s - n o d e - 1   - p   $ ' s p e c : \\ n   u n s c h e d u l a b l e :   t r u e '   #   P a r t i a l l y   u p d a t e   a   n o d e   i d e n t i f i e d   b y   t h e   t y p e   a n d   n a m e   s p e c i f i e d   i n   \" n o d e . j s o n \"   u s i n g   s t r a t e g i c   m e r g e   p a t c h   k u b e c t l   p a t c h   - f   n o d e . j s o n   - p   ' { \" s p e c \" : { \" u n s c h e d u l a b l e \" : t r u e } } '   #   U p d a t e   a   c o n t a i n e r ' s   i m a g e ;   s p e c . c o n t a i n e r s [ * ] . n a m e   i s   r e q u i r e d   b e c a u s e   i t ' s   a   m e r g e   k e y   k u b e c t l   p a t c h   p o d   v a l i d - p o d   - p   ' { \" s p e c \" : { \" c o n t a i n e r s \" : [ { \" n a m e \" : \" k u b e r n e t e s - s e r v e - h o s t n a m e \" , \" i m a g e \" : \" n e w   i m a g e \" } ] } } '   #   U p d a t e   a   c o n t a i n e r ' s   i m a g e   u s i n g   a   J S O N   p a t c h   w i t h   p o s i t i o n a l   a r r a y s   k u b e c t l   p a t c h   p o d   v a l i d - p o d   - - t y p e = ' j s o n '   - p = ' [ { \" o p \" :   \" r e p l a c e \" ,   \" p a t h \" :   \" / s p e c / c o n t a i n e r s / 0 / i m a g e \" ,   \" v a l u e \" : \" n e w   i m a g e \" } ] '   #   U p d a t e   a   d e p l o y m e n t ' s   r e p l i c a s   t h r o u g h   t h e   ' s c a l e '   s u b r e s o u r c e   u s i n g   a   m e r g e   p a t c h   k u b e c t l   p a t c h   d e p l o y m e n t   n g i n x - d e p l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27063"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   u p d a t e   h e l p   f o r   p a t c h   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   I f   t r u e ,   p a t c h   w i l l   o p e r a t e   o n   t h e   c o n t e n t   o f   t h e   f i l e ,   n o t   t h e   s e r v e r - s i d e   r e s o u r c e .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   T h e   p a t c h   t o   b e   a p p l i e d   t o   t h e   r e s o u r c e   J S O N   f i l e .   A   f i l e   c o n t a i n i n g   a   p a t c h   t o   b e   a p p l i e d   t o   t h e   r e s o u r c e .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27064"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27065"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27066"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r o v i d e s   u t i l i t i e s   f o r   i n t e r a c t i n g   w i t h   p l u g i n s .   P l u g i n s   p r o v i d e   e x t e n d e d   f u n c t i o n a l i t y   t h a t   i s   n o t   p a r t   o f   t h e   m a j o r   c o m m a n d - l i n e   d i s t r i b u t i o n .   P l e a s e   r e f e r   t o   t h e   d o c u m e n t a t i o n   a n d   e x a m p l e s   f o r   m o r e   i n f o r m a t i o n   a b o u t   h o w   w r i t e   y o u r   o w n   p l u g i n s .   T h e   e a s i e s t   w a y   t o   d i s c o v e r   a n d   i n s t a l l   p l u g i n s   i s   v i a   t h e   k u b e r n e t e s   s u b - p r o j e c t   k r e w :   [ k r e w . s i g s . k 8 s . i o ] .   T o   i n s t a l l   k r e w ,   v i s i t   h t t p s : / / k r e w . s i g s . k 8 s . i o / d o c s / u s e r - g u i d e / s e t u p / i n s t a l l   k u b e c t l   p l u g i n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27067"
  },
  {
    "question": "What is Examples?",
    "answer": "#   L i s t   a l l   a v a i l a b l e   p l u g i n s   k u b e c t l   p l u g i n   l i s t   #   L i s t   o n l y   b i n a r y   n a m e s   o f   a v a i l a b l e   p l u g i n s   w i t h o u t   p a t h s   k u b e c t l   p l u g i n   l i s t   - - n a m e - o n l y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27068"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   p l u g i n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27069"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27070"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   p l u g i n   l i s t   -   L i s t   a l l   v i s i b l e   p l u g i n   e x e c u t a b l e s   o n   a   u s e r ' s   P A T H",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27071"
  },
  {
    "question": "What is Synopsis?",
    "answer": "L i s t   a l l   a v a i l a b l e   p l u g i n   f i l e s   o n   a   u s e r ' s   P A T H .   T o   s e e   p l u g i n s   b i n a r y   n a m e s   w i t h o u t   t h e   f u l l   p a t h   u s e   - - n a m e - o n l y   f l a g .   A v a i l a b l e   p l u g i n   f i l e s   a r e   t h o s e   t h a t   a r e :   -   e x e c u t a b l e   -   a n y w h e r e   o n   t h e   u s e r ' s   P A T H   -   b e g i n   w i t h   \" k u b e c t l - \"   k u b e c t l   p l u g i n   l i s t   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27072"
  },
  {
    "question": "What is Examples?",
    "answer": "#   L i s t   a l l   a v a i l a b l e   p l u g i n s   k u b e c t l   p l u g i n   l i s t   #   L i s t   o n l y   b i n a r y   n a m e s   o f   a v a i l a b l e   p l u g i n s   w i t h o u t   p a t h s   k u b e c t l   p l u g i n   l i s t   - - n a m e - o n l y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27073"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   l i s t   I f   t r u e ,   d i s p l a y   o n l y   t h e   b i n a r y   n a m e   o f   e a c h   p l u g i n ,   r a t h e r   t h a n   i t s   f u l l   p a t h",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27074"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27075"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   p l u g i n   -   P r o v i d e s   u t i l i t i e s   f o r   i n t e r a c t i n g   w i t h   p l u g i n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27076"
  },
  {
    "question": "What is Synopsis?",
    "answer": "F o r w a r d   o n e   o r   m o r e   l o c a l   p o r t s   t o   a   p o d .   U s e   r e s o u r c e   t y p e / n a m e   s u c h   a s   d e p l o y m e n t / m y d e p l o y m e n t   t o   s e l e c t   a   p o d .   R e s o u r c e   t y p e   d e f a u l t s   t o   ' p o d '   i f   o m i t t e d .   I f   t h e r e   a r e   m u l t i p l e   p o d s   m a t c h i n g   t h e   c r i t e r i a ,   a   p o d   w i l l   b e   s e l e c t e d   a u t o m a t i c a l l y .   T h e   f o r w a r d i n g   s e s s i o n   e n d s   w h e n   t h e   s e l e c t e d   p o d   t e r m i n a t e s ,   a n d   a   r e r u n   o f   t h e   c o m m a n d   i s   n e e d e d   t o   r e s u m e   f o r w a r d i n g .   k u b e c t l   p o r t - f o r w a r d   T Y P E / N A M E   [ o p t i o n s ]   [ L O C A L _ P O R T : ] R E M O T E _ P O R T   [ . . . [ L O C A L _ P O R T _ N : ] R E M O T E _ P O R T _ N ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27077"
  },
  {
    "question": "What is Examples?",
    "answer": "#   L i s t e n   o n   p o r t s   5 0 0 0   a n d   6 0 0 0   l o c a l l y ,   f o r w a r d i n g   d a t a   t o / f r o m   p o r t s   5 0 0 0   a n d   6 0 0 0   i n   t h e   p o d   k u b e c t l   p o r t - f o r w a r d   p o d / m y p o d   5 0 0 0   6 0 0 0   #   L i s t e n   o n   p o r t s   5 0 0 0   a n d   6 0 0 0   l o c a l l y ,   f o r w a r d i n g   d a t a   t o / f r o m   p o r t s   5 0 0 0   a n d   6 0 0 0   i n   a   p o d   s e l e c t e d   b y   t h e   d e p l o y m e n t   k u b e c t l   p o r t - f o r w a r d   d e p l o y m e n t / m y d e p l o y m e n t   5 0 0 0   6 0 0 0   #   L i s t e n   o n   p o r t   8 4 4 3   l o c a l l y ,   f o r w a r d i n g   t o   t h e   t a r g e t P o r t   o f   t h e   s e r v i c e ' s   p o r t   n a m e d   \" h t t p s \"   i n   a   p o d   s e l e c t e d   b y   t h e   s e r v i c e   k u b e c t l   p o r t - f o r w a r d   s e r v i c e / m y s e r v i c e   8 4 4 3 : h t t p s   #   L i s t e n   o n   p o r t   8 8 8 8   l o c a l l y ,   f o r w a r d i n g   t o   5 0 0 0   i n   t h e   p o d   k u b e c t l   p o r t - f o r w a r d   p o d / m y p o d   8 8 8 8 : 5 0 0 0   #   L i s t e n   o n   p o r t   8 8 8 8   o n   a l l   a d d r e s s e s ,   f o r w a r d i n g   t o   5 0 0 0   i n   t h e   p o d   k u b e c t l   p o r t - f o r w a r d   - - a d d r e s s   0 . 0 . 0 . 0   p o d / m y p o d   8 8 8 8 : 5 0 0 0   #   L i s t e n   o n   p o r t   8 8 8 8   o n   l o c a l h o s t   a n d   s e l e c t e d   I P ,   f o r w a r d i n g   t o   5 0 0 0   i n   t h e   p o d   k u b e c t l   p o r t - f o r w a r d   - - a d d r e s s   l o c a l h o s t , 1 0 . 1 9 . 2 1 . 2 3   p o d / m y p o d   8 8 8 8 : 5 0 0 0   #   L i s t e n   o n   a   r a n d o m   p o r t   l o c a l l y ,   f o r w a r d i n g   t o   5 0 0 0   i n   t h e   p o d   k u b e c t l   p o r t - f o r w a r d   p o d / m y p o d   : 5 0 0 0",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27078"
  },
  {
    "question": "What is Options?",
    "answer": "A d d r e s s e s   t o   l i s t e n   o n   ( c o m m a   s e p a r a t e d ) .   O n l y   a c c e p t s   I P   a d d r e s s e s   o r   l o c a l h o s t   a s   a   v a l u e .   W h e n   l o c a l h o s t   i s   s u p p l i e d ,   k u b e c t l   w i l l   t r y   t o   b i n d   o n   b o t h   1 2 7 . 0 . 0 . 1   a n d   : : 1   a n d   w i l l   f a i l   i f   n e i t h e r   o f   t h e s e   a d d r e s s e s   a r e   a v a i l a b l e   t o   b i n d .   h e l p   f o r   p o r t - f o r w a r d   T h e   l e n g t h   o f   t i m e   ( l i k e   5 s ,   2 m ,   o r   3 h ,   h i g h e r   t h a n   z e r o )   t o   w a i t   u n t i l   a t   l e a s t   o n e   p o d   i s   r u n n i n g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27079"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27080"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27081"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e s   a   p r o x y   s e r v e r   o r   a p p l i c a t i o n - l e v e l   g a t e w a y   b e t w e e n   l o c a l h o s t   a n d   t h e   K u b e r n e t e s   A P I   s e r v e r .   I t   a l s o   a l l o w s   s e r v i n g   s t a t i c   c o n t e n t   o v e r   s p e c i f i e d   H T T P   p a t h .   A l l   i n c o m i n g   d a t a   e n t e r s   t h r o u g h   o n e   p o r t   a n d   g e t s   f o r w a r d e d   t o   t h e   r e m o t e   K u b e r n e t e s   A P I   s e r v e r   p o r t ,   e x c e p t   f o r   t h e   p a t h   m a t c h i n g   t h e   s t a t i c   c o n t e n t   p a t h .   k u b e c t l   p r o x y   [ - - p o r t = P O R T ]   [ - - w w w = s t a t i c - d i r ]   [ - - w w w - p r e f i x = p r e f i x ]   [ - - a p i - p r e f i x = p r e f i x ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27082"
  },
  {
    "question": "What is Examples?",
    "answer": "#   T o   p r o x y   a l l   o f   t h e   K u b e r n e t e s   A P I   a n d   n o t h i n g   e l s e   k u b e c t l   p r o x y   - - a p i - p r e f i x = /   #   T o   p r o x y   o n l y   p a r t   o f   t h e   K u b e r n e t e s   A P I   a n d   a l s o   s o m e   s t a t i c   f i l e s   #   Y o u   c a n   g e t   p o d s   i n f o   w i t h   ' c u r l   l o c a l h o s t : 8 0 0 1 / a p i / v 1 / p o d s '   k u b e c t l   p r o x y   - - w w w = / m y / f i l e s   - - w w w - p r e f i x = / s t a t i c /   - - a p i - p r e f i x = / a p i /   #   T o   p r o x y   t h e   e n t i r e   K u b e r n e t e s   A P I   a t   a   d i f f e r e n t   r o o t   #   Y o u   c a n   g e t   p o d s   i n f o   w i t h   ' c u r l   l o c a l h o s t : 8 0 0 1 / c u s t o m / a p i / v 1 / p o d s '   k u b e c t l   p r o x y   - - a p i - p r e f i x = / c u s t o m /   #   R u n   a   p r o x y   t o   t h e   K u b e r n e t e s   A P I   s e r v e r   o n   p o r t   8 0 1 1 ,   s e r v i n g   s t a t i c   c o n t e n t   f r o m   . / l o c a l / w w w /   k u b e c t l   p r o x y   - - p o r t = 8 0 1 1   - - w w w = . / l o c a l / w w w /   #   R u n   a   p r o x y   t o   t h e   K u b e r n e t e s   A P I   s e r v e r   o n   a n   a r b i t r a r y   l o c a l   p o r t   #   T h e   c h o s e n   p o r t   f o r   t h e   s e r v e r   w i l l   b e   o u t p u t   t o   s t d o u t   k u b e c t l   p r o x y   - - p o r t = 0   #   R u n   a   p r o x y   t o   t h e   K u b e r n e t e s   A P I   s e r v e r ,   c h a n g i n g   t h e   A P I   p r e f i x   t o   k 8 s - a p i   #   T h i s   m a k e s   e . g .   t h e   p o d s   A P I   a v a i l a b l e   a t   l o c a l h o s t : 8 0 0 1 / k 8 s - a p i / v 1 / p o d s /   k u b e c t l   p r o x y   - - a p i - p r e f i x = / k 8 s - a p i",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27083"
  },
  {
    "question": "What is Options?",
    "answer": "R e g u l a r   e x p r e s s i o n   f o r   h o s t s   t h a t   t h e   p r o x y   s h o u l d   a c c e p t .   R e g u l a r   e x p r e s s i o n   f o r   p a t h s   t h a t   t h e   p r o x y   s h o u l d   a c c e p t .   T h e   I P   a d d r e s s   o n   w h i c h   t o   s e r v e   o n .   P r e f i x   t o   s e r v e   t h e   p r o x i e d   A P I   u n d e r .   I f   t r u e ,   e n a b l e s   a u t o m a t i c   p a t h   a p p e n d i n g   o f   t h e   k u b e   c o n t e x t   s e r v e r   p a t h   t o   e a c h   r e q u e s t .   I f   t r u e ,   d i s a b l e   r e q u e s t   f i l t e r i n g   i n   t h e   p r o x y .   T h i s   i s   d a n g e r o u s ,   a n d   c a n   l e a v e   y o u   v u l n e r a b l e   t o   X S R F   a t t a c k s ,   w h e n   u s e d   w i t h   a n   a c c e s s i b l e   p o r t .   h e l p   f o r   p r o x y   k e e p a l i v e   s p e c i f i e s   t h e   k e e p - a l i v e   p e r i o d   f o r   a n   a c t i v e   n e t w o r k   c o n n e c t i o n .   S e t   t o   0   t o   d i s a b l e   k e e p a l i v e .   T h e   p o r t   o n   w h i c h   t o   r u n   t h e   p r o x y .   S e t   t o   0   t o   p i c k   a   r a n d o m   p o r t .   R e g u l a r   e x p r e s s i o n   f o r   H T T P   m e t h o d s   t h a t   t h e   p r o x y   s h o u l d   r e j e c t   ( e x a m p l e   - - r e j e c t - m e t h o d s = ' P O S T , P U T , P A T C H ' ) .   R e g u l a r   e x p r e s s i o n   f o r   p a t h s   t h a t   t h e   p r o x y   s h o u l d   r e j e c t .   P a t h s   s p e c i f i e d   h e r e   w i l l   b e   r e j e c t e d   e v e n   a c c e p t e d   b y   - - a c c e p t - p a t h s .   U n i x   s o c k e t   o n   w h i c h   t o   r u n   t h e   p r o x y .   A l s o   s e r v e   s t a t i c   f i l e s   f r o m   t h e   g i v e n   d i r e c t o r y   u n d e r   t h e   s p e c i f i e d   p r e f i x .   P r e f i x   t o   s e r v e   s t a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27084"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27085"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27086"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e p l a c e   a   r e s o u r c e   b y   f i l e   n a m e   o r   s t d i n .   J S O N   a n d   Y A M L   f o r m a t s   a r e   a c c e p t e d .   I f   r e p l a c i n g   a n   e x i s t i n g   r e s o u r c e ,   t h e   c o m p l e t e   r e s o u r c e   s p e c   m u s t   b e   p r o v i d e d .   T h i s   c a n   b e   o b t a i n e d   b y   $   k u b e c t l   g e t   T Y P E   N A M E   - o   y a m l   k u b e c t l   r e p l a c e   - f   F I L E N A M E",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27087"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R e p l a c e   a   p o d   u s i n g   t h e   d a t a   i n   p o d . j s o n   k u b e c t l   r e p l a c e   - f   . / p o d . j s o n   #   R e p l a c e   a   p o d   b a s e d   o n   t h e   J S O N   p a s s e d   i n t o   s t d i n   c a t   p o d . j s o n   |   k u b e c t l   r e p l a c e   - f   -   #   U p d a t e   a   s i n g l e - c o n t a i n e r   p o d ' s   i m a g e   v e r s i o n   ( t a g )   t o   v 4   k u b e c t l   g e t   p o d   m y p o d   - o   y a m l   |   s e d   ' s / \\ ( i m a g e :   m y i m a g e \\ ) : . * $ / \\ 1 : v 4 / '   |   k u b e c t l   r e p l a c e   - f   -   #   F o r c e   r e p l a c e ,   d e l e t e   a n d   t h e n   r e - c r e a t e   t h e   r e s o u r c e   k u b e c t l   r e p l a c e   - - f o r c e   - f   . / p o d . j s o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27088"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" b a c k g r o u n d \" ,   \" o r p h a n \" ,   o r   \" f o r e g r o u n d \" .   S e l e c t s   t h e   d e l e t i o n   c a s c a d i n g   s t r a t e g y   f o r   t h e   d e p e n d e n t s   ( e . g .   P o d s   c r e a t e d   b y   a   R e p l i c a t i o n C o n t r o l l e r ) .   D e f a u l t s   t o   b a c k g r o u n d .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   T h e   f i l e s   t h a t   c o n t a i n   t h e   c o n f i g u r a t i o n s   t o   r e p l a c e .   I f   t r u e ,   i m m e d i a t e l y   r e m o v e   r e s o u r c e s   f r o m   A P I   a n d   b y p a s s   g r a c e f u l   d e l e t i o n .   N o t e   t h a t   i m m e d i a t e   d e l e t i o n   o f   s o m e   r e s o u r c e s   m a y   r e s u l t   i n   i n c o n s i s t e n c y   o r   d a t a   l o s s   a n d   r e q u i r e s   c o n f i r m a t i o n .   P e r i o d   o f   t i m e   i n   s e c o n d s   g i v e n   t o   t h e   r e s o u r c e   t o   t e r m i n a t e   g r a c e f u l l y .   I g n o r e d   i f   n e g a t i v e .   S e t   t o   1   f o r   i m m e d i a t e   s h u t d o w n .   C a n   o n l y   b e   s e t   t o   0   w h e n   - - f o r c e   i s   t r u e   ( f o r c e   d e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27089"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27090"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27091"
  },
  {
    "question": "What is Synopsis?",
    "answer": "M a n a g e   t h e   r o l l o u t   o f   o n e   o r   m a n y   r e s o u r c e s .   V a l i d   r e s o u r c e   t y p e s   i n c l u d e :   d e p l o y m e n t s d a e m o n s e t s s t a t e f u l s e t s   k u b e c t l   r o l l o u t   S U B C O M M A N D",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27092"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R o l l b a c k   t o   t h e   p r e v i o u s   d e p l o y m e n t   k u b e c t l   r o l l o u t   u n d o   d e p l o y m e n t / a b c   #   C h e c k   t h e   r o l l o u t   s t a t u s   o f   a   d a e m o n s e t   k u b e c t l   r o l l o u t   s t a t u s   d a e m o n s e t / f o o   #   R e s t a r t   a   d e p l o y m e n t   k u b e c t l   r o l l o u t   r e s t a r t   d e p l o y m e n t / a b c   #   R e s t a r t   d e p l o y m e n t s   w i t h   t h e   ' a p p = n g i n x '   l a b e l   k u b e c t l   r o l l o u t   r e s t a r t   d e p l o y m e n t   - - s e l e c t o r = a p p = n g i n x",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27093"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   r o l l o u t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27094"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27095"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   r o l l o u t   h i s t o r y   -   V i e w   r o l l o u t   h i s t o r y k u b e c t l   r o l l o u t   p a u s e   -   M a r k   t h e   p r o v i d e d   r e s o u r c e   a s   p a u s e d k u b e c t l   r o l l o u t   r e s t a r t   -   R e s t a r t   a   r e s o u r c e k u b e c t l   r o l l o u t   r e s u m e   -   R e s u m e   a   p a u s e d   r e s o u r c e k u b e c t l   r o l l o u t   s t a t u s   -   S h o w   t h e   s t a t u s   o f   t h e   r o l l o u t k u b e c t l   r o l l o u t   u n d o   -   U n d o   a   p r e v i o u s   r o l l o u t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27096"
  },
  {
    "question": "What is Synopsis?",
    "answer": "V i e w   p r e v i o u s   r o l l o u t   r e v i s i o n s   a n d   c o n f i g u r a t i o n s .   k u b e c t l   r o l l o u t   h i s t o r y   ( T Y P E   N A M E   |   T Y P E / N A M E )   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27097"
  },
  {
    "question": "What is Examples?",
    "answer": "#   V i e w   t h e   r o l l o u t   h i s t o r y   o f   a   d e p l o y m e n t   k u b e c t l   r o l l o u t   h i s t o r y   d e p l o y m e n t / a b c   #   V i e w   t h e   d e t a i l s   o f   d a e m o n s e t   r e v i s i o n   3   k u b e c t l   r o l l o u t   h i s t o r y   d a e m o n s e t / a b c   - - r e v i s i o n = 3",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27098"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   h i s t o r y   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   S e e   t h e   d e t a i l s ,   i n c l u d i n g   p o d T e m p l a t e   o f   t h e   r e v i s i o n   s p e c i f i e d   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27099"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27100"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   r o l l o u t   -   M a n a g e   t h e   r o l l o u t   o f   a   r e s o u r c e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27101"
  },
  {
    "question": "What is Synopsis?",
    "answer": "M a r k   t h e   p r o v i d e d   r e s o u r c e   a s   p a u s e d .   P a u s e d   r e s o u r c e s   w i l l   n o t   b e   r e c o n c i l e d   b y   a   c o n t r o l l e r .   U s e   \" k u b e c t l   r o l l o u t   r e s u m e \"   t o   r e s u m e   a   p a u s e d   r e s o u r c e .   C u r r e n t l y   o n l y   d e p l o y m e n t s   s u p p o r t   b e i n g   p a u s e d .   k u b e c t l   r o l l o u t   p a u s e   R E S O U R C E",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27102"
  },
  {
    "question": "What is Examples?",
    "answer": "#   M a r k   t h e   n g i n x   d e p l o y m e n t   a s   p a u s e d   #   A n y   c u r r e n t   s t a t e   o f   t h e   d e p l o y m e n t   w i l l   c o n t i n u e   i t s   f u n c t i o n ;   n e w   u p d a t e s   #   t o   t h e   d e p l o y m e n t   w i l l   n o t   h a v e   a n   e f f e c t   a s   l o n g   a s   t h e   d e p l o y m e n t   i s   p a u s e d   k u b e c t l   r o l l o u t   p a u s e   d e p l o y m e n t / n g i n x",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27103"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   p a u s e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o - ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27104"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27105"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   r o l l o u t   -   M a n a g e   t h e   r o l l o u t   o f   a   r e s o u r c e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27106"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e s t a r t   a   r e s o u r c e .   R e s o u r c e   r o l l o u t   w i l l   b e   r e s t a r t e d .   k u b e c t l   r o l l o u t   r e s t a r t   R E S O U R C E",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27107"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R e s t a r t   a l l   d e p l o y m e n t s   i n   t h e   t e s t - n a m e s p a c e   n a m e s p a c e   k u b e c t l   r o l l o u t   r e s t a r t   d e p l o y m e n t   - n   t e s t - n a m e s p a c e   #   R e s t a r t   a   d e p l o y m e n t   k u b e c t l   r o l l o u t   r e s t a r t   d e p l o y m e n t / n g i n x   #   R e s t a r t   a   d a e m o n   s e t   k u b e c t l   r o l l o u t   r e s t a r t   d a e m o n s e t / a b c   #   R e s t a r t   d e p l o y m e n t s   w i t h   t h e   a p p = n g i n x   l a b e l   k u b e c t l   r o l l o u t   r e s t a r t   d e p l o y m e n t   - - s e l e c t o r = a p p = n g i n x",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27108"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   r e s t a r t   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27109"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27110"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   r o l l o u t   -   M a n a g e   t h e   r o l l o u t   o f   a   r e s o u r c e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27111"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R e s u m e   a   p a u s e d   r e s o u r c e .   P a u s e d   r e s o u r c e s   w i l l   n o t   b e   r e c o n c i l e d   b y   a   c o n t r o l l e r .   B y   r e s u m i n g   a   r e s o u r c e ,   w e   a l l o w   i t   t o   b e   r e c o n c i l e d   a g a i n .   C u r r e n t l y   o n l y   d e p l o y m e n t s   s u p p o r t   b e i n g   r e s u m e d .   k u b e c t l   r o l l o u t   r e s u m e   R E S O U R C E",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27112"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R e s u m e   a n   a l r e a d y   p a u s e d   d e p l o y m e n t   k u b e c t l   r o l l o u t   r e s u m e   d e p l o y m e n t / n g i n x",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27113"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   r e s u m e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e   f i l e   t o   u s e   w h e n   - o = g o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27114"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27115"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   r o l l o u t   -   M a n a g e   t h e   r o l l o u t   o f   a   r e s o u r c e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27116"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S h o w   t h e   s t a t u s   o f   t h e   r o l l o u t .   B y   d e f a u l t   ' r o l l o u t   s t a t u s '   w i l l   w a t c h   t h e   s t a t u s   o f   t h e   l a t e s t   r o l l o u t   u n t i l   i t ' s   d o n e .   I f   y o u   d o n ' t   w a n t   t o   w a i t   f o r   t h e   r o l l o u t   t o   f i n i s h   t h e n   y o u   c a n   u s e   - - w a t c h = f a l s e .   N o t e   t h a t   i f   a   n e w   r o l l o u t   s t a r t s   i n - b e t w e e n ,   t h e n   ' r o l l o u t   s t a t u s '   w i l l   c o n t i n u e   w a t c h i n g   t h e   l a t e s t   r e v i s i o n .   I f   y o u   w a n t   t o   p i n   t o   a   s p e c i f i c   r e v i s i o n   a n d   a b o r t   i f   i t   i s   r o l l e d   o v e r   b y   a n o t h e r   r e v i s i o n ,   u s e   - - r e v i s i o n = N   w h e r e   N   i s   t h e   r e v i s i o n   y o u   n e e d   t o   w a t c h   f o r .   k u b e c t l   r o l l o u t   s t a t u s   ( T Y P E   N A M E   |   T Y P E / N A M E )   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27117"
  },
  {
    "question": "What is Examples?",
    "answer": "#   W a t c h   t h e   r o l l o u t   s t a t u s   o f   a   d e p l o y m e n t   k u b e c t l   r o l l o u t   s t a t u s   d e p l o y m e n t / n g i n x",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27118"
  },
  {
    "question": "What is Options?",
    "answer": "F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   s t a t u s   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   P i n   t o   a   s p e c i f i c   r e v i s i o n   f o r   s h o w i n g   i t s   s t a t u s .   D e f a u l t s   t o   0   ( l a s t   r e v i s i o n ) .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   T h e   l e n g t h   o f   t i m e   t o   w a i t   b e f o r e   e n d i n g   w a t c h ,   z e r o   m e a n s   n e v e r .   A n y   o t h e r   v a l u e s   s h o u l d   c o n t a i n   a   c o r r e s p o n d i n g   t i m e   u n i t   ( e . g .   1 s ,   2 m ,   3 h ) .   W a t c h   t h e   s t a t u s   o f   t h e   r o l l o u t   u n t i l   i t ' s   d o n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27119"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27120"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   r o l l o u t   -   M a n a g e   t h e   r o l l o u t   o f   a   r e s o u r c e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27121"
  },
  {
    "question": "What is Synopsis?",
    "answer": "R o l l   b a c k   t o   a   p r e v i o u s   r o l l o u t .   k u b e c t l   r o l l o u t   u n d o   ( T Y P E   N A M E   |   T Y P E / N A M E )   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27122"
  },
  {
    "question": "What is Examples?",
    "answer": "#   R o l l   b a c k   t o   t h e   p r e v i o u s   d e p l o y m e n t   k u b e c t l   r o l l o u t   u n d o   d e p l o y m e n t / a b c   #   R o l l   b a c k   t o   d a e m o n s e t   r e v i s i o n   3   k u b e c t l   r o l l o u t   u n d o   d a e m o n s e t / a b c   - - t o - r e v i s i o n = 3   #   R o l l   b a c k   t o   t h e   p r e v i o u s   d e p l o y m e n t   w i t h   d r y - r u n   k u b e c t l   r o l l o u t   u n d o   - - d r y - r u n = s e r v e r   d e p l o y m e n t / a b c",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27123"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   u n d o   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27124"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27125"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   r o l l o u t   -   M a n a g e   t h e   r o l l o u t   o f   a   r e s o u r c e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27126"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C r e a t e   a n d   r u n   a   p a r t i c u l a r   i m a g e   i n   a   p o d .   k u b e c t l   r u n   N A M E   - - i m a g e = i m a g e   [ - - e n v = \" k e y = v a l u e \" ]   [ - - p o r t = p o r t ]   [ - - d r y - r u n = s e r v e r | c l i e n t ]   [ - - o v e r r i d e s = i n l i n e - j s o n ]   [ - - c o m m a n d ]   - -   [ C O M M A N D ]   [ a r g s . . . ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27127"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S t a r t   a   n g i n x   p o d   k u b e c t l   r u n   n g i n x   - - i m a g e = n g i n x   #   S t a r t   a   h a z e l c a s t   p o d   a n d   l e t   t h e   c o n t a i n e r   e x p o s e   p o r t   5 7 0 1   k u b e c t l   r u n   h a z e l c a s t   - - i m a g e = h a z e l c a s t / h a z e l c a s t   - - p o r t = 5 7 0 1   #   S t a r t   a   h a z e l c a s t   p o d   a n d   s e t   e n v i r o n m e n t   v a r i a b l e s   \" D N S _ D O M A I N = c l u s t e r \"   a n d   \" P O D _ N A M E S P A C E = d e f a u l t \"   i n   t h e   c o n t a i n e r   k u b e c t l   r u n   h a z e l c a s t   - - i m a g e = h a z e l c a s t / h a z e l c a s t   - - e n v = \" D N S _ D O M A I N = c l u s t e r \"   - - e n v = \" P O D _ N A M E S P A C E = d e f a u l t \"   #   S t a r t   a   h a z e l c a s t   p o d   a n d   s e t   l a b e l s   \" a p p = h a z e l c a s t \"   a n d   \" e n v = p r o d \"   i n   t h e   c o n t a i n e r   k u b e c t l   r u n   h a z e l c a s t   - - i m a g e = h a z e l c a s t / h a z e l c a s t   - - l a b e l s = \" a p p = h a z e l c a s t , e n v = p r o d \"   #   D r y   r u n ;   p r i n t   t h e   c o r r e s p o n d i n g   A P I   o b j e c t s   w i t h o u t   c r e a t i n g   t h e m   k u b e c t l   r u n   n g i n x   - - i m a g e = n g i n x   - - d r y - r u n = c l i e n t   #   S t a r t   a   n g i n x   p o d ,   b u t   o v e r l o a d   t h e   s p e c   w i t h   a   p a r t i a l   s e t   o f   v a l u e s   p a r s e d   f r o m   J S O N   k u b e c t l   r u n   n g i n x   - - i m a g e = n g i n x   - - o v e r r i d e s = ' {   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" s p e c \" :   {   . . .   }   } '   #   S t a r t   a   b u s y b o x   p o d   a n d   k e e p   i t   i n   t h e   f o r e g r o u n d ,   d o n ' t   r e s t a r t   i t   i f   i t   e x i t s   k u b e c t l   r u n   - i   - t   b u s y b o x   - - i m a g e = b u s y b o x   - - r e s t a r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27128"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   A n n o t a t i o n s   t o   a p p l y   t o   t h e   p o d .   I f   t r u e ,   w a i t   f o r   t h e   P o d   t o   s t a r t   r u n n i n g ,   a n d   t h e n   a t t a c h   t o   t h e   P o d   a s   i f   ' k u b e c t l   a t t a c h   . . . '   w e r e   c a l l e d .   D e f a u l t   f a l s e ,   u n l e s s   ' - i / - - s t d i n '   i s   s e t ,   i n   w h i c h   c a s e   t h e   d e f a u l t   i s   t r u e .   W i t h   ' - - r e s t a r t = N e v e r '   t h e   e x i t   c o d e   o f   t h e   c o n t a i n e r   p r o c e s s   i s   r e t u r n e d .   M u s t   b e   \" b a c k g r o u n d \" ,   \" o r p h a n \" ,   o r   \" f o r e g r o u n d \" .   S e l e c t s   t h e   d e l e t i o n   c a s c a d i n g   s t r a t e g y   f o r   t h e   d e p e n d e n t s   ( e . g .   P o d s   c r e a t e d   b y   a   R e p l i c a t i o n C o n t r o l l e r ) .   D e f a u l t s   t o   b a c k g r o u n d .   I f   t r u e   a n d   e x t r a   a r g u m e n t s   a r e   p r e s e n t ,   u s e   t h e m   a s   t h e   ' c o m m a n d '   f i e l d   i n   t h e   c o n t a i n e r ,   r a t h e r   t h a n   t h e   ' a r g s '   f i e l d   w h i c h   i s   t h e   d e f a u l t .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   E n v i r o n m e n t   v a r i a b l e s   t o   s e t   i n   t h e   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27129"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27130"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27131"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S e t   a   n e w   s i z e   f o r   a   d e p l o y m e n t ,   r e p l i c a   s e t ,   r e p l i c a t i o n   c o n t r o l l e r ,   o r   s t a t e f u l   s e t .   S c a l e   a l s o   a l l o w s   u s e r s   t o   s p e c i f y   o n e   o r   m o r e   p r e c o n d i t i o n s   f o r   t h e   s c a l e   a c t i o n .   I f   - - c u r r e n t - r e p l i c a s   o r   - - r e s o u r c e - v e r s i o n   i s   s p e c i f i e d ,   i t   i s   v a l i d a t e d   b e f o r e   t h e   s c a l e   i s   a t t e m p t e d ,   a n d   i t   i s   g u a r a n t e e d   t h a t   t h e   p r e c o n d i t i o n   h o l d s   t r u e   w h e n   t h e   s c a l e   i s   s e n t   t o   t h e   s e r v e r .   k u b e c t l   s c a l e   [ - - r e s o u r c e - v e r s i o n = v e r s i o n ]   [ - - c u r r e n t - r e p l i c a s = c o u n t ]   - - r e p l i c a s = C O U N T   ( - f   F I L E N A M E   |   T Y P E   N A M E )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27132"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S c a l e   a   r e p l i c a   s e t   n a m e d   ' f o o '   t o   3   k u b e c t l   s c a l e   - - r e p l i c a s = 3   r s / f o o   #   S c a l e   a   r e s o u r c e   i d e n t i f i e d   b y   t y p e   a n d   n a m e   s p e c i f i e d   i n   \" f o o . y a m l \"   t o   3   k u b e c t l   s c a l e   - - r e p l i c a s = 3   - f   f o o . y a m l   #   I f   t h e   d e p l o y m e n t   n a m e d   m y s q l ' s   c u r r e n t   s i z e   i s   2 ,   s c a l e   m y s q l   t o   3   k u b e c t l   s c a l e   - - c u r r e n t - r e p l i c a s = 2   - - r e p l i c a s = 3   d e p l o y m e n t / m y s q l   #   S c a l e   m u l t i p l e   r e p l i c a t i o n   c o n t r o l l e r s   k u b e c t l   s c a l e   - - r e p l i c a s = 5   r c / e x a m p l e 1   r c / e x a m p l e 2   r c / e x a m p l e 3   #   S c a l e   s t a t e f u l   s e t   n a m e d   ' w e b '   t o   3   k u b e c t l   s c a l e   - - r e p l i c a s = 3   s t a t e f u l s e t / w e b",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27133"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   P r e c o n d i t i o n   f o r   c u r r e n t   s i z e .   R e q u i r e s   t h a t   t h e   c u r r e n t   s i z e   o f   t h e   r e s o u r c e   m a t c h   t h i s   v a l u e   i n   o r d e r   t o   s c a l e .   - 1   ( d e f a u l t )   f o r   n o   c o n d i t i o n .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   s e t   a   n e w   s i z e   h e l p   f o r   s c a l e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27134"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27135"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27136"
  },
  {
    "question": "What is Synopsis?",
    "answer": "C o n f i g u r e   a p p l i c a t i o n   r e s o u r c e s .   T h e s e   c o m m a n d s   h e l p   y o u   m a k e   c h a n g e s   t o   e x i s t i n g   a p p l i c a t i o n   r e s o u r c e s .   k u b e c t l   s e t   S U B C O M M A N D",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27137"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   s e t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27138"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27139"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   s e t   e n v   -   U p d a t e   e n v i r o n m e n t   v a r i a b l e s   o n   a   p o d   t e m p l a t e k u b e c t l   s e t   i m a g e   -   U p d a t e   t h e   i m a g e   o f   a   p o d   t e m p l a t e k u b e c t l   s e t   r e s o u r c e s   -   U p d a t e   r e s o u r c e   r e q u e s t s / l i m i t s   o n   o b j e c t s   w i t h   p o d   t e m p l a t e s k u b e c t l   s e t   s e l e c t o r   -   S e t   t h e   s e l e c t o r   o n   a   r e s o u r c e k u b e c t l   s e t   s e r v i c e a c c o u n t   -   U p d a t e   t h e   s e r v i c e   a c c o u n t   o f   a   r e s o u r c e k u b e c t l   s e t   s u b j e c t   -   U p d a t e   t h e   u s e r ,   g r o u p ,   o r   s e r v i c e   a c c o u n t   i n   a   r o l e   b i n d i n g   o r   c l u s t e r   r o l e   b i n d i n g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27140"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e   e n v i r o n m e n t   v a r i a b l e s   o n   a   p o d   t e m p l a t e .   L i s t   e n v i r o n m e n t   v a r i a b l e   d e f i n i t i o n s   i n   o n e   o r   m o r e   p o d s ,   p o d   t e m p l a t e s .   A d d ,   u p d a t e ,   o r   r e m o v e   c o n t a i n e r   e n v i r o n m e n t   v a r i a b l e   d e f i n i t i o n s   i n   o n e   o r   m o r e   p o d   t e m p l a t e s   ( w i t h i n   r e p l i c a t i o n   c o n t r o l l e r s   o r   d e p l o y m e n t   c o n f i g u r a t i o n s ) .   V i e w   o r   m o d i f y   t h e   e n v i r o n m e n t   v a r i a b l e   d e f i n i t i o n s   o n   a l l   c o n t a i n e r s   i n   t h e   s p e c i f i e d   p o d s   o r   p o d   t e m p l a t e s ,   o r   j u s t   t h o s e   t h a t   m a t c h   a   w i l d c a r d .   I f   \" - - e n v   - \"   i s   p a s s e d ,   e n v i r o n m e n t   v a r i a b l e s   c a n   b e   r e a d   f r o m   S T D I N   u s i n g   t h e   s t a n d a r d   e n v   s y n t a x .   P o s s i b l e   r e s o u r c e s   i n c l u d e   ( c a s e   i n s e n s i t i v e ) :   p o d   ( p o ) ,   r e p l i c a t i o n c o n t r o l l e r   ( r c ) ,   d e p l o y m e n t   ( d e p l o y ) ,   d a e m o n s e t   ( d s ) ,   s t a t e f u l s e t   ( s t s ) ,   c r o n j o b   ( c j ) ,   r e p l i c a s e t   ( r s )   k u b e c t l   s e t   e n v   R E S O U R C E / N A M E   K E Y _ 1 = V A L _ 1   . . .   K E Y _ N = V A L _ N",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27141"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U p d a t e   d e p l o y m e n t   ' r e g i s t r y '   w i t h   a   n e w   e n v i r o n m e n t   v a r i a b l e   k u b e c t l   s e t   e n v   d e p l o y m e n t / r e g i s t r y   S T O R A G E _ D I R = / l o c a l   #   L i s t   t h e   e n v i r o n m e n t   v a r i a b l e s   d e f i n e d   o n   a   d e p l o y m e n t s   ' s a m p l e - b u i l d '   k u b e c t l   s e t   e n v   d e p l o y m e n t / s a m p l e - b u i l d   - - l i s t   #   L i s t   t h e   e n v i r o n m e n t   v a r i a b l e s   d e f i n e d   o n   a l l   p o d s   k u b e c t l   s e t   e n v   p o d s   - - a l l   - - l i s t   #   O u t p u t   m o d i f i e d   d e p l o y m e n t   i n   Y A M L ,   a n d   d o e s   n o t   a l t e r   t h e   o b j e c t   o n   t h e   s e r v e r   k u b e c t l   s e t   e n v   d e p l o y m e n t / s a m p l e - b u i l d   S T O R A G E _ D I R = / d a t a   - o   y a m l   #   U p d a t e   a l l   c o n t a i n e r s   i n   a l l   r e p l i c a t i o n   c o n t r o l l e r s   i n   t h e   p r o j e c t   t o   h a v e   E N V = p r o d   k u b e c t l   s e t   e n v   r c   - - a l l   E N V = p r o d   #   I m p o r t   e n v i r o n m e n t   f r o m   a   s e c r e t   k u b e c t l   s e t   e n v   - - f r o m = s e c r e t / m y s e c r e t   d e p l o y m e n t / m y a p p   #   I m p o r t   e n v i r o n m e n t   f r o m   a   c o n f i g   m a p   w i t h   a   p r e f i x   k u b e c t l   s e t   e n v   - - f r o m = c o n f i g m a p / m y c o n f i g m a p   - - p r e f i x = M Y S Q L _   d e p l o y m e n t / m y a p p   #   I m p o r t   s p e c i f i c   k e y s   f r o m   a   c o n f i g   m a p   k u b e c t l   s e t   e n v   - - k e y s = m y - e x a m p l e - k e y   - - f r o m = c o n f i g m a p / m y c o n f i g m a p   d e p l o y m e n t / m y a p p   #   R e m o v e   t h e   e n v i r o n m e n t   v a r i a b l e   E N V   f r o m   c o n t a i n e r   ' c 1 '   i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27142"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   s e l e c t   a l l   r e s o u r c e s   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   T h e   n a m e s   o f   c o n t a i n e r s   i n   t h e   s e l e c t e d   p o d   t e m p l a t e s   t o   c h a n g e   -   m a y   u s e   w i l d c a r d s   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   S p e c i f y   a   k e y - v a l u e   p a i r   f o r   a n   e n v i r o n m e n t   v a r i a b l e   t o   s e t   i n t o   e a c h   c o n t a i n e r .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   t h e   r e s o u r c e   t o   u p d a t e   t h e   e n v   T h e   n a m e   o f   a   r e s o u r c e   f r o m   w h i c h   t o   i n j e c t   e n v i r o n m e n t   v a r i a b l e s   h e l p   f o r   e n v   C o m m a - s e p a r a t e d   l i s t   o f   k e y s   t o   i m p o r t   f r o m   s p e c i f i e d   r e s o u r c e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   I f   t r u e ,   d i s p l a y   t h e   e n v i r o n m e n t   a n d   a n y   c h a n g e s   i n   t h e   s t a n d a r d   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27143"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27144"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   s e t   -   S e t   s p e c i f i c   f e a t u r e s   o n   o b j e c t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27145"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e   e x i s t i n g   c o n t a i n e r   i m a g e ( s )   o f   r e s o u r c e s .   P o s s i b l e   r e s o u r c e s   i n c l u d e   ( c a s e   i n s e n s i t i v e ) :   p o d   ( p o ) ,   r e p l i c a t i o n c o n t r o l l e r   ( r c ) ,   d e p l o y m e n t   ( d e p l o y ) ,   d a e m o n s e t   ( d s ) ,   s t a t e f u l s e t   ( s t s ) ,   c r o n j o b   ( c j ) ,   r e p l i c a s e t   ( r s )   k u b e c t l   s e t   i m a g e   ( - f   F I L E N A M E   |   T Y P E   N A M E )   C O N T A I N E R _ N A M E _ 1 = C O N T A I N E R _ I M A G E _ 1   . . .   C O N T A I N E R _ N A M E _ N = C O N T A I N E R _ I M A G E _ N",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27146"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   a   d e p l o y m e n t ' s   n g i n x   c o n t a i n e r   i m a g e   t o   ' n g i n x : 1 . 9 . 1 ' ,   a n d   i t s   b u s y b o x   c o n t a i n e r   i m a g e   t o   ' b u s y b o x '   k u b e c t l   s e t   i m a g e   d e p l o y m e n t / n g i n x   b u s y b o x = b u s y b o x   n g i n x = n g i n x : 1 . 9 . 1   #   U p d a t e   a l l   d e p l o y m e n t s '   a n d   r c ' s   n g i n x   c o n t a i n e r ' s   i m a g e   t o   ' n g i n x : 1 . 9 . 1 '   k u b e c t l   s e t   i m a g e   d e p l o y m e n t s , r c   n g i n x = n g i n x : 1 . 9 . 1   - - a l l   #   U p d a t e   i m a g e   o f   a l l   c o n t a i n e r s   o f   d a e m o n s e t   a b c   t o   ' n g i n x : 1 . 9 . 1 '   k u b e c t l   s e t   i m a g e   d a e m o n s e t   a b c   * = n g i n x : 1 . 9 . 1   #   P r i n t   r e s u l t   ( i n   y a m l   f o r m a t )   o f   u p d a t i n g   n g i n x   c o n t a i n e r   i m a g e   f r o m   l o c a l   f i l e ,   w i t h o u t   h i t t i n g   t h e   s e r v e r   k u b e c t l   s e t   i m a g e   - f   p a t h / t o / f i l e . y a m l   n g i n x = n g i n x : 1 . 9 . 1   - - l o c a l   - o   y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27147"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s ,   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   i m a g e   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   I f   t r u e ,   s e t   i m a g e   w i l l   N O T   c o n t a c t   a p i - s e r v e r   b u t   r u n   l o c a l l y .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27148"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27149"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   s e t   -   S e t   s p e c i f i c   f e a t u r e s   o n   o b j e c t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27150"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S p e c i f y   c o m p u t e   r e s o u r c e   r e q u i r e m e n t s   ( C P U ,   m e m o r y )   f o r   a n y   r e s o u r c e   t h a t   d e f i n e s   a   p o d   t e m p l a t e .   I f   a   p o d   i s   s u c c e s s f u l l y   s c h e d u l e d ,   i t   i s   g u a r a n t e e d   t h e   a m o u n t   o f   r e s o u r c e   r e q u e s t e d ,   b u t   m a y   b u r s t   u p   t o   i t s   s p e c i f i e d   l i m i t s .   F o r   e a c h   c o m p u t e   r e s o u r c e ,   i f   a   l i m i t   i s   s p e c i f i e d   a n d   a   r e q u e s t   i s   o m i t t e d ,   t h e   r e q u e s t   w i l l   d e f a u l t   t o   t h e   l i m i t .   P o s s i b l e   r e s o u r c e s   i n c l u d e   ( c a s e   i n s e n s i t i v e ) :   U s e   \" k u b e c t l   a p i - r e s o u r c e s \"   f o r   a   c o m p l e t e   l i s t   o f   s u p p o r t e d   r e s o u r c e s . .   k u b e c t l   s e t   r e s o u r c e s   ( - f   F I L E N A M E   |   T Y P E   N A M E )   ( [ - - l i m i t s = L I M I T S   &   - - r e q u e s t s = R E Q U E S T S ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27151"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   a   d e p l o y m e n t s   n g i n x   c o n t a i n e r   c p u   l i m i t s   t o   \" 2 0 0 m \"   a n d   m e m o r y   t o   \" 5 1 2 M i \"   k u b e c t l   s e t   r e s o u r c e s   d e p l o y m e n t   n g i n x   - c = n g i n x   - - l i m i t s = c p u = 2 0 0 m , m e m o r y = 5 1 2 M i   #   S e t   t h e   r e s o u r c e   r e q u e s t   a n d   l i m i t s   f o r   a l l   c o n t a i n e r s   i n   n g i n x   k u b e c t l   s e t   r e s o u r c e s   d e p l o y m e n t   n g i n x   - - l i m i t s = c p u = 2 0 0 m , m e m o r y = 5 1 2 M i   - - r e q u e s t s = c p u = 1 0 0 m , m e m o r y = 2 5 6 M i   #   R e m o v e   t h e   r e s o u r c e   r e q u e s t s   f o r   r e s o u r c e s   o n   c o n t a i n e r s   i n   n g i n x   k u b e c t l   s e t   r e s o u r c e s   d e p l o y m e n t   n g i n x   - - l i m i t s = c p u = 0 , m e m o r y = 0   - - r e q u e s t s = c p u = 0 , m e m o r y = 0   #   P r i n t   t h e   r e s u l t   ( i n   y a m l   f o r m a t )   o f   u p d a t i n g   n g i n x   c o n t a i n e r   l i m i t s   f r o m   a   l o c a l ,   w i t h o u t   h i t t i n g   t h e   s e r v e r   k u b e c t l   s e t   r e s o u r c e s   - f   p a t h / t o / f i l e . y a m l   - - l i m i t s = c p u = 2 0 0 m , m e m o r y = 5 1 2 M i   - - l o c a l   - o   y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27152"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s ,   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   T h e   n a m e s   o f   c o n t a i n e r s   i n   t h e   s e l e c t e d   p o d   t e m p l a t e s   t o   c h a n g e ,   a l l   c o n t a i n e r s   a r e   s e l e c t e d   b y   d e f a u l t   -   m a y   u s e   w i l d c a r d s   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   r e s o u r c e s   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   T h e   r e s o u r c e   r e q u i r e m e n t   r e q u e s t s   f o r   t h i s   c o n t a i n e r .   F o r   e x a m p l e ,   ' c p u = 1 0 0 m , m e m o r y = 2 5 6 M i ' .   N o t e   t h a t   s e r v e r   s i d e   c o m p o n e n t s   m a y   a s s i g n   r e q u e s t s   d e p e n d i n g   o n   t h e   s e r v e r   c o n f i g u r a t i o n ,   s u c h   a s   l i m i t   r a n g e s .   I f   t r u e ,   s e t   r e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27153"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27154"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   s e t   -   S e t   s p e c i f i c   f e a t u r e s   o n   o b j e c t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27155"
  },
  {
    "question": "What is Synopsis?",
    "answer": "S e t   t h e   s e l e c t o r   o n   a   r e s o u r c e .   N o t e   t h a t   t h e   n e w   s e l e c t o r   w i l l   o v e r w r i t e   t h e   o l d   s e l e c t o r   i f   t h e   r e s o u r c e   h a d   o n e   p r i o r   t o   t h e   i n v o c a t i o n   o f   ' s e t   s e l e c t o r ' .   A   s e l e c t o r   m u s t   b e g i n   w i t h   a   l e t t e r   o r   n u m b e r ,   a n d   m a y   c o n t a i n   l e t t e r s ,   n u m b e r s ,   h y p h e n s ,   d o t s ,   a n d   u n d e r s c o r e s ,   u p   t o   6 3   c h a r a c t e r s .   I f   - - r e s o u r c e - v e r s i o n   i s   s p e c i f i e d ,   t h e n   u p d a t e s   w i l l   u s e   t h i s   r e s o u r c e   v e r s i o n ,   o t h e r w i s e   t h e   e x i s t i n g   r e s o u r c e - v e r s i o n   w i l l   b e   u s e d .   N o t e :   c u r r e n t l y   s e l e c t o r s   c a n   o n l y   b e   s e t   o n   S e r v i c e   o b j e c t s .   k u b e c t l   s e t   s e l e c t o r   ( - f   F I L E N A M E   |   T Y P E   N A M E )   E X P R E S S I O N S   [ - - r e s o u r c e - v e r s i o n = v e r s i o n ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27156"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   t h e   l a b e l s   a n d   s e l e c t o r   b e f o r e   c r e a t i n g   a   d e p l o y m e n t / s e r v i c e   p a i r   k u b e c t l   c r e a t e   s e r v i c e   c l u s t e r i p   m y - s v c   - - c l u s t e r i p = \" N o n e \"   - o   y a m l   - - d r y - r u n = c l i e n t   |   k u b e c t l   s e t   s e l e c t o r   - - l o c a l   - f   -   ' e n v i r o n m e n t = q a '   - o   y a m l   |   k u b e c t l   c r e a t e   - f   -   k u b e c t l   c r e a t e   d e p l o y m e n t   m y - d e p   - o   y a m l   - - d r y - r u n = c l i e n t   |   k u b e c t l   l a b e l   - - l o c a l   - f   -   e n v i r o n m e n t = q a   - o   y a m l   |   k u b e c t l   c r e a t e   - f   -",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27157"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   i d e n t i f y i n g   t h e   r e s o u r c e .   h e l p   f o r   s e l e c t o r   I f   t r u e ,   a n n o t a t i o n   w i l l   N O T   c o n t a c t   a p i - s e r v e r   b u t   r u n   l o c a l l y .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h e   s a m e   d i r e c t o r y .   I f   n o n - e m p t y ,   t h e   s e l e c t o r s   u p d a t e   w i l l   o n l y   s u c c e e d   i f   t h i s   i s   t h e   c u r r e n t   r e s o u r c e - v e r s i o n   f o r   t h e   o b j e c t .   O n l y   v a l i d   w h e n   s p e c i f y i n g   a   s i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27158"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27159"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   s e t   -   S e t   s p e c i f i c   f e a t u r e s   o n   o b j e c t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27160"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e   t h e   s e r v i c e   a c c o u n t   o f   p o d   t e m p l a t e   r e s o u r c e s .   P o s s i b l e   r e s o u r c e s   ( c a s e   i n s e n s i t i v e )   c a n   b e :   r e p l i c a t i o n c o n t r o l l e r   ( r c ) ,   d e p l o y m e n t   ( d e p l o y ) ,   d a e m o n s e t   ( d s ) ,   j o b ,   r e p l i c a s e t   ( r s ) ,   s t a t e f u l s e t   k u b e c t l   s e t   s e r v i c e a c c o u n t   ( - f   F I L E N A M E   |   T Y P E   N A M E )   S E R V I C E _ A C C O U N T",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27161"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S e t   d e p l o y m e n t   n g i n x - d e p l o y m e n t ' s   s e r v i c e   a c c o u n t   t o   s e r v i c e a c c o u n t 1   k u b e c t l   s e t   s e r v i c e a c c o u n t   d e p l o y m e n t   n g i n x - d e p l o y m e n t   s e r v i c e a c c o u n t 1   #   P r i n t   t h e   r e s u l t   ( i n   Y A M L   f o r m a t )   o f   u p d a t e d   n g i n x   d e p l o y m e n t   w i t h   t h e   s e r v i c e   a c c o u n t   f r o m   l o c a l   f i l e ,   w i t h o u t   h i t t i n g   t h e   A P I   s e r v e r   k u b e c t l   s e t   s a   - f   n g i n x - d e p l o y m e n t . y a m l   s e r v i c e a c c o u n t 1   - - l o c a l   - - d r y - r u n = c l i e n t   - o   y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27162"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s ,   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   i d e n t i f y i n g   t h e   r e s o u r c e   t o   g e t   f r o m   a   s e r v e r .   h e l p   f o r   s e r v i c e a c c o u n t   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   I f   t r u e ,   s e t   s e r v i c e a c c o u n t   w i l l   N O T   c o n t a c t   a p i - s e r v e r   b u t   r u n   l o c a l l y .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   t h ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27163"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27164"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   s e t   -   S e t   s p e c i f i c   f e a t u r e s   o n   o b j e c t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27165"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e   t h e   u s e r ,   g r o u p ,   o r   s e r v i c e   a c c o u n t   i n   a   r o l e   b i n d i n g   o r   c l u s t e r   r o l e   b i n d i n g .   k u b e c t l   s e t   s u b j e c t   ( - f   F I L E N A M E   |   T Y P E   N A M E )   [ - - u s e r = u s e r n a m e ]   [ - - g r o u p = g r o u p n a m e ]   [ - - s e r v i c e a c c o u n t = n a m e s p a c e : s e r v i c e a c c o u n t n a m e ]   [ - - d r y - r u n = s e r v e r | c l i e n t | n o n e ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27166"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U p d a t e   a   c l u s t e r   r o l e   b i n d i n g   f o r   s e r v i c e a c c o u n t 1   k u b e c t l   s e t   s u b j e c t   c l u s t e r r o l e b i n d i n g   a d m i n   - - s e r v i c e a c c o u n t = n a m e s p a c e : s e r v i c e a c c o u n t 1   #   U p d a t e   a   r o l e   b i n d i n g   f o r   u s e r 1 ,   u s e r 2 ,   a n d   g r o u p 1   k u b e c t l   s e t   s u b j e c t   r o l e b i n d i n g   a d m i n   - - u s e r = u s e r 1   - - u s e r = u s e r 2   - - g r o u p = g r o u p 1   #   P r i n t   t h e   r e s u l t   ( i n   Y A M L   f o r m a t )   o f   u p d a t i n g   r o l e b i n d i n g   s u b j e c t s   f r o m   a   l o c a l ,   w i t h o u t   h i t t i n g   t h e   s e r v e r   k u b e c t l   c r e a t e   r o l e b i n d i n g   a d m i n   - - r o l e = a d m i n   - - u s e r = a d m i n   - o   y a m l   - - d r y - r u n = c l i e n t   |   k u b e c t l   s e t   s u b j e c t   - - l o c a l   - f   -   - - u s e r = f o o   - o   y a m l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27167"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s ,   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   F i l e n a m e ,   d i r e c t o r y ,   o r   U R L   t o   f i l e s   t h e   r e s o u r c e   t o   u p d a t e   t h e   s u b j e c t s   G r o u p s   t o   b i n d   t o   t h e   r o l e   h e l p   f o r   s u b j e c t   P r o c e s s   t h e   k u s t o m i z a t i o n   d i r e c t o r y .   T h i s   f l a g   c a n ' t   b e   u s e d   t o g e t h e r   w i t h   - f   o r   - R .   I f   t r u e ,   s e t   s u b j e c t   w i l l   N O T   c o n t a c t   a p i - s e r v e r   b u t   r u n   l o c a l l y .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   P r o c e s s   t h e   d i r e c t o r y   u s e d   i n   - f ,   - - f i l e n a m e   r e c u r s i v e l y .   U s e f u l   w h e n   y o u   w a n t   t o   m a n a g e   r e l a t e d   m a n i f e s t s   o r g a n i z e d   w i t h i n   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27168"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27169"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   s e t   -   S e t   s p e c i f i c   f e a t u r e s   o n   o b j e c t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27170"
  },
  {
    "question": "What is Synopsis?",
    "answer": "U p d a t e   t h e   t a i n t s   o n   o n e   o r   m o r e   n o d e s .   A   t a i n t   c o n s i s t s   o f   a   k e y ,   v a l u e ,   a n d   e f f e c t .   A s   a n   a r g u m e n t   h e r e ,   i t   i s   e x p r e s s e d   a s   k e y = v a l u e : e f f e c t . T h e   k e y   m u s t   b e g i n   w i t h   a   l e t t e r   o r   n u m b e r ,   a n d   m a y   c o n t a i n   l e t t e r s ,   n u m b e r s ,   h y p h e n s ,   d o t s ,   a n d   u n d e r s c o r e s ,   u p   t o   2 5 3   c h a r a c t e r s . O p t i o n a l l y ,   t h e   k e y   c a n   b e g i n   w i t h   a   D N S   s u b d o m a i n   p r e f i x   a n d   a   s i n g l e   ' / ' ,   l i k e   e x a m p l e . c o m / m y - a p p . T h e   v a l u e   i s   o p t i o n a l .   I f   g i v e n ,   i t   m u s t   b e g i n   w i t h   a   l e t t e r   o r   n u m b e r ,   a n d   m a y   c o n t a i n   l e t t e r s ,   n u m b e r s ,   h y p h e n s ,   d o t s ,   a n d   u n d e r s c o r e s ,   u p   t o   6 3   c h a r a c t e r s . T h e   e f f e c t   m u s t   b e   N o S c h e d u l e ,   P r e f e r N o S c h e d u l e   o r   N o E x e c u t e . C u r r e n t l y   t a i n t   c a n   o n l y   a p p l y   t o   n o d e .   k u b e c t l   t a i n t   N O D E   N A M E   K E Y _ 1 = V A L _ 1 : T A I N T _ E F F E C T _ 1   . . .   K E Y _ N = V A L _ N : T A I N T _ E F F E C T _ N",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27171"
  },
  {
    "question": "What is Examples?",
    "answer": "#   U p d a t e   n o d e   ' f o o '   w i t h   a   t a i n t   w i t h   k e y   ' d e d i c a t e d '   a n d   v a l u e   ' s p e c i a l - u s e r '   a n d   e f f e c t   ' N o S c h e d u l e '   #   I f   a   t a i n t   w i t h   t h a t   k e y   a n d   e f f e c t   a l r e a d y   e x i s t s ,   i t s   v a l u e   i s   r e p l a c e d   a s   s p e c i f i e d   k u b e c t l   t a i n t   n o d e s   f o o   d e d i c a t e d = s p e c i a l - u s e r : N o S c h e d u l e   #   R e m o v e   f r o m   n o d e   ' f o o '   t h e   t a i n t   w i t h   k e y   ' d e d i c a t e d '   a n d   e f f e c t   ' N o S c h e d u l e '   i f   o n e   e x i s t s   k u b e c t l   t a i n t   n o d e s   f o o   d e d i c a t e d : N o S c h e d u l e -   #   R e m o v e   f r o m   n o d e   ' f o o '   a l l   t h e   t a i n t s   w i t h   k e y   ' d e d i c a t e d '   k u b e c t l   t a i n t   n o d e s   f o o   d e d i c a t e d -   #   A d d   a   t a i n t   w i t h   k e y   ' d e d i c a t e d '   o n   n o d e s   h a v i n g   l a b e l   m y L a b e l = X   k u b e c t l   t a i n t   n o d e   - l   m y L a b e l = X   d e d i c a t e d = f o o : P r e f e r N o S c h e d u l e   #   A d d   t o   n o d e   ' f o o '   a   t a i n t   w i t h   k e y   ' b a r '   a n d   n o   v a l u e   k u b e c t l   t a i n t   n o d e s   f o o   b a r : N o S c h e d u l e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27172"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   n o d e s   i n   t h e   c l u s t e r   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   N a m e   o f   t h e   m a n a g e r   u s e d   t o   t r a c k   f i e l d   o w n e r s h i p .   h e l p   f o r   t a i n t   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - f i l e ,   t e m p l a t e ,   t e m p l a t e f i l e ,   j s o n p a t h ,   j s o n p a t h - a s - j s o n ,   j s o n p a t h - f i l e ) .   I f   t r u e ,   a l l o w   t a i n t s   t o   b e   o v e r w r i t t e n ,   o t h e r w i s e   r e j e c t   t a i n t   u p d a t e s   t h a t   o v e r w r i t e   e x i s t i n g   t a i n t s .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   I f   t r u e ,   k e e p   t h e   m a n a g e d F i e l d s   w h e n   p r i n t i n g   o b j e c t s   i n   J S O N   o r   Y A M L   f o r m a t .   T e m p l a t e   s t r i n g   o r   p a t h   t o   t e m p l a t e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27173"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27174"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27175"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   r e s o u r c e   ( C P U / m e m o r y )   u s a g e .   T h i s   c o m m a n d   p r o v i d e s   a   v i e w   o f   r e c e n t   r e s o u r c e   c o n s u m p t i o n   f o r   n o d e s   a n d   p o d s .   I t   f e t c h e s   m e t r i c s   f r o m   t h e   M e t r i c s   S e r v e r ,   w h i c h   a g g r e g a t e s   t h i s   d a t a   f r o m   t h e   k u b e l e t   o n   e a c h   n o d e .   T h e   M e t r i c s   S e r v e r   m u s t   b e   i n s t a l l e d   a n d   r u n n i n g   i n   t h e   c l u s t e r   f o r   t h i s   c o m m a n d   t o   w o r k .   T h e   m e t r i c s   s h o w n   a r e   s p e c i f i c a l l y   o p t i m i z e d   f o r   K u b e r n e t e s   a u t o s c a l i n g   d e c i s i o n s ,   s u c h   a s   t h o s e   m a d e   b y   t h e   H o r i z o n t a l   P o d   A u t o s c a l e r   ( H P A )   a n d   V e r t i c a l   P o d   A u t o s c a l e r   ( V P A ) .   B e c a u s e   o f   t h i s ,   t h e   v a l u e s   m a y   n o t   m a t c h   t h o s e   f r o m   s t a n d a r d   O S   t o o l s   l i k e   ' t o p ' ,   a s   t h e   m e t r i c s   a r e   d e s i g n e d   t o   p r o v i d e   a   s t a b l e   s i g n a l   f o r   a u t o s c a l e r s   r a t h e r   t h a n   f o r   p i n p o i n t   a c c u r a c y .   W h e n   t o   u s e   t h i s   c o m m a n d :   F o r   o n - t h e - f l y   s p o t - c h e c k s   o f   r e s o u r c e   u s a g e   ( e . g .   i d e n t i f y   w h i c h   p o d s   a r e   c o n s u m i n g   t h e   m o s t   r e s o u r c e s   a t   a   g l a n c e ,   o r   g e t   a   q u i c k   s e n s e   o f   t h e   l o a d   o n   y o u r   n o d e s ) U n d e r s t a n d   c u r r e n t   r e s o u r c e   c o n s u m p t i o n   p a t t e r n s V a l i d a t e   t h e   b e h a v i o r   o f   y o u r   H P A   o r   V P A   c o n f i g u r a t i o n s   b y   s e e i n g   t h e   m e t r i c s   t h e y   u s e   f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27176"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   t o p",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27177"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27178"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r k u b e c t l   t o p   n o d e   -   D i s p l a y   r e s o u r c e   ( C P U / m e m o r y )   u s a g e   o f   n o d e s k u b e c t l   t o p   p o d   -   D i s p l a y   r e s o u r c e   ( C P U / m e m o r y )   u s a g e   o f   p o d s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27179"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   r e s o u r c e   ( C P U / m e m o r y )   u s a g e   o f   n o d e s .   T h e   t o p - n o d e   c o m m a n d   a l l o w s   y o u   t o   s e e   t h e   r e s o u r c e   c o n s u m p t i o n   o f   n o d e s .   k u b e c t l   t o p   n o d e   [ N A M E   |   - l   l a b e l ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27180"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S h o w   m e t r i c s   f o r   a l l   n o d e s   k u b e c t l   t o p   n o d e   #   S h o w   m e t r i c s   f o r   a   g i v e n   n o d e   k u b e c t l   t o p   n o d e   N O D E _ N A M E",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27181"
  },
  {
    "question": "What is Options?",
    "answer": "h e l p   f o r   n o d e   I f   p r e s e n t ,   p r i n t   o u t p u t   w i t h o u t   h e a d e r s   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   P r i n t   n o d e   r e s o u r c e s   b a s e d   o n   C a p a c i t y   i n s t e a d   o f   A l l o c a t a b l e ( d e f a u l t )   o f   t h e   n o d e s .   P r i n t   n o d e   r e s o u r c e s   r e l a t e d   t o   s w a p   m e m o r y .   I f   n o n - e m p t y ,   s o r t   n o d e s   l i s t   u s i n g   s p e c i f i e d   f i e l d .   T h e   f i e l d   c a n   b e   e i t h e r   ' c p u '   o r   ' m e m o r y ' .   E n a b l e s   u s i n g   p r o t o c o l - b u f f e r s   t o   a c c e s s   M e t r i c s   A P I .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27182"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27183"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   t o p   -   D i s p l a y   r e s o u r c e   ( C P U / m e m o r y )   u s a g e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27184"
  },
  {
    "question": "What is Synopsis?",
    "answer": "D i s p l a y   r e s o u r c e   ( C P U / m e m o r y )   u s a g e   o f   p o d s .   T h e   ' t o p   p o d '   c o m m a n d   a l l o w s   y o u   t o   s e e   t h e   r e s o u r c e   c o n s u m p t i o n   o f   p o d s .   D u e   t o   t h e   m e t r i c s   p i p e l i n e   d e l a y ,   t h e y   m a y   b e   u n a v a i l a b l e   f o r   a   f e w   m i n u t e s   s i n c e   p o d   c r e a t i o n .   k u b e c t l   t o p   p o d   [ N A M E   |   - l   l a b e l ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27185"
  },
  {
    "question": "What is Examples?",
    "answer": "#   S h o w   m e t r i c s   f o r   a l l   p o d s   i n   t h e   d e f a u l t   n a m e s p a c e   k u b e c t l   t o p   p o d   #   S h o w   m e t r i c s   f o r   a l l   p o d s   i n   t h e   g i v e n   n a m e s p a c e   k u b e c t l   t o p   p o d   - - n a m e s p a c e = N A M E S P A C E   #   S h o w   m e t r i c s   f o r   a   g i v e n   p o d   a n d   i t s   c o n t a i n e r s   k u b e c t l   t o p   p o d   P O D _ N A M E   - - c o n t a i n e r s   #   S h o w   m e t r i c s   f o r   t h e   p o d s   d e f i n e d   b y   l a b e l   n a m e = m y L a b e l   k u b e c t l   t o p   p o d   - l   n a m e = m y L a b e l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27186"
  },
  {
    "question": "What is Options?",
    "answer": "I f   p r e s e n t ,   l i s t   t h e   r e q u e s t e d   o b j e c t ( s )   a c r o s s   a l l   n a m e s p a c e s .   N a m e s p a c e   i n   c u r r e n t   c o n t e x t   i s   i g n o r e d   e v e n   i f   s p e c i f i e d   w i t h   - - n a m e s p a c e .   I f   p r e s e n t ,   p r i n t   u s a g e   o f   c o n t a i n e r s   w i t h i n   a   p o d .   S e l e c t o r   ( f i e l d   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   a n d   ' ! = ' . ( e . g .   - - f i e l d - s e l e c t o r   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 ) .   T h e   s e r v e r   o n l y   s u p p o r t s   a   l i m i t e d   n u m b e r   o f   f i e l d   q u e r i e s   p e r   t y p e .   h e l p   f o r   p o d   I f   p r e s e n t ,   p r i n t   o u t p u t   w i t h o u t   h e a d e r s .   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .   P r i n t   p o d   r e s o u r c e s   r e l a t e d   t o   s w a p   m e m o r y .   I f   n o n - e m p t y ,   s o r t   p o d s   l i s t   u s i n g   s p e c i f i e d   f i e l d .   T h e   f i e l d   c a n   b e   e i t h e r   ' c p u '   o r   ' m e m o r y ' .   P r i n t   t h e   s u m   o f   t h e   r e s o u r c e   u s a g e   E n a b l e s   u s i n g   p r o t o c o l - b u f f e r s   t o   a c c e s s   M e t r i c s   A P I .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27187"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27188"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   t o p   -   D i s p l a y   r e s o u r c e   ( C P U / m e m o r y )   u s a g e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27189"
  },
  {
    "question": "What is Synopsis?",
    "answer": "M a r k   n o d e   a s   s c h e d u l a b l e .   k u b e c t l   u n c o r d o n   N O D E",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27190"
  },
  {
    "question": "What is Examples?",
    "answer": "#   M a r k   n o d e   \" f o o \"   a s   s c h e d u l a b l e   k u b e c t l   u n c o r d o n   f o o",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27191"
  },
  {
    "question": "What is Options?",
    "answer": "M u s t   b e   \" n o n e \" ,   \" s e r v e r \" ,   o r   \" c l i e n t \" .   I f   c l i e n t   s t r a t e g y ,   o n l y   p r i n t   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t ,   w i t h o u t   s e n d i n g   i t .   I f   s e r v e r   s t r a t e g y ,   s u b m i t   s e r v e r - s i d e   r e q u e s t   w i t h o u t   p e r s i s t i n g   t h e   r e s o u r c e .   h e l p   f o r   u n c o r d o n   S e l e c t o r   ( l a b e l   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   ' ! = ' ,   ' i n ' ,   ' n o t i n ' . ( e . g .   - l   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 , k e y 3   i n   ( v a l u e 3 ) ) .   M a t c h i n g   o b j e c t s   m u s t   s a t i s f y   a l l   o f   t h e   s p e c i f i e d   l a b e l   c o n s t r a i n t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27192"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27193"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27194"
  },
  {
    "question": "What is Synopsis?",
    "answer": "P r i n t   t h e   c l i e n t   a n d   s e r v e r   v e r s i o n   i n f o r m a t i o n   f o r   t h e   c u r r e n t   c o n t e x t .   k u b e c t l   v e r s i o n   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27195"
  },
  {
    "question": "What is Examples?",
    "answer": "#   P r i n t   t h e   c l i e n t   a n d   s e r v e r   v e r s i o n s   f o r   t h e   c u r r e n t   c o n t e x t   k u b e c t l   v e r s i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27196"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   s h o w s   c l i e n t   v e r s i o n   o n l y   ( n o   s e r v e r   r e q u i r e d ) .   h e l p   f o r   v e r s i o n   O n e   o f   ' y a m l '   o r   ' j s o n ' .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27197"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27198"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27199"
  },
  {
    "question": "What is Synopsis?",
    "answer": "E x p e r i m e n t a l :   W a i t   f o r   a   s p e c i f i c   c o n d i t i o n   o n   o n e   o r   m a n y   r e s o u r c e s .   T h e   c o m m a n d   t a k e s   m u l t i p l e   r e s o u r c e s   a n d   w a i t s   u n t i l   t h e   s p e c i f i e d   c o n d i t i o n   i s   s e e n   i n   t h e   S t a t u s   f i e l d   o f   e v e r y   g i v e n   r e s o u r c e .   A l t e r n a t i v e l y ,   t h e   c o m m a n d   c a n   w a i t   f o r   t h e   g i v e n   s e t   o f   r e s o u r c e s   t o   b e   c r e a t e d   o r   d e l e t e d   b y   p r o v i d i n g   t h e   \" c r e a t e \"   o r   \" d e l e t e \"   k e y w o r d   a s   t h e   v a l u e   t o   t h e   - - f o r   f l a g .   A   s u c c e s s f u l   m e s s a g e   w i l l   b e   p r i n t e d   t o   s t d o u t   i n d i c a t i n g   w h e n   t h e   s p e c i f i e d   c o n d i t i o n   h a s   b e e n   m e t .   Y o u   c a n   u s e   - o   o p t i o n   t o   c h a n g e   t o   o u t p u t   d e s t i n a t i o n .   k u b e c t l   w a i t   ( [ - f   F I L E N A M E ]   |   r e s o u r c e . g r o u p / r e s o u r c e . n a m e   |   r e s o u r c e . g r o u p   [ ( - l   l a b e l   |   - - a l l ) ] )   [ - - f o r = c r e a t e | - - f o r = d e l e t e | - - f o r   c o n d i t i o n = a v a i l a b l e | - - f o r = j s o n p a t h = ' { } ' [ = v a l u e ] ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27200"
  },
  {
    "question": "What is Examples?",
    "answer": "#   W a i t   f o r   t h e   p o d   \" b u s y b o x 1 \"   t o   c o n t a i n   t h e   s t a t u s   c o n d i t i o n   o f   t y p e   \" R e a d y \"   k u b e c t l   w a i t   - - f o r = c o n d i t i o n = R e a d y   p o d / b u s y b o x 1   #   T h e   d e f a u l t   v a l u e   o f   s t a t u s   c o n d i t i o n   i s   t r u e ;   y o u   c a n   w a i t   f o r   o t h e r   t a r g e t s   a f t e r   a n   e q u a l   d e l i m i t e r   ( c o m p a r e d   a f t e r   U n i c o d e   s i m p l e   c a s e   f o l d i n g ,   w h i c h   i s   a   m o r e   g e n e r a l   f o r m   o f   c a s e - i n s e n s i t i v i t y )   k u b e c t l   w a i t   - - f o r = c o n d i t i o n = R e a d y = f a l s e   p o d / b u s y b o x 1   #   W a i t   f o r   t h e   p o d   \" b u s y b o x 1 \"   t o   c o n t a i n   t h e   s t a t u s   p h a s e   t o   b e   \" R u n n i n g \"   k u b e c t l   w a i t   - - f o r = j s o n p a t h = ' { . s t a t u s . p h a s e } ' = R u n n i n g   p o d / b u s y b o x 1   #   W a i t   f o r   p o d   \" b u s y b o x 1 \"   t o   b e   R e a d y   k u b e c t l   w a i t   - - f o r = ' j s o n p a t h = { . s t a t u s . c o n d i t i o n s [ ? ( @ . t y p e = = \" R e a d y \" ) ] . s t a t u s } = T r u e '   p o d / b u s y b o x 1   #   W a i t   f o r   t h e   s e r v i c e   \" l o a d b a l a n c e r \"   t o   h a v e   i n g r e s s   k u b e c t l   w a i t   - - f o r = j s o n p a t h = ' { . s t a t u s . l o a d B a l a n c e r . i n g r e s s } '   s e r v i c e / l o a d b a l a n c e r   #   W a i t   f o r   t h e   s e c r e t   \" b u s y b o x 1 \"   t o   b e   c r e a t e d ,   w i t h   a   t i m e o u t   o f   3 0 s   k u b e c t l   c r e a t e   s e c r e t   g e n e r i c   b u s y b o x 1   k u b e c t l   w a i t   - - f o r = c r e a t e   s e c r e t / b u s y b o x 1   - - t i m e o u t = 3 0 s   #   W a i t   f o r   t h e   p o d   \" b u s y b o x 1 \"   t o   b e   d e l e t e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27201"
  },
  {
    "question": "What is Options?",
    "answer": "S e l e c t   a l l   r e s o u r c e s   i n   t h e   n a m e s p a c e   o f   t h e   s p e c i f i e d   r e s o u r c e   t y p e s   I f   p r e s e n t ,   l i s t   t h e   r e q u e s t e d   o b j e c t ( s )   a c r o s s   a l l   n a m e s p a c e s .   N a m e s p a c e   i n   c u r r e n t   c o n t e x t   i s   i g n o r e d   e v e n   i f   s p e c i f i e d   w i t h   - - n a m e s p a c e .   I f   t r u e ,   i g n o r e   a n y   e r r o r s   i n   t e m p l a t e s   w h e n   a   f i e l d   o r   m a p   k e y   i s   m i s s i n g   i n   t h e   t e m p l a t e .   O n l y   a p p l i e s   t o   g o l a n g   a n d   j s o n p a t h   o u t p u t   f o r m a t s .   S e l e c t o r   ( f i e l d   q u e r y )   t o   f i l t e r   o n ,   s u p p o r t s   ' = ' ,   ' = = ' ,   a n d   ' ! = ' . ( e . g .   - - f i e l d - s e l e c t o r   k e y 1 = v a l u e 1 , k e y 2 = v a l u e 2 ) .   T h e   s e r v e r   o n l y   s u p p o r t s   a   l i m i t e d   n u m b e r   o f   f i e l d   q u e r i e s   p e r   t y p e .   i d e n t i f y i n g   t h e   r e s o u r c e .   T h e   c o n d i t i o n   t o   w a i t   o n :   [ c r e a t e | d e l e t e | c o n d i t i o n = c o n d i t i o n - n a m e [ = c o n d i t i o n - v a l u e ] | j s o n p a t h = ' { J S O N P a t h   e x p r e s s i o n } ' = [ J S O N P a t h   v a l u e ] ] .   T h e   d e f a u l t   c o n d i t i o n - v a l u e   i s   t r u e .   C o n d i t i o n   v a l u e s   a r e   c o m p a r e d   a f t e r   U n i c o d e   s i m p l e   c a s e   f o l d i n g ,   w h i c h   i s   a   m o r e   g e n e r a l   f o r m   o f   c a s e - i n s e n s i t i v i t y .   h e l p   f o r   w a i t   I f   t r u e ,   a n n o t a t i o n   w i l l   N O T   c o n t a c t   a p i - s e r v e r   b u t   r u n   l o c a l l y .   O u t p u t   f o r m a t .   O n e   o f :   ( j s o n ,   y a m l ,   n a m e ,   g o - t e m p l a t e ,   g o - t e m p l a t e - ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27202"
  },
  {
    "question": "What is Parent Options Inherited?",
    "answer": "U s e r n a m e   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   U s e r   c o u l d   b e   a   r e g u l a r   u s e r   o r   a   s e r v i c e   a c c o u n t   i n   a   n a m e s p a c e .   G r o u p   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n ,   t h i s   f l a g   c a n   b e   r e p e a t e d   t o   s p e c i f y   m u l t i p l e   g r o u p s .   U I D   t o   i m p e r s o n a t e   f o r   t h e   o p e r a t i o n .   D e f a u l t   c a c h e   d i r e c t o r y   P a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y   P a t h   t o   a   c l i e n t   c e r t i f i c a t e   f i l e   f o r   T L S   P a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S   T h e   n a m e   o f   t h e   k u b e c o n f i g   c l u s t e r   t o   u s e   T h e   n a m e   o f   t h e   k u b e c o n f i g   c o n t e x t   t o   u s e   I f   t r u e ,   o p t - o u t   o f   r e s p o n s e   c o m p r e s s i o n   f o r   a l l   r e q u e s t s   t o   t h e   s e r v e r   I f   t r u e ,   t h e   s e r v e r ' s   c e r t i f i c a t e   w i l l   n o t   b e   c h e c k e d   f o r   v a l i d i t y .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e   P a t h   t o   t h e   k u b e c o n f i g   f i l e   t o   u s e   f o r   C L I   r e q u e s t s .   P a t h   t o   t h e   k u b e r c   f i l e   t o   u s e   f o r   p r e f e r e n c e s .   T h i s   c a n   b e   d i s a b l e d   b y   e x p o r t i n g   K U B E C T L _ K U B E R C = f a l s e   f e a t u r e   g a t e   o r   t u r n i n g   o f f   t h e   f e a t u r e   K U B E R C = o f f .   R e q u i r e   s e r v e r   v e r s i o n   t o   m a t c h   c l i e n t   v e r s i o n   I f   p r e s e n t ,   t h e   n a m e s p a c e   s c o p e   f o r   t h i s   C L I   r e q u e s t   P a s s w o r d   f o r   b a s i c   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27203"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   -   k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27204"
  },
  {
    "question": "What is 11.4 - kubectl Commands?",
    "answer": "k u b e c t l   C o m m a n d   R e f e r e n c e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_27205"
  },
  {
    "question": "What is Synopsis?",
    "answer": "k u b e c t l   c o n t r o l s   t h e   K u b e r n e t e s   c l u s t e r   m a n a g e r .   F i n d   m o r e   i n f o r m a t i o n   i n   C o m m a n d   l i n e   t o o l   ( k u b e c t l ) .   k u b e c t l   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27206"
  },
  {
    "question": "What is See Also?",
    "answer": "k u b e c t l   a n n o t a t e   -   U p d a t e   t h e   a n n o t a t i o n s   o n   a   r e s o u r c e k u b e c t l   a p i - r e s o u r c e s   -   P r i n t   t h e   s u p p o r t e d   A P I   r e s o u r c e s   o n   t h e   s e r v e r k u b e c t l   a p i - v e r s i o n s   -   P r i n t   t h e   s u p p o r t e d   A P I   v e r s i o n s   o n   t h e   s e r v e r ,   i n   t h e   f o r m   o f   \" g r o u p / v e r s i o n \" k u b e c t l   a p p l y   -   A p p l y   a   c o n f i g u r a t i o n   t o   a   r e s o u r c e   b y   f i l e n a m e   o r   s t d i n k u b e c t l   a t t a c h   -   A t t a c h   t o   a   r u n n i n g   c o n t a i n e r k u b e c t l   a u t h   -   I n s p e c t   a u t h o r i z a t i o n k u b e c t l   a u t o s c a l e   -   A u t o - s c a l e   a   D e p l o y m e n t ,   R e p l i c a S e t ,   o r   R e p l i c a t i o n C o n t r o l l e r k u b e c t l   c e r t i f i c a t e   -   M o d i f y   c e r t i f i c a t e   r e s o u r c e s . k u b e c t l   c l u s t e r - i n f o   -   D i s p l a y   c l u s t e r   i n f o k u b e c t l   c o m p l e t i o n   -   O u t p u t   s h e l l   c o m p l e t i o n   c o d e   f o r   t h e   s p e c i f i e d   s h e l l   ( b a s h   o r   z s h ) k u b e c t l   c o n f i g   -   M o d i f y   k u b e c o n f i g   f i l e s k u b e c t l   c o r d o n   -   M a r k   n o d e   a s   u n s c h e d u l a b l e k u b e c t l   c p   -   C o p y   f i l e s   a n d   d i r e c t o r i e s   t o   a n d   f r o m   c o n t a i n e r s . k u b e c t l   c r e a t e   -   C r e a t e   a   r e s o u r c e   f r o m   a   f i l e   o r   f r o m   s t d i n . k u b e c t l   d e b u g   -   C r e a t e   d e b u g g i n g   s e s s i o n s   f o r   t r o u b l e s h o o t i n g   w o r k l o a d s   a n d   n o d e s k u b e c t l   d e l e t e   -   D e l e t e   r e s o u r c e s   b y   f i l e n a m e s ,   s t d i n ,   r e s o u r c e s   a n d   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27207"
  },
  {
    "question": "What is 11.6 - JSONPath Support?",
    "answer": "T h e   k u b e c t l   t o o l   s u p p o r t s   J S O N P a t h   t e m p l a t e s   a s   a n   o u t p u t   f o r m a t .   A   J S O N P a t h   t e m p l a t e   i s   c o m p o s e d   o f   J S O N P a t h   e x p r e s s i o n s   e n c l o s e d   b y   c u r l y   b r a c e s :   {   a n d   } .   K u b e c t l   u s e s   J S O N P a t h   e x p r e s s i o n s   t o   f i l t e r   o n   s p e c i f i c   f i e l d s   i n   t h e   J S O N   o b j e c t   a n d   f o r m a t   t h e   o u t p u t .   I n   a d d i t i o n   t o   t h e   o r i g i n a l   J S O N P a t h   t e m p l a t e   s y n t a x ,   t h e   f o l l o w i n g   f u n c t i o n s   a n d   s y n t a x   a r e   v a l i d :   U s e   d o u b l e   q u o t e s   t o   q u o t e   t e x t   i n s i d e   J S O N P a t h   e x p r e s s i o n s . U s e   t h e   r a n g e ,   e n d   o p e r a t o r s   t o   i t e r a t e   l i s t s . U s e   n e g a t i v e   s l i c e   i n d i c e s   t o   s t e p   b a c k w a r d s   t h r o u g h   a   l i s t . N e g a t i v e   i n d i c e s   d o   n o t   \" w r a p   a r o u n d \"   a   l i s t   a n d   a r e   v a l i d   a s   l o n g   a s   \\ (   (   -   i n d e x   +   l i s t L e n g t h   )   \\ g e   0   \\ ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_27208"
  },
  {
    "question": "What is Note:?",
    "answer": "T h e   $   o p e r a t o r   i s   o p t i o n a l   s i n c e   t h e   e x p r e s s i o n   a l w a y s   s t a r t s   f r o m   t h e   r o o t   o b j e c t   b y   d e f a u l t . T h e   r e s u l t   o b j e c t   i s   p r i n t e d   a s   i t s   S t r i n g ( )   f u n c t i o n .   T h e   $   o p e r a t o r   i s   o p t i o n a l   s i n c e   t h e   e x p r e s s i o n   a l w a y s   s t a r t s   f r o m   t h e   r o o t   o b j e c t   b y   d e f a u l t .   T h e   r e s u l t   o b j e c t   i s   p r i n t e d   a s   i t s   S t r i n g ( )   f u n c t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_27209"
  },
  {
    "question": "What is Functions in Kubernetes JSONPath?",
    "answer": "G i v e n   t h e   J S O N   i n p u t :   {   \" k i n d \" :   \" L i s t \" ,   \" i t e m s \" : [   {   \" k i n d \" : \" N o n e \" ,   \" m e t a d a t a \" : {   \" n a m e \" : \" 1 2 7 . 0 . 0 . 1 \" ,   \" l a b e l s \" : {   \" k u b e r n e t e s . i o / h o s t n a m e \" : \" 1 2 7 . 0 . 0 . 1 \"   }   } ,   \" s t a t u s \" : {   \" c a p a c i t y \" : { \" c p u \" : \" 4 \" } ,   \" a d d r e s s e s \" : [ { \" t y p e \" :   \" L e g a c y H o s t I P \" ,   \" a d d r e s s \" : \" 1 2 7 . 0 . 0 . 1 \" } ]   }   } ,   {   \" k i n d \" : \" N o n e \" ,   \" m e t a d a t a \" : { \" n a m e \" : \" 1 2 7 . 0 . 0 . 2 \" } ,   \" s t a t u s \" : {   \" c a p a c i t y \" : { \" c p u \" : \" 8 \" } ,   \" a d d r e s s e s \" : [   { \" t y p e \" :   \" L e g a c y H o s t I P \" ,   \" a d d r e s s \" : \" 1 2 7 . 0 . 0 . 2 \" } ,   { \" t y p e \" :   \" a n o t h e r \" ,   \" a d d r e s s \" : \" 1 2 7 . 0 . 0 . 3 \" }   ]   }   }   ] ,   \" u s e r s \" : [   {   \" n a m e \" :   \" m y s e l f \" ,   \" u s e r \" :   { }   } ,   {   \" n a m e \" :   \" e 2 e \" ,   \" u s e r \" :   { \" u s e r n a m e \" :   \" a d m i n \" ,   \" p a s s w o r d \" :   \" s e c r e t \" }   }   ]   }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27210"
  },
  {
    "question": "What is Using JSONPath expressions with kubectl?",
    "answer": "E x a m p l e s   u s i n g   k u b e c t l   a n d   J S O N P a t h   e x p r e s s i o n s :   k u b e c t l   g e t   p o d s   - o   j s o n   k u b e c t l   g e t   p o d s   - o = j s o n p a t h = ' { @ } '   k u b e c t l   g e t   p o d s   - o = j s o n p a t h = ' { . i t e m s [ 0 ] } '   k u b e c t l   g e t   p o d s   - o = j s o n p a t h = ' { . i t e m s [ 0 ] . m e t a d a t a . n a m e } '   k u b e c t l   g e t   p o d s   - o = j s o n p a t h = \" { . i t e m s [ * ] [ ' m e t a d a t a . n a m e ' ,   ' s t a t u s . c a p a c i t y ' ] } \"   k u b e c t l   g e t   p o d s   - o = j s o n p a t h = ' { r a n g e   . i t e m s [ * ] } { . m e t a d a t a . n a m e } { \" \\ t \" } { . s t a t u s . s t a r t T i m e } { \" \\ n \" } { e n d } '   k u b e c t l   g e t   p o d s   - o = j s o n p a t h = ' { . i t e m s [ 0 ] . m e t a d a t a . l a b e l s . k u b e r n e t e s \\ . i o / h o s t n a m e } '   O r ,   w i t h   a   \" m y _ p o d \"   a n d   \" m y _ n a m e s p a c e \"   ( a d j u s t   t h e s e   n a m e s   t o   y o u r   e n v i r o n m e n t ) :   k u b e c t l   g e t   p o d / m y _ p o d   - n   m y _ n a m e s p a c e   - o = j s o n p a t h = ' { @ } '   k u b e c t l   g e t   p o d / m y _ p o d   - n   m y _ n a m e s p a c e   - o = j s o n p a t h = ' { . m e t a d a t a . n a m e } '   k u b e c t l   g e t   p o d / m y _ p o d   - n   m y _ n a m e s p a c e   - o = j s o n p a t h = ' { . s t a t u s } '",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27211"
  },
  {
    "question": "What is Note:?",
    "answer": "O n   W i n d o w s ,   y o u   m u s t   d o u b l e   q u o t e   a n y   J S O N P a t h   t e m p l a t e   t h a t   c o n t a i n s   s p a c e s   ( n o t   s i n g l e   q u o t e   a s   s h o w n   a b o v e   f o r   b a s h ) .   T h i s   i n   t u r n   m e a n s   t h a t   y o u   m u s t   u s e   a   s i n g l e   q u o t e   o r   e s c a p e d   d o u b l e   q u o t e   a r o u n d   a n y   l i t e r a l s   i n   t h e   t e m p l a t e .   F o r   e x a m p l e :   k u b e c t l   g e t   p o d s   - o = j s o n p a t h = \" { r a n g e   . i t e m s [ * ] } { . m e t a d a t a . n a m e } { ' \\ t ' } { . s t a t u s . s t a r t T i m e } { ' \\ n ' } { e n d } \"   k u b e c t l   g e t   p o d s   - o = j s o n p a t h = \" { r a n g e   . i t e m s [ * ] } { . m e t a d a t a . n a m e } { \\ \" \\ t \\ \" } { . s t a t u s . s t a r t T i m e } { \\ \" \\ n \\ \" } { e n d } \"",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_27212"
  },
  {
    "question": "What is Regular expressions in JSONPath?",
    "answer": "J S O N P a t h   r e g u l a r   e x p r e s s i o n s   a r e   n o t   s u p p o r t e d .   I f   y o u   w a n t   t o   m a t c h   u s i n g   r e g u l a r   e x p r e s s i o n s ,   y o u   c a n   u s e   a   t o o l   s u c h   a s   j q .   #   k u b e c t l   d o e s   n o t   s u p p o r t   r e g u l a r   e x p r e s s i o n s   f o r   J S O N p a t h   o u t p u t   #   T h e   f o l l o w i n g   c o m m a n d   d o e s   n o t   w o r k   k u b e c t l   g e t   p o d s   - o   j s o n p a t h = ' { . i t e m s [ ? ( @ . m e t a d a t a . n a m e = ~ / ^ t e s t $ / ) ] . m e t a d a t a . n a m e } '   #   T h e   f o l l o w i n g   c o m m a n d   a c h i e v e s   t h e   d e s i r e d   r e s u l t   k u b e c t l   g e t   p o d s   - o   j s o n   |   j q   - r   ' . i t e m s [ ]   |   s e l e c t ( . m e t a d a t a . n a m e   |   t e s t ( \" t e s t - \" ) ) . m e t a d a t a . n a m e '",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27213"
  },
  {
    "question": "What is 11.7 - kubectl for Docker Users?",
    "answer": "Y o u   c a n   u s e   t h e   K u b e r n e t e s   c o m m a n d   l i n e   t o o l   k u b e c t l   t o   i n t e r a c t   w i t h   t h e   A P I   S e r v e r .   U s i n g   k u b e c t l   i s   s t r a i g h t f o r w a r d   i f   y o u   a r e   f a m i l i a r   w i t h   t h e   D o c k e r   c o m m a n d   l i n e   t o o l .   H o w e v e r ,   t h e r e   a r e   a   f e w   d i f f e r e n c e s   b e t w e e n   t h e   D o c k e r   c o m m a n d s   a n d   t h e   k u b e c t l   c o m m a n d s .   T h e   f o l l o w i n g   s e c t i o n s   s h o w   a   D o c k e r   s u b - c o m m a n d   a n d   d e s c r i b e   t h e   e q u i v a l e n t   k u b e c t l   c o m m a n d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_27214"
  },
  {
    "question": "What is docker run?",
    "answer": "T o   r u n   a n   n g i n x   D e p l o y m e n t   a n d   e x p o s e   t h e   D e p l o y m e n t ,   s e e   k u b e c t l   c r e a t e   d e p l o y m e n t .   d o c k e r :   d o c k e r   r u n   - d   - - r e s t a r t = a l w a y s   - e   D O M A I N = c l u s t e r   - - n a m e   n g i n x - a p p   - p   8 0 : 8 0   n g i n x   5 5 c 1 0 3 f a 1 2 9 6 9 2 1 5 4 a 7 6 5 2 4 9 0 2 3 6 f e e 9 b e 4 7 d 7 0 a 8 d d 5 6 2 2 8 1 a e 7 d 2 f 9 a 3 3 9 a 6 d b   d o c k e r   p s   C O N T A I N E R   I D   I M A G E   C O M M A N D   C R E A T E D   S T A T U S   P O R T S   N A M E S   5 5 c 1 0 3 f a 1 2 9 6   n g i n x   \" n g i n x   - g   ' d a e m o n   o f … \"   9   s e c o n d s   a g o   U p   9   s e c o n d s   0 . 0 . 0 . 0 : 8 0 - > 8 0 / t c p   n g i n x - a p p   k u b e c t l :   #   s t a r t   t h e   p o d   r u n n i n g   n g i n x   k u b e c t l   c r e a t e   d e p l o y m e n t   - - i m a g e = n g i n x   n g i n x - a p p   d e p l o y m e n t . a p p s / n g i n x - a p p   c r e a t e d   #   a d d   e n v   t o   n g i n x - a p p   k u b e c t l   s e t   e n v   d e p l o y m e n t / n g i n x - a p p   D O M A I N = c l u s t e r   d e p l o y m e n t . a p p s / n g i n x - a p p   e n v   u p d a t e d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27215"
  },
  {
    "question": "What is Note:?",
    "answer": "#   e x p o s e   a   p o r t   t h r o u g h   w i t h   a   s e r v i c e   k u b e c t l   e x p o s e   d e p l o y m e n t   n g i n x - a p p   - - p o r t = 8 0   - - n a m e = n g i n x - h t t p   s e r v i c e   \" n g i n x - h t t p \"   e x p o s e d   B y   u s i n g   k u b e c t l ,   y o u   c a n   c r e a t e   a   D e p l o y m e n t   t o   e n s u r e   t h a t   N   p o d s   a r e   r u n n i n g   n g i n x ,   w h e r e   N   i s   t h e   n u m b e r   o f   r e p l i c a s   s t a t e d   i n   t h e   s p e c   a n d   d e f a u l t s   t o   1 .   Y o u   c a n   a l s o   c r e a t e   a   s e r v i c e   w i t h   a   s e l e c t o r   t h a t   m a t c h e s   t h e   p o d   l a b e l s .   F o r   m o r e   i n f o r m a t i o n ,   s e e   U s e   a   S e r v i c e   t o   A c c e s s   a n   A p p l i c a t i o n   i n   a   C l u s t e r .   B y   d e f a u l t   i m a g e s   r u n   i n   t h e   b a c k g r o u n d ,   s i m i l a r   t o   d o c k e r   r u n   - d   . . . .   T o   r u n   t h i n g s   i n   t h e   f o r e g r o u n d ,   u s e   k u b e c t l   r u n   t o   c r e a t e   p o d :   k u b e c t l   r u n   [ - i ]   [ - - t t y ]   - - a t t a c h   < n a m e >   - - i m a g e = < i m a g e >   U n l i k e   d o c k e r   r u n   . . . ,   i f   y o u   s p e c i f y   - - a t t a c h ,   t h e n   y o u   a t t a c h   s t d i n ,   s t d o u t   a n d   s t d e r r .   Y o u   c a n n o t   c o n t r o l   w h i c h   s t r e a m s   a r e   a t t a c h e d   ( d o c k e r   - a   . . . ) .   T o   d e t a c h   f r o m   t h e   c o n t a i n e r ,   y o u   c a n   t y p e   t h e   e s c a p e   s e q u e n c e   C t r l + P   f o l l o w e d   b y   C t r l + Q .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_27216"
  },
  {
    "question": "What is docker ps?",
    "answer": "T o   l i s t   w h a t   i s   c u r r e n t l y   r u n n i n g ,   s e e   k u b e c t l   g e t .   d o c k e r :   d o c k e r   p s   - a   C O N T A I N E R   I D   I M A G E   C O M M A N D   C R E A T E D   S T A T U S   P O R T S   N A M E S   1 4 6 3 6 2 4 1 9 3 5 f   u b u n t u : 1 6 . 0 4   \" e c h o   t e s t \"   5   s e c o n d s   a g o   E x i t e d   ( 0 )   5   s e c o n d s   a g o   c o c k y _ f e r m i   5 5 c 1 0 3 f a 1 2 9 6   n g i n x   \" n g i n x   - g   ' d a e m o n   o f … \"   A b o u t   a   m i n u t e   a g o   U p   A b o u t   a   m i n u t e   0 . 0 . 0 . 0 : 8 0 - > 8 0 / t c p   n g i n x - a p p   k u b e c t l :   k u b e c t l   g e t   p o   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   n g i n x - a p p - 8 d f 5 6 9 c b 7 - 4 g d 8 9   1 / 1   R u n n i n g   0   3 m   u b u n t u   0 / 1   C o m p l e t e d   0   2 0 s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27217"
  },
  {
    "question": "What is docker attach?",
    "answer": "T o   a t t a c h   a   p r o c e s s   t h a t   i s   a l r e a d y   r u n n i n g   i n   a   c o n t a i n e r ,   s e e   k u b e c t l   a t t a c h .   d o c k e r :   d o c k e r   p s   C O N T A I N E R   I D   I M A G E   C O M M A N D   C R E A T E D   S T A T U S   P O R T S   N A M E S   5 5 c 1 0 3 f a 1 2 9 6   n g i n x   \" n g i n x   - g   ' d a e m o n   o f … \"   5   m i n u t e s   a g o   U p   5   m i n u t e s   0 . 0 . 0 . 0 : 8 0 - > 8 0 / t c p   n g i n x - a p p   d o c k e r   a t t a c h   5 5 c 1 0 3 f a 1 2 9 6   . . .   k u b e c t l :   k u b e c t l   g e t   p o d s   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   n g i n x - a p p - 5 j y v m   1 / 1   R u n n i n g   0   1 0 m   k u b e c t l   a t t a c h   - i t   n g i n x - a p p - 5 j y v m   . . .   T o   d e t a c h   f r o m   t h e   c o n t a i n e r ,   y o u   c a n   t y p e   t h e   e s c a p e   s e q u e n c e   C t r l + P   f o l l o w e d   b y   C t r l + Q .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27218"
  },
  {
    "question": "What is docker exec?",
    "answer": "T o   e x e c u t e   a   c o m m a n d   i n   a   c o n t a i n e r ,   s e e   k u b e c t l   e x e c .   d o c k e r :   d o c k e r   p s   C O N T A I N E R   I D   I M A G E   C O M M A N D   C R E A T E D   S T A T U S   P O R T S   N A M E S   5 5 c 1 0 3 f a 1 2 9 6   n g i n x   \" n g i n x   - g   ' d a e m o n   o f … \"   6   m i n u t e s   a g o   U p   6   m i n u t e s   0 . 0 . 0 . 0 : 8 0 - > 8 0 / t c p   n g i n x - a p p   d o c k e r   e x e c   5 5 c 1 0 3 f a 1 2 9 6   c a t   / e t c / h o s t n a m e   5 5 c 1 0 3 f a 1 2 9 6   k u b e c t l :   k u b e c t l   g e t   p o   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   n g i n x - a p p - 5 j y v m   1 / 1   R u n n i n g   0   1 0 m   k u b e c t l   e x e c   n g i n x - a p p - 5 j y v m   - -   c a t   / e t c / h o s t n a m e   n g i n x - a p p - 5 j y v m   T o   u s e   i n t e r a c t i v e   c o m m a n d s .   d o c k e r :   d o c k e r   e x e c   - t i   5 5 c 1 0 3 f a 1 2 9 6   / b i n / s h   #   e x i t   k u b e c t l :   k u b e c t l   e x e c   - t i   n g i n x - a p p - 5 j y v m   - -   / b i n / s h   #   e x i t   F o r   m o r e   i n f o r m a t i o n ,   s e e   G e t   a   S h e l l   t o   a   R u n n i n g   C o n t a i n e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27219"
  },
  {
    "question": "What is docker logs?",
    "answer": "T o   f o l l o w   s t d o u t / s t d e r r   o f   a   p r o c e s s   t h a t   i s   r u n n i n g ,   s e e   k u b e c t l   l o g s .   d o c k e r :   d o c k e r   l o g s   - f   a 9 e   1 9 2 . 1 6 8 . 9 . 1   -   -   [ 1 4 / J u l / 2 0 1 5 : 0 1 : 0 4 : 0 2   + 0 0 0 0 ]   \" G E T   /   H T T P / 1 . 1 \"   2 0 0   6 1 2   \" - \"   \" c u r l / 7 . 3 5 . 0 \"   \" - \"   1 9 2 . 1 6 8 . 9 . 1   -   -   [ 1 4 / J u l / 2 0 1 5 : 0 1 : 0 4 : 0 3   + 0 0 0 0 ]   \" G E T   /   H T T P / 1 . 1 \"   2 0 0   6 1 2   \" - \"   \" c u r l / 7 . 3 5 . 0 \"   \" - \"   k u b e c t l :   k u b e c t l   l o g s   - f   n g i n x - a p p - z i b v s   1 0 . 2 4 0 . 6 3 . 1 1 0   -   -   [ 1 4 / J u l / 2 0 1 5 : 0 1 : 0 9 : 0 1   + 0 0 0 0 ]   \" G E T   /   H T T P / 1 . 1 \"   2 0 0   6 1 2   \" - \"   \" c u r l / 7 . 2 6 . 0 \"   \" - \"   1 0 . 2 4 0 . 6 3 . 1 1 0   -   -   [ 1 4 / J u l / 2 0 1 5 : 0 1 : 0 9 : 0 2   + 0 0 0 0 ]   \" G E T   /   H T T P / 1 . 1 \"   2 0 0   6 1 2   \" - \"   \" c u r l / 7 . 2 6 . 0 \"   \" - \"   T h e r e   i s   a   s l i g h t   d i f f e r e n c e   b e t w e e n   p o d s   a n d   c o n t a i n e r s ;   b y   d e f a u l t   p o d s   d o   n o t   t e r m i n a t e   i f   t h e i r   p r o c e s s e s   e x i t .   I n s t e a d   t h e   p o d s   r e s t a r t   t h e   p r o c e s s .   T h i s   i s   s i m i l a r   t o   t h e   d o c k e r   r u n   o p t i o n   - - r e s t a r t = a l w a y s   w i t h   o n e   m a j o r   d i f f e r e n c e .   I n   d o c k e r ,   t h e   o u t p u t   f o r   e a c h   i n v o c a t i o n   o f   t h e   p r o c e s s   i s   c o n c a t e n a t e d ,   b u t   f o r   K u b e r n e t e s ,   e a c h   i n v o c a t i o n   i s   s e p a r a t e .   T o   s e e   t h e   o u t p u t   f r o m   a   p r e v i o u s   r u n   i n   K u b e r n e t e s ,   d o   t h i s :   k u b e c t l   l o g s   - - p r e v i o u s   n g i n x - a p p - z i b v s   1 0 . 2 4 0 . 6 3 . 1 1 0   -   -   [ 1 4 / J u ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27220"
  },
  {
    "question": "What is docker stop and docker rm?",
    "answer": "T o   s t o p   a n d   d e l e t e   a   r u n n i n g   p r o c e s s ,   s e e   k u b e c t l   d e l e t e .   d o c k e r :   d o c k e r   p s   C O N T A I N E R   I D   I M A G E   C O M M A N D   C R E A T E D   S T A T U S   P O R T S   N A M E S   a 9 e c 3 4 d 9 8 7 8 7   n g i n x   \" n g i n x   - g   ' d a e m o n   o f \"   2 2   h o u r s   a g o   U p   2 2   h o u r s   0 . 0 . 0 . 0 : 8 0 - > 8 0 / t c p ,   4 4 3 / t c p   n g i n x - a p p   d o c k e r   s t o p   a 9 e c 3 4 d 9 8 7 8 7   a 9 e c 3 4 d 9 8 7 8 7   d o c k e r   r m   a 9 e c 3 4 d 9 8 7 8 7   a 9 e c 3 4 d 9 8 7 8 7   k u b e c t l :   k u b e c t l   g e t   d e p l o y m e n t   n g i n x - a p p   N A M E   R E A D Y   U P - T O - D A T E   A V A I L A B L E   A G E   n g i n x - a p p   1 / 1   1   1   2 m   k u b e c t l   g e t   p o   - l   a p p = n g i n x - a p p   N A M E   R E A D Y   S T A T U S   R E S T A R T S   A G E   n g i n x - a p p - 2 8 8 3 1 6 4 6 3 3 - a k l f 7   1 / 1   R u n n i n g   0   2 m   k u b e c t l   d e l e t e   d e p l o y m e n t   n g i n x - a p p   d e p l o y m e n t   \" n g i n x - a p p \"   d e l e t e d   k u b e c t l   g e t   p o   - l   a p p = n g i n x - a p p   #   R e t u r n   n o t h i n g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27221"
  },
  {
    "question": "What is docker login?",
    "answer": "T h e r e   i s   n o   d i r e c t   a n a l o g   o f   d o c k e r   l o g i n   i n   k u b e c t l .   I f   y o u   a r e   i n t e r e s t e d   i n   u s i n g   K u b e r n e t e s   w i t h   a   p r i v a t e   r e g i s t r y ,   s e e   U s i n g   a   P r i v a t e   R e g i s t r y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27222"
  },
  {
    "question": "What is docker version?",
    "answer": "T o   g e t   t h e   v e r s i o n   o f   c l i e n t   a n d   s e r v e r ,   s e e   k u b e c t l   v e r s i o n .   d o c k e r :   d o c k e r   v e r s i o n   C l i e n t   v e r s i o n :   1 . 7 . 0   C l i e n t   A P I   v e r s i o n :   1 . 1 9   G o   v e r s i o n   ( c l i e n t ) :   g o 1 . 4 . 2   G i t   c o m m i t   ( c l i e n t ) :   0 b a f 6 0 9   O S / A r c h   ( c l i e n t ) :   l i n u x / a m d 6 4   S e r v e r   v e r s i o n :   1 . 7 . 0   S e r v e r   A P I   v e r s i o n :   1 . 1 9   G o   v e r s i o n   ( s e r v e r ) :   g o 1 . 4 . 2   G i t   c o m m i t   ( s e r v e r ) :   0 b a f 6 0 9   O S / A r c h   ( s e r v e r ) :   l i n u x / a m d 6 4   k u b e c t l :   k u b e c t l   v e r s i o n   C l i e n t   V e r s i o n :   v e r s i o n . I n f o { M a j o r : \" 1 \" ,   M i n o r : \" 6 \" ,   G i t V e r s i o n : \" v 1 . 6 . 9 + a 3 d 1 d f a 6 f 4 3 3 5 \" ,   G i t C o m m i t : \" 9 b 7 7 f e d 1 1 a 9 8 4 3 c e 3 7 8 0 f 7 0 d d 2 5 1 e 9 2 9 0 1 c 4 3 0 7 2 \" ,   G i t T r e e S t a t e : \" d i r t y \" ,   B u i l d D a t e : \" 2 0 1 7 - 0 8 - 2 9 T 2 0 : 3 2 : 5 8 Z \" ,   O p e n P a a s K u b e r n e t e s V e r s i o n : \" v 1 . 0 3 . 0 2 \" ,   G o V e r s i o n : \" g o 1 . 7 . 5 \" ,   C o m p i l e r : \" g c \" ,   P l a t f o r m : \" l i n u x / a m d 6 4 \" }   S e r v e r   V e r s i o n :   v e r s i o n . I n f o { M a j o r : \" 1 \" ,   M i n o r : \" 6 \" ,   G i t V e r s i o n : \" v 1 . 6 . 9 + a 3 d 1 d f a 6 f 4 3 3 5 \" ,   G i t C o m m i t : \" 9 b 7 7 f e d 1 1 a 9 8 4 3 c e 3 7 8 0 f 7 0 d d 2 5 1 e 9 2 9 0 1 c 4 3 0 7 2 \" ,   G i t T r e e S t a t e : \" d i r t y \" ,   B u i l d D a t e : \" 2 0 1 7 - 0 8 - 2 9 T 2 0 : 3 2 : 5 8 Z \" ,   O p e n P a a s K u b e r n e t e s V e r s i o n : \" v 1 . 0 3 . 0 2 \" ,   G o V e r s i o n : \" g o 1 . 7 . 5 \" ,   C o m p i l e r : \" g c \" ,   P l a t f o r m : \" l i n u x / a m d 6 4 \" }",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27223"
  },
  {
    "question": "What is docker info?",
    "answer": "T o   g e t   m i s c e l l a n e o u s   i n f o r m a t i o n   a b o u t   t h e   e n v i r o n m e n t   a n d   c o n f i g u r a t i o n ,   s e e   k u b e c t l   c l u s t e r - i n f o .   d o c k e r :   d o c k e r   i n f o   C o n t a i n e r s :   4 0   I m a g e s :   1 6 8   S t o r a g e   D r i v e r :   a u f s   R o o t   D i r :   / u s r / l o c a l / g o o g l e / d o c k e r / a u f s   B a c k i n g   F i l e s y s t e m :   e x t f s   D i r s :   2 4 8   D i r p e r m 1   S u p p o r t e d :   f a l s e   E x e c u t i o n   D r i v e r :   n a t i v e - 0 . 2   L o g g i n g   D r i v e r :   j s o n - f i l e   K e r n e l   V e r s i o n :   3 . 1 3 . 0 - 5 3 - g e n e r i c   O p e r a t i n g   S y s t e m :   U b u n t u   1 4 . 0 4 . 2   L T S   C P U s :   1 2   T o t a l   M e m o r y :   3 1 . 3 2   G i B   N a m e :   k 8 s - i s - f u n . m t v . c o r p . g o o g l e . c o m   I D :   A D U V : G C Y R : B 3 V J : H M P O : L N P Q : K D 5 S : Y K F Q : 7 6 V N : I A N Z : 7 T F V : Z B F 4 : B Y J O   W A R N I N G :   N o   s w a p   l i m i t   s u p p o r t   k u b e c t l :   k u b e c t l   c l u s t e r - i n f o   K u b e r n e t e s   m a s t e r   i s   r u n n i n g   a t   h t t p s : / / 2 0 3 . 0 . 1 1 3 . 1 4 1   K u b e D N S   i s   r u n n i n g   a t   h t t p s : / / 2 0 3 . 0 . 1 1 3 . 1 4 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / k u b e - d n s / p r o x y   k u b e r n e t e s - d a s h b o a r d   i s   r u n n i n g   a t   h t t p s : / / 2 0 3 . 0 . 1 1 3 . 1 4 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / k u b e r n e t e s - d a s h b o a r d / p r o x y   G r a f a n a   i s   r u n n i n g   a t   h t t p s : / / 2 0 3 . 0 . 1 1 3 . 1 4 1 / a p i / v 1 / n a m e s p a c e s / k u b e - s y s t e m / s e r v i c e s / m o n i t o r i n g - g r a f a n a / p r o x y   H e a p s t e r   i s   r u n n i n g   a t   h t t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27224"
  },
  {
    "question": "What is 11.8 - kubectl Usage Conventions?",
    "answer": "R e c o m m e n d e d   u s a g e   c o n v e n t i o n s   f o r   k u b e c t l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_27225"
  },
  {
    "question": "What is Using kubectl in Reusable Scripts?",
    "answer": "F o r   a   s t a b l e   o u t p u t   i n   a   s c r i p t :   R e q u e s t   o n e   o f   t h e   m a c h i n e - o r i e n t e d   o u t p u t   f o r m s ,   s u c h   a s   - o   n a m e ,   - o   j s o n ,   - o   y a m l ,   - o   g o - t e m p l a t e ,   o r   - o   j s o n p a t h . F u l l y - q u a l i f y   t h e   v e r s i o n .   F o r   e x a m p l e ,   j o b s . v 1 . b a t c h / m y j o b .   T h i s   w i l l   e n s u r e   t h a t   k u b e c t l   d o e s   n o t   u s e   i t s   d e f a u l t   v e r s i o n   t h a t   c a n   c h a n g e   o v e r   t i m e . D o n ' t   r e l y   o n   c o n t e x t ,   p r e f e r e n c e s ,   o r   o t h e r   i m p l i c i t   s t a t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27226"
  },
  {
    "question": "What is Subresources?",
    "answer": "Y o u   c a n   u s e   t h e   - - s u b r e s o u r c e   a r g u m e n t   f o r   k u b e c t l   s u b c o m m a n d s   s u c h   a s   g e t ,   p a t c h ,   e d i t ,   a p p l y   a n d   r e p l a c e   t o   f e t c h   a n d   u p d a t e   s u b r e s o u r c e s   f o r   a l l   r e s o u r c e s   t h a t   s u p p o r t   t h e m .   I n   K u b e r n e t e s   v e r s i o n   1 . 3 4 ,   o n l y   t h e   s t a t u s ,   s c a l e   a n d   r e s i z e   s u b r e s o u r c e s   a r e   s u p p o r t e d . F o r   k u b e c t l   e d i t ,   t h e   s c a l e   s u b r e s o u r c e   i s   n o t   s u p p o r t e d .   I f   y o u   u s e   - - s u b r e s o u r c e   w i t h   k u b e c t l   e d i t   a n d   s p e c i f y   s c a l e   a s   t h e   s u b r e s o u r c e ,   t h e   c o m m a n d   w i l l   e r r o r   o u t . T h e   A P I   c o n t r a c t   a g a i n s t   a   s u b r e s o u r c e   i s   i d e n t i c a l   t o   a   f u l l   r e s o u r c e .   W h i l e   u p d a t i n g   t h e   s t a t u s   s u b r e s o u r c e   t o   a   n e w   v a l u e ,   k e e p   i n   m i n d   t h a t   t h e   s u b r e s o u r c e   c o u l d   b e   p o t e n t i a l l y   r e c o n c i l e d   b y   a   c o n t r o l l e r   t o   a   d i f f e r e n t   v a l u e .   F o r   k u b e c t l   e d i t ,   t h e   s c a l e   s u b r e s o u r c e   i s   n o t   s u p p o r t e d .   I f   y o u   u s e   - - s u b r e s o u r c e   w i t h   k u b e c t l   e d i t   a n d   s p e c i f y   s c a l e   a s   t h e   s u b r e s o u r c e ,   t h e   c o m m a n d   w i l l   e r r o r   o u t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27227"
  },
  {
    "question": "What is kubectl run?",
    "answer": "F o r   k u b e c t l   r u n   t o   s a t i s f y   i n f r a s t r u c t u r e   a s   c o d e :   T a g   t h e   i m a g e   w i t h   a   v e r s i o n - s p e c i f i c   t a g   a n d   d o n ' t   m o v e   t h a t   t a g   t o   a   n e w   v e r s i o n .   F o r   e x a m p l e ,   u s e   : v 1 2 3 4 ,   v 1 . 2 . 3 ,   r 0 3 0 6 2 0 1 6 - 1 - 4 ,   r a t h e r   t h a n   : l a t e s t   ( F o r   m o r e   i n f o r m a t i o n ,   s e e   B e s t   P r a c t i c e s   f o r   C o n f i g u r a t i o n ) . C h e c k   i n   t h e   s c r i p t   f o r   a n   i m a g e   t h a t   i s   h e a v i l y   p a r a m e t e r i z e d . S w i t c h   t o   c o n f i g u r a t i o n   f i l e s   c h e c k e d   i n t o   s o u r c e   c o n t r o l   f o r   f e a t u r e s   t h a t   a r e   n e e d e d ,   b u t   n o t   e x p r e s s i b l e   v i a   k u b e c t l   r u n   f l a g s .   Y o u   c a n   u s e   t h e   - - d r y - r u n = c l i e n t   f l a g   t o   p r e v i e w   t h e   o b j e c t   t h a t   w o u l d   b e   s e n t   t o   y o u r   c l u s t e r ,   w i t h o u t   r e a l l y   s u b m i t t i n g   i t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_27228"
  },
  {
    "question": "What is kubectl apply?",
    "answer": "Y o u   c a n   u s e   k u b e c t l   a p p l y   t o   c r e a t e   o r   u p d a t e   r e s o u r c e s .   F o r   m o r e   i n f o r m a t i o n   a b o u t   u s i n g   k u b e c t l   a p p l y   t o   u p d a t e   r e s o u r c e s ,   s e e   K u b e c t l   B o o k .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_27229"
  },
  {
    "question": "What is 11.9 - Kubectl user preferences (kuberc)?",
    "answer": "A   K u b e r n e t e s   k u b e r c   c o n f i g u r a t i o n   f i l e   a l l o w s   y o u   t o   d e f i n e   p r e f e r e n c e s   f o r   k u b e c t l ,   s u c h   a s   d e f a u l t   o p t i o n s   a n d   c o m m a n d   a l i a s e s .   U n l i k e   t h e   k u b e c o n f i g   f i l e ,   a   k u b e r c   c o n f i g u r a t i o n   f i l e   d o e s   n o t   c o n t a i n   c l u s t e r   d e t a i l s ,   u s e r n a m e s   o r   p a s s w o r d s .   T h e   d e f a u l t   l o c a t i o n   o f   t h i s   c o n f i g u r a t i o n   f i l e   i s   $ H O M E / . k u b e / k u b e r c .   T o   p r o v i d e   k u b e c t l   w i t h   a   p a t h   t o   a   c u s t o m   k u b e r c   f i l e ,   u s e   t h e   - - k u b e r c   c o m m a n d   l i n e   o p t i o n ,   o r   s e t   t h e   K U B E R C   e n v i r o n m e n t   v a r i a b l e .   A   k u b e r c   u s i n g   t h e   k u b e c t l . c o n f i g . k 8 s . i o / v 1 b e t a 1   f o r m a t   a l l o w s   y o u   t o   d e f i n e   t w o   t y p e s   o f   u s e r   p r e f e r e n c e s :   A l i a s e s   -   a l l o w   y o u   t o   c r e a t e   s h o r t e r   v e r s i o n s   o f   y o u r   f a v o r i t e   c o m m a n d s ,   o p t i o n a l l y   s e t t i n g   o p t i o n s   a n d   a r g u m e n t s . D e f a u l t s   -   a l l o w   y o u   t o   c o n f i g u r e   d e f a u l t   o p t i o n   v a l u e s   f o r   y o u r   f a v o r i t e   c o m m a n d s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_27230"
  },
  {
    "question": "What is aliases?",
    "answer": "W i t h i n   a   k u b e r c   c o n f i g u r a t i o n ,   t h e   a l i a s e s   s e c t i o n   a l l o w s   y o u   t o   d e f i n e   c u s t o m   s h o r t c u t s   f o r   k u b e c t l   c o m m a n d s ,   o p t i o n a l l y   w i t h   p r e s e t   c o m m a n d   l i n e   a r g u m e n t s   a n d   f l a g s .   T h i s   n e x t   e x a m p l e   d e f i n e s   a   k u b e c t l   g e t n   a l i a s   f o r   t h e   k u b e c t l   g e t   s u b c o m m a n d ,   a d d i t i o n a l l y   s p e c i f y i n g   J S O N   o u t p u t   f o r m a t :   - - o u t p u t = j s o n .   a p i V e r s i o n :   k u b e c t l . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   P r e f e r e n c e   a l i a s e s :   -   n a m e :   g e t n   c o m m a n d :   g e t   o p t i o n s :   -   n a m e :   o u t p u t   d e f a u l t :   j s o n   I n   t h i s   e x a m p l e ,   t h e   f o l l o w i n g   s e t t i n g s   w e r e   u s e d :   n a m e   -   A l i a s   n a m e   m u s t   n o t   c o l l i d e   w i t h   t h e   b u i l t - i n   c o m m a n d s . c o m m a n d   -   S p e c i f y   t h e   u n d e r l y i n g   b u i l t - i n   c o m m a n d   t h a t   y o u r   a l i a s   w i l l   e x e c u t e .   T h i s   i n c l u d e s   s u p p o r t   f o r   s u b c o m m a n d s   l i k e   c r e a t e   r o l e . o p t i o n s   -   S p e c i f y   d e f a u l t   v a l u e s   f o r   o p t i o n s .   I f   y o u   e x p l i c i t l y   s p e c i f y   a n   o p t i o n   w h e n   y o u   r u n   k u b e c t l ,   t h e   v a l u e   y o u   p r o v i d e   t a k e s   p r e c e d e n c e   o v e r   t h e   d e f a u l t   o n e   d e f i n e d   i n   k u b e r c .   W i t h   t h i s   a l i a s ,   r u n n i n g   k u b e c t l   g e t n   p o d s   w i l l   d e f a u l t   J S O N   o u t p u t .   H o w e v e r ,   i f   y o u   e x e c u t e   k u b e c t l   g e t n   p o d s   - o y a m l ,   t h e   o u t p u t   w ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27231"
  },
  {
    "question": "What is prependArgs?",
    "answer": "T h i s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_27232"
  },
  {
    "question": "What is appendArgs?",
    "answer": "T h i s   n e x t   e x a m p l e ,   w i l l   i n t r o d u c e   a   m e c h a n i s m   s i m i l a r   t o   p r e p e n d i n g   a r g u m e n t s ,   t h i s   t i m e ,   t h o u g h ,   w e   w i l l   a p p e n d   a r g u m e n t s   t o   t h e   e n d   o f   t h e   k u b e c t l   c o m m a n d .   a p i V e r s i o n :   k u b e c t l . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   P r e f e r e n c e   a l i a s e s :   -   n a m e :   r u n x   c o m m a n d :   r u n   o p t i o n s :   -   n a m e :   i m a g e   d e f a u l t :   b u s y b o x   -   n a m e :   n a m e s p a c e   d e f a u l t :   t e s t - n s   a p p e n d A r g s :   -   - -   -   c u s t o m - a r g   I n   t h i s   e x a m p l e ,   t h e   f o l l o w i n g   s e t t i n g s   w e r e   u s e d :   n a m e   -   A l i a s   n a m e   m u s t   n o t   c o l l i d e   w i t h   t h e   b u i l t - i n   c o m m a n d s . c o m m a n d   -   S p e c i f y   t h e   u n d e r l y i n g   b u i l t - i n   c o m m a n d   t h a t   y o u r   a l i a s   w i l l   e x e c u t e .   T h i s   i n c l u d e s   s u p p o r t   f o r   s u b c o m m a n d s   l i k e   c r e a t e   r o l e . o p t i o n s   -   S p e c i f y   d e f a u l t   v a l u e s   f o r   o p t i o n s .   I f   y o u   e x p l i c i t l y   s p e c i f y   a n   o p t i o n   w h e n   y o u   r u n   k u b e c t l ,   t h e   v a l u e   y o u   p r o v i d e   t a k e s   p r e c e d e n c e   o v e r   t h e   d e f a u l t   o n e   d e f i n e d   i n   k u b e r c . a p p e n d A r g s   -   S p e c i f y   e x p l i c i t   a r g u m e n t s   t h a t   w i l l   b e   p l a c e d   a t   t h e   e n d   o f   t h e   c o m m a n d .   H e r e ,   t h i s   w i l l   b e   t r a n s l a t e d   t o   k u b e c t l   r u n   t e s t - p o d   - - n a m e s p a c e   t e s t - n s   - - i m a g e   b u s y b o x   - -   c u s t o m - a r g .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_27233"
  },
  {
    "question": "What is defaults?",
    "answer": "W i t h i n   a   k u b e r c   c o n f i g u r a t i o n ,   d e f a u l t s   s e c t i o n   l e t s   y o u   s p e c i f y   d e f a u l t   v a l u e s   f o r   c o m m a n d   l i n e   a r g u m e n t s .   T h i s   n e x t   e x a m p l e   m a k e s   t h e   i n t e r a c t i v e   r e m o v a l   t h e   d e f a u l t   m o d e   f o r   i n v o k i n g   k u b e c t l   d e l e t e :   a p i V e r s i o n :   k u b e c t l . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   P r e f e r e n c e   d e f a u l t s :   -   c o m m a n d :   d e l e t e   o p t i o n s :   -   n a m e :   i n t e r a c t i v e   d e f a u l t :   \" t r u e \"   I n   t h i s   e x a m p l e ,   t h e   f o l l o w i n g   s e t t i n g s   w e r e   u s e d :   c o m m a n d   -   B u i l t - i n   c o m m a n d ,   t h i s   i n c l u d e s   s u p p o r t   f o r   s u b c o m m a n d s   l i k e   c r e a t e   r o l e . o p t i o n s   -   S p e c i f y   d e f a u l t   v a l u e s   f o r   o p t i o n s .   I f   y o u   e x p l i c i t l y   s p e c i f y   a n   o p t i o n   w h e n   y o u   r u n   k u b e c t l ,   t h e   v a l u e   y o u   p r o v i d e   t a k e s   p r e c e d e n c e   o v e r   t h e   d e f a u l t   o n e   d e f i n e d   i n   k u b e r c .   W i t h   t h i s   s e t t i n g ,   r u n n i n g   k u b e c t l   d e l e t e   p o d / t e s t - p o d   w i l l   d e f a u l t   t o   p r o m p t i n g   f o r   c o n f i r m a t i o n .   H o w e v e r ,   k u b e c t l   d e l e t e   p o d / t e s t - p o d   - - i n t e r a c t i v e = f a l s e   w i l l   b y p a s s   t h e   c o n f i r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27234"
  },
  {
    "question": "What is Suggested defaults?",
    "answer": "T h e   k u b e c t l   m a i n t a i n e r s   e n c o u r a g e   y o u   t o   a d o p t   k u b e r c   w i t h   t h e   f o l l o w i n g   d e f a u l t s :   a p i V e r s i o n :   k u b e c t l . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   P r e f e r e n c e   d e f a u l t s :   #   ( 1 )   d e f a u l t   s e r v e r - s i d e   a p p l y   -   c o m m a n d :   a p p l y   o p t i o n s :   -   n a m e :   s e r v e r - s i d e   d e f a u l t :   \" t r u e \"   #   ( 2 )   d e f a u l t   i n t e r a c t i v e   d e l e t i o n   -   c o m m a n d :   d e l e t e   o p t i o n s :   -   n a m e :   i n t e r a c t i v e   d e f a u l t :   \" t r u e \"   I n   t h i s   e x a m p l e ,   t h e   f o l l o w i n g   s e t t i n g s   a r e   e n f o r c e d :   D e f a u l t s   t o   u s i n g   S e r v e r - S i d e   A p p l y . D e f a u l t s   t o   i n t e r a c t i v e   r e m o v a l   w h e n e v e r   i n v o k i n g   k u b e c t l   d e l e t e   t o   p r e v e n t   a c c i d e n t a l   r e m o v a l   o f   r e s o u r c e s   f r o m   t h e   c l u s t e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27235"
  },
  {
    "question": "What is Disable kuberc?",
    "answer": "T o   t e m p o r a r i l y   d i s a b l e   t h e   k u b e r c   f u n c t i o n a l i t y ,   s e t   ( a n d   e x p o r t )   t h e   e n v i r o n m e n t   v a r i a b l e   K U B E R C   w i t h   t h e   v a l u e   o f f :   e x p o r t   K U B E R C = o f f   o r   d i s a b l e   t h e   f e a t u r e   g a t e :   e x p o r t   K U B E C T L _ K U B E R C = f a l s e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27236"
  },
  {
    "question": "What is 12.1 - Feature Gates?",
    "answer": "T h i s   p a g e   c o n t a i n s   a n   o v e r v i e w   o f   t h e   v a r i o u s   f e a t u r e   g a t e s   a n   a d m i n i s t r a t o r   c a n   s p e c i f y   o n   d i f f e r e n t   K u b e r n e t e s   c o m p o n e n t s .   S e e   f e a t u r e   s t a g e s   f o r   a n   e x p l a n a t i o n   o f   t h e   s t a g e s   f o r   a   f e a t u r e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_27237"
  },
  {
    "question": "What is Overview?",
    "answer": "F e a t u r e   g a t e s   a r e   a   s e t   o f   k e y = v a l u e   p a i r s   t h a t   d e s c r i b e   K u b e r n e t e s   f e a t u r e s .   Y o u   c a n   t u r n   t h e s e   f e a t u r e s   o n   o r   o f f   u s i n g   t h e   - - f e a t u r e - g a t e s   c o m m a n d   l i n e   f l a g   o n   e a c h   K u b e r n e t e s   c o m p o n e n t .   E a c h   K u b e r n e t e s   c o m p o n e n t   l e t s   y o u   e n a b l e   o r   d i s a b l e   a   s e t   o f   f e a t u r e   g a t e s   t h a t   a r e   r e l e v a n t   t o   t h a t   c o m p o n e n t .   U s e   - h   f l a g   t o   s e e   a   f u l l   s e t   o f   f e a t u r e   g a t e s   f o r   a l l   c o m p o n e n t s .   T o   s e t   f e a t u r e   g a t e s   f o r   a   c o m p o n e n t ,   s u c h   a s   k u b e l e t ,   u s e   t h e   - - f e a t u r e - g a t e s   f l a g   a s s i g n e d   t o   a   l i s t   o f   f e a t u r e   p a i r s :   - - f e a t u r e - g a t e s = . . . , G r a c e f u l N o d e S h u t d o w n = t r u e   T h e   f o l l o w i n g   t a b l e s   a r e   a   s u m m a r y   o f   t h e   f e a t u r e   g a t e s   t h a t   y o u   c a n   s e t   o n   d i f f e r e n t   K u b e r n e t e s   c o m p o n e n t s .   T h e   \" S i n c e \"   c o l u m n   c o n t a i n s   t h e   K u b e r n e t e s   r e l e a s e   w h e n   a   f e a t u r e   i s   i n t r o d u c e d   o r   i t s   r e l e a s e   s t a g e   i s   c h a n g e d . T h e   \" U n t i l \"   c o l u m n ,   i f   n o t   e m p t y ,   c o n t a i n s   t h e   l a s t   K u b e r n e t e s   r e l e a s e   i n   w h i c h   y o u   c a n   s t i l l   u s e   a   f e a t u r e   g a t e . I f   a   f e a t u r e   i s   i n   t h e   A l p h a   o r   B e t a   s t a t e ,   y o u   c a n   f i n d   t h e   f e a t u r e   l i s t e d   i n   t h e   A l p h a / B e t a   f e a t u r e   g a t e   t a b l e . I f   a   f e a t u r e   i s   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27238"
  },
  {
    "question": "What is Feature stages?",
    "answer": "A   f e a t u r e   c a n   b e   i n   A l p h a ,   B e t a   o r   G A   s t a g e .   A n   A l p h a   f e a t u r e   m e a n s :   D i s a b l e d   b y   d e f a u l t . M i g h t   b e   b u g g y .   E n a b l i n g   t h e   f e a t u r e   m a y   e x p o s e   b u g s . S u p p o r t   f o r   f e a t u r e   m a y   b e   d r o p p e d   a t   a n y   t i m e   w i t h o u t   n o t i c e . T h e   A P I   m a y   c h a n g e   i n   i n c o m p a t i b l e   w a y s   i n   a   l a t e r   s o f t w a r e   r e l e a s e   w i t h o u t   n o t i c e . R e c o m m e n d e d   f o r   u s e   o n l y   i n   s h o r t - l i v e d   t e s t i n g   c l u s t e r s ,   d u e   t o   i n c r e a s e d   r i s k   o f   b u g s   a n d   l a c k   o f   l o n g - t e r m   s u p p o r t .   A   B e t a   f e a t u r e   m e a n s :   U s u a l l y   e n a b l e d   b y   d e f a u l t .   B e t a   A P I   g r o u p s   a r e   d i s a b l e d   b y   d e f a u l t . T h e   f e a t u r e   i s   w e l l   t e s t e d .   E n a b l i n g   t h e   f e a t u r e   i s   c o n s i d e r e d   s a f e . S u p p o r t   f o r   t h e   o v e r a l l   f e a t u r e   w i l l   n o t   b e   d r o p p e d ,   t h o u g h   d e t a i l s   m a y   c h a n g e . T h e   s c h e m a   a n d / o r   s e m a n t i c s   o f   o b j e c t s   m a y   c h a n g e   i n   i n c o m p a t i b l e   w a y s   i n   a   s u b s e q u e n t   b e t a   o r   s t a b l e   r e l e a s e .   W h e n   t h i s   h a p p e n s ,   w e   w i l l   p r o v i d e   i n s t r u c t i o n s   f o r   m i g r a t i n g   t o   t h e   n e x t   v e r s i o n .   T h i s   m a y   r e q u i r e   d e l e t i n g ,   e d i t i n g ,   a n d   r e - c r e a t i n g   A P I   o b j e c t s .   T h e   e d i t i n g   p r o c e s s   m a y   r e q u i r e   s o m e   t h o u g h t .   T h i s   m a y   r e q u i r e   d o w n t i m e   f o r   a p p l i c a t i o n s   t h a t   r e l y ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_27239"
  },
  {
    "question": "What is Note:?",
    "answer": "A   G e n e r a l   A v a i l a b i l i t y   ( G A )   f e a t u r e   i s   a l s o   r e f e r r e d   t o   a s   a   s t a b l e   f e a t u r e .   I t   m e a n s :   T h e   f e a t u r e   i s   a l w a y s   e n a b l e d ;   y o u   c a n n o t   d i s a b l e   i t . T h e   c o r r e s p o n d i n g   f e a t u r e   g a t e   i s   n o   l o n g e r   n e e d e d . S t a b l e   v e r s i o n s   o f   f e a t u r e s   w i l l   a p p e a r   i n   r e l e a s e d   s o f t w a r e   f o r   m a n y   s u b s e q u e n t   v e r s i o n s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_27240"
  },
  {
    "question": "What is List of feature gates?",
    "answer": "E a c h   f e a t u r e   g a t e   i s   d e s i g n e d   f o r   e n a b l i n g / d i s a b l i n g   a   s p e c i f i c   f e a t u r e .   A l l o w D N S O n l y N o d e C S R :   A l l o w   k u b e l e t   t o   r e q u e s t   a   c e r t i f i c a t e   w i t h o u t   a n y   N o d e   I P   a v a i l a b l e ,   o n l y   w i t h   D N S   n a m e s . A l l o w I n s e c u r e K u b e l e t C e r t i f i c a t e S i g n i n g R e q u e s t s :   D i s a b l e   n o d e   a d m i s s i o n   v a l i d a t i o n   o f   C e r t i f i c a t e S i g n i n g R e q u e s t s   f o r   k u b e l e t   s i g n e r s .   U n l e s s   y o u   d i s a b l e   t h i s   f e a t u r e   g a t e ,   K u b e r n e t e s   e n f o r c e s   t h a t   n e w   k u b e l e t   c e r t i f i c a t e s   h a v e   a   c o m m o n N a m e   m a t c h i n g   s y s t e m : n o d e : $ n o d e N a m e . A l l o w P a r s i n g U s e r U I D F r o m C e r t A u t h :   W h e n   t h i s   f e a t u r e   i s   e n a b l e d ,   t h e   s u b j e c t   n a m e   a t t r i b u t e   1 . 3 . 6 . 1 . 4 . 1 . 5 7 6 8 3 . 2   i n   a n   X . 5 0 9   c e r t i f i c a t e   w i l l   b e   p a r s e d   a s   t h e   u s e r   U I D   d u r i n g   c e r t i f i c a t e   a u t h e n t i c a t i o n . A l l o w S e r v i c e L B S t a t u s O n N o n L B :   E n a b l e s   . s t a t u s . i n g r e s s . l o a d B a l a n c e r   t o   b e   s e t   o n   S e r v i c e s   o f   t y p e s   o t h e r   t h a n   L o a d B a l a n c e r . A l l o w U n s a f e M a l f o r m e d O b j e c t D e l e t i o n :   E n a b l e s   t h e   c l u s t e r   o p e r a t o r   t o   i d e n t i f y   c o r r u p t   r e s o u r c e ( s )   u s i n g   t h e   l i s t   o p e r a t i o n ,   a n d   i n t r o d u c e s   a n   o p t i o n   i g n o r e S t o r e R e a d E r r o r W i t h C l u s t e r B r e a k i n g P o t e n t i a l   t h a t   t h e   o p e r a t o r   c a n   s e t   t o   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27241"
  },
  {
    "question": "What is What's next?",
    "answer": "T h e   d e p r e c a t i o n   p o l i c y   f o r   K u b e r n e t e s   e x p l a i n s   t h e   p r o j e c t ' s   a p p r o a c h   t o   r e m o v i n g   f e a t u r e s   a n d   c o m p o n e n t s . S i n c e   K u b e r n e t e s   1 . 2 4 ,   n e w   b e t a   A P I s   a r e   n o t   e n a b l e d   b y   d e f a u l t .   W h e n   e n a b l i n g   a   b e t a   f e a t u r e ,   y o u   w i l l   a l s o   n e e d   t o   e n a b l e   a n y   a s s o c i a t e d   A P I   r e s o u r c e s .   F o r   e x a m p l e ,   t o   e n a b l e   a   p a r t i c u l a r   r e s o u r c e   l i k e   s t o r a g e . k 8 s . i o / v 1 b e t a 1 / c s i s t o r a g e c a p a c i t i e s ,   s e t   - - r u n t i m e - c o n f i g = s t o r a g e . k 8 s . i o / v 1 b e t a 1 / c s i s t o r a g e c a p a c i t i e s .   S e e   A P I   V e r s i o n i n g   f o r   m o r e   d e t a i l s   o n   t h e   c o m m a n d   l i n e   f l a g s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27242"
  },
  {
    "question": "What is 12.2 - Feature Gates (removed)?",
    "answer": "T h i s   p a g e   c o n t a i n s   l i s t   o f   f e a t u r e   g a t e s   t h a t   h a v e   b e e n   r e m o v e d .   T h e   i n f o r m a t i o n   o n   t h i s   p a g e   i s   f o r   r e f e r e n c e .   A   r e m o v e d   f e a t u r e   g a t e   i s   d i f f e r e n t   f r o m   a   G A ' e d   o r   d e p r e c a t e d   o n e   i n   t h a t   a   r e m o v e d   o n e   i s   n o   l o n g e r   r e c o g n i z e d   a s   a   v a l i d   f e a t u r e   g a t e .   H o w e v e r ,   a   G A ' e d   o r   a   d e p r e c a t e d   f e a t u r e   g a t e   i s   s t i l l   r e c o g n i z e d   b y   t h e   c o r r e s p o n d i n g   K u b e r n e t e s   c o m p o n e n t s   a l t h o u g h   t h e y   a r e   u n a b l e   t o   c a u s e   a n y   b e h a v i o r   d i f f e r e n c e s   i n   a   c l u s t e r .   F o r   f e a t u r e   g a t e s   t h a t   a r e   s t i l l   r e c o g n i z e d   b y   t h e   K u b e r n e t e s   c o m p o n e n t s ,   p l e a s e   r e f e r   t o   t h e   A l p h a / B e t a   f e a t u r e   g a t e   t a b l e   o r   t h e   G r a d u a t e d / D e p r e c a t e d   f e a t u r e   g a t e   t a b l e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_27243"
  },
  {
    "question": "What is Feature gates that are removed?",
    "answer": "I n   t h e   f o l l o w i n g   t a b l e :   T h e   \" F r o m \"   c o l u m n   c o n t a i n s   t h e   K u b e r n e t e s   r e l e a s e   w h e n   a   f e a t u r e   i s   i n t r o d u c e d   o r   i t s   r e l e a s e   s t a g e   i s   c h a n g e d . T h e   \" T o \"   c o l u m n ,   i f   n o t   e m p t y ,   c o n t a i n s   t h e   l a s t   K u b e r n e t e s   r e l e a s e   i n   w h i c h   y o u   c a n   s t i l l   u s e   a   f e a t u r e   g a t e .   I f   t h e   f e a t u r e   s t a g e   i s   e i t h e r   \" D e p r e c a t e d \"   o r   \" G A \" ,   t h e   \" T o \"   c o l u m n   i s   t h e   K u b e r n e t e s   r e l e a s e   w h e n   t h e   f e a t u r e   i s   r e m o v e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_27244"
  },
  {
    "question": "What is Descriptions for removed feature gates?",
    "answer": "A c c e l e r a t o r s :   P r o v i d e d   a n   e a r l y   f o r m   o f   p l u g i n   t o   e n a b l e   N v i d i a   G P U   s u p p o r t   w h e n   u s i n g   D o c k e r   E n g i n e ;   n o   l o n g e r   a v a i l a b l e .   S e e   D e v i c e   P l u g i n s   f o r   a n   a l t e r n a t i v e . A d m i s s i o n W e b h o o k M a t c h C o n d i t i o n s :   E n a b l e   m a t c h   c o n d i t i o n s   o n   m u t a t i n g   &   v a l i d a t i n g   a d m i s s i o n   w e b h o o k s . A d v a n c e d A u d i t i n g :   E n a b l e   a d v a n c e d   a u d i t i n g A f f i n i t y I n A n n o t a t i o n s :   E n a b l e   s e t t i n g   P o d   a f f i n i t y   o r   a n t i - a f f i n i t y . A g g r e g a t e d D i s c o v e r y E n d p o i n t :   E n a b l e   a   s i n g l e   H T T P   e n d p o i n t   / d i s c o v e r y / < v e r s i o n >   w h i c h   s u p p o r t s   n a t i v e   H T T P   c a c h i n g   w i t h   E T a g s   c o n t a i n i n g   a l l   A P I R e s o u r c e s   k n o w n   t o   t h e   A P I   s e r v e r . A l l o w E x t T r a f f i c L o c a l E n d p o i n t s :   E n a b l e   a   s e r v i c e   t o   r o u t e   e x t e r n a l   r e q u e s t s   t o   n o d e   l o c a l   e n d p o i n t s . A l l o w I n s e c u r e B a c k e n d P r o x y :   E n a b l e   t h e   u s e r s   t o   s k i p   T L S   v e r i f i c a t i o n   o f   k u b e l e t s   o n   P o d   l o g   r e q u e s t s . A P I L i s t C h u n k i n g :   E n a b l e   t h e   A P I   c l i e n t s   t o   r e t r i e v e   ( L I S T   o r   G E T )   r e s o u r c e s   f r o m   A P I   s e r v e r   i n   c h u n k s . A P I P r i o r i t y A n d F a i r n e s s :   E n a b l e   m a n a g i n g   r e q u e s t   c o n c u r r e n c y   w i t h   p r i o r i t i z a t i o n   a n d   f a i r n e s s   a t   e a c h   s e r v e r .   ( R e n a m e d   f r o m   R e q u e s t M a n a g e m e n t ) A P I S e l f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27245"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h e   K u b e r n e t e s   A P I   s e r v e r   v a l i d a t e s   a n d   c o n f i g u r e s   d a t a   f o r   t h e   a p i   o b j e c t s   w h i c h   i n c l u d e   p o d s ,   s e r v i c e s ,   r e p l i c a t i o n c o n t r o l l e r s ,   a n d   o t h e r s .   T h e   A P I   S e r v e r   s e r v i c e s   R E S T   o p e r a t i o n s   a n d   p r o v i d e s   t h e   f r o n t e n d   t o   t h e   c l u s t e r ' s   s h a r e d   s t a t e   t h r o u g h   w h i c h   a l l   o t h e r   c o m p o n e n t s   i n t e r a c t .   k u b e - a p i s e r v e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27246"
  },
  {
    "question": "What is Options?",
    "answer": "F i l e   w i t h   a d m i s s i o n   c o n t r o l   c o n f i g u r a t i o n .   T h e   I P   a d d r e s s   o n   w h i c h   t o   a d v e r t i s e   t h e   a p i s e r v e r   t o   m e m b e r s   o f   t h e   c l u s t e r .   T h i s   a d d r e s s   m u s t   b e   r e a c h a b l e   b y   t h e   r e s t   o f   t h e   c l u s t e r .   I f   b l a n k ,   t h e   - - b i n d - a d d r e s s   w i l l   b e   u s e d .   I f   - - b i n d - a d d r e s s   i s   u n s p e c i f i e d ,   t h e   h o s t ' s   d e f a u l t   i n t e r f a c e   w i l l   b e   u s e d .   A g g r e g a t o r   r e j e c t   f o r w a r d i n g   r e d i r e c t   r e s p o n s e   b a c k   t o   c l i e n t .   T h e   m a p   f r o m   m e t r i c - l a b e l   t o   v a l u e   a l l o w - l i s t   o f   t h i s   l a b e l .   T h e   k e y ' s   f o r m a t   i s   < M e t r i c N a m e > , < L a b e l N a m e > .   T h e   v a l u e ' s   f o r m a t   i s   < a l l o w e d _ v a l u e > , < a l l o w e d _ v a l u e > . . . e . g .   m e t r i c 1 , l a b e l 1 = ' v 1 , v 2 , v 3 ' ,   m e t r i c 1 , l a b e l 2 = ' v 1 , v 2 , v 3 '   m e t r i c 2 , l a b e l 1 = ' v 1 , v 2 , v 3 ' .   T h e   p a t h   t o   t h e   m a n i f e s t   f i l e   t h a t   c o n t a i n s   t h e   a l l o w - l i s t   m a p p i n g .   T h e   f o r m a t   o f   t h e   f i l e   i s   t h e   s a m e   a s   t h e   f l a g   - - a l l o w - m e t r i c - l a b e l s .   N o t e   t h a t   t h e   f l a g   - - a l l o w - m e t r i c - l a b e l s   w i l l   o v e r r i d e   t h e   m a n i f e s t   f i l e .   I f   t r u e ,   a l l o w   p r i v i l e g e d   c o n t a i n e r s .   [ d e f a u l t = f a l s e ]   E n a b l e s   a n o n y m o u s   r e q u e s t s   t o   t h e   s e c u r e   p o r t   o f   t h e   A P I   s e r v e r .   R e q u e s t s   t h a t   a r e   n o t   r e j e c t e d   b y   a n o t h e r   a u t h e n t i c a t i o n   m ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27247"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h e   K u b e r n e t e s   c o n t r o l l e r   m a n a g e r   i s   a   d a e m o n   t h a t   e m b e d s   t h e   c o r e   c o n t r o l   l o o p s   s h i p p e d   w i t h   K u b e r n e t e s .   I n   a p p l i c a t i o n s   o f   r o b o t i c s   a n d   a u t o m a t i o n ,   a   c o n t r o l   l o o p   i s   a   n o n - t e r m i n a t i n g   l o o p   t h a t   r e g u l a t e s   t h e   s t a t e   o f   t h e   s y s t e m .   I n   K u b e r n e t e s ,   a   c o n t r o l l e r   i s   a   c o n t r o l   l o o p   t h a t   w a t c h e s   t h e   s h a r e d   s t a t e   o f   t h e   c l u s t e r   t h r o u g h   t h e   a p i s e r v e r   a n d   m a k e s   c h a n g e s   a t t e m p t i n g   t o   m o v e   t h e   c u r r e n t   s t a t e   t o w a r d s   t h e   d e s i r e d   s t a t e .   E x a m p l e s   o f   c o n t r o l l e r s   t h a t   s h i p   w i t h   K u b e r n e t e s   t o d a y   a r e   t h e   r e p l i c a t i o n   c o n t r o l l e r ,   e n d p o i n t s   c o n t r o l l e r ,   n a m e s p a c e   c o n t r o l l e r ,   a n d   s e r v i c e a c c o u n t s   c o n t r o l l e r .   k u b e - c o n t r o l l e r - m a n a g e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27248"
  },
  {
    "question": "What is Options?",
    "answer": "S h o u l d   C I D R s   f o r   P o d s   b e   a l l o c a t e d   a n d   s e t   o n   t h e   c l o u d   p r o v i d e r .   R e q u i r e s   - - c l u s t e r - c i d r .   T h e   m a p   f r o m   m e t r i c - l a b e l   t o   v a l u e   a l l o w - l i s t   o f   t h i s   l a b e l .   T h e   k e y ' s   f o r m a t   i s   < M e t r i c N a m e > , < L a b e l N a m e > .   T h e   v a l u e ' s   f o r m a t   i s   < a l l o w e d _ v a l u e > , < a l l o w e d _ v a l u e > . . . e . g .   m e t r i c 1 , l a b e l 1 = ' v 1 , v 2 , v 3 ' ,   m e t r i c 1 , l a b e l 2 = ' v 1 , v 2 , v 3 '   m e t r i c 2 , l a b e l 1 = ' v 1 , v 2 , v 3 ' .   T h e   p a t h   t o   t h e   m a n i f e s t   f i l e   t h a t   c o n t a i n s   t h e   a l l o w - l i s t   m a p p i n g .   T h e   f o r m a t   o f   t h e   f i l e   i s   t h e   s a m e   a s   t h e   f l a g   - - a l l o w - m e t r i c - l a b e l s .   N o t e   t h a t   t h e   f l a g   - - a l l o w - m e t r i c - l a b e l s   w i l l   o v e r r i d e   t h e   m a n i f e s t   f i l e .   T h e   r e c o n c i l e r   s y n c   w a i t   t i m e   b e t w e e n   v o l u m e   a t t a c h   d e t a c h .   T h i s   d u r a t i o n   m u s t   b e   l a r g e r   t h a n   o n e   s e c o n d ,   a n d   i n c r e a s i n g   t h i s   v a l u e   f r o m   t h e   d e f a u l t   m a y   a l l o w   f o r   v o l u m e s   t o   b e   m i s m a t c h e d   w i t h   p o d s .   k u b e c o n f i g   f i l e   p o i n t i n g   a t   t h e   ' c o r e '   k u b e r n e t e s   s e r v e r   w i t h   e n o u g h   r i g h t s   t o   c r e a t e   t o k e n r e v i e w s . a u t h e n t i c a t i o n . k 8 s . i o .   T h i s   i s   o p t i o n a l .   I f   e m p t y ,   a l l   t o k e n   r e q u e s t s   a r e   c o n s i d e r e d   t o   b e   a n o n y m o u s   a n d   n o   c l i e n t   C A   i s   l o o k e d   u p   i n   t h e   c l u s t e r .   I f   f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27249"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h e   K u b e r n e t e s   n e t w o r k   p r o x y   r u n s   o n   e a c h   n o d e .   T h i s   r e f l e c t s   s e r v i c e s   a s   d e f i n e d   i n   t h e   K u b e r n e t e s   A P I   o n   e a c h   n o d e   a n d   c a n   d o   s i m p l e   T C P ,   U D P ,   a n d   S C T P   s t r e a m   f o r w a r d i n g   o r   r o u n d   r o b i n   T C P ,   U D P ,   a n d   S C T P   f o r w a r d i n g   a c r o s s   a   s e t   o f   b a c k e n d s .   S e r v i c e   c l u s t e r   I P s   a n d   p o r t s   a r e   c u r r e n t l y   f o u n d   t h r o u g h   D o c k e r - l i n k s - c o m p a t i b l e   e n v i r o n m e n t   v a r i a b l e s   s p e c i f y i n g   p o r t s   o p e n e d   b y   t h e   s e r v i c e   p r o x y .   T h e r e   i s   a n   o p t i o n a l   a d d o n   t h a t   p r o v i d e s   c l u s t e r   D N S   f o r   t h e s e   c l u s t e r   I P s .   T h e   u s e r   m u s t   c r e a t e   a   s e r v i c e   w i t h   t h e   a p i s e r v e r   A P I   t o   c o n f i g u r e   t h e   p r o x y .   k u b e - p r o x y   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27250"
  },
  {
    "question": "What is Options?",
    "answer": "I f   t r u e ,   a d d s   t h e   f i l e   d i r e c t o r y   t o   t h e   h e a d e r   o f   t h e   l o g   m e s s a g e s   l o g   t o   s t a n d a r d   e r r o r   a s   w e l l   a s   f i l e s   ( n o   e f f e c t   w h e n   - l o g t o s t d e r r = t r u e )   O v e r r i d e s   k u b e - p r o x y ' s   i d e a   o f   w h a t   i t s   n o d e ' s   p r i m a r y   I P   i s .   N o t e   t h a t   t h e   n a m e   i s   a   h i s t o r i c a l   a r t i f a c t ,   a n d   k u b e - p r o x y   d o e s   n o t   a c t u a l l y   b i n d   a n y   s o c k e t s   t o   t h i s   I P .   T h i s   p a r a m e t e r   i s   i g n o r e d   i f   a   c o n f i g   f i l e   i s   s p e c i f i e d   b y   - - c o n f i g .   I f   t r u e   k u b e - p r o x y   w i l l   t r e a t   f a i l u r e   t o   b i n d   t o   a   p o r t   a s   f a t a l   a n d   e x i t   I f   t r u e   c l e a n u p   i p t a b l e s   a n d   i p v s   r u l e s   a n d   e x i t .   T h e   C I D R   r a n g e   o f   t h e   p o d s   i n   t h e   c l u s t e r .   ( F o r   d u a l - s t a c k   c l u s t e r s ,   t h i s   c a n   b e   a   c o m m a - s e p a r a t e d   d u a l - s t a c k   p a i r   o f   C I D R   r a n g e s . ) .   W h e n   - - d e t e c t - l o c a l - m o d e   i s   s e t   t o   C l u s t e r C I D R ,   k u b e - p r o x y   w i l l   c o n s i d e r   t r a f f i c   t o   b e   l o c a l   i f   i t s   s o u r c e   I P   i s   i n   t h i s   r a n g e .   ( O t h e r w i s e   i t   i s   n o t   u s e d . )   T h i s   p a r a m e t e r   i s   i g n o r e d   i f   a   c o n f i g   f i l e   i s   s p e c i f i e d   b y   - - c o n f i g .   T h e   p a t h   t o   t h e   c o n f i g u r a t i o n   f i l e .   H o w   o f t e n   c o n f i g u r a t i o n   f r o m   t h e   a p i s e r v e r   i s   r e f r e s h e d .   M u s t   b e   g r e a t e r   t h a n   0 .   M a x i m u m   n u m b e r   o f   N A T   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27251"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h e   K u b e r n e t e s   s c h e d u l e r   i s   a   c o n t r o l   p l a n e   p r o c e s s   w h i c h   a s s i g n s   P o d s   t o   N o d e s .   T h e   s c h e d u l e r   d e t e r m i n e s   w h i c h   N o d e s   a r e   v a l i d   p l a c e m e n t s   f o r   e a c h   P o d   i n   t h e   s c h e d u l i n g   q u e u e   a c c o r d i n g   t o   c o n s t r a i n t s   a n d   a v a i l a b l e   r e s o u r c e s .   T h e   s c h e d u l e r   t h e n   r a n k s   e a c h   v a l i d   N o d e   a n d   b i n d s   t h e   P o d   t o   a   s u i t a b l e   N o d e .   M u l t i p l e   d i f f e r e n t   s c h e d u l e r s   m a y   b e   u s e d   w i t h i n   a   c l u s t e r ;   k u b e - s c h e d u l e r   i s   t h e   r e f e r e n c e   i m p l e m e n t a t i o n .   S e e   s c h e d u l i n g   f o r   m o r e   i n f o r m a t i o n   a b o u t   s c h e d u l i n g   a n d   t h e   k u b e - s c h e d u l e r   c o m p o n e n t .   k u b e - s c h e d u l e r   [ f l a g s ]",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27252"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   m a p   f r o m   m e t r i c - l a b e l   t o   v a l u e   a l l o w - l i s t   o f   t h i s   l a b e l .   T h e   k e y ' s   f o r m a t   i s   < M e t r i c N a m e > , < L a b e l N a m e > .   T h e   v a l u e ' s   f o r m a t   i s   < a l l o w e d _ v a l u e > , < a l l o w e d _ v a l u e > . . . e . g .   m e t r i c 1 , l a b e l 1 = ' v 1 , v 2 , v 3 ' ,   m e t r i c 1 , l a b e l 2 = ' v 1 , v 2 , v 3 '   m e t r i c 2 , l a b e l 1 = ' v 1 , v 2 , v 3 ' .   T h e   p a t h   t o   t h e   m a n i f e s t   f i l e   t h a t   c o n t a i n s   t h e   a l l o w - l i s t   m a p p i n g .   T h e   f o r m a t   o f   t h e   f i l e   i s   t h e   s a m e   a s   t h e   f l a g   - - a l l o w - m e t r i c - l a b e l s .   N o t e   t h a t   t h e   f l a g   - - a l l o w - m e t r i c - l a b e l s   w i l l   o v e r r i d e   t h e   m a n i f e s t   f i l e .   k u b e c o n f i g   f i l e   p o i n t i n g   a t   t h e   ' c o r e '   k u b e r n e t e s   s e r v e r   w i t h   e n o u g h   r i g h t s   t o   c r e a t e   t o k e n r e v i e w s . a u t h e n t i c a t i o n . k 8 s . i o .   T h i s   i s   o p t i o n a l .   I f   e m p t y ,   a l l   t o k e n   r e q u e s t s   a r e   c o n s i d e r e d   t o   b e   a n o n y m o u s   a n d   n o   c l i e n t   C A   i s   l o o k e d   u p   i n   t h e   c l u s t e r .   I f   f a l s e ,   t h e   a u t h e n t i c a t i o n - k u b e c o n f i g   w i l l   b e   u s e d   t o   l o o k u p   m i s s i n g   a u t h e n t i c a t i o n   c o n f i g u r a t i o n   f r o m   t h e   c l u s t e r .   T h e   d u r a t i o n   t o   c a c h e   r e s p o n s e s   f r o m   t h e   w e b h o o k   t o k e n   a u t h e n t i c a t o r .   I f   t r u e ,   f a i l u r e s   t o   l o o k   u p   m i s s i n g   a u t h e n t i c a t i o n   c o n f i g u r a t i o n   f r o m   t h e   c l u s t e r   a r e   n o t   c o n s i d e r e d   f a t a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27253"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h e   k u b e l e t   i s   t h e   p r i m a r y   \" n o d e   a g e n t \"   t h a t   r u n s   o n   e a c h   n o d e .   I t   c a n   r e g i s t e r   t h e   n o d e   w i t h   t h e   a p i s e r v e r   u s i n g   o n e   o f :   t h e   h o s t n a m e ;   a   f l a g   t o   o v e r r i d e   t h e   h o s t n a m e ;   o r   s p e c i f i c   l o g i c   f o r   a   c l o u d   p r o v i d e r .   T h e   k u b e l e t   w o r k s   i n   t e r m s   o f   a   P o d S p e c .   A   P o d S p e c   i s   a   Y A M L   o r   J S O N   o b j e c t   t h a t   d e s c r i b e s   a   p o d .   T h e   k u b e l e t   t a k e s   a   s e t   o f   P o d S p e c s   t h a t   a r e   p r o v i d e d   t h r o u g h   v a r i o u s   m e c h a n i s m s   ( p r i m a r i l y   t h r o u g h   t h e   a p i s e r v e r )   a n d   e n s u r e s   t h a t   t h e   c o n t a i n e r s   d e s c r i b e d   i n   t h o s e   P o d S p e c s   a r e   r u n n i n g   a n d   h e a l t h y .   T h e   k u b e l e t   d o e s n ' t   m a n a g e   c o n t a i n e r s   w h i c h   w e r e   n o t   c r e a t e d   b y   K u b e r n e t e s .   O t h e r   t h a n   f r o m   a n   P o d S p e c   f r o m   t h e   a p i s e r v e r ,   t h e r e   a r e   t w o   w a y s   t h a t   a   c o n t a i n e r   m a n i f e s t   c a n   b e   p r o v i d e d   t o   t h e   K u b e l e t .   F i l e :   P a t h   p a s s e d   a s   a   f l a g   o n   t h e   c o m m a n d   l i n e .   F i l e s   u n d e r   t h i s   p a t h   w i l l   b e   m o n i t o r e d   p e r i o d i c a l l y   f o r   u p d a t e s .   T h e   m o n i t o r i n g   p e r i o d   i s   2 0 s   b y   d e f a u l t   a n d   i s   c o n f i g u r a b l e   v i a   a   f l a g .   H T T P   e n d p o i n t :   H T T P   e n d p o i n t   p a s s e d   a s   a   p a r a m e t e r   o n   t h e   c o m m a n d   l i n e .   T h i s   e n d p o i n t   i s   c h e c k e d   e v e r y   2 0   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27254"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   f o r   t h e   K u b e l e t   t o   s e r v e   o n   ( s e t   t o   ' 0 . 0 . 0 . 0 '   o r   ' : : '   f o r   l i s t e n i n g   o n   a l l   i n t e r f a c e s   a n d   I P   a d d r e s s   f a m i l i e s )   ( D E P R E C A T E D :   T h i s   p a r a m e t e r   s h o u l d   b e   s e t   v i a   t h e   c o n f i g   f i l e   s p e c i f i e d   b y   t h e   K u b e l e t ' s   - - c o n f i g   f l a g .   S e e   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / a d m i n i s t e r - c l u s t e r / k u b e l e t - c o n f i g - f i l e /   f o r   m o r e   i n f o r m a t i o n . )   C o m m a - s e p a r a t e d   w h i t e l i s t   o f   u n s a f e   s y s c t l s   o r   u n s a f e   s y s c t l   p a t t e r n s   ( e n d i n g   i n   * ) .   U s e   t h e s e   a t   y o u r   o w n   r i s k .   ( D E P R E C A T E D :   T h i s   p a r a m e t e r   s h o u l d   b e   s e t   v i a   t h e   c o n f i g   f i l e   s p e c i f i e d   b y   t h e   K u b e l e t ' s   - - c o n f i g   f l a g .   S e e   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / a d m i n i s t e r - c l u s t e r / k u b e l e t - c o n f i g - f i l e /   f o r   m o r e   i n f o r m a t i o n . )   E n a b l e s   a n o n y m o u s   r e q u e s t s   t o   t h e   K u b e l e t   s e r v e r .   R e q u e s t s   t h a t   a r e   n o t   r e j e c t e d   b y   a n o t h e r   a u t h e n t i c a t i o n   m e t h o d   a r e   t r e a t e d   a s   a n o n y m o u s   r e q u e s t s .   A n o n y m o u s   r e q u e s t s   h a v e   a   u s e r n a m e   o f   s y s t e m : a n o n y m o u s ,   a n d   a   g r o u p   n a m e   o f   s y s t e m : u n a u t h e n t i c a t e d .   ( D E P R E C A T E D :   T h i s   p a r a m e t e r   s h o u l d   b e   s e t   v i a   t h e   c o n f i g   f i l e   s p e c i f i e d   b y   t h e   K u b e l e t ' s   - - c o n f i g   f l a g .   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27255"
  },
  {
    "question": "What is 13.1 - Flow control?",
    "answer": "A P I   P r i o r i t y   a n d   F a i r n e s s   c o n t r o l s   t h e   b e h a v i o r   o f   t h e   K u b e r n e t e s   A P I   s e r v e r   i n   a n   o v e r l o a d   s i t u a t i o n .   Y o u   c a n   f i n d   m o r e   i n f o r m a t i o n   a b o u t   i t   i n   t h e   A P I   P r i o r i t y   a n d   F a i r n e s s   d o c u m e n t a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_27256"
  },
  {
    "question": "What is Diagnostics?",
    "answer": "E v e r y   H T T P   r e s p o n s e   f r o m   a n   A P I   s e r v e r   w i t h   t h e   p r i o r i t y   a n d   f a i r n e s s   f e a t u r e   e n a b l e d   h a s   t w o   e x t r a   h e a d e r s :   X - K u b e r n e t e s - P F - F l o w S c h e m a - U I D   a n d   X - K u b e r n e t e s - P F - P r i o r i t y L e v e l - U I D ,   n o t i n g   t h e   f l o w   s c h e m a   t h a t   m a t c h e d   t h e   r e q u e s t   a n d   t h e   p r i o r i t y   l e v e l   t o   w h i c h   i t   w a s   a s s i g n e d ,   r e s p e c t i v e l y .   T h e   A P I   o b j e c t s '   n a m e s   a r e   n o t   i n c l u d e d   i n   t h e s e   h e a d e r s   ( t o   a v o i d   r e v e a l i n g   d e t a i l s   i n   c a s e   t h e   r e q u e s t i n g   u s e r   d o e s   n o t   h a v e   p e r m i s s i o n   t o   v i e w   t h e m ) .   W h e n   d e b u g g i n g ,   y o u   c a n   u s e   a   c o m m a n d   s u c h   a s :   k u b e c t l   g e t   f l o w s c h e m a s   - o   c u s t o m - c o l u m n s = \" u i d : { m e t a d a t a . u i d } , n a m e : { m e t a d a t a . n a m e } \"   k u b e c t l   g e t   p r i o r i t y l e v e l c o n f i g u r a t i o n s   - o   c u s t o m - c o l u m n s = \" u i d : { m e t a d a t a . u i d } , n a m e : { m e t a d a t a . n a m e } \"   t o   g e t   a   m a p p i n g   o f   U I D s   t o   n a m e s   f o r   b o t h   F l o w S c h e m a s   a n d   P r i o r i t y L e v e l C o n f i g u r a t i o n s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27257"
  },
  {
    "question": "What is Debug endpoints?",
    "answer": "W i t h   t h e   A P I P r i o r i t y A n d F a i r n e s s   f e a t u r e   e n a b l e d ,   t h e   k u b e - a p i s e r v e r   s e r v e s   t h e   f o l l o w i n g   a d d i t i o n a l   p a t h s   a t   i t s   H T T P ( S )   p o r t s .   Y o u   n e e d   t o   e n s u r e   y o u   h a v e   p e r m i s s i o n s   t o   a c c e s s   t h e s e   e n d p o i n t s .   Y o u   d o n ' t   h a v e   t o   d o   a n y t h i n g   i f   y o u   a r e   u s i n g   a d m i n .   P e r m i s s i o n s   c a n   b e   g r a n t e d   i f   n e e d e d   f o l l o w i n g   t h e   R B A C   d o c   t o   a c c e s s   / d e b u g / a p i _ p r i o r i t y _ a n d _ f a i r n e s s /   b y   s p e c i f y i n g   n o n R e s o u r c e U R L s .   / d e b u g / a p i _ p r i o r i t y _ a n d _ f a i r n e s s / d u m p _ p r i o r i t y _ l e v e l s   -   a   l i s t i n g   o f   a l l   t h e   p r i o r i t y   l e v e l s   a n d   t h e   c u r r e n t   s t a t e   o f   e a c h .   Y o u   c a n   f e t c h   l i k e   t h i s : k u b e c t l   g e t   - - r a w   / d e b u g / a p i _ p r i o r i t y _ a n d _ f a i r n e s s / d u m p _ p r i o r i t y _ l e v e l s   T h e   o u t p u t   w i l l   b e   i n   C S V   a n d   s i m i l a r   t o   t h i s : P r i o r i t y L e v e l N a m e ,   A c t i v e Q u e u e s ,   I s I d l e ,   I s Q u i e s c i n g ,   W a i t i n g R e q u e s t s ,   E x e c u t i n g R e q u e s t s ,   D i s p a t c h e d R e q u e s t s ,   R e j e c t e d R e q u e s t s ,   T i m e d o u t R e q u e s t s ,   C a n c e l l e d R e q u e s t s   c a t c h - a l l ,   0 ,   t r u e ,   f a l s e ,   0 ,   0 ,   1 ,   0 ,   0 ,   0   e x e m p t ,   0 ,   t r u e ,   f a l s e ,   0 ,   0 ,   0 ,   0 ,   0 ,   0   g l o b a l - d e f a u l t ,   0 ,   t r u e ,   f a l s e ,   0 ,   0 ,   4 6 ,   0 ,   0 ,   0   l e a d e r - e l e c t i o n ,   0 ,   t r u e ,   f a l s e ,   0 ,   0 ,   4 ,   0 ,   0 ,   0   n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27258"
  },
  {
    "question": "What is Debug logging?",
    "answer": "A t   - v = 3   o r   m o r e   v e r b o s i t y ,   t h e   A P I   s e r v e r   o u t p u t s   a n   h t t p l o g   l i n e   f o r   e v e r y   r e q u e s t   i n   t h e   A P I   s e r v e r   l o g ,   a n d   i t   i n c l u d e s   t h e   f o l l o w i n g   a t t r i b u t e s .   a p f _ f s :   t h e   n a m e   o f   t h e   f l o w   s c h e m a   t o   w h i c h   t h e   r e q u e s t   w a s   c l a s s i f i e d . a p f _ p l :   t h e   n a m e   o f   t h e   p r i o r i t y   l e v e l   f o r   t h a t   f l o w   s c h e m a . a p f _ i s e a t s :   t h e   n u m b e r   o f   s e a t s   d e t e r m i n e d   f o r   t h e   i n i t i a l   ( n o r m a l )   s t a g e   o f   e x e c u t i o n   o f   t h e   r e q u e s t . a p f _ f s e a t s :   t h e   n u m b e r   o f   s e a t s   d e t e r m i n e d   f o r   t h e   f i n a l   s t a g e   o f   e x e c u t i o n   ( a c c o u n t i n g   f o r   t h e   a s s o c i a t e d   w a t c h   n o t i f i c a t i o n s )   o f   t h e   r e q u e s t . a p f _ a d d i t i o n a l L a t e n c y :   t h e   d u r a t i o n   o f   t h e   f i n a l   s t a g e   o f   e x e c u t i o n   o f   t h e   r e q u e s t .   A t   h i g h e r   l e v e l s   o f   v e r b o s i t y   t h e r e   w i l l   b e   l o g   l i n e s   e x p o s i n g   d e t a i l s   o f   h o w   A P F   h a n d l e d   t h e   r e q u e s t ,   p r i m a r i l y   f o r   d e b u g g i n g   p u r p o s e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27259"
  },
  {
    "question": "What is Response headers?",
    "answer": "A P F   a d d s   t h e   f o l l o w i n g   t w o   h e a d e r s   t o   e a c h   H T T P   r e s p o n s e   m e s s a g e .   T h e y   w o n ' t   a p p e a r   i n   t h e   a u d i t   l o g .   T h e y   c a n   b e   v i e w e d   f r o m   t h e   c l i e n t   s i d e .   F o r   c l i e n t   u s i n g   k l o g ,   u s e   v e r b o s i t y   - v = 8   o r   h i g h e r   t o   v i e w   t h e s e   h e a d e r s .   X - K u b e r n e t e s - P F - F l o w S c h e m a - U I D   h o l d s   t h e   U I D   o f   t h e   F l o w S c h e m a   o b j e c t   t o   w h i c h   t h e   c o r r e s p o n d i n g   r e q u e s t   w a s   c l a s s i f i e d . X - K u b e r n e t e s - P F - P r i o r i t y L e v e l - U I D   h o l d s   t h e   U I D   o f   t h e   P r i o r i t y L e v e l C o n f i g u r a t i o n   o b j e c t   a s s o c i a t e d   w i t h   t h a t   F l o w S c h e m a .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27260"
  },
  {
    "question": "What is What's next?",
    "answer": "F o r   b a c k g r o u n d   i n f o r m a t i o n   o n   d e s i g n   d e t a i l s   f o r   A P I   p r i o r i t y   a n d   f a i r n e s s ,   s e e   t h e   e n h a n c e m e n t   p r o p o s a l .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27261"
  },
  {
    "question": "What is Resource Types?",
    "answer": "E x e c C r e d e n t i a l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27262"
  },
  {
    "question": "What is ExecCredential?",
    "answer": "E x e c C r e d e n t i a l   i s   u s e d   b y   e x e c - b a s e d   p l u g i n s   t o   c o m m u n i c a t e   c r e d e n t i a l s   t o   H T T P   t r a n s p o r t s .   S p e c   h o l d s   i n f o r m a t i o n   p a s s e d   t o   t h e   p l u g i n   b y   t h e   t r a n s p o r t .   S t a t u s   i s   f i l l e d   i n   b y   t h e   p l u g i n   a n d   h o l d s   t h e   c r e d e n t i a l s   t h a t   t h e   t r a n s p o r t   s h o u l d   u s e   t o   c o n t a c t   t h e   A P I .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27263"
  },
  {
    "question": "What is Cluster?",
    "answer": "A p p e a r s   i n :   E x e c C r e d e n t i a l S p e c   C l u s t e r   c o n t a i n s   i n f o r m a t i o n   t o   a l l o w   a n   e x e c   p l u g i n   t o   c o m m u n i c a t e   w i t h   t h e   k u b e r n e t e s   c l u s t e r   b e i n g   a u t h e n t i c a t e d   t o .   T o   e n s u r e   t h a t   t h i s   s t r u c t   c o n t a i n s   e v e r y t h i n g   s o m e o n e   w o u l d   n e e d   t o   c o m m u n i c a t e   w i t h   a   k u b e r n e t e s   c l u s t e r   ( j u s t   l i k e   t h e y   w o u l d   v i a   a   k u b e c o n f i g ) ,   t h e   f i e l d s   s h o u l d   s h a d o w   \" k 8 s . i o / c l i e n t - g o / t o o l s / c l i e n t c m d / a p i / v 1 \" . C l u s t e r ,   w i t h   t h e   e x c e p t i o n   o f   C e r t i f i c a t e A u t h o r i t y ,   s i n c e   C A   d a t a   w i l l   a l w a y s   b e   p a s s e d   t o   t h e   p l u g i n   a s   b y t e s .   S e r v e r   i s   t h e   a d d r e s s   o f   t h e   k u b e r n e t e s   c l u s t e r   ( h t t p s : / / h o s t n a m e : p o r t ) .   T L S S e r v e r N a m e   i s   p a s s e d   t o   t h e   s e r v e r   f o r   S N I   a n d   i s   u s e d   i n   t h e   c l i e n t   t o   c h e c k   s e r v e r   c e r t i f i c a t e s   a g a i n s t .   I f   S e r v e r N a m e   i s   e m p t y ,   t h e   h o s t n a m e   u s e d   t o   c o n t a c t   t h e   s e r v e r   i s   u s e d .   I n s e c u r e S k i p T L S V e r i f y   s k i p s   t h e   v a l i d i t y   c h e c k   f o r   t h e   s e r v e r ' s   c e r t i f i c a t e .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e .   C A D a t a   c o n t a i n s   P E M - e n c o d e d   c e r t i f i c a t e   a u t h o r i t y   c e r t i f i c a t e s .   I f   e m p t y ,   s y s t e m   r o o t s   s h o u l d   b e   u s e d .   P r o x y U R L   i s   t h e   U R L   t o   t h e   p r o x y   t o   b ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27264"
  },
  {
    "question": "What is ExecCredentialSpec?",
    "answer": "A p p e a r s   i n :   E x e c C r e d e n t i a l   E x e c C r e d e n t i a l S p e c   h o l d s   r e q u e s t   a n d   r u n t i m e   s p e c i f i c   i n f o r m a t i o n   p r o v i d e d   b y   t h e   t r a n s p o r t .   C l u s t e r   c o n t a i n s   i n f o r m a t i o n   t o   a l l o w   a n   e x e c   p l u g i n   t o   c o m m u n i c a t e   w i t h   t h e   k u b e r n e t e s   c l u s t e r   b e i n g   a u t h e n t i c a t e d   t o .   N o t e   t h a t   C l u s t e r   i s   n o n - n i l   o n l y   w h e n   p r o v i d e C l u s t e r I n f o   i s   s e t   t o   t r u e   i n   t h e   e x e c   p r o v i d e r   c o n f i g   ( i . e . ,   E x e c C o n f i g . P r o v i d e C l u s t e r I n f o ) .   I n t e r a c t i v e   d e c l a r e s   w h e t h e r   s t d i n   h a s   b e e n   p a s s e d   t o   t h i s   e x e c   p l u g i n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27265"
  },
  {
    "question": "What is ExecCredentialStatus?",
    "answer": "A p p e a r s   i n :   E x e c C r e d e n t i a l   E x e c C r e d e n t i a l S t a t u s   h o l d s   c r e d e n t i a l s   f o r   t h e   t r a n s p o r t   t o   u s e .   T o k e n   a n d   C l i e n t K e y D a t a   a r e   s e n s i t i v e   f i e l d s .   T h i s   d a t a   s h o u l d   o n l y   b e   t r a n s m i t t e d   i n - m e m o r y   b e t w e e n   c l i e n t   a n d   e x e c   p l u g i n   p r o c e s s .   E x e c   p l u g i n   i t s e l f   s h o u l d   a t   l e a s t   b e   p r o t e c t e d   v i a   f i l e   p e r m i s s i o n s .   E x p i r a t i o n T i m e s t a m p   i n d i c a t e s   a   t i m e   w h e n   t h e   p r o v i d e d   c r e d e n t i a l s   e x p i r e .   T o k e n   i s   a   b e a r e r   t o k e n   u s e d   b y   t h e   c l i e n t   f o r   r e q u e s t   a u t h e n t i c a t i o n .   P E M - e n c o d e d   c l i e n t   T L S   c e r t i f i c a t e s   ( i n c l u d i n g   i n t e r m e d i a t e s ,   i f   a n y ) .   P E M - e n c o d e d   p r i v a t e   k e y   f o r   t h e   a b o v e   c e r t i f i c a t e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27266"
  },
  {
    "question": "What is Resource Types?",
    "answer": "E x e c C r e d e n t i a l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27267"
  },
  {
    "question": "What is ExecCredential?",
    "answer": "E x e c C r e d e n t i a l   i s   u s e d   b y   e x e c - b a s e d   p l u g i n s   t o   c o m m u n i c a t e   c r e d e n t i a l s   t o   H T T P   t r a n s p o r t s .   S p e c   h o l d s   i n f o r m a t i o n   p a s s e d   t o   t h e   p l u g i n   b y   t h e   t r a n s p o r t .   S t a t u s   i s   f i l l e d   i n   b y   t h e   p l u g i n   a n d   h o l d s   t h e   c r e d e n t i a l s   t h a t   t h e   t r a n s p o r t   s h o u l d   u s e   t o   c o n t a c t   t h e   A P I .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27268"
  },
  {
    "question": "What is Cluster?",
    "answer": "A p p e a r s   i n :   E x e c C r e d e n t i a l S p e c   C l u s t e r   c o n t a i n s   i n f o r m a t i o n   t o   a l l o w   a n   e x e c   p l u g i n   t o   c o m m u n i c a t e   w i t h   t h e   k u b e r n e t e s   c l u s t e r   b e i n g   a u t h e n t i c a t e d   t o .   T o   e n s u r e   t h a t   t h i s   s t r u c t   c o n t a i n s   e v e r y t h i n g   s o m e o n e   w o u l d   n e e d   t o   c o m m u n i c a t e   w i t h   a   k u b e r n e t e s   c l u s t e r   ( j u s t   l i k e   t h e y   w o u l d   v i a   a   k u b e c o n f i g ) ,   t h e   f i e l d s   s h o u l d   s h a d o w   \" k 8 s . i o / c l i e n t - g o / t o o l s / c l i e n t c m d / a p i / v 1 \" . C l u s t e r ,   w i t h   t h e   e x c e p t i o n   o f   C e r t i f i c a t e A u t h o r i t y ,   s i n c e   C A   d a t a   w i l l   a l w a y s   b e   p a s s e d   t o   t h e   p l u g i n   a s   b y t e s .   S e r v e r   i s   t h e   a d d r e s s   o f   t h e   k u b e r n e t e s   c l u s t e r   ( h t t p s : / / h o s t n a m e : p o r t ) .   T L S S e r v e r N a m e   i s   p a s s e d   t o   t h e   s e r v e r   f o r   S N I   a n d   i s   u s e d   i n   t h e   c l i e n t   t o   c h e c k   s e r v e r   c e r t i f i c a t e s   a g a i n s t .   I f   S e r v e r N a m e   i s   e m p t y ,   t h e   h o s t n a m e   u s e d   t o   c o n t a c t   t h e   s e r v e r   i s   u s e d .   I n s e c u r e S k i p T L S V e r i f y   s k i p s   t h e   v a l i d i t y   c h e c k   f o r   t h e   s e r v e r ' s   c e r t i f i c a t e .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e .   C A D a t a   c o n t a i n s   P E M - e n c o d e d   c e r t i f i c a t e   a u t h o r i t y   c e r t i f i c a t e s .   I f   e m p t y ,   s y s t e m   r o o t s   s h o u l d   b e   u s e d .   P r o x y U R L   i s   t h e   U R L   t o   t h e   p r o x y   t o   b ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27269"
  },
  {
    "question": "What is ExecCredentialSpec?",
    "answer": "A p p e a r s   i n :   E x e c C r e d e n t i a l   E x e c C r e d e n t i a l S p e c   h o l d s   r e q u e s t   a n d   r u n t i m e   s p e c i f i c   i n f o r m a t i o n   p r o v i d e d   b y   t h e   t r a n s p o r t .   C l u s t e r   c o n t a i n s   i n f o r m a t i o n   t o   a l l o w   a n   e x e c   p l u g i n   t o   c o m m u n i c a t e   w i t h   t h e   k u b e r n e t e s   c l u s t e r   b e i n g   a u t h e n t i c a t e d   t o .   N o t e   t h a t   C l u s t e r   i s   n o n - n i l   o n l y   w h e n   p r o v i d e C l u s t e r I n f o   i s   s e t   t o   t r u e   i n   t h e   e x e c   p r o v i d e r   c o n f i g   ( i . e . ,   E x e c C o n f i g . P r o v i d e C l u s t e r I n f o ) .   I n t e r a c t i v e   d e c l a r e s   w h e t h e r   s t d i n   h a s   b e e n   p a s s e d   t o   t h i s   e x e c   p l u g i n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27270"
  },
  {
    "question": "What is ExecCredentialStatus?",
    "answer": "A p p e a r s   i n :   E x e c C r e d e n t i a l   E x e c C r e d e n t i a l S t a t u s   h o l d s   c r e d e n t i a l s   f o r   t h e   t r a n s p o r t   t o   u s e .   T o k e n   a n d   C l i e n t K e y D a t a   a r e   s e n s i t i v e   f i e l d s .   T h i s   d a t a   s h o u l d   o n l y   b e   t r a n s m i t t e d   i n - m e m o r y   b e t w e e n   c l i e n t   a n d   e x e c   p l u g i n   p r o c e s s .   E x e c   p l u g i n   i t s e l f   s h o u l d   a t   l e a s t   b e   p r o t e c t e d   v i a   f i l e   p e r m i s s i o n s .   E x p i r a t i o n T i m e s t a m p   i n d i c a t e s   a   t i m e   w h e n   t h e   p r o v i d e d   c r e d e n t i a l s   e x p i r e .   T o k e n   i s   a   b e a r e r   t o k e n   u s e d   b y   t h e   c l i e n t   f o r   r e q u e s t   a u t h e n t i c a t i o n .   P E M - e n c o d e d   c l i e n t   T L S   c e r t i f i c a t e s   ( i n c l u d i n g   i n t e r m e d i a t e s ,   i f   a n y ) .   P E M - e n c o d e d   p r i v a t e   k e y   f o r   t h e   a b o v e   c e r t i f i c a t e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27271"
  },
  {
    "question": "What is Resource Types?",
    "answer": "C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27272"
  },
  {
    "question": "What is Configuration?",
    "answer": "C o n f i g u r a t i o n   p r o v i d e s   c o n f i g u r a t i o n   f o r   t h e   E v e n t R a t e L i m i t   a d m i s s i o n   c o n t r o l l e r .   l i m i t s   a r e   t h e   l i m i t s   t o   p l a c e   o n   e v e n t   q u e r i e s   r e c e i v e d .   L i m i t s   c a n   b e   p l a c e d   o n   e v e n t s   r e c e i v e d   s e r v e r - w i d e ,   p e r   n a m e s p a c e ,   p e r   u s e r ,   a n d   p e r   s o u r c e + o b j e c t .   A t   l e a s t   o n e   l i m i t   i s   r e q u i r e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27273"
  },
  {
    "question": "What is Limit?",
    "answer": "A p p e a r s   i n :   C o n f i g u r a t i o n   L i m i t   i s   t h e   c o n f i g u r a t i o n   f o r   a   p a r t i c u l a r   l i m i t   t y p e   t y p e   i s   t h e   t y p e   o f   l i m i t   t o   w h i c h   t h i s   c o n f i g u r a t i o n   a p p l i e s   q p s   i s   t h e   n u m b e r   o f   e v e n t   q u e r i e s   p e r   s e c o n d   t h a t   a r e   a l l o w e d   f o r   t h i s   t y p e   o f   l i m i t .   T h e   q p s   a n d   b u r s t   f i e l d s   a r e   u s e d   t o g e t h e r   t o   d e t e r m i n e   i f   a   p a r t i c u l a r   e v e n t   q u e r y   i s   a c c e p t e d .   T h e   q p s   d e t e r m i n e s   h o w   m a n y   q u e r i e s   a r e   a c c e p t e d   o n c e   t h e   b u r s t   a m o u n t   o f   q u e r i e s   h a s   b e e n   e x h a u s t e d .   b u r s t   i s   t h e   b u r s t   n u m b e r   o f   e v e n t   q u e r i e s   t h a t   a r e   a l l o w e d   f o r   t h i s   t y p e   o f   l i m i t .   T h e   q p s   a n d   b u r s t   f i e l d s   a r e   u s e d   t o g e t h e r   t o   d e t e r m i n e   i f   a   p a r t i c u l a r   e v e n t   q u e r y   i s   a c c e p t e d .   T h e   b u r s t   d e t e r m i n e s   t h e   m a x i m u m   s i z e   o f   t h e   a l l o w a n c e   g r a n t e d   f o r   a   p a r t i c u l a r   b u c k e t .   F o r   e x a m p l e ,   i f   t h e   b u r s t   i s   1 0   a n d   t h e   q p s   i s   3 ,   t h e n   t h e   a d m i s s i o n   c o n t r o l   w i l l   a c c e p t   1 0   q u e r i e s   b e f o r e   b l o c k i n g   a n y   q u e r i e s .   E v e r y   s e c o n d ,   3   m o r e   q u e r i e s   w i l l   b e   a l l o w e d .   I f   s o m e   o f   t h a t   a l l o w a n c e   i s   n o t   u s e d ,   t h e n   i t   w i l l   r o l l   o v e r   t o   t h e   n e x t   s e c o n d ,   u n t i l   t h e   m a x i m u m   a l l o w a n c e   o f   1 0   i s   r e a c h e d . ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27274"
  },
  {
    "question": "What is LimitType?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   L i m i t   L i m i t T y p e   i s   t h e   t y p e   o f   t h e   l i m i t   ( e . g . ,   p e r - n a m e s p a c e )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27275"
  },
  {
    "question": "What is Resource Types?",
    "answer": "I m a g e R e v i e w",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27276"
  },
  {
    "question": "What is ImageReview?",
    "answer": "I m a g e R e v i e w   c h e c k s   i f   t h e   s e t   o f   i m a g e s   i n   a   p o d   a r e   a l l o w e d .   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   S p e c   h o l d s   i n f o r m a t i o n   a b o u t   t h e   p o d   b e i n g   e v a l u a t e d   S t a t u s   i s   f i l l e d   i n   b y   t h e   b a c k e n d   a n d   i n d i c a t e s   w h e t h e r   t h e   p o d   s h o u l d   b e   a l l o w e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27277"
  },
  {
    "question": "What is ImageReviewContainerSpec?",
    "answer": "A p p e a r s   i n :   I m a g e R e v i e w S p e c   I m a g e R e v i e w C o n t a i n e r S p e c   i s   a   d e s c r i p t i o n   o f   a   c o n t a i n e r   w i t h i n   t h e   p o d   c r e a t i o n   r e q u e s t .   T h i s   c a n   b e   i n   t h e   f o r m   i m a g e : t a g   o r   i m a g e @ S H A : 0 1 2 3 4 5 6 7 9 a b c d e f .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27278"
  },
  {
    "question": "What is ImageReviewSpec?",
    "answer": "A p p e a r s   i n :   I m a g e R e v i e w   I m a g e R e v i e w S p e c   i s   a   d e s c r i p t i o n   o f   t h e   p o d   c r e a t i o n   r e q u e s t .   C o n t a i n e r s   i s   a   l i s t   o f   a   s u b s e t   o f   t h e   i n f o r m a t i o n   i n   e a c h   c o n t a i n e r   o f   t h e   P o d   b e i n g   c r e a t e d .   A n n o t a t i o n s   i s   a   l i s t   o f   k e y - v a l u e   p a i r s   e x t r a c t e d   f r o m   t h e   P o d ' s   a n n o t a t i o n s .   I t   o n l y   i n c l u d e s   k e y s   w h i c h   m a t c h   t h e   p a t t e r n   * . i m a g e - p o l i c y . k 8 s . i o / * .   I t   i s   u p   t o   e a c h   w e b h o o k   b a c k e n d   t o   d e t e r m i n e   h o w   t o   i n t e r p r e t   t h e s e   a n n o t a t i o n s ,   i f   a t   a l l .   N a m e s p a c e   i s   t h e   n a m e s p a c e   t h e   p o d   i s   b e i n g   c r e a t e d   i n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27279"
  },
  {
    "question": "What is ImageReviewStatus?",
    "answer": "A p p e a r s   i n :   I m a g e R e v i e w   I m a g e R e v i e w S t a t u s   i s   t h e   r e s u l t   o f   t h e   r e v i e w   f o r   t h e   p o d   c r e a t i o n   r e q u e s t .   A l l o w e d   i n d i c a t e s   t h a t   a l l   i m a g e s   w e r e   a l l o w e d   t o   b e   r u n .   R e a s o n   s h o u l d   b e   e m p t y   u n l e s s   A l l o w e d   i s   f a l s e   i n   w h i c h   c a s e   i t   m a y   c o n t a i n   a   s h o r t   d e s c r i p t i o n   o f   w h a t   i s   w r o n g .   K u b e r n e t e s   m a y   t r u n c a t e   e x c e s s i v e l y   l o n g   e r r o r s   w h e n   d i s p l a y i n g   t o   t h e   u s e r .   A u d i t A n n o t a t i o n s   w i l l   b e   a d d e d   t o   t h e   a t t r i b u t e s   o b j e c t   o f   t h e   a d m i s s i o n   c o n t r o l l e r   r e q u e s t   u s i n g   ' A d d A n n o t a t i o n ' .   T h e   k e y s   s h o u l d   b e   p r e f i x - l e s s   ( i . e . ,   t h e   a d m i s s i o n   c o n t r o l l e r   w i l l   a d d   a n   a p p r o p r i a t e   p r e f i x ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27280"
  },
  {
    "question": "What is Resource Types?",
    "answer": "A d m i s s i o n R e v i e w",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27281"
  },
  {
    "question": "What is AdmissionReview?",
    "answer": "A d m i s s i o n R e v i e w   d e s c r i b e s   a n   a d m i s s i o n   r e v i e w   r e q u e s t / r e s p o n s e .   R e q u e s t   d e s c r i b e s   t h e   a t t r i b u t e s   f o r   t h e   a d m i s s i o n   r e q u e s t .   R e s p o n s e   d e s c r i b e s   t h e   a t t r i b u t e s   f o r   t h e   a d m i s s i o n   r e s p o n s e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27282"
  },
  {
    "question": "What is AdmissionRequest?",
    "answer": "A p p e a r s   i n :   A d m i s s i o n R e v i e w   A d m i s s i o n R e q u e s t   d e s c r i b e s   t h e   a d m i s s i o n . A t t r i b u t e s   f o r   t h e   a d m i s s i o n   r e q u e s t .   U I D   i s   a n   i d e n t i f i e r   f o r   t h e   i n d i v i d u a l   r e q u e s t / r e s p o n s e .   I t   a l l o w s   u s   t o   d i s t i n g u i s h   i n s t a n c e s   o f   r e q u e s t s   w h i c h   a r e   o t h e r w i s e   i d e n t i c a l   ( p a r a l l e l   r e q u e s t s ,   r e q u e s t s   w h e n   e a r l i e r   r e q u e s t s   d i d   n o t   m o d i f y   e t c )   T h e   U I D   i s   m e a n t   t o   t r a c k   t h e   r o u n d   t r i p   ( r e q u e s t / r e s p o n s e )   b e t w e e n   t h e   K A S   a n d   t h e   W e b H o o k ,   n o t   t h e   u s e r   r e q u e s t .   I t   i s   s u i t a b l e   f o r   c o r r e l a t i n g   l o g   e n t r i e s   b e t w e e n   t h e   w e b h o o k   a n d   a p i s e r v e r ,   f o r   e i t h e r   a u d i t i n g   o r   d e b u g g i n g .   K i n d   i s   t h e   f u l l y - q u a l i f i e d   t y p e   o f   o b j e c t   b e i n g   s u b m i t t e d   ( f o r   e x a m p l e ,   v 1 . P o d   o r   a u t o s c a l i n g . v 1 . S c a l e )   R e s o u r c e   i s   t h e   f u l l y - q u a l i f i e d   r e s o u r c e   b e i n g   r e q u e s t e d   ( f o r   e x a m p l e ,   v 1 . p o d s )   S u b R e s o u r c e   i s   t h e   s u b r e s o u r c e   b e i n g   r e q u e s t e d ,   i f   a n y   ( f o r   e x a m p l e ,   \" s t a t u s \"   o r   \" s c a l e \" )   R e q u e s t K i n d   i s   t h e   f u l l y - q u a l i f i e d   t y p e   o f   t h e   o r i g i n a l   A P I   r e q u e s t   ( f o r   e x a m p l e ,   v 1 . P o d   o r   a u t o s c a l i n g . v 1 . S c a l e ) .   I f   t h i s   i s   s p e c i f i e d   a n d   d i f f e r s   f r o m   t h e   v a l u e   i n   \" k i n d \" ,   a n   e q u i v ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27283"
  },
  {
    "question": "What is AdmissionResponse?",
    "answer": "A p p e a r s   i n :   A d m i s s i o n R e v i e w   A d m i s s i o n R e s p o n s e   d e s c r i b e s   a n   a d m i s s i o n   r e s p o n s e .   U I D   i s   a n   i d e n t i f i e r   f o r   t h e   i n d i v i d u a l   r e q u e s t / r e s p o n s e .   T h i s   m u s t   b e   c o p i e d   o v e r   f r o m   t h e   c o r r e s p o n d i n g   A d m i s s i o n R e q u e s t .   A l l o w e d   i n d i c a t e s   w h e t h e r   o r   n o t   t h e   a d m i s s i o n   r e q u e s t   w a s   p e r m i t t e d .   R e s u l t   c o n t a i n s   e x t r a   d e t a i l s   i n t o   w h y   a n   a d m i s s i o n   r e q u e s t   w a s   d e n i e d .   T h i s   f i e l d   I S   N O T   c o n s u l t e d   i n   a n y   w a y   i f   \" A l l o w e d \"   i s   \" t r u e \" .   T h e   p a t c h   b o d y .   C u r r e n t l y   w e   o n l y   s u p p o r t   \" J S O N P a t c h \"   w h i c h   i m p l e m e n t s   R F C   6 9 0 2 .   T h e   t y p e   o f   P a t c h .   C u r r e n t l y   w e   o n l y   a l l o w   \" J S O N P a t c h \" .   A u d i t A n n o t a t i o n s   i s   a n   u n s t r u c t u r e d   k e y   v a l u e   m a p   s e t   b y   r e m o t e   a d m i s s i o n   c o n t r o l l e r   ( e . g .   e r r o r = i m a g e - b l a c k l i s t e d ) .   M u t a t i n g A d m i s s i o n W e b h o o k   a n d   V a l i d a t i n g A d m i s s i o n W e b h o o k   a d m i s s i o n   c o n t r o l l e r   w i l l   p r e f i x   t h e   k e y s   w i t h   a d m i s s i o n   w e b h o o k   n a m e   ( e . g .   i m a g e p o l i c y . e x a m p l e . c o m / e r r o r = i m a g e - b l a c k l i s t e d ) .   A u d i t A n n o t a t i o n s   w i l l   b e   p r o v i d e d   b y   t h e   a d m i s s i o n   w e b h o o k   t o   a d d   a d d i t i o n a l   c o n t e x t   t o   t h e   a u d i t   l o g   f o r   t h i s   r e q u e s t .   w a r n i n g s   i s   a   l i s t   o f   w a r n i n g   m e s s a g ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27284"
  },
  {
    "question": "What is Operation?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   A d m i s s i o n R e q u e s t   O p e r a t i o n   i s   t h e   t y p e   o f   r e s o u r c e   o p e r a t i o n   b e i n g   c h e c k e d   f o r   a d m i s s i o n   c o n t r o l",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27285"
  },
  {
    "question": "What is PatchType?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   A d m i s s i o n R e s p o n s e   P a t c h T y p e   i s   t h e   t y p e   o f   p a t c h   b e i n g   u s e d   t o   r e p r e s e n t   t h e   m u t a t e d   o b j e c t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27286"
  },
  {
    "question": "What is Resource Types?",
    "answer": "E v e n t E v e n t L i s t P o l i c y P o l i c y L i s t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27287"
  },
  {
    "question": "What is Event?",
    "answer": "A p p e a r s   i n :   E v e n t L i s t   E v e n t   c a p t u r e s   a l l   t h e   i n f o r m a t i o n   t h a t   c a n   b e   i n c l u d e d   i n   a n   A P I   a u d i t   l o g .   A u d i t L e v e l   a t   w h i c h   e v e n t   w a s   g e n e r a t e d   U n i q u e   a u d i t   I D ,   g e n e r a t e d   f o r   e a c h   r e q u e s t .   S t a g e   o f   t h e   r e q u e s t   h a n d l i n g   w h e n   t h i s   e v e n t   i n s t a n c e   w a s   g e n e r a t e d .   R e q u e s t U R I   i s   t h e   r e q u e s t   U R I   a s   s e n t   b y   t h e   c l i e n t   t o   a   s e r v e r .   V e r b   i s   t h e   k u b e r n e t e s   v e r b   a s s o c i a t e d   w i t h   t h e   r e q u e s t .   F o r   n o n - r e s o u r c e   r e q u e s t s ,   t h i s   i s   t h e   l o w e r - c a s e d   H T T P   m e t h o d .   A u t h e n t i c a t e d   u s e r   i n f o r m a t i o n .   I m p e r s o n a t e d   u s e r   i n f o r m a t i o n .   S o u r c e   I P s ,   f r o m   w h e r e   t h e   r e q u e s t   o r i g i n a t e d   a n d   i n t e r m e d i a t e   p r o x i e s .   T h e   s o u r c e   I P s   a r e   l i s t e d   f r o m   ( i n   o r d e r ) :   X - F o r w a r d e d - F o r   r e q u e s t   h e a d e r   I P s X - R e a l - I p   h e a d e r ,   i f   n o t   p r e s e n t   i n   t h e   X - F o r w a r d e d - F o r   l i s t T h e   r e m o t e   a d d r e s s   f o r   t h e   c o n n e c t i o n ,   i f   i t   d o e s n ' t   m a t c h   t h e   l a s t   I P   i n   t h e   l i s t   u p   t o   h e r e   ( X - F o r w a r d e d - F o r   o r   X - R e a l - I p ) .   N o t e :   A l l   b u t   t h e   l a s t   I P   c a n   b e   a r b i t r a r i l y   s e t   b y   t h e   c l i e n t .   U s e r A g e n t   r e c o r d s   t h e   u s e r   a g e n t   s t r i n g   r e p o r t e d   b y   t h e   c l i e n t .   N o t e   t h a t   t h e   U s e r A g e n t   i s   p r o v i d e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27288"
  },
  {
    "question": "What is EventList?",
    "answer": "E v e n t L i s t   i s   a   l i s t   o f   a u d i t   E v e n t s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27289"
  },
  {
    "question": "What is Policy?",
    "answer": "A p p e a r s   i n :   P o l i c y L i s t   P o l i c y   d e f i n e s   t h e   c o n f i g u r a t i o n   o f   a u d i t   l o g g i n g ,   a n d   t h e   r u l e s   f o r   h o w   d i f f e r e n t   r e q u e s t   c a t e g o r i e s   a r e   l o g g e d .   O b j e c t M e t a   i s   i n c l u d e d   f o r   i n t e r o p e r a b i l i t y   w i t h   A P I   i n f r a s t r u c t u r e .   R u l e s   s p e c i f y   t h e   a u d i t   L e v e l   a   r e q u e s t   s h o u l d   b e   r e c o r d e d   a t .   A   r e q u e s t   m a y   m a t c h   m u l t i p l e   r u l e s ,   i n   w h i c h   c a s e   t h e   F I R S T   m a t c h i n g   r u l e   i s   u s e d .   T h e   d e f a u l t   a u d i t   l e v e l   i s   N o n e ,   b u t   c a n   b e   o v e r r i d d e n   b y   a   c a t c h - a l l   r u l e   a t   t h e   e n d   o f   t h e   l i s t .   P o l i c y R u l e s   a r e   s t r i c t l y   o r d e r e d .   O m i t S t a g e s   i s   a   l i s t   o f   s t a g e s   f o r   w h i c h   n o   e v e n t s   a r e   c r e a t e d .   N o t e   t h a t   t h i s   c a n   a l s o   b e   s p e c i f i e d   p e r   r u l e   i n   w h i c h   c a s e   t h e   u n i o n   o f   b o t h   a r e   o m i t t e d .   O m i t M a n a g e d F i e l d s   i n d i c a t e s   w h e t h e r   t o   o m i t   t h e   m a n a g e d   f i e l d s   o f   t h e   r e q u e s t   a n d   r e s p o n s e   b o d i e s   f r o m   b e i n g   w r i t t e n   t o   t h e   A P I   a u d i t   l o g .   T h i s   i s   u s e d   a s   a   g l o b a l   d e f a u l t   -   a   v a l u e   o f   ' t r u e '   w i l l   o m i t   t h e   m a n a g e d   f i e l d s ,   o t h e r w i s e   t h e   m a n a g e d   f i e l d s   w i l l   b e   i n c l u d e d   i n   t h e   A P I   a u d i t   l o g .   N o t e   t h a t   t h i s   c a n   a l s o   b e   s p e c i f i e d   p e r   r u l e   i n   w h i c h   c a s e   t h e   v a l u e   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27290"
  },
  {
    "question": "What is PolicyList?",
    "answer": "P o l i c y L i s t   i s   a   l i s t   o f   a u d i t   P o l i c i e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27291"
  },
  {
    "question": "What is GroupResources?",
    "answer": "A p p e a r s   i n :   P o l i c y R u l e   G r o u p R e s o u r c e s   r e p r e s e n t s   r e s o u r c e   k i n d s   i n   a n   A P I   g r o u p .   G r o u p   i s   t h e   n a m e   o f   t h e   A P I   g r o u p   t h a t   c o n t a i n s   t h e   r e s o u r c e s .   T h e   e m p t y   s t r i n g   r e p r e s e n t s   t h e   c o r e   A P I   g r o u p .   R e s o u r c e s   i s   a   l i s t   o f   r e s o u r c e s   t h i s   r u l e   a p p l i e s   t o .   F o r   e x a m p l e :   p o d s   m a t c h e s   p o d s . p o d s / l o g   m a t c h e s   t h e   l o g   s u b r e s o u r c e   o f   p o d s . *   m a t c h e s   a l l   r e s o u r c e s   a n d   t h e i r   s u b r e s o u r c e s . p o d s / *   m a t c h e s   a l l   s u b r e s o u r c e s   o f   p o d s . * / s c a l e   m a t c h e s   a l l   s c a l e   s u b r e s o u r c e s .   I f   w i l d c a r d   i s   p r e s e n t ,   t h e   v a l i d a t i o n   r u l e   w i l l   e n s u r e   r e s o u r c e s   d o   n o t   o v e r l a p   w i t h   e a c h   o t h e r .   A n   e m p t y   l i s t   i m p l i e s   a l l   r e s o u r c e s   a n d   s u b r e s o u r c e s   i n   t h i s   A P I   g r o u p s   a p p l y .   R e s o u r c e N a m e s   i s   a   l i s t   o f   r e s o u r c e   i n s t a n c e   n a m e s   t h a t   t h e   p o l i c y   m a t c h e s .   U s i n g   t h i s   f i e l d   r e q u i r e s   R e s o u r c e s   t o   b e   s p e c i f i e d .   A n   e m p t y   l i s t   i m p l i e s   t h a t   e v e r y   i n s t a n c e   o f   t h e   r e s o u r c e   i s   m a t c h e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27292"
  },
  {
    "question": "What is Level?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   E v e n t P o l i c y R u l e   E v e n t   P o l i c y R u l e   L e v e l   d e f i n e s   t h e   a m o u n t   o f   i n f o r m a t i o n   l o g g e d   d u r i n g   a u d i t i n g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27293"
  },
  {
    "question": "What is ObjectReference?",
    "answer": "A p p e a r s   i n :   E v e n t   O b j e c t R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   i n s p e c t   o r   m o d i f y   t h e   r e f e r r e d   o b j e c t .   A P I G r o u p   i s   t h e   n a m e   o f   t h e   A P I   g r o u p   t h a t   c o n t a i n s   t h e   r e f e r r e d   o b j e c t .   T h e   e m p t y   s t r i n g   r e p r e s e n t s   t h e   c o r e   A P I   g r o u p .   A P I V e r s i o n   i s   t h e   v e r s i o n   o f   t h e   A P I   g r o u p   t h a t   c o n t a i n s   t h e   r e f e r r e d   o b j e c t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27294"
  },
  {
    "question": "What is PolicyRule?",
    "answer": "A p p e a r s   i n :   P o l i c y   P o l i c y R u l e   m a p s   r e q u e s t s   b a s e d   o f f   m e t a d a t a   t o   a n   a u d i t   L e v e l .   R e q u e s t s   m u s t   m a t c h   t h e   r u l e s   o f   e v e r y   f i e l d   ( a n   i n t e r s e c t i o n   o f   r u l e s ) .   T h e   L e v e l   t h a t   r e q u e s t s   m a t c h i n g   t h i s   r u l e   a r e   r e c o r d e d   a t .   T h e   u s e r s   ( b y   a u t h e n t i c a t e d   u s e r   n a m e )   t h i s   r u l e   a p p l i e s   t o .   A n   e m p t y   l i s t   i m p l i e s   e v e r y   u s e r .   T h e   u s e r   g r o u p s   t h i s   r u l e   a p p l i e s   t o .   A   u s e r   i s   c o n s i d e r e d   m a t c h i n g   i f   i t   i s   a   m e m b e r   o f   a n y   o f   t h e   U s e r G r o u p s .   A n   e m p t y   l i s t   i m p l i e s   e v e r y   u s e r   g r o u p .   T h e   v e r b s   t h a t   m a t c h   t h i s   r u l e .   A n   e m p t y   l i s t   i m p l i e s   e v e r y   v e r b .   R e s o u r c e s   t h a t   t h i s   r u l e   m a t c h e s .   A n   e m p t y   l i s t   i m p l i e s   a l l   k i n d s   i n   a l l   A P I   g r o u p s .   N a m e s p a c e s   t h a t   t h i s   r u l e   m a t c h e s .   T h e   e m p t y   s t r i n g   \" \"   m a t c h e s   n o n - n a m e s p a c e d   r e s o u r c e s .   A n   e m p t y   l i s t   i m p l i e s   e v e r y   n a m e s p a c e .   N o n R e s o u r c e U R L s   i s   a   s e t   o f   U R L   p a t h s   t h a t   s h o u l d   b e   a u d i t e d .   * s   a r e   a l l o w e d ,   b u t   o n l y   a s   t h e   f u l l ,   f i n a l   s t e p   i n   t h e   p a t h .   E x a m p l e s :   / m e t r i c s   -   L o g   r e q u e s t s   f o r   a p i s e r v e r   m e t r i c s / h e a l t h z *   -   L o g   a l l   h e a l t h   c h e c k s   O m i t S t a g e s   i s   a   l i s t   o f   s t a g e s   f o r   w h i c h   n o   e v ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27295"
  },
  {
    "question": "What is Stage?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   E v e n t P o l i c y P o l i c y R u l e   E v e n t   P o l i c y   P o l i c y R u l e   S t a g e   d e f i n e s   t h e   s t a g e s   i n   r e q u e s t   h a n d l i n g   t h a t   a u d i t   e v e n t s   m a y   b e   g e n e r a t e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27296"
  },
  {
    "question": "What is 14.7 - kube-apiserver Configuration (v1)?",
    "answer": "P a c k a g e   v 1   i s   t h e   v 1   v e r s i o n   o f   t h e   A P I .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_27297"
  },
  {
    "question": "What is Resource Types?",
    "answer": "A d m i s s i o n C o n f i g u r a t i o n A u t h o r i z a t i o n C o n f i g u r a t i o n E n c r y p t i o n C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27298"
  },
  {
    "question": "What is AdmissionConfiguration?",
    "answer": "A d m i s s i o n C o n f i g u r a t i o n   p r o v i d e s   v e r s i o n e d   c o n f i g u r a t i o n   f o r   a d m i s s i o n   c o n t r o l l e r s .   P l u g i n s   a l l o w s   s p e c i f y i n g   a   c o n f i g u r a t i o n   p e r   a d m i s s i o n   c o n t r o l   p l u g i n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27299"
  },
  {
    "question": "What is AuthorizationConfiguration?",
    "answer": "A u t h o r i z e r s   i s   a n   o r d e r e d   l i s t   o f   a u t h o r i z e r s   t o   a u t h o r i z e   r e q u e s t s   a g a i n s t .   T h i s   i s   s i m i l a r   t o   t h e   - - a u t h o r i z a t i o n - m o d e s   k u b e - a p i s e r v e r   f l a g   M u s t   b e   a t   l e a s t   o n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27300"
  },
  {
    "question": "What is EncryptionConfiguration?",
    "answer": "E n c r y p t i o n C o n f i g u r a t i o n   s t o r e s   t h e   c o m p l e t e   c o n f i g u r a t i o n   f o r   e n c r y p t i o n   p r o v i d e r s .   I t   a l s o   a l l o w s   t h e   u s e   o f   w i l d c a r d s   t o   s p e c i f y   t h e   r e s o u r c e s   t h a t   s h o u l d   b e   e n c r y p t e d .   U s e   ' * . < g r o u p > '   t o   e n c r y p t   a l l   r e s o u r c e s   w i t h i n   a   g r o u p   o r   ' * . * '   t o   e n c r y p t   a l l   r e s o u r c e s .   ' * . '   c a n   b e   u s e d   t o   e n c r y p t   a l l   r e s o u r c e   i n   t h e   c o r e   g r o u p .   ' * . * '   w i l l   e n c r y p t   a l l   r e s o u r c e s ,   e v e n   c u s t o m   r e s o u r c e s   t h a t   a r e   a d d e d   a f t e r   A P I   s e r v e r   s t a r t .   U s e   o f   w i l d c a r d s   t h a t   o v e r l a p   w i t h i n   t h e   s a m e   r e s o u r c e   l i s t   o r   a c r o s s   m u l t i p l e   e n t r i e s   a r e   n o t   a l l o w e d   s i n c e   p a r t   o f   t h e   c o n f i g u r a t i o n   w o u l d   b e   i n e f f e c t i v e .   R e s o u r c e   l i s t s   a r e   p r o c e s s e d   i n   o r d e r ,   w i t h   e a r l i e r   l i s t s   t a k i n g   p r e c e d e n c e .   E x a m p l e :   k i n d :   E n c r y p t i o n C o n f i g u r a t i o n   a p i V e r s i o n :   a p i s e r v e r . c o n f i g . k 8 s . i o / v 1   r e s o u r c e s :   -   r e s o u r c e s :   -   e v e n t s   p r o v i d e r s :   -   i d e n t i t y :   { }   #   d o   n o t   e n c r y p t   e v e n t s   e v e n   t h o u g h   * . *   i s   s p e c i f i e d   b e l o w   -   r e s o u r c e s :   -   s e c r e t s   -   c o n f i g m a p s   -   p a n d a s . a w e s o m e . b e a r s . e x a m p l e   p r o v i d e r s :   -   a e s c b c :   k e y s :   -   n a m e :   k e y 1   s e c r e t :   c 2 V j c m V 0 I G l z I H N l Y 3 V y Z Q = =   -   r e s o u r c e s :   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27301"
  },
  {
    "question": "What is AESConfiguration?",
    "answer": "A p p e a r s   i n :   P r o v i d e r C o n f i g u r a t i o n   A E S C o n f i g u r a t i o n   c o n t a i n s   t h e   A P I   c o n f i g u r a t i o n   f o r   a n   A E S   t r a n s f o r m e r .   k e y s   i s   a   l i s t   o f   k e y s   t o   b e   u s e d   f o r   c r e a t i n g   t h e   A E S   t r a n s f o r m e r .   E a c h   k e y   h a s   t o   b e   3 2   b y t e s   l o n g   f o r   A E S - C B C   a n d   1 6 ,   2 4   o r   3 2   b y t e s   f o r   A E S - G C M .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27302"
  },
  {
    "question": "What is AdmissionPluginConfiguration?",
    "answer": "A p p e a r s   i n :   A d m i s s i o n C o n f i g u r a t i o n   A d m i s s i o n P l u g i n C o n f i g u r a t i o n   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   p l u g - i n .   N a m e   i s   t h e   n a m e   o f   t h e   a d m i s s i o n   c o n t r o l l e r .   I t   m u s t   m a t c h   t h e   r e g i s t e r e d   a d m i s s i o n   p l u g i n   n a m e .   P a t h   i s   t h e   p a t h   t o   a   c o n f i g u r a t i o n   f i l e   t h a t   c o n t a i n s   t h e   p l u g i n ' s   c o n f i g u r a t i o n   C o n f i g u r a t i o n   i s   a n   e m b e d d e d   c o n f i g u r a t i o n   o b j e c t   t o   b e   u s e d   a s   t h e   p l u g i n ' s   c o n f i g u r a t i o n .   I f   p r e s e n t ,   i t   w i l l   b e   u s e d   i n s t e a d   o f   t h e   p a t h   t o   t h e   c o n f i g u r a t i o n   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27303"
  },
  {
    "question": "What is AuthorizerConfiguration?",
    "answer": "A p p e a r s   i n :   A u t h o r i z a t i o n C o n f i g u r a t i o n   T y p e   r e f e r s   t o   t h e   t y p e   o f   t h e   a u t h o r i z e r   \" W e b h o o k \"   i s   s u p p o r t e d   i n   t h e   g e n e r i c   A P I   s e r v e r   O t h e r   A P I   s e r v e r s   m a y   s u p p o r t   a d d i t i o n a l   a u t h o r i z e r   t y p e s   l i k e   N o d e ,   R B A C ,   A B A C ,   e t c .   N a m e   u s e d   t o   d e s c r i b e   t h e   w e b h o o k   T h i s   i s   e x p l i c i t l y   u s e d   i n   m o n i t o r i n g   m a c h i n e r y   f o r   m e t r i c s   N o t e :   N a m e s   m u s t   b e   D N S 1 1 2 3   l a b e l s   l i k e   m y a u t h o r i z e r n a m e   o r   s u b d o m a i n s   l i k e   m y a u t h o r i z e r . e x a m p l e . d o m a i n   R e q u i r e d ,   w i t h   n o   d e f a u l t   W e b h o o k   d e f i n e s   t h e   c o n f i g u r a t i o n   f o r   a   W e b h o o k   a u t h o r i z e r   M u s t   b e   d e f i n e d   w h e n   T y p e = W e b h o o k   M u s t   n o t   b e   d e f i n e d   w h e n   T y p e ! = W e b h o o k",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27304"
  },
  {
    "question": "What is IdentityConfiguration?",
    "answer": "A p p e a r s   i n :   P r o v i d e r C o n f i g u r a t i o n   I d e n t i t y C o n f i g u r a t i o n   i s   a n   e m p t y   s t r u c t   t o   a l l o w   i d e n t i t y   t r a n s f o r m e r   i n   p r o v i d e r   c o n f i g u r a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27305"
  },
  {
    "question": "What is KMSConfiguration?",
    "answer": "A p p e a r s   i n :   P r o v i d e r C o n f i g u r a t i o n   K M S C o n f i g u r a t i o n   c o n t a i n s   t h e   n a m e ,   c a c h e   s i z e   a n d   p a t h   t o   c o n f i g u r a t i o n   f i l e   f o r   a   K M S   b a s e d   e n v e l o p e   t r a n s f o r m e r .   a p i V e r s i o n   o f   K e y M a n a g e m e n t S e r v i c e   n a m e   i s   t h e   n a m e   o f   t h e   K M S   p l u g i n   t o   b e   u s e d .   c a c h e s i z e   i s   t h e   m a x i m u m   n u m b e r   o f   s e c r e t s   w h i c h   a r e   c a c h e d   i n   m e m o r y .   T h e   d e f a u l t   v a l u e   i s   1 0 0 0 .   S e t   t o   a   n e g a t i v e   v a l u e   t o   d i s a b l e   c a c h i n g .   T h i s   f i e l d   i s   o n l y   a l l o w e d   f o r   K M S   v 1   p r o v i d e r s .   e n d p o i n t   i s   t h e   g R P C   s e r v e r   l i s t e n i n g   a d d r e s s ,   f o r   e x a m p l e   \" u n i x : / / / v a r / r u n / k m s - p r o v i d e r . s o c k \" .   t i m e o u t   f o r   g R P C   c a l l s   t o   k m s - p l u g i n   ( e x .   5 s ) .   T h e   d e f a u l t   i s   3   s e c o n d s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27306"
  },
  {
    "question": "What is Key?",
    "answer": "A p p e a r s   i n :   A E S C o n f i g u r a t i o n S e c r e t b o x C o n f i g u r a t i o n   A E S C o n f i g u r a t i o n   S e c r e t b o x C o n f i g u r a t i o n   K e y   c o n t a i n s   n a m e   a n d   s e c r e t   o f   t h e   p r o v i d e d   k e y   f o r   a   t r a n s f o r m e r .   n a m e   i s   t h e   n a m e   o f   t h e   k e y   t o   b e   u s e d   w h i l e   s t o r i n g   d a t a   t o   d i s k .   s e c r e t   i s   t h e   a c t u a l   k e y ,   e n c o d e d   i n   b a s e 6 4 .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27307"
  },
  {
    "question": "What is ProviderConfiguration?",
    "answer": "A p p e a r s   i n :   R e s o u r c e C o n f i g u r a t i o n   P r o v i d e r C o n f i g u r a t i o n   s t o r e s   t h e   p r o v i d e d   c o n f i g u r a t i o n   f o r   a n   e n c r y p t i o n   p r o v i d e r .   a e s g c m   i s   t h e   c o n f i g u r a t i o n   f o r   t h e   A E S - G C M   t r a n s f o r m e r .   a e s c b c   i s   t h e   c o n f i g u r a t i o n   f o r   t h e   A E S - C B C   t r a n s f o r m e r .   s e c r e t b o x   i s   t h e   c o n f i g u r a t i o n   f o r   t h e   S e c r e t b o x   b a s e d   t r a n s f o r m e r .   i d e n t i t y   i s   t h e   ( e m p t y )   c o n f i g u r a t i o n   f o r   t h e   i d e n t i t y   t r a n s f o r m e r .   k m s   c o n t a i n s   t h e   n a m e ,   c a c h e   s i z e   a n d   p a t h   t o   c o n f i g u r a t i o n   f i l e   f o r   a   K M S   b a s e d   e n v e l o p e   t r a n s f o r m e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27308"
  },
  {
    "question": "What is ResourceConfiguration?",
    "answer": "A p p e a r s   i n :   E n c r y p t i o n C o n f i g u r a t i o n   R e s o u r c e C o n f i g u r a t i o n   s t o r e s   p e r   r e s o u r c e   c o n f i g u r a t i o n .   r e s o u r c e s   i s   a   l i s t   o f   k u b e r n e t e s   r e s o u r c e s   w h i c h   h a v e   t o   b e   e n c r y p t e d .   T h e   r e s o u r c e   n a m e s   a r e   d e r i v e d   f r o m   r e s o u r c e   o r   r e s o u r c e . g r o u p   o f   t h e   g r o u p / v e r s i o n / r e s o u r c e .   e g :   p a n d a s . a w e s o m e . b e a r s . e x a m p l e   i s   a   c u s t o m   r e s o u r c e   w i t h   ' g r o u p ' :   a w e s o m e . b e a r s . e x a m p l e ,   ' r e s o u r c e ' :   p a n d a s .   U s e   ' * . * '   t o   e n c r y p t   a l l   r e s o u r c e s   a n d   ' * . < g r o u p > '   t o   e n c r y p t   a l l   r e s o u r c e s   i n   a   s p e c i f i c   g r o u p .   e g :   ' * . a w e s o m e . b e a r s . e x a m p l e '   w i l l   e n c r y p t   a l l   r e s o u r c e s   i n   t h e   g r o u p   ' a w e s o m e . b e a r s . e x a m p l e ' .   e g :   ' * . '   w i l l   e n c r y p t   a l l   r e s o u r c e s   i n   t h e   c o r e   g r o u p   ( s u c h   a s   p o d s ,   c o n f i g m a p s ,   e t c ) .   p r o v i d e r s   i s   a   l i s t   o f   t r a n s f o r m e r s   t o   b e   u s e d   f o r   r e a d i n g   a n d   w r i t i n g   t h e   r e s o u r c e s   t o   d i s k .   e g :   a e s g c m ,   a e s c b c ,   s e c r e t b o x ,   i d e n t i t y ,   k m s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27309"
  },
  {
    "question": "What is SecretboxConfiguration?",
    "answer": "A p p e a r s   i n :   P r o v i d e r C o n f i g u r a t i o n   S e c r e t b o x C o n f i g u r a t i o n   c o n t a i n s   t h e   A P I   c o n f i g u r a t i o n   f o r   a n   S e c r e t b o x   t r a n s f o r m e r .   k e y s   i s   a   l i s t   o f   k e y s   t o   b e   u s e d   f o r   c r e a t i n g   t h e   S e c r e t b o x   t r a n s f o r m e r .   E a c h   k e y   h a s   t o   b e   3 2   b y t e s   l o n g .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27310"
  },
  {
    "question": "What is WebhookConfiguration?",
    "answer": "A p p e a r s   i n :   A u t h o r i z e r C o n f i g u r a t i o n   T h e   d u r a t i o n   t o   c a c h e   ' a u t h o r i z e d '   r e s p o n s e s   f r o m   t h e   w e b h o o k   a u t h o r i z e r .   S a m e   a s   s e t t i n g   - - a u t h o r i z a t i o n - w e b h o o k - c a c h e - a u t h o r i z e d - t t l   f l a g   D e f a u l t :   5 m 0 s   T h e   d u r a t i o n   t o   c a c h e   ' u n a u t h o r i z e d '   r e s p o n s e s   f r o m   t h e   w e b h o o k   a u t h o r i z e r .   S a m e   a s   s e t t i n g   - - a u t h o r i z a t i o n - w e b h o o k - c a c h e - u n a u t h o r i z e d - t t l   f l a g   D e f a u l t :   3 0 s   T i m e o u t   f o r   t h e   w e b h o o k   r e q u e s t   M a x i m u m   a l l o w e d   v a l u e   i s   3 0 s .   R e q u i r e d ,   n o   d e f a u l t   v a l u e .   T h e   A P I   v e r s i o n   o f   t h e   a u t h o r i z a t i o n . k 8 s . i o   S u b j e c t A c c e s s R e v i e w   t o   s e n d   t o   a n d   e x p e c t   f r o m   t h e   w e b h o o k .   S a m e   a s   s e t t i n g   - - a u t h o r i z a t i o n - w e b h o o k - v e r s i o n   f l a g   V a l i d   v a l u e s :   v 1 b e t a 1 ,   v 1   R e q u i r e d ,   n o   d e f a u l t   v a l u e   M a t c h C o n d i t i o n S u b j e c t A c c e s s R e v i e w V e r s i o n   s p e c i f i e s   t h e   S u b j e c t A c c e s s R e v i e w   v e r s i o n   t h e   C E L   e x p r e s s i o n s   a r e   e v a l u a t e d   a g a i n s t   V a l i d   v a l u e s :   v 1   R e q u i r e d ,   n o   d e f a u l t   v a l u e   C o n t r o l s   t h e   a u t h o r i z a t i o n   d e c i s i o n   w h e n   a   w e b h o o k   r e q u e s t   f a i l s   t o   c o m p l e t e   o r   r e t u r n s   a   m a l f o r m e d   r e s p o n s e   o r   e r r o r s   e v a l u a t i n g   m a t c h C o n d i t i o n s .   V a l i d   v a l u e s :   N o O p i n i o n :   c o n t i n u e   t o   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27311"
  },
  {
    "question": "What is WebhookConnectionInfo?",
    "answer": "A p p e a r s   i n :   W e b h o o k C o n f i g u r a t i o n   C o n t r o l s   h o w   t h e   w e b h o o k   s h o u l d   c o m m u n i c a t e   w i t h   t h e   s e r v e r .   V a l i d   v a l u e s :   K u b e C o n f i g F i l e :   u s e   t h e   f i l e   s p e c i f i e d   i n   k u b e C o n f i g F i l e   t o   l o c a t e   t h e   s e r v e r . I n C l u s t e r C o n f i g :   u s e   t h e   i n - c l u s t e r   c o n f i g u r a t i o n   t o   c a l l   t h e   S u b j e c t A c c e s s R e v i e w   A P I   h o s t e d   b y   k u b e - a p i s e r v e r .   T h i s   m o d e   i s   n o t   a l l o w e d   f o r   k u b e - a p i s e r v e r .   P a t h   t o   K u b e C o n f i g F i l e   f o r   c o n n e c t i o n   i n f o   R e q u i r e d ,   i f   c o n n e c t i o n I n f o . T y p e   i s   K u b e C o n f i g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27312"
  },
  {
    "question": "What is WebhookMatchCondition?",
    "answer": "A p p e a r s   i n :   W e b h o o k C o n f i g u r a t i o n   e x p r e s s i o n   r e p r e s e n t s   t h e   e x p r e s s i o n   w h i c h   w i l l   b e   e v a l u a t e d   b y   C E L .   M u s t   e v a l u a t e   t o   b o o l .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   t h e   S u b j e c t A c c e s s R e v i e w   i n   v 1   v e r s i o n .   I f   v e r s i o n   s p e c i f i e d   b y   s u b j e c t A c c e s s R e v i e w V e r s i o n   i n   t h e   r e q u e s t   v a r i a b l e   i s   v 1 b e t a 1 ,   t h e   c o n t e n t s   w o u l d   b e   c o n v e r t e d   t o   t h e   v 1   v e r s i o n   b e f o r e   e v a l u a t i n g   t h e   C E L   e x p r e s s i o n .   ' r e s o u r c e A t t r i b u t e s '   d e s c r i b e s   i n f o r m a t i o n   f o r   a   r e s o u r c e   a c c e s s   r e q u e s t   a n d   i s   u n s e t   f o r   n o n - r e s o u r c e   r e q u e s t s .   e . g .   h a s ( r e q u e s t . r e s o u r c e A t t r i b u t e s )   & &   r e q u e s t . r e s o u r c e A t t r i b u t e s . n a m e s p a c e   = =   ' d e f a u l t ' ' n o n R e s o u r c e A t t r i b u t e s '   d e s c r i b e s   i n f o r m a t i o n   f o r   a   n o n - r e s o u r c e   a c c e s s   r e q u e s t   a n d   i s   u n s e t   f o r   r e s o u r c e   r e q u e s t s .   e . g .   h a s ( r e q u e s t . n o n R e s o u r c e A t t r i b u t e s )   & &   r e q u e s t . n o n R e s o u r c e A t t r i b u t e s . p a t h   = =   ' / h e a l t h z ' . ' u s e r '   i s   t h e   u s e r   t o   t e s t   f o r .   e . g .   r e q u e s t . u s e r   = =   ' a l i c e ' ' g r o u p s '   i s   t h e   g r o u p s   t o   t e s t   f o r .   e . g .   ( ' g r o u p 1 '   i n   r e q u e s t . g r o u p s ) ' e x t r a '   c o r r e s p o n d s   t o   t h e   u s e r . I n f o . G e t E x t r a ( )   m e t h o d   f r o m   t h e   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27313"
  },
  {
    "question": "What is 14.8 - kube-apiserver Configuration (v1alpha1)?",
    "answer": "P a c k a g e   v 1 a l p h a 1   i s   t h e   v 1 a l p h a 1   v e r s i o n   o f   t h e   A P I .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_27314"
  },
  {
    "question": "What is Resource Types?",
    "answer": "A d m i s s i o n C o n f i g u r a t i o n A u t h e n t i c a t i o n C o n f i g u r a t i o n A u t h o r i z a t i o n C o n f i g u r a t i o n E g r e s s S e l e c t o r C o n f i g u r a t i o n T r a c i n g C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27315"
  },
  {
    "question": "What is TracingConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e l e t C o n f i g u r a t i o n T r a c i n g C o n f i g u r a t i o n   K u b e l e t C o n f i g u r a t i o n   T r a c i n g C o n f i g u r a t i o n   T r a c i n g C o n f i g u r a t i o n   p r o v i d e s   v e r s i o n e d   c o n f i g u r a t i o n   f o r   O p e n T e l e m e t r y   t r a c i n g   c l i e n t s .   E n d p o i n t   o f   t h e   c o l l e c t o r   t h i s   c o m p o n e n t   w i l l   r e p o r t   t r a c e s   t o .   T h e   c o n n e c t i o n   i s   i n s e c u r e ,   a n d   d o e s   n o t   c u r r e n t l y   s u p p o r t   T L S .   R e c o m m e n d e d   i s   u n s e t ,   a n d   e n d p o i n t   i s   t h e   o t l p   g r p c   d e f a u l t ,   l o c a l h o s t : 4 3 1 7 .   S a m p l i n g R a t e P e r M i l l i o n   i s   t h e   n u m b e r   o f   s a m p l e s   t o   c o l l e c t   p e r   m i l l i o n   s p a n s .   R e c o m m e n d e d   i s   u n s e t .   I f   u n s e t ,   s a m p l e r   r e s p e c t s   i t s   p a r e n t   s p a n ' s   s a m p l i n g   r a t e ,   b u t   o t h e r w i s e   n e v e r   s a m p l e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27316"
  },
  {
    "question": "What is AdmissionConfiguration?",
    "answer": "A d m i s s i o n C o n f i g u r a t i o n   p r o v i d e s   v e r s i o n e d   c o n f i g u r a t i o n   f o r   a d m i s s i o n   c o n t r o l l e r s .   P l u g i n s   a l l o w s   s p e c i f y i n g   a   c o n f i g u r a t i o n   p e r   a d m i s s i o n   c o n t r o l   p l u g i n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27317"
  },
  {
    "question": "What is AuthenticationConfiguration?",
    "answer": "A u t h e n t i c a t i o n C o n f i g u r a t i o n   p r o v i d e s   v e r s i o n e d   c o n f i g u r a t i o n   f o r   a u t h e n t i c a t i o n .   j w t   i s   a   l i s t   o f   a u t h e n t i c a t o r   t o   a u t h e n t i c a t e   K u b e r n e t e s   u s e r s   u s i n g   J W T   c o m p l i a n t   t o k e n s .   T h e   a u t h e n t i c a t o r   w i l l   a t t e m p t   t o   p a r s e   a   r a w   I D   t o k e n ,   v e r i f y   i t ' s   b e e n   s i g n e d   b y   t h e   c o n f i g u r e d   i s s u e r .   T h e   p u b l i c   k e y   t o   v e r i f y   t h e   s i g n a t u r e   i s   d i s c o v e r e d   f r o m   t h e   i s s u e r ' s   p u b l i c   e n d p o i n t   u s i n g   O I D C   d i s c o v e r y .   F o r   a n   i n c o m i n g   t o k e n ,   e a c h   J W T   a u t h e n t i c a t o r   w i l l   b e   a t t e m p t e d   i n   t h e   o r d e r   i n   w h i c h   i t   i s   s p e c i f i e d   i n   t h i s   l i s t .   N o t e   h o w e v e r   t h a t   o t h e r   a u t h e n t i c a t o r s   m a y   r u n   b e f o r e   o r   a f t e r   t h e   J W T   a u t h e n t i c a t o r s .   T h e   s p e c i f i c   p o s i t i o n   o f   J W T   a u t h e n t i c a t o r s   i n   r e l a t i o n   t o   o t h e r   a u t h e n t i c a t o r s   i s   n e i t h e r   d e f i n e d   n o r   s t a b l e   a c r o s s   r e l e a s e s .   S i n c e   e a c h   J W T   a u t h e n t i c a t o r   m u s t   h a v e   a   u n i q u e   i s s u e r   U R L ,   a t   m o s t   o n e   J W T   a u t h e n t i c a t o r   w i l l   a t t e m p t   t o   c r y p t o g r a p h i c a l l y   v a l i d a t e   t h e   t o k e n .   T h e   m i n i m u m   v a l i d   J W T   p a y l o a d   m u s t   c o n t a i n   t h e   f o l l o w i n g   c l a i m s :   {   \" i s s \" :   \" h t t p s : / / i s s u e r . e x a m p l e . c o m \" ,   \" a u d \" :   [ \" a u d i e n c e \" ] ,   \" e x p \" :   1 2 3 4 5 6 ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27318"
  },
  {
    "question": "What is AuthorizationConfiguration?",
    "answer": "A u t h o r i z e r s   i s   a n   o r d e r e d   l i s t   o f   a u t h o r i z e r s   t o   a u t h o r i z e   r e q u e s t s   a g a i n s t .   T h i s   i s   s i m i l a r   t o   t h e   - - a u t h o r i z a t i o n - m o d e s   k u b e - a p i s e r v e r   f l a g   M u s t   b e   a t   l e a s t   o n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27319"
  },
  {
    "question": "What is EgressSelectorConfiguration?",
    "answer": "E g r e s s S e l e c t o r C o n f i g u r a t i o n   p r o v i d e s   v e r s i o n e d   c o n f i g u r a t i o n   f o r   e g r e s s   s e l e c t o r   c l i e n t s .   c o n n e c t i o n S e r v i c e s   c o n t a i n s   a   l i s t   o f   e g r e s s   s e l e c t i o n   c l i e n t   c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27320"
  },
  {
    "question": "What is TracingConfiguration?",
    "answer": "T r a c i n g C o n f i g u r a t i o n   p r o v i d e s   v e r s i o n e d   c o n f i g u r a t i o n   f o r   t r a c i n g   c l i e n t s .   E m b e d   t h e   c o m p o n e n t   c o n f i g   t r a c i n g   c o n f i g u r a t i o n   s t r u c t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27321"
  },
  {
    "question": "What is AdmissionPluginConfiguration?",
    "answer": "A p p e a r s   i n :   A d m i s s i o n C o n f i g u r a t i o n   A d m i s s i o n P l u g i n C o n f i g u r a t i o n   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   p l u g - i n .   N a m e   i s   t h e   n a m e   o f   t h e   a d m i s s i o n   c o n t r o l l e r .   I t   m u s t   m a t c h   t h e   r e g i s t e r e d   a d m i s s i o n   p l u g i n   n a m e .   P a t h   i s   t h e   p a t h   t o   a   c o n f i g u r a t i o n   f i l e   t h a t   c o n t a i n s   t h e   p l u g i n ' s   c o n f i g u r a t i o n   C o n f i g u r a t i o n   i s   a n   e m b e d d e d   c o n f i g u r a t i o n   o b j e c t   t o   b e   u s e d   a s   t h e   p l u g i n ' s   c o n f i g u r a t i o n .   I f   p r e s e n t ,   i t   w i l l   b e   u s e d   i n s t e a d   o f   t h e   p a t h   t o   t h e   c o n f i g u r a t i o n   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27322"
  },
  {
    "question": "What is AnonymousAuthCondition?",
    "answer": "A p p e a r s   i n :   A n o n y m o u s A u t h C o n f i g   A n o n y m o u s A u t h C o n d i t i o n   d e s c r i b e s   t h e   c o n d i t i o n   u n d e r   w h i c h   a n o n y m o u s   a u t h   s h o u l d   b e   e n a b l e d .   P a t h   f o r   w h i c h   a n o n y m o u s   a u t h   i s   e n a b l e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27323"
  },
  {
    "question": "What is AnonymousAuthConfig?",
    "answer": "A p p e a r s   i n :   A u t h e n t i c a t i o n C o n f i g u r a t i o n   A n o n y m o u s A u t h C o n f i g   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   t h e   a n o n y m o u s   a u t h e n t i c a t o r .   I f   s e t ,   a n o n y m o u s   a u t h   i s   o n l y   a l l o w e d   i f   t h e   r e q u e s t   m e e t s   o n e   o f   t h e   c o n d i t i o n s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27324"
  },
  {
    "question": "What is AudienceMatchPolicyType?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   I s s u e r   A u d i e n c e M a t c h P o l i c y T y p e   i s   a   s e t   o f   v a l i d   v a l u e s   f o r   i s s u e r . a u d i e n c e M a t c h P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27325"
  },
  {
    "question": "What is AuthorizerConfiguration?",
    "answer": "A p p e a r s   i n :   A u t h o r i z a t i o n C o n f i g u r a t i o n   T y p e   r e f e r s   t o   t h e   t y p e   o f   t h e   a u t h o r i z e r   \" W e b h o o k \"   i s   s u p p o r t e d   i n   t h e   g e n e r i c   A P I   s e r v e r   O t h e r   A P I   s e r v e r s   m a y   s u p p o r t   a d d i t i o n a l   a u t h o r i z e r   t y p e s   l i k e   N o d e ,   R B A C ,   A B A C ,   e t c .   N a m e   u s e d   t o   d e s c r i b e   t h e   w e b h o o k   T h i s   i s   e x p l i c i t l y   u s e d   i n   m o n i t o r i n g   m a c h i n e r y   f o r   m e t r i c s   N o t e :   N a m e s   m u s t   b e   D N S 1 1 2 3   l a b e l s   l i k e   m y a u t h o r i z e r n a m e   o r   s u b d o m a i n s   l i k e   m y a u t h o r i z e r . e x a m p l e . d o m a i n   R e q u i r e d ,   w i t h   n o   d e f a u l t   W e b h o o k   d e f i n e s   t h e   c o n f i g u r a t i o n   f o r   a   W e b h o o k   a u t h o r i z e r   M u s t   b e   d e f i n e d   w h e n   T y p e = W e b h o o k   M u s t   n o t   b e   d e f i n e d   w h e n   T y p e ! = W e b h o o k",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27326"
  },
  {
    "question": "What is ClaimMappings?",
    "answer": "A p p e a r s   i n :   J W T A u t h e n t i c a t o r   C l a i m M a p p i n g s   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   c l a i m   m a p p i n g   u s e r n a m e   r e p r e s e n t s   a n   o p t i o n   f o r   t h e   u s e r n a m e   a t t r i b u t e .   T h e   c l a i m ' s   v a l u e   m u s t   b e   a   s i n g u l a r   s t r i n g .   S a m e   a s   t h e   - - o i d c - u s e r n a m e - c l a i m   a n d   - - o i d c - u s e r n a m e - p r e f i x   f l a g s .   I f   u s e r n a m e . e x p r e s s i o n   i s   s e t ,   t h e   e x p r e s s i o n   m u s t   p r o d u c e   a   s t r i n g   v a l u e .   I f   u s e r n a m e . e x p r e s s i o n   u s e s   ' c l a i m s . e m a i l ' ,   t h e n   ' c l a i m s . e m a i l _ v e r i f i e d '   m u s t   b e   u s e d   i n   u s e r n a m e . e x p r e s s i o n   o r   e x t r a [ * ] . v a l u e E x p r e s s i o n   o r   c l a i m V a l i d a t i o n R u l e s [ < * > ] . e x p r e s s i o n .   A n   e x a m p l e   c l a i m   v a l i d a t i o n   r u l e   e x p r e s s i o n   t h a t   m a t c h e s   t h e   v a l i d a t i o n   a u t o m a t i c a l l y   a p p l i e d   w h e n   u s e r n a m e . c l a i m   i s   s e t   t o   ' e m a i l '   i s   ' c l a i m s . ? e m a i l _ v e r i f i e d . o r V a l u e ( t r u e )   = =   t r u e ' .   B y   e x p l i c i t l y   c o m p a r i n g   t h e   v a l u e   t o   t r u e ,   w e   l e t   t y p e - c h e c k i n g   s e e   t h e   r e s u l t   w i l l   b e   a   b o o l e a n ,   a n d   t o   m a k e   s u r e   a   n o n - b o o l e a n   e m a i l _ v e r i f i e d   c l a i m   w i l l   b e   c a u g h t   a t   r u n t i m e .   I n   t h e   f l a g   b a s e d   a p p r o a c h ,   t h e   - - o i d c - u s e r n a m e - c l a i m   a n d   - - o i d c - u s e r n a m e - p r e f i x   a r e   o p t i o n a l .   I f   - - o i d c - u s e r n a m e - c l a i m   i s   n o t   s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27327"
  },
  {
    "question": "What is ClaimOrExpression?",
    "answer": "A p p e a r s   i n :   C l a i m M a p p i n g s   C l a i m O r E x p r e s s i o n   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   c l a i m   o r   e x p r e s s i o n .   c l a i m   i s   t h e   J W T   c l a i m   t o   u s e .   E i t h e r   c l a i m   o r   e x p r e s s i o n   m u s t   b e   s e t .   M u t u a l l y   e x c l u s i v e   w i t h   e x p r e s s i o n .   e x p r e s s i o n   r e p r e s e n t s   t h e   e x p r e s s i o n   w h i c h   w i l l   b e   e v a l u a t e d   b y   C E L .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   t h e   t o k e n   c l a i m s ,   o r g a n i z e d   i n t o   C E L   v a r i a b l e :   ' c l a i m s '   i s   a   m a p   o f   c l a i m   n a m e s   t o   c l a i m   v a l u e s .   F o r   e x a m p l e ,   a   v a r i a b l e   n a m e d   ' s u b '   c a n   b e   a c c e s s e d   a s   ' c l a i m s . s u b ' .   N e s t e d   c l a i m s   c a n   b e   a c c e s s e d   u s i n g   d o t   n o t a t i o n ,   e . g .   ' c l a i m s . f o o . b a r ' .   D o c u m e n t a t i o n   o n   C E L :   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / u s i n g - a p i / c e l /   M u t u a l l y   e x c l u s i v e   w i t h   c l a i m .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27328"
  },
  {
    "question": "What is ClaimValidationRule?",
    "answer": "A p p e a r s   i n :   J W T A u t h e n t i c a t o r   C l a i m V a l i d a t i o n R u l e   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   c l a i m   v a l i d a t i o n   r u l e .   c l a i m   i s   t h e   n a m e   o f   a   r e q u i r e d   c l a i m .   S a m e   a s   - - o i d c - r e q u i r e d - c l a i m   f l a g .   O n l y   s t r i n g   c l a i m   k e y s   a r e   s u p p o r t e d .   M u t u a l l y   e x c l u s i v e   w i t h   e x p r e s s i o n   a n d   m e s s a g e .   r e q u i r e d V a l u e   i s   t h e   v a l u e   o f   a   r e q u i r e d   c l a i m .   S a m e   a s   - - o i d c - r e q u i r e d - c l a i m   f l a g .   O n l y   s t r i n g   c l a i m   v a l u e s   a r e   s u p p o r t e d .   I f   c l a i m   i s   s e t   a n d   r e q u i r e d V a l u e   i s   n o t   s e t ,   t h e   c l a i m   m u s t   b e   p r e s e n t   w i t h   a   v a l u e   s e t   t o   t h e   e m p t y   s t r i n g .   M u t u a l l y   e x c l u s i v e   w i t h   e x p r e s s i o n   a n d   m e s s a g e .   e x p r e s s i o n   r e p r e s e n t s   t h e   e x p r e s s i o n   w h i c h   w i l l   b e   e v a l u a t e d   b y   C E L .   M u s t   p r o d u c e   a   b o o l e a n .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   t h e   t o k e n   c l a i m s ,   o r g a n i z e d   i n t o   C E L   v a r i a b l e :   ' c l a i m s '   i s   a   m a p   o f   c l a i m   n a m e s   t o   c l a i m   v a l u e s .   F o r   e x a m p l e ,   a   v a r i a b l e   n a m e d   ' s u b '   c a n   b e   a c c e s s e d   a s   ' c l a i m s . s u b ' .   N e s t e d   c l a i m s   c a n   b e   a c c e s s e d   u s i n g   d o t   n o t a t i o n ,   e . g .   ' c l a i m s . f o o . b a r ' .   M u s t   r e t u r n   t r u e   f o r   t h e   v a l i d a t i o n   t o   p a s s .   D o c u m e n t a t i o n   o n   C E L : ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27329"
  },
  {
    "question": "What is Connection?",
    "answer": "A p p e a r s   i n :   E g r e s s S e l e c t i o n   C o n n e c t i o n   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   e g r e s s   s e l e c t i o n   c l i e n t .   P r o t o c o l   i s   t h e   p r o t o c o l   u s e d   t o   c o n n e c t   f r o m   c l i e n t   t o   t h e   k o n n e c t i v i t y   s e r v e r .   T r a n s p o r t   d e f i n e s   t h e   t r a n s p o r t   c o n f i g u r a t i o n s   w e   u s e   t o   d i a l   t o   t h e   k o n n e c t i v i t y   s e r v e r .   T h i s   i s   r e q u i r e d   i f   P r o x y P r o t o c o l   i s   H T T P C o n n e c t   o r   G R P C .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27330"
  },
  {
    "question": "What is EgressSelection?",
    "answer": "A p p e a r s   i n :   E g r e s s S e l e c t o r C o n f i g u r a t i o n   E g r e s s S e l e c t i o n   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   e g r e s s   s e l e c t i o n   c l i e n t .   n a m e   i s   t h e   n a m e   o f   t h e   e g r e s s   s e l e c t i o n .   C u r r e n t l y   s u p p o r t e d   v a l u e s   a r e   \" c o n t r o l p l a n e \" ,   \" m a s t e r \" ,   \" e t c d \"   a n d   \" c l u s t e r \"   T h e   \" m a s t e r \"   e g r e s s   s e l e c t o r   i s   d e p r e c a t e d   i n   f a v o r   o f   \" c o n t r o l p l a n e \"   c o n n e c t i o n   i s   t h e   e x a c t   i n f o r m a t i o n   u s e d   t o   c o n f i g u r e   t h e   e g r e s s   s e l e c t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27331"
  },
  {
    "question": "What is ExtraMapping?",
    "answer": "A p p e a r s   i n :   C l a i m M a p p i n g s   E x t r a M a p p i n g   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   e x t r a   m a p p i n g .   k e y   i s   a   s t r i n g   t o   u s e   a s   t h e   e x t r a   a t t r i b u t e   k e y .   k e y   m u s t   b e   a   d o m a i n - p r e f i x   p a t h   ( e . g .   e x a m p l e . o r g / f o o ) .   A l l   c h a r a c t e r s   b e f o r e   t h e   f i r s t   \" / \"   m u s t   b e   a   v a l i d   s u b d o m a i n   a s   d e f i n e d   b y   R F C   1 1 2 3 .   A l l   c h a r a c t e r s   t r a i l i n g   t h e   f i r s t   \" / \"   m u s t   b e   v a l i d   H T T P   P a t h   c h a r a c t e r s   a s   d e f i n e d   b y   R F C   3 9 8 6 .   k e y   m u s t   b e   l o w e r c a s e .   R e q u i r e d   t o   b e   u n i q u e .   v a l u e E x p r e s s i o n   i s   a   C E L   e x p r e s s i o n   t o   e x t r a c t   e x t r a   a t t r i b u t e   v a l u e .   v a l u e E x p r e s s i o n   m u s t   p r o d u c e   a   s t r i n g   o r   s t r i n g   a r r a y   v a l u e .   \" \" ,   [ ] ,   a n d   n u l l   v a l u e s   a r e   t r e a t e d   a s   t h e   e x t r a   m a p p i n g   n o t   b e i n g   p r e s e n t .   E m p t y   s t r i n g   v a l u e s   c o n t a i n e d   w i t h i n   a   s t r i n g   a r r a y   a r e   f i l t e r e d   o u t .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   t h e   t o k e n   c l a i m s ,   o r g a n i z e d   i n t o   C E L   v a r i a b l e :   ' c l a i m s '   i s   a   m a p   o f   c l a i m   n a m e s   t o   c l a i m   v a l u e s .   F o r   e x a m p l e ,   a   v a r i a b l e   n a m e d   ' s u b '   c a n   b e   a c c e s s e d   a s   ' c l a i m s . s u b ' .   N e s t e d   c l a i m s   c a n   b e   a c c e s s e d   u s i n g   d o t   n o t a t i o n ,   e . g .   ' c l a i m s . f o o . b a r ' .   D o c u m e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27332"
  },
  {
    "question": "What is Issuer?",
    "answer": "A p p e a r s   i n :   J W T A u t h e n t i c a t o r   I s s u e r   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a n   e x t e r n a l   p r o v i d e r ' s   s p e c i f i c   s e t t i n g s .   u r l   p o i n t s   t o   t h e   i s s u e r   U R L   i n   a   f o r m a t   h t t p s : / / u r l   o r   h t t p s : / / u r l / p a t h .   T h i s   m u s t   m a t c h   t h e   \" i s s \"   c l a i m   i n   t h e   p r e s e n t e d   J W T ,   a n d   t h e   i s s u e r   r e t u r n e d   f r o m   d i s c o v e r y .   S a m e   v a l u e   a s   t h e   - - o i d c - i s s u e r - u r l   f l a g .   D i s c o v e r y   i n f o r m a t i o n   i s   f e t c h e d   f r o m   \" { u r l } / . w e l l - k n o w n / o p e n i d - c o n f i g u r a t i o n \"   u n l e s s   o v e r r i d d e n   b y   d i s c o v e r y U R L .   R e q u i r e d   t o   b e   u n i q u e   a c r o s s   a l l   J W T   a u t h e n t i c a t o r s .   N o t e   t h a t   e g r e s s   s e l e c t i o n   c o n f i g u r a t i o n   i s   n o t   u s e d   f o r   t h i s   n e t w o r k   c o n n e c t i o n .   d i s c o v e r y U R L ,   i f   s p e c i f i e d ,   o v e r r i d e s   t h e   U R L   u s e d   t o   f e t c h   d i s c o v e r y   i n f o r m a t i o n   i n s t e a d   o f   u s i n g   \" { u r l } / . w e l l - k n o w n / o p e n i d - c o n f i g u r a t i o n \" .   T h e   e x a c t   v a l u e   s p e c i f i e d   i s   u s e d ,   s o   \" / . w e l l - k n o w n / o p e n i d - c o n f i g u r a t i o n \"   m u s t   b e   i n c l u d e d   i n   d i s c o v e r y U R L   i f   n e e d e d .   T h e   \" i s s u e r \"   f i e l d   i n   t h e   f e t c h e d   d i s c o v e r y   i n f o r m a t i o n   m u s t   m a t c h   t h e   \" i s s u e r . u r l \"   f i e l d   i n   t h e   A u t h e n t i c a t i o n C o n f i g u r a t i o n   a n d   w i l l   b e   u s e d   t o   v a l i d a t e   t h e   \" i s s \"   c l a i m   i n   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27333"
  },
  {
    "question": "What is JWTAuthenticator?",
    "answer": "A p p e a r s   i n :   A u t h e n t i c a t i o n C o n f i g u r a t i o n   J W T A u t h e n t i c a t o r   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   J W T   a u t h e n t i c a t o r .   i s s u e r   c o n t a i n s   t h e   b a s i c   O I D C   p r o v i d e r   c o n n e c t i o n   o p t i o n s .   c l a i m V a l i d a t i o n R u l e s   a r e   r u l e s   t h a t   a r e   a p p l i e d   t o   v a l i d a t e   t o k e n   c l a i m s   t o   a u t h e n t i c a t e   u s e r s .   c l a i m M a p p i n g s   p o i n t s   c l a i m s   o f   a   t o k e n   t o   b e   t r e a t e d   a s   u s e r   a t t r i b u t e s .   u s e r V a l i d a t i o n R u l e s   a r e   r u l e s   t h a t   a r e   a p p l i e d   t o   f i n a l   u s e r   b e f o r e   c o m p l e t i n g   a u t h e n t i c a t i o n .   T h e s e   a l l o w   i n v a r i a n t s   t o   b e   a p p l i e d   t o   i n c o m i n g   i d e n t i t i e s   s u c h   a s   p r e v e n t i n g   t h e   u s e   o f   t h e   s y s t e m :   p r e f i x   t h a t   i s   c o m m o n l y   u s e d   b y   K u b e r n e t e s   c o m p o n e n t s .   T h e   v a l i d a t i o n   r u l e s   a r e   l o g i c a l l y   A N D e d   t o g e t h e r   a n d   m u s t   a l l   r e t u r n   t r u e   f o r   t h e   v a l i d a t i o n   t o   p a s s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27334"
  },
  {
    "question": "What is PrefixedClaimOrExpression?",
    "answer": "A p p e a r s   i n :   C l a i m M a p p i n g s   P r e f i x e d C l a i m O r E x p r e s s i o n   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   p r e f i x e d   c l a i m   o r   e x p r e s s i o n .   c l a i m   i s   t h e   J W T   c l a i m   t o   u s e .   M u t u a l l y   e x c l u s i v e   w i t h   e x p r e s s i o n .   p r e f i x   i s   p r e p e n d e d   t o   c l a i m ' s   v a l u e   t o   p r e v e n t   c l a s h e s   w i t h   e x i s t i n g   n a m e s .   p r e f i x   n e e d s   t o   b e   s e t   i f   c l a i m   i s   s e t   a n d   c a n   b e   t h e   e m p t y   s t r i n g .   M u t u a l l y   e x c l u s i v e   w i t h   e x p r e s s i o n .   e x p r e s s i o n   r e p r e s e n t s   t h e   e x p r e s s i o n   w h i c h   w i l l   b e   e v a l u a t e d   b y   C E L .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   t h e   t o k e n   c l a i m s ,   o r g a n i z e d   i n t o   C E L   v a r i a b l e :   ' c l a i m s '   i s   a   m a p   o f   c l a i m   n a m e s   t o   c l a i m   v a l u e s .   F o r   e x a m p l e ,   a   v a r i a b l e   n a m e d   ' s u b '   c a n   b e   a c c e s s e d   a s   ' c l a i m s . s u b ' .   N e s t e d   c l a i m s   c a n   b e   a c c e s s e d   u s i n g   d o t   n o t a t i o n ,   e . g .   ' c l a i m s . f o o . b a r ' .   D o c u m e n t a t i o n   o n   C E L :   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / u s i n g - a p i / c e l /   M u t u a l l y   e x c l u s i v e   w i t h   c l a i m   a n d   p r e f i x .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27335"
  },
  {
    "question": "What is ProtocolType?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   C o n n e c t i o n   P r o t o c o l T y p e   i s   a   s e t   o f   v a l i d   v a l u e s   f o r   C o n n e c t i o n . P r o t o c o l T y p e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27336"
  },
  {
    "question": "What is TCPTransport?",
    "answer": "A p p e a r s   i n :   T r a n s p o r t   T C P T r a n s p o r t   p r o v i d e s   t h e   i n f o r m a t i o n   t o   c o n n e c t   t o   k o n n e c t i v i t y   s e r v e r   v i a   T C P   U R L   i s   t h e   l o c a t i o n   o f   t h e   k o n n e c t i v i t y   s e r v e r   t o   c o n n e c t   t o .   A s   a n   e x a m p l e   i t   m i g h t   b e   \" h t t p s : / / 1 2 7 . 0 . 0 . 1 : 8 1 3 1 \"   T L S C o n f i g   i s   t h e   c o n f i g   n e e d e d   t o   u s e   T L S   w h e n   c o n n e c t i n g   t o   k o n n e c t i v i t y   s e r v e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27337"
  },
  {
    "question": "What is TLSConfig?",
    "answer": "A p p e a r s   i n :   T C P T r a n s p o r t   T L S C o n f i g   p r o v i d e s   t h e   a u t h e n t i c a t i o n   i n f o r m a t i o n   t o   c o n n e c t   t o   k o n n e c t i v i t y   s e r v e r   O n l y   u s e d   w i t h   T C P T r a n s p o r t   c a B u n d l e   i s   t h e   f i l e   l o c a t i o n   o f   t h e   C A   t o   b e   u s e d   t o   d e t e r m i n e   t r u s t   w i t h   t h e   k o n n e c t i v i t y   s e r v e r .   M u s t   b e   a b s e n t / e m p t y   i f   T C P T r a n s p o r t . U R L   i s   p r e f i x e d   w i t h   h t t p : / /   I f   a b s e n t   w h i l e   T C P T r a n s p o r t . U R L   i s   p r e f i x e d   w i t h   h t t p s : / / ,   d e f a u l t   t o   s y s t e m   t r u s t   r o o t s .   c l i e n t K e y   i s   t h e   f i l e   l o c a t i o n   o f   t h e   c l i e n t   k e y   t o   b e   u s e d   i n   m t l s   h a n d s h a k e s   w i t h   t h e   k o n n e c t i v i t y   s e r v e r .   M u s t   b e   a b s e n t / e m p t y   i f   T C P T r a n s p o r t . U R L   i s   p r e f i x e d   w i t h   h t t p : / /   M u s t   b e   c o n f i g u r e d   i f   T C P T r a n s p o r t . U R L   i s   p r e f i x e d   w i t h   h t t p s : / /   c l i e n t C e r t   i s   t h e   f i l e   l o c a t i o n   o f   t h e   c l i e n t   c e r t i f i c a t e   t o   b e   u s e d   i n   m t l s   h a n d s h a k e s   w i t h   t h e   k o n n e c t i v i t y   s e r v e r .   M u s t   b e   a b s e n t / e m p t y   i f   T C P T r a n s p o r t . U R L   i s   p r e f i x e d   w i t h   h t t p : / /   M u s t   b e   c o n f i g u r e d   i f   T C P T r a n s p o r t . U R L   i s   p r e f i x e d   w i t h   h t t p s : / /",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27338"
  },
  {
    "question": "What is Transport?",
    "answer": "A p p e a r s   i n :   C o n n e c t i o n   T r a n s p o r t   d e f i n e s   t h e   t r a n s p o r t   c o n f i g u r a t i o n s   w e   u s e   t o   d i a l   t o   t h e   k o n n e c t i v i t y   s e r v e r   T C P   i s   t h e   T C P   c o n f i g u r a t i o n   f o r   c o m m u n i c a t i n g   w i t h   t h e   k o n n e c t i v i t y   s e r v e r   v i a   T C P   P r o x y P r o t o c o l   o f   G R P C   i s   n o t   s u p p o r t e d   w i t h   T C P   t r a n s p o r t   a t   t h e   m o m e n t   R e q u i r e s   a t   l e a s t   o n e   o f   T C P   o r   U D S   t o   b e   s e t   U D S   i s   t h e   U D S   c o n f i g u r a t i o n   f o r   c o m m u n i c a t i n g   w i t h   t h e   k o n n e c t i v i t y   s e r v e r   v i a   U D S   R e q u i r e s   a t   l e a s t   o n e   o f   T C P   o r   U D S   t o   b e   s e t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27339"
  },
  {
    "question": "What is UDSTransport?",
    "answer": "A p p e a r s   i n :   T r a n s p o r t   U D S T r a n s p o r t   p r o v i d e s   t h e   i n f o r m a t i o n   t o   c o n n e c t   t o   k o n n e c t i v i t y   s e r v e r   v i a   U D S   U D S N a m e   i s   t h e   n a m e   o f   t h e   u n i x   d o m a i n   s o c k e t   t o   c o n n e c t   t o   k o n n e c t i v i t y   s e r v e r   T h i s   d o e s   n o t   u s e   a   u n i x : / /   p r e f i x .   ( E g :   / e t c / s r v / k u b e r n e t e s / k o n n e c t i v i t y - s e r v e r / k o n n e c t i v i t y - s e r v e r . s o c k e t )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27340"
  },
  {
    "question": "What is UserValidationRule?",
    "answer": "A p p e a r s   i n :   J W T A u t h e n t i c a t o r   U s e r V a l i d a t i o n R u l e   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   u s e r   i n f o   v a l i d a t i o n   r u l e .   e x p r e s s i o n   r e p r e s e n t s   t h e   e x p r e s s i o n   w h i c h   w i l l   b e   e v a l u a t e d   b y   C E L .   M u s t   r e t u r n   t r u e   f o r   t h e   v a l i d a t i o n   t o   p a s s .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   U s e r I n f o ,   o r g a n i z e d   i n t o   C E L   v a r i a b l e :   ' u s e r '   -   a u t h e n t i c a t i o n . k 8 s . i o / v 1 ,   K i n d = U s e r I n f o   o b j e c t   R e f e r   t o   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / a p i / b l o b / r e l e a s e - 1 . 2 8 / a u t h e n t i c a t i o n / v 1 / t y p e s . g o # L 1 0 5 - L 1 2 2   f o r   t h e   d e f i n i t i o n .   A P I   d o c u m e n t a t i o n :   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e r n e t e s - a p i / v 1 . 2 8 / # u s e r i n f o - v 1 - a u t h e n t i c a t i o n - k 8 s - i o   D o c u m e n t a t i o n   o n   C E L :   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / u s i n g - a p i / c e l /   m e s s a g e   c u s t o m i z e s   t h e   r e t u r n e d   e r r o r   m e s s a g e   w h e n   r u l e   r e t u r n s   f a l s e .   m e s s a g e   i s   a   l i t e r a l   s t r i n g .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27341"
  },
  {
    "question": "What is WebhookConfiguration?",
    "answer": "A p p e a r s   i n :   A u t h o r i z e r C o n f i g u r a t i o n   T h e   d u r a t i o n   t o   c a c h e   ' a u t h o r i z e d '   r e s p o n s e s   f r o m   t h e   w e b h o o k   a u t h o r i z e r .   S a m e   a s   s e t t i n g   - - a u t h o r i z a t i o n - w e b h o o k - c a c h e - a u t h o r i z e d - t t l   f l a g   D e f a u l t :   5 m 0 s   T h e   d u r a t i o n   t o   c a c h e   ' u n a u t h o r i z e d '   r e s p o n s e s   f r o m   t h e   w e b h o o k   a u t h o r i z e r .   S a m e   a s   s e t t i n g   - - a u t h o r i z a t i o n - w e b h o o k - c a c h e - u n a u t h o r i z e d - t t l   f l a g   D e f a u l t :   3 0 s   T i m e o u t   f o r   t h e   w e b h o o k   r e q u e s t   M a x i m u m   a l l o w e d   v a l u e   i s   3 0 s .   R e q u i r e d ,   n o   d e f a u l t   v a l u e .   T h e   A P I   v e r s i o n   o f   t h e   a u t h o r i z a t i o n . k 8 s . i o   S u b j e c t A c c e s s R e v i e w   t o   s e n d   t o   a n d   e x p e c t   f r o m   t h e   w e b h o o k .   S a m e   a s   s e t t i n g   - - a u t h o r i z a t i o n - w e b h o o k - v e r s i o n   f l a g   V a l i d   v a l u e s :   v 1 b e t a 1 ,   v 1   R e q u i r e d ,   n o   d e f a u l t   v a l u e   M a t c h C o n d i t i o n S u b j e c t A c c e s s R e v i e w V e r s i o n   s p e c i f i e s   t h e   S u b j e c t A c c e s s R e v i e w   v e r s i o n   t h e   C E L   e x p r e s s i o n s   a r e   e v a l u a t e d   a g a i n s t   V a l i d   v a l u e s :   v 1   R e q u i r e d ,   n o   d e f a u l t   v a l u e   C o n t r o l s   t h e   a u t h o r i z a t i o n   d e c i s i o n   w h e n   a   w e b h o o k   r e q u e s t   f a i l s   t o   c o m p l e t e   o r   r e t u r n s   a   m a l f o r m e d   r e s p o n s e   o r   e r r o r s   e v a l u a t i n g   m a t c h C o n d i t i o n s .   V a l i d   v a l u e s :   N o O p i n i o n :   c o n t i n u e   t o   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27342"
  },
  {
    "question": "What is WebhookConnectionInfo?",
    "answer": "A p p e a r s   i n :   W e b h o o k C o n f i g u r a t i o n   C o n t r o l s   h o w   t h e   w e b h o o k   s h o u l d   c o m m u n i c a t e   w i t h   t h e   s e r v e r .   V a l i d   v a l u e s :   K u b e C o n f i g F i l e :   u s e   t h e   f i l e   s p e c i f i e d   i n   k u b e C o n f i g F i l e   t o   l o c a t e   t h e   s e r v e r . I n C l u s t e r C o n f i g :   u s e   t h e   i n - c l u s t e r   c o n f i g u r a t i o n   t o   c a l l   t h e   S u b j e c t A c c e s s R e v i e w   A P I   h o s t e d   b y   k u b e - a p i s e r v e r .   T h i s   m o d e   i s   n o t   a l l o w e d   f o r   k u b e - a p i s e r v e r .   P a t h   t o   K u b e C o n f i g F i l e   f o r   c o n n e c t i o n   i n f o   R e q u i r e d ,   i f   c o n n e c t i o n I n f o . T y p e   i s   K u b e C o n f i g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27343"
  },
  {
    "question": "What is WebhookMatchCondition?",
    "answer": "A p p e a r s   i n :   W e b h o o k C o n f i g u r a t i o n   e x p r e s s i o n   r e p r e s e n t s   t h e   e x p r e s s i o n   w h i c h   w i l l   b e   e v a l u a t e d   b y   C E L .   M u s t   e v a l u a t e   t o   b o o l .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   t h e   S u b j e c t A c c e s s R e v i e w   i n   v 1   v e r s i o n .   I f   v e r s i o n   s p e c i f i e d   b y   s u b j e c t A c c e s s R e v i e w V e r s i o n   i n   t h e   r e q u e s t   v a r i a b l e   i s   v 1 b e t a 1 ,   t h e   c o n t e n t s   w o u l d   b e   c o n v e r t e d   t o   t h e   v 1   v e r s i o n   b e f o r e   e v a l u a t i n g   t h e   C E L   e x p r e s s i o n .   ' r e s o u r c e A t t r i b u t e s '   d e s c r i b e s   i n f o r m a t i o n   f o r   a   r e s o u r c e   a c c e s s   r e q u e s t   a n d   i s   u n s e t   f o r   n o n - r e s o u r c e   r e q u e s t s .   e . g .   h a s ( r e q u e s t . r e s o u r c e A t t r i b u t e s )   & &   r e q u e s t . r e s o u r c e A t t r i b u t e s . n a m e s p a c e   = =   ' d e f a u l t ' ' n o n R e s o u r c e A t t r i b u t e s '   d e s c r i b e s   i n f o r m a t i o n   f o r   a   n o n - r e s o u r c e   a c c e s s   r e q u e s t   a n d   i s   u n s e t   f o r   r e s o u r c e   r e q u e s t s .   e . g .   h a s ( r e q u e s t . n o n R e s o u r c e A t t r i b u t e s )   & &   r e q u e s t . n o n R e s o u r c e A t t r i b u t e s . p a t h   = =   ' / h e a l t h z ' . ' u s e r '   i s   t h e   u s e r   t o   t e s t   f o r .   e . g .   r e q u e s t . u s e r   = =   ' a l i c e ' ' g r o u p s '   i s   t h e   g r o u p s   t o   t e s t   f o r .   e . g .   ( ' g r o u p 1 '   i n   r e q u e s t . g r o u p s ) ' e x t r a '   c o r r e s p o n d s   t o   t h e   u s e r . I n f o . G e t E x t r a ( )   m e t h o d   f r o m   t h e   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27344"
  },
  {
    "question": "What is 14.9 - kube-apiserver Configuration (v1beta1)?",
    "answer": "P a c k a g e   v 1 b e t a 1   i s   t h e   v 1 b e t a 1   v e r s i o n   o f   t h e   A P I .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_27345"
  },
  {
    "question": "What is Resource Types?",
    "answer": "A u t h e n t i c a t i o n C o n f i g u r a t i o n A u t h o r i z a t i o n C o n f i g u r a t i o n E g r e s s S e l e c t o r C o n f i g u r a t i o n T r a c i n g C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27346"
  },
  {
    "question": "What is TracingConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e l e t C o n f i g u r a t i o n T r a c i n g C o n f i g u r a t i o n T r a c i n g C o n f i g u r a t i o n   K u b e l e t C o n f i g u r a t i o n   T r a c i n g C o n f i g u r a t i o n   T r a c i n g C o n f i g u r a t i o n   T r a c i n g C o n f i g u r a t i o n   p r o v i d e s   v e r s i o n e d   c o n f i g u r a t i o n   f o r   O p e n T e l e m e t r y   t r a c i n g   c l i e n t s .   E n d p o i n t   o f   t h e   c o l l e c t o r   t h i s   c o m p o n e n t   w i l l   r e p o r t   t r a c e s   t o .   T h e   c o n n e c t i o n   i s   i n s e c u r e ,   a n d   d o e s   n o t   c u r r e n t l y   s u p p o r t   T L S .   R e c o m m e n d e d   i s   u n s e t ,   a n d   e n d p o i n t   i s   t h e   o t l p   g r p c   d e f a u l t ,   l o c a l h o s t : 4 3 1 7 .   S a m p l i n g R a t e P e r M i l l i o n   i s   t h e   n u m b e r   o f   s a m p l e s   t o   c o l l e c t   p e r   m i l l i o n   s p a n s .   R e c o m m e n d e d   i s   u n s e t .   I f   u n s e t ,   s a m p l e r   r e s p e c t s   i t s   p a r e n t   s p a n ' s   s a m p l i n g   r a t e ,   b u t   o t h e r w i s e   n e v e r   s a m p l e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27347"
  },
  {
    "question": "What is AuthenticationConfiguration?",
    "answer": "A u t h e n t i c a t i o n C o n f i g u r a t i o n   p r o v i d e s   v e r s i o n e d   c o n f i g u r a t i o n   f o r   a u t h e n t i c a t i o n .   j w t   i s   a   l i s t   o f   a u t h e n t i c a t o r   t o   a u t h e n t i c a t e   K u b e r n e t e s   u s e r s   u s i n g   J W T   c o m p l i a n t   t o k e n s .   T h e   a u t h e n t i c a t o r   w i l l   a t t e m p t   t o   p a r s e   a   r a w   I D   t o k e n ,   v e r i f y   i t ' s   b e e n   s i g n e d   b y   t h e   c o n f i g u r e d   i s s u e r .   T h e   p u b l i c   k e y   t o   v e r i f y   t h e   s i g n a t u r e   i s   d i s c o v e r e d   f r o m   t h e   i s s u e r ' s   p u b l i c   e n d p o i n t   u s i n g   O I D C   d i s c o v e r y .   F o r   a n   i n c o m i n g   t o k e n ,   e a c h   J W T   a u t h e n t i c a t o r   w i l l   b e   a t t e m p t e d   i n   t h e   o r d e r   i n   w h i c h   i t   i s   s p e c i f i e d   i n   t h i s   l i s t .   N o t e   h o w e v e r   t h a t   o t h e r   a u t h e n t i c a t o r s   m a y   r u n   b e f o r e   o r   a f t e r   t h e   J W T   a u t h e n t i c a t o r s .   T h e   s p e c i f i c   p o s i t i o n   o f   J W T   a u t h e n t i c a t o r s   i n   r e l a t i o n   t o   o t h e r   a u t h e n t i c a t o r s   i s   n e i t h e r   d e f i n e d   n o r   s t a b l e   a c r o s s   r e l e a s e s .   S i n c e   e a c h   J W T   a u t h e n t i c a t o r   m u s t   h a v e   a   u n i q u e   i s s u e r   U R L ,   a t   m o s t   o n e   J W T   a u t h e n t i c a t o r   w i l l   a t t e m p t   t o   c r y p t o g r a p h i c a l l y   v a l i d a t e   t h e   t o k e n .   T h e   m i n i m u m   v a l i d   J W T   p a y l o a d   m u s t   c o n t a i n   t h e   f o l l o w i n g   c l a i m s :   {   \" i s s \" :   \" h t t p s : / / i s s u e r . e x a m p l e . c o m \" ,   \" a u d \" :   [ \" a u d i e n c e \" ] ,   \" e x p \" :   1 2 3 4 5 6 ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27348"
  },
  {
    "question": "What is AuthorizationConfiguration?",
    "answer": "A u t h o r i z e r s   i s   a n   o r d e r e d   l i s t   o f   a u t h o r i z e r s   t o   a u t h o r i z e   r e q u e s t s   a g a i n s t .   T h i s   i s   s i m i l a r   t o   t h e   - - a u t h o r i z a t i o n - m o d e s   k u b e - a p i s e r v e r   f l a g   M u s t   b e   a t   l e a s t   o n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27349"
  },
  {
    "question": "What is EgressSelectorConfiguration?",
    "answer": "E g r e s s S e l e c t o r C o n f i g u r a t i o n   p r o v i d e s   v e r s i o n e d   c o n f i g u r a t i o n   f o r   e g r e s s   s e l e c t o r   c l i e n t s .   c o n n e c t i o n S e r v i c e s   c o n t a i n s   a   l i s t   o f   e g r e s s   s e l e c t i o n   c l i e n t   c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27350"
  },
  {
    "question": "What is TracingConfiguration?",
    "answer": "T r a c i n g C o n f i g u r a t i o n   p r o v i d e s   v e r s i o n e d   c o n f i g u r a t i o n   f o r   t r a c i n g   c l i e n t s .   E m b e d   t h e   c o m p o n e n t   c o n f i g   t r a c i n g   c o n f i g u r a t i o n   s t r u c t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27351"
  },
  {
    "question": "What is AnonymousAuthCondition?",
    "answer": "A p p e a r s   i n :   A n o n y m o u s A u t h C o n f i g   A n o n y m o u s A u t h C o n d i t i o n   d e s c r i b e s   t h e   c o n d i t i o n   u n d e r   w h i c h   a n o n y m o u s   a u t h   s h o u l d   b e   e n a b l e d .   P a t h   f o r   w h i c h   a n o n y m o u s   a u t h   i s   e n a b l e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27352"
  },
  {
    "question": "What is AnonymousAuthConfig?",
    "answer": "A p p e a r s   i n :   A u t h e n t i c a t i o n C o n f i g u r a t i o n   A n o n y m o u s A u t h C o n f i g   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   t h e   a n o n y m o u s   a u t h e n t i c a t o r .   I f   s e t ,   a n o n y m o u s   a u t h   i s   o n l y   a l l o w e d   i f   t h e   r e q u e s t   m e e t s   o n e   o f   t h e   c o n d i t i o n s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27353"
  },
  {
    "question": "What is AudienceMatchPolicyType?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   I s s u e r   A u d i e n c e M a t c h P o l i c y T y p e   i s   a   s e t   o f   v a l i d   v a l u e s   f o r   i s s u e r . a u d i e n c e M a t c h P o l i c y",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27354"
  },
  {
    "question": "What is AuthorizerConfiguration?",
    "answer": "A p p e a r s   i n :   A u t h o r i z a t i o n C o n f i g u r a t i o n   T y p e   r e f e r s   t o   t h e   t y p e   o f   t h e   a u t h o r i z e r   \" W e b h o o k \"   i s   s u p p o r t e d   i n   t h e   g e n e r i c   A P I   s e r v e r   O t h e r   A P I   s e r v e r s   m a y   s u p p o r t   a d d i t i o n a l   a u t h o r i z e r   t y p e s   l i k e   N o d e ,   R B A C ,   A B A C ,   e t c .   N a m e   u s e d   t o   d e s c r i b e   t h e   w e b h o o k   T h i s   i s   e x p l i c i t l y   u s e d   i n   m o n i t o r i n g   m a c h i n e r y   f o r   m e t r i c s   N o t e :   N a m e s   m u s t   b e   D N S 1 1 2 3   l a b e l s   l i k e   m y a u t h o r i z e r n a m e   o r   s u b d o m a i n s   l i k e   m y a u t h o r i z e r . e x a m p l e . d o m a i n   R e q u i r e d ,   w i t h   n o   d e f a u l t   W e b h o o k   d e f i n e s   t h e   c o n f i g u r a t i o n   f o r   a   W e b h o o k   a u t h o r i z e r   M u s t   b e   d e f i n e d   w h e n   T y p e = W e b h o o k   M u s t   n o t   b e   d e f i n e d   w h e n   T y p e ! = W e b h o o k",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27355"
  },
  {
    "question": "What is ClaimMappings?",
    "answer": "A p p e a r s   i n :   J W T A u t h e n t i c a t o r   C l a i m M a p p i n g s   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   c l a i m   m a p p i n g   u s e r n a m e   r e p r e s e n t s   a n   o p t i o n   f o r   t h e   u s e r n a m e   a t t r i b u t e .   T h e   c l a i m ' s   v a l u e   m u s t   b e   a   s i n g u l a r   s t r i n g .   S a m e   a s   t h e   - - o i d c - u s e r n a m e - c l a i m   a n d   - - o i d c - u s e r n a m e - p r e f i x   f l a g s .   I f   u s e r n a m e . e x p r e s s i o n   i s   s e t ,   t h e   e x p r e s s i o n   m u s t   p r o d u c e   a   s t r i n g   v a l u e .   I f   u s e r n a m e . e x p r e s s i o n   u s e s   ' c l a i m s . e m a i l ' ,   t h e n   ' c l a i m s . e m a i l _ v e r i f i e d '   m u s t   b e   u s e d   i n   u s e r n a m e . e x p r e s s i o n   o r   e x t r a [ * ] . v a l u e E x p r e s s i o n   o r   c l a i m V a l i d a t i o n R u l e s [ * ] . e x p r e s s i o n .   A n   e x a m p l e   c l a i m   v a l i d a t i o n   r u l e   e x p r e s s i o n   t h a t   m a t c h e s   t h e   v a l i d a t i o n   a u t o m a t i c a l l y   a p p l i e d   w h e n   u s e r n a m e . c l a i m   i s   s e t   t o   ' e m a i l '   i s   ' c l a i m s . ? e m a i l _ v e r i f i e d . o r V a l u e ( t r u e )   = =   t r u e ' .   B y   e x p l i c i t l y   c o m p a r i n g   t h e   v a l u e   t o   t r u e ,   w e   l e t   t y p e - c h e c k i n g   s e e   t h e   r e s u l t   w i l l   b e   a   b o o l e a n ,   a n d   t o   m a k e   s u r e   a   n o n - b o o l e a n   e m a i l _ v e r i f i e d   c l a i m   w i l l   b e   c a u g h t   a t   r u n t i m e .   I n   t h e   f l a g   b a s e d   a p p r o a c h ,   t h e   - - o i d c - u s e r n a m e - c l a i m   a n d   - - o i d c - u s e r n a m e - p r e f i x   a r e   o p t i o n a l .   I f   - - o i d c - u s e r n a m e - c l a i m   i s   n o t   s e t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27356"
  },
  {
    "question": "What is ClaimOrExpression?",
    "answer": "A p p e a r s   i n :   C l a i m M a p p i n g s   C l a i m O r E x p r e s s i o n   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   c l a i m   o r   e x p r e s s i o n .   c l a i m   i s   t h e   J W T   c l a i m   t o   u s e .   E i t h e r   c l a i m   o r   e x p r e s s i o n   m u s t   b e   s e t .   M u t u a l l y   e x c l u s i v e   w i t h   e x p r e s s i o n .   e x p r e s s i o n   r e p r e s e n t s   t h e   e x p r e s s i o n   w h i c h   w i l l   b e   e v a l u a t e d   b y   C E L .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   t h e   t o k e n   c l a i m s ,   o r g a n i z e d   i n t o   C E L   v a r i a b l e :   ' c l a i m s '   i s   a   m a p   o f   c l a i m   n a m e s   t o   c l a i m   v a l u e s .   F o r   e x a m p l e ,   a   v a r i a b l e   n a m e d   ' s u b '   c a n   b e   a c c e s s e d   a s   ' c l a i m s . s u b ' .   N e s t e d   c l a i m s   c a n   b e   a c c e s s e d   u s i n g   d o t   n o t a t i o n ,   e . g .   ' c l a i m s . f o o . b a r ' .   D o c u m e n t a t i o n   o n   C E L :   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / u s i n g - a p i / c e l /   M u t u a l l y   e x c l u s i v e   w i t h   c l a i m .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27357"
  },
  {
    "question": "What is ClaimValidationRule?",
    "answer": "A p p e a r s   i n :   J W T A u t h e n t i c a t o r   C l a i m V a l i d a t i o n R u l e   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   c l a i m   v a l i d a t i o n   r u l e .   c l a i m   i s   t h e   n a m e   o f   a   r e q u i r e d   c l a i m .   S a m e   a s   - - o i d c - r e q u i r e d - c l a i m   f l a g .   O n l y   s t r i n g   c l a i m   k e y s   a r e   s u p p o r t e d .   M u t u a l l y   e x c l u s i v e   w i t h   e x p r e s s i o n   a n d   m e s s a g e .   r e q u i r e d V a l u e   i s   t h e   v a l u e   o f   a   r e q u i r e d   c l a i m .   S a m e   a s   - - o i d c - r e q u i r e d - c l a i m   f l a g .   O n l y   s t r i n g   c l a i m   v a l u e s   a r e   s u p p o r t e d .   I f   c l a i m   i s   s e t   a n d   r e q u i r e d V a l u e   i s   n o t   s e t ,   t h e   c l a i m   m u s t   b e   p r e s e n t   w i t h   a   v a l u e   s e t   t o   t h e   e m p t y   s t r i n g .   M u t u a l l y   e x c l u s i v e   w i t h   e x p r e s s i o n   a n d   m e s s a g e .   e x p r e s s i o n   r e p r e s e n t s   t h e   e x p r e s s i o n   w h i c h   w i l l   b e   e v a l u a t e d   b y   C E L .   M u s t   p r o d u c e   a   b o o l e a n .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   t h e   t o k e n   c l a i m s ,   o r g a n i z e d   i n t o   C E L   v a r i a b l e :   ' c l a i m s '   i s   a   m a p   o f   c l a i m   n a m e s   t o   c l a i m   v a l u e s .   F o r   e x a m p l e ,   a   v a r i a b l e   n a m e d   ' s u b '   c a n   b e   a c c e s s e d   a s   ' c l a i m s . s u b ' .   N e s t e d   c l a i m s   c a n   b e   a c c e s s e d   u s i n g   d o t   n o t a t i o n ,   e . g .   ' c l a i m s . f o o . b a r ' .   M u s t   r e t u r n   t r u e   f o r   t h e   v a l i d a t i o n   t o   p a s s .   D o c u m e n t a t i o n   o n   C E L : ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27358"
  },
  {
    "question": "What is Connection?",
    "answer": "A p p e a r s   i n :   E g r e s s S e l e c t i o n   C o n n e c t i o n   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   e g r e s s   s e l e c t i o n   c l i e n t .   P r o t o c o l   i s   t h e   p r o t o c o l   u s e d   t o   c o n n e c t   f r o m   c l i e n t   t o   t h e   k o n n e c t i v i t y   s e r v e r .   T r a n s p o r t   d e f i n e s   t h e   t r a n s p o r t   c o n f i g u r a t i o n s   w e   u s e   t o   d i a l   t o   t h e   k o n n e c t i v i t y   s e r v e r .   T h i s   i s   r e q u i r e d   i f   P r o x y P r o t o c o l   i s   H T T P C o n n e c t   o r   G R P C .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27359"
  },
  {
    "question": "What is EgressSelection?",
    "answer": "A p p e a r s   i n :   E g r e s s S e l e c t o r C o n f i g u r a t i o n   E g r e s s S e l e c t i o n   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   e g r e s s   s e l e c t i o n   c l i e n t .   n a m e   i s   t h e   n a m e   o f   t h e   e g r e s s   s e l e c t i o n .   C u r r e n t l y   s u p p o r t e d   v a l u e s   a r e   \" c o n t r o l p l a n e \" ,   \" m a s t e r \" ,   \" e t c d \"   a n d   \" c l u s t e r \"   T h e   \" m a s t e r \"   e g r e s s   s e l e c t o r   i s   d e p r e c a t e d   i n   f a v o r   o f   \" c o n t r o l p l a n e \"   c o n n e c t i o n   i s   t h e   e x a c t   i n f o r m a t i o n   u s e d   t o   c o n f i g u r e   t h e   e g r e s s   s e l e c t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27360"
  },
  {
    "question": "What is ExtraMapping?",
    "answer": "A p p e a r s   i n :   C l a i m M a p p i n g s   E x t r a M a p p i n g   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   e x t r a   m a p p i n g .   k e y   i s   a   s t r i n g   t o   u s e   a s   t h e   e x t r a   a t t r i b u t e   k e y .   k e y   m u s t   b e   a   d o m a i n - p r e f i x   p a t h   ( e . g .   e x a m p l e . o r g / f o o ) .   A l l   c h a r a c t e r s   b e f o r e   t h e   f i r s t   \" / \"   m u s t   b e   a   v a l i d   s u b d o m a i n   a s   d e f i n e d   b y   R F C   1 1 2 3 .   A l l   c h a r a c t e r s   t r a i l i n g   t h e   f i r s t   \" / \"   m u s t   b e   v a l i d   H T T P   P a t h   c h a r a c t e r s   a s   d e f i n e d   b y   R F C   3 9 8 6 .   k e y   m u s t   b e   l o w e r c a s e .   R e q u i r e d   t o   b e   u n i q u e .   v a l u e E x p r e s s i o n   i s   a   C E L   e x p r e s s i o n   t o   e x t r a c t   e x t r a   a t t r i b u t e   v a l u e .   v a l u e E x p r e s s i o n   m u s t   p r o d u c e   a   s t r i n g   o r   s t r i n g   a r r a y   v a l u e .   \" \" ,   [ ] ,   a n d   n u l l   v a l u e s   a r e   t r e a t e d   a s   t h e   e x t r a   m a p p i n g   n o t   b e i n g   p r e s e n t .   E m p t y   s t r i n g   v a l u e s   c o n t a i n e d   w i t h i n   a   s t r i n g   a r r a y   a r e   f i l t e r e d   o u t .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   t h e   t o k e n   c l a i m s ,   o r g a n i z e d   i n t o   C E L   v a r i a b l e :   ' c l a i m s '   i s   a   m a p   o f   c l a i m   n a m e s   t o   c l a i m   v a l u e s .   F o r   e x a m p l e ,   a   v a r i a b l e   n a m e d   ' s u b '   c a n   b e   a c c e s s e d   a s   ' c l a i m s . s u b ' .   N e s t e d   c l a i m s   c a n   b e   a c c e s s e d   u s i n g   d o t   n o t a t i o n ,   e . g .   ' c l a i m s . f o o . b a r ' .   D o c u m e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27361"
  },
  {
    "question": "What is Issuer?",
    "answer": "A p p e a r s   i n :   J W T A u t h e n t i c a t o r   I s s u e r   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a n   e x t e r n a l   p r o v i d e r ' s   s p e c i f i c   s e t t i n g s .   u r l   p o i n t s   t o   t h e   i s s u e r   U R L   i n   a   f o r m a t   h t t p s : / / u r l   o r   h t t p s : / / u r l / p a t h .   T h i s   m u s t   m a t c h   t h e   \" i s s \"   c l a i m   i n   t h e   p r e s e n t e d   J W T ,   a n d   t h e   i s s u e r   r e t u r n e d   f r o m   d i s c o v e r y .   S a m e   v a l u e   a s   t h e   - - o i d c - i s s u e r - u r l   f l a g .   D i s c o v e r y   i n f o r m a t i o n   i s   f e t c h e d   f r o m   \" { u r l } / . w e l l - k n o w n / o p e n i d - c o n f i g u r a t i o n \"   u n l e s s   o v e r r i d d e n   b y   d i s c o v e r y U R L .   R e q u i r e d   t o   b e   u n i q u e   a c r o s s   a l l   J W T   a u t h e n t i c a t o r s .   N o t e   t h a t   e g r e s s   s e l e c t i o n   c o n f i g u r a t i o n   i s   n o t   u s e d   f o r   t h i s   n e t w o r k   c o n n e c t i o n .   d i s c o v e r y U R L ,   i f   s p e c i f i e d ,   o v e r r i d e s   t h e   U R L   u s e d   t o   f e t c h   d i s c o v e r y   i n f o r m a t i o n   i n s t e a d   o f   u s i n g   \" { u r l } / . w e l l - k n o w n / o p e n i d - c o n f i g u r a t i o n \" .   T h e   e x a c t   v a l u e   s p e c i f i e d   i s   u s e d ,   s o   \" / . w e l l - k n o w n / o p e n i d - c o n f i g u r a t i o n \"   m u s t   b e   i n c l u d e d   i n   d i s c o v e r y U R L   i f   n e e d e d .   T h e   \" i s s u e r \"   f i e l d   i n   t h e   f e t c h e d   d i s c o v e r y   i n f o r m a t i o n   m u s t   m a t c h   t h e   \" i s s u e r . u r l \"   f i e l d   i n   t h e   A u t h e n t i c a t i o n C o n f i g u r a t i o n   a n d   w i l l   b e   u s e d   t o   v a l i d a t e   t h e   \" i s s \"   c l a i m   i n   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27362"
  },
  {
    "question": "What is JWTAuthenticator?",
    "answer": "A p p e a r s   i n :   A u t h e n t i c a t i o n C o n f i g u r a t i o n   J W T A u t h e n t i c a t o r   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   J W T   a u t h e n t i c a t o r .   i s s u e r   c o n t a i n s   t h e   b a s i c   O I D C   p r o v i d e r   c o n n e c t i o n   o p t i o n s .   c l a i m V a l i d a t i o n R u l e s   a r e   r u l e s   t h a t   a r e   a p p l i e d   t o   v a l i d a t e   t o k e n   c l a i m s   t o   a u t h e n t i c a t e   u s e r s .   c l a i m M a p p i n g s   p o i n t s   c l a i m s   o f   a   t o k e n   t o   b e   t r e a t e d   a s   u s e r   a t t r i b u t e s .   u s e r V a l i d a t i o n R u l e s   a r e   r u l e s   t h a t   a r e   a p p l i e d   t o   f i n a l   u s e r   b e f o r e   c o m p l e t i n g   a u t h e n t i c a t i o n .   T h e s e   a l l o w   i n v a r i a n t s   t o   b e   a p p l i e d   t o   i n c o m i n g   i d e n t i t i e s   s u c h   a s   p r e v e n t i n g   t h e   u s e   o f   t h e   s y s t e m :   p r e f i x   t h a t   i s   c o m m o n l y   u s e d   b y   K u b e r n e t e s   c o m p o n e n t s .   T h e   v a l i d a t i o n   r u l e s   a r e   l o g i c a l l y   A N D e d   t o g e t h e r   a n d   m u s t   a l l   r e t u r n   t r u e   f o r   t h e   v a l i d a t i o n   t o   p a s s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27363"
  },
  {
    "question": "What is PrefixedClaimOrExpression?",
    "answer": "A p p e a r s   i n :   C l a i m M a p p i n g s   P r e f i x e d C l a i m O r E x p r e s s i o n   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   p r e f i x e d   c l a i m   o r   e x p r e s s i o n .   c l a i m   i s   t h e   J W T   c l a i m   t o   u s e .   M u t u a l l y   e x c l u s i v e   w i t h   e x p r e s s i o n .   p r e f i x   i s   p r e p e n d e d   t o   c l a i m ' s   v a l u e   t o   p r e v e n t   c l a s h e s   w i t h   e x i s t i n g   n a m e s .   p r e f i x   n e e d s   t o   b e   s e t   i f   c l a i m   i s   s e t   a n d   c a n   b e   t h e   e m p t y   s t r i n g .   M u t u a l l y   e x c l u s i v e   w i t h   e x p r e s s i o n .   e x p r e s s i o n   r e p r e s e n t s   t h e   e x p r e s s i o n   w h i c h   w i l l   b e   e v a l u a t e d   b y   C E L .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   t h e   t o k e n   c l a i m s ,   o r g a n i z e d   i n t o   C E L   v a r i a b l e :   ' c l a i m s '   i s   a   m a p   o f   c l a i m   n a m e s   t o   c l a i m   v a l u e s .   F o r   e x a m p l e ,   a   v a r i a b l e   n a m e d   ' s u b '   c a n   b e   a c c e s s e d   a s   ' c l a i m s . s u b ' .   N e s t e d   c l a i m s   c a n   b e   a c c e s s e d   u s i n g   d o t   n o t a t i o n ,   e . g .   ' c l a i m s . f o o . b a r ' .   D o c u m e n t a t i o n   o n   C E L :   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / u s i n g - a p i / c e l /   M u t u a l l y   e x c l u s i v e   w i t h   c l a i m   a n d   p r e f i x .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27364"
  },
  {
    "question": "What is ProtocolType?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   C o n n e c t i o n   P r o t o c o l T y p e   i s   a   s e t   o f   v a l i d   v a l u e s   f o r   C o n n e c t i o n . P r o t o c o l T y p e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27365"
  },
  {
    "question": "What is TCPTransport?",
    "answer": "A p p e a r s   i n :   T r a n s p o r t   T C P T r a n s p o r t   p r o v i d e s   t h e   i n f o r m a t i o n   t o   c o n n e c t   t o   k o n n e c t i v i t y   s e r v e r   v i a   T C P   U R L   i s   t h e   l o c a t i o n   o f   t h e   k o n n e c t i v i t y   s e r v e r   t o   c o n n e c t   t o .   A s   a n   e x a m p l e   i t   m i g h t   b e   \" h t t p s : / / 1 2 7 . 0 . 0 . 1 : 8 1 3 1 \"   T L S C o n f i g   i s   t h e   c o n f i g   n e e d e d   t o   u s e   T L S   w h e n   c o n n e c t i n g   t o   k o n n e c t i v i t y   s e r v e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27366"
  },
  {
    "question": "What is TLSConfig?",
    "answer": "A p p e a r s   i n :   T C P T r a n s p o r t   T L S C o n f i g   p r o v i d e s   t h e   a u t h e n t i c a t i o n   i n f o r m a t i o n   t o   c o n n e c t   t o   k o n n e c t i v i t y   s e r v e r   O n l y   u s e d   w i t h   T C P T r a n s p o r t   c a B u n d l e   i s   t h e   f i l e   l o c a t i o n   o f   t h e   C A   t o   b e   u s e d   t o   d e t e r m i n e   t r u s t   w i t h   t h e   k o n n e c t i v i t y   s e r v e r .   M u s t   b e   a b s e n t / e m p t y   i f   T C P T r a n s p o r t . U R L   i s   p r e f i x e d   w i t h   h t t p : / /   I f   a b s e n t   w h i l e   T C P T r a n s p o r t . U R L   i s   p r e f i x e d   w i t h   h t t p s : / / ,   d e f a u l t   t o   s y s t e m   t r u s t   r o o t s .   c l i e n t K e y   i s   t h e   f i l e   l o c a t i o n   o f   t h e   c l i e n t   k e y   t o   b e   u s e d   i n   m t l s   h a n d s h a k e s   w i t h   t h e   k o n n e c t i v i t y   s e r v e r .   M u s t   b e   a b s e n t / e m p t y   i f   T C P T r a n s p o r t . U R L   i s   p r e f i x e d   w i t h   h t t p : / /   M u s t   b e   c o n f i g u r e d   i f   T C P T r a n s p o r t . U R L   i s   p r e f i x e d   w i t h   h t t p s : / /   c l i e n t C e r t   i s   t h e   f i l e   l o c a t i o n   o f   t h e   c l i e n t   c e r t i f i c a t e   t o   b e   u s e d   i n   m t l s   h a n d s h a k e s   w i t h   t h e   k o n n e c t i v i t y   s e r v e r .   M u s t   b e   a b s e n t / e m p t y   i f   T C P T r a n s p o r t . U R L   i s   p r e f i x e d   w i t h   h t t p : / /   M u s t   b e   c o n f i g u r e d   i f   T C P T r a n s p o r t . U R L   i s   p r e f i x e d   w i t h   h t t p s : / /",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27367"
  },
  {
    "question": "What is Transport?",
    "answer": "A p p e a r s   i n :   C o n n e c t i o n   T r a n s p o r t   d e f i n e s   t h e   t r a n s p o r t   c o n f i g u r a t i o n s   w e   u s e   t o   d i a l   t o   t h e   k o n n e c t i v i t y   s e r v e r   T C P   i s   t h e   T C P   c o n f i g u r a t i o n   f o r   c o m m u n i c a t i n g   w i t h   t h e   k o n n e c t i v i t y   s e r v e r   v i a   T C P   P r o x y P r o t o c o l   o f   G R P C   i s   n o t   s u p p o r t e d   w i t h   T C P   t r a n s p o r t   a t   t h e   m o m e n t   R e q u i r e s   a t   l e a s t   o n e   o f   T C P   o r   U D S   t o   b e   s e t   U D S   i s   t h e   U D S   c o n f i g u r a t i o n   f o r   c o m m u n i c a t i n g   w i t h   t h e   k o n n e c t i v i t y   s e r v e r   v i a   U D S   R e q u i r e s   a t   l e a s t   o n e   o f   T C P   o r   U D S   t o   b e   s e t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27368"
  },
  {
    "question": "What is UDSTransport?",
    "answer": "A p p e a r s   i n :   T r a n s p o r t   U D S T r a n s p o r t   p r o v i d e s   t h e   i n f o r m a t i o n   t o   c o n n e c t   t o   k o n n e c t i v i t y   s e r v e r   v i a   U D S   U D S N a m e   i s   t h e   n a m e   o f   t h e   u n i x   d o m a i n   s o c k e t   t o   c o n n e c t   t o   k o n n e c t i v i t y   s e r v e r   T h i s   d o e s   n o t   u s e   a   u n i x : / /   p r e f i x .   ( E g :   / e t c / s r v / k u b e r n e t e s / k o n n e c t i v i t y - s e r v e r / k o n n e c t i v i t y - s e r v e r . s o c k e t )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27369"
  },
  {
    "question": "What is UserValidationRule?",
    "answer": "A p p e a r s   i n :   J W T A u t h e n t i c a t o r   U s e r V a l i d a t i o n R u l e   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   s i n g l e   u s e r   i n f o   v a l i d a t i o n   r u l e .   e x p r e s s i o n   r e p r e s e n t s   t h e   e x p r e s s i o n   w h i c h   w i l l   b e   e v a l u a t e d   b y   C E L .   M u s t   r e t u r n   t r u e   f o r   t h e   v a l i d a t i o n   t o   p a s s .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   U s e r I n f o ,   o r g a n i z e d   i n t o   C E L   v a r i a b l e :   ' u s e r '   -   a u t h e n t i c a t i o n . k 8 s . i o / v 1 ,   K i n d = U s e r I n f o   o b j e c t   R e f e r   t o   h t t p s : / / g i t h u b . c o m / k u b e r n e t e s / a p i / b l o b / r e l e a s e - 1 . 2 8 / a u t h e n t i c a t i o n / v 1 / t y p e s . g o # L 1 0 5 - L 1 2 2   f o r   t h e   d e f i n i t i o n .   A P I   d o c u m e n t a t i o n :   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / g e n e r a t e d / k u b e r n e t e s - a p i / v 1 . 2 8 / # u s e r i n f o - v 1 - a u t h e n t i c a t i o n - k 8 s - i o   D o c u m e n t a t i o n   o n   C E L :   h t t p s : / / k u b e r n e t e s . i o / d o c s / r e f e r e n c e / u s i n g - a p i / c e l /   m e s s a g e   c u s t o m i z e s   t h e   r e t u r n e d   e r r o r   m e s s a g e   w h e n   r u l e   r e t u r n s   f a l s e .   m e s s a g e   i s   a   l i t e r a l   s t r i n g .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27370"
  },
  {
    "question": "What is WebhookConfiguration?",
    "answer": "A p p e a r s   i n :   A u t h o r i z e r C o n f i g u r a t i o n   T h e   d u r a t i o n   t o   c a c h e   ' a u t h o r i z e d '   r e s p o n s e s   f r o m   t h e   w e b h o o k   a u t h o r i z e r .   S a m e   a s   s e t t i n g   - - a u t h o r i z a t i o n - w e b h o o k - c a c h e - a u t h o r i z e d - t t l   f l a g   D e f a u l t :   5 m 0 s   T h e   d u r a t i o n   t o   c a c h e   ' u n a u t h o r i z e d '   r e s p o n s e s   f r o m   t h e   w e b h o o k   a u t h o r i z e r .   S a m e   a s   s e t t i n g   - - a u t h o r i z a t i o n - w e b h o o k - c a c h e - u n a u t h o r i z e d - t t l   f l a g   D e f a u l t :   3 0 s   T i m e o u t   f o r   t h e   w e b h o o k   r e q u e s t   M a x i m u m   a l l o w e d   v a l u e   i s   3 0 s .   R e q u i r e d ,   n o   d e f a u l t   v a l u e .   T h e   A P I   v e r s i o n   o f   t h e   a u t h o r i z a t i o n . k 8 s . i o   S u b j e c t A c c e s s R e v i e w   t o   s e n d   t o   a n d   e x p e c t   f r o m   t h e   w e b h o o k .   S a m e   a s   s e t t i n g   - - a u t h o r i z a t i o n - w e b h o o k - v e r s i o n   f l a g   V a l i d   v a l u e s :   v 1 b e t a 1 ,   v 1   R e q u i r e d ,   n o   d e f a u l t   v a l u e   M a t c h C o n d i t i o n S u b j e c t A c c e s s R e v i e w V e r s i o n   s p e c i f i e s   t h e   S u b j e c t A c c e s s R e v i e w   v e r s i o n   t h e   C E L   e x p r e s s i o n s   a r e   e v a l u a t e d   a g a i n s t   V a l i d   v a l u e s :   v 1   R e q u i r e d ,   n o   d e f a u l t   v a l u e   C o n t r o l s   t h e   a u t h o r i z a t i o n   d e c i s i o n   w h e n   a   w e b h o o k   r e q u e s t   f a i l s   t o   c o m p l e t e   o r   r e t u r n s   a   m a l f o r m e d   r e s p o n s e   o r   e r r o r s   e v a l u a t i n g   m a t c h C o n d i t i o n s .   V a l i d   v a l u e s :   N o O p i n i o n :   c o n t i n u e   t o   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27371"
  },
  {
    "question": "What is WebhookConnectionInfo?",
    "answer": "A p p e a r s   i n :   W e b h o o k C o n f i g u r a t i o n   C o n t r o l s   h o w   t h e   w e b h o o k   s h o u l d   c o m m u n i c a t e   w i t h   t h e   s e r v e r .   V a l i d   v a l u e s :   K u b e C o n f i g F i l e :   u s e   t h e   f i l e   s p e c i f i e d   i n   k u b e C o n f i g F i l e   t o   l o c a t e   t h e   s e r v e r . I n C l u s t e r C o n f i g :   u s e   t h e   i n - c l u s t e r   c o n f i g u r a t i o n   t o   c a l l   t h e   S u b j e c t A c c e s s R e v i e w   A P I   h o s t e d   b y   k u b e - a p i s e r v e r .   T h i s   m o d e   i s   n o t   a l l o w e d   f o r   k u b e - a p i s e r v e r .   P a t h   t o   K u b e C o n f i g F i l e   f o r   c o n n e c t i o n   i n f o   R e q u i r e d ,   i f   c o n n e c t i o n I n f o . T y p e   i s   K u b e C o n f i g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27372"
  },
  {
    "question": "What is WebhookMatchCondition?",
    "answer": "A p p e a r s   i n :   W e b h o o k C o n f i g u r a t i o n   e x p r e s s i o n   r e p r e s e n t s   t h e   e x p r e s s i o n   w h i c h   w i l l   b e   e v a l u a t e d   b y   C E L .   M u s t   e v a l u a t e   t o   b o o l .   C E L   e x p r e s s i o n s   h a v e   a c c e s s   t o   t h e   c o n t e n t s   o f   t h e   S u b j e c t A c c e s s R e v i e w   i n   v 1   v e r s i o n .   I f   v e r s i o n   s p e c i f i e d   b y   s u b j e c t A c c e s s R e v i e w V e r s i o n   i n   t h e   r e q u e s t   v a r i a b l e   i s   v 1 b e t a 1 ,   t h e   c o n t e n t s   w o u l d   b e   c o n v e r t e d   t o   t h e   v 1   v e r s i o n   b e f o r e   e v a l u a t i n g   t h e   C E L   e x p r e s s i o n .   ' r e s o u r c e A t t r i b u t e s '   d e s c r i b e s   i n f o r m a t i o n   f o r   a   r e s o u r c e   a c c e s s   r e q u e s t   a n d   i s   u n s e t   f o r   n o n - r e s o u r c e   r e q u e s t s .   e . g .   h a s ( r e q u e s t . r e s o u r c e A t t r i b u t e s )   & &   r e q u e s t . r e s o u r c e A t t r i b u t e s . n a m e s p a c e   = =   ' d e f a u l t ' ' n o n R e s o u r c e A t t r i b u t e s '   d e s c r i b e s   i n f o r m a t i o n   f o r   a   n o n - r e s o u r c e   a c c e s s   r e q u e s t   a n d   i s   u n s e t   f o r   r e s o u r c e   r e q u e s t s .   e . g .   h a s ( r e q u e s t . n o n R e s o u r c e A t t r i b u t e s )   & &   r e q u e s t . n o n R e s o u r c e A t t r i b u t e s . p a t h   = =   ' / h e a l t h z ' . ' u s e r '   i s   t h e   u s e r   t o   t e s t   f o r .   e . g .   r e q u e s t . u s e r   = =   ' a l i c e ' ' g r o u p s '   i s   t h e   g r o u p s   t o   t e s t   f o r .   e . g .   ( ' g r o u p 1 '   i n   r e q u e s t . g r o u p s ) ' e x t r a '   c o r r e s p o n d s   t o   t h e   u s e r . I n f o . G e t E x t r a ( )   m e t h o d   f r o m   t h e   a u t h e n t i c a t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27373"
  },
  {
    "question": "What is Resource Types?",
    "answer": "C l o u d C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n L e a d e r M i g r a t i o n C o n f i g u r a t i o n K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27374"
  },
  {
    "question": "What is ClientConnectionConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e S c h e d u l e r C o n f i g u r a t i o n G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   K u b e S c h e d u l e r C o n f i g u r a t i o n   G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   C l i e n t C o n n e c t i o n C o n f i g u r a t i o n   c o n t a i n s   d e t a i l s   f o r   c o n s t r u c t i n g   a   c l i e n t .   k u b e c o n f i g   i s   t h e   p a t h   t o   a   K u b e C o n f i g   f i l e .   a c c e p t C o n t e n t T y p e s   d e f i n e s   t h e   A c c e p t   h e a d e r   s e n t   b y   c l i e n t s   w h e n   c o n n e c t i n g   t o   a   s e r v e r ,   o v e r r i d i n g   t h e   d e f a u l t   v a l u e   o f   ' a p p l i c a t i o n / j s o n ' .   T h i s   f i e l d   w i l l   c o n t r o l   a l l   c o n n e c t i o n s   t o   t h e   s e r v e r   u s e d   b y   a   p a r t i c u l a r   c l i e n t .   c o n t e n t T y p e   i s   t h e   c o n t e n t   t y p e   u s e d   w h e n   s e n d i n g   d a t a   t o   t h e   s e r v e r   f r o m   t h i s   c l i e n t .   q p s   c o n t r o l s   t h e   n u m b e r   o f   q u e r i e s   p e r   s e c o n d   a l l o w e d   f o r   t h i s   c o n n e c t i o n .   b u r s t   a l l o w s   e x t r a   q u e r i e s   t o   a c c u m u l a t e   w h e n   a   c l i e n t   i s   e x c e e d i n g   i t s   r a t e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27375"
  },
  {
    "question": "What is DebuggingConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e S c h e d u l e r C o n f i g u r a t i o n G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   K u b e S c h e d u l e r C o n f i g u r a t i o n   G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   D e b u g g i n g C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   D e b u g g i n g   r e l a t e d   f e a t u r e s .   e n a b l e P r o f i l i n g   e n a b l e s   p r o f i l i n g   v i a   w e b   i n t e r f a c e   h o s t : p o r t / d e b u g / p p r o f /   e n a b l e C o n t e n t i o n P r o f i l i n g   e n a b l e s   b l o c k   p r o f i l i n g ,   i f   e n a b l e P r o f i l i n g   i s   t r u e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27376"
  },
  {
    "question": "What is LeaderElectionConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e S c h e d u l e r C o n f i g u r a t i o n G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   K u b e S c h e d u l e r C o n f i g u r a t i o n   G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   L e a d e r E l e c t i o n C o n f i g u r a t i o n   d e f i n e s   t h e   c o n f i g u r a t i o n   o f   l e a d e r   e l e c t i o n   c l i e n t s   f o r   c o m p o n e n t s   t h a t   c a n   r u n   w i t h   l e a d e r   e l e c t i o n   e n a b l e d .   l e a d e r E l e c t   e n a b l e s   a   l e a d e r   e l e c t i o n   c l i e n t   t o   g a i n   l e a d e r s h i p   b e f o r e   e x e c u t i n g   t h e   m a i n   l o o p .   E n a b l e   t h i s   w h e n   r u n n i n g   r e p l i c a t e d   c o m p o n e n t s   f o r   h i g h   a v a i l a b i l i t y .   l e a s e D u r a t i o n   i s   t h e   d u r a t i o n   t h a t   n o n - l e a d e r   c a n d i d a t e s   w i l l   w a i t   a f t e r   o b s e r v i n g   a   l e a d e r s h i p   r e n e w a l   u n t i l   a t t e m p t i n g   t o   a c q u i r e   l e a d e r s h i p   o f   a   l e d   b u t   u n r e n e w e d   l e a d e r   s l o t .   T h i s   i s   e f f e c t i v e l y   t h e   m a x i m u m   d u r a t i o n   t h a t   a   l e a d e r   c a n   b e   s t o p p e d   b e f o r e   i t   i s   r e p l a c e d   b y   a n o t h e r   c a n d i d a t e .   T h i s   i s   o n l y   a p p l i c a b l e   i f   l e a d e r   e l e c t i o n   i s   e n a b l e d .   r e n e w D e a d l i n e   i s   t h e   i n t e r v a l   b e t w e e n   a t t e m p t s   b y   t h e   a c t i n g   m a s t e r   t o   r e n e w   a   l e a d e r s h i p   s l o t   b e f o r e   i t   s t o p s   l e a d i n g .   T h i s   m u s t   b e   l e s s   t h a n   o r   e q u a l   t o   t h e   l e a s e   d u r a t i o n .   T h i s   i s   o n l y   a p p l i c a b l e   i f   l e a d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27377"
  },
  {
    "question": "What is NodeControllerConfiguration?",
    "answer": "A p p e a r s   i n :   C l o u d C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   N o d e C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   N o d e C o n t r o l l e r .   C o n c u r r e n t N o d e S y n c s   i s   t h e   n u m b e r   o f   w o r k e r s   c o n c u r r e n t l y   s y n c h r o n i z i n g   n o d e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27378"
  },
  {
    "question": "What is ServiceControllerConfiguration?",
    "answer": "A p p e a r s   i n :   C l o u d C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   C l o u d C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   S e r v i c e C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   S e r v i c e C o n t r o l l e r .   c o n c u r r e n t S e r v i c e S y n c s   i s   t h e   n u m b e r   o f   s e r v i c e s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   m o r e   r e s p o n s i v e   s e r v i c e   m a n a g e m e n t ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27379"
  },
  {
    "question": "What is CloudControllerManagerConfiguration?",
    "answer": "C l o u d C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   c l o u d - c o n t r o l l e r   m a n a g e r .   G e n e r i c   h o l d s   c o n f i g u r a t i o n   f o r   a   g e n e r i c   c o n t r o l l e r - m a n a g e r   K u b e C l o u d S h a r e d C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   s h a r e d   r e l a t e d   f e a t u r e s   b o t h   i n   c l o u d   c o n t r o l l e r   m a n a g e r   a n d   k u b e - c o n t r o l l e r   m a n a g e r .   N o d e C o n t r o l l e r   h o l d s   c o n f i g u r a t i o n   f o r   n o d e   c o n t r o l l e r   r e l a t e d   f e a t u r e s .   S e r v i c e C o n t r o l l e r C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   S e r v i c e C o n t r o l l e r   r e l a t e d   f e a t u r e s .   N o d e S t a t u s U p d a t e F r e q u e n c y   i s   t h e   f r e q u e n c y   a t   w h i c h   t h e   c o n t r o l l e r   u p d a t e s   n o d e s '   s t a t u s   W e b h o o k   i s   t h e   c o n f i g u r a t i o n   f o r   c l o u d - c o n t r o l l e r - m a n a g e r   h o s t e d   w e b h o o k s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27380"
  },
  {
    "question": "What is CloudProviderConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C l o u d S h a r e d C o n f i g u r a t i o n   C l o u d P r o v i d e r C o n f i g u r a t i o n   c o n t a i n s   b a s i c a l l y   e l e m e n t s   a b o u t   c l o u d   p r o v i d e r .   N a m e   i s   t h e   p r o v i d e r   f o r   c l o u d   s e r v i c e s .   c l o u d C o n f i g F i l e   i s   t h e   p a t h   t o   t h e   c l o u d   p r o v i d e r   c o n f i g u r a t i o n   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27381"
  },
  {
    "question": "What is KubeCloudSharedConfiguration?",
    "answer": "A p p e a r s   i n :   C l o u d C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   C l o u d C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   K u b e C l o u d S h a r e d C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   s h a r e d   b y   b o t h   k u b e - c o n t r o l l e r   m a n a g e r   a n d   c l o u d - c o n t r o l l e r   m a n a g e r ,   b u t   n o t   g e n e r i c c o n f i g .   C l o u d P r o v i d e r C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   C l o u d P r o v i d e r   r e l a t e d   f e a t u r e s .   e x t e r n a l C l o u d V o l u m e P l u g i n   s p e c i f i e s   t h e   p l u g i n   t o   u s e   w h e n   c l o u d P r o v i d e r   i s   \" e x t e r n a l \" .   I t   i s   c u r r e n t l y   u s e d   b y   t h e   i n   r e p o   c l o u d   p r o v i d e r s   t o   h a n d l e   n o d e   a n d   v o l u m e   c o n t r o l   i n   t h e   K C M .   u s e S e r v i c e A c c o u n t C r e d e n t i a l s   i n d i c a t e s   w h e t h e r   c o n t r o l l e r s   s h o u l d   b e   r u n   w i t h   i n d i v i d u a l   s e r v i c e   a c c o u n t   c r e d e n t i a l s .   r u n   w i t h   u n t a g g e d   c l o u d   i n s t a n c e s   r o u t e R e c o n c i l i a t i o n P e r i o d   i s   t h e   p e r i o d   f o r   r e c o n c i l i n g   r o u t e s   c r e a t e d   f o r   N o d e s   b y   c l o u d   p r o v i d e r . .   n o d e M o n i t o r P e r i o d   i s   t h e   p e r i o d   f o r   s y n c i n g   N o d e S t a t u s   i n   N o d e C o n t r o l l e r .   c l u s t e r N a m e   i s   t h e   i n s t a n c e   p r e f i x   f o r   t h e   c l u s t e r .   c l u s t e r C I D R   i s   C I D R   R a n g e   f o r   P o d s   i n   c l u s t e r .   A l l o c a t e N o d e C ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27382"
  },
  {
    "question": "What is WebhookConfiguration?",
    "answer": "A p p e a r s   i n :   C l o u d C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   W e b h o o k C o n f i g u r a t i o n   c o n t a i n s   c o n f i g u r a t i o n   r e l a t e d   t o   c l o u d - c o n t r o l l e r - m a n a g e r   h o s t e d   w e b h o o k s   W e b h o o k s   i s   t h e   l i s t   o f   w e b h o o k s   t o   e n a b l e   o r   d i s a b l e   ' * '   m e a n s   \" a l l   e n a b l e d   b y   d e f a u l t   w e b h o o k s \"   ' f o o '   m e a n s   \" e n a b l e   ' f o o ' \"   ' - f o o '   m e a n s   \" d i s a b l e   ' f o o ' \"   f i r s t   i t e m   f o r   a   p a r t i c u l a r   n a m e   w i n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27383"
  },
  {
    "question": "What is LeaderMigrationConfiguration?",
    "answer": "A p p e a r s   i n :   G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   L e a d e r M i g r a t i o n C o n f i g u r a t i o n   p r o v i d e s   v e r s i o n e d   c o n f i g u r a t i o n   f o r   a l l   m i g r a t i n g   l e a d e r   l o c k s .   L e a d e r N a m e   i s   t h e   n a m e   o f   t h e   l e a d e r   e l e c t i o n   r e s o u r c e   t h a t   p r o t e c t s   t h e   m i g r a t i o n   E . g .   1 - 2 0 - K C M - t o - 1 - 2 1 - C C M   R e s o u r c e L o c k   i n d i c a t e s   t h e   r e s o u r c e   o b j e c t   t y p e   t h a t   w i l l   b e   u s e d   t o   l o c k   S h o u l d   b e   \" l e a s e s \"   o r   \" e n d p o i n t s \"   C o n t r o l l e r L e a d e r s   c o n t a i n s   a   l i s t   o f   m i g r a t i n g   l e a d e r   l o c k   c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27384"
  },
  {
    "question": "What is ControllerLeaderConfiguration?",
    "answer": "A p p e a r s   i n :   L e a d e r M i g r a t i o n C o n f i g u r a t i o n   C o n t r o l l e r L e a d e r C o n f i g u r a t i o n   p r o v i d e s   t h e   c o n f i g u r a t i o n   f o r   a   m i g r a t i n g   l e a d e r   l o c k .   N a m e   i s   t h e   n a m e   o f   t h e   c o n t r o l l e r   b e i n g   m i g r a t e d   E . g .   s e r v i c e - c o n t r o l l e r ,   r o u t e - c o n t r o l l e r ,   c l o u d - n o d e - c o n t r o l l e r ,   e t c   C o m p o n e n t   i s   t h e   n a m e   o f   t h e   c o m p o n e n t   i n   w h i c h   t h e   c o n t r o l l e r   s h o u l d   b e   r u n n i n g .   E . g .   k u b e - c o n t r o l l e r - m a n a g e r ,   c l o u d - c o n t r o l l e r - m a n a g e r ,   e t c   O r   ' * '   m e a n i n g   t h e   c o n t r o l l e r   c a n   b e   r u n   u n d e r   a n y   c o m p o n e n t   t h a t   p a r t i c i p a t e s   i n   t h e   m i g r a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27385"
  },
  {
    "question": "What is GenericControllerManagerConfiguration?",
    "answer": "A p p e a r s   i n :   C l o u d C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   C l o u d C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   a   g e n e r i c   c o n t r o l l e r - m a n a g e r .   p o r t   i s   t h e   p o r t   t h a t   t h e   c o n t r o l l e r - m a n a g e r ' s   h t t p   s e r v i c e   r u n s   o n .   a d d r e s s   i s   t h e   I P   a d d r e s s   t o   s e r v e   o n   ( s e t   t o   0 . 0 . 0 . 0   f o r   a l l   i n t e r f a c e s ) .   m i n R e s y n c P e r i o d   i s   t h e   r e s y n c   p e r i o d   i n   r e f l e c t o r s ;   w i l l   b e   r a n d o m   b e t w e e n   m i n R e s y n c P e r i o d   a n d   2 * m i n R e s y n c P e r i o d .   C l i e n t C o n n e c t i o n   s p e c i f i e s   t h e   k u b e c o n f i g   f i l e   a n d   c l i e n t   c o n n e c t i o n   s e t t i n g s   f o r   t h e   p r o x y   s e r v e r   t o   u s e   w h e n   c o m m u n i c a t i n g   w i t h   t h e   a p i s e r v e r .   H o w   l o n g   t o   w a i t   b e t w e e n   s t a r t i n g   c o n t r o l l e r   m a n a g e r s   l e a d e r E l e c t i o n   d e f i n e s   t h e   c o n f i g u r a t i o n   o f   l e a d e r   e l e c t i o n   c l i e n t .   C o n t r o l l e r s   i s   t h e   l i s t   o f   c o n t r o l l e r s   t o   e n a b l e   o r   d i s a b l e   ' * '   m e a n s   \" a l l   e n a b l e d   b y   d e f a u l t   c o n t r o l l e r s \"   ' f o o '   m e a n s   \" e n a b l e   ' f o o ' \"   ' - f o o '   m e a n s   \" d i s a b l e   ' f o o ' \"   f i r s t   i t e m   f o r   a   p a r t i c u l a r   n a m e   w i n s   D e b u g g i n g C o n f i g u r a t i o n   h o l d s   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27386"
  },
  {
    "question": "What is KubeControllerManagerConfiguration?",
    "answer": "K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   k u b e - c o n t r o l l e r   m a n a g e r .   G e n e r i c   h o l d s   c o n f i g u r a t i o n   f o r   a   g e n e r i c   c o n t r o l l e r - m a n a g e r   K u b e C l o u d S h a r e d C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   s h a r e d   r e l a t e d   f e a t u r e s   b o t h   i n   c l o u d   c o n t r o l l e r   m a n a g e r   a n d   k u b e - c o n t r o l l e r   m a n a g e r .   A t t a c h D e t a c h C o n t r o l l e r C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   A t t a c h D e t a c h C o n t r o l l e r   r e l a t e d   f e a t u r e s .   C S R S i g n i n g C o n t r o l l e r C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   C S R S i g n i n g C o n t r o l l e r   r e l a t e d   f e a t u r e s .   D a e m o n S e t C o n t r o l l e r C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   D a e m o n S e t C o n t r o l l e r   r e l a t e d   f e a t u r e s .   D e p l o y m e n t C o n t r o l l e r C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   D e p l o y m e n t C o n t r o l l e r   r e l a t e d   f e a t u r e s .   S t a t e f u l S e t C o n t r o l l e r C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   S t a t e f u l S e t C o n t r o l l e r   r e l a t e d   f e a t u r e s .   D e p r e c a t e d C o n t r o l l e r C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   s o m e   d e p r e c a t e d   f e a t u r e s .   E n d p o i n t C o n t r o l l e r C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   E n d p o i n t C o n t r o l l e r   r e l a t e d   f e a t u r e s .   E n d p o i n t S l i c e C o n t r o l l e r C o n f i g u r a t i o n   h o l d s   c o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27387"
  },
  {
    "question": "What is AttachDetachControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   A t t a c h D e t a c h C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   A t t a c h D e t a c h C o n t r o l l e r .   R e c o n c i l e r   r u n s   a   p e r i o d i c   l o o p   t o   r e c o n c i l e   t h e   d e s i r e d   s t a t e   o f   t h e   w i t h   t h e   a c t u a l   s t a t e   o f   t h e   w o r l d   b y   t r i g g e r i n g   a t t a c h   d e t a c h   o p e r a t i o n s .   T h i s   f l a g   e n a b l e s   o r   d i s a b l e s   r e c o n c i l e .   I s   f a l s e   b y   d e f a u l t ,   a n d   t h u s   e n a b l e d .   R e c o n c i l e r S y n c L o o p P e r i o d   i s   t h e   a m o u n t   o f   t i m e   t h e   r e c o n c i l e r   s y n c   s t a t e s   l o o p   w a i t   b e t w e e n   s u c c e s s i v e   e x e c u t i o n s .   I s   s e t   t o   6 0   s e c   b y   d e f a u l t .   D i s a b l e F o r c e D e t a c h O n T i m e o u t   d i s a b l e s   f o r c e   d e t a c h   w h e n   t h e   m a x i m u m   u n m o u n t   t i m e   i s   e x c e e d e d .   I s   f a l s e   b y   d e f a u l t ,   a n d   t h u s   f o r c e   d e t a c h   o n   u n m o u n t   i s   e n a b l e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27388"
  },
  {
    "question": "What is CSRSigningConfiguration?",
    "answer": "A p p e a r s   i n :   C S R S i g n i n g C o n t r o l l e r C o n f i g u r a t i o n   C S R S i g n i n g C o n f i g u r a t i o n   h o l d s   i n f o r m a t i o n   a b o u t   a   p a r t i c u l a r   C S R   s i g n e r   c e r t F i l e   i s   t h e   f i l e n a m e   c o n t a i n i n g   a   P E M - e n c o d e d   X 5 0 9   C A   c e r t i f i c a t e   u s e d   t o   i s s u e   c e r t i f i c a t e s   k e y F i l e   i s   t h e   f i l e n a m e   c o n t a i n i n g   a   P E M - e n c o d e d   R S A   o r   E C D S A   p r i v a t e   k e y   u s e d   t o   i s s u e   c e r t i f i c a t e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27389"
  },
  {
    "question": "What is CSRSigningControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   C S R S i g n i n g C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   C S R S i g n i n g C o n t r o l l e r .   c l u s t e r S i g n i n g C e r t F i l e   i s   t h e   f i l e n a m e   c o n t a i n i n g   a   P E M - e n c o d e d   X 5 0 9   C A   c e r t i f i c a t e   u s e d   t o   i s s u e   c l u s t e r - s c o p e d   c e r t i f i c a t e s   c l u s t e r S i g n i n g C e r t F i l e   i s   t h e   f i l e n a m e   c o n t a i n i n g   a   P E M - e n c o d e d   R S A   o r   E C D S A   p r i v a t e   k e y   u s e d   t o   i s s u e   c l u s t e r - s c o p e d   c e r t i f i c a t e s   k u b e l e t S e r v i n g S i g n e r C o n f i g u r a t i o n   h o l d s   t h e   c e r t i f i c a t e   a n d   k e y   u s e d   t o   i s s u e   c e r t i f i c a t e s   f o r   t h e   k u b e r n e t e s . i o / k u b e l e t - s e r v i n g   s i g n e r   k u b e l e t C l i e n t S i g n e r C o n f i g u r a t i o n   h o l d s   t h e   c e r t i f i c a t e   a n d   k e y   u s e d   t o   i s s u e   c e r t i f i c a t e s   f o r   t h e   k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t - k u b e l e t   k u b e A P I S e r v e r C l i e n t S i g n e r C o n f i g u r a t i o n   h o l d s   t h e   c e r t i f i c a t e   a n d   k e y   u s e d   t o   i s s u e   c e r t i f i c a t e s   f o r   t h e   k u b e r n e t e s . i o / k u b e - a p i s e r v e r - c l i e n t   l e g a c y U n k n o w n S i g n e r C o n f i g u r a t i o n   h o l d s   t h e   c e r t i f i c a t e   a n d   k e y   u s e d   t o   i s s u e   c e r t i f i c a t e s   f o r   t h e   k u b e r n e t e s . i o / l e g a c y - u n k n o w n   c l u s t e r S i g n i n g D u r a t i o n   i s   t h e   m a x   l e n g t h   o f   d u r a t i o n   s i g n e d   c e r t i f ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27390"
  },
  {
    "question": "What is CronJobControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   C r o n J o b C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   C r o n g J o b 2 C o n t r o l l e r .   c o n c u r r e n t C r o n J o b S y n c s   i s   t h e   n u m b e r   o f   j o b   o b j e c t s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   m o r e   r e s p o n s i v e   j o b s ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27391"
  },
  {
    "question": "What is DaemonSetControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   D a e m o n S e t C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   D a e m o n S e t C o n t r o l l e r .   c o n c u r r e n t D a e m o n S e t S y n c s   i s   t h e   n u m b e r   o f   d a e m o n s e t   o b j e c t s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   m o r e   r e s p o n s i v e   d a e m o n s e t ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27392"
  },
  {
    "question": "What is DeploymentControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   D e p l o y m e n t C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   D e p l o y m e n t C o n t r o l l e r .   c o n c u r r e n t D e p l o y m e n t S y n c s   i s   t h e   n u m b e r   o f   d e p l o y m e n t   o b j e c t s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   m o r e   r e s p o n s i v e   d e p l o y m e n t s ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27393"
  },
  {
    "question": "What is DeprecatedControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   D e p r e c a t e d C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   b e   d e p r e c a t e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27394"
  },
  {
    "question": "What is EndpointControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   E n d p o i n t C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   E n d p o i n t C o n t r o l l e r .   c o n c u r r e n t E n d p o i n t S y n c s   i s   t h e   n u m b e r   o f   e n d p o i n t   s y n c i n g   o p e r a t i o n s   t h a t   w i l l   b e   d o n e   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   f a s t e r   e n d p o i n t   u p d a t i n g ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .   E n d p o i n t U p d a t e s B a t c h P e r i o d   d e s c r i b e s   t h e   l e n g t h   o f   e n d p o i n t   u p d a t e s   b a t c h i n g   p e r i o d .   P r o c e s s i n g   o f   p o d   c h a n g e s   w i l l   b e   d e l a y e d   b y   t h i s   d u r a t i o n   t o   j o i n   t h e m   w i t h   p o t e n t i a l   u p c o m i n g   u p d a t e s   a n d   r e d u c e   t h e   o v e r a l l   n u m b e r   o f   e n d p o i n t s   u p d a t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27395"
  },
  {
    "question": "What is EndpointSliceControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   E n d p o i n t S l i c e C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   E n d p o i n t S l i c e C o n t r o l l e r .   c o n c u r r e n t S e r v i c e E n d p o i n t S y n c s   i s   t h e   n u m b e r   o f   s e r v i c e   e n d p o i n t   s y n c i n g   o p e r a t i o n s   t h a t   w i l l   b e   d o n e   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   f a s t e r   e n d p o i n t   s l i c e   u p d a t i n g ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .   m a x E n d p o i n t s P e r S l i c e   i s   t h e   m a x i m u m   n u m b e r   o f   e n d p o i n t s   t h a t   w i l l   b e   a d d e d   t o   a n   E n d p o i n t S l i c e .   M o r e   e n d p o i n t s   p e r   s l i c e   w i l l   r e s u l t   i n   f e w e r   a n d   l a r g e r   e n d p o i n t   s l i c e s ,   b u t   l a r g e r   r e s o u r c e s .   E n d p o i n t U p d a t e s B a t c h P e r i o d   d e s c r i b e s   t h e   l e n g t h   o f   e n d p o i n t   u p d a t e s   b a t c h i n g   p e r i o d .   P r o c e s s i n g   o f   p o d   c h a n g e s   w i l l   b e   d e l a y e d   b y   t h i s   d u r a t i o n   t o   j o i n   t h e m   w i t h   p o t e n t i a l   u p c o m i n g   u p d a t e s   a n d   r e d u c e   t h e   o v e r a l l   n u m b e r   o f   e n d p o i n t s   u p d a t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27396"
  },
  {
    "question": "What is EndpointSliceMirroringControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   E n d p o i n t S l i c e M i r r o r i n g C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   E n d p o i n t S l i c e M i r r o r i n g C o n t r o l l e r .   m i r r o r i n g C o n c u r r e n t S e r v i c e E n d p o i n t S y n c s   i s   t h e   n u m b e r   o f   s e r v i c e   e n d p o i n t   s y n c i n g   o p e r a t i o n s   t h a t   w i l l   b e   d o n e   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   f a s t e r   e n d p o i n t   s l i c e   u p d a t i n g ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .   m i r r o r i n g M a x E n d p o i n t s P e r S u b s e t   i s   t h e   m a x i m u m   n u m b e r   o f   e n d p o i n t s   t h a t   w i l l   b e   m i r r o r e d   t o   a n   E n d p o i n t S l i c e   f o r   a n   E n d p o i n t S u b s e t .   m i r r o r i n g E n d p o i n t U p d a t e s B a t c h P e r i o d   c a n   b e   u s e d   t o   b a t c h   E n d p o i n t S l i c e   u p d a t e s .   A l l   u p d a t e s   t r i g g e r e d   b y   E n d p o i n t S l i c e   c h a n g e s   w i l l   b e   d e l a y e d   b y   u p   t o   ' m i r r o r i n g E n d p o i n t U p d a t e s B a t c h P e r i o d ' .   I f   o t h e r   a d d r e s s e s   i n   t h e   s a m e   E n d p o i n t s   r e s o u r c e   c h a n g e   i n   t h a t   p e r i o d ,   t h e y   w i l l   b e   b a t c h e d   t o   a   s i n g l e   E n d p o i n t S l i c e   u p d a t e .   D e f a u l t   0   v a l u e   m e a n s   t h a t   e a c h   E n d p o i n t s   u p d a t e   t r i g g e r s   a n   E n d p o i n t S l i c e   u p d a t e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27397"
  },
  {
    "question": "What is EphemeralVolumeControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   E p h e m e r a l V o l u m e C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   E p h e m e r a l V o l u m e C o n t r o l l e r .   C o n c u r r e n t E p h e m e r a l V o l u m e S y n c s e S y n c s   i s   t h e   n u m b e r   o f   e p h e m e r a l   v o l u m e   s y n c i n g   o p e r a t i o n s   t h a t   w i l l   b e   d o n e   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   f a s t e r   e p h e m e r a l   v o l u m e   u p d a t i n g ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27398"
  },
  {
    "question": "What is GarbageCollectorControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   G a r b a g e C o l l e c t o r C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   G a r b a g e C o l l e c t o r C o n t r o l l e r .   e n a b l e s   t h e   g e n e r i c   g a r b a g e   c o l l e c t o r .   M U S T   b e   s y n c e d   w i t h   t h e   c o r r e s p o n d i n g   f l a g   o f   t h e   k u b e - a p i s e r v e r .   W A R N I N G :   t h e   g e n e r i c   g a r b a g e   c o l l e c t o r   i s   a n   a l p h a   f e a t u r e .   c o n c u r r e n t G C S y n c s   i s   t h e   n u m b e r   o f   g a r b a g e   c o l l e c t o r   w o r k e r s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .   g c I g n o r e d R e s o u r c e s   i s   t h e   l i s t   o f   G r o u p R e s o u r c e s   t h a t   g a r b a g e   c o l l e c t i o n   s h o u l d   i g n o r e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27399"
  },
  {
    "question": "What is GroupResource?",
    "answer": "A p p e a r s   i n :   G a r b a g e C o l l e c t o r C o n t r o l l e r C o n f i g u r a t i o n   G r o u p R e s o u r c e   d e s c r i b e s   a n   g r o u p   r e s o u r c e .   g r o u p   i s   t h e   g r o u p   p o r t i o n   o f   t h e   G r o u p R e s o u r c e .   r e s o u r c e   i s   t h e   r e s o u r c e   p o r t i o n   o f   t h e   G r o u p R e s o u r c e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27400"
  },
  {
    "question": "What is HPAControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   H P A C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   H P A C o n t r o l l e r .   C o n c u r r e n t H o r i z o n t a l P o d A u t o s c a l e r S y n c s   i s   t h e   n u m b e r   o f   H P A   o b j e c t s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   m o r e   r e s p o n s i v e   H P A   p r o c e s s i n g ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .   H o r i z o n t a l P o d A u t o s c a l e r S y n c P e r i o d   i s   t h e   p e r i o d   f o r   s y n c i n g   t h e   n u m b e r   o f   p o d s   i n   h o r i z o n t a l   p o d   a u t o s c a l e r .   H o r i z o n t a l P o d A u t o s c a l e r D o w n c a l e S t a b i l i z a t i o n W i n d o w   i s   a   p e r i o d   f o r   w h i c h   a u t o s c a l e r   w i l l   l o o k   b a c k w a r d s   a n d   n o t   s c a l e   d o w n   b e l o w   a n y   r e c o m m e n d a t i o n   i t   m a d e   d u r i n g   t h a t   p e r i o d .   H o r i z o n t a l P o d A u t o s c a l e r T o l e r a n c e   i s   t h e   t o l e r a n c e   f o r   w h e n   r e s o u r c e   u s a g e   s u g g e s t s   u p s c a l i n g / d o w n s c a l i n g   H o r i z o n t a l P o d A u t o s c a l e r C P U I n i t i a l i z a t i o n P e r i o d   i s   t h e   p e r i o d   a f t e r   p o d   s t a r t   w h e n   C P U   s a m p l e s   m i g h t   b e   s k i p p e d .   H o r i z o n t a l P o d A u t o s c a l e r I n i t i a l R e a d i n e s s D e l a y   i s   p e r i o d   a f t e r   p o d   s t a r t   d u r i n g   w h i c h   r e a d i n e s s   c h a n g e s   a r e   t r e a t e d   a s   r e a d i n e s s   b e i n g   s e t   f o r   t h e   f i r s t   t i m e .   T h e   o n l y   e f f e c t   o f   t h i s   i s   t h a t   H P A ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27401"
  },
  {
    "question": "What is JobControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   J o b C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   J o b C o n t r o l l e r .   c o n c u r r e n t J o b S y n c s   i s   t h e   n u m b e r   o f   j o b   o b j e c t s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   m o r e   r e s p o n s i v e   j o b s ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27402"
  },
  {
    "question": "What is LegacySATokenCleanerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   L e g a c y S A T o k e n C l e a n e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   L e g a c y S A T o k e n C l e a n e r   C l e a n U p P e r i o d   i s   t h e   p e r i o d   o f   t i m e   s i n c e   t h e   l a s t   u s a g e   o f   a n   a u t o - g e n e r a t e d   s e r v i c e   a c c o u n t   t o k e n   b e f o r e   i t   c a n   b e   d e l e t e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27403"
  },
  {
    "question": "What is NamespaceControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   N a m e s p a c e C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   N a m e s p a c e C o n t r o l l e r .   n a m e s p a c e S y n c P e r i o d   i s   t h e   p e r i o d   f o r   s y n c i n g   n a m e s p a c e   l i f e - c y c l e   u p d a t e s .   c o n c u r r e n t N a m e s p a c e S y n c s   i s   t h e   n u m b e r   o f   n a m e s p a c e   o b j e c t s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27404"
  },
  {
    "question": "What is NodeIPAMControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   N o d e I P A M C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   N o d e I p a m C o n t r o l l e r .   s e r v i c e C I D R   i s   C I D R   R a n g e   f o r   S e r v i c e s   i n   c l u s t e r .   s e c o n d a r y S e r v i c e C I D R   i s   C I D R   R a n g e   f o r   S e r v i c e s   i n   c l u s t e r .   T h i s   i s   u s e d   i n   d u a l   s t a c k   c l u s t e r s .   S e c o n d a r y S e r v i c e C I D R   m u s t   b e   o f   d i f f e r e n t   I P   f a m i l y   t h a n   S e r v i c e C I D R   N o d e C I D R M a s k S i z e   i s   t h e   m a s k   s i z e   f o r   n o d e   c i d r   i n   c l u s t e r .   N o d e C I D R M a s k S i z e I P v 4   i s   t h e   m a s k   s i z e   f o r   n o d e   c i d r   i n   d u a l - s t a c k   c l u s t e r .   N o d e C I D R M a s k S i z e I P v 6   i s   t h e   m a s k   s i z e   f o r   n o d e   c i d r   i n   d u a l - s t a c k   c l u s t e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27405"
  },
  {
    "question": "What is NodeLifecycleControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   N o d e L i f e c y c l e C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   N o d e L i f e c y c l e C o n t r o l l e r .   n o d e E v i c t i o n R a t e   i s   t h e   n u m b e r   o f   n o d e s   p e r   s e c o n d   o n   w h i c h   p o d s   a r e   d e l e t e d   i n   c a s e   o f   n o d e   f a i l u r e   w h e n   a   z o n e   i s   h e a l t h y   s e c o n d a r y N o d e E v i c t i o n R a t e   i s   t h e   n u m b e r   o f   n o d e s   p e r   s e c o n d   o n   w h i c h   p o d s   a r e   d e l e t e d   i n   c a s e   o f   n o d e   f a i l u r e   w h e n   a   z o n e   i s   u n h e a l t h y   n o d e S t a r t u p G r a c e P e r i o d   i s   t h e   a m o u n t   o f   t i m e   w h i c h   w e   a l l o w   s t a r t i n g   a   n o d e   t o   b e   u n r e s p o n s i v e   b e f o r e   m a r k i n g   i t   u n h e a l t h y .   n o d e M o n t i o r G r a c e P e r i o d   i s   t h e   a m o u n t   o f   t i m e   w h i c h   w e   a l l o w   a   r u n n i n g   n o d e   t o   b e   u n r e s p o n s i v e   b e f o r e   m a r k i n g   i t   u n h e a l t h y .   M u s t   b e   N   t i m e s   m o r e   t h a n   k u b e l e t ' s   n o d e S t a t u s U p d a t e F r e q u e n c y ,   w h e r e   N   m e a n s   n u m b e r   o f   r e t r i e s   a l l o w e d   f o r   k u b e l e t   t o   p o s t   n o d e   s t a t u s .   T h i s   v a l u e   s h o u l d   a l s o   b e   g r e a t e r   t h a n   t h e   s u m   o f   H T T P 2 _ P I N G _ T I M E O U T _ S E C O N D S   a n d   H T T P 2 _ R E A D _ I D L E _ T I M E O U T _ S E C O N D S .   p o d E v i c t i o n T i m e o u t   i s   t h e   g r a c e   p e r i o d   f o r   d e l e t i n g   p o d s   o n   f a i l e d   n o d e s .   s e c o n d a r y N o d e E v i c t i o n R a t e   i s   i m p ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27406"
  },
  {
    "question": "What is PersistentVolumeBinderControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   P e r s i s t e n t V o l u m e B i n d e r C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   P e r s i s t e n t V o l u m e B i n d e r C o n t r o l l e r .   p v C l a i m B i n d e r S y n c P e r i o d   i s   t h e   p e r i o d   f o r   s y n c i n g   p e r s i s t e n t   v o l u m e s   a n d   p e r s i s t e n t   v o l u m e   c l a i m s .   v o l u m e C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   v o l u m e   r e l a t e d   f e a t u r e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27407"
  },
  {
    "question": "What is PersistentVolumeRecyclerConfiguration?",
    "answer": "A p p e a r s   i n :   V o l u m e C o n f i g u r a t i o n   P e r s i s t e n t V o l u m e R e c y c l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   p e r s i s t e n t   v o l u m e   p l u g i n s .   m a x i m u m R e t r y   i s   n u m b e r   o f   r e t r i e s   t h e   P V   r e c y c l e r   w i l l   e x e c u t e   o n   f a i l u r e   t o   r e c y c l e   P V .   m i n i m u m T i m e o u t N F S   i s   t h e   m i n i m u m   A c t i v e D e a d l i n e S e c o n d s   t o   u s e   f o r   a n   N F S   R e c y c l e r   p o d .   p o d T e m p l a t e F i l e P a t h N F S   i s   t h e   f i l e   p a t h   t o   a   p o d   d e f i n i t i o n   u s e d   a s   a   t e m p l a t e   f o r   N F S   p e r s i s t e n t   v o l u m e   r e c y c l i n g   i n c r e m e n t T i m e o u t N F S   i s   t h e   i n c r e m e n t   o f   t i m e   a d d e d   p e r   G i   t o   A c t i v e D e a d l i n e S e c o n d s   f o r   a n   N F S   s c r u b b e r   p o d .   p o d T e m p l a t e F i l e P a t h H o s t P a t h   i s   t h e   f i l e   p a t h   t o   a   p o d   d e f i n i t i o n   u s e d   a s   a   t e m p l a t e   f o r   H o s t P a t h   p e r s i s t e n t   v o l u m e   r e c y c l i n g .   T h i s   i s   f o r   d e v e l o p m e n t   a n d   t e s t i n g   o n l y   a n d   w i l l   n o t   w o r k   i n   a   m u l t i - n o d e   c l u s t e r .   m i n i m u m T i m e o u t H o s t P a t h   i s   t h e   m i n i m u m   A c t i v e D e a d l i n e S e c o n d s   t o   u s e   f o r   a   H o s t P a t h   R e c y c l e r   p o d .   T h i s   i s   f o r   d e v e l o p m e n t   a n d   t e s t i n g   o n l y   a n d   w i l l   n o t   w o r k   i n   a   m u l t i - n o d e   c l u s t e r .   i n c r e m e n t T i m e o u t H o s t P a t h   i s   t h e   i n c r e m e n t   o f   t i m e   a d d e d   p e r   G i   t o   A c t i v e D e a d l i n e S e c o n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27408"
  },
  {
    "question": "What is PodGCControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   P o d G C C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   P o d G C C o n t r o l l e r .   t e r m i n a t e d P o d G C T h r e s h o l d   i s   t h e   n u m b e r   o f   t e r m i n a t e d   p o d s   t h a t   c a n   e x i s t   b e f o r e   t h e   t e r m i n a t e d   p o d   g a r b a g e   c o l l e c t o r   s t a r t s   d e l e t i n g   t e r m i n a t e d   p o d s .   I f   < =   0 ,   t h e   t e r m i n a t e d   p o d   g a r b a g e   c o l l e c t o r   i s   d i s a b l e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27409"
  },
  {
    "question": "What is ReplicaSetControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   R e p l i c a S e t C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   R e p l i c a S e t C o n t r o l l e r .   c o n c u r r e n t R S S y n c s   i s   t h e   n u m b e r   o f   r e p l i c a   s e t s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   m o r e   r e s p o n s i v e   r e p l i c a   m a n a g e m e n t ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27410"
  },
  {
    "question": "What is ReplicationControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   R e p l i c a t i o n C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   R e p l i c a t i o n C o n t r o l l e r .   c o n c u r r e n t R C S y n c s   i s   t h e   n u m b e r   o f   r e p l i c a t i o n   c o n t r o l l e r s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   m o r e   r e s p o n s i v e   r e p l i c a   m a n a g e m e n t ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27411"
  },
  {
    "question": "What is ResourceQuotaControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   R e s o u r c e Q u o t a C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   R e s o u r c e Q u o t a C o n t r o l l e r .   r e s o u r c e Q u o t a S y n c P e r i o d   i s   t h e   p e r i o d   f o r   s y n c i n g   q u o t a   u s a g e   s t a t u s   i n   t h e   s y s t e m .   c o n c u r r e n t R e s o u r c e Q u o t a S y n c s   i s   t h e   n u m b e r   o f   r e s o u r c e   q u o t a s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   m o r e   r e s p o n s i v e   q u o t a   m a n a g e m e n t ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27412"
  },
  {
    "question": "What is SAControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   S A C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   S e r v i c e A c c o u n t C o n t r o l l e r .   s e r v i c e A c c o u n t K e y F i l e   i s   t h e   f i l e n a m e   c o n t a i n i n g   a   P E M - e n c o d e d   p r i v a t e   R S A   k e y   u s e d   t o   s i g n   s e r v i c e   a c c o u n t   t o k e n s .   c o n c u r r e n t S A T o k e n S y n c s   i s   t h e   n u m b e r   o f   s e r v i c e   a c c o u n t   t o k e n   s y n c i n g   o p e r a t i o n s   t h a t   w i l l   b e   d o n e   c o n c u r r e n t l y .   r o o t C A F i l e   i s   t h e   r o o t   c e r t i f i c a t e   a u t h o r i t y   w i l l   b e   i n c l u d e d   i n   s e r v i c e   a c c o u n t ' s   t o k e n   s e c r e t .   T h i s   m u s t   b e   a   v a l i d   P E M - e n c o d e d   C A   b u n d l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27413"
  },
  {
    "question": "What is StatefulSetControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   S t a t e f u l S e t C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   S t a t e f u l S e t C o n t r o l l e r .   c o n c u r r e n t S t a t e f u l S e t S y n c s   i s   t h e   n u m b e r   o f   s t a t e f u l s e t   o b j e c t s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   m o r e   r e s p o n s i v e   s t a t e f u l s e t s ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27414"
  },
  {
    "question": "What is TTLAfterFinishedControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   T T L A f t e r F i n i s h e d C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   T T L A f t e r F i n i s h e d C o n t r o l l e r .   c o n c u r r e n t T T L S y n c s   i s   t h e   n u m b e r   o f   T T L - a f t e r - f i n i s h e d   c o l l e c t o r   w o r k e r s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27415"
  },
  {
    "question": "What is ValidatingAdmissionPolicyStatusControllerConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   V a l i d a t i n g A d m i s s i o n P o l i c y S t a t u s C o n t r o l l e r C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   V a l i d a t i n g A d m i s s i o n P o l i c y S t a t u s C o n t r o l l e r .   C o n c u r r e n t P o l i c y S y n c s   i s   t h e   n u m b e r   o f   p o l i c y   o b j e c t s   t h a t   a r e   a l l o w e d   t o   s y n c   c o n c u r r e n t l y .   L a r g e r   n u m b e r   =   q u i c k e r   t y p e   c h e c k i n g ,   b u t   m o r e   C P U   ( a n d   n e t w o r k )   l o a d .   T h e   d e f a u l t   v a l u e   i s   5 .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27416"
  },
  {
    "question": "What is VolumeConfiguration?",
    "answer": "A p p e a r s   i n :   P e r s i s t e n t V o l u m e B i n d e r C o n t r o l l e r C o n f i g u r a t i o n   V o l u m e C o n f i g u r a t i o n   c o n t a i n s   a l l   e n u m e r a t e d   f l a g s   m e a n t   t o   c o n f i g u r e   a l l   v o l u m e   p l u g i n s .   F r o m   t h i s   c o n f i g ,   t h e   c o n t r o l l e r - m a n a g e r   b i n a r y   w i l l   c r e a t e   m a n y   i n s t a n c e s   o f   v o l u m e . V o l u m e C o n f i g ,   e a c h   c o n t a i n i n g   o n l y   t h e   c o n f i g u r a t i o n   n e e d e d   f o r   t h a t   p l u g i n   w h i c h   a r e   t h e n   p a s s e d   t o   t h e   a p p r o p r i a t e   p l u g i n .   T h e   C o n t r o l l e r M a n a g e r   b i n a r y   i s   t h e   o n l y   p a r t   o f   t h e   c o d e   w h i c h   k n o w s   w h a t   p l u g i n s   a r e   s u p p o r t e d   a n d   w h i c h   f l a g s   c o r r e s p o n d   t o   e a c h   p l u g i n .   e n a b l e H o s t P a t h P r o v i s i o n i n g   e n a b l e s   H o s t P a t h   P V   p r o v i s i o n i n g   w h e n   r u n n i n g   w i t h o u t   a   c l o u d   p r o v i d e r .   T h i s   a l l o w s   t e s t i n g   a n d   d e v e l o p m e n t   o f   p r o v i s i o n i n g   f e a t u r e s .   H o s t P a t h   p r o v i s i o n i n g   i s   n o t   s u p p o r t e d   i n   a n y   w a y ,   w o n ' t   w o r k   i n   a   m u l t i - n o d e   c l u s t e r ,   a n d   s h o u l d   n o t   b e   u s e d   f o r   a n y t h i n g   o t h e r   t h a n   t e s t i n g   o r   d e v e l o p m e n t .   e n a b l e D y n a m i c P r o v i s i o n i n g   e n a b l e s   t h e   p r o v i s i o n i n g   o f   v o l u m e s   w h e n   r u n n i n g   w i t h i n   a n   e n v i r o n m e n t   t h a t   s u p p o r t s   d y n a m i c   p r o v i s i o n i n g .   D e f a u l t s   t o   t r u e .   p e r s i s t e n t V o l u m e R e c y c l e r C o n f i g u r a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27417"
  },
  {
    "question": "What is Resource Types?",
    "answer": "K u b e P r o x y C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27418"
  },
  {
    "question": "What is FormatOptions?",
    "answer": "A p p e a r s   i n :   L o g g i n g C o n f i g u r a t i o n   F o r m a t O p t i o n s   c o n t a i n s   o p t i o n s   f o r   t h e   d i f f e r e n t   l o g g i n g   f o r m a t s .   [ A l p h a ]   T e x t   c o n t a i n s   o p t i o n s   f o r   l o g g i n g   f o r m a t   \" t e x t \" .   O n l y   a v a i l a b l e   w h e n   t h e   L o g g i n g A l p h a O p t i o n s   f e a t u r e   g a t e   i s   e n a b l e d .   [ A l p h a ]   J S O N   c o n t a i n s   o p t i o n s   f o r   l o g g i n g   f o r m a t   \" j s o n \" .   O n l y   a v a i l a b l e   w h e n   t h e   L o g g i n g A l p h a O p t i o n s   f e a t u r e   g a t e   i s   e n a b l e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27419"
  },
  {
    "question": "What is JSONOptions?",
    "answer": "A p p e a r s   i n :   F o r m a t O p t i o n s   J S O N O p t i o n s   c o n t a i n s   o p t i o n s   f o r   l o g g i n g   f o r m a t   \" j s o n \" .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27420"
  },
  {
    "question": "What is LogFormatFactory?",
    "answer": "L o g F o r m a t F a c t o r y   p r o v i d e s   s u p p o r t   f o r   a   c e r t a i n   a d d i t i o n a l ,   n o n - d e f a u l t   l o g   f o r m a t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27421"
  },
  {
    "question": "What is LoggingConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e P r o x y C o n f i g u r a t i o n K u b e l e t C o n f i g u r a t i o n   K u b e P r o x y C o n f i g u r a t i o n   K u b e l e t C o n f i g u r a t i o n   L o g g i n g C o n f i g u r a t i o n   c o n t a i n s   l o g g i n g   o p t i o n s .   F o r m a t   F l a g   s p e c i f i e s   t h e   s t r u c t u r e   o f   l o g   m e s s a g e s .   d e f a u l t   v a l u e   o f   f o r m a t   i s   t e x t   M a x i m u m   t i m e   b e t w e e n   l o g   f l u s h e s .   I f   a   s t r i n g ,   p a r s e d   a s   a   d u r a t i o n   ( i . e .   \" 1 s \" )   I f   a n   i n t ,   t h e   m a x i m u m   n u m b e r   o f   n a n o s e c o n d s   ( i . e .   1 s   =   1 0 0 0 0 0 0 0 0 0 ) .   I g n o r e d   i f   t h e   s e l e c t e d   l o g g i n g   b a c k e n d   w r i t e s   l o g   m e s s a g e s   w i t h o u t   b u f f e r i n g .   V e r b o s i t y   i s   t h e   t h r e s h o l d   t h a t   d e t e r m i n e s   w h i c h   l o g   m e s s a g e s   a r e   l o g g e d .   D e f a u l t   i s   z e r o   w h i c h   l o g s   o n l y   t h e   m o s t   i m p o r t a n t   m e s s a g e s .   H i g h e r   v a l u e s   e n a b l e   a d d i t i o n a l   m e s s a g e s .   E r r o r   m e s s a g e s   a r e   a l w a y s   l o g g e d .   V M o d u l e   o v e r r i d e s   t h e   v e r b o s i t y   t h r e s h o l d   f o r   i n d i v i d u a l   f i l e s .   O n l y   s u p p o r t e d   f o r   \" t e x t \"   l o g   f o r m a t .   [ A l p h a ]   O p t i o n s   h o l d s   a d d i t i o n a l   p a r a m e t e r s   t h a t   a r e   s p e c i f i c   t o   t h e   d i f f e r e n t   l o g g i n g   f o r m a t s .   O n l y   t h e   o p t i o n s   f o r   t h e   s e l e c t e d   f o r m a t   g e t   u s e d ,   b u t   a l l   o f   t h e m   g e t   v a l i d a t e d .   O n l y   a v a i l a b l e   w h e n   t h e   L o g g i n g A l p h a O p t i o n s   f e a t u r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27422"
  },
  {
    "question": "What is LoggingOptions?",
    "answer": "L o g g i n g O p t i o n s   c a n   b e   u s e d   w i t h   V a l i d a t e A n d A p p l y W i t h O p t i o n s   t o   o v e r r i d e   c e r t a i n   g l o b a l   d e f a u l t s .   E r r o r S t r e a m   c a n   b e   u s e d   t o   o v e r r i d e   t h e   o s . S t d e r r   d e f a u l t .   I n f o S t r e a m   c a n   b e   u s e d   t o   o v e r r i d e   t h e   o s . S t d o u t   d e f a u l t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27423"
  },
  {
    "question": "What is OutputRoutingOptions?",
    "answer": "A p p e a r s   i n :   J S O N O p t i o n s T e x t O p t i o n s   J S O N O p t i o n s   T e x t O p t i o n s   O u t p u t R o u t i n g O p t i o n s   c o n t a i n s   o p t i o n s   t h a t   a r e   s u p p o r t e d   b y   b o t h   \" t e x t \"   a n d   \" j s o n \" .   [ A l p h a ]   S p l i t S t r e a m   r e d i r e c t s   e r r o r   m e s s a g e s   t o   s t d e r r   w h i l e   i n f o   m e s s a g e s   g o   t o   s t d o u t ,   w i t h   b u f f e r i n g .   T h e   d e f a u l t   i s   t o   w r i t e   b o t h   t o   s t d o u t ,   w i t h o u t   b u f f e r i n g .   O n l y   a v a i l a b l e   w h e n   t h e   L o g g i n g A l p h a O p t i o n s   f e a t u r e   g a t e   i s   e n a b l e d .   [ A l p h a ]   I n f o B u f f e r S i z e   s e t s   t h e   s i z e   o f   t h e   i n f o   s t r e a m   w h e n   u s i n g   s p l i t   s t r e a m s .   T h e   d e f a u l t   i s   z e r o ,   w h i c h   d i s a b l e s   b u f f e r i n g .   O n l y   a v a i l a b l e   w h e n   t h e   L o g g i n g A l p h a O p t i o n s   f e a t u r e   g a t e   i s   e n a b l e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27424"
  },
  {
    "question": "What is TextOptions?",
    "answer": "A p p e a r s   i n :   F o r m a t O p t i o n s   T e x t O p t i o n s   c o n t a i n s   o p t i o n s   f o r   l o g g i n g   f o r m a t   \" t e x t \" .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27425"
  },
  {
    "question": "What is TimeOrMetaDuration?",
    "answer": "A p p e a r s   i n :   L o g g i n g C o n f i g u r a t i o n   T i m e O r M e t a D u r a t i o n   i s   p r e s e n t   o n l y   f o r   b a c k w a r d s   c o m p a t i b i l i t y   f o r   t h e   f l u s h F r e q u e n c y   f i e l d ,   a n d   n e w   f i e l d s   s h o u l d   u s e   m e t a v 1 . D u r a t i o n .   D u r a t i o n   h o l d s   t h e   d u r a t i o n   S e r i a l i z e A s S t r i n g   c o n t r o l s   w h e t h e r   t h e   v a l u e   i s   s e r i a l i z e d   a s   a   s t r i n g   o r   a n   i n t e g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27426"
  },
  {
    "question": "What is VModuleConfiguration?",
    "answer": "( A l i a s   o f   [ ] k 8 s . i o / c o m p o n e n t - b a s e / l o g s / a p i / v 1 . V M o d u l e I t e m )   A p p e a r s   i n :   L o g g i n g C o n f i g u r a t i o n   V M o d u l e C o n f i g u r a t i o n   i s   a   c o l l e c t i o n   o f   i n d i v i d u a l   f i l e   n a m e s   o r   p a t t e r n s   a n d   t h e   c o r r e s p o n d i n g   v e r b o s i t y   t h r e s h o l d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27427"
  },
  {
    "question": "What is VerbosityLevel?",
    "answer": "( A l i a s   o f   u i n t 3 2 )   A p p e a r s   i n :   L o g g i n g C o n f i g u r a t i o n   V e r b o s i t y L e v e l   r e p r e s e n t s   a   k l o g   o r   l o g r   v e r b o s i t y   t h r e s h o l d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27428"
  },
  {
    "question": "What is ClientConnectionConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e P r o x y C o n f i g u r a t i o n K u b e S c h e d u l e r C o n f i g u r a t i o n G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   K u b e P r o x y C o n f i g u r a t i o n   K u b e S c h e d u l e r C o n f i g u r a t i o n   G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   C l i e n t C o n n e c t i o n C o n f i g u r a t i o n   c o n t a i n s   d e t a i l s   f o r   c o n s t r u c t i n g   a   c l i e n t .   k u b e c o n f i g   i s   t h e   p a t h   t o   a   K u b e C o n f i g   f i l e .   a c c e p t C o n t e n t T y p e s   d e f i n e s   t h e   A c c e p t   h e a d e r   s e n t   b y   c l i e n t s   w h e n   c o n n e c t i n g   t o   a   s e r v e r ,   o v e r r i d i n g   t h e   d e f a u l t   v a l u e   o f   ' a p p l i c a t i o n / j s o n ' .   T h i s   f i e l d   w i l l   c o n t r o l   a l l   c o n n e c t i o n s   t o   t h e   s e r v e r   u s e d   b y   a   p a r t i c u l a r   c l i e n t .   c o n t e n t T y p e   i s   t h e   c o n t e n t   t y p e   u s e d   w h e n   s e n d i n g   d a t a   t o   t h e   s e r v e r   f r o m   t h i s   c l i e n t .   q p s   c o n t r o l s   t h e   n u m b e r   o f   q u e r i e s   p e r   s e c o n d   a l l o w e d   f o r   t h i s   c o n n e c t i o n .   b u r s t   a l l o w s   e x t r a   q u e r i e s   t o   a c c u m u l a t e   w h e n   a   c l i e n t   i s   e x c e e d i n g   i t s   r a t e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27429"
  },
  {
    "question": "What is DebuggingConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e S c h e d u l e r C o n f i g u r a t i o n G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   K u b e S c h e d u l e r C o n f i g u r a t i o n   G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   D e b u g g i n g C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   D e b u g g i n g   r e l a t e d   f e a t u r e s .   e n a b l e P r o f i l i n g   e n a b l e s   p r o f i l i n g   v i a   w e b   i n t e r f a c e   h o s t : p o r t / d e b u g / p p r o f /   e n a b l e C o n t e n t i o n P r o f i l i n g   e n a b l e s   b l o c k   p r o f i l i n g ,   i f   e n a b l e P r o f i l i n g   i s   t r u e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27430"
  },
  {
    "question": "What is LeaderElectionConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e S c h e d u l e r C o n f i g u r a t i o n G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   K u b e S c h e d u l e r C o n f i g u r a t i o n   G e n e r i c C o n t r o l l e r M a n a g e r C o n f i g u r a t i o n   L e a d e r E l e c t i o n C o n f i g u r a t i o n   d e f i n e s   t h e   c o n f i g u r a t i o n   o f   l e a d e r   e l e c t i o n   c l i e n t s   f o r   c o m p o n e n t s   t h a t   c a n   r u n   w i t h   l e a d e r   e l e c t i o n   e n a b l e d .   l e a d e r E l e c t   e n a b l e s   a   l e a d e r   e l e c t i o n   c l i e n t   t o   g a i n   l e a d e r s h i p   b e f o r e   e x e c u t i n g   t h e   m a i n   l o o p .   E n a b l e   t h i s   w h e n   r u n n i n g   r e p l i c a t e d   c o m p o n e n t s   f o r   h i g h   a v a i l a b i l i t y .   l e a s e D u r a t i o n   i s   t h e   d u r a t i o n   t h a t   n o n - l e a d e r   c a n d i d a t e s   w i l l   w a i t   a f t e r   o b s e r v i n g   a   l e a d e r s h i p   r e n e w a l   u n t i l   a t t e m p t i n g   t o   a c q u i r e   l e a d e r s h i p   o f   a   l e d   b u t   u n r e n e w e d   l e a d e r   s l o t .   T h i s   i s   e f f e c t i v e l y   t h e   m a x i m u m   d u r a t i o n   t h a t   a   l e a d e r   c a n   b e   s t o p p e d   b e f o r e   i t   i s   r e p l a c e d   b y   a n o t h e r   c a n d i d a t e .   T h i s   i s   o n l y   a p p l i c a b l e   i f   l e a d e r   e l e c t i o n   i s   e n a b l e d .   r e n e w D e a d l i n e   i s   t h e   i n t e r v a l   b e t w e e n   a t t e m p t s   b y   t h e   a c t i n g   m a s t e r   t o   r e n e w   a   l e a d e r s h i p   s l o t   b e f o r e   i t   s t o p s   l e a d i n g .   T h i s   m u s t   b e   l e s s   t h a n   o r   e q u a l   t o   t h e   l e a s e   d u r a t i o n .   T h i s   i s   o n l y   a p p l i c a b l e   i f   l e a d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27431"
  },
  {
    "question": "What is KubeProxyConfiguration?",
    "answer": "K u b e P r o x y C o n f i g u r a t i o n   c o n t a i n s   e v e r y t h i n g   n e c e s s a r y   t o   c o n f i g u r e   t h e   K u b e r n e t e s   p r o x y   s e r v e r .   f e a t u r e G a t e s   i s   a   m a p   o f   f e a t u r e   n a m e s   t o   b o o l s   t h a t   e n a b l e   o r   d i s a b l e   a l p h a / e x p e r i m e n t a l   f e a t u r e s .   c l i e n t C o n n e c t i o n   s p e c i f i e s   t h e   k u b e c o n f i g   f i l e   a n d   c l i e n t   c o n n e c t i o n   s e t t i n g s   f o r   t h e   p r o x y   s e r v e r   t o   u s e   w h e n   c o m m u n i c a t i n g   w i t h   t h e   a p i s e r v e r .   l o g g i n g   s p e c i f i e s   t h e   o p t i o n s   o f   l o g g i n g .   R e f e r   t o   L o g s   O p t i o n s   f o r   m o r e   i n f o r m a t i o n .   h o s t n a m e O v e r r i d e ,   i f   n o n - e m p t y ,   w i l l   b e   u s e d   a s   t h e   n a m e   o f   t h e   N o d e   t h a t   k u b e - p r o x y   i s   r u n n i n g   o n .   I f   u n s e t ,   t h e   n o d e   n a m e   i s   a s s u m e d   t o   b e   t h e   s a m e   a s   t h e   n o d e ' s   h o s t n a m e .   b i n d A d d r e s s   c a n   b e   u s e d   t o   o v e r r i d e   k u b e - p r o x y ' s   i d e a   o f   w h a t   i t s   n o d e ' s   p r i m a r y   I P   i s .   N o t e   t h a t   t h e   n a m e   i s   a   h i s t o r i c a l   a r t i f a c t ,   a n d   k u b e - p r o x y   d o e s   n o t   a c t u a l l y   b i n d   a n y   s o c k e t s   t o   t h i s   I P .   h e a l t h z B i n d A d d r e s s   i s   t h e   I P   a d d r e s s   a n d   p o r t   f o r   t h e   h e a l t h   c h e c k   s e r v e r   t o   s e r v e   o n ,   d e f a u l t i n g   t o   \" 0 . 0 . 0 . 0 : 1 0 2 5 6 \"   ( i f   b i n d A d d r e s s   i s   u n s e t   o r   I P v 4 ) ,   o r   \" [ : : ] : 1 0 2 5 6 \"   ( i f   b i n d A d d r e s s   i s   I P v 6 ) .   m e t r i c s B i n d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27432"
  },
  {
    "question": "What is DetectLocalConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e P r o x y C o n f i g u r a t i o n   D e t e c t L o c a l C o n f i g u r a t i o n   c o n t a i n s   o p t i o n a l   s e t t i n g s   r e l a t e d   t o   D e t e c t L o c a l M o d e   o p t i o n   b r i d g e I n t e r f a c e   i s   a   b r i d g e   i n t e r f a c e   n a m e .   W h e n   D e t e c t L o c a l M o d e   i s   s e t   t o   L o c a l M o d e B r i d g e I n t e r f a c e ,   k u b e - p r o x y   w i l l   c o n s i d e r   t r a f f i c   t o   b e   l o c a l   i f   i t   o r i g i n a t e s   f r o m   t h i s   b r i d g e .   i n t e r f a c e N a m e P r e f i x   i s   a n   i n t e r f a c e   n a m e   p r e f i x .   W h e n   D e t e c t L o c a l M o d e   i s   s e t   t o   L o c a l M o d e I n t e r f a c e N a m e P r e f i x ,   k u b e - p r o x y   w i l l   c o n s i d e r   t r a f f i c   t o   b e   l o c a l   i f   i t   o r i g i n a t e s   f r o m   a n y   i n t e r f a c e   w h o s e   n a m e   b e g i n s   w i t h   t h i s   p r e f i x .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27433"
  },
  {
    "question": "What is KubeProxyConntrackConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e P r o x y C o n f i g u r a t i o n   K u b e P r o x y C o n n t r a c k C o n f i g u r a t i o n   c o n t a i n s   c o n n t r a c k   s e t t i n g s   f o r   t h e   K u b e r n e t e s   p r o x y   s e r v e r .   m a x P e r C o r e   i s   t h e   m a x i m u m   n u m b e r   o f   N A T   c o n n e c t i o n s   t o   t r a c k   p e r   C P U   c o r e   ( 0   t o   l e a v e   t h e   l i m i t   a s - i s   a n d   i g n o r e   m i n ) .   m i n   i s   t h e   m i n i m u m   v a l u e   o f   c o n n e c t - t r a c k i n g   r e c o r d s   t o   a l l o c a t e ,   r e g a r d l e s s   o f   m a x P e r C o r e   ( s e t   m a x P e r C o r e = 0   t o   l e a v e   t h e   l i m i t   a s - i s ) .   t c p E s t a b l i s h e d T i m e o u t   i s   h o w   l o n g   a n   i d l e   T C P   c o n n e c t i o n   w i l l   b e   k e p t   o p e n   ( e . g .   ' 2 s ' ) .   M u s t   b e   g r e a t e r   t h a n   0   t o   s e t .   t c p C l o s e W a i t T i m e o u t   i s   h o w   l o n g   a n   i d l e   c o n n t r a c k   e n t r y   i n   C L O S E _ W A I T   s t a t e   w i l l   r e m a i n   i n   t h e   c o n n t r a c k   t a b l e .   ( e . g .   ' 6 0 s ' ) .   M u s t   b e   g r e a t e r   t h a n   0   t o   s e t .   t c p B e L i b e r a l ,   i f   t r u e ,   k u b e - p r o x y   w i l l   c o n f i g u r e   c o n n t r a c k   t o   r u n   i n   l i b e r a l   m o d e   f o r   T C P   c o n n e c t i o n s   a n d   p a c k e t s   w i t h   o u t - o f - w i n d o w   s e q u e n c e   n u m b e r s   w o n ' t   b e   m a r k e d   I N V A L I D .   u d p T i m e o u t   i s   h o w   l o n g   a n   i d l e   U D P   c o n n t r a c k   e n t r y   i n   U N R E P L I E D   s t a t e   w i l l   r e m a i n   i n   t h e   c o n n t r a c k   t a b l e   ( e . g .   ' 3 0 s ' ) .   M u s t   b e   g r e a t e r   t h a n   0   t o   s e t .   u d p S t r e a m T i m e o u t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27434"
  },
  {
    "question": "What is KubeProxyIPTablesConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e P r o x y C o n f i g u r a t i o n   K u b e P r o x y I P T a b l e s C o n f i g u r a t i o n   c o n t a i n s   i p t a b l e s - r e l a t e d   c o n f i g u r a t i o n   d e t a i l s   f o r   t h e   K u b e r n e t e s   p r o x y   s e r v e r .   m a s q u e r a d e B i t   i s   t h e   b i t   o f   t h e   i p t a b l e s   f w m a r k   s p a c e   t o   u s e   f o r   S N A T   i f   u s i n g   t h e   i p t a b l e s   o r   i p v s   p r o x y   m o d e .   V a l u e s   m u s t   b e   w i t h i n   t h e   r a n g e   [ 0 ,   3 1 ] .   m a s q u e r a d e A l l   t e l l s   k u b e - p r o x y   t o   S N A T   a l l   t r a f f i c   s e n t   t o   S e r v i c e   c l u s t e r   I P s ,   w h e n   u s i n g   t h e   i p t a b l e s   o r   i p v s   p r o x y   m o d e .   T h i s   m a y   b e   r e q u i r e d   w i t h   s o m e   C N I   p l u g i n s .   l o c a l h o s t N o d e P o r t s ,   i f   f a l s e ,   t e l l s   k u b e - p r o x y   t o   d i s a b l e   t h e   l e g a c y   b e h a v i o r   o f   a l l o w i n g   N o d e P o r t   s e r v i c e s   t o   b e   a c c e s s e d   v i a   l o c a l h o s t .   ( A p p l i e s   o n l y   t o   i p t a b l e s   m o d e   a n d   I P v 4 ;   l o c a l h o s t   N o d e P o r t s   a r e   n e v e r   a l l o w e d   w i t h   o t h e r   p r o x y   m o d e s   o r   w i t h   I P v 6 . )   s y n c P e r i o d   i s   a n   i n t e r v a l   ( e . g .   ' 5 s ' ,   ' 1 m ' ,   ' 2 h 2 2 m ' )   i n d i c a t i n g   h o w   f r e q u e n t l y   v a r i o u s   r e - s y n c h r o n i z i n g   a n d   c l e a n u p   o p e r a t i o n s   a r e   p e r f o r m e d .   M u s t   b e   g r e a t e r   t h a n   0 .   m i n S y n c P e r i o d   i s   t h e   m i n i m u m   p e r i o d   b e t w e e n   i p t a b l e s   r u l e   r e s y n c s   ( e . g .   ' 5 s ' ,   ' 1 m ' ,   ' 2 h 2 2 m ' ) .   A   v a l u e   o f   0   m e a n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27435"
  },
  {
    "question": "What is KubeProxyIPVSConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e P r o x y C o n f i g u r a t i o n   K u b e P r o x y I P V S C o n f i g u r a t i o n   c o n t a i n s   i p v s - r e l a t e d   c o n f i g u r a t i o n   d e t a i l s   f o r   t h e   K u b e r n e t e s   p r o x y   s e r v e r .   s y n c P e r i o d   i s   a n   i n t e r v a l   ( e . g .   ' 5 s ' ,   ' 1 m ' ,   ' 2 h 2 2 m ' )   i n d i c a t i n g   h o w   f r e q u e n t l y   v a r i o u s   r e - s y n c h r o n i z i n g   a n d   c l e a n u p   o p e r a t i o n s   a r e   p e r f o r m e d .   M u s t   b e   g r e a t e r   t h a n   0 .   m i n S y n c P e r i o d   i s   t h e   m i n i m u m   p e r i o d   b e t w e e n   I P V S   r u l e   r e s y n c s   ( e . g .   ' 5 s ' ,   ' 1 m ' ,   ' 2 h 2 2 m ' ) .   A   v a l u e   o f   0   m e a n s   e v e r y   S e r v i c e   o r   E n d p o i n t S l i c e   c h a n g e   w i l l   r e s u l t   i n   a n   i m m e d i a t e   I P V S   r e s y n c .   s c h e d u l e r   i s   t h e   I P V S   s c h e d u l e r   t o   u s e   e x c l u d e C I D R s   i s   a   l i s t   o f   C I D R s   w h i c h   t h e   i p v s   p r o x i e r   s h o u l d   n o t   t o u c h   w h e n   c l e a n i n g   u p   i p v s   s e r v i c e s .   s t r i c t A R P   c o n f i g u r e s   a r p _ i g n o r e   a n d   a r p _ a n n o u n c e   t o   a v o i d   a n s w e r i n g   A R P   q u e r i e s   f r o m   k u b e - i p v s 0   i n t e r f a c e   t c p T i m e o u t   i s   t h e   t i m e o u t   v a l u e   u s e d   f o r   i d l e   I P V S   T C P   s e s s i o n s .   T h e   d e f a u l t   v a l u e   i s   0 ,   w h i c h   p r e s e r v e s   t h e   c u r r e n t   t i m e o u t   v a l u e   o n   t h e   s y s t e m .   t c p F i n T i m e o u t   i s   t h e   t i m e o u t   v a l u e   u s e d   f o r   I P V S   T C P   s e s s i o n s   a f t e r   r e c e i v i n g   a   F I N .   T h e   d e f a u l t   v a l u e   i s   0 ,   w h i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27436"
  },
  {
    "question": "What is KubeProxyNFTablesConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e P r o x y C o n f i g u r a t i o n   K u b e P r o x y N F T a b l e s C o n f i g u r a t i o n   c o n t a i n s   n f t a b l e s - r e l a t e d   c o n f i g u r a t i o n   d e t a i l s   f o r   t h e   K u b e r n e t e s   p r o x y   s e r v e r .   m a s q u e r a d e B i t   i s   t h e   b i t   o f   t h e   i p t a b l e s   f w m a r k   s p a c e   t o   u s e   f o r   S N A T   i f   u s i n g   t h e   n f t a b l e s   p r o x y   m o d e .   V a l u e s   m u s t   b e   w i t h i n   t h e   r a n g e   [ 0 ,   3 1 ] .   m a s q u e r a d e A l l   t e l l s   k u b e - p r o x y   t o   S N A T   a l l   t r a f f i c   s e n t   t o   S e r v i c e   c l u s t e r   I P s ,   w h e n   u s i n g   t h e   n f t a b l e s   m o d e .   T h i s   m a y   b e   r e q u i r e d   w i t h   s o m e   C N I   p l u g i n s .   s y n c P e r i o d   i s   a n   i n t e r v a l   ( e . g .   ' 5 s ' ,   ' 1 m ' ,   ' 2 h 2 2 m ' )   i n d i c a t i n g   h o w   f r e q u e n t l y   v a r i o u s   r e - s y n c h r o n i z i n g   a n d   c l e a n u p   o p e r a t i o n s   a r e   p e r f o r m e d .   M u s t   b e   g r e a t e r   t h a n   0 .   m i n S y n c P e r i o d   i s   t h e   m i n i m u m   p e r i o d   b e t w e e n   i p t a b l e s   r u l e   r e s y n c s   ( e . g .   ' 5 s ' ,   ' 1 m ' ,   ' 2 h 2 2 m ' ) .   A   v a l u e   o f   0   m e a n s   e v e r y   S e r v i c e   o r   E n d p o i n t S l i c e   c h a n g e   w i l l   r e s u l t   i n   a n   i m m e d i a t e   i p t a b l e s   r e s y n c .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27437"
  },
  {
    "question": "What is KubeProxyWinkernelConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e P r o x y C o n f i g u r a t i o n   K u b e P r o x y W i n k e r n e l C o n f i g u r a t i o n   c o n t a i n s   W i n d o w s / H N S   s e t t i n g s   f o r   t h e   K u b e r n e t e s   p r o x y   s e r v e r .   n e t w o r k N a m e   i s   t h e   n a m e   o f   t h e   n e t w o r k   k u b e - p r o x y   w i l l   u s e   t o   c r e a t e   e n d p o i n t s   a n d   p o l i c i e s   s o u r c e V i p   i s   t h e   I P   a d d r e s s   o f   t h e   s o u r c e   V I P   e n d p o i n t   u s e d   f o r   N A T   w h e n   l o a d b a l a n c i n g   e n a b l e D S R   t e l l s   k u b e - p r o x y   w h e t h e r   H N S   p o l i c i e s   s h o u l d   b e   c r e a t e d   w i t h   D S R   r o o t H n s E n d p o i n t N a m e   i s   t h e   n a m e   o f   h n s e n d p o i n t   t h a t   i s   a t t a c h e d   t o   l 2 b r i d g e   f o r   r o o t   n e t w o r k   n a m e s p a c e   f o r w a r d H e a l t h C h e c k V i p   f o r w a r d s   s e r v i c e   V I P   f o r   h e a l t h   c h e c k   p o r t   o n   W i n d o w s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27438"
  },
  {
    "question": "What is LocalMode?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   K u b e P r o x y C o n f i g u r a t i o n   L o c a l M o d e   r e p r e s e n t s   m o d e s   t o   d e t e c t   l o c a l   t r a f f i c   f r o m   t h e   n o d e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27439"
  },
  {
    "question": "What is ProxyMode?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   K u b e P r o x y C o n f i g u r a t i o n   P r o x y M o d e   r e p r e s e n t s   m o d e s   u s e d   b y   t h e   K u b e r n e t e s   p r o x y   s e r v e r .   T h r e e   m o d e s   o f   p r o x y   a r e   a v a i l a b l e   o n   L i n u x   p l a t f o r m s :   i p t a b l e s ,   i p v s ,   a n d   n f t a b l e s .   O n e   m o d e   o f   p r o x y   i s   a v a i l a b l e   o n   W i n d o w s   p l a t f o r m s :   k e r n e l s p a c e .   I f   t h e   p r o x y   m o d e   i s   u n s p e c i f i e d ,   a   d e f a u l t   p r o x y   m o d e   w i l l   b e   u s e d   ( c u r r e n t l y   t h i s   i s   i p t a b l e s   o n   L i n u x   a n d   k e r n e l s p a c e   o n   W i n d o w s ) .   I f   t h e   s e l e c t e d   p r o x y   m o d e   c a n n o t   b e   u s e d   ( d u e   t o   l a c k   o f   k e r n e l   s u p p o r t ,   m i s s i n g   u s e r s p a c e   c o m p o n e n t s ,   e t c )   t h e n   k u b e - p r o x y   w i l l   e x i t   w i t h   a n   e r r o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27440"
  },
  {
    "question": "What is Resource Types?",
    "answer": "D e f a u l t P r e e m p t i o n A r g s I n t e r P o d A f f i n i t y A r g s K u b e S c h e d u l e r C o n f i g u r a t i o n N o d e A f f i n i t y A r g s N o d e R e s o u r c e s B a l a n c e d A l l o c a t i o n A r g s N o d e R e s o u r c e s F i t A r g s P o d T o p o l o g y S p r e a d A r g s V o l u m e B i n d i n g A r g s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27441"
  },
  {
    "question": "What is ClientConnectionConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e S c h e d u l e r C o n f i g u r a t i o n   C l i e n t C o n n e c t i o n C o n f i g u r a t i o n   c o n t a i n s   d e t a i l s   f o r   c o n s t r u c t i n g   a   c l i e n t .   k u b e c o n f i g   i s   t h e   p a t h   t o   a   K u b e C o n f i g   f i l e .   a c c e p t C o n t e n t T y p e s   d e f i n e s   t h e   A c c e p t   h e a d e r   s e n t   b y   c l i e n t s   w h e n   c o n n e c t i n g   t o   a   s e r v e r ,   o v e r r i d i n g   t h e   d e f a u l t   v a l u e   o f   ' a p p l i c a t i o n / j s o n ' .   T h i s   f i e l d   w i l l   c o n t r o l   a l l   c o n n e c t i o n s   t o   t h e   s e r v e r   u s e d   b y   a   p a r t i c u l a r   c l i e n t .   c o n t e n t T y p e   i s   t h e   c o n t e n t   t y p e   u s e d   w h e n   s e n d i n g   d a t a   t o   t h e   s e r v e r   f r o m   t h i s   c l i e n t .   q p s   c o n t r o l s   t h e   n u m b e r   o f   q u e r i e s   p e r   s e c o n d   a l l o w e d   f o r   t h i s   c o n n e c t i o n .   b u r s t   a l l o w s   e x t r a   q u e r i e s   t o   a c c u m u l a t e   w h e n   a   c l i e n t   i s   e x c e e d i n g   i t s   r a t e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27442"
  },
  {
    "question": "What is DebuggingConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e S c h e d u l e r C o n f i g u r a t i o n   D e b u g g i n g C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   D e b u g g i n g   r e l a t e d   f e a t u r e s .   e n a b l e P r o f i l i n g   e n a b l e s   p r o f i l i n g   v i a   w e b   i n t e r f a c e   h o s t : p o r t / d e b u g / p p r o f /   e n a b l e C o n t e n t i o n P r o f i l i n g   e n a b l e s   b l o c k   p r o f i l i n g ,   i f   e n a b l e P r o f i l i n g   i s   t r u e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27443"
  },
  {
    "question": "What is LeaderElectionConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e S c h e d u l e r C o n f i g u r a t i o n   L e a d e r E l e c t i o n C o n f i g u r a t i o n   d e f i n e s   t h e   c o n f i g u r a t i o n   o f   l e a d e r   e l e c t i o n   c l i e n t s   f o r   c o m p o n e n t s   t h a t   c a n   r u n   w i t h   l e a d e r   e l e c t i o n   e n a b l e d .   l e a d e r E l e c t   e n a b l e s   a   l e a d e r   e l e c t i o n   c l i e n t   t o   g a i n   l e a d e r s h i p   b e f o r e   e x e c u t i n g   t h e   m a i n   l o o p .   E n a b l e   t h i s   w h e n   r u n n i n g   r e p l i c a t e d   c o m p o n e n t s   f o r   h i g h   a v a i l a b i l i t y .   l e a s e D u r a t i o n   i s   t h e   d u r a t i o n   t h a t   n o n - l e a d e r   c a n d i d a t e s   w i l l   w a i t   a f t e r   o b s e r v i n g   a   l e a d e r s h i p   r e n e w a l   u n t i l   a t t e m p t i n g   t o   a c q u i r e   l e a d e r s h i p   o f   a   l e d   b u t   u n r e n e w e d   l e a d e r   s l o t .   T h i s   i s   e f f e c t i v e l y   t h e   m a x i m u m   d u r a t i o n   t h a t   a   l e a d e r   c a n   b e   s t o p p e d   b e f o r e   i t   i s   r e p l a c e d   b y   a n o t h e r   c a n d i d a t e .   T h i s   i s   o n l y   a p p l i c a b l e   i f   l e a d e r   e l e c t i o n   i s   e n a b l e d .   r e n e w D e a d l i n e   i s   t h e   i n t e r v a l   b e t w e e n   a t t e m p t s   b y   t h e   a c t i n g   m a s t e r   t o   r e n e w   a   l e a d e r s h i p   s l o t   b e f o r e   i t   s t o p s   l e a d i n g .   T h i s   m u s t   b e   l e s s   t h a n   o r   e q u a l   t o   t h e   l e a s e   d u r a t i o n .   T h i s   i s   o n l y   a p p l i c a b l e   i f   l e a d e r   e l e c t i o n   i s   e n a b l e d .   r e t r y P e r i o d   i s   t h e   d u r a t i o n   t h e   c l i e n t s   s h o u l d   w a i t   b e t w e e n   a t t e m p t i n g   a c q u i s i ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27444"
  },
  {
    "question": "What is DefaultPreemptionArgs?",
    "answer": "D e f a u l t P r e e m p t i o n A r g s   h o l d s   a r g u m e n t s   u s e d   t o   c o n f i g u r e   t h e   D e f a u l t P r e e m p t i o n   p l u g i n .   M i n C a n d i d a t e N o d e s P e r c e n t a g e   i s   t h e   m i n i m u m   n u m b e r   o f   c a n d i d a t e s   t o   s h o r t l i s t   w h e n   d r y   r u n n i n g   p r e e m p t i o n   a s   a   p e r c e n t a g e   o f   n u m b e r   o f   n o d e s .   M u s t   b e   i n   t h e   r a n g e   [ 0 ,   1 0 0 ] .   D e f a u l t s   t o   1 0 %   o f   t h e   c l u s t e r   s i z e   i f   u n s p e c i f i e d .   M i n C a n d i d a t e N o d e s A b s o l u t e   i s   t h e   a b s o l u t e   m i n i m u m   n u m b e r   o f   c a n d i d a t e s   t o   s h o r t l i s t .   T h e   l i k e l y   n u m b e r   o f   c a n d i d a t e s   e n u m e r a t e d   f o r   d r y   r u n n i n g   p r e e m p t i o n   i s   g i v e n   b y   t h e   f o r m u l a :   n u m C a n d i d a t e s   =   m a x ( n u m N o d e s   *   m i n C a n d i d a t e N o d e s P e r c e n t a g e ,   m i n C a n d i d a t e N o d e s A b s o l u t e )   W e   s a y   \" l i k e l y \"   b e c a u s e   t h e r e   a r e   o t h e r   f a c t o r s   s u c h   a s   P D B   v i o l a t i o n s   t h a t   p l a y   a   r o l e   i n   t h e   n u m b e r   o f   c a n d i d a t e s   s h o r t l i s t e d .   M u s t   b e   a t   l e a s t   0   n o d e s .   D e f a u l t s   t o   1 0 0   n o d e s   i f   u n s p e c i f i e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27445"
  },
  {
    "question": "What is InterPodAffinityArgs?",
    "answer": "I n t e r P o d A f f i n i t y A r g s   h o l d s   a r g u m e n t s   u s e d   t o   c o n f i g u r e   t h e   I n t e r P o d A f f i n i t y   p l u g i n .   H a r d P o d A f f i n i t y W e i g h t   i s   t h e   s c o r i n g   w e i g h t   f o r   e x i s t i n g   p o d s   w i t h   a   m a t c h i n g   h a r d   a f f i n i t y   t o   t h e   i n c o m i n g   p o d .   I g n o r e P r e f e r r e d T e r m s O f E x i s t i n g P o d s   c o n f i g u r e s   t h e   s c h e d u l e r   t o   i g n o r e   e x i s t i n g   p o d s '   p r e f e r r e d   a f f i n i t y   r u l e s   w h e n   s c o r i n g   c a n d i d a t e   n o d e s ,   u n l e s s   t h e   i n c o m i n g   p o d   h a s   i n t e r - p o d   a f f i n i t i e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27446"
  },
  {
    "question": "What is KubeSchedulerConfiguration?",
    "answer": "K u b e S c h e d u l e r C o n f i g u r a t i o n   c o n f i g u r e s   a   s c h e d u l e r   P a r a l l e l i s m   d e f i n e s   t h e   a m o u n t   o f   p a r a l l e l i s m   i n   a l g o r i t h m s   f o r   s c h e d u l i n g   a   P o d s .   M u s t   b e   g r e a t e r   t h a n   0 .   D e f a u l t s   t o   1 6   L e a d e r E l e c t i o n   d e f i n e s   t h e   c o n f i g u r a t i o n   o f   l e a d e r   e l e c t i o n   c l i e n t .   C l i e n t C o n n e c t i o n   s p e c i f i e s   t h e   k u b e c o n f i g   f i l e   a n d   c l i e n t   c o n n e c t i o n   s e t t i n g s   f o r   t h e   p r o x y   s e r v e r   t o   u s e   w h e n   c o m m u n i c a t i n g   w i t h   t h e   a p i s e r v e r .   D e b u g g i n g C o n f i g u r a t i o n   h o l d s   c o n f i g u r a t i o n   f o r   D e b u g g i n g   r e l a t e d   f e a t u r e s   T O D O :   W e   m i g h t   w a n n a   m a k e   t h i s   a   s u b s t r u c t   l i k e   D e b u g g i n g   c o m p o n e n t b a s e c o n f i g v 1 a l p h a 1 . D e b u g g i n g C o n f i g u r a t i o n   P e r c e n t a g e O f N o d e s T o S c o r e   i s   t h e   p e r c e n t a g e   o f   a l l   n o d e s   t h a t   o n c e   f o u n d   f e a s i b l e   f o r   r u n n i n g   a   p o d ,   t h e   s c h e d u l e r   s t o p s   i t s   s e a r c h   f o r   m o r e   f e a s i b l e   n o d e s   i n   t h e   c l u s t e r .   T h i s   h e l p s   i m p r o v e   s c h e d u l e r ' s   p e r f o r m a n c e .   S c h e d u l e r   a l w a y s   t r i e s   t o   f i n d   a t   l e a s t   \" m i n F e a s i b l e N o d e s T o F i n d \"   f e a s i b l e   n o d e s   n o   m a t t e r   w h a t   t h e   v a l u e   o f   t h i s   f l a g   i s .   E x a m p l e :   i f   t h e   c l u s t e r   s i z e   i s   5 0 0   n o d e s   a n d   t h e   v a l u e   o f   t h i s   f l a g   i s   3 0 ,   t h e n   s c h e d u l e r   s t o p ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27447"
  },
  {
    "question": "What is NodeAffinityArgs?",
    "answer": "N o d e A f f i n i t y A r g s   h o l d s   a r g u m e n t s   t o   c o n f i g u r e   t h e   N o d e A f f i n i t y   p l u g i n .   A d d e d A f f i n i t y   i s   a p p l i e d   t o   a l l   P o d s   a d d i t i o n a l l y   t o   t h e   N o d e A f f i n i t y   s p e c i f i e d   i n   t h e   P o d S p e c .   T h a t   i s ,   N o d e s   n e e d   t o   s a t i s f y   A d d e d A f f i n i t y   A N D   . s p e c . N o d e A f f i n i t y .   A d d e d A f f i n i t y   i s   e m p t y   b y   d e f a u l t   ( a l l   N o d e s   m a t c h ) .   W h e n   A d d e d A f f i n i t y   i s   u s e d ,   s o m e   P o d s   w i t h   a f f i n i t y   r e q u i r e m e n t s   t h a t   m a t c h   a   s p e c i f i c   N o d e   ( s u c h   a s   D a e m o n s e t   P o d s )   m i g h t   r e m a i n   u n s c h e d u l a b l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27448"
  },
  {
    "question": "What is NodeResourcesBalancedAllocationArgs?",
    "answer": "N o d e R e s o u r c e s B a l a n c e d A l l o c a t i o n A r g s   h o l d s   a r g u m e n t s   u s e d   t o   c o n f i g u r e   N o d e R e s o u r c e s B a l a n c e d A l l o c a t i o n   p l u g i n .   R e s o u r c e s   t o   b e   m a n a g e d ,   t h e   d e f a u l t   i s   \" c p u \"   a n d   \" m e m o r y \"   i f   n o t   s p e c i f i e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27449"
  },
  {
    "question": "What is NodeResourcesFitArgs?",
    "answer": "N o d e R e s o u r c e s F i t A r g s   h o l d s   a r g u m e n t s   u s e d   t o   c o n f i g u r e   t h e   N o d e R e s o u r c e s F i t   p l u g i n .   I g n o r e d R e s o u r c e s   i s   t h e   l i s t   o f   r e s o u r c e s   t h a t   N o d e R e s o u r c e s   f i t   f i l t e r   s h o u l d   i g n o r e .   T h i s   d o e s n ' t   a p p l y   t o   s c o r i n g .   I g n o r e d R e s o u r c e G r o u p s   d e f i n e s   t h e   l i s t   o f   r e s o u r c e   g r o u p s   t h a t   N o d e R e s o u r c e s   f i t   f i l t e r   s h o u l d   i g n o r e .   e . g .   i f   g r o u p   i s   [ \" e x a m p l e . c o m \" ] ,   i t   w i l l   i g n o r e   a l l   r e s o u r c e   n a m e s   t h a t   b e g i n   w i t h   \" e x a m p l e . c o m \" ,   s u c h   a s   \" e x a m p l e . c o m / a a a \"   a n d   \" e x a m p l e . c o m / b b b \" .   A   r e s o u r c e   g r o u p   n a m e   c a n ' t   c o n t a i n   ' / ' .   T h i s   d o e s n ' t   a p p l y   t o   s c o r i n g .   S c o r i n g S t r a t e g y   s e l e c t s   t h e   n o d e   r e s o u r c e   s c o r i n g   s t r a t e g y .   T h e   d e f a u l t   s t r a t e g y   i s   L e a s t A l l o c a t e d   w i t h   a n   e q u a l   \" c p u \"   a n d   \" m e m o r y \"   w e i g h t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27450"
  },
  {
    "question": "What is PodTopologySpreadArgs?",
    "answer": "P o d T o p o l o g y S p r e a d A r g s   h o l d s   a r g u m e n t s   u s e d   t o   c o n f i g u r e   t h e   P o d T o p o l o g y S p r e a d   p l u g i n .   D e f a u l t C o n s t r a i n t s   d e f i n e s   t o p o l o g y   s p r e a d   c o n s t r a i n t s   t o   b e   a p p l i e d   t o   P o d s   t h a t   d o n ' t   d e f i n e   a n y   i n   p o d . s p e c . t o p o l o g y S p r e a d C o n s t r a i n t s .   . d e f a u l t C o n s t r a i n t s [ * ] . l a b e l S e l e c t o r s   m u s t   b e   e m p t y ,   a s   t h e y   a r e   d e d u c e d   f r o m   t h e   P o d ' s   m e m b e r s h i p   t o   S e r v i c e s ,   R e p l i c a t i o n C o n t r o l l e r s ,   R e p l i c a S e t s   o r   S t a t e f u l S e t s .   W h e n   n o t   e m p t y ,   . d e f a u l t i n g T y p e   m u s t   b e   \" L i s t \" .   D e f a u l t i n g T y p e   d e t e r m i n e s   h o w   . d e f a u l t C o n s t r a i n t s   a r e   d e d u c e d .   C a n   b e   o n e   o f   \" S y s t e m \"   o r   \" L i s t \" .   \" S y s t e m \" :   U s e   k u b e r n e t e s   d e f i n e d   c o n s t r a i n t s   t h a t   s p r e a d   P o d s   a m o n g   N o d e s   a n d   Z o n e s . \" L i s t \" :   U s e   c o n s t r a i n t s   d e f i n e d   i n   . d e f a u l t C o n s t r a i n t s .   D e f a u l t s   t o   \" S y s t e m \" .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27451"
  },
  {
    "question": "What is VolumeBindingArgs?",
    "answer": "V o l u m e B i n d i n g A r g s   h o l d s   a r g u m e n t s   u s e d   t o   c o n f i g u r e   t h e   V o l u m e B i n d i n g   p l u g i n .   B i n d T i m e o u t S e c o n d s   i s   t h e   t i m e o u t   i n   s e c o n d s   i n   v o l u m e   b i n d i n g   o p e r a t i o n .   V a l u e   m u s t   b e   n o n - n e g a t i v e   i n t e g e r .   T h e   v a l u e   z e r o   i n d i c a t e s   n o   w a i t i n g .   I f   t h i s   v a l u e   i s   n i l ,   t h e   d e f a u l t   v a l u e   ( 6 0 0 )   w i l l   b e   u s e d .   S h a p e   s p e c i f i e s   t h e   p o i n t s   d e f i n i n g   t h e   s c o r e   f u n c t i o n   s h a p e ,   w h i c h   i s   u s e d   t o   s c o r e   n o d e s   b a s e d   o n   t h e   u t i l i z a t i o n   o f   p r o v i s i o n e d   P V s .   T h e   u t i l i z a t i o n   i s   c a l c u l a t e d   b y   d i v i d i n g   t h e   t o t a l   r e q u e s t e d   s t o r a g e   o f   t h e   p o d   b y   t h e   t o t a l   c a p a c i t y   o f   f e a s i b l e   P V s   o n   e a c h   n o d e .   E a c h   p o i n t   c o n t a i n s   u t i l i z a t i o n   ( r a n g e s   f r o m   0   t o   1 0 0 )   a n d   i t s   a s s o c i a t e d   s c o r e   ( r a n g e s   f r o m   0   t o   1 0 ) .   Y o u   c a n   t u r n   t h e   p r i o r i t y   b y   s p e c i f y i n g   d i f f e r e n t   s c o r e s   f o r   d i f f e r e n t   u t i l i z a t i o n   n u m b e r s .   T h e   d e f a u l t   s h a p e   p o i n t s   a r e :   1 0   f o r   0   u t i l i z a t i o n 0   f o r   1 0 0   u t i l i z a t i o n   A l l   p o i n t s   m u s t   b e   s o r t e d   i n   i n c r e a s i n g   o r d e r   b y   u t i l i z a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27452"
  },
  {
    "question": "What is Extender?",
    "answer": "A p p e a r s   i n :   K u b e S c h e d u l e r C o n f i g u r a t i o n   E x t e n d e r   h o l d s   t h e   p a r a m e t e r s   u s e d   t o   c o m m u n i c a t e   w i t h   t h e   e x t e n d e r .   I f   a   v e r b   i s   u n s p e c i f i e d / e m p t y ,   i t   i s   a s s u m e d   t h a t   t h e   e x t e n d e r   c h o s e   n o t   t o   p r o v i d e   t h a t   e x t e n s i o n .   U R L P r e f i x   a t   w h i c h   t h e   e x t e n d e r   i s   a v a i l a b l e   V e r b   f o r   t h e   f i l t e r   c a l l ,   e m p t y   i f   n o t   s u p p o r t e d .   T h i s   v e r b   i s   a p p e n d e d   t o   t h e   U R L P r e f i x   w h e n   i s s u i n g   t h e   f i l t e r   c a l l   t o   e x t e n d e r .   V e r b   f o r   t h e   p r e e m p t   c a l l ,   e m p t y   i f   n o t   s u p p o r t e d .   T h i s   v e r b   i s   a p p e n d e d   t o   t h e   U R L P r e f i x   w h e n   i s s u i n g   t h e   p r e e m p t   c a l l   t o   e x t e n d e r .   V e r b   f o r   t h e   p r i o r i t i z e   c a l l ,   e m p t y   i f   n o t   s u p p o r t e d .   T h i s   v e r b   i s   a p p e n d e d   t o   t h e   U R L P r e f i x   w h e n   i s s u i n g   t h e   p r i o r i t i z e   c a l l   t o   e x t e n d e r .   T h e   n u m e r i c   m u l t i p l i e r   f o r   t h e   n o d e   s c o r e s   t h a t   t h e   p r i o r i t i z e   c a l l   g e n e r a t e s .   T h e   w e i g h t   s h o u l d   b e   a   p o s i t i v e   i n t e g e r   V e r b   f o r   t h e   b i n d   c a l l ,   e m p t y   i f   n o t   s u p p o r t e d .   T h i s   v e r b   i s   a p p e n d e d   t o   t h e   U R L P r e f i x   w h e n   i s s u i n g   t h e   b i n d   c a l l   t o   e x t e n d e r .   I f   t h i s   m e t h o d   i s   i m p l e m e n t e d   b y   t h e   e x t e n d e r ,   i t   i s   t h e   e x t e n d e r ' s   r e s p o n s i b i l i t y   t o   b i n d   t h e   p o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27453"
  },
  {
    "question": "What is ExtenderManagedResource?",
    "answer": "A p p e a r s   i n :   E x t e n d e r   E x t e n d e r M a n a g e d R e s o u r c e   d e s c r i b e s   t h e   a r g u m e n t s   o f   e x t e n d e d   r e s o u r c e s   m a n a g e d   b y   a n   e x t e n d e r .   N a m e   i s   t h e   e x t e n d e d   r e s o u r c e   n a m e .   I g n o r e d B y S c h e d u l e r   i n d i c a t e s   w h e t h e r   k u b e - s c h e d u l e r   s h o u l d   i g n o r e   t h i s   r e s o u r c e   w h e n   a p p l y i n g   p r e d i c a t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27454"
  },
  {
    "question": "What is ExtenderTLSConfig?",
    "answer": "A p p e a r s   i n :   E x t e n d e r   E x t e n d e r T L S C o n f i g   c o n t a i n s   s e t t i n g s   t o   e n a b l e   T L S   w i t h   e x t e n d e r   S e r v e r   s h o u l d   b e   a c c e s s e d   w i t h o u t   v e r i f y i n g   t h e   T L S   c e r t i f i c a t e .   F o r   t e s t i n g   o n l y .   S e r v e r N a m e   i s   p a s s e d   t o   t h e   s e r v e r   f o r   S N I   a n d   i s   u s e d   i n   t h e   c l i e n t   t o   c h e c k   s e r v e r   c e r t i f i c a t e s   a g a i n s t .   I f   S e r v e r N a m e   i s   e m p t y ,   t h e   h o s t n a m e   u s e d   t o   c o n t a c t   t h e   s e r v e r   i s   u s e d .   S e r v e r   r e q u i r e s   T L S   c l i e n t   c e r t i f i c a t e   a u t h e n t i c a t i o n   S e r v e r   r e q u i r e s   T L S   c l i e n t   c e r t i f i c a t e   a u t h e n t i c a t i o n   T r u s t e d   r o o t   c e r t i f i c a t e s   f o r   s e r v e r   C e r t D a t a   h o l d s   P E M - e n c o d e d   b y t e s   ( t y p i c a l l y   r e a d   f r o m   a   c l i e n t   c e r t i f i c a t e   f i l e ) .   C e r t D a t a   t a k e s   p r e c e d e n c e   o v e r   C e r t F i l e   K e y D a t a   h o l d s   P E M - e n c o d e d   b y t e s   ( t y p i c a l l y   r e a d   f r o m   a   c l i e n t   c e r t i f i c a t e   k e y   f i l e ) .   K e y D a t a   t a k e s   p r e c e d e n c e   o v e r   K e y F i l e   C A D a t a   h o l d s   P E M - e n c o d e d   b y t e s   ( t y p i c a l l y   r e a d   f r o m   a   r o o t   c e r t i f i c a t e s   b u n d l e ) .   C A D a t a   t a k e s   p r e c e d e n c e   o v e r   C A F i l e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27455"
  },
  {
    "question": "What is KubeSchedulerProfile?",
    "answer": "A p p e a r s   i n :   K u b e S c h e d u l e r C o n f i g u r a t i o n   K u b e S c h e d u l e r P r o f i l e   i s   a   s c h e d u l i n g   p r o f i l e .   S c h e d u l e r N a m e   i s   t h e   n a m e   o f   t h e   s c h e d u l e r   a s s o c i a t e d   t o   t h i s   p r o f i l e .   I f   S c h e d u l e r N a m e   m a t c h e s   w i t h   t h e   p o d ' s   \" s p e c . s c h e d u l e r N a m e \" ,   t h e n   t h e   p o d   i s   s c h e d u l e d   w i t h   t h i s   p r o f i l e .   P e r c e n t a g e O f N o d e s T o S c o r e   i s   t h e   p e r c e n t a g e   o f   a l l   n o d e s   t h a t   o n c e   f o u n d   f e a s i b l e   f o r   r u n n i n g   a   p o d ,   t h e   s c h e d u l e r   s t o p s   i t s   s e a r c h   f o r   m o r e   f e a s i b l e   n o d e s   i n   t h e   c l u s t e r .   T h i s   h e l p s   i m p r o v e   s c h e d u l e r ' s   p e r f o r m a n c e .   S c h e d u l e r   a l w a y s   t r i e s   t o   f i n d   a t   l e a s t   \" m i n F e a s i b l e N o d e s T o F i n d \"   f e a s i b l e   n o d e s   n o   m a t t e r   w h a t   t h e   v a l u e   o f   t h i s   f l a g   i s .   E x a m p l e :   i f   t h e   c l u s t e r   s i z e   i s   5 0 0   n o d e s   a n d   t h e   v a l u e   o f   t h i s   f l a g   i s   3 0 ,   t h e n   s c h e d u l e r   s t o p s   f i n d i n g   f u r t h e r   f e a s i b l e   n o d e s   o n c e   i t   f i n d s   1 5 0   f e a s i b l e   o n e s .   W h e n   t h e   v a l u e   i s   0 ,   d e f a u l t   p e r c e n t a g e   ( 5 % - - 5 0 %   b a s e d   o n   t h e   s i z e   o f   t h e   c l u s t e r )   o f   t h e   n o d e s   w i l l   b e   s c o r e d .   I t   w i l l   o v e r r i d e   g l o b a l   P e r c e n t a g e O f N o d e s T o S c o r e .   I f   i t   i s   e m p t y ,   g l o b a l   P e r c e n t a g e O f N o d e s T o S c o r e   w i l l   b e   u s e d .   P l u g i n s   s p e c i f y ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27456"
  },
  {
    "question": "What is Plugin?",
    "answer": "A p p e a r s   i n :   P l u g i n S e t   P l u g i n   s p e c i f i e s   a   p l u g i n   n a m e   a n d   i t s   w e i g h t   w h e n   a p p l i c a b l e .   W e i g h t   i s   u s e d   o n l y   f o r   S c o r e   p l u g i n s .   N a m e   d e f i n e s   t h e   n a m e   o f   p l u g i n   W e i g h t   d e f i n e s   t h e   w e i g h t   o f   p l u g i n ,   o n l y   u s e d   f o r   S c o r e   p l u g i n s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27457"
  },
  {
    "question": "What is PluginConfig?",
    "answer": "A p p e a r s   i n :   K u b e S c h e d u l e r P r o f i l e   P l u g i n C o n f i g   s p e c i f i e s   a r g u m e n t s   t h a t   s h o u l d   b e   p a s s e d   t o   a   p l u g i n   a t   t h e   t i m e   o f   i n i t i a l i z a t i o n .   A   p l u g i n   t h a t   i s   i n v o k e d   a t   m u l t i p l e   e x t e n s i o n   p o i n t s   i s   i n i t i a l i z e d   o n c e .   A r g s   c a n   h a v e   a r b i t r a r y   s t r u c t u r e .   I t   i s   u p   t o   t h e   p l u g i n   t o   p r o c e s s   t h e s e   A r g s .   N a m e   d e f i n e s   t h e   n a m e   o f   p l u g i n   b e i n g   c o n f i g u r e d   A r g s   d e f i n e s   t h e   a r g u m e n t s   p a s s e d   t o   t h e   p l u g i n s   a t   t h e   t i m e   o f   i n i t i a l i z a t i o n .   A r g s   c a n   h a v e   a r b i t r a r y   s t r u c t u r e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27458"
  },
  {
    "question": "What is PluginSet?",
    "answer": "A p p e a r s   i n :   P l u g i n s   P l u g i n S e t   s p e c i f i e s   e n a b l e d   a n d   d i s a b l e d   p l u g i n s   f o r   a n   e x t e n s i o n   p o i n t .   I f   a n   a r r a y   i s   e m p t y ,   m i s s i n g ,   o r   n i l ,   d e f a u l t   p l u g i n s   a t   t h a t   e x t e n s i o n   p o i n t   w i l l   b e   u s e d .   E n a b l e d   s p e c i f i e s   p l u g i n s   t h a t   s h o u l d   b e   e n a b l e d   i n   a d d i t i o n   t o   d e f a u l t   p l u g i n s .   I f   t h e   d e f a u l t   p l u g i n   i s   a l s o   c o n f i g u r e d   i n   t h e   s c h e d u l e r   c o n f i g   f i l e ,   t h e   w e i g h t   o f   p l u g i n   w i l l   b e   o v e r r i d d e n   a c c o r d i n g l y .   T h e s e   a r e   c a l l e d   a f t e r   d e f a u l t   p l u g i n s   a n d   i n   t h e   s a m e   o r d e r   s p e c i f i e d   h e r e .   D i s a b l e d   s p e c i f i e s   d e f a u l t   p l u g i n s   t h a t   s h o u l d   b e   d i s a b l e d .   W h e n   a l l   d e f a u l t   p l u g i n s   n e e d   t o   b e   d i s a b l e d ,   a n   a r r a y   c o n t a i n i n g   o n l y   o n e   \" * \"   s h o u l d   b e   p r o v i d e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27459"
  },
  {
    "question": "What is Plugins?",
    "answer": "A p p e a r s   i n :   K u b e S c h e d u l e r P r o f i l e   P l u g i n s   i n c l u d e   m u l t i p l e   e x t e n s i o n   p o i n t s .   W h e n   s p e c i f i e d ,   t h e   l i s t   o f   p l u g i n s   f o r   a   p a r t i c u l a r   e x t e n s i o n   p o i n t   a r e   t h e   o n l y   o n e s   e n a b l e d .   I f   a n   e x t e n s i o n   p o i n t   i s   o m i t t e d   f r o m   t h e   c o n f i g ,   t h e n   t h e   d e f a u l t   s e t   o f   p l u g i n s   i s   u s e d   f o r   t h a t   e x t e n s i o n   p o i n t .   E n a b l e d   p l u g i n s   a r e   c a l l e d   i n   t h e   o r d e r   s p e c i f i e d   h e r e ,   a f t e r   d e f a u l t   p l u g i n s .   I f   t h e y   n e e d   t o   b e   i n v o k e d   b e f o r e   d e f a u l t   p l u g i n s ,   d e f a u l t   p l u g i n s   m u s t   b e   d i s a b l e d   a n d   r e - e n a b l e d   h e r e   i n   d e s i r e d   o r d e r .   P r e E n q u e u e   i s   a   l i s t   o f   p l u g i n s   t h a t   s h o u l d   b e   i n v o k e d   b e f o r e   a d d i n g   p o d s   t o   t h e   s c h e d u l i n g   q u e u e .   Q u e u e S o r t   i s   a   l i s t   o f   p l u g i n s   t h a t   s h o u l d   b e   i n v o k e d   w h e n   s o r t i n g   p o d s   i n   t h e   s c h e d u l i n g   q u e u e .   P r e F i l t e r   i s   a   l i s t   o f   p l u g i n s   t h a t   s h o u l d   b e   i n v o k e d   a t   \" P r e F i l t e r \"   e x t e n s i o n   p o i n t   o f   t h e   s c h e d u l i n g   f r a m e w o r k .   F i l t e r   i s   a   l i s t   o f   p l u g i n s   t h a t   s h o u l d   b e   i n v o k e d   w h e n   f i l t e r i n g   o u t   n o d e s   t h a t   c a n n o t   r u n   t h e   P o d .   P o s t F i l t e r   i s   a   l i s t   o f   p l u g i n s   t h a t   a r e   i n v o k e d   a f t e r   f i l t e r i n g   p h a s e ,   b u t   o n l y   w h e n   n o   f e a s i b l e   n o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27460"
  },
  {
    "question": "What is PodTopologySpreadConstraintsDefaulting?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   P o d T o p o l o g y S p r e a d A r g s   P o d T o p o l o g y S p r e a d C o n s t r a i n t s D e f a u l t i n g   d e f i n e s   h o w   t o   s e t   d e f a u l t   c o n s t r a i n t s   f o r   t h e   P o d T o p o l o g y S p r e a d   p l u g i n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27461"
  },
  {
    "question": "What is RequestedToCapacityRatioParam?",
    "answer": "A p p e a r s   i n :   S c o r i n g S t r a t e g y   R e q u e s t e d T o C a p a c i t y R a t i o P a r a m   d e f i n e   R e q u e s t e d T o C a p a c i t y R a t i o   p a r a m e t e r s   S h a p e   i s   a   l i s t   o f   p o i n t s   d e f i n i n g   t h e   s c o r i n g   f u n c t i o n   s h a p e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27462"
  },
  {
    "question": "What is ResourceSpec?",
    "answer": "A p p e a r s   i n :   N o d e R e s o u r c e s B a l a n c e d A l l o c a t i o n A r g s S c o r i n g S t r a t e g y   N o d e R e s o u r c e s B a l a n c e d A l l o c a t i o n A r g s   S c o r i n g S t r a t e g y   R e s o u r c e S p e c   r e p r e s e n t s   a   s i n g l e   r e s o u r c e .   N a m e   o f   t h e   r e s o u r c e .   W e i g h t   o f   t h e   r e s o u r c e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27463"
  },
  {
    "question": "What is ScoringStrategy?",
    "answer": "A p p e a r s   i n :   N o d e R e s o u r c e s F i t A r g s   S c o r i n g S t r a t e g y   d e f i n e   S c o r i n g S t r a t e g y T y p e   f o r   n o d e   r e s o u r c e   p l u g i n   T y p e   s e l e c t s   w h i c h   s t r a t e g y   t o   r u n .   R e s o u r c e s   t o   c o n s i d e r   w h e n   s c o r i n g .   T h e   d e f a u l t   r e s o u r c e   s e t   i n c l u d e s   \" c p u \"   a n d   \" m e m o r y \"   w i t h   a n   e q u a l   w e i g h t .   A l l o w e d   w e i g h t s   g o   f r o m   1   t o   1 0 0 .   W e i g h t   d e f a u l t s   t o   1   i f   n o t   s p e c i f i e d   o r   e x p l i c i t l y   s e t   t o   0 .   A r g u m e n t s   s p e c i f i c   t o   R e q u e s t e d T o C a p a c i t y R a t i o   s t r a t e g y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27464"
  },
  {
    "question": "What is ScoringStrategyType?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   S c o r i n g S t r a t e g y   S c o r i n g S t r a t e g y T y p e   t h e   t y p e   o f   s c o r i n g   s t r a t e g y   u s e d   i n   N o d e R e s o u r c e s F i t   p l u g i n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27465"
  },
  {
    "question": "What is UtilizationShapePoint?",
    "answer": "A p p e a r s   i n :   V o l u m e B i n d i n g A r g s R e q u e s t e d T o C a p a c i t y R a t i o P a r a m   V o l u m e B i n d i n g A r g s   R e q u e s t e d T o C a p a c i t y R a t i o P a r a m   U t i l i z a t i o n S h a p e P o i n t   r e p r e s e n t s   s i n g l e   p o i n t   o f   p r i o r i t y   f u n c t i o n   s h a p e .   U t i l i z a t i o n   ( x   a x i s ) .   V a l i d   v a l u e s   a r e   0   t o   1 0 0 .   F u l l y   u t i l i z e d   n o d e   m a p s   t o   1 0 0 .   S c o r e   a s s i g n e d   t o   g i v e n   u t i l i z a t i o n   ( y   a x i s ) .   V a l i d   v a l u e s   a r e   0   t o   1 0 .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27466"
  },
  {
    "question": "What is Overview?",
    "answer": "P a c k a g e   v 1 b e t a 3   d e f i n e s   t h e   v 1 b e t a 3   v e r s i o n   o f   t h e   k u b e a d m   c o n f i g u r a t i o n   f i l e   f o r m a t .   T h i s   v e r s i o n   i m p r o v e s   o n   t h e   v 1 b e t a 2   f o r m a t   b y   f i x i n g   s o m e   m i n o r   i s s u e s   a n d   a d d i n g   a   f e w   n e w   f i e l d s .   A   l i s t   o f   c h a n g e s   s i n c e   v 1 b e t a 2 :   T h e   d e p r e c a t e d   \" C l u s t e r C o n f i g u r a t i o n . u s e H y p e r K u b e I m a g e \"   f i e l d   h a s   b e e n   r e m o v e d .   K u b e a d m   n o   l o n g e r   s u p p o r t s   t h e   h y p e r k u b e   i m a g e . T h e   \" C l u s t e r C o n f i g u r a t i o n . d n s . t y p e \"   f i e l d   h a s   b e e n   r e m o v e d   s i n c e   C o r e D N S   i s   t h e   o n l y   s u p p o r t e d   D N S   s e r v e r   t y p e   b y   k u b e a d m . I n c l u d e   \" d a t a p o l i c y \"   t a g s   o n   t h e   f i e l d s   t h a t   h o l d   s e c r e t s .   T h i s   w o u l d   r e s u l t   i n   t h e   f i e l d   v a l u e s   t o   b e   o m i t t e d   w h e n   A P I   s t r u c t u r e s   a r e   p r i n t e d   w i t h   k l o g . A d d   \" I n i t C o n f i g u r a t i o n . s k i p P h a s e s \" ,   \" J o i n C o n f i g u r a t i o n . s k i p P h a s e s \"   t o   a l l o w   s k i p p i n g   a   l i s t   o f   p h a s e s   d u r i n g   k u b e a d m   i n i t / j o i n   c o m m a n d   e x e c u t i o n . A d d   \" I n i t C o n f i g u r a t i o n . n o d e R e g i s t r a t i o n . i m a g e P u l l P o l i c y \"   a n d   \" J o i n C o n f i g u r a t i o n . n o d e R e g i s t r a t i o n . i m a g e P u l l P o l i c y \"   t o   a l l o w   s p e c i f y i n g   t h e   i m a g e s   p u l l   p o l i c y   d u r i n g   k u b e a d m   \" i n i t \"   a n d   \" j o i n \" .   T h e   v a l u e   m u s t   b e   o n e   o f   \" A l w a y s \" ,   \" N e v e r \" ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27467"
  },
  {
    "question": "What is Basics?",
    "answer": "T h e   p r e f e r r e d   w a y   t o   c o n f i g u r e   k u b e a d m   i s   t o   p a s s   a n   Y A M L   c o n f i g u r a t i o n   f i l e   w i t h   t h e   - - c o n f i g   o p t i o n .   S o m e   o f   t h e   c o n f i g u r a t i o n   o p t i o n s   d e f i n e d   i n   t h e   k u b e a d m   c o n f i g   f i l e   a r e   a l s o   a v a i l a b l e   a s   c o m m a n d   l i n e   f l a g s ,   b u t   o n l y   t h e   m o s t   c o m m o n / s i m p l e   u s e   c a s e   a r e   s u p p o r t e d   w i t h   t h i s   a p p r o a c h .   A   k u b e a d m   c o n f i g   f i l e   c o u l d   c o n t a i n   m u l t i p l e   c o n f i g u r a t i o n   t y p e s   s e p a r a t e d   u s i n g   t h r e e   d a s h e s   ( - - - ) .   k u b e a d m   s u p p o r t s   t h e   f o l l o w i n g   c o n f i g u r a t i o n   t y p e s :   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 3   k i n d :   I n i t C o n f i g u r a t i o n   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 3   k i n d :   C l u s t e r C o n f i g u r a t i o n   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   a p i V e r s i o n :   k u b e p r o x y . c o n f i g . k 8 s . i o / v 1 a l p h a 1   k i n d :   K u b e P r o x y C o n f i g u r a t i o n   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 3   k i n d :   J o i n C o n f i g u r a t i o n   T o   p r i n t   t h e   d e f a u l t s   f o r   \" i n i t \"   a n d   \" j o i n \"   a c t i o n s   u s e   t h e   f o l l o w i n g   c o m m a n d s :   k u b e a d m   c o n f i g   p r i n t   i n i t - d e f a u l t s   k u b e a d m   c o n f i g   p r i n t   j o i n - d e f a u l t s   T h e   l i s t   o f   c o n f i g u r a t i o n   t y p e s   t h a t   m u s t   b e   i n c l u d e d   i n   a   c o n f i g u r a t i o n   f i l e   d e p e n d s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27468"
  },
  {
    "question": "What is Kubeadm init configuration types?",
    "answer": "W h e n   e x e c u t i n g   k u b e a d m   i n i t   w i t h   t h e   - - c o n f i g   o p t i o n ,   t h e   f o l l o w i n g   c o n f i g u r a t i o n   t y p e s   c o u l d   b e   u s e d :   I n i t C o n f i g u r a t i o n ,   C l u s t e r C o n f i g u r a t i o n ,   K u b e P r o x y C o n f i g u r a t i o n ,   K u b e l e t C o n f i g u r a t i o n ,   b u t   o n l y   o n e   b e t w e e n   I n i t C o n f i g u r a t i o n   a n d   C l u s t e r C o n f i g u r a t i o n   i s   m a n d a t o r y .   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 3   k i n d :   I n i t C o n f i g u r a t i o n   b o o t s t r a p T o k e n s :   . . .   n o d e R e g i s t r a t i o n :   . . .   T h e   I n i t C o n f i g u r a t i o n   t y p e   s h o u l d   b e   u s e d   t o   c o n f i g u r e   r u n t i m e   s e t t i n g s ,   t h a t   i n   c a s e   o f   k u b e a d m   i n i t   a r e   t h e   c o n f i g u r a t i o n   o f   t h e   b o o t s t r a p   t o k e n   a n d   a l l   t h e   s e t t i n g   w h i c h   a r e   s p e c i f i c   t o   t h e   n o d e   w h e r e   k u b e a d m   i s   e x e c u t e d ,   i n c l u d i n g :   N o d e R e g i s t r a t i o n ,   t h a t   h o l d s   f i e l d s   t h a t   r e l a t e   t o   r e g i s t e r i n g   t h e   n e w   n o d e   t o   t h e   c l u s t e r ;   u s e   i t   t o   c u s t o m i z e   t h e   n o d e   n a m e ,   t h e   C R I   s o c k e t   t o   u s e   o r   a n y   o t h e r   s e t t i n g s   t h a t   s h o u l d   a p p l y   t o   t h i s   n o d e   o n l y   ( e . g .   t h e   n o d e   i p ) . L o c a l A P I E n d p o i n t ,   t h a t   r e p r e s e n t s   t h e   e n d p o i n t   o f   t h e   i n s t a n c e   o f   t h e   A P I   s e r v e r   t o   b e   d e p l o y e d   o n   t h i s   n o d e ;   u s e   i t   e . g .   t o   c u s t o m i z e   t h e   A P I   s e r v e r   a d v e r t i s e   a d d r e s s . ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27469"
  },
  {
    "question": "What is Kubeadm join configuration types?",
    "answer": "W h e n   e x e c u t i n g   k u b e a d m   j o i n   w i t h   t h e   - - c o n f i g   o p t i o n ,   t h e   J o i n C o n f i g u r a t i o n   t y p e   s h o u l d   b e   p r o v i d e d .   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 3   k i n d :   J o i n C o n f i g u r a t i o n   . . .   T h e   J o i n C o n f i g u r a t i o n   t y p e   s h o u l d   b e   u s e d   t o   c o n f i g u r e   r u n t i m e   s e t t i n g s ,   t h a t   i n   c a s e   o f   k u b e a d m   j o i n   a r e   t h e   d i s c o v e r y   m e t h o d   u s e d   f o r   a c c e s s i n g   t h e   c l u s t e r   i n f o   a n d   a l l   t h e   s e t t i n g   w h i c h   a r e   s p e c i f i c   t o   t h e   n o d e   w h e r e   k u b e a d m   i s   e x e c u t e d ,   i n c l u d i n g :   n o d e R e g i s t r a t i o n ,   t h a t   h o l d s   f i e l d s   t h a t   r e l a t e   t o   r e g i s t e r i n g   t h e   n e w   n o d e   t o   t h e   c l u s t e r ;   u s e   i t   t o   c u s t o m i z e   t h e   n o d e   n a m e ,   t h e   C R I   s o c k e t   t o   u s e   o r   a n y   o t h e r   s e t t i n g s   t h a t   s h o u l d   a p p l y   t o   t h i s   n o d e   o n l y   ( e . g .   t h e   n o d e   i p ) . a p i E n d p o i n t ,   t h a t   r e p r e s e n t s   t h e   e n d p o i n t   o f   t h e   i n s t a n c e   o f   t h e   A P I   s e r v e r   t o   b e   e v e n t u a l l y   d e p l o y e d   o n   t h i s   n o d e .   n o d e R e g i s t r a t i o n ,   t h a t   h o l d s   f i e l d s   t h a t   r e l a t e   t o   r e g i s t e r i n g   t h e   n e w   n o d e   t o   t h e   c l u s t e r ;   u s e   i t   t o   c u s t o m i z e   t h e   n o d e   n a m e ,   t h e   C R I   s o c k e t   t o   u s e   o r   a n y   o t h e r   s e t t i n g s   t h a t   s h o u l d   a p p l y   t o   t h i s   n o d e   o n l y   ( e . g .   t h e   n o d e   i p ) .   a p i E n d p o i n t ,   t h ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27470"
  },
  {
    "question": "What is Resource Types?",
    "answer": "C l u s t e r C o n f i g u r a t i o n I n i t C o n f i g u r a t i o n J o i n C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27471"
  },
  {
    "question": "What is BootstrapToken?",
    "answer": "A p p e a r s   i n :   I n i t C o n f i g u r a t i o n   B o o t s t r a p T o k e n   d e s c r i b e s   o n e   b o o t s t r a p   t o k e n ,   s t o r e d   a s   a   S e c r e t   i n   t h e   c l u s t e r   t o k e n   i s   u s e d   f o r   e s t a b l i s h i n g   b i d i r e c t i o n a l   t r u s t   b e t w e e n   n o d e s   a n d   c o n t r o l - p l a n e s .   U s e d   f o r   j o i n i n g   n o d e s   i n   t h e   c l u s t e r .   d e s c r i p t i o n   s e t s   a   h u m a n - f r i e n d l y   m e s s a g e   w h y   t h i s   t o k e n   e x i s t s   a n d   w h a t   i t ' s   u s e d   f o r ,   s o   o t h e r   a d m i n i s t r a t o r s   c a n   k n o w   i t s   p u r p o s e .   t t l   d e f i n e s   t h e   t i m e   t o   l i v e   f o r   t h i s   t o k e n .   D e f a u l t s   t o   2 4 h .   e x p i r e s   a n d   t t l   a r e   m u t u a l l y   e x c l u s i v e .   e x p i r e s   s p e c i f i e s   t h e   t i m e s t a m p   w h e n   t h i s   t o k e n   e x p i r e s .   D e f a u l t s   t o   b e i n g   s e t   d y n a m i c a l l y   a t   r u n t i m e   b a s e d   o n   t h e   t t l .   e x p i r e s   a n d   t t l   a r e   m u t u a l l y   e x c l u s i v e .   u s a g e s   d e s c r i b e s   t h e   w a y s   i n   w h i c h   t h i s   t o k e n   c a n   b e   u s e d .   C a n   b y   d e f a u l t   b e   u s e d   f o r   e s t a b l i s h i n g   b i d i r e c t i o n a l   t r u s t ,   b u t   t h a t   c a n   b e   c h a n g e d   h e r e .   g r o u p s   s p e c i f i e s   t h e   e x t r a   g r o u p s   t h a t   t h i s   t o k e n   w i l l   a u t h e n t i c a t e   a s   w h e n / i f   u s e d   f o r   a u t h e n t i c a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27472"
  },
  {
    "question": "What is BootstrapTokenString?",
    "answer": "A p p e a r s   i n :   B o o t s t r a p T o k e n   B o o t s t r a p T o k e n S t r i n g   i s   a   t o k e n   o f   t h e   f o r m a t   a b c d e f . a b c d e f 0 1 2 3 4 5 6 7 8 9   t h a t   i s   u s e d   f o r   b o t h   v a l i d a t i o n   o f   t h e   p r a c t i c a l l y   o f   t h e   A P I   s e r v e r   f r o m   a   j o i n i n g   n o d e ' s   p o i n t   o f   v i e w   a n d   a s   a n   a u t h e n t i c a t i o n   m e t h o d   f o r   t h e   n o d e   i n   t h e   b o o t s t r a p   p h a s e   o f   \" k u b e a d m   j o i n \" .   T h i s   t o k e n   i s   a n d   s h o u l d   b e   s h o r t - l i v e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27473"
  },
  {
    "question": "What is ClusterConfiguration?",
    "answer": "C l u s t e r C o n f i g u r a t i o n   c o n t a i n s   c l u s t e r - w i d e   c o n f i g u r a t i o n   f o r   a   k u b e a d m   c l u s t e r .   e t c d   h o l d s   t h e   c o n f i g u r a t i o n   f o r   e t c d .   n e t w o r k i n g   h o l d s   c o n f i g u r a t i o n   f o r   t h e   n e t w o r k i n g   t o p o l o g y   o f   t h e   c l u s t e r .   k u b e r n e t e s V e r s i o n   i s   t h e   t a r g e t   v e r s i o n   o f   t h e   c o n t r o l   p l a n e .   c o n t r o l P l a n e E n d p o i n t   s e t s   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e .   I t   c a n   b e   a   v a l i d   I P   a d d r e s s   o r   a   R F C - 1 1 2 3   D N S   s u b d o m a i n ,   b o t h   w i t h   o p t i o n a l   T C P   p o r t .   I n   c a s e   t h e   c o n t r o l P l a n e E n d p o i n t   i s   n o t   s p e c i f i e d ,   t h e   a d v e r t i s e A d d r e s s   +   b i n d P o r t   a r e   u s e d ;   i n   c a s e   t h e   c o n t r o l P l a n e E n d p o i n t   i s   s p e c i f i e d   b u t   w i t h o u t   a   T C P   p o r t ,   t h e   b i n d P o r t   i s   u s e d .   P o s s i b l e   u s a g e s   a r e :   I n   a   c l u s t e r   w i t h   m o r e   t h a n   o n e   c o n t r o l   p l a n e   i n s t a n c e s ,   t h i s   f i e l d   s h o u l d   b e   a s s i g n e d   t h e   a d d r e s s   o f   t h e   e x t e r n a l   l o a d   b a l a n c e r   i n   f r o n t   o f   t h e   c o n t r o l   p l a n e   i n s t a n c e s . I n   e n v i r o n m e n t s   w i t h   e n f o r c e d   n o d e   r e c y c l i n g ,   t h e   c o n t r o l P l a n e E n d p o i n t   c o u l d   b e   u s e d   f o r   a s s i g n i n g   a   s t a b l e   D N S   t o   t h e   c o n t r o l   p l a n e .   a p i S e r v e r   c o n t a i n s   e x t r a   s e t t i n g s   f o r   t h e   A P I   s e r v e r .   c o n t r o l l e r M a n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27474"
  },
  {
    "question": "What is InitConfiguration?",
    "answer": "I n i t C o n f i g u r a t i o n   c o n t a i n s   a   l i s t   o f   e l e m e n t s   t h a t   i s   s p e c i f i c   \" k u b e a d m   i n i t \" - o n l y   r u n t i m e   i n f o r m a t i o n .   k u b e a d m   i n i t - o n l y   i n f o r m a t i o n .   T h e s e   f i e l d s   a r e   s o l e l y   u s e d   t h e   f i r s t   t i m e   k u b e a d m   i n i t   r u n s .   A f t e r   t h a t ,   t h e   i n f o r m a t i o n   i n   t h e   f i e l d s   I S   N O T   u p l o a d e d   t o   t h e   k u b e a d m - c o n f i g   C o n f i g M a p   t h a t   i s   u s e d   b y   k u b e a d m   u p g r a d e   f o r   i n s t a n c e .   T h e s e   f i e l d s   m u s t   b e   o m i t e m p t y .   b o o t s t r a p T o k e n s   i s   r e s p e c t e d   a t   k u b e a d m   i n i t   t i m e   a n d   d e s c r i b e s   a   s e t   o f   B o o t s t r a p   T o k e n s   t o   c r e a t e .   T h i s   i n f o r m a t i o n   I S   N O T   u p l o a d e d   t o   t h e   k u b e a d m   c l u s t e r   c o n f i g m a p ,   p a r t l y   b e c a u s e   o f   i t s   s e n s i t i v e   n a t u r e   n o d e R e g i s t r a t i o n   h o l d s   f i e l d s   t h a t   r e l a t e   t o   r e g i s t e r i n g   t h e   n e w   c o n t r o l - p l a n e   n o d e   t o   t h e   c l u s t e r .   l o c a l A P I E n d p o i n t   r e p r e s e n t s   t h e   e n d p o i n t   o f   t h e   A P I   s e r v e r   i n s t a n c e   t h a t ' s   d e p l o y e d   o n   t h i s   c o n t r o l   p l a n e   n o d e .   I n   H A   s e t u p s ,   t h i s   d i f f e r s   f r o m   C l u s t e r C o n f i g u r a t i o n . c o n t r o l P l a n e E n d p o i n t   i n   t h e   s e n s e   t h a t   c o n t r o l P l a n e E n d p o i n t   i s   t h e   g l o b a l   e n d p o i n t   f o r   t h e   c l u s t e r ,   w h i c h   t h e n   l o a d - b a l a n c e s   t h e   r e q u e s t s   t o   e a c h   i n d i v i d u a l   A P I   s ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27475"
  },
  {
    "question": "What is JoinConfiguration?",
    "answer": "J o i n C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   a   p a r t i c u l a r   n o d e .   n o d e R e g i s t r a t i o n   h o l d s   f i e l d s   t h a t   r e l a t e   t o   r e g i s t e r i n g   t h e   n e w   c o n t r o l - p l a n e   n o d e   t o   t h e   c l u s t e r .   c a C e r t P a t h   i s   t h e   p a t h   t o   t h e   S S L   c e r t i f i c a t e   a u t h o r i t y   u s e d   t o   s e c u r e   c o m m u n i c a t i o n s   b e t w e e n   a   n o d e   a n d   t h e   c o n t r o l - p l a n e .   D e f a u l t s   t o   \" / e t c / k u b e r n e t e s / p k i / c a . c r t \" .   d i s c o v e r y   s p e c i f i e s   t h e   o p t i o n s   f o r   t h e   k u b e l e t   t o   u s e   d u r i n g   t h e   T L S   b o o t s t r a p   p r o c e s s .   c o n t r o l P l a n e   d e f i n e s   t h e   a d d i t i o n a l   c o n t r o l   p l a n e   i n s t a n c e   t o   b e   d e p l o y e d   o n   t h e   j o i n i n g   n o d e .   I f   n i l ,   n o   a d d i t i o n a l   c o n t r o l   p l a n e   i n s t a n c e   w i l l   b e   d e p l o y e d .   s k i p P h a s e s   i s   a   l i s t   o f   p h a s e s   t o   s k i p   d u r i n g   c o m m a n d   e x e c u t i o n .   T h e   l i s t   o f   p h a s e s   c a n   b e   o b t a i n e d   w i t h   t h e   k u b e a d m   j o i n   - - h e l p   c o m m a n d .   T h e   f l a g   - - s k i p - p h a s e s   t a k e s   p r e c e d e n c e   o v e r   t h i s   f i e l d .   p a t c h e s   c o n t a i n s   o p t i o n s   r e l a t e d   t o   a p p l y i n g   p a t c h e s   t o   c o m p o n e n t s   d e p l o y e d   b y   k u b e a d m   d u r i n g   k u b e a d m   j o i n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27476"
  },
  {
    "question": "What is APIEndpoint?",
    "answer": "A p p e a r s   i n :   I n i t C o n f i g u r a t i o n J o i n C o n t r o l P l a n e   I n i t C o n f i g u r a t i o n   J o i n C o n t r o l P l a n e   A P I E n d p o i n t   s t r u c t   c o n t a i n s   e l e m e n t s   o f   A P I   s e r v e r   i n s t a n c e   d e p l o y e d   o n   a   n o d e .   a d v e r t i s e A d d r e s s   s e t s   t h e   I P   a d d r e s s   f o r   t h e   A P I   s e r v e r   t o   a d v e r t i s e .   b i n d P o r t   s e t s   t h e   s e c u r e   p o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   D e f a u l t s   t o   6 4 4 3 .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27477"
  },
  {
    "question": "What is APIServer?",
    "answer": "A p p e a r s   i n :   C l u s t e r C o n f i g u r a t i o n   A P I S e r v e r   h o l d s   s e t t i n g s   n e c e s s a r y   f o r   A P I   s e r v e r   d e p l o y m e n t s   i n   t h e   c l u s t e r   c e r t S A N s   s e t s   e x t r a   S u b j e c t   A l t e r n a t i v e   N a m e s   ( S A N s )   f o r   t h e   A P I   S e r v e r   s i g n i n g   c e r t i f i c a t e .   t i m e o u t F o r C o n t r o l P l a n e   c o n t r o l s   t h e   t i m e o u t   t h a t   w e   w a i t   f o r   A P I   s e r v e r   t o   a p p e a r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27478"
  },
  {
    "question": "What is BootstrapTokenDiscovery?",
    "answer": "A p p e a r s   i n :   D i s c o v e r y   B o o t s t r a p T o k e n D i s c o v e r y   i s   u s e d   t o   s e t   t h e   o p t i o n s   f o r   b o o t s t r a p   t o k e n   b a s e d   d i s c o v e r y .   t o k e n   i s   a   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   c o n t r o l - p l a n e .   a p i S e r v e r E n d p o i n t   i s   a n   I P   o r   d o m a i n   n a m e   t o   t h e   A P I   s e r v e r   f r o m   w h i c h   i n f o r m a t i o n   w i l l   b e   f e t c h e d .   c a C e r t H a s h e s   s p e c i f i e s   a   s e t   o f   p u b l i c   k e y   p i n s   t o   v e r i f y   w h e n   t o k e n - b a s e d   d i s c o v e r y   i s   u s e d .   T h e   r o o t   C A   f o u n d   d u r i n g   d i s c o v e r y   m u s t   m a t c h   o n e   o f   t h e s e   v a l u e s .   S p e c i f y i n g   a n   e m p t y   s e t   d i s a b l e s   r o o t   C A   p i n n i n g ,   w h i c h   c a n   b e   u n s a f e .   E a c h   h a s h   i s   s p e c i f i e d   a s   < t y p e > : < v a l u e > ,   w h e r e   t h e   o n l y   c u r r e n t l y   s u p p o r t e d   t y p e   i s   \" s h a 2 5 6 \" .   T h i s   i s   a   h e x - e n c o d e d   S H A - 2 5 6   h a s h   o f   t h e   S u b j e c t   P u b l i c   K e y   I n f o   ( S P K I )   o b j e c t   i n   D E R - e n c o d e d   A S N . 1 .   T h e s e   h a s h e s   c a n   b e   c a l c u l a t e d   u s i n g ,   f o r   e x a m p l e ,   O p e n S S L .   u n s a f e S k i p C A V e r i f i c a t i o n   a l l o w s   t o k e n - b a s e d   d i s c o v e r y   w i t h o u t   C A   v e r i f i c a t i o n   v i a   c a C e r t H a s h e s .   T h i s   c a n   w e a k e n   t h e   s e c u r i t y   o f   k u b e a d m   s i n c e   o t h e r   n o d e s   c a n   i m p e r s o n a t e   t h e   c o n t r o l - p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27479"
  },
  {
    "question": "What is ControlPlaneComponent?",
    "answer": "A p p e a r s   i n :   C l u s t e r C o n f i g u r a t i o n A P I S e r v e r   C l u s t e r C o n f i g u r a t i o n   A P I S e r v e r   C o n t r o l P l a n e C o m p o n e n t   h o l d s   s e t t i n g s   c o m m o n   t o   c o n t r o l   p l a n e   c o m p o n e n t   o f   t h e   c l u s t e r   e x t r a A r g s   i s   a n   e x t r a   s e t   o f   f l a g s   t o   p a s s   t o   t h e   c o n t r o l   p l a n e   c o m p o n e n t .   A   k e y   i n   t h i s   m a p   i s   t h e   f l a g   n a m e   a s   i t   a p p e a r s   o n   t h e   c o m m a n d   l i n e   e x c e p t   w i t h o u t   l e a d i n g   d a s h ( e s ) .   e x t r a V o l u m e s   i s   a n   e x t r a   s e t   o f   h o s t   v o l u m e s ,   m o u n t e d   t o   t h e   c o n t r o l   p l a n e   c o m p o n e n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27480"
  },
  {
    "question": "What is DNS?",
    "answer": "A p p e a r s   i n :   C l u s t e r C o n f i g u r a t i o n   D N S   d e f i n e s   t h e   D N S   a d d o n   t h a t   s h o u l d   b e   u s e d   i n   t h e   c l u s t e r   i m a g e M e t a   a l l o w s   t o   c u s t o m i z e   t h e   i m a g e   u s e d   f o r   t h e   D N S   c o m p o n e n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27481"
  },
  {
    "question": "What is Discovery?",
    "answer": "A p p e a r s   i n :   J o i n C o n f i g u r a t i o n   D i s c o v e r y   s p e c i f i e s   t h e   o p t i o n s   f o r   t h e   k u b e l e t   t o   u s e   d u r i n g   t h e   T L S   B o o t s t r a p   p r o c e s s .   b o o t s t r a p T o k e n   i s   u s e d   t o   s e t   t h e   o p t i o n s   f o r   b o o t s t r a p   t o k e n   b a s e d   d i s c o v e r y .   b o o t s t r a p T o k e n   a n d   f i l e   a r e   m u t u a l l y   e x c l u s i v e .   f i l e   i s   u s e d   t o   s p e c i f y   a   f i l e   o r   U R L   t o   a   k u b e c o n f i g   f i l e   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   b o o t s t r a p T o k e n   a n d   f i l e   a r e   m u t u a l l y   e x c l u s i v e .   t l s B o o t s t r a p T o k e n   i s   a   t o k e n   u s e d   f o r   T L S   b o o t s t r a p p i n g .   I f   b o o t s t r a p T o k e n   i s   s e t ,   t h i s   f i e l d   i s   d e f a u l t e d   t o   . b o o t s t r a p T o k e n . t o k e n ,   b u t   c a n   b e   o v e r r i d d e n .   I f   f i l e   i s   s e t ,   t h i s   f i e l d   m u s t   b e   s e t   i n   c a s e   t h e   K u b e C o n f i g F i l e   d o e s   n o t   c o n t a i n   a n y   o t h e r   a u t h e n t i c a t i o n   i n f o r m a t i o n   t i m e o u t   m o d i f i e s   t h e   d i s c o v e r y   t i m e o u t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27482"
  },
  {
    "question": "What is Etcd?",
    "answer": "A p p e a r s   i n :   C l u s t e r C o n f i g u r a t i o n   E t c d   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   E t c d   c o n f i g u r a t i o n .   l o c a l   p r o v i d e s   c o n f i g u r a t i o n   k n o b s   f o r   c o n f i g u r i n g   t h e   l o c a l   e t c d   i n s t a n c e .   l o c a l   a n d   e x t e r n a l   a r e   m u t u a l l y   e x c l u s i v e .   e x t e r n a l   d e s c r i b e s   h o w   t o   c o n n e c t   t o   a n   e x t e r n a l   e t c d   c l u s t e r .   l o c a l   a n d   e x t e r n a l   a r e   m u t u a l l y   e x c l u s i v e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27483"
  },
  {
    "question": "What is ExternalEtcd?",
    "answer": "A p p e a r s   i n :   E t c d   E x t e r n a l E t c d   d e s c r i b e s   a n   e x t e r n a l   e t c d   c l u s t e r .   K u b e a d m   h a s   n o   k n o w l e d g e   o f   w h e r e   c e r t i f i c a t e   f i l e s   l i v e   a n d   t h e y   m u s t   b e   s u p p l i e d .   e n d p o i n t s   c o n t a i n s   t h e   l i s t   o f   e t c d   m e m b e r s .   c a F i l e   i s   a n   S S L   C e r t i f i c a t e   A u t h o r i t y   ( C A )   f i l e   u s e d   t o   s e c u r e   e t c d   c o m m u n i c a t i o n .   R e q u i r e d   i f   u s i n g   a   T L S   c o n n e c t i o n .   c e r t F i l e   i s   a n   S S L   c e r t i f i c a t i o n   f i l e   u s e d   t o   s e c u r e   e t c d   c o m m u n i c a t i o n .   R e q u i r e d   i f   u s i n g   a   T L S   c o n n e c t i o n .   k e y F i l e   i s   a n   S S L   k e y   f i l e   u s e d   t o   s e c u r e   e t c d   c o m m u n i c a t i o n .   R e q u i r e d   i f   u s i n g   a   T L S   c o n n e c t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27484"
  },
  {
    "question": "What is FileDiscovery?",
    "answer": "A p p e a r s   i n :   D i s c o v e r y   F i l e D i s c o v e r y   i s   u s e d   t o   s p e c i f y   a   f i l e   o r   U R L   t o   a   k u b e c o n f i g   f i l e   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   k u b e C o n f i g P a t h   i s   u s e d   t o   s p e c i f y   t h e   a c t u a l   f i l e   p a t h   o r   U R L   t o   t h e   k u b e c o n f i g   f i l e   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27485"
  },
  {
    "question": "What is HostPathMount?",
    "answer": "A p p e a r s   i n :   C o n t r o l P l a n e C o m p o n e n t   H o s t P a t h M o u n t   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   v o l u m e s   t h a t   a r e   m o u n t e d   f r o m   t h e   h o s t .   n a m e   i s   t h e   n a m e   o f   t h e   v o l u m e   i n s i d e   t h e   P o d   t e m p l a t e .   h o s t P a t h   i s   t h e   p a t h   i n   t h e   h o s t   t h a t   w i l l   b e   m o u n t e d   i n s i d e   t h e   P o d .   m o u n t P a t h   i s   t h e   p a t h   i n s i d e   t h e   P o d   w h e r e   h o s t P a t h   w i l l   b e   m o u n t e d .   r e a d O n l y   c o n t r o l s   w r i t e   a c c e s s   t o   t h e   v o l u m e .   p a t h T y p e   i s   t h e   t y p e   o f   t h e   h o s t P a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27486"
  },
  {
    "question": "What is ImageMeta?",
    "answer": "A p p e a r s   i n :   D N S L o c a l E t c d   D N S   L o c a l E t c d   I m a g e M e t a   a l l o w s   t o   c u s t o m i z e   t h e   i m a g e   u s e d   f o r   c o m p o n e n t s   t h a t   a r e   n o t   o r i g i n a t e d   f r o m   t h e   K u b e r n e t e s / K u b e r n e t e s   r e l e a s e   p r o c e s s   i m a g e R e p o s i t o r y   s e t s   t h e   c o n t a i n e r   r e g i s t r y   t o   p u l l   i m a g e s   f r o m .   I f   n o t   s e t ,   t h e   i m a g e R e p o s i t o r y   d e f i n e d   i n   C l u s t e r C o n f i g u r a t i o n   w i l l   b e   u s e d   i n s t e a d .   i m a g e T a g   a l l o w s   t o   s p e c i f y   a   t a g   f o r   t h e   i m a g e .   I n   c a s e   t h i s   v a l u e   i s   s e t ,   k u b e a d m   d o e s   n o t   c h a n g e   a u t o m a t i c a l l y   t h e   v e r s i o n   o f   t h e   a b o v e   c o m p o n e n t s   d u r i n g   u p g r a d e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27487"
  },
  {
    "question": "What is JoinControlPlane?",
    "answer": "A p p e a r s   i n :   J o i n C o n f i g u r a t i o n   J o i n C o n t r o l P l a n e   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   a n   a d d i t i o n a l   c o n t r o l   p l a n e   i n s t a n c e   t o   b e   d e p l o y e d   o n   t h e   j o i n i n g   n o d e .   l o c a l A P I E n d p o i n t   r e p r e s e n t s   t h e   e n d p o i n t   o f   t h e   A P I   s e r v e r   i n s t a n c e   t o   b e   d e p l o y e d   o n   t h i s   n o d e .   c e r t i f i c a t e K e y   i s   t h e   k e y   t h a t   i s   u s e d   f o r   d e c r y p t i o n   o f   c e r t i f i c a t e s   a f t e r   t h e y   a r e   d o w n l o a d e d   f r o m   t h e   s e c r e t   u p o n   j o i n i n g   a   n e w   c o n t r o l   p l a n e   n o d e .   T h e   c o r r e s p o n d i n g   e n c r y p t i o n   k e y   i s   i n   t h e   I n i t C o n f i g u r a t i o n .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27488"
  },
  {
    "question": "What is LocalEtcd?",
    "answer": "A p p e a r s   i n :   E t c d   L o c a l E t c d   d e s c r i b e s   t h a t   k u b e a d m   s h o u l d   r u n   a n   e t c d   c l u s t e r   l o c a l l y .   I m a g e M e t a   a l l o w s   t o   c u s t o m i z e   t h e   c o n t a i n e r   u s e d   f o r   e t c d .   d a t a D i r   i s   t h e   d i r e c t o r y   e t c d   w i l l   p l a c e   i t s   d a t a .   D e f a u l t s   t o   \" / v a r / l i b / e t c d \" .   e x t r a A r g s   a r e   e x t r a   a r g u m e n t s   p r o v i d e d   t o   t h e   e t c d   b i n a r y   w h e n   r u n   i n s i d e   a   s t a t i c   P o d .   A   k e y   i n   t h i s   m a p   i s   t h e   f l a g   n a m e   a s   i t   a p p e a r s   o n   t h e   c o m m a n d   l i n e   e x c e p t   w i t h o u t   l e a d i n g   d a s h ( e s ) .   s e r v e r C e r t S A N s   s e t s   e x t r a   S u b j e c t   A l t e r n a t i v e   N a m e s   ( S A N s )   f o r   t h e   e t c d   s e r v e r   s i g n i n g   c e r t i f i c a t e .   p e e r C e r t S A N s   s e t s   e x t r a   S u b j e c t   A l t e r n a t i v e   N a m e s   ( S A N s )   f o r   t h e   e t c d   p e e r   s i g n i n g   c e r t i f i c a t e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27489"
  },
  {
    "question": "What is Networking?",
    "answer": "A p p e a r s   i n :   C l u s t e r C o n f i g u r a t i o n   N e t w o r k i n g   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   c l u s t e r ' s   n e t w o r k i n g   c o n f i g u r a t i o n .   s e r v i c e S u b n e t   i s   t h e   s u b n e t   u s e d   b y   K u b e r n e t e s   S e r v i c e s .   D e f a u l t s   t o   \" 1 0 . 9 6 . 0 . 0 / 1 2 \" .   p o d S u b n e t   i s   t h e   s u b n e t   u s e d   b y   P o d s .   d n s D o m a i n   i s   t h e   D N S   d o m a i n   u s e d   b y   K u b e r n e t e s   S e r v i c e s .   D e f a u l t s   t o   \" c l u s t e r . l o c a l \" .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27490"
  },
  {
    "question": "What is NodeRegistrationOptions?",
    "answer": "A p p e a r s   i n :   I n i t C o n f i g u r a t i o n J o i n C o n f i g u r a t i o n   I n i t C o n f i g u r a t i o n   J o i n C o n f i g u r a t i o n   N o d e R e g i s t r a t i o n O p t i o n s   h o l d s   f i e l d s   t h a t   r e l a t e   t o   r e g i s t e r i n g   a   n e w   c o n t r o l - p l a n e   o r   n o d e   t o   t h e   c l u s t e r ,   e i t h e r   v i a   k u b e a d m   i n i t   o r   k u b e a d m   j o i n .   n a m e   i s   t h e   . m e t a d a t a . n a m e   f i e l d   o f   t h e   N o d e   A P I   o b j e c t   t h a t   w i l l   b e   c r e a t e d   i n   t h i s   k u b e a d m   i n i t   o r   k u b e a d m   j o i n   o p e r a t i o n .   T h i s   f i e l d   i s   a l s o   u s e d   i n   t h e   C o m m o n N a m e   f i e l d   o f   t h e   k u b e l e t ' s   c l i e n t   c e r t i f i c a t e   t o   t h e   A P I   s e r v e r .   D e f a u l t s   t o   t h e   h o s t n a m e   o f   t h e   n o d e   i f   n o t   p r o v i d e d .   c r i S o c k e t   i s   u s e d   t o   r e t r i e v e   c o n t a i n e r   r u n t i m e   i n f o .   T h i s   i n f o r m a t i o n   w i l l   b e   a n n o t a t e d   t o   t h e   N o d e   A P I   o b j e c t ,   f o r   l a t e r   r e - u s e .   t a i n t s   s p e c i f i e s   t h e   t a i n t s   t h e   N o d e   A P I   o b j e c t   s h o u l d   b e   r e g i s t e r e d   w i t h .   I f   t h i s   f i e l d   i s   u n s e t ,   i . e .   n i l ,   i t   w i l l   b e   d e f a u l t e d   w i t h   a   c o n t r o l - p l a n e   t a i n t   f o r   c o n t r o l - p l a n e   n o d e s .   I f   y o u   d o n ' t   w a n t   t o   t a i n t   y o u r   c o n t r o l - p l a n e   n o d e ,   s e t   t h i s   f i e l d   t o   a n   e m p t y   l i s t ,   i . e .   t a i n t s :   [ ]   i n   t h e   Y A M L   f i l e .   T h i s   f i e l d   i s   s o l e l y   u s e d   f o r   N o d e   r e g i s t r a t i o n .   k u b e l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27491"
  },
  {
    "question": "What is Patches?",
    "answer": "A p p e a r s   i n :   I n i t C o n f i g u r a t i o n J o i n C o n f i g u r a t i o n   I n i t C o n f i g u r a t i o n   J o i n C o n f i g u r a t i o n   P a t c h e s   c o n t a i n s   o p t i o n s   r e l a t e d   t o   a p p l y i n g   p a t c h e s   t o   c o m p o n e n t s   d e p l o y e d   b y   k u b e a d m .   d i r e c t o r y   i s   a   p a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \"   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27492"
  },
  {
    "question": "What is Overview?",
    "answer": "P a c k a g e   v 1 b e t a 4   d e f i n e s   t h e   v 1 b e t a 4   v e r s i o n   o f   t h e   k u b e a d m   c o n f i g u r a t i o n   f i l e   f o r m a t .   T h i s   v e r s i o n   i m p r o v e s   o n   t h e   v 1 b e t a 3   f o r m a t   b y   f i x i n g   s o m e   m i n o r   i s s u e s   a n d   a d d i n g   a   f e w   n e w   f i e l d s .   A   l i s t   o f   c h a n g e s   s i n c e   v 1 b e t a 3 :   v 1 . 3 3 :   A d d   a n   E t c d U p g r a d e   f i e l d   t o   U p g r a d e C o n f i g u r a t i o n . p l a n   t h a t   c a n   b e   u s e d   t o   c o n t r o l   w h e t h e r   t h e   e t c d   u p g r a d e   p l a n   s h o u l d   b e   d i s p l a y e d .   v 1 . 3 1 :   S u p p o r t   c u s t o m   e n v i r o n m e n t   v a r i a b l e s   i n   c o n t r o l   p l a n e   c o m p o n e n t s   u n d e r   C l u s t e r C o n f i g u r a t i o n .   U s e   a p i S e r v e r . e x t r a E n v s ,   c o n t r o l l e r M a n a g e r . e x t r a E n v s ,   s c h e d u l e r . e x t r a E n v s ,   e t c d . l o c a l . e x t r a E n v s . T h e   R e s e t C o n f i g u r a t i o n   A P I   t y p e   i s   n o w   s u p p o r t e d   i n   v 1 b e t a 4 .   U s e r s   a r e   a b l e   t o   r e s e t   a   n o d e   b y   p a s s i n g   a   - - c o n f i g   f i l e   t o   k u b e a d m   r e s e t . D r y   r u n   m o d e   i s   n o w   c o n f i g u r e a b l e   i n   I n i t C o n f i g u r a t i o n   a n d   J o i n C o n f i g u r a t i o n B . R e p l a c e   t h e   e x i s t i n g   s t r i n g / s t r i n g   e x t r a   a r g u m e n t   m a p s   w i t h   s t r u c t u r e d   e x t r a   a r g u m e n t s   t h a t   s u p p o r t   d u p l i c a t e s .   T h e   c h a n g e   a p p l i e s   t o   C l u s t e r C o n f i g u r a t i o n   -   a p i S e r v e r . e x t r a A r g s ,   c o n t r o l l e r M a n a g e r . e x t r a A r g s ,   s c h e d u l e r . e x t r a A r g s ,   e t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27493"
  },
  {
    "question": "What is Migration from old kubeadm config versions?",
    "answer": "k u b e a d m   v 1 . 1 5 . x   a n d   n e w e r   c a n   b e   u s e d   t o   m i g r a t e   f r o m   v 1 b e t a 1   t o   v 1 b e t a 2 . k u b e a d m   v 1 . 2 2 . x   a n d   n e w e r   n o   l o n g e r   s u p p o r t   v 1 b e t a 1   a n d   o l d e r   A P I s ,   b u t   c a n   b e   u s e d   t o   m i g r a t e   v 1 b e t a 2   t o   v 1 b e t a 3 . k u b e a d m   v 1 . 2 7 . x   a n d   n e w e r   n o   l o n g e r   s u p p o r t   v 1 b e t a 2   a n d   o l d e r   A P I s . k u b e a d m   v 1 . 3 1 . x   a n d   n e w e r   c a n   b e   u s e d   t o   m i g r a t e   f r o m   v 1 b e t a 3   t o   v 1 b e t a 4 .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_27494"
  },
  {
    "question": "What is Basics?",
    "answer": "T h e   p r e f e r r e d   w a y   t o   c o n f i g u r e   k u b e a d m   i s   t o   p a s s   a   Y A M L   c o n f i g u r a t i o n   f i l e   w i t h   t h e   - - c o n f i g   o p t i o n .   S o m e   o f   t h e   c o n f i g u r a t i o n   o p t i o n s   d e f i n e d   i n   t h e   k u b e a d m   c o n f i g   f i l e   a r e   a l s o   a v a i l a b l e   a s   c o m m a n d   l i n e   f l a g s ,   b u t   o n l y   t h e   m o s t   c o m m o n / s i m p l e   u s e   c a s e   a r e   s u p p o r t e d   w i t h   t h i s   a p p r o a c h .   A   k u b e a d m   c o n f i g   f i l e   c o u l d   c o n t a i n   m u l t i p l e   c o n f i g u r a t i o n   t y p e s   s e p a r a t e d   u s i n g   t h r e e   d a s h e s   ( - - - ) .   k u b e a d m   s u p p o r t s   t h e   f o l l o w i n g   c o n f i g u r a t i o n   t y p e s :   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   I n i t C o n f i g u r a t i o n   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   C l u s t e r C o n f i g u r a t i o n   a p i V e r s i o n :   k u b e l e t . c o n f i g . k 8 s . i o / v 1 b e t a 1   k i n d :   K u b e l e t C o n f i g u r a t i o n   a p i V e r s i o n :   k u b e p r o x y . c o n f i g . k 8 s . i o / v 1 a l p h a 1   k i n d :   K u b e P r o x y C o n f i g u r a t i o n   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   J o i n C o n f i g u r a t i o n   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   R e s e t C o n f i g u r a t i o n   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   U p g r a d e C o n f i g u r a t i o n   T o   p r i n t   t h e   d e f a u l t s   f o r   i n i t   a n d   j o i n   a c t i o n s   u s e   t h e   f o l l o w i n g   c o m m a n d s :   k u b e a d m   c o n f i g   p r i n t   i n i t - d e f a u l t s   k u b ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27495"
  },
  {
    "question": "What is Kubeadm init configuration types?",
    "answer": "W h e n   e x e c u t i n g   k u b e a d m   i n i t   w i t h   t h e   - - c o n f i g   o p t i o n ,   t h e   f o l l o w i n g   c o n f i g u r a t i o n   t y p e s   c o u l d   b e   u s e d :   I n i t C o n f i g u r a t i o n ,   C l u s t e r C o n f i g u r a t i o n ,   K u b e P r o x y C o n f i g u r a t i o n ,   K u b e l e t C o n f i g u r a t i o n ,   b u t   o n l y   o n e   b e t w e e n   I n i t C o n f i g u r a t i o n   a n d   C l u s t e r C o n f i g u r a t i o n   i s   m a n d a t o r y .   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   I n i t C o n f i g u r a t i o n   b o o t s t r a p T o k e n s :   . . .   n o d e R e g i s t r a t i o n :   . . .   T h e   I n i t C o n f i g u r a t i o n   t y p e   s h o u l d   b e   u s e d   t o   c o n f i g u r e   r u n t i m e   s e t t i n g s ,   t h a t   i n   c a s e   o f   k u b e a d m   i n i t   a r e   t h e   c o n f i g u r a t i o n   o f   t h e   b o o t s t r a p   t o k e n   a n d   a l l   t h e   s e t t i n g   w h i c h   a r e   s p e c i f i c   t o   t h e   n o d e   w h e r e   k u b e a d m   i s   e x e c u t e d ,   i n c l u d i n g :   N o d e R e g i s t r a t i o n ,   t h a t   h o l d s   f i e l d s   t h a t   r e l a t e   t o   r e g i s t e r i n g   t h e   n e w   n o d e   t o   t h e   c l u s t e r ;   u s e   i t   t o   c u s t o m i z e   t h e   n o d e   n a m e ,   t h e   C R I   s o c k e t   t o   u s e   o r   a n y   o t h e r   s e t t i n g s   t h a t   s h o u l d   a p p l y   t o   t h i s   n o d e   o n l y   ( e . g .   t h e   n o d e   i p ) . L o c a l A P I E n d p o i n t ,   t h a t   r e p r e s e n t s   t h e   e n d p o i n t   o f   t h e   i n s t a n c e   o f   t h e   A P I   s e r v e r   t o   b e   d e p l o y e d   o n   t h i s   n o d e ;   u s e   i t   e . g .   t o   c u s t o m i z e   t h e   A P I   s e r v e r   a d v e r t i s e   a d d r e s s . ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27496"
  },
  {
    "question": "What is Kubeadm join configuration types?",
    "answer": "W h e n   e x e c u t i n g   k u b e a d m   j o i n   w i t h   t h e   - - c o n f i g   o p t i o n ,   t h e   J o i n C o n f i g u r a t i o n   t y p e   s h o u l d   b e   p r o v i d e d .   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   J o i n C o n f i g u r a t i o n   d i s c o v e r y :   b o o t s t r a p T o k e n :   a p i S e r v e r E n d p o i n t :   s o m e - a d d r e s s : 6 4 4 3   t o k e n :   a b c d e f . 0 1 2 3 4 5 6 7 8 9 a b c d e f   u n s a f e S k i p C A V e r i f i c a t i o n :   t r u e   t l s B o o t s t r a p T o k e n :   a b c d e f . 0 1 2 3 4 5 6 7 8 9 a b c d e f   T h e   J o i n C o n f i g u r a t i o n   t y p e   s h o u l d   b e   u s e d   t o   c o n f i g u r e   r u n t i m e   s e t t i n g s ,   t h a t   i n   c a s e   o f   k u b e a d m   j o i n   a r e   t h e   d i s c o v e r y   m e t h o d   u s e d   f o r   a c c e s s i n g   t h e   c l u s t e r   i n f o   a n d   a l l   t h e   s e t t i n g   w h i c h   a r e   s p e c i f i c   t o   t h e   n o d e   w h e r e   k u b e a d m   i s   e x e c u t e d ,   i n c l u d i n g :   n o d e R e g i s t r a t i o n ,   t h a t   h o l d s   f i e l d s   t h a t   r e l a t e   t o   r e g i s t e r i n g   t h e   n e w   n o d e   t o   t h e   c l u s t e r ;   u s e   i t   t o   c u s t o m i z e   t h e   n o d e   n a m e ,   t h e   C R I   s o c k e t   t o   u s e   o r   a n y   o t h e r   s e t t i n g s   t h a t   s h o u l d   a p p l y   t o   t h i s   n o d e   o n l y   ( e . g .   t h e   n o d e   i p ) . a p i E n d p o i n t ,   t h a t   r e p r e s e n t s   t h e   e n d p o i n t   o f   t h e   i n s t a n c e   o f   t h e   A P I   s e r v e r   t o   b e   e v e n t u a l l y   d e p l o y e d   o n   t h i s   n o d e .   n o d e R e g i s t r a t i o n ,   t h a t   h o l d s   f i e l d s   t h a t   r e l a t e   t o   r e g i s t e r i n g   t h e   n e w   n o d e   t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27497"
  },
  {
    "question": "What is Kubeadm reset configuration types?",
    "answer": "W h e n   e x e c u t i n g   k u b e a d m   r e s e t   w i t h   t h e   - - c o n f i g   o p t i o n ,   t h e   R e s e t C o n f i g u r a t i o n   t y p e   s h o u l d   b e   p r o v i d e d .   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   R e s e t C o n f i g u r a t i o n   . . .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27498"
  },
  {
    "question": "What is Kubeadm upgrade configuration types?",
    "answer": "W h e n   e x e c u t i n g   k u b e a d m   u p g r a d e   w i t h   t h e   - - c o n f i g   o p t i o n ,   t h e   U p g r a d e C o n f i g u r a t i o n   t y p e   s h o u l d   b e   p r o v i d e d .   a p i V e r s i o n :   k u b e a d m . k 8 s . i o / v 1 b e t a 4   k i n d :   U p g r a d e C o n f i g u r a t i o n   a p p l y :   . . .   d i f f :   . . .   n o d e :   . . .   p l a n :   . . .   T h e   U p g r a d e C o n f i g u r a t i o n   s t r u c t u r e   i n c l u d e s   a   f e w   s u b s t r u c t u r e s   t h a t   o n l y   a p p l y   t o   d i f f e r e n t   s u b c o m m a n d s   o f   k u b e a d m   u p g r a d e .   F o r   e x a m p l e ,   t h e   a p p l y   s u b s t r u c t u r e   w i l l   b e   u s e d   w i t h   t h e   k u b e a d m   u p g r a d e   a p p l y   s u b c o m m a n d   a n d   a l l   o t h e r   s u b s t r u c t u r e s   w i l l   b e   i g n o r e d   i n   s u c h   a   c a s e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27499"
  },
  {
    "question": "What is Resource Types?",
    "answer": "C l u s t e r C o n f i g u r a t i o n I n i t C o n f i g u r a t i o n J o i n C o n f i g u r a t i o n R e s e t C o n f i g u r a t i o n U p g r a d e C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27500"
  },
  {
    "question": "What is BootstrapToken?",
    "answer": "A p p e a r s   i n :   I n i t C o n f i g u r a t i o n I n i t C o n f i g u r a t i o n   I n i t C o n f i g u r a t i o n   I n i t C o n f i g u r a t i o n   B o o t s t r a p T o k e n   d e s c r i b e s   o n e   b o o t s t r a p   t o k e n ,   s t o r e d   a s   a   S e c r e t   i n   t h e   c l u s t e r   t o k e n   i s   u s e d   f o r   e s t a b l i s h i n g   b i d i r e c t i o n a l   t r u s t   b e t w e e n   n o d e s   a n d   c o n t r o l - p l a n e s .   U s e d   f o r   j o i n i n g   n o d e s   i n   t h e   c l u s t e r .   d e s c r i p t i o n   s e t s   a   h u m a n - f r i e n d l y   m e s s a g e   w h y   t h i s   t o k e n   e x i s t s   a n d   w h a t   i t ' s   u s e d   f o r ,   s o   o t h e r   a d m i n i s t r a t o r s   c a n   k n o w   i t s   p u r p o s e .   t t l   d e f i n e s   t h e   t i m e   t o   l i v e   f o r   t h i s   t o k e n .   D e f a u l t s   t o   2 4 h .   e x p i r e s   a n d   t t l   a r e   m u t u a l l y   e x c l u s i v e .   e x p i r e s   s p e c i f i e s   t h e   t i m e s t a m p   w h e n   t h i s   t o k e n   e x p i r e s .   D e f a u l t s   t o   b e i n g   s e t   d y n a m i c a l l y   a t   r u n t i m e   b a s e d   o n   t h e   t t l .   e x p i r e s   a n d   t t l   a r e   m u t u a l l y   e x c l u s i v e .   u s a g e s   d e s c r i b e s   t h e   w a y s   i n   w h i c h   t h i s   t o k e n   c a n   b e   u s e d .   C a n   b y   d e f a u l t   b e   u s e d   f o r   e s t a b l i s h i n g   b i d i r e c t i o n a l   t r u s t ,   b u t   t h a t   c a n   b e   c h a n g e d   h e r e .   g r o u p s   s p e c i f i e s   t h e   e x t r a   g r o u p s   t h a t   t h i s   t o k e n   w i l l   a u t h e n t i c a t e   a s   w h e n / i f   u s e d   f o r   a u t h e n t i c a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27501"
  },
  {
    "question": "What is BootstrapTokenString?",
    "answer": "A p p e a r s   i n :   B o o t s t r a p T o k e n   B o o t s t r a p T o k e n S t r i n g   i s   a   t o k e n   o f   t h e   f o r m a t   a b c d e f . a b c d e f 0 1 2 3 4 5 6 7 8 9   t h a t   i s   u s e d   f o r   b o t h   v a l i d a t i o n   o f   t h e   p r a c t i c a l l y   o f   t h e   A P I   s e r v e r   f r o m   a   j o i n i n g   n o d e ' s   p o i n t   o f   v i e w   a n d   a s   a n   a u t h e n t i c a t i o n   m e t h o d   f o r   t h e   n o d e   i n   t h e   b o o t s t r a p   p h a s e   o f   \" k u b e a d m   j o i n \" .   T h i s   t o k e n   i s   a n d   s h o u l d   b e   s h o r t - l i v e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27502"
  },
  {
    "question": "What is ClusterConfiguration?",
    "answer": "C l u s t e r C o n f i g u r a t i o n   c o n t a i n s   c l u s t e r - w i d e   c o n f i g u r a t i o n   f o r   a   k u b e a d m   c l u s t e r .   e t c d   h o l d s   t h e   c o n f i g u r a t i o n   f o r   e t c d .   n e t w o r k i n g   h o l d s   c o n f i g u r a t i o n   f o r   t h e   n e t w o r k i n g   t o p o l o g y   o f   t h e   c l u s t e r .   k u b e r n e t e s V e r s i o n   i s   t h e   t a r g e t   v e r s i o n   o f   t h e   c o n t r o l   p l a n e .   c o n t r o l P l a n e E n d p o i n t   s e t s   a   s t a b l e   I P   a d d r e s s   o r   D N S   n a m e   f o r   t h e   c o n t r o l   p l a n e ;   I t   c a n   b e   a   v a l i d   I P   a d d r e s s   o r   a   R F C - 1 1 2 3   D N S   s u b d o m a i n ,   b o t h   w i t h   o p t i o n a l   T C P   p o r t .   I n   c a s e   t h e   c o n t r o l P l a n e E n d p o i n t   i s   n o t   s p e c i f i e d ,   t h e   a d v e r t i s e A d d r e s s   +   b i n d P o r t   a r e   u s e d ;   i n   c a s e   t h e   c o n t r o l P l a n e E n d p o i n t   i s   s p e c i f i e d   b u t   w i t h o u t   a   T C P   p o r t ,   t h e   b i n d P o r t   i s   u s e d .   P o s s i b l e   u s a g e s   a r e :   I n   a   c l u s t e r   w i t h   m o r e   t h a n   o n e   c o n t r o l   p l a n e   i n s t a n c e s ,   t h i s   f i e l d   s h o u l d   b e   a s s i g n e d   t h e   a d d r e s s   o f   t h e   e x t e r n a l   l o a d   b a l a n c e r   i n   f r o n t   o f   t h e   c o n t r o l   p l a n e   i n s t a n c e s . I n   e n v i r o n m e n t s   w i t h   e n f o r c e d   n o d e   r e c y c l i n g ,   t h e   c o n t r o l P l a n e E n d p o i n t   c o u l d   b e   u s e d   f o r   a s s i g n i n g   a   s t a b l e   D N S   t o   t h e   c o n t r o l   p l a n e .   a p i S e r v e r   c o n t a i n s   e x t r a   s e t t i n g s   f o r   t h e   A P I   s e r v e r .   c o n t r o l l e r M a n ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27503"
  },
  {
    "question": "What is InitConfiguration?",
    "answer": "I n i t C o n f i g u r a t i o n   c o n t a i n s   a   l i s t   o f   e l e m e n t s   t h a t   i s   s p e c i f i c   \" k u b e a d m   i n i t \" - o n l y   r u n t i m e   i n f o r m a t i o n .   k u b e a d m   i n i t - o n l y   i n f o r m a t i o n .   T h e s e   f i e l d s   a r e   s o l e l y   u s e d   t h e   f i r s t   t i m e   k u b e a d m   i n i t   r u n s .   A f t e r   t h a t ,   t h e   i n f o r m a t i o n   i n   t h e   f i e l d s   I S   N O T   u p l o a d e d   t o   t h e   k u b e a d m - c o n f i g   C o n f i g M a p   t h a t   i s   u s e d   b y   k u b e a d m   u p g r a d e   f o r   i n s t a n c e .   T h e s e   f i e l d s   m u s t   b e   o m i t e m p t y .   b o o t s t r a p T o k e n s   i s   r e s p e c t e d   a t   k u b e a d m   i n i t   t i m e   a n d   d e s c r i b e s   a   s e t   o f   B o o t s t r a p   T o k e n s   t o   c r e a t e .   T h i s   i n f o r m a t i o n   I S   N O T   u p l o a d e d   t o   t h e   k u b e a d m   c l u s t e r   c o n f i g m a p ,   p a r t l y   b e c a u s e   o f   i t s   s e n s i t i v e   n a t u r e   d r y R u n   t e l l s   i f   t h e   d r y   r u n   m o d e   i s   e n a b l e d ,   d o n ' t   a p p l y   a n y   c h a n g e   i n   d r y   r u n   m o d e ,   j u s t   o u t   p u t   w h a t   w o u l d   b e   d o n e .   n o d e R e g i s t r a t i o n   h o l d s   f i e l d s   t h a t   r e l a t e   t o   r e g i s t e r i n g   t h e   n e w   c o n t r o l - p l a n e   n o d e   t o   t h e   c l u s t e r .   l o c a l A P I E n d p o i n t   r e p r e s e n t s   t h e   e n d p o i n t   o f   t h e   A P I   s e r v e r   i n s t a n c e   t h a t ' s   d e p l o y e d   o n   t h i s   c o n t r o l   p l a n e   n o d e .   I n   H A   s e t u p s ,   t h i s   d i f f e r s   f r o m   C l u s t e r C o n f i g u r a t i o n . c o n t r o l P l a n e E n d p o i n t   i n   t h e   s e n s e   t h a t   c o n t r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27504"
  },
  {
    "question": "What is JoinConfiguration?",
    "answer": "J o i n C o n f i g u r a t i o n   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   a   p a r t i c u l a r   n o d e .   d r y R u n   t e l l s   i f   t h e   d r y   r u n   m o d e   i s   e n a b l e d ,   d o n ' t   a p p l y   a n y   c h a n g e   i f   i t   i s   s e t ,   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   n o d e R e g i s t r a t i o n   h o l d s   f i e l d s   t h a t   r e l a t e   t o   r e g i s t e r i n g   t h e   n e w   c o n t r o l - p l a n e   n o d e   t o   t h e   c l u s t e r   c a C e r t P a t h   i s   t h e   p a t h   t o   t h e   S S L   c e r t i f i c a t e   a u t h o r i t y   u s e d   t o   s e c u r e   c o m m u n i c a t i o n s   b e t w e e n   n o d e   a n d   c o n t r o l - p l a n e .   D e f a u l t s   t o   \" / e t c / k u b e r n e t e s / p k i / c a . c r t \" .   d i s c o v e r y   s p e c i f i e s   t h e   o p t i o n s   f o r   t h e   k u b e l e t   t o   u s e   d u r i n g   t h e   T L S   b o o t s t r a p   p r o c e s s .   c o n t r o l P l a n e   d e f i n e s   t h e   a d d i t i o n a l   c o n t r o l   p l a n e   i n s t a n c e   t o   b e   d e p l o y e d   o n   t h e   j o i n i n g   n o d e .   I f   n i l ,   n o   a d d i t i o n a l   c o n t r o l   p l a n e   i n s t a n c e   w i l l   b e   d e p l o y e d .   s k i p P h a s e s   i s   a   l i s t   o f   p h a s e s   t o   s k i p   d u r i n g   c o m m a n d   e x e c u t i o n .   T h e   l i s t   o f   p h a s e s   c a n   b e   o b t a i n e d   w i t h   t h e   k u b e a d m   j o i n   - - h e l p   c o m m a n d .   T h e   f l a g   - - s k i p - p h a s e s   t a k e s   p r e c e d e n c e   o v e r   t h i s   f i e l d .   p a t c h e s   c o n t a i n s   o p t i o n s   r e l a t e d   t o   a p p l y i n g   p a t c h e s   t o   c o m p o n e n t s   d e p l o y e d   b y   k u b e a d m   d u r i n g   k u b e a d m   j o i n .   t i m e o u t s   h o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27505"
  },
  {
    "question": "What is ResetConfiguration?",
    "answer": "R e s e t C o n f i g u r a t i o n   c o n t a i n s   a   l i s t   o f   f i e l d s   t h a t   a r e   s p e c i f i c a l l y   k u b e a d m   r e s e t - o n l y   r u n t i m e   i n f o r m a t i o n .   c l e a n u p T m p D i r   s p e c i f i e s   w h e t h e r   t h e   \" / e t c / k u b e r n e t e s / t m p \"   d i r e c t o r y   s h o u l d   b e   c l e a n e d   d u r i n g   t h e   r e s e t   p r o c e s s .   c e r t i f i c a t e s D i r   s p e c i f i e s   t h e   d i r e c t o r y   w h e r e   t h e   c e r t i f i c a t e s   a r e   s t o r e d .   I f   s p e c i f i e d ,   i t   w i l l   b e   c l e a n e d   d u r i n g   t h e   r e s e t   p r o c e s s .   c r i S o c k e t   i s   u s e d   t o   r e t r i e v e   c o n t a i n e r   r u n t i m e   i n f o r o m a t i o n   a n d   u s e d   f o r   t h e   r e m o v a l   o f   t h e   c o n t a i n e r s .   I f   c r i S o c k e t   i s   n o t   s p e c i f i e d   b y   f l a g   o r   c o n f i g   f i l e ,   k u b e a d m   w i l l   t r y   t o   d e t e c t   o n e   v a l i d   C R I   s o c k e t   i n s t e a d .   d r y R u n   t e l l s   i f   t h e   d r y   r u n   m o d e   i s   e n a b l e d ,   d o n ' t   a p p l y   a n y   c h a n g e   i f   i t   i s   s e t   a n d   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   T h e   f o r c e   f l a g   i n s t r u c t s   k u b e a d m   t o   r e s e t   t h e   n o d e   w i t h o u t   p r o m p t i n g   f o r   c o n f i r m a t i o n .   i g n o r e P r e f l i g h t E r r o r s   p r o v i d e s   a   l i s t   o f   p r e - f l i g h t   e r r o r s   t o   b e   i g n o r e d   d u r i n g   t h e   r e s e t   p r o c e s s ,   e . g .   I s P r i v i l e g e d U s e r , S w a p .   V a l u e   a l l   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .   s k i p P h a s e s   i s   a   l i s t   o f   p h a s e s   t o   s k i p   d u r i n g   c o m m a n d   e x e c ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27506"
  },
  {
    "question": "What is UpgradeConfiguration?",
    "answer": "U p g r a d e C o n f i g u r a t i o n   c o n t a i n s   a   l i s t   o f   o p t i o n s   t h a t   a r e   s p e c i f i c   t o   k u b e a d m   u p g r a d e   s u b c o m m a n d s .   a p p l y   h o l d s   a   l i s t   o f   o p t i o n s   t h a t   a r e   s p e c i f i c   t o   t h e   k u b e a d m   u p g r a d e   a p p l y   c o m m a n d .   d i f f   h o l d s   a   l i s t   o f   o p t i o n s   t h a t   a r e   s p e c i f i c   t o   t h e   k u b e a d m   u p g r a d e   d i f f   c o m m a n d .   n o d e   h o l d s   a   l i s t   o f   o p t i o n s   t h a t   a r e   s p e c i f i c   t o   t h e   k u b e a d m   u p g r a d e   n o d e   c o m m a n d .   p l a n   h o l d s   a   l i s t   o f   o p t i o n s   t h a t   a r e   s p e c i f i c   t o   t h e   k u b e a d m   u p g r a d e   p l a n   c o m m a n d .   t i m e o u t s   h o l d s   v a r i o u s   t i m e o u t s   t h a t   a p p l y   t o   k u b e a d m   c o m m a n d s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27507"
  },
  {
    "question": "What is APIEndpoint?",
    "answer": "A p p e a r s   i n :   I n i t C o n f i g u r a t i o n J o i n C o n t r o l P l a n e   I n i t C o n f i g u r a t i o n   J o i n C o n t r o l P l a n e   A P I E n d p o i n t   s t r u c t   c o n t a i n s   e l e m e n t s   o f   A P I   s e r v e r   i n s t a n c e   d e p l o y e d   o n   a   n o d e .   a d v e r t i s e A d d r e s s   s e t s   t h e   I P   a d d r e s s   f o r   t h e   A P I   s e r v e r   t o   a d v e r t i s e .   b i n d P o r t   s e t s   t h e   s e c u r e   p o r t   f o r   t h e   A P I   S e r v e r   t o   b i n d   t o .   D e f a u l t s   t o   6 4 4 3 .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27508"
  },
  {
    "question": "What is APIServer?",
    "answer": "A p p e a r s   i n :   C l u s t e r C o n f i g u r a t i o n   A P I S e r v e r   h o l d s   s e t t i n g s   n e c e s s a r y   f o r   A P I   s e r v e r   d e p l o y m e n t s   i n   t h e   c l u s t e r   c e r t S A N s   s e t s   e x t r a   S u b j e c t   A l t e r n a t i v e   N a m e s   ( S A N s )   f o r   t h e   A P I   S e r v e r   s i g n i n g   c e r t i f i c a t e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27509"
  },
  {
    "question": "What is Arg?",
    "answer": "A p p e a r s   i n :   C o n t r o l P l a n e C o m p o n e n t L o c a l E t c d N o d e R e g i s t r a t i o n O p t i o n s   C o n t r o l P l a n e C o m p o n e n t   L o c a l E t c d   N o d e R e g i s t r a t i o n O p t i o n s   A r g   r e p r e s e n t s   a n   a r g u m e n t   w i t h   a   n a m e   a n d   a   v a l u e .   T h e   n a m e   o f   t h e   a r g u m e n t .   T h e   v a l u e   o f   t h e   a r g u m e n t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27510"
  },
  {
    "question": "What is BootstrapTokenDiscovery?",
    "answer": "A p p e a r s   i n :   D i s c o v e r y   B o o t s t r a p T o k e n D i s c o v e r y   i s   u s e d   t o   s e t   t h e   o p t i o n s   f o r   b o o t s t r a p   t o k e n   b a s e d   d i s c o v e r y .   t o k e n   i s   a   t o k e n   u s e d   t o   v a l i d a t e   c l u s t e r   i n f o r m a t i o n   f e t c h e d   f r o m   t h e   c o n t r o l - p l a n e .   a p i S e r v e r E n d p o i n t   i s   a n   I P   o r   d o m a i n   n a m e   t o   t h e   A P I   s e r v e r   f r o m   w h i c h   i n f o r m a t i o n   w i l l   b e   f e t c h e d .   c a C e r t H a s h e s   s p e c i f i e s   a   s e t   o f   p u b l i c   k e y   p i n s   t o   v e r i f y   w h e n   t o k e n - b a s e d   d i s c o v e r y   i s   u s e d .   T h e   r o o t   C A   f o u n d   d u r i n g   d i s c o v e r y   m u s t   m a t c h   o n e   o f   t h e s e   v a l u e s .   S p e c i f y i n g   a n   e m p t y   s e t   d i s a b l e s   r o o t   C A   p i n n i n g ,   w h i c h   c a n   b e   u n s a f e .   E a c h   h a s h   i s   s p e c i f i e d   a s   < t y p e > : < v a l u e > ,   w h e r e   t h e   o n l y   c u r r e n t l y   s u p p o r t e d   t y p e   i s   \" s h a 2 5 6 \" .   T h i s   i s   a   h e x - e n c o d e d   S H A - 2 5 6   h a s h   o f   t h e   S u b j e c t   P u b l i c   K e y   I n f o   ( S P K I )   o b j e c t   i n   D E R - e n c o d e d   A S N . 1 .   T h e s e   h a s h e s   c a n   b e   / /   c a l c u l a t e d   u s i n g ,   f o r   e x a m p l e ,   O p e n S S L .   u n s a f e S k i p C A V e r i f i c a t i o n   a l l o w s   t o k e n - b a s e d   d i s c o v e r y   w i t h o u t   C A   v e r i f i c a t i o n   v i a   c a C e r t H a s h e s .   T h i s   c a n   w e a k e n   t h e   s e c u r i t y   o f   k u b e a d m   s i n c e   o t h e r   n o d e s   c a n   i m p e r s o n a t e   t h e   c o n t r o l - p l a n e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27511"
  },
  {
    "question": "What is ControlPlaneComponent?",
    "answer": "A p p e a r s   i n :   C l u s t e r C o n f i g u r a t i o n A P I S e r v e r   C l u s t e r C o n f i g u r a t i o n   A P I S e r v e r   C o n t r o l P l a n e C o m p o n e n t   h o l d s   s e t t i n g s   c o m m o n   t o   c o n t r o l   p l a n e   c o m p o n e n t   o f   t h e   c l u s t e r   e x t r a A r g s   i s   a n   e x t r a   s e t   o f   f l a g s   t o   p a s s   t o   t h e   c o n t r o l   p l a n e   c o m p o n e n t .   A n   a r g u m e n t   n a m e   i n   t h i s   l i s t   i s   t h e   f l a g   n a m e   a s   i t   a p p e a r s   o n   t h e   c o m m a n d   l i n e   e x c e p t   w i t h o u t   l e a d i n g   d a s h ( e s ) .   E x t r a   a r g u m e n t s   w i l l   o v e r r i d e   e x i s t i n g   d e f a u l t   a r g u m e n t s .   D u p l i c a t e   e x t r a   a r g u m e n t s   a r e   a l l o w e d .   e x t r a V o l u m e s   i s   a n   e x t r a   s e t   o f   h o s t   v o l u m e s ,   m o u n t e d   t o   t h e   c o n t r o l   p l a n e   c o m p o n e n t .   e x t r a E n v s   i s   a n   e x t r a   s e t   o f   e n v i r o n m e n t   v a r i a b l e s   t o   p a s s   t o   t h e   c o n t r o l   p l a n e   c o m p o n e n t .   E n v i r o n m e n t   v a r i a b l e s   p a s s e d   u s i n g   e x t r a E n v s   w i l l   o v e r r i d e   a n y   e x i s t i n g   e n v i r o n m e n t   v a r i a b l e s ,   o r   * _ p r o x y   e n v i r o n m e n t   v a r i a b l e s   t h a t   k u b e a d m   a d d s   b y   d e f a u l t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27512"
  },
  {
    "question": "What is DNS?",
    "answer": "A p p e a r s   i n :   C l u s t e r C o n f i g u r a t i o n   D N S   d e f i n e s   t h e   D N S   a d d o n   t h a t   s h o u l d   b e   u s e d   i n   t h e   c l u s t e r   i m a g e M e t a   a l l o w s   t o   c u s t o m i z e   t h e   i m a g e   u s e d   f o r   t h e   D N S   a d d o n .   d i s a b l e d   s p e c i f i e s   w h e t h e r   t o   d i s a b l e   t h i s   a d d o n   i n   t h e   c l u s t e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27513"
  },
  {
    "question": "What is Discovery?",
    "answer": "A p p e a r s   i n :   J o i n C o n f i g u r a t i o n   D i s c o v e r y   s p e c i f i e s   t h e   o p t i o n s   f o r   t h e   k u b e l e t   t o   u s e   d u r i n g   t h e   T L S   B o o t s t r a p   p r o c e s s   b o o t s t r a p T o k e n   i s   u s e d   t o   s e t   t h e   o p t i o n s   f o r   b o o t s t r a p   t o k e n   b a s e d   d i s c o v e r y .   b o o t s t r a p T o k e n   a n d   f i l e   a r e   m u t u a l l y   e x c l u s i v e .   f i l e   i s   u s e d   t o   s p e c i f y   a   f i l e   o r   U R L   t o   a   k u b e c o n f i g   f i l e   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   b o o t s t r a p T o k e n   a n d   f i l e   a r e   m u t u a l l y   e x c l u s i v e .   t l s B o o t s t r a p T o k e n   i s   a   t o k e n   u s e d   f o r   T L S   b o o t s t r a p p i n g .   I f   b o o t s t r a p T o k e n   i s   s e t ,   t h i s   f i e l d   i s   d e f a u l t e d   t o   b o o t s t r a p T o k e n . t o k e n ,   b u t   c a n   b e   o v e r r i d d e n .   I f   f i l e   i s   s e t ,   t h i s   f i e l d   m u s t   b e   s e t   i n   c a s e   t h e   K u b e C o n f i g F i l e   d o e s   n o t   c o n t a i n   a n y   o t h e r   a u t h e n t i c a t i o n   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27514"
  },
  {
    "question": "What is EncryptionAlgorithmType?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   C l u s t e r C o n f i g u r a t i o n   E n c r y p t i o n A l g o r i t h m T y p e   c a n   d e f i n e   a n   a s y m m e t r i c   e n c r y p t i o n   a l g o r i t h m   t y p e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27515"
  },
  {
    "question": "What is EnvVar?",
    "answer": "A p p e a r s   i n :   C o n t r o l P l a n e C o m p o n e n t L o c a l E t c d   C o n t r o l P l a n e C o m p o n e n t   L o c a l E t c d   E n v V a r   r e p r e s e n t s   a n   e n v i r o n m e n t   v a r i a b l e   p r e s e n t   i n   a   C o n t a i n e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27516"
  },
  {
    "question": "What is Etcd?",
    "answer": "A p p e a r s   i n :   C l u s t e r C o n f i g u r a t i o n   E t c d   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   E t c d   c o n f i g u r a t i o n .   l o c a l   p r o v i d e s   c o n f i g u r a t i o n   k n o b s   f o r   c o n f i g u r i n g   t h e   l o c a l   e t c d   i n s t a n c e .   l o c a l   a n d   e x t e r n a l   a r e   m u t u a l l y   e x c l u s i v e .   e x t e r n a l   d e s c r i b e s   h o w   t o   c o n n e c t   t o   a n   e x t e r n a l   e t c d   c l u s t e r .   l o c a l   a n d   e x t e r n a l   a r e   m u t u a l l y   e x c l u s i v e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27517"
  },
  {
    "question": "What is ExternalEtcd?",
    "answer": "A p p e a r s   i n :   E t c d   E x t e r n a l E t c d   d e s c r i b e s   a n   e x t e r n a l   e t c d   c l u s t e r .   K u b e a d m   h a s   n o   k n o w l e d g e   o f   w h e r e   c e r t i f i c a t e   f i l e s   l i v e   a n d   t h e y   m u s t   b e   s u p p l i e d .   e n d p o i n t s   c o n t a i n s   t h e   l i s t   o f   e t c d   m e m b e r s .   c a F i l e   i s   a n   S S L   C e r t i f i c a t e   A u t h o r i t y   ( C A )   f i l e   u s e d   t o   s e c u r e   e t c d   c o m m u n i c a t i o n .   R e q u i r e d   i f   u s i n g   a   T L S   c o n n e c t i o n .   c e r t F i l e   i s   a n   S S L   c e r t i f i c a t i o n   f i l e   u s e d   t o   s e c u r e   e t c d   c o m m u n i c a t i o n .   R e q u i r e d   i f   u s i n g   a   T L S   c o n n e c t i o n .   k e y F i l e   i s   a n   S S L   k e y   f i l e   u s e d   t o   s e c u r e   e t c d   c o m m u n i c a t i o n .   R e q u i r e d   i f   u s i n g   a   T L S   c o n n e c t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27518"
  },
  {
    "question": "What is FileDiscovery?",
    "answer": "A p p e a r s   i n :   D i s c o v e r y   F i l e D i s c o v e r y   i s   u s e d   t o   s p e c i f y   a   f i l e   o r   U R L   t o   a   k u b e c o n f i g   f i l e   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .   k u b e C o n f i g P a t h   i s   u s e d   t o   s p e c i f y   t h e   a c t u a l   f i l e   p a t h   o r   U R L   t o   t h e   k u b e c o n f i g   f i l e   f r o m   w h i c h   t o   l o a d   c l u s t e r   i n f o r m a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27519"
  },
  {
    "question": "What is HostPathMount?",
    "answer": "A p p e a r s   i n :   C o n t r o l P l a n e C o m p o n e n t   H o s t P a t h M o u n t   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   v o l u m e s   t h a t   a r e   m o u n t e d   f r o m   t h e   h o s t .   n a m e   i s   t h e   n a m e   o f   t h e   v o l u m e   i n s i d e   t h e   P o d   t e m p l a t e .   h o s t P a t h   i s   t h e   p a t h   i n   t h e   h o s t   t h a t   w i l l   b e   m o u n t e d   i n s i d e   t h e   P o d .   m o u n t P a t h   i s   t h e   p a t h   i n s i d e   t h e   P o d   w h e r e   h o s t P a t h   w i l l   b e   m o u n t e d .   r e a d O n l y   c o n t r o l s   w r i t e   a c c e s s   t o   t h e   v o l u m e .   p a t h T y p e   i s   t h e   t y p e   o f   t h e   h o s t P a t h .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27520"
  },
  {
    "question": "What is ImageMeta?",
    "answer": "A p p e a r s   i n :   D N S L o c a l E t c d   D N S   L o c a l E t c d   I m a g e M e t a   a l l o w s   t o   c u s t o m i z e   t h e   i m a g e   u s e d   f o r   c o m p o n e n t s   t h a t   a r e   n o t   o r i g i n a t e d   f r o m   t h e   K u b e r n e t e s / K u b e r n e t e s   r e l e a s e   p r o c e s s   i m a g e R e p o s i t o r y   s e t s   t h e   c o n t a i n e r   r e g i s t r y   t o   p u l l   i m a g e s   f r o m .   i f   n o t   s e t ,   t h e   i m a g e R e p o s i t o r y   d e f i n e d   i n   C l u s t e r C o n f i g u r a t i o n   w i l l   b e   u s e d   i n s t e a d .   i m a g e T a g   a l l o w s   t o   s p e c i f y   a   t a g   f o r   t h e   i m a g e .   I n   c a s e   t h i s   v a l u e   i s   s e t ,   k u b e a d m   d o e s   n o t   c h a n g e   a u t o m a t i c a l l y   t h e   v e r s i o n   o f   t h e   a b o v e   c o m p o n e n t s   d u r i n g   u p g r a d e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27521"
  },
  {
    "question": "What is JoinControlPlane?",
    "answer": "A p p e a r s   i n :   J o i n C o n f i g u r a t i o n   J o i n C o n t r o l P l a n e   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   a n   a d d i t i o n a l   c o n t r o l   p l a n e   i n s t a n c e   t o   b e   d e p l o y e d   o n   t h e   j o i n i n g   n o d e .   l o c a l A P I E n d p o i n t   r e p r e s e n t s   t h e   e n d p o i n t   o f   t h e   A P I   s e r v e r   i n s t a n c e   t o   b e   d e p l o y e d   o n   t h i s   n o d e .   c e r t i f i c a t e K e y   i s   t h e   k e y   t h a t   i s   u s e d   f o r   d e c r y p t i o n   o f   c e r t i f i c a t e s   a f t e r   t h e y   a r e   d o w n l o a d e d   f r o m   t h e   S e c r e t   u p o n   j o i n i n g   a   n e w   c o n t r o l   p l a n e   n o d e .   T h e   c o r r e s p o n d i n g   e n c r y p t i o n   k e y   i s   i n   t h e   I n i t C o n f i g u r a t i o n .   T h e   c e r t i f i c a t e   k e y   i s   a   h e x   e n c o d e d   s t r i n g   t h a t   i s   a n   A E S   k e y   o f   s i z e   3 2   b y t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27522"
  },
  {
    "question": "What is LocalEtcd?",
    "answer": "A p p e a r s   i n :   E t c d   L o c a l E t c d   d e s c r i b e s   t h a t   k u b e a d m   s h o u l d   r u n   a n   e t c d   c l u s t e r   l o c a l l y .   I m a g e M e t a   a l l o w s   t o   c u s t o m i z e   t h e   c o n t a i n e r   u s e d   f o r   e t c d   d a t a D i r   i s   t h e   d i r e c t o r y   e t c d   w i l l   p l a c e   i t s   d a t a .   D e f a u l t s   t o   \" / v a r / l i b / e t c d \" .   e x t r a A r g s   a r e   e x t r a   a r g u m e n t s   p r o v i d e d   t o   t h e   e t c d   b i n a r y   w h e n   r u n   i n s i d e   a   s t a t i c   P o d .   A n   a r g u m e n t   n a m e   i n   t h i s   l i s t   i s   t h e   f l a g   n a m e   a s   i t   a p p e a r s   o n   t h e   c o m m a n d   l i n e   e x c e p t   w i t h o u t   l e a d i n g   d a s h ( e s ) .   E x t r a   a r g u m e n t s   w i l l   o v e r r i d e   e x i s t i n g   d e f a u l t   a r g u m e n t s .   D u p l i c a t e   e x t r a   a r g u m e n t s   a r e   a l l o w e d .   e x t r a E n v s   i s   a n   e x t r a   s e t   o f   e n v i r o n m e n t   v a r i a b l e s   t o   p a s s   t o   t h e   c o n t r o l   p l a n e   c o m p o n e n t .   E n v i r o n m e n t   v a r i a b l e s   p a s s e d   u s i n g   e x t r a E n v s   w i l l   o v e r r i d e   a n y   e x i s t i n g   e n v i r o n m e n t   v a r i a b l e s ,   o r   * _ p r o x y   e n v i r o n m e n t   v a r i a b l e s   t h a t   k u b e a d m   a d d s   b y   d e f a u l t .   s e r v e r C e r t S A N s   s e t s   e x t r a   S u b j e c t   A l t e r n a t i v e   N a m e s   ( S A N s )   f o r   t h e   e t c d   s e r v e r   s i g n i n g   c e r t i f i c a t e .   p e e r C e r t S A N s   s e t s   e x t r a   S u b j e c t   A l t e r n a t i v e   N a m e s   ( S A N s )   f o r   t h e   e t c d   p e e r   s i g n i n g   c e r t i f i c a t e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27523"
  },
  {
    "question": "What is Networking?",
    "answer": "A p p e a r s   i n :   C l u s t e r C o n f i g u r a t i o n   N e t w o r k i n g   c o n t a i n s   e l e m e n t s   d e s c r i b i n g   c l u s t e r ' s   n e t w o r k i n g   c o n f i g u r a t i o n .   s e r v i c e S u b n e t   i s   t h e   s u b n e t   u s e d   b y   K u b e r n e t e s   S e r v i c e s .   D e f a u l t s   t o   \" 1 0 . 9 6 . 0 . 0 / 1 2 \" .   p o d S u b n e t   i s   t h e   s u b n e t   u s e d   b y   P o d s .   d n s D o m a i n   i s   t h e   d n s   d o m a i n   u s e d   b y   K u b e r n e t e s   S e r v i c e s .   D e f a u l t s   t o   \" c l u s t e r . l o c a l \" .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27524"
  },
  {
    "question": "What is NodeRegistrationOptions?",
    "answer": "A p p e a r s   i n :   I n i t C o n f i g u r a t i o n J o i n C o n f i g u r a t i o n   I n i t C o n f i g u r a t i o n   J o i n C o n f i g u r a t i o n   N o d e R e g i s t r a t i o n O p t i o n s   h o l d s   f i e l d s   t h a t   r e l a t e   t o   r e g i s t e r i n g   a   n e w   c o n t r o l - p l a n e   o r   n o d e   t o   t h e   c l u s t e r ,   e i t h e r   v i a   k u b e a d m   i n i t   o r   k u b e a d m   j o i n .   n a m e   i s   t h e   . M e t a d a t a . N a m e   f i e l d   o f   t h e   N o d e   A P I   o b j e c t   t h a t   w i l l   b e   c r e a t e d   i n   t h i s   k u b e a d m   i n i t   o r   k u b e a d m   j o i n   o p e r a t i o n .   T h i s   f i e l d   i s   a l s o   u s e d   i n   t h e   C o m m o n N a m e   f i e l d   o f   t h e   k u b e l e t ' s   c l i e n t   c e r t i f i c a t e   t o   t h e   A P I   s e r v e r .   D e f a u l t s   t o   t h e   h o s t n a m e   o f   t h e   n o d e   i f   n o t   p r o v i d e d .   c r i S o c k e t   i s   u s e d   t o   r e t r i e v e   c o n t a i n e r   r u n t i m e   i n f o .   T h i s   i n f o r m a t i o n   w i l l   b e   a n n o t a t e d   t o   t h e   N o d e   A P I   o b j e c t ,   f o r   l a t e r   r e - u s e .   t a i n t s   s p e c i f i e s   t h e   t a i n t s   t h e   N o d e   A P I   o b j e c t   s h o u l d   b e   r e g i s t e r e d   w i t h .   I f   t h i s   f i e l d   i s   u n s e t ,   i . e .   n i l ,   i t   w i l l   b e   d e f a u l t e d   w i t h   a   c o n t r o l - p l a n e   t a i n t   f o r   c o n t r o l - p l a n e   n o d e s .   I f   y o u   d o n ' t   w a n t   t o   t a i n t   y o u r   c o n t r o l - p l a n e   n o d e ,   s e t   t h i s   f i e l d   t o   a n   e m p t y   l i s t ,   i . e .   t a i n t s :   [ ]   i n   t h e   Y A M L   f i l e .   T h i s   f i e l d   i s   s o l e l y   u s e d   f o r   N o d e   r e g i s t r a t i o n .   k u b e l ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27525"
  },
  {
    "question": "What is Patches?",
    "answer": "A p p e a r s   i n :   I n i t C o n f i g u r a t i o n J o i n C o n f i g u r a t i o n U p g r a d e A p p l y C o n f i g u r a t i o n U p g r a d e N o d e C o n f i g u r a t i o n   I n i t C o n f i g u r a t i o n   J o i n C o n f i g u r a t i o n   U p g r a d e A p p l y C o n f i g u r a t i o n   U p g r a d e N o d e C o n f i g u r a t i o n   P a t c h e s   c o n t a i n s   o p t i o n s   r e l a t e d   t o   a p p l y i n g   p a t c h e s   t o   c o m p o n e n t s   d e p l o y e d   b y   k u b e a d m .   d i r e c t o r y   i s   a   p a t h   t o   a   d i r e c t o r y   t h a t   c o n t a i n s   f i l e s   n a m e d   \" t a r g e t [ s u f f i x ] [ + p a t c h t y p e ] . e x t e n s i o n \" .   F o r   e x a m p l e ,   \" k u b e - a p i s e r v e r 0 + m e r g e . y a m l \"   o r   j u s t   \" e t c d . j s o n \" .   \" t a r g e t \"   c a n   b e   o n e   o f   \" k u b e - a p i s e r v e r \" ,   \" k u b e - c o n t r o l l e r - m a n a g e r \" ,   \" k u b e - s c h e d u l e r \" ,   \" e t c d \" ,   \" k u b e l e t c o n f i g u r a t i o n \" ,   \" c o r e d n s d e p l o y m e n t \" .   \" p a t c h t y p e \"   c a n   b e   o n e   o f   \" s t r a t e g i c \" ,   \" m e r g e \"   o r   \" j s o n \"   a n d   t h e y   m a t c h   t h e   p a t c h   f o r m a t s   s u p p o r t e d   b y   k u b e c t l .   T h e   d e f a u l t   \" p a t c h t y p e \"   i s   \" s t r a t e g i c \" .   \" e x t e n s i o n \"   m u s t   b e   e i t h e r   \" j s o n \"   o r   \" y a m l \" .   \" s u f f i x \"   i s   a n   o p t i o n a l   s t r i n g   t h a t   c a n   b e   u s e d   t o   d e t e r m i n e   w h i c h   p a t c h e s   a r e   a p p l i e d   f i r s t   a l p h a - n u m e r i c a l l y .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27526"
  },
  {
    "question": "What is Proxy?",
    "answer": "A p p e a r s   i n :   C l u s t e r C o n f i g u r a t i o n   P r o x y   d e f i n e s   t h e   p r o x y   a d d o n   t h a t   s h o u l d   b e   u s e d   i n   t h e   c l u s t e r .   d i s a b l e d   s p e c i f i e s   w h e t h e r   t o   d i s a b l e   t h i s   a d d o n   i n   t h e   c l u s t e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27527"
  },
  {
    "question": "What is Timeouts?",
    "answer": "A p p e a r s   i n :   I n i t C o n f i g u r a t i o n J o i n C o n f i g u r a t i o n R e s e t C o n f i g u r a t i o n U p g r a d e C o n f i g u r a t i o n   I n i t C o n f i g u r a t i o n   J o i n C o n f i g u r a t i o n   R e s e t C o n f i g u r a t i o n   U p g r a d e C o n f i g u r a t i o n   T i m e o u t s   h o l d s   v a r i o u s   t i m e o u t s   t h a t   a p p l y   t o   k u b e a d m   c o m m a n d s .   c o n t r o l P l a n e C o m p o n e n t H e a l t h C h e c k   i s   t h e   a m o u n t   o f   t i m e   t o   w a i t   f o r   a   c o n t r o l   p l a n e   c o m p o n e n t ,   s u c h   a s   t h e   A P I   s e r v e r ,   t o   b e   h e a l t h y   d u r i n g   k u b e a d m   i n i t   a n d   k u b e a d m   j o i n .   D e f a u l t :   4 m   k u b e l e t H e a l t h C h e c k   i s   t h e   a m o u n t   o f   t i m e   t o   w a i t   f o r   t h e   k u b e l e t   t o   b e   h e a l t h y   d u r i n g   k u b e a d m   i n i t   a n d   k u b e a d m   j o i n .   D e f a u l t :   4 m   k u b e r n e t e s A P I C a l l   i s   t h e   a m o u n t   o f   t i m e   t o   w a i t   f o r   t h e   k u b e a d m   c l i e n t   t o   c o m p l e t e   a   r e q u e s t   t o   t h e   A P I   s e r v e r .   T h i s   a p p l i e s   t o   a l l   t y p e s   o f   m e t h o d s   ( G E T ,   P O S T ,   e t c ) .   D e f a u l t :   1 m   e t c d A P I C a l l   i s   t h e   a m o u n t   o f   t i m e   t o   w a i t   f o r   t h e   k u b e a d m   e t c d   c l i e n t   t o   c o m p l e t e   a   r e q u e s t   t o   t h e   e t c d   c l u s t e r .   D e f a u l t :   2 m   t l s B o o t s t r a p   i s   t h e   a m o u n t   o f   t i m e   t o   w a i t   f o r   t h e   k u b e l e t   t o   c o m p l e t e   T L S   b o o t s t r a p   f o r   a   j o i n i n g   n o d e .   D e f a u l t :   5 m   d i s c o v e r y   i s   t h e   a m o u n t   o f   t i m e   t o   w a i t   f o r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27528"
  },
  {
    "question": "What is UpgradeApplyConfiguration?",
    "answer": "A p p e a r s   i n :   U p g r a d e C o n f i g u r a t i o n   U p g r a d e A p p l y C o n f i g u r a t i o n   c o n t a i n s   a   l i s t   o f   c o n f i g u r a b l e   o p t i o n s   w h i c h   a r e   s p e c i f i c   t o   t h e   \" k u b e a d m   u p g r a d e   a p p l y \"   c o m m a n d .   k u b e r n e t e s V e r s i o n   i s   t h e   t a r g e t   v e r s i o n   o f   t h e   c o n t r o l   p l a n e .   a l l o w E x p e r i m e n t a l U p g r a d e s   i n s t r u c t s   k u b e a d m   t o   s h o w   u n s t a b l e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w s   u p g r a d i n g   t o   a n   a l p h a / b e t a / r e l e a s e   c a n d i d a t e   v e r s i o n   o f   K u b e r n e t e s .   D e f a u l t :   f a l s e   E n a b l e   a l l o w R C U p g r a d e s   w i l l   s h o w   r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w s   u p g r a d i n g   t o   a   r e l e a s e   c a n d i d a t e   v e r s i o n   o f   K u b e r n e t e s .   c e r t i f i c a t e R e n e w a l   i n s t r u c t s   k u b e a d m   t o   e x e c u t e   c e r t i f i c a t e   r e n e w a l   d u r i n g   u p g r a d e s .   D e f a u l t s   t o   t r u e .   d r y R u n   t e l l s   i f   t h e   d r y   r u n   m o d e   i s   e n a b l e d ,   d o n ' t   a p p l y   a n y   c h a n g e   i f   i t   i s   a n d   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   e t c d U p g r a d e   i n s t r u c t s   k u b e a d m   t o   e x e c u t e   e t c d   u p g r a d e   d u r i n g   u p g r a d e s .   D e f a u l t s   t o   t r u e .   f o r c e U p g r a d e   f l a g   i n s t r u c t s   k u b e a d m   t o   u p g r a d e   t h e   c l u s t e r   w i t h o u t   p r o m p t i n g   f o r   c o n f i r m a t i o n .   i g n o r e P r e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27529"
  },
  {
    "question": "What is UpgradeDiffConfiguration?",
    "answer": "A p p e a r s   i n :   U p g r a d e C o n f i g u r a t i o n   U p g r a d e D i f f C o n f i g u r a t i o n   c o n t a i n s   a   l i s t   o f   c o n f i g u r a b l e   o p t i o n s   w h i c h   a r e   s p e c i f i c   t o   t h e   k u b e a d m   u p g r a d e   d i f f   c o m m a n d .   k u b e r n e t e s V e r s i o n   i s   t h e   t a r g e t   v e r s i o n   o f   t h e   c o n t r o l   p l a n e .   d i f f C o n t e x t L i n e s   i s   t h e   n u m b e r   o f   l i n e s   o f   c o n t e x t   i n   t h e   d i f f .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27530"
  },
  {
    "question": "What is UpgradeNodeConfiguration?",
    "answer": "A p p e a r s   i n :   U p g r a d e C o n f i g u r a t i o n   U p g r a d e N o d e C o n f i g u r a t i o n   c o n t a i n s   a   l i s t   o f   c o n f i g u r a b l e   o p t i o n s   w h i c h   a r e   s p e c i f i c   t o   t h e   \" k u b e a d m   u p g r a d e   n o d e \"   c o m m a n d .   c e r t i f i c a t e R e n e w a l   i n s t r u c t s   k u b e a d m   t o   e x e c u t e   c e r t i f i c a t e   r e n e w a l   d u r i n g   u p g r a d e s .   D e f a u l t s   t o   t r u e .   d r y R u n   t e l l s   i f   t h e   d r y   r u n   m o d e   i s   e n a b l e d ,   d o n ' t   a p p l y   a n y   c h a n g e   i f   i t   i s   a n d   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   e t c d U p g r a d e   i n s t r u c t s   k u b e a d m   t o   e x e c u t e   e t c d   u p g r a d e   d u r i n g   u p g r a d e s .   D e f a u l t s   t o   t r u e .   i g n o r e P r e f l i g h t E r r o r s   p r o v i d e s   a   s l i c e   o f   p r e - f l i g h t   e r r o r s   t o   b e   i g n o r e d   d u r i n g   t h e   u p g r a d e   p r o c e s s ,   e . g .   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .   s k i p P h a s e s   i s   a   l i s t   o f   p h a s e s   t o   s k i p   d u r i n g   c o m m a n d   e x e c u t i o n .   T h e   l i s t   o f   p h a s e s   c a n   b e   o b t a i n e d   w i t h   t h e   k u b e a d m   u p g r a d e   n o d e   p h a s e   - - h e l p   c o m m a n d .   p a t c h e s   c o n t a i n s   o p t i o n s   r e l a t e d   t o   a p p l y i n g   p a t c h e s   t o   c o m p o n e n t s   d e p l o y e d   b y   k u b e a d m   d u r i n g   k u b e a d m   u p g r a d e .   i m a g e P u l l P o l i c y   s p e c i f i e s   t h e   p o l i c y   f o r   i m a g e   p u l l i n g   d u r i n g   k u b e a d m   u p g r a d e   n o d e   o p e r a t i o n s .   T h e   v ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27531"
  },
  {
    "question": "What is UpgradePlanConfiguration?",
    "answer": "A p p e a r s   i n :   U p g r a d e C o n f i g u r a t i o n   U p g r a d e P l a n C o n f i g u r a t i o n   c o n t a i n s   a   l i s t   o f   c o n f i g u r a b l e   o p t i o n s   w h i c h   a r e   s p e c i f i c   t o   t h e   \" k u b e a d m   u p g r a d e   p l a n \"   c o m m a n d .   k u b e r n e t e s V e r s i o n   i s   t h e   t a r g e t   v e r s i o n   o f   t h e   c o n t r o l   p l a n e .   a l l o w E x p e r i m e n t a l U p g r a d e s   i n s t r u c t s   k u b e a d m   t o   s h o w   u n s t a b l e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w s   u p g r a d i n g   t o   a n   a l p h a / b e t a / r e l e a s e   c a n d i d a t e   v e r s i o n   o f   K u b e r n e t e s .   D e f a u l t :   f a l s e   E n a b l e   a l l o w R C U p g r a d e s   w i l l   s h o w   r e l e a s e   c a n d i d a t e   v e r s i o n s   o f   K u b e r n e t e s   a s   a n   u p g r a d e   a l t e r n a t i v e   a n d   a l l o w s   u p g r a d i n g   t o   a   r e l e a s e   c a n d i d a t e   v e r s i o n   o f   K u b e r n e t e s .   d r y R u n   t e l l s   i f   t h e   d r y   r u n   m o d e   i s   e n a b l e d ,   d o n ' t   a p p l y   a n y   c h a n g e   i f   i t   i s   a n d   j u s t   o u t p u t   w h a t   w o u l d   b e   d o n e .   i g n o r e P r e f l i g h t E r r o r s   p r o v i d e s   a   s l i c e   o f   p r e - f l i g h t   e r r o r s   t o   b e   i g n o r e d   d u r i n g   t h e   u p g r a d e   p r o c e s s ,   e . g .   ' I s P r i v i l e g e d U s e r , S w a p ' .   V a l u e   ' a l l '   i g n o r e s   e r r o r s   f r o m   a l l   c h e c k s .   p r i n t C o n f i g   s p e c i f i e s   w h e t h e r   t h e   c o n f i g u r a t i o n   f i l e   t h a t   w i l l   b e   u s e d   i n   t h e   u p g r a d e   s h o u l d   b e   p r i n t e d   o r   n o t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27532"
  },
  {
    "question": "What is Resource Types?",
    "answer": "C o n f i g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27533"
  },
  {
    "question": "What is Config?",
    "answer": "C o n f i g   h o l d s   t h e   i n f o r m a t i o n   n e e d e d   t o   b u i l d   c o n n e c t   t o   r e m o t e   k u b e r n e t e s   c l u s t e r s   a s   a   g i v e n   u s e r   L e g a c y   f i e l d   f r o m   p k g / a p i / t y p e s . g o   T y p e M e t a .   T O D O ( j l o w d e r m i l k ) :   r e m o v e   t h i s   a f t e r   e l i m i n a t i n g   d o w n s t r e a m   d e p e n d e n c i e s .   L e g a c y   f i e l d   f r o m   p k g / a p i / t y p e s . g o   T y p e M e t a .   T O D O ( j l o w d e r m i l k ) :   r e m o v e   t h i s   a f t e r   e l i m i n a t i n g   d o w n s t r e a m   d e p e n d e n c i e s .   P r e f e r e n c e s   h o l d s   g e n e r a l   i n f o r m a t i o n   t o   b e   u s e   f o r   c l i   i n t e r a c t i o n s   C l u s t e r s   i s   a   m a p   o f   r e f e r e n c e a b l e   n a m e s   t o   c l u s t e r   c o n f i g s   A u t h I n f o s   i s   a   m a p   o f   r e f e r e n c e a b l e   n a m e s   t o   u s e r   c o n f i g s   C o n t e x t s   i s   a   m a p   o f   r e f e r e n c e a b l e   n a m e s   t o   c o n t e x t   c o n f i g s   C u r r e n t C o n t e x t   i s   t h e   n a m e   o f   t h e   c o n t e x t   t h a t   y o u   w o u l d   l i k e   t o   u s e   b y   d e f a u l t   E x t e n s i o n s   h o l d s   a d d i t i o n a l   i n f o r m a t i o n .   T h i s   i s   u s e f u l   f o r   e x t e n d e r s   s o   t h a t   r e a d s   a n d   w r i t e s   d o n ' t   c l o b b e r   u n k n o w n   f i e l d s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27534"
  },
  {
    "question": "What is AuthInfo?",
    "answer": "A p p e a r s   i n :   N a m e d A u t h I n f o   A u t h I n f o   c o n t a i n s   i n f o r m a t i o n   t h a t   d e s c r i b e s   i d e n t i t y   i n f o r m a t i o n .   T h i s   i s   u s e   t o   t e l l   t h e   k u b e r n e t e s   c l u s t e r   w h o   y o u   a r e .   C l i e n t C e r t i f i c a t e   i s   t h e   p a t h   t o   a   c l i e n t   c e r t   f i l e   f o r   T L S .   C l i e n t C e r t i f i c a t e D a t a   c o n t a i n s   P E M - e n c o d e d   d a t a   f r o m   a   c l i e n t   c e r t   f i l e   f o r   T L S .   O v e r r i d e s   C l i e n t C e r t i f i c a t e   C l i e n t K e y   i s   t h e   p a t h   t o   a   c l i e n t   k e y   f i l e   f o r   T L S .   C l i e n t K e y D a t a   c o n t a i n s   P E M - e n c o d e d   d a t a   f r o m   a   c l i e n t   k e y   f i l e   f o r   T L S .   O v e r r i d e s   C l i e n t K e y   T o k e n   i s   t h e   b e a r e r   t o k e n   f o r   a u t h e n t i c a t i o n   t o   t h e   k u b e r n e t e s   c l u s t e r .   T o k e n F i l e   i s   a   p o i n t e r   t o   a   f i l e   t h a t   c o n t a i n s   a   b e a r e r   t o k e n   ( a s   d e s c r i b e d   a b o v e ) .   I f   b o t h   T o k e n   a n d   T o k e n F i l e   a r e   p r e s e n t ,   T o k e n   t a k e s   p r e c e d e n c e .   I m p e r s o n a t e   i s   t h e   u s e r n a m e   t o   i m p e r s o n a t e .   T h e   n a m e   m a t c h e s   t h e   f l a g .   I m p e r s o n a t e U I D   i s   t h e   u i d   t o   i m p e r s o n a t e .   I m p e r s o n a t e G r o u p s   i s   t h e   g r o u p s   t o   i m p e r s o n a t e .   I m p e r s o n a t e U s e r E x t r a   c o n t a i n s   a d d i t i o n a l   i n f o r m a t i o n   f o r   i m p e r s o n a t e d   u s e r .   U s e r n a m e   i s   t h e   u s e r n a m e   f o r   b a s i c   a u t h e n t i c a t i o n   t o   t h e   k u b e r n e t e s   c l u s t e r .   P a ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27535"
  },
  {
    "question": "What is AuthProviderConfig?",
    "answer": "A p p e a r s   i n :   A u t h I n f o   A u t h P r o v i d e r C o n f i g   h o l d s   t h e   c o n f i g u r a t i o n   f o r   a   s p e c i f i e d   a u t h   p r o v i d e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27536"
  },
  {
    "question": "What is Cluster?",
    "answer": "A p p e a r s   i n :   N a m e d C l u s t e r   C l u s t e r   c o n t a i n s   i n f o r m a t i o n   a b o u t   h o w   t o   c o m m u n i c a t e   w i t h   a   k u b e r n e t e s   c l u s t e r   S e r v e r   i s   t h e   a d d r e s s   o f   t h e   k u b e r n e t e s   c l u s t e r   ( h t t p s : / / h o s t n a m e : p o r t ) .   T L S S e r v e r N a m e   i s   u s e d   t o   c h e c k   s e r v e r   c e r t i f i c a t e .   I f   T L S S e r v e r N a m e   i s   e m p t y ,   t h e   h o s t n a m e   u s e d   t o   c o n t a c t   t h e   s e r v e r   i s   u s e d .   I n s e c u r e S k i p T L S V e r i f y   s k i p s   t h e   v a l i d i t y   c h e c k   f o r   t h e   s e r v e r ' s   c e r t i f i c a t e .   T h i s   w i l l   m a k e   y o u r   H T T P S   c o n n e c t i o n s   i n s e c u r e .   C e r t i f i c a t e A u t h o r i t y   i s   t h e   p a t h   t o   a   c e r t   f i l e   f o r   t h e   c e r t i f i c a t e   a u t h o r i t y .   C e r t i f i c a t e A u t h o r i t y D a t a   c o n t a i n s   P E M - e n c o d e d   c e r t i f i c a t e   a u t h o r i t y   c e r t i f i c a t e s .   O v e r r i d e s   C e r t i f i c a t e A u t h o r i t y   P r o x y U R L   i s   t h e   U R L   t o   t h e   p r o x y   t o   b e   u s e d   f o r   a l l   r e q u e s t s   m a d e   b y   t h i s   c l i e n t .   U R L s   w i t h   \" h t t p \" ,   \" h t t p s \" ,   a n d   \" s o c k s 5 \"   s c h e m e s   a r e   s u p p o r t e d .   I f   t h i s   c o n f i g u r a t i o n   i s   n o t   p r o v i d e d   o r   t h e   e m p t y   s t r i n g ,   t h e   c l i e n t   a t t e m p t s   t o   c o n s t r u c t   a   p r o x y   c o n f i g u r a t i o n   f r o m   h t t p _ p r o x y   a n d   h t t p s _ p r o x y   e n v i r o n m e n t   v a r i a b l e s .   I f   t h e s e   e n v i r o n m e n t   v a r i a b l e s   a r e   n o t   s e t ,   t h e   c l i e n t   d o e s   n o t   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27537"
  },
  {
    "question": "What is Context?",
    "answer": "A p p e a r s   i n :   N a m e d C o n t e x t   C o n t e x t   i s   a   t u p l e   o f   r e f e r e n c e s   t o   a   c l u s t e r   ( h o w   d o   I   c o m m u n i c a t e   w i t h   a   k u b e r n e t e s   c l u s t e r ) ,   a   u s e r   ( h o w   d o   I   i d e n t i f y   m y s e l f ) ,   a n d   a   n a m e s p a c e   ( w h a t   s u b s e t   o f   r e s o u r c e s   d o   I   w a n t   t o   w o r k   w i t h )   C l u s t e r   i s   t h e   n a m e   o f   t h e   c l u s t e r   f o r   t h i s   c o n t e x t   A u t h I n f o   i s   t h e   n a m e   o f   t h e   a u t h I n f o   f o r   t h i s   c o n t e x t   N a m e s p a c e   i s   t h e   d e f a u l t   n a m e s p a c e   t o   u s e   o n   u n s p e c i f i e d   r e q u e s t s   E x t e n s i o n s   h o l d s   a d d i t i o n a l   i n f o r m a t i o n .   T h i s   i s   u s e f u l   f o r   e x t e n d e r s   s o   t h a t   r e a d s   a n d   w r i t e s   d o n ' t   c l o b b e r   u n k n o w n   f i e l d s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27538"
  },
  {
    "question": "What is ExecConfig?",
    "answer": "A p p e a r s   i n :   A u t h I n f o   E x e c C o n f i g   s p e c i f i e s   a   c o m m a n d   t o   p r o v i d e   c l i e n t   c r e d e n t i a l s .   T h e   c o m m a n d   i s   e x e c ' d   a n d   o u t p u t s   s t r u c t u r e d   s t d o u t   h o l d i n g   c r e d e n t i a l s .   S e e   t h e   c l i e n t . a u t h e n t i c a t i o n . k 8 s . i o   A P I   g r o u p   f o r   s p e c i f i c a t i o n s   o f   t h e   e x a c t   i n p u t   a n d   o u t p u t   f o r m a t   C o m m a n d   t o   e x e c u t e .   A r g u m e n t s   t o   p a s s   t o   t h e   c o m m a n d   w h e n   e x e c u t i n g   i t .   E n v   d e f i n e s   a d d i t i o n a l   e n v i r o n m e n t   v a r i a b l e s   t o   e x p o s e   t o   t h e   p r o c e s s .   T h e s e   a r e   u n i o n e d   w i t h   t h e   h o s t ' s   e n v i r o n m e n t ,   a s   w e l l   a s   v a r i a b l e s   c l i e n t - g o   u s e s   t o   p a s s   a r g u m e n t   t o   t h e   p l u g i n .   P r e f e r r e d   i n p u t   v e r s i o n   o f   t h e   E x e c I n f o .   T h e   r e t u r n e d   E x e c C r e d e n t i a l s   M U S T   u s e   t h e   s a m e   e n c o d i n g   v e r s i o n   a s   t h e   i n p u t .   T h i s   t e x t   i s   s h o w n   t o   t h e   u s e r   w h e n   t h e   e x e c u t a b l e   d o e s n ' t   s e e m   t o   b e   p r e s e n t .   F o r   e x a m p l e ,   b r e w   i n s t a l l   f o o - c l i   m i g h t   b e   a   g o o d   I n s t a l l H i n t   f o r   f o o - c l i   o n   M a c   O S   s y s t e m s .   P r o v i d e C l u s t e r I n f o   d e t e r m i n e s   w h e t h e r   o r   n o t   t o   p r o v i d e   c l u s t e r   i n f o r m a t i o n ,   w h i c h   c o u l d   p o t e n t i a l l y   c o n t a i n   v e r y   l a r g e   C A   d a t a ,   t o   t h i s   e x e c   p l u g i n   a s   a   p a r t   o f   t h e   K U B E R N E T E S _ E X E C _ I N F O   e n v i r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27539"
  },
  {
    "question": "What is ExecEnvVar?",
    "answer": "A p p e a r s   i n :   E x e c C o n f i g   E x e c E n v V a r   i s   u s e d   f o r   s e t t i n g   e n v i r o n m e n t   v a r i a b l e s   w h e n   e x e c u t i n g   a n   e x e c - b a s e d   c r e d e n t i a l   p l u g i n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27540"
  },
  {
    "question": "What is ExecInteractiveMode?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   E x e c C o n f i g   E x e c I n t e r a c t i v e M o d e   i s   a   s t r i n g   t h a t   d e s c r i b e s   a n   e x e c   p l u g i n ' s   r e l a t i o n s h i p   w i t h   s t a n d a r d   i n p u t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27541"
  },
  {
    "question": "What is NamedAuthInfo?",
    "answer": "A p p e a r s   i n :   C o n f i g   N a m e d A u t h I n f o   r e l a t e s   n i c k n a m e s   t o   a u t h   i n f o r m a t i o n   N a m e   i s   t h e   n i c k n a m e   f o r   t h i s   A u t h I n f o   A u t h I n f o   h o l d s   t h e   a u t h   i n f o r m a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27542"
  },
  {
    "question": "What is NamedCluster?",
    "answer": "A p p e a r s   i n :   C o n f i g   N a m e d C l u s t e r   r e l a t e s   n i c k n a m e s   t o   c l u s t e r   i n f o r m a t i o n   N a m e   i s   t h e   n i c k n a m e   f o r   t h i s   C l u s t e r   C l u s t e r   h o l d s   t h e   c l u s t e r   i n f o r m a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27543"
  },
  {
    "question": "What is NamedContext?",
    "answer": "A p p e a r s   i n :   C o n f i g   N a m e d C o n t e x t   r e l a t e s   n i c k n a m e s   t o   c o n t e x t   i n f o r m a t i o n   N a m e   i s   t h e   n i c k n a m e   f o r   t h i s   C o n t e x t   C o n t e x t   h o l d s   t h e   c o n t e x t   i n f o r m a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27544"
  },
  {
    "question": "What is NamedExtension?",
    "answer": "A p p e a r s   i n :   C o n f i g A u t h I n f o C l u s t e r C o n t e x t P r e f e r e n c e s   C o n f i g   A u t h I n f o   C l u s t e r   C o n t e x t   P r e f e r e n c e s   N a m e d E x t e n s i o n   r e l a t e s   n i c k n a m e s   t o   e x t e n s i o n   i n f o r m a t i o n   N a m e   i s   t h e   n i c k n a m e   f o r   t h i s   E x t e n s i o n   E x t e n s i o n   h o l d s   t h e   e x t e n s i o n   i n f o r m a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27545"
  },
  {
    "question": "What is Preferences?",
    "answer": "A p p e a r s   i n :   C o n f i g   E x t e n s i o n s   h o l d s   a d d i t i o n a l   i n f o r m a t i o n .   T h i s   i s   u s e f u l   f o r   e x t e n d e r s   s o   t h a t   r e a d s   a n d   w r i t e s   d o n ' t   c l o b b e r   u n k n o w n   f i e l d s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27546"
  },
  {
    "question": "What is Resource Types?",
    "answer": "C r e d e n t i a l P r o v i d e r C o n f i g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27547"
  },
  {
    "question": "What is CredentialProviderConfig?",
    "answer": "C r e d e n t i a l P r o v i d e r C o n f i g   i s   t h e   c o n f i g u r a t i o n   c o n t a i n i n g   i n f o r m a t i o n   a b o u t   e a c h   e x e c   c r e d e n t i a l   p r o v i d e r .   K u b e l e t   r e a d s   t h i s   c o n f i g u r a t i o n   f r o m   d i s k   a n d   e n a b l e s   e a c h   p r o v i d e r   a s   s p e c i f i e d   b y   t h e   C r e d e n t i a l P r o v i d e r   t y p e .   p r o v i d e r s   i s   a   l i s t   o f   c r e d e n t i a l   p r o v i d e r   p l u g i n s   t h a t   w i l l   b e   e n a b l e d   b y   t h e   k u b e l e t .   M u l t i p l e   p r o v i d e r s   m a y   m a t c h   a g a i n s t   a   s i n g l e   i m a g e ,   i n   w h i c h   c a s e   c r e d e n t i a l s   f r o m   a l l   p r o v i d e r s   w i l l   b e   r e t u r n e d   t o   t h e   k u b e l e t .   I f   m u l t i p l e   p r o v i d e r s   a r e   c a l l e d   f o r   a   s i n g l e   i m a g e ,   t h e   r e s u l t s   a r e   c o m b i n e d .   I f   p r o v i d e r s   r e t u r n   o v e r l a p p i n g   a u t h   k e y s ,   t h e   v a l u e   f r o m   t h e   p r o v i d e r   e a r l i e r   i n   t h i s   l i s t   i s   a t t e m p t e d   f i r s t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27548"
  },
  {
    "question": "What is CredentialProvider?",
    "answer": "A p p e a r s   i n :   C r e d e n t i a l P r o v i d e r C o n f i g   C r e d e n t i a l P r o v i d e r   r e p r e s e n t s   a n   e x e c   p l u g i n   t o   b e   i n v o k e d   b y   t h e   k u b e l e t .   T h e   p l u g i n   i s   o n l y   i n v o k e d   w h e n   a n   i m a g e   b e i n g   p u l l e d   m a t c h e s   t h e   i m a g e s   h a n d l e d   b y   t h e   p l u g i n   ( s e e   m a t c h I m a g e s ) .   n a m e   i s   t h e   r e q u i r e d   n a m e   o f   t h e   c r e d e n t i a l   p r o v i d e r .   I t   m u s t   m a t c h   t h e   n a m e   o f   t h e   p r o v i d e r   e x e c u t a b l e   a s   s e e n   b y   t h e   k u b e l e t .   T h e   e x e c u t a b l e   m u s t   b e   i n   t h e   k u b e l e t ' s   b i n   d i r e c t o r y   ( s e t   b y   t h e   - - i m a g e - c r e d e n t i a l - p r o v i d e r - b i n - d i r   f l a g ) .   R e q u i r e d   t o   b e   u n i q u e   a c r o s s   a l l   p r o v i d e r s .   m a t c h I m a g e s   i s   a   r e q u i r e d   l i s t   o f   s t r i n g s   u s e d   t o   m a t c h   a g a i n s t   i m a g e s   i n   o r d e r   t o   d e t e r m i n e   i f   t h i s   p r o v i d e r   s h o u l d   b e   i n v o k e d .   I f   o n e   o f   t h e   s t r i n g s   m a t c h e s   t h e   r e q u e s t e d   i m a g e   f r o m   t h e   k u b e l e t ,   t h e   p l u g i n   w i l l   b e   i n v o k e d   a n d   g i v e n   a   c h a n c e   t o   p r o v i d e   c r e d e n t i a l s .   I m a g e s   a r e   e x p e c t e d   t o   c o n t a i n   t h e   r e g i s t r y   d o m a i n   a n d   U R L   p a t h .   E a c h   e n t r y   i n   m a t c h I m a g e s   i s   a   p a t t e r n   w h i c h   c a n   o p t i o n a l l y   c o n t a i n   a   p o r t   a n d   a   p a t h .   G l o b s   c a n   b e   u s e d   i n   t h e   d o m a i n ,   b u t   n o t   i n   t h e   p o r t   o r   t h e   p a t h .   G l o b s   a r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27549"
  },
  {
    "question": "What is ExecEnvVar?",
    "answer": "A p p e a r s   i n :   C r e d e n t i a l P r o v i d e r   E x e c E n v V a r   i s   u s e d   f o r   s e t t i n g   e n v i r o n m e n t   v a r i a b l e s   w h e n   e x e c u t i n g   a n   e x e c - b a s e d   c r e d e n t i a l   p l u g i n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27550"
  },
  {
    "question": "What is ServiceAccountTokenAttributes?",
    "answer": "A p p e a r s   i n :   C r e d e n t i a l P r o v i d e r   S e r v i c e A c c o u n t T o k e n A t t r i b u t e s   i s   t h e   c o n f i g u r a t i o n   f o r   t h e   s e r v i c e   a c c o u n t   t o k e n   t h a t   w i l l   b e   p a s s e d   t o   t h e   p l u g i n .   s e r v i c e A c c o u n t T o k e n A u d i e n c e   i s   t h e   i n t e n d e d   a u d i e n c e   f o r   t h e   p r o j e c t e d   s e r v i c e   a c c o u n t   t o k e n .   r e q u i r e S e r v i c e A c c o u n t   i n d i c a t e s   w h e t h e r   t h e   p l u g i n   r e q u i r e s   t h e   p o d   t o   h a v e   a   s e r v i c e   a c c o u n t .   I f   s e t   t o   t r u e ,   k u b e l e t   w i l l   o n l y   i n v o k e   t h e   p l u g i n   i f   t h e   p o d   h a s   a   s e r v i c e   a c c o u n t .   I f   s e t   t o   f a l s e ,   k u b e l e t   w i l l   i n v o k e   t h e   p l u g i n   e v e n   i f   t h e   p o d   d o e s   n o t   h a v e   a   s e r v i c e   a c c o u n t   a n d   w i l l   n o t   i n c l u d e   a   t o k e n   i n   t h e   C r e d e n t i a l P r o v i d e r R e q u e s t   i n   t h a t   s c e n a r i o .   T h i s   i s   u s e f u l   f o r   p l u g i n s   t h a t   a r e   u s e d   t o   p u l l   i m a g e s   f o r   p o d s   w i t h o u t   s e r v i c e   a c c o u n t s   ( e . g . ,   s t a t i c   p o d s ) .   r e q u i r e d S e r v i c e A c c o u n t A n n o t a t i o n K e y s   i s   t h e   l i s t   o f   a n n o t a t i o n   k e y s   t h a t   t h e   p l u g i n   i s   i n t e r e s t e d   i n   a n d   t h a t   a r e   r e q u i r e d   t o   b e   p r e s e n t   i n   t h e   s e r v i c e   a c c o u n t .   T h e   k e y s   d e f i n e d   i n   t h i s   l i s t   w i l l   b e   e x t r a c t e d   f r o m   t h e   c o r r e s p o n d i n g   s e r v i c e   a c c o u n t   a n d   p a s s e d   t o   t h e   p l u g i n   a s   p a r t   o f   t h e   C r e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27551"
  },
  {
    "question": "What is Resource Types?",
    "answer": "C r e d e n t i a l P r o v i d e r C o n f i g I m a g e P u l l I n t e n t I m a g e P u l l e d R e c o r d",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27552"
  },
  {
    "question": "What is CredentialProviderConfig?",
    "answer": "C r e d e n t i a l P r o v i d e r C o n f i g   i s   t h e   c o n f i g u r a t i o n   c o n t a i n i n g   i n f o r m a t i o n   a b o u t   e a c h   e x e c   c r e d e n t i a l   p r o v i d e r .   K u b e l e t   r e a d s   t h i s   c o n f i g u r a t i o n   f r o m   d i s k   a n d   e n a b l e s   e a c h   p r o v i d e r   a s   s p e c i f i e d   b y   t h e   C r e d e n t i a l P r o v i d e r   t y p e .   p r o v i d e r s   i s   a   l i s t   o f   c r e d e n t i a l   p r o v i d e r   p l u g i n s   t h a t   w i l l   b e   e n a b l e d   b y   t h e   k u b e l e t .   M u l t i p l e   p r o v i d e r s   m a y   m a t c h   a g a i n s t   a   s i n g l e   i m a g e ,   i n   w h i c h   c a s e   c r e d e n t i a l s   f r o m   a l l   p r o v i d e r s   w i l l   b e   r e t u r n e d   t o   t h e   k u b e l e t .   I f   m u l t i p l e   p r o v i d e r s   a r e   c a l l e d   f o r   a   s i n g l e   i m a g e ,   t h e   r e s u l t s   a r e   c o m b i n e d .   I f   p r o v i d e r s   r e t u r n   o v e r l a p p i n g   a u t h   k e y s ,   t h e   v a l u e   f r o m   t h e   p r o v i d e r   e a r l i e r   i n   t h i s   l i s t   i s   a t t e m p t e d   f i r s t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27553"
  },
  {
    "question": "What is ImagePullIntent?",
    "answer": "I m a g e P u l l I n t e n t   i s   a   r e c o r d   o f   t h e   k u b e l e t   a t t e m p t i n g   t o   p u l l   a n   i m a g e .   I m a g e   i s   t h e   i m a g e   s p e c   f r o m   a   C o n t a i n e r ' s   i m a g e   f i e l d .   T h e   f i l e n a m e   i s   a   S H A - 2 5 6   h a s h   o f   t h i s   v a l u e .   T h i s   i s   t o   a v o i d   f i l e n a m e - u n s a f e   c h a r a c t e r s   l i k e   ' : '   a n d   ' / ' .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27554"
  },
  {
    "question": "What is ImagePulledRecord?",
    "answer": "I m a g e P u l l R e c o r d   i s   a   r e c o r d   o f   a n   i m a g e   t h a t   w a s   p u l l e d   b y   t h e   k u b e l e t .   I f   t h e r e   a r e   n o   r e c o r d s   i n   t h e   k u b e r n e t e s S e c r e t s   f i e l d   a n d   b o t h   n o d e W i d e C r e d e n t i a l s   a n d   a n o n y m o u s   a r e   f a l s e ,   c r e d e n t i a l s   m u s t   b e   r e - c h e c k e d   t h e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27555"
  },
  {
    "question": "What is CredentialProvider?",
    "answer": "A p p e a r s   i n :   C r e d e n t i a l P r o v i d e r C o n f i g   C r e d e n t i a l P r o v i d e r   r e p r e s e n t s   a n   e x e c   p l u g i n   t o   b e   i n v o k e d   b y   t h e   k u b e l e t .   T h e   p l u g i n   i s   o n l y   i n v o k e d   w h e n   a n   i m a g e   b e i n g   p u l l e d   m a t c h e s   t h e   i m a g e s   h a n d l e d   b y   t h e   p l u g i n   ( s e e   m a t c h I m a g e s ) .   n a m e   i s   t h e   r e q u i r e d   n a m e   o f   t h e   c r e d e n t i a l   p r o v i d e r .   I t   m u s t   m a t c h   t h e   n a m e   o f   t h e   p r o v i d e r   e x e c u t a b l e   a s   s e e n   b y   t h e   k u b e l e t .   T h e   e x e c u t a b l e   m u s t   b e   i n   t h e   k u b e l e t ' s   b i n   d i r e c t o r y   ( s e t   b y   t h e   - - i m a g e - c r e d e n t i a l - p r o v i d e r - b i n - d i r   f l a g ) .   R e q u i r e d   t o   b e   u n i q u e   a c r o s s   a l l   p r o v i d e r s .   m a t c h I m a g e s   i s   a   r e q u i r e d   l i s t   o f   s t r i n g s   u s e d   t o   m a t c h   a g a i n s t   i m a g e s   i n   o r d e r   t o   d e t e r m i n e   i f   t h i s   p r o v i d e r   s h o u l d   b e   i n v o k e d .   I f   o n e   o f   t h e   s t r i n g s   m a t c h e s   t h e   r e q u e s t e d   i m a g e   f r o m   t h e   k u b e l e t ,   t h e   p l u g i n   w i l l   b e   i n v o k e d   a n d   g i v e n   a   c h a n c e   t o   p r o v i d e   c r e d e n t i a l s .   I m a g e s   a r e   e x p e c t e d   t o   c o n t a i n   t h e   r e g i s t r y   d o m a i n   a n d   U R L   p a t h .   E a c h   e n t r y   i n   m a t c h I m a g e s   i s   a   p a t t e r n   w h i c h   c a n   o p t i o n a l l y   c o n t a i n   a   p o r t   a n d   a   p a t h .   G l o b s   c a n   b e   u s e d   i n   t h e   d o m a i n ,   b u t   n o t   i n   t h e   p o r t   o r   t h e   p a t h .   G l o b s   a r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27556"
  },
  {
    "question": "What is ExecEnvVar?",
    "answer": "A p p e a r s   i n :   C r e d e n t i a l P r o v i d e r   E x e c E n v V a r   i s   u s e d   f o r   s e t t i n g   e n v i r o n m e n t   v a r i a b l e s   w h e n   e x e c u t i n g   a n   e x e c - b a s e d   c r e d e n t i a l   p l u g i n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27557"
  },
  {
    "question": "What is ImagePullCredentials?",
    "answer": "A p p e a r s   i n :   I m a g e P u l l e d R e c o r d   I m a g e P u l l C r e d e n t i a l s   d e s c r i b e   c r e d e n t i a l s   t h a t   c a n   b e   u s e d   t o   p u l l   a n   i m a g e .   K u b e r n e t e S e c r e t C o o r d i n a t e s   i s   a n   i n d e x   o f   c o o r d i n a t e s   o f   a l l   t h e   k u b e r n e t e s   s e c r e t s   t h a t   w e r e   u s e d   t o   p u l l   t h e   i m a g e .   N o d e P o d s A c c e s s i b l e   i s   a   f l a g   d e n o t i n g   t h e   p u l l   c r e d e n t i a l s   a r e   a c c e s s i b l e   b y   a l l   t h e   p o d s   o n   t h e   n o d e ,   o r   t h a t   n o   c r e d e n t i a l s   a r e   n e e d e d   f o r   t h e   p u l l .   I f   t r u e ,   i t   i s   m u t u a l l y   e x c l u s i v e   w i t h   t h e   k u b e r n e t e s S e c r e t s   f i e l d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27558"
  },
  {
    "question": "What is ImagePullSecret?",
    "answer": "A p p e a r s   i n :   I m a g e P u l l C r e d e n t i a l s   I m a g e P u l l S e c r e t   i s   a   r e p r e s e n t a t i o n   o f   a   K u b e r n e t e s   s e c r e t   o b j e c t   c o o r d i n a t e s   a l o n g   w i t h   a   c r e d e n t i a l   h a s h   o f   t h e   p u l l   s e c r e t   c r e d e n t i a l s   t h i s   o b j e c t   c o n t a i n s .   C r e d e n t i a l H a s h   i s   a   S H A - 2 5 6   r e t r i e v e d   b y   h a s h i n g   t h e   i m a g e   p u l l   c r e d e n t i a l s   c o n t e n t   o f   t h e   s e c r e t   s p e c i f i e d   b y   t h e   U I D / N a m e s p a c e / N a m e   c o o r d i n a t e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27559"
  },
  {
    "question": "What is Resource Types?",
    "answer": "C r e d e n t i a l P r o v i d e r C o n f i g K u b e l e t C o n f i g u r a t i o n S e r i a l i z e d N o d e C o n f i g S o u r c e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27560"
  },
  {
    "question": "What is FormatOptions?",
    "answer": "A p p e a r s   i n :   L o g g i n g C o n f i g u r a t i o n   F o r m a t O p t i o n s   c o n t a i n s   o p t i o n s   f o r   t h e   d i f f e r e n t   l o g g i n g   f o r m a t s .   [ A l p h a ]   T e x t   c o n t a i n s   o p t i o n s   f o r   l o g g i n g   f o r m a t   \" t e x t \" .   O n l y   a v a i l a b l e   w h e n   t h e   L o g g i n g A l p h a O p t i o n s   f e a t u r e   g a t e   i s   e n a b l e d .   [ A l p h a ]   J S O N   c o n t a i n s   o p t i o n s   f o r   l o g g i n g   f o r m a t   \" j s o n \" .   O n l y   a v a i l a b l e   w h e n   t h e   L o g g i n g A l p h a O p t i o n s   f e a t u r e   g a t e   i s   e n a b l e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27561"
  },
  {
    "question": "What is JSONOptions?",
    "answer": "A p p e a r s   i n :   F o r m a t O p t i o n s   J S O N O p t i o n s   c o n t a i n s   o p t i o n s   f o r   l o g g i n g   f o r m a t   \" j s o n \" .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27562"
  },
  {
    "question": "What is LogFormatFactory?",
    "answer": "L o g F o r m a t F a c t o r y   p r o v i d e s   s u p p o r t   f o r   a   c e r t a i n   a d d i t i o n a l ,   n o n - d e f a u l t   l o g   f o r m a t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27563"
  },
  {
    "question": "What is LoggingConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e l e t C o n f i g u r a t i o n   L o g g i n g C o n f i g u r a t i o n   c o n t a i n s   l o g g i n g   o p t i o n s .   F o r m a t   F l a g   s p e c i f i e s   t h e   s t r u c t u r e   o f   l o g   m e s s a g e s .   d e f a u l t   v a l u e   o f   f o r m a t   i s   t e x t   M a x i m u m   t i m e   b e t w e e n   l o g   f l u s h e s .   I f   a   s t r i n g ,   p a r s e d   a s   a   d u r a t i o n   ( i . e .   \" 1 s \" )   I f   a n   i n t ,   t h e   m a x i m u m   n u m b e r   o f   n a n o s e c o n d s   ( i . e .   1 s   =   1 0 0 0 0 0 0 0 0 0 ) .   I g n o r e d   i f   t h e   s e l e c t e d   l o g g i n g   b a c k e n d   w r i t e s   l o g   m e s s a g e s   w i t h o u t   b u f f e r i n g .   V e r b o s i t y   i s   t h e   t h r e s h o l d   t h a t   d e t e r m i n e s   w h i c h   l o g   m e s s a g e s   a r e   l o g g e d .   D e f a u l t   i s   z e r o   w h i c h   l o g s   o n l y   t h e   m o s t   i m p o r t a n t   m e s s a g e s .   H i g h e r   v a l u e s   e n a b l e   a d d i t i o n a l   m e s s a g e s .   E r r o r   m e s s a g e s   a r e   a l w a y s   l o g g e d .   V M o d u l e   o v e r r i d e s   t h e   v e r b o s i t y   t h r e s h o l d   f o r   i n d i v i d u a l   f i l e s .   O n l y   s u p p o r t e d   f o r   \" t e x t \"   l o g   f o r m a t .   [ A l p h a ]   O p t i o n s   h o l d s   a d d i t i o n a l   p a r a m e t e r s   t h a t   a r e   s p e c i f i c   t o   t h e   d i f f e r e n t   l o g g i n g   f o r m a t s .   O n l y   t h e   o p t i o n s   f o r   t h e   s e l e c t e d   f o r m a t   g e t   u s e d ,   b u t   a l l   o f   t h e m   g e t   v a l i d a t e d .   O n l y   a v a i l a b l e   w h e n   t h e   L o g g i n g A l p h a O p t i o n s   f e a t u r e   g a t e   i s   e n a b l e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27564"
  },
  {
    "question": "What is LoggingOptions?",
    "answer": "L o g g i n g O p t i o n s   c a n   b e   u s e d   w i t h   V a l i d a t e A n d A p p l y W i t h O p t i o n s   t o   o v e r r i d e   c e r t a i n   g l o b a l   d e f a u l t s .   E r r o r S t r e a m   c a n   b e   u s e d   t o   o v e r r i d e   t h e   o s . S t d e r r   d e f a u l t .   I n f o S t r e a m   c a n   b e   u s e d   t o   o v e r r i d e   t h e   o s . S t d o u t   d e f a u l t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27565"
  },
  {
    "question": "What is OutputRoutingOptions?",
    "answer": "A p p e a r s   i n :   J S O N O p t i o n s T e x t O p t i o n s   J S O N O p t i o n s   T e x t O p t i o n s   O u t p u t R o u t i n g O p t i o n s   c o n t a i n s   o p t i o n s   t h a t   a r e   s u p p o r t e d   b y   b o t h   \" t e x t \"   a n d   \" j s o n \" .   [ A l p h a ]   S p l i t S t r e a m   r e d i r e c t s   e r r o r   m e s s a g e s   t o   s t d e r r   w h i l e   i n f o   m e s s a g e s   g o   t o   s t d o u t ,   w i t h   b u f f e r i n g .   T h e   d e f a u l t   i s   t o   w r i t e   b o t h   t o   s t d o u t ,   w i t h o u t   b u f f e r i n g .   O n l y   a v a i l a b l e   w h e n   t h e   L o g g i n g A l p h a O p t i o n s   f e a t u r e   g a t e   i s   e n a b l e d .   [ A l p h a ]   I n f o B u f f e r S i z e   s e t s   t h e   s i z e   o f   t h e   i n f o   s t r e a m   w h e n   u s i n g   s p l i t   s t r e a m s .   T h e   d e f a u l t   i s   z e r o ,   w h i c h   d i s a b l e s   b u f f e r i n g .   O n l y   a v a i l a b l e   w h e n   t h e   L o g g i n g A l p h a O p t i o n s   f e a t u r e   g a t e   i s   e n a b l e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27566"
  },
  {
    "question": "What is TextOptions?",
    "answer": "A p p e a r s   i n :   F o r m a t O p t i o n s   T e x t O p t i o n s   c o n t a i n s   o p t i o n s   f o r   l o g g i n g   f o r m a t   \" t e x t \" .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27567"
  },
  {
    "question": "What is TimeOrMetaDuration?",
    "answer": "A p p e a r s   i n :   L o g g i n g C o n f i g u r a t i o n   T i m e O r M e t a D u r a t i o n   i s   p r e s e n t   o n l y   f o r   b a c k w a r d s   c o m p a t i b i l i t y   f o r   t h e   f l u s h F r e q u e n c y   f i e l d ,   a n d   n e w   f i e l d s   s h o u l d   u s e   m e t a v 1 . D u r a t i o n .   D u r a t i o n   h o l d s   t h e   d u r a t i o n   S e r i a l i z e A s S t r i n g   c o n t r o l s   w h e t h e r   t h e   v a l u e   i s   s e r i a l i z e d   a s   a   s t r i n g   o r   a n   i n t e g e r",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27568"
  },
  {
    "question": "What is TracingConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e l e t C o n f i g u r a t i o n   T r a c i n g C o n f i g u r a t i o n   p r o v i d e s   v e r s i o n e d   c o n f i g u r a t i o n   f o r   O p e n T e l e m e t r y   t r a c i n g   c l i e n t s .   E n d p o i n t   o f   t h e   c o l l e c t o r   t h i s   c o m p o n e n t   w i l l   r e p o r t   t r a c e s   t o .   T h e   c o n n e c t i o n   i s   i n s e c u r e ,   a n d   d o e s   n o t   c u r r e n t l y   s u p p o r t   T L S .   R e c o m m e n d e d   i s   u n s e t ,   a n d   e n d p o i n t   i s   t h e   o t l p   g r p c   d e f a u l t ,   l o c a l h o s t : 4 3 1 7 .   S a m p l i n g R a t e P e r M i l l i o n   i s   t h e   n u m b e r   o f   s a m p l e s   t o   c o l l e c t   p e r   m i l l i o n   s p a n s .   R e c o m m e n d e d   i s   u n s e t .   I f   u n s e t ,   s a m p l e r   r e s p e c t s   i t s   p a r e n t   s p a n ' s   s a m p l i n g   r a t e ,   b u t   o t h e r w i s e   n e v e r   s a m p l e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27569"
  },
  {
    "question": "What is VModuleConfiguration?",
    "answer": "( A l i a s   o f   [ ] k 8 s . i o / c o m p o n e n t - b a s e / l o g s / a p i / v 1 . V M o d u l e I t e m )   A p p e a r s   i n :   L o g g i n g C o n f i g u r a t i o n   V M o d u l e C o n f i g u r a t i o n   i s   a   c o l l e c t i o n   o f   i n d i v i d u a l   f i l e   n a m e s   o r   p a t t e r n s   a n d   t h e   c o r r e s p o n d i n g   v e r b o s i t y   t h r e s h o l d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27570"
  },
  {
    "question": "What is VerbosityLevel?",
    "answer": "( A l i a s   o f   u i n t 3 2 )   A p p e a r s   i n :   L o g g i n g C o n f i g u r a t i o n   V e r b o s i t y L e v e l   r e p r e s e n t s   a   k l o g   o r   l o g r   v e r b o s i t y   t h r e s h o l d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27571"
  },
  {
    "question": "What is CredentialProviderConfig?",
    "answer": "C r e d e n t i a l P r o v i d e r C o n f i g   i s   t h e   c o n f i g u r a t i o n   c o n t a i n i n g   i n f o r m a t i o n   a b o u t   e a c h   e x e c   c r e d e n t i a l   p r o v i d e r .   K u b e l e t   r e a d s   t h i s   c o n f i g u r a t i o n   f r o m   d i s k   a n d   e n a b l e s   e a c h   p r o v i d e r   a s   s p e c i f i e d   b y   t h e   C r e d e n t i a l P r o v i d e r   t y p e .   p r o v i d e r s   i s   a   l i s t   o f   c r e d e n t i a l   p r o v i d e r   p l u g i n s   t h a t   w i l l   b e   e n a b l e d   b y   t h e   k u b e l e t .   M u l t i p l e   p r o v i d e r s   m a y   m a t c h   a g a i n s t   a   s i n g l e   i m a g e ,   i n   w h i c h   c a s e   c r e d e n t i a l s   f r o m   a l l   p r o v i d e r s   w i l l   b e   r e t u r n e d   t o   t h e   k u b e l e t .   I f   m u l t i p l e   p r o v i d e r s   a r e   c a l l e d   f o r   a   s i n g l e   i m a g e ,   t h e   r e s u l t s   a r e   c o m b i n e d .   I f   p r o v i d e r s   r e t u r n   o v e r l a p p i n g   a u t h   k e y s ,   t h e   v a l u e   f r o m   t h e   p r o v i d e r   e a r l i e r   i n   t h i s   l i s t   i s   a t t e m p t e d   f i r s t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27572"
  },
  {
    "question": "What is KubeletConfiguration?",
    "answer": "K u b e l e t C o n f i g u r a t i o n   c o n t a i n s   t h e   c o n f i g u r a t i o n   f o r   t h e   K u b e l e t   e n a b l e S e r v e r   e n a b l e s   K u b e l e t ' s   s e c u r e d   s e r v e r .   N o t e :   K u b e l e t ' s   i n s e c u r e   p o r t   i s   c o n t r o l l e d   b y   t h e   r e a d O n l y P o r t   o p t i o n .   D e f a u l t :   t r u e   s t a t i c P o d P a t h   i s   t h e   p a t h   t o   t h e   d i r e c t o r y   c o n t a i n i n g   l o c a l   ( s t a t i c )   p o d s   t o   r u n ,   o r   t h e   p a t h   t o   a   s i n g l e   s t a t i c   p o d   f i l e .   D e f a u l t :   \" \"   p o d L o g s D i r   i s   a   c u s t o m   r o o t   d i r e c t o r y   p a t h   k u b e l e t   w i l l   u s e   t o   p l a c e   p o d ' s   l o g   f i l e s .   D e f a u l t :   \" / v a r / l o g / p o d s / \"   N o t e :   i t   i s   n o t   r e c o m m e n d e d   t o   u s e   t h e   t e m p   f o l d e r   a s   a   l o g   d i r e c t o r y   a s   i t   m a y   c a u s e   u n e x p e c t e d   b e h a v i o r   i n   m a n y   p l a c e s .   s y n c F r e q u e n c y   i s   t h e   m a x   p e r i o d   b e t w e e n   s y n c h r o n i z i n g   r u n n i n g   c o n t a i n e r s   a n d   c o n f i g .   D e f a u l t :   \" 1 m \"   f i l e C h e c k F r e q u e n c y   i s   t h e   d u r a t i o n   b e t w e e n   c h e c k i n g   c o n f i g   f i l e s   f o r   n e w   d a t a .   D e f a u l t :   \" 2 0 s \"   h t t p C h e c k F r e q u e n c y   i s   t h e   d u r a t i o n   b e t w e e n   c h e c k i n g   h t t p   f o r   n e w   d a t a .   D e f a u l t :   \" 2 0 s \"   s t a t i c P o d U R L   i s   t h e   U R L   f o r   a c c e s s i n g   s t a t i c   p o d s   t o   r u n .   D e f a u l t :   \" \"   s t a t i c P o d U R L H e a d e r   i s   a   m a p   o f   s l i c e s   w i t h   H T T P   h e a d e r s   t o   u s e   w h e n   a c c e s s i n g   t h e   p o d ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27573"
  },
  {
    "question": "What is SerializedNodeConfigSource?",
    "answer": "S e r i a l i z e d N o d e C o n f i g S o u r c e   a l l o w s   u s   t o   s e r i a l i z e   v 1 . N o d e C o n f i g S o u r c e .   T h i s   t y p e   i s   u s e d   i n t e r n a l l y   b y   t h e   K u b e l e t   f o r   t r a c k i n g   c h e c k p o i n t e d   d y n a m i c   c o n f i g s .   I t   e x i s t s   i n   t h e   k u b e l e t c o n f i g   A P I   g r o u p   b e c a u s e   i t   i s   c l a s s i f i e d   a s   a   v e r s i o n e d   i n p u t   t o   t h e   K u b e l e t .   s o u r c e   i s   t h e   s o u r c e   t h a t   w e   a r e   s e r i a l i z i n g .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27574"
  },
  {
    "question": "What is CrashLoopBackOffConfig?",
    "answer": "A p p e a r s   i n :   K u b e l e t C o n f i g u r a t i o n   m a x C o n t a i n e r R e s t a r t P e r i o d   i s   t h e   m a x i m u m   d u r a t i o n   t h e   b a c k o f f   d e l a y   c a n   a c c r u e   t o   f o r   c o n t a i n e r   r e s t a r t s ,   m i n i m u m   1   s e c o n d ,   m a x i m u m   3 0 0   s e c o n d s .   I f   n o t   s e t ,   d e f a u l t s   t o   t h e   i n t e r n a l   c r a s h l o o p b a c k o f f   m a x i m u m   ( 3 0 0 s ) .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27575"
  },
  {
    "question": "What is CredentialProvider?",
    "answer": "A p p e a r s   i n :   C r e d e n t i a l P r o v i d e r C o n f i g   C r e d e n t i a l P r o v i d e r   r e p r e s e n t s   a n   e x e c   p l u g i n   t o   b e   i n v o k e d   b y   t h e   k u b e l e t .   T h e   p l u g i n   i s   o n l y   i n v o k e d   w h e n   a n   i m a g e   b e i n g   p u l l e d   m a t c h e s   t h e   i m a g e s   h a n d l e d   b y   t h e   p l u g i n   ( s e e   m a t c h I m a g e s ) .   n a m e   i s   t h e   r e q u i r e d   n a m e   o f   t h e   c r e d e n t i a l   p r o v i d e r .   I t   m u s t   m a t c h   t h e   n a m e   o f   t h e   p r o v i d e r   e x e c u t a b l e   a s   s e e n   b y   t h e   k u b e l e t .   T h e   e x e c u t a b l e   m u s t   b e   i n   t h e   k u b e l e t ' s   b i n   d i r e c t o r y   ( s e t   b y   t h e   - - i m a g e - c r e d e n t i a l - p r o v i d e r - b i n - d i r   f l a g ) .   R e q u i r e d   t o   b e   u n i q u e   a c r o s s   a l l   p r o v i d e r s .   m a t c h I m a g e s   i s   a   r e q u i r e d   l i s t   o f   s t r i n g s   u s e d   t o   m a t c h   a g a i n s t   i m a g e s   i n   o r d e r   t o   d e t e r m i n e   i f   t h i s   p r o v i d e r   s h o u l d   b e   i n v o k e d .   I f   o n e   o f   t h e   s t r i n g s   m a t c h e s   t h e   r e q u e s t e d   i m a g e   f r o m   t h e   k u b e l e t ,   t h e   p l u g i n   w i l l   b e   i n v o k e d   a n d   g i v e n   a   c h a n c e   t o   p r o v i d e   c r e d e n t i a l s .   I m a g e s   a r e   e x p e c t e d   t o   c o n t a i n   t h e   r e g i s t r y   d o m a i n   a n d   U R L   p a t h .   E a c h   e n t r y   i n   m a t c h I m a g e s   i s   a   p a t t e r n   w h i c h   c a n   o p t i o n a l l y   c o n t a i n   a   p o r t   a n d   a   p a t h .   G l o b s   c a n   b e   u s e d   i n   t h e   d o m a i n ,   b u t   n o t   i n   t h e   p o r t   o r   t h e   p a t h .   G l o b s   a r ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27576"
  },
  {
    "question": "What is ExecEnvVar?",
    "answer": "A p p e a r s   i n :   C r e d e n t i a l P r o v i d e r   E x e c E n v V a r   i s   u s e d   f o r   s e t t i n g   e n v i r o n m e n t   v a r i a b l e s   w h e n   e x e c u t i n g   a n   e x e c - b a s e d   c r e d e n t i a l   p l u g i n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27577"
  },
  {
    "question": "What is ImagePullCredentialsVerificationPolicy?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   K u b e l e t C o n f i g u r a t i o n   I m a g e P u l l C r e d e n t i a l s V e r i f i c a t i o n P o l i c y   i s   a n   e n u m   f o r   t h e   p o l i c y   t h a t   i s   e n f o r c e d   w h e n   p o d   i s   r e q u e s t i n g   a n   i m a g e   t h a t   a p p e a r s   o n   t h e   s y s t e m",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27578"
  },
  {
    "question": "What is KubeletAnonymousAuthentication?",
    "answer": "A p p e a r s   i n :   K u b e l e t A u t h e n t i c a t i o n   e n a b l e d   a l l o w s   a n o n y m o u s   r e q u e s t s   t o   t h e   k u b e l e t   s e r v e r .   R e q u e s t s   t h a t   a r e   n o t   r e j e c t e d   b y   a n o t h e r   a u t h e n t i c a t i o n   m e t h o d   a r e   t r e a t e d   a s   a n o n y m o u s   r e q u e s t s .   A n o n y m o u s   r e q u e s t s   h a v e   a   u s e r n a m e   o f   s y s t e m : a n o n y m o u s ,   a n d   a   g r o u p   n a m e   o f   s y s t e m : u n a u t h e n t i c a t e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27579"
  },
  {
    "question": "What is KubeletAuthentication?",
    "answer": "A p p e a r s   i n :   K u b e l e t C o n f i g u r a t i o n   x 5 0 9   c o n t a i n s   s e t t i n g s   r e l a t e d   t o   x 5 0 9   c l i e n t   c e r t i f i c a t e   a u t h e n t i c a t i o n .   w e b h o o k   c o n t a i n s   s e t t i n g s   r e l a t e d   t o   w e b h o o k   b e a r e r   t o k e n   a u t h e n t i c a t i o n .   a n o n y m o u s   c o n t a i n s   s e t t i n g s   r e l a t e d   t o   a n o n y m o u s   a u t h e n t i c a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27580"
  },
  {
    "question": "What is KubeletAuthorization?",
    "answer": "A p p e a r s   i n :   K u b e l e t C o n f i g u r a t i o n   m o d e   i s   t h e   a u t h o r i z a t i o n   m o d e   t o   a p p l y   t o   r e q u e s t s   t o   t h e   k u b e l e t   s e r v e r .   V a l i d   v a l u e s   a r e   A l w a y s A l l o w   a n d   W e b h o o k .   W e b h o o k   m o d e   u s e s   t h e   S u b j e c t A c c e s s R e v i e w   A P I   t o   d e t e r m i n e   a u t h o r i z a t i o n .   w e b h o o k   c o n t a i n s   s e t t i n g s   r e l a t e d   t o   W e b h o o k   a u t h o r i z a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27581"
  },
  {
    "question": "What is KubeletAuthorizationMode?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   K u b e l e t A u t h o r i z a t i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27582"
  },
  {
    "question": "What is KubeletWebhookAuthentication?",
    "answer": "A p p e a r s   i n :   K u b e l e t A u t h e n t i c a t i o n   e n a b l e d   a l l o w s   b e a r e r   t o k e n   a u t h e n t i c a t i o n   b a c k e d   b y   t h e   t o k e n r e v i e w s . a u t h e n t i c a t i o n . k 8 s . i o   A P I .   c a c h e T T L   e n a b l e s   c a c h i n g   o f   a u t h e n t i c a t i o n   r e s u l t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27583"
  },
  {
    "question": "What is KubeletWebhookAuthorization?",
    "answer": "A p p e a r s   i n :   K u b e l e t A u t h o r i z a t i o n   c a c h e A u t h o r i z e d T T L   i s   t h e   d u r a t i o n   t o   c a c h e   ' a u t h o r i z e d '   r e s p o n s e s   f r o m   t h e   w e b h o o k   a u t h o r i z e r .   c a c h e U n a u t h o r i z e d T T L   i s   t h e   d u r a t i o n   t o   c a c h e   ' u n a u t h o r i z e d '   r e s p o n s e s   f r o m   t h e   w e b h o o k   a u t h o r i z e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27584"
  },
  {
    "question": "What is KubeletX509Authentication?",
    "answer": "A p p e a r s   i n :   K u b e l e t A u t h e n t i c a t i o n   c l i e n t C A F i l e   i s   t h e   p a t h   t o   a   P E M - e n c o d e d   c e r t i f i c a t e   b u n d l e .   I f   s e t ,   a n y   r e q u e s t   p r e s e n t i n g   a   c l i e n t   c e r t i f i c a t e   s i g n e d   b y   o n e   o f   t h e   a u t h o r i t i e s   i n   t h e   b u n d l e   i s   a u t h e n t i c a t e d   w i t h   a   u s e r n a m e   c o r r e s p o n d i n g   t o   t h e   C o m m o n N a m e ,   a n d   g r o u p s   c o r r e s p o n d i n g   t o   t h e   O r g a n i z a t i o n   i n   t h e   c l i e n t   c e r t i f i c a t e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27585"
  },
  {
    "question": "What is MemoryReservation?",
    "answer": "A p p e a r s   i n :   K u b e l e t C o n f i g u r a t i o n   M e m o r y R e s e r v a t i o n   s p e c i f i e s   t h e   m e m o r y   r e s e r v a t i o n   o f   d i f f e r e n t   t y p e s   f o r   e a c h   N U M A   n o d e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27586"
  },
  {
    "question": "What is MemorySwapConfiguration?",
    "answer": "A p p e a r s   i n :   K u b e l e t C o n f i g u r a t i o n   s w a p B e h a v i o r   c o n f i g u r e s   s w a p   m e m o r y   a v a i l a b l e   t o   c o n t a i n e r   w o r k l o a d s .   M a y   b e   o n e   o f   \" \" ,   \" N o S w a p \" :   w o r k l o a d s   c a n   n o t   u s e   s w a p ,   d e f a u l t   o p t i o n .   \" L i m i t e d S w a p \" :   w o r k l o a d   s w a p   u s a g e   i s   l i m i t e d .   T h e   s w a p   l i m i t   i s   p r o p o r t i o n a t e   t o   t h e   c o n t a i n e r ' s   m e m o r y   r e q u e s t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27587"
  },
  {
    "question": "What is ResourceChangeDetectionStrategy?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   K u b e l e t C o n f i g u r a t i o n   R e s o u r c e C h a n g e D e t e c t i o n S t r a t e g y   d e n o t e s   a   m o d e   i n   w h i c h   i n t e r n a l   m a n a g e r s   ( s e c r e t ,   c o n f i g m a p )   a r e   d i s c o v e r i n g   o b j e c t   c h a n g e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27588"
  },
  {
    "question": "What is ShutdownGracePeriodByPodPriority?",
    "answer": "A p p e a r s   i n :   K u b e l e t C o n f i g u r a t i o n   S h u t d o w n G r a c e P e r i o d B y P o d P r i o r i t y   s p e c i f i e s   t h e   s h u t d o w n   g r a c e   p e r i o d   f o r   P o d s   b a s e d   o n   t h e i r   a s s o c i a t e d   p r i o r i t y   c l a s s   v a l u e   p r i o r i t y   i s   t h e   p r i o r i t y   v a l u e   a s s o c i a t e d   w i t h   t h e   s h u t d o w n   g r a c e   p e r i o d   s h u t d o w n G r a c e P e r i o d S e c o n d s   i s   t h e   s h u t d o w n   g r a c e   p e r i o d   i n   s e c o n d s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27589"
  },
  {
    "question": "What is UserNamespaces?",
    "answer": "A p p e a r s   i n :   K u b e l e t C o n f i g u r a t i o n   U s e r N a m e s p a c e s   c o n t a i n s   U s e r   N a m e s p a c e   c o n f i g u r a t i o n s .   I D s P e r P o d   i s   t h e   m a p p i n g   l e n g t h   o f   U I D s   a n d   G I D s .   T h e   l e n g t h   m u s t   b e   a   m u l t i p l e   o f   6 5 5 3 6 ,   a n d   m u s t   b e   l e s s   t h a n   1 < < 3 2 .   O n   n o n - l i n u x   s u c h   a s   w i n d o w s ,   o n l y   n u l l   /   a b s e n t   i s   a l l o w e d .   C h a n g i n g   t h e   v a l u e   m a y   r e q u i r e   r e c r e a t i n g   a l l   c o n t a i n e r s   o n   t h e   n o d e .   D e f a u l t :   6 5 5 3 6",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27590"
  },
  {
    "question": "What is Resource Types?",
    "answer": "C r e d e n t i a l P r o v i d e r R e q u e s t C r e d e n t i a l P r o v i d e r R e s p o n s e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27591"
  },
  {
    "question": "What is CredentialProviderRequest?",
    "answer": "C r e d e n t i a l P r o v i d e r R e q u e s t   i n c l u d e s   t h e   i m a g e   t h a t   t h e   k u b e l e t   r e q u i r e s   a u t h e n t i c a t i o n   f o r .   K u b e l e t   w i l l   p a s s   t h i s   r e q u e s t   o b j e c t   t o   t h e   p l u g i n   v i a   s t d i n .   I n   g e n e r a l ,   p l u g i n s   s h o u l d   p r e f e r   r e s p o n d i n g   w i t h   t h e   s a m e   a p i V e r s i o n   t h e y   w e r e   s e n t .   i m a g e   i s   t h e   c o n t a i n e r   i m a g e   t h a t   i s   b e i n g   p u l l e d   a s   p a r t   o f   t h e   c r e d e n t i a l   p r o v i d e r   p l u g i n   r e q u e s t .   P l u g i n s   m a y   o p t i o n a l l y   p a r s e   t h e   i m a g e   t o   e x t r a c t   a n y   i n f o r m a t i o n   r e q u i r e d   t o   f e t c h   c r e d e n t i a l s .   s e r v i c e A c c o u n t T o k e n   i s   t h e   s e r v i c e   a c c o u n t   t o k e n   b o u n d   t o   t h e   p o d   f o r   w h i c h   t h e   i m a g e   i s   b e i n g   p u l l e d .   T h i s   t o k e n   i s   o n l y   s e n t   t o   t h e   p l u g i n   i f   t h e   t o k e n A t t r i b u t e s . s e r v i c e A c c o u n t T o k e n A u d i e n c e   f i e l d   i s   c o n f i g u r e d   i n   t h e   k u b e l e t ' s   c r e d e n t i a l   p r o v i d e r   c o n f i g u r a t i o n .   s e r v i c e A c c o u n t A n n o t a t i o n s   i s   a   m a p   o f   a n n o t a t i o n s   o n   t h e   s e r v i c e   a c c o u n t   b o u n d   t o   t h e   p o d   f o r   w h i c h   t h e   i m a g e   i s   b e i n g   p u l l e d .   T h e   l i s t   o f   a n n o t a t i o n s   i n   t h e   s e r v i c e   a c c o u n t   t h a t   n e e d   t o   b e   p a s s e d   t o   t h e   p l u g i n   i s   c o n f i g u r e d   i n   t h e   k u b e l e t ' s   c r e d e n t i a l   p r o v i d e r   c o n f i g u r a t i o n .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27592"
  },
  {
    "question": "What is CredentialProviderResponse?",
    "answer": "C r e d e n t i a l P r o v i d e r R e s p o n s e   h o l d s   c r e d e n t i a l s   t h a t   t h e   k u b e l e t   s h o u l d   u s e   f o r   t h e   s p e c i f i e d   i m a g e   p r o v i d e d   i n   t h e   o r i g i n a l   r e q u e s t .   K u b e l e t   w i l l   r e a d   t h e   r e s p o n s e   f r o m   t h e   p l u g i n   v i a   s t d o u t .   T h i s   r e s p o n s e   s h o u l d   b e   s e t   t o   t h e   s a m e   a p i V e r s i o n   a s   C r e d e n t i a l P r o v i d e r R e q u e s t .   c a c h e K e y T y p e   i n d i c a t e s   t h e   t y p e   o f   c a c h i n g   k e y   t o   u s e   b a s e d   o n   t h e   i m a g e   p r o v i d e d   i n   t h e   r e q u e s t .   T h e r e   a r e   t h r e e   v a l i d   v a l u e s   f o r   t h e   c a c h e   k e y   t y p e :   I m a g e ,   R e g i s t r y ,   a n d   G l o b a l .   I f   a n   i n v a l i d   v a l u e   i s   s p e c i f i e d ,   t h e   r e s p o n s e   w i l l   N O T   b e   u s e d   b y   t h e   k u b e l e t .   c a c h e D u r a t i o n   i n d i c a t e s   t h e   d u r a t i o n   t h e   p r o v i d e d   c r e d e n t i a l s   s h o u l d   b e   c a c h e d   f o r .   T h e   k u b e l e t   w i l l   u s e   t h i s   f i e l d   t o   s e t   t h e   i n - m e m o r y   c a c h e   d u r a t i o n   f o r   c r e d e n t i a l s   i n   t h e   A u t h C o n f i g .   I f   n u l l ,   t h e   k u b e l e t   w i l l   u s e   d e f a u l t C a c h e D u r a t i o n   p r o v i d e d   i n   C r e d e n t i a l P r o v i d e r C o n f i g .   I f   s e t   t o   0 ,   t h e   k u b e l e t   w i l l   n o t   c a c h e   t h e   p r o v i d e d   A u t h C o n f i g .   a u t h   i s   a   m a p   c o n t a i n i n g   a u t h e n t i c a t i o n   i n f o r m a t i o n   p a s s e d   i n t o   t h e   k u b e l e t .   E a c h   k e y   i s   a   m a t c h   i m a g e   s t r i n g   ( m o r e   o n   t h i s   b e l o ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27593"
  },
  {
    "question": "What is AuthConfig?",
    "answer": "A p p e a r s   i n :   C r e d e n t i a l P r o v i d e r R e s p o n s e   A u t h C o n f i g   c o n t a i n s   a u t h e n t i c a t i o n   i n f o r m a t i o n   f o r   a   c o n t a i n e r   r e g i s t r y .   O n l y   u s e r n a m e / p a s s w o r d   b a s e d   a u t h e n t i c a t i o n   i s   s u p p o r t e d   t o d a y ,   b u t   m o r e   a u t h e n t i c a t i o n   m e c h a n i s m s   m a y   b e   a d d e d   i n   t h e   f u t u r e .   u s e r n a m e   i s   t h e   u s e r n a m e   u s e d   f o r   a u t h e n t i c a t i n g   t o   t h e   c o n t a i n e r   r e g i s t r y   A n   e m p t y   u s e r n a m e   i s   v a l i d .   p a s s w o r d   i s   t h e   p a s s w o r d   u s e d   f o r   a u t h e n t i c a t i n g   t o   t h e   c o n t a i n e r   r e g i s t r y   A n   e m p t y   p a s s w o r d   i s   v a l i d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27594"
  },
  {
    "question": "What is PluginCacheKeyType?",
    "answer": "( A l i a s   o f   s t r i n g )   A p p e a r s   i n :   C r e d e n t i a l P r o v i d e r R e s p o n s e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27595"
  },
  {
    "question": "What is Resource Types?",
    "answer": "P r e f e r e n c e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27596"
  },
  {
    "question": "What is Preference?",
    "answer": "P r e f e r e n c e   s t o r e s   e l e m e n t s   o f   K u b e R C   c o n f i g u r a t i o n   f i l e   o v e r r i d e s   a l l o w s   c h a n g i n g   d e f a u l t   f l a g   v a l u e s   o f   c o m m a n d s .   T h i s   i s   e s p e c i a l l y   u s e f u l ,   w h e n   u s e r   d o e s n ' t   w a n t   t o   e x p l i c i t l y   s e t   f l a g s   e a c h   t i m e .   a l i a s e s   a l l o w s   d e f i n i n g   c o m m a n d   a l i a s e s   f o r   e x i s t i n g   k u b e c t l   c o m m a n d s ,   w i t h   o p t i o n a l   d e f a u l t   f l a g   v a l u e s .   I f   t h e   a l i a s   n a m e   c o l l i d e s   w i t h   a   b u i l t - i n   c o m m a n d ,   b u i l t - i n   c o m m a n d   a l w a y s   t a k e s   p r e c e d e n c e .   F l a g   o v e r r i d e s   d e f i n e d   i n   t h e   o v e r r i d e s   s e c t i o n   d o   N O T   a p p l y   t o   a l i a s e s   f o r   t h e   s a m e   c o m m a n d .   k u b e c t l   [ A L I A S   N A M E ]   [ U S E R _ F L A G S ]   [ U S E R _ E X P L I C I T _ A R G S ]   e x p a n d s   t o   k u b e c t l   [ C O M M A N D ]   #   b u i l t - i n   c o m m a n d   a l i a s   p o i n t s   t o   [ K U B E R C _ P R E P E N D _ A R G S ]   [ U S E R _ F L A G S ]   [ K U B E R C _ F L A G S ]   #   r e s t   o f   t h e   f l a g s   t h a t   a r e   n o t   p a s s e d   b y   u s e r   i n   [ U S E R _ F L A G S ]   [ U S E R _ E X P L I C I T _ A R G S ]   [ K U B E R C _ A P P E N D _ A R G S ]   e . g .   n a m e :   r u n x   c o m m a n d :   r u n   f l a g s : n a m e :   i m a g e   d e f a u l t :   n g i n x   a p p e n d A r g s : c u s t o m - a r g 1   F o r   e x a m p l e ,   i f   u s e r   i n v o k e s   \" k u b e c t l   r u n x   t e s t - p o d \"   c o m m a n d ,   t h i s   w i l l   b e   e x p a n d e d   t o   \" k u b e c t l   r u n   - - i m a g e = n g i n x   t e s t - p o d   - -   c u s t o m - a r g 1 \" n a m e :   g e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27597"
  },
  {
    "question": "What is AliasOverride?",
    "answer": "A p p e a r s   i n :   P r e f e r e n c e   A l i a s O v e r r i d e   s t o r e s   t h e   a l i a s   d e f i n i t i o n s .   N a m e   i s   t h e   n a m e   o f   a l i a s   t h a t   c a n   o n l y   i n c l u d e   a l p h a b e t i c a l   c h a r a c t e r s   I f   t h e   a l i a s   n a m e   c o n f l i c t s   w i t h   t h e   b u i l t - i n   c o m m a n d ,   b u i l t - i n   c o m m a n d   w i l l   b e   u s e d .   C o m m a n d   i s   t h e   s i n g l e   o r   s e t   o f   c o m m a n d s   t o   e x e c u t e ,   s u c h   a s   \" s e t   e n v \"   o r   \" c r e a t e \"   P r e p e n d A r g s   s t o r e s   t h e   a r g u m e n t s   s u c h   a s   r e s o u r c e   n a m e s ,   e t c .   T h e s e   a r g u m e n t s   a r e   i n s e r t e d   a f t e r   t h e   a l i a s   n a m e .   A p p e n d A r g s   s t o r e s   t h e   a r g u m e n t s   s u c h   a s   r e s o u r c e   n a m e s ,   e t c .   T h e s e   a r g u m e n t s   a r e   a p p e n d e d   t o   t h e   U S E R _ A R G S .   F l a g   i s   a l l o c a t e d   t o   s t o r e   t h e   f l a g   d e f i n i t i o n s   o f   a l i a s .   F l a g   o n l y   m o d i f i e s   t h e   d e f a u l t   v a l u e   o f   t h e   f l a g   a n d   i f   u s e r   e x p l i c i t l y   p a s s e s   a   v a l u e ,   e x p l i c i t   o n e   i s   u s e d .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27598"
  },
  {
    "question": "What is CommandOverride?",
    "answer": "A p p e a r s   i n :   P r e f e r e n c e   C o m m a n d O v e r r i d e   s t o r e s   t h e   c o m m a n d s   a n d   t h e i r   a s s o c i a t e d   f l a g ' s   d e f a u l t   v a l u e s .   C o m m a n d   r e f e r s   t o   a   c o m m a n d   w h o s e   f l a g ' s   d e f a u l t   v a l u e   i s   c h a n g e d .   F l a g s   i s   a   l i s t   o f   f l a g s   s t o r i n g   d i f f e r e n t   d e f a u l t   v a l u e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27599"
  },
  {
    "question": "What is CommandOverrideFlag?",
    "answer": "A p p e a r s   i n :   A l i a s O v e r r i d e C o m m a n d O v e r r i d e   A l i a s O v e r r i d e   C o m m a n d O v e r r i d e   C o m m a n d O v e r r i d e F l a g   s t o r e s   t h e   n a m e   a n d   t h e   s p e c i f i e d   d e f a u l t   v a l u e   o f   t h e   f l a g .   F l a g   n a m e   ( l o n g   f o r m ,   w i t h o u t   d a s h e s ) .   I n   a   s t r i n g   f o r m a t   o f   a   d e f a u l t   v a l u e .   I t   w i l l   b e   p a r s e d   b y   k u b e c t l   t o   t h e   c o m p a t i b l e   v a l u e   o f   t h e   f l a g .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27600"
  },
  {
    "question": "What is 14.21 - WebhookAdmission Configuration (v1)?",
    "answer": "P a c k a g e   v 1   i s   t h e   v 1   v e r s i o n   o f   t h e   A P I .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_27601"
  },
  {
    "question": "What is Resource Types?",
    "answer": "W e b h o o k A d m i s s i o n",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27602"
  },
  {
    "question": "What is WebhookAdmission?",
    "answer": "W e b h o o k A d m i s s i o n   p r o v i d e s   c o n f i g u r a t i o n   f o r   t h e   w e b h o o k   a d m i s s i o n   c o n t r o l l e r .   K u b e C o n f i g F i l e   i s   t h e   p a t h   t o   t h e   k u b e c o n f i g   f i l e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27603"
  },
  {
    "question": "What is 15.1 - Kubernetes Custom Metrics (v1beta2)?",
    "answer": "P a c k a g e   v 1 b e t a 2   i s   t h e   v 1 b e t a 2   v e r s i o n   o f   t h e   c u s t o m _ m e t r i c s   A P I .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_27604"
  },
  {
    "question": "What is Resource Types?",
    "answer": "M e t r i c L i s t O p t i o n s M e t r i c V a l u e M e t r i c V a l u e L i s t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27605"
  },
  {
    "question": "What is MetricListOptions?",
    "answer": "M e t r i c L i s t O p t i o n s   i s   u s e d   t o   s e l e c t   m e t r i c s   b y   t h e i r   l a b e l   s e l e c t o r s   A   s e l e c t o r   t o   r e s t r i c t   t h e   l i s t   o f   r e t u r n e d   o b j e c t s   b y   t h e i r   l a b e l s .   D e f a u l t s   t o   e v e r y t h i n g .   A   s e l e c t o r   t o   r e s t r i c t   t h e   l i s t   o f   r e t u r n e d   m e t r i c s   b y   t h e i r   l a b e l s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27606"
  },
  {
    "question": "What is MetricValue?",
    "answer": "A p p e a r s   i n :   M e t r i c V a l u e L i s t   M e t r i c V a l u e   i s   t h e   m e t r i c   v a l u e   f o r   s o m e   o b j e c t   a   r e f e r e n c e   t o   t h e   d e s c r i b e d   o b j e c t   i n d i c a t e s   t h e   t i m e   a t   w h i c h   t h e   m e t r i c s   w e r e   p r o d u c e d   i n d i c a t e s   t h e   w i n d o w   ( [ T i m e s t a m p - W i n d o w ,   T i m e s t a m p ] )   f r o m   w h i c h   t h e s e   m e t r i c s   w e r e   c a l c u l a t e d ,   w h e n   r e t u r n i n g   r a t e   m e t r i c s   c a l c u l a t e d   f r o m   c u m u l a t i v e   m e t r i c s   ( o r   z e r o   f o r   n o n - c a l c u l a t e d   i n s t a n t a n e o u s   m e t r i c s ) .   t h e   v a l u e   o f   t h e   m e t r i c   f o r   t h i s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27607"
  },
  {
    "question": "What is MetricValueList?",
    "answer": "M e t r i c V a l u e L i s t   i s   a   l i s t   o f   v a l u e s   f o r   a   g i v e n   m e t r i c   f o r   s o m e   s e t   o f   o b j e c t s   t h e   v a l u e   o f   t h e   m e t r i c   a c r o s s   t h e   d e s c r i b e d   o b j e c t s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27608"
  },
  {
    "question": "What is MetricIdentifier?",
    "answer": "A p p e a r s   i n :   M e t r i c V a l u e   M e t r i c I d e n t i f i e r   i d e n t i f i e s   a   m e t r i c   b y   n a m e   a n d ,   o p t i o n a l l y ,   s e l e c t o r   n a m e   i s   t h e   n a m e   o f   t h e   g i v e n   m e t r i c   s e l e c t o r   r e p r e s e n t s   t h e   l a b e l   s e l e c t o r   t h a t   c o u l d   b e   u s e d   t o   s e l e c t   t h i s   m e t r i c ,   a n d   w i l l   g e n e r a l l y   j u s t   b e   t h e   s e l e c t o r   p a s s e d   i n   t o   t h e   q u e r y   u s e d   t o   f e t c h   t h i s   m e t r i c .   W h e n   l e f t   b l a n k ,   o n l y   t h e   m e t r i c ' s   N a m e   w i l l   b e   u s e d   t o   g a t h e r   m e t r i c s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27609"
  },
  {
    "question": "What is 15.2 - Kubernetes External Metrics (v1beta1)?",
    "answer": "P a c k a g e   v 1 b e t a 1   i s   t h e   v 1 b e t a 1   v e r s i o n   o f   t h e   e x t e r n a l   m e t r i c s   A P I .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_27610"
  },
  {
    "question": "What is Resource Types?",
    "answer": "E x t e r n a l M e t r i c V a l u e E x t e r n a l M e t r i c V a l u e L i s t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27611"
  },
  {
    "question": "What is ExternalMetricValue?",
    "answer": "A p p e a r s   i n :   E x t e r n a l M e t r i c V a l u e L i s t   E x t e r n a l M e t r i c V a l u e   i s   a   m e t r i c   v a l u e   f o r   e x t e r n a l   m e t r i c   A   s i n g l e   m e t r i c   v a l u e   i s   i d e n t i f i e d   b y   m e t r i c   n a m e   a n d   a   s e t   o f   s t r i n g   l a b e l s .   F o r   o n e   m e t r i c   t h e r e   c a n   b e   m u l t i p l e   v a l u e s   w i t h   d i f f e r e n t   s e t s   o f   l a b e l s .   t h e   n a m e   o f   t h e   m e t r i c   a   s e t   o f   l a b e l s   t h a t   i d e n t i f y   a   s i n g l e   t i m e   s e r i e s   f o r   t h e   m e t r i c   i n d i c a t e s   t h e   t i m e   a t   w h i c h   t h e   m e t r i c s   w e r e   p r o d u c e d   i n d i c a t e s   t h e   w i n d o w   ( [ T i m e s t a m p - W i n d o w ,   T i m e s t a m p ] )   f r o m   w h i c h   t h e s e   m e t r i c s   w e r e   c a l c u l a t e d ,   w h e n   r e t u r n i n g   r a t e   m e t r i c s   c a l c u l a t e d   f r o m   c u m u l a t i v e   m e t r i c s   ( o r   z e r o   f o r   n o n - c a l c u l a t e d   i n s t a n t a n e o u s   m e t r i c s ) .   t h e   v a l u e   o f   t h e   m e t r i c",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27612"
  },
  {
    "question": "What is ExternalMetricValueList?",
    "answer": "E x t e r n a l M e t r i c V a l u e L i s t   i s   a   l i s t   o f   v a l u e s   f o r   a   g i v e n   m e t r i c   f o r   s o m e   s e t   l a b e l s   v a l u e   o f   t h e   m e t r i c   m a t c h i n g   a   g i v e n   s e t   o f   l a b e l s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27613"
  },
  {
    "question": "What is 15.3 - Kubernetes Metrics (v1beta1)?",
    "answer": "P a c k a g e   v 1 b e t a 1   i s   t h e   v 1 b e t a 1   v e r s i o n   o f   t h e   m e t r i c s   A P I .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_27614"
  },
  {
    "question": "What is Resource Types?",
    "answer": "N o d e M e t r i c s N o d e M e t r i c s L i s t P o d M e t r i c s P o d M e t r i c s L i s t",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27615"
  },
  {
    "question": "What is NodeMetrics?",
    "answer": "A p p e a r s   i n :   N o d e M e t r i c s L i s t   N o d e M e t r i c s   s e t s   r e s o u r c e   u s a g e   m e t r i c s   o f   a   n o d e .   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   T h e   f o l l o w i n g   f i e l d s   d e f i n e   t i m e   i n t e r v a l   f r o m   w h i c h   m e t r i c s   w e r e   c o l l e c t e d   f r o m   t h e   i n t e r v a l   [ T i m e s t a m p - W i n d o w ,   T i m e s t a m p ] .   T h e   m e m o r y   u s a g e   i s   t h e   m e m o r y   w o r k i n g   s e t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27616"
  },
  {
    "question": "What is NodeMetricsList?",
    "answer": "N o d e M e t r i c s L i s t   i s   a   l i s t   o f   N o d e M e t r i c s .   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   L i s t   o f   n o d e   m e t r i c s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27617"
  },
  {
    "question": "What is PodMetrics?",
    "answer": "A p p e a r s   i n :   P o d M e t r i c s L i s t   P o d M e t r i c s   s e t s   r e s o u r c e   u s a g e   m e t r i c s   o f   a   p o d .   S t a n d a r d   o b j e c t ' s   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # m e t a d a t a   T h e   f o l l o w i n g   f i e l d s   d e f i n e   t i m e   i n t e r v a l   f r o m   w h i c h   m e t r i c s   w e r e   c o l l e c t e d   f r o m   t h e   i n t e r v a l   [ T i m e s t a m p - W i n d o w ,   T i m e s t a m p ] .   M e t r i c s   f o r   a l l   c o n t a i n e r s   a r e   c o l l e c t e d   w i t h i n   t h e   s a m e   t i m e   w i n d o w .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27618"
  },
  {
    "question": "What is PodMetricsList?",
    "answer": "P o d M e t r i c s L i s t   i s   a   l i s t   o f   P o d M e t r i c s .   S t a n d a r d   l i s t   m e t a d a t a .   M o r e   i n f o :   h t t p s : / / g i t . k 8 s . i o / c o m m u n i t y / c o n t r i b u t o r s / d e v e l / s i g - a r c h i t e c t u r e / a p i - c o n v e n t i o n s . m d # t y p e s - k i n d s   L i s t   o f   p o d   m e t r i c s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27619"
  },
  {
    "question": "What is ContainerMetrics?",
    "answer": "A p p e a r s   i n :   P o d M e t r i c s   C o n t a i n e r M e t r i c s   s e t s   r e s o u r c e   u s a g e   m e t r i c s   o f   a   c o n t a i n e r .   C o n t a i n e r   n a m e   c o r r e s p o n d i n g   t o   t h e   o n e   f r o m   p o d . s p e c . c o n t a i n e r s .   T h e   m e m o r y   u s a g e   i s   t h e   m e m o r y   w o r k i n g   s e t .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27620"
  },
  {
    "question": "What is 16.1 - Scheduler Configuration?",
    "answer": "Y o u   c a n   c u s t o m i z e   t h e   b e h a v i o r   o f   t h e   k u b e - s c h e d u l e r   b y   w r i t i n g   a   c o n f i g u r a t i o n   f i l e   a n d   p a s s i n g   i t s   p a t h   a s   a   c o m m a n d   l i n e   a r g u m e n t .   A   s c h e d u l i n g   P r o f i l e   a l l o w s   y o u   t o   c o n f i g u r e   t h e   d i f f e r e n t   s t a g e s   o f   s c h e d u l i n g   i n   t h e   k u b e - s c h e d u l e r .   E a c h   s t a g e   i s   e x p o s e d   i n   a n   e x t e n s i o n   p o i n t .   P l u g i n s   p r o v i d e   s c h e d u l i n g   b e h a v i o r s   b y   i m p l e m e n t i n g   o n e   o r   m o r e   o f   t h e s e   e x t e n s i o n   p o i n t s .   Y o u   c a n   s p e c i f y   s c h e d u l i n g   p r o f i l e s   b y   r u n n i n g   k u b e - s c h e d u l e r   - - c o n f i g   < f i l e n a m e > ,   u s i n g   t h e   K u b e S c h e d u l e r C o n f i g u r a t i o n   v 1   s t r u c t .   A   m i n i m a l   c o n f i g u r a t i o n   l o o k s   a s   f o l l o w s :   a p i V e r s i o n :   k u b e s c h e d u l e r . c o n f i g . k 8 s . i o / v 1   k i n d :   K u b e S c h e d u l e r C o n f i g u r a t i o n   c l i e n t C o n n e c t i o n :   k u b e c o n f i g :   / e t c / s r v / k u b e r n e t e s / k u b e - s c h e d u l e r / k u b e c o n f i g",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_27621"
  },
  {
    "question": "What is Profiles?",
    "answer": "A   s c h e d u l i n g   P r o f i l e   a l l o w s   y o u   t o   c o n f i g u r e   t h e   d i f f e r e n t   s t a g e s   o f   s c h e d u l i n g   i n   t h e   k u b e - s c h e d u l e r .   E a c h   s t a g e   i s   e x p o s e d   i n   a n   e x t e n s i o n   p o i n t .   P l u g i n s   p r o v i d e   s c h e d u l i n g   b e h a v i o r s   b y   i m p l e m e n t i n g   o n e   o r   m o r e   o f   t h e s e   e x t e n s i o n   p o i n t s .   Y o u   c a n   c o n f i g u r e   a   s i n g l e   i n s t a n c e   o f   k u b e - s c h e d u l e r   t o   r u n   m u l t i p l e   p r o f i l e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27622"
  },
  {
    "question": "What is Extension points?",
    "answer": "S c h e d u l i n g   h a p p e n s   i n   a   s e r i e s   o f   s t a g e s   t h a t   a r e   e x p o s e d   t h r o u g h   t h e   f o l l o w i n g   e x t e n s i o n   p o i n t s :   q u e u e S o r t :   T h e s e   p l u g i n s   p r o v i d e   a n   o r d e r i n g   f u n c t i o n   t h a t   i s   u s e d   t o   s o r t   p e n d i n g   P o d s   i n   t h e   s c h e d u l i n g   q u e u e .   E x a c t l y   o n e   q u e u e   s o r t   p l u g i n   m a y   b e   e n a b l e d   a t   a   t i m e . p r e F i l t e r :   T h e s e   p l u g i n s   a r e   u s e d   t o   p r e - p r o c e s s   o r   c h e c k   i n f o r m a t i o n   a b o u t   a   P o d   o r   t h e   c l u s t e r   b e f o r e   f i l t e r i n g .   T h e y   c a n   m a r k   a   p o d   a s   u n s c h e d u l a b l e . f i l t e r :   T h e s e   p l u g i n s   a r e   t h e   e q u i v a l e n t   o f   P r e d i c a t e s   i n   a   s c h e d u l i n g   P o l i c y   a n d   a r e   u s e d   t o   f i l t e r   o u t   n o d e s   t h a t   c a n   n o t   r u n   t h e   P o d .   F i l t e r s   a r e   c a l l e d   i n   t h e   c o n f i g u r e d   o r d e r .   A   p o d   i s   m a r k e d   a s   u n s c h e d u l a b l e   i f   n o   n o d e s   p a s s   a l l   t h e   f i l t e r s . p o s t F i l t e r :   T h e s e   p l u g i n s   a r e   c a l l e d   i n   t h e i r   c o n f i g u r e d   o r d e r   w h e n   n o   f e a s i b l e   n o d e s   w e r e   f o u n d   f o r   t h e   p o d .   I f   a n y   p o s t F i l t e r   p l u g i n   m a r k s   t h e   P o d   s c h e d u l a b l e ,   t h e   r e m a i n i n g   p l u g i n s   a r e   n o t   c a l l e d . p r e S c o r e :   T h i s   i s   a n   i n f o r m a t i o n a l   e x t e n s i o n   p o i n t   t h a t   c a n   b e   u s e d   f o r   d o i n g   p r e - s c o r i n g   w o r k . s c o r e :   T h e s e   p l u g i n s   p r o v i d e   a   s c o r e   t o   e ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_27623"
  },
  {
    "question": "What is Scheduling plugins?",
    "answer": "T h e   f o l l o w i n g   p l u g i n s ,   e n a b l e d   b y   d e f a u l t ,   i m p l e m e n t   o n e   o r   m o r e   o f   t h e s e   e x t e n s i o n   p o i n t s :   I m a g e L o c a l i t y :   F a v o r s   n o d e s   t h a t   a l r e a d y   h a v e   t h e   c o n t a i n e r   i m a g e s   t h a t   t h e   P o d   r u n s .   E x t e n s i o n   p o i n t s :   s c o r e . T a i n t T o l e r a t i o n :   I m p l e m e n t s   t a i n t s   a n d   t o l e r a t i o n s .   I m p l e m e n t s   e x t e n s i o n   p o i n t s :   f i l t e r ,   p r e S c o r e ,   s c o r e . N o d e N a m e :   C h e c k s   i f   a   P o d   s p e c   n o d e   n a m e   m a t c h e s   t h e   c u r r e n t   n o d e .   E x t e n s i o n   p o i n t s :   f i l t e r . N o d e P o r t s :   C h e c k s   i f   a   n o d e   h a s   f r e e   p o r t s   f o r   t h e   r e q u e s t e d   P o d   p o r t s .   E x t e n s i o n   p o i n t s :   p r e F i l t e r ,   f i l t e r . N o d e A f f i n i t y :   I m p l e m e n t s   n o d e   s e l e c t o r s   a n d   n o d e   a f f i n i t y .   E x t e n s i o n   p o i n t s :   f i l t e r ,   s c o r e . P o d T o p o l o g y S p r e a d :   I m p l e m e n t s   P o d   t o p o l o g y   s p r e a d .   E x t e n s i o n   p o i n t s :   p r e F i l t e r ,   f i l t e r ,   p r e S c o r e ,   s c o r e . N o d e U n s c h e d u l a b l e :   F i l t e r s   o u t   n o d e s   t h a t   h a v e   . s p e c . u n s c h e d u l a b l e   s e t   t o   t r u e .   E x t e n s i o n   p o i n t s :   f i l t e r . N o d e R e s o u r c e s F i t :   C h e c k s   i f   t h e   n o d e   h a s   a l l   t h e   r e s o u r c e s   t h a t   t h e   P o d   i s   r e q u e s t i n g .   T h e   s c o r e   c a n   u s e   o n e   o f   t h r e e   s t r a t e g i e s :   L e a s t A l l o c a t e d   ( d e f a u l t ) ,   M o s t A l l o c a t e d   a n d   R e q u e s t e d T o C a p a c i t y ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_27624"
  },
  {
    "question": "What is Note:?",
    "answer": "Y o u   c a n   a l s o   e n a b l e   t h e   f o l l o w i n g   p l u g i n s ,   t h r o u g h   t h e   c o m p o n e n t   c o n f i g   A P I s ,   t h a t   a r e   n o t   e n a b l e d   b y   d e f a u l t :   C i n d e r L i m i t s :   C h e c k s   t h a t   O p e n S t a c k   C i n d e r   v o l u m e   l i m i t s   c a n   b e   s a t i s f i e d   f o r   t h e   n o d e .   E x t e n s i o n   p o i n t s :   f i l t e r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_27625"
  },
  {
    "question": "What is Multiple profiles?",
    "answer": "Y o u   c a n   c o n f i g u r e   k u b e - s c h e d u l e r   t o   r u n   m o r e   t h a n   o n e   p r o f i l e .   E a c h   p r o f i l e   h a s   a n   a s s o c i a t e d   s c h e d u l e r   n a m e   a n d   c a n   h a v e   a   d i f f e r e n t   s e t   o f   p l u g i n s   c o n f i g u r e d   i n   i t s   e x t e n s i o n   p o i n t s .   W i t h   t h e   f o l l o w i n g   s a m p l e   c o n f i g u r a t i o n ,   t h e   s c h e d u l e r   w i l l   r u n   w i t h   t w o   p r o f i l e s :   o n e   w i t h   t h e   d e f a u l t   p l u g i n s   a n d   o n e   w i t h   a l l   s c o r i n g   p l u g i n s   d i s a b l e d .   a p i V e r s i o n :   k u b e s c h e d u l e r . c o n f i g . k 8 s . i o / v 1   k i n d :   K u b e S c h e d u l e r C o n f i g u r a t i o n   p r o f i l e s :   -   s c h e d u l e r N a m e :   d e f a u l t - s c h e d u l e r   -   s c h e d u l e r N a m e :   n o - s c o r i n g - s c h e d u l e r   p l u g i n s :   p r e S c o r e :   d i s a b l e d :   -   n a m e :   ' * '   s c o r e :   d i s a b l e d :   -   n a m e :   ' * '   P o d s   t h a t   w a n t   t o   b e   s c h e d u l e d   a c c o r d i n g   t o   a   s p e c i f i c   p r o f i l e   c a n   i n c l u d e   t h e   c o r r e s p o n d i n g   s c h e d u l e r   n a m e   i n   i t s   . s p e c . s c h e d u l e r N a m e .   B y   d e f a u l t ,   o n e   p r o f i l e   w i t h   t h e   s c h e d u l e r   n a m e   d e f a u l t - s c h e d u l e r   i s   c r e a t e d .   T h i s   p r o f i l e   i n c l u d e s   t h e   d e f a u l t   p l u g i n s   d e s c r i b e d   a b o v e .   W h e n   d e c l a r i n g   m o r e   t h a n   o n e   p r o f i l e ,   a   u n i q u e   s c h e d u l e r   n a m e   f o r   e a c h   o f   t h e m   i s   r e q u i r e d .   I f   a   P o d   d o e s n ' t   s p e c i f y   a   s c h e d u l e r   n a m e ,   k u b e - a p i s e r v e r   w i l l   s e t ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_27626"
  },
  {
    "question": "What is Note:?",
    "answer": "P o d ' s   s c h e d u l i n g   e v e n t s   h a v e   . s p e c . s c h e d u l e r N a m e   a s   t h e i r   r e p o r t i n g C o n t r o l l e r .   E v e n t s   f o r   l e a d e r   e l e c t i o n   u s e   t h e   s c h e d u l e r   n a m e   o f   t h e   f i r s t   p r o f i l e   i n   t h e   l i s t .   F o r   m o r e   i n f o r m a t i o n ,   p l e a s e   r e f e r   t o   t h e   r e p o r t i n g C o n t r o l l e r   s e c t i o n   u n d e r   E v e n t   A P I   R e f e r e n c e .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_4_27627"
  },
  {
    "question": "What is Plugins that apply to multiple extension points?",
    "answer": "S t a r t i n g   f r o m   k u b e s c h e d u l e r . c o n f i g . k 8 s . i o / v 1 b e t a 3 ,   t h e r e   i s   a n   a d d i t i o n a l   f i e l d   i n   t h e   p r o f i l e   c o n f i g ,   m u l t i P o i n t ,   w h i c h   a l l o w s   f o r   e a s i l y   e n a b l i n g   o r   d i s a b l i n g   a   p l u g i n   a c r o s s   s e v e r a l   e x t e n s i o n   p o i n t s .   T h e   i n t e n t   o f   m u l t i P o i n t   c o n f i g   i s   t o   s i m p l i f y   t h e   c o n f i g u r a t i o n   n e e d e d   f o r   u s e r s   a n d   a d m i n i s t r a t o r s   w h e n   u s i n g   c u s t o m   p r o f i l e s .   C o n s i d e r   a   p l u g i n ,   M y P l u g i n ,   w h i c h   i m p l e m e n t s   t h e   p r e S c o r e ,   s c o r e ,   p r e F i l t e r ,   a n d   f i l t e r   e x t e n s i o n   p o i n t s .   T o   e n a b l e   M y P l u g i n   f o r   a l l   i t s   a v a i l a b l e   e x t e n s i o n   p o i n t s ,   t h e   p r o f i l e   c o n f i g   l o o k s   l i k e :   a p i V e r s i o n :   k u b e s c h e d u l e r . c o n f i g . k 8 s . i o / v 1   k i n d :   K u b e S c h e d u l e r C o n f i g u r a t i o n   p r o f i l e s :   -   s c h e d u l e r N a m e :   m u l t i p o i n t - s c h e d u l e r   p l u g i n s :   m u l t i P o i n t :   e n a b l e d :   -   n a m e :   M y P l u g i n   T h i s   w o u l d   e q u a t e   t o   m a n u a l l y   e n a b l i n g   M y P l u g i n   f o r   a l l   o f   i t s   e x t e n s i o n   p o i n t s ,   l i k e   s o :   a p i V e r s i o n :   k u b e s c h e d u l e r . c o n f i g . k 8 s . i o / v 1   k i n d :   K u b e S c h e d u l e r C o n f i g u r a t i o n   p r o f i l e s :   -   s c h e d u l e r N a m e :   n o n - m u l t i p o i n t - s c h e d u l e r   p l u g i n s :   p r e S c o r e :   e n a b l e d :   -   n a m e :   M y P l u g i n   s c o r e :   e n a b l e d :   -   n a m e :   M y P l u g i n   p r e F ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_3_27628"
  },
  {
    "question": "What is Scheduler configuration migrations?",
    "answer": "W i t h   t h e   v 1 b e t a 2   c o n f i g u r a t i o n   v e r s i o n ,   y o u   c a n   u s e   a   n e w   s c o r e   e x t e n s i o n   f o r   t h e   N o d e R e s o u r c e s F i t   p l u g i n .   T h e   n e w   e x t e n s i o n   c o m b i n e s   t h e   f u n c t i o n a l i t i e s   o f   t h e   N o d e R e s o u r c e s L e a s t A l l o c a t e d ,   N o d e R e s o u r c e s M o s t A l l o c a t e d   a n d   R e q u e s t e d T o C a p a c i t y R a t i o   p l u g i n s .   F o r   e x a m p l e ,   i f   y o u   p r e v i o u s l y   u s e d   t h e   N o d e R e s o u r c e s M o s t A l l o c a t e d   p l u g i n ,   y o u   w o u l d   i n s t e a d   u s e   N o d e R e s o u r c e s F i t   ( e n a b l e d   b y   d e f a u l t )   a n d   a d d   a   p l u g i n C o n f i g   w i t h   a   s c o r e S t r a t e g y   t h a t   i s   s i m i l a r   t o : a p i V e r s i o n :   k u b e s c h e d u l e r . c o n f i g . k 8 s . i o / v 1 b e t a 2   k i n d :   K u b e S c h e d u l e r C o n f i g u r a t i o n   p r o f i l e s :   -   p l u g i n C o n f i g :   -   a r g s :   s c o r i n g S t r a t e g y :   r e s o u r c e s :   -   n a m e :   c p u   w e i g h t :   1   t y p e :   M o s t A l l o c a t e d   n a m e :   N o d e R e s o u r c e s F i t   T h e   s c h e d u l e r   p l u g i n   N o d e L a b e l   i s   d e p r e c a t e d ;   i n s t e a d ,   u s e   t h e   N o d e A f f i n i t y   p l u g i n   ( e n a b l e d   b y   d e f a u l t )   t o   a c h i e v e   s i m i l a r   b e h a v i o r . T h e   s c h e d u l e r   p l u g i n   S e r v i c e A f f i n i t y   i s   d e p r e c a t e d ;   i n s t e a d ,   u s e   t h e   I n t e r P o d A f f i n i t y   p l u g i n   ( e n a b l e d   b y   d e f a u l t )   t o   a c h i e v e   s i m i l a r   b e h a v i o r . T h e   s c h e d u l e r   p l u g i n   N o d e P r e f e r A v o i d P o d s   i s   d e p r e c a t e d ;   i n s t e a d ,   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27629"
  },
  {
    "question": "What is What's next?",
    "answer": "R e a d   t h e   k u b e - s c h e d u l e r   r e f e r e n c e L e a r n   a b o u t   s c h e d u l i n g R e a d   t h e   k u b e - s c h e d u l e r   c o n f i g u r a t i o n   ( v 1 )   r e f e r e n c e",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27630"
  },
  {
    "question": "What is 16.2 - Scheduling Policies?",
    "answer": "I n   K u b e r n e t e s   v e r s i o n s   b e f o r e   v 1 . 2 3 ,   a   s c h e d u l i n g   p o l i c y   c a n   b e   u s e d   t o   s p e c i f y   t h e   p r e d i c a t e s   a n d   p r i o r i t i e s   p r o c e s s .   F o r   e x a m p l e ,   y o u   c a n   s e t   a   s c h e d u l i n g   p o l i c y   b y   r u n n i n g   k u b e - s c h e d u l e r   - - p o l i c y - c o n f i g - f i l e   < f i l e n a m e >   o r   k u b e - s c h e d u l e r   - - p o l i c y - c o n f i g m a p   < C o n f i g M a p > .   T h i s   s c h e d u l i n g   p o l i c y   i s   n o t   s u p p o r t e d   s i n c e   K u b e r n e t e s   v 1 . 2 3 .   A s s o c i a t e d   f l a g s   p o l i c y - c o n f i g - f i l e ,   p o l i c y - c o n f i g m a p ,   p o l i c y - c o n f i g m a p - n a m e s p a c e   a n d   u s e - l e g a c y - p o l i c y - c o n f i g   a r e   a l s o   n o t   s u p p o r t e d .   I n s t e a d ,   u s e   t h e   S c h e d u l e r   C o n f i g u r a t i o n   t o   a c h i e v e   s i m i l a r   b e h a v i o r .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_27631"
  },
  {
    "question": "What is What's next?",
    "answer": "L e a r n   a b o u t   s c h e d u l i n g L e a r n   a b o u t   k u b e - s c h e d u l e r   C o n f i g u r a t i o n R e a d   t h e   k u b e - s c h e d u l e r   c o n f i g u r a t i o n   r e f e r e n c e   ( v 1 )",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27632"
  },
  {
    "question": "What is 17 - Other Tools?",
    "answer": "K u b e r n e t e s   c o n t a i n s   s e v e r a l   t o o l s   t o   h e l p   y o u   w o r k   w i t h   t h e   K u b e r n e t e s   s y s t e m .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_1_27633"
  },
  {
    "question": "What is crictl?",
    "answer": "c r i c t l   i s   a   c o m m a n d - l i n e   i n t e r f a c e   f o r   i n s p e c t i n g   a n d   d e b u g g i n g   C R I - c o m p a t i b l e   c o n t a i n e r   r u n t i m e s .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27634"
  },
  {
    "question": "What is Dashboard?",
    "answer": "D a s h b o a r d ,   t h e   w e b - b a s e d   u s e r   i n t e r f a c e   o f   K u b e r n e t e s ,   a l l o w s   y o u   t o   d e p l o y   c o n t a i n e r i z e d   a p p l i c a t i o n s   t o   a   K u b e r n e t e s   c l u s t e r ,   t r o u b l e s h o o t   t h e m ,   a n d   m a n a g e   t h e   c l u s t e r   a n d   i t s   r e s o u r c e s   i t s e l f .",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27635"
  },
  {
    "question": "What is Helm?",
    "answer": "H e l m   i s   a   t o o l   f o r   m a n a g i n g   p a c k a g e s   o f   p r e - c o n f i g u r e d   K u b e r n e t e s   r e s o u r c e s .   T h e s e   p a c k a g e s   a r e   k n o w n   a s   H e l m   c h a r t s .   U s e   H e l m   t o :   F i n d   a n d   u s e   p o p u l a r   s o f t w a r e   p a c k a g e d   a s   K u b e r n e t e s   c h a r t s S h a r e   y o u r   o w n   a p p l i c a t i o n s   a s   K u b e r n e t e s   c h a r t s C r e a t e   r e p r o d u c i b l e   b u i l d s   o f   y o u r   K u b e r n e t e s   a p p l i c a t i o n s I n t e l l i g e n t l y   m a n a g e   y o u r   K u b e r n e t e s   m a n i f e s t   f i l e s M a n a g e   r e l e a s e s   o f   H e l m   p a c k a g e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27636"
  },
  {
    "question": "What is Kompose?",
    "answer": "K o m p o s e   i s   a   t o o l   t o   h e l p   D o c k e r   C o m p o s e   u s e r s   m o v e   t o   K u b e r n e t e s .   U s e   K o m p o s e   t o :   T r a n s l a t e   a   D o c k e r   C o m p o s e   f i l e   i n t o   K u b e r n e t e s   o b j e c t s G o   f r o m   l o c a l   D o c k e r   d e v e l o p m e n t   t o   m a n a g i n g   y o u r   a p p l i c a t i o n   v i a   K u b e r n e t e s C o n v e r t   v 1   o r   v 2   D o c k e r   C o m p o s e   y a m l   f i l e s   o r   D i s t r i b u t e d   A p p l i c a t i o n   B u n d l e s",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27637"
  },
  {
    "question": "What is Kui?",
    "answer": "K u i   i s   a   G U I   t o o l   t h a t   t a k e s   y o u r   n o r m a l   k u b e c t l   c o m m a n d   l i n e   r e q u e s t s   a n d   r e s p o n d s   w i t h   g r a p h i c s .   K u i   t a k e s   t h e   n o r m a l   k u b e c t l   c o m m a n d   l i n e   r e q u e s t s   a n d   r e s p o n d s   w i t h   g r a p h i c s .   I n s t e a d   o f   A S C I I   t a b l e s ,   K u i   p r o v i d e s   a   G U I   r e n d e r i n g   w i t h   t a b l e s   t h a t   y o u   c a n   s o r t .   K u i   l e t s   y o u :   D i r e c t l y   c l i c k   o n   l o n g ,   a u t o - g e n e r a t e d   r e s o u r c e   n a m e s   i n s t e a d   o f   c o p y i n g   a n d   p a s t i n g T y p e   i n   k u b e c t l   c o m m a n d s   a n d   s e e   t h e m   e x e c u t e ,   e v e n   s o m e t i m e s   f a s t e r   t h a n   k u b e c t l   i t s e l f Q u e r y   a   J o b   a n d   s e e   i t s   e x e c u t i o n   r e n d e r e d   a s   a   w a t e r f a l l   d i a g r a m C l i c k   t h r o u g h   r e s o u r c e s   i n   y o u r   c l u s t e r   u s i n g   a   t a b b e d   U I",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27638"
  },
  {
    "question": "What is Minikube?",
    "answer": "m i n i k u b e   i s   a   t o o l   t h a t   r u n s   a   s i n g l e - n o d e   K u b e r n e t e s   c l u s t e r   l o c a l l y   o n   y o u r   w o r k s t a t i o n   f o r   d e v e l o p m e n t   a n d   t e s t i n g   p u r p o s e s .   ©   2 0 2 5   T h e   K u b e r n e t e s   A u t h o r s   |   D o c u m e n t a t i o n   D i s t r i b u t e d   u n d e r   C C   B Y   4 . 0   ©   2 0 2 5   T h e   L i n u x   F o u n d a t i o n   ® .   A l l   r i g h t s   r e s e r v e d .   T h e   L i n u x   F o u n d a t i o n   h a s   r e g i s t e r e d   t r a d e m a r k s   a n d   u s e s   t r a d e m a r k s .   F o r   a   l i s t   o f   t r a d e m a r k s   o f   T h e   L i n u x   F o u n d a t i o n ,   p l e a s e   s e e   o u r   T r a d e m a r k   U s a g e   p a g e   I C P   l i c e n s e :   京 I C P 备 1 7 0 7 4 2 6 6 号 - 3",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/_print/",
    "id": "k8s_00789_section_2_27639"
  },
  {
    "question": "What is kubelet?",
    "answer": "kubeletSynopsisThe kubelet is the primary \"node agent\" that runs on each node. It can register the node with the apiserver using one of: the hostname; a flag to override the hostname; or specific logic for a cloud provider.The kubelet works in terms of a PodSpec. A PodSpec is a YAML or JSON object that describes a pod. The kubelet takes a set of PodSpecs that are provided through various mechanisms (primarily through the apiserver) and ensures that the containers described in those PodSpecs are running and healthy. The kubelet doesn't manage containers which were not created by Kubernetes.Other than from an PodSpec from the apiserver, there are two ways that a container manifest can be provided to the Kubelet.File: Path passed as a flag on the command line. Files under this path will be monitored periodically for updates. The monitoring period is 20s by default and is configurable via a flag.HTTP endpoint: HTTP endpoint passed as a parameter on the command line. This endpoint is checked every 20 seconds (also configurable with a flag).kubelet [flags] Options--address string Default: 0.0.0.0The IP address for the Kubelet to serve on (set to '0.0.0.0' or '::' for listening on all interfaces and IP address families) (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--allowed-unsafe-sysctls stringsComma-separated whitelist of unsafe sysctls or unsafe sysctl patterns (ending in *). Use these at your own risk. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--anonymous-auth Default: trueEnables anonymous requests to the Kubelet server. Requests that are not rejected by another authentication method are treated as anonymous requests. Anonymous requests have a username of system:anonymous, and a group name of system:unauthenticated. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--authentication-token-webhookUse the TokenReview API to determine authentication for bearer tokens. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--authentication-token-webhook-cache-ttl duration Default: 2m0sThe duration to cache responses from the webhook token authenticator. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--authorization-mode string Default: \"AlwaysAllow\"Authorization mode for Kubelet server. Valid",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet",
    "id": "k8s_00790_qa_27640"
  },
  {
    "question": "How does kubelet work?",
    "answer": "kubeletSynopsisThe kubelet is the primary \"node agent\" that runs on each node. It can register the node with the apiserver using one of: the hostname; a flag to override the hostname; or specific logic for a cloud provider.The kubelet works in terms of a PodSpec. A PodSpec is a YAML or JSON object that describes a pod. The kubelet takes a set of PodSpecs that are provided through various mechanisms (primarily through the apiserver) and ensures that the containers described in those PodSpecs are running and healthy. The kubelet doesn't manage containers which were not created by Kubernetes.Other than from an PodSpec from the apiserver, there are two ways that a container manifest can be provided to the Kubelet.File: Path passed as a flag on the command line. Files under this path will be monitored periodically for updates. The monitoring period is 20s by default and is configurable via a flag.HTTP endpoint: HTTP endpoint passed as a parameter on the command line. This endpoint is checked every 20 seconds (also configurable with a flag).kubelet [flags] Options--address string Default: 0.0.0.0The IP address for the Kubelet to serve on (set to '0.0.0.0' or '::' for listening on all interfaces and IP address families) (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--allowed-unsafe-sysctls stringsComma-separated whitelist of unsafe sysctls or unsafe sysctl patterns (ending in *). Use these at your own risk. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--anonymous-auth Default: trueEnables anonymous requests to the Kubelet server. Requests that are not rejected by another authentication method are treated as anonymous requests. Anonymous requests have a username of system:anonymous, and a group name of system:unauthenticated. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--authentication-token-webhookUse the TokenReview API to determine authentication for bearer tokens. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--authentication-token-webhook-cache-ttl duration Default: 2m0sThe duration to cache responses from the webhook token authenticator. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--authorization-mode string Default: \"AlwaysAllow\"Authorization mode for Kubelet server. Valid",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet",
    "id": "k8s_00790_qa_27641"
  },
  {
    "question": "When would you use kubelet?",
    "answer": "kubeletSynopsisThe kubelet is the primary \"node agent\" that runs on each node. It can register the node with the apiserver using one of: the hostname; a flag to override the hostname; or specific logic for a cloud provider.The kubelet works in terms of a PodSpec. A PodSpec is a YAML or JSON object that describes a pod. The kubelet takes a set of PodSpecs that are provided through various mechanisms (primarily through the apiserver) and ensures that the containers described in those PodSpecs are running and healthy. The kubelet doesn't manage containers which were not created by Kubernetes.Other than from an PodSpec from the apiserver, there are two ways that a container manifest can be provided to the Kubelet.File: Path passed as a flag on the command line. Files under this path will be monitored periodically for updates. The monitoring period is 20s by default and is configurable via a flag.HTTP endpoint: HTTP endpoint passed as a parameter on the command line. This endpoint is checked every 20 seconds (also configurable with a flag).kubelet [flags] Options--address string Default: 0.0.0.0The IP address for the Kubelet to serve on (set to '0.0.0.0' or '::' for listening on all interfaces and IP address families) (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--allowed-unsafe-sysctls stringsComma-separated whitelist of unsafe sysctls or unsafe sysctl patterns (ending in *). Use these at your own risk. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--anonymous-auth Default: trueEnables anonymous requests to the Kubelet server. Requests that are not rejected by another authentication method are treated as anonymous requests. Anonymous requests have a username of system:anonymous, and a group name of system:unauthenticated. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--authentication-token-webhookUse the TokenReview API to determine authentication for bearer tokens. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--authentication-token-webhook-cache-ttl duration Default: 2m0sThe duration to cache responses from the webhook token authenticator. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--authorization-mode string Default: \"AlwaysAllow\"Authorization mode for Kubelet server. Valid",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet",
    "id": "k8s_00790_qa_27642"
  },
  {
    "question": "What are the benefits of kubelet?",
    "answer": "kubeletSynopsisThe kubelet is the primary \"node agent\" that runs on each node. It can register the node with the apiserver using one of: the hostname; a flag to override the hostname; or specific logic for a cloud provider.The kubelet works in terms of a PodSpec. A PodSpec is a YAML or JSON object that describes a pod. The kubelet takes a set of PodSpecs that are provided through various mechanisms (primarily through the apiserver) and ensures that the containers described in those PodSpecs are running and healthy. The kubelet doesn't manage containers which were not created by Kubernetes.Other than from an PodSpec from the apiserver, there are two ways that a container manifest can be provided to the Kubelet.File: Path passed as a flag on the command line. Files under this path will be monitored periodically for updates. The monitoring period is 20s by default and is configurable via a flag.HTTP endpoint: HTTP endpoint passed as a parameter on the command line. This endpoint is checked every 20 seconds (also configurable with a flag).kubelet [flags] Options--address string Default: 0.0.0.0The IP address for the Kubelet to serve on (set to '0.0.0.0' or '::' for listening on all interfaces and IP address families) (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--allowed-unsafe-sysctls stringsComma-separated whitelist of unsafe sysctls or unsafe sysctl patterns (ending in *). Use these at your own risk. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--anonymous-auth Default: trueEnables anonymous requests to the Kubelet server. Requests that are not rejected by another authentication method are treated as anonymous requests. Anonymous requests have a username of system:anonymous, and a group name of system:unauthenticated. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--authentication-token-webhookUse the TokenReview API to determine authentication for bearer tokens. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--authentication-token-webhook-cache-ttl duration Default: 2m0sThe duration to cache responses from the webhook token authenticator. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)--authorization-mode string Default: \"AlwaysAllow\"Authorization mode for Kubelet server. Valid",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet",
    "id": "k8s_00790_qa_27643"
  },
  {
    "question": "What is Synopsis?",
    "answer": "T h e   k u b e l e t   i s   t h e   p r i m a r y   \" n o d e   a g e n t \"   t h a t   r u n s   o n   e a c h   n o d e .   I t   c a n   r e g i s t e r   t h e   n o d e   w i t h   t h e   a p i s e r v e r   u s i n g   o n e   o f :   t h e   h o s t n a m e ;   a   f l a g   t o   o v e r r i d e   t h e   h o s t n a m e ;   o r   s p e c i f i c   l o g i c   f o r   a   c l o u d   p r o v i d e r .   T h e   k u b e l e t   w o r k s   i n   t e r m s   o f   a   P o d S p e c .   A   P o d S p e c   i s   a   Y A M L   o r   J S O N   o b j e c t   t h a t   d e s c r i b e s   a   p o d .   T h e   k u b e l e t   t a k e s   a   s e t   o f   P o d S p e c s   t h a t   a r e   p r o v i d e d   t h r o u g h   v a r i o u s   m e c h a n i s m s   ( p r i m a r i l y   t h r o u g h   t h e   a p i s e r v e r )   a n d   e n s u r e s   t h a t   t h e   c o n t a i n e r s   d e s c r i b e d   i n   t h o s e   P o d S p e c s   a r e   r u n n i n g   a n d   h e a l t h y .   T h e   k u b e l e t   d o e s n ' t   m a n a g e   c o n t a i n e r s   w h i c h   w e r e   n o t   c r e a t e d   b y   K u b e r n e t e s .   O t h e r   t h a n   f r o m   a n   P o d S p e c   f r o m   t h e   a p i s e r v e r ,   t h e r e   a r e   t w o   w a y s   t h a t   a   c o n t a i n e r   m a n i f e s t   c a n   b e   p r o v i d e d   t o   t h e   K u b e l e t .   F i l e :   P a t h   p a s s e d   a s   a   f l a g   o n   t h e   c o m m a n d   l i n e .   F i l e s   u n d e r   t h i s   p a t h   w i l l   b e   m o n i t o r e d   p e r i o d i c a l l y   f o r   u p d a t e s .   T h e   m o n i t o r i n g   p e r i o d   i s   2 0 s   b y   d e f a u l t   a n d   i s   c o n f i g u r a b l e   v i a   a   f l a g .   H T T P   e n d p o i n t :   H T T P   e n d p o i n t   p a s s e d   a s   a   p a r a m e t e r   o n   t h e   c o m m a n d   l i n e .   T h i s   e n d p o i n t   i s   c h e c k e d   e v e r y   2 0   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet",
    "id": "k8s_00790_section_2_27644"
  },
  {
    "question": "What is Options?",
    "answer": "T h e   I P   a d d r e s s   f o r   t h e   K u b e l e t   t o   s e r v e   o n   ( s e t   t o   ' 0 . 0 . 0 . 0 '   o r   ' : : '   f o r   l i s t e n i n g   o n   a l l   i n t e r f a c e s   a n d   I P   a d d r e s s   f a m i l i e s )   ( D E P R E C A T E D :   T h i s   p a r a m e t e r   s h o u l d   b e   s e t   v i a   t h e   c o n f i g   f i l e   s p e c i f i e d   b y   t h e   K u b e l e t ' s   - - c o n f i g   f l a g .   S e e   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / a d m i n i s t e r - c l u s t e r / k u b e l e t - c o n f i g - f i l e /   f o r   m o r e   i n f o r m a t i o n . )   C o m m a - s e p a r a t e d   w h i t e l i s t   o f   u n s a f e   s y s c t l s   o r   u n s a f e   s y s c t l   p a t t e r n s   ( e n d i n g   i n   * ) .   U s e   t h e s e   a t   y o u r   o w n   r i s k .   ( D E P R E C A T E D :   T h i s   p a r a m e t e r   s h o u l d   b e   s e t   v i a   t h e   c o n f i g   f i l e   s p e c i f i e d   b y   t h e   K u b e l e t ' s   - - c o n f i g   f l a g .   S e e   h t t p s : / / k u b e r n e t e s . i o / d o c s / t a s k s / a d m i n i s t e r - c l u s t e r / k u b e l e t - c o n f i g - f i l e /   f o r   m o r e   i n f o r m a t i o n . )   E n a b l e s   a n o n y m o u s   r e q u e s t s   t o   t h e   K u b e l e t   s e r v e r .   R e q u e s t s   t h a t   a r e   n o t   r e j e c t e d   b y   a n o t h e r   a u t h e n t i c a t i o n   m e t h o d   a r e   t r e a t e d   a s   a n o n y m o u s   r e q u e s t s .   A n o n y m o u s   r e q u e s t s   h a v e   a   u s e r n a m e   o f   s y s t e m : a n o n y m o u s ,   a n d   a   g r o u p   n a m e   o f   s y s t e m : u n a u t h e n t i c a t e d .   ( D E P R E C A T E D :   T h i s   p a r a m e t e r   s h o u l d   b e   s e t   v i a   t h e   c o n f i g   f i l e   s p e c i f i e d   b y   t h e   K u b e l e t ' s   - - c o n f i g   f l a g .   ",
    "category": "reference",
    "subcategory": "general-reference",
    "source": "https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet",
    "id": "k8s_00790_section_2_27645"
  },
  {
    "question": "What is API Overview?",
    "answer": "Kubernetes API Reference Docs Overview API Groups Workloads APIs Container v1 core CronJob v1 batch Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status DaemonSet v1 apps Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Deployment v1 apps Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Misc Operations Read Scale Replace Scale Patch Scale Job v1 batch Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Pod v1 core Write Operations Create Create Eviction Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Resize Operations Read Resize Patch Resize Replace Resize EphemeralContainers Operations Patch EphemeralContainers Read EphemeralContainers Replace EphemeralContainers Proxy Operations Create Connect Portforward Create Connect Proxy Create Connect Proxy Path Delete Connect Proxy Delete Connect Proxy Path Get Connect Portforward Get Connect Proxy Get Connect Proxy Path Head Connect Proxy Head Connect Proxy Path Replace Connect Proxy Replace Connect Proxy Path Misc Operations Read Log Get Connect Exec Create Connect Exec Get Connect Attach Create Connect Attach ReplicaSet v1 apps Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Misc Operations Read Scale Replace Scale Patch Scale ReplicationController v1 core Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Misc Operations Read Scale Replace Scale Patch Scale StatefulSet v1 apps Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Misc Operations Read Scale Replace Scale Patch Scale Service APIs Endpoints v1 core Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces EndpointSlice v1 discovery.k8s.io Write Operations Create Patch Replace Delete Delete Collection Read Operations",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_qa_27646"
  },
  {
    "question": "How does API Overview work?",
    "answer": "Kubernetes API Reference Docs Overview API Groups Workloads APIs Container v1 core CronJob v1 batch Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status DaemonSet v1 apps Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Deployment v1 apps Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Misc Operations Read Scale Replace Scale Patch Scale Job v1 batch Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Pod v1 core Write Operations Create Create Eviction Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Resize Operations Read Resize Patch Resize Replace Resize EphemeralContainers Operations Patch EphemeralContainers Read EphemeralContainers Replace EphemeralContainers Proxy Operations Create Connect Portforward Create Connect Proxy Create Connect Proxy Path Delete Connect Proxy Delete Connect Proxy Path Get Connect Portforward Get Connect Proxy Get Connect Proxy Path Head Connect Proxy Head Connect Proxy Path Replace Connect Proxy Replace Connect Proxy Path Misc Operations Read Log Get Connect Exec Create Connect Exec Get Connect Attach Create Connect Attach ReplicaSet v1 apps Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Misc Operations Read Scale Replace Scale Patch Scale ReplicationController v1 core Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Misc Operations Read Scale Replace Scale Patch Scale StatefulSet v1 apps Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Misc Operations Read Scale Replace Scale Patch Scale Service APIs Endpoints v1 core Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces EndpointSlice v1 discovery.k8s.io Write Operations Create Patch Replace Delete Delete Collection Read Operations",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_qa_27647"
  },
  {
    "question": "When would you use API Overview?",
    "answer": "Kubernetes API Reference Docs Overview API Groups Workloads APIs Container v1 core CronJob v1 batch Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status DaemonSet v1 apps Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Deployment v1 apps Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Misc Operations Read Scale Replace Scale Patch Scale Job v1 batch Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Pod v1 core Write Operations Create Create Eviction Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Resize Operations Read Resize Patch Resize Replace Resize EphemeralContainers Operations Patch EphemeralContainers Read EphemeralContainers Replace EphemeralContainers Proxy Operations Create Connect Portforward Create Connect Proxy Create Connect Proxy Path Delete Connect Proxy Delete Connect Proxy Path Get Connect Portforward Get Connect Proxy Get Connect Proxy Path Head Connect Proxy Head Connect Proxy Path Replace Connect Proxy Replace Connect Proxy Path Misc Operations Read Log Get Connect Exec Create Connect Exec Get Connect Attach Create Connect Attach ReplicaSet v1 apps Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Misc Operations Read Scale Replace Scale Patch Scale ReplicationController v1 core Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Misc Operations Read Scale Replace Scale Patch Scale StatefulSet v1 apps Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Misc Operations Read Scale Replace Scale Patch Scale Service APIs Endpoints v1 core Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces EndpointSlice v1 discovery.k8s.io Write Operations Create Patch Replace Delete Delete Collection Read Operations",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_qa_27648"
  },
  {
    "question": "What are the benefits of API Overview?",
    "answer": "Kubernetes API Reference Docs Overview API Groups Workloads APIs Container v1 core CronJob v1 batch Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status DaemonSet v1 apps Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Deployment v1 apps Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Misc Operations Read Scale Replace Scale Patch Scale Job v1 batch Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Pod v1 core Write Operations Create Create Eviction Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Resize Operations Read Resize Patch Resize Replace Resize EphemeralContainers Operations Patch EphemeralContainers Read EphemeralContainers Replace EphemeralContainers Proxy Operations Create Connect Portforward Create Connect Proxy Create Connect Proxy Path Delete Connect Proxy Delete Connect Proxy Path Get Connect Portforward Get Connect Proxy Get Connect Proxy Path Head Connect Proxy Head Connect Proxy Path Replace Connect Proxy Replace Connect Proxy Path Misc Operations Read Log Get Connect Exec Create Connect Exec Get Connect Attach Create Connect Attach ReplicaSet v1 apps Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Misc Operations Read Scale Replace Scale Patch Scale ReplicationController v1 core Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Misc Operations Read Scale Replace Scale Patch Scale StatefulSet v1 apps Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces Status Operations Patch Status Read Status Replace Status Misc Operations Read Scale Replace Scale Patch Scale Service APIs Endpoints v1 core Write Operations Create Patch Replace Delete Delete Collection Read Operations Read List List All Namespaces Watch Watch List Watch List All Namespaces EndpointSlice v1 discovery.k8s.io Write Operations Create Patch Replace Delete Delete Collection Read Operations",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_qa_27649"
  },
  {
    "question": "What is API Overview?",
    "answer": "W e l c o m e   t o   t h e   K u b e r n e t e s   A P I .   Y o u   c a n   u s e   t h e   K u b e r n e t e s   A P I   t o   r e a d   a n d   w r i t e   K u b e r n e t e s   r e s o u r c e   o b j e c t s   v i a   a   K u b e r n e t e s   A P I   e n d p o i n t .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_27650"
  },
  {
    "question": "What is Resource Categories?",
    "answer": "T h i s   i s   a   h i g h - l e v e l   o v e r v i e w   o f   t h e   b a s i c   t y p e s   o f   r e s o u r c e s   p r o v i d e   b y   t h e   K u b e r n e t e s   A P I   a n d   t h e i r   p r i m a r y   f u n c t i o n s .   W o r k l o a d s   a r e   o b j e c t s   y o u   u s e   t o   m a n a g e   a n d   r u n   y o u r   c o n t a i n e r s   o n   t h e   c l u s t e r .   D i s c o v e r y   &   L B   r e s o u r c e s   a r e   o b j e c t s   y o u   u s e   t o   \" s t i t c h \"   y o u r   w o r k l o a d s   t o g e t h e r   i n t o   a n   e x t e r n a l l y   a c c e s s i b l e ,   l o a d - b a l a n c e d   S e r v i c e .   C o n f i g   &   S t o r a g e   r e s o u r c e s   a r e   o b j e c t s   y o u   u s e   t o   i n j e c t   i n i t i a l i z a t i o n   d a t a   i n t o   y o u r   a p p l i c a t i o n s ,   a n d   t o   p e r s i s t   d a t a   t h a t   i s   e x t e r n a l   t o   y o u r   c o n t a i n e r .   C l u s t e r   r e s o u r c e s   o b j e c t s   d e f i n e   h o w   t h e   c l u s t e r   i t s e l f   i s   c o n f i g u r e d ;   t h e s e   a r e   t y p i c a l l y   u s e d   o n l y   b y   c l u s t e r   o p e r a t o r s .   M e t a d a t a   r e s o u r c e s   a r e   o b j e c t s   y o u   u s e   t o   c o n f i g u r e   t h e   b e h a v i o r   o f   o t h e r   r e s o u r c e s   w i t h i n   t h e   c l u s t e r ,   s u c h   a s   H o r i z o n t a l P o d A u t o s c a l e r   f o r   s c a l i n g   w o r k l o a d s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27651"
  },
  {
    "question": "What is Resource Objects?",
    "answer": "R e s o u r c e   o b j e c t s   t y p i c a l l y   h a v e   3   c o m p o n e n t s :   R e s o u r c e   O b j e c t M e t a :   T h i s   i s   m e t a d a t a   a b o u t   t h e   r e s o u r c e ,   s u c h   a s   i t s   n a m e ,   t y p e ,   a p i   v e r s i o n ,   a n n o t a t i o n s ,   a n d   l a b e l s .   T h i s   c o n t a i n s   f i e l d s   t h a t   m a y b e   u p d a t e d   b o t h   b y   t h e   e n d   u s e r   a n d   t h e   s y s t e m   ( e . g .   a n n o t a t i o n s ) .   R e s o u r c e S p e c :   T h i s   i s   d e f i n e d   b y   t h e   u s e r   a n d   d e s c r i b e s   t h e   d e s i r e d   s t a t e   o f   s y s t e m .   F i l l   t h i s   i n   w h e n   c r e a t i n g   o r   u p d a t i n g   a n   o b j e c t .   R e s o u r c e S t a t u s :   T h i s   i s   f i l l e d   i n   b y   t h e   s e r v e r   a n d   r e p o r t s   t h e   c u r r e n t   s t a t e   o f   t h e   s y s t e m .   I n   m o s t   c a s e s ,   u s e r s   d o n ' t   n e e d   t o   c h a n g e   t h i s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27652"
  },
  {
    "question": "What is Resource Operations?",
    "answer": "M o s t   r e s o u r c e s   p r o v i d e   t h e   f o l l o w i n g   O p e r a t i o n s :",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27653"
  },
  {
    "question": "What is Create?",
    "answer": "C r e a t e   o p e r a t i o n s   w i l l   c r e a t e   t h e   r e s o u r c e   i n   t h e   s t o r a g e   b a c k e n d .   A f t e r   a   r e s o u r c e   i s   c r e a t e   t h e   s y s t e m   w i l l   a p p l y   t h e   d e s i r e d   s t a t e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_4_27654"
  },
  {
    "question": "What is Update?",
    "answer": "U p d a t e s   c o m e   i n   2   f o r m s :   R e p l a c e   a n d   P a t c h :   R e p l a c e :   R e p l a c i n g   a   r e s o u r c e   o b j e c t   w i l l   u p d a t e   t h e   r e s o u r c e   b y   r e p l a c i n g   t h e   e x i s t i n g   s p e c   w i t h   t h e   p r o v i d e d   o n e .   F o r   r e a d - t h e n - w r i t e   o p e r a t i o n s   t h i s   i s   s a f e   b e c a u s e   a n   o p t i m i s t i c   l o c k   f a i l u r e   w i l l   o c c u r   i f   t h e   r e s o u r c e   w a s   m o d i f i e d   b e t w e e n   t h e   r e a d   a n d   w r i t e .   N o t e :   T h e   R e s o u r c e S t a t u s   w i l l   b e   i g n o r e d   b y   t h e   s y s t e m   a n d   w i l l   n o t   b e   u p d a t e d .   T o   u p d a t e   t h e   s t a t u s ,   o n e   m u s t   i n v o k e   t h e   s p e c i f i c   s t a t u s   u p d a t e   o p e r a t i o n .   N o t e :   R e p l a c i n g   a   r e s o u r c e   o b j e c t   m a y   n o t   r e s u l t   i m m e d i a t e l y   i n   c h a n g e s   b e i n g   p r o p a g a t e d   t o   d o w n s t r e a m   o b j e c t s .   F o r   i n s t a n c e   r e p l a c i n g   a   C o n f i g M a p   o r   S e c r e t   r e s o u r c e   w i l l   n o t   r e s u l t   i n   a l l   P o d s   s e e i n g   t h e   c h a n g e s   u n l e s s   t h e   P o d s   a r e   r e s t a r t e d   o u t   o f   b a n d .   P a t c h :   P a t c h   w i l l   a p p l y   a   c h a n g e   t o   a   s p e c i f i c   f i e l d .   H o w   t h e   c h a n g e   i s   m e r g e d   i s   d e f i n e d   p e r   f i e l d .   L i s t s   m a y   e i t h e r   b e   r e p l a c e d   o r   m e r g e d .   M e r g i n g   l i s t s   w i l l   n o t   p r e s e r v e   o r d e r i n g .   P a t c h e s   w i l l   n e v e r   c a u s e   o p t i m i s t i c   l o c k i n g   f a i l u r e s ,   a n d   t h e   l a s t   w r i t e   w i l l   w i n .   P a t c h e s   a r e   r e c ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_4_27655"
  },
  {
    "question": "What is Read?",
    "answer": "R e a d s   c o m e   i n   3   f o r m s :   G e t ,   L i s t   a n d   W a t c h :   G e t :   G e t   w i l l   r e t r i e v e   a   s p e c i f i c   r e s o u r c e   o b j e c t   b y   n a m e .   L i s t :   L i s t   w i l l   r e t r i e v e   a l l   r e s o u r c e   o b j e c t s   o f   a   s p e c i f i c   t y p e   w i t h i n   a   n a m e s p a c e ,   a n d   t h e   r e s u l t s   c a n   b e   r e s t r i c t e d   t o   r e s o u r c e s   m a t c h i n g   a   s e l e c t o r   q u e r y .   L i s t   A l l   N a m e s p a c e s :   L i k e   L i s t   b u t   r e t r i e v e s   r e s o u r c e s   a c r o s s   a l l   n a m e s p a c e s .   W a t c h :   W a t c h   w i l l   s t r e a m   r e s u l t s   f o r   a n   o b j e c t ( s )   a s   i t   i s   u p d a t e d .   S i m i l a r   t o   a   c a l l b a c k ,   w a t c h   i s   u s e d   t o   r e s p o n d   t o   r e s o u r c e   c h a n g e s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_4_27656"
  },
  {
    "question": "What is Delete?",
    "answer": "D e l e t e   w i l l   d e l e t e   a   r e s o u r c e .   D e p e n d i n g   o n   t h e   s p e c i f i c   r e s o u r c e ,   c h i l d   o b j e c t s   m a y   o r   m a y   n o t   b e   g a r b a g e   c o l l e c t e d   b y   t h e   s e r v e r .   S e e   n o t e s   o n   s p e c i f i c   r e s o u r c e   o b j e c t s   f o r   d e t a i l s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_4_27657"
  },
  {
    "question": "What is Additional Operations?",
    "answer": "R e s o u r c e s   m a y   d e f i n e   a d d i t i o n a l   o p e r a t i o n s   s p e c i f i c   t o   t h a t   r e s o u r c e   t y p e .   R o l l b a c k :   R o l l b a c k   a   P o d T e m p l a t e   t o   a   p r e v i o u s   v e r s i o n .   O n l y   a v a i l a b l e   f o r   s o m e   r e s o u r c e   t y p e s .   R e a d   /   W r i t e   S c a l e :   R e a d   o r   U p d a t e   t h e   n u m b e r   o f   r e p l i c a s   f o r   t h e   g i v e n   r e s o u r c e .   O n l y   a v a i l a b l e   f o r   s o m e   r e s o u r c e   t y p e s .   R e a d   /   W r i t e   S t a t u s :   R e a d   o r   U p d a t e   t h e   S t a t u s   f o r   a   r e s o u r c e   o b j e c t .   T h e   S t a t u s   c a n   o n l y   c h a n g e d   t h r o u g h   t h e s e   u p d a t e   o p e r a t i o n s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_4_27658"
  },
  {
    "question": "What is API Groups?",
    "answer": "T h e   A P I   G r o u p s   a n d   t h e i r   v e r s i o n s   a r e   s u m m a r i z e d   i n   t h e   f o l l o w i n g   t a b l e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_27659"
  },
  {
    "question": "What is Workloads?",
    "answer": "W o r k l o a d s   r e s o u r c e s   a r e   r e s p o n s i b l e   f o r   m a n a g i n g   a n d   r u n n i n g   y o u r   c o n t a i n e r s   o n   t h e   c l u s t e r .   C o n t a i n e r s   a r e   c r e a t e d   b y   C o n t r o l l e r s   t h r o u g h   P o d s .   P o d s   r u n   C o n t a i n e r s   a n d   p r o v i d e   e n v i r o n m e n t a l   d e p e n d e n c i e s   s u c h   a s   s h a r e d   o r   p e r s i s t e n t   s t o r a g e   V o l u m e s   a n d   C o n f i g u r a t i o n   o r   S e c r e t   d a t a   i n j e c t e d   i n t o   t h e   c o n t a i n e r .   T h e   m o s t   c o m m o n   C o n t r o l l e r s   a r e :   D e p l o y m e n t s   f o r   s t a t e l e s s   p e r s i s t e n t   a p p s   ( e . g .   H T T P   s e r v e r s ) .   S t a t e f u l S e t s   f o r   s t a t e f u l   p e r s i s t e n t   a p p s   ( e . g .   d a t a b a s e s ) .   J o b s   f o r   r u n - t o - c o m p l e t i o n   a p p s   ( e . g .   b a t c h   J o b s ) .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_27660"
  },
  {
    "question": "What is Container v1 core?",
    "answer": "s h o w   e x a m p l e   n a m e :   n g i n x   #   R u n   t h e   n g i n x : 1 . 1 4   i m a g e   i m a g e :   n g i n x : 1 . 1 4   W a r n i n g :   C o n t a i n e r s   a r e   o n l y   e v e r   c r e a t e d   w i t h i n   t h e   c o n t e x t   o f   a   P o d .   T h i s   i s   u s u a l l y   d o n e   u s i n g   a   C o n t r o l l e r .   S e e   C o n t r o l l e r s :   D e p l o y m e n t ,   J o b ,   o r   S t a t e f u l S e t   P o d S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_27661"
  },
  {
    "question": "What is ContainerStatus v1 core?",
    "answer": "P o d S t a t u s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27662"
  },
  {
    "question": "What is CronJob v1 batch?",
    "answer": "C r o n J o b L i s t   [ b a t c h / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_27663"
  },
  {
    "question": "What is CronJobSpec v1 batch?",
    "answer": "C r o n J o b   [ b a t c h / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27664"
  },
  {
    "question": "What is CronJobStatus v1 batch?",
    "answer": "C r o n J o b   [ b a t c h / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27665"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   C r o n J o b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27666"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27667"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   C r o n J o b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27668"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27669"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   C r o n J o b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27670"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27671"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   C r o n J o b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27672"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27673"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   C r o n J o b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27674"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27675"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   C r o n J o b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27676"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27677"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   C r o n J o b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27678"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27679"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   C r o n J o b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27680"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / c r o n j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27681"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   C r o n J o b .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27682"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27683"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   C r o n J o b .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27684"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27685"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   C r o n J o b .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27686"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / w a t c h / c r o n j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27687"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   C r o n J o b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27688"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27689"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   C r o n J o b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27690"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27691"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   C r o n J o b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27692"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c r o n j o b s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27693"
  },
  {
    "question": "What is DaemonSet v1 apps?",
    "answer": "s h o w   e x a m p l e   a p i V e r s i o n :   a p p s / v 1   k i n d :   D a e m o n S e t   m e t a d a t a :   #   U n i q u e   k e y   o f   t h e   D a e m o n S e t   i n s t a n c e   n a m e :   d a e m o n s e t - e x a m p l e   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   d a e m o n s e t - e x a m p l e   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   d a e m o n s e t - e x a m p l e   s p e c :   c o n t a i n e r s :   #   T h i s   c o n t a i n e r   i s   r u n   o n c e   o n   e a c h   N o d e   i n   t h e   c l u s t e r   -   n a m e :   d a e m o n s e t - e x a m p l e   i m a g e :   u b u n t u : t r u s t y   c o m m a n d :   -   / b i n / s h   a r g s :   -   - c   #   T h i s   s c r i p t   i s   r u n   t h r o u g h   ` s h   - c   < s c r i p t > `   -   > -   w h i l e   [   t r u e   ] ;   d o   e c h o   \" D a e m o n S e t   r u n n i n g   o n   $ ( h o s t n a m e ) \"   ;   s l e e p   1 0   ;   d o n e   D a e m o n S e t L i s t   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_27694"
  },
  {
    "question": "What is DaemonSetSpec v1 apps?",
    "answer": "D a e m o n S e t   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27695"
  },
  {
    "question": "What is DaemonSetStatus v1 apps?",
    "answer": "D a e m o n S e t   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27696"
  },
  {
    "question": "What is RollingUpdateDaemonSet v1 apps?",
    "answer": "D a e m o n S e t U p d a t e S t r a t e g y   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27697"
  },
  {
    "question": "What is Create?",
    "answer": "$   e c h o   ' a p i V e r s i o n :   a p p s / v 1   k i n d :   D a e m o n S e t   m e t a d a t a :   n a m e :   d a e m o n s e t - e x a m p l e   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   d a e m o n s e t - e x a m p l e   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   d a e m o n s e t - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   d a e m o n s e t - e x a m p l e   i m a g e :   u b u n t u : t r u s t y   c o m m a n d :   -   / b i n / s h   a r g s :   -   - c   -   > -   w h i l e   [   t r u e   ] ;   d o   e c h o   \" D a e m o n S e t   r u n n i n g   o n   $ ( h o s t n a m e ) \"   ;   s l e e p   1 0   ;   d o n e   '   |   k u b e c t l   c r e a t e   - f   -   $   k u b e c t l   p r o x y   $   c u r l   - X   P O S T   - H   ' C o n t e n t - T y p e :   a p p l i c a t i o n / y a m l '   - - d a t a   '   a p i V e r s i o n :   a p p s / v 1   k i n d :   D a e m o n S e t   m e t a d a t a :   n a m e :   d a e m o n s e t - e x a m p l e   s p e c :   s e l e c t o r :   m a t c h L a b e l s :   a p p :   d a e m o n s e t - e x a m p l e   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   d a e m o n s e t - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   d a e m o n s e t - e x a m p l e   i m a g e :   u b u n t u : t r u s t y   c o m m a n d :   -   / b i n / s h   a r g s :   -   - c   -   > -   w h i l e   [   t r u e   ] ;   d o   e c h o   \" D a e m o n S e t   r u n n i n g   o n   $ ( h o s t n a m e ) \"   ;   s l e e p   1 0   ;   d o n e   '   h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 0 1 / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / d a e m o n s e t s   d a e m o n s e t   \" d a e m o n s e t - e x a m p l e \"   c r e a t e d   {   \" k i n d \" :   \" D a e m o n S e t \" ,   \" a p i V e r s i o n \" :   \" a p p s / v 1 \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" d a e m o n s e t - e x a m p l ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27698"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27699"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   D a e m o n S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27700"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27701"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   D a e m o n S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27702"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27703"
  },
  {
    "question": "What is Delete?",
    "answer": "$   k u b e c t l   d e l e t e   d a e m o n s e t   d a e m o n s e t - e x a m p l e   $   k u b e c t l   p r o x y   $   c u r l   - X   D E L E T E   - H   ' C o n t e n t - T y p e :   a p p l i c a t i o n / y a m l '   - - d a t a   '   g r a c e P e r i o d S e c o n d s :   0   o r p h a n D e p e n d e n t s :   f a l s e   '   ' h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 0 1 / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / d a e m o n s e t s / d a e m o n s e t - e x a m p l e '   d a e m o n s e t   \" d a e m o n s e t - e x a m p l e \"   d e l e t e d   {   \" k i n d \" :   \" S t a t u s \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   { } ,   \" s t a t u s \" :   \" S u c c e s s \" ,   \" c o d e \" :   2 0 0   }   d e l e t e   a   D a e m o n S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27704"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27705"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   D a e m o n S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27706"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27707"
  },
  {
    "question": "What is Read?",
    "answer": "$   k u b e c t l   g e t   d a e m o n s e t   d a e m o n s e t - e x a m p l e   - o   j s o n   $   k u b e c t l   p r o x y   $   c u r l   - X   G E T   h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 0 1 / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / d a e m o n s e t s / d a e m o n s e t - e x a m p l e   r e a d   t h e   s p e c i f i e d   D a e m o n S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27708"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27709"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   D a e m o n S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27710"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27711"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   D a e m o n S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27712"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / d a e m o n s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27713"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   D a e m o n S e t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27714"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27715"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   D a e m o n S e t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27716"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27717"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   D a e m o n S e t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27718"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / w a t c h / d a e m o n s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27719"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   D a e m o n S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27720"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27721"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   D a e m o n S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27722"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27723"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   D a e m o n S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27724"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d a e m o n s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27725"
  },
  {
    "question": "What is Deployment v1 apps?",
    "answer": "s h o w   e x a m p l e   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   #   U n i q u e   k e y   o f   t h e   D e p l o y m e n t   i n s t a n c e   n a m e :   d e p l o y m e n t - e x a m p l e   s p e c :   #   3   P o d s   s h o u l d   e x i s t   a t   a l l   t i m e s .   r e p l i c a s :   3   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   #   A p p l y   t h i s   l a b e l   t o   p o d s   a n d   d e f a u l t   #   t h e   D e p l o y m e n t   l a b e l   s e l e c t o r   t o   t h i s   v a l u e   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   #   R u n   t h i s   i m a g e   i m a g e :   n g i n x : 1 . 1 4   D e p l o y m e n t L i s t   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_27726"
  },
  {
    "question": "What is DeploymentSpec v1 apps?",
    "answer": "D e p l o y m e n t   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27727"
  },
  {
    "question": "What is DeploymentStatus v1 apps?",
    "answer": "D e p l o y m e n t   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27728"
  },
  {
    "question": "What is DeploymentStrategy v1 apps?",
    "answer": "D e p l o y m e n t S p e c   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27729"
  },
  {
    "question": "What is RollingUpdateDeployment v1 apps?",
    "answer": "D e p l o y m e n t S t r a t e g y   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27730"
  },
  {
    "question": "What is Create?",
    "answer": "$   e c h o   ' a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   d e p l o y m e n t - e x a m p l e   s p e c :   r e p l i c a s :   3   r e v i s i o n H i s t o r y L i m i t :   1 0   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4   p o r t s :   -   c o n t a i n e r P o r t :   8 0   '   |   k u b e c t l   c r e a t e   - f   -   $   k u b e c t l   p r o x y   $   c u r l   - X   P O S T   - H   ' C o n t e n t - T y p e :   a p p l i c a t i o n / y a m l '   - - d a t a   '   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   d e p l o y m e n t - e x a m p l e   s p e c :   r e p l i c a s :   3   r e v i s i o n H i s t o r y L i m i t :   1 0   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4   p o r t s :   -   c o n t a i n e r P o r t :   8 0   '   h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 0 1 / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / d e p l o y m e n t s   d e p l o y m e n t   \" d e p l o y m e n t - e x a m p l e \"   c r e a t e d   {   \" k i n d \" :   \" D e p l o y m e n t \" ,   \" a p i V e r s i o n \" :   \" a p p s / v 1 \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" d e p l o y m e n t - e x a m p l e \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \" ,   \" s e l f L i n k \" :   \" / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / d e p l o y m e n t s / d e p l o y m e n t - e x a m p l e \" ,   \" u i d \" :   \" 4 c c c a 3 4 9 - 9 c b 1 - 1 1 e 6 - 9 c 5 4 - 4 2 0 1 0 a 8 0 0 1 4 8 \" ,   \" r e s o u r c e V e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27731"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27732"
  },
  {
    "question": "What is Patch?",
    "answer": "$   k u b e c t l   p a t c h   d e p l o y m e n t   d e p l o y m e n t - e x a m p l e   - p   \\   ' { \" s p e c \" : { \" t e m p l a t e \" : { \" s p e c \" : { \" c o n t a i n e r s \" : [ { \" n a m e \" : \" n g i n x \" , \" i m a g e \" : \" n g i n x : 1 . 1 6 \" } ] } } } } '   $   k u b e c t l   p r o x y   $   c u r l   - X   P A T C H   - H   ' C o n t e n t - T y p e :   a p p l i c a t i o n / s t r a t e g i c - m e r g e - p a t c h + j s o n '   - - d a t a   '   { \" s p e c \" : { \" t e m p l a t e \" : { \" s p e c \" : { \" c o n t a i n e r s \" : [ { \" n a m e \" : \" n g i n x \" , \" i m a g e \" : \" n g i n x : 1 . 1 6 \" } ] } } } } '   \\   ' h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 0 1 / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / d e p l o y m e n t s / d e p l o y m e n t - e x a m p l e '   \" d e p l o y m e n t - e x a m p l e \"   p a t c h e d   {   \" k i n d \" :   \" D e p l o y m e n t \" ,   \" a p i V e r s i o n \" :   \" a p p s / v 1 \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" d e p l o y m e n t - e x a m p l e \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \" ,   \" s e l f L i n k \" :   \" / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / d e p l o y m e n t s / d e p l o y m e n t - e x a m p l e \" ,   \" u i d \" :   \" 5 d c 3 a 8 e 6 - b 0 e e - 1 1 e 6 - a e f 0 - 4 2 0 1 0 a f 0 0 2 2 9 \" ,   \" r e s o u r c e V e r s i o n \" :   \" 1 6 4 4 8 9 \" ,   \" g e n e r a t i o n \" :   1 1 ,   \" c r e a t i o n T i m e s t a m p \" :   \" 2 0 1 6 - 1 1 - 2 2 T 2 0 : 0 0 : 5 0 Z \" ,   \" l a b e l s \" :   {   \" a p p \" :   \" n g i n x \"   } ,   \" a n n o t a t i o n s \" :   {   \" d e p l o y m e n t . k u b e r n e t e s . i o / r e v i s i o n \" :   \" 5 \"   }   } ,   \" s p e c \" :   {   \" r e p l i c a s \" :   3 ,   \" s e l e c t o r \" :   {   \" m a t c h L a b e l s \" :   {   \" a p p \" :   \" n g i n x \"   }   } ,   \" t e m p l a t e \" :   {   \" m e t a d a t a \" :   {   \" c r e a t i o n T i m e s t a m p \" :   n u l l ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27733"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27734"
  },
  {
    "question": "What is Replace?",
    "answer": "$   e c h o   ' a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   d e p l o y m e n t - e x a m p l e   s p e c :   r e p l i c a s :   3   r e v i s i o n H i s t o r y L i m i t :   1 0   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 6   p o r t s :   -   c o n t a i n e r P o r t :   8 0   '   |   k u b e c t l   r e p l a c e   - f   -   $   k u b e c t l   p r o x y   $   c u r l   - X   P U T   - H   ' C o n t e n t - T y p e :   a p p l i c a t i o n / y a m l '   - - d a t a   '   a p i V e r s i o n :   a p p s / v 1   k i n d :   D e p l o y m e n t   m e t a d a t a :   n a m e :   d e p l o y m e n t - e x a m p l e   s p e c :   r e p l i c a s :   3   r e v i s i o n H i s t o r y L i m i t :   1 0   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 6   p o r t s :   -   c o n t a i n e r P o r t :   8 0   '   h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 0 1 / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / d e p l o y m e n t s / d e p l o y m e n t - e x a m p l e   d e p l o y m e n t   \" d e p l o y m e n t - e x a m p l e \"   r e p l a c e d   {   \" k i n d \" :   \" D e p l o y m e n t \" ,   \" a p i V e r s i o n \" :   \" a p p s / v 1 \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" d e p l o y m e n t - e x a m p l e \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \" ,   \" s e l f L i n k \" :   \" / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / d e p l o y m e n t s / d e p l o y m e n t - e x a m p l e \" ,   \" u i d \" :   \" 4 c c c a 3 4 9 - 9 c b 1 - 1 1 e 6 - 9 c 5 4 - 4 2 0 1 0 a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27735"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27736"
  },
  {
    "question": "What is Delete?",
    "answer": "$   k u b e c t l   d e l e t e   d e p l o y m e n t   d e p l o y m e n t - e x a m p l e   $   k u b e c t l   p r o x y   $   c u r l   - X   D E L E T E   - H   ' C o n t e n t - T y p e :   a p p l i c a t i o n / y a m l '   - - d a t a   '   g r a c e P e r i o d S e c o n d s :   0   o r p h a n D e p e n d e n t s :   f a l s e   '   ' h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 0 1 / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / d e p l o y m e n t s / d e p l o y m e n t - e x a m p l e '   d e p l o y m e n t   \" d e p l o y m e n t - e x a m p l e \"   d e l e t e d   {   \" k i n d \" :   \" S t a t u s \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   { } ,   \" s t a t u s \" :   \" S u c c e s s \" ,   \" c o d e \" :   2 0 0   }   d e l e t e   a   D e p l o y m e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27737"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27738"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   D e p l o y m e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27739"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27740"
  },
  {
    "question": "What is Read?",
    "answer": "$   k u b e c t l   g e t   d e p l o y m e n t   d e p l o y m e n t - e x a m p l e   - o   j s o n   $   k u b e c t l   p r o x y   $   c u r l   - X   G E T   h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 0 1 / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / d e p l o y m e n t s / d e p l o y m e n t - e x a m p l e   {   \" k i n d \" :   \" D e p l o y m e n t \" ,   \" a p i V e r s i o n \" :   \" a p p s / v 1 \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" d e p l o y m e n t - e x a m p l e \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \" ,   \" s e l f L i n k \" :   \" / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / d e p l o y m e n t s / d e p l o y m e n t - e x a m p l e \" ,   \" u i d \" :   \" 1 b 3 3 1 4 5 a - 9 c 6 3 - 1 1 e 6 - 9 c 5 4 - 4 2 0 1 0 a 8 0 0 1 4 8 \" ,   \" r e s o u r c e V e r s i o n \" :   \" 2 0 6 4 7 2 6 \" ,   \" g e n e r a t i o n \" :   4 ,   \" c r e a t i o n T i m e s t a m p \" :   \" 2 0 1 6 - 1 0 - 2 7 T 1 6 : 3 3 : 3 5 Z \" ,   \" l a b e l s \" :   {   \" a p p \" :   \" n g i n x \"   } ,   \" a n n o t a t i o n s \" :   {   \" d e p l o y m e n t . k u b e r n e t e s . i o / r e v i s i o n \" :   \" 1 \"   }   } ,   \" s p e c \" :   {   \" r e p l i c a s \" :   3 ,   \" s e l e c t o r \" :   {   \" m a t c h L a b e l s \" :   {   \" a p p \" :   \" n g i n x \"   }   } ,   \" t e m p l a t e \" :   {   \" m e t a d a t a \" :   {   \" c r e a t i o n T i m e s t a m p \" :   n u l l ,   \" l a b e l s \" :   {   \" a p p \" :   \" n g i n x \"   }   } ,   \" s p e c \" :   {   \" c o n t a i n e r s \" :   [   {   \" n a m e \" :   \" n g i n x \" ,   \" i m a g e \" :   \" n g i n x : 1 . 1 4 \" ,   \" p o r t s \" :   [   {   \" c o n t a i n e r P o r t \" :   8 0 ,   \" p r o t o c o l \" :   \" T C P \"   }   ] ,   \" r e s o u r c e s \" :   { } ,   \" t e r m i n a t i o n M e s s a g e P a t h \" :   \" / d e v / t e r m i n a t i o n - l o g \" ,   \" i m a g e P u l l P o l i c y \" :   \" I f N o t P r e s e n t \"   }   ] ,   \" r e s t a r t P o l ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27741"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27742"
  },
  {
    "question": "What is List?",
    "answer": "$   k u b e c t l   g e t   d e p l o y m e n t   - o   j s o n   $   k u b e c t l   p r o x y   $   c u r l   - X   G E T   ' h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 0 1 / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / d e p l o y m e n t s '   {   \" k i n d \" :   \" L i s t \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   { } ,   \" i t e m s \" :   [   {   \" k i n d \" :   \" D e p l o y m e n t \" ,   \" a p i V e r s i o n \" :   \" a p p / v 1 b e t a 1 \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" d o c s \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \" ,   \" s e l f L i n k \" :   \" / a p i s / a p p / v 1 b e t a 1 / n a m e s p a c e s / d e f a u l t / d e p l o y m e n t s / d o c s \" ,   \" u i d \" :   \" e f 4 9 e 1 d 2 - 9 1 5 e - 1 1 e 6 - b e 8 1 - 4 2 0 1 0 a 8 0 0 0 3 f \" ,   \" r e s o u r c e V e r s i o n \" :   \" 1 9 2 4 1 2 6 \" ,   \" g e n e r a t i o n \" :   2 1 ,   \" c r e a t i o n T i m e s t a m p \" :   \" 2 0 1 6 - 1 0 - 1 3 T 1 6 : 0 6 : 0 0 Z \" ,   \" l a b e l s \" :   {   \" r u n \" :   \" d o c s \"   } ,   \" a n n o t a t i o n s \" :   {   \" d e p l o y m e n t . k u b e r n e t e s . i o / r e v i s i o n \" :   \" 1 0 \" ,   \" r e p l i c a t i n g p e r f e c t i o n . n e t / p u s h - i m a g e \" :   \" t r u e \"   }   } ,   \" s p e c \" :   {   \" r e p l i c a s \" :   1 ,   \" s e l e c t o r \" :   {   \" m a t c h L a b e l s \" :   {   \" r u n \" :   \" d o c s \"   }   } ,   \" t e m p l a t e \" :   {   \" m e t a d a t a \" :   {   \" c r e a t i o n T i m e s t a m p \" :   n u l l ,   \" l a b e l s \" :   {   \" a u t o - p u s h e d - i m a g e - p w i t t r o c k / a p i - d o c s \" :   \" 1 4 7 7 4 9 6 4 5 3 \" ,   \" r u n \" :   \" d o c s \"   }   } ,   \" s p e c \" :   {   \" c o n t a i n e r s \" :   [   {   \" n a m e \" :   \" d o c s \" ,   \" i m a g e \" :   \" p w i t t r o c k / a p i - d o c s : v 9 \" ,   \" r e s o u r c e s \" :   { } ,   \" t e r m i n a t i o n M e s s a g e P a t h \" :   \" / d e v / t e r m i ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27743"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27744"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   D e p l o y m e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27745"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / d e p l o y m e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27746"
  },
  {
    "question": "What is Watch?",
    "answer": "$   k u b e c t l   g e t   d e p l o y m e n t   d e p l o y m e n t - e x a m p l e   - - w a t c h   - o   j s o n   $   k u b e c t l   p r o x y   $   c u r l   - X   G E T   ' h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 0 1 / a p i s / a p p s / v 1 / w a t c h / n a m e s p a c e s / d e f a u l t / d e p l o y m e n t s / d e p l o y m e n t - e x a m p l e '   {   \" t y p e \" :   \" A D D E D \" ,   \" o b j e c t \" :   {   \" k i n d \" :   \" D e p l o y m e n t \" ,   \" a p i V e r s i o n \" :   \" a p p s / v 1 \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" d e p l o y m e n t - e x a m p l e \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \" ,   \" s e l f L i n k \" :   \" / a p i s / a p p s / v 1 / n a m e s p a c e s / d e f a u l t / d e p l o y m e n t s / d e p l o y m e n t - e x a m p l e \" ,   \" u i d \" :   \" 6 4 c 1 2 2 9 0 - 9 c b f - 1 1 e 6 - 9 c 5 4 - 4 2 0 1 0 a 8 0 0 1 4 8 \" ,   \" r e s o u r c e V e r s i o n \" :   \" 2 1 2 8 0 9 5 \" ,   \" g e n e r a t i o n \" :   2 ,   \" c r e a t i o n T i m e s t a m p \" :   \" 2 0 1 6 - 1 0 - 2 8 T 0 3 : 3 4 : 1 2 Z \" ,   \" l a b e l s \" :   {   \" a p p \" :   \" n g i n x \"   } ,   \" a n n o t a t i o n s \" :   {   \" d e p l o y m e n t . k u b e r n e t e s . i o / r e v i s i o n \" :   \" 3 \"   }   } ,   \" s p e c \" :   {   \" r e p l i c a s \" :   3 ,   \" s e l e c t o r \" :   {   \" m a t c h L a b e l s \" :   {   \" a p p \" :   \" n g i n x \"   }   } ,   \" t e m p l a t e \" :   {   \" m e t a d a t a \" :   {   \" c r e a t i o n T i m e s t a m p \" :   n u l l ,   \" l a b e l s \" :   {   \" a p p \" :   \" n g i n x \"   }   } ,   \" s p e c \" :   {   \" c o n t a i n e r s \" :   [   {   \" n a m e \" :   \" n g i n x \" ,   \" i m a g e \" :   \" n g i n x : 1 . 1 4 \" ,   \" p o r t s \" :   [   {   \" c o n t a i n e r P o r t \" :   8 0 ,   \" p r o t o c o l \" :   \" T C P \"   }   ] ,   \" r e s o u r c e s \" :   {   } ,   \" t e r m i n a t i o n M e s s a g e P a t h \" :   \" / d e v / t e r m i n a t i o n - l o g \" ,   \" i m a ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27747"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27748"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   D e p l o y m e n t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27749"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27750"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   D e p l o y m e n t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27751"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / w a t c h / d e p l o y m e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27752"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   D e p l o y m e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27753"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27754"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   D e p l o y m e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27755"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27756"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   D e p l o y m e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27757"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27758"
  },
  {
    "question": "What is Read Scale?",
    "answer": "r e a d   s c a l e   o f   t h e   s p e c i f i e d   D e p l o y m e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27759"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e } / s c a l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27760"
  },
  {
    "question": "What is Replace Scale?",
    "answer": "r e p l a c e   s c a l e   o f   t h e   s p e c i f i e d   D e p l o y m e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27761"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e } / s c a l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27762"
  },
  {
    "question": "What is Patch Scale?",
    "answer": "p a r t i a l l y   u p d a t e   s c a l e   o f   t h e   s p e c i f i e d   D e p l o y m e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27763"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / d e p l o y m e n t s / { n a m e } / s c a l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27764"
  },
  {
    "question": "What is Job v1 batch?",
    "answer": "s h o w   e x a m p l e   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   #   U n i q u e   k e y   o f   t h e   J o b   i n s t a n c e   n a m e :   e x a m p l e - j o b   s p e c :   t e m p l a t e :   m e t a d a t a :   n a m e :   e x a m p l e - j o b   s p e c :   c o n t a i n e r s :   -   n a m e :   p i   i m a g e :   p e r l   c o m m a n d :   [ \" p e r l \" ]   a r g s :   [ \" - M b i g n u m = b p i \" ,   \" - w l e \" ,   \" p r i n t   b p i ( 2 0 0 0 ) \" ]   #   D o   n o t   r e s t a r t   c o n t a i n e r s   a f t e r   t h e y   e x i t   r e s t a r t P o l i c y :   N e v e r   J o b L i s t   [ b a t c h / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_27765"
  },
  {
    "question": "What is JobSpec v1 batch?",
    "answer": "J o b   [ b a t c h / v 1 ]   J o b T e m p l a t e S p e c   [ b a t c h / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27766"
  },
  {
    "question": "What is JobStatus v1 batch?",
    "answer": "J o b   [ b a t c h / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27767"
  },
  {
    "question": "What is Create?",
    "answer": "$   e c h o   ' a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   e x a m p l e - j o b   s p e c :   t e m p l a t e :   m e t a d a t a :   n a m e :   e x a m p l e - j o b   s p e c :   c o n t a i n e r s :   -   n a m e :   p i   i m a g e :   p e r l   c o m m a n d :   [ \" p e r l \" ,   \" - M b i g n u m = b p i \" ,   \" - w l e \" ,   \" p r i n t   b p i ( 2 0 0 0 ) \" ]   r e s t a r t P o l i c y :   N e v e r   '   |   k u b e c t l   c r e a t e   - f   -   $   k u b e c t l   p r o x y   $   c u r l   - X   P O S T   - H   ' C o n t e n t - T y p e :   a p p l i c a t i o n / y a m l '   - - d a t a   '   a p i V e r s i o n :   b a t c h / v 1   k i n d :   J o b   m e t a d a t a :   n a m e :   e x a m p l e - j o b   s p e c :   t e m p l a t e :   m e t a d a t a :   n a m e :   e x a m p l e - j o b   s p e c :   c o n t a i n e r s :   -   n a m e :   p i   i m a g e :   p e r l   c o m m a n d :   [ \" p e r l \" ,   \" - M b i g n u m = b p i \" ,   \" - w l e \" ,   \" p r i n t   b p i ( 2 0 0 0 ) \" ]   r e s t a r t P o l i c y :   N e v e r   '   h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 0 1 / a p i s / b a t c h / v 1 / n a m e s p a c e s / d e f a u l t / j o b s   j o b   \" e x a m p l e - j o b \"   c r e a t e d   {   \" k i n d \" :   \" J o b \" ,   \" a p i V e r s i o n \" :   \" b a t c h / v 1 \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" e x a m p l e - j o b \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \" ,   \" s e l f L i n k \" :   \" / a p i s / b a t c h / v 1 / n a m e s p a c e s / d e f a u l t / j o b s / e x a m p l e - j o b \" ,   \" u i d \" :   \" d 9 3 a 3 5 6 9 - a 2 b e - 1 1 e 6 - a 0 0 8 - f a 0 4 3 d 4 5 8 c c 7 \" ,   \" r e s o u r c e V e r s i o n \" :   \" 7 4 7 9 \" ,   \" c r e a t i o n T i m e s t a m p \" :   \" 2 0 1 6 - 1 1 - 0 4 T 1 8 : 4 5 : 2 5 Z \"   } ,   \" s p e c \" :   {   \" p a r a l l e l i s m \" :   1 ,   \" c o m p l e t i o n s \" :   1 ,   \" s e l e c t o r \" :   {   \" ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27768"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27769"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   J o b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27770"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27771"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   J o b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27772"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27773"
  },
  {
    "question": "What is Delete?",
    "answer": "$   k u b e c t l   d e l e t e   j o b   e x a m p l e - j o b   $   k u b e c t l   p r o x y   $   c u r l   - X   D E L E T E   - H   ' C o n t e n t - T y p e :   a p p l i c a t i o n / y a m l '   - - d a t a   '   g r a c e P e r i o d S e c o n d s :   0   o r p h a n D e p e n d e n t s :   f a l s e   '   ' h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 0 1 / a p i s / b a t c h / v 1 / n a m e s p a c e s / d e f a u l t / j o b s / e x a m p l e - j o b '   j o b   \" e x a m p l e - j o b \"   d e l e t e d   {   \" k i n d \" :   \" S t a t u s \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   { } ,   \" s t a t u s \" :   \" S u c c e s s \" ,   \" c o d e \" :   2 0 0   }   d e l e t e   a   J o b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27774"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27775"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   J o b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27776"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27777"
  },
  {
    "question": "What is Read?",
    "answer": "$   k u b e c t l   g e t   j o b   e x a m p l e - j o b   - o   j s o n   $   k u b e c t l   p r o x y   $   c u r l   - X   G E T   h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 0 1 / a p i s / b a t c h / v 1 / n a m e s p a c e s / d e f a u l t / j o b s / e x a m p l e - j o b   {   \" k i n d \" :   \" J o b \" ,   \" a p i V e r s i o n \" :   \" b a t c h / v 1 \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" e x a m p l e - j o b \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \" ,   \" s e l f L i n k \" :   \" / a p i s / b a t c h / v 1 / n a m e s p a c e s / d e f a u l t / j o b s / e x a m p l e - j o b \" ,   \" u i d \" :   \" d 9 3 a 3 5 6 9 - a 2 b e - 1 1 e 6 - a 0 0 8 - f a 0 4 3 d 4 5 8 c c 7 \" ,   \" r e s o u r c e V e r s i o n \" :   \" 7 4 8 2 \" ,   \" c r e a t i o n T i m e s t a m p \" :   \" 2 0 1 6 - 1 1 - 0 4 T 1 8 : 4 5 : 2 5 Z \"   } ,   \" s p e c \" :   {   \" p a r a l l e l i s m \" :   1 ,   \" c o m p l e t i o n s \" :   1 ,   \" s e l e c t o r \" :   {   \" m a t c h L a b e l s \" :   {   \" c o n t r o l l e r - u i d \" :   \" d 9 3 a 3 5 6 9 - a 2 b e - 1 1 e 6 - a 0 0 8 - f a 0 4 3 d 4 5 8 c c 7 \"   }   } ,   \" t e m p l a t e \" :   {   \" m e t a d a t a \" :   {   \" n a m e \" :   \" e x a m p l e - j o b \" ,   \" c r e a t i o n T i m e s t a m p \" :   n u l l ,   \" l a b e l s \" :   {   \" c o n t r o l l e r - u i d \" :   \" d 9 3 a 3 5 6 9 - a 2 b e - 1 1 e 6 - a 0 0 8 - f a 0 4 3 d 4 5 8 c c 7 \" ,   \" j o b - n a m e \" :   \" e x a m p l e - j o b \"   }   } ,   \" s p e c \" :   {   \" c o n t a i n e r s \" :   [   {   \" n a m e \" :   \" p i \" ,   \" i m a g e \" :   \" p e r l \" ,   \" c o m m a n d \" :   [   \" p e r l \" ,   \" - M b i g n u m = b p i \" ,   \" - w l e \" ,   \" p r i n t   b p i ( 2 0 0 0 ) \"   ] ,   \" r e s o u r c e s \" :   { } ,   \" t e r m i n a t i o n M e s s a g e P a t h \" :   \" / d e v / t e r m i n a t i o n - l o g \" ,   \" i m a g e P u l l P o l i c y \" :   \" A l w a y s \"   }   ] ,   \" r e s t a r t P o l i c y \" :   \" N e v e r \" ,   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27778"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27779"
  },
  {
    "question": "What is List?",
    "answer": "$   k u b e c t l   g e t   j o b   - o   j s o n   $   k u b e c t l   p r o x y   $   c u r l   - X   G E T   ' h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 0 1 / a p i s / b a t c h / v 1 / n a m e s p a c e s / d e f a u l t / j o b s '   {   \" k i n d \" :   \" J o b L i s t \" ,   \" a p i V e r s i o n \" :   \" b a t c h / v 1 \" ,   \" m e t a d a t a \" :   {   \" s e l f L i n k \" :   \" / a p i s / b a t c h / v 1 / n a m e s p a c e s / d e f a u l t / j o b s \" ,   \" r e s o u r c e V e r s i o n \" :   \" 7 5 8 9 \"   } ,   \" i t e m s \" :   [   {   \" m e t a d a t a \" :   {   \" n a m e \" :   \" \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \" ,   \" s e l f L i n k \" :   \" / a p i s / b a t c h / v 1 / n a m e s p a c e s / d e f a u l t / j o b s / \" ,   \" u i d \" :   \" d 9 3 a 3 5 6 9 - a 2 b e - 1 1 e 6 - a 0 0 8 - f a 0 4 3 d 4 5 8 c c 7 \" ,   \" r e s o u r c e V e r s i o n \" :   \" 7 4 8 2 \" ,   \" c r e a t i o n T i m e s t a m p \" :   \" 2 0 1 6 - 1 1 - 0 4 T 1 8 : 4 5 : 2 5 Z \"   } ,   \" s p e c \" :   {   \" p a r a l l e l i s m \" :   1 ,   \" c o m p l e t i o n s \" :   1 ,   \" s e l e c t o r \" :   {   \" m a t c h L a b e l s \" :   {   \" c o n t r o l l e r - u i d \" :   \" d 9 3 a 3 5 6 9 - a 2 b e - 1 1 e 6 - a 0 0 8 - f a 0 4 3 d 4 5 8 c c 7 \"   }   } ,   \" t e m p l a t e \" :   {   \" m e t a d a t a \" :   {   \" n a m e \" :   \" \" ,   \" c r e a t i o n T i m e s t a m p \" :   n u l l ,   \" l a b e l s \" :   {   \" c o n t r o l l e r - u i d \" :   \" d 9 3 a 3 5 6 9 - a 2 b e - 1 1 e 6 - a 0 0 8 - f a 0 4 3 d 4 5 8 c c 7 \" ,   \" j o b - n a m e \" :   \" \"   }   } ,   \" s p e c \" :   {   \" c o n t a i n e r s \" :   [   {   \" n a m e \" :   \" p i \" ,   \" i m a g e \" :   \" p e r l \" ,   \" c o m m a n d \" :   [   \" p e r l \" ,   \" - M b i g n u m = b p i \" ,   \" - w l e \" ,   \" p r i n t   b p i ( 2 0 0 0 ) \"   ] ,   \" r e s o u r c e s \" :   { } ,   \" t e r m i n a t i o n M e s s a g e P a t h \" :   \" / d e v / t e r m i n a t i o n - l o g \" ,   \" i m a g e P u l l P ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27780"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27781"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   J o b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27782"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27783"
  },
  {
    "question": "What is Watch?",
    "answer": "$   k u b e c t l   g e t   j o b   e x a m p l e - j o b   - - w a t c h   - o   j s o n   $   k u b e c t l   p r o x y   $   c u r l   - X   G E T   ' h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 0 1 / a p i s / b a t c h / v 1 / w a t c h / n a m e s p a c e s / d e f a u l t / j o b s / e x a m p l e - j o b '   {   \" t y p e \" :   \" A D D E D \" ,   \" o b j e c t \" :   {   \" k i n d \" :   \" J o b \" ,   \" a p i V e r s i o n \" :   \" b a t c h / v 1 \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" e x a m p l e - j o b \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \" ,   \" s e l f L i n k \" :   \" / a p i s / b a t c h / v 1 / n a m e s p a c e s / d e f a u l t / j o b s / e x a m p l e - j o b \" ,   \" u i d \" :   \" d 9 3 a 3 5 6 9 - a 2 b e - 1 1 e 6 - a 0 0 8 - f a 0 4 3 d 4 5 8 c c 7 \" ,   \" r e s o u r c e V e r s i o n \" :   \" 7 4 8 2 \" ,   \" c r e a t i o n T i m e s t a m p \" :   \" 2 0 1 6 - 1 1 - 0 4 T 1 8 : 4 5 : 2 5 Z \"   } ,   \" s p e c \" :   {   \" p a r a l l e l i s m \" :   1 ,   \" c o m p l e t i o n s \" :   1 ,   \" s e l e c t o r \" :   {   \" m a t c h L a b e l s \" :   {   \" c o n t r o l l e r - u i d \" :   \" d 9 3 a 3 5 6 9 - a 2 b e - 1 1 e 6 - a 0 0 8 - f a 0 4 3 d 4 5 8 c c 7 \"   }   } ,   \" t e m p l a t e \" :   {   \" m e t a d a t a \" :   {   \" n a m e \" :   \" e x a m p l e - j o b \" ,   \" c r e a t i o n T i m e s t a m p \" :   n u l l ,   \" l a b e l s \" :   {   \" c o n t r o l l e r - u i d \" :   \" d 9 3 a 3 5 6 9 - a 2 b e - 1 1 e 6 - a 0 0 8 - f a 0 4 3 d 4 5 8 c c 7 \" ,   \" j o b - n a m e \" :   \" e x a m p l e - j o b \"   }   } ,   \" s p e c \" :   {   \" c o n t a i n e r s \" :   [   {   \" n a m e \" :   \" p i \" ,   \" i m a g e \" :   \" p e r l \" ,   \" c o m m a n d \" :   [   \" p e r l \" ,   \" - M b i g n u m = b p i \" ,   \" - w l e \" ,   \" p r i n t   b p i ( 2 0 0 0 ) \"   ] ,   \" r e s o u r c e s \" :   {   } ,   \" t e r m i n a t i o n M e s s a g e P a t h \" :   \" / d e v / t e r m i n a t i o n - l o g \" ,   \" i m a g e P u l l P o l ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27784"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27785"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   J o b .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27786"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27787"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   J o b .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27788"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / w a t c h / j o b s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27789"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   J o b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27790"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27791"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   J o b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27792"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27793"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   J o b",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27794"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / b a t c h / v 1 / n a m e s p a c e s / { n a m e s p a c e } / j o b s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27795"
  },
  {
    "question": "What is Pod v1 core?",
    "answer": "s h o w   e x a m p l e   a p i V e r s i o n :   v 1   k i n d :   P o d   m e t a d a t a :   n a m e :   p o d - e x a m p l e   s p e c :   c o n t a i n e r s :   -   n a m e :   u b u n t u   i m a g e :   u b u n t u : t r u s t y   c o m m a n d :   [ \" e c h o \" ]   a r g s :   [ \" H e l l o   W o r l d \" ]   W a r n i n g :   I t   i s   r e c o m m e n d e d   t h a t   u s e r s   c r e a t e   P o d s   o n l y   t h r o u g h   a   C o n t r o l l e r ,   a n d   n o t   d i r e c t l y .   S e e   C o n t r o l l e r s :   D e p l o y m e n t ,   J o b ,   o r   S t a t e f u l S e t .   P o d L i s t   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_27796"
  },
  {
    "question": "What is PodSpec v1 core?",
    "answer": "P o d   [ c o r e / v 1 ]   P o d T e m p l a t e S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27797"
  },
  {
    "question": "What is PodStatus v1 core?",
    "answer": "P o d   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27798"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27799"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27800"
  },
  {
    "question": "What is Create Eviction?",
    "answer": "c r e a t e   e v i c t i o n   o f   a   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27801"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / e v i c t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27802"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27803"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27804"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27805"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27806"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27807"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27808"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27809"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27810"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27811"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27812"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27813"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27814"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27815"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / p o d s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27816"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   P o d .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27817"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27818"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   P o d .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27819"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / p o d s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27820"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   P o d .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27821"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / p o d s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27822"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27823"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27824"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27825"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27826"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27827"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27828"
  },
  {
    "question": "What is Read Resize?",
    "answer": "r e a d   r e s i z e   o f   t h e   s p e c i f i e d   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27829"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / r e s i z e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27830"
  },
  {
    "question": "What is Patch Resize?",
    "answer": "p a r t i a l l y   u p d a t e   r e s i z e   o f   t h e   s p e c i f i e d   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27831"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / r e s i z e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27832"
  },
  {
    "question": "What is Replace Resize?",
    "answer": "r e p l a c e   r e s i z e   o f   t h e   s p e c i f i e d   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27833"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / r e s i z e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27834"
  },
  {
    "question": "What is Patch EphemeralContainers?",
    "answer": "p a r t i a l l y   u p d a t e   e p h e m e r a l c o n t a i n e r s   o f   t h e   s p e c i f i e d   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27835"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / e p h e m e r a l c o n t a i n e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27836"
  },
  {
    "question": "What is Read EphemeralContainers?",
    "answer": "r e a d   e p h e m e r a l c o n t a i n e r s   o f   t h e   s p e c i f i e d   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27837"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / e p h e m e r a l c o n t a i n e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27838"
  },
  {
    "question": "What is Replace EphemeralContainers?",
    "answer": "r e p l a c e   e p h e m e r a l c o n t a i n e r s   o f   t h e   s p e c i f i e d   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27839"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / e p h e m e r a l c o n t a i n e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27840"
  },
  {
    "question": "What is Create Connect Portforward?",
    "answer": "c o n n e c t   P O S T   r e q u e s t s   t o   p o r t f o r w a r d   o f   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27841"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / p o r t f o r w a r d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27842"
  },
  {
    "question": "What is Create Connect Proxy?",
    "answer": "c o n n e c t   P O S T   r e q u e s t s   t o   p r o x y   o f   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27843"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / p r o x y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27844"
  },
  {
    "question": "What is Create Connect Proxy Path?",
    "answer": "c o n n e c t   P O S T   r e q u e s t s   t o   p r o x y   o f   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27845"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / p r o x y / { p a t h }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27846"
  },
  {
    "question": "What is Delete Connect Proxy?",
    "answer": "c o n n e c t   D E L E T E   r e q u e s t s   t o   p r o x y   o f   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27847"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / p r o x y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27848"
  },
  {
    "question": "What is Delete Connect Proxy Path?",
    "answer": "c o n n e c t   D E L E T E   r e q u e s t s   t o   p r o x y   o f   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27849"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / p r o x y / { p a t h }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27850"
  },
  {
    "question": "What is Get Connect Portforward?",
    "answer": "c o n n e c t   G E T   r e q u e s t s   t o   p o r t f o r w a r d   o f   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27851"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / p o r t f o r w a r d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27852"
  },
  {
    "question": "What is Get Connect Proxy?",
    "answer": "c o n n e c t   G E T   r e q u e s t s   t o   p r o x y   o f   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27853"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / p r o x y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27854"
  },
  {
    "question": "What is Get Connect Proxy Path?",
    "answer": "c o n n e c t   G E T   r e q u e s t s   t o   p r o x y   o f   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27855"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / p r o x y / { p a t h }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27856"
  },
  {
    "question": "What is Head Connect Proxy?",
    "answer": "c o n n e c t   H E A D   r e q u e s t s   t o   p r o x y   o f   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27857"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "H E A D   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / p r o x y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27858"
  },
  {
    "question": "What is Head Connect Proxy Path?",
    "answer": "c o n n e c t   H E A D   r e q u e s t s   t o   p r o x y   o f   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27859"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "H E A D   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / p r o x y / { p a t h }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27860"
  },
  {
    "question": "What is Replace Connect Proxy?",
    "answer": "c o n n e c t   P U T   r e q u e s t s   t o   p r o x y   o f   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27861"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / p r o x y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27862"
  },
  {
    "question": "What is Replace Connect Proxy Path?",
    "answer": "c o n n e c t   P U T   r e q u e s t s   t o   p r o x y   o f   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27863"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / p r o x y / { p a t h }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27864"
  },
  {
    "question": "What is Read Log?",
    "answer": "r e a d   l o g   o f   t h e   s p e c i f i e d   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27865"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / l o g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27866"
  },
  {
    "question": "What is Get Connect Exec?",
    "answer": "c o n n e c t   G E T   r e q u e s t s   t o   e x e c   o f   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27867"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / e x e c",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27868"
  },
  {
    "question": "What is Create Connect Exec?",
    "answer": "c o n n e c t   P O S T   r e q u e s t s   t o   e x e c   o f   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27869"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / e x e c",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27870"
  },
  {
    "question": "What is Get Connect Attach?",
    "answer": "c o n n e c t   G E T   r e q u e s t s   t o   a t t a c h   o f   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27871"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / a t t a c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27872"
  },
  {
    "question": "What is Create Connect Attach?",
    "answer": "c o n n e c t   P O S T   r e q u e s t s   t o   a t t a c h   o f   P o d",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27873"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d s / { n a m e } / a t t a c h",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27874"
  },
  {
    "question": "What is ReplicaSet v1 apps?",
    "answer": "s h o w   e x a m p l e   a p i V e r s i o n :   a p p s / v 1   k i n d :   R e p l i c a S e t   m e t a d a t a :   #   U n i q u e   k e y   o f   t h e   R e p l i c a S e t   i n s t a n c e   n a m e :   r e p l i c a s e t - e x a m p l e   s p e c :   #   3   P o d s   s h o u l d   e x i s t   a t   a l l   t i m e s .   r e p l i c a s :   3   s e l e c t o r :   m a t c h L a b e l s :   a p p :   n g i n x   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   #   R u n   t h e   n g i n x   i m a g e   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4   W a r n i n g :   I n   m a n y   c a s e s   i t   i s   r e c o m m e n d e d   t o   c r e a t e   a   D e p l o y m e n t   i n s t e a d   o f   R e p l i c a S e t .   R e p l i c a S e t L i s t   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_27875"
  },
  {
    "question": "What is ReplicaSetSpec v1 apps?",
    "answer": "R e p l i c a S e t   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27876"
  },
  {
    "question": "What is ReplicaSetStatus v1 apps?",
    "answer": "R e p l i c a S e t   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27877"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   R e p l i c a S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27878"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27879"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   R e p l i c a S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27880"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27881"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   R e p l i c a S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27882"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27883"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   R e p l i c a S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27884"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27885"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   R e p l i c a S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27886"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27887"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   R e p l i c a S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27888"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27889"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R e p l i c a S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27890"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27891"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R e p l i c a S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27892"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / r e p l i c a s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27893"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   R e p l i c a S e t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27894"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27895"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R e p l i c a S e t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27896"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27897"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R e p l i c a S e t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27898"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / w a t c h / r e p l i c a s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27899"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   R e p l i c a S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27900"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27901"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   R e p l i c a S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27902"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27903"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   R e p l i c a S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27904"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27905"
  },
  {
    "question": "What is Read Scale?",
    "answer": "r e a d   s c a l e   o f   t h e   s p e c i f i e d   R e p l i c a S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27906"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e } / s c a l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27907"
  },
  {
    "question": "What is Replace Scale?",
    "answer": "r e p l a c e   s c a l e   o f   t h e   s p e c i f i e d   R e p l i c a S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27908"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e } / s c a l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27909"
  },
  {
    "question": "What is Patch Scale?",
    "answer": "p a r t i a l l y   u p d a t e   s c a l e   o f   t h e   s p e c i f i e d   R e p l i c a S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27910"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a s e t s / { n a m e } / s c a l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27911"
  },
  {
    "question": "What is ReplicationController v1 core?",
    "answer": "s h o w   e x a m p l e   a p i V e r s i o n :   v 1   k i n d :   R e p l i c a t i o n C o n t r o l l e r   m e t a d a t a :   #   U n i q u e   k e y   o f   t h e   R e p l i c a t i o n C o n t r o l l e r   i n s t a n c e   n a m e :   r e p l i c a t i o n c o n t r o l l e r - e x a m p l e   s p e c :   #   3   P o d s   s h o u l d   e x i s t   a t   a l l   t i m e s .   r e p l i c a s :   3   t e m p l a t e :   m e t a d a t a :   l a b e l s :   a p p :   n g i n x   s p e c :   c o n t a i n e r s :   #   R u n   t h e   n g i n x   i m a g e   -   n a m e :   n g i n x   i m a g e :   n g i n x : 1 . 1 4   W a r n i n g :   I n   m a n y   c a s e s   i t   i s   r e c o m m e n d e d   t o   c r e a t e   a   D e p l o y m e n t   i n s t e a d   o f   a   R e p l i c a t i o n C o n t r o l l e r .   R e p l i c a t i o n C o n t r o l l e r L i s t   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_27912"
  },
  {
    "question": "What is ReplicationControllerSpec v1 core?",
    "answer": "R e p l i c a t i o n C o n t r o l l e r   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27913"
  },
  {
    "question": "What is ReplicationControllerStatus v1 core?",
    "answer": "R e p l i c a t i o n C o n t r o l l e r   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27914"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   R e p l i c a t i o n C o n t r o l l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27915"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27916"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   R e p l i c a t i o n C o n t r o l l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27917"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27918"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   R e p l i c a t i o n C o n t r o l l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27919"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27920"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   R e p l i c a t i o n C o n t r o l l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27921"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27922"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   R e p l i c a t i o n C o n t r o l l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27923"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27924"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   R e p l i c a t i o n C o n t r o l l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27925"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27926"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R e p l i c a t i o n C o n t r o l l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27927"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27928"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R e p l i c a t i o n C o n t r o l l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27929"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / r e p l i c a t i o n c o n t r o l l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27930"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   R e p l i c a t i o n C o n t r o l l e r .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27931"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27932"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R e p l i c a t i o n C o n t r o l l e r .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27933"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27934"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R e p l i c a t i o n C o n t r o l l e r .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27935"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / r e p l i c a t i o n c o n t r o l l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27936"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   R e p l i c a t i o n C o n t r o l l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27937"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27938"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   R e p l i c a t i o n C o n t r o l l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27939"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27940"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   R e p l i c a t i o n C o n t r o l l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27941"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27942"
  },
  {
    "question": "What is Read Scale?",
    "answer": "r e a d   s c a l e   o f   t h e   s p e c i f i e d   R e p l i c a t i o n C o n t r o l l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27943"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e } / s c a l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27944"
  },
  {
    "question": "What is Replace Scale?",
    "answer": "r e p l a c e   s c a l e   o f   t h e   s p e c i f i e d   R e p l i c a t i o n C o n t r o l l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27945"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e } / s c a l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27946"
  },
  {
    "question": "What is Patch Scale?",
    "answer": "p a r t i a l l y   u p d a t e   s c a l e   o f   t h e   s p e c i f i e d   R e p l i c a t i o n C o n t r o l l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27947"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e p l i c a t i o n c o n t r o l l e r s / { n a m e } / s c a l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27948"
  },
  {
    "question": "What is StatefulSet v1 apps?",
    "answer": "S t a t e f u l S e t L i s t   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_27949"
  },
  {
    "question": "What is StatefulSetSpec v1 apps?",
    "answer": "S t a t e f u l S e t   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27950"
  },
  {
    "question": "What is StatefulSetStatus v1 apps?",
    "answer": "S t a t e f u l S e t   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27951"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   S t a t e f u l S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27952"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27953"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   S t a t e f u l S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27954"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27955"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   S t a t e f u l S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27956"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27957"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   S t a t e f u l S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27958"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27959"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   S t a t e f u l S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27960"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27961"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   S t a t e f u l S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27962"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27963"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   S t a t e f u l S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27964"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27965"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   S t a t e f u l S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27966"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / s t a t e f u l s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27967"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   S t a t e f u l S e t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27968"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27969"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   S t a t e f u l S e t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27970"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27971"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   S t a t e f u l S e t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27972"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / w a t c h / s t a t e f u l s e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27973"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   S t a t e f u l S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27974"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27975"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   S t a t e f u l S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27976"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27977"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   S t a t e f u l S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27978"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27979"
  },
  {
    "question": "What is Read Scale?",
    "answer": "r e a d   s c a l e   o f   t h e   s p e c i f i e d   S t a t e f u l S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27980"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e } / s c a l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27981"
  },
  {
    "question": "What is Replace Scale?",
    "answer": "r e p l a c e   s c a l e   o f   t h e   s p e c i f i e d   S t a t e f u l S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27982"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e } / s c a l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27983"
  },
  {
    "question": "What is Patch Scale?",
    "answer": "p a r t i a l l y   u p d a t e   s c a l e   o f   t h e   s p e c i f i e d   S t a t e f u l S e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27984"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s t a t e f u l s e t s / { n a m e } / s c a l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27985"
  },
  {
    "question": "What is Service?",
    "answer": "S e r v i c e   A P I   r e s o u r c e s   a r e   r e s p o n s i b l e   f o r   s t i t c h i n g   y o u r   w o r k l o a d s   t o g e t h e r   i n t o   a n   a c c e s s i b l e   L o a d b a l a n c e d   S e r v i c e .   B y   d e f a u l t ,   W o r k l o a d s   a r e   o n l y   a c c e s s i b l e   w i t h i n   t h e   c l u s t e r ,   a n d   t h e y   m u s t   b e   e x p o s e d   e x t e r n a l l y   u s i n g   a   e i t h e r   a   * L o a d B a l a n c e r *   o r   * N o d e P o r t *   S e r v i c e .   F o r   d e v e l o p m e n t ,   i n t e r n a l l y   a c c e s s i b l e   W o r k l o a d s   c a n   b e   a c c e s s e d   v i a   p r o x y   t h r o u g h   t h e   a p i   m a s t e r   u s i n g   t h e   k u b e c t l   p r o x y   c o m m a n d .   C o m m o n   r e s o u r c e   t y p e s :   S e r v i c e s   f o r   p r o v i d i n g   a   s i n g l e   i p   e n d p o i n t   l o a d b a l a n c e d   a c r o s s   m u l t i p l e   W o r k l o a d   r e p l i c a s .   I n g r e s s   f o r   p r o v i d i n g   a   h t t p s ( s )   e n d p o i n t   h t t p ( s )   r o u t e d   t o   o n e   o r   m o r e   * S e r v i c e s * .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_27986"
  },
  {
    "question": "What is Endpoints v1 core?",
    "answer": "E n d p o i n t s L i s t   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_27987"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   E n d p o i n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27988"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27989"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   E n d p o i n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27990"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27991"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   E n d p o i n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27992"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27993"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   E n d p o i n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27994"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27995"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   E n d p o i n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27996"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27997"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   E n d p o i n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_27998"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_27999"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   E n d p o i n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28000"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28001"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   E n d p o i n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28002"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / e n d p o i n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28003"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   E n d p o i n t s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28004"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28005"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   E n d p o i n t s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28006"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28007"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   E n d p o i n t s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28008"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / e n d p o i n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28009"
  },
  {
    "question": "What is EndpointSlice v1 discovery.k8s.io?",
    "answer": "E n d p o i n t S l i c e L i s t   [ d i s c o v e r y / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28010"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a n   E n d p o i n t S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28011"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28012"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   E n d p o i n t S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28013"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28014"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   E n d p o i n t S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28015"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28016"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a n   E n d p o i n t S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28017"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28018"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   E n d p o i n t S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28019"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28020"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   E n d p o i n t S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28021"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28022"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   E n d p o i n t S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28023"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28024"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   E n d p o i n t S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28025"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / e n d p o i n t s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28026"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   E n d p o i n t S l i c e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28027"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28028"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   E n d p o i n t S l i c e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28029"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / e n d p o i n t s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28030"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   E n d p o i n t S l i c e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28031"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / d i s c o v e r y . k 8 s . i o / v 1 / w a t c h / e n d p o i n t s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28032"
  },
  {
    "question": "What is Ingress v1 networking.k8s.io?",
    "answer": "I n g r e s s L i s t   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28033"
  },
  {
    "question": "What is IngressSpec v1 networking?",
    "answer": "I n g r e s s   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28034"
  },
  {
    "question": "What is IngressStatus v1 networking?",
    "answer": "I n g r e s s   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28035"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a n   I n g r e s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28036"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28037"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   I n g r e s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28038"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28039"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   I n g r e s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28040"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28041"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a n   I n g r e s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28042"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28043"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   I n g r e s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28044"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28045"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   I n g r e s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28046"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28047"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   I n g r e s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28048"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28049"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   I n g r e s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28050"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28051"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   I n g r e s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28052"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28053"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   I n g r e s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28054"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28055"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   I n g r e s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28056"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / w a t c h / i n g r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28057"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   I n g r e s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28058"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28059"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   I n g r e s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28060"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28061"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   I n g r e s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28062"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / i n g r e s s e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28063"
  },
  {
    "question": "What is IngressClass v1 networking.k8s.io?",
    "answer": "I n g r e s s C l a s s L i s t   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28064"
  },
  {
    "question": "What is IngressClassSpec v1 networking?",
    "answer": "I n g r e s s C l a s s   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28065"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a n   I n g r e s s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28066"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28067"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   I n g r e s s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28068"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28069"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   I n g r e s s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28070"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28071"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a n   I n g r e s s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28072"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28073"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   I n g r e s s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28074"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28075"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   I n g r e s s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28076"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28077"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   I n g r e s s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28078"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i n g r e s s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28079"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   I n g r e s s C l a s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28080"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / w a t c h / i n g r e s s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28081"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   I n g r e s s C l a s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28082"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / w a t c h / i n g r e s s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28083"
  },
  {
    "question": "What is Service v1 core?",
    "answer": "s h o w   e x a m p l e   k i n d :   S e r v i c e   a p i V e r s i o n :   v 1   m e t a d a t a :   #   U n i q u e   k e y   o f   t h e   S e r v i c e   i n s t a n c e   n a m e :   s e r v i c e - e x a m p l e   s p e c :   p o r t s :   #   A c c e p t   t r a f f i c   s e n t   t o   p o r t   8 0   -   n a m e :   h t t p   p o r t :   8 0   t a r g e t P o r t :   8 0   s e l e c t o r :   #   L o a d b a l a n c e   t r a f f i c   a c r o s s   P o d s   m a t c h i n g   #   t h i s   l a b e l   s e l e c t o r   a p p :   n g i n x   #   C r e a t e   a n   H A   p r o x y   i n   t h e   c l o u d   p r o v i d e r   #   w i t h   a n   E x t e r n a l   I P   a d d r e s s   -   * O n l y   s u p p o r t e d   #   b y   s o m e   c l o u d   p r o v i d e r s *   t y p e :   L o a d B a l a n c e r   S e r v i c e L i s t   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28084"
  },
  {
    "question": "What is ServiceSpec v1 core?",
    "answer": "S e r v i c e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28085"
  },
  {
    "question": "What is ServiceStatus v1 core?",
    "answer": "S e r v i c e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28086"
  },
  {
    "question": "What is Create?",
    "answer": "$   e c h o   ' k i n d :   S e r v i c e   a p i V e r s i o n :   v 1   m e t a d a t a :   n a m e :   s e r v i c e - e x a m p l e   s p e c :   p o r t s :   -   n a m e :   h t t p   p o r t :   8 0   t a r g e t P o r t :   8 0   s e l e c t o r :   a p p :   n g i n x   t y p e :   L o a d B a l a n c e r   '   |   k u b e c t l   c r e a t e   - f   -   $   k u b e c t l   p r o x y   $   c u r l   - X   P O S T   - H   ' C o n t e n t - T y p e :   a p p l i c a t i o n / y a m l '   - - d a t a   '   k i n d :   S e r v i c e   a p i V e r s i o n :   v 1   m e t a d a t a :   n a m e :   s e r v i c e - e x a m p l e   s p e c :   p o r t s :   -   n a m e :   h t t p   p o r t :   8 0   t a r g e t P o r t :   8 0   s e l e c t o r :   a p p :   n g i n x   t y p e :   L o a d B a l a n c e r   '   h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 0 1 / a p i / v 1 / n a m e s p a c e s / d e f a u l t / s e r v i c e s   s e r v i c e   \" s e r v i c e - e x a m p l e \"   c r e a t e d   {   \" k i n d \" :   \" S e r v i c e \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" s e r v i c e - e x a m p l e \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \" ,   \" s e l f L i n k \" :   \" / a p i / v 1 / n a m e s p a c e s / d e f a u l t / s e r v i c e s / s e r v i c e - e x a m p l e \" ,   \" u i d \" :   \" 9 3 e 5 c 7 3 1 - 9 d 3 0 - 1 1 e 6 - 9 c 5 4 - 4 2 0 1 0 a 8 0 0 1 4 8 \" ,   \" r e s o u r c e V e r s i o n \" :   \" 2 2 0 5 7 6 7 \" ,   \" c r e a t i o n T i m e s t a m p \" :   \" 2 0 1 6 - 1 0 - 2 8 T 1 7 : 0 4 : 2 4 Z \"   } ,   \" s p e c \" :   {   \" p o r t s \" :   [   {   \" n a m e \" :   \" h t t p \" ,   \" p r o t o c o l \" :   \" T C P \" ,   \" p o r t \" :   8 0 ,   \" t a r g e t P o r t \" :   8 0 ,   \" n o d e P o r t \" :   3 2 4 1 7   }   ] ,   \" s e l e c t o r \" :   {   \" a p p \" :   \" n g i n x \"   } ,   \" c l u s t e r I P \" :   \" 1 0 . 1 8 3 . 2 5 0 . 1 6 1 \" ,   \" t y p e \" :   \" L o a d B a l a n c e r \" ,   \" s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28087"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28088"
  },
  {
    "question": "What is Patch?",
    "answer": "$   k u b e c t l   p a t c h   s e r v i c e   - p   \\   ' { \" s p e c \" : { \" p o r t s \" : [ { \" n a m e \" : \" h t t p \" , \" p o r t \" : 8 0 , \" t a r g e t P o r t \" : 8 0 8 0 } ] } } '   $   k u b e c t l   p r o x y   $   c u r l   - X   P A T C H   - H   ' C o n t e n t - T y p e :   a p p l i c a t i o n / s t r a t e g i c - m e r g e - p a t c h + j s o n '   - - d a t a   '   { \" s p e c \" : { \" p o r t s \" : [ { \" n a m e \" : \" h t t p \" , \" p o r t \" : 8 0 , \" t a r g e t P o r t \" : 8 0 8 0 } ] } } '   \\   ' h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 0 1 / a p i / v 1 / n a m e s p a c e s / d e f a u l t / s e r v i c e s / '   \" \"   p a t c h e d   {   \" k i n d \" :   \" S e r v i c e \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" d e p l o y m e n t - e x a m p l e \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \" ,   \" s e l f L i n k \" :   \" / a p i / v 1 / n a m e s p a c e s / d e f a u l t / s e r v i c e s / d e p l o y m e n t - e x a m p l e \" ,   \" u i d \" :   \" 9 3 e 5 c 7 3 1 - 9 d 3 0 - 1 1 e 6 - 9 c 5 4 - 4 2 0 1 0 a 8 0 0 1 4 8 \" ,   \" r e s o u r c e V e r s i o n \" :   \" 2 2 0 5 9 9 5 \" ,   \" c r e a t i o n T i m e s t a m p \" :   \" 2 0 1 6 - 1 0 - 2 8 T 1 7 : 0 4 : 2 4 Z \"   } ,   \" s p e c \" :   {   \" p o r t s \" :   [   {   \" n a m e \" :   \" h t t p \" ,   \" p r o t o c o l \" :   \" T C P \" ,   \" p o r t \" :   8 0 ,   \" t a r g e t P o r t \" :   8 0 8 0 ,   \" n o d e P o r t \" :   3 2 4 1 7   }   ] ,   \" s e l e c t o r \" :   {   \" a p p \" :   \" n g i n x \"   } ,   \" c l u s t e r I P \" :   \" 1 0 . 1 8 3 . 2 5 0 . 1 6 1 \" ,   \" t y p e \" :   \" L o a d B a l a n c e r \" ,   \" s e s s i o n A f f i n i t y \" :   \" N o n e \"   } ,   \" s t a t u s \" :   {   \" l o a d B a l a n c e r \" :   {   \" i n g r e s s \" :   [   {   \" i p \" :   \" 1 0 4 . 1 9 8 . 1 8 6 . 1 0 6 \"   }   ]   }   }   }   p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28089"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28090"
  },
  {
    "question": "What is Replace?",
    "answer": "$   e c h o   ' a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   d e p l o y m e n t - e x a m p l e   r e s o u r c e V e r s i o n :   \" 2 2 0 5 9 9 5 \"   s p e c :   c l u s t e r I P :   1 0 . 1 8 3 . 2 5 0 . 1 6 1   p o r t s :   -   n a m e :   h t t p   n o d e P o r t :   3 2 4 1 7   p o r t :   8 0   p r o t o c o l :   T C P   t a r g e t P o r t :   8 0 8 0   s e l e c t o r :   a p p :   n g i n x   s e s s i o n A f f i n i t y :   N o n e   t y p e :   L o a d B a l a n c e r   '   |   k u b e c t l   r e p l a c e   - f   -   $   k u b e c t l   p r o x y   $   c u r l   - X   P U T   - H   ' C o n t e n t - T y p e :   a p p l i c a t i o n / y a m l '   - - d a t a   '   a p i V e r s i o n :   v 1   k i n d :   S e r v i c e   m e t a d a t a :   n a m e :   d e p l o y m e n t - e x a m p l e   r e s o u r c e V e r s i o n :   \" 2 2 0 5 9 9 5 \"   s p e c :   c l u s t e r I P :   1 0 . 1 8 3 . 2 5 0 . 1 6 1   p o r t s :   -   n a m e :   h t t p   n o d e P o r t :   3 2 4 1 7   p o r t :   8 0   p r o t o c o l :   T C P   t a r g e t P o r t :   8 0 8 0   s e l e c t o r :   a p p :   n g i n x   s e s s i o n A f f i n i t y :   N o n e   t y p e :   L o a d B a l a n c e r   '   h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 0 1 / a p i / v 1 / n a m e s p a c e s / d e f a u l t / s e r v i c e s / d e p l o y m e n t - e x a m p l e   s e r v i c e   \" d e p l o y m e n t - e x a m p l e \"   r e p l a c e d   {   \" k i n d \" :   \" S e r v i c e \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" d e p l o y m e n t - e x a m p l e \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \" ,   \" s e l f L i n k \" :   \" / a p i / v 1 / n a m e s p a c e s / d e f a u l t / s e r v i c e s / d e p l o y m e n t - e x a m p l e \" ,   \" u i d \" :   \" 9 3 e 5 c 7 3 1 - 9 d 3 0 - 1 1 e 6 - 9 c 5 4 - 4 2 0 1 0 a 8 0 0 1 4 8 \" ,   \" r e s o u r c e V e r s i o n \" :   \" 2 2 0 8 6 7 2 \" ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28091"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28092"
  },
  {
    "question": "What is Delete?",
    "answer": "$   k u b e c t l   d e l e t e   s e r v i c e   d e p l o y m e n t - e x a m p l e   $   k u b e c t l   p r o x y   $   c u r l   - X   D E L E T E   - H   ' C o n t e n t - T y p e :   a p p l i c a t i o n / y a m l '   - - d a t a   '   g r a c e P e r i o d S e c o n d s :   0   o r p h a n D e p e n d e n t s :   f a l s e   '   ' h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 0 1 / a p i / v 1 / n a m e s p a c e s / d e f a u l t / s e r v i c e s / d e p l o y m e n t - e x a m p l e '   s e r v i c e   \" d e p l o y m e n t - e x a m p l e \"   d e l e t e d   {   \" k i n d \" :   \" S t a t u s \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   { } ,   \" s t a t u s \" :   \" S u c c e s s \" ,   \" c o d e \" :   2 0 0   }   d e l e t e   a   S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28093"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28094"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28095"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28096"
  },
  {
    "question": "What is Read?",
    "answer": "$   k u b e c t l   g e t   s e r v i c e   d e p l o y m e n t - e x a m p l e   - o   j s o n   $   k u b e c t l   p r o x y   $   c u r l   - X   G E T   h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 0 1 / a p i / v 1 / n a m e s p a c e s / d e f a u l t / s e r v i c e s / d e p l o y m e n t - e x a m p l e   {   \" k i n d \" :   \" S e r v i c e \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" d e p l o y m e n t - e x a m p l e \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \" ,   \" s e l f L i n k \" :   \" / a p i / v 1 / n a m e s p a c e s / d e f a u l t / s e r v i c e s / d e p l o y m e n t - e x a m p l e \" ,   \" u i d \" :   \" 9 3 e 5 c 7 3 1 - 9 d 3 0 - 1 1 e 6 - 9 c 5 4 - 4 2 0 1 0 a 8 0 0 1 4 8 \" ,   \" r e s o u r c e V e r s i o n \" :   \" 2 2 0 5 9 9 5 \" ,   \" c r e a t i o n T i m e s t a m p \" :   \" 2 0 1 6 - 1 0 - 2 8 T 1 7 : 0 4 : 2 4 Z \"   } ,   \" s p e c \" :   {   \" p o r t s \" :   [   {   \" n a m e \" :   \" h t t p \" ,   \" p r o t o c o l \" :   \" T C P \" ,   \" p o r t \" :   8 0 ,   \" t a r g e t P o r t \" :   8 0 8 0 ,   \" n o d e P o r t \" :   3 2 4 1 7   }   ] ,   \" s e l e c t o r \" :   {   \" a p p \" :   \" n g i n x \"   } ,   \" c l u s t e r I P \" :   \" 1 0 . 1 8 3 . 2 5 0 . 1 6 1 \" ,   \" t y p e \" :   \" L o a d B a l a n c e r \" ,   \" s e s s i o n A f f i n i t y \" :   \" N o n e \"   } ,   \" s t a t u s \" :   {   \" l o a d B a l a n c e r \" :   {   \" i n g r e s s \" :   [   {   \" i p \" :   \" 1 0 4 . 1 9 8 . 1 8 6 . 1 0 6 \"   }   ]   }   }   }   {   \" k i n d \" :   \" S e r v i c e \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" d e p l o y m e n t - e x a m p l e \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \" ,   \" s e l f L i n k \" :   \" / a p i / v 1 / n a m e s p a c e s / d e f a u l t / s e r v i c e s / d e p l o y m e n t - e x a m p l e \" ,   \" u i d \" :   \" 9 3 e 5 c 7 3 1 - 9 d 3 0 - 1 1 e 6 - 9 c 5 4 - 4 2 0 1 0 a 8 0 0 1 4 8 \" ,   \" r e s o u r c ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28097"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28098"
  },
  {
    "question": "What is List?",
    "answer": "$   k u b e c t l   g e t   s e r v i c e   - o   j s o n   $   k u b e c t l   p r o x y   $   c u r l   - X   G E T   ' h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 0 1 / a p i / v 1 / n a m e s p a c e s / d e f a u l t / s e r v i c e s '   l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28099"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28100"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28101"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / s e r v i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28102"
  },
  {
    "question": "What is Watch?",
    "answer": "$   k u b e c t l   g e t   s e r v i c e   d e p l o y m e n t - e x a m p l e   - - w a t c h   - o   j s o n   $   k u b e c t l   p r o x y   $   c u r l   - X   G E T   ' h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 0 1 / a p i / v 1 / w a t c h / n a m e s p a c e s / d e f a u l t / s e r v i c e s / d e p l o y m e n t - e x a m p l e '   {   \" t y p e \" :   \" A D D E D \" ,   \" o b j e c t \" :   {   \" k i n d \" :   \" S e r v i c e \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" d e p l o y m e n t - e x a m p l e \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \" ,   \" s e l f L i n k \" :   \" / a p i / v 1 / n a m e s p a c e s / d e f a u l t / s e r v i c e s / d e p l o y m e n t - e x a m p l e \" ,   \" u i d \" :   \" 9 3 e 5 c 7 3 1 - 9 d 3 0 - 1 1 e 6 - 9 c 5 4 - 4 2 0 1 0 a 8 0 0 1 4 8 \" ,   \" r e s o u r c e V e r s i o n \" :   \" 2 2 0 5 9 9 5 \" ,   \" c r e a t i o n T i m e s t a m p \" :   \" 2 0 1 6 - 1 0 - 2 8 T 1 7 : 0 4 : 2 4 Z \"   } ,   \" s p e c \" :   {   \" p o r t s \" :   [   {   \" n a m e \" :   \" h t t p \" ,   \" p r o t o c o l \" :   \" T C P \" ,   \" p o r t \" :   8 0 ,   \" t a r g e t P o r t \" :   8 0 8 0 ,   \" n o d e P o r t \" :   3 2 4 1 7   }   ] ,   \" s e l e c t o r \" :   {   \" a p p \" :   \" n g i n x \"   } ,   \" c l u s t e r I P \" :   \" 1 0 . 1 8 3 . 2 5 0 . 1 6 1 \" ,   \" t y p e \" :   \" L o a d B a l a n c e r \" ,   \" s e s s i o n A f f i n i t y \" :   \" N o n e \"   } ,   \" s t a t u s \" :   {   \" l o a d B a l a n c e r \" :   {   \" i n g r e s s \" :   [   {   \" i p \" :   \" 1 0 4 . 1 9 8 . 1 8 6 . 1 0 6 \"   }   ]   }   }   }   }   {   \" t y p e \" :   \" A D D E D \" ,   \" o b j e c t \" :   {   \" k i n d \" :   \" S e r v i c e \" ,   \" a p i V e r s i o n \" :   \" v 1 \" ,   \" m e t a d a t a \" :   {   \" n a m e \" :   \" d e p l o y m e n t - e x a m p l e \" ,   \" n a m e s p a c e \" :   \" d e f a u l t \" ,   \" s e l f L i n k \" :   \" / a p i / v 1 / n a m e s p a c e s / d e f a u l t / s e r v i c e s / ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28103"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28104"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   S e r v i c e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28105"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28106"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   S e r v i c e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28107"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / s e r v i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28108"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28109"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28110"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28111"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28112"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28113"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28114"
  },
  {
    "question": "What is Create Connect Proxy?",
    "answer": "c o n n e c t   P O S T   r e q u e s t s   t o   p r o x y   o f   S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28115"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e } / p r o x y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28116"
  },
  {
    "question": "What is Create Connect Proxy Path?",
    "answer": "c o n n e c t   P O S T   r e q u e s t s   t o   p r o x y   o f   S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28117"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e } / p r o x y / { p a t h }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28118"
  },
  {
    "question": "What is Delete Connect Proxy?",
    "answer": "c o n n e c t   D E L E T E   r e q u e s t s   t o   p r o x y   o f   S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28119"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e } / p r o x y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28120"
  },
  {
    "question": "What is Delete Connect Proxy Path?",
    "answer": "c o n n e c t   D E L E T E   r e q u e s t s   t o   p r o x y   o f   S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28121"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e } / p r o x y / { p a t h }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28122"
  },
  {
    "question": "What is Get Connect Proxy?",
    "answer": "c o n n e c t   G E T   r e q u e s t s   t o   p r o x y   o f   S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28123"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e } / p r o x y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28124"
  },
  {
    "question": "What is Get Connect Proxy Path?",
    "answer": "c o n n e c t   G E T   r e q u e s t s   t o   p r o x y   o f   S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28125"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e } / p r o x y / { p a t h }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28126"
  },
  {
    "question": "What is Head Connect Proxy?",
    "answer": "c o n n e c t   H E A D   r e q u e s t s   t o   p r o x y   o f   S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28127"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "H E A D   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e } / p r o x y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28128"
  },
  {
    "question": "What is Head Connect Proxy Path?",
    "answer": "c o n n e c t   H E A D   r e q u e s t s   t o   p r o x y   o f   S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28129"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "H E A D   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e } / p r o x y / { p a t h }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28130"
  },
  {
    "question": "What is Replace Connect Proxy?",
    "answer": "c o n n e c t   P U T   r e q u e s t s   t o   p r o x y   o f   S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28131"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e } / p r o x y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28132"
  },
  {
    "question": "What is Replace Connect Proxy Path?",
    "answer": "c o n n e c t   P U T   r e q u e s t s   t o   p r o x y   o f   S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28133"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e s / { n a m e } / p r o x y / { p a t h }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28134"
  },
  {
    "question": "What is Config & Storage?",
    "answer": "C o n f i g   a n d   S t o r a g e   r e s o u r c e s   a r e   r e s p o n s i b l e   f o r   i n j e c t i n g   d a t a   i n t o   y o u r   a p p l i c a t i o n s   a n d   p e r s i s t i n g   d a t a   e x t e r n a l l y   t o   y o u r   c o n t a i n e r .   C o m m o n   r e s o u r c e   t y p e s :   C o n f i g M a p s   f o r   p r o v i d i n g   t e x t   k e y   v a l u e   p a i r s   i n j e c t e d   i n t o   t h e   a p p l i c a t i o n   t h r o u g h   e n v i r o n m e n t   v a r i a b l e s ,   c o m m a n d   l i n e   a r g u m e n t s ,   o r   f i l e s   S e c r e t s   f o r   p r o v i d i n g   b i n a r y   d a t a   i n j e c t e d   i n t o   t h e   a p p l i c a t i o n   t h r o u g h   f i l e s   V o l u m e s   f o r   p r o v i d i n g   a   f i l e s y s t e m   e x t e r n a l   t o   t h e   C o n t a i n e r .   M a y b e   s h a r e d   a c r o s s   C o n t a i n e r s   w i t h i n   t h e   s a m e   P o d   a n d   h a v e   a   l i f e t i m e   p e r s i s t i n g   b e y o n d   a   C o n t a i n e r   o r   P o d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28135"
  },
  {
    "question": "What is ConfigMap v1 core?",
    "answer": "C o n f i g M a p L i s t   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28136"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   C o n f i g M a p",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28137"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28138"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   C o n f i g M a p",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28139"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28140"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   C o n f i g M a p",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28141"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28142"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   C o n f i g M a p",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28143"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28144"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   C o n f i g M a p",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28145"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28146"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   C o n f i g M a p",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28147"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28148"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   C o n f i g M a p",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28149"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28150"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   C o n f i g M a p",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28151"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / c o n f i g m a p s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28152"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   C o n f i g M a p .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28153"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28154"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   C o n f i g M a p .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28155"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / c o n f i g m a p s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28156"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   C o n f i g M a p .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28157"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / c o n f i g m a p s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28158"
  },
  {
    "question": "What is CSIDriver v1 storage.k8s.io?",
    "answer": "C S I D r i v e r L i s t   [ s t o r a g e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28159"
  },
  {
    "question": "What is CSIDriverSpec v1 storage?",
    "answer": "C S I D r i v e r   [ s t o r a g e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28160"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   C S I D r i v e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28161"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28162"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   C S I D r i v e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28163"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28164"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   C S I D r i v e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28165"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28166"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   C S I D r i v e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28167"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28168"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   C S I D r i v e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28169"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28170"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   C S I D r i v e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28171"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28172"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   C S I D r i v e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28173"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i d r i v e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28174"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   C S I D r i v e r .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28175"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / w a t c h / c s i d r i v e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28176"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   C S I D r i v e r .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28177"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / w a t c h / c s i d r i v e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28178"
  },
  {
    "question": "What is CSINode v1 storage.k8s.io?",
    "answer": "C S I N o d e L i s t   [ s t o r a g e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28179"
  },
  {
    "question": "What is CSINodeSpec v1 storage?",
    "answer": "C S I N o d e   [ s t o r a g e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28180"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   C S I N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28181"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28182"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   C S I N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28183"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28184"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   C S I N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28185"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28186"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   C S I N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28187"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28188"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   C S I N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28189"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28190"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   C S I N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28191"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28192"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   C S I N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28193"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i n o d e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28194"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   C S I N o d e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28195"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / w a t c h / c s i n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28196"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   C S I N o d e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28197"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / w a t c h / c s i n o d e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28198"
  },
  {
    "question": "What is CSIStorageCapacity v1 storage.k8s.io?",
    "answer": "C S I S t o r a g e C a p a c i t y L i s t   [ s t o r a g e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28199"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   C S I S t o r a g e C a p a c i t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28200"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28201"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   C S I S t o r a g e C a p a c i t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28202"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28203"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   C S I S t o r a g e C a p a c i t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28204"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28205"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   C S I S t o r a g e C a p a c i t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28206"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28207"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   C S I S t o r a g e C a p a c i t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28208"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28209"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   C S I S t o r a g e C a p a c i t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28210"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28211"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   C S I S t o r a g e C a p a c i t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28212"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28213"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   C S I S t o r a g e C a p a c i t y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28214"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / c s i s t o r a g e c a p a c i t i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28215"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   C S I S t o r a g e C a p a c i t y .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28216"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28217"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   C S I S t o r a g e C a p a c i t y .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28218"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / c s i s t o r a g e c a p a c i t i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28219"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   C S I S t o r a g e C a p a c i t y .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28220"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / w a t c h / c s i s t o r a g e c a p a c i t i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28221"
  },
  {
    "question": "What is Secret v1 core?",
    "answer": "S e c r e t L i s t   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28222"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   S e c r e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28223"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28224"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   S e c r e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28225"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28226"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   S e c r e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28227"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28228"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   S e c r e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28229"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28230"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   S e c r e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28231"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28232"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   S e c r e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28233"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28234"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   S e c r e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28235"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28236"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   S e c r e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28237"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / s e c r e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28238"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   S e c r e t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28239"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28240"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   S e c r e t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28241"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / s e c r e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28242"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   S e c r e t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28243"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / s e c r e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28244"
  },
  {
    "question": "What is PersistentVolumeClaim v1 core?",
    "answer": "P e r s i s t e n t V o l u m e C l a i m L i s t   [ c o r e / v 1 ]   S t a t e f u l S e t S p e c   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28245"
  },
  {
    "question": "What is PersistentVolumeClaimSpec v1 core?",
    "answer": "P e r s i s t e n t V o l u m e C l a i m   [ c o r e / v 1 ]   P e r s i s t e n t V o l u m e C l a i m T e m p l a t e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28246"
  },
  {
    "question": "What is PersistentVolumeClaimStatus v1 core?",
    "answer": "P e r s i s t e n t V o l u m e C l a i m   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28247"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   P e r s i s t e n t V o l u m e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28248"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28249"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   P e r s i s t e n t V o l u m e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28250"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28251"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   P e r s i s t e n t V o l u m e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28252"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28253"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   P e r s i s t e n t V o l u m e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28254"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28255"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   P e r s i s t e n t V o l u m e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28256"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28257"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   P e r s i s t e n t V o l u m e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28258"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28259"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   P e r s i s t e n t V o l u m e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28260"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28261"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   P e r s i s t e n t V o l u m e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28262"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / p e r s i s t e n t v o l u m e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28263"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   P e r s i s t e n t V o l u m e C l a i m .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28264"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28265"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   P e r s i s t e n t V o l u m e C l a i m .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28266"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28267"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   P e r s i s t e n t V o l u m e C l a i m .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28268"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / p e r s i s t e n t v o l u m e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28269"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   P e r s i s t e n t V o l u m e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28270"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28271"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   P e r s i s t e n t V o l u m e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28272"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28273"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   P e r s i s t e n t V o l u m e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28274"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p e r s i s t e n t v o l u m e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28275"
  },
  {
    "question": "What is StorageClass v1 storage.k8s.io?",
    "answer": "S t o r a g e C l a s s L i s t   [ s t o r a g e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28276"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   S t o r a g e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28277"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28278"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   S t o r a g e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28279"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28280"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   S t o r a g e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28281"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28282"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   S t o r a g e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28283"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28284"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   S t o r a g e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28285"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28286"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   S t o r a g e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28287"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28288"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   S t o r a g e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28289"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / s t o r a g e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28290"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   S t o r a g e C l a s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28291"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / w a t c h / s t o r a g e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28292"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   S t o r a g e C l a s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28293"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / w a t c h / s t o r a g e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28294"
  },
  {
    "question": "What is StorageVersionMigration v1alpha1 storagemigration.k8s.io?",
    "answer": "S t o r a g e V e r s i o n M i g r a t i o n L i s t   [ s t o r a g e m i g r a t i o n / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28295"
  },
  {
    "question": "What is StorageVersionMigrationSpec v1alpha1 storagemigration?",
    "answer": "S t o r a g e V e r s i o n M i g r a t i o n   [ s t o r a g e m i g r a t i o n / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28296"
  },
  {
    "question": "What is StorageVersionMigrationStatus v1alpha1 storagemigration?",
    "answer": "S t o r a g e V e r s i o n M i g r a t i o n   [ s t o r a g e m i g r a t i o n / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28297"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   S t o r a g e V e r s i o n M i g r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28298"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28299"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   S t o r a g e V e r s i o n M i g r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28300"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28301"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   S t o r a g e V e r s i o n M i g r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28302"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28303"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   S t o r a g e V e r s i o n M i g r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28304"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28305"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   S t o r a g e V e r s i o n M i g r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28306"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28307"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   S t o r a g e V e r s i o n M i g r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28308"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28309"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   S t o r a g e V e r s i o n M i g r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28310"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28311"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   S t o r a g e V e r s i o n M i g r a t i o n .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28312"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / w a t c h / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28313"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   S t o r a g e V e r s i o n M i g r a t i o n .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28314"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / w a t c h / s t o r a g e v e r s i o n m i g r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28315"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   S t o r a g e V e r s i o n M i g r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28316"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28317"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   S t o r a g e V e r s i o n M i g r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28318"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28319"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   S t o r a g e V e r s i o n M i g r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28320"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28321"
  },
  {
    "question": "What is Volume v1 core?",
    "answer": "P o d S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28322"
  },
  {
    "question": "What is VolumeAttachment v1 storage.k8s.io?",
    "answer": "V o l u m e A t t a c h m e n t L i s t   [ s t o r a g e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28323"
  },
  {
    "question": "What is VolumeAttachmentSpec v1 storage?",
    "answer": "V o l u m e A t t a c h m e n t   [ s t o r a g e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28324"
  },
  {
    "question": "What is VolumeAttachmentStatus v1 storage?",
    "answer": "V o l u m e A t t a c h m e n t   [ s t o r a g e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28325"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   V o l u m e A t t a c h m e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28326"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28327"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   V o l u m e A t t a c h m e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28328"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28329"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   V o l u m e A t t a c h m e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28330"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28331"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   V o l u m e A t t a c h m e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28332"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28333"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   V o l u m e A t t a c h m e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28334"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28335"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   V o l u m e A t t a c h m e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28336"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28337"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   V o l u m e A t t a c h m e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28338"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28339"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   V o l u m e A t t a c h m e n t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28340"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / w a t c h / v o l u m e a t t a c h m e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28341"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   V o l u m e A t t a c h m e n t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28342"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / w a t c h / v o l u m e a t t a c h m e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28343"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   V o l u m e A t t a c h m e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28344"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28345"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   V o l u m e A t t a c h m e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28346"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28347"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   V o l u m e A t t a c h m e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28348"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t a c h m e n t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28349"
  },
  {
    "question": "What is VolumeAttributesClass v1 storage.k8s.io?",
    "answer": "V o l u m e A t t r i b u t e s C l a s s L i s t   [ s t o r a g e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28350"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   V o l u m e A t t r i b u t e s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28351"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28352"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   V o l u m e A t t r i b u t e s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28353"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28354"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   V o l u m e A t t r i b u t e s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28355"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28356"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   V o l u m e A t t r i b u t e s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28357"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28358"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   V o l u m e A t t r i b u t e s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28359"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28360"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   V o l u m e A t t r i b u t e s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28361"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28362"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   V o l u m e A t t r i b u t e s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28363"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / v o l u m e a t t r i b u t e s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28364"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   V o l u m e A t t r i b u t e s C l a s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28365"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / w a t c h / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28366"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   V o l u m e A t t r i b u t e s C l a s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28367"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 / w a t c h / v o l u m e a t t r i b u t e s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28368"
  },
  {
    "question": "What is Metadata?",
    "answer": "M e t a d a t a   r e s o u r c e s   a r e   r e s p o n s i b l e   f o r   c o n f i g u r i n g   b e h a v i o r   o f   y o u r   o t h e r   R e s o u r c e s   w i t h i n   t h e   C l u s t e r .   C o m m o n   r e s o u r c e   t y p e s :   H o r i z o n t a l P o d A u t o s c a l e r   ( H P A )   f o r   a u t o m a t i c a l l y   s c a l i n g   t h e   r e p l i c a c o u n t   o f   y o u r   w o r k l o a d s   i n   r e s p o n s e   t o   l o a d .   P o d D i s r u p t i o n B u d g e t   f o r   c o n f i g u r i n g   h o w   m a n y   r e p l i c a s   i n   a   g i v e n   w o r k l o a d   m a y b e   m a d e   c o n c u r r e n t l y   u n a v a i l a b l e   w h e n   p e r f o r m i n g   m a i n t e n a n c e .   E v e n t   f o r   n o t i f i c a t i o n   o f   r e s o u r c e   l i f e c y c l e   e v e n t s   i n   t h e   c l u s t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28369"
  },
  {
    "question": "What is ClusterTrustBundle v1beta1 certificates.k8s.io?",
    "answer": "C l u s t e r T r u s t B u n d l e L i s t   [ c e r t i f i c a t e s / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28370"
  },
  {
    "question": "What is ClusterTrustBundleSpec v1beta1 certificates?",
    "answer": "C l u s t e r T r u s t B u n d l e   [ c e r t i f i c a t e s / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28371"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   C l u s t e r T r u s t B u n d l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28372"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28373"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   C l u s t e r T r u s t B u n d l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28374"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28375"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   C l u s t e r T r u s t B u n d l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28376"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28377"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   C l u s t e r T r u s t B u n d l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28378"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28379"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   C l u s t e r T r u s t B u n d l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28380"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28381"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   C l u s t e r T r u s t B u n d l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28382"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28383"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   C l u s t e r T r u s t B u n d l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28384"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / c l u s t e r t r u s t b u n d l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28385"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   C l u s t e r T r u s t B u n d l e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28386"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / w a t c h / c l u s t e r t r u s t b u n d l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28387"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   C l u s t e r T r u s t B u n d l e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28388"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 b e t a 1 / w a t c h / c l u s t e r t r u s t b u n d l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28389"
  },
  {
    "question": "What is ControllerRevision v1 apps?",
    "answer": "C o n t r o l l e r R e v i s i o n L i s t   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28390"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   C o n t r o l l e r R e v i s i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28391"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28392"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   C o n t r o l l e r R e v i s i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28393"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28394"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   C o n t r o l l e r R e v i s i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28395"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28396"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   C o n t r o l l e r R e v i s i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28397"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28398"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   C o n t r o l l e r R e v i s i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28399"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28400"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   C o n t r o l l e r R e v i s i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28401"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28402"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   C o n t r o l l e r R e v i s i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28403"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28404"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   C o n t r o l l e r R e v i s i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28405"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / c o n t r o l l e r r e v i s i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28406"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   C o n t r o l l e r R e v i s i o n .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28407"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28408"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   C o n t r o l l e r R e v i s i o n .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28409"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / c o n t r o l l e r r e v i s i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28410"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   C o n t r o l l e r R e v i s i o n .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28411"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p p s / v 1 / w a t c h / c o n t r o l l e r r e v i s i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28412"
  },
  {
    "question": "What is CustomResourceDefinition v1 apiextensions.k8s.io?",
    "answer": "C u s t o m R e s o u r c e D e f i n i t i o n L i s t   [ a p i e x t e n s i o n s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28413"
  },
  {
    "question": "What is CustomResourceDefinitionSpec v1 apiextensions?",
    "answer": "C u s t o m R e s o u r c e D e f i n i t i o n   [ a p i e x t e n s i o n s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28414"
  },
  {
    "question": "What is CustomResourceDefinitionStatus v1 apiextensions?",
    "answer": "C u s t o m R e s o u r c e D e f i n i t i o n   [ a p i e x t e n s i o n s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28415"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   C u s t o m R e s o u r c e D e f i n i t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28416"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28417"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   C u s t o m R e s o u r c e D e f i n i t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28418"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28419"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   C u s t o m R e s o u r c e D e f i n i t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28420"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28421"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   C u s t o m R e s o u r c e D e f i n i t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28422"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28423"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   C u s t o m R e s o u r c e D e f i n i t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28424"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28425"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   C u s t o m R e s o u r c e D e f i n i t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28426"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28427"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   C u s t o m R e s o u r c e D e f i n i t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28428"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28429"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   C u s t o m R e s o u r c e D e f i n i t i o n .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28430"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / w a t c h / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28431"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   C u s t o m R e s o u r c e D e f i n i t i o n .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28432"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / w a t c h / c u s t o m r e s o u r c e d e f i n i t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28433"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   C u s t o m R e s o u r c e D e f i n i t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28434"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28435"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   C u s t o m R e s o u r c e D e f i n i t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28436"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28437"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   C u s t o m R e s o u r c e D e f i n i t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28438"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p i e x t e n s i o n s . k 8 s . i o / v 1 / c u s t o m r e s o u r c e d e f i n i t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28439"
  },
  {
    "question": "What is DeviceClass v1 resource.k8s.io?",
    "answer": "D e v i c e C l a s s L i s t   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28440"
  },
  {
    "question": "What is DeviceClassSpec v1 resource?",
    "answer": "D e v i c e C l a s s   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28441"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   D e v i c e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28442"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28443"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   D e v i c e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28444"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28445"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   D e v i c e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28446"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28447"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   D e v i c e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28448"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28449"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   D e v i c e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28450"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28451"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   D e v i c e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28452"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28453"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   D e v i c e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28454"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / d e v i c e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28455"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   D e v i c e C l a s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28456"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / w a t c h / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28457"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   D e v i c e C l a s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28458"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / w a t c h / d e v i c e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28459"
  },
  {
    "question": "What is DeviceTaintRule v1alpha3 resource.k8s.io?",
    "answer": "D e v i c e T a i n t R u l e L i s t   [ r e s o u r c e / v 1 a l p h a 3 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28460"
  },
  {
    "question": "What is DeviceTaintRuleSpec v1alpha3 resource?",
    "answer": "D e v i c e T a i n t R u l e   [ r e s o u r c e / v 1 a l p h a 3 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28461"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   D e v i c e T a i n t R u l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28462"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28463"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   D e v i c e T a i n t R u l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28464"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28465"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   D e v i c e T a i n t R u l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28466"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28467"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   D e v i c e T a i n t R u l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28468"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28469"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   D e v i c e T a i n t R u l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28470"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28471"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   D e v i c e T a i n t R u l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28472"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28473"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   D e v i c e T a i n t R u l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28474"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / d e v i c e t a i n t r u l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28475"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   D e v i c e T a i n t R u l e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28476"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / w a t c h / d e v i c e t a i n t r u l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28477"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   D e v i c e T a i n t R u l e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28478"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 a l p h a 3 / w a t c h / d e v i c e t a i n t r u l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28479"
  },
  {
    "question": "What is Event v1 events.k8s.io?",
    "answer": "E v e n t L i s t   [ e v e n t s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28480"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a n   E v e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28481"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28482"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   E v e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28483"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28484"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   E v e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28485"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28486"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a n   E v e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28487"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28488"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   E v e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28489"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28490"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   E v e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28491"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28492"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   E v e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28493"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / e v e n t s . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28494"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   E v e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28495"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / e v e n t s . k 8 s . i o / v 1 / e v e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28496"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   E v e n t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28497"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / e v e n t s . k 8 s . i o / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28498"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   E v e n t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28499"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / e v e n t s . k 8 s . i o / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28500"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   E v e n t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28501"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / e v e n t s . k 8 s . i o / v 1 / w a t c h / e v e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28502"
  },
  {
    "question": "What is LimitRange v1 core?",
    "answer": "L i m i t R a n g e L i s t   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28503"
  },
  {
    "question": "What is LimitRangeSpec v1 core?",
    "answer": "L i m i t R a n g e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28504"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   L i m i t R a n g e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28505"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28506"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   L i m i t R a n g e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28507"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28508"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   L i m i t R a n g e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28509"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28510"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   L i m i t R a n g e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28511"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28512"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   L i m i t R a n g e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28513"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28514"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   L i m i t R a n g e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28515"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28516"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   L i m i t R a n g e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28517"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28518"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   L i m i t R a n g e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28519"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / l i m i t r a n g e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28520"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   L i m i t R a n g e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28521"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28522"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   L i m i t R a n g e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28523"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / l i m i t r a n g e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28524"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   L i m i t R a n g e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28525"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / l i m i t r a n g e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28526"
  },
  {
    "question": "What is HorizontalPodAutoscaler v2 autoscaling?",
    "answer": "H o r i z o n t a l P o d A u t o s c a l e r L i s t   [ a u t o s c a l i n g / v 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28527"
  },
  {
    "question": "What is HorizontalPodAutoscalerSpec v2 autoscaling?",
    "answer": "H o r i z o n t a l P o d A u t o s c a l e r   [ a u t o s c a l i n g / v 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28528"
  },
  {
    "question": "What is HorizontalPodAutoscalerStatus v2 autoscaling?",
    "answer": "H o r i z o n t a l P o d A u t o s c a l e r   [ a u t o s c a l i n g / v 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28529"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   H o r i z o n t a l P o d A u t o s c a l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28530"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28531"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   H o r i z o n t a l P o d A u t o s c a l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28532"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28533"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   H o r i z o n t a l P o d A u t o s c a l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28534"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28535"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   H o r i z o n t a l P o d A u t o s c a l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28536"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28537"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   H o r i z o n t a l P o d A u t o s c a l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28538"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28539"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   H o r i z o n t a l P o d A u t o s c a l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28540"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28541"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   H o r i z o n t a l P o d A u t o s c a l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28542"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28543"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   H o r i z o n t a l P o d A u t o s c a l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28544"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 2 / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28545"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   H o r i z o n t a l P o d A u t o s c a l e r .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28546"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 2 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28547"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   H o r i z o n t a l P o d A u t o s c a l e r .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28548"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 2 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28549"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   H o r i z o n t a l P o d A u t o s c a l e r .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28550"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 2 / w a t c h / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28551"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   H o r i z o n t a l P o d A u t o s c a l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28552"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28553"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   H o r i z o n t a l P o d A u t o s c a l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28554"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28555"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   H o r i z o n t a l P o d A u t o s c a l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28556"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a u t o s c a l i n g / v 2 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28557"
  },
  {
    "question": "What is MutatingWebhookConfiguration v1 admissionregistration.k8s.io?",
    "answer": "M u t a t i n g W e b h o o k C o n f i g u r a t i o n L i s t   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28558"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   M u t a t i n g W e b h o o k C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28559"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28560"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   M u t a t i n g W e b h o o k C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28561"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28562"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   M u t a t i n g W e b h o o k C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28563"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28564"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   M u t a t i n g W e b h o o k C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28565"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28566"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   M u t a t i n g W e b h o o k C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28567"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28568"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   M u t a t i n g W e b h o o k C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28569"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28570"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   M u t a t i n g W e b h o o k C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28571"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28572"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   M u t a t i n g W e b h o o k C o n f i g u r a t i o n .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28573"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / w a t c h / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28574"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   M u t a t i n g W e b h o o k C o n f i g u r a t i o n .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28575"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / w a t c h / m u t a t i n g w e b h o o k c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28576"
  },
  {
    "question": "What is PodTemplate v1 core?",
    "answer": "P o d T e m p l a t e L i s t   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28577"
  },
  {
    "question": "What is PodTemplateSpec v1 core?",
    "answer": "D a e m o n S e t S p e c   [ a p p s / v 1 ]   D e p l o y m e n t S p e c   [ a p p s / v 1 ]   J o b S p e c   [ b a t c h / v 1 ]   P o d T e m p l a t e   [ c o r e / v 1 ]   R e p l i c a S e t S p e c   [ a p p s / v 1 ]   R e p l i c a t i o n C o n t r o l l e r S p e c   [ c o r e / v 1 ]   S t a t e f u l S e t S p e c   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28578"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   P o d T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28579"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28580"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   P o d T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28581"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28582"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   P o d T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28583"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28584"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   P o d T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28585"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28586"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   P o d T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28587"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28588"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   P o d T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28589"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28590"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   P o d T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28591"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28592"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   P o d T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28593"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / p o d t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28594"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   P o d T e m p l a t e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28595"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28596"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   P o d T e m p l a t e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28597"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / p o d t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28598"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   P o d T e m p l a t e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28599"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / p o d t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28600"
  },
  {
    "question": "What is PodDisruptionBudget v1 policy?",
    "answer": "P o d D i s r u p t i o n B u d g e t L i s t   [ p o l i c y / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28601"
  },
  {
    "question": "What is PodDisruptionBudgetSpec v1 policy?",
    "answer": "P o d D i s r u p t i o n B u d g e t   [ p o l i c y / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28602"
  },
  {
    "question": "What is PodDisruptionBudgetStatus v1 policy?",
    "answer": "P o d D i s r u p t i o n B u d g e t   [ p o l i c y / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28603"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   P o d D i s r u p t i o n B u d g e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28604"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28605"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   P o d D i s r u p t i o n B u d g e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28606"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28607"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   P o d D i s r u p t i o n B u d g e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28608"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28609"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   P o d D i s r u p t i o n B u d g e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28610"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28611"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   P o d D i s r u p t i o n B u d g e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28612"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28613"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   P o d D i s r u p t i o n B u d g e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28614"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28615"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   P o d D i s r u p t i o n B u d g e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28616"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28617"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   P o d D i s r u p t i o n B u d g e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28618"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / p o l i c y / v 1 / p o d d i s r u p t i o n b u d g e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28619"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   P o d D i s r u p t i o n B u d g e t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28620"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / p o l i c y / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28621"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   P o d D i s r u p t i o n B u d g e t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28622"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / p o l i c y / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28623"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   P o d D i s r u p t i o n B u d g e t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28624"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / p o l i c y / v 1 / w a t c h / p o d d i s r u p t i o n b u d g e t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28625"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   P o d D i s r u p t i o n B u d g e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28626"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28627"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   P o d D i s r u p t i o n B u d g e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28628"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28629"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   P o d D i s r u p t i o n B u d g e t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28630"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / p o l i c y / v 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d d i s r u p t i o n b u d g e t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28631"
  },
  {
    "question": "What is PriorityClass v1 scheduling.k8s.io?",
    "answer": "P r i o r i t y C l a s s L i s t   [ s c h e d u l i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28632"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   P r i o r i t y C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28633"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28634"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   P r i o r i t y C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28635"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28636"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   P r i o r i t y C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28637"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28638"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   P r i o r i t y C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28639"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28640"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   P r i o r i t y C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28641"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28642"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   P r i o r i t y C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28643"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28644"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   P r i o r i t y C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28645"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / p r i o r i t y c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28646"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   P r i o r i t y C l a s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28647"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / w a t c h / p r i o r i t y c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28648"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   P r i o r i t y C l a s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28649"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s c h e d u l i n g . k 8 s . i o / v 1 / w a t c h / p r i o r i t y c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28650"
  },
  {
    "question": "What is ResourceClaim v1 resource.k8s.io?",
    "answer": "R e s o u r c e C l a i m L i s t   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28651"
  },
  {
    "question": "What is ResourceClaimSpec v1 resource?",
    "answer": "R e s o u r c e C l a i m   [ r e s o u r c e / v 1 ]   R e s o u r c e C l a i m T e m p l a t e S p e c   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28652"
  },
  {
    "question": "What is ResourceClaimStatus v1 resource?",
    "answer": "R e s o u r c e C l a i m   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28653"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28654"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28655"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28656"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28657"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28658"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28659"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28660"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28661"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28662"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28663"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28664"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28665"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28666"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28667"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28668"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28669"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   R e s o u r c e C l a i m .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28670"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28671"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R e s o u r c e C l a i m .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28672"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28673"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R e s o u r c e C l a i m .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28674"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / w a t c h / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28675"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28676"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28677"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28678"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28679"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28680"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28681"
  },
  {
    "question": "What is ResourceClaimTemplate v1 resource.k8s.io?",
    "answer": "R e s o u r c e C l a i m T e m p l a t e L i s t   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28682"
  },
  {
    "question": "What is ResourceClaimTemplateSpec v1 resource?",
    "answer": "R e s o u r c e C l a i m T e m p l a t e   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28683"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   R e s o u r c e C l a i m T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28684"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28685"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   R e s o u r c e C l a i m T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28686"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28687"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   R e s o u r c e C l a i m T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28688"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28689"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   R e s o u r c e C l a i m T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28690"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28691"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   R e s o u r c e C l a i m T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28692"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28693"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   R e s o u r c e C l a i m T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28694"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28695"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R e s o u r c e C l a i m T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28696"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28697"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R e s o u r c e C l a i m T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28698"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28699"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   R e s o u r c e C l a i m T e m p l a t e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28700"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28701"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R e s o u r c e C l a i m T e m p l a t e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28702"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28703"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R e s o u r c e C l a i m T e m p l a t e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28704"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / w a t c h / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28705"
  },
  {
    "question": "What is ResourceSlice v1 resource.k8s.io?",
    "answer": "R e s o u r c e S l i c e L i s t   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28706"
  },
  {
    "question": "What is ResourceSliceSpec v1 resource?",
    "answer": "R e s o u r c e S l i c e   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28707"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   R e s o u r c e S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28708"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28709"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   R e s o u r c e S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28710"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28711"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   R e s o u r c e S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28712"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28713"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   R e s o u r c e S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28714"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28715"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   R e s o u r c e S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28716"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28717"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   R e s o u r c e S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28718"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28719"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R e s o u r c e S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28720"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28721"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   R e s o u r c e S l i c e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28722"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / w a t c h / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28723"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R e s o u r c e S l i c e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28724"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / w a t c h / r e s o u r c e s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28725"
  },
  {
    "question": "What is ValidatingAdmissionPolicy v1 admissionregistration.k8s.io?",
    "answer": "V a l i d a t i n g A d m i s s i o n P o l i c y L i s t   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28726"
  },
  {
    "question": "What is ValidatingAdmissionPolicySpec v1 admissionregistration?",
    "answer": "V a l i d a t i n g A d m i s s i o n P o l i c y   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28727"
  },
  {
    "question": "What is ValidatingAdmissionPolicyStatus v1 admissionregistration?",
    "answer": "V a l i d a t i n g A d m i s s i o n P o l i c y   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28728"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   V a l i d a t i n g A d m i s s i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28729"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28730"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   V a l i d a t i n g A d m i s s i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28731"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28732"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   V a l i d a t i n g A d m i s s i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28733"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28734"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   V a l i d a t i n g A d m i s s i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28735"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28736"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   V a l i d a t i n g A d m i s s i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28737"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28738"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   V a l i d a t i n g A d m i s s i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28739"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28740"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   V a l i d a t i n g A d m i s s i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28741"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28742"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   V a l i d a t i n g A d m i s s i o n P o l i c y .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28743"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / w a t c h / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28744"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   V a l i d a t i n g A d m i s s i o n P o l i c y .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28745"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / w a t c h / v a l i d a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28746"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   V a l i d a t i n g A d m i s s i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28747"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28748"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   V a l i d a t i n g A d m i s s i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28749"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28750"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   V a l i d a t i n g A d m i s s i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28751"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c i e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28752"
  },
  {
    "question": "What is ValidatingAdmissionPolicyBinding v1 admissionregistration.k8s.io?",
    "answer": "V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g L i s t   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28753"
  },
  {
    "question": "What is ValidatingAdmissionPolicyBindingSpec v1 admissionregistration?",
    "answer": "V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28754"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28755"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28756"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28757"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28758"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28759"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28760"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28761"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28762"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28763"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28764"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28765"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28766"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28767"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28768"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28769"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / w a t c h / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28770"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28771"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / w a t c h / v a l i d a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28772"
  },
  {
    "question": "What is ValidatingWebhookConfiguration v1 admissionregistration.k8s.io?",
    "answer": "V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n L i s t   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28773"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28774"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28775"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28776"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28777"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28778"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28779"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28780"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28781"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28782"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28783"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28784"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28785"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28786"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28787"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28788"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / w a t c h / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28789"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28790"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 / w a t c h / v a l i d a t i n g w e b h o o k c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28791"
  },
  {
    "question": "What is Cluster?",
    "answer": "C l u s t e r   r e s o u r c e s   a r e   r e s p o n s i b l e   f o r   d e f i n i n g   c o n f i g u r a t i o n   o f   t h e   c l u s t e r   i t s e l f ,   a n d   a r e   g e n e r a l l y   o n l y   u s e d   b y   c l u s t e r   o p e r a t o r s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28792"
  },
  {
    "question": "What is APIService v1 apiregistration.k8s.io?",
    "answer": "A P I S e r v i c e L i s t   [ a p i r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28793"
  },
  {
    "question": "What is APIServiceSpec v1 apiregistration?",
    "answer": "A P I S e r v i c e   [ a p i r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28794"
  },
  {
    "question": "What is APIServiceStatus v1 apiregistration?",
    "answer": "A P I S e r v i c e   [ a p i r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28795"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a n   A P I S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28796"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28797"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   A P I S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28798"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28799"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   A P I S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28800"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28801"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a n   A P I S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28802"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28803"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   A P I S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28804"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28805"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   A P I S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28806"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28807"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   A P I S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28808"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28809"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   A P I S e r v i c e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28810"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / w a t c h / a p i s e r v i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28811"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   A P I S e r v i c e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28812"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / w a t c h / a p i s e r v i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28813"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   A P I S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28814"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28815"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   A P I S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28816"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28817"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   A P I S e r v i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28818"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a p i r e g i s t r a t i o n . k 8 s . i o / v 1 / a p i s e r v i c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28819"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28820"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28821"
  },
  {
    "question": "What is CertificateSigningRequest v1 certificates.k8s.io?",
    "answer": "C e r t i f i c a t e S i g n i n g R e q u e s t L i s t   [ c e r t i f i c a t e s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28822"
  },
  {
    "question": "What is CertificateSigningRequestSpec v1 certificates?",
    "answer": "C e r t i f i c a t e S i g n i n g R e q u e s t   [ c e r t i f i c a t e s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28823"
  },
  {
    "question": "What is CertificateSigningRequestStatus v1 certificates?",
    "answer": "C e r t i f i c a t e S i g n i n g R e q u e s t   [ c e r t i f i c a t e s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28824"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   C e r t i f i c a t e S i g n i n g R e q u e s t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28825"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28826"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   C e r t i f i c a t e S i g n i n g R e q u e s t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28827"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28828"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   C e r t i f i c a t e S i g n i n g R e q u e s t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28829"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28830"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   C e r t i f i c a t e S i g n i n g R e q u e s t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28831"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28832"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   C e r t i f i c a t e S i g n i n g R e q u e s t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28833"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28834"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   C e r t i f i c a t e S i g n i n g R e q u e s t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28835"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28836"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   C e r t i f i c a t e S i g n i n g R e q u e s t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28837"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28838"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   C e r t i f i c a t e S i g n i n g R e q u e s t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28839"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / w a t c h / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28840"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   C e r t i f i c a t e S i g n i n g R e q u e s t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28841"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / w a t c h / c e r t i f i c a t e s i g n i n g r e q u e s t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28842"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   C e r t i f i c a t e S i g n i n g R e q u e s t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28843"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28844"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   C e r t i f i c a t e S i g n i n g R e q u e s t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28845"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28846"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   C e r t i f i c a t e S i g n i n g R e q u e s t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28847"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 / c e r t i f i c a t e s i g n i n g r e q u e s t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28848"
  },
  {
    "question": "What is ClusterRole v1 rbac.authorization.k8s.io?",
    "answer": "C l u s t e r R o l e L i s t   [ r b a c / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28849"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   C l u s t e r R o l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28850"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28851"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   C l u s t e r R o l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28852"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28853"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   C l u s t e r R o l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28854"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28855"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   C l u s t e r R o l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28856"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28857"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   C l u s t e r R o l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28858"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28859"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   C l u s t e r R o l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28860"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28861"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   C l u s t e r R o l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28862"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28863"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   C l u s t e r R o l e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28864"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / w a t c h / c l u s t e r r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28865"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   C l u s t e r R o l e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28866"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / w a t c h / c l u s t e r r o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28867"
  },
  {
    "question": "What is ClusterRoleBinding v1 rbac.authorization.k8s.io?",
    "answer": "C l u s t e r R o l e B i n d i n g L i s t   [ r b a c / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28868"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   C l u s t e r R o l e B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28869"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28870"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   C l u s t e r R o l e B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28871"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28872"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   C l u s t e r R o l e B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28873"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28874"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   C l u s t e r R o l e B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28875"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28876"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   C l u s t e r R o l e B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28877"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28878"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   C l u s t e r R o l e B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28879"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28880"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   C l u s t e r R o l e B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28881"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / c l u s t e r r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28882"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   C l u s t e r R o l e B i n d i n g .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28883"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / w a t c h / c l u s t e r r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28884"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   C l u s t e r R o l e B i n d i n g .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28885"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / w a t c h / c l u s t e r r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28886"
  },
  {
    "question": "What is ComponentStatus v1 core?",
    "answer": "C o m p o n e n t S t a t u s L i s t   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28887"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   C o m p o n e n t S t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28888"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / c o m p o n e n t s t a t u s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28889"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o b j e c t s   o f   k i n d   C o m p o n e n t S t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28890"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / c o m p o n e n t s t a t u s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28891"
  },
  {
    "question": "What is FlowSchema v1 flowcontrol.apiserver.k8s.io?",
    "answer": "F l o w S c h e m a L i s t   [ f l o w c o n t r o l / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28892"
  },
  {
    "question": "What is FlowSchemaSpec v1 flowcontrol?",
    "answer": "F l o w S c h e m a   [ f l o w c o n t r o l / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28893"
  },
  {
    "question": "What is FlowSchemaStatus v1 flowcontrol?",
    "answer": "F l o w S c h e m a   [ f l o w c o n t r o l / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28894"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   F l o w S c h e m a",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28895"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28896"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   F l o w S c h e m a",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28897"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28898"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   F l o w S c h e m a",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28899"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28900"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   F l o w S c h e m a",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28901"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28902"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   F l o w S c h e m a",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28903"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28904"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   F l o w S c h e m a",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28905"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28906"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   F l o w S c h e m a",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28907"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28908"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   F l o w S c h e m a .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28909"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / w a t c h / f l o w s c h e m a s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28910"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   F l o w S c h e m a .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28911"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / w a t c h / f l o w s c h e m a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28912"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   F l o w S c h e m a",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28913"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28914"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   F l o w S c h e m a",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28915"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28916"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   F l o w S c h e m a",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28917"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / f l o w s c h e m a s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28918"
  },
  {
    "question": "What is IPAddress v1 networking.k8s.io?",
    "answer": "I P A d d r e s s L i s t   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28919"
  },
  {
    "question": "What is IPAddressSpec v1 networking?",
    "answer": "I P A d d r e s s   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28920"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a n   I P A d d r e s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28921"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28922"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   I P A d d r e s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28923"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28924"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   I P A d d r e s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28925"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28926"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a n   I P A d d r e s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28927"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28928"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   I P A d d r e s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28929"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28930"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   I P A d d r e s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28931"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28932"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   I P A d d r e s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28933"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / i p a d d r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28934"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   I P A d d r e s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28935"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / w a t c h / i p a d d r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28936"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   I P A d d r e s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28937"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / w a t c h / i p a d d r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28938"
  },
  {
    "question": "What is Lease v1 coordination.k8s.io?",
    "answer": "L e a s e L i s t   [ c o o r d i n a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28939"
  },
  {
    "question": "What is LeaseSpec v1 coordination?",
    "answer": "L e a s e   [ c o o r d i n a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28940"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   L e a s e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28941"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28942"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   L e a s e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28943"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28944"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   L e a s e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28945"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28946"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   L e a s e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28947"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28948"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   L e a s e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28949"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28950"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   L e a s e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28951"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28952"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   L e a s e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28953"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28954"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   L e a s e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28955"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / l e a s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28956"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   L e a s e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28957"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28958"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   L e a s e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28959"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / l e a s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28960"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   L e a s e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28961"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 / w a t c h / l e a s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28962"
  },
  {
    "question": "What is LeaseCandidate v1beta1 coordination.k8s.io?",
    "answer": "L e a s e C a n d i d a t e L i s t   [ c o o r d i n a t i o n / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28963"
  },
  {
    "question": "What is LeaseCandidateSpec v1beta1 coordination?",
    "answer": "L e a s e C a n d i d a t e   [ c o o r d i n a t i o n / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28964"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   L e a s e C a n d i d a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28965"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28966"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   L e a s e C a n d i d a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28967"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28968"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   L e a s e C a n d i d a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28969"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28970"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   L e a s e C a n d i d a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28971"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28972"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   L e a s e C a n d i d a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28973"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28974"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   L e a s e C a n d i d a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28975"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28976"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   L e a s e C a n d i d a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28977"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28978"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   L e a s e C a n d i d a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28979"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / l e a s e c a n d i d a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28980"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   L e a s e C a n d i d a t e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28981"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28982"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   L e a s e C a n d i d a t e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28983"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28984"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   L e a s e C a n d i d a t e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28985"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 b e t a 1 / w a t c h / l e a s e c a n d i d a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28986"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   L o c a l S u b j e c t A c c e s s R e v i e w",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28987"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / l o c a l s u b j e c t a c c e s s r e v i e w s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28988"
  },
  {
    "question": "What is Namespace v1 core?",
    "answer": "N a m e s p a c e L i s t   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_28989"
  },
  {
    "question": "What is NamespaceSpec v1 core?",
    "answer": "N a m e s p a c e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28990"
  },
  {
    "question": "What is NamespaceStatus v1 core?",
    "answer": "N a m e s p a c e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28991"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   N a m e s p a c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28992"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28993"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   N a m e s p a c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28994"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28995"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   N a m e s p a c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28996"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28997"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   N a m e s p a c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_28998"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_28999"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   N a m e s p a c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29000"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29001"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   N a m e s p a c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29002"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29003"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   N a m e s p a c e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29004"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n a m e s p a c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29005"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   N a m e s p a c e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29006"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n a m e s p a c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29007"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   N a m e s p a c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29008"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29009"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   N a m e s p a c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29010"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29011"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   N a m e s p a c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29012"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29013"
  },
  {
    "question": "What is Node v1 core?",
    "answer": "N o d e L i s t   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29014"
  },
  {
    "question": "What is NodeSpec v1 core?",
    "answer": "N o d e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29015"
  },
  {
    "question": "What is NodeStatus v1 core?",
    "answer": "N o d e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29016"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29017"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n o d e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29018"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29019"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29020"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29021"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29022"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29023"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29024"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29025"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n o d e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29026"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29027"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29028"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29029"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n o d e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29030"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   N o d e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29031"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n o d e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29032"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   N o d e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29033"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n o d e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29034"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29035"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n o d e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29036"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29037"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n o d e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29038"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29039"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n o d e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29040"
  },
  {
    "question": "What is Create Connect Proxy?",
    "answer": "c o n n e c t   P O S T   r e q u e s t s   t o   p r o x y   o f   N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29041"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n o d e s / { n a m e } / p r o x y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29042"
  },
  {
    "question": "What is Create Connect Proxy Path?",
    "answer": "c o n n e c t   P O S T   r e q u e s t s   t o   p r o x y   o f   N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29043"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n o d e s / { n a m e } / p r o x y / { p a t h }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29044"
  },
  {
    "question": "What is Delete Connect Proxy?",
    "answer": "c o n n e c t   D E L E T E   r e q u e s t s   t o   p r o x y   o f   N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29045"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n o d e s / { n a m e } / p r o x y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29046"
  },
  {
    "question": "What is Delete Connect Proxy Path?",
    "answer": "c o n n e c t   D E L E T E   r e q u e s t s   t o   p r o x y   o f   N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29047"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n o d e s / { n a m e } / p r o x y / { p a t h }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29048"
  },
  {
    "question": "What is Get Connect Proxy?",
    "answer": "c o n n e c t   G E T   r e q u e s t s   t o   p r o x y   o f   N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29049"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n o d e s / { n a m e } / p r o x y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29050"
  },
  {
    "question": "What is Get Connect Proxy Path?",
    "answer": "c o n n e c t   G E T   r e q u e s t s   t o   p r o x y   o f   N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29051"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n o d e s / { n a m e } / p r o x y / { p a t h }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29052"
  },
  {
    "question": "What is Head Connect Proxy?",
    "answer": "c o n n e c t   H E A D   r e q u e s t s   t o   p r o x y   o f   N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29053"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "H E A D   / a p i / v 1 / n o d e s / { n a m e } / p r o x y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29054"
  },
  {
    "question": "What is Head Connect Proxy Path?",
    "answer": "c o n n e c t   H E A D   r e q u e s t s   t o   p r o x y   o f   N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29055"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "H E A D   / a p i / v 1 / n o d e s / { n a m e } / p r o x y / { p a t h }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29056"
  },
  {
    "question": "What is Replace Connect Proxy?",
    "answer": "c o n n e c t   P U T   r e q u e s t s   t o   p r o x y   o f   N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29057"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n o d e s / { n a m e } / p r o x y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29058"
  },
  {
    "question": "What is Replace Connect Proxy Path?",
    "answer": "c o n n e c t   P U T   r e q u e s t s   t o   p r o x y   o f   N o d e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29059"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n o d e s / { n a m e } / p r o x y / { p a t h }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29060"
  },
  {
    "question": "What is PersistentVolume v1 core?",
    "answer": "P e r s i s t e n t V o l u m e L i s t   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29061"
  },
  {
    "question": "What is PersistentVolumeSpec v1 core?",
    "answer": "P e r s i s t e n t V o l u m e   [ c o r e / v 1 ]   V o l u m e A t t a c h m e n t S o u r c e   [ s t o r a g e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29062"
  },
  {
    "question": "What is PersistentVolumeStatus v1 core?",
    "answer": "P e r s i s t e n t V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29063"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   P e r s i s t e n t V o l u m e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29064"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / p e r s i s t e n t v o l u m e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29065"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   P e r s i s t e n t V o l u m e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29066"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29067"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   P e r s i s t e n t V o l u m e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29068"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29069"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   P e r s i s t e n t V o l u m e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29070"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29071"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   P e r s i s t e n t V o l u m e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29072"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / p e r s i s t e n t v o l u m e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29073"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   P e r s i s t e n t V o l u m e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29074"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29075"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   P e r s i s t e n t V o l u m e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29076"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / p e r s i s t e n t v o l u m e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29077"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   P e r s i s t e n t V o l u m e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29078"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / p e r s i s t e n t v o l u m e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29079"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   P e r s i s t e n t V o l u m e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29080"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / p e r s i s t e n t v o l u m e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29081"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   P e r s i s t e n t V o l u m e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29082"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29083"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   P e r s i s t e n t V o l u m e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29084"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29085"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   P e r s i s t e n t V o l u m e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29086"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / p e r s i s t e n t v o l u m e s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29087"
  },
  {
    "question": "What is PodCertificateRequest v1alpha1 certificates.k8s.io?",
    "answer": "P o d C e r t i f i c a t e R e q u e s t L i s t   [ c e r t i f i c a t e s / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29088"
  },
  {
    "question": "What is PodCertificateRequestSpec v1alpha1 certificates?",
    "answer": "P o d C e r t i f i c a t e R e q u e s t   [ c e r t i f i c a t e s / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29089"
  },
  {
    "question": "What is PodCertificateRequestStatus v1alpha1 certificates?",
    "answer": "P o d C e r t i f i c a t e R e q u e s t   [ c e r t i f i c a t e s / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29090"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   P o d C e r t i f i c a t e R e q u e s t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29091"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29092"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   P o d C e r t i f i c a t e R e q u e s t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29093"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29094"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   P o d C e r t i f i c a t e R e q u e s t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29095"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29096"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   P o d C e r t i f i c a t e R e q u e s t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29097"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29098"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   P o d C e r t i f i c a t e R e q u e s t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29099"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29100"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   P o d C e r t i f i c a t e R e q u e s t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29101"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29102"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   P o d C e r t i f i c a t e R e q u e s t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29103"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29104"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   P o d C e r t i f i c a t e R e q u e s t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29105"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / p o d c e r t i f i c a t e r e q u e s t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29106"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   P o d C e r t i f i c a t e R e q u e s t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29107"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29108"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   P o d C e r t i f i c a t e R e q u e s t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29109"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29110"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   P o d C e r t i f i c a t e R e q u e s t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29111"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / w a t c h / p o d c e r t i f i c a t e r e q u e s t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29112"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   P o d C e r t i f i c a t e R e q u e s t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29113"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29114"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   P o d C e r t i f i c a t e R e q u e s t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29115"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29116"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   P o d C e r t i f i c a t e R e q u e s t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29117"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / n a m e s p a c e s / { n a m e s p a c e } / p o d c e r t i f i c a t e r e q u e s t s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29118"
  },
  {
    "question": "What is PriorityLevelConfiguration v1 flowcontrol.apiserver.k8s.io?",
    "answer": "P r i o r i t y L e v e l C o n f i g u r a t i o n L i s t   [ f l o w c o n t r o l / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29119"
  },
  {
    "question": "What is PriorityLevelConfigurationSpec v1 flowcontrol?",
    "answer": "P r i o r i t y L e v e l C o n f i g u r a t i o n   [ f l o w c o n t r o l / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29120"
  },
  {
    "question": "What is PriorityLevelConfigurationStatus v1 flowcontrol?",
    "answer": "P r i o r i t y L e v e l C o n f i g u r a t i o n   [ f l o w c o n t r o l / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29121"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   P r i o r i t y L e v e l C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29122"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29123"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   P r i o r i t y L e v e l C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29124"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29125"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   P r i o r i t y L e v e l C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29126"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29127"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   P r i o r i t y L e v e l C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29128"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29129"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   P r i o r i t y L e v e l C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29130"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29131"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   P r i o r i t y L e v e l C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29132"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29133"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   P r i o r i t y L e v e l C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29134"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29135"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   P r i o r i t y L e v e l C o n f i g u r a t i o n .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29136"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / w a t c h / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29137"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   P r i o r i t y L e v e l C o n f i g u r a t i o n .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29138"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / w a t c h / p r i o r i t y l e v e l c o n f i g u r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29139"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   P r i o r i t y L e v e l C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29140"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29141"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   P r i o r i t y L e v e l C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29142"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29143"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   P r i o r i t y L e v e l C o n f i g u r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29144"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / f l o w c o n t r o l . a p i s e r v e r . k 8 s . i o / v 1 / p r i o r i t y l e v e l c o n f i g u r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29145"
  },
  {
    "question": "What is ResourceQuota v1 core?",
    "answer": "R e s o u r c e Q u o t a L i s t   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29146"
  },
  {
    "question": "What is ResourceQuotaSpec v1 core?",
    "answer": "R e s o u r c e Q u o t a   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29147"
  },
  {
    "question": "What is ResourceQuotaStatus v1 core?",
    "answer": "R e s o u r c e Q u o t a   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29148"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   R e s o u r c e Q u o t a",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29149"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29150"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   R e s o u r c e Q u o t a",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29151"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29152"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   R e s o u r c e Q u o t a",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29153"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29154"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   R e s o u r c e Q u o t a",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29155"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29156"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   R e s o u r c e Q u o t a",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29157"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29158"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   R e s o u r c e Q u o t a",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29159"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29160"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R e s o u r c e Q u o t a",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29161"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29162"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R e s o u r c e Q u o t a",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29163"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / r e s o u r c e q u o t a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29164"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   R e s o u r c e Q u o t a .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29165"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29166"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R e s o u r c e Q u o t a .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29167"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29168"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R e s o u r c e Q u o t a .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29169"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / r e s o u r c e q u o t a s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29170"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   R e s o u r c e Q u o t a",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29171"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29172"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   R e s o u r c e Q u o t a",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29173"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29174"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   R e s o u r c e Q u o t a",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29175"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e q u o t a s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29176"
  },
  {
    "question": "What is Role v1 rbac.authorization.k8s.io?",
    "answer": "R o l e L i s t   [ r b a c / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29177"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   R o l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29178"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29179"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   R o l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29180"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29181"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   R o l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29182"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29183"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   R o l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29184"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29185"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   R o l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29186"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29187"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   R o l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29188"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29189"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R o l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29190"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29191"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R o l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29192"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / r o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29193"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   R o l e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29194"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / r o l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29195"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R o l e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29196"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / r o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29197"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R o l e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29198"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / w a t c h / r o l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29199"
  },
  {
    "question": "What is RoleBinding v1 rbac.authorization.k8s.io?",
    "answer": "R o l e B i n d i n g L i s t   [ r b a c / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29200"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   R o l e B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29201"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29202"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   R o l e B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29203"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29204"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   R o l e B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29205"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29206"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   R o l e B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29207"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29208"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   R o l e B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29209"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29210"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   R o l e B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29211"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29212"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R o l e B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29213"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29214"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R o l e B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29215"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29216"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   R o l e B i n d i n g .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29217"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29218"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R o l e B i n d i n g .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29219"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29220"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R o l e B i n d i n g .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29221"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r b a c . a u t h o r i z a t i o n . k 8 s . i o / v 1 / w a t c h / r o l e b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29222"
  },
  {
    "question": "What is RuntimeClass v1 node.k8s.io?",
    "answer": "R u n t i m e C l a s s L i s t   [ n o d e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29223"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   R u n t i m e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29224"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29225"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   R u n t i m e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29226"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29227"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   R u n t i m e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29228"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29229"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   R u n t i m e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29230"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29231"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   R u n t i m e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29232"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29233"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   R u n t i m e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29234"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29235"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R u n t i m e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29236"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n o d e . k 8 s . i o / v 1 / r u n t i m e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29237"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   R u n t i m e C l a s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29238"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n o d e . k 8 s . i o / v 1 / w a t c h / r u n t i m e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29239"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R u n t i m e C l a s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29240"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n o d e . k 8 s . i o / v 1 / w a t c h / r u n t i m e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29241"
  },
  {
    "question": "What is SelfSubjectAccessReviewSpec v1 authorization?",
    "answer": "S e l f S u b j e c t A c c e s s R e v i e w   [ a u t h o r i z a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29242"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   S e l f S u b j e c t A c c e s s R e v i e w",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29243"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t h o r i z a t i o n . k 8 s . i o / v 1 / s e l f s u b j e c t a c c e s s r e v i e w s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29244"
  },
  {
    "question": "What is SelfSubjectReviewStatus v1 authentication?",
    "answer": "S e l f S u b j e c t R e v i e w   [ a u t h e n t i c a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29245"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   S e l f S u b j e c t R e v i e w",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29246"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t h e n t i c a t i o n . k 8 s . i o / v 1 / s e l f s u b j e c t r e v i e w s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29247"
  },
  {
    "question": "What is SelfSubjectRulesReviewSpec v1 authorization?",
    "answer": "S e l f S u b j e c t R u l e s R e v i e w   [ a u t h o r i z a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29248"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   S e l f S u b j e c t R u l e s R e v i e w",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29249"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t h o r i z a t i o n . k 8 s . i o / v 1 / s e l f s u b j e c t r u l e s r e v i e w s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29250"
  },
  {
    "question": "What is ServiceAccount v1 core?",
    "answer": "S e r v i c e A c c o u n t L i s t   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29251"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   S e r v i c e A c c o u n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29252"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29253"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   S e r v i c e A c c o u n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29254"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29255"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   S e r v i c e A c c o u n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29256"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29257"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   S e r v i c e A c c o u n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29258"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29259"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   S e r v i c e A c c o u n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29260"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29261"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   S e r v i c e A c c o u n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29262"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29263"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   S e r v i c e A c c o u n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29264"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29265"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   S e r v i c e A c c o u n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29266"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / s e r v i c e a c c o u n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29267"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   S e r v i c e A c c o u n t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29268"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29269"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   S e r v i c e A c c o u n t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29270"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / s e r v i c e a c c o u n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29271"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   S e r v i c e A c c o u n t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29272"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / s e r v i c e a c c o u n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29273"
  },
  {
    "question": "What is ServiceCIDR v1 networking.k8s.io?",
    "answer": "S e r v i c e C I D R L i s t   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29274"
  },
  {
    "question": "What is ServiceCIDRSpec v1 networking?",
    "answer": "S e r v i c e C I D R   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29275"
  },
  {
    "question": "What is ServiceCIDRStatus v1 networking?",
    "answer": "S e r v i c e C I D R   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29276"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   S e r v i c e C I D R",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29277"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29278"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   S e r v i c e C I D R",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29279"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29280"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   S e r v i c e C I D R",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29281"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29282"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   S e r v i c e C I D R",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29283"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29284"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   S e r v i c e C I D R",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29285"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29286"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   S e r v i c e C I D R",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29287"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29288"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   S e r v i c e C I D R",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29289"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29290"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   S e r v i c e C I D R .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29291"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / w a t c h / s e r v i c e c i d r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29292"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   S e r v i c e C I D R .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29293"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / w a t c h / s e r v i c e c i d r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29294"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   S e r v i c e C I D R",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29295"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29296"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   S e r v i c e C I D R",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29297"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29298"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   S e r v i c e C I D R",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29299"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / s e r v i c e c i d r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29300"
  },
  {
    "question": "What is StorageVersion v1alpha1 internal.apiserver.k8s.io?",
    "answer": "S t o r a g e V e r s i o n L i s t   [ a p i s e r v e r i n t e r n a l / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29301"
  },
  {
    "question": "What is StorageVersionSpec v1alpha1 apiserverinternal?",
    "answer": "S t o r a g e V e r s i o n   [ a p i s e r v e r i n t e r n a l / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29302"
  },
  {
    "question": "What is StorageVersionStatus v1alpha1 apiserverinternal?",
    "answer": "S t o r a g e V e r s i o n   [ a p i s e r v e r i n t e r n a l / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29303"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   S t o r a g e V e r s i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29304"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / i n t e r n a l . a p i s e r v e r . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29305"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   S t o r a g e V e r s i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29306"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / i n t e r n a l . a p i s e r v e r . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29307"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   S t o r a g e V e r s i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29308"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / i n t e r n a l . a p i s e r v e r . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29309"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   S t o r a g e V e r s i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29310"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / i n t e r n a l . a p i s e r v e r . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29311"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   S t o r a g e V e r s i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29312"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / i n t e r n a l . a p i s e r v e r . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29313"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   S t o r a g e V e r s i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29314"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / i n t e r n a l . a p i s e r v e r . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29315"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   S t o r a g e V e r s i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29316"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / i n t e r n a l . a p i s e r v e r . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29317"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   S t o r a g e V e r s i o n .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29318"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / i n t e r n a l . a p i s e r v e r . k 8 s . i o / v 1 a l p h a 1 / w a t c h / s t o r a g e v e r s i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29319"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   S t o r a g e V e r s i o n .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29320"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / i n t e r n a l . a p i s e r v e r . k 8 s . i o / v 1 a l p h a 1 / w a t c h / s t o r a g e v e r s i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29321"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   S t o r a g e V e r s i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29322"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / i n t e r n a l . a p i s e r v e r . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29323"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   S t o r a g e V e r s i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29324"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / i n t e r n a l . a p i s e r v e r . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29325"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   S t o r a g e V e r s i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29326"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / i n t e r n a l . a p i s e r v e r . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29327"
  },
  {
    "question": "What is StorageVersionMigration v1alpha1 storagemigration.k8s.io?",
    "answer": "S t o r a g e V e r s i o n M i g r a t i o n L i s t   [ s t o r a g e m i g r a t i o n / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29328"
  },
  {
    "question": "What is StorageVersionMigrationSpec v1alpha1 storagemigration?",
    "answer": "S t o r a g e V e r s i o n M i g r a t i o n   [ s t o r a g e m i g r a t i o n / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29329"
  },
  {
    "question": "What is StorageVersionMigrationStatus v1alpha1 storagemigration?",
    "answer": "S t o r a g e V e r s i o n M i g r a t i o n   [ s t o r a g e m i g r a t i o n / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29330"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   S t o r a g e V e r s i o n M i g r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29331"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29332"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   S t o r a g e V e r s i o n M i g r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29333"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29334"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   S t o r a g e V e r s i o n M i g r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29335"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29336"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   S t o r a g e V e r s i o n M i g r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29337"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29338"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   S t o r a g e V e r s i o n M i g r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29339"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29340"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   S t o r a g e V e r s i o n M i g r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29341"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29342"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   S t o r a g e V e r s i o n M i g r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29343"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29344"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   S t o r a g e V e r s i o n M i g r a t i o n .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29345"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / w a t c h / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29346"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   S t o r a g e V e r s i o n M i g r a t i o n .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29347"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / w a t c h / s t o r a g e v e r s i o n m i g r a t i o n s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29348"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   S t o r a g e V e r s i o n M i g r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29349"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29350"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   S t o r a g e V e r s i o n M i g r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29351"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29352"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   S t o r a g e V e r s i o n M i g r a t i o n",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29353"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e m i g r a t i o n . k 8 s . i o / v 1 a l p h a 1 / s t o r a g e v e r s i o n m i g r a t i o n s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29354"
  },
  {
    "question": "What is SubjectAccessReviewSpec v1 authorization?",
    "answer": "L o c a l S u b j e c t A c c e s s R e v i e w   [ a u t h o r i z a t i o n / v 1 ]   S u b j e c t A c c e s s R e v i e w   [ a u t h o r i z a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29355"
  },
  {
    "question": "What is SubjectAccessReviewStatus v1 authorization?",
    "answer": "L o c a l S u b j e c t A c c e s s R e v i e w   [ a u t h o r i z a t i o n / v 1 ]   S e l f S u b j e c t A c c e s s R e v i e w   [ a u t h o r i z a t i o n / v 1 ]   S u b j e c t A c c e s s R e v i e w   [ a u t h o r i z a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29356"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   S u b j e c t A c c e s s R e v i e w",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29357"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t h o r i z a t i o n . k 8 s . i o / v 1 / s u b j e c t a c c e s s r e v i e w s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29358"
  },
  {
    "question": "What is TokenRequestSpec v1 authentication?",
    "answer": "T o k e n R e q u e s t   [ a u t h e n t i c a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29359"
  },
  {
    "question": "What is TokenRequestStatus v1 authentication?",
    "answer": "T o k e n R e q u e s t   [ a u t h e n t i c a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29360"
  },
  {
    "question": "What is TokenReviewSpec v1 authentication?",
    "answer": "T o k e n R e v i e w   [ a u t h e n t i c a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29361"
  },
  {
    "question": "What is TokenReviewStatus v1 authentication?",
    "answer": "T o k e n R e v i e w   [ a u t h e n t i c a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29362"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   T o k e n R e v i e w",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29363"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t h e n t i c a t i o n . k 8 s . i o / v 1 / t o k e n r e v i e w s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29364"
  },
  {
    "question": "What is NetworkPolicy v1 networking.k8s.io?",
    "answer": "N e t w o r k P o l i c y L i s t   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29365"
  },
  {
    "question": "What is NetworkPolicySpec v1 networking?",
    "answer": "N e t w o r k P o l i c y   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29366"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   N e t w o r k P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29367"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29368"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   N e t w o r k P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29369"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29370"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   N e t w o r k P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29371"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29372"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   N e t w o r k P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29373"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29374"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   N e t w o r k P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29375"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29376"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   N e t w o r k P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29377"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29378"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   N e t w o r k P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29379"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29380"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   N e t w o r k P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29381"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / n e t w o r k p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29382"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   N e t w o r k P o l i c y .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29383"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29384"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   N e t w o r k P o l i c y .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29385"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / n e t w o r k p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29386"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   N e t w o r k P o l i c y .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29387"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 / w a t c h / n e t w o r k p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29388"
  },
  {
    "question": "What is MutatingAdmissionPolicy v1beta1 admissionregistration.k8s.io?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y L i s t   [ a d m i s s i o n r e g i s t r a t i o n / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29389"
  },
  {
    "question": "What is MutatingAdmissionPolicySpec v1beta1 admissionregistration?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y   [ a d m i s s i o n r e g i s t r a t i o n / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29390"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   M u t a t i n g A d m i s s i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29391"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29392"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   M u t a t i n g A d m i s s i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29393"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29394"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   M u t a t i n g A d m i s s i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29395"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29396"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   M u t a t i n g A d m i s s i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29397"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29398"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   M u t a t i n g A d m i s s i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29399"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29400"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   M u t a t i n g A d m i s s i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29401"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29402"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   M u t a t i n g A d m i s s i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29403"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29404"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   M u t a t i n g A d m i s s i o n P o l i c y .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29405"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / w a t c h / m u t a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29406"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   M u t a t i n g A d m i s s i o n P o l i c y .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29407"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / w a t c h / m u t a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29408"
  },
  {
    "question": "What is MutatingAdmissionPolicyBinding v1beta1 admissionregistration.k8s.io?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g L i s t   [ a d m i s s i o n r e g i s t r a t i o n / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29409"
  },
  {
    "question": "What is MutatingAdmissionPolicyBindingSpec v1beta1 admissionregistration?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   [ a d m i s s i o n r e g i s t r a t i o n / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29410"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29411"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29412"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29413"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29414"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29415"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29416"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29417"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29418"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29419"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29420"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29421"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29422"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29423"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29424"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29425"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / w a t c h / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29426"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29427"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 b e t a 1 / w a t c h / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29428"
  },
  {
    "question": "What is Definitions?",
    "answer": "T h i s   s e c t i o n   c o n t a i n s   d e f i n i t i o n s   f o r   o b j e c t s   u s e d   i n   t h e   K u b e r n e t e s   A P I s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29429"
  },
  {
    "question": "What is APIGroup v1 meta?",
    "answer": "A P I G r o u p   c o n t a i n s   t h e   n a m e ,   t h e   s u p p o r t e d   v e r s i o n s ,   a n d   t h e   p r e f e r r e d   v e r s i o n   o f   a   g r o u p .   A P I G r o u p L i s t   [ m e t a / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29430"
  },
  {
    "question": "What is APIResource v1 meta?",
    "answer": "A P I R e s o u r c e   s p e c i f i e s   t h e   n a m e   o f   a   r e s o u r c e   a n d   w h e t h e r   i t   i s   n a m e s p a c e d .   A P I R e s o u r c e L i s t   [ m e t a / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29431"
  },
  {
    "question": "What is APIServiceCondition v1 apiregistration.k8s.io?",
    "answer": "A P I S e r v i c e C o n d i t i o n   d e s c r i b e s   t h e   s t a t e   o f   a n   A P I S e r v i c e   a t   a   p a r t i c u l a r   p o i n t   A P I S e r v i c e S t a t u s   [ a p i r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29432"
  },
  {
    "question": "What is APIVersions v1 meta?",
    "answer": "A P I V e r s i o n s   l i s t s   t h e   v e r s i o n s   t h a t   a r e   a v a i l a b l e ,   t o   a l l o w   c l i e n t s   t o   d i s c o v e r   t h e   A P I   a t   / a p i ,   w h i c h   i s   t h e   r o o t   p a t h   o f   t h e   l e g a c y   v 1   A P I .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29433"
  },
  {
    "question": "What is AWSElasticBlockStoreVolumeSource v1 core?",
    "answer": "R e p r e s e n t s   a   P e r s i s t e n t   D i s k   r e s o u r c e   i n   A W S .   A n   A W S   E B S   d i s k   m u s t   e x i s t   b e f o r e   m o u n t i n g   t o   a   c o n t a i n e r .   T h e   d i s k   m u s t   a l s o   b e   i n   t h e   s a m e   A W S   z o n e   a s   t h e   k u b e l e t .   A n   A W S   E B S   d i s k   c a n   o n l y   b e   m o u n t e d   a s   r e a d / w r i t e   o n c e .   A W S   E B S   v o l u m e s   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a n d   S E L i n u x   r e l a b e l i n g .   P e r s i s t e n t V o l u m e S p e c   [ c o r e / v 1 ]   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29434"
  },
  {
    "question": "What is Affinity v1 core?",
    "answer": "A f f i n i t y   i s   a   g r o u p   o f   a f f i n i t y   s c h e d u l i n g   r u l e s .   P o d S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29435"
  },
  {
    "question": "What is AggregationRule v1 rbac.authorization.k8s.io?",
    "answer": "A g g r e g a t i o n R u l e   d e s c r i b e s   h o w   t o   l o c a t e   C l u s t e r R o l e s   t o   a g g r e g a t e   i n t o   t h e   C l u s t e r R o l e   C l u s t e r R o l e   [ r b a c / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29436"
  },
  {
    "question": "What is AllocatedDeviceStatus v1 resource.k8s.io?",
    "answer": "A l l o c a t e d D e v i c e S t a t u s   c o n t a i n s   t h e   s t a t u s   o f   a n   a l l o c a t e d   d e v i c e ,   i f   t h e   d r i v e r   c h o o s e s   t o   r e p o r t   i t .   T h i s   m a y   i n c l u d e   d r i v e r - s p e c i f i c   i n f o r m a t i o n .   T h e   c o m b i n a t i o n   o f   D r i v e r ,   P o o l ,   D e v i c e ,   a n d   S h a r e I D   m u s t   m a t c h   t h e   c o r r e s p o n d i n g   k e y   i n   S t a t u s . A l l o c a t i o n . D e v i c e s .   R e s o u r c e C l a i m S t a t u s   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29437"
  },
  {
    "question": "What is AllocationResult v1 resource.k8s.io?",
    "answer": "A l l o c a t i o n R e s u l t   c o n t a i n s   a t t r i b u t e s   o f   a n   a l l o c a t e d   r e s o u r c e .   R e s o u r c e C l a i m S t a t u s   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29438"
  },
  {
    "question": "What is AppArmorProfile v1 core?",
    "answer": "A p p A r m o r P r o f i l e   d e f i n e s   a   p o d   o r   c o n t a i n e r ' s   A p p A r m o r   s e t t i n g s .   P o d S e c u r i t y C o n t e x t   [ c o r e / v 1 ]   S e c u r i t y C o n t e x t   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29439"
  },
  {
    "question": "What is ApplyConfiguration v1beta1 admissionregistration.k8s.io?",
    "answer": "A p p l y C o n f i g u r a t i o n   d e f i n e s   t h e   d e s i r e d   c o n f i g u r a t i o n   v a l u e s   o f   a n   o b j e c t .   M u t a t i o n   [ a d m i s s i o n r e g i s t r a t i o n / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29440"
  },
  {
    "question": "What is AttachedVolume v1 core?",
    "answer": "A t t a c h e d V o l u m e   d e s c r i b e s   a   v o l u m e   a t t a c h e d   t o   a   n o d e   N o d e S t a t u s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29441"
  },
  {
    "question": "What is AuditAnnotation v1 admissionregistration.k8s.io?",
    "answer": "A u d i t A n n o t a t i o n   d e s c r i b e s   h o w   t o   p r o d u c e   a n   a u d i t   a n n o t a t i o n   f o r   a n   A P I   r e q u e s t .   V a l i d a t i n g A d m i s s i o n P o l i c y S p e c   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29442"
  },
  {
    "question": "What is AzureDiskVolumeSource v1 core?",
    "answer": "A z u r e D i s k   r e p r e s e n t s   a n   A z u r e   D a t a   D i s k   m o u n t   o n   t h e   h o s t   a n d   b i n d   m o u n t   t o   t h e   p o d .   P e r s i s t e n t V o l u m e S p e c   [ c o r e / v 1 ]   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29443"
  },
  {
    "question": "What is AzureFilePersistentVolumeSource v1 core?",
    "answer": "A z u r e F i l e   r e p r e s e n t s   a n   A z u r e   F i l e   S e r v i c e   m o u n t   o n   t h e   h o s t   a n d   b i n d   m o u n t   t o   t h e   p o d .   P e r s i s t e n t V o l u m e S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29444"
  },
  {
    "question": "What is AzureFileVolumeSource v1 core?",
    "answer": "A z u r e F i l e   r e p r e s e n t s   a n   A z u r e   F i l e   S e r v i c e   m o u n t   o n   t h e   h o s t   a n d   b i n d   m o u n t   t o   t h e   p o d .   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29445"
  },
  {
    "question": "What is BasicDevice v1beta1 resource.k8s.io?",
    "answer": "B a s i c D e v i c e   d e f i n e s   o n e   d e v i c e   i n s t a n c e .   D e v i c e   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29446"
  },
  {
    "question": "What is BoundObjectReference v1 authentication.k8s.io?",
    "answer": "B o u n d O b j e c t R e f e r e n c e   i s   a   r e f e r e n c e   t o   a n   o b j e c t   t h a t   a   t o k e n   i s   b o u n d   t o .   T o k e n R e q u e s t S p e c   [ a u t h e n t i c a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29447"
  },
  {
    "question": "What is CELDeviceSelector v1 resource.k8s.io?",
    "answer": "C E L D e v i c e S e l e c t o r   c o n t a i n s   a   C E L   e x p r e s s i o n   f o r   s e l e c t i n g   a   d e v i c e .   D e v i c e S e l e c t o r   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29448"
  },
  {
    "question": "What is CSINodeDriver v1 storage.k8s.io?",
    "answer": "C S I N o d e D r i v e r   h o l d s   i n f o r m a t i o n   a b o u t   t h e   s p e c i f i c a t i o n   o f   o n e   C S I   d r i v e r   i n s t a l l e d   o n   a   n o d e   C S I N o d e S p e c   [ s t o r a g e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29449"
  },
  {
    "question": "What is CSIPersistentVolumeSource v1 core?",
    "answer": "R e p r e s e n t s   s t o r a g e   t h a t   i s   m a n a g e d   b y   a n   e x t e r n a l   C S I   v o l u m e   d r i v e r   P e r s i s t e n t V o l u m e S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29450"
  },
  {
    "question": "What is CSIVolumeSource v1 core?",
    "answer": "R e p r e s e n t s   a   s o u r c e   l o c a t i o n   o f   a   v o l u m e   t o   m o u n t ,   m a n a g e d   b y   a n   e x t e r n a l   C S I   d r i v e r   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29451"
  },
  {
    "question": "What is Capabilities v1 core?",
    "answer": "A d d s   a n d   r e m o v e s   P O S I X   c a p a b i l i t i e s   f r o m   r u n n i n g   c o n t a i n e r s .   S e c u r i t y C o n t e x t   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29452"
  },
  {
    "question": "What is CapacityRequestPolicy v1 resource.k8s.io?",
    "answer": "C a p a c i t y R e q u e s t P o l i c y   d e f i n e s   h o w   r e q u e s t s   c o n s u m e   d e v i c e   c a p a c i t y .   M u s t   n o t   s e t   m o r e   t h a n   o n e   V a l i d R e q u e s t V a l u e s .   D e v i c e C a p a c i t y   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29453"
  },
  {
    "question": "What is CapacityRequestPolicyRange v1 resource.k8s.io?",
    "answer": "C a p a c i t y R e q u e s t P o l i c y R a n g e   d e f i n e s   a   v a l i d   r a n g e   f o r   c o n s u m a b l e   c a p a c i t y   v a l u e s .   -   I f   t h e   r e q u e s t e d   a m o u n t   i s   l e s s   t h a n   M i n ,   i t   i s   r o u n d e d   u p   t o   t h e   M i n   v a l u e .   -   I f   S t e p   i s   s e t   a n d   t h e   r e q u e s t e d   a m o u n t   i s   b e t w e e n   M i n   a n d   M a x   b u t   n o t   a l i g n e d   w i t h   S t e p ,   i t   w i l l   b e   r o u n d e d   u p   t o   t h e   n e x t   v a l u e   e q u a l   t o   M i n   +   ( n   *   S t e p ) .   -   I f   S t e p   i s   n o t   s e t ,   t h e   r e q u e s t e d   a m o u n t   i s   u s e d   a s - i s   i f   i t   f a l l s   w i t h i n   t h e   r a n g e   M i n   t o   M a x   ( i f   s e t ) .   -   I f   t h e   r e q u e s t e d   o r   r o u n d e d   a m o u n t   e x c e e d s   M a x   ( i f   s e t ) ,   t h e   r e q u e s t   d o e s   n o t   s a t i s f y   t h e   p o l i c y ,   a n d   t h e   d e v i c e   c a n n o t   b e   a l l o c a t e d .   C a p a c i t y R e q u e s t P o l i c y   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29454"
  },
  {
    "question": "What is CapacityRequirements v1 resource.k8s.io?",
    "answer": "C a p a c i t y R e q u i r e m e n t s   d e f i n e s   t h e   c a p a c i t y   r e q u i r e m e n t s   f o r   a   s p e c i f i c   d e v i c e   r e q u e s t .   D e v i c e S u b R e q u e s t   [ r e s o u r c e / v 1 ]   E x a c t D e v i c e R e q u e s t   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29455"
  },
  {
    "question": "What is CephFSPersistentVolumeSource v1 core?",
    "answer": "R e p r e s e n t s   a   C e p h   F i l e s y s t e m   m o u n t   t h a t   l a s t s   t h e   l i f e t i m e   o f   a   p o d   C e p h f s   v o l u m e s   d o   n o t   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   o r   S E L i n u x   r e l a b e l i n g .   P e r s i s t e n t V o l u m e S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29456"
  },
  {
    "question": "What is CephFSVolumeSource v1 core?",
    "answer": "R e p r e s e n t s   a   C e p h   F i l e s y s t e m   m o u n t   t h a t   l a s t s   t h e   l i f e t i m e   o f   a   p o d   C e p h f s   v o l u m e s   d o   n o t   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   o r   S E L i n u x   r e l a b e l i n g .   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29457"
  },
  {
    "question": "What is CertificateSigningRequestCondition v1 certificates.k8s.io?",
    "answer": "C e r t i f i c a t e S i g n i n g R e q u e s t C o n d i t i o n   d e s c r i b e s   a   c o n d i t i o n   o f   a   C e r t i f i c a t e S i g n i n g R e q u e s t   o b j e c t   C e r t i f i c a t e S i g n i n g R e q u e s t S t a t u s   [ c e r t i f i c a t e s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29458"
  },
  {
    "question": "What is CinderPersistentVolumeSource v1 core?",
    "answer": "R e p r e s e n t s   a   c i n d e r   v o l u m e   r e s o u r c e   i n   O p e n s t a c k .   A   C i n d e r   v o l u m e   m u s t   e x i s t   b e f o r e   m o u n t i n g   t o   a   c o n t a i n e r .   T h e   v o l u m e   m u s t   a l s o   b e   i n   t h e   s a m e   r e g i o n   a s   t h e   k u b e l e t .   C i n d e r   v o l u m e s   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a n d   S E L i n u x   r e l a b e l i n g .   P e r s i s t e n t V o l u m e S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29459"
  },
  {
    "question": "What is CinderVolumeSource v1 core?",
    "answer": "R e p r e s e n t s   a   c i n d e r   v o l u m e   r e s o u r c e   i n   O p e n s t a c k .   A   C i n d e r   v o l u m e   m u s t   e x i s t   b e f o r e   m o u n t i n g   t o   a   c o n t a i n e r .   T h e   v o l u m e   m u s t   a l s o   b e   i n   t h e   s a m e   r e g i o n   a s   t h e   k u b e l e t .   C i n d e r   v o l u m e s   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a n d   S E L i n u x   r e l a b e l i n g .   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29460"
  },
  {
    "question": "What is ClientIPConfig v1 core?",
    "answer": "C l i e n t I P C o n f i g   r e p r e s e n t s   t h e   c o n f i g u r a t i o n s   o f   C l i e n t   I P   b a s e d   s e s s i o n   a f f i n i t y .   S e s s i o n A f f i n i t y C o n f i g   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29461"
  },
  {
    "question": "What is ClusterTrustBundleProjection v1 core?",
    "answer": "C l u s t e r T r u s t B u n d l e P r o j e c t i o n   d e s c r i b e s   h o w   t o   s e l e c t   a   s e t   o f   C l u s t e r T r u s t B u n d l e   o b j e c t s   a n d   p r o j e c t   t h e i r   c o n t e n t s   i n t o   t h e   p o d   f i l e s y s t e m .   V o l u m e P r o j e c t i o n   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29462"
  },
  {
    "question": "What is ComponentCondition v1 core?",
    "answer": "I n f o r m a t i o n   a b o u t   t h e   c o n d i t i o n   o f   a   c o m p o n e n t .   C o m p o n e n t S t a t u s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29463"
  },
  {
    "question": "What is Condition v1 meta?",
    "answer": "C o n d i t i o n   c o n t a i n s   d e t a i l s   f o r   o n e   a s p e c t   o f   t h e   c u r r e n t   s t a t e   o f   t h i s   A P I   R e s o u r c e .   A l l o c a t e d D e v i c e S t a t u s   [ r e s o u r c e / v 1 ]   A l l o c a t e d D e v i c e S t a t u s   [ r e s o u r c e / v 1 b e t a 2 ]   A l l o c a t e d D e v i c e S t a t u s   [ r e s o u r c e / v 1 b e t a 1 ]   P o d C e r t i f i c a t e R e q u e s t S t a t u s   [ c e r t i f i c a t e s / v 1 a l p h a 1 ]   P o d D i s r u p t i o n B u d g e t S t a t u s   [ p o l i c y / v 1 ]   S e r v i c e C I D R S t a t u s   [ n e t w o r k i n g / v 1 ]   S e r v i c e C I D R S t a t u s   [ n e t w o r k i n g / v 1 b e t a 1 ]   S e r v i c e S t a t u s   [ c o r e / v 1 ]   V a l i d a t i n g A d m i s s i o n P o l i c y S t a t u s   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29464"
  },
  {
    "question": "What is ConfigMapEnvSource v1 core?",
    "answer": "C o n f i g M a p E n v S o u r c e   s e l e c t s   a   C o n f i g M a p   t o   p o p u l a t e   t h e   e n v i r o n m e n t   v a r i a b l e s   w i t h .   T h e   c o n t e n t s   o f   t h e   t a r g e t   C o n f i g M a p ' s   D a t a   f i e l d   w i l l   r e p r e s e n t   t h e   k e y - v a l u e   p a i r s   a s   e n v i r o n m e n t   v a r i a b l e s .   E n v F r o m S o u r c e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29465"
  },
  {
    "question": "What is ConfigMapKeySelector v1 core?",
    "answer": "S e l e c t s   a   k e y   f r o m   a   C o n f i g M a p .   E n v V a r S o u r c e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29466"
  },
  {
    "question": "What is ConfigMapNodeConfigSource v1 core?",
    "answer": "C o n f i g M a p N o d e C o n f i g S o u r c e   c o n t a i n s   t h e   i n f o r m a t i o n   t o   r e f e r e n c e   a   C o n f i g M a p   a s   a   c o n f i g   s o u r c e   f o r   t h e   N o d e .   T h i s   A P I   i s   d e p r e c a t e d   s i n c e   1 . 2 2 :   h t t p s : / / g i t . k 8 s . i o / e n h a n c e m e n t s / k e p s / s i g - n o d e / 2 8 1 - d y n a m i c - k u b e l e t - c o n f i g u r a t i o n   N o d e C o n f i g S o u r c e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29467"
  },
  {
    "question": "What is ConfigMapProjection v1 core?",
    "answer": "A d a p t s   a   C o n f i g M a p   i n t o   a   p r o j e c t e d   v o l u m e .   T h e   c o n t e n t s   o f   t h e   t a r g e t   C o n f i g M a p ' s   D a t a   f i e l d   w i l l   b e   p r e s e n t e d   i n   a   p r o j e c t e d   v o l u m e   a s   f i l e s   u s i n g   t h e   k e y s   i n   t h e   D a t a   f i e l d   a s   t h e   f i l e   n a m e s ,   u n l e s s   t h e   i t e m s   e l e m e n t   i s   p o p u l a t e d   w i t h   s p e c i f i c   m a p p i n g s   o f   k e y s   t o   p a t h s .   N o t e   t h a t   t h i s   i s   i d e n t i c a l   t o   a   c o n f i g m a p   v o l u m e   s o u r c e   w i t h o u t   t h e   d e f a u l t   m o d e .   V o l u m e P r o j e c t i o n   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29468"
  },
  {
    "question": "What is ConfigMapVolumeSource v1 core?",
    "answer": "A d a p t s   a   C o n f i g M a p   i n t o   a   v o l u m e .   T h e   c o n t e n t s   o f   t h e   t a r g e t   C o n f i g M a p ' s   D a t a   f i e l d   w i l l   b e   p r e s e n t e d   i n   a   v o l u m e   a s   f i l e s   u s i n g   t h e   k e y s   i n   t h e   D a t a   f i e l d   a s   t h e   f i l e   n a m e s ,   u n l e s s   t h e   i t e m s   e l e m e n t   i s   p o p u l a t e d   w i t h   s p e c i f i c   m a p p i n g s   o f   k e y s   t o   p a t h s .   C o n f i g M a p   v o l u m e s   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a n d   S E L i n u x   r e l a b e l i n g .   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29469"
  },
  {
    "question": "What is ContainerExtendedResourceRequest v1 core?",
    "answer": "C o n t a i n e r E x t e n d e d R e s o u r c e R e q u e s t   h a s   t h e   m a p p i n g   o f   c o n t a i n e r   n a m e ,   e x t e n d e d   r e s o u r c e   n a m e   t o   t h e   d e v i c e   r e q u e s t   n a m e .   P o d E x t e n d e d R e s o u r c e C l a i m S t a t u s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29470"
  },
  {
    "question": "What is ContainerImage v1 core?",
    "answer": "D e s c r i b e   a   c o n t a i n e r   i m a g e   N o d e S t a t u s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29471"
  },
  {
    "question": "What is ContainerPort v1 core?",
    "answer": "C o n t a i n e r P o r t   r e p r e s e n t s   a   n e t w o r k   p o r t   i n   a   s i n g l e   c o n t a i n e r .   C o n t a i n e r   [ c o r e / v 1 ]   E p h e m e r a l C o n t a i n e r   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29472"
  },
  {
    "question": "What is ContainerResizePolicy v1 core?",
    "answer": "C o n t a i n e r R e s i z e P o l i c y   r e p r e s e n t s   r e s o u r c e   r e s i z e   p o l i c y   f o r   t h e   c o n t a i n e r .   C o n t a i n e r   [ c o r e / v 1 ]   E p h e m e r a l C o n t a i n e r   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29473"
  },
  {
    "question": "What is ContainerResourceMetricSource v2 autoscaling?",
    "answer": "C o n t a i n e r R e s o u r c e M e t r i c S o u r c e   i n d i c a t e s   h o w   t o   s c a l e   o n   a   r e s o u r c e   m e t r i c   k n o w n   t o   K u b e r n e t e s ,   a s   s p e c i f i e d   i n   r e q u e s t s   a n d   l i m i t s ,   d e s c r i b i n g   e a c h   p o d   i n   t h e   c u r r e n t   s c a l e   t a r g e t   ( e . g .   C P U   o r   m e m o r y ) .   T h e   v a l u e s   w i l l   b e   a v e r a g e d   t o g e t h e r   b e f o r e   b e i n g   c o m p a r e d   t o   t h e   t a r g e t .   S u c h   m e t r i c s   a r e   b u i l t   i n   t o   K u b e r n e t e s ,   a n d   h a v e   s p e c i a l   s c a l i n g   o p t i o n s   o n   t o p   o f   t h o s e   a v a i l a b l e   t o   n o r m a l   p e r - p o d   m e t r i c s   u s i n g   t h e   \" p o d s \"   s o u r c e .   O n l y   o n e   \" t a r g e t \"   t y p e   s h o u l d   b e   s e t .   M e t r i c S p e c   [ a u t o s c a l i n g / v 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29474"
  },
  {
    "question": "What is ContainerResourceMetricStatus v2 autoscaling?",
    "answer": "C o n t a i n e r R e s o u r c e M e t r i c S t a t u s   i n d i c a t e s   t h e   c u r r e n t   v a l u e   o f   a   r e s o u r c e   m e t r i c   k n o w n   t o   K u b e r n e t e s ,   a s   s p e c i f i e d   i n   r e q u e s t s   a n d   l i m i t s ,   d e s c r i b i n g   a   s i n g l e   c o n t a i n e r   i n   e a c h   p o d   i n   t h e   c u r r e n t   s c a l e   t a r g e t   ( e . g .   C P U   o r   m e m o r y ) .   S u c h   m e t r i c s   a r e   b u i l t   i n   t o   K u b e r n e t e s ,   a n d   h a v e   s p e c i a l   s c a l i n g   o p t i o n s   o n   t o p   o f   t h o s e   a v a i l a b l e   t o   n o r m a l   p e r - p o d   m e t r i c s   u s i n g   t h e   \" p o d s \"   s o u r c e .   M e t r i c S t a t u s   [ a u t o s c a l i n g / v 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29475"
  },
  {
    "question": "What is ContainerRestartRule v1 core?",
    "answer": "C o n t a i n e r R e s t a r t R u l e   d e s c r i b e s   h o w   a   c o n t a i n e r   e x i t   i s   h a n d l e d .   C o n t a i n e r   [ c o r e / v 1 ]   E p h e m e r a l C o n t a i n e r   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29476"
  },
  {
    "question": "What is ContainerRestartRuleOnExitCodes v1 core?",
    "answer": "C o n t a i n e r R e s t a r t R u l e O n E x i t C o d e s   d e s c r i b e s   t h e   c o n d i t i o n   f o r   h a n d l i n g   a n   e x i t e d   c o n t a i n e r   b a s e d   o n   i t s   e x i t   c o d e s .   C o n t a i n e r R e s t a r t R u l e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29477"
  },
  {
    "question": "What is ContainerState v1 core?",
    "answer": "C o n t a i n e r S t a t e   h o l d s   a   p o s s i b l e   s t a t e   o f   c o n t a i n e r .   O n l y   o n e   o f   i t s   m e m b e r s   m a y   b e   s p e c i f i e d .   I f   n o n e   o f   t h e m   i s   s p e c i f i e d ,   t h e   d e f a u l t   o n e   i s   C o n t a i n e r S t a t e W a i t i n g .   C o n t a i n e r S t a t u s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29478"
  },
  {
    "question": "What is ContainerStateRunning v1 core?",
    "answer": "C o n t a i n e r S t a t e R u n n i n g   i s   a   r u n n i n g   s t a t e   o f   a   c o n t a i n e r .   C o n t a i n e r S t a t e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29479"
  },
  {
    "question": "What is ContainerStateTerminated v1 core?",
    "answer": "C o n t a i n e r S t a t e T e r m i n a t e d   i s   a   t e r m i n a t e d   s t a t e   o f   a   c o n t a i n e r .   C o n t a i n e r S t a t e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29480"
  },
  {
    "question": "What is ContainerStateWaiting v1 core?",
    "answer": "C o n t a i n e r S t a t e W a i t i n g   i s   a   w a i t i n g   s t a t e   o f   a   c o n t a i n e r .   C o n t a i n e r S t a t e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29481"
  },
  {
    "question": "What is ContainerUser v1 core?",
    "answer": "C o n t a i n e r U s e r   r e p r e s e n t s   u s e r   i d e n t i t y   i n f o r m a t i o n   C o n t a i n e r S t a t u s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29482"
  },
  {
    "question": "What is Counter v1 resource.k8s.io?",
    "answer": "C o u n t e r   d e s c r i b e s   a   q u a n t i t y   a s s o c i a t e d   w i t h   a   d e v i c e .   C o u n t e r S e t   [ r e s o u r c e / v 1 ]   D e v i c e C o u n t e r C o n s u m p t i o n   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29483"
  },
  {
    "question": "What is CounterSet v1 resource.k8s.io?",
    "answer": "C o u n t e r S e t   d e f i n e s   a   n a m e d   s e t   o f   c o u n t e r s   t h a t   a r e   a v a i l a b l e   t o   b e   u s e d   b y   d e v i c e s   d e f i n e d   i n   t h e   R e s o u r c e S l i c e .   T h e   c o u n t e r s   a r e   n o t   a l l o c a t a b l e   b y   t h e m s e l v e s ,   b u t   c a n   b e   r e f e r e n c e d   b y   d e v i c e s .   W h e n   a   d e v i c e   i s   a l l o c a t e d ,   t h e   p o r t i o n   o f   c o u n t e r s   i t   u s e s   w i l l   n o   l o n g e r   b e   a v a i l a b l e   f o r   u s e   b y   o t h e r   d e v i c e s .   R e s o u r c e S l i c e S p e c   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29484"
  },
  {
    "question": "What is CrossVersionObjectReference v2 autoscaling?",
    "answer": "C r o s s V e r s i o n O b j e c t R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   i d e n t i f y   t h e   r e f e r r e d   r e s o u r c e .   H o r i z o n t a l P o d A u t o s c a l e r S p e c   [ a u t o s c a l i n g / v 2 ]   O b j e c t M e t r i c S o u r c e   [ a u t o s c a l i n g / v 2 ]   O b j e c t M e t r i c S t a t u s   [ a u t o s c a l i n g / v 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29485"
  },
  {
    "question": "What is CustomResourceColumnDefinition v1 apiextensions.k8s.io?",
    "answer": "C u s t o m R e s o u r c e C o l u m n D e f i n i t i o n   s p e c i f i e s   a   c o l u m n   f o r   s e r v e r   s i d e   p r i n t i n g .   C u s t o m R e s o u r c e D e f i n i t i o n V e r s i o n   [ a p i e x t e n s i o n s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29486"
  },
  {
    "question": "What is CustomResourceConversion v1 apiextensions.k8s.io?",
    "answer": "C u s t o m R e s o u r c e C o n v e r s i o n   d e s c r i b e s   h o w   t o   c o n v e r t   d i f f e r e n t   v e r s i o n s   o f   a   C R .   C u s t o m R e s o u r c e D e f i n i t i o n S p e c   [ a p i e x t e n s i o n s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29487"
  },
  {
    "question": "What is CustomResourceDefinitionCondition v1 apiextensions.k8s.io?",
    "answer": "C u s t o m R e s o u r c e D e f i n i t i o n C o n d i t i o n   c o n t a i n s   d e t a i l s   f o r   t h e   c u r r e n t   c o n d i t i o n   o f   t h i s   p o d .   C u s t o m R e s o u r c e D e f i n i t i o n S t a t u s   [ a p i e x t e n s i o n s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29488"
  },
  {
    "question": "What is CustomResourceDefinitionNames v1 apiextensions.k8s.io?",
    "answer": "C u s t o m R e s o u r c e D e f i n i t i o n N a m e s   i n d i c a t e s   t h e   n a m e s   t o   s e r v e   t h i s   C u s t o m R e s o u r c e D e f i n i t i o n   C u s t o m R e s o u r c e D e f i n i t i o n S p e c   [ a p i e x t e n s i o n s / v 1 ]   C u s t o m R e s o u r c e D e f i n i t i o n S t a t u s   [ a p i e x t e n s i o n s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29489"
  },
  {
    "question": "What is CustomResourceDefinitionVersion v1 apiextensions.k8s.io?",
    "answer": "C u s t o m R e s o u r c e D e f i n i t i o n V e r s i o n   d e s c r i b e s   a   v e r s i o n   f o r   C R D .   C u s t o m R e s o u r c e D e f i n i t i o n S p e c   [ a p i e x t e n s i o n s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29490"
  },
  {
    "question": "What is CustomResourceSubresourceScale v1 apiextensions.k8s.io?",
    "answer": "C u s t o m R e s o u r c e S u b r e s o u r c e S c a l e   d e f i n e s   h o w   t o   s e r v e   t h e   s c a l e   s u b r e s o u r c e   f o r   C u s t o m R e s o u r c e s .   C u s t o m R e s o u r c e S u b r e s o u r c e s   [ a p i e x t e n s i o n s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29491"
  },
  {
    "question": "What is CustomResourceSubresourceStatus v1 apiextensions.k8s.io?",
    "answer": "C u s t o m R e s o u r c e S u b r e s o u r c e S t a t u s   d e f i n e s   h o w   t o   s e r v e   t h e   s t a t u s   s u b r e s o u r c e   f o r   C u s t o m R e s o u r c e s .   S t a t u s   i s   r e p r e s e n t e d   b y   t h e   ` . s t a t u s `   J S O N   p a t h   i n s i d e   o f   a   C u s t o m R e s o u r c e .   W h e n   s e t ,   *   e x p o s e s   a   / s t a t u s   s u b r e s o u r c e   f o r   t h e   c u s t o m   r e s o u r c e   *   P U T   r e q u e s t s   t o   t h e   / s t a t u s   s u b r e s o u r c e   t a k e   a   c u s t o m   r e s o u r c e   o b j e c t ,   a n d   i g n o r e   c h a n g e s   t o   a n y t h i n g   e x c e p t   t h e   s t a t u s   s t a n z a   *   P U T / P O S T / P A T C H   r e q u e s t s   t o   t h e   c u s t o m   r e s o u r c e   i g n o r e   c h a n g e s   t o   t h e   s t a t u s   s t a n z a   C u s t o m R e s o u r c e S u b r e s o u r c e s   [ a p i e x t e n s i o n s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29492"
  },
  {
    "question": "What is CustomResourceSubresources v1 apiextensions.k8s.io?",
    "answer": "C u s t o m R e s o u r c e S u b r e s o u r c e s   d e f i n e s   t h e   s t a t u s   a n d   s c a l e   s u b r e s o u r c e s   f o r   C u s t o m R e s o u r c e s .   C u s t o m R e s o u r c e D e f i n i t i o n V e r s i o n   [ a p i e x t e n s i o n s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29493"
  },
  {
    "question": "What is CustomResourceValidation v1 apiextensions.k8s.io?",
    "answer": "C u s t o m R e s o u r c e V a l i d a t i o n   i s   a   l i s t   o f   v a l i d a t i o n   m e t h o d s   f o r   C u s t o m R e s o u r c e s .   C u s t o m R e s o u r c e D e f i n i t i o n V e r s i o n   [ a p i e x t e n s i o n s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29494"
  },
  {
    "question": "What is DaemonEndpoint v1 core?",
    "answer": "D a e m o n E n d p o i n t   c o n t a i n s   i n f o r m a t i o n   a b o u t   a   s i n g l e   D a e m o n   e n d p o i n t .   N o d e D a e m o n E n d p o i n t s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29495"
  },
  {
    "question": "What is DaemonSetCondition v1 apps?",
    "answer": "D a e m o n S e t C o n d i t i o n   d e s c r i b e s   t h e   s t a t e   o f   a   D a e m o n S e t   a t   a   c e r t a i n   p o i n t .   D a e m o n S e t S t a t u s   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29496"
  },
  {
    "question": "What is DaemonSetUpdateStrategy v1 apps?",
    "answer": "D a e m o n S e t U p d a t e S t r a t e g y   i s   a   s t r u c t   u s e d   t o   c o n t r o l   t h e   u p d a t e   s t r a t e g y   f o r   a   D a e m o n S e t .   D a e m o n S e t S p e c   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29497"
  },
  {
    "question": "What is DeleteOptions v1 meta?",
    "answer": "D e l e t e O p t i o n s   m a y   b e   p r o v i d e d   w h e n   d e l e t i n g   a n   A P I   o b j e c t .   E v i c t i o n   [ p o l i c y / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29498"
  },
  {
    "question": "What is DeploymentCondition v1 apps?",
    "answer": "D e p l o y m e n t C o n d i t i o n   d e s c r i b e s   t h e   s t a t e   o f   a   d e p l o y m e n t   a t   a   c e r t a i n   p o i n t .   D e p l o y m e n t S t a t u s   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29499"
  },
  {
    "question": "What is Device v1 resource.k8s.io?",
    "answer": "D e v i c e   r e p r e s e n t s   o n e   i n d i v i d u a l   h a r d w a r e   i n s t a n c e   t h a t   c a n   b e   s e l e c t e d   b a s e d   o n   i t s   a t t r i b u t e s .   B e s i d e s   t h e   n a m e ,   e x a c t l y   o n e   f i e l d   m u s t   b e   s e t .   R e s o u r c e S l i c e S p e c   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29500"
  },
  {
    "question": "What is DeviceAllocationConfiguration v1 resource.k8s.io?",
    "answer": "D e v i c e A l l o c a t i o n C o n f i g u r a t i o n   g e t s   e m b e d d e d   i n   a n   A l l o c a t i o n R e s u l t .   D e v i c e A l l o c a t i o n R e s u l t   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29501"
  },
  {
    "question": "What is DeviceAllocationResult v1 resource.k8s.io?",
    "answer": "D e v i c e A l l o c a t i o n R e s u l t   i s   t h e   r e s u l t   o f   a l l o c a t i n g   d e v i c e s .   A l l o c a t i o n R e s u l t   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29502"
  },
  {
    "question": "What is DeviceAttribute v1 resource.k8s.io?",
    "answer": "D e v i c e A t t r i b u t e   m u s t   h a v e   e x a c t l y   o n e   f i e l d   s e t .   D e v i c e   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29503"
  },
  {
    "question": "What is DeviceCapacity v1 resource.k8s.io?",
    "answer": "D e v i c e C a p a c i t y   d e s c r i b e s   a   q u a n t i t y   a s s o c i a t e d   w i t h   a   d e v i c e .   D e v i c e   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29504"
  },
  {
    "question": "What is DeviceClaim v1 resource.k8s.io?",
    "answer": "D e v i c e C l a i m   d e f i n e s   h o w   t o   r e q u e s t   d e v i c e s   w i t h   a   R e s o u r c e C l a i m .   R e s o u r c e C l a i m S p e c   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29505"
  },
  {
    "question": "What is DeviceClaimConfiguration v1 resource.k8s.io?",
    "answer": "D e v i c e C l a i m C o n f i g u r a t i o n   i s   u s e d   f o r   c o n f i g u r a t i o n   p a r a m e t e r s   i n   D e v i c e C l a i m .   D e v i c e C l a i m   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29506"
  },
  {
    "question": "What is DeviceClassConfiguration v1 resource.k8s.io?",
    "answer": "D e v i c e C l a s s C o n f i g u r a t i o n   i s   u s e d   i n   D e v i c e C l a s s .   D e v i c e C l a s s S p e c   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29507"
  },
  {
    "question": "What is DeviceConstraint v1 resource.k8s.io?",
    "answer": "D e v i c e C o n s t r a i n t   m u s t   h a v e   e x a c t l y   o n e   f i e l d   s e t   b e s i d e s   R e q u e s t s .   D e v i c e C l a i m   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29508"
  },
  {
    "question": "What is DeviceCounterConsumption v1 resource.k8s.io?",
    "answer": "D e v i c e C o u n t e r C o n s u m p t i o n   d e f i n e s   a   s e t   o f   c o u n t e r s   t h a t   a   d e v i c e   w i l l   c o n s u m e   f r o m   a   C o u n t e r S e t .   D e v i c e   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29509"
  },
  {
    "question": "What is DeviceRequest v1 resource.k8s.io?",
    "answer": "D e v i c e R e q u e s t   i s   a   r e q u e s t   f o r   d e v i c e s   r e q u i r e d   f o r   a   c l a i m .   T h i s   i s   t y p i c a l l y   a   r e q u e s t   f o r   a   s i n g l e   r e s o u r c e   l i k e   a   d e v i c e ,   b u t   c a n   a l s o   a s k   f o r   s e v e r a l   i d e n t i c a l   d e v i c e s .   W i t h   F i r s t A v a i l a b l e   i t   i s   a l s o   p o s s i b l e   t o   p r o v i d e   a   p r i o r i t i z e d   l i s t   o f   r e q u e s t s .   D e v i c e C l a i m   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29510"
  },
  {
    "question": "What is DeviceRequestAllocationResult v1 resource.k8s.io?",
    "answer": "D e v i c e R e q u e s t A l l o c a t i o n R e s u l t   c o n t a i n s   t h e   a l l o c a t i o n   r e s u l t   f o r   o n e   r e q u e s t .   D e v i c e A l l o c a t i o n R e s u l t   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29511"
  },
  {
    "question": "What is DeviceSelector v1 resource.k8s.io?",
    "answer": "D e v i c e S e l e c t o r   m u s t   h a v e   e x a c t l y   o n e   f i e l d   s e t .   D e v i c e C l a s s S p e c   [ r e s o u r c e / v 1 ]   D e v i c e S u b R e q u e s t   [ r e s o u r c e / v 1 ]   E x a c t D e v i c e R e q u e s t   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29512"
  },
  {
    "question": "What is DeviceSubRequest v1 resource.k8s.io?",
    "answer": "D e v i c e S u b R e q u e s t   d e s c r i b e s   a   r e q u e s t   f o r   d e v i c e   p r o v i d e d   i n   t h e   c l a i m . s p e c . d e v i c e s . r e q u e s t s [ ] . f i r s t A v a i l a b l e   a r r a y .   E a c h   i s   t y p i c a l l y   a   r e q u e s t   f o r   a   s i n g l e   r e s o u r c e   l i k e   a   d e v i c e ,   b u t   c a n   a l s o   a s k   f o r   s e v e r a l   i d e n t i c a l   d e v i c e s .   D e v i c e S u b R e q u e s t   i s   s i m i l a r   t o   E x a c t D e v i c e R e q u e s t ,   b u t   d o e s n ' t   e x p o s e   t h e   A d m i n A c c e s s   f i e l d   a s   t h a t   o n e   i s   o n l y   s u p p o r t e d   w h e n   r e q u e s t i n g   a   s p e c i f i c   d e v i c e .   D e v i c e R e q u e s t   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29513"
  },
  {
    "question": "What is DeviceTaint v1 resource.k8s.io?",
    "answer": "T h e   d e v i c e   t h i s   t a i n t   i s   a t t a c h e d   t o   h a s   t h e   \" e f f e c t \"   o n   a n y   c l a i m   w h i c h   d o e s   n o t   t o l e r a t e   t h e   t a i n t   a n d ,   t h r o u g h   t h e   c l a i m ,   t o   p o d s   u s i n g   t h e   c l a i m .   D e v i c e   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29514"
  },
  {
    "question": "What is DeviceTaintSelector v1alpha3 resource.k8s.io?",
    "answer": "D e v i c e T a i n t S e l e c t o r   d e f i n e s   w h i c h   d e v i c e ( s )   a   D e v i c e T a i n t R u l e   a p p l i e s   t o .   T h e   e m p t y   s e l e c t o r   m a t c h e s   a l l   d e v i c e s .   W i t h o u t   a   s e l e c t o r ,   n o   d e v i c e s   a r e   m a t c h e d .   D e v i c e T a i n t R u l e S p e c   [ r e s o u r c e / v 1 a l p h a 3 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29515"
  },
  {
    "question": "What is DeviceToleration v1 resource.k8s.io?",
    "answer": "T h e   R e s o u r c e C l a i m   t h i s   D e v i c e T o l e r a t i o n   i s   a t t a c h e d   t o   t o l e r a t e s   a n y   t a i n t   t h a t   m a t c h e s   t h e   t r i p l e   < k e y , v a l u e , e f f e c t >   u s i n g   t h e   m a t c h i n g   o p e r a t o r   < o p e r a t o r > .   D e v i c e R e q u e s t A l l o c a t i o n R e s u l t   [ r e s o u r c e / v 1 ]   D e v i c e S u b R e q u e s t   [ r e s o u r c e / v 1 ]   E x a c t D e v i c e R e q u e s t   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29516"
  },
  {
    "question": "What is DownwardAPIProjection v1 core?",
    "answer": "R e p r e s e n t s   d o w n w a r d   A P I   i n f o   f o r   p r o j e c t i n g   i n t o   a   p r o j e c t e d   v o l u m e .   N o t e   t h a t   t h i s   i s   i d e n t i c a l   t o   a   d o w n w a r d A P I   v o l u m e   s o u r c e   w i t h o u t   t h e   d e f a u l t   m o d e .   V o l u m e P r o j e c t i o n   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29517"
  },
  {
    "question": "What is DownwardAPIVolumeFile v1 core?",
    "answer": "D o w n w a r d A P I V o l u m e F i l e   r e p r e s e n t s   i n f o r m a t i o n   t o   c r e a t e   t h e   f i l e   c o n t a i n i n g   t h e   p o d   f i e l d   D o w n w a r d A P I P r o j e c t i o n   [ c o r e / v 1 ]   D o w n w a r d A P I V o l u m e S o u r c e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29518"
  },
  {
    "question": "What is DownwardAPIVolumeSource v1 core?",
    "answer": "D o w n w a r d A P I V o l u m e S o u r c e   r e p r e s e n t s   a   v o l u m e   c o n t a i n i n g   d o w n w a r d   A P I   i n f o .   D o w n w a r d   A P I   v o l u m e s   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a n d   S E L i n u x   r e l a b e l i n g .   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29519"
  },
  {
    "question": "What is EmptyDirVolumeSource v1 core?",
    "answer": "R e p r e s e n t s   a n   e m p t y   d i r e c t o r y   f o r   a   p o d .   E m p t y   d i r e c t o r y   v o l u m e s   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a n d   S E L i n u x   r e l a b e l i n g .   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29520"
  },
  {
    "question": "What is Endpoint v1 discovery.k8s.io?",
    "answer": "E n d p o i n t   r e p r e s e n t s   a   s i n g l e   l o g i c a l   \" b a c k e n d \"   i m p l e m e n t i n g   a   s e r v i c e .   E n d p o i n t S l i c e   [ d i s c o v e r y / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29521"
  },
  {
    "question": "What is EndpointAddress v1 core?",
    "answer": "E n d p o i n t A d d r e s s   i s   a   t u p l e   t h a t   d e s c r i b e s   s i n g l e   I P   a d d r e s s .   D e p r e c a t e d :   T h i s   A P I   i s   d e p r e c a t e d   i n   v 1 . 3 3 + .   E n d p o i n t S u b s e t   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29522"
  },
  {
    "question": "What is EndpointConditions v1 discovery.k8s.io?",
    "answer": "E n d p o i n t C o n d i t i o n s   r e p r e s e n t s   t h e   c u r r e n t   c o n d i t i o n   o f   a n   e n d p o i n t .   E n d p o i n t   [ d i s c o v e r y / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29523"
  },
  {
    "question": "What is EndpointHints v1 discovery.k8s.io?",
    "answer": "E n d p o i n t H i n t s   p r o v i d e s   h i n t s   d e s c r i b i n g   h o w   a n   e n d p o i n t   s h o u l d   b e   c o n s u m e d .   E n d p o i n t   [ d i s c o v e r y / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29524"
  },
  {
    "question": "What is EndpointPort v1 core?",
    "answer": "E n d p o i n t P o r t   i s   a   t u p l e   t h a t   d e s c r i b e s   a   s i n g l e   p o r t .   D e p r e c a t e d :   T h i s   A P I   i s   d e p r e c a t e d   i n   v 1 . 3 3 + .   E n d p o i n t S u b s e t   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29525"
  },
  {
    "question": "What is EndpointSubset v1 core?",
    "answer": "E n d p o i n t S u b s e t   i s   a   g r o u p   o f   a d d r e s s e s   w i t h   a   c o m m o n   s e t   o f   p o r t s .   T h e   e x p a n d e d   s e t   o f   e n d p o i n t s   i s   t h e   C a r t e s i a n   p r o d u c t   o f   A d d r e s s e s   x   P o r t s .   F o r   e x a m p l e ,   g i v e n :   {   A d d r e s s e s :   [ { \" i p \" :   \" 1 0 . 1 0 . 1 . 1 \" } ,   { \" i p \" :   \" 1 0 . 1 0 . 2 . 2 \" } ] ,   P o r t s :   [ { \" n a m e \" :   \" a \" ,   \" p o r t \" :   8 6 7 5 } ,   { \" n a m e \" :   \" b \" ,   \" p o r t \" :   3 0 9 } ]   }   T h e   r e s u l t i n g   s e t   o f   e n d p o i n t s   c a n   b e   v i e w e d   a s :   a :   [   1 0 . 1 0 . 1 . 1 : 8 6 7 5 ,   1 0 . 1 0 . 2 . 2 : 8 6 7 5   ] ,   b :   [   1 0 . 1 0 . 1 . 1 : 3 0 9 ,   1 0 . 1 0 . 2 . 2 : 3 0 9   ]   D e p r e c a t e d :   T h i s   A P I   i s   d e p r e c a t e d   i n   v 1 . 3 3 + .   E n d p o i n t s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29526"
  },
  {
    "question": "What is EnvFromSource v1 core?",
    "answer": "E n v F r o m S o u r c e   r e p r e s e n t s   t h e   s o u r c e   o f   a   s e t   o f   C o n f i g M a p s   o r   S e c r e t s   C o n t a i n e r   [ c o r e / v 1 ]   E p h e m e r a l C o n t a i n e r   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29527"
  },
  {
    "question": "What is EnvVar v1 core?",
    "answer": "E n v V a r   r e p r e s e n t s   a n   e n v i r o n m e n t   v a r i a b l e   p r e s e n t   i n   a   C o n t a i n e r .   C o n t a i n e r   [ c o r e / v 1 ]   E p h e m e r a l C o n t a i n e r   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29528"
  },
  {
    "question": "What is EnvVarSource v1 core?",
    "answer": "E n v V a r S o u r c e   r e p r e s e n t s   a   s o u r c e   f o r   t h e   v a l u e   o f   a n   E n v V a r .   E n v V a r   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29529"
  },
  {
    "question": "What is EphemeralContainer v1 core?",
    "answer": "A n   E p h e m e r a l C o n t a i n e r   i s   a   t e m p o r a r y   c o n t a i n e r   t h a t   y o u   m a y   a d d   t o   a n   e x i s t i n g   P o d   f o r   u s e r - i n i t i a t e d   a c t i v i t i e s   s u c h   a s   d e b u g g i n g .   E p h e m e r a l   c o n t a i n e r s   h a v e   n o   r e s o u r c e   o r   s c h e d u l i n g   g u a r a n t e e s ,   a n d   t h e y   w i l l   n o t   b e   r e s t a r t e d   w h e n   t h e y   e x i t   o r   w h e n   a   P o d   i s   r e m o v e d   o r   r e s t a r t e d .   T h e   k u b e l e t   m a y   e v i c t   a   P o d   i f   a n   e p h e m e r a l   c o n t a i n e r   c a u s e s   t h e   P o d   t o   e x c e e d   i t s   r e s o u r c e   a l l o c a t i o n .   T o   a d d   a n   e p h e m e r a l   c o n t a i n e r ,   u s e   t h e   e p h e m e r a l c o n t a i n e r s   s u b r e s o u r c e   o f   a n   e x i s t i n g   P o d .   E p h e m e r a l   c o n t a i n e r s   m a y   n o t   b e   r e m o v e d   o r   r e s t a r t e d .   P o d S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29530"
  },
  {
    "question": "What is EphemeralVolumeSource v1 core?",
    "answer": "R e p r e s e n t s   a n   e p h e m e r a l   v o l u m e   t h a t   i s   h a n d l e d   b y   a   n o r m a l   s t o r a g e   d r i v e r .   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29531"
  },
  {
    "question": "What is EventSeries v1 events.k8s.io?",
    "answer": "E v e n t S e r i e s   c o n t a i n   i n f o r m a t i o n   o n   s e r i e s   o f   e v e n t s ,   i . e .   t h i n g   t h a t   w a s / i s   h a p p e n i n g   c o n t i n u o u s l y   f o r   s o m e   t i m e .   H o w   o f t e n   t o   u p d a t e   t h e   E v e n t S e r i e s   i s   u p   t o   t h e   e v e n t   r e p o r t e r s .   T h e   d e f a u l t   e v e n t   r e p o r t e r   i n   \" k 8 s . i o / c l i e n t - g o / t o o l s / e v e n t s / e v e n t _ b r o a d c a s t e r . g o \"   s h o w s   h o w   t h i s   s t r u c t   i s   u p d a t e d   o n   h e a r t b e a t s   a n d   c a n   g u i d e   c u s t o m i z e d   r e p o r t e r   i m p l e m e n t a t i o n s .   E v e n t   [ e v e n t s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29532"
  },
  {
    "question": "What is EventSource v1 core?",
    "answer": "E v e n t S o u r c e   c o n t a i n s   i n f o r m a t i o n   f o r   a n   e v e n t .   E v e n t   [ c o r e / v 1 ]   E v e n t   [ e v e n t s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29533"
  },
  {
    "question": "What is Eviction v1 policy?",
    "answer": "E v i c t i o n   e v i c t s   a   p o d   f r o m   i t s   n o d e   s u b j e c t   t o   c e r t a i n   p o l i c i e s   a n d   s a f e t y   c o n s t r a i n t s .   T h i s   i s   a   s u b r e s o u r c e   o f   P o d .   A   r e q u e s t   t o   c a u s e   s u c h   a n   e v i c t i o n   i s   c r e a t e d   b y   P O S T i n g   t o   . . . / p o d s / < p o d   n a m e > / e v i c t i o n s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29534"
  },
  {
    "question": "What is ExactDeviceRequest v1 resource.k8s.io?",
    "answer": "E x a c t D e v i c e R e q u e s t   i s   a   r e q u e s t   f o r   o n e   o r   m o r e   i d e n t i c a l   d e v i c e s .   D e v i c e R e q u e s t   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29535"
  },
  {
    "question": "What is ExecAction v1 core?",
    "answer": "E x e c A c t i o n   d e s c r i b e s   a   \" r u n   i n   c o n t a i n e r \"   a c t i o n .   L i f e c y c l e H a n d l e r   [ c o r e / v 1 ]   P r o b e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29536"
  },
  {
    "question": "What is ExemptPriorityLevelConfiguration v1 flowcontrol.apiserver.k8s.io?",
    "answer": "E x e m p t P r i o r i t y L e v e l C o n f i g u r a t i o n   d e s c r i b e s   t h e   c o n f i g u r a b l e   a s p e c t s   o f   t h e   h a n d l i n g   o f   e x e m p t   r e q u e s t s .   I n   t h e   m a n d a t o r y   e x e m p t   c o n f i g u r a t i o n   o b j e c t   t h e   v a l u e s   i n   t h e   f i e l d s   h e r e   c a n   b e   m o d i f i e d   b y   a u t h o r i z e d   u s e r s ,   u n l i k e   t h e   r e s t   o f   t h e   ` s p e c ` .   P r i o r i t y L e v e l C o n f i g u r a t i o n S p e c   [ f l o w c o n t r o l / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29537"
  },
  {
    "question": "What is ExpressionWarning v1 admissionregistration.k8s.io?",
    "answer": "E x p r e s s i o n W a r n i n g   i s   a   w a r n i n g   i n f o r m a t i o n   t h a t   t a r g e t s   a   s p e c i f i c   e x p r e s s i o n .   T y p e C h e c k i n g   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29538"
  },
  {
    "question": "What is ExternalDocumentation v1 apiextensions.k8s.io?",
    "answer": "E x t e r n a l D o c u m e n t a t i o n   a l l o w s   r e f e r e n c i n g   a n   e x t e r n a l   r e s o u r c e   f o r   e x t e n d e d   d o c u m e n t a t i o n .   J S O N S c h e m a P r o p s   [ a p i e x t e n s i o n s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29539"
  },
  {
    "question": "What is ExternalMetricSource v2 autoscaling?",
    "answer": "E x t e r n a l M e t r i c S o u r c e   i n d i c a t e s   h o w   t o   s c a l e   o n   a   m e t r i c   n o t   a s s o c i a t e d   w i t h   a n y   K u b e r n e t e s   o b j e c t   ( f o r   e x a m p l e   l e n g t h   o f   q u e u e   i n   c l o u d   m e s s a g i n g   s e r v i c e ,   o r   Q P S   f r o m   l o a d b a l a n c e r   r u n n i n g   o u t s i d e   o f   c l u s t e r ) .   M e t r i c S p e c   [ a u t o s c a l i n g / v 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29540"
  },
  {
    "question": "What is ExternalMetricStatus v2 autoscaling?",
    "answer": "E x t e r n a l M e t r i c S t a t u s   i n d i c a t e s   t h e   c u r r e n t   v a l u e   o f   a   g l o b a l   m e t r i c   n o t   a s s o c i a t e d   w i t h   a n y   K u b e r n e t e s   o b j e c t .   M e t r i c S t a t u s   [ a u t o s c a l i n g / v 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29541"
  },
  {
    "question": "What is FCVolumeSource v1 core?",
    "answer": "R e p r e s e n t s   a   F i b r e   C h a n n e l   v o l u m e .   F i b r e   C h a n n e l   v o l u m e s   c a n   o n l y   b e   m o u n t e d   a s   r e a d / w r i t e   o n c e .   F i b r e   C h a n n e l   v o l u m e s   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a n d   S E L i n u x   r e l a b e l i n g .   P e r s i s t e n t V o l u m e S p e c   [ c o r e / v 1 ]   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29542"
  },
  {
    "question": "What is FieldSelectorAttributes v1 authorization.k8s.io?",
    "answer": "F i e l d S e l e c t o r A t t r i b u t e s   i n d i c a t e s   a   f i e l d   l i m i t e d   a c c e s s .   W e b h o o k   a u t h o r s   a r e   e n c o u r a g e d   t o   *   e n s u r e   r a w S e l e c t o r   a n d   r e q u i r e m e n t s   a r e   n o t   b o t h   s e t   *   c o n s i d e r   t h e   r e q u i r e m e n t s   f i e l d   i f   s e t   *   n o t   t r y   t o   p a r s e   o r   c o n s i d e r   t h e   r a w S e l e c t o r   f i e l d   i f   s e t .   T h i s   i s   t o   a v o i d   a n o t h e r   C V E - 2 0 2 2 - 2 8 8 0   ( i . e .   g e t t i n g   d i f f e r e n t   s y s t e m s   t o   a g r e e   o n   h o w   e x a c t l y   t o   p a r s e   a   q u e r y   i s   n o t   s o m e t h i n g   w e   w a n t ) ,   s e e   h t t p s : / / w w w . o x e y e . i o / r e s o u r c e s / g o l a n g - p a r a m e t e r - s m u g g l i n g - a t t a c k   f o r   m o r e   d e t a i l s .   F o r   t h e   * S u b j e c t A c c e s s R e v i e w   e n d p o i n t s   o f   t h e   k u b e - a p i s e r v e r :   *   I f   r a w S e l e c t o r   i s   e m p t y   a n d   r e q u i r e m e n t s   a r e   e m p t y ,   t h e   r e q u e s t   i s   n o t   l i m i t e d .   *   I f   r a w S e l e c t o r   i s   p r e s e n t   a n d   r e q u i r e m e n t s   a r e   e m p t y ,   t h e   r a w S e l e c t o r   w i l l   b e   p a r s e d   a n d   l i m i t e d   i f   t h e   p a r s i n g   s u c c e e d s .   *   I f   r a w S e l e c t o r   i s   e m p t y   a n d   r e q u i r e m e n t s   a r e   p r e s e n t ,   t h e   r e q u i r e m e n t s   s h o u l d   b e   h o n o r e d   *   I f   r a w S e l e c t o r   i s   p r e s e n t   a n d   r e q u i r e m e n t s   a r e   p r e s e n t ,   t h e   r e q u e s t   i s   i n v a l i d .   R e s o u r c e A t t r i b u t e s   [ a u t h o r i z a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29543"
  },
  {
    "question": "What is FieldSelectorRequirement v1 meta?",
    "answer": "F i e l d S e l e c t o r R e q u i r e m e n t   i s   a   s e l e c t o r   t h a t   c o n t a i n s   v a l u e s ,   a   k e y ,   a n d   a n   o p e r a t o r   t h a t   r e l a t e s   t h e   k e y   a n d   v a l u e s .   F i e l d S e l e c t o r A t t r i b u t e s   [ a u t h o r i z a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29544"
  },
  {
    "question": "What is FieldsV1 v1 meta?",
    "answer": "F i e l d s V 1   s t o r e s   a   s e t   o f   f i e l d s   i n   a   d a t a   s t r u c t u r e   l i k e   a   T r i e ,   i n   J S O N   f o r m a t .   E a c h   k e y   i s   e i t h e r   a   ' . '   r e p r e s e n t i n g   t h e   f i e l d   i t s e l f ,   a n d   w i l l   a l w a y s   m a p   t o   a n   e m p t y   s e t ,   o r   a   s t r i n g   r e p r e s e n t i n g   a   s u b - f i e l d   o r   i t e m .   T h e   s t r i n g   w i l l   f o l l o w   o n e   o f   t h e s e   f o u r   f o r m a t s :   ' f : < n a m e > ' ,   w h e r e   < n a m e >   i s   t h e   n a m e   o f   a   f i e l d   i n   a   s t r u c t ,   o r   k e y   i n   a   m a p   ' v : < v a l u e > ' ,   w h e r e   < v a l u e >   i s   t h e   e x a c t   j s o n   f o r m a t t e d   v a l u e   o f   a   l i s t   i t e m   ' i : < i n d e x > ' ,   w h e r e   < i n d e x >   i s   p o s i t i o n   o f   a   i t e m   i n   a   l i s t   ' k : < k e y s > ' ,   w h e r e   < k e y s >   i s   a   m a p   o f   a   l i s t   i t e m ' s   k e y   f i e l d s   t o   t h e i r   u n i q u e   v a l u e s   I f   a   k e y   m a p s   t o   a n   e m p t y   F i e l d s   v a l u e ,   t h e   f i e l d   t h a t   k e y   r e p r e s e n t s   i s   p a r t   o f   t h e   s e t .   T h e   e x a c t   f o r m a t   i s   d e f i n e d   i n   s i g s . k 8 s . i o / s t r u c t u r e d - m e r g e - d i f f   M a n a g e d F i e l d s E n t r y   [ m e t a / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29545"
  },
  {
    "question": "What is FileKeySelector v1 core?",
    "answer": "F i l e K e y S e l e c t o r   s e l e c t s   a   k e y   o f   t h e   e n v   f i l e .   E n v V a r S o u r c e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29546"
  },
  {
    "question": "What is FlexPersistentVolumeSource v1 core?",
    "answer": "F l e x P e r s i s t e n t V o l u m e S o u r c e   r e p r e s e n t s   a   g e n e r i c   p e r s i s t e n t   v o l u m e   r e s o u r c e   t h a t   i s   p r o v i s i o n e d / a t t a c h e d   u s i n g   a n   e x e c   b a s e d   p l u g i n .   P e r s i s t e n t V o l u m e S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29547"
  },
  {
    "question": "What is FlexVolumeSource v1 core?",
    "answer": "F l e x V o l u m e   r e p r e s e n t s   a   g e n e r i c   v o l u m e   r e s o u r c e   t h a t   i s   p r o v i s i o n e d / a t t a c h e d   u s i n g   a n   e x e c   b a s e d   p l u g i n .   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29548"
  },
  {
    "question": "What is FlockerVolumeSource v1 core?",
    "answer": "R e p r e s e n t s   a   F l o c k e r   v o l u m e   m o u n t e d   b y   t h e   F l o c k e r   a g e n t .   O n e   a n d   o n l y   o n e   o f   d a t a s e t N a m e   a n d   d a t a s e t U U I D   s h o u l d   b e   s e t .   F l o c k e r   v o l u m e s   d o   n o t   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   o r   S E L i n u x   r e l a b e l i n g .   P e r s i s t e n t V o l u m e S p e c   [ c o r e / v 1 ]   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29549"
  },
  {
    "question": "What is FlowDistinguisherMethod v1 flowcontrol.apiserver.k8s.io?",
    "answer": "F l o w D i s t i n g u i s h e r M e t h o d   s p e c i f i e s   t h e   m e t h o d   o f   a   f l o w   d i s t i n g u i s h e r .   F l o w S c h e m a S p e c   [ f l o w c o n t r o l / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29550"
  },
  {
    "question": "What is FlowSchemaCondition v1 flowcontrol.apiserver.k8s.io?",
    "answer": "F l o w S c h e m a C o n d i t i o n   d e s c r i b e s   c o n d i t i o n s   f o r   a   F l o w S c h e m a .   F l o w S c h e m a S t a t u s   [ f l o w c o n t r o l / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29551"
  },
  {
    "question": "What is ForNode v1 discovery.k8s.io?",
    "answer": "F o r N o d e   p r o v i d e s   i n f o r m a t i o n   a b o u t   w h i c h   n o d e s   s h o u l d   c o n s u m e   t h i s   e n d p o i n t .   E n d p o i n t H i n t s   [ d i s c o v e r y / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29552"
  },
  {
    "question": "What is ForZone v1 discovery.k8s.io?",
    "answer": "F o r Z o n e   p r o v i d e s   i n f o r m a t i o n   a b o u t   w h i c h   z o n e s   s h o u l d   c o n s u m e   t h i s   e n d p o i n t .   E n d p o i n t H i n t s   [ d i s c o v e r y / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29553"
  },
  {
    "question": "What is GCEPersistentDiskVolumeSource v1 core?",
    "answer": "R e p r e s e n t s   a   P e r s i s t e n t   D i s k   r e s o u r c e   i n   G o o g l e   C o m p u t e   E n g i n e .   A   G C E   P D   m u s t   e x i s t   b e f o r e   m o u n t i n g   t o   a   c o n t a i n e r .   T h e   d i s k   m u s t   a l s o   b e   i n   t h e   s a m e   G C E   p r o j e c t   a n d   z o n e   a s   t h e   k u b e l e t .   A   G C E   P D   c a n   o n l y   b e   m o u n t e d   a s   r e a d / w r i t e   o n c e   o r   r e a d - o n l y   m a n y   t i m e s .   G C E   P D s   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a n d   S E L i n u x   r e l a b e l i n g .   P e r s i s t e n t V o l u m e S p e c   [ c o r e / v 1 ]   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29554"
  },
  {
    "question": "What is GRPCAction v1 core?",
    "answer": "G R P C A c t i o n   s p e c i f i e s   a n   a c t i o n   i n v o l v i n g   a   G R P C   s e r v i c e .   P r o b e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29555"
  },
  {
    "question": "What is GitRepoVolumeSource v1 core?",
    "answer": "R e p r e s e n t s   a   v o l u m e   t h a t   i s   p o p u l a t e d   w i t h   t h e   c o n t e n t s   o f   a   g i t   r e p o s i t o r y .   G i t   r e p o   v o l u m e s   d o   n o t   s u p p o r t   o w n e r s h i p   m a n a g e m e n t .   G i t   r e p o   v o l u m e s   s u p p o r t   S E L i n u x   r e l a b e l i n g .   D E P R E C A T E D :   G i t R e p o   i s   d e p r e c a t e d .   T o   p r o v i s i o n   a   c o n t a i n e r   w i t h   a   g i t   r e p o ,   m o u n t   a n   E m p t y D i r   i n t o   a n   I n i t C o n t a i n e r   t h a t   c l o n e s   t h e   r e p o   u s i n g   g i t ,   t h e n   m o u n t   t h e   E m p t y D i r   i n t o   t h e   P o d ' s   c o n t a i n e r .   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29556"
  },
  {
    "question": "What is GlusterfsPersistentVolumeSource v1 core?",
    "answer": "R e p r e s e n t s   a   G l u s t e r f s   m o u n t   t h a t   l a s t s   t h e   l i f e t i m e   o f   a   p o d .   G l u s t e r f s   v o l u m e s   d o   n o t   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   o r   S E L i n u x   r e l a b e l i n g .   P e r s i s t e n t V o l u m e S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29557"
  },
  {
    "question": "What is GlusterfsVolumeSource v1 core?",
    "answer": "R e p r e s e n t s   a   G l u s t e r f s   m o u n t   t h a t   l a s t s   t h e   l i f e t i m e   o f   a   p o d .   G l u s t e r f s   v o l u m e s   d o   n o t   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   o r   S E L i n u x   r e l a b e l i n g .   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29558"
  },
  {
    "question": "What is GroupSubject v1 flowcontrol.apiserver.k8s.io?",
    "answer": "G r o u p S u b j e c t   h o l d s   d e t a i l e d   i n f o r m a t i o n   f o r   g r o u p - k i n d   s u b j e c t .   S u b j e c t   [ f l o w c o n t r o l / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29559"
  },
  {
    "question": "What is GroupVersionForDiscovery v1 meta?",
    "answer": "G r o u p V e r s i o n   c o n t a i n s   t h e   \" g r o u p / v e r s i o n \"   a n d   \" v e r s i o n \"   s t r i n g   o f   a   v e r s i o n .   I t   i s   m a d e   a   s t r u c t   t o   k e e p   e x t e n s i b i l i t y .   A P I G r o u p   [ m e t a / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29560"
  },
  {
    "question": "What is GroupVersionResource v1alpha1 storagemigration.k8s.io?",
    "answer": "T h e   n a m e s   o f   t h e   g r o u p ,   t h e   v e r s i o n ,   a n d   t h e   r e s o u r c e .   S t o r a g e V e r s i o n M i g r a t i o n S p e c   [ s t o r a g e m i g r a t i o n / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29561"
  },
  {
    "question": "What is HPAScalingPolicy v2 autoscaling?",
    "answer": "H P A S c a l i n g P o l i c y   i s   a   s i n g l e   p o l i c y   w h i c h   m u s t   h o l d   t r u e   f o r   a   s p e c i f i e d   p a s t   i n t e r v a l .   H P A S c a l i n g R u l e s   [ a u t o s c a l i n g / v 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29562"
  },
  {
    "question": "What is HPAScalingRules v2 autoscaling?",
    "answer": "H P A S c a l i n g R u l e s   c o n f i g u r e s   t h e   s c a l i n g   b e h a v i o r   f o r   o n e   d i r e c t i o n   v i a   s c a l i n g   P o l i c y   R u l e s   a n d   a   c o n f i g u r a b l e   m e t r i c   t o l e r a n c e .   S c a l i n g   P o l i c y   R u l e s   a r e   a p p l i e d   a f t e r   c a l c u l a t i n g   D e s i r e d R e p l i c a s   f r o m   m e t r i c s   f o r   t h e   H P A .   T h e y   c a n   l i m i t   t h e   s c a l i n g   v e l o c i t y   b y   s p e c i f y i n g   s c a l i n g   p o l i c i e s .   T h e y   c a n   p r e v e n t   f l a p p i n g   b y   s p e c i f y i n g   t h e   s t a b i l i z a t i o n   w i n d o w ,   s o   t h a t   t h e   n u m b e r   o f   r e p l i c a s   i s   n o t   s e t   i n s t a n t l y ,   i n s t e a d ,   t h e   s a f e s t   v a l u e   f r o m   t h e   s t a b i l i z a t i o n   w i n d o w   i s   c h o s e n .   T h e   t o l e r a n c e   i s   a p p l i e d   t o   t h e   m e t r i c   v a l u e s   a n d   p r e v e n t s   s c a l i n g   t o o   e a g e r l y   f o r   s m a l l   m e t r i c   v a r i a t i o n s .   ( N o t e   t h a t   s e t t i n g   a   t o l e r a n c e   r e q u i r e s   e n a b l i n g   t h e   a l p h a   H P A C o n f i g u r a b l e T o l e r a n c e   f e a t u r e   g a t e . )   H o r i z o n t a l P o d A u t o s c a l e r B e h a v i o r   [ a u t o s c a l i n g / v 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29563"
  },
  {
    "question": "What is HTTPGetAction v1 core?",
    "answer": "H T T P G e t A c t i o n   d e s c r i b e s   a n   a c t i o n   b a s e d   o n   H T T P   G e t   r e q u e s t s .   L i f e c y c l e H a n d l e r   [ c o r e / v 1 ]   P r o b e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29564"
  },
  {
    "question": "What is HTTPHeader v1 core?",
    "answer": "H T T P H e a d e r   d e s c r i b e s   a   c u s t o m   h e a d e r   t o   b e   u s e d   i n   H T T P   p r o b e s   H T T P G e t A c t i o n   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29565"
  },
  {
    "question": "What is HTTPIngressPath v1 networking.k8s.io?",
    "answer": "H T T P I n g r e s s P a t h   a s s o c i a t e s   a   p a t h   w i t h   a   b a c k e n d .   I n c o m i n g   u r l s   m a t c h i n g   t h e   p a t h   a r e   f o r w a r d e d   t o   t h e   b a c k e n d .   H T T P I n g r e s s R u l e V a l u e   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29566"
  },
  {
    "question": "What is HTTPIngressRuleValue v1 networking.k8s.io?",
    "answer": "H T T P I n g r e s s R u l e V a l u e   i s   a   l i s t   o f   h t t p   s e l e c t o r s   p o i n t i n g   t o   b a c k e n d s .   I n   t h e   e x a m p l e :   h t t p : / / < h o s t > / < p a t h > ? < s e a r c h p a r t >   - >   b a c k e n d   w h e r e   w h e r e   p a r t s   o f   t h e   u r l   c o r r e s p o n d   t o   R F C   3 9 8 6 ,   t h i s   r e s o u r c e   w i l l   b e   u s e d   t o   m a t c h   a g a i n s t   e v e r y t h i n g   a f t e r   t h e   l a s t   ' / '   a n d   b e f o r e   t h e   f i r s t   ' ? '   o r   ' # ' .   I n g r e s s R u l e   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29567"
  },
  {
    "question": "What is HorizontalPodAutoscalerBehavior v2 autoscaling?",
    "answer": "H o r i z o n t a l P o d A u t o s c a l e r B e h a v i o r   c o n f i g u r e s   t h e   s c a l i n g   b e h a v i o r   o f   t h e   t a r g e t   i n   b o t h   U p   a n d   D o w n   d i r e c t i o n s   ( s c a l e U p   a n d   s c a l e D o w n   f i e l d s   r e s p e c t i v e l y ) .   H o r i z o n t a l P o d A u t o s c a l e r S p e c   [ a u t o s c a l i n g / v 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29568"
  },
  {
    "question": "What is HorizontalPodAutoscalerCondition v2 autoscaling?",
    "answer": "H o r i z o n t a l P o d A u t o s c a l e r C o n d i t i o n   d e s c r i b e s   t h e   s t a t e   o f   a   H o r i z o n t a l P o d A u t o s c a l e r   a t   a   c e r t a i n   p o i n t .   H o r i z o n t a l P o d A u t o s c a l e r S t a t u s   [ a u t o s c a l i n g / v 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29569"
  },
  {
    "question": "What is HostAlias v1 core?",
    "answer": "H o s t A l i a s   h o l d s   t h e   m a p p i n g   b e t w e e n   I P   a n d   h o s t n a m e s   t h a t   w i l l   b e   i n j e c t e d   a s   a n   e n t r y   i n   t h e   p o d ' s   h o s t s   f i l e .   P o d S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29570"
  },
  {
    "question": "What is HostIP v1 core?",
    "answer": "H o s t I P   r e p r e s e n t s   a   s i n g l e   I P   a d d r e s s   a l l o c a t e d   t o   t h e   h o s t .   P o d S t a t u s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29571"
  },
  {
    "question": "What is HostPathVolumeSource v1 core?",
    "answer": "R e p r e s e n t s   a   h o s t   p a t h   m a p p e d   i n t o   a   p o d .   H o s t   p a t h   v o l u m e s   d o   n o t   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   o r   S E L i n u x   r e l a b e l i n g .   P e r s i s t e n t V o l u m e S p e c   [ c o r e / v 1 ]   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29572"
  },
  {
    "question": "What is IPBlock v1 networking.k8s.io?",
    "answer": "I P B l o c k   d e s c r i b e s   a   p a r t i c u l a r   C I D R   ( E x .   \" 1 9 2 . 1 6 8 . 1 . 0 / 2 4 \" , \" 2 0 0 1 : d b 8 : : / 6 4 \" )   t h a t   i s   a l l o w e d   t o   t h e   p o d s   m a t c h e d   b y   a   N e t w o r k P o l i c y S p e c ' s   p o d S e l e c t o r .   T h e   e x c e p t   e n t r y   d e s c r i b e s   C I D R s   t h a t   s h o u l d   n o t   b e   i n c l u d e d   w i t h i n   t h i s   r u l e .   N e t w o r k P o l i c y P e e r   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29573"
  },
  {
    "question": "What is ISCSIPersistentVolumeSource v1 core?",
    "answer": "I S C S I P e r s i s t e n t V o l u m e S o u r c e   r e p r e s e n t s   a n   I S C S I   d i s k .   I S C S I   v o l u m e s   c a n   o n l y   b e   m o u n t e d   a s   r e a d / w r i t e   o n c e .   I S C S I   v o l u m e s   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a n d   S E L i n u x   r e l a b e l i n g .   P e r s i s t e n t V o l u m e S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29574"
  },
  {
    "question": "What is ISCSIVolumeSource v1 core?",
    "answer": "R e p r e s e n t s   a n   I S C S I   d i s k .   I S C S I   v o l u m e s   c a n   o n l y   b e   m o u n t e d   a s   r e a d / w r i t e   o n c e .   I S C S I   v o l u m e s   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a n d   S E L i n u x   r e l a b e l i n g .   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29575"
  },
  {
    "question": "What is ImageVolumeSource v1 core?",
    "answer": "I m a g e V o l u m e S o u r c e   r e p r e s e n t s   a   i m a g e   v o l u m e   r e s o u r c e .   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29576"
  },
  {
    "question": "What is IngressBackend v1 networking.k8s.io?",
    "answer": "I n g r e s s B a c k e n d   d e s c r i b e s   a l l   e n d p o i n t s   f o r   a   g i v e n   s e r v i c e   a n d   p o r t .   H T T P I n g r e s s P a t h   [ n e t w o r k i n g / v 1 ]   I n g r e s s S p e c   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29577"
  },
  {
    "question": "What is IngressClassParametersReference v1 networking.k8s.io?",
    "answer": "I n g r e s s C l a s s P a r a m e t e r s R e f e r e n c e   i d e n t i f i e s   a n   A P I   o b j e c t .   T h i s   c a n   b e   u s e d   t o   s p e c i f y   a   c l u s t e r   o r   n a m e s p a c e - s c o p e d   r e s o u r c e .   I n g r e s s C l a s s S p e c   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29578"
  },
  {
    "question": "What is IngressLoadBalancerIngress v1 networking.k8s.io?",
    "answer": "I n g r e s s L o a d B a l a n c e r I n g r e s s   r e p r e s e n t s   t h e   s t a t u s   o f   a   l o a d - b a l a n c e r   i n g r e s s   p o i n t .   I n g r e s s L o a d B a l a n c e r S t a t u s   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29579"
  },
  {
    "question": "What is IngressLoadBalancerStatus v1 networking.k8s.io?",
    "answer": "I n g r e s s L o a d B a l a n c e r S t a t u s   r e p r e s e n t s   t h e   s t a t u s   o f   a   l o a d - b a l a n c e r .   I n g r e s s S t a t u s   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29580"
  },
  {
    "question": "What is IngressPortStatus v1 networking.k8s.io?",
    "answer": "I n g r e s s P o r t S t a t u s   r e p r e s e n t s   t h e   e r r o r   c o n d i t i o n   o f   a   s e r v i c e   p o r t   I n g r e s s L o a d B a l a n c e r I n g r e s s   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29581"
  },
  {
    "question": "What is IngressRule v1 networking.k8s.io?",
    "answer": "I n g r e s s R u l e   r e p r e s e n t s   t h e   r u l e s   m a p p i n g   t h e   p a t h s   u n d e r   a   s p e c i f i e d   h o s t   t o   t h e   r e l a t e d   b a c k e n d   s e r v i c e s .   I n c o m i n g   r e q u e s t s   a r e   f i r s t   e v a l u a t e d   f o r   a   h o s t   m a t c h ,   t h e n   r o u t e d   t o   t h e   b a c k e n d   a s s o c i a t e d   w i t h   t h e   m a t c h i n g   I n g r e s s R u l e V a l u e .   I n g r e s s S p e c   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29582"
  },
  {
    "question": "What is IngressServiceBackend v1 networking.k8s.io?",
    "answer": "I n g r e s s S e r v i c e B a c k e n d   r e f e r e n c e s   a   K u b e r n e t e s   S e r v i c e   a s   a   B a c k e n d .   I n g r e s s B a c k e n d   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29583"
  },
  {
    "question": "What is IngressTLS v1 networking.k8s.io?",
    "answer": "I n g r e s s T L S   d e s c r i b e s   t h e   t r a n s p o r t   l a y e r   s e c u r i t y   a s s o c i a t e d   w i t h   a n   i n g r e s s .   I n g r e s s S p e c   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29584"
  },
  {
    "question": "What is JSON v1 apiextensions.k8s.io?",
    "answer": "J S O N   r e p r e s e n t s   a n y   v a l i d   J S O N   v a l u e .   T h e s e   t y p e s   a r e   s u p p o r t e d :   b o o l ,   i n t 6 4 ,   f l o a t 6 4 ,   s t r i n g ,   [ ] i n t e r f a c e { } ,   m a p [ s t r i n g ] i n t e r f a c e { }   a n d   n i l .   J S O N S c h e m a P r o p s   [ a p i e x t e n s i o n s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29585"
  },
  {
    "question": "What is JSONPatch v1beta1 admissionregistration.k8s.io?",
    "answer": "J S O N P a t c h   d e f i n e s   a   J S O N   P a t c h .   M u t a t i o n   [ a d m i s s i o n r e g i s t r a t i o n / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29586"
  },
  {
    "question": "What is JSONSchemaProps v1 apiextensions.k8s.io?",
    "answer": "J S O N S c h e m a P r o p s   i s   a   J S O N - S c h e m a   f o l l o w i n g   S p e c i f i c a t i o n   D r a f t   4   ( h t t p : / / j s o n - s c h e m a . o r g / ) .   C u s t o m R e s o u r c e V a l i d a t i o n   [ a p i e x t e n s i o n s / v 1 ]   J S O N S c h e m a P r o p s   [ a p i e x t e n s i o n s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29587"
  },
  {
    "question": "What is JSONSchemaPropsOrArray v1 apiextensions.k8s.io?",
    "answer": "J S O N S c h e m a P r o p s O r A r r a y   r e p r e s e n t s   a   v a l u e   t h a t   c a n   e i t h e r   b e   a   J S O N S c h e m a P r o p s   o r   a n   a r r a y   o f   J S O N S c h e m a P r o p s .   M a i n l y   h e r e   f o r   s e r i a l i z a t i o n   p u r p o s e s .   J S O N S c h e m a P r o p s   [ a p i e x t e n s i o n s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29588"
  },
  {
    "question": "What is JSONSchemaPropsOrBool v1 apiextensions.k8s.io?",
    "answer": "J S O N S c h e m a P r o p s O r B o o l   r e p r e s e n t s   J S O N S c h e m a P r o p s   o r   a   b o o l e a n   v a l u e .   D e f a u l t s   t o   t r u e   f o r   t h e   b o o l e a n   p r o p e r t y .   J S O N S c h e m a P r o p s   [ a p i e x t e n s i o n s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29589"
  },
  {
    "question": "What is JobCondition v1 batch?",
    "answer": "J o b C o n d i t i o n   d e s c r i b e s   c u r r e n t   s t a t e   o f   a   j o b .   J o b S t a t u s   [ b a t c h / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29590"
  },
  {
    "question": "What is JobTemplateSpec v1 batch?",
    "answer": "J o b T e m p l a t e S p e c   d e s c r i b e s   t h e   d a t a   a   J o b   s h o u l d   h a v e   w h e n   c r e a t e d   f r o m   a   t e m p l a t e   C r o n J o b S p e c   [ b a t c h / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29591"
  },
  {
    "question": "What is KeyToPath v1 core?",
    "answer": "M a p s   a   s t r i n g   k e y   t o   a   p a t h   w i t h i n   a   v o l u m e .   C o n f i g M a p P r o j e c t i o n   [ c o r e / v 1 ]   C o n f i g M a p V o l u m e S o u r c e   [ c o r e / v 1 ]   S e c r e t P r o j e c t i o n   [ c o r e / v 1 ]   S e c r e t V o l u m e S o u r c e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29592"
  },
  {
    "question": "What is LabelSelector v1 meta?",
    "answer": "A   l a b e l   s e l e c t o r   i s   a   l a b e l   q u e r y   o v e r   a   s e t   o f   r e s o u r c e s .   T h e   r e s u l t   o f   m a t c h L a b e l s   a n d   m a t c h E x p r e s s i o n s   a r e   A N D e d .   A n   e m p t y   l a b e l   s e l e c t o r   m a t c h e s   a l l   o b j e c t s .   A   n u l l   l a b e l   s e l e c t o r   m a t c h e s   n o   o b j e c t s .   A g g r e g a t i o n R u l e   [ r b a c / v 1 ]   C S I S t o r a g e C a p a c i t y   [ s t o r a g e / v 1 ]   C l u s t e r T r u s t B u n d l e P r o j e c t i o n   [ c o r e / v 1 ]   D a e m o n S e t S p e c   [ a p p s / v 1 ]   D e p l o y m e n t S p e c   [ a p p s / v 1 ]   J o b S p e c   [ b a t c h / v 1 ]   M a t c h R e s o u r c e s   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]   M a t c h R e s o u r c e s   [ a d m i s s i o n r e g i s t r a t i o n / v 1 b e t a 1 ]   M a t c h R e s o u r c e s   [ a d m i s s i o n r e g i s t r a t i o n / v 1 a l p h a 1 ]   M e t r i c I d e n t i f i e r   [ a u t o s c a l i n g / v 2 ]   M u t a t i n g W e b h o o k   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]   N e t w o r k P o l i c y P e e r   [ n e t w o r k i n g / v 1 ]   N e t w o r k P o l i c y S p e c   [ n e t w o r k i n g / v 1 ]   P a r a m R e f   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]   P a r a m R e f   [ a d m i s s i o n r e g i s t r a t i o n / v 1 b e t a 1 ]   P a r a m R e f   [ a d m i s s i o n r e g i s t r a t i o n / v 1 a l p h a 1 ]   P e r s i s t e n t V o l u m e C l a i m S p e c   [ c o r e / v 1 ]   P o d A f f i n i t y T e r m   [ c o r e / v 1 ]   P o d D i s r u p t i o n B u d g e t S p e c   [ p o l i c y / v 1 ]   R e p l i c a S e t S p e c   [ a p p s / v 1 ]   S t a t e f u l S e t S p e c   [ a p p s / v 1 ]   T o p o l o g y S p r e a d C o n s t r a i n t   [ c o r e / v 1 ]   V a l i d a t i n g W e b h o o k   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29593"
  },
  {
    "question": "What is LabelSelectorAttributes v1 authorization.k8s.io?",
    "answer": "L a b e l S e l e c t o r A t t r i b u t e s   i n d i c a t e s   a   l a b e l   l i m i t e d   a c c e s s .   W e b h o o k   a u t h o r s   a r e   e n c o u r a g e d   t o   *   e n s u r e   r a w S e l e c t o r   a n d   r e q u i r e m e n t s   a r e   n o t   b o t h   s e t   *   c o n s i d e r   t h e   r e q u i r e m e n t s   f i e l d   i f   s e t   *   n o t   t r y   t o   p a r s e   o r   c o n s i d e r   t h e   r a w S e l e c t o r   f i e l d   i f   s e t .   T h i s   i s   t o   a v o i d   a n o t h e r   C V E - 2 0 2 2 - 2 8 8 0   ( i . e .   g e t t i n g   d i f f e r e n t   s y s t e m s   t o   a g r e e   o n   h o w   e x a c t l y   t o   p a r s e   a   q u e r y   i s   n o t   s o m e t h i n g   w e   w a n t ) ,   s e e   h t t p s : / / w w w . o x e y e . i o / r e s o u r c e s / g o l a n g - p a r a m e t e r - s m u g g l i n g - a t t a c k   f o r   m o r e   d e t a i l s .   F o r   t h e   * S u b j e c t A c c e s s R e v i e w   e n d p o i n t s   o f   t h e   k u b e - a p i s e r v e r :   *   I f   r a w S e l e c t o r   i s   e m p t y   a n d   r e q u i r e m e n t s   a r e   e m p t y ,   t h e   r e q u e s t   i s   n o t   l i m i t e d .   *   I f   r a w S e l e c t o r   i s   p r e s e n t   a n d   r e q u i r e m e n t s   a r e   e m p t y ,   t h e   r a w S e l e c t o r   w i l l   b e   p a r s e d   a n d   l i m i t e d   i f   t h e   p a r s i n g   s u c c e e d s .   *   I f   r a w S e l e c t o r   i s   e m p t y   a n d   r e q u i r e m e n t s   a r e   p r e s e n t ,   t h e   r e q u i r e m e n t s   s h o u l d   b e   h o n o r e d   *   I f   r a w S e l e c t o r   i s   p r e s e n t   a n d   r e q u i r e m e n t s   a r e   p r e s e n t ,   t h e   r e q u e s t   i s   i n v a l i d .   R e s o u r c e A t t r i b u t e s   [ a u t h o r i z a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29594"
  },
  {
    "question": "What is LabelSelectorRequirement v1 meta?",
    "answer": "A   l a b e l   s e l e c t o r   r e q u i r e m e n t   i s   a   s e l e c t o r   t h a t   c o n t a i n s   v a l u e s ,   a   k e y ,   a n d   a n   o p e r a t o r   t h a t   r e l a t e s   t h e   k e y   a n d   v a l u e s .   L a b e l S e l e c t o r   [ m e t a / v 1 ]   L a b e l S e l e c t o r A t t r i b u t e s   [ a u t h o r i z a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29595"
  },
  {
    "question": "What is Lifecycle v1 core?",
    "answer": "L i f e c y c l e   d e s c r i b e s   a c t i o n s   t h a t   t h e   m a n a g e m e n t   s y s t e m   s h o u l d   t a k e   i n   r e s p o n s e   t o   c o n t a i n e r   l i f e c y c l e   e v e n t s .   F o r   t h e   P o s t S t a r t   a n d   P r e S t o p   l i f e c y c l e   h a n d l e r s ,   m a n a g e m e n t   o f   t h e   c o n t a i n e r   b l o c k s   u n t i l   t h e   a c t i o n   i s   c o m p l e t e ,   u n l e s s   t h e   c o n t a i n e r   p r o c e s s   f a i l s ,   i n   w h i c h   c a s e   t h e   h a n d l e r   i s   a b o r t e d .   C o n t a i n e r   [ c o r e / v 1 ]   E p h e m e r a l C o n t a i n e r   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29596"
  },
  {
    "question": "What is LifecycleHandler v1 core?",
    "answer": "L i f e c y c l e H a n d l e r   d e f i n e s   a   s p e c i f i c   a c t i o n   t h a t   s h o u l d   b e   t a k e n   i n   a   l i f e c y c l e   h o o k .   O n e   a n d   o n l y   o n e   o f   t h e   f i e l d s ,   e x c e p t   T C P S o c k e t   m u s t   b e   s p e c i f i e d .   L i f e c y c l e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29597"
  },
  {
    "question": "What is LimitRangeItem v1 core?",
    "answer": "L i m i t R a n g e I t e m   d e f i n e s   a   m i n / m a x   u s a g e   l i m i t   f o r   a n y   r e s o u r c e   t h a t   m a t c h e s   o n   k i n d .   L i m i t R a n g e S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29598"
  },
  {
    "question": "What is LimitResponse v1 flowcontrol.apiserver.k8s.io?",
    "answer": "L i m i t R e s p o n s e   d e f i n e s   h o w   t o   h a n d l e   r e q u e s t s   t h a t   c a n   n o t   b e   e x e c u t e d   r i g h t   n o w .   L i m i t e d P r i o r i t y L e v e l C o n f i g u r a t i o n   [ f l o w c o n t r o l / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29599"
  },
  {
    "question": "What is LimitedPriorityLevelConfiguration v1 flowcontrol.apiserver.k8s.io?",
    "answer": "L i m i t e d P r i o r i t y L e v e l C o n f i g u r a t i o n   s p e c i f i e s   h o w   t o   h a n d l e   r e q u e s t s   t h a t   a r e   s u b j e c t   t o   l i m i t s .   I t   a d d r e s s e s   t w o   i s s u e s :   -   H o w   a r e   r e q u e s t s   f o r   t h i s   p r i o r i t y   l e v e l   l i m i t e d ?   -   W h a t   s h o u l d   b e   d o n e   w i t h   r e q u e s t s   t h a t   e x c e e d   t h e   l i m i t ?   P r i o r i t y L e v e l C o n f i g u r a t i o n S p e c   [ f l o w c o n t r o l / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29600"
  },
  {
    "question": "What is LinuxContainerUser v1 core?",
    "answer": "L i n u x C o n t a i n e r U s e r   r e p r e s e n t s   u s e r   i d e n t i t y   i n f o r m a t i o n   i n   L i n u x   c o n t a i n e r s   C o n t a i n e r U s e r   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29601"
  },
  {
    "question": "What is ListMeta v1 meta?",
    "answer": "L i s t M e t a   d e s c r i b e s   m e t a d a t a   t h a t   s y n t h e t i c   r e s o u r c e s   m u s t   h a v e ,   i n c l u d i n g   l i s t s   a n d   v a r i o u s   s t a t u s   o b j e c t s .   A   r e s o u r c e   m a y   h a v e   o n l y   o n e   o f   { O b j e c t M e t a ,   L i s t M e t a } .   A P I S e r v i c e L i s t   [ a p i r e g i s t r a t i o n / v 1 ]   C S I D r i v e r L i s t   [ s t o r a g e / v 1 ]   C S I N o d e L i s t   [ s t o r a g e / v 1 ]   C S I S t o r a g e C a p a c i t y L i s t   [ s t o r a g e / v 1 ]   C e r t i f i c a t e S i g n i n g R e q u e s t L i s t   [ c e r t i f i c a t e s / v 1 ]   C l u s t e r R o l e B i n d i n g L i s t   [ r b a c / v 1 ]   C l u s t e r R o l e L i s t   [ r b a c / v 1 ]   C l u s t e r T r u s t B u n d l e L i s t   [ c e r t i f i c a t e s / v 1 b e t a 1 ]   C l u s t e r T r u s t B u n d l e L i s t   [ c e r t i f i c a t e s / v 1 a l p h a 1 ]   C o m p o n e n t S t a t u s L i s t   [ c o r e / v 1 ]   C o n f i g M a p L i s t   [ c o r e / v 1 ]   C o n t r o l l e r R e v i s i o n L i s t   [ a p p s / v 1 ]   C r o n J o b L i s t   [ b a t c h / v 1 ]   C u s t o m R e s o u r c e D e f i n i t i o n L i s t   [ a p i e x t e n s i o n s / v 1 ]   D a e m o n S e t L i s t   [ a p p s / v 1 ]   D e p l o y m e n t L i s t   [ a p p s / v 1 ]   D e v i c e C l a s s L i s t   [ r e s o u r c e / v 1 ]   D e v i c e C l a s s L i s t   [ r e s o u r c e / v 1 b e t a 2 ]   D e v i c e C l a s s L i s t   [ r e s o u r c e / v 1 b e t a 1 ]   D e v i c e T a i n t R u l e L i s t   [ r e s o u r c e / v 1 a l p h a 3 ]   E n d p o i n t S l i c e L i s t   [ d i s c o v e r y / v 1 ]   E n d p o i n t s L i s t   [ c o r e / v 1 ]   E v e n t L i s t   [ c o r e / v 1 ]   E v e n t L i s t   [ e v e n t s / v 1 ]   F l o w S c h e m a L i s t   [ f l o w c o n t r o l / v 1 ]   H o r i z o n t a l P o d A u t o s c a l e r L i s t   [ a u t o s ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29602"
  },
  {
    "question": "What is LoadBalancerIngress v1 core?",
    "answer": "L o a d B a l a n c e r I n g r e s s   r e p r e s e n t s   t h e   s t a t u s   o f   a   l o a d - b a l a n c e r   i n g r e s s   p o i n t :   t r a f f i c   i n t e n d e d   f o r   t h e   s e r v i c e   s h o u l d   b e   s e n t   t o   a n   i n g r e s s   p o i n t .   L o a d B a l a n c e r S t a t u s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29603"
  },
  {
    "question": "What is LoadBalancerStatus v1 core?",
    "answer": "L o a d B a l a n c e r S t a t u s   r e p r e s e n t s   t h e   s t a t u s   o f   a   l o a d - b a l a n c e r .   S e r v i c e S t a t u s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29604"
  },
  {
    "question": "What is LocalObjectReference v1 core?",
    "answer": "L o c a l O b j e c t R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   l o c a t e   t h e   r e f e r e n c e d   o b j e c t   i n s i d e   t h e   s a m e   n a m e s p a c e .   C S I V o l u m e S o u r c e   [ c o r e / v 1 ]   C e p h F S V o l u m e S o u r c e   [ c o r e / v 1 ]   C i n d e r V o l u m e S o u r c e   [ c o r e / v 1 ]   F l e x V o l u m e S o u r c e   [ c o r e / v 1 ]   I S C S I V o l u m e S o u r c e   [ c o r e / v 1 ]   P o d S p e c   [ c o r e / v 1 ]   R B D V o l u m e S o u r c e   [ c o r e / v 1 ]   S c a l e I O V o l u m e S o u r c e   [ c o r e / v 1 ]   S e r v i c e A c c o u n t   [ c o r e / v 1 ]   S t o r a g e O S V o l u m e S o u r c e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29605"
  },
  {
    "question": "What is LocalVolumeSource v1 core?",
    "answer": "L o c a l   r e p r e s e n t s   d i r e c t l y - a t t a c h e d   s t o r a g e   w i t h   n o d e   a f f i n i t y   P e r s i s t e n t V o l u m e S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29606"
  },
  {
    "question": "What is ManagedFieldsEntry v1 meta?",
    "answer": "M a n a g e d F i e l d s E n t r y   i s   a   w o r k f l o w - i d ,   a   F i e l d S e t   a n d   t h e   g r o u p   v e r s i o n   o f   t h e   r e s o u r c e   t h a t   t h e   f i e l d s e t   a p p l i e s   t o .   O b j e c t M e t a   [ m e t a / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29607"
  },
  {
    "question": "What is MatchCondition v1 admissionregistration.k8s.io?",
    "answer": "M a t c h C o n d i t i o n   r e p r e s e n t s   a   c o n d i t i o n   w h i c h   m u s t   b y   f u l f i l l e d   f o r   a   r e q u e s t   t o   b e   s e n t   t o   a   w e b h o o k .   M u t a t i n g W e b h o o k   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]   V a l i d a t i n g A d m i s s i o n P o l i c y S p e c   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]   V a l i d a t i n g W e b h o o k   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29608"
  },
  {
    "question": "What is MatchResources v1 admissionregistration.k8s.io?",
    "answer": "M a t c h R e s o u r c e s   d e c i d e s   w h e t h e r   t o   r u n   t h e   a d m i s s i o n   c o n t r o l   p o l i c y   o n   a n   o b j e c t   b a s e d   o n   w h e t h e r   i t   m e e t s   t h e   m a t c h   c r i t e r i a .   T h e   e x c l u d e   r u l e s   t a k e   p r e c e d e n c e   o v e r   i n c l u d e   r u l e s   ( i f   a   r e s o u r c e   m a t c h e s   b o t h ,   i t   i s   e x c l u d e d )   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g S p e c   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]   V a l i d a t i n g A d m i s s i o n P o l i c y S p e c   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29609"
  },
  {
    "question": "What is MetricIdentifier v2 autoscaling?",
    "answer": "M e t r i c I d e n t i f i e r   d e f i n e s   t h e   n a m e   a n d   o p t i o n a l l y   s e l e c t o r   f o r   a   m e t r i c   E x t e r n a l M e t r i c S o u r c e   [ a u t o s c a l i n g / v 2 ]   E x t e r n a l M e t r i c S t a t u s   [ a u t o s c a l i n g / v 2 ]   O b j e c t M e t r i c S o u r c e   [ a u t o s c a l i n g / v 2 ]   O b j e c t M e t r i c S t a t u s   [ a u t o s c a l i n g / v 2 ]   P o d s M e t r i c S o u r c e   [ a u t o s c a l i n g / v 2 ]   P o d s M e t r i c S t a t u s   [ a u t o s c a l i n g / v 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29610"
  },
  {
    "question": "What is MetricSpec v2 autoscaling?",
    "answer": "M e t r i c S p e c   s p e c i f i e s   h o w   t o   s c a l e   b a s e d   o n   a   s i n g l e   m e t r i c   ( o n l y   ` t y p e `   a n d   o n e   o t h e r   m a t c h i n g   f i e l d   s h o u l d   b e   s e t   a t   o n c e ) .   H o r i z o n t a l P o d A u t o s c a l e r S p e c   [ a u t o s c a l i n g / v 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29611"
  },
  {
    "question": "What is MetricStatus v2 autoscaling?",
    "answer": "M e t r i c S t a t u s   d e s c r i b e s   t h e   l a s t - r e a d   s t a t e   o f   a   s i n g l e   m e t r i c .   H o r i z o n t a l P o d A u t o s c a l e r S t a t u s   [ a u t o s c a l i n g / v 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29612"
  },
  {
    "question": "What is MetricTarget v2 autoscaling?",
    "answer": "M e t r i c T a r g e t   d e f i n e s   t h e   t a r g e t   v a l u e ,   a v e r a g e   v a l u e ,   o r   a v e r a g e   u t i l i z a t i o n   o f   a   s p e c i f i c   m e t r i c   C o n t a i n e r R e s o u r c e M e t r i c S o u r c e   [ a u t o s c a l i n g / v 2 ]   E x t e r n a l M e t r i c S o u r c e   [ a u t o s c a l i n g / v 2 ]   O b j e c t M e t r i c S o u r c e   [ a u t o s c a l i n g / v 2 ]   P o d s M e t r i c S o u r c e   [ a u t o s c a l i n g / v 2 ]   R e s o u r c e M e t r i c S o u r c e   [ a u t o s c a l i n g / v 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29613"
  },
  {
    "question": "What is MetricValueStatus v2 autoscaling?",
    "answer": "M e t r i c V a l u e S t a t u s   h o l d s   t h e   c u r r e n t   v a l u e   f o r   a   m e t r i c   C o n t a i n e r R e s o u r c e M e t r i c S t a t u s   [ a u t o s c a l i n g / v 2 ]   E x t e r n a l M e t r i c S t a t u s   [ a u t o s c a l i n g / v 2 ]   O b j e c t M e t r i c S t a t u s   [ a u t o s c a l i n g / v 2 ]   P o d s M e t r i c S t a t u s   [ a u t o s c a l i n g / v 2 ]   R e s o u r c e M e t r i c S t a t u s   [ a u t o s c a l i n g / v 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29614"
  },
  {
    "question": "What is MicroTime v1 meta?",
    "answer": "M i c r o T i m e   i s   v e r s i o n   o f   T i m e   w i t h   m i c r o s e c o n d   l e v e l   p r e c i s i o n .   E v e n t   [ c o r e / v 1 ]   E v e n t   [ e v e n t s / v 1 ]   E v e n t S e r i e s   [ c o r e / v 1 ]   E v e n t S e r i e s   [ e v e n t s / v 1 ]   L e a s e C a n d i d a t e S p e c   [ c o o r d i n a t i o n / v 1 b e t a 1 ]   L e a s e C a n d i d a t e S p e c   [ c o o r d i n a t i o n / v 1 a l p h a 2 ]   L e a s e S p e c   [ c o o r d i n a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29615"
  },
  {
    "question": "What is MigrationCondition v1alpha1 storagemigration.k8s.io?",
    "answer": "D e s c r i b e s   t h e   s t a t e   o f   a   m i g r a t i o n   a t   a   c e r t a i n   p o i n t .   S t o r a g e V e r s i o n M i g r a t i o n S t a t u s   [ s t o r a g e m i g r a t i o n / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29616"
  },
  {
    "question": "What is ModifyVolumeStatus v1 core?",
    "answer": "M o d i f y V o l u m e S t a t u s   r e p r e s e n t s   t h e   s t a t u s   o b j e c t   o f   C o n t r o l l e r M o d i f y V o l u m e   o p e r a t i o n   P e r s i s t e n t V o l u m e C l a i m S t a t u s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29617"
  },
  {
    "question": "What is MutatingWebhook v1 admissionregistration.k8s.io?",
    "answer": "M u t a t i n g W e b h o o k   d e s c r i b e s   a n   a d m i s s i o n   w e b h o o k   a n d   t h e   r e s o u r c e s   a n d   o p e r a t i o n s   i t   a p p l i e s   t o .   M u t a t i n g W e b h o o k C o n f i g u r a t i o n   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29618"
  },
  {
    "question": "What is Mutation v1beta1 admissionregistration.k8s.io?",
    "answer": "M u t a t i o n   s p e c i f i e s   t h e   C E L   e x p r e s s i o n   w h i c h   i s   u s e d   t o   a p p l y   t h e   M u t a t i o n .   M u t a t i n g A d m i s s i o n P o l i c y S p e c   [ a d m i s s i o n r e g i s t r a t i o n / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29619"
  },
  {
    "question": "What is NFSVolumeSource v1 core?",
    "answer": "R e p r e s e n t s   a n   N F S   m o u n t   t h a t   l a s t s   t h e   l i f e t i m e   o f   a   p o d .   N F S   v o l u m e s   d o   n o t   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   o r   S E L i n u x   r e l a b e l i n g .   P e r s i s t e n t V o l u m e S p e c   [ c o r e / v 1 ]   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29620"
  },
  {
    "question": "What is NamedRuleWithOperations v1 admissionregistration.k8s.io?",
    "answer": "N a m e d R u l e W i t h O p e r a t i o n s   i s   a   t u p l e   o f   O p e r a t i o n s   a n d   R e s o u r c e s   w i t h   R e s o u r c e N a m e s .   M a t c h R e s o u r c e s   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29621"
  },
  {
    "question": "What is NamespaceCondition v1 core?",
    "answer": "N a m e s p a c e C o n d i t i o n   c o n t a i n s   d e t a i l s   a b o u t   s t a t e   o f   n a m e s p a c e .   N a m e s p a c e S t a t u s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29622"
  },
  {
    "question": "What is NetworkDeviceData v1 resource.k8s.io?",
    "answer": "N e t w o r k D e v i c e D a t a   p r o v i d e s   n e t w o r k - r e l a t e d   d e t a i l s   f o r   t h e   a l l o c a t e d   d e v i c e .   T h i s   i n f o r m a t i o n   m a y   b e   f i l l e d   b y   d r i v e r s   o r   o t h e r   c o m p o n e n t s   t o   c o n f i g u r e   o r   i d e n t i f y   t h e   d e v i c e   w i t h i n   a   n e t w o r k   c o n t e x t .   A l l o c a t e d D e v i c e S t a t u s   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29623"
  },
  {
    "question": "What is NetworkPolicyEgressRule v1 networking.k8s.io?",
    "answer": "N e t w o r k P o l i c y E g r e s s R u l e   d e s c r i b e s   a   p a r t i c u l a r   s e t   o f   t r a f f i c   t h a t   i s   a l l o w e d   o u t   o f   p o d s   m a t c h e d   b y   a   N e t w o r k P o l i c y S p e c ' s   p o d S e l e c t o r .   T h e   t r a f f i c   m u s t   m a t c h   b o t h   p o r t s   a n d   t o .   T h i s   t y p e   i s   b e t a - l e v e l   i n   1 . 8   N e t w o r k P o l i c y S p e c   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29624"
  },
  {
    "question": "What is NetworkPolicyIngressRule v1 networking.k8s.io?",
    "answer": "N e t w o r k P o l i c y I n g r e s s R u l e   d e s c r i b e s   a   p a r t i c u l a r   s e t   o f   t r a f f i c   t h a t   i s   a l l o w e d   t o   t h e   p o d s   m a t c h e d   b y   a   N e t w o r k P o l i c y S p e c ' s   p o d S e l e c t o r .   T h e   t r a f f i c   m u s t   m a t c h   b o t h   p o r t s   a n d   f r o m .   N e t w o r k P o l i c y S p e c   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29625"
  },
  {
    "question": "What is NetworkPolicyPeer v1 networking.k8s.io?",
    "answer": "N e t w o r k P o l i c y P e e r   d e s c r i b e s   a   p e e r   t o   a l l o w   t r a f f i c   t o / f r o m .   O n l y   c e r t a i n   c o m b i n a t i o n s   o f   f i e l d s   a r e   a l l o w e d   N e t w o r k P o l i c y E g r e s s R u l e   [ n e t w o r k i n g / v 1 ]   N e t w o r k P o l i c y I n g r e s s R u l e   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29626"
  },
  {
    "question": "What is NetworkPolicyPort v1 networking.k8s.io?",
    "answer": "N e t w o r k P o l i c y P o r t   d e s c r i b e s   a   p o r t   t o   a l l o w   t r a f f i c   o n   N e t w o r k P o l i c y E g r e s s R u l e   [ n e t w o r k i n g / v 1 ]   N e t w o r k P o l i c y I n g r e s s R u l e   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29627"
  },
  {
    "question": "What is NodeAddress v1 core?",
    "answer": "N o d e A d d r e s s   c o n t a i n s   i n f o r m a t i o n   f o r   t h e   n o d e ' s   a d d r e s s .   N o d e S t a t u s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29628"
  },
  {
    "question": "What is NodeAffinity v1 core?",
    "answer": "N o d e   a f f i n i t y   i s   a   g r o u p   o f   n o d e   a f f i n i t y   s c h e d u l i n g   r u l e s .   A f f i n i t y   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29629"
  },
  {
    "question": "What is NodeCondition v1 core?",
    "answer": "N o d e C o n d i t i o n   c o n t a i n s   c o n d i t i o n   i n f o r m a t i o n   f o r   a   n o d e .   N o d e S t a t u s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29630"
  },
  {
    "question": "What is NodeConfigSource v1 core?",
    "answer": "N o d e C o n f i g S o u r c e   s p e c i f i e s   a   s o u r c e   o f   n o d e   c o n f i g u r a t i o n .   E x a c t l y   o n e   s u b f i e l d   ( e x c l u d i n g   m e t a d a t a )   m u s t   b e   n o n - n i l .   T h i s   A P I   i s   d e p r e c a t e d   s i n c e   1 . 2 2   N o d e C o n f i g S t a t u s   [ c o r e / v 1 ]   N o d e S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29631"
  },
  {
    "question": "What is NodeConfigStatus v1 core?",
    "answer": "N o d e C o n f i g S t a t u s   d e s c r i b e s   t h e   s t a t u s   o f   t h e   c o n f i g   a s s i g n e d   b y   N o d e . S p e c . C o n f i g S o u r c e .   N o d e S t a t u s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29632"
  },
  {
    "question": "What is NodeDaemonEndpoints v1 core?",
    "answer": "N o d e D a e m o n E n d p o i n t s   l i s t s   p o r t s   o p e n e d   b y   d a e m o n s   r u n n i n g   o n   t h e   N o d e .   N o d e S t a t u s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29633"
  },
  {
    "question": "What is NodeFeatures v1 core?",
    "answer": "N o d e F e a t u r e s   d e s c r i b e s   t h e   s e t   o f   f e a t u r e s   i m p l e m e n t e d   b y   t h e   C R I   i m p l e m e n t a t i o n .   T h e   f e a t u r e s   c o n t a i n e d   i n   t h e   N o d e F e a t u r e s   s h o u l d   d e p e n d   o n l y   o n   t h e   c r i   i m p l e m e n t a t i o n   i n d e p e n d e n t   o f   r u n t i m e   h a n d l e r s .   N o d e S t a t u s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29634"
  },
  {
    "question": "What is NodeRuntimeHandler v1 core?",
    "answer": "N o d e R u n t i m e H a n d l e r   i s   a   s e t   o f   r u n t i m e   h a n d l e r   i n f o r m a t i o n .   N o d e S t a t u s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29635"
  },
  {
    "question": "What is NodeRuntimeHandlerFeatures v1 core?",
    "answer": "N o d e R u n t i m e H a n d l e r F e a t u r e s   i s   a   s e t   o f   f e a t u r e s   i m p l e m e n t e d   b y   t h e   r u n t i m e   h a n d l e r .   N o d e R u n t i m e H a n d l e r   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29636"
  },
  {
    "question": "What is NodeSelector v1 core?",
    "answer": "A   n o d e   s e l e c t o r   r e p r e s e n t s   t h e   u n i o n   o f   t h e   r e s u l t s   o f   o n e   o r   m o r e   l a b e l   q u e r i e s   o v e r   a   s e t   o f   n o d e s ;   t h a t   i s ,   i t   r e p r e s e n t s   t h e   O R   o f   t h e   s e l e c t o r s   r e p r e s e n t e d   b y   t h e   n o d e   s e l e c t o r   t e r m s .   A l l o c a t i o n R e s u l t   [ r e s o u r c e / v 1 ]   A l l o c a t i o n R e s u l t   [ r e s o u r c e / v 1 b e t a 2 ]   A l l o c a t i o n R e s u l t   [ r e s o u r c e / v 1 b e t a 1 ]   B a s i c D e v i c e   [ r e s o u r c e / v 1 b e t a 1 ]   D e v i c e   [ r e s o u r c e / v 1 ]   D e v i c e   [ r e s o u r c e / v 1 b e t a 2 ]   N o d e A f f i n i t y   [ c o r e / v 1 ]   R e s o u r c e S l i c e S p e c   [ r e s o u r c e / v 1 ]   R e s o u r c e S l i c e S p e c   [ r e s o u r c e / v 1 b e t a 2 ]   R e s o u r c e S l i c e S p e c   [ r e s o u r c e / v 1 b e t a 1 ]   V o l u m e N o d e A f f i n i t y   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29637"
  },
  {
    "question": "What is NodeSelectorRequirement v1 core?",
    "answer": "A   n o d e   s e l e c t o r   r e q u i r e m e n t   i s   a   s e l e c t o r   t h a t   c o n t a i n s   v a l u e s ,   a   k e y ,   a n d   a n   o p e r a t o r   t h a t   r e l a t e s   t h e   k e y   a n d   v a l u e s .   N o d e S e l e c t o r T e r m   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29638"
  },
  {
    "question": "What is NodeSelectorTerm v1 core?",
    "answer": "A   n u l l   o r   e m p t y   n o d e   s e l e c t o r   t e r m   m a t c h e s   n o   o b j e c t s .   T h e   r e q u i r e m e n t s   o f   t h e m   a r e   A N D e d .   T h e   T o p o l o g y S e l e c t o r T e r m   t y p e   i m p l e m e n t s   a   s u b s e t   o f   t h e   N o d e S e l e c t o r T e r m .   N o d e S e l e c t o r   [ c o r e / v 1 ]   P r e f e r r e d S c h e d u l i n g T e r m   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29639"
  },
  {
    "question": "What is NodeSwapStatus v1 core?",
    "answer": "N o d e S w a p S t a t u s   r e p r e s e n t s   s w a p   m e m o r y   i n f o r m a t i o n .   N o d e S y s t e m I n f o   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29640"
  },
  {
    "question": "What is NodeSystemInfo v1 core?",
    "answer": "N o d e S y s t e m I n f o   i s   a   s e t   o f   i d s / u u i d s   t o   u n i q u e l y   i d e n t i f y   t h e   n o d e .   N o d e S t a t u s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29641"
  },
  {
    "question": "What is NonResourceAttributes v1 authorization.k8s.io?",
    "answer": "N o n R e s o u r c e A t t r i b u t e s   i n c l u d e s   t h e   a u t h o r i z a t i o n   a t t r i b u t e s   a v a i l a b l e   f o r   n o n - r e s o u r c e   r e q u e s t s   t o   t h e   A u t h o r i z e r   i n t e r f a c e   S e l f S u b j e c t A c c e s s R e v i e w S p e c   [ a u t h o r i z a t i o n / v 1 ]   S u b j e c t A c c e s s R e v i e w S p e c   [ a u t h o r i z a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29642"
  },
  {
    "question": "What is NonResourcePolicyRule v1 flowcontrol.apiserver.k8s.io?",
    "answer": "N o n R e s o u r c e P o l i c y R u l e   i s   a   p r e d i c a t e   t h a t   m a t c h e s   n o n - r e s o u r c e   r e q u e s t s   a c c o r d i n g   t o   t h e i r   v e r b   a n d   t h e   t a r g e t   n o n - r e s o u r c e   U R L .   A   N o n R e s o u r c e P o l i c y R u l e   m a t c h e s   a   r e q u e s t   i f   a n d   o n l y   i f   b o t h   ( a )   a t   l e a s t   o n e   m e m b e r   o f   v e r b s   m a t c h e s   t h e   r e q u e s t   a n d   ( b )   a t   l e a s t   o n e   m e m b e r   o f   n o n R e s o u r c e U R L s   m a t c h e s   t h e   r e q u e s t .   P o l i c y R u l e s W i t h S u b j e c t s   [ f l o w c o n t r o l / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29643"
  },
  {
    "question": "What is NonResourceRule v1 authorization.k8s.io?",
    "answer": "N o n R e s o u r c e R u l e   h o l d s   i n f o r m a t i o n   t h a t   d e s c r i b e s   a   r u l e   f o r   t h e   n o n - r e s o u r c e   S u b j e c t R u l e s R e v i e w S t a t u s   [ a u t h o r i z a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29644"
  },
  {
    "question": "What is ObjectFieldSelector v1 core?",
    "answer": "O b j e c t F i e l d S e l e c t o r   s e l e c t s   a n   A P I V e r s i o n e d   f i e l d   o f   a n   o b j e c t .   D o w n w a r d A P I V o l u m e F i l e   [ c o r e / v 1 ]   E n v V a r S o u r c e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29645"
  },
  {
    "question": "What is ObjectMeta v1 meta?",
    "answer": "O b j e c t M e t a   i s   m e t a d a t a   t h a t   a l l   p e r s i s t e d   r e s o u r c e s   m u s t   h a v e ,   w h i c h   i n c l u d e s   a l l   o b j e c t s   u s e r s   m u s t   c r e a t e .   A P I S e r v i c e   [ a p i r e g i s t r a t i o n / v 1 ]   B i n d i n g   [ c o r e / v 1 ]   C S I D r i v e r   [ s t o r a g e / v 1 ]   C S I N o d e   [ s t o r a g e / v 1 ]   C S I S t o r a g e C a p a c i t y   [ s t o r a g e / v 1 ]   C e r t i f i c a t e S i g n i n g R e q u e s t   [ c e r t i f i c a t e s / v 1 ]   C l u s t e r R o l e   [ r b a c / v 1 ]   C l u s t e r R o l e B i n d i n g   [ r b a c / v 1 ]   C l u s t e r T r u s t B u n d l e   [ c e r t i f i c a t e s / v 1 b e t a 1 ]   C l u s t e r T r u s t B u n d l e   [ c e r t i f i c a t e s / v 1 a l p h a 1 ]   C o m p o n e n t S t a t u s   [ c o r e / v 1 ]   C o n f i g M a p   [ c o r e / v 1 ]   C o n t r o l l e r R e v i s i o n   [ a p p s / v 1 ]   C r o n J o b   [ b a t c h / v 1 ]   C u s t o m R e s o u r c e D e f i n i t i o n   [ a p i e x t e n s i o n s / v 1 ]   D a e m o n S e t   [ a p p s / v 1 ]   D e p l o y m e n t   [ a p p s / v 1 ]   D e v i c e C l a s s   [ r e s o u r c e / v 1 ]   D e v i c e C l a s s   [ r e s o u r c e / v 1 b e t a 2 ]   D e v i c e C l a s s   [ r e s o u r c e / v 1 b e t a 1 ]   D e v i c e T a i n t R u l e   [ r e s o u r c e / v 1 a l p h a 3 ]   E n d p o i n t S l i c e   [ d i s c o v e r y / v 1 ]   E n d p o i n t s   [ c o r e / v 1 ]   E v e n t   [ c o r e / v 1 ]   E v e n t   [ e v e n t s / v 1 ]   E v i c t i o n   [ p o l i c y / v 1 ]   F l o w S c h e m a   [ f l o w c o n t r o l / v 1 ]   H o r i z o n t a l P o d A u t o s c a l e r   [ a u t o s c a l i n g / v 2 ]   H o r i z o n t a l P o d A u t o s c a l e r   [ a u t o s c a l i n g / v 1 ]   I P A d d r e s s   [ n e t w o r k i n g / v 1 ]   I P A d d r e s s   [ n e t w o r k i n g / v 1 b e t a 1 ]   I n g r e s s   [ n e ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29646"
  },
  {
    "question": "What is ObjectMetricSource v2 autoscaling?",
    "answer": "O b j e c t M e t r i c S o u r c e   i n d i c a t e s   h o w   t o   s c a l e   o n   a   m e t r i c   d e s c r i b i n g   a   k u b e r n e t e s   o b j e c t   ( f o r   e x a m p l e ,   h i t s - p e r - s e c o n d   o n   a n   I n g r e s s   o b j e c t ) .   M e t r i c S p e c   [ a u t o s c a l i n g / v 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29647"
  },
  {
    "question": "What is ObjectMetricStatus v2 autoscaling?",
    "answer": "O b j e c t M e t r i c S t a t u s   i n d i c a t e s   t h e   c u r r e n t   v a l u e   o f   a   m e t r i c   d e s c r i b i n g   a   k u b e r n e t e s   o b j e c t   ( f o r   e x a m p l e ,   h i t s - p e r - s e c o n d   o n   a n   I n g r e s s   o b j e c t ) .   M e t r i c S t a t u s   [ a u t o s c a l i n g / v 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29648"
  },
  {
    "question": "What is ObjectReference v1 core?",
    "answer": "O b j e c t R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   i n s p e c t   o r   m o d i f y   t h e   r e f e r r e d   o b j e c t .   B i n d i n g   [ c o r e / v 1 ]   C r o n J o b S t a t u s   [ b a t c h / v 1 ]   E n d p o i n t   [ d i s c o v e r y / v 1 ]   E n d p o i n t A d d r e s s   [ c o r e / v 1 ]   E v e n t   [ c o r e / v 1 ]   E v e n t   [ e v e n t s / v 1 ]   P e r s i s t e n t V o l u m e S p e c   [ c o r e / v 1 ]   S e r v i c e A c c o u n t   [ c o r e / v 1 ]   S t o r a g e O S P e r s i s t e n t V o l u m e S o u r c e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29649"
  },
  {
    "question": "What is OpaqueDeviceConfiguration v1 resource.k8s.io?",
    "answer": "O p a q u e D e v i c e C o n f i g u r a t i o n   c o n t a i n s   c o n f i g u r a t i o n   p a r a m e t e r s   f o r   a   d r i v e r   i n   a   f o r m a t   d e f i n e d   b y   t h e   d r i v e r   v e n d o r .   D e v i c e A l l o c a t i o n C o n f i g u r a t i o n   [ r e s o u r c e / v 1 ]   D e v i c e C l a i m C o n f i g u r a t i o n   [ r e s o u r c e / v 1 ]   D e v i c e C l a s s C o n f i g u r a t i o n   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29650"
  },
  {
    "question": "What is Overhead v1 node.k8s.io?",
    "answer": "O v e r h e a d   s t r u c t u r e   r e p r e s e n t s   t h e   r e s o u r c e   o v e r h e a d   a s s o c i a t e d   w i t h   r u n n i n g   a   p o d .   R u n t i m e C l a s s   [ n o d e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29651"
  },
  {
    "question": "What is OwnerReference v1 meta?",
    "answer": "O w n e r R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   i d e n t i f y   a n   o w n i n g   o b j e c t .   A n   o w n i n g   o b j e c t   m u s t   b e   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   d e p e n d e n t ,   o r   b e   c l u s t e r - s c o p e d ,   s o   t h e r e   i s   n o   n a m e s p a c e   f i e l d .   O b j e c t M e t a   [ m e t a / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29652"
  },
  {
    "question": "What is ParamKind v1 admissionregistration.k8s.io?",
    "answer": "P a r a m K i n d   i s   a   t u p l e   o f   G r o u p   K i n d   a n d   V e r s i o n .   V a l i d a t i n g A d m i s s i o n P o l i c y S p e c   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29653"
  },
  {
    "question": "What is ParamRef v1 admissionregistration.k8s.io?",
    "answer": "P a r a m R e f   d e s c r i b e s   h o w   t o   l o c a t e   t h e   p a r a m s   t o   b e   u s e d   a s   i n p u t   t o   e x p r e s s i o n s   o f   r u l e s   a p p l i e d   b y   a   p o l i c y   b i n d i n g .   V a l i d a t i n g A d m i s s i o n P o l i c y B i n d i n g S p e c   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29654"
  },
  {
    "question": "What is ParentReference v1 networking.k8s.io?",
    "answer": "P a r e n t R e f e r e n c e   d e s c r i b e s   a   r e f e r e n c e   t o   a   p a r e n t   o b j e c t .   I P A d d r e s s S p e c   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29655"
  },
  {
    "question": "What is Patch v1 meta?",
    "answer": "P a t c h   i s   p r o v i d e d   t o   g i v e   a   c o n c r e t e   n a m e   a n d   t y p e   t o   t h e   K u b e r n e t e s   P A T C H   r e q u e s t   b o d y .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29656"
  },
  {
    "question": "What is PersistentVolumeClaimCondition v1 core?",
    "answer": "P e r s i s t e n t V o l u m e C l a i m C o n d i t i o n   c o n t a i n s   d e t a i l s   a b o u t   s t a t e   o f   p v c   P e r s i s t e n t V o l u m e C l a i m S t a t u s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29657"
  },
  {
    "question": "What is PersistentVolumeClaimTemplate v1 core?",
    "answer": "P e r s i s t e n t V o l u m e C l a i m T e m p l a t e   i s   u s e d   t o   p r o d u c e   P e r s i s t e n t V o l u m e C l a i m   o b j e c t s   a s   p a r t   o f   a n   E p h e m e r a l V o l u m e S o u r c e .   E p h e m e r a l V o l u m e S o u r c e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29658"
  },
  {
    "question": "What is PersistentVolumeClaimVolumeSource v1 core?",
    "answer": "P e r s i s t e n t V o l u m e C l a i m V o l u m e S o u r c e   r e f e r e n c e s   t h e   u s e r ' s   P V C   i n   t h e   s a m e   n a m e s p a c e .   T h i s   v o l u m e   f i n d s   t h e   b o u n d   P V   a n d   m o u n t s   t h a t   v o l u m e   f o r   t h e   p o d .   A   P e r s i s t e n t V o l u m e C l a i m V o l u m e S o u r c e   i s ,   e s s e n t i a l l y ,   a   w r a p p e r   a r o u n d   a n o t h e r   t y p e   o f   v o l u m e   t h a t   i s   o w n e d   b y   s o m e o n e   e l s e   ( t h e   s y s t e m ) .   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29659"
  },
  {
    "question": "What is PhotonPersistentDiskVolumeSource v1 core?",
    "answer": "R e p r e s e n t s   a   P h o t o n   C o n t r o l l e r   p e r s i s t e n t   d i s k   r e s o u r c e .   P e r s i s t e n t V o l u m e S p e c   [ c o r e / v 1 ]   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29660"
  },
  {
    "question": "What is PodAffinity v1 core?",
    "answer": "P o d   a f f i n i t y   i s   a   g r o u p   o f   i n t e r   p o d   a f f i n i t y   s c h e d u l i n g   r u l e s .   A f f i n i t y   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29661"
  },
  {
    "question": "What is PodAffinityTerm v1 core?",
    "answer": "D e f i n e s   a   s e t   o f   p o d s   ( n a m e l y   t h o s e   m a t c h i n g   t h e   l a b e l S e l e c t o r   r e l a t i v e   t o   t h e   g i v e n   n a m e s p a c e ( s ) )   t h a t   t h i s   p o d   s h o u l d   b e   c o - l o c a t e d   ( a f f i n i t y )   o r   n o t   c o - l o c a t e d   ( a n t i - a f f i n i t y )   w i t h ,   w h e r e   c o - l o c a t e d   i s   d e f i n e d   a s   r u n n i n g   o n   a   n o d e   w h o s e   v a l u e   o f   t h e   l a b e l   w i t h   k e y   < t o p o l o g y K e y >   m a t c h e s   t h a t   o f   a n y   n o d e   o n   w h i c h   a   p o d   o f   t h e   s e t   o f   p o d s   i s   r u n n i n g   P o d A f f i n i t y   [ c o r e / v 1 ]   P o d A n t i A f f i n i t y   [ c o r e / v 1 ]   W e i g h t e d P o d A f f i n i t y T e r m   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29662"
  },
  {
    "question": "What is PodAntiAffinity v1 core?",
    "answer": "P o d   a n t i   a f f i n i t y   i s   a   g r o u p   o f   i n t e r   p o d   a n t i   a f f i n i t y   s c h e d u l i n g   r u l e s .   A f f i n i t y   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29663"
  },
  {
    "question": "What is PodCertificateProjection v1 core?",
    "answer": "P o d C e r t i f i c a t e P r o j e c t i o n   p r o v i d e s   a   p r i v a t e   k e y   a n d   X . 5 0 9   c e r t i f i c a t e   i n   t h e   p o d   f i l e s y s t e m .   V o l u m e P r o j e c t i o n   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29664"
  },
  {
    "question": "What is PodCondition v1 core?",
    "answer": "P o d C o n d i t i o n   c o n t a i n s   d e t a i l s   f o r   t h e   c u r r e n t   c o n d i t i o n   o f   t h i s   p o d .   P o d S t a t u s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29665"
  },
  {
    "question": "What is PodDNSConfig v1 core?",
    "answer": "P o d D N S C o n f i g   d e f i n e s   t h e   D N S   p a r a m e t e r s   o f   a   p o d   i n   a d d i t i o n   t o   t h o s e   g e n e r a t e d   f r o m   D N S P o l i c y .   P o d S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29666"
  },
  {
    "question": "What is PodDNSConfigOption v1 core?",
    "answer": "P o d D N S C o n f i g O p t i o n   d e f i n e s   D N S   r e s o l v e r   o p t i o n s   o f   a   p o d .   P o d D N S C o n f i g   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29667"
  },
  {
    "question": "What is PodExtendedResourceClaimStatus v1 core?",
    "answer": "P o d E x t e n d e d R e s o u r c e C l a i m S t a t u s   i s   s t o r e d   i n   t h e   P o d S t a t u s   f o r   t h e   e x t e n d e d   r e s o u r c e   r e q u e s t s   b a c k e d   b y   D R A .   I t   s t o r e s   t h e   g e n e r a t e d   n a m e   f o r   t h e   c o r r e s p o n d i n g   s p e c i a l   R e s o u r c e C l a i m   c r e a t e d   b y   t h e   s c h e d u l e r .   P o d S t a t u s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29668"
  },
  {
    "question": "What is PodFailurePolicy v1 batch?",
    "answer": "P o d F a i l u r e P o l i c y   d e s c r i b e s   h o w   f a i l e d   p o d s   i n f l u e n c e   t h e   b a c k o f f L i m i t .   J o b S p e c   [ b a t c h / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29669"
  },
  {
    "question": "What is PodFailurePolicyOnExitCodesRequirement v1 batch?",
    "answer": "P o d F a i l u r e P o l i c y O n E x i t C o d e s R e q u i r e m e n t   d e s c r i b e s   t h e   r e q u i r e m e n t   f o r   h a n d l i n g   a   f a i l e d   p o d   b a s e d   o n   i t s   c o n t a i n e r   e x i t   c o d e s .   I n   p a r t i c u l a r ,   i t   l o o k u p s   t h e   . s t a t e . t e r m i n a t e d . e x i t C o d e   f o r   e a c h   a p p   c o n t a i n e r   a n d   i n i t   c o n t a i n e r   s t a t u s ,   r e p r e s e n t e d   b y   t h e   . s t a t u s . c o n t a i n e r S t a t u s e s   a n d   . s t a t u s . i n i t C o n t a i n e r S t a t u s e s   f i e l d s   i n   t h e   P o d   s t a t u s ,   r e s p e c t i v e l y .   C o n t a i n e r s   c o m p l e t e d   w i t h   s u c c e s s   ( e x i t   c o d e   0 )   a r e   e x c l u d e d   f r o m   t h e   r e q u i r e m e n t   c h e c k .   P o d F a i l u r e P o l i c y R u l e   [ b a t c h / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29670"
  },
  {
    "question": "What is PodFailurePolicyOnPodConditionsPattern v1 batch?",
    "answer": "P o d F a i l u r e P o l i c y O n P o d C o n d i t i o n s P a t t e r n   d e s c r i b e s   a   p a t t e r n   f o r   m a t c h i n g   a n   a c t u a l   p o d   c o n d i t i o n   t y p e .   P o d F a i l u r e P o l i c y R u l e   [ b a t c h / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29671"
  },
  {
    "question": "What is PodFailurePolicyRule v1 batch?",
    "answer": "P o d F a i l u r e P o l i c y R u l e   d e s c r i b e s   h o w   a   p o d   f a i l u r e   i s   h a n d l e d   w h e n   t h e   r e q u i r e m e n t s   a r e   m e t .   O n e   o f   o n E x i t C o d e s   a n d   o n P o d C o n d i t i o n s ,   b u t   n o t   b o t h ,   c a n   b e   u s e d   i n   e a c h   r u l e .   P o d F a i l u r e P o l i c y   [ b a t c h / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29672"
  },
  {
    "question": "What is PodIP v1 core?",
    "answer": "P o d I P   r e p r e s e n t s   a   s i n g l e   I P   a d d r e s s   a l l o c a t e d   t o   t h e   p o d .   P o d S t a t u s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29673"
  },
  {
    "question": "What is PodOS v1 core?",
    "answer": "P o d O S   d e f i n e s   t h e   O S   p a r a m e t e r s   o f   a   p o d .   P o d S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29674"
  },
  {
    "question": "What is PodReadinessGate v1 core?",
    "answer": "P o d R e a d i n e s s G a t e   c o n t a i n s   t h e   r e f e r e n c e   t o   a   p o d   c o n d i t i o n   P o d S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29675"
  },
  {
    "question": "What is PodResourceClaim v1 core?",
    "answer": "P o d R e s o u r c e C l a i m   r e f e r e n c e s   e x a c t l y   o n e   R e s o u r c e C l a i m ,   e i t h e r   d i r e c t l y   o r   b y   n a m i n g   a   R e s o u r c e C l a i m T e m p l a t e   w h i c h   i s   t h e n   t u r n e d   i n t o   a   R e s o u r c e C l a i m   f o r   t h e   p o d .   I t   a d d s   a   n a m e   t o   i t   t h a t   u n i q u e l y   i d e n t i f i e s   t h e   R e s o u r c e C l a i m   i n s i d e   t h e   P o d .   C o n t a i n e r s   t h a t   n e e d   a c c e s s   t o   t h e   R e s o u r c e C l a i m   r e f e r e n c e   i t   w i t h   t h i s   n a m e .   P o d S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29676"
  },
  {
    "question": "What is PodSchedulingGate v1 core?",
    "answer": "P o d S c h e d u l i n g G a t e   i s   a s s o c i a t e d   t o   a   P o d   t o   g u a r d   i t s   s c h e d u l i n g .   P o d S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29677"
  },
  {
    "question": "What is PodSecurityContext v1 core?",
    "answer": "P o d S e c u r i t y C o n t e x t   h o l d s   p o d - l e v e l   s e c u r i t y   a t t r i b u t e s   a n d   c o m m o n   c o n t a i n e r   s e t t i n g s .   S o m e   f i e l d s   a r e   a l s o   p r e s e n t   i n   c o n t a i n e r . s e c u r i t y C o n t e x t .   F i e l d   v a l u e s   o f   c o n t a i n e r . s e c u r i t y C o n t e x t   t a k e   p r e c e d e n c e   o v e r   f i e l d   v a l u e s   o f   P o d S e c u r i t y C o n t e x t .   P o d S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29678"
  },
  {
    "question": "What is PodsMetricSource v2 autoscaling?",
    "answer": "P o d s M e t r i c S o u r c e   i n d i c a t e s   h o w   t o   s c a l e   o n   a   m e t r i c   d e s c r i b i n g   e a c h   p o d   i n   t h e   c u r r e n t   s c a l e   t a r g e t   ( f o r   e x a m p l e ,   t r a n s a c t i o n s - p r o c e s s e d - p e r - s e c o n d ) .   T h e   v a l u e s   w i l l   b e   a v e r a g e d   t o g e t h e r   b e f o r e   b e i n g   c o m p a r e d   t o   t h e   t a r g e t   v a l u e .   M e t r i c S p e c   [ a u t o s c a l i n g / v 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29679"
  },
  {
    "question": "What is PodsMetricStatus v2 autoscaling?",
    "answer": "P o d s M e t r i c S t a t u s   i n d i c a t e s   t h e   c u r r e n t   v a l u e   o f   a   m e t r i c   d e s c r i b i n g   e a c h   p o d   i n   t h e   c u r r e n t   s c a l e   t a r g e t   ( f o r   e x a m p l e ,   t r a n s a c t i o n s - p r o c e s s e d - p e r - s e c o n d ) .   M e t r i c S t a t u s   [ a u t o s c a l i n g / v 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29680"
  },
  {
    "question": "What is PolicyRule v1 rbac.authorization.k8s.io?",
    "answer": "P o l i c y R u l e   h o l d s   i n f o r m a t i o n   t h a t   d e s c r i b e s   a   p o l i c y   r u l e ,   b u t   d o e s   n o t   c o n t a i n   i n f o r m a t i o n   a b o u t   w h o   t h e   r u l e   a p p l i e s   t o   o r   w h i c h   n a m e s p a c e   t h e   r u l e   a p p l i e s   t o .   C l u s t e r R o l e   [ r b a c / v 1 ]   R o l e   [ r b a c / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29681"
  },
  {
    "question": "What is PolicyRulesWithSubjects v1 flowcontrol.apiserver.k8s.io?",
    "answer": "P o l i c y R u l e s W i t h S u b j e c t s   p r e s c r i b e s   a   t e s t   t h a t   a p p l i e s   t o   a   r e q u e s t   t o   a n   a p i s e r v e r .   T h e   t e s t   c o n s i d e r s   t h e   s u b j e c t   m a k i n g   t h e   r e q u e s t ,   t h e   v e r b   b e i n g   r e q u e s t e d ,   a n d   t h e   r e s o u r c e   t o   b e   a c t e d   u p o n .   T h i s   P o l i c y R u l e s W i t h S u b j e c t s   m a t c h e s   a   r e q u e s t   i f   a n d   o n l y   i f   b o t h   ( a )   a t   l e a s t   o n e   m e m b e r   o f   s u b j e c t s   m a t c h e s   t h e   r e q u e s t   a n d   ( b )   a t   l e a s t   o n e   m e m b e r   o f   r e s o u r c e R u l e s   o r   n o n R e s o u r c e R u l e s   m a t c h e s   t h e   r e q u e s t .   F l o w S c h e m a S p e c   [ f l o w c o n t r o l / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29682"
  },
  {
    "question": "What is PortStatus v1 core?",
    "answer": "P o r t S t a t u s   r e p r e s e n t s   t h e   e r r o r   c o n d i t i o n   o f   a   s e r v i c e   p o r t   L o a d B a l a n c e r I n g r e s s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29683"
  },
  {
    "question": "What is PortworxVolumeSource v1 core?",
    "answer": "P o r t w o r x V o l u m e S o u r c e   r e p r e s e n t s   a   P o r t w o r x   v o l u m e   r e s o u r c e .   P e r s i s t e n t V o l u m e S p e c   [ c o r e / v 1 ]   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29684"
  },
  {
    "question": "What is Preconditions v1 meta?",
    "answer": "P r e c o n d i t i o n s   m u s t   b e   f u l f i l l e d   b e f o r e   a n   o p e r a t i o n   ( u p d a t e ,   d e l e t e ,   e t c . )   i s   c a r r i e d   o u t .   D e l e t e O p t i o n s   [ m e t a / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29685"
  },
  {
    "question": "What is PreferredSchedulingTerm v1 core?",
    "answer": "A n   e m p t y   p r e f e r r e d   s c h e d u l i n g   t e r m   m a t c h e s   a l l   o b j e c t s   w i t h   i m p l i c i t   w e i g h t   0   ( i . e .   i t ' s   a   n o - o p ) .   A   n u l l   p r e f e r r e d   s c h e d u l i n g   t e r m   m a t c h e s   n o   o b j e c t s   ( i . e .   i s   a l s o   a   n o - o p ) .   N o d e A f f i n i t y   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29686"
  },
  {
    "question": "What is PriorityLevelConfigurationCondition v1 flowcontrol.apiserver.k8s.io?",
    "answer": "P r i o r i t y L e v e l C o n f i g u r a t i o n C o n d i t i o n   d e f i n e s   t h e   c o n d i t i o n   o f   p r i o r i t y   l e v e l .   P r i o r i t y L e v e l C o n f i g u r a t i o n S t a t u s   [ f l o w c o n t r o l / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29687"
  },
  {
    "question": "What is PriorityLevelConfigurationReference v1 flowcontrol.apiserver.k8s.io?",
    "answer": "P r i o r i t y L e v e l C o n f i g u r a t i o n R e f e r e n c e   c o n t a i n s   i n f o r m a t i o n   t h a t   p o i n t s   t o   t h e   \" r e q u e s t - p r i o r i t y \"   b e i n g   u s e d .   F l o w S c h e m a S p e c   [ f l o w c o n t r o l / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29688"
  },
  {
    "question": "What is Probe v1 core?",
    "answer": "P r o b e   d e s c r i b e s   a   h e a l t h   c h e c k   t o   b e   p e r f o r m e d   a g a i n s t   a   c o n t a i n e r   t o   d e t e r m i n e   w h e t h e r   i t   i s   a l i v e   o r   r e a d y   t o   r e c e i v e   t r a f f i c .   C o n t a i n e r   [ c o r e / v 1 ]   E p h e m e r a l C o n t a i n e r   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29689"
  },
  {
    "question": "What is ProjectedVolumeSource v1 core?",
    "answer": "R e p r e s e n t s   a   p r o j e c t e d   v o l u m e   s o u r c e   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29690"
  },
  {
    "question": "What is Quantity resource core?",
    "answer": "Q u a n t i t y   i s   a   f i x e d - p o i n t   r e p r e s e n t a t i o n   o f   a   n u m b e r .   I t   p r o v i d e s   c o n v e n i e n t   m a r s h a l i n g / u n m a r s h a l i n g   i n   J S O N   a n d   Y A M L ,   i n   a d d i t i o n   t o   S t r i n g ( )   a n d   A s I n t 6 4 ( )   a c c e s s o r s .   T h e   s e r i a l i z a t i o n   f o r m a t   i s :   ` ` `   < q u a n t i t y >   : : =   < s i g n e d N u m b e r > < s u f f i x >   ( N o t e   t h a t   < s u f f i x >   m a y   b e   e m p t y ,   f r o m   t h e   \" \"   c a s e   i n   < d e c i m a l S I > . )   < d i g i t >   : : =   0   |   1   |   . . .   |   9   < d i g i t s >   : : =   < d i g i t >   |   < d i g i t > < d i g i t s >   < n u m b e r >   : : =   < d i g i t s >   |   < d i g i t s > . < d i g i t s >   |   < d i g i t s > .   |   . < d i g i t s >   < s i g n >   : : =   \" + \"   |   \" - \"   < s i g n e d N u m b e r >   : : =   < n u m b e r >   |   < s i g n > < n u m b e r >   < s u f f i x >   : : =   < b i n a r y S I >   |   < d e c i m a l E x p o n e n t >   |   < d e c i m a l S I >   < b i n a r y S I >   : : =   K i   |   M i   |   G i   |   T i   |   P i   |   E i   ( I n t e r n a t i o n a l   S y s t e m   o f   u n i t s ;   S e e :   h t t p : / / p h y s i c s . n i s t . g o v / c u u / U n i t s / b i n a r y . h t m l )   < d e c i m a l S I >   : : =   m   |   \" \"   |   k   |   M   |   G   |   T   |   P   |   E   ( N o t e   t h a t   1 0 2 4   =   1 K i   b u t   1 0 0 0   =   1 k ;   I   d i d n ' t   c h o o s e   t h e   c a p i t a l i z a t i o n . )   < d e c i m a l E x p o n e n t >   : : =   \" e \"   < s i g n e d N u m b e r >   |   \" E \"   < s i g n e d N u m b e r >   ` ` `   N o   m a t t e r   w h i c h   o f   t h e   t h r e e   e x p o n e n t   f o r m s   i s   u s e d ,   n o   q u a n t i t y   m a y   r e p r e s e n t   a   n u m b e r   g r e a t e r   t h a n   2 ^ 6 3 - 1   i n   m a g n i t u d e ,   ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29691"
  },
  {
    "question": "What is QueuingConfiguration v1 flowcontrol.apiserver.k8s.io?",
    "answer": "Q u e u i n g C o n f i g u r a t i o n   h o l d s   t h e   c o n f i g u r a t i o n   p a r a m e t e r s   f o r   q u e u i n g   L i m i t R e s p o n s e   [ f l o w c o n t r o l / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29692"
  },
  {
    "question": "What is QuobyteVolumeSource v1 core?",
    "answer": "R e p r e s e n t s   a   Q u o b y t e   m o u n t   t h a t   l a s t s   t h e   l i f e t i m e   o f   a   p o d .   Q u o b y t e   v o l u m e s   d o   n o t   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   o r   S E L i n u x   r e l a b e l i n g .   P e r s i s t e n t V o l u m e S p e c   [ c o r e / v 1 ]   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29693"
  },
  {
    "question": "What is RBDPersistentVolumeSource v1 core?",
    "answer": "R e p r e s e n t s   a   R a d o s   B l o c k   D e v i c e   m o u n t   t h a t   l a s t s   t h e   l i f e t i m e   o f   a   p o d .   R B D   v o l u m e s   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a n d   S E L i n u x   r e l a b e l i n g .   P e r s i s t e n t V o l u m e S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29694"
  },
  {
    "question": "What is RBDVolumeSource v1 core?",
    "answer": "R e p r e s e n t s   a   R a d o s   B l o c k   D e v i c e   m o u n t   t h a t   l a s t s   t h e   l i f e t i m e   o f   a   p o d .   R B D   v o l u m e s   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a n d   S E L i n u x   r e l a b e l i n g .   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29695"
  },
  {
    "question": "What is ReplicaSetCondition v1 apps?",
    "answer": "R e p l i c a S e t C o n d i t i o n   d e s c r i b e s   t h e   s t a t e   o f   a   r e p l i c a   s e t   a t   a   c e r t a i n   p o i n t .   R e p l i c a S e t S t a t u s   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29696"
  },
  {
    "question": "What is ReplicationControllerCondition v1 core?",
    "answer": "R e p l i c a t i o n C o n t r o l l e r C o n d i t i o n   d e s c r i b e s   t h e   s t a t e   o f   a   r e p l i c a t i o n   c o n t r o l l e r   a t   a   c e r t a i n   p o i n t .   R e p l i c a t i o n C o n t r o l l e r S t a t u s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29697"
  },
  {
    "question": "What is ResourceAttributes v1 authorization.k8s.io?",
    "answer": "R e s o u r c e A t t r i b u t e s   i n c l u d e s   t h e   a u t h o r i z a t i o n   a t t r i b u t e s   a v a i l a b l e   f o r   r e s o u r c e   r e q u e s t s   t o   t h e   A u t h o r i z e r   i n t e r f a c e   S e l f S u b j e c t A c c e s s R e v i e w S p e c   [ a u t h o r i z a t i o n / v 1 ]   S u b j e c t A c c e s s R e v i e w S p e c   [ a u t h o r i z a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29698"
  },
  {
    "question": "What is ResourceClaim v1 core?",
    "answer": "R e s o u r c e C l a i m   r e f e r e n c e s   o n e   e n t r y   i n   P o d S p e c . R e s o u r c e C l a i m s .   R e s o u r c e R e q u i r e m e n t s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29699"
  },
  {
    "question": "What is ResourceClaimConsumerReference v1 resource.k8s.io?",
    "answer": "R e s o u r c e C l a i m C o n s u m e r R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   l o c a t e   t h e   c o n s u m e r   o f   a   R e s o u r c e C l a i m .   T h e   u s e r   m u s t   b e   a   r e s o u r c e   i n   t h e   s a m e   n a m e s p a c e   a s   t h e   R e s o u r c e C l a i m .   R e s o u r c e C l a i m S t a t u s   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29700"
  },
  {
    "question": "What is ResourceFieldSelector v1 core?",
    "answer": "R e s o u r c e F i e l d S e l e c t o r   r e p r e s e n t s   c o n t a i n e r   r e s o u r c e s   ( c p u ,   m e m o r y )   a n d   t h e i r   o u t p u t   f o r m a t   D o w n w a r d A P I V o l u m e F i l e   [ c o r e / v 1 ]   E n v V a r S o u r c e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29701"
  },
  {
    "question": "What is ResourceHealth v1 core?",
    "answer": "R e s o u r c e H e a l t h   r e p r e s e n t s   t h e   h e a l t h   o f   a   r e s o u r c e .   I t   h a s   t h e   l a t e s t   d e v i c e   h e a l t h   i n f o r m a t i o n .   T h i s   i s   a   p a r t   o f   K E P   h t t p s : / / k e p . k 8 s . i o / 4 6 8 0 .   R e s o u r c e S t a t u s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29702"
  },
  {
    "question": "What is ResourceMetricSource v2 autoscaling?",
    "answer": "R e s o u r c e M e t r i c S o u r c e   i n d i c a t e s   h o w   t o   s c a l e   o n   a   r e s o u r c e   m e t r i c   k n o w n   t o   K u b e r n e t e s ,   a s   s p e c i f i e d   i n   r e q u e s t s   a n d   l i m i t s ,   d e s c r i b i n g   e a c h   p o d   i n   t h e   c u r r e n t   s c a l e   t a r g e t   ( e . g .   C P U   o r   m e m o r y ) .   T h e   v a l u e s   w i l l   b e   a v e r a g e d   t o g e t h e r   b e f o r e   b e i n g   c o m p a r e d   t o   t h e   t a r g e t .   S u c h   m e t r i c s   a r e   b u i l t   i n   t o   K u b e r n e t e s ,   a n d   h a v e   s p e c i a l   s c a l i n g   o p t i o n s   o n   t o p   o f   t h o s e   a v a i l a b l e   t o   n o r m a l   p e r - p o d   m e t r i c s   u s i n g   t h e   \" p o d s \"   s o u r c e .   O n l y   o n e   \" t a r g e t \"   t y p e   s h o u l d   b e   s e t .   M e t r i c S p e c   [ a u t o s c a l i n g / v 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29703"
  },
  {
    "question": "What is ResourceMetricStatus v2 autoscaling?",
    "answer": "R e s o u r c e M e t r i c S t a t u s   i n d i c a t e s   t h e   c u r r e n t   v a l u e   o f   a   r e s o u r c e   m e t r i c   k n o w n   t o   K u b e r n e t e s ,   a s   s p e c i f i e d   i n   r e q u e s t s   a n d   l i m i t s ,   d e s c r i b i n g   e a c h   p o d   i n   t h e   c u r r e n t   s c a l e   t a r g e t   ( e . g .   C P U   o r   m e m o r y ) .   S u c h   m e t r i c s   a r e   b u i l t   i n   t o   K u b e r n e t e s ,   a n d   h a v e   s p e c i a l   s c a l i n g   o p t i o n s   o n   t o p   o f   t h o s e   a v a i l a b l e   t o   n o r m a l   p e r - p o d   m e t r i c s   u s i n g   t h e   \" p o d s \"   s o u r c e .   M e t r i c S t a t u s   [ a u t o s c a l i n g / v 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29704"
  },
  {
    "question": "What is ResourcePolicyRule v1 flowcontrol.apiserver.k8s.io?",
    "answer": "R e s o u r c e P o l i c y R u l e   i s   a   p r e d i c a t e   t h a t   m a t c h e s   s o m e   r e s o u r c e   r e q u e s t s ,   t e s t i n g   t h e   r e q u e s t ' s   v e r b   a n d   t h e   t a r g e t   r e s o u r c e .   A   R e s o u r c e P o l i c y R u l e   m a t c h e s   a   r e s o u r c e   r e q u e s t   i f   a n d   o n l y   i f :   ( a )   a t   l e a s t   o n e   m e m b e r   o f   v e r b s   m a t c h e s   t h e   r e q u e s t ,   ( b )   a t   l e a s t   o n e   m e m b e r   o f   a p i G r o u p s   m a t c h e s   t h e   r e q u e s t ,   ( c )   a t   l e a s t   o n e   m e m b e r   o f   r e s o u r c e s   m a t c h e s   t h e   r e q u e s t ,   a n d   ( d )   e i t h e r   ( d 1 )   t h e   r e q u e s t   d o e s   n o t   s p e c i f y   a   n a m e s p a c e   ( i . e . ,   ` N a m e s p a c e = = \" \" ` )   a n d   c l u s t e r S c o p e   i s   t r u e   o r   ( d 2 )   t h e   r e q u e s t   s p e c i f i e s   a   n a m e s p a c e   a n d   l e a s t   o n e   m e m b e r   o f   n a m e s p a c e s   m a t c h e s   t h e   r e q u e s t ' s   n a m e s p a c e .   P o l i c y R u l e s W i t h S u b j e c t s   [ f l o w c o n t r o l / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29705"
  },
  {
    "question": "What is ResourcePool v1 resource.k8s.io?",
    "answer": "R e s o u r c e P o o l   d e s c r i b e s   t h e   p o o l   t h a t   R e s o u r c e S l i c e s   b e l o n g   t o .   R e s o u r c e S l i c e S p e c   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29706"
  },
  {
    "question": "What is ResourceRequirements v1 core?",
    "answer": "R e s o u r c e R e q u i r e m e n t s   d e s c r i b e s   t h e   c o m p u t e   r e s o u r c e   r e q u i r e m e n t s .   C o n t a i n e r   [ c o r e / v 1 ]   C o n t a i n e r S t a t u s   [ c o r e / v 1 ]   E p h e m e r a l C o n t a i n e r   [ c o r e / v 1 ]   P o d S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29707"
  },
  {
    "question": "What is ResourceRule v1 authorization.k8s.io?",
    "answer": "R e s o u r c e R u l e   i s   t h e   l i s t   o f   a c t i o n s   t h e   s u b j e c t   i s   a l l o w e d   t o   p e r f o r m   o n   r e s o u r c e s .   T h e   l i s t   o r d e r i n g   i s n ' t   s i g n i f i c a n t ,   m a y   c o n t a i n   d u p l i c a t e s ,   a n d   p o s s i b l y   b e   i n c o m p l e t e .   S u b j e c t R u l e s R e v i e w S t a t u s   [ a u t h o r i z a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29708"
  },
  {
    "question": "What is ResourceStatus v1 core?",
    "answer": "R e s o u r c e S t a t u s   r e p r e s e n t s   t h e   s t a t u s   o f   a   s i n g l e   r e s o u r c e   a l l o c a t e d   t o   a   P o d .   C o n t a i n e r S t a t u s   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29709"
  },
  {
    "question": "What is RoleRef v1 rbac.authorization.k8s.io?",
    "answer": "R o l e R e f   c o n t a i n s   i n f o r m a t i o n   t h a t   p o i n t s   t o   t h e   r o l e   b e i n g   u s e d   C l u s t e r R o l e B i n d i n g   [ r b a c / v 1 ]   R o l e B i n d i n g   [ r b a c / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29710"
  },
  {
    "question": "What is RollingUpdateStatefulSetStrategy v1 apps?",
    "answer": "R o l l i n g U p d a t e S t a t e f u l S e t S t r a t e g y   i s   u s e d   t o   c o m m u n i c a t e   p a r a m e t e r   f o r   R o l l i n g U p d a t e S t a t e f u l S e t S t r a t e g y T y p e .   S t a t e f u l S e t U p d a t e S t r a t e g y   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29711"
  },
  {
    "question": "What is RuleWithOperations v1 admissionregistration.k8s.io?",
    "answer": "R u l e W i t h O p e r a t i o n s   i s   a   t u p l e   o f   O p e r a t i o n s   a n d   R e s o u r c e s .   I t   i s   r e c o m m e n d e d   t o   m a k e   s u r e   t h a t   a l l   t h e   t u p l e   e x p a n s i o n s   a r e   v a l i d .   M u t a t i n g W e b h o o k   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]   V a l i d a t i n g W e b h o o k   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29712"
  },
  {
    "question": "What is SELinuxOptions v1 core?",
    "answer": "S E L i n u x O p t i o n s   a r e   t h e   l a b e l s   t o   b e   a p p l i e d   t o   t h e   c o n t a i n e r   P o d S e c u r i t y C o n t e x t   [ c o r e / v 1 ]   S e c u r i t y C o n t e x t   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29713"
  },
  {
    "question": "What is Scale v1 autoscaling?",
    "answer": "S c a l e   r e p r e s e n t s   a   s c a l i n g   r e q u e s t   f o r   a   r e s o u r c e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29714"
  },
  {
    "question": "What is ScaleIOPersistentVolumeSource v1 core?",
    "answer": "S c a l e I O P e r s i s t e n t V o l u m e S o u r c e   r e p r e s e n t s   a   p e r s i s t e n t   S c a l e I O   v o l u m e   P e r s i s t e n t V o l u m e S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29715"
  },
  {
    "question": "What is ScaleIOVolumeSource v1 core?",
    "answer": "S c a l e I O V o l u m e S o u r c e   r e p r e s e n t s   a   p e r s i s t e n t   S c a l e I O   v o l u m e   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29716"
  },
  {
    "question": "What is Scheduling v1 node.k8s.io?",
    "answer": "S c h e d u l i n g   s p e c i f i e s   t h e   s c h e d u l i n g   c o n s t r a i n t s   f o r   n o d e s   s u p p o r t i n g   a   R u n t i m e C l a s s .   R u n t i m e C l a s s   [ n o d e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29717"
  },
  {
    "question": "What is ScopeSelector v1 core?",
    "answer": "A   s c o p e   s e l e c t o r   r e p r e s e n t s   t h e   A N D   o f   t h e   s e l e c t o r s   r e p r e s e n t e d   b y   t h e   s c o p e d - r e s o u r c e   s e l e c t o r   r e q u i r e m e n t s .   R e s o u r c e Q u o t a S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29718"
  },
  {
    "question": "What is ScopedResourceSelectorRequirement v1 core?",
    "answer": "A   s c o p e d - r e s o u r c e   s e l e c t o r   r e q u i r e m e n t   i s   a   s e l e c t o r   t h a t   c o n t a i n s   v a l u e s ,   a   s c o p e   n a m e ,   a n d   a n   o p e r a t o r   t h a t   r e l a t e s   t h e   s c o p e   n a m e   a n d   v a l u e s .   S c o p e S e l e c t o r   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29719"
  },
  {
    "question": "What is SeccompProfile v1 core?",
    "answer": "S e c c o m p P r o f i l e   d e f i n e s   a   p o d / c o n t a i n e r ' s   s e c c o m p   p r o f i l e   s e t t i n g s .   O n l y   o n e   p r o f i l e   s o u r c e   m a y   b e   s e t .   P o d S e c u r i t y C o n t e x t   [ c o r e / v 1 ]   S e c u r i t y C o n t e x t   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29720"
  },
  {
    "question": "What is SecretEnvSource v1 core?",
    "answer": "S e c r e t E n v S o u r c e   s e l e c t s   a   S e c r e t   t o   p o p u l a t e   t h e   e n v i r o n m e n t   v a r i a b l e s   w i t h .   T h e   c o n t e n t s   o f   t h e   t a r g e t   S e c r e t ' s   D a t a   f i e l d   w i l l   r e p r e s e n t   t h e   k e y - v a l u e   p a i r s   a s   e n v i r o n m e n t   v a r i a b l e s .   E n v F r o m S o u r c e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29721"
  },
  {
    "question": "What is SecretKeySelector v1 core?",
    "answer": "S e c r e t K e y S e l e c t o r   s e l e c t s   a   k e y   o f   a   S e c r e t .   E n v V a r S o u r c e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29722"
  },
  {
    "question": "What is SecretProjection v1 core?",
    "answer": "A d a p t s   a   s e c r e t   i n t o   a   p r o j e c t e d   v o l u m e .   T h e   c o n t e n t s   o f   t h e   t a r g e t   S e c r e t ' s   D a t a   f i e l d   w i l l   b e   p r e s e n t e d   i n   a   p r o j e c t e d   v o l u m e   a s   f i l e s   u s i n g   t h e   k e y s   i n   t h e   D a t a   f i e l d   a s   t h e   f i l e   n a m e s .   N o t e   t h a t   t h i s   i s   i d e n t i c a l   t o   a   s e c r e t   v o l u m e   s o u r c e   w i t h o u t   t h e   d e f a u l t   m o d e .   V o l u m e P r o j e c t i o n   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29723"
  },
  {
    "question": "What is SecretReference v1 core?",
    "answer": "S e c r e t R e f e r e n c e   r e p r e s e n t s   a   S e c r e t   R e f e r e n c e .   I t   h a s   e n o u g h   i n f o r m a t i o n   t o   r e t r i e v e   s e c r e t   i n   a n y   n a m e s p a c e   C S I P e r s i s t e n t V o l u m e S o u r c e   [ c o r e / v 1 ]   C e p h F S P e r s i s t e n t V o l u m e S o u r c e   [ c o r e / v 1 ]   C i n d e r P e r s i s t e n t V o l u m e S o u r c e   [ c o r e / v 1 ]   F l e x P e r s i s t e n t V o l u m e S o u r c e   [ c o r e / v 1 ]   I S C S I P e r s i s t e n t V o l u m e S o u r c e   [ c o r e / v 1 ]   R B D P e r s i s t e n t V o l u m e S o u r c e   [ c o r e / v 1 ]   S c a l e I O P e r s i s t e n t V o l u m e S o u r c e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29724"
  },
  {
    "question": "What is SecretVolumeSource v1 core?",
    "answer": "A d a p t s   a   S e c r e t   i n t o   a   v o l u m e .   T h e   c o n t e n t s   o f   t h e   t a r g e t   S e c r e t ' s   D a t a   f i e l d   w i l l   b e   p r e s e n t e d   i n   a   v o l u m e   a s   f i l e s   u s i n g   t h e   k e y s   i n   t h e   D a t a   f i e l d   a s   t h e   f i l e   n a m e s .   S e c r e t   v o l u m e s   s u p p o r t   o w n e r s h i p   m a n a g e m e n t   a n d   S E L i n u x   r e l a b e l i n g .   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29725"
  },
  {
    "question": "What is SecurityContext v1 core?",
    "answer": "S e c u r i t y C o n t e x t   h o l d s   s e c u r i t y   c o n f i g u r a t i o n   t h a t   w i l l   b e   a p p l i e d   t o   a   c o n t a i n e r .   S o m e   f i e l d s   a r e   p r e s e n t   i n   b o t h   S e c u r i t y C o n t e x t   a n d   P o d S e c u r i t y C o n t e x t .   W h e n   b o t h   a r e   s e t ,   t h e   v a l u e s   i n   S e c u r i t y C o n t e x t   t a k e   p r e c e d e n c e .   C o n t a i n e r   [ c o r e / v 1 ]   E p h e m e r a l C o n t a i n e r   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29726"
  },
  {
    "question": "What is SelectableField v1 apiextensions.k8s.io?",
    "answer": "S e l e c t a b l e F i e l d   s p e c i f i e s   t h e   J S O N   p a t h   o f   a   f i e l d   t h a t   m a y   b e   u s e d   w i t h   f i e l d   s e l e c t o r s .   C u s t o m R e s o u r c e D e f i n i t i o n V e r s i o n   [ a p i e x t e n s i o n s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29727"
  },
  {
    "question": "What is ServerAddressByClientCIDR v1 meta?",
    "answer": "S e r v e r A d d r e s s B y C l i e n t C I D R   h e l p s   t h e   c l i e n t   t o   d e t e r m i n e   t h e   s e r v e r   a d d r e s s   t h a t   t h e y   s h o u l d   u s e ,   d e p e n d i n g   o n   t h e   c l i e n t C I D R   t h a t   t h e y   m a t c h .   A P I G r o u p   [ m e t a / v 1 ]   A P I V e r s i o n s   [ m e t a / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29728"
  },
  {
    "question": "What is ServerStorageVersion v1alpha1 internal.apiserver.k8s.io?",
    "answer": "A n   A P I   s e r v e r   i n s t a n c e   r e p o r t s   t h e   v e r s i o n   i t   c a n   d e c o d e   a n d   t h e   v e r s i o n   i t   e n c o d e s   o b j e c t s   t o   w h e n   p e r s i s t i n g   o b j e c t s   i n   t h e   b a c k e n d .   S t o r a g e V e r s i o n S t a t u s   [ a p i s e r v e r i n t e r n a l / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29729"
  },
  {
    "question": "What is ServiceAccountSubject v1 flowcontrol.apiserver.k8s.io?",
    "answer": "S e r v i c e A c c o u n t S u b j e c t   h o l d s   d e t a i l e d   i n f o r m a t i o n   f o r   s e r v i c e - a c c o u n t - k i n d   s u b j e c t .   S u b j e c t   [ f l o w c o n t r o l / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29730"
  },
  {
    "question": "What is ServiceAccountTokenProjection v1 core?",
    "answer": "S e r v i c e A c c o u n t T o k e n P r o j e c t i o n   r e p r e s e n t s   a   p r o j e c t e d   s e r v i c e   a c c o u n t   t o k e n   v o l u m e .   T h i s   p r o j e c t i o n   c a n   b e   u s e d   t o   i n s e r t   a   s e r v i c e   a c c o u n t   t o k e n   i n t o   t h e   p o d s   r u n t i m e   f i l e s y s t e m   f o r   u s e   a g a i n s t   A P I s   ( K u b e r n e t e s   A P I   S e r v e r   o r   o t h e r w i s e ) .   V o l u m e P r o j e c t i o n   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29731"
  },
  {
    "question": "What is ServiceBackendPort v1 networking.k8s.io?",
    "answer": "S e r v i c e B a c k e n d P o r t   i s   t h e   s e r v i c e   p o r t   b e i n g   r e f e r e n c e d .   I n g r e s s S e r v i c e B a c k e n d   [ n e t w o r k i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29732"
  },
  {
    "question": "What is ServicePort v1 core?",
    "answer": "S e r v i c e P o r t   c o n t a i n s   i n f o r m a t i o n   o n   s e r v i c e ' s   p o r t .   S e r v i c e S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29733"
  },
  {
    "question": "What is ServiceReference v1 admissionregistration.k8s.io?",
    "answer": "S e r v i c e R e f e r e n c e   h o l d s   a   r e f e r e n c e   t o   S e r v i c e . l e g a c y . k 8 s . i o   W e b h o o k C l i e n t C o n f i g   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29734"
  },
  {
    "question": "What is SessionAffinityConfig v1 core?",
    "answer": "S e s s i o n A f f i n i t y C o n f i g   r e p r e s e n t s   t h e   c o n f i g u r a t i o n s   o f   s e s s i o n   a f f i n i t y .   S e r v i c e S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29735"
  },
  {
    "question": "What is SleepAction v1 core?",
    "answer": "S l e e p A c t i o n   d e s c r i b e s   a   \" s l e e p \"   a c t i o n .   L i f e c y c l e H a n d l e r   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29736"
  },
  {
    "question": "What is StatefulSetCondition v1 apps?",
    "answer": "S t a t e f u l S e t C o n d i t i o n   d e s c r i b e s   t h e   s t a t e   o f   a   s t a t e f u l s e t   a t   a   c e r t a i n   p o i n t .   S t a t e f u l S e t S t a t u s   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29737"
  },
  {
    "question": "What is StatefulSetOrdinals v1 apps?",
    "answer": "S t a t e f u l S e t O r d i n a l s   d e s c r i b e s   t h e   p o l i c y   u s e d   f o r   r e p l i c a   o r d i n a l   a s s i g n m e n t   i n   t h i s   S t a t e f u l S e t .   S t a t e f u l S e t S p e c   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29738"
  },
  {
    "question": "What is StatefulSetPersistentVolumeClaimRetentionPolicy v1 apps?",
    "answer": "S t a t e f u l S e t P e r s i s t e n t V o l u m e C l a i m R e t e n t i o n P o l i c y   d e s c r i b e s   t h e   p o l i c y   u s e d   f o r   P V C s   c r e a t e d   f r o m   t h e   S t a t e f u l S e t   V o l u m e C l a i m T e m p l a t e s .   S t a t e f u l S e t S p e c   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29739"
  },
  {
    "question": "What is StatefulSetUpdateStrategy v1 apps?",
    "answer": "S t a t e f u l S e t U p d a t e S t r a t e g y   i n d i c a t e s   t h e   s t r a t e g y   t h a t   t h e   S t a t e f u l S e t   c o n t r o l l e r   w i l l   u s e   t o   p e r f o r m   u p d a t e s .   I t   i n c l u d e s   a n y   a d d i t i o n a l   p a r a m e t e r s   n e c e s s a r y   t o   p e r f o r m   t h e   u p d a t e   f o r   t h e   i n d i c a t e d   s t r a t e g y .   S t a t e f u l S e t S p e c   [ a p p s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29740"
  },
  {
    "question": "What is Status v1 meta?",
    "answer": "S t a t u s   i s   a   r e t u r n   v a l u e   f o r   c a l l s   t h a t   d o n ' t   r e t u r n   o t h e r   o b j e c t s .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29741"
  },
  {
    "question": "What is StatusCause v1 meta?",
    "answer": "S t a t u s C a u s e   p r o v i d e s   m o r e   i n f o r m a t i o n   a b o u t   a n   a p i . S t a t u s   f a i l u r e ,   i n c l u d i n g   c a s e s   w h e n   m u l t i p l e   e r r o r s   a r e   e n c o u n t e r e d .   S t a t u s D e t a i l s   [ m e t a / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29742"
  },
  {
    "question": "What is StatusDetails v1 meta?",
    "answer": "S t a t u s D e t a i l s   i s   a   s e t   o f   a d d i t i o n a l   p r o p e r t i e s   t h a t   M A Y   b e   s e t   b y   t h e   s e r v e r   t o   p r o v i d e   a d d i t i o n a l   i n f o r m a t i o n   a b o u t   a   r e s p o n s e .   T h e   R e a s o n   f i e l d   o f   a   S t a t u s   o b j e c t   d e f i n e s   w h a t   a t t r i b u t e s   w i l l   b e   s e t .   C l i e n t s   m u s t   i g n o r e   f i e l d s   t h a t   d o   n o t   m a t c h   t h e   d e f i n e d   t y p e   o f   e a c h   a t t r i b u t e ,   a n d   s h o u l d   a s s u m e   t h a t   a n y   a t t r i b u t e   m a y   b e   e m p t y ,   i n v a l i d ,   o r   u n d e r   d e f i n e d .   S t a t u s   [ m e t a / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29743"
  },
  {
    "question": "What is StorageOSPersistentVolumeSource v1 core?",
    "answer": "R e p r e s e n t s   a   S t o r a g e O S   p e r s i s t e n t   v o l u m e   r e s o u r c e .   P e r s i s t e n t V o l u m e S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29744"
  },
  {
    "question": "What is StorageOSVolumeSource v1 core?",
    "answer": "R e p r e s e n t s   a   S t o r a g e O S   p e r s i s t e n t   v o l u m e   r e s o u r c e .   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29745"
  },
  {
    "question": "What is StorageVersionCondition v1alpha1 internal.apiserver.k8s.io?",
    "answer": "D e s c r i b e s   t h e   s t a t e   o f   t h e   s t o r a g e V e r s i o n   a t   a   c e r t a i n   p o i n t .   S t o r a g e V e r s i o n S t a t u s   [ a p i s e r v e r i n t e r n a l / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29746"
  },
  {
    "question": "What is Subject v1 flowcontrol.apiserver.k8s.io?",
    "answer": "S u b j e c t   m a t c h e s   t h e   o r i g i n a t o r   o f   a   r e q u e s t ,   a s   i d e n t i f i e d   b y   t h e   r e q u e s t   a u t h e n t i c a t i o n   s y s t e m .   T h e r e   a r e   t h r e e   w a y s   o f   m a t c h i n g   a n   o r i g i n a t o r ;   b y   u s e r ,   g r o u p ,   o r   s e r v i c e   a c c o u n t .   P o l i c y R u l e s W i t h S u b j e c t s   [ f l o w c o n t r o l / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29747"
  },
  {
    "question": "What is SubjectRulesReviewStatus v1 authorization.k8s.io?",
    "answer": "S u b j e c t R u l e s R e v i e w S t a t u s   c o n t a i n s   t h e   r e s u l t   o f   a   r u l e s   c h e c k .   T h i s   c h e c k   c a n   b e   i n c o m p l e t e   d e p e n d i n g   o n   t h e   s e t   o f   a u t h o r i z e r s   t h e   s e r v e r   i s   c o n f i g u r e d   w i t h   a n d   a n y   e r r o r s   e x p e r i e n c e d   d u r i n g   e v a l u a t i o n .   B e c a u s e   a u t h o r i z a t i o n   r u l e s   a r e   a d d i t i v e ,   i f   a   r u l e   a p p e a r s   i n   a   l i s t   i t ' s   s a f e   t o   a s s u m e   t h e   s u b j e c t   h a s   t h a t   p e r m i s s i o n ,   e v e n   i f   t h a t   l i s t   i s   i n c o m p l e t e .   S e l f S u b j e c t R u l e s R e v i e w   [ a u t h o r i z a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29748"
  },
  {
    "question": "What is SuccessPolicy v1 batch?",
    "answer": "S u c c e s s P o l i c y   d e s c r i b e s   w h e n   a   J o b   c a n   b e   d e c l a r e d   a s   s u c c e e d e d   b a s e d   o n   t h e   s u c c e s s   o f   s o m e   i n d e x e s .   J o b S p e c   [ b a t c h / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29749"
  },
  {
    "question": "What is SuccessPolicyRule v1 batch?",
    "answer": "S u c c e s s P o l i c y R u l e   d e s c r i b e s   r u l e   f o r   d e c l a r i n g   a   J o b   a s   s u c c e e d e d .   E a c h   r u l e   m u s t   h a v e   a t   l e a s t   o n e   o f   t h e   \" s u c c e e d e d I n d e x e s \"   o r   \" s u c c e e d e d C o u n t \"   s p e c i f i e d .   S u c c e s s P o l i c y   [ b a t c h / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29750"
  },
  {
    "question": "What is Sysctl v1 core?",
    "answer": "S y s c t l   d e f i n e s   a   k e r n e l   p a r a m e t e r   t o   b e   s e t   P o d S e c u r i t y C o n t e x t   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29751"
  },
  {
    "question": "What is TCPSocketAction v1 core?",
    "answer": "T C P S o c k e t A c t i o n   d e s c r i b e s   a n   a c t i o n   b a s e d   o n   o p e n i n g   a   s o c k e t   L i f e c y c l e H a n d l e r   [ c o r e / v 1 ]   P r o b e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29752"
  },
  {
    "question": "What is Taint v1 core?",
    "answer": "T h e   n o d e   t h i s   T a i n t   i s   a t t a c h e d   t o   h a s   t h e   \" e f f e c t \"   o n   a n y   p o d   t h a t   d o e s   n o t   t o l e r a t e   t h e   T a i n t .   N o d e S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29753"
  },
  {
    "question": "What is Time v1 meta?",
    "answer": "T i m e   i s   a   w r a p p e r   a r o u n d   t i m e . T i m e   w h i c h   s u p p o r t s   c o r r e c t   m a r s h a l i n g   t o   Y A M L   a n d   J S O N .   W r a p p e r s   a r e   p r o v i d e d   f o r   m a n y   o f   t h e   f a c t o r y   m e t h o d s   t h a t   t h e   t i m e   p a c k a g e   o f f e r s .   A P I S e r v i c e C o n d i t i o n   [ a p i r e g i s t r a t i o n / v 1 ]   A l l o c a t i o n R e s u l t   [ r e s o u r c e / v 1 ]   A l l o c a t i o n R e s u l t   [ r e s o u r c e / v 1 b e t a 2 ]   A l l o c a t i o n R e s u l t   [ r e s o u r c e / v 1 b e t a 1 ]   C e r t i f i c a t e S i g n i n g R e q u e s t C o n d i t i o n   [ c e r t i f i c a t e s / v 1 ]   C o n d i t i o n   [ m e t a / v 1 ]   C o n t a i n e r S t a t e R u n n i n g   [ c o r e / v 1 ]   C o n t a i n e r S t a t e T e r m i n a t e d   [ c o r e / v 1 ]   C r o n J o b S t a t u s   [ b a t c h / v 1 ]   C u s t o m R e s o u r c e D e f i n i t i o n C o n d i t i o n   [ a p i e x t e n s i o n s / v 1 ]   D a e m o n S e t C o n d i t i o n   [ a p p s / v 1 ]   D e p l o y m e n t C o n d i t i o n   [ a p p s / v 1 ]   D e v i c e T a i n t   [ r e s o u r c e / v 1 ]   D e v i c e T a i n t   [ r e s o u r c e / v 1 b e t a 2 ]   D e v i c e T a i n t   [ r e s o u r c e / v 1 b e t a 1 ]   D e v i c e T a i n t   [ r e s o u r c e / v 1 a l p h a 3 ]   E v e n t   [ c o r e / v 1 ]   E v e n t   [ e v e n t s / v 1 ]   F l o w S c h e m a C o n d i t i o n   [ f l o w c o n t r o l / v 1 ]   H o r i z o n t a l P o d A u t o s c a l e r C o n d i t i o n   [ a u t o s c a l i n g / v 2 ]   H o r i z o n t a l P o d A u t o s c a l e r S t a t u s   [ a u t o s c a l i n g / v 2 ]   H o r i z o n t a l P o d A u t o s c a l e r S t a t u s   [ a u t o s c a l i n g / v 1 ]   J o b C o n d i t i o n   [ b a t c h / v 1 ]   J o b S t a t u s   [ b a t c h / v 1 ]   M a n a g e d F i e l d s E n t r y   [ m e t a / v 1 ] ",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29754"
  },
  {
    "question": "What is Toleration v1 core?",
    "answer": "T h e   p o d   t h i s   T o l e r a t i o n   i s   a t t a c h e d   t o   t o l e r a t e s   a n y   t a i n t   t h a t   m a t c h e s   t h e   t r i p l e   < k e y , v a l u e , e f f e c t >   u s i n g   t h e   m a t c h i n g   o p e r a t o r   < o p e r a t o r > .   P o d S p e c   [ c o r e / v 1 ]   S c h e d u l i n g   [ n o d e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29755"
  },
  {
    "question": "What is TopologySelectorLabelRequirement v1 core?",
    "answer": "A   t o p o l o g y   s e l e c t o r   r e q u i r e m e n t   i s   a   s e l e c t o r   t h a t   m a t c h e s   g i v e n   l a b e l .   T h i s   i s   a n   a l p h a   f e a t u r e   a n d   m a y   c h a n g e   i n   t h e   f u t u r e .   T o p o l o g y S e l e c t o r T e r m   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29756"
  },
  {
    "question": "What is TopologySelectorTerm v1 core?",
    "answer": "A   t o p o l o g y   s e l e c t o r   t e r m   r e p r e s e n t s   t h e   r e s u l t   o f   l a b e l   q u e r i e s .   A   n u l l   o r   e m p t y   t o p o l o g y   s e l e c t o r   t e r m   m a t c h e s   n o   o b j e c t s .   T h e   r e q u i r e m e n t s   o f   t h e m   a r e   A N D e d .   I t   p r o v i d e s   a   s u b s e t   o f   f u n c t i o n a l i t y   a s   N o d e S e l e c t o r T e r m .   T h i s   i s   a n   a l p h a   f e a t u r e   a n d   m a y   c h a n g e   i n   t h e   f u t u r e .   S t o r a g e C l a s s   [ s t o r a g e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29757"
  },
  {
    "question": "What is TopologySpreadConstraint v1 core?",
    "answer": "T o p o l o g y S p r e a d C o n s t r a i n t   s p e c i f i e s   h o w   t o   s p r e a d   m a t c h i n g   p o d s   a m o n g   t h e   g i v e n   t o p o l o g y .   P o d S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29758"
  },
  {
    "question": "What is TypeChecking v1 admissionregistration.k8s.io?",
    "answer": "T y p e C h e c k i n g   c o n t a i n s   r e s u l t s   o f   t y p e   c h e c k i n g   t h e   e x p r e s s i o n s   i n   t h e   V a l i d a t i n g A d m i s s i o n P o l i c y   V a l i d a t i n g A d m i s s i o n P o l i c y S t a t u s   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29759"
  },
  {
    "question": "What is TypedLocalObjectReference v1 core?",
    "answer": "T y p e d L o c a l O b j e c t R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   l o c a t e   t h e   t y p e d   r e f e r e n c e d   o b j e c t   i n s i d e   t h e   s a m e   n a m e s p a c e .   I n g r e s s B a c k e n d   [ n e t w o r k i n g / v 1 ]   P e r s i s t e n t V o l u m e C l a i m S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29760"
  },
  {
    "question": "What is TypedObjectReference v1 core?",
    "answer": "T y p e d O b j e c t R e f e r e n c e   c o n t a i n s   e n o u g h   i n f o r m a t i o n   t o   l e t   y o u   l o c a t e   t h e   t y p e d   r e f e r e n c e d   o b j e c t   P e r s i s t e n t V o l u m e C l a i m S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29761"
  },
  {
    "question": "What is UncountedTerminatedPods v1 batch?",
    "answer": "U n c o u n t e d T e r m i n a t e d P o d s   h o l d s   U I D s   o f   P o d s   t h a t   h a v e   t e r m i n a t e d   b u t   h a v e n ' t   b e e n   a c c o u n t e d   i n   J o b   s t a t u s   c o u n t e r s .   J o b S t a t u s   [ b a t c h / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29762"
  },
  {
    "question": "What is UserInfo v1 authentication.k8s.io?",
    "answer": "U s e r I n f o   h o l d s   t h e   i n f o r m a t i o n   a b o u t   t h e   u s e r   n e e d e d   t o   i m p l e m e n t   t h e   u s e r . I n f o   i n t e r f a c e .   S e l f S u b j e c t R e v i e w S t a t u s   [ a u t h e n t i c a t i o n / v 1 ]   T o k e n R e v i e w S t a t u s   [ a u t h e n t i c a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29763"
  },
  {
    "question": "What is UserSubject v1 flowcontrol.apiserver.k8s.io?",
    "answer": "U s e r S u b j e c t   h o l d s   d e t a i l e d   i n f o r m a t i o n   f o r   u s e r - k i n d   s u b j e c t .   S u b j e c t   [ f l o w c o n t r o l / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29764"
  },
  {
    "question": "What is ValidatingWebhook v1 admissionregistration.k8s.io?",
    "answer": "V a l i d a t i n g W e b h o o k   d e s c r i b e s   a n   a d m i s s i o n   w e b h o o k   a n d   t h e   r e s o u r c e s   a n d   o p e r a t i o n s   i t   a p p l i e s   t o .   V a l i d a t i n g W e b h o o k C o n f i g u r a t i o n   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29765"
  },
  {
    "question": "What is Validation v1 admissionregistration.k8s.io?",
    "answer": "V a l i d a t i o n   s p e c i f i e s   t h e   C E L   e x p r e s s i o n   w h i c h   i s   u s e d   t o   a p p l y   t h e   v a l i d a t i o n .   V a l i d a t i n g A d m i s s i o n P o l i c y S p e c   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29766"
  },
  {
    "question": "What is ValidationRule v1 apiextensions.k8s.io?",
    "answer": "V a l i d a t i o n R u l e   d e s c r i b e s   a   v a l i d a t i o n   r u l e   w r i t t e n   i n   t h e   C E L   e x p r e s s i o n   l a n g u a g e .   J S O N S c h e m a P r o p s   [ a p i e x t e n s i o n s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29767"
  },
  {
    "question": "What is Variable v1 admissionregistration.k8s.io?",
    "answer": "V a r i a b l e   i s   t h e   d e f i n i t i o n   o f   a   v a r i a b l e   t h a t   i s   u s e d   f o r   c o m p o s i t i o n .   A   v a r i a b l e   i s   d e f i n e d   a s   a   n a m e d   e x p r e s s i o n .   V a l i d a t i n g A d m i s s i o n P o l i c y S p e c   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29768"
  },
  {
    "question": "What is VolumeAttachmentSource v1 storage.k8s.io?",
    "answer": "V o l u m e A t t a c h m e n t S o u r c e   r e p r e s e n t s   a   v o l u m e   t h a t   s h o u l d   b e   a t t a c h e d .   R i g h t   n o w   o n l y   P e r s i s t e n t V o l u m e s   c a n   b e   a t t a c h e d   v i a   e x t e r n a l   a t t a c h e r ,   i n   t h e   f u t u r e   w e   m a y   a l l o w   a l s o   i n l i n e   v o l u m e s   i n   p o d s .   E x a c t l y   o n e   m e m b e r   c a n   b e   s e t .   V o l u m e A t t a c h m e n t S p e c   [ s t o r a g e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29769"
  },
  {
    "question": "What is VolumeDevice v1 core?",
    "answer": "v o l u m e D e v i c e   d e s c r i b e s   a   m a p p i n g   o f   a   r a w   b l o c k   d e v i c e   w i t h i n   a   c o n t a i n e r .   C o n t a i n e r   [ c o r e / v 1 ]   E p h e m e r a l C o n t a i n e r   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29770"
  },
  {
    "question": "What is VolumeError v1 storage.k8s.io?",
    "answer": "V o l u m e E r r o r   c a p t u r e s   a n   e r r o r   e n c o u n t e r e d   d u r i n g   a   v o l u m e   o p e r a t i o n .   V o l u m e A t t a c h m e n t S t a t u s   [ s t o r a g e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29771"
  },
  {
    "question": "What is VolumeMount v1 core?",
    "answer": "V o l u m e M o u n t   d e s c r i b e s   a   m o u n t i n g   o f   a   V o l u m e   w i t h i n   a   c o n t a i n e r .   C o n t a i n e r   [ c o r e / v 1 ]   E p h e m e r a l C o n t a i n e r   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29772"
  },
  {
    "question": "What is VolumeNodeAffinity v1 core?",
    "answer": "V o l u m e N o d e A f f i n i t y   d e f i n e s   c o n s t r a i n t s   t h a t   l i m i t   w h a t   n o d e s   t h i s   v o l u m e   c a n   b e   a c c e s s e d   f r o m .   P e r s i s t e n t V o l u m e S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29773"
  },
  {
    "question": "What is VolumeNodeResources v1 storage.k8s.io?",
    "answer": "V o l u m e N o d e R e s o u r c e s   i s   a   s e t   o f   r e s o u r c e   l i m i t s   f o r   s c h e d u l i n g   o f   v o l u m e s .   C S I N o d e D r i v e r   [ s t o r a g e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29774"
  },
  {
    "question": "What is VolumeProjection v1 core?",
    "answer": "P r o j e c t i o n   t h a t   m a y   b e   p r o j e c t e d   a l o n g   w i t h   o t h e r   s u p p o r t e d   v o l u m e   t y p e s .   E x a c t l y   o n e   o f   t h e s e   f i e l d s   m u s t   b e   s e t .   P r o j e c t e d V o l u m e S o u r c e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29775"
  },
  {
    "question": "What is VolumeResourceRequirements v1 core?",
    "answer": "V o l u m e R e s o u r c e R e q u i r e m e n t s   d e s c r i b e s   t h e   s t o r a g e   r e s o u r c e   r e q u i r e m e n t s   f o r   a   v o l u m e .   P e r s i s t e n t V o l u m e C l a i m S p e c   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29776"
  },
  {
    "question": "What is VsphereVirtualDiskVolumeSource v1 core?",
    "answer": "R e p r e s e n t s   a   v S p h e r e   v o l u m e   r e s o u r c e .   P e r s i s t e n t V o l u m e S p e c   [ c o r e / v 1 ]   V o l u m e   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29777"
  },
  {
    "question": "What is WatchEvent v1 meta?",
    "answer": "E v e n t   r e p r e s e n t s   a   s i n g l e   e v e n t   t o   a   w a t c h e d   r e s o u r c e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29778"
  },
  {
    "question": "What is WebhookClientConfig v1 admissionregistration.k8s.io?",
    "answer": "W e b h o o k C l i e n t C o n f i g   c o n t a i n s   t h e   i n f o r m a t i o n   t o   m a k e   a   T L S   c o n n e c t i o n   w i t h   t h e   w e b h o o k   M u t a t i n g W e b h o o k   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]   V a l i d a t i n g W e b h o o k   [ a d m i s s i o n r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29779"
  },
  {
    "question": "What is WebhookConversion v1 apiextensions.k8s.io?",
    "answer": "W e b h o o k C o n v e r s i o n   d e s c r i b e s   h o w   t o   c a l l   a   c o n v e r s i o n   w e b h o o k   C u s t o m R e s o u r c e C o n v e r s i o n   [ a p i e x t e n s i o n s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29780"
  },
  {
    "question": "What is WeightedPodAffinityTerm v1 core?",
    "answer": "T h e   w e i g h t s   o f   a l l   o f   t h e   m a t c h e d   W e i g h t e d P o d A f f i n i t y T e r m   f i e l d s   a r e   a d d e d   p e r - n o d e   t o   f i n d   t h e   m o s t   p r e f e r r e d   n o d e ( s )   P o d A f f i n i t y   [ c o r e / v 1 ]   P o d A n t i A f f i n i t y   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29781"
  },
  {
    "question": "What is WindowsSecurityContextOptions v1 core?",
    "answer": "W i n d o w s S e c u r i t y C o n t e x t O p t i o n s   c o n t a i n   W i n d o w s - s p e c i f i c   o p t i o n s   a n d   c r e d e n t i a l s .   P o d S e c u r i t y C o n t e x t   [ c o r e / v 1 ]   S e c u r i t y C o n t e x t   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29782"
  },
  {
    "question": "What is Old API Versions?",
    "answer": "T h i s   s e c t i o n   c o n t a i n s   o l d e r   v e r s i o n s   o f   r e s o u r c e s   s h o w n   a b o v e .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29783"
  },
  {
    "question": "What is AllocatedDeviceStatus v1beta2 resource.k8s.io?",
    "answer": "R e s o u r c e C l a i m S t a t u s   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29784"
  },
  {
    "question": "What is AllocatedDeviceStatus v1beta1 resource.k8s.io?",
    "answer": "R e s o u r c e C l a i m S t a t u s   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29785"
  },
  {
    "question": "What is AllocationResult v1beta2 resource.k8s.io?",
    "answer": "R e s o u r c e C l a i m S t a t u s   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29786"
  },
  {
    "question": "What is AllocationResult v1beta1 resource.k8s.io?",
    "answer": "R e s o u r c e C l a i m S t a t u s   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29787"
  },
  {
    "question": "What is ApplyConfiguration v1alpha1 admissionregistration.k8s.io?",
    "answer": "M u t a t i o n   [ a d m i s s i o n r e g i s t r a t i o n / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29788"
  },
  {
    "question": "What is CELDeviceSelector v1beta2 resource.k8s.io?",
    "answer": "D e v i c e S e l e c t o r   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29789"
  },
  {
    "question": "What is CELDeviceSelector v1beta1 resource.k8s.io?",
    "answer": "D e v i c e S e l e c t o r   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29790"
  },
  {
    "question": "What is CELDeviceSelector v1alpha3 resource.k8s.io?",
    "answer": "D e v i c e S e l e c t o r   [ r e s o u r c e / v 1 a l p h a 3 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29791"
  },
  {
    "question": "What is CapacityRequestPolicy v1beta2 resource.k8s.io?",
    "answer": "D e v i c e C a p a c i t y   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29792"
  },
  {
    "question": "What is CapacityRequestPolicy v1beta1 resource.k8s.io?",
    "answer": "D e v i c e C a p a c i t y   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29793"
  },
  {
    "question": "What is CapacityRequestPolicyRange v1beta2 resource.k8s.io?",
    "answer": "C a p a c i t y R e q u e s t P o l i c y   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29794"
  },
  {
    "question": "What is CapacityRequestPolicyRange v1beta1 resource.k8s.io?",
    "answer": "C a p a c i t y R e q u e s t P o l i c y   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29795"
  },
  {
    "question": "What is CapacityRequirements v1beta2 resource.k8s.io?",
    "answer": "D e v i c e S u b R e q u e s t   [ r e s o u r c e / v 1 b e t a 2 ]   E x a c t D e v i c e R e q u e s t   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29796"
  },
  {
    "question": "What is CapacityRequirements v1beta1 resource.k8s.io?",
    "answer": "D e v i c e R e q u e s t   [ r e s o u r c e / v 1 b e t a 1 ]   D e v i c e S u b R e q u e s t   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29797"
  },
  {
    "question": "What is ClusterTrustBundle v1alpha1 certificates.k8s.io?",
    "answer": "C l u s t e r T r u s t B u n d l e L i s t   [ c e r t i f i c a t e s / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29798"
  },
  {
    "question": "What is ClusterTrustBundleSpec v1alpha1 certificates?",
    "answer": "C l u s t e r T r u s t B u n d l e   [ c e r t i f i c a t e s / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29799"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   C l u s t e r T r u s t B u n d l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29800"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / c l u s t e r t r u s t b u n d l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29801"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   C l u s t e r T r u s t B u n d l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29802"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / c l u s t e r t r u s t b u n d l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29803"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   C l u s t e r T r u s t B u n d l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29804"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / c l u s t e r t r u s t b u n d l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29805"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   C l u s t e r T r u s t B u n d l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29806"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / c l u s t e r t r u s t b u n d l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29807"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   C l u s t e r T r u s t B u n d l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29808"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / c l u s t e r t r u s t b u n d l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29809"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   C l u s t e r T r u s t B u n d l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29810"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / c l u s t e r t r u s t b u n d l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29811"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   C l u s t e r T r u s t B u n d l e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29812"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / c l u s t e r t r u s t b u n d l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29813"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   C l u s t e r T r u s t B u n d l e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29814"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / w a t c h / c l u s t e r t r u s t b u n d l e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29815"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   C l u s t e r T r u s t B u n d l e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29816"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c e r t i f i c a t e s . k 8 s . i o / v 1 a l p h a 1 / w a t c h / c l u s t e r t r u s t b u n d l e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29817"
  },
  {
    "question": "What is Counter v1beta2 resource.k8s.io?",
    "answer": "C o u n t e r S e t   [ r e s o u r c e / v 1 b e t a 2 ]   D e v i c e C o u n t e r C o n s u m p t i o n   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29818"
  },
  {
    "question": "What is Counter v1beta1 resource.k8s.io?",
    "answer": "C o u n t e r S e t   [ r e s o u r c e / v 1 b e t a 1 ]   D e v i c e C o u n t e r C o n s u m p t i o n   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29819"
  },
  {
    "question": "What is CounterSet v1beta2 resource.k8s.io?",
    "answer": "R e s o u r c e S l i c e S p e c   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29820"
  },
  {
    "question": "What is CounterSet v1beta1 resource.k8s.io?",
    "answer": "R e s o u r c e S l i c e S p e c   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29821"
  },
  {
    "question": "What is CrossVersionObjectReference v1 autoscaling?",
    "answer": "H o r i z o n t a l P o d A u t o s c a l e r S p e c   [ a u t o s c a l i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29822"
  },
  {
    "question": "What is Device v1beta2 resource.k8s.io?",
    "answer": "R e s o u r c e S l i c e S p e c   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29823"
  },
  {
    "question": "What is Device v1beta1 resource.k8s.io?",
    "answer": "R e s o u r c e S l i c e S p e c   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29824"
  },
  {
    "question": "What is DeviceAllocationConfiguration v1beta2 resource.k8s.io?",
    "answer": "D e v i c e A l l o c a t i o n R e s u l t   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29825"
  },
  {
    "question": "What is DeviceAllocationConfiguration v1beta1 resource.k8s.io?",
    "answer": "D e v i c e A l l o c a t i o n R e s u l t   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29826"
  },
  {
    "question": "What is DeviceAllocationResult v1beta2 resource.k8s.io?",
    "answer": "A l l o c a t i o n R e s u l t   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29827"
  },
  {
    "question": "What is DeviceAllocationResult v1beta1 resource.k8s.io?",
    "answer": "A l l o c a t i o n R e s u l t   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29828"
  },
  {
    "question": "What is DeviceAttribute v1beta2 resource.k8s.io?",
    "answer": "D e v i c e   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29829"
  },
  {
    "question": "What is DeviceAttribute v1beta1 resource.k8s.io?",
    "answer": "B a s i c D e v i c e   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29830"
  },
  {
    "question": "What is DeviceCapacity v1beta2 resource.k8s.io?",
    "answer": "D e v i c e   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29831"
  },
  {
    "question": "What is DeviceCapacity v1beta1 resource.k8s.io?",
    "answer": "B a s i c D e v i c e   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29832"
  },
  {
    "question": "What is DeviceClaim v1beta2 resource.k8s.io?",
    "answer": "R e s o u r c e C l a i m S p e c   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29833"
  },
  {
    "question": "What is DeviceClaim v1beta1 resource.k8s.io?",
    "answer": "R e s o u r c e C l a i m S p e c   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29834"
  },
  {
    "question": "What is DeviceClaimConfiguration v1beta2 resource.k8s.io?",
    "answer": "D e v i c e C l a i m   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29835"
  },
  {
    "question": "What is DeviceClaimConfiguration v1beta1 resource.k8s.io?",
    "answer": "D e v i c e C l a i m   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29836"
  },
  {
    "question": "What is DeviceClass v1beta2 resource.k8s.io?",
    "answer": "D e v i c e C l a s s L i s t   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29837"
  },
  {
    "question": "What is DeviceClassSpec v1beta2 resource?",
    "answer": "D e v i c e C l a s s   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29838"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   D e v i c e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29839"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / d e v i c e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29840"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   D e v i c e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29841"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29842"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   D e v i c e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29843"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29844"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   D e v i c e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29845"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29846"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   D e v i c e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29847"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / d e v i c e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29848"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   D e v i c e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29849"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29850"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   D e v i c e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29851"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / d e v i c e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29852"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   D e v i c e C l a s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29853"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / w a t c h / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29854"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   D e v i c e C l a s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29855"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / w a t c h / d e v i c e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29856"
  },
  {
    "question": "What is DeviceClass v1beta1 resource.k8s.io?",
    "answer": "D e v i c e C l a s s L i s t   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29857"
  },
  {
    "question": "What is DeviceClassSpec v1beta1 resource?",
    "answer": "D e v i c e C l a s s   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29858"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   D e v i c e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29859"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / d e v i c e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29860"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   D e v i c e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29861"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29862"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   D e v i c e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29863"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29864"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   D e v i c e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29865"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29866"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   D e v i c e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29867"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / d e v i c e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29868"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   D e v i c e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29869"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29870"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   D e v i c e C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29871"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / d e v i c e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29872"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   D e v i c e C l a s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29873"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / w a t c h / d e v i c e c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29874"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   D e v i c e C l a s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29875"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / w a t c h / d e v i c e c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29876"
  },
  {
    "question": "What is DeviceClassConfiguration v1beta2 resource.k8s.io?",
    "answer": "D e v i c e C l a s s S p e c   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29877"
  },
  {
    "question": "What is DeviceClassConfiguration v1beta1 resource.k8s.io?",
    "answer": "D e v i c e C l a s s S p e c   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29878"
  },
  {
    "question": "What is DeviceConstraint v1beta2 resource.k8s.io?",
    "answer": "D e v i c e C l a i m   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29879"
  },
  {
    "question": "What is DeviceConstraint v1beta1 resource.k8s.io?",
    "answer": "D e v i c e C l a i m   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29880"
  },
  {
    "question": "What is DeviceCounterConsumption v1beta2 resource.k8s.io?",
    "answer": "D e v i c e   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29881"
  },
  {
    "question": "What is DeviceCounterConsumption v1beta1 resource.k8s.io?",
    "answer": "B a s i c D e v i c e   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29882"
  },
  {
    "question": "What is DeviceRequest v1beta2 resource.k8s.io?",
    "answer": "D e v i c e C l a i m   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29883"
  },
  {
    "question": "What is DeviceRequest v1beta1 resource.k8s.io?",
    "answer": "D e v i c e C l a i m   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29884"
  },
  {
    "question": "What is DeviceRequestAllocationResult v1beta2 resource.k8s.io?",
    "answer": "D e v i c e A l l o c a t i o n R e s u l t   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29885"
  },
  {
    "question": "What is DeviceRequestAllocationResult v1beta1 resource.k8s.io?",
    "answer": "D e v i c e A l l o c a t i o n R e s u l t   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29886"
  },
  {
    "question": "What is DeviceSelector v1beta2 resource.k8s.io?",
    "answer": "D e v i c e C l a s s S p e c   [ r e s o u r c e / v 1 b e t a 2 ]   D e v i c e S u b R e q u e s t   [ r e s o u r c e / v 1 b e t a 2 ]   E x a c t D e v i c e R e q u e s t   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29887"
  },
  {
    "question": "What is DeviceSelector v1beta1 resource.k8s.io?",
    "answer": "D e v i c e C l a s s S p e c   [ r e s o u r c e / v 1 b e t a 1 ]   D e v i c e R e q u e s t   [ r e s o u r c e / v 1 b e t a 1 ]   D e v i c e S u b R e q u e s t   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29888"
  },
  {
    "question": "What is DeviceSelector v1alpha3 resource.k8s.io?",
    "answer": "D e v i c e T a i n t S e l e c t o r   [ r e s o u r c e / v 1 a l p h a 3 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29889"
  },
  {
    "question": "What is DeviceSubRequest v1beta2 resource.k8s.io?",
    "answer": "D e v i c e R e q u e s t   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29890"
  },
  {
    "question": "What is DeviceSubRequest v1beta1 resource.k8s.io?",
    "answer": "D e v i c e R e q u e s t   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29891"
  },
  {
    "question": "What is DeviceTaint v1beta2 resource.k8s.io?",
    "answer": "D e v i c e   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29892"
  },
  {
    "question": "What is DeviceTaint v1beta1 resource.k8s.io?",
    "answer": "B a s i c D e v i c e   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29893"
  },
  {
    "question": "What is DeviceTaint v1alpha3 resource.k8s.io?",
    "answer": "D e v i c e T a i n t R u l e S p e c   [ r e s o u r c e / v 1 a l p h a 3 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29894"
  },
  {
    "question": "What is DeviceToleration v1beta2 resource.k8s.io?",
    "answer": "D e v i c e R e q u e s t A l l o c a t i o n R e s u l t   [ r e s o u r c e / v 1 b e t a 2 ]   D e v i c e S u b R e q u e s t   [ r e s o u r c e / v 1 b e t a 2 ]   E x a c t D e v i c e R e q u e s t   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29895"
  },
  {
    "question": "What is DeviceToleration v1beta1 resource.k8s.io?",
    "answer": "D e v i c e R e q u e s t   [ r e s o u r c e / v 1 b e t a 1 ]   D e v i c e R e q u e s t A l l o c a t i o n R e s u l t   [ r e s o u r c e / v 1 b e t a 1 ]   D e v i c e S u b R e q u e s t   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29896"
  },
  {
    "question": "What is EndpointPort v1 discovery.k8s.io?",
    "answer": "E n d p o i n t S l i c e   [ d i s c o v e r y / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29897"
  },
  {
    "question": "What is Event v1 core?",
    "answer": "E v e n t L i s t   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29898"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a n   E v e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29899"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29900"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   E v e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29901"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29902"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   E v e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29903"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29904"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a n   E v e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29905"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29906"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   E v e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29907"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29908"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   E v e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29909"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29910"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   E v e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29911"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29912"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   E v e n t",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29913"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / e v e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29914"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   E v e n t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29915"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29916"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   E v e n t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29917"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / e v e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29918"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   E v e n t .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29919"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i / v 1 / w a t c h / e v e n t s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29920"
  },
  {
    "question": "What is EventSeries v1 core?",
    "answer": "E v e n t   [ c o r e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29921"
  },
  {
    "question": "What is ExactDeviceRequest v1beta2 resource.k8s.io?",
    "answer": "D e v i c e R e q u e s t   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29922"
  },
  {
    "question": "What is HorizontalPodAutoscaler v1 autoscaling?",
    "answer": "H o r i z o n t a l P o d A u t o s c a l e r L i s t   [ a u t o s c a l i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29923"
  },
  {
    "question": "What is HorizontalPodAutoscalerSpec v1 autoscaling?",
    "answer": "H o r i z o n t a l P o d A u t o s c a l e r   [ a u t o s c a l i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29924"
  },
  {
    "question": "What is HorizontalPodAutoscalerStatus v1 autoscaling?",
    "answer": "H o r i z o n t a l P o d A u t o s c a l e r   [ a u t o s c a l i n g / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29925"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   H o r i z o n t a l P o d A u t o s c a l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29926"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29927"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   H o r i z o n t a l P o d A u t o s c a l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29928"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29929"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   H o r i z o n t a l P o d A u t o s c a l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29930"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29931"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   H o r i z o n t a l P o d A u t o s c a l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29932"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29933"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   H o r i z o n t a l P o d A u t o s c a l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29934"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29935"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   H o r i z o n t a l P o d A u t o s c a l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29936"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29937"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   H o r i z o n t a l P o d A u t o s c a l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29938"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29939"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   H o r i z o n t a l P o d A u t o s c a l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29940"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 1 / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29941"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   H o r i z o n t a l P o d A u t o s c a l e r .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29942"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29943"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   H o r i z o n t a l P o d A u t o s c a l e r .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29944"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29945"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   H o r i z o n t a l P o d A u t o s c a l e r .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29946"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 1 / w a t c h / h o r i z o n t a l p o d a u t o s c a l e r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29947"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   H o r i z o n t a l P o d A u t o s c a l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29948"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29949"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   H o r i z o n t a l P o d A u t o s c a l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29950"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29951"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   H o r i z o n t a l P o d A u t o s c a l e r",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29952"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a u t o s c a l i n g / v 1 / n a m e s p a c e s / { n a m e s p a c e } / h o r i z o n t a l p o d a u t o s c a l e r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29953"
  },
  {
    "question": "What is IPAddress v1beta1 networking.k8s.io?",
    "answer": "I P A d d r e s s L i s t   [ n e t w o r k i n g / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29954"
  },
  {
    "question": "What is IPAddressSpec v1beta1 networking?",
    "answer": "I P A d d r e s s   [ n e t w o r k i n g / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29955"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a n   I P A d d r e s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29956"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1 / i p a d d r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29957"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   I P A d d r e s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29958"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1 / i p a d d r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29959"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   I P A d d r e s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29960"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1 / i p a d d r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29961"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a n   I P A d d r e s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29962"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1 / i p a d d r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29963"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   I P A d d r e s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29964"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1 / i p a d d r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29965"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   I P A d d r e s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29966"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1 / i p a d d r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29967"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   I P A d d r e s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29968"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1 / i p a d d r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29969"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   I P A d d r e s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29970"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1 / w a t c h / i p a d d r e s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29971"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   I P A d d r e s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29972"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1 / w a t c h / i p a d d r e s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29973"
  },
  {
    "question": "What is JSONPatch v1alpha1 admissionregistration.k8s.io?",
    "answer": "M u t a t i o n   [ a d m i s s i o n r e g i s t r a t i o n / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29974"
  },
  {
    "question": "What is LeaseCandidate v1alpha2 coordination.k8s.io?",
    "answer": "L e a s e C a n d i d a t e L i s t   [ c o o r d i n a t i o n / v 1 a l p h a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29975"
  },
  {
    "question": "What is LeaseCandidateSpec v1alpha2 coordination?",
    "answer": "L e a s e C a n d i d a t e   [ c o o r d i n a t i o n / v 1 a l p h a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29976"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   L e a s e C a n d i d a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29977"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 a l p h a 2 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29978"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   L e a s e C a n d i d a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29979"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 a l p h a 2 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29980"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   L e a s e C a n d i d a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29981"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 a l p h a 2 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29982"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   L e a s e C a n d i d a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29983"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 a l p h a 2 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29984"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   L e a s e C a n d i d a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29985"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 a l p h a 2 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29986"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   L e a s e C a n d i d a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29987"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 a l p h a 2 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29988"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   L e a s e C a n d i d a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29989"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 a l p h a 2 / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29990"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   L e a s e C a n d i d a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29991"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 a l p h a 2 / l e a s e c a n d i d a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29992"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   L e a s e C a n d i d a t e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29993"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 a l p h a 2 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29994"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   L e a s e C a n d i d a t e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29995"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 a l p h a 2 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / l e a s e c a n d i d a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29996"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   L e a s e C a n d i d a t e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_29997"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / c o o r d i n a t i o n . k 8 s . i o / v 1 a l p h a 2 / w a t c h / l e a s e c a n d i d a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_29998"
  },
  {
    "question": "What is MatchCondition v1beta1 admissionregistration.k8s.io?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y S p e c   [ a d m i s s i o n r e g i s t r a t i o n / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_29999"
  },
  {
    "question": "What is MatchCondition v1alpha1 admissionregistration.k8s.io?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y S p e c   [ a d m i s s i o n r e g i s t r a t i o n / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30000"
  },
  {
    "question": "What is MatchResources v1beta1 admissionregistration.k8s.io?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g S p e c   [ a d m i s s i o n r e g i s t r a t i o n / v 1 b e t a 1 ]   M u t a t i n g A d m i s s i o n P o l i c y S p e c   [ a d m i s s i o n r e g i s t r a t i o n / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30001"
  },
  {
    "question": "What is MatchResources v1alpha1 admissionregistration.k8s.io?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g S p e c   [ a d m i s s i o n r e g i s t r a t i o n / v 1 a l p h a 1 ]   M u t a t i n g A d m i s s i o n P o l i c y S p e c   [ a d m i s s i o n r e g i s t r a t i o n / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30002"
  },
  {
    "question": "What is MutatingAdmissionPolicy v1alpha1 admissionregistration.k8s.io?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y L i s t   [ a d m i s s i o n r e g i s t r a t i o n / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30003"
  },
  {
    "question": "What is MutatingAdmissionPolicySpec v1alpha1 admissionregistration?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y   [ a d m i s s i o n r e g i s t r a t i o n / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30004"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   M u t a t i n g A d m i s s i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30005"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30006"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   M u t a t i n g A d m i s s i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30007"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30008"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   M u t a t i n g A d m i s s i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30009"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30010"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   M u t a t i n g A d m i s s i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30011"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30012"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   M u t a t i n g A d m i s s i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30013"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30014"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   M u t a t i n g A d m i s s i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30015"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30016"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   M u t a t i n g A d m i s s i o n P o l i c y",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30017"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30018"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   M u t a t i n g A d m i s s i o n P o l i c y .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30019"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / w a t c h / m u t a t i n g a d m i s s i o n p o l i c i e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30020"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   M u t a t i n g A d m i s s i o n P o l i c y .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30021"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / w a t c h / m u t a t i n g a d m i s s i o n p o l i c i e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30022"
  },
  {
    "question": "What is MutatingAdmissionPolicyBinding v1alpha1 admissionregistration.k8s.io?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g L i s t   [ a d m i s s i o n r e g i s t r a t i o n / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30023"
  },
  {
    "question": "What is MutatingAdmissionPolicyBindingSpec v1alpha1 admissionregistration?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g   [ a d m i s s i o n r e g i s t r a t i o n / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30024"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30025"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30026"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30027"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30028"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30029"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30030"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30031"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30032"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30033"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30034"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30035"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30036"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30037"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30038"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30039"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / w a t c h / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30040"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30041"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / a d m i s s i o n r e g i s t r a t i o n . k 8 s . i o / v 1 a l p h a 1 / w a t c h / m u t a t i n g a d m i s s i o n p o l i c y b i n d i n g s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30042"
  },
  {
    "question": "What is Mutation v1alpha1 admissionregistration.k8s.io?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y S p e c   [ a d m i s s i o n r e g i s t r a t i o n / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30043"
  },
  {
    "question": "What is NamedRuleWithOperations v1beta1 admissionregistration.k8s.io?",
    "answer": "M a t c h R e s o u r c e s   [ a d m i s s i o n r e g i s t r a t i o n / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30044"
  },
  {
    "question": "What is NamedRuleWithOperations v1alpha1 admissionregistration.k8s.io?",
    "answer": "M a t c h R e s o u r c e s   [ a d m i s s i o n r e g i s t r a t i o n / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30045"
  },
  {
    "question": "What is NetworkDeviceData v1beta2 resource.k8s.io?",
    "answer": "A l l o c a t e d D e v i c e S t a t u s   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30046"
  },
  {
    "question": "What is NetworkDeviceData v1beta1 resource.k8s.io?",
    "answer": "A l l o c a t e d D e v i c e S t a t u s   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30047"
  },
  {
    "question": "What is OpaqueDeviceConfiguration v1beta2 resource.k8s.io?",
    "answer": "D e v i c e A l l o c a t i o n C o n f i g u r a t i o n   [ r e s o u r c e / v 1 b e t a 2 ]   D e v i c e C l a i m C o n f i g u r a t i o n   [ r e s o u r c e / v 1 b e t a 2 ]   D e v i c e C l a s s C o n f i g u r a t i o n   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30048"
  },
  {
    "question": "What is OpaqueDeviceConfiguration v1beta1 resource.k8s.io?",
    "answer": "D e v i c e A l l o c a t i o n C o n f i g u r a t i o n   [ r e s o u r c e / v 1 b e t a 1 ]   D e v i c e C l a i m C o n f i g u r a t i o n   [ r e s o u r c e / v 1 b e t a 1 ]   D e v i c e C l a s s C o n f i g u r a t i o n   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30049"
  },
  {
    "question": "What is ParamKind v1beta1 admissionregistration.k8s.io?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y S p e c   [ a d m i s s i o n r e g i s t r a t i o n / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30050"
  },
  {
    "question": "What is ParamKind v1alpha1 admissionregistration.k8s.io?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y S p e c   [ a d m i s s i o n r e g i s t r a t i o n / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30051"
  },
  {
    "question": "What is ParamRef v1beta1 admissionregistration.k8s.io?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g S p e c   [ a d m i s s i o n r e g i s t r a t i o n / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30052"
  },
  {
    "question": "What is ParamRef v1alpha1 admissionregistration.k8s.io?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y B i n d i n g S p e c   [ a d m i s s i o n r e g i s t r a t i o n / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30053"
  },
  {
    "question": "What is ParentReference v1beta1 networking.k8s.io?",
    "answer": "I P A d d r e s s S p e c   [ n e t w o r k i n g / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30054"
  },
  {
    "question": "What is ResourceClaim v1 resource.k8s.io?",
    "answer": "R e s o u r c e C l a i m L i s t   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30055"
  },
  {
    "question": "What is ResourceClaimSpec v1 resource?",
    "answer": "R e s o u r c e C l a i m   [ r e s o u r c e / v 1 ]   R e s o u r c e C l a i m T e m p l a t e S p e c   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30056"
  },
  {
    "question": "What is ResourceClaimStatus v1 resource?",
    "answer": "R e s o u r c e C l a i m   [ r e s o u r c e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30057"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30058"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30059"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30060"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30061"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30062"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30063"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30064"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30065"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30066"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30067"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30068"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30069"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30070"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30071"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30072"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30073"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   R e s o u r c e C l a i m .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30074"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30075"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R e s o u r c e C l a i m .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30076"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30077"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R e s o u r c e C l a i m .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30078"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / w a t c h / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30079"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30080"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30081"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30082"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30083"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30084"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30085"
  },
  {
    "question": "What is ResourceClaim v1beta2 resource.k8s.io?",
    "answer": "R e s o u r c e C l a i m L i s t   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30086"
  },
  {
    "question": "What is ResourceClaimSpec v1beta2 resource?",
    "answer": "R e s o u r c e C l a i m   [ r e s o u r c e / v 1 b e t a 2 ]   R e s o u r c e C l a i m T e m p l a t e S p e c   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30087"
  },
  {
    "question": "What is ResourceClaimStatus v1beta2 resource?",
    "answer": "R e s o u r c e C l a i m   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30088"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30089"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30090"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30091"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30092"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30093"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30094"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30095"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30096"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30097"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30098"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30099"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30100"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30101"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30102"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30103"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30104"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   R e s o u r c e C l a i m .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30105"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30106"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R e s o u r c e C l a i m .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30107"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30108"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R e s o u r c e C l a i m .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30109"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / w a t c h / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30110"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30111"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30112"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30113"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30114"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30115"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30116"
  },
  {
    "question": "What is ResourceClaim v1beta1 resource.k8s.io?",
    "answer": "R e s o u r c e C l a i m L i s t   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30117"
  },
  {
    "question": "What is ResourceClaimSpec v1beta1 resource?",
    "answer": "R e s o u r c e C l a i m   [ r e s o u r c e / v 1 b e t a 1 ]   R e s o u r c e C l a i m T e m p l a t e S p e c   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30118"
  },
  {
    "question": "What is ResourceClaimStatus v1beta1 resource?",
    "answer": "R e s o u r c e C l a i m   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30119"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30120"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30121"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30122"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30123"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30124"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30125"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30126"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30127"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30128"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30129"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30130"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30131"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30132"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30133"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30134"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30135"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   R e s o u r c e C l a i m .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30136"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30137"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R e s o u r c e C l a i m .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30138"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30139"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R e s o u r c e C l a i m .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30140"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / w a t c h / r e s o u r c e c l a i m s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30141"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30142"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30143"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30144"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30145"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   R e s o u r c e C l a i m",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30146"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30147"
  },
  {
    "question": "What is ResourceClaimConsumerReference v1beta2 resource.k8s.io?",
    "answer": "R e s o u r c e C l a i m S t a t u s   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30148"
  },
  {
    "question": "What is ResourceClaimConsumerReference v1beta1 resource.k8s.io?",
    "answer": "R e s o u r c e C l a i m S t a t u s   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30149"
  },
  {
    "question": "What is ResourceClaimTemplate v1beta2 resource.k8s.io?",
    "answer": "R e s o u r c e C l a i m T e m p l a t e L i s t   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30150"
  },
  {
    "question": "What is ResourceClaimTemplateSpec v1beta2 resource?",
    "answer": "R e s o u r c e C l a i m T e m p l a t e   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30151"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   R e s o u r c e C l a i m T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30152"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30153"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   R e s o u r c e C l a i m T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30154"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30155"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   R e s o u r c e C l a i m T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30156"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30157"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   R e s o u r c e C l a i m T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30158"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30159"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   R e s o u r c e C l a i m T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30160"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30161"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   R e s o u r c e C l a i m T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30162"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30163"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R e s o u r c e C l a i m T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30164"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30165"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R e s o u r c e C l a i m T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30166"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30167"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   R e s o u r c e C l a i m T e m p l a t e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30168"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30169"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R e s o u r c e C l a i m T e m p l a t e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30170"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30171"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R e s o u r c e C l a i m T e m p l a t e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30172"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / w a t c h / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30173"
  },
  {
    "question": "What is ResourceClaimTemplate v1beta1 resource.k8s.io?",
    "answer": "R e s o u r c e C l a i m T e m p l a t e L i s t   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30174"
  },
  {
    "question": "What is ResourceClaimTemplateSpec v1beta1 resource?",
    "answer": "R e s o u r c e C l a i m T e m p l a t e   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30175"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   R e s o u r c e C l a i m T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30176"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30177"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   R e s o u r c e C l a i m T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30178"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30179"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   R e s o u r c e C l a i m T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30180"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30181"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   R e s o u r c e C l a i m T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30182"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30183"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   R e s o u r c e C l a i m T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30184"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30185"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   R e s o u r c e C l a i m T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30186"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30187"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R e s o u r c e C l a i m T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30188"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30189"
  },
  {
    "question": "What is List All Namespaces?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R e s o u r c e C l a i m T e m p l a t e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30190"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30191"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   R e s o u r c e C l a i m T e m p l a t e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30192"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30193"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R e s o u r c e C l a i m T e m p l a t e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30194"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / w a t c h / n a m e s p a c e s / { n a m e s p a c e } / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30195"
  },
  {
    "question": "What is Watch List All Namespaces?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R e s o u r c e C l a i m T e m p l a t e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30196"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / w a t c h / r e s o u r c e c l a i m t e m p l a t e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30197"
  },
  {
    "question": "What is ResourcePool v1beta2 resource.k8s.io?",
    "answer": "R e s o u r c e S l i c e S p e c   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30198"
  },
  {
    "question": "What is ResourcePool v1beta1 resource.k8s.io?",
    "answer": "R e s o u r c e S l i c e S p e c   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30199"
  },
  {
    "question": "What is ResourceSlice v1beta2 resource.k8s.io?",
    "answer": "R e s o u r c e S l i c e L i s t   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30200"
  },
  {
    "question": "What is ResourceSliceSpec v1beta2 resource?",
    "answer": "R e s o u r c e S l i c e   [ r e s o u r c e / v 1 b e t a 2 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30201"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   R e s o u r c e S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30202"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / r e s o u r c e s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30203"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   R e s o u r c e S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30204"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30205"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   R e s o u r c e S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30206"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30207"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   R e s o u r c e S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30208"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30209"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   R e s o u r c e S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30210"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / r e s o u r c e s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30211"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   R e s o u r c e S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30212"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30213"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R e s o u r c e S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30214"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / r e s o u r c e s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30215"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   R e s o u r c e S l i c e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30216"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / w a t c h / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30217"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R e s o u r c e S l i c e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30218"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 2 / w a t c h / r e s o u r c e s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30219"
  },
  {
    "question": "What is ResourceSlice v1beta1 resource.k8s.io?",
    "answer": "R e s o u r c e S l i c e L i s t   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30220"
  },
  {
    "question": "What is ResourceSliceSpec v1beta1 resource?",
    "answer": "R e s o u r c e S l i c e   [ r e s o u r c e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30221"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   R e s o u r c e S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30222"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / r e s o u r c e s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30223"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   R e s o u r c e S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30224"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30225"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   R e s o u r c e S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30226"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30227"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   R e s o u r c e S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30228"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30229"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   R e s o u r c e S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30230"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / r e s o u r c e s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30231"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   R e s o u r c e S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30232"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30233"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   R e s o u r c e S l i c e",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30234"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / r e s o u r c e s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30235"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   R e s o u r c e S l i c e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30236"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / w a t c h / r e s o u r c e s l i c e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30237"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   R e s o u r c e S l i c e .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30238"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / r e s o u r c e . k 8 s . i o / v 1 b e t a 1 / w a t c h / r e s o u r c e s l i c e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30239"
  },
  {
    "question": "What is ServiceCIDR v1beta1 networking.k8s.io?",
    "answer": "S e r v i c e C I D R L i s t   [ n e t w o r k i n g / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30240"
  },
  {
    "question": "What is ServiceCIDRSpec v1beta1 networking?",
    "answer": "S e r v i c e C I D R   [ n e t w o r k i n g / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30241"
  },
  {
    "question": "What is ServiceCIDRStatus v1beta1 networking?",
    "answer": "S e r v i c e C I D R   [ n e t w o r k i n g / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30242"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   S e r v i c e C I D R",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30243"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1 / s e r v i c e c i d r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30244"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   S e r v i c e C I D R",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30245"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1 / s e r v i c e c i d r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30246"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   S e r v i c e C I D R",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30247"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1 / s e r v i c e c i d r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30248"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   S e r v i c e C I D R",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30249"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1 / s e r v i c e c i d r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30250"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   S e r v i c e C I D R",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30251"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1 / s e r v i c e c i d r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30252"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   S e r v i c e C I D R",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30253"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1 / s e r v i c e c i d r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30254"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   S e r v i c e C I D R",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30255"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1 / s e r v i c e c i d r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30256"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   S e r v i c e C I D R .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30257"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1 / w a t c h / s e r v i c e c i d r s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30258"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   S e r v i c e C I D R .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30259"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1 / w a t c h / s e r v i c e c i d r s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30260"
  },
  {
    "question": "What is Patch Status?",
    "answer": "p a r t i a l l y   u p d a t e   s t a t u s   o f   t h e   s p e c i f i e d   S e r v i c e C I D R",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30261"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1 / s e r v i c e c i d r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30262"
  },
  {
    "question": "What is Read Status?",
    "answer": "r e a d   s t a t u s   o f   t h e   s p e c i f i e d   S e r v i c e C I D R",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30263"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1 / s e r v i c e c i d r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30264"
  },
  {
    "question": "What is Replace Status?",
    "answer": "r e p l a c e   s t a t u s   o f   t h e   s p e c i f i e d   S e r v i c e C I D R",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30265"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / n e t w o r k i n g . k 8 s . i o / v 1 b e t a 1 / s e r v i c e c i d r s / { n a m e } / s t a t u s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30266"
  },
  {
    "question": "What is ServiceReference v1 apiextensions.k8s.io?",
    "answer": "W e b h o o k C l i e n t C o n f i g   [ a p i e x t e n s i o n s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30267"
  },
  {
    "question": "What is ServiceReference v1 apiregistration.k8s.io?",
    "answer": "A P I S e r v i c e S p e c   [ a p i r e g i s t r a t i o n / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30268"
  },
  {
    "question": "What is Subject v1 rbac.authorization.k8s.io?",
    "answer": "C l u s t e r R o l e B i n d i n g   [ r b a c / v 1 ]   R o l e B i n d i n g   [ r b a c / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30269"
  },
  {
    "question": "What is TokenRequest v1 storage.k8s.io?",
    "answer": "C S I D r i v e r S p e c   [ s t o r a g e / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30270"
  },
  {
    "question": "What is Variable v1beta1 admissionregistration.k8s.io?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y S p e c   [ a d m i s s i o n r e g i s t r a t i o n / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30271"
  },
  {
    "question": "What is Variable v1alpha1 admissionregistration.k8s.io?",
    "answer": "M u t a t i n g A d m i s s i o n P o l i c y S p e c   [ a d m i s s i o n r e g i s t r a t i o n / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30272"
  },
  {
    "question": "What is VolumeAttributesClass v1beta1 storage.k8s.io?",
    "answer": "V o l u m e A t t r i b u t e s C l a s s L i s t   [ s t o r a g e / v 1 b e t a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30273"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   V o l u m e A t t r i b u t e s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30274"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e . k 8 s . i o / v 1 b e t a 1 / v o l u m e a t t r i b u t e s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30275"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   V o l u m e A t t r i b u t e s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30276"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 b e t a 1 / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30277"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   V o l u m e A t t r i b u t e s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30278"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 b e t a 1 / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30279"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   V o l u m e A t t r i b u t e s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30280"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 b e t a 1 / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30281"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   V o l u m e A t t r i b u t e s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30282"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 b e t a 1 / v o l u m e a t t r i b u t e s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30283"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   V o l u m e A t t r i b u t e s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30284"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 b e t a 1 / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30285"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   V o l u m e A t t r i b u t e s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30286"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 b e t a 1 / v o l u m e a t t r i b u t e s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30287"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   V o l u m e A t t r i b u t e s C l a s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30288"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 b e t a 1 / w a t c h / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30289"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   V o l u m e A t t r i b u t e s C l a s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30290"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 b e t a 1 / w a t c h / v o l u m e a t t r i b u t e s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30291"
  },
  {
    "question": "What is VolumeAttributesClass v1alpha1 storage.k8s.io?",
    "answer": "V o l u m e A t t r i b u t e s C l a s s L i s t   [ s t o r a g e / v 1 a l p h a 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30292"
  },
  {
    "question": "What is Create?",
    "answer": "c r e a t e   a   V o l u m e A t t r i b u t e s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30293"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P O S T   / a p i s / s t o r a g e . k 8 s . i o / v 1 a l p h a 1 / v o l u m e a t t r i b u t e s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30294"
  },
  {
    "question": "What is Patch?",
    "answer": "p a r t i a l l y   u p d a t e   t h e   s p e c i f i e d   V o l u m e A t t r i b u t e s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30295"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P A T C H   / a p i s / s t o r a g e . k 8 s . i o / v 1 a l p h a 1 / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30296"
  },
  {
    "question": "What is Replace?",
    "answer": "r e p l a c e   t h e   s p e c i f i e d   V o l u m e A t t r i b u t e s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30297"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "P U T   / a p i s / s t o r a g e . k 8 s . i o / v 1 a l p h a 1 / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30298"
  },
  {
    "question": "What is Delete?",
    "answer": "d e l e t e   a   V o l u m e A t t r i b u t e s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30299"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 a l p h a 1 / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30300"
  },
  {
    "question": "What is Delete Collection?",
    "answer": "d e l e t e   c o l l e c t i o n   o f   V o l u m e A t t r i b u t e s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30301"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "D E L E T E   / a p i s / s t o r a g e . k 8 s . i o / v 1 a l p h a 1 / v o l u m e a t t r i b u t e s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30302"
  },
  {
    "question": "What is Read?",
    "answer": "r e a d   t h e   s p e c i f i e d   V o l u m e A t t r i b u t e s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30303"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 a l p h a 1 / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30304"
  },
  {
    "question": "What is List?",
    "answer": "l i s t   o r   w a t c h   o b j e c t s   o f   k i n d   V o l u m e A t t r i b u t e s C l a s s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30305"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 a l p h a 1 / v o l u m e a t t r i b u t e s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30306"
  },
  {
    "question": "What is Watch?",
    "answer": "w a t c h   c h a n g e s   t o   a n   o b j e c t   o f   k i n d   V o l u m e A t t r i b u t e s C l a s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d ,   f i l t e r e d   t o   a   s i n g l e   i t e m   w i t h   t h e   ' f i e l d S e l e c t o r '   p a r a m e t e r .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30307"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 a l p h a 1 / w a t c h / v o l u m e a t t r i b u t e s c l a s s e s / { n a m e }",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30308"
  },
  {
    "question": "What is Watch List?",
    "answer": "w a t c h   i n d i v i d u a l   c h a n g e s   t o   a   l i s t   o f   V o l u m e A t t r i b u t e s C l a s s .   d e p r e c a t e d :   u s e   t h e   ' w a t c h '   p a r a m e t e r   w i t h   a   l i s t   o p e r a t i o n   i n s t e a d .",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_2_30309"
  },
  {
    "question": "What is HTTP Request?",
    "answer": "G E T   / a p i s / s t o r a g e . k 8 s . i o / v 1 a l p h a 1 / w a t c h / v o l u m e a t t r i b u t e s c l a s s e s",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_3_30310"
  },
  {
    "question": "What is WebhookClientConfig v1 apiextensions.k8s.io?",
    "answer": "W e b h o o k C o n v e r s i o n   [ a p i e x t e n s i o n s / v 1 ]",
    "category": "reference",
    "subcategory": "api-reference",
    "source": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/",
    "id": "k8s_00791_section_1_30311"
  }
]